@univerjs-pro/collaboration-client-node 0.10.14-nightly.202511031023 → 0.10.14-nightly.202511070628

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0x590544=_0x46c1;(function(_0x37238c,_0x5c9607){const _0x199db6=_0x46c1,_0x52c013=_0x37238c();while(!![]){try{const _0x19859a=-parseInt(_0x199db6(0xc8))/0x1*(-parseInt(_0x199db6(0xfb))/0x2)+-parseInt(_0x199db6(0xb6))/0x3*(-parseInt(_0x199db6(0x18b))/0x4)+-parseInt(_0x199db6(0x1f9))/0x5+-parseInt(_0x199db6(0x1ac))/0x6*(-parseInt(_0x199db6(0x24e))/0x7)+-parseInt(_0x199db6(0x13c))/0x8*(parseInt(_0x199db6(0x187))/0x9)+-parseInt(_0x199db6(0xa9))/0xa+parseInt(_0x199db6(0x12c))/0xb;if(_0x19859a===_0x5c9607)break;else _0x52c013['push'](_0x52c013['shift']());}catch(_0x300a58){_0x52c013['push'](_0x52c013['shift']());}}}(_0x2cc8,0x87f99));import{UniverCollaborationClientPlugin as _0x11d49f,CollaborationSocketService as _0x304c33}from'@univerjs-pro/collaboration-client';import{Disposable as _0x88945f,DisposableCollection as _0x87a053,toDisposable as _0xb0d205,IConfigService as _0x23217f,DependentOn as _0x49036c,ILogService as _0x196acb,Inject as _0x39614b,Injector as _0x9ecde9,Plugin as _0x31c31f,registerDependencies as _0x1cc441}from'@univerjs/core';import{ISocketService as _0x268330,HTTPService as _0x1d8036}from'@univerjs/network';import{Observable as _0xebd9c5,share as _0x552059}from'rxjs';import _0x131ed8 from'events';function _0x46c1(_0x542989,_0x13a899){const _0x2cc82e=_0x2cc8();return _0x46c1=function(_0x46c1c1,_0x52d49b){_0x46c1c1=_0x46c1c1-0xa8;let _0x3f45ff=_0x2cc82e[_0x46c1c1];return _0x3f45ff;},_0x46c1(_0x542989,_0x13a899);}import _0x3ea370 from'https';import _0x47864f from'http';import _0x222bf3 from'net';import _0x5344a2 from'tls';import _0x6c23ef from'crypto';import _0x540fef from'stream';import _0x172cd9 from'url';import _0x3bfd30 from'zlib';import _0xa466c6 from'buffer';import{ISnapshotServerService as _0x5a0593}from'@univerjs-pro/collaboration';const Be=_0x590544(0x1c3),Ft={'customHeaders':{}};function Wt(_0xef8a48){const _0x155927=_0x590544;return _0xef8a48&&_0xef8a48['__esModule']&&Object[_0x155927(0x216)][_0x155927(0x23f)][_0x155927(0x12b)](_0xef8a48,_0x155927(0x1a3))?_0xef8a48[_0x155927(0x1a3)]:_0xef8a48;}function ut(_0x2f2f1c){const _0x1dcd67=_0x590544;if(Object[_0x1dcd67(0x216)][_0x1dcd67(0x23f)][_0x1dcd67(0x12b)](_0x2f2f1c,_0x1dcd67(0x121)))return _0x2f2f1c;var _0x306b76=_0x2f2f1c[_0x1dcd67(0x1a3)];if(typeof _0x306b76==_0x1dcd67(0x1ca)){var _0x3ea14f=function _0x3b3c10(){const _0x2a0476=_0x1dcd67;var _0xc6e031=!0x1;try{_0xc6e031=this instanceof _0x3b3c10;}catch{}return _0xc6e031?Reflect[_0x2a0476(0x104)](_0x306b76,arguments,this[_0x2a0476(0xaa)]):_0x306b76['apply'](this,arguments);};_0x3ea14f['prototype']=_0x306b76[_0x1dcd67(0x216)];}else _0x3ea14f={};return Object[_0x1dcd67(0xfc)](_0x3ea14f,_0x1dcd67(0x121),{'value':!0x0}),Object[_0x1dcd67(0x192)](_0x2f2f1c)[_0x1dcd67(0x1d6)](function(_0x2448f8){const _0x585789=_0x1dcd67;var _0x4efdb2=Object[_0x585789(0xed)](_0x2f2f1c,_0x2448f8);Object[_0x585789(0xfc)](_0x3ea14f,_0x2448f8,_0x4efdb2['get']?_0x4efdb2:{'enumerable':!0x0,'get':function(){return _0x2f2f1c[_0x2448f8];}});}),_0x3ea14f;}var te={'exports':{}},ge,Ye;function V(){const _0x2d0dea=_0x590544;if(Ye)return ge;Ye=0x1;const _0x578968=[_0x2d0dea(0x1ed),'arraybuffer','fragments'],_0x2522d1=typeof Blob<'u';return _0x2522d1&&_0x578968[_0x2d0dea(0x1bc)](_0x2d0dea(0x21f)),ge={'BINARY_TYPES':_0x578968,'EMPTY_BUFFER':Buffer[_0x2d0dea(0x208)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x2522d1,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x2d0dea(0x1d0)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const jt={},Gt=Object['freeze'](Object[_0x590544(0xfc)]({'__proto__':null,'default':jt},Symbol[_0x590544(0x1ee)],{'value':_0x590544(0x256)})),Vt=ut(Gt);var Ke;function ce(){const _0x34f977=_0x590544;if(Ke)return te[_0x34f977(0x13f)];Ke=0x1;const {EMPTY_BUFFER:_0x2d5c18}=V(),_0x6e0fdf=Buffer[Symbol[_0x34f977(0x16f)]];function _0x2f0bb2(_0x3d727f,_0x393b84){const _0x20891a=_0x34f977;if(_0x3d727f[_0x20891a(0x111)]===0x0)return _0x2d5c18;if(_0x3d727f['length']===0x1)return _0x3d727f[0x0];const _0x2f2a5a=Buffer[_0x20891a(0x13a)](_0x393b84);let _0x364dbc=0x0;for(let _0x25a375=0x0;_0x25a375<_0x3d727f[_0x20891a(0x111)];_0x25a375++){const _0x1e2623=_0x3d727f[_0x25a375];_0x2f2a5a['set'](_0x1e2623,_0x364dbc),_0x364dbc+=_0x1e2623[_0x20891a(0x111)];}return _0x364dbc<_0x393b84?new _0x6e0fdf(_0x2f2a5a[_0x20891a(0x1aa)],_0x2f2a5a[_0x20891a(0x250)],_0x364dbc):_0x2f2a5a;}function _0x441353(_0x408b28,_0x1082a6,_0x3a7ac1,_0x2c2b2f,_0x34d981){for(let _0x5df4f2=0x0;_0x5df4f2<_0x34d981;_0x5df4f2++)_0x3a7ac1[_0x2c2b2f+_0x5df4f2]=_0x408b28[_0x5df4f2]^_0x1082a6[_0x5df4f2&0x3];}function _0x53d7a1(_0x314824,_0x4aba48){const _0x33e826=_0x34f977;for(let _0x4dc9ce=0x0;_0x4dc9ce<_0x314824[_0x33e826(0x111)];_0x4dc9ce++)_0x314824[_0x4dc9ce]^=_0x4aba48[_0x4dc9ce&0x3];}function _0x99c2ec(_0x14f6c6){const _0x4bc99e=_0x34f977;return _0x14f6c6[_0x4bc99e(0x111)]===_0x14f6c6[_0x4bc99e(0x1aa)][_0x4bc99e(0x225)]?_0x14f6c6[_0x4bc99e(0x1aa)]:_0x14f6c6['buffer']['slice'](_0x14f6c6[_0x4bc99e(0x250)],_0x14f6c6[_0x4bc99e(0x250)]+_0x14f6c6[_0x4bc99e(0x111)]);}function _0xa0e462(_0x5248f3){const _0x34bfd2=_0x34f977;if(_0xa0e462[_0x34bfd2(0xcf)]=!0x0,Buffer[_0x34bfd2(0x23a)](_0x5248f3))return _0x5248f3;let _0xec6dfb;return _0x5248f3 instanceof ArrayBuffer?_0xec6dfb=new _0x6e0fdf(_0x5248f3):ArrayBuffer['isView'](_0x5248f3)?_0xec6dfb=new _0x6e0fdf(_0x5248f3[_0x34bfd2(0x1aa)],_0x5248f3[_0x34bfd2(0x250)],_0x5248f3[_0x34bfd2(0x225)]):(_0xec6dfb=Buffer['from'](_0x5248f3),_0xa0e462['readOnly']=!0x1),_0xec6dfb;}if(te[_0x34f977(0x13f)]={'concat':_0x2f0bb2,'mask':_0x441353,'toArrayBuffer':_0x99c2ec,'toBuffer':_0xa0e462,'unmask':_0x53d7a1},!process['env'][_0x34f977(0x18a)])try{const _0x2db821=Vt;te[_0x34f977(0x13f)][_0x34f977(0x223)]=function(_0x73d664,_0x3ef37e,_0x24e3ea,_0x3b9490,_0x4b64dd){const _0x1b4dde=_0x34f977;_0x4b64dd<0x30?_0x441353(_0x73d664,_0x3ef37e,_0x24e3ea,_0x3b9490,_0x4b64dd):_0x2db821[_0x1b4dde(0x223)](_0x73d664,_0x3ef37e,_0x24e3ea,_0x3b9490,_0x4b64dd);},te[_0x34f977(0x13f)][_0x34f977(0x22d)]=function(_0x39d4de,_0x5303ad){const _0xcf87e2=_0x34f977;_0x39d4de[_0xcf87e2(0x111)]<0x20?_0x53d7a1(_0x39d4de,_0x5303ad):_0x2db821['unmask'](_0x39d4de,_0x5303ad);};}catch{}return te['exports'];}var ye,Xe;function qt(){const _0x4306fa=_0x590544;if(Xe)return ye;Xe=0x1;const _0x3e49b1=Symbol(_0x4306fa(0xde)),_0x47fb05=Symbol(_0x4306fa(0x226));class _0x3fbb47{constructor(_0x4e93ae){const _0x10d1a0=_0x4306fa;this[_0x3e49b1]=()=>{const _0x275797=_0x46c1;this[_0x275797(0xad)]--,this[_0x47fb05]();},this[_0x10d1a0(0x11d)]=_0x4e93ae||0x1/0x0,this[_0x10d1a0(0xcc)]=[],this[_0x10d1a0(0xad)]=0x0;}[_0x4306fa(0xdf)](_0x774c08){const _0x214092=_0x4306fa;this[_0x214092(0xcc)][_0x214092(0x1bc)](_0x774c08),this[_0x47fb05]();}[_0x47fb05](){const _0x3fe87a=_0x4306fa;if(this[_0x3fe87a(0xad)]!==this[_0x3fe87a(0x11d)]&&this['jobs'][_0x3fe87a(0x111)]){const _0x48e587=this[_0x3fe87a(0xcc)][_0x3fe87a(0x1d2)]();this[_0x3fe87a(0xad)]++,_0x48e587(this[_0x3e49b1]);}}}return ye=_0x3fbb47,ye;}var ve,Ze;function he(){const _0x38b271=_0x590544;if(Ze)return ve;Ze=0x1;const _0xc97010=_0x3bfd30,_0x4f6c75=ce(),_0x3af0bc=qt(),{kStatusCode:_0x2aadb3}=V(),_0x52f35=Buffer[Symbol['species']],_0xbcac7e=Buffer[_0x38b271(0xc5)]([0x0,0x0,0xff,0xff]),_0xa4ad5e=Symbol('permessage-deflate'),_0xf99454=Symbol(_0x38b271(0x259)),_0x3d383b=Symbol('callback'),_0x3fde5f=Symbol(_0x38b271(0xb4)),_0x214afb=Symbol('error');let _0x1012e8;class _0x2c5378{constructor(_0x140669,_0x207e8d,_0x3e06b6){const _0x4b651f=_0x38b271;if(this['_maxPayload']=_0x3e06b6|0x0,this[_0x4b651f(0x190)]=_0x140669||{},this[_0x4b651f(0x20d)]=this[_0x4b651f(0x190)]['threshold']!==void 0x0?this['_options'][_0x4b651f(0xd7)]:0x400,this['_isServer']=!!_0x207e8d,this['_deflate']=null,this[_0x4b651f(0x215)]=null,this[_0x4b651f(0x18d)]=null,!_0x1012e8){const _0x6bee01=this[_0x4b651f(0x190)][_0x4b651f(0x1b6)]!==void 0x0?this['_options']['concurrencyLimit']:0xa;_0x1012e8=new _0x3af0bc(_0x6bee01);}}static get[_0x38b271(0x137)](){return'permessage-deflate';}[_0x38b271(0x13d)](){const _0x5d9785=_0x38b271,_0x5835ff={};return this[_0x5d9785(0x190)][_0x5d9785(0x21a)]&&(_0x5835ff[_0x5d9785(0x218)]=!0x0),this[_0x5d9785(0x190)][_0x5d9785(0x1c1)]&&(_0x5835ff['client_no_context_takeover']=!0x0),this[_0x5d9785(0x190)][_0x5d9785(0xdc)]&&(_0x5835ff['server_max_window_bits']=this[_0x5d9785(0x190)]['serverMaxWindowBits']),this[_0x5d9785(0x190)][_0x5d9785(0x1fb)]?_0x5835ff[_0x5d9785(0x205)]=this[_0x5d9785(0x190)][_0x5d9785(0x1fb)]:this[_0x5d9785(0x190)][_0x5d9785(0x1fb)]==null&&(_0x5835ff[_0x5d9785(0x205)]=!0x0),_0x5835ff;}['accept'](_0x3dad65){const _0x2d1f35=_0x38b271;return _0x3dad65=this[_0x2d1f35(0x21b)](_0x3dad65),this['params']=this[_0x2d1f35(0xd3)]?this['acceptAsServer'](_0x3dad65):this[_0x2d1f35(0xd2)](_0x3dad65),this['params'];}[_0x38b271(0x15c)](){const _0x59e75f=_0x38b271;if(this[_0x59e75f(0x215)]&&(this[_0x59e75f(0x215)][_0x59e75f(0x199)](),this[_0x59e75f(0x215)]=null),this[_0x59e75f(0x11f)]){const _0x398bda=this['_deflate'][_0x3d383b];this['_deflate'][_0x59e75f(0x199)](),this['_deflate']=null,_0x398bda&&_0x398bda(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}['acceptAsServer'](_0xca73ec){const _0x5391a9=_0x38b271,_0x265736=this['_options'],_0x9f1f5a=_0xca73ec[_0x5391a9(0x24f)](_0x5480ff=>!(_0x265736[_0x5391a9(0x21a)]===!0x1&&_0x5480ff['server_no_context_takeover']||_0x5480ff['server_max_window_bits']&&(_0x265736['serverMaxWindowBits']===!0x1||typeof _0x265736['serverMaxWindowBits']=='number'&&_0x265736[_0x5391a9(0xdc)]>_0x5480ff[_0x5391a9(0x22c)])||typeof _0x265736[_0x5391a9(0x1fb)]==_0x5391a9(0x25a)&&!_0x5480ff['client_max_window_bits']));if(!_0x9f1f5a)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x265736[_0x5391a9(0x21a)]&&(_0x9f1f5a['server_no_context_takeover']=!0x0),_0x265736[_0x5391a9(0x1c1)]&&(_0x9f1f5a[_0x5391a9(0xd8)]=!0x0),typeof _0x265736[_0x5391a9(0xdc)]==_0x5391a9(0x25a)&&(_0x9f1f5a[_0x5391a9(0x22c)]=_0x265736[_0x5391a9(0xdc)]),typeof _0x265736[_0x5391a9(0x1fb)]==_0x5391a9(0x25a)?_0x9f1f5a[_0x5391a9(0x205)]=_0x265736['clientMaxWindowBits']:(_0x9f1f5a[_0x5391a9(0x205)]===!0x0||_0x265736[_0x5391a9(0x1fb)]===!0x1)&&delete _0x9f1f5a['client_max_window_bits'],_0x9f1f5a;}[_0x38b271(0xd2)](_0x4b2448){const _0x5e8f1e=_0x38b271,_0x1fdd2d=_0x4b2448[0x0];if(this['_options'][_0x5e8f1e(0x1c1)]===!0x1&&_0x1fdd2d[_0x5e8f1e(0xd8)])throw new Error(_0x5e8f1e(0x113));if(!_0x1fdd2d[_0x5e8f1e(0x205)])typeof this[_0x5e8f1e(0x190)][_0x5e8f1e(0x1fb)]==_0x5e8f1e(0x25a)&&(_0x1fdd2d['client_max_window_bits']=this[_0x5e8f1e(0x190)][_0x5e8f1e(0x1fb)]);else{if(this['_options'][_0x5e8f1e(0x1fb)]===!0x1||typeof this[_0x5e8f1e(0x190)][_0x5e8f1e(0x1fb)]=='number'&&_0x1fdd2d['client_max_window_bits']>this[_0x5e8f1e(0x190)][_0x5e8f1e(0x1fb)])throw new Error(_0x5e8f1e(0xab));}return _0x1fdd2d;}[_0x38b271(0x21b)](_0x2b440e){const _0x1e421f=_0x38b271;return _0x2b440e[_0x1e421f(0x1d6)](_0x1c1ebf=>{const _0x20c941=_0x1e421f;Object[_0x20c941(0x192)](_0x1c1ebf)[_0x20c941(0x1d6)](_0x1b0e73=>{const _0x4ec55a=_0x20c941;let _0x33e93e=_0x1c1ebf[_0x1b0e73];if(_0x33e93e[_0x4ec55a(0x111)]>0x1)throw new Error(_0x4ec55a(0xe5)+_0x1b0e73+_0x4ec55a(0x1d9));if(_0x33e93e=_0x33e93e[0x0],_0x1b0e73===_0x4ec55a(0x205)){if(_0x33e93e!==!0x0){const _0x5b5211=+_0x33e93e;if(!Number[_0x4ec55a(0x214)](_0x5b5211)||_0x5b5211<0x8||_0x5b5211>0xf)throw new TypeError(_0x4ec55a(0xe7)+_0x1b0e73+'\x22:\x20'+_0x33e93e);_0x33e93e=_0x5b5211;}else{if(!this['_isServer'])throw new TypeError(_0x4ec55a(0xe7)+_0x1b0e73+_0x4ec55a(0x21e)+_0x33e93e);}}else{if(_0x1b0e73===_0x4ec55a(0x22c)){const _0x340ee0=+_0x33e93e;if(!Number[_0x4ec55a(0x214)](_0x340ee0)||_0x340ee0<0x8||_0x340ee0>0xf)throw new TypeError(_0x4ec55a(0xe7)+_0x1b0e73+_0x4ec55a(0x21e)+_0x33e93e);_0x33e93e=_0x340ee0;}else{if(_0x1b0e73==='client_no_context_takeover'||_0x1b0e73===_0x4ec55a(0x218)){if(_0x33e93e!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x1b0e73+_0x4ec55a(0x21e)+_0x33e93e);}else throw new Error(_0x4ec55a(0x21c)+_0x1b0e73+'\x22');}}_0x1c1ebf[_0x1b0e73]=_0x33e93e;});}),_0x2b440e;}['decompress'](_0x336f1f,_0x22e596,_0x1010da){_0x1012e8['add'](_0x3daf23=>{const _0x32d571=_0x46c1;this[_0x32d571(0x1f7)](_0x336f1f,_0x22e596,(_0x596397,_0x45c583)=>{_0x3daf23(),_0x1010da(_0x596397,_0x45c583);});});}['compress'](_0xa83dd8,_0x347d84,_0x5f1d10){const _0x358ec8=_0x38b271;_0x1012e8[_0x358ec8(0xdf)](_0x5b85d6=>{const _0x1a3971=_0x358ec8;this[_0x1a3971(0x19f)](_0xa83dd8,_0x347d84,(_0x3d1792,_0x59403e)=>{_0x5b85d6(),_0x5f1d10(_0x3d1792,_0x59403e);});});}[_0x38b271(0x1f7)](_0x4fa02,_0x4834cb,_0x24bb47){const _0x56c439=_0x38b271,_0x4e99f3=this[_0x56c439(0xd3)]?_0x56c439(0x197):'server';if(!this[_0x56c439(0x215)]){const _0x597ea5=_0x4e99f3+_0x56c439(0x23e),_0x572787=typeof this[_0x56c439(0x18d)][_0x597ea5]!=_0x56c439(0x25a)?_0xc97010[_0x56c439(0x14c)]:this[_0x56c439(0x18d)][_0x597ea5];this[_0x56c439(0x215)]=_0xc97010['createInflateRaw']({...this['_options'][_0x56c439(0x10b)],'windowBits':_0x572787}),this[_0x56c439(0x215)][_0xa4ad5e]=this,this[_0x56c439(0x215)][_0xf99454]=0x0,this['_inflate'][_0x3fde5f]=[],this[_0x56c439(0x215)]['on'](_0x56c439(0x232),_0x52e7b3),this[_0x56c439(0x215)]['on']('data',_0x23b089);}this[_0x56c439(0x215)][_0x3d383b]=_0x24bb47,this['_inflate'][_0x56c439(0x1d7)](_0x4fa02),_0x4834cb&&this[_0x56c439(0x215)][_0x56c439(0x1d7)](_0xbcac7e),this[_0x56c439(0x215)][_0x56c439(0xf8)](()=>{const _0x45f267=_0x56c439,_0x275720=this[_0x45f267(0x215)][_0x214afb];if(_0x275720){this[_0x45f267(0x215)][_0x45f267(0x199)](),this[_0x45f267(0x215)]=null,_0x24bb47(_0x275720);return;}const _0x425fb4=_0x4f6c75[_0x45f267(0x249)](this[_0x45f267(0x215)][_0x3fde5f],this['_inflate'][_0xf99454]);this[_0x45f267(0x215)][_0x45f267(0x1fe)]['endEmitted']?(this[_0x45f267(0x215)][_0x45f267(0x199)](),this[_0x45f267(0x215)]=null):(this[_0x45f267(0x215)][_0xf99454]=0x0,this[_0x45f267(0x215)][_0x3fde5f]=[],_0x4834cb&&this['params'][_0x4e99f3+'_no_context_takeover']&&this[_0x45f267(0x215)][_0x45f267(0x22f)]()),_0x24bb47(null,_0x425fb4);});}[_0x38b271(0x19f)](_0x5b003a,_0x2eee2b,_0x184e39){const _0x5bd8db=_0x38b271,_0x31ae48=this['_isServer']?_0x5bd8db(0x136):_0x5bd8db(0x197);if(!this['_deflate']){const _0x58a8a9=_0x31ae48+_0x5bd8db(0x23e),_0x5320bb=typeof this[_0x5bd8db(0x18d)][_0x58a8a9]!=_0x5bd8db(0x25a)?_0xc97010[_0x5bd8db(0x14c)]:this[_0x5bd8db(0x18d)][_0x58a8a9];this[_0x5bd8db(0x11f)]=_0xc97010[_0x5bd8db(0xc7)]({...this[_0x5bd8db(0x190)][_0x5bd8db(0x1cd)],'windowBits':_0x5320bb}),this[_0x5bd8db(0x11f)][_0xf99454]=0x0,this[_0x5bd8db(0x11f)][_0x3fde5f]=[],this[_0x5bd8db(0x11f)]['on'](_0x5bd8db(0x174),_0x28d2a5);}this['_deflate'][_0x3d383b]=_0x184e39,this[_0x5bd8db(0x11f)][_0x5bd8db(0x1d7)](_0x5b003a),this[_0x5bd8db(0x11f)]['flush'](_0xc97010['Z_SYNC_FLUSH'],()=>{const _0x4b5427=_0x5bd8db;if(!this[_0x4b5427(0x11f)])return;let _0x57879c=_0x4f6c75[_0x4b5427(0x249)](this[_0x4b5427(0x11f)][_0x3fde5f],this[_0x4b5427(0x11f)][_0xf99454]);_0x2eee2b&&(_0x57879c=new _0x52f35(_0x57879c[_0x4b5427(0x1aa)],_0x57879c['byteOffset'],_0x57879c[_0x4b5427(0x111)]-0x4)),this[_0x4b5427(0x11f)][_0x3d383b]=null,this[_0x4b5427(0x11f)][_0xf99454]=0x0,this[_0x4b5427(0x11f)][_0x3fde5f]=[],_0x2eee2b&&this[_0x4b5427(0x18d)][_0x31ae48+_0x4b5427(0xef)]&&this['_deflate'][_0x4b5427(0x22f)](),_0x184e39(null,_0x57879c);});}}ve=_0x2c5378;function _0x28d2a5(_0x3fe79c){const _0x2b4968=_0x38b271;this[_0x3fde5f][_0x2b4968(0x1bc)](_0x3fe79c),this[_0xf99454]+=_0x3fe79c[_0x2b4968(0x111)];}function _0x23b089(_0x2ad4bd){const _0x1ca673=_0x38b271;if(this[_0xf99454]+=_0x2ad4bd['length'],this[_0xa4ad5e]['_maxPayload']<0x1||this[_0xf99454]<=this[_0xa4ad5e][_0x1ca673(0x11c)]){this[_0x3fde5f][_0x1ca673(0x1bc)](_0x2ad4bd);return;}this[_0x214afb]=new RangeError(_0x1ca673(0x1da)),this[_0x214afb][_0x1ca673(0xb3)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x214afb][_0x2aadb3]=0x3f1,this[_0x1ca673(0x15f)]('data',_0x23b089),this[_0x1ca673(0x22f)]();}function _0x52e7b3(_0x4763fc){if(this[_0xa4ad5e]['_inflate']=null,this[_0x214afb]){this[_0x3d383b](this[_0x214afb]);return;}_0x4763fc[_0x2aadb3]=0x3ef,this[_0x3d383b](_0x4763fc);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x590544(0x140)](Object[_0x590544(0xfc)]({'__proto__':null,'default':Ht},Symbol[_0x590544(0x1ee)],{'value':_0x590544(0x256)})),Yt=ut(zt);var Qe;function ne(){const _0x3fd656=_0x590544;if(Qe)return re[_0x3fd656(0x13f)];Qe=0x1;const {isUtf8:_0x2785f7}=_0xa466c6,{hasBlob:_0x28f2f7}=V(),_0x1f24fe=[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 _0x21237e(_0x2f3a60){return _0x2f3a60>=0x3e8&&_0x2f3a60<=0x3f6&&_0x2f3a60!==0x3ec&&_0x2f3a60!==0x3ed&&_0x2f3a60!==0x3ee||_0x2f3a60>=0xbb8&&_0x2f3a60<=0x1387;}function _0x154aac(_0x4ad8eb){const _0x3dd982=_0x3fd656,_0x3ce77e=_0x4ad8eb[_0x3dd982(0x111)];let _0x22d99=0x0;for(;_0x22d99<_0x3ce77e;)if((_0x4ad8eb[_0x22d99]&0x80)===0x0)_0x22d99++;else{if((_0x4ad8eb[_0x22d99]&0xe0)===0xc0){if(_0x22d99+0x1===_0x3ce77e||(_0x4ad8eb[_0x22d99+0x1]&0xc0)!==0x80||(_0x4ad8eb[_0x22d99]&0xfe)===0xc0)return!0x1;_0x22d99+=0x2;}else{if((_0x4ad8eb[_0x22d99]&0xf0)===0xe0){if(_0x22d99+0x2>=_0x3ce77e||(_0x4ad8eb[_0x22d99+0x1]&0xc0)!==0x80||(_0x4ad8eb[_0x22d99+0x2]&0xc0)!==0x80||_0x4ad8eb[_0x22d99]===0xe0&&(_0x4ad8eb[_0x22d99+0x1]&0xe0)===0x80||_0x4ad8eb[_0x22d99]===0xed&&(_0x4ad8eb[_0x22d99+0x1]&0xe0)===0xa0)return!0x1;_0x22d99+=0x3;}else{if((_0x4ad8eb[_0x22d99]&0xf8)===0xf0){if(_0x22d99+0x3>=_0x3ce77e||(_0x4ad8eb[_0x22d99+0x1]&0xc0)!==0x80||(_0x4ad8eb[_0x22d99+0x2]&0xc0)!==0x80||(_0x4ad8eb[_0x22d99+0x3]&0xc0)!==0x80||_0x4ad8eb[_0x22d99]===0xf0&&(_0x4ad8eb[_0x22d99+0x1]&0xf0)===0x80||_0x4ad8eb[_0x22d99]===0xf4&&_0x4ad8eb[_0x22d99+0x1]>0x8f||_0x4ad8eb[_0x22d99]>0xf4)return!0x1;_0x22d99+=0x4;}else return!0x1;}}}return!0x0;}function _0x1aac19(_0x416bf9){const _0x42bafe=_0x3fd656;return _0x28f2f7&&typeof _0x416bf9==_0x42bafe(0x186)&&typeof _0x416bf9[_0x42bafe(0xc0)]=='function'&&typeof _0x416bf9['type']==_0x42bafe(0x10f)&&typeof _0x416bf9[_0x42bafe(0x182)]==_0x42bafe(0x1ca)&&(_0x416bf9[Symbol[_0x42bafe(0x1ee)]]===_0x42bafe(0xe8)||_0x416bf9[Symbol[_0x42bafe(0x1ee)]]===_0x42bafe(0x1be));}if(re['exports']={'isBlob':_0x1aac19,'isValidStatusCode':_0x21237e,'isValidUTF8':_0x154aac,'tokenChars':_0x1f24fe},_0x2785f7)re[_0x3fd656(0x13f)][_0x3fd656(0x1e8)]=function(_0x29d2c3){const _0x332e3a=_0x3fd656;return _0x29d2c3[_0x332e3a(0x111)]<0x18?_0x154aac(_0x29d2c3):_0x2785f7(_0x29d2c3);};else{if(!process[_0x3fd656(0xd5)]['WS_NO_UTF_8_VALIDATE'])try{const _0x1644cf=Yt;re['exports'][_0x3fd656(0x1e8)]=function(_0x1e3d3e){const _0x39fc71=_0x3fd656;return _0x1e3d3e[_0x39fc71(0x111)]<0x20?_0x154aac(_0x1e3d3e):_0x1644cf(_0x1e3d3e);};}catch{}}return re['exports'];}var Se,Je;function dt(){const _0x5542f7=_0x590544;if(Je)return Se;Je=0x1;const {Writable:_0x580a0c}=_0x540fef,_0x35cce9=he(),{BINARY_TYPES:_0x49e6f7,EMPTY_BUFFER:_0x433e08,kStatusCode:_0x3a9dc3,kWebSocket:_0x570210}=V(),{concat:_0x3c4386,toArrayBuffer:_0x20df53,unmask:_0x2a4282}=ce(),{isValidStatusCode:_0x3ec6a7,isValidUTF8:_0x1fc0ab}=ne(),_0x3d9fb3=Buffer[Symbol[_0x5542f7(0x16f)]],_0x382fbc=0x0,_0x3de61f=0x1,_0x5384d8=0x2,_0x27da5f=0x3,_0x5dd885=0x4,_0x442879=0x5,_0x3fedbf=0x6;class _0x4a468f extends _0x580a0c{constructor(_0x3f9cc0={}){const _0x214882=_0x5542f7;super(),this[_0x214882(0x247)]=_0x3f9cc0['allowSynchronousEvents']!==void 0x0?_0x3f9cc0[_0x214882(0x24c)]:!0x0,this[_0x214882(0x16a)]=_0x3f9cc0[_0x214882(0xf5)]||_0x49e6f7[0x0],this[_0x214882(0x222)]=_0x3f9cc0[_0x214882(0x251)]||{},this[_0x214882(0xd3)]=!!_0x3f9cc0[_0x214882(0x1a4)],this['_maxPayload']=_0x3f9cc0[_0x214882(0x1ba)]|0x0,this['_skipUTF8Validation']=!!_0x3f9cc0[_0x214882(0x1e0)],this[_0x570210]=void 0x0,this['_bufferedBytes']=0x0,this[_0x214882(0x189)]=[],this['_compressed']=!0x1,this['_payloadLength']=0x0,this[_0x214882(0x1d1)]=void 0x0,this[_0x214882(0x18f)]=0x0,this[_0x214882(0x203)]=!0x1,this['_fin']=!0x1,this[_0x214882(0x1b4)]=0x0,this[_0x214882(0x20e)]=0x0,this[_0x214882(0xb5)]=0x0,this['_fragments']=[],this[_0x214882(0x244)]=!0x1,this[_0x214882(0x235)]=!0x1,this[_0x214882(0x142)]=_0x382fbc;}[_0x5542f7(0xc2)](_0x7171b3,_0x100941,_0x58e16e){const _0x5b4439=_0x5542f7;if(this['_opcode']===0x8&&this[_0x5b4439(0x142)]==_0x382fbc)return _0x58e16e();this[_0x5b4439(0xf3)]+=_0x7171b3[_0x5b4439(0x111)],this['_buffers'][_0x5b4439(0x1bc)](_0x7171b3),this[_0x5b4439(0x130)](_0x58e16e);}[_0x5542f7(0xb2)](_0x273fda){const _0x9ce241=_0x5542f7;if(this['_bufferedBytes']-=_0x273fda,_0x273fda===this['_buffers'][0x0]['length'])return this['_buffers'][_0x9ce241(0x1d2)]();if(_0x273fda<this['_buffers'][0x0][_0x9ce241(0x111)]){const _0x304609=this['_buffers'][0x0];return this['_buffers'][0x0]=new _0x3d9fb3(_0x304609[_0x9ce241(0x1aa)],_0x304609[_0x9ce241(0x250)]+_0x273fda,_0x304609['length']-_0x273fda),new _0x3d9fb3(_0x304609[_0x9ce241(0x1aa)],_0x304609[_0x9ce241(0x250)],_0x273fda);}const _0x48e392=Buffer[_0x9ce241(0x13a)](_0x273fda);do{const _0x5e7aa2=this['_buffers'][0x0],_0x46bc6b=_0x48e392[_0x9ce241(0x111)]-_0x273fda;_0x273fda>=_0x5e7aa2[_0x9ce241(0x111)]?_0x48e392[_0x9ce241(0x248)](this[_0x9ce241(0x189)][_0x9ce241(0x1d2)](),_0x46bc6b):(_0x48e392[_0x9ce241(0x248)](new Uint8Array(_0x5e7aa2['buffer'],_0x5e7aa2['byteOffset'],_0x273fda),_0x46bc6b),this[_0x9ce241(0x189)][0x0]=new _0x3d9fb3(_0x5e7aa2[_0x9ce241(0x1aa)],_0x5e7aa2[_0x9ce241(0x250)]+_0x273fda,_0x5e7aa2[_0x9ce241(0x111)]-_0x273fda)),_0x273fda-=_0x5e7aa2['length'];}while(_0x273fda>0x0);return _0x48e392;}[_0x5542f7(0x130)](_0x4f7193){const _0x4a37d5=_0x5542f7;this[_0x4a37d5(0x235)]=!0x0;do switch(this['_state']){case _0x382fbc:this[_0x4a37d5(0x1dc)](_0x4f7193);break;case _0x3de61f:this[_0x4a37d5(0x1fc)](_0x4f7193);break;case _0x5384d8:this[_0x4a37d5(0x1b8)](_0x4f7193);break;case _0x27da5f:this[_0x4a37d5(0x1df)]();break;case _0x5dd885:this[_0x4a37d5(0x202)](_0x4f7193);break;case _0x442879:case _0x3fedbf:this[_0x4a37d5(0x235)]=!0x1;return;}while(this['_loop']);this[_0x4a37d5(0x244)]||_0x4f7193();}[_0x5542f7(0x1dc)](_0x3b2c57){const _0x37df1a=_0x5542f7;if(this['_bufferedBytes']<0x2){this[_0x37df1a(0x235)]=!0x1;return;}const _0x403d4a=this[_0x37df1a(0xb2)](0x2);if((_0x403d4a[0x0]&0x30)!==0x0){const _0x264f71=this[_0x37df1a(0xd1)](RangeError,_0x37df1a(0x152),!0x0,0x3ea,_0x37df1a(0x10e));_0x3b2c57(_0x264f71);return;}const _0x4a967e=(_0x403d4a[0x0]&0x40)===0x40;if(_0x4a967e&&!this[_0x37df1a(0x222)][_0x35cce9[_0x37df1a(0x137)]]){const _0x4eedb7=this[_0x37df1a(0xd1)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x37df1a(0x19e));_0x3b2c57(_0x4eedb7);return;}if(this[_0x37df1a(0xc6)]=(_0x403d4a[0x0]&0x80)===0x80,this[_0x37df1a(0x1b4)]=_0x403d4a[0x0]&0xf,this[_0x37df1a(0x1ec)]=_0x403d4a[0x1]&0x7f,this['_opcode']===0x0){if(_0x4a967e){const _0x5c5618=this[_0x37df1a(0xd1)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x37df1a(0x19e));_0x3b2c57(_0x5c5618);return;}if(!this[_0x37df1a(0x18f)]){const _0x5cb650=this[_0x37df1a(0xd1)](RangeError,_0x37df1a(0x224),!0x0,0x3ea,_0x37df1a(0x213));_0x3b2c57(_0x5cb650);return;}this['_opcode']=this[_0x37df1a(0x18f)];}else{if(this['_opcode']===0x1||this[_0x37df1a(0x1b4)]===0x2){if(this['_fragmented']){const _0x29819e=this['createError'](RangeError,_0x37df1a(0x175)+this[_0x37df1a(0x1b4)],!0x0,0x3ea,_0x37df1a(0x213));_0x3b2c57(_0x29819e);return;}this['_compressed']=_0x4a967e;}else{if(this[_0x37df1a(0x1b4)]>0x7&&this[_0x37df1a(0x1b4)]<0xb){if(!this[_0x37df1a(0xc6)]){const _0x28db6c=this[_0x37df1a(0xd1)](RangeError,_0x37df1a(0x17b),!0x0,0x3ea,_0x37df1a(0x122));_0x3b2c57(_0x28db6c);return;}if(_0x4a967e){const _0x520981=this['createError'](RangeError,_0x37df1a(0x1c0),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x3b2c57(_0x520981);return;}if(this['_payloadLength']>0x7d||this[_0x37df1a(0x1b4)]===0x8&&this[_0x37df1a(0x1ec)]===0x1){const _0x5da8d7=this[_0x37df1a(0xd1)](RangeError,_0x37df1a(0x237)+this[_0x37df1a(0x1ec)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x3b2c57(_0x5da8d7);return;}}else{const _0x4f2ba1=this[_0x37df1a(0xd1)](RangeError,_0x37df1a(0x175)+this[_0x37df1a(0x1b4)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x3b2c57(_0x4f2ba1);return;}}}if(!this[_0x37df1a(0xc6)]&&!this[_0x37df1a(0x18f)]&&(this[_0x37df1a(0x18f)]=this['_opcode']),this['_masked']=(_0x403d4a[0x1]&0x80)===0x80,this[_0x37df1a(0xd3)]){if(!this['_masked']){const _0x55d45c=this['createError'](RangeError,_0x37df1a(0xb9),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x3b2c57(_0x55d45c);return;}}else{if(this['_masked']){const _0x158438=this[_0x37df1a(0xd1)](RangeError,_0x37df1a(0xc3),!0x0,0x3ea,_0x37df1a(0x1cf));_0x3b2c57(_0x158438);return;}}this[_0x37df1a(0x1ec)]===0x7e?this[_0x37df1a(0x142)]=_0x3de61f:this[_0x37df1a(0x1ec)]===0x7f?this[_0x37df1a(0x142)]=_0x5384d8:this[_0x37df1a(0x1c5)](_0x3b2c57);}[_0x5542f7(0x1fc)](_0x3a5180){const _0xc15158=_0x5542f7;if(this['_bufferedBytes']<0x2){this[_0xc15158(0x235)]=!0x1;return;}this[_0xc15158(0x1ec)]=this['consume'](0x2)[_0xc15158(0x258)](0x0),this[_0xc15158(0x1c5)](_0x3a5180);}[_0x5542f7(0x1b8)](_0x370cc0){const _0x500b05=_0x5542f7;if(this['_bufferedBytes']<0x8){this['_loop']=!0x1;return;}const _0x14d26a=this[_0x500b05(0xb2)](0x8),_0x3ff887=_0x14d26a['readUInt32BE'](0x0);if(_0x3ff887>Math[_0x500b05(0x188)](0x2,0x15)-0x1){const _0x5be09f=this[_0x500b05(0xd1)](RangeError,_0x500b05(0xbb),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x370cc0(_0x5be09f);return;}this[_0x500b05(0x1ec)]=_0x3ff887*Math[_0x500b05(0x188)](0x2,0x20)+_0x14d26a[_0x500b05(0x217)](0x4),this[_0x500b05(0x1c5)](_0x370cc0);}[_0x5542f7(0x1c5)](_0x1b79c1){const _0x1c0e89=_0x5542f7;if(this[_0x1c0e89(0x1ec)]&&this[_0x1c0e89(0x1b4)]<0x8&&(this[_0x1c0e89(0x20e)]+=this[_0x1c0e89(0x1ec)],this['_totalPayloadLength']>this[_0x1c0e89(0x11c)]&&this['_maxPayload']>0x0)){const _0x434ba1=this[_0x1c0e89(0xd1)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x1b79c1(_0x434ba1);return;}this['_masked']?this[_0x1c0e89(0x142)]=_0x27da5f:this['_state']=_0x5dd885;}['getMask'](){const _0x268d82=_0x5542f7;if(this[_0x268d82(0xf3)]<0x4){this[_0x268d82(0x235)]=!0x1;return;}this[_0x268d82(0x1d1)]=this[_0x268d82(0xb2)](0x4),this[_0x268d82(0x142)]=_0x5dd885;}[_0x5542f7(0x202)](_0x1b87f2){const _0x143a3f=_0x5542f7;let _0x3eb5ba=_0x433e08;if(this['_payloadLength']){if(this[_0x143a3f(0xf3)]<this[_0x143a3f(0x1ec)]){this[_0x143a3f(0x235)]=!0x1;return;}_0x3eb5ba=this['consume'](this['_payloadLength']),this['_masked']&&(this['_mask'][0x0]|this[_0x143a3f(0x1d1)][0x1]|this[_0x143a3f(0x1d1)][0x2]|this[_0x143a3f(0x1d1)][0x3])!==0x0&&_0x2a4282(_0x3eb5ba,this[_0x143a3f(0x1d1)]);}if(this[_0x143a3f(0x1b4)]>0x7){this[_0x143a3f(0x236)](_0x3eb5ba,_0x1b87f2);return;}if(this[_0x143a3f(0x198)]){this['_state']=_0x442879,this[_0x143a3f(0x114)](_0x3eb5ba,_0x1b87f2);return;}_0x3eb5ba[_0x143a3f(0x111)]&&(this['_messageLength']=this['_totalPayloadLength'],this[_0x143a3f(0x24a)]['push'](_0x3eb5ba)),this[_0x143a3f(0x1cc)](_0x1b87f2);}[_0x5542f7(0x114)](_0x250b06,_0x2bf3bb){const _0x556ec9=_0x5542f7;this[_0x556ec9(0x222)][_0x35cce9['extensionName']][_0x556ec9(0x114)](_0x250b06,this[_0x556ec9(0xc6)],(_0x11da09,_0x98dec3)=>{const _0x44e271=_0x556ec9;if(_0x11da09)return _0x2bf3bb(_0x11da09);if(_0x98dec3[_0x44e271(0x111)]){if(this[_0x44e271(0xb5)]+=_0x98dec3[_0x44e271(0x111)],this['_messageLength']>this[_0x44e271(0x11c)]&&this['_maxPayload']>0x0){const _0x39e01b=this[_0x44e271(0xd1)](RangeError,_0x44e271(0x1da),!0x1,0x3f1,_0x44e271(0x11a));_0x2bf3bb(_0x39e01b);return;}this[_0x44e271(0x24a)][_0x44e271(0x1bc)](_0x98dec3);}this['dataMessage'](_0x2bf3bb),this['_state']===_0x382fbc&&this[_0x44e271(0x130)](_0x2bf3bb);});}[_0x5542f7(0x1cc)](_0x1b2ba4){const _0x72395b=_0x5542f7;if(!this[_0x72395b(0xc6)]){this[_0x72395b(0x142)]=_0x382fbc;return;}const _0x15c344=this[_0x72395b(0xb5)],_0x4399a8=this[_0x72395b(0x24a)];if(this[_0x72395b(0x20e)]=0x0,this[_0x72395b(0xb5)]=0x0,this[_0x72395b(0x18f)]=0x0,this[_0x72395b(0x24a)]=[],this[_0x72395b(0x1b4)]===0x2){let _0xa49c2f;this[_0x72395b(0x16a)]==='nodebuffer'?_0xa49c2f=_0x3c4386(_0x4399a8,_0x15c344):this[_0x72395b(0x16a)]===_0x72395b(0xe3)?_0xa49c2f=_0x20df53(_0x3c4386(_0x4399a8,_0x15c344)):this[_0x72395b(0x16a)]===_0x72395b(0x21f)?_0xa49c2f=new Blob(_0x4399a8):_0xa49c2f=_0x4399a8,this['_allowSynchronousEvents']?(this['emit'](_0x72395b(0x162),_0xa49c2f,!0x0),this[_0x72395b(0x142)]=_0x382fbc):(this[_0x72395b(0x142)]=_0x3fedbf,setImmediate(()=>{const _0x3aaec5=_0x72395b;this[_0x3aaec5(0x1e3)](_0x3aaec5(0x162),_0xa49c2f,!0x0),this[_0x3aaec5(0x142)]=_0x382fbc,this['startLoop'](_0x1b2ba4);}));}else{const _0x4ee85c=_0x3c4386(_0x4399a8,_0x15c344);if(!this[_0x72395b(0x12e)]&&!_0x1fc0ab(_0x4ee85c)){const _0x2287bd=this['createError'](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x72395b(0x157));_0x1b2ba4(_0x2287bd);return;}this[_0x72395b(0x142)]===_0x442879||this['_allowSynchronousEvents']?(this['emit'](_0x72395b(0x162),_0x4ee85c,!0x1),this[_0x72395b(0x142)]=_0x382fbc):(this[_0x72395b(0x142)]=_0x3fedbf,setImmediate(()=>{const _0x1d7294=_0x72395b;this[_0x1d7294(0x1e3)](_0x1d7294(0x162),_0x4ee85c,!0x1),this[_0x1d7294(0x142)]=_0x382fbc,this[_0x1d7294(0x130)](_0x1b2ba4);}));}}['controlMessage'](_0x13c9c7,_0x4962c4){const _0x143b1f=_0x5542f7;if(this[_0x143b1f(0x1b4)]===0x8){if(_0x13c9c7[_0x143b1f(0x111)]===0x0)this['_loop']=!0x1,this[_0x143b1f(0x1e3)](_0x143b1f(0x14a),0x3ed,_0x433e08),this['end']();else{const _0x1cf4d9=_0x13c9c7[_0x143b1f(0x258)](0x0);if(!_0x3ec6a7(_0x1cf4d9)){const _0x47f495=this[_0x143b1f(0xd1)](RangeError,'invalid\x20status\x20code\x20'+_0x1cf4d9,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x4962c4(_0x47f495);return;}const _0x222701=new _0x3d9fb3(_0x13c9c7[_0x143b1f(0x1aa)],_0x13c9c7[_0x143b1f(0x250)]+0x2,_0x13c9c7['length']-0x2);if(!this[_0x143b1f(0x12e)]&&!_0x1fc0ab(_0x222701)){const _0x2267e8=this[_0x143b1f(0xd1)](Error,_0x143b1f(0x112),!0x0,0x3ef,_0x143b1f(0x157));_0x4962c4(_0x2267e8);return;}this[_0x143b1f(0x235)]=!0x1,this[_0x143b1f(0x1e3)](_0x143b1f(0x14a),_0x1cf4d9,_0x222701),this[_0x143b1f(0x1fd)]();}this['_state']=_0x382fbc;return;}this[_0x143b1f(0x247)]?(this[_0x143b1f(0x1e3)](this[_0x143b1f(0x1b4)]===0x9?_0x143b1f(0x161):'pong',_0x13c9c7),this[_0x143b1f(0x142)]=_0x382fbc):(this['_state']=_0x3fedbf,setImmediate(()=>{const _0x2b1d67=_0x143b1f;this['emit'](this[_0x2b1d67(0x1b4)]===0x9?_0x2b1d67(0x161):_0x2b1d67(0x133),_0x13c9c7),this['_state']=_0x382fbc,this[_0x2b1d67(0x130)](_0x4962c4);}));}['createError'](_0x1d9dd9,_0x100f25,_0x7a12e9,_0x4274e5,_0x3c5829){const _0x97ad67=_0x5542f7;this[_0x97ad67(0x235)]=!0x1,this['_errored']=!0x0;const _0x3c055f=new _0x1d9dd9(_0x7a12e9?_0x97ad67(0x108)+_0x100f25:_0x100f25);return Error['captureStackTrace'](_0x3c055f,this[_0x97ad67(0xd1)]),_0x3c055f['code']=_0x3c5829,_0x3c055f[_0x3a9dc3]=_0x4274e5,_0x3c055f;}}return Se=_0x4a468f,Se;}var Ee,et;function _t(){const _0x34c2ca=_0x590544;if(et)return Ee;et=0x1;const {Duplex:_0x2e3abc}=_0x540fef,{randomFillSync:_0xeee960}=_0x6c23ef,_0x50aa24=he(),{EMPTY_BUFFER:_0x1dd128,kWebSocket:_0x96247b,NOOP:_0x47d6bf}=V(),{isBlob:_0x465428,isValidStatusCode:_0x138310}=ne(),{mask:_0x5aca39,toBuffer:_0x108f12}=ce(),_0x425ad3=Symbol(_0x34c2ca(0x17d)),_0x2d24be=Buffer[_0x34c2ca(0x208)](0x4),_0x43c23d=0x8*0x400;let _0x5993f3,_0xdeb39a=_0x43c23d;const _0x3db61a=0x0,_0x46e83d=0x1,_0x30cc7=0x2;class _0x5c654d{constructor(_0x80038,_0x35bfcf,_0x488c58){const _0x30ca62=_0x34c2ca;this[_0x30ca62(0x222)]=_0x35bfcf||{},_0x488c58&&(this[_0x30ca62(0x1b2)]=_0x488c58,this[_0x30ca62(0x165)]=Buffer['alloc'](0x4)),this[_0x30ca62(0xae)]=_0x80038,this['_firstFragment']=!0x0,this[_0x30ca62(0x19f)]=!0x1,this[_0x30ca62(0xf3)]=0x0,this[_0x30ca62(0x176)]=[],this[_0x30ca62(0x142)]=_0x3db61a,this['onerror']=_0x47d6bf,this[_0x96247b]=void 0x0;}static[_0x34c2ca(0x255)](_0x17e880,_0x5b1b29){const _0x2c04e9=_0x34c2ca;let _0x10fbbd,_0x3a7538=!0x1,_0xac5bbc=0x2,_0x18134c=!0x1;_0x5b1b29['mask']&&(_0x10fbbd=_0x5b1b29[_0x2c04e9(0x20f)]||_0x2d24be,_0x5b1b29[_0x2c04e9(0x252)]?_0x5b1b29[_0x2c04e9(0x252)](_0x10fbbd):(_0xdeb39a===_0x43c23d&&(_0x5993f3===void 0x0&&(_0x5993f3=Buffer[_0x2c04e9(0x208)](_0x43c23d)),_0xeee960(_0x5993f3,0x0,_0x43c23d),_0xdeb39a=0x0),_0x10fbbd[0x0]=_0x5993f3[_0xdeb39a++],_0x10fbbd[0x1]=_0x5993f3[_0xdeb39a++],_0x10fbbd[0x2]=_0x5993f3[_0xdeb39a++],_0x10fbbd[0x3]=_0x5993f3[_0xdeb39a++]),_0x18134c=(_0x10fbbd[0x0]|_0x10fbbd[0x1]|_0x10fbbd[0x2]|_0x10fbbd[0x3])===0x0,_0xac5bbc=0x6);let _0x6a4363;typeof _0x17e880==_0x2c04e9(0x10f)?(!_0x5b1b29[_0x2c04e9(0x223)]||_0x18134c)&&_0x5b1b29[_0x425ad3]!==void 0x0?_0x6a4363=_0x5b1b29[_0x425ad3]:(_0x17e880=Buffer[_0x2c04e9(0xc5)](_0x17e880),_0x6a4363=_0x17e880[_0x2c04e9(0x111)]):(_0x6a4363=_0x17e880[_0x2c04e9(0x111)],_0x3a7538=_0x5b1b29[_0x2c04e9(0x223)]&&_0x5b1b29[_0x2c04e9(0xcf)]&&!_0x18134c);let _0xda2cc9=_0x6a4363;_0x6a4363>=0x10000?(_0xac5bbc+=0x8,_0xda2cc9=0x7f):_0x6a4363>0x7d&&(_0xac5bbc+=0x2,_0xda2cc9=0x7e);const _0x5dd7b4=Buffer[_0x2c04e9(0x13a)](_0x3a7538?_0x6a4363+_0xac5bbc:_0xac5bbc);return _0x5dd7b4[0x0]=_0x5b1b29['fin']?_0x5b1b29[_0x2c04e9(0xfd)]|0x80:_0x5b1b29[_0x2c04e9(0xfd)],_0x5b1b29[_0x2c04e9(0xc4)]&&(_0x5dd7b4[0x0]|=0x40),_0x5dd7b4[0x1]=_0xda2cc9,_0xda2cc9===0x7e?_0x5dd7b4['writeUInt16BE'](_0x6a4363,0x2):_0xda2cc9===0x7f&&(_0x5dd7b4[0x2]=_0x5dd7b4[0x3]=0x0,_0x5dd7b4[_0x2c04e9(0x135)](_0x6a4363,0x4,0x6)),_0x5b1b29['mask']?(_0x5dd7b4[0x1]|=0x80,_0x5dd7b4[_0xac5bbc-0x4]=_0x10fbbd[0x0],_0x5dd7b4[_0xac5bbc-0x3]=_0x10fbbd[0x1],_0x5dd7b4[_0xac5bbc-0x2]=_0x10fbbd[0x2],_0x5dd7b4[_0xac5bbc-0x1]=_0x10fbbd[0x3],_0x18134c?[_0x5dd7b4,_0x17e880]:_0x3a7538?(_0x5aca39(_0x17e880,_0x10fbbd,_0x5dd7b4,_0xac5bbc,_0x6a4363),[_0x5dd7b4]):(_0x5aca39(_0x17e880,_0x10fbbd,_0x17e880,0x0,_0x6a4363),[_0x5dd7b4,_0x17e880])):[_0x5dd7b4,_0x17e880];}[_0x34c2ca(0x199)](_0x1058d4,_0x329d1b,_0x196867,_0xf1387){const _0x438821=_0x34c2ca;let _0x3291c5;if(_0x1058d4===void 0x0)_0x3291c5=_0x1dd128;else{if(typeof _0x1058d4!=_0x438821(0x25a)||!_0x138310(_0x1058d4))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x329d1b===void 0x0||!_0x329d1b['length'])_0x3291c5=Buffer['allocUnsafe'](0x2),_0x3291c5[_0x438821(0x227)](_0x1058d4,0x0);else{const _0x41e182=Buffer[_0x438821(0x225)](_0x329d1b);if(_0x41e182>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x3291c5=Buffer['allocUnsafe'](0x2+_0x41e182),_0x3291c5[_0x438821(0x227)](_0x1058d4,0x0),typeof _0x329d1b==_0x438821(0x10f)?_0x3291c5['write'](_0x329d1b,0x2):_0x3291c5[_0x438821(0x248)](_0x329d1b,0x2);}}const _0x26a211={[_0x425ad3]:_0x3291c5[_0x438821(0x111)],'fin':!0x0,'generateMask':this[_0x438821(0x1b2)],'mask':_0x196867,'maskBuffer':this[_0x438821(0x165)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x438821(0x142)]!==_0x3db61a?this['enqueue']([this['dispatch'],_0x3291c5,!0x1,_0x26a211,_0xf1387]):this['sendFrame'](_0x5c654d[_0x438821(0x255)](_0x3291c5,_0x26a211),_0xf1387);}[_0x34c2ca(0x161)](_0x20c93a,_0x1f361a,_0x3aeb7a){const _0x5058a6=_0x34c2ca;let _0x7167ce,_0x56ac58;if(typeof _0x20c93a==_0x5058a6(0x10f)?(_0x7167ce=Buffer[_0x5058a6(0x225)](_0x20c93a),_0x56ac58=!0x1):_0x465428(_0x20c93a)?(_0x7167ce=_0x20c93a[_0x5058a6(0x1e6)],_0x56ac58=!0x1):(_0x20c93a=_0x108f12(_0x20c93a),_0x7167ce=_0x20c93a[_0x5058a6(0x111)],_0x56ac58=_0x108f12[_0x5058a6(0xcf)]),_0x7167ce>0x7d)throw new RangeError(_0x5058a6(0x151));const _0x261232={[_0x425ad3]:_0x7167ce,'fin':!0x0,'generateMask':this[_0x5058a6(0x1b2)],'mask':_0x1f361a,'maskBuffer':this[_0x5058a6(0x165)],'opcode':0x9,'readOnly':_0x56ac58,'rsv1':!0x1};_0x465428(_0x20c93a)?this['_state']!==_0x3db61a?this[_0x5058a6(0x1cb)]([this[_0x5058a6(0x154)],_0x20c93a,!0x1,_0x261232,_0x3aeb7a]):this[_0x5058a6(0x154)](_0x20c93a,!0x1,_0x261232,_0x3aeb7a):this['_state']!==_0x3db61a?this[_0x5058a6(0x1cb)]([this[_0x5058a6(0xfe)],_0x20c93a,!0x1,_0x261232,_0x3aeb7a]):this[_0x5058a6(0x12f)](_0x5c654d[_0x5058a6(0x255)](_0x20c93a,_0x261232),_0x3aeb7a);}[_0x34c2ca(0x133)](_0x931c0c,_0x4bda87,_0x5d1b92){const _0x5d373c=_0x34c2ca;let _0x2afc14,_0x4f1ad2;if(typeof _0x931c0c==_0x5d373c(0x10f)?(_0x2afc14=Buffer['byteLength'](_0x931c0c),_0x4f1ad2=!0x1):_0x465428(_0x931c0c)?(_0x2afc14=_0x931c0c[_0x5d373c(0x1e6)],_0x4f1ad2=!0x1):(_0x931c0c=_0x108f12(_0x931c0c),_0x2afc14=_0x931c0c['length'],_0x4f1ad2=_0x108f12[_0x5d373c(0xcf)]),_0x2afc14>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x302adb={[_0x425ad3]:_0x2afc14,'fin':!0x0,'generateMask':this[_0x5d373c(0x1b2)],'mask':_0x4bda87,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x4f1ad2,'rsv1':!0x1};_0x465428(_0x931c0c)?this[_0x5d373c(0x142)]!==_0x3db61a?this['enqueue']([this[_0x5d373c(0x154)],_0x931c0c,!0x1,_0x302adb,_0x5d1b92]):this[_0x5d373c(0x154)](_0x931c0c,!0x1,_0x302adb,_0x5d1b92):this[_0x5d373c(0x142)]!==_0x3db61a?this['enqueue']([this[_0x5d373c(0xfe)],_0x931c0c,!0x1,_0x302adb,_0x5d1b92]):this[_0x5d373c(0x12f)](_0x5c654d[_0x5d373c(0x255)](_0x931c0c,_0x302adb),_0x5d1b92);}[_0x34c2ca(0x1ff)](_0x17485e,_0x379ccf,_0x3164c1){const _0x683700=_0x34c2ca,_0xf9ba24=this[_0x683700(0x222)][_0x50aa24[_0x683700(0x137)]];let _0x51459d=_0x379ccf[_0x683700(0x120)]?0x2:0x1,_0x5111ef=_0x379ccf[_0x683700(0x200)],_0x3707fb,_0x338b3f;typeof _0x17485e=='string'?(_0x3707fb=Buffer[_0x683700(0x225)](_0x17485e),_0x338b3f=!0x1):_0x465428(_0x17485e)?(_0x3707fb=_0x17485e[_0x683700(0x1e6)],_0x338b3f=!0x1):(_0x17485e=_0x108f12(_0x17485e),_0x3707fb=_0x17485e[_0x683700(0x111)],_0x338b3f=_0x108f12[_0x683700(0xcf)]),this[_0x683700(0x173)]?(this['_firstFragment']=!0x1,_0x5111ef&&_0xf9ba24&&_0xf9ba24[_0x683700(0x18d)][_0xf9ba24[_0x683700(0xd3)]?_0x683700(0x218):_0x683700(0xd8)]&&(_0x5111ef=_0x3707fb>=_0xf9ba24['_threshold']),this[_0x683700(0x19f)]=_0x5111ef):(_0x5111ef=!0x1,_0x51459d=0x0),_0x379ccf['fin']&&(this[_0x683700(0x173)]=!0x0);const _0x37cec3={[_0x425ad3]:_0x3707fb,'fin':_0x379ccf['fin'],'generateMask':this[_0x683700(0x1b2)],'mask':_0x379ccf[_0x683700(0x223)],'maskBuffer':this['_maskBuffer'],'opcode':_0x51459d,'readOnly':_0x338b3f,'rsv1':_0x5111ef};_0x465428(_0x17485e)?this['_state']!==_0x3db61a?this['enqueue']([this[_0x683700(0x154)],_0x17485e,this[_0x683700(0x19f)],_0x37cec3,_0x3164c1]):this[_0x683700(0x154)](_0x17485e,this[_0x683700(0x19f)],_0x37cec3,_0x3164c1):this[_0x683700(0x142)]!==_0x3db61a?this[_0x683700(0x1cb)]([this[_0x683700(0xfe)],_0x17485e,this[_0x683700(0x19f)],_0x37cec3,_0x3164c1]):this[_0x683700(0xfe)](_0x17485e,this[_0x683700(0x19f)],_0x37cec3,_0x3164c1);}[_0x34c2ca(0x154)](_0x213a4b,_0xebd9a1,_0x67f85,_0x312d3e){const _0x51414c=_0x34c2ca;this[_0x51414c(0xf3)]+=_0x67f85[_0x425ad3],this['_state']=_0x30cc7,_0x213a4b[_0x51414c(0xc0)]()[_0x51414c(0x102)](_0x1675a3=>{const _0x38ec0c=_0x51414c;if(this['_socket'][_0x38ec0c(0x14b)]){const _0x313b44=new Error(_0x38ec0c(0xdd));process[_0x38ec0c(0x1e5)](_0x55f096,this,_0x313b44,_0x312d3e);return;}this[_0x38ec0c(0xf3)]-=_0x67f85[_0x425ad3];const _0x13f4ce=_0x108f12(_0x1675a3);_0xebd9a1?this[_0x38ec0c(0xfe)](_0x13f4ce,_0xebd9a1,_0x67f85,_0x312d3e):(this['_state']=_0x3db61a,this[_0x38ec0c(0x12f)](_0x5c654d[_0x38ec0c(0x255)](_0x13f4ce,_0x67f85),_0x312d3e),this[_0x38ec0c(0xc9)]());})[_0x51414c(0x1a8)](_0x247f2b=>{const _0x23c6c9=_0x51414c;process[_0x23c6c9(0x1e5)](_0x43d716,this,_0x247f2b,_0x312d3e);});}['dispatch'](_0x2be184,_0x50e1d7,_0x5445d4,_0x332728){const _0x1716ec=_0x34c2ca;if(!_0x50e1d7){this[_0x1716ec(0x12f)](_0x5c654d[_0x1716ec(0x255)](_0x2be184,_0x5445d4),_0x332728);return;}const _0x5944c3=this[_0x1716ec(0x222)][_0x50aa24[_0x1716ec(0x137)]];this[_0x1716ec(0xf3)]+=_0x5445d4[_0x425ad3],this[_0x1716ec(0x142)]=_0x46e83d,_0x5944c3[_0x1716ec(0x200)](_0x2be184,_0x5445d4[_0x1716ec(0x14f)],(_0x3a2389,_0x52e314)=>{const _0x1673fb=_0x1716ec;if(this[_0x1673fb(0xae)][_0x1673fb(0x14b)]){const _0x36eb65=new Error(_0x1673fb(0x117));_0x55f096(this,_0x36eb65,_0x332728);return;}this[_0x1673fb(0xf3)]-=_0x5445d4[_0x425ad3],this[_0x1673fb(0x142)]=_0x3db61a,_0x5445d4[_0x1673fb(0xcf)]=!0x1,this[_0x1673fb(0x12f)](_0x5c654d[_0x1673fb(0x255)](_0x52e314,_0x5445d4),_0x332728),this[_0x1673fb(0xc9)]();});}['dequeue'](){const _0x4d82aa=_0x34c2ca;for(;this[_0x4d82aa(0x142)]===_0x3db61a&&this['_queue'][_0x4d82aa(0x111)];){const _0x535fa6=this['_queue']['shift']();this['_bufferedBytes']-=_0x535fa6[0x3][_0x425ad3],Reflect['apply'](_0x535fa6[0x0],this,_0x535fa6[_0x4d82aa(0xac)](0x1));}}[_0x34c2ca(0x1cb)](_0x41a942){const _0x598baf=_0x34c2ca;this[_0x598baf(0xf3)]+=_0x41a942[0x3][_0x425ad3],this[_0x598baf(0x176)][_0x598baf(0x1bc)](_0x41a942);}[_0x34c2ca(0x12f)](_0x3e5770,_0x5683eb){const _0x414495=_0x34c2ca;_0x3e5770[_0x414495(0x111)]===0x2?(this[_0x414495(0xae)]['cork'](),this[_0x414495(0xae)][_0x414495(0x1d7)](_0x3e5770[0x0]),this[_0x414495(0xae)][_0x414495(0x1d7)](_0x3e5770[0x1],_0x5683eb),this[_0x414495(0xae)][_0x414495(0x1e9)]()):this[_0x414495(0xae)][_0x414495(0x1d7)](_0x3e5770[0x0],_0x5683eb);}}Ee=_0x5c654d;function _0x55f096(_0x48e003,_0x1945db,_0x4f0e04){const _0x2f4576=_0x34c2ca;typeof _0x4f0e04==_0x2f4576(0x1ca)&&_0x4f0e04(_0x1945db);for(let _0x36cb98=0x0;_0x36cb98<_0x48e003['_queue'][_0x2f4576(0x111)];_0x36cb98++){const _0x5670f2=_0x48e003[_0x2f4576(0x176)][_0x36cb98],_0x5ee929=_0x5670f2[_0x5670f2['length']-0x1];typeof _0x5ee929=='function'&&_0x5ee929(_0x1945db);}}function _0x43d716(_0x444858,_0x4cd579,_0x31bd16){const _0x1d8e7b=_0x34c2ca;_0x55f096(_0x444858,_0x4cd579,_0x31bd16),_0x444858[_0x1d8e7b(0xa8)](_0x4cd579);}return Ee;}var xe,tt;function Kt(){const _0x95bc16=_0x590544;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x3cb19f,kListener:_0x47a71b}=V(),_0x5b9ed4=Symbol(_0x95bc16(0x153)),_0x48aa77=Symbol(_0x95bc16(0x25b)),_0x5a6630=Symbol(_0x95bc16(0x1c6)),_0x12d427=Symbol(_0x95bc16(0x22e)),_0x47cfec=Symbol(_0x95bc16(0x19b)),_0x43749d=Symbol(_0x95bc16(0x16d)),_0x65d8e0=Symbol(_0x95bc16(0x14e)),_0x2a7945=Symbol(_0x95bc16(0x10a));class _0x5d9b52{constructor(_0x1b379c){this[_0x43749d]=null,this[_0x65d8e0]=_0x1b379c;}get[_0x95bc16(0x1b5)](){return this[_0x43749d];}get[_0x95bc16(0x11b)](){return this[_0x65d8e0];}}Object[_0x95bc16(0xfc)](_0x5d9b52['prototype'],'target',{'enumerable':!0x0}),Object['defineProperty'](_0x5d9b52['prototype'],_0x95bc16(0x11b),{'enumerable':!0x0});class _0x5ed258 extends _0x5d9b52{constructor(_0x5b2744,_0x5589aa={}){const _0x11a0a2=_0x95bc16;super(_0x5b2744),this[_0x5b9ed4]=_0x5589aa['code']===void 0x0?0x0:_0x5589aa['code'],this[_0x47cfec]=_0x5589aa[_0x11a0a2(0x1ea)]===void 0x0?'':_0x5589aa[_0x11a0a2(0x1ea)],this[_0x2a7945]=_0x5589aa[_0x11a0a2(0x1bf)]===void 0x0?!0x1:_0x5589aa[_0x11a0a2(0x1bf)];}get[_0x95bc16(0xb3)](){return this[_0x5b9ed4];}get[_0x95bc16(0x1ea)](){return this[_0x47cfec];}get[_0x95bc16(0x1bf)](){return this[_0x2a7945];}}Object['defineProperty'](_0x5ed258[_0x95bc16(0x216)],_0x95bc16(0xb3),{'enumerable':!0x0}),Object['defineProperty'](_0x5ed258[_0x95bc16(0x216)],_0x95bc16(0x1ea),{'enumerable':!0x0}),Object[_0x95bc16(0xfc)](_0x5ed258[_0x95bc16(0x216)],_0x95bc16(0x1bf),{'enumerable':!0x0});class _0x14b5b1 extends _0x5d9b52{constructor(_0x12614b,_0x29ad5d={}){const _0x4432f8=_0x95bc16;super(_0x12614b),this[_0x5a6630]=_0x29ad5d[_0x4432f8(0x232)]===void 0x0?null:_0x29ad5d[_0x4432f8(0x232)],this[_0x12d427]=_0x29ad5d[_0x4432f8(0x162)]===void 0x0?'':_0x29ad5d[_0x4432f8(0x162)];}get[_0x95bc16(0x232)](){return this[_0x5a6630];}get[_0x95bc16(0x162)](){return this[_0x12d427];}}Object[_0x95bc16(0xfc)](_0x14b5b1[_0x95bc16(0x216)],_0x95bc16(0x232),{'enumerable':!0x0}),Object[_0x95bc16(0xfc)](_0x14b5b1[_0x95bc16(0x216)],_0x95bc16(0x162),{'enumerable':!0x0});class _0x11aa2a extends _0x5d9b52{constructor(_0x18374a,_0x3cd223={}){const _0x2ba825=_0x95bc16;super(_0x18374a),this[_0x48aa77]=_0x3cd223[_0x2ba825(0x174)]===void 0x0?null:_0x3cd223['data'];}get[_0x95bc16(0x174)](){return this[_0x48aa77];}}Object[_0x95bc16(0xfc)](_0x11aa2a[_0x95bc16(0x216)],_0x95bc16(0x174),{'enumerable':!0x0}),xe={'CloseEvent':_0x5ed258,'ErrorEvent':_0x14b5b1,'Event':_0x5d9b52,'EventTarget':{'addEventListener'(_0x2872e5,_0x4fd232,_0x391231={}){const _0x1e0960=_0x95bc16;for(const _0x25b91e of this['listeners'](_0x2872e5))if(!_0x391231[_0x3cb19f]&&_0x25b91e[_0x47a71b]===_0x4fd232&&!_0x25b91e[_0x3cb19f])return;let _0x5c6e6c;if(_0x2872e5===_0x1e0960(0x162))_0x5c6e6c=function(_0x4aba4e,_0x20c35a){const _0x1aa13a=_0x1e0960,_0x8275a8=new _0x11aa2a(_0x1aa13a(0x162),{'data':_0x20c35a?_0x4aba4e:_0x4aba4e[_0x1aa13a(0x107)]()});_0x8275a8[_0x43749d]=this,_0x44f84(_0x4fd232,this,_0x8275a8);};else{if(_0x2872e5===_0x1e0960(0x199))_0x5c6e6c=function(_0x39343d,_0x49841b){const _0x39364c=_0x1e0960,_0x3b0ba4=new _0x5ed258(_0x39364c(0x199),{'code':_0x39343d,'reason':_0x49841b[_0x39364c(0x107)](),'wasClean':this[_0x39364c(0x233)]&&this[_0x39364c(0x257)]});_0x3b0ba4[_0x43749d]=this,_0x44f84(_0x4fd232,this,_0x3b0ba4);};else{if(_0x2872e5===_0x1e0960(0x232))_0x5c6e6c=function(_0x193de7){const _0x44abd0=_0x1e0960,_0x3fa633=new _0x14b5b1(_0x44abd0(0x232),{'error':_0x193de7,'message':_0x193de7[_0x44abd0(0x162)]});_0x3fa633[_0x43749d]=this,_0x44f84(_0x4fd232,this,_0x3fa633);};else{if(_0x2872e5===_0x1e0960(0xd4))_0x5c6e6c=function(){const _0x3bfb37=new _0x5d9b52('open');_0x3bfb37[_0x43749d]=this,_0x44f84(_0x4fd232,this,_0x3bfb37);};else return;}}}_0x5c6e6c[_0x3cb19f]=!!_0x391231[_0x3cb19f],_0x5c6e6c[_0x47a71b]=_0x4fd232,_0x391231[_0x1e0960(0x155)]?this['once'](_0x2872e5,_0x5c6e6c):this['on'](_0x2872e5,_0x5c6e6c);},'removeEventListener'(_0x5c0dd0,_0x1e879d){for(const _0x308a71 of this['listeners'](_0x5c0dd0))if(_0x308a71[_0x47a71b]===_0x1e879d&&!_0x308a71[_0x3cb19f]){this['removeListener'](_0x5c0dd0,_0x308a71);break;}}},'MessageEvent':_0x11aa2a};function _0x44f84(_0x103df9,_0x559662,_0x3485f0){const _0x3f7c9b=_0x95bc16;typeof _0x103df9==_0x3f7c9b(0x186)&&_0x103df9['handleEvent']?_0x103df9[_0x3f7c9b(0x230)][_0x3f7c9b(0x12b)](_0x103df9,_0x3485f0):_0x103df9[_0x3f7c9b(0x12b)](_0x559662,_0x3485f0);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x5408ac}=ne();function _0x54d04c(_0x2047ab,_0x543666,_0x3646b7){_0x2047ab[_0x543666]===void 0x0?_0x2047ab[_0x543666]=[_0x3646b7]:_0x2047ab[_0x543666]['push'](_0x3646b7);}function _0x56cd08(_0x1c0a98){const _0xe90d57=_0x46c1,_0x1cdeb1=Object['create'](null);let _0x15ed6e=Object['create'](null),_0xfc657=!0x1,_0x1bd571=!0x1,_0x47957e=!0x1,_0x112f8f,_0x578c10,_0x72dcd=-0x1,_0x18285f=-0x1,_0x2e75dd=-0x1,_0x3cdd1e=0x0;for(;_0x3cdd1e<_0x1c0a98[_0xe90d57(0x111)];_0x3cdd1e++)if(_0x18285f=_0x1c0a98['charCodeAt'](_0x3cdd1e),_0x112f8f===void 0x0){if(_0x2e75dd===-0x1&&_0x5408ac[_0x18285f]===0x1)_0x72dcd===-0x1&&(_0x72dcd=_0x3cdd1e);else{if(_0x3cdd1e!==0x0&&(_0x18285f===0x20||_0x18285f===0x9))_0x2e75dd===-0x1&&_0x72dcd!==-0x1&&(_0x2e75dd=_0x3cdd1e);else{if(_0x18285f===0x3b||_0x18285f===0x2c){if(_0x72dcd===-0x1)throw new SyntaxError(_0xe90d57(0x126)+_0x3cdd1e);_0x2e75dd===-0x1&&(_0x2e75dd=_0x3cdd1e);const _0x5a8b7c=_0x1c0a98['slice'](_0x72dcd,_0x2e75dd);_0x18285f===0x2c?(_0x54d04c(_0x1cdeb1,_0x5a8b7c,_0x15ed6e),_0x15ed6e=Object[_0xe90d57(0x134)](null)):_0x112f8f=_0x5a8b7c,_0x72dcd=_0x2e75dd=-0x1;}else throw new SyntaxError(_0xe90d57(0x126)+_0x3cdd1e);}}}else{if(_0x578c10===void 0x0){if(_0x2e75dd===-0x1&&_0x5408ac[_0x18285f]===0x1)_0x72dcd===-0x1&&(_0x72dcd=_0x3cdd1e);else{if(_0x18285f===0x20||_0x18285f===0x9)_0x2e75dd===-0x1&&_0x72dcd!==-0x1&&(_0x2e75dd=_0x3cdd1e);else{if(_0x18285f===0x3b||_0x18285f===0x2c){if(_0x72dcd===-0x1)throw new SyntaxError(_0xe90d57(0x126)+_0x3cdd1e);_0x2e75dd===-0x1&&(_0x2e75dd=_0x3cdd1e),_0x54d04c(_0x15ed6e,_0x1c0a98[_0xe90d57(0xac)](_0x72dcd,_0x2e75dd),!0x0),_0x18285f===0x2c&&(_0x54d04c(_0x1cdeb1,_0x112f8f,_0x15ed6e),_0x15ed6e=Object[_0xe90d57(0x134)](null),_0x112f8f=void 0x0),_0x72dcd=_0x2e75dd=-0x1;}else{if(_0x18285f===0x3d&&_0x72dcd!==-0x1&&_0x2e75dd===-0x1)_0x578c10=_0x1c0a98['slice'](_0x72dcd,_0x3cdd1e),_0x72dcd=_0x2e75dd=-0x1;else throw new SyntaxError(_0xe90d57(0x126)+_0x3cdd1e);}}}}else{if(_0x1bd571){if(_0x5408ac[_0x18285f]!==0x1)throw new SyntaxError(_0xe90d57(0x126)+_0x3cdd1e);_0x72dcd===-0x1?_0x72dcd=_0x3cdd1e:_0xfc657||(_0xfc657=!0x0),_0x1bd571=!0x1;}else{if(_0x47957e){if(_0x5408ac[_0x18285f]===0x1)_0x72dcd===-0x1&&(_0x72dcd=_0x3cdd1e);else{if(_0x18285f===0x22&&_0x72dcd!==-0x1)_0x47957e=!0x1,_0x2e75dd=_0x3cdd1e;else{if(_0x18285f===0x5c)_0x1bd571=!0x0;else throw new SyntaxError(_0xe90d57(0x126)+_0x3cdd1e);}}}else{if(_0x18285f===0x22&&_0x1c0a98['charCodeAt'](_0x3cdd1e-0x1)===0x3d)_0x47957e=!0x0;else{if(_0x2e75dd===-0x1&&_0x5408ac[_0x18285f]===0x1)_0x72dcd===-0x1&&(_0x72dcd=_0x3cdd1e);else{if(_0x72dcd!==-0x1&&(_0x18285f===0x20||_0x18285f===0x9))_0x2e75dd===-0x1&&(_0x2e75dd=_0x3cdd1e);else{if(_0x18285f===0x3b||_0x18285f===0x2c){if(_0x72dcd===-0x1)throw new SyntaxError(_0xe90d57(0x126)+_0x3cdd1e);_0x2e75dd===-0x1&&(_0x2e75dd=_0x3cdd1e);let _0x4d4131=_0x1c0a98[_0xe90d57(0xac)](_0x72dcd,_0x2e75dd);_0xfc657&&(_0x4d4131=_0x4d4131[_0xe90d57(0x1b3)](/\\/g,''),_0xfc657=!0x1),_0x54d04c(_0x15ed6e,_0x578c10,_0x4d4131),_0x18285f===0x2c&&(_0x54d04c(_0x1cdeb1,_0x112f8f,_0x15ed6e),_0x15ed6e=Object[_0xe90d57(0x134)](null),_0x112f8f=void 0x0),_0x578c10=void 0x0,_0x72dcd=_0x2e75dd=-0x1;}else throw new SyntaxError(_0xe90d57(0x126)+_0x3cdd1e);}}}}}}}if(_0x72dcd===-0x1||_0x47957e||_0x18285f===0x20||_0x18285f===0x9)throw new SyntaxError(_0xe90d57(0xf1));_0x2e75dd===-0x1&&(_0x2e75dd=_0x3cdd1e);const _0x3e8f40=_0x1c0a98['slice'](_0x72dcd,_0x2e75dd);return _0x112f8f===void 0x0?_0x54d04c(_0x1cdeb1,_0x3e8f40,_0x15ed6e):(_0x578c10===void 0x0?_0x54d04c(_0x15ed6e,_0x3e8f40,!0x0):_0xfc657?_0x54d04c(_0x15ed6e,_0x578c10,_0x3e8f40['replace'](/\\/g,'')):_0x54d04c(_0x15ed6e,_0x578c10,_0x3e8f40),_0x54d04c(_0x1cdeb1,_0x112f8f,_0x15ed6e)),_0x1cdeb1;}function _0x23b8aa(_0x17bd62){const _0x151191=_0x46c1;return Object['keys'](_0x17bd62)[_0x151191(0xdb)](_0x543d3e=>{const _0x39fcd=_0x151191;let _0xec83ae=_0x17bd62[_0x543d3e];return Array[_0x39fcd(0x219)](_0xec83ae)||(_0xec83ae=[_0xec83ae]),_0xec83ae[_0x39fcd(0xdb)](_0x487e4c=>[_0x543d3e][_0x39fcd(0x249)](Object['keys'](_0x487e4c)[_0x39fcd(0xdb)](_0x1452c8=>{const _0x5f0cdf=_0x39fcd;let _0x70f189=_0x487e4c[_0x1452c8];return Array[_0x5f0cdf(0x219)](_0x70f189)||(_0x70f189=[_0x70f189]),_0x70f189[_0x5f0cdf(0xdb)](_0x374c2c=>_0x374c2c===!0x0?_0x1452c8:_0x1452c8+'='+_0x374c2c)[_0x5f0cdf(0x106)](';\x20');}))[_0x39fcd(0x106)](';\x20'))[_0x39fcd(0x106)](',\x20');})[_0x151191(0x106)](',\x20');}return be={'format':_0x23b8aa,'parse':_0x56cd08},be;}var we,st;function Ie(){const _0x3e01b0=_0x590544;if(st)return we;st=0x1;const _0x437358=_0x131ed8,_0x11e2b5=_0x3ea370,_0x5b2fe3=_0x47864f,_0x44ef84=_0x222bf3,_0x2d4509=_0x5344a2,{randomBytes:_0xc9e61d,createHash:_0x5922be}=_0x6c23ef,{Duplex:_0x1e6891,Readable:_0x55c861}=_0x540fef,{URL:_0x176bd2}=_0x172cd9,_0x25663b=he(),_0x3d62c3=dt(),_0x3f8cc3=_t(),{isBlob:_0x150e43}=ne(),{BINARY_TYPES:_0x2f1c44,EMPTY_BUFFER:_0x4ce825,GUID:_0x4402de,kForOnEventAttribute:_0xe945f,kListener:_0x3940a4,kStatusCode:_0x488540,kWebSocket:_0x790e25,NOOP:_0x1b2558}=V(),{EventTarget:{addEventListener:_0x50f7ec,removeEventListener:_0x22a7a8}}=Kt(),{format:_0x4a434,parse:_0x568930}=pt(),{toBuffer:_0x4a8313}=ce(),_0x144a06=0x1e*0x3e8,_0x499fda=Symbol(_0x3e01b0(0x1f0)),_0x5aa9a5=[0x8,0xd],_0x3e607c=[_0x3e01b0(0x17e),'OPEN',_0x3e01b0(0x103),_0x3e01b0(0x246)],_0xc505cc=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x1d4f07 extends _0x437358{constructor(_0x385abe,_0x3cc89c,_0x3b2693){const _0x52198c=_0x3e01b0;super(),this[_0x52198c(0x16a)]=_0x2f1c44[0x0],this['_closeCode']=0x3ee,this[_0x52198c(0x233)]=!0x1,this[_0x52198c(0x257)]=!0x1,this[_0x52198c(0x20a)]=_0x4ce825,this[_0x52198c(0x166)]=null,this['_errorEmitted']=!0x1,this[_0x52198c(0x222)]={},this['_paused']=!0x1,this['_protocol']='',this[_0x52198c(0x1f3)]=_0x1d4f07[_0x52198c(0x17e)],this[_0x52198c(0x10d)]=null,this[_0x52198c(0xe0)]=null,this['_socket']=null,_0x385abe!==null?(this[_0x52198c(0xbf)]=0x0,this[_0x52198c(0xd3)]=!0x1,this[_0x52198c(0x1de)]=0x0,_0x3cc89c===void 0x0?_0x3cc89c=[]:Array[_0x52198c(0x219)](_0x3cc89c)||(typeof _0x3cc89c==_0x52198c(0x186)&&_0x3cc89c!==null?(_0x3b2693=_0x3cc89c,_0x3cc89c=[]):_0x3cc89c=[_0x3cc89c]),_0x25ef32(this,_0x385abe,_0x3cc89c,_0x3b2693)):(this[_0x52198c(0x254)]=_0x3b2693['autoPong'],this[_0x52198c(0xd3)]=!0x0);}get[_0x3e01b0(0xf5)](){return this['_binaryType'];}set['binaryType'](_0x58ae9f){const _0x12cc4c=_0x3e01b0;_0x2f1c44[_0x12cc4c(0x1e1)](_0x58ae9f)&&(this[_0x12cc4c(0x16a)]=_0x58ae9f,this['_receiver']&&(this['_receiver'][_0x12cc4c(0x16a)]=_0x58ae9f));}get[_0x3e01b0(0x1d5)](){const _0x974147=_0x3e01b0;return this['_socket']?this['_socket']['_writableState'][_0x974147(0x111)]+this[_0x974147(0xe0)][_0x974147(0xf3)]:this[_0x974147(0xbf)];}get[_0x3e01b0(0x251)](){const _0x1e06a9=_0x3e01b0;return Object[_0x1e06a9(0x192)](this[_0x1e06a9(0x222)])['join']();}get['isPaused'](){const _0x521d31=_0x3e01b0;return this[_0x521d31(0x119)];}get[_0x3e01b0(0x194)](){return null;}get[_0x3e01b0(0xa8)](){return null;}get[_0x3e01b0(0xec)](){return null;}get[_0x3e01b0(0xe1)](){return null;}get[_0x3e01b0(0x178)](){const _0x3dc0b6=_0x3e01b0;return this[_0x3dc0b6(0x144)];}get[_0x3e01b0(0x19a)](){const _0x2cd56e=_0x3e01b0;return this[_0x2cd56e(0x1f3)];}get[_0x3e01b0(0x1c8)](){return this['_url'];}[_0x3e01b0(0x220)](_0x273db2,_0x20e33e,_0x53d0d6){const _0x474aef=_0x3e01b0,_0x3a2461=new _0x3d62c3({'allowSynchronousEvents':_0x53d0d6['allowSynchronousEvents'],'binaryType':this[_0x474aef(0xf5)],'extensions':this[_0x474aef(0x222)],'isServer':this[_0x474aef(0xd3)],'maxPayload':_0x53d0d6['maxPayload'],'skipUTF8Validation':_0x53d0d6[_0x474aef(0x1e0)]}),_0x2ec936=new _0x3f8cc3(_0x273db2,this['_extensions'],_0x53d0d6['generateMask']);this[_0x474aef(0x10d)]=_0x3a2461,this['_sender']=_0x2ec936,this[_0x474aef(0xae)]=_0x273db2,_0x3a2461[_0x790e25]=this,_0x2ec936[_0x790e25]=this,_0x273db2[_0x790e25]=this,_0x3a2461['on']('conclude',_0x2fc244),_0x3a2461['on'](_0x474aef(0x1a5),_0x49befc),_0x3a2461['on'](_0x474aef(0x232),_0x3c2a40),_0x3a2461['on'](_0x474aef(0x162),_0x56ec52),_0x3a2461['on'](_0x474aef(0x161),_0x50faa3),_0x3a2461['on'](_0x474aef(0x133),_0x59ab4b),_0x2ec936['onerror']=_0x3674aa,_0x273db2[_0x474aef(0x19d)]&&_0x273db2[_0x474aef(0x19d)](0x0),_0x273db2[_0x474aef(0x196)]&&_0x273db2[_0x474aef(0x196)](),_0x20e33e[_0x474aef(0x111)]>0x0&&_0x273db2['unshift'](_0x20e33e),_0x273db2['on'](_0x474aef(0x199),_0x4d5ca8),_0x273db2['on']('data',_0x33f129),_0x273db2['on'](_0x474aef(0x1fd),_0x403bf2),_0x273db2['on'](_0x474aef(0x232),_0x4419a0),this[_0x474aef(0x1f3)]=_0x1d4f07[_0x474aef(0xba)],this[_0x474aef(0x1e3)]('open');}[_0x3e01b0(0x177)](){const _0x555ac1=_0x3e01b0;if(!this[_0x555ac1(0xae)]){this[_0x555ac1(0x1f3)]=_0x1d4f07[_0x555ac1(0x246)],this['emit']('close',this['_closeCode'],this['_closeMessage']);return;}this['_extensions'][_0x25663b[_0x555ac1(0x137)]]&&this[_0x555ac1(0x222)][_0x25663b[_0x555ac1(0x137)]][_0x555ac1(0x15c)](),this[_0x555ac1(0x10d)][_0x555ac1(0xe4)](),this[_0x555ac1(0x1f3)]=_0x1d4f07['CLOSED'],this['emit']('close',this[_0x555ac1(0x1eb)],this[_0x555ac1(0x20a)]);}[_0x3e01b0(0x199)](_0x939df7,_0x4b1626){const _0x3dabac=_0x3e01b0;if(this['readyState']!==_0x1d4f07[_0x3dabac(0x246)]){if(this['readyState']===_0x1d4f07['CONNECTING']){_0x34122f(this,this[_0x3dabac(0x1b7)],_0x3dabac(0x22a));return;}if(this[_0x3dabac(0x19a)]===_0x1d4f07[_0x3dabac(0x103)]){this[_0x3dabac(0x257)]&&(this[_0x3dabac(0x233)]||this['_receiver'][_0x3dabac(0x241)][_0x3dabac(0x115)])&&this[_0x3dabac(0xae)]['end']();return;}this['_readyState']=_0x1d4f07[_0x3dabac(0x103)],this[_0x3dabac(0xe0)]['close'](_0x939df7,_0x4b1626,!this[_0x3dabac(0xd3)],_0x41e21d=>{const _0x5f363c=_0x3dabac;_0x41e21d||(this[_0x5f363c(0x257)]=!0x0,(this[_0x5f363c(0x233)]||this['_receiver'][_0x5f363c(0x241)][_0x5f363c(0x115)])&&this[_0x5f363c(0xae)][_0x5f363c(0x1fd)]());}),_0x2f820b(this);}}[_0x3e01b0(0x242)](){const _0x2d7391=_0x3e01b0;this['readyState']===_0x1d4f07[_0x2d7391(0x17e)]||this[_0x2d7391(0x19a)]===_0x1d4f07[_0x2d7391(0x246)]||(this[_0x2d7391(0x119)]=!0x0,this[_0x2d7391(0xae)][_0x2d7391(0x242)]());}[_0x3e01b0(0x161)](_0x4fa883,_0x1aa55c,_0x28c4b5){const _0x3597d3=_0x3e01b0;if(this[_0x3597d3(0x19a)]===_0x1d4f07[_0x3597d3(0x17e)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x4fa883==_0x3597d3(0x1ca)?(_0x28c4b5=_0x4fa883,_0x4fa883=_0x1aa55c=void 0x0):typeof _0x1aa55c==_0x3597d3(0x1ca)&&(_0x28c4b5=_0x1aa55c,_0x1aa55c=void 0x0),typeof _0x4fa883==_0x3597d3(0x25a)&&(_0x4fa883=_0x4fa883[_0x3597d3(0x107)]()),this[_0x3597d3(0x19a)]!==_0x1d4f07[_0x3597d3(0xba)]){_0x4a559f(this,_0x4fa883,_0x28c4b5);return;}_0x1aa55c===void 0x0&&(_0x1aa55c=!this['_isServer']),this[_0x3597d3(0xe0)][_0x3597d3(0x161)](_0x4fa883||_0x4ce825,_0x1aa55c,_0x28c4b5);}[_0x3e01b0(0x133)](_0x5ee30f,_0x567aa9,_0x113ebd){const _0x1748b0=_0x3e01b0;if(this[_0x1748b0(0x19a)]===_0x1d4f07[_0x1748b0(0x17e)])throw new Error(_0x1748b0(0xca));if(typeof _0x5ee30f==_0x1748b0(0x1ca)?(_0x113ebd=_0x5ee30f,_0x5ee30f=_0x567aa9=void 0x0):typeof _0x567aa9==_0x1748b0(0x1ca)&&(_0x113ebd=_0x567aa9,_0x567aa9=void 0x0),typeof _0x5ee30f==_0x1748b0(0x25a)&&(_0x5ee30f=_0x5ee30f['toString']()),this[_0x1748b0(0x19a)]!==_0x1d4f07['OPEN']){_0x4a559f(this,_0x5ee30f,_0x113ebd);return;}_0x567aa9===void 0x0&&(_0x567aa9=!this[_0x1748b0(0xd3)]),this[_0x1748b0(0xe0)][_0x1748b0(0x133)](_0x5ee30f||_0x4ce825,_0x567aa9,_0x113ebd);}[_0x3e01b0(0x156)](){const _0x232410=_0x3e01b0;this['readyState']===_0x1d4f07[_0x232410(0x17e)]||this[_0x232410(0x19a)]===_0x1d4f07[_0x232410(0x246)]||(this['_paused']=!0x1,this[_0x232410(0x10d)][_0x232410(0x241)]['needDrain']||this[_0x232410(0xae)][_0x232410(0x156)]());}[_0x3e01b0(0x1ff)](_0x1fae34,_0x3f9df2,_0x556088){const _0x41de6d=_0x3e01b0;if(this[_0x41de6d(0x19a)]===_0x1d4f07[_0x41de6d(0x17e)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x3f9df2==_0x41de6d(0x1ca)&&(_0x556088=_0x3f9df2,_0x3f9df2={}),typeof _0x1fae34==_0x41de6d(0x25a)&&(_0x1fae34=_0x1fae34['toString']()),this[_0x41de6d(0x19a)]!==_0x1d4f07[_0x41de6d(0xba)]){_0x4a559f(this,_0x1fae34,_0x556088);return;}const _0x488489={'binary':typeof _0x1fae34!=_0x41de6d(0x10f),'mask':!this[_0x41de6d(0xd3)],'compress':!0x0,'fin':!0x0,..._0x3f9df2};this['_extensions'][_0x25663b[_0x41de6d(0x137)]]||(_0x488489[_0x41de6d(0x200)]=!0x1),this['_sender']['send'](_0x1fae34||_0x4ce825,_0x488489,_0x556088);}[_0x3e01b0(0x138)](){const _0xc81b2a=_0x3e01b0;if(this['readyState']!==_0x1d4f07[_0xc81b2a(0x246)]){if(this[_0xc81b2a(0x19a)]===_0x1d4f07[_0xc81b2a(0x17e)]){_0x34122f(this,this['_req'],_0xc81b2a(0x22a));return;}this['_socket']&&(this[_0xc81b2a(0x1f3)]=_0x1d4f07['CLOSING'],this['_socket']['destroy']());}}}Object[_0x3e01b0(0xfc)](_0x1d4f07,'CONNECTING',{'enumerable':!0x0,'value':_0x3e607c[_0x3e01b0(0x16b)]('CONNECTING')}),Object[_0x3e01b0(0xfc)](_0x1d4f07[_0x3e01b0(0x216)],_0x3e01b0(0x17e),{'enumerable':!0x0,'value':_0x3e607c['indexOf'](_0x3e01b0(0x17e))}),Object[_0x3e01b0(0xfc)](_0x1d4f07,_0x3e01b0(0xba),{'enumerable':!0x0,'value':_0x3e607c[_0x3e01b0(0x16b)](_0x3e01b0(0xba))}),Object['defineProperty'](_0x1d4f07[_0x3e01b0(0x216)],_0x3e01b0(0xba),{'enumerable':!0x0,'value':_0x3e607c[_0x3e01b0(0x16b)](_0x3e01b0(0xba))}),Object['defineProperty'](_0x1d4f07,_0x3e01b0(0x103),{'enumerable':!0x0,'value':_0x3e607c[_0x3e01b0(0x16b)](_0x3e01b0(0x103))}),Object[_0x3e01b0(0xfc)](_0x1d4f07[_0x3e01b0(0x216)],_0x3e01b0(0x103),{'enumerable':!0x0,'value':_0x3e607c['indexOf']('CLOSING')}),Object[_0x3e01b0(0xfc)](_0x1d4f07,_0x3e01b0(0x246),{'enumerable':!0x0,'value':_0x3e607c[_0x3e01b0(0x16b)]('CLOSED')}),Object[_0x3e01b0(0xfc)](_0x1d4f07['prototype'],_0x3e01b0(0x246),{'enumerable':!0x0,'value':_0x3e607c[_0x3e01b0(0x16b)]('CLOSED')}),['binaryType','bufferedAmount',_0x3e01b0(0x251),_0x3e01b0(0xf0),_0x3e01b0(0x178),_0x3e01b0(0x19a),_0x3e01b0(0x1c8)][_0x3e01b0(0x1d6)](_0x4f21cb=>{const _0x531023=_0x3e01b0;Object[_0x531023(0xfc)](_0x1d4f07[_0x531023(0x216)],_0x4f21cb,{'enumerable':!0x0});}),['open',_0x3e01b0(0x232),_0x3e01b0(0x199),'message'][_0x3e01b0(0x1d6)](_0x1d953e=>{const _0x4e03bc=_0x3e01b0;Object['defineProperty'](_0x1d4f07[_0x4e03bc(0x216)],'on'+_0x1d953e,{'enumerable':!0x0,'get'(){for(const _0x574cbf of this['listeners'](_0x1d953e))if(_0x574cbf[_0xe945f])return _0x574cbf[_0x3940a4];return null;},'set'(_0x3c6db0){const _0x48901c=_0x4e03bc;for(const _0x41cf4f of this[_0x48901c(0xe6)](_0x1d953e))if(_0x41cf4f[_0xe945f]){this[_0x48901c(0x15f)](_0x1d953e,_0x41cf4f);break;}typeof _0x3c6db0==_0x48901c(0x1ca)&&this[_0x48901c(0x181)](_0x1d953e,_0x3c6db0,{[_0xe945f]:!0x0});}});}),_0x1d4f07[_0x3e01b0(0x216)][_0x3e01b0(0x181)]=_0x50f7ec,_0x1d4f07[_0x3e01b0(0x216)][_0x3e01b0(0x149)]=_0x22a7a8,we=_0x1d4f07;function _0x25ef32(_0x40e3de,_0x1f13e4,_0x2775c6,_0x1aa8bd){const _0x290952=_0x3e01b0,_0xa0ff02={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x5aa9a5[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x1aa8bd,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x40e3de['_autoPong']=_0xa0ff02[_0x290952(0x1b0)],!_0x5aa9a5[_0x290952(0x1e1)](_0xa0ff02[_0x290952(0x16c)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0xa0ff02[_0x290952(0x16c)]+_0x290952(0x1ef)+_0x5aa9a5[_0x290952(0x106)](',\x20')+')');let _0x387a9d;if(_0x1f13e4 instanceof _0x176bd2)_0x387a9d=_0x1f13e4;else try{_0x387a9d=new _0x176bd2(_0x1f13e4);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x1f13e4);}_0x387a9d['protocol']==='http:'?_0x387a9d[_0x290952(0x178)]='ws:':_0x387a9d[_0x290952(0x178)]===_0x290952(0x1bb)&&(_0x387a9d[_0x290952(0x178)]=_0x290952(0x12a)),_0x40e3de[_0x290952(0x1dd)]=_0x387a9d[_0x290952(0xcb)];const _0x182c89=_0x387a9d['protocol']===_0x290952(0x12a),_0x195b9c=_0x387a9d['protocol']===_0x290952(0x1f8);let _0x40bfca;if(_0x387a9d[_0x290952(0x178)]!=='ws:'&&!_0x182c89&&!_0x195b9c?_0x40bfca=_0x290952(0x221):_0x195b9c&&!_0x387a9d['pathname']?_0x40bfca=_0x290952(0x145):_0x387a9d[_0x290952(0xff)]&&(_0x40bfca='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x40bfca){const _0xc0e1ec=new SyntaxError(_0x40bfca);if(_0x40e3de[_0x290952(0x1de)]===0x0)throw _0xc0e1ec;_0x504195(_0x40e3de,_0xc0e1ec);return;}const _0x55dfc7=_0x182c89?0x1bb:0x50,_0x54e71f=_0xc9e61d(0x10)[_0x290952(0x107)]('base64'),_0x5a40f9=_0x182c89?_0x11e2b5[_0x290952(0x168)]:_0x5b2fe3[_0x290952(0x168)],_0x87bbd5=new Set();let _0x2f2d8b;if(_0xa0ff02[_0x290952(0x1c7)]=_0xa0ff02[_0x290952(0x1c7)]||(_0x182c89?_0x73a8e:_0xe0cd0f),_0xa0ff02[_0x290952(0xc1)]=_0xa0ff02['defaultPort']||_0x55dfc7,_0xa0ff02[_0x290952(0x229)]=_0x387a9d[_0x290952(0x229)]||_0x55dfc7,_0xa0ff02['host']=_0x387a9d[_0x290952(0x1f1)][_0x290952(0x1f6)]('[')?_0x387a9d[_0x290952(0x1f1)][_0x290952(0xac)](0x1,-0x1):_0x387a9d['hostname'],_0xa0ff02[_0x290952(0xe9)]={..._0xa0ff02['headers'],'Sec-WebSocket-Version':_0xa0ff02['protocolVersion'],'Sec-WebSocket-Key':_0x54e71f,'Connection':_0x290952(0x158),'Upgrade':_0x290952(0x1a1)},_0xa0ff02[_0x290952(0x207)]=_0x387a9d[_0x290952(0x15a)]+_0x387a9d[_0x290952(0xb1)],_0xa0ff02[_0x290952(0x1c2)]=_0xa0ff02[_0x290952(0x243)],_0xa0ff02['perMessageDeflate']&&(_0x2f2d8b=new _0x25663b(_0xa0ff02[_0x290952(0xbc)]!==!0x0?_0xa0ff02[_0x290952(0xbc)]:{},!0x1,_0xa0ff02[_0x290952(0x1ba)]),_0xa0ff02[_0x290952(0xe9)]['Sec-WebSocket-Extensions']=_0x4a434({[_0x25663b[_0x290952(0x137)]]:_0x2f2d8b[_0x290952(0x13d)]()})),_0x2775c6[_0x290952(0x111)]){for(const _0x4c99b9 of _0x2775c6){if(typeof _0x4c99b9!='string'||!_0xc505cc[_0x290952(0x1a0)](_0x4c99b9)||_0x87bbd5[_0x290952(0x1f4)](_0x4c99b9))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x87bbd5[_0x290952(0xdf)](_0x4c99b9);}_0xa0ff02[_0x290952(0xe9)][_0x290952(0x183)]=_0x2775c6[_0x290952(0x106)](',');}if(_0xa0ff02['origin']&&(_0xa0ff02[_0x290952(0x16c)]<0xd?_0xa0ff02[_0x290952(0xe9)][_0x290952(0x123)]=_0xa0ff02['origin']:_0xa0ff02['headers'][_0x290952(0xe2)]=_0xa0ff02[_0x290952(0x201)]),(_0x387a9d[_0x290952(0x1c4)]||_0x387a9d[_0x290952(0x24d)])&&(_0xa0ff02[_0x290952(0x179)]=_0x387a9d[_0x290952(0x1c4)]+':'+_0x387a9d[_0x290952(0x24d)]),_0x195b9c){const _0x4823bc=_0xa0ff02['path'][_0x290952(0xb0)](':');_0xa0ff02['socketPath']=_0x4823bc[0x0],_0xa0ff02[_0x290952(0x207)]=_0x4823bc[0x1];}let _0x1bb6e4;if(_0xa0ff02[_0x290952(0x20b)]){if(_0x40e3de[_0x290952(0x1de)]===0x0){_0x40e3de[_0x290952(0x148)]=_0x195b9c,_0x40e3de['_originalSecure']=_0x182c89,_0x40e3de[_0x290952(0x118)]=_0x195b9c?_0xa0ff02['socketPath']:_0x387a9d['host'];const _0xd488cb=_0x1aa8bd&&_0x1aa8bd[_0x290952(0xe9)];if(_0x1aa8bd={..._0x1aa8bd,'headers':{}},_0xd488cb){for(const [_0x20d2e2,_0x2a6261]of Object[_0x290952(0x204)](_0xd488cb))_0x1aa8bd[_0x290952(0xe9)][_0x20d2e2[_0x290952(0x1b9)]()]=_0x2a6261;}}else{if(_0x40e3de[_0x290952(0x116)](_0x290952(0xbe))===0x0){const _0x5b72e1=_0x195b9c?_0x40e3de[_0x290952(0x148)]?_0xa0ff02['socketPath']===_0x40e3de[_0x290952(0x118)]:!0x1:_0x40e3de['_originalIpc']?!0x1:_0x387a9d['host']===_0x40e3de[_0x290952(0x118)];(!_0x5b72e1||_0x40e3de['_originalSecure']&&!_0x182c89)&&(delete _0xa0ff02[_0x290952(0xe9)][_0x290952(0x17a)],delete _0xa0ff02[_0x290952(0xe9)][_0x290952(0xce)],_0x5b72e1||delete _0xa0ff02['headers'][_0x290952(0x22b)],_0xa0ff02[_0x290952(0x179)]=void 0x0);}}_0xa0ff02[_0x290952(0x179)]&&!_0x1aa8bd['headers']['authorization']&&(_0x1aa8bd[_0x290952(0xe9)][_0x290952(0x17a)]=_0x290952(0x13e)+Buffer[_0x290952(0xc5)](_0xa0ff02[_0x290952(0x179)])['toString']('base64')),_0x1bb6e4=_0x40e3de[_0x290952(0x1b7)]=_0x5a40f9(_0xa0ff02),_0x40e3de[_0x290952(0x1de)]&&_0x40e3de[_0x290952(0x1e3)]('redirect',_0x40e3de['url'],_0x1bb6e4);}else _0x1bb6e4=_0x40e3de[_0x290952(0x1b7)]=_0x5a40f9(_0xa0ff02);_0xa0ff02[_0x290952(0x1c2)]&&_0x1bb6e4['on'](_0x290952(0x1c2),()=>{const _0x126867=_0x290952;_0x34122f(_0x40e3de,_0x1bb6e4,_0x126867(0x128));}),_0x1bb6e4['on'](_0x290952(0x232),_0x650ef9=>{const _0xcc37eb=_0x290952;_0x1bb6e4===null||_0x1bb6e4[_0x499fda]||(_0x1bb6e4=_0x40e3de[_0xcc37eb(0x1b7)]=null,_0x504195(_0x40e3de,_0x650ef9));}),_0x1bb6e4['on']('response',_0x581831=>{const _0x107d45=_0x290952,_0x543177=_0x581831[_0x107d45(0xe9)][_0x107d45(0x100)],_0x25de49=_0x581831['statusCode'];if(_0x543177&&_0xa0ff02[_0x107d45(0x20b)]&&_0x25de49>=0x12c&&_0x25de49<0x190){if(++_0x40e3de[_0x107d45(0x1de)]>_0xa0ff02[_0x107d45(0x1db)]){_0x34122f(_0x40e3de,_0x1bb6e4,_0x107d45(0x129));return;}_0x1bb6e4[_0x107d45(0xf2)]();let _0x456c6f;try{_0x456c6f=new _0x176bd2(_0x543177,_0x1f13e4);}catch{const _0x3bf269=new SyntaxError('Invalid\x20URL:\x20'+_0x543177);_0x504195(_0x40e3de,_0x3bf269);return;}_0x25ef32(_0x40e3de,_0x456c6f,_0x2775c6,_0x1aa8bd);}else _0x40e3de[_0x107d45(0x1e3)](_0x107d45(0x193),_0x1bb6e4,_0x581831)||_0x34122f(_0x40e3de,_0x1bb6e4,_0x107d45(0x24b)+_0x581831[_0x107d45(0xf6)]);}),_0x1bb6e4['on'](_0x290952(0xb7),(_0x14079d,_0x33c2ce,_0x62ce15)=>{const _0x5d4f86=_0x290952;if(_0x40e3de['emit']('upgrade',_0x14079d),_0x40e3de[_0x5d4f86(0x19a)]!==_0x1d4f07[_0x5d4f86(0x17e)])return;_0x1bb6e4=_0x40e3de[_0x5d4f86(0x1b7)]=null;const _0x27aeba=_0x14079d['headers'][_0x5d4f86(0xb7)];if(_0x27aeba===void 0x0||_0x27aeba['toLowerCase']()!==_0x5d4f86(0x1a1)){_0x34122f(_0x40e3de,_0x33c2ce,'Invalid\x20Upgrade\x20header');return;}const _0x57e161=_0x5922be(_0x5d4f86(0x139))[_0x5d4f86(0x231)](_0x54e71f+_0x4402de)[_0x5d4f86(0xd0)]('base64');if(_0x14079d[_0x5d4f86(0xe9)]['sec-websocket-accept']!==_0x57e161){_0x34122f(_0x40e3de,_0x33c2ce,_0x5d4f86(0xfa));return;}const _0x105e6c=_0x14079d['headers']['sec-websocket-protocol'];let _0x6d88f3;if(_0x105e6c!==void 0x0?_0x87bbd5['size']?_0x87bbd5[_0x5d4f86(0x1f4)](_0x105e6c)||(_0x6d88f3=_0x5d4f86(0xf4)):_0x6d88f3=_0x5d4f86(0x147):_0x87bbd5[_0x5d4f86(0x1e6)]&&(_0x6d88f3=_0x5d4f86(0xbd)),_0x6d88f3){_0x34122f(_0x40e3de,_0x33c2ce,_0x6d88f3);return;}_0x105e6c&&(_0x40e3de[_0x5d4f86(0x144)]=_0x105e6c);const _0x511e5b=_0x14079d[_0x5d4f86(0xe9)]['sec-websocket-extensions'];if(_0x511e5b!==void 0x0){if(!_0x2f2d8b){_0x34122f(_0x40e3de,_0x33c2ce,_0x5d4f86(0x23d));return;}let _0x33615a;try{_0x33615a=_0x568930(_0x511e5b);}catch{_0x34122f(_0x40e3de,_0x33c2ce,_0x5d4f86(0xf9));return;}const _0x52dbc2=Object[_0x5d4f86(0x192)](_0x33615a);if(_0x52dbc2[_0x5d4f86(0x111)]!==0x1||_0x52dbc2[0x0]!==_0x25663b[_0x5d4f86(0x137)]){_0x34122f(_0x40e3de,_0x33c2ce,_0x5d4f86(0xcd));return;}try{_0x2f2d8b[_0x5d4f86(0x206)](_0x33615a[_0x25663b['extensionName']]);}catch{_0x34122f(_0x40e3de,_0x33c2ce,_0x5d4f86(0xf9));return;}_0x40e3de[_0x5d4f86(0x222)][_0x25663b[_0x5d4f86(0x137)]]=_0x2f2d8b;}_0x40e3de[_0x5d4f86(0x220)](_0x33c2ce,_0x62ce15,{'allowSynchronousEvents':_0xa0ff02[_0x5d4f86(0x24c)],'generateMask':_0xa0ff02[_0x5d4f86(0x252)],'maxPayload':_0xa0ff02[_0x5d4f86(0x1ba)],'skipUTF8Validation':_0xa0ff02[_0x5d4f86(0x1e0)]});}),_0xa0ff02[_0x290952(0xd6)]?_0xa0ff02[_0x290952(0xd6)](_0x1bb6e4,_0x40e3de):_0x1bb6e4[_0x290952(0x1fd)]();}function _0x504195(_0x190d00,_0x5aed6b){const _0x228cbc=_0x3e01b0;_0x190d00[_0x228cbc(0x1f3)]=_0x1d4f07[_0x228cbc(0x103)],_0x190d00[_0x228cbc(0x171)]=!0x0,_0x190d00[_0x228cbc(0x1e3)](_0x228cbc(0x232),_0x5aed6b),_0x190d00[_0x228cbc(0x177)]();}function _0xe0cd0f(_0x3c4329){const _0x2613d8=_0x3e01b0;return _0x3c4329[_0x2613d8(0x207)]=_0x3c4329[_0x2613d8(0x240)],_0x44ef84['connect'](_0x3c4329);}function _0x73a8e(_0x4282b5){const _0x1f7e05=_0x3e01b0;return _0x4282b5[_0x1f7e05(0x207)]=void 0x0,!_0x4282b5[_0x1f7e05(0x211)]&&_0x4282b5[_0x1f7e05(0x211)]!==''&&(_0x4282b5['servername']=_0x44ef84[_0x1f7e05(0x141)](_0x4282b5[_0x1f7e05(0x22b)])?'':_0x4282b5[_0x1f7e05(0x22b)]),_0x2d4509[_0x1f7e05(0x1fa)](_0x4282b5);}function _0x34122f(_0x4598ff,_0x1fd005,_0x423933){const _0x508517=_0x3e01b0;_0x4598ff['_readyState']=_0x1d4f07[_0x508517(0x103)];const _0x5e42e1=new Error(_0x423933);Error[_0x508517(0x1a6)](_0x5e42e1,_0x34122f),_0x1fd005[_0x508517(0x195)]?(_0x1fd005[_0x499fda]=!0x0,_0x1fd005[_0x508517(0xf2)](),_0x1fd005['socket']&&!_0x1fd005['socket'][_0x508517(0x14b)]&&_0x1fd005[_0x508517(0x159)]['destroy'](),process[_0x508517(0x1e5)](_0x504195,_0x4598ff,_0x5e42e1)):(_0x1fd005[_0x508517(0x1ce)](_0x5e42e1),_0x1fd005[_0x508517(0x155)](_0x508517(0x232),_0x4598ff[_0x508517(0x1e3)][_0x508517(0x1ab)](_0x4598ff,_0x508517(0x232))),_0x1fd005[_0x508517(0x155)]('close',_0x4598ff['emitClose'][_0x508517(0x1ab)](_0x4598ff)));}function _0x4a559f(_0x2fac33,_0x546373,_0x52fd65){const _0x13ebe8=_0x3e01b0;if(_0x546373){const _0x29f880=_0x150e43(_0x546373)?_0x546373[_0x13ebe8(0x1e6)]:_0x4a8313(_0x546373)[_0x13ebe8(0x111)];_0x2fac33[_0x13ebe8(0xae)]?_0x2fac33['_sender'][_0x13ebe8(0xf3)]+=_0x29f880:_0x2fac33[_0x13ebe8(0xbf)]+=_0x29f880;}if(_0x52fd65){const _0x45ed2c=new Error(_0x13ebe8(0x1a2)+_0x2fac33['readyState']+'\x20('+_0x3e607c[_0x2fac33[_0x13ebe8(0x19a)]]+')');process[_0x13ebe8(0x1e5)](_0x52fd65,_0x45ed2c);}}function _0x2fc244(_0x4f2377,_0x2b7f00){const _0x25c675=_0x3e01b0,_0xfb4c00=this[_0x790e25];_0xfb4c00[_0x25c675(0x233)]=!0x0,_0xfb4c00[_0x25c675(0x20a)]=_0x2b7f00,_0xfb4c00['_closeCode']=_0x4f2377,_0xfb4c00['_socket'][_0x790e25]!==void 0x0&&(_0xfb4c00[_0x25c675(0xae)][_0x25c675(0x15f)](_0x25c675(0x174),_0x33f129),process[_0x25c675(0x1e5)](_0x176751,_0xfb4c00[_0x25c675(0xae)]),_0x4f2377===0x3ed?_0xfb4c00[_0x25c675(0x199)]():_0xfb4c00[_0x25c675(0x199)](_0x4f2377,_0x2b7f00));}function _0x49befc(){const _0x3a9360=_0x3e01b0,_0x24bd6a=this[_0x790e25];_0x24bd6a[_0x3a9360(0xf0)]||_0x24bd6a[_0x3a9360(0xae)][_0x3a9360(0x156)]();}function _0x3c2a40(_0x21aa33){const _0x5c28bc=_0x3e01b0,_0x16823a=this[_0x790e25];_0x16823a[_0x5c28bc(0xae)][_0x790e25]!==void 0x0&&(_0x16823a[_0x5c28bc(0xae)][_0x5c28bc(0x15f)](_0x5c28bc(0x174),_0x33f129),process[_0x5c28bc(0x1e5)](_0x176751,_0x16823a[_0x5c28bc(0xae)]),_0x16823a[_0x5c28bc(0x199)](_0x21aa33[_0x488540])),_0x16823a[_0x5c28bc(0x171)]||(_0x16823a[_0x5c28bc(0x171)]=!0x0,_0x16823a[_0x5c28bc(0x1e3)]('error',_0x21aa33));}function _0x1052a8(){this[_0x790e25]['emitClose']();}function _0x56ec52(_0x57b276,_0x98c9cc){const _0x10c1c3=_0x3e01b0;this[_0x790e25][_0x10c1c3(0x1e3)](_0x10c1c3(0x162),_0x57b276,_0x98c9cc);}function _0x50faa3(_0x168ba9){const _0x560c93=_0x3e01b0,_0x389dd8=this[_0x790e25];_0x389dd8[_0x560c93(0x254)]&&_0x389dd8[_0x560c93(0x133)](_0x168ba9,!this[_0x560c93(0xd3)],_0x1b2558),_0x389dd8[_0x560c93(0x1e3)](_0x560c93(0x161),_0x168ba9);}function _0x59ab4b(_0x3bfb9b){const _0x9ef8de=_0x3e01b0;this[_0x790e25][_0x9ef8de(0x1e3)](_0x9ef8de(0x133),_0x3bfb9b);}function _0x176751(_0x5201b4){const _0x3ed6a2=_0x3e01b0;_0x5201b4[_0x3ed6a2(0x156)]();}function _0x3674aa(_0x86da1e){const _0xd20dd6=_0x3e01b0,_0x1059d1=this[_0x790e25];_0x1059d1[_0xd20dd6(0x19a)]!==_0x1d4f07[_0xd20dd6(0x246)]&&(_0x1059d1[_0xd20dd6(0x19a)]===_0x1d4f07['OPEN']&&(_0x1059d1[_0xd20dd6(0x1f3)]=_0x1d4f07[_0xd20dd6(0x103)],_0x2f820b(_0x1059d1)),this['_socket'][_0xd20dd6(0x1fd)](),_0x1059d1[_0xd20dd6(0x171)]||(_0x1059d1[_0xd20dd6(0x171)]=!0x0,_0x1059d1[_0xd20dd6(0x1e3)](_0xd20dd6(0x232),_0x86da1e)));}function _0x2f820b(_0x5c1aef){const _0x27fc36=_0x3e01b0;_0x5c1aef[_0x27fc36(0x166)]=setTimeout(_0x5c1aef[_0x27fc36(0xae)][_0x27fc36(0x1ce)][_0x27fc36(0x1ab)](_0x5c1aef[_0x27fc36(0xae)]),_0x144a06);}function _0x4d5ca8(){const _0xf3952f=_0x3e01b0,_0x1052f8=this[_0x790e25];this[_0xf3952f(0x15f)](_0xf3952f(0x199),_0x4d5ca8),this[_0xf3952f(0x15f)](_0xf3952f(0x174),_0x33f129),this['removeListener'](_0xf3952f(0x1fd),_0x403bf2),_0x1052f8[_0xf3952f(0x1f3)]=_0x1d4f07[_0xf3952f(0x103)];let _0xb1538;!this['_readableState'][_0xf3952f(0x105)]&&!_0x1052f8[_0xf3952f(0x233)]&&!_0x1052f8[_0xf3952f(0x10d)][_0xf3952f(0x241)][_0xf3952f(0x115)]&&(_0xb1538=_0x1052f8['_socket']['read']())!==null&&_0x1052f8[_0xf3952f(0x10d)]['write'](_0xb1538),_0x1052f8['_receiver'][_0xf3952f(0x1fd)](),this[_0x790e25]=void 0x0,clearTimeout(_0x1052f8[_0xf3952f(0x166)]),_0x1052f8['_receiver']['_writableState']['finished']||_0x1052f8[_0xf3952f(0x10d)][_0xf3952f(0x241)][_0xf3952f(0x115)]?_0x1052f8[_0xf3952f(0x177)]():(_0x1052f8[_0xf3952f(0x10d)]['on']('error',_0x1052a8),_0x1052f8['_receiver']['on']('finish',_0x1052a8));}function _0x33f129(_0x5d5080){this[_0x790e25]['_receiver']['write'](_0x5d5080)||this['pause']();}function _0x403bf2(){const _0x3de444=_0x3e01b0,_0x4ed02f=this[_0x790e25];_0x4ed02f['_readyState']=_0x1d4f07[_0x3de444(0x103)],_0x4ed02f[_0x3de444(0x10d)][_0x3de444(0x1fd)](),this['end']();}function _0x4419a0(){const _0x32e4b0=_0x3e01b0,_0x1fcce3=this[_0x790e25];this[_0x32e4b0(0x15f)](_0x32e4b0(0x232),_0x4419a0),this['on'](_0x32e4b0(0x232),_0x1b2558),_0x1fcce3&&(_0x1fcce3[_0x32e4b0(0x1f3)]=_0x1d4f07[_0x32e4b0(0x103)],this[_0x32e4b0(0x1ce)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0xf32358}=_0x540fef;function _0x337f08(_0x5a8076){const _0x323f0c=_0x46c1;_0x5a8076[_0x323f0c(0x1e3)](_0x323f0c(0x199));}function _0x13faab(){const _0x12f5fd=_0x46c1;!this[_0x12f5fd(0x14b)]&&this[_0x12f5fd(0x241)][_0x12f5fd(0x13b)]&&this[_0x12f5fd(0x1ce)]();}function _0x39b7d8(_0x49f1f7){const _0x36ce54=_0x46c1;this['removeListener'](_0x36ce54(0x232),_0x39b7d8),this[_0x36ce54(0x1ce)](),this[_0x36ce54(0x116)]('error')===0x0&&this[_0x36ce54(0x1e3)](_0x36ce54(0x232),_0x49f1f7);}function _0x4b125b(_0xf5eefc,_0x3ce25c){const _0x49b9af=_0x46c1;let _0x5c3db1=!0x0;const _0x22d08b=new _0xf32358({..._0x3ce25c,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0xf5eefc['on'](_0x49b9af(0x162),function(_0x172611,_0x19aed8){const _0x56a38f=_0x49b9af,_0x380271=!_0x19aed8&&_0x22d08b[_0x56a38f(0x1fe)]['objectMode']?_0x172611[_0x56a38f(0x107)]():_0x172611;_0x22d08b[_0x56a38f(0x1bc)](_0x380271)||_0xf5eefc['pause']();}),_0xf5eefc[_0x49b9af(0x155)](_0x49b9af(0x232),function(_0x960c08){const _0x5bfa80=_0x49b9af;_0x22d08b['destroyed']||(_0x5c3db1=!0x1,_0x22d08b[_0x5bfa80(0x1ce)](_0x960c08));}),_0xf5eefc['once']('close',function(){const _0x49b64a=_0x49b9af;_0x22d08b[_0x49b64a(0x14b)]||_0x22d08b['push'](null);}),_0x22d08b[_0x49b9af(0xda)]=function(_0x21f9c8,_0xef50d8){const _0x5bffa9=_0x49b9af;if(_0xf5eefc[_0x5bffa9(0x19a)]===_0xf5eefc[_0x5bffa9(0x246)]){_0xef50d8(_0x21f9c8),process['nextTick'](_0x337f08,_0x22d08b);return;}let _0x5e8a69=!0x1;_0xf5eefc[_0x5bffa9(0x155)]('error',function(_0x10933c){_0x5e8a69=!0x0,_0xef50d8(_0x10933c);}),_0xf5eefc[_0x5bffa9(0x155)](_0x5bffa9(0x199),function(){const _0x2869a8=_0x5bffa9;_0x5e8a69||_0xef50d8(_0x21f9c8),process[_0x2869a8(0x1e5)](_0x337f08,_0x22d08b);}),_0x5c3db1&&_0xf5eefc['terminate']();},_0x22d08b[_0x49b9af(0x1bd)]=function(_0x18a862){const _0xfba6=_0x49b9af;if(_0xf5eefc[_0xfba6(0x19a)]===_0xf5eefc[_0xfba6(0x17e)]){_0xf5eefc['once'](_0xfba6(0xd4),function(){const _0xa6e1c1=_0xfba6;_0x22d08b[_0xa6e1c1(0x1bd)](_0x18a862);});return;}_0xf5eefc[_0xfba6(0xae)]!==null&&(_0xf5eefc[_0xfba6(0xae)][_0xfba6(0x241)]['finished']?(_0x18a862(),_0x22d08b[_0xfba6(0x1fe)][_0xfba6(0x105)]&&_0x22d08b[_0xfba6(0x1ce)]()):(_0xf5eefc['_socket']['once'](_0xfba6(0x127),function(){_0x18a862();}),_0xf5eefc[_0xfba6(0x199)]()));},_0x22d08b[_0x49b9af(0x1a9)]=function(){const _0x5b1e6b=_0x49b9af;_0xf5eefc[_0x5b1e6b(0xf0)]&&_0xf5eefc[_0x5b1e6b(0x156)]();},_0x22d08b[_0x49b9af(0xc2)]=function(_0x47f276,_0x25da3e,_0x31d520){const _0x5e8e9a=_0x49b9af;if(_0xf5eefc[_0x5e8e9a(0x19a)]===_0xf5eefc[_0x5e8e9a(0x17e)]){_0xf5eefc['once'](_0x5e8e9a(0xd4),function(){const _0x313b67=_0x5e8e9a;_0x22d08b[_0x313b67(0xc2)](_0x47f276,_0x25da3e,_0x31d520);});return;}_0xf5eefc[_0x5e8e9a(0x1ff)](_0x47f276,_0x31d520);},_0x22d08b['on']('end',_0x13faab),_0x22d08b['on'](_0x49b9af(0x232),_0x39b7d8),_0x22d08b;}return Oe=_0x4b125b,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x261af9}=ne();function _0x5da739(_0x4af132){const _0x46168f=_0x46c1,_0x1395e7=new Set();let _0x58dbc3=-0x1,_0x4c334b=-0x1,_0x50024b=0x0;for(_0x50024b;_0x50024b<_0x4af132[_0x46168f(0x111)];_0x50024b++){const _0x2b5bd4=_0x4af132['charCodeAt'](_0x50024b);if(_0x4c334b===-0x1&&_0x261af9[_0x2b5bd4]===0x1)_0x58dbc3===-0x1&&(_0x58dbc3=_0x50024b);else{if(_0x50024b!==0x0&&(_0x2b5bd4===0x20||_0x2b5bd4===0x9))_0x4c334b===-0x1&&_0x58dbc3!==-0x1&&(_0x4c334b=_0x50024b);else{if(_0x2b5bd4===0x2c){if(_0x58dbc3===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x50024b);_0x4c334b===-0x1&&(_0x4c334b=_0x50024b);const _0xce783c=_0x4af132['slice'](_0x58dbc3,_0x4c334b);if(_0x1395e7['has'](_0xce783c))throw new SyntaxError(_0x46168f(0x15b)+_0xce783c+_0x46168f(0x238));_0x1395e7[_0x46168f(0xdf)](_0xce783c),_0x58dbc3=_0x4c334b=-0x1;}else throw new SyntaxError(_0x46168f(0x126)+_0x50024b);}}}if(_0x58dbc3===-0x1||_0x4c334b!==-0x1)throw new SyntaxError(_0x46168f(0xf1));const _0x497bc3=_0x4af132['slice'](_0x58dbc3,_0x50024b);if(_0x1395e7[_0x46168f(0x1f4)](_0x497bc3))throw new SyntaxError(_0x46168f(0x15b)+_0x497bc3+'\x22\x20subprotocol\x20is\x20duplicated');return _0x1395e7[_0x46168f(0xdf)](_0x497bc3),_0x1395e7;}return Ce={'parse':_0x5da739},Ce;}var Te,ot;function er(){const _0x175099=_0x590544;if(ot)return Te;ot=0x1;const _0x316bbf=_0x131ed8,_0x705ba2=_0x47864f,{Duplex:_0x24ef49}=_0x540fef,{createHash:_0xaed6b6}=_0x6c23ef,_0x233d06=pt(),_0x53fea3=he(),_0x3228db=Jt(),_0x3b7526=Ie(),{GUID:_0x494bf6,kWebSocket:_0xdcf079}=V(),_0x319bb5=/^[+/0-9A-Za-z]{22}==$/,_0x49f595=0x0,_0x3c1515=0x1,_0x372f0c=0x2;class _0xa831e5 extends _0x316bbf{constructor(_0x1d5df1,_0x59ae05){const _0x36bfd6=_0x46c1;if(super(),_0x1d5df1={'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':_0x3b7526,..._0x1d5df1},_0x1d5df1[_0x36bfd6(0x229)]==null&&!_0x1d5df1[_0x36bfd6(0x136)]&&!_0x1d5df1['noServer']||_0x1d5df1[_0x36bfd6(0x229)]!=null&&(_0x1d5df1[_0x36bfd6(0x136)]||_0x1d5df1['noServer'])||_0x1d5df1['server']&&_0x1d5df1[_0x36bfd6(0xaf)])throw new TypeError(_0x36bfd6(0x1d4));if(_0x1d5df1['port']!=null?(this[_0x36bfd6(0x143)]=_0x705ba2[_0x36bfd6(0x132)]((_0x37ab9e,_0xe48512)=>{const _0x1aea71=_0x36bfd6,_0x552c53=_0x705ba2[_0x1aea71(0x1af)][0x1aa];_0xe48512[_0x1aea71(0xee)](0x1aa,{'Content-Length':_0x552c53[_0x1aea71(0x111)],'Content-Type':_0x1aea71(0x109)}),_0xe48512[_0x1aea71(0x1fd)](_0x552c53);}),this[_0x36bfd6(0x143)][_0x36bfd6(0x10c)](_0x1d5df1[_0x36bfd6(0x229)],_0x1d5df1[_0x36bfd6(0x22b)],_0x1d5df1[_0x36bfd6(0x1c9)],_0x59ae05)):_0x1d5df1['server']&&(this[_0x36bfd6(0x143)]=_0x1d5df1[_0x36bfd6(0x136)]),this[_0x36bfd6(0x143)]){const _0x373591=this[_0x36bfd6(0x1e3)][_0x36bfd6(0x1ab)](this,_0x36bfd6(0x239));this['_removeListeners']=_0x21a132(this[_0x36bfd6(0x143)],{'listening':this[_0x36bfd6(0x1e3)][_0x36bfd6(0x1ab)](this,'listening'),'error':this[_0x36bfd6(0x1e3)]['bind'](this,_0x36bfd6(0x232)),'upgrade':(_0x28c66f,_0x1fe782,_0x443621)=>{const _0x1b7045=_0x36bfd6;this[_0x1b7045(0x184)](_0x28c66f,_0x1fe782,_0x443621,_0x373591);}});}_0x1d5df1[_0x36bfd6(0xbc)]===!0x0&&(_0x1d5df1[_0x36bfd6(0xbc)]={}),_0x1d5df1['clientTracking']&&(this[_0x36bfd6(0x1d8)]=new Set(),this[_0x36bfd6(0x21d)]=!0x1),this['options']=_0x1d5df1,this[_0x36bfd6(0x142)]=_0x49f595;}[_0x175099(0xeb)](){const _0x15ab35=_0x175099;if(this[_0x15ab35(0xea)][_0x15ab35(0xaf)])throw new Error(_0x15ab35(0x1b1));return this[_0x15ab35(0x143)]?this[_0x15ab35(0x143)][_0x15ab35(0xeb)]():null;}[_0x175099(0x199)](_0x265de7){const _0x21c8a7=_0x175099;if(this[_0x21c8a7(0x142)]===_0x372f0c){_0x265de7&&this[_0x21c8a7(0x155)](_0x21c8a7(0x199),()=>{_0x265de7(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x21c8a7(0x1e5)](_0x5eaf42,this);return;}if(_0x265de7&&this[_0x21c8a7(0x155)](_0x21c8a7(0x199),_0x265de7),this[_0x21c8a7(0x142)]!==_0x3c1515){if(this['_state']=_0x3c1515,this[_0x21c8a7(0xea)]['noServer']||this['options'][_0x21c8a7(0x136)])this['_server']&&(this[_0x21c8a7(0x14d)](),this[_0x21c8a7(0x14d)]=this[_0x21c8a7(0x143)]=null),this[_0x21c8a7(0x1d8)]?this[_0x21c8a7(0x1d8)][_0x21c8a7(0x1e6)]?this[_0x21c8a7(0x21d)]=!0x0:process[_0x21c8a7(0x1e5)](_0x5eaf42,this):process[_0x21c8a7(0x1e5)](_0x5eaf42,this);else{const _0x4cac57=this[_0x21c8a7(0x143)];this[_0x21c8a7(0x14d)](),this[_0x21c8a7(0x14d)]=this[_0x21c8a7(0x143)]=null,_0x4cac57[_0x21c8a7(0x199)](()=>{_0x5eaf42(this);});}}}['shouldHandle'](_0xbed4a2){const _0x2db7e0=_0x175099;if(this[_0x2db7e0(0xea)]['path']){const _0x14e7f4=_0xbed4a2[_0x2db7e0(0x1c8)][_0x2db7e0(0x16b)]('?');if((_0x14e7f4!==-0x1?_0xbed4a2[_0x2db7e0(0x1c8)]['slice'](0x0,_0x14e7f4):_0xbed4a2[_0x2db7e0(0x1c8)])!==this[_0x2db7e0(0xea)]['path'])return!0x1;}return!0x0;}[_0x175099(0x184)](_0x193131,_0x4a07d6,_0x1eba9f,_0x45b890){const _0x2a4d5c=_0x175099;_0x4a07d6['on'](_0x2a4d5c(0x232),_0x256fbd);const _0x4f6261=_0x193131[_0x2a4d5c(0xe9)][_0x2a4d5c(0x150)],_0x114d28=_0x193131[_0x2a4d5c(0xe9)][_0x2a4d5c(0xb7)],_0x402c5a=+_0x193131[_0x2a4d5c(0xe9)]['sec-websocket-version'];if(_0x193131[_0x2a4d5c(0x1ae)]!==_0x2a4d5c(0x209)){_0x51b6dd(this,_0x193131,_0x4a07d6,0x195,_0x2a4d5c(0x253));return;}if(_0x114d28===void 0x0||_0x114d28[_0x2a4d5c(0x1b9)]()!=='websocket'){_0x51b6dd(this,_0x193131,_0x4a07d6,0x190,_0x2a4d5c(0x101));return;}if(_0x4f6261===void 0x0||!_0x319bb5[_0x2a4d5c(0x1a0)](_0x4f6261)){_0x51b6dd(this,_0x193131,_0x4a07d6,0x190,_0x2a4d5c(0x163));return;}if(_0x402c5a!==0xd&&_0x402c5a!==0x8){_0x51b6dd(this,_0x193131,_0x4a07d6,0x190,_0x2a4d5c(0xb8),{'Sec-WebSocket-Version':_0x2a4d5c(0x19c)});return;}if(!this[_0x2a4d5c(0x212)](_0x193131)){_0x8637ad(_0x4a07d6,0x190);return;}const _0x5bfa00=_0x193131[_0x2a4d5c(0xe9)][_0x2a4d5c(0x180)];let _0x1fbd1e=new Set();if(_0x5bfa00!==void 0x0)try{_0x1fbd1e=_0x3228db[_0x2a4d5c(0x1e2)](_0x5bfa00);}catch{_0x51b6dd(this,_0x193131,_0x4a07d6,0x190,_0x2a4d5c(0x210));return;}const _0x4b1981=_0x193131['headers']['sec-websocket-extensions'],_0x5e78c6={};if(this[_0x2a4d5c(0xea)][_0x2a4d5c(0xbc)]&&_0x4b1981!==void 0x0){const _0x295879=new _0x53fea3(this[_0x2a4d5c(0xea)][_0x2a4d5c(0xbc)],!0x0,this[_0x2a4d5c(0xea)][_0x2a4d5c(0x1ba)]);try{const _0x497df4=_0x233d06['parse'](_0x4b1981);_0x497df4[_0x53fea3[_0x2a4d5c(0x137)]]&&(_0x295879[_0x2a4d5c(0x206)](_0x497df4[_0x53fea3['extensionName']]),_0x5e78c6[_0x53fea3[_0x2a4d5c(0x137)]]=_0x295879);}catch{_0x51b6dd(this,_0x193131,_0x4a07d6,0x190,_0x2a4d5c(0x131));return;}}if(this[_0x2a4d5c(0xea)][_0x2a4d5c(0x124)]){const _0x330c7f={'origin':_0x193131[_0x2a4d5c(0xe9)][''+(_0x402c5a===0x8?_0x2a4d5c(0xd9):_0x2a4d5c(0x201))],'secure':!!(_0x193131[_0x2a4d5c(0x159)][_0x2a4d5c(0x25c)]||_0x193131[_0x2a4d5c(0x159)][_0x2a4d5c(0x110)]),'req':_0x193131};if(this['options'][_0x2a4d5c(0x124)]['length']===0x2){this[_0x2a4d5c(0xea)][_0x2a4d5c(0x124)](_0x330c7f,(_0x4b2b97,_0x28521c,_0x27bc0d,_0x531561)=>{const _0x7dee55=_0x2a4d5c;if(!_0x4b2b97)return _0x8637ad(_0x4a07d6,_0x28521c||0x191,_0x27bc0d,_0x531561);this[_0x7dee55(0x185)](_0x5e78c6,_0x4f6261,_0x1fbd1e,_0x193131,_0x4a07d6,_0x1eba9f,_0x45b890);});return;}if(!this['options'][_0x2a4d5c(0x124)](_0x330c7f))return _0x8637ad(_0x4a07d6,0x191);}this[_0x2a4d5c(0x185)](_0x5e78c6,_0x4f6261,_0x1fbd1e,_0x193131,_0x4a07d6,_0x1eba9f,_0x45b890);}[_0x175099(0x185)](_0x361a59,_0x36c356,_0x33619c,_0x1daed1,_0xe54a87,_0x43bd0e,_0x3cfabc){const _0x557739=_0x175099;if(!_0xe54a87[_0x557739(0x11e)]||!_0xe54a87[_0x557739(0x17c)])return _0xe54a87[_0x557739(0x1ce)]();if(_0xe54a87[_0xdcf079])throw new Error(_0x557739(0x17f));if(this[_0x557739(0x142)]>_0x49f595)return _0x8637ad(_0xe54a87,0x1f7);const _0x541195=[_0x557739(0x1ad),'Upgrade:\x20websocket',_0x557739(0x172),_0x557739(0x170)+_0xaed6b6(_0x557739(0x139))[_0x557739(0x231)](_0x36c356+_0x494bf6)[_0x557739(0xd0)](_0x557739(0x16e))],_0x1fa485=new this['options'][(_0x557739(0xf7))](null,void 0x0,this[_0x557739(0xea)]);if(_0x33619c['size']){const _0x1f435d=this['options']['handleProtocols']?this['options'][_0x557739(0x1e4)](_0x33619c,_0x1daed1):_0x33619c['values']()[_0x557739(0x1d3)]()[_0x557739(0x18e)];_0x1f435d&&(_0x541195['push'](_0x557739(0x23c)+_0x1f435d),_0x1fa485[_0x557739(0x144)]=_0x1f435d);}if(_0x361a59[_0x53fea3[_0x557739(0x137)]]){const _0x54576e=_0x361a59[_0x53fea3[_0x557739(0x137)]][_0x557739(0x18d)],_0x3569b0=_0x233d06[_0x557739(0x146)]({[_0x53fea3['extensionName']]:[_0x54576e]});_0x541195['push']('Sec-WebSocket-Extensions:\x20'+_0x3569b0),_0x1fa485[_0x557739(0x222)]=_0x361a59;}this[_0x557739(0x1e3)](_0x557739(0xe9),_0x541195,_0x1daed1),_0xe54a87['write'](_0x541195[_0x557739(0x249)]('\x0d\x0a')[_0x557739(0x106)]('\x0d\x0a')),_0xe54a87['removeListener'](_0x557739(0x232),_0x256fbd),_0x1fa485[_0x557739(0x220)](_0xe54a87,_0x43bd0e,{'allowSynchronousEvents':this[_0x557739(0xea)]['allowSynchronousEvents'],'maxPayload':this[_0x557739(0xea)][_0x557739(0x1ba)],'skipUTF8Validation':this['options'][_0x557739(0x1e0)]}),this['clients']&&(this[_0x557739(0x1d8)][_0x557739(0xdf)](_0x1fa485),_0x1fa485['on'](_0x557739(0x199),()=>{const _0x28fe0d=_0x557739;this['clients'][_0x28fe0d(0x169)](_0x1fa485),this['_shouldEmitClose']&&!this[_0x28fe0d(0x1d8)][_0x28fe0d(0x1e6)]&&process[_0x28fe0d(0x1e5)](_0x5eaf42,this);})),_0x3cfabc(_0x1fa485,_0x1daed1);}}Te=_0xa831e5;function _0x21a132(_0x3c4b13,_0x36ea4d){const _0x16bfb2=_0x175099;for(const _0x4bdb7a of Object[_0x16bfb2(0x192)](_0x36ea4d))_0x3c4b13['on'](_0x4bdb7a,_0x36ea4d[_0x4bdb7a]);return function(){const _0x45bb87=_0x16bfb2;for(const _0x1cb633 of Object[_0x45bb87(0x192)](_0x36ea4d))_0x3c4b13[_0x45bb87(0x15f)](_0x1cb633,_0x36ea4d[_0x1cb633]);};}function _0x5eaf42(_0x48cef3){const _0x59fefd=_0x175099;_0x48cef3[_0x59fefd(0x142)]=_0x372f0c,_0x48cef3['emit'](_0x59fefd(0x199));}function _0x256fbd(){const _0x422a1c=_0x175099;this[_0x422a1c(0x1ce)]();}function _0x8637ad(_0x3ff347,_0x54f0c2,_0x31c3b9,_0x5d8abb){const _0x19c1e5=_0x175099;_0x31c3b9=_0x31c3b9||_0x705ba2[_0x19c1e5(0x1af)][_0x54f0c2],_0x5d8abb={'Connection':'close','Content-Type':'text/html','Content-Length':Buffer[_0x19c1e5(0x225)](_0x31c3b9),..._0x5d8abb},_0x3ff347[_0x19c1e5(0x155)]('finish',_0x3ff347['destroy']),_0x3ff347[_0x19c1e5(0x1fd)](_0x19c1e5(0x15d)+_0x54f0c2+'\x20'+_0x705ba2[_0x19c1e5(0x1af)][_0x54f0c2]+'\x0d\x0a'+Object[_0x19c1e5(0x192)](_0x5d8abb)[_0x19c1e5(0xdb)](_0x4e996e=>_0x4e996e+':\x20'+_0x5d8abb[_0x4e996e])['join']('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x31c3b9);}function _0x51b6dd(_0x50e5f5,_0x596897,_0x5c12e3,_0x37f5d3,_0xcf89bd,_0x3e683b){const _0x2c57ba=_0x175099;if(_0x50e5f5['listenerCount'](_0x2c57ba(0x1f5))){const _0x5bf6b7=new Error(_0xcf89bd);Error[_0x2c57ba(0x1a6)](_0x5bf6b7,_0x51b6dd),_0x50e5f5[_0x2c57ba(0x1e3)](_0x2c57ba(0x1f5),_0x5bf6b7,_0x5c12e3,_0x596897);}else _0x8637ad(_0x5c12e3,_0x37f5d3,_0xcf89bd,_0x3e683b);}return Te;}function _0x2cc8(){const _0x5464ca=['writable','kByteLength','CONNECTING','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','sec-websocket-protocol','addEventListener','stream','Sec-WebSocket-Protocol','handleUpgrade','completeUpgrade','object','936DSUMrt','pow','_buffers','WS_NO_BUFFER_UTIL','4POjEQi','onStarting','params','value','_fragmented','_options','Cookie','keys','unexpected-response','onclose','setHeader','setNoDelay','client','_compressed','close','readyState','kReason','13,\x208','setTimeout','WS_ERR_UNEXPECTED_RSV_1','_compress','test','websocket','WebSocket\x20is\x20not\x20open:\x20readyState\x20','default','isServer','drain','captureStackTrace','pipe','catch','_read','buffer','bind','2859108JgxXFP','HTTP/1.1\x20101\x20Switching\x20Protocols','method','STATUS_CODES','autoPong','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','_generateMask','replace','_opcode','target','concurrencyLimit','_req','getPayloadLength64','toLowerCase','maxPayload','https:','push','_final','File','wasClean','RSV1\x20must\x20be\x20clear','clientNoContextTakeover','timeout','collaboration-client-node.config','username','haveLength','kError','createConnection','url','backlog','function','enqueue','dataMessage','zlibDeflateOptions','destroy','WS_ERR_UNEXPECTED_MASK','status-code','_mask','shift','next','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','bufferedAmount','forEach','write','clients','\x22\x20must\x20have\x20only\x20a\x20single\x20value','Max\x20payload\x20size\x20exceeded','maxRedirects','getInfo','_url','_redirects','getMask','skipUTF8Validation','includes','parse','emit','handleProtocols','nextTick','size','_registerDependencies','isValidUTF8','uncork','reason','_closeCode','_payloadLength','nodebuffer','toStringTag','\x20(supported\x20versions:\x20','kAborted','hostname','customHeaders','_readyState','has','wsClientError','startsWith','_decompress','ws+unix:','4253095XfhwmB','connect','clientMaxWindowBits','getPayloadLength16','end','_readableState','send','compress','origin','getData','_masked','entries','client_max_window_bits','accept','path','alloc','GET','_closeMessage','followRedirects','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','_threshold','_totalPayloadLength','maskBuffer','Invalid\x20Sec-WebSocket-Protocol\x20header','servername','shouldHandle','WS_ERR_INVALID_OPCODE','isInteger','_inflate','prototype','readUInt32BE','server_no_context_takeover','isArray','serverNoContextTakeover','normalizeParams','Unknown\x20parameter\x20\x22','_shouldEmitClose','\x22:\x20','blob','setSocket','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','_extensions','mask','invalid\x20opcode\x200','byteLength','kRun','writeUInt16BE','createSocket','port','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','host','server_max_window_bits','unmask','kMessage','reset','handleEvent','update','error','_closeFrameReceived','pluginName','_loop','controlMessage','invalid\x20payload\x20length\x20','\x22\x20subprotocol\x20is\x20duplicated','connection','isBuffer','_injector','Sec-WebSocket-Protocol:\x20','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','_max_window_bits','hasOwnProperty','socketPath','_writableState','pause','handshakeTimeout','_errored','_configService','CLOSED','_allowSynchronousEvents','set','concat','_fragments','Unexpected\x20server\x20response:\x20','allowSynchronousEvents','password','14RPhNFT','find','byteOffset','extensions','generateMask','Invalid\x20HTTP\x20method','_autoPong','frame','Module','_closeFrameSent','readUInt16BE','total-length','number','kData','authorized','onerror','9073370YdwetF','constructor','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','slice','pending','_socket','noServer','split','search','consume','code','buffers','_messageLength','2874753rqnqzR','upgrade','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','MASK\x20must\x20be\x20set','OPEN','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','perMessageDeflate','Server\x20sent\x20no\x20subprotocol','redirect','_bufferedAmount','arrayBuffer','defaultPort','_write','MASK\x20must\x20be\x20clear','rsv1','from','_fin','createDeflateRaw','1nHeXRL','dequeue','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','href','jobs','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','cookie','readOnly','digest','createError','acceptAsClient','_isServer','open','env','finishRequest','threshold','client_no_context_takeover','sec-websocket-origin','_destroy','map','serverMaxWindowBits','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','kDone','add','_sender','onmessage','Origin','arraybuffer','removeAllListeners','Parameter\x20\x22','listeners','Invalid\x20value\x20for\x20parameter\x20\x22','Blob','headers','options','address','onopen','getOwnPropertyDescriptor','writeHead','_no_context_takeover','isPaused','Unexpected\x20end\x20of\x20input','abort','_bufferedBytes','Server\x20sent\x20an\x20invalid\x20subprotocol','binaryType','statusCode','WebSocket','flush','Invalid\x20Sec-WebSocket-Extensions\x20header','Invalid\x20Sec-WebSocket-Accept\x20header','433588BOSWrg','defineProperty','opcode','dispatch','hash','location','Invalid\x20Upgrade\x20header','then','CLOSING','construct','endEmitted','join','toString','Invalid\x20WebSocket\x20frame:\x20','text/plain','kWasClean','zlibInflateOptions','listen','_receiver','WS_ERR_UNEXPECTED_RSV_2_3','string','encrypted','length','invalid\x20UTF-8\x20sequence','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','decompress','errorEmitted','listenerCount','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','_originalHostOrSocketPath','_paused','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','type','_maxPayload','concurrency','readable','_deflate','binary','__esModule','WS_ERR_EXPECTED_FIN','Sec-WebSocket-Origin','verifyClient','dispose','Unexpected\x20character\x20at\x20index\x20','finish','Opening\x20handshake\x20has\x20timed\x20out','Maximum\x20redirects\x20exceeded','wss:','call','13742212qqhtiQ','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','_skipUTF8Validation','sendFrame','startLoop','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','createServer','pong','create','writeUIntBE','server','extensionName','terminate','sha1','allocUnsafe','finished','81728CXbrmk','offer','Basic\x20','exports','freeze','isIP','_state','_server','_protocol','The\x20URL\x27s\x20pathname\x20is\x20empty','format','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','_originalIpc','removeEventListener','conclude','destroyed','Z_DEFAULT_WINDOWBITS','_removeListeners','kType','fin','sec-websocket-key','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','kCode','getBlobData','once','resume','WS_ERR_INVALID_UTF8','Upgrade','socket','pathname','The\x20\x22','cleanup','HTTP/1.1\x20','_doCreateSocket','removeListener','_httpService','ping','message','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','warn','_maskBuffer','_closeTimer','getConfig','request','delete','_binaryType','indexOf','protocolVersion','kTarget','base64','species','Sec-WebSocket-Accept:\x20','_errorEmitted','Connection:\x20Upgrade','_firstFragment','data','invalid\x20opcode\x20','_queue','emitClose','protocol','auth','authorization','FIN\x20must\x20be\x20set'];_0x2cc8=function(){return _0x5464ca;};return _0x2cc8();}er();var tr=Object[_0x590544(0xed)],rr=(_0xba02bb,_0x2e4d94,_0x14c88c,_0x2d46c8)=>{const _0x434b03=_0x590544;for(var _0x211e7b=_0x2d46c8>0x1?void 0x0:_0x2d46c8?tr(_0x2e4d94,_0x14c88c):_0x2e4d94,_0x56fbfa=_0xba02bb[_0x434b03(0x111)]-0x1,_0x961b5b;_0x56fbfa>=0x0;_0x56fbfa--)(_0x961b5b=_0xba02bb[_0x56fbfa])&&(_0x211e7b=_0x961b5b(_0x211e7b)||_0x211e7b);return _0x211e7b;},sr=(_0x34d4fb,_0x5666d0)=>(_0x58add5,_0x7f846d)=>_0x5666d0(_0x58add5,_0x7f846d,_0x34d4fb);let Ne=class extends _0x88945f{constructor(_0x2b826f){const _0x987b47=_0x590544;super(),this[_0x987b47(0x245)]=_0x2b826f;}[_0x590544(0x228)](_0x4b6443){const _0x551882=_0x590544;var _0x20e72c;const _0x51278d=(_0x20e72c=this[_0x551882(0x245)]['getConfig'](Be))==null?void 0x0:_0x20e72c['customHeaders'];try{const _0x363f22=new Qt(_0x4b6443,{'headers':{..._0x51278d}}),_0x21b700=new _0x87a053();return{'URL':_0x4b6443,'close':(_0x58c9b1,_0x919c78)=>{const _0x488d84=_0x551882;_0x363f22[_0x488d84(0x199)](_0x58c9b1,_0x919c78),_0x21b700[_0x488d84(0x125)]();},'send':_0x658bb8=>{const _0x454a19=_0x551882;_0x363f22[_0x454a19(0x1ff)](_0x658bb8);},'open$':new _0xebd9c5(_0x3e23d0=>{const _0x36f162=_0x551882,_0x333fc2=_0x1bb7a8=>_0x3e23d0[_0x36f162(0x1d3)](_0x1bb7a8);_0x363f22['addEventListener'](_0x36f162(0xd4),_0x333fc2),_0x21b700['add'](_0xb0d205(()=>_0x363f22[_0x36f162(0x149)](_0x36f162(0xd4),_0x333fc2)));})[_0x551882(0x1a7)](_0x552059()),'close$':new _0xebd9c5(_0x4055cc=>{const _0x29dc21=_0x551882,_0x2181da=_0x109758=>_0x4055cc[_0x29dc21(0x1d3)](_0x109758);_0x363f22[_0x29dc21(0x181)](_0x29dc21(0x199),_0x2181da),_0x21b700[_0x29dc21(0xdf)](_0xb0d205(()=>_0x363f22[_0x29dc21(0x149)](_0x29dc21(0x199),_0x2181da)));})['pipe'](_0x552059()),'error$':new _0xebd9c5(_0x3ddd03=>{const _0x74666f=_0x551882,_0x4bbd4e=_0x39287a=>_0x3ddd03[_0x74666f(0x1d3)](_0x39287a);_0x363f22[_0x74666f(0x181)](_0x74666f(0x232),_0x4bbd4e),_0x21b700[_0x74666f(0xdf)](_0xb0d205(()=>_0x363f22[_0x74666f(0x149)](_0x74666f(0x232),_0x4bbd4e)));})[_0x551882(0x1a7)](_0x552059()),'message$':new _0xebd9c5(_0x4ee30b=>{const _0x58e52a=_0x551882,_0x4e7553=_0x5ca3be=>_0x4ee30b[_0x58e52a(0x1d3)](_0x5ca3be);_0x363f22[_0x58e52a(0x181)](_0x58e52a(0x162),_0x4e7553),_0x21b700['add'](_0xb0d205(()=>_0x363f22[_0x58e52a(0x149)](_0x58e52a(0x162),_0x4e7553)));})[_0x551882(0x1a7)](_0x552059())};}catch(_0xf0ad46){return console[_0x551882(0x232)](_0xf0ad46),null;}}};Ne=rr([sr(0x0,_0x23217f)],Ne);var ir=Object[_0x590544(0xfc)],nr=Object[_0x590544(0xed)],or=(_0x14cdbb,_0x4bc45c,_0x3100af)=>_0x4bc45c in _0x14cdbb?ir(_0x14cdbb,_0x4bc45c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3100af}):_0x14cdbb[_0x4bc45c]=_0x3100af,ar=(_0x35858b,_0x535727,_0x32ff92,_0x4ce249)=>{const _0x41dbac=_0x590544;for(var _0x3c32d7=_0x4ce249>0x1?void 0x0:_0x4ce249?nr(_0x535727,_0x32ff92):_0x535727,_0xe97243=_0x35858b[_0x41dbac(0x111)]-0x1,_0x21dcd0;_0xe97243>=0x0;_0xe97243--)(_0x21dcd0=_0x35858b[_0xe97243])&&(_0x3c32d7=_0x21dcd0(_0x3c32d7)||_0x3c32d7);return _0x3c32d7;},ke=(_0xa6644e,_0x2b2278)=>(_0x1cf361,_0x5b7601)=>_0x2b2278(_0x1cf361,_0x5b7601,_0xa6644e),lr=(_0xcd29cb,_0x11ddd8,_0x46e922)=>or(_0xcd29cb,_0x11ddd8+'',_0x46e922);let Pe=class extends _0x31c31f{constructor(_0x2ce599=Ft,_0x4dc8a1,_0x196898,_0x12006b){const _0x11f5f7=_0x590544;_0x2ce599[_0x11f5f7(0x1f2)]||_0x4dc8a1[_0x11f5f7(0x164)](_0x11f5f7(0x12d)),super(),this[_0x11f5f7(0x245)]=_0x196898,this[_0x11f5f7(0x23b)]=_0x12006b,this[_0x11f5f7(0x245)]['setConfig'](Be,_0x2ce599);}[_0x590544(0x18c)](){const _0x14efac=_0x590544;this[_0x14efac(0x1e7)]();}[_0x590544(0x1e7)](){const _0x1dd769=_0x590544;_0x1cc441(this[_0x1dd769(0x23b)],[[_0x268330,{'useClass':Ne}]]);}};lr(Pe,_0x590544(0x234),_0x590544(0x20c)),Pe=ar([_0x49036c(_0x11d49f),ke(0x1,_0x196acb),ke(0x2,_0x23217f),ke(0x3,_0x39614b(_0x9ecde9))],Pe);var fr=Object[_0x590544(0xed)],cr=(_0x22b38b,_0x2c3ea2,_0x5d3774,_0x11df68)=>{const _0x1af5ae=_0x590544;for(var _0x7b9cb4=_0x11df68>0x1?void 0x0:_0x11df68?fr(_0x2c3ea2,_0x5d3774):_0x2c3ea2,_0x50453c=_0x22b38b[_0x1af5ae(0x111)]-0x1,_0x5475ee;_0x50453c>=0x0;_0x50453c--)(_0x5475ee=_0x22b38b[_0x50453c])&&(_0x7b9cb4=_0x5475ee(_0x7b9cb4)||_0x7b9cb4);return _0x7b9cb4;},se=(_0x38e2cf,_0x50418d)=>(_0x188f9f,_0x6cd681)=>_0x50418d(_0x188f9f,_0x6cd681,_0x38e2cf);let at=class extends _0x304c33{constructor(_0x308972,_0x2e45cb,_0x43c49a,_0x46851d,_0x322c6c){const _0xf8ef1b=_0x590544;super(_0x308972,_0x2e45cb,_0x43c49a,_0x46851d,_0x322c6c);const _0x8e7dcd=this['_configService'][_0xf8ef1b(0x167)](Be);this[_0xf8ef1b(0x160)]['registerHTTPInterceptor']({'interceptor':(_0x40218e,_0x486114)=>{const _0x3479e9=_0xf8ef1b;var _0x4effe2;const _0x1829fc=_0x40218e[_0x3479e9(0xe9)];return(_0x4effe2=_0x8e7dcd==null?void 0x0:_0x8e7dcd[_0x3479e9(0x1f2)])!=null&&_0x4effe2['cookie']&&_0x1829fc[_0x3479e9(0x248)](_0x3479e9(0x191),_0x8e7dcd[_0x3479e9(0x1f2)][_0x3479e9(0xce)]),_0x486114(_0x40218e);}});}async[_0x590544(0x228)](_0x35f145){const _0x2872bd=_0x590544;return this[_0x2872bd(0x15e)](_0x35f145);}};at=cr([se(0x0,_0x39614b(_0x9ecde9)),se(0x1,_0x39614b(_0x1d8036)),se(0x2,_0x23217f),se(0x3,_0x196acb),se(0x4,_0x5a0593)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
1
+ const _0xc1de09=_0x4f4c;(function(_0x36968b,_0x5f3883){const _0xef265c=_0x4f4c,_0x1a4c29=_0x36968b();while(!![]){try{const _0x2774f1=parseInt(_0xef265c(0x1ee))/0x1*(parseInt(_0xef265c(0x20f))/0x2)+-parseInt(_0xef265c(0x26f))/0x3+parseInt(_0xef265c(0x1bd))/0x4+-parseInt(_0xef265c(0x1bc))/0x5+parseInt(_0xef265c(0x21a))/0x6+parseInt(_0xef265c(0x2d3))/0x7+parseInt(_0xef265c(0x1ad))/0x8*(parseInt(_0xef265c(0x2a8))/0x9);if(_0x2774f1===_0x5f3883)break;else _0x1a4c29['push'](_0x1a4c29['shift']());}catch(_0x341104){_0x1a4c29['push'](_0x1a4c29['shift']());}}}(_0x31ca,0x8d7c7));import{UniverCollaborationClientPlugin as _0x58bf50,CollaborationSocketService as _0x31ab9d}from'@univerjs-pro/collaboration-client';import{Disposable as _0x257079,DisposableCollection as _0x1b32ec,toDisposable as _0x27d04b,IConfigService as _0x4511ad,DependentOn as _0x29d93b,ILogService as _0x6de682,Inject as _0xf0757c,Injector as _0x11ada6,Plugin as _0x406ba2,registerDependencies as _0x1701bc}from'@univerjs/core';import{ISocketService as _0x4353b6,HTTPService as _0xd8023c}from'@univerjs/network';import{Observable as _0x5c63c9,share as _0x58c5c3}from'rxjs';import _0x582a84 from'events';import _0x4ef948 from'https';import _0x5e30a9 from'http';import _0x124718 from'net';import _0x5fd690 from'tls';import _0x1afa45 from'crypto';import _0x268d1b from'stream';import _0x3710c3 from'url';import _0x28a2fc from'zlib';import _0x1953e5 from'buffer';import{ISnapshotServerService as _0x502b4d}from'@univerjs-pro/collaboration';const Be=_0xc1de09(0x1e3),Ft={'customHeaders':{}};function Wt(_0x3584e5){const _0x43dea1=_0xc1de09;return _0x3584e5&&_0x3584e5[_0x43dea1(0x201)]&&Object['prototype'][_0x43dea1(0x1c2)][_0x43dea1(0x1b4)](_0x3584e5,_0x43dea1(0x203))?_0x3584e5[_0x43dea1(0x203)]:_0x3584e5;}function ut(_0x2762fa){const _0x3b5a27=_0xc1de09;if(Object[_0x3b5a27(0x1a6)][_0x3b5a27(0x1c2)][_0x3b5a27(0x1b4)](_0x2762fa,_0x3b5a27(0x201)))return _0x2762fa;var _0x3c20e0=_0x2762fa[_0x3b5a27(0x203)];if(typeof _0x3c20e0==_0x3b5a27(0x2ff)){var _0x523d95=function _0x362ef4(){const _0x428016=_0x3b5a27;var _0x1575d9=!0x1;try{_0x1575d9=this instanceof _0x362ef4;}catch{}return _0x1575d9?Reflect[_0x428016(0x2f8)](_0x3c20e0,arguments,this[_0x428016(0x1d1)]):_0x3c20e0[_0x428016(0x2fe)](this,arguments);};_0x523d95[_0x3b5a27(0x1a6)]=_0x3c20e0[_0x3b5a27(0x1a6)];}else _0x523d95={};return Object[_0x3b5a27(0x271)](_0x523d95,'__esModule',{'value':!0x0}),Object[_0x3b5a27(0x1c6)](_0x2762fa)[_0x3b5a27(0x1af)](function(_0xff8f0b){const _0x525684=_0x3b5a27;var _0x54d553=Object['getOwnPropertyDescriptor'](_0x2762fa,_0xff8f0b);Object[_0x525684(0x271)](_0x523d95,_0xff8f0b,_0x54d553[_0x525684(0x1b2)]?_0x54d553:{'enumerable':!0x0,'get':function(){return _0x2762fa[_0xff8f0b];}});}),_0x523d95;}var te={'exports':{}},ge,Ye;function V(){const _0x31128d=_0xc1de09;if(Ye)return ge;Ye=0x1;const _0x4836cb=[_0x31128d(0x2f0),_0x31128d(0x2ce),_0x31128d(0x2f1)],_0x3593f3=typeof Blob<'u';return _0x3593f3&&_0x4836cb[_0x31128d(0x17b)]('blob'),ge={'BINARY_TYPES':_0x4836cb,'EMPTY_BUFFER':Buffer[_0x31128d(0x2a3)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x3593f3,'kForOnEventAttribute':Symbol(_0x31128d(0x198)),'kListener':Symbol(_0x31128d(0x2f9)),'kStatusCode':Symbol(_0x31128d(0x2b0)),'kWebSocket':Symbol(_0x31128d(0x242)),'NOOP':()=>{}},ge;}const jt={},Gt=Object[_0xc1de09(0x2b5)](Object[_0xc1de09(0x271)]({'__proto__':null,'default':jt},Symbol[_0xc1de09(0x297)],{'value':_0xc1de09(0x1e0)})),Vt=ut(Gt);var Ke;function ce(){const _0x2c94af=_0xc1de09;if(Ke)return te[_0x2c94af(0x188)];Ke=0x1;const {EMPTY_BUFFER:_0x242435}=V(),_0x5bf918=Buffer[Symbol[_0x2c94af(0x2ad)]];function _0x556f08(_0x35610a,_0x5dd6ab){const _0x236623=_0x2c94af;if(_0x35610a['length']===0x0)return _0x242435;if(_0x35610a[_0x236623(0x28c)]===0x1)return _0x35610a[0x0];const _0x329630=Buffer['allocUnsafe'](_0x5dd6ab);let _0x3f5aa7=0x0;for(let _0x4b203e=0x0;_0x4b203e<_0x35610a[_0x236623(0x28c)];_0x4b203e++){const _0x55dc1f=_0x35610a[_0x4b203e];_0x329630[_0x236623(0x158)](_0x55dc1f,_0x3f5aa7),_0x3f5aa7+=_0x55dc1f[_0x236623(0x28c)];}return _0x3f5aa7<_0x5dd6ab?new _0x5bf918(_0x329630[_0x236623(0x16f)],_0x329630[_0x236623(0x153)],_0x3f5aa7):_0x329630;}function _0x230da0(_0x673d3,_0x4b98ad,_0x28b4e1,_0x37668d,_0x5c0263){for(let _0x314bd5=0x0;_0x314bd5<_0x5c0263;_0x314bd5++)_0x28b4e1[_0x37668d+_0x314bd5]=_0x673d3[_0x314bd5]^_0x4b98ad[_0x314bd5&0x3];}function _0x4e4eb9(_0x599d9f,_0x14b9fe){const _0x385785=_0x2c94af;for(let _0x1feced=0x0;_0x1feced<_0x599d9f[_0x385785(0x28c)];_0x1feced++)_0x599d9f[_0x1feced]^=_0x14b9fe[_0x1feced&0x3];}function _0x422355(_0x3c9594){const _0x8edf33=_0x2c94af;return _0x3c9594['length']===_0x3c9594[_0x8edf33(0x16f)][_0x8edf33(0x231)]?_0x3c9594['buffer']:_0x3c9594[_0x8edf33(0x16f)][_0x8edf33(0x18e)](_0x3c9594[_0x8edf33(0x153)],_0x3c9594[_0x8edf33(0x153)]+_0x3c9594['length']);}function _0x288cb0(_0x2b1a4d){const _0x18fdba=_0x2c94af;if(_0x288cb0[_0x18fdba(0x250)]=!0x0,Buffer[_0x18fdba(0x215)](_0x2b1a4d))return _0x2b1a4d;let _0x8b6785;return _0x2b1a4d instanceof ArrayBuffer?_0x8b6785=new _0x5bf918(_0x2b1a4d):ArrayBuffer[_0x18fdba(0x251)](_0x2b1a4d)?_0x8b6785=new _0x5bf918(_0x2b1a4d[_0x18fdba(0x16f)],_0x2b1a4d[_0x18fdba(0x153)],_0x2b1a4d[_0x18fdba(0x231)]):(_0x8b6785=Buffer['from'](_0x2b1a4d),_0x288cb0[_0x18fdba(0x250)]=!0x1),_0x8b6785;}if(te['exports']={'concat':_0x556f08,'mask':_0x230da0,'toArrayBuffer':_0x422355,'toBuffer':_0x288cb0,'unmask':_0x4e4eb9},!process['env'][_0x2c94af(0x1e4)])try{const _0x306893=Vt;te[_0x2c94af(0x188)][_0x2c94af(0x18c)]=function(_0x4ba50a,_0x48799a,_0x20351b,_0x547414,_0x5d5d56){_0x5d5d56<0x30?_0x230da0(_0x4ba50a,_0x48799a,_0x20351b,_0x547414,_0x5d5d56):_0x306893['mask'](_0x4ba50a,_0x48799a,_0x20351b,_0x547414,_0x5d5d56);},te[_0x2c94af(0x188)][_0x2c94af(0x20d)]=function(_0x5e9fce,_0x573b2c){const _0x16a64a=_0x2c94af;_0x5e9fce['length']<0x20?_0x4e4eb9(_0x5e9fce,_0x573b2c):_0x306893[_0x16a64a(0x20d)](_0x5e9fce,_0x573b2c);};}catch{}return te['exports'];}var ye,Xe;function qt(){const _0x4a407c=_0xc1de09;if(Xe)return ye;Xe=0x1;const _0x4b8b8c=Symbol(_0x4a407c(0x263)),_0x1802fe=Symbol(_0x4a407c(0x264));class _0x8fbb01{constructor(_0x120169){const _0x1c75ce=_0x4a407c;this[_0x4b8b8c]=()=>{const _0x7a0b6d=_0x4f4c;this[_0x7a0b6d(0x2e3)]--,this[_0x1802fe]();},this['concurrency']=_0x120169||0x1/0x0,this[_0x1c75ce(0x285)]=[],this[_0x1c75ce(0x2e3)]=0x0;}[_0x4a407c(0x1f1)](_0xedbff3){const _0x2c5c9c=_0x4a407c;this['jobs'][_0x2c5c9c(0x17b)](_0xedbff3),this[_0x1802fe]();}[_0x1802fe](){const _0x457a51=_0x4a407c;if(this[_0x457a51(0x2e3)]!==this[_0x457a51(0x180)]&&this[_0x457a51(0x285)][_0x457a51(0x28c)]){const _0x140acf=this['jobs'][_0x457a51(0x20a)]();this[_0x457a51(0x2e3)]++,_0x140acf(this[_0x4b8b8c]);}}}return ye=_0x8fbb01,ye;}var ve,Ze;function he(){const _0x3b2e96=_0xc1de09;if(Ze)return ve;Ze=0x1;const _0x1d8958=_0x28a2fc,_0x5dcfeb=ce(),_0x48c750=qt(),{kStatusCode:_0x167cb5}=V(),_0x2a84e7=Buffer[Symbol['species']],_0x174d89=Buffer['from']([0x0,0x0,0xff,0xff]),_0x44617a=Symbol(_0x3b2e96(0x2e9)),_0x404ad0=Symbol(_0x3b2e96(0x154)),_0x5f2d39=Symbol('callback'),_0x36b7ec=Symbol(_0x3b2e96(0x1e8)),_0x2e779c=Symbol(_0x3b2e96(0x166));let _0x38c18e;class _0x465d59{constructor(_0x23d569,_0x4a4b6d,_0x2b74cd){const _0x4de8c1=_0x3b2e96;if(this[_0x4de8c1(0x195)]=_0x2b74cd|0x0,this['_options']=_0x23d569||{},this[_0x4de8c1(0x2d1)]=this['_options'][_0x4de8c1(0x1fd)]!==void 0x0?this[_0x4de8c1(0x218)]['threshold']:0x400,this[_0x4de8c1(0x23e)]=!!_0x4a4b6d,this['_deflate']=null,this[_0x4de8c1(0x26d)]=null,this[_0x4de8c1(0x255)]=null,!_0x38c18e){const _0x268e5f=this[_0x4de8c1(0x218)][_0x4de8c1(0x2c3)]!==void 0x0?this[_0x4de8c1(0x218)][_0x4de8c1(0x2c3)]:0xa;_0x38c18e=new _0x48c750(_0x268e5f);}}static get[_0x3b2e96(0x22a)](){const _0x96ffdd=_0x3b2e96;return _0x96ffdd(0x2e9);}['offer'](){const _0x26affb=_0x3b2e96,_0x99048a={};return this[_0x26affb(0x218)]['serverNoContextTakeover']&&(_0x99048a[_0x26affb(0x20b)]=!0x0),this['_options'][_0x26affb(0x2ef)]&&(_0x99048a[_0x26affb(0x2ee)]=!0x0),this[_0x26affb(0x218)][_0x26affb(0x1c9)]&&(_0x99048a[_0x26affb(0x17d)]=this['_options'][_0x26affb(0x1c9)]),this['_options']['clientMaxWindowBits']?_0x99048a[_0x26affb(0x289)]=this[_0x26affb(0x218)][_0x26affb(0x208)]:this[_0x26affb(0x218)][_0x26affb(0x208)]==null&&(_0x99048a['client_max_window_bits']=!0x0),_0x99048a;}[_0x3b2e96(0x1ed)](_0x4e021f){const _0x183b57=_0x3b2e96;return _0x4e021f=this[_0x183b57(0x23b)](_0x4e021f),this[_0x183b57(0x255)]=this[_0x183b57(0x23e)]?this[_0x183b57(0x151)](_0x4e021f):this[_0x183b57(0x192)](_0x4e021f),this[_0x183b57(0x255)];}[_0x3b2e96(0x1dc)](){const _0x518d2a=_0x3b2e96;if(this[_0x518d2a(0x26d)]&&(this[_0x518d2a(0x26d)][_0x518d2a(0x25c)](),this[_0x518d2a(0x26d)]=null),this['_deflate']){const _0x2a6597=this[_0x518d2a(0x27f)][_0x5f2d39];this['_deflate'][_0x518d2a(0x25c)](),this[_0x518d2a(0x27f)]=null,_0x2a6597&&_0x2a6597(new Error(_0x518d2a(0x273)));}}[_0x3b2e96(0x151)](_0x5bb95b){const _0xf490f5=_0x3b2e96,_0x5b8720=this[_0xf490f5(0x218)],_0x4d22fc=_0x5bb95b[_0xf490f5(0x1df)](_0x303a8d=>!(_0x5b8720['serverNoContextTakeover']===!0x1&&_0x303a8d['server_no_context_takeover']||_0x303a8d[_0xf490f5(0x17d)]&&(_0x5b8720['serverMaxWindowBits']===!0x1||typeof _0x5b8720['serverMaxWindowBits']=='number'&&_0x5b8720[_0xf490f5(0x1c9)]>_0x303a8d[_0xf490f5(0x17d)])||typeof _0x5b8720[_0xf490f5(0x208)]==_0xf490f5(0x2f7)&&!_0x303a8d['client_max_window_bits']));if(!_0x4d22fc)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x5b8720[_0xf490f5(0x229)]&&(_0x4d22fc['server_no_context_takeover']=!0x0),_0x5b8720[_0xf490f5(0x2ef)]&&(_0x4d22fc[_0xf490f5(0x2ee)]=!0x0),typeof _0x5b8720[_0xf490f5(0x1c9)]==_0xf490f5(0x2f7)&&(_0x4d22fc[_0xf490f5(0x17d)]=_0x5b8720[_0xf490f5(0x1c9)]),typeof _0x5b8720[_0xf490f5(0x208)]==_0xf490f5(0x2f7)?_0x4d22fc[_0xf490f5(0x289)]=_0x5b8720['clientMaxWindowBits']:(_0x4d22fc[_0xf490f5(0x289)]===!0x0||_0x5b8720[_0xf490f5(0x208)]===!0x1)&&delete _0x4d22fc[_0xf490f5(0x289)],_0x4d22fc;}[_0x3b2e96(0x192)](_0x1270fd){const _0x3a2c5a=_0x3b2e96,_0xaf2489=_0x1270fd[0x0];if(this[_0x3a2c5a(0x218)][_0x3a2c5a(0x2ef)]===!0x1&&_0xaf2489[_0x3a2c5a(0x2ee)])throw new Error(_0x3a2c5a(0x2db));if(!_0xaf2489[_0x3a2c5a(0x289)])typeof this[_0x3a2c5a(0x218)][_0x3a2c5a(0x208)]=='number'&&(_0xaf2489[_0x3a2c5a(0x289)]=this[_0x3a2c5a(0x218)][_0x3a2c5a(0x208)]);else{if(this[_0x3a2c5a(0x218)][_0x3a2c5a(0x208)]===!0x1||typeof this[_0x3a2c5a(0x218)][_0x3a2c5a(0x208)]=='number'&&_0xaf2489[_0x3a2c5a(0x289)]>this[_0x3a2c5a(0x218)][_0x3a2c5a(0x208)])throw new Error(_0x3a2c5a(0x262));}return _0xaf2489;}[_0x3b2e96(0x23b)](_0x3ac85d){const _0x3f51e8=_0x3b2e96;return _0x3ac85d[_0x3f51e8(0x1af)](_0xc5821f=>{const _0x18f4cb=_0x3f51e8;Object[_0x18f4cb(0x1c6)](_0xc5821f)['forEach'](_0x348d56=>{const _0x214fa9=_0x18f4cb;let _0x40bd0c=_0xc5821f[_0x348d56];if(_0x40bd0c[_0x214fa9(0x28c)]>0x1)throw new Error(_0x214fa9(0x200)+_0x348d56+_0x214fa9(0x2cb));if(_0x40bd0c=_0x40bd0c[0x0],_0x348d56===_0x214fa9(0x289)){if(_0x40bd0c!==!0x0){const _0x402c2f=+_0x40bd0c;if(!Number['isInteger'](_0x402c2f)||_0x402c2f<0x8||_0x402c2f>0xf)throw new TypeError(_0x214fa9(0x1c5)+_0x348d56+_0x214fa9(0x2f4)+_0x40bd0c);_0x40bd0c=_0x402c2f;}else{if(!this['_isServer'])throw new TypeError(_0x214fa9(0x1c5)+_0x348d56+_0x214fa9(0x2f4)+_0x40bd0c);}}else{if(_0x348d56===_0x214fa9(0x17d)){const _0xd84661=+_0x40bd0c;if(!Number[_0x214fa9(0x1cf)](_0xd84661)||_0xd84661<0x8||_0xd84661>0xf)throw new TypeError(_0x214fa9(0x1c5)+_0x348d56+'\x22:\x20'+_0x40bd0c);_0x40bd0c=_0xd84661;}else{if(_0x348d56===_0x214fa9(0x2ee)||_0x348d56===_0x214fa9(0x20b)){if(_0x40bd0c!==!0x0)throw new TypeError(_0x214fa9(0x1c5)+_0x348d56+_0x214fa9(0x2f4)+_0x40bd0c);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x348d56+'\x22');}}_0xc5821f[_0x348d56]=_0x40bd0c;});}),_0x3ac85d;}[_0x3b2e96(0x18b)](_0x345e13,_0x2dec95,_0x1e7121){const _0x5e4ccc=_0x3b2e96;_0x38c18e[_0x5e4ccc(0x1f1)](_0x48c7ed=>{const _0x10720c=_0x5e4ccc;this[_0x10720c(0x275)](_0x345e13,_0x2dec95,(_0x1d8918,_0x5318e7)=>{_0x48c7ed(),_0x1e7121(_0x1d8918,_0x5318e7);});});}[_0x3b2e96(0x2a0)](_0x2e960b,_0x1cdc16,_0x15d965){const _0x40bf16=_0x3b2e96;_0x38c18e[_0x40bf16(0x1f1)](_0x4189e4=>{this['_compress'](_0x2e960b,_0x1cdc16,(_0x279a25,_0x202dec)=>{_0x4189e4(),_0x15d965(_0x279a25,_0x202dec);});});}[_0x3b2e96(0x275)](_0x5baf63,_0x88edd,_0x4f720b){const _0x3668a2=_0x3b2e96,_0x1d411d=this['_isServer']?_0x3668a2(0x217):_0x3668a2(0x1b3);if(!this[_0x3668a2(0x26d)]){const _0x5a5fe8=_0x1d411d+_0x3668a2(0x2b8),_0x596e43=typeof this[_0x3668a2(0x255)][_0x5a5fe8]!='number'?_0x1d8958[_0x3668a2(0x1a7)]:this['params'][_0x5a5fe8];this[_0x3668a2(0x26d)]=_0x1d8958[_0x3668a2(0x15b)]({...this['_options']['zlibInflateOptions'],'windowBits':_0x596e43}),this[_0x3668a2(0x26d)][_0x44617a]=this,this[_0x3668a2(0x26d)][_0x404ad0]=0x0,this[_0x3668a2(0x26d)][_0x36b7ec]=[],this[_0x3668a2(0x26d)]['on']('error',_0x4acf03),this[_0x3668a2(0x26d)]['on'](_0x3668a2(0x197),_0x45dce3);}this[_0x3668a2(0x26d)][_0x5f2d39]=_0x4f720b,this[_0x3668a2(0x26d)][_0x3668a2(0x1c0)](_0x5baf63),_0x88edd&&this['_inflate'][_0x3668a2(0x1c0)](_0x174d89),this['_inflate'][_0x3668a2(0x1b6)](()=>{const _0x30b2dc=_0x3668a2,_0x3ca5f9=this[_0x30b2dc(0x26d)][_0x2e779c];if(_0x3ca5f9){this[_0x30b2dc(0x26d)]['close'](),this[_0x30b2dc(0x26d)]=null,_0x4f720b(_0x3ca5f9);return;}const _0x5f011b=_0x5dcfeb[_0x30b2dc(0x219)](this[_0x30b2dc(0x26d)][_0x36b7ec],this[_0x30b2dc(0x26d)][_0x404ad0]);this[_0x30b2dc(0x26d)][_0x30b2dc(0x164)]['endEmitted']?(this['_inflate'][_0x30b2dc(0x25c)](),this[_0x30b2dc(0x26d)]=null):(this[_0x30b2dc(0x26d)][_0x404ad0]=0x0,this['_inflate'][_0x36b7ec]=[],_0x88edd&&this[_0x30b2dc(0x255)][_0x1d411d+_0x30b2dc(0x214)]&&this[_0x30b2dc(0x26d)][_0x30b2dc(0x17e)]()),_0x4f720b(null,_0x5f011b);});}[_0x3b2e96(0x26e)](_0x49e5f2,_0x8097ff,_0x480405){const _0x1341eb=_0x3b2e96,_0x53ead9=this[_0x1341eb(0x23e)]?_0x1341eb(0x1b3):'client';if(!this[_0x1341eb(0x27f)]){const _0x198920=_0x53ead9+_0x1341eb(0x2b8),_0x44d70f=typeof this[_0x1341eb(0x255)][_0x198920]!=_0x1341eb(0x2f7)?_0x1d8958[_0x1341eb(0x1a7)]:this['params'][_0x198920];this[_0x1341eb(0x27f)]=_0x1d8958[_0x1341eb(0x1fa)]({...this[_0x1341eb(0x218)][_0x1341eb(0x202)],'windowBits':_0x44d70f}),this[_0x1341eb(0x27f)][_0x404ad0]=0x0,this[_0x1341eb(0x27f)][_0x36b7ec]=[],this['_deflate']['on']('data',_0x21efbf);}this[_0x1341eb(0x27f)][_0x5f2d39]=_0x480405,this[_0x1341eb(0x27f)]['write'](_0x49e5f2),this[_0x1341eb(0x27f)][_0x1341eb(0x1b6)](_0x1d8958['Z_SYNC_FLUSH'],()=>{const _0x40c5ed=_0x1341eb;if(!this[_0x40c5ed(0x27f)])return;let _0x455a4e=_0x5dcfeb[_0x40c5ed(0x219)](this[_0x40c5ed(0x27f)][_0x36b7ec],this[_0x40c5ed(0x27f)][_0x404ad0]);_0x8097ff&&(_0x455a4e=new _0x2a84e7(_0x455a4e[_0x40c5ed(0x16f)],_0x455a4e['byteOffset'],_0x455a4e[_0x40c5ed(0x28c)]-0x4)),this['_deflate'][_0x5f2d39]=null,this[_0x40c5ed(0x27f)][_0x404ad0]=0x0,this[_0x40c5ed(0x27f)][_0x36b7ec]=[],_0x8097ff&&this[_0x40c5ed(0x255)][_0x53ead9+'_no_context_takeover']&&this[_0x40c5ed(0x27f)][_0x40c5ed(0x17e)](),_0x480405(null,_0x455a4e);});}}ve=_0x465d59;function _0x21efbf(_0x2af8c9){this[_0x36b7ec]['push'](_0x2af8c9),this[_0x404ad0]+=_0x2af8c9['length'];}function _0x45dce3(_0x33a303){const _0xd7eb0b=_0x3b2e96;if(this[_0x404ad0]+=_0x33a303[_0xd7eb0b(0x28c)],this[_0x44617a]['_maxPayload']<0x1||this[_0x404ad0]<=this[_0x44617a][_0xd7eb0b(0x195)]){this[_0x36b7ec]['push'](_0x33a303);return;}this[_0x2e779c]=new RangeError(_0xd7eb0b(0x1aa)),this[_0x2e779c]['code']=_0xd7eb0b(0x234),this[_0x2e779c][_0x167cb5]=0x3f1,this['removeListener'](_0xd7eb0b(0x197),_0x45dce3),this[_0xd7eb0b(0x17e)]();}function _0x4acf03(_0x4ba4f0){const _0x15e617=_0x3b2e96;if(this[_0x44617a][_0x15e617(0x26d)]=null,this[_0x2e779c]){this[_0x5f2d39](this[_0x2e779c]);return;}_0x4ba4f0[_0x167cb5]=0x3ef,this[_0x5f2d39](_0x4ba4f0);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0xc1de09(0x2b5)](Object['defineProperty']({'__proto__':null,'default':Ht},Symbol['toStringTag'],{'value':_0xc1de09(0x1e0)})),Yt=ut(zt);var Qe;function _0x31ca(){const _0x3bcca0=['endEmitted','MASK\x20must\x20be\x20set','_shouldEmitClose','isIP','password','\x22\x20must\x20have\x20only\x20a\x20single\x20value','digest','perMessageDeflate','arraybuffer','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','handleUpgrade','_threshold','_server','6333131HLAnxk','open','Invalid\x20WebSocket\x20frame:\x20','HTTP/1.1\x20101\x20Switching\x20Protocols','_opcode','allocUnsafe','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','once','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','Invalid\x20URL:\x20','env','_closeTimer','_bufferedAmount','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','from','Opening\x20handshake\x20has\x20timed\x20out','pending','readUInt32BE','abort','_payloadLength','binary','Unexpected\x20end\x20of\x20input','permessage-deflate','WS_ERR_UNEXPECTED_RSV_2_3','_read','GET','_configService','client_no_context_takeover','clientNoContextTakeover','nodebuffer','fragments','Cookie','autoPong','\x22:\x20','Sec-WebSocket-Accept:\x20','sendFrame','number','construct','kListener','base64','_fragments','STATUS_CODES','_maskBuffer','apply','function','origin','removeEventListener','socket','values','errorEmitted','options','acceptAsServer','warn','byteOffset','total-length','maskBuffer','upgrade','Maximum\x20redirects\x20exceeded','set','Connection:\x20Upgrade','allowSynchronousEvents','createInflateRaw','send','isPaused','code','_final','toString','dataMessage','pause','finish','_readableState','_firstFragment','error','username','request','offer','listen','_redirects','_buffers','createError','hostname','buffer','_writableState','binaryType','getBlobData','host','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','Sec-WebSocket-Origin','setTimeout','_queue','writeUIntBE','authorized','Invalid\x20Sec-WebSocket-Extensions\x20header','push','needDrain','server_max_window_bits','reset','WS_ERR_INVALID_CLOSE_CODE','concurrency','pow','_originalSecure','connect','text/html','headers','_removeListeners','sec-websocket-accept','exports','_doCreateSocket','invalid\x20opcode\x20','decompress','mask','opcode','slice','map','OPEN','CLOSING','acceptAsClient','isServer','WS_ERR_EXPECTED_FIN','_maxPayload','end','data','kIsForOnEventAttribute','sha1','target','emit','format','isValidUTF8','kMessage','Sec-WebSocket-Extensions:\x20','The\x20URL\x20contains\x20a\x20fragment\x20identifier','_masked','objectMode','type','port','value','prototype','Z_DEFAULT_WINDOWBITS','onmessage','HTTP/1.1\x20','Max\x20payload\x20size\x20exceeded','captureStackTrace','test','8fNTGaW','_url','forEach','arrayBuffer','clients','get','server','call','\x20(supported\x20versions:\x20','flush','fin','pipe','bind','kByteLength','removeAllListeners','4895980ZwDguW','1427376ZJCxbj','writeHead','\x22\x20subprotocol\x20is\x20duplicated','write','_protocol','hasOwnProperty','redirect','protocolVersion','Invalid\x20value\x20for\x20parameter\x20\x22','keys','Invalid\x20HTTP\x20method','Sec-WebSocket-Extensions','serverMaxWindowBits','statusCode','kType','clientTracking','kAborted','startLoop','isInteger','readable','constructor','ws:','_compressed','FIN\x20must\x20be\x20set','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','invalid\x20payload\x20length\x20','_originalIpc','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','Invalid\x20Upgrade\x20header','join','listening','cleanup','auth','_closeFrameReceived','find','Module','bufferedAmount','enqueue','collaboration-client-node.config','WS_NO_BUFFER_UTIL','_loop','invalid\x20UTF-8\x20sequence','_fragmented','buffers','invalid\x20opcode\x200','toLowerCase','text/plain','listeners','accept','305414FjIDDw','WS_ERR_EXPECTED_MASK','servername','add','The\x20server\x20is\x20not\x20running','skipUTF8Validation','extensions','maxRedirects','indexOf','_errored','writable','pluginName','createDeflateRaw','pong','encrypted','threshold','WS_ERR_INVALID_OPCODE','maxPayload','Parameter\x20\x22','__esModule','zlibDeflateOptions','default','method','kCode','Unexpected\x20server\x20response:\x20','File','clientMaxWindowBits','createSocket','shift','server_no_context_takeover','removeListener','unmask','_destroy','2oLBPcx','setHeader','createServer','_write','finished','_no_context_takeover','isBuffer','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','client','_options','concat','194676DOBstz','backlog','Sec-WebSocket-Protocol','getConfig','sec-websocket-version','getPayloadLength16','MASK\x20must\x20be\x20clear','_binaryType','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','then','getOwnPropertyDescriptor','_closeMessage','unexpected-response','conclude','serverNoContextTakeover','extensionName','13,\x208','_totalPayloadLength','_closeFrameSent','url','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','destroy','byteLength','_bufferedBytes','_allowSynchronousEvents','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','writeUInt16BE','addEventListener','message','update','_skipUTF8Validation','isArray','normalizeParams','handshakeTimeout','\x0d\x0a\x0d\x0a','_isServer','WS_ERR_INVALID_UTF8','protocol','includes','websocket','CLOSED','setSocket','_receiver','dispatch','createConnection','Basic\x20','registerHTTPInterceptor','split','authorization','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','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','emitClose','href','readOnly','isView','readUInt16BE','read','_mask','params','_generateMask','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','haveLength','cookie','completeUpgrade','_closeCode','close','_sender','_autoPong','frame','dequeue','sec-websocket-origin','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','kDone','kRun','_messageLength','size','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','_errorEmitted','finishRequest','path','kReason','_extensions','_inflate','_compress','2760963vtzQHA','listenerCount','defineProperty','_injector','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','response','_decompress','delete','WS_ERR_UNEXPECTED_MASK','noServer','getPayloadLength64','getData','onopen','has','nextTick','parse','_deflate','customHeaders','_registerDependencies','verifyClient','_state','sec-websocket-key','jobs','setNoDelay','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','resume','client_max_window_bits','onerror','reason','length','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','dispose','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','startsWith','readyState','_readyState','rsv1','socketPath','controlMessage','getMask','toStringTag','_fin','wss:','create','RSV1\x20must\x20be\x20clear','WebSocket','CONNECTING','generateMask','charCodeAt','compress','WS_ERR_UNEXPECTED_RSV_1','unshift','alloc','next','WS_NO_UTF_8_VALIDATE','Unexpected\x20character\x20at\x20index\x20','defaultPort','7916463qwECqa','blob','consume','object','_originalHostOrSocketPath','species','ping','_socket','status-code','_paused','search','timeout','Invalid\x20Sec-WebSocket-Protocol\x20header','freeze','string','Invalid\x20Sec-WebSocket-Accept\x20header','_max_window_bits','followRedirects','Server\x20sent\x20no\x20subprotocol','_req','The\x20\x22','connection','wasClean','uncork','sec-websocket-extensions','sec-websocket-protocol','getInfo','concurrencyLimit','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','destroyed'];_0x31ca=function(){return _0x3bcca0;};return _0x31ca();}function ne(){const _0xe5e1e6=_0xc1de09;if(Qe)return re[_0xe5e1e6(0x188)];Qe=0x1;const {isUtf8:_0x5de87c}=_0x1953e5,{hasBlob:_0x3fb8b2}=V(),_0x5dd32b=[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 _0x621dd5(_0x3e647f){return _0x3e647f>=0x3e8&&_0x3e647f<=0x3f6&&_0x3e647f!==0x3ec&&_0x3e647f!==0x3ed&&_0x3e647f!==0x3ee||_0x3e647f>=0xbb8&&_0x3e647f<=0x1387;}function _0x3e1291(_0x9bb893){const _0x132eb0=_0xe5e1e6,_0x3528f1=_0x9bb893[_0x132eb0(0x28c)];let _0x2f7707=0x0;for(;_0x2f7707<_0x3528f1;)if((_0x9bb893[_0x2f7707]&0x80)===0x0)_0x2f7707++;else{if((_0x9bb893[_0x2f7707]&0xe0)===0xc0){if(_0x2f7707+0x1===_0x3528f1||(_0x9bb893[_0x2f7707+0x1]&0xc0)!==0x80||(_0x9bb893[_0x2f7707]&0xfe)===0xc0)return!0x1;_0x2f7707+=0x2;}else{if((_0x9bb893[_0x2f7707]&0xf0)===0xe0){if(_0x2f7707+0x2>=_0x3528f1||(_0x9bb893[_0x2f7707+0x1]&0xc0)!==0x80||(_0x9bb893[_0x2f7707+0x2]&0xc0)!==0x80||_0x9bb893[_0x2f7707]===0xe0&&(_0x9bb893[_0x2f7707+0x1]&0xe0)===0x80||_0x9bb893[_0x2f7707]===0xed&&(_0x9bb893[_0x2f7707+0x1]&0xe0)===0xa0)return!0x1;_0x2f7707+=0x3;}else{if((_0x9bb893[_0x2f7707]&0xf8)===0xf0){if(_0x2f7707+0x3>=_0x3528f1||(_0x9bb893[_0x2f7707+0x1]&0xc0)!==0x80||(_0x9bb893[_0x2f7707+0x2]&0xc0)!==0x80||(_0x9bb893[_0x2f7707+0x3]&0xc0)!==0x80||_0x9bb893[_0x2f7707]===0xf0&&(_0x9bb893[_0x2f7707+0x1]&0xf0)===0x80||_0x9bb893[_0x2f7707]===0xf4&&_0x9bb893[_0x2f7707+0x1]>0x8f||_0x9bb893[_0x2f7707]>0xf4)return!0x1;_0x2f7707+=0x4;}else return!0x1;}}}return!0x0;}function _0x126cf2(_0x5def84){const _0x3a144b=_0xe5e1e6;return _0x3fb8b2&&typeof _0x5def84==_0x3a144b(0x2ab)&&typeof _0x5def84[_0x3a144b(0x1b0)]==_0x3a144b(0x2ff)&&typeof _0x5def84[_0x3a144b(0x1a3)]==_0x3a144b(0x2b6)&&typeof _0x5def84['stream']=='function'&&(_0x5def84[Symbol[_0x3a144b(0x297)]]==='Blob'||_0x5def84[Symbol[_0x3a144b(0x297)]]===_0x3a144b(0x207));}if(re[_0xe5e1e6(0x188)]={'isBlob':_0x126cf2,'isValidStatusCode':_0x621dd5,'isValidUTF8':_0x3e1291,'tokenChars':_0x5dd32b},_0x5de87c)re[_0xe5e1e6(0x188)][_0xe5e1e6(0x19d)]=function(_0x44e368){const _0x598339=_0xe5e1e6;return _0x44e368[_0x598339(0x28c)]<0x18?_0x3e1291(_0x44e368):_0x5de87c(_0x44e368);};else{if(!process[_0xe5e1e6(0x2dd)][_0xe5e1e6(0x2a5)])try{const _0x5ce85d=Yt;re[_0xe5e1e6(0x188)][_0xe5e1e6(0x19d)]=function(_0x2fcd18){const _0x21b788=_0xe5e1e6;return _0x2fcd18[_0x21b788(0x28c)]<0x20?_0x3e1291(_0x2fcd18):_0x5ce85d(_0x2fcd18);};}catch{}}return re[_0xe5e1e6(0x188)];}var Se,Je;function dt(){const _0x535232=_0xc1de09;if(Je)return Se;Je=0x1;const {Writable:_0x539991}=_0x268d1b,_0x465e73=he(),{BINARY_TYPES:_0x311d0c,EMPTY_BUFFER:_0x2e064c,kStatusCode:_0x10042a,kWebSocket:_0x2317b6}=V(),{concat:_0x66441b,toArrayBuffer:_0x3d2895,unmask:_0x5926c4}=ce(),{isValidStatusCode:_0xc087ca,isValidUTF8:_0xc55b9a}=ne(),_0x53eaca=Buffer[Symbol[_0x535232(0x2ad)]],_0x96c65b=0x0,_0x13447e=0x1,_0x258cb1=0x2,_0x5101dc=0x3,_0x3e8677=0x4,_0x2b4d66=0x5,_0xa177e=0x6;class _0x372a00 extends _0x539991{constructor(_0x3e834f={}){const _0x1d94ed=_0x535232;super(),this[_0x1d94ed(0x233)]=_0x3e834f['allowSynchronousEvents']!==void 0x0?_0x3e834f[_0x1d94ed(0x15a)]:!0x0,this['_binaryType']=_0x3e834f[_0x1d94ed(0x171)]||_0x311d0c[0x0],this['_extensions']=_0x3e834f[_0x1d94ed(0x1f4)]||{},this[_0x1d94ed(0x23e)]=!!_0x3e834f[_0x1d94ed(0x193)],this[_0x1d94ed(0x195)]=_0x3e834f[_0x1d94ed(0x1ff)]|0x0,this[_0x1d94ed(0x239)]=!!_0x3e834f['skipUTF8Validation'],this[_0x2317b6]=void 0x0,this[_0x1d94ed(0x232)]=0x0,this[_0x1d94ed(0x16c)]=[],this[_0x1d94ed(0x1d3)]=!0x1,this['_payloadLength']=0x0,this[_0x1d94ed(0x254)]=void 0x0,this[_0x1d94ed(0x1e7)]=0x0,this[_0x1d94ed(0x1a1)]=!0x1,this[_0x1d94ed(0x298)]=!0x1,this[_0x1d94ed(0x2d7)]=0x0,this[_0x1d94ed(0x22c)]=0x0,this[_0x1d94ed(0x265)]=0x0,this['_fragments']=[],this['_errored']=!0x1,this[_0x1d94ed(0x1e5)]=!0x1,this[_0x1d94ed(0x283)]=_0x96c65b;}['_write'](_0x26c1f4,_0x34d6ef,_0x43de30){const _0xe3acc9=_0x535232;if(this['_opcode']===0x8&&this[_0xe3acc9(0x283)]==_0x96c65b)return _0x43de30();this[_0xe3acc9(0x232)]+=_0x26c1f4[_0xe3acc9(0x28c)],this['_buffers'][_0xe3acc9(0x17b)](_0x26c1f4),this[_0xe3acc9(0x1ce)](_0x43de30);}['consume'](_0x75bcfd){const _0x4c4471=_0x535232;if(this[_0x4c4471(0x232)]-=_0x75bcfd,_0x75bcfd===this[_0x4c4471(0x16c)][0x0][_0x4c4471(0x28c)])return this[_0x4c4471(0x16c)][_0x4c4471(0x20a)]();if(_0x75bcfd<this[_0x4c4471(0x16c)][0x0][_0x4c4471(0x28c)]){const _0x292574=this[_0x4c4471(0x16c)][0x0];return this['_buffers'][0x0]=new _0x53eaca(_0x292574['buffer'],_0x292574[_0x4c4471(0x153)]+_0x75bcfd,_0x292574[_0x4c4471(0x28c)]-_0x75bcfd),new _0x53eaca(_0x292574[_0x4c4471(0x16f)],_0x292574['byteOffset'],_0x75bcfd);}const _0x697a40=Buffer[_0x4c4471(0x2d8)](_0x75bcfd);do{const _0x572a17=this[_0x4c4471(0x16c)][0x0],_0x3c4e9f=_0x697a40['length']-_0x75bcfd;_0x75bcfd>=_0x572a17[_0x4c4471(0x28c)]?_0x697a40[_0x4c4471(0x158)](this['_buffers'][_0x4c4471(0x20a)](),_0x3c4e9f):(_0x697a40['set'](new Uint8Array(_0x572a17[_0x4c4471(0x16f)],_0x572a17['byteOffset'],_0x75bcfd),_0x3c4e9f),this['_buffers'][0x0]=new _0x53eaca(_0x572a17['buffer'],_0x572a17[_0x4c4471(0x153)]+_0x75bcfd,_0x572a17[_0x4c4471(0x28c)]-_0x75bcfd)),_0x75bcfd-=_0x572a17[_0x4c4471(0x28c)];}while(_0x75bcfd>0x0);return _0x697a40;}[_0x535232(0x1ce)](_0x2746d3){const _0x37b571=_0x535232;this[_0x37b571(0x1e5)]=!0x0;do switch(this[_0x37b571(0x283)]){case _0x96c65b:this[_0x37b571(0x2c2)](_0x2746d3);break;case _0x13447e:this[_0x37b571(0x21f)](_0x2746d3);break;case _0x258cb1:this['getPayloadLength64'](_0x2746d3);break;case _0x5101dc:this['getMask']();break;case _0x3e8677:this[_0x37b571(0x27a)](_0x2746d3);break;case _0x2b4d66:case _0xa177e:this['_loop']=!0x1;return;}while(this[_0x37b571(0x1e5)]);this[_0x37b571(0x1f7)]||_0x2746d3();}['getInfo'](_0x421ec2){const _0x1103b1=_0x535232;if(this[_0x1103b1(0x232)]<0x2){this[_0x1103b1(0x1e5)]=!0x1;return;}const _0xe6d512=this['consume'](0x2);if((_0xe6d512[0x0]&0x30)!==0x0){const _0x26093e=this[_0x1103b1(0x16d)](RangeError,_0x1103b1(0x28f),!0x0,0x3ea,_0x1103b1(0x2ea));_0x421ec2(_0x26093e);return;}const _0x473b8c=(_0xe6d512[0x0]&0x40)===0x40;if(_0x473b8c&&!this[_0x1103b1(0x26c)][_0x465e73[_0x1103b1(0x22a)]]){const _0x3bc003=this['createError'](RangeError,_0x1103b1(0x29b),!0x0,0x3ea,_0x1103b1(0x2a1));_0x421ec2(_0x3bc003);return;}if(this[_0x1103b1(0x298)]=(_0xe6d512[0x0]&0x80)===0x80,this[_0x1103b1(0x2d7)]=_0xe6d512[0x0]&0xf,this[_0x1103b1(0x2e6)]=_0xe6d512[0x1]&0x7f,this[_0x1103b1(0x2d7)]===0x0){if(_0x473b8c){const _0x438dcf=this[_0x1103b1(0x16d)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x1103b1(0x2a1));_0x421ec2(_0x438dcf);return;}if(!this['_fragmented']){const _0x22d5fa=this[_0x1103b1(0x16d)](RangeError,_0x1103b1(0x1e9),!0x0,0x3ea,_0x1103b1(0x1fe));_0x421ec2(_0x22d5fa);return;}this[_0x1103b1(0x2d7)]=this[_0x1103b1(0x1e7)];}else{if(this[_0x1103b1(0x2d7)]===0x1||this[_0x1103b1(0x2d7)]===0x2){if(this[_0x1103b1(0x1e7)]){const _0xa10c73=this[_0x1103b1(0x16d)](RangeError,_0x1103b1(0x18a)+this[_0x1103b1(0x2d7)],!0x0,0x3ea,_0x1103b1(0x1fe));_0x421ec2(_0xa10c73);return;}this[_0x1103b1(0x1d3)]=_0x473b8c;}else{if(this[_0x1103b1(0x2d7)]>0x7&&this[_0x1103b1(0x2d7)]<0xb){if(!this[_0x1103b1(0x298)]){const _0x294e43=this[_0x1103b1(0x16d)](RangeError,_0x1103b1(0x1d4),!0x0,0x3ea,_0x1103b1(0x194));_0x421ec2(_0x294e43);return;}if(_0x473b8c){const _0x49236f=this[_0x1103b1(0x16d)](RangeError,_0x1103b1(0x29b),!0x0,0x3ea,_0x1103b1(0x2a1));_0x421ec2(_0x49236f);return;}if(this['_payloadLength']>0x7d||this[_0x1103b1(0x2d7)]===0x8&&this[_0x1103b1(0x2e6)]===0x1){const _0x257f10=this[_0x1103b1(0x16d)](RangeError,_0x1103b1(0x1d6)+this[_0x1103b1(0x2e6)],!0x0,0x3ea,_0x1103b1(0x216));_0x421ec2(_0x257f10);return;}}else{const _0x5ef451=this['createError'](RangeError,'invalid\x20opcode\x20'+this[_0x1103b1(0x2d7)],!0x0,0x3ea,_0x1103b1(0x1fe));_0x421ec2(_0x5ef451);return;}}}if(!this[_0x1103b1(0x298)]&&!this[_0x1103b1(0x1e7)]&&(this[_0x1103b1(0x1e7)]=this['_opcode']),this[_0x1103b1(0x1a1)]=(_0xe6d512[0x1]&0x80)===0x80,this['_isServer']){if(!this['_masked']){const _0x2f59f3=this['createError'](RangeError,_0x1103b1(0x2c7),!0x0,0x3ea,_0x1103b1(0x1ef));_0x421ec2(_0x2f59f3);return;}}else{if(this[_0x1103b1(0x1a1)]){const _0x1844be=this[_0x1103b1(0x16d)](RangeError,_0x1103b1(0x220),!0x0,0x3ea,_0x1103b1(0x277));_0x421ec2(_0x1844be);return;}}this[_0x1103b1(0x2e6)]===0x7e?this[_0x1103b1(0x283)]=_0x13447e:this[_0x1103b1(0x2e6)]===0x7f?this[_0x1103b1(0x283)]=_0x258cb1:this[_0x1103b1(0x258)](_0x421ec2);}[_0x535232(0x21f)](_0x1e5d92){const _0x661291=_0x535232;if(this['_bufferedBytes']<0x2){this['_loop']=!0x1;return;}this[_0x661291(0x2e6)]=this[_0x661291(0x2aa)](0x2)[_0x661291(0x252)](0x0),this['haveLength'](_0x1e5d92);}[_0x535232(0x279)](_0x552e01){const _0x2de2a6=_0x535232;if(this[_0x2de2a6(0x232)]<0x8){this[_0x2de2a6(0x1e5)]=!0x1;return;}const _0x204add=this[_0x2de2a6(0x2aa)](0x8),_0x2dbe83=_0x204add[_0x2de2a6(0x2e4)](0x0);if(_0x2dbe83>Math[_0x2de2a6(0x181)](0x2,0x15)-0x1){const _0x1a2eea=this['createError'](RangeError,_0x2de2a6(0x1d8),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x552e01(_0x1a2eea);return;}this[_0x2de2a6(0x2e6)]=_0x2dbe83*Math[_0x2de2a6(0x181)](0x2,0x20)+_0x204add['readUInt32BE'](0x4),this[_0x2de2a6(0x258)](_0x552e01);}[_0x535232(0x258)](_0xb24421){const _0x570f8b=_0x535232;if(this[_0x570f8b(0x2e6)]&&this[_0x570f8b(0x2d7)]<0x8&&(this['_totalPayloadLength']+=this[_0x570f8b(0x2e6)],this[_0x570f8b(0x22c)]>this['_maxPayload']&&this[_0x570f8b(0x195)]>0x0)){const _0x25c0a5=this[_0x570f8b(0x16d)](RangeError,_0x570f8b(0x1aa),!0x1,0x3f1,_0x570f8b(0x234));_0xb24421(_0x25c0a5);return;}this[_0x570f8b(0x1a1)]?this[_0x570f8b(0x283)]=_0x5101dc:this[_0x570f8b(0x283)]=_0x3e8677;}[_0x535232(0x296)](){const _0x18ccbb=_0x535232;if(this[_0x18ccbb(0x232)]<0x4){this[_0x18ccbb(0x1e5)]=!0x1;return;}this[_0x18ccbb(0x254)]=this[_0x18ccbb(0x2aa)](0x4),this['_state']=_0x3e8677;}[_0x535232(0x27a)](_0x1bf078){const _0xeb5ee5=_0x535232;let _0x49f55a=_0x2e064c;if(this[_0xeb5ee5(0x2e6)]){if(this[_0xeb5ee5(0x232)]<this['_payloadLength']){this[_0xeb5ee5(0x1e5)]=!0x1;return;}_0x49f55a=this['consume'](this[_0xeb5ee5(0x2e6)]),this['_masked']&&(this[_0xeb5ee5(0x254)][0x0]|this[_0xeb5ee5(0x254)][0x1]|this[_0xeb5ee5(0x254)][0x2]|this[_0xeb5ee5(0x254)][0x3])!==0x0&&_0x5926c4(_0x49f55a,this[_0xeb5ee5(0x254)]);}if(this['_opcode']>0x7){this[_0xeb5ee5(0x295)](_0x49f55a,_0x1bf078);return;}if(this[_0xeb5ee5(0x1d3)]){this[_0xeb5ee5(0x283)]=_0x2b4d66,this[_0xeb5ee5(0x18b)](_0x49f55a,_0x1bf078);return;}_0x49f55a[_0xeb5ee5(0x28c)]&&(this['_messageLength']=this['_totalPayloadLength'],this[_0xeb5ee5(0x2fb)][_0xeb5ee5(0x17b)](_0x49f55a)),this[_0xeb5ee5(0x161)](_0x1bf078);}[_0x535232(0x18b)](_0x420896,_0x22dd27){const _0x378f7d=_0x535232;this[_0x378f7d(0x26c)][_0x465e73[_0x378f7d(0x22a)]][_0x378f7d(0x18b)](_0x420896,this[_0x378f7d(0x298)],(_0x1a014f,_0x27636c)=>{const _0x5bcdd2=_0x378f7d;if(_0x1a014f)return _0x22dd27(_0x1a014f);if(_0x27636c['length']){if(this[_0x5bcdd2(0x265)]+=_0x27636c[_0x5bcdd2(0x28c)],this[_0x5bcdd2(0x265)]>this[_0x5bcdd2(0x195)]&&this[_0x5bcdd2(0x195)]>0x0){const _0x47debf=this[_0x5bcdd2(0x16d)](RangeError,_0x5bcdd2(0x1aa),!0x1,0x3f1,_0x5bcdd2(0x234));_0x22dd27(_0x47debf);return;}this['_fragments']['push'](_0x27636c);}this[_0x5bcdd2(0x161)](_0x22dd27),this[_0x5bcdd2(0x283)]===_0x96c65b&&this[_0x5bcdd2(0x1ce)](_0x22dd27);});}[_0x535232(0x161)](_0x32d058){const _0x4122b1=_0x535232;if(!this['_fin']){this['_state']=_0x96c65b;return;}const _0x3ceadc=this[_0x4122b1(0x265)],_0x526d4b=this['_fragments'];if(this['_totalPayloadLength']=0x0,this[_0x4122b1(0x265)]=0x0,this['_fragmented']=0x0,this['_fragments']=[],this[_0x4122b1(0x2d7)]===0x2){let _0x134b6a;this[_0x4122b1(0x221)]===_0x4122b1(0x2f0)?_0x134b6a=_0x66441b(_0x526d4b,_0x3ceadc):this[_0x4122b1(0x221)]==='arraybuffer'?_0x134b6a=_0x3d2895(_0x66441b(_0x526d4b,_0x3ceadc)):this['_binaryType']===_0x4122b1(0x2a9)?_0x134b6a=new Blob(_0x526d4b):_0x134b6a=_0x526d4b,this['_allowSynchronousEvents']?(this['emit'](_0x4122b1(0x237),_0x134b6a,!0x0),this[_0x4122b1(0x283)]=_0x96c65b):(this['_state']=_0xa177e,setImmediate(()=>{const _0x517990=_0x4122b1;this['emit'](_0x517990(0x237),_0x134b6a,!0x0),this['_state']=_0x96c65b,this[_0x517990(0x1ce)](_0x32d058);}));}else{const _0x3e8aab=_0x66441b(_0x526d4b,_0x3ceadc);if(!this[_0x4122b1(0x239)]&&!_0xc55b9a(_0x3e8aab)){const _0x1b8454=this[_0x4122b1(0x16d)](Error,_0x4122b1(0x1e6),!0x0,0x3ef,_0x4122b1(0x23f));_0x32d058(_0x1b8454);return;}this['_state']===_0x2b4d66||this[_0x4122b1(0x233)]?(this[_0x4122b1(0x19b)]('message',_0x3e8aab,!0x1),this[_0x4122b1(0x283)]=_0x96c65b):(this[_0x4122b1(0x283)]=_0xa177e,setImmediate(()=>{const _0x504bfe=_0x4122b1;this[_0x504bfe(0x19b)](_0x504bfe(0x237),_0x3e8aab,!0x1),this['_state']=_0x96c65b,this['startLoop'](_0x32d058);}));}}[_0x535232(0x295)](_0x4d4ce3,_0x406ecd){const _0x1aee8f=_0x535232;if(this[_0x1aee8f(0x2d7)]===0x8){if(_0x4d4ce3['length']===0x0)this['_loop']=!0x1,this['emit'](_0x1aee8f(0x228),0x3ed,_0x2e064c),this[_0x1aee8f(0x196)]();else{const _0x542511=_0x4d4ce3[_0x1aee8f(0x252)](0x0);if(!_0xc087ca(_0x542511)){const _0x3175a0=this['createError'](RangeError,'invalid\x20status\x20code\x20'+_0x542511,!0x0,0x3ea,_0x1aee8f(0x17f));_0x406ecd(_0x3175a0);return;}const _0x48cc55=new _0x53eaca(_0x4d4ce3['buffer'],_0x4d4ce3[_0x1aee8f(0x153)]+0x2,_0x4d4ce3[_0x1aee8f(0x28c)]-0x2);if(!this['_skipUTF8Validation']&&!_0xc55b9a(_0x48cc55)){const _0x2e318c=this[_0x1aee8f(0x16d)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x1aee8f(0x23f));_0x406ecd(_0x2e318c);return;}this[_0x1aee8f(0x1e5)]=!0x1,this[_0x1aee8f(0x19b)]('conclude',_0x542511,_0x48cc55),this[_0x1aee8f(0x196)]();}this[_0x1aee8f(0x283)]=_0x96c65b;return;}this['_allowSynchronousEvents']?(this['emit'](this['_opcode']===0x9?_0x1aee8f(0x2ae):_0x1aee8f(0x1fb),_0x4d4ce3),this[_0x1aee8f(0x283)]=_0x96c65b):(this[_0x1aee8f(0x283)]=_0xa177e,setImmediate(()=>{const _0x217877=_0x1aee8f;this['emit'](this[_0x217877(0x2d7)]===0x9?_0x217877(0x2ae):_0x217877(0x1fb),_0x4d4ce3),this[_0x217877(0x283)]=_0x96c65b,this[_0x217877(0x1ce)](_0x406ecd);}));}[_0x535232(0x16d)](_0x1a99f2,_0x11908b,_0x4d09a7,_0x14c38f,_0x4ebff2){const _0x2e2049=_0x535232;this[_0x2e2049(0x1e5)]=!0x1,this[_0x2e2049(0x1f7)]=!0x0;const _0x33fe71=new _0x1a99f2(_0x4d09a7?_0x2e2049(0x2d5)+_0x11908b:_0x11908b);return Error[_0x2e2049(0x1ab)](_0x33fe71,this[_0x2e2049(0x16d)]),_0x33fe71[_0x2e2049(0x15e)]=_0x4ebff2,_0x33fe71[_0x10042a]=_0x14c38f,_0x33fe71;}}return Se=_0x372a00,Se;}var Ee,et;function _t(){const _0x2502fe=_0xc1de09;if(et)return Ee;et=0x1;const {Duplex:_0x620617}=_0x268d1b,{randomFillSync:_0x56f2cf}=_0x1afa45,_0x47c9e5=he(),{EMPTY_BUFFER:_0x5ec610,kWebSocket:_0x22d343,NOOP:_0x285b76}=V(),{isBlob:_0x2e8180,isValidStatusCode:_0x4af444}=ne(),{mask:_0x27619f,toBuffer:_0x22f23e}=ce(),_0x8f22df=Symbol(_0x2502fe(0x1ba)),_0x166d53=Buffer[_0x2502fe(0x2a3)](0x4),_0x3db006=0x8*0x400;let _0xda20b6,_0x3f1c7b=_0x3db006;const _0x1586d2=0x0,_0x2e1488=0x1,_0x1f33a6=0x2;class _0x5b9dca{constructor(_0x29d545,_0x3058a0,_0x2e9064){const _0x50016c=_0x2502fe;this[_0x50016c(0x26c)]=_0x3058a0||{},_0x2e9064&&(this['_generateMask']=_0x2e9064,this['_maskBuffer']=Buffer['alloc'](0x4)),this[_0x50016c(0x2af)]=_0x29d545,this[_0x50016c(0x165)]=!0x0,this[_0x50016c(0x26e)]=!0x1,this[_0x50016c(0x232)]=0x0,this[_0x50016c(0x177)]=[],this[_0x50016c(0x283)]=_0x1586d2,this[_0x50016c(0x28a)]=_0x285b76,this[_0x22d343]=void 0x0;}static['frame'](_0x1aece2,_0x42a165){const _0x1603a0=_0x2502fe;let _0x31ac42,_0x46aba6=!0x1,_0x1bd040=0x2,_0x17c281=!0x1;_0x42a165['mask']&&(_0x31ac42=_0x42a165[_0x1603a0(0x155)]||_0x166d53,_0x42a165[_0x1603a0(0x29e)]?_0x42a165[_0x1603a0(0x29e)](_0x31ac42):(_0x3f1c7b===_0x3db006&&(_0xda20b6===void 0x0&&(_0xda20b6=Buffer[_0x1603a0(0x2a3)](_0x3db006)),_0x56f2cf(_0xda20b6,0x0,_0x3db006),_0x3f1c7b=0x0),_0x31ac42[0x0]=_0xda20b6[_0x3f1c7b++],_0x31ac42[0x1]=_0xda20b6[_0x3f1c7b++],_0x31ac42[0x2]=_0xda20b6[_0x3f1c7b++],_0x31ac42[0x3]=_0xda20b6[_0x3f1c7b++]),_0x17c281=(_0x31ac42[0x0]|_0x31ac42[0x1]|_0x31ac42[0x2]|_0x31ac42[0x3])===0x0,_0x1bd040=0x6);let _0x3e2bdf;typeof _0x1aece2==_0x1603a0(0x2b6)?(!_0x42a165['mask']||_0x17c281)&&_0x42a165[_0x8f22df]!==void 0x0?_0x3e2bdf=_0x42a165[_0x8f22df]:(_0x1aece2=Buffer['from'](_0x1aece2),_0x3e2bdf=_0x1aece2[_0x1603a0(0x28c)]):(_0x3e2bdf=_0x1aece2[_0x1603a0(0x28c)],_0x46aba6=_0x42a165['mask']&&_0x42a165['readOnly']&&!_0x17c281);let _0x268859=_0x3e2bdf;_0x3e2bdf>=0x10000?(_0x1bd040+=0x8,_0x268859=0x7f):_0x3e2bdf>0x7d&&(_0x1bd040+=0x2,_0x268859=0x7e);const _0x2f403a=Buffer[_0x1603a0(0x2d8)](_0x46aba6?_0x3e2bdf+_0x1bd040:_0x1bd040);return _0x2f403a[0x0]=_0x42a165[_0x1603a0(0x1b7)]?_0x42a165[_0x1603a0(0x18d)]|0x80:_0x42a165[_0x1603a0(0x18d)],_0x42a165[_0x1603a0(0x293)]&&(_0x2f403a[0x0]|=0x40),_0x2f403a[0x1]=_0x268859,_0x268859===0x7e?_0x2f403a[_0x1603a0(0x235)](_0x3e2bdf,0x2):_0x268859===0x7f&&(_0x2f403a[0x2]=_0x2f403a[0x3]=0x0,_0x2f403a[_0x1603a0(0x178)](_0x3e2bdf,0x4,0x6)),_0x42a165['mask']?(_0x2f403a[0x1]|=0x80,_0x2f403a[_0x1bd040-0x4]=_0x31ac42[0x0],_0x2f403a[_0x1bd040-0x3]=_0x31ac42[0x1],_0x2f403a[_0x1bd040-0x2]=_0x31ac42[0x2],_0x2f403a[_0x1bd040-0x1]=_0x31ac42[0x3],_0x17c281?[_0x2f403a,_0x1aece2]:_0x46aba6?(_0x27619f(_0x1aece2,_0x31ac42,_0x2f403a,_0x1bd040,_0x3e2bdf),[_0x2f403a]):(_0x27619f(_0x1aece2,_0x31ac42,_0x1aece2,0x0,_0x3e2bdf),[_0x2f403a,_0x1aece2])):[_0x2f403a,_0x1aece2];}['close'](_0xcb1a4f,_0x387828,_0x141f28,_0x1bb6ed){const _0x50f68c=_0x2502fe;let _0x4310bb;if(_0xcb1a4f===void 0x0)_0x4310bb=_0x5ec610;else{if(typeof _0xcb1a4f!='number'||!_0x4af444(_0xcb1a4f))throw new TypeError(_0x50f68c(0x2d9));if(_0x387828===void 0x0||!_0x387828[_0x50f68c(0x28c)])_0x4310bb=Buffer[_0x50f68c(0x2d8)](0x2),_0x4310bb['writeUInt16BE'](_0xcb1a4f,0x0);else{const _0x32d9c5=Buffer[_0x50f68c(0x231)](_0x387828);if(_0x32d9c5>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x4310bb=Buffer[_0x50f68c(0x2d8)](0x2+_0x32d9c5),_0x4310bb[_0x50f68c(0x235)](_0xcb1a4f,0x0),typeof _0x387828==_0x50f68c(0x2b6)?_0x4310bb[_0x50f68c(0x1c0)](_0x387828,0x2):_0x4310bb['set'](_0x387828,0x2);}}const _0x3746fd={[_0x8f22df]:_0x4310bb[_0x50f68c(0x28c)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x141f28,'maskBuffer':this[_0x50f68c(0x2fd)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x50f68c(0x283)]!==_0x1586d2?this[_0x50f68c(0x1e2)]([this[_0x50f68c(0x246)],_0x4310bb,!0x1,_0x3746fd,_0x1bb6ed]):this['sendFrame'](_0x5b9dca[_0x50f68c(0x25f)](_0x4310bb,_0x3746fd),_0x1bb6ed);}['ping'](_0x4011a9,_0x1cb1d9,_0x239b19){const _0x35628e=_0x2502fe;let _0x32566d,_0x1f9bc6;if(typeof _0x4011a9==_0x35628e(0x2b6)?(_0x32566d=Buffer['byteLength'](_0x4011a9),_0x1f9bc6=!0x1):_0x2e8180(_0x4011a9)?(_0x32566d=_0x4011a9[_0x35628e(0x266)],_0x1f9bc6=!0x1):(_0x4011a9=_0x22f23e(_0x4011a9),_0x32566d=_0x4011a9['length'],_0x1f9bc6=_0x22f23e[_0x35628e(0x250)]),_0x32566d>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x4d93af={[_0x8f22df]:_0x32566d,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x1cb1d9,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x1f9bc6,'rsv1':!0x1};_0x2e8180(_0x4011a9)?this[_0x35628e(0x283)]!==_0x1586d2?this[_0x35628e(0x1e2)]([this[_0x35628e(0x172)],_0x4011a9,!0x1,_0x4d93af,_0x239b19]):this['getBlobData'](_0x4011a9,!0x1,_0x4d93af,_0x239b19):this[_0x35628e(0x283)]!==_0x1586d2?this[_0x35628e(0x1e2)]([this[_0x35628e(0x246)],_0x4011a9,!0x1,_0x4d93af,_0x239b19]):this[_0x35628e(0x2f6)](_0x5b9dca['frame'](_0x4011a9,_0x4d93af),_0x239b19);}[_0x2502fe(0x1fb)](_0x358218,_0x3652cc,_0x1e52a6){const _0x28de62=_0x2502fe;let _0x642677,_0x260a69;if(typeof _0x358218=='string'?(_0x642677=Buffer[_0x28de62(0x231)](_0x358218),_0x260a69=!0x1):_0x2e8180(_0x358218)?(_0x642677=_0x358218[_0x28de62(0x266)],_0x260a69=!0x1):(_0x358218=_0x22f23e(_0x358218),_0x642677=_0x358218['length'],_0x260a69=_0x22f23e[_0x28de62(0x250)]),_0x642677>0x7d)throw new RangeError(_0x28de62(0x28d));const _0x4d998c={[_0x8f22df]:_0x642677,'fin':!0x0,'generateMask':this[_0x28de62(0x256)],'mask':_0x3652cc,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x260a69,'rsv1':!0x1};_0x2e8180(_0x358218)?this[_0x28de62(0x283)]!==_0x1586d2?this[_0x28de62(0x1e2)]([this['getBlobData'],_0x358218,!0x1,_0x4d998c,_0x1e52a6]):this['getBlobData'](_0x358218,!0x1,_0x4d998c,_0x1e52a6):this[_0x28de62(0x283)]!==_0x1586d2?this[_0x28de62(0x1e2)]([this[_0x28de62(0x246)],_0x358218,!0x1,_0x4d998c,_0x1e52a6]):this['sendFrame'](_0x5b9dca[_0x28de62(0x25f)](_0x358218,_0x4d998c),_0x1e52a6);}['send'](_0xbae7be,_0x3531dc,_0x8ba644){const _0x21a04b=_0x2502fe,_0x402677=this[_0x21a04b(0x26c)][_0x47c9e5[_0x21a04b(0x22a)]];let _0x564db5=_0x3531dc[_0x21a04b(0x2e7)]?0x2:0x1,_0xb1dfb3=_0x3531dc[_0x21a04b(0x2a0)],_0x5444ee,_0x1be540;typeof _0xbae7be=='string'?(_0x5444ee=Buffer[_0x21a04b(0x231)](_0xbae7be),_0x1be540=!0x1):_0x2e8180(_0xbae7be)?(_0x5444ee=_0xbae7be['size'],_0x1be540=!0x1):(_0xbae7be=_0x22f23e(_0xbae7be),_0x5444ee=_0xbae7be[_0x21a04b(0x28c)],_0x1be540=_0x22f23e[_0x21a04b(0x250)]),this['_firstFragment']?(this[_0x21a04b(0x165)]=!0x1,_0xb1dfb3&&_0x402677&&_0x402677['params'][_0x402677[_0x21a04b(0x23e)]?_0x21a04b(0x20b):_0x21a04b(0x2ee)]&&(_0xb1dfb3=_0x5444ee>=_0x402677[_0x21a04b(0x2d1)]),this[_0x21a04b(0x26e)]=_0xb1dfb3):(_0xb1dfb3=!0x1,_0x564db5=0x0),_0x3531dc[_0x21a04b(0x1b7)]&&(this['_firstFragment']=!0x0);const _0x4d1daf={[_0x8f22df]:_0x5444ee,'fin':_0x3531dc['fin'],'generateMask':this[_0x21a04b(0x256)],'mask':_0x3531dc[_0x21a04b(0x18c)],'maskBuffer':this[_0x21a04b(0x2fd)],'opcode':_0x564db5,'readOnly':_0x1be540,'rsv1':_0xb1dfb3};_0x2e8180(_0xbae7be)?this['_state']!==_0x1586d2?this[_0x21a04b(0x1e2)]([this[_0x21a04b(0x172)],_0xbae7be,this[_0x21a04b(0x26e)],_0x4d1daf,_0x8ba644]):this[_0x21a04b(0x172)](_0xbae7be,this[_0x21a04b(0x26e)],_0x4d1daf,_0x8ba644):this[_0x21a04b(0x283)]!==_0x1586d2?this[_0x21a04b(0x1e2)]([this[_0x21a04b(0x246)],_0xbae7be,this['_compress'],_0x4d1daf,_0x8ba644]):this[_0x21a04b(0x246)](_0xbae7be,this['_compress'],_0x4d1daf,_0x8ba644);}[_0x2502fe(0x172)](_0x904a7f,_0x6b0124,_0x5d820c,_0x33b172){const _0x4b57a4=_0x2502fe;this[_0x4b57a4(0x232)]+=_0x5d820c[_0x8f22df],this[_0x4b57a4(0x283)]=_0x1f33a6,_0x904a7f[_0x4b57a4(0x1b0)]()[_0x4b57a4(0x224)](_0x3c90c7=>{const _0x2e682e=_0x4b57a4;if(this[_0x2e682e(0x2af)]['destroyed']){const _0x27e8eb=new Error(_0x2e682e(0x2cf));process[_0x2e682e(0x27d)](_0x3b6d29,this,_0x27e8eb,_0x33b172);return;}this['_bufferedBytes']-=_0x5d820c[_0x8f22df];const _0x26cb1d=_0x22f23e(_0x3c90c7);_0x6b0124?this[_0x2e682e(0x246)](_0x26cb1d,_0x6b0124,_0x5d820c,_0x33b172):(this[_0x2e682e(0x283)]=_0x1586d2,this[_0x2e682e(0x2f6)](_0x5b9dca[_0x2e682e(0x25f)](_0x26cb1d,_0x5d820c),_0x33b172),this[_0x2e682e(0x260)]());})['catch'](_0x1f612d=>{const _0x3a964c=_0x4b57a4;process[_0x3a964c(0x27d)](_0x59627a,this,_0x1f612d,_0x33b172);});}[_0x2502fe(0x246)](_0x1664db,_0x27f16e,_0x45b421,_0x52c129){const _0x22902a=_0x2502fe;if(!_0x27f16e){this[_0x22902a(0x2f6)](_0x5b9dca[_0x22902a(0x25f)](_0x1664db,_0x45b421),_0x52c129);return;}const _0x9a306a=this[_0x22902a(0x26c)][_0x47c9e5[_0x22902a(0x22a)]];this[_0x22902a(0x232)]+=_0x45b421[_0x8f22df],this[_0x22902a(0x283)]=_0x2e1488,_0x9a306a[_0x22902a(0x2a0)](_0x1664db,_0x45b421[_0x22902a(0x1b7)],(_0x35e88e,_0x188a44)=>{const _0x4cd47a=_0x22902a;if(this[_0x4cd47a(0x2af)][_0x4cd47a(0x2c5)]){const _0x3c59eb=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x3b6d29(this,_0x3c59eb,_0x52c129);return;}this[_0x4cd47a(0x232)]-=_0x45b421[_0x8f22df],this[_0x4cd47a(0x283)]=_0x1586d2,_0x45b421[_0x4cd47a(0x250)]=!0x1,this[_0x4cd47a(0x2f6)](_0x5b9dca[_0x4cd47a(0x25f)](_0x188a44,_0x45b421),_0x52c129),this[_0x4cd47a(0x260)]();});}[_0x2502fe(0x260)](){const _0x4b712d=_0x2502fe;for(;this['_state']===_0x1586d2&&this[_0x4b712d(0x177)][_0x4b712d(0x28c)];){const _0x1505f2=this[_0x4b712d(0x177)]['shift']();this[_0x4b712d(0x232)]-=_0x1505f2[0x3][_0x8f22df],Reflect['apply'](_0x1505f2[0x0],this,_0x1505f2['slice'](0x1));}}[_0x2502fe(0x1e2)](_0x3c8ced){const _0x52e7ea=_0x2502fe;this[_0x52e7ea(0x232)]+=_0x3c8ced[0x3][_0x8f22df],this['_queue'][_0x52e7ea(0x17b)](_0x3c8ced);}[_0x2502fe(0x2f6)](_0x226f8d,_0x38ca0a){const _0x6a3d2c=_0x2502fe;_0x226f8d[_0x6a3d2c(0x28c)]===0x2?(this[_0x6a3d2c(0x2af)]['cork'](),this[_0x6a3d2c(0x2af)][_0x6a3d2c(0x1c0)](_0x226f8d[0x0]),this['_socket']['write'](_0x226f8d[0x1],_0x38ca0a),this[_0x6a3d2c(0x2af)][_0x6a3d2c(0x2bf)]()):this[_0x6a3d2c(0x2af)][_0x6a3d2c(0x1c0)](_0x226f8d[0x0],_0x38ca0a);}}Ee=_0x5b9dca;function _0x3b6d29(_0x564be7,_0x4a237c,_0xfa4f77){const _0x29e4f1=_0x2502fe;typeof _0xfa4f77=='function'&&_0xfa4f77(_0x4a237c);for(let _0x10e94b=0x0;_0x10e94b<_0x564be7['_queue'][_0x29e4f1(0x28c)];_0x10e94b++){const _0x126b9b=_0x564be7[_0x29e4f1(0x177)][_0x10e94b],_0x1588f1=_0x126b9b[_0x126b9b['length']-0x1];typeof _0x1588f1==_0x29e4f1(0x2ff)&&_0x1588f1(_0x4a237c);}}function _0x59627a(_0x260645,_0x32e1a2,_0x56075b){const _0x310b62=_0x2502fe;_0x3b6d29(_0x260645,_0x32e1a2,_0x56075b),_0x260645[_0x310b62(0x28a)](_0x32e1a2);}return Ee;}var xe,tt;function Kt(){const _0x275fa9=_0xc1de09;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x9e5ddc,kListener:_0x2f94be}=V(),_0x3b1b59=Symbol(_0x275fa9(0x205)),_0x40cd73=Symbol('kData'),_0x3f2994=Symbol('kError'),_0x500ded=Symbol(_0x275fa9(0x19e)),_0x3d71de=Symbol(_0x275fa9(0x26b)),_0x295793=Symbol('kTarget'),_0x3c7f74=Symbol(_0x275fa9(0x1cb)),_0xba702e=Symbol('kWasClean');class _0x414704{constructor(_0x3003ed){this[_0x295793]=null,this[_0x3c7f74]=_0x3003ed;}get[_0x275fa9(0x19a)](){return this[_0x295793];}get['type'](){return this[_0x3c7f74];}}Object[_0x275fa9(0x271)](_0x414704[_0x275fa9(0x1a6)],_0x275fa9(0x19a),{'enumerable':!0x0}),Object[_0x275fa9(0x271)](_0x414704[_0x275fa9(0x1a6)],_0x275fa9(0x1a3),{'enumerable':!0x0});class _0x140b03 extends _0x414704{constructor(_0x56f331,_0x3c01eb={}){const _0x46839b=_0x275fa9;super(_0x56f331),this[_0x3b1b59]=_0x3c01eb[_0x46839b(0x15e)]===void 0x0?0x0:_0x3c01eb[_0x46839b(0x15e)],this[_0x3d71de]=_0x3c01eb[_0x46839b(0x28b)]===void 0x0?'':_0x3c01eb[_0x46839b(0x28b)],this[_0xba702e]=_0x3c01eb['wasClean']===void 0x0?!0x1:_0x3c01eb[_0x46839b(0x2be)];}get['code'](){return this[_0x3b1b59];}get[_0x275fa9(0x28b)](){return this[_0x3d71de];}get[_0x275fa9(0x2be)](){return this[_0xba702e];}}Object['defineProperty'](_0x140b03[_0x275fa9(0x1a6)],_0x275fa9(0x15e),{'enumerable':!0x0}),Object[_0x275fa9(0x271)](_0x140b03[_0x275fa9(0x1a6)],_0x275fa9(0x28b),{'enumerable':!0x0}),Object['defineProperty'](_0x140b03[_0x275fa9(0x1a6)],_0x275fa9(0x2be),{'enumerable':!0x0});class _0x2cc5f8 extends _0x414704{constructor(_0x2a3dd2,_0x348c62={}){const _0x5e9a14=_0x275fa9;super(_0x2a3dd2),this[_0x3f2994]=_0x348c62[_0x5e9a14(0x166)]===void 0x0?null:_0x348c62['error'],this[_0x500ded]=_0x348c62[_0x5e9a14(0x237)]===void 0x0?'':_0x348c62[_0x5e9a14(0x237)];}get[_0x275fa9(0x166)](){return this[_0x3f2994];}get[_0x275fa9(0x237)](){return this[_0x500ded];}}Object['defineProperty'](_0x2cc5f8[_0x275fa9(0x1a6)],_0x275fa9(0x166),{'enumerable':!0x0}),Object[_0x275fa9(0x271)](_0x2cc5f8[_0x275fa9(0x1a6)],_0x275fa9(0x237),{'enumerable':!0x0});class _0x57b2f3 extends _0x414704{constructor(_0x32bb1e,_0x2aea4c={}){const _0x421200=_0x275fa9;super(_0x32bb1e),this[_0x40cd73]=_0x2aea4c[_0x421200(0x197)]===void 0x0?null:_0x2aea4c[_0x421200(0x197)];}get['data'](){return this[_0x40cd73];}}Object[_0x275fa9(0x271)](_0x57b2f3[_0x275fa9(0x1a6)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x140b03,'ErrorEvent':_0x2cc5f8,'Event':_0x414704,'EventTarget':{'addEventListener'(_0x4d0a46,_0xc38d46,_0x3cd721={}){const _0x552bc8=_0x275fa9;for(const _0x423e21 of this[_0x552bc8(0x1ec)](_0x4d0a46))if(!_0x3cd721[_0x9e5ddc]&&_0x423e21[_0x2f94be]===_0xc38d46&&!_0x423e21[_0x9e5ddc])return;let _0x57d4ba;if(_0x4d0a46===_0x552bc8(0x237))_0x57d4ba=function(_0x1ea0f1,_0x42db17){const _0x4be540=new _0x57b2f3('message',{'data':_0x42db17?_0x1ea0f1:_0x1ea0f1['toString']()});_0x4be540[_0x295793]=this,_0x41b35f(_0xc38d46,this,_0x4be540);};else{if(_0x4d0a46===_0x552bc8(0x25c))_0x57d4ba=function(_0x5495b8,_0x42ec73){const _0x49b598=_0x552bc8,_0x641c8a=new _0x140b03(_0x49b598(0x25c),{'code':_0x5495b8,'reason':_0x42ec73[_0x49b598(0x160)](),'wasClean':this[_0x49b598(0x1de)]&&this[_0x49b598(0x22d)]});_0x641c8a[_0x295793]=this,_0x41b35f(_0xc38d46,this,_0x641c8a);};else{if(_0x4d0a46===_0x552bc8(0x166))_0x57d4ba=function(_0x7bc5ad){const _0x2319af=_0x552bc8,_0x4b18ef=new _0x2cc5f8('error',{'error':_0x7bc5ad,'message':_0x7bc5ad[_0x2319af(0x237)]});_0x4b18ef[_0x295793]=this,_0x41b35f(_0xc38d46,this,_0x4b18ef);};else{if(_0x4d0a46===_0x552bc8(0x2d4))_0x57d4ba=function(){const _0x3ecdcf=_0x552bc8,_0x41c1b9=new _0x414704(_0x3ecdcf(0x2d4));_0x41c1b9[_0x295793]=this,_0x41b35f(_0xc38d46,this,_0x41c1b9);};else return;}}}_0x57d4ba[_0x9e5ddc]=!!_0x3cd721[_0x9e5ddc],_0x57d4ba[_0x2f94be]=_0xc38d46,_0x3cd721[_0x552bc8(0x2da)]?this[_0x552bc8(0x2da)](_0x4d0a46,_0x57d4ba):this['on'](_0x4d0a46,_0x57d4ba);},'removeEventListener'(_0x4a9f55,_0x3a0c3d){const _0x1e17b1=_0x275fa9;for(const _0x4ac255 of this['listeners'](_0x4a9f55))if(_0x4ac255[_0x2f94be]===_0x3a0c3d&&!_0x4ac255[_0x9e5ddc]){this[_0x1e17b1(0x20c)](_0x4a9f55,_0x4ac255);break;}}},'MessageEvent':_0x57b2f3};function _0x41b35f(_0x48cfad,_0x26e1a4,_0x137dcc){const _0x58315e=_0x275fa9;typeof _0x48cfad==_0x58315e(0x2ab)&&_0x48cfad['handleEvent']?_0x48cfad['handleEvent'][_0x58315e(0x1b4)](_0x48cfad,_0x137dcc):_0x48cfad[_0x58315e(0x1b4)](_0x26e1a4,_0x137dcc);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x515c49}=ne();function _0x51511f(_0x335d9b,_0x38bf1f,_0x409a66){const _0x5e69ec=_0x4f4c;_0x335d9b[_0x38bf1f]===void 0x0?_0x335d9b[_0x38bf1f]=[_0x409a66]:_0x335d9b[_0x38bf1f][_0x5e69ec(0x17b)](_0x409a66);}function _0x3934fb(_0x5f5da1){const _0x443ad8=_0x4f4c,_0x737c77=Object[_0x443ad8(0x29a)](null);let _0x15d1b2=Object[_0x443ad8(0x29a)](null),_0x499cb7=!0x1,_0xcb085f=!0x1,_0xd3a711=!0x1,_0x6851fb,_0x4c1899,_0x266321=-0x1,_0x19981f=-0x1,_0x4cab60=-0x1,_0xcfc464=0x0;for(;_0xcfc464<_0x5f5da1[_0x443ad8(0x28c)];_0xcfc464++)if(_0x19981f=_0x5f5da1[_0x443ad8(0x29f)](_0xcfc464),_0x6851fb===void 0x0){if(_0x4cab60===-0x1&&_0x515c49[_0x19981f]===0x1)_0x266321===-0x1&&(_0x266321=_0xcfc464);else{if(_0xcfc464!==0x0&&(_0x19981f===0x20||_0x19981f===0x9))_0x4cab60===-0x1&&_0x266321!==-0x1&&(_0x4cab60=_0xcfc464);else{if(_0x19981f===0x3b||_0x19981f===0x2c){if(_0x266321===-0x1)throw new SyntaxError(_0x443ad8(0x2a6)+_0xcfc464);_0x4cab60===-0x1&&(_0x4cab60=_0xcfc464);const _0x1f516a=_0x5f5da1['slice'](_0x266321,_0x4cab60);_0x19981f===0x2c?(_0x51511f(_0x737c77,_0x1f516a,_0x15d1b2),_0x15d1b2=Object['create'](null)):_0x6851fb=_0x1f516a,_0x266321=_0x4cab60=-0x1;}else throw new SyntaxError(_0x443ad8(0x2a6)+_0xcfc464);}}}else{if(_0x4c1899===void 0x0){if(_0x4cab60===-0x1&&_0x515c49[_0x19981f]===0x1)_0x266321===-0x1&&(_0x266321=_0xcfc464);else{if(_0x19981f===0x20||_0x19981f===0x9)_0x4cab60===-0x1&&_0x266321!==-0x1&&(_0x4cab60=_0xcfc464);else{if(_0x19981f===0x3b||_0x19981f===0x2c){if(_0x266321===-0x1)throw new SyntaxError(_0x443ad8(0x2a6)+_0xcfc464);_0x4cab60===-0x1&&(_0x4cab60=_0xcfc464),_0x51511f(_0x15d1b2,_0x5f5da1[_0x443ad8(0x18e)](_0x266321,_0x4cab60),!0x0),_0x19981f===0x2c&&(_0x51511f(_0x737c77,_0x6851fb,_0x15d1b2),_0x15d1b2=Object[_0x443ad8(0x29a)](null),_0x6851fb=void 0x0),_0x266321=_0x4cab60=-0x1;}else{if(_0x19981f===0x3d&&_0x266321!==-0x1&&_0x4cab60===-0x1)_0x4c1899=_0x5f5da1[_0x443ad8(0x18e)](_0x266321,_0xcfc464),_0x266321=_0x4cab60=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xcfc464);}}}}else{if(_0xcb085f){if(_0x515c49[_0x19981f]!==0x1)throw new SyntaxError(_0x443ad8(0x2a6)+_0xcfc464);_0x266321===-0x1?_0x266321=_0xcfc464:_0x499cb7||(_0x499cb7=!0x0),_0xcb085f=!0x1;}else{if(_0xd3a711){if(_0x515c49[_0x19981f]===0x1)_0x266321===-0x1&&(_0x266321=_0xcfc464);else{if(_0x19981f===0x22&&_0x266321!==-0x1)_0xd3a711=!0x1,_0x4cab60=_0xcfc464;else{if(_0x19981f===0x5c)_0xcb085f=!0x0;else throw new SyntaxError(_0x443ad8(0x2a6)+_0xcfc464);}}}else{if(_0x19981f===0x22&&_0x5f5da1[_0x443ad8(0x29f)](_0xcfc464-0x1)===0x3d)_0xd3a711=!0x0;else{if(_0x4cab60===-0x1&&_0x515c49[_0x19981f]===0x1)_0x266321===-0x1&&(_0x266321=_0xcfc464);else{if(_0x266321!==-0x1&&(_0x19981f===0x20||_0x19981f===0x9))_0x4cab60===-0x1&&(_0x4cab60=_0xcfc464);else{if(_0x19981f===0x3b||_0x19981f===0x2c){if(_0x266321===-0x1)throw new SyntaxError(_0x443ad8(0x2a6)+_0xcfc464);_0x4cab60===-0x1&&(_0x4cab60=_0xcfc464);let _0x1454ee=_0x5f5da1[_0x443ad8(0x18e)](_0x266321,_0x4cab60);_0x499cb7&&(_0x1454ee=_0x1454ee['replace'](/\\/g,''),_0x499cb7=!0x1),_0x51511f(_0x15d1b2,_0x4c1899,_0x1454ee),_0x19981f===0x2c&&(_0x51511f(_0x737c77,_0x6851fb,_0x15d1b2),_0x15d1b2=Object[_0x443ad8(0x29a)](null),_0x6851fb=void 0x0),_0x4c1899=void 0x0,_0x266321=_0x4cab60=-0x1;}else throw new SyntaxError(_0x443ad8(0x2a6)+_0xcfc464);}}}}}}}if(_0x266321===-0x1||_0xd3a711||_0x19981f===0x20||_0x19981f===0x9)throw new SyntaxError(_0x443ad8(0x2e8));_0x4cab60===-0x1&&(_0x4cab60=_0xcfc464);const _0x29d190=_0x5f5da1[_0x443ad8(0x18e)](_0x266321,_0x4cab60);return _0x6851fb===void 0x0?_0x51511f(_0x737c77,_0x29d190,_0x15d1b2):(_0x4c1899===void 0x0?_0x51511f(_0x15d1b2,_0x29d190,!0x0):_0x499cb7?_0x51511f(_0x15d1b2,_0x4c1899,_0x29d190['replace'](/\\/g,'')):_0x51511f(_0x15d1b2,_0x4c1899,_0x29d190),_0x51511f(_0x737c77,_0x6851fb,_0x15d1b2)),_0x737c77;}function _0x53260d(_0x52dd71){const _0x2f94f8=_0x4f4c;return Object[_0x2f94f8(0x1c6)](_0x52dd71)['map'](_0xd72796=>{const _0x55cffc=_0x2f94f8;let _0xa1bb23=_0x52dd71[_0xd72796];return Array[_0x55cffc(0x23a)](_0xa1bb23)||(_0xa1bb23=[_0xa1bb23]),_0xa1bb23[_0x55cffc(0x18f)](_0x5f3e06=>[_0xd72796][_0x55cffc(0x219)](Object[_0x55cffc(0x1c6)](_0x5f3e06)[_0x55cffc(0x18f)](_0x1fe9f6=>{const _0x114c09=_0x55cffc;let _0x541968=_0x5f3e06[_0x1fe9f6];return Array[_0x114c09(0x23a)](_0x541968)||(_0x541968=[_0x541968]),_0x541968[_0x114c09(0x18f)](_0x2f3a4f=>_0x2f3a4f===!0x0?_0x1fe9f6:_0x1fe9f6+'='+_0x2f3a4f)[_0x114c09(0x1da)](';\x20');}))['join'](';\x20'))['join'](',\x20');})[_0x2f94f8(0x1da)](',\x20');}return be={'format':_0x53260d,'parse':_0x3934fb},be;}var we,st;function Ie(){const _0x4b72a3=_0xc1de09;if(st)return we;st=0x1;const _0x231c20=_0x582a84,_0x55a1b4=_0x4ef948,_0x3f8e0f=_0x5e30a9,_0x297610=_0x124718,_0x1499a8=_0x5fd690,{randomBytes:_0x2e89ce,createHash:_0x1a72ff}=_0x1afa45,{Duplex:_0x2fbc31,Readable:_0x5220a2}=_0x268d1b,{URL:_0xc5fc6b}=_0x3710c3,_0x5a2ee4=he(),_0x4fd309=dt(),_0x180415=_t(),{isBlob:_0x38eb90}=ne(),{BINARY_TYPES:_0x358890,EMPTY_BUFFER:_0x1ca426,GUID:_0x4abd2b,kForOnEventAttribute:_0x2024b3,kListener:_0xc59d59,kStatusCode:_0x35f679,kWebSocket:_0x15199d,NOOP:_0x49b11}=V(),{EventTarget:{addEventListener:_0x59e5f9,removeEventListener:_0x79bcd2}}=Kt(),{format:_0x11de14,parse:_0x4a426a}=pt(),{toBuffer:_0x243a26}=ce(),_0x170d6f=0x1e*0x3e8,_0x4e4b2e=Symbol(_0x4b72a3(0x1cd)),_0x1f70e4=[0x8,0xd],_0x1a6021=[_0x4b72a3(0x29d),_0x4b72a3(0x190),_0x4b72a3(0x191),'CLOSED'],_0x1c44d7=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0xfef2e extends _0x231c20{constructor(_0x4d3b73,_0xa995,_0x269eac){const _0x2d59c4=_0x4b72a3;super(),this[_0x2d59c4(0x221)]=_0x358890[0x0],this[_0x2d59c4(0x25b)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x2d59c4(0x22d)]=!0x1,this['_closeMessage']=_0x1ca426,this[_0x2d59c4(0x2de)]=null,this[_0x2d59c4(0x268)]=!0x1,this[_0x2d59c4(0x26c)]={},this[_0x2d59c4(0x2b1)]=!0x1,this['_protocol']='',this['_readyState']=_0xfef2e[_0x2d59c4(0x29d)],this[_0x2d59c4(0x245)]=null,this[_0x2d59c4(0x25d)]=null,this[_0x2d59c4(0x2af)]=null,_0x4d3b73!==null?(this['_bufferedAmount']=0x0,this[_0x2d59c4(0x23e)]=!0x1,this[_0x2d59c4(0x16b)]=0x0,_0xa995===void 0x0?_0xa995=[]:Array[_0x2d59c4(0x23a)](_0xa995)||(typeof _0xa995==_0x2d59c4(0x2ab)&&_0xa995!==null?(_0x269eac=_0xa995,_0xa995=[]):_0xa995=[_0xa995]),_0xbfa62(this,_0x4d3b73,_0xa995,_0x269eac)):(this[_0x2d59c4(0x25e)]=_0x269eac[_0x2d59c4(0x2f3)],this[_0x2d59c4(0x23e)]=!0x0);}get[_0x4b72a3(0x171)](){const _0x5e3a6e=_0x4b72a3;return this[_0x5e3a6e(0x221)];}set[_0x4b72a3(0x171)](_0x366f4b){const _0x5584b3=_0x4b72a3;_0x358890[_0x5584b3(0x241)](_0x366f4b)&&(this[_0x5584b3(0x221)]=_0x366f4b,this[_0x5584b3(0x245)]&&(this[_0x5584b3(0x245)][_0x5584b3(0x221)]=_0x366f4b));}get[_0x4b72a3(0x1e1)](){const _0x52cc84=_0x4b72a3;return this[_0x52cc84(0x2af)]?this[_0x52cc84(0x2af)][_0x52cc84(0x170)][_0x52cc84(0x28c)]+this['_sender'][_0x52cc84(0x232)]:this[_0x52cc84(0x2df)];}get[_0x4b72a3(0x1f4)](){const _0x380c42=_0x4b72a3;return Object[_0x380c42(0x1c6)](this[_0x380c42(0x26c)])[_0x380c42(0x1da)]();}get['isPaused'](){return this['_paused'];}get['onclose'](){return null;}get['onerror'](){return null;}get[_0x4b72a3(0x27b)](){return null;}get[_0x4b72a3(0x1a8)](){return null;}get['protocol'](){const _0x275e25=_0x4b72a3;return this[_0x275e25(0x1c1)];}get['readyState'](){return this['_readyState'];}get[_0x4b72a3(0x22e)](){const _0x20370c=_0x4b72a3;return this[_0x20370c(0x1ae)];}['setSocket'](_0x4baf7e,_0x132972,_0x529876){const _0x391982=_0x4b72a3,_0x48f630=new _0x4fd309({'allowSynchronousEvents':_0x529876['allowSynchronousEvents'],'binaryType':this[_0x391982(0x171)],'extensions':this['_extensions'],'isServer':this['_isServer'],'maxPayload':_0x529876[_0x391982(0x1ff)],'skipUTF8Validation':_0x529876['skipUTF8Validation']}),_0x1c3518=new _0x180415(_0x4baf7e,this[_0x391982(0x26c)],_0x529876['generateMask']);this[_0x391982(0x245)]=_0x48f630,this[_0x391982(0x25d)]=_0x1c3518,this['_socket']=_0x4baf7e,_0x48f630[_0x15199d]=this,_0x1c3518[_0x15199d]=this,_0x4baf7e[_0x15199d]=this,_0x48f630['on'](_0x391982(0x228),_0x4a39b5),_0x48f630['on']('drain',_0x1da518),_0x48f630['on'](_0x391982(0x166),_0x33df3f),_0x48f630['on'](_0x391982(0x237),_0x55bbbe),_0x48f630['on'](_0x391982(0x2ae),_0x373243),_0x48f630['on'](_0x391982(0x1fb),_0x2a2cdf),_0x1c3518[_0x391982(0x28a)]=_0x28d0d9,_0x4baf7e[_0x391982(0x176)]&&_0x4baf7e['setTimeout'](0x0),_0x4baf7e[_0x391982(0x286)]&&_0x4baf7e['setNoDelay'](),_0x132972[_0x391982(0x28c)]>0x0&&_0x4baf7e[_0x391982(0x2a2)](_0x132972),_0x4baf7e['on'](_0x391982(0x25c),_0x1b5166),_0x4baf7e['on'](_0x391982(0x197),_0x3a7193),_0x4baf7e['on'](_0x391982(0x196),_0x4f3837),_0x4baf7e['on']('error',_0x125dc7),this[_0x391982(0x292)]=_0xfef2e[_0x391982(0x190)],this[_0x391982(0x19b)](_0x391982(0x2d4));}[_0x4b72a3(0x24e)](){const _0x38f461=_0x4b72a3;if(!this[_0x38f461(0x2af)]){this[_0x38f461(0x292)]=_0xfef2e[_0x38f461(0x243)],this[_0x38f461(0x19b)](_0x38f461(0x25c),this['_closeCode'],this[_0x38f461(0x226)]);return;}this[_0x38f461(0x26c)][_0x5a2ee4[_0x38f461(0x22a)]]&&this[_0x38f461(0x26c)][_0x5a2ee4['extensionName']]['cleanup'](),this[_0x38f461(0x245)][_0x38f461(0x1bb)](),this[_0x38f461(0x292)]=_0xfef2e[_0x38f461(0x243)],this['emit']('close',this[_0x38f461(0x25b)],this[_0x38f461(0x226)]);}[_0x4b72a3(0x25c)](_0x2cbdc6,_0x4aa315){const _0x5a7787=_0x4b72a3;if(this[_0x5a7787(0x291)]!==_0xfef2e['CLOSED']){if(this[_0x5a7787(0x291)]===_0xfef2e['CONNECTING']){_0x4aa4a1(this,this[_0x5a7787(0x2bb)],_0x5a7787(0x1d5));return;}if(this[_0x5a7787(0x291)]===_0xfef2e[_0x5a7787(0x191)]){this[_0x5a7787(0x22d)]&&(this[_0x5a7787(0x1de)]||this[_0x5a7787(0x245)][_0x5a7787(0x170)][_0x5a7787(0x14f)])&&this[_0x5a7787(0x2af)]['end']();return;}this[_0x5a7787(0x292)]=_0xfef2e[_0x5a7787(0x191)],this['_sender'][_0x5a7787(0x25c)](_0x2cbdc6,_0x4aa315,!this['_isServer'],_0x55ad88=>{const _0x47c3e1=_0x5a7787;_0x55ad88||(this['_closeFrameSent']=!0x0,(this[_0x47c3e1(0x1de)]||this['_receiver'][_0x47c3e1(0x170)][_0x47c3e1(0x14f)])&&this[_0x47c3e1(0x2af)][_0x47c3e1(0x196)]());}),_0xa008e4(this);}}[_0x4b72a3(0x162)](){const _0x3ee0ae=_0x4b72a3;this[_0x3ee0ae(0x291)]===_0xfef2e[_0x3ee0ae(0x29d)]||this[_0x3ee0ae(0x291)]===_0xfef2e[_0x3ee0ae(0x243)]||(this[_0x3ee0ae(0x2b1)]=!0x0,this[_0x3ee0ae(0x2af)]['pause']());}['ping'](_0xc0eb8d,_0x10d9c1,_0x598a61){const _0x492fec=_0x4b72a3;if(this[_0x492fec(0x291)]===_0xfef2e[_0x492fec(0x29d)])throw new Error(_0x492fec(0x2c4));if(typeof _0xc0eb8d==_0x492fec(0x2ff)?(_0x598a61=_0xc0eb8d,_0xc0eb8d=_0x10d9c1=void 0x0):typeof _0x10d9c1==_0x492fec(0x2ff)&&(_0x598a61=_0x10d9c1,_0x10d9c1=void 0x0),typeof _0xc0eb8d=='number'&&(_0xc0eb8d=_0xc0eb8d[_0x492fec(0x160)]()),this['readyState']!==_0xfef2e[_0x492fec(0x190)]){_0x2ce8c9(this,_0xc0eb8d,_0x598a61);return;}_0x10d9c1===void 0x0&&(_0x10d9c1=!this[_0x492fec(0x23e)]),this['_sender'][_0x492fec(0x2ae)](_0xc0eb8d||_0x1ca426,_0x10d9c1,_0x598a61);}[_0x4b72a3(0x1fb)](_0x51655f,_0x3d95bf,_0x221b77){const _0x1a3dc4=_0x4b72a3;if(this[_0x1a3dc4(0x291)]===_0xfef2e['CONNECTING'])throw new Error(_0x1a3dc4(0x2c4));if(typeof _0x51655f==_0x1a3dc4(0x2ff)?(_0x221b77=_0x51655f,_0x51655f=_0x3d95bf=void 0x0):typeof _0x3d95bf=='function'&&(_0x221b77=_0x3d95bf,_0x3d95bf=void 0x0),typeof _0x51655f==_0x1a3dc4(0x2f7)&&(_0x51655f=_0x51655f[_0x1a3dc4(0x160)]()),this[_0x1a3dc4(0x291)]!==_0xfef2e[_0x1a3dc4(0x190)]){_0x2ce8c9(this,_0x51655f,_0x221b77);return;}_0x3d95bf===void 0x0&&(_0x3d95bf=!this['_isServer']),this[_0x1a3dc4(0x25d)]['pong'](_0x51655f||_0x1ca426,_0x3d95bf,_0x221b77);}[_0x4b72a3(0x288)](){const _0x514049=_0x4b72a3;this[_0x514049(0x291)]===_0xfef2e[_0x514049(0x29d)]||this[_0x514049(0x291)]===_0xfef2e[_0x514049(0x243)]||(this[_0x514049(0x2b1)]=!0x1,this['_receiver']['_writableState'][_0x514049(0x17c)]||this[_0x514049(0x2af)]['resume']());}['send'](_0x182868,_0x2743e8,_0x5c3ed9){const _0x3eeb3f=_0x4b72a3;if(this['readyState']===_0xfef2e[_0x3eeb3f(0x29d)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x2743e8==_0x3eeb3f(0x2ff)&&(_0x5c3ed9=_0x2743e8,_0x2743e8={}),typeof _0x182868==_0x3eeb3f(0x2f7)&&(_0x182868=_0x182868[_0x3eeb3f(0x160)]()),this['readyState']!==_0xfef2e['OPEN']){_0x2ce8c9(this,_0x182868,_0x5c3ed9);return;}const _0x642268={'binary':typeof _0x182868!='string','mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x2743e8};this[_0x3eeb3f(0x26c)][_0x5a2ee4[_0x3eeb3f(0x22a)]]||(_0x642268[_0x3eeb3f(0x2a0)]=!0x1),this[_0x3eeb3f(0x25d)]['send'](_0x182868||_0x1ca426,_0x642268,_0x5c3ed9);}['terminate'](){const _0xfcb0a6=_0x4b72a3;if(this[_0xfcb0a6(0x291)]!==_0xfef2e[_0xfcb0a6(0x243)]){if(this[_0xfcb0a6(0x291)]===_0xfef2e[_0xfcb0a6(0x29d)]){_0x4aa4a1(this,this['_req'],_0xfcb0a6(0x1d5));return;}this['_socket']&&(this['_readyState']=_0xfef2e[_0xfcb0a6(0x191)],this[_0xfcb0a6(0x2af)][_0xfcb0a6(0x230)]());}}}Object['defineProperty'](_0xfef2e,_0x4b72a3(0x29d),{'enumerable':!0x0,'value':_0x1a6021[_0x4b72a3(0x1f6)](_0x4b72a3(0x29d))}),Object[_0x4b72a3(0x271)](_0xfef2e['prototype'],'CONNECTING',{'enumerable':!0x0,'value':_0x1a6021[_0x4b72a3(0x1f6)]('CONNECTING')}),Object[_0x4b72a3(0x271)](_0xfef2e,_0x4b72a3(0x190),{'enumerable':!0x0,'value':_0x1a6021['indexOf'](_0x4b72a3(0x190))}),Object[_0x4b72a3(0x271)](_0xfef2e[_0x4b72a3(0x1a6)],'OPEN',{'enumerable':!0x0,'value':_0x1a6021['indexOf'](_0x4b72a3(0x190))}),Object[_0x4b72a3(0x271)](_0xfef2e,_0x4b72a3(0x191),{'enumerable':!0x0,'value':_0x1a6021['indexOf']('CLOSING')}),Object[_0x4b72a3(0x271)](_0xfef2e['prototype'],_0x4b72a3(0x191),{'enumerable':!0x0,'value':_0x1a6021['indexOf'](_0x4b72a3(0x191))}),Object[_0x4b72a3(0x271)](_0xfef2e,_0x4b72a3(0x243),{'enumerable':!0x0,'value':_0x1a6021['indexOf'](_0x4b72a3(0x243))}),Object[_0x4b72a3(0x271)](_0xfef2e['prototype'],_0x4b72a3(0x243),{'enumerable':!0x0,'value':_0x1a6021[_0x4b72a3(0x1f6)](_0x4b72a3(0x243))}),[_0x4b72a3(0x171),_0x4b72a3(0x1e1),_0x4b72a3(0x1f4),_0x4b72a3(0x15d),_0x4b72a3(0x240),_0x4b72a3(0x291),_0x4b72a3(0x22e)][_0x4b72a3(0x1af)](_0x2143fe=>{const _0x2f309e=_0x4b72a3;Object[_0x2f309e(0x271)](_0xfef2e[_0x2f309e(0x1a6)],_0x2143fe,{'enumerable':!0x0});}),['open','error',_0x4b72a3(0x25c),_0x4b72a3(0x237)][_0x4b72a3(0x1af)](_0x3f078c=>{const _0x135bc1=_0x4b72a3;Object['defineProperty'](_0xfef2e[_0x135bc1(0x1a6)],'on'+_0x3f078c,{'enumerable':!0x0,'get'(){const _0x5606e2=_0x135bc1;for(const _0x5c760b of this[_0x5606e2(0x1ec)](_0x3f078c))if(_0x5c760b[_0x2024b3])return _0x5c760b[_0xc59d59];return null;},'set'(_0x44faff){const _0x40cf4c=_0x135bc1;for(const _0x357cf8 of this[_0x40cf4c(0x1ec)](_0x3f078c))if(_0x357cf8[_0x2024b3]){this[_0x40cf4c(0x20c)](_0x3f078c,_0x357cf8);break;}typeof _0x44faff=='function'&&this[_0x40cf4c(0x236)](_0x3f078c,_0x44faff,{[_0x2024b3]:!0x0});}});}),_0xfef2e['prototype']['addEventListener']=_0x59e5f9,_0xfef2e[_0x4b72a3(0x1a6)][_0x4b72a3(0x301)]=_0x79bcd2,we=_0xfef2e;function _0xbfa62(_0x52d5f6,_0x495710,_0x354f83,_0x5df01c){const _0x38dd93=_0x4b72a3,_0x20e086={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x1f70e4[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x5df01c,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x38dd93(0x2ec),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x52d5f6[_0x38dd93(0x25e)]=_0x20e086[_0x38dd93(0x2f3)],!_0x1f70e4['includes'](_0x20e086['protocolVersion']))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x20e086[_0x38dd93(0x1c4)]+_0x38dd93(0x1b5)+_0x1f70e4[_0x38dd93(0x1da)](',\x20')+')');let _0x2f86e6;if(_0x495710 instanceof _0xc5fc6b)_0x2f86e6=_0x495710;else try{_0x2f86e6=new _0xc5fc6b(_0x495710);}catch{throw new SyntaxError(_0x38dd93(0x2dc)+_0x495710);}_0x2f86e6[_0x38dd93(0x240)]==='http:'?_0x2f86e6[_0x38dd93(0x240)]='ws:':_0x2f86e6[_0x38dd93(0x240)]==='https:'&&(_0x2f86e6[_0x38dd93(0x240)]=_0x38dd93(0x299)),_0x52d5f6[_0x38dd93(0x1ae)]=_0x2f86e6[_0x38dd93(0x24f)];const _0x2493f7=_0x2f86e6[_0x38dd93(0x240)]==='wss:',_0x57b391=_0x2f86e6[_0x38dd93(0x240)]==='ws+unix:';let _0x460def;if(_0x2f86e6[_0x38dd93(0x240)]!==_0x38dd93(0x1d2)&&!_0x2493f7&&!_0x57b391?_0x460def=_0x38dd93(0x24c):_0x57b391&&!_0x2f86e6['pathname']?_0x460def='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x2f86e6['hash']&&(_0x460def=_0x38dd93(0x1a0)),_0x460def){const _0x5a8b91=new SyntaxError(_0x460def);if(_0x52d5f6[_0x38dd93(0x16b)]===0x0)throw _0x5a8b91;_0x35f7b5(_0x52d5f6,_0x5a8b91);return;}const _0x5a6ca9=_0x2493f7?0x1bb:0x50,_0x277155=_0x2e89ce(0x10)[_0x38dd93(0x160)](_0x38dd93(0x2fa)),_0xf34639=_0x2493f7?_0x55a1b4[_0x38dd93(0x168)]:_0x3f8e0f[_0x38dd93(0x168)],_0x22a78d=new Set();let _0x49d16c;if(_0x20e086[_0x38dd93(0x247)]=_0x20e086['createConnection']||(_0x2493f7?_0x34cf05:_0x38a9c1),_0x20e086[_0x38dd93(0x2a7)]=_0x20e086[_0x38dd93(0x2a7)]||_0x5a6ca9,_0x20e086[_0x38dd93(0x1a4)]=_0x2f86e6['port']||_0x5a6ca9,_0x20e086[_0x38dd93(0x173)]=_0x2f86e6[_0x38dd93(0x16e)][_0x38dd93(0x290)]('[')?_0x2f86e6[_0x38dd93(0x16e)]['slice'](0x1,-0x1):_0x2f86e6['hostname'],_0x20e086[_0x38dd93(0x185)]={..._0x20e086[_0x38dd93(0x185)],'Sec-WebSocket-Version':_0x20e086[_0x38dd93(0x1c4)],'Sec-WebSocket-Key':_0x277155,'Connection':'Upgrade','Upgrade':_0x38dd93(0x242)},_0x20e086['path']=_0x2f86e6['pathname']+_0x2f86e6[_0x38dd93(0x2b2)],_0x20e086['timeout']=_0x20e086[_0x38dd93(0x23c)],_0x20e086[_0x38dd93(0x2cd)]&&(_0x49d16c=new _0x5a2ee4(_0x20e086[_0x38dd93(0x2cd)]!==!0x0?_0x20e086[_0x38dd93(0x2cd)]:{},!0x1,_0x20e086['maxPayload']),_0x20e086[_0x38dd93(0x185)][_0x38dd93(0x1c8)]=_0x11de14({[_0x5a2ee4['extensionName']]:_0x49d16c[_0x38dd93(0x169)]()})),_0x354f83[_0x38dd93(0x28c)]){for(const _0x6fa94c of _0x354f83){if(typeof _0x6fa94c!=_0x38dd93(0x2b6)||!_0x1c44d7[_0x38dd93(0x1ac)](_0x6fa94c)||_0x22a78d[_0x38dd93(0x27c)](_0x6fa94c))throw new SyntaxError(_0x38dd93(0x2e0));_0x22a78d[_0x38dd93(0x1f1)](_0x6fa94c);}_0x20e086[_0x38dd93(0x185)][_0x38dd93(0x21c)]=_0x354f83['join'](',');}if(_0x20e086[_0x38dd93(0x300)]&&(_0x20e086['protocolVersion']<0xd?_0x20e086['headers'][_0x38dd93(0x175)]=_0x20e086[_0x38dd93(0x300)]:_0x20e086[_0x38dd93(0x185)]['Origin']=_0x20e086[_0x38dd93(0x300)]),(_0x2f86e6[_0x38dd93(0x167)]||_0x2f86e6[_0x38dd93(0x2ca)])&&(_0x20e086[_0x38dd93(0x1dd)]=_0x2f86e6['username']+':'+_0x2f86e6[_0x38dd93(0x2ca)]),_0x57b391){const _0x1b3583=_0x20e086['path'][_0x38dd93(0x24a)](':');_0x20e086[_0x38dd93(0x294)]=_0x1b3583[0x0],_0x20e086[_0x38dd93(0x26a)]=_0x1b3583[0x1];}let _0x5bcbbb;if(_0x20e086[_0x38dd93(0x2b9)]){if(_0x52d5f6[_0x38dd93(0x16b)]===0x0){_0x52d5f6['_originalIpc']=_0x57b391,_0x52d5f6[_0x38dd93(0x182)]=_0x2493f7,_0x52d5f6[_0x38dd93(0x2ac)]=_0x57b391?_0x20e086[_0x38dd93(0x294)]:_0x2f86e6[_0x38dd93(0x173)];const _0x1ee67f=_0x5df01c&&_0x5df01c[_0x38dd93(0x185)];if(_0x5df01c={..._0x5df01c,'headers':{}},_0x1ee67f){for(const [_0x5e3495,_0x3638ee]of Object['entries'](_0x1ee67f))_0x5df01c[_0x38dd93(0x185)][_0x5e3495['toLowerCase']()]=_0x3638ee;}}else{if(_0x52d5f6[_0x38dd93(0x270)](_0x38dd93(0x1c3))===0x0){const _0x136ccc=_0x57b391?_0x52d5f6[_0x38dd93(0x1d7)]?_0x20e086[_0x38dd93(0x294)]===_0x52d5f6[_0x38dd93(0x2ac)]:!0x1:_0x52d5f6[_0x38dd93(0x1d7)]?!0x1:_0x2f86e6['host']===_0x52d5f6['_originalHostOrSocketPath'];(!_0x136ccc||_0x52d5f6[_0x38dd93(0x182)]&&!_0x2493f7)&&(delete _0x20e086[_0x38dd93(0x185)]['authorization'],delete _0x20e086[_0x38dd93(0x185)][_0x38dd93(0x259)],_0x136ccc||delete _0x20e086[_0x38dd93(0x185)]['host'],_0x20e086[_0x38dd93(0x1dd)]=void 0x0);}}_0x20e086[_0x38dd93(0x1dd)]&&!_0x5df01c[_0x38dd93(0x185)][_0x38dd93(0x24b)]&&(_0x5df01c[_0x38dd93(0x185)][_0x38dd93(0x24b)]=_0x38dd93(0x248)+Buffer[_0x38dd93(0x2e1)](_0x20e086[_0x38dd93(0x1dd)])[_0x38dd93(0x160)](_0x38dd93(0x2fa))),_0x5bcbbb=_0x52d5f6[_0x38dd93(0x2bb)]=_0xf34639(_0x20e086),_0x52d5f6['_redirects']&&_0x52d5f6[_0x38dd93(0x19b)](_0x38dd93(0x1c3),_0x52d5f6[_0x38dd93(0x22e)],_0x5bcbbb);}else _0x5bcbbb=_0x52d5f6[_0x38dd93(0x2bb)]=_0xf34639(_0x20e086);_0x20e086[_0x38dd93(0x2b3)]&&_0x5bcbbb['on'](_0x38dd93(0x2b3),()=>{const _0x5d98e1=_0x38dd93;_0x4aa4a1(_0x52d5f6,_0x5bcbbb,_0x5d98e1(0x2e2));}),_0x5bcbbb['on']('error',_0x22692e=>{_0x5bcbbb===null||_0x5bcbbb[_0x4e4b2e]||(_0x5bcbbb=_0x52d5f6['_req']=null,_0x35f7b5(_0x52d5f6,_0x22692e));}),_0x5bcbbb['on'](_0x38dd93(0x274),_0x4f8b83=>{const _0x326491=_0x38dd93,_0x213e2b=_0x4f8b83[_0x326491(0x185)]['location'],_0x541aa7=_0x4f8b83[_0x326491(0x1ca)];if(_0x213e2b&&_0x20e086[_0x326491(0x2b9)]&&_0x541aa7>=0x12c&&_0x541aa7<0x190){if(++_0x52d5f6[_0x326491(0x16b)]>_0x20e086[_0x326491(0x1f5)]){_0x4aa4a1(_0x52d5f6,_0x5bcbbb,_0x326491(0x157));return;}_0x5bcbbb[_0x326491(0x2e5)]();let _0x284bc9;try{_0x284bc9=new _0xc5fc6b(_0x213e2b,_0x495710);}catch{const _0x367789=new SyntaxError(_0x326491(0x2dc)+_0x213e2b);_0x35f7b5(_0x52d5f6,_0x367789);return;}_0xbfa62(_0x52d5f6,_0x284bc9,_0x354f83,_0x5df01c);}else _0x52d5f6[_0x326491(0x19b)](_0x326491(0x227),_0x5bcbbb,_0x4f8b83)||_0x4aa4a1(_0x52d5f6,_0x5bcbbb,_0x326491(0x206)+_0x4f8b83['statusCode']);}),_0x5bcbbb['on'](_0x38dd93(0x156),(_0x4c481c,_0x5305a8,_0x1b9286)=>{const _0x4afc28=_0x38dd93;if(_0x52d5f6['emit'](_0x4afc28(0x156),_0x4c481c),_0x52d5f6[_0x4afc28(0x291)]!==_0xfef2e[_0x4afc28(0x29d)])return;_0x5bcbbb=_0x52d5f6[_0x4afc28(0x2bb)]=null;const _0x1ddec3=_0x4c481c[_0x4afc28(0x185)][_0x4afc28(0x156)];if(_0x1ddec3===void 0x0||_0x1ddec3[_0x4afc28(0x1ea)]()!==_0x4afc28(0x242)){_0x4aa4a1(_0x52d5f6,_0x5305a8,_0x4afc28(0x1d9));return;}const _0x2e37db=_0x1a72ff('sha1')['update'](_0x277155+_0x4abd2b)[_0x4afc28(0x2cc)](_0x4afc28(0x2fa));if(_0x4c481c['headers'][_0x4afc28(0x187)]!==_0x2e37db){_0x4aa4a1(_0x52d5f6,_0x5305a8,_0x4afc28(0x2b7));return;}const _0x3b4c77=_0x4c481c[_0x4afc28(0x185)][_0x4afc28(0x2c1)];let _0x1e7306;if(_0x3b4c77!==void 0x0?_0x22a78d[_0x4afc28(0x266)]?_0x22a78d[_0x4afc28(0x27c)](_0x3b4c77)||(_0x1e7306='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x1e7306=_0x4afc28(0x174):_0x22a78d['size']&&(_0x1e7306=_0x4afc28(0x2ba)),_0x1e7306){_0x4aa4a1(_0x52d5f6,_0x5305a8,_0x1e7306);return;}_0x3b4c77&&(_0x52d5f6[_0x4afc28(0x1c1)]=_0x3b4c77);const _0x3fa730=_0x4c481c[_0x4afc28(0x185)][_0x4afc28(0x2c0)];if(_0x3fa730!==void 0x0){if(!_0x49d16c){_0x4aa4a1(_0x52d5f6,_0x5305a8,_0x4afc28(0x257));return;}let _0x32bf8d;try{_0x32bf8d=_0x4a426a(_0x3fa730);}catch{_0x4aa4a1(_0x52d5f6,_0x5305a8,_0x4afc28(0x17a));return;}const _0x3dcf12=Object[_0x4afc28(0x1c6)](_0x32bf8d);if(_0x3dcf12[_0x4afc28(0x28c)]!==0x1||_0x3dcf12[0x0]!==_0x5a2ee4[_0x4afc28(0x22a)]){_0x4aa4a1(_0x52d5f6,_0x5305a8,_0x4afc28(0x223));return;}try{_0x49d16c[_0x4afc28(0x1ed)](_0x32bf8d[_0x5a2ee4[_0x4afc28(0x22a)]]);}catch{_0x4aa4a1(_0x52d5f6,_0x5305a8,_0x4afc28(0x17a));return;}_0x52d5f6[_0x4afc28(0x26c)][_0x5a2ee4['extensionName']]=_0x49d16c;}_0x52d5f6[_0x4afc28(0x244)](_0x5305a8,_0x1b9286,{'allowSynchronousEvents':_0x20e086[_0x4afc28(0x15a)],'generateMask':_0x20e086[_0x4afc28(0x29e)],'maxPayload':_0x20e086[_0x4afc28(0x1ff)],'skipUTF8Validation':_0x20e086[_0x4afc28(0x1f3)]});}),_0x20e086[_0x38dd93(0x269)]?_0x20e086[_0x38dd93(0x269)](_0x5bcbbb,_0x52d5f6):_0x5bcbbb[_0x38dd93(0x196)]();}function _0x35f7b5(_0x49c4ad,_0x1f4b24){const _0x3d24c6=_0x4b72a3;_0x49c4ad['_readyState']=_0xfef2e[_0x3d24c6(0x191)],_0x49c4ad['_errorEmitted']=!0x0,_0x49c4ad[_0x3d24c6(0x19b)](_0x3d24c6(0x166),_0x1f4b24),_0x49c4ad[_0x3d24c6(0x24e)]();}function _0x38a9c1(_0x360920){const _0x315689=_0x4b72a3;return _0x360920[_0x315689(0x26a)]=_0x360920[_0x315689(0x294)],_0x297610[_0x315689(0x183)](_0x360920);}function _0x34cf05(_0x1a1deb){const _0x2a96ae=_0x4b72a3;return _0x1a1deb['path']=void 0x0,!_0x1a1deb[_0x2a96ae(0x1f0)]&&_0x1a1deb[_0x2a96ae(0x1f0)]!==''&&(_0x1a1deb[_0x2a96ae(0x1f0)]=_0x297610[_0x2a96ae(0x2c9)](_0x1a1deb[_0x2a96ae(0x173)])?'':_0x1a1deb['host']),_0x1499a8[_0x2a96ae(0x183)](_0x1a1deb);}function _0x4aa4a1(_0x5a8e74,_0x4ba454,_0x2d8171){const _0x2b7ac5=_0x4b72a3;_0x5a8e74[_0x2b7ac5(0x292)]=_0xfef2e[_0x2b7ac5(0x191)];const _0x5a34ab=new Error(_0x2d8171);Error[_0x2b7ac5(0x1ab)](_0x5a34ab,_0x4aa4a1),_0x4ba454[_0x2b7ac5(0x210)]?(_0x4ba454[_0x4e4b2e]=!0x0,_0x4ba454['abort'](),_0x4ba454[_0x2b7ac5(0x302)]&&!_0x4ba454[_0x2b7ac5(0x302)][_0x2b7ac5(0x2c5)]&&_0x4ba454[_0x2b7ac5(0x302)][_0x2b7ac5(0x230)](),process['nextTick'](_0x35f7b5,_0x5a8e74,_0x5a34ab)):(_0x4ba454[_0x2b7ac5(0x230)](_0x5a34ab),_0x4ba454[_0x2b7ac5(0x2da)](_0x2b7ac5(0x166),_0x5a8e74[_0x2b7ac5(0x19b)]['bind'](_0x5a8e74,_0x2b7ac5(0x166))),_0x4ba454[_0x2b7ac5(0x2da)](_0x2b7ac5(0x25c),_0x5a8e74[_0x2b7ac5(0x24e)]['bind'](_0x5a8e74)));}function _0x2ce8c9(_0x1840d4,_0x3a379b,_0x4b83d0){const _0x2b67bb=_0x4b72a3;if(_0x3a379b){const _0x5c04eb=_0x38eb90(_0x3a379b)?_0x3a379b[_0x2b67bb(0x266)]:_0x243a26(_0x3a379b)[_0x2b67bb(0x28c)];_0x1840d4[_0x2b67bb(0x2af)]?_0x1840d4['_sender']['_bufferedBytes']+=_0x5c04eb:_0x1840d4['_bufferedAmount']+=_0x5c04eb;}if(_0x4b83d0){const _0x1f56fd=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x1840d4[_0x2b67bb(0x291)]+'\x20('+_0x1a6021[_0x1840d4[_0x2b67bb(0x291)]]+')');process[_0x2b67bb(0x27d)](_0x4b83d0,_0x1f56fd);}}function _0x4a39b5(_0x52007d,_0x39da1c){const _0x20fc0a=_0x4b72a3,_0x3084f9=this[_0x15199d];_0x3084f9[_0x20fc0a(0x1de)]=!0x0,_0x3084f9['_closeMessage']=_0x39da1c,_0x3084f9[_0x20fc0a(0x25b)]=_0x52007d,_0x3084f9[_0x20fc0a(0x2af)][_0x15199d]!==void 0x0&&(_0x3084f9[_0x20fc0a(0x2af)][_0x20fc0a(0x20c)](_0x20fc0a(0x197),_0x3a7193),process[_0x20fc0a(0x27d)](_0x49d2c1,_0x3084f9[_0x20fc0a(0x2af)]),_0x52007d===0x3ed?_0x3084f9[_0x20fc0a(0x25c)]():_0x3084f9['close'](_0x52007d,_0x39da1c));}function _0x1da518(){const _0x31f6ef=_0x4b72a3,_0x209c64=this[_0x15199d];_0x209c64[_0x31f6ef(0x15d)]||_0x209c64[_0x31f6ef(0x2af)][_0x31f6ef(0x288)]();}function _0x33df3f(_0x1f6a89){const _0x28bd54=_0x4b72a3,_0x2d9400=this[_0x15199d];_0x2d9400[_0x28bd54(0x2af)][_0x15199d]!==void 0x0&&(_0x2d9400[_0x28bd54(0x2af)][_0x28bd54(0x20c)](_0x28bd54(0x197),_0x3a7193),process['nextTick'](_0x49d2c1,_0x2d9400[_0x28bd54(0x2af)]),_0x2d9400[_0x28bd54(0x25c)](_0x1f6a89[_0x35f679])),_0x2d9400[_0x28bd54(0x268)]||(_0x2d9400[_0x28bd54(0x268)]=!0x0,_0x2d9400[_0x28bd54(0x19b)](_0x28bd54(0x166),_0x1f6a89));}function _0x17ba57(){const _0x45dc03=_0x4b72a3;this[_0x15199d][_0x45dc03(0x24e)]();}function _0x55bbbe(_0x2b252b,_0x4dd330){const _0x54b03d=_0x4b72a3;this[_0x15199d][_0x54b03d(0x19b)](_0x54b03d(0x237),_0x2b252b,_0x4dd330);}function _0x373243(_0x55c80f){const _0x4ff2a2=_0x4b72a3,_0x21c5dc=this[_0x15199d];_0x21c5dc[_0x4ff2a2(0x25e)]&&_0x21c5dc[_0x4ff2a2(0x1fb)](_0x55c80f,!this[_0x4ff2a2(0x23e)],_0x49b11),_0x21c5dc[_0x4ff2a2(0x19b)](_0x4ff2a2(0x2ae),_0x55c80f);}function _0x2a2cdf(_0x2f9698){const _0x69376=_0x4b72a3;this[_0x15199d][_0x69376(0x19b)](_0x69376(0x1fb),_0x2f9698);}function _0x49d2c1(_0x546618){_0x546618['resume']();}function _0x28d0d9(_0x1df7b0){const _0x5cf593=_0x4b72a3,_0x452a3f=this[_0x15199d];_0x452a3f[_0x5cf593(0x291)]!==_0xfef2e[_0x5cf593(0x243)]&&(_0x452a3f[_0x5cf593(0x291)]===_0xfef2e[_0x5cf593(0x190)]&&(_0x452a3f[_0x5cf593(0x292)]=_0xfef2e['CLOSING'],_0xa008e4(_0x452a3f)),this[_0x5cf593(0x2af)]['end'](),_0x452a3f['_errorEmitted']||(_0x452a3f[_0x5cf593(0x268)]=!0x0,_0x452a3f[_0x5cf593(0x19b)](_0x5cf593(0x166),_0x1df7b0)));}function _0xa008e4(_0x5ac7fa){const _0x2c3de2=_0x4b72a3;_0x5ac7fa[_0x2c3de2(0x2de)]=setTimeout(_0x5ac7fa[_0x2c3de2(0x2af)][_0x2c3de2(0x230)][_0x2c3de2(0x1b9)](_0x5ac7fa[_0x2c3de2(0x2af)]),_0x170d6f);}function _0x1b5166(){const _0x4b93f9=_0x4b72a3,_0x535ab9=this[_0x15199d];this[_0x4b93f9(0x20c)]('close',_0x1b5166),this[_0x4b93f9(0x20c)]('data',_0x3a7193),this[_0x4b93f9(0x20c)](_0x4b93f9(0x196),_0x4f3837),_0x535ab9[_0x4b93f9(0x292)]=_0xfef2e[_0x4b93f9(0x191)];let _0x6f7b9a;!this[_0x4b93f9(0x164)][_0x4b93f9(0x2c6)]&&!_0x535ab9[_0x4b93f9(0x1de)]&&!_0x535ab9[_0x4b93f9(0x245)][_0x4b93f9(0x170)]['errorEmitted']&&(_0x6f7b9a=_0x535ab9['_socket'][_0x4b93f9(0x253)]())!==null&&_0x535ab9[_0x4b93f9(0x245)][_0x4b93f9(0x1c0)](_0x6f7b9a),_0x535ab9[_0x4b93f9(0x245)]['end'](),this[_0x15199d]=void 0x0,clearTimeout(_0x535ab9[_0x4b93f9(0x2de)]),_0x535ab9[_0x4b93f9(0x245)][_0x4b93f9(0x170)][_0x4b93f9(0x213)]||_0x535ab9[_0x4b93f9(0x245)]['_writableState'][_0x4b93f9(0x14f)]?_0x535ab9[_0x4b93f9(0x24e)]():(_0x535ab9['_receiver']['on']('error',_0x17ba57),_0x535ab9['_receiver']['on'](_0x4b93f9(0x163),_0x17ba57));}function _0x3a7193(_0x4b5ed5){const _0x1fd791=_0x4b72a3;this[_0x15199d][_0x1fd791(0x245)][_0x1fd791(0x1c0)](_0x4b5ed5)||this['pause']();}function _0x4f3837(){const _0x47ad7d=_0x4b72a3,_0x45cd5b=this[_0x15199d];_0x45cd5b[_0x47ad7d(0x292)]=_0xfef2e[_0x47ad7d(0x191)],_0x45cd5b['_receiver'][_0x47ad7d(0x196)](),this[_0x47ad7d(0x196)]();}function _0x125dc7(){const _0x1d6da1=_0x4b72a3,_0x51f513=this[_0x15199d];this[_0x1d6da1(0x20c)]('error',_0x125dc7),this['on'](_0x1d6da1(0x166),_0x49b11),_0x51f513&&(_0x51f513[_0x1d6da1(0x292)]=_0xfef2e[_0x1d6da1(0x191)],this[_0x1d6da1(0x230)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x45a8cc}=_0x268d1b;function _0xa517e8(_0x4ed6c8){const _0x222b7d=_0x4f4c;_0x4ed6c8[_0x222b7d(0x19b)]('close');}function _0x1ce582(){const _0x1b963f=_0x4f4c;!this[_0x1b963f(0x2c5)]&&this['_writableState']['finished']&&this[_0x1b963f(0x230)]();}function _0x20bfe5(_0x148e07){const _0x539028=_0x4f4c;this[_0x539028(0x20c)]('error',_0x20bfe5),this['destroy'](),this[_0x539028(0x270)](_0x539028(0x166))===0x0&&this[_0x539028(0x19b)](_0x539028(0x166),_0x148e07);}function _0x20e356(_0x1bcb2d,_0x3a9b78){const _0x142eb8=_0x4f4c;let _0x25ef34=!0x0;const _0x54b599=new _0x45a8cc({..._0x3a9b78,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x1bcb2d['on'](_0x142eb8(0x237),function(_0x406ffb,_0x413038){const _0x3c0496=_0x142eb8,_0x56f28c=!_0x413038&&_0x54b599[_0x3c0496(0x164)][_0x3c0496(0x1a2)]?_0x406ffb[_0x3c0496(0x160)]():_0x406ffb;_0x54b599['push'](_0x56f28c)||_0x1bcb2d[_0x3c0496(0x162)]();}),_0x1bcb2d[_0x142eb8(0x2da)](_0x142eb8(0x166),function(_0x232bc7){const _0x1cd17d=_0x142eb8;_0x54b599['destroyed']||(_0x25ef34=!0x1,_0x54b599[_0x1cd17d(0x230)](_0x232bc7));}),_0x1bcb2d['once'](_0x142eb8(0x25c),function(){const _0x1318c6=_0x142eb8;_0x54b599[_0x1318c6(0x2c5)]||_0x54b599['push'](null);}),_0x54b599[_0x142eb8(0x20e)]=function(_0x2c8489,_0x221bfc){const _0x2ececa=_0x142eb8;if(_0x1bcb2d['readyState']===_0x1bcb2d[_0x2ececa(0x243)]){_0x221bfc(_0x2c8489),process['nextTick'](_0xa517e8,_0x54b599);return;}let _0x3eefd8=!0x1;_0x1bcb2d['once'](_0x2ececa(0x166),function(_0x1d2355){_0x3eefd8=!0x0,_0x221bfc(_0x1d2355);}),_0x1bcb2d[_0x2ececa(0x2da)](_0x2ececa(0x25c),function(){const _0x1b116e=_0x2ececa;_0x3eefd8||_0x221bfc(_0x2c8489),process[_0x1b116e(0x27d)](_0xa517e8,_0x54b599);}),_0x25ef34&&_0x1bcb2d['terminate']();},_0x54b599[_0x142eb8(0x15f)]=function(_0x3d42ac){const _0x56b760=_0x142eb8;if(_0x1bcb2d[_0x56b760(0x291)]===_0x1bcb2d[_0x56b760(0x29d)]){_0x1bcb2d[_0x56b760(0x2da)]('open',function(){const _0x1e6d17=_0x56b760;_0x54b599[_0x1e6d17(0x15f)](_0x3d42ac);});return;}_0x1bcb2d[_0x56b760(0x2af)]!==null&&(_0x1bcb2d[_0x56b760(0x2af)][_0x56b760(0x170)][_0x56b760(0x213)]?(_0x3d42ac(),_0x54b599[_0x56b760(0x164)][_0x56b760(0x2c6)]&&_0x54b599[_0x56b760(0x230)]()):(_0x1bcb2d[_0x56b760(0x2af)][_0x56b760(0x2da)](_0x56b760(0x163),function(){_0x3d42ac();}),_0x1bcb2d[_0x56b760(0x25c)]()));},_0x54b599[_0x142eb8(0x2eb)]=function(){_0x1bcb2d['isPaused']&&_0x1bcb2d['resume']();},_0x54b599[_0x142eb8(0x212)]=function(_0x275e3c,_0x24fd7f,_0x58a685){const _0x11e6a4=_0x142eb8;if(_0x1bcb2d[_0x11e6a4(0x291)]===_0x1bcb2d[_0x11e6a4(0x29d)]){_0x1bcb2d[_0x11e6a4(0x2da)](_0x11e6a4(0x2d4),function(){const _0x4fef6d=_0x11e6a4;_0x54b599[_0x4fef6d(0x212)](_0x275e3c,_0x24fd7f,_0x58a685);});return;}_0x1bcb2d[_0x11e6a4(0x15c)](_0x275e3c,_0x58a685);},_0x54b599['on'](_0x142eb8(0x196),_0x1ce582),_0x54b599['on'](_0x142eb8(0x166),_0x20bfe5),_0x54b599;}return Oe=_0x20e356,Oe;}function _0x4f4c(_0x2f601d,_0xb21756){const _0x31cabc=_0x31ca();return _0x4f4c=function(_0x4f4cba,_0x468486){_0x4f4cba=_0x4f4cba-0x14f;let _0xcdde85=_0x31cabc[_0x4f4cba];return _0xcdde85;},_0x4f4c(_0x2f601d,_0xb21756);}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x44fd18}=ne();function _0x388c08(_0x488950){const _0x1fab55=_0x4f4c,_0x10a802=new Set();let _0x114cd3=-0x1,_0x5af9c8=-0x1,_0x38803c=0x0;for(_0x38803c;_0x38803c<_0x488950[_0x1fab55(0x28c)];_0x38803c++){const _0x3b70ec=_0x488950['charCodeAt'](_0x38803c);if(_0x5af9c8===-0x1&&_0x44fd18[_0x3b70ec]===0x1)_0x114cd3===-0x1&&(_0x114cd3=_0x38803c);else{if(_0x38803c!==0x0&&(_0x3b70ec===0x20||_0x3b70ec===0x9))_0x5af9c8===-0x1&&_0x114cd3!==-0x1&&(_0x5af9c8=_0x38803c);else{if(_0x3b70ec===0x2c){if(_0x114cd3===-0x1)throw new SyntaxError(_0x1fab55(0x2a6)+_0x38803c);_0x5af9c8===-0x1&&(_0x5af9c8=_0x38803c);const _0x4772a7=_0x488950[_0x1fab55(0x18e)](_0x114cd3,_0x5af9c8);if(_0x10a802['has'](_0x4772a7))throw new SyntaxError(_0x1fab55(0x2bc)+_0x4772a7+_0x1fab55(0x1bf));_0x10a802[_0x1fab55(0x1f1)](_0x4772a7),_0x114cd3=_0x5af9c8=-0x1;}else throw new SyntaxError(_0x1fab55(0x2a6)+_0x38803c);}}}if(_0x114cd3===-0x1||_0x5af9c8!==-0x1)throw new SyntaxError(_0x1fab55(0x2e8));const _0x452075=_0x488950['slice'](_0x114cd3,_0x38803c);if(_0x10a802['has'](_0x452075))throw new SyntaxError(_0x1fab55(0x2bc)+_0x452075+_0x1fab55(0x1bf));return _0x10a802[_0x1fab55(0x1f1)](_0x452075),_0x10a802;}return Ce={'parse':_0x388c08},Ce;}var Te,ot;function er(){if(ot)return Te;ot=0x1;const _0x335606=_0x582a84,_0x511d05=_0x5e30a9,{Duplex:_0x28a75e}=_0x268d1b,{createHash:_0x4602f2}=_0x1afa45,_0x5a2d36=pt(),_0x450b25=he(),_0x480343=Jt(),_0x58cd98=Ie(),{GUID:_0x5c0fee,kWebSocket:_0x31f6be}=V(),_0x349603=/^[+/0-9A-Za-z]{22}==$/,_0x4bf49c=0x0,_0x57f79a=0x1,_0x18bc6f=0x2;class _0x58326e extends _0x335606{constructor(_0x11766a,_0x4ea338){const _0x5570fd=_0x4f4c;if(super(),_0x11766a={'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':_0x58cd98,..._0x11766a},_0x11766a[_0x5570fd(0x1a4)]==null&&!_0x11766a['server']&&!_0x11766a[_0x5570fd(0x278)]||_0x11766a[_0x5570fd(0x1a4)]!=null&&(_0x11766a['server']||_0x11766a[_0x5570fd(0x278)])||_0x11766a[_0x5570fd(0x1b3)]&&_0x11766a[_0x5570fd(0x278)])throw new TypeError(_0x5570fd(0x287));if(_0x11766a[_0x5570fd(0x1a4)]!=null?(this['_server']=_0x511d05[_0x5570fd(0x211)]((_0x2745c,_0x4f8288)=>{const _0x173abf=_0x5570fd,_0x537b44=_0x511d05[_0x173abf(0x2fc)][0x1aa];_0x4f8288[_0x173abf(0x1be)](0x1aa,{'Content-Length':_0x537b44['length'],'Content-Type':_0x173abf(0x1eb)}),_0x4f8288[_0x173abf(0x196)](_0x537b44);}),this['_server'][_0x5570fd(0x16a)](_0x11766a[_0x5570fd(0x1a4)],_0x11766a[_0x5570fd(0x173)],_0x11766a[_0x5570fd(0x21b)],_0x4ea338)):_0x11766a[_0x5570fd(0x1b3)]&&(this[_0x5570fd(0x2d2)]=_0x11766a['server']),this[_0x5570fd(0x2d2)]){const _0x1587f6=this[_0x5570fd(0x19b)]['bind'](this,_0x5570fd(0x2bd));this[_0x5570fd(0x186)]=_0xabd7d2(this[_0x5570fd(0x2d2)],{'listening':this[_0x5570fd(0x19b)][_0x5570fd(0x1b9)](this,_0x5570fd(0x1db)),'error':this['emit']['bind'](this,'error'),'upgrade':(_0x101be0,_0x40fb9d,_0x5ac113)=>{const _0x4667fe=_0x5570fd;this[_0x4667fe(0x2d0)](_0x101be0,_0x40fb9d,_0x5ac113,_0x1587f6);}});}_0x11766a['perMessageDeflate']===!0x0&&(_0x11766a[_0x5570fd(0x2cd)]={}),_0x11766a[_0x5570fd(0x1cc)]&&(this[_0x5570fd(0x1b1)]=new Set(),this[_0x5570fd(0x2c8)]=!0x1),this['options']=_0x11766a,this[_0x5570fd(0x283)]=_0x4bf49c;}['address'](){const _0x202c6a=_0x4f4c;if(this['options']['noServer'])throw new Error(_0x202c6a(0x24d));return this[_0x202c6a(0x2d2)]?this[_0x202c6a(0x2d2)]['address']():null;}['close'](_0x256568){const _0x4d6e53=_0x4f4c;if(this[_0x4d6e53(0x283)]===_0x18bc6f){_0x256568&&this[_0x4d6e53(0x2da)](_0x4d6e53(0x25c),()=>{const _0x9eaa38=_0x4d6e53;_0x256568(new Error(_0x9eaa38(0x1f2)));}),process[_0x4d6e53(0x27d)](_0x37817f,this);return;}if(_0x256568&&this[_0x4d6e53(0x2da)](_0x4d6e53(0x25c),_0x256568),this[_0x4d6e53(0x283)]!==_0x57f79a){if(this[_0x4d6e53(0x283)]=_0x57f79a,this[_0x4d6e53(0x150)]['noServer']||this[_0x4d6e53(0x150)][_0x4d6e53(0x1b3)])this[_0x4d6e53(0x2d2)]&&(this['_removeListeners'](),this[_0x4d6e53(0x186)]=this[_0x4d6e53(0x2d2)]=null),this[_0x4d6e53(0x1b1)]?this['clients'][_0x4d6e53(0x266)]?this[_0x4d6e53(0x2c8)]=!0x0:process[_0x4d6e53(0x27d)](_0x37817f,this):process[_0x4d6e53(0x27d)](_0x37817f,this);else{const _0x5719f7=this[_0x4d6e53(0x2d2)];this[_0x4d6e53(0x186)](),this[_0x4d6e53(0x186)]=this[_0x4d6e53(0x2d2)]=null,_0x5719f7[_0x4d6e53(0x25c)](()=>{_0x37817f(this);});}}}['shouldHandle'](_0xe737c7){const _0x1ce4dc=_0x4f4c;if(this['options'][_0x1ce4dc(0x26a)]){const _0x251ad1=_0xe737c7[_0x1ce4dc(0x22e)][_0x1ce4dc(0x1f6)]('?');if((_0x251ad1!==-0x1?_0xe737c7['url'][_0x1ce4dc(0x18e)](0x0,_0x251ad1):_0xe737c7[_0x1ce4dc(0x22e)])!==this[_0x1ce4dc(0x150)][_0x1ce4dc(0x26a)])return!0x1;}return!0x0;}['handleUpgrade'](_0x2dd82b,_0x3f8051,_0x4a7bbe,_0x237f01){const _0x262c13=_0x4f4c;_0x3f8051['on']('error',_0x1ba503);const _0x20dc25=_0x2dd82b['headers'][_0x262c13(0x284)],_0x48bca1=_0x2dd82b[_0x262c13(0x185)][_0x262c13(0x156)],_0x1b238b=+_0x2dd82b[_0x262c13(0x185)][_0x262c13(0x21e)];if(_0x2dd82b[_0x262c13(0x204)]!==_0x262c13(0x2ec)){_0x193580(this,_0x2dd82b,_0x3f8051,0x195,_0x262c13(0x1c7));return;}if(_0x48bca1===void 0x0||_0x48bca1[_0x262c13(0x1ea)]()!==_0x262c13(0x242)){_0x193580(this,_0x2dd82b,_0x3f8051,0x190,_0x262c13(0x1d9));return;}if(_0x20dc25===void 0x0||!_0x349603[_0x262c13(0x1ac)](_0x20dc25)){_0x193580(this,_0x2dd82b,_0x3f8051,0x190,_0x262c13(0x22f));return;}if(_0x1b238b!==0xd&&_0x1b238b!==0x8){_0x193580(this,_0x2dd82b,_0x3f8051,0x190,_0x262c13(0x267),{'Sec-WebSocket-Version':_0x262c13(0x22b)});return;}if(!this['shouldHandle'](_0x2dd82b)){_0x7c71c7(_0x3f8051,0x190);return;}const _0x775e7e=_0x2dd82b[_0x262c13(0x185)]['sec-websocket-protocol'];let _0x2b78a8=new Set();if(_0x775e7e!==void 0x0)try{_0x2b78a8=_0x480343[_0x262c13(0x27e)](_0x775e7e);}catch{_0x193580(this,_0x2dd82b,_0x3f8051,0x190,_0x262c13(0x2b4));return;}const _0x30911e=_0x2dd82b[_0x262c13(0x185)][_0x262c13(0x2c0)],_0x1d9473={};if(this[_0x262c13(0x150)][_0x262c13(0x2cd)]&&_0x30911e!==void 0x0){const _0x4ac0f5=new _0x450b25(this[_0x262c13(0x150)][_0x262c13(0x2cd)],!0x0,this['options'][_0x262c13(0x1ff)]);try{const _0x4a5c7a=_0x5a2d36[_0x262c13(0x27e)](_0x30911e);_0x4a5c7a[_0x450b25[_0x262c13(0x22a)]]&&(_0x4ac0f5[_0x262c13(0x1ed)](_0x4a5c7a[_0x450b25['extensionName']]),_0x1d9473[_0x450b25[_0x262c13(0x22a)]]=_0x4ac0f5);}catch{_0x193580(this,_0x2dd82b,_0x3f8051,0x190,_0x262c13(0x222));return;}}if(this[_0x262c13(0x150)][_0x262c13(0x282)]){const _0x5d4591={'origin':_0x2dd82b['headers'][''+(_0x1b238b===0x8?_0x262c13(0x261):'origin')],'secure':!!(_0x2dd82b[_0x262c13(0x302)][_0x262c13(0x179)]||_0x2dd82b[_0x262c13(0x302)][_0x262c13(0x1fc)]),'req':_0x2dd82b};if(this[_0x262c13(0x150)][_0x262c13(0x282)][_0x262c13(0x28c)]===0x2){this[_0x262c13(0x150)]['verifyClient'](_0x5d4591,(_0x1d2578,_0x21a7af,_0x10147d,_0xa78381)=>{const _0x379a10=_0x262c13;if(!_0x1d2578)return _0x7c71c7(_0x3f8051,_0x21a7af||0x191,_0x10147d,_0xa78381);this[_0x379a10(0x25a)](_0x1d9473,_0x20dc25,_0x2b78a8,_0x2dd82b,_0x3f8051,_0x4a7bbe,_0x237f01);});return;}if(!this['options'][_0x262c13(0x282)](_0x5d4591))return _0x7c71c7(_0x3f8051,0x191);}this[_0x262c13(0x25a)](_0x1d9473,_0x20dc25,_0x2b78a8,_0x2dd82b,_0x3f8051,_0x4a7bbe,_0x237f01);}['completeUpgrade'](_0x54afea,_0x3073b8,_0x4f00a1,_0x3d42d5,_0x278dce,_0x2806ae,_0x4c4ff2){const _0xdf4df6=_0x4f4c;if(!_0x278dce[_0xdf4df6(0x1d0)]||!_0x278dce[_0xdf4df6(0x1f8)])return _0x278dce['destroy']();if(_0x278dce[_0x31f6be])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this[_0xdf4df6(0x283)]>_0x4bf49c)return _0x7c71c7(_0x278dce,0x1f7);const _0x3ee337=[_0xdf4df6(0x2d6),'Upgrade:\x20websocket',_0xdf4df6(0x159),_0xdf4df6(0x2f5)+_0x4602f2(_0xdf4df6(0x199))[_0xdf4df6(0x238)](_0x3073b8+_0x5c0fee)[_0xdf4df6(0x2cc)](_0xdf4df6(0x2fa))],_0x591faf=new this[(_0xdf4df6(0x150))][(_0xdf4df6(0x29c))](null,void 0x0,this[_0xdf4df6(0x150)]);if(_0x4f00a1[_0xdf4df6(0x266)]){const _0x25918b=this[_0xdf4df6(0x150)]['handleProtocols']?this[_0xdf4df6(0x150)]['handleProtocols'](_0x4f00a1,_0x3d42d5):_0x4f00a1[_0xdf4df6(0x303)]()[_0xdf4df6(0x2a4)]()[_0xdf4df6(0x1a5)];_0x25918b&&(_0x3ee337[_0xdf4df6(0x17b)]('Sec-WebSocket-Protocol:\x20'+_0x25918b),_0x591faf[_0xdf4df6(0x1c1)]=_0x25918b);}if(_0x54afea[_0x450b25[_0xdf4df6(0x22a)]]){const _0x28d2c4=_0x54afea[_0x450b25[_0xdf4df6(0x22a)]][_0xdf4df6(0x255)],_0xfd9eb0=_0x5a2d36[_0xdf4df6(0x19c)]({[_0x450b25[_0xdf4df6(0x22a)]]:[_0x28d2c4]});_0x3ee337[_0xdf4df6(0x17b)](_0xdf4df6(0x19f)+_0xfd9eb0),_0x591faf[_0xdf4df6(0x26c)]=_0x54afea;}this[_0xdf4df6(0x19b)](_0xdf4df6(0x185),_0x3ee337,_0x3d42d5),_0x278dce[_0xdf4df6(0x1c0)](_0x3ee337['concat']('\x0d\x0a')[_0xdf4df6(0x1da)]('\x0d\x0a')),_0x278dce['removeListener'](_0xdf4df6(0x166),_0x1ba503),_0x591faf[_0xdf4df6(0x244)](_0x278dce,_0x2806ae,{'allowSynchronousEvents':this['options'][_0xdf4df6(0x15a)],'maxPayload':this[_0xdf4df6(0x150)][_0xdf4df6(0x1ff)],'skipUTF8Validation':this[_0xdf4df6(0x150)][_0xdf4df6(0x1f3)]}),this['clients']&&(this[_0xdf4df6(0x1b1)][_0xdf4df6(0x1f1)](_0x591faf),_0x591faf['on']('close',()=>{const _0x5758b2=_0xdf4df6;this[_0x5758b2(0x1b1)][_0x5758b2(0x276)](_0x591faf),this[_0x5758b2(0x2c8)]&&!this[_0x5758b2(0x1b1)][_0x5758b2(0x266)]&&process[_0x5758b2(0x27d)](_0x37817f,this);})),_0x4c4ff2(_0x591faf,_0x3d42d5);}}Te=_0x58326e;function _0xabd7d2(_0x41d975,_0x1051db){const _0x27f93e=_0x4f4c;for(const _0x245189 of Object[_0x27f93e(0x1c6)](_0x1051db))_0x41d975['on'](_0x245189,_0x1051db[_0x245189]);return function(){const _0x390c98=_0x27f93e;for(const _0x4c0e11 of Object[_0x390c98(0x1c6)](_0x1051db))_0x41d975['removeListener'](_0x4c0e11,_0x1051db[_0x4c0e11]);};}function _0x37817f(_0x5ca560){const _0x5684e5=_0x4f4c;_0x5ca560[_0x5684e5(0x283)]=_0x18bc6f,_0x5ca560['emit'](_0x5684e5(0x25c));}function _0x1ba503(){const _0x3912bb=_0x4f4c;this[_0x3912bb(0x230)]();}function _0x7c71c7(_0x52a99d,_0x2d9f44,_0x432f71,_0x5a8c46){const _0x15c16e=_0x4f4c;_0x432f71=_0x432f71||_0x511d05['STATUS_CODES'][_0x2d9f44],_0x5a8c46={'Connection':'close','Content-Type':_0x15c16e(0x184),'Content-Length':Buffer[_0x15c16e(0x231)](_0x432f71),..._0x5a8c46},_0x52a99d[_0x15c16e(0x2da)](_0x15c16e(0x163),_0x52a99d[_0x15c16e(0x230)]),_0x52a99d['end'](_0x15c16e(0x1a9)+_0x2d9f44+'\x20'+_0x511d05[_0x15c16e(0x2fc)][_0x2d9f44]+'\x0d\x0a'+Object[_0x15c16e(0x1c6)](_0x5a8c46)[_0x15c16e(0x18f)](_0x17e02a=>_0x17e02a+':\x20'+_0x5a8c46[_0x17e02a])[_0x15c16e(0x1da)]('\x0d\x0a')+_0x15c16e(0x23d)+_0x432f71);}function _0x193580(_0x55eb1b,_0x8ad342,_0x53ebc9,_0x1dcfdd,_0x2e21aa,_0x79d75b){const _0x285259=_0x4f4c;if(_0x55eb1b[_0x285259(0x270)]('wsClientError')){const _0x37cc12=new Error(_0x2e21aa);Error[_0x285259(0x1ab)](_0x37cc12,_0x193580),_0x55eb1b[_0x285259(0x19b)]('wsClientError',_0x37cc12,_0x53ebc9,_0x8ad342);}else _0x7c71c7(_0x53ebc9,_0x1dcfdd,_0x2e21aa,_0x79d75b);}return Te;}er();var tr=Object[_0xc1de09(0x225)],rr=(_0x26a37e,_0x26c726,_0x302b53,_0x469d3b)=>{const _0x57bc6d=_0xc1de09;for(var _0x426957=_0x469d3b>0x1?void 0x0:_0x469d3b?tr(_0x26c726,_0x302b53):_0x26c726,_0x3e06d8=_0x26a37e[_0x57bc6d(0x28c)]-0x1,_0x45296c;_0x3e06d8>=0x0;_0x3e06d8--)(_0x45296c=_0x26a37e[_0x3e06d8])&&(_0x426957=_0x45296c(_0x426957)||_0x426957);return _0x426957;},sr=(_0x413eb2,_0x1b5513)=>(_0x243b34,_0x4bf174)=>_0x1b5513(_0x243b34,_0x4bf174,_0x413eb2);let Ne=class extends _0x257079{constructor(_0x3d7a0a){super(),this['_configService']=_0x3d7a0a;}[_0xc1de09(0x209)](_0x2f95ae){const _0xd5ce1b=_0xc1de09;var _0x561683;const _0x4be486=(_0x561683=this[_0xd5ce1b(0x2ed)][_0xd5ce1b(0x21d)](Be))==null?void 0x0:_0x561683[_0xd5ce1b(0x280)];try{const _0x39e30f=new Qt(_0x2f95ae,{'headers':{..._0x4be486}}),_0xf113a5=new _0x1b32ec();return{'URL':_0x2f95ae,'close':(_0x51af65,_0x4e4726)=>{const _0x459e86=_0xd5ce1b;_0x39e30f[_0x459e86(0x25c)](_0x51af65,_0x4e4726),_0xf113a5[_0x459e86(0x28e)]();},'send':_0x39f601=>{_0x39e30f['send'](_0x39f601);},'open$':new _0x5c63c9(_0x2f21b0=>{const _0x4755e9=_0xd5ce1b,_0x4dde60=_0x3e26ff=>_0x2f21b0[_0x4755e9(0x2a4)](_0x3e26ff);_0x39e30f['addEventListener'](_0x4755e9(0x2d4),_0x4dde60),_0xf113a5['add'](_0x27d04b(()=>_0x39e30f[_0x4755e9(0x301)](_0x4755e9(0x2d4),_0x4dde60)));})[_0xd5ce1b(0x1b8)](_0x58c5c3()),'close$':new _0x5c63c9(_0x10b3c3=>{const _0x59b1de=_0xd5ce1b,_0x8912a7=_0xe357ae=>_0x10b3c3[_0x59b1de(0x2a4)](_0xe357ae);_0x39e30f[_0x59b1de(0x236)](_0x59b1de(0x25c),_0x8912a7),_0xf113a5[_0x59b1de(0x1f1)](_0x27d04b(()=>_0x39e30f[_0x59b1de(0x301)](_0x59b1de(0x25c),_0x8912a7)));})['pipe'](_0x58c5c3()),'error$':new _0x5c63c9(_0x46b8bb=>{const _0x28354=_0xd5ce1b,_0x321d98=_0x5f1013=>_0x46b8bb[_0x28354(0x2a4)](_0x5f1013);_0x39e30f[_0x28354(0x236)](_0x28354(0x166),_0x321d98),_0xf113a5[_0x28354(0x1f1)](_0x27d04b(()=>_0x39e30f[_0x28354(0x301)](_0x28354(0x166),_0x321d98)));})[_0xd5ce1b(0x1b8)](_0x58c5c3()),'message$':new _0x5c63c9(_0x17b9ed=>{const _0x4831a2=_0xd5ce1b,_0x1799b2=_0x52554b=>_0x17b9ed[_0x4831a2(0x2a4)](_0x52554b);_0x39e30f['addEventListener']('message',_0x1799b2),_0xf113a5[_0x4831a2(0x1f1)](_0x27d04b(()=>_0x39e30f[_0x4831a2(0x301)](_0x4831a2(0x237),_0x1799b2)));})[_0xd5ce1b(0x1b8)](_0x58c5c3())};}catch(_0x4b1089){return console[_0xd5ce1b(0x166)](_0x4b1089),null;}}};Ne=rr([sr(0x0,_0x4511ad)],Ne);var ir=Object[_0xc1de09(0x271)],nr=Object[_0xc1de09(0x225)],or=(_0x19140b,_0x6c7fd5,_0x3c39c7)=>_0x6c7fd5 in _0x19140b?ir(_0x19140b,_0x6c7fd5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3c39c7}):_0x19140b[_0x6c7fd5]=_0x3c39c7,ar=(_0x2b7451,_0x25c364,_0x205385,_0x24439f)=>{const _0x7ed7eb=_0xc1de09;for(var _0x1694b8=_0x24439f>0x1?void 0x0:_0x24439f?nr(_0x25c364,_0x205385):_0x25c364,_0x481efd=_0x2b7451[_0x7ed7eb(0x28c)]-0x1,_0xe5d98c;_0x481efd>=0x0;_0x481efd--)(_0xe5d98c=_0x2b7451[_0x481efd])&&(_0x1694b8=_0xe5d98c(_0x1694b8)||_0x1694b8);return _0x1694b8;},ke=(_0x4d08ff,_0x4a41fc)=>(_0x3e69db,_0x188bea)=>_0x4a41fc(_0x3e69db,_0x188bea,_0x4d08ff),lr=(_0x5211ca,_0x4b4af2,_0xa2aef9)=>or(_0x5211ca,_0x4b4af2+'',_0xa2aef9);let Pe=class extends _0x406ba2{constructor(_0x403b35=Ft,_0x4c27e0,_0x274dae,_0x1f2905){const _0x500deb=_0xc1de09;_0x403b35[_0x500deb(0x280)]||_0x4c27e0[_0x500deb(0x152)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this['_configService']=_0x274dae,this[_0x500deb(0x272)]=_0x1f2905,this[_0x500deb(0x2ed)]['setConfig'](Be,_0x403b35);}['onStarting'](){this['_registerDependencies']();}[_0xc1de09(0x281)](){const _0x452c67=_0xc1de09;_0x1701bc(this[_0x452c67(0x272)],[[_0x4353b6,{'useClass':Ne}]]);}};lr(Pe,_0xc1de09(0x1f9),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),Pe=ar([_0x29d93b(_0x58bf50),ke(0x1,_0x6de682),ke(0x2,_0x4511ad),ke(0x3,_0xf0757c(_0x11ada6))],Pe);var fr=Object['getOwnPropertyDescriptor'],cr=(_0x112890,_0x4bf31f,_0x4c8139,_0x475904)=>{const _0x141588=_0xc1de09;for(var _0x7b998f=_0x475904>0x1?void 0x0:_0x475904?fr(_0x4bf31f,_0x4c8139):_0x4bf31f,_0x76c8ee=_0x112890[_0x141588(0x28c)]-0x1,_0x104302;_0x76c8ee>=0x0;_0x76c8ee--)(_0x104302=_0x112890[_0x76c8ee])&&(_0x7b998f=_0x104302(_0x7b998f)||_0x7b998f);return _0x7b998f;},se=(_0x76699d,_0x148041)=>(_0x3b6edf,_0x15beed)=>_0x148041(_0x3b6edf,_0x15beed,_0x76699d);let at=class extends _0x31ab9d{constructor(_0x2f80e1,_0x35ae97,_0x41de0d,_0x3ad06e,_0x35b229){const _0x4b093b=_0xc1de09;super(_0x2f80e1,_0x35ae97,_0x41de0d,_0x3ad06e,_0x35b229);const _0x23765a=this[_0x4b093b(0x2ed)]['getConfig'](Be);this['_httpService'][_0x4b093b(0x249)]({'interceptor':(_0x3ecf03,_0x1995de)=>{const _0x5ae7e6=_0x4b093b;var _0x4ffa95;const _0x395906=_0x3ecf03[_0x5ae7e6(0x185)];return(_0x4ffa95=_0x23765a==null?void 0x0:_0x23765a['customHeaders'])!=null&&_0x4ffa95['cookie']&&_0x395906[_0x5ae7e6(0x158)](_0x5ae7e6(0x2f2),_0x23765a[_0x5ae7e6(0x280)][_0x5ae7e6(0x259)]),_0x1995de(_0x3ecf03);}});}async[_0xc1de09(0x209)](_0x195adf){const _0x47037a=_0xc1de09;return this[_0x47037a(0x189)](_0x195adf);}};at=cr([se(0x0,_0xf0757c(_0x11ada6)),se(0x1,_0xf0757c(_0xd8023c)),se(0x2,_0x4511ad),se(0x3,_0x6de682),se(0x4,_0x502b4d)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};