@univerjs-pro/collaboration-client-node 0.8.0-nightly.202506031608 → 0.8.0-nightly.202506051607

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0x33b6d8=_0x14a6;(function(_0x3f9706,_0x3ea890){const _0x36b9ce=_0x14a6,_0x42d92b=_0x3f9706();while(!![]){try{const _0x2369af=-parseInt(_0x36b9ce(0x25b))/0x1*(parseInt(_0x36b9ce(0x1e1))/0x2)+parseInt(_0x36b9ce(0x329))/0x3*(-parseInt(_0x36b9ce(0x1e8))/0x4)+parseInt(_0x36b9ce(0x1c9))/0x5+parseInt(_0x36b9ce(0x1d4))/0x6*(-parseInt(_0x36b9ce(0x316))/0x7)+-parseInt(_0x36b9ce(0x32f))/0x8*(parseInt(_0x36b9ce(0x319))/0x9)+-parseInt(_0x36b9ce(0x30b))/0xa*(-parseInt(_0x36b9ce(0x25e))/0xb)+parseInt(_0x36b9ce(0x223))/0xc*(parseInt(_0x36b9ce(0x1fe))/0xd);if(_0x2369af===_0x3ea890)break;else _0x42d92b['push'](_0x42d92b['shift']());}catch(_0x3565bf){_0x42d92b['push'](_0x42d92b['shift']());}}}(_0x4371,0x5d026));import{UniverCollaborationClientPlugin as _0x2b920c,CollaborationSocketService as _0x1f6f35}from'@univerjs-pro/collaboration-client';import{Disposable as _0x5c74db,DisposableCollection as _0x31dddf,toDisposable as _0x50585f,IConfigService as _0x5ca765,DependentOn as _0x2a4eda,ILogService as _0x4fe3ee,Inject as _0x11f8a1,Injector as _0x23f520,Plugin as _0x14674b,registerDependencies as _0x18f53f}from'@univerjs/core';import{ISocketService as _0x53ef4b,HTTPService as _0x3ed6b6}from'@univerjs/network';import{Observable as _0x515040,share as _0x1df6fe}from'rxjs';import _0x430b2b from'events';import _0x52939d from'https';import _0x5d432a from'http';import _0x5152b9 from'net';import _0x766391 from'tls';import _0x8ecdb4 from'crypto';import _0x1863ea from'stream';import _0x385a17 from'url';import _0x351836 from'zlib';import _0x399596 from'buffer';import{ISnapshotServerService as _0x2a4661}from'@univerjs-pro/collaboration';const Be=_0x33b6d8(0x284),Ft={'customHeaders':{}};function jt(_0x31a9f2){const _0x1a79d5=_0x33b6d8;return _0x31a9f2&&_0x31a9f2['__esModule']&&Object['prototype'][_0x1a79d5(0x2ba)][_0x1a79d5(0x1ce)](_0x31a9f2,_0x1a79d5(0x27b))?_0x31a9f2[_0x1a79d5(0x27b)]:_0x31a9f2;}function ut(_0x3fb03d){const _0x1e11f7=_0x33b6d8;if(Object[_0x1e11f7(0x246)]['hasOwnProperty']['call'](_0x3fb03d,'__esModule'))return _0x3fb03d;var _0xc486ad=_0x3fb03d[_0x1e11f7(0x27b)];if(typeof _0xc486ad==_0x1e11f7(0x29e)){var _0x416e68=function _0x471472(){const _0x56b7a7=_0x1e11f7;return this instanceof _0x471472?Reflect[_0x56b7a7(0x1cb)](_0xc486ad,arguments,this[_0x56b7a7(0x310)]):_0xc486ad['apply'](this,arguments);};_0x416e68[_0x1e11f7(0x246)]=_0xc486ad['prototype'];}else _0x416e68={};return Object[_0x1e11f7(0x1f2)](_0x416e68,_0x1e11f7(0x234),{'value':!0x0}),Object[_0x1e11f7(0x2e6)](_0x3fb03d)[_0x1e11f7(0x1f7)](function(_0x4d6f3e){const _0x55ff42=_0x1e11f7;var _0x3b0a4e=Object[_0x55ff42(0x1d3)](_0x3fb03d,_0x4d6f3e);Object[_0x55ff42(0x1f2)](_0x416e68,_0x4d6f3e,_0x3b0a4e[_0x55ff42(0x2e0)]?_0x3b0a4e:{'enumerable':!0x0,'get':function(){return _0x3fb03d[_0x4d6f3e];}});}),_0x416e68;}var te={'exports':{}},ge,Ye;function V(){const _0xc61616=_0x33b6d8;if(Ye)return ge;Ye=0x1;const _0x37de82=[_0xc61616(0x26a),_0xc61616(0x1b6),_0xc61616(0x31b)],_0x305887=typeof Blob<'u';return _0x305887&&_0x37de82['push']('blob'),ge={'BINARY_TYPES':_0x37de82,'EMPTY_BUFFER':Buffer[_0xc61616(0x20a)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x305887,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0xc61616(0x318)),'kStatusCode':Symbol(_0xc61616(0x229)),'kWebSocket':Symbol(_0xc61616(0x227)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x33b6d8(0x274)](Object[_0x33b6d8(0x1f2)]({'__proto__':null,'default':Wt},Symbol[_0x33b6d8(0x271)],{'value':_0x33b6d8(0x2a1)})),Vt=ut(Gt);var Ke;function ce(){const _0x5c88cd=_0x33b6d8;if(Ke)return te[_0x5c88cd(0x23a)];Ke=0x1;const {EMPTY_BUFFER:_0x2df660}=V(),_0x2eee14=Buffer[Symbol[_0x5c88cd(0x212)]];function _0x2bc3d6(_0x2cfb05,_0x37654a){const _0x4d2dce=_0x5c88cd;if(_0x2cfb05['length']===0x0)return _0x2df660;if(_0x2cfb05[_0x4d2dce(0x2e2)]===0x1)return _0x2cfb05[0x0];const _0xb2083e=Buffer[_0x4d2dce(0x217)](_0x37654a);let _0x48a9a3=0x0;for(let _0x48a082=0x0;_0x48a082<_0x2cfb05['length'];_0x48a082++){const _0x2c745c=_0x2cfb05[_0x48a082];_0xb2083e[_0x4d2dce(0x2bf)](_0x2c745c,_0x48a9a3),_0x48a9a3+=_0x2c745c[_0x4d2dce(0x2e2)];}return _0x48a9a3<_0x37654a?new _0x2eee14(_0xb2083e['buffer'],_0xb2083e['byteOffset'],_0x48a9a3):_0xb2083e;}function _0x2b80d7(_0xb08c7b,_0xfa9611,_0x34e31c,_0x25aad8,_0x522419){for(let _0x4be0fa=0x0;_0x4be0fa<_0x522419;_0x4be0fa++)_0x34e31c[_0x25aad8+_0x4be0fa]=_0xb08c7b[_0x4be0fa]^_0xfa9611[_0x4be0fa&0x3];}function _0x2a8b22(_0x52812d,_0x37ad9d){for(let _0x142be7=0x0;_0x142be7<_0x52812d['length'];_0x142be7++)_0x52812d[_0x142be7]^=_0x37ad9d[_0x142be7&0x3];}function _0x966340(_0x58b4b9){const _0x5f087c=_0x5c88cd;return _0x58b4b9[_0x5f087c(0x2e2)]===_0x58b4b9[_0x5f087c(0x1e9)]['byteLength']?_0x58b4b9[_0x5f087c(0x1e9)]:_0x58b4b9['buffer'][_0x5f087c(0x287)](_0x58b4b9[_0x5f087c(0x1d6)],_0x58b4b9['byteOffset']+_0x58b4b9['length']);}function _0x1db75c(_0x2c1b8b){const _0x428403=_0x5c88cd;if(_0x1db75c['readOnly']=!0x0,Buffer['isBuffer'](_0x2c1b8b))return _0x2c1b8b;let _0x3afc84;return _0x2c1b8b instanceof ArrayBuffer?_0x3afc84=new _0x2eee14(_0x2c1b8b):ArrayBuffer[_0x428403(0x328)](_0x2c1b8b)?_0x3afc84=new _0x2eee14(_0x2c1b8b[_0x428403(0x1e9)],_0x2c1b8b[_0x428403(0x1d6)],_0x2c1b8b[_0x428403(0x311)]):(_0x3afc84=Buffer[_0x428403(0x25c)](_0x2c1b8b),_0x1db75c[_0x428403(0x2c6)]=!0x1),_0x3afc84;}if(te['exports']={'concat':_0x2bc3d6,'mask':_0x2b80d7,'toArrayBuffer':_0x966340,'toBuffer':_0x1db75c,'unmask':_0x2a8b22},!process[_0x5c88cd(0x2db)][_0x5c88cd(0x1f6)])try{const _0x4c2cd5=Vt;te[_0x5c88cd(0x23a)][_0x5c88cd(0x221)]=function(_0x53a647,_0x383828,_0xcd737e,_0x227921,_0x5d1b90){const _0x130c35=_0x5c88cd;_0x5d1b90<0x30?_0x2b80d7(_0x53a647,_0x383828,_0xcd737e,_0x227921,_0x5d1b90):_0x4c2cd5[_0x130c35(0x221)](_0x53a647,_0x383828,_0xcd737e,_0x227921,_0x5d1b90);},te[_0x5c88cd(0x23a)][_0x5c88cd(0x1c1)]=function(_0x5a40d8,_0x2e0211){const _0x3f627e=_0x5c88cd;_0x5a40d8[_0x3f627e(0x2e2)]<0x20?_0x2a8b22(_0x5a40d8,_0x2e0211):_0x4c2cd5[_0x3f627e(0x1c1)](_0x5a40d8,_0x2e0211);};}catch{}return te[_0x5c88cd(0x23a)];}var ye,Xe;function _0x14a6(_0x12d5c9,_0x222fd2){const _0x437191=_0x4371();return _0x14a6=function(_0x14a64d,_0x40839b){_0x14a64d=_0x14a64d-0x1a1;let _0x40fb9d=_0x437191[_0x14a64d];return _0x40fb9d;},_0x14a6(_0x12d5c9,_0x222fd2);}function qt(){const _0x4c786d=_0x33b6d8;if(Xe)return ye;Xe=0x1;const _0x333d80=Symbol(_0x4c786d(0x1d2)),_0x3c216b=Symbol('kRun');class _0x2646c9{constructor(_0x35a6da){const _0x870f6e=_0x4c786d;this[_0x333d80]=()=>{const _0x1c1453=_0x14a6;this[_0x1c1453(0x32e)]--,this[_0x3c216b]();},this[_0x870f6e(0x343)]=_0x35a6da||0x1/0x0,this[_0x870f6e(0x1fc)]=[],this['pending']=0x0;}['add'](_0x1d3224){const _0x54bfd3=_0x4c786d;this[_0x54bfd3(0x1fc)]['push'](_0x1d3224),this[_0x3c216b]();}[_0x3c216b](){const _0x64a374=_0x4c786d;if(this[_0x64a374(0x32e)]!==this['concurrency']&&this[_0x64a374(0x1fc)][_0x64a374(0x2e2)]){const _0x28396c=this[_0x64a374(0x1fc)]['shift']();this[_0x64a374(0x32e)]++,_0x28396c(this[_0x333d80]);}}}return ye=_0x2646c9,ye;}var ve,Ze;function he(){const _0x4d848a=_0x33b6d8;if(Ze)return ve;Ze=0x1;const _0x46ec82=_0x351836,_0x5aa614=ce(),_0x3e6c3b=qt(),{kStatusCode:_0x322a66}=V(),_0x23a891=Buffer[Symbol[_0x4d848a(0x212)]],_0x53fedc=Buffer['from']([0x0,0x0,0xff,0xff]),_0x449e7a=Symbol(_0x4d848a(0x2b2)),_0x144926=Symbol(_0x4d848a(0x30e)),_0x2870af=Symbol('callback'),_0x5d3d60=Symbol(_0x4d848a(0x2a8)),_0xeabcad=Symbol('error');let _0x3fd0bf;class _0x2418b2{constructor(_0xce606a,_0x3d1da4,_0x2fe060){const _0x14e72b=_0x4d848a;if(this[_0x14e72b(0x2dc)]=_0x2fe060|0x0,this[_0x14e72b(0x211)]=_0xce606a||{},this[_0x14e72b(0x28b)]=this[_0x14e72b(0x211)]['threshold']!==void 0x0?this[_0x14e72b(0x211)][_0x14e72b(0x2c1)]:0x400,this[_0x14e72b(0x1b4)]=!!_0x3d1da4,this[_0x14e72b(0x273)]=null,this['_inflate']=null,this[_0x14e72b(0x21e)]=null,!_0x3fd0bf){const _0x38ef94=this['_options']['concurrencyLimit']!==void 0x0?this['_options'][_0x14e72b(0x259)]:0xa;_0x3fd0bf=new _0x3e6c3b(_0x38ef94);}}static get[_0x4d848a(0x29a)](){const _0x2da0be=_0x4d848a;return _0x2da0be(0x2b2);}[_0x4d848a(0x32d)](){const _0x1c2f1d=_0x4d848a,_0x304d02={};return this[_0x1c2f1d(0x211)][_0x1c2f1d(0x1dd)]&&(_0x304d02[_0x1c2f1d(0x1f3)]=!0x0),this[_0x1c2f1d(0x211)][_0x1c2f1d(0x306)]&&(_0x304d02[_0x1c2f1d(0x1e6)]=!0x0),this[_0x1c2f1d(0x211)][_0x1c2f1d(0x33e)]&&(_0x304d02[_0x1c2f1d(0x2d5)]=this[_0x1c2f1d(0x211)][_0x1c2f1d(0x33e)]),this['_options']['clientMaxWindowBits']?_0x304d02[_0x1c2f1d(0x34e)]=this[_0x1c2f1d(0x211)][_0x1c2f1d(0x335)]:this[_0x1c2f1d(0x211)][_0x1c2f1d(0x335)]==null&&(_0x304d02[_0x1c2f1d(0x34e)]=!0x0),_0x304d02;}['accept'](_0x41d6e0){const _0x38459e=_0x4d848a;return _0x41d6e0=this[_0x38459e(0x2f9)](_0x41d6e0),this[_0x38459e(0x21e)]=this[_0x38459e(0x1b4)]?this[_0x38459e(0x2f5)](_0x41d6e0):this['acceptAsClient'](_0x41d6e0),this['params'];}[_0x4d848a(0x228)](){const _0x7a12aa=_0x4d848a;if(this[_0x7a12aa(0x1dc)]&&(this[_0x7a12aa(0x1dc)][_0x7a12aa(0x308)](),this[_0x7a12aa(0x1dc)]=null),this['_deflate']){const _0x1698ac=this['_deflate'][_0x2870af];this['_deflate'][_0x7a12aa(0x308)](),this[_0x7a12aa(0x273)]=null,_0x1698ac&&_0x1698ac(new Error(_0x7a12aa(0x22e)));}}[_0x4d848a(0x2f5)](_0x5bef4d){const _0x4d812e=_0x4d848a,_0x201be2=this['_options'],_0x30605a=_0x5bef4d[_0x4d812e(0x270)](_0x354755=>!(_0x201be2[_0x4d812e(0x1dd)]===!0x1&&_0x354755['server_no_context_takeover']||_0x354755['server_max_window_bits']&&(_0x201be2[_0x4d812e(0x33e)]===!0x1||typeof _0x201be2['serverMaxWindowBits']==_0x4d812e(0x243)&&_0x201be2['serverMaxWindowBits']>_0x354755['server_max_window_bits'])||typeof _0x201be2[_0x4d812e(0x335)]==_0x4d812e(0x243)&&!_0x354755[_0x4d812e(0x34e)]));if(!_0x30605a)throw new Error(_0x4d812e(0x22d));return _0x201be2[_0x4d812e(0x1dd)]&&(_0x30605a[_0x4d812e(0x1f3)]=!0x0),_0x201be2['clientNoContextTakeover']&&(_0x30605a['client_no_context_takeover']=!0x0),typeof _0x201be2[_0x4d812e(0x33e)]==_0x4d812e(0x243)&&(_0x30605a[_0x4d812e(0x2d5)]=_0x201be2['serverMaxWindowBits']),typeof _0x201be2[_0x4d812e(0x335)]=='number'?_0x30605a['client_max_window_bits']=_0x201be2[_0x4d812e(0x335)]:(_0x30605a[_0x4d812e(0x34e)]===!0x0||_0x201be2[_0x4d812e(0x335)]===!0x1)&&delete _0x30605a['client_max_window_bits'],_0x30605a;}['acceptAsClient'](_0x2e8188){const _0x3d3c36=_0x4d848a,_0x3a6d57=_0x2e8188[0x0];if(this[_0x3d3c36(0x211)]['clientNoContextTakeover']===!0x1&&_0x3a6d57[_0x3d3c36(0x1e6)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x3a6d57[_0x3d3c36(0x34e)])typeof this[_0x3d3c36(0x211)]['clientMaxWindowBits']==_0x3d3c36(0x243)&&(_0x3a6d57[_0x3d3c36(0x34e)]=this['_options'][_0x3d3c36(0x335)]);else{if(this[_0x3d3c36(0x211)][_0x3d3c36(0x335)]===!0x1||typeof this['_options'][_0x3d3c36(0x335)]==_0x3d3c36(0x243)&&_0x3a6d57[_0x3d3c36(0x34e)]>this[_0x3d3c36(0x211)]['clientMaxWindowBits'])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x3a6d57;}['normalizeParams'](_0x241475){const _0x96dff0=_0x4d848a;return _0x241475[_0x96dff0(0x1f7)](_0x2ed755=>{const _0x5e3d0e=_0x96dff0;Object[_0x5e3d0e(0x2e6)](_0x2ed755)['forEach'](_0x2788f5=>{const _0x4df33e=_0x5e3d0e;let _0x4afa29=_0x2ed755[_0x2788f5];if(_0x4afa29['length']>0x1)throw new Error(_0x4df33e(0x1ad)+_0x2788f5+_0x4df33e(0x2c5));if(_0x4afa29=_0x4afa29[0x0],_0x2788f5==='client_max_window_bits'){if(_0x4afa29!==!0x0){const _0x53b79e=+_0x4afa29;if(!Number['isInteger'](_0x53b79e)||_0x53b79e<0x8||_0x53b79e>0xf)throw new TypeError(_0x4df33e(0x2bc)+_0x2788f5+_0x4df33e(0x2f4)+_0x4afa29);_0x4afa29=_0x53b79e;}else{if(!this[_0x4df33e(0x1b4)])throw new TypeError(_0x4df33e(0x2bc)+_0x2788f5+_0x4df33e(0x2f4)+_0x4afa29);}}else{if(_0x2788f5===_0x4df33e(0x2d5)){const _0x324c3f=+_0x4afa29;if(!Number[_0x4df33e(0x22f)](_0x324c3f)||_0x324c3f<0x8||_0x324c3f>0xf)throw new TypeError(_0x4df33e(0x2bc)+_0x2788f5+_0x4df33e(0x2f4)+_0x4afa29);_0x4afa29=_0x324c3f;}else{if(_0x2788f5===_0x4df33e(0x1e6)||_0x2788f5===_0x4df33e(0x1f3)){if(_0x4afa29!==!0x0)throw new TypeError(_0x4df33e(0x2bc)+_0x2788f5+_0x4df33e(0x2f4)+_0x4afa29);}else throw new Error(_0x4df33e(0x313)+_0x2788f5+'\x22');}}_0x2ed755[_0x2788f5]=_0x4afa29;});}),_0x241475;}['decompress'](_0x2c3230,_0x1d8339,_0x58f808){_0x3fd0bf['add'](_0xfd4f75=>{const _0x1d294b=_0x14a6;this[_0x1d294b(0x1da)](_0x2c3230,_0x1d8339,(_0x227b6f,_0x467d38)=>{_0xfd4f75(),_0x58f808(_0x227b6f,_0x467d38);});});}[_0x4d848a(0x2c3)](_0x3f70da,_0x52b0d5,_0x4a28b3){const _0x406073=_0x4d848a;_0x3fd0bf[_0x406073(0x2c9)](_0x18435d=>{this['_compress'](_0x3f70da,_0x52b0d5,(_0x542558,_0xeb9ced)=>{_0x18435d(),_0x4a28b3(_0x542558,_0xeb9ced);});});}[_0x4d848a(0x1da)](_0x5aba77,_0x388d34,_0x467752){const _0x3756a5=_0x4d848a,_0x5c9adc=this[_0x3756a5(0x1b4)]?'client':_0x3756a5(0x1ed);if(!this[_0x3756a5(0x1dc)]){const _0x1c6bfa=_0x5c9adc+'_max_window_bits',_0x7fae11=typeof this[_0x3756a5(0x21e)][_0x1c6bfa]!=_0x3756a5(0x243)?_0x46ec82[_0x3756a5(0x245)]:this[_0x3756a5(0x21e)][_0x1c6bfa];this[_0x3756a5(0x1dc)]=_0x46ec82[_0x3756a5(0x26c)]({...this[_0x3756a5(0x211)][_0x3756a5(0x2e4)],'windowBits':_0x7fae11}),this['_inflate'][_0x449e7a]=this,this[_0x3756a5(0x1dc)][_0x144926]=0x0,this[_0x3756a5(0x1dc)][_0x5d3d60]=[],this[_0x3756a5(0x1dc)]['on']('error',_0x1dc9ab),this[_0x3756a5(0x1dc)]['on'](_0x3756a5(0x2f6),_0x266788);}this[_0x3756a5(0x1dc)][_0x2870af]=_0x467752,this['_inflate'][_0x3756a5(0x2cc)](_0x5aba77),_0x388d34&&this[_0x3756a5(0x1dc)][_0x3756a5(0x2cc)](_0x53fedc),this[_0x3756a5(0x1dc)][_0x3756a5(0x1a3)](()=>{const _0x1948e5=_0x3756a5,_0x41af40=this['_inflate'][_0xeabcad];if(_0x41af40){this[_0x1948e5(0x1dc)][_0x1948e5(0x308)](),this[_0x1948e5(0x1dc)]=null,_0x467752(_0x41af40);return;}const _0xacd166=_0x5aa614['concat'](this[_0x1948e5(0x1dc)][_0x5d3d60],this[_0x1948e5(0x1dc)][_0x144926]);this[_0x1948e5(0x1dc)][_0x1948e5(0x28c)][_0x1948e5(0x258)]?(this['_inflate'][_0x1948e5(0x308)](),this[_0x1948e5(0x1dc)]=null):(this['_inflate'][_0x144926]=0x0,this[_0x1948e5(0x1dc)][_0x5d3d60]=[],_0x388d34&&this[_0x1948e5(0x21e)][_0x5c9adc+_0x1948e5(0x2a6)]&&this['_inflate']['reset']()),_0x467752(null,_0xacd166);});}[_0x4d848a(0x326)](_0x1cbd9e,_0x217834,_0x4aa3d2){const _0x5d39e5=_0x4d848a,_0x20fb77=this[_0x5d39e5(0x1b4)]?_0x5d39e5(0x1ed):'client';if(!this[_0x5d39e5(0x273)]){const _0x2944d5=_0x20fb77+_0x5d39e5(0x26f),_0x5202ea=typeof this[_0x5d39e5(0x21e)][_0x2944d5]!=_0x5d39e5(0x243)?_0x46ec82[_0x5d39e5(0x245)]:this['params'][_0x2944d5];this[_0x5d39e5(0x273)]=_0x46ec82[_0x5d39e5(0x219)]({...this[_0x5d39e5(0x211)]['zlibDeflateOptions'],'windowBits':_0x5202ea}),this[_0x5d39e5(0x273)][_0x144926]=0x0,this[_0x5d39e5(0x273)][_0x5d3d60]=[],this[_0x5d39e5(0x273)]['on']('data',_0x5e217c);}this[_0x5d39e5(0x273)][_0x2870af]=_0x4aa3d2,this['_deflate']['write'](_0x1cbd9e),this[_0x5d39e5(0x273)]['flush'](_0x46ec82[_0x5d39e5(0x31f)],()=>{const _0x44bbf4=_0x5d39e5;if(!this['_deflate'])return;let _0x3819aa=_0x5aa614[_0x44bbf4(0x2a0)](this[_0x44bbf4(0x273)][_0x5d3d60],this[_0x44bbf4(0x273)][_0x144926]);_0x217834&&(_0x3819aa=new _0x23a891(_0x3819aa[_0x44bbf4(0x1e9)],_0x3819aa[_0x44bbf4(0x1d6)],_0x3819aa[_0x44bbf4(0x2e2)]-0x4)),this[_0x44bbf4(0x273)][_0x2870af]=null,this[_0x44bbf4(0x273)][_0x144926]=0x0,this['_deflate'][_0x5d3d60]=[],_0x217834&&this[_0x44bbf4(0x21e)][_0x20fb77+_0x44bbf4(0x2a6)]&&this['_deflate'][_0x44bbf4(0x27a)](),_0x4aa3d2(null,_0x3819aa);});}}ve=_0x2418b2;function _0x5e217c(_0x2b7030){const _0x251d6a=_0x4d848a;this[_0x5d3d60]['push'](_0x2b7030),this[_0x144926]+=_0x2b7030[_0x251d6a(0x2e2)];}function _0x266788(_0x5c9a66){const _0x156f90=_0x4d848a;if(this[_0x144926]+=_0x5c9a66[_0x156f90(0x2e2)],this[_0x449e7a]['_maxPayload']<0x1||this[_0x144926]<=this[_0x449e7a][_0x156f90(0x2dc)]){this[_0x5d3d60][_0x156f90(0x2b3)](_0x5c9a66);return;}this[_0xeabcad]=new RangeError(_0x156f90(0x2f1)),this[_0xeabcad][_0x156f90(0x236)]=_0x156f90(0x1b0),this[_0xeabcad][_0x322a66]=0x3f1,this[_0x156f90(0x1c2)](_0x156f90(0x2f6),_0x266788),this[_0x156f90(0x27a)]();}function _0x1dc9ab(_0x4735bc){const _0x299bde=_0x4d848a;if(this[_0x449e7a][_0x299bde(0x1dc)]=null,this[_0xeabcad]){this[_0x2870af](this[_0xeabcad]);return;}_0x4735bc[_0x322a66]=0x3ef,this[_0x2870af](_0x4735bc);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x33b6d8(0x274)](Object['defineProperty']({'__proto__':null,'default':Ht},Symbol[_0x33b6d8(0x271)],{'value':_0x33b6d8(0x2a1)})),Yt=ut(zt);var Qe;function ne(){const _0x3ee85a=_0x33b6d8;if(Qe)return re[_0x3ee85a(0x23a)];Qe=0x1;const {isUtf8:_0x4f6f4f}=_0x399596,{hasBlob:_0xfb5c00}=V(),_0x2e3337=[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 _0x39fdca(_0x377f0b){return _0x377f0b>=0x3e8&&_0x377f0b<=0x3f6&&_0x377f0b!==0x3ec&&_0x377f0b!==0x3ed&&_0x377f0b!==0x3ee||_0x377f0b>=0xbb8&&_0x377f0b<=0x1387;}function _0x5e3676(_0x5e6207){const _0xfd913e=_0x5e6207['length'];let _0x3f7023=0x0;for(;_0x3f7023<_0xfd913e;)if((_0x5e6207[_0x3f7023]&0x80)===0x0)_0x3f7023++;else{if((_0x5e6207[_0x3f7023]&0xe0)===0xc0){if(_0x3f7023+0x1===_0xfd913e||(_0x5e6207[_0x3f7023+0x1]&0xc0)!==0x80||(_0x5e6207[_0x3f7023]&0xfe)===0xc0)return!0x1;_0x3f7023+=0x2;}else{if((_0x5e6207[_0x3f7023]&0xf0)===0xe0){if(_0x3f7023+0x2>=_0xfd913e||(_0x5e6207[_0x3f7023+0x1]&0xc0)!==0x80||(_0x5e6207[_0x3f7023+0x2]&0xc0)!==0x80||_0x5e6207[_0x3f7023]===0xe0&&(_0x5e6207[_0x3f7023+0x1]&0xe0)===0x80||_0x5e6207[_0x3f7023]===0xed&&(_0x5e6207[_0x3f7023+0x1]&0xe0)===0xa0)return!0x1;_0x3f7023+=0x3;}else{if((_0x5e6207[_0x3f7023]&0xf8)===0xf0){if(_0x3f7023+0x3>=_0xfd913e||(_0x5e6207[_0x3f7023+0x1]&0xc0)!==0x80||(_0x5e6207[_0x3f7023+0x2]&0xc0)!==0x80||(_0x5e6207[_0x3f7023+0x3]&0xc0)!==0x80||_0x5e6207[_0x3f7023]===0xf0&&(_0x5e6207[_0x3f7023+0x1]&0xf0)===0x80||_0x5e6207[_0x3f7023]===0xf4&&_0x5e6207[_0x3f7023+0x1]>0x8f||_0x5e6207[_0x3f7023]>0xf4)return!0x1;_0x3f7023+=0x4;}else return!0x1;}}}return!0x0;}function _0x514d70(_0x18a5e7){const _0x5523bf=_0x3ee85a;return _0xfb5c00&&typeof _0x18a5e7=='object'&&typeof _0x18a5e7[_0x5523bf(0x307)]==_0x5523bf(0x29e)&&typeof _0x18a5e7['type']==_0x5523bf(0x31c)&&typeof _0x18a5e7[_0x5523bf(0x2fc)]==_0x5523bf(0x29e)&&(_0x18a5e7[Symbol[_0x5523bf(0x271)]]===_0x5523bf(0x24e)||_0x18a5e7[Symbol['toStringTag']]===_0x5523bf(0x1b3));}if(re[_0x3ee85a(0x23a)]={'isBlob':_0x514d70,'isValidStatusCode':_0x39fdca,'isValidUTF8':_0x5e3676,'tokenChars':_0x2e3337},_0x4f6f4f)re[_0x3ee85a(0x23a)][_0x3ee85a(0x2aa)]=function(_0x517c99){const _0x133206=_0x3ee85a;return _0x517c99[_0x133206(0x2e2)]<0x18?_0x5e3676(_0x517c99):_0x4f6f4f(_0x517c99);};else{if(!process[_0x3ee85a(0x2db)][_0x3ee85a(0x27c)])try{const _0x5f0ae4=Yt;re[_0x3ee85a(0x23a)][_0x3ee85a(0x2aa)]=function(_0x58a310){return _0x58a310['length']<0x20?_0x5e3676(_0x58a310):_0x5f0ae4(_0x58a310);};}catch{}}return re[_0x3ee85a(0x23a)];}var Se,Je;function dt(){const _0x2c38d0=_0x33b6d8;if(Je)return Se;Je=0x1;const {Writable:_0x37e2e4}=_0x1863ea,_0x2b8074=he(),{BINARY_TYPES:_0x234892,EMPTY_BUFFER:_0x413c52,kStatusCode:_0x49a9e5,kWebSocket:_0x163148}=V(),{concat:_0x30d5ca,toArrayBuffer:_0x201ba0,unmask:_0x3f5bde}=ce(),{isValidStatusCode:_0x217156,isValidUTF8:_0x10e2a6}=ne(),_0x55360e=Buffer[Symbol[_0x2c38d0(0x212)]],_0x495450=0x0,_0xf66a0=0x1,_0x3d5bbd=0x2,_0x1bf567=0x3,_0x1b1592=0x4,_0x4d5e81=0x5,_0x1040f7=0x6;class _0x3f854c extends _0x37e2e4{constructor(_0x38d943={}){const _0x51228b=_0x2c38d0;super(),this[_0x51228b(0x2c2)]=_0x38d943['allowSynchronousEvents']!==void 0x0?_0x38d943[_0x51228b(0x20c)]:!0x0,this[_0x51228b(0x2a2)]=_0x38d943[_0x51228b(0x1e2)]||_0x234892[0x0],this[_0x51228b(0x1cd)]=_0x38d943[_0x51228b(0x233)]||{},this[_0x51228b(0x1b4)]=!!_0x38d943[_0x51228b(0x1fa)],this[_0x51228b(0x2dc)]=_0x38d943[_0x51228b(0x21b)]|0x0,this[_0x51228b(0x2f7)]=!!_0x38d943[_0x51228b(0x30d)],this[_0x163148]=void 0x0,this[_0x51228b(0x2eb)]=0x0,this['_buffers']=[],this[_0x51228b(0x300)]=!0x1,this['_payloadLength']=0x0,this[_0x51228b(0x248)]=void 0x0,this[_0x51228b(0x1e3)]=0x0,this[_0x51228b(0x268)]=!0x1,this['_fin']=!0x1,this[_0x51228b(0x1f5)]=0x0,this[_0x51228b(0x2cf)]=0x0,this['_messageLength']=0x0,this[_0x51228b(0x29f)]=[],this[_0x51228b(0x2c0)]=!0x1,this[_0x51228b(0x341)]=!0x1,this['_state']=_0x495450;}['_write'](_0xa1130a,_0x4f39af,_0x341c5a){const _0x107c5d=_0x2c38d0;if(this[_0x107c5d(0x1f5)]===0x8&&this[_0x107c5d(0x20f)]==_0x495450)return _0x341c5a();this[_0x107c5d(0x2eb)]+=_0xa1130a[_0x107c5d(0x2e2)],this[_0x107c5d(0x1df)][_0x107c5d(0x2b3)](_0xa1130a),this['startLoop'](_0x341c5a);}[_0x2c38d0(0x226)](_0x3178e2){const _0xd000d6=_0x2c38d0;if(this['_bufferedBytes']-=_0x3178e2,_0x3178e2===this[_0xd000d6(0x1df)][0x0]['length'])return this[_0xd000d6(0x1df)][_0xd000d6(0x2ef)]();if(_0x3178e2<this[_0xd000d6(0x1df)][0x0]['length']){const _0x2288a4=this[_0xd000d6(0x1df)][0x0];return this['_buffers'][0x0]=new _0x55360e(_0x2288a4['buffer'],_0x2288a4[_0xd000d6(0x1d6)]+_0x3178e2,_0x2288a4[_0xd000d6(0x2e2)]-_0x3178e2),new _0x55360e(_0x2288a4[_0xd000d6(0x1e9)],_0x2288a4['byteOffset'],_0x3178e2);}const _0x4f7aba=Buffer[_0xd000d6(0x217)](_0x3178e2);do{const _0x54759b=this[_0xd000d6(0x1df)][0x0],_0x45143a=_0x4f7aba['length']-_0x3178e2;_0x3178e2>=_0x54759b[_0xd000d6(0x2e2)]?_0x4f7aba[_0xd000d6(0x2bf)](this['_buffers'][_0xd000d6(0x2ef)](),_0x45143a):(_0x4f7aba[_0xd000d6(0x2bf)](new Uint8Array(_0x54759b['buffer'],_0x54759b[_0xd000d6(0x1d6)],_0x3178e2),_0x45143a),this[_0xd000d6(0x1df)][0x0]=new _0x55360e(_0x54759b['buffer'],_0x54759b['byteOffset']+_0x3178e2,_0x54759b[_0xd000d6(0x2e2)]-_0x3178e2)),_0x3178e2-=_0x54759b[_0xd000d6(0x2e2)];}while(_0x3178e2>0x0);return _0x4f7aba;}[_0x2c38d0(0x315)](_0x1dd725){const _0x466477=_0x2c38d0;this[_0x466477(0x341)]=!0x0;do switch(this[_0x466477(0x20f)]){case _0x495450:this['getInfo'](_0x1dd725);break;case _0xf66a0:this['getPayloadLength16'](_0x1dd725);break;case _0x3d5bbd:this[_0x466477(0x1b5)](_0x1dd725);break;case _0x1bf567:this['getMask']();break;case _0x1b1592:this['getData'](_0x1dd725);break;case _0x4d5e81:case _0x1040f7:this[_0x466477(0x341)]=!0x1;return;}while(this[_0x466477(0x341)]);this['_errored']||_0x1dd725();}['getInfo'](_0x507dac){const _0x3f7e57=_0x2c38d0;if(this['_bufferedBytes']<0x2){this[_0x3f7e57(0x341)]=!0x1;return;}const _0x3ba6df=this['consume'](0x2);if((_0x3ba6df[0x0]&0x30)!==0x0){const _0x51ee85=this['createError'](RangeError,_0x3f7e57(0x2e8),!0x0,0x3ea,_0x3f7e57(0x1a7));_0x507dac(_0x51ee85);return;}const _0x4a62cc=(_0x3ba6df[0x0]&0x40)===0x40;if(_0x4a62cc&&!this['_extensions'][_0x2b8074[_0x3f7e57(0x29a)]]){const _0x2dbcf8=this['createError'](RangeError,_0x3f7e57(0x24a),!0x0,0x3ea,_0x3f7e57(0x2e3));_0x507dac(_0x2dbcf8);return;}if(this[_0x3f7e57(0x1fd)]=(_0x3ba6df[0x0]&0x80)===0x80,this[_0x3f7e57(0x1f5)]=_0x3ba6df[0x0]&0xf,this[_0x3f7e57(0x337)]=_0x3ba6df[0x1]&0x7f,this[_0x3f7e57(0x1f5)]===0x0){if(_0x4a62cc){const _0x264967=this[_0x3f7e57(0x23c)](RangeError,_0x3f7e57(0x24a),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x507dac(_0x264967);return;}if(!this['_fragmented']){const _0x48c1b0=this[_0x3f7e57(0x23c)](RangeError,_0x3f7e57(0x2bb),!0x0,0x3ea,_0x3f7e57(0x267));_0x507dac(_0x48c1b0);return;}this[_0x3f7e57(0x1f5)]=this[_0x3f7e57(0x1e3)];}else{if(this['_opcode']===0x1||this[_0x3f7e57(0x1f5)]===0x2){if(this['_fragmented']){const _0x1ead8e=this[_0x3f7e57(0x23c)](RangeError,'invalid\x20opcode\x20'+this[_0x3f7e57(0x1f5)],!0x0,0x3ea,_0x3f7e57(0x267));_0x507dac(_0x1ead8e);return;}this[_0x3f7e57(0x300)]=_0x4a62cc;}else{if(this[_0x3f7e57(0x1f5)]>0x7&&this['_opcode']<0xb){if(!this[_0x3f7e57(0x1fd)]){const _0x1ab4db=this[_0x3f7e57(0x23c)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x3f7e57(0x213));_0x507dac(_0x1ab4db);return;}if(_0x4a62cc){const _0x52982c=this[_0x3f7e57(0x23c)](RangeError,_0x3f7e57(0x24a),!0x0,0x3ea,_0x3f7e57(0x2e3));_0x507dac(_0x52982c);return;}if(this[_0x3f7e57(0x337)]>0x7d||this[_0x3f7e57(0x1f5)]===0x8&&this[_0x3f7e57(0x337)]===0x1){const _0x473516=this[_0x3f7e57(0x23c)](RangeError,'invalid\x20payload\x20length\x20'+this[_0x3f7e57(0x337)],!0x0,0x3ea,_0x3f7e57(0x1db));_0x507dac(_0x473516);return;}}else{const _0x19d761=this[_0x3f7e57(0x23c)](RangeError,_0x3f7e57(0x235)+this[_0x3f7e57(0x1f5)],!0x0,0x3ea,_0x3f7e57(0x267));_0x507dac(_0x19d761);return;}}}if(!this[_0x3f7e57(0x1fd)]&&!this[_0x3f7e57(0x1e3)]&&(this[_0x3f7e57(0x1e3)]=this[_0x3f7e57(0x1f5)]),this[_0x3f7e57(0x268)]=(_0x3ba6df[0x1]&0x80)===0x80,this[_0x3f7e57(0x1b4)]){if(!this[_0x3f7e57(0x268)]){const _0x3cc9ee=this[_0x3f7e57(0x23c)](RangeError,_0x3f7e57(0x22c),!0x0,0x3ea,_0x3f7e57(0x309));_0x507dac(_0x3cc9ee);return;}}else{if(this[_0x3f7e57(0x268)]){const _0x313002=this[_0x3f7e57(0x23c)](RangeError,_0x3f7e57(0x2be),!0x0,0x3ea,_0x3f7e57(0x29b));_0x507dac(_0x313002);return;}}this['_payloadLength']===0x7e?this[_0x3f7e57(0x20f)]=_0xf66a0:this['_payloadLength']===0x7f?this['_state']=_0x3d5bbd:this[_0x3f7e57(0x34b)](_0x507dac);}[_0x2c38d0(0x1c5)](_0x50e9c4){const _0x5d656f=_0x2c38d0;if(this[_0x5d656f(0x2eb)]<0x2){this[_0x5d656f(0x341)]=!0x1;return;}this[_0x5d656f(0x337)]=this['consume'](0x2)[_0x5d656f(0x27d)](0x0),this['haveLength'](_0x50e9c4);}[_0x2c38d0(0x1b5)](_0x24e519){const _0x414d7d=_0x2c38d0;if(this[_0x414d7d(0x2eb)]<0x8){this[_0x414d7d(0x341)]=!0x1;return;}const _0x571652=this[_0x414d7d(0x226)](0x8),_0x2decd9=_0x571652['readUInt32BE'](0x0);if(_0x2decd9>Math[_0x414d7d(0x2af)](0x2,0x15)-0x1){const _0x1cd95c=this['createError'](RangeError,_0x414d7d(0x1bc),!0x1,0x3f1,_0x414d7d(0x1e0));_0x24e519(_0x1cd95c);return;}this[_0x414d7d(0x337)]=_0x2decd9*Math[_0x414d7d(0x2af)](0x2,0x20)+_0x571652['readUInt32BE'](0x4),this[_0x414d7d(0x34b)](_0x24e519);}[_0x2c38d0(0x34b)](_0x350073){const _0x478fa6=_0x2c38d0;if(this[_0x478fa6(0x337)]&&this[_0x478fa6(0x1f5)]<0x8&&(this[_0x478fa6(0x2cf)]+=this[_0x478fa6(0x337)],this[_0x478fa6(0x2cf)]>this['_maxPayload']&&this[_0x478fa6(0x2dc)]>0x0)){const _0x7e8e32=this[_0x478fa6(0x23c)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x478fa6(0x1b0));_0x350073(_0x7e8e32);return;}this[_0x478fa6(0x268)]?this['_state']=_0x1bf567:this[_0x478fa6(0x20f)]=_0x1b1592;}[_0x2c38d0(0x2cb)](){const _0x180c93=_0x2c38d0;if(this[_0x180c93(0x2eb)]<0x4){this['_loop']=!0x1;return;}this[_0x180c93(0x248)]=this[_0x180c93(0x226)](0x4),this[_0x180c93(0x20f)]=_0x1b1592;}['getData'](_0x3ea52e){const _0x116339=_0x2c38d0;let _0x191111=_0x413c52;if(this['_payloadLength']){if(this['_bufferedBytes']<this['_payloadLength']){this[_0x116339(0x341)]=!0x1;return;}_0x191111=this['consume'](this[_0x116339(0x337)]),this[_0x116339(0x268)]&&(this[_0x116339(0x248)][0x0]|this[_0x116339(0x248)][0x1]|this['_mask'][0x2]|this[_0x116339(0x248)][0x3])!==0x0&&_0x3f5bde(_0x191111,this[_0x116339(0x248)]);}if(this[_0x116339(0x1f5)]>0x7){this[_0x116339(0x2ff)](_0x191111,_0x3ea52e);return;}if(this['_compressed']){this[_0x116339(0x20f)]=_0x4d5e81,this['decompress'](_0x191111,_0x3ea52e);return;}_0x191111[_0x116339(0x2e2)]&&(this['_messageLength']=this[_0x116339(0x2cf)],this[_0x116339(0x29f)]['push'](_0x191111)),this['dataMessage'](_0x3ea52e);}[_0x2c38d0(0x2f8)](_0x22ea7c,_0x51ae99){const _0x399aae=_0x2c38d0;this[_0x399aae(0x1cd)][_0x2b8074['extensionName']][_0x399aae(0x2f8)](_0x22ea7c,this[_0x399aae(0x1fd)],(_0x2ebae5,_0x2466cb)=>{const _0x4dc4fd=_0x399aae;if(_0x2ebae5)return _0x51ae99(_0x2ebae5);if(_0x2466cb[_0x4dc4fd(0x2e2)]){if(this['_messageLength']+=_0x2466cb[_0x4dc4fd(0x2e2)],this[_0x4dc4fd(0x2a3)]>this[_0x4dc4fd(0x2dc)]&&this['_maxPayload']>0x0){const _0x35eca9=this[_0x4dc4fd(0x23c)](RangeError,_0x4dc4fd(0x2f1),!0x1,0x3f1,_0x4dc4fd(0x1b0));_0x51ae99(_0x35eca9);return;}this[_0x4dc4fd(0x29f)][_0x4dc4fd(0x2b3)](_0x2466cb);}this[_0x4dc4fd(0x1d8)](_0x51ae99),this[_0x4dc4fd(0x20f)]===_0x495450&&this[_0x4dc4fd(0x315)](_0x51ae99);});}[_0x2c38d0(0x1d8)](_0x2a20b7){const _0xf72019=_0x2c38d0;if(!this['_fin']){this[_0xf72019(0x20f)]=_0x495450;return;}const _0x4137d1=this[_0xf72019(0x2a3)],_0x260ee7=this['_fragments'];if(this[_0xf72019(0x2cf)]=0x0,this['_messageLength']=0x0,this[_0xf72019(0x1e3)]=0x0,this['_fragments']=[],this[_0xf72019(0x1f5)]===0x2){let _0x4a5c2d;this[_0xf72019(0x2a2)]===_0xf72019(0x26a)?_0x4a5c2d=_0x30d5ca(_0x260ee7,_0x4137d1):this[_0xf72019(0x2a2)]==='arraybuffer'?_0x4a5c2d=_0x201ba0(_0x30d5ca(_0x260ee7,_0x4137d1)):this['_binaryType']==='blob'?_0x4a5c2d=new Blob(_0x260ee7):_0x4a5c2d=_0x260ee7,this[_0xf72019(0x2c2)]?(this[_0xf72019(0x1f8)](_0xf72019(0x2b9),_0x4a5c2d,!0x0),this[_0xf72019(0x20f)]=_0x495450):(this[_0xf72019(0x20f)]=_0x1040f7,setImmediate(()=>{const _0x5ac2da=_0xf72019;this[_0x5ac2da(0x1f8)]('message',_0x4a5c2d,!0x0),this[_0x5ac2da(0x20f)]=_0x495450,this[_0x5ac2da(0x315)](_0x2a20b7);}));}else{const _0x2db8d7=_0x30d5ca(_0x260ee7,_0x4137d1);if(!this[_0xf72019(0x2f7)]&&!_0x10e2a6(_0x2db8d7)){const _0x4cbfa1=this[_0xf72019(0x23c)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0xf72019(0x1e7));_0x2a20b7(_0x4cbfa1);return;}this[_0xf72019(0x20f)]===_0x4d5e81||this[_0xf72019(0x2c2)]?(this[_0xf72019(0x1f8)]('message',_0x2db8d7,!0x1),this['_state']=_0x495450):(this[_0xf72019(0x20f)]=_0x1040f7,setImmediate(()=>{const _0x573710=_0xf72019;this[_0x573710(0x1f8)](_0x573710(0x2b9),_0x2db8d7,!0x1),this[_0x573710(0x20f)]=_0x495450,this[_0x573710(0x315)](_0x2a20b7);}));}}[_0x2c38d0(0x2ff)](_0x85a952,_0x14fee5){const _0x10f62f=_0x2c38d0;if(this[_0x10f62f(0x1f5)]===0x8){if(_0x85a952[_0x10f62f(0x2e2)]===0x0)this[_0x10f62f(0x341)]=!0x1,this['emit'](_0x10f62f(0x288),0x3ed,_0x413c52),this[_0x10f62f(0x317)]();else{const _0x255d48=_0x85a952[_0x10f62f(0x27d)](0x0);if(!_0x217156(_0x255d48)){const _0x335846=this['createError'](RangeError,'invalid\x20status\x20code\x20'+_0x255d48,!0x0,0x3ea,_0x10f62f(0x207));_0x14fee5(_0x335846);return;}const _0x298306=new _0x55360e(_0x85a952[_0x10f62f(0x1e9)],_0x85a952[_0x10f62f(0x1d6)]+0x2,_0x85a952[_0x10f62f(0x2e2)]-0x2);if(!this['_skipUTF8Validation']&&!_0x10e2a6(_0x298306)){const _0x4ae816=this['createError'](Error,_0x10f62f(0x276),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x14fee5(_0x4ae816);return;}this[_0x10f62f(0x341)]=!0x1,this[_0x10f62f(0x1f8)](_0x10f62f(0x288),_0x255d48,_0x298306),this[_0x10f62f(0x317)]();}this['_state']=_0x495450;return;}this[_0x10f62f(0x2c2)]?(this[_0x10f62f(0x1f8)](this['_opcode']===0x9?_0x10f62f(0x250):_0x10f62f(0x231),_0x85a952),this[_0x10f62f(0x20f)]=_0x495450):(this['_state']=_0x1040f7,setImmediate(()=>{const _0x3e83aa=_0x10f62f;this['emit'](this[_0x3e83aa(0x1f5)]===0x9?_0x3e83aa(0x250):_0x3e83aa(0x231),_0x85a952),this[_0x3e83aa(0x20f)]=_0x495450,this[_0x3e83aa(0x315)](_0x14fee5);}));}['createError'](_0x5950a4,_0x3dc0a7,_0x9a5469,_0x2744fe,_0x4bd883){const _0x1e2227=_0x2c38d0;this[_0x1e2227(0x341)]=!0x1,this['_errored']=!0x0;const _0x1382ce=new _0x5950a4(_0x9a5469?_0x1e2227(0x290)+_0x3dc0a7:_0x3dc0a7);return Error['captureStackTrace'](_0x1382ce,this['createError']),_0x1382ce[_0x1e2227(0x236)]=_0x4bd883,_0x1382ce[_0x49a9e5]=_0x2744fe,_0x1382ce;}}return Se=_0x3f854c,Se;}var Ee,et;function _t(){const _0xdd24ed=_0x33b6d8;if(et)return Ee;et=0x1;const {Duplex:_0x2b1c74}=_0x1863ea,{randomFillSync:_0x44fb68}=_0x8ecdb4,_0x72b511=he(),{EMPTY_BUFFER:_0x55e0ea,kWebSocket:_0x44f99b,NOOP:_0x2c43ea}=V(),{isBlob:_0x4eae8d,isValidStatusCode:_0x2bb3f9}=ne(),{mask:_0x656365,toBuffer:_0x35c9c3}=ce(),_0x5374c4=Symbol(_0xdd24ed(0x209)),_0x38d75a=Buffer[_0xdd24ed(0x20a)](0x4),_0x35d5d6=0x8*0x400;let _0x3bc301,_0x585644=_0x35d5d6;const _0x1a7d6b=0x0,_0x4ad184=0x1,_0x4d3137=0x2;class _0x5b3952{constructor(_0x320f75,_0x32ec99,_0x3c7091){const _0x34f060=_0xdd24ed;this['_extensions']=_0x32ec99||{},_0x3c7091&&(this[_0x34f060(0x1ec)]=_0x3c7091,this[_0x34f060(0x200)]=Buffer[_0x34f060(0x20a)](0x4)),this[_0x34f060(0x2e1)]=_0x320f75,this[_0x34f060(0x2b7)]=!0x0,this[_0x34f060(0x326)]=!0x1,this['_bufferedBytes']=0x0,this[_0x34f060(0x203)]=[],this['_state']=_0x1a7d6b,this['onerror']=_0x2c43ea,this[_0x44f99b]=void 0x0;}static[_0xdd24ed(0x2bd)](_0x44e741,_0x32ec03){const _0x55e964=_0xdd24ed;let _0x364733,_0x19913b=!0x1,_0x49fc2d=0x2,_0x1a508e=!0x1;_0x32ec03[_0x55e964(0x221)]&&(_0x364733=_0x32ec03[_0x55e964(0x327)]||_0x38d75a,_0x32ec03[_0x55e964(0x1ae)]?_0x32ec03['generateMask'](_0x364733):(_0x585644===_0x35d5d6&&(_0x3bc301===void 0x0&&(_0x3bc301=Buffer['alloc'](_0x35d5d6)),_0x44fb68(_0x3bc301,0x0,_0x35d5d6),_0x585644=0x0),_0x364733[0x0]=_0x3bc301[_0x585644++],_0x364733[0x1]=_0x3bc301[_0x585644++],_0x364733[0x2]=_0x3bc301[_0x585644++],_0x364733[0x3]=_0x3bc301[_0x585644++]),_0x1a508e=(_0x364733[0x0]|_0x364733[0x1]|_0x364733[0x2]|_0x364733[0x3])===0x0,_0x49fc2d=0x6);let _0x5d5d2a;typeof _0x44e741=='string'?(!_0x32ec03[_0x55e964(0x221)]||_0x1a508e)&&_0x32ec03[_0x5374c4]!==void 0x0?_0x5d5d2a=_0x32ec03[_0x5374c4]:(_0x44e741=Buffer[_0x55e964(0x25c)](_0x44e741),_0x5d5d2a=_0x44e741[_0x55e964(0x2e2)]):(_0x5d5d2a=_0x44e741[_0x55e964(0x2e2)],_0x19913b=_0x32ec03[_0x55e964(0x221)]&&_0x32ec03['readOnly']&&!_0x1a508e);let _0xef70df=_0x5d5d2a;_0x5d5d2a>=0x10000?(_0x49fc2d+=0x8,_0xef70df=0x7f):_0x5d5d2a>0x7d&&(_0x49fc2d+=0x2,_0xef70df=0x7e);const _0x136ac6=Buffer[_0x55e964(0x217)](_0x19913b?_0x5d5d2a+_0x49fc2d:_0x49fc2d);return _0x136ac6[0x0]=_0x32ec03[_0x55e964(0x255)]?_0x32ec03[_0x55e964(0x34c)]|0x80:_0x32ec03['opcode'],_0x32ec03[_0x55e964(0x224)]&&(_0x136ac6[0x0]|=0x40),_0x136ac6[0x1]=_0xef70df,_0xef70df===0x7e?_0x136ac6[_0x55e964(0x1ba)](_0x5d5d2a,0x2):_0xef70df===0x7f&&(_0x136ac6[0x2]=_0x136ac6[0x3]=0x0,_0x136ac6['writeUIntBE'](_0x5d5d2a,0x4,0x6)),_0x32ec03[_0x55e964(0x221)]?(_0x136ac6[0x1]|=0x80,_0x136ac6[_0x49fc2d-0x4]=_0x364733[0x0],_0x136ac6[_0x49fc2d-0x3]=_0x364733[0x1],_0x136ac6[_0x49fc2d-0x2]=_0x364733[0x2],_0x136ac6[_0x49fc2d-0x1]=_0x364733[0x3],_0x1a508e?[_0x136ac6,_0x44e741]:_0x19913b?(_0x656365(_0x44e741,_0x364733,_0x136ac6,_0x49fc2d,_0x5d5d2a),[_0x136ac6]):(_0x656365(_0x44e741,_0x364733,_0x44e741,0x0,_0x5d5d2a),[_0x136ac6,_0x44e741])):[_0x136ac6,_0x44e741];}[_0xdd24ed(0x308)](_0x1493f4,_0x319d5f,_0x1ddd8d,_0x2a8776){const _0x54e576=_0xdd24ed;let _0x23f607;if(_0x1493f4===void 0x0)_0x23f607=_0x55e0ea;else{if(typeof _0x1493f4!=_0x54e576(0x243)||!_0x2bb3f9(_0x1493f4))throw new TypeError(_0x54e576(0x2d9));if(_0x319d5f===void 0x0||!_0x319d5f[_0x54e576(0x2e2)])_0x23f607=Buffer[_0x54e576(0x217)](0x2),_0x23f607[_0x54e576(0x1ba)](_0x1493f4,0x0);else{const _0x58098b=Buffer[_0x54e576(0x311)](_0x319d5f);if(_0x58098b>0x7b)throw new RangeError(_0x54e576(0x1e4));_0x23f607=Buffer[_0x54e576(0x217)](0x2+_0x58098b),_0x23f607[_0x54e576(0x1ba)](_0x1493f4,0x0),typeof _0x319d5f==_0x54e576(0x31c)?_0x23f607['write'](_0x319d5f,0x2):_0x23f607['set'](_0x319d5f,0x2);}}const _0x518924={[_0x5374c4]:_0x23f607[_0x54e576(0x2e2)],'fin':!0x0,'generateMask':this[_0x54e576(0x1ec)],'mask':_0x1ddd8d,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x54e576(0x20f)]!==_0x1a7d6b?this['enqueue']([this['dispatch'],_0x23f607,!0x1,_0x518924,_0x2a8776]):this['sendFrame'](_0x5b3952[_0x54e576(0x2bd)](_0x23f607,_0x518924),_0x2a8776);}[_0xdd24ed(0x250)](_0x1c87a6,_0x56932b,_0x3d5664){const _0x19dff8=_0xdd24ed;let _0x4f1a14,_0x25d321;if(typeof _0x1c87a6=='string'?(_0x4f1a14=Buffer[_0x19dff8(0x311)](_0x1c87a6),_0x25d321=!0x1):_0x4eae8d(_0x1c87a6)?(_0x4f1a14=_0x1c87a6[_0x19dff8(0x28e)],_0x25d321=!0x1):(_0x1c87a6=_0x35c9c3(_0x1c87a6),_0x4f1a14=_0x1c87a6[_0x19dff8(0x2e2)],_0x25d321=_0x35c9c3[_0x19dff8(0x2c6)]),_0x4f1a14>0x7d)throw new RangeError(_0x19dff8(0x2a4));const _0x130660={[_0x5374c4]:_0x4f1a14,'fin':!0x0,'generateMask':this[_0x19dff8(0x1ec)],'mask':_0x56932b,'maskBuffer':this[_0x19dff8(0x200)],'opcode':0x9,'readOnly':_0x25d321,'rsv1':!0x1};_0x4eae8d(_0x1c87a6)?this[_0x19dff8(0x20f)]!==_0x1a7d6b?this[_0x19dff8(0x2d1)]([this[_0x19dff8(0x1ea)],_0x1c87a6,!0x1,_0x130660,_0x3d5664]):this['getBlobData'](_0x1c87a6,!0x1,_0x130660,_0x3d5664):this[_0x19dff8(0x20f)]!==_0x1a7d6b?this[_0x19dff8(0x2d1)]([this[_0x19dff8(0x1cc)],_0x1c87a6,!0x1,_0x130660,_0x3d5664]):this[_0x19dff8(0x1aa)](_0x5b3952[_0x19dff8(0x2bd)](_0x1c87a6,_0x130660),_0x3d5664);}[_0xdd24ed(0x231)](_0xcb7ecb,_0x4e8f5f,_0x343e8c){const _0x1b5c27=_0xdd24ed;let _0x287569,_0x36cb3f;if(typeof _0xcb7ecb==_0x1b5c27(0x31c)?(_0x287569=Buffer[_0x1b5c27(0x311)](_0xcb7ecb),_0x36cb3f=!0x1):_0x4eae8d(_0xcb7ecb)?(_0x287569=_0xcb7ecb[_0x1b5c27(0x28e)],_0x36cb3f=!0x1):(_0xcb7ecb=_0x35c9c3(_0xcb7ecb),_0x287569=_0xcb7ecb['length'],_0x36cb3f=_0x35c9c3['readOnly']),_0x287569>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x4282c2={[_0x5374c4]:_0x287569,'fin':!0x0,'generateMask':this[_0x1b5c27(0x1ec)],'mask':_0x4e8f5f,'maskBuffer':this[_0x1b5c27(0x200)],'opcode':0xa,'readOnly':_0x36cb3f,'rsv1':!0x1};_0x4eae8d(_0xcb7ecb)?this[_0x1b5c27(0x20f)]!==_0x1a7d6b?this[_0x1b5c27(0x2d1)]([this[_0x1b5c27(0x1ea)],_0xcb7ecb,!0x1,_0x4282c2,_0x343e8c]):this[_0x1b5c27(0x1ea)](_0xcb7ecb,!0x1,_0x4282c2,_0x343e8c):this[_0x1b5c27(0x20f)]!==_0x1a7d6b?this[_0x1b5c27(0x2d1)]([this[_0x1b5c27(0x1cc)],_0xcb7ecb,!0x1,_0x4282c2,_0x343e8c]):this['sendFrame'](_0x5b3952['frame'](_0xcb7ecb,_0x4282c2),_0x343e8c);}[_0xdd24ed(0x2d7)](_0x448f45,_0x48759d,_0x46f2d3){const _0x5d5f79=_0xdd24ed,_0x3b9811=this[_0x5d5f79(0x1cd)][_0x72b511[_0x5d5f79(0x29a)]];let _0xcbfb86=_0x48759d[_0x5d5f79(0x338)]?0x2:0x1,_0xf586f6=_0x48759d[_0x5d5f79(0x2c3)],_0x4d4833,_0x50e81d;typeof _0x448f45==_0x5d5f79(0x31c)?(_0x4d4833=Buffer[_0x5d5f79(0x311)](_0x448f45),_0x50e81d=!0x1):_0x4eae8d(_0x448f45)?(_0x4d4833=_0x448f45['size'],_0x50e81d=!0x1):(_0x448f45=_0x35c9c3(_0x448f45),_0x4d4833=_0x448f45[_0x5d5f79(0x2e2)],_0x50e81d=_0x35c9c3[_0x5d5f79(0x2c6)]),this[_0x5d5f79(0x2b7)]?(this[_0x5d5f79(0x2b7)]=!0x1,_0xf586f6&&_0x3b9811&&_0x3b9811[_0x5d5f79(0x21e)][_0x3b9811[_0x5d5f79(0x1b4)]?_0x5d5f79(0x1f3):_0x5d5f79(0x1e6)]&&(_0xf586f6=_0x4d4833>=_0x3b9811[_0x5d5f79(0x28b)]),this[_0x5d5f79(0x326)]=_0xf586f6):(_0xf586f6=!0x1,_0xcbfb86=0x0),_0x48759d[_0x5d5f79(0x255)]&&(this[_0x5d5f79(0x2b7)]=!0x0);const _0x4e8ff2={[_0x5374c4]:_0x4d4833,'fin':_0x48759d['fin'],'generateMask':this[_0x5d5f79(0x1ec)],'mask':_0x48759d[_0x5d5f79(0x221)],'maskBuffer':this[_0x5d5f79(0x200)],'opcode':_0xcbfb86,'readOnly':_0x50e81d,'rsv1':_0xf586f6};_0x4eae8d(_0x448f45)?this[_0x5d5f79(0x20f)]!==_0x1a7d6b?this[_0x5d5f79(0x2d1)]([this['getBlobData'],_0x448f45,this[_0x5d5f79(0x326)],_0x4e8ff2,_0x46f2d3]):this[_0x5d5f79(0x1ea)](_0x448f45,this[_0x5d5f79(0x326)],_0x4e8ff2,_0x46f2d3):this['_state']!==_0x1a7d6b?this[_0x5d5f79(0x2d1)]([this[_0x5d5f79(0x1cc)],_0x448f45,this['_compress'],_0x4e8ff2,_0x46f2d3]):this[_0x5d5f79(0x1cc)](_0x448f45,this[_0x5d5f79(0x326)],_0x4e8ff2,_0x46f2d3);}[_0xdd24ed(0x1ea)](_0x370191,_0xcbf634,_0x1bc9e3,_0x112e57){const _0x367e70=_0xdd24ed;this[_0x367e70(0x2eb)]+=_0x1bc9e3[_0x5374c4],this[_0x367e70(0x20f)]=_0x4d3137,_0x370191[_0x367e70(0x307)]()[_0x367e70(0x1a8)](_0x3b4130=>{const _0x4a3345=_0x367e70;if(this[_0x4a3345(0x2e1)][_0x4a3345(0x2d3)]){const _0x2b4ee1=new Error(_0x4a3345(0x21c));process[_0x4a3345(0x312)](_0x11a248,this,_0x2b4ee1,_0x112e57);return;}this[_0x4a3345(0x2eb)]-=_0x1bc9e3[_0x5374c4];const _0x4a47bf=_0x35c9c3(_0x3b4130);_0xcbf634?this[_0x4a3345(0x1cc)](_0x4a47bf,_0xcbf634,_0x1bc9e3,_0x112e57):(this['_state']=_0x1a7d6b,this['sendFrame'](_0x5b3952[_0x4a3345(0x2bd)](_0x4a47bf,_0x1bc9e3),_0x112e57),this[_0x4a3345(0x285)]());})['catch'](_0x582743=>{const _0xea2b64=_0x367e70;process[_0xea2b64(0x312)](_0x43d0f8,this,_0x582743,_0x112e57);});}['dispatch'](_0x9f8a78,_0xdd4a13,_0x5f2256,_0x50b63c){const _0x4dfea6=_0xdd24ed;if(!_0xdd4a13){this[_0x4dfea6(0x1aa)](_0x5b3952[_0x4dfea6(0x2bd)](_0x9f8a78,_0x5f2256),_0x50b63c);return;}const _0x25b914=this[_0x4dfea6(0x1cd)][_0x72b511[_0x4dfea6(0x29a)]];this['_bufferedBytes']+=_0x5f2256[_0x5374c4],this[_0x4dfea6(0x20f)]=_0x4ad184,_0x25b914[_0x4dfea6(0x2c3)](_0x9f8a78,_0x5f2256[_0x4dfea6(0x255)],(_0x4ad14f,_0xdebcd8)=>{const _0x4b93c7=_0x4dfea6;if(this[_0x4b93c7(0x2e1)][_0x4b93c7(0x2d3)]){const _0x44e697=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x11a248(this,_0x44e697,_0x50b63c);return;}this[_0x4b93c7(0x2eb)]-=_0x5f2256[_0x5374c4],this[_0x4b93c7(0x20f)]=_0x1a7d6b,_0x5f2256[_0x4b93c7(0x2c6)]=!0x1,this[_0x4b93c7(0x1aa)](_0x5b3952[_0x4b93c7(0x2bd)](_0xdebcd8,_0x5f2256),_0x50b63c),this[_0x4b93c7(0x285)]();});}[_0xdd24ed(0x285)](){const _0x2502fb=_0xdd24ed;for(;this[_0x2502fb(0x20f)]===_0x1a7d6b&&this[_0x2502fb(0x203)]['length'];){const _0x3f2412=this[_0x2502fb(0x203)][_0x2502fb(0x2ef)]();this[_0x2502fb(0x2eb)]-=_0x3f2412[0x3][_0x5374c4],Reflect[_0x2502fb(0x2ac)](_0x3f2412[0x0],this,_0x3f2412[_0x2502fb(0x287)](0x1));}}[_0xdd24ed(0x2d1)](_0x22a2ea){const _0x5a2bcb=_0xdd24ed;this['_bufferedBytes']+=_0x22a2ea[0x3][_0x5374c4],this[_0x5a2bcb(0x203)][_0x5a2bcb(0x2b3)](_0x22a2ea);}[_0xdd24ed(0x1aa)](_0x35cf54,_0x45be89){const _0x5ef15c=_0xdd24ed;_0x35cf54['length']===0x2?(this[_0x5ef15c(0x2e1)][_0x5ef15c(0x2c7)](),this[_0x5ef15c(0x2e1)][_0x5ef15c(0x2cc)](_0x35cf54[0x0]),this[_0x5ef15c(0x2e1)][_0x5ef15c(0x2cc)](_0x35cf54[0x1],_0x45be89),this[_0x5ef15c(0x2e1)][_0x5ef15c(0x1bb)]()):this[_0x5ef15c(0x2e1)][_0x5ef15c(0x2cc)](_0x35cf54[0x0],_0x45be89);}}Ee=_0x5b3952;function _0x11a248(_0x2dba38,_0x3bddc6,_0x72f991){const _0x5cdd95=_0xdd24ed;typeof _0x72f991=='function'&&_0x72f991(_0x3bddc6);for(let _0x1ac731=0x0;_0x1ac731<_0x2dba38[_0x5cdd95(0x203)][_0x5cdd95(0x2e2)];_0x1ac731++){const _0x294ee8=_0x2dba38[_0x5cdd95(0x203)][_0x1ac731],_0x1093bf=_0x294ee8[_0x294ee8[_0x5cdd95(0x2e2)]-0x1];typeof _0x1093bf==_0x5cdd95(0x29e)&&_0x1093bf(_0x3bddc6);}}function _0x43d0f8(_0x34ffc3,_0x2e51dc,_0x2322d2){const _0x3950d0=_0xdd24ed;_0x11a248(_0x34ffc3,_0x2e51dc,_0x2322d2),_0x34ffc3[_0x3950d0(0x301)](_0x2e51dc);}return Ee;}var xe,tt;function Kt(){const _0x2667d9=_0x33b6d8;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x336a2a,kListener:_0x5b8a66}=V(),_0x275fb3=Symbol(_0x2667d9(0x349)),_0x3e6397=Symbol('kData'),_0x45c256=Symbol(_0x2667d9(0x1d1)),_0x36609c=Symbol(_0x2667d9(0x2c8)),_0x22f5aa=Symbol(_0x2667d9(0x342)),_0x588451=Symbol(_0x2667d9(0x1a5)),_0x41af46=Symbol(_0x2667d9(0x2d2)),_0x351211=Symbol(_0x2667d9(0x26e));class _0x366ada{constructor(_0x28ad39){this[_0x588451]=null,this[_0x41af46]=_0x28ad39;}get[_0x2667d9(0x2ca)](){return this[_0x588451];}get['type'](){return this[_0x41af46];}}Object[_0x2667d9(0x1f2)](_0x366ada[_0x2667d9(0x246)],_0x2667d9(0x2ca),{'enumerable':!0x0}),Object[_0x2667d9(0x1f2)](_0x366ada[_0x2667d9(0x246)],_0x2667d9(0x2ed),{'enumerable':!0x0});class _0x3f674a extends _0x366ada{constructor(_0x293ece,_0xaa70c7={}){const _0x3bbe69=_0x2667d9;super(_0x293ece),this[_0x275fb3]=_0xaa70c7[_0x3bbe69(0x236)]===void 0x0?0x0:_0xaa70c7[_0x3bbe69(0x236)],this[_0x22f5aa]=_0xaa70c7['reason']===void 0x0?'':_0xaa70c7[_0x3bbe69(0x1c0)],this[_0x351211]=_0xaa70c7['wasClean']===void 0x0?!0x1:_0xaa70c7[_0x3bbe69(0x279)];}get[_0x2667d9(0x236)](){return this[_0x275fb3];}get[_0x2667d9(0x1c0)](){return this[_0x22f5aa];}get[_0x2667d9(0x279)](){return this[_0x351211];}}Object[_0x2667d9(0x1f2)](_0x3f674a[_0x2667d9(0x246)],_0x2667d9(0x236),{'enumerable':!0x0}),Object[_0x2667d9(0x1f2)](_0x3f674a[_0x2667d9(0x246)],_0x2667d9(0x1c0),{'enumerable':!0x0}),Object[_0x2667d9(0x1f2)](_0x3f674a['prototype'],_0x2667d9(0x279),{'enumerable':!0x0});class _0x502162 extends _0x366ada{constructor(_0x382e18,_0x300ea5={}){const _0x50e3a1=_0x2667d9;super(_0x382e18),this[_0x45c256]=_0x300ea5[_0x50e3a1(0x275)]===void 0x0?null:_0x300ea5['error'],this[_0x36609c]=_0x300ea5[_0x50e3a1(0x2b9)]===void 0x0?'':_0x300ea5[_0x50e3a1(0x2b9)];}get[_0x2667d9(0x275)](){return this[_0x45c256];}get['message'](){return this[_0x36609c];}}Object['defineProperty'](_0x502162[_0x2667d9(0x246)],_0x2667d9(0x275),{'enumerable':!0x0}),Object[_0x2667d9(0x1f2)](_0x502162[_0x2667d9(0x246)],_0x2667d9(0x2b9),{'enumerable':!0x0});class _0x57ed14 extends _0x366ada{constructor(_0x2aea76,_0x33200e={}){const _0x35cb53=_0x2667d9;super(_0x2aea76),this[_0x3e6397]=_0x33200e['data']===void 0x0?null:_0x33200e[_0x35cb53(0x2f6)];}get[_0x2667d9(0x2f6)](){return this[_0x3e6397];}}Object['defineProperty'](_0x57ed14[_0x2667d9(0x246)],_0x2667d9(0x2f6),{'enumerable':!0x0}),xe={'CloseEvent':_0x3f674a,'ErrorEvent':_0x502162,'Event':_0x366ada,'EventTarget':{'addEventListener'(_0x31c946,_0x315fd6,_0x3ef8ed={}){const _0x1b54ed=_0x2667d9;for(const _0x288644 of this[_0x1b54ed(0x1f1)](_0x31c946))if(!_0x3ef8ed[_0x336a2a]&&_0x288644[_0x5b8a66]===_0x315fd6&&!_0x288644[_0x336a2a])return;let _0x2b88ce;if(_0x31c946===_0x1b54ed(0x2b9))_0x2b88ce=function(_0x34c3bf,_0x153be9){const _0x2998cf=_0x1b54ed,_0x21b355=new _0x57ed14(_0x2998cf(0x2b9),{'data':_0x153be9?_0x34c3bf:_0x34c3bf[_0x2998cf(0x325)]()});_0x21b355[_0x588451]=this,_0x1141c1(_0x315fd6,this,_0x21b355);};else{if(_0x31c946==='close')_0x2b88ce=function(_0x597b07,_0x1c4daf){const _0x3026f9=_0x1b54ed,_0x1974c8=new _0x3f674a(_0x3026f9(0x308),{'code':_0x597b07,'reason':_0x1c4daf[_0x3026f9(0x325)](),'wasClean':this[_0x3026f9(0x2f0)]&&this['_closeFrameSent']});_0x1974c8[_0x588451]=this,_0x1141c1(_0x315fd6,this,_0x1974c8);};else{if(_0x31c946===_0x1b54ed(0x275))_0x2b88ce=function(_0x1ef8a0){const _0x483f92=_0x1b54ed,_0x1c1348=new _0x502162(_0x483f92(0x275),{'error':_0x1ef8a0,'message':_0x1ef8a0[_0x483f92(0x2b9)]});_0x1c1348[_0x588451]=this,_0x1141c1(_0x315fd6,this,_0x1c1348);};else{if(_0x31c946===_0x1b54ed(0x31e))_0x2b88ce=function(){const _0x19cc3d=_0x1b54ed,_0x4a56b2=new _0x366ada(_0x19cc3d(0x31e));_0x4a56b2[_0x588451]=this,_0x1141c1(_0x315fd6,this,_0x4a56b2);};else return;}}}_0x2b88ce[_0x336a2a]=!!_0x3ef8ed[_0x336a2a],_0x2b88ce[_0x5b8a66]=_0x315fd6,_0x3ef8ed[_0x1b54ed(0x340)]?this['once'](_0x31c946,_0x2b88ce):this['on'](_0x31c946,_0x2b88ce);},'removeEventListener'(_0x4c1767,_0x2a526c){const _0x246d8b=_0x2667d9;for(const _0x1d15c7 of this[_0x246d8b(0x1f1)](_0x4c1767))if(_0x1d15c7[_0x5b8a66]===_0x2a526c&&!_0x1d15c7[_0x336a2a]){this[_0x246d8b(0x1c2)](_0x4c1767,_0x1d15c7);break;}}},'MessageEvent':_0x57ed14};function _0x1141c1(_0x288a92,_0x2798fb,_0x475ec3){const _0x5b74de=_0x2667d9;typeof _0x288a92==_0x5b74de(0x2f2)&&_0x288a92[_0x5b74de(0x20b)]?_0x288a92[_0x5b74de(0x20b)][_0x5b74de(0x1ce)](_0x288a92,_0x475ec3):_0x288a92[_0x5b74de(0x1ce)](_0x2798fb,_0x475ec3);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x5aefa7}=ne();function _0x561207(_0x44b8e3,_0x2d1c75,_0x4cd954){_0x44b8e3[_0x2d1c75]===void 0x0?_0x44b8e3[_0x2d1c75]=[_0x4cd954]:_0x44b8e3[_0x2d1c75]['push'](_0x4cd954);}function _0x599e10(_0x8a38c1){const _0x8752fb=_0x14a6,_0x10e46b=Object[_0x8752fb(0x2da)](null);let _0x3f035d=Object['create'](null),_0x2ea053=!0x1,_0x17dc8f=!0x1,_0x2b4b83=!0x1,_0x3b8f65,_0x3124bc,_0x477ab1=-0x1,_0x490689=-0x1,_0x6f7c7=-0x1,_0x58a5eb=0x0;for(;_0x58a5eb<_0x8a38c1[_0x8752fb(0x2e2)];_0x58a5eb++)if(_0x490689=_0x8a38c1[_0x8752fb(0x347)](_0x58a5eb),_0x3b8f65===void 0x0){if(_0x6f7c7===-0x1&&_0x5aefa7[_0x490689]===0x1)_0x477ab1===-0x1&&(_0x477ab1=_0x58a5eb);else{if(_0x58a5eb!==0x0&&(_0x490689===0x20||_0x490689===0x9))_0x6f7c7===-0x1&&_0x477ab1!==-0x1&&(_0x6f7c7=_0x58a5eb);else{if(_0x490689===0x3b||_0x490689===0x2c){if(_0x477ab1===-0x1)throw new SyntaxError(_0x8752fb(0x1f4)+_0x58a5eb);_0x6f7c7===-0x1&&(_0x6f7c7=_0x58a5eb);const _0x28c793=_0x8a38c1[_0x8752fb(0x287)](_0x477ab1,_0x6f7c7);_0x490689===0x2c?(_0x561207(_0x10e46b,_0x28c793,_0x3f035d),_0x3f035d=Object[_0x8752fb(0x2da)](null)):_0x3b8f65=_0x28c793,_0x477ab1=_0x6f7c7=-0x1;}else throw new SyntaxError(_0x8752fb(0x1f4)+_0x58a5eb);}}}else{if(_0x3124bc===void 0x0){if(_0x6f7c7===-0x1&&_0x5aefa7[_0x490689]===0x1)_0x477ab1===-0x1&&(_0x477ab1=_0x58a5eb);else{if(_0x490689===0x20||_0x490689===0x9)_0x6f7c7===-0x1&&_0x477ab1!==-0x1&&(_0x6f7c7=_0x58a5eb);else{if(_0x490689===0x3b||_0x490689===0x2c){if(_0x477ab1===-0x1)throw new SyntaxError(_0x8752fb(0x1f4)+_0x58a5eb);_0x6f7c7===-0x1&&(_0x6f7c7=_0x58a5eb),_0x561207(_0x3f035d,_0x8a38c1[_0x8752fb(0x287)](_0x477ab1,_0x6f7c7),!0x0),_0x490689===0x2c&&(_0x561207(_0x10e46b,_0x3b8f65,_0x3f035d),_0x3f035d=Object['create'](null),_0x3b8f65=void 0x0),_0x477ab1=_0x6f7c7=-0x1;}else{if(_0x490689===0x3d&&_0x477ab1!==-0x1&&_0x6f7c7===-0x1)_0x3124bc=_0x8a38c1['slice'](_0x477ab1,_0x58a5eb),_0x477ab1=_0x6f7c7=-0x1;else throw new SyntaxError(_0x8752fb(0x1f4)+_0x58a5eb);}}}}else{if(_0x17dc8f){if(_0x5aefa7[_0x490689]!==0x1)throw new SyntaxError(_0x8752fb(0x1f4)+_0x58a5eb);_0x477ab1===-0x1?_0x477ab1=_0x58a5eb:_0x2ea053||(_0x2ea053=!0x0),_0x17dc8f=!0x1;}else{if(_0x2b4b83){if(_0x5aefa7[_0x490689]===0x1)_0x477ab1===-0x1&&(_0x477ab1=_0x58a5eb);else{if(_0x490689===0x22&&_0x477ab1!==-0x1)_0x2b4b83=!0x1,_0x6f7c7=_0x58a5eb;else{if(_0x490689===0x5c)_0x17dc8f=!0x0;else throw new SyntaxError(_0x8752fb(0x1f4)+_0x58a5eb);}}}else{if(_0x490689===0x22&&_0x8a38c1[_0x8752fb(0x347)](_0x58a5eb-0x1)===0x3d)_0x2b4b83=!0x0;else{if(_0x6f7c7===-0x1&&_0x5aefa7[_0x490689]===0x1)_0x477ab1===-0x1&&(_0x477ab1=_0x58a5eb);else{if(_0x477ab1!==-0x1&&(_0x490689===0x20||_0x490689===0x9))_0x6f7c7===-0x1&&(_0x6f7c7=_0x58a5eb);else{if(_0x490689===0x3b||_0x490689===0x2c){if(_0x477ab1===-0x1)throw new SyntaxError(_0x8752fb(0x1f4)+_0x58a5eb);_0x6f7c7===-0x1&&(_0x6f7c7=_0x58a5eb);let _0x75f663=_0x8a38c1[_0x8752fb(0x287)](_0x477ab1,_0x6f7c7);_0x2ea053&&(_0x75f663=_0x75f663[_0x8752fb(0x2d0)](/\\/g,''),_0x2ea053=!0x1),_0x561207(_0x3f035d,_0x3124bc,_0x75f663),_0x490689===0x2c&&(_0x561207(_0x10e46b,_0x3b8f65,_0x3f035d),_0x3f035d=Object['create'](null),_0x3b8f65=void 0x0),_0x3124bc=void 0x0,_0x477ab1=_0x6f7c7=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x58a5eb);}}}}}}}if(_0x477ab1===-0x1||_0x2b4b83||_0x490689===0x20||_0x490689===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x6f7c7===-0x1&&(_0x6f7c7=_0x58a5eb);const _0x432ecf=_0x8a38c1[_0x8752fb(0x287)](_0x477ab1,_0x6f7c7);return _0x3b8f65===void 0x0?_0x561207(_0x10e46b,_0x432ecf,_0x3f035d):(_0x3124bc===void 0x0?_0x561207(_0x3f035d,_0x432ecf,!0x0):_0x2ea053?_0x561207(_0x3f035d,_0x3124bc,_0x432ecf[_0x8752fb(0x2d0)](/\\/g,'')):_0x561207(_0x3f035d,_0x3124bc,_0x432ecf),_0x561207(_0x10e46b,_0x3b8f65,_0x3f035d)),_0x10e46b;}function _0x20f1ee(_0x230c29){const _0x5bf4f7=_0x14a6;return Object[_0x5bf4f7(0x2e6)](_0x230c29)[_0x5bf4f7(0x262)](_0x37590b=>{const _0x2d6f1b=_0x5bf4f7;let _0x291401=_0x230c29[_0x37590b];return Array['isArray'](_0x291401)||(_0x291401=[_0x291401]),_0x291401[_0x2d6f1b(0x262)](_0xae4cbd=>[_0x37590b][_0x2d6f1b(0x2a0)](Object['keys'](_0xae4cbd)['map'](_0x4acb5e=>{const _0x2de1c4=_0x2d6f1b;let _0x50ffb0=_0xae4cbd[_0x4acb5e];return Array[_0x2de1c4(0x1f9)](_0x50ffb0)||(_0x50ffb0=[_0x50ffb0]),_0x50ffb0[_0x2de1c4(0x262)](_0x29587b=>_0x29587b===!0x0?_0x4acb5e:_0x4acb5e+'='+_0x29587b)[_0x2de1c4(0x1ca)](';\x20');}))[_0x2d6f1b(0x1ca)](';\x20'))[_0x2d6f1b(0x1ca)](',\x20');})[_0x5bf4f7(0x1ca)](',\x20');}return be={'format':_0x20f1ee,'parse':_0x599e10},be;}var we,st;function Ie(){const _0xc728da=_0x33b6d8;if(st)return we;st=0x1;const _0x24c55f=_0x430b2b,_0x18d111=_0x52939d,_0x33786b=_0x5d432a,_0x4cab4d=_0x5152b9,_0x499138=_0x766391,{randomBytes:_0x59f6c5,createHash:_0xd2e3be}=_0x8ecdb4,{Duplex:_0x2d0019,Readable:_0x484243}=_0x1863ea,{URL:_0x1fa3d4}=_0x385a17,_0x3efdec=he(),_0x14265d=dt(),_0x7b2a27=_t(),{isBlob:_0x36153c}=ne(),{BINARY_TYPES:_0x53f835,EMPTY_BUFFER:_0x4face7,GUID:_0x3b75ea,kForOnEventAttribute:_0x2e6d68,kListener:_0x22083a,kStatusCode:_0x5d093b,kWebSocket:_0x436396,NOOP:_0x57f27b}=V(),{EventTarget:{addEventListener:_0x365138,removeEventListener:_0x132f29}}=Kt(),{format:_0x4d947d,parse:_0x55cc56}=pt(),{toBuffer:_0x80ee68}=ce(),_0x59caaa=0x1e*0x3e8,_0xcd69c7=Symbol('kAborted'),_0x5346e3=[0x8,0xd],_0x3a23f6=[_0xc728da(0x1a9),_0xc728da(0x20d),'CLOSING',_0xc728da(0x29c)],_0x759b19=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x39b47b extends _0x24c55f{constructor(_0xf11545,_0x12b5d9,_0x55f04f){const _0xf121de=_0xc728da;super(),this[_0xf121de(0x2a2)]=_0x53f835[0x0],this[_0xf121de(0x1cf)]=0x3ee,this[_0xf121de(0x2f0)]=!0x1,this['_closeFrameSent']=!0x1,this[_0xf121de(0x1c3)]=_0x4face7,this[_0xf121de(0x1ef)]=null,this[_0xf121de(0x291)]=!0x1,this[_0xf121de(0x1cd)]={},this[_0xf121de(0x230)]=!0x1,this[_0xf121de(0x1a2)]='',this['_readyState']=_0x39b47b[_0xf121de(0x1a9)],this[_0xf121de(0x204)]=null,this[_0xf121de(0x2b6)]=null,this[_0xf121de(0x2e1)]=null,_0xf11545!==null?(this[_0xf121de(0x32a)]=0x0,this[_0xf121de(0x1b4)]=!0x1,this[_0xf121de(0x330)]=0x0,_0x12b5d9===void 0x0?_0x12b5d9=[]:Array[_0xf121de(0x1f9)](_0x12b5d9)||(typeof _0x12b5d9==_0xf121de(0x2f2)&&_0x12b5d9!==null?(_0x55f04f=_0x12b5d9,_0x12b5d9=[]):_0x12b5d9=[_0x12b5d9]),_0x21a7ed(this,_0xf11545,_0x12b5d9,_0x55f04f)):(this[_0xf121de(0x1c8)]=_0x55f04f['autoPong'],this['_isServer']=!0x0);}get[_0xc728da(0x1e2)](){const _0x4becc4=_0xc728da;return this[_0x4becc4(0x2a2)];}set[_0xc728da(0x1e2)](_0x24bd74){const _0x5552b1=_0xc728da;_0x53f835[_0x5552b1(0x26d)](_0x24bd74)&&(this[_0x5552b1(0x2a2)]=_0x24bd74,this['_receiver']&&(this[_0x5552b1(0x204)][_0x5552b1(0x2a2)]=_0x24bd74));}get[_0xc728da(0x1bf)](){const _0x53bcf2=_0xc728da;return this[_0x53bcf2(0x2e1)]?this[_0x53bcf2(0x2e1)][_0x53bcf2(0x265)]['length']+this['_sender'][_0x53bcf2(0x2eb)]:this[_0x53bcf2(0x32a)];}get[_0xc728da(0x233)](){const _0x1ce7c4=_0xc728da;return Object[_0x1ce7c4(0x2e6)](this['_extensions'])['join']();}get['isPaused'](){const _0x57df4e=_0xc728da;return this[_0x57df4e(0x230)];}get['onclose'](){return null;}get[_0xc728da(0x301)](){return null;}get[_0xc728da(0x1d0)](){return null;}get[_0xc728da(0x266)](){return null;}get[_0xc728da(0x2f3)](){const _0x5f53b0=_0xc728da;return this[_0x5f53b0(0x1a2)];}get[_0xc728da(0x264)](){const _0x3c64bc=_0xc728da;return this[_0x3c64bc(0x304)];}get[_0xc728da(0x237)](){const _0x22f929=_0xc728da;return this[_0x22f929(0x22b)];}['setSocket'](_0x10f049,_0x676462,_0x5e4cfe){const _0x168943=_0xc728da,_0x187b41=new _0x14265d({'allowSynchronousEvents':_0x5e4cfe[_0x168943(0x20c)],'binaryType':this['binaryType'],'extensions':this[_0x168943(0x1cd)],'isServer':this[_0x168943(0x1b4)],'maxPayload':_0x5e4cfe['maxPayload'],'skipUTF8Validation':_0x5e4cfe['skipUTF8Validation']}),_0x14c8b7=new _0x7b2a27(_0x10f049,this[_0x168943(0x1cd)],_0x5e4cfe['generateMask']);this[_0x168943(0x204)]=_0x187b41,this[_0x168943(0x2b6)]=_0x14c8b7,this[_0x168943(0x2e1)]=_0x10f049,_0x187b41[_0x436396]=this,_0x14c8b7[_0x436396]=this,_0x10f049[_0x436396]=this,_0x187b41['on'](_0x168943(0x288),_0x2bd0a0),_0x187b41['on'](_0x168943(0x2ae),_0x100995),_0x187b41['on']('error',_0x9925f1),_0x187b41['on'](_0x168943(0x2b9),_0x21a111),_0x187b41['on'](_0x168943(0x250),_0x23c54a),_0x187b41['on']('pong',_0x1f3557),_0x14c8b7[_0x168943(0x301)]=_0x54a96b,_0x10f049['setTimeout']&&_0x10f049['setTimeout'](0x0),_0x10f049[_0x168943(0x25d)]&&_0x10f049[_0x168943(0x25d)](),_0x676462[_0x168943(0x2e2)]>0x0&&_0x10f049[_0x168943(0x2ce)](_0x676462),_0x10f049['on']('close',_0x3d8170),_0x10f049['on'](_0x168943(0x2f6),_0x4d2d5c),_0x10f049['on']('end',_0x4f1d31),_0x10f049['on'](_0x168943(0x275),_0x3bb4c2),this[_0x168943(0x304)]=_0x39b47b['OPEN'],this['emit']('open');}[_0xc728da(0x252)](){const _0x57a468=_0xc728da;if(!this[_0x57a468(0x2e1)]){this[_0x57a468(0x304)]=_0x39b47b['CLOSED'],this[_0x57a468(0x1f8)](_0x57a468(0x308),this[_0x57a468(0x1cf)],this[_0x57a468(0x1c3)]);return;}this['_extensions'][_0x3efdec[_0x57a468(0x29a)]]&&this[_0x57a468(0x1cd)][_0x3efdec[_0x57a468(0x29a)]][_0x57a468(0x228)](),this[_0x57a468(0x204)]['removeAllListeners'](),this['_readyState']=_0x39b47b[_0x57a468(0x29c)],this['emit']('close',this['_closeCode'],this[_0x57a468(0x1c3)]);}[_0xc728da(0x308)](_0x2ab2d0,_0x8055ec){const _0x2f28c9=_0xc728da;if(this[_0x2f28c9(0x264)]!==_0x39b47b[_0x2f28c9(0x29c)]){if(this[_0x2f28c9(0x264)]===_0x39b47b['CONNECTING']){_0x28273a(this,this['_req'],_0x2f28c9(0x2e5));return;}if(this[_0x2f28c9(0x264)]===_0x39b47b['CLOSING']){this['_closeFrameSent']&&(this[_0x2f28c9(0x2f0)]||this[_0x2f28c9(0x204)][_0x2f28c9(0x265)][_0x2f28c9(0x257)])&&this[_0x2f28c9(0x2e1)][_0x2f28c9(0x317)]();return;}this['_readyState']=_0x39b47b['CLOSING'],this[_0x2f28c9(0x2b6)][_0x2f28c9(0x308)](_0x2ab2d0,_0x8055ec,!this[_0x2f28c9(0x1b4)],_0x5cc38a=>{const _0x53686a=_0x2f28c9;_0x5cc38a||(this[_0x53686a(0x32c)]=!0x0,(this[_0x53686a(0x2f0)]||this['_receiver']['_writableState'][_0x53686a(0x257)])&&this[_0x53686a(0x2e1)][_0x53686a(0x317)]());}),_0x21749f(this);}}[_0xc728da(0x201)](){const _0x17574f=_0xc728da;this[_0x17574f(0x264)]===_0x39b47b['CONNECTING']||this['readyState']===_0x39b47b[_0x17574f(0x29c)]||(this[_0x17574f(0x230)]=!0x0,this[_0x17574f(0x2e1)][_0x17574f(0x201)]());}[_0xc728da(0x250)](_0x16a7c6,_0x8bcc74,_0x23263c){const _0x5193a3=_0xc728da;if(this[_0x5193a3(0x264)]===_0x39b47b[_0x5193a3(0x1a9)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x16a7c6=='function'?(_0x23263c=_0x16a7c6,_0x16a7c6=_0x8bcc74=void 0x0):typeof _0x8bcc74==_0x5193a3(0x29e)&&(_0x23263c=_0x8bcc74,_0x8bcc74=void 0x0),typeof _0x16a7c6==_0x5193a3(0x243)&&(_0x16a7c6=_0x16a7c6['toString']()),this['readyState']!==_0x39b47b[_0x5193a3(0x20d)]){_0x72ae0d(this,_0x16a7c6,_0x23263c);return;}_0x8bcc74===void 0x0&&(_0x8bcc74=!this['_isServer']),this[_0x5193a3(0x2b6)][_0x5193a3(0x250)](_0x16a7c6||_0x4face7,_0x8bcc74,_0x23263c);}[_0xc728da(0x231)](_0x32f45b,_0x320e24,_0x5edba3){const _0x37b959=_0xc728da;if(this[_0x37b959(0x264)]===_0x39b47b[_0x37b959(0x1a9)])throw new Error(_0x37b959(0x2b4));if(typeof _0x32f45b==_0x37b959(0x29e)?(_0x5edba3=_0x32f45b,_0x32f45b=_0x320e24=void 0x0):typeof _0x320e24==_0x37b959(0x29e)&&(_0x5edba3=_0x320e24,_0x320e24=void 0x0),typeof _0x32f45b==_0x37b959(0x243)&&(_0x32f45b=_0x32f45b[_0x37b959(0x325)]()),this[_0x37b959(0x264)]!==_0x39b47b[_0x37b959(0x20d)]){_0x72ae0d(this,_0x32f45b,_0x5edba3);return;}_0x320e24===void 0x0&&(_0x320e24=!this['_isServer']),this[_0x37b959(0x2b6)]['pong'](_0x32f45b||_0x4face7,_0x320e24,_0x5edba3);}['resume'](){const _0xc6d764=_0xc728da;this[_0xc6d764(0x264)]===_0x39b47b[_0xc6d764(0x1a9)]||this[_0xc6d764(0x264)]===_0x39b47b['CLOSED']||(this['_paused']=!0x1,this['_receiver'][_0xc6d764(0x265)][_0xc6d764(0x256)]||this['_socket']['resume']());}[_0xc728da(0x2d7)](_0x46ab26,_0x5dc0a8,_0x1eddb3){const _0x27b6db=_0xc728da;if(this[_0x27b6db(0x264)]===_0x39b47b[_0x27b6db(0x1a9)])throw new Error(_0x27b6db(0x2b4));if(typeof _0x5dc0a8=='function'&&(_0x1eddb3=_0x5dc0a8,_0x5dc0a8={}),typeof _0x46ab26=='number'&&(_0x46ab26=_0x46ab26[_0x27b6db(0x325)]()),this[_0x27b6db(0x264)]!==_0x39b47b[_0x27b6db(0x20d)]){_0x72ae0d(this,_0x46ab26,_0x1eddb3);return;}const _0x5a5044={'binary':typeof _0x46ab26!='string','mask':!this[_0x27b6db(0x1b4)],'compress':!0x0,'fin':!0x0,..._0x5dc0a8};this['_extensions'][_0x3efdec['extensionName']]||(_0x5a5044['compress']=!0x1),this['_sender']['send'](_0x46ab26||_0x4face7,_0x5a5044,_0x1eddb3);}[_0xc728da(0x251)](){const _0x109134=_0xc728da;if(this[_0x109134(0x264)]!==_0x39b47b['CLOSED']){if(this['readyState']===_0x39b47b[_0x109134(0x1a9)]){_0x28273a(this,this['_req'],_0x109134(0x2e5));return;}this['_socket']&&(this[_0x109134(0x304)]=_0x39b47b['CLOSING'],this[_0x109134(0x2e1)]['destroy']());}}}Object[_0xc728da(0x1f2)](_0x39b47b,_0xc728da(0x1a9),{'enumerable':!0x0,'value':_0x3a23f6[_0xc728da(0x280)]('CONNECTING')}),Object[_0xc728da(0x1f2)](_0x39b47b['prototype'],'CONNECTING',{'enumerable':!0x0,'value':_0x3a23f6[_0xc728da(0x280)]('CONNECTING')}),Object[_0xc728da(0x1f2)](_0x39b47b,'OPEN',{'enumerable':!0x0,'value':_0x3a23f6[_0xc728da(0x280)](_0xc728da(0x20d))}),Object[_0xc728da(0x1f2)](_0x39b47b[_0xc728da(0x246)],'OPEN',{'enumerable':!0x0,'value':_0x3a23f6['indexOf'](_0xc728da(0x20d))}),Object['defineProperty'](_0x39b47b,'CLOSING',{'enumerable':!0x0,'value':_0x3a23f6[_0xc728da(0x280)](_0xc728da(0x215))}),Object[_0xc728da(0x1f2)](_0x39b47b['prototype'],_0xc728da(0x215),{'enumerable':!0x0,'value':_0x3a23f6[_0xc728da(0x280)](_0xc728da(0x215))}),Object[_0xc728da(0x1f2)](_0x39b47b,_0xc728da(0x29c),{'enumerable':!0x0,'value':_0x3a23f6[_0xc728da(0x280)](_0xc728da(0x29c))}),Object[_0xc728da(0x1f2)](_0x39b47b[_0xc728da(0x246)],_0xc728da(0x29c),{'enumerable':!0x0,'value':_0x3a23f6[_0xc728da(0x280)]('CLOSED')}),[_0xc728da(0x1e2),_0xc728da(0x1bf),_0xc728da(0x233),_0xc728da(0x2fa),_0xc728da(0x2f3),_0xc728da(0x264),_0xc728da(0x237)]['forEach'](_0x17e709=>{const _0x40ee46=_0xc728da;Object[_0x40ee46(0x1f2)](_0x39b47b[_0x40ee46(0x246)],_0x17e709,{'enumerable':!0x0});}),[_0xc728da(0x31e),_0xc728da(0x275),_0xc728da(0x308),_0xc728da(0x2b9)][_0xc728da(0x1f7)](_0x43c22f=>{const _0x405bfc=_0xc728da;Object[_0x405bfc(0x1f2)](_0x39b47b['prototype'],'on'+_0x43c22f,{'enumerable':!0x0,'get'(){for(const _0x2ff356 of this['listeners'](_0x43c22f))if(_0x2ff356[_0x2e6d68])return _0x2ff356[_0x22083a];return null;},'set'(_0x5b9405){const _0x29fcb6=_0x405bfc;for(const _0x1fa1b2 of this[_0x29fcb6(0x1f1)](_0x43c22f))if(_0x1fa1b2[_0x2e6d68]){this[_0x29fcb6(0x1c2)](_0x43c22f,_0x1fa1b2);break;}typeof _0x5b9405==_0x29fcb6(0x29e)&&this[_0x29fcb6(0x1d7)](_0x43c22f,_0x5b9405,{[_0x2e6d68]:!0x0});}});}),_0x39b47b[_0xc728da(0x246)]['addEventListener']=_0x365138,_0x39b47b[_0xc728da(0x246)][_0xc728da(0x240)]=_0x132f29,we=_0x39b47b;function _0x21a7ed(_0x305ae7,_0x2dba4a,_0x33a283,_0x2abfc8){const _0x1abe93=_0xc728da,_0x1ea1f2={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x5346e3[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x2abfc8,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x1abe93(0x1fb),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x305ae7[_0x1abe93(0x1c8)]=_0x1ea1f2[_0x1abe93(0x2d4)],!_0x5346e3[_0x1abe93(0x26d)](_0x1ea1f2[_0x1abe93(0x2cd)]))throw new RangeError(_0x1abe93(0x314)+_0x1ea1f2[_0x1abe93(0x2cd)]+_0x1abe93(0x253)+_0x5346e3[_0x1abe93(0x1ca)](',\x20')+')');let _0x327f0c;if(_0x2dba4a instanceof _0x1fa3d4)_0x327f0c=_0x2dba4a;else try{_0x327f0c=new _0x1fa3d4(_0x2dba4a);}catch{throw new SyntaxError(_0x1abe93(0x249)+_0x2dba4a);}_0x327f0c['protocol']===_0x1abe93(0x2e9)?_0x327f0c[_0x1abe93(0x2f3)]=_0x1abe93(0x1ff):_0x327f0c[_0x1abe93(0x2f3)]===_0x1abe93(0x289)&&(_0x327f0c['protocol']=_0x1abe93(0x339)),_0x305ae7[_0x1abe93(0x22b)]=_0x327f0c[_0x1abe93(0x22a)];const _0x441e2b=_0x327f0c[_0x1abe93(0x2f3)]===_0x1abe93(0x339),_0x3a4baf=_0x327f0c[_0x1abe93(0x2f3)]===_0x1abe93(0x232);let _0x1bf295;if(_0x327f0c['protocol']!==_0x1abe93(0x1ff)&&!_0x441e2b&&!_0x3a4baf?_0x1bf295='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':_0x3a4baf&&!_0x327f0c[_0x1abe93(0x286)]?_0x1bf295='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x327f0c[_0x1abe93(0x321)]&&(_0x1bf295='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x1bf295){const _0x542159=new SyntaxError(_0x1bf295);if(_0x305ae7[_0x1abe93(0x330)]===0x0)throw _0x542159;_0x45703f(_0x305ae7,_0x542159);return;}const _0x108b3e=_0x441e2b?0x1bb:0x50,_0x483a1d=_0x59f6c5(0x10)[_0x1abe93(0x325)](_0x1abe93(0x21d)),_0x48d852=_0x441e2b?_0x18d111[_0x1abe93(0x2de)]:_0x33786b[_0x1abe93(0x2de)],_0x5f8b22=new Set();let _0x378a94;if(_0x1ea1f2['createConnection']=_0x1ea1f2[_0x1abe93(0x34d)]||(_0x441e2b?_0x42df92:_0x6267a5),_0x1ea1f2[_0x1abe93(0x33b)]=_0x1ea1f2['defaultPort']||_0x108b3e,_0x1ea1f2[_0x1abe93(0x2fb)]=_0x327f0c['port']||_0x108b3e,_0x1ea1f2[_0x1abe93(0x31a)]=_0x327f0c[_0x1abe93(0x324)][_0x1abe93(0x299)]('[')?_0x327f0c[_0x1abe93(0x324)][_0x1abe93(0x287)](0x1,-0x1):_0x327f0c[_0x1abe93(0x324)],_0x1ea1f2[_0x1abe93(0x28f)]={..._0x1ea1f2[_0x1abe93(0x28f)],'Sec-WebSocket-Version':_0x1ea1f2[_0x1abe93(0x2cd)],'Sec-WebSocket-Key':_0x483a1d,'Connection':'Upgrade','Upgrade':_0x1abe93(0x227)},_0x1ea1f2[_0x1abe93(0x29d)]=_0x327f0c['pathname']+_0x327f0c[_0x1abe93(0x24d)],_0x1ea1f2['timeout']=_0x1ea1f2[_0x1abe93(0x23d)],_0x1ea1f2[_0x1abe93(0x333)]&&(_0x378a94=new _0x3efdec(_0x1ea1f2[_0x1abe93(0x333)]!==!0x0?_0x1ea1f2[_0x1abe93(0x333)]:{},!0x1,_0x1ea1f2[_0x1abe93(0x21b)]),_0x1ea1f2[_0x1abe93(0x28f)]['Sec-WebSocket-Extensions']=_0x4d947d({[_0x3efdec[_0x1abe93(0x29a)]]:_0x378a94[_0x1abe93(0x32d)]()})),_0x33a283[_0x1abe93(0x2e2)]){for(const _0x401c15 of _0x33a283){if(typeof _0x401c15!=_0x1abe93(0x31c)||!_0x759b19[_0x1abe93(0x1f0)](_0x401c15)||_0x5f8b22['has'](_0x401c15))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x5f8b22[_0x1abe93(0x2c9)](_0x401c15);}_0x1ea1f2[_0x1abe93(0x28f)][_0x1abe93(0x1b1)]=_0x33a283['join'](',');}if(_0x1ea1f2[_0x1abe93(0x1c4)]&&(_0x1ea1f2[_0x1abe93(0x2cd)]<0xd?_0x1ea1f2[_0x1abe93(0x28f)][_0x1abe93(0x24c)]=_0x1ea1f2['origin']:_0x1ea1f2[_0x1abe93(0x28f)][_0x1abe93(0x33f)]=_0x1ea1f2[_0x1abe93(0x1c4)]),(_0x327f0c[_0x1abe93(0x214)]||_0x327f0c[_0x1abe93(0x216)])&&(_0x1ea1f2['auth']=_0x327f0c[_0x1abe93(0x214)]+':'+_0x327f0c[_0x1abe93(0x216)]),_0x3a4baf){const _0x1535f8=_0x1ea1f2[_0x1abe93(0x29d)][_0x1abe93(0x2ad)](':');_0x1ea1f2['socketPath']=_0x1535f8[0x0],_0x1ea1f2[_0x1abe93(0x29d)]=_0x1535f8[0x1];}let _0x141dbb;if(_0x1ea1f2[_0x1abe93(0x2fd)]){if(_0x305ae7[_0x1abe93(0x330)]===0x0){_0x305ae7[_0x1abe93(0x323)]=_0x3a4baf,_0x305ae7['_originalSecure']=_0x441e2b,_0x305ae7['_originalHostOrSocketPath']=_0x3a4baf?_0x1ea1f2[_0x1abe93(0x1b8)]:_0x327f0c[_0x1abe93(0x31a)];const _0x18836d=_0x2abfc8&&_0x2abfc8[_0x1abe93(0x28f)];if(_0x2abfc8={..._0x2abfc8,'headers':{}},_0x18836d){for(const [_0x44449e,_0x267ba1]of Object[_0x1abe93(0x222)](_0x18836d))_0x2abfc8[_0x1abe93(0x28f)][_0x44449e[_0x1abe93(0x281)]()]=_0x267ba1;}}else{if(_0x305ae7[_0x1abe93(0x272)](_0x1abe93(0x20e))===0x0){const _0x406c6e=_0x3a4baf?_0x305ae7['_originalIpc']?_0x1ea1f2[_0x1abe93(0x1b8)]===_0x305ae7[_0x1abe93(0x25a)]:!0x1:_0x305ae7[_0x1abe93(0x323)]?!0x1:_0x327f0c[_0x1abe93(0x31a)]===_0x305ae7[_0x1abe93(0x25a)];(!_0x406c6e||_0x305ae7['_originalSecure']&&!_0x441e2b)&&(delete _0x1ea1f2[_0x1abe93(0x28f)][_0x1abe93(0x28d)],delete _0x1ea1f2[_0x1abe93(0x28f)][_0x1abe93(0x25f)],_0x406c6e||delete _0x1ea1f2[_0x1abe93(0x28f)][_0x1abe93(0x31a)],_0x1ea1f2['auth']=void 0x0);}}_0x1ea1f2[_0x1abe93(0x1a4)]&&!_0x2abfc8[_0x1abe93(0x28f)][_0x1abe93(0x28d)]&&(_0x2abfc8[_0x1abe93(0x28f)][_0x1abe93(0x28d)]=_0x1abe93(0x33c)+Buffer[_0x1abe93(0x25c)](_0x1ea1f2[_0x1abe93(0x1a4)])[_0x1abe93(0x325)](_0x1abe93(0x21d))),_0x141dbb=_0x305ae7[_0x1abe93(0x26b)]=_0x48d852(_0x1ea1f2),_0x305ae7[_0x1abe93(0x330)]&&_0x305ae7['emit'](_0x1abe93(0x20e),_0x305ae7[_0x1abe93(0x237)],_0x141dbb);}else _0x141dbb=_0x305ae7[_0x1abe93(0x26b)]=_0x48d852(_0x1ea1f2);_0x1ea1f2[_0x1abe93(0x298)]&&_0x141dbb['on'](_0x1abe93(0x298),()=>{const _0x18f47b=_0x1abe93;_0x28273a(_0x305ae7,_0x141dbb,_0x18f47b(0x2b0));}),_0x141dbb['on']('error',_0x2b150a=>{const _0x21d88e=_0x1abe93;_0x141dbb===null||_0x141dbb[_0xcd69c7]||(_0x141dbb=_0x305ae7[_0x21d88e(0x26b)]=null,_0x45703f(_0x305ae7,_0x2b150a));}),_0x141dbb['on'](_0x1abe93(0x260),_0x241094=>{const _0x26b160=_0x1abe93,_0x571156=_0x241094[_0x26b160(0x28f)]['location'],_0x268742=_0x241094[_0x26b160(0x23b)];if(_0x571156&&_0x1ea1f2[_0x26b160(0x2fd)]&&_0x268742>=0x12c&&_0x268742<0x190){if(++_0x305ae7[_0x26b160(0x330)]>_0x1ea1f2[_0x26b160(0x220)]){_0x28273a(_0x305ae7,_0x141dbb,_0x26b160(0x2d8));return;}_0x141dbb['abort']();let _0x33320e;try{_0x33320e=new _0x1fa3d4(_0x571156,_0x2dba4a);}catch{const _0x50fec6=new SyntaxError(_0x26b160(0x249)+_0x571156);_0x45703f(_0x305ae7,_0x50fec6);return;}_0x21a7ed(_0x305ae7,_0x33320e,_0x33a283,_0x2abfc8);}else _0x305ae7['emit'](_0x26b160(0x1a6),_0x141dbb,_0x241094)||_0x28273a(_0x305ae7,_0x141dbb,_0x26b160(0x28a)+_0x241094['statusCode']);}),_0x141dbb['on']('upgrade',(_0x13f1e2,_0x3133d2,_0x13b475)=>{const _0xa9bd7c=_0x1abe93;if(_0x305ae7[_0xa9bd7c(0x1f8)]('upgrade',_0x13f1e2),_0x305ae7['readyState']!==_0x39b47b['CONNECTING'])return;_0x141dbb=_0x305ae7[_0xa9bd7c(0x26b)]=null;const _0x56b93c=_0x13f1e2[_0xa9bd7c(0x28f)][_0xa9bd7c(0x2c4)];if(_0x56b93c===void 0x0||_0x56b93c[_0xa9bd7c(0x281)]()!==_0xa9bd7c(0x227)){_0x28273a(_0x305ae7,_0x3133d2,_0xa9bd7c(0x23f));return;}const _0x5ab9da=_0xd2e3be(_0xa9bd7c(0x1e5))[_0xa9bd7c(0x1eb)](_0x483a1d+_0x3b75ea)[_0xa9bd7c(0x346)]('base64');if(_0x13f1e2[_0xa9bd7c(0x28f)][_0xa9bd7c(0x1b2)]!==_0x5ab9da){_0x28273a(_0x305ae7,_0x3133d2,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x541b28=_0x13f1e2[_0xa9bd7c(0x28f)][_0xa9bd7c(0x297)];let _0x7e979b;if(_0x541b28!==void 0x0?_0x5f8b22[_0xa9bd7c(0x28e)]?_0x5f8b22['has'](_0x541b28)||(_0x7e979b='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x7e979b=_0xa9bd7c(0x30f):_0x5f8b22[_0xa9bd7c(0x28e)]&&(_0x7e979b=_0xa9bd7c(0x322)),_0x7e979b){_0x28273a(_0x305ae7,_0x3133d2,_0x7e979b);return;}_0x541b28&&(_0x305ae7[_0xa9bd7c(0x1a2)]=_0x541b28);const _0x5064b8=_0x13f1e2[_0xa9bd7c(0x28f)][_0xa9bd7c(0x241)];if(_0x5064b8!==void 0x0){if(!_0x378a94){_0x28273a(_0x305ae7,_0x3133d2,_0xa9bd7c(0x242));return;}let _0x431a7f;try{_0x431a7f=_0x55cc56(_0x5064b8);}catch{_0x28273a(_0x305ae7,_0x3133d2,_0xa9bd7c(0x32b));return;}const _0x455a9f=Object[_0xa9bd7c(0x2e6)](_0x431a7f);if(_0x455a9f[_0xa9bd7c(0x2e2)]!==0x1||_0x455a9f[0x0]!==_0x3efdec[_0xa9bd7c(0x29a)]){_0x28273a(_0x305ae7,_0x3133d2,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x378a94[_0xa9bd7c(0x336)](_0x431a7f[_0x3efdec[_0xa9bd7c(0x29a)]]);}catch{_0x28273a(_0x305ae7,_0x3133d2,_0xa9bd7c(0x32b));return;}_0x305ae7[_0xa9bd7c(0x1cd)][_0x3efdec[_0xa9bd7c(0x29a)]]=_0x378a94;}_0x305ae7['setSocket'](_0x3133d2,_0x13b475,{'allowSynchronousEvents':_0x1ea1f2[_0xa9bd7c(0x20c)],'generateMask':_0x1ea1f2[_0xa9bd7c(0x1ae)],'maxPayload':_0x1ea1f2[_0xa9bd7c(0x21b)],'skipUTF8Validation':_0x1ea1f2[_0xa9bd7c(0x30d)]});}),_0x1ea1f2['finishRequest']?_0x1ea1f2['finishRequest'](_0x141dbb,_0x305ae7):_0x141dbb[_0x1abe93(0x317)]();}function _0x45703f(_0x2012bd,_0x7c7f1f){const _0x4b4ce9=_0xc728da;_0x2012bd[_0x4b4ce9(0x304)]=_0x39b47b[_0x4b4ce9(0x215)],_0x2012bd[_0x4b4ce9(0x291)]=!0x0,_0x2012bd[_0x4b4ce9(0x1f8)](_0x4b4ce9(0x275),_0x7c7f1f),_0x2012bd['emitClose']();}function _0x6267a5(_0x17f12f){const _0x1676e2=_0xc728da;return _0x17f12f[_0x1676e2(0x29d)]=_0x17f12f[_0x1676e2(0x1b8)],_0x4cab4d[_0x1676e2(0x225)](_0x17f12f);}function _0x42df92(_0x427520){const _0x4b073c=_0xc728da;return _0x427520[_0x4b073c(0x29d)]=void 0x0,!_0x427520[_0x4b073c(0x292)]&&_0x427520[_0x4b073c(0x292)]!==''&&(_0x427520['servername']=_0x4cab4d[_0x4b073c(0x2ee)](_0x427520[_0x4b073c(0x31a)])?'':_0x427520['host']),_0x499138[_0x4b073c(0x225)](_0x427520);}function _0x28273a(_0x1f3f38,_0x4127da,_0x57499){const _0x5a012e=_0xc728da;_0x1f3f38[_0x5a012e(0x304)]=_0x39b47b[_0x5a012e(0x215)];const _0x504a0a=new Error(_0x57499);Error[_0x5a012e(0x282)](_0x504a0a,_0x28273a),_0x4127da['setHeader']?(_0x4127da[_0xcd69c7]=!0x0,_0x4127da[_0x5a012e(0x24b)](),_0x4127da[_0x5a012e(0x345)]&&!_0x4127da[_0x5a012e(0x345)][_0x5a012e(0x2d3)]&&_0x4127da['socket']['destroy'](),process['nextTick'](_0x45703f,_0x1f3f38,_0x504a0a)):(_0x4127da['destroy'](_0x504a0a),_0x4127da[_0x5a012e(0x340)]('error',_0x1f3f38[_0x5a012e(0x1f8)][_0x5a012e(0x332)](_0x1f3f38,'error')),_0x4127da[_0x5a012e(0x340)](_0x5a012e(0x308),_0x1f3f38[_0x5a012e(0x252)][_0x5a012e(0x332)](_0x1f3f38)));}function _0x72ae0d(_0x2f1c3b,_0x6d8e11,_0x44e488){const _0x9b4d26=_0xc728da;if(_0x6d8e11){const _0x340566=_0x36153c(_0x6d8e11)?_0x6d8e11['size']:_0x80ee68(_0x6d8e11)[_0x9b4d26(0x2e2)];_0x2f1c3b[_0x9b4d26(0x2e1)]?_0x2f1c3b['_sender'][_0x9b4d26(0x2eb)]+=_0x340566:_0x2f1c3b[_0x9b4d26(0x32a)]+=_0x340566;}if(_0x44e488){const _0x1ff9d6=new Error(_0x9b4d26(0x302)+_0x2f1c3b['readyState']+'\x20('+_0x3a23f6[_0x2f1c3b[_0x9b4d26(0x264)]]+')');process[_0x9b4d26(0x312)](_0x44e488,_0x1ff9d6);}}function _0x2bd0a0(_0x429d61,_0xcd1c52){const _0x388f85=_0xc728da,_0x1ac69f=this[_0x436396];_0x1ac69f['_closeFrameReceived']=!0x0,_0x1ac69f[_0x388f85(0x1c3)]=_0xcd1c52,_0x1ac69f['_closeCode']=_0x429d61,_0x1ac69f[_0x388f85(0x2e1)][_0x436396]!==void 0x0&&(_0x1ac69f['_socket'][_0x388f85(0x1c2)](_0x388f85(0x2f6),_0x4d2d5c),process[_0x388f85(0x312)](_0x1e1dd4,_0x1ac69f[_0x388f85(0x2e1)]),_0x429d61===0x3ed?_0x1ac69f[_0x388f85(0x308)]():_0x1ac69f[_0x388f85(0x308)](_0x429d61,_0xcd1c52));}function _0x100995(){const _0x2a0e10=_0xc728da,_0x47661e=this[_0x436396];_0x47661e[_0x2a0e10(0x2fa)]||_0x47661e[_0x2a0e10(0x2e1)][_0x2a0e10(0x344)]();}function _0x9925f1(_0x5b9b5e){const _0xac85b5=_0xc728da,_0x3bb711=this[_0x436396];_0x3bb711[_0xac85b5(0x2e1)][_0x436396]!==void 0x0&&(_0x3bb711[_0xac85b5(0x2e1)]['removeListener'](_0xac85b5(0x2f6),_0x4d2d5c),process['nextTick'](_0x1e1dd4,_0x3bb711['_socket']),_0x3bb711[_0xac85b5(0x308)](_0x5b9b5e[_0x5d093b])),_0x3bb711[_0xac85b5(0x291)]||(_0x3bb711['_errorEmitted']=!0x0,_0x3bb711[_0xac85b5(0x1f8)]('error',_0x5b9b5e));}function _0x547417(){const _0x300201=_0xc728da;this[_0x436396][_0x300201(0x252)]();}function _0x21a111(_0x3897cb,_0x700fa0){const _0x32121e=_0xc728da;this[_0x436396][_0x32121e(0x1f8)](_0x32121e(0x2b9),_0x3897cb,_0x700fa0);}function _0x23c54a(_0x3715bd){const _0x20cd89=_0xc728da,_0x3efc7d=this[_0x436396];_0x3efc7d[_0x20cd89(0x1c8)]&&_0x3efc7d[_0x20cd89(0x231)](_0x3715bd,!this[_0x20cd89(0x1b4)],_0x57f27b),_0x3efc7d['emit']('ping',_0x3715bd);}function _0x1f3557(_0x13f0a2){this[_0x436396]['emit']('pong',_0x13f0a2);}function _0x1e1dd4(_0x4e01d6){_0x4e01d6['resume']();}function _0x54a96b(_0x585b22){const _0x56dfbe=_0xc728da,_0x334d16=this[_0x436396];_0x334d16[_0x56dfbe(0x264)]!==_0x39b47b[_0x56dfbe(0x29c)]&&(_0x334d16['readyState']===_0x39b47b['OPEN']&&(_0x334d16[_0x56dfbe(0x304)]=_0x39b47b[_0x56dfbe(0x215)],_0x21749f(_0x334d16)),this['_socket'][_0x56dfbe(0x317)](),_0x334d16[_0x56dfbe(0x291)]||(_0x334d16[_0x56dfbe(0x291)]=!0x0,_0x334d16[_0x56dfbe(0x1f8)]('error',_0x585b22)));}function _0x21749f(_0xcb4980){const _0xf253f5=_0xc728da;_0xcb4980['_closeTimer']=setTimeout(_0xcb4980[_0xf253f5(0x2e1)]['destroy'][_0xf253f5(0x332)](_0xcb4980[_0xf253f5(0x2e1)]),_0x59caaa);}function _0x3d8170(){const _0x46fc46=_0xc728da,_0x488596=this[_0x436396];this[_0x46fc46(0x1c2)]('close',_0x3d8170),this[_0x46fc46(0x1c2)](_0x46fc46(0x2f6),_0x4d2d5c),this[_0x46fc46(0x1c2)]('end',_0x4f1d31),_0x488596[_0x46fc46(0x304)]=_0x39b47b[_0x46fc46(0x215)];let _0x4a668c;!this[_0x46fc46(0x28c)][_0x46fc46(0x258)]&&!_0x488596['_closeFrameReceived']&&!_0x488596['_receiver'][_0x46fc46(0x265)][_0x46fc46(0x257)]&&(_0x4a668c=_0x488596[_0x46fc46(0x2e1)][_0x46fc46(0x2b8)]())!==null&&_0x488596[_0x46fc46(0x204)][_0x46fc46(0x2cc)](_0x4a668c),_0x488596[_0x46fc46(0x204)]['end'](),this[_0x436396]=void 0x0,clearTimeout(_0x488596['_closeTimer']),_0x488596[_0x46fc46(0x204)]['_writableState']['finished']||_0x488596[_0x46fc46(0x204)][_0x46fc46(0x265)][_0x46fc46(0x257)]?_0x488596[_0x46fc46(0x252)]():(_0x488596['_receiver']['on'](_0x46fc46(0x275),_0x547417),_0x488596[_0x46fc46(0x204)]['on']('finish',_0x547417));}function _0x4d2d5c(_0x5313ca){const _0x144beb=_0xc728da;this[_0x436396]['_receiver'][_0x144beb(0x2cc)](_0x5313ca)||this[_0x144beb(0x201)]();}function _0x4f1d31(){const _0x3ab5d7=_0xc728da,_0x24cf70=this[_0x436396];_0x24cf70[_0x3ab5d7(0x304)]=_0x39b47b[_0x3ab5d7(0x215)],_0x24cf70[_0x3ab5d7(0x204)][_0x3ab5d7(0x317)](),this[_0x3ab5d7(0x317)]();}function _0x3bb4c2(){const _0x14bdd2=_0xc728da,_0x27a029=this[_0x436396];this[_0x14bdd2(0x1c2)](_0x14bdd2(0x275),_0x3bb4c2),this['on'](_0x14bdd2(0x275),_0x57f27b),_0x27a029&&(_0x27a029[_0x14bdd2(0x304)]=_0x39b47b[_0x14bdd2(0x215)],this[_0x14bdd2(0x263)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x2a7700}=_0x1863ea;function _0x1c2e0b(_0xe297ba){const _0x196897=_0x14a6;_0xe297ba[_0x196897(0x1f8)](_0x196897(0x308));}function _0x175af6(){const _0x25920e=_0x14a6;!this[_0x25920e(0x2d3)]&&this[_0x25920e(0x265)][_0x25920e(0x1d9)]&&this[_0x25920e(0x263)]();}function _0x4d4579(_0x568349){const _0x51e2fa=_0x14a6;this[_0x51e2fa(0x1c2)](_0x51e2fa(0x275),_0x4d4579),this[_0x51e2fa(0x263)](),this[_0x51e2fa(0x272)](_0x51e2fa(0x275))===0x0&&this[_0x51e2fa(0x1f8)]('error',_0x568349);}function _0x1674ad(_0x452a6f,_0x1d1990){const _0x12f990=_0x14a6;let _0xc7e77f=!0x0;const _0x1268a6=new _0x2a7700({..._0x1d1990,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x452a6f['on']('message',function(_0x454fee,_0x56cb57){const _0x3d7e75=_0x14a6,_0x56616a=!_0x56cb57&&_0x1268a6['_readableState'][_0x3d7e75(0x244)]?_0x454fee['toString']():_0x454fee;_0x1268a6['push'](_0x56616a)||_0x452a6f['pause']();}),_0x452a6f[_0x12f990(0x340)](_0x12f990(0x275),function(_0x4af3d3){_0x1268a6['destroyed']||(_0xc7e77f=!0x1,_0x1268a6['destroy'](_0x4af3d3));}),_0x452a6f['once'](_0x12f990(0x308),function(){_0x1268a6['destroyed']||_0x1268a6['push'](null);}),_0x1268a6[_0x12f990(0x348)]=function(_0x1db150,_0x530325){const _0x2aac4e=_0x12f990;if(_0x452a6f[_0x2aac4e(0x264)]===_0x452a6f[_0x2aac4e(0x29c)]){_0x530325(_0x1db150),process[_0x2aac4e(0x312)](_0x1c2e0b,_0x1268a6);return;}let _0xf65372=!0x1;_0x452a6f['once']('error',function(_0x7cfa21){_0xf65372=!0x0,_0x530325(_0x7cfa21);}),_0x452a6f[_0x2aac4e(0x340)](_0x2aac4e(0x308),function(){const _0x335b0d=_0x2aac4e;_0xf65372||_0x530325(_0x1db150),process[_0x335b0d(0x312)](_0x1c2e0b,_0x1268a6);}),_0xc7e77f&&_0x452a6f[_0x2aac4e(0x251)]();},_0x1268a6[_0x12f990(0x331)]=function(_0x43a36c){const _0x3c3295=_0x12f990;if(_0x452a6f['readyState']===_0x452a6f[_0x3c3295(0x1a9)]){_0x452a6f[_0x3c3295(0x340)](_0x3c3295(0x31e),function(){_0x1268a6['_final'](_0x43a36c);});return;}_0x452a6f[_0x3c3295(0x2e1)]!==null&&(_0x452a6f[_0x3c3295(0x2e1)][_0x3c3295(0x265)]['finished']?(_0x43a36c(),_0x1268a6[_0x3c3295(0x28c)][_0x3c3295(0x258)]&&_0x1268a6[_0x3c3295(0x263)]()):(_0x452a6f[_0x3c3295(0x2e1)][_0x3c3295(0x340)]('finish',function(){_0x43a36c();}),_0x452a6f[_0x3c3295(0x308)]()));},_0x1268a6[_0x12f990(0x320)]=function(){const _0x455966=_0x12f990;_0x452a6f[_0x455966(0x2fa)]&&_0x452a6f['resume']();},_0x1268a6[_0x12f990(0x2ec)]=function(_0x531eb1,_0x1787fe,_0x32f367){const _0x665d0a=_0x12f990;if(_0x452a6f[_0x665d0a(0x264)]===_0x452a6f[_0x665d0a(0x1a9)]){_0x452a6f[_0x665d0a(0x340)](_0x665d0a(0x31e),function(){const _0x3e39c5=_0x665d0a;_0x1268a6[_0x3e39c5(0x2ec)](_0x531eb1,_0x1787fe,_0x32f367);});return;}_0x452a6f['send'](_0x531eb1,_0x32f367);},_0x1268a6['on'](_0x12f990(0x317),_0x175af6),_0x1268a6['on'](_0x12f990(0x275),_0x4d4579),_0x1268a6;}return Oe=_0x1674ad,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x1bc031}=ne();function _0x350168(_0x32a98a){const _0x1cacdf=_0x14a6,_0x43c903=new Set();let _0x3edd77=-0x1,_0x14ed1c=-0x1,_0x46e5d7=0x0;for(_0x46e5d7;_0x46e5d7<_0x32a98a[_0x1cacdf(0x2e2)];_0x46e5d7++){const _0x8fb8a7=_0x32a98a[_0x1cacdf(0x347)](_0x46e5d7);if(_0x14ed1c===-0x1&&_0x1bc031[_0x8fb8a7]===0x1)_0x3edd77===-0x1&&(_0x3edd77=_0x46e5d7);else{if(_0x46e5d7!==0x0&&(_0x8fb8a7===0x20||_0x8fb8a7===0x9))_0x14ed1c===-0x1&&_0x3edd77!==-0x1&&(_0x14ed1c=_0x46e5d7);else{if(_0x8fb8a7===0x2c){if(_0x3edd77===-0x1)throw new SyntaxError(_0x1cacdf(0x1f4)+_0x46e5d7);_0x14ed1c===-0x1&&(_0x14ed1c=_0x46e5d7);const _0x2abf71=_0x32a98a[_0x1cacdf(0x287)](_0x3edd77,_0x14ed1c);if(_0x43c903[_0x1cacdf(0x1ab)](_0x2abf71))throw new SyntaxError(_0x1cacdf(0x33a)+_0x2abf71+_0x1cacdf(0x21a));_0x43c903[_0x1cacdf(0x2c9)](_0x2abf71),_0x3edd77=_0x14ed1c=-0x1;}else throw new SyntaxError(_0x1cacdf(0x1f4)+_0x46e5d7);}}}if(_0x3edd77===-0x1||_0x14ed1c!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x41d6f5=_0x32a98a[_0x1cacdf(0x287)](_0x3edd77,_0x46e5d7);if(_0x43c903[_0x1cacdf(0x1ab)](_0x41d6f5))throw new SyntaxError(_0x1cacdf(0x33a)+_0x41d6f5+_0x1cacdf(0x21a));return _0x43c903[_0x1cacdf(0x2c9)](_0x41d6f5),_0x43c903;}return Ce={'parse':_0x350168},Ce;}var Te,ot;function er(){const _0x334735=_0x33b6d8;if(ot)return Te;ot=0x1;const _0x464537=_0x430b2b,_0x5abae4=_0x5d432a,{Duplex:_0x541b6b}=_0x1863ea,{createHash:_0x122918}=_0x8ecdb4,_0x149019=pt(),_0x2993c5=he(),_0x1e1ecd=Jt(),_0x2e09a3=Ie(),{GUID:_0x4c0a36,kWebSocket:_0x469826}=V(),_0x207a09=/^[+/0-9A-Za-z]{22}==$/,_0x23330e=0x0,_0x523538=0x1,_0x46679f=0x2;class _0x402ae0 extends _0x464537{constructor(_0x1bd0d9,_0x1d5a6a){const _0x1cf72f=_0x14a6;if(super(),_0x1bd0d9={'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':_0x2e09a3,..._0x1bd0d9},_0x1bd0d9[_0x1cf72f(0x2fb)]==null&&!_0x1bd0d9[_0x1cf72f(0x1ed)]&&!_0x1bd0d9['noServer']||_0x1bd0d9[_0x1cf72f(0x2fb)]!=null&&(_0x1bd0d9[_0x1cf72f(0x1ed)]||_0x1bd0d9['noServer'])||_0x1bd0d9[_0x1cf72f(0x1ed)]&&_0x1bd0d9[_0x1cf72f(0x296)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x1bd0d9[_0x1cf72f(0x2fb)]!=null?(this[_0x1cf72f(0x2ab)]=_0x5abae4[_0x1cf72f(0x1a1)]((_0x266d25,_0x578f83)=>{const _0x2a0d81=_0x1cf72f,_0x1d5e41=_0x5abae4[_0x2a0d81(0x1c7)][0x1aa];_0x578f83['writeHead'](0x1aa,{'Content-Length':_0x1d5e41['length'],'Content-Type':'text/plain'}),_0x578f83[_0x2a0d81(0x317)](_0x1d5e41);}),this['_server'][_0x1cf72f(0x31d)](_0x1bd0d9[_0x1cf72f(0x2fb)],_0x1bd0d9[_0x1cf72f(0x31a)],_0x1bd0d9['backlog'],_0x1d5a6a)):_0x1bd0d9[_0x1cf72f(0x1ed)]&&(this[_0x1cf72f(0x2ab)]=_0x1bd0d9[_0x1cf72f(0x1ed)]),this['_server']){const _0x2c615=this['emit']['bind'](this,_0x1cf72f(0x2a7));this[_0x1cf72f(0x247)]=_0x23ec8e(this[_0x1cf72f(0x2ab)],{'listening':this[_0x1cf72f(0x1f8)][_0x1cf72f(0x332)](this,_0x1cf72f(0x305)),'error':this[_0x1cf72f(0x1f8)]['bind'](this,_0x1cf72f(0x275)),'upgrade':(_0x27e977,_0x30a2fb,_0x517e94)=>{const _0x532ff0=_0x1cf72f;this[_0x532ff0(0x269)](_0x27e977,_0x30a2fb,_0x517e94,_0x2c615);}});}_0x1bd0d9[_0x1cf72f(0x333)]===!0x0&&(_0x1bd0d9['perMessageDeflate']={}),_0x1bd0d9[_0x1cf72f(0x2a5)]&&(this['clients']=new Set(),this[_0x1cf72f(0x1de)]=!0x1),this[_0x1cf72f(0x202)]=_0x1bd0d9,this[_0x1cf72f(0x20f)]=_0x23330e;}[_0x334735(0x277)](){const _0x18b163=_0x334735;if(this['options'][_0x18b163(0x296)])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this[_0x18b163(0x2ab)]?this[_0x18b163(0x2ab)]['address']():null;}[_0x334735(0x308)](_0x556777){const _0x2d102b=_0x334735;if(this[_0x2d102b(0x20f)]===_0x46679f){_0x556777&&this[_0x2d102b(0x340)](_0x2d102b(0x308),()=>{_0x556777(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x2d102b(0x312)](_0x290de7,this);return;}if(_0x556777&&this[_0x2d102b(0x340)](_0x2d102b(0x308),_0x556777),this[_0x2d102b(0x20f)]!==_0x523538){if(this[_0x2d102b(0x20f)]=_0x523538,this[_0x2d102b(0x202)]['noServer']||this['options'][_0x2d102b(0x1ed)])this['_server']&&(this['_removeListeners'](),this[_0x2d102b(0x247)]=this['_server']=null),this['clients']?this[_0x2d102b(0x1ee)][_0x2d102b(0x28e)]?this['_shouldEmitClose']=!0x0:process['nextTick'](_0x290de7,this):process[_0x2d102b(0x312)](_0x290de7,this);else{const _0xc8ce3e=this['_server'];this['_removeListeners'](),this[_0x2d102b(0x247)]=this[_0x2d102b(0x2ab)]=null,_0xc8ce3e[_0x2d102b(0x308)](()=>{_0x290de7(this);});}}}[_0x334735(0x2a9)](_0x1fa413){const _0x2eee1c=_0x334735;if(this[_0x2eee1c(0x202)][_0x2eee1c(0x29d)]){const _0x3ab79d=_0x1fa413[_0x2eee1c(0x237)][_0x2eee1c(0x280)]('?');if((_0x3ab79d!==-0x1?_0x1fa413['url'][_0x2eee1c(0x287)](0x0,_0x3ab79d):_0x1fa413[_0x2eee1c(0x237)])!==this[_0x2eee1c(0x202)][_0x2eee1c(0x29d)])return!0x1;}return!0x0;}[_0x334735(0x269)](_0x2daee4,_0x2eb07c,_0xe6ae1f,_0x18e14b){const _0x4f1712=_0x334735;_0x2eb07c['on']('error',_0x2b4a1d);const _0x291beb=_0x2daee4[_0x4f1712(0x28f)][_0x4f1712(0x295)],_0x26468a=_0x2daee4[_0x4f1712(0x28f)][_0x4f1712(0x2c4)],_0x36a304=+_0x2daee4[_0x4f1712(0x28f)][_0x4f1712(0x21f)];if(_0x2daee4[_0x4f1712(0x1c6)]!==_0x4f1712(0x1fb)){_0xe6e5f1(this,_0x2daee4,_0x2eb07c,0x195,_0x4f1712(0x1af));return;}if(_0x26468a===void 0x0||_0x26468a['toLowerCase']()!==_0x4f1712(0x227)){_0xe6e5f1(this,_0x2daee4,_0x2eb07c,0x190,_0x4f1712(0x23f));return;}if(_0x291beb===void 0x0||!_0x207a09[_0x4f1712(0x1f0)](_0x291beb)){_0xe6e5f1(this,_0x2daee4,_0x2eb07c,0x190,_0x4f1712(0x27e));return;}if(_0x36a304!==0x8&&_0x36a304!==0xd){_0xe6e5f1(this,_0x2daee4,_0x2eb07c,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this[_0x4f1712(0x2a9)](_0x2daee4)){_0x387fc3(_0x2eb07c,0x190);return;}const _0x10196c=_0x2daee4[_0x4f1712(0x28f)][_0x4f1712(0x297)];let _0x47c340=new Set();if(_0x10196c!==void 0x0)try{_0x47c340=_0x1e1ecd[_0x4f1712(0x34a)](_0x10196c);}catch{_0xe6e5f1(this,_0x2daee4,_0x2eb07c,0x190,_0x4f1712(0x23e));return;}const _0x1a5975=_0x2daee4[_0x4f1712(0x28f)][_0x4f1712(0x241)],_0x2a797c={};if(this[_0x4f1712(0x202)][_0x4f1712(0x333)]&&_0x1a5975!==void 0x0){const _0x46a69e=new _0x2993c5(this['options']['perMessageDeflate'],!0x0,this[_0x4f1712(0x202)]['maxPayload']);try{const _0x3f1f05=_0x149019[_0x4f1712(0x34a)](_0x1a5975);_0x3f1f05[_0x2993c5['extensionName']]&&(_0x46a69e['accept'](_0x3f1f05[_0x2993c5['extensionName']]),_0x2a797c[_0x2993c5[_0x4f1712(0x29a)]]=_0x46a69e);}catch{_0xe6e5f1(this,_0x2daee4,_0x2eb07c,0x190,_0x4f1712(0x278));return;}}if(this[_0x4f1712(0x202)][_0x4f1712(0x254)]){const _0x1c665a={'origin':_0x2daee4[_0x4f1712(0x28f)][''+(_0x36a304===0x8?_0x4f1712(0x30a):_0x4f1712(0x1c4))],'secure':!!(_0x2daee4[_0x4f1712(0x345)][_0x4f1712(0x1be)]||_0x2daee4[_0x4f1712(0x345)][_0x4f1712(0x294)]),'req':_0x2daee4};if(this[_0x4f1712(0x202)]['verifyClient']['length']===0x2){this[_0x4f1712(0x202)][_0x4f1712(0x254)](_0x1c665a,(_0x4ce387,_0x296c85,_0x5df640,_0x2b2e34)=>{const _0x4ee025=_0x4f1712;if(!_0x4ce387)return _0x387fc3(_0x2eb07c,_0x296c85||0x191,_0x5df640,_0x2b2e34);this[_0x4ee025(0x24f)](_0x2a797c,_0x291beb,_0x47c340,_0x2daee4,_0x2eb07c,_0xe6ae1f,_0x18e14b);});return;}if(!this[_0x4f1712(0x202)][_0x4f1712(0x254)](_0x1c665a))return _0x387fc3(_0x2eb07c,0x191);}this['completeUpgrade'](_0x2a797c,_0x291beb,_0x47c340,_0x2daee4,_0x2eb07c,_0xe6ae1f,_0x18e14b);}['completeUpgrade'](_0x263331,_0x480ed1,_0x5bba87,_0x14ec91,_0x1c948e,_0x12b95d,_0x50cd5b){const _0x58d5a5=_0x334735;if(!_0x1c948e[_0x58d5a5(0x334)]||!_0x1c948e[_0x58d5a5(0x303)])return _0x1c948e[_0x58d5a5(0x263)]();if(_0x1c948e[_0x469826])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this['_state']>_0x23330e)return _0x387fc3(_0x1c948e,0x1f7);const _0x1defd3=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x58d5a5(0x2b5),_0x58d5a5(0x1b9),_0x58d5a5(0x1b7)+_0x122918(_0x58d5a5(0x1e5))['update'](_0x480ed1+_0x4c0a36)[_0x58d5a5(0x346)](_0x58d5a5(0x21d))],_0x4624c0=new this[(_0x58d5a5(0x202))][(_0x58d5a5(0x206))](null,void 0x0,this[_0x58d5a5(0x202)]);if(_0x5bba87[_0x58d5a5(0x28e)]){const _0x3c5c9c=this['options'][_0x58d5a5(0x1bd)]?this[_0x58d5a5(0x202)][_0x58d5a5(0x1bd)](_0x5bba87,_0x14ec91):_0x5bba87['values']()[_0x58d5a5(0x293)]()['value'];_0x3c5c9c&&(_0x1defd3[_0x58d5a5(0x2b3)](_0x58d5a5(0x27f)+_0x3c5c9c),_0x4624c0['_protocol']=_0x3c5c9c);}if(_0x263331[_0x2993c5[_0x58d5a5(0x29a)]]){const _0x4696f3=_0x263331[_0x2993c5['extensionName']][_0x58d5a5(0x21e)],_0x44d100=_0x149019['format']({[_0x2993c5['extensionName']]:[_0x4696f3]});_0x1defd3[_0x58d5a5(0x2b3)]('Sec-WebSocket-Extensions:\x20'+_0x44d100),_0x4624c0[_0x58d5a5(0x1cd)]=_0x263331;}this[_0x58d5a5(0x1f8)](_0x58d5a5(0x28f),_0x1defd3,_0x14ec91),_0x1c948e['write'](_0x1defd3[_0x58d5a5(0x2a0)]('\x0d\x0a')[_0x58d5a5(0x1ca)]('\x0d\x0a')),_0x1c948e['removeListener']('error',_0x2b4a1d),_0x4624c0[_0x58d5a5(0x218)](_0x1c948e,_0x12b95d,{'allowSynchronousEvents':this[_0x58d5a5(0x202)][_0x58d5a5(0x20c)],'maxPayload':this[_0x58d5a5(0x202)][_0x58d5a5(0x21b)],'skipUTF8Validation':this[_0x58d5a5(0x202)][_0x58d5a5(0x30d)]}),this['clients']&&(this[_0x58d5a5(0x1ee)][_0x58d5a5(0x2c9)](_0x4624c0),_0x4624c0['on']('close',()=>{const _0x401467=_0x58d5a5;this[_0x401467(0x1ee)]['delete'](_0x4624c0),this[_0x401467(0x1de)]&&!this[_0x401467(0x1ee)][_0x401467(0x28e)]&&process[_0x401467(0x312)](_0x290de7,this);})),_0x50cd5b(_0x4624c0,_0x14ec91);}}Te=_0x402ae0;function _0x23ec8e(_0x256518,_0x169b8e){const _0x5817db=_0x334735;for(const _0x374ec7 of Object[_0x5817db(0x2e6)](_0x169b8e))_0x256518['on'](_0x374ec7,_0x169b8e[_0x374ec7]);return function(){const _0x26837c=_0x5817db;for(const _0x47505a of Object[_0x26837c(0x2e6)](_0x169b8e))_0x256518['removeListener'](_0x47505a,_0x169b8e[_0x47505a]);};}function _0x290de7(_0x251af6){const _0x11b50c=_0x334735;_0x251af6[_0x11b50c(0x20f)]=_0x46679f,_0x251af6[_0x11b50c(0x1f8)](_0x11b50c(0x308));}function _0x2b4a1d(){this['destroy']();}function _0x387fc3(_0xbca815,_0x19e488,_0x457172,_0x305d21){const _0xb71e=_0x334735;_0x457172=_0x457172||_0x5abae4['STATUS_CODES'][_0x19e488],_0x305d21={'Connection':_0xb71e(0x308),'Content-Type':_0xb71e(0x2ea),'Content-Length':Buffer[_0xb71e(0x311)](_0x457172),..._0x305d21},_0xbca815[_0xb71e(0x340)](_0xb71e(0x2e7),_0xbca815[_0xb71e(0x263)]),_0xbca815[_0xb71e(0x317)](_0xb71e(0x205)+_0x19e488+'\x20'+_0x5abae4[_0xb71e(0x1c7)][_0x19e488]+'\x0d\x0a'+Object['keys'](_0x305d21)[_0xb71e(0x262)](_0x40ec99=>_0x40ec99+':\x20'+_0x305d21[_0x40ec99])[_0xb71e(0x1ca)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x457172);}function _0xe6e5f1(_0x2519b6,_0x26b03c,_0x2bb301,_0x13c6c6,_0x20591c){const _0x4ace12=_0x334735;if(_0x2519b6[_0x4ace12(0x272)](_0x4ace12(0x1ac))){const _0x416091=new Error(_0x20591c);Error[_0x4ace12(0x282)](_0x416091,_0xe6e5f1),_0x2519b6[_0x4ace12(0x1f8)](_0x4ace12(0x1ac),_0x416091,_0x2bb301,_0x26b03c);}else _0x387fc3(_0x2bb301,_0x13c6c6,_0x20591c);}return Te;}er();var tr=Object[_0x33b6d8(0x1d3)],rr=(_0x170093,_0x3a08a9,_0x1e8776,_0x316861)=>{const _0x1dccea=_0x33b6d8;for(var _0x4a9ebc=_0x316861>0x1?void 0x0:_0x316861?tr(_0x3a08a9,_0x1e8776):_0x3a08a9,_0x4c0702=_0x170093[_0x1dccea(0x2e2)]-0x1,_0x47f874;_0x4c0702>=0x0;_0x4c0702--)(_0x47f874=_0x170093[_0x4c0702])&&(_0x4a9ebc=_0x47f874(_0x4a9ebc)||_0x4a9ebc);return _0x4a9ebc;},sr=(_0x382744,_0x1053b6)=>(_0x512d4b,_0x17a2d5)=>_0x1053b6(_0x512d4b,_0x17a2d5,_0x382744);let Ne=class extends _0x5c74db{constructor(_0x5cf2e6){super(),this['_configService']=_0x5cf2e6;}[_0x33b6d8(0x283)](_0x4b98e6){const _0x3a3832=_0x33b6d8;var _0x3ae36d;const _0x520eea=(_0x3ae36d=this[_0x3a3832(0x2df)][_0x3a3832(0x2d6)](Be))==null?void 0x0:_0x3ae36d[_0x3a3832(0x261)];try{const _0x25ac0f=new Qt(_0x4b98e6,{'headers':{..._0x520eea}}),_0x354935=new _0x31dddf();return{'URL':_0x4b98e6,'close':(_0x4730fb,_0x3e7f3e)=>{const _0x2a0e37=_0x3a3832;_0x25ac0f[_0x2a0e37(0x308)](_0x4730fb,_0x3e7f3e),_0x354935[_0x2a0e37(0x30c)]();},'send':_0x16145d=>{const _0x5b10ef=_0x3a3832;_0x25ac0f[_0x5b10ef(0x2d7)](_0x16145d);},'open$':new _0x515040(_0x18eed6=>{const _0x349d93=_0x3a3832,_0x1e6f7e=_0x5e1768=>_0x18eed6[_0x349d93(0x293)](_0x5e1768);_0x25ac0f[_0x349d93(0x1d7)](_0x349d93(0x31e),_0x1e6f7e),_0x354935[_0x349d93(0x2c9)](_0x50585f(()=>_0x25ac0f[_0x349d93(0x240)](_0x349d93(0x31e),_0x1e6f7e)));})[_0x3a3832(0x239)](_0x1df6fe()),'close$':new _0x515040(_0x4c44ca=>{const _0x380682=_0x3a3832,_0x2d5cb4=_0xc55f41=>_0x4c44ca[_0x380682(0x293)](_0xc55f41);_0x25ac0f[_0x380682(0x1d7)](_0x380682(0x308),_0x2d5cb4),_0x354935[_0x380682(0x2c9)](_0x50585f(()=>_0x25ac0f[_0x380682(0x240)](_0x380682(0x308),_0x2d5cb4)));})[_0x3a3832(0x239)](_0x1df6fe()),'error$':new _0x515040(_0x4ea5ab=>{const _0x1302ed=_0x3a3832,_0x4b2ff4=_0x3d8d15=>_0x4ea5ab['next'](_0x3d8d15);_0x25ac0f['addEventListener'](_0x1302ed(0x275),_0x4b2ff4),_0x354935[_0x1302ed(0x2c9)](_0x50585f(()=>_0x25ac0f[_0x1302ed(0x240)](_0x1302ed(0x275),_0x4b2ff4)));})[_0x3a3832(0x239)](_0x1df6fe()),'message$':new _0x515040(_0xba1d3c=>{const _0x487dbe=_0x3a3832,_0x784724=_0x1bea91=>_0xba1d3c[_0x487dbe(0x293)](_0x1bea91);_0x25ac0f['addEventListener']('message',_0x784724),_0x354935['add'](_0x50585f(()=>_0x25ac0f[_0x487dbe(0x240)](_0x487dbe(0x2b9),_0x784724)));})[_0x3a3832(0x239)](_0x1df6fe())};}catch(_0x38058d){return console[_0x3a3832(0x275)](_0x38058d),null;}}};Ne=rr([sr(0x0,_0x5ca765)],Ne);var ir=Object[_0x33b6d8(0x1f2)],nr=Object[_0x33b6d8(0x1d3)],or=(_0x1b1516,_0x39f799,_0x1dcdda)=>_0x39f799 in _0x1b1516?ir(_0x1b1516,_0x39f799,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1dcdda}):_0x1b1516[_0x39f799]=_0x1dcdda,ar=(_0x42e621,_0x4625c2,_0x4def7b,_0x3fa9ec)=>{const _0x171fcd=_0x33b6d8;for(var _0x48408b=_0x3fa9ec>0x1?void 0x0:_0x3fa9ec?nr(_0x4625c2,_0x4def7b):_0x4625c2,_0x203af2=_0x42e621[_0x171fcd(0x2e2)]-0x1,_0x35dc49;_0x203af2>=0x0;_0x203af2--)(_0x35dc49=_0x42e621[_0x203af2])&&(_0x48408b=_0x35dc49(_0x48408b)||_0x48408b);return _0x48408b;},ke=(_0x4b7c76,_0x39dd7c)=>(_0x437837,_0x5b17c9)=>_0x39dd7c(_0x437837,_0x5b17c9,_0x4b7c76),lr=(_0xed1532,_0x883bd9,_0x513a24)=>or(_0xed1532,_0x883bd9+'',_0x513a24);let Pe=class extends _0x14674b{constructor(_0x50671f=Ft,_0x479ba0,_0x1a06de,_0x5c488c){const _0x351421=_0x33b6d8;_0x50671f[_0x351421(0x261)]||_0x479ba0[_0x351421(0x2b1)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x351421(0x2df)]=_0x1a06de,this[_0x351421(0x208)]=_0x5c488c,this[_0x351421(0x2df)]['setConfig'](Be,_0x50671f);}[_0x33b6d8(0x238)](){const _0x47efcf=_0x33b6d8;this[_0x47efcf(0x1d5)]();}[_0x33b6d8(0x1d5)](){const _0x322a8e=_0x33b6d8;_0x18f53f(this[_0x322a8e(0x208)],[[_0x53ef4b,{'useClass':Ne}]]);}};lr(Pe,_0x33b6d8(0x33d),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),Pe=ar([_0x2a4eda(_0x2b920c),ke(0x1,_0x4fe3ee),ke(0x2,_0x5ca765),ke(0x3,_0x11f8a1(_0x23f520))],Pe);var fr=Object[_0x33b6d8(0x1d3)],cr=(_0x2a22ef,_0x640dd8,_0x28d203,_0x371f5d)=>{const _0x2c4f15=_0x33b6d8;for(var _0x343bcd=_0x371f5d>0x1?void 0x0:_0x371f5d?fr(_0x640dd8,_0x28d203):_0x640dd8,_0x51475e=_0x2a22ef[_0x2c4f15(0x2e2)]-0x1,_0x10e2c7;_0x51475e>=0x0;_0x51475e--)(_0x10e2c7=_0x2a22ef[_0x51475e])&&(_0x343bcd=_0x10e2c7(_0x343bcd)||_0x343bcd);return _0x343bcd;},se=(_0x8e71f2,_0x4bf10d)=>(_0x13a1ef,_0x1b7d83)=>_0x4bf10d(_0x13a1ef,_0x1b7d83,_0x8e71f2);let at=class extends _0x1f6f35{constructor(_0x315a40,_0x283217,_0x89a0af,_0x532465,_0x353cc4){const _0x33d36c=_0x33b6d8;super(_0x315a40,_0x283217,_0x89a0af,_0x532465,_0x353cc4);const _0x43af14=this['_configService'][_0x33d36c(0x2d6)](Be);this['_httpService'][_0x33d36c(0x2dd)]({'interceptor':(_0x33d9fe,_0x22af9a)=>{const _0x57d3c7=_0x33d36c;var _0x4547ba;const _0x584d26=_0x33d9fe[_0x57d3c7(0x28f)];return(_0x4547ba=_0x43af14==null?void 0x0:_0x43af14[_0x57d3c7(0x261)])!=null&&_0x4547ba[_0x57d3c7(0x25f)]&&_0x584d26[_0x57d3c7(0x2bf)](_0x57d3c7(0x2fe),_0x43af14['customHeaders']['cookie']),_0x22af9a(_0x33d9fe);}});}async[_0x33b6d8(0x283)](_0x5a4162){const _0x117b70=_0x33b6d8;return this[_0x117b70(0x210)](_0x5a4162);}};at=cr([se(0x0,_0x11f8a1(_0x23f520)),se(0x1,_0x11f8a1(_0x3ed6b6)),se(0x2,_0x5ca765),se(0x3,_0x4fe3ee),se(0x4,_0x2a4661)],at);function _0x4371(){const _0x2cdafe=['handleProtocols','authorized','bufferedAmount','reason','unmask','removeListener','_closeMessage','origin','getPayloadLength16','method','STATUS_CODES','_autoPong','2492120HULRHz','join','construct','dispatch','_extensions','call','_closeCode','onopen','kError','kDone','getOwnPropertyDescriptor','11442wNrbeg','_registerDependencies','byteOffset','addEventListener','dataMessage','finished','_decompress','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','_inflate','serverNoContextTakeover','_shouldEmitClose','_buffers','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','10xxQiWB','binaryType','_fragmented','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','sha1','client_no_context_takeover','WS_ERR_INVALID_UTF8','3872FTnYKV','buffer','getBlobData','update','_generateMask','server','clients','_closeTimer','test','listeners','defineProperty','server_no_context_takeover','Unexpected\x20character\x20at\x20index\x20','_opcode','WS_NO_BUFFER_UTIL','forEach','emit','isArray','isServer','GET','jobs','_fin','65LBLjJk','ws:','_maskBuffer','pause','options','_queue','_receiver','HTTP/1.1\x20','WebSocket','WS_ERR_INVALID_CLOSE_CODE','_injector','kByteLength','alloc','handleEvent','allowSynchronousEvents','OPEN','redirect','_state','_doCreateSocket','_options','species','WS_ERR_EXPECTED_FIN','username','CLOSING','password','allocUnsafe','setSocket','createDeflateRaw','\x22\x20subprotocol\x20is\x20duplicated','maxPayload','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','base64','params','sec-websocket-version','maxRedirects','mask','entries','2536944syADuw','rsv1','connect','consume','websocket','cleanup','status-code','href','_url','MASK\x20must\x20be\x20set','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','isInteger','_paused','pong','ws+unix:','extensions','__esModule','invalid\x20opcode\x20','code','url','onStarting','pipe','exports','statusCode','createError','handshakeTimeout','Invalid\x20Sec-WebSocket-Protocol\x20header','Invalid\x20Upgrade\x20header','removeEventListener','sec-websocket-extensions','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','number','objectMode','Z_DEFAULT_WINDOWBITS','prototype','_removeListeners','_mask','Invalid\x20URL:\x20','RSV1\x20must\x20be\x20clear','abort','Sec-WebSocket-Origin','search','Blob','completeUpgrade','ping','terminate','emitClose','\x20(supported\x20versions:\x20','verifyClient','fin','needDrain','errorEmitted','endEmitted','concurrencyLimit','_originalHostOrSocketPath','70619IDAAPF','from','setNoDelay','33WdeLNI','cookie','response','customHeaders','map','destroy','readyState','_writableState','onmessage','WS_ERR_INVALID_OPCODE','_masked','handleUpgrade','nodebuffer','_req','createInflateRaw','includes','kWasClean','_max_window_bits','find','toStringTag','listenerCount','_deflate','freeze','error','invalid\x20UTF-8\x20sequence','address','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','wasClean','reset','default','WS_NO_UTF_8_VALIDATE','readUInt16BE','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','Sec-WebSocket-Protocol:\x20','indexOf','toLowerCase','captureStackTrace','createSocket','collaboration-client-node.config','dequeue','pathname','slice','conclude','https:','Unexpected\x20server\x20response:\x20','_threshold','_readableState','authorization','size','headers','Invalid\x20WebSocket\x20frame:\x20','_errorEmitted','servername','next','encrypted','sec-websocket-key','noServer','sec-websocket-protocol','timeout','startsWith','extensionName','WS_ERR_UNEXPECTED_MASK','CLOSED','path','function','_fragments','concat','Module','_binaryType','_messageLength','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','clientTracking','_no_context_takeover','connection','buffers','shouldHandle','isValidUTF8','_server','apply','split','drain','pow','Opening\x20handshake\x20has\x20timed\x20out','warn','permessage-deflate','push','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','Upgrade:\x20websocket','_sender','_firstFragment','read','message','hasOwnProperty','invalid\x20opcode\x200','Invalid\x20value\x20for\x20parameter\x20\x22','frame','MASK\x20must\x20be\x20clear','set','_errored','threshold','_allowSynchronousEvents','compress','upgrade','\x22\x20must\x20have\x20only\x20a\x20single\x20value','readOnly','cork','kMessage','add','target','getMask','write','protocolVersion','unshift','_totalPayloadLength','replace','enqueue','kType','destroyed','autoPong','server_max_window_bits','getConfig','send','Maximum\x20redirects\x20exceeded','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','create','env','_maxPayload','registerHTTPInterceptor','request','_configService','get','_socket','length','WS_ERR_UNEXPECTED_RSV_1','zlibInflateOptions','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','keys','finish','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','http:','text/html','_bufferedBytes','_write','type','isIP','shift','_closeFrameReceived','Max\x20payload\x20size\x20exceeded','object','protocol','\x22:\x20','acceptAsServer','data','_skipUTF8Validation','decompress','normalizeParams','isPaused','port','stream','followRedirects','Cookie','controlMessage','_compressed','onerror','WebSocket\x20is\x20not\x20open:\x20readyState\x20','writable','_readyState','listening','clientNoContextTakeover','arrayBuffer','close','WS_ERR_EXPECTED_MASK','sec-websocket-origin','1279790HNxhPE','dispose','skipUTF8Validation','total-length','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','constructor','byteLength','nextTick','Unknown\x20parameter\x20\x22','Unsupported\x20protocol\x20version:\x20','startLoop','2324oMTzdD','end','kListener','1930374gdfcZY','host','fragments','string','listen','open','Z_SYNC_FLUSH','_read','hash','Server\x20sent\x20no\x20subprotocol','_originalIpc','hostname','toString','_compress','maskBuffer','isView','444CEUGrJ','_bufferedAmount','Invalid\x20Sec-WebSocket-Extensions\x20header','_closeFrameSent','offer','pending','16ikBfTz','_redirects','_final','bind','perMessageDeflate','readable','clientMaxWindowBits','accept','_payloadLength','binary','wss:','The\x20\x22','defaultPort','Basic\x20','pluginName','serverMaxWindowBits','Origin','once','_loop','kReason','concurrency','resume','socket','digest','charCodeAt','_destroy','kCode','parse','haveLength','opcode','createConnection','client_max_window_bits','createServer','_protocol','flush','auth','kTarget','unexpected-response','WS_ERR_UNEXPECTED_RSV_2_3','then','CONNECTING','sendFrame','has','wsClientError','Parameter\x20\x22','generateMask','Invalid\x20HTTP\x20method','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','Sec-WebSocket-Protocol','sec-websocket-accept','File','_isServer','getPayloadLength64','arraybuffer','Sec-WebSocket-Accept:\x20','socketPath','Connection:\x20Upgrade','writeUInt16BE','uncork','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201'];_0x4371=function(){return _0x2cdafe;};return _0x4371();}export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
1
+ const _0x2fb0ea=_0x195d;function _0x32e6(){const _0x24d96b=['GET','origin','password','data','Server\x20sent\x20an\x20invalid\x20subprotocol','invalid\x20payload\x20length\x20','exports','removeEventListener','env','MASK\x20must\x20be\x20clear','Invalid\x20value\x20for\x20parameter\x20\x22','_injector','readable','_socket','getOwnPropertyDescriptor','handleProtocols','nextTick','write','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','collaboration-client-node.config','The\x20server\x20is\x20not\x20running','startLoop','test','Invalid\x20WebSocket\x20frame:\x20','send','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','6QaMEdx','_configService','setSocket','_protocol','_generateMask','hasOwnProperty','_paused','freeze','http:','url','concurrencyLimit','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','setHeader','toStringTag','jobs','writeUIntBE','charCodeAt','cork','sec-websocket-key','invalid\x20opcode\x20','upgrade','destroyed','Invalid\x20Sec-WebSocket-Extensions\x20header','\x20(supported\x20versions:\x20','Maximum\x20redirects\x20exceeded','statusCode','prototype','concat','shift','Sec-WebSocket-Protocol','objectMode','getInfo','invalid\x20opcode\x200','STATUS_CODES','_writableState','The\x20URL\x27s\x20pathname\x20is\x20empty','_redirects','Sec-WebSocket-Extensions:\x20','pluginName','client','invalid\x20UTF-8\x20sequence','_threshold','Basic\x20','create','verifyClient','unshift','server_no_context_takeover','string','accept','replace','extensions','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','kWasClean','permessage-deflate','maxRedirects','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','close','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','Invalid\x20Upgrade\x20header','3967119IjmVJD','__esModule','decompress','invalid\x20status\x20code\x20','WS_NO_UTF_8_VALIDATE','rsv1','ws+unix:','_decompress','Unknown\x20parameter\x20\x22','sec-websocket-protocol','endEmitted','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','kAborted','_closeFrameReceived','pause','length','RSV1\x20must\x20be\x20clear','onopen','cleanup','Sec-WebSocket-Origin','digest','kRun','\x22\x20subprotocol\x20is\x20duplicated','kByteLength','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','pathname','_max_window_bits','add','binaryType','hostname','parse','Invalid\x20Sec-WebSocket-Accept\x20header','Upgrade:\x20websocket','method','acceptAsServer','backlog','finishRequest','number','protocolVersion','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','isArray','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','getData','threshold','byteLength','size','WS_ERR_INVALID_CLOSE_CODE','createSocket','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_no_context_takeover','_doCreateSocket','_masked','type','wss:','text/html','getBlobData','open','WS_ERR_INVALID_UTF8','_state','isPaused','headers','websocket','sec-websocket-accept','fin','getConfig','_fin','WS_ERR_EXPECTED_MASK','fragments','_closeCode','getMask','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','zlibDeflateOptions','reset','server_max_window_bits','catch','pending','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','_compressed','warn','abort','clients','handleEvent','_fragments','socketPath','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','delete','_maskBuffer','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','connect','includes','Parameter\x20\x22','extensionName','_options','ping','noServer','consume','readOnly','unexpected-response','object','clientTracking','_firstFragment','captureStackTrace','_errorEmitted','createError','_sender','has','_payloadLength','maskBuffer','kMessage','error','_autoPong','end','CLOSED','_binaryType','base64','zlibInflateOptions','wsClientError','code','message','_compress','createInflateRaw','Sec-WebSocket-Protocol:\x20','forEach','finish','isServer','setConfig','_write','generateMask','_loop','writable','path','34568800UpArPT','server','_readableState','bufferedAmount','_isServer','\x22:\x20','getPayloadLength64','removeListener','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','_deflate','createServer','blob','sendFrame','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','_originalHostOrSocketPath','Unsupported\x20protocol\x20version:\x20','drain','67zSbkjt','defaultPort','_server','acceptAsClient','auth','_totalPayloadLength','sha1','set','next','WebSocket\x20is\x20not\x20open:\x20readyState\x20','Invalid\x20Sec-WebSocket-Protocol\x20header','_shouldEmitClose','_mask','binary','8566411aujAaJ','handshakeTimeout','Origin','host','WS_ERR_UNEXPECTED_RSV_1','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','11293768PiqFXq','clientNoContextTakeover','completeUpgrade','client_no_context_takeover','buffer','construct','arrayBuffer','protocol','port','_messageLength','terminate','kCode','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','_allowSynchronousEvents','socket','_skipUTF8Validation','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','sec-websocket-version','split','2581556ApZSWy','dequeue','connection','_errored','handleUpgrade','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','writeUInt16BE','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','emitClose','options','defineProperty','call','Z_DEFAULT_WINDOWBITS','format','serverMaxWindowBits','CLOSING','compress','_url','isView','redirect','OPEN','map','resume','species','controlMessage','once','stream','cookie','authorized','concurrency','mask','normalizeParams','_closeMessage','clientMaxWindowBits','_closeTimer','_inflate','_registerDependencies','Sec-WebSocket-Accept:\x20','flush','_extensions','join','isValidUTF8','from','params','setTimeout','constructor','skipUTF8Validation','get','ws:','frame','destroy','Sec-WebSocket-Extensions','onclose','conclude','Blob','autoPong','CONNECTING','function','FIN\x20must\x20be\x20set','_closeFrameSent','HTTP/1.1\x20','find','createDeflateRaw','username','search','update','listeners','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','_receiver','then','unmask','sec-websocket-origin','dataMessage','haveLength','39700ZtPSoK','toString','hash','emit','\x22\x20must\x20have\x20only\x20a\x20single\x20value','getPayloadLength16','needDrain','push','pow','readUInt32BE','servername','_bufferedBytes','The\x20\x22','byteOffset','read','The\x20URL\x20contains\x20a\x20fragment\x20identifier','values','_opcode','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','421225xEonMu','readyState','finished','allowSynchronousEvents','_bufferedAmount','arraybuffer','_readyState','pipe','MASK\x20must\x20be\x20set','_destroy','callback','3SZwCWJ','kData','alloc','allocUnsafe','Module','startsWith','serverNoContextTakeover','encrypted','slice','indexOf','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','Unexpected\x20end\x20of\x20input','opcode','listenerCount','customHeaders','response','registerHTTPInterceptor','kError','_removeListeners','perMessageDeflate','enqueue','reason','_maxPayload','setNoDelay','addEventListener','Z_SYNC_FLUSH','pong','onStarting','createConnection','WS_ERR_INVALID_OPCODE','_req','_originalIpc','authorization','shouldHandle','listen','Max\x20payload\x20size\x20exceeded','_queue','apply','keys','nodebuffer','href','Connection:\x20Upgrade','kReason','maxPayload','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','bind','default','dispatch','wasClean','dispose','_fragmented','Unexpected\x20character\x20at\x20index\x20','errorEmitted','_buffers','status-code','target','onerror','client_max_window_bits'];_0x32e6=function(){return _0x24d96b;};return _0x32e6();}(function(_0x5d3d8f,_0xb6fb1c){const _0x23bcd2=_0x195d,_0x3aa90a=_0x5d3d8f();while(!![]){try{const _0x4ede3b=-parseInt(_0x23bcd2(0x157))/0x1*(parseInt(_0x23bcd2(0x1c8))/0x2)+-parseInt(_0x23bcd2(0x1e6))/0x3*(parseInt(_0x23bcd2(0x17e))/0x4)+-parseInt(_0x23bcd2(0x1db))/0x5+-parseInt(_0x23bcd2(0x23a))/0x6*(-parseInt(_0x23bcd2(0x165))/0x7)+-parseInt(_0x23bcd2(0x16b))/0x8+-parseInt(_0x23bcd2(0x275))/0x9+parseInt(_0x23bcd2(0x146))/0xa;if(_0x4ede3b===_0xb6fb1c)break;else _0x3aa90a['push'](_0x3aa90a['shift']());}catch(_0x5e6746){_0x3aa90a['push'](_0x3aa90a['shift']());}}}(_0x32e6,0xbba2d));import{UniverCollaborationClientPlugin as _0x5e8cb7,CollaborationSocketService as _0x32cfa7}from'@univerjs-pro/collaboration-client';import{Disposable as _0xd7a9,DisposableCollection as _0x2062b0,toDisposable as _0x53efd0,IConfigService as _0x59a3b7,DependentOn as _0x25bf57,ILogService as _0x45317b,Inject as _0x2cfe8f,Injector as _0x997068,Plugin as _0x4a947d,registerDependencies as _0x133464}from'@univerjs/core';import{ISocketService as _0x444c8e,HTTPService as _0x25b52f}from'@univerjs/network';import{Observable as _0x38d7ef,share as _0x54b46d}from'rxjs';import _0x5b61b9 from'events';import _0x599092 from'https';import _0x5177dc from'http';import _0x964936 from'net';import _0x187b0d from'tls';import _0x5f1ecc from'crypto';import _0x51faaf from'stream';import _0x403b71 from'url';import _0x399465 from'zlib';import _0x4c3bf6 from'buffer';import{ISnapshotServerService as _0x686d35}from'@univerjs-pro/collaboration';const Be=_0x2fb0ea(0x233),Ft={'customHeaders':{}};function jt(_0x1ac0e9){const _0x9f71b=_0x2fb0ea;return _0x1ac0e9&&_0x1ac0e9[_0x9f71b(0x276)]&&Object[_0x9f71b(0x254)][_0x9f71b(0x23f)][_0x9f71b(0x189)](_0x1ac0e9,_0x9f71b(0x214))?_0x1ac0e9[_0x9f71b(0x214)]:_0x1ac0e9;}function ut(_0xebb93){const _0x283a1a=_0x2fb0ea;if(Object['prototype'][_0x283a1a(0x23f)]['call'](_0xebb93,'__esModule'))return _0xebb93;var _0x28f63f=_0xebb93[_0x283a1a(0x214)];if(typeof _0x28f63f=='function'){var _0x5845f1=function _0x36ca45(){const _0x382653=_0x283a1a;return this instanceof _0x36ca45?Reflect[_0x382653(0x170)](_0x28f63f,arguments,this[_0x382653(0x1ab)]):_0x28f63f[_0x382653(0x20b)](this,arguments);};_0x5845f1[_0x283a1a(0x254)]=_0x28f63f[_0x283a1a(0x254)];}else _0x5845f1={};return Object[_0x283a1a(0x188)](_0x5845f1,_0x283a1a(0x276),{'value':!0x0}),Object[_0x283a1a(0x20c)](_0xebb93)[_0x283a1a(0x13d)](function(_0x2e3871){const _0x5b9b91=_0x283a1a;var _0x19a938=Object[_0x5b9b91(0x22e)](_0xebb93,_0x2e3871);Object['defineProperty'](_0x5845f1,_0x2e3871,_0x19a938[_0x5b9b91(0x1ad)]?_0x19a938:{'enumerable':!0x0,'get':function(){return _0xebb93[_0x2e3871];}});}),_0x5845f1;}var te={'exports':{}},ge,Ye;function V(){const _0xfcc1e2=_0x2fb0ea;if(Ye)return ge;Ye=0x1;const _0x7541f5=[_0xfcc1e2(0x20d),_0xfcc1e2(0x1e0),_0xfcc1e2(0x2b8)],_0x38f7ea=typeof Blob<'u';return _0x38f7ea&&_0x7541f5[_0xfcc1e2(0x1cf)](_0xfcc1e2(0x151)),ge={'BINARY_TYPES':_0x7541f5,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0xfcc1e2(0x26d),'hasBlob':_0x38f7ea,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0xfcc1e2(0x21c)),'kWebSocket':Symbol(_0xfcc1e2(0x2b2)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x2fb0ea(0x241)](Object[_0x2fb0ea(0x188)]({'__proto__':null,'default':Wt},Symbol['toStringTag'],{'value':'Module'})),Vt=ut(Gt);var Ke;function ce(){const _0x3b3f14=_0x2fb0ea;if(Ke)return te[_0x3b3f14(0x226)];Ke=0x1;const {EMPTY_BUFFER:_0xcd209e}=V(),_0x2b035d=Buffer[Symbol[_0x3b3f14(0x195)]];function _0x23572a(_0x535878,_0x48be2e){const _0x25f23d=_0x3b3f14;if(_0x535878[_0x25f23d(0x284)]===0x0)return _0xcd209e;if(_0x535878[_0x25f23d(0x284)]===0x1)return _0x535878[0x0];const _0x5aa7bd=Buffer['allocUnsafe'](_0x48be2e);let _0x22b2c5=0x0;for(let _0xdcd1a2=0x0;_0xdcd1a2<_0x535878[_0x25f23d(0x284)];_0xdcd1a2++){const _0x12c898=_0x535878[_0xdcd1a2];_0x5aa7bd[_0x25f23d(0x15e)](_0x12c898,_0x22b2c5),_0x22b2c5+=_0x12c898[_0x25f23d(0x284)];}return _0x22b2c5<_0x48be2e?new _0x2b035d(_0x5aa7bd[_0x25f23d(0x16f)],_0x5aa7bd[_0x25f23d(0x1d5)],_0x22b2c5):_0x5aa7bd;}function _0x14c0e1(_0x4497b9,_0x40f3e3,_0x5f1c9b,_0x4e81d7,_0x37f017){for(let _0x5b67c9=0x0;_0x5b67c9<_0x37f017;_0x5b67c9++)_0x5f1c9b[_0x4e81d7+_0x5b67c9]=_0x4497b9[_0x5b67c9]^_0x40f3e3[_0x5b67c9&0x3];}function _0x4cc934(_0x5aae63,_0x5a3356){for(let _0x394705=0x0;_0x394705<_0x5aae63['length'];_0x394705++)_0x5aae63[_0x394705]^=_0x5a3356[_0x394705&0x3];}function _0x1c715e(_0x5ad16b){const _0x1810ca=_0x3b3f14;return _0x5ad16b[_0x1810ca(0x284)]===_0x5ad16b[_0x1810ca(0x16f)]['byteLength']?_0x5ad16b[_0x1810ca(0x16f)]:_0x5ad16b[_0x1810ca(0x16f)][_0x1810ca(0x1ee)](_0x5ad16b[_0x1810ca(0x1d5)],_0x5ad16b[_0x1810ca(0x1d5)]+_0x5ad16b[_0x1810ca(0x284)]);}function _0x11255e(_0x4fc09b){const _0x2573c9=_0x3b3f14;if(_0x11255e[_0x2573c9(0x123)]=!0x0,Buffer['isBuffer'](_0x4fc09b))return _0x4fc09b;let _0x479a5b;return _0x4fc09b instanceof ArrayBuffer?_0x479a5b=new _0x2b035d(_0x4fc09b):ArrayBuffer[_0x2573c9(0x190)](_0x4fc09b)?_0x479a5b=new _0x2b035d(_0x4fc09b[_0x2573c9(0x16f)],_0x4fc09b[_0x2573c9(0x1d5)],_0x4fc09b['byteLength']):(_0x479a5b=Buffer['from'](_0x4fc09b),_0x11255e[_0x2573c9(0x123)]=!0x1),_0x479a5b;}if(te['exports']={'concat':_0x23572a,'mask':_0x14c0e1,'toArrayBuffer':_0x1c715e,'toBuffer':_0x11255e,'unmask':_0x4cc934},!process['env']['WS_NO_BUFFER_UTIL'])try{const _0x27fdee=Vt;te['exports']['mask']=function(_0x3ef697,_0x4d7014,_0x28bd8f,_0x5ed75d,_0x34114c){const _0x3252ee=_0x3b3f14;_0x34114c<0x30?_0x14c0e1(_0x3ef697,_0x4d7014,_0x28bd8f,_0x5ed75d,_0x34114c):_0x27fdee[_0x3252ee(0x19c)](_0x3ef697,_0x4d7014,_0x28bd8f,_0x5ed75d,_0x34114c);},te[_0x3b3f14(0x226)][_0x3b3f14(0x1c4)]=function(_0x110a30,_0x118fdd){const _0x290530=_0x3b3f14;_0x110a30[_0x290530(0x284)]<0x20?_0x4cc934(_0x110a30,_0x118fdd):_0x27fdee[_0x290530(0x1c4)](_0x110a30,_0x118fdd);};}catch{}return te[_0x3b3f14(0x226)];}var ye,Xe;function qt(){const _0x40c136=_0x2fb0ea;if(Xe)return ye;Xe=0x1;const _0x3770c7=Symbol('kDone'),_0x436157=Symbol(_0x40c136(0x28a));class _0x16816c{constructor(_0x124e68){const _0x46ea1b=_0x40c136;this[_0x3770c7]=()=>{this['pending']--,this[_0x436157]();},this[_0x46ea1b(0x19b)]=_0x124e68||0x1/0x0,this[_0x46ea1b(0x248)]=[],this[_0x46ea1b(0x2c0)]=0x0;}[_0x40c136(0x290)](_0x33ff56){const _0x369100=_0x40c136;this[_0x369100(0x248)]['push'](_0x33ff56),this[_0x436157]();}[_0x436157](){const _0xb4992e=_0x40c136;if(this[_0xb4992e(0x2c0)]!==this[_0xb4992e(0x19b)]&&this[_0xb4992e(0x248)]['length']){const _0x525fb6=this[_0xb4992e(0x248)][_0xb4992e(0x256)]();this[_0xb4992e(0x2c0)]++,_0x525fb6(this[_0x3770c7]);}}}return ye=_0x16816c,ye;}var ve,Ze;function he(){const _0x198d87=_0x2fb0ea;if(Ze)return ve;Ze=0x1;const _0x4d84b6=_0x399465,_0x5bec57=ce(),_0x1ae5d3=qt(),{kStatusCode:_0x5de2a4}=V(),_0x33d706=Buffer[Symbol[_0x198d87(0x195)]],_0x453367=Buffer['from']([0x0,0x0,0xff,0xff]),_0x34bf2a=Symbol(_0x198d87(0x26f)),_0x2daff4=Symbol('total-length'),_0x45cd13=Symbol(_0x198d87(0x1e5)),_0x120c2e=Symbol('buffers'),_0x48ac19=Symbol(_0x198d87(0x130));let _0x350397;class _0x2335e2{constructor(_0x49cff2,_0xf479b7,_0x1fd4f4){const _0x5226a2=_0x198d87;if(this[_0x5226a2(0x1fc)]=_0x1fd4f4|0x0,this[_0x5226a2(0x11f)]=_0x49cff2||{},this['_threshold']=this[_0x5226a2(0x11f)][_0x5226a2(0x2a0)]!==void 0x0?this[_0x5226a2(0x11f)][_0x5226a2(0x2a0)]:0x400,this['_isServer']=!!_0xf479b7,this[_0x5226a2(0x14f)]=null,this[_0x5226a2(0x1a1)]=null,this[_0x5226a2(0x1a9)]=null,!_0x350397){const _0x341fd4=this['_options'][_0x5226a2(0x244)]!==void 0x0?this[_0x5226a2(0x11f)][_0x5226a2(0x244)]:0xa;_0x350397=new _0x1ae5d3(_0x341fd4);}}static get['extensionName'](){const _0x5cdc1f=_0x198d87;return _0x5cdc1f(0x26f);}['offer'](){const _0x1c12d0=_0x198d87,_0x33a72a={};return this[_0x1c12d0(0x11f)][_0x1c12d0(0x1ec)]&&(_0x33a72a[_0x1c12d0(0x268)]=!0x0),this['_options'][_0x1c12d0(0x16c)]&&(_0x33a72a['client_no_context_takeover']=!0x0),this[_0x1c12d0(0x11f)][_0x1c12d0(0x18c)]&&(_0x33a72a[_0x1c12d0(0x2be)]=this[_0x1c12d0(0x11f)][_0x1c12d0(0x18c)]),this['_options'][_0x1c12d0(0x19f)]?_0x33a72a[_0x1c12d0(0x21f)]=this[_0x1c12d0(0x11f)]['clientMaxWindowBits']:this[_0x1c12d0(0x11f)][_0x1c12d0(0x19f)]==null&&(_0x33a72a['client_max_window_bits']=!0x0),_0x33a72a;}[_0x198d87(0x26a)](_0xf93247){const _0x4135d5=_0x198d87;return _0xf93247=this[_0x4135d5(0x19d)](_0xf93247),this[_0x4135d5(0x1a9)]=this[_0x4135d5(0x14a)]?this[_0x4135d5(0x297)](_0xf93247):this[_0x4135d5(0x15a)](_0xf93247),this[_0x4135d5(0x1a9)];}[_0x198d87(0x287)](){const _0x582253=_0x198d87;if(this[_0x582253(0x1a1)]&&(this[_0x582253(0x1a1)][_0x582253(0x272)](),this[_0x582253(0x1a1)]=null),this[_0x582253(0x14f)]){const _0x3a9f8b=this['_deflate'][_0x45cd13];this[_0x582253(0x14f)][_0x582253(0x272)](),this[_0x582253(0x14f)]=null,_0x3a9f8b&&_0x3a9f8b(new Error(_0x582253(0x28d)));}}['acceptAsServer'](_0xd15051){const _0x89beb3=_0x198d87,_0x1cd234=this['_options'],_0x19bd57=_0xd15051[_0x89beb3(0x1bb)](_0x264682=>!(_0x1cd234[_0x89beb3(0x1ec)]===!0x1&&_0x264682[_0x89beb3(0x268)]||_0x264682[_0x89beb3(0x2be)]&&(_0x1cd234[_0x89beb3(0x18c)]===!0x1||typeof _0x1cd234[_0x89beb3(0x18c)]==_0x89beb3(0x29a)&&_0x1cd234[_0x89beb3(0x18c)]>_0x264682[_0x89beb3(0x2be)])||typeof _0x1cd234['clientMaxWindowBits']==_0x89beb3(0x29a)&&!_0x264682[_0x89beb3(0x21f)]));if(!_0x19bd57)throw new Error(_0x89beb3(0x29e));return _0x1cd234['serverNoContextTakeover']&&(_0x19bd57[_0x89beb3(0x268)]=!0x0),_0x1cd234[_0x89beb3(0x16c)]&&(_0x19bd57['client_no_context_takeover']=!0x0),typeof _0x1cd234[_0x89beb3(0x18c)]==_0x89beb3(0x29a)&&(_0x19bd57[_0x89beb3(0x2be)]=_0x1cd234['serverMaxWindowBits']),typeof _0x1cd234[_0x89beb3(0x19f)]=='number'?_0x19bd57[_0x89beb3(0x21f)]=_0x1cd234['clientMaxWindowBits']:(_0x19bd57['client_max_window_bits']===!0x0||_0x1cd234[_0x89beb3(0x19f)]===!0x1)&&delete _0x19bd57[_0x89beb3(0x21f)],_0x19bd57;}['acceptAsClient'](_0x32a532){const _0x15bbd5=_0x198d87,_0xc46228=_0x32a532[0x0];if(this[_0x15bbd5(0x11f)][_0x15bbd5(0x16c)]===!0x1&&_0xc46228['client_no_context_takeover'])throw new Error(_0x15bbd5(0x153));if(!_0xc46228[_0x15bbd5(0x21f)])typeof this[_0x15bbd5(0x11f)]['clientMaxWindowBits']==_0x15bbd5(0x29a)&&(_0xc46228[_0x15bbd5(0x21f)]=this[_0x15bbd5(0x11f)][_0x15bbd5(0x19f)]);else{if(this[_0x15bbd5(0x11f)]['clientMaxWindowBits']===!0x1||typeof this[_0x15bbd5(0x11f)][_0x15bbd5(0x19f)]=='number'&&_0xc46228['client_max_window_bits']>this[_0x15bbd5(0x11f)][_0x15bbd5(0x19f)])throw new Error(_0x15bbd5(0x183));}return _0xc46228;}[_0x198d87(0x19d)](_0x5925e6){const _0x1ba83c=_0x198d87;return _0x5925e6[_0x1ba83c(0x13d)](_0x59f819=>{const _0x143c11=_0x1ba83c;Object[_0x143c11(0x20c)](_0x59f819)[_0x143c11(0x13d)](_0x209a34=>{const _0x48d8d1=_0x143c11;let _0x2e02e6=_0x59f819[_0x209a34];if(_0x2e02e6[_0x48d8d1(0x284)]>0x1)throw new Error(_0x48d8d1(0x11d)+_0x209a34+_0x48d8d1(0x1cc));if(_0x2e02e6=_0x2e02e6[0x0],_0x209a34===_0x48d8d1(0x21f)){if(_0x2e02e6!==!0x0){const _0x131501=+_0x2e02e6;if(!Number['isInteger'](_0x131501)||_0x131501<0x8||_0x131501>0xf)throw new TypeError(_0x48d8d1(0x22a)+_0x209a34+_0x48d8d1(0x14b)+_0x2e02e6);_0x2e02e6=_0x131501;}else{if(!this[_0x48d8d1(0x14a)])throw new TypeError(_0x48d8d1(0x22a)+_0x209a34+_0x48d8d1(0x14b)+_0x2e02e6);}}else{if(_0x209a34==='server_max_window_bits'){const _0x4582bc=+_0x2e02e6;if(!Number['isInteger'](_0x4582bc)||_0x4582bc<0x8||_0x4582bc>0xf)throw new TypeError(_0x48d8d1(0x22a)+_0x209a34+_0x48d8d1(0x14b)+_0x2e02e6);_0x2e02e6=_0x4582bc;}else{if(_0x209a34===_0x48d8d1(0x16e)||_0x209a34===_0x48d8d1(0x268)){if(_0x2e02e6!==!0x0)throw new TypeError(_0x48d8d1(0x22a)+_0x209a34+_0x48d8d1(0x14b)+_0x2e02e6);}else throw new Error(_0x48d8d1(0x27d)+_0x209a34+'\x22');}}_0x59f819[_0x209a34]=_0x2e02e6;});}),_0x5925e6;}[_0x198d87(0x277)](_0x2c8b8c,_0x1ddc0d,_0x4b15a8){const _0x1692bd=_0x198d87;_0x350397[_0x1692bd(0x290)](_0x6bbbe0=>{const _0x1399fe=_0x1692bd;this[_0x1399fe(0x27c)](_0x2c8b8c,_0x1ddc0d,(_0x37c0f3,_0x5229d6)=>{_0x6bbbe0(),_0x4b15a8(_0x37c0f3,_0x5229d6);});});}[_0x198d87(0x18e)](_0x465e3b,_0x38b1db,_0x3f469d){const _0x41c66f=_0x198d87;_0x350397[_0x41c66f(0x290)](_0x199076=>{this['_compress'](_0x465e3b,_0x38b1db,(_0x2172a0,_0x38dde9)=>{_0x199076(),_0x3f469d(_0x2172a0,_0x38dde9);});});}['_decompress'](_0x146fd1,_0x2da7cf,_0xcd9663){const _0x1ae0df=_0x198d87,_0x528421=this[_0x1ae0df(0x14a)]?_0x1ae0df(0x261):_0x1ae0df(0x147);if(!this[_0x1ae0df(0x1a1)]){const _0x24f1b4=_0x528421+'_max_window_bits',_0x57658e=typeof this[_0x1ae0df(0x1a9)][_0x24f1b4]!='number'?_0x4d84b6[_0x1ae0df(0x18a)]:this['params'][_0x24f1b4];this[_0x1ae0df(0x1a1)]=_0x4d84b6[_0x1ae0df(0x13b)]({...this['_options'][_0x1ae0df(0x136)],'windowBits':_0x57658e}),this['_inflate'][_0x34bf2a]=this,this[_0x1ae0df(0x1a1)][_0x2daff4]=0x0,this[_0x1ae0df(0x1a1)][_0x120c2e]=[],this[_0x1ae0df(0x1a1)]['on']('error',_0x341aca),this[_0x1ae0df(0x1a1)]['on'](_0x1ae0df(0x223),_0x5534b5);}this[_0x1ae0df(0x1a1)][_0x45cd13]=_0xcd9663,this[_0x1ae0df(0x1a1)][_0x1ae0df(0x231)](_0x146fd1),_0x2da7cf&&this['_inflate']['write'](_0x453367),this[_0x1ae0df(0x1a1)][_0x1ae0df(0x1a4)](()=>{const _0x4c1332=_0x1ae0df,_0x21e15d=this[_0x4c1332(0x1a1)][_0x48ac19];if(_0x21e15d){this[_0x4c1332(0x1a1)][_0x4c1332(0x272)](),this[_0x4c1332(0x1a1)]=null,_0xcd9663(_0x21e15d);return;}const _0x20e33d=_0x5bec57['concat'](this[_0x4c1332(0x1a1)][_0x120c2e],this[_0x4c1332(0x1a1)][_0x2daff4]);this[_0x4c1332(0x1a1)]['_readableState']['endEmitted']?(this['_inflate']['close'](),this['_inflate']=null):(this['_inflate'][_0x2daff4]=0x0,this[_0x4c1332(0x1a1)][_0x120c2e]=[],_0x2da7cf&&this['params'][_0x528421+'_no_context_takeover']&&this[_0x4c1332(0x1a1)][_0x4c1332(0x2bd)]()),_0xcd9663(null,_0x20e33d);});}['_compress'](_0x113375,_0x5c9afe,_0x29005c){const _0x3c6a6e=_0x198d87,_0x1df0a1=this['_isServer']?_0x3c6a6e(0x147):_0x3c6a6e(0x261);if(!this[_0x3c6a6e(0x14f)]){const _0x307c91=_0x1df0a1+_0x3c6a6e(0x28f),_0xf8c934=typeof this[_0x3c6a6e(0x1a9)][_0x307c91]!='number'?_0x4d84b6['Z_DEFAULT_WINDOWBITS']:this[_0x3c6a6e(0x1a9)][_0x307c91];this[_0x3c6a6e(0x14f)]=_0x4d84b6[_0x3c6a6e(0x1bc)]({...this['_options'][_0x3c6a6e(0x2bc)],'windowBits':_0xf8c934}),this['_deflate'][_0x2daff4]=0x0,this[_0x3c6a6e(0x14f)][_0x120c2e]=[],this[_0x3c6a6e(0x14f)]['on'](_0x3c6a6e(0x223),_0x2fbce0);}this[_0x3c6a6e(0x14f)][_0x45cd13]=_0x29005c,this[_0x3c6a6e(0x14f)][_0x3c6a6e(0x231)](_0x113375),this[_0x3c6a6e(0x14f)]['flush'](_0x4d84b6[_0x3c6a6e(0x1ff)],()=>{const _0x32a33c=_0x3c6a6e;if(!this['_deflate'])return;let _0x40eb1b=_0x5bec57[_0x32a33c(0x255)](this[_0x32a33c(0x14f)][_0x120c2e],this['_deflate'][_0x2daff4]);_0x5c9afe&&(_0x40eb1b=new _0x33d706(_0x40eb1b['buffer'],_0x40eb1b['byteOffset'],_0x40eb1b['length']-0x4)),this['_deflate'][_0x45cd13]=null,this[_0x32a33c(0x14f)][_0x2daff4]=0x0,this[_0x32a33c(0x14f)][_0x120c2e]=[],_0x5c9afe&&this[_0x32a33c(0x1a9)][_0x1df0a1+_0x32a33c(0x2a6)]&&this[_0x32a33c(0x14f)][_0x32a33c(0x2bd)](),_0x29005c(null,_0x40eb1b);});}}ve=_0x2335e2;function _0x2fbce0(_0x22ba0f){const _0x58cbca=_0x198d87;this[_0x120c2e]['push'](_0x22ba0f),this[_0x2daff4]+=_0x22ba0f[_0x58cbca(0x284)];}function _0x5534b5(_0x34533e){const _0x2810bd=_0x198d87;if(this[_0x2daff4]+=_0x34533e[_0x2810bd(0x284)],this[_0x34bf2a][_0x2810bd(0x1fc)]<0x1||this[_0x2daff4]<=this[_0x34bf2a][_0x2810bd(0x1fc)]){this[_0x120c2e][_0x2810bd(0x1cf)](_0x34533e);return;}this[_0x48ac19]=new RangeError(_0x2810bd(0x209)),this[_0x48ac19]['code']=_0x2810bd(0x2a5),this[_0x48ac19][_0x5de2a4]=0x3f1,this['removeListener']('data',_0x5534b5),this[_0x2810bd(0x2bd)]();}function _0x341aca(_0x19169a){const _0x1f7f76=_0x198d87;if(this[_0x34bf2a][_0x1f7f76(0x1a1)]=null,this[_0x48ac19]){this[_0x45cd13](this[_0x48ac19]);return;}_0x19169a[_0x5de2a4]=0x3ef,this[_0x45cd13](_0x19169a);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x2fb0ea(0x241)](Object[_0x2fb0ea(0x188)]({'__proto__':null,'default':Ht},Symbol[_0x2fb0ea(0x247)],{'value':_0x2fb0ea(0x1ea)})),Yt=ut(zt);var Qe;function ne(){const _0x29aabb=_0x2fb0ea;if(Qe)return re[_0x29aabb(0x226)];Qe=0x1;const {isUtf8:_0xb9500a}=_0x4c3bf6,{hasBlob:_0x469e6c}=V(),_0xda352e=[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 _0x291474(_0x9da467){return _0x9da467>=0x3e8&&_0x9da467<=0x3f6&&_0x9da467!==0x3ec&&_0x9da467!==0x3ed&&_0x9da467!==0x3ee||_0x9da467>=0xbb8&&_0x9da467<=0x1387;}function _0xb4507(_0x5d9581){const _0x34d6cd=_0x5d9581['length'];let _0xe8da25=0x0;for(;_0xe8da25<_0x34d6cd;)if((_0x5d9581[_0xe8da25]&0x80)===0x0)_0xe8da25++;else{if((_0x5d9581[_0xe8da25]&0xe0)===0xc0){if(_0xe8da25+0x1===_0x34d6cd||(_0x5d9581[_0xe8da25+0x1]&0xc0)!==0x80||(_0x5d9581[_0xe8da25]&0xfe)===0xc0)return!0x1;_0xe8da25+=0x2;}else{if((_0x5d9581[_0xe8da25]&0xf0)===0xe0){if(_0xe8da25+0x2>=_0x34d6cd||(_0x5d9581[_0xe8da25+0x1]&0xc0)!==0x80||(_0x5d9581[_0xe8da25+0x2]&0xc0)!==0x80||_0x5d9581[_0xe8da25]===0xe0&&(_0x5d9581[_0xe8da25+0x1]&0xe0)===0x80||_0x5d9581[_0xe8da25]===0xed&&(_0x5d9581[_0xe8da25+0x1]&0xe0)===0xa0)return!0x1;_0xe8da25+=0x3;}else{if((_0x5d9581[_0xe8da25]&0xf8)===0xf0){if(_0xe8da25+0x3>=_0x34d6cd||(_0x5d9581[_0xe8da25+0x1]&0xc0)!==0x80||(_0x5d9581[_0xe8da25+0x2]&0xc0)!==0x80||(_0x5d9581[_0xe8da25+0x3]&0xc0)!==0x80||_0x5d9581[_0xe8da25]===0xf0&&(_0x5d9581[_0xe8da25+0x1]&0xf0)===0x80||_0x5d9581[_0xe8da25]===0xf4&&_0x5d9581[_0xe8da25+0x1]>0x8f||_0x5d9581[_0xe8da25]>0xf4)return!0x1;_0xe8da25+=0x4;}else return!0x1;}}}return!0x0;}function _0x3d1092(_0x568584){const _0x2c7145=_0x29aabb;return _0x469e6c&&typeof _0x568584==_0x2c7145(0x125)&&typeof _0x568584[_0x2c7145(0x171)]==_0x2c7145(0x1b7)&&typeof _0x568584[_0x2c7145(0x2a9)]==_0x2c7145(0x269)&&typeof _0x568584[_0x2c7145(0x198)]==_0x2c7145(0x1b7)&&(_0x568584[Symbol[_0x2c7145(0x247)]]===_0x2c7145(0x1b4)||_0x568584[Symbol[_0x2c7145(0x247)]]==='File');}if(re[_0x29aabb(0x226)]={'isBlob':_0x3d1092,'isValidStatusCode':_0x291474,'isValidUTF8':_0xb4507,'tokenChars':_0xda352e},_0xb9500a)re[_0x29aabb(0x226)]['isValidUTF8']=function(_0x452f4a){const _0x28c605=_0x29aabb;return _0x452f4a[_0x28c605(0x284)]<0x18?_0xb4507(_0x452f4a):_0xb9500a(_0x452f4a);};else{if(!process[_0x29aabb(0x228)][_0x29aabb(0x279)])try{const _0xd49760=Yt;re['exports'][_0x29aabb(0x1a7)]=function(_0x146e3d){const _0x3e404a=_0x29aabb;return _0x146e3d[_0x3e404a(0x284)]<0x20?_0xb4507(_0x146e3d):_0xd49760(_0x146e3d);};}catch{}}return re[_0x29aabb(0x226)];}var Se,Je;function dt(){const _0x18fc9c=_0x2fb0ea;if(Je)return Se;Je=0x1;const {Writable:_0x413770}=_0x51faaf,_0xfbfbf4=he(),{BINARY_TYPES:_0x1e81f1,EMPTY_BUFFER:_0x4ad257,kStatusCode:_0x4e3d43,kWebSocket:_0x1e56c6}=V(),{concat:_0x24729d,toArrayBuffer:_0x58bf79,unmask:_0x48d8dd}=ce(),{isValidStatusCode:_0x56f19a,isValidUTF8:_0x25f982}=ne(),_0x54de83=Buffer[Symbol['species']],_0x53e2ea=0x0,_0x2e89ab=0x1,_0x58d584=0x2,_0x59ff53=0x3,_0x20c057=0x4,_0x4a6db5=0x5,_0x23e346=0x6;class _0x5b4734 extends _0x413770{constructor(_0x293187={}){const _0x546fd7=_0x195d;super(),this['_allowSynchronousEvents']=_0x293187['allowSynchronousEvents']!==void 0x0?_0x293187[_0x546fd7(0x1de)]:!0x0,this['_binaryType']=_0x293187[_0x546fd7(0x291)]||_0x1e81f1[0x0],this[_0x546fd7(0x1a5)]=_0x293187[_0x546fd7(0x26c)]||{},this[_0x546fd7(0x14a)]=!!_0x293187[_0x546fd7(0x13f)],this['_maxPayload']=_0x293187[_0x546fd7(0x211)]|0x0,this['_skipUTF8Validation']=!!_0x293187['skipUTF8Validation'],this[_0x1e56c6]=void 0x0,this[_0x546fd7(0x1d3)]=0x0,this['_buffers']=[],this[_0x546fd7(0x2c2)]=!0x1,this[_0x546fd7(0x12d)]=0x0,this['_mask']=void 0x0,this['_fragmented']=0x0,this['_masked']=!0x1,this['_fin']=!0x1,this['_opcode']=0x0,this[_0x546fd7(0x15c)]=0x0,this[_0x546fd7(0x174)]=0x0,this[_0x546fd7(0x2c7)]=[],this['_errored']=!0x1,this[_0x546fd7(0x143)]=!0x1,this[_0x546fd7(0x2af)]=_0x53e2ea;}[_0x18fc9c(0x141)](_0x2c9ec9,_0x4f660f,_0x44a9fc){const _0x1a317b=_0x18fc9c;if(this['_opcode']===0x8&&this[_0x1a317b(0x2af)]==_0x53e2ea)return _0x44a9fc();this['_bufferedBytes']+=_0x2c9ec9[_0x1a317b(0x284)],this[_0x1a317b(0x21b)][_0x1a317b(0x1cf)](_0x2c9ec9),this['startLoop'](_0x44a9fc);}[_0x18fc9c(0x122)](_0x55b7e4){const _0xea0737=_0x18fc9c;if(this['_bufferedBytes']-=_0x55b7e4,_0x55b7e4===this[_0xea0737(0x21b)][0x0][_0xea0737(0x284)])return this['_buffers'][_0xea0737(0x256)]();if(_0x55b7e4<this[_0xea0737(0x21b)][0x0][_0xea0737(0x284)]){const _0x4b24ac=this[_0xea0737(0x21b)][0x0];return this[_0xea0737(0x21b)][0x0]=new _0x54de83(_0x4b24ac[_0xea0737(0x16f)],_0x4b24ac[_0xea0737(0x1d5)]+_0x55b7e4,_0x4b24ac['length']-_0x55b7e4),new _0x54de83(_0x4b24ac[_0xea0737(0x16f)],_0x4b24ac[_0xea0737(0x1d5)],_0x55b7e4);}const _0x4119ee=Buffer['allocUnsafe'](_0x55b7e4);do{const _0x48308d=this[_0xea0737(0x21b)][0x0],_0x6fa0a2=_0x4119ee['length']-_0x55b7e4;_0x55b7e4>=_0x48308d[_0xea0737(0x284)]?_0x4119ee[_0xea0737(0x15e)](this[_0xea0737(0x21b)][_0xea0737(0x256)](),_0x6fa0a2):(_0x4119ee[_0xea0737(0x15e)](new Uint8Array(_0x48308d['buffer'],_0x48308d[_0xea0737(0x1d5)],_0x55b7e4),_0x6fa0a2),this['_buffers'][0x0]=new _0x54de83(_0x48308d[_0xea0737(0x16f)],_0x48308d['byteOffset']+_0x55b7e4,_0x48308d[_0xea0737(0x284)]-_0x55b7e4)),_0x55b7e4-=_0x48308d['length'];}while(_0x55b7e4>0x0);return _0x4119ee;}['startLoop'](_0x5b89cd){const _0x91351=_0x18fc9c;this[_0x91351(0x143)]=!0x0;do switch(this[_0x91351(0x2af)]){case _0x53e2ea:this[_0x91351(0x259)](_0x5b89cd);break;case _0x2e89ab:this[_0x91351(0x1cd)](_0x5b89cd);break;case _0x58d584:this[_0x91351(0x14c)](_0x5b89cd);break;case _0x59ff53:this['getMask']();break;case _0x20c057:this[_0x91351(0x29f)](_0x5b89cd);break;case _0x4a6db5:case _0x23e346:this['_loop']=!0x1;return;}while(this[_0x91351(0x143)]);this[_0x91351(0x181)]||_0x5b89cd();}[_0x18fc9c(0x259)](_0x7b1257){const _0x433389=_0x18fc9c;if(this[_0x433389(0x1d3)]<0x2){this[_0x433389(0x143)]=!0x1;return;}const _0x30bf87=this[_0x433389(0x122)](0x2);if((_0x30bf87[0x0]&0x30)!==0x0){const _0x49bbbf=this[_0x433389(0x12a)](RangeError,_0x433389(0x16a),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x7b1257(_0x49bbbf);return;}const _0x7a2f79=(_0x30bf87[0x0]&0x40)===0x40;if(_0x7a2f79&&!this['_extensions'][_0xfbfbf4['extensionName']]){const _0x5944d8=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x7b1257(_0x5944d8);return;}if(this[_0x433389(0x2b6)]=(_0x30bf87[0x0]&0x80)===0x80,this['_opcode']=_0x30bf87[0x0]&0xf,this[_0x433389(0x12d)]=_0x30bf87[0x1]&0x7f,this[_0x433389(0x1d9)]===0x0){if(_0x7a2f79){const _0x15feaf=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x433389(0x169));_0x7b1257(_0x15feaf);return;}if(!this[_0x433389(0x218)]){const _0x37a89c=this['createError'](RangeError,_0x433389(0x25a),!0x0,0x3ea,_0x433389(0x203));_0x7b1257(_0x37a89c);return;}this[_0x433389(0x1d9)]=this['_fragmented'];}else{if(this[_0x433389(0x1d9)]===0x1||this[_0x433389(0x1d9)]===0x2){if(this[_0x433389(0x218)]){const _0x1b66b2=this[_0x433389(0x12a)](RangeError,_0x433389(0x24d)+this[_0x433389(0x1d9)],!0x0,0x3ea,_0x433389(0x203));_0x7b1257(_0x1b66b2);return;}this[_0x433389(0x2c2)]=_0x7a2f79;}else{if(this['_opcode']>0x7&&this['_opcode']<0xb){if(!this[_0x433389(0x2b6)]){const _0x2aa8ee=this['createError'](RangeError,_0x433389(0x1b8),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x7b1257(_0x2aa8ee);return;}if(_0x7a2f79){const _0x1caecc=this[_0x433389(0x12a)](RangeError,_0x433389(0x285),!0x0,0x3ea,_0x433389(0x169));_0x7b1257(_0x1caecc);return;}if(this[_0x433389(0x12d)]>0x7d||this[_0x433389(0x1d9)]===0x8&&this[_0x433389(0x12d)]===0x1){const _0x1b3f6d=this[_0x433389(0x12a)](RangeError,_0x433389(0x225)+this[_0x433389(0x12d)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x7b1257(_0x1b3f6d);return;}}else{const _0x3529dd=this[_0x433389(0x12a)](RangeError,_0x433389(0x24d)+this[_0x433389(0x1d9)],!0x0,0x3ea,_0x433389(0x203));_0x7b1257(_0x3529dd);return;}}}if(!this[_0x433389(0x2b6)]&&!this[_0x433389(0x218)]&&(this['_fragmented']=this['_opcode']),this['_masked']=(_0x30bf87[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x433389(0x2a8)]){const _0x1b411b=this[_0x433389(0x12a)](RangeError,_0x433389(0x1e3),!0x0,0x3ea,_0x433389(0x2b7));_0x7b1257(_0x1b411b);return;}}else{if(this['_masked']){const _0x4b1788=this[_0x433389(0x12a)](RangeError,_0x433389(0x229),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x7b1257(_0x4b1788);return;}}this[_0x433389(0x12d)]===0x7e?this[_0x433389(0x2af)]=_0x2e89ab:this[_0x433389(0x12d)]===0x7f?this[_0x433389(0x2af)]=_0x58d584:this[_0x433389(0x1c7)](_0x7b1257);}[_0x18fc9c(0x1cd)](_0x47d404){const _0x1be733=_0x18fc9c;if(this['_bufferedBytes']<0x2){this[_0x1be733(0x143)]=!0x1;return;}this[_0x1be733(0x12d)]=this[_0x1be733(0x122)](0x2)['readUInt16BE'](0x0),this[_0x1be733(0x1c7)](_0x47d404);}[_0x18fc9c(0x14c)](_0x4586d){const _0x3fc977=_0x18fc9c;if(this[_0x3fc977(0x1d3)]<0x8){this[_0x3fc977(0x143)]=!0x1;return;}const _0x50154d=this[_0x3fc977(0x122)](0x8),_0x81749c=_0x50154d[_0x3fc977(0x1d1)](0x0);if(_0x81749c>Math[_0x3fc977(0x1d0)](0x2,0x15)-0x1){const _0xfcb007=this[_0x3fc977(0x12a)](RangeError,_0x3fc977(0x273),!0x1,0x3f1,_0x3fc977(0x29c));_0x4586d(_0xfcb007);return;}this[_0x3fc977(0x12d)]=_0x81749c*Math['pow'](0x2,0x20)+_0x50154d['readUInt32BE'](0x4),this[_0x3fc977(0x1c7)](_0x4586d);}[_0x18fc9c(0x1c7)](_0x3085b0){const _0x261931=_0x18fc9c;if(this[_0x261931(0x12d)]&&this[_0x261931(0x1d9)]<0x8&&(this[_0x261931(0x15c)]+=this['_payloadLength'],this[_0x261931(0x15c)]>this[_0x261931(0x1fc)]&&this[_0x261931(0x1fc)]>0x0)){const _0x294719=this[_0x261931(0x12a)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x261931(0x2a5));_0x3085b0(_0x294719);return;}this[_0x261931(0x2a8)]?this['_state']=_0x59ff53:this['_state']=_0x20c057;}[_0x18fc9c(0x2ba)](){const _0x39bf31=_0x18fc9c;if(this[_0x39bf31(0x1d3)]<0x4){this['_loop']=!0x1;return;}this['_mask']=this[_0x39bf31(0x122)](0x4),this[_0x39bf31(0x2af)]=_0x20c057;}['getData'](_0x22972c){const _0x4410c8=_0x18fc9c;let _0x2a59fb=_0x4ad257;if(this[_0x4410c8(0x12d)]){if(this['_bufferedBytes']<this['_payloadLength']){this[_0x4410c8(0x143)]=!0x1;return;}_0x2a59fb=this[_0x4410c8(0x122)](this['_payloadLength']),this['_masked']&&(this[_0x4410c8(0x163)][0x0]|this[_0x4410c8(0x163)][0x1]|this['_mask'][0x2]|this['_mask'][0x3])!==0x0&&_0x48d8dd(_0x2a59fb,this['_mask']);}if(this[_0x4410c8(0x1d9)]>0x7){this[_0x4410c8(0x196)](_0x2a59fb,_0x22972c);return;}if(this[_0x4410c8(0x2c2)]){this[_0x4410c8(0x2af)]=_0x4a6db5,this[_0x4410c8(0x277)](_0x2a59fb,_0x22972c);return;}_0x2a59fb[_0x4410c8(0x284)]&&(this[_0x4410c8(0x174)]=this[_0x4410c8(0x15c)],this['_fragments']['push'](_0x2a59fb)),this[_0x4410c8(0x1c6)](_0x22972c);}[_0x18fc9c(0x277)](_0x3cae6d,_0x518b2e){const _0x3bdfbc=_0x18fc9c;this[_0x3bdfbc(0x1a5)][_0xfbfbf4['extensionName']][_0x3bdfbc(0x277)](_0x3cae6d,this[_0x3bdfbc(0x2b6)],(_0x1b6d53,_0x433f74)=>{const _0x6ae54d=_0x3bdfbc;if(_0x1b6d53)return _0x518b2e(_0x1b6d53);if(_0x433f74[_0x6ae54d(0x284)]){if(this['_messageLength']+=_0x433f74['length'],this[_0x6ae54d(0x174)]>this['_maxPayload']&&this[_0x6ae54d(0x1fc)]>0x0){const _0x204a2f=this[_0x6ae54d(0x12a)](RangeError,_0x6ae54d(0x209),!0x1,0x3f1,_0x6ae54d(0x2a5));_0x518b2e(_0x204a2f);return;}this[_0x6ae54d(0x2c7)][_0x6ae54d(0x1cf)](_0x433f74);}this['dataMessage'](_0x518b2e),this[_0x6ae54d(0x2af)]===_0x53e2ea&&this[_0x6ae54d(0x235)](_0x518b2e);});}[_0x18fc9c(0x1c6)](_0x5786e8){const _0x4556c9=_0x18fc9c;if(!this[_0x4556c9(0x2b6)]){this[_0x4556c9(0x2af)]=_0x53e2ea;return;}const _0x5b539e=this['_messageLength'],_0x2973cb=this['_fragments'];if(this[_0x4556c9(0x15c)]=0x0,this[_0x4556c9(0x174)]=0x0,this['_fragmented']=0x0,this['_fragments']=[],this[_0x4556c9(0x1d9)]===0x2){let _0x236f74;this['_binaryType']==='nodebuffer'?_0x236f74=_0x24729d(_0x2973cb,_0x5b539e):this[_0x4556c9(0x134)]===_0x4556c9(0x1e0)?_0x236f74=_0x58bf79(_0x24729d(_0x2973cb,_0x5b539e)):this[_0x4556c9(0x134)]===_0x4556c9(0x151)?_0x236f74=new Blob(_0x2973cb):_0x236f74=_0x2973cb,this[_0x4556c9(0x178)]?(this[_0x4556c9(0x1cb)]('message',_0x236f74,!0x0),this[_0x4556c9(0x2af)]=_0x53e2ea):(this[_0x4556c9(0x2af)]=_0x23e346,setImmediate(()=>{const _0x3fa970=_0x4556c9;this['emit']('message',_0x236f74,!0x0),this[_0x3fa970(0x2af)]=_0x53e2ea,this['startLoop'](_0x5786e8);}));}else{const _0x467568=_0x24729d(_0x2973cb,_0x5b539e);if(!this[_0x4556c9(0x17a)]&&!_0x25f982(_0x467568)){const _0x41930b=this['createError'](Error,_0x4556c9(0x262),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x5786e8(_0x41930b);return;}this[_0x4556c9(0x2af)]===_0x4a6db5||this[_0x4556c9(0x178)]?(this[_0x4556c9(0x1cb)](_0x4556c9(0x139),_0x467568,!0x1),this['_state']=_0x53e2ea):(this[_0x4556c9(0x2af)]=_0x23e346,setImmediate(()=>{const _0x59f3be=_0x4556c9;this[_0x59f3be(0x1cb)]('message',_0x467568,!0x1),this['_state']=_0x53e2ea,this[_0x59f3be(0x235)](_0x5786e8);}));}}[_0x18fc9c(0x196)](_0x3f2be0,_0x18b74a){const _0x5de970=_0x18fc9c;if(this[_0x5de970(0x1d9)]===0x8){if(_0x3f2be0['length']===0x0)this[_0x5de970(0x143)]=!0x1,this[_0x5de970(0x1cb)](_0x5de970(0x1b3),0x3ed,_0x4ad257),this[_0x5de970(0x132)]();else{const _0x27e954=_0x3f2be0['readUInt16BE'](0x0);if(!_0x56f19a(_0x27e954)){const _0xc09beb=this['createError'](RangeError,_0x5de970(0x278)+_0x27e954,!0x0,0x3ea,_0x5de970(0x2a3));_0x18b74a(_0xc09beb);return;}const _0x3a08dd=new _0x54de83(_0x3f2be0[_0x5de970(0x16f)],_0x3f2be0[_0x5de970(0x1d5)]+0x2,_0x3f2be0[_0x5de970(0x284)]-0x2);if(!this[_0x5de970(0x17a)]&&!_0x25f982(_0x3a08dd)){const _0x33b3da=this[_0x5de970(0x12a)](Error,_0x5de970(0x262),!0x0,0x3ef,_0x5de970(0x2ae));_0x18b74a(_0x33b3da);return;}this[_0x5de970(0x143)]=!0x1,this[_0x5de970(0x1cb)](_0x5de970(0x1b3),_0x27e954,_0x3a08dd),this['end']();}this[_0x5de970(0x2af)]=_0x53e2ea;return;}this['_allowSynchronousEvents']?(this['emit'](this[_0x5de970(0x1d9)]===0x9?_0x5de970(0x120):_0x5de970(0x200),_0x3f2be0),this[_0x5de970(0x2af)]=_0x53e2ea):(this[_0x5de970(0x2af)]=_0x23e346,setImmediate(()=>{const _0x5fb557=_0x5de970;this[_0x5fb557(0x1cb)](this[_0x5fb557(0x1d9)]===0x9?_0x5fb557(0x120):_0x5fb557(0x200),_0x3f2be0),this['_state']=_0x53e2ea,this[_0x5fb557(0x235)](_0x18b74a);}));}['createError'](_0x3a832b,_0x383262,_0x500471,_0x19cba4,_0x277cd4){const _0x36794d=_0x18fc9c;this['_loop']=!0x1,this[_0x36794d(0x181)]=!0x0;const _0x1a71b5=new _0x3a832b(_0x500471?_0x36794d(0x237)+_0x383262:_0x383262);return Error[_0x36794d(0x128)](_0x1a71b5,this[_0x36794d(0x12a)]),_0x1a71b5['code']=_0x277cd4,_0x1a71b5[_0x4e3d43]=_0x19cba4,_0x1a71b5;}}return Se=_0x5b4734,Se;}var Ee,et;function _t(){const _0x54e9df=_0x2fb0ea;if(et)return Ee;et=0x1;const {Duplex:_0x314979}=_0x51faaf,{randomFillSync:_0xe0d0da}=_0x5f1ecc,_0x4337a3=he(),{EMPTY_BUFFER:_0x22c92f,kWebSocket:_0x28d87c,NOOP:_0x4e9d7c}=V(),{isBlob:_0x5e681a,isValidStatusCode:_0x5ac740}=ne(),{mask:_0x3333a1,toBuffer:_0x335dfb}=ce(),_0x1acdfb=Symbol(_0x54e9df(0x28c)),_0x132505=Buffer[_0x54e9df(0x1e8)](0x4),_0x1d9146=0x8*0x400;let _0x5bbcac,_0x36c9f4=_0x1d9146;const _0x157fcd=0x0,_0x35e188=0x1,_0x41d502=0x2;class _0xd7db3a{constructor(_0x533d12,_0x2cec68,_0x1ea078){const _0x4c8ba0=_0x54e9df;this[_0x4c8ba0(0x1a5)]=_0x2cec68||{},_0x1ea078&&(this[_0x4c8ba0(0x23e)]=_0x1ea078,this[_0x4c8ba0(0x2cb)]=Buffer['alloc'](0x4)),this[_0x4c8ba0(0x22d)]=_0x533d12,this[_0x4c8ba0(0x127)]=!0x0,this[_0x4c8ba0(0x13a)]=!0x1,this[_0x4c8ba0(0x1d3)]=0x0,this[_0x4c8ba0(0x20a)]=[],this[_0x4c8ba0(0x2af)]=_0x157fcd,this[_0x4c8ba0(0x21e)]=_0x4e9d7c,this[_0x28d87c]=void 0x0;}static[_0x54e9df(0x1af)](_0x1ec07e,_0x34a560){const _0x103fe5=_0x54e9df;let _0x57740d,_0x4d5960=!0x1,_0x2e7235=0x2,_0x45709e=!0x1;_0x34a560[_0x103fe5(0x19c)]&&(_0x57740d=_0x34a560[_0x103fe5(0x12e)]||_0x132505,_0x34a560[_0x103fe5(0x142)]?_0x34a560[_0x103fe5(0x142)](_0x57740d):(_0x36c9f4===_0x1d9146&&(_0x5bbcac===void 0x0&&(_0x5bbcac=Buffer[_0x103fe5(0x1e8)](_0x1d9146)),_0xe0d0da(_0x5bbcac,0x0,_0x1d9146),_0x36c9f4=0x0),_0x57740d[0x0]=_0x5bbcac[_0x36c9f4++],_0x57740d[0x1]=_0x5bbcac[_0x36c9f4++],_0x57740d[0x2]=_0x5bbcac[_0x36c9f4++],_0x57740d[0x3]=_0x5bbcac[_0x36c9f4++]),_0x45709e=(_0x57740d[0x0]|_0x57740d[0x1]|_0x57740d[0x2]|_0x57740d[0x3])===0x0,_0x2e7235=0x6);let _0x1b82bf;typeof _0x1ec07e==_0x103fe5(0x269)?(!_0x34a560[_0x103fe5(0x19c)]||_0x45709e)&&_0x34a560[_0x1acdfb]!==void 0x0?_0x1b82bf=_0x34a560[_0x1acdfb]:(_0x1ec07e=Buffer[_0x103fe5(0x1a8)](_0x1ec07e),_0x1b82bf=_0x1ec07e[_0x103fe5(0x284)]):(_0x1b82bf=_0x1ec07e[_0x103fe5(0x284)],_0x4d5960=_0x34a560[_0x103fe5(0x19c)]&&_0x34a560['readOnly']&&!_0x45709e);let _0x1138a9=_0x1b82bf;_0x1b82bf>=0x10000?(_0x2e7235+=0x8,_0x1138a9=0x7f):_0x1b82bf>0x7d&&(_0x2e7235+=0x2,_0x1138a9=0x7e);const _0x579fa5=Buffer[_0x103fe5(0x1e9)](_0x4d5960?_0x1b82bf+_0x2e7235:_0x2e7235);return _0x579fa5[0x0]=_0x34a560[_0x103fe5(0x2b4)]?_0x34a560[_0x103fe5(0x1f2)]|0x80:_0x34a560['opcode'],_0x34a560[_0x103fe5(0x27a)]&&(_0x579fa5[0x0]|=0x40),_0x579fa5[0x1]=_0x1138a9,_0x1138a9===0x7e?_0x579fa5[_0x103fe5(0x184)](_0x1b82bf,0x2):_0x1138a9===0x7f&&(_0x579fa5[0x2]=_0x579fa5[0x3]=0x0,_0x579fa5[_0x103fe5(0x249)](_0x1b82bf,0x4,0x6)),_0x34a560[_0x103fe5(0x19c)]?(_0x579fa5[0x1]|=0x80,_0x579fa5[_0x2e7235-0x4]=_0x57740d[0x0],_0x579fa5[_0x2e7235-0x3]=_0x57740d[0x1],_0x579fa5[_0x2e7235-0x2]=_0x57740d[0x2],_0x579fa5[_0x2e7235-0x1]=_0x57740d[0x3],_0x45709e?[_0x579fa5,_0x1ec07e]:_0x4d5960?(_0x3333a1(_0x1ec07e,_0x57740d,_0x579fa5,_0x2e7235,_0x1b82bf),[_0x579fa5]):(_0x3333a1(_0x1ec07e,_0x57740d,_0x1ec07e,0x0,_0x1b82bf),[_0x579fa5,_0x1ec07e])):[_0x579fa5,_0x1ec07e];}[_0x54e9df(0x272)](_0x5e1241,_0x21a8f0,_0x103961,_0xff0a6d){const _0x365c3d=_0x54e9df;let _0xa6b1a2;if(_0x5e1241===void 0x0)_0xa6b1a2=_0x22c92f;else{if(typeof _0x5e1241!=_0x365c3d(0x29a)||!_0x5ac740(_0x5e1241))throw new TypeError(_0x365c3d(0x2c1));if(_0x21a8f0===void 0x0||!_0x21a8f0[_0x365c3d(0x284)])_0xa6b1a2=Buffer[_0x365c3d(0x1e9)](0x2),_0xa6b1a2[_0x365c3d(0x184)](_0x5e1241,0x0);else{const _0x4602c6=Buffer['byteLength'](_0x21a8f0);if(_0x4602c6>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0xa6b1a2=Buffer[_0x365c3d(0x1e9)](0x2+_0x4602c6),_0xa6b1a2[_0x365c3d(0x184)](_0x5e1241,0x0),typeof _0x21a8f0=='string'?_0xa6b1a2[_0x365c3d(0x231)](_0x21a8f0,0x2):_0xa6b1a2[_0x365c3d(0x15e)](_0x21a8f0,0x2);}}const _0xcedb6b={[_0x1acdfb]:_0xa6b1a2[_0x365c3d(0x284)],'fin':!0x0,'generateMask':this[_0x365c3d(0x23e)],'mask':_0x103961,'maskBuffer':this[_0x365c3d(0x2cb)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x365c3d(0x2af)]!==_0x157fcd?this[_0x365c3d(0x1fa)]([this['dispatch'],_0xa6b1a2,!0x1,_0xcedb6b,_0xff0a6d]):this['sendFrame'](_0xd7db3a['frame'](_0xa6b1a2,_0xcedb6b),_0xff0a6d);}[_0x54e9df(0x120)](_0x5f1691,_0x2d25fb,_0x1a3a2c){const _0x10d15f=_0x54e9df;let _0x46f372,_0xa68c0e;if(typeof _0x5f1691==_0x10d15f(0x269)?(_0x46f372=Buffer['byteLength'](_0x5f1691),_0xa68c0e=!0x1):_0x5e681a(_0x5f1691)?(_0x46f372=_0x5f1691['size'],_0xa68c0e=!0x1):(_0x5f1691=_0x335dfb(_0x5f1691),_0x46f372=_0x5f1691[_0x10d15f(0x284)],_0xa68c0e=_0x335dfb['readOnly']),_0x46f372>0x7d)throw new RangeError(_0x10d15f(0x280));const _0x56712f={[_0x1acdfb]:_0x46f372,'fin':!0x0,'generateMask':this[_0x10d15f(0x23e)],'mask':_0x2d25fb,'maskBuffer':this[_0x10d15f(0x2cb)],'opcode':0x9,'readOnly':_0xa68c0e,'rsv1':!0x1};_0x5e681a(_0x5f1691)?this[_0x10d15f(0x2af)]!==_0x157fcd?this[_0x10d15f(0x1fa)]([this[_0x10d15f(0x2ac)],_0x5f1691,!0x1,_0x56712f,_0x1a3a2c]):this[_0x10d15f(0x2ac)](_0x5f1691,!0x1,_0x56712f,_0x1a3a2c):this[_0x10d15f(0x2af)]!==_0x157fcd?this[_0x10d15f(0x1fa)]([this[_0x10d15f(0x215)],_0x5f1691,!0x1,_0x56712f,_0x1a3a2c]):this['sendFrame'](_0xd7db3a[_0x10d15f(0x1af)](_0x5f1691,_0x56712f),_0x1a3a2c);}[_0x54e9df(0x200)](_0x2940d0,_0x3b582b,_0x39506d){const _0x2591fa=_0x54e9df;let _0x50f62e,_0x385861;if(typeof _0x2940d0==_0x2591fa(0x269)?(_0x50f62e=Buffer['byteLength'](_0x2940d0),_0x385861=!0x1):_0x5e681a(_0x2940d0)?(_0x50f62e=_0x2940d0['size'],_0x385861=!0x1):(_0x2940d0=_0x335dfb(_0x2940d0),_0x50f62e=_0x2940d0['length'],_0x385861=_0x335dfb['readOnly']),_0x50f62e>0x7d)throw new RangeError(_0x2591fa(0x280));const _0x5d0b1d={[_0x1acdfb]:_0x50f62e,'fin':!0x0,'generateMask':this[_0x2591fa(0x23e)],'mask':_0x3b582b,'maskBuffer':this[_0x2591fa(0x2cb)],'opcode':0xa,'readOnly':_0x385861,'rsv1':!0x1};_0x5e681a(_0x2940d0)?this[_0x2591fa(0x2af)]!==_0x157fcd?this[_0x2591fa(0x1fa)]([this[_0x2591fa(0x2ac)],_0x2940d0,!0x1,_0x5d0b1d,_0x39506d]):this[_0x2591fa(0x2ac)](_0x2940d0,!0x1,_0x5d0b1d,_0x39506d):this['_state']!==_0x157fcd?this[_0x2591fa(0x1fa)]([this[_0x2591fa(0x215)],_0x2940d0,!0x1,_0x5d0b1d,_0x39506d]):this['sendFrame'](_0xd7db3a['frame'](_0x2940d0,_0x5d0b1d),_0x39506d);}['send'](_0x448832,_0x35182f,_0x2dd33b){const _0x154633=_0x54e9df,_0x55dd7e=this[_0x154633(0x1a5)][_0x4337a3[_0x154633(0x11e)]];let _0x44be0a=_0x35182f[_0x154633(0x164)]?0x2:0x1,_0x156e2b=_0x35182f[_0x154633(0x18e)],_0x52904b,_0x5cca6c;typeof _0x448832==_0x154633(0x269)?(_0x52904b=Buffer['byteLength'](_0x448832),_0x5cca6c=!0x1):_0x5e681a(_0x448832)?(_0x52904b=_0x448832['size'],_0x5cca6c=!0x1):(_0x448832=_0x335dfb(_0x448832),_0x52904b=_0x448832[_0x154633(0x284)],_0x5cca6c=_0x335dfb[_0x154633(0x123)]),this[_0x154633(0x127)]?(this[_0x154633(0x127)]=!0x1,_0x156e2b&&_0x55dd7e&&_0x55dd7e[_0x154633(0x1a9)][_0x55dd7e['_isServer']?_0x154633(0x268):_0x154633(0x16e)]&&(_0x156e2b=_0x52904b>=_0x55dd7e[_0x154633(0x263)]),this[_0x154633(0x13a)]=_0x156e2b):(_0x156e2b=!0x1,_0x44be0a=0x0),_0x35182f['fin']&&(this[_0x154633(0x127)]=!0x0);const _0x444baa={[_0x1acdfb]:_0x52904b,'fin':_0x35182f[_0x154633(0x2b4)],'generateMask':this[_0x154633(0x23e)],'mask':_0x35182f[_0x154633(0x19c)],'maskBuffer':this[_0x154633(0x2cb)],'opcode':_0x44be0a,'readOnly':_0x5cca6c,'rsv1':_0x156e2b};_0x5e681a(_0x448832)?this[_0x154633(0x2af)]!==_0x157fcd?this[_0x154633(0x1fa)]([this[_0x154633(0x2ac)],_0x448832,this[_0x154633(0x13a)],_0x444baa,_0x2dd33b]):this[_0x154633(0x2ac)](_0x448832,this['_compress'],_0x444baa,_0x2dd33b):this[_0x154633(0x2af)]!==_0x157fcd?this[_0x154633(0x1fa)]([this[_0x154633(0x215)],_0x448832,this[_0x154633(0x13a)],_0x444baa,_0x2dd33b]):this[_0x154633(0x215)](_0x448832,this[_0x154633(0x13a)],_0x444baa,_0x2dd33b);}[_0x54e9df(0x2ac)](_0x133b21,_0x4f0e9e,_0x1b34ab,_0x1bb19a){const _0x346f19=_0x54e9df;this[_0x346f19(0x1d3)]+=_0x1b34ab[_0x1acdfb],this[_0x346f19(0x2af)]=_0x41d502,_0x133b21['arrayBuffer']()[_0x346f19(0x1c3)](_0x23c5cd=>{const _0x4258ff=_0x346f19;if(this['_socket'][_0x4258ff(0x24f)]){const _0x1ae722=new Error(_0x4258ff(0x11a));process[_0x4258ff(0x230)](_0x2b5a6b,this,_0x1ae722,_0x1bb19a);return;}this[_0x4258ff(0x1d3)]-=_0x1b34ab[_0x1acdfb];const _0x8a3ec8=_0x335dfb(_0x23c5cd);_0x4f0e9e?this[_0x4258ff(0x215)](_0x8a3ec8,_0x4f0e9e,_0x1b34ab,_0x1bb19a):(this[_0x4258ff(0x2af)]=_0x157fcd,this['sendFrame'](_0xd7db3a[_0x4258ff(0x1af)](_0x8a3ec8,_0x1b34ab),_0x1bb19a),this[_0x4258ff(0x17f)]());})[_0x346f19(0x2bf)](_0x33cb10=>{const _0x474948=_0x346f19;process[_0x474948(0x230)](_0x5c4a63,this,_0x33cb10,_0x1bb19a);});}['dispatch'](_0x44d316,_0x1ed317,_0x6b9379,_0x5b5c61){const _0x5a07af=_0x54e9df;if(!_0x1ed317){this[_0x5a07af(0x152)](_0xd7db3a[_0x5a07af(0x1af)](_0x44d316,_0x6b9379),_0x5b5c61);return;}const _0x16042d=this['_extensions'][_0x4337a3[_0x5a07af(0x11e)]];this['_bufferedBytes']+=_0x6b9379[_0x1acdfb],this['_state']=_0x35e188,_0x16042d[_0x5a07af(0x18e)](_0x44d316,_0x6b9379['fin'],(_0x6dc446,_0x302051)=>{const _0x29b692=_0x5a07af;if(this[_0x29b692(0x22d)][_0x29b692(0x24f)]){const _0x3332dc=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x2b5a6b(this,_0x3332dc,_0x5b5c61);return;}this[_0x29b692(0x1d3)]-=_0x6b9379[_0x1acdfb],this[_0x29b692(0x2af)]=_0x157fcd,_0x6b9379[_0x29b692(0x123)]=!0x1,this[_0x29b692(0x152)](_0xd7db3a[_0x29b692(0x1af)](_0x302051,_0x6b9379),_0x5b5c61),this[_0x29b692(0x17f)]();});}[_0x54e9df(0x17f)](){const _0x3aad51=_0x54e9df;for(;this['_state']===_0x157fcd&&this[_0x3aad51(0x20a)]['length'];){const _0x235aa9=this[_0x3aad51(0x20a)]['shift']();this[_0x3aad51(0x1d3)]-=_0x235aa9[0x3][_0x1acdfb],Reflect[_0x3aad51(0x20b)](_0x235aa9[0x0],this,_0x235aa9['slice'](0x1));}}[_0x54e9df(0x1fa)](_0x402f10){const _0x1cfcb1=_0x54e9df;this[_0x1cfcb1(0x1d3)]+=_0x402f10[0x3][_0x1acdfb],this[_0x1cfcb1(0x20a)][_0x1cfcb1(0x1cf)](_0x402f10);}[_0x54e9df(0x152)](_0xb36001,_0x53e67b){const _0x47a0d9=_0x54e9df;_0xb36001['length']===0x2?(this[_0x47a0d9(0x22d)][_0x47a0d9(0x24b)](),this[_0x47a0d9(0x22d)]['write'](_0xb36001[0x0]),this[_0x47a0d9(0x22d)][_0x47a0d9(0x231)](_0xb36001[0x1],_0x53e67b),this[_0x47a0d9(0x22d)]['uncork']()):this[_0x47a0d9(0x22d)][_0x47a0d9(0x231)](_0xb36001[0x0],_0x53e67b);}}Ee=_0xd7db3a;function _0x2b5a6b(_0x114159,_0x192892,_0x4d1c9f){const _0x5f8938=_0x54e9df;typeof _0x4d1c9f==_0x5f8938(0x1b7)&&_0x4d1c9f(_0x192892);for(let _0x46a2a8=0x0;_0x46a2a8<_0x114159['_queue']['length'];_0x46a2a8++){const _0xc48279=_0x114159[_0x5f8938(0x20a)][_0x46a2a8],_0x16033d=_0xc48279[_0xc48279[_0x5f8938(0x284)]-0x1];typeof _0x16033d=='function'&&_0x16033d(_0x192892);}}function _0x5c4a63(_0x5417ea,_0x5e962b,_0x3da6c6){const _0x4fac92=_0x54e9df;_0x2b5a6b(_0x5417ea,_0x5e962b,_0x3da6c6),_0x5417ea[_0x4fac92(0x21e)](_0x5e962b);}return Ee;}var xe,tt;function Kt(){const _0x3c08a1=_0x2fb0ea;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x402844,kListener:_0x5c7511}=V(),_0x57cd4b=Symbol(_0x3c08a1(0x176)),_0x504d2b=Symbol(_0x3c08a1(0x1e7)),_0x43d1e0=Symbol(_0x3c08a1(0x1f7)),_0x9894ff=Symbol(_0x3c08a1(0x12f)),_0x5a8c45=Symbol(_0x3c08a1(0x210)),_0x1f0117=Symbol('kTarget'),_0x397c09=Symbol('kType'),_0x1222a2=Symbol(_0x3c08a1(0x26e));class _0x4271ec{constructor(_0x346792){this[_0x1f0117]=null,this[_0x397c09]=_0x346792;}get[_0x3c08a1(0x21d)](){return this[_0x1f0117];}get['type'](){return this[_0x397c09];}}Object['defineProperty'](_0x4271ec[_0x3c08a1(0x254)],_0x3c08a1(0x21d),{'enumerable':!0x0}),Object[_0x3c08a1(0x188)](_0x4271ec[_0x3c08a1(0x254)],_0x3c08a1(0x2a9),{'enumerable':!0x0});class _0xe8099d extends _0x4271ec{constructor(_0x396172,_0x4cba69={}){const _0x16df5f=_0x3c08a1;super(_0x396172),this[_0x57cd4b]=_0x4cba69[_0x16df5f(0x138)]===void 0x0?0x0:_0x4cba69[_0x16df5f(0x138)],this[_0x5a8c45]=_0x4cba69[_0x16df5f(0x1fb)]===void 0x0?'':_0x4cba69[_0x16df5f(0x1fb)],this[_0x1222a2]=_0x4cba69[_0x16df5f(0x216)]===void 0x0?!0x1:_0x4cba69[_0x16df5f(0x216)];}get[_0x3c08a1(0x138)](){return this[_0x57cd4b];}get[_0x3c08a1(0x1fb)](){return this[_0x5a8c45];}get[_0x3c08a1(0x216)](){return this[_0x1222a2];}}Object['defineProperty'](_0xe8099d[_0x3c08a1(0x254)],_0x3c08a1(0x138),{'enumerable':!0x0}),Object[_0x3c08a1(0x188)](_0xe8099d[_0x3c08a1(0x254)],_0x3c08a1(0x1fb),{'enumerable':!0x0}),Object[_0x3c08a1(0x188)](_0xe8099d['prototype'],'wasClean',{'enumerable':!0x0});class _0x524762 extends _0x4271ec{constructor(_0x5e62b4,_0x1f4352={}){const _0x50b0ca=_0x3c08a1;super(_0x5e62b4),this[_0x43d1e0]=_0x1f4352[_0x50b0ca(0x130)]===void 0x0?null:_0x1f4352[_0x50b0ca(0x130)],this[_0x9894ff]=_0x1f4352['message']===void 0x0?'':_0x1f4352['message'];}get[_0x3c08a1(0x130)](){return this[_0x43d1e0];}get[_0x3c08a1(0x139)](){return this[_0x9894ff];}}Object['defineProperty'](_0x524762[_0x3c08a1(0x254)],_0x3c08a1(0x130),{'enumerable':!0x0}),Object[_0x3c08a1(0x188)](_0x524762[_0x3c08a1(0x254)],_0x3c08a1(0x139),{'enumerable':!0x0});class _0x5d255c extends _0x4271ec{constructor(_0x5dc71b,_0x260337={}){const _0x3e7f2d=_0x3c08a1;super(_0x5dc71b),this[_0x504d2b]=_0x260337[_0x3e7f2d(0x223)]===void 0x0?null:_0x260337['data'];}get[_0x3c08a1(0x223)](){return this[_0x504d2b];}}Object['defineProperty'](_0x5d255c['prototype'],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0xe8099d,'ErrorEvent':_0x524762,'Event':_0x4271ec,'EventTarget':{'addEventListener'(_0x730536,_0x402bbf,_0x29844c={}){const _0xdb2171=_0x3c08a1;for(const _0x4e8cec of this['listeners'](_0x730536))if(!_0x29844c[_0x402844]&&_0x4e8cec[_0x5c7511]===_0x402bbf&&!_0x4e8cec[_0x402844])return;let _0x187f1;if(_0x730536===_0xdb2171(0x139))_0x187f1=function(_0x51eeff,_0x4eb1ad){const _0x4d3c6b=_0xdb2171,_0xdc0ebd=new _0x5d255c(_0x4d3c6b(0x139),{'data':_0x4eb1ad?_0x51eeff:_0x51eeff['toString']()});_0xdc0ebd[_0x1f0117]=this,_0x369a79(_0x402bbf,this,_0xdc0ebd);};else{if(_0x730536==='close')_0x187f1=function(_0x4deb76,_0x2e7ea2){const _0x271a0e=_0xdb2171,_0x323a78=new _0xe8099d('close',{'code':_0x4deb76,'reason':_0x2e7ea2[_0x271a0e(0x1c9)](),'wasClean':this[_0x271a0e(0x282)]&&this[_0x271a0e(0x1b9)]});_0x323a78[_0x1f0117]=this,_0x369a79(_0x402bbf,this,_0x323a78);};else{if(_0x730536===_0xdb2171(0x130))_0x187f1=function(_0x3d6711){const _0x4becc5=_0xdb2171,_0x3254d0=new _0x524762('error',{'error':_0x3d6711,'message':_0x3d6711[_0x4becc5(0x139)]});_0x3254d0[_0x1f0117]=this,_0x369a79(_0x402bbf,this,_0x3254d0);};else{if(_0x730536==='open')_0x187f1=function(){const _0x34d4fd=_0xdb2171,_0x1b5a9d=new _0x4271ec(_0x34d4fd(0x2ad));_0x1b5a9d[_0x1f0117]=this,_0x369a79(_0x402bbf,this,_0x1b5a9d);};else return;}}}_0x187f1[_0x402844]=!!_0x29844c[_0x402844],_0x187f1[_0x5c7511]=_0x402bbf,_0x29844c[_0xdb2171(0x197)]?this[_0xdb2171(0x197)](_0x730536,_0x187f1):this['on'](_0x730536,_0x187f1);},'removeEventListener'(_0x468d52,_0xcd39d7){for(const _0x26f8db of this['listeners'](_0x468d52))if(_0x26f8db[_0x5c7511]===_0xcd39d7&&!_0x26f8db[_0x402844]){this['removeListener'](_0x468d52,_0x26f8db);break;}}},'MessageEvent':_0x5d255c};function _0x369a79(_0x46d70e,_0xb6720c,_0x596117){const _0x1c9d44=_0x3c08a1;typeof _0x46d70e==_0x1c9d44(0x125)&&_0x46d70e[_0x1c9d44(0x2c6)]?_0x46d70e[_0x1c9d44(0x2c6)]['call'](_0x46d70e,_0x596117):_0x46d70e[_0x1c9d44(0x189)](_0xb6720c,_0x596117);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x3aebaa}=ne();function _0x18ff3c(_0x32563c,_0x320e17,_0x315def){_0x32563c[_0x320e17]===void 0x0?_0x32563c[_0x320e17]=[_0x315def]:_0x32563c[_0x320e17]['push'](_0x315def);}function _0x266f05(_0x308ab8){const _0x4a0a30=_0x195d,_0x3639eb=Object[_0x4a0a30(0x265)](null);let _0x5b8072=Object[_0x4a0a30(0x265)](null),_0x3002a9=!0x1,_0x1b1c1b=!0x1,_0x53eac0=!0x1,_0x2c0315,_0x514e33,_0x2cf621=-0x1,_0x54fe52=-0x1,_0x33cccc=-0x1,_0x2c2590=0x0;for(;_0x2c2590<_0x308ab8['length'];_0x2c2590++)if(_0x54fe52=_0x308ab8[_0x4a0a30(0x24a)](_0x2c2590),_0x2c0315===void 0x0){if(_0x33cccc===-0x1&&_0x3aebaa[_0x54fe52]===0x1)_0x2cf621===-0x1&&(_0x2cf621=_0x2c2590);else{if(_0x2c2590!==0x0&&(_0x54fe52===0x20||_0x54fe52===0x9))_0x33cccc===-0x1&&_0x2cf621!==-0x1&&(_0x33cccc=_0x2c2590);else{if(_0x54fe52===0x3b||_0x54fe52===0x2c){if(_0x2cf621===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2c2590);_0x33cccc===-0x1&&(_0x33cccc=_0x2c2590);const _0x3e7537=_0x308ab8[_0x4a0a30(0x1ee)](_0x2cf621,_0x33cccc);_0x54fe52===0x2c?(_0x18ff3c(_0x3639eb,_0x3e7537,_0x5b8072),_0x5b8072=Object[_0x4a0a30(0x265)](null)):_0x2c0315=_0x3e7537,_0x2cf621=_0x33cccc=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2c2590);}}}else{if(_0x514e33===void 0x0){if(_0x33cccc===-0x1&&_0x3aebaa[_0x54fe52]===0x1)_0x2cf621===-0x1&&(_0x2cf621=_0x2c2590);else{if(_0x54fe52===0x20||_0x54fe52===0x9)_0x33cccc===-0x1&&_0x2cf621!==-0x1&&(_0x33cccc=_0x2c2590);else{if(_0x54fe52===0x3b||_0x54fe52===0x2c){if(_0x2cf621===-0x1)throw new SyntaxError(_0x4a0a30(0x219)+_0x2c2590);_0x33cccc===-0x1&&(_0x33cccc=_0x2c2590),_0x18ff3c(_0x5b8072,_0x308ab8['slice'](_0x2cf621,_0x33cccc),!0x0),_0x54fe52===0x2c&&(_0x18ff3c(_0x3639eb,_0x2c0315,_0x5b8072),_0x5b8072=Object['create'](null),_0x2c0315=void 0x0),_0x2cf621=_0x33cccc=-0x1;}else{if(_0x54fe52===0x3d&&_0x2cf621!==-0x1&&_0x33cccc===-0x1)_0x514e33=_0x308ab8[_0x4a0a30(0x1ee)](_0x2cf621,_0x2c2590),_0x2cf621=_0x33cccc=-0x1;else throw new SyntaxError(_0x4a0a30(0x219)+_0x2c2590);}}}}else{if(_0x1b1c1b){if(_0x3aebaa[_0x54fe52]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2c2590);_0x2cf621===-0x1?_0x2cf621=_0x2c2590:_0x3002a9||(_0x3002a9=!0x0),_0x1b1c1b=!0x1;}else{if(_0x53eac0){if(_0x3aebaa[_0x54fe52]===0x1)_0x2cf621===-0x1&&(_0x2cf621=_0x2c2590);else{if(_0x54fe52===0x22&&_0x2cf621!==-0x1)_0x53eac0=!0x1,_0x33cccc=_0x2c2590;else{if(_0x54fe52===0x5c)_0x1b1c1b=!0x0;else throw new SyntaxError(_0x4a0a30(0x219)+_0x2c2590);}}}else{if(_0x54fe52===0x22&&_0x308ab8[_0x4a0a30(0x24a)](_0x2c2590-0x1)===0x3d)_0x53eac0=!0x0;else{if(_0x33cccc===-0x1&&_0x3aebaa[_0x54fe52]===0x1)_0x2cf621===-0x1&&(_0x2cf621=_0x2c2590);else{if(_0x2cf621!==-0x1&&(_0x54fe52===0x20||_0x54fe52===0x9))_0x33cccc===-0x1&&(_0x33cccc=_0x2c2590);else{if(_0x54fe52===0x3b||_0x54fe52===0x2c){if(_0x2cf621===-0x1)throw new SyntaxError(_0x4a0a30(0x219)+_0x2c2590);_0x33cccc===-0x1&&(_0x33cccc=_0x2c2590);let _0x46242c=_0x308ab8[_0x4a0a30(0x1ee)](_0x2cf621,_0x33cccc);_0x3002a9&&(_0x46242c=_0x46242c[_0x4a0a30(0x26b)](/\\/g,''),_0x3002a9=!0x1),_0x18ff3c(_0x5b8072,_0x514e33,_0x46242c),_0x54fe52===0x2c&&(_0x18ff3c(_0x3639eb,_0x2c0315,_0x5b8072),_0x5b8072=Object[_0x4a0a30(0x265)](null),_0x2c0315=void 0x0),_0x514e33=void 0x0,_0x2cf621=_0x33cccc=-0x1;}else throw new SyntaxError(_0x4a0a30(0x219)+_0x2c2590);}}}}}}}if(_0x2cf621===-0x1||_0x53eac0||_0x54fe52===0x20||_0x54fe52===0x9)throw new SyntaxError(_0x4a0a30(0x1f1));_0x33cccc===-0x1&&(_0x33cccc=_0x2c2590);const _0x3ba7cb=_0x308ab8['slice'](_0x2cf621,_0x33cccc);return _0x2c0315===void 0x0?_0x18ff3c(_0x3639eb,_0x3ba7cb,_0x5b8072):(_0x514e33===void 0x0?_0x18ff3c(_0x5b8072,_0x3ba7cb,!0x0):_0x3002a9?_0x18ff3c(_0x5b8072,_0x514e33,_0x3ba7cb[_0x4a0a30(0x26b)](/\\/g,'')):_0x18ff3c(_0x5b8072,_0x514e33,_0x3ba7cb),_0x18ff3c(_0x3639eb,_0x2c0315,_0x5b8072)),_0x3639eb;}function _0x16eb77(_0x584209){const _0x105a55=_0x195d;return Object[_0x105a55(0x20c)](_0x584209)[_0x105a55(0x193)](_0x240c7c=>{const _0x6a4539=_0x105a55;let _0x4ef4a5=_0x584209[_0x240c7c];return Array[_0x6a4539(0x29d)](_0x4ef4a5)||(_0x4ef4a5=[_0x4ef4a5]),_0x4ef4a5[_0x6a4539(0x193)](_0x401670=>[_0x240c7c]['concat'](Object[_0x6a4539(0x20c)](_0x401670)[_0x6a4539(0x193)](_0x5e8b4d=>{const _0x2ba3f7=_0x6a4539;let _0x4da0c0=_0x401670[_0x5e8b4d];return Array['isArray'](_0x4da0c0)||(_0x4da0c0=[_0x4da0c0]),_0x4da0c0[_0x2ba3f7(0x193)](_0x1a7139=>_0x1a7139===!0x0?_0x5e8b4d:_0x5e8b4d+'='+_0x1a7139)[_0x2ba3f7(0x1a6)](';\x20');}))[_0x6a4539(0x1a6)](';\x20'))['join'](',\x20');})['join'](',\x20');}return be={'format':_0x16eb77,'parse':_0x266f05},be;}var we,st;function Ie(){const _0x498d7a=_0x2fb0ea;if(st)return we;st=0x1;const _0x84162d=_0x5b61b9,_0x40d8a6=_0x599092,_0xf9b8cd=_0x5177dc,_0x19ab82=_0x964936,_0x2856fc=_0x187b0d,{randomBytes:_0x30a0b7,createHash:_0x3941f2}=_0x5f1ecc,{Duplex:_0x38d47e,Readable:_0x3e4596}=_0x51faaf,{URL:_0x9239de}=_0x403b71,_0x510a25=he(),_0x4b363b=dt(),_0x1a896e=_t(),{isBlob:_0x3dc98f}=ne(),{BINARY_TYPES:_0x3878ab,EMPTY_BUFFER:_0x265e78,GUID:_0x4fb7e9,kForOnEventAttribute:_0xac7d8a,kListener:_0x4a8f5c,kStatusCode:_0x358f68,kWebSocket:_0x55a45c,NOOP:_0x266916}=V(),{EventTarget:{addEventListener:_0x20b9f2,removeEventListener:_0x535252}}=Kt(),{format:_0x4aba63,parse:_0x3e2afc}=pt(),{toBuffer:_0x260cee}=ce(),_0x5c74de=0x1e*0x3e8,_0x35bb80=Symbol(_0x498d7a(0x281)),_0x56caa2=[0x8,0xd],_0x16385f=[_0x498d7a(0x1b6),_0x498d7a(0x192),_0x498d7a(0x18d),'CLOSED'],_0x3461ac=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x21b2c5 extends _0x84162d{constructor(_0xace0f2,_0xf47e72,_0x51d733){const _0x3c78d8=_0x498d7a;super(),this[_0x3c78d8(0x134)]=_0x3878ab[0x0],this[_0x3c78d8(0x2b9)]=0x3ee,this[_0x3c78d8(0x282)]=!0x1,this['_closeFrameSent']=!0x1,this['_closeMessage']=_0x265e78,this[_0x3c78d8(0x1a0)]=null,this[_0x3c78d8(0x129)]=!0x1,this['_extensions']={},this[_0x3c78d8(0x240)]=!0x1,this[_0x3c78d8(0x23d)]='',this[_0x3c78d8(0x1e1)]=_0x21b2c5['CONNECTING'],this[_0x3c78d8(0x1c2)]=null,this['_sender']=null,this['_socket']=null,_0xace0f2!==null?(this[_0x3c78d8(0x1df)]=0x0,this['_isServer']=!0x1,this[_0x3c78d8(0x25e)]=0x0,_0xf47e72===void 0x0?_0xf47e72=[]:Array[_0x3c78d8(0x29d)](_0xf47e72)||(typeof _0xf47e72=='object'&&_0xf47e72!==null?(_0x51d733=_0xf47e72,_0xf47e72=[]):_0xf47e72=[_0xf47e72]),_0x4eb1b0(this,_0xace0f2,_0xf47e72,_0x51d733)):(this['_autoPong']=_0x51d733[_0x3c78d8(0x1b5)],this[_0x3c78d8(0x14a)]=!0x0);}get[_0x498d7a(0x291)](){return this['_binaryType'];}set[_0x498d7a(0x291)](_0x5edc91){const _0x174951=_0x498d7a;_0x3878ab[_0x174951(0x11c)](_0x5edc91)&&(this[_0x174951(0x134)]=_0x5edc91,this[_0x174951(0x1c2)]&&(this[_0x174951(0x1c2)][_0x174951(0x134)]=_0x5edc91));}get[_0x498d7a(0x149)](){const _0x108dca=_0x498d7a;return this['_socket']?this[_0x108dca(0x22d)][_0x108dca(0x25c)][_0x108dca(0x284)]+this[_0x108dca(0x12b)][_0x108dca(0x1d3)]:this[_0x108dca(0x1df)];}get[_0x498d7a(0x26c)](){const _0x682089=_0x498d7a;return Object[_0x682089(0x20c)](this[_0x682089(0x1a5)])['join']();}get[_0x498d7a(0x2b0)](){const _0x2917fc=_0x498d7a;return this[_0x2917fc(0x240)];}get[_0x498d7a(0x1b2)](){return null;}get[_0x498d7a(0x21e)](){return null;}get[_0x498d7a(0x286)](){return null;}get['onmessage'](){return null;}get['protocol'](){return this['_protocol'];}get[_0x498d7a(0x1dc)](){const _0x301265=_0x498d7a;return this[_0x301265(0x1e1)];}get[_0x498d7a(0x243)](){return this['_url'];}['setSocket'](_0x1f12f8,_0x2ce821,_0x1901c3){const _0x23bdd1=_0x498d7a,_0x25d77e=new _0x4b363b({'allowSynchronousEvents':_0x1901c3[_0x23bdd1(0x1de)],'binaryType':this[_0x23bdd1(0x291)],'extensions':this[_0x23bdd1(0x1a5)],'isServer':this[_0x23bdd1(0x14a)],'maxPayload':_0x1901c3[_0x23bdd1(0x211)],'skipUTF8Validation':_0x1901c3[_0x23bdd1(0x1ac)]}),_0x1aa0db=new _0x1a896e(_0x1f12f8,this[_0x23bdd1(0x1a5)],_0x1901c3[_0x23bdd1(0x142)]);this[_0x23bdd1(0x1c2)]=_0x25d77e,this[_0x23bdd1(0x12b)]=_0x1aa0db,this[_0x23bdd1(0x22d)]=_0x1f12f8,_0x25d77e[_0x55a45c]=this,_0x1aa0db[_0x55a45c]=this,_0x1f12f8[_0x55a45c]=this,_0x25d77e['on'](_0x23bdd1(0x1b3),_0x55dd36),_0x25d77e['on'](_0x23bdd1(0x156),_0x3fe3bf),_0x25d77e['on'](_0x23bdd1(0x130),_0x346554),_0x25d77e['on'](_0x23bdd1(0x139),_0x35bde4),_0x25d77e['on']('ping',_0x204c17),_0x25d77e['on'](_0x23bdd1(0x200),_0x28041b),_0x1aa0db[_0x23bdd1(0x21e)]=_0x52647c,_0x1f12f8['setTimeout']&&_0x1f12f8[_0x23bdd1(0x1aa)](0x0),_0x1f12f8[_0x23bdd1(0x1fd)]&&_0x1f12f8['setNoDelay'](),_0x2ce821[_0x23bdd1(0x284)]>0x0&&_0x1f12f8[_0x23bdd1(0x267)](_0x2ce821),_0x1f12f8['on'](_0x23bdd1(0x272),_0x41237a),_0x1f12f8['on'](_0x23bdd1(0x223),_0x4d208b),_0x1f12f8['on'](_0x23bdd1(0x132),_0x2bd82a),_0x1f12f8['on'](_0x23bdd1(0x130),_0xe09448),this[_0x23bdd1(0x1e1)]=_0x21b2c5[_0x23bdd1(0x192)],this[_0x23bdd1(0x1cb)]('open');}[_0x498d7a(0x186)](){const _0x1cf4e7=_0x498d7a;if(!this[_0x1cf4e7(0x22d)]){this[_0x1cf4e7(0x1e1)]=_0x21b2c5[_0x1cf4e7(0x133)],this[_0x1cf4e7(0x1cb)](_0x1cf4e7(0x272),this[_0x1cf4e7(0x2b9)],this[_0x1cf4e7(0x19e)]);return;}this[_0x1cf4e7(0x1a5)][_0x510a25[_0x1cf4e7(0x11e)]]&&this[_0x1cf4e7(0x1a5)][_0x510a25['extensionName']][_0x1cf4e7(0x287)](),this['_receiver']['removeAllListeners'](),this[_0x1cf4e7(0x1e1)]=_0x21b2c5[_0x1cf4e7(0x133)],this[_0x1cf4e7(0x1cb)](_0x1cf4e7(0x272),this['_closeCode'],this['_closeMessage']);}[_0x498d7a(0x272)](_0x48028f,_0x22c747){const _0x152f58=_0x498d7a;if(this[_0x152f58(0x1dc)]!==_0x21b2c5[_0x152f58(0x133)]){if(this['readyState']===_0x21b2c5['CONNECTING']){_0x136b97(this,this['_req'],_0x152f58(0x1f0));return;}if(this[_0x152f58(0x1dc)]===_0x21b2c5[_0x152f58(0x18d)]){this[_0x152f58(0x1b9)]&&(this[_0x152f58(0x282)]||this[_0x152f58(0x1c2)][_0x152f58(0x25c)]['errorEmitted'])&&this[_0x152f58(0x22d)][_0x152f58(0x132)]();return;}this['_readyState']=_0x21b2c5[_0x152f58(0x18d)],this[_0x152f58(0x12b)]['close'](_0x48028f,_0x22c747,!this['_isServer'],_0x22f01a=>{const _0x476ee3=_0x152f58;_0x22f01a||(this[_0x476ee3(0x1b9)]=!0x0,(this[_0x476ee3(0x282)]||this[_0x476ee3(0x1c2)][_0x476ee3(0x25c)]['errorEmitted'])&&this[_0x476ee3(0x22d)][_0x476ee3(0x132)]());}),_0x1c9d93(this);}}[_0x498d7a(0x283)](){const _0xde2f4a=_0x498d7a;this['readyState']===_0x21b2c5[_0xde2f4a(0x1b6)]||this[_0xde2f4a(0x1dc)]===_0x21b2c5[_0xde2f4a(0x133)]||(this[_0xde2f4a(0x240)]=!0x0,this[_0xde2f4a(0x22d)][_0xde2f4a(0x283)]());}['ping'](_0x3181c3,_0x2ef1b0,_0x2f2aa2){const _0x560cfb=_0x498d7a;if(this['readyState']===_0x21b2c5[_0x560cfb(0x1b6)])throw new Error(_0x560cfb(0x212));if(typeof _0x3181c3==_0x560cfb(0x1b7)?(_0x2f2aa2=_0x3181c3,_0x3181c3=_0x2ef1b0=void 0x0):typeof _0x2ef1b0==_0x560cfb(0x1b7)&&(_0x2f2aa2=_0x2ef1b0,_0x2ef1b0=void 0x0),typeof _0x3181c3==_0x560cfb(0x29a)&&(_0x3181c3=_0x3181c3[_0x560cfb(0x1c9)]()),this['readyState']!==_0x21b2c5[_0x560cfb(0x192)]){_0x41ed22(this,_0x3181c3,_0x2f2aa2);return;}_0x2ef1b0===void 0x0&&(_0x2ef1b0=!this[_0x560cfb(0x14a)]),this[_0x560cfb(0x12b)][_0x560cfb(0x120)](_0x3181c3||_0x265e78,_0x2ef1b0,_0x2f2aa2);}[_0x498d7a(0x200)](_0x3146cf,_0x47b99b,_0xe82919){const _0x3c2efd=_0x498d7a;if(this['readyState']===_0x21b2c5[_0x3c2efd(0x1b6)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x3146cf==_0x3c2efd(0x1b7)?(_0xe82919=_0x3146cf,_0x3146cf=_0x47b99b=void 0x0):typeof _0x47b99b==_0x3c2efd(0x1b7)&&(_0xe82919=_0x47b99b,_0x47b99b=void 0x0),typeof _0x3146cf==_0x3c2efd(0x29a)&&(_0x3146cf=_0x3146cf[_0x3c2efd(0x1c9)]()),this[_0x3c2efd(0x1dc)]!==_0x21b2c5['OPEN']){_0x41ed22(this,_0x3146cf,_0xe82919);return;}_0x47b99b===void 0x0&&(_0x47b99b=!this[_0x3c2efd(0x14a)]),this[_0x3c2efd(0x12b)][_0x3c2efd(0x200)](_0x3146cf||_0x265e78,_0x47b99b,_0xe82919);}['resume'](){const _0x471209=_0x498d7a;this['readyState']===_0x21b2c5[_0x471209(0x1b6)]||this['readyState']===_0x21b2c5['CLOSED']||(this[_0x471209(0x240)]=!0x1,this[_0x471209(0x1c2)][_0x471209(0x25c)][_0x471209(0x1ce)]||this[_0x471209(0x22d)][_0x471209(0x194)]());}[_0x498d7a(0x238)](_0x11c915,_0x55aab3,_0x158b7f){const _0x533abf=_0x498d7a;if(this[_0x533abf(0x1dc)]===_0x21b2c5[_0x533abf(0x1b6)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x55aab3==_0x533abf(0x1b7)&&(_0x158b7f=_0x55aab3,_0x55aab3={}),typeof _0x11c915==_0x533abf(0x29a)&&(_0x11c915=_0x11c915[_0x533abf(0x1c9)]()),this[_0x533abf(0x1dc)]!==_0x21b2c5[_0x533abf(0x192)]){_0x41ed22(this,_0x11c915,_0x158b7f);return;}const _0xa07920={'binary':typeof _0x11c915!='string','mask':!this[_0x533abf(0x14a)],'compress':!0x0,'fin':!0x0,..._0x55aab3};this[_0x533abf(0x1a5)][_0x510a25['extensionName']]||(_0xa07920['compress']=!0x1),this[_0x533abf(0x12b)][_0x533abf(0x238)](_0x11c915||_0x265e78,_0xa07920,_0x158b7f);}[_0x498d7a(0x175)](){const _0x220c99=_0x498d7a;if(this[_0x220c99(0x1dc)]!==_0x21b2c5['CLOSED']){if(this[_0x220c99(0x1dc)]===_0x21b2c5[_0x220c99(0x1b6)]){_0x136b97(this,this[_0x220c99(0x204)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x220c99(0x22d)]&&(this[_0x220c99(0x1e1)]=_0x21b2c5['CLOSING'],this[_0x220c99(0x22d)][_0x220c99(0x1b0)]());}}}Object[_0x498d7a(0x188)](_0x21b2c5,_0x498d7a(0x1b6),{'enumerable':!0x0,'value':_0x16385f['indexOf'](_0x498d7a(0x1b6))}),Object[_0x498d7a(0x188)](_0x21b2c5['prototype'],_0x498d7a(0x1b6),{'enumerable':!0x0,'value':_0x16385f[_0x498d7a(0x1ef)](_0x498d7a(0x1b6))}),Object['defineProperty'](_0x21b2c5,_0x498d7a(0x192),{'enumerable':!0x0,'value':_0x16385f['indexOf']('OPEN')}),Object[_0x498d7a(0x188)](_0x21b2c5[_0x498d7a(0x254)],_0x498d7a(0x192),{'enumerable':!0x0,'value':_0x16385f[_0x498d7a(0x1ef)](_0x498d7a(0x192))}),Object['defineProperty'](_0x21b2c5,'CLOSING',{'enumerable':!0x0,'value':_0x16385f[_0x498d7a(0x1ef)](_0x498d7a(0x18d))}),Object[_0x498d7a(0x188)](_0x21b2c5['prototype'],_0x498d7a(0x18d),{'enumerable':!0x0,'value':_0x16385f[_0x498d7a(0x1ef)](_0x498d7a(0x18d))}),Object[_0x498d7a(0x188)](_0x21b2c5,'CLOSED',{'enumerable':!0x0,'value':_0x16385f[_0x498d7a(0x1ef)](_0x498d7a(0x133))}),Object[_0x498d7a(0x188)](_0x21b2c5[_0x498d7a(0x254)],_0x498d7a(0x133),{'enumerable':!0x0,'value':_0x16385f[_0x498d7a(0x1ef)](_0x498d7a(0x133))}),[_0x498d7a(0x291),'bufferedAmount',_0x498d7a(0x26c),'isPaused',_0x498d7a(0x172),_0x498d7a(0x1dc),_0x498d7a(0x243)]['forEach'](_0x23ba97=>{const _0x509a9e=_0x498d7a;Object[_0x509a9e(0x188)](_0x21b2c5[_0x509a9e(0x254)],_0x23ba97,{'enumerable':!0x0});}),[_0x498d7a(0x2ad),'error',_0x498d7a(0x272),_0x498d7a(0x139)][_0x498d7a(0x13d)](_0xd8c526=>{const _0x110ad0=_0x498d7a;Object[_0x110ad0(0x188)](_0x21b2c5[_0x110ad0(0x254)],'on'+_0xd8c526,{'enumerable':!0x0,'get'(){for(const _0x25ec76 of this['listeners'](_0xd8c526))if(_0x25ec76[_0xac7d8a])return _0x25ec76[_0x4a8f5c];return null;},'set'(_0x49fd2b){const _0x2ee586=_0x110ad0;for(const _0xaac611 of this[_0x2ee586(0x1c0)](_0xd8c526))if(_0xaac611[_0xac7d8a]){this[_0x2ee586(0x14d)](_0xd8c526,_0xaac611);break;}typeof _0x49fd2b==_0x2ee586(0x1b7)&&this['addEventListener'](_0xd8c526,_0x49fd2b,{[_0xac7d8a]:!0x0});}});}),_0x21b2c5[_0x498d7a(0x254)][_0x498d7a(0x1fe)]=_0x20b9f2,_0x21b2c5[_0x498d7a(0x254)][_0x498d7a(0x227)]=_0x535252,we=_0x21b2c5;function _0x4eb1b0(_0x76273a,_0x230f7e,_0x522508,_0x37c318){const _0x57f449=_0x498d7a,_0x3bdb3e={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x56caa2[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x37c318,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x57f449(0x220),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x76273a['_autoPong']=_0x3bdb3e[_0x57f449(0x1b5)],!_0x56caa2[_0x57f449(0x11c)](_0x3bdb3e[_0x57f449(0x29b)]))throw new RangeError(_0x57f449(0x155)+_0x3bdb3e['protocolVersion']+_0x57f449(0x251)+_0x56caa2[_0x57f449(0x1a6)](',\x20')+')');let _0x1e40fe;if(_0x230f7e instanceof _0x9239de)_0x1e40fe=_0x230f7e;else try{_0x1e40fe=new _0x9239de(_0x230f7e);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x230f7e);}_0x1e40fe[_0x57f449(0x172)]===_0x57f449(0x242)?_0x1e40fe['protocol']='ws:':_0x1e40fe['protocol']==='https:'&&(_0x1e40fe['protocol']=_0x57f449(0x2aa)),_0x76273a[_0x57f449(0x18f)]=_0x1e40fe[_0x57f449(0x20e)];const _0x330c10=_0x1e40fe['protocol']===_0x57f449(0x2aa),_0x2543ed=_0x1e40fe[_0x57f449(0x172)]===_0x57f449(0x27b);let _0x52d77f;if(_0x1e40fe['protocol']!==_0x57f449(0x1ae)&&!_0x330c10&&!_0x2543ed?_0x52d77f=_0x57f449(0x239):_0x2543ed&&!_0x1e40fe[_0x57f449(0x28e)]?_0x52d77f=_0x57f449(0x25d):_0x1e40fe[_0x57f449(0x1ca)]&&(_0x52d77f=_0x57f449(0x1d7)),_0x52d77f){const _0x126cc3=new SyntaxError(_0x52d77f);if(_0x76273a[_0x57f449(0x25e)]===0x0)throw _0x126cc3;_0x3fede2(_0x76273a,_0x126cc3);return;}const _0xb4d8d3=_0x330c10?0x1bb:0x50,_0x283834=_0x30a0b7(0x10)['toString'](_0x57f449(0x135)),_0x2a3c2b=_0x330c10?_0x40d8a6['request']:_0xf9b8cd['request'],_0x4a470b=new Set();let _0x399cf7;if(_0x3bdb3e[_0x57f449(0x202)]=_0x3bdb3e[_0x57f449(0x202)]||(_0x330c10?_0x39908d:_0x3a2ffd),_0x3bdb3e[_0x57f449(0x158)]=_0x3bdb3e[_0x57f449(0x158)]||_0xb4d8d3,_0x3bdb3e[_0x57f449(0x173)]=_0x1e40fe[_0x57f449(0x173)]||_0xb4d8d3,_0x3bdb3e[_0x57f449(0x168)]=_0x1e40fe[_0x57f449(0x292)][_0x57f449(0x1eb)]('[')?_0x1e40fe[_0x57f449(0x292)]['slice'](0x1,-0x1):_0x1e40fe[_0x57f449(0x292)],_0x3bdb3e[_0x57f449(0x2b1)]={..._0x3bdb3e[_0x57f449(0x2b1)],'Sec-WebSocket-Version':_0x3bdb3e[_0x57f449(0x29b)],'Sec-WebSocket-Key':_0x283834,'Connection':'Upgrade','Upgrade':_0x57f449(0x2b2)},_0x3bdb3e[_0x57f449(0x145)]=_0x1e40fe[_0x57f449(0x28e)]+_0x1e40fe[_0x57f449(0x1be)],_0x3bdb3e['timeout']=_0x3bdb3e[_0x57f449(0x166)],_0x3bdb3e[_0x57f449(0x1f9)]&&(_0x399cf7=new _0x510a25(_0x3bdb3e[_0x57f449(0x1f9)]!==!0x0?_0x3bdb3e[_0x57f449(0x1f9)]:{},!0x1,_0x3bdb3e['maxPayload']),_0x3bdb3e[_0x57f449(0x2b1)][_0x57f449(0x1b1)]=_0x4aba63({[_0x510a25[_0x57f449(0x11e)]]:_0x399cf7['offer']()})),_0x522508[_0x57f449(0x284)]){for(const _0x363ea5 of _0x522508){if(typeof _0x363ea5!='string'||!_0x3461ac[_0x57f449(0x236)](_0x363ea5)||_0x4a470b[_0x57f449(0x12c)](_0x363ea5))throw new SyntaxError(_0x57f449(0x2bb));_0x4a470b[_0x57f449(0x290)](_0x363ea5);}_0x3bdb3e[_0x57f449(0x2b1)][_0x57f449(0x257)]=_0x522508[_0x57f449(0x1a6)](',');}if(_0x3bdb3e['origin']&&(_0x3bdb3e['protocolVersion']<0xd?_0x3bdb3e[_0x57f449(0x2b1)][_0x57f449(0x288)]=_0x3bdb3e[_0x57f449(0x221)]:_0x3bdb3e[_0x57f449(0x2b1)][_0x57f449(0x167)]=_0x3bdb3e[_0x57f449(0x221)]),(_0x1e40fe[_0x57f449(0x1bd)]||_0x1e40fe[_0x57f449(0x222)])&&(_0x3bdb3e[_0x57f449(0x15b)]=_0x1e40fe[_0x57f449(0x1bd)]+':'+_0x1e40fe[_0x57f449(0x222)]),_0x2543ed){const _0x3da022=_0x3bdb3e[_0x57f449(0x145)][_0x57f449(0x17d)](':');_0x3bdb3e['socketPath']=_0x3da022[0x0],_0x3bdb3e['path']=_0x3da022[0x1];}let _0x466fe5;if(_0x3bdb3e['followRedirects']){if(_0x76273a['_redirects']===0x0){_0x76273a[_0x57f449(0x205)]=_0x2543ed,_0x76273a['_originalSecure']=_0x330c10,_0x76273a[_0x57f449(0x154)]=_0x2543ed?_0x3bdb3e[_0x57f449(0x2c8)]:_0x1e40fe[_0x57f449(0x168)];const _0x3109a3=_0x37c318&&_0x37c318[_0x57f449(0x2b1)];if(_0x37c318={..._0x37c318,'headers':{}},_0x3109a3){for(const [_0x540a59,_0x36c84f]of Object['entries'](_0x3109a3))_0x37c318[_0x57f449(0x2b1)][_0x540a59['toLowerCase']()]=_0x36c84f;}}else{if(_0x76273a[_0x57f449(0x1f3)](_0x57f449(0x191))===0x0){const _0x220b58=_0x2543ed?_0x76273a[_0x57f449(0x205)]?_0x3bdb3e[_0x57f449(0x2c8)]===_0x76273a[_0x57f449(0x154)]:!0x1:_0x76273a[_0x57f449(0x205)]?!0x1:_0x1e40fe['host']===_0x76273a[_0x57f449(0x154)];(!_0x220b58||_0x76273a['_originalSecure']&&!_0x330c10)&&(delete _0x3bdb3e[_0x57f449(0x2b1)]['authorization'],delete _0x3bdb3e[_0x57f449(0x2b1)][_0x57f449(0x199)],_0x220b58||delete _0x3bdb3e[_0x57f449(0x2b1)][_0x57f449(0x168)],_0x3bdb3e[_0x57f449(0x15b)]=void 0x0);}}_0x3bdb3e[_0x57f449(0x15b)]&&!_0x37c318[_0x57f449(0x2b1)][_0x57f449(0x206)]&&(_0x37c318['headers'][_0x57f449(0x206)]=_0x57f449(0x264)+Buffer[_0x57f449(0x1a8)](_0x3bdb3e[_0x57f449(0x15b)])['toString'](_0x57f449(0x135))),_0x466fe5=_0x76273a['_req']=_0x2a3c2b(_0x3bdb3e),_0x76273a[_0x57f449(0x25e)]&&_0x76273a[_0x57f449(0x1cb)]('redirect',_0x76273a[_0x57f449(0x243)],_0x466fe5);}else _0x466fe5=_0x76273a[_0x57f449(0x204)]=_0x2a3c2b(_0x3bdb3e);_0x3bdb3e['timeout']&&_0x466fe5['on']('timeout',()=>{_0x136b97(_0x76273a,_0x466fe5,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x466fe5['on'](_0x57f449(0x130),_0xc5e47c=>{const _0x109d0f=_0x57f449;_0x466fe5===null||_0x466fe5[_0x35bb80]||(_0x466fe5=_0x76273a[_0x109d0f(0x204)]=null,_0x3fede2(_0x76273a,_0xc5e47c));}),_0x466fe5['on'](_0x57f449(0x1f5),_0x33551e=>{const _0x2e185a=_0x57f449,_0x591a04=_0x33551e[_0x2e185a(0x2b1)]['location'],_0x2f9404=_0x33551e[_0x2e185a(0x253)];if(_0x591a04&&_0x3bdb3e['followRedirects']&&_0x2f9404>=0x12c&&_0x2f9404<0x190){if(++_0x76273a[_0x2e185a(0x25e)]>_0x3bdb3e[_0x2e185a(0x270)]){_0x136b97(_0x76273a,_0x466fe5,_0x2e185a(0x252));return;}_0x466fe5[_0x2e185a(0x2c4)]();let _0x5f3cda;try{_0x5f3cda=new _0x9239de(_0x591a04,_0x230f7e);}catch{const _0x45ac46=new SyntaxError('Invalid\x20URL:\x20'+_0x591a04);_0x3fede2(_0x76273a,_0x45ac46);return;}_0x4eb1b0(_0x76273a,_0x5f3cda,_0x522508,_0x37c318);}else _0x76273a[_0x2e185a(0x1cb)](_0x2e185a(0x124),_0x466fe5,_0x33551e)||_0x136b97(_0x76273a,_0x466fe5,'Unexpected\x20server\x20response:\x20'+_0x33551e[_0x2e185a(0x253)]);}),_0x466fe5['on'](_0x57f449(0x24e),(_0x8304be,_0x2b9f64,_0x43c27f)=>{const _0x2a9149=_0x57f449;if(_0x76273a['emit'](_0x2a9149(0x24e),_0x8304be),_0x76273a[_0x2a9149(0x1dc)]!==_0x21b2c5[_0x2a9149(0x1b6)])return;_0x466fe5=_0x76273a[_0x2a9149(0x204)]=null;const _0x217345=_0x8304be[_0x2a9149(0x2b1)][_0x2a9149(0x24e)];if(_0x217345===void 0x0||_0x217345['toLowerCase']()!==_0x2a9149(0x2b2)){_0x136b97(_0x76273a,_0x2b9f64,_0x2a9149(0x274));return;}const _0x1b2f07=_0x3941f2(_0x2a9149(0x15d))[_0x2a9149(0x1bf)](_0x283834+_0x4fb7e9)[_0x2a9149(0x289)]('base64');if(_0x8304be[_0x2a9149(0x2b1)][_0x2a9149(0x2b3)]!==_0x1b2f07){_0x136b97(_0x76273a,_0x2b9f64,_0x2a9149(0x294));return;}const _0x3986e4=_0x8304be[_0x2a9149(0x2b1)][_0x2a9149(0x27e)];let _0x40b230;if(_0x3986e4!==void 0x0?_0x4a470b['size']?_0x4a470b['has'](_0x3986e4)||(_0x40b230=_0x2a9149(0x224)):_0x40b230=_0x2a9149(0x177):_0x4a470b[_0x2a9149(0x2a2)]&&(_0x40b230='Server\x20sent\x20no\x20subprotocol'),_0x40b230){_0x136b97(_0x76273a,_0x2b9f64,_0x40b230);return;}_0x3986e4&&(_0x76273a[_0x2a9149(0x23d)]=_0x3986e4);const _0x2b9ed9=_0x8304be[_0x2a9149(0x2b1)]['sec-websocket-extensions'];if(_0x2b9ed9!==void 0x0){if(!_0x399cf7){_0x136b97(_0x76273a,_0x2b9f64,_0x2a9149(0x1c1));return;}let _0x26711d;try{_0x26711d=_0x3e2afc(_0x2b9ed9);}catch{_0x136b97(_0x76273a,_0x2b9f64,_0x2a9149(0x250));return;}const _0x8d7317=Object['keys'](_0x26711d);if(_0x8d7317[_0x2a9149(0x284)]!==0x1||_0x8d7317[0x0]!==_0x510a25[_0x2a9149(0x11e)]){_0x136b97(_0x76273a,_0x2b9f64,_0x2a9149(0x271));return;}try{_0x399cf7[_0x2a9149(0x26a)](_0x26711d[_0x510a25['extensionName']]);}catch{_0x136b97(_0x76273a,_0x2b9f64,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x76273a[_0x2a9149(0x1a5)][_0x510a25[_0x2a9149(0x11e)]]=_0x399cf7;}_0x76273a['setSocket'](_0x2b9f64,_0x43c27f,{'allowSynchronousEvents':_0x3bdb3e[_0x2a9149(0x1de)],'generateMask':_0x3bdb3e[_0x2a9149(0x142)],'maxPayload':_0x3bdb3e['maxPayload'],'skipUTF8Validation':_0x3bdb3e['skipUTF8Validation']});}),_0x3bdb3e[_0x57f449(0x299)]?_0x3bdb3e['finishRequest'](_0x466fe5,_0x76273a):_0x466fe5[_0x57f449(0x132)]();}function _0x3fede2(_0x28b136,_0x4b89a2){const _0x4a6b91=_0x498d7a;_0x28b136['_readyState']=_0x21b2c5[_0x4a6b91(0x18d)],_0x28b136[_0x4a6b91(0x129)]=!0x0,_0x28b136[_0x4a6b91(0x1cb)](_0x4a6b91(0x130),_0x4b89a2),_0x28b136[_0x4a6b91(0x186)]();}function _0x3a2ffd(_0x459386){const _0x7e6369=_0x498d7a;return _0x459386[_0x7e6369(0x145)]=_0x459386[_0x7e6369(0x2c8)],_0x19ab82[_0x7e6369(0x11b)](_0x459386);}function _0x39908d(_0x30583e){const _0x18f7bc=_0x498d7a;return _0x30583e[_0x18f7bc(0x145)]=void 0x0,!_0x30583e[_0x18f7bc(0x1d2)]&&_0x30583e[_0x18f7bc(0x1d2)]!==''&&(_0x30583e[_0x18f7bc(0x1d2)]=_0x19ab82['isIP'](_0x30583e[_0x18f7bc(0x168)])?'':_0x30583e['host']),_0x2856fc['connect'](_0x30583e);}function _0x136b97(_0x142c09,_0x28279c,_0x7108ce){const _0x480fcb=_0x498d7a;_0x142c09[_0x480fcb(0x1e1)]=_0x21b2c5[_0x480fcb(0x18d)];const _0x22c58b=new Error(_0x7108ce);Error[_0x480fcb(0x128)](_0x22c58b,_0x136b97),_0x28279c[_0x480fcb(0x246)]?(_0x28279c[_0x35bb80]=!0x0,_0x28279c[_0x480fcb(0x2c4)](),_0x28279c[_0x480fcb(0x179)]&&!_0x28279c[_0x480fcb(0x179)]['destroyed']&&_0x28279c[_0x480fcb(0x179)]['destroy'](),process['nextTick'](_0x3fede2,_0x142c09,_0x22c58b)):(_0x28279c['destroy'](_0x22c58b),_0x28279c[_0x480fcb(0x197)](_0x480fcb(0x130),_0x142c09[_0x480fcb(0x1cb)][_0x480fcb(0x213)](_0x142c09,_0x480fcb(0x130))),_0x28279c[_0x480fcb(0x197)]('close',_0x142c09['emitClose'][_0x480fcb(0x213)](_0x142c09)));}function _0x41ed22(_0x5e2085,_0x1e9279,_0x5a7552){const _0x49eaa4=_0x498d7a;if(_0x1e9279){const _0xa5d458=_0x3dc98f(_0x1e9279)?_0x1e9279[_0x49eaa4(0x2a2)]:_0x260cee(_0x1e9279)[_0x49eaa4(0x284)];_0x5e2085[_0x49eaa4(0x22d)]?_0x5e2085[_0x49eaa4(0x12b)][_0x49eaa4(0x1d3)]+=_0xa5d458:_0x5e2085[_0x49eaa4(0x1df)]+=_0xa5d458;}if(_0x5a7552){const _0x4793e2=new Error(_0x49eaa4(0x160)+_0x5e2085['readyState']+'\x20('+_0x16385f[_0x5e2085[_0x49eaa4(0x1dc)]]+')');process[_0x49eaa4(0x230)](_0x5a7552,_0x4793e2);}}function _0x55dd36(_0x1bc7af,_0x1f8e86){const _0x538dba=_0x498d7a,_0x4bcf6c=this[_0x55a45c];_0x4bcf6c[_0x538dba(0x282)]=!0x0,_0x4bcf6c['_closeMessage']=_0x1f8e86,_0x4bcf6c[_0x538dba(0x2b9)]=_0x1bc7af,_0x4bcf6c['_socket'][_0x55a45c]!==void 0x0&&(_0x4bcf6c[_0x538dba(0x22d)][_0x538dba(0x14d)](_0x538dba(0x223),_0x4d208b),process[_0x538dba(0x230)](_0x3abe93,_0x4bcf6c[_0x538dba(0x22d)]),_0x1bc7af===0x3ed?_0x4bcf6c[_0x538dba(0x272)]():_0x4bcf6c[_0x538dba(0x272)](_0x1bc7af,_0x1f8e86));}function _0x3fe3bf(){const _0x54e3b2=_0x498d7a,_0x4cff75=this[_0x55a45c];_0x4cff75[_0x54e3b2(0x2b0)]||_0x4cff75[_0x54e3b2(0x22d)][_0x54e3b2(0x194)]();}function _0x346554(_0x517df5){const _0x178dfe=_0x498d7a,_0x7213c6=this[_0x55a45c];_0x7213c6[_0x178dfe(0x22d)][_0x55a45c]!==void 0x0&&(_0x7213c6['_socket'][_0x178dfe(0x14d)](_0x178dfe(0x223),_0x4d208b),process[_0x178dfe(0x230)](_0x3abe93,_0x7213c6[_0x178dfe(0x22d)]),_0x7213c6[_0x178dfe(0x272)](_0x517df5[_0x358f68])),_0x7213c6[_0x178dfe(0x129)]||(_0x7213c6[_0x178dfe(0x129)]=!0x0,_0x7213c6['emit']('error',_0x517df5));}function _0x3de074(){const _0x130e2e=_0x498d7a;this[_0x55a45c][_0x130e2e(0x186)]();}function _0x35bde4(_0x48c598,_0x405ebf){const _0x586fd3=_0x498d7a;this[_0x55a45c][_0x586fd3(0x1cb)](_0x586fd3(0x139),_0x48c598,_0x405ebf);}function _0x204c17(_0x93d260){const _0x26bd1e=_0x498d7a,_0x4f8c3=this[_0x55a45c];_0x4f8c3[_0x26bd1e(0x131)]&&_0x4f8c3['pong'](_0x93d260,!this[_0x26bd1e(0x14a)],_0x266916),_0x4f8c3[_0x26bd1e(0x1cb)](_0x26bd1e(0x120),_0x93d260);}function _0x28041b(_0x1871c6){const _0x1ae7f5=_0x498d7a;this[_0x55a45c]['emit'](_0x1ae7f5(0x200),_0x1871c6);}function _0x3abe93(_0x2df708){const _0x2c9226=_0x498d7a;_0x2df708[_0x2c9226(0x194)]();}function _0x52647c(_0x55e2e2){const _0x4749d9=_0x498d7a,_0x3b5d53=this[_0x55a45c];_0x3b5d53[_0x4749d9(0x1dc)]!==_0x21b2c5[_0x4749d9(0x133)]&&(_0x3b5d53['readyState']===_0x21b2c5[_0x4749d9(0x192)]&&(_0x3b5d53['_readyState']=_0x21b2c5[_0x4749d9(0x18d)],_0x1c9d93(_0x3b5d53)),this[_0x4749d9(0x22d)][_0x4749d9(0x132)](),_0x3b5d53['_errorEmitted']||(_0x3b5d53['_errorEmitted']=!0x0,_0x3b5d53['emit'](_0x4749d9(0x130),_0x55e2e2)));}function _0x1c9d93(_0x341210){const _0xb1f3d4=_0x498d7a;_0x341210[_0xb1f3d4(0x1a0)]=setTimeout(_0x341210['_socket']['destroy'][_0xb1f3d4(0x213)](_0x341210['_socket']),_0x5c74de);}function _0x41237a(){const _0x312d12=_0x498d7a,_0x3fc8a0=this[_0x55a45c];this[_0x312d12(0x14d)]('close',_0x41237a),this[_0x312d12(0x14d)]('data',_0x4d208b),this[_0x312d12(0x14d)]('end',_0x2bd82a),_0x3fc8a0[_0x312d12(0x1e1)]=_0x21b2c5[_0x312d12(0x18d)];let _0x103abd;!this[_0x312d12(0x148)][_0x312d12(0x27f)]&&!_0x3fc8a0[_0x312d12(0x282)]&&!_0x3fc8a0[_0x312d12(0x1c2)][_0x312d12(0x25c)]['errorEmitted']&&(_0x103abd=_0x3fc8a0[_0x312d12(0x22d)][_0x312d12(0x1d6)]())!==null&&_0x3fc8a0[_0x312d12(0x1c2)][_0x312d12(0x231)](_0x103abd),_0x3fc8a0['_receiver']['end'](),this[_0x55a45c]=void 0x0,clearTimeout(_0x3fc8a0[_0x312d12(0x1a0)]),_0x3fc8a0[_0x312d12(0x1c2)][_0x312d12(0x25c)][_0x312d12(0x1dd)]||_0x3fc8a0[_0x312d12(0x1c2)][_0x312d12(0x25c)][_0x312d12(0x21a)]?_0x3fc8a0[_0x312d12(0x186)]():(_0x3fc8a0[_0x312d12(0x1c2)]['on']('error',_0x3de074),_0x3fc8a0[_0x312d12(0x1c2)]['on'](_0x312d12(0x13e),_0x3de074));}function _0x4d208b(_0x2bc88d){const _0x3b46a3=_0x498d7a;this[_0x55a45c][_0x3b46a3(0x1c2)]['write'](_0x2bc88d)||this['pause']();}function _0x2bd82a(){const _0x39a613=_0x498d7a,_0x3814c8=this[_0x55a45c];_0x3814c8['_readyState']=_0x21b2c5[_0x39a613(0x18d)],_0x3814c8[_0x39a613(0x1c2)][_0x39a613(0x132)](),this[_0x39a613(0x132)]();}function _0xe09448(){const _0x905104=_0x498d7a,_0x51537d=this[_0x55a45c];this[_0x905104(0x14d)](_0x905104(0x130),_0xe09448),this['on']('error',_0x266916),_0x51537d&&(_0x51537d[_0x905104(0x1e1)]=_0x21b2c5['CLOSING'],this[_0x905104(0x1b0)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x37f82f}=_0x51faaf;function _0x3d8803(_0x331589){const _0x164417=_0x195d;_0x331589[_0x164417(0x1cb)]('close');}function _0x5e55d9(){const _0x5982b0=_0x195d;!this['destroyed']&&this[_0x5982b0(0x25c)][_0x5982b0(0x1dd)]&&this[_0x5982b0(0x1b0)]();}function _0x159bb1(_0x4b79e4){const _0x1dd2cf=_0x195d;this['removeListener']('error',_0x159bb1),this[_0x1dd2cf(0x1b0)](),this[_0x1dd2cf(0x1f3)]('error')===0x0&&this['emit'](_0x1dd2cf(0x130),_0x4b79e4);}function _0x10722d(_0x6d44eb,_0x5ab9f3){const _0x81a3b6=_0x195d;let _0x192daf=!0x0;const _0x4a2a56=new _0x37f82f({..._0x5ab9f3,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x6d44eb['on'](_0x81a3b6(0x139),function(_0x433f84,_0x38e783){const _0xfb6e7c=_0x81a3b6,_0x34f117=!_0x38e783&&_0x4a2a56[_0xfb6e7c(0x148)][_0xfb6e7c(0x258)]?_0x433f84[_0xfb6e7c(0x1c9)]():_0x433f84;_0x4a2a56[_0xfb6e7c(0x1cf)](_0x34f117)||_0x6d44eb[_0xfb6e7c(0x283)]();}),_0x6d44eb[_0x81a3b6(0x197)]('error',function(_0x405677){_0x4a2a56['destroyed']||(_0x192daf=!0x1,_0x4a2a56['destroy'](_0x405677));}),_0x6d44eb[_0x81a3b6(0x197)]('close',function(){const _0x265896=_0x81a3b6;_0x4a2a56[_0x265896(0x24f)]||_0x4a2a56[_0x265896(0x1cf)](null);}),_0x4a2a56[_0x81a3b6(0x1e4)]=function(_0x4a4a59,_0x4fbb9d){const _0x235281=_0x81a3b6;if(_0x6d44eb[_0x235281(0x1dc)]===_0x6d44eb['CLOSED']){_0x4fbb9d(_0x4a4a59),process[_0x235281(0x230)](_0x3d8803,_0x4a2a56);return;}let _0x4d3fbb=!0x1;_0x6d44eb[_0x235281(0x197)]('error',function(_0x4a8b3a){_0x4d3fbb=!0x0,_0x4fbb9d(_0x4a8b3a);}),_0x6d44eb['once']('close',function(){_0x4d3fbb||_0x4fbb9d(_0x4a4a59),process['nextTick'](_0x3d8803,_0x4a2a56);}),_0x192daf&&_0x6d44eb[_0x235281(0x175)]();},_0x4a2a56['_final']=function(_0x5f55e4){const _0x33fa64=_0x81a3b6;if(_0x6d44eb[_0x33fa64(0x1dc)]===_0x6d44eb['CONNECTING']){_0x6d44eb[_0x33fa64(0x197)](_0x33fa64(0x2ad),function(){_0x4a2a56['_final'](_0x5f55e4);});return;}_0x6d44eb[_0x33fa64(0x22d)]!==null&&(_0x6d44eb['_socket']['_writableState'][_0x33fa64(0x1dd)]?(_0x5f55e4(),_0x4a2a56[_0x33fa64(0x148)][_0x33fa64(0x27f)]&&_0x4a2a56[_0x33fa64(0x1b0)]()):(_0x6d44eb[_0x33fa64(0x22d)][_0x33fa64(0x197)]('finish',function(){_0x5f55e4();}),_0x6d44eb[_0x33fa64(0x272)]()));},_0x4a2a56['_read']=function(){const _0xa3703f=_0x81a3b6;_0x6d44eb[_0xa3703f(0x2b0)]&&_0x6d44eb['resume']();},_0x4a2a56[_0x81a3b6(0x141)]=function(_0x50eda3,_0x19fd17,_0x3485c0){const _0x22457e=_0x81a3b6;if(_0x6d44eb[_0x22457e(0x1dc)]===_0x6d44eb['CONNECTING']){_0x6d44eb[_0x22457e(0x197)](_0x22457e(0x2ad),function(){const _0x240d84=_0x22457e;_0x4a2a56[_0x240d84(0x141)](_0x50eda3,_0x19fd17,_0x3485c0);});return;}_0x6d44eb['send'](_0x50eda3,_0x3485c0);},_0x4a2a56['on']('end',_0x5e55d9),_0x4a2a56['on'](_0x81a3b6(0x130),_0x159bb1),_0x4a2a56;}return Oe=_0x10722d,Oe;}Xt(),dt(),_t();function _0x195d(_0x2904a4,_0x59323c){const _0x32e6a0=_0x32e6();return _0x195d=function(_0x195d54,_0x4d547d){_0x195d54=_0x195d54-0x119;let _0x3f35ec=_0x32e6a0[_0x195d54];return _0x3f35ec;},_0x195d(_0x2904a4,_0x59323c);}var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x413d04}=ne();function _0x36a443(_0x458ef1){const _0x527f0e=_0x195d,_0x54bd18=new Set();let _0x20dd9f=-0x1,_0x243349=-0x1,_0xdb458a=0x0;for(_0xdb458a;_0xdb458a<_0x458ef1['length'];_0xdb458a++){const _0x5015ca=_0x458ef1[_0x527f0e(0x24a)](_0xdb458a);if(_0x243349===-0x1&&_0x413d04[_0x5015ca]===0x1)_0x20dd9f===-0x1&&(_0x20dd9f=_0xdb458a);else{if(_0xdb458a!==0x0&&(_0x5015ca===0x20||_0x5015ca===0x9))_0x243349===-0x1&&_0x20dd9f!==-0x1&&(_0x243349=_0xdb458a);else{if(_0x5015ca===0x2c){if(_0x20dd9f===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xdb458a);_0x243349===-0x1&&(_0x243349=_0xdb458a);const _0x46f121=_0x458ef1['slice'](_0x20dd9f,_0x243349);if(_0x54bd18[_0x527f0e(0x12c)](_0x46f121))throw new SyntaxError(_0x527f0e(0x1d4)+_0x46f121+_0x527f0e(0x28b));_0x54bd18['add'](_0x46f121),_0x20dd9f=_0x243349=-0x1;}else throw new SyntaxError(_0x527f0e(0x219)+_0xdb458a);}}}if(_0x20dd9f===-0x1||_0x243349!==-0x1)throw new SyntaxError(_0x527f0e(0x1f1));const _0x9e17c3=_0x458ef1['slice'](_0x20dd9f,_0xdb458a);if(_0x54bd18[_0x527f0e(0x12c)](_0x9e17c3))throw new SyntaxError(_0x527f0e(0x1d4)+_0x9e17c3+'\x22\x20subprotocol\x20is\x20duplicated');return _0x54bd18[_0x527f0e(0x290)](_0x9e17c3),_0x54bd18;}return Ce={'parse':_0x36a443},Ce;}var Te,ot;function er(){const _0x550cba=_0x2fb0ea;if(ot)return Te;ot=0x1;const _0x301c4d=_0x5b61b9,_0x348701=_0x5177dc,{Duplex:_0x38e064}=_0x51faaf,{createHash:_0x24af70}=_0x5f1ecc,_0x582d62=pt(),_0x41a1ed=he(),_0x3dcd85=Jt(),_0x2e6d2d=Ie(),{GUID:_0x2bcd17,kWebSocket:_0x440f50}=V(),_0xb08b2d=/^[+/0-9A-Za-z]{22}==$/,_0x977791=0x0,_0x31e8f0=0x1,_0x29aa92=0x2;class _0x4c5612 extends _0x301c4d{constructor(_0x4f5dd8,_0x4def36){const _0x2f63ef=_0x195d;if(super(),_0x4f5dd8={'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':_0x2e6d2d,..._0x4f5dd8},_0x4f5dd8['port']==null&&!_0x4f5dd8[_0x2f63ef(0x147)]&&!_0x4f5dd8[_0x2f63ef(0x121)]||_0x4f5dd8[_0x2f63ef(0x173)]!=null&&(_0x4f5dd8[_0x2f63ef(0x147)]||_0x4f5dd8[_0x2f63ef(0x121)])||_0x4f5dd8[_0x2f63ef(0x147)]&&_0x4f5dd8[_0x2f63ef(0x121)])throw new TypeError(_0x2f63ef(0x245));if(_0x4f5dd8[_0x2f63ef(0x173)]!=null?(this[_0x2f63ef(0x159)]=_0x348701[_0x2f63ef(0x150)]((_0x596e1b,_0x1c2e29)=>{const _0x59b92d=_0x2f63ef,_0x30f35f=_0x348701['STATUS_CODES'][0x1aa];_0x1c2e29['writeHead'](0x1aa,{'Content-Length':_0x30f35f['length'],'Content-Type':'text/plain'}),_0x1c2e29[_0x59b92d(0x132)](_0x30f35f);}),this['_server'][_0x2f63ef(0x208)](_0x4f5dd8[_0x2f63ef(0x173)],_0x4f5dd8['host'],_0x4f5dd8[_0x2f63ef(0x298)],_0x4def36)):_0x4f5dd8[_0x2f63ef(0x147)]&&(this[_0x2f63ef(0x159)]=_0x4f5dd8[_0x2f63ef(0x147)]),this[_0x2f63ef(0x159)]){const _0x330efc=this[_0x2f63ef(0x1cb)][_0x2f63ef(0x213)](this,_0x2f63ef(0x180));this[_0x2f63ef(0x1f8)]=_0x1b0b41(this[_0x2f63ef(0x159)],{'listening':this[_0x2f63ef(0x1cb)][_0x2f63ef(0x213)](this,'listening'),'error':this['emit'][_0x2f63ef(0x213)](this,_0x2f63ef(0x130)),'upgrade':(_0x41ef01,_0x4d50be,_0x4f5afb)=>{this['handleUpgrade'](_0x41ef01,_0x4d50be,_0x4f5afb,_0x330efc);}});}_0x4f5dd8[_0x2f63ef(0x1f9)]===!0x0&&(_0x4f5dd8[_0x2f63ef(0x1f9)]={}),_0x4f5dd8[_0x2f63ef(0x126)]&&(this['clients']=new Set(),this[_0x2f63ef(0x162)]=!0x1),this[_0x2f63ef(0x187)]=_0x4f5dd8,this[_0x2f63ef(0x2af)]=_0x977791;}['address'](){const _0x1af107=_0x195d;if(this['options'][_0x1af107(0x121)])throw new Error(_0x1af107(0x232));return this['_server']?this['_server']['address']():null;}[_0x550cba(0x272)](_0x5ee60f){const _0x438bcd=_0x550cba;if(this[_0x438bcd(0x2af)]===_0x29aa92){_0x5ee60f&&this['once'](_0x438bcd(0x272),()=>{const _0x4c78b3=_0x438bcd;_0x5ee60f(new Error(_0x4c78b3(0x234)));}),process[_0x438bcd(0x230)](_0x2ac703,this);return;}if(_0x5ee60f&&this['once'](_0x438bcd(0x272),_0x5ee60f),this[_0x438bcd(0x2af)]!==_0x31e8f0){if(this['_state']=_0x31e8f0,this[_0x438bcd(0x187)][_0x438bcd(0x121)]||this[_0x438bcd(0x187)][_0x438bcd(0x147)])this['_server']&&(this['_removeListeners'](),this['_removeListeners']=this[_0x438bcd(0x159)]=null),this[_0x438bcd(0x2c5)]?this['clients']['size']?this['_shouldEmitClose']=!0x0:process[_0x438bcd(0x230)](_0x2ac703,this):process['nextTick'](_0x2ac703,this);else{const _0x1413d0=this[_0x438bcd(0x159)];this[_0x438bcd(0x1f8)](),this[_0x438bcd(0x1f8)]=this['_server']=null,_0x1413d0[_0x438bcd(0x272)](()=>{_0x2ac703(this);});}}}[_0x550cba(0x207)](_0x2e7bf9){const _0x5ab662=_0x550cba;if(this['options']['path']){const _0x2c644e=_0x2e7bf9[_0x5ab662(0x243)]['indexOf']('?');if((_0x2c644e!==-0x1?_0x2e7bf9[_0x5ab662(0x243)]['slice'](0x0,_0x2c644e):_0x2e7bf9[_0x5ab662(0x243)])!==this['options'][_0x5ab662(0x145)])return!0x1;}return!0x0;}[_0x550cba(0x182)](_0xfac775,_0x201deb,_0x16a5f3,_0x42b0ac){const _0x51a153=_0x550cba;_0x201deb['on'](_0x51a153(0x130),_0xb88580);const _0x44b7c2=_0xfac775[_0x51a153(0x2b1)][_0x51a153(0x24c)],_0x2602d2=_0xfac775[_0x51a153(0x2b1)][_0x51a153(0x24e)],_0x1052e2=+_0xfac775[_0x51a153(0x2b1)][_0x51a153(0x17c)];if(_0xfac775[_0x51a153(0x296)]!==_0x51a153(0x220)){_0x307d31(this,_0xfac775,_0x201deb,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x2602d2===void 0x0||_0x2602d2['toLowerCase']()!==_0x51a153(0x2b2)){_0x307d31(this,_0xfac775,_0x201deb,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x44b7c2===void 0x0||!_0xb08b2d['test'](_0x44b7c2)){_0x307d31(this,_0xfac775,_0x201deb,0x190,_0x51a153(0x14e));return;}if(_0x1052e2!==0x8&&_0x1052e2!==0xd){_0x307d31(this,_0xfac775,_0x201deb,0x190,_0x51a153(0x2c9));return;}if(!this[_0x51a153(0x207)](_0xfac775)){_0x4ca965(_0x201deb,0x190);return;}const _0xb895b9=_0xfac775[_0x51a153(0x2b1)]['sec-websocket-protocol'];let _0x5c4396=new Set();if(_0xb895b9!==void 0x0)try{_0x5c4396=_0x3dcd85[_0x51a153(0x293)](_0xb895b9);}catch{_0x307d31(this,_0xfac775,_0x201deb,0x190,_0x51a153(0x161));return;}const _0x41cd9e=_0xfac775['headers']['sec-websocket-extensions'],_0x2adc91={};if(this['options'][_0x51a153(0x1f9)]&&_0x41cd9e!==void 0x0){const _0xcbaae3=new _0x41a1ed(this[_0x51a153(0x187)][_0x51a153(0x1f9)],!0x0,this[_0x51a153(0x187)]['maxPayload']);try{const _0x36b557=_0x582d62[_0x51a153(0x293)](_0x41cd9e);_0x36b557[_0x41a1ed['extensionName']]&&(_0xcbaae3[_0x51a153(0x26a)](_0x36b557[_0x41a1ed['extensionName']]),_0x2adc91[_0x41a1ed[_0x51a153(0x11e)]]=_0xcbaae3);}catch{_0x307d31(this,_0xfac775,_0x201deb,0x190,_0x51a153(0x185));return;}}if(this[_0x51a153(0x187)][_0x51a153(0x266)]){const _0x1c1ab6={'origin':_0xfac775[_0x51a153(0x2b1)][''+(_0x1052e2===0x8?_0x51a153(0x1c5):_0x51a153(0x221))],'secure':!!(_0xfac775[_0x51a153(0x179)][_0x51a153(0x19a)]||_0xfac775[_0x51a153(0x179)][_0x51a153(0x1ed)]),'req':_0xfac775};if(this[_0x51a153(0x187)][_0x51a153(0x266)]['length']===0x2){this[_0x51a153(0x187)][_0x51a153(0x266)](_0x1c1ab6,(_0x1d6e30,_0x34f8c5,_0x45013a,_0x3905b3)=>{const _0x174d50=_0x51a153;if(!_0x1d6e30)return _0x4ca965(_0x201deb,_0x34f8c5||0x191,_0x45013a,_0x3905b3);this[_0x174d50(0x16d)](_0x2adc91,_0x44b7c2,_0x5c4396,_0xfac775,_0x201deb,_0x16a5f3,_0x42b0ac);});return;}if(!this[_0x51a153(0x187)][_0x51a153(0x266)](_0x1c1ab6))return _0x4ca965(_0x201deb,0x191);}this[_0x51a153(0x16d)](_0x2adc91,_0x44b7c2,_0x5c4396,_0xfac775,_0x201deb,_0x16a5f3,_0x42b0ac);}[_0x550cba(0x16d)](_0x470381,_0x37b3d5,_0x2deafb,_0x330808,_0xce2409,_0x4796de,_0x2c0bad){const _0x3dde84=_0x550cba;if(!_0xce2409[_0x3dde84(0x22c)]||!_0xce2409[_0x3dde84(0x144)])return _0xce2409[_0x3dde84(0x1b0)]();if(_0xce2409[_0x440f50])throw new Error(_0x3dde84(0x1da));if(this[_0x3dde84(0x2af)]>_0x977791)return _0x4ca965(_0xce2409,0x1f7);const _0x2cf1f0=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x3dde84(0x295),_0x3dde84(0x20f),_0x3dde84(0x1a3)+_0x24af70(_0x3dde84(0x15d))['update'](_0x37b3d5+_0x2bcd17)[_0x3dde84(0x289)](_0x3dde84(0x135))],_0x410afb=new this[(_0x3dde84(0x187))]['WebSocket'](null,void 0x0,this['options']);if(_0x2deafb[_0x3dde84(0x2a2)]){const _0x8912ee=this[_0x3dde84(0x187)][_0x3dde84(0x22f)]?this['options'][_0x3dde84(0x22f)](_0x2deafb,_0x330808):_0x2deafb[_0x3dde84(0x1d8)]()[_0x3dde84(0x15f)]()['value'];_0x8912ee&&(_0x2cf1f0[_0x3dde84(0x1cf)](_0x3dde84(0x13c)+_0x8912ee),_0x410afb['_protocol']=_0x8912ee);}if(_0x470381[_0x41a1ed['extensionName']]){const _0x348f22=_0x470381[_0x41a1ed[_0x3dde84(0x11e)]][_0x3dde84(0x1a9)],_0x2b6dbc=_0x582d62[_0x3dde84(0x18b)]({[_0x41a1ed['extensionName']]:[_0x348f22]});_0x2cf1f0[_0x3dde84(0x1cf)](_0x3dde84(0x25f)+_0x2b6dbc),_0x410afb[_0x3dde84(0x1a5)]=_0x470381;}this[_0x3dde84(0x1cb)](_0x3dde84(0x2b1),_0x2cf1f0,_0x330808),_0xce2409[_0x3dde84(0x231)](_0x2cf1f0[_0x3dde84(0x255)]('\x0d\x0a')[_0x3dde84(0x1a6)]('\x0d\x0a')),_0xce2409[_0x3dde84(0x14d)](_0x3dde84(0x130),_0xb88580),_0x410afb[_0x3dde84(0x23c)](_0xce2409,_0x4796de,{'allowSynchronousEvents':this['options'][_0x3dde84(0x1de)],'maxPayload':this[_0x3dde84(0x187)]['maxPayload'],'skipUTF8Validation':this[_0x3dde84(0x187)][_0x3dde84(0x1ac)]}),this[_0x3dde84(0x2c5)]&&(this['clients'][_0x3dde84(0x290)](_0x410afb),_0x410afb['on'](_0x3dde84(0x272),()=>{const _0x5996a2=_0x3dde84;this[_0x5996a2(0x2c5)][_0x5996a2(0x2ca)](_0x410afb),this['_shouldEmitClose']&&!this[_0x5996a2(0x2c5)][_0x5996a2(0x2a2)]&&process[_0x5996a2(0x230)](_0x2ac703,this);})),_0x2c0bad(_0x410afb,_0x330808);}}Te=_0x4c5612;function _0x1b0b41(_0x16ba62,_0x3aa188){const _0x521711=_0x550cba;for(const _0x19dcd9 of Object[_0x521711(0x20c)](_0x3aa188))_0x16ba62['on'](_0x19dcd9,_0x3aa188[_0x19dcd9]);return function(){const _0x387758=_0x521711;for(const _0x198e08 of Object[_0x387758(0x20c)](_0x3aa188))_0x16ba62[_0x387758(0x14d)](_0x198e08,_0x3aa188[_0x198e08]);};}function _0x2ac703(_0x23db53){const _0x510aad=_0x550cba;_0x23db53['_state']=_0x29aa92,_0x23db53[_0x510aad(0x1cb)]('close');}function _0xb88580(){const _0x18526d=_0x550cba;this[_0x18526d(0x1b0)]();}function _0x4ca965(_0x4cd10b,_0x594992,_0x395a01,_0x4bd8e7){const _0x113e6d=_0x550cba;_0x395a01=_0x395a01||_0x348701[_0x113e6d(0x25b)][_0x594992],_0x4bd8e7={'Connection':_0x113e6d(0x272),'Content-Type':_0x113e6d(0x2ab),'Content-Length':Buffer[_0x113e6d(0x2a1)](_0x395a01),..._0x4bd8e7},_0x4cd10b['once'](_0x113e6d(0x13e),_0x4cd10b['destroy']),_0x4cd10b[_0x113e6d(0x132)](_0x113e6d(0x1ba)+_0x594992+'\x20'+_0x348701['STATUS_CODES'][_0x594992]+'\x0d\x0a'+Object[_0x113e6d(0x20c)](_0x4bd8e7)[_0x113e6d(0x193)](_0x8a8ed2=>_0x8a8ed2+':\x20'+_0x4bd8e7[_0x8a8ed2])['join']('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x395a01);}function _0x307d31(_0x31fa63,_0x430913,_0x637a84,_0x5a6e8,_0x10992f){const _0x22b720=_0x550cba;if(_0x31fa63[_0x22b720(0x1f3)](_0x22b720(0x137))){const _0x7a8c58=new Error(_0x10992f);Error[_0x22b720(0x128)](_0x7a8c58,_0x307d31),_0x31fa63[_0x22b720(0x1cb)](_0x22b720(0x137),_0x7a8c58,_0x637a84,_0x430913);}else _0x4ca965(_0x637a84,_0x5a6e8,_0x10992f);}return Te;}er();var tr=Object[_0x2fb0ea(0x22e)],rr=(_0x548831,_0x51ee67,_0xdb0c,_0x82bee4)=>{for(var _0x53266f=_0x82bee4>0x1?void 0x0:_0x82bee4?tr(_0x51ee67,_0xdb0c):_0x51ee67,_0x27dcbc=_0x548831['length']-0x1,_0x1340d5;_0x27dcbc>=0x0;_0x27dcbc--)(_0x1340d5=_0x548831[_0x27dcbc])&&(_0x53266f=_0x1340d5(_0x53266f)||_0x53266f);return _0x53266f;},sr=(_0x3d79f2,_0x40d742)=>(_0x4bdceb,_0x1afaf7)=>_0x40d742(_0x4bdceb,_0x1afaf7,_0x3d79f2);let Ne=class extends _0xd7a9{constructor(_0x139d3c){const _0x2b0c45=_0x2fb0ea;super(),this[_0x2b0c45(0x23b)]=_0x139d3c;}[_0x2fb0ea(0x2a4)](_0x8c580a){const _0x2c734a=_0x2fb0ea;var _0x53de06;const _0x361f90=(_0x53de06=this[_0x2c734a(0x23b)][_0x2c734a(0x2b5)](Be))==null?void 0x0:_0x53de06[_0x2c734a(0x1f4)];try{const _0x4327f4=new Qt(_0x8c580a,{'headers':{..._0x361f90}}),_0x34ca54=new _0x2062b0();return{'URL':_0x8c580a,'close':(_0xbb3136,_0xeb8023)=>{const _0x4368dc=_0x2c734a;_0x4327f4[_0x4368dc(0x272)](_0xbb3136,_0xeb8023),_0x34ca54[_0x4368dc(0x217)]();},'send':_0x34f24b=>{const _0x1d351a=_0x2c734a;_0x4327f4[_0x1d351a(0x238)](_0x34f24b);},'open$':new _0x38d7ef(_0x2da9fe=>{const _0x289f08=_0x2c734a,_0x13833a=_0x117482=>_0x2da9fe[_0x289f08(0x15f)](_0x117482);_0x4327f4[_0x289f08(0x1fe)]('open',_0x13833a),_0x34ca54[_0x289f08(0x290)](_0x53efd0(()=>_0x4327f4['removeEventListener'](_0x289f08(0x2ad),_0x13833a)));})[_0x2c734a(0x1e2)](_0x54b46d()),'close$':new _0x38d7ef(_0x1083ed=>{const _0x1cf1b9=_0x2c734a,_0xe3f411=_0x8caaa5=>_0x1083ed[_0x1cf1b9(0x15f)](_0x8caaa5);_0x4327f4[_0x1cf1b9(0x1fe)](_0x1cf1b9(0x272),_0xe3f411),_0x34ca54[_0x1cf1b9(0x290)](_0x53efd0(()=>_0x4327f4['removeEventListener'](_0x1cf1b9(0x272),_0xe3f411)));})[_0x2c734a(0x1e2)](_0x54b46d()),'error$':new _0x38d7ef(_0x33138c=>{const _0x4b5d30=_0x2c734a,_0x2d4310=_0x5ee379=>_0x33138c[_0x4b5d30(0x15f)](_0x5ee379);_0x4327f4[_0x4b5d30(0x1fe)](_0x4b5d30(0x130),_0x2d4310),_0x34ca54['add'](_0x53efd0(()=>_0x4327f4['removeEventListener'](_0x4b5d30(0x130),_0x2d4310)));})[_0x2c734a(0x1e2)](_0x54b46d()),'message$':new _0x38d7ef(_0x208f21=>{const _0x3a3e0b=_0x2c734a,_0x931ed8=_0x207a34=>_0x208f21['next'](_0x207a34);_0x4327f4['addEventListener'](_0x3a3e0b(0x139),_0x931ed8),_0x34ca54[_0x3a3e0b(0x290)](_0x53efd0(()=>_0x4327f4[_0x3a3e0b(0x227)]('message',_0x931ed8)));})[_0x2c734a(0x1e2)](_0x54b46d())};}catch(_0x2418f2){return console[_0x2c734a(0x130)](_0x2418f2),null;}}};Ne=rr([sr(0x0,_0x59a3b7)],Ne);var ir=Object[_0x2fb0ea(0x188)],nr=Object[_0x2fb0ea(0x22e)],or=(_0x54008d,_0x3a84a9,_0x27e0ca)=>_0x3a84a9 in _0x54008d?ir(_0x54008d,_0x3a84a9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x27e0ca}):_0x54008d[_0x3a84a9]=_0x27e0ca,ar=(_0x1b1c63,_0x324e0b,_0xc7bbce,_0x46bdd0)=>{const _0x33c36f=_0x2fb0ea;for(var _0x566dd0=_0x46bdd0>0x1?void 0x0:_0x46bdd0?nr(_0x324e0b,_0xc7bbce):_0x324e0b,_0x133fff=_0x1b1c63[_0x33c36f(0x284)]-0x1,_0x13c69e;_0x133fff>=0x0;_0x133fff--)(_0x13c69e=_0x1b1c63[_0x133fff])&&(_0x566dd0=_0x13c69e(_0x566dd0)||_0x566dd0);return _0x566dd0;},ke=(_0x22fe7a,_0x7e1390)=>(_0x5b9687,_0x4c05b0)=>_0x7e1390(_0x5b9687,_0x4c05b0,_0x22fe7a),lr=(_0x578b6c,_0x1360e6,_0x552003)=>or(_0x578b6c,_0x1360e6+'',_0x552003);let Pe=class extends _0x4a947d{constructor(_0x31074c=Ft,_0x15c415,_0x1296e6,_0x307539){const _0x47bd7e=_0x2fb0ea;_0x31074c['customHeaders']||_0x15c415[_0x47bd7e(0x2c3)](_0x47bd7e(0x119)),super(),this[_0x47bd7e(0x23b)]=_0x1296e6,this[_0x47bd7e(0x22b)]=_0x307539,this['_configService'][_0x47bd7e(0x140)](Be,_0x31074c);}[_0x2fb0ea(0x201)](){const _0x11ddd4=_0x2fb0ea;this[_0x11ddd4(0x1a2)]();}[_0x2fb0ea(0x1a2)](){const _0x3acae2=_0x2fb0ea;_0x133464(this[_0x3acae2(0x22b)],[[_0x444c8e,{'useClass':Ne}]]);}};lr(Pe,_0x2fb0ea(0x260),_0x2fb0ea(0x17b)),Pe=ar([_0x25bf57(_0x5e8cb7),ke(0x1,_0x45317b),ke(0x2,_0x59a3b7),ke(0x3,_0x2cfe8f(_0x997068))],Pe);var fr=Object[_0x2fb0ea(0x22e)],cr=(_0x13b7d6,_0xc3c629,_0x4dee70,_0x54dbbc)=>{const _0x3c2965=_0x2fb0ea;for(var _0x39bdb7=_0x54dbbc>0x1?void 0x0:_0x54dbbc?fr(_0xc3c629,_0x4dee70):_0xc3c629,_0x8df711=_0x13b7d6[_0x3c2965(0x284)]-0x1,_0x545010;_0x8df711>=0x0;_0x8df711--)(_0x545010=_0x13b7d6[_0x8df711])&&(_0x39bdb7=_0x545010(_0x39bdb7)||_0x39bdb7);return _0x39bdb7;},se=(_0x5b708c,_0xfad564)=>(_0x3c812d,_0x4a24ec)=>_0xfad564(_0x3c812d,_0x4a24ec,_0x5b708c);let at=class extends _0x32cfa7{constructor(_0x3bf946,_0x345029,_0x2a487d,_0x5df57c,_0x181d62){const _0x3208d8=_0x2fb0ea;super(_0x3bf946,_0x345029,_0x2a487d,_0x5df57c,_0x181d62);const _0x4c1368=this[_0x3208d8(0x23b)][_0x3208d8(0x2b5)](Be);this['_httpService'][_0x3208d8(0x1f6)]({'interceptor':(_0x4a0a95,_0x9ff525)=>{const _0x3cd887=_0x3208d8;var _0x25412c;const _0xc3b233=_0x4a0a95[_0x3cd887(0x2b1)];return(_0x25412c=_0x4c1368==null?void 0x0:_0x4c1368[_0x3cd887(0x1f4)])!=null&&_0x25412c[_0x3cd887(0x199)]&&_0xc3b233['set']('Cookie',_0x4c1368[_0x3cd887(0x1f4)][_0x3cd887(0x199)]),_0x9ff525(_0x4a0a95);}});}async['createSocket'](_0x299aa5){const _0x21d530=_0x2fb0ea;return this[_0x21d530(0x2a7)](_0x299aa5);}};at=cr([se(0x0,_0x2cfe8f(_0x997068)),se(0x1,_0x2cfe8f(_0x25b52f)),se(0x2,_0x59a3b7),se(0x3,_0x45317b),se(0x4,_0x686d35)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};