@univerjs-pro/collaboration-client-node 0.12.1 → 0.12.2-experimental.20251129-0fa20cd
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +9 -9
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x3462e3=_0x53c6;(function(_0x5d818f,_0x16e94b){const _0x236fb3=_0x53c6,_0x696615=_0x5d818f();while(!![]){try{const _0x99987e=parseInt(_0x236fb3(0x203))/0x1+parseInt(_0x236fb3(0x120))/0x2+-parseInt(_0x236fb3(0xd3))/0x3*(parseInt(_0x236fb3(0xdb))/0x4)+-parseInt(_0x236fb3(0xfc))/0x5*(-parseInt(_0x236fb3(0xcc))/0x6)+-parseInt(_0x236fb3(0x1f3))/0x7+-parseInt(_0x236fb3(0x18c))/0x8+-parseInt(_0x236fb3(0x1cb))/0x9;if(_0x99987e===_0x16e94b)break;else _0x696615['push'](_0x696615['shift']());}catch(_0x31974b){_0x696615['push'](_0x696615['shift']());}}}(_0x53cd,0xb65cc));import{UniverCollaborationClientPlugin as _0x2886c9,CollaborationSocketService as _0x4f53fd}from'@univerjs-pro/collaboration-client';import{Disposable as _0xc9caea,DisposableCollection as _0x433190,toDisposable as _0x54985f,IConfigService as _0x37b5a5,DependentOn as _0x4fc0d6,ILogService as _0x1b1158,Inject as _0x1c6f77,Injector as _0x462b35,Plugin as _0x31b571,registerDependencies as _0x13480c}from'@univerjs/core';import{ISocketService as _0x2bd6a4,HTTPService as _0x582dce}from'@univerjs/network';import{Observable as _0x54e5a6,share as _0x407ef8}from'rxjs';import _0x2a7be2 from'events';import _0x44bc20 from'https';import _0x508da0 from'http';import _0x296d8e from'net';import _0x441d80 from'tls';import _0x264bc5 from'crypto';import _0x245210 from'stream';import _0x11f563 from'url';import _0x1187c4 from'zlib';import _0x4c9c40 from'buffer';import{ISnapshotServerService as _0x30ebef}from'@univerjs-pro/collaboration';const Be=_0x3462e3(0x215),Ft={'customHeaders':{}};function Wt(_0x55a57f){const _0x2dd2b4=_0x3462e3;return _0x55a57f&&_0x55a57f[_0x2dd2b4(0x1e1)]&&Object[_0x2dd2b4(0x220)][_0x2dd2b4(0x118)][_0x2dd2b4(0x201)](_0x55a57f,'default')?_0x55a57f['default']:_0x55a57f;}function ut(_0x17a73f){const _0x5bf8f7=_0x3462e3;if(Object['prototype']['hasOwnProperty']['call'](_0x17a73f,_0x5bf8f7(0x1e1)))return _0x17a73f;var _0x36d2e6=_0x17a73f[_0x5bf8f7(0x78)];if(typeof _0x36d2e6=='function'){var _0x847252=function _0x2ac673(){const _0x303892=_0x5bf8f7;var _0x24aef3=!0x1;try{_0x24aef3=this instanceof _0x2ac673;}catch{}return _0x24aef3?Reflect[_0x303892(0x12a)](_0x36d2e6,arguments,this[_0x303892(0xf6)]):_0x36d2e6['apply'](this,arguments);};_0x847252['prototype']=_0x36d2e6[_0x5bf8f7(0x220)];}else _0x847252={};return Object['defineProperty'](_0x847252,_0x5bf8f7(0x1e1),{'value':!0x0}),Object[_0x5bf8f7(0x10b)](_0x17a73f)[_0x5bf8f7(0x1dc)](function(_0x515113){const _0x57f434=_0x5bf8f7;var _0xf748ed=Object[_0x57f434(0x150)](_0x17a73f,_0x515113);Object[_0x57f434(0x1b3)](_0x847252,_0x515113,_0xf748ed[_0x57f434(0x1eb)]?_0xf748ed:{'enumerable':!0x0,'get':function(){return _0x17a73f[_0x515113];}});}),_0x847252;}var te={'exports':{}},ge,Ye;function V(){const _0x15b186=_0x3462e3;if(Ye)return ge;Ye=0x1;const _0x593c51=[_0x15b186(0x144),_0x15b186(0x1b2),_0x15b186(0x88)],_0x116926=typeof Blob<'u';return _0x116926&&_0x593c51[_0x15b186(0xc2)]('blob'),ge={'BINARY_TYPES':_0x593c51,'EMPTY_BUFFER':Buffer[_0x15b186(0x1a9)](0x0),'GUID':_0x15b186(0x89),'hasBlob':_0x116926,'kForOnEventAttribute':Symbol(_0x15b186(0x1d0)),'kListener':Symbol(_0x15b186(0x209)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0x15b186(0x20b)),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0x3462e3(0xab)](Object[_0x3462e3(0x1b3)]({'__proto__':null,'default':jt},Symbol[_0x3462e3(0x18d)],{'value':_0x3462e3(0x1c8)})),Vt=ut(Gt);var Ke;function ce(){const _0x23f706=_0x3462e3;if(Ke)return te[_0x23f706(0xbe)];Ke=0x1;const {EMPTY_BUFFER:_0x407ee2}=V(),_0x432106=Buffer[Symbol[_0x23f706(0xb3)]];function _0x49418f(_0x2dd447,_0x4bae64){const _0x49465d=_0x23f706;if(_0x2dd447[_0x49465d(0xe6)]===0x0)return _0x407ee2;if(_0x2dd447['length']===0x1)return _0x2dd447[0x0];const _0x5da4d5=Buffer['allocUnsafe'](_0x4bae64);let _0x422c0d=0x0;for(let _0x5ca5d4=0x0;_0x5ca5d4<_0x2dd447[_0x49465d(0xe6)];_0x5ca5d4++){const _0x5d1b7d=_0x2dd447[_0x5ca5d4];_0x5da4d5[_0x49465d(0x16d)](_0x5d1b7d,_0x422c0d),_0x422c0d+=_0x5d1b7d[_0x49465d(0xe6)];}return _0x422c0d<_0x4bae64?new _0x432106(_0x5da4d5['buffer'],_0x5da4d5[_0x49465d(0x200)],_0x422c0d):_0x5da4d5;}function _0x54ad32(_0x5cf8d9,_0xfd857d,_0x232bb1,_0x1604ef,_0x34242a){for(let _0xd14fb8=0x0;_0xd14fb8<_0x34242a;_0xd14fb8++)_0x232bb1[_0x1604ef+_0xd14fb8]=_0x5cf8d9[_0xd14fb8]^_0xfd857d[_0xd14fb8&0x3];}function _0xfbb063(_0x75e2eb,_0x122b70){const _0x417511=_0x23f706;for(let _0x4791c3=0x0;_0x4791c3<_0x75e2eb[_0x417511(0xe6)];_0x4791c3++)_0x75e2eb[_0x4791c3]^=_0x122b70[_0x4791c3&0x3];}function _0x2ae586(_0x460f84){const _0x41f002=_0x23f706;return _0x460f84['length']===_0x460f84[_0x41f002(0x19f)][_0x41f002(0x12b)]?_0x460f84[_0x41f002(0x19f)]:_0x460f84[_0x41f002(0x19f)]['slice'](_0x460f84['byteOffset'],_0x460f84[_0x41f002(0x200)]+_0x460f84[_0x41f002(0xe6)]);}function _0x23be29(_0x22b173){const _0x6d878e=_0x23f706;if(_0x23be29[_0x6d878e(0x183)]=!0x0,Buffer['isBuffer'](_0x22b173))return _0x22b173;let _0x37c8be;return _0x22b173 instanceof ArrayBuffer?_0x37c8be=new _0x432106(_0x22b173):ArrayBuffer[_0x6d878e(0x81)](_0x22b173)?_0x37c8be=new _0x432106(_0x22b173['buffer'],_0x22b173['byteOffset'],_0x22b173[_0x6d878e(0x12b)]):(_0x37c8be=Buffer['from'](_0x22b173),_0x23be29[_0x6d878e(0x183)]=!0x1),_0x37c8be;}if(te['exports']={'concat':_0x49418f,'mask':_0x54ad32,'toArrayBuffer':_0x2ae586,'toBuffer':_0x23be29,'unmask':_0xfbb063},!process['env'][_0x23f706(0x117)])try{const _0xa753a1=Vt;te[_0x23f706(0xbe)][_0x23f706(0x74)]=function(_0xd3756f,_0x9c40a2,_0x14653b,_0x500b99,_0x20fcad){const _0x5953f2=_0x23f706;_0x20fcad<0x30?_0x54ad32(_0xd3756f,_0x9c40a2,_0x14653b,_0x500b99,_0x20fcad):_0xa753a1[_0x5953f2(0x74)](_0xd3756f,_0x9c40a2,_0x14653b,_0x500b99,_0x20fcad);},te[_0x23f706(0xbe)][_0x23f706(0x72)]=function(_0x3b6e9e,_0x399309){const _0x524832=_0x23f706;_0x3b6e9e['length']<0x20?_0xfbb063(_0x3b6e9e,_0x399309):_0xa753a1[_0x524832(0x72)](_0x3b6e9e,_0x399309);};}catch{}return te[_0x23f706(0xbe)];}var ye,Xe;function qt(){const _0x30a946=_0x3462e3;if(Xe)return ye;Xe=0x1;const _0x9d15f9=Symbol(_0x30a946(0x10d)),_0x346a12=Symbol(_0x30a946(0x180));class _0x2b3403{constructor(_0x1b7513){const _0x43c7b6=_0x30a946;this[_0x9d15f9]=()=>{const _0x1b7099=_0x53c6;this[_0x1b7099(0x153)]--,this[_0x346a12]();},this[_0x43c7b6(0x15f)]=_0x1b7513||0x1/0x0,this[_0x43c7b6(0x182)]=[],this[_0x43c7b6(0x153)]=0x0;}[_0x30a946(0x14d)](_0x11fb18){const _0x478207=_0x30a946;this[_0x478207(0x182)][_0x478207(0xc2)](_0x11fb18),this[_0x346a12]();}[_0x346a12](){const _0x591015=_0x30a946;if(this[_0x591015(0x153)]!==this['concurrency']&&this[_0x591015(0x182)][_0x591015(0xe6)]){const _0x300e30=this[_0x591015(0x182)][_0x591015(0x18b)]();this[_0x591015(0x153)]++,_0x300e30(this[_0x9d15f9]);}}}return ye=_0x2b3403,ye;}var ve,Ze;function he(){const _0x58c16e=_0x3462e3;if(Ze)return ve;Ze=0x1;const _0x15a178=_0x1187c4,_0x1e9d7d=ce(),_0x61cfd1=qt(),{kStatusCode:_0x39225a}=V(),_0x5ecc9f=Buffer[Symbol[_0x58c16e(0xb3)]],_0x1e9d71=Buffer[_0x58c16e(0xad)]([0x0,0x0,0xff,0xff]),_0x116af1=Symbol('permessage-deflate'),_0x3f9b15=Symbol(_0x58c16e(0x1a0)),_0x5b9baa=Symbol(_0x58c16e(0x1f9)),_0x1ccd6c=Symbol(_0x58c16e(0x115)),_0x49b6ce=Symbol(_0x58c16e(0x1bb));let _0x303413;class _0x15a599{constructor(_0x4ca39b,_0x338aaa,_0x3ef2b7){const _0x2dc9b4=_0x58c16e;if(this[_0x2dc9b4(0xb1)]=_0x3ef2b7|0x0,this[_0x2dc9b4(0x94)]=_0x4ca39b||{},this[_0x2dc9b4(0x192)]=this['_options']['threshold']!==void 0x0?this[_0x2dc9b4(0x94)][_0x2dc9b4(0x1fd)]:0x400,this['_isServer']=!!_0x338aaa,this[_0x2dc9b4(0x1a5)]=null,this['_inflate']=null,this[_0x2dc9b4(0x148)]=null,!_0x303413){const _0x44dcef=this[_0x2dc9b4(0x94)][_0x2dc9b4(0xdf)]!==void 0x0?this[_0x2dc9b4(0x94)][_0x2dc9b4(0xdf)]:0xa;_0x303413=new _0x61cfd1(_0x44dcef);}}static get['extensionName'](){return'permessage-deflate';}[_0x58c16e(0xef)](){const _0x360519=_0x58c16e,_0x1d12a8={};return this['_options']['serverNoContextTakeover']&&(_0x1d12a8['server_no_context_takeover']=!0x0),this['_options']['clientNoContextTakeover']&&(_0x1d12a8['client_no_context_takeover']=!0x0),this[_0x360519(0x94)][_0x360519(0x1be)]&&(_0x1d12a8['server_max_window_bits']=this[_0x360519(0x94)][_0x360519(0x1be)]),this['_options'][_0x360519(0xc0)]?_0x1d12a8[_0x360519(0x1a2)]=this['_options'][_0x360519(0xc0)]:this['_options']['clientMaxWindowBits']==null&&(_0x1d12a8[_0x360519(0x1a2)]=!0x0),_0x1d12a8;}[_0x58c16e(0x11d)](_0x4da7c8){const _0x1dc5df=_0x58c16e;return _0x4da7c8=this[_0x1dc5df(0x1bc)](_0x4da7c8),this[_0x1dc5df(0x148)]=this[_0x1dc5df(0x19e)]?this[_0x1dc5df(0xd5)](_0x4da7c8):this[_0x1dc5df(0xee)](_0x4da7c8),this[_0x1dc5df(0x148)];}[_0x58c16e(0x130)](){const _0x2afb3a=_0x58c16e;if(this[_0x2afb3a(0x82)]&&(this[_0x2afb3a(0x82)]['close'](),this['_inflate']=null),this['_deflate']){const _0x3e17f7=this[_0x2afb3a(0x1a5)][_0x5b9baa];this[_0x2afb3a(0x1a5)][_0x2afb3a(0x143)](),this[_0x2afb3a(0x1a5)]=null,_0x3e17f7&&_0x3e17f7(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x58c16e(0xd5)](_0x488eeb){const _0x2447ad=_0x58c16e,_0x4be3c3=this[_0x2447ad(0x94)],_0x1a3cec=_0x488eeb[_0x2447ad(0x114)](_0xc6af81=>!(_0x4be3c3[_0x2447ad(0x102)]===!0x1&&_0xc6af81['server_no_context_takeover']||_0xc6af81['server_max_window_bits']&&(_0x4be3c3[_0x2447ad(0x1be)]===!0x1||typeof _0x4be3c3[_0x2447ad(0x1be)]==_0x2447ad(0x1c6)&&_0x4be3c3[_0x2447ad(0x1be)]>_0xc6af81[_0x2447ad(0xb9)])||typeof _0x4be3c3[_0x2447ad(0xc0)]==_0x2447ad(0x1c6)&&!_0xc6af81[_0x2447ad(0x1a2)]));if(!_0x1a3cec)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x4be3c3[_0x2447ad(0x102)]&&(_0x1a3cec[_0x2447ad(0xdc)]=!0x0),_0x4be3c3[_0x2447ad(0xae)]&&(_0x1a3cec[_0x2447ad(0x17b)]=!0x0),typeof _0x4be3c3['serverMaxWindowBits']==_0x2447ad(0x1c6)&&(_0x1a3cec[_0x2447ad(0xb9)]=_0x4be3c3[_0x2447ad(0x1be)]),typeof _0x4be3c3[_0x2447ad(0xc0)]==_0x2447ad(0x1c6)?_0x1a3cec[_0x2447ad(0x1a2)]=_0x4be3c3[_0x2447ad(0xc0)]:(_0x1a3cec['client_max_window_bits']===!0x0||_0x4be3c3[_0x2447ad(0xc0)]===!0x1)&&delete _0x1a3cec[_0x2447ad(0x1a2)],_0x1a3cec;}[_0x58c16e(0xee)](_0x3649b1){const _0x458a9d=_0x58c16e,_0x455f2e=_0x3649b1[0x0];if(this[_0x458a9d(0x94)][_0x458a9d(0xae)]===!0x1&&_0x455f2e[_0x458a9d(0x17b)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x455f2e[_0x458a9d(0x1a2)])typeof this[_0x458a9d(0x94)][_0x458a9d(0xc0)]==_0x458a9d(0x1c6)&&(_0x455f2e[_0x458a9d(0x1a2)]=this[_0x458a9d(0x94)][_0x458a9d(0xc0)]);else{if(this[_0x458a9d(0x94)][_0x458a9d(0xc0)]===!0x1||typeof this[_0x458a9d(0x94)][_0x458a9d(0xc0)]==_0x458a9d(0x1c6)&&_0x455f2e[_0x458a9d(0x1a2)]>this[_0x458a9d(0x94)][_0x458a9d(0xc0)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x455f2e;}[_0x58c16e(0x1bc)](_0x1fdd19){const _0x2bd3d6=_0x58c16e;return _0x1fdd19[_0x2bd3d6(0x1dc)](_0x5e3acc=>{const _0x25e3c6=_0x2bd3d6;Object[_0x25e3c6(0x10b)](_0x5e3acc)[_0x25e3c6(0x1dc)](_0x500576=>{const _0x24ddb3=_0x25e3c6;let _0x49c349=_0x5e3acc[_0x500576];if(_0x49c349[_0x24ddb3(0xe6)]>0x1)throw new Error('Parameter\x20\x22'+_0x500576+_0x24ddb3(0xe3));if(_0x49c349=_0x49c349[0x0],_0x500576===_0x24ddb3(0x1a2)){if(_0x49c349!==!0x0){const _0x1350ad=+_0x49c349;if(!Number[_0x24ddb3(0x1fe)](_0x1350ad)||_0x1350ad<0x8||_0x1350ad>0xf)throw new TypeError(_0x24ddb3(0xfa)+_0x500576+_0x24ddb3(0x18f)+_0x49c349);_0x49c349=_0x1350ad;}else{if(!this[_0x24ddb3(0x19e)])throw new TypeError(_0x24ddb3(0xfa)+_0x500576+'\x22:\x20'+_0x49c349);}}else{if(_0x500576==='server_max_window_bits'){const _0x442659=+_0x49c349;if(!Number[_0x24ddb3(0x1fe)](_0x442659)||_0x442659<0x8||_0x442659>0xf)throw new TypeError(_0x24ddb3(0xfa)+_0x500576+_0x24ddb3(0x18f)+_0x49c349);_0x49c349=_0x442659;}else{if(_0x500576===_0x24ddb3(0x17b)||_0x500576==='server_no_context_takeover'){if(_0x49c349!==!0x0)throw new TypeError(_0x24ddb3(0xfa)+_0x500576+'\x22:\x20'+_0x49c349);}else throw new Error(_0x24ddb3(0x139)+_0x500576+'\x22');}}_0x5e3acc[_0x500576]=_0x49c349;});}),_0x1fdd19;}[_0x58c16e(0x132)](_0xbe2f98,_0x111024,_0x27447c){_0x303413['add'](_0x4be570=>{const _0x25ae00=_0x53c6;this[_0x25ae00(0x91)](_0xbe2f98,_0x111024,(_0x577714,_0x87f886)=>{_0x4be570(),_0x27447c(_0x577714,_0x87f886);});});}[_0x58c16e(0x122)](_0x523bcc,_0x1e959c,_0x91fcce){const _0x10a58c=_0x58c16e;_0x303413[_0x10a58c(0x14d)](_0x221537=>{const _0x5a3455=_0x10a58c;this[_0x5a3455(0xa8)](_0x523bcc,_0x1e959c,(_0x367db6,_0x4883de)=>{_0x221537(),_0x91fcce(_0x367db6,_0x4883de);});});}[_0x58c16e(0x91)](_0x2516fd,_0x262d9b,_0x40da0f){const _0x527bc4=_0x58c16e,_0x3012c3=this[_0x527bc4(0x19e)]?_0x527bc4(0xaa):_0x527bc4(0xc8);if(!this[_0x527bc4(0x82)]){const _0x1a4251=_0x3012c3+'_max_window_bits',_0xd2f488=typeof this[_0x527bc4(0x148)][_0x1a4251]!=_0x527bc4(0x1c6)?_0x15a178['Z_DEFAULT_WINDOWBITS']:this[_0x527bc4(0x148)][_0x1a4251];this[_0x527bc4(0x82)]=_0x15a178['createInflateRaw']({...this[_0x527bc4(0x94)][_0x527bc4(0xca)],'windowBits':_0xd2f488}),this['_inflate'][_0x116af1]=this,this[_0x527bc4(0x82)][_0x3f9b15]=0x0,this[_0x527bc4(0x82)][_0x1ccd6c]=[],this[_0x527bc4(0x82)]['on'](_0x527bc4(0x1bb),_0x4208b8),this[_0x527bc4(0x82)]['on'](_0x527bc4(0x1d3),_0xa934b2);}this['_inflate'][_0x5b9baa]=_0x40da0f,this['_inflate']['write'](_0x2516fd),_0x262d9b&&this['_inflate'][_0x527bc4(0x1c5)](_0x1e9d71),this['_inflate'][_0x527bc4(0x92)](()=>{const _0x125f79=_0x527bc4,_0x59112c=this[_0x125f79(0x82)][_0x49b6ce];if(_0x59112c){this[_0x125f79(0x82)]['close'](),this['_inflate']=null,_0x40da0f(_0x59112c);return;}const _0x186315=_0x1e9d7d[_0x125f79(0x11a)](this['_inflate'][_0x1ccd6c],this[_0x125f79(0x82)][_0x3f9b15]);this[_0x125f79(0x82)]['_readableState'][_0x125f79(0x16c)]?(this[_0x125f79(0x82)][_0x125f79(0x143)](),this['_inflate']=null):(this[_0x125f79(0x82)][_0x3f9b15]=0x0,this[_0x125f79(0x82)][_0x1ccd6c]=[],_0x262d9b&&this[_0x125f79(0x148)][_0x3012c3+_0x125f79(0x1f6)]&&this[_0x125f79(0x82)][_0x125f79(0x135)]()),_0x40da0f(null,_0x186315);});}[_0x58c16e(0xa8)](_0x10b049,_0x398d00,_0x1bfb3f){const _0xd5756e=_0x58c16e,_0x404dc4=this[_0xd5756e(0x19e)]?_0xd5756e(0xc8):'client';if(!this['_deflate']){const _0x3cb9e2=_0x404dc4+_0xd5756e(0x1ee),_0x3a02ff=typeof this['params'][_0x3cb9e2]!=_0xd5756e(0x1c6)?_0x15a178[_0xd5756e(0x21a)]:this[_0xd5756e(0x148)][_0x3cb9e2];this[_0xd5756e(0x1a5)]=_0x15a178[_0xd5756e(0x223)]({...this['_options'][_0xd5756e(0x211)],'windowBits':_0x3a02ff}),this['_deflate'][_0x3f9b15]=0x0,this[_0xd5756e(0x1a5)][_0x1ccd6c]=[],this[_0xd5756e(0x1a5)]['on'](_0xd5756e(0x1d3),_0x2b890a);}this[_0xd5756e(0x1a5)][_0x5b9baa]=_0x1bfb3f,this[_0xd5756e(0x1a5)]['write'](_0x10b049),this[_0xd5756e(0x1a5)]['flush'](_0x15a178[_0xd5756e(0xa4)],()=>{const _0x462c22=_0xd5756e;if(!this['_deflate'])return;let _0x1134dd=_0x1e9d7d[_0x462c22(0x11a)](this['_deflate'][_0x1ccd6c],this[_0x462c22(0x1a5)][_0x3f9b15]);_0x398d00&&(_0x1134dd=new _0x5ecc9f(_0x1134dd[_0x462c22(0x19f)],_0x1134dd[_0x462c22(0x200)],_0x1134dd[_0x462c22(0xe6)]-0x4)),this[_0x462c22(0x1a5)][_0x5b9baa]=null,this['_deflate'][_0x3f9b15]=0x0,this[_0x462c22(0x1a5)][_0x1ccd6c]=[],_0x398d00&&this[_0x462c22(0x148)][_0x404dc4+_0x462c22(0x1f6)]&&this[_0x462c22(0x1a5)][_0x462c22(0x135)](),_0x1bfb3f(null,_0x1134dd);});}}ve=_0x15a599;function _0x2b890a(_0x1fde9c){const _0x32bd66=_0x58c16e;this[_0x1ccd6c][_0x32bd66(0xc2)](_0x1fde9c),this[_0x3f9b15]+=_0x1fde9c['length'];}function _0xa934b2(_0x390f0c){const _0x151bd4=_0x58c16e;if(this[_0x3f9b15]+=_0x390f0c[_0x151bd4(0xe6)],this[_0x116af1][_0x151bd4(0xb1)]<0x1||this[_0x3f9b15]<=this[_0x116af1][_0x151bd4(0xb1)]){this[_0x1ccd6c]['push'](_0x390f0c);return;}this[_0x49b6ce]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x49b6ce][_0x151bd4(0x169)]=_0x151bd4(0xc4),this[_0x49b6ce][_0x39225a]=0x3f1,this[_0x151bd4(0x1db)](_0x151bd4(0x1d3),_0xa934b2),this[_0x151bd4(0x135)]();}function _0x4208b8(_0x246caf){if(this[_0x116af1]['_inflate']=null,this[_0x49b6ce]){this[_0x5b9baa](this[_0x49b6ce]);return;}_0x246caf[_0x39225a]=0x3ef,this[_0x5b9baa](_0x246caf);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x3462e3(0xab)](Object[_0x3462e3(0x1b3)]({'__proto__':null,'default':Ht},Symbol[_0x3462e3(0x18d)],{'value':_0x3462e3(0x1c8)})),Yt=ut(zt);var Qe;function ne(){const _0x3d2a13=_0x3462e3;if(Qe)return re[_0x3d2a13(0xbe)];Qe=0x1;const {isUtf8:_0xd16c28}=_0x4c9c40,{hasBlob:_0x354d6a}=V(),_0x49177a=[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 _0x7dfc29(_0x16018d){return _0x16018d>=0x3e8&&_0x16018d<=0x3f6&&_0x16018d!==0x3ec&&_0x16018d!==0x3ed&&_0x16018d!==0x3ee||_0x16018d>=0xbb8&&_0x16018d<=0x1387;}function _0x274191(_0x20508f){const _0x2642d0=_0x3d2a13,_0x3fcbf6=_0x20508f[_0x2642d0(0xe6)];let _0x1e6615=0x0;for(;_0x1e6615<_0x3fcbf6;)if((_0x20508f[_0x1e6615]&0x80)===0x0)_0x1e6615++;else{if((_0x20508f[_0x1e6615]&0xe0)===0xc0){if(_0x1e6615+0x1===_0x3fcbf6||(_0x20508f[_0x1e6615+0x1]&0xc0)!==0x80||(_0x20508f[_0x1e6615]&0xfe)===0xc0)return!0x1;_0x1e6615+=0x2;}else{if((_0x20508f[_0x1e6615]&0xf0)===0xe0){if(_0x1e6615+0x2>=_0x3fcbf6||(_0x20508f[_0x1e6615+0x1]&0xc0)!==0x80||(_0x20508f[_0x1e6615+0x2]&0xc0)!==0x80||_0x20508f[_0x1e6615]===0xe0&&(_0x20508f[_0x1e6615+0x1]&0xe0)===0x80||_0x20508f[_0x1e6615]===0xed&&(_0x20508f[_0x1e6615+0x1]&0xe0)===0xa0)return!0x1;_0x1e6615+=0x3;}else{if((_0x20508f[_0x1e6615]&0xf8)===0xf0){if(_0x1e6615+0x3>=_0x3fcbf6||(_0x20508f[_0x1e6615+0x1]&0xc0)!==0x80||(_0x20508f[_0x1e6615+0x2]&0xc0)!==0x80||(_0x20508f[_0x1e6615+0x3]&0xc0)!==0x80||_0x20508f[_0x1e6615]===0xf0&&(_0x20508f[_0x1e6615+0x1]&0xf0)===0x80||_0x20508f[_0x1e6615]===0xf4&&_0x20508f[_0x1e6615+0x1]>0x8f||_0x20508f[_0x1e6615]>0xf4)return!0x1;_0x1e6615+=0x4;}else return!0x1;}}}return!0x0;}function _0xf4dcdc(_0x5cb726){const _0x4495ac=_0x3d2a13;return _0x354d6a&&typeof _0x5cb726==_0x4495ac(0xaf)&&typeof _0x5cb726['arrayBuffer']==_0x4495ac(0x216)&&typeof _0x5cb726[_0x4495ac(0x70)]==_0x4495ac(0x1b6)&&typeof _0x5cb726[_0x4495ac(0x204)]=='function'&&(_0x5cb726[Symbol[_0x4495ac(0x18d)]]===_0x4495ac(0x1ae)||_0x5cb726[Symbol['toStringTag']]===_0x4495ac(0x8a));}if(re[_0x3d2a13(0xbe)]={'isBlob':_0xf4dcdc,'isValidStatusCode':_0x7dfc29,'isValidUTF8':_0x274191,'tokenChars':_0x49177a},_0xd16c28)re['exports']['isValidUTF8']=function(_0x4828e4){return _0x4828e4['length']<0x18?_0x274191(_0x4828e4):_0xd16c28(_0x4828e4);};else{if(!process[_0x3d2a13(0x1f0)]['WS_NO_UTF_8_VALIDATE'])try{const _0x31a037=Yt;re[_0x3d2a13(0xbe)][_0x3d2a13(0xbc)]=function(_0x54411c){return _0x54411c['length']<0x20?_0x274191(_0x54411c):_0x31a037(_0x54411c);};}catch{}}return re[_0x3d2a13(0xbe)];}var Se,Je;function dt(){const _0x38573e=_0x3462e3;if(Je)return Se;Je=0x1;const {Writable:_0x43452f}=_0x245210,_0x581a96=he(),{BINARY_TYPES:_0x320dde,EMPTY_BUFFER:_0x372120,kStatusCode:_0xb5a9bf,kWebSocket:_0x46c74f}=V(),{concat:_0x3cf2f8,toArrayBuffer:_0x459879,unmask:_0x1f32f3}=ce(),{isValidStatusCode:_0x3b21d2,isValidUTF8:_0x37b4ce}=ne(),_0x1c07cc=Buffer[Symbol[_0x38573e(0xb3)]],_0x159f01=0x0,_0x2fcff3=0x1,_0x3dccfd=0x2,_0x50d70a=0x3,_0x37bb6a=0x4,_0x287cfd=0x5,_0x1c6698=0x6;class _0x2ed4be extends _0x43452f{constructor(_0x45dd5a={}){const _0x32ccbb=_0x38573e;super(),this[_0x32ccbb(0x1c3)]=_0x45dd5a[_0x32ccbb(0xe7)]!==void 0x0?_0x45dd5a[_0x32ccbb(0xe7)]:!0x0,this[_0x32ccbb(0xe1)]=_0x45dd5a['binaryType']||_0x320dde[0x0],this['_extensions']=_0x45dd5a['extensions']||{},this[_0x32ccbb(0x19e)]=!!_0x45dd5a['isServer'],this[_0x32ccbb(0xb1)]=_0x45dd5a[_0x32ccbb(0x7b)]|0x0,this[_0x32ccbb(0x98)]=!!_0x45dd5a[_0x32ccbb(0x158)],this[_0x46c74f]=void 0x0,this['_bufferedBytes']=0x0,this['_buffers']=[],this['_compressed']=!0x1,this['_payloadLength']=0x0,this[_0x32ccbb(0x17c)]=void 0x0,this[_0x32ccbb(0x86)]=0x0,this['_masked']=!0x1,this[_0x32ccbb(0x138)]=!0x1,this[_0x32ccbb(0x1ac)]=0x0,this[_0x32ccbb(0x161)]=0x0,this[_0x32ccbb(0x1d7)]=0x0,this['_fragments']=[],this[_0x32ccbb(0xd2)]=!0x1,this[_0x32ccbb(0xc6)]=!0x1,this[_0x32ccbb(0x16a)]=_0x159f01;}[_0x38573e(0x13e)](_0x3417a4,_0x1f3b6e,_0x356406){const _0x336a5b=_0x38573e;if(this[_0x336a5b(0x1ac)]===0x8&&this[_0x336a5b(0x16a)]==_0x159f01)return _0x356406();this['_bufferedBytes']+=_0x3417a4['length'],this[_0x336a5b(0x224)][_0x336a5b(0xc2)](_0x3417a4),this[_0x336a5b(0x1b9)](_0x356406);}[_0x38573e(0x8d)](_0x29beaf){const _0x4c22ac=_0x38573e;if(this['_bufferedBytes']-=_0x29beaf,_0x29beaf===this[_0x4c22ac(0x224)][0x0]['length'])return this['_buffers'][_0x4c22ac(0x18b)]();if(_0x29beaf<this[_0x4c22ac(0x224)][0x0][_0x4c22ac(0xe6)]){const _0x144824=this[_0x4c22ac(0x224)][0x0];return this[_0x4c22ac(0x224)][0x0]=new _0x1c07cc(_0x144824[_0x4c22ac(0x19f)],_0x144824[_0x4c22ac(0x200)]+_0x29beaf,_0x144824['length']-_0x29beaf),new _0x1c07cc(_0x144824['buffer'],_0x144824[_0x4c22ac(0x200)],_0x29beaf);}const _0x1babb3=Buffer['allocUnsafe'](_0x29beaf);do{const _0x223b3f=this[_0x4c22ac(0x224)][0x0],_0x112908=_0x1babb3[_0x4c22ac(0xe6)]-_0x29beaf;_0x29beaf>=_0x223b3f[_0x4c22ac(0xe6)]?_0x1babb3[_0x4c22ac(0x16d)](this[_0x4c22ac(0x224)]['shift'](),_0x112908):(_0x1babb3[_0x4c22ac(0x16d)](new Uint8Array(_0x223b3f[_0x4c22ac(0x19f)],_0x223b3f['byteOffset'],_0x29beaf),_0x112908),this[_0x4c22ac(0x224)][0x0]=new _0x1c07cc(_0x223b3f[_0x4c22ac(0x19f)],_0x223b3f[_0x4c22ac(0x200)]+_0x29beaf,_0x223b3f[_0x4c22ac(0xe6)]-_0x29beaf)),_0x29beaf-=_0x223b3f[_0x4c22ac(0xe6)];}while(_0x29beaf>0x0);return _0x1babb3;}[_0x38573e(0x1b9)](_0x446e4d){const _0x168017=_0x38573e;this[_0x168017(0xc6)]=!0x0;do switch(this[_0x168017(0x16a)]){case _0x159f01:this[_0x168017(0x195)](_0x446e4d);break;case _0x2fcff3:this[_0x168017(0x108)](_0x446e4d);break;case _0x3dccfd:this[_0x168017(0x13f)](_0x446e4d);break;case _0x50d70a:this[_0x168017(0x198)]();break;case _0x37bb6a:this[_0x168017(0x9c)](_0x446e4d);break;case _0x287cfd:case _0x1c6698:this['_loop']=!0x1;return;}while(this[_0x168017(0xc6)]);this['_errored']||_0x446e4d();}[_0x38573e(0x195)](_0xbcb3c8){const _0x4bfa35=_0x38573e;if(this['_bufferedBytes']<0x2){this[_0x4bfa35(0xc6)]=!0x1;return;}const _0xbc051a=this[_0x4bfa35(0x8d)](0x2);if((_0xbc051a[0x0]&0x30)!==0x0){const _0x5d489e=this[_0x4bfa35(0x1ca)](RangeError,_0x4bfa35(0x193),!0x0,0x3ea,_0x4bfa35(0x1e5));_0xbcb3c8(_0x5d489e);return;}const _0x17fbb0=(_0xbc051a[0x0]&0x40)===0x40;if(_0x17fbb0&&!this['_extensions'][_0x581a96['extensionName']]){const _0x48916d=this['createError'](RangeError,_0x4bfa35(0xf2),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0xbcb3c8(_0x48916d);return;}if(this['_fin']=(_0xbc051a[0x0]&0x80)===0x80,this[_0x4bfa35(0x1ac)]=_0xbc051a[0x0]&0xf,this[_0x4bfa35(0x1c2)]=_0xbc051a[0x1]&0x7f,this[_0x4bfa35(0x1ac)]===0x0){if(_0x17fbb0){const _0x5c9a85=this[_0x4bfa35(0x1ca)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x4bfa35(0x1e4));_0xbcb3c8(_0x5c9a85);return;}if(!this[_0x4bfa35(0x86)]){const _0xe071a4=this[_0x4bfa35(0x1ca)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0xbcb3c8(_0xe071a4);return;}this[_0x4bfa35(0x1ac)]=this[_0x4bfa35(0x86)];}else{if(this[_0x4bfa35(0x1ac)]===0x1||this[_0x4bfa35(0x1ac)]===0x2){if(this[_0x4bfa35(0x86)]){const _0x100f6a=this[_0x4bfa35(0x1ca)](RangeError,'invalid\x20opcode\x20'+this[_0x4bfa35(0x1ac)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0xbcb3c8(_0x100f6a);return;}this['_compressed']=_0x17fbb0;}else{if(this['_opcode']>0x7&&this[_0x4bfa35(0x1ac)]<0xb){if(!this[_0x4bfa35(0x138)]){const _0x340d89=this[_0x4bfa35(0x1ca)](RangeError,_0x4bfa35(0xb4),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0xbcb3c8(_0x340d89);return;}if(_0x17fbb0){const _0x1cd00f=this[_0x4bfa35(0x1ca)](RangeError,_0x4bfa35(0xf2),!0x0,0x3ea,_0x4bfa35(0x1e4));_0xbcb3c8(_0x1cd00f);return;}if(this[_0x4bfa35(0x1c2)]>0x7d||this[_0x4bfa35(0x1ac)]===0x8&&this['_payloadLength']===0x1){const _0x5c5c31=this[_0x4bfa35(0x1ca)](RangeError,_0x4bfa35(0x168)+this[_0x4bfa35(0x1c2)],!0x0,0x3ea,_0x4bfa35(0x9f));_0xbcb3c8(_0x5c5c31);return;}}else{const _0x27c14e=this[_0x4bfa35(0x1ca)](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0xbcb3c8(_0x27c14e);return;}}}if(!this[_0x4bfa35(0x138)]&&!this[_0x4bfa35(0x86)]&&(this[_0x4bfa35(0x86)]=this[_0x4bfa35(0x1ac)]),this[_0x4bfa35(0xb6)]=(_0xbc051a[0x1]&0x80)===0x80,this[_0x4bfa35(0x19e)]){if(!this[_0x4bfa35(0xb6)]){const _0x19248a=this[_0x4bfa35(0x1ca)](RangeError,_0x4bfa35(0x14c),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0xbcb3c8(_0x19248a);return;}}else{if(this['_masked']){const _0xea4f5e=this[_0x4bfa35(0x1ca)](RangeError,_0x4bfa35(0x80),!0x0,0x3ea,_0x4bfa35(0x8b));_0xbcb3c8(_0xea4f5e);return;}}this[_0x4bfa35(0x1c2)]===0x7e?this[_0x4bfa35(0x16a)]=_0x2fcff3:this['_payloadLength']===0x7f?this[_0x4bfa35(0x16a)]=_0x3dccfd:this[_0x4bfa35(0x93)](_0xbcb3c8);}['getPayloadLength16'](_0x96c6fc){const _0x14b1a4=_0x38573e;if(this['_bufferedBytes']<0x2){this[_0x14b1a4(0xc6)]=!0x1;return;}this[_0x14b1a4(0x1c2)]=this['consume'](0x2)[_0x14b1a4(0x188)](0x0),this['haveLength'](_0x96c6fc);}['getPayloadLength64'](_0x41bdb8){const _0x216fb2=_0x38573e;if(this['_bufferedBytes']<0x8){this[_0x216fb2(0xc6)]=!0x1;return;}const _0xbe018c=this[_0x216fb2(0x8d)](0x8),_0x19f40a=_0xbe018c[_0x216fb2(0x96)](0x0);if(_0x19f40a>Math[_0x216fb2(0xd0)](0x2,0x15)-0x1){const _0x63e79=this[_0x216fb2(0x1ca)](RangeError,_0x216fb2(0xa7),!0x1,0x3f1,_0x216fb2(0x11c));_0x41bdb8(_0x63e79);return;}this[_0x216fb2(0x1c2)]=_0x19f40a*Math[_0x216fb2(0xd0)](0x2,0x20)+_0xbe018c['readUInt32BE'](0x4),this[_0x216fb2(0x93)](_0x41bdb8);}[_0x38573e(0x93)](_0xab3c07){const _0x79698=_0x38573e;if(this[_0x79698(0x1c2)]&&this['_opcode']<0x8&&(this[_0x79698(0x161)]+=this[_0x79698(0x1c2)],this[_0x79698(0x161)]>this['_maxPayload']&&this[_0x79698(0xb1)]>0x0)){const _0x2a90ce=this[_0x79698(0x1ca)](RangeError,_0x79698(0x84),!0x1,0x3f1,_0x79698(0xc4));_0xab3c07(_0x2a90ce);return;}this[_0x79698(0xb6)]?this['_state']=_0x50d70a:this[_0x79698(0x16a)]=_0x37bb6a;}[_0x38573e(0x198)](){const _0x6774a4=_0x38573e;if(this['_bufferedBytes']<0x4){this['_loop']=!0x1;return;}this[_0x6774a4(0x17c)]=this[_0x6774a4(0x8d)](0x4),this[_0x6774a4(0x16a)]=_0x37bb6a;}[_0x38573e(0x9c)](_0x578dcf){const _0x511569=_0x38573e;let _0x549563=_0x372120;if(this[_0x511569(0x1c2)]){if(this[_0x511569(0x146)]<this[_0x511569(0x1c2)]){this['_loop']=!0x1;return;}_0x549563=this['consume'](this['_payloadLength']),this['_masked']&&(this['_mask'][0x0]|this[_0x511569(0x17c)][0x1]|this[_0x511569(0x17c)][0x2]|this[_0x511569(0x17c)][0x3])!==0x0&&_0x1f32f3(_0x549563,this[_0x511569(0x17c)]);}if(this['_opcode']>0x7){this[_0x511569(0xf3)](_0x549563,_0x578dcf);return;}if(this[_0x511569(0xfb)]){this[_0x511569(0x16a)]=_0x287cfd,this[_0x511569(0x132)](_0x549563,_0x578dcf);return;}_0x549563[_0x511569(0xe6)]&&(this[_0x511569(0x1d7)]=this[_0x511569(0x161)],this[_0x511569(0xe4)][_0x511569(0xc2)](_0x549563)),this[_0x511569(0x129)](_0x578dcf);}[_0x38573e(0x132)](_0x3aa6de,_0x2466e5){const _0x1f577f=_0x38573e;this[_0x1f577f(0x1cf)][_0x581a96[_0x1f577f(0x9a)]][_0x1f577f(0x132)](_0x3aa6de,this[_0x1f577f(0x138)],(_0x279b12,_0x126dc1)=>{const _0x31bc18=_0x1f577f;if(_0x279b12)return _0x2466e5(_0x279b12);if(_0x126dc1[_0x31bc18(0xe6)]){if(this['_messageLength']+=_0x126dc1[_0x31bc18(0xe6)],this['_messageLength']>this[_0x31bc18(0xb1)]&&this[_0x31bc18(0xb1)]>0x0){const _0xda313c=this[_0x31bc18(0x1ca)](RangeError,_0x31bc18(0x84),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x2466e5(_0xda313c);return;}this[_0x31bc18(0xe4)][_0x31bc18(0xc2)](_0x126dc1);}this[_0x31bc18(0x129)](_0x2466e5),this[_0x31bc18(0x16a)]===_0x159f01&&this[_0x31bc18(0x1b9)](_0x2466e5);});}['dataMessage'](_0x1f5521){const _0xa2ed9d=_0x38573e;if(!this[_0xa2ed9d(0x138)]){this[_0xa2ed9d(0x16a)]=_0x159f01;return;}const _0x221def=this[_0xa2ed9d(0x1d7)],_0x246903=this[_0xa2ed9d(0xe4)];if(this[_0xa2ed9d(0x161)]=0x0,this[_0xa2ed9d(0x1d7)]=0x0,this[_0xa2ed9d(0x86)]=0x0,this[_0xa2ed9d(0xe4)]=[],this[_0xa2ed9d(0x1ac)]===0x2){let _0x4f26f5;this[_0xa2ed9d(0xe1)]==='nodebuffer'?_0x4f26f5=_0x3cf2f8(_0x246903,_0x221def):this[_0xa2ed9d(0xe1)]==='arraybuffer'?_0x4f26f5=_0x459879(_0x3cf2f8(_0x246903,_0x221def)):this[_0xa2ed9d(0xe1)]===_0xa2ed9d(0x1a8)?_0x4f26f5=new Blob(_0x246903):_0x4f26f5=_0x246903,this[_0xa2ed9d(0x1c3)]?(this[_0xa2ed9d(0x7f)]('message',_0x4f26f5,!0x0),this['_state']=_0x159f01):(this[_0xa2ed9d(0x16a)]=_0x1c6698,setImmediate(()=>{const _0x1d071a=_0xa2ed9d;this[_0x1d071a(0x7f)](_0x1d071a(0x17f),_0x4f26f5,!0x0),this[_0x1d071a(0x16a)]=_0x159f01,this[_0x1d071a(0x1b9)](_0x1f5521);}));}else{const _0x1d68c2=_0x3cf2f8(_0x246903,_0x221def);if(!this['_skipUTF8Validation']&&!_0x37b4ce(_0x1d68c2)){const _0x399874=this[_0xa2ed9d(0x1ca)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x1f5521(_0x399874);return;}this[_0xa2ed9d(0x16a)]===_0x287cfd||this[_0xa2ed9d(0x1c3)]?(this[_0xa2ed9d(0x7f)](_0xa2ed9d(0x17f),_0x1d68c2,!0x1),this[_0xa2ed9d(0x16a)]=_0x159f01):(this[_0xa2ed9d(0x16a)]=_0x1c6698,setImmediate(()=>{const _0x5e6d17=_0xa2ed9d;this[_0x5e6d17(0x7f)](_0x5e6d17(0x17f),_0x1d68c2,!0x1),this['_state']=_0x159f01,this[_0x5e6d17(0x1b9)](_0x1f5521);}));}}[_0x38573e(0xf3)](_0x3b6481,_0x4fd1c2){const _0x3f9f0d=_0x38573e;if(this[_0x3f9f0d(0x1ac)]===0x8){if(_0x3b6481[_0x3f9f0d(0xe6)]===0x0)this[_0x3f9f0d(0xc6)]=!0x1,this[_0x3f9f0d(0x7f)](_0x3f9f0d(0x163),0x3ed,_0x372120),this[_0x3f9f0d(0x166)]();else{const _0x40de18=_0x3b6481['readUInt16BE'](0x0);if(!_0x3b21d2(_0x40de18)){const _0x3648b8=this[_0x3f9f0d(0x1ca)](RangeError,'invalid\x20status\x20code\x20'+_0x40de18,!0x0,0x3ea,_0x3f9f0d(0xf9));_0x4fd1c2(_0x3648b8);return;}const _0xe66a25=new _0x1c07cc(_0x3b6481[_0x3f9f0d(0x19f)],_0x3b6481['byteOffset']+0x2,_0x3b6481['length']-0x2);if(!this['_skipUTF8Validation']&&!_0x37b4ce(_0xe66a25)){const _0x46a98a=this[_0x3f9f0d(0x1ca)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x3f9f0d(0x176));_0x4fd1c2(_0x46a98a);return;}this['_loop']=!0x1,this[_0x3f9f0d(0x7f)]('conclude',_0x40de18,_0xe66a25),this[_0x3f9f0d(0x166)]();}this['_state']=_0x159f01;return;}this['_allowSynchronousEvents']?(this[_0x3f9f0d(0x7f)](this[_0x3f9f0d(0x1ac)]===0x9?_0x3f9f0d(0xba):_0x3f9f0d(0x16f),_0x3b6481),this['_state']=_0x159f01):(this['_state']=_0x1c6698,setImmediate(()=>{const _0x1574b3=_0x3f9f0d;this['emit'](this[_0x1574b3(0x1ac)]===0x9?_0x1574b3(0xba):_0x1574b3(0x16f),_0x3b6481),this['_state']=_0x159f01,this['startLoop'](_0x4fd1c2);}));}[_0x38573e(0x1ca)](_0x3e6f48,_0x3df7d9,_0x22cfc1,_0x104575,_0x5477ef){const _0x1206ec=_0x38573e;this[_0x1206ec(0xc6)]=!0x1,this[_0x1206ec(0xd2)]=!0x0;const _0x1b091e=new _0x3e6f48(_0x22cfc1?_0x1206ec(0xde)+_0x3df7d9:_0x3df7d9);return Error[_0x1206ec(0x172)](_0x1b091e,this['createError']),_0x1b091e[_0x1206ec(0x169)]=_0x5477ef,_0x1b091e[_0xb5a9bf]=_0x104575,_0x1b091e;}}return Se=_0x2ed4be,Se;}var Ee,et;function _t(){const _0x4d8c89=_0x3462e3;if(et)return Ee;et=0x1;const {Duplex:_0x49024d}=_0x245210,{randomFillSync:_0x594f4a}=_0x264bc5,_0x19b13c=he(),{EMPTY_BUFFER:_0xa64204,kWebSocket:_0xdc0d7a,NOOP:_0x113608}=V(),{isBlob:_0x260228,isValidStatusCode:_0x20a6f9}=ne(),{mask:_0x3b9d93,toBuffer:_0x21098d}=ce(),_0x416ee4=Symbol(_0x4d8c89(0xa5)),_0x11b46=Buffer[_0x4d8c89(0x1a9)](0x4),_0x5dbed2=0x8*0x400;let _0x1e2ab8,_0x15423b=_0x5dbed2;const _0x3f1a62=0x0,_0x454eed=0x1,_0x310840=0x2;class _0x52bb3c{constructor(_0x35cdc9,_0x2b1b59,_0x48f1fb){const _0x2c8dc7=_0x4d8c89;this[_0x2c8dc7(0x1cf)]=_0x2b1b59||{},_0x48f1fb&&(this['_generateMask']=_0x48f1fb,this[_0x2c8dc7(0x123)]=Buffer['alloc'](0x4)),this[_0x2c8dc7(0x1e9)]=_0x35cdc9,this[_0x2c8dc7(0x119)]=!0x0,this[_0x2c8dc7(0xa8)]=!0x1,this[_0x2c8dc7(0x146)]=0x0,this[_0x2c8dc7(0x175)]=[],this[_0x2c8dc7(0x16a)]=_0x3f1a62,this['onerror']=_0x113608,this[_0xdc0d7a]=void 0x0;}static[_0x4d8c89(0x7c)](_0x52bedc,_0x48dc46){const _0x146022=_0x4d8c89;let _0x367ed7,_0x4733a8=!0x1,_0x4b842d=0x2,_0x2bf9ad=!0x1;_0x48dc46[_0x146022(0x74)]&&(_0x367ed7=_0x48dc46[_0x146022(0x191)]||_0x11b46,_0x48dc46[_0x146022(0x1e7)]?_0x48dc46['generateMask'](_0x367ed7):(_0x15423b===_0x5dbed2&&(_0x1e2ab8===void 0x0&&(_0x1e2ab8=Buffer[_0x146022(0x1a9)](_0x5dbed2)),_0x594f4a(_0x1e2ab8,0x0,_0x5dbed2),_0x15423b=0x0),_0x367ed7[0x0]=_0x1e2ab8[_0x15423b++],_0x367ed7[0x1]=_0x1e2ab8[_0x15423b++],_0x367ed7[0x2]=_0x1e2ab8[_0x15423b++],_0x367ed7[0x3]=_0x1e2ab8[_0x15423b++]),_0x2bf9ad=(_0x367ed7[0x0]|_0x367ed7[0x1]|_0x367ed7[0x2]|_0x367ed7[0x3])===0x0,_0x4b842d=0x6);let _0xe5ca5c;typeof _0x52bedc=='string'?(!_0x48dc46[_0x146022(0x74)]||_0x2bf9ad)&&_0x48dc46[_0x416ee4]!==void 0x0?_0xe5ca5c=_0x48dc46[_0x416ee4]:(_0x52bedc=Buffer[_0x146022(0xad)](_0x52bedc),_0xe5ca5c=_0x52bedc[_0x146022(0xe6)]):(_0xe5ca5c=_0x52bedc[_0x146022(0xe6)],_0x4733a8=_0x48dc46[_0x146022(0x74)]&&_0x48dc46[_0x146022(0x183)]&&!_0x2bf9ad);let _0xdd5260=_0xe5ca5c;_0xe5ca5c>=0x10000?(_0x4b842d+=0x8,_0xdd5260=0x7f):_0xe5ca5c>0x7d&&(_0x4b842d+=0x2,_0xdd5260=0x7e);const _0x4bc819=Buffer['allocUnsafe'](_0x4733a8?_0xe5ca5c+_0x4b842d:_0x4b842d);return _0x4bc819[0x0]=_0x48dc46[_0x146022(0x179)]?_0x48dc46[_0x146022(0x21b)]|0x80:_0x48dc46[_0x146022(0x21b)],_0x48dc46[_0x146022(0xbf)]&&(_0x4bc819[0x0]|=0x40),_0x4bc819[0x1]=_0xdd5260,_0xdd5260===0x7e?_0x4bc819['writeUInt16BE'](_0xe5ca5c,0x2):_0xdd5260===0x7f&&(_0x4bc819[0x2]=_0x4bc819[0x3]=0x0,_0x4bc819[_0x146022(0xa0)](_0xe5ca5c,0x4,0x6)),_0x48dc46['mask']?(_0x4bc819[0x1]|=0x80,_0x4bc819[_0x4b842d-0x4]=_0x367ed7[0x0],_0x4bc819[_0x4b842d-0x3]=_0x367ed7[0x1],_0x4bc819[_0x4b842d-0x2]=_0x367ed7[0x2],_0x4bc819[_0x4b842d-0x1]=_0x367ed7[0x3],_0x2bf9ad?[_0x4bc819,_0x52bedc]:_0x4733a8?(_0x3b9d93(_0x52bedc,_0x367ed7,_0x4bc819,_0x4b842d,_0xe5ca5c),[_0x4bc819]):(_0x3b9d93(_0x52bedc,_0x367ed7,_0x52bedc,0x0,_0xe5ca5c),[_0x4bc819,_0x52bedc])):[_0x4bc819,_0x52bedc];}['close'](_0x26ed2f,_0x49c89d,_0x2ac003,_0x19df04){const _0x2868c1=_0x4d8c89;let _0x30e356;if(_0x26ed2f===void 0x0)_0x30e356=_0xa64204;else{if(typeof _0x26ed2f!=_0x2868c1(0x1c6)||!_0x20a6f9(_0x26ed2f))throw new TypeError(_0x2868c1(0x1a3));if(_0x49c89d===void 0x0||!_0x49c89d[_0x2868c1(0xe6)])_0x30e356=Buffer[_0x2868c1(0x194)](0x2),_0x30e356[_0x2868c1(0x190)](_0x26ed2f,0x0);else{const _0x305081=Buffer[_0x2868c1(0x12b)](_0x49c89d);if(_0x305081>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x30e356=Buffer[_0x2868c1(0x194)](0x2+_0x305081),_0x30e356[_0x2868c1(0x190)](_0x26ed2f,0x0),typeof _0x49c89d==_0x2868c1(0x1b6)?_0x30e356['write'](_0x49c89d,0x2):_0x30e356[_0x2868c1(0x16d)](_0x49c89d,0x2);}}const _0x1d40fd={[_0x416ee4]:_0x30e356['length'],'fin':!0x0,'generateMask':this[_0x2868c1(0x159)],'mask':_0x2ac003,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x3f1a62?this['enqueue']([this[_0x2868c1(0x152)],_0x30e356,!0x1,_0x1d40fd,_0x19df04]):this[_0x2868c1(0xfd)](_0x52bb3c[_0x2868c1(0x7c)](_0x30e356,_0x1d40fd),_0x19df04);}[_0x4d8c89(0xba)](_0x4b5ead,_0x1865dc,_0x5ce1df){const _0x484a34=_0x4d8c89;let _0x8d8091,_0x392cfa;if(typeof _0x4b5ead==_0x484a34(0x1b6)?(_0x8d8091=Buffer[_0x484a34(0x12b)](_0x4b5ead),_0x392cfa=!0x1):_0x260228(_0x4b5ead)?(_0x8d8091=_0x4b5ead['size'],_0x392cfa=!0x1):(_0x4b5ead=_0x21098d(_0x4b5ead),_0x8d8091=_0x4b5ead[_0x484a34(0xe6)],_0x392cfa=_0x21098d[_0x484a34(0x183)]),_0x8d8091>0x7d)throw new RangeError(_0x484a34(0x1a1));const _0x587cb4={[_0x416ee4]:_0x8d8091,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x1865dc,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x392cfa,'rsv1':!0x1};_0x260228(_0x4b5ead)?this['_state']!==_0x3f1a62?this[_0x484a34(0x99)]([this['getBlobData'],_0x4b5ead,!0x1,_0x587cb4,_0x5ce1df]):this[_0x484a34(0x107)](_0x4b5ead,!0x1,_0x587cb4,_0x5ce1df):this[_0x484a34(0x16a)]!==_0x3f1a62?this[_0x484a34(0x99)]([this['dispatch'],_0x4b5ead,!0x1,_0x587cb4,_0x5ce1df]):this[_0x484a34(0xfd)](_0x52bb3c[_0x484a34(0x7c)](_0x4b5ead,_0x587cb4),_0x5ce1df);}[_0x4d8c89(0x16f)](_0x14efec,_0x280fd2,_0x3afc17){const _0x9bcf3d=_0x4d8c89;let _0x1bd314,_0x331f88;if(typeof _0x14efec=='string'?(_0x1bd314=Buffer[_0x9bcf3d(0x12b)](_0x14efec),_0x331f88=!0x1):_0x260228(_0x14efec)?(_0x1bd314=_0x14efec[_0x9bcf3d(0xf0)],_0x331f88=!0x1):(_0x14efec=_0x21098d(_0x14efec),_0x1bd314=_0x14efec[_0x9bcf3d(0xe6)],_0x331f88=_0x21098d['readOnly']),_0x1bd314>0x7d)throw new RangeError(_0x9bcf3d(0x1a1));const _0x449b2a={[_0x416ee4]:_0x1bd314,'fin':!0x0,'generateMask':this[_0x9bcf3d(0x159)],'mask':_0x280fd2,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x331f88,'rsv1':!0x1};_0x260228(_0x14efec)?this['_state']!==_0x3f1a62?this[_0x9bcf3d(0x99)]([this[_0x9bcf3d(0x107)],_0x14efec,!0x1,_0x449b2a,_0x3afc17]):this[_0x9bcf3d(0x107)](_0x14efec,!0x1,_0x449b2a,_0x3afc17):this['_state']!==_0x3f1a62?this['enqueue']([this[_0x9bcf3d(0x152)],_0x14efec,!0x1,_0x449b2a,_0x3afc17]):this[_0x9bcf3d(0xfd)](_0x52bb3c[_0x9bcf3d(0x7c)](_0x14efec,_0x449b2a),_0x3afc17);}[_0x4d8c89(0x181)](_0x20f8e5,_0x102fb5,_0x3b7764){const _0x20e7e1=_0x4d8c89,_0x46a7bf=this['_extensions'][_0x19b13c['extensionName']];let _0x290d53=_0x102fb5[_0x20e7e1(0x85)]?0x2:0x1,_0x13b3a0=_0x102fb5[_0x20e7e1(0x122)],_0x534bfb,_0x2c1d6b;typeof _0x20f8e5==_0x20e7e1(0x1b6)?(_0x534bfb=Buffer[_0x20e7e1(0x12b)](_0x20f8e5),_0x2c1d6b=!0x1):_0x260228(_0x20f8e5)?(_0x534bfb=_0x20f8e5['size'],_0x2c1d6b=!0x1):(_0x20f8e5=_0x21098d(_0x20f8e5),_0x534bfb=_0x20f8e5[_0x20e7e1(0xe6)],_0x2c1d6b=_0x21098d[_0x20e7e1(0x183)]),this[_0x20e7e1(0x119)]?(this[_0x20e7e1(0x119)]=!0x1,_0x13b3a0&&_0x46a7bf&&_0x46a7bf[_0x20e7e1(0x148)][_0x46a7bf[_0x20e7e1(0x19e)]?_0x20e7e1(0xdc):'client_no_context_takeover']&&(_0x13b3a0=_0x534bfb>=_0x46a7bf['_threshold']),this[_0x20e7e1(0xa8)]=_0x13b3a0):(_0x13b3a0=!0x1,_0x290d53=0x0),_0x102fb5[_0x20e7e1(0x179)]&&(this[_0x20e7e1(0x119)]=!0x0);const _0x2f3d0c={[_0x416ee4]:_0x534bfb,'fin':_0x102fb5[_0x20e7e1(0x179)],'generateMask':this[_0x20e7e1(0x159)],'mask':_0x102fb5[_0x20e7e1(0x74)],'maskBuffer':this['_maskBuffer'],'opcode':_0x290d53,'readOnly':_0x2c1d6b,'rsv1':_0x13b3a0};_0x260228(_0x20f8e5)?this['_state']!==_0x3f1a62?this['enqueue']([this[_0x20e7e1(0x107)],_0x20f8e5,this['_compress'],_0x2f3d0c,_0x3b7764]):this[_0x20e7e1(0x107)](_0x20f8e5,this[_0x20e7e1(0xa8)],_0x2f3d0c,_0x3b7764):this[_0x20e7e1(0x16a)]!==_0x3f1a62?this[_0x20e7e1(0x99)]([this[_0x20e7e1(0x152)],_0x20f8e5,this[_0x20e7e1(0xa8)],_0x2f3d0c,_0x3b7764]):this[_0x20e7e1(0x152)](_0x20f8e5,this[_0x20e7e1(0xa8)],_0x2f3d0c,_0x3b7764);}['getBlobData'](_0x1719da,_0x15bafb,_0x52005c,_0x4dfba4){const _0x577f37=_0x4d8c89;this[_0x577f37(0x146)]+=_0x52005c[_0x416ee4],this[_0x577f37(0x16a)]=_0x310840,_0x1719da[_0x577f37(0x157)]()[_0x577f37(0x76)](_0x596274=>{const _0x5ac4b9=_0x577f37;if(this[_0x5ac4b9(0x1e9)][_0x5ac4b9(0x21e)]){const _0x4ada4d=new Error(_0x5ac4b9(0x15a));process[_0x5ac4b9(0x19a)](_0xca2e69,this,_0x4ada4d,_0x4dfba4);return;}this[_0x5ac4b9(0x146)]-=_0x52005c[_0x416ee4];const _0x5aa465=_0x21098d(_0x596274);_0x15bafb?this[_0x5ac4b9(0x152)](_0x5aa465,_0x15bafb,_0x52005c,_0x4dfba4):(this[_0x5ac4b9(0x16a)]=_0x3f1a62,this[_0x5ac4b9(0xfd)](_0x52bb3c['frame'](_0x5aa465,_0x52005c),_0x4dfba4),this[_0x5ac4b9(0x1d4)]());})[_0x577f37(0x105)](_0x1a3d22=>{const _0x1fc81d=_0x577f37;process[_0x1fc81d(0x19a)](_0x1355df,this,_0x1a3d22,_0x4dfba4);});}[_0x4d8c89(0x152)](_0x10a489,_0x285ba3,_0x676a50,_0x25eceb){const _0x2ef5b7=_0x4d8c89;if(!_0x285ba3){this[_0x2ef5b7(0xfd)](_0x52bb3c[_0x2ef5b7(0x7c)](_0x10a489,_0x676a50),_0x25eceb);return;}const _0x4090c0=this['_extensions'][_0x19b13c[_0x2ef5b7(0x9a)]];this[_0x2ef5b7(0x146)]+=_0x676a50[_0x416ee4],this['_state']=_0x454eed,_0x4090c0[_0x2ef5b7(0x122)](_0x10a489,_0x676a50[_0x2ef5b7(0x179)],(_0x24e566,_0x3111d3)=>{const _0x4389c6=_0x2ef5b7;if(this['_socket'][_0x4389c6(0x21e)]){const _0x5eba37=new Error(_0x4389c6(0x110));_0xca2e69(this,_0x5eba37,_0x25eceb);return;}this[_0x4389c6(0x146)]-=_0x676a50[_0x416ee4],this[_0x4389c6(0x16a)]=_0x3f1a62,_0x676a50[_0x4389c6(0x183)]=!0x1,this[_0x4389c6(0xfd)](_0x52bb3c['frame'](_0x3111d3,_0x676a50),_0x25eceb),this[_0x4389c6(0x1d4)]();});}[_0x4d8c89(0x1d4)](){const _0x3f7141=_0x4d8c89;for(;this['_state']===_0x3f1a62&&this['_queue'][_0x3f7141(0xe6)];){const _0x172dc0=this[_0x3f7141(0x175)][_0x3f7141(0x18b)]();this[_0x3f7141(0x146)]-=_0x172dc0[0x3][_0x416ee4],Reflect[_0x3f7141(0x1ab)](_0x172dc0[0x0],this,_0x172dc0[_0x3f7141(0x124)](0x1));}}[_0x4d8c89(0x99)](_0x2e1aa9){const _0x272906=_0x4d8c89;this[_0x272906(0x146)]+=_0x2e1aa9[0x3][_0x416ee4],this[_0x272906(0x175)][_0x272906(0xc2)](_0x2e1aa9);}[_0x4d8c89(0xfd)](_0xba9c99,_0x19ee28){const _0x2e755a=_0x4d8c89;_0xba9c99[_0x2e755a(0xe6)]===0x2?(this['_socket'][_0x2e755a(0x1d6)](),this[_0x2e755a(0x1e9)]['write'](_0xba9c99[0x0]),this[_0x2e755a(0x1e9)][_0x2e755a(0x1c5)](_0xba9c99[0x1],_0x19ee28),this['_socket'][_0x2e755a(0x20c)]()):this[_0x2e755a(0x1e9)][_0x2e755a(0x1c5)](_0xba9c99[0x0],_0x19ee28);}}Ee=_0x52bb3c;function _0xca2e69(_0x501b10,_0x300e6c,_0x500a58){const _0xa03d74=_0x4d8c89;typeof _0x500a58=='function'&&_0x500a58(_0x300e6c);for(let _0x40bf2a=0x0;_0x40bf2a<_0x501b10[_0xa03d74(0x175)]['length'];_0x40bf2a++){const _0x5e126e=_0x501b10[_0xa03d74(0x175)][_0x40bf2a],_0x566677=_0x5e126e[_0x5e126e[_0xa03d74(0xe6)]-0x1];typeof _0x566677==_0xa03d74(0x216)&&_0x566677(_0x300e6c);}}function _0x1355df(_0x4ee57f,_0x4f16f6,_0x4e1874){const _0x1d74c6=_0x4d8c89;_0xca2e69(_0x4ee57f,_0x4f16f6,_0x4e1874),_0x4ee57f[_0x1d74c6(0x19d)](_0x4f16f6);}return Ee;}var xe,tt;function Kt(){const _0x1eda27=_0x3462e3;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x635330,kListener:_0x51e416}=V(),_0x5db88d=Symbol(_0x1eda27(0xbb)),_0x7d3993=Symbol(_0x1eda27(0x1ec)),_0x2ce0f8=Symbol(_0x1eda27(0x1e2)),_0x5b468f=Symbol('kMessage'),_0x587f0a=Symbol(_0x1eda27(0xb7)),_0x5c10de=Symbol(_0x1eda27(0x212)),_0x5f0895=Symbol(_0x1eda27(0x79)),_0x4bcff1=Symbol(_0x1eda27(0x1fa));class _0x15322a{constructor(_0x273919){this[_0x5c10de]=null,this[_0x5f0895]=_0x273919;}get[_0x1eda27(0x156)](){return this[_0x5c10de];}get[_0x1eda27(0x70)](){return this[_0x5f0895];}}Object['defineProperty'](_0x15322a[_0x1eda27(0x220)],_0x1eda27(0x156),{'enumerable':!0x0}),Object['defineProperty'](_0x15322a[_0x1eda27(0x220)],_0x1eda27(0x70),{'enumerable':!0x0});class _0x120b4a extends _0x15322a{constructor(_0x4dc61c,_0x3071da={}){const _0x5b0c6c=_0x1eda27;super(_0x4dc61c),this[_0x5db88d]=_0x3071da[_0x5b0c6c(0x169)]===void 0x0?0x0:_0x3071da[_0x5b0c6c(0x169)],this[_0x587f0a]=_0x3071da['reason']===void 0x0?'':_0x3071da[_0x5b0c6c(0xf4)],this[_0x4bcff1]=_0x3071da[_0x5b0c6c(0x1f8)]===void 0x0?!0x1:_0x3071da[_0x5b0c6c(0x1f8)];}get[_0x1eda27(0x169)](){return this[_0x5db88d];}get[_0x1eda27(0xf4)](){return this[_0x587f0a];}get[_0x1eda27(0x1f8)](){return this[_0x4bcff1];}}Object['defineProperty'](_0x120b4a[_0x1eda27(0x220)],'code',{'enumerable':!0x0}),Object[_0x1eda27(0x1b3)](_0x120b4a[_0x1eda27(0x220)],'reason',{'enumerable':!0x0}),Object['defineProperty'](_0x120b4a[_0x1eda27(0x220)],_0x1eda27(0x1f8),{'enumerable':!0x0});class _0x5e2691 extends _0x15322a{constructor(_0x56131d,_0x2b36a6={}){const _0x491b74=_0x1eda27;super(_0x56131d),this[_0x2ce0f8]=_0x2b36a6[_0x491b74(0x1bb)]===void 0x0?null:_0x2b36a6[_0x491b74(0x1bb)],this[_0x5b468f]=_0x2b36a6[_0x491b74(0x17f)]===void 0x0?'':_0x2b36a6[_0x491b74(0x17f)];}get['error'](){return this[_0x2ce0f8];}get['message'](){return this[_0x5b468f];}}Object[_0x1eda27(0x1b3)](_0x5e2691[_0x1eda27(0x220)],_0x1eda27(0x1bb),{'enumerable':!0x0}),Object['defineProperty'](_0x5e2691[_0x1eda27(0x220)],_0x1eda27(0x17f),{'enumerable':!0x0});class _0x4b4da9 extends _0x15322a{constructor(_0x5eff54,_0x2330d0={}){const _0x31bbd3=_0x1eda27;super(_0x5eff54),this[_0x7d3993]=_0x2330d0[_0x31bbd3(0x1d3)]===void 0x0?null:_0x2330d0[_0x31bbd3(0x1d3)];}get[_0x1eda27(0x1d3)](){return this[_0x7d3993];}}Object[_0x1eda27(0x1b3)](_0x4b4da9[_0x1eda27(0x220)],_0x1eda27(0x1d3),{'enumerable':!0x0}),xe={'CloseEvent':_0x120b4a,'ErrorEvent':_0x5e2691,'Event':_0x15322a,'EventTarget':{'addEventListener'(_0x548992,_0x263587,_0x4d6aab={}){const _0x16a7a1=_0x1eda27;for(const _0x354ecc of this[_0x16a7a1(0xed)](_0x548992))if(!_0x4d6aab[_0x635330]&&_0x354ecc[_0x51e416]===_0x263587&&!_0x354ecc[_0x635330])return;let _0x286e37;if(_0x548992===_0x16a7a1(0x17f))_0x286e37=function(_0x5e12b8,_0xbe1aa2){const _0x14fff5=_0x16a7a1,_0x405f64=new _0x4b4da9(_0x14fff5(0x17f),{'data':_0xbe1aa2?_0x5e12b8:_0x5e12b8[_0x14fff5(0x15c)]()});_0x405f64[_0x5c10de]=this,_0x52804a(_0x263587,this,_0x405f64);};else{if(_0x548992==='close')_0x286e37=function(_0xe7073d,_0x3270c1){const _0x586e37=_0x16a7a1,_0x4cb682=new _0x120b4a(_0x586e37(0x143),{'code':_0xe7073d,'reason':_0x3270c1[_0x586e37(0x15c)](),'wasClean':this[_0x586e37(0x20a)]&&this[_0x586e37(0x189)]});_0x4cb682[_0x5c10de]=this,_0x52804a(_0x263587,this,_0x4cb682);};else{if(_0x548992===_0x16a7a1(0x1bb))_0x286e37=function(_0x206770){const _0x4e290c=_0x16a7a1,_0x56f24e=new _0x5e2691(_0x4e290c(0x1bb),{'error':_0x206770,'message':_0x206770[_0x4e290c(0x17f)]});_0x56f24e[_0x5c10de]=this,_0x52804a(_0x263587,this,_0x56f24e);};else{if(_0x548992===_0x16a7a1(0x1df))_0x286e37=function(){const _0x4669ab=new _0x15322a('open');_0x4669ab[_0x5c10de]=this,_0x52804a(_0x263587,this,_0x4669ab);};else return;}}}_0x286e37[_0x635330]=!!_0x4d6aab[_0x635330],_0x286e37[_0x51e416]=_0x263587,_0x4d6aab[_0x16a7a1(0x219)]?this[_0x16a7a1(0x219)](_0x548992,_0x286e37):this['on'](_0x548992,_0x286e37);},'removeEventListener'(_0x202741,_0x311e11){const _0x33d86a=_0x1eda27;for(const _0x2436aa of this[_0x33d86a(0xed)](_0x202741))if(_0x2436aa[_0x51e416]===_0x311e11&&!_0x2436aa[_0x635330]){this[_0x33d86a(0x1db)](_0x202741,_0x2436aa);break;}}},'MessageEvent':_0x4b4da9};function _0x52804a(_0x280ff1,_0x150688,_0x3b0549){const _0x50e0ac=_0x1eda27;typeof _0x280ff1==_0x50e0ac(0xaf)&&_0x280ff1['handleEvent']?_0x280ff1[_0x50e0ac(0x205)]['call'](_0x280ff1,_0x3b0549):_0x280ff1[_0x50e0ac(0x201)](_0x150688,_0x3b0549);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x16791a}=ne();function _0xbdf2a8(_0x1ff181,_0x516775,_0x2a5731){_0x1ff181[_0x516775]===void 0x0?_0x1ff181[_0x516775]=[_0x2a5731]:_0x1ff181[_0x516775]['push'](_0x2a5731);}function _0x1e4442(_0x581e77){const _0x53e9ff=_0x53c6,_0x238510=Object[_0x53e9ff(0x125)](null);let _0x7b4ede=Object[_0x53e9ff(0x125)](null),_0x4ac7dc=!0x1,_0x56f3fd=!0x1,_0xe066df=!0x1,_0x120620,_0x42b176,_0x5c6ddd=-0x1,_0x24b4c2=-0x1,_0x3557bd=-0x1,_0x4f20d3=0x0;for(;_0x4f20d3<_0x581e77['length'];_0x4f20d3++)if(_0x24b4c2=_0x581e77[_0x53e9ff(0xe9)](_0x4f20d3),_0x120620===void 0x0){if(_0x3557bd===-0x1&&_0x16791a[_0x24b4c2]===0x1)_0x5c6ddd===-0x1&&(_0x5c6ddd=_0x4f20d3);else{if(_0x4f20d3!==0x0&&(_0x24b4c2===0x20||_0x24b4c2===0x9))_0x3557bd===-0x1&&_0x5c6ddd!==-0x1&&(_0x3557bd=_0x4f20d3);else{if(_0x24b4c2===0x3b||_0x24b4c2===0x2c){if(_0x5c6ddd===-0x1)throw new SyntaxError(_0x53e9ff(0x103)+_0x4f20d3);_0x3557bd===-0x1&&(_0x3557bd=_0x4f20d3);const _0x3fb75d=_0x581e77['slice'](_0x5c6ddd,_0x3557bd);_0x24b4c2===0x2c?(_0xbdf2a8(_0x238510,_0x3fb75d,_0x7b4ede),_0x7b4ede=Object[_0x53e9ff(0x125)](null)):_0x120620=_0x3fb75d,_0x5c6ddd=_0x3557bd=-0x1;}else throw new SyntaxError(_0x53e9ff(0x103)+_0x4f20d3);}}}else{if(_0x42b176===void 0x0){if(_0x3557bd===-0x1&&_0x16791a[_0x24b4c2]===0x1)_0x5c6ddd===-0x1&&(_0x5c6ddd=_0x4f20d3);else{if(_0x24b4c2===0x20||_0x24b4c2===0x9)_0x3557bd===-0x1&&_0x5c6ddd!==-0x1&&(_0x3557bd=_0x4f20d3);else{if(_0x24b4c2===0x3b||_0x24b4c2===0x2c){if(_0x5c6ddd===-0x1)throw new SyntaxError(_0x53e9ff(0x103)+_0x4f20d3);_0x3557bd===-0x1&&(_0x3557bd=_0x4f20d3),_0xbdf2a8(_0x7b4ede,_0x581e77['slice'](_0x5c6ddd,_0x3557bd),!0x0),_0x24b4c2===0x2c&&(_0xbdf2a8(_0x238510,_0x120620,_0x7b4ede),_0x7b4ede=Object[_0x53e9ff(0x125)](null),_0x120620=void 0x0),_0x5c6ddd=_0x3557bd=-0x1;}else{if(_0x24b4c2===0x3d&&_0x5c6ddd!==-0x1&&_0x3557bd===-0x1)_0x42b176=_0x581e77[_0x53e9ff(0x124)](_0x5c6ddd,_0x4f20d3),_0x5c6ddd=_0x3557bd=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4f20d3);}}}}else{if(_0x56f3fd){if(_0x16791a[_0x24b4c2]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4f20d3);_0x5c6ddd===-0x1?_0x5c6ddd=_0x4f20d3:_0x4ac7dc||(_0x4ac7dc=!0x0),_0x56f3fd=!0x1;}else{if(_0xe066df){if(_0x16791a[_0x24b4c2]===0x1)_0x5c6ddd===-0x1&&(_0x5c6ddd=_0x4f20d3);else{if(_0x24b4c2===0x22&&_0x5c6ddd!==-0x1)_0xe066df=!0x1,_0x3557bd=_0x4f20d3;else{if(_0x24b4c2===0x5c)_0x56f3fd=!0x0;else throw new SyntaxError(_0x53e9ff(0x103)+_0x4f20d3);}}}else{if(_0x24b4c2===0x22&&_0x581e77[_0x53e9ff(0xe9)](_0x4f20d3-0x1)===0x3d)_0xe066df=!0x0;else{if(_0x3557bd===-0x1&&_0x16791a[_0x24b4c2]===0x1)_0x5c6ddd===-0x1&&(_0x5c6ddd=_0x4f20d3);else{if(_0x5c6ddd!==-0x1&&(_0x24b4c2===0x20||_0x24b4c2===0x9))_0x3557bd===-0x1&&(_0x3557bd=_0x4f20d3);else{if(_0x24b4c2===0x3b||_0x24b4c2===0x2c){if(_0x5c6ddd===-0x1)throw new SyntaxError(_0x53e9ff(0x103)+_0x4f20d3);_0x3557bd===-0x1&&(_0x3557bd=_0x4f20d3);let _0x4c9e89=_0x581e77[_0x53e9ff(0x124)](_0x5c6ddd,_0x3557bd);_0x4ac7dc&&(_0x4c9e89=_0x4c9e89['replace'](/\\/g,''),_0x4ac7dc=!0x1),_0xbdf2a8(_0x7b4ede,_0x42b176,_0x4c9e89),_0x24b4c2===0x2c&&(_0xbdf2a8(_0x238510,_0x120620,_0x7b4ede),_0x7b4ede=Object[_0x53e9ff(0x125)](null),_0x120620=void 0x0),_0x42b176=void 0x0,_0x5c6ddd=_0x3557bd=-0x1;}else throw new SyntaxError(_0x53e9ff(0x103)+_0x4f20d3);}}}}}}}if(_0x5c6ddd===-0x1||_0xe066df||_0x24b4c2===0x20||_0x24b4c2===0x9)throw new SyntaxError(_0x53e9ff(0x1e0));_0x3557bd===-0x1&&(_0x3557bd=_0x4f20d3);const _0x1dc4e9=_0x581e77['slice'](_0x5c6ddd,_0x3557bd);return _0x120620===void 0x0?_0xbdf2a8(_0x238510,_0x1dc4e9,_0x7b4ede):(_0x42b176===void 0x0?_0xbdf2a8(_0x7b4ede,_0x1dc4e9,!0x0):_0x4ac7dc?_0xbdf2a8(_0x7b4ede,_0x42b176,_0x1dc4e9[_0x53e9ff(0x12e)](/\\/g,'')):_0xbdf2a8(_0x7b4ede,_0x42b176,_0x1dc4e9),_0xbdf2a8(_0x238510,_0x120620,_0x7b4ede)),_0x238510;}function _0x154c5a(_0x48f13d){const _0x496ce5=_0x53c6;return Object[_0x496ce5(0x10b)](_0x48f13d)[_0x496ce5(0x1d5)](_0x2599e9=>{const _0x2c49f3=_0x496ce5;let _0x165f67=_0x48f13d[_0x2599e9];return Array['isArray'](_0x165f67)||(_0x165f67=[_0x165f67]),_0x165f67[_0x2c49f3(0x1d5)](_0x54123f=>[_0x2599e9][_0x2c49f3(0x11a)](Object['keys'](_0x54123f)[_0x2c49f3(0x1d5)](_0xe9a3fc=>{const _0x146094=_0x2c49f3;let _0x4e97c9=_0x54123f[_0xe9a3fc];return Array[_0x146094(0xb2)](_0x4e97c9)||(_0x4e97c9=[_0x4e97c9]),_0x4e97c9[_0x146094(0x1d5)](_0x1651f4=>_0x1651f4===!0x0?_0xe9a3fc:_0xe9a3fc+'='+_0x1651f4)[_0x146094(0xcf)](';\x20');}))[_0x2c49f3(0xcf)](';\x20'))['join'](',\x20');})[_0x496ce5(0xcf)](',\x20');}return be={'format':_0x154c5a,'parse':_0x1e4442},be;}var we,st;function Ie(){const _0x1671a2=_0x3462e3;if(st)return we;st=0x1;const _0x1deb4f=_0x2a7be2,_0x3861d2=_0x44bc20,_0xab3ccb=_0x508da0,_0xb7c2ec=_0x296d8e,_0x18df3d=_0x441d80,{randomBytes:_0x5a12f4,createHash:_0x572235}=_0x264bc5,{Duplex:_0x2433fb,Readable:_0x15ff65}=_0x245210,{URL:_0x1ee7d0}=_0x11f563,_0x51e0ac=he(),_0x5f58ff=dt(),_0x183040=_t(),{isBlob:_0x39133e}=ne(),{BINARY_TYPES:_0x305993,EMPTY_BUFFER:_0x35c85e,GUID:_0x941d48,kForOnEventAttribute:_0x2cbb40,kListener:_0x2e7dd3,kStatusCode:_0x103370,kWebSocket:_0x495b86,NOOP:_0x14e432}=V(),{EventTarget:{addEventListener:_0x18473a,removeEventListener:_0x3e23a6}}=Kt(),{format:_0x486dfb,parse:_0x4b3aed}=pt(),{toBuffer:_0x1d8647}=ce(),_0x175052=0x1e*0x3e8,_0x13c0f4=Symbol('kAborted'),_0xc7201e=[0x8,0xd],_0x57946c=[_0x1671a2(0x116),_0x1671a2(0x1de),_0x1671a2(0x160),_0x1671a2(0xd4)],_0x1b59fe=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x382369 extends _0x1deb4f{constructor(_0x49e4a9,_0x597c07,_0x3dfa82){const _0x8a76bd=_0x1671a2;super(),this['_binaryType']=_0x305993[0x0],this[_0x8a76bd(0x186)]=0x3ee,this[_0x8a76bd(0x20a)]=!0x1,this[_0x8a76bd(0x189)]=!0x1,this[_0x8a76bd(0x1b8)]=_0x35c85e,this[_0x8a76bd(0xe8)]=null,this[_0x8a76bd(0x14e)]=!0x1,this['_extensions']={},this[_0x8a76bd(0xe0)]=!0x1,this[_0x8a76bd(0xcb)]='',this[_0x8a76bd(0x19b)]=_0x382369[_0x8a76bd(0x116)],this[_0x8a76bd(0x13a)]=null,this[_0x8a76bd(0x196)]=null,this['_socket']=null,_0x49e4a9!==null?(this[_0x8a76bd(0xa3)]=0x0,this['_isServer']=!0x1,this[_0x8a76bd(0x18a)]=0x0,_0x597c07===void 0x0?_0x597c07=[]:Array[_0x8a76bd(0xb2)](_0x597c07)||(typeof _0x597c07==_0x8a76bd(0xaf)&&_0x597c07!==null?(_0x3dfa82=_0x597c07,_0x597c07=[]):_0x597c07=[_0x597c07]),_0x4c1105(this,_0x49e4a9,_0x597c07,_0x3dfa82)):(this['_autoPong']=_0x3dfa82[_0x8a76bd(0x17a)],this[_0x8a76bd(0x19e)]=!0x0);}get[_0x1671a2(0x1c1)](){return this['_binaryType'];}set['binaryType'](_0x253859){const _0x51f899=_0x1671a2;_0x305993[_0x51f899(0x18e)](_0x253859)&&(this[_0x51f899(0xe1)]=_0x253859,this[_0x51f899(0x13a)]&&(this['_receiver'][_0x51f899(0xe1)]=_0x253859));}get[_0x1671a2(0x95)](){const _0x2bc125=_0x1671a2;return this[_0x2bc125(0x1e9)]?this[_0x2bc125(0x1e9)]['_writableState']['length']+this[_0x2bc125(0x196)][_0x2bc125(0x146)]:this[_0x2bc125(0xa3)];}get[_0x1671a2(0x206)](){const _0x114b19=_0x1671a2;return Object[_0x114b19(0x10b)](this[_0x114b19(0x1cf)])[_0x114b19(0xcf)]();}get[_0x1671a2(0x17d)](){const _0x26fdd2=_0x1671a2;return this[_0x26fdd2(0xe0)];}get[_0x1671a2(0x162)](){return null;}get[_0x1671a2(0x19d)](){return null;}get[_0x1671a2(0xd8)](){return null;}get[_0x1671a2(0x126)](){return null;}get[_0x1671a2(0x9d)](){const _0xa2be2d=_0x1671a2;return this[_0xa2be2d(0xcb)];}get[_0x1671a2(0x1ce)](){const _0x12c02d=_0x1671a2;return this[_0x12c02d(0x19b)];}get[_0x1671a2(0x177)](){const _0x508a4d=_0x1671a2;return this[_0x508a4d(0x20d)];}[_0x1671a2(0xb0)](_0x2fa0bd,_0x473af0,_0x442a31){const _0x50d696=_0x1671a2,_0x54d637=new _0x5f58ff({'allowSynchronousEvents':_0x442a31[_0x50d696(0xe7)],'binaryType':this[_0x50d696(0x1c1)],'extensions':this[_0x50d696(0x1cf)],'isServer':this['_isServer'],'maxPayload':_0x442a31['maxPayload'],'skipUTF8Validation':_0x442a31['skipUTF8Validation']}),_0x5070dd=new _0x183040(_0x2fa0bd,this[_0x50d696(0x1cf)],_0x442a31[_0x50d696(0x1e7)]);this['_receiver']=_0x54d637,this[_0x50d696(0x196)]=_0x5070dd,this['_socket']=_0x2fa0bd,_0x54d637[_0x495b86]=this,_0x5070dd[_0x495b86]=this,_0x2fa0bd[_0x495b86]=this,_0x54d637['on'](_0x50d696(0x163),_0x2272a5),_0x54d637['on']('drain',_0x3074ff),_0x54d637['on'](_0x50d696(0x1bb),_0x85f525),_0x54d637['on'](_0x50d696(0x17f),_0x18152),_0x54d637['on'](_0x50d696(0xba),_0x951303),_0x54d637['on'](_0x50d696(0x16f),_0x40f6ba),_0x5070dd['onerror']=_0x2c84e9,_0x2fa0bd[_0x50d696(0x113)]&&_0x2fa0bd[_0x50d696(0x113)](0x0),_0x2fa0bd[_0x50d696(0x154)]&&_0x2fa0bd[_0x50d696(0x154)](),_0x473af0[_0x50d696(0xe6)]>0x0&&_0x2fa0bd[_0x50d696(0x20e)](_0x473af0),_0x2fa0bd['on']('close',_0x44fdf0),_0x2fa0bd['on']('data',_0x377029),_0x2fa0bd['on']('end',_0x8421b8),_0x2fa0bd['on'](_0x50d696(0x1bb),_0x5743a0),this['_readyState']=_0x382369[_0x50d696(0x1de)],this[_0x50d696(0x7f)](_0x50d696(0x1df));}[_0x1671a2(0xc7)](){const _0x2551d7=_0x1671a2;if(!this[_0x2551d7(0x1e9)]){this[_0x2551d7(0x19b)]=_0x382369['CLOSED'],this[_0x2551d7(0x7f)](_0x2551d7(0x143),this[_0x2551d7(0x186)],this[_0x2551d7(0x1b8)]);return;}this[_0x2551d7(0x1cf)][_0x51e0ac[_0x2551d7(0x9a)]]&&this['_extensions'][_0x51e0ac[_0x2551d7(0x9a)]][_0x2551d7(0x130)](),this['_receiver'][_0x2551d7(0xff)](),this['_readyState']=_0x382369[_0x2551d7(0xd4)],this[_0x2551d7(0x7f)](_0x2551d7(0x143),this[_0x2551d7(0x186)],this[_0x2551d7(0x1b8)]);}['close'](_0x4de99c,_0x315ed0){const _0x598926=_0x1671a2;if(this[_0x598926(0x1ce)]!==_0x382369[_0x598926(0xd4)]){if(this[_0x598926(0x1ce)]===_0x382369['CONNECTING']){_0x24befc(this,this[_0x598926(0x19c)],_0x598926(0x164));return;}if(this[_0x598926(0x1ce)]===_0x382369[_0x598926(0x160)]){this[_0x598926(0x189)]&&(this[_0x598926(0x20a)]||this[_0x598926(0x13a)][_0x598926(0xc1)]['errorEmitted'])&&this['_socket']['end']();return;}this['_readyState']=_0x382369[_0x598926(0x160)],this['_sender'][_0x598926(0x143)](_0x4de99c,_0x315ed0,!this[_0x598926(0x19e)],_0x55f61f=>{const _0x41cda2=_0x598926;_0x55f61f||(this['_closeFrameSent']=!0x0,(this[_0x41cda2(0x20a)]||this[_0x41cda2(0x13a)][_0x41cda2(0xc1)][_0x41cda2(0x167)])&&this['_socket'][_0x41cda2(0x166)]());}),_0x3c5061(this);}}[_0x1671a2(0x1d8)](){const _0x1efaf3=_0x1671a2;this[_0x1efaf3(0x1ce)]===_0x382369['CONNECTING']||this[_0x1efaf3(0x1ce)]===_0x382369[_0x1efaf3(0xd4)]||(this[_0x1efaf3(0xe0)]=!0x0,this[_0x1efaf3(0x1e9)][_0x1efaf3(0x1d8)]());}['ping'](_0x689276,_0x1135e6,_0x55884c){const _0x1fccc3=_0x1671a2;if(this[_0x1fccc3(0x1ce)]===_0x382369[_0x1fccc3(0x116)])throw new Error(_0x1fccc3(0x174));if(typeof _0x689276==_0x1fccc3(0x216)?(_0x55884c=_0x689276,_0x689276=_0x1135e6=void 0x0):typeof _0x1135e6==_0x1fccc3(0x216)&&(_0x55884c=_0x1135e6,_0x1135e6=void 0x0),typeof _0x689276==_0x1fccc3(0x1c6)&&(_0x689276=_0x689276[_0x1fccc3(0x15c)]()),this[_0x1fccc3(0x1ce)]!==_0x382369[_0x1fccc3(0x1de)]){_0x1955d2(this,_0x689276,_0x55884c);return;}_0x1135e6===void 0x0&&(_0x1135e6=!this['_isServer']),this[_0x1fccc3(0x196)][_0x1fccc3(0xba)](_0x689276||_0x35c85e,_0x1135e6,_0x55884c);}['pong'](_0x337cee,_0x328cc2,_0xdb478d){const _0x493ff3=_0x1671a2;if(this[_0x493ff3(0x1ce)]===_0x382369[_0x493ff3(0x116)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x337cee==_0x493ff3(0x216)?(_0xdb478d=_0x337cee,_0x337cee=_0x328cc2=void 0x0):typeof _0x328cc2==_0x493ff3(0x216)&&(_0xdb478d=_0x328cc2,_0x328cc2=void 0x0),typeof _0x337cee==_0x493ff3(0x1c6)&&(_0x337cee=_0x337cee['toString']()),this[_0x493ff3(0x1ce)]!==_0x382369[_0x493ff3(0x1de)]){_0x1955d2(this,_0x337cee,_0xdb478d);return;}_0x328cc2===void 0x0&&(_0x328cc2=!this['_isServer']),this[_0x493ff3(0x196)]['pong'](_0x337cee||_0x35c85e,_0x328cc2,_0xdb478d);}[_0x1671a2(0xf7)](){const _0x2ec06e=_0x1671a2;this[_0x2ec06e(0x1ce)]===_0x382369[_0x2ec06e(0x116)]||this[_0x2ec06e(0x1ce)]===_0x382369['CLOSED']||(this[_0x2ec06e(0xe0)]=!0x1,this[_0x2ec06e(0x13a)][_0x2ec06e(0xc1)][_0x2ec06e(0x10f)]||this[_0x2ec06e(0x1e9)][_0x2ec06e(0xf7)]());}[_0x1671a2(0x181)](_0x27d96c,_0x42d6e7,_0x540dc4){const _0x3e1b94=_0x1671a2;if(this[_0x3e1b94(0x1ce)]===_0x382369['CONNECTING'])throw new Error(_0x3e1b94(0x174));if(typeof _0x42d6e7==_0x3e1b94(0x216)&&(_0x540dc4=_0x42d6e7,_0x42d6e7={}),typeof _0x27d96c==_0x3e1b94(0x1c6)&&(_0x27d96c=_0x27d96c[_0x3e1b94(0x15c)]()),this[_0x3e1b94(0x1ce)]!==_0x382369[_0x3e1b94(0x1de)]){_0x1955d2(this,_0x27d96c,_0x540dc4);return;}const _0x578aa6={'binary':typeof _0x27d96c!=_0x3e1b94(0x1b6),'mask':!this[_0x3e1b94(0x19e)],'compress':!0x0,'fin':!0x0,..._0x42d6e7};this[_0x3e1b94(0x1cf)][_0x51e0ac[_0x3e1b94(0x9a)]]||(_0x578aa6['compress']=!0x1),this[_0x3e1b94(0x196)][_0x3e1b94(0x181)](_0x27d96c||_0x35c85e,_0x578aa6,_0x540dc4);}[_0x1671a2(0x8f)](){const _0x404025=_0x1671a2;if(this[_0x404025(0x1ce)]!==_0x382369[_0x404025(0xd4)]){if(this[_0x404025(0x1ce)]===_0x382369['CONNECTING']){_0x24befc(this,this[_0x404025(0x19c)],_0x404025(0x164));return;}this[_0x404025(0x1e9)]&&(this[_0x404025(0x19b)]=_0x382369['CLOSING'],this[_0x404025(0x1e9)][_0x404025(0xf1)]());}}}Object[_0x1671a2(0x1b3)](_0x382369,'CONNECTING',{'enumerable':!0x0,'value':_0x57946c['indexOf']('CONNECTING')}),Object[_0x1671a2(0x1b3)](_0x382369[_0x1671a2(0x220)],_0x1671a2(0x116),{'enumerable':!0x0,'value':_0x57946c[_0x1671a2(0x16e)](_0x1671a2(0x116))}),Object[_0x1671a2(0x1b3)](_0x382369,_0x1671a2(0x1de),{'enumerable':!0x0,'value':_0x57946c[_0x1671a2(0x16e)](_0x1671a2(0x1de))}),Object[_0x1671a2(0x1b3)](_0x382369[_0x1671a2(0x220)],_0x1671a2(0x1de),{'enumerable':!0x0,'value':_0x57946c[_0x1671a2(0x16e)](_0x1671a2(0x1de))}),Object[_0x1671a2(0x1b3)](_0x382369,_0x1671a2(0x160),{'enumerable':!0x0,'value':_0x57946c[_0x1671a2(0x16e)](_0x1671a2(0x160))}),Object[_0x1671a2(0x1b3)](_0x382369[_0x1671a2(0x220)],_0x1671a2(0x160),{'enumerable':!0x0,'value':_0x57946c[_0x1671a2(0x16e)]('CLOSING')}),Object['defineProperty'](_0x382369,_0x1671a2(0xd4),{'enumerable':!0x0,'value':_0x57946c['indexOf']('CLOSED')}),Object[_0x1671a2(0x1b3)](_0x382369['prototype'],_0x1671a2(0xd4),{'enumerable':!0x0,'value':_0x57946c['indexOf']('CLOSED')}),[_0x1671a2(0x1c1),_0x1671a2(0x95),_0x1671a2(0x206),_0x1671a2(0x17d),_0x1671a2(0x9d),_0x1671a2(0x1ce),'url'][_0x1671a2(0x1dc)](_0x35fd66=>{const _0x877f23=_0x1671a2;Object[_0x877f23(0x1b3)](_0x382369['prototype'],_0x35fd66,{'enumerable':!0x0});}),[_0x1671a2(0x1df),_0x1671a2(0x1bb),'close',_0x1671a2(0x17f)][_0x1671a2(0x1dc)](_0x53f806=>{const _0x121d36=_0x1671a2;Object[_0x121d36(0x1b3)](_0x382369[_0x121d36(0x220)],'on'+_0x53f806,{'enumerable':!0x0,'get'(){const _0x3a238d=_0x121d36;for(const _0x557ffb of this[_0x3a238d(0xed)](_0x53f806))if(_0x557ffb[_0x2cbb40])return _0x557ffb[_0x2e7dd3];return null;},'set'(_0xd4b9df){const _0x530da0=_0x121d36;for(const _0xace5d3 of this[_0x530da0(0xed)](_0x53f806))if(_0xace5d3[_0x2cbb40]){this[_0x530da0(0x1db)](_0x53f806,_0xace5d3);break;}typeof _0xd4b9df=='function'&&this[_0x530da0(0x90)](_0x53f806,_0xd4b9df,{[_0x2cbb40]:!0x0});}});}),_0x382369[_0x1671a2(0x220)][_0x1671a2(0x90)]=_0x18473a,_0x382369[_0x1671a2(0x220)][_0x1671a2(0x1ff)]=_0x3e23a6,we=_0x382369;function _0x4c1105(_0x1021be,_0x4d058f,_0x393a72,_0x33f17e){const _0xb6a7c7=_0x1671a2,_0x1ae3c1={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0xc7201e[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x33f17e,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0xb6a7c7(0x109),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x1021be[_0xb6a7c7(0x14b)]=_0x1ae3c1[_0xb6a7c7(0x17a)],!_0xc7201e['includes'](_0x1ae3c1[_0xb6a7c7(0x133)]))throw new RangeError(_0xb6a7c7(0x7d)+_0x1ae3c1[_0xb6a7c7(0x133)]+'\x20(supported\x20versions:\x20'+_0xc7201e[_0xb6a7c7(0xcf)](',\x20')+')');let _0x1faaec;if(_0x4d058f instanceof _0x1ee7d0)_0x1faaec=_0x4d058f;else try{_0x1faaec=new _0x1ee7d0(_0x4d058f);}catch{throw new SyntaxError(_0xb6a7c7(0x140)+_0x4d058f);}_0x1faaec[_0xb6a7c7(0x9d)]==='http:'?_0x1faaec['protocol']=_0xb6a7c7(0x178):_0x1faaec[_0xb6a7c7(0x9d)]==='https:'&&(_0x1faaec[_0xb6a7c7(0x9d)]=_0xb6a7c7(0x1bf)),_0x1021be[_0xb6a7c7(0x20d)]=_0x1faaec[_0xb6a7c7(0x1ba)];const _0x30b44f=_0x1faaec[_0xb6a7c7(0x9d)]===_0xb6a7c7(0x1bf),_0x1319bd=_0x1faaec[_0xb6a7c7(0x9d)]===_0xb6a7c7(0xdd);let _0x255aee;if(_0x1faaec['protocol']!==_0xb6a7c7(0x178)&&!_0x30b44f&&!_0x1319bd?_0x255aee=_0xb6a7c7(0x1c4):_0x1319bd&&!_0x1faaec[_0xb6a7c7(0x21c)]?_0x255aee='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x1faaec[_0xb6a7c7(0x1f5)]&&(_0x255aee=_0xb6a7c7(0x222)),_0x255aee){const _0x2e531b=new SyntaxError(_0x255aee);if(_0x1021be[_0xb6a7c7(0x18a)]===0x0)throw _0x2e531b;_0x48f6a4(_0x1021be,_0x2e531b);return;}const _0x8461b0=_0x30b44f?0x1bb:0x50,_0x5d5c6e=_0x5a12f4(0x10)['toString']('base64'),_0x2067df=_0x30b44f?_0x3861d2['request']:_0xab3ccb['request'],_0x4106ea=new Set();let _0x18f65e;if(_0x1ae3c1[_0xb6a7c7(0x173)]=_0x1ae3c1[_0xb6a7c7(0x173)]||(_0x30b44f?_0x2285cf:_0x3a1e80),_0x1ae3c1['defaultPort']=_0x1ae3c1['defaultPort']||_0x8461b0,_0x1ae3c1[_0xb6a7c7(0x106)]=_0x1faaec[_0xb6a7c7(0x106)]||_0x8461b0,_0x1ae3c1[_0xb6a7c7(0x11e)]=_0x1faaec['hostname'][_0xb6a7c7(0x1e8)]('[')?_0x1faaec['hostname'][_0xb6a7c7(0x124)](0x1,-0x1):_0x1faaec[_0xb6a7c7(0x15b)],_0x1ae3c1[_0xb6a7c7(0xe2)]={..._0x1ae3c1[_0xb6a7c7(0xe2)],'Sec-WebSocket-Version':_0x1ae3c1['protocolVersion'],'Sec-WebSocket-Key':_0x5d5c6e,'Connection':_0xb6a7c7(0x21f),'Upgrade':_0xb6a7c7(0x20b)},_0x1ae3c1[_0xb6a7c7(0xb5)]=_0x1faaec[_0xb6a7c7(0x21c)]+_0x1faaec[_0xb6a7c7(0x1ad)],_0x1ae3c1[_0xb6a7c7(0x73)]=_0x1ae3c1[_0xb6a7c7(0x155)],_0x1ae3c1[_0xb6a7c7(0x10c)]&&(_0x18f65e=new _0x51e0ac(_0x1ae3c1[_0xb6a7c7(0x10c)]!==!0x0?_0x1ae3c1[_0xb6a7c7(0x10c)]:{},!0x1,_0x1ae3c1['maxPayload']),_0x1ae3c1[_0xb6a7c7(0xe2)][_0xb6a7c7(0x1d9)]=_0x486dfb({[_0x51e0ac[_0xb6a7c7(0x9a)]]:_0x18f65e[_0xb6a7c7(0xef)]()})),_0x393a72[_0xb6a7c7(0xe6)]){for(const _0x144ef4 of _0x393a72){if(typeof _0x144ef4!=_0xb6a7c7(0x1b6)||!_0x1b59fe[_0xb6a7c7(0x1f4)](_0x144ef4)||_0x4106ea[_0xb6a7c7(0xd7)](_0x144ef4))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x4106ea[_0xb6a7c7(0x14d)](_0x144ef4);}_0x1ae3c1['headers'][_0xb6a7c7(0x142)]=_0x393a72[_0xb6a7c7(0xcf)](',');}if(_0x1ae3c1[_0xb6a7c7(0x1cc)]&&(_0x1ae3c1['protocolVersion']<0xd?_0x1ae3c1['headers'][_0xb6a7c7(0x17e)]=_0x1ae3c1[_0xb6a7c7(0x1cc)]:_0x1ae3c1[_0xb6a7c7(0xe2)][_0xb6a7c7(0x7e)]=_0x1ae3c1[_0xb6a7c7(0x1cc)]),(_0x1faaec[_0xb6a7c7(0x111)]||_0x1faaec[_0xb6a7c7(0x1f2)])&&(_0x1ae3c1[_0xb6a7c7(0x151)]=_0x1faaec[_0xb6a7c7(0x111)]+':'+_0x1faaec[_0xb6a7c7(0x1f2)]),_0x1319bd){const _0x273696=_0x1ae3c1[_0xb6a7c7(0xb5)][_0xb6a7c7(0xb8)](':');_0x1ae3c1['socketPath']=_0x273696[0x0],_0x1ae3c1[_0xb6a7c7(0xb5)]=_0x273696[0x1];}let _0x9c27f;if(_0x1ae3c1[_0xb6a7c7(0xc9)]){if(_0x1021be[_0xb6a7c7(0x18a)]===0x0){_0x1021be[_0xb6a7c7(0x226)]=_0x1319bd,_0x1021be[_0xb6a7c7(0x1fb)]=_0x30b44f,_0x1021be[_0xb6a7c7(0x1a6)]=_0x1319bd?_0x1ae3c1[_0xb6a7c7(0xea)]:_0x1faaec['host'];const _0x5b57e9=_0x33f17e&&_0x33f17e[_0xb6a7c7(0xe2)];if(_0x33f17e={..._0x33f17e,'headers':{}},_0x5b57e9){for(const [_0x5a3415,_0x23cff9]of Object[_0xb6a7c7(0x121)](_0x5b57e9))_0x33f17e['headers'][_0x5a3415[_0xb6a7c7(0x134)]()]=_0x23cff9;}}else{if(_0x1021be[_0xb6a7c7(0x199)]('redirect')===0x0){const _0x5a18b8=_0x1319bd?_0x1021be[_0xb6a7c7(0x226)]?_0x1ae3c1[_0xb6a7c7(0xea)]===_0x1021be[_0xb6a7c7(0x1a6)]:!0x1:_0x1021be[_0xb6a7c7(0x226)]?!0x1:_0x1faaec['host']===_0x1021be[_0xb6a7c7(0x1a6)];(!_0x5a18b8||_0x1021be[_0xb6a7c7(0x1fb)]&&!_0x30b44f)&&(delete _0x1ae3c1['headers'][_0xb6a7c7(0x12c)],delete _0x1ae3c1['headers']['cookie'],_0x5a18b8||delete _0x1ae3c1[_0xb6a7c7(0xe2)]['host'],_0x1ae3c1[_0xb6a7c7(0x151)]=void 0x0);}}_0x1ae3c1[_0xb6a7c7(0x151)]&&!_0x33f17e[_0xb6a7c7(0xe2)][_0xb6a7c7(0x12c)]&&(_0x33f17e[_0xb6a7c7(0xe2)][_0xb6a7c7(0x12c)]=_0xb6a7c7(0x217)+Buffer[_0xb6a7c7(0xad)](_0x1ae3c1['auth'])[_0xb6a7c7(0x15c)](_0xb6a7c7(0x213))),_0x9c27f=_0x1021be[_0xb6a7c7(0x19c)]=_0x2067df(_0x1ae3c1),_0x1021be[_0xb6a7c7(0x18a)]&&_0x1021be['emit'](_0xb6a7c7(0x137),_0x1021be[_0xb6a7c7(0x177)],_0x9c27f);}else _0x9c27f=_0x1021be[_0xb6a7c7(0x19c)]=_0x2067df(_0x1ae3c1);_0x1ae3c1[_0xb6a7c7(0x73)]&&_0x9c27f['on'](_0xb6a7c7(0x73),()=>{_0x24befc(_0x1021be,_0x9c27f,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x9c27f['on'](_0xb6a7c7(0x1bb),_0x8ae92e=>{_0x9c27f===null||_0x9c27f[_0x13c0f4]||(_0x9c27f=_0x1021be['_req']=null,_0x48f6a4(_0x1021be,_0x8ae92e));}),_0x9c27f['on'](_0xb6a7c7(0xeb),_0x20c88d=>{const _0x1200ca=_0xb6a7c7,_0x17545f=_0x20c88d[_0x1200ca(0xe2)][_0x1200ca(0x141)],_0x18fd06=_0x20c88d[_0x1200ca(0xa1)];if(_0x17545f&&_0x1ae3c1[_0x1200ca(0xc9)]&&_0x18fd06>=0x12c&&_0x18fd06<0x190){if(++_0x1021be[_0x1200ca(0x18a)]>_0x1ae3c1[_0x1200ca(0x112)]){_0x24befc(_0x1021be,_0x9c27f,_0x1200ca(0x11b));return;}_0x9c27f[_0x1200ca(0x14f)]();let _0x251a84;try{_0x251a84=new _0x1ee7d0(_0x17545f,_0x4d058f);}catch{const _0x1645dd=new SyntaxError(_0x1200ca(0x140)+_0x17545f);_0x48f6a4(_0x1021be,_0x1645dd);return;}_0x4c1105(_0x1021be,_0x251a84,_0x393a72,_0x33f17e);}else _0x1021be[_0x1200ca(0x7f)](_0x1200ca(0xc3),_0x9c27f,_0x20c88d)||_0x24befc(_0x1021be,_0x9c27f,_0x1200ca(0x14a)+_0x20c88d['statusCode']);}),_0x9c27f['on'](_0xb6a7c7(0xcd),(_0x17e0bc,_0x44906e,_0x4d397d)=>{const _0x56741f=_0xb6a7c7;if(_0x1021be[_0x56741f(0x7f)]('upgrade',_0x17e0bc),_0x1021be[_0x56741f(0x1ce)]!==_0x382369[_0x56741f(0x116)])return;_0x9c27f=_0x1021be[_0x56741f(0x19c)]=null;const _0x596847=_0x17e0bc['headers']['upgrade'];if(_0x596847===void 0x0||_0x596847[_0x56741f(0x134)]()!=='websocket'){_0x24befc(_0x1021be,_0x44906e,_0x56741f(0x1c0));return;}const _0x1e1fab=_0x572235(_0x56741f(0x9e))[_0x56741f(0x208)](_0x5d5c6e+_0x941d48)[_0x56741f(0xce)](_0x56741f(0x213));if(_0x17e0bc[_0x56741f(0xe2)][_0x56741f(0x1a7)]!==_0x1e1fab){_0x24befc(_0x1021be,_0x44906e,_0x56741f(0x1b1));return;}const _0x2abee1=_0x17e0bc[_0x56741f(0xe2)]['sec-websocket-protocol'];let _0x1ee731;if(_0x2abee1!==void 0x0?_0x4106ea[_0x56741f(0xf0)]?_0x4106ea['has'](_0x2abee1)||(_0x1ee731='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x1ee731='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x4106ea['size']&&(_0x1ee731='Server\x20sent\x20no\x20subprotocol'),_0x1ee731){_0x24befc(_0x1021be,_0x44906e,_0x1ee731);return;}_0x2abee1&&(_0x1021be[_0x56741f(0xcb)]=_0x2abee1);const _0x3dc5ef=_0x17e0bc[_0x56741f(0xe2)][_0x56741f(0xd1)];if(_0x3dc5ef!==void 0x0){if(!_0x18f65e){_0x24befc(_0x1021be,_0x44906e,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x2b9ada;try{_0x2b9ada=_0x4b3aed(_0x3dc5ef);}catch{_0x24befc(_0x1021be,_0x44906e,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x508ece=Object[_0x56741f(0x10b)](_0x2b9ada);if(_0x508ece[_0x56741f(0xe6)]!==0x1||_0x508ece[0x0]!==_0x51e0ac[_0x56741f(0x9a)]){_0x24befc(_0x1021be,_0x44906e,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x18f65e[_0x56741f(0x11d)](_0x2b9ada[_0x51e0ac[_0x56741f(0x9a)]]);}catch{_0x24befc(_0x1021be,_0x44906e,_0x56741f(0x16b));return;}_0x1021be[_0x56741f(0x1cf)][_0x51e0ac[_0x56741f(0x9a)]]=_0x18f65e;}_0x1021be[_0x56741f(0xb0)](_0x44906e,_0x4d397d,{'allowSynchronousEvents':_0x1ae3c1[_0x56741f(0xe7)],'generateMask':_0x1ae3c1[_0x56741f(0x1e7)],'maxPayload':_0x1ae3c1[_0x56741f(0x7b)],'skipUTF8Validation':_0x1ae3c1[_0x56741f(0x158)]});}),_0x1ae3c1[_0xb6a7c7(0x1aa)]?_0x1ae3c1[_0xb6a7c7(0x1aa)](_0x9c27f,_0x1021be):_0x9c27f[_0xb6a7c7(0x166)]();}function _0x48f6a4(_0x193efa,_0x4ca558){const _0x302994=_0x1671a2;_0x193efa[_0x302994(0x19b)]=_0x382369[_0x302994(0x160)],_0x193efa['_errorEmitted']=!0x0,_0x193efa[_0x302994(0x7f)]('error',_0x4ca558),_0x193efa['emitClose']();}function _0x3a1e80(_0x57e571){const _0x4b4e60=_0x1671a2;return _0x57e571[_0x4b4e60(0xb5)]=_0x57e571['socketPath'],_0xb7c2ec[_0x4b4e60(0x83)](_0x57e571);}function _0x2285cf(_0x1e240f){const _0x69b4a0=_0x1671a2;return _0x1e240f[_0x69b4a0(0xb5)]=void 0x0,!_0x1e240f['servername']&&_0x1e240f[_0x69b4a0(0x202)]!==''&&(_0x1e240f[_0x69b4a0(0x202)]=_0xb7c2ec['isIP'](_0x1e240f['host'])?'':_0x1e240f[_0x69b4a0(0x11e)]),_0x18df3d['connect'](_0x1e240f);}function _0x24befc(_0x2deaa8,_0x48eb3e,_0x295923){const _0x86c215=_0x1671a2;_0x2deaa8[_0x86c215(0x19b)]=_0x382369[_0x86c215(0x160)];const _0x3ca8e9=new Error(_0x295923);Error[_0x86c215(0x172)](_0x3ca8e9,_0x24befc),_0x48eb3e[_0x86c215(0x11f)]?(_0x48eb3e[_0x13c0f4]=!0x0,_0x48eb3e[_0x86c215(0x14f)](),_0x48eb3e['socket']&&!_0x48eb3e[_0x86c215(0x101)][_0x86c215(0x21e)]&&_0x48eb3e[_0x86c215(0x101)]['destroy'](),process[_0x86c215(0x19a)](_0x48f6a4,_0x2deaa8,_0x3ca8e9)):(_0x48eb3e['destroy'](_0x3ca8e9),_0x48eb3e[_0x86c215(0x219)](_0x86c215(0x1bb),_0x2deaa8[_0x86c215(0x7f)]['bind'](_0x2deaa8,_0x86c215(0x1bb))),_0x48eb3e[_0x86c215(0x219)](_0x86c215(0x143),_0x2deaa8[_0x86c215(0xc7)][_0x86c215(0x1ea)](_0x2deaa8)));}function _0x1955d2(_0x382b6f,_0x371e7a,_0x40982e){const _0x37a811=_0x1671a2;if(_0x371e7a){const _0x16c83b=_0x39133e(_0x371e7a)?_0x371e7a[_0x37a811(0xf0)]:_0x1d8647(_0x371e7a)['length'];_0x382b6f['_socket']?_0x382b6f[_0x37a811(0x196)][_0x37a811(0x146)]+=_0x16c83b:_0x382b6f[_0x37a811(0xa3)]+=_0x16c83b;}if(_0x40982e){const _0x4a3ab8=new Error(_0x37a811(0xc5)+_0x382b6f['readyState']+'\x20('+_0x57946c[_0x382b6f[_0x37a811(0x1ce)]]+')');process[_0x37a811(0x19a)](_0x40982e,_0x4a3ab8);}}function _0x2272a5(_0x25d6ae,_0x23248a){const _0x2781a8=_0x1671a2,_0xa73488=this[_0x495b86];_0xa73488['_closeFrameReceived']=!0x0,_0xa73488['_closeMessage']=_0x23248a,_0xa73488[_0x2781a8(0x186)]=_0x25d6ae,_0xa73488[_0x2781a8(0x1e9)][_0x495b86]!==void 0x0&&(_0xa73488['_socket'][_0x2781a8(0x1db)](_0x2781a8(0x1d3),_0x377029),process[_0x2781a8(0x19a)](_0x22cc9d,_0xa73488[_0x2781a8(0x1e9)]),_0x25d6ae===0x3ed?_0xa73488[_0x2781a8(0x143)]():_0xa73488['close'](_0x25d6ae,_0x23248a));}function _0x3074ff(){const _0x51af30=_0x1671a2,_0x538ad7=this[_0x495b86];_0x538ad7[_0x51af30(0x17d)]||_0x538ad7[_0x51af30(0x1e9)][_0x51af30(0xf7)]();}function _0x85f525(_0xfea069){const _0x490f8=_0x1671a2,_0x16653f=this[_0x495b86];_0x16653f[_0x490f8(0x1e9)][_0x495b86]!==void 0x0&&(_0x16653f[_0x490f8(0x1e9)][_0x490f8(0x1db)](_0x490f8(0x1d3),_0x377029),process[_0x490f8(0x19a)](_0x22cc9d,_0x16653f[_0x490f8(0x1e9)]),_0x16653f[_0x490f8(0x143)](_0xfea069[_0x103370])),_0x16653f[_0x490f8(0x14e)]||(_0x16653f[_0x490f8(0x14e)]=!0x0,_0x16653f['emit'](_0x490f8(0x1bb),_0xfea069));}function _0x3c76c5(){const _0x29ab29=_0x1671a2;this[_0x495b86][_0x29ab29(0xc7)]();}function _0x18152(_0x1c5e42,_0x337cdd){const _0x1509b0=_0x1671a2;this[_0x495b86][_0x1509b0(0x7f)]('message',_0x1c5e42,_0x337cdd);}function _0x951303(_0xaedb44){const _0x4c97e1=_0x1671a2,_0x10c54b=this[_0x495b86];_0x10c54b[_0x4c97e1(0x14b)]&&_0x10c54b[_0x4c97e1(0x16f)](_0xaedb44,!this[_0x4c97e1(0x19e)],_0x14e432),_0x10c54b[_0x4c97e1(0x7f)](_0x4c97e1(0xba),_0xaedb44);}function _0x40f6ba(_0x43f1a4){const _0x3fee4a=_0x1671a2;this[_0x495b86][_0x3fee4a(0x7f)]('pong',_0x43f1a4);}function _0x22cc9d(_0x3eea08){_0x3eea08['resume']();}function _0x2c84e9(_0x1c56b4){const _0x38ee06=_0x1671a2,_0x5872a2=this[_0x495b86];_0x5872a2['readyState']!==_0x382369['CLOSED']&&(_0x5872a2[_0x38ee06(0x1ce)]===_0x382369['OPEN']&&(_0x5872a2[_0x38ee06(0x19b)]=_0x382369['CLOSING'],_0x3c5061(_0x5872a2)),this['_socket'][_0x38ee06(0x166)](),_0x5872a2[_0x38ee06(0x14e)]||(_0x5872a2[_0x38ee06(0x14e)]=!0x0,_0x5872a2[_0x38ee06(0x7f)](_0x38ee06(0x1bb),_0x1c56b4)));}function _0x3c5061(_0x4b9e31){const _0x7801ed=_0x1671a2;_0x4b9e31[_0x7801ed(0xe8)]=setTimeout(_0x4b9e31['_socket'][_0x7801ed(0xf1)][_0x7801ed(0x1ea)](_0x4b9e31['_socket']),_0x175052);}function _0x44fdf0(){const _0x2a9ccb=_0x1671a2,_0x32df13=this[_0x495b86];this['removeListener'](_0x2a9ccb(0x143),_0x44fdf0),this[_0x2a9ccb(0x1db)](_0x2a9ccb(0x1d3),_0x377029),this[_0x2a9ccb(0x1db)]('end',_0x8421b8),_0x32df13[_0x2a9ccb(0x19b)]=_0x382369[_0x2a9ccb(0x160)];let _0x1b7329;!this[_0x2a9ccb(0x131)][_0x2a9ccb(0x16c)]&&!_0x32df13['_closeFrameReceived']&&!_0x32df13[_0x2a9ccb(0x13a)]['_writableState'][_0x2a9ccb(0x167)]&&(_0x1b7329=_0x32df13[_0x2a9ccb(0x1e9)][_0x2a9ccb(0x1e3)]())!==null&&_0x32df13[_0x2a9ccb(0x13a)][_0x2a9ccb(0x1c5)](_0x1b7329),_0x32df13[_0x2a9ccb(0x13a)]['end'](),this[_0x495b86]=void 0x0,clearTimeout(_0x32df13['_closeTimer']),_0x32df13[_0x2a9ccb(0x13a)][_0x2a9ccb(0xc1)][_0x2a9ccb(0x187)]||_0x32df13['_receiver'][_0x2a9ccb(0xc1)][_0x2a9ccb(0x167)]?_0x32df13[_0x2a9ccb(0xc7)]():(_0x32df13[_0x2a9ccb(0x13a)]['on'](_0x2a9ccb(0x1bb),_0x3c76c5),_0x32df13[_0x2a9ccb(0x13a)]['on'](_0x2a9ccb(0x171),_0x3c76c5));}function _0x377029(_0x1ce978){const _0x39dfa1=_0x1671a2;this[_0x495b86][_0x39dfa1(0x13a)][_0x39dfa1(0x1c5)](_0x1ce978)||this[_0x39dfa1(0x1d8)]();}function _0x8421b8(){const _0x4fd28b=_0x1671a2,_0x384e31=this[_0x495b86];_0x384e31[_0x4fd28b(0x19b)]=_0x382369[_0x4fd28b(0x160)],_0x384e31[_0x4fd28b(0x13a)][_0x4fd28b(0x166)](),this[_0x4fd28b(0x166)]();}function _0x5743a0(){const _0x5ede40=_0x1671a2,_0x108364=this[_0x495b86];this[_0x5ede40(0x1db)](_0x5ede40(0x1bb),_0x5743a0),this['on'](_0x5ede40(0x1bb),_0x14e432),_0x108364&&(_0x108364[_0x5ede40(0x19b)]=_0x382369[_0x5ede40(0x160)],this['destroy']());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x531526}=_0x245210;function _0x10c45a(_0x586e4b){const _0x5bc703=_0x53c6;_0x586e4b[_0x5bc703(0x7f)](_0x5bc703(0x143));}function _0x3d43b0(){const _0x22f1fd=_0x53c6;!this['destroyed']&&this[_0x22f1fd(0xc1)][_0x22f1fd(0x187)]&&this[_0x22f1fd(0xf1)]();}function _0x37af0a(_0x1563cb){const _0x12f576=_0x53c6;this[_0x12f576(0x1db)](_0x12f576(0x1bb),_0x37af0a),this[_0x12f576(0xf1)](),this['listenerCount'](_0x12f576(0x1bb))===0x0&&this[_0x12f576(0x7f)]('error',_0x1563cb);}function _0x26741f(_0x1f3cad,_0xf45c0a){const _0x2f9bb4=_0x53c6;let _0x1e95f7=!0x0;const _0x2df2d2=new _0x531526({..._0xf45c0a,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x1f3cad['on'](_0x2f9bb4(0x17f),function(_0x41ba91,_0x21a131){const _0x151507=_0x2f9bb4,_0x5df3a0=!_0x21a131&&_0x2df2d2[_0x151507(0x131)][_0x151507(0x9b)]?_0x41ba91['toString']():_0x41ba91;_0x2df2d2[_0x151507(0xc2)](_0x5df3a0)||_0x1f3cad[_0x151507(0x1d8)]();}),_0x1f3cad[_0x2f9bb4(0x219)](_0x2f9bb4(0x1bb),function(_0x4e9f6d){const _0x21a8a7=_0x2f9bb4;_0x2df2d2['destroyed']||(_0x1e95f7=!0x1,_0x2df2d2[_0x21a8a7(0xf1)](_0x4e9f6d));}),_0x1f3cad['once']('close',function(){const _0xf7adc6=_0x2f9bb4;_0x2df2d2[_0xf7adc6(0x21e)]||_0x2df2d2[_0xf7adc6(0xc2)](null);}),_0x2df2d2[_0x2f9bb4(0x1b4)]=function(_0x546d6f,_0x1677e0){const _0x320ab9=_0x2f9bb4;if(_0x1f3cad['readyState']===_0x1f3cad[_0x320ab9(0xd4)]){_0x1677e0(_0x546d6f),process[_0x320ab9(0x19a)](_0x10c45a,_0x2df2d2);return;}let _0x2545ab=!0x1;_0x1f3cad[_0x320ab9(0x219)](_0x320ab9(0x1bb),function(_0x4862a4){_0x2545ab=!0x0,_0x1677e0(_0x4862a4);}),_0x1f3cad['once']('close',function(){_0x2545ab||_0x1677e0(_0x546d6f),process['nextTick'](_0x10c45a,_0x2df2d2);}),_0x1e95f7&&_0x1f3cad['terminate']();},_0x2df2d2['_final']=function(_0x4b67ed){const _0x31ef08=_0x2f9bb4;if(_0x1f3cad[_0x31ef08(0x1ce)]===_0x1f3cad[_0x31ef08(0x116)]){_0x1f3cad['once'](_0x31ef08(0x1df),function(){const _0x400b67=_0x31ef08;_0x2df2d2[_0x400b67(0x149)](_0x4b67ed);});return;}_0x1f3cad[_0x31ef08(0x1e9)]!==null&&(_0x1f3cad[_0x31ef08(0x1e9)]['_writableState'][_0x31ef08(0x187)]?(_0x4b67ed(),_0x2df2d2[_0x31ef08(0x131)][_0x31ef08(0x16c)]&&_0x2df2d2[_0x31ef08(0xf1)]()):(_0x1f3cad[_0x31ef08(0x1e9)][_0x31ef08(0x219)](_0x31ef08(0x171),function(){_0x4b67ed();}),_0x1f3cad['close']()));},_0x2df2d2[_0x2f9bb4(0xd6)]=function(){const _0x4eefe9=_0x2f9bb4;_0x1f3cad[_0x4eefe9(0x17d)]&&_0x1f3cad[_0x4eefe9(0xf7)]();},_0x2df2d2['_write']=function(_0x547039,_0x20909b,_0x52ab54){const _0x267bf2=_0x2f9bb4;if(_0x1f3cad['readyState']===_0x1f3cad['CONNECTING']){_0x1f3cad['once'](_0x267bf2(0x1df),function(){const _0x1f1db7=_0x267bf2;_0x2df2d2[_0x1f1db7(0x13e)](_0x547039,_0x20909b,_0x52ab54);});return;}_0x1f3cad['send'](_0x547039,_0x52ab54);},_0x2df2d2['on'](_0x2f9bb4(0x166),_0x3d43b0),_0x2df2d2['on'](_0x2f9bb4(0x1bb),_0x37af0a),_0x2df2d2;}return Oe=_0x26741f,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0xfb1c60}=ne();function _0x5cd9ff(_0x346f85){const _0x2abd06=_0x53c6,_0x18f09f=new Set();let _0x2b5d4f=-0x1,_0x3fc5a9=-0x1,_0x408093=0x0;for(_0x408093;_0x408093<_0x346f85['length'];_0x408093++){const _0x3ee23f=_0x346f85[_0x2abd06(0xe9)](_0x408093);if(_0x3fc5a9===-0x1&&_0xfb1c60[_0x3ee23f]===0x1)_0x2b5d4f===-0x1&&(_0x2b5d4f=_0x408093);else{if(_0x408093!==0x0&&(_0x3ee23f===0x20||_0x3ee23f===0x9))_0x3fc5a9===-0x1&&_0x2b5d4f!==-0x1&&(_0x3fc5a9=_0x408093);else{if(_0x3ee23f===0x2c){if(_0x2b5d4f===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x408093);_0x3fc5a9===-0x1&&(_0x3fc5a9=_0x408093);const _0x21422e=_0x346f85['slice'](_0x2b5d4f,_0x3fc5a9);if(_0x18f09f[_0x2abd06(0xd7)](_0x21422e))throw new SyntaxError(_0x2abd06(0x1b5)+_0x21422e+_0x2abd06(0x21d));_0x18f09f['add'](_0x21422e),_0x2b5d4f=_0x3fc5a9=-0x1;}else throw new SyntaxError(_0x2abd06(0x103)+_0x408093);}}}if(_0x2b5d4f===-0x1||_0x3fc5a9!==-0x1)throw new SyntaxError(_0x2abd06(0x1e0));const _0x528749=_0x346f85['slice'](_0x2b5d4f,_0x408093);if(_0x18f09f[_0x2abd06(0xd7)](_0x528749))throw new SyntaxError(_0x2abd06(0x1b5)+_0x528749+_0x2abd06(0x21d));return _0x18f09f['add'](_0x528749),_0x18f09f;}return Ce={'parse':_0x5cd9ff},Ce;}var Te,ot;function _0x53cd(){const _0x34a872=['keys','perMessageDeflate','kDone','verifyClient','needDrain','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','username','maxRedirects','setTimeout','find','buffers','CONNECTING','WS_NO_BUFFER_UTIL','hasOwnProperty','_firstFragment','concat','Maximum\x20redirects\x20exceeded','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','accept','host','setHeader','2890874sILQni','entries','compress','_maskBuffer','slice','create','onmessage','registerHTTPInterceptor','_removeListeners','dataMessage','construct','byteLength','authorization','parse','replace','13,\x208','cleanup','_readableState','decompress','protocolVersion','toLowerCase','reset','noServer','redirect','_fin','Unknown\x20parameter\x20\x22','_receiver','value','WebSocket','handleProtocols','_write','getPayloadLength64','Invalid\x20URL:\x20','location','Sec-WebSocket-Protocol','close','nodebuffer','method','_bufferedBytes','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','params','_final','Unexpected\x20server\x20response:\x20','_autoPong','MASK\x20must\x20be\x20set','add','_errorEmitted','abort','getOwnPropertyDescriptor','auth','dispatch','pending','setNoDelay','handshakeTimeout','target','arrayBuffer','skipUTF8Validation','_generateMask','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','hostname','toString','handleUpgrade','text/html','concurrency','CLOSING','_totalPayloadLength','onclose','conclude','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','writable','end','errorEmitted','invalid\x20payload\x20length\x20','code','_state','Invalid\x20Sec-WebSocket-Extensions\x20header','endEmitted','set','indexOf','pong','authorized','finish','captureStackTrace','createConnection','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','_queue','WS_ERR_INVALID_UTF8','url','ws:','fin','autoPong','client_no_context_takeover','_mask','isPaused','Sec-WebSocket-Origin','message','kRun','send','jobs','readOnly','onStarting','_registerDependencies','_closeCode','finished','readUInt16BE','_closeFrameSent','_redirects','shift','5938392KLcAnB','toStringTag','includes','\x22:\x20','writeUInt16BE','maskBuffer','_threshold','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','allocUnsafe','getInfo','_sender','Upgrade:\x20websocket','getMask','listenerCount','nextTick','_readyState','_req','onerror','_isServer','buffer','total-length','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','client_max_window_bits','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','_shouldEmitClose','_deflate','_originalHostOrSocketPath','sec-websocket-accept','blob','alloc','finishRequest','apply','_opcode','search','Blob','options','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','Invalid\x20Sec-WebSocket-Accept\x20header','arraybuffer','defineProperty','_destroy','The\x20\x22','string','text/plain','_closeMessage','startLoop','href','error','normalizeParams','next','serverMaxWindowBits','wss:','Invalid\x20Upgrade\x20header','binaryType','_payloadLength','_allowSynchronousEvents','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','write','number','writeHead','Module','createSocket','createError','1937133dtUXcD','origin','sec-websocket-key','readyState','_extensions','kIsForOnEventAttribute','completeUpgrade','clients','data','dequeue','map','cork','_messageLength','pause','Sec-WebSocket-Extensions','createServer','removeListener','forEach','HTTP/1.1\x20','OPEN','open','Unexpected\x20end\x20of\x20input','__esModule','kError','read','WS_ERR_UNEXPECTED_RSV_1','WS_ERR_UNEXPECTED_RSV_2_3','listen','generateMask','startsWith','_socket','bind','get','kData','_configService','_max_window_bits','The\x20server\x20is\x20not\x20running','env','sec-websocket-protocol','password','6006294XMfFHt','test','hash','_no_context_takeover','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','wasClean','callback','kWasClean','_originalSecure','customHeaders','threshold','isInteger','removeEventListener','byteOffset','call','servername','1236960IeYCXm','stream','handleEvent','extensions','Invalid\x20Sec-WebSocket-Protocol\x20header','update','kListener','_closeFrameReceived','websocket','uncork','_url','unshift','clientTracking','Sec-WebSocket-Extensions:\x20','zlibDeflateOptions','kTarget','base64','getConfig','collaboration-client-node.config','function','Basic\x20','setConfig','once','Z_DEFAULT_WINDOWBITS','opcode','pathname','\x22\x20subprotocol\x20is\x20duplicated','destroyed','Upgrade','prototype','_injector','The\x20URL\x20contains\x20a\x20fragment\x20identifier','createDeflateRaw','_buffers','delete','_originalIpc','type','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','unmask','timeout','mask','values','then','_httpService','default','kType','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','maxPayload','frame','Unsupported\x20protocol\x20version:\x20','Origin','emit','MASK\x20must\x20be\x20clear','isView','_inflate','connect','Max\x20payload\x20size\x20exceeded','binary','_fragmented','listening','fragments','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','File','WS_ERR_UNEXPECTED_MASK','cookie','consume','connection','terminate','addEventListener','_decompress','flush','haveLength','_options','bufferedAmount','readUInt32BE','pipe','_skipUTF8Validation','enqueue','extensionName','objectMode','getData','protocol','sha1','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','writeUIntBE','statusCode','format','_bufferedAmount','Z_SYNC_FLUSH','kByteLength','address','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','_compress','STATUS_CODES','client','freeze','Sec-WebSocket-Accept:\x20','from','clientNoContextTakeover','object','setSocket','_maxPayload','isArray','species','FIN\x20must\x20be\x20set','path','_masked','kReason','split','server_max_window_bits','ping','kCode','isValidUTF8','dispose','exports','rsv1','clientMaxWindowBits','_writableState','push','unexpected-response','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','WebSocket\x20is\x20not\x20open:\x20readyState\x20','_loop','emitClose','server','followRedirects','zlibInflateOptions','_protocol','558yiZFUx','upgrade','digest','join','pow','sec-websocket-extensions','_errored','67272NGfXZT','CLOSED','acceptAsServer','_read','has','onopen','Invalid\x20HTTP\x20method','wsClientError','164ChBwLY','server_no_context_takeover','ws+unix:','Invalid\x20WebSocket\x20frame:\x20','concurrencyLimit','_paused','_binaryType','headers','\x22\x20must\x20have\x20only\x20a\x20single\x20value','_fragments','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','length','allowSynchronousEvents','_closeTimer','charCodeAt','socketPath','response','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','listeners','acceptAsClient','offer','size','destroy','RSV1\x20must\x20be\x20clear','controlMessage','reason','_server','constructor','resume','HTTP/1.1\x20101\x20Switching\x20Protocols','WS_ERR_INVALID_CLOSE_CODE','Invalid\x20value\x20for\x20parameter\x20\x22','_compressed','42985bFCuWF','sendFrame','Sec-WebSocket-Protocol:\x20','removeAllListeners','Cookie','socket','serverNoContextTakeover','Unexpected\x20character\x20at\x20index\x20','shouldHandle','catch','port','getBlobData','getPayloadLength16','GET','warn'];_0x53cd=function(){return _0x34a872;};return _0x53cd();}function er(){const _0x368464=_0x3462e3;if(ot)return Te;ot=0x1;const _0x4113=_0x2a7be2,_0x143835=_0x508da0,{Duplex:_0x473ac2}=_0x245210,{createHash:_0x50fc2e}=_0x264bc5,_0x44e295=pt(),_0x550c8e=he(),_0x517e01=Jt(),_0x23588d=Ie(),{GUID:_0x3328d0,kWebSocket:_0x4e4065}=V(),_0x239458=/^[+/0-9A-Za-z]{22}==$/,_0x3cea44=0x0,_0x3eed9c=0x1,_0x2654a9=0x2;class _0x7518b6 extends _0x4113{constructor(_0x307d87,_0x1ae590){const _0x13b95a=_0x53c6;if(super(),_0x307d87={'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':_0x23588d,..._0x307d87},_0x307d87[_0x13b95a(0x106)]==null&&!_0x307d87[_0x13b95a(0xc8)]&&!_0x307d87[_0x13b95a(0x136)]||_0x307d87['port']!=null&&(_0x307d87['server']||_0x307d87[_0x13b95a(0x136)])||_0x307d87[_0x13b95a(0xc8)]&&_0x307d87[_0x13b95a(0x136)])throw new TypeError(_0x13b95a(0x1b0));if(_0x307d87['port']!=null?(this[_0x13b95a(0xf5)]=_0x143835[_0x13b95a(0x1da)]((_0x45664a,_0x5ba525)=>{const _0x446b52=_0x13b95a,_0xc7df=_0x143835[_0x446b52(0xa9)][0x1aa];_0x5ba525[_0x446b52(0x1c7)](0x1aa,{'Content-Length':_0xc7df[_0x446b52(0xe6)],'Content-Type':_0x446b52(0x1b7)}),_0x5ba525['end'](_0xc7df);}),this['_server'][_0x13b95a(0x1e6)](_0x307d87[_0x13b95a(0x106)],_0x307d87[_0x13b95a(0x11e)],_0x307d87['backlog'],_0x1ae590)):_0x307d87['server']&&(this[_0x13b95a(0xf5)]=_0x307d87[_0x13b95a(0xc8)]),this[_0x13b95a(0xf5)]){const _0x47bc0c=this['emit'][_0x13b95a(0x1ea)](this,_0x13b95a(0x8e));this[_0x13b95a(0x128)]=_0x18a016(this['_server'],{'listening':this[_0x13b95a(0x7f)][_0x13b95a(0x1ea)](this,_0x13b95a(0x87)),'error':this[_0x13b95a(0x7f)]['bind'](this,_0x13b95a(0x1bb)),'upgrade':(_0x47480e,_0x1ea2d4,_0x3cd631)=>{this['handleUpgrade'](_0x47480e,_0x1ea2d4,_0x3cd631,_0x47bc0c);}});}_0x307d87['perMessageDeflate']===!0x0&&(_0x307d87[_0x13b95a(0x10c)]={}),_0x307d87[_0x13b95a(0x20f)]&&(this[_0x13b95a(0x1d2)]=new Set(),this[_0x13b95a(0x1a4)]=!0x1),this['options']=_0x307d87,this[_0x13b95a(0x16a)]=_0x3cea44;}[_0x368464(0xa6)](){const _0x1025cc=_0x368464;if(this[_0x1025cc(0x1af)][_0x1025cc(0x136)])throw new Error(_0x1025cc(0x71));return this[_0x1025cc(0xf5)]?this[_0x1025cc(0xf5)][_0x1025cc(0xa6)]():null;}[_0x368464(0x143)](_0x2e9bb1){const _0x39b5c7=_0x368464;if(this[_0x39b5c7(0x16a)]===_0x2654a9){_0x2e9bb1&&this['once'](_0x39b5c7(0x143),()=>{const _0x1488eb=_0x39b5c7;_0x2e9bb1(new Error(_0x1488eb(0x1ef)));}),process[_0x39b5c7(0x19a)](_0x5da36c,this);return;}if(_0x2e9bb1&&this['once'](_0x39b5c7(0x143),_0x2e9bb1),this['_state']!==_0x3eed9c){if(this[_0x39b5c7(0x16a)]=_0x3eed9c,this[_0x39b5c7(0x1af)]['noServer']||this[_0x39b5c7(0x1af)]['server'])this[_0x39b5c7(0xf5)]&&(this[_0x39b5c7(0x128)](),this[_0x39b5c7(0x128)]=this['_server']=null),this[_0x39b5c7(0x1d2)]?this[_0x39b5c7(0x1d2)][_0x39b5c7(0xf0)]?this[_0x39b5c7(0x1a4)]=!0x0:process[_0x39b5c7(0x19a)](_0x5da36c,this):process['nextTick'](_0x5da36c,this);else{const _0x1aa8ba=this['_server'];this[_0x39b5c7(0x128)](),this[_0x39b5c7(0x128)]=this[_0x39b5c7(0xf5)]=null,_0x1aa8ba['close'](()=>{_0x5da36c(this);});}}}[_0x368464(0x104)](_0x1da6f7){const _0x3cc269=_0x368464;if(this[_0x3cc269(0x1af)][_0x3cc269(0xb5)]){const _0xde5c25=_0x1da6f7[_0x3cc269(0x177)]['indexOf']('?');if((_0xde5c25!==-0x1?_0x1da6f7[_0x3cc269(0x177)][_0x3cc269(0x124)](0x0,_0xde5c25):_0x1da6f7[_0x3cc269(0x177)])!==this[_0x3cc269(0x1af)][_0x3cc269(0xb5)])return!0x1;}return!0x0;}[_0x368464(0x15d)](_0x501a6d,_0x113cf0,_0x18099f,_0x15e1a3){const _0x17f5c5=_0x368464;_0x113cf0['on'](_0x17f5c5(0x1bb),_0x88f1ef);const _0x5d087b=_0x501a6d[_0x17f5c5(0xe2)][_0x17f5c5(0x1cd)],_0x35664d=_0x501a6d[_0x17f5c5(0xe2)]['upgrade'],_0x5d1b38=+_0x501a6d[_0x17f5c5(0xe2)]['sec-websocket-version'];if(_0x501a6d[_0x17f5c5(0x145)]!==_0x17f5c5(0x109)){_0x523fb9(this,_0x501a6d,_0x113cf0,0x195,_0x17f5c5(0xd9));return;}if(_0x35664d===void 0x0||_0x35664d[_0x17f5c5(0x134)]()!=='websocket'){_0x523fb9(this,_0x501a6d,_0x113cf0,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x5d087b===void 0x0||!_0x239458[_0x17f5c5(0x1f4)](_0x5d087b)){_0x523fb9(this,_0x501a6d,_0x113cf0,0x190,_0x17f5c5(0xec));return;}if(_0x5d1b38!==0xd&&_0x5d1b38!==0x8){_0x523fb9(this,_0x501a6d,_0x113cf0,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header',{'Sec-WebSocket-Version':_0x17f5c5(0x12f)});return;}if(!this[_0x17f5c5(0x104)](_0x501a6d)){_0x470500(_0x113cf0,0x190);return;}const _0x28d2b1=_0x501a6d[_0x17f5c5(0xe2)][_0x17f5c5(0x1f1)];let _0x5daaab=new Set();if(_0x28d2b1!==void 0x0)try{_0x5daaab=_0x517e01[_0x17f5c5(0x12d)](_0x28d2b1);}catch{_0x523fb9(this,_0x501a6d,_0x113cf0,0x190,_0x17f5c5(0x207));return;}const _0x4916cb=_0x501a6d[_0x17f5c5(0xe2)]['sec-websocket-extensions'],_0x1e0076={};if(this[_0x17f5c5(0x1af)]['perMessageDeflate']&&_0x4916cb!==void 0x0){const _0x561782=new _0x550c8e(this[_0x17f5c5(0x1af)]['perMessageDeflate'],!0x0,this[_0x17f5c5(0x1af)][_0x17f5c5(0x7b)]);try{const _0x18eff8=_0x44e295[_0x17f5c5(0x12d)](_0x4916cb);_0x18eff8[_0x550c8e['extensionName']]&&(_0x561782[_0x17f5c5(0x11d)](_0x18eff8[_0x550c8e['extensionName']]),_0x1e0076[_0x550c8e['extensionName']]=_0x561782);}catch{_0x523fb9(this,_0x501a6d,_0x113cf0,0x190,_0x17f5c5(0x1f7));return;}}if(this[_0x17f5c5(0x1af)][_0x17f5c5(0x10e)]){const _0x5b5578={'origin':_0x501a6d[_0x17f5c5(0xe2)][''+(_0x5d1b38===0x8?'sec-websocket-origin':_0x17f5c5(0x1cc))],'secure':!!(_0x501a6d[_0x17f5c5(0x101)][_0x17f5c5(0x170)]||_0x501a6d[_0x17f5c5(0x101)]['encrypted']),'req':_0x501a6d};if(this['options']['verifyClient'][_0x17f5c5(0xe6)]===0x2){this[_0x17f5c5(0x1af)][_0x17f5c5(0x10e)](_0x5b5578,(_0x8982a6,_0x25ce25,_0x508aaf,_0x434858)=>{if(!_0x8982a6)return _0x470500(_0x113cf0,_0x25ce25||0x191,_0x508aaf,_0x434858);this['completeUpgrade'](_0x1e0076,_0x5d087b,_0x5daaab,_0x501a6d,_0x113cf0,_0x18099f,_0x15e1a3);});return;}if(!this[_0x17f5c5(0x1af)][_0x17f5c5(0x10e)](_0x5b5578))return _0x470500(_0x113cf0,0x191);}this[_0x17f5c5(0x1d1)](_0x1e0076,_0x5d087b,_0x5daaab,_0x501a6d,_0x113cf0,_0x18099f,_0x15e1a3);}[_0x368464(0x1d1)](_0x284382,_0x1c2924,_0x31507c,_0x543fb5,_0x1a73c9,_0x375eea,_0x196807){const _0x25685c=_0x368464;if(!_0x1a73c9['readable']||!_0x1a73c9[_0x25685c(0x165)])return _0x1a73c9[_0x25685c(0xf1)]();if(_0x1a73c9[_0x4e4065])throw new Error(_0x25685c(0x7a));if(this[_0x25685c(0x16a)]>_0x3cea44)return _0x470500(_0x1a73c9,0x1f7);const _0x288e65=[_0x25685c(0xf8),_0x25685c(0x197),'Connection:\x20Upgrade',_0x25685c(0xac)+_0x50fc2e(_0x25685c(0x9e))[_0x25685c(0x208)](_0x1c2924+_0x3328d0)[_0x25685c(0xce)](_0x25685c(0x213))],_0x50e14d=new this['options'][(_0x25685c(0x13c))](null,void 0x0,this[_0x25685c(0x1af)]);if(_0x31507c[_0x25685c(0xf0)]){const _0xeaac51=this[_0x25685c(0x1af)][_0x25685c(0x13d)]?this[_0x25685c(0x1af)]['handleProtocols'](_0x31507c,_0x543fb5):_0x31507c[_0x25685c(0x75)]()[_0x25685c(0x1bd)]()[_0x25685c(0x13b)];_0xeaac51&&(_0x288e65[_0x25685c(0xc2)](_0x25685c(0xfe)+_0xeaac51),_0x50e14d[_0x25685c(0xcb)]=_0xeaac51);}if(_0x284382[_0x550c8e['extensionName']]){const _0xb9e571=_0x284382[_0x550c8e['extensionName']][_0x25685c(0x148)],_0x3d5d9d=_0x44e295[_0x25685c(0xa2)]({[_0x550c8e[_0x25685c(0x9a)]]:[_0xb9e571]});_0x288e65[_0x25685c(0xc2)](_0x25685c(0x210)+_0x3d5d9d),_0x50e14d[_0x25685c(0x1cf)]=_0x284382;}this[_0x25685c(0x7f)](_0x25685c(0xe2),_0x288e65,_0x543fb5),_0x1a73c9[_0x25685c(0x1c5)](_0x288e65[_0x25685c(0x11a)]('\x0d\x0a')['join']('\x0d\x0a')),_0x1a73c9[_0x25685c(0x1db)](_0x25685c(0x1bb),_0x88f1ef),_0x50e14d[_0x25685c(0xb0)](_0x1a73c9,_0x375eea,{'allowSynchronousEvents':this['options'][_0x25685c(0xe7)],'maxPayload':this[_0x25685c(0x1af)][_0x25685c(0x7b)],'skipUTF8Validation':this[_0x25685c(0x1af)][_0x25685c(0x158)]}),this['clients']&&(this[_0x25685c(0x1d2)][_0x25685c(0x14d)](_0x50e14d),_0x50e14d['on'](_0x25685c(0x143),()=>{const _0x492001=_0x25685c;this[_0x492001(0x1d2)][_0x492001(0x225)](_0x50e14d),this[_0x492001(0x1a4)]&&!this[_0x492001(0x1d2)][_0x492001(0xf0)]&&process[_0x492001(0x19a)](_0x5da36c,this);})),_0x196807(_0x50e14d,_0x543fb5);}}Te=_0x7518b6;function _0x18a016(_0x310cbf,_0x38c2bd){for(const _0x2ea14c of Object['keys'](_0x38c2bd))_0x310cbf['on'](_0x2ea14c,_0x38c2bd[_0x2ea14c]);return function(){const _0x3693c8=_0x53c6;for(const _0x451530 of Object[_0x3693c8(0x10b)](_0x38c2bd))_0x310cbf[_0x3693c8(0x1db)](_0x451530,_0x38c2bd[_0x451530]);};}function _0x5da36c(_0xa5d637){const _0x29db32=_0x368464;_0xa5d637[_0x29db32(0x16a)]=_0x2654a9,_0xa5d637[_0x29db32(0x7f)](_0x29db32(0x143));}function _0x88f1ef(){this['destroy']();}function _0x470500(_0x4bb5fa,_0xae5335,_0x5eaa1f,_0x259ee9){const _0x308007=_0x368464;_0x5eaa1f=_0x5eaa1f||_0x143835[_0x308007(0xa9)][_0xae5335],_0x259ee9={'Connection':_0x308007(0x143),'Content-Type':_0x308007(0x15e),'Content-Length':Buffer[_0x308007(0x12b)](_0x5eaa1f),..._0x259ee9},_0x4bb5fa[_0x308007(0x219)](_0x308007(0x171),_0x4bb5fa[_0x308007(0xf1)]),_0x4bb5fa[_0x308007(0x166)](_0x308007(0x1dd)+_0xae5335+'\x20'+_0x143835['STATUS_CODES'][_0xae5335]+'\x0d\x0a'+Object[_0x308007(0x10b)](_0x259ee9)[_0x308007(0x1d5)](_0x4595c7=>_0x4595c7+':\x20'+_0x259ee9[_0x4595c7])[_0x308007(0xcf)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x5eaa1f);}function _0x523fb9(_0x5d27ab,_0x166ece,_0x35f4a9,_0x40e713,_0x22ae75,_0x3d8ff5){const _0x1831f3=_0x368464;if(_0x5d27ab[_0x1831f3(0x199)](_0x1831f3(0xda))){const _0x4e55b6=new Error(_0x22ae75);Error['captureStackTrace'](_0x4e55b6,_0x523fb9),_0x5d27ab[_0x1831f3(0x7f)](_0x1831f3(0xda),_0x4e55b6,_0x35f4a9,_0x166ece);}else _0x470500(_0x35f4a9,_0x40e713,_0x22ae75,_0x3d8ff5);}return Te;}er();var tr=Object['getOwnPropertyDescriptor'],rr=(_0x1ff33d,_0x3caf33,_0x5f17a3,_0x3893a1)=>{const _0x538f13=_0x3462e3;for(var _0x71ee16=_0x3893a1>0x1?void 0x0:_0x3893a1?tr(_0x3caf33,_0x5f17a3):_0x3caf33,_0x2ae0f7=_0x1ff33d[_0x538f13(0xe6)]-0x1,_0x5f59e9;_0x2ae0f7>=0x0;_0x2ae0f7--)(_0x5f59e9=_0x1ff33d[_0x2ae0f7])&&(_0x71ee16=_0x5f59e9(_0x71ee16)||_0x71ee16);return _0x71ee16;},sr=(_0x491ef2,_0x364417)=>(_0xda8eda,_0x85cdd6)=>_0x364417(_0xda8eda,_0x85cdd6,_0x491ef2);let Ne=class extends _0xc9caea{constructor(_0x1a8c34){const _0x4d6f02=_0x3462e3;super(),this[_0x4d6f02(0x1ed)]=_0x1a8c34;}['createSocket'](_0x43308a){const _0x26f5d0=_0x3462e3;var _0x35e010;const _0x1fafc7=(_0x35e010=this[_0x26f5d0(0x1ed)][_0x26f5d0(0x214)](Be))==null?void 0x0:_0x35e010[_0x26f5d0(0x1fc)];try{const _0x3e2018=new Qt(_0x43308a,{'headers':{..._0x1fafc7}}),_0x9c7956=new _0x433190();return{'URL':_0x43308a,'close':(_0x4f3117,_0x485f54)=>{const _0x3282d5=_0x26f5d0;_0x3e2018[_0x3282d5(0x143)](_0x4f3117,_0x485f54),_0x9c7956[_0x3282d5(0xbd)]();},'send':_0x399651=>{_0x3e2018['send'](_0x399651);},'open$':new _0x54e5a6(_0x1842a7=>{const _0x4da866=_0x26f5d0,_0x5a8f85=_0x1ef360=>_0x1842a7[_0x4da866(0x1bd)](_0x1ef360);_0x3e2018[_0x4da866(0x90)](_0x4da866(0x1df),_0x5a8f85),_0x9c7956['add'](_0x54985f(()=>_0x3e2018['removeEventListener'](_0x4da866(0x1df),_0x5a8f85)));})[_0x26f5d0(0x97)](_0x407ef8()),'close$':new _0x54e5a6(_0x45af9c=>{const _0x55e2d3=_0x26f5d0,_0x43a173=_0x5be08e=>_0x45af9c[_0x55e2d3(0x1bd)](_0x5be08e);_0x3e2018[_0x55e2d3(0x90)](_0x55e2d3(0x143),_0x43a173),_0x9c7956['add'](_0x54985f(()=>_0x3e2018[_0x55e2d3(0x1ff)]('close',_0x43a173)));})[_0x26f5d0(0x97)](_0x407ef8()),'error$':new _0x54e5a6(_0x47145b=>{const _0x22304b=_0x26f5d0,_0x57ff3c=_0x4d1a19=>_0x47145b[_0x22304b(0x1bd)](_0x4d1a19);_0x3e2018[_0x22304b(0x90)](_0x22304b(0x1bb),_0x57ff3c),_0x9c7956[_0x22304b(0x14d)](_0x54985f(()=>_0x3e2018[_0x22304b(0x1ff)](_0x22304b(0x1bb),_0x57ff3c)));})[_0x26f5d0(0x97)](_0x407ef8()),'message$':new _0x54e5a6(_0x559837=>{const _0x489d26=_0x26f5d0,_0x239be6=_0x3f902b=>_0x559837[_0x489d26(0x1bd)](_0x3f902b);_0x3e2018[_0x489d26(0x90)](_0x489d26(0x17f),_0x239be6),_0x9c7956[_0x489d26(0x14d)](_0x54985f(()=>_0x3e2018[_0x489d26(0x1ff)](_0x489d26(0x17f),_0x239be6)));})[_0x26f5d0(0x97)](_0x407ef8())};}catch(_0x3f6424){return console['error'](_0x3f6424),null;}}};Ne=rr([sr(0x0,_0x37b5a5)],Ne);var ir=Object[_0x3462e3(0x1b3)],nr=Object[_0x3462e3(0x150)],or=(_0x4908b5,_0x170567,_0x46f624)=>_0x170567 in _0x4908b5?ir(_0x4908b5,_0x170567,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x46f624}):_0x4908b5[_0x170567]=_0x46f624,ar=(_0x45fea0,_0x49a7f7,_0x33d484,_0x3c035d)=>{const _0x4f0f4f=_0x3462e3;for(var _0x355a5d=_0x3c035d>0x1?void 0x0:_0x3c035d?nr(_0x49a7f7,_0x33d484):_0x49a7f7,_0x25bcfa=_0x45fea0[_0x4f0f4f(0xe6)]-0x1,_0x25cd1e;_0x25bcfa>=0x0;_0x25bcfa--)(_0x25cd1e=_0x45fea0[_0x25bcfa])&&(_0x355a5d=_0x25cd1e(_0x355a5d)||_0x355a5d);return _0x355a5d;},ke=(_0xcf9c61,_0x467295)=>(_0x51daf5,_0x491de7)=>_0x467295(_0x51daf5,_0x491de7,_0xcf9c61),lr=(_0x1158a8,_0x211564,_0x3bca3d)=>or(_0x1158a8,_0x211564+'',_0x3bca3d);let Pe=class extends _0x31b571{constructor(_0x8c2339=Ft,_0xfc181b,_0x35a2db,_0x158349){const _0x22fcb5=_0x3462e3;_0x8c2339[_0x22fcb5(0x1fc)]||_0xfc181b[_0x22fcb5(0x10a)](_0x22fcb5(0xe5)),super(),this[_0x22fcb5(0x1ed)]=_0x35a2db,this['_injector']=_0x158349,this[_0x22fcb5(0x1ed)][_0x22fcb5(0x218)](Be,_0x8c2339);}[_0x3462e3(0x184)](){const _0x1011e3=_0x3462e3;this[_0x1011e3(0x185)]();}[_0x3462e3(0x185)](){const _0x3cdf5b=_0x3462e3;_0x13480c(this[_0x3cdf5b(0x221)],[[_0x2bd6a4,{'useClass':Ne}]]);}};lr(Pe,'pluginName',_0x3462e3(0x147)),Pe=ar([_0x4fc0d6(_0x2886c9),ke(0x1,_0x1b1158),ke(0x2,_0x37b5a5),ke(0x3,_0x1c6f77(_0x462b35))],Pe);var fr=Object['getOwnPropertyDescriptor'],cr=(_0x5ed001,_0x4d232d,_0x560efc,_0x459357)=>{const _0x3517c3=_0x3462e3;for(var _0x2e4466=_0x459357>0x1?void 0x0:_0x459357?fr(_0x4d232d,_0x560efc):_0x4d232d,_0x3b05c4=_0x5ed001[_0x3517c3(0xe6)]-0x1,_0x196563;_0x3b05c4>=0x0;_0x3b05c4--)(_0x196563=_0x5ed001[_0x3b05c4])&&(_0x2e4466=_0x196563(_0x2e4466)||_0x2e4466);return _0x2e4466;},se=(_0x2a82b0,_0xab86ab)=>(_0x18a8a8,_0x26f000)=>_0xab86ab(_0x18a8a8,_0x26f000,_0x2a82b0);function _0x53c6(_0xda969e,_0x149dbc){const _0x53cd05=_0x53cd();return _0x53c6=function(_0x53c63c,_0xf855e5){_0x53c63c=_0x53c63c-0x70;let _0x39e83e=_0x53cd05[_0x53c63c];return _0x39e83e;},_0x53c6(_0xda969e,_0x149dbc);}let at=class extends _0x4f53fd{constructor(_0x5bdb7c,_0xc84e30,_0x48ebc6,_0x183082,_0x359f3d){const _0xa25aed=_0x3462e3;super(_0x5bdb7c,_0xc84e30,_0x48ebc6,_0x183082,_0x359f3d);const _0x472724=this[_0xa25aed(0x1ed)][_0xa25aed(0x214)](Be);this[_0xa25aed(0x77)][_0xa25aed(0x127)]({'interceptor':(_0x5a167f,_0x494a4f)=>{const _0x1c2270=_0xa25aed;var _0x488c05;const _0x533ce5=_0x5a167f['headers'];return(_0x488c05=_0x472724==null?void 0x0:_0x472724[_0x1c2270(0x1fc)])!=null&&_0x488c05[_0x1c2270(0x8c)]&&_0x533ce5[_0x1c2270(0x16d)](_0x1c2270(0x100),_0x472724[_0x1c2270(0x1fc)][_0x1c2270(0x8c)]),_0x494a4f(_0x5a167f);}});}async[_0x3462e3(0x1c9)](_0x2e59fe){return this['_doCreateSocket'](_0x2e59fe);}};at=cr([se(0x0,_0x1c6f77(_0x462b35)),se(0x1,_0x1c6f77(_0x582dce)),se(0x2,_0x37b5a5),se(0x3,_0x1b1158),se(0x4,_0x30ebef)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|
|
1
|
+
const _0x349af5=_0x40bb;(function(_0x215fae,_0x5787a4){const _0x3d6f60=_0x40bb,_0x466f27=_0x215fae();while(!![]){try{const _0x5a1391=parseInt(_0x3d6f60(0x1ef))/0x1+parseInt(_0x3d6f60(0x190))/0x2*(parseInt(_0x3d6f60(0x21b))/0x3)+parseInt(_0x3d6f60(0x2a6))/0x4+-parseInt(_0x3d6f60(0x194))/0x5*(-parseInt(_0x3d6f60(0x276))/0x6)+-parseInt(_0x3d6f60(0x1bf))/0x7*(-parseInt(_0x3d6f60(0x21f))/0x8)+-parseInt(_0x3d6f60(0x122))/0x9*(-parseInt(_0x3d6f60(0x1a1))/0xa)+-parseInt(_0x3d6f60(0x220))/0xb*(parseInt(_0x3d6f60(0x11d))/0xc);if(_0x5a1391===_0x5787a4)break;else _0x466f27['push'](_0x466f27['shift']());}catch(_0x79d822){_0x466f27['push'](_0x466f27['shift']());}}}(_0x2d04,0xcc383));import{UniverCollaborationClientPlugin as _0x158907,CollaborationSocketService as _0xdec34e}from'@univerjs-pro/collaboration-client';import{Disposable as _0x207033,DisposableCollection as _0x55d4db,toDisposable as _0x567657,IConfigService as _0x4b2a14,DependentOn as _0x535022,ILogService as _0x2e58fe,Inject as _0x1f0841,Injector as _0x1f3a56,Plugin as _0x17bdd7,registerDependencies as _0x3432af}from'@univerjs/core';import{ISocketService as _0x2eea2a,HTTPService as _0x2ec6d2}from'@univerjs/network';import{Observable as _0x500793,share as _0x2499ad}from'rxjs';import _0x3eb634 from'events';import _0x48ae32 from'https';import _0x2ea4e6 from'http';import _0x5f4716 from'net';import _0x8d2862 from'tls';import _0x4344cf from'crypto';import _0x4347fc from'stream';import _0x192ab0 from'url';import _0x3771f4 from'zlib';import _0x1f4db0 from'buffer';import{ISnapshotServerService as _0x336f39}from'@univerjs-pro/collaboration';const Be=_0x349af5(0x184),Ft={'customHeaders':{}};function Wt(_0x4e40a2){const _0x467d92=_0x349af5;return _0x4e40a2&&_0x4e40a2[_0x467d92(0x296)]&&Object[_0x467d92(0x1cc)][_0x467d92(0x179)][_0x467d92(0x23f)](_0x4e40a2,_0x467d92(0x23b))?_0x4e40a2[_0x467d92(0x23b)]:_0x4e40a2;}function ut(_0x48da56){const _0x5a6f9c=_0x349af5;if(Object['prototype'][_0x5a6f9c(0x179)][_0x5a6f9c(0x23f)](_0x48da56,_0x5a6f9c(0x296)))return _0x48da56;var _0xdc2d08=_0x48da56[_0x5a6f9c(0x23b)];if(typeof _0xdc2d08==_0x5a6f9c(0x13a)){var _0x434d9d=function _0x58421c(){const _0x10e333=_0x5a6f9c;var _0x357327=!0x1;try{_0x357327=this instanceof _0x58421c;}catch{}return _0x357327?Reflect['construct'](_0xdc2d08,arguments,this[_0x10e333(0x280)]):_0xdc2d08[_0x10e333(0x14c)](this,arguments);};_0x434d9d[_0x5a6f9c(0x1cc)]=_0xdc2d08['prototype'];}else _0x434d9d={};return Object['defineProperty'](_0x434d9d,'__esModule',{'value':!0x0}),Object[_0x5a6f9c(0x125)](_0x48da56)[_0x5a6f9c(0x20f)](function(_0x395454){const _0xf07939=_0x5a6f9c;var _0x5e5667=Object[_0xf07939(0x13c)](_0x48da56,_0x395454);Object[_0xf07939(0x173)](_0x434d9d,_0x395454,_0x5e5667[_0xf07939(0x1ad)]?_0x5e5667:{'enumerable':!0x0,'get':function(){return _0x48da56[_0x395454];}});}),_0x434d9d;}function _0x2d04(){const _0x398812=['readUInt16BE','listeners','477882IaDycO','writable','_threshold','keys','_extensions','_loop','_closeCode','catch','finished','\x0d\x0a\x0d\x0a','startsWith','Z_SYNC_FLUSH','pending','_max_window_bits','Unexpected\x20end\x20of\x20input','mask','host','once','writeHead','size','STATUS_CODES','verifyClient','stream','13,\x208','function','allowSynchronousEvents','getOwnPropertyDescriptor','slice','compress','getConfig','pong','_state','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','abort','onStarting','parse','href','_decompress','pathname','upgrade','kWasClean','apply','_compress','_url','digest','headers','handleProtocols','Cookie','server_no_context_takeover','wsClientError','CONNECTING','rsv1','\x22\x20subprotocol\x20is\x20duplicated','timeout','hash','Server\x20sent\x20no\x20subprotocol','invalid\x20UTF-8\x20sequence','addEventListener','HTTP/1.1\x20101\x20Switching\x20Protocols','WS_NO_BUFFER_UTIL','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','_firstFragment','flush','getMask','charCodeAt','_removeListeners','_queue','push','createDeflateRaw','handleEvent','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','nodebuffer','setSocket','server','_totalPayloadLength','WS_ERR_INVALID_OPCODE','client_no_context_takeover','_injector','WS_ERR_EXPECTED_FIN','toStringTag','defineProperty','kRun','response','createConnection','isView','dispatch','hasOwnProperty','kDone','Opening\x20handshake\x20has\x20timed\x20out','_generateMask','_originalIpc','_originalSecure','allocUnsafe','wasClean','maxPayload','_payloadLength','FIN\x20must\x20be\x20set','collaboration-client-node.config','ping','kData','removeEventListener','createError','_closeFrameReceived','getPayloadLength64','WebSocket\x20is\x20not\x20open:\x20readyState\x20','extensionName','end','consume','_registerDependencies','129358iuVtDO','Invalid\x20HTTP\x20method','drain','fragments','30LUjIQw','websocket','_writableState','sec-websocket-origin','warn','server_max_window_bits','WS_ERR_UNEXPECTED_MASK','params','emitClose','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','ws:','getBlobData','accept','70XMurzp','isPaused','clientTracking','_receiver','removeAllListeners','conclude','sec-websocket-extensions','_binaryType','_readableState','cookie','customHeaders','onerror','get','servername','sendFrame','noServer','clientMaxWindowBits','Unexpected\x20character\x20at\x20index\x20','_isServer','sec-websocket-protocol','readOnly','kMessage','shift','CLOSED','map','socket','_bufferedBytes','reset','Z_DEFAULT_WINDOWBITS','terminate','1285291spYhiY','_readyState','reason','_deflate','The\x20URL\x20contains\x20a\x20fragment\x20identifier','_protocol','socketPath','The\x20\x22','send','join','_errored','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','objectMode','prototype','completeUpgrade','split','kAborted','port','startLoop','url','The\x20URL\x27s\x20pathname\x20is\x20empty','readUInt32BE','redirect','_bufferedAmount','authorization','connect','_inflate','_read','from','cleanup','OPEN','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','values','buffer','Upgrade','Invalid\x20Upgrade\x20header','captureStackTrace','\x20(supported\x20versions:\x20','http:','hostname','_no_context_takeover','zlibDeflateOptions','pipe','enqueue','clients','concurrency','type','error','1289862RoiQAh','WS_ERR_INVALID_CLOSE_CODE','serverNoContextTakeover','_maxPayload','password','Invalid\x20WebSocket\x20frame:\x20','pluginName','next','WebSocket','_shouldEmitClose','_allowSynchronousEvents','client_max_window_bits','emit','Upgrade:\x20websocket','_buffers','_closeMessage','create','replace','_sender','entries','opcode','acceptAsServer','species','isBuffer','kListener','createInflateRaw','Maximum\x20redirects\x20exceeded','errorEmitted','destroy','length','env','open','forEach','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','write','value','Module','wss:','handleUpgrade','WS_NO_UTF_8_VALIDATE','read','protocol','invalid\x20opcode\x200','Unsupported\x20protocol\x20version:\x20','45wnxcte','_messageLength','close','Sec-WebSocket-Protocol','16kibOkp','22KOTwtQ','getPayloadLength16','string','set','getData','auth','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','listening','getInfo','decompress','total-length','sec-websocket-accept','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','includes','skipUTF8Validation','toLowerCase','_doCreateSocket','nextTick','kTarget','alloc','finish','_errorEmitted','toString','text/plain','_maskBuffer','isArray','perMessageDeflate','default','onmessage','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','isIP','call','path','Max\x20payload\x20size\x20exceeded','find','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','Connection:\x20Upgrade','pow','bufferedAmount','finishRequest','arraybuffer','_paused','writeUInt16BE','data','Origin','method','number','concat','_options','handshakeTimeout','https:','blob','code','Parameter\x20\x22','delete','bind','The\x20server\x20is\x20not\x20running','freeze','byteLength','isInteger','_closeTimer','setNoDelay','unexpected-response','dequeue','shouldHandle','_socket','origin','haveLength','invalid\x20opcode\x20','sha1','kReason','dataMessage','readable','search','RSV1\x20must\x20be\x20clear','setHeader','needDrain','listen','followRedirects','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','_masked','message','Invalid\x20Sec-WebSocket-Accept\x20header','_closeFrameSent','indexOf','generateMask','113466VYNjDh','onopen','endEmitted','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','base64','test','dispose','autoPong','normalizeParams','_originalHostOrSocketPath','constructor','_req','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','MASK\x20must\x20be\x20clear','kByteLength','CLOSING','_redirects','registerHTTPInterceptor','HTTP/1.1\x20','extensions','threshold','_fin','target','kCode','frame','unmask','address','kIsForOnEventAttribute','Invalid\x20value\x20for\x20parameter\x20\x22','_opcode','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','jobs','__esModule','buffers','_fragmented','isValidUTF8','_fragments','WS_ERR_UNEXPECTED_RSV_1','setTimeout','statusCode','binaryType','\x22\x20must\x20have\x20only\x20a\x20single\x20value','\x22:\x20','readyState','fin','Invalid\x20URL:\x20','exports','clientNoContextTakeover','2637760AvmaQl','options','listenerCount','createSocket','kError','WS_ERR_INVALID_UTF8','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','permessage-deflate','request','Sec-WebSocket-Extensions:\x20','has','_destroy','serverMaxWindowBits','_write','ws+unix:','_configService','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','destroyed','update','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','removeListener','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','_final','arrayBuffer','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','byteOffset','Sec-WebSocket-Origin','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','Invalid\x20Sec-WebSocket-Extensions\x20header','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','createServer','_mask','controlMessage','_autoPong','_skipUTF8Validation','sec-websocket-version','_server','pause','encrypted','writeUIntBE','_compressed','add','object','cork','protocolVersion','username','then','resume','defaultPort','17612292EnwLMy','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','Unknown\x20parameter\x20\x22'];_0x2d04=function(){return _0x398812;};return _0x2d04();}var te={'exports':{}},ge,Ye;function V(){const _0xec0aa2=_0x349af5;if(Ye)return ge;Ye=0x1;const _0x13f295=[_0xec0aa2(0x16a),_0xec0aa2(0x248),_0xec0aa2(0x193)],_0x4f6c50=typeof Blob<'u';return _0x4f6c50&&_0x13f295[_0xec0aa2(0x166)]('blob'),ge={'BINARY_TYPES':_0x13f295,'EMPTY_BUFFER':Buffer[_0xec0aa2(0x233)](0x0),'GUID':_0xec0aa2(0x210),'hasBlob':_0x4f6c50,'kForOnEventAttribute':Symbol(_0xec0aa2(0x291)),'kListener':Symbol(_0xec0aa2(0x207)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0xec0aa2(0x195)),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0x349af5(0x259)](Object[_0x349af5(0x173)]({'__proto__':null,'default':jt},Symbol[_0x349af5(0x172)],{'value':'Module'})),Vt=ut(Gt);var Ke;function ce(){const _0x46eb0d=_0x349af5;if(Ke)return te[_0x46eb0d(0x2a4)];Ke=0x1;const {EMPTY_BUFFER:_0x12dec3}=V(),_0x154408=Buffer[Symbol[_0x46eb0d(0x205)]];function _0x4c1676(_0x4bf334,_0x1d473d){const _0x193853=_0x46eb0d;if(_0x4bf334['length']===0x0)return _0x12dec3;if(_0x4bf334[_0x193853(0x20c)]===0x1)return _0x4bf334[0x0];const _0x1fcfe6=Buffer[_0x193853(0x17f)](_0x1d473d);let _0x3d2530=0x0;for(let _0x1e64bc=0x0;_0x1e64bc<_0x4bf334['length'];_0x1e64bc++){const _0x5b32e7=_0x4bf334[_0x1e64bc];_0x1fcfe6[_0x193853(0x223)](_0x5b32e7,_0x3d2530),_0x3d2530+=_0x5b32e7[_0x193853(0x20c)];}return _0x3d2530<_0x1d473d?new _0x154408(_0x1fcfe6[_0x193853(0x1e0)],_0x1fcfe6[_0x193853(0x2bf)],_0x3d2530):_0x1fcfe6;}function _0x1ba924(_0x207bc4,_0x5639be,_0x3594f5,_0x4e279a,_0x1b0577){for(let _0x366724=0x0;_0x366724<_0x1b0577;_0x366724++)_0x3594f5[_0x4e279a+_0x366724]=_0x207bc4[_0x366724]^_0x5639be[_0x366724&0x3];}function _0x4559c6(_0x3130bd,_0x36d855){const _0x3f6dc6=_0x46eb0d;for(let _0x2a483f=0x0;_0x2a483f<_0x3130bd[_0x3f6dc6(0x20c)];_0x2a483f++)_0x3130bd[_0x2a483f]^=_0x36d855[_0x2a483f&0x3];}function _0x4de2bb(_0x3dd537){const _0x8f374d=_0x46eb0d;return _0x3dd537[_0x8f374d(0x20c)]===_0x3dd537[_0x8f374d(0x1e0)][_0x8f374d(0x25a)]?_0x3dd537['buffer']:_0x3dd537[_0x8f374d(0x1e0)][_0x8f374d(0x13d)](_0x3dd537[_0x8f374d(0x2bf)],_0x3dd537[_0x8f374d(0x2bf)]+_0x3dd537[_0x8f374d(0x20c)]);}function _0xc10942(_0x3f13f7){const _0x36327a=_0x46eb0d;if(_0xc10942[_0x36327a(0x1b5)]=!0x0,Buffer[_0x36327a(0x206)](_0x3f13f7))return _0x3f13f7;let _0x451582;return _0x3f13f7 instanceof ArrayBuffer?_0x451582=new _0x154408(_0x3f13f7):ArrayBuffer[_0x36327a(0x177)](_0x3f13f7)?_0x451582=new _0x154408(_0x3f13f7[_0x36327a(0x1e0)],_0x3f13f7['byteOffset'],_0x3f13f7[_0x36327a(0x25a)]):(_0x451582=Buffer[_0x36327a(0x1db)](_0x3f13f7),_0xc10942[_0x36327a(0x1b5)]=!0x1),_0x451582;}if(te[_0x46eb0d(0x2a4)]={'concat':_0x4c1676,'mask':_0x1ba924,'toArrayBuffer':_0x4de2bb,'toBuffer':_0xc10942,'unmask':_0x4559c6},!process[_0x46eb0d(0x20d)][_0x46eb0d(0x15e)])try{const _0x2f7768=Vt;te['exports'][_0x46eb0d(0x131)]=function(_0x3f9ad2,_0x27605c,_0x7d8ec7,_0x51fdd5,_0x483fd8){const _0x492bfc=_0x46eb0d;_0x483fd8<0x30?_0x1ba924(_0x3f9ad2,_0x27605c,_0x7d8ec7,_0x51fdd5,_0x483fd8):_0x2f7768[_0x492bfc(0x131)](_0x3f9ad2,_0x27605c,_0x7d8ec7,_0x51fdd5,_0x483fd8);},te[_0x46eb0d(0x2a4)][_0x46eb0d(0x28f)]=function(_0x1e6b7e,_0x239dcf){const _0x54975a=_0x46eb0d;_0x1e6b7e[_0x54975a(0x20c)]<0x20?_0x4559c6(_0x1e6b7e,_0x239dcf):_0x2f7768[_0x54975a(0x28f)](_0x1e6b7e,_0x239dcf);};}catch{}return te[_0x46eb0d(0x2a4)];}function _0x40bb(_0x16b1d6,_0x48eca4){const _0x2d0434=_0x2d04();return _0x40bb=function(_0x40bbae,_0x25aa31){_0x40bbae=_0x40bbae-0x109;let _0x1eefd2=_0x2d0434[_0x40bbae];return _0x1eefd2;},_0x40bb(_0x16b1d6,_0x48eca4);}var ye,Xe;function qt(){const _0x1ab1d7=_0x349af5;if(Xe)return ye;Xe=0x1;const _0x24e1fb=Symbol(_0x1ab1d7(0x17a)),_0x549134=Symbol(_0x1ab1d7(0x174));class _0xe94943{constructor(_0x568ba5){const _0xb09543=_0x1ab1d7;this[_0x24e1fb]=()=>{const _0xcf6e3b=_0x40bb;this[_0xcf6e3b(0x12e)]--,this[_0x549134]();},this['concurrency']=_0x568ba5||0x1/0x0,this[_0xb09543(0x295)]=[],this[_0xb09543(0x12e)]=0x0;}[_0x1ab1d7(0x115)](_0xc875a9){const _0x3fad1e=_0x1ab1d7;this[_0x3fad1e(0x295)][_0x3fad1e(0x166)](_0xc875a9),this[_0x549134]();}[_0x549134](){const _0x218e41=_0x1ab1d7;if(this[_0x218e41(0x12e)]!==this[_0x218e41(0x1ec)]&&this['jobs'][_0x218e41(0x20c)]){const _0x5a89fb=this[_0x218e41(0x295)][_0x218e41(0x1b7)]();this[_0x218e41(0x12e)]++,_0x5a89fb(this[_0x24e1fb]);}}}return ye=_0xe94943,ye;}var ve,Ze;function he(){const _0x472a8e=_0x349af5;if(Ze)return ve;Ze=0x1;const _0x309a93=_0x3771f4,_0x5d0ccb=ce(),_0x3d8e35=qt(),{kStatusCode:_0x2fe09b}=V(),_0x1da13e=Buffer[Symbol[_0x472a8e(0x205)]],_0x4f71ef=Buffer[_0x472a8e(0x1db)]([0x0,0x0,0xff,0xff]),_0x4bd93d=Symbol(_0x472a8e(0x2ad)),_0x163dfe=Symbol(_0x472a8e(0x22a)),_0x56bb56=Symbol('callback'),_0x30c052=Symbol(_0x472a8e(0x297)),_0xe5e66=Symbol(_0x472a8e(0x1ee));let _0x567160;class _0x38e0e5{constructor(_0x5664ec,_0x7b42b0,_0x591018){const _0x5306fb=_0x472a8e;if(this[_0x5306fb(0x1f2)]=_0x591018|0x0,this[_0x5306fb(0x250)]=_0x5664ec||{},this[_0x5306fb(0x124)]=this[_0x5306fb(0x250)][_0x5306fb(0x28a)]!==void 0x0?this[_0x5306fb(0x250)][_0x5306fb(0x28a)]:0x400,this['_isServer']=!!_0x7b42b0,this[_0x5306fb(0x1c2)]=null,this['_inflate']=null,this[_0x5306fb(0x19b)]=null,!_0x567160){const _0x1bade9=this['_options']['concurrencyLimit']!==void 0x0?this[_0x5306fb(0x250)]['concurrencyLimit']:0xa;_0x567160=new _0x3d8e35(_0x1bade9);}}static get['extensionName'](){const _0x34fc5=_0x472a8e;return _0x34fc5(0x2ad);}['offer'](){const _0x4eeae5=_0x472a8e,_0x52a223={};return this['_options'][_0x4eeae5(0x1f1)]&&(_0x52a223[_0x4eeae5(0x153)]=!0x0),this[_0x4eeae5(0x250)][_0x4eeae5(0x2a5)]&&(_0x52a223[_0x4eeae5(0x16f)]=!0x0),this[_0x4eeae5(0x250)][_0x4eeae5(0x2b2)]&&(_0x52a223[_0x4eeae5(0x199)]=this[_0x4eeae5(0x250)][_0x4eeae5(0x2b2)]),this[_0x4eeae5(0x250)]['clientMaxWindowBits']?_0x52a223['client_max_window_bits']=this[_0x4eeae5(0x250)][_0x4eeae5(0x1b1)]:this[_0x4eeae5(0x250)][_0x4eeae5(0x1b1)]==null&&(_0x52a223[_0x4eeae5(0x1fa)]=!0x0),_0x52a223;}[_0x472a8e(0x1a0)](_0x320b1d){const _0x4e0b05=_0x472a8e;return _0x320b1d=this[_0x4e0b05(0x27e)](_0x320b1d),this[_0x4e0b05(0x19b)]=this[_0x4e0b05(0x1b3)]?this[_0x4e0b05(0x204)](_0x320b1d):this['acceptAsClient'](_0x320b1d),this[_0x4e0b05(0x19b)];}[_0x472a8e(0x1dc)](){const _0x3cf218=_0x472a8e;if(this[_0x3cf218(0x1d9)]&&(this[_0x3cf218(0x1d9)]['close'](),this[_0x3cf218(0x1d9)]=null),this[_0x3cf218(0x1c2)]){const _0x5d0b44=this['_deflate'][_0x56bb56];this[_0x3cf218(0x1c2)][_0x3cf218(0x21d)](),this[_0x3cf218(0x1c2)]=null,_0x5d0b44&&_0x5d0b44(new Error(_0x3cf218(0x282)));}}['acceptAsServer'](_0x29498a){const _0xb3fe86=_0x472a8e,_0x5c1a5c=this[_0xb3fe86(0x250)],_0x3b07e1=_0x29498a[_0xb3fe86(0x242)](_0x22d1ac=>!(_0x5c1a5c[_0xb3fe86(0x1f1)]===!0x1&&_0x22d1ac['server_no_context_takeover']||_0x22d1ac[_0xb3fe86(0x199)]&&(_0x5c1a5c[_0xb3fe86(0x2b2)]===!0x1||typeof _0x5c1a5c[_0xb3fe86(0x2b2)]==_0xb3fe86(0x24e)&&_0x5c1a5c[_0xb3fe86(0x2b2)]>_0x22d1ac['server_max_window_bits'])||typeof _0x5c1a5c['clientMaxWindowBits']==_0xb3fe86(0x24e)&&!_0x22d1ac['client_max_window_bits']));if(!_0x3b07e1)throw new Error(_0xb3fe86(0x2ac));return _0x5c1a5c[_0xb3fe86(0x1f1)]&&(_0x3b07e1[_0xb3fe86(0x153)]=!0x0),_0x5c1a5c[_0xb3fe86(0x2a5)]&&(_0x3b07e1['client_no_context_takeover']=!0x0),typeof _0x5c1a5c[_0xb3fe86(0x2b2)]==_0xb3fe86(0x24e)&&(_0x3b07e1[_0xb3fe86(0x199)]=_0x5c1a5c[_0xb3fe86(0x2b2)]),typeof _0x5c1a5c[_0xb3fe86(0x1b1)]==_0xb3fe86(0x24e)?_0x3b07e1[_0xb3fe86(0x1fa)]=_0x5c1a5c['clientMaxWindowBits']:(_0x3b07e1[_0xb3fe86(0x1fa)]===!0x0||_0x5c1a5c[_0xb3fe86(0x1b1)]===!0x1)&&delete _0x3b07e1[_0xb3fe86(0x1fa)],_0x3b07e1;}['acceptAsClient'](_0x2059be){const _0x561f19=_0x472a8e,_0x449d1a=_0x2059be[0x0];if(this[_0x561f19(0x250)][_0x561f19(0x2a5)]===!0x1&&_0x449d1a['client_no_context_takeover'])throw new Error(_0x561f19(0x226));if(!_0x449d1a['client_max_window_bits'])typeof this[_0x561f19(0x250)][_0x561f19(0x1b1)]==_0x561f19(0x24e)&&(_0x449d1a[_0x561f19(0x1fa)]=this[_0x561f19(0x250)][_0x561f19(0x1b1)]);else{if(this[_0x561f19(0x250)]['clientMaxWindowBits']===!0x1||typeof this[_0x561f19(0x250)]['clientMaxWindowBits']==_0x561f19(0x24e)&&_0x449d1a[_0x561f19(0x1fa)]>this[_0x561f19(0x250)][_0x561f19(0x1b1)])throw new Error(_0x561f19(0x294));}return _0x449d1a;}['normalizeParams'](_0x448d20){const _0x449802=_0x472a8e;return _0x448d20[_0x449802(0x20f)](_0xb0b1cb=>{const _0x12e8b3=_0x449802;Object[_0x12e8b3(0x125)](_0xb0b1cb)['forEach'](_0x2d4e59=>{const _0x483710=_0x12e8b3;let _0x225a34=_0xb0b1cb[_0x2d4e59];if(_0x225a34[_0x483710(0x20c)]>0x1)throw new Error(_0x483710(0x255)+_0x2d4e59+_0x483710(0x29f));if(_0x225a34=_0x225a34[0x0],_0x2d4e59===_0x483710(0x1fa)){if(_0x225a34!==!0x0){const _0x37a83d=+_0x225a34;if(!Number[_0x483710(0x25b)](_0x37a83d)||_0x37a83d<0x8||_0x37a83d>0xf)throw new TypeError(_0x483710(0x292)+_0x2d4e59+_0x483710(0x2a0)+_0x225a34);_0x225a34=_0x37a83d;}else{if(!this['_isServer'])throw new TypeError(_0x483710(0x292)+_0x2d4e59+_0x483710(0x2a0)+_0x225a34);}}else{if(_0x2d4e59===_0x483710(0x199)){const _0x26396a=+_0x225a34;if(!Number['isInteger'](_0x26396a)||_0x26396a<0x8||_0x26396a>0xf)throw new TypeError(_0x483710(0x292)+_0x2d4e59+_0x483710(0x2a0)+_0x225a34);_0x225a34=_0x26396a;}else{if(_0x2d4e59===_0x483710(0x16f)||_0x2d4e59===_0x483710(0x153)){if(_0x225a34!==!0x0)throw new TypeError(_0x483710(0x292)+_0x2d4e59+_0x483710(0x2a0)+_0x225a34);}else throw new Error(_0x483710(0x11f)+_0x2d4e59+'\x22');}}_0xb0b1cb[_0x2d4e59]=_0x225a34;});}),_0x448d20;}[_0x472a8e(0x229)](_0x1f290e,_0x5b4ccb,_0x956fd8){const _0x4794b3=_0x472a8e;_0x567160[_0x4794b3(0x115)](_0x5aaaa1=>{const _0x105a15=_0x4794b3;this[_0x105a15(0x148)](_0x1f290e,_0x5b4ccb,(_0x544375,_0x5b22de)=>{_0x5aaaa1(),_0x956fd8(_0x544375,_0x5b22de);});});}[_0x472a8e(0x13e)](_0x2aebea,_0x3895a7,_0x40cef2){const _0x19bd83=_0x472a8e;_0x567160[_0x19bd83(0x115)](_0x5021f5=>{this['_compress'](_0x2aebea,_0x3895a7,(_0x2ac9c4,_0x1383b3)=>{_0x5021f5(),_0x40cef2(_0x2ac9c4,_0x1383b3);});});}[_0x472a8e(0x148)](_0x38d1e6,_0x46de2d,_0x3dc76e){const _0x386919=_0x472a8e,_0x1b1a3c=this[_0x386919(0x1b3)]?'client':_0x386919(0x16c);if(!this[_0x386919(0x1d9)]){const _0x39841e=_0x1b1a3c+_0x386919(0x12f),_0x3484f7=typeof this[_0x386919(0x19b)][_0x39841e]!='number'?_0x309a93[_0x386919(0x1bd)]:this[_0x386919(0x19b)][_0x39841e];this[_0x386919(0x1d9)]=_0x309a93[_0x386919(0x208)]({...this['_options']['zlibInflateOptions'],'windowBits':_0x3484f7}),this[_0x386919(0x1d9)][_0x4bd93d]=this,this[_0x386919(0x1d9)][_0x163dfe]=0x0,this[_0x386919(0x1d9)][_0x30c052]=[],this[_0x386919(0x1d9)]['on'](_0x386919(0x1ee),_0x2649a1),this[_0x386919(0x1d9)]['on'](_0x386919(0x24b),_0x1a1fc8);}this['_inflate'][_0x56bb56]=_0x3dc76e,this[_0x386919(0x1d9)][_0x386919(0x211)](_0x38d1e6),_0x46de2d&&this['_inflate']['write'](_0x4f71ef),this['_inflate'][_0x386919(0x161)](()=>{const _0x485e50=_0x386919,_0x3f2a5d=this[_0x485e50(0x1d9)][_0xe5e66];if(_0x3f2a5d){this['_inflate'][_0x485e50(0x21d)](),this[_0x485e50(0x1d9)]=null,_0x3dc76e(_0x3f2a5d);return;}const _0x111465=_0x5d0ccb['concat'](this[_0x485e50(0x1d9)][_0x30c052],this[_0x485e50(0x1d9)][_0x163dfe]);this[_0x485e50(0x1d9)][_0x485e50(0x1a9)][_0x485e50(0x278)]?(this[_0x485e50(0x1d9)][_0x485e50(0x21d)](),this['_inflate']=null):(this[_0x485e50(0x1d9)][_0x163dfe]=0x0,this[_0x485e50(0x1d9)][_0x30c052]=[],_0x46de2d&&this[_0x485e50(0x19b)][_0x1b1a3c+_0x485e50(0x1e7)]&&this[_0x485e50(0x1d9)][_0x485e50(0x1bc)]()),_0x3dc76e(null,_0x111465);});}[_0x472a8e(0x14d)](_0x588f4d,_0xb40a05,_0x489d56){const _0x1a6728=_0x472a8e,_0x9e89ed=this[_0x1a6728(0x1b3)]?'server':'client';if(!this[_0x1a6728(0x1c2)]){const _0x2596dd=_0x9e89ed+_0x1a6728(0x12f),_0x299564=typeof this[_0x1a6728(0x19b)][_0x2596dd]!=_0x1a6728(0x24e)?_0x309a93[_0x1a6728(0x1bd)]:this[_0x1a6728(0x19b)][_0x2596dd];this['_deflate']=_0x309a93[_0x1a6728(0x167)]({...this['_options'][_0x1a6728(0x1e8)],'windowBits':_0x299564}),this['_deflate'][_0x163dfe]=0x0,this['_deflate'][_0x30c052]=[],this[_0x1a6728(0x1c2)]['on']('data',_0x453ff2);}this[_0x1a6728(0x1c2)][_0x56bb56]=_0x489d56,this['_deflate'][_0x1a6728(0x211)](_0x588f4d),this[_0x1a6728(0x1c2)]['flush'](_0x309a93[_0x1a6728(0x12d)],()=>{const _0x6acc5e=_0x1a6728;if(!this['_deflate'])return;let _0x59cf0d=_0x5d0ccb[_0x6acc5e(0x24f)](this[_0x6acc5e(0x1c2)][_0x30c052],this[_0x6acc5e(0x1c2)][_0x163dfe]);_0xb40a05&&(_0x59cf0d=new _0x1da13e(_0x59cf0d[_0x6acc5e(0x1e0)],_0x59cf0d[_0x6acc5e(0x2bf)],_0x59cf0d[_0x6acc5e(0x20c)]-0x4)),this[_0x6acc5e(0x1c2)][_0x56bb56]=null,this[_0x6acc5e(0x1c2)][_0x163dfe]=0x0,this['_deflate'][_0x30c052]=[],_0xb40a05&&this[_0x6acc5e(0x19b)][_0x9e89ed+'_no_context_takeover']&&this[_0x6acc5e(0x1c2)][_0x6acc5e(0x1bc)](),_0x489d56(null,_0x59cf0d);});}}ve=_0x38e0e5;function _0x453ff2(_0x59e450){const _0x53ca59=_0x472a8e;this[_0x30c052][_0x53ca59(0x166)](_0x59e450),this[_0x163dfe]+=_0x59e450[_0x53ca59(0x20c)];}function _0x1a1fc8(_0x3fc8ae){const _0x5dbfbd=_0x472a8e;if(this[_0x163dfe]+=_0x3fc8ae[_0x5dbfbd(0x20c)],this[_0x4bd93d][_0x5dbfbd(0x1f2)]<0x1||this[_0x163dfe]<=this[_0x4bd93d][_0x5dbfbd(0x1f2)]){this[_0x30c052][_0x5dbfbd(0x166)](_0x3fc8ae);return;}this[_0xe5e66]=new RangeError(_0x5dbfbd(0x241)),this[_0xe5e66][_0x5dbfbd(0x254)]=_0x5dbfbd(0x279),this[_0xe5e66][_0x2fe09b]=0x3f1,this[_0x5dbfbd(0x2ba)](_0x5dbfbd(0x24b),_0x1a1fc8),this[_0x5dbfbd(0x1bc)]();}function _0x2649a1(_0x4ecd0b){const _0x166a6c=_0x472a8e;if(this[_0x4bd93d][_0x166a6c(0x1d9)]=null,this[_0xe5e66]){this[_0x56bb56](this[_0xe5e66]);return;}_0x4ecd0b[_0x2fe09b]=0x3ef,this[_0x56bb56](_0x4ecd0b);}return ve;}var re={'exports':{}};const Ht={},zt=Object['freeze'](Object['defineProperty']({'__proto__':null,'default':Ht},Symbol[_0x349af5(0x172)],{'value':_0x349af5(0x213)})),Yt=ut(zt);var Qe;function ne(){const _0x529c84=_0x349af5;if(Qe)return re[_0x529c84(0x2a4)];Qe=0x1;const {isUtf8:_0x2dfab2}=_0x1f4db0,{hasBlob:_0x33429f}=V(),_0x53f51a=[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 _0xf2afa1(_0x422b57){return _0x422b57>=0x3e8&&_0x422b57<=0x3f6&&_0x422b57!==0x3ec&&_0x422b57!==0x3ed&&_0x422b57!==0x3ee||_0x422b57>=0xbb8&&_0x422b57<=0x1387;}function _0x45a559(_0x32aa51){const _0x3f59d1=_0x529c84,_0x919068=_0x32aa51[_0x3f59d1(0x20c)];let _0xa29b9e=0x0;for(;_0xa29b9e<_0x919068;)if((_0x32aa51[_0xa29b9e]&0x80)===0x0)_0xa29b9e++;else{if((_0x32aa51[_0xa29b9e]&0xe0)===0xc0){if(_0xa29b9e+0x1===_0x919068||(_0x32aa51[_0xa29b9e+0x1]&0xc0)!==0x80||(_0x32aa51[_0xa29b9e]&0xfe)===0xc0)return!0x1;_0xa29b9e+=0x2;}else{if((_0x32aa51[_0xa29b9e]&0xf0)===0xe0){if(_0xa29b9e+0x2>=_0x919068||(_0x32aa51[_0xa29b9e+0x1]&0xc0)!==0x80||(_0x32aa51[_0xa29b9e+0x2]&0xc0)!==0x80||_0x32aa51[_0xa29b9e]===0xe0&&(_0x32aa51[_0xa29b9e+0x1]&0xe0)===0x80||_0x32aa51[_0xa29b9e]===0xed&&(_0x32aa51[_0xa29b9e+0x1]&0xe0)===0xa0)return!0x1;_0xa29b9e+=0x3;}else{if((_0x32aa51[_0xa29b9e]&0xf8)===0xf0){if(_0xa29b9e+0x3>=_0x919068||(_0x32aa51[_0xa29b9e+0x1]&0xc0)!==0x80||(_0x32aa51[_0xa29b9e+0x2]&0xc0)!==0x80||(_0x32aa51[_0xa29b9e+0x3]&0xc0)!==0x80||_0x32aa51[_0xa29b9e]===0xf0&&(_0x32aa51[_0xa29b9e+0x1]&0xf0)===0x80||_0x32aa51[_0xa29b9e]===0xf4&&_0x32aa51[_0xa29b9e+0x1]>0x8f||_0x32aa51[_0xa29b9e]>0xf4)return!0x1;_0xa29b9e+=0x4;}else return!0x1;}}}return!0x0;}function _0x310407(_0x222d90){const _0x336890=_0x529c84;return _0x33429f&&typeof _0x222d90==_0x336890(0x116)&&typeof _0x222d90[_0x336890(0x2bd)]=='function'&&typeof _0x222d90['type']==_0x336890(0x222)&&typeof _0x222d90[_0x336890(0x138)]==_0x336890(0x13a)&&(_0x222d90[Symbol[_0x336890(0x172)]]==='Blob'||_0x222d90[Symbol[_0x336890(0x172)]]==='File');}if(re[_0x529c84(0x2a4)]={'isBlob':_0x310407,'isValidStatusCode':_0xf2afa1,'isValidUTF8':_0x45a559,'tokenChars':_0x53f51a},_0x2dfab2)re[_0x529c84(0x2a4)][_0x529c84(0x299)]=function(_0x15e522){const _0x230da6=_0x529c84;return _0x15e522[_0x230da6(0x20c)]<0x18?_0x45a559(_0x15e522):_0x2dfab2(_0x15e522);};else{if(!process[_0x529c84(0x20d)][_0x529c84(0x216)])try{const _0x4349ba=Yt;re[_0x529c84(0x2a4)]['isValidUTF8']=function(_0x327ad1){return _0x327ad1['length']<0x20?_0x45a559(_0x327ad1):_0x4349ba(_0x327ad1);};}catch{}}return re[_0x529c84(0x2a4)];}var Se,Je;function dt(){const _0x2c52e5=_0x349af5;if(Je)return Se;Je=0x1;const {Writable:_0x1c736d}=_0x4347fc,_0xd4491c=he(),{BINARY_TYPES:_0x287cda,EMPTY_BUFFER:_0x45511b,kStatusCode:_0x5967e2,kWebSocket:_0x506312}=V(),{concat:_0x3c36ed,toArrayBuffer:_0x2218ff,unmask:_0x37d4ec}=ce(),{isValidStatusCode:_0x2cfac0,isValidUTF8:_0x2a1e1a}=ne(),_0x1dc996=Buffer[Symbol[_0x2c52e5(0x205)]],_0x563c19=0x0,_0x4e28ac=0x1,_0x133a43=0x2,_0x1723ce=0x3,_0x326ff1=0x4,_0x4c0042=0x5,_0x7ddd2a=0x6;class _0x221910 extends _0x1c736d{constructor(_0x2a10c8={}){const _0x3f181f=_0x2c52e5;super(),this[_0x3f181f(0x1f9)]=_0x2a10c8[_0x3f181f(0x13b)]!==void 0x0?_0x2a10c8[_0x3f181f(0x13b)]:!0x0,this['_binaryType']=_0x2a10c8[_0x3f181f(0x29e)]||_0x287cda[0x0],this['_extensions']=_0x2a10c8[_0x3f181f(0x289)]||{},this[_0x3f181f(0x1b3)]=!!_0x2a10c8['isServer'],this[_0x3f181f(0x1f2)]=_0x2a10c8[_0x3f181f(0x181)]|0x0,this['_skipUTF8Validation']=!!_0x2a10c8['skipUTF8Validation'],this[_0x506312]=void 0x0,this[_0x3f181f(0x1bb)]=0x0,this[_0x3f181f(0x1fd)]=[],this[_0x3f181f(0x114)]=!0x1,this['_payloadLength']=0x0,this['_mask']=void 0x0,this['_fragmented']=0x0,this[_0x3f181f(0x270)]=!0x1,this[_0x3f181f(0x28b)]=!0x1,this[_0x3f181f(0x293)]=0x0,this[_0x3f181f(0x16d)]=0x0,this['_messageLength']=0x0,this[_0x3f181f(0x29a)]=[],this[_0x3f181f(0x1c9)]=!0x1,this[_0x3f181f(0x127)]=!0x1,this[_0x3f181f(0x141)]=_0x563c19;}[_0x2c52e5(0x2b3)](_0x28eef5,_0xd10b74,_0x38deec){const _0x580316=_0x2c52e5;if(this[_0x580316(0x293)]===0x8&&this[_0x580316(0x141)]==_0x563c19)return _0x38deec();this[_0x580316(0x1bb)]+=_0x28eef5[_0x580316(0x20c)],this[_0x580316(0x1fd)][_0x580316(0x166)](_0x28eef5),this['startLoop'](_0x38deec);}[_0x2c52e5(0x18e)](_0x3ff00f){const _0x53e17f=_0x2c52e5;if(this['_bufferedBytes']-=_0x3ff00f,_0x3ff00f===this[_0x53e17f(0x1fd)][0x0][_0x53e17f(0x20c)])return this[_0x53e17f(0x1fd)][_0x53e17f(0x1b7)]();if(_0x3ff00f<this[_0x53e17f(0x1fd)][0x0][_0x53e17f(0x20c)]){const _0x2719e7=this[_0x53e17f(0x1fd)][0x0];return this[_0x53e17f(0x1fd)][0x0]=new _0x1dc996(_0x2719e7[_0x53e17f(0x1e0)],_0x2719e7[_0x53e17f(0x2bf)]+_0x3ff00f,_0x2719e7[_0x53e17f(0x20c)]-_0x3ff00f),new _0x1dc996(_0x2719e7[_0x53e17f(0x1e0)],_0x2719e7[_0x53e17f(0x2bf)],_0x3ff00f);}const _0x216e79=Buffer[_0x53e17f(0x17f)](_0x3ff00f);do{const _0x402c7f=this[_0x53e17f(0x1fd)][0x0],_0x34b3a2=_0x216e79[_0x53e17f(0x20c)]-_0x3ff00f;_0x3ff00f>=_0x402c7f[_0x53e17f(0x20c)]?_0x216e79[_0x53e17f(0x223)](this[_0x53e17f(0x1fd)][_0x53e17f(0x1b7)](),_0x34b3a2):(_0x216e79[_0x53e17f(0x223)](new Uint8Array(_0x402c7f['buffer'],_0x402c7f[_0x53e17f(0x2bf)],_0x3ff00f),_0x34b3a2),this[_0x53e17f(0x1fd)][0x0]=new _0x1dc996(_0x402c7f[_0x53e17f(0x1e0)],_0x402c7f[_0x53e17f(0x2bf)]+_0x3ff00f,_0x402c7f['length']-_0x3ff00f)),_0x3ff00f-=_0x402c7f[_0x53e17f(0x20c)];}while(_0x3ff00f>0x0);return _0x216e79;}[_0x2c52e5(0x1d1)](_0x7609fb){const _0x2d3cc7=_0x2c52e5;this['_loop']=!0x0;do switch(this[_0x2d3cc7(0x141)]){case _0x563c19:this[_0x2d3cc7(0x228)](_0x7609fb);break;case _0x4e28ac:this[_0x2d3cc7(0x221)](_0x7609fb);break;case _0x133a43:this[_0x2d3cc7(0x18a)](_0x7609fb);break;case _0x1723ce:this[_0x2d3cc7(0x162)]();break;case _0x326ff1:this[_0x2d3cc7(0x224)](_0x7609fb);break;case _0x4c0042:case _0x7ddd2a:this['_loop']=!0x1;return;}while(this[_0x2d3cc7(0x127)]);this[_0x2d3cc7(0x1c9)]||_0x7609fb();}[_0x2c52e5(0x228)](_0x3416f4){const _0x536836=_0x2c52e5;if(this[_0x536836(0x1bb)]<0x2){this[_0x536836(0x127)]=!0x1;return;}const _0x8f238c=this['consume'](0x2);if((_0x8f238c[0x0]&0x30)!==0x0){const _0x2cec7e=this[_0x536836(0x188)](RangeError,_0x536836(0x2c1),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x3416f4(_0x2cec7e);return;}const _0x18a6d6=(_0x8f238c[0x0]&0x40)===0x40;if(_0x18a6d6&&!this[_0x536836(0x126)][_0xd4491c[_0x536836(0x18c)]]){const _0x38fce6=this['createError'](RangeError,_0x536836(0x26a),!0x0,0x3ea,_0x536836(0x29b));_0x3416f4(_0x38fce6);return;}if(this[_0x536836(0x28b)]=(_0x8f238c[0x0]&0x80)===0x80,this[_0x536836(0x293)]=_0x8f238c[0x0]&0xf,this[_0x536836(0x182)]=_0x8f238c[0x1]&0x7f,this['_opcode']===0x0){if(_0x18a6d6){const _0x49738f=this[_0x536836(0x188)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x536836(0x29b));_0x3416f4(_0x49738f);return;}if(!this['_fragmented']){const _0x2d5e1c=this[_0x536836(0x188)](RangeError,_0x536836(0x219),!0x0,0x3ea,_0x536836(0x16e));_0x3416f4(_0x2d5e1c);return;}this[_0x536836(0x293)]=this[_0x536836(0x298)];}else{if(this[_0x536836(0x293)]===0x1||this['_opcode']===0x2){if(this['_fragmented']){const _0x5df66b=this[_0x536836(0x188)](RangeError,_0x536836(0x264)+this[_0x536836(0x293)],!0x0,0x3ea,_0x536836(0x16e));_0x3416f4(_0x5df66b);return;}this[_0x536836(0x114)]=_0x18a6d6;}else{if(this[_0x536836(0x293)]>0x7&&this[_0x536836(0x293)]<0xb){if(!this[_0x536836(0x28b)]){const _0x2f8915=this[_0x536836(0x188)](RangeError,_0x536836(0x183),!0x0,0x3ea,_0x536836(0x171));_0x3416f4(_0x2f8915);return;}if(_0x18a6d6){const _0x1049fc=this[_0x536836(0x188)](RangeError,_0x536836(0x26a),!0x0,0x3ea,_0x536836(0x29b));_0x3416f4(_0x1049fc);return;}if(this['_payloadLength']>0x7d||this[_0x536836(0x293)]===0x8&&this['_payloadLength']===0x1){const _0x57dbac=this[_0x536836(0x188)](RangeError,'invalid\x20payload\x20length\x20'+this[_0x536836(0x182)],!0x0,0x3ea,_0x536836(0x23d));_0x3416f4(_0x57dbac);return;}}else{const _0x94bf51=this[_0x536836(0x188)](RangeError,'invalid\x20opcode\x20'+this[_0x536836(0x293)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x3416f4(_0x94bf51);return;}}}if(!this[_0x536836(0x28b)]&&!this[_0x536836(0x298)]&&(this['_fragmented']=this[_0x536836(0x293)]),this['_masked']=(_0x8f238c[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x536836(0x270)]){const _0x329e95=this['createError'](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x3416f4(_0x329e95);return;}}else{if(this[_0x536836(0x270)]){const _0x1fe131=this[_0x536836(0x188)](RangeError,_0x536836(0x283),!0x0,0x3ea,_0x536836(0x19a));_0x3416f4(_0x1fe131);return;}}this['_payloadLength']===0x7e?this[_0x536836(0x141)]=_0x4e28ac:this[_0x536836(0x182)]===0x7f?this['_state']=_0x133a43:this[_0x536836(0x263)](_0x3416f4);}[_0x2c52e5(0x221)](_0x66e177){const _0x3ebc8b=_0x2c52e5;if(this[_0x3ebc8b(0x1bb)]<0x2){this[_0x3ebc8b(0x127)]=!0x1;return;}this[_0x3ebc8b(0x182)]=this[_0x3ebc8b(0x18e)](0x2)['readUInt16BE'](0x0),this[_0x3ebc8b(0x263)](_0x66e177);}[_0x2c52e5(0x18a)](_0x1100b8){const _0x11e3df=_0x2c52e5;if(this['_bufferedBytes']<0x8){this['_loop']=!0x1;return;}const _0x131908=this[_0x11e3df(0x18e)](0x8),_0x140274=_0x131908[_0x11e3df(0x1d4)](0x0);if(_0x140274>Math['pow'](0x2,0x15)-0x1){const _0xcbc222=this[_0x11e3df(0x188)](RangeError,_0x11e3df(0x22c),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x1100b8(_0xcbc222);return;}this[_0x11e3df(0x182)]=_0x140274*Math[_0x11e3df(0x245)](0x2,0x20)+_0x131908[_0x11e3df(0x1d4)](0x4),this[_0x11e3df(0x263)](_0x1100b8);}[_0x2c52e5(0x263)](_0x59db2f){const _0x2e6aae=_0x2c52e5;if(this[_0x2e6aae(0x182)]&&this[_0x2e6aae(0x293)]<0x8&&(this[_0x2e6aae(0x16d)]+=this[_0x2e6aae(0x182)],this[_0x2e6aae(0x16d)]>this[_0x2e6aae(0x1f2)]&&this[_0x2e6aae(0x1f2)]>0x0)){const _0x2e204a=this['createError'](RangeError,_0x2e6aae(0x241),!0x1,0x3f1,_0x2e6aae(0x279));_0x59db2f(_0x2e204a);return;}this[_0x2e6aae(0x270)]?this[_0x2e6aae(0x141)]=_0x1723ce:this[_0x2e6aae(0x141)]=_0x326ff1;}['getMask'](){const _0x1f6484=_0x2c52e5;if(this[_0x1f6484(0x1bb)]<0x4){this[_0x1f6484(0x127)]=!0x1;return;}this['_mask']=this[_0x1f6484(0x18e)](0x4),this[_0x1f6484(0x141)]=_0x326ff1;}['getData'](_0x53ea54){const _0x5afd09=_0x2c52e5;let _0x4e1df5=_0x45511b;if(this[_0x5afd09(0x182)]){if(this['_bufferedBytes']<this[_0x5afd09(0x182)]){this['_loop']=!0x1;return;}_0x4e1df5=this[_0x5afd09(0x18e)](this['_payloadLength']),this[_0x5afd09(0x270)]&&(this[_0x5afd09(0x10b)][0x0]|this['_mask'][0x1]|this[_0x5afd09(0x10b)][0x2]|this['_mask'][0x3])!==0x0&&_0x37d4ec(_0x4e1df5,this[_0x5afd09(0x10b)]);}if(this[_0x5afd09(0x293)]>0x7){this[_0x5afd09(0x10c)](_0x4e1df5,_0x53ea54);return;}if(this['_compressed']){this['_state']=_0x4c0042,this[_0x5afd09(0x229)](_0x4e1df5,_0x53ea54);return;}_0x4e1df5[_0x5afd09(0x20c)]&&(this[_0x5afd09(0x21c)]=this[_0x5afd09(0x16d)],this[_0x5afd09(0x29a)][_0x5afd09(0x166)](_0x4e1df5)),this['dataMessage'](_0x53ea54);}[_0x2c52e5(0x229)](_0x240bd2,_0x21fce1){const _0x1c4087=_0x2c52e5;this[_0x1c4087(0x126)][_0xd4491c[_0x1c4087(0x18c)]]['decompress'](_0x240bd2,this['_fin'],(_0x164b0b,_0x18021b)=>{const _0x474cd0=_0x1c4087;if(_0x164b0b)return _0x21fce1(_0x164b0b);if(_0x18021b[_0x474cd0(0x20c)]){if(this['_messageLength']+=_0x18021b[_0x474cd0(0x20c)],this['_messageLength']>this[_0x474cd0(0x1f2)]&&this['_maxPayload']>0x0){const _0x2b429f=this[_0x474cd0(0x188)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x21fce1(_0x2b429f);return;}this[_0x474cd0(0x29a)][_0x474cd0(0x166)](_0x18021b);}this[_0x474cd0(0x267)](_0x21fce1),this[_0x474cd0(0x141)]===_0x563c19&&this['startLoop'](_0x21fce1);});}['dataMessage'](_0x2f853e){const _0x352469=_0x2c52e5;if(!this['_fin']){this['_state']=_0x563c19;return;}const _0x37348d=this['_messageLength'],_0x50bdc0=this[_0x352469(0x29a)];if(this[_0x352469(0x16d)]=0x0,this['_messageLength']=0x0,this['_fragmented']=0x0,this[_0x352469(0x29a)]=[],this[_0x352469(0x293)]===0x2){let _0x2d82dc;this[_0x352469(0x1a8)]==='nodebuffer'?_0x2d82dc=_0x3c36ed(_0x50bdc0,_0x37348d):this['_binaryType']===_0x352469(0x248)?_0x2d82dc=_0x2218ff(_0x3c36ed(_0x50bdc0,_0x37348d)):this['_binaryType']===_0x352469(0x253)?_0x2d82dc=new Blob(_0x50bdc0):_0x2d82dc=_0x50bdc0,this['_allowSynchronousEvents']?(this['emit'](_0x352469(0x271),_0x2d82dc,!0x0),this[_0x352469(0x141)]=_0x563c19):(this[_0x352469(0x141)]=_0x7ddd2a,setImmediate(()=>{const _0x3e571b=_0x352469;this[_0x3e571b(0x1fb)]('message',_0x2d82dc,!0x0),this[_0x3e571b(0x141)]=_0x563c19,this['startLoop'](_0x2f853e);}));}else{const _0x323201=_0x3c36ed(_0x50bdc0,_0x37348d);if(!this[_0x352469(0x10e)]&&!_0x2a1e1a(_0x323201)){const _0x238866=this[_0x352469(0x188)](Error,_0x352469(0x15b),!0x0,0x3ef,_0x352469(0x2ab));_0x2f853e(_0x238866);return;}this['_state']===_0x4c0042||this['_allowSynchronousEvents']?(this[_0x352469(0x1fb)](_0x352469(0x271),_0x323201,!0x1),this[_0x352469(0x141)]=_0x563c19):(this[_0x352469(0x141)]=_0x7ddd2a,setImmediate(()=>{const _0x4e9ad3=_0x352469;this[_0x4e9ad3(0x1fb)]('message',_0x323201,!0x1),this[_0x4e9ad3(0x141)]=_0x563c19,this['startLoop'](_0x2f853e);}));}}['controlMessage'](_0x3ecad5,_0x4a5d72){const _0x47d3bb=_0x2c52e5;if(this['_opcode']===0x8){if(_0x3ecad5[_0x47d3bb(0x20c)]===0x0)this[_0x47d3bb(0x127)]=!0x1,this[_0x47d3bb(0x1fb)]('conclude',0x3ed,_0x45511b),this[_0x47d3bb(0x18d)]();else{const _0x470215=_0x3ecad5[_0x47d3bb(0x120)](0x0);if(!_0x2cfac0(_0x470215)){const _0x3aa8af=this[_0x47d3bb(0x188)](RangeError,'invalid\x20status\x20code\x20'+_0x470215,!0x0,0x3ea,_0x47d3bb(0x1f0));_0x4a5d72(_0x3aa8af);return;}const _0x15616e=new _0x1dc996(_0x3ecad5['buffer'],_0x3ecad5[_0x47d3bb(0x2bf)]+0x2,_0x3ecad5[_0x47d3bb(0x20c)]-0x2);if(!this['_skipUTF8Validation']&&!_0x2a1e1a(_0x15616e)){const _0x27d615=this[_0x47d3bb(0x188)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x4a5d72(_0x27d615);return;}this[_0x47d3bb(0x127)]=!0x1,this[_0x47d3bb(0x1fb)](_0x47d3bb(0x1a6),_0x470215,_0x15616e),this[_0x47d3bb(0x18d)]();}this[_0x47d3bb(0x141)]=_0x563c19;return;}this[_0x47d3bb(0x1f9)]?(this[_0x47d3bb(0x1fb)](this['_opcode']===0x9?_0x47d3bb(0x185):_0x47d3bb(0x140),_0x3ecad5),this[_0x47d3bb(0x141)]=_0x563c19):(this['_state']=_0x7ddd2a,setImmediate(()=>{const _0x17c7c1=_0x47d3bb;this[_0x17c7c1(0x1fb)](this[_0x17c7c1(0x293)]===0x9?_0x17c7c1(0x185):_0x17c7c1(0x140),_0x3ecad5),this[_0x17c7c1(0x141)]=_0x563c19,this[_0x17c7c1(0x1d1)](_0x4a5d72);}));}['createError'](_0x54ec4a,_0x19f526,_0x2fb13f,_0x2b3f85,_0x2b7e41){const _0x2f8838=_0x2c52e5;this['_loop']=!0x1,this['_errored']=!0x0;const _0x278249=new _0x54ec4a(_0x2fb13f?_0x2f8838(0x1f4)+_0x19f526:_0x19f526);return Error[_0x2f8838(0x1e3)](_0x278249,this[_0x2f8838(0x188)]),_0x278249[_0x2f8838(0x254)]=_0x2b7e41,_0x278249[_0x5967e2]=_0x2b3f85,_0x278249;}}return Se=_0x221910,Se;}var Ee,et;function _t(){const _0x10b1d0=_0x349af5;if(et)return Ee;et=0x1;const {Duplex:_0x2770d2}=_0x4347fc,{randomFillSync:_0x221ab9}=_0x4344cf,_0x3c5b72=he(),{EMPTY_BUFFER:_0x8a16fc,kWebSocket:_0x3e8c40,NOOP:_0x145e89}=V(),{isBlob:_0xe2b85e,isValidStatusCode:_0x427b1f}=ne(),{mask:_0x32ed98,toBuffer:_0x43e169}=ce(),_0x3f3834=Symbol(_0x10b1d0(0x284)),_0xb8d06=Buffer[_0x10b1d0(0x233)](0x4),_0x135e22=0x8*0x400;let _0x2f2dfb,_0x2115d8=_0x135e22;const _0xf978e1=0x0,_0x44837a=0x1,_0x45dc2c=0x2;class _0x8f45e5{constructor(_0x17a53e,_0x2d7e22,_0x13edad){const _0x26b392=_0x10b1d0;this['_extensions']=_0x2d7e22||{},_0x13edad&&(this[_0x26b392(0x17c)]=_0x13edad,this['_maskBuffer']=Buffer[_0x26b392(0x233)](0x4)),this[_0x26b392(0x261)]=_0x17a53e,this['_firstFragment']=!0x0,this[_0x26b392(0x14d)]=!0x1,this[_0x26b392(0x1bb)]=0x0,this[_0x26b392(0x165)]=[],this[_0x26b392(0x141)]=_0xf978e1,this[_0x26b392(0x1ac)]=_0x145e89,this[_0x3e8c40]=void 0x0;}static[_0x10b1d0(0x28e)](_0x3864f6,_0x282402){const _0x34080d=_0x10b1d0;let _0x284890,_0x4daabc=!0x1,_0x1e8902=0x2,_0x2e37e6=!0x1;_0x282402[_0x34080d(0x131)]&&(_0x284890=_0x282402['maskBuffer']||_0xb8d06,_0x282402[_0x34080d(0x275)]?_0x282402[_0x34080d(0x275)](_0x284890):(_0x2115d8===_0x135e22&&(_0x2f2dfb===void 0x0&&(_0x2f2dfb=Buffer[_0x34080d(0x233)](_0x135e22)),_0x221ab9(_0x2f2dfb,0x0,_0x135e22),_0x2115d8=0x0),_0x284890[0x0]=_0x2f2dfb[_0x2115d8++],_0x284890[0x1]=_0x2f2dfb[_0x2115d8++],_0x284890[0x2]=_0x2f2dfb[_0x2115d8++],_0x284890[0x3]=_0x2f2dfb[_0x2115d8++]),_0x2e37e6=(_0x284890[0x0]|_0x284890[0x1]|_0x284890[0x2]|_0x284890[0x3])===0x0,_0x1e8902=0x6);let _0x170c45;typeof _0x3864f6=='string'?(!_0x282402[_0x34080d(0x131)]||_0x2e37e6)&&_0x282402[_0x3f3834]!==void 0x0?_0x170c45=_0x282402[_0x3f3834]:(_0x3864f6=Buffer[_0x34080d(0x1db)](_0x3864f6),_0x170c45=_0x3864f6[_0x34080d(0x20c)]):(_0x170c45=_0x3864f6[_0x34080d(0x20c)],_0x4daabc=_0x282402[_0x34080d(0x131)]&&_0x282402[_0x34080d(0x1b5)]&&!_0x2e37e6);let _0x1c804b=_0x170c45;_0x170c45>=0x10000?(_0x1e8902+=0x8,_0x1c804b=0x7f):_0x170c45>0x7d&&(_0x1e8902+=0x2,_0x1c804b=0x7e);const _0x608e58=Buffer[_0x34080d(0x17f)](_0x4daabc?_0x170c45+_0x1e8902:_0x1e8902);return _0x608e58[0x0]=_0x282402['fin']?_0x282402[_0x34080d(0x203)]|0x80:_0x282402[_0x34080d(0x203)],_0x282402[_0x34080d(0x156)]&&(_0x608e58[0x0]|=0x40),_0x608e58[0x1]=_0x1c804b,_0x1c804b===0x7e?_0x608e58[_0x34080d(0x24a)](_0x170c45,0x2):_0x1c804b===0x7f&&(_0x608e58[0x2]=_0x608e58[0x3]=0x0,_0x608e58[_0x34080d(0x113)](_0x170c45,0x4,0x6)),_0x282402['mask']?(_0x608e58[0x1]|=0x80,_0x608e58[_0x1e8902-0x4]=_0x284890[0x0],_0x608e58[_0x1e8902-0x3]=_0x284890[0x1],_0x608e58[_0x1e8902-0x2]=_0x284890[0x2],_0x608e58[_0x1e8902-0x1]=_0x284890[0x3],_0x2e37e6?[_0x608e58,_0x3864f6]:_0x4daabc?(_0x32ed98(_0x3864f6,_0x284890,_0x608e58,_0x1e8902,_0x170c45),[_0x608e58]):(_0x32ed98(_0x3864f6,_0x284890,_0x3864f6,0x0,_0x170c45),[_0x608e58,_0x3864f6])):[_0x608e58,_0x3864f6];}['close'](_0x209a16,_0x5cfa35,_0x3f8a7a,_0x212f8d){const _0x1492ca=_0x10b1d0;let _0x4dc029;if(_0x209a16===void 0x0)_0x4dc029=_0x8a16fc;else{if(typeof _0x209a16!='number'||!_0x427b1f(_0x209a16))throw new TypeError(_0x1492ca(0x169));if(_0x5cfa35===void 0x0||!_0x5cfa35[_0x1492ca(0x20c)])_0x4dc029=Buffer['allocUnsafe'](0x2),_0x4dc029['writeUInt16BE'](_0x209a16,0x0);else{const _0x5f4736=Buffer[_0x1492ca(0x25a)](_0x5cfa35);if(_0x5f4736>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x4dc029=Buffer[_0x1492ca(0x17f)](0x2+_0x5f4736),_0x4dc029[_0x1492ca(0x24a)](_0x209a16,0x0),typeof _0x5cfa35==_0x1492ca(0x222)?_0x4dc029[_0x1492ca(0x211)](_0x5cfa35,0x2):_0x4dc029[_0x1492ca(0x223)](_0x5cfa35,0x2);}}const _0x3bb0c6={[_0x3f3834]:_0x4dc029[_0x1492ca(0x20c)],'fin':!0x0,'generateMask':this[_0x1492ca(0x17c)],'mask':_0x3f8a7a,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0xf978e1?this['enqueue']([this[_0x1492ca(0x178)],_0x4dc029,!0x1,_0x3bb0c6,_0x212f8d]):this[_0x1492ca(0x1af)](_0x8f45e5['frame'](_0x4dc029,_0x3bb0c6),_0x212f8d);}['ping'](_0x4b0c8e,_0x4e7716,_0x19b556){const _0x2e8c2f=_0x10b1d0;let _0x2b4a1f,_0x5c4c87;if(typeof _0x4b0c8e==_0x2e8c2f(0x222)?(_0x2b4a1f=Buffer[_0x2e8c2f(0x25a)](_0x4b0c8e),_0x5c4c87=!0x1):_0xe2b85e(_0x4b0c8e)?(_0x2b4a1f=_0x4b0c8e['size'],_0x5c4c87=!0x1):(_0x4b0c8e=_0x43e169(_0x4b0c8e),_0x2b4a1f=_0x4b0c8e[_0x2e8c2f(0x20c)],_0x5c4c87=_0x43e169[_0x2e8c2f(0x1b5)]),_0x2b4a1f>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x32d06c={[_0x3f3834]:_0x2b4a1f,'fin':!0x0,'generateMask':this[_0x2e8c2f(0x17c)],'mask':_0x4e7716,'maskBuffer':this[_0x2e8c2f(0x238)],'opcode':0x9,'readOnly':_0x5c4c87,'rsv1':!0x1};_0xe2b85e(_0x4b0c8e)?this[_0x2e8c2f(0x141)]!==_0xf978e1?this[_0x2e8c2f(0x1ea)]([this[_0x2e8c2f(0x19f)],_0x4b0c8e,!0x1,_0x32d06c,_0x19b556]):this['getBlobData'](_0x4b0c8e,!0x1,_0x32d06c,_0x19b556):this[_0x2e8c2f(0x141)]!==_0xf978e1?this[_0x2e8c2f(0x1ea)]([this[_0x2e8c2f(0x178)],_0x4b0c8e,!0x1,_0x32d06c,_0x19b556]):this[_0x2e8c2f(0x1af)](_0x8f45e5[_0x2e8c2f(0x28e)](_0x4b0c8e,_0x32d06c),_0x19b556);}[_0x10b1d0(0x140)](_0x966b13,_0x17ccb0,_0x568bb9){const _0x1fd4f0=_0x10b1d0;let _0x34e728,_0x50dcd5;if(typeof _0x966b13=='string'?(_0x34e728=Buffer[_0x1fd4f0(0x25a)](_0x966b13),_0x50dcd5=!0x1):_0xe2b85e(_0x966b13)?(_0x34e728=_0x966b13[_0x1fd4f0(0x135)],_0x50dcd5=!0x1):(_0x966b13=_0x43e169(_0x966b13),_0x34e728=_0x966b13[_0x1fd4f0(0x20c)],_0x50dcd5=_0x43e169['readOnly']),_0x34e728>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0xa65d4={[_0x3f3834]:_0x34e728,'fin':!0x0,'generateMask':this[_0x1fd4f0(0x17c)],'mask':_0x17ccb0,'maskBuffer':this[_0x1fd4f0(0x238)],'opcode':0xa,'readOnly':_0x50dcd5,'rsv1':!0x1};_0xe2b85e(_0x966b13)?this['_state']!==_0xf978e1?this[_0x1fd4f0(0x1ea)]([this[_0x1fd4f0(0x19f)],_0x966b13,!0x1,_0xa65d4,_0x568bb9]):this[_0x1fd4f0(0x19f)](_0x966b13,!0x1,_0xa65d4,_0x568bb9):this['_state']!==_0xf978e1?this[_0x1fd4f0(0x1ea)]([this[_0x1fd4f0(0x178)],_0x966b13,!0x1,_0xa65d4,_0x568bb9]):this['sendFrame'](_0x8f45e5[_0x1fd4f0(0x28e)](_0x966b13,_0xa65d4),_0x568bb9);}['send'](_0x2ff57d,_0x406fbe,_0x10a447){const _0x6c57ee=_0x10b1d0,_0x3f47ed=this[_0x6c57ee(0x126)][_0x3c5b72['extensionName']];let _0x4eff0e=_0x406fbe['binary']?0x2:0x1,_0x4de8a9=_0x406fbe[_0x6c57ee(0x13e)],_0x36ce56,_0x387664;typeof _0x2ff57d==_0x6c57ee(0x222)?(_0x36ce56=Buffer['byteLength'](_0x2ff57d),_0x387664=!0x1):_0xe2b85e(_0x2ff57d)?(_0x36ce56=_0x2ff57d[_0x6c57ee(0x135)],_0x387664=!0x1):(_0x2ff57d=_0x43e169(_0x2ff57d),_0x36ce56=_0x2ff57d[_0x6c57ee(0x20c)],_0x387664=_0x43e169[_0x6c57ee(0x1b5)]),this[_0x6c57ee(0x160)]?(this[_0x6c57ee(0x160)]=!0x1,_0x4de8a9&&_0x3f47ed&&_0x3f47ed[_0x6c57ee(0x19b)][_0x3f47ed['_isServer']?_0x6c57ee(0x153):'client_no_context_takeover']&&(_0x4de8a9=_0x36ce56>=_0x3f47ed['_threshold']),this[_0x6c57ee(0x14d)]=_0x4de8a9):(_0x4de8a9=!0x1,_0x4eff0e=0x0),_0x406fbe[_0x6c57ee(0x2a2)]&&(this[_0x6c57ee(0x160)]=!0x0);const _0x292f25={[_0x3f3834]:_0x36ce56,'fin':_0x406fbe['fin'],'generateMask':this['_generateMask'],'mask':_0x406fbe['mask'],'maskBuffer':this[_0x6c57ee(0x238)],'opcode':_0x4eff0e,'readOnly':_0x387664,'rsv1':_0x4de8a9};_0xe2b85e(_0x2ff57d)?this[_0x6c57ee(0x141)]!==_0xf978e1?this[_0x6c57ee(0x1ea)]([this[_0x6c57ee(0x19f)],_0x2ff57d,this[_0x6c57ee(0x14d)],_0x292f25,_0x10a447]):this[_0x6c57ee(0x19f)](_0x2ff57d,this[_0x6c57ee(0x14d)],_0x292f25,_0x10a447):this[_0x6c57ee(0x141)]!==_0xf978e1?this[_0x6c57ee(0x1ea)]([this[_0x6c57ee(0x178)],_0x2ff57d,this[_0x6c57ee(0x14d)],_0x292f25,_0x10a447]):this[_0x6c57ee(0x178)](_0x2ff57d,this['_compress'],_0x292f25,_0x10a447);}[_0x10b1d0(0x19f)](_0x415d9b,_0x10f07e,_0x1ceb1e,_0x4856c7){const _0x2b9949=_0x10b1d0;this[_0x2b9949(0x1bb)]+=_0x1ceb1e[_0x3f3834],this['_state']=_0x45dc2c,_0x415d9b['arrayBuffer']()[_0x2b9949(0x11a)](_0x1a2d4c=>{const _0x6606dd=_0x2b9949;if(this['_socket'][_0x6606dd(0x2b7)]){const _0xb52ccd=new Error(_0x6606dd(0x11e));process[_0x6606dd(0x231)](_0x1d24a1,this,_0xb52ccd,_0x4856c7);return;}this[_0x6606dd(0x1bb)]-=_0x1ceb1e[_0x3f3834];const _0x4827d8=_0x43e169(_0x1a2d4c);_0x10f07e?this[_0x6606dd(0x178)](_0x4827d8,_0x10f07e,_0x1ceb1e,_0x4856c7):(this['_state']=_0xf978e1,this['sendFrame'](_0x8f45e5[_0x6606dd(0x28e)](_0x4827d8,_0x1ceb1e),_0x4856c7),this[_0x6606dd(0x25f)]());})[_0x2b9949(0x129)](_0x80dca2=>{const _0x5e6092=_0x2b9949;process[_0x5e6092(0x231)](_0x270980,this,_0x80dca2,_0x4856c7);});}['dispatch'](_0x55f9bf,_0x1d2a52,_0x4b4a1,_0x4859d3){const _0x3810c3=_0x10b1d0;if(!_0x1d2a52){this[_0x3810c3(0x1af)](_0x8f45e5[_0x3810c3(0x28e)](_0x55f9bf,_0x4b4a1),_0x4859d3);return;}const _0x2173fe=this[_0x3810c3(0x126)][_0x3c5b72[_0x3810c3(0x18c)]];this[_0x3810c3(0x1bb)]+=_0x4b4a1[_0x3f3834],this['_state']=_0x44837a,_0x2173fe[_0x3810c3(0x13e)](_0x55f9bf,_0x4b4a1[_0x3810c3(0x2a2)],(_0x2287f1,_0x3a6309)=>{const _0x256960=_0x3810c3;if(this[_0x256960(0x261)][_0x256960(0x2b7)]){const _0x5b33ec=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x1d24a1(this,_0x5b33ec,_0x4859d3);return;}this[_0x256960(0x1bb)]-=_0x4b4a1[_0x3f3834],this[_0x256960(0x141)]=_0xf978e1,_0x4b4a1[_0x256960(0x1b5)]=!0x1,this['sendFrame'](_0x8f45e5[_0x256960(0x28e)](_0x3a6309,_0x4b4a1),_0x4859d3),this[_0x256960(0x25f)]();});}['dequeue'](){const _0x1b1ef1=_0x10b1d0;for(;this['_state']===_0xf978e1&&this[_0x1b1ef1(0x165)]['length'];){const _0x3a1103=this['_queue'][_0x1b1ef1(0x1b7)]();this['_bufferedBytes']-=_0x3a1103[0x3][_0x3f3834],Reflect[_0x1b1ef1(0x14c)](_0x3a1103[0x0],this,_0x3a1103['slice'](0x1));}}['enqueue'](_0x31d3d1){const _0x53ec55=_0x10b1d0;this['_bufferedBytes']+=_0x31d3d1[0x3][_0x3f3834],this[_0x53ec55(0x165)][_0x53ec55(0x166)](_0x31d3d1);}[_0x10b1d0(0x1af)](_0x30bebc,_0x231a78){const _0x1b8719=_0x10b1d0;_0x30bebc['length']===0x2?(this['_socket'][_0x1b8719(0x117)](),this[_0x1b8719(0x261)][_0x1b8719(0x211)](_0x30bebc[0x0]),this[_0x1b8719(0x261)][_0x1b8719(0x211)](_0x30bebc[0x1],_0x231a78),this['_socket']['uncork']()):this[_0x1b8719(0x261)][_0x1b8719(0x211)](_0x30bebc[0x0],_0x231a78);}}Ee=_0x8f45e5;function _0x1d24a1(_0x2bb8d7,_0x3463d4,_0x143004){const _0x1a0af2=_0x10b1d0;typeof _0x143004==_0x1a0af2(0x13a)&&_0x143004(_0x3463d4);for(let _0x40c8f5=0x0;_0x40c8f5<_0x2bb8d7[_0x1a0af2(0x165)]['length'];_0x40c8f5++){const _0x85a202=_0x2bb8d7[_0x1a0af2(0x165)][_0x40c8f5],_0x3485f0=_0x85a202[_0x85a202['length']-0x1];typeof _0x3485f0==_0x1a0af2(0x13a)&&_0x3485f0(_0x3463d4);}}function _0x270980(_0x4837c4,_0x11056d,_0x5c2dc2){const _0x38ee25=_0x10b1d0;_0x1d24a1(_0x4837c4,_0x11056d,_0x5c2dc2),_0x4837c4[_0x38ee25(0x1ac)](_0x11056d);}return Ee;}var xe,tt;function Kt(){const _0x472165=_0x349af5;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x2b0a07,kListener:_0x49f77d}=V(),_0x456277=Symbol(_0x472165(0x28d)),_0x3aa17d=Symbol(_0x472165(0x186)),_0x1a0eac=Symbol(_0x472165(0x2aa)),_0x42d7b3=Symbol(_0x472165(0x1b6)),_0x4a21c3=Symbol(_0x472165(0x266)),_0x18dd29=Symbol(_0x472165(0x232)),_0xa499b0=Symbol('kType'),_0x17eb3e=Symbol(_0x472165(0x14b));class _0x2857e8{constructor(_0xf530a1){this[_0x18dd29]=null,this[_0xa499b0]=_0xf530a1;}get[_0x472165(0x28c)](){return this[_0x18dd29];}get['type'](){return this[_0xa499b0];}}Object['defineProperty'](_0x2857e8['prototype'],'target',{'enumerable':!0x0}),Object[_0x472165(0x173)](_0x2857e8['prototype'],_0x472165(0x1ed),{'enumerable':!0x0});class _0x2c2d77 extends _0x2857e8{constructor(_0xdaacef,_0x2baf02={}){const _0x6d25f1=_0x472165;super(_0xdaacef),this[_0x456277]=_0x2baf02[_0x6d25f1(0x254)]===void 0x0?0x0:_0x2baf02[_0x6d25f1(0x254)],this[_0x4a21c3]=_0x2baf02['reason']===void 0x0?'':_0x2baf02['reason'],this[_0x17eb3e]=_0x2baf02[_0x6d25f1(0x180)]===void 0x0?!0x1:_0x2baf02['wasClean'];}get[_0x472165(0x254)](){return this[_0x456277];}get[_0x472165(0x1c1)](){return this[_0x4a21c3];}get[_0x472165(0x180)](){return this[_0x17eb3e];}}Object[_0x472165(0x173)](_0x2c2d77['prototype'],'code',{'enumerable':!0x0}),Object['defineProperty'](_0x2c2d77[_0x472165(0x1cc)],_0x472165(0x1c1),{'enumerable':!0x0}),Object[_0x472165(0x173)](_0x2c2d77[_0x472165(0x1cc)],_0x472165(0x180),{'enumerable':!0x0});class _0x49fccd extends _0x2857e8{constructor(_0x4a9a98,_0x475feb={}){const _0x416c8f=_0x472165;super(_0x4a9a98),this[_0x1a0eac]=_0x475feb['error']===void 0x0?null:_0x475feb['error'],this[_0x42d7b3]=_0x475feb[_0x416c8f(0x271)]===void 0x0?'':_0x475feb[_0x416c8f(0x271)];}get[_0x472165(0x1ee)](){return this[_0x1a0eac];}get[_0x472165(0x271)](){return this[_0x42d7b3];}}Object['defineProperty'](_0x49fccd[_0x472165(0x1cc)],'error',{'enumerable':!0x0}),Object[_0x472165(0x173)](_0x49fccd[_0x472165(0x1cc)],_0x472165(0x271),{'enumerable':!0x0});class _0xae9e06 extends _0x2857e8{constructor(_0x35af92,_0x43289e={}){const _0x2552f1=_0x472165;super(_0x35af92),this[_0x3aa17d]=_0x43289e['data']===void 0x0?null:_0x43289e[_0x2552f1(0x24b)];}get[_0x472165(0x24b)](){return this[_0x3aa17d];}}Object[_0x472165(0x173)](_0xae9e06[_0x472165(0x1cc)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x2c2d77,'ErrorEvent':_0x49fccd,'Event':_0x2857e8,'EventTarget':{'addEventListener'(_0x438ef9,_0x5f4769,_0xcd7bc8={}){const _0x15482c=_0x472165;for(const _0x10a9a7 of this[_0x15482c(0x121)](_0x438ef9))if(!_0xcd7bc8[_0x2b0a07]&&_0x10a9a7[_0x49f77d]===_0x5f4769&&!_0x10a9a7[_0x2b0a07])return;let _0x3a1c7b;if(_0x438ef9==='message')_0x3a1c7b=function(_0x3084f5,_0x127425){const _0x445407=_0x15482c,_0x40e609=new _0xae9e06(_0x445407(0x271),{'data':_0x127425?_0x3084f5:_0x3084f5[_0x445407(0x236)]()});_0x40e609[_0x18dd29]=this,_0x301ce8(_0x5f4769,this,_0x40e609);};else{if(_0x438ef9==='close')_0x3a1c7b=function(_0x34bf9a,_0x5b5327){const _0x4e89a8=_0x15482c,_0x42a278=new _0x2c2d77('close',{'code':_0x34bf9a,'reason':_0x5b5327[_0x4e89a8(0x236)](),'wasClean':this['_closeFrameReceived']&&this[_0x4e89a8(0x273)]});_0x42a278[_0x18dd29]=this,_0x301ce8(_0x5f4769,this,_0x42a278);};else{if(_0x438ef9==='error')_0x3a1c7b=function(_0x166a67){const _0x153ca3=_0x15482c,_0x3f2ab1=new _0x49fccd(_0x153ca3(0x1ee),{'error':_0x166a67,'message':_0x166a67[_0x153ca3(0x271)]});_0x3f2ab1[_0x18dd29]=this,_0x301ce8(_0x5f4769,this,_0x3f2ab1);};else{if(_0x438ef9===_0x15482c(0x20e))_0x3a1c7b=function(){const _0x533a80=_0x15482c,_0x21164e=new _0x2857e8(_0x533a80(0x20e));_0x21164e[_0x18dd29]=this,_0x301ce8(_0x5f4769,this,_0x21164e);};else return;}}}_0x3a1c7b[_0x2b0a07]=!!_0xcd7bc8[_0x2b0a07],_0x3a1c7b[_0x49f77d]=_0x5f4769,_0xcd7bc8['once']?this[_0x15482c(0x133)](_0x438ef9,_0x3a1c7b):this['on'](_0x438ef9,_0x3a1c7b);},'removeEventListener'(_0x9591f8,_0x2ed117){const _0x164229=_0x472165;for(const _0x1933c3 of this[_0x164229(0x121)](_0x9591f8))if(_0x1933c3[_0x49f77d]===_0x2ed117&&!_0x1933c3[_0x2b0a07]){this[_0x164229(0x2ba)](_0x9591f8,_0x1933c3);break;}}},'MessageEvent':_0xae9e06};function _0x301ce8(_0x2f314e,_0x39eeda,_0x533747){const _0xebc883=_0x472165;typeof _0x2f314e==_0xebc883(0x116)&&_0x2f314e[_0xebc883(0x168)]?_0x2f314e['handleEvent'][_0xebc883(0x23f)](_0x2f314e,_0x533747):_0x2f314e[_0xebc883(0x23f)](_0x39eeda,_0x533747);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x1f9d9d}=ne();function _0x5bd482(_0x416b0e,_0x5cc4a6,_0x4dd3fc){_0x416b0e[_0x5cc4a6]===void 0x0?_0x416b0e[_0x5cc4a6]=[_0x4dd3fc]:_0x416b0e[_0x5cc4a6]['push'](_0x4dd3fc);}function _0xae0df3(_0x568a37){const _0x188226=_0x40bb,_0x1cfab1=Object[_0x188226(0x1ff)](null);let _0x193e23=Object[_0x188226(0x1ff)](null),_0x14f5bb=!0x1,_0x423665=!0x1,_0x3eda53=!0x1,_0x2ca3a8,_0x1820c7,_0x5914cd=-0x1,_0x5b83be=-0x1,_0x1356a4=-0x1,_0xe6bbf2=0x0;for(;_0xe6bbf2<_0x568a37['length'];_0xe6bbf2++)if(_0x5b83be=_0x568a37[_0x188226(0x163)](_0xe6bbf2),_0x2ca3a8===void 0x0){if(_0x1356a4===-0x1&&_0x1f9d9d[_0x5b83be]===0x1)_0x5914cd===-0x1&&(_0x5914cd=_0xe6bbf2);else{if(_0xe6bbf2!==0x0&&(_0x5b83be===0x20||_0x5b83be===0x9))_0x1356a4===-0x1&&_0x5914cd!==-0x1&&(_0x1356a4=_0xe6bbf2);else{if(_0x5b83be===0x3b||_0x5b83be===0x2c){if(_0x5914cd===-0x1)throw new SyntaxError(_0x188226(0x1b2)+_0xe6bbf2);_0x1356a4===-0x1&&(_0x1356a4=_0xe6bbf2);const _0x2a4ecb=_0x568a37[_0x188226(0x13d)](_0x5914cd,_0x1356a4);_0x5b83be===0x2c?(_0x5bd482(_0x1cfab1,_0x2a4ecb,_0x193e23),_0x193e23=Object['create'](null)):_0x2ca3a8=_0x2a4ecb,_0x5914cd=_0x1356a4=-0x1;}else throw new SyntaxError(_0x188226(0x1b2)+_0xe6bbf2);}}}else{if(_0x1820c7===void 0x0){if(_0x1356a4===-0x1&&_0x1f9d9d[_0x5b83be]===0x1)_0x5914cd===-0x1&&(_0x5914cd=_0xe6bbf2);else{if(_0x5b83be===0x20||_0x5b83be===0x9)_0x1356a4===-0x1&&_0x5914cd!==-0x1&&(_0x1356a4=_0xe6bbf2);else{if(_0x5b83be===0x3b||_0x5b83be===0x2c){if(_0x5914cd===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xe6bbf2);_0x1356a4===-0x1&&(_0x1356a4=_0xe6bbf2),_0x5bd482(_0x193e23,_0x568a37[_0x188226(0x13d)](_0x5914cd,_0x1356a4),!0x0),_0x5b83be===0x2c&&(_0x5bd482(_0x1cfab1,_0x2ca3a8,_0x193e23),_0x193e23=Object[_0x188226(0x1ff)](null),_0x2ca3a8=void 0x0),_0x5914cd=_0x1356a4=-0x1;}else{if(_0x5b83be===0x3d&&_0x5914cd!==-0x1&&_0x1356a4===-0x1)_0x1820c7=_0x568a37[_0x188226(0x13d)](_0x5914cd,_0xe6bbf2),_0x5914cd=_0x1356a4=-0x1;else throw new SyntaxError(_0x188226(0x1b2)+_0xe6bbf2);}}}}else{if(_0x423665){if(_0x1f9d9d[_0x5b83be]!==0x1)throw new SyntaxError(_0x188226(0x1b2)+_0xe6bbf2);_0x5914cd===-0x1?_0x5914cd=_0xe6bbf2:_0x14f5bb||(_0x14f5bb=!0x0),_0x423665=!0x1;}else{if(_0x3eda53){if(_0x1f9d9d[_0x5b83be]===0x1)_0x5914cd===-0x1&&(_0x5914cd=_0xe6bbf2);else{if(_0x5b83be===0x22&&_0x5914cd!==-0x1)_0x3eda53=!0x1,_0x1356a4=_0xe6bbf2;else{if(_0x5b83be===0x5c)_0x423665=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xe6bbf2);}}}else{if(_0x5b83be===0x22&&_0x568a37[_0x188226(0x163)](_0xe6bbf2-0x1)===0x3d)_0x3eda53=!0x0;else{if(_0x1356a4===-0x1&&_0x1f9d9d[_0x5b83be]===0x1)_0x5914cd===-0x1&&(_0x5914cd=_0xe6bbf2);else{if(_0x5914cd!==-0x1&&(_0x5b83be===0x20||_0x5b83be===0x9))_0x1356a4===-0x1&&(_0x1356a4=_0xe6bbf2);else{if(_0x5b83be===0x3b||_0x5b83be===0x2c){if(_0x5914cd===-0x1)throw new SyntaxError(_0x188226(0x1b2)+_0xe6bbf2);_0x1356a4===-0x1&&(_0x1356a4=_0xe6bbf2);let _0x2cdd37=_0x568a37[_0x188226(0x13d)](_0x5914cd,_0x1356a4);_0x14f5bb&&(_0x2cdd37=_0x2cdd37[_0x188226(0x200)](/\\/g,''),_0x14f5bb=!0x1),_0x5bd482(_0x193e23,_0x1820c7,_0x2cdd37),_0x5b83be===0x2c&&(_0x5bd482(_0x1cfab1,_0x2ca3a8,_0x193e23),_0x193e23=Object[_0x188226(0x1ff)](null),_0x2ca3a8=void 0x0),_0x1820c7=void 0x0,_0x5914cd=_0x1356a4=-0x1;}else throw new SyntaxError(_0x188226(0x1b2)+_0xe6bbf2);}}}}}}}if(_0x5914cd===-0x1||_0x3eda53||_0x5b83be===0x20||_0x5b83be===0x9)throw new SyntaxError(_0x188226(0x130));_0x1356a4===-0x1&&(_0x1356a4=_0xe6bbf2);const _0x3314a4=_0x568a37[_0x188226(0x13d)](_0x5914cd,_0x1356a4);return _0x2ca3a8===void 0x0?_0x5bd482(_0x1cfab1,_0x3314a4,_0x193e23):(_0x1820c7===void 0x0?_0x5bd482(_0x193e23,_0x3314a4,!0x0):_0x14f5bb?_0x5bd482(_0x193e23,_0x1820c7,_0x3314a4[_0x188226(0x200)](/\\/g,'')):_0x5bd482(_0x193e23,_0x1820c7,_0x3314a4),_0x5bd482(_0x1cfab1,_0x2ca3a8,_0x193e23)),_0x1cfab1;}function _0x2e2892(_0x245c9b){const _0x3c439c=_0x40bb;return Object[_0x3c439c(0x125)](_0x245c9b)['map'](_0x1f4ebf=>{const _0x5ce829=_0x3c439c;let _0x45e522=_0x245c9b[_0x1f4ebf];return Array[_0x5ce829(0x239)](_0x45e522)||(_0x45e522=[_0x45e522]),_0x45e522[_0x5ce829(0x1b9)](_0x52cb1a=>[_0x1f4ebf][_0x5ce829(0x24f)](Object[_0x5ce829(0x125)](_0x52cb1a)[_0x5ce829(0x1b9)](_0x329e9d=>{const _0x5d67b4=_0x5ce829;let _0x20e410=_0x52cb1a[_0x329e9d];return Array['isArray'](_0x20e410)||(_0x20e410=[_0x20e410]),_0x20e410[_0x5d67b4(0x1b9)](_0x3bce0a=>_0x3bce0a===!0x0?_0x329e9d:_0x329e9d+'='+_0x3bce0a)[_0x5d67b4(0x1c8)](';\x20');}))['join'](';\x20'))[_0x5ce829(0x1c8)](',\x20');})[_0x3c439c(0x1c8)](',\x20');}return be={'format':_0x2e2892,'parse':_0xae0df3},be;}var we,st;function Ie(){const _0x52074b=_0x349af5;if(st)return we;st=0x1;const _0x2669f1=_0x3eb634,_0x406898=_0x48ae32,_0x507273=_0x2ea4e6,_0x586007=_0x5f4716,_0x3eefb9=_0x8d2862,{randomBytes:_0x38a287,createHash:_0x35fcf3}=_0x4344cf,{Duplex:_0x222dc8,Readable:_0x4bb0b9}=_0x4347fc,{URL:_0x33e38c}=_0x192ab0,_0x358e60=he(),_0x4ef3fc=dt(),_0x1f19f0=_t(),{isBlob:_0x44f6a1}=ne(),{BINARY_TYPES:_0xc83c37,EMPTY_BUFFER:_0x155a28,GUID:_0x3b3102,kForOnEventAttribute:_0x1a91d0,kListener:_0x122f00,kStatusCode:_0x28238b,kWebSocket:_0x3f8f8f,NOOP:_0x433a0f}=V(),{EventTarget:{addEventListener:_0x36cf93,removeEventListener:_0x120f37}}=Kt(),{format:_0x47e39b,parse:_0xf7b8a3}=pt(),{toBuffer:_0x499ea8}=ce(),_0x141c5d=0x1e*0x3e8,_0x18f84f=Symbol(_0x52074b(0x1cf)),_0x40422d=[0x8,0xd],_0x5c2dfb=['CONNECTING',_0x52074b(0x1dd),'CLOSING','CLOSED'],_0x235ce8=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x421edf extends _0x2669f1{constructor(_0x511e58,_0x186b95,_0x1c1d2e){const _0x4965fa=_0x52074b;super(),this[_0x4965fa(0x1a8)]=_0xc83c37[0x0],this[_0x4965fa(0x128)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x4965fa(0x273)]=!0x1,this['_closeMessage']=_0x155a28,this[_0x4965fa(0x25c)]=null,this[_0x4965fa(0x235)]=!0x1,this[_0x4965fa(0x126)]={},this['_paused']=!0x1,this[_0x4965fa(0x1c4)]='',this[_0x4965fa(0x1c0)]=_0x421edf[_0x4965fa(0x155)],this[_0x4965fa(0x1a4)]=null,this[_0x4965fa(0x201)]=null,this[_0x4965fa(0x261)]=null,_0x511e58!==null?(this[_0x4965fa(0x1d6)]=0x0,this[_0x4965fa(0x1b3)]=!0x1,this[_0x4965fa(0x286)]=0x0,_0x186b95===void 0x0?_0x186b95=[]:Array[_0x4965fa(0x239)](_0x186b95)||(typeof _0x186b95==_0x4965fa(0x116)&&_0x186b95!==null?(_0x1c1d2e=_0x186b95,_0x186b95=[]):_0x186b95=[_0x186b95]),_0x3e7df5(this,_0x511e58,_0x186b95,_0x1c1d2e)):(this['_autoPong']=_0x1c1d2e['autoPong'],this[_0x4965fa(0x1b3)]=!0x0);}get[_0x52074b(0x29e)](){const _0x205c2c=_0x52074b;return this[_0x205c2c(0x1a8)];}set[_0x52074b(0x29e)](_0xb4948f){const _0x318bb4=_0x52074b;_0xc83c37[_0x318bb4(0x22d)](_0xb4948f)&&(this['_binaryType']=_0xb4948f,this['_receiver']&&(this[_0x318bb4(0x1a4)][_0x318bb4(0x1a8)]=_0xb4948f));}get[_0x52074b(0x246)](){const _0x1a71ce=_0x52074b;return this['_socket']?this[_0x1a71ce(0x261)][_0x1a71ce(0x196)][_0x1a71ce(0x20c)]+this['_sender'][_0x1a71ce(0x1bb)]:this[_0x1a71ce(0x1d6)];}get[_0x52074b(0x289)](){const _0x59e69f=_0x52074b;return Object['keys'](this[_0x59e69f(0x126)])[_0x59e69f(0x1c8)]();}get[_0x52074b(0x1a2)](){const _0x4f38a2=_0x52074b;return this[_0x4f38a2(0x249)];}get['onclose'](){return null;}get[_0x52074b(0x1ac)](){return null;}get[_0x52074b(0x277)](){return null;}get[_0x52074b(0x23c)](){return null;}get[_0x52074b(0x218)](){const _0xf13069=_0x52074b;return this[_0xf13069(0x1c4)];}get[_0x52074b(0x2a1)](){const _0x55a36b=_0x52074b;return this[_0x55a36b(0x1c0)];}get[_0x52074b(0x1d2)](){const _0x13f75d=_0x52074b;return this[_0x13f75d(0x14e)];}[_0x52074b(0x16b)](_0x5de608,_0x501cd9,_0x293e87){const _0x3485be=_0x52074b,_0x298042=new _0x4ef3fc({'allowSynchronousEvents':_0x293e87[_0x3485be(0x13b)],'binaryType':this['binaryType'],'extensions':this[_0x3485be(0x126)],'isServer':this['_isServer'],'maxPayload':_0x293e87[_0x3485be(0x181)],'skipUTF8Validation':_0x293e87['skipUTF8Validation']}),_0x5e43b5=new _0x1f19f0(_0x5de608,this['_extensions'],_0x293e87[_0x3485be(0x275)]);this[_0x3485be(0x1a4)]=_0x298042,this[_0x3485be(0x201)]=_0x5e43b5,this[_0x3485be(0x261)]=_0x5de608,_0x298042[_0x3f8f8f]=this,_0x5e43b5[_0x3f8f8f]=this,_0x5de608[_0x3f8f8f]=this,_0x298042['on'](_0x3485be(0x1a6),_0x97c04a),_0x298042['on'](_0x3485be(0x192),_0x5c0023),_0x298042['on']('error',_0x3cab67),_0x298042['on'](_0x3485be(0x271),_0x54a6ad),_0x298042['on'](_0x3485be(0x185),_0x2d9287),_0x298042['on'](_0x3485be(0x140),_0x5f0f80),_0x5e43b5['onerror']=_0x4401c0,_0x5de608[_0x3485be(0x29c)]&&_0x5de608[_0x3485be(0x29c)](0x0),_0x5de608['setNoDelay']&&_0x5de608[_0x3485be(0x25d)](),_0x501cd9[_0x3485be(0x20c)]>0x0&&_0x5de608['unshift'](_0x501cd9),_0x5de608['on'](_0x3485be(0x21d),_0xecb64),_0x5de608['on'](_0x3485be(0x24b),_0x219c7a),_0x5de608['on'](_0x3485be(0x18d),_0x2f2d23),_0x5de608['on'](_0x3485be(0x1ee),_0x5d48c2),this['_readyState']=_0x421edf[_0x3485be(0x1dd)],this[_0x3485be(0x1fb)](_0x3485be(0x20e));}['emitClose'](){const _0xb4341d=_0x52074b;if(!this[_0xb4341d(0x261)]){this[_0xb4341d(0x1c0)]=_0x421edf[_0xb4341d(0x1b8)],this[_0xb4341d(0x1fb)](_0xb4341d(0x21d),this[_0xb4341d(0x128)],this['_closeMessage']);return;}this[_0xb4341d(0x126)][_0x358e60['extensionName']]&&this['_extensions'][_0x358e60['extensionName']][_0xb4341d(0x1dc)](),this['_receiver'][_0xb4341d(0x1a5)](),this[_0xb4341d(0x1c0)]=_0x421edf[_0xb4341d(0x1b8)],this[_0xb4341d(0x1fb)](_0xb4341d(0x21d),this[_0xb4341d(0x128)],this['_closeMessage']);}[_0x52074b(0x21d)](_0x20977d,_0x33cd58){const _0x1e45cc=_0x52074b;if(this[_0x1e45cc(0x2a1)]!==_0x421edf[_0x1e45cc(0x1b8)]){if(this[_0x1e45cc(0x2a1)]===_0x421edf[_0x1e45cc(0x155)]){_0x2c33fd(this,this['_req'],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x1e45cc(0x2a1)]===_0x421edf[_0x1e45cc(0x285)]){this[_0x1e45cc(0x273)]&&(this[_0x1e45cc(0x189)]||this['_receiver'][_0x1e45cc(0x196)][_0x1e45cc(0x20a)])&&this[_0x1e45cc(0x261)]['end']();return;}this[_0x1e45cc(0x1c0)]=_0x421edf['CLOSING'],this[_0x1e45cc(0x201)]['close'](_0x20977d,_0x33cd58,!this[_0x1e45cc(0x1b3)],_0x395d1d=>{const _0x53c09b=_0x1e45cc;_0x395d1d||(this[_0x53c09b(0x273)]=!0x0,(this[_0x53c09b(0x189)]||this['_receiver'][_0x53c09b(0x196)][_0x53c09b(0x20a)])&&this[_0x53c09b(0x261)]['end']());}),_0x5a5413(this);}}[_0x52074b(0x111)](){const _0x2349b1=_0x52074b;this[_0x2349b1(0x2a1)]===_0x421edf[_0x2349b1(0x155)]||this['readyState']===_0x421edf[_0x2349b1(0x1b8)]||(this['_paused']=!0x0,this[_0x2349b1(0x261)][_0x2349b1(0x111)]());}[_0x52074b(0x185)](_0x5b9ad8,_0x2fc295,_0x361aad){const _0x4b35ce=_0x52074b;if(this[_0x4b35ce(0x2a1)]===_0x421edf[_0x4b35ce(0x155)])throw new Error(_0x4b35ce(0x143));if(typeof _0x5b9ad8==_0x4b35ce(0x13a)?(_0x361aad=_0x5b9ad8,_0x5b9ad8=_0x2fc295=void 0x0):typeof _0x2fc295==_0x4b35ce(0x13a)&&(_0x361aad=_0x2fc295,_0x2fc295=void 0x0),typeof _0x5b9ad8=='number'&&(_0x5b9ad8=_0x5b9ad8['toString']()),this['readyState']!==_0x421edf['OPEN']){_0x45d306(this,_0x5b9ad8,_0x361aad);return;}_0x2fc295===void 0x0&&(_0x2fc295=!this['_isServer']),this[_0x4b35ce(0x201)][_0x4b35ce(0x185)](_0x5b9ad8||_0x155a28,_0x2fc295,_0x361aad);}['pong'](_0x155ce1,_0x5ecfa3,_0x14601f){const _0x35342f=_0x52074b;if(this[_0x35342f(0x2a1)]===_0x421edf[_0x35342f(0x155)])throw new Error(_0x35342f(0x143));if(typeof _0x155ce1=='function'?(_0x14601f=_0x155ce1,_0x155ce1=_0x5ecfa3=void 0x0):typeof _0x5ecfa3==_0x35342f(0x13a)&&(_0x14601f=_0x5ecfa3,_0x5ecfa3=void 0x0),typeof _0x155ce1=='number'&&(_0x155ce1=_0x155ce1[_0x35342f(0x236)]()),this[_0x35342f(0x2a1)]!==_0x421edf[_0x35342f(0x1dd)]){_0x45d306(this,_0x155ce1,_0x14601f);return;}_0x5ecfa3===void 0x0&&(_0x5ecfa3=!this[_0x35342f(0x1b3)]),this[_0x35342f(0x201)][_0x35342f(0x140)](_0x155ce1||_0x155a28,_0x5ecfa3,_0x14601f);}[_0x52074b(0x11b)](){const _0x5919a4=_0x52074b;this['readyState']===_0x421edf[_0x5919a4(0x155)]||this[_0x5919a4(0x2a1)]===_0x421edf[_0x5919a4(0x1b8)]||(this[_0x5919a4(0x249)]=!0x1,this[_0x5919a4(0x1a4)][_0x5919a4(0x196)][_0x5919a4(0x26c)]||this[_0x5919a4(0x261)][_0x5919a4(0x11b)]());}[_0x52074b(0x1c7)](_0x3c8a5c,_0x4701bd,_0x72a6fa){const _0x5f1ec2=_0x52074b;if(this[_0x5f1ec2(0x2a1)]===_0x421edf[_0x5f1ec2(0x155)])throw new Error(_0x5f1ec2(0x143));if(typeof _0x4701bd==_0x5f1ec2(0x13a)&&(_0x72a6fa=_0x4701bd,_0x4701bd={}),typeof _0x3c8a5c=='number'&&(_0x3c8a5c=_0x3c8a5c['toString']()),this[_0x5f1ec2(0x2a1)]!==_0x421edf[_0x5f1ec2(0x1dd)]){_0x45d306(this,_0x3c8a5c,_0x72a6fa);return;}const _0x542b84={'binary':typeof _0x3c8a5c!=_0x5f1ec2(0x222),'mask':!this[_0x5f1ec2(0x1b3)],'compress':!0x0,'fin':!0x0,..._0x4701bd};this['_extensions'][_0x358e60['extensionName']]||(_0x542b84[_0x5f1ec2(0x13e)]=!0x1),this[_0x5f1ec2(0x201)]['send'](_0x3c8a5c||_0x155a28,_0x542b84,_0x72a6fa);}[_0x52074b(0x1be)](){const _0xf4d919=_0x52074b;if(this[_0xf4d919(0x2a1)]!==_0x421edf[_0xf4d919(0x1b8)]){if(this[_0xf4d919(0x2a1)]===_0x421edf[_0xf4d919(0x155)]){_0x2c33fd(this,this[_0xf4d919(0x281)],_0xf4d919(0x15f));return;}this[_0xf4d919(0x261)]&&(this['_readyState']=_0x421edf[_0xf4d919(0x285)],this[_0xf4d919(0x261)][_0xf4d919(0x20b)]());}}}Object[_0x52074b(0x173)](_0x421edf,_0x52074b(0x155),{'enumerable':!0x0,'value':_0x5c2dfb[_0x52074b(0x274)]('CONNECTING')}),Object[_0x52074b(0x173)](_0x421edf[_0x52074b(0x1cc)],_0x52074b(0x155),{'enumerable':!0x0,'value':_0x5c2dfb[_0x52074b(0x274)](_0x52074b(0x155))}),Object[_0x52074b(0x173)](_0x421edf,_0x52074b(0x1dd),{'enumerable':!0x0,'value':_0x5c2dfb['indexOf']('OPEN')}),Object[_0x52074b(0x173)](_0x421edf[_0x52074b(0x1cc)],'OPEN',{'enumerable':!0x0,'value':_0x5c2dfb[_0x52074b(0x274)](_0x52074b(0x1dd))}),Object[_0x52074b(0x173)](_0x421edf,_0x52074b(0x285),{'enumerable':!0x0,'value':_0x5c2dfb[_0x52074b(0x274)](_0x52074b(0x285))}),Object[_0x52074b(0x173)](_0x421edf[_0x52074b(0x1cc)],_0x52074b(0x285),{'enumerable':!0x0,'value':_0x5c2dfb['indexOf'](_0x52074b(0x285))}),Object[_0x52074b(0x173)](_0x421edf,_0x52074b(0x1b8),{'enumerable':!0x0,'value':_0x5c2dfb['indexOf'](_0x52074b(0x1b8))}),Object[_0x52074b(0x173)](_0x421edf[_0x52074b(0x1cc)],_0x52074b(0x1b8),{'enumerable':!0x0,'value':_0x5c2dfb['indexOf'](_0x52074b(0x1b8))}),[_0x52074b(0x29e),'bufferedAmount','extensions',_0x52074b(0x1a2),_0x52074b(0x218),_0x52074b(0x2a1),_0x52074b(0x1d2)]['forEach'](_0x5ed2fe=>{const _0x40ceb6=_0x52074b;Object[_0x40ceb6(0x173)](_0x421edf[_0x40ceb6(0x1cc)],_0x5ed2fe,{'enumerable':!0x0});}),['open',_0x52074b(0x1ee),_0x52074b(0x21d),'message'][_0x52074b(0x20f)](_0x1d3eac=>{const _0x15ee74=_0x52074b;Object[_0x15ee74(0x173)](_0x421edf[_0x15ee74(0x1cc)],'on'+_0x1d3eac,{'enumerable':!0x0,'get'(){const _0x421f78=_0x15ee74;for(const _0x1c4957 of this[_0x421f78(0x121)](_0x1d3eac))if(_0x1c4957[_0x1a91d0])return _0x1c4957[_0x122f00];return null;},'set'(_0x508c83){const _0x38af09=_0x15ee74;for(const _0x2e9dca of this[_0x38af09(0x121)](_0x1d3eac))if(_0x2e9dca[_0x1a91d0]){this[_0x38af09(0x2ba)](_0x1d3eac,_0x2e9dca);break;}typeof _0x508c83==_0x38af09(0x13a)&&this[_0x38af09(0x15c)](_0x1d3eac,_0x508c83,{[_0x1a91d0]:!0x0});}});}),_0x421edf[_0x52074b(0x1cc)][_0x52074b(0x15c)]=_0x36cf93,_0x421edf[_0x52074b(0x1cc)][_0x52074b(0x187)]=_0x120f37,we=_0x421edf;function _0x3e7df5(_0x2df5fb,_0x7c432f,_0x2bf5be,_0x289ab7){const _0x3f896f=_0x52074b,_0x2d98d9={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x40422d[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x289ab7,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x2df5fb[_0x3f896f(0x10d)]=_0x2d98d9[_0x3f896f(0x27d)],!_0x40422d['includes'](_0x2d98d9[_0x3f896f(0x118)]))throw new RangeError(_0x3f896f(0x21a)+_0x2d98d9[_0x3f896f(0x118)]+_0x3f896f(0x1e4)+_0x40422d['join'](',\x20')+')');let _0x130806;if(_0x7c432f instanceof _0x33e38c)_0x130806=_0x7c432f;else try{_0x130806=new _0x33e38c(_0x7c432f);}catch{throw new SyntaxError(_0x3f896f(0x2a3)+_0x7c432f);}_0x130806[_0x3f896f(0x218)]===_0x3f896f(0x1e5)?_0x130806['protocol']=_0x3f896f(0x19e):_0x130806[_0x3f896f(0x218)]===_0x3f896f(0x252)&&(_0x130806[_0x3f896f(0x218)]='wss:'),_0x2df5fb[_0x3f896f(0x14e)]=_0x130806[_0x3f896f(0x147)];const _0x48568c=_0x130806[_0x3f896f(0x218)]===_0x3f896f(0x214),_0x46e439=_0x130806[_0x3f896f(0x218)]===_0x3f896f(0x2b4);let _0x23832f;if(_0x130806[_0x3f896f(0x218)]!==_0x3f896f(0x19e)&&!_0x48568c&&!_0x46e439?_0x23832f='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':_0x46e439&&!_0x130806[_0x3f896f(0x149)]?_0x23832f=_0x3f896f(0x1d3):_0x130806[_0x3f896f(0x159)]&&(_0x23832f=_0x3f896f(0x1c3)),_0x23832f){const _0x30f41d=new SyntaxError(_0x23832f);if(_0x2df5fb['_redirects']===0x0)throw _0x30f41d;_0x5400db(_0x2df5fb,_0x30f41d);return;}const _0x45d41d=_0x48568c?0x1bb:0x50,_0x1e3f61=_0x38a287(0x10)[_0x3f896f(0x236)](_0x3f896f(0x27a)),_0x54bfd1=_0x48568c?_0x406898[_0x3f896f(0x2ae)]:_0x507273[_0x3f896f(0x2ae)],_0x24f1a5=new Set();let _0x2f903e;if(_0x2d98d9[_0x3f896f(0x176)]=_0x2d98d9['createConnection']||(_0x48568c?_0x317828:_0x3c2766),_0x2d98d9[_0x3f896f(0x11c)]=_0x2d98d9[_0x3f896f(0x11c)]||_0x45d41d,_0x2d98d9[_0x3f896f(0x1d0)]=_0x130806['port']||_0x45d41d,_0x2d98d9[_0x3f896f(0x132)]=_0x130806[_0x3f896f(0x1e6)][_0x3f896f(0x12c)]('[')?_0x130806[_0x3f896f(0x1e6)][_0x3f896f(0x13d)](0x1,-0x1):_0x130806[_0x3f896f(0x1e6)],_0x2d98d9[_0x3f896f(0x150)]={..._0x2d98d9[_0x3f896f(0x150)],'Sec-WebSocket-Version':_0x2d98d9[_0x3f896f(0x118)],'Sec-WebSocket-Key':_0x1e3f61,'Connection':_0x3f896f(0x1e1),'Upgrade':_0x3f896f(0x195)},_0x2d98d9[_0x3f896f(0x240)]=_0x130806[_0x3f896f(0x149)]+_0x130806[_0x3f896f(0x269)],_0x2d98d9[_0x3f896f(0x158)]=_0x2d98d9[_0x3f896f(0x251)],_0x2d98d9[_0x3f896f(0x23a)]&&(_0x2f903e=new _0x358e60(_0x2d98d9['perMessageDeflate']!==!0x0?_0x2d98d9[_0x3f896f(0x23a)]:{},!0x1,_0x2d98d9[_0x3f896f(0x181)]),_0x2d98d9[_0x3f896f(0x150)]['Sec-WebSocket-Extensions']=_0x47e39b({[_0x358e60['extensionName']]:_0x2f903e['offer']()})),_0x2bf5be[_0x3f896f(0x20c)]){for(const _0x1f291b of _0x2bf5be){if(typeof _0x1f291b!=_0x3f896f(0x222)||!_0x235ce8[_0x3f896f(0x27b)](_0x1f291b)||_0x24f1a5[_0x3f896f(0x2b0)](_0x1f291b))throw new SyntaxError(_0x3f896f(0x142));_0x24f1a5[_0x3f896f(0x115)](_0x1f291b);}_0x2d98d9[_0x3f896f(0x150)][_0x3f896f(0x21e)]=_0x2bf5be['join'](',');}if(_0x2d98d9[_0x3f896f(0x262)]&&(_0x2d98d9[_0x3f896f(0x118)]<0xd?_0x2d98d9[_0x3f896f(0x150)][_0x3f896f(0x2c0)]=_0x2d98d9[_0x3f896f(0x262)]:_0x2d98d9[_0x3f896f(0x150)][_0x3f896f(0x24c)]=_0x2d98d9[_0x3f896f(0x262)]),(_0x130806[_0x3f896f(0x119)]||_0x130806[_0x3f896f(0x1f3)])&&(_0x2d98d9['auth']=_0x130806[_0x3f896f(0x119)]+':'+_0x130806[_0x3f896f(0x1f3)]),_0x46e439){const _0x2094fc=_0x2d98d9['path'][_0x3f896f(0x1ce)](':');_0x2d98d9[_0x3f896f(0x1c5)]=_0x2094fc[0x0],_0x2d98d9['path']=_0x2094fc[0x1];}let _0x2df19e;if(_0x2d98d9[_0x3f896f(0x26e)]){if(_0x2df5fb[_0x3f896f(0x286)]===0x0){_0x2df5fb[_0x3f896f(0x17d)]=_0x46e439,_0x2df5fb[_0x3f896f(0x17e)]=_0x48568c,_0x2df5fb[_0x3f896f(0x27f)]=_0x46e439?_0x2d98d9[_0x3f896f(0x1c5)]:_0x130806[_0x3f896f(0x132)];const _0x4f8e5a=_0x289ab7&&_0x289ab7[_0x3f896f(0x150)];if(_0x289ab7={..._0x289ab7,'headers':{}},_0x4f8e5a){for(const [_0x46f734,_0x195b45]of Object[_0x3f896f(0x202)](_0x4f8e5a))_0x289ab7[_0x3f896f(0x150)][_0x46f734[_0x3f896f(0x22f)]()]=_0x195b45;}}else{if(_0x2df5fb[_0x3f896f(0x2a8)](_0x3f896f(0x1d5))===0x0){const _0x3dbcd4=_0x46e439?_0x2df5fb[_0x3f896f(0x17d)]?_0x2d98d9[_0x3f896f(0x1c5)]===_0x2df5fb[_0x3f896f(0x27f)]:!0x1:_0x2df5fb[_0x3f896f(0x17d)]?!0x1:_0x130806['host']===_0x2df5fb[_0x3f896f(0x27f)];(!_0x3dbcd4||_0x2df5fb[_0x3f896f(0x17e)]&&!_0x48568c)&&(delete _0x2d98d9[_0x3f896f(0x150)][_0x3f896f(0x1d7)],delete _0x2d98d9[_0x3f896f(0x150)][_0x3f896f(0x1aa)],_0x3dbcd4||delete _0x2d98d9[_0x3f896f(0x150)][_0x3f896f(0x132)],_0x2d98d9[_0x3f896f(0x225)]=void 0x0);}}_0x2d98d9[_0x3f896f(0x225)]&&!_0x289ab7[_0x3f896f(0x150)][_0x3f896f(0x1d7)]&&(_0x289ab7['headers']['authorization']='Basic\x20'+Buffer[_0x3f896f(0x1db)](_0x2d98d9[_0x3f896f(0x225)])[_0x3f896f(0x236)]('base64')),_0x2df19e=_0x2df5fb[_0x3f896f(0x281)]=_0x54bfd1(_0x2d98d9),_0x2df5fb[_0x3f896f(0x286)]&&_0x2df5fb[_0x3f896f(0x1fb)](_0x3f896f(0x1d5),_0x2df5fb[_0x3f896f(0x1d2)],_0x2df19e);}else _0x2df19e=_0x2df5fb[_0x3f896f(0x281)]=_0x54bfd1(_0x2d98d9);_0x2d98d9['timeout']&&_0x2df19e['on'](_0x3f896f(0x158),()=>{const _0x325874=_0x3f896f;_0x2c33fd(_0x2df5fb,_0x2df19e,_0x325874(0x17b));}),_0x2df19e['on'](_0x3f896f(0x1ee),_0x48bc1c=>{const _0xc36e4=_0x3f896f;_0x2df19e===null||_0x2df19e[_0x18f84f]||(_0x2df19e=_0x2df5fb[_0xc36e4(0x281)]=null,_0x5400db(_0x2df5fb,_0x48bc1c));}),_0x2df19e['on'](_0x3f896f(0x175),_0x54b008=>{const _0x259f55=_0x3f896f,_0x2a511c=_0x54b008[_0x259f55(0x150)]['location'],_0x22462e=_0x54b008[_0x259f55(0x29d)];if(_0x2a511c&&_0x2d98d9[_0x259f55(0x26e)]&&_0x22462e>=0x12c&&_0x22462e<0x190){if(++_0x2df5fb['_redirects']>_0x2d98d9['maxRedirects']){_0x2c33fd(_0x2df5fb,_0x2df19e,_0x259f55(0x209));return;}_0x2df19e[_0x259f55(0x144)]();let _0x2c8ef2;try{_0x2c8ef2=new _0x33e38c(_0x2a511c,_0x7c432f);}catch{const _0x4abca6=new SyntaxError(_0x259f55(0x2a3)+_0x2a511c);_0x5400db(_0x2df5fb,_0x4abca6);return;}_0x3e7df5(_0x2df5fb,_0x2c8ef2,_0x2bf5be,_0x289ab7);}else _0x2df5fb[_0x259f55(0x1fb)](_0x259f55(0x25e),_0x2df19e,_0x54b008)||_0x2c33fd(_0x2df5fb,_0x2df19e,'Unexpected\x20server\x20response:\x20'+_0x54b008[_0x259f55(0x29d)]);}),_0x2df19e['on'](_0x3f896f(0x14a),(_0x1e302c,_0x33afeb,_0x5435d5)=>{const _0x54cb7e=_0x3f896f;if(_0x2df5fb['emit'](_0x54cb7e(0x14a),_0x1e302c),_0x2df5fb[_0x54cb7e(0x2a1)]!==_0x421edf[_0x54cb7e(0x155)])return;_0x2df19e=_0x2df5fb[_0x54cb7e(0x281)]=null;const _0x39ff94=_0x1e302c[_0x54cb7e(0x150)][_0x54cb7e(0x14a)];if(_0x39ff94===void 0x0||_0x39ff94[_0x54cb7e(0x22f)]()!==_0x54cb7e(0x195)){_0x2c33fd(_0x2df5fb,_0x33afeb,_0x54cb7e(0x1e2));return;}const _0x45859b=_0x35fcf3(_0x54cb7e(0x265))[_0x54cb7e(0x2b8)](_0x1e3f61+_0x3b3102)['digest'](_0x54cb7e(0x27a));if(_0x1e302c[_0x54cb7e(0x150)][_0x54cb7e(0x22b)]!==_0x45859b){_0x2c33fd(_0x2df5fb,_0x33afeb,_0x54cb7e(0x272));return;}const _0x209c4d=_0x1e302c[_0x54cb7e(0x150)][_0x54cb7e(0x1b4)];let _0x2fde65;if(_0x209c4d!==void 0x0?_0x24f1a5[_0x54cb7e(0x135)]?_0x24f1a5['has'](_0x209c4d)||(_0x2fde65='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x2fde65=_0x54cb7e(0x26f):_0x24f1a5[_0x54cb7e(0x135)]&&(_0x2fde65=_0x54cb7e(0x15a)),_0x2fde65){_0x2c33fd(_0x2df5fb,_0x33afeb,_0x2fde65);return;}_0x209c4d&&(_0x2df5fb[_0x54cb7e(0x1c4)]=_0x209c4d);const _0x1b7aa5=_0x1e302c[_0x54cb7e(0x150)][_0x54cb7e(0x1a7)];if(_0x1b7aa5!==void 0x0){if(!_0x2f903e){_0x2c33fd(_0x2df5fb,_0x33afeb,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x501ef5;try{_0x501ef5=_0xf7b8a3(_0x1b7aa5);}catch{_0x2c33fd(_0x2df5fb,_0x33afeb,_0x54cb7e(0x2c2));return;}const _0x57df8c=Object[_0x54cb7e(0x125)](_0x501ef5);if(_0x57df8c['length']!==0x1||_0x57df8c[0x0]!==_0x358e60[_0x54cb7e(0x18c)]){_0x2c33fd(_0x2df5fb,_0x33afeb,_0x54cb7e(0x2b6));return;}try{_0x2f903e[_0x54cb7e(0x1a0)](_0x501ef5[_0x358e60[_0x54cb7e(0x18c)]]);}catch{_0x2c33fd(_0x2df5fb,_0x33afeb,_0x54cb7e(0x2c2));return;}_0x2df5fb[_0x54cb7e(0x126)][_0x358e60[_0x54cb7e(0x18c)]]=_0x2f903e;}_0x2df5fb['setSocket'](_0x33afeb,_0x5435d5,{'allowSynchronousEvents':_0x2d98d9[_0x54cb7e(0x13b)],'generateMask':_0x2d98d9['generateMask'],'maxPayload':_0x2d98d9['maxPayload'],'skipUTF8Validation':_0x2d98d9[_0x54cb7e(0x22e)]});}),_0x2d98d9[_0x3f896f(0x247)]?_0x2d98d9[_0x3f896f(0x247)](_0x2df19e,_0x2df5fb):_0x2df19e['end']();}function _0x5400db(_0x416cbd,_0x31e46b){const _0x12f9de=_0x52074b;_0x416cbd['_readyState']=_0x421edf[_0x12f9de(0x285)],_0x416cbd[_0x12f9de(0x235)]=!0x0,_0x416cbd['emit']('error',_0x31e46b),_0x416cbd[_0x12f9de(0x19c)]();}function _0x3c2766(_0x4f617e){const _0x391e58=_0x52074b;return _0x4f617e[_0x391e58(0x240)]=_0x4f617e[_0x391e58(0x1c5)],_0x586007['connect'](_0x4f617e);}function _0x317828(_0x4bc3ba){const _0x2d2315=_0x52074b;return _0x4bc3ba['path']=void 0x0,!_0x4bc3ba[_0x2d2315(0x1ae)]&&_0x4bc3ba[_0x2d2315(0x1ae)]!==''&&(_0x4bc3ba[_0x2d2315(0x1ae)]=_0x586007[_0x2d2315(0x23e)](_0x4bc3ba[_0x2d2315(0x132)])?'':_0x4bc3ba[_0x2d2315(0x132)]),_0x3eefb9[_0x2d2315(0x1d8)](_0x4bc3ba);}function _0x2c33fd(_0x4b2fc2,_0x45700f,_0x542e8c){const _0x5c7314=_0x52074b;_0x4b2fc2[_0x5c7314(0x1c0)]=_0x421edf[_0x5c7314(0x285)];const _0x47d5e2=new Error(_0x542e8c);Error[_0x5c7314(0x1e3)](_0x47d5e2,_0x2c33fd),_0x45700f[_0x5c7314(0x26b)]?(_0x45700f[_0x18f84f]=!0x0,_0x45700f['abort'](),_0x45700f[_0x5c7314(0x1ba)]&&!_0x45700f[_0x5c7314(0x1ba)]['destroyed']&&_0x45700f[_0x5c7314(0x1ba)]['destroy'](),process[_0x5c7314(0x231)](_0x5400db,_0x4b2fc2,_0x47d5e2)):(_0x45700f[_0x5c7314(0x20b)](_0x47d5e2),_0x45700f[_0x5c7314(0x133)](_0x5c7314(0x1ee),_0x4b2fc2[_0x5c7314(0x1fb)][_0x5c7314(0x257)](_0x4b2fc2,'error')),_0x45700f[_0x5c7314(0x133)](_0x5c7314(0x21d),_0x4b2fc2[_0x5c7314(0x19c)][_0x5c7314(0x257)](_0x4b2fc2)));}function _0x45d306(_0x5d5e8c,_0x18332b,_0x24f0a9){const _0x3759e7=_0x52074b;if(_0x18332b){const _0x59d4f3=_0x44f6a1(_0x18332b)?_0x18332b[_0x3759e7(0x135)]:_0x499ea8(_0x18332b)[_0x3759e7(0x20c)];_0x5d5e8c[_0x3759e7(0x261)]?_0x5d5e8c[_0x3759e7(0x201)][_0x3759e7(0x1bb)]+=_0x59d4f3:_0x5d5e8c[_0x3759e7(0x1d6)]+=_0x59d4f3;}if(_0x24f0a9){const _0x42d03b=new Error(_0x3759e7(0x18b)+_0x5d5e8c[_0x3759e7(0x2a1)]+'\x20('+_0x5c2dfb[_0x5d5e8c[_0x3759e7(0x2a1)]]+')');process[_0x3759e7(0x231)](_0x24f0a9,_0x42d03b);}}function _0x97c04a(_0x573a94,_0x31dd4b){const _0x3501c7=_0x52074b,_0x9369d6=this[_0x3f8f8f];_0x9369d6[_0x3501c7(0x189)]=!0x0,_0x9369d6[_0x3501c7(0x1fe)]=_0x31dd4b,_0x9369d6[_0x3501c7(0x128)]=_0x573a94,_0x9369d6['_socket'][_0x3f8f8f]!==void 0x0&&(_0x9369d6[_0x3501c7(0x261)][_0x3501c7(0x2ba)](_0x3501c7(0x24b),_0x219c7a),process['nextTick'](_0x482941,_0x9369d6[_0x3501c7(0x261)]),_0x573a94===0x3ed?_0x9369d6[_0x3501c7(0x21d)]():_0x9369d6[_0x3501c7(0x21d)](_0x573a94,_0x31dd4b));}function _0x5c0023(){const _0x212d12=_0x52074b,_0x30c170=this[_0x3f8f8f];_0x30c170[_0x212d12(0x1a2)]||_0x30c170[_0x212d12(0x261)][_0x212d12(0x11b)]();}function _0x3cab67(_0x3ed766){const _0x3662fc=_0x52074b,_0xb4227=this[_0x3f8f8f];_0xb4227[_0x3662fc(0x261)][_0x3f8f8f]!==void 0x0&&(_0xb4227[_0x3662fc(0x261)][_0x3662fc(0x2ba)](_0x3662fc(0x24b),_0x219c7a),process[_0x3662fc(0x231)](_0x482941,_0xb4227[_0x3662fc(0x261)]),_0xb4227['close'](_0x3ed766[_0x28238b])),_0xb4227[_0x3662fc(0x235)]||(_0xb4227[_0x3662fc(0x235)]=!0x0,_0xb4227[_0x3662fc(0x1fb)](_0x3662fc(0x1ee),_0x3ed766));}function _0x368749(){this[_0x3f8f8f]['emitClose']();}function _0x54a6ad(_0x285af0,_0x173eea){const _0x50e5dd=_0x52074b;this[_0x3f8f8f][_0x50e5dd(0x1fb)](_0x50e5dd(0x271),_0x285af0,_0x173eea);}function _0x2d9287(_0x4b5820){const _0x3ba153=_0x52074b,_0x4137f6=this[_0x3f8f8f];_0x4137f6['_autoPong']&&_0x4137f6['pong'](_0x4b5820,!this[_0x3ba153(0x1b3)],_0x433a0f),_0x4137f6['emit'](_0x3ba153(0x185),_0x4b5820);}function _0x5f0f80(_0x5f4fed){const _0x5e506e=_0x52074b;this[_0x3f8f8f][_0x5e506e(0x1fb)]('pong',_0x5f4fed);}function _0x482941(_0xf189c3){const _0x939881=_0x52074b;_0xf189c3[_0x939881(0x11b)]();}function _0x4401c0(_0x1e623f){const _0x2554b3=_0x52074b,_0x248df7=this[_0x3f8f8f];_0x248df7[_0x2554b3(0x2a1)]!==_0x421edf[_0x2554b3(0x1b8)]&&(_0x248df7[_0x2554b3(0x2a1)]===_0x421edf[_0x2554b3(0x1dd)]&&(_0x248df7[_0x2554b3(0x1c0)]=_0x421edf['CLOSING'],_0x5a5413(_0x248df7)),this[_0x2554b3(0x261)][_0x2554b3(0x18d)](),_0x248df7['_errorEmitted']||(_0x248df7[_0x2554b3(0x235)]=!0x0,_0x248df7['emit'](_0x2554b3(0x1ee),_0x1e623f)));}function _0x5a5413(_0x3ea241){const _0x4a8409=_0x52074b;_0x3ea241[_0x4a8409(0x25c)]=setTimeout(_0x3ea241[_0x4a8409(0x261)]['destroy'][_0x4a8409(0x257)](_0x3ea241[_0x4a8409(0x261)]),_0x141c5d);}function _0xecb64(){const _0x4c8983=_0x52074b,_0x2052e1=this[_0x3f8f8f];this[_0x4c8983(0x2ba)]('close',_0xecb64),this[_0x4c8983(0x2ba)]('data',_0x219c7a),this['removeListener'](_0x4c8983(0x18d),_0x2f2d23),_0x2052e1[_0x4c8983(0x1c0)]=_0x421edf[_0x4c8983(0x285)];let _0x1d6425;!this[_0x4c8983(0x1a9)]['endEmitted']&&!_0x2052e1[_0x4c8983(0x189)]&&!_0x2052e1[_0x4c8983(0x1a4)][_0x4c8983(0x196)][_0x4c8983(0x20a)]&&(_0x1d6425=_0x2052e1['_socket'][_0x4c8983(0x217)]())!==null&&_0x2052e1[_0x4c8983(0x1a4)][_0x4c8983(0x211)](_0x1d6425),_0x2052e1[_0x4c8983(0x1a4)][_0x4c8983(0x18d)](),this[_0x3f8f8f]=void 0x0,clearTimeout(_0x2052e1[_0x4c8983(0x25c)]),_0x2052e1[_0x4c8983(0x1a4)][_0x4c8983(0x196)][_0x4c8983(0x12a)]||_0x2052e1[_0x4c8983(0x1a4)]['_writableState'][_0x4c8983(0x20a)]?_0x2052e1[_0x4c8983(0x19c)]():(_0x2052e1[_0x4c8983(0x1a4)]['on'](_0x4c8983(0x1ee),_0x368749),_0x2052e1['_receiver']['on'](_0x4c8983(0x234),_0x368749));}function _0x219c7a(_0x40554c){const _0x4677b6=_0x52074b;this[_0x3f8f8f][_0x4677b6(0x1a4)][_0x4677b6(0x211)](_0x40554c)||this[_0x4677b6(0x111)]();}function _0x2f2d23(){const _0x5478d2=_0x52074b,_0xd3054d=this[_0x3f8f8f];_0xd3054d['_readyState']=_0x421edf[_0x5478d2(0x285)],_0xd3054d[_0x5478d2(0x1a4)][_0x5478d2(0x18d)](),this[_0x5478d2(0x18d)]();}function _0x5d48c2(){const _0x38cab4=_0x52074b,_0x526c4a=this[_0x3f8f8f];this['removeListener'](_0x38cab4(0x1ee),_0x5d48c2),this['on'](_0x38cab4(0x1ee),_0x433a0f),_0x526c4a&&(_0x526c4a['_readyState']=_0x421edf[_0x38cab4(0x285)],this[_0x38cab4(0x20b)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x1cfc54}=_0x4347fc;function _0xb8dbb4(_0x330407){const _0x132282=_0x40bb;_0x330407[_0x132282(0x1fb)]('close');}function _0x28ba3d(){const _0x29ff2a=_0x40bb;!this[_0x29ff2a(0x2b7)]&&this[_0x29ff2a(0x196)]['finished']&&this['destroy']();}function _0xe299fb(_0x33dca5){const _0x347103=_0x40bb;this[_0x347103(0x2ba)]('error',_0xe299fb),this['destroy'](),this[_0x347103(0x2a8)](_0x347103(0x1ee))===0x0&&this[_0x347103(0x1fb)](_0x347103(0x1ee),_0x33dca5);}function _0x2c2bce(_0xf5878e,_0xb6e790){const _0x38ab7c=_0x40bb;let _0x1c71e0=!0x0;const _0x4ea1e2=new _0x1cfc54({..._0xb6e790,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0xf5878e['on'](_0x38ab7c(0x271),function(_0x1bd787,_0x1fc990){const _0x506074=_0x38ab7c,_0x12afb1=!_0x1fc990&&_0x4ea1e2[_0x506074(0x1a9)][_0x506074(0x1cb)]?_0x1bd787[_0x506074(0x236)]():_0x1bd787;_0x4ea1e2[_0x506074(0x166)](_0x12afb1)||_0xf5878e[_0x506074(0x111)]();}),_0xf5878e[_0x38ab7c(0x133)]('error',function(_0x47d700){const _0x1a5ac4=_0x38ab7c;_0x4ea1e2[_0x1a5ac4(0x2b7)]||(_0x1c71e0=!0x1,_0x4ea1e2[_0x1a5ac4(0x20b)](_0x47d700));}),_0xf5878e['once'](_0x38ab7c(0x21d),function(){const _0x11b852=_0x38ab7c;_0x4ea1e2[_0x11b852(0x2b7)]||_0x4ea1e2[_0x11b852(0x166)](null);}),_0x4ea1e2[_0x38ab7c(0x2b1)]=function(_0x3db700,_0x1156ed){const _0x4f74d8=_0x38ab7c;if(_0xf5878e[_0x4f74d8(0x2a1)]===_0xf5878e['CLOSED']){_0x1156ed(_0x3db700),process[_0x4f74d8(0x231)](_0xb8dbb4,_0x4ea1e2);return;}let _0x2b07ac=!0x1;_0xf5878e['once'](_0x4f74d8(0x1ee),function(_0x23b11a){_0x2b07ac=!0x0,_0x1156ed(_0x23b11a);}),_0xf5878e[_0x4f74d8(0x133)](_0x4f74d8(0x21d),function(){_0x2b07ac||_0x1156ed(_0x3db700),process['nextTick'](_0xb8dbb4,_0x4ea1e2);}),_0x1c71e0&&_0xf5878e[_0x4f74d8(0x1be)]();},_0x4ea1e2[_0x38ab7c(0x2bc)]=function(_0xf7fa88){const _0x263014=_0x38ab7c;if(_0xf5878e[_0x263014(0x2a1)]===_0xf5878e[_0x263014(0x155)]){_0xf5878e[_0x263014(0x133)](_0x263014(0x20e),function(){_0x4ea1e2['_final'](_0xf7fa88);});return;}_0xf5878e[_0x263014(0x261)]!==null&&(_0xf5878e['_socket']['_writableState'][_0x263014(0x12a)]?(_0xf7fa88(),_0x4ea1e2[_0x263014(0x1a9)][_0x263014(0x278)]&&_0x4ea1e2[_0x263014(0x20b)]()):(_0xf5878e[_0x263014(0x261)][_0x263014(0x133)](_0x263014(0x234),function(){_0xf7fa88();}),_0xf5878e[_0x263014(0x21d)]()));},_0x4ea1e2[_0x38ab7c(0x1da)]=function(){const _0x18d812=_0x38ab7c;_0xf5878e['isPaused']&&_0xf5878e[_0x18d812(0x11b)]();},_0x4ea1e2[_0x38ab7c(0x2b3)]=function(_0x22d58b,_0x48f1a1,_0x4452ee){const _0xc08137=_0x38ab7c;if(_0xf5878e[_0xc08137(0x2a1)]===_0xf5878e[_0xc08137(0x155)]){_0xf5878e[_0xc08137(0x133)](_0xc08137(0x20e),function(){const _0x3eba2a=_0xc08137;_0x4ea1e2[_0x3eba2a(0x2b3)](_0x22d58b,_0x48f1a1,_0x4452ee);});return;}_0xf5878e['send'](_0x22d58b,_0x4452ee);},_0x4ea1e2['on'](_0x38ab7c(0x18d),_0x28ba3d),_0x4ea1e2['on'](_0x38ab7c(0x1ee),_0xe299fb),_0x4ea1e2;}return Oe=_0x2c2bce,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x9723df}=ne();function _0x41027f(_0x58ec5f){const _0x21d0aa=_0x40bb,_0x54d96e=new Set();let _0x5ede49=-0x1,_0x3e1d8f=-0x1,_0x46211a=0x0;for(_0x46211a;_0x46211a<_0x58ec5f[_0x21d0aa(0x20c)];_0x46211a++){const _0x170730=_0x58ec5f[_0x21d0aa(0x163)](_0x46211a);if(_0x3e1d8f===-0x1&&_0x9723df[_0x170730]===0x1)_0x5ede49===-0x1&&(_0x5ede49=_0x46211a);else{if(_0x46211a!==0x0&&(_0x170730===0x20||_0x170730===0x9))_0x3e1d8f===-0x1&&_0x5ede49!==-0x1&&(_0x3e1d8f=_0x46211a);else{if(_0x170730===0x2c){if(_0x5ede49===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x46211a);_0x3e1d8f===-0x1&&(_0x3e1d8f=_0x46211a);const _0x3cc57d=_0x58ec5f['slice'](_0x5ede49,_0x3e1d8f);if(_0x54d96e['has'](_0x3cc57d))throw new SyntaxError(_0x21d0aa(0x1c6)+_0x3cc57d+_0x21d0aa(0x157));_0x54d96e['add'](_0x3cc57d),_0x5ede49=_0x3e1d8f=-0x1;}else throw new SyntaxError(_0x21d0aa(0x1b2)+_0x46211a);}}}if(_0x5ede49===-0x1||_0x3e1d8f!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x4f2634=_0x58ec5f[_0x21d0aa(0x13d)](_0x5ede49,_0x46211a);if(_0x54d96e[_0x21d0aa(0x2b0)](_0x4f2634))throw new SyntaxError(_0x21d0aa(0x1c6)+_0x4f2634+_0x21d0aa(0x157));return _0x54d96e[_0x21d0aa(0x115)](_0x4f2634),_0x54d96e;}return Ce={'parse':_0x41027f},Ce;}var Te,ot;function er(){const _0x20f01a=_0x349af5;if(ot)return Te;ot=0x1;const _0x13baf2=_0x3eb634,_0x31dd2c=_0x2ea4e6,{Duplex:_0x2b8604}=_0x4347fc,{createHash:_0x164f53}=_0x4344cf,_0xead547=pt(),_0x24ecc3=he(),_0x59ef7b=Jt(),_0x32a0a1=Ie(),{GUID:_0x4ee98c,kWebSocket:_0x35ce1f}=V(),_0x49f633=/^[+/0-9A-Za-z]{22}==$/,_0x3c9fb5=0x0,_0x47f096=0x1,_0x1ba3b8=0x2;class _0x16e155 extends _0x13baf2{constructor(_0x1c239d,_0x46b380){const _0xdd87d4=_0x40bb;if(super(),_0x1c239d={'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':_0x32a0a1,..._0x1c239d},_0x1c239d[_0xdd87d4(0x1d0)]==null&&!_0x1c239d[_0xdd87d4(0x16c)]&&!_0x1c239d[_0xdd87d4(0x1b0)]||_0x1c239d[_0xdd87d4(0x1d0)]!=null&&(_0x1c239d['server']||_0x1c239d['noServer'])||_0x1c239d['server']&&_0x1c239d['noServer'])throw new TypeError(_0xdd87d4(0x2be));if(_0x1c239d[_0xdd87d4(0x1d0)]!=null?(this['_server']=_0x31dd2c[_0xdd87d4(0x10a)]((_0x44c544,_0x25fed4)=>{const _0xf850bd=_0xdd87d4,_0x38844a=_0x31dd2c[_0xf850bd(0x136)][0x1aa];_0x25fed4[_0xf850bd(0x134)](0x1aa,{'Content-Length':_0x38844a['length'],'Content-Type':_0xf850bd(0x237)}),_0x25fed4[_0xf850bd(0x18d)](_0x38844a);}),this[_0xdd87d4(0x110)][_0xdd87d4(0x26d)](_0x1c239d[_0xdd87d4(0x1d0)],_0x1c239d[_0xdd87d4(0x132)],_0x1c239d['backlog'],_0x46b380)):_0x1c239d[_0xdd87d4(0x16c)]&&(this[_0xdd87d4(0x110)]=_0x1c239d[_0xdd87d4(0x16c)]),this[_0xdd87d4(0x110)]){const _0x326d92=this[_0xdd87d4(0x1fb)][_0xdd87d4(0x257)](this,'connection');this[_0xdd87d4(0x164)]=_0x424c58(this['_server'],{'listening':this['emit'][_0xdd87d4(0x257)](this,_0xdd87d4(0x227)),'error':this['emit'][_0xdd87d4(0x257)](this,_0xdd87d4(0x1ee)),'upgrade':(_0x3782e3,_0x2bb404,_0xe8a731)=>{const _0x212df7=_0xdd87d4;this[_0x212df7(0x215)](_0x3782e3,_0x2bb404,_0xe8a731,_0x326d92);}});}_0x1c239d[_0xdd87d4(0x23a)]===!0x0&&(_0x1c239d['perMessageDeflate']={}),_0x1c239d[_0xdd87d4(0x1a3)]&&(this[_0xdd87d4(0x1eb)]=new Set(),this[_0xdd87d4(0x1f8)]=!0x1),this[_0xdd87d4(0x2a7)]=_0x1c239d,this[_0xdd87d4(0x141)]=_0x3c9fb5;}[_0x20f01a(0x290)](){const _0x1c28ad=_0x20f01a;if(this[_0x1c28ad(0x2a7)]['noServer'])throw new Error(_0x1c28ad(0x1de));return this['_server']?this[_0x1c28ad(0x110)][_0x1c28ad(0x290)]():null;}[_0x20f01a(0x21d)](_0x2203a8){const _0x4ad8e8=_0x20f01a;if(this[_0x4ad8e8(0x141)]===_0x1ba3b8){_0x2203a8&&this[_0x4ad8e8(0x133)](_0x4ad8e8(0x21d),()=>{const _0xdada79=_0x4ad8e8;_0x2203a8(new Error(_0xdada79(0x258)));}),process[_0x4ad8e8(0x231)](_0x256145,this);return;}if(_0x2203a8&&this[_0x4ad8e8(0x133)](_0x4ad8e8(0x21d),_0x2203a8),this[_0x4ad8e8(0x141)]!==_0x47f096){if(this['_state']=_0x47f096,this['options'][_0x4ad8e8(0x1b0)]||this[_0x4ad8e8(0x2a7)][_0x4ad8e8(0x16c)])this[_0x4ad8e8(0x110)]&&(this[_0x4ad8e8(0x164)](),this[_0x4ad8e8(0x164)]=this[_0x4ad8e8(0x110)]=null),this['clients']?this[_0x4ad8e8(0x1eb)][_0x4ad8e8(0x135)]?this[_0x4ad8e8(0x1f8)]=!0x0:process[_0x4ad8e8(0x231)](_0x256145,this):process['nextTick'](_0x256145,this);else{const _0x5755cf=this[_0x4ad8e8(0x110)];this['_removeListeners'](),this[_0x4ad8e8(0x164)]=this[_0x4ad8e8(0x110)]=null,_0x5755cf[_0x4ad8e8(0x21d)](()=>{_0x256145(this);});}}}[_0x20f01a(0x260)](_0x51fb80){const _0x58d80a=_0x20f01a;if(this[_0x58d80a(0x2a7)][_0x58d80a(0x240)]){const _0x2059c2=_0x51fb80['url'][_0x58d80a(0x274)]('?');if((_0x2059c2!==-0x1?_0x51fb80['url'][_0x58d80a(0x13d)](0x0,_0x2059c2):_0x51fb80['url'])!==this[_0x58d80a(0x2a7)][_0x58d80a(0x240)])return!0x1;}return!0x0;}['handleUpgrade'](_0x37c3cd,_0x23a63c,_0x42536c,_0x147cfa){const _0x51f5c1=_0x20f01a;_0x23a63c['on'](_0x51f5c1(0x1ee),_0x502a84);const _0x40081c=_0x37c3cd[_0x51f5c1(0x150)]['sec-websocket-key'],_0x2c96fc=_0x37c3cd['headers'][_0x51f5c1(0x14a)],_0x77cd0e=+_0x37c3cd[_0x51f5c1(0x150)][_0x51f5c1(0x10f)];if(_0x37c3cd[_0x51f5c1(0x24d)]!=='GET'){_0x406801(this,_0x37c3cd,_0x23a63c,0x195,_0x51f5c1(0x191));return;}if(_0x2c96fc===void 0x0||_0x2c96fc[_0x51f5c1(0x22f)]()!==_0x51f5c1(0x195)){_0x406801(this,_0x37c3cd,_0x23a63c,0x190,_0x51f5c1(0x1e2));return;}if(_0x40081c===void 0x0||!_0x49f633[_0x51f5c1(0x27b)](_0x40081c)){_0x406801(this,_0x37c3cd,_0x23a63c,0x190,_0x51f5c1(0x19d));return;}if(_0x77cd0e!==0xd&&_0x77cd0e!==0x8){_0x406801(this,_0x37c3cd,_0x23a63c,0x190,_0x51f5c1(0x2b9),{'Sec-WebSocket-Version':_0x51f5c1(0x139)});return;}if(!this[_0x51f5c1(0x260)](_0x37c3cd)){_0xcf3a9(_0x23a63c,0x190);return;}const _0x4cc237=_0x37c3cd[_0x51f5c1(0x150)]['sec-websocket-protocol'];let _0x918a5e=new Set();if(_0x4cc237!==void 0x0)try{_0x918a5e=_0x59ef7b[_0x51f5c1(0x146)](_0x4cc237);}catch{_0x406801(this,_0x37c3cd,_0x23a63c,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0xf9888e=_0x37c3cd[_0x51f5c1(0x150)][_0x51f5c1(0x1a7)],_0x2afd72={};if(this[_0x51f5c1(0x2a7)]['perMessageDeflate']&&_0xf9888e!==void 0x0){const _0x4dff32=new _0x24ecc3(this[_0x51f5c1(0x2a7)][_0x51f5c1(0x23a)],!0x0,this[_0x51f5c1(0x2a7)][_0x51f5c1(0x181)]);try{const _0x5b6687=_0xead547[_0x51f5c1(0x146)](_0xf9888e);_0x5b6687[_0x24ecc3[_0x51f5c1(0x18c)]]&&(_0x4dff32[_0x51f5c1(0x1a0)](_0x5b6687[_0x24ecc3[_0x51f5c1(0x18c)]]),_0x2afd72[_0x24ecc3['extensionName']]=_0x4dff32);}catch{_0x406801(this,_0x37c3cd,_0x23a63c,0x190,_0x51f5c1(0x109));return;}}if(this['options'][_0x51f5c1(0x137)]){const _0x41dc01={'origin':_0x37c3cd['headers'][''+(_0x77cd0e===0x8?_0x51f5c1(0x197):_0x51f5c1(0x262))],'secure':!!(_0x37c3cd[_0x51f5c1(0x1ba)]['authorized']||_0x37c3cd[_0x51f5c1(0x1ba)][_0x51f5c1(0x112)]),'req':_0x37c3cd};if(this[_0x51f5c1(0x2a7)][_0x51f5c1(0x137)][_0x51f5c1(0x20c)]===0x2){this[_0x51f5c1(0x2a7)]['verifyClient'](_0x41dc01,(_0x57a5d6,_0x316252,_0x440e85,_0x1e9e30)=>{if(!_0x57a5d6)return _0xcf3a9(_0x23a63c,_0x316252||0x191,_0x440e85,_0x1e9e30);this['completeUpgrade'](_0x2afd72,_0x40081c,_0x918a5e,_0x37c3cd,_0x23a63c,_0x42536c,_0x147cfa);});return;}if(!this['options']['verifyClient'](_0x41dc01))return _0xcf3a9(_0x23a63c,0x191);}this[_0x51f5c1(0x1cd)](_0x2afd72,_0x40081c,_0x918a5e,_0x37c3cd,_0x23a63c,_0x42536c,_0x147cfa);}[_0x20f01a(0x1cd)](_0x3494c9,_0x1cca6a,_0x19f3c8,_0x3c56f3,_0x42b7e3,_0x3e6aa6,_0x334aff){const _0x31e1e6=_0x20f01a;if(!_0x42b7e3[_0x31e1e6(0x268)]||!_0x42b7e3[_0x31e1e6(0x123)])return _0x42b7e3[_0x31e1e6(0x20b)]();if(_0x42b7e3[_0x35ce1f])throw new Error(_0x31e1e6(0x1ca));if(this['_state']>_0x3c9fb5)return _0xcf3a9(_0x42b7e3,0x1f7);const _0x5cd0c0=[_0x31e1e6(0x15d),_0x31e1e6(0x1fc),_0x31e1e6(0x244),'Sec-WebSocket-Accept:\x20'+_0x164f53(_0x31e1e6(0x265))[_0x31e1e6(0x2b8)](_0x1cca6a+_0x4ee98c)[_0x31e1e6(0x14f)](_0x31e1e6(0x27a))],_0x38e3a8=new this['options'][(_0x31e1e6(0x1f7))](null,void 0x0,this[_0x31e1e6(0x2a7)]);if(_0x19f3c8[_0x31e1e6(0x135)]){const _0x3220ac=this[_0x31e1e6(0x2a7)]['handleProtocols']?this[_0x31e1e6(0x2a7)][_0x31e1e6(0x151)](_0x19f3c8,_0x3c56f3):_0x19f3c8[_0x31e1e6(0x1df)]()['next']()[_0x31e1e6(0x212)];_0x3220ac&&(_0x5cd0c0['push']('Sec-WebSocket-Protocol:\x20'+_0x3220ac),_0x38e3a8[_0x31e1e6(0x1c4)]=_0x3220ac);}if(_0x3494c9[_0x24ecc3[_0x31e1e6(0x18c)]]){const _0x430b0c=_0x3494c9[_0x24ecc3['extensionName']][_0x31e1e6(0x19b)],_0x2c5204=_0xead547['format']({[_0x24ecc3[_0x31e1e6(0x18c)]]:[_0x430b0c]});_0x5cd0c0['push'](_0x31e1e6(0x2af)+_0x2c5204),_0x38e3a8[_0x31e1e6(0x126)]=_0x3494c9;}this[_0x31e1e6(0x1fb)](_0x31e1e6(0x150),_0x5cd0c0,_0x3c56f3),_0x42b7e3[_0x31e1e6(0x211)](_0x5cd0c0['concat']('\x0d\x0a')[_0x31e1e6(0x1c8)]('\x0d\x0a')),_0x42b7e3['removeListener'](_0x31e1e6(0x1ee),_0x502a84),_0x38e3a8[_0x31e1e6(0x16b)](_0x42b7e3,_0x3e6aa6,{'allowSynchronousEvents':this[_0x31e1e6(0x2a7)][_0x31e1e6(0x13b)],'maxPayload':this['options'][_0x31e1e6(0x181)],'skipUTF8Validation':this[_0x31e1e6(0x2a7)]['skipUTF8Validation']}),this[_0x31e1e6(0x1eb)]&&(this[_0x31e1e6(0x1eb)][_0x31e1e6(0x115)](_0x38e3a8),_0x38e3a8['on']('close',()=>{const _0x4a1446=_0x31e1e6;this[_0x4a1446(0x1eb)][_0x4a1446(0x256)](_0x38e3a8),this['_shouldEmitClose']&&!this[_0x4a1446(0x1eb)]['size']&&process[_0x4a1446(0x231)](_0x256145,this);})),_0x334aff(_0x38e3a8,_0x3c56f3);}}Te=_0x16e155;function _0x424c58(_0x5d1990,_0x5c005b){const _0x4d4862=_0x20f01a;for(const _0x1935e2 of Object[_0x4d4862(0x125)](_0x5c005b))_0x5d1990['on'](_0x1935e2,_0x5c005b[_0x1935e2]);return function(){const _0x5829ff=_0x4d4862;for(const _0x22b6d0 of Object[_0x5829ff(0x125)](_0x5c005b))_0x5d1990[_0x5829ff(0x2ba)](_0x22b6d0,_0x5c005b[_0x22b6d0]);};}function _0x256145(_0x24ca1c){_0x24ca1c['_state']=_0x1ba3b8,_0x24ca1c['emit']('close');}function _0x502a84(){this['destroy']();}function _0xcf3a9(_0x177787,_0xaea81d,_0x3d5390,_0x2bdd76){const _0x1ef2cc=_0x20f01a;_0x3d5390=_0x3d5390||_0x31dd2c[_0x1ef2cc(0x136)][_0xaea81d],_0x2bdd76={'Connection':_0x1ef2cc(0x21d),'Content-Type':'text/html','Content-Length':Buffer['byteLength'](_0x3d5390),..._0x2bdd76},_0x177787[_0x1ef2cc(0x133)](_0x1ef2cc(0x234),_0x177787[_0x1ef2cc(0x20b)]),_0x177787[_0x1ef2cc(0x18d)](_0x1ef2cc(0x288)+_0xaea81d+'\x20'+_0x31dd2c[_0x1ef2cc(0x136)][_0xaea81d]+'\x0d\x0a'+Object['keys'](_0x2bdd76)[_0x1ef2cc(0x1b9)](_0x5e8dba=>_0x5e8dba+':\x20'+_0x2bdd76[_0x5e8dba])[_0x1ef2cc(0x1c8)]('\x0d\x0a')+_0x1ef2cc(0x12b)+_0x3d5390);}function _0x406801(_0xb5bd73,_0x11c3e9,_0x12e990,_0x5416f3,_0x1ce0be,_0x2efb2e){const _0x108656=_0x20f01a;if(_0xb5bd73[_0x108656(0x2a8)]('wsClientError')){const _0x9c854c=new Error(_0x1ce0be);Error[_0x108656(0x1e3)](_0x9c854c,_0x406801),_0xb5bd73[_0x108656(0x1fb)](_0x108656(0x154),_0x9c854c,_0x12e990,_0x11c3e9);}else _0xcf3a9(_0x12e990,_0x5416f3,_0x1ce0be,_0x2efb2e);}return Te;}er();var tr=Object[_0x349af5(0x13c)],rr=(_0x26d86d,_0x209492,_0x1e7bef,_0x427259)=>{const _0x51a110=_0x349af5;for(var _0x44834a=_0x427259>0x1?void 0x0:_0x427259?tr(_0x209492,_0x1e7bef):_0x209492,_0x2e24a2=_0x26d86d[_0x51a110(0x20c)]-0x1,_0x20ff3f;_0x2e24a2>=0x0;_0x2e24a2--)(_0x20ff3f=_0x26d86d[_0x2e24a2])&&(_0x44834a=_0x20ff3f(_0x44834a)||_0x44834a);return _0x44834a;},sr=(_0x5f1788,_0x28c477)=>(_0x482c4f,_0x1948ea)=>_0x28c477(_0x482c4f,_0x1948ea,_0x5f1788);let Ne=class extends _0x207033{constructor(_0xf47f9d){const _0x7243bb=_0x349af5;super(),this[_0x7243bb(0x2b5)]=_0xf47f9d;}[_0x349af5(0x2a9)](_0xf7ae71){const _0x874753=_0x349af5;var _0x4afaf4;const _0x21baf1=(_0x4afaf4=this[_0x874753(0x2b5)][_0x874753(0x13f)](Be))==null?void 0x0:_0x4afaf4[_0x874753(0x1ab)];try{const _0x2cb703=new Qt(_0xf7ae71,{'headers':{..._0x21baf1}}),_0x519d55=new _0x55d4db();return{'URL':_0xf7ae71,'close':(_0x290fa3,_0x355495)=>{const _0x38e32a=_0x874753;_0x2cb703[_0x38e32a(0x21d)](_0x290fa3,_0x355495),_0x519d55[_0x38e32a(0x27c)]();},'send':_0x3b0a17=>{_0x2cb703['send'](_0x3b0a17);},'open$':new _0x500793(_0x4e702c=>{const _0x183f49=_0x874753,_0x3d0a61=_0x45335c=>_0x4e702c[_0x183f49(0x1f6)](_0x45335c);_0x2cb703[_0x183f49(0x15c)](_0x183f49(0x20e),_0x3d0a61),_0x519d55[_0x183f49(0x115)](_0x567657(()=>_0x2cb703[_0x183f49(0x187)](_0x183f49(0x20e),_0x3d0a61)));})[_0x874753(0x1e9)](_0x2499ad()),'close$':new _0x500793(_0x3ab9b7=>{const _0xd9644c=_0x874753,_0x128c03=_0x5d00a9=>_0x3ab9b7['next'](_0x5d00a9);_0x2cb703['addEventListener'](_0xd9644c(0x21d),_0x128c03),_0x519d55[_0xd9644c(0x115)](_0x567657(()=>_0x2cb703[_0xd9644c(0x187)](_0xd9644c(0x21d),_0x128c03)));})[_0x874753(0x1e9)](_0x2499ad()),'error$':new _0x500793(_0x4d77d7=>{const _0x4481fe=_0x874753,_0xbbcd8=_0x203d72=>_0x4d77d7[_0x4481fe(0x1f6)](_0x203d72);_0x2cb703[_0x4481fe(0x15c)](_0x4481fe(0x1ee),_0xbbcd8),_0x519d55[_0x4481fe(0x115)](_0x567657(()=>_0x2cb703[_0x4481fe(0x187)]('error',_0xbbcd8)));})['pipe'](_0x2499ad()),'message$':new _0x500793(_0x19cbbb=>{const _0x4bc534=_0x874753,_0x3ca6e1=_0x368741=>_0x19cbbb[_0x4bc534(0x1f6)](_0x368741);_0x2cb703[_0x4bc534(0x15c)](_0x4bc534(0x271),_0x3ca6e1),_0x519d55[_0x4bc534(0x115)](_0x567657(()=>_0x2cb703[_0x4bc534(0x187)](_0x4bc534(0x271),_0x3ca6e1)));})['pipe'](_0x2499ad())};}catch(_0x7cc3e1){return console[_0x874753(0x1ee)](_0x7cc3e1),null;}}};Ne=rr([sr(0x0,_0x4b2a14)],Ne);var ir=Object[_0x349af5(0x173)],nr=Object['getOwnPropertyDescriptor'],or=(_0x3cdc76,_0x425652,_0x191270)=>_0x425652 in _0x3cdc76?ir(_0x3cdc76,_0x425652,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x191270}):_0x3cdc76[_0x425652]=_0x191270,ar=(_0x3356e1,_0x1fbf3c,_0x3ed173,_0x44609d)=>{for(var _0x587c38=_0x44609d>0x1?void 0x0:_0x44609d?nr(_0x1fbf3c,_0x3ed173):_0x1fbf3c,_0x1cfd50=_0x3356e1['length']-0x1,_0xa3a3c6;_0x1cfd50>=0x0;_0x1cfd50--)(_0xa3a3c6=_0x3356e1[_0x1cfd50])&&(_0x587c38=_0xa3a3c6(_0x587c38)||_0x587c38);return _0x587c38;},ke=(_0x5941ca,_0x3915e5)=>(_0x36f557,_0x297667)=>_0x3915e5(_0x36f557,_0x297667,_0x5941ca),lr=(_0x5333aa,_0x499fb6,_0x4acb7c)=>or(_0x5333aa,_0x499fb6+'',_0x4acb7c);let Pe=class extends _0x17bdd7{constructor(_0x5115d2=Ft,_0x2022bf,_0x5c940f,_0x263e46){const _0x4075a=_0x349af5;_0x5115d2['customHeaders']||_0x2022bf[_0x4075a(0x198)](_0x4075a(0x243)),super(),this[_0x4075a(0x2b5)]=_0x5c940f,this[_0x4075a(0x170)]=_0x263e46,this['_configService']['setConfig'](Be,_0x5115d2);}[_0x349af5(0x145)](){this['_registerDependencies']();}[_0x349af5(0x18f)](){const _0x1a8265=_0x349af5;_0x3432af(this[_0x1a8265(0x170)],[[_0x2eea2a,{'useClass':Ne}]]);}};lr(Pe,_0x349af5(0x1f5),_0x349af5(0x2bb)),Pe=ar([_0x535022(_0x158907),ke(0x1,_0x2e58fe),ke(0x2,_0x4b2a14),ke(0x3,_0x1f0841(_0x1f3a56))],Pe);var fr=Object[_0x349af5(0x13c)],cr=(_0xf61f7d,_0x1ff606,_0x5a46f1,_0x6055ad)=>{const _0x1ec4f5=_0x349af5;for(var _0x454c9a=_0x6055ad>0x1?void 0x0:_0x6055ad?fr(_0x1ff606,_0x5a46f1):_0x1ff606,_0x5c7b30=_0xf61f7d[_0x1ec4f5(0x20c)]-0x1,_0x305911;_0x5c7b30>=0x0;_0x5c7b30--)(_0x305911=_0xf61f7d[_0x5c7b30])&&(_0x454c9a=_0x305911(_0x454c9a)||_0x454c9a);return _0x454c9a;},se=(_0x432aeb,_0x2d9423)=>(_0x5a9524,_0x2ca84e)=>_0x2d9423(_0x5a9524,_0x2ca84e,_0x432aeb);let at=class extends _0xdec34e{constructor(_0x570ffc,_0x1cf104,_0xe5f8a9,_0x22f59e,_0xb8c7ac){const _0x15505b=_0x349af5;super(_0x570ffc,_0x1cf104,_0xe5f8a9,_0x22f59e,_0xb8c7ac);const _0x5db2b8=this[_0x15505b(0x2b5)]['getConfig'](Be);this['_httpService'][_0x15505b(0x287)]({'interceptor':(_0x2ebe46,_0x18dd9c)=>{const _0xc5b19=_0x15505b;var _0x1f3d64;const _0x18eaf6=_0x2ebe46[_0xc5b19(0x150)];return(_0x1f3d64=_0x5db2b8==null?void 0x0:_0x5db2b8[_0xc5b19(0x1ab)])!=null&&_0x1f3d64[_0xc5b19(0x1aa)]&&_0x18eaf6[_0xc5b19(0x223)](_0xc5b19(0x152),_0x5db2b8['customHeaders'][_0xc5b19(0x1aa)]),_0x18dd9c(_0x2ebe46);}});}async['createSocket'](_0x2ba6bf){const _0x5b5f38=_0x349af5;return this[_0x5b5f38(0x230)](_0x2ba6bf);}};at=cr([se(0x0,_0x1f0841(_0x1f3a56)),se(0x1,_0x1f0841(_0x2ec6d2)),se(0x2,_0x4b2a14),se(0x3,_0x2e58fe),se(0x4,_0x336f39)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|