@univerjs-pro/collaboration-client-node 0.7.0-nightly.202505141607 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +6 -6
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x5dc2c6=_0x593c;(function(_0x41fcc0,_0x56b009){const _0x333e5c=_0x593c,_0x11600a=_0x41fcc0();while(!![]){try{const _0x3eb385=parseInt(_0x333e5c(0x1b7))/0x1+-parseInt(_0x333e5c(0x222))/0x2+-parseInt(_0x333e5c(0x166))/0x3*(-parseInt(_0x333e5c(0x10d))/0x4)+parseInt(_0x333e5c(0x107))/0x5*(-parseInt(_0x333e5c(0x248))/0x6)+parseInt(_0x333e5c(0xff))/0x7+-parseInt(_0x333e5c(0x195))/0x8*(-parseInt(_0x333e5c(0x1d1))/0x9)+-parseInt(_0x333e5c(0x1ee))/0xa;if(_0x3eb385===_0x56b009)break;else _0x11600a['push'](_0x11600a['shift']());}catch(_0x15109f){_0x11600a['push'](_0x11600a['shift']());}}}(_0x1177,0x8444a));import{UniverCollaborationClientPlugin as _0x549142,CollaborationSocketService as _0x54c2d4}from'@univerjs-pro/collaboration-client';import{Disposable as _0xab478a,DisposableCollection as _0x5cff6c,toDisposable as _0x5195f5,IConfigService as _0x4b618c,DependentOn as _0x198717,ILogService as _0x2ef66e,Inject as _0x446888,Injector as _0x27aed1,Plugin as _0x48911f,registerDependencies as _0x348429}from'@univerjs/core';import{ISocketService as _0x1b5ad2,HTTPService as _0x52f0db}from'@univerjs/network';import{Observable as _0x388a72,share as _0x4a6088}from'rxjs';import _0x19b6ee from'events';import _0x152c82 from'https';import _0x4c8a68 from'http';import _0x2ca8de from'net';import _0xc5456e from'tls';import _0x358c53 from'crypto';import _0x179a1c from'stream';import _0x4ceeef from'url';import _0x2a6e25 from'zlib';import _0x4b3286 from'buffer';import{ISnapshotServerService as _0x15c6f1}from'@univerjs-pro/collaboration';const Be=_0x5dc2c6(0x215),Ft={'customHeaders':{}};function jt(_0x1bcb25){const _0x52291e=_0x5dc2c6;return _0x1bcb25&&_0x1bcb25['__esModule']&&Object[_0x52291e(0x1a7)][_0x52291e(0x17e)]['call'](_0x1bcb25,'default')?_0x1bcb25[_0x52291e(0x183)]:_0x1bcb25;}function ut(_0x145b2f){const _0x293ce6=_0x5dc2c6;if(Object[_0x293ce6(0x1a7)]['hasOwnProperty']['call'](_0x145b2f,_0x293ce6(0x23b)))return _0x145b2f;var _0xc50d81=_0x145b2f['default'];if(typeof _0xc50d81==_0x293ce6(0x1a6)){var _0x1570c6=function _0x461df2(){const _0x5e9de5=_0x293ce6;return this instanceof _0x461df2?Reflect[_0x5e9de5(0x236)](_0xc50d81,arguments,this[_0x5e9de5(0x21a)]):_0xc50d81['apply'](this,arguments);};_0x1570c6[_0x293ce6(0x1a7)]=_0xc50d81[_0x293ce6(0x1a7)];}else _0x1570c6={};return Object[_0x293ce6(0x1f2)](_0x1570c6,_0x293ce6(0x23b),{'value':!0x0}),Object[_0x293ce6(0x1ef)](_0x145b2f)[_0x293ce6(0x159)](function(_0x1178d3){const _0xa595e2=_0x293ce6;var _0xaffdda=Object['getOwnPropertyDescriptor'](_0x145b2f,_0x1178d3);Object['defineProperty'](_0x1570c6,_0x1178d3,_0xaffdda[_0xa595e2(0x1d7)]?_0xaffdda:{'enumerable':!0x0,'get':function(){return _0x145b2f[_0x1178d3];}});}),_0x1570c6;}var te={'exports':{}},ge,Ye;function V(){const _0x9b88c0=_0x5dc2c6;if(Ye)return ge;Ye=0x1;const _0x5308d6=['nodebuffer','arraybuffer',_0x9b88c0(0x1b0)],_0x3c1c74=typeof Blob<'u';return _0x3c1c74&&_0x5308d6[_0x9b88c0(0x278)]('blob'),ge={'BINARY_TYPES':_0x5308d6,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x9b88c0(0x173),'hasBlob':_0x3c1c74,'kForOnEventAttribute':Symbol(_0x9b88c0(0x1d9)),'kListener':Symbol(_0x9b88c0(0x22f)),'kStatusCode':Symbol(_0x9b88c0(0x270)),'kWebSocket':Symbol(_0x9b88c0(0x1ab)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x5dc2c6(0x141)](Object[_0x5dc2c6(0x1f2)]({'__proto__':null,'default':Wt},Symbol[_0x5dc2c6(0x219)],{'value':'Module'})),Vt=ut(Gt);var Ke;function ce(){const _0x5a42e3=_0x5dc2c6;if(Ke)return te[_0x5a42e3(0x1cd)];Ke=0x1;const {EMPTY_BUFFER:_0x20f058}=V(),_0x4537ba=Buffer[Symbol[_0x5a42e3(0x20b)]];function _0x35552c(_0x485202,_0x1dd8f9){const _0x5109b0=_0x5a42e3;if(_0x485202[_0x5109b0(0x14e)]===0x0)return _0x20f058;if(_0x485202['length']===0x1)return _0x485202[0x0];const _0x4cea34=Buffer[_0x5109b0(0x233)](_0x1dd8f9);let _0x1f7920=0x0;for(let _0xa0bccc=0x0;_0xa0bccc<_0x485202['length'];_0xa0bccc++){const _0x4f9df1=_0x485202[_0xa0bccc];_0x4cea34[_0x5109b0(0x16d)](_0x4f9df1,_0x1f7920),_0x1f7920+=_0x4f9df1[_0x5109b0(0x14e)];}return _0x1f7920<_0x1dd8f9?new _0x4537ba(_0x4cea34[_0x5109b0(0x265)],_0x4cea34['byteOffset'],_0x1f7920):_0x4cea34;}function _0x781f19(_0x1436d0,_0x13af4f,_0x5efe0b,_0xdf47d5,_0x46f23b){for(let _0x5b7d02=0x0;_0x5b7d02<_0x46f23b;_0x5b7d02++)_0x5efe0b[_0xdf47d5+_0x5b7d02]=_0x1436d0[_0x5b7d02]^_0x13af4f[_0x5b7d02&0x3];}function _0x833c7f(_0x5a6cd4,_0x19b30f){const _0x2ba0cd=_0x5a42e3;for(let _0x24a40c=0x0;_0x24a40c<_0x5a6cd4[_0x2ba0cd(0x14e)];_0x24a40c++)_0x5a6cd4[_0x24a40c]^=_0x19b30f[_0x24a40c&0x3];}function _0x3df7f2(_0x448330){const _0x308f9f=_0x5a42e3;return _0x448330['length']===_0x448330[_0x308f9f(0x265)][_0x308f9f(0x165)]?_0x448330['buffer']:_0x448330[_0x308f9f(0x265)][_0x308f9f(0x118)](_0x448330['byteOffset'],_0x448330['byteOffset']+_0x448330['length']);}function _0x5d5f91(_0x11afe3){const _0x5a0e74=_0x5a42e3;if(_0x5d5f91[_0x5a0e74(0x10b)]=!0x0,Buffer['isBuffer'](_0x11afe3))return _0x11afe3;let _0xcda46e;return _0x11afe3 instanceof ArrayBuffer?_0xcda46e=new _0x4537ba(_0x11afe3):ArrayBuffer['isView'](_0x11afe3)?_0xcda46e=new _0x4537ba(_0x11afe3[_0x5a0e74(0x265)],_0x11afe3['byteOffset'],_0x11afe3[_0x5a0e74(0x165)]):(_0xcda46e=Buffer['from'](_0x11afe3),_0x5d5f91[_0x5a0e74(0x10b)]=!0x1),_0xcda46e;}if(te[_0x5a42e3(0x1cd)]={'concat':_0x35552c,'mask':_0x781f19,'toArrayBuffer':_0x3df7f2,'toBuffer':_0x5d5f91,'unmask':_0x833c7f},!process['env'][_0x5a42e3(0x1a8)])try{const _0x552478=Vt;te['exports'][_0x5a42e3(0xec)]=function(_0x59bdd9,_0x4b7f70,_0x36cbe6,_0x3f432f,_0x2b6f8b){const _0xfbaa3=_0x5a42e3;_0x2b6f8b<0x30?_0x781f19(_0x59bdd9,_0x4b7f70,_0x36cbe6,_0x3f432f,_0x2b6f8b):_0x552478[_0xfbaa3(0xec)](_0x59bdd9,_0x4b7f70,_0x36cbe6,_0x3f432f,_0x2b6f8b);},te[_0x5a42e3(0x1cd)]['unmask']=function(_0x13810f,_0x402d19){const _0x5ae104=_0x5a42e3;_0x13810f[_0x5ae104(0x14e)]<0x20?_0x833c7f(_0x13810f,_0x402d19):_0x552478[_0x5ae104(0x213)](_0x13810f,_0x402d19);};}catch{}return te['exports'];}var ye,Xe;function qt(){const _0x498486=_0x5dc2c6;if(Xe)return ye;Xe=0x1;const _0x56c2c3=Symbol(_0x498486(0x11c)),_0x1d8629=Symbol(_0x498486(0x246));class _0x339eca{constructor(_0x245058){const _0x175dbe=_0x498486;this[_0x56c2c3]=()=>{const _0x5e06bb=_0x593c;this[_0x5e06bb(0x175)]--,this[_0x1d8629]();},this[_0x175dbe(0x23e)]=_0x245058||0x1/0x0,this[_0x175dbe(0xdd)]=[],this[_0x175dbe(0x175)]=0x0;}[_0x498486(0x123)](_0x3619b0){const _0x4d5767=_0x498486;this[_0x4d5767(0xdd)][_0x4d5767(0x278)](_0x3619b0),this[_0x1d8629]();}[_0x1d8629](){const _0x33699a=_0x498486;if(this['pending']!==this[_0x33699a(0x23e)]&&this[_0x33699a(0xdd)][_0x33699a(0x14e)]){const _0x3ae931=this[_0x33699a(0xdd)][_0x33699a(0x258)]();this['pending']++,_0x3ae931(this[_0x56c2c3]);}}}return ye=_0x339eca,ye;}var ve,Ze;function he(){const _0x32952b=_0x5dc2c6;if(Ze)return ve;Ze=0x1;const _0x5d97e2=_0x2a6e25,_0x59699b=ce(),_0x5810ee=qt(),{kStatusCode:_0xf5bfa}=V(),_0x26d966=Buffer[Symbol['species']],_0x36c2ae=Buffer[_0x32952b(0x1c4)]([0x0,0x0,0xff,0xff]),_0x29601f=Symbol(_0x32952b(0x260)),_0x33872b=Symbol('total-length'),_0x1b435f=Symbol(_0x32952b(0x1c6)),_0x4328a9=Symbol('buffers'),_0x41e171=Symbol(_0x32952b(0xef));let _0x564550;class _0x422106{constructor(_0x1e700f,_0x2d7354,_0x4caf75){const _0x39ebc4=_0x32952b;if(this[_0x39ebc4(0x21d)]=_0x4caf75|0x0,this[_0x39ebc4(0x22e)]=_0x1e700f||{},this[_0x39ebc4(0x169)]=this['_options'][_0x39ebc4(0x1e9)]!==void 0x0?this[_0x39ebc4(0x22e)]['threshold']:0x400,this[_0x39ebc4(0x136)]=!!_0x2d7354,this['_deflate']=null,this['_inflate']=null,this[_0x39ebc4(0x10e)]=null,!_0x564550){const _0x1be568=this[_0x39ebc4(0x22e)][_0x39ebc4(0x231)]!==void 0x0?this['_options'][_0x39ebc4(0x231)]:0xa;_0x564550=new _0x5810ee(_0x1be568);}}static get[_0x32952b(0x14c)](){return'permessage-deflate';}[_0x32952b(0x25f)](){const _0x42985a=_0x32952b,_0x4f9544={};return this[_0x42985a(0x22e)][_0x42985a(0x18d)]&&(_0x4f9544[_0x42985a(0x1d0)]=!0x0),this[_0x42985a(0x22e)][_0x42985a(0x1af)]&&(_0x4f9544[_0x42985a(0x186)]=!0x0),this[_0x42985a(0x22e)][_0x42985a(0x197)]&&(_0x4f9544[_0x42985a(0x1f5)]=this[_0x42985a(0x22e)][_0x42985a(0x197)]),this['_options']['clientMaxWindowBits']?_0x4f9544[_0x42985a(0x10c)]=this[_0x42985a(0x22e)][_0x42985a(0x25b)]:this['_options'][_0x42985a(0x25b)]==null&&(_0x4f9544['client_max_window_bits']=!0x0),_0x4f9544;}[_0x32952b(0x15d)](_0x1df104){const _0x1b00e7=_0x32952b;return _0x1df104=this[_0x1b00e7(0x187)](_0x1df104),this[_0x1b00e7(0x10e)]=this[_0x1b00e7(0x136)]?this[_0x1b00e7(0xd2)](_0x1df104):this[_0x1b00e7(0x1e5)](_0x1df104),this['params'];}['cleanup'](){const _0x1235b3=_0x32952b;if(this[_0x1235b3(0x214)]&&(this[_0x1235b3(0x214)][_0x1235b3(0x206)](),this[_0x1235b3(0x214)]=null),this[_0x1235b3(0x239)]){const _0x3c5bb4=this[_0x1235b3(0x239)][_0x1b435f];this['_deflate'][_0x1235b3(0x206)](),this['_deflate']=null,_0x3c5bb4&&_0x3c5bb4(new Error(_0x1235b3(0x15e)));}}[_0x32952b(0xd2)](_0x3f0f6a){const _0x1f1c0c=_0x32952b,_0x1058bb=this[_0x1f1c0c(0x22e)],_0x418eb1=_0x3f0f6a[_0x1f1c0c(0x189)](_0x2a2e6f=>!(_0x1058bb['serverNoContextTakeover']===!0x1&&_0x2a2e6f[_0x1f1c0c(0x1d0)]||_0x2a2e6f[_0x1f1c0c(0x1f5)]&&(_0x1058bb[_0x1f1c0c(0x197)]===!0x1||typeof _0x1058bb[_0x1f1c0c(0x197)]==_0x1f1c0c(0x205)&&_0x1058bb['serverMaxWindowBits']>_0x2a2e6f['server_max_window_bits'])||typeof _0x1058bb[_0x1f1c0c(0x25b)]==_0x1f1c0c(0x205)&&!_0x2a2e6f[_0x1f1c0c(0x10c)]));if(!_0x418eb1)throw new Error(_0x1f1c0c(0x1d2));return _0x1058bb[_0x1f1c0c(0x18d)]&&(_0x418eb1[_0x1f1c0c(0x1d0)]=!0x0),_0x1058bb['clientNoContextTakeover']&&(_0x418eb1[_0x1f1c0c(0x186)]=!0x0),typeof _0x1058bb[_0x1f1c0c(0x197)]=='number'&&(_0x418eb1['server_max_window_bits']=_0x1058bb[_0x1f1c0c(0x197)]),typeof _0x1058bb['clientMaxWindowBits']==_0x1f1c0c(0x205)?_0x418eb1[_0x1f1c0c(0x10c)]=_0x1058bb[_0x1f1c0c(0x25b)]:(_0x418eb1[_0x1f1c0c(0x10c)]===!0x0||_0x1058bb['clientMaxWindowBits']===!0x1)&&delete _0x418eb1[_0x1f1c0c(0x10c)],_0x418eb1;}[_0x32952b(0x1e5)](_0x1a0349){const _0x53c5ed=_0x32952b,_0xab3a94=_0x1a0349[0x0];if(this[_0x53c5ed(0x22e)][_0x53c5ed(0x1af)]===!0x1&&_0xab3a94['client_no_context_takeover'])throw new Error(_0x53c5ed(0xcb));if(!_0xab3a94[_0x53c5ed(0x10c)])typeof this['_options'][_0x53c5ed(0x25b)]=='number'&&(_0xab3a94['client_max_window_bits']=this['_options'][_0x53c5ed(0x25b)]);else{if(this['_options'][_0x53c5ed(0x25b)]===!0x1||typeof this['_options'][_0x53c5ed(0x25b)]==_0x53c5ed(0x205)&&_0xab3a94['client_max_window_bits']>this['_options'][_0x53c5ed(0x25b)])throw new Error(_0x53c5ed(0x1b3));}return _0xab3a94;}['normalizeParams'](_0x2042d2){const _0x20b9da=_0x32952b;return _0x2042d2[_0x20b9da(0x159)](_0x49c991=>{const _0x34fe4d=_0x20b9da;Object[_0x34fe4d(0x1ef)](_0x49c991)['forEach'](_0x54ee27=>{const _0x19b459=_0x34fe4d;let _0x53bd39=_0x49c991[_0x54ee27];if(_0x53bd39['length']>0x1)throw new Error(_0x19b459(0x11e)+_0x54ee27+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x53bd39=_0x53bd39[0x0],_0x54ee27===_0x19b459(0x10c)){if(_0x53bd39!==!0x0){const _0x38143c=+_0x53bd39;if(!Number[_0x19b459(0x227)](_0x38143c)||_0x38143c<0x8||_0x38143c>0xf)throw new TypeError(_0x19b459(0x1e2)+_0x54ee27+_0x19b459(0x131)+_0x53bd39);_0x53bd39=_0x38143c;}else{if(!this[_0x19b459(0x136)])throw new TypeError(_0x19b459(0x1e2)+_0x54ee27+_0x19b459(0x131)+_0x53bd39);}}else{if(_0x54ee27===_0x19b459(0x1f5)){const _0x232d4d=+_0x53bd39;if(!Number[_0x19b459(0x227)](_0x232d4d)||_0x232d4d<0x8||_0x232d4d>0xf)throw new TypeError(_0x19b459(0x1e2)+_0x54ee27+_0x19b459(0x131)+_0x53bd39);_0x53bd39=_0x232d4d;}else{if(_0x54ee27===_0x19b459(0x186)||_0x54ee27===_0x19b459(0x1d0)){if(_0x53bd39!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x54ee27+_0x19b459(0x131)+_0x53bd39);}else throw new Error(_0x19b459(0x1a3)+_0x54ee27+'\x22');}}_0x49c991[_0x54ee27]=_0x53bd39;});}),_0x2042d2;}['decompress'](_0x5aa819,_0x258781,_0x5dfaf0){_0x564550['add'](_0x116656=>{const _0x510ef0=_0x593c;this[_0x510ef0(0x13c)](_0x5aa819,_0x258781,(_0x50e5cc,_0x3ed088)=>{_0x116656(),_0x5dfaf0(_0x50e5cc,_0x3ed088);});});}[_0x32952b(0x259)](_0x49fcb1,_0x28130f,_0x126808){const _0x1097df=_0x32952b;_0x564550[_0x1097df(0x123)](_0x50c7df=>{const _0x254c48=_0x1097df;this[_0x254c48(0x209)](_0x49fcb1,_0x28130f,(_0x55d64c,_0x5adb2d)=>{_0x50c7df(),_0x126808(_0x55d64c,_0x5adb2d);});});}[_0x32952b(0x13c)](_0x222149,_0x4cb1ff,_0x583598){const _0x472675=_0x32952b,_0x4dc63=this[_0x472675(0x136)]?_0x472675(0x140):_0x472675(0x275);if(!this[_0x472675(0x214)]){const _0x455654=_0x4dc63+_0x472675(0xeb),_0xf42076=typeof this[_0x472675(0x10e)][_0x455654]!='number'?_0x5d97e2[_0x472675(0x24c)]:this[_0x472675(0x10e)][_0x455654];this[_0x472675(0x214)]=_0x5d97e2[_0x472675(0x1c2)]({...this[_0x472675(0x22e)]['zlibInflateOptions'],'windowBits':_0xf42076}),this['_inflate'][_0x29601f]=this,this[_0x472675(0x214)][_0x33872b]=0x0,this[_0x472675(0x214)][_0x4328a9]=[],this[_0x472675(0x214)]['on'](_0x472675(0xef),_0x34012c),this[_0x472675(0x214)]['on']('data',_0x4b6eeb);}this[_0x472675(0x214)][_0x1b435f]=_0x583598,this[_0x472675(0x214)][_0x472675(0x1da)](_0x222149),_0x4cb1ff&&this[_0x472675(0x214)][_0x472675(0x1da)](_0x36c2ae),this[_0x472675(0x214)]['flush'](()=>{const _0x55876b=_0x472675,_0x4ad42e=this[_0x55876b(0x214)][_0x41e171];if(_0x4ad42e){this['_inflate'][_0x55876b(0x206)](),this['_inflate']=null,_0x583598(_0x4ad42e);return;}const _0x2c49fe=_0x59699b[_0x55876b(0x198)](this[_0x55876b(0x214)][_0x4328a9],this['_inflate'][_0x33872b]);this[_0x55876b(0x214)]['_readableState'][_0x55876b(0x1d4)]?(this[_0x55876b(0x214)][_0x55876b(0x206)](),this[_0x55876b(0x214)]=null):(this[_0x55876b(0x214)][_0x33872b]=0x0,this['_inflate'][_0x4328a9]=[],_0x4cb1ff&&this[_0x55876b(0x10e)][_0x4dc63+_0x55876b(0x1c3)]&&this[_0x55876b(0x214)]['reset']()),_0x583598(null,_0x2c49fe);});}[_0x32952b(0x209)](_0x5bb3e9,_0x33a038,_0x208149){const _0x540474=_0x32952b,_0x21a819=this['_isServer']?_0x540474(0x275):_0x540474(0x140);if(!this[_0x540474(0x239)]){const _0xde0865=_0x21a819+'_max_window_bits',_0x437397=typeof this[_0x540474(0x10e)][_0xde0865]!=_0x540474(0x205)?_0x5d97e2[_0x540474(0x24c)]:this[_0x540474(0x10e)][_0xde0865];this[_0x540474(0x239)]=_0x5d97e2[_0x540474(0x122)]({...this[_0x540474(0x22e)][_0x540474(0x1aa)],'windowBits':_0x437397}),this[_0x540474(0x239)][_0x33872b]=0x0,this[_0x540474(0x239)][_0x4328a9]=[],this['_deflate']['on'](_0x540474(0x1b1),_0x2b2237);}this[_0x540474(0x239)][_0x1b435f]=_0x208149,this['_deflate']['write'](_0x5bb3e9),this['_deflate'][_0x540474(0x23a)](_0x5d97e2[_0x540474(0xe8)],()=>{const _0x419eb3=_0x540474;if(!this[_0x419eb3(0x239)])return;let _0x1c96ec=_0x59699b[_0x419eb3(0x198)](this[_0x419eb3(0x239)][_0x4328a9],this['_deflate'][_0x33872b]);_0x33a038&&(_0x1c96ec=new _0x26d966(_0x1c96ec[_0x419eb3(0x265)],_0x1c96ec[_0x419eb3(0x182)],_0x1c96ec['length']-0x4)),this[_0x419eb3(0x239)][_0x1b435f]=null,this[_0x419eb3(0x239)][_0x33872b]=0x0,this[_0x419eb3(0x239)][_0x4328a9]=[],_0x33a038&&this[_0x419eb3(0x10e)][_0x21a819+_0x419eb3(0x1c3)]&&this[_0x419eb3(0x239)][_0x419eb3(0x22d)](),_0x208149(null,_0x1c96ec);});}}ve=_0x422106;function _0x2b2237(_0x43d0c4){const _0x48fa70=_0x32952b;this[_0x4328a9][_0x48fa70(0x278)](_0x43d0c4),this[_0x33872b]+=_0x43d0c4[_0x48fa70(0x14e)];}function _0x4b6eeb(_0x3fbb81){const _0x56fc21=_0x32952b;if(this[_0x33872b]+=_0x3fbb81[_0x56fc21(0x14e)],this[_0x29601f][_0x56fc21(0x21d)]<0x1||this[_0x33872b]<=this[_0x29601f]['_maxPayload']){this[_0x4328a9][_0x56fc21(0x278)](_0x3fbb81);return;}this[_0x41e171]=new RangeError(_0x56fc21(0xdf)),this[_0x41e171][_0x56fc21(0x262)]=_0x56fc21(0x18a),this[_0x41e171][_0xf5bfa]=0x3f1,this[_0x56fc21(0x148)](_0x56fc21(0x1b1),_0x4b6eeb),this[_0x56fc21(0x22d)]();}function _0x34012c(_0xf209d9){const _0x33837c=_0x32952b;this[_0x29601f][_0x33837c(0x214)]=null,_0xf209d9[_0xf5bfa]=0x3ef,this[_0x1b435f](_0xf209d9);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x5dc2c6(0x141)](Object[_0x5dc2c6(0x1f2)]({'__proto__':null,'default':Ht},Symbol[_0x5dc2c6(0x219)],{'value':'Module'})),Yt=ut(zt);var Qe;function ne(){const _0x48445a=_0x5dc2c6;if(Qe)return re['exports'];Qe=0x1;const {isUtf8:_0x5b0779}=_0x4b3286,{hasBlob:_0x1628e7}=V(),_0x50b927=[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 _0x28bc93(_0x40acac){return _0x40acac>=0x3e8&&_0x40acac<=0x3f6&&_0x40acac!==0x3ec&&_0x40acac!==0x3ed&&_0x40acac!==0x3ee||_0x40acac>=0xbb8&&_0x40acac<=0x1387;}function _0x2e14e8(_0x561a2e){const _0x475cea=_0x593c,_0x3ec24d=_0x561a2e[_0x475cea(0x14e)];let _0x229058=0x0;for(;_0x229058<_0x3ec24d;)if((_0x561a2e[_0x229058]&0x80)===0x0)_0x229058++;else{if((_0x561a2e[_0x229058]&0xe0)===0xc0){if(_0x229058+0x1===_0x3ec24d||(_0x561a2e[_0x229058+0x1]&0xc0)!==0x80||(_0x561a2e[_0x229058]&0xfe)===0xc0)return!0x1;_0x229058+=0x2;}else{if((_0x561a2e[_0x229058]&0xf0)===0xe0){if(_0x229058+0x2>=_0x3ec24d||(_0x561a2e[_0x229058+0x1]&0xc0)!==0x80||(_0x561a2e[_0x229058+0x2]&0xc0)!==0x80||_0x561a2e[_0x229058]===0xe0&&(_0x561a2e[_0x229058+0x1]&0xe0)===0x80||_0x561a2e[_0x229058]===0xed&&(_0x561a2e[_0x229058+0x1]&0xe0)===0xa0)return!0x1;_0x229058+=0x3;}else{if((_0x561a2e[_0x229058]&0xf8)===0xf0){if(_0x229058+0x3>=_0x3ec24d||(_0x561a2e[_0x229058+0x1]&0xc0)!==0x80||(_0x561a2e[_0x229058+0x2]&0xc0)!==0x80||(_0x561a2e[_0x229058+0x3]&0xc0)!==0x80||_0x561a2e[_0x229058]===0xf0&&(_0x561a2e[_0x229058+0x1]&0xf0)===0x80||_0x561a2e[_0x229058]===0xf4&&_0x561a2e[_0x229058+0x1]>0x8f||_0x561a2e[_0x229058]>0xf4)return!0x1;_0x229058+=0x4;}else return!0x1;}}}return!0x0;}function _0x1dedd2(_0x48d76d){const _0x24afba=_0x593c;return _0x1628e7&&typeof _0x48d76d=='object'&&typeof _0x48d76d[_0x24afba(0x19e)]==_0x24afba(0x1a6)&&typeof _0x48d76d[_0x24afba(0x16e)]==_0x24afba(0x15f)&&typeof _0x48d76d['stream']==_0x24afba(0x1a6)&&(_0x48d76d[Symbol[_0x24afba(0x219)]]===_0x24afba(0x274)||_0x48d76d[Symbol[_0x24afba(0x219)]]===_0x24afba(0x176));}if(re[_0x48445a(0x1cd)]={'isBlob':_0x1dedd2,'isValidStatusCode':_0x28bc93,'isValidUTF8':_0x2e14e8,'tokenChars':_0x50b927},_0x5b0779)re[_0x48445a(0x1cd)]['isValidUTF8']=function(_0xba1bfb){const _0x1f1890=_0x48445a;return _0xba1bfb[_0x1f1890(0x14e)]<0x18?_0x2e14e8(_0xba1bfb):_0x5b0779(_0xba1bfb);};else{if(!process[_0x48445a(0xd5)][_0x48445a(0x102)])try{const _0x580a8e=Yt;re[_0x48445a(0x1cd)]['isValidUTF8']=function(_0x3d4bd7){const _0x31505d=_0x48445a;return _0x3d4bd7[_0x31505d(0x14e)]<0x20?_0x2e14e8(_0x3d4bd7):_0x580a8e(_0x3d4bd7);};}catch{}}return re[_0x48445a(0x1cd)];}var Se,Je;function dt(){const _0x30c5ca=_0x5dc2c6;if(Je)return Se;Je=0x1;const {Writable:_0xb2e13d}=_0x179a1c,_0x17c4c2=he(),{BINARY_TYPES:_0x5aec0e,EMPTY_BUFFER:_0x2bb9f6,kStatusCode:_0x92ae99,kWebSocket:_0x13e0b5}=V(),{concat:_0x3b528e,toArrayBuffer:_0x3ec5e3,unmask:_0x24c2d6}=ce(),{isValidStatusCode:_0x5a9ac9,isValidUTF8:_0xd13b5a}=ne(),_0x38ba04=Buffer[Symbol[_0x30c5ca(0x20b)]],_0x1b6b1e=0x0,_0x3e8e11=0x1,_0x44d723=0x2,_0xb4e09b=0x3,_0x4c040a=0x4,_0x1bf721=0x5,_0x30b23f=0x6;class _0x5e2cc1 extends _0xb2e13d{constructor(_0x1ad72f={}){const _0x3da3d8=_0x30c5ca;super(),this['_allowSynchronousEvents']=_0x1ad72f['allowSynchronousEvents']!==void 0x0?_0x1ad72f[_0x3da3d8(0x19f)]:!0x0,this['_binaryType']=_0x1ad72f[_0x3da3d8(0x212)]||_0x5aec0e[0x0],this[_0x3da3d8(0x146)]=_0x1ad72f[_0x3da3d8(0x254)]||{},this[_0x3da3d8(0x136)]=!!_0x1ad72f[_0x3da3d8(0x21c)],this[_0x3da3d8(0x21d)]=_0x1ad72f[_0x3da3d8(0x14f)]|0x0,this[_0x3da3d8(0xf1)]=!!_0x1ad72f[_0x3da3d8(0xd7)],this[_0x13e0b5]=void 0x0,this[_0x3da3d8(0xe0)]=0x0,this['_buffers']=[],this[_0x3da3d8(0x161)]=!0x1,this[_0x3da3d8(0x26b)]=0x0,this[_0x3da3d8(0x25d)]=void 0x0,this[_0x3da3d8(0x23d)]=0x0,this[_0x3da3d8(0x204)]=!0x1,this[_0x3da3d8(0x155)]=!0x1,this['_opcode']=0x0,this[_0x3da3d8(0x202)]=0x0,this[_0x3da3d8(0x1b4)]=0x0,this[_0x3da3d8(0x199)]=[],this[_0x3da3d8(0x1d5)]=!0x1,this[_0x3da3d8(0x234)]=!0x1,this['_state']=_0x1b6b1e;}['_write'](_0x3f98b5,_0x2090ae,_0x4c7b9e){const _0x59d2c0=_0x30c5ca;if(this['_opcode']===0x8&&this[_0x59d2c0(0xf5)]==_0x1b6b1e)return _0x4c7b9e();this[_0x59d2c0(0xe0)]+=_0x3f98b5[_0x59d2c0(0x14e)],this[_0x59d2c0(0x177)]['push'](_0x3f98b5),this[_0x59d2c0(0xe1)](_0x4c7b9e);}[_0x30c5ca(0x1bc)](_0x18cb66){const _0x220d0d=_0x30c5ca;if(this[_0x220d0d(0xe0)]-=_0x18cb66,_0x18cb66===this['_buffers'][0x0][_0x220d0d(0x14e)])return this[_0x220d0d(0x177)][_0x220d0d(0x258)]();if(_0x18cb66<this[_0x220d0d(0x177)][0x0][_0x220d0d(0x14e)]){const _0x2766db=this[_0x220d0d(0x177)][0x0];return this[_0x220d0d(0x177)][0x0]=new _0x38ba04(_0x2766db[_0x220d0d(0x265)],_0x2766db['byteOffset']+_0x18cb66,_0x2766db[_0x220d0d(0x14e)]-_0x18cb66),new _0x38ba04(_0x2766db[_0x220d0d(0x265)],_0x2766db[_0x220d0d(0x182)],_0x18cb66);}const _0x58628a=Buffer['allocUnsafe'](_0x18cb66);do{const _0x48e883=this[_0x220d0d(0x177)][0x0],_0x48461b=_0x58628a[_0x220d0d(0x14e)]-_0x18cb66;_0x18cb66>=_0x48e883['length']?_0x58628a[_0x220d0d(0x16d)](this[_0x220d0d(0x177)]['shift'](),_0x48461b):(_0x58628a[_0x220d0d(0x16d)](new Uint8Array(_0x48e883[_0x220d0d(0x265)],_0x48e883[_0x220d0d(0x182)],_0x18cb66),_0x48461b),this['_buffers'][0x0]=new _0x38ba04(_0x48e883[_0x220d0d(0x265)],_0x48e883[_0x220d0d(0x182)]+_0x18cb66,_0x48e883[_0x220d0d(0x14e)]-_0x18cb66)),_0x18cb66-=_0x48e883[_0x220d0d(0x14e)];}while(_0x18cb66>0x0);return _0x58628a;}[_0x30c5ca(0xe1)](_0x10fc7e){const _0x1d225c=_0x30c5ca;this['_loop']=!0x0;do switch(this[_0x1d225c(0xf5)]){case _0x1b6b1e:this[_0x1d225c(0x272)](_0x10fc7e);break;case _0x3e8e11:this['getPayloadLength16'](_0x10fc7e);break;case _0x44d723:this[_0x1d225c(0x14b)](_0x10fc7e);break;case _0xb4e09b:this[_0x1d225c(0xfb)]();break;case _0x4c040a:this[_0x1d225c(0x10a)](_0x10fc7e);break;case _0x1bf721:case _0x30b23f:this[_0x1d225c(0x234)]=!0x1;return;}while(this[_0x1d225c(0x234)]);this[_0x1d225c(0x1d5)]||_0x10fc7e();}[_0x30c5ca(0x272)](_0x8efc9c){const _0x343af7=_0x30c5ca;if(this[_0x343af7(0xe0)]<0x2){this['_loop']=!0x1;return;}const _0x10d73f=this[_0x343af7(0x1bc)](0x2);if((_0x10d73f[0x0]&0x30)!==0x0){const _0x32351d=this['createError'](RangeError,_0x343af7(0x143),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x8efc9c(_0x32351d);return;}const _0x1b9911=(_0x10d73f[0x0]&0x40)===0x40;if(_0x1b9911&&!this[_0x343af7(0x146)][_0x17c4c2['extensionName']]){const _0x2a280e=this[_0x343af7(0x11d)](RangeError,_0x343af7(0x15a),!0x0,0x3ea,_0x343af7(0x1e8));_0x8efc9c(_0x2a280e);return;}if(this['_fin']=(_0x10d73f[0x0]&0x80)===0x80,this['_opcode']=_0x10d73f[0x0]&0xf,this[_0x343af7(0x26b)]=_0x10d73f[0x1]&0x7f,this[_0x343af7(0x1d6)]===0x0){if(_0x1b9911){const _0x17f8bf=this[_0x343af7(0x11d)](RangeError,_0x343af7(0x15a),!0x0,0x3ea,_0x343af7(0x1e8));_0x8efc9c(_0x17f8bf);return;}if(!this['_fragmented']){const _0x136f77=this[_0x343af7(0x11d)](RangeError,_0x343af7(0x171),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x8efc9c(_0x136f77);return;}this['_opcode']=this['_fragmented'];}else{if(this[_0x343af7(0x1d6)]===0x1||this[_0x343af7(0x1d6)]===0x2){if(this[_0x343af7(0x23d)]){const _0x21f022=this[_0x343af7(0x11d)](RangeError,_0x343af7(0x267)+this[_0x343af7(0x1d6)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x8efc9c(_0x21f022);return;}this['_compressed']=_0x1b9911;}else{if(this[_0x343af7(0x1d6)]>0x7&&this[_0x343af7(0x1d6)]<0xb){if(!this[_0x343af7(0x155)]){const _0x2b994a=this[_0x343af7(0x11d)](RangeError,_0x343af7(0x224),!0x0,0x3ea,_0x343af7(0x229));_0x8efc9c(_0x2b994a);return;}if(_0x1b9911){const _0x2d9ae9=this[_0x343af7(0x11d)](RangeError,_0x343af7(0x15a),!0x0,0x3ea,_0x343af7(0x1e8));_0x8efc9c(_0x2d9ae9);return;}if(this[_0x343af7(0x26b)]>0x7d||this[_0x343af7(0x1d6)]===0x8&&this['_payloadLength']===0x1){const _0x5482f7=this[_0x343af7(0x11d)](RangeError,_0x343af7(0x184)+this['_payloadLength'],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x8efc9c(_0x5482f7);return;}}else{const _0x11e76a=this['createError'](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x8efc9c(_0x11e76a);return;}}}if(!this[_0x343af7(0x155)]&&!this['_fragmented']&&(this[_0x343af7(0x23d)]=this[_0x343af7(0x1d6)]),this[_0x343af7(0x204)]=(_0x10d73f[0x1]&0x80)===0x80,this[_0x343af7(0x136)]){if(!this[_0x343af7(0x204)]){const _0x4374a1=this[_0x343af7(0x11d)](RangeError,_0x343af7(0x1c9),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x8efc9c(_0x4374a1);return;}}else{if(this['_masked']){const _0x4f860e=this[_0x343af7(0x11d)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x343af7(0xf2));_0x8efc9c(_0x4f860e);return;}}this[_0x343af7(0x26b)]===0x7e?this[_0x343af7(0xf5)]=_0x3e8e11:this[_0x343af7(0x26b)]===0x7f?this[_0x343af7(0xf5)]=_0x44d723:this['haveLength'](_0x8efc9c);}[_0x30c5ca(0x13d)](_0x44b25d){const _0x1d32c7=_0x30c5ca;if(this[_0x1d32c7(0xe0)]<0x2){this['_loop']=!0x1;return;}this[_0x1d32c7(0x26b)]=this['consume'](0x2)[_0x1d32c7(0xf8)](0x0),this[_0x1d32c7(0x232)](_0x44b25d);}[_0x30c5ca(0x14b)](_0x5e23cf){const _0x4961c5=_0x30c5ca;if(this[_0x4961c5(0xe0)]<0x8){this[_0x4961c5(0x234)]=!0x1;return;}const _0x531439=this[_0x4961c5(0x1bc)](0x8),_0x1849c3=_0x531439[_0x4961c5(0xf0)](0x0);if(_0x1849c3>Math[_0x4961c5(0x263)](0x2,0x15)-0x1){const _0x5ee6f4=this['createError'](RangeError,_0x4961c5(0x1ac),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x5e23cf(_0x5ee6f4);return;}this[_0x4961c5(0x26b)]=_0x1849c3*Math[_0x4961c5(0x263)](0x2,0x20)+_0x531439[_0x4961c5(0xf0)](0x4),this['haveLength'](_0x5e23cf);}[_0x30c5ca(0x232)](_0x3cd9d6){const _0x3e96ca=_0x30c5ca;if(this[_0x3e96ca(0x26b)]&&this[_0x3e96ca(0x1d6)]<0x8&&(this[_0x3e96ca(0x202)]+=this['_payloadLength'],this[_0x3e96ca(0x202)]>this[_0x3e96ca(0x21d)]&&this[_0x3e96ca(0x21d)]>0x0)){const _0x2cb4d2=this[_0x3e96ca(0x11d)](RangeError,_0x3e96ca(0xdf),!0x1,0x3f1,_0x3e96ca(0x18a));_0x3cd9d6(_0x2cb4d2);return;}this[_0x3e96ca(0x204)]?this['_state']=_0xb4e09b:this['_state']=_0x4c040a;}[_0x30c5ca(0xfb)](){const _0x2c5899=_0x30c5ca;if(this[_0x2c5899(0xe0)]<0x4){this[_0x2c5899(0x234)]=!0x1;return;}this[_0x2c5899(0x25d)]=this[_0x2c5899(0x1bc)](0x4),this[_0x2c5899(0xf5)]=_0x4c040a;}[_0x30c5ca(0x10a)](_0x444b72){const _0x392538=_0x30c5ca;let _0x3bec1e=_0x2bb9f6;if(this[_0x392538(0x26b)]){if(this['_bufferedBytes']<this[_0x392538(0x26b)]){this[_0x392538(0x234)]=!0x1;return;}_0x3bec1e=this[_0x392538(0x1bc)](this[_0x392538(0x26b)]),this[_0x392538(0x204)]&&(this[_0x392538(0x25d)][0x0]|this[_0x392538(0x25d)][0x1]|this['_mask'][0x2]|this['_mask'][0x3])!==0x0&&_0x24c2d6(_0x3bec1e,this[_0x392538(0x25d)]);}if(this[_0x392538(0x1d6)]>0x7){this[_0x392538(0x1b2)](_0x3bec1e,_0x444b72);return;}if(this[_0x392538(0x161)]){this[_0x392538(0xf5)]=_0x1bf721,this[_0x392538(0xed)](_0x3bec1e,_0x444b72);return;}_0x3bec1e['length']&&(this['_messageLength']=this[_0x392538(0x202)],this[_0x392538(0x199)][_0x392538(0x278)](_0x3bec1e)),this['dataMessage'](_0x444b72);}[_0x30c5ca(0xed)](_0x34810b,_0x22a4ba){const _0x26bb4b=_0x30c5ca;this[_0x26bb4b(0x146)][_0x17c4c2['extensionName']][_0x26bb4b(0xed)](_0x34810b,this[_0x26bb4b(0x155)],(_0x35e5aa,_0x8e3315)=>{const _0x5f3527=_0x26bb4b;if(_0x35e5aa)return _0x22a4ba(_0x35e5aa);if(_0x8e3315[_0x5f3527(0x14e)]){if(this[_0x5f3527(0x1b4)]+=_0x8e3315['length'],this[_0x5f3527(0x1b4)]>this[_0x5f3527(0x21d)]&&this[_0x5f3527(0x21d)]>0x0){const _0x35057f=this[_0x5f3527(0x11d)](RangeError,_0x5f3527(0xdf),!0x1,0x3f1,_0x5f3527(0x18a));_0x22a4ba(_0x35057f);return;}this[_0x5f3527(0x199)]['push'](_0x8e3315);}this[_0x5f3527(0x1eb)](_0x22a4ba),this[_0x5f3527(0xf5)]===_0x1b6b1e&&this['startLoop'](_0x22a4ba);});}['dataMessage'](_0x339dd8){const _0x173485=_0x30c5ca;if(!this['_fin']){this[_0x173485(0xf5)]=_0x1b6b1e;return;}const _0x54d8d4=this[_0x173485(0x1b4)],_0x19afa2=this[_0x173485(0x199)];if(this[_0x173485(0x202)]=0x0,this[_0x173485(0x1b4)]=0x0,this[_0x173485(0x23d)]=0x0,this[_0x173485(0x199)]=[],this[_0x173485(0x1d6)]===0x2){let _0x564e5c;this[_0x173485(0x237)]===_0x173485(0xcf)?_0x564e5c=_0x3b528e(_0x19afa2,_0x54d8d4):this['_binaryType']===_0x173485(0x17a)?_0x564e5c=_0x3ec5e3(_0x3b528e(_0x19afa2,_0x54d8d4)):this['_binaryType']===_0x173485(0x153)?_0x564e5c=new Blob(_0x19afa2):_0x564e5c=_0x19afa2,this[_0x173485(0x20f)]?(this[_0x173485(0x152)]('message',_0x564e5c,!0x0),this[_0x173485(0xf5)]=_0x1b6b1e):(this[_0x173485(0xf5)]=_0x30b23f,setImmediate(()=>{const _0x1f2636=_0x173485;this[_0x1f2636(0x152)](_0x1f2636(0x1ff),_0x564e5c,!0x0),this[_0x1f2636(0xf5)]=_0x1b6b1e,this['startLoop'](_0x339dd8);}));}else{const _0x5a106f=_0x3b528e(_0x19afa2,_0x54d8d4);if(!this['_skipUTF8Validation']&&!_0xd13b5a(_0x5a106f)){const _0x4ff4d8=this[_0x173485(0x11d)](Error,_0x173485(0x1e1),!0x0,0x3ef,_0x173485(0xf7));_0x339dd8(_0x4ff4d8);return;}this['_state']===_0x1bf721||this[_0x173485(0x20f)]?(this['emit'](_0x173485(0x1ff),_0x5a106f,!0x1),this[_0x173485(0xf5)]=_0x1b6b1e):(this[_0x173485(0xf5)]=_0x30b23f,setImmediate(()=>{const _0x1d0a51=_0x173485;this[_0x1d0a51(0x152)](_0x1d0a51(0x1ff),_0x5a106f,!0x1),this['_state']=_0x1b6b1e,this[_0x1d0a51(0xe1)](_0x339dd8);}));}}['controlMessage'](_0x5f1587,_0x5c1811){const _0x435bc6=_0x30c5ca;if(this[_0x435bc6(0x1d6)]===0x8){if(_0x5f1587[_0x435bc6(0x14e)]===0x0)this[_0x435bc6(0x234)]=!0x1,this['emit'](_0x435bc6(0x185),0x3ed,_0x2bb9f6),this['end']();else{const _0x7096e1=_0x5f1587[_0x435bc6(0xf8)](0x0);if(!_0x5a9ac9(_0x7096e1)){const _0x36693e=this[_0x435bc6(0x11d)](RangeError,_0x435bc6(0x1c1)+_0x7096e1,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x5c1811(_0x36693e);return;}const _0xa30a2e=new _0x38ba04(_0x5f1587[_0x435bc6(0x265)],_0x5f1587[_0x435bc6(0x182)]+0x2,_0x5f1587[_0x435bc6(0x14e)]-0x2);if(!this[_0x435bc6(0xf1)]&&!_0xd13b5a(_0xa30a2e)){const _0x266c6d=this['createError'](Error,_0x435bc6(0x1e1),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x5c1811(_0x266c6d);return;}this[_0x435bc6(0x234)]=!0x1,this[_0x435bc6(0x152)]('conclude',_0x7096e1,_0xa30a2e),this['end']();}this[_0x435bc6(0xf5)]=_0x1b6b1e;return;}this[_0x435bc6(0x20f)]?(this[_0x435bc6(0x152)](this[_0x435bc6(0x1d6)]===0x9?_0x435bc6(0x149):'pong',_0x5f1587),this[_0x435bc6(0xf5)]=_0x1b6b1e):(this[_0x435bc6(0xf5)]=_0x30b23f,setImmediate(()=>{const _0x6116cb=_0x435bc6;this['emit'](this['_opcode']===0x9?_0x6116cb(0x149):_0x6116cb(0x138),_0x5f1587),this[_0x6116cb(0xf5)]=_0x1b6b1e,this[_0x6116cb(0xe1)](_0x5c1811);}));}['createError'](_0x1a88c9,_0x2da4af,_0x4c0721,_0x4d4d30,_0x31dced){const _0x71bc50=_0x30c5ca;this[_0x71bc50(0x234)]=!0x1,this[_0x71bc50(0x1d5)]=!0x0;const _0x416813=new _0x1a88c9(_0x4c0721?_0x71bc50(0xe3)+_0x2da4af:_0x2da4af);return Error['captureStackTrace'](_0x416813,this[_0x71bc50(0x11d)]),_0x416813[_0x71bc50(0x262)]=_0x31dced,_0x416813[_0x92ae99]=_0x4d4d30,_0x416813;}}return Se=_0x5e2cc1,Se;}var Ee,et;function _t(){const _0x433948=_0x5dc2c6;if(et)return Ee;et=0x1;const {Duplex:_0x352aaa}=_0x179a1c,{randomFillSync:_0x2b7cde}=_0x358c53,_0xe9db06=he(),{EMPTY_BUFFER:_0x2be2bb,kWebSocket:_0x70e905,NOOP:_0xb689d4}=V(),{isBlob:_0x769e6e,isValidStatusCode:_0x977e1}=ne(),{mask:_0x15c8dd,toBuffer:_0x32e572}=ce(),_0x56d825=Symbol(_0x433948(0x251)),_0x6403c6=Buffer[_0x433948(0x114)](0x4),_0x462beb=0x8*0x400;let _0x231e47,_0x701eaa=_0x462beb;const _0x3b8e2f=0x0,_0x1fc173=0x1,_0x569fa5=0x2;class _0x4d5c08{constructor(_0x2a0cca,_0x32bb82,_0x1278a3){const _0x3d5e9e=_0x433948;this['_extensions']=_0x32bb82||{},_0x1278a3&&(this['_generateMask']=_0x1278a3,this['_maskBuffer']=Buffer[_0x3d5e9e(0x114)](0x4)),this[_0x3d5e9e(0x154)]=_0x2a0cca,this['_firstFragment']=!0x0,this['_compress']=!0x1,this[_0x3d5e9e(0xe0)]=0x0,this[_0x3d5e9e(0x20d)]=[],this[_0x3d5e9e(0xf5)]=_0x3b8e2f,this[_0x3d5e9e(0x24f)]=_0xb689d4,this[_0x70e905]=void 0x0;}static[_0x433948(0x150)](_0x71c25b,_0x47a13f){const _0x148361=_0x433948;let _0x387e8f,_0x11d800=!0x1,_0x42214c=0x2,_0x39a8f7=!0x1;_0x47a13f[_0x148361(0xec)]&&(_0x387e8f=_0x47a13f['maskBuffer']||_0x6403c6,_0x47a13f[_0x148361(0x1ca)]?_0x47a13f['generateMask'](_0x387e8f):(_0x701eaa===_0x462beb&&(_0x231e47===void 0x0&&(_0x231e47=Buffer[_0x148361(0x114)](_0x462beb)),_0x2b7cde(_0x231e47,0x0,_0x462beb),_0x701eaa=0x0),_0x387e8f[0x0]=_0x231e47[_0x701eaa++],_0x387e8f[0x1]=_0x231e47[_0x701eaa++],_0x387e8f[0x2]=_0x231e47[_0x701eaa++],_0x387e8f[0x3]=_0x231e47[_0x701eaa++]),_0x39a8f7=(_0x387e8f[0x0]|_0x387e8f[0x1]|_0x387e8f[0x2]|_0x387e8f[0x3])===0x0,_0x42214c=0x6);let _0x3bbb95;typeof _0x71c25b==_0x148361(0x15f)?(!_0x47a13f[_0x148361(0xec)]||_0x39a8f7)&&_0x47a13f[_0x56d825]!==void 0x0?_0x3bbb95=_0x47a13f[_0x56d825]:(_0x71c25b=Buffer[_0x148361(0x1c4)](_0x71c25b),_0x3bbb95=_0x71c25b['length']):(_0x3bbb95=_0x71c25b[_0x148361(0x14e)],_0x11d800=_0x47a13f[_0x148361(0xec)]&&_0x47a13f['readOnly']&&!_0x39a8f7);let _0x580793=_0x3bbb95;_0x3bbb95>=0x10000?(_0x42214c+=0x8,_0x580793=0x7f):_0x3bbb95>0x7d&&(_0x42214c+=0x2,_0x580793=0x7e);const _0x30ba7f=Buffer['allocUnsafe'](_0x11d800?_0x3bbb95+_0x42214c:_0x42214c);return _0x30ba7f[0x0]=_0x47a13f[_0x148361(0x164)]?_0x47a13f[_0x148361(0x194)]|0x80:_0x47a13f['opcode'],_0x47a13f['rsv1']&&(_0x30ba7f[0x0]|=0x40),_0x30ba7f[0x1]=_0x580793,_0x580793===0x7e?_0x30ba7f[_0x148361(0x201)](_0x3bbb95,0x2):_0x580793===0x7f&&(_0x30ba7f[0x2]=_0x30ba7f[0x3]=0x0,_0x30ba7f['writeUIntBE'](_0x3bbb95,0x4,0x6)),_0x47a13f[_0x148361(0xec)]?(_0x30ba7f[0x1]|=0x80,_0x30ba7f[_0x42214c-0x4]=_0x387e8f[0x0],_0x30ba7f[_0x42214c-0x3]=_0x387e8f[0x1],_0x30ba7f[_0x42214c-0x2]=_0x387e8f[0x2],_0x30ba7f[_0x42214c-0x1]=_0x387e8f[0x3],_0x39a8f7?[_0x30ba7f,_0x71c25b]:_0x11d800?(_0x15c8dd(_0x71c25b,_0x387e8f,_0x30ba7f,_0x42214c,_0x3bbb95),[_0x30ba7f]):(_0x15c8dd(_0x71c25b,_0x387e8f,_0x71c25b,0x0,_0x3bbb95),[_0x30ba7f,_0x71c25b])):[_0x30ba7f,_0x71c25b];}['close'](_0x14071b,_0x1fbbcd,_0x470561,_0x43152e){const _0x3dc0fe=_0x433948;let _0x56b632;if(_0x14071b===void 0x0)_0x56b632=_0x2be2bb;else{if(typeof _0x14071b!=_0x3dc0fe(0x205)||!_0x977e1(_0x14071b))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x1fbbcd===void 0x0||!_0x1fbbcd[_0x3dc0fe(0x14e)])_0x56b632=Buffer[_0x3dc0fe(0x233)](0x2),_0x56b632['writeUInt16BE'](_0x14071b,0x0);else{const _0x124091=Buffer[_0x3dc0fe(0x165)](_0x1fbbcd);if(_0x124091>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x56b632=Buffer[_0x3dc0fe(0x233)](0x2+_0x124091),_0x56b632[_0x3dc0fe(0x201)](_0x14071b,0x0),typeof _0x1fbbcd==_0x3dc0fe(0x15f)?_0x56b632[_0x3dc0fe(0x1da)](_0x1fbbcd,0x2):_0x56b632['set'](_0x1fbbcd,0x2);}}const _0x1f2965={[_0x56d825]:_0x56b632[_0x3dc0fe(0x14e)],'fin':!0x0,'generateMask':this[_0x3dc0fe(0x168)],'mask':_0x470561,'maskBuffer':this[_0x3dc0fe(0x26c)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x3dc0fe(0xf5)]!==_0x3b8e2f?this[_0x3dc0fe(0x1a2)]([this[_0x3dc0fe(0x1ba)],_0x56b632,!0x1,_0x1f2965,_0x43152e]):this['sendFrame'](_0x4d5c08['frame'](_0x56b632,_0x1f2965),_0x43152e);}[_0x433948(0x149)](_0x8d44a3,_0xa0c3a2,_0x362bc7){const _0x5e9847=_0x433948;let _0x435f2b,_0x2bc7ef;if(typeof _0x8d44a3==_0x5e9847(0x15f)?(_0x435f2b=Buffer['byteLength'](_0x8d44a3),_0x2bc7ef=!0x1):_0x769e6e(_0x8d44a3)?(_0x435f2b=_0x8d44a3['size'],_0x2bc7ef=!0x1):(_0x8d44a3=_0x32e572(_0x8d44a3),_0x435f2b=_0x8d44a3['length'],_0x2bc7ef=_0x32e572['readOnly']),_0x435f2b>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x4c21b5={[_0x56d825]:_0x435f2b,'fin':!0x0,'generateMask':this[_0x5e9847(0x168)],'mask':_0xa0c3a2,'maskBuffer':this[_0x5e9847(0x26c)],'opcode':0x9,'readOnly':_0x2bc7ef,'rsv1':!0x1};_0x769e6e(_0x8d44a3)?this[_0x5e9847(0xf5)]!==_0x3b8e2f?this['enqueue']([this['getBlobData'],_0x8d44a3,!0x1,_0x4c21b5,_0x362bc7]):this[_0x5e9847(0x127)](_0x8d44a3,!0x1,_0x4c21b5,_0x362bc7):this['_state']!==_0x3b8e2f?this['enqueue']([this[_0x5e9847(0x1ba)],_0x8d44a3,!0x1,_0x4c21b5,_0x362bc7]):this[_0x5e9847(0x162)](_0x4d5c08[_0x5e9847(0x150)](_0x8d44a3,_0x4c21b5),_0x362bc7);}[_0x433948(0x138)](_0x1b0044,_0xcc93d0,_0x42dbb7){const _0x57b584=_0x433948;let _0xd32ad2,_0x59d835;if(typeof _0x1b0044==_0x57b584(0x15f)?(_0xd32ad2=Buffer['byteLength'](_0x1b0044),_0x59d835=!0x1):_0x769e6e(_0x1b0044)?(_0xd32ad2=_0x1b0044['size'],_0x59d835=!0x1):(_0x1b0044=_0x32e572(_0x1b0044),_0xd32ad2=_0x1b0044[_0x57b584(0x14e)],_0x59d835=_0x32e572[_0x57b584(0x10b)]),_0xd32ad2>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x39fad9={[_0x56d825]:_0xd32ad2,'fin':!0x0,'generateMask':this[_0x57b584(0x168)],'mask':_0xcc93d0,'maskBuffer':this[_0x57b584(0x26c)],'opcode':0xa,'readOnly':_0x59d835,'rsv1':!0x1};_0x769e6e(_0x1b0044)?this[_0x57b584(0xf5)]!==_0x3b8e2f?this['enqueue']([this[_0x57b584(0x127)],_0x1b0044,!0x1,_0x39fad9,_0x42dbb7]):this['getBlobData'](_0x1b0044,!0x1,_0x39fad9,_0x42dbb7):this['_state']!==_0x3b8e2f?this[_0x57b584(0x1a2)]([this[_0x57b584(0x1ba)],_0x1b0044,!0x1,_0x39fad9,_0x42dbb7]):this['sendFrame'](_0x4d5c08[_0x57b584(0x150)](_0x1b0044,_0x39fad9),_0x42dbb7);}['send'](_0x16b4d3,_0x5cdcc9,_0x49aef9){const _0x45e024=_0x433948,_0x1c3c49=this[_0x45e024(0x146)][_0xe9db06[_0x45e024(0x14c)]];let _0x4046ba=_0x5cdcc9['binary']?0x2:0x1,_0x18479f=_0x5cdcc9['compress'],_0x1814ed,_0x291daf;typeof _0x16b4d3==_0x45e024(0x15f)?(_0x1814ed=Buffer[_0x45e024(0x165)](_0x16b4d3),_0x291daf=!0x1):_0x769e6e(_0x16b4d3)?(_0x1814ed=_0x16b4d3[_0x45e024(0x180)],_0x291daf=!0x1):(_0x16b4d3=_0x32e572(_0x16b4d3),_0x1814ed=_0x16b4d3[_0x45e024(0x14e)],_0x291daf=_0x32e572[_0x45e024(0x10b)]),this[_0x45e024(0x279)]?(this[_0x45e024(0x279)]=!0x1,_0x18479f&&_0x1c3c49&&_0x1c3c49['params'][_0x1c3c49[_0x45e024(0x136)]?_0x45e024(0x1d0):_0x45e024(0x186)]&&(_0x18479f=_0x1814ed>=_0x1c3c49[_0x45e024(0x169)]),this[_0x45e024(0x209)]=_0x18479f):(_0x18479f=!0x1,_0x4046ba=0x0),_0x5cdcc9[_0x45e024(0x164)]&&(this[_0x45e024(0x279)]=!0x0);const _0x4f0a01={[_0x56d825]:_0x1814ed,'fin':_0x5cdcc9[_0x45e024(0x164)],'generateMask':this[_0x45e024(0x168)],'mask':_0x5cdcc9[_0x45e024(0xec)],'maskBuffer':this[_0x45e024(0x26c)],'opcode':_0x4046ba,'readOnly':_0x291daf,'rsv1':_0x18479f};_0x769e6e(_0x16b4d3)?this[_0x45e024(0xf5)]!==_0x3b8e2f?this[_0x45e024(0x1a2)]([this['getBlobData'],_0x16b4d3,this['_compress'],_0x4f0a01,_0x49aef9]):this[_0x45e024(0x127)](_0x16b4d3,this[_0x45e024(0x209)],_0x4f0a01,_0x49aef9):this[_0x45e024(0xf5)]!==_0x3b8e2f?this[_0x45e024(0x1a2)]([this[_0x45e024(0x1ba)],_0x16b4d3,this[_0x45e024(0x209)],_0x4f0a01,_0x49aef9]):this['dispatch'](_0x16b4d3,this['_compress'],_0x4f0a01,_0x49aef9);}[_0x433948(0x127)](_0x59f14a,_0x22a7e2,_0x6e216d,_0xa64ae8){const _0x21c522=_0x433948;this[_0x21c522(0xe0)]+=_0x6e216d[_0x56d825],this[_0x21c522(0xf5)]=_0x569fa5,_0x59f14a['arrayBuffer']()[_0x21c522(0x1f6)](_0x15ed60=>{const _0x4cf855=_0x21c522;if(this['_socket'][_0x4cf855(0x116)]){const _0xc8b4b1=new Error(_0x4cf855(0x15b));process[_0x4cf855(0x163)](_0xbcecad,this,_0xc8b4b1,_0xa64ae8);return;}this[_0x4cf855(0xe0)]-=_0x6e216d[_0x56d825];const _0x31b5a8=_0x32e572(_0x15ed60);_0x22a7e2?this[_0x4cf855(0x1ba)](_0x31b5a8,_0x22a7e2,_0x6e216d,_0xa64ae8):(this[_0x4cf855(0xf5)]=_0x3b8e2f,this[_0x4cf855(0x162)](_0x4d5c08[_0x4cf855(0x150)](_0x31b5a8,_0x6e216d),_0xa64ae8),this[_0x4cf855(0x10f)]());})[_0x21c522(0x120)](_0x4f95f7=>{const _0x4fdc8=_0x21c522;process[_0x4fdc8(0x163)](_0x50f77e,this,_0x4f95f7,_0xa64ae8);});}['dispatch'](_0x1670be,_0x498495,_0x390686,_0x20b306){const _0x194fc1=_0x433948;if(!_0x498495){this[_0x194fc1(0x162)](_0x4d5c08['frame'](_0x1670be,_0x390686),_0x20b306);return;}const _0x111404=this['_extensions'][_0xe9db06[_0x194fc1(0x14c)]];this[_0x194fc1(0xe0)]+=_0x390686[_0x56d825],this[_0x194fc1(0xf5)]=_0x1fc173,_0x111404['compress'](_0x1670be,_0x390686[_0x194fc1(0x164)],(_0x5ab428,_0x2f5bd0)=>{const _0x2b174f=_0x194fc1;if(this[_0x2b174f(0x154)][_0x2b174f(0x116)]){const _0x17aa53=new Error(_0x2b174f(0x1bb));_0xbcecad(this,_0x17aa53,_0x20b306);return;}this[_0x2b174f(0xe0)]-=_0x390686[_0x56d825],this[_0x2b174f(0xf5)]=_0x3b8e2f,_0x390686[_0x2b174f(0x10b)]=!0x1,this[_0x2b174f(0x162)](_0x4d5c08[_0x2b174f(0x150)](_0x2f5bd0,_0x390686),_0x20b306),this[_0x2b174f(0x10f)]();});}[_0x433948(0x10f)](){const _0x37d3d2=_0x433948;for(;this[_0x37d3d2(0xf5)]===_0x3b8e2f&&this['_queue'][_0x37d3d2(0x14e)];){const _0x1dec91=this[_0x37d3d2(0x20d)][_0x37d3d2(0x258)]();this['_bufferedBytes']-=_0x1dec91[0x3][_0x56d825],Reflect[_0x37d3d2(0x216)](_0x1dec91[0x0],this,_0x1dec91[_0x37d3d2(0x118)](0x1));}}['enqueue'](_0x29f33a){const _0x4b99a0=_0x433948;this[_0x4b99a0(0xe0)]+=_0x29f33a[0x3][_0x56d825],this[_0x4b99a0(0x20d)][_0x4b99a0(0x278)](_0x29f33a);}[_0x433948(0x162)](_0x2c5a3a,_0x537835){const _0x2b99eb=_0x433948;_0x2c5a3a[_0x2b99eb(0x14e)]===0x2?(this['_socket'][_0x2b99eb(0xcd)](),this['_socket'][_0x2b99eb(0x1da)](_0x2c5a3a[0x0]),this[_0x2b99eb(0x154)]['write'](_0x2c5a3a[0x1],_0x537835),this[_0x2b99eb(0x154)][_0x2b99eb(0x1c8)]()):this[_0x2b99eb(0x154)]['write'](_0x2c5a3a[0x0],_0x537835);}}Ee=_0x4d5c08;function _0xbcecad(_0x4642da,_0x351288,_0x3e6bba){const _0x329743=_0x433948;typeof _0x3e6bba==_0x329743(0x1a6)&&_0x3e6bba(_0x351288);for(let _0xf08da9=0x0;_0xf08da9<_0x4642da[_0x329743(0x20d)][_0x329743(0x14e)];_0xf08da9++){const _0x4b6d62=_0x4642da[_0x329743(0x20d)][_0xf08da9],_0x4e6b6a=_0x4b6d62[_0x4b6d62['length']-0x1];typeof _0x4e6b6a==_0x329743(0x1a6)&&_0x4e6b6a(_0x351288);}}function _0x50f77e(_0x90eb00,_0x49a032,_0xa7fdc3){const _0x4371c6=_0x433948;_0xbcecad(_0x90eb00,_0x49a032,_0xa7fdc3),_0x90eb00[_0x4371c6(0x24f)](_0x49a032);}return Ee;}var xe,tt;function Kt(){const _0x228667=_0x5dc2c6;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x5b06c1,kListener:_0x50e36d}=V(),_0x1a09d3=Symbol(_0x228667(0xd6)),_0x6a28b=Symbol('kData'),_0x46df02=Symbol(_0x228667(0x22c)),_0x14448e=Symbol(_0x228667(0x241)),_0x24cd12=Symbol('kReason'),_0x52ffbe=Symbol(_0x228667(0x1be)),_0x5af559=Symbol(_0x228667(0x1bf)),_0x219e03=Symbol('kWasClean');class _0x57bfcd{constructor(_0x1e2f55){this[_0x52ffbe]=null,this[_0x5af559]=_0x1e2f55;}get['target'](){return this[_0x52ffbe];}get[_0x228667(0x16e)](){return this[_0x5af559];}}Object[_0x228667(0x1f2)](_0x57bfcd[_0x228667(0x1a7)],_0x228667(0x130),{'enumerable':!0x0}),Object[_0x228667(0x1f2)](_0x57bfcd['prototype'],'type',{'enumerable':!0x0});class _0x491c50 extends _0x57bfcd{constructor(_0xd5a39c,_0x557395={}){const _0x1891a5=_0x228667;super(_0xd5a39c),this[_0x1a09d3]=_0x557395[_0x1891a5(0x262)]===void 0x0?0x0:_0x557395[_0x1891a5(0x262)],this[_0x24cd12]=_0x557395[_0x1891a5(0x1cb)]===void 0x0?'':_0x557395[_0x1891a5(0x1cb)],this[_0x219e03]=_0x557395[_0x1891a5(0x181)]===void 0x0?!0x1:_0x557395[_0x1891a5(0x181)];}get['code'](){return this[_0x1a09d3];}get[_0x228667(0x1cb)](){return this[_0x24cd12];}get[_0x228667(0x181)](){return this[_0x219e03];}}Object[_0x228667(0x1f2)](_0x491c50[_0x228667(0x1a7)],_0x228667(0x262),{'enumerable':!0x0}),Object[_0x228667(0x1f2)](_0x491c50[_0x228667(0x1a7)],_0x228667(0x1cb),{'enumerable':!0x0}),Object[_0x228667(0x1f2)](_0x491c50[_0x228667(0x1a7)],_0x228667(0x181),{'enumerable':!0x0});class _0x204b50 extends _0x57bfcd{constructor(_0x49ccc1,_0x3a926d={}){const _0x1fa72d=_0x228667;super(_0x49ccc1),this[_0x46df02]=_0x3a926d[_0x1fa72d(0xef)]===void 0x0?null:_0x3a926d[_0x1fa72d(0xef)],this[_0x14448e]=_0x3a926d['message']===void 0x0?'':_0x3a926d[_0x1fa72d(0x1ff)];}get[_0x228667(0xef)](){return this[_0x46df02];}get[_0x228667(0x1ff)](){return this[_0x14448e];}}Object['defineProperty'](_0x204b50[_0x228667(0x1a7)],_0x228667(0xef),{'enumerable':!0x0}),Object[_0x228667(0x1f2)](_0x204b50[_0x228667(0x1a7)],_0x228667(0x1ff),{'enumerable':!0x0});class _0x5ed08e extends _0x57bfcd{constructor(_0x4b366b,_0x2ac369={}){const _0x5b7f21=_0x228667;super(_0x4b366b),this[_0x6a28b]=_0x2ac369[_0x5b7f21(0x1b1)]===void 0x0?null:_0x2ac369[_0x5b7f21(0x1b1)];}get['data'](){return this[_0x6a28b];}}Object[_0x228667(0x1f2)](_0x5ed08e['prototype'],_0x228667(0x1b1),{'enumerable':!0x0}),xe={'CloseEvent':_0x491c50,'ErrorEvent':_0x204b50,'Event':_0x57bfcd,'EventTarget':{'addEventListener'(_0x5d7726,_0x5efd9a,_0x26ad40={}){const _0x28da25=_0x228667;for(const _0x2d1029 of this[_0x28da25(0x1fa)](_0x5d7726))if(!_0x26ad40[_0x5b06c1]&&_0x2d1029[_0x50e36d]===_0x5efd9a&&!_0x2d1029[_0x5b06c1])return;let _0x42e803;if(_0x5d7726===_0x28da25(0x1ff))_0x42e803=function(_0x4938eb,_0x3346b5){const _0x12a8c2=_0x28da25,_0x57bfdf=new _0x5ed08e(_0x12a8c2(0x1ff),{'data':_0x3346b5?_0x4938eb:_0x4938eb[_0x12a8c2(0x1ed)]()});_0x57bfdf[_0x52ffbe]=this,_0x4626ab(_0x5efd9a,this,_0x57bfdf);};else{if(_0x5d7726===_0x28da25(0x206))_0x42e803=function(_0x387424,_0x589a3b){const _0xfcaef5=_0x28da25,_0x201488=new _0x491c50(_0xfcaef5(0x206),{'code':_0x387424,'reason':_0x589a3b[_0xfcaef5(0x1ed)](),'wasClean':this['_closeFrameReceived']&&this[_0xfcaef5(0x13e)]});_0x201488[_0x52ffbe]=this,_0x4626ab(_0x5efd9a,this,_0x201488);};else{if(_0x5d7726==='error')_0x42e803=function(_0x19716b){const _0x1a5e35=_0x28da25,_0x45daee=new _0x204b50(_0x1a5e35(0xef),{'error':_0x19716b,'message':_0x19716b[_0x1a5e35(0x1ff)]});_0x45daee[_0x52ffbe]=this,_0x4626ab(_0x5efd9a,this,_0x45daee);};else{if(_0x5d7726===_0x28da25(0x132))_0x42e803=function(){const _0x507f67=_0x28da25,_0x8ced8=new _0x57bfcd(_0x507f67(0x132));_0x8ced8[_0x52ffbe]=this,_0x4626ab(_0x5efd9a,this,_0x8ced8);};else return;}}}_0x42e803[_0x5b06c1]=!!_0x26ad40[_0x5b06c1],_0x42e803[_0x50e36d]=_0x5efd9a,_0x26ad40[_0x28da25(0x21b)]?this[_0x28da25(0x21b)](_0x5d7726,_0x42e803):this['on'](_0x5d7726,_0x42e803);},'removeEventListener'(_0x2f7976,_0x4c940a){const _0x247269=_0x228667;for(const _0x2fc2fd of this[_0x247269(0x1fa)](_0x2f7976))if(_0x2fc2fd[_0x50e36d]===_0x4c940a&&!_0x2fc2fd[_0x5b06c1]){this[_0x247269(0x148)](_0x2f7976,_0x2fc2fd);break;}}},'MessageEvent':_0x5ed08e};function _0x4626ab(_0x193d4b,_0x39f937,_0x33ba67){const _0x38184b=_0x228667;typeof _0x193d4b=='object'&&_0x193d4b[_0x38184b(0x19a)]?_0x193d4b[_0x38184b(0x19a)][_0x38184b(0xf4)](_0x193d4b,_0x33ba67):_0x193d4b[_0x38184b(0xf4)](_0x39f937,_0x33ba67);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x2235f6}=ne();function _0x586f0d(_0x17ac4b,_0x2f00f7,_0x5b6d3a){const _0x1a14c1=_0x593c;_0x17ac4b[_0x2f00f7]===void 0x0?_0x17ac4b[_0x2f00f7]=[_0x5b6d3a]:_0x17ac4b[_0x2f00f7][_0x1a14c1(0x278)](_0x5b6d3a);}function _0x35e990(_0x1bce98){const _0xb43c5=_0x593c,_0xf2fe49=Object['create'](null);let _0xb3666a=Object[_0xb43c5(0x1a9)](null),_0x163c9b=!0x1,_0x268d8b=!0x1,_0x292884=!0x1,_0x13cbae,_0x287be6,_0x5a4cf8=-0x1,_0x3c3f8f=-0x1,_0x56ff99=-0x1,_0x2732a7=0x0;for(;_0x2732a7<_0x1bce98[_0xb43c5(0x14e)];_0x2732a7++)if(_0x3c3f8f=_0x1bce98['charCodeAt'](_0x2732a7),_0x13cbae===void 0x0){if(_0x56ff99===-0x1&&_0x2235f6[_0x3c3f8f]===0x1)_0x5a4cf8===-0x1&&(_0x5a4cf8=_0x2732a7);else{if(_0x2732a7!==0x0&&(_0x3c3f8f===0x20||_0x3c3f8f===0x9))_0x56ff99===-0x1&&_0x5a4cf8!==-0x1&&(_0x56ff99=_0x2732a7);else{if(_0x3c3f8f===0x3b||_0x3c3f8f===0x2c){if(_0x5a4cf8===-0x1)throw new SyntaxError(_0xb43c5(0x106)+_0x2732a7);_0x56ff99===-0x1&&(_0x56ff99=_0x2732a7);const _0x162017=_0x1bce98[_0xb43c5(0x118)](_0x5a4cf8,_0x56ff99);_0x3c3f8f===0x2c?(_0x586f0d(_0xf2fe49,_0x162017,_0xb3666a),_0xb3666a=Object['create'](null)):_0x13cbae=_0x162017,_0x5a4cf8=_0x56ff99=-0x1;}else throw new SyntaxError(_0xb43c5(0x106)+_0x2732a7);}}}else{if(_0x287be6===void 0x0){if(_0x56ff99===-0x1&&_0x2235f6[_0x3c3f8f]===0x1)_0x5a4cf8===-0x1&&(_0x5a4cf8=_0x2732a7);else{if(_0x3c3f8f===0x20||_0x3c3f8f===0x9)_0x56ff99===-0x1&&_0x5a4cf8!==-0x1&&(_0x56ff99=_0x2732a7);else{if(_0x3c3f8f===0x3b||_0x3c3f8f===0x2c){if(_0x5a4cf8===-0x1)throw new SyntaxError(_0xb43c5(0x106)+_0x2732a7);_0x56ff99===-0x1&&(_0x56ff99=_0x2732a7),_0x586f0d(_0xb3666a,_0x1bce98[_0xb43c5(0x118)](_0x5a4cf8,_0x56ff99),!0x0),_0x3c3f8f===0x2c&&(_0x586f0d(_0xf2fe49,_0x13cbae,_0xb3666a),_0xb3666a=Object['create'](null),_0x13cbae=void 0x0),_0x5a4cf8=_0x56ff99=-0x1;}else{if(_0x3c3f8f===0x3d&&_0x5a4cf8!==-0x1&&_0x56ff99===-0x1)_0x287be6=_0x1bce98[_0xb43c5(0x118)](_0x5a4cf8,_0x2732a7),_0x5a4cf8=_0x56ff99=-0x1;else throw new SyntaxError(_0xb43c5(0x106)+_0x2732a7);}}}}else{if(_0x268d8b){if(_0x2235f6[_0x3c3f8f]!==0x1)throw new SyntaxError(_0xb43c5(0x106)+_0x2732a7);_0x5a4cf8===-0x1?_0x5a4cf8=_0x2732a7:_0x163c9b||(_0x163c9b=!0x0),_0x268d8b=!0x1;}else{if(_0x292884){if(_0x2235f6[_0x3c3f8f]===0x1)_0x5a4cf8===-0x1&&(_0x5a4cf8=_0x2732a7);else{if(_0x3c3f8f===0x22&&_0x5a4cf8!==-0x1)_0x292884=!0x1,_0x56ff99=_0x2732a7;else{if(_0x3c3f8f===0x5c)_0x268d8b=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2732a7);}}}else{if(_0x3c3f8f===0x22&&_0x1bce98[_0xb43c5(0x21f)](_0x2732a7-0x1)===0x3d)_0x292884=!0x0;else{if(_0x56ff99===-0x1&&_0x2235f6[_0x3c3f8f]===0x1)_0x5a4cf8===-0x1&&(_0x5a4cf8=_0x2732a7);else{if(_0x5a4cf8!==-0x1&&(_0x3c3f8f===0x20||_0x3c3f8f===0x9))_0x56ff99===-0x1&&(_0x56ff99=_0x2732a7);else{if(_0x3c3f8f===0x3b||_0x3c3f8f===0x2c){if(_0x5a4cf8===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2732a7);_0x56ff99===-0x1&&(_0x56ff99=_0x2732a7);let _0x5ef46e=_0x1bce98[_0xb43c5(0x118)](_0x5a4cf8,_0x56ff99);_0x163c9b&&(_0x5ef46e=_0x5ef46e[_0xb43c5(0x1ae)](/\\/g,''),_0x163c9b=!0x1),_0x586f0d(_0xb3666a,_0x287be6,_0x5ef46e),_0x3c3f8f===0x2c&&(_0x586f0d(_0xf2fe49,_0x13cbae,_0xb3666a),_0xb3666a=Object['create'](null),_0x13cbae=void 0x0),_0x287be6=void 0x0,_0x5a4cf8=_0x56ff99=-0x1;}else throw new SyntaxError(_0xb43c5(0x106)+_0x2732a7);}}}}}}}if(_0x5a4cf8===-0x1||_0x292884||_0x3c3f8f===0x20||_0x3c3f8f===0x9)throw new SyntaxError(_0xb43c5(0x124));_0x56ff99===-0x1&&(_0x56ff99=_0x2732a7);const _0x1fa09e=_0x1bce98['slice'](_0x5a4cf8,_0x56ff99);return _0x13cbae===void 0x0?_0x586f0d(_0xf2fe49,_0x1fa09e,_0xb3666a):(_0x287be6===void 0x0?_0x586f0d(_0xb3666a,_0x1fa09e,!0x0):_0x163c9b?_0x586f0d(_0xb3666a,_0x287be6,_0x1fa09e['replace'](/\\/g,'')):_0x586f0d(_0xb3666a,_0x287be6,_0x1fa09e),_0x586f0d(_0xf2fe49,_0x13cbae,_0xb3666a)),_0xf2fe49;}function _0xa7cf50(_0x5b71c3){const _0x4cf8d4=_0x593c;return Object[_0x4cf8d4(0x1ef)](_0x5b71c3)[_0x4cf8d4(0x1ad)](_0x142eea=>{const _0x24aa67=_0x4cf8d4;let _0x318441=_0x5b71c3[_0x142eea];return Array['isArray'](_0x318441)||(_0x318441=[_0x318441]),_0x318441['map'](_0x5389f2=>[_0x142eea][_0x24aa67(0x198)](Object[_0x24aa67(0x1ef)](_0x5389f2)['map'](_0x4626a2=>{const _0xf505da=_0x24aa67;let _0x255af1=_0x5389f2[_0x4626a2];return Array[_0xf505da(0x1c0)](_0x255af1)||(_0x255af1=[_0x255af1]),_0x255af1[_0xf505da(0x1ad)](_0x57f0c0=>_0x57f0c0===!0x0?_0x4626a2:_0x4626a2+'='+_0x57f0c0)[_0xf505da(0x243)](';\x20');}))[_0x24aa67(0x243)](';\x20'))[_0x24aa67(0x243)](',\x20');})['join'](',\x20');}return be={'format':_0xa7cf50,'parse':_0x35e990},be;}var we,st;function Ie(){const _0x2545c6=_0x5dc2c6;if(st)return we;st=0x1;const _0x24168c=_0x19b6ee,_0x5a0cd9=_0x152c82,_0xd93122=_0x4c8a68,_0x2fbc60=_0x2ca8de,_0x35e5cf=_0xc5456e,{randomBytes:_0x86ecc2,createHash:_0xb9bd8f}=_0x358c53,{Duplex:_0x466253,Readable:_0x1fbc3e}=_0x179a1c,{URL:_0x45ee79}=_0x4ceeef,_0x1110b3=he(),_0x5a78d3=dt(),_0x2ba4a8=_t(),{isBlob:_0x59c288}=ne(),{BINARY_TYPES:_0x103f17,EMPTY_BUFFER:_0x33eb62,GUID:_0x322157,kForOnEventAttribute:_0x1f6e2b,kListener:_0x59af98,kStatusCode:_0x3177af,kWebSocket:_0x39645c,NOOP:_0x4b048f}=V(),{EventTarget:{addEventListener:_0x1fc923,removeEventListener:_0x5f5763}}=Kt(),{format:_0x1ad323,parse:_0x2e6ca8}=pt(),{toBuffer:_0x475a69}=ce(),_0x317c36=0x1e*0x3e8,_0x14c5ab=Symbol(_0x2545c6(0x242)),_0x55eb96=[0x8,0xd],_0xa02586=[_0x2545c6(0xfa),_0x2545c6(0x191),_0x2545c6(0x1ea),_0x2545c6(0x1f3)],_0x59c159=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x2cf6d3 extends _0x24168c{constructor(_0x4432aa,_0xa44b8a,_0x24d93f){const _0x400329=_0x2545c6;super(),this[_0x400329(0x237)]=_0x103f17[0x0],this[_0x400329(0x244)]=0x3ee,this[_0x400329(0x12a)]=!0x1,this[_0x400329(0x13e)]=!0x1,this[_0x400329(0x192)]=_0x33eb62,this[_0x400329(0x12c)]=null,this['_errorEmitted']=!0x1,this['_extensions']={},this[_0x400329(0x105)]=!0x1,this[_0x400329(0x104)]='',this[_0x400329(0x17d)]=_0x2cf6d3['CONNECTING'],this['_receiver']=null,this[_0x400329(0x16a)]=null,this[_0x400329(0x154)]=null,_0x4432aa!==null?(this[_0x400329(0x269)]=0x0,this[_0x400329(0x136)]=!0x1,this[_0x400329(0x250)]=0x0,_0xa44b8a===void 0x0?_0xa44b8a=[]:Array['isArray'](_0xa44b8a)||(typeof _0xa44b8a==_0x400329(0x273)&&_0xa44b8a!==null?(_0x24d93f=_0xa44b8a,_0xa44b8a=[]):_0xa44b8a=[_0xa44b8a]),_0x22df68(this,_0x4432aa,_0xa44b8a,_0x24d93f)):(this['_autoPong']=_0x24d93f[_0x400329(0x117)],this['_isServer']=!0x0);}get[_0x2545c6(0x212)](){return this['_binaryType'];}set[_0x2545c6(0x212)](_0x1270c4){const _0x21fec8=_0x2545c6;_0x103f17[_0x21fec8(0x1bd)](_0x1270c4)&&(this[_0x21fec8(0x237)]=_0x1270c4,this[_0x21fec8(0x218)]&&(this[_0x21fec8(0x218)][_0x21fec8(0x237)]=_0x1270c4));}get[_0x2545c6(0x1f0)](){const _0x3a2316=_0x2545c6;return this[_0x3a2316(0x154)]?this[_0x3a2316(0x154)][_0x3a2316(0x20c)]['length']+this[_0x3a2316(0x16a)]['_bufferedBytes']:this[_0x3a2316(0x269)];}get[_0x2545c6(0x254)](){const _0xd41be4=_0x2545c6;return Object[_0xd41be4(0x1ef)](this[_0xd41be4(0x146)])[_0xd41be4(0x243)]();}get[_0x2545c6(0x17c)](){const _0x24bac=_0x2545c6;return this[_0x24bac(0x105)];}get[_0x2545c6(0x211)](){return null;}get['onerror'](){return null;}get['onopen'](){return null;}get[_0x2545c6(0x271)](){return null;}get[_0x2545c6(0xe7)](){return this['_protocol'];}get[_0x2545c6(0x217)](){const _0x397653=_0x2545c6;return this[_0x397653(0x17d)];}get['url'](){return this['_url'];}[_0x2545c6(0x16f)](_0x375c65,_0x35ee5f,_0x4de631){const _0x552933=_0x2545c6,_0x2dc7b5=new _0x5a78d3({'allowSynchronousEvents':_0x4de631[_0x552933(0x19f)],'binaryType':this[_0x552933(0x212)],'extensions':this[_0x552933(0x146)],'isServer':this[_0x552933(0x136)],'maxPayload':_0x4de631[_0x552933(0x14f)],'skipUTF8Validation':_0x4de631[_0x552933(0xd7)]}),_0x42f301=new _0x2ba4a8(_0x375c65,this[_0x552933(0x146)],_0x4de631[_0x552933(0x1ca)]);this[_0x552933(0x218)]=_0x2dc7b5,this['_sender']=_0x42f301,this[_0x552933(0x154)]=_0x375c65,_0x2dc7b5[_0x39645c]=this,_0x42f301[_0x39645c]=this,_0x375c65[_0x39645c]=this,_0x2dc7b5['on']('conclude',_0x1a2372),_0x2dc7b5['on'](_0x552933(0xe4),_0x39cbd0),_0x2dc7b5['on'](_0x552933(0xef),_0x74e95f),_0x2dc7b5['on'](_0x552933(0x1ff),_0x1ca888),_0x2dc7b5['on'](_0x552933(0x149),_0x47a9dd),_0x2dc7b5['on'](_0x552933(0x138),_0x28fa4c),_0x42f301[_0x552933(0x24f)]=_0x2cd531,_0x375c65[_0x552933(0x16c)]&&_0x375c65[_0x552933(0x16c)](0x0),_0x375c65[_0x552933(0x22b)]&&_0x375c65[_0x552933(0x22b)](),_0x35ee5f[_0x552933(0x14e)]>0x0&&_0x375c65['unshift'](_0x35ee5f),_0x375c65['on'](_0x552933(0x206),_0x42b9d1),_0x375c65['on'](_0x552933(0x1b1),_0x4b5f4a),_0x375c65['on']('end',_0x4a9df7),_0x375c65['on'](_0x552933(0xef),_0xde5e26),this[_0x552933(0x17d)]=_0x2cf6d3[_0x552933(0x191)],this['emit'](_0x552933(0x132));}[_0x2545c6(0x113)](){const _0xf0024c=_0x2545c6;if(!this[_0xf0024c(0x154)]){this[_0xf0024c(0x17d)]=_0x2cf6d3[_0xf0024c(0x1f3)],this['emit'](_0xf0024c(0x206),this['_closeCode'],this[_0xf0024c(0x192)]);return;}this[_0xf0024c(0x146)][_0x1110b3['extensionName']]&&this[_0xf0024c(0x146)][_0x1110b3[_0xf0024c(0x14c)]][_0xf0024c(0x19b)](),this[_0xf0024c(0x218)]['removeAllListeners'](),this[_0xf0024c(0x17d)]=_0x2cf6d3['CLOSED'],this[_0xf0024c(0x152)](_0xf0024c(0x206),this[_0xf0024c(0x244)],this[_0xf0024c(0x192)]);}[_0x2545c6(0x206)](_0xec0814,_0x3c985e){const _0x3ecc25=_0x2545c6;if(this[_0x3ecc25(0x217)]!==_0x2cf6d3[_0x3ecc25(0x1f3)]){if(this[_0x3ecc25(0x217)]===_0x2cf6d3[_0x3ecc25(0xfa)]){_0x14f860(this,this[_0x3ecc25(0x111)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x3ecc25(0x217)]===_0x2cf6d3['CLOSING']){this['_closeFrameSent']&&(this['_closeFrameReceived']||this[_0x3ecc25(0x218)][_0x3ecc25(0x20c)][_0x3ecc25(0x103)])&&this[_0x3ecc25(0x154)][_0x3ecc25(0x1f9)]();return;}this[_0x3ecc25(0x17d)]=_0x2cf6d3['CLOSING'],this[_0x3ecc25(0x16a)][_0x3ecc25(0x206)](_0xec0814,_0x3c985e,!this[_0x3ecc25(0x136)],_0x4ec826=>{const _0x4ea7f9=_0x3ecc25;_0x4ec826||(this['_closeFrameSent']=!0x0,(this[_0x4ea7f9(0x12a)]||this['_receiver']['_writableState'][_0x4ea7f9(0x103)])&&this[_0x4ea7f9(0x154)]['end']());}),_0x436335(this);}}[_0x2545c6(0x240)](){const _0x200a8e=_0x2545c6;this[_0x200a8e(0x217)]===_0x2cf6d3['CONNECTING']||this['readyState']===_0x2cf6d3[_0x200a8e(0x1f3)]||(this[_0x200a8e(0x105)]=!0x0,this[_0x200a8e(0x154)][_0x200a8e(0x240)]());}[_0x2545c6(0x149)](_0x33d9c2,_0x440d51,_0x8eefa1){const _0x5d5350=_0x2545c6;if(this[_0x5d5350(0x217)]===_0x2cf6d3[_0x5d5350(0xfa)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x33d9c2==_0x5d5350(0x1a6)?(_0x8eefa1=_0x33d9c2,_0x33d9c2=_0x440d51=void 0x0):typeof _0x440d51==_0x5d5350(0x1a6)&&(_0x8eefa1=_0x440d51,_0x440d51=void 0x0),typeof _0x33d9c2=='number'&&(_0x33d9c2=_0x33d9c2[_0x5d5350(0x1ed)]()),this[_0x5d5350(0x217)]!==_0x2cf6d3[_0x5d5350(0x191)]){_0x35385f(this,_0x33d9c2,_0x8eefa1);return;}_0x440d51===void 0x0&&(_0x440d51=!this[_0x5d5350(0x136)]),this['_sender'][_0x5d5350(0x149)](_0x33d9c2||_0x33eb62,_0x440d51,_0x8eefa1);}['pong'](_0x322495,_0x5727a7,_0xfb23fe){const _0x27c645=_0x2545c6;if(this[_0x27c645(0x217)]===_0x2cf6d3[_0x27c645(0xfa)])throw new Error(_0x27c645(0xd1));if(typeof _0x322495==_0x27c645(0x1a6)?(_0xfb23fe=_0x322495,_0x322495=_0x5727a7=void 0x0):typeof _0x5727a7==_0x27c645(0x1a6)&&(_0xfb23fe=_0x5727a7,_0x5727a7=void 0x0),typeof _0x322495==_0x27c645(0x205)&&(_0x322495=_0x322495[_0x27c645(0x1ed)]()),this[_0x27c645(0x217)]!==_0x2cf6d3['OPEN']){_0x35385f(this,_0x322495,_0xfb23fe);return;}_0x5727a7===void 0x0&&(_0x5727a7=!this['_isServer']),this[_0x27c645(0x16a)][_0x27c645(0x138)](_0x322495||_0x33eb62,_0x5727a7,_0xfb23fe);}[_0x2545c6(0x245)](){const _0x28f8bb=_0x2545c6;this[_0x28f8bb(0x217)]===_0x2cf6d3[_0x28f8bb(0xfa)]||this[_0x28f8bb(0x217)]===_0x2cf6d3['CLOSED']||(this['_paused']=!0x1,this[_0x28f8bb(0x218)][_0x28f8bb(0x20c)]['needDrain']||this[_0x28f8bb(0x154)][_0x28f8bb(0x245)]());}[_0x2545c6(0xea)](_0xa37970,_0x5a3c7c,_0x2c9e9d){const _0x392b08=_0x2545c6;if(this[_0x392b08(0x217)]===_0x2cf6d3[_0x392b08(0xfa)])throw new Error(_0x392b08(0xd1));if(typeof _0x5a3c7c==_0x392b08(0x1a6)&&(_0x2c9e9d=_0x5a3c7c,_0x5a3c7c={}),typeof _0xa37970==_0x392b08(0x205)&&(_0xa37970=_0xa37970[_0x392b08(0x1ed)]()),this['readyState']!==_0x2cf6d3[_0x392b08(0x191)]){_0x35385f(this,_0xa37970,_0x2c9e9d);return;}const _0x46ee75={'binary':typeof _0xa37970!='string','mask':!this[_0x392b08(0x136)],'compress':!0x0,'fin':!0x0,..._0x5a3c7c};this['_extensions'][_0x1110b3[_0x392b08(0x14c)]]||(_0x46ee75[_0x392b08(0x259)]=!0x1),this[_0x392b08(0x16a)][_0x392b08(0xea)](_0xa37970||_0x33eb62,_0x46ee75,_0x2c9e9d);}['terminate'](){const _0x35a6d3=_0x2545c6;if(this['readyState']!==_0x2cf6d3[_0x35a6d3(0x1f3)]){if(this[_0x35a6d3(0x217)]===_0x2cf6d3['CONNECTING']){_0x14f860(this,this[_0x35a6d3(0x111)],_0x35a6d3(0x1fc));return;}this[_0x35a6d3(0x154)]&&(this[_0x35a6d3(0x17d)]=_0x2cf6d3[_0x35a6d3(0x1ea)],this[_0x35a6d3(0x154)][_0x35a6d3(0x1b6)]());}}}Object[_0x2545c6(0x1f2)](_0x2cf6d3,_0x2545c6(0xfa),{'enumerable':!0x0,'value':_0xa02586[_0x2545c6(0x12e)](_0x2545c6(0xfa))}),Object[_0x2545c6(0x1f2)](_0x2cf6d3[_0x2545c6(0x1a7)],_0x2545c6(0xfa),{'enumerable':!0x0,'value':_0xa02586['indexOf'](_0x2545c6(0xfa))}),Object[_0x2545c6(0x1f2)](_0x2cf6d3,_0x2545c6(0x191),{'enumerable':!0x0,'value':_0xa02586[_0x2545c6(0x12e)](_0x2545c6(0x191))}),Object['defineProperty'](_0x2cf6d3['prototype'],_0x2545c6(0x191),{'enumerable':!0x0,'value':_0xa02586[_0x2545c6(0x12e)](_0x2545c6(0x191))}),Object[_0x2545c6(0x1f2)](_0x2cf6d3,_0x2545c6(0x1ea),{'enumerable':!0x0,'value':_0xa02586[_0x2545c6(0x12e)](_0x2545c6(0x1ea))}),Object[_0x2545c6(0x1f2)](_0x2cf6d3['prototype'],_0x2545c6(0x1ea),{'enumerable':!0x0,'value':_0xa02586[_0x2545c6(0x12e)](_0x2545c6(0x1ea))}),Object['defineProperty'](_0x2cf6d3,'CLOSED',{'enumerable':!0x0,'value':_0xa02586['indexOf'](_0x2545c6(0x1f3))}),Object[_0x2545c6(0x1f2)](_0x2cf6d3[_0x2545c6(0x1a7)],_0x2545c6(0x1f3),{'enumerable':!0x0,'value':_0xa02586[_0x2545c6(0x12e)](_0x2545c6(0x1f3))}),[_0x2545c6(0x212),_0x2545c6(0x1f0),_0x2545c6(0x254),_0x2545c6(0x17c),'protocol','readyState',_0x2545c6(0x160)]['forEach'](_0x3ad145=>{const _0x4b0c4f=_0x2545c6;Object[_0x4b0c4f(0x1f2)](_0x2cf6d3[_0x4b0c4f(0x1a7)],_0x3ad145,{'enumerable':!0x0});}),['open',_0x2545c6(0xef),_0x2545c6(0x206),_0x2545c6(0x1ff)][_0x2545c6(0x159)](_0x474239=>{const _0x3be851=_0x2545c6;Object[_0x3be851(0x1f2)](_0x2cf6d3[_0x3be851(0x1a7)],'on'+_0x474239,{'enumerable':!0x0,'get'(){const _0x61fe8=_0x3be851;for(const _0x3ac351 of this[_0x61fe8(0x1fa)](_0x474239))if(_0x3ac351[_0x1f6e2b])return _0x3ac351[_0x59af98];return null;},'set'(_0x2896dd){const _0x5a09d0=_0x3be851;for(const _0x36f7b2 of this[_0x5a09d0(0x1fa)](_0x474239))if(_0x36f7b2[_0x1f6e2b]){this[_0x5a09d0(0x148)](_0x474239,_0x36f7b2);break;}typeof _0x2896dd==_0x5a09d0(0x1a6)&&this[_0x5a09d0(0x266)](_0x474239,_0x2896dd,{[_0x1f6e2b]:!0x0});}});}),_0x2cf6d3['prototype']['addEventListener']=_0x1fc923,_0x2cf6d3['prototype']['removeEventListener']=_0x5f5763,we=_0x2cf6d3;function _0x22df68(_0x7a05c7,_0x129072,_0xaa6752,_0x4349fb){const _0xd388fb=_0x2545c6,_0x5a31b5={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x55eb96[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x4349fb,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0xd388fb(0x208),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x7a05c7[_0xd388fb(0x252)]=_0x5a31b5[_0xd388fb(0x117)],!_0x55eb96[_0xd388fb(0x1bd)](_0x5a31b5[_0xd388fb(0xee)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x5a31b5[_0xd388fb(0xee)]+'\x20(supported\x20versions:\x20'+_0x55eb96[_0xd388fb(0x243)](',\x20')+')');let _0xec467f;if(_0x129072 instanceof _0x45ee79)_0xec467f=_0x129072;else try{_0xec467f=new _0x45ee79(_0x129072);}catch{throw new SyntaxError(_0xd388fb(0xfe)+_0x129072);}_0xec467f[_0xd388fb(0xe7)]===_0xd388fb(0x119)?_0xec467f[_0xd388fb(0xe7)]=_0xd388fb(0x128):_0xec467f['protocol']===_0xd388fb(0x11a)&&(_0xec467f[_0xd388fb(0xe7)]='wss:'),_0x7a05c7[_0xd388fb(0x178)]=_0xec467f['href'];const _0x299c56=_0xec467f[_0xd388fb(0xe7)]===_0xd388fb(0x1dc),_0x5ca935=_0xec467f[_0xd388fb(0xe7)]===_0xd388fb(0x151);let _0x15c545;if(_0xec467f[_0xd388fb(0xe7)]!==_0xd388fb(0x128)&&!_0x299c56&&!_0x5ca935?_0x15c545=_0xd388fb(0xd8):_0x5ca935&&!_0xec467f[_0xd388fb(0x235)]?_0x15c545=_0xd388fb(0x249):_0xec467f[_0xd388fb(0x112)]&&(_0x15c545='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x15c545){const _0x1f4a31=new SyntaxError(_0x15c545);if(_0x7a05c7[_0xd388fb(0x250)]===0x0)throw _0x1f4a31;_0x5c25ee(_0x7a05c7,_0x1f4a31);return;}const _0x1b2e97=_0x299c56?0x1bb:0x50,_0x421d84=_0x86ecc2(0x10)[_0xd388fb(0x1ed)](_0xd388fb(0xf9)),_0x3f7302=_0x299c56?_0x5a0cd9[_0xd388fb(0x1cc)]:_0xd93122['request'],_0xde02a3=new Set();let _0x56ef26;if(_0x5a31b5['createConnection']=_0x5a31b5[_0xd388fb(0x133)]||(_0x299c56?_0x3af23e:_0x438b61),_0x5a31b5['defaultPort']=_0x5a31b5[_0xd388fb(0x1a4)]||_0x1b2e97,_0x5a31b5[_0xd388fb(0x121)]=_0xec467f[_0xd388fb(0x121)]||_0x1b2e97,_0x5a31b5[_0xd388fb(0x108)]=_0xec467f[_0xd388fb(0x26e)][_0xd388fb(0xd0)]('[')?_0xec467f[_0xd388fb(0x26e)][_0xd388fb(0x118)](0x1,-0x1):_0xec467f['hostname'],_0x5a31b5[_0xd388fb(0x26a)]={..._0x5a31b5[_0xd388fb(0x26a)],'Sec-WebSocket-Version':_0x5a31b5[_0xd388fb(0xee)],'Sec-WebSocket-Key':_0x421d84,'Connection':'Upgrade','Upgrade':'websocket'},_0x5a31b5[_0xd388fb(0x110)]=_0xec467f[_0xd388fb(0x235)]+_0xec467f[_0xd388fb(0x264)],_0x5a31b5[_0xd388fb(0x14a)]=_0x5a31b5[_0xd388fb(0x134)],_0x5a31b5[_0xd388fb(0x1dd)]&&(_0x56ef26=new _0x1110b3(_0x5a31b5[_0xd388fb(0x1dd)]!==!0x0?_0x5a31b5[_0xd388fb(0x1dd)]:{},!0x1,_0x5a31b5[_0xd388fb(0x14f)]),_0x5a31b5[_0xd388fb(0x26a)]['Sec-WebSocket-Extensions']=_0x1ad323({[_0x1110b3[_0xd388fb(0x14c)]]:_0x56ef26[_0xd388fb(0x25f)]()})),_0xaa6752[_0xd388fb(0x14e)]){for(const _0x5dc3b9 of _0xaa6752){if(typeof _0x5dc3b9!=_0xd388fb(0x15f)||!_0x59c159['test'](_0x5dc3b9)||_0xde02a3[_0xd388fb(0xe6)](_0x5dc3b9))throw new SyntaxError(_0xd388fb(0x257));_0xde02a3[_0xd388fb(0x123)](_0x5dc3b9);}_0x5a31b5[_0xd388fb(0x26a)][_0xd388fb(0x13f)]=_0xaa6752['join'](',');}if(_0x5a31b5['origin']&&(_0x5a31b5[_0xd388fb(0xee)]<0xd?_0x5a31b5[_0xd388fb(0x26a)][_0xd388fb(0x1fb)]=_0x5a31b5[_0xd388fb(0x135)]:_0x5a31b5[_0xd388fb(0x26a)][_0xd388fb(0x1a5)]=_0x5a31b5[_0xd388fb(0x135)]),(_0xec467f[_0xd388fb(0xe9)]||_0xec467f['password'])&&(_0x5a31b5['auth']=_0xec467f[_0xd388fb(0xe9)]+':'+_0xec467f['password']),_0x5ca935){const _0x26a111=_0x5a31b5[_0xd388fb(0x110)][_0xd388fb(0xcc)](':');_0x5a31b5[_0xd388fb(0x157)]=_0x26a111[0x0],_0x5a31b5[_0xd388fb(0x110)]=_0x26a111[0x1];}let _0x5cb699;if(_0x5a31b5[_0xd388fb(0x13b)]){if(_0x7a05c7[_0xd388fb(0x250)]===0x0){_0x7a05c7[_0xd388fb(0x1e7)]=_0x5ca935,_0x7a05c7['_originalSecure']=_0x299c56,_0x7a05c7['_originalHostOrSocketPath']=_0x5ca935?_0x5a31b5[_0xd388fb(0x157)]:_0xec467f[_0xd388fb(0x108)];const _0x1b58ff=_0x4349fb&&_0x4349fb['headers'];if(_0x4349fb={..._0x4349fb,'headers':{}},_0x1b58ff){for(const [_0x421e5b,_0x3e75f7]of Object['entries'](_0x1b58ff))_0x4349fb[_0xd388fb(0x26a)][_0x421e5b['toLowerCase']()]=_0x3e75f7;}}else{if(_0x7a05c7[_0xd388fb(0xf3)](_0xd388fb(0x137))===0x0){const _0xf68ff6=_0x5ca935?_0x7a05c7['_originalIpc']?_0x5a31b5[_0xd388fb(0x157)]===_0x7a05c7[_0xd388fb(0x1f7)]:!0x1:_0x7a05c7[_0xd388fb(0x1e7)]?!0x1:_0xec467f['host']===_0x7a05c7[_0xd388fb(0x1f7)];(!_0xf68ff6||_0x7a05c7[_0xd388fb(0x1c7)]&&!_0x299c56)&&(delete _0x5a31b5[_0xd388fb(0x26a)]['authorization'],delete _0x5a31b5['headers'][_0xd388fb(0x17b)],_0xf68ff6||delete _0x5a31b5[_0xd388fb(0x26a)][_0xd388fb(0x108)],_0x5a31b5['auth']=void 0x0);}}_0x5a31b5[_0xd388fb(0x18b)]&&!_0x4349fb[_0xd388fb(0x26a)][_0xd388fb(0x1fd)]&&(_0x4349fb[_0xd388fb(0x26a)][_0xd388fb(0x1fd)]=_0xd388fb(0x1c5)+Buffer[_0xd388fb(0x1c4)](_0x5a31b5[_0xd388fb(0x18b)])['toString'](_0xd388fb(0xf9))),_0x5cb699=_0x7a05c7[_0xd388fb(0x111)]=_0x3f7302(_0x5a31b5),_0x7a05c7[_0xd388fb(0x250)]&&_0x7a05c7[_0xd388fb(0x152)](_0xd388fb(0x137),_0x7a05c7[_0xd388fb(0x160)],_0x5cb699);}else _0x5cb699=_0x7a05c7[_0xd388fb(0x111)]=_0x3f7302(_0x5a31b5);_0x5a31b5[_0xd388fb(0x14a)]&&_0x5cb699['on'](_0xd388fb(0x14a),()=>{_0x14f860(_0x7a05c7,_0x5cb699,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x5cb699['on']('error',_0x38dd5c=>{const _0x3250f1=_0xd388fb;_0x5cb699===null||_0x5cb699[_0x14c5ab]||(_0x5cb699=_0x7a05c7[_0x3250f1(0x111)]=null,_0x5c25ee(_0x7a05c7,_0x38dd5c));}),_0x5cb699['on']('response',_0x4fee30=>{const _0x2db6e3=_0xd388fb,_0x6248e0=_0x4fee30[_0x2db6e3(0x26a)][_0x2db6e3(0x210)],_0x359785=_0x4fee30[_0x2db6e3(0x247)];if(_0x6248e0&&_0x5a31b5['followRedirects']&&_0x359785>=0x12c&&_0x359785<0x190){if(++_0x7a05c7[_0x2db6e3(0x250)]>_0x5a31b5[_0x2db6e3(0x196)]){_0x14f860(_0x7a05c7,_0x5cb699,_0x2db6e3(0x1ce));return;}_0x5cb699[_0x2db6e3(0xdb)]();let _0x238c07;try{_0x238c07=new _0x45ee79(_0x6248e0,_0x129072);}catch{const _0x240793=new SyntaxError('Invalid\x20URL:\x20'+_0x6248e0);_0x5c25ee(_0x7a05c7,_0x240793);return;}_0x22df68(_0x7a05c7,_0x238c07,_0xaa6752,_0x4349fb);}else _0x7a05c7[_0x2db6e3(0x152)](_0x2db6e3(0x1df),_0x5cb699,_0x4fee30)||_0x14f860(_0x7a05c7,_0x5cb699,_0x2db6e3(0x20a)+_0x4fee30[_0x2db6e3(0x247)]);}),_0x5cb699['on']('upgrade',(_0x317792,_0x185963,_0x2f5781)=>{const _0x42eb1c=_0xd388fb;if(_0x7a05c7[_0x42eb1c(0x152)](_0x42eb1c(0x26d),_0x317792),_0x7a05c7[_0x42eb1c(0x217)]!==_0x2cf6d3[_0x42eb1c(0xfa)])return;_0x5cb699=_0x7a05c7[_0x42eb1c(0x111)]=null;const _0x8948c2=_0x317792[_0x42eb1c(0x26a)][_0x42eb1c(0x26d)];if(_0x8948c2===void 0x0||_0x8948c2[_0x42eb1c(0x125)]()!=='websocket'){_0x14f860(_0x7a05c7,_0x185963,'Invalid\x20Upgrade\x20header');return;}const _0x2bd69a=_0xb9bd8f('sha1')['update'](_0x421d84+_0x322157)[_0x42eb1c(0xfc)](_0x42eb1c(0xf9));if(_0x317792[_0x42eb1c(0x26a)][_0x42eb1c(0x22a)]!==_0x2bd69a){_0x14f860(_0x7a05c7,_0x185963,_0x42eb1c(0x11b));return;}const _0x592c4e=_0x317792[_0x42eb1c(0x26a)][_0x42eb1c(0xda)];let _0x25a98e;if(_0x592c4e!==void 0x0?_0xde02a3[_0x42eb1c(0x180)]?_0xde02a3[_0x42eb1c(0xe6)](_0x592c4e)||(_0x25a98e=_0x42eb1c(0x142)):_0x25a98e=_0x42eb1c(0x15c):_0xde02a3[_0x42eb1c(0x180)]&&(_0x25a98e=_0x42eb1c(0x144)),_0x25a98e){_0x14f860(_0x7a05c7,_0x185963,_0x25a98e);return;}_0x592c4e&&(_0x7a05c7[_0x42eb1c(0x104)]=_0x592c4e);const _0x2c826e=_0x317792['headers'][_0x42eb1c(0x18c)];if(_0x2c826e!==void 0x0){if(!_0x56ef26){_0x14f860(_0x7a05c7,_0x185963,_0x42eb1c(0x1f8));return;}let _0x478ca0;try{_0x478ca0=_0x2e6ca8(_0x2c826e);}catch{_0x14f860(_0x7a05c7,_0x185963,_0x42eb1c(0xd4));return;}const _0x2b5c8c=Object[_0x42eb1c(0x1ef)](_0x478ca0);if(_0x2b5c8c[_0x42eb1c(0x14e)]!==0x1||_0x2b5c8c[0x0]!==_0x1110b3[_0x42eb1c(0x14c)]){_0x14f860(_0x7a05c7,_0x185963,_0x42eb1c(0x200));return;}try{_0x56ef26[_0x42eb1c(0x15d)](_0x478ca0[_0x1110b3['extensionName']]);}catch{_0x14f860(_0x7a05c7,_0x185963,_0x42eb1c(0xd4));return;}_0x7a05c7['_extensions'][_0x1110b3[_0x42eb1c(0x14c)]]=_0x56ef26;}_0x7a05c7['setSocket'](_0x185963,_0x2f5781,{'allowSynchronousEvents':_0x5a31b5[_0x42eb1c(0x19f)],'generateMask':_0x5a31b5[_0x42eb1c(0x1ca)],'maxPayload':_0x5a31b5[_0x42eb1c(0x14f)],'skipUTF8Validation':_0x5a31b5[_0x42eb1c(0xd7)]});}),_0x5a31b5[_0xd388fb(0x24b)]?_0x5a31b5[_0xd388fb(0x24b)](_0x5cb699,_0x7a05c7):_0x5cb699[_0xd388fb(0x1f9)]();}function _0x5c25ee(_0x1f35bb,_0x142719){const _0x3f68e0=_0x2545c6;_0x1f35bb[_0x3f68e0(0x17d)]=_0x2cf6d3['CLOSING'],_0x1f35bb[_0x3f68e0(0x1e6)]=!0x0,_0x1f35bb[_0x3f68e0(0x152)]('error',_0x142719),_0x1f35bb[_0x3f68e0(0x113)]();}function _0x438b61(_0x190a56){const _0x592a24=_0x2545c6;return _0x190a56[_0x592a24(0x110)]=_0x190a56[_0x592a24(0x157)],_0x2fbc60[_0x592a24(0x220)](_0x190a56);}function _0x3af23e(_0x19b9f7){const _0x35d62e=_0x2545c6;return _0x19b9f7[_0x35d62e(0x110)]=void 0x0,!_0x19b9f7[_0x35d62e(0x203)]&&_0x19b9f7[_0x35d62e(0x203)]!==''&&(_0x19b9f7[_0x35d62e(0x203)]=_0x2fbc60[_0x35d62e(0x1d8)](_0x19b9f7[_0x35d62e(0x108)])?'':_0x19b9f7[_0x35d62e(0x108)]),_0x35e5cf[_0x35d62e(0x220)](_0x19b9f7);}function _0x14f860(_0x3b9f3f,_0x1819e9,_0x10989d){const _0x3abbea=_0x2545c6;_0x3b9f3f[_0x3abbea(0x17d)]=_0x2cf6d3['CLOSING'];const _0x50cb07=new Error(_0x10989d);Error[_0x3abbea(0x268)](_0x50cb07,_0x14f860),_0x1819e9['setHeader']?(_0x1819e9[_0x14c5ab]=!0x0,_0x1819e9[_0x3abbea(0xdb)](),_0x1819e9[_0x3abbea(0x277)]&&!_0x1819e9[_0x3abbea(0x277)][_0x3abbea(0x116)]&&_0x1819e9[_0x3abbea(0x277)]['destroy'](),process[_0x3abbea(0x163)](_0x5c25ee,_0x3b9f3f,_0x50cb07)):(_0x1819e9[_0x3abbea(0x1b6)](_0x50cb07),_0x1819e9['once'](_0x3abbea(0xef),_0x3b9f3f['emit']['bind'](_0x3b9f3f,_0x3abbea(0xef))),_0x1819e9[_0x3abbea(0x21b)](_0x3abbea(0x206),_0x3b9f3f[_0x3abbea(0x113)][_0x3abbea(0x109)](_0x3b9f3f)));}function _0x35385f(_0x5d8331,_0x442709,_0x3faa27){const _0x5d368d=_0x2545c6;if(_0x442709){const _0x25479f=_0x59c288(_0x442709)?_0x442709[_0x5d368d(0x180)]:_0x475a69(_0x442709)[_0x5d368d(0x14e)];_0x5d8331[_0x5d368d(0x154)]?_0x5d8331[_0x5d368d(0x16a)]['_bufferedBytes']+=_0x25479f:_0x5d8331[_0x5d368d(0x269)]+=_0x25479f;}if(_0x3faa27){const _0x1b3b41=new Error(_0x5d368d(0x139)+_0x5d8331['readyState']+'\x20('+_0xa02586[_0x5d8331[_0x5d368d(0x217)]]+')');process[_0x5d368d(0x163)](_0x3faa27,_0x1b3b41);}}function _0x1a2372(_0x217a1e,_0x5e9504){const _0x19a925=_0x2545c6,_0x346df8=this[_0x39645c];_0x346df8[_0x19a925(0x12a)]=!0x0,_0x346df8['_closeMessage']=_0x5e9504,_0x346df8[_0x19a925(0x244)]=_0x217a1e,_0x346df8[_0x19a925(0x154)][_0x39645c]!==void 0x0&&(_0x346df8[_0x19a925(0x154)][_0x19a925(0x148)](_0x19a925(0x1b1),_0x4b5f4a),process[_0x19a925(0x163)](_0x6eb4c0,_0x346df8['_socket']),_0x217a1e===0x3ed?_0x346df8[_0x19a925(0x206)]():_0x346df8['close'](_0x217a1e,_0x5e9504));}function _0x39cbd0(){const _0xe2fdd0=_0x2545c6,_0xe49e6f=this[_0x39645c];_0xe49e6f['isPaused']||_0xe49e6f[_0xe2fdd0(0x154)][_0xe2fdd0(0x245)]();}function _0x74e95f(_0x90c6b7){const _0x365f68=_0x2545c6,_0x191d9b=this[_0x39645c];_0x191d9b[_0x365f68(0x154)][_0x39645c]!==void 0x0&&(_0x191d9b[_0x365f68(0x154)][_0x365f68(0x148)]('data',_0x4b5f4a),process['nextTick'](_0x6eb4c0,_0x191d9b[_0x365f68(0x154)]),_0x191d9b[_0x365f68(0x206)](_0x90c6b7[_0x3177af])),_0x191d9b[_0x365f68(0x1e6)]||(_0x191d9b['_errorEmitted']=!0x0,_0x191d9b['emit']('error',_0x90c6b7));}function _0x354ebc(){const _0x40f109=_0x2545c6;this[_0x39645c][_0x40f109(0x113)]();}function _0x1ca888(_0x52bd39,_0x84fbff){const _0x2ce329=_0x2545c6;this[_0x39645c][_0x2ce329(0x152)](_0x2ce329(0x1ff),_0x52bd39,_0x84fbff);}function _0x47a9dd(_0x4e2da8){const _0x184235=_0x2545c6,_0x284074=this[_0x39645c];_0x284074[_0x184235(0x252)]&&_0x284074[_0x184235(0x138)](_0x4e2da8,!this[_0x184235(0x136)],_0x4b048f),_0x284074['emit'](_0x184235(0x149),_0x4e2da8);}function _0x28fa4c(_0x22d7b8){const _0x332f1f=_0x2545c6;this[_0x39645c][_0x332f1f(0x152)]('pong',_0x22d7b8);}function _0x6eb4c0(_0x53a8ef){const _0x1ad132=_0x2545c6;_0x53a8ef[_0x1ad132(0x245)]();}function _0x2cd531(_0x8b02cd){const _0x1eaa9f=_0x2545c6,_0x5a3c8d=this[_0x39645c];_0x5a3c8d[_0x1eaa9f(0x217)]!==_0x2cf6d3['CLOSED']&&(_0x5a3c8d[_0x1eaa9f(0x217)]===_0x2cf6d3['OPEN']&&(_0x5a3c8d[_0x1eaa9f(0x17d)]=_0x2cf6d3[_0x1eaa9f(0x1ea)],_0x436335(_0x5a3c8d)),this[_0x1eaa9f(0x154)][_0x1eaa9f(0x1f9)](),_0x5a3c8d[_0x1eaa9f(0x1e6)]||(_0x5a3c8d[_0x1eaa9f(0x1e6)]=!0x0,_0x5a3c8d['emit'](_0x1eaa9f(0xef),_0x8b02cd)));}function _0x436335(_0x470e00){const _0x395a77=_0x2545c6;_0x470e00[_0x395a77(0x12c)]=setTimeout(_0x470e00[_0x395a77(0x154)][_0x395a77(0x1b6)][_0x395a77(0x109)](_0x470e00['_socket']),_0x317c36);}function _0x42b9d1(){const _0x34f069=_0x2545c6,_0x987a37=this[_0x39645c];this[_0x34f069(0x148)](_0x34f069(0x206),_0x42b9d1),this[_0x34f069(0x148)](_0x34f069(0x1b1),_0x4b5f4a),this[_0x34f069(0x148)](_0x34f069(0x1f9),_0x4a9df7),_0x987a37[_0x34f069(0x17d)]=_0x2cf6d3[_0x34f069(0x1ea)];let _0x256e76;!this[_0x34f069(0x1b9)][_0x34f069(0x1d4)]&&!_0x987a37[_0x34f069(0x12a)]&&!_0x987a37[_0x34f069(0x218)][_0x34f069(0x20c)][_0x34f069(0x103)]&&(_0x256e76=_0x987a37[_0x34f069(0x154)][_0x34f069(0x158)]())!==null&&_0x987a37['_receiver'][_0x34f069(0x1da)](_0x256e76),_0x987a37['_receiver']['end'](),this[_0x39645c]=void 0x0,clearTimeout(_0x987a37[_0x34f069(0x12c)]),_0x987a37[_0x34f069(0x218)][_0x34f069(0x20c)]['finished']||_0x987a37[_0x34f069(0x218)][_0x34f069(0x20c)][_0x34f069(0x103)]?_0x987a37[_0x34f069(0x113)]():(_0x987a37[_0x34f069(0x218)]['on'](_0x34f069(0xef),_0x354ebc),_0x987a37[_0x34f069(0x218)]['on'](_0x34f069(0x25e),_0x354ebc));}function _0x4b5f4a(_0x48c2d3){const _0x523e1a=_0x2545c6;this[_0x39645c][_0x523e1a(0x218)][_0x523e1a(0x1da)](_0x48c2d3)||this[_0x523e1a(0x240)]();}function _0x4a9df7(){const _0xd03140=_0x2545c6,_0x18c6b6=this[_0x39645c];_0x18c6b6[_0xd03140(0x17d)]=_0x2cf6d3['CLOSING'],_0x18c6b6[_0xd03140(0x218)][_0xd03140(0x1f9)](),this[_0xd03140(0x1f9)]();}function _0xde5e26(){const _0x573b25=_0x2545c6,_0x46ffc9=this[_0x39645c];this[_0x573b25(0x148)](_0x573b25(0xef),_0xde5e26),this['on']('error',_0x4b048f),_0x46ffc9&&(_0x46ffc9['_readyState']=_0x2cf6d3[_0x573b25(0x1ea)],this[_0x573b25(0x1b6)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x15fb50}=_0x179a1c;function _0x89f1a2(_0x580ab2){const _0x194d16=_0x593c;_0x580ab2['emit'](_0x194d16(0x206));}function _0x3e5b42(){const _0x4bd640=_0x593c;!this[_0x4bd640(0x116)]&&this[_0x4bd640(0x20c)][_0x4bd640(0x126)]&&this[_0x4bd640(0x1b6)]();}function _0x11561d(_0x5aa97c){const _0x5636fb=_0x593c;this[_0x5636fb(0x148)](_0x5636fb(0xef),_0x11561d),this[_0x5636fb(0x1b6)](),this[_0x5636fb(0xf3)]('error')===0x0&&this[_0x5636fb(0x152)](_0x5636fb(0xef),_0x5aa97c);}function _0x4f915d(_0x4c7d0d,_0x30121b){const _0x4ff005=_0x593c;let _0x36048a=!0x0;const _0x172646=new _0x15fb50({..._0x30121b,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x4c7d0d['on']('message',function(_0x34b156,_0x4c78f9){const _0x546a6d=_0x593c,_0x260f17=!_0x4c78f9&&_0x172646[_0x546a6d(0x1b9)][_0x546a6d(0x19d)]?_0x34b156['toString']():_0x34b156;_0x172646[_0x546a6d(0x278)](_0x260f17)||_0x4c7d0d[_0x546a6d(0x240)]();}),_0x4c7d0d['once']('error',function(_0x38528c){const _0x47c872=_0x593c;_0x172646['destroyed']||(_0x36048a=!0x1,_0x172646[_0x47c872(0x1b6)](_0x38528c));}),_0x4c7d0d['once'](_0x4ff005(0x206),function(){const _0x3cb59d=_0x4ff005;_0x172646[_0x3cb59d(0x116)]||_0x172646['push'](null);}),_0x172646['_destroy']=function(_0x552b7e,_0x48d494){const _0x504f2f=_0x4ff005;if(_0x4c7d0d['readyState']===_0x4c7d0d[_0x504f2f(0x1f3)]){_0x48d494(_0x552b7e),process[_0x504f2f(0x163)](_0x89f1a2,_0x172646);return;}let _0x3a5e21=!0x1;_0x4c7d0d['once']('error',function(_0x27be11){_0x3a5e21=!0x0,_0x48d494(_0x27be11);}),_0x4c7d0d[_0x504f2f(0x21b)]('close',function(){const _0x4ffe0b=_0x504f2f;_0x3a5e21||_0x48d494(_0x552b7e),process[_0x4ffe0b(0x163)](_0x89f1a2,_0x172646);}),_0x36048a&&_0x4c7d0d[_0x504f2f(0x14d)]();},_0x172646[_0x4ff005(0x221)]=function(_0x42babd){const _0x1d17ce=_0x4ff005;if(_0x4c7d0d[_0x1d17ce(0x217)]===_0x4c7d0d[_0x1d17ce(0xfa)]){_0x4c7d0d[_0x1d17ce(0x21b)](_0x1d17ce(0x132),function(){const _0x18ea19=_0x1d17ce;_0x172646[_0x18ea19(0x221)](_0x42babd);});return;}_0x4c7d0d['_socket']!==null&&(_0x4c7d0d[_0x1d17ce(0x154)][_0x1d17ce(0x20c)][_0x1d17ce(0x126)]?(_0x42babd(),_0x172646[_0x1d17ce(0x1b9)]['endEmitted']&&_0x172646[_0x1d17ce(0x1b6)]()):(_0x4c7d0d['_socket'][_0x1d17ce(0x21b)](_0x1d17ce(0x25e),function(){_0x42babd();}),_0x4c7d0d[_0x1d17ce(0x206)]()));},_0x172646[_0x4ff005(0x19c)]=function(){const _0x6f455a=_0x4ff005;_0x4c7d0d[_0x6f455a(0x17c)]&&_0x4c7d0d[_0x6f455a(0x245)]();},_0x172646['_write']=function(_0x22f110,_0x5e2ecc,_0xc803){const _0x5e2b72=_0x4ff005;if(_0x4c7d0d['readyState']===_0x4c7d0d['CONNECTING']){_0x4c7d0d[_0x5e2b72(0x21b)]('open',function(){const _0x2e088c=_0x5e2b72;_0x172646[_0x2e088c(0x129)](_0x22f110,_0x5e2ecc,_0xc803);});return;}_0x4c7d0d[_0x5e2b72(0xea)](_0x22f110,_0xc803);},_0x172646['on'](_0x4ff005(0x1f9),_0x3e5b42),_0x172646['on'](_0x4ff005(0xef),_0x11561d),_0x172646;}return Oe=_0x4f915d,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);function _0x593c(_0x5b5a54,_0x1fd1d1){const _0x1177b3=_0x1177();return _0x593c=function(_0x593c25,_0x14eb85){_0x593c25=_0x593c25-0xcb;let _0x46cbe4=_0x1177b3[_0x593c25];return _0x46cbe4;},_0x593c(_0x5b5a54,_0x1fd1d1);}var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x21e468}=ne();function _0x33682d(_0x394847){const _0x32d36c=_0x593c,_0x1dd708=new Set();let _0x3a7f96=-0x1,_0x16182e=-0x1,_0x5deed8=0x0;for(_0x5deed8;_0x5deed8<_0x394847[_0x32d36c(0x14e)];_0x5deed8++){const _0x3d898c=_0x394847['charCodeAt'](_0x5deed8);if(_0x16182e===-0x1&&_0x21e468[_0x3d898c]===0x1)_0x3a7f96===-0x1&&(_0x3a7f96=_0x5deed8);else{if(_0x5deed8!==0x0&&(_0x3d898c===0x20||_0x3d898c===0x9))_0x16182e===-0x1&&_0x3a7f96!==-0x1&&(_0x16182e=_0x5deed8);else{if(_0x3d898c===0x2c){if(_0x3a7f96===-0x1)throw new SyntaxError(_0x32d36c(0x106)+_0x5deed8);_0x16182e===-0x1&&(_0x16182e=_0x5deed8);const _0x452944=_0x394847[_0x32d36c(0x118)](_0x3a7f96,_0x16182e);if(_0x1dd708['has'](_0x452944))throw new SyntaxError(_0x32d36c(0x24d)+_0x452944+_0x32d36c(0x253));_0x1dd708[_0x32d36c(0x123)](_0x452944),_0x3a7f96=_0x16182e=-0x1;}else throw new SyntaxError(_0x32d36c(0x106)+_0x5deed8);}}}if(_0x3a7f96===-0x1||_0x16182e!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0xca882e=_0x394847[_0x32d36c(0x118)](_0x3a7f96,_0x5deed8);if(_0x1dd708[_0x32d36c(0xe6)](_0xca882e))throw new SyntaxError('The\x20\x22'+_0xca882e+_0x32d36c(0x253));return _0x1dd708[_0x32d36c(0x123)](_0xca882e),_0x1dd708;}return Ce={'parse':_0x33682d},Ce;}var Te,ot;function er(){const _0x750dbe=_0x5dc2c6;if(ot)return Te;ot=0x1;const _0x555a8f=_0x19b6ee,_0x47d4c9=_0x4c8a68,{Duplex:_0x420d1c}=_0x179a1c,{createHash:_0x32f0a1}=_0x358c53,_0x2ce15e=pt(),_0x1fc7f5=he(),_0x1ec5b6=Jt(),_0x59b7ed=Ie(),{GUID:_0x40a2ec,kWebSocket:_0x5c0e02}=V(),_0x942e8b=/^[+/0-9A-Za-z]{22}==$/,_0x3d52e1=0x0,_0x7a1cfa=0x1,_0x54a126=0x2;class _0x316b9a extends _0x555a8f{constructor(_0x1d9886,_0x18c73b){const _0x3f048a=_0x593c;if(super(),_0x1d9886={'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':_0x59b7ed,..._0x1d9886},_0x1d9886[_0x3f048a(0x121)]==null&&!_0x1d9886[_0x3f048a(0x275)]&&!_0x1d9886['noServer']||_0x1d9886[_0x3f048a(0x121)]!=null&&(_0x1d9886[_0x3f048a(0x275)]||_0x1d9886[_0x3f048a(0x11f)])||_0x1d9886[_0x3f048a(0x275)]&&_0x1d9886[_0x3f048a(0x11f)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x1d9886[_0x3f048a(0x121)]!=null?(this['_server']=_0x47d4c9['createServer']((_0x275b3e,_0x126151)=>{const _0x2a4721=_0x3f048a,_0x1d0f71=_0x47d4c9[_0x2a4721(0x21e)][0x1aa];_0x126151['writeHead'](0x1aa,{'Content-Length':_0x1d0f71['length'],'Content-Type':_0x2a4721(0x228)}),_0x126151[_0x2a4721(0x1f9)](_0x1d0f71);}),this[_0x3f048a(0xfd)]['listen'](_0x1d9886['port'],_0x1d9886[_0x3f048a(0x108)],_0x1d9886[_0x3f048a(0x174)],_0x18c73b)):_0x1d9886[_0x3f048a(0x275)]&&(this['_server']=_0x1d9886[_0x3f048a(0x275)]),this[_0x3f048a(0xfd)]){const _0x32a075=this[_0x3f048a(0x152)][_0x3f048a(0x109)](this,_0x3f048a(0x193));this[_0x3f048a(0xdc)]=_0x41a94b(this[_0x3f048a(0xfd)],{'listening':this[_0x3f048a(0x152)]['bind'](this,_0x3f048a(0x1e3)),'error':this[_0x3f048a(0x152)][_0x3f048a(0x109)](this,_0x3f048a(0xef)),'upgrade':(_0x2c7b0f,_0x21c0d0,_0x1404c3)=>{const _0x3fe49b=_0x3f048a;this[_0x3fe49b(0xde)](_0x2c7b0f,_0x21c0d0,_0x1404c3,_0x32a075);}});}_0x1d9886[_0x3f048a(0x1dd)]===!0x0&&(_0x1d9886[_0x3f048a(0x1dd)]={}),_0x1d9886[_0x3f048a(0x256)]&&(this[_0x3f048a(0xe2)]=new Set(),this[_0x3f048a(0x1f4)]=!0x1),this[_0x3f048a(0x147)]=_0x1d9886,this[_0x3f048a(0xf5)]=_0x3d52e1;}[_0x750dbe(0xce)](){const _0x471713=_0x750dbe;if(this['options'][_0x471713(0x11f)])throw new Error(_0x471713(0x188));return this['_server']?this['_server'][_0x471713(0xce)]():null;}[_0x750dbe(0x206)](_0x7d306c){const _0x5c2e33=_0x750dbe;if(this['_state']===_0x54a126){_0x7d306c&&this[_0x5c2e33(0x21b)]('close',()=>{const _0x3fa77a=_0x5c2e33;_0x7d306c(new Error(_0x3fa77a(0x276)));}),process['nextTick'](_0x5028ff,this);return;}if(_0x7d306c&&this['once'](_0x5c2e33(0x206),_0x7d306c),this[_0x5c2e33(0xf5)]!==_0x7a1cfa){if(this[_0x5c2e33(0xf5)]=_0x7a1cfa,this[_0x5c2e33(0x147)][_0x5c2e33(0x11f)]||this[_0x5c2e33(0x147)][_0x5c2e33(0x275)])this[_0x5c2e33(0xfd)]&&(this[_0x5c2e33(0xdc)](),this[_0x5c2e33(0xdc)]=this[_0x5c2e33(0xfd)]=null),this[_0x5c2e33(0xe2)]?this[_0x5c2e33(0xe2)][_0x5c2e33(0x180)]?this[_0x5c2e33(0x1f4)]=!0x0:process[_0x5c2e33(0x163)](_0x5028ff,this):process[_0x5c2e33(0x163)](_0x5028ff,this);else{const _0x3f80d3=this['_server'];this[_0x5c2e33(0xdc)](),this[_0x5c2e33(0xdc)]=this[_0x5c2e33(0xfd)]=null,_0x3f80d3[_0x5c2e33(0x206)](()=>{_0x5028ff(this);});}}}[_0x750dbe(0x156)](_0x15cd21){const _0x5be643=_0x750dbe;if(this['options'][_0x5be643(0x110)]){const _0x318876=_0x15cd21['url'][_0x5be643(0x12e)]('?');if((_0x318876!==-0x1?_0x15cd21[_0x5be643(0x160)]['slice'](0x0,_0x318876):_0x15cd21[_0x5be643(0x160)])!==this[_0x5be643(0x147)][_0x5be643(0x110)])return!0x1;}return!0x0;}[_0x750dbe(0xde)](_0x26199e,_0x537fb7,_0xc68eae,_0x52babb){const _0xfb7827=_0x750dbe;_0x537fb7['on'](_0xfb7827(0xef),_0x2f77de);const _0x40641a=_0x26199e[_0xfb7827(0x26a)][_0xfb7827(0x23c)],_0xabc5c4=_0x26199e[_0xfb7827(0x26a)][_0xfb7827(0x26d)],_0x16eb5b=+_0x26199e[_0xfb7827(0x26a)][_0xfb7827(0x115)];if(_0x26199e[_0xfb7827(0x1ec)]!==_0xfb7827(0x208)){_0x53e1af(this,_0x26199e,_0x537fb7,0x195,'Invalid\x20HTTP\x20method');return;}if(_0xabc5c4===void 0x0||_0xabc5c4[_0xfb7827(0x125)]()!==_0xfb7827(0x1ab)){_0x53e1af(this,_0x26199e,_0x537fb7,0x190,_0xfb7827(0x18e));return;}if(_0x40641a===void 0x0||!_0x942e8b[_0xfb7827(0x1f1)](_0x40641a)){_0x53e1af(this,_0x26199e,_0x537fb7,0x190,_0xfb7827(0x13a));return;}if(_0x16eb5b!==0x8&&_0x16eb5b!==0xd){_0x53e1af(this,_0x26199e,_0x537fb7,0x190,_0xfb7827(0x101));return;}if(!this['shouldHandle'](_0x26199e)){_0x43c4f8(_0x537fb7,0x190);return;}const _0x33ad9b=_0x26199e['headers'][_0xfb7827(0xda)];let _0x16e08e=new Set();if(_0x33ad9b!==void 0x0)try{_0x16e08e=_0x1ec5b6[_0xfb7827(0x145)](_0x33ad9b);}catch{_0x53e1af(this,_0x26199e,_0x537fb7,0x190,_0xfb7827(0x12b));return;}const _0x1208f8=_0x26199e[_0xfb7827(0x26a)][_0xfb7827(0x18c)],_0xb131f1={};if(this[_0xfb7827(0x147)][_0xfb7827(0x1dd)]&&_0x1208f8!==void 0x0){const _0x984d4c=new _0x1fc7f5(this[_0xfb7827(0x147)]['perMessageDeflate'],!0x0,this['options'][_0xfb7827(0x14f)]);try{const _0x37860b=_0x2ce15e[_0xfb7827(0x145)](_0x1208f8);_0x37860b[_0x1fc7f5[_0xfb7827(0x14c)]]&&(_0x984d4c[_0xfb7827(0x15d)](_0x37860b[_0x1fc7f5[_0xfb7827(0x14c)]]),_0xb131f1[_0x1fc7f5[_0xfb7827(0x14c)]]=_0x984d4c);}catch{_0x53e1af(this,_0x26199e,_0x537fb7,0x190,_0xfb7827(0x24a));return;}}if(this[_0xfb7827(0x147)]['verifyClient']){const _0x8ec2e8={'origin':_0x26199e['headers'][''+(_0x16eb5b===0x8?'sec-websocket-origin':_0xfb7827(0x135))],'secure':!!(_0x26199e[_0xfb7827(0x277)]['authorized']||_0x26199e[_0xfb7827(0x277)][_0xfb7827(0x230)]),'req':_0x26199e};if(this['options'][_0xfb7827(0xd3)]['length']===0x2){this[_0xfb7827(0x147)][_0xfb7827(0xd3)](_0x8ec2e8,(_0x29eef1,_0x46f4d8,_0x1e7b93,_0x571ac5)=>{const _0x3bdbca=_0xfb7827;if(!_0x29eef1)return _0x43c4f8(_0x537fb7,_0x46f4d8||0x191,_0x1e7b93,_0x571ac5);this[_0x3bdbca(0x225)](_0xb131f1,_0x40641a,_0x16e08e,_0x26199e,_0x537fb7,_0xc68eae,_0x52babb);});return;}if(!this[_0xfb7827(0x147)][_0xfb7827(0xd3)](_0x8ec2e8))return _0x43c4f8(_0x537fb7,0x191);}this[_0xfb7827(0x225)](_0xb131f1,_0x40641a,_0x16e08e,_0x26199e,_0x537fb7,_0xc68eae,_0x52babb);}['completeUpgrade'](_0x5303e0,_0x3f4614,_0x4d9b95,_0x1c422a,_0x21abd6,_0x3b9cfb,_0x4cf763){const _0x10b974=_0x750dbe;if(!_0x21abd6[_0x10b974(0x17f)]||!_0x21abd6[_0x10b974(0xe5)])return _0x21abd6['destroy']();if(_0x21abd6[_0x5c0e02])throw new Error(_0x10b974(0x238));if(this[_0x10b974(0xf5)]>_0x3d52e1)return _0x43c4f8(_0x21abd6,0x1f7);const _0x264dfa=[_0x10b974(0x190),_0x10b974(0xf6),_0x10b974(0x1e4),_0x10b974(0x1db)+_0x32f0a1('sha1')['update'](_0x3f4614+_0x40a2ec)[_0x10b974(0xfc)](_0x10b974(0xf9))],_0x252dc1=new this[(_0x10b974(0x147))][(_0x10b974(0x1a0))](null,void 0x0,this[_0x10b974(0x147)]);if(_0x4d9b95[_0x10b974(0x180)]){const _0x1ea71f=this[_0x10b974(0x147)]['handleProtocols']?this[_0x10b974(0x147)][_0x10b974(0x226)](_0x4d9b95,_0x1c422a):_0x4d9b95[_0x10b974(0xd9)]()[_0x10b974(0x26f)]()['value'];_0x1ea71f&&(_0x264dfa[_0x10b974(0x278)](_0x10b974(0x170)+_0x1ea71f),_0x252dc1['_protocol']=_0x1ea71f);}if(_0x5303e0[_0x1fc7f5[_0x10b974(0x14c)]]){const _0x2d41f3=_0x5303e0[_0x1fc7f5[_0x10b974(0x14c)]][_0x10b974(0x10e)],_0x5524fe=_0x2ce15e['format']({[_0x1fc7f5[_0x10b974(0x14c)]]:[_0x2d41f3]});_0x264dfa[_0x10b974(0x278)](_0x10b974(0x172)+_0x5524fe),_0x252dc1[_0x10b974(0x146)]=_0x5303e0;}this[_0x10b974(0x152)](_0x10b974(0x26a),_0x264dfa,_0x1c422a),_0x21abd6[_0x10b974(0x1da)](_0x264dfa[_0x10b974(0x198)]('\x0d\x0a')['join']('\x0d\x0a')),_0x21abd6[_0x10b974(0x148)]('error',_0x2f77de),_0x252dc1['setSocket'](_0x21abd6,_0x3b9cfb,{'allowSynchronousEvents':this[_0x10b974(0x147)][_0x10b974(0x19f)],'maxPayload':this[_0x10b974(0x147)][_0x10b974(0x14f)],'skipUTF8Validation':this[_0x10b974(0x147)]['skipUTF8Validation']}),this[_0x10b974(0xe2)]&&(this[_0x10b974(0xe2)][_0x10b974(0x123)](_0x252dc1),_0x252dc1['on'](_0x10b974(0x206),()=>{const _0x596b08=_0x10b974;this[_0x596b08(0xe2)][_0x596b08(0x1cf)](_0x252dc1),this[_0x596b08(0x1f4)]&&!this[_0x596b08(0xe2)][_0x596b08(0x180)]&&process[_0x596b08(0x163)](_0x5028ff,this);})),_0x4cf763(_0x252dc1,_0x1c422a);}}Te=_0x316b9a;function _0x41a94b(_0x3f2b59,_0x86a989){for(const _0x180e1f of Object['keys'](_0x86a989))_0x3f2b59['on'](_0x180e1f,_0x86a989[_0x180e1f]);return function(){const _0x2bbda6=_0x593c;for(const _0x21d805 of Object[_0x2bbda6(0x1ef)](_0x86a989))_0x3f2b59[_0x2bbda6(0x148)](_0x21d805,_0x86a989[_0x21d805]);};}function _0x5028ff(_0x4f66a7){const _0x139f1f=_0x750dbe;_0x4f66a7['_state']=_0x54a126,_0x4f66a7[_0x139f1f(0x152)](_0x139f1f(0x206));}function _0x2f77de(){const _0xeec28f=_0x750dbe;this[_0xeec28f(0x1b6)]();}function _0x43c4f8(_0x1afced,_0x4f4b91,_0xf9bc43,_0x72dc39){const _0x4800b0=_0x750dbe;_0xf9bc43=_0xf9bc43||_0x47d4c9['STATUS_CODES'][_0x4f4b91],_0x72dc39={'Connection':_0x4800b0(0x206),'Content-Type':_0x4800b0(0x27a),'Content-Length':Buffer['byteLength'](_0xf9bc43),..._0x72dc39},_0x1afced[_0x4800b0(0x21b)](_0x4800b0(0x25e),_0x1afced[_0x4800b0(0x1b6)]),_0x1afced[_0x4800b0(0x1f9)](_0x4800b0(0x100)+_0x4f4b91+'\x20'+_0x47d4c9[_0x4800b0(0x21e)][_0x4f4b91]+'\x0d\x0a'+Object['keys'](_0x72dc39)[_0x4800b0(0x1ad)](_0x2b95e8=>_0x2b95e8+':\x20'+_0x72dc39[_0x2b95e8])['join']('\x0d\x0a')+_0x4800b0(0x12d)+_0xf9bc43);}function _0x53e1af(_0x21ed8b,_0x390ba,_0x4b34e8,_0x21e179,_0x2d613a){const _0x2eca43=_0x750dbe;if(_0x21ed8b['listenerCount'](_0x2eca43(0x1d3))){const _0x190feb=new Error(_0x2d613a);Error[_0x2eca43(0x268)](_0x190feb,_0x53e1af),_0x21ed8b[_0x2eca43(0x152)](_0x2eca43(0x1d3),_0x190feb,_0x4b34e8,_0x390ba);}else _0x43c4f8(_0x4b34e8,_0x21e179,_0x2d613a);}return Te;}er();var tr=Object[_0x5dc2c6(0x25a)],rr=(_0x4c8a3e,_0x56cf6a,_0x59a29d,_0x4ad4f9)=>{const _0x66a1f=_0x5dc2c6;for(var _0x5a8c31=_0x4ad4f9>0x1?void 0x0:_0x4ad4f9?tr(_0x56cf6a,_0x59a29d):_0x56cf6a,_0x13c64f=_0x4c8a3e[_0x66a1f(0x14e)]-0x1,_0x3e8e9e;_0x13c64f>=0x0;_0x13c64f--)(_0x3e8e9e=_0x4c8a3e[_0x13c64f])&&(_0x5a8c31=_0x3e8e9e(_0x5a8c31)||_0x5a8c31);return _0x5a8c31;},sr=(_0x4b9e91,_0x56048e)=>(_0x167d86,_0x4a8a79)=>_0x56048e(_0x167d86,_0x4a8a79,_0x4b9e91);let Ne=class extends _0xab478a{constructor(_0x115e6b){const _0x49a2b3=_0x5dc2c6;super(),this[_0x49a2b3(0x12f)]=_0x115e6b;}['createSocket'](_0x5ef235){const _0xb3c22c=_0x5dc2c6;var _0x3fe044;const _0x200e85=(_0x3fe044=this['_configService'][_0xb3c22c(0x255)](Be))==null?void 0x0:_0x3fe044[_0xb3c22c(0x1b8)];try{const _0xf6de56=new Qt(_0x5ef235,{'headers':{..._0x200e85}}),_0x4ac5d7=new _0x5cff6c();return{'URL':_0x5ef235,'close':(_0x584401,_0x1dd4f3)=>{const _0x360b8a=_0xb3c22c;_0xf6de56[_0x360b8a(0x206)](_0x584401,_0x1dd4f3),_0x4ac5d7[_0x360b8a(0x1b5)]();},'send':_0x15193d=>{_0xf6de56['send'](_0x15193d);},'open$':new _0x388a72(_0x50ed36=>{const _0xe50052=_0xb3c22c,_0x4aff7b=_0x59352e=>_0x50ed36[_0xe50052(0x26f)](_0x59352e);_0xf6de56[_0xe50052(0x266)]('open',_0x4aff7b),_0x4ac5d7['add'](_0x5195f5(()=>_0xf6de56[_0xe50052(0x23f)](_0xe50052(0x132),_0x4aff7b)));})['pipe'](_0x4a6088()),'close$':new _0x388a72(_0x2c90ef=>{const _0x1b1625=_0xb3c22c,_0x5d516d=_0x32f37d=>_0x2c90ef[_0x1b1625(0x26f)](_0x32f37d);_0xf6de56[_0x1b1625(0x266)]('close',_0x5d516d),_0x4ac5d7[_0x1b1625(0x123)](_0x5195f5(()=>_0xf6de56[_0x1b1625(0x23f)](_0x1b1625(0x206),_0x5d516d)));})[_0xb3c22c(0x223)](_0x4a6088()),'error$':new _0x388a72(_0x20f1e9=>{const _0x1b1849=_0xb3c22c,_0xfc01e2=_0x74493c=>_0x20f1e9[_0x1b1849(0x26f)](_0x74493c);_0xf6de56['addEventListener']('error',_0xfc01e2),_0x4ac5d7['add'](_0x5195f5(()=>_0xf6de56[_0x1b1849(0x23f)](_0x1b1849(0xef),_0xfc01e2)));})[_0xb3c22c(0x223)](_0x4a6088()),'message$':new _0x388a72(_0x4bbac9=>{const _0x181a10=_0xb3c22c,_0x1f7506=_0x56dd3f=>_0x4bbac9[_0x181a10(0x26f)](_0x56dd3f);_0xf6de56['addEventListener']('message',_0x1f7506),_0x4ac5d7[_0x181a10(0x123)](_0x5195f5(()=>_0xf6de56[_0x181a10(0x23f)]('message',_0x1f7506)));})[_0xb3c22c(0x223)](_0x4a6088())};}catch(_0x5bf6aa){return console['error'](_0x5bf6aa),null;}}};Ne=rr([sr(0x0,_0x4b618c)],Ne);var ir=Object['defineProperty'],nr=Object[_0x5dc2c6(0x25a)],or=(_0x273407,_0x5280e8,_0x1614b2)=>_0x5280e8 in _0x273407?ir(_0x273407,_0x5280e8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1614b2}):_0x273407[_0x5280e8]=_0x1614b2,ar=(_0x3b9665,_0x16c463,_0x18c54c,_0x563e2b)=>{const _0x2666f9=_0x5dc2c6;for(var _0x37dd28=_0x563e2b>0x1?void 0x0:_0x563e2b?nr(_0x16c463,_0x18c54c):_0x16c463,_0x1d38c5=_0x3b9665[_0x2666f9(0x14e)]-0x1,_0x5367e2;_0x1d38c5>=0x0;_0x1d38c5--)(_0x5367e2=_0x3b9665[_0x1d38c5])&&(_0x37dd28=_0x5367e2(_0x37dd28)||_0x37dd28);return _0x37dd28;},ke=(_0xb536cd,_0x2e2e41)=>(_0x1d3c6c,_0x5f3725)=>_0x2e2e41(_0x1d3c6c,_0x5f3725,_0xb536cd),lr=(_0x3739b2,_0x39a663,_0x429829)=>or(_0x3739b2,_0x39a663+'',_0x429829);let Pe=class extends _0x48911f{constructor(_0x31c59a=Ft,_0x164cb1,_0x3e6322,_0x15e88d){const _0x541b9a=_0x5dc2c6;_0x31c59a['customHeaders']||_0x164cb1[_0x541b9a(0x1fe)](_0x541b9a(0x261)),super(),this[_0x541b9a(0x12f)]=_0x3e6322,this[_0x541b9a(0x1e0)]=_0x15e88d,this[_0x541b9a(0x12f)][_0x541b9a(0x16b)](Be,_0x31c59a);}[_0x5dc2c6(0x1a1)](){const _0x28750a=_0x5dc2c6;this[_0x28750a(0x20e)]();}['_registerDependencies'](){const _0x137daa=_0x5dc2c6;_0x348429(this[_0x137daa(0x1e0)],[[_0x1b5ad2,{'useClass':Ne}]]);}};lr(Pe,_0x5dc2c6(0x1de),_0x5dc2c6(0x167)),Pe=ar([_0x198717(_0x549142),ke(0x1,_0x2ef66e),ke(0x2,_0x4b618c),ke(0x3,_0x446888(_0x27aed1))],Pe);var fr=Object[_0x5dc2c6(0x25a)],cr=(_0x153554,_0x5cec4d,_0x13dd02,_0x317e7f)=>{const _0x10c965=_0x5dc2c6;for(var _0x5e47e9=_0x317e7f>0x1?void 0x0:_0x317e7f?fr(_0x5cec4d,_0x13dd02):_0x5cec4d,_0x5eb31f=_0x153554[_0x10c965(0x14e)]-0x1,_0x5610ca;_0x5eb31f>=0x0;_0x5eb31f--)(_0x5610ca=_0x153554[_0x5eb31f])&&(_0x5e47e9=_0x5610ca(_0x5e47e9)||_0x5e47e9);return _0x5e47e9;},se=(_0x5b33e8,_0x499389)=>(_0x4ce892,_0x4bba2d)=>_0x499389(_0x4ce892,_0x4bba2d,_0x5b33e8);function _0x1177(){const _0x559d79=['Unexpected\x20end\x20of\x20input','toLowerCase','finished','getBlobData','ws:','_write','_closeFrameReceived','Invalid\x20Sec-WebSocket-Protocol\x20header','_closeTimer','\x0d\x0a\x0d\x0a','indexOf','_configService','target','\x22:\x20','open','createConnection','handshakeTimeout','origin','_isServer','redirect','pong','WebSocket\x20is\x20not\x20open:\x20readyState\x20','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','followRedirects','_decompress','getPayloadLength16','_closeFrameSent','Sec-WebSocket-Protocol','client','freeze','Server\x20sent\x20an\x20invalid\x20subprotocol','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','Server\x20sent\x20no\x20subprotocol','parse','_extensions','options','removeListener','ping','timeout','getPayloadLength64','extensionName','terminate','length','maxPayload','frame','ws+unix:','emit','blob','_socket','_fin','shouldHandle','socketPath','read','forEach','RSV1\x20must\x20be\x20clear','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','accept','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','string','url','_compressed','sendFrame','nextTick','fin','byteLength','2003724ZVQJBG','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','_generateMask','_threshold','_sender','setConfig','setTimeout','set','type','setSocket','Sec-WebSocket-Protocol:\x20','invalid\x20opcode\x200','Sec-WebSocket-Extensions:\x20','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','backlog','pending','File','_buffers','_url','createSocket','arraybuffer','cookie','isPaused','_readyState','hasOwnProperty','readable','size','wasClean','byteOffset','default','invalid\x20payload\x20length\x20','conclude','client_no_context_takeover','normalizeParams','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','find','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','auth','sec-websocket-extensions','serverNoContextTakeover','Invalid\x20Upgrade\x20header','Cookie','HTTP/1.1\x20101\x20Switching\x20Protocols','OPEN','_closeMessage','connection','opcode','8kblBhQ','maxRedirects','serverMaxWindowBits','concat','_fragments','handleEvent','cleanup','_read','objectMode','arrayBuffer','allowSynchronousEvents','WebSocket','onStarting','enqueue','Unknown\x20parameter\x20\x22','defaultPort','Origin','function','prototype','WS_NO_BUFFER_UTIL','create','zlibDeflateOptions','websocket','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','map','replace','clientNoContextTakeover','fragments','data','controlMessage','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','_messageLength','dispose','destroy','7640KStGxe','customHeaders','_readableState','dispatch','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','consume','includes','kTarget','kType','isArray','invalid\x20status\x20code\x20','createInflateRaw','_no_context_takeover','from','Basic\x20','callback','_originalSecure','uncork','MASK\x20must\x20be\x20set','generateMask','reason','request','exports','Maximum\x20redirects\x20exceeded','delete','server_no_context_takeover','8501562kHGoKY','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','wsClientError','endEmitted','_errored','_opcode','get','isIP','kIsForOnEventAttribute','write','Sec-WebSocket-Accept:\x20','wss:','perMessageDeflate','pluginName','unexpected-response','_injector','invalid\x20UTF-8\x20sequence','Invalid\x20value\x20for\x20parameter\x20\x22','listening','Connection:\x20Upgrade','acceptAsClient','_errorEmitted','_originalIpc','WS_ERR_UNEXPECTED_RSV_1','threshold','CLOSING','dataMessage','method','toString','283970eXnkkf','keys','bufferedAmount','test','defineProperty','CLOSED','_shouldEmitClose','server_max_window_bits','then','_originalHostOrSocketPath','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','end','listeners','Sec-WebSocket-Origin','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','authorization','warn','message','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','writeUInt16BE','_totalPayloadLength','servername','_masked','number','close','_doCreateSocket','GET','_compress','Unexpected\x20server\x20response:\x20','species','_writableState','_queue','_registerDependencies','_allowSynchronousEvents','location','onclose','binaryType','unmask','_inflate','collaboration-client-node.config','apply','readyState','_receiver','toStringTag','constructor','once','isServer','_maxPayload','STATUS_CODES','charCodeAt','connect','_final','1867532RoEIwu','pipe','FIN\x20must\x20be\x20set','completeUpgrade','handleProtocols','isInteger','text/plain','WS_ERR_EXPECTED_FIN','sec-websocket-accept','setNoDelay','kError','reset','_options','kListener','encrypted','concurrencyLimit','haveLength','allocUnsafe','_loop','pathname','construct','_binaryType','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','_deflate','flush','__esModule','sec-websocket-key','_fragmented','concurrency','removeEventListener','pause','kMessage','kAborted','join','_closeCode','resume','kRun','statusCode','30AtVpJs','The\x20URL\x27s\x20pathname\x20is\x20empty','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','finishRequest','Z_DEFAULT_WINDOWBITS','The\x20\x22','registerHTTPInterceptor','onerror','_redirects','kByteLength','_autoPong','\x22\x20subprotocol\x20is\x20duplicated','extensions','getConfig','clientTracking','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','shift','compress','getOwnPropertyDescriptor','clientMaxWindowBits','_httpService','_mask','finish','offer','permessage-deflate','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','code','pow','search','buffer','addEventListener','invalid\x20opcode\x20','captureStackTrace','_bufferedAmount','headers','_payloadLength','_maskBuffer','upgrade','hostname','next','status-code','onmessage','getInfo','object','Blob','server','The\x20server\x20is\x20not\x20running','socket','push','_firstFragment','text/html','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','split','cork','address','nodebuffer','startsWith','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','acceptAsServer','verifyClient','Invalid\x20Sec-WebSocket-Extensions\x20header','env','kCode','skipUTF8Validation','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','values','sec-websocket-protocol','abort','_removeListeners','jobs','handleUpgrade','Max\x20payload\x20size\x20exceeded','_bufferedBytes','startLoop','clients','Invalid\x20WebSocket\x20frame:\x20','drain','writable','has','protocol','Z_SYNC_FLUSH','username','send','_max_window_bits','mask','decompress','protocolVersion','error','readUInt32BE','_skipUTF8Validation','WS_ERR_UNEXPECTED_MASK','listenerCount','call','_state','Upgrade:\x20websocket','WS_ERR_INVALID_UTF8','readUInt16BE','base64','CONNECTING','getMask','digest','_server','Invalid\x20URL:\x20','4435284NSlYUc','HTTP/1.1\x20','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','WS_NO_UTF_8_VALIDATE','errorEmitted','_protocol','_paused','Unexpected\x20character\x20at\x20index\x20','749845BVIwoo','host','bind','getData','readOnly','client_max_window_bits','4qdicvj','params','dequeue','path','_req','hash','emitClose','alloc','sec-websocket-version','destroyed','autoPong','slice','http:','https:','Invalid\x20Sec-WebSocket-Accept\x20header','kDone','createError','Parameter\x20\x22','noServer','catch','port','createDeflateRaw','add'];_0x1177=function(){return _0x559d79;};return _0x1177();}let at=class extends _0x54c2d4{constructor(_0x395869,_0x4cfafa,_0x23f9db,_0x2632f3,_0x231750){const _0x3bdc5f=_0x5dc2c6;super(_0x395869,_0x4cfafa,_0x23f9db,_0x2632f3,_0x231750);const _0x29ac9e=this[_0x3bdc5f(0x12f)][_0x3bdc5f(0x255)](Be);this[_0x3bdc5f(0x25c)][_0x3bdc5f(0x24e)]({'interceptor':(_0x3b0ba6,_0x55b2b4)=>{const _0x13fd9a=_0x3bdc5f;var _0x440d81;const _0x5b84fd=_0x3b0ba6[_0x13fd9a(0x26a)];return(_0x440d81=_0x29ac9e==null?void 0x0:_0x29ac9e[_0x13fd9a(0x1b8)])!=null&&_0x440d81[_0x13fd9a(0x17b)]&&_0x5b84fd[_0x13fd9a(0x16d)](_0x13fd9a(0x18f),_0x29ac9e[_0x13fd9a(0x1b8)]['cookie']),_0x55b2b4(_0x3b0ba6);}});}async[_0x5dc2c6(0x179)](_0x2d061e){const _0x1c5df6=_0x5dc2c6;return this[_0x1c5df6(0x207)](_0x2d061e);}};at=cr([se(0x0,_0x446888(_0x27aed1)),se(0x1,_0x446888(_0x52f0db)),se(0x2,_0x4b618c),se(0x3,_0x2ef66e),se(0x4,_0x15c6f1)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|
|
1
|
+
const _0xc592e0=_0x33fa;(function(_0x4226fd,_0x70d399){const _0x2f649e=_0x33fa,_0x5295e7=_0x4226fd();while(!![]){try{const _0x435cb5=parseInt(_0x2f649e(0x12f))/0x1*(-parseInt(_0x2f649e(0x178))/0x2)+parseInt(_0x2f649e(0x228))/0x3*(-parseInt(_0x2f649e(0x139))/0x4)+-parseInt(_0x2f649e(0x127))/0x5*(-parseInt(_0x2f649e(0x2b3))/0x6)+-parseInt(_0x2f649e(0x204))/0x7+parseInt(_0x2f649e(0x20b))/0x8+parseInt(_0x2f649e(0x175))/0x9*(-parseInt(_0x2f649e(0x13a))/0xa)+-parseInt(_0x2f649e(0x286))/0xb*(-parseInt(_0x2f649e(0x129))/0xc);if(_0x435cb5===_0x70d399)break;else _0x5295e7['push'](_0x5295e7['shift']());}catch(_0x3f7d31){_0x5295e7['push'](_0x5295e7['shift']());}}}(_0x5e37,0x1cb8a));import{UniverCollaborationClientPlugin as _0x56ed27,CollaborationSocketService as _0x505879}from'@univerjs-pro/collaboration-client';import{Disposable as _0x372dc6,DisposableCollection as _0x4f61fc,toDisposable as _0x3635b1,IConfigService as _0xa8ce35,DependentOn as _0x128f79,ILogService as _0xfe304b,Inject as _0xf2788c,Injector as _0x50503b,Plugin as _0xbd7967,registerDependencies as _0x4d5543}from'@univerjs/core';import{ISocketService as _0x249bf7,HTTPService as _0x7723dd}from'@univerjs/network';import{Observable as _0x60adf7,share as _0x148dcc}from'rxjs';import _0x65c4b3 from'events';function _0x5e37(){const _0x36a30d=['Invalid\x20Sec-WebSocket-Accept\x20header','protocol','1869896voQRvR','_options','File','Maximum\x20redirects\x20exceeded','total-length','endEmitted','createInflateRaw','destroy','onStarting','_closeFrameReceived','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','startLoop','unmask','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','options','open','dispatch','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','WS_ERR_UNEXPECTED_RSV_2_3','createDeflateRaw','shouldHandle','server_no_context_takeover','Module','MASK\x20must\x20be\x20clear','charCodeAt','binary','arraybuffer','request','next','99867hTSdmp','set','Sec-WebSocket-Protocol','pluginName','getPayloadLength16','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','isArray','noServer','handleProtocols','cookie','_originalHostOrSocketPath','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','sec-websocket-origin','generateMask','_buffers','isInteger','_isServer','_opcode','reason','client_max_window_bits','defaultPort','_maxPayload','location','path','setHeader','kListener','WS_ERR_INVALID_CLOSE_CODE','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','_totalPayloadLength','_read','addEventListener','emitClose','forEach','bind','listening','kIsForOnEventAttribute','sec-websocket-key','STATUS_CODES','defineProperty','decompress','wss:','_server','sec-websocket-version','wsClientError','_masked','_readableState','_messageLength','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','value','haveLength','invalid\x20status\x20code\x20','invalid\x20opcode\x200','getBlobData','cleanup','add','_shouldEmitClose','WS_ERR_UNEXPECTED_MASK','_state','cork','string','_final','apply','onmessage','Upgrade','message','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','readable','writable','_autoPong','_redirects','Opening\x20handshake\x20has\x20timed\x20out','createSocket','verifyClient','allocUnsafe','byteLength','accept','Sec-WebSocket-Protocol:\x20','completeUpgrade','status-code','stream','host','setTimeout','invalid\x20UTF-8\x20sequence','update','_allowSynchronousEvents','readyState','ping','call','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','_doCreateSocket','Max\x20payload\x20size\x20exceeded','entries','redirect','__esModule','201718WAPwPJ','toString','controlMessage','kReason','_inflate','permessage-deflate','RSV1\x20must\x20be\x20clear','OPEN','invalid\x20payload\x20length\x20','onerror','_closeTimer','isValidUTF8','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','Unexpected\x20end\x20of\x20input','params','maxRedirects','onclose','removeEventListener','join','WS_NO_BUFFER_UTIL','hostname','autoPong','CONNECTING','HTTP/1.1\x20101\x20Switching\x20Protocols','search','_mask','sec-websocket-extensions','WS_NO_UTF_8_VALIDATE','nextTick','read','object','Unexpected\x20character\x20at\x20index\x20','headers','bufferedAmount','readOnly','Unsupported\x20protocol\x20version:\x20','dequeue','serverNoContextTakeover','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','upgrade','terminate','byteOffset','concurrencyLimit','origin','env','12zCDonQ','_writableState','send','createServer','wasClean','response','has','_removeListeners','Invalid\x20URL:\x20','getData','write','_sender','customHeaders','fin','isPaused','dataMessage','getConfig','create','extensionName','clientNoContextTakeover','clients','concat','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','Z_DEFAULT_WINDOWBITS','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','Sec-WebSocket-Accept:\x20','opcode','_registerDependencies','MASK\x20must\x20be\x20set','_max_window_bits','skipUTF8Validation','WS_ERR_UNEXPECTED_RSV_1','writeUIntBE','_binaryType','WS_ERR_EXPECTED_MASK','catch','shift','fragments','65660yQrfJY','number','84QvOIPD','CLOSING','_bufferedAmount','_queue','\x22\x20must\x20have\x20only\x20a\x20single\x20value','GET','30ZWBPSW','pipe','drain','blob','_closeFrameSent','isIP','_compressed','server','setNoDelay','_extensions','12BKDmJE','160070pHuEts','followRedirects','allowSynchronousEvents','_originalIpc','CLOSED','finish','The\x20server\x20is\x20not\x20running','jobs','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','zlibInflateOptions','_write','freeze','warn','data','setSocket','keys','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','Upgrade:\x20websocket','href','_req','code','default','toStringTag','pow','_deflate','authorization','Invalid\x20Sec-WebSocket-Extensions\x20header','buffers','finishRequest','_paused','captureStackTrace','error','handleEvent','extensions','onopen','_closeMessage','sendFrame','_closeCode','alloc','conclude','normalizeParams','port','maskBuffer','Basic\x20','errorEmitted','enqueue','writeUInt16BE','Sec-WebSocket-Origin','kCode','perMessageDeflate','needDrain','buffer','_errorEmitted','Sec-WebSocket-Extensions:\x20','kRun','getMask','listeners','sha1','includes','18GejCxn','setConfig','connection','6980PHTEDm','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','sec-websocket-accept','timeout','from','createConnection','_errored','kAborted','frame','_receiver','Invalid\x20Upgrade\x20header','encrypted','WebSocket','finished','_configService','length','FIN\x20must\x20be\x20set','removeListener','_protocol','websocket','dispose','startsWith','_bufferedBytes','socketPath','getInfo','_payloadLength','_maskBuffer','push','_fragmented','kTarget','socket','The\x20URL\x20contains\x20a\x20fragment\x20identifier','pathname','handshakeTimeout','concurrency','\x22\x20subprotocol\x20is\x20duplicated','parse','offer','species','_compress','_fin','uncork','function','Invalid\x20Sec-WebSocket-Protocol\x20header','binaryType','username','client','_loop','resume','password','close','ws:','_injector','construct','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','destroyed','kError','pong','_skipUTF8Validation','acceptAsServer','protocolVersion','once','acceptAsClient','kType','text/html','_threshold','Connection:\x20Upgrade','slice','pause','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','\x20(supported\x20versions:\x20','compress','createError','then','format','WS_ERR_EXPECTED_FIN','writeHead','sec-websocket-protocol','_fragments','_no_context_takeover','arrayBuffer','servername','Invalid\x20HTTP\x20method','connect','kWasClean','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','Invalid\x20value\x20for\x20parameter\x20\x22','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','toLowerCase','_firstFragment','clientMaxWindowBits','digest','WS_ERR_INVALID_OPCODE','abort','readUInt16BE','reset','_socket','replace','type','find','threshold','client_no_context_takeover','invalid\x20opcode\x20','statusCode','The\x20\x22','mask','size','prototype','callback','nodebuffer','_readyState','Invalid\x20WebSocket\x20frame:\x20','maxPayload','target','handleUpgrade','method','pending','_destroy','indexOf','consume','end','WS_ERR_INVALID_UTF8','isBuffer','get','_generateMask','https:','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','http:','\x22:\x20','readUInt32BE','exports','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','kDone','server_max_window_bits','url','map','getPayloadLength64','getOwnPropertyDescriptor','_httpService','emit','239008kyerxd','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','base64','listenerCount','serverMaxWindowBits'];_0x5e37=function(){return _0x36a30d;};return _0x5e37();}import _0x2a038a from'https';import _0x52e28b from'http';import _0x461c75 from'net';import _0x46b953 from'tls';import _0x306241 from'crypto';import _0x1ba7a8 from'stream';import _0x16f754 from'url';import _0x31bb7e from'zlib';import _0x4561d1 from'buffer';import{ISnapshotServerService as _0x1a59b4}from'@univerjs-pro/collaboration';const Be='collaboration-client-node.config',Ft={'customHeaders':{}};function jt(_0x5f397f){const _0x39124b=_0x33fa;return _0x5f397f&&_0x5f397f['__esModule']&&Object['prototype']['hasOwnProperty'][_0x39124b(0x27f)](_0x5f397f,_0x39124b(0x14f))?_0x5f397f['default']:_0x5f397f;}function ut(_0x1e9a90){const _0x460461=_0x33fa;if(Object['prototype']['hasOwnProperty'][_0x460461(0x27f)](_0x1e9a90,_0x460461(0x285)))return _0x1e9a90;var _0x41319f=_0x1e9a90[_0x460461(0x14f)];if(typeof _0x41319f==_0x460461(0x1a2)){var _0x211680=function _0x28b70d(){const _0x257315=_0x460461;return this instanceof _0x28b70d?Reflect[_0x257315(0x1ad)](_0x41319f,arguments,this['constructor']):_0x41319f[_0x257315(0x265)](this,arguments);};_0x211680['prototype']=_0x41319f['prototype'];}else _0x211680={};return Object[_0x460461(0x24e)](_0x211680,_0x460461(0x285),{'value':!0x0}),Object[_0x460461(0x149)](_0x1e9a90)['forEach'](function(_0xade50c){const _0x456ffa=_0x460461;var _0x19e87c=Object['getOwnPropertyDescriptor'](_0x1e9a90,_0xade50c);Object[_0x456ffa(0x24e)](_0x211680,_0xade50c,_0x19e87c[_0x456ffa(0x1f3)]?_0x19e87c:{'enumerable':!0x0,'get':function(){return _0x1e9a90[_0xade50c];}});}),_0x211680;}var te={'exports':{}},ge,Ye;function V(){const _0x3d9905=_0x33fa;if(Ye)return ge;Ye=0x1;const _0x3859dd=[_0x3d9905(0x1e5),_0x3d9905(0x225),_0x3d9905(0x126)],_0x2d3692=typeof Blob<'u';return _0x2d3692&&_0x3859dd['push'](_0x3d9905(0x132)),ge={'BINARY_TYPES':_0x3859dd,'EMPTY_BUFFER':Buffer[_0x3d9905(0x160)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x2d3692,'kForOnEventAttribute':Symbol(_0x3d9905(0x24b)),'kListener':Symbol(_0x3d9905(0x241)),'kStatusCode':Symbol(_0x3d9905(0x276)),'kWebSocket':Symbol(_0x3d9905(0x18b)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0xc592e0(0x145)](Object['defineProperty']({'__proto__':null,'default':Wt},Symbol[_0xc592e0(0x150)],{'value':_0xc592e0(0x221)})),Vt=ut(Gt);var Ke;function ce(){const _0x5a966b=_0xc592e0;if(Ke)return te[_0x5a966b(0x1fa)];Ke=0x1;const {EMPTY_BUFFER:_0x2fb8f1}=V(),_0x1c8125=Buffer[Symbol['species']];function _0x818731(_0xa51c0a,_0xa7c251){const _0x3f265c=_0x5a966b;if(_0xa51c0a['length']===0x0)return _0x2fb8f1;if(_0xa51c0a[_0x3f265c(0x187)]===0x1)return _0xa51c0a[0x0];const _0x11dec5=Buffer[_0x3f265c(0x271)](_0xa7c251);let _0x774316=0x0;for(let _0x3555e5=0x0;_0x3555e5<_0xa51c0a[_0x3f265c(0x187)];_0x3555e5++){const _0x49573b=_0xa51c0a[_0x3555e5];_0x11dec5[_0x3f265c(0x229)](_0x49573b,_0x774316),_0x774316+=_0x49573b['length'];}return _0x774316<_0xa7c251?new _0x1c8125(_0x11dec5['buffer'],_0x11dec5['byteOffset'],_0x774316):_0x11dec5;}function _0x3c8c52(_0x34ea62,_0x12f93f,_0x30c101,_0x5c06bb,_0x43037f){for(let _0x58ce82=0x0;_0x58ce82<_0x43037f;_0x58ce82++)_0x30c101[_0x5c06bb+_0x58ce82]=_0x34ea62[_0x58ce82]^_0x12f93f[_0x58ce82&0x3];}function _0x4b5049(_0x2fde7d,_0x470692){for(let _0x3a00d5=0x0;_0x3a00d5<_0x2fde7d['length'];_0x3a00d5++)_0x2fde7d[_0x3a00d5]^=_0x470692[_0x3a00d5&0x3];}function _0x14080b(_0x2cd8eb){const _0x45c6e4=_0x5a966b;return _0x2cd8eb[_0x45c6e4(0x187)]===_0x2cd8eb[_0x45c6e4(0x16d)]['byteLength']?_0x2cd8eb[_0x45c6e4(0x16d)]:_0x2cd8eb[_0x45c6e4(0x16d)]['slice'](_0x2cd8eb[_0x45c6e4(0x2af)],_0x2cd8eb[_0x45c6e4(0x2af)]+_0x2cd8eb['length']);}function _0x453e5b(_0x375e8a){const _0x3f5443=_0x5a966b;if(_0x453e5b[_0x3f5443(0x2a8)]=!0x0,Buffer[_0x3f5443(0x1f2)](_0x375e8a))return _0x375e8a;let _0x4299d7;return _0x375e8a instanceof ArrayBuffer?_0x4299d7=new _0x1c8125(_0x375e8a):ArrayBuffer['isView'](_0x375e8a)?_0x4299d7=new _0x1c8125(_0x375e8a[_0x3f5443(0x16d)],_0x375e8a[_0x3f5443(0x2af)],_0x375e8a['byteLength']):(_0x4299d7=Buffer[_0x3f5443(0x17c)](_0x375e8a),_0x453e5b[_0x3f5443(0x2a8)]=!0x1),_0x4299d7;}if(te[_0x5a966b(0x1fa)]={'concat':_0x818731,'mask':_0x3c8c52,'toArrayBuffer':_0x14080b,'toBuffer':_0x453e5b,'unmask':_0x4b5049},!process['env'][_0x5a966b(0x299)])try{const _0xab576e=Vt;te['exports'][_0x5a966b(0x1e1)]=function(_0x3a4200,_0x3810b1,_0xc7776c,_0x2dde30,_0x531d61){_0x531d61<0x30?_0x3c8c52(_0x3a4200,_0x3810b1,_0xc7776c,_0x2dde30,_0x531d61):_0xab576e['mask'](_0x3a4200,_0x3810b1,_0xc7776c,_0x2dde30,_0x531d61);},te[_0x5a966b(0x1fa)][_0x5a966b(0x217)]=function(_0x241b52,_0x513ce3){const _0x418f92=_0x5a966b;_0x241b52[_0x418f92(0x187)]<0x20?_0x4b5049(_0x241b52,_0x513ce3):_0xab576e['unmask'](_0x241b52,_0x513ce3);};}catch{}return te[_0x5a966b(0x1fa)];}var ye,Xe;function qt(){const _0x2d159b=_0xc592e0;if(Xe)return ye;Xe=0x1;const _0x4e384c=Symbol(_0x2d159b(0x1fc)),_0x22dd83=Symbol(_0x2d159b(0x170));class _0x42c3fd{constructor(_0x55f5b0){const _0x2546c0=_0x2d159b;this[_0x4e384c]=()=>{const _0x1bb47f=_0x33fa;this[_0x1bb47f(0x1ec)]--,this[_0x22dd83]();},this[_0x2546c0(0x19a)]=_0x55f5b0||0x1/0x0,this[_0x2546c0(0x141)]=[],this[_0x2546c0(0x1ec)]=0x0;}[_0x2d159b(0x25e)](_0x211581){const _0x2452de=_0x2d159b;this['jobs'][_0x2452de(0x193)](_0x211581),this[_0x22dd83]();}[_0x22dd83](){const _0x3b0dc5=_0x2d159b;if(this[_0x3b0dc5(0x1ec)]!==this['concurrency']&&this[_0x3b0dc5(0x141)]['length']){const _0x33c505=this[_0x3b0dc5(0x141)][_0x3b0dc5(0x2d7)]();this[_0x3b0dc5(0x1ec)]++,_0x33c505(this[_0x4e384c]);}}}return ye=_0x42c3fd,ye;}var ve,Ze;function he(){const _0x1e4763=_0xc592e0;if(Ze)return ve;Ze=0x1;const _0x5919ec=_0x31bb7e,_0x45e18a=ce(),_0x2fab12=qt(),{kStatusCode:_0x517da1}=V(),_0x32d893=Buffer[Symbol[_0x1e4763(0x19e)]],_0x464688=Buffer[_0x1e4763(0x17c)]([0x0,0x0,0xff,0xff]),_0x40ad8a=Symbol(_0x1e4763(0x28b)),_0x2c0160=Symbol(_0x1e4763(0x20f)),_0x3581ec=Symbol(_0x1e4763(0x1e4)),_0x24ad05=Symbol(_0x1e4763(0x155)),_0x50949a=Symbol('error');let _0x526b4d;class _0x4941c0{constructor(_0x278117,_0x300533,_0x26211c){const _0x424214=_0x1e4763;if(this[_0x424214(0x23d)]=_0x26211c|0x0,this['_options']=_0x278117||{},this[_0x424214(0x1b9)]=this[_0x424214(0x20c)][_0x424214(0x1dc)]!==void 0x0?this[_0x424214(0x20c)]['threshold']:0x400,this[_0x424214(0x238)]=!!_0x300533,this[_0x424214(0x152)]=null,this[_0x424214(0x28a)]=null,this[_0x424214(0x294)]=null,!_0x526b4d){const _0x29a5ab=this[_0x424214(0x20c)][_0x424214(0x2b0)]!==void 0x0?this[_0x424214(0x20c)][_0x424214(0x2b0)]:0xa;_0x526b4d=new _0x2fab12(_0x29a5ab);}}static get['extensionName'](){const _0x9ed47e=_0x1e4763;return _0x9ed47e(0x28b);}[_0x1e4763(0x19d)](){const _0x317383=_0x1e4763,_0x379f4d={};return this[_0x317383(0x20c)][_0x317383(0x2ab)]&&(_0x379f4d[_0x317383(0x220)]=!0x0),this[_0x317383(0x20c)][_0x317383(0x2c6)]&&(_0x379f4d[_0x317383(0x1dd)]=!0x0),this['_options'][_0x317383(0x208)]&&(_0x379f4d[_0x317383(0x1fd)]=this[_0x317383(0x20c)][_0x317383(0x208)]),this['_options']['clientMaxWindowBits']?_0x379f4d['client_max_window_bits']=this[_0x317383(0x20c)][_0x317383(0x1d2)]:this[_0x317383(0x20c)][_0x317383(0x1d2)]==null&&(_0x379f4d['client_max_window_bits']=!0x0),_0x379f4d;}['accept'](_0x2b3934){const _0x2477a3=_0x1e4763;return _0x2b3934=this[_0x2477a3(0x162)](_0x2b3934),this['params']=this[_0x2477a3(0x238)]?this[_0x2477a3(0x1b3)](_0x2b3934):this[_0x2477a3(0x1b6)](_0x2b3934),this[_0x2477a3(0x294)];}[_0x1e4763(0x25d)](){const _0x1b4db1=_0x1e4763;if(this[_0x1b4db1(0x28a)]&&(this['_inflate'][_0x1b4db1(0x1aa)](),this['_inflate']=null),this[_0x1b4db1(0x152)]){const _0x3b0b74=this[_0x1b4db1(0x152)][_0x3581ec];this[_0x1b4db1(0x152)][_0x1b4db1(0x1aa)](),this[_0x1b4db1(0x152)]=null,_0x3b0b74&&_0x3b0b74(new Error(_0x1b4db1(0x243)));}}[_0x1e4763(0x1b3)](_0x3684db){const _0x363ccf=_0x1e4763,_0x5c698d=this[_0x363ccf(0x20c)],_0xc05606=_0x3684db[_0x363ccf(0x1db)](_0x311e5d=>!(_0x5c698d['serverNoContextTakeover']===!0x1&&_0x311e5d[_0x363ccf(0x220)]||_0x311e5d[_0x363ccf(0x1fd)]&&(_0x5c698d[_0x363ccf(0x208)]===!0x1||typeof _0x5c698d['serverMaxWindowBits']==_0x363ccf(0x128)&&_0x5c698d[_0x363ccf(0x208)]>_0x311e5d[_0x363ccf(0x1fd)])||typeof _0x5c698d[_0x363ccf(0x1d2)]==_0x363ccf(0x128)&&!_0x311e5d[_0x363ccf(0x23b)]));if(!_0xc05606)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x5c698d[_0x363ccf(0x2ab)]&&(_0xc05606['server_no_context_takeover']=!0x0),_0x5c698d['clientNoContextTakeover']&&(_0xc05606['client_no_context_takeover']=!0x0),typeof _0x5c698d[_0x363ccf(0x208)]=='number'&&(_0xc05606['server_max_window_bits']=_0x5c698d[_0x363ccf(0x208)]),typeof _0x5c698d[_0x363ccf(0x1d2)]==_0x363ccf(0x128)?_0xc05606[_0x363ccf(0x23b)]=_0x5c698d[_0x363ccf(0x1d2)]:(_0xc05606[_0x363ccf(0x23b)]===!0x0||_0x5c698d[_0x363ccf(0x1d2)]===!0x1)&&delete _0xc05606['client_max_window_bits'],_0xc05606;}[_0x1e4763(0x1b6)](_0x540707){const _0x370f39=_0x1e4763,_0x35dda3=_0x540707[0x0];if(this[_0x370f39(0x20c)][_0x370f39(0x2c6)]===!0x1&&_0x35dda3[_0x370f39(0x1dd)])throw new Error(_0x370f39(0x1cf));if(!_0x35dda3['client_max_window_bits'])typeof this['_options'][_0x370f39(0x1d2)]==_0x370f39(0x128)&&(_0x35dda3[_0x370f39(0x23b)]=this[_0x370f39(0x20c)][_0x370f39(0x1d2)]);else{if(this[_0x370f39(0x20c)]['clientMaxWindowBits']===!0x1||typeof this['_options'][_0x370f39(0x1d2)]==_0x370f39(0x128)&&_0x35dda3[_0x370f39(0x23b)]>this[_0x370f39(0x20c)][_0x370f39(0x1d2)])throw new Error(_0x370f39(0x142));}return _0x35dda3;}[_0x1e4763(0x162)](_0x41c907){const _0x1c4567=_0x1e4763;return _0x41c907[_0x1c4567(0x248)](_0x3d1182=>{const _0x23d4f3=_0x1c4567;Object[_0x23d4f3(0x149)](_0x3d1182)[_0x23d4f3(0x248)](_0x2ba827=>{const _0x2d004f=_0x23d4f3;let _0x2763bf=_0x3d1182[_0x2ba827];if(_0x2763bf['length']>0x1)throw new Error('Parameter\x20\x22'+_0x2ba827+_0x2d004f(0x12d));if(_0x2763bf=_0x2763bf[0x0],_0x2ba827===_0x2d004f(0x23b)){if(_0x2763bf!==!0x0){const _0x148c28=+_0x2763bf;if(!Number[_0x2d004f(0x237)](_0x148c28)||_0x148c28<0x8||_0x148c28>0xf)throw new TypeError(_0x2d004f(0x1ce)+_0x2ba827+'\x22:\x20'+_0x2763bf);_0x2763bf=_0x148c28;}else{if(!this[_0x2d004f(0x238)])throw new TypeError(_0x2d004f(0x1ce)+_0x2ba827+_0x2d004f(0x1f8)+_0x2763bf);}}else{if(_0x2ba827==='server_max_window_bits'){const _0x55c514=+_0x2763bf;if(!Number[_0x2d004f(0x237)](_0x55c514)||_0x55c514<0x8||_0x55c514>0xf)throw new TypeError(_0x2d004f(0x1ce)+_0x2ba827+_0x2d004f(0x1f8)+_0x2763bf);_0x2763bf=_0x55c514;}else{if(_0x2ba827==='client_no_context_takeover'||_0x2ba827===_0x2d004f(0x220)){if(_0x2763bf!==!0x0)throw new TypeError(_0x2d004f(0x1ce)+_0x2ba827+_0x2d004f(0x1f8)+_0x2763bf);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x2ba827+'\x22');}}_0x3d1182[_0x2ba827]=_0x2763bf;});}),_0x41c907;}['decompress'](_0x311890,_0x1265ab,_0x120b48){_0x526b4d['add'](_0x339f4a=>{this['_decompress'](_0x311890,_0x1265ab,(_0x6b7f22,_0x436de1)=>{_0x339f4a(),_0x120b48(_0x6b7f22,_0x436de1);});});}['compress'](_0x4b3d4a,_0x19b3a9,_0x59559a){const _0x3b14aa=_0x1e4763;_0x526b4d[_0x3b14aa(0x25e)](_0x7666e1=>{this['_compress'](_0x4b3d4a,_0x19b3a9,(_0x194814,_0x418c92)=>{_0x7666e1(),_0x59559a(_0x194814,_0x418c92);});});}['_decompress'](_0x2702e1,_0xaa9241,_0x346b7b){const _0x434e1f=_0x1e4763,_0x4bf84b=this[_0x434e1f(0x238)]?_0x434e1f(0x1a6):_0x434e1f(0x136);if(!this[_0x434e1f(0x28a)]){const _0x2397c5=_0x4bf84b+_0x434e1f(0x2d0),_0x379818=typeof this['params'][_0x2397c5]!=_0x434e1f(0x128)?_0x5919ec[_0x434e1f(0x2ca)]:this[_0x434e1f(0x294)][_0x2397c5];this[_0x434e1f(0x28a)]=_0x5919ec[_0x434e1f(0x211)]({...this['_options'][_0x434e1f(0x143)],'windowBits':_0x379818}),this[_0x434e1f(0x28a)][_0x40ad8a]=this,this['_inflate'][_0x2c0160]=0x0,this[_0x434e1f(0x28a)][_0x24ad05]=[],this[_0x434e1f(0x28a)]['on'](_0x434e1f(0x159),_0x24110f),this[_0x434e1f(0x28a)]['on'](_0x434e1f(0x147),_0x4297f7);}this[_0x434e1f(0x28a)][_0x3581ec]=_0x346b7b,this[_0x434e1f(0x28a)][_0x434e1f(0x2bd)](_0x2702e1),_0xaa9241&&this[_0x434e1f(0x28a)]['write'](_0x464688),this['_inflate']['flush'](()=>{const _0x1ca781=_0x434e1f,_0x2fe3e8=this[_0x1ca781(0x28a)][_0x50949a];if(_0x2fe3e8){this['_inflate'][_0x1ca781(0x1aa)](),this[_0x1ca781(0x28a)]=null,_0x346b7b(_0x2fe3e8);return;}const _0x21e2de=_0x45e18a[_0x1ca781(0x2c8)](this[_0x1ca781(0x28a)][_0x24ad05],this[_0x1ca781(0x28a)][_0x2c0160]);this[_0x1ca781(0x28a)][_0x1ca781(0x255)]['endEmitted']?(this[_0x1ca781(0x28a)][_0x1ca781(0x1aa)](),this[_0x1ca781(0x28a)]=null):(this[_0x1ca781(0x28a)][_0x2c0160]=0x0,this['_inflate'][_0x24ad05]=[],_0xaa9241&&this['params'][_0x4bf84b+_0x1ca781(0x1c7)]&&this[_0x1ca781(0x28a)]['reset']()),_0x346b7b(null,_0x21e2de);});}[_0x1e4763(0x19f)](_0x2d22f3,_0x23477c,_0x2e069d){const _0x5b8981=_0x1e4763,_0x92d4c0=this[_0x5b8981(0x238)]?'server':_0x5b8981(0x1a6);if(!this['_deflate']){const _0x5d6e19=_0x92d4c0+'_max_window_bits',_0x26001e=typeof this[_0x5b8981(0x294)][_0x5d6e19]!=_0x5b8981(0x128)?_0x5919ec[_0x5b8981(0x2ca)]:this[_0x5b8981(0x294)][_0x5d6e19];this[_0x5b8981(0x152)]=_0x5919ec[_0x5b8981(0x21e)]({...this[_0x5b8981(0x20c)]['zlibDeflateOptions'],'windowBits':_0x26001e}),this['_deflate'][_0x2c0160]=0x0,this[_0x5b8981(0x152)][_0x24ad05]=[],this[_0x5b8981(0x152)]['on'](_0x5b8981(0x147),_0x200408);}this['_deflate'][_0x3581ec]=_0x2e069d,this[_0x5b8981(0x152)][_0x5b8981(0x2bd)](_0x2d22f3),this[_0x5b8981(0x152)]['flush'](_0x5919ec['Z_SYNC_FLUSH'],()=>{const _0x284565=_0x5b8981;if(!this['_deflate'])return;let _0x3dfbb7=_0x45e18a[_0x284565(0x2c8)](this[_0x284565(0x152)][_0x24ad05],this[_0x284565(0x152)][_0x2c0160]);_0x23477c&&(_0x3dfbb7=new _0x32d893(_0x3dfbb7[_0x284565(0x16d)],_0x3dfbb7['byteOffset'],_0x3dfbb7['length']-0x4)),this['_deflate'][_0x3581ec]=null,this[_0x284565(0x152)][_0x2c0160]=0x0,this[_0x284565(0x152)][_0x24ad05]=[],_0x23477c&&this['params'][_0x92d4c0+_0x284565(0x1c7)]&&this[_0x284565(0x152)][_0x284565(0x1d7)](),_0x2e069d(null,_0x3dfbb7);});}}ve=_0x4941c0;function _0x200408(_0x175de2){const _0x25d24a=_0x1e4763;this[_0x24ad05][_0x25d24a(0x193)](_0x175de2),this[_0x2c0160]+=_0x175de2[_0x25d24a(0x187)];}function _0x4297f7(_0xe15bba){const _0x535975=_0x1e4763;if(this[_0x2c0160]+=_0xe15bba[_0x535975(0x187)],this[_0x40ad8a][_0x535975(0x23d)]<0x1||this[_0x2c0160]<=this[_0x40ad8a][_0x535975(0x23d)]){this[_0x24ad05][_0x535975(0x193)](_0xe15bba);return;}this[_0x50949a]=new RangeError(_0x535975(0x282)),this[_0x50949a][_0x535975(0x14e)]=_0x535975(0x2ac),this[_0x50949a][_0x517da1]=0x3f1,this[_0x535975(0x189)]('data',_0x4297f7),this[_0x535975(0x1d7)]();}function _0x24110f(_0xc7da73){const _0x3bc6ec=_0x1e4763;this[_0x40ad8a][_0x3bc6ec(0x28a)]=null,_0xc7da73[_0x517da1]=0x3ef,this[_0x3581ec](_0xc7da73);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0xc592e0(0x145)](Object[_0xc592e0(0x24e)]({'__proto__':null,'default':Ht},Symbol[_0xc592e0(0x150)],{'value':'Module'})),Yt=ut(zt);var Qe;function ne(){const _0x405cb0=_0xc592e0;if(Qe)return re[_0x405cb0(0x1fa)];Qe=0x1;const {isUtf8:_0x1097f0}=_0x4561d1,{hasBlob:_0xf6bbb6}=V(),_0x35272f=[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 _0x1b9eee(_0x4287fa){return _0x4287fa>=0x3e8&&_0x4287fa<=0x3f6&&_0x4287fa!==0x3ec&&_0x4287fa!==0x3ed&&_0x4287fa!==0x3ee||_0x4287fa>=0xbb8&&_0x4287fa<=0x1387;}function _0x561b1e(_0x1c8b73){const _0x3f8505=_0x405cb0,_0x1cbc03=_0x1c8b73[_0x3f8505(0x187)];let _0x18c032=0x0;for(;_0x18c032<_0x1cbc03;)if((_0x1c8b73[_0x18c032]&0x80)===0x0)_0x18c032++;else{if((_0x1c8b73[_0x18c032]&0xe0)===0xc0){if(_0x18c032+0x1===_0x1cbc03||(_0x1c8b73[_0x18c032+0x1]&0xc0)!==0x80||(_0x1c8b73[_0x18c032]&0xfe)===0xc0)return!0x1;_0x18c032+=0x2;}else{if((_0x1c8b73[_0x18c032]&0xf0)===0xe0){if(_0x18c032+0x2>=_0x1cbc03||(_0x1c8b73[_0x18c032+0x1]&0xc0)!==0x80||(_0x1c8b73[_0x18c032+0x2]&0xc0)!==0x80||_0x1c8b73[_0x18c032]===0xe0&&(_0x1c8b73[_0x18c032+0x1]&0xe0)===0x80||_0x1c8b73[_0x18c032]===0xed&&(_0x1c8b73[_0x18c032+0x1]&0xe0)===0xa0)return!0x1;_0x18c032+=0x3;}else{if((_0x1c8b73[_0x18c032]&0xf8)===0xf0){if(_0x18c032+0x3>=_0x1cbc03||(_0x1c8b73[_0x18c032+0x1]&0xc0)!==0x80||(_0x1c8b73[_0x18c032+0x2]&0xc0)!==0x80||(_0x1c8b73[_0x18c032+0x3]&0xc0)!==0x80||_0x1c8b73[_0x18c032]===0xf0&&(_0x1c8b73[_0x18c032+0x1]&0xf0)===0x80||_0x1c8b73[_0x18c032]===0xf4&&_0x1c8b73[_0x18c032+0x1]>0x8f||_0x1c8b73[_0x18c032]>0xf4)return!0x1;_0x18c032+=0x4;}else return!0x1;}}}return!0x0;}function _0x585132(_0x5ab3ab){const _0x58895a=_0x405cb0;return _0xf6bbb6&&typeof _0x5ab3ab==_0x58895a(0x2a4)&&typeof _0x5ab3ab[_0x58895a(0x1c8)]==_0x58895a(0x1a2)&&typeof _0x5ab3ab[_0x58895a(0x1da)]==_0x58895a(0x263)&&typeof _0x5ab3ab[_0x58895a(0x277)]==_0x58895a(0x1a2)&&(_0x5ab3ab[Symbol[_0x58895a(0x150)]]==='Blob'||_0x5ab3ab[Symbol[_0x58895a(0x150)]]===_0x58895a(0x20d));}if(re[_0x405cb0(0x1fa)]={'isBlob':_0x585132,'isValidStatusCode':_0x1b9eee,'isValidUTF8':_0x561b1e,'tokenChars':_0x35272f},_0x1097f0)re[_0x405cb0(0x1fa)]['isValidUTF8']=function(_0x3c0c9c){return _0x3c0c9c['length']<0x18?_0x561b1e(_0x3c0c9c):_0x1097f0(_0x3c0c9c);};else{if(!process[_0x405cb0(0x2b2)][_0x405cb0(0x2a1)])try{const _0x1d3277=Yt;re[_0x405cb0(0x1fa)][_0x405cb0(0x291)]=function(_0x5d121b){return _0x5d121b['length']<0x20?_0x561b1e(_0x5d121b):_0x1d3277(_0x5d121b);};}catch{}}return re[_0x405cb0(0x1fa)];}var Se,Je;function dt(){const _0x480757=_0xc592e0;if(Je)return Se;Je=0x1;const {Writable:_0x31611a}=_0x1ba7a8,_0x405f45=he(),{BINARY_TYPES:_0x121c6e,EMPTY_BUFFER:_0x22181b,kStatusCode:_0x1b7d13,kWebSocket:_0x372e4c}=V(),{concat:_0x531ca8,toArrayBuffer:_0x1bc102,unmask:_0x41f58c}=ce(),{isValidStatusCode:_0x58ea54,isValidUTF8:_0x2c7cc5}=ne(),_0x8430bf=Buffer[Symbol[_0x480757(0x19e)]],_0x3a9485=0x0,_0x49e0d4=0x1,_0x1da475=0x2,_0x279059=0x3,_0x4d60f8=0x4,_0x21ef5c=0x5,_0x1b98c3=0x6;class _0x409acf extends _0x31611a{constructor(_0x1acb8b={}){const _0x1e6677=_0x480757;super(),this[_0x1e6677(0x27c)]=_0x1acb8b['allowSynchronousEvents']!==void 0x0?_0x1acb8b[_0x1e6677(0x13c)]:!0x0,this[_0x1e6677(0x2d4)]=_0x1acb8b[_0x1e6677(0x1a4)]||_0x121c6e[0x0],this[_0x1e6677(0x138)]=_0x1acb8b[_0x1e6677(0x15b)]||{},this[_0x1e6677(0x238)]=!!_0x1acb8b['isServer'],this[_0x1e6677(0x23d)]=_0x1acb8b['maxPayload']|0x0,this[_0x1e6677(0x1b2)]=!!_0x1acb8b['skipUTF8Validation'],this[_0x372e4c]=void 0x0,this['_bufferedBytes']=0x0,this[_0x1e6677(0x236)]=[],this[_0x1e6677(0x135)]=!0x1,this[_0x1e6677(0x191)]=0x0,this['_mask']=void 0x0,this['_fragmented']=0x0,this['_masked']=!0x1,this[_0x1e6677(0x1a0)]=!0x1,this['_opcode']=0x0,this[_0x1e6677(0x244)]=0x0,this['_messageLength']=0x0,this[_0x1e6677(0x1c6)]=[],this['_errored']=!0x1,this[_0x1e6677(0x1a7)]=!0x1,this['_state']=_0x3a9485;}[_0x480757(0x144)](_0x2135db,_0x291f76,_0x16ce1a){const _0x448c53=_0x480757;if(this[_0x448c53(0x239)]===0x8&&this[_0x448c53(0x261)]==_0x3a9485)return _0x16ce1a();this[_0x448c53(0x18e)]+=_0x2135db['length'],this[_0x448c53(0x236)][_0x448c53(0x193)](_0x2135db),this[_0x448c53(0x216)](_0x16ce1a);}[_0x480757(0x1ef)](_0x4f4078){const _0x5b93d7=_0x480757;if(this['_bufferedBytes']-=_0x4f4078,_0x4f4078===this[_0x5b93d7(0x236)][0x0][_0x5b93d7(0x187)])return this[_0x5b93d7(0x236)]['shift']();if(_0x4f4078<this[_0x5b93d7(0x236)][0x0][_0x5b93d7(0x187)]){const _0x2162ac=this[_0x5b93d7(0x236)][0x0];return this['_buffers'][0x0]=new _0x8430bf(_0x2162ac[_0x5b93d7(0x16d)],_0x2162ac[_0x5b93d7(0x2af)]+_0x4f4078,_0x2162ac[_0x5b93d7(0x187)]-_0x4f4078),new _0x8430bf(_0x2162ac[_0x5b93d7(0x16d)],_0x2162ac[_0x5b93d7(0x2af)],_0x4f4078);}const _0x774dd2=Buffer[_0x5b93d7(0x271)](_0x4f4078);do{const _0x428d3c=this[_0x5b93d7(0x236)][0x0],_0x5de305=_0x774dd2[_0x5b93d7(0x187)]-_0x4f4078;_0x4f4078>=_0x428d3c[_0x5b93d7(0x187)]?_0x774dd2[_0x5b93d7(0x229)](this[_0x5b93d7(0x236)][_0x5b93d7(0x2d7)](),_0x5de305):(_0x774dd2['set'](new Uint8Array(_0x428d3c[_0x5b93d7(0x16d)],_0x428d3c[_0x5b93d7(0x2af)],_0x4f4078),_0x5de305),this[_0x5b93d7(0x236)][0x0]=new _0x8430bf(_0x428d3c['buffer'],_0x428d3c[_0x5b93d7(0x2af)]+_0x4f4078,_0x428d3c['length']-_0x4f4078)),_0x4f4078-=_0x428d3c['length'];}while(_0x4f4078>0x0);return _0x774dd2;}['startLoop'](_0x35b652){const _0x4d8c4f=_0x480757;this[_0x4d8c4f(0x1a7)]=!0x0;do switch(this[_0x4d8c4f(0x261)]){case _0x3a9485:this[_0x4d8c4f(0x190)](_0x35b652);break;case _0x49e0d4:this['getPayloadLength16'](_0x35b652);break;case _0x1da475:this[_0x4d8c4f(0x200)](_0x35b652);break;case _0x279059:this[_0x4d8c4f(0x171)]();break;case _0x4d60f8:this[_0x4d8c4f(0x2bc)](_0x35b652);break;case _0x21ef5c:case _0x1b98c3:this['_loop']=!0x1;return;}while(this[_0x4d8c4f(0x1a7)]);this[_0x4d8c4f(0x17e)]||_0x35b652();}[_0x480757(0x190)](_0x3a125c){const _0x10d9bb=_0x480757;if(this[_0x10d9bb(0x18e)]<0x2){this[_0x10d9bb(0x1a7)]=!0x1;return;}const _0xcbce82=this[_0x10d9bb(0x1ef)](0x2);if((_0xcbce82[0x0]&0x30)!==0x0){const _0x13dcca=this[_0x10d9bb(0x1c0)](RangeError,_0x10d9bb(0x215),!0x0,0x3ea,_0x10d9bb(0x21d));_0x3a125c(_0x13dcca);return;}const _0x39abd5=(_0xcbce82[0x0]&0x40)===0x40;if(_0x39abd5&&!this[_0x10d9bb(0x138)][_0x405f45[_0x10d9bb(0x2c5)]]){const _0x3883aa=this[_0x10d9bb(0x1c0)](RangeError,_0x10d9bb(0x28c),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x3a125c(_0x3883aa);return;}if(this[_0x10d9bb(0x1a0)]=(_0xcbce82[0x0]&0x80)===0x80,this[_0x10d9bb(0x239)]=_0xcbce82[0x0]&0xf,this[_0x10d9bb(0x191)]=_0xcbce82[0x1]&0x7f,this[_0x10d9bb(0x239)]===0x0){if(_0x39abd5){const _0x387985=this[_0x10d9bb(0x1c0)](RangeError,_0x10d9bb(0x28c),!0x0,0x3ea,_0x10d9bb(0x2d2));_0x3a125c(_0x387985);return;}if(!this['_fragmented']){const _0x1bbefc=this[_0x10d9bb(0x1c0)](RangeError,_0x10d9bb(0x25b),!0x0,0x3ea,_0x10d9bb(0x1d4));_0x3a125c(_0x1bbefc);return;}this[_0x10d9bb(0x239)]=this[_0x10d9bb(0x194)];}else{if(this[_0x10d9bb(0x239)]===0x1||this[_0x10d9bb(0x239)]===0x2){if(this[_0x10d9bb(0x194)]){const _0x20c797=this['createError'](RangeError,'invalid\x20opcode\x20'+this[_0x10d9bb(0x239)],!0x0,0x3ea,_0x10d9bb(0x1d4));_0x3a125c(_0x20c797);return;}this[_0x10d9bb(0x135)]=_0x39abd5;}else{if(this[_0x10d9bb(0x239)]>0x7&&this[_0x10d9bb(0x239)]<0xb){if(!this[_0x10d9bb(0x1a0)]){const _0x5ad6b1=this['createError'](RangeError,_0x10d9bb(0x188),!0x0,0x3ea,_0x10d9bb(0x1c3));_0x3a125c(_0x5ad6b1);return;}if(_0x39abd5){const _0x3b1fdf=this[_0x10d9bb(0x1c0)](RangeError,_0x10d9bb(0x28c),!0x0,0x3ea,_0x10d9bb(0x2d2));_0x3a125c(_0x3b1fdf);return;}if(this[_0x10d9bb(0x191)]>0x7d||this[_0x10d9bb(0x239)]===0x8&&this[_0x10d9bb(0x191)]===0x1){const _0x2d1b39=this[_0x10d9bb(0x1c0)](RangeError,_0x10d9bb(0x28e)+this['_payloadLength'],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x3a125c(_0x2d1b39);return;}}else{const _0x20037d=this[_0x10d9bb(0x1c0)](RangeError,_0x10d9bb(0x1de)+this[_0x10d9bb(0x239)],!0x0,0x3ea,_0x10d9bb(0x1d4));_0x3a125c(_0x20037d);return;}}}if(!this[_0x10d9bb(0x1a0)]&&!this[_0x10d9bb(0x194)]&&(this['_fragmented']=this['_opcode']),this['_masked']=(_0xcbce82[0x1]&0x80)===0x80,this[_0x10d9bb(0x238)]){if(!this[_0x10d9bb(0x254)]){const _0x5e1d7a=this[_0x10d9bb(0x1c0)](RangeError,_0x10d9bb(0x2cf),!0x0,0x3ea,_0x10d9bb(0x2d5));_0x3a125c(_0x5e1d7a);return;}}else{if(this[_0x10d9bb(0x254)]){const _0x64223b=this[_0x10d9bb(0x1c0)](RangeError,_0x10d9bb(0x222),!0x0,0x3ea,_0x10d9bb(0x260));_0x3a125c(_0x64223b);return;}}this['_payloadLength']===0x7e?this[_0x10d9bb(0x261)]=_0x49e0d4:this['_payloadLength']===0x7f?this[_0x10d9bb(0x261)]=_0x1da475:this['haveLength'](_0x3a125c);}[_0x480757(0x22c)](_0xd6f2d5){const _0x1880e6=_0x480757;if(this[_0x1880e6(0x18e)]<0x2){this[_0x1880e6(0x1a7)]=!0x1;return;}this[_0x1880e6(0x191)]=this[_0x1880e6(0x1ef)](0x2)[_0x1880e6(0x1d6)](0x0),this[_0x1880e6(0x259)](_0xd6f2d5);}[_0x480757(0x200)](_0x3a4b46){const _0x1c35f3=_0x480757;if(this[_0x1c35f3(0x18e)]<0x8){this[_0x1c35f3(0x1a7)]=!0x1;return;}const _0x581c77=this['consume'](0x8),_0x11afe1=_0x581c77['readUInt32BE'](0x0);if(_0x11afe1>Math['pow'](0x2,0x15)-0x1){const _0x30a828=this[_0x1c35f3(0x1c0)](RangeError,_0x1c35f3(0x280),!0x1,0x3f1,_0x1c35f3(0x1ae));_0x3a4b46(_0x30a828);return;}this[_0x1c35f3(0x191)]=_0x11afe1*Math[_0x1c35f3(0x151)](0x2,0x20)+_0x581c77[_0x1c35f3(0x1f9)](0x4),this[_0x1c35f3(0x259)](_0x3a4b46);}[_0x480757(0x259)](_0x33c7dd){const _0x3a869e=_0x480757;if(this['_payloadLength']&&this[_0x3a869e(0x239)]<0x8&&(this[_0x3a869e(0x244)]+=this[_0x3a869e(0x191)],this[_0x3a869e(0x244)]>this['_maxPayload']&&this[_0x3a869e(0x23d)]>0x0)){const _0x508ace=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x3a869e(0x2ac));_0x33c7dd(_0x508ace);return;}this[_0x3a869e(0x254)]?this['_state']=_0x279059:this[_0x3a869e(0x261)]=_0x4d60f8;}[_0x480757(0x171)](){const _0x4c4864=_0x480757;if(this[_0x4c4864(0x18e)]<0x4){this[_0x4c4864(0x1a7)]=!0x1;return;}this[_0x4c4864(0x29f)]=this[_0x4c4864(0x1ef)](0x4),this['_state']=_0x4d60f8;}[_0x480757(0x2bc)](_0x42182d){const _0x1750e7=_0x480757;let _0xf85f4b=_0x22181b;if(this[_0x1750e7(0x191)]){if(this[_0x1750e7(0x18e)]<this[_0x1750e7(0x191)]){this['_loop']=!0x1;return;}_0xf85f4b=this[_0x1750e7(0x1ef)](this[_0x1750e7(0x191)]),this[_0x1750e7(0x254)]&&(this[_0x1750e7(0x29f)][0x0]|this[_0x1750e7(0x29f)][0x1]|this[_0x1750e7(0x29f)][0x2]|this[_0x1750e7(0x29f)][0x3])!==0x0&&_0x41f58c(_0xf85f4b,this[_0x1750e7(0x29f)]);}if(this[_0x1750e7(0x239)]>0x7){this[_0x1750e7(0x288)](_0xf85f4b,_0x42182d);return;}if(this[_0x1750e7(0x135)]){this[_0x1750e7(0x261)]=_0x21ef5c,this[_0x1750e7(0x24f)](_0xf85f4b,_0x42182d);return;}_0xf85f4b[_0x1750e7(0x187)]&&(this[_0x1750e7(0x256)]=this['_totalPayloadLength'],this[_0x1750e7(0x1c6)]['push'](_0xf85f4b)),this[_0x1750e7(0x2c2)](_0x42182d);}[_0x480757(0x24f)](_0x54b89d,_0x2269d8){const _0x244c90=_0x480757;this[_0x244c90(0x138)][_0x405f45[_0x244c90(0x2c5)]][_0x244c90(0x24f)](_0x54b89d,this[_0x244c90(0x1a0)],(_0x573976,_0x1d0c50)=>{const _0x11bfba=_0x244c90;if(_0x573976)return _0x2269d8(_0x573976);if(_0x1d0c50[_0x11bfba(0x187)]){if(this[_0x11bfba(0x256)]+=_0x1d0c50[_0x11bfba(0x187)],this['_messageLength']>this['_maxPayload']&&this[_0x11bfba(0x23d)]>0x0){const _0x3f130f=this[_0x11bfba(0x1c0)](RangeError,_0x11bfba(0x282),!0x1,0x3f1,_0x11bfba(0x2ac));_0x2269d8(_0x3f130f);return;}this['_fragments'][_0x11bfba(0x193)](_0x1d0c50);}this[_0x11bfba(0x2c2)](_0x2269d8),this['_state']===_0x3a9485&&this['startLoop'](_0x2269d8);});}[_0x480757(0x2c2)](_0x585e79){const _0x300fe4=_0x480757;if(!this[_0x300fe4(0x1a0)]){this[_0x300fe4(0x261)]=_0x3a9485;return;}const _0x27d3f7=this[_0x300fe4(0x256)],_0x205e46=this['_fragments'];if(this[_0x300fe4(0x244)]=0x0,this[_0x300fe4(0x256)]=0x0,this[_0x300fe4(0x194)]=0x0,this[_0x300fe4(0x1c6)]=[],this['_opcode']===0x2){let _0x4aa728;this['_binaryType']===_0x300fe4(0x1e5)?_0x4aa728=_0x531ca8(_0x205e46,_0x27d3f7):this[_0x300fe4(0x2d4)]==='arraybuffer'?_0x4aa728=_0x1bc102(_0x531ca8(_0x205e46,_0x27d3f7)):this['_binaryType']==='blob'?_0x4aa728=new Blob(_0x205e46):_0x4aa728=_0x205e46,this[_0x300fe4(0x27c)]?(this[_0x300fe4(0x203)](_0x300fe4(0x268),_0x4aa728,!0x0),this['_state']=_0x3a9485):(this[_0x300fe4(0x261)]=_0x1b98c3,setImmediate(()=>{const _0x4d59e5=_0x300fe4;this[_0x4d59e5(0x203)](_0x4d59e5(0x268),_0x4aa728,!0x0),this[_0x4d59e5(0x261)]=_0x3a9485,this[_0x4d59e5(0x216)](_0x585e79);}));}else{const _0x487a5d=_0x531ca8(_0x205e46,_0x27d3f7);if(!this['_skipUTF8Validation']&&!_0x2c7cc5(_0x487a5d)){const _0x3d4ba7=this[_0x300fe4(0x1c0)](Error,_0x300fe4(0x27a),!0x0,0x3ef,_0x300fe4(0x1f1));_0x585e79(_0x3d4ba7);return;}this[_0x300fe4(0x261)]===_0x21ef5c||this[_0x300fe4(0x27c)]?(this[_0x300fe4(0x203)](_0x300fe4(0x268),_0x487a5d,!0x1),this[_0x300fe4(0x261)]=_0x3a9485):(this[_0x300fe4(0x261)]=_0x1b98c3,setImmediate(()=>{const _0x35f1c8=_0x300fe4;this['emit'](_0x35f1c8(0x268),_0x487a5d,!0x1),this[_0x35f1c8(0x261)]=_0x3a9485,this[_0x35f1c8(0x216)](_0x585e79);}));}}[_0x480757(0x288)](_0x5d4429,_0x6ca9e3){const _0x3807fc=_0x480757;if(this['_opcode']===0x8){if(_0x5d4429[_0x3807fc(0x187)]===0x0)this[_0x3807fc(0x1a7)]=!0x1,this['emit'](_0x3807fc(0x161),0x3ed,_0x22181b),this[_0x3807fc(0x1f0)]();else{const _0x1b35bf=_0x5d4429[_0x3807fc(0x1d6)](0x0);if(!_0x58ea54(_0x1b35bf)){const _0x4041d0=this['createError'](RangeError,_0x3807fc(0x25a)+_0x1b35bf,!0x0,0x3ea,_0x3807fc(0x242));_0x6ca9e3(_0x4041d0);return;}const _0x504a91=new _0x8430bf(_0x5d4429[_0x3807fc(0x16d)],_0x5d4429[_0x3807fc(0x2af)]+0x2,_0x5d4429['length']-0x2);if(!this[_0x3807fc(0x1b2)]&&!_0x2c7cc5(_0x504a91)){const _0x5b8fb7=this[_0x3807fc(0x1c0)](Error,_0x3807fc(0x27a),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x6ca9e3(_0x5b8fb7);return;}this[_0x3807fc(0x1a7)]=!0x1,this[_0x3807fc(0x203)]('conclude',_0x1b35bf,_0x504a91),this['end']();}this[_0x3807fc(0x261)]=_0x3a9485;return;}this[_0x3807fc(0x27c)]?(this[_0x3807fc(0x203)](this['_opcode']===0x9?_0x3807fc(0x27e):_0x3807fc(0x1b1),_0x5d4429),this[_0x3807fc(0x261)]=_0x3a9485):(this['_state']=_0x1b98c3,setImmediate(()=>{const _0x42671a=_0x3807fc;this[_0x42671a(0x203)](this[_0x42671a(0x239)]===0x9?_0x42671a(0x27e):_0x42671a(0x1b1),_0x5d4429),this[_0x42671a(0x261)]=_0x3a9485,this[_0x42671a(0x216)](_0x6ca9e3);}));}[_0x480757(0x1c0)](_0x3640f1,_0x371d17,_0x3f96a7,_0x321554,_0x18ec3e){const _0x6e66f9=_0x480757;this['_loop']=!0x1,this[_0x6e66f9(0x17e)]=!0x0;const _0x5eb71a=new _0x3640f1(_0x3f96a7?_0x6e66f9(0x1e7)+_0x371d17:_0x371d17);return Error[_0x6e66f9(0x158)](_0x5eb71a,this[_0x6e66f9(0x1c0)]),_0x5eb71a[_0x6e66f9(0x14e)]=_0x18ec3e,_0x5eb71a[_0x1b7d13]=_0x321554,_0x5eb71a;}}return Se=_0x409acf,Se;}var Ee,et;function _t(){const _0x37a645=_0xc592e0;if(et)return Ee;et=0x1;const {Duplex:_0x507f57}=_0x1ba7a8,{randomFillSync:_0x4191d3}=_0x306241,_0x2f4789=he(),{EMPTY_BUFFER:_0x39c984,kWebSocket:_0x28a698,NOOP:_0x2053f2}=V(),{isBlob:_0x28b4da,isValidStatusCode:_0x54a720}=ne(),{mask:_0xbf093a,toBuffer:_0x661468}=ce(),_0x5150ec=Symbol('kByteLength'),_0x1285ee=Buffer['alloc'](0x4),_0x6880db=0x8*0x400;let _0x21239b,_0x264dd1=_0x6880db;const _0x190fa8=0x0,_0x41926d=0x1,_0x50ac63=0x2;class _0x1fcecc{constructor(_0x94e9df,_0x31cab6,_0x54b773){const _0x159d91=_0x33fa;this[_0x159d91(0x138)]=_0x31cab6||{},_0x54b773&&(this[_0x159d91(0x1f4)]=_0x54b773,this['_maskBuffer']=Buffer[_0x159d91(0x160)](0x4)),this['_socket']=_0x94e9df,this['_firstFragment']=!0x0,this[_0x159d91(0x19f)]=!0x1,this[_0x159d91(0x18e)]=0x0,this['_queue']=[],this[_0x159d91(0x261)]=_0x190fa8,this['onerror']=_0x2053f2,this[_0x28a698]=void 0x0;}static[_0x37a645(0x180)](_0x2fcb1a,_0x1e2265){const _0x14d920=_0x37a645;let _0x13db3e,_0x5ebd7a=!0x1,_0x3d922e=0x2,_0xb03e20=!0x1;_0x1e2265[_0x14d920(0x1e1)]&&(_0x13db3e=_0x1e2265[_0x14d920(0x164)]||_0x1285ee,_0x1e2265[_0x14d920(0x235)]?_0x1e2265[_0x14d920(0x235)](_0x13db3e):(_0x264dd1===_0x6880db&&(_0x21239b===void 0x0&&(_0x21239b=Buffer[_0x14d920(0x160)](_0x6880db)),_0x4191d3(_0x21239b,0x0,_0x6880db),_0x264dd1=0x0),_0x13db3e[0x0]=_0x21239b[_0x264dd1++],_0x13db3e[0x1]=_0x21239b[_0x264dd1++],_0x13db3e[0x2]=_0x21239b[_0x264dd1++],_0x13db3e[0x3]=_0x21239b[_0x264dd1++]),_0xb03e20=(_0x13db3e[0x0]|_0x13db3e[0x1]|_0x13db3e[0x2]|_0x13db3e[0x3])===0x0,_0x3d922e=0x6);let _0x3311ad;typeof _0x2fcb1a=='string'?(!_0x1e2265[_0x14d920(0x1e1)]||_0xb03e20)&&_0x1e2265[_0x5150ec]!==void 0x0?_0x3311ad=_0x1e2265[_0x5150ec]:(_0x2fcb1a=Buffer['from'](_0x2fcb1a),_0x3311ad=_0x2fcb1a[_0x14d920(0x187)]):(_0x3311ad=_0x2fcb1a[_0x14d920(0x187)],_0x5ebd7a=_0x1e2265[_0x14d920(0x1e1)]&&_0x1e2265[_0x14d920(0x2a8)]&&!_0xb03e20);let _0x18a9f7=_0x3311ad;_0x3311ad>=0x10000?(_0x3d922e+=0x8,_0x18a9f7=0x7f):_0x3311ad>0x7d&&(_0x3d922e+=0x2,_0x18a9f7=0x7e);const _0x438c54=Buffer['allocUnsafe'](_0x5ebd7a?_0x3311ad+_0x3d922e:_0x3d922e);return _0x438c54[0x0]=_0x1e2265[_0x14d920(0x2c0)]?_0x1e2265[_0x14d920(0x2cd)]|0x80:_0x1e2265[_0x14d920(0x2cd)],_0x1e2265['rsv1']&&(_0x438c54[0x0]|=0x40),_0x438c54[0x1]=_0x18a9f7,_0x18a9f7===0x7e?_0x438c54[_0x14d920(0x168)](_0x3311ad,0x2):_0x18a9f7===0x7f&&(_0x438c54[0x2]=_0x438c54[0x3]=0x0,_0x438c54[_0x14d920(0x2d3)](_0x3311ad,0x4,0x6)),_0x1e2265[_0x14d920(0x1e1)]?(_0x438c54[0x1]|=0x80,_0x438c54[_0x3d922e-0x4]=_0x13db3e[0x0],_0x438c54[_0x3d922e-0x3]=_0x13db3e[0x1],_0x438c54[_0x3d922e-0x2]=_0x13db3e[0x2],_0x438c54[_0x3d922e-0x1]=_0x13db3e[0x3],_0xb03e20?[_0x438c54,_0x2fcb1a]:_0x5ebd7a?(_0xbf093a(_0x2fcb1a,_0x13db3e,_0x438c54,_0x3d922e,_0x3311ad),[_0x438c54]):(_0xbf093a(_0x2fcb1a,_0x13db3e,_0x2fcb1a,0x0,_0x3311ad),[_0x438c54,_0x2fcb1a])):[_0x438c54,_0x2fcb1a];}[_0x37a645(0x1aa)](_0x17d54f,_0x579afb,_0x24484e,_0x1a6b8d){const _0x4c9f10=_0x37a645;let _0x2abb91;if(_0x17d54f===void 0x0)_0x2abb91=_0x39c984;else{if(typeof _0x17d54f!='number'||!_0x54a720(_0x17d54f))throw new TypeError(_0x4c9f10(0x1f6));if(_0x579afb===void 0x0||!_0x579afb[_0x4c9f10(0x187)])_0x2abb91=Buffer[_0x4c9f10(0x271)](0x2),_0x2abb91['writeUInt16BE'](_0x17d54f,0x0);else{const _0x59623f=Buffer[_0x4c9f10(0x272)](_0x579afb);if(_0x59623f>0x7b)throw new RangeError(_0x4c9f10(0x1fb));_0x2abb91=Buffer['allocUnsafe'](0x2+_0x59623f),_0x2abb91['writeUInt16BE'](_0x17d54f,0x0),typeof _0x579afb==_0x4c9f10(0x263)?_0x2abb91['write'](_0x579afb,0x2):_0x2abb91[_0x4c9f10(0x229)](_0x579afb,0x2);}}const _0x1cd10c={[_0x5150ec]:_0x2abb91[_0x4c9f10(0x187)],'fin':!0x0,'generateMask':this[_0x4c9f10(0x1f4)],'mask':_0x24484e,'maskBuffer':this[_0x4c9f10(0x192)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x4c9f10(0x261)]!==_0x190fa8?this['enqueue']([this[_0x4c9f10(0x21b)],_0x2abb91,!0x1,_0x1cd10c,_0x1a6b8d]):this[_0x4c9f10(0x15e)](_0x1fcecc[_0x4c9f10(0x180)](_0x2abb91,_0x1cd10c),_0x1a6b8d);}[_0x37a645(0x27e)](_0x9e6417,_0x133efb,_0x4423c5){const _0x3b46a8=_0x37a645;let _0x3ba549,_0x1de455;if(typeof _0x9e6417==_0x3b46a8(0x263)?(_0x3ba549=Buffer[_0x3b46a8(0x272)](_0x9e6417),_0x1de455=!0x1):_0x28b4da(_0x9e6417)?(_0x3ba549=_0x9e6417['size'],_0x1de455=!0x1):(_0x9e6417=_0x661468(_0x9e6417),_0x3ba549=_0x9e6417[_0x3b46a8(0x187)],_0x1de455=_0x661468[_0x3b46a8(0x2a8)]),_0x3ba549>0x7d)throw new RangeError(_0x3b46a8(0x14a));const _0x3e1c06={[_0x5150ec]:_0x3ba549,'fin':!0x0,'generateMask':this[_0x3b46a8(0x1f4)],'mask':_0x133efb,'maskBuffer':this[_0x3b46a8(0x192)],'opcode':0x9,'readOnly':_0x1de455,'rsv1':!0x1};_0x28b4da(_0x9e6417)?this[_0x3b46a8(0x261)]!==_0x190fa8?this[_0x3b46a8(0x167)]([this[_0x3b46a8(0x25c)],_0x9e6417,!0x1,_0x3e1c06,_0x4423c5]):this['getBlobData'](_0x9e6417,!0x1,_0x3e1c06,_0x4423c5):this[_0x3b46a8(0x261)]!==_0x190fa8?this[_0x3b46a8(0x167)]([this['dispatch'],_0x9e6417,!0x1,_0x3e1c06,_0x4423c5]):this[_0x3b46a8(0x15e)](_0x1fcecc['frame'](_0x9e6417,_0x3e1c06),_0x4423c5);}[_0x37a645(0x1b1)](_0x5644bb,_0x2551be,_0x49d8a6){const _0x126628=_0x37a645;let _0x27a87c,_0x3eeb9e;if(typeof _0x5644bb==_0x126628(0x263)?(_0x27a87c=Buffer[_0x126628(0x272)](_0x5644bb),_0x3eeb9e=!0x1):_0x28b4da(_0x5644bb)?(_0x27a87c=_0x5644bb[_0x126628(0x1e2)],_0x3eeb9e=!0x1):(_0x5644bb=_0x661468(_0x5644bb),_0x27a87c=_0x5644bb[_0x126628(0x187)],_0x3eeb9e=_0x661468[_0x126628(0x2a8)]),_0x27a87c>0x7d)throw new RangeError(_0x126628(0x14a));const _0x816d87={[_0x5150ec]:_0x27a87c,'fin':!0x0,'generateMask':this[_0x126628(0x1f4)],'mask':_0x2551be,'maskBuffer':this[_0x126628(0x192)],'opcode':0xa,'readOnly':_0x3eeb9e,'rsv1':!0x1};_0x28b4da(_0x5644bb)?this['_state']!==_0x190fa8?this[_0x126628(0x167)]([this[_0x126628(0x25c)],_0x5644bb,!0x1,_0x816d87,_0x49d8a6]):this[_0x126628(0x25c)](_0x5644bb,!0x1,_0x816d87,_0x49d8a6):this[_0x126628(0x261)]!==_0x190fa8?this[_0x126628(0x167)]([this[_0x126628(0x21b)],_0x5644bb,!0x1,_0x816d87,_0x49d8a6]):this[_0x126628(0x15e)](_0x1fcecc[_0x126628(0x180)](_0x5644bb,_0x816d87),_0x49d8a6);}[_0x37a645(0x2b5)](_0x6a6564,_0x4cf4e0,_0x57ab66){const _0x4ba586=_0x37a645,_0x19645e=this['_extensions'][_0x2f4789['extensionName']];let _0x3ef702=_0x4cf4e0[_0x4ba586(0x224)]?0x2:0x1,_0x5d0ef9=_0x4cf4e0['compress'],_0x5ad512,_0x285375;typeof _0x6a6564==_0x4ba586(0x263)?(_0x5ad512=Buffer['byteLength'](_0x6a6564),_0x285375=!0x1):_0x28b4da(_0x6a6564)?(_0x5ad512=_0x6a6564[_0x4ba586(0x1e2)],_0x285375=!0x1):(_0x6a6564=_0x661468(_0x6a6564),_0x5ad512=_0x6a6564[_0x4ba586(0x187)],_0x285375=_0x661468[_0x4ba586(0x2a8)]),this['_firstFragment']?(this['_firstFragment']=!0x1,_0x5d0ef9&&_0x19645e&&_0x19645e[_0x4ba586(0x294)][_0x19645e[_0x4ba586(0x238)]?'server_no_context_takeover':'client_no_context_takeover']&&(_0x5d0ef9=_0x5ad512>=_0x19645e['_threshold']),this[_0x4ba586(0x19f)]=_0x5d0ef9):(_0x5d0ef9=!0x1,_0x3ef702=0x0),_0x4cf4e0[_0x4ba586(0x2c0)]&&(this[_0x4ba586(0x1d1)]=!0x0);const _0x465a66={[_0x5150ec]:_0x5ad512,'fin':_0x4cf4e0[_0x4ba586(0x2c0)],'generateMask':this['_generateMask'],'mask':_0x4cf4e0[_0x4ba586(0x1e1)],'maskBuffer':this[_0x4ba586(0x192)],'opcode':_0x3ef702,'readOnly':_0x285375,'rsv1':_0x5d0ef9};_0x28b4da(_0x6a6564)?this[_0x4ba586(0x261)]!==_0x190fa8?this[_0x4ba586(0x167)]([this['getBlobData'],_0x6a6564,this[_0x4ba586(0x19f)],_0x465a66,_0x57ab66]):this[_0x4ba586(0x25c)](_0x6a6564,this[_0x4ba586(0x19f)],_0x465a66,_0x57ab66):this[_0x4ba586(0x261)]!==_0x190fa8?this[_0x4ba586(0x167)]([this[_0x4ba586(0x21b)],_0x6a6564,this[_0x4ba586(0x19f)],_0x465a66,_0x57ab66]):this[_0x4ba586(0x21b)](_0x6a6564,this[_0x4ba586(0x19f)],_0x465a66,_0x57ab66);}['getBlobData'](_0x230bb0,_0x3b2e50,_0x33f2bf,_0x11be9e){const _0x6b286f=_0x37a645;this['_bufferedBytes']+=_0x33f2bf[_0x5150ec],this[_0x6b286f(0x261)]=_0x50ac63,_0x230bb0[_0x6b286f(0x1c8)]()[_0x6b286f(0x1c1)](_0x80f0bd=>{const _0x308858=_0x6b286f;if(this[_0x308858(0x1d8)][_0x308858(0x1af)]){const _0x243ab8=new Error(_0x308858(0x1bd));process[_0x308858(0x2a2)](_0x357645,this,_0x243ab8,_0x11be9e);return;}this['_bufferedBytes']-=_0x33f2bf[_0x5150ec];const _0x42a364=_0x661468(_0x80f0bd);_0x3b2e50?this['dispatch'](_0x42a364,_0x3b2e50,_0x33f2bf,_0x11be9e):(this['_state']=_0x190fa8,this[_0x308858(0x15e)](_0x1fcecc[_0x308858(0x180)](_0x42a364,_0x33f2bf),_0x11be9e),this[_0x308858(0x2aa)]());})[_0x6b286f(0x2d6)](_0x37497f=>{const _0x17e970=_0x6b286f;process[_0x17e970(0x2a2)](_0x58348c,this,_0x37497f,_0x11be9e);});}['dispatch'](_0x4d0fe7,_0x44f3a9,_0x497378,_0xd8ff49){const _0x485d58=_0x37a645;if(!_0x44f3a9){this[_0x485d58(0x15e)](_0x1fcecc[_0x485d58(0x180)](_0x4d0fe7,_0x497378),_0xd8ff49);return;}const _0x48c564=this[_0x485d58(0x138)][_0x2f4789[_0x485d58(0x2c5)]];this[_0x485d58(0x18e)]+=_0x497378[_0x5150ec],this[_0x485d58(0x261)]=_0x41926d,_0x48c564['compress'](_0x4d0fe7,_0x497378[_0x485d58(0x2c0)],(_0x57dd7f,_0x41fc6c)=>{const _0x2326b6=_0x485d58;if(this[_0x2326b6(0x1d8)]['destroyed']){const _0x80d617=new Error(_0x2326b6(0x2cb));_0x357645(this,_0x80d617,_0xd8ff49);return;}this[_0x2326b6(0x18e)]-=_0x497378[_0x5150ec],this[_0x2326b6(0x261)]=_0x190fa8,_0x497378[_0x2326b6(0x2a8)]=!0x1,this['sendFrame'](_0x1fcecc[_0x2326b6(0x180)](_0x41fc6c,_0x497378),_0xd8ff49),this[_0x2326b6(0x2aa)]();});}['dequeue'](){const _0x1dc708=_0x37a645;for(;this[_0x1dc708(0x261)]===_0x190fa8&&this['_queue'][_0x1dc708(0x187)];){const _0x438490=this[_0x1dc708(0x12c)][_0x1dc708(0x2d7)]();this['_bufferedBytes']-=_0x438490[0x3][_0x5150ec],Reflect[_0x1dc708(0x265)](_0x438490[0x0],this,_0x438490[_0x1dc708(0x1bb)](0x1));}}[_0x37a645(0x167)](_0x397294){const _0x18d980=_0x37a645;this[_0x18d980(0x18e)]+=_0x397294[0x3][_0x5150ec],this[_0x18d980(0x12c)][_0x18d980(0x193)](_0x397294);}[_0x37a645(0x15e)](_0x12cb34,_0x135918){const _0x309127=_0x37a645;_0x12cb34[_0x309127(0x187)]===0x2?(this[_0x309127(0x1d8)][_0x309127(0x262)](),this[_0x309127(0x1d8)][_0x309127(0x2bd)](_0x12cb34[0x0]),this[_0x309127(0x1d8)][_0x309127(0x2bd)](_0x12cb34[0x1],_0x135918),this[_0x309127(0x1d8)][_0x309127(0x1a1)]()):this[_0x309127(0x1d8)][_0x309127(0x2bd)](_0x12cb34[0x0],_0x135918);}}Ee=_0x1fcecc;function _0x357645(_0x309a7f,_0x23817c,_0x12e8cd){const _0x2ac16a=_0x37a645;typeof _0x12e8cd==_0x2ac16a(0x1a2)&&_0x12e8cd(_0x23817c);for(let _0x195fa5=0x0;_0x195fa5<_0x309a7f[_0x2ac16a(0x12c)][_0x2ac16a(0x187)];_0x195fa5++){const _0x4deaf8=_0x309a7f[_0x2ac16a(0x12c)][_0x195fa5],_0x4ec8ce=_0x4deaf8[_0x4deaf8[_0x2ac16a(0x187)]-0x1];typeof _0x4ec8ce==_0x2ac16a(0x1a2)&&_0x4ec8ce(_0x23817c);}}function _0x58348c(_0x4c1397,_0x4d0b0e,_0x13aa78){const _0x512ad6=_0x37a645;_0x357645(_0x4c1397,_0x4d0b0e,_0x13aa78),_0x4c1397[_0x512ad6(0x28f)](_0x4d0b0e);}return Ee;}var xe,tt;function Kt(){const _0x9eceeb=_0xc592e0;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x5a8feb,kListener:_0x1b83af}=V(),_0x16a3f6=Symbol(_0x9eceeb(0x16a)),_0x58ee00=Symbol('kData'),_0x2e554a=Symbol(_0x9eceeb(0x1b0)),_0x4663ab=Symbol('kMessage'),_0x47cc81=Symbol(_0x9eceeb(0x289)),_0x244953=Symbol(_0x9eceeb(0x195)),_0x35644d=Symbol(_0x9eceeb(0x1b7)),_0x5d3f11=Symbol(_0x9eceeb(0x1cc));class _0x30ece4{constructor(_0x383510){this[_0x244953]=null,this[_0x35644d]=_0x383510;}get[_0x9eceeb(0x1e9)](){return this[_0x244953];}get['type'](){return this[_0x35644d];}}Object[_0x9eceeb(0x24e)](_0x30ece4[_0x9eceeb(0x1e3)],_0x9eceeb(0x1e9),{'enumerable':!0x0}),Object[_0x9eceeb(0x24e)](_0x30ece4[_0x9eceeb(0x1e3)],_0x9eceeb(0x1da),{'enumerable':!0x0});class _0xaaee87 extends _0x30ece4{constructor(_0x5183aa,_0x5d4459={}){const _0x1ef693=_0x9eceeb;super(_0x5183aa),this[_0x16a3f6]=_0x5d4459['code']===void 0x0?0x0:_0x5d4459[_0x1ef693(0x14e)],this[_0x47cc81]=_0x5d4459[_0x1ef693(0x23a)]===void 0x0?'':_0x5d4459[_0x1ef693(0x23a)],this[_0x5d3f11]=_0x5d4459[_0x1ef693(0x2b7)]===void 0x0?!0x1:_0x5d4459['wasClean'];}get[_0x9eceeb(0x14e)](){return this[_0x16a3f6];}get[_0x9eceeb(0x23a)](){return this[_0x47cc81];}get['wasClean'](){return this[_0x5d3f11];}}Object[_0x9eceeb(0x24e)](_0xaaee87[_0x9eceeb(0x1e3)],'code',{'enumerable':!0x0}),Object[_0x9eceeb(0x24e)](_0xaaee87[_0x9eceeb(0x1e3)],_0x9eceeb(0x23a),{'enumerable':!0x0}),Object[_0x9eceeb(0x24e)](_0xaaee87['prototype'],_0x9eceeb(0x2b7),{'enumerable':!0x0});class _0xc18b53 extends _0x30ece4{constructor(_0x2b339b,_0x255915={}){const _0x43332b=_0x9eceeb;super(_0x2b339b),this[_0x2e554a]=_0x255915[_0x43332b(0x159)]===void 0x0?null:_0x255915[_0x43332b(0x159)],this[_0x4663ab]=_0x255915[_0x43332b(0x268)]===void 0x0?'':_0x255915[_0x43332b(0x268)];}get[_0x9eceeb(0x159)](){return this[_0x2e554a];}get['message'](){return this[_0x4663ab];}}Object['defineProperty'](_0xc18b53['prototype'],_0x9eceeb(0x159),{'enumerable':!0x0}),Object[_0x9eceeb(0x24e)](_0xc18b53[_0x9eceeb(0x1e3)],_0x9eceeb(0x268),{'enumerable':!0x0});class _0xcbbc8c extends _0x30ece4{constructor(_0x4808bb,_0x1384dc={}){super(_0x4808bb),this[_0x58ee00]=_0x1384dc['data']===void 0x0?null:_0x1384dc['data'];}get[_0x9eceeb(0x147)](){return this[_0x58ee00];}}Object[_0x9eceeb(0x24e)](_0xcbbc8c['prototype'],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0xaaee87,'ErrorEvent':_0xc18b53,'Event':_0x30ece4,'EventTarget':{'addEventListener'(_0x452f48,_0x768a94,_0x2afdbe={}){const _0x22acda=_0x9eceeb;for(const _0xcd3854 of this['listeners'](_0x452f48))if(!_0x2afdbe[_0x5a8feb]&&_0xcd3854[_0x1b83af]===_0x768a94&&!_0xcd3854[_0x5a8feb])return;let _0xe788d9;if(_0x452f48===_0x22acda(0x268))_0xe788d9=function(_0x1ed953,_0x34aace){const _0xa80cc0=_0x22acda,_0x1382b6=new _0xcbbc8c(_0xa80cc0(0x268),{'data':_0x34aace?_0x1ed953:_0x1ed953[_0xa80cc0(0x287)]()});_0x1382b6[_0x244953]=this,_0x1db29f(_0x768a94,this,_0x1382b6);};else{if(_0x452f48==='close')_0xe788d9=function(_0x5cb85e,_0x136d5a){const _0x1f450b=_0x22acda,_0x3939d9=new _0xaaee87(_0x1f450b(0x1aa),{'code':_0x5cb85e,'reason':_0x136d5a[_0x1f450b(0x287)](),'wasClean':this[_0x1f450b(0x214)]&&this[_0x1f450b(0x133)]});_0x3939d9[_0x244953]=this,_0x1db29f(_0x768a94,this,_0x3939d9);};else{if(_0x452f48===_0x22acda(0x159))_0xe788d9=function(_0x140a01){const _0x10af75=_0x22acda,_0x21c4d4=new _0xc18b53(_0x10af75(0x159),{'error':_0x140a01,'message':_0x140a01[_0x10af75(0x268)]});_0x21c4d4[_0x244953]=this,_0x1db29f(_0x768a94,this,_0x21c4d4);};else{if(_0x452f48===_0x22acda(0x21a))_0xe788d9=function(){const _0x5a3830=new _0x30ece4('open');_0x5a3830[_0x244953]=this,_0x1db29f(_0x768a94,this,_0x5a3830);};else return;}}}_0xe788d9[_0x5a8feb]=!!_0x2afdbe[_0x5a8feb],_0xe788d9[_0x1b83af]=_0x768a94,_0x2afdbe[_0x22acda(0x1b5)]?this[_0x22acda(0x1b5)](_0x452f48,_0xe788d9):this['on'](_0x452f48,_0xe788d9);},'removeEventListener'(_0x1c28b8,_0x5182c7){const _0x4e64d6=_0x9eceeb;for(const _0xfe4cfa of this[_0x4e64d6(0x172)](_0x1c28b8))if(_0xfe4cfa[_0x1b83af]===_0x5182c7&&!_0xfe4cfa[_0x5a8feb]){this['removeListener'](_0x1c28b8,_0xfe4cfa);break;}}},'MessageEvent':_0xcbbc8c};function _0x1db29f(_0x3713c0,_0xdff843,_0x205e75){const _0x37bc1a=_0x9eceeb;typeof _0x3713c0==_0x37bc1a(0x2a4)&&_0x3713c0[_0x37bc1a(0x15a)]?_0x3713c0[_0x37bc1a(0x15a)][_0x37bc1a(0x27f)](_0x3713c0,_0x205e75):_0x3713c0[_0x37bc1a(0x27f)](_0xdff843,_0x205e75);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x282b01}=ne();function _0x5a8d35(_0x3cfd74,_0x319a28,_0x355509){const _0x4e492d=_0x33fa;_0x3cfd74[_0x319a28]===void 0x0?_0x3cfd74[_0x319a28]=[_0x355509]:_0x3cfd74[_0x319a28][_0x4e492d(0x193)](_0x355509);}function _0x1f7da9(_0x3cc443){const _0x43231d=_0x33fa,_0x858177=Object[_0x43231d(0x2c4)](null);let _0x42b766=Object[_0x43231d(0x2c4)](null),_0x39f7c4=!0x1,_0x34b18c=!0x1,_0x1fa267=!0x1,_0x197da0,_0x551f28,_0x12f9a7=-0x1,_0xdf2789=-0x1,_0x14274f=-0x1,_0x1c78c9=0x0;for(;_0x1c78c9<_0x3cc443[_0x43231d(0x187)];_0x1c78c9++)if(_0xdf2789=_0x3cc443[_0x43231d(0x223)](_0x1c78c9),_0x197da0===void 0x0){if(_0x14274f===-0x1&&_0x282b01[_0xdf2789]===0x1)_0x12f9a7===-0x1&&(_0x12f9a7=_0x1c78c9);else{if(_0x1c78c9!==0x0&&(_0xdf2789===0x20||_0xdf2789===0x9))_0x14274f===-0x1&&_0x12f9a7!==-0x1&&(_0x14274f=_0x1c78c9);else{if(_0xdf2789===0x3b||_0xdf2789===0x2c){if(_0x12f9a7===-0x1)throw new SyntaxError(_0x43231d(0x2a5)+_0x1c78c9);_0x14274f===-0x1&&(_0x14274f=_0x1c78c9);const _0x4c1f3b=_0x3cc443['slice'](_0x12f9a7,_0x14274f);_0xdf2789===0x2c?(_0x5a8d35(_0x858177,_0x4c1f3b,_0x42b766),_0x42b766=Object['create'](null)):_0x197da0=_0x4c1f3b,_0x12f9a7=_0x14274f=-0x1;}else throw new SyntaxError(_0x43231d(0x2a5)+_0x1c78c9);}}}else{if(_0x551f28===void 0x0){if(_0x14274f===-0x1&&_0x282b01[_0xdf2789]===0x1)_0x12f9a7===-0x1&&(_0x12f9a7=_0x1c78c9);else{if(_0xdf2789===0x20||_0xdf2789===0x9)_0x14274f===-0x1&&_0x12f9a7!==-0x1&&(_0x14274f=_0x1c78c9);else{if(_0xdf2789===0x3b||_0xdf2789===0x2c){if(_0x12f9a7===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1c78c9);_0x14274f===-0x1&&(_0x14274f=_0x1c78c9),_0x5a8d35(_0x42b766,_0x3cc443[_0x43231d(0x1bb)](_0x12f9a7,_0x14274f),!0x0),_0xdf2789===0x2c&&(_0x5a8d35(_0x858177,_0x197da0,_0x42b766),_0x42b766=Object['create'](null),_0x197da0=void 0x0),_0x12f9a7=_0x14274f=-0x1;}else{if(_0xdf2789===0x3d&&_0x12f9a7!==-0x1&&_0x14274f===-0x1)_0x551f28=_0x3cc443['slice'](_0x12f9a7,_0x1c78c9),_0x12f9a7=_0x14274f=-0x1;else throw new SyntaxError(_0x43231d(0x2a5)+_0x1c78c9);}}}}else{if(_0x34b18c){if(_0x282b01[_0xdf2789]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1c78c9);_0x12f9a7===-0x1?_0x12f9a7=_0x1c78c9:_0x39f7c4||(_0x39f7c4=!0x0),_0x34b18c=!0x1;}else{if(_0x1fa267){if(_0x282b01[_0xdf2789]===0x1)_0x12f9a7===-0x1&&(_0x12f9a7=_0x1c78c9);else{if(_0xdf2789===0x22&&_0x12f9a7!==-0x1)_0x1fa267=!0x1,_0x14274f=_0x1c78c9;else{if(_0xdf2789===0x5c)_0x34b18c=!0x0;else throw new SyntaxError(_0x43231d(0x2a5)+_0x1c78c9);}}}else{if(_0xdf2789===0x22&&_0x3cc443[_0x43231d(0x223)](_0x1c78c9-0x1)===0x3d)_0x1fa267=!0x0;else{if(_0x14274f===-0x1&&_0x282b01[_0xdf2789]===0x1)_0x12f9a7===-0x1&&(_0x12f9a7=_0x1c78c9);else{if(_0x12f9a7!==-0x1&&(_0xdf2789===0x20||_0xdf2789===0x9))_0x14274f===-0x1&&(_0x14274f=_0x1c78c9);else{if(_0xdf2789===0x3b||_0xdf2789===0x2c){if(_0x12f9a7===-0x1)throw new SyntaxError(_0x43231d(0x2a5)+_0x1c78c9);_0x14274f===-0x1&&(_0x14274f=_0x1c78c9);let _0x35d28c=_0x3cc443['slice'](_0x12f9a7,_0x14274f);_0x39f7c4&&(_0x35d28c=_0x35d28c['replace'](/\\/g,''),_0x39f7c4=!0x1),_0x5a8d35(_0x42b766,_0x551f28,_0x35d28c),_0xdf2789===0x2c&&(_0x5a8d35(_0x858177,_0x197da0,_0x42b766),_0x42b766=Object[_0x43231d(0x2c4)](null),_0x197da0=void 0x0),_0x551f28=void 0x0,_0x12f9a7=_0x14274f=-0x1;}else throw new SyntaxError(_0x43231d(0x2a5)+_0x1c78c9);}}}}}}}if(_0x12f9a7===-0x1||_0x1fa267||_0xdf2789===0x20||_0xdf2789===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x14274f===-0x1&&(_0x14274f=_0x1c78c9);const _0x2c4cad=_0x3cc443[_0x43231d(0x1bb)](_0x12f9a7,_0x14274f);return _0x197da0===void 0x0?_0x5a8d35(_0x858177,_0x2c4cad,_0x42b766):(_0x551f28===void 0x0?_0x5a8d35(_0x42b766,_0x2c4cad,!0x0):_0x39f7c4?_0x5a8d35(_0x42b766,_0x551f28,_0x2c4cad[_0x43231d(0x1d9)](/\\/g,'')):_0x5a8d35(_0x42b766,_0x551f28,_0x2c4cad),_0x5a8d35(_0x858177,_0x197da0,_0x42b766)),_0x858177;}function _0x56b29f(_0x135cae){const _0x58a5c2=_0x33fa;return Object[_0x58a5c2(0x149)](_0x135cae)['map'](_0x21e013=>{const _0x56790c=_0x58a5c2;let _0x16cc25=_0x135cae[_0x21e013];return Array[_0x56790c(0x22e)](_0x16cc25)||(_0x16cc25=[_0x16cc25]),_0x16cc25['map'](_0x84de94=>[_0x21e013][_0x56790c(0x2c8)](Object[_0x56790c(0x149)](_0x84de94)[_0x56790c(0x1ff)](_0x17127c=>{const _0x4ff591=_0x56790c;let _0xd362a0=_0x84de94[_0x17127c];return Array[_0x4ff591(0x22e)](_0xd362a0)||(_0xd362a0=[_0xd362a0]),_0xd362a0[_0x4ff591(0x1ff)](_0x275060=>_0x275060===!0x0?_0x17127c:_0x17127c+'='+_0x275060)['join'](';\x20');}))['join'](';\x20'))['join'](',\x20');})[_0x58a5c2(0x298)](',\x20');}return be={'format':_0x56b29f,'parse':_0x1f7da9},be;}var we,st;function _0x33fa(_0x3d07aa,_0x2fdd3d){const _0x5e37c9=_0x5e37();return _0x33fa=function(_0x33fa13,_0x10dc42){_0x33fa13=_0x33fa13-0x126;let _0x464a5f=_0x5e37c9[_0x33fa13];return _0x464a5f;},_0x33fa(_0x3d07aa,_0x2fdd3d);}function Ie(){const _0x34742b=_0xc592e0;if(st)return we;st=0x1;const _0x2a1f72=_0x65c4b3,_0xd5b70d=_0x2a038a,_0x42b658=_0x52e28b,_0x22f7c5=_0x461c75,_0x39ddbc=_0x46b953,{randomBytes:_0x3f7c77,createHash:_0x59ff6d}=_0x306241,{Duplex:_0x41c504,Readable:_0x1bfa46}=_0x1ba7a8,{URL:_0x4b1d38}=_0x16f754,_0x4c0772=he(),_0x180e22=dt(),_0x5cc961=_t(),{isBlob:_0x4f9c50}=ne(),{BINARY_TYPES:_0x5715a8,EMPTY_BUFFER:_0x526c4d,GUID:_0x17edf6,kForOnEventAttribute:_0xa18724,kListener:_0x434861,kStatusCode:_0x1bb141,kWebSocket:_0xf70647,NOOP:_0x1e7d2f}=V(),{EventTarget:{addEventListener:_0x3dac29,removeEventListener:_0x447ada}}=Kt(),{format:_0x4cd271,parse:_0x4564e3}=pt(),{toBuffer:_0x5b8587}=ce(),_0x154808=0x1e*0x3e8,_0x398bf1=Symbol(_0x34742b(0x17f)),_0x4e2ae5=[0x8,0xd],_0x3112b1=[_0x34742b(0x29c),_0x34742b(0x28d),_0x34742b(0x12a),_0x34742b(0x13e)],_0xa78f0e=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x19bb9c extends _0x2a1f72{constructor(_0x182107,_0x3b8c97,_0x3d8881){const _0x439e26=_0x34742b;super(),this[_0x439e26(0x2d4)]=_0x5715a8[0x0],this[_0x439e26(0x15f)]=0x3ee,this['_closeFrameReceived']=!0x1,this['_closeFrameSent']=!0x1,this['_closeMessage']=_0x526c4d,this[_0x439e26(0x290)]=null,this[_0x439e26(0x16e)]=!0x1,this[_0x439e26(0x138)]={},this[_0x439e26(0x157)]=!0x1,this[_0x439e26(0x18a)]='',this['_readyState']=_0x19bb9c[_0x439e26(0x29c)],this[_0x439e26(0x181)]=null,this[_0x439e26(0x2be)]=null,this[_0x439e26(0x1d8)]=null,_0x182107!==null?(this['_bufferedAmount']=0x0,this['_isServer']=!0x1,this['_redirects']=0x0,_0x3b8c97===void 0x0?_0x3b8c97=[]:Array[_0x439e26(0x22e)](_0x3b8c97)||(typeof _0x3b8c97=='object'&&_0x3b8c97!==null?(_0x3d8881=_0x3b8c97,_0x3b8c97=[]):_0x3b8c97=[_0x3b8c97]),_0x4a627e(this,_0x182107,_0x3b8c97,_0x3d8881)):(this[_0x439e26(0x26c)]=_0x3d8881[_0x439e26(0x29b)],this[_0x439e26(0x238)]=!0x0);}get[_0x34742b(0x1a4)](){const _0x3132cc=_0x34742b;return this[_0x3132cc(0x2d4)];}set[_0x34742b(0x1a4)](_0x1af834){const _0x2718ae=_0x34742b;_0x5715a8[_0x2718ae(0x174)](_0x1af834)&&(this[_0x2718ae(0x2d4)]=_0x1af834,this[_0x2718ae(0x181)]&&(this[_0x2718ae(0x181)][_0x2718ae(0x2d4)]=_0x1af834));}get[_0x34742b(0x2a7)](){const _0x3d2ba7=_0x34742b;return this[_0x3d2ba7(0x1d8)]?this[_0x3d2ba7(0x1d8)][_0x3d2ba7(0x2b4)]['length']+this[_0x3d2ba7(0x2be)][_0x3d2ba7(0x18e)]:this[_0x3d2ba7(0x12b)];}get[_0x34742b(0x15b)](){const _0x279ed9=_0x34742b;return Object[_0x279ed9(0x149)](this[_0x279ed9(0x138)])[_0x279ed9(0x298)]();}get['isPaused'](){const _0x582fe7=_0x34742b;return this[_0x582fe7(0x157)];}get[_0x34742b(0x296)](){return null;}get[_0x34742b(0x28f)](){return null;}get[_0x34742b(0x15c)](){return null;}get[_0x34742b(0x266)](){return null;}get[_0x34742b(0x20a)](){const _0x441ea6=_0x34742b;return this[_0x441ea6(0x18a)];}get[_0x34742b(0x27d)](){const _0x335039=_0x34742b;return this[_0x335039(0x1e6)];}get[_0x34742b(0x1fe)](){return this['_url'];}[_0x34742b(0x148)](_0x6d0fa7,_0x5f0fa8,_0x2e054d){const _0x4e573c=_0x34742b,_0x4ef699=new _0x180e22({'allowSynchronousEvents':_0x2e054d[_0x4e573c(0x13c)],'binaryType':this[_0x4e573c(0x1a4)],'extensions':this['_extensions'],'isServer':this[_0x4e573c(0x238)],'maxPayload':_0x2e054d[_0x4e573c(0x1e8)],'skipUTF8Validation':_0x2e054d['skipUTF8Validation']}),_0x4db958=new _0x5cc961(_0x6d0fa7,this[_0x4e573c(0x138)],_0x2e054d[_0x4e573c(0x235)]);this[_0x4e573c(0x181)]=_0x4ef699,this[_0x4e573c(0x2be)]=_0x4db958,this[_0x4e573c(0x1d8)]=_0x6d0fa7,_0x4ef699[_0xf70647]=this,_0x4db958[_0xf70647]=this,_0x6d0fa7[_0xf70647]=this,_0x4ef699['on'](_0x4e573c(0x161),_0x2e2dbb),_0x4ef699['on'](_0x4e573c(0x131),_0x1b23ca),_0x4ef699['on'](_0x4e573c(0x159),_0x3a764f),_0x4ef699['on']('message',_0x31f8fe),_0x4ef699['on'](_0x4e573c(0x27e),_0x4ab286),_0x4ef699['on']('pong',_0x199679),_0x4db958['onerror']=_0x55b6ea,_0x6d0fa7[_0x4e573c(0x279)]&&_0x6d0fa7['setTimeout'](0x0),_0x6d0fa7['setNoDelay']&&_0x6d0fa7[_0x4e573c(0x137)](),_0x5f0fa8[_0x4e573c(0x187)]>0x0&&_0x6d0fa7['unshift'](_0x5f0fa8),_0x6d0fa7['on']('close',_0x2ed511),_0x6d0fa7['on']('data',_0x35b3af),_0x6d0fa7['on'](_0x4e573c(0x1f0),_0x4dd039),_0x6d0fa7['on']('error',_0x159b70),this[_0x4e573c(0x1e6)]=_0x19bb9c[_0x4e573c(0x28d)],this['emit']('open');}[_0x34742b(0x247)](){const _0x1259d1=_0x34742b;if(!this[_0x1259d1(0x1d8)]){this[_0x1259d1(0x1e6)]=_0x19bb9c[_0x1259d1(0x13e)],this[_0x1259d1(0x203)](_0x1259d1(0x1aa),this[_0x1259d1(0x15f)],this[_0x1259d1(0x15d)]);return;}this[_0x1259d1(0x138)][_0x4c0772[_0x1259d1(0x2c5)]]&&this['_extensions'][_0x4c0772[_0x1259d1(0x2c5)]][_0x1259d1(0x25d)](),this[_0x1259d1(0x181)]['removeAllListeners'](),this[_0x1259d1(0x1e6)]=_0x19bb9c[_0x1259d1(0x13e)],this[_0x1259d1(0x203)](_0x1259d1(0x1aa),this[_0x1259d1(0x15f)],this[_0x1259d1(0x15d)]);}[_0x34742b(0x1aa)](_0x3d082c,_0x4176c6){const _0xe7004c=_0x34742b;if(this[_0xe7004c(0x27d)]!==_0x19bb9c[_0xe7004c(0x13e)]){if(this[_0xe7004c(0x27d)]===_0x19bb9c['CONNECTING']){_0xd1a8ce(this,this['_req'],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0xe7004c(0x27d)]===_0x19bb9c['CLOSING']){this[_0xe7004c(0x133)]&&(this[_0xe7004c(0x214)]||this[_0xe7004c(0x181)][_0xe7004c(0x2b4)][_0xe7004c(0x166)])&&this[_0xe7004c(0x1d8)]['end']();return;}this[_0xe7004c(0x1e6)]=_0x19bb9c[_0xe7004c(0x12a)],this[_0xe7004c(0x2be)][_0xe7004c(0x1aa)](_0x3d082c,_0x4176c6,!this['_isServer'],_0x2bbaa4=>{const _0x540d40=_0xe7004c;_0x2bbaa4||(this[_0x540d40(0x133)]=!0x0,(this[_0x540d40(0x214)]||this['_receiver'][_0x540d40(0x2b4)][_0x540d40(0x166)])&&this[_0x540d40(0x1d8)][_0x540d40(0x1f0)]());}),_0x342fcb(this);}}[_0x34742b(0x1bc)](){const _0x441c9d=_0x34742b;this['readyState']===_0x19bb9c[_0x441c9d(0x29c)]||this[_0x441c9d(0x27d)]===_0x19bb9c[_0x441c9d(0x13e)]||(this[_0x441c9d(0x157)]=!0x0,this[_0x441c9d(0x1d8)][_0x441c9d(0x1bc)]());}[_0x34742b(0x27e)](_0x3a5119,_0x21a98d,_0x4b73ea){const _0x52d23a=_0x34742b;if(this[_0x52d23a(0x27d)]===_0x19bb9c[_0x52d23a(0x29c)])throw new Error(_0x52d23a(0x22d));if(typeof _0x3a5119==_0x52d23a(0x1a2)?(_0x4b73ea=_0x3a5119,_0x3a5119=_0x21a98d=void 0x0):typeof _0x21a98d==_0x52d23a(0x1a2)&&(_0x4b73ea=_0x21a98d,_0x21a98d=void 0x0),typeof _0x3a5119==_0x52d23a(0x128)&&(_0x3a5119=_0x3a5119[_0x52d23a(0x287)]()),this[_0x52d23a(0x27d)]!==_0x19bb9c[_0x52d23a(0x28d)]){_0x6148b1(this,_0x3a5119,_0x4b73ea);return;}_0x21a98d===void 0x0&&(_0x21a98d=!this[_0x52d23a(0x238)]),this[_0x52d23a(0x2be)]['ping'](_0x3a5119||_0x526c4d,_0x21a98d,_0x4b73ea);}[_0x34742b(0x1b1)](_0x19b86a,_0x3c6fa5,_0x4bdaf5){const _0xa6eba9=_0x34742b;if(this[_0xa6eba9(0x27d)]===_0x19bb9c[_0xa6eba9(0x29c)])throw new Error(_0xa6eba9(0x22d));if(typeof _0x19b86a=='function'?(_0x4bdaf5=_0x19b86a,_0x19b86a=_0x3c6fa5=void 0x0):typeof _0x3c6fa5==_0xa6eba9(0x1a2)&&(_0x4bdaf5=_0x3c6fa5,_0x3c6fa5=void 0x0),typeof _0x19b86a==_0xa6eba9(0x128)&&(_0x19b86a=_0x19b86a['toString']()),this[_0xa6eba9(0x27d)]!==_0x19bb9c[_0xa6eba9(0x28d)]){_0x6148b1(this,_0x19b86a,_0x4bdaf5);return;}_0x3c6fa5===void 0x0&&(_0x3c6fa5=!this[_0xa6eba9(0x238)]),this[_0xa6eba9(0x2be)][_0xa6eba9(0x1b1)](_0x19b86a||_0x526c4d,_0x3c6fa5,_0x4bdaf5);}[_0x34742b(0x1a8)](){const _0x3724c6=_0x34742b;this['readyState']===_0x19bb9c['CONNECTING']||this[_0x3724c6(0x27d)]===_0x19bb9c['CLOSED']||(this[_0x3724c6(0x157)]=!0x1,this[_0x3724c6(0x181)][_0x3724c6(0x2b4)][_0x3724c6(0x16c)]||this[_0x3724c6(0x1d8)]['resume']());}['send'](_0xaa4b3,_0x32d427,_0x314d2f){const _0x11490e=_0x34742b;if(this[_0x11490e(0x27d)]===_0x19bb9c[_0x11490e(0x29c)])throw new Error(_0x11490e(0x22d));if(typeof _0x32d427==_0x11490e(0x1a2)&&(_0x314d2f=_0x32d427,_0x32d427={}),typeof _0xaa4b3==_0x11490e(0x128)&&(_0xaa4b3=_0xaa4b3[_0x11490e(0x287)]()),this['readyState']!==_0x19bb9c[_0x11490e(0x28d)]){_0x6148b1(this,_0xaa4b3,_0x314d2f);return;}const _0x58526f={'binary':typeof _0xaa4b3!=_0x11490e(0x263),'mask':!this[_0x11490e(0x238)],'compress':!0x0,'fin':!0x0,..._0x32d427};this[_0x11490e(0x138)][_0x4c0772[_0x11490e(0x2c5)]]||(_0x58526f[_0x11490e(0x1bf)]=!0x1),this[_0x11490e(0x2be)][_0x11490e(0x2b5)](_0xaa4b3||_0x526c4d,_0x58526f,_0x314d2f);}[_0x34742b(0x2ae)](){const _0x41c9ce=_0x34742b;if(this[_0x41c9ce(0x27d)]!==_0x19bb9c[_0x41c9ce(0x13e)]){if(this[_0x41c9ce(0x27d)]===_0x19bb9c[_0x41c9ce(0x29c)]){_0xd1a8ce(this,this[_0x41c9ce(0x14d)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x41c9ce(0x1d8)]&&(this[_0x41c9ce(0x1e6)]=_0x19bb9c[_0x41c9ce(0x12a)],this[_0x41c9ce(0x1d8)][_0x41c9ce(0x212)]());}}}Object[_0x34742b(0x24e)](_0x19bb9c,'CONNECTING',{'enumerable':!0x0,'value':_0x3112b1[_0x34742b(0x1ee)](_0x34742b(0x29c))}),Object['defineProperty'](_0x19bb9c[_0x34742b(0x1e3)],_0x34742b(0x29c),{'enumerable':!0x0,'value':_0x3112b1[_0x34742b(0x1ee)](_0x34742b(0x29c))}),Object['defineProperty'](_0x19bb9c,_0x34742b(0x28d),{'enumerable':!0x0,'value':_0x3112b1[_0x34742b(0x1ee)]('OPEN')}),Object[_0x34742b(0x24e)](_0x19bb9c[_0x34742b(0x1e3)],_0x34742b(0x28d),{'enumerable':!0x0,'value':_0x3112b1[_0x34742b(0x1ee)](_0x34742b(0x28d))}),Object[_0x34742b(0x24e)](_0x19bb9c,_0x34742b(0x12a),{'enumerable':!0x0,'value':_0x3112b1['indexOf'](_0x34742b(0x12a))}),Object['defineProperty'](_0x19bb9c[_0x34742b(0x1e3)],_0x34742b(0x12a),{'enumerable':!0x0,'value':_0x3112b1[_0x34742b(0x1ee)](_0x34742b(0x12a))}),Object[_0x34742b(0x24e)](_0x19bb9c,_0x34742b(0x13e),{'enumerable':!0x0,'value':_0x3112b1[_0x34742b(0x1ee)](_0x34742b(0x13e))}),Object['defineProperty'](_0x19bb9c[_0x34742b(0x1e3)],'CLOSED',{'enumerable':!0x0,'value':_0x3112b1['indexOf'](_0x34742b(0x13e))}),[_0x34742b(0x1a4),'bufferedAmount',_0x34742b(0x15b),'isPaused',_0x34742b(0x20a),'readyState',_0x34742b(0x1fe)][_0x34742b(0x248)](_0x44dcc3=>{const _0x10365e=_0x34742b;Object[_0x10365e(0x24e)](_0x19bb9c[_0x10365e(0x1e3)],_0x44dcc3,{'enumerable':!0x0});}),['open','error',_0x34742b(0x1aa),_0x34742b(0x268)][_0x34742b(0x248)](_0x10aebd=>{const _0x54ebb7=_0x34742b;Object[_0x54ebb7(0x24e)](_0x19bb9c['prototype'],'on'+_0x10aebd,{'enumerable':!0x0,'get'(){const _0x213a50=_0x54ebb7;for(const _0xdce92d of this[_0x213a50(0x172)](_0x10aebd))if(_0xdce92d[_0xa18724])return _0xdce92d[_0x434861];return null;},'set'(_0x205425){const _0x5bb9ce=_0x54ebb7;for(const _0x2fc2c3 of this[_0x5bb9ce(0x172)](_0x10aebd))if(_0x2fc2c3[_0xa18724]){this['removeListener'](_0x10aebd,_0x2fc2c3);break;}typeof _0x205425==_0x5bb9ce(0x1a2)&&this[_0x5bb9ce(0x246)](_0x10aebd,_0x205425,{[_0xa18724]:!0x0});}});}),_0x19bb9c[_0x34742b(0x1e3)]['addEventListener']=_0x3dac29,_0x19bb9c[_0x34742b(0x1e3)][_0x34742b(0x297)]=_0x447ada,we=_0x19bb9c;function _0x4a627e(_0x23bd7f,_0x3fc50e,_0xf4c651,_0x476010){const _0x600d20=_0x34742b,_0x452c0a={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x4e2ae5[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x476010,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x600d20(0x12e),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x23bd7f[_0x600d20(0x26c)]=_0x452c0a[_0x600d20(0x29b)],!_0x4e2ae5[_0x600d20(0x174)](_0x452c0a['protocolVersion']))throw new RangeError(_0x600d20(0x2a9)+_0x452c0a[_0x600d20(0x1b4)]+_0x600d20(0x1be)+_0x4e2ae5[_0x600d20(0x298)](',\x20')+')');let _0x48ba42;if(_0x3fc50e instanceof _0x4b1d38)_0x48ba42=_0x3fc50e;else try{_0x48ba42=new _0x4b1d38(_0x3fc50e);}catch{throw new SyntaxError(_0x600d20(0x2bb)+_0x3fc50e);}_0x48ba42[_0x600d20(0x20a)]===_0x600d20(0x1f7)?_0x48ba42['protocol']=_0x600d20(0x1ab):_0x48ba42['protocol']===_0x600d20(0x1f5)&&(_0x48ba42[_0x600d20(0x20a)]='wss:'),_0x23bd7f['_url']=_0x48ba42[_0x600d20(0x14c)];const _0x466c5=_0x48ba42[_0x600d20(0x20a)]===_0x600d20(0x250),_0x83b40c=_0x48ba42[_0x600d20(0x20a)]==='ws+unix:';let _0x21f060;if(_0x48ba42[_0x600d20(0x20a)]!==_0x600d20(0x1ab)&&!_0x466c5&&!_0x83b40c?_0x21f060=_0x600d20(0x205):_0x83b40c&&!_0x48ba42[_0x600d20(0x198)]?_0x21f060='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x48ba42['hash']&&(_0x21f060=_0x600d20(0x197)),_0x21f060){const _0x10f088=new SyntaxError(_0x21f060);if(_0x23bd7f[_0x600d20(0x26d)]===0x0)throw _0x10f088;_0x24f2f8(_0x23bd7f,_0x10f088);return;}const _0x1a619c=_0x466c5?0x1bb:0x50,_0x2602f3=_0x3f7c77(0x10)[_0x600d20(0x287)]('base64'),_0x4147f3=_0x466c5?_0xd5b70d[_0x600d20(0x226)]:_0x42b658[_0x600d20(0x226)],_0x4ffecb=new Set();let _0x5db9fe;if(_0x452c0a['createConnection']=_0x452c0a[_0x600d20(0x17d)]||(_0x466c5?_0x2b4030:_0x4123e8),_0x452c0a[_0x600d20(0x23c)]=_0x452c0a[_0x600d20(0x23c)]||_0x1a619c,_0x452c0a[_0x600d20(0x163)]=_0x48ba42['port']||_0x1a619c,_0x452c0a[_0x600d20(0x278)]=_0x48ba42[_0x600d20(0x29a)][_0x600d20(0x18d)]('[')?_0x48ba42['hostname'][_0x600d20(0x1bb)](0x1,-0x1):_0x48ba42[_0x600d20(0x29a)],_0x452c0a[_0x600d20(0x2a6)]={..._0x452c0a[_0x600d20(0x2a6)],'Sec-WebSocket-Version':_0x452c0a[_0x600d20(0x1b4)],'Sec-WebSocket-Key':_0x2602f3,'Connection':_0x600d20(0x267),'Upgrade':_0x600d20(0x18b)},_0x452c0a[_0x600d20(0x23f)]=_0x48ba42[_0x600d20(0x198)]+_0x48ba42[_0x600d20(0x29e)],_0x452c0a[_0x600d20(0x17b)]=_0x452c0a[_0x600d20(0x199)],_0x452c0a[_0x600d20(0x16b)]&&(_0x5db9fe=new _0x4c0772(_0x452c0a[_0x600d20(0x16b)]!==!0x0?_0x452c0a['perMessageDeflate']:{},!0x1,_0x452c0a[_0x600d20(0x1e8)]),_0x452c0a[_0x600d20(0x2a6)]['Sec-WebSocket-Extensions']=_0x4cd271({[_0x4c0772[_0x600d20(0x2c5)]]:_0x5db9fe[_0x600d20(0x19d)]()})),_0xf4c651[_0x600d20(0x187)]){for(const _0xe8e368 of _0xf4c651){if(typeof _0xe8e368!=_0x600d20(0x263)||!_0xa78f0e['test'](_0xe8e368)||_0x4ffecb[_0x600d20(0x2b9)](_0xe8e368))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x4ffecb['add'](_0xe8e368);}_0x452c0a['headers'][_0x600d20(0x22a)]=_0xf4c651[_0x600d20(0x298)](',');}if(_0x452c0a['origin']&&(_0x452c0a[_0x600d20(0x1b4)]<0xd?_0x452c0a[_0x600d20(0x2a6)][_0x600d20(0x169)]=_0x452c0a[_0x600d20(0x2b1)]:_0x452c0a['headers']['Origin']=_0x452c0a[_0x600d20(0x2b1)]),(_0x48ba42[_0x600d20(0x1a5)]||_0x48ba42[_0x600d20(0x1a9)])&&(_0x452c0a['auth']=_0x48ba42[_0x600d20(0x1a5)]+':'+_0x48ba42['password']),_0x83b40c){const _0x22e24d=_0x452c0a['path']['split'](':');_0x452c0a[_0x600d20(0x18f)]=_0x22e24d[0x0],_0x452c0a[_0x600d20(0x23f)]=_0x22e24d[0x1];}let _0x91d5e7;if(_0x452c0a[_0x600d20(0x13b)]){if(_0x23bd7f[_0x600d20(0x26d)]===0x0){_0x23bd7f[_0x600d20(0x13d)]=_0x83b40c,_0x23bd7f['_originalSecure']=_0x466c5,_0x23bd7f[_0x600d20(0x232)]=_0x83b40c?_0x452c0a[_0x600d20(0x18f)]:_0x48ba42['host'];const _0x41a8d2=_0x476010&&_0x476010[_0x600d20(0x2a6)];if(_0x476010={..._0x476010,'headers':{}},_0x41a8d2){for(const [_0x463552,_0x1239de]of Object[_0x600d20(0x283)](_0x41a8d2))_0x476010['headers'][_0x463552[_0x600d20(0x1d0)]()]=_0x1239de;}}else{if(_0x23bd7f[_0x600d20(0x207)](_0x600d20(0x284))===0x0){const _0x5b7cc2=_0x83b40c?_0x23bd7f['_originalIpc']?_0x452c0a[_0x600d20(0x18f)]===_0x23bd7f[_0x600d20(0x232)]:!0x1:_0x23bd7f[_0x600d20(0x13d)]?!0x1:_0x48ba42[_0x600d20(0x278)]===_0x23bd7f['_originalHostOrSocketPath'];(!_0x5b7cc2||_0x23bd7f['_originalSecure']&&!_0x466c5)&&(delete _0x452c0a[_0x600d20(0x2a6)][_0x600d20(0x153)],delete _0x452c0a['headers'][_0x600d20(0x231)],_0x5b7cc2||delete _0x452c0a[_0x600d20(0x2a6)][_0x600d20(0x278)],_0x452c0a['auth']=void 0x0);}}_0x452c0a['auth']&&!_0x476010[_0x600d20(0x2a6)][_0x600d20(0x153)]&&(_0x476010[_0x600d20(0x2a6)][_0x600d20(0x153)]=_0x600d20(0x165)+Buffer[_0x600d20(0x17c)](_0x452c0a['auth'])[_0x600d20(0x287)](_0x600d20(0x206))),_0x91d5e7=_0x23bd7f[_0x600d20(0x14d)]=_0x4147f3(_0x452c0a),_0x23bd7f[_0x600d20(0x26d)]&&_0x23bd7f[_0x600d20(0x203)]('redirect',_0x23bd7f[_0x600d20(0x1fe)],_0x91d5e7);}else _0x91d5e7=_0x23bd7f[_0x600d20(0x14d)]=_0x4147f3(_0x452c0a);_0x452c0a[_0x600d20(0x17b)]&&_0x91d5e7['on'](_0x600d20(0x17b),()=>{const _0xbcc0b=_0x600d20;_0xd1a8ce(_0x23bd7f,_0x91d5e7,_0xbcc0b(0x26e));}),_0x91d5e7['on']('error',_0xd8555d=>{const _0xcc71da=_0x600d20;_0x91d5e7===null||_0x91d5e7[_0x398bf1]||(_0x91d5e7=_0x23bd7f[_0xcc71da(0x14d)]=null,_0x24f2f8(_0x23bd7f,_0xd8555d));}),_0x91d5e7['on'](_0x600d20(0x2b8),_0x404711=>{const _0x202723=_0x600d20,_0x5b2f03=_0x404711[_0x202723(0x2a6)][_0x202723(0x23e)],_0xa98497=_0x404711[_0x202723(0x1df)];if(_0x5b2f03&&_0x452c0a[_0x202723(0x13b)]&&_0xa98497>=0x12c&&_0xa98497<0x190){if(++_0x23bd7f[_0x202723(0x26d)]>_0x452c0a[_0x202723(0x295)]){_0xd1a8ce(_0x23bd7f,_0x91d5e7,_0x202723(0x20e));return;}_0x91d5e7[_0x202723(0x1d5)]();let _0x5828cc;try{_0x5828cc=new _0x4b1d38(_0x5b2f03,_0x3fc50e);}catch{const _0x1ba4f0=new SyntaxError(_0x202723(0x2bb)+_0x5b2f03);_0x24f2f8(_0x23bd7f,_0x1ba4f0);return;}_0x4a627e(_0x23bd7f,_0x5828cc,_0xf4c651,_0x476010);}else _0x23bd7f[_0x202723(0x203)]('unexpected-response',_0x91d5e7,_0x404711)||_0xd1a8ce(_0x23bd7f,_0x91d5e7,'Unexpected\x20server\x20response:\x20'+_0x404711[_0x202723(0x1df)]);}),_0x91d5e7['on'](_0x600d20(0x2ad),(_0x464c14,_0x2ac95b,_0x26b119)=>{const _0x882625=_0x600d20;if(_0x23bd7f[_0x882625(0x203)]('upgrade',_0x464c14),_0x23bd7f[_0x882625(0x27d)]!==_0x19bb9c[_0x882625(0x29c)])return;_0x91d5e7=_0x23bd7f[_0x882625(0x14d)]=null;const _0x4d914f=_0x464c14[_0x882625(0x2a6)][_0x882625(0x2ad)];if(_0x4d914f===void 0x0||_0x4d914f['toLowerCase']()!=='websocket'){_0xd1a8ce(_0x23bd7f,_0x2ac95b,_0x882625(0x182));return;}const _0x3d073b=_0x59ff6d(_0x882625(0x173))[_0x882625(0x27b)](_0x2602f3+_0x17edf6)[_0x882625(0x1d3)](_0x882625(0x206));if(_0x464c14[_0x882625(0x2a6)][_0x882625(0x17a)]!==_0x3d073b){_0xd1a8ce(_0x23bd7f,_0x2ac95b,_0x882625(0x209));return;}const _0x1a228a=_0x464c14['headers'][_0x882625(0x1c5)];let _0x5a5710;if(_0x1a228a!==void 0x0?_0x4ffecb[_0x882625(0x1e2)]?_0x4ffecb[_0x882625(0x2b9)](_0x1a228a)||(_0x5a5710='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x5a5710=_0x882625(0x233):_0x4ffecb[_0x882625(0x1e2)]&&(_0x5a5710='Server\x20sent\x20no\x20subprotocol'),_0x5a5710){_0xd1a8ce(_0x23bd7f,_0x2ac95b,_0x5a5710);return;}_0x1a228a&&(_0x23bd7f[_0x882625(0x18a)]=_0x1a228a);const _0xb2ea9b=_0x464c14[_0x882625(0x2a6)][_0x882625(0x2a0)];if(_0xb2ea9b!==void 0x0){if(!_0x5db9fe){_0xd1a8ce(_0x23bd7f,_0x2ac95b,_0x882625(0x21c));return;}let _0x508a19;try{_0x508a19=_0x4564e3(_0xb2ea9b);}catch{_0xd1a8ce(_0x23bd7f,_0x2ac95b,_0x882625(0x154));return;}const _0x43baa6=Object[_0x882625(0x149)](_0x508a19);if(_0x43baa6[_0x882625(0x187)]!==0x1||_0x43baa6[0x0]!==_0x4c0772[_0x882625(0x2c5)]){_0xd1a8ce(_0x23bd7f,_0x2ac95b,_0x882625(0x2c9));return;}try{_0x5db9fe[_0x882625(0x273)](_0x508a19[_0x4c0772['extensionName']]);}catch{_0xd1a8ce(_0x23bd7f,_0x2ac95b,_0x882625(0x154));return;}_0x23bd7f[_0x882625(0x138)][_0x4c0772[_0x882625(0x2c5)]]=_0x5db9fe;}_0x23bd7f[_0x882625(0x148)](_0x2ac95b,_0x26b119,{'allowSynchronousEvents':_0x452c0a['allowSynchronousEvents'],'generateMask':_0x452c0a[_0x882625(0x235)],'maxPayload':_0x452c0a[_0x882625(0x1e8)],'skipUTF8Validation':_0x452c0a['skipUTF8Validation']});}),_0x452c0a['finishRequest']?_0x452c0a[_0x600d20(0x156)](_0x91d5e7,_0x23bd7f):_0x91d5e7[_0x600d20(0x1f0)]();}function _0x24f2f8(_0x5ea7be,_0xde0fe4){const _0x593ded=_0x34742b;_0x5ea7be[_0x593ded(0x1e6)]=_0x19bb9c[_0x593ded(0x12a)],_0x5ea7be[_0x593ded(0x16e)]=!0x0,_0x5ea7be[_0x593ded(0x203)]('error',_0xde0fe4),_0x5ea7be[_0x593ded(0x247)]();}function _0x4123e8(_0x57764f){const _0xaafba3=_0x34742b;return _0x57764f['path']=_0x57764f[_0xaafba3(0x18f)],_0x22f7c5[_0xaafba3(0x1cb)](_0x57764f);}function _0x2b4030(_0x3bda41){const _0x255d68=_0x34742b;return _0x3bda41['path']=void 0x0,!_0x3bda41[_0x255d68(0x1c9)]&&_0x3bda41[_0x255d68(0x1c9)]!==''&&(_0x3bda41[_0x255d68(0x1c9)]=_0x22f7c5[_0x255d68(0x134)](_0x3bda41[_0x255d68(0x278)])?'':_0x3bda41[_0x255d68(0x278)]),_0x39ddbc[_0x255d68(0x1cb)](_0x3bda41);}function _0xd1a8ce(_0x1371a4,_0x511038,_0x2e05f4){const _0x7aa29b=_0x34742b;_0x1371a4[_0x7aa29b(0x1e6)]=_0x19bb9c['CLOSING'];const _0x400079=new Error(_0x2e05f4);Error[_0x7aa29b(0x158)](_0x400079,_0xd1a8ce),_0x511038[_0x7aa29b(0x240)]?(_0x511038[_0x398bf1]=!0x0,_0x511038[_0x7aa29b(0x1d5)](),_0x511038[_0x7aa29b(0x196)]&&!_0x511038[_0x7aa29b(0x196)][_0x7aa29b(0x1af)]&&_0x511038['socket']['destroy'](),process[_0x7aa29b(0x2a2)](_0x24f2f8,_0x1371a4,_0x400079)):(_0x511038[_0x7aa29b(0x212)](_0x400079),_0x511038[_0x7aa29b(0x1b5)](_0x7aa29b(0x159),_0x1371a4[_0x7aa29b(0x203)][_0x7aa29b(0x249)](_0x1371a4,_0x7aa29b(0x159))),_0x511038[_0x7aa29b(0x1b5)](_0x7aa29b(0x1aa),_0x1371a4[_0x7aa29b(0x247)][_0x7aa29b(0x249)](_0x1371a4)));}function _0x6148b1(_0x18c19d,_0x13a6e7,_0x51a7c4){const _0x1dfaa9=_0x34742b;if(_0x13a6e7){const _0x56ea86=_0x4f9c50(_0x13a6e7)?_0x13a6e7[_0x1dfaa9(0x1e2)]:_0x5b8587(_0x13a6e7)['length'];_0x18c19d[_0x1dfaa9(0x1d8)]?_0x18c19d['_sender'][_0x1dfaa9(0x18e)]+=_0x56ea86:_0x18c19d['_bufferedAmount']+=_0x56ea86;}if(_0x51a7c4){const _0x1b8741=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x18c19d['readyState']+'\x20('+_0x3112b1[_0x18c19d[_0x1dfaa9(0x27d)]]+')');process[_0x1dfaa9(0x2a2)](_0x51a7c4,_0x1b8741);}}function _0x2e2dbb(_0x3b2f53,_0x4efb81){const _0x25c853=_0x34742b,_0x4fb72e=this[_0xf70647];_0x4fb72e['_closeFrameReceived']=!0x0,_0x4fb72e['_closeMessage']=_0x4efb81,_0x4fb72e[_0x25c853(0x15f)]=_0x3b2f53,_0x4fb72e[_0x25c853(0x1d8)][_0xf70647]!==void 0x0&&(_0x4fb72e[_0x25c853(0x1d8)][_0x25c853(0x189)](_0x25c853(0x147),_0x35b3af),process[_0x25c853(0x2a2)](_0x331cfb,_0x4fb72e['_socket']),_0x3b2f53===0x3ed?_0x4fb72e['close']():_0x4fb72e['close'](_0x3b2f53,_0x4efb81));}function _0x1b23ca(){const _0x39bcce=_0x34742b,_0x1ad931=this[_0xf70647];_0x1ad931[_0x39bcce(0x2c1)]||_0x1ad931['_socket'][_0x39bcce(0x1a8)]();}function _0x3a764f(_0x3d5e97){const _0x3d83c4=_0x34742b,_0x5ead73=this[_0xf70647];_0x5ead73['_socket'][_0xf70647]!==void 0x0&&(_0x5ead73['_socket'][_0x3d83c4(0x189)](_0x3d83c4(0x147),_0x35b3af),process[_0x3d83c4(0x2a2)](_0x331cfb,_0x5ead73[_0x3d83c4(0x1d8)]),_0x5ead73[_0x3d83c4(0x1aa)](_0x3d5e97[_0x1bb141])),_0x5ead73['_errorEmitted']||(_0x5ead73[_0x3d83c4(0x16e)]=!0x0,_0x5ead73[_0x3d83c4(0x203)](_0x3d83c4(0x159),_0x3d5e97));}function _0x3f3ebf(){const _0x56115f=_0x34742b;this[_0xf70647][_0x56115f(0x247)]();}function _0x31f8fe(_0x548f85,_0x2b1a97){const _0xf0e97=_0x34742b;this[_0xf70647]['emit'](_0xf0e97(0x268),_0x548f85,_0x2b1a97);}function _0x4ab286(_0x47945c){const _0x3be21b=_0x34742b,_0x6f55e6=this[_0xf70647];_0x6f55e6[_0x3be21b(0x26c)]&&_0x6f55e6['pong'](_0x47945c,!this[_0x3be21b(0x238)],_0x1e7d2f),_0x6f55e6['emit']('ping',_0x47945c);}function _0x199679(_0x4c4537){const _0x4da060=_0x34742b;this[_0xf70647]['emit'](_0x4da060(0x1b1),_0x4c4537);}function _0x331cfb(_0x5dcebd){const _0x1ec4b1=_0x34742b;_0x5dcebd[_0x1ec4b1(0x1a8)]();}function _0x55b6ea(_0x421bb9){const _0x281959=_0x34742b,_0x297dfb=this[_0xf70647];_0x297dfb[_0x281959(0x27d)]!==_0x19bb9c[_0x281959(0x13e)]&&(_0x297dfb[_0x281959(0x27d)]===_0x19bb9c[_0x281959(0x28d)]&&(_0x297dfb[_0x281959(0x1e6)]=_0x19bb9c['CLOSING'],_0x342fcb(_0x297dfb)),this[_0x281959(0x1d8)]['end'](),_0x297dfb['_errorEmitted']||(_0x297dfb[_0x281959(0x16e)]=!0x0,_0x297dfb['emit']('error',_0x421bb9)));}function _0x342fcb(_0x2b332d){const _0x546011=_0x34742b;_0x2b332d[_0x546011(0x290)]=setTimeout(_0x2b332d[_0x546011(0x1d8)]['destroy']['bind'](_0x2b332d[_0x546011(0x1d8)]),_0x154808);}function _0x2ed511(){const _0x3f3eda=_0x34742b,_0x55312c=this[_0xf70647];this[_0x3f3eda(0x189)]('close',_0x2ed511),this[_0x3f3eda(0x189)](_0x3f3eda(0x147),_0x35b3af),this[_0x3f3eda(0x189)](_0x3f3eda(0x1f0),_0x4dd039),_0x55312c[_0x3f3eda(0x1e6)]=_0x19bb9c[_0x3f3eda(0x12a)];let _0x3d35e0;!this[_0x3f3eda(0x255)][_0x3f3eda(0x210)]&&!_0x55312c[_0x3f3eda(0x214)]&&!_0x55312c['_receiver'][_0x3f3eda(0x2b4)][_0x3f3eda(0x166)]&&(_0x3d35e0=_0x55312c[_0x3f3eda(0x1d8)][_0x3f3eda(0x2a3)]())!==null&&_0x55312c[_0x3f3eda(0x181)]['write'](_0x3d35e0),_0x55312c[_0x3f3eda(0x181)][_0x3f3eda(0x1f0)](),this[_0xf70647]=void 0x0,clearTimeout(_0x55312c[_0x3f3eda(0x290)]),_0x55312c['_receiver'][_0x3f3eda(0x2b4)][_0x3f3eda(0x185)]||_0x55312c[_0x3f3eda(0x181)][_0x3f3eda(0x2b4)][_0x3f3eda(0x166)]?_0x55312c[_0x3f3eda(0x247)]():(_0x55312c[_0x3f3eda(0x181)]['on'](_0x3f3eda(0x159),_0x3f3ebf),_0x55312c['_receiver']['on'](_0x3f3eda(0x13f),_0x3f3ebf));}function _0x35b3af(_0x907999){const _0x29d681=_0x34742b;this[_0xf70647][_0x29d681(0x181)]['write'](_0x907999)||this[_0x29d681(0x1bc)]();}function _0x4dd039(){const _0x22064c=_0x34742b,_0x5904c0=this[_0xf70647];_0x5904c0['_readyState']=_0x19bb9c[_0x22064c(0x12a)],_0x5904c0[_0x22064c(0x181)]['end'](),this[_0x22064c(0x1f0)]();}function _0x159b70(){const _0x5c5dfb=_0x34742b,_0x133aa9=this[_0xf70647];this[_0x5c5dfb(0x189)]('error',_0x159b70),this['on'](_0x5c5dfb(0x159),_0x1e7d2f),_0x133aa9&&(_0x133aa9[_0x5c5dfb(0x1e6)]=_0x19bb9c[_0x5c5dfb(0x12a)],this[_0x5c5dfb(0x212)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x38a22e}=_0x1ba7a8;function _0x53ccd5(_0x2210e8){const _0x2a0830=_0x33fa;_0x2210e8[_0x2a0830(0x203)](_0x2a0830(0x1aa));}function _0x76b1e7(){const _0x3c61b8=_0x33fa;!this[_0x3c61b8(0x1af)]&&this[_0x3c61b8(0x2b4)][_0x3c61b8(0x185)]&&this[_0x3c61b8(0x212)]();}function _0x509bc5(_0x155574){const _0x54d23b=_0x33fa;this[_0x54d23b(0x189)](_0x54d23b(0x159),_0x509bc5),this[_0x54d23b(0x212)](),this[_0x54d23b(0x207)]('error')===0x0&&this[_0x54d23b(0x203)](_0x54d23b(0x159),_0x155574);}function _0x5b8299(_0x362a9f,_0x2c554e){const _0xfa438f=_0x33fa;let _0x2c7afd=!0x0;const _0xb5240b=new _0x38a22e({..._0x2c554e,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x362a9f['on'](_0xfa438f(0x268),function(_0x49b4c0,_0x1a7f7f){const _0x76e344=_0xfa438f,_0x2f611d=!_0x1a7f7f&&_0xb5240b[_0x76e344(0x255)]['objectMode']?_0x49b4c0[_0x76e344(0x287)]():_0x49b4c0;_0xb5240b['push'](_0x2f611d)||_0x362a9f[_0x76e344(0x1bc)]();}),_0x362a9f[_0xfa438f(0x1b5)](_0xfa438f(0x159),function(_0x494095){_0xb5240b['destroyed']||(_0x2c7afd=!0x1,_0xb5240b['destroy'](_0x494095));}),_0x362a9f[_0xfa438f(0x1b5)](_0xfa438f(0x1aa),function(){const _0xc579ee=_0xfa438f;_0xb5240b[_0xc579ee(0x1af)]||_0xb5240b[_0xc579ee(0x193)](null);}),_0xb5240b[_0xfa438f(0x1ed)]=function(_0x249d47,_0x5e6d7e){const _0x314614=_0xfa438f;if(_0x362a9f['readyState']===_0x362a9f[_0x314614(0x13e)]){_0x5e6d7e(_0x249d47),process[_0x314614(0x2a2)](_0x53ccd5,_0xb5240b);return;}let _0x334262=!0x1;_0x362a9f['once'](_0x314614(0x159),function(_0x3fa47e){_0x334262=!0x0,_0x5e6d7e(_0x3fa47e);}),_0x362a9f['once']('close',function(){const _0x110021=_0x314614;_0x334262||_0x5e6d7e(_0x249d47),process[_0x110021(0x2a2)](_0x53ccd5,_0xb5240b);}),_0x2c7afd&&_0x362a9f[_0x314614(0x2ae)]();},_0xb5240b[_0xfa438f(0x264)]=function(_0x2d0790){const _0x26020b=_0xfa438f;if(_0x362a9f[_0x26020b(0x27d)]===_0x362a9f[_0x26020b(0x29c)]){_0x362a9f['once']('open',function(){_0xb5240b['_final'](_0x2d0790);});return;}_0x362a9f['_socket']!==null&&(_0x362a9f[_0x26020b(0x1d8)]['_writableState'][_0x26020b(0x185)]?(_0x2d0790(),_0xb5240b[_0x26020b(0x255)][_0x26020b(0x210)]&&_0xb5240b['destroy']()):(_0x362a9f[_0x26020b(0x1d8)][_0x26020b(0x1b5)](_0x26020b(0x13f),function(){_0x2d0790();}),_0x362a9f[_0x26020b(0x1aa)]()));},_0xb5240b[_0xfa438f(0x245)]=function(){const _0x27289f=_0xfa438f;_0x362a9f[_0x27289f(0x2c1)]&&_0x362a9f[_0x27289f(0x1a8)]();},_0xb5240b[_0xfa438f(0x144)]=function(_0x3b6f14,_0x258682,_0x136ea5){const _0x6b5215=_0xfa438f;if(_0x362a9f[_0x6b5215(0x27d)]===_0x362a9f[_0x6b5215(0x29c)]){_0x362a9f[_0x6b5215(0x1b5)](_0x6b5215(0x21a),function(){const _0x141b29=_0x6b5215;_0xb5240b[_0x141b29(0x144)](_0x3b6f14,_0x258682,_0x136ea5);});return;}_0x362a9f[_0x6b5215(0x2b5)](_0x3b6f14,_0x136ea5);},_0xb5240b['on'](_0xfa438f(0x1f0),_0x76b1e7),_0xb5240b['on'](_0xfa438f(0x159),_0x509bc5),_0xb5240b;}return Oe=_0x5b8299,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x36bc7a}=ne();function _0x59a2a2(_0x17fd91){const _0x442e04=_0x33fa,_0x546734=new Set();let _0x445414=-0x1,_0x58f05d=-0x1,_0x762db8=0x0;for(_0x762db8;_0x762db8<_0x17fd91[_0x442e04(0x187)];_0x762db8++){const _0x5d0293=_0x17fd91['charCodeAt'](_0x762db8);if(_0x58f05d===-0x1&&_0x36bc7a[_0x5d0293]===0x1)_0x445414===-0x1&&(_0x445414=_0x762db8);else{if(_0x762db8!==0x0&&(_0x5d0293===0x20||_0x5d0293===0x9))_0x58f05d===-0x1&&_0x445414!==-0x1&&(_0x58f05d=_0x762db8);else{if(_0x5d0293===0x2c){if(_0x445414===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x762db8);_0x58f05d===-0x1&&(_0x58f05d=_0x762db8);const _0x205906=_0x17fd91['slice'](_0x445414,_0x58f05d);if(_0x546734[_0x442e04(0x2b9)](_0x205906))throw new SyntaxError(_0x442e04(0x1e0)+_0x205906+_0x442e04(0x19b));_0x546734[_0x442e04(0x25e)](_0x205906),_0x445414=_0x58f05d=-0x1;}else throw new SyntaxError(_0x442e04(0x2a5)+_0x762db8);}}}if(_0x445414===-0x1||_0x58f05d!==-0x1)throw new SyntaxError(_0x442e04(0x293));const _0x58e69e=_0x17fd91[_0x442e04(0x1bb)](_0x445414,_0x762db8);if(_0x546734['has'](_0x58e69e))throw new SyntaxError(_0x442e04(0x1e0)+_0x58e69e+'\x22\x20subprotocol\x20is\x20duplicated');return _0x546734[_0x442e04(0x25e)](_0x58e69e),_0x546734;}return Ce={'parse':_0x59a2a2},Ce;}var Te,ot;function er(){const _0x2f0be9=_0xc592e0;if(ot)return Te;ot=0x1;const _0x271c4b=_0x65c4b3,_0x1fa536=_0x52e28b,{Duplex:_0x3adf57}=_0x1ba7a8,{createHash:_0x2f958f}=_0x306241,_0x5ad037=pt(),_0x4f51f2=he(),_0x193ae6=Jt(),_0xeaf11e=Ie(),{GUID:_0x162afd,kWebSocket:_0x347635}=V(),_0x2178e4=/^[+/0-9A-Za-z]{22}==$/,_0x488a9e=0x0,_0x38d873=0x1,_0x311c01=0x2;class _0x297779 extends _0x271c4b{constructor(_0x2981ab,_0x1c0cd0){const _0x19fe51=_0x33fa;if(super(),_0x2981ab={'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':_0xeaf11e,..._0x2981ab},_0x2981ab[_0x19fe51(0x163)]==null&&!_0x2981ab[_0x19fe51(0x136)]&&!_0x2981ab[_0x19fe51(0x22f)]||_0x2981ab[_0x19fe51(0x163)]!=null&&(_0x2981ab['server']||_0x2981ab['noServer'])||_0x2981ab[_0x19fe51(0x136)]&&_0x2981ab['noServer'])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x2981ab[_0x19fe51(0x163)]!=null?(this[_0x19fe51(0x251)]=_0x1fa536[_0x19fe51(0x2b6)]((_0x4737a2,_0x14b07a)=>{const _0xa49b6a=_0x19fe51,_0x1ac7c7=_0x1fa536['STATUS_CODES'][0x1aa];_0x14b07a[_0xa49b6a(0x1c4)](0x1aa,{'Content-Length':_0x1ac7c7[_0xa49b6a(0x187)],'Content-Type':'text/plain'}),_0x14b07a['end'](_0x1ac7c7);}),this[_0x19fe51(0x251)]['listen'](_0x2981ab[_0x19fe51(0x163)],_0x2981ab['host'],_0x2981ab['backlog'],_0x1c0cd0)):_0x2981ab[_0x19fe51(0x136)]&&(this[_0x19fe51(0x251)]=_0x2981ab['server']),this['_server']){const _0x50aeca=this[_0x19fe51(0x203)]['bind'](this,_0x19fe51(0x177));this[_0x19fe51(0x2ba)]=_0x19638c(this['_server'],{'listening':this['emit'][_0x19fe51(0x249)](this,_0x19fe51(0x24a)),'error':this[_0x19fe51(0x203)]['bind'](this,'error'),'upgrade':(_0x3abbc8,_0x36bff2,_0xddf5d2)=>{const _0x35232c=_0x19fe51;this[_0x35232c(0x1ea)](_0x3abbc8,_0x36bff2,_0xddf5d2,_0x50aeca);}});}_0x2981ab[_0x19fe51(0x16b)]===!0x0&&(_0x2981ab[_0x19fe51(0x16b)]={}),_0x2981ab['clientTracking']&&(this[_0x19fe51(0x2c7)]=new Set(),this[_0x19fe51(0x25f)]=!0x1),this[_0x19fe51(0x219)]=_0x2981ab,this['_state']=_0x488a9e;}['address'](){const _0x552d3b=_0x33fa;if(this[_0x552d3b(0x219)][_0x552d3b(0x22f)])throw new Error(_0x552d3b(0x218));return this[_0x552d3b(0x251)]?this[_0x552d3b(0x251)]['address']():null;}['close'](_0x1d0529){const _0x50fdf0=_0x33fa;if(this[_0x50fdf0(0x261)]===_0x311c01){_0x1d0529&&this[_0x50fdf0(0x1b5)](_0x50fdf0(0x1aa),()=>{const _0x13e49f=_0x50fdf0;_0x1d0529(new Error(_0x13e49f(0x140)));}),process[_0x50fdf0(0x2a2)](_0x39d8fc,this);return;}if(_0x1d0529&&this['once'](_0x50fdf0(0x1aa),_0x1d0529),this[_0x50fdf0(0x261)]!==_0x38d873){if(this[_0x50fdf0(0x261)]=_0x38d873,this[_0x50fdf0(0x219)][_0x50fdf0(0x22f)]||this['options'][_0x50fdf0(0x136)])this[_0x50fdf0(0x251)]&&(this[_0x50fdf0(0x2ba)](),this[_0x50fdf0(0x2ba)]=this[_0x50fdf0(0x251)]=null),this[_0x50fdf0(0x2c7)]?this[_0x50fdf0(0x2c7)][_0x50fdf0(0x1e2)]?this[_0x50fdf0(0x25f)]=!0x0:process['nextTick'](_0x39d8fc,this):process[_0x50fdf0(0x2a2)](_0x39d8fc,this);else{const _0x586ea0=this[_0x50fdf0(0x251)];this['_removeListeners'](),this[_0x50fdf0(0x2ba)]=this['_server']=null,_0x586ea0['close'](()=>{_0x39d8fc(this);});}}}[_0x2f0be9(0x21f)](_0x2e3aa7){const _0x18f941=_0x2f0be9;if(this[_0x18f941(0x219)][_0x18f941(0x23f)]){const _0x48c430=_0x2e3aa7[_0x18f941(0x1fe)][_0x18f941(0x1ee)]('?');if((_0x48c430!==-0x1?_0x2e3aa7['url'][_0x18f941(0x1bb)](0x0,_0x48c430):_0x2e3aa7[_0x18f941(0x1fe)])!==this[_0x18f941(0x219)][_0x18f941(0x23f)])return!0x1;}return!0x0;}[_0x2f0be9(0x1ea)](_0x2bfb65,_0x54302d,_0x538bff,_0x32f076){const _0x2f3ff3=_0x2f0be9;_0x54302d['on'](_0x2f3ff3(0x159),_0xaf66bd);const _0x123214=_0x2bfb65[_0x2f3ff3(0x2a6)][_0x2f3ff3(0x24c)],_0x2a9070=_0x2bfb65[_0x2f3ff3(0x2a6)][_0x2f3ff3(0x2ad)],_0x36004a=+_0x2bfb65['headers'][_0x2f3ff3(0x252)];if(_0x2bfb65[_0x2f3ff3(0x1eb)]!==_0x2f3ff3(0x12e)){_0x2a15d1(this,_0x2bfb65,_0x54302d,0x195,_0x2f3ff3(0x1ca));return;}if(_0x2a9070===void 0x0||_0x2a9070[_0x2f3ff3(0x1d0)]()!=='websocket'){_0x2a15d1(this,_0x2bfb65,_0x54302d,0x190,_0x2f3ff3(0x182));return;}if(_0x123214===void 0x0||!_0x2178e4['test'](_0x123214)){_0x2a15d1(this,_0x2bfb65,_0x54302d,0x190,_0x2f3ff3(0x1cd));return;}if(_0x36004a!==0x8&&_0x36004a!==0xd){_0x2a15d1(this,_0x2bfb65,_0x54302d,0x190,_0x2f3ff3(0x292));return;}if(!this['shouldHandle'](_0x2bfb65)){_0x52ddcf(_0x54302d,0x190);return;}const _0x480776=_0x2bfb65[_0x2f3ff3(0x2a6)][_0x2f3ff3(0x1c5)];let _0xe98418=new Set();if(_0x480776!==void 0x0)try{_0xe98418=_0x193ae6['parse'](_0x480776);}catch{_0x2a15d1(this,_0x2bfb65,_0x54302d,0x190,_0x2f3ff3(0x1a3));return;}const _0x292d14=_0x2bfb65[_0x2f3ff3(0x2a6)][_0x2f3ff3(0x2a0)],_0x232583={};if(this[_0x2f3ff3(0x219)][_0x2f3ff3(0x16b)]&&_0x292d14!==void 0x0){const _0x57bb4f=new _0x4f51f2(this[_0x2f3ff3(0x219)][_0x2f3ff3(0x16b)],!0x0,this[_0x2f3ff3(0x219)]['maxPayload']);try{const _0x38b990=_0x5ad037[_0x2f3ff3(0x19c)](_0x292d14);_0x38b990[_0x4f51f2['extensionName']]&&(_0x57bb4f[_0x2f3ff3(0x273)](_0x38b990[_0x4f51f2[_0x2f3ff3(0x2c5)]]),_0x232583[_0x4f51f2[_0x2f3ff3(0x2c5)]]=_0x57bb4f);}catch{_0x2a15d1(this,_0x2bfb65,_0x54302d,0x190,_0x2f3ff3(0x269));return;}}if(this['options'][_0x2f3ff3(0x270)]){const _0x4e7087={'origin':_0x2bfb65[_0x2f3ff3(0x2a6)][''+(_0x36004a===0x8?_0x2f3ff3(0x234):_0x2f3ff3(0x2b1))],'secure':!!(_0x2bfb65['socket']['authorized']||_0x2bfb65['socket'][_0x2f3ff3(0x183)]),'req':_0x2bfb65};if(this[_0x2f3ff3(0x219)]['verifyClient']['length']===0x2){this['options'][_0x2f3ff3(0x270)](_0x4e7087,(_0x2798d2,_0x4eee02,_0x44e9e5,_0x9047f)=>{if(!_0x2798d2)return _0x52ddcf(_0x54302d,_0x4eee02||0x191,_0x44e9e5,_0x9047f);this['completeUpgrade'](_0x232583,_0x123214,_0xe98418,_0x2bfb65,_0x54302d,_0x538bff,_0x32f076);});return;}if(!this[_0x2f3ff3(0x219)][_0x2f3ff3(0x270)](_0x4e7087))return _0x52ddcf(_0x54302d,0x191);}this[_0x2f3ff3(0x275)](_0x232583,_0x123214,_0xe98418,_0x2bfb65,_0x54302d,_0x538bff,_0x32f076);}['completeUpgrade'](_0x3c230f,_0x54035d,_0x93438c,_0x45cefa,_0x48d59b,_0x420a3e,_0xd0cc87){const _0x231eb4=_0x2f0be9;if(!_0x48d59b[_0x231eb4(0x26a)]||!_0x48d59b[_0x231eb4(0x26b)])return _0x48d59b[_0x231eb4(0x212)]();if(_0x48d59b[_0x347635])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0x231eb4(0x261)]>_0x488a9e)return _0x52ddcf(_0x48d59b,0x1f7);const _0x2d96c5=[_0x231eb4(0x29d),_0x231eb4(0x14b),_0x231eb4(0x1ba),_0x231eb4(0x2cc)+_0x2f958f(_0x231eb4(0x173))[_0x231eb4(0x27b)](_0x54035d+_0x162afd)[_0x231eb4(0x1d3)](_0x231eb4(0x206))],_0x281808=new this[(_0x231eb4(0x219))][(_0x231eb4(0x184))](null,void 0x0,this['options']);if(_0x93438c[_0x231eb4(0x1e2)]){const _0x148897=this['options'][_0x231eb4(0x230)]?this[_0x231eb4(0x219)]['handleProtocols'](_0x93438c,_0x45cefa):_0x93438c['values']()['next']()[_0x231eb4(0x258)];_0x148897&&(_0x2d96c5[_0x231eb4(0x193)](_0x231eb4(0x274)+_0x148897),_0x281808[_0x231eb4(0x18a)]=_0x148897);}if(_0x3c230f[_0x4f51f2[_0x231eb4(0x2c5)]]){const _0xb415af=_0x3c230f[_0x4f51f2[_0x231eb4(0x2c5)]]['params'],_0x96d22d=_0x5ad037[_0x231eb4(0x1c2)]({[_0x4f51f2['extensionName']]:[_0xb415af]});_0x2d96c5[_0x231eb4(0x193)](_0x231eb4(0x16f)+_0x96d22d),_0x281808[_0x231eb4(0x138)]=_0x3c230f;}this[_0x231eb4(0x203)]('headers',_0x2d96c5,_0x45cefa),_0x48d59b[_0x231eb4(0x2bd)](_0x2d96c5['concat']('\x0d\x0a')[_0x231eb4(0x298)]('\x0d\x0a')),_0x48d59b[_0x231eb4(0x189)](_0x231eb4(0x159),_0xaf66bd),_0x281808[_0x231eb4(0x148)](_0x48d59b,_0x420a3e,{'allowSynchronousEvents':this[_0x231eb4(0x219)][_0x231eb4(0x13c)],'maxPayload':this[_0x231eb4(0x219)][_0x231eb4(0x1e8)],'skipUTF8Validation':this[_0x231eb4(0x219)][_0x231eb4(0x2d1)]}),this[_0x231eb4(0x2c7)]&&(this[_0x231eb4(0x2c7)]['add'](_0x281808),_0x281808['on'](_0x231eb4(0x1aa),()=>{const _0x4d3c85=_0x231eb4;this[_0x4d3c85(0x2c7)]['delete'](_0x281808),this[_0x4d3c85(0x25f)]&&!this[_0x4d3c85(0x2c7)][_0x4d3c85(0x1e2)]&&process[_0x4d3c85(0x2a2)](_0x39d8fc,this);})),_0xd0cc87(_0x281808,_0x45cefa);}}Te=_0x297779;function _0x19638c(_0x3b2271,_0x2594df){for(const _0x2bbe99 of Object['keys'](_0x2594df))_0x3b2271['on'](_0x2bbe99,_0x2594df[_0x2bbe99]);return function(){const _0x3685c4=_0x33fa;for(const _0x62fd0 of Object[_0x3685c4(0x149)](_0x2594df))_0x3b2271['removeListener'](_0x62fd0,_0x2594df[_0x62fd0]);};}function _0x39d8fc(_0x1a380d){const _0x31e7ab=_0x2f0be9;_0x1a380d['_state']=_0x311c01,_0x1a380d['emit'](_0x31e7ab(0x1aa));}function _0xaf66bd(){const _0xb07692=_0x2f0be9;this[_0xb07692(0x212)]();}function _0x52ddcf(_0x5aeb52,_0x4277b4,_0x49ec4e,_0x59ed0f){const _0x449a62=_0x2f0be9;_0x49ec4e=_0x49ec4e||_0x1fa536[_0x449a62(0x24d)][_0x4277b4],_0x59ed0f={'Connection':_0x449a62(0x1aa),'Content-Type':_0x449a62(0x1b8),'Content-Length':Buffer[_0x449a62(0x272)](_0x49ec4e),..._0x59ed0f},_0x5aeb52[_0x449a62(0x1b5)]('finish',_0x5aeb52[_0x449a62(0x212)]),_0x5aeb52[_0x449a62(0x1f0)]('HTTP/1.1\x20'+_0x4277b4+'\x20'+_0x1fa536['STATUS_CODES'][_0x4277b4]+'\x0d\x0a'+Object[_0x449a62(0x149)](_0x59ed0f)[_0x449a62(0x1ff)](_0x3edd94=>_0x3edd94+':\x20'+_0x59ed0f[_0x3edd94])[_0x449a62(0x298)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x49ec4e);}function _0x2a15d1(_0x3c0874,_0x25c424,_0x2b6d5f,_0x313705,_0x28547c){const _0x59da40=_0x2f0be9;if(_0x3c0874[_0x59da40(0x207)](_0x59da40(0x253))){const _0x4f87ad=new Error(_0x28547c);Error[_0x59da40(0x158)](_0x4f87ad,_0x2a15d1),_0x3c0874[_0x59da40(0x203)](_0x59da40(0x253),_0x4f87ad,_0x2b6d5f,_0x25c424);}else _0x52ddcf(_0x2b6d5f,_0x313705,_0x28547c);}return Te;}er();var tr=Object['getOwnPropertyDescriptor'],rr=(_0x32fb3e,_0x38a96e,_0x5d053d,_0x11ba73)=>{const _0x7287d8=_0xc592e0;for(var _0x1fd6b7=_0x11ba73>0x1?void 0x0:_0x11ba73?tr(_0x38a96e,_0x5d053d):_0x38a96e,_0x4c73a4=_0x32fb3e[_0x7287d8(0x187)]-0x1,_0x216ca8;_0x4c73a4>=0x0;_0x4c73a4--)(_0x216ca8=_0x32fb3e[_0x4c73a4])&&(_0x1fd6b7=_0x216ca8(_0x1fd6b7)||_0x1fd6b7);return _0x1fd6b7;},sr=(_0x2bcfa3,_0x1a91ae)=>(_0x374833,_0x1fbf0f)=>_0x1a91ae(_0x374833,_0x1fbf0f,_0x2bcfa3);let Ne=class extends _0x372dc6{constructor(_0x46a955){super(),this['_configService']=_0x46a955;}['createSocket'](_0x2784d5){const _0x23bd85=_0xc592e0;var _0xe64c49;const _0xfc665=(_0xe64c49=this[_0x23bd85(0x186)][_0x23bd85(0x2c3)](Be))==null?void 0x0:_0xe64c49['customHeaders'];try{const _0x35fe4d=new Qt(_0x2784d5,{'headers':{..._0xfc665}}),_0x5da97b=new _0x4f61fc();return{'URL':_0x2784d5,'close':(_0x309b0a,_0xf6c724)=>{const _0x2a18ac=_0x23bd85;_0x35fe4d[_0x2a18ac(0x1aa)](_0x309b0a,_0xf6c724),_0x5da97b[_0x2a18ac(0x18c)]();},'send':_0x2fd585=>{_0x35fe4d['send'](_0x2fd585);},'open$':new _0x60adf7(_0x618e7d=>{const _0x284365=_0x23bd85,_0x39929c=_0x45a46c=>_0x618e7d['next'](_0x45a46c);_0x35fe4d[_0x284365(0x246)](_0x284365(0x21a),_0x39929c),_0x5da97b['add'](_0x3635b1(()=>_0x35fe4d[_0x284365(0x297)]('open',_0x39929c)));})[_0x23bd85(0x130)](_0x148dcc()),'close$':new _0x60adf7(_0x53777c=>{const _0xdbafc5=_0x23bd85,_0x9f3b20=_0x524154=>_0x53777c[_0xdbafc5(0x227)](_0x524154);_0x35fe4d[_0xdbafc5(0x246)](_0xdbafc5(0x1aa),_0x9f3b20),_0x5da97b[_0xdbafc5(0x25e)](_0x3635b1(()=>_0x35fe4d['removeEventListener']('close',_0x9f3b20)));})['pipe'](_0x148dcc()),'error$':new _0x60adf7(_0x422888=>{const _0x2449fb=_0x23bd85,_0x4d97fe=_0x442ee0=>_0x422888[_0x2449fb(0x227)](_0x442ee0);_0x35fe4d[_0x2449fb(0x246)]('error',_0x4d97fe),_0x5da97b[_0x2449fb(0x25e)](_0x3635b1(()=>_0x35fe4d['removeEventListener'](_0x2449fb(0x159),_0x4d97fe)));})[_0x23bd85(0x130)](_0x148dcc()),'message$':new _0x60adf7(_0xdd7294=>{const _0x393de2=_0x23bd85,_0x1eea4c=_0x13144c=>_0xdd7294[_0x393de2(0x227)](_0x13144c);_0x35fe4d['addEventListener']('message',_0x1eea4c),_0x5da97b[_0x393de2(0x25e)](_0x3635b1(()=>_0x35fe4d[_0x393de2(0x297)](_0x393de2(0x268),_0x1eea4c)));})[_0x23bd85(0x130)](_0x148dcc())};}catch(_0x3b4a56){return console['error'](_0x3b4a56),null;}}};Ne=rr([sr(0x0,_0xa8ce35)],Ne);var ir=Object[_0xc592e0(0x24e)],nr=Object[_0xc592e0(0x201)],or=(_0x55ac9d,_0x3ba7c9,_0xb6ea38)=>_0x3ba7c9 in _0x55ac9d?ir(_0x55ac9d,_0x3ba7c9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xb6ea38}):_0x55ac9d[_0x3ba7c9]=_0xb6ea38,ar=(_0x29dc6f,_0x512e8f,_0x48a416,_0x2be5e9)=>{for(var _0x5038ae=_0x2be5e9>0x1?void 0x0:_0x2be5e9?nr(_0x512e8f,_0x48a416):_0x512e8f,_0x5cbf49=_0x29dc6f['length']-0x1,_0x937732;_0x5cbf49>=0x0;_0x5cbf49--)(_0x937732=_0x29dc6f[_0x5cbf49])&&(_0x5038ae=_0x937732(_0x5038ae)||_0x5038ae);return _0x5038ae;},ke=(_0x150bec,_0xc2c9e3)=>(_0x3c0c17,_0x25b67f)=>_0xc2c9e3(_0x3c0c17,_0x25b67f,_0x150bec),lr=(_0x2496d3,_0x22f5b1,_0x1792fe)=>or(_0x2496d3,_0x22f5b1+'',_0x1792fe);let Pe=class extends _0xbd7967{constructor(_0x11a02f=Ft,_0x33f31c,_0x31b8ef,_0x7c3258){const _0x43c407=_0xc592e0;_0x11a02f['customHeaders']||_0x33f31c[_0x43c407(0x146)](_0x43c407(0x257)),super(),this[_0x43c407(0x186)]=_0x31b8ef,this[_0x43c407(0x1ac)]=_0x7c3258,this['_configService'][_0x43c407(0x176)](Be,_0x11a02f);}[_0xc592e0(0x213)](){this['_registerDependencies']();}[_0xc592e0(0x2ce)](){_0x4d5543(this['_injector'],[[_0x249bf7,{'useClass':Ne}]]);}};lr(Pe,_0xc592e0(0x22b),_0xc592e0(0x179)),Pe=ar([_0x128f79(_0x56ed27),ke(0x1,_0xfe304b),ke(0x2,_0xa8ce35),ke(0x3,_0xf2788c(_0x50503b))],Pe);var fr=Object[_0xc592e0(0x201)],cr=(_0xfd78fc,_0x2da17b,_0x532f72,_0x505132)=>{const _0x14f01c=_0xc592e0;for(var _0x245742=_0x505132>0x1?void 0x0:_0x505132?fr(_0x2da17b,_0x532f72):_0x2da17b,_0x56b78c=_0xfd78fc[_0x14f01c(0x187)]-0x1,_0x273480;_0x56b78c>=0x0;_0x56b78c--)(_0x273480=_0xfd78fc[_0x56b78c])&&(_0x245742=_0x273480(_0x245742)||_0x245742);return _0x245742;},se=(_0x3b71e9,_0x4bb7b4)=>(_0x10cda8,_0xf7aee0)=>_0x4bb7b4(_0x10cda8,_0xf7aee0,_0x3b71e9);let at=class extends _0x505879{constructor(_0xb0faae,_0x3da5ce,_0x5d67c8,_0x2205ab,_0x39ad82){const _0x4ff66e=_0xc592e0;super(_0xb0faae,_0x3da5ce,_0x5d67c8,_0x2205ab,_0x39ad82);const _0x4afa8b=this[_0x4ff66e(0x186)][_0x4ff66e(0x2c3)](Be);this[_0x4ff66e(0x202)]['registerHTTPInterceptor']({'interceptor':(_0x152122,_0x4e2f49)=>{const _0x4122c4=_0x4ff66e;var _0x989122;const _0x4eb381=_0x152122[_0x4122c4(0x2a6)];return(_0x989122=_0x4afa8b==null?void 0x0:_0x4afa8b[_0x4122c4(0x2bf)])!=null&&_0x989122[_0x4122c4(0x231)]&&_0x4eb381[_0x4122c4(0x229)]('Cookie',_0x4afa8b['customHeaders'][_0x4122c4(0x231)]),_0x4e2f49(_0x152122);}});}async[_0xc592e0(0x26f)](_0x1fc154){const _0x598b00=_0xc592e0;return this[_0x598b00(0x281)](_0x1fc154);}};at=cr([se(0x0,_0xf2788c(_0x50503b)),se(0x1,_0xf2788c(_0x7723dd)),se(0x2,_0xa8ce35),se(0x3,_0xfe304b),se(0x4,_0x1a59b4)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|