@univerjs-pro/collaboration-client-node 0.9.0 → 0.9.1-nightly.202507051607

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 _0x56f2cd=_0x383f;(function(_0x55a5ab,_0x535db5){const _0x58e576=_0x383f,_0x1b629b=_0x55a5ab();while(!![]){try{const _0x3c2c50=parseInt(_0x58e576(0x2ae))/0x1*(-parseInt(_0x58e576(0x1e3))/0x2)+-parseInt(_0x58e576(0x2c6))/0x3+-parseInt(_0x58e576(0x1c8))/0x4+parseInt(_0x58e576(0x296))/0x5*(parseInt(_0x58e576(0x2b0))/0x6)+-parseInt(_0x58e576(0x2e5))/0x7*(parseInt(_0x58e576(0x268))/0x8)+parseInt(_0x58e576(0x287))/0x9*(parseInt(_0x58e576(0x18b))/0xa)+parseInt(_0x58e576(0x1c2))/0xb*(parseInt(_0x58e576(0x25b))/0xc);if(_0x3c2c50===_0x535db5)break;else _0x1b629b['push'](_0x1b629b['shift']());}catch(_0x4c49c6){_0x1b629b['push'](_0x1b629b['shift']());}}}(_0x453f,0x22b2a));import{UniverCollaborationClientPlugin as _0x43108f,CollaborationSocketService as _0x4f42b6}from'@univerjs-pro/collaboration-client';import{Disposable as _0x142bc8,DisposableCollection as _0x1442b1,toDisposable as _0x3bda40,IConfigService as _0x4abef0,DependentOn as _0x13e505,ILogService as _0x55a7fc,Inject as _0x5025c9,Injector as _0x38642c,Plugin as _0x22b412,registerDependencies as _0x532db7}from'@univerjs/core';import{ISocketService as _0x5077db,HTTPService as _0x129fd5}from'@univerjs/network';import{Observable as _0x13a827,share as _0x4f46bb}from'rxjs';import _0x3ebf13 from'events';import _0xe112a1 from'https';import _0x48e811 from'http';import _0x930566 from'net';import _0x4f35d3 from'tls';import _0x38ebd5 from'crypto';import _0xe2dfc4 from'stream';import _0x31131a from'url';import _0x3a228d from'zlib';import _0x1cd82f from'buffer';import{ISnapshotServerService as _0x57a3ae}from'@univerjs-pro/collaboration';const Be=_0x56f2cd(0x259),Ft={'customHeaders':{}};function jt(_0x37243f){const _0x168d80=_0x56f2cd;return _0x37243f&&_0x37243f[_0x168d80(0x314)]&&Object[_0x168d80(0x23d)]['hasOwnProperty'][_0x168d80(0x195)](_0x37243f,'default')?_0x37243f[_0x168d80(0x252)]:_0x37243f;}function ut(_0x6c4ed6){const _0x548bca=_0x56f2cd;if(Object[_0x548bca(0x23d)][_0x548bca(0x1c5)]['call'](_0x6c4ed6,_0x548bca(0x314)))return _0x6c4ed6;var _0x1c37e2=_0x6c4ed6[_0x548bca(0x252)];if(typeof _0x1c37e2=='function'){var _0x1cb9ac=function _0x3ee5ba(){const _0x13ffcb=_0x548bca;return this instanceof _0x3ee5ba?Reflect['construct'](_0x1c37e2,arguments,this[_0x13ffcb(0x172)]):_0x1c37e2[_0x13ffcb(0x305)](this,arguments);};_0x1cb9ac[_0x548bca(0x23d)]=_0x1c37e2[_0x548bca(0x23d)];}else _0x1cb9ac={};return Object[_0x548bca(0x317)](_0x1cb9ac,'__esModule',{'value':!0x0}),Object[_0x548bca(0x200)](_0x6c4ed6)['forEach'](function(_0x1ad157){const _0x41aca8=_0x548bca;var _0x3acae4=Object[_0x41aca8(0x234)](_0x6c4ed6,_0x1ad157);Object[_0x41aca8(0x317)](_0x1cb9ac,_0x1ad157,_0x3acae4['get']?_0x3acae4:{'enumerable':!0x0,'get':function(){return _0x6c4ed6[_0x1ad157];}});}),_0x1cb9ac;}var te={'exports':{}},ge,Ye;function V(){const _0x5b83e0=_0x56f2cd;if(Ye)return ge;Ye=0x1;const _0x4cebb0=['nodebuffer','arraybuffer',_0x5b83e0(0x18d)],_0x3585ce=typeof Blob<'u';return _0x3585ce&&_0x4cebb0[_0x5b83e0(0x30f)]('blob'),ge={'BINARY_TYPES':_0x4cebb0,'EMPTY_BUFFER':Buffer[_0x5b83e0(0x219)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x3585ce,'kForOnEventAttribute':Symbol(_0x5b83e0(0x17d)),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x5b83e0(0x1a1)),'kWebSocket':Symbol(_0x5b83e0(0x251)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x56f2cd(0x2fe)](Object['defineProperty']({'__proto__':null,'default':Wt},Symbol[_0x56f2cd(0x22d)],{'value':_0x56f2cd(0x162)})),Vt=ut(Gt);var Ke;function ce(){const _0xb1120a=_0x56f2cd;if(Ke)return te[_0xb1120a(0x277)];Ke=0x1;const {EMPTY_BUFFER:_0x5f7b5c}=V(),_0x23d137=Buffer[Symbol[_0xb1120a(0x1d4)]];function _0x545c45(_0x554b28,_0x37b5e7){const _0x1566ea=_0xb1120a;if(_0x554b28['length']===0x0)return _0x5f7b5c;if(_0x554b28[_0x1566ea(0x1fd)]===0x1)return _0x554b28[0x0];const _0x237a28=Buffer[_0x1566ea(0x191)](_0x37b5e7);let _0x234cd5=0x0;for(let _0x46ea03=0x0;_0x46ea03<_0x554b28[_0x1566ea(0x1fd)];_0x46ea03++){const _0x3880f1=_0x554b28[_0x46ea03];_0x237a28['set'](_0x3880f1,_0x234cd5),_0x234cd5+=_0x3880f1[_0x1566ea(0x1fd)];}return _0x234cd5<_0x37b5e7?new _0x23d137(_0x237a28[_0x1566ea(0x20a)],_0x237a28[_0x1566ea(0x19c)],_0x234cd5):_0x237a28;}function _0x5c1301(_0x26f671,_0x5be505,_0x1b476b,_0x3bd720,_0x406d43){for(let _0x57957d=0x0;_0x57957d<_0x406d43;_0x57957d++)_0x1b476b[_0x3bd720+_0x57957d]=_0x26f671[_0x57957d]^_0x5be505[_0x57957d&0x3];}function _0x260b7e(_0x3b2f26,_0x45649e){const _0x105469=_0xb1120a;for(let _0x142dc8=0x0;_0x142dc8<_0x3b2f26[_0x105469(0x1fd)];_0x142dc8++)_0x3b2f26[_0x142dc8]^=_0x45649e[_0x142dc8&0x3];}function _0x27777c(_0x5de7f4){const _0x1bd3a2=_0xb1120a;return _0x5de7f4[_0x1bd3a2(0x1fd)]===_0x5de7f4[_0x1bd3a2(0x20a)][_0x1bd3a2(0x2b6)]?_0x5de7f4[_0x1bd3a2(0x20a)]:_0x5de7f4[_0x1bd3a2(0x20a)][_0x1bd3a2(0x2d0)](_0x5de7f4[_0x1bd3a2(0x19c)],_0x5de7f4['byteOffset']+_0x5de7f4[_0x1bd3a2(0x1fd)]);}function _0x47a47b(_0x51e002){const _0x593d3b=_0xb1120a;if(_0x47a47b[_0x593d3b(0x198)]=!0x0,Buffer[_0x593d3b(0x30c)](_0x51e002))return _0x51e002;let _0x5dfa84;return _0x51e002 instanceof ArrayBuffer?_0x5dfa84=new _0x23d137(_0x51e002):ArrayBuffer[_0x593d3b(0x28a)](_0x51e002)?_0x5dfa84=new _0x23d137(_0x51e002['buffer'],_0x51e002['byteOffset'],_0x51e002[_0x593d3b(0x2b6)]):(_0x5dfa84=Buffer['from'](_0x51e002),_0x47a47b[_0x593d3b(0x198)]=!0x1),_0x5dfa84;}if(te[_0xb1120a(0x277)]={'concat':_0x545c45,'mask':_0x5c1301,'toArrayBuffer':_0x27777c,'toBuffer':_0x47a47b,'unmask':_0x260b7e},!process[_0xb1120a(0x179)]['WS_NO_BUFFER_UTIL'])try{const _0x34fb24=Vt;te[_0xb1120a(0x277)][_0xb1120a(0x1b5)]=function(_0x28fe82,_0x30c185,_0x133750,_0x39af2f,_0x3bdc52){const _0x1f33ac=_0xb1120a;_0x3bdc52<0x30?_0x5c1301(_0x28fe82,_0x30c185,_0x133750,_0x39af2f,_0x3bdc52):_0x34fb24[_0x1f33ac(0x1b5)](_0x28fe82,_0x30c185,_0x133750,_0x39af2f,_0x3bdc52);},te[_0xb1120a(0x277)][_0xb1120a(0x165)]=function(_0x1ede78,_0x2fd8aa){const _0x4d9ca3=_0xb1120a;_0x1ede78[_0x4d9ca3(0x1fd)]<0x20?_0x260b7e(_0x1ede78,_0x2fd8aa):_0x34fb24[_0x4d9ca3(0x165)](_0x1ede78,_0x2fd8aa);};}catch{}return te['exports'];}var ye,Xe;function qt(){const _0x2d96a0=_0x56f2cd;if(Xe)return ye;Xe=0x1;const _0x281496=Symbol(_0x2d96a0(0x197)),_0x44a251=Symbol(_0x2d96a0(0x216));class _0x31ceb8{constructor(_0x2f5d9b){const _0x281d1e=_0x2d96a0;this[_0x281496]=()=>{const _0x446339=_0x383f;this[_0x446339(0x2f7)]--,this[_0x44a251]();},this[_0x281d1e(0x235)]=_0x2f5d9b||0x1/0x0,this[_0x281d1e(0x2a2)]=[],this[_0x281d1e(0x2f7)]=0x0;}[_0x2d96a0(0x1be)](_0x18ccc6){const _0x16c6de=_0x2d96a0;this[_0x16c6de(0x2a2)]['push'](_0x18ccc6),this[_0x44a251]();}[_0x44a251](){const _0x24e418=_0x2d96a0;if(this[_0x24e418(0x2f7)]!==this['concurrency']&&this[_0x24e418(0x2a2)][_0x24e418(0x1fd)]){const _0x7892f7=this[_0x24e418(0x2a2)]['shift']();this[_0x24e418(0x2f7)]++,_0x7892f7(this[_0x281496]);}}}return ye=_0x31ceb8,ye;}var ve,Ze;function he(){const _0x1f595a=_0x56f2cd;if(Ze)return ve;Ze=0x1;const _0x49d569=_0x3a228d,_0x136765=ce(),_0x38fca9=qt(),{kStatusCode:_0x300734}=V(),_0x29d470=Buffer[Symbol[_0x1f595a(0x1d4)]],_0x3100f4=Buffer['from']([0x0,0x0,0xff,0xff]),_0x4dc855=Symbol('permessage-deflate'),_0x258ecc=Symbol(_0x1f595a(0x1a5)),_0x88aae2=Symbol(_0x1f595a(0x25a)),_0x37a48d=Symbol(_0x1f595a(0x2be)),_0xde7ec0=Symbol('error');let _0x9e4534;class _0x5d566f{constructor(_0x170183,_0x5768bd,_0x287780){const _0xda8be4=_0x1f595a;if(this[_0xda8be4(0x23a)]=_0x287780|0x0,this[_0xda8be4(0x1f3)]=_0x170183||{},this[_0xda8be4(0x2ee)]=this[_0xda8be4(0x1f3)][_0xda8be4(0x1ba)]!==void 0x0?this['_options'][_0xda8be4(0x1ba)]:0x400,this[_0xda8be4(0x29d)]=!!_0x5768bd,this[_0xda8be4(0x276)]=null,this['_inflate']=null,this[_0xda8be4(0x2bf)]=null,!_0x9e4534){const _0xa1ff7c=this[_0xda8be4(0x1f3)][_0xda8be4(0x29e)]!==void 0x0?this[_0xda8be4(0x1f3)][_0xda8be4(0x29e)]:0xa;_0x9e4534=new _0x38fca9(_0xa1ff7c);}}static get[_0x1f595a(0x294)](){return'permessage-deflate';}['offer'](){const _0x3b1bcb=_0x1f595a,_0x4215a4={};return this[_0x3b1bcb(0x1f3)][_0x3b1bcb(0x20b)]&&(_0x4215a4[_0x3b1bcb(0x1a8)]=!0x0),this[_0x3b1bcb(0x1f3)][_0x3b1bcb(0x28c)]&&(_0x4215a4['client_no_context_takeover']=!0x0),this[_0x3b1bcb(0x1f3)]['serverMaxWindowBits']&&(_0x4215a4[_0x3b1bcb(0x292)]=this[_0x3b1bcb(0x1f3)]['serverMaxWindowBits']),this[_0x3b1bcb(0x1f3)][_0x3b1bcb(0x207)]?_0x4215a4[_0x3b1bcb(0x1cf)]=this[_0x3b1bcb(0x1f3)]['clientMaxWindowBits']:this['_options'][_0x3b1bcb(0x207)]==null&&(_0x4215a4[_0x3b1bcb(0x1cf)]=!0x0),_0x4215a4;}[_0x1f595a(0x1e9)](_0x4f4d41){const _0x5391b8=_0x1f595a;return _0x4f4d41=this[_0x5391b8(0x2bd)](_0x4f4d41),this[_0x5391b8(0x2bf)]=this[_0x5391b8(0x29d)]?this[_0x5391b8(0x269)](_0x4f4d41):this[_0x5391b8(0x275)](_0x4f4d41),this[_0x5391b8(0x2bf)];}[_0x1f595a(0x1a7)](){const _0x3589f1=_0x1f595a;if(this[_0x3589f1(0x2c3)]&&(this['_inflate']['close'](),this['_inflate']=null),this[_0x3589f1(0x276)]){const _0x5acd6f=this[_0x3589f1(0x276)][_0x88aae2];this[_0x3589f1(0x276)]['close'](),this[_0x3589f1(0x276)]=null,_0x5acd6f&&_0x5acd6f(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x1f595a(0x269)](_0x3d9578){const _0x557afe=_0x1f595a,_0x3aca8a=this['_options'],_0x578549=_0x3d9578[_0x557afe(0x229)](_0x5b3c0b=>!(_0x3aca8a[_0x557afe(0x20b)]===!0x1&&_0x5b3c0b[_0x557afe(0x1a8)]||_0x5b3c0b[_0x557afe(0x292)]&&(_0x3aca8a[_0x557afe(0x2ad)]===!0x1||typeof _0x3aca8a['serverMaxWindowBits']==_0x557afe(0x232)&&_0x3aca8a[_0x557afe(0x2ad)]>_0x5b3c0b[_0x557afe(0x292)])||typeof _0x3aca8a['clientMaxWindowBits']==_0x557afe(0x232)&&!_0x5b3c0b['client_max_window_bits']));if(!_0x578549)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x3aca8a['serverNoContextTakeover']&&(_0x578549[_0x557afe(0x1a8)]=!0x0),_0x3aca8a['clientNoContextTakeover']&&(_0x578549[_0x557afe(0x1cd)]=!0x0),typeof _0x3aca8a[_0x557afe(0x2ad)]==_0x557afe(0x232)&&(_0x578549[_0x557afe(0x292)]=_0x3aca8a[_0x557afe(0x2ad)]),typeof _0x3aca8a['clientMaxWindowBits']==_0x557afe(0x232)?_0x578549[_0x557afe(0x1cf)]=_0x3aca8a[_0x557afe(0x207)]:(_0x578549[_0x557afe(0x1cf)]===!0x0||_0x3aca8a[_0x557afe(0x207)]===!0x1)&&delete _0x578549['client_max_window_bits'],_0x578549;}[_0x1f595a(0x275)](_0xa522e9){const _0x122037=_0x1f595a,_0x228818=_0xa522e9[0x0];if(this['_options'][_0x122037(0x28c)]===!0x1&&_0x228818[_0x122037(0x1cd)])throw new Error(_0x122037(0x16a));if(!_0x228818['client_max_window_bits'])typeof this[_0x122037(0x1f3)][_0x122037(0x207)]==_0x122037(0x232)&&(_0x228818['client_max_window_bits']=this[_0x122037(0x1f3)][_0x122037(0x207)]);else{if(this[_0x122037(0x1f3)][_0x122037(0x207)]===!0x1||typeof this[_0x122037(0x1f3)][_0x122037(0x207)]=='number'&&_0x228818['client_max_window_bits']>this['_options'][_0x122037(0x207)])throw new Error(_0x122037(0x274));}return _0x228818;}[_0x1f595a(0x2bd)](_0x5125d8){return _0x5125d8['forEach'](_0x1ee986=>{const _0x23d903=_0x383f;Object[_0x23d903(0x200)](_0x1ee986)[_0x23d903(0x2c0)](_0x26fd72=>{const _0x16cf12=_0x23d903;let _0x427558=_0x1ee986[_0x26fd72];if(_0x427558[_0x16cf12(0x1fd)]>0x1)throw new Error(_0x16cf12(0x22e)+_0x26fd72+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x427558=_0x427558[0x0],_0x26fd72===_0x16cf12(0x1cf)){if(_0x427558!==!0x0){const _0xcbff51=+_0x427558;if(!Number['isInteger'](_0xcbff51)||_0xcbff51<0x8||_0xcbff51>0xf)throw new TypeError(_0x16cf12(0x2cf)+_0x26fd72+'\x22:\x20'+_0x427558);_0x427558=_0xcbff51;}else{if(!this[_0x16cf12(0x29d)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x26fd72+_0x16cf12(0x185)+_0x427558);}}else{if(_0x26fd72===_0x16cf12(0x292)){const _0x2a817e=+_0x427558;if(!Number[_0x16cf12(0x1d0)](_0x2a817e)||_0x2a817e<0x8||_0x2a817e>0xf)throw new TypeError(_0x16cf12(0x2cf)+_0x26fd72+_0x16cf12(0x185)+_0x427558);_0x427558=_0x2a817e;}else{if(_0x26fd72===_0x16cf12(0x1cd)||_0x26fd72===_0x16cf12(0x1a8)){if(_0x427558!==!0x0)throw new TypeError(_0x16cf12(0x2cf)+_0x26fd72+_0x16cf12(0x185)+_0x427558);}else throw new Error(_0x16cf12(0x306)+_0x26fd72+'\x22');}}_0x1ee986[_0x26fd72]=_0x427558;});}),_0x5125d8;}[_0x1f595a(0x22c)](_0x13e4fb,_0x6450d9,_0x5a5cbc){const _0x80508e=_0x1f595a;_0x9e4534[_0x80508e(0x1be)](_0x1390fd=>{const _0x5ac0bd=_0x80508e;this[_0x5ac0bd(0x167)](_0x13e4fb,_0x6450d9,(_0x51274e,_0x5f2935)=>{_0x1390fd(),_0x5a5cbc(_0x51274e,_0x5f2935);});});}['compress'](_0x45d007,_0x3be46a,_0x473159){const _0xf3849b=_0x1f595a;_0x9e4534[_0xf3849b(0x1be)](_0x3b5ee2=>{const _0x27aa96=_0xf3849b;this[_0x27aa96(0x228)](_0x45d007,_0x3be46a,(_0x565226,_0x23e9d5)=>{_0x3b5ee2(),_0x473159(_0x565226,_0x23e9d5);});});}[_0x1f595a(0x167)](_0x10b1a6,_0x1dbd1f,_0x390f80){const _0x346399=_0x1f595a,_0x363ec9=this[_0x346399(0x29d)]?_0x346399(0x22f):_0x346399(0x2f3);if(!this['_inflate']){const _0x515071=_0x363ec9+_0x346399(0x2a5),_0x2897c0=typeof this[_0x346399(0x2bf)][_0x515071]!='number'?_0x49d569[_0x346399(0x28d)]:this[_0x346399(0x2bf)][_0x515071];this[_0x346399(0x2c3)]=_0x49d569[_0x346399(0x217)]({...this['_options'][_0x346399(0x222)],'windowBits':_0x2897c0}),this[_0x346399(0x2c3)][_0x4dc855]=this,this[_0x346399(0x2c3)][_0x258ecc]=0x0,this['_inflate'][_0x37a48d]=[],this['_inflate']['on'](_0x346399(0x267),_0x58245c),this[_0x346399(0x2c3)]['on'](_0x346399(0x279),_0x3457ff);}this[_0x346399(0x2c3)][_0x88aae2]=_0x390f80,this['_inflate'][_0x346399(0x1f2)](_0x10b1a6),_0x1dbd1f&&this[_0x346399(0x2c3)]['write'](_0x3100f4),this[_0x346399(0x2c3)][_0x346399(0x16f)](()=>{const _0x55764a=_0x346399,_0x4f8564=this[_0x55764a(0x2c3)][_0xde7ec0];if(_0x4f8564){this[_0x55764a(0x2c3)][_0x55764a(0x19e)](),this[_0x55764a(0x2c3)]=null,_0x390f80(_0x4f8564);return;}const _0x4d8683=_0x136765[_0x55764a(0x2d7)](this['_inflate'][_0x37a48d],this[_0x55764a(0x2c3)][_0x258ecc]);this['_inflate']['_readableState'][_0x55764a(0x249)]?(this[_0x55764a(0x2c3)][_0x55764a(0x19e)](),this[_0x55764a(0x2c3)]=null):(this['_inflate'][_0x258ecc]=0x0,this[_0x55764a(0x2c3)][_0x37a48d]=[],_0x1dbd1f&&this[_0x55764a(0x2bf)][_0x363ec9+_0x55764a(0x221)]&&this[_0x55764a(0x2c3)][_0x55764a(0x2ef)]()),_0x390f80(null,_0x4d8683);});}[_0x1f595a(0x228)](_0xebbfd,_0x5eaeac,_0xa2ef2d){const _0x4d07cb=_0x1f595a,_0x4a1604=this[_0x4d07cb(0x29d)]?_0x4d07cb(0x2f3):_0x4d07cb(0x22f);if(!this[_0x4d07cb(0x276)]){const _0x85f6d=_0x4a1604+_0x4d07cb(0x2a5),_0x32b461=typeof this[_0x4d07cb(0x2bf)][_0x85f6d]!=_0x4d07cb(0x232)?_0x49d569[_0x4d07cb(0x28d)]:this[_0x4d07cb(0x2bf)][_0x85f6d];this[_0x4d07cb(0x276)]=_0x49d569[_0x4d07cb(0x21a)]({...this[_0x4d07cb(0x1f3)][_0x4d07cb(0x20d)],'windowBits':_0x32b461}),this[_0x4d07cb(0x276)][_0x258ecc]=0x0,this[_0x4d07cb(0x276)][_0x37a48d]=[],this[_0x4d07cb(0x276)]['on'](_0x4d07cb(0x279),_0x172015);}this['_deflate'][_0x88aae2]=_0xa2ef2d,this[_0x4d07cb(0x276)]['write'](_0xebbfd),this['_deflate'][_0x4d07cb(0x16f)](_0x49d569[_0x4d07cb(0x254)],()=>{const _0x4689f3=_0x4d07cb;if(!this[_0x4689f3(0x276)])return;let _0x194ba2=_0x136765[_0x4689f3(0x2d7)](this[_0x4689f3(0x276)][_0x37a48d],this[_0x4689f3(0x276)][_0x258ecc]);_0x5eaeac&&(_0x194ba2=new _0x29d470(_0x194ba2['buffer'],_0x194ba2['byteOffset'],_0x194ba2[_0x4689f3(0x1fd)]-0x4)),this[_0x4689f3(0x276)][_0x88aae2]=null,this[_0x4689f3(0x276)][_0x258ecc]=0x0,this[_0x4689f3(0x276)][_0x37a48d]=[],_0x5eaeac&&this['params'][_0x4a1604+_0x4689f3(0x221)]&&this[_0x4689f3(0x276)][_0x4689f3(0x2ef)](),_0xa2ef2d(null,_0x194ba2);});}}ve=_0x5d566f;function _0x172015(_0x1e0309){const _0x432caf=_0x1f595a;this[_0x37a48d][_0x432caf(0x30f)](_0x1e0309),this[_0x258ecc]+=_0x1e0309[_0x432caf(0x1fd)];}function _0x3457ff(_0x40797a){const _0xffbffc=_0x1f595a;if(this[_0x258ecc]+=_0x40797a[_0xffbffc(0x1fd)],this[_0x4dc855][_0xffbffc(0x23a)]<0x1||this[_0x258ecc]<=this[_0x4dc855]['_maxPayload']){this[_0x37a48d][_0xffbffc(0x30f)](_0x40797a);return;}this[_0xde7ec0]=new RangeError(_0xffbffc(0x2ac)),this[_0xde7ec0]['code']=_0xffbffc(0x1ef),this[_0xde7ec0][_0x300734]=0x3f1,this['removeListener']('data',_0x3457ff),this[_0xffbffc(0x2ef)]();}function _0x58245c(_0x4bbd37){const _0x1a44fd=_0x1f595a;if(this[_0x4dc855][_0x1a44fd(0x2c3)]=null,this[_0xde7ec0]){this[_0x88aae2](this[_0xde7ec0]);return;}_0x4bbd37[_0x300734]=0x3ef,this[_0x88aae2](_0x4bbd37);}return ve;}var re={'exports':{}};const Ht={},zt=Object['freeze'](Object[_0x56f2cd(0x317)]({'__proto__':null,'default':Ht},Symbol['toStringTag'],{'value':_0x56f2cd(0x162)})),Yt=ut(zt);var Qe;function ne(){const _0x1c2446=_0x56f2cd;if(Qe)return re[_0x1c2446(0x277)];Qe=0x1;const {isUtf8:_0x42e83e}=_0x1cd82f,{hasBlob:_0xd6bf07}=V(),_0x310368=[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 _0x1f4681(_0x1449ed){return _0x1449ed>=0x3e8&&_0x1449ed<=0x3f6&&_0x1449ed!==0x3ec&&_0x1449ed!==0x3ed&&_0x1449ed!==0x3ee||_0x1449ed>=0xbb8&&_0x1449ed<=0x1387;}function _0x39f245(_0x58217a){const _0x27dbed=_0x1c2446,_0x2931b8=_0x58217a[_0x27dbed(0x1fd)];let _0x523a66=0x0;for(;_0x523a66<_0x2931b8;)if((_0x58217a[_0x523a66]&0x80)===0x0)_0x523a66++;else{if((_0x58217a[_0x523a66]&0xe0)===0xc0){if(_0x523a66+0x1===_0x2931b8||(_0x58217a[_0x523a66+0x1]&0xc0)!==0x80||(_0x58217a[_0x523a66]&0xfe)===0xc0)return!0x1;_0x523a66+=0x2;}else{if((_0x58217a[_0x523a66]&0xf0)===0xe0){if(_0x523a66+0x2>=_0x2931b8||(_0x58217a[_0x523a66+0x1]&0xc0)!==0x80||(_0x58217a[_0x523a66+0x2]&0xc0)!==0x80||_0x58217a[_0x523a66]===0xe0&&(_0x58217a[_0x523a66+0x1]&0xe0)===0x80||_0x58217a[_0x523a66]===0xed&&(_0x58217a[_0x523a66+0x1]&0xe0)===0xa0)return!0x1;_0x523a66+=0x3;}else{if((_0x58217a[_0x523a66]&0xf8)===0xf0){if(_0x523a66+0x3>=_0x2931b8||(_0x58217a[_0x523a66+0x1]&0xc0)!==0x80||(_0x58217a[_0x523a66+0x2]&0xc0)!==0x80||(_0x58217a[_0x523a66+0x3]&0xc0)!==0x80||_0x58217a[_0x523a66]===0xf0&&(_0x58217a[_0x523a66+0x1]&0xf0)===0x80||_0x58217a[_0x523a66]===0xf4&&_0x58217a[_0x523a66+0x1]>0x8f||_0x58217a[_0x523a66]>0xf4)return!0x1;_0x523a66+=0x4;}else return!0x1;}}}return!0x0;}function _0x179f86(_0x150991){const _0x2e86d0=_0x1c2446;return _0xd6bf07&&typeof _0x150991==_0x2e86d0(0x19d)&&typeof _0x150991['arrayBuffer']=='function'&&typeof _0x150991[_0x2e86d0(0x1c3)]==_0x2e86d0(0x2e9)&&typeof _0x150991['stream']==_0x2e86d0(0x2b3)&&(_0x150991[Symbol[_0x2e86d0(0x22d)]]==='Blob'||_0x150991[Symbol[_0x2e86d0(0x22d)]]==='File');}if(re[_0x1c2446(0x277)]={'isBlob':_0x179f86,'isValidStatusCode':_0x1f4681,'isValidUTF8':_0x39f245,'tokenChars':_0x310368},_0x42e83e)re[_0x1c2446(0x277)][_0x1c2446(0x1c0)]=function(_0x132ccb){const _0x3d8bcf=_0x1c2446;return _0x132ccb[_0x3d8bcf(0x1fd)]<0x18?_0x39f245(_0x132ccb):_0x42e83e(_0x132ccb);};else{if(!process[_0x1c2446(0x179)][_0x1c2446(0x27a)])try{const _0x56d869=Yt;re['exports'][_0x1c2446(0x1c0)]=function(_0x694622){const _0xf984f5=_0x1c2446;return _0x694622[_0xf984f5(0x1fd)]<0x20?_0x39f245(_0x694622):_0x56d869(_0x694622);};}catch{}}return re[_0x1c2446(0x277)];}var Se,Je;function dt(){const _0x42ff50=_0x56f2cd;if(Je)return Se;Je=0x1;const {Writable:_0x2f533e}=_0xe2dfc4,_0x4bffa8=he(),{BINARY_TYPES:_0x396458,EMPTY_BUFFER:_0x4c1a22,kStatusCode:_0x29e943,kWebSocket:_0x419102}=V(),{concat:_0x33aa4e,toArrayBuffer:_0x192462,unmask:_0x264fbe}=ce(),{isValidStatusCode:_0x20a5db,isValidUTF8:_0x5c46b1}=ne(),_0x5d3bc7=Buffer[Symbol[_0x42ff50(0x1d4)]],_0x33856a=0x0,_0x40184b=0x1,_0x491617=0x2,_0x1ff1f7=0x3,_0x15ae5b=0x4,_0x569b7f=0x5,_0x32b95e=0x6;class _0xe9aeaa extends _0x2f533e{constructor(_0x4e9135={}){const _0x2be049=_0x42ff50;super(),this[_0x2be049(0x227)]=_0x4e9135[_0x2be049(0x213)]!==void 0x0?_0x4e9135[_0x2be049(0x213)]:!0x0,this[_0x2be049(0x298)]=_0x4e9135[_0x2be049(0x27f)]||_0x396458[0x0],this[_0x2be049(0x1ff)]=_0x4e9135[_0x2be049(0x187)]||{},this[_0x2be049(0x29d)]=!!_0x4e9135['isServer'],this[_0x2be049(0x23a)]=_0x4e9135[_0x2be049(0x2e0)]|0x0,this[_0x2be049(0x2bb)]=!!_0x4e9135[_0x2be049(0x1b0)],this[_0x419102]=void 0x0,this[_0x2be049(0x1af)]=0x0,this[_0x2be049(0x2de)]=[],this[_0x2be049(0x23b)]=!0x1,this['_payloadLength']=0x0,this[_0x2be049(0x2fb)]=void 0x0,this['_fragmented']=0x0,this[_0x2be049(0x25d)]=!0x1,this[_0x2be049(0x2c1)]=!0x1,this[_0x2be049(0x2a0)]=0x0,this[_0x2be049(0x1bc)]=0x0,this[_0x2be049(0x1e7)]=0x0,this['_fragments']=[],this['_errored']=!0x1,this['_loop']=!0x1,this[_0x2be049(0x1d2)]=_0x33856a;}[_0x42ff50(0x261)](_0x2a382a,_0x5092c9,_0x8e1407){const _0x49abb1=_0x42ff50;if(this[_0x49abb1(0x2a0)]===0x8&&this[_0x49abb1(0x1d2)]==_0x33856a)return _0x8e1407();this[_0x49abb1(0x1af)]+=_0x2a382a[_0x49abb1(0x1fd)],this['_buffers'][_0x49abb1(0x30f)](_0x2a382a),this['startLoop'](_0x8e1407);}['consume'](_0x29c271){const _0x18d77a=_0x42ff50;if(this['_bufferedBytes']-=_0x29c271,_0x29c271===this[_0x18d77a(0x2de)][0x0][_0x18d77a(0x1fd)])return this['_buffers'][_0x18d77a(0x27b)]();if(_0x29c271<this[_0x18d77a(0x2de)][0x0][_0x18d77a(0x1fd)]){const _0xa1a902=this[_0x18d77a(0x2de)][0x0];return this['_buffers'][0x0]=new _0x5d3bc7(_0xa1a902[_0x18d77a(0x20a)],_0xa1a902[_0x18d77a(0x19c)]+_0x29c271,_0xa1a902[_0x18d77a(0x1fd)]-_0x29c271),new _0x5d3bc7(_0xa1a902['buffer'],_0xa1a902[_0x18d77a(0x19c)],_0x29c271);}const _0x384a19=Buffer['allocUnsafe'](_0x29c271);do{const _0x1ad519=this[_0x18d77a(0x2de)][0x0],_0xab0de0=_0x384a19[_0x18d77a(0x1fd)]-_0x29c271;_0x29c271>=_0x1ad519['length']?_0x384a19['set'](this[_0x18d77a(0x2de)][_0x18d77a(0x27b)](),_0xab0de0):(_0x384a19[_0x18d77a(0x2f4)](new Uint8Array(_0x1ad519[_0x18d77a(0x20a)],_0x1ad519[_0x18d77a(0x19c)],_0x29c271),_0xab0de0),this[_0x18d77a(0x2de)][0x0]=new _0x5d3bc7(_0x1ad519[_0x18d77a(0x20a)],_0x1ad519[_0x18d77a(0x19c)]+_0x29c271,_0x1ad519[_0x18d77a(0x1fd)]-_0x29c271)),_0x29c271-=_0x1ad519[_0x18d77a(0x1fd)];}while(_0x29c271>0x0);return _0x384a19;}[_0x42ff50(0x20f)](_0x399702){const _0xdf3138=_0x42ff50;this[_0xdf3138(0x2c2)]=!0x0;do switch(this[_0xdf3138(0x1d2)]){case _0x33856a:this[_0xdf3138(0x2a4)](_0x399702);break;case _0x40184b:this[_0xdf3138(0x26c)](_0x399702);break;case _0x491617:this[_0xdf3138(0x196)](_0x399702);break;case _0x1ff1f7:this[_0xdf3138(0x23c)]();break;case _0x15ae5b:this[_0xdf3138(0x309)](_0x399702);break;case _0x569b7f:case _0x32b95e:this[_0xdf3138(0x2c2)]=!0x1;return;}while(this[_0xdf3138(0x2c2)]);this[_0xdf3138(0x1b3)]||_0x399702();}[_0x42ff50(0x2a4)](_0x3c2c76){const _0x42054c=_0x42ff50;if(this['_bufferedBytes']<0x2){this[_0x42054c(0x2c2)]=!0x1;return;}const _0x3e3d8d=this[_0x42054c(0x18a)](0x2);if((_0x3e3d8d[0x0]&0x30)!==0x0){const _0x396121=this[_0x42054c(0x30d)](RangeError,_0x42054c(0x2e3),!0x0,0x3ea,_0x42054c(0x209));_0x3c2c76(_0x396121);return;}const _0x5e9157=(_0x3e3d8d[0x0]&0x40)===0x40;if(_0x5e9157&&!this[_0x42054c(0x1ff)][_0x4bffa8[_0x42054c(0x294)]]){const _0x560edf=this['createError'](RangeError,_0x42054c(0x1b8),!0x0,0x3ea,_0x42054c(0x2f6));_0x3c2c76(_0x560edf);return;}if(this[_0x42054c(0x2c1)]=(_0x3e3d8d[0x0]&0x80)===0x80,this['_opcode']=_0x3e3d8d[0x0]&0xf,this['_payloadLength']=_0x3e3d8d[0x1]&0x7f,this[_0x42054c(0x2a0)]===0x0){if(_0x5e9157){const _0x50c3ae=this['createError'](RangeError,_0x42054c(0x1b8),!0x0,0x3ea,_0x42054c(0x2f6));_0x3c2c76(_0x50c3ae);return;}if(!this[_0x42054c(0x245)]){const _0x4cdbc1=this[_0x42054c(0x30d)](RangeError,_0x42054c(0x201),!0x0,0x3ea,_0x42054c(0x281));_0x3c2c76(_0x4cdbc1);return;}this['_opcode']=this['_fragmented'];}else{if(this[_0x42054c(0x2a0)]===0x1||this['_opcode']===0x2){if(this[_0x42054c(0x245)]){const _0x356451=this['createError'](RangeError,_0x42054c(0x2ca)+this[_0x42054c(0x2a0)],!0x0,0x3ea,_0x42054c(0x281));_0x3c2c76(_0x356451);return;}this['_compressed']=_0x5e9157;}else{if(this[_0x42054c(0x2a0)]>0x7&&this[_0x42054c(0x2a0)]<0xb){if(!this['_fin']){const _0x2a7733=this['createError'](RangeError,_0x42054c(0x1d5),!0x0,0x3ea,_0x42054c(0x272));_0x3c2c76(_0x2a7733);return;}if(_0x5e9157){const _0x168d38=this[_0x42054c(0x30d)](RangeError,_0x42054c(0x1b8),!0x0,0x3ea,_0x42054c(0x2f6));_0x3c2c76(_0x168d38);return;}if(this[_0x42054c(0x2e7)]>0x7d||this[_0x42054c(0x2a0)]===0x8&&this[_0x42054c(0x2e7)]===0x1){const _0x2f420a=this[_0x42054c(0x30d)](RangeError,_0x42054c(0x2d9)+this[_0x42054c(0x2e7)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x3c2c76(_0x2f420a);return;}}else{const _0x245c55=this[_0x42054c(0x30d)](RangeError,_0x42054c(0x2ca)+this[_0x42054c(0x2a0)],!0x0,0x3ea,_0x42054c(0x281));_0x3c2c76(_0x245c55);return;}}}if(!this['_fin']&&!this[_0x42054c(0x245)]&&(this['_fragmented']=this[_0x42054c(0x2a0)]),this[_0x42054c(0x25d)]=(_0x3e3d8d[0x1]&0x80)===0x80,this[_0x42054c(0x29d)]){if(!this[_0x42054c(0x25d)]){const _0x246a36=this[_0x42054c(0x30d)](RangeError,_0x42054c(0x231),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x3c2c76(_0x246a36);return;}}else{if(this[_0x42054c(0x25d)]){const _0x25a55e=this[_0x42054c(0x30d)](RangeError,_0x42054c(0x2c8),!0x0,0x3ea,_0x42054c(0x21b));_0x3c2c76(_0x25a55e);return;}}this[_0x42054c(0x2e7)]===0x7e?this['_state']=_0x40184b:this[_0x42054c(0x2e7)]===0x7f?this['_state']=_0x491617:this[_0x42054c(0x1cc)](_0x3c2c76);}[_0x42ff50(0x26c)](_0x2f4ef3){const _0x457080=_0x42ff50;if(this[_0x457080(0x1af)]<0x2){this['_loop']=!0x1;return;}this[_0x457080(0x2e7)]=this[_0x457080(0x18a)](0x2)[_0x457080(0x258)](0x0),this[_0x457080(0x1cc)](_0x2f4ef3);}[_0x42ff50(0x196)](_0x14d002){const _0x25d0af=_0x42ff50;if(this['_bufferedBytes']<0x8){this[_0x25d0af(0x2c2)]=!0x1;return;}const _0x404053=this[_0x25d0af(0x18a)](0x8),_0x11ff27=_0x404053[_0x25d0af(0x2b9)](0x0);if(_0x11ff27>Math[_0x25d0af(0x202)](0x2,0x15)-0x1){const _0x606a6d=this['createError'](RangeError,_0x25d0af(0x1c7),!0x1,0x3f1,_0x25d0af(0x182));_0x14d002(_0x606a6d);return;}this[_0x25d0af(0x2e7)]=_0x11ff27*Math[_0x25d0af(0x202)](0x2,0x20)+_0x404053['readUInt32BE'](0x4),this[_0x25d0af(0x1cc)](_0x14d002);}[_0x42ff50(0x1cc)](_0xbc99b2){const _0x93f6b5=_0x42ff50;if(this[_0x93f6b5(0x2e7)]&&this[_0x93f6b5(0x2a0)]<0x8&&(this['_totalPayloadLength']+=this['_payloadLength'],this['_totalPayloadLength']>this[_0x93f6b5(0x23a)]&&this[_0x93f6b5(0x23a)]>0x0)){const _0x52d483=this['createError'](RangeError,_0x93f6b5(0x2ac),!0x1,0x3f1,_0x93f6b5(0x1ef));_0xbc99b2(_0x52d483);return;}this['_masked']?this[_0x93f6b5(0x1d2)]=_0x1ff1f7:this[_0x93f6b5(0x1d2)]=_0x15ae5b;}[_0x42ff50(0x23c)](){const _0x5b9ccb=_0x42ff50;if(this[_0x5b9ccb(0x1af)]<0x4){this[_0x5b9ccb(0x2c2)]=!0x1;return;}this[_0x5b9ccb(0x2fb)]=this[_0x5b9ccb(0x18a)](0x4),this['_state']=_0x15ae5b;}['getData'](_0x1288c1){const _0x9468a=_0x42ff50;let _0x4a2165=_0x4c1a22;if(this[_0x9468a(0x2e7)]){if(this['_bufferedBytes']<this['_payloadLength']){this[_0x9468a(0x2c2)]=!0x1;return;}_0x4a2165=this[_0x9468a(0x18a)](this['_payloadLength']),this[_0x9468a(0x25d)]&&(this[_0x9468a(0x2fb)][0x0]|this[_0x9468a(0x2fb)][0x1]|this['_mask'][0x2]|this[_0x9468a(0x2fb)][0x3])!==0x0&&_0x264fbe(_0x4a2165,this['_mask']);}if(this['_opcode']>0x7){this[_0x9468a(0x170)](_0x4a2165,_0x1288c1);return;}if(this['_compressed']){this[_0x9468a(0x1d2)]=_0x569b7f,this[_0x9468a(0x22c)](_0x4a2165,_0x1288c1);return;}_0x4a2165['length']&&(this[_0x9468a(0x1e7)]=this[_0x9468a(0x1bc)],this[_0x9468a(0x1a0)][_0x9468a(0x30f)](_0x4a2165)),this['dataMessage'](_0x1288c1);}[_0x42ff50(0x22c)](_0x5ab603,_0x10d465){const _0x2d2679=_0x42ff50;this['_extensions'][_0x4bffa8['extensionName']][_0x2d2679(0x22c)](_0x5ab603,this[_0x2d2679(0x2c1)],(_0x429740,_0x247a9b)=>{const _0x1b45cc=_0x2d2679;if(_0x429740)return _0x10d465(_0x429740);if(_0x247a9b[_0x1b45cc(0x1fd)]){if(this['_messageLength']+=_0x247a9b['length'],this['_messageLength']>this['_maxPayload']&&this[_0x1b45cc(0x23a)]>0x0){const _0x42e244=this[_0x1b45cc(0x30d)](RangeError,_0x1b45cc(0x2ac),!0x1,0x3f1,_0x1b45cc(0x1ef));_0x10d465(_0x42e244);return;}this[_0x1b45cc(0x1a0)][_0x1b45cc(0x30f)](_0x247a9b);}this['dataMessage'](_0x10d465),this[_0x1b45cc(0x1d2)]===_0x33856a&&this[_0x1b45cc(0x20f)](_0x10d465);});}[_0x42ff50(0x301)](_0x395db3){const _0x2c13ad=_0x42ff50;if(!this['_fin']){this[_0x2c13ad(0x1d2)]=_0x33856a;return;}const _0x5d3c2c=this['_messageLength'],_0x1a632f=this[_0x2c13ad(0x1a0)];if(this['_totalPayloadLength']=0x0,this[_0x2c13ad(0x1e7)]=0x0,this[_0x2c13ad(0x245)]=0x0,this[_0x2c13ad(0x1a0)]=[],this['_opcode']===0x2){let _0x340d86;this[_0x2c13ad(0x298)]===_0x2c13ad(0x1a9)?_0x340d86=_0x33aa4e(_0x1a632f,_0x5d3c2c):this[_0x2c13ad(0x298)]==='arraybuffer'?_0x340d86=_0x192462(_0x33aa4e(_0x1a632f,_0x5d3c2c)):this[_0x2c13ad(0x298)]===_0x2c13ad(0x1aa)?_0x340d86=new Blob(_0x1a632f):_0x340d86=_0x1a632f,this['_allowSynchronousEvents']?(this['emit'](_0x2c13ad(0x2b7),_0x340d86,!0x0),this['_state']=_0x33856a):(this[_0x2c13ad(0x1d2)]=_0x32b95e,setImmediate(()=>{const _0x51ec1a=_0x2c13ad;this[_0x51ec1a(0x288)](_0x51ec1a(0x2b7),_0x340d86,!0x0),this[_0x51ec1a(0x1d2)]=_0x33856a,this[_0x51ec1a(0x20f)](_0x395db3);}));}else{const _0x4ade95=_0x33aa4e(_0x1a632f,_0x5d3c2c);if(!this['_skipUTF8Validation']&&!_0x5c46b1(_0x4ade95)){const _0x1ff2d0=this['createError'](Error,_0x2c13ad(0x199),!0x0,0x3ef,_0x2c13ad(0x26e));_0x395db3(_0x1ff2d0);return;}this[_0x2c13ad(0x1d2)]===_0x569b7f||this['_allowSynchronousEvents']?(this['emit'](_0x2c13ad(0x2b7),_0x4ade95,!0x1),this[_0x2c13ad(0x1d2)]=_0x33856a):(this[_0x2c13ad(0x1d2)]=_0x32b95e,setImmediate(()=>{const _0x1a6d41=_0x2c13ad;this[_0x1a6d41(0x288)](_0x1a6d41(0x2b7),_0x4ade95,!0x1),this[_0x1a6d41(0x1d2)]=_0x33856a,this[_0x1a6d41(0x20f)](_0x395db3);}));}}[_0x42ff50(0x170)](_0x12632c,_0x583631){const _0x16e7a6=_0x42ff50;if(this[_0x16e7a6(0x2a0)]===0x8){if(_0x12632c[_0x16e7a6(0x1fd)]===0x0)this[_0x16e7a6(0x2c2)]=!0x1,this[_0x16e7a6(0x288)](_0x16e7a6(0x212),0x3ed,_0x4c1a22),this[_0x16e7a6(0x266)]();else{const _0x367906=_0x12632c[_0x16e7a6(0x258)](0x0);if(!_0x20a5db(_0x367906)){const _0x4434c3=this[_0x16e7a6(0x30d)](RangeError,_0x16e7a6(0x26a)+_0x367906,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x583631(_0x4434c3);return;}const _0x27fa42=new _0x5d3bc7(_0x12632c[_0x16e7a6(0x20a)],_0x12632c[_0x16e7a6(0x19c)]+0x2,_0x12632c['length']-0x2);if(!this['_skipUTF8Validation']&&!_0x5c46b1(_0x27fa42)){const _0x3a9ab6=this[_0x16e7a6(0x30d)](Error,_0x16e7a6(0x199),!0x0,0x3ef,_0x16e7a6(0x26e));_0x583631(_0x3a9ab6);return;}this[_0x16e7a6(0x2c2)]=!0x1,this['emit']('conclude',_0x367906,_0x27fa42),this[_0x16e7a6(0x266)]();}this[_0x16e7a6(0x1d2)]=_0x33856a;return;}this[_0x16e7a6(0x227)]?(this[_0x16e7a6(0x288)](this['_opcode']===0x9?_0x16e7a6(0x29f):_0x16e7a6(0x21c),_0x12632c),this[_0x16e7a6(0x1d2)]=_0x33856a):(this[_0x16e7a6(0x1d2)]=_0x32b95e,setImmediate(()=>{const _0x5bf4ca=_0x16e7a6;this['emit'](this[_0x5bf4ca(0x2a0)]===0x9?'ping':_0x5bf4ca(0x21c),_0x12632c),this[_0x5bf4ca(0x1d2)]=_0x33856a,this['startLoop'](_0x583631);}));}[_0x42ff50(0x30d)](_0x47416c,_0x36e6e5,_0x1ba9af,_0x58991f,_0x168029){const _0x3c2c72=_0x42ff50;this[_0x3c2c72(0x2c2)]=!0x1,this['_errored']=!0x0;const _0x5e87de=new _0x47416c(_0x1ba9af?'Invalid\x20WebSocket\x20frame:\x20'+_0x36e6e5:_0x36e6e5);return Error[_0x3c2c72(0x1db)](_0x5e87de,this[_0x3c2c72(0x30d)]),_0x5e87de['code']=_0x168029,_0x5e87de[_0x29e943]=_0x58991f,_0x5e87de;}}return Se=_0xe9aeaa,Se;}var Ee,et;function _t(){const _0x3dbaa6=_0x56f2cd;if(et)return Ee;et=0x1;const {Duplex:_0x36c09c}=_0xe2dfc4,{randomFillSync:_0x15ba72}=_0x38ebd5,_0x58c94c=he(),{EMPTY_BUFFER:_0x8d9c24,kWebSocket:_0x52b4e7,NOOP:_0x1fba2f}=V(),{isBlob:_0xaf8bc0,isValidStatusCode:_0x3258b1}=ne(),{mask:_0x3a7cb9,toBuffer:_0x2dac33}=ce(),_0xc1cea4=Symbol(_0x3dbaa6(0x23e)),_0x124b8e=Buffer['alloc'](0x4),_0x4865aa=0x8*0x400;let _0x576f70,_0x3fa78d=_0x4865aa;const _0x27d74f=0x0,_0x5d4bca=0x1,_0x2695a8=0x2;class _0x100833{constructor(_0x194f83,_0x44c23a,_0x530dca){const _0x1311a4=_0x3dbaa6;this[_0x1311a4(0x1ff)]=_0x44c23a||{},_0x530dca&&(this[_0x1311a4(0x17e)]=_0x530dca,this[_0x1311a4(0x285)]=Buffer['alloc'](0x4)),this[_0x1311a4(0x1d9)]=_0x194f83,this[_0x1311a4(0x2fd)]=!0x0,this[_0x1311a4(0x228)]=!0x1,this[_0x1311a4(0x1af)]=0x0,this['_queue']=[],this[_0x1311a4(0x1d2)]=_0x27d74f,this[_0x1311a4(0x2dc)]=_0x1fba2f,this[_0x52b4e7]=void 0x0;}static[_0x3dbaa6(0x28e)](_0x56b690,_0x111140){const _0x5acf88=_0x3dbaa6;let _0x1e7244,_0x517c8d=!0x1,_0x288f61=0x2,_0x1b357e=!0x1;_0x111140[_0x5acf88(0x1b5)]&&(_0x1e7244=_0x111140[_0x5acf88(0x260)]||_0x124b8e,_0x111140[_0x5acf88(0x21d)]?_0x111140[_0x5acf88(0x21d)](_0x1e7244):(_0x3fa78d===_0x4865aa&&(_0x576f70===void 0x0&&(_0x576f70=Buffer[_0x5acf88(0x219)](_0x4865aa)),_0x15ba72(_0x576f70,0x0,_0x4865aa),_0x3fa78d=0x0),_0x1e7244[0x0]=_0x576f70[_0x3fa78d++],_0x1e7244[0x1]=_0x576f70[_0x3fa78d++],_0x1e7244[0x2]=_0x576f70[_0x3fa78d++],_0x1e7244[0x3]=_0x576f70[_0x3fa78d++]),_0x1b357e=(_0x1e7244[0x0]|_0x1e7244[0x1]|_0x1e7244[0x2]|_0x1e7244[0x3])===0x0,_0x288f61=0x6);let _0x9441e0;typeof _0x56b690==_0x5acf88(0x2e9)?(!_0x111140[_0x5acf88(0x1b5)]||_0x1b357e)&&_0x111140[_0xc1cea4]!==void 0x0?_0x9441e0=_0x111140[_0xc1cea4]:(_0x56b690=Buffer[_0x5acf88(0x18f)](_0x56b690),_0x9441e0=_0x56b690[_0x5acf88(0x1fd)]):(_0x9441e0=_0x56b690[_0x5acf88(0x1fd)],_0x517c8d=_0x111140[_0x5acf88(0x1b5)]&&_0x111140[_0x5acf88(0x198)]&&!_0x1b357e);let _0x2e497a=_0x9441e0;_0x9441e0>=0x10000?(_0x288f61+=0x8,_0x2e497a=0x7f):_0x9441e0>0x7d&&(_0x288f61+=0x2,_0x2e497a=0x7e);const _0x14e75f=Buffer['allocUnsafe'](_0x517c8d?_0x9441e0+_0x288f61:_0x288f61);return _0x14e75f[0x0]=_0x111140[_0x5acf88(0x16d)]?_0x111140[_0x5acf88(0x28f)]|0x80:_0x111140[_0x5acf88(0x28f)],_0x111140[_0x5acf88(0x1fb)]&&(_0x14e75f[0x0]|=0x40),_0x14e75f[0x1]=_0x2e497a,_0x2e497a===0x7e?_0x14e75f[_0x5acf88(0x2c7)](_0x9441e0,0x2):_0x2e497a===0x7f&&(_0x14e75f[0x2]=_0x14e75f[0x3]=0x0,_0x14e75f[_0x5acf88(0x2a8)](_0x9441e0,0x4,0x6)),_0x111140[_0x5acf88(0x1b5)]?(_0x14e75f[0x1]|=0x80,_0x14e75f[_0x288f61-0x4]=_0x1e7244[0x0],_0x14e75f[_0x288f61-0x3]=_0x1e7244[0x1],_0x14e75f[_0x288f61-0x2]=_0x1e7244[0x2],_0x14e75f[_0x288f61-0x1]=_0x1e7244[0x3],_0x1b357e?[_0x14e75f,_0x56b690]:_0x517c8d?(_0x3a7cb9(_0x56b690,_0x1e7244,_0x14e75f,_0x288f61,_0x9441e0),[_0x14e75f]):(_0x3a7cb9(_0x56b690,_0x1e7244,_0x56b690,0x0,_0x9441e0),[_0x14e75f,_0x56b690])):[_0x14e75f,_0x56b690];}[_0x3dbaa6(0x19e)](_0x2f629c,_0x20ef9a,_0x1bcec3,_0x3550f1){const _0x13230e=_0x3dbaa6;let _0x24ce91;if(_0x2f629c===void 0x0)_0x24ce91=_0x8d9c24;else{if(typeof _0x2f629c!=_0x13230e(0x232)||!_0x3258b1(_0x2f629c))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x20ef9a===void 0x0||!_0x20ef9a[_0x13230e(0x1fd)])_0x24ce91=Buffer['allocUnsafe'](0x2),_0x24ce91['writeUInt16BE'](_0x2f629c,0x0);else{const _0x5588b2=Buffer[_0x13230e(0x2b6)](_0x20ef9a);if(_0x5588b2>0x7b)throw new RangeError(_0x13230e(0x238));_0x24ce91=Buffer['allocUnsafe'](0x2+_0x5588b2),_0x24ce91[_0x13230e(0x2c7)](_0x2f629c,0x0),typeof _0x20ef9a==_0x13230e(0x2e9)?_0x24ce91[_0x13230e(0x1f2)](_0x20ef9a,0x2):_0x24ce91[_0x13230e(0x2f4)](_0x20ef9a,0x2);}}const _0x5a7ba0={[_0xc1cea4]:_0x24ce91[_0x13230e(0x1fd)],'fin':!0x0,'generateMask':this[_0x13230e(0x17e)],'mask':_0x1bcec3,'maskBuffer':this[_0x13230e(0x285)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x13230e(0x1d2)]!==_0x27d74f?this[_0x13230e(0x315)]([this[_0x13230e(0x2f9)],_0x24ce91,!0x1,_0x5a7ba0,_0x3550f1]):this[_0x13230e(0x256)](_0x100833[_0x13230e(0x28e)](_0x24ce91,_0x5a7ba0),_0x3550f1);}[_0x3dbaa6(0x29f)](_0x4bcf95,_0x28c39f,_0x3d49cc){const _0x2caae9=_0x3dbaa6;let _0x48c595,_0x9d1bac;if(typeof _0x4bcf95==_0x2caae9(0x2e9)?(_0x48c595=Buffer[_0x2caae9(0x2b6)](_0x4bcf95),_0x9d1bac=!0x1):_0xaf8bc0(_0x4bcf95)?(_0x48c595=_0x4bcf95[_0x2caae9(0x214)],_0x9d1bac=!0x1):(_0x4bcf95=_0x2dac33(_0x4bcf95),_0x48c595=_0x4bcf95['length'],_0x9d1bac=_0x2dac33[_0x2caae9(0x198)]),_0x48c595>0x7d)throw new RangeError(_0x2caae9(0x265));const _0x3da577={[_0xc1cea4]:_0x48c595,'fin':!0x0,'generateMask':this[_0x2caae9(0x17e)],'mask':_0x28c39f,'maskBuffer':this[_0x2caae9(0x285)],'opcode':0x9,'readOnly':_0x9d1bac,'rsv1':!0x1};_0xaf8bc0(_0x4bcf95)?this[_0x2caae9(0x1d2)]!==_0x27d74f?this[_0x2caae9(0x315)]([this[_0x2caae9(0x24e)],_0x4bcf95,!0x1,_0x3da577,_0x3d49cc]):this[_0x2caae9(0x24e)](_0x4bcf95,!0x1,_0x3da577,_0x3d49cc):this[_0x2caae9(0x1d2)]!==_0x27d74f?this[_0x2caae9(0x315)]([this['dispatch'],_0x4bcf95,!0x1,_0x3da577,_0x3d49cc]):this[_0x2caae9(0x256)](_0x100833[_0x2caae9(0x28e)](_0x4bcf95,_0x3da577),_0x3d49cc);}[_0x3dbaa6(0x21c)](_0x3da25c,_0x359382,_0x452624){const _0x55d543=_0x3dbaa6;let _0x19ea1b,_0x283d8b;if(typeof _0x3da25c==_0x55d543(0x2e9)?(_0x19ea1b=Buffer[_0x55d543(0x2b6)](_0x3da25c),_0x283d8b=!0x1):_0xaf8bc0(_0x3da25c)?(_0x19ea1b=_0x3da25c[_0x55d543(0x214)],_0x283d8b=!0x1):(_0x3da25c=_0x2dac33(_0x3da25c),_0x19ea1b=_0x3da25c[_0x55d543(0x1fd)],_0x283d8b=_0x2dac33[_0x55d543(0x198)]),_0x19ea1b>0x7d)throw new RangeError(_0x55d543(0x265));const _0x55176a={[_0xc1cea4]:_0x19ea1b,'fin':!0x0,'generateMask':this[_0x55d543(0x17e)],'mask':_0x359382,'maskBuffer':this[_0x55d543(0x285)],'opcode':0xa,'readOnly':_0x283d8b,'rsv1':!0x1};_0xaf8bc0(_0x3da25c)?this[_0x55d543(0x1d2)]!==_0x27d74f?this[_0x55d543(0x315)]([this[_0x55d543(0x24e)],_0x3da25c,!0x1,_0x55176a,_0x452624]):this[_0x55d543(0x24e)](_0x3da25c,!0x1,_0x55176a,_0x452624):this['_state']!==_0x27d74f?this[_0x55d543(0x315)]([this[_0x55d543(0x2f9)],_0x3da25c,!0x1,_0x55176a,_0x452624]):this['sendFrame'](_0x100833[_0x55d543(0x28e)](_0x3da25c,_0x55176a),_0x452624);}[_0x3dbaa6(0x19f)](_0x53f40d,_0x5ac437,_0x59f188){const _0x330b18=_0x3dbaa6,_0xd9e913=this[_0x330b18(0x1ff)][_0x58c94c[_0x330b18(0x294)]];let _0x24cb9e=_0x5ac437[_0x330b18(0x1ab)]?0x2:0x1,_0x4ca494=_0x5ac437[_0x330b18(0x2cb)],_0x5c401c,_0x998d55;typeof _0x53f40d==_0x330b18(0x2e9)?(_0x5c401c=Buffer[_0x330b18(0x2b6)](_0x53f40d),_0x998d55=!0x1):_0xaf8bc0(_0x53f40d)?(_0x5c401c=_0x53f40d[_0x330b18(0x214)],_0x998d55=!0x1):(_0x53f40d=_0x2dac33(_0x53f40d),_0x5c401c=_0x53f40d[_0x330b18(0x1fd)],_0x998d55=_0x2dac33[_0x330b18(0x198)]),this[_0x330b18(0x2fd)]?(this['_firstFragment']=!0x1,_0x4ca494&&_0xd9e913&&_0xd9e913['params'][_0xd9e913[_0x330b18(0x29d)]?_0x330b18(0x1a8):'client_no_context_takeover']&&(_0x4ca494=_0x5c401c>=_0xd9e913['_threshold']),this['_compress']=_0x4ca494):(_0x4ca494=!0x1,_0x24cb9e=0x0),_0x5ac437[_0x330b18(0x16d)]&&(this['_firstFragment']=!0x0);const _0x17aa14={[_0xc1cea4]:_0x5c401c,'fin':_0x5ac437['fin'],'generateMask':this[_0x330b18(0x17e)],'mask':_0x5ac437[_0x330b18(0x1b5)],'maskBuffer':this[_0x330b18(0x285)],'opcode':_0x24cb9e,'readOnly':_0x998d55,'rsv1':_0x4ca494};_0xaf8bc0(_0x53f40d)?this[_0x330b18(0x1d2)]!==_0x27d74f?this[_0x330b18(0x315)]([this[_0x330b18(0x24e)],_0x53f40d,this[_0x330b18(0x228)],_0x17aa14,_0x59f188]):this[_0x330b18(0x24e)](_0x53f40d,this[_0x330b18(0x228)],_0x17aa14,_0x59f188):this[_0x330b18(0x1d2)]!==_0x27d74f?this[_0x330b18(0x315)]([this[_0x330b18(0x2f9)],_0x53f40d,this[_0x330b18(0x228)],_0x17aa14,_0x59f188]):this['dispatch'](_0x53f40d,this[_0x330b18(0x228)],_0x17aa14,_0x59f188);}[_0x3dbaa6(0x24e)](_0x3e5f10,_0x29084f,_0xd9f13f,_0x4b89c1){const _0x575dee=_0x3dbaa6;this[_0x575dee(0x1af)]+=_0xd9f13f[_0xc1cea4],this[_0x575dee(0x1d2)]=_0x2695a8,_0x3e5f10['arrayBuffer']()[_0x575dee(0x1ac)](_0x1f478f=>{const _0x17dcbe=_0x575dee;if(this[_0x17dcbe(0x1d9)][_0x17dcbe(0x1ec)]){const _0x26ce26=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x17dcbe(0x2ea)](_0x29ab10,this,_0x26ce26,_0x4b89c1);return;}this['_bufferedBytes']-=_0xd9f13f[_0xc1cea4];const _0x257463=_0x2dac33(_0x1f478f);_0x29084f?this['dispatch'](_0x257463,_0x29084f,_0xd9f13f,_0x4b89c1):(this['_state']=_0x27d74f,this[_0x17dcbe(0x256)](_0x100833[_0x17dcbe(0x28e)](_0x257463,_0xd9f13f),_0x4b89c1),this['dequeue']());})['catch'](_0x1933a7=>{const _0x15b7a8=_0x575dee;process[_0x15b7a8(0x2ea)](_0x136747,this,_0x1933a7,_0x4b89c1);});}['dispatch'](_0x3ef8ae,_0x5e1bb6,_0xc8c950,_0x227d6d){const _0xa250a8=_0x3dbaa6;if(!_0x5e1bb6){this[_0xa250a8(0x256)](_0x100833[_0xa250a8(0x28e)](_0x3ef8ae,_0xc8c950),_0x227d6d);return;}const _0x3bf2c4=this[_0xa250a8(0x1ff)][_0x58c94c[_0xa250a8(0x294)]];this['_bufferedBytes']+=_0xc8c950[_0xc1cea4],this[_0xa250a8(0x1d2)]=_0x5d4bca,_0x3bf2c4[_0xa250a8(0x2cb)](_0x3ef8ae,_0xc8c950['fin'],(_0x29fe41,_0x5cd360)=>{const _0x5178a1=_0xa250a8;if(this[_0x5178a1(0x1d9)][_0x5178a1(0x1ec)]){const _0x3c628a=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x29ab10(this,_0x3c628a,_0x227d6d);return;}this[_0x5178a1(0x1af)]-=_0xc8c950[_0xc1cea4],this['_state']=_0x27d74f,_0xc8c950[_0x5178a1(0x198)]=!0x1,this[_0x5178a1(0x256)](_0x100833[_0x5178a1(0x28e)](_0x5cd360,_0xc8c950),_0x227d6d),this['dequeue']();});}[_0x3dbaa6(0x184)](){const _0x55de91=_0x3dbaa6;for(;this['_state']===_0x27d74f&&this[_0x55de91(0x15f)]['length'];){const _0x3590d8=this['_queue'][_0x55de91(0x27b)]();this[_0x55de91(0x1af)]-=_0x3590d8[0x3][_0xc1cea4],Reflect[_0x55de91(0x305)](_0x3590d8[0x0],this,_0x3590d8[_0x55de91(0x2d0)](0x1));}}[_0x3dbaa6(0x315)](_0x113456){const _0x3e7de9=_0x3dbaa6;this['_bufferedBytes']+=_0x113456[0x3][_0xc1cea4],this[_0x3e7de9(0x15f)][_0x3e7de9(0x30f)](_0x113456);}[_0x3dbaa6(0x256)](_0x1c99a0,_0x24ca77){const _0x3e746f=_0x3dbaa6;_0x1c99a0[_0x3e746f(0x1fd)]===0x2?(this[_0x3e746f(0x1d9)][_0x3e746f(0x1fe)](),this['_socket'][_0x3e746f(0x1f2)](_0x1c99a0[0x0]),this[_0x3e746f(0x1d9)][_0x3e746f(0x1f2)](_0x1c99a0[0x1],_0x24ca77),this['_socket'][_0x3e746f(0x2f8)]()):this[_0x3e746f(0x1d9)][_0x3e746f(0x1f2)](_0x1c99a0[0x0],_0x24ca77);}}Ee=_0x100833;function _0x29ab10(_0x26b877,_0xf08f13,_0x3bf0a1){const _0x49ccb8=_0x3dbaa6;typeof _0x3bf0a1==_0x49ccb8(0x2b3)&&_0x3bf0a1(_0xf08f13);for(let _0x4ec900=0x0;_0x4ec900<_0x26b877['_queue']['length'];_0x4ec900++){const _0x2cb13d=_0x26b877[_0x49ccb8(0x15f)][_0x4ec900],_0x1dd995=_0x2cb13d[_0x2cb13d[_0x49ccb8(0x1fd)]-0x1];typeof _0x1dd995=='function'&&_0x1dd995(_0xf08f13);}}function _0x136747(_0x42dae0,_0x57206f,_0x28cc2d){const _0x3e2f73=_0x3dbaa6;_0x29ab10(_0x42dae0,_0x57206f,_0x28cc2d),_0x42dae0[_0x3e2f73(0x2dc)](_0x57206f);}return Ee;}var xe,tt;function Kt(){const _0xe384c6=_0x56f2cd;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x3366d5,kListener:_0x3b8ef6}=V(),_0x126c1e=Symbol(_0xe384c6(0x2aa)),_0x4bfc28=Symbol(_0xe384c6(0x2f2)),_0x293c2f=Symbol('kError'),_0x5335db=Symbol(_0xe384c6(0x160)),_0x3c78ae=Symbol(_0xe384c6(0x21f)),_0x11be9c=Symbol(_0xe384c6(0x1c6)),_0x342751=Symbol(_0xe384c6(0x2e2)),_0x47f2df=Symbol(_0xe384c6(0x313));class _0x596efe{constructor(_0x3eb26d){this[_0x11be9c]=null,this[_0x342751]=_0x3eb26d;}get[_0xe384c6(0x2e1)](){return this[_0x11be9c];}get[_0xe384c6(0x1c3)](){return this[_0x342751];}}Object[_0xe384c6(0x317)](_0x596efe[_0xe384c6(0x23d)],_0xe384c6(0x2e1),{'enumerable':!0x0}),Object['defineProperty'](_0x596efe[_0xe384c6(0x23d)],_0xe384c6(0x1c3),{'enumerable':!0x0});class _0x4fb8e4 extends _0x596efe{constructor(_0x2ecc44,_0x140646={}){const _0x58441b=_0xe384c6;super(_0x2ecc44),this[_0x126c1e]=_0x140646['code']===void 0x0?0x0:_0x140646['code'],this[_0x3c78ae]=_0x140646['reason']===void 0x0?'':_0x140646[_0x58441b(0x2ba)],this[_0x47f2df]=_0x140646[_0x58441b(0x1d1)]===void 0x0?!0x1:_0x140646[_0x58441b(0x1d1)];}get[_0xe384c6(0x192)](){return this[_0x126c1e];}get['reason'](){return this[_0x3c78ae];}get['wasClean'](){return this[_0x47f2df];}}Object[_0xe384c6(0x317)](_0x4fb8e4[_0xe384c6(0x23d)],'code',{'enumerable':!0x0}),Object[_0xe384c6(0x317)](_0x4fb8e4[_0xe384c6(0x23d)],_0xe384c6(0x2ba),{'enumerable':!0x0}),Object[_0xe384c6(0x317)](_0x4fb8e4[_0xe384c6(0x23d)],_0xe384c6(0x1d1),{'enumerable':!0x0});class _0x242496 extends _0x596efe{constructor(_0x2abe45,_0x49f097={}){const _0x4c4407=_0xe384c6;super(_0x2abe45),this[_0x293c2f]=_0x49f097[_0x4c4407(0x267)]===void 0x0?null:_0x49f097[_0x4c4407(0x267)],this[_0x5335db]=_0x49f097[_0x4c4407(0x2b7)]===void 0x0?'':_0x49f097[_0x4c4407(0x2b7)];}get[_0xe384c6(0x267)](){return this[_0x293c2f];}get[_0xe384c6(0x2b7)](){return this[_0x5335db];}}Object[_0xe384c6(0x317)](_0x242496[_0xe384c6(0x23d)],_0xe384c6(0x267),{'enumerable':!0x0}),Object[_0xe384c6(0x317)](_0x242496[_0xe384c6(0x23d)],'message',{'enumerable':!0x0});class _0x544d00 extends _0x596efe{constructor(_0x2c4534,_0x249654={}){const _0x51b310=_0xe384c6;super(_0x2c4534),this[_0x4bfc28]=_0x249654[_0x51b310(0x279)]===void 0x0?null:_0x249654[_0x51b310(0x279)];}get[_0xe384c6(0x279)](){return this[_0x4bfc28];}}Object[_0xe384c6(0x317)](_0x544d00[_0xe384c6(0x23d)],_0xe384c6(0x279),{'enumerable':!0x0}),xe={'CloseEvent':_0x4fb8e4,'ErrorEvent':_0x242496,'Event':_0x596efe,'EventTarget':{'addEventListener'(_0x822539,_0xe0e702,_0x443e34={}){const _0x5f1e7f=_0xe384c6;for(const _0x3160a5 of this['listeners'](_0x822539))if(!_0x443e34[_0x3366d5]&&_0x3160a5[_0x3b8ef6]===_0xe0e702&&!_0x3160a5[_0x3366d5])return;let _0x44cb70;if(_0x822539===_0x5f1e7f(0x2b7))_0x44cb70=function(_0xa6d908,_0x2bc167){const _0x34d690=_0x5f1e7f,_0x1709f9=new _0x544d00('message',{'data':_0x2bc167?_0xa6d908:_0xa6d908[_0x34d690(0x17b)]()});_0x1709f9[_0x11be9c]=this,_0x8672b1(_0xe0e702,this,_0x1709f9);};else{if(_0x822539===_0x5f1e7f(0x19e))_0x44cb70=function(_0x11ecff,_0x1be5cb){const _0x137e3b=_0x5f1e7f,_0x16aa38=new _0x4fb8e4(_0x137e3b(0x19e),{'code':_0x11ecff,'reason':_0x1be5cb['toString'](),'wasClean':this[_0x137e3b(0x16e)]&&this[_0x137e3b(0x189)]});_0x16aa38[_0x11be9c]=this,_0x8672b1(_0xe0e702,this,_0x16aa38);};else{if(_0x822539===_0x5f1e7f(0x267))_0x44cb70=function(_0x14a7f0){const _0x39f5b2=_0x5f1e7f,_0x48ac32=new _0x242496(_0x39f5b2(0x267),{'error':_0x14a7f0,'message':_0x14a7f0[_0x39f5b2(0x2b7)]});_0x48ac32[_0x11be9c]=this,_0x8672b1(_0xe0e702,this,_0x48ac32);};else{if(_0x822539===_0x5f1e7f(0x27c))_0x44cb70=function(){const _0x5a59d6=_0x5f1e7f,_0x440f82=new _0x596efe(_0x5a59d6(0x27c));_0x440f82[_0x11be9c]=this,_0x8672b1(_0xe0e702,this,_0x440f82);};else return;}}}_0x44cb70[_0x3366d5]=!!_0x443e34[_0x3366d5],_0x44cb70[_0x3b8ef6]=_0xe0e702,_0x443e34[_0x5f1e7f(0x2df)]?this[_0x5f1e7f(0x2df)](_0x822539,_0x44cb70):this['on'](_0x822539,_0x44cb70);},'removeEventListener'(_0xaf940c,_0x10a362){const _0x5af064=_0xe384c6;for(const _0x1a6d3a of this['listeners'](_0xaf940c))if(_0x1a6d3a[_0x3b8ef6]===_0x10a362&&!_0x1a6d3a[_0x3366d5]){this[_0x5af064(0x2fa)](_0xaf940c,_0x1a6d3a);break;}}},'MessageEvent':_0x544d00};function _0x8672b1(_0x1dedcf,_0x36a38b,_0x18520a){const _0x25a338=_0xe384c6;typeof _0x1dedcf==_0x25a338(0x19d)&&_0x1dedcf[_0x25a338(0x239)]?_0x1dedcf[_0x25a338(0x239)]['call'](_0x1dedcf,_0x18520a):_0x1dedcf[_0x25a338(0x195)](_0x36a38b,_0x18520a);}return xe;}function _0x383f(_0x274ad9,_0x3d519f){const _0x453f8a=_0x453f();return _0x383f=function(_0x383fa2,_0x579d09){_0x383fa2=_0x383fa2-0x15f;let _0x387383=_0x453f8a[_0x383fa2];return _0x387383;},_0x383f(_0x274ad9,_0x3d519f);}function _0x453f(){const _0x502c0a=['Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','Connection:\x20Upgrade','clientMaxWindowBits','test','WS_ERR_UNEXPECTED_RSV_2_3','buffer','serverNoContextTakeover','onopen','zlibDeflateOptions','Invalid\x20Sec-WebSocket-Extensions\x20header','startLoop','finishRequest','abort','conclude','allowSynchronousEvents','size','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','kRun','createInflateRaw','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','alloc','createDeflateRaw','WS_ERR_UNEXPECTED_MASK','pong','generateMask','_redirects','kReason','pathname','_no_context_takeover','zlibInflateOptions','connect','https:','customHeaders','WebSocket\x20is\x20not\x20open:\x20readyState\x20','_allowSynchronousEvents','_compress','find','ws:','startsWith','decompress','toStringTag','Parameter\x20\x22','client','value','MASK\x20must\x20be\x20set','number','timeout','getOwnPropertyDescriptor','concurrency','readyState','response','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','handleEvent','_maxPayload','_compressed','getMask','prototype','kByteLength','_url','_destroy','sec-websocket-origin','maxRedirects','clients','next','_fragmented','isPaused','writeHead','createSocket','endEmitted','create','pause','map','CLOSING','getBlobData','Unsupported\x20protocol\x20version:\x20','_writableState','websocket','default','defaultPort','Z_SYNC_FLUSH','HTTP/1.1\x20','sendFrame','sec-websocket-accept','readUInt16BE','collaboration-client-node.config','callback','7272yTcwKe','noServer','_masked','Invalid\x20Upgrade\x20header','setConfig','maskBuffer','_write','_readyState','Opening\x20handshake\x20has\x20timed\x20out','location','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','end','error','568aakiId','acceptAsServer','invalid\x20status\x20code\x20','dispose','getPayloadLength16','upgrade','WS_ERR_INVALID_UTF8','The\x20URL\x27s\x20pathname\x20is\x20empty','Invalid\x20URL:\x20','followRedirects','WS_ERR_EXPECTED_FIN','The\x20server\x20is\x20not\x20running','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','acceptAsClient','_deflate','exports','hostname','data','WS_NO_UTF_8_VALIDATE','shift','open','parse','address','binaryType','Sec-WebSocket-Extensions:\x20','WS_ERR_INVALID_OPCODE','socket','perMessageDeflate','includes','_maskBuffer','read','71226mMdXxW','emit','_errorEmitted','isView','_httpService','clientNoContextTakeover','Z_DEFAULT_WINDOWBITS','frame','opcode','bufferedAmount','HTTP/1.1\x20101\x20Switching\x20Protocols','server_max_window_bits','request','extensionName','setNoDelay','52075TadqYQ','_autoPong','_binaryType','sec-websocket-extensions','createConnection','warn','host','_isServer','concurrencyLimit','ping','_opcode','Origin','jobs','auth','getInfo','_max_window_bits','format','split','writeUIntBE','text/html','kCode','writable','Max\x20payload\x20size\x20exceeded','serverMaxWindowBits','42850zSuksb','Server\x20sent\x20an\x20invalid\x20subprotocol','132pgYyho','servername','resume','function','terminate','onmessage','byteLength','message','The\x20\x22','readUInt32BE','reason','_skipUTF8Validation','_configService','normalizeParams','buffers','params','forEach','_fin','_loop','_inflate','GET','_protocol','381468TpPljP','writeUInt16BE','MASK\x20must\x20be\x20clear','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','invalid\x20opcode\x20','compress','redirect','statusCode','_shouldEmitClose','Invalid\x20value\x20for\x20parameter\x20\x22','slice','\x0d\x0a\x0d\x0a','_originalSecure','destroy','onclose','_bufferedAmount','join','concat','handleProtocols','invalid\x20payload\x20length\x20','clientTracking','autoPong','onerror','\x22\x20subprotocol\x20is\x20duplicated','_buffers','once','maxPayload','target','kType','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','removeEventListener','19628JlOjzc','emitClose','_payloadLength','errorEmitted','string','nextTick','_originalHostOrSocketPath','entries','Sec-WebSocket-Protocol:\x20','_threshold','reset','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','pipe','kData','server','set','bind','WS_ERR_UNEXPECTED_RSV_1','pending','uncork','dispatch','removeListener','_mask','setTimeout','_firstFragment','freeze','Sec-WebSocket-Accept:\x20','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','dataMessage','Sec-WebSocket-Protocol','authorization','setHeader','apply','Unknown\x20parameter\x20\x22','username','unshift','getData','listeners','sec-websocket-version','isBuffer','createError','_closeTimer','push','pluginName','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','text/plain','kWasClean','__esModule','enqueue','_doCreateSocket','defineProperty','_registerDependencies','_queue','kMessage','backlog','Module','addEventListener','finish','unmask','Upgrade:\x20websocket','_decompress','port','CONNECTING','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','isArray','finished','fin','_closeFrameReceived','flush','controlMessage','_receiver','constructor','createServer','completeUpgrade','_closeCode','password','The\x20URL\x20contains\x20a\x20fragment\x20identifier','Basic\x20','env','_readableState','toString','drain','kIsForOnEventAttribute','_generateMask','handshakeTimeout','\x20(supported\x20versions:\x20','Unexpected\x20character\x20at\x20index\x20','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','toLowerCase','dequeue','\x22:\x20','_server','extensions','protocolVersion','_closeFrameSent','consume','300strCTf','_closeMessage','fragments','_req','from','readable','allocUnsafe','code','digest','CLOSED','call','getPayloadLength64','kDone','readOnly','invalid\x20UTF-8\x20sequence','Unexpected\x20end\x20of\x20input','OPEN','byteOffset','object','close','send','_fragments','status-code','verifyClient','_removeListeners','headers','total-length','sec-websocket-key','cleanup','server_no_context_takeover','nodebuffer','blob','binary','then','shouldHandle','replace','_bufferedBytes','skipUTF8Validation','_paused','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','_errored','options','mask','socketPath','cookie','RSV1\x20must\x20be\x20clear','handleUpgrade','threshold','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','_totalPayloadLength','has','add','_sender','isValidUTF8','encrypted','4103cSmcFl','type','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','hasOwnProperty','kTarget','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','554104tIYnlI','update','STATUS_CODES','charCodeAt','haveLength','client_no_context_takeover','offer','client_max_window_bits','isInteger','wasClean','_state','WebSocket','species','FIN\x20must\x20be\x20set','_final','hash','origin','_socket','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','captureStackTrace','base64','search','_injector','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','setSocket','wss:','indexOf','4OpxZQo','protocol','_originalIpc','getConfig','_messageLength','sec-websocket-protocol','accept','wsClientError','listenerCount','destroyed','Sec-WebSocket-Extensions','path','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','Maximum\x20redirects\x20exceeded','Invalid\x20Sec-WebSocket-Accept\x20header','write','_options','href','onStarting','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','url','delete','listen','_read','rsv1','needDrain','length','cork','_extensions','keys','invalid\x20opcode\x200','pow','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','sha1'];_0x453f=function(){return _0x502c0a;};return _0x453f();}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x3add4d}=ne();function _0x47cdc4(_0xa26856,_0x2f07d3,_0x57b4ca){const _0x2d5be2=_0x383f;_0xa26856[_0x2f07d3]===void 0x0?_0xa26856[_0x2f07d3]=[_0x57b4ca]:_0xa26856[_0x2f07d3][_0x2d5be2(0x30f)](_0x57b4ca);}function _0x32ba4d(_0x222a97){const _0x16fea7=_0x383f,_0x1bf3ae=Object[_0x16fea7(0x24a)](null);let _0x301e54=Object[_0x16fea7(0x24a)](null),_0x16453c=!0x1,_0x435b34=!0x1,_0x5406af=!0x1,_0x4b3b25,_0x20dbc5,_0x22d141=-0x1,_0x254092=-0x1,_0x48234c=-0x1,_0x12d97c=0x0;for(;_0x12d97c<_0x222a97[_0x16fea7(0x1fd)];_0x12d97c++)if(_0x254092=_0x222a97[_0x16fea7(0x1cb)](_0x12d97c),_0x4b3b25===void 0x0){if(_0x48234c===-0x1&&_0x3add4d[_0x254092]===0x1)_0x22d141===-0x1&&(_0x22d141=_0x12d97c);else{if(_0x12d97c!==0x0&&(_0x254092===0x20||_0x254092===0x9))_0x48234c===-0x1&&_0x22d141!==-0x1&&(_0x48234c=_0x12d97c);else{if(_0x254092===0x3b||_0x254092===0x2c){if(_0x22d141===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x12d97c);_0x48234c===-0x1&&(_0x48234c=_0x12d97c);const _0x48e0a0=_0x222a97['slice'](_0x22d141,_0x48234c);_0x254092===0x2c?(_0x47cdc4(_0x1bf3ae,_0x48e0a0,_0x301e54),_0x301e54=Object['create'](null)):_0x4b3b25=_0x48e0a0,_0x22d141=_0x48234c=-0x1;}else throw new SyntaxError(_0x16fea7(0x181)+_0x12d97c);}}}else{if(_0x20dbc5===void 0x0){if(_0x48234c===-0x1&&_0x3add4d[_0x254092]===0x1)_0x22d141===-0x1&&(_0x22d141=_0x12d97c);else{if(_0x254092===0x20||_0x254092===0x9)_0x48234c===-0x1&&_0x22d141!==-0x1&&(_0x48234c=_0x12d97c);else{if(_0x254092===0x3b||_0x254092===0x2c){if(_0x22d141===-0x1)throw new SyntaxError(_0x16fea7(0x181)+_0x12d97c);_0x48234c===-0x1&&(_0x48234c=_0x12d97c),_0x47cdc4(_0x301e54,_0x222a97[_0x16fea7(0x2d0)](_0x22d141,_0x48234c),!0x0),_0x254092===0x2c&&(_0x47cdc4(_0x1bf3ae,_0x4b3b25,_0x301e54),_0x301e54=Object['create'](null),_0x4b3b25=void 0x0),_0x22d141=_0x48234c=-0x1;}else{if(_0x254092===0x3d&&_0x22d141!==-0x1&&_0x48234c===-0x1)_0x20dbc5=_0x222a97[_0x16fea7(0x2d0)](_0x22d141,_0x12d97c),_0x22d141=_0x48234c=-0x1;else throw new SyntaxError(_0x16fea7(0x181)+_0x12d97c);}}}}else{if(_0x435b34){if(_0x3add4d[_0x254092]!==0x1)throw new SyntaxError(_0x16fea7(0x181)+_0x12d97c);_0x22d141===-0x1?_0x22d141=_0x12d97c:_0x16453c||(_0x16453c=!0x0),_0x435b34=!0x1;}else{if(_0x5406af){if(_0x3add4d[_0x254092]===0x1)_0x22d141===-0x1&&(_0x22d141=_0x12d97c);else{if(_0x254092===0x22&&_0x22d141!==-0x1)_0x5406af=!0x1,_0x48234c=_0x12d97c;else{if(_0x254092===0x5c)_0x435b34=!0x0;else throw new SyntaxError(_0x16fea7(0x181)+_0x12d97c);}}}else{if(_0x254092===0x22&&_0x222a97[_0x16fea7(0x1cb)](_0x12d97c-0x1)===0x3d)_0x5406af=!0x0;else{if(_0x48234c===-0x1&&_0x3add4d[_0x254092]===0x1)_0x22d141===-0x1&&(_0x22d141=_0x12d97c);else{if(_0x22d141!==-0x1&&(_0x254092===0x20||_0x254092===0x9))_0x48234c===-0x1&&(_0x48234c=_0x12d97c);else{if(_0x254092===0x3b||_0x254092===0x2c){if(_0x22d141===-0x1)throw new SyntaxError(_0x16fea7(0x181)+_0x12d97c);_0x48234c===-0x1&&(_0x48234c=_0x12d97c);let _0x1ad8c7=_0x222a97['slice'](_0x22d141,_0x48234c);_0x16453c&&(_0x1ad8c7=_0x1ad8c7['replace'](/\\/g,''),_0x16453c=!0x1),_0x47cdc4(_0x301e54,_0x20dbc5,_0x1ad8c7),_0x254092===0x2c&&(_0x47cdc4(_0x1bf3ae,_0x4b3b25,_0x301e54),_0x301e54=Object[_0x16fea7(0x24a)](null),_0x4b3b25=void 0x0),_0x20dbc5=void 0x0,_0x22d141=_0x48234c=-0x1;}else throw new SyntaxError(_0x16fea7(0x181)+_0x12d97c);}}}}}}}if(_0x22d141===-0x1||_0x5406af||_0x254092===0x20||_0x254092===0x9)throw new SyntaxError(_0x16fea7(0x19a));_0x48234c===-0x1&&(_0x48234c=_0x12d97c);const _0x55e2ff=_0x222a97[_0x16fea7(0x2d0)](_0x22d141,_0x48234c);return _0x4b3b25===void 0x0?_0x47cdc4(_0x1bf3ae,_0x55e2ff,_0x301e54):(_0x20dbc5===void 0x0?_0x47cdc4(_0x301e54,_0x55e2ff,!0x0):_0x16453c?_0x47cdc4(_0x301e54,_0x20dbc5,_0x55e2ff[_0x16fea7(0x1ae)](/\\/g,'')):_0x47cdc4(_0x301e54,_0x20dbc5,_0x55e2ff),_0x47cdc4(_0x1bf3ae,_0x4b3b25,_0x301e54)),_0x1bf3ae;}function _0x315150(_0x2b5743){const _0x2b209a=_0x383f;return Object['keys'](_0x2b5743)['map'](_0x351f54=>{const _0xa5850a=_0x383f;let _0x193539=_0x2b5743[_0x351f54];return Array[_0xa5850a(0x16b)](_0x193539)||(_0x193539=[_0x193539]),_0x193539[_0xa5850a(0x24c)](_0x3fd13d=>[_0x351f54]['concat'](Object[_0xa5850a(0x200)](_0x3fd13d)[_0xa5850a(0x24c)](_0x3cb029=>{const _0x233a0b=_0xa5850a;let _0x5098b5=_0x3fd13d[_0x3cb029];return Array[_0x233a0b(0x16b)](_0x5098b5)||(_0x5098b5=[_0x5098b5]),_0x5098b5[_0x233a0b(0x24c)](_0x12f3c3=>_0x12f3c3===!0x0?_0x3cb029:_0x3cb029+'='+_0x12f3c3)[_0x233a0b(0x2d6)](';\x20');}))['join'](';\x20'))['join'](',\x20');})[_0x2b209a(0x2d6)](',\x20');}return be={'format':_0x315150,'parse':_0x32ba4d},be;}var we,st;function Ie(){const _0x5d9224=_0x56f2cd;if(st)return we;st=0x1;const _0x5811f9=_0x3ebf13,_0x216257=_0xe112a1,_0x38a248=_0x48e811,_0x44ac85=_0x930566,_0x3503cf=_0x4f35d3,{randomBytes:_0x2cf428,createHash:_0x1b5c04}=_0x38ebd5,{Duplex:_0x48747b,Readable:_0x7c4994}=_0xe2dfc4,{URL:_0x1d446b}=_0x31131a,_0x232bc3=he(),_0x2644b6=dt(),_0x5d5a56=_t(),{isBlob:_0x19200b}=ne(),{BINARY_TYPES:_0x2e1527,EMPTY_BUFFER:_0x51db8c,GUID:_0x28eb97,kForOnEventAttribute:_0x2afb6a,kListener:_0x58bf06,kStatusCode:_0xd17d87,kWebSocket:_0x44694e,NOOP:_0x32a58e}=V(),{EventTarget:{addEventListener:_0x2c4cee,removeEventListener:_0x14a087}}=Kt(),{format:_0xedb9a1,parse:_0x43008a}=pt(),{toBuffer:_0x52ec50}=ce(),_0x33975e=0x1e*0x3e8,_0x1a5448=Symbol('kAborted'),_0xba4486=[0x8,0xd],_0x1fa45c=[_0x5d9224(0x169),_0x5d9224(0x19b),_0x5d9224(0x24d),'CLOSED'],_0xdae5de=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x76cc35 extends _0x5811f9{constructor(_0x45f7c5,_0x175266,_0xfa9a0e){const _0x1c362a=_0x5d9224;super(),this[_0x1c362a(0x298)]=_0x2e1527[0x0],this[_0x1c362a(0x175)]=0x3ee,this[_0x1c362a(0x16e)]=!0x1,this[_0x1c362a(0x189)]=!0x1,this[_0x1c362a(0x18c)]=_0x51db8c,this['_closeTimer']=null,this[_0x1c362a(0x289)]=!0x1,this[_0x1c362a(0x1ff)]={},this[_0x1c362a(0x1b1)]=!0x1,this['_protocol']='',this['_readyState']=_0x76cc35[_0x1c362a(0x169)],this[_0x1c362a(0x171)]=null,this[_0x1c362a(0x1bf)]=null,this[_0x1c362a(0x1d9)]=null,_0x45f7c5!==null?(this['_bufferedAmount']=0x0,this['_isServer']=!0x1,this[_0x1c362a(0x21e)]=0x0,_0x175266===void 0x0?_0x175266=[]:Array['isArray'](_0x175266)||(typeof _0x175266==_0x1c362a(0x19d)&&_0x175266!==null?(_0xfa9a0e=_0x175266,_0x175266=[]):_0x175266=[_0x175266]),_0x31cbb2(this,_0x45f7c5,_0x175266,_0xfa9a0e)):(this[_0x1c362a(0x297)]=_0xfa9a0e[_0x1c362a(0x2db)],this['_isServer']=!0x0);}get[_0x5d9224(0x27f)](){const _0x405697=_0x5d9224;return this[_0x405697(0x298)];}set[_0x5d9224(0x27f)](_0x24d206){const _0x5c5e19=_0x5d9224;_0x2e1527['includes'](_0x24d206)&&(this[_0x5c5e19(0x298)]=_0x24d206,this[_0x5c5e19(0x171)]&&(this[_0x5c5e19(0x171)][_0x5c5e19(0x298)]=_0x24d206));}get[_0x5d9224(0x290)](){const _0x5a52d5=_0x5d9224;return this[_0x5a52d5(0x1d9)]?this[_0x5a52d5(0x1d9)][_0x5a52d5(0x250)][_0x5a52d5(0x1fd)]+this[_0x5a52d5(0x1bf)][_0x5a52d5(0x1af)]:this[_0x5a52d5(0x2d5)];}get[_0x5d9224(0x187)](){const _0x18ecd6=_0x5d9224;return Object[_0x18ecd6(0x200)](this[_0x18ecd6(0x1ff)])['join']();}get[_0x5d9224(0x246)](){const _0x7b28f2=_0x5d9224;return this[_0x7b28f2(0x1b1)];}get[_0x5d9224(0x2d4)](){return null;}get[_0x5d9224(0x2dc)](){return null;}get[_0x5d9224(0x20c)](){return null;}get[_0x5d9224(0x2b5)](){return null;}get[_0x5d9224(0x1e4)](){return this['_protocol'];}get['readyState'](){const _0x5dca3c=_0x5d9224;return this[_0x5dca3c(0x262)];}get['url'](){const _0xe41d12=_0x5d9224;return this[_0xe41d12(0x23f)];}[_0x5d9224(0x1e0)](_0x359e43,_0x29ddc0,_0x5226f6){const _0x303df8=_0x5d9224,_0x20174c=new _0x2644b6({'allowSynchronousEvents':_0x5226f6[_0x303df8(0x213)],'binaryType':this[_0x303df8(0x27f)],'extensions':this['_extensions'],'isServer':this[_0x303df8(0x29d)],'maxPayload':_0x5226f6[_0x303df8(0x2e0)],'skipUTF8Validation':_0x5226f6[_0x303df8(0x1b0)]}),_0x221233=new _0x5d5a56(_0x359e43,this[_0x303df8(0x1ff)],_0x5226f6['generateMask']);this['_receiver']=_0x20174c,this[_0x303df8(0x1bf)]=_0x221233,this[_0x303df8(0x1d9)]=_0x359e43,_0x20174c[_0x44694e]=this,_0x221233[_0x44694e]=this,_0x359e43[_0x44694e]=this,_0x20174c['on'](_0x303df8(0x212),_0x3a9654),_0x20174c['on'](_0x303df8(0x17c),_0x146625),_0x20174c['on'](_0x303df8(0x267),_0x1cc6a8),_0x20174c['on']('message',_0x134023),_0x20174c['on'](_0x303df8(0x29f),_0x2fa90e),_0x20174c['on'](_0x303df8(0x21c),_0x4b5e24),_0x221233[_0x303df8(0x2dc)]=_0x49b57f,_0x359e43[_0x303df8(0x2fc)]&&_0x359e43['setTimeout'](0x0),_0x359e43[_0x303df8(0x295)]&&_0x359e43['setNoDelay'](),_0x29ddc0[_0x303df8(0x1fd)]>0x0&&_0x359e43[_0x303df8(0x308)](_0x29ddc0),_0x359e43['on']('close',_0x5bf409),_0x359e43['on'](_0x303df8(0x279),_0x23e0f8),_0x359e43['on'](_0x303df8(0x266),_0x2b961a),_0x359e43['on'](_0x303df8(0x267),_0xc9732d),this[_0x303df8(0x262)]=_0x76cc35[_0x303df8(0x19b)],this[_0x303df8(0x288)]('open');}[_0x5d9224(0x2e6)](){const _0x24641c=_0x5d9224;if(!this['_socket']){this['_readyState']=_0x76cc35[_0x24641c(0x194)],this[_0x24641c(0x288)](_0x24641c(0x19e),this[_0x24641c(0x175)],this['_closeMessage']);return;}this[_0x24641c(0x1ff)][_0x232bc3['extensionName']]&&this['_extensions'][_0x232bc3[_0x24641c(0x294)]][_0x24641c(0x1a7)](),this['_receiver']['removeAllListeners'](),this[_0x24641c(0x262)]=_0x76cc35[_0x24641c(0x194)],this['emit']('close',this[_0x24641c(0x175)],this[_0x24641c(0x18c)]);}['close'](_0x2ff63d,_0x14a890){const _0xd61d25=_0x5d9224;if(this['readyState']!==_0x76cc35[_0xd61d25(0x194)]){if(this[_0xd61d25(0x236)]===_0x76cc35[_0xd61d25(0x169)]){_0x2b1ddd(this,this[_0xd61d25(0x18e)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0xd61d25(0x236)]===_0x76cc35['CLOSING']){this[_0xd61d25(0x189)]&&(this['_closeFrameReceived']||this[_0xd61d25(0x171)][_0xd61d25(0x250)][_0xd61d25(0x2e8)])&&this[_0xd61d25(0x1d9)]['end']();return;}this[_0xd61d25(0x262)]=_0x76cc35[_0xd61d25(0x24d)],this[_0xd61d25(0x1bf)][_0xd61d25(0x19e)](_0x2ff63d,_0x14a890,!this[_0xd61d25(0x29d)],_0xbfc9ba=>{const _0xe05a8d=_0xd61d25;_0xbfc9ba||(this['_closeFrameSent']=!0x0,(this['_closeFrameReceived']||this['_receiver'][_0xe05a8d(0x250)]['errorEmitted'])&&this['_socket'][_0xe05a8d(0x266)]());}),_0x177e4b(this);}}[_0x5d9224(0x24b)](){const _0x468b03=_0x5d9224;this['readyState']===_0x76cc35['CONNECTING']||this['readyState']===_0x76cc35[_0x468b03(0x194)]||(this[_0x468b03(0x1b1)]=!0x0,this['_socket']['pause']());}[_0x5d9224(0x29f)](_0x3a0e8e,_0x5a9edb,_0x9d8d47){const _0x4a4afe=_0x5d9224;if(this[_0x4a4afe(0x236)]===_0x76cc35[_0x4a4afe(0x169)])throw new Error(_0x4a4afe(0x1bb));if(typeof _0x3a0e8e==_0x4a4afe(0x2b3)?(_0x9d8d47=_0x3a0e8e,_0x3a0e8e=_0x5a9edb=void 0x0):typeof _0x5a9edb==_0x4a4afe(0x2b3)&&(_0x9d8d47=_0x5a9edb,_0x5a9edb=void 0x0),typeof _0x3a0e8e==_0x4a4afe(0x232)&&(_0x3a0e8e=_0x3a0e8e[_0x4a4afe(0x17b)]()),this[_0x4a4afe(0x236)]!==_0x76cc35['OPEN']){_0x214bdc(this,_0x3a0e8e,_0x9d8d47);return;}_0x5a9edb===void 0x0&&(_0x5a9edb=!this[_0x4a4afe(0x29d)]),this[_0x4a4afe(0x1bf)]['ping'](_0x3a0e8e||_0x51db8c,_0x5a9edb,_0x9d8d47);}[_0x5d9224(0x21c)](_0x466ba7,_0x5a7d66,_0xfa4812){const _0x4b731a=_0x5d9224;if(this[_0x4b731a(0x236)]===_0x76cc35['CONNECTING'])throw new Error(_0x4b731a(0x1bb));if(typeof _0x466ba7==_0x4b731a(0x2b3)?(_0xfa4812=_0x466ba7,_0x466ba7=_0x5a7d66=void 0x0):typeof _0x5a7d66==_0x4b731a(0x2b3)&&(_0xfa4812=_0x5a7d66,_0x5a7d66=void 0x0),typeof _0x466ba7==_0x4b731a(0x232)&&(_0x466ba7=_0x466ba7[_0x4b731a(0x17b)]()),this[_0x4b731a(0x236)]!==_0x76cc35[_0x4b731a(0x19b)]){_0x214bdc(this,_0x466ba7,_0xfa4812);return;}_0x5a7d66===void 0x0&&(_0x5a7d66=!this[_0x4b731a(0x29d)]),this[_0x4b731a(0x1bf)][_0x4b731a(0x21c)](_0x466ba7||_0x51db8c,_0x5a7d66,_0xfa4812);}[_0x5d9224(0x2b2)](){const _0x45006f=_0x5d9224;this['readyState']===_0x76cc35[_0x45006f(0x169)]||this['readyState']===_0x76cc35[_0x45006f(0x194)]||(this[_0x45006f(0x1b1)]=!0x1,this[_0x45006f(0x171)][_0x45006f(0x250)][_0x45006f(0x1fc)]||this[_0x45006f(0x1d9)][_0x45006f(0x2b2)]());}[_0x5d9224(0x19f)](_0x1bb4b4,_0x322195,_0x28e8d1){const _0x87cf9f=_0x5d9224;if(this[_0x87cf9f(0x236)]===_0x76cc35[_0x87cf9f(0x169)])throw new Error(_0x87cf9f(0x1bb));if(typeof _0x322195==_0x87cf9f(0x2b3)&&(_0x28e8d1=_0x322195,_0x322195={}),typeof _0x1bb4b4==_0x87cf9f(0x232)&&(_0x1bb4b4=_0x1bb4b4[_0x87cf9f(0x17b)]()),this[_0x87cf9f(0x236)]!==_0x76cc35[_0x87cf9f(0x19b)]){_0x214bdc(this,_0x1bb4b4,_0x28e8d1);return;}const _0x43cf8a={'binary':typeof _0x1bb4b4!=_0x87cf9f(0x2e9),'mask':!this[_0x87cf9f(0x29d)],'compress':!0x0,'fin':!0x0,..._0x322195};this['_extensions'][_0x232bc3[_0x87cf9f(0x294)]]||(_0x43cf8a[_0x87cf9f(0x2cb)]=!0x1),this[_0x87cf9f(0x1bf)][_0x87cf9f(0x19f)](_0x1bb4b4||_0x51db8c,_0x43cf8a,_0x28e8d1);}[_0x5d9224(0x2b4)](){const _0x3a3796=_0x5d9224;if(this[_0x3a3796(0x236)]!==_0x76cc35[_0x3a3796(0x194)]){if(this[_0x3a3796(0x236)]===_0x76cc35[_0x3a3796(0x169)]){_0x2b1ddd(this,this[_0x3a3796(0x18e)],_0x3a3796(0x2f0));return;}this['_socket']&&(this['_readyState']=_0x76cc35[_0x3a3796(0x24d)],this['_socket'][_0x3a3796(0x2d3)]());}}}Object[_0x5d9224(0x317)](_0x76cc35,_0x5d9224(0x169),{'enumerable':!0x0,'value':_0x1fa45c['indexOf']('CONNECTING')}),Object['defineProperty'](_0x76cc35['prototype'],'CONNECTING',{'enumerable':!0x0,'value':_0x1fa45c[_0x5d9224(0x1e2)](_0x5d9224(0x169))}),Object['defineProperty'](_0x76cc35,_0x5d9224(0x19b),{'enumerable':!0x0,'value':_0x1fa45c[_0x5d9224(0x1e2)]('OPEN')}),Object['defineProperty'](_0x76cc35['prototype'],_0x5d9224(0x19b),{'enumerable':!0x0,'value':_0x1fa45c[_0x5d9224(0x1e2)](_0x5d9224(0x19b))}),Object[_0x5d9224(0x317)](_0x76cc35,_0x5d9224(0x24d),{'enumerable':!0x0,'value':_0x1fa45c[_0x5d9224(0x1e2)](_0x5d9224(0x24d))}),Object[_0x5d9224(0x317)](_0x76cc35['prototype'],'CLOSING',{'enumerable':!0x0,'value':_0x1fa45c[_0x5d9224(0x1e2)]('CLOSING')}),Object[_0x5d9224(0x317)](_0x76cc35,_0x5d9224(0x194),{'enumerable':!0x0,'value':_0x1fa45c[_0x5d9224(0x1e2)](_0x5d9224(0x194))}),Object[_0x5d9224(0x317)](_0x76cc35[_0x5d9224(0x23d)],'CLOSED',{'enumerable':!0x0,'value':_0x1fa45c['indexOf'](_0x5d9224(0x194))}),[_0x5d9224(0x27f),_0x5d9224(0x290),'extensions',_0x5d9224(0x246),_0x5d9224(0x1e4),_0x5d9224(0x236),_0x5d9224(0x1f7)][_0x5d9224(0x2c0)](_0x557e14=>{const _0x32af05=_0x5d9224;Object['defineProperty'](_0x76cc35[_0x32af05(0x23d)],_0x557e14,{'enumerable':!0x0});}),[_0x5d9224(0x27c),'error',_0x5d9224(0x19e),_0x5d9224(0x2b7)]['forEach'](_0x231e64=>{const _0x31d7bb=_0x5d9224;Object[_0x31d7bb(0x317)](_0x76cc35[_0x31d7bb(0x23d)],'on'+_0x231e64,{'enumerable':!0x0,'get'(){const _0x5d9e4c=_0x31d7bb;for(const _0x159788 of this[_0x5d9e4c(0x30a)](_0x231e64))if(_0x159788[_0x2afb6a])return _0x159788[_0x58bf06];return null;},'set'(_0x327e6a){const _0x22b35e=_0x31d7bb;for(const _0xf6674b of this[_0x22b35e(0x30a)](_0x231e64))if(_0xf6674b[_0x2afb6a]){this[_0x22b35e(0x2fa)](_0x231e64,_0xf6674b);break;}typeof _0x327e6a==_0x22b35e(0x2b3)&&this[_0x22b35e(0x163)](_0x231e64,_0x327e6a,{[_0x2afb6a]:!0x0});}});}),_0x76cc35[_0x5d9224(0x23d)][_0x5d9224(0x163)]=_0x2c4cee,_0x76cc35[_0x5d9224(0x23d)][_0x5d9224(0x2e4)]=_0x14a087,we=_0x76cc35;function _0x31cbb2(_0x8fd571,_0x2257b7,_0x5b21dd,_0x5a44c8){const _0x228467=_0x5d9224,_0x416a7f={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0xba4486[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x5a44c8,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x228467(0x2c4),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x8fd571[_0x228467(0x297)]=_0x416a7f[_0x228467(0x2db)],!_0xba4486[_0x228467(0x284)](_0x416a7f[_0x228467(0x188)]))throw new RangeError(_0x228467(0x24f)+_0x416a7f[_0x228467(0x188)]+_0x228467(0x180)+_0xba4486[_0x228467(0x2d6)](',\x20')+')');let _0x3e04fc;if(_0x2257b7 instanceof _0x1d446b)_0x3e04fc=_0x2257b7;else try{_0x3e04fc=new _0x1d446b(_0x2257b7);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x2257b7);}_0x3e04fc[_0x228467(0x1e4)]==='http:'?_0x3e04fc['protocol']=_0x228467(0x22a):_0x3e04fc['protocol']===_0x228467(0x224)&&(_0x3e04fc['protocol']=_0x228467(0x1e1)),_0x8fd571['_url']=_0x3e04fc[_0x228467(0x1f4)];const _0x5a3809=_0x3e04fc[_0x228467(0x1e4)]===_0x228467(0x1e1),_0x1a22b5=_0x3e04fc[_0x228467(0x1e4)]==='ws+unix:';let _0xe176ff;if(_0x3e04fc[_0x228467(0x1e4)]!==_0x228467(0x22a)&&!_0x5a3809&&!_0x1a22b5?_0xe176ff=_0x228467(0x1f6):_0x1a22b5&&!_0x3e04fc[_0x228467(0x220)]?_0xe176ff=_0x228467(0x26f):_0x3e04fc[_0x228467(0x1d7)]&&(_0xe176ff=_0x228467(0x177)),_0xe176ff){const _0x57545b=new SyntaxError(_0xe176ff);if(_0x8fd571['_redirects']===0x0)throw _0x57545b;_0x34a5c6(_0x8fd571,_0x57545b);return;}const _0x55b924=_0x5a3809?0x1bb:0x50,_0x31f038=_0x2cf428(0x10)[_0x228467(0x17b)]('base64'),_0x5cabfe=_0x5a3809?_0x216257['request']:_0x38a248[_0x228467(0x293)],_0x3ba79e=new Set();let _0x5bae14;if(_0x416a7f[_0x228467(0x29a)]=_0x416a7f[_0x228467(0x29a)]||(_0x5a3809?_0x2b9574:_0x40733e),_0x416a7f['defaultPort']=_0x416a7f[_0x228467(0x253)]||_0x55b924,_0x416a7f[_0x228467(0x168)]=_0x3e04fc[_0x228467(0x168)]||_0x55b924,_0x416a7f[_0x228467(0x29c)]=_0x3e04fc[_0x228467(0x278)][_0x228467(0x22b)]('[')?_0x3e04fc[_0x228467(0x278)][_0x228467(0x2d0)](0x1,-0x1):_0x3e04fc[_0x228467(0x278)],_0x416a7f[_0x228467(0x1a4)]={..._0x416a7f[_0x228467(0x1a4)],'Sec-WebSocket-Version':_0x416a7f[_0x228467(0x188)],'Sec-WebSocket-Key':_0x31f038,'Connection':'Upgrade','Upgrade':_0x228467(0x251)},_0x416a7f[_0x228467(0x1ee)]=_0x3e04fc['pathname']+_0x3e04fc[_0x228467(0x1dd)],_0x416a7f[_0x228467(0x233)]=_0x416a7f[_0x228467(0x17f)],_0x416a7f[_0x228467(0x283)]&&(_0x5bae14=new _0x232bc3(_0x416a7f[_0x228467(0x283)]!==!0x0?_0x416a7f[_0x228467(0x283)]:{},!0x1,_0x416a7f[_0x228467(0x2e0)]),_0x416a7f[_0x228467(0x1a4)][_0x228467(0x1ed)]=_0xedb9a1({[_0x232bc3[_0x228467(0x294)]]:_0x5bae14[_0x228467(0x1ce)]()})),_0x5b21dd[_0x228467(0x1fd)]){for(const _0x11ae5d of _0x5b21dd){if(typeof _0x11ae5d!=_0x228467(0x2e9)||!_0xdae5de[_0x228467(0x208)](_0x11ae5d)||_0x3ba79e[_0x228467(0x1bd)](_0x11ae5d))throw new SyntaxError(_0x228467(0x1df));_0x3ba79e[_0x228467(0x1be)](_0x11ae5d);}_0x416a7f[_0x228467(0x1a4)][_0x228467(0x302)]=_0x5b21dd[_0x228467(0x2d6)](',');}if(_0x416a7f[_0x228467(0x1d8)]&&(_0x416a7f[_0x228467(0x188)]<0xd?_0x416a7f[_0x228467(0x1a4)]['Sec-WebSocket-Origin']=_0x416a7f[_0x228467(0x1d8)]:_0x416a7f[_0x228467(0x1a4)][_0x228467(0x2a1)]=_0x416a7f[_0x228467(0x1d8)]),(_0x3e04fc[_0x228467(0x307)]||_0x3e04fc[_0x228467(0x176)])&&(_0x416a7f[_0x228467(0x2a3)]=_0x3e04fc[_0x228467(0x307)]+':'+_0x3e04fc[_0x228467(0x176)]),_0x1a22b5){const _0x26b5d6=_0x416a7f['path'][_0x228467(0x2a7)](':');_0x416a7f[_0x228467(0x1b6)]=_0x26b5d6[0x0],_0x416a7f[_0x228467(0x1ee)]=_0x26b5d6[0x1];}let _0x263b8a;if(_0x416a7f[_0x228467(0x271)]){if(_0x8fd571[_0x228467(0x21e)]===0x0){_0x8fd571['_originalIpc']=_0x1a22b5,_0x8fd571[_0x228467(0x2d2)]=_0x5a3809,_0x8fd571['_originalHostOrSocketPath']=_0x1a22b5?_0x416a7f[_0x228467(0x1b6)]:_0x3e04fc[_0x228467(0x29c)];const _0x1b09ae=_0x5a44c8&&_0x5a44c8[_0x228467(0x1a4)];if(_0x5a44c8={..._0x5a44c8,'headers':{}},_0x1b09ae){for(const [_0x2a477c,_0x51f4ba]of Object[_0x228467(0x2ec)](_0x1b09ae))_0x5a44c8[_0x228467(0x1a4)][_0x2a477c[_0x228467(0x183)]()]=_0x51f4ba;}}else{if(_0x8fd571[_0x228467(0x1eb)](_0x228467(0x2cc))===0x0){const _0x571cf8=_0x1a22b5?_0x8fd571[_0x228467(0x1e5)]?_0x416a7f[_0x228467(0x1b6)]===_0x8fd571['_originalHostOrSocketPath']:!0x1:_0x8fd571[_0x228467(0x1e5)]?!0x1:_0x3e04fc[_0x228467(0x29c)]===_0x8fd571[_0x228467(0x2eb)];(!_0x571cf8||_0x8fd571[_0x228467(0x2d2)]&&!_0x5a3809)&&(delete _0x416a7f[_0x228467(0x1a4)]['authorization'],delete _0x416a7f[_0x228467(0x1a4)][_0x228467(0x1b7)],_0x571cf8||delete _0x416a7f[_0x228467(0x1a4)][_0x228467(0x29c)],_0x416a7f['auth']=void 0x0);}}_0x416a7f[_0x228467(0x2a3)]&&!_0x5a44c8['headers']['authorization']&&(_0x5a44c8[_0x228467(0x1a4)][_0x228467(0x303)]=_0x228467(0x178)+Buffer[_0x228467(0x18f)](_0x416a7f[_0x228467(0x2a3)])[_0x228467(0x17b)](_0x228467(0x1dc))),_0x263b8a=_0x8fd571['_req']=_0x5cabfe(_0x416a7f),_0x8fd571[_0x228467(0x21e)]&&_0x8fd571[_0x228467(0x288)](_0x228467(0x2cc),_0x8fd571[_0x228467(0x1f7)],_0x263b8a);}else _0x263b8a=_0x8fd571[_0x228467(0x18e)]=_0x5cabfe(_0x416a7f);_0x416a7f[_0x228467(0x233)]&&_0x263b8a['on'](_0x228467(0x233),()=>{const _0x1a1703=_0x228467;_0x2b1ddd(_0x8fd571,_0x263b8a,_0x1a1703(0x263));}),_0x263b8a['on'](_0x228467(0x267),_0x2924e2=>{const _0x50a0d0=_0x228467;_0x263b8a===null||_0x263b8a[_0x1a5448]||(_0x263b8a=_0x8fd571[_0x50a0d0(0x18e)]=null,_0x34a5c6(_0x8fd571,_0x2924e2));}),_0x263b8a['on'](_0x228467(0x237),_0x240eee=>{const _0xf3c824=_0x228467,_0x23b8da=_0x240eee[_0xf3c824(0x1a4)][_0xf3c824(0x264)],_0xb2c022=_0x240eee[_0xf3c824(0x2cd)];if(_0x23b8da&&_0x416a7f[_0xf3c824(0x271)]&&_0xb2c022>=0x12c&&_0xb2c022<0x190){if(++_0x8fd571['_redirects']>_0x416a7f[_0xf3c824(0x242)]){_0x2b1ddd(_0x8fd571,_0x263b8a,_0xf3c824(0x1f0));return;}_0x263b8a['abort']();let _0x534c69;try{_0x534c69=new _0x1d446b(_0x23b8da,_0x2257b7);}catch{const _0xe792b7=new SyntaxError(_0xf3c824(0x270)+_0x23b8da);_0x34a5c6(_0x8fd571,_0xe792b7);return;}_0x31cbb2(_0x8fd571,_0x534c69,_0x5b21dd,_0x5a44c8);}else _0x8fd571['emit']('unexpected-response',_0x263b8a,_0x240eee)||_0x2b1ddd(_0x8fd571,_0x263b8a,'Unexpected\x20server\x20response:\x20'+_0x240eee[_0xf3c824(0x2cd)]);}),_0x263b8a['on'](_0x228467(0x26d),(_0x17a346,_0x510abf,_0x24b9a9)=>{const _0x20da3f=_0x228467;if(_0x8fd571[_0x20da3f(0x288)](_0x20da3f(0x26d),_0x17a346),_0x8fd571[_0x20da3f(0x236)]!==_0x76cc35[_0x20da3f(0x169)])return;_0x263b8a=_0x8fd571[_0x20da3f(0x18e)]=null;const _0x2cc363=_0x17a346[_0x20da3f(0x1a4)][_0x20da3f(0x26d)];if(_0x2cc363===void 0x0||_0x2cc363[_0x20da3f(0x183)]()!==_0x20da3f(0x251)){_0x2b1ddd(_0x8fd571,_0x510abf,_0x20da3f(0x25e));return;}const _0x263e33=_0x1b5c04(_0x20da3f(0x204))[_0x20da3f(0x1c9)](_0x31f038+_0x28eb97)[_0x20da3f(0x193)](_0x20da3f(0x1dc));if(_0x17a346[_0x20da3f(0x1a4)][_0x20da3f(0x257)]!==_0x263e33){_0x2b1ddd(_0x8fd571,_0x510abf,_0x20da3f(0x1f1));return;}const _0x2100ed=_0x17a346[_0x20da3f(0x1a4)][_0x20da3f(0x1e8)];let _0x5dafe6;if(_0x2100ed!==void 0x0?_0x3ba79e['size']?_0x3ba79e[_0x20da3f(0x1bd)](_0x2100ed)||(_0x5dafe6=_0x20da3f(0x2af)):_0x5dafe6=_0x20da3f(0x300):_0x3ba79e[_0x20da3f(0x214)]&&(_0x5dafe6='Server\x20sent\x20no\x20subprotocol'),_0x5dafe6){_0x2b1ddd(_0x8fd571,_0x510abf,_0x5dafe6);return;}_0x2100ed&&(_0x8fd571[_0x20da3f(0x2c5)]=_0x2100ed);const _0xdc8ce0=_0x17a346[_0x20da3f(0x1a4)][_0x20da3f(0x299)];if(_0xdc8ce0!==void 0x0){if(!_0x5bae14){_0x2b1ddd(_0x8fd571,_0x510abf,_0x20da3f(0x1b2));return;}let _0x38b176;try{_0x38b176=_0x43008a(_0xdc8ce0);}catch{_0x2b1ddd(_0x8fd571,_0x510abf,_0x20da3f(0x20e));return;}const _0x418734=Object[_0x20da3f(0x200)](_0x38b176);if(_0x418734[_0x20da3f(0x1fd)]!==0x1||_0x418734[0x0]!==_0x232bc3[_0x20da3f(0x294)]){_0x2b1ddd(_0x8fd571,_0x510abf,_0x20da3f(0x2c9));return;}try{_0x5bae14[_0x20da3f(0x1e9)](_0x38b176[_0x232bc3[_0x20da3f(0x294)]]);}catch{_0x2b1ddd(_0x8fd571,_0x510abf,_0x20da3f(0x20e));return;}_0x8fd571['_extensions'][_0x232bc3['extensionName']]=_0x5bae14;}_0x8fd571[_0x20da3f(0x1e0)](_0x510abf,_0x24b9a9,{'allowSynchronousEvents':_0x416a7f[_0x20da3f(0x213)],'generateMask':_0x416a7f[_0x20da3f(0x21d)],'maxPayload':_0x416a7f[_0x20da3f(0x2e0)],'skipUTF8Validation':_0x416a7f['skipUTF8Validation']});}),_0x416a7f[_0x228467(0x210)]?_0x416a7f[_0x228467(0x210)](_0x263b8a,_0x8fd571):_0x263b8a['end']();}function _0x34a5c6(_0x1e1f8b,_0x5acc9c){const _0x5422ae=_0x5d9224;_0x1e1f8b[_0x5422ae(0x262)]=_0x76cc35[_0x5422ae(0x24d)],_0x1e1f8b[_0x5422ae(0x289)]=!0x0,_0x1e1f8b[_0x5422ae(0x288)](_0x5422ae(0x267),_0x5acc9c),_0x1e1f8b[_0x5422ae(0x2e6)]();}function _0x40733e(_0x265f8c){const _0x5651cc=_0x5d9224;return _0x265f8c[_0x5651cc(0x1ee)]=_0x265f8c[_0x5651cc(0x1b6)],_0x44ac85[_0x5651cc(0x223)](_0x265f8c);}function _0x2b9574(_0x289568){const _0x51100e=_0x5d9224;return _0x289568[_0x51100e(0x1ee)]=void 0x0,!_0x289568[_0x51100e(0x2b1)]&&_0x289568[_0x51100e(0x2b1)]!==''&&(_0x289568[_0x51100e(0x2b1)]=_0x44ac85['isIP'](_0x289568['host'])?'':_0x289568[_0x51100e(0x29c)]),_0x3503cf[_0x51100e(0x223)](_0x289568);}function _0x2b1ddd(_0x3c10d5,_0x269759,_0x313e45){const _0x48ca5a=_0x5d9224;_0x3c10d5[_0x48ca5a(0x262)]=_0x76cc35[_0x48ca5a(0x24d)];const _0x2a293c=new Error(_0x313e45);Error[_0x48ca5a(0x1db)](_0x2a293c,_0x2b1ddd),_0x269759[_0x48ca5a(0x304)]?(_0x269759[_0x1a5448]=!0x0,_0x269759[_0x48ca5a(0x211)](),_0x269759[_0x48ca5a(0x282)]&&!_0x269759['socket'][_0x48ca5a(0x1ec)]&&_0x269759[_0x48ca5a(0x282)][_0x48ca5a(0x2d3)](),process[_0x48ca5a(0x2ea)](_0x34a5c6,_0x3c10d5,_0x2a293c)):(_0x269759[_0x48ca5a(0x2d3)](_0x2a293c),_0x269759[_0x48ca5a(0x2df)](_0x48ca5a(0x267),_0x3c10d5['emit'][_0x48ca5a(0x2f5)](_0x3c10d5,_0x48ca5a(0x267))),_0x269759[_0x48ca5a(0x2df)](_0x48ca5a(0x19e),_0x3c10d5[_0x48ca5a(0x2e6)]['bind'](_0x3c10d5)));}function _0x214bdc(_0x481abc,_0x2b3dcc,_0xd58db7){const _0xc1d03e=_0x5d9224;if(_0x2b3dcc){const _0x2e0796=_0x19200b(_0x2b3dcc)?_0x2b3dcc['size']:_0x52ec50(_0x2b3dcc)['length'];_0x481abc['_socket']?_0x481abc[_0xc1d03e(0x1bf)][_0xc1d03e(0x1af)]+=_0x2e0796:_0x481abc[_0xc1d03e(0x2d5)]+=_0x2e0796;}if(_0xd58db7){const _0x40becf=new Error(_0xc1d03e(0x226)+_0x481abc[_0xc1d03e(0x236)]+'\x20('+_0x1fa45c[_0x481abc[_0xc1d03e(0x236)]]+')');process[_0xc1d03e(0x2ea)](_0xd58db7,_0x40becf);}}function _0x3a9654(_0x2a7d3e,_0x16c9b5){const _0x48fc1b=_0x5d9224,_0xfbbd00=this[_0x44694e];_0xfbbd00[_0x48fc1b(0x16e)]=!0x0,_0xfbbd00['_closeMessage']=_0x16c9b5,_0xfbbd00[_0x48fc1b(0x175)]=_0x2a7d3e,_0xfbbd00[_0x48fc1b(0x1d9)][_0x44694e]!==void 0x0&&(_0xfbbd00[_0x48fc1b(0x1d9)][_0x48fc1b(0x2fa)]('data',_0x23e0f8),process[_0x48fc1b(0x2ea)](_0x594467,_0xfbbd00['_socket']),_0x2a7d3e===0x3ed?_0xfbbd00[_0x48fc1b(0x19e)]():_0xfbbd00['close'](_0x2a7d3e,_0x16c9b5));}function _0x146625(){const _0x187696=_0x5d9224,_0x12cba0=this[_0x44694e];_0x12cba0[_0x187696(0x246)]||_0x12cba0[_0x187696(0x1d9)][_0x187696(0x2b2)]();}function _0x1cc6a8(_0x35e63f){const _0x3afb03=_0x5d9224,_0x9ccd63=this[_0x44694e];_0x9ccd63[_0x3afb03(0x1d9)][_0x44694e]!==void 0x0&&(_0x9ccd63[_0x3afb03(0x1d9)][_0x3afb03(0x2fa)](_0x3afb03(0x279),_0x23e0f8),process['nextTick'](_0x594467,_0x9ccd63[_0x3afb03(0x1d9)]),_0x9ccd63[_0x3afb03(0x19e)](_0x35e63f[_0xd17d87])),_0x9ccd63[_0x3afb03(0x289)]||(_0x9ccd63[_0x3afb03(0x289)]=!0x0,_0x9ccd63[_0x3afb03(0x288)](_0x3afb03(0x267),_0x35e63f));}function _0x197357(){const _0x3323fa=_0x5d9224;this[_0x44694e][_0x3323fa(0x2e6)]();}function _0x134023(_0x4f381a,_0x3f847b){const _0x119da5=_0x5d9224;this[_0x44694e][_0x119da5(0x288)](_0x119da5(0x2b7),_0x4f381a,_0x3f847b);}function _0x2fa90e(_0x12fd72){const _0x2f4f3c=_0x5d9224,_0x581888=this[_0x44694e];_0x581888[_0x2f4f3c(0x297)]&&_0x581888['pong'](_0x12fd72,!this['_isServer'],_0x32a58e),_0x581888[_0x2f4f3c(0x288)]('ping',_0x12fd72);}function _0x4b5e24(_0x322e79){const _0x1a89cb=_0x5d9224;this[_0x44694e][_0x1a89cb(0x288)](_0x1a89cb(0x21c),_0x322e79);}function _0x594467(_0x78ba85){const _0x1fca51=_0x5d9224;_0x78ba85[_0x1fca51(0x2b2)]();}function _0x49b57f(_0x545ef7){const _0x433c82=_0x5d9224,_0x3f21c7=this[_0x44694e];_0x3f21c7['readyState']!==_0x76cc35[_0x433c82(0x194)]&&(_0x3f21c7[_0x433c82(0x236)]===_0x76cc35[_0x433c82(0x19b)]&&(_0x3f21c7[_0x433c82(0x262)]=_0x76cc35['CLOSING'],_0x177e4b(_0x3f21c7)),this[_0x433c82(0x1d9)][_0x433c82(0x266)](),_0x3f21c7[_0x433c82(0x289)]||(_0x3f21c7[_0x433c82(0x289)]=!0x0,_0x3f21c7['emit'](_0x433c82(0x267),_0x545ef7)));}function _0x177e4b(_0x3e4abe){const _0x54bfbb=_0x5d9224;_0x3e4abe[_0x54bfbb(0x30e)]=setTimeout(_0x3e4abe[_0x54bfbb(0x1d9)]['destroy']['bind'](_0x3e4abe['_socket']),_0x33975e);}function _0x5bf409(){const _0x99ba5=_0x5d9224,_0x1a74e3=this[_0x44694e];this['removeListener']('close',_0x5bf409),this['removeListener'](_0x99ba5(0x279),_0x23e0f8),this[_0x99ba5(0x2fa)](_0x99ba5(0x266),_0x2b961a),_0x1a74e3['_readyState']=_0x76cc35[_0x99ba5(0x24d)];let _0x5e7af6;!this['_readableState'][_0x99ba5(0x249)]&&!_0x1a74e3[_0x99ba5(0x16e)]&&!_0x1a74e3[_0x99ba5(0x171)][_0x99ba5(0x250)][_0x99ba5(0x2e8)]&&(_0x5e7af6=_0x1a74e3[_0x99ba5(0x1d9)][_0x99ba5(0x286)]())!==null&&_0x1a74e3[_0x99ba5(0x171)][_0x99ba5(0x1f2)](_0x5e7af6),_0x1a74e3['_receiver']['end'](),this[_0x44694e]=void 0x0,clearTimeout(_0x1a74e3['_closeTimer']),_0x1a74e3[_0x99ba5(0x171)][_0x99ba5(0x250)][_0x99ba5(0x16c)]||_0x1a74e3['_receiver']['_writableState']['errorEmitted']?_0x1a74e3[_0x99ba5(0x2e6)]():(_0x1a74e3[_0x99ba5(0x171)]['on'](_0x99ba5(0x267),_0x197357),_0x1a74e3[_0x99ba5(0x171)]['on'](_0x99ba5(0x164),_0x197357));}function _0x23e0f8(_0x327c3d){const _0x5ca97c=_0x5d9224;this[_0x44694e][_0x5ca97c(0x171)][_0x5ca97c(0x1f2)](_0x327c3d)||this[_0x5ca97c(0x24b)]();}function _0x2b961a(){const _0x536043=_0x5d9224,_0x3203c9=this[_0x44694e];_0x3203c9['_readyState']=_0x76cc35[_0x536043(0x24d)],_0x3203c9[_0x536043(0x171)][_0x536043(0x266)](),this['end']();}function _0xc9732d(){const _0x5f367d=_0x5d9224,_0x7e2ad7=this[_0x44694e];this[_0x5f367d(0x2fa)](_0x5f367d(0x267),_0xc9732d),this['on'](_0x5f367d(0x267),_0x32a58e),_0x7e2ad7&&(_0x7e2ad7[_0x5f367d(0x262)]=_0x76cc35[_0x5f367d(0x24d)],this['destroy']());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x8207e}=_0xe2dfc4;function _0x25d543(_0x313f5c){_0x313f5c['emit']('close');}function _0x5372a3(){const _0x43057b=_0x383f;!this[_0x43057b(0x1ec)]&&this[_0x43057b(0x250)][_0x43057b(0x16c)]&&this[_0x43057b(0x2d3)]();}function _0x21d50a(_0x390a9b){const _0xc429e1=_0x383f;this['removeListener']('error',_0x21d50a),this[_0xc429e1(0x2d3)](),this[_0xc429e1(0x1eb)](_0xc429e1(0x267))===0x0&&this['emit'](_0xc429e1(0x267),_0x390a9b);}function _0x5b914a(_0xbf0811,_0x3fe8fb){const _0x43d76b=_0x383f;let _0x4c21ac=!0x0;const _0x170774=new _0x8207e({..._0x3fe8fb,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0xbf0811['on'](_0x43d76b(0x2b7),function(_0x2812b5,_0x4dffb4){const _0x7214c9=_0x43d76b,_0x1c1ac2=!_0x4dffb4&&_0x170774[_0x7214c9(0x17a)]['objectMode']?_0x2812b5[_0x7214c9(0x17b)]():_0x2812b5;_0x170774[_0x7214c9(0x30f)](_0x1c1ac2)||_0xbf0811[_0x7214c9(0x24b)]();}),_0xbf0811[_0x43d76b(0x2df)]('error',function(_0x51c1a3){const _0x52aa09=_0x43d76b;_0x170774['destroyed']||(_0x4c21ac=!0x1,_0x170774[_0x52aa09(0x2d3)](_0x51c1a3));}),_0xbf0811[_0x43d76b(0x2df)](_0x43d76b(0x19e),function(){const _0x52ccd1=_0x43d76b;_0x170774[_0x52ccd1(0x1ec)]||_0x170774['push'](null);}),_0x170774[_0x43d76b(0x240)]=function(_0x58d185,_0x256593){const _0x5dadc5=_0x43d76b;if(_0xbf0811[_0x5dadc5(0x236)]===_0xbf0811[_0x5dadc5(0x194)]){_0x256593(_0x58d185),process[_0x5dadc5(0x2ea)](_0x25d543,_0x170774);return;}let _0x38cb94=!0x1;_0xbf0811[_0x5dadc5(0x2df)](_0x5dadc5(0x267),function(_0x1f6dc8){_0x38cb94=!0x0,_0x256593(_0x1f6dc8);}),_0xbf0811[_0x5dadc5(0x2df)](_0x5dadc5(0x19e),function(){_0x38cb94||_0x256593(_0x58d185),process['nextTick'](_0x25d543,_0x170774);}),_0x4c21ac&&_0xbf0811[_0x5dadc5(0x2b4)]();},_0x170774['_final']=function(_0x544627){const _0x49d4ee=_0x43d76b;if(_0xbf0811[_0x49d4ee(0x236)]===_0xbf0811['CONNECTING']){_0xbf0811['once'](_0x49d4ee(0x27c),function(){const _0x2e178c=_0x49d4ee;_0x170774[_0x2e178c(0x1d6)](_0x544627);});return;}_0xbf0811[_0x49d4ee(0x1d9)]!==null&&(_0xbf0811[_0x49d4ee(0x1d9)]['_writableState'][_0x49d4ee(0x16c)]?(_0x544627(),_0x170774[_0x49d4ee(0x17a)][_0x49d4ee(0x249)]&&_0x170774[_0x49d4ee(0x2d3)]()):(_0xbf0811[_0x49d4ee(0x1d9)][_0x49d4ee(0x2df)](_0x49d4ee(0x164),function(){_0x544627();}),_0xbf0811[_0x49d4ee(0x19e)]()));},_0x170774[_0x43d76b(0x1fa)]=function(){const _0x429422=_0x43d76b;_0xbf0811[_0x429422(0x246)]&&_0xbf0811['resume']();},_0x170774[_0x43d76b(0x261)]=function(_0x5657b4,_0x92815e,_0x4fbd7c){const _0x16786c=_0x43d76b;if(_0xbf0811['readyState']===_0xbf0811['CONNECTING']){_0xbf0811['once'](_0x16786c(0x27c),function(){const _0x580b5f=_0x16786c;_0x170774[_0x580b5f(0x261)](_0x5657b4,_0x92815e,_0x4fbd7c);});return;}_0xbf0811['send'](_0x5657b4,_0x4fbd7c);},_0x170774['on'](_0x43d76b(0x266),_0x5372a3),_0x170774['on'](_0x43d76b(0x267),_0x21d50a),_0x170774;}return Oe=_0x5b914a,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x2b71e3}=ne();function _0x37ba77(_0x2d759d){const _0x17c552=_0x383f,_0x4d376d=new Set();let _0x30698e=-0x1,_0x55fa07=-0x1,_0x3da5e3=0x0;for(_0x3da5e3;_0x3da5e3<_0x2d759d[_0x17c552(0x1fd)];_0x3da5e3++){const _0xd85018=_0x2d759d[_0x17c552(0x1cb)](_0x3da5e3);if(_0x55fa07===-0x1&&_0x2b71e3[_0xd85018]===0x1)_0x30698e===-0x1&&(_0x30698e=_0x3da5e3);else{if(_0x3da5e3!==0x0&&(_0xd85018===0x20||_0xd85018===0x9))_0x55fa07===-0x1&&_0x30698e!==-0x1&&(_0x55fa07=_0x3da5e3);else{if(_0xd85018===0x2c){if(_0x30698e===-0x1)throw new SyntaxError(_0x17c552(0x181)+_0x3da5e3);_0x55fa07===-0x1&&(_0x55fa07=_0x3da5e3);const _0x5ddfb3=_0x2d759d[_0x17c552(0x2d0)](_0x30698e,_0x55fa07);if(_0x4d376d[_0x17c552(0x1bd)](_0x5ddfb3))throw new SyntaxError('The\x20\x22'+_0x5ddfb3+_0x17c552(0x2dd));_0x4d376d[_0x17c552(0x1be)](_0x5ddfb3),_0x30698e=_0x55fa07=-0x1;}else throw new SyntaxError(_0x17c552(0x181)+_0x3da5e3);}}}if(_0x30698e===-0x1||_0x55fa07!==-0x1)throw new SyntaxError(_0x17c552(0x19a));const _0x38b447=_0x2d759d[_0x17c552(0x2d0)](_0x30698e,_0x3da5e3);if(_0x4d376d[_0x17c552(0x1bd)](_0x38b447))throw new SyntaxError(_0x17c552(0x2b8)+_0x38b447+_0x17c552(0x2dd));return _0x4d376d['add'](_0x38b447),_0x4d376d;}return Ce={'parse':_0x37ba77},Ce;}var Te,ot;function er(){const _0x580a54=_0x56f2cd;if(ot)return Te;ot=0x1;const _0x413fd4=_0x3ebf13,_0x18cb79=_0x48e811,{Duplex:_0x196540}=_0xe2dfc4,{createHash:_0x1cc6bb}=_0x38ebd5,_0xf8f9ab=pt(),_0x3ac119=he(),_0x4bc786=Jt(),_0x1f6578=Ie(),{GUID:_0x1105df,kWebSocket:_0x1443bc}=V(),_0x21c3a9=/^[+/0-9A-Za-z]{22}==$/,_0x5e1d73=0x0,_0x1c477b=0x1,_0x581c0d=0x2;class _0x1b46dc extends _0x413fd4{constructor(_0x40b4bf,_0x31d900){const _0x56ff74=_0x383f;if(super(),_0x40b4bf={'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':_0x1f6578,..._0x40b4bf},_0x40b4bf[_0x56ff74(0x168)]==null&&!_0x40b4bf[_0x56ff74(0x2f3)]&&!_0x40b4bf[_0x56ff74(0x25c)]||_0x40b4bf[_0x56ff74(0x168)]!=null&&(_0x40b4bf[_0x56ff74(0x2f3)]||_0x40b4bf[_0x56ff74(0x25c)])||_0x40b4bf[_0x56ff74(0x2f3)]&&_0x40b4bf[_0x56ff74(0x25c)])throw new TypeError(_0x56ff74(0x218));if(_0x40b4bf[_0x56ff74(0x168)]!=null?(this[_0x56ff74(0x186)]=_0x18cb79[_0x56ff74(0x173)]((_0x58fdc5,_0x8a3426)=>{const _0xb060ae=_0x56ff74,_0x473f12=_0x18cb79[_0xb060ae(0x1ca)][0x1aa];_0x8a3426[_0xb060ae(0x247)](0x1aa,{'Content-Length':_0x473f12['length'],'Content-Type':_0xb060ae(0x312)}),_0x8a3426[_0xb060ae(0x266)](_0x473f12);}),this[_0x56ff74(0x186)][_0x56ff74(0x1f9)](_0x40b4bf[_0x56ff74(0x168)],_0x40b4bf[_0x56ff74(0x29c)],_0x40b4bf[_0x56ff74(0x161)],_0x31d900)):_0x40b4bf['server']&&(this[_0x56ff74(0x186)]=_0x40b4bf[_0x56ff74(0x2f3)]),this[_0x56ff74(0x186)]){const _0x4b2514=this[_0x56ff74(0x288)]['bind'](this,'connection');this['_removeListeners']=_0x49cf85(this[_0x56ff74(0x186)],{'listening':this[_0x56ff74(0x288)]['bind'](this,'listening'),'error':this[_0x56ff74(0x288)][_0x56ff74(0x2f5)](this,_0x56ff74(0x267)),'upgrade':(_0x15cb2d,_0x637dac,_0x1b8026)=>{const _0x2bafa2=_0x56ff74;this[_0x2bafa2(0x1b9)](_0x15cb2d,_0x637dac,_0x1b8026,_0x4b2514);}});}_0x40b4bf[_0x56ff74(0x283)]===!0x0&&(_0x40b4bf[_0x56ff74(0x283)]={}),_0x40b4bf[_0x56ff74(0x2da)]&&(this[_0x56ff74(0x243)]=new Set(),this[_0x56ff74(0x2ce)]=!0x1),this[_0x56ff74(0x1b4)]=_0x40b4bf,this[_0x56ff74(0x1d2)]=_0x5e1d73;}[_0x580a54(0x27e)](){const _0x46bb54=_0x580a54;if(this[_0x46bb54(0x1b4)][_0x46bb54(0x25c)])throw new Error(_0x46bb54(0x1c4));return this[_0x46bb54(0x186)]?this[_0x46bb54(0x186)][_0x46bb54(0x27e)]():null;}[_0x580a54(0x19e)](_0x32314f){const _0x2ccefd=_0x580a54;if(this['_state']===_0x581c0d){_0x32314f&&this[_0x2ccefd(0x2df)](_0x2ccefd(0x19e),()=>{const _0x23b6a9=_0x2ccefd;_0x32314f(new Error(_0x23b6a9(0x273)));}),process[_0x2ccefd(0x2ea)](_0x2b9d52,this);return;}if(_0x32314f&&this[_0x2ccefd(0x2df)](_0x2ccefd(0x19e),_0x32314f),this[_0x2ccefd(0x1d2)]!==_0x1c477b){if(this[_0x2ccefd(0x1d2)]=_0x1c477b,this['options'][_0x2ccefd(0x25c)]||this[_0x2ccefd(0x1b4)][_0x2ccefd(0x2f3)])this['_server']&&(this[_0x2ccefd(0x1a3)](),this[_0x2ccefd(0x1a3)]=this['_server']=null),this[_0x2ccefd(0x243)]?this['clients'][_0x2ccefd(0x214)]?this['_shouldEmitClose']=!0x0:process[_0x2ccefd(0x2ea)](_0x2b9d52,this):process[_0x2ccefd(0x2ea)](_0x2b9d52,this);else{const _0x20074b=this[_0x2ccefd(0x186)];this[_0x2ccefd(0x1a3)](),this[_0x2ccefd(0x1a3)]=this[_0x2ccefd(0x186)]=null,_0x20074b[_0x2ccefd(0x19e)](()=>{_0x2b9d52(this);});}}}[_0x580a54(0x1ad)](_0xef3ddd){const _0x378424=_0x580a54;if(this[_0x378424(0x1b4)][_0x378424(0x1ee)]){const _0x3f0728=_0xef3ddd[_0x378424(0x1f7)][_0x378424(0x1e2)]('?');if((_0x3f0728!==-0x1?_0xef3ddd[_0x378424(0x1f7)][_0x378424(0x2d0)](0x0,_0x3f0728):_0xef3ddd[_0x378424(0x1f7)])!==this[_0x378424(0x1b4)][_0x378424(0x1ee)])return!0x1;}return!0x0;}[_0x580a54(0x1b9)](_0x4af14e,_0xda2fc4,_0x1344bc,_0x540503){const _0x26b68a=_0x580a54;_0xda2fc4['on'](_0x26b68a(0x267),_0x5b1146);const _0x2d8146=_0x4af14e[_0x26b68a(0x1a4)][_0x26b68a(0x1a6)],_0x4d66d9=_0x4af14e['headers'][_0x26b68a(0x26d)],_0x49fc74=+_0x4af14e[_0x26b68a(0x1a4)][_0x26b68a(0x30b)];if(_0x4af14e['method']!==_0x26b68a(0x2c4)){_0x54f8cd(this,_0x4af14e,_0xda2fc4,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x4d66d9===void 0x0||_0x4d66d9['toLowerCase']()!==_0x26b68a(0x251)){_0x54f8cd(this,_0x4af14e,_0xda2fc4,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x2d8146===void 0x0||!_0x21c3a9[_0x26b68a(0x208)](_0x2d8146)){_0x54f8cd(this,_0x4af14e,_0xda2fc4,0x190,_0x26b68a(0x215));return;}if(_0x49fc74!==0x8&&_0x49fc74!==0xd){_0x54f8cd(this,_0x4af14e,_0xda2fc4,0x190,_0x26b68a(0x205));return;}if(!this[_0x26b68a(0x1ad)](_0x4af14e)){_0x286e60(_0xda2fc4,0x190);return;}const _0x4b3ea0=_0x4af14e[_0x26b68a(0x1a4)][_0x26b68a(0x1e8)];let _0x3ff2bf=new Set();if(_0x4b3ea0!==void 0x0)try{_0x3ff2bf=_0x4bc786[_0x26b68a(0x27d)](_0x4b3ea0);}catch{_0x54f8cd(this,_0x4af14e,_0xda2fc4,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x2f3115=_0x4af14e[_0x26b68a(0x1a4)][_0x26b68a(0x299)],_0x50c1e8={};if(this[_0x26b68a(0x1b4)][_0x26b68a(0x283)]&&_0x2f3115!==void 0x0){const _0x2b87e2=new _0x3ac119(this[_0x26b68a(0x1b4)][_0x26b68a(0x283)],!0x0,this['options']['maxPayload']);try{const _0x309615=_0xf8f9ab[_0x26b68a(0x27d)](_0x2f3115);_0x309615[_0x3ac119[_0x26b68a(0x294)]]&&(_0x2b87e2[_0x26b68a(0x1e9)](_0x309615[_0x3ac119[_0x26b68a(0x294)]]),_0x50c1e8[_0x3ac119['extensionName']]=_0x2b87e2);}catch{_0x54f8cd(this,_0x4af14e,_0xda2fc4,0x190,_0x26b68a(0x203));return;}}if(this[_0x26b68a(0x1b4)][_0x26b68a(0x1a2)]){const _0x51c05c={'origin':_0x4af14e['headers'][''+(_0x49fc74===0x8?_0x26b68a(0x241):_0x26b68a(0x1d8))],'secure':!!(_0x4af14e[_0x26b68a(0x282)]['authorized']||_0x4af14e[_0x26b68a(0x282)][_0x26b68a(0x1c1)]),'req':_0x4af14e};if(this[_0x26b68a(0x1b4)]['verifyClient'][_0x26b68a(0x1fd)]===0x2){this['options'][_0x26b68a(0x1a2)](_0x51c05c,(_0x3de916,_0x41d17c,_0xf0f53f,_0x5b85e2)=>{if(!_0x3de916)return _0x286e60(_0xda2fc4,_0x41d17c||0x191,_0xf0f53f,_0x5b85e2);this['completeUpgrade'](_0x50c1e8,_0x2d8146,_0x3ff2bf,_0x4af14e,_0xda2fc4,_0x1344bc,_0x540503);});return;}if(!this[_0x26b68a(0x1b4)]['verifyClient'](_0x51c05c))return _0x286e60(_0xda2fc4,0x191);}this[_0x26b68a(0x174)](_0x50c1e8,_0x2d8146,_0x3ff2bf,_0x4af14e,_0xda2fc4,_0x1344bc,_0x540503);}[_0x580a54(0x174)](_0x3ed8a7,_0x30e99d,_0x15140e,_0x5deeff,_0x104cf5,_0x7529b2,_0x4320a7){const _0x3765e4=_0x580a54;if(!_0x104cf5[_0x3765e4(0x190)]||!_0x104cf5[_0x3765e4(0x2ab)])return _0x104cf5[_0x3765e4(0x2d3)]();if(_0x104cf5[_0x1443bc])throw new Error(_0x3765e4(0x1da));if(this[_0x3765e4(0x1d2)]>_0x5e1d73)return _0x286e60(_0x104cf5,0x1f7);const _0x3b37ba=[_0x3765e4(0x291),_0x3765e4(0x166),_0x3765e4(0x206),_0x3765e4(0x2ff)+_0x1cc6bb('sha1')[_0x3765e4(0x1c9)](_0x30e99d+_0x1105df)[_0x3765e4(0x193)]('base64')],_0xaeede7=new this[(_0x3765e4(0x1b4))][(_0x3765e4(0x1d3))](null,void 0x0,this[_0x3765e4(0x1b4)]);if(_0x15140e[_0x3765e4(0x214)]){const _0x3bdf02=this[_0x3765e4(0x1b4)][_0x3765e4(0x2d8)]?this['options'][_0x3765e4(0x2d8)](_0x15140e,_0x5deeff):_0x15140e['values']()[_0x3765e4(0x244)]()[_0x3765e4(0x230)];_0x3bdf02&&(_0x3b37ba[_0x3765e4(0x30f)](_0x3765e4(0x2ed)+_0x3bdf02),_0xaeede7['_protocol']=_0x3bdf02);}if(_0x3ed8a7[_0x3ac119['extensionName']]){const _0x99a7f6=_0x3ed8a7[_0x3ac119[_0x3765e4(0x294)]]['params'],_0x3c9a55=_0xf8f9ab[_0x3765e4(0x2a6)]({[_0x3ac119[_0x3765e4(0x294)]]:[_0x99a7f6]});_0x3b37ba[_0x3765e4(0x30f)](_0x3765e4(0x280)+_0x3c9a55),_0xaeede7[_0x3765e4(0x1ff)]=_0x3ed8a7;}this[_0x3765e4(0x288)](_0x3765e4(0x1a4),_0x3b37ba,_0x5deeff),_0x104cf5[_0x3765e4(0x1f2)](_0x3b37ba['concat']('\x0d\x0a')[_0x3765e4(0x2d6)]('\x0d\x0a')),_0x104cf5[_0x3765e4(0x2fa)](_0x3765e4(0x267),_0x5b1146),_0xaeede7['setSocket'](_0x104cf5,_0x7529b2,{'allowSynchronousEvents':this[_0x3765e4(0x1b4)][_0x3765e4(0x213)],'maxPayload':this['options'][_0x3765e4(0x2e0)],'skipUTF8Validation':this['options'][_0x3765e4(0x1b0)]}),this[_0x3765e4(0x243)]&&(this[_0x3765e4(0x243)]['add'](_0xaeede7),_0xaeede7['on']('close',()=>{const _0x56243b=_0x3765e4;this['clients'][_0x56243b(0x1f8)](_0xaeede7),this[_0x56243b(0x2ce)]&&!this['clients']['size']&&process[_0x56243b(0x2ea)](_0x2b9d52,this);})),_0x4320a7(_0xaeede7,_0x5deeff);}}Te=_0x1b46dc;function _0x49cf85(_0x53c4ed,_0x31f42a){const _0x43db7e=_0x580a54;for(const _0x532dca of Object[_0x43db7e(0x200)](_0x31f42a))_0x53c4ed['on'](_0x532dca,_0x31f42a[_0x532dca]);return function(){const _0x520f2b=_0x43db7e;for(const _0x203ff9 of Object[_0x520f2b(0x200)](_0x31f42a))_0x53c4ed['removeListener'](_0x203ff9,_0x31f42a[_0x203ff9]);};}function _0x2b9d52(_0x81efbb){const _0x3b0af1=_0x580a54;_0x81efbb[_0x3b0af1(0x1d2)]=_0x581c0d,_0x81efbb[_0x3b0af1(0x288)]('close');}function _0x5b1146(){const _0x48039a=_0x580a54;this[_0x48039a(0x2d3)]();}function _0x286e60(_0x133495,_0x34d7fc,_0x30bca7,_0x3e05ca){const _0x332ac7=_0x580a54;_0x30bca7=_0x30bca7||_0x18cb79[_0x332ac7(0x1ca)][_0x34d7fc],_0x3e05ca={'Connection':_0x332ac7(0x19e),'Content-Type':_0x332ac7(0x2a9),'Content-Length':Buffer['byteLength'](_0x30bca7),..._0x3e05ca},_0x133495[_0x332ac7(0x2df)](_0x332ac7(0x164),_0x133495[_0x332ac7(0x2d3)]),_0x133495[_0x332ac7(0x266)](_0x332ac7(0x255)+_0x34d7fc+'\x20'+_0x18cb79[_0x332ac7(0x1ca)][_0x34d7fc]+'\x0d\x0a'+Object[_0x332ac7(0x200)](_0x3e05ca)[_0x332ac7(0x24c)](_0x54d454=>_0x54d454+':\x20'+_0x3e05ca[_0x54d454])[_0x332ac7(0x2d6)]('\x0d\x0a')+_0x332ac7(0x2d1)+_0x30bca7);}function _0x54f8cd(_0x46fd54,_0x240972,_0x12a62d,_0x593f9a,_0x96210a){const _0x11c7ed=_0x580a54;if(_0x46fd54[_0x11c7ed(0x1eb)](_0x11c7ed(0x1ea))){const _0x1e2aba=new Error(_0x96210a);Error[_0x11c7ed(0x1db)](_0x1e2aba,_0x54f8cd),_0x46fd54[_0x11c7ed(0x288)](_0x11c7ed(0x1ea),_0x1e2aba,_0x12a62d,_0x240972);}else _0x286e60(_0x12a62d,_0x593f9a,_0x96210a);}return Te;}er();var tr=Object[_0x56f2cd(0x234)],rr=(_0x5edf30,_0x27cf47,_0x467684,_0x314a38)=>{for(var _0x25d70a=_0x314a38>0x1?void 0x0:_0x314a38?tr(_0x27cf47,_0x467684):_0x27cf47,_0x5f4020=_0x5edf30['length']-0x1,_0x193b1f;_0x5f4020>=0x0;_0x5f4020--)(_0x193b1f=_0x5edf30[_0x5f4020])&&(_0x25d70a=_0x193b1f(_0x25d70a)||_0x25d70a);return _0x25d70a;},sr=(_0x59bb05,_0x4f6b24)=>(_0x53dcb3,_0x470292)=>_0x4f6b24(_0x53dcb3,_0x470292,_0x59bb05);let Ne=class extends _0x142bc8{constructor(_0x57c13a){const _0x396c80=_0x56f2cd;super(),this[_0x396c80(0x2bc)]=_0x57c13a;}['createSocket'](_0x11e3e5){const _0x4f444a=_0x56f2cd;var _0x4f5c53;const _0x27c623=(_0x4f5c53=this[_0x4f444a(0x2bc)][_0x4f444a(0x1e6)](Be))==null?void 0x0:_0x4f5c53[_0x4f444a(0x225)];try{const _0x1de9d2=new Qt(_0x11e3e5,{'headers':{..._0x27c623}}),_0x1c7733=new _0x1442b1();return{'URL':_0x11e3e5,'close':(_0x75285d,_0x215e0d)=>{const _0x3bea3e=_0x4f444a;_0x1de9d2[_0x3bea3e(0x19e)](_0x75285d,_0x215e0d),_0x1c7733[_0x3bea3e(0x26b)]();},'send':_0x25fddd=>{_0x1de9d2['send'](_0x25fddd);},'open$':new _0x13a827(_0x3b3d3f=>{const _0x1b9ab3=_0x4f444a,_0x5481e1=_0x2713f0=>_0x3b3d3f['next'](_0x2713f0);_0x1de9d2[_0x1b9ab3(0x163)](_0x1b9ab3(0x27c),_0x5481e1),_0x1c7733[_0x1b9ab3(0x1be)](_0x3bda40(()=>_0x1de9d2[_0x1b9ab3(0x2e4)]('open',_0x5481e1)));})[_0x4f444a(0x2f1)](_0x4f46bb()),'close$':new _0x13a827(_0x294349=>{const _0x3d4f57=_0x4f444a,_0x3ee934=_0x276c71=>_0x294349['next'](_0x276c71);_0x1de9d2[_0x3d4f57(0x163)](_0x3d4f57(0x19e),_0x3ee934),_0x1c7733[_0x3d4f57(0x1be)](_0x3bda40(()=>_0x1de9d2[_0x3d4f57(0x2e4)](_0x3d4f57(0x19e),_0x3ee934)));})[_0x4f444a(0x2f1)](_0x4f46bb()),'error$':new _0x13a827(_0x4ba9aa=>{const _0x4b5e19=_0x4f444a,_0xa8ce63=_0x3e4705=>_0x4ba9aa[_0x4b5e19(0x244)](_0x3e4705);_0x1de9d2[_0x4b5e19(0x163)](_0x4b5e19(0x267),_0xa8ce63),_0x1c7733['add'](_0x3bda40(()=>_0x1de9d2[_0x4b5e19(0x2e4)](_0x4b5e19(0x267),_0xa8ce63)));})[_0x4f444a(0x2f1)](_0x4f46bb()),'message$':new _0x13a827(_0x6c8f62=>{const _0x169731=_0x4f444a,_0x2044eb=_0x22baa4=>_0x6c8f62[_0x169731(0x244)](_0x22baa4);_0x1de9d2[_0x169731(0x163)](_0x169731(0x2b7),_0x2044eb),_0x1c7733['add'](_0x3bda40(()=>_0x1de9d2[_0x169731(0x2e4)]('message',_0x2044eb)));})['pipe'](_0x4f46bb())};}catch(_0x12566b){return console[_0x4f444a(0x267)](_0x12566b),null;}}};Ne=rr([sr(0x0,_0x4abef0)],Ne);var ir=Object[_0x56f2cd(0x317)],nr=Object[_0x56f2cd(0x234)],or=(_0x761a2d,_0x3cdc24,_0x5ad6c8)=>_0x3cdc24 in _0x761a2d?ir(_0x761a2d,_0x3cdc24,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5ad6c8}):_0x761a2d[_0x3cdc24]=_0x5ad6c8,ar=(_0x3fb6ec,_0x490887,_0x53fb2b,_0x442994)=>{for(var _0x4ef002=_0x442994>0x1?void 0x0:_0x442994?nr(_0x490887,_0x53fb2b):_0x490887,_0x3cb69e=_0x3fb6ec['length']-0x1,_0x550d4c;_0x3cb69e>=0x0;_0x3cb69e--)(_0x550d4c=_0x3fb6ec[_0x3cb69e])&&(_0x4ef002=_0x550d4c(_0x4ef002)||_0x4ef002);return _0x4ef002;},ke=(_0x24b542,_0x371726)=>(_0x2e95fb,_0x165513)=>_0x371726(_0x2e95fb,_0x165513,_0x24b542),lr=(_0x10a80f,_0x46ce80,_0xf1faee)=>or(_0x10a80f,_0x46ce80+'',_0xf1faee);let Pe=class extends _0x22b412{constructor(_0x346a08=Ft,_0x179803,_0x3639f1,_0x40a796){const _0x5b8d56=_0x56f2cd;_0x346a08['customHeaders']||_0x179803[_0x5b8d56(0x29b)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x5b8d56(0x2bc)]=_0x3639f1,this[_0x5b8d56(0x1de)]=_0x40a796,this['_configService'][_0x5b8d56(0x25f)](Be,_0x346a08);}[_0x56f2cd(0x1f5)](){const _0x1e169d=_0x56f2cd;this[_0x1e169d(0x318)]();}[_0x56f2cd(0x318)](){const _0x539f6a=_0x56f2cd;_0x532db7(this[_0x539f6a(0x1de)],[[_0x5077db,{'useClass':Ne}]]);}};lr(Pe,_0x56f2cd(0x310),_0x56f2cd(0x311)),Pe=ar([_0x13e505(_0x43108f),ke(0x1,_0x55a7fc),ke(0x2,_0x4abef0),ke(0x3,_0x5025c9(_0x38642c))],Pe);var fr=Object['getOwnPropertyDescriptor'],cr=(_0x249e69,_0x4eda04,_0x3be897,_0x517db9)=>{for(var _0x3779dd=_0x517db9>0x1?void 0x0:_0x517db9?fr(_0x4eda04,_0x3be897):_0x4eda04,_0x320586=_0x249e69['length']-0x1,_0x13ef9f;_0x320586>=0x0;_0x320586--)(_0x13ef9f=_0x249e69[_0x320586])&&(_0x3779dd=_0x13ef9f(_0x3779dd)||_0x3779dd);return _0x3779dd;},se=(_0x228ea2,_0x4c823f)=>(_0xa28223,_0x4d1d99)=>_0x4c823f(_0xa28223,_0x4d1d99,_0x228ea2);let at=class extends _0x4f42b6{constructor(_0x136036,_0x2fda10,_0x2a33e1,_0xd03dd,_0x2200d7){const _0x3c00cb=_0x56f2cd;super(_0x136036,_0x2fda10,_0x2a33e1,_0xd03dd,_0x2200d7);const _0x677e77=this[_0x3c00cb(0x2bc)][_0x3c00cb(0x1e6)](Be);this[_0x3c00cb(0x28b)]['registerHTTPInterceptor']({'interceptor':(_0x584a89,_0x27be01)=>{const _0x95b48c=_0x3c00cb;var _0x356c28;const _0x4e795c=_0x584a89[_0x95b48c(0x1a4)];return(_0x356c28=_0x677e77==null?void 0x0:_0x677e77['customHeaders'])!=null&&_0x356c28[_0x95b48c(0x1b7)]&&_0x4e795c['set']('Cookie',_0x677e77[_0x95b48c(0x225)]['cookie']),_0x27be01(_0x584a89);}});}async[_0x56f2cd(0x248)](_0xe3b424){const _0x39d111=_0x56f2cd;return this[_0x39d111(0x316)](_0xe3b424);}};at=cr([se(0x0,_0x5025c9(_0x38642c)),se(0x1,_0x5025c9(_0x129fd5)),se(0x2,_0x4abef0),se(0x3,_0x55a7fc),se(0x4,_0x57a3ae)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
1
+ const _0x56fa89=_0x3c64;(function(_0x4e9a24,_0x16c768){const _0x38776d=_0x3c64,_0x3d40e4=_0x4e9a24();while(!![]){try{const _0x44ea27=parseInt(_0x38776d(0x100))/0x1+parseInt(_0x38776d(0xfa))/0x2+parseInt(_0x38776d(0x99))/0x3+parseInt(_0x38776d(0x13c))/0x4+parseInt(_0x38776d(0x1f4))/0x5+parseInt(_0x38776d(0xc3))/0x6*(parseInt(_0x38776d(0xc2))/0x7)+parseInt(_0x38776d(0xa9))/0x8*(-parseInt(_0x38776d(0x1d8))/0x9);if(_0x44ea27===_0x16c768)break;else _0x3d40e4['push'](_0x3d40e4['shift']());}catch(_0x562eb8){_0x3d40e4['push'](_0x3d40e4['shift']());}}}(_0xc356,0xeb2c6));import{UniverCollaborationClientPlugin as _0x5802fe,CollaborationSocketService as _0x441541}from'@univerjs-pro/collaboration-client';import{Disposable as _0x445d2d,DisposableCollection as _0x4d108c,toDisposable as _0x44cecc,IConfigService as _0x4508e4,DependentOn as _0x15ab13,ILogService as _0x5aa1a5,Inject as _0x14b929,Injector as _0x17d5dd,Plugin as _0x391e72,registerDependencies as _0x5c7608}from'@univerjs/core';import{ISocketService as _0x321942,HTTPService as _0x31b30a}from'@univerjs/network';import{Observable as _0x5d15d1,share as _0x3a9b3e}from'rxjs';import _0x7fa1df from'events';import _0x167805 from'https';import _0x18e58e from'http';import _0x36dbfe from'net';import _0x11288f from'tls';import _0x4b0b4b from'crypto';import _0xeca166 from'stream';import _0xc424 from'url';import _0x4ddb03 from'zlib';import _0x11350d from'buffer';import{ISnapshotServerService as _0x269f9d}from'@univerjs-pro/collaboration';const Be=_0x56fa89(0x10f),Ft={'customHeaders':{}};function jt(_0x5e084a){const _0x2ec46d=_0x56fa89;return _0x5e084a&&_0x5e084a[_0x2ec46d(0x20d)]&&Object['prototype'][_0x2ec46d(0xb5)][_0x2ec46d(0x1b0)](_0x5e084a,'default')?_0x5e084a['default']:_0x5e084a;}function _0xc356(){const _0x34d972=['generateMask','isValidUTF8','\x22:\x20','_socket','env','_options','Unexpected\x20server\x20response:\x20','then','protocol','MASK\x20must\x20be\x20set','collaboration-client-node.config','listenerCount','_buffers','kRun','CLOSED','ping','socket','skipUTF8Validation','The\x20server\x20is\x20not\x20running','headers','server_no_context_takeover','arraybuffer','Connection:\x20Upgrade','\x20(supported\x20versions:\x20','close','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','_isServer','endEmitted','getPayloadLength64','dispose','getData','Maximum\x20redirects\x20exceeded','pending','digest','enqueue','invalid\x20status\x20code\x20','addEventListener','clientTracking','kData','buffer','origin','getConfig','sec-websocket-accept','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','invalid\x20payload\x20length\x20','Module','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','protocolVersion','function','wss:','_closeCode','path','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','setSocket','_queue','579280LhARuo','upgrade','writeHead','_redirects','verifyClient','kDone','needDrain','_maskBuffer','Invalid\x20Sec-WebSocket-Extensions\x20header','_req','WS_ERR_UNEXPECTED_MASK','_destroy','wsClientError','maxPayload','WS_ERR_UNEXPECTED_RSV_1','unmask','listen','sha1','The\x20URL\x20contains\x20a\x20fragment\x20identifier','params','_doCreateSocket','WS_ERR_INVALID_UTF8','parse','_originalIpc','open','sendFrame','pong','freeze','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','compress','blob','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','createError','WS_ERR_EXPECTED_FIN','hash','shift','writeUInt16BE','allowSynchronousEvents','bind','kAborted','MASK\x20must\x20be\x20clear','onerror','HTTP/1.1\x20101\x20Switching\x20Protocols','createConnection','port','extensionName','string','cookie','onopen','_compressed','_originalSecure','pause','server_max_window_bits','sec-websocket-key','ws+unix:','client','flush','zlibInflateOptions','Invalid\x20value\x20for\x20parameter\x20\x22','_server','handleProtocols','noServer','delete','finish','next','isBuffer','update','concurrency','_extensions','servername','Server\x20sent\x20no\x20subprotocol','species','STATUS_CODES','request','WS_ERR_INVALID_OPCODE','warn','has','auth','_removeListeners','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','connect','invalid\x20UTF-8\x20sequence','url','createServer','consume','_no_context_takeover','clients','readUInt32BE','_bufferedAmount','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','frame','create','_httpService','isInteger','listeners','alloc','dequeue','_registerDependencies','push','getMask','\x22\x20must\x20have\x20only\x20a\x20single\x20value','Z_DEFAULT_WINDOWBITS','server','_messageLength','charCodeAt','Invalid\x20Upgrade\x20header','_autoPong','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','split','autoPong','readyState','setTimeout','_totalPayloadLength','constructor','emit','handshakeTimeout','call','FIN\x20must\x20be\x20set','Unexpected\x20end\x20of\x20input','defineProperty','sec-websocket-version','handleUpgrade','add','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','method','object','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','address','connection','catch','_opcode','authorized','defaultPort','map','indexOf','dispatch','getInfo','invalid\x20opcode\x20','opcode','pipe','getBlobData','normalizeParams','_closeFrameSent','pluginName','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','Sec-WebSocket-Origin','concat','removeEventListener','Sec-WebSocket-Extensions:\x20','wasClean','once','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','customHeaders','zlibDeflateOptions','startsWith','1530mZqZYD','_paused','end','perMessageDeflate','test','slice','_fragments','text/html','Invalid\x20Sec-WebSocket-Protocol\x20header','rsv1','captureStackTrace','_bufferedBytes','WS_NO_BUFFER_UTIL','WebSocket','The\x20URL\x27s\x20pathname\x20is\x20empty','kTarget','kReason','readUInt16BE','removeAllListeners','kMessage','Unsupported\x20protocol\x20version:\x20','Max\x20payload\x20size\x20exceeded','_readyState','hostname','_max_window_bits','_protocol','dataMessage','default','5040715CExkSP','_payloadLength','_compress','_closeTimer','_fin','backlog','_errored','byteOffset','Cookie','_inflate','followRedirects','_originalHostOrSocketPath','_write','find','_allowSynchronousEvents','toLowerCase','_decompress','clientMaxWindowBits','errorEmitted','fin','serverNoContextTakeover','data','maskBuffer','readOnly','forEach','__esModule','_binaryType','construct','_read','isArray','getPayloadLength16','createSocket','jobs','arrayBuffer','buffers','from','join','ws:','registerHTTPInterceptor','removeListener','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','_writableState','number','Sec-WebSocket-Protocol','WS_ERR_UNEXPECTED_RSV_2_3','websocket','apply','_loop','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','sec-websocket-extensions','isPaused','binary','byteLength','terminate','Invalid\x20WebSocket\x20frame:\x20','RSV1\x20must\x20be\x20clear','statusCode','drain','controlMessage','destroy','_threshold','maxRedirects','invalid\x20opcode\x200','CONNECTING','_errorEmitted','reason','WS_ERR_INVALID_CLOSE_CODE','keys','https:','code','message','The\x20\x22','destroyed','send','mask','_mask','timeout','password','getOwnPropertyDescriptor','authorization','finishRequest','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','File','_sender','_receiver','socketPath','3831570QqJoSj','length','replace','OPEN','extensions','type','nextTick','prototype','Sec-WebSocket-Extensions','base64','text/plain','reset','_firstFragment','exports','_closeFrameReceived','client_no_context_takeover','157736EOrXcq','values','completeUpgrade','\x22\x20subprotocol\x20is\x20duplicated','kByteLength','_closeMessage','_fragmented','sec-websocket-origin','redirect','finished','Upgrade','target','hasOwnProperty','kError','set','_url','username','_maxPayload','clientNoContextTakeover','entries','value','serverMaxWindowBits','includes','cleanup','haveLength','21occPZh','1577130zYPSHS','setHeader','setConfig','format','search','pow','setNoDelay','_readableState','kListener','listening','Invalid\x20HTTP\x20method','allocUnsafe','abort','GET','size','offer','_deflate','shouldHandle','HTTP/1.1\x20','accept','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','acceptAsClient','_skipUTF8Validation','concurrencyLimit','toString','binaryType','pathname','onStarting','status-code','CLOSING','permessage-deflate','onmessage','nodebuffer','threshold','options','unshift','startLoop','_configService','error','_shouldEmitClose','_masked','Invalid\x20URL:\x20','Unexpected\x20character\x20at\x20index\x20','Server\x20sent\x20an\x20invalid\x20subprotocol','uncork','client_max_window_bits','Origin','_state','conclude','emitClose','http:','writeUIntBE','toStringTag','handleEvent','_generateMask','362340kunPzt','write','resume','WS_ERR_EXPECTED_MASK','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','915272tFDImV','decompress','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','host','bufferedAmount'];_0xc356=function(){return _0x34d972;};return _0xc356();}function ut(_0x5a0c1b){const _0x367d61=_0x56fa89;if(Object[_0x367d61(0xa0)]['hasOwnProperty'][_0x367d61(0x1b0)](_0x5a0c1b,_0x367d61(0x20d)))return _0x5a0c1b;var _0x23028d=_0x5a0c1b[_0x367d61(0x1f3)];if(typeof _0x23028d==_0x367d61(0x135)){var _0xa24a8c=function _0x2614ba(){const _0x3be648=_0x367d61;return this instanceof _0x2614ba?Reflect[_0x3be648(0x20f)](_0x23028d,arguments,this[_0x3be648(0x1ad)]):_0x23028d[_0x3be648(0x222)](this,arguments);};_0xa24a8c['prototype']=_0x23028d['prototype'];}else _0xa24a8c={};return Object[_0x367d61(0x1b3)](_0xa24a8c,_0x367d61(0x20d),{'value':!0x0}),Object[_0x367d61(0x86)](_0x5a0c1b)[_0x367d61(0x20c)](function(_0x483c48){const _0x294588=_0x367d61;var _0x13d143=Object[_0x294588(0x91)](_0x5a0c1b,_0x483c48);Object[_0x294588(0x1b3)](_0xa24a8c,_0x483c48,_0x13d143['get']?_0x13d143:{'enumerable':!0x0,'get':function(){return _0x5a0c1b[_0x483c48];}});}),_0xa24a8c;}var te={'exports':{}},ge,Ye;function V(){const _0x3f484d=_0x56fa89;if(Ye)return ge;Ye=0x1;const _0x486274=[_0x3f484d(0xe3),'arraybuffer','fragments'],_0x567215=typeof Blob<'u';return _0x567215&&_0x486274[_0x3f484d(0x19e)]('blob'),ge={'BINARY_TYPES':_0x486274,'EMPTY_BUFFER':Buffer[_0x3f484d(0x19b)](0x0),'GUID':_0x3f484d(0x130),'hasBlob':_0x567215,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x3f484d(0xcb)),'kStatusCode':Symbol(_0x3f484d(0xdf)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x56fa89(0x157)](Object[_0x56fa89(0x1b3)]({'__proto__':null,'default':Wt},Symbol[_0x56fa89(0xf7)],{'value':_0x56fa89(0x132)})),Vt=ut(Gt);var Ke;function ce(){const _0x5033ba=_0x56fa89;if(Ke)return te[_0x5033ba(0xa6)];Ke=0x1;const {EMPTY_BUFFER:_0x326d72}=V(),_0x5264db=Buffer[Symbol[_0x5033ba(0x183)]];function _0x565167(_0x15619b,_0x3824cf){const _0x59d281=_0x5033ba;if(_0x15619b[_0x59d281(0x9a)]===0x0)return _0x326d72;if(_0x15619b['length']===0x1)return _0x15619b[0x0];const _0x1e28a1=Buffer[_0x59d281(0xce)](_0x3824cf);let _0x3fb087=0x0;for(let _0x29cb34=0x0;_0x29cb34<_0x15619b[_0x59d281(0x9a)];_0x29cb34++){const _0x5474fe=_0x15619b[_0x29cb34];_0x1e28a1['set'](_0x5474fe,_0x3fb087),_0x3fb087+=_0x5474fe[_0x59d281(0x9a)];}return _0x3fb087<_0x3824cf?new _0x5264db(_0x1e28a1['buffer'],_0x1e28a1[_0x59d281(0x1fb)],_0x3fb087):_0x1e28a1;}function _0x1b68e9(_0x4a6b90,_0x3cfeae,_0x4af147,_0x5d8a2e,_0x4c5a01){for(let _0x47da4f=0x0;_0x47da4f<_0x4c5a01;_0x47da4f++)_0x4af147[_0x5d8a2e+_0x47da4f]=_0x4a6b90[_0x47da4f]^_0x3cfeae[_0x47da4f&0x3];}function _0x480bb3(_0x25757f,_0x4c48d3){const _0x3ecc97=_0x5033ba;for(let _0x57b10d=0x0;_0x57b10d<_0x25757f[_0x3ecc97(0x9a)];_0x57b10d++)_0x25757f[_0x57b10d]^=_0x4c48d3[_0x57b10d&0x3];}function _0x2ee9dc(_0x3a3720){const _0x87f060=_0x5033ba;return _0x3a3720[_0x87f060(0x9a)]===_0x3a3720[_0x87f060(0x12c)][_0x87f060(0x77)]?_0x3a3720[_0x87f060(0x12c)]:_0x3a3720['buffer'][_0x87f060(0x1dd)](_0x3a3720['byteOffset'],_0x3a3720[_0x87f060(0x1fb)]+_0x3a3720[_0x87f060(0x9a)]);}function _0x54eda6(_0x3cc74a){const _0x3bc1c3=_0x5033ba;if(_0x54eda6[_0x3bc1c3(0x20b)]=!0x0,Buffer[_0x3bc1c3(0x17d)](_0x3cc74a))return _0x3cc74a;let _0x224737;return _0x3cc74a instanceof ArrayBuffer?_0x224737=new _0x5264db(_0x3cc74a):ArrayBuffer['isView'](_0x3cc74a)?_0x224737=new _0x5264db(_0x3cc74a[_0x3bc1c3(0x12c)],_0x3cc74a[_0x3bc1c3(0x1fb)],_0x3cc74a['byteLength']):(_0x224737=Buffer['from'](_0x3cc74a),_0x54eda6[_0x3bc1c3(0x20b)]=!0x1),_0x224737;}if(te[_0x5033ba(0xa6)]={'concat':_0x565167,'mask':_0x1b68e9,'toArrayBuffer':_0x2ee9dc,'toBuffer':_0x54eda6,'unmask':_0x480bb3},!process[_0x5033ba(0x109)][_0x5033ba(0x1e4)])try{const _0x29b9a4=Vt;te[_0x5033ba(0xa6)][_0x5033ba(0x8d)]=function(_0x222ffa,_0x19ae3c,_0x8094e0,_0x170d4c,_0x449dca){_0x449dca<0x30?_0x1b68e9(_0x222ffa,_0x19ae3c,_0x8094e0,_0x170d4c,_0x449dca):_0x29b9a4['mask'](_0x222ffa,_0x19ae3c,_0x8094e0,_0x170d4c,_0x449dca);},te[_0x5033ba(0xa6)][_0x5033ba(0x14b)]=function(_0x2e3b4f,_0x284f0c){const _0x4b4eaa=_0x5033ba;_0x2e3b4f[_0x4b4eaa(0x9a)]<0x20?_0x480bb3(_0x2e3b4f,_0x284f0c):_0x29b9a4['unmask'](_0x2e3b4f,_0x284f0c);};}catch{}return te[_0x5033ba(0xa6)];}var ye,Xe;function qt(){const _0x353668=_0x56fa89;if(Xe)return ye;Xe=0x1;const _0xb2b6e4=Symbol(_0x353668(0x141)),_0x4e25be=Symbol(_0x353668(0x112));class _0x5cbc15{constructor(_0x24261d){const _0x5c792f=_0x353668;this[_0xb2b6e4]=()=>{const _0x2e8957=_0x3c64;this[_0x2e8957(0x125)]--,this[_0x4e25be]();},this[_0x5c792f(0x17f)]=_0x24261d||0x1/0x0,this[_0x5c792f(0x214)]=[],this[_0x5c792f(0x125)]=0x0;}[_0x353668(0x1b6)](_0x5c72f0){const _0x3730de=_0x353668;this[_0x3730de(0x214)][_0x3730de(0x19e)](_0x5c72f0),this[_0x4e25be]();}[_0x4e25be](){const _0x4012c9=_0x353668;if(this[_0x4012c9(0x125)]!==this[_0x4012c9(0x17f)]&&this[_0x4012c9(0x214)]['length']){const _0x279325=this[_0x4012c9(0x214)][_0x4012c9(0x15f)]();this[_0x4012c9(0x125)]++,_0x279325(this[_0xb2b6e4]);}}}return ye=_0x5cbc15,ye;}function _0x3c64(_0x4060c2,_0x13c797){const _0xc35649=_0xc356();return _0x3c64=function(_0x3c64ee,_0x50b3ae){_0x3c64ee=_0x3c64ee-0x77;let _0x4ad425=_0xc35649[_0x3c64ee];return _0x4ad425;},_0x3c64(_0x4060c2,_0x13c797);}var ve,Ze;function he(){const _0x2fb39e=_0x56fa89;if(Ze)return ve;Ze=0x1;const _0x26f2a2=_0x4ddb03,_0x554ae1=ce(),_0x206d10=qt(),{kStatusCode:_0x3f30e4}=V(),_0x3880e3=Buffer[Symbol[_0x2fb39e(0x183)]],_0x4f0104=Buffer[_0x2fb39e(0x217)]([0x0,0x0,0xff,0xff]),_0x1170af=Symbol('permessage-deflate'),_0x481f66=Symbol('total-length'),_0x15d393=Symbol('callback'),_0x1044c1=Symbol(_0x2fb39e(0x216)),_0x4f5254=Symbol(_0x2fb39e(0xe9));let _0x336058;class _0x2adc70{constructor(_0x2a5e8a,_0x19b448,_0x40f21a){const _0x3ad9e9=_0x2fb39e;if(this[_0x3ad9e9(0xba)]=_0x40f21a|0x0,this[_0x3ad9e9(0x10a)]=_0x2a5e8a||{},this[_0x3ad9e9(0x7f)]=this[_0x3ad9e9(0x10a)][_0x3ad9e9(0xe4)]!==void 0x0?this[_0x3ad9e9(0x10a)]['threshold']:0x400,this[_0x3ad9e9(0x11f)]=!!_0x19b448,this[_0x3ad9e9(0xd3)]=null,this[_0x3ad9e9(0x1fd)]=null,this[_0x3ad9e9(0x14f)]=null,!_0x336058){const _0x848024=this[_0x3ad9e9(0x10a)][_0x3ad9e9(0xda)]!==void 0x0?this[_0x3ad9e9(0x10a)][_0x3ad9e9(0xda)]:0xa;_0x336058=new _0x206d10(_0x848024);}}static get[_0x2fb39e(0x169)](){const _0xbabcc7=_0x2fb39e;return _0xbabcc7(0xe1);}['offer'](){const _0x383b10=_0x2fb39e,_0xd45aa={};return this[_0x383b10(0x10a)][_0x383b10(0x208)]&&(_0xd45aa['server_no_context_takeover']=!0x0),this[_0x383b10(0x10a)][_0x383b10(0xbb)]&&(_0xd45aa[_0x383b10(0xa8)]=!0x0),this[_0x383b10(0x10a)][_0x383b10(0xbe)]&&(_0xd45aa[_0x383b10(0x170)]=this[_0x383b10(0x10a)]['serverMaxWindowBits']),this[_0x383b10(0x10a)][_0x383b10(0x205)]?_0xd45aa[_0x383b10(0xf0)]=this[_0x383b10(0x10a)][_0x383b10(0x205)]:this['_options'][_0x383b10(0x205)]==null&&(_0xd45aa[_0x383b10(0xf0)]=!0x0),_0xd45aa;}['accept'](_0x24b7f1){const _0x3db87f=_0x2fb39e;return _0x24b7f1=this[_0x3db87f(0x1ca)](_0x24b7f1),this[_0x3db87f(0x14f)]=this[_0x3db87f(0x11f)]?this['acceptAsServer'](_0x24b7f1):this[_0x3db87f(0xd8)](_0x24b7f1),this['params'];}[_0x2fb39e(0xc0)](){const _0x4f809a=_0x2fb39e;if(this['_inflate']&&(this[_0x4f809a(0x1fd)][_0x4f809a(0x11d)](),this['_inflate']=null),this['_deflate']){const _0x1c9c45=this[_0x4f809a(0xd3)][_0x15d393];this[_0x4f809a(0xd3)][_0x4f809a(0x11d)](),this[_0x4f809a(0xd3)]=null,_0x1c9c45&&_0x1c9c45(new Error(_0x4f809a(0x1b8)));}}['acceptAsServer'](_0x5dfdf5){const _0x2940a1=_0x2fb39e,_0x122382=this[_0x2940a1(0x10a)],_0x8a7415=_0x5dfdf5[_0x2940a1(0x201)](_0x527fea=>!(_0x122382[_0x2940a1(0x208)]===!0x1&&_0x527fea['server_no_context_takeover']||_0x527fea[_0x2940a1(0x170)]&&(_0x122382[_0x2940a1(0xbe)]===!0x1||typeof _0x122382[_0x2940a1(0xbe)]=='number'&&_0x122382[_0x2940a1(0xbe)]>_0x527fea[_0x2940a1(0x170)])||typeof _0x122382[_0x2940a1(0x205)]==_0x2940a1(0x21e)&&!_0x527fea[_0x2940a1(0xf0)]));if(!_0x8a7415)throw new Error(_0x2940a1(0x18b));return _0x122382[_0x2940a1(0x208)]&&(_0x8a7415['server_no_context_takeover']=!0x0),_0x122382[_0x2940a1(0xbb)]&&(_0x8a7415[_0x2940a1(0xa8)]=!0x0),typeof _0x122382[_0x2940a1(0xbe)]==_0x2940a1(0x21e)&&(_0x8a7415[_0x2940a1(0x170)]=_0x122382[_0x2940a1(0xbe)]),typeof _0x122382[_0x2940a1(0x205)]=='number'?_0x8a7415['client_max_window_bits']=_0x122382['clientMaxWindowBits']:(_0x8a7415['client_max_window_bits']===!0x0||_0x122382[_0x2940a1(0x205)]===!0x1)&&delete _0x8a7415[_0x2940a1(0xf0)],_0x8a7415;}['acceptAsClient'](_0x4febe4){const _0x42a92b=_0x2fb39e,_0x1efdb2=_0x4febe4[0x0];if(this[_0x42a92b(0x10a)]['clientNoContextTakeover']===!0x1&&_0x1efdb2[_0x42a92b(0xa8)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x1efdb2[_0x42a92b(0xf0)])typeof this[_0x42a92b(0x10a)][_0x42a92b(0x205)]==_0x42a92b(0x21e)&&(_0x1efdb2[_0x42a92b(0xf0)]=this[_0x42a92b(0x10a)][_0x42a92b(0x205)]);else{if(this[_0x42a92b(0x10a)]['clientMaxWindowBits']===!0x1||typeof this[_0x42a92b(0x10a)][_0x42a92b(0x205)]==_0x42a92b(0x21e)&&_0x1efdb2[_0x42a92b(0xf0)]>this[_0x42a92b(0x10a)][_0x42a92b(0x205)])throw new Error(_0x42a92b(0x94));}return _0x1efdb2;}['normalizeParams'](_0x38a0be){return _0x38a0be['forEach'](_0x40aeb1=>{const _0x376cd7=_0x3c64;Object[_0x376cd7(0x86)](_0x40aeb1)[_0x376cd7(0x20c)](_0x322e88=>{const _0x209961=_0x376cd7;let _0x3051f3=_0x40aeb1[_0x322e88];if(_0x3051f3['length']>0x1)throw new Error('Parameter\x20\x22'+_0x322e88+_0x209961(0x1a0));if(_0x3051f3=_0x3051f3[0x0],_0x322e88===_0x209961(0xf0)){if(_0x3051f3!==!0x0){const _0xe2241e=+_0x3051f3;if(!Number['isInteger'](_0xe2241e)||_0xe2241e<0x8||_0xe2241e>0xf)throw new TypeError(_0x209961(0x176)+_0x322e88+_0x209961(0x107)+_0x3051f3);_0x3051f3=_0xe2241e;}else{if(!this[_0x209961(0x11f)])throw new TypeError(_0x209961(0x176)+_0x322e88+'\x22:\x20'+_0x3051f3);}}else{if(_0x322e88===_0x209961(0x170)){const _0x341181=+_0x3051f3;if(!Number[_0x209961(0x199)](_0x341181)||_0x341181<0x8||_0x341181>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x322e88+_0x209961(0x107)+_0x3051f3);_0x3051f3=_0x341181;}else{if(_0x322e88===_0x209961(0xa8)||_0x322e88===_0x209961(0x119)){if(_0x3051f3!==!0x0)throw new TypeError(_0x209961(0x176)+_0x322e88+_0x209961(0x107)+_0x3051f3);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x322e88+'\x22');}}_0x40aeb1[_0x322e88]=_0x3051f3;});}),_0x38a0be;}['decompress'](_0x2793df,_0x3b8053,_0x5391fb){const _0x413859=_0x2fb39e;_0x336058[_0x413859(0x1b6)](_0x365d44=>{const _0x44f8c9=_0x413859;this[_0x44f8c9(0x204)](_0x2793df,_0x3b8053,(_0x2cf35f,_0x287ad0)=>{_0x365d44(),_0x5391fb(_0x2cf35f,_0x287ad0);});});}[_0x2fb39e(0x159)](_0x3f1104,_0x369085,_0x2fde44){const _0x519b04=_0x2fb39e;_0x336058[_0x519b04(0x1b6)](_0x443d47=>{const _0x530735=_0x519b04;this[_0x530735(0x1f6)](_0x3f1104,_0x369085,(_0xd111a1,_0x4c264a)=>{_0x443d47(),_0x2fde44(_0xd111a1,_0x4c264a);});});}[_0x2fb39e(0x204)](_0x1cc1ce,_0x9bf17b,_0x1e9cea){const _0x27998a=_0x2fb39e,_0x58992f=this[_0x27998a(0x11f)]?_0x27998a(0x173):_0x27998a(0x1a2);if(!this[_0x27998a(0x1fd)]){const _0x35ca73=_0x58992f+_0x27998a(0x1f0),_0xffd227=typeof this[_0x27998a(0x14f)][_0x35ca73]!='number'?_0x26f2a2[_0x27998a(0x1a1)]:this['params'][_0x35ca73];this[_0x27998a(0x1fd)]=_0x26f2a2['createInflateRaw']({...this[_0x27998a(0x10a)][_0x27998a(0x175)],'windowBits':_0xffd227}),this[_0x27998a(0x1fd)][_0x1170af]=this,this[_0x27998a(0x1fd)][_0x481f66]=0x0,this[_0x27998a(0x1fd)][_0x1044c1]=[],this[_0x27998a(0x1fd)]['on'](_0x27998a(0xe9),_0x55ded5),this['_inflate']['on'](_0x27998a(0x209),_0x1cbc37);}this['_inflate'][_0x15d393]=_0x1e9cea,this[_0x27998a(0x1fd)][_0x27998a(0xfb)](_0x1cc1ce),_0x9bf17b&&this[_0x27998a(0x1fd)]['write'](_0x4f0104),this[_0x27998a(0x1fd)][_0x27998a(0x174)](()=>{const _0x5b75c2=_0x27998a,_0x43a7f6=this[_0x5b75c2(0x1fd)][_0x4f5254];if(_0x43a7f6){this['_inflate']['close'](),this[_0x5b75c2(0x1fd)]=null,_0x1e9cea(_0x43a7f6);return;}const _0x39562b=_0x554ae1[_0x5b75c2(0x1cf)](this[_0x5b75c2(0x1fd)][_0x1044c1],this['_inflate'][_0x481f66]);this[_0x5b75c2(0x1fd)]['_readableState']['endEmitted']?(this['_inflate'][_0x5b75c2(0x11d)](),this[_0x5b75c2(0x1fd)]=null):(this[_0x5b75c2(0x1fd)][_0x481f66]=0x0,this[_0x5b75c2(0x1fd)][_0x1044c1]=[],_0x9bf17b&&this[_0x5b75c2(0x14f)][_0x58992f+_0x5b75c2(0x191)]&&this[_0x5b75c2(0x1fd)][_0x5b75c2(0xa4)]()),_0x1e9cea(null,_0x39562b);});}[_0x2fb39e(0x1f6)](_0x7a94cf,_0x526534,_0x3de73f){const _0x980c95=_0x2fb39e,_0x3bb728=this[_0x980c95(0x11f)]?_0x980c95(0x1a2):_0x980c95(0x173);if(!this['_deflate']){const _0xa08257=_0x3bb728+_0x980c95(0x1f0),_0x4c8536=typeof this['params'][_0xa08257]!='number'?_0x26f2a2['Z_DEFAULT_WINDOWBITS']:this['params'][_0xa08257];this['_deflate']=_0x26f2a2['createDeflateRaw']({...this['_options'][_0x980c95(0x1d6)],'windowBits':_0x4c8536}),this[_0x980c95(0xd3)][_0x481f66]=0x0,this[_0x980c95(0xd3)][_0x1044c1]=[],this[_0x980c95(0xd3)]['on']('data',_0x584678);}this[_0x980c95(0xd3)][_0x15d393]=_0x3de73f,this['_deflate'][_0x980c95(0xfb)](_0x7a94cf),this[_0x980c95(0xd3)]['flush'](_0x26f2a2['Z_SYNC_FLUSH'],()=>{const _0x1df3a2=_0x980c95;if(!this['_deflate'])return;let _0x40cfc7=_0x554ae1['concat'](this[_0x1df3a2(0xd3)][_0x1044c1],this[_0x1df3a2(0xd3)][_0x481f66]);_0x526534&&(_0x40cfc7=new _0x3880e3(_0x40cfc7['buffer'],_0x40cfc7[_0x1df3a2(0x1fb)],_0x40cfc7[_0x1df3a2(0x9a)]-0x4)),this[_0x1df3a2(0xd3)][_0x15d393]=null,this[_0x1df3a2(0xd3)][_0x481f66]=0x0,this[_0x1df3a2(0xd3)][_0x1044c1]=[],_0x526534&&this[_0x1df3a2(0x14f)][_0x3bb728+_0x1df3a2(0x191)]&&this['_deflate'][_0x1df3a2(0xa4)](),_0x3de73f(null,_0x40cfc7);});}}ve=_0x2adc70;function _0x584678(_0x51b88a){const _0x37ea09=_0x2fb39e;this[_0x1044c1][_0x37ea09(0x19e)](_0x51b88a),this[_0x481f66]+=_0x51b88a[_0x37ea09(0x9a)];}function _0x1cbc37(_0x3f374b){const _0x549315=_0x2fb39e;if(this[_0x481f66]+=_0x3f374b[_0x549315(0x9a)],this[_0x1170af][_0x549315(0xba)]<0x1||this[_0x481f66]<=this[_0x1170af][_0x549315(0xba)]){this[_0x1044c1][_0x549315(0x19e)](_0x3f374b);return;}this[_0x4f5254]=new RangeError(_0x549315(0x1ed)),this[_0x4f5254]['code']=_0x549315(0x1a7),this[_0x4f5254][_0x3f30e4]=0x3f1,this[_0x549315(0x21b)](_0x549315(0x209),_0x1cbc37),this[_0x549315(0xa4)]();}function _0x55ded5(_0x2dffff){if(this[_0x1170af]['_inflate']=null,this[_0x4f5254]){this[_0x15d393](this[_0x4f5254]);return;}_0x2dffff[_0x3f30e4]=0x3ef,this[_0x15d393](_0x2dffff);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x56fa89(0x157)](Object['defineProperty']({'__proto__':null,'default':Ht},Symbol['toStringTag'],{'value':'Module'})),Yt=ut(zt);var Qe;function ne(){const _0x11908b=_0x56fa89;if(Qe)return re[_0x11908b(0xa6)];Qe=0x1;const {isUtf8:_0x182b5e}=_0x11350d,{hasBlob:_0x171421}=V(),_0x571c77=[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 _0x56057e(_0x5a4acb){return _0x5a4acb>=0x3e8&&_0x5a4acb<=0x3f6&&_0x5a4acb!==0x3ec&&_0x5a4acb!==0x3ed&&_0x5a4acb!==0x3ee||_0x5a4acb>=0xbb8&&_0x5a4acb<=0x1387;}function _0xdd00e8(_0x3f2cd4){const _0x287bf1=_0x11908b,_0x34d797=_0x3f2cd4[_0x287bf1(0x9a)];let _0x5b1dfe=0x0;for(;_0x5b1dfe<_0x34d797;)if((_0x3f2cd4[_0x5b1dfe]&0x80)===0x0)_0x5b1dfe++;else{if((_0x3f2cd4[_0x5b1dfe]&0xe0)===0xc0){if(_0x5b1dfe+0x1===_0x34d797||(_0x3f2cd4[_0x5b1dfe+0x1]&0xc0)!==0x80||(_0x3f2cd4[_0x5b1dfe]&0xfe)===0xc0)return!0x1;_0x5b1dfe+=0x2;}else{if((_0x3f2cd4[_0x5b1dfe]&0xf0)===0xe0){if(_0x5b1dfe+0x2>=_0x34d797||(_0x3f2cd4[_0x5b1dfe+0x1]&0xc0)!==0x80||(_0x3f2cd4[_0x5b1dfe+0x2]&0xc0)!==0x80||_0x3f2cd4[_0x5b1dfe]===0xe0&&(_0x3f2cd4[_0x5b1dfe+0x1]&0xe0)===0x80||_0x3f2cd4[_0x5b1dfe]===0xed&&(_0x3f2cd4[_0x5b1dfe+0x1]&0xe0)===0xa0)return!0x1;_0x5b1dfe+=0x3;}else{if((_0x3f2cd4[_0x5b1dfe]&0xf8)===0xf0){if(_0x5b1dfe+0x3>=_0x34d797||(_0x3f2cd4[_0x5b1dfe+0x1]&0xc0)!==0x80||(_0x3f2cd4[_0x5b1dfe+0x2]&0xc0)!==0x80||(_0x3f2cd4[_0x5b1dfe+0x3]&0xc0)!==0x80||_0x3f2cd4[_0x5b1dfe]===0xf0&&(_0x3f2cd4[_0x5b1dfe+0x1]&0xf0)===0x80||_0x3f2cd4[_0x5b1dfe]===0xf4&&_0x3f2cd4[_0x5b1dfe+0x1]>0x8f||_0x3f2cd4[_0x5b1dfe]>0xf4)return!0x1;_0x5b1dfe+=0x4;}else return!0x1;}}}return!0x0;}function _0x1ae139(_0x19c00e){const _0x278c3d=_0x11908b;return _0x171421&&typeof _0x19c00e==_0x278c3d(0x1ba)&&typeof _0x19c00e[_0x278c3d(0x215)]==_0x278c3d(0x135)&&typeof _0x19c00e[_0x278c3d(0x9e)]==_0x278c3d(0x16a)&&typeof _0x19c00e['stream']==_0x278c3d(0x135)&&(_0x19c00e[Symbol[_0x278c3d(0xf7)]]==='Blob'||_0x19c00e[Symbol[_0x278c3d(0xf7)]]===_0x278c3d(0x95));}if(re[_0x11908b(0xa6)]={'isBlob':_0x1ae139,'isValidStatusCode':_0x56057e,'isValidUTF8':_0xdd00e8,'tokenChars':_0x571c77},_0x182b5e)re['exports'][_0x11908b(0x106)]=function(_0x5b649c){return _0x5b649c['length']<0x18?_0xdd00e8(_0x5b649c):_0x182b5e(_0x5b649c);};else{if(!process[_0x11908b(0x109)]['WS_NO_UTF_8_VALIDATE'])try{const _0x3690e6=Yt;re[_0x11908b(0xa6)][_0x11908b(0x106)]=function(_0x35bb79){return _0x35bb79['length']<0x20?_0xdd00e8(_0x35bb79):_0x3690e6(_0x35bb79);};}catch{}}return re[_0x11908b(0xa6)];}var Se,Je;function dt(){const _0x9add61=_0x56fa89;if(Je)return Se;Je=0x1;const {Writable:_0x2db07f}=_0xeca166,_0x2ba3fd=he(),{BINARY_TYPES:_0x2de4d4,EMPTY_BUFFER:_0x32f136,kStatusCode:_0xe8ed76,kWebSocket:_0x420963}=V(),{concat:_0x3f92fb,toArrayBuffer:_0x20a4fc,unmask:_0x545d8f}=ce(),{isValidStatusCode:_0x306131,isValidUTF8:_0x3390c1}=ne(),_0x11c1a6=Buffer[Symbol[_0x9add61(0x183)]],_0x261070=0x0,_0x1412f7=0x1,_0x6c2c0a=0x2,_0x1f6b3e=0x3,_0x569d40=0x4,_0x37d939=0x5,_0x12614d=0x6;class _0x47698a extends _0x2db07f{constructor(_0x5512b7={}){const _0x37b4c7=_0x9add61;super(),this['_allowSynchronousEvents']=_0x5512b7[_0x37b4c7(0x161)]!==void 0x0?_0x5512b7[_0x37b4c7(0x161)]:!0x0,this['_binaryType']=_0x5512b7[_0x37b4c7(0xdc)]||_0x2de4d4[0x0],this[_0x37b4c7(0x180)]=_0x5512b7[_0x37b4c7(0x9d)]||{},this['_isServer']=!!_0x5512b7['isServer'],this['_maxPayload']=_0x5512b7[_0x37b4c7(0x149)]|0x0,this['_skipUTF8Validation']=!!_0x5512b7[_0x37b4c7(0x116)],this[_0x420963]=void 0x0,this['_bufferedBytes']=0x0,this[_0x37b4c7(0x111)]=[],this[_0x37b4c7(0x16d)]=!0x1,this['_payloadLength']=0x0,this[_0x37b4c7(0x8e)]=void 0x0,this[_0x37b4c7(0xaf)]=0x0,this[_0x37b4c7(0xeb)]=!0x1,this[_0x37b4c7(0x1f8)]=!0x1,this['_opcode']=0x0,this[_0x37b4c7(0x1ac)]=0x0,this[_0x37b4c7(0x1a3)]=0x0,this[_0x37b4c7(0x1de)]=[],this[_0x37b4c7(0x1fa)]=!0x1,this[_0x37b4c7(0x223)]=!0x1,this[_0x37b4c7(0xf2)]=_0x261070;}[_0x9add61(0x200)](_0x1b0d2d,_0x45ff04,_0x316209){const _0x1f6cec=_0x9add61;if(this[_0x1f6cec(0x1bf)]===0x8&&this[_0x1f6cec(0xf2)]==_0x261070)return _0x316209();this['_bufferedBytes']+=_0x1b0d2d['length'],this['_buffers']['push'](_0x1b0d2d),this[_0x1f6cec(0xe7)](_0x316209);}['consume'](_0x578408){const _0x538568=_0x9add61;if(this[_0x538568(0x1e3)]-=_0x578408,_0x578408===this[_0x538568(0x111)][0x0]['length'])return this['_buffers']['shift']();if(_0x578408<this[_0x538568(0x111)][0x0][_0x538568(0x9a)]){const _0x467bd9=this['_buffers'][0x0];return this[_0x538568(0x111)][0x0]=new _0x11c1a6(_0x467bd9[_0x538568(0x12c)],_0x467bd9[_0x538568(0x1fb)]+_0x578408,_0x467bd9['length']-_0x578408),new _0x11c1a6(_0x467bd9['buffer'],_0x467bd9[_0x538568(0x1fb)],_0x578408);}const _0x3ab9f7=Buffer[_0x538568(0xce)](_0x578408);do{const _0x25e22f=this[_0x538568(0x111)][0x0],_0x391057=_0x3ab9f7[_0x538568(0x9a)]-_0x578408;_0x578408>=_0x25e22f[_0x538568(0x9a)]?_0x3ab9f7[_0x538568(0xb7)](this['_buffers'][_0x538568(0x15f)](),_0x391057):(_0x3ab9f7[_0x538568(0xb7)](new Uint8Array(_0x25e22f[_0x538568(0x12c)],_0x25e22f[_0x538568(0x1fb)],_0x578408),_0x391057),this[_0x538568(0x111)][0x0]=new _0x11c1a6(_0x25e22f[_0x538568(0x12c)],_0x25e22f[_0x538568(0x1fb)]+_0x578408,_0x25e22f[_0x538568(0x9a)]-_0x578408)),_0x578408-=_0x25e22f['length'];}while(_0x578408>0x0);return _0x3ab9f7;}[_0x9add61(0xe7)](_0x43e9d7){const _0x148d75=_0x9add61;this[_0x148d75(0x223)]=!0x0;do switch(this[_0x148d75(0xf2)]){case _0x261070:this[_0x148d75(0x1c5)](_0x43e9d7);break;case _0x1412f7:this[_0x148d75(0x212)](_0x43e9d7);break;case _0x6c2c0a:this[_0x148d75(0x121)](_0x43e9d7);break;case _0x1f6b3e:this['getMask']();break;case _0x569d40:this[_0x148d75(0x123)](_0x43e9d7);break;case _0x37d939:case _0x12614d:this[_0x148d75(0x223)]=!0x1;return;}while(this['_loop']);this[_0x148d75(0x1fa)]||_0x43e9d7();}['getInfo'](_0x46736b){const _0x13e656=_0x9add61;if(this[_0x13e656(0x1e3)]<0x2){this[_0x13e656(0x223)]=!0x1;return;}const _0x580c66=this[_0x13e656(0x190)](0x2);if((_0x580c66[0x0]&0x30)!==0x0){const _0x43b6f2=this[_0x13e656(0x15c)](RangeError,_0x13e656(0x1b7),!0x0,0x3ea,_0x13e656(0x220));_0x46736b(_0x43b6f2);return;}const _0x160546=(_0x580c66[0x0]&0x40)===0x40;if(_0x160546&&!this[_0x13e656(0x180)][_0x2ba3fd[_0x13e656(0x169)]]){const _0x4651c2=this[_0x13e656(0x15c)](RangeError,_0x13e656(0x7a),!0x0,0x3ea,_0x13e656(0x14a));_0x46736b(_0x4651c2);return;}if(this[_0x13e656(0x1f8)]=(_0x580c66[0x0]&0x80)===0x80,this[_0x13e656(0x1bf)]=_0x580c66[0x0]&0xf,this['_payloadLength']=_0x580c66[0x1]&0x7f,this[_0x13e656(0x1bf)]===0x0){if(_0x160546){const _0x680a23=this[_0x13e656(0x15c)](RangeError,_0x13e656(0x7a),!0x0,0x3ea,_0x13e656(0x14a));_0x46736b(_0x680a23);return;}if(!this[_0x13e656(0xaf)]){const _0x5dc309=this[_0x13e656(0x15c)](RangeError,_0x13e656(0x81),!0x0,0x3ea,_0x13e656(0x186));_0x46736b(_0x5dc309);return;}this[_0x13e656(0x1bf)]=this['_fragmented'];}else{if(this[_0x13e656(0x1bf)]===0x1||this[_0x13e656(0x1bf)]===0x2){if(this[_0x13e656(0xaf)]){const _0x4e0c31=this['createError'](RangeError,_0x13e656(0x1c6)+this[_0x13e656(0x1bf)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x46736b(_0x4e0c31);return;}this[_0x13e656(0x16d)]=_0x160546;}else{if(this[_0x13e656(0x1bf)]>0x7&&this[_0x13e656(0x1bf)]<0xb){if(!this['_fin']){const _0x28271b=this[_0x13e656(0x15c)](RangeError,_0x13e656(0x1b1),!0x0,0x3ea,_0x13e656(0x15d));_0x46736b(_0x28271b);return;}if(_0x160546){const _0x513a9a=this[_0x13e656(0x15c)](RangeError,_0x13e656(0x7a),!0x0,0x3ea,_0x13e656(0x14a));_0x46736b(_0x513a9a);return;}if(this[_0x13e656(0x1f5)]>0x7d||this[_0x13e656(0x1bf)]===0x8&&this[_0x13e656(0x1f5)]===0x1){const _0x2e9573=this['createError'](RangeError,_0x13e656(0x131)+this[_0x13e656(0x1f5)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x46736b(_0x2e9573);return;}}else{const _0x3a07b0=this['createError'](RangeError,'invalid\x20opcode\x20'+this[_0x13e656(0x1bf)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x46736b(_0x3a07b0);return;}}}if(!this['_fin']&&!this[_0x13e656(0xaf)]&&(this[_0x13e656(0xaf)]=this[_0x13e656(0x1bf)]),this[_0x13e656(0xeb)]=(_0x580c66[0x1]&0x80)===0x80,this[_0x13e656(0x11f)]){if(!this['_masked']){const _0x5f380e=this[_0x13e656(0x15c)](RangeError,_0x13e656(0x10e),!0x0,0x3ea,_0x13e656(0xfd));_0x46736b(_0x5f380e);return;}}else{if(this[_0x13e656(0xeb)]){const _0x2e3e00=this[_0x13e656(0x15c)](RangeError,_0x13e656(0x164),!0x0,0x3ea,_0x13e656(0x146));_0x46736b(_0x2e3e00);return;}}this[_0x13e656(0x1f5)]===0x7e?this['_state']=_0x1412f7:this[_0x13e656(0x1f5)]===0x7f?this[_0x13e656(0xf2)]=_0x6c2c0a:this[_0x13e656(0xc1)](_0x46736b);}[_0x9add61(0x212)](_0x13b561){const _0x3ac5d8=_0x9add61;if(this[_0x3ac5d8(0x1e3)]<0x2){this['_loop']=!0x1;return;}this[_0x3ac5d8(0x1f5)]=this[_0x3ac5d8(0x190)](0x2)[_0x3ac5d8(0x1e9)](0x0),this['haveLength'](_0x13b561);}[_0x9add61(0x121)](_0x5b8402){const _0x41b4a8=_0x9add61;if(this[_0x41b4a8(0x1e3)]<0x8){this['_loop']=!0x1;return;}const _0xd03f95=this[_0x41b4a8(0x190)](0x8),_0x55186e=_0xd03f95[_0x41b4a8(0x193)](0x0);if(_0x55186e>Math[_0x41b4a8(0xc8)](0x2,0x15)-0x1){const _0x3cdab4=this['createError'](RangeError,_0x41b4a8(0xd7),!0x1,0x3f1,_0x41b4a8(0x195));_0x5b8402(_0x3cdab4);return;}this[_0x41b4a8(0x1f5)]=_0x55186e*Math[_0x41b4a8(0xc8)](0x2,0x20)+_0xd03f95[_0x41b4a8(0x193)](0x4),this[_0x41b4a8(0xc1)](_0x5b8402);}[_0x9add61(0xc1)](_0x382ced){const _0x3ec8b6=_0x9add61;if(this[_0x3ec8b6(0x1f5)]&&this[_0x3ec8b6(0x1bf)]<0x8&&(this['_totalPayloadLength']+=this[_0x3ec8b6(0x1f5)],this[_0x3ec8b6(0x1ac)]>this[_0x3ec8b6(0xba)]&&this[_0x3ec8b6(0xba)]>0x0)){const _0x42b1e5=this[_0x3ec8b6(0x15c)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x3ec8b6(0x1a7));_0x382ced(_0x42b1e5);return;}this[_0x3ec8b6(0xeb)]?this['_state']=_0x1f6b3e:this[_0x3ec8b6(0xf2)]=_0x569d40;}[_0x9add61(0x19f)](){const _0x315744=_0x9add61;if(this['_bufferedBytes']<0x4){this['_loop']=!0x1;return;}this['_mask']=this[_0x315744(0x190)](0x4),this[_0x315744(0xf2)]=_0x569d40;}[_0x9add61(0x123)](_0x5f2431){const _0x217517=_0x9add61;let _0x137b95=_0x32f136;if(this[_0x217517(0x1f5)]){if(this['_bufferedBytes']<this['_payloadLength']){this[_0x217517(0x223)]=!0x1;return;}_0x137b95=this['consume'](this[_0x217517(0x1f5)]),this[_0x217517(0xeb)]&&(this[_0x217517(0x8e)][0x0]|this['_mask'][0x1]|this[_0x217517(0x8e)][0x2]|this[_0x217517(0x8e)][0x3])!==0x0&&_0x545d8f(_0x137b95,this['_mask']);}if(this[_0x217517(0x1bf)]>0x7){this['controlMessage'](_0x137b95,_0x5f2431);return;}if(this[_0x217517(0x16d)]){this[_0x217517(0xf2)]=_0x37d939,this[_0x217517(0x101)](_0x137b95,_0x5f2431);return;}_0x137b95[_0x217517(0x9a)]&&(this[_0x217517(0x1a3)]=this['_totalPayloadLength'],this[_0x217517(0x1de)][_0x217517(0x19e)](_0x137b95)),this[_0x217517(0x1f2)](_0x5f2431);}[_0x9add61(0x101)](_0x51eada,_0x3e82e6){const _0x1e3ac6=_0x9add61;this[_0x1e3ac6(0x180)][_0x2ba3fd[_0x1e3ac6(0x169)]][_0x1e3ac6(0x101)](_0x51eada,this[_0x1e3ac6(0x1f8)],(_0x1bb2d1,_0x303388)=>{const _0x609bc8=_0x1e3ac6;if(_0x1bb2d1)return _0x3e82e6(_0x1bb2d1);if(_0x303388[_0x609bc8(0x9a)]){if(this[_0x609bc8(0x1a3)]+=_0x303388[_0x609bc8(0x9a)],this['_messageLength']>this['_maxPayload']&&this[_0x609bc8(0xba)]>0x0){const _0x3651dd=this[_0x609bc8(0x15c)](RangeError,_0x609bc8(0x1ed),!0x1,0x3f1,_0x609bc8(0x1a7));_0x3e82e6(_0x3651dd);return;}this[_0x609bc8(0x1de)]['push'](_0x303388);}this[_0x609bc8(0x1f2)](_0x3e82e6),this['_state']===_0x261070&&this[_0x609bc8(0xe7)](_0x3e82e6);});}[_0x9add61(0x1f2)](_0x37c444){const _0x2108e5=_0x9add61;if(!this[_0x2108e5(0x1f8)]){this[_0x2108e5(0xf2)]=_0x261070;return;}const _0x1b2e90=this['_messageLength'],_0x144da5=this[_0x2108e5(0x1de)];if(this[_0x2108e5(0x1ac)]=0x0,this[_0x2108e5(0x1a3)]=0x0,this[_0x2108e5(0xaf)]=0x0,this[_0x2108e5(0x1de)]=[],this[_0x2108e5(0x1bf)]===0x2){let _0x344882;this['_binaryType']==='nodebuffer'?_0x344882=_0x3f92fb(_0x144da5,_0x1b2e90):this[_0x2108e5(0x20e)]===_0x2108e5(0x11a)?_0x344882=_0x20a4fc(_0x3f92fb(_0x144da5,_0x1b2e90)):this[_0x2108e5(0x20e)]===_0x2108e5(0x15a)?_0x344882=new Blob(_0x144da5):_0x344882=_0x144da5,this[_0x2108e5(0x202)]?(this[_0x2108e5(0x1ae)](_0x2108e5(0x89),_0x344882,!0x0),this[_0x2108e5(0xf2)]=_0x261070):(this['_state']=_0x12614d,setImmediate(()=>{const _0x48de95=_0x2108e5;this[_0x48de95(0x1ae)](_0x48de95(0x89),_0x344882,!0x0),this[_0x48de95(0xf2)]=_0x261070,this[_0x48de95(0xe7)](_0x37c444);}));}else{const _0x277529=_0x3f92fb(_0x144da5,_0x1b2e90);if(!this[_0x2108e5(0xd9)]&&!_0x3390c1(_0x277529)){const _0x66813f=this[_0x2108e5(0x15c)](Error,_0x2108e5(0x18d),!0x0,0x3ef,_0x2108e5(0x151));_0x37c444(_0x66813f);return;}this['_state']===_0x37d939||this[_0x2108e5(0x202)]?(this[_0x2108e5(0x1ae)](_0x2108e5(0x89),_0x277529,!0x1),this[_0x2108e5(0xf2)]=_0x261070):(this['_state']=_0x12614d,setImmediate(()=>{const _0x3a5252=_0x2108e5;this[_0x3a5252(0x1ae)](_0x3a5252(0x89),_0x277529,!0x1),this['_state']=_0x261070,this[_0x3a5252(0xe7)](_0x37c444);}));}}[_0x9add61(0x7d)](_0x2e7e65,_0x3ff0d5){const _0x3444ba=_0x9add61;if(this[_0x3444ba(0x1bf)]===0x8){if(_0x2e7e65['length']===0x0)this['_loop']=!0x1,this[_0x3444ba(0x1ae)](_0x3444ba(0xf3),0x3ed,_0x32f136),this[_0x3444ba(0x1da)]();else{const _0x3377e4=_0x2e7e65[_0x3444ba(0x1e9)](0x0);if(!_0x306131(_0x3377e4)){const _0x270220=this[_0x3444ba(0x15c)](RangeError,_0x3444ba(0x128)+_0x3377e4,!0x0,0x3ea,_0x3444ba(0x85));_0x3ff0d5(_0x270220);return;}const _0x5d0cc8=new _0x11c1a6(_0x2e7e65['buffer'],_0x2e7e65[_0x3444ba(0x1fb)]+0x2,_0x2e7e65[_0x3444ba(0x9a)]-0x2);if(!this['_skipUTF8Validation']&&!_0x3390c1(_0x5d0cc8)){const _0x51d011=this[_0x3444ba(0x15c)](Error,_0x3444ba(0x18d),!0x0,0x3ef,_0x3444ba(0x151));_0x3ff0d5(_0x51d011);return;}this[_0x3444ba(0x223)]=!0x1,this[_0x3444ba(0x1ae)]('conclude',_0x3377e4,_0x5d0cc8),this[_0x3444ba(0x1da)]();}this[_0x3444ba(0xf2)]=_0x261070;return;}this['_allowSynchronousEvents']?(this['emit'](this[_0x3444ba(0x1bf)]===0x9?'ping':_0x3444ba(0x156),_0x2e7e65),this[_0x3444ba(0xf2)]=_0x261070):(this[_0x3444ba(0xf2)]=_0x12614d,setImmediate(()=>{const _0x284383=_0x3444ba;this[_0x284383(0x1ae)](this[_0x284383(0x1bf)]===0x9?_0x284383(0x114):'pong',_0x2e7e65),this[_0x284383(0xf2)]=_0x261070,this[_0x284383(0xe7)](_0x3ff0d5);}));}['createError'](_0x4f5edb,_0x341b53,_0x1d14b6,_0x352143,_0x24d310){const _0x1e5dc8=_0x9add61;this[_0x1e5dc8(0x223)]=!0x1,this[_0x1e5dc8(0x1fa)]=!0x0;const _0x2089e8=new _0x4f5edb(_0x1d14b6?_0x1e5dc8(0x79)+_0x341b53:_0x341b53);return Error[_0x1e5dc8(0x1e2)](_0x2089e8,this['createError']),_0x2089e8['code']=_0x24d310,_0x2089e8[_0xe8ed76]=_0x352143,_0x2089e8;}}return Se=_0x47698a,Se;}var Ee,et;function _t(){const _0x2184a8=_0x56fa89;if(et)return Ee;et=0x1;const {Duplex:_0x14f16a}=_0xeca166,{randomFillSync:_0x515b92}=_0x4b0b4b,_0x1a3ca7=he(),{EMPTY_BUFFER:_0x5607be,kWebSocket:_0x474691,NOOP:_0x1b03cc}=V(),{isBlob:_0x5483ba,isValidStatusCode:_0x3f1803}=ne(),{mask:_0x51b3d3,toBuffer:_0x98b63d}=ce(),_0xa78df9=Symbol(_0x2184a8(0xad)),_0x13a389=Buffer[_0x2184a8(0x19b)](0x4),_0x4697a0=0x8*0x400;let _0x143fd9,_0x4ef320=_0x4697a0;const _0x16edcf=0x0,_0x527f38=0x1,_0x420d57=0x2;class _0x22c672{constructor(_0x3ab6ac,_0x451431,_0x484ad4){const _0x1b48e4=_0x2184a8;this[_0x1b48e4(0x180)]=_0x451431||{},_0x484ad4&&(this[_0x1b48e4(0xf9)]=_0x484ad4,this['_maskBuffer']=Buffer[_0x1b48e4(0x19b)](0x4)),this[_0x1b48e4(0x108)]=_0x3ab6ac,this[_0x1b48e4(0xa5)]=!0x0,this[_0x1b48e4(0x1f6)]=!0x1,this[_0x1b48e4(0x1e3)]=0x0,this[_0x1b48e4(0x13b)]=[],this[_0x1b48e4(0xf2)]=_0x16edcf,this[_0x1b48e4(0x165)]=_0x1b03cc,this[_0x474691]=void 0x0;}static[_0x2184a8(0x196)](_0x5b0e5b,_0x9547a1){const _0x408a15=_0x2184a8;let _0x115191,_0x18219a=!0x1,_0x2a4072=0x2,_0x119fff=!0x1;_0x9547a1[_0x408a15(0x8d)]&&(_0x115191=_0x9547a1[_0x408a15(0x20a)]||_0x13a389,_0x9547a1[_0x408a15(0x105)]?_0x9547a1[_0x408a15(0x105)](_0x115191):(_0x4ef320===_0x4697a0&&(_0x143fd9===void 0x0&&(_0x143fd9=Buffer[_0x408a15(0x19b)](_0x4697a0)),_0x515b92(_0x143fd9,0x0,_0x4697a0),_0x4ef320=0x0),_0x115191[0x0]=_0x143fd9[_0x4ef320++],_0x115191[0x1]=_0x143fd9[_0x4ef320++],_0x115191[0x2]=_0x143fd9[_0x4ef320++],_0x115191[0x3]=_0x143fd9[_0x4ef320++]),_0x119fff=(_0x115191[0x0]|_0x115191[0x1]|_0x115191[0x2]|_0x115191[0x3])===0x0,_0x2a4072=0x6);let _0x1e7625;typeof _0x5b0e5b==_0x408a15(0x16a)?(!_0x9547a1[_0x408a15(0x8d)]||_0x119fff)&&_0x9547a1[_0xa78df9]!==void 0x0?_0x1e7625=_0x9547a1[_0xa78df9]:(_0x5b0e5b=Buffer[_0x408a15(0x217)](_0x5b0e5b),_0x1e7625=_0x5b0e5b[_0x408a15(0x9a)]):(_0x1e7625=_0x5b0e5b[_0x408a15(0x9a)],_0x18219a=_0x9547a1['mask']&&_0x9547a1['readOnly']&&!_0x119fff);let _0x2db129=_0x1e7625;_0x1e7625>=0x10000?(_0x2a4072+=0x8,_0x2db129=0x7f):_0x1e7625>0x7d&&(_0x2a4072+=0x2,_0x2db129=0x7e);const _0x4dcf33=Buffer[_0x408a15(0xce)](_0x18219a?_0x1e7625+_0x2a4072:_0x2a4072);return _0x4dcf33[0x0]=_0x9547a1[_0x408a15(0x207)]?_0x9547a1[_0x408a15(0x1c7)]|0x80:_0x9547a1[_0x408a15(0x1c7)],_0x9547a1[_0x408a15(0x1e1)]&&(_0x4dcf33[0x0]|=0x40),_0x4dcf33[0x1]=_0x2db129,_0x2db129===0x7e?_0x4dcf33['writeUInt16BE'](_0x1e7625,0x2):_0x2db129===0x7f&&(_0x4dcf33[0x2]=_0x4dcf33[0x3]=0x0,_0x4dcf33[_0x408a15(0xf6)](_0x1e7625,0x4,0x6)),_0x9547a1[_0x408a15(0x8d)]?(_0x4dcf33[0x1]|=0x80,_0x4dcf33[_0x2a4072-0x4]=_0x115191[0x0],_0x4dcf33[_0x2a4072-0x3]=_0x115191[0x1],_0x4dcf33[_0x2a4072-0x2]=_0x115191[0x2],_0x4dcf33[_0x2a4072-0x1]=_0x115191[0x3],_0x119fff?[_0x4dcf33,_0x5b0e5b]:_0x18219a?(_0x51b3d3(_0x5b0e5b,_0x115191,_0x4dcf33,_0x2a4072,_0x1e7625),[_0x4dcf33]):(_0x51b3d3(_0x5b0e5b,_0x115191,_0x5b0e5b,0x0,_0x1e7625),[_0x4dcf33,_0x5b0e5b])):[_0x4dcf33,_0x5b0e5b];}[_0x2184a8(0x11d)](_0x5f513,_0x4739c6,_0x20222e,_0x195fab){const _0x5a2218=_0x2184a8;let _0x20e20c;if(_0x5f513===void 0x0)_0x20e20c=_0x5607be;else{if(typeof _0x5f513!=_0x5a2218(0x21e)||!_0x3f1803(_0x5f513))throw new TypeError(_0x5a2218(0x15b));if(_0x4739c6===void 0x0||!_0x4739c6['length'])_0x20e20c=Buffer[_0x5a2218(0xce)](0x2),_0x20e20c[_0x5a2218(0x160)](_0x5f513,0x0);else{const _0x294ce2=Buffer[_0x5a2218(0x77)](_0x4739c6);if(_0x294ce2>0x7b)throw new RangeError(_0x5a2218(0x11e));_0x20e20c=Buffer['allocUnsafe'](0x2+_0x294ce2),_0x20e20c[_0x5a2218(0x160)](_0x5f513,0x0),typeof _0x4739c6=='string'?_0x20e20c['write'](_0x4739c6,0x2):_0x20e20c[_0x5a2218(0xb7)](_0x4739c6,0x2);}}const _0xa2fcff={[_0xa78df9]:_0x20e20c[_0x5a2218(0x9a)],'fin':!0x0,'generateMask':this[_0x5a2218(0xf9)],'mask':_0x20222e,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x16edcf?this[_0x5a2218(0x127)]([this[_0x5a2218(0x1c4)],_0x20e20c,!0x1,_0xa2fcff,_0x195fab]):this[_0x5a2218(0x155)](_0x22c672[_0x5a2218(0x196)](_0x20e20c,_0xa2fcff),_0x195fab);}[_0x2184a8(0x114)](_0x52595e,_0x5eb9ac,_0x4e7a64){const _0x30fd67=_0x2184a8;let _0x36ed73,_0x222305;if(typeof _0x52595e==_0x30fd67(0x16a)?(_0x36ed73=Buffer[_0x30fd67(0x77)](_0x52595e),_0x222305=!0x1):_0x5483ba(_0x52595e)?(_0x36ed73=_0x52595e[_0x30fd67(0xd1)],_0x222305=!0x1):(_0x52595e=_0x98b63d(_0x52595e),_0x36ed73=_0x52595e['length'],_0x222305=_0x98b63d[_0x30fd67(0x20b)]),_0x36ed73>0x7d)throw new RangeError(_0x30fd67(0x102));const _0x47104b={[_0xa78df9]:_0x36ed73,'fin':!0x0,'generateMask':this[_0x30fd67(0xf9)],'mask':_0x5eb9ac,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x222305,'rsv1':!0x1};_0x5483ba(_0x52595e)?this[_0x30fd67(0xf2)]!==_0x16edcf?this[_0x30fd67(0x127)]([this[_0x30fd67(0x1c9)],_0x52595e,!0x1,_0x47104b,_0x4e7a64]):this[_0x30fd67(0x1c9)](_0x52595e,!0x1,_0x47104b,_0x4e7a64):this[_0x30fd67(0xf2)]!==_0x16edcf?this[_0x30fd67(0x127)]([this[_0x30fd67(0x1c4)],_0x52595e,!0x1,_0x47104b,_0x4e7a64]):this['sendFrame'](_0x22c672[_0x30fd67(0x196)](_0x52595e,_0x47104b),_0x4e7a64);}[_0x2184a8(0x156)](_0x127e8f,_0x302513,_0x4e085d){const _0x1b0fc2=_0x2184a8;let _0x37f7ab,_0x70071f;if(typeof _0x127e8f=='string'?(_0x37f7ab=Buffer['byteLength'](_0x127e8f),_0x70071f=!0x1):_0x5483ba(_0x127e8f)?(_0x37f7ab=_0x127e8f['size'],_0x70071f=!0x1):(_0x127e8f=_0x98b63d(_0x127e8f),_0x37f7ab=_0x127e8f['length'],_0x70071f=_0x98b63d[_0x1b0fc2(0x20b)]),_0x37f7ab>0x7d)throw new RangeError(_0x1b0fc2(0x102));const _0x28b70c={[_0xa78df9]:_0x37f7ab,'fin':!0x0,'generateMask':this[_0x1b0fc2(0xf9)],'mask':_0x302513,'maskBuffer':this[_0x1b0fc2(0x143)],'opcode':0xa,'readOnly':_0x70071f,'rsv1':!0x1};_0x5483ba(_0x127e8f)?this[_0x1b0fc2(0xf2)]!==_0x16edcf?this['enqueue']([this[_0x1b0fc2(0x1c9)],_0x127e8f,!0x1,_0x28b70c,_0x4e085d]):this['getBlobData'](_0x127e8f,!0x1,_0x28b70c,_0x4e085d):this[_0x1b0fc2(0xf2)]!==_0x16edcf?this[_0x1b0fc2(0x127)]([this['dispatch'],_0x127e8f,!0x1,_0x28b70c,_0x4e085d]):this[_0x1b0fc2(0x155)](_0x22c672[_0x1b0fc2(0x196)](_0x127e8f,_0x28b70c),_0x4e085d);}['send'](_0x170f9d,_0x1788ba,_0x3f0f86){const _0x4a0a78=_0x2184a8,_0xe38819=this['_extensions'][_0x1a3ca7['extensionName']];let _0x203a42=_0x1788ba[_0x4a0a78(0x227)]?0x2:0x1,_0x1e764d=_0x1788ba[_0x4a0a78(0x159)],_0x4c8a3e,_0x4ba3ec;typeof _0x170f9d==_0x4a0a78(0x16a)?(_0x4c8a3e=Buffer[_0x4a0a78(0x77)](_0x170f9d),_0x4ba3ec=!0x1):_0x5483ba(_0x170f9d)?(_0x4c8a3e=_0x170f9d[_0x4a0a78(0xd1)],_0x4ba3ec=!0x1):(_0x170f9d=_0x98b63d(_0x170f9d),_0x4c8a3e=_0x170f9d['length'],_0x4ba3ec=_0x98b63d[_0x4a0a78(0x20b)]),this[_0x4a0a78(0xa5)]?(this['_firstFragment']=!0x1,_0x1e764d&&_0xe38819&&_0xe38819[_0x4a0a78(0x14f)][_0xe38819[_0x4a0a78(0x11f)]?_0x4a0a78(0x119):_0x4a0a78(0xa8)]&&(_0x1e764d=_0x4c8a3e>=_0xe38819[_0x4a0a78(0x7f)]),this[_0x4a0a78(0x1f6)]=_0x1e764d):(_0x1e764d=!0x1,_0x203a42=0x0),_0x1788ba[_0x4a0a78(0x207)]&&(this[_0x4a0a78(0xa5)]=!0x0);const _0x37a62c={[_0xa78df9]:_0x4c8a3e,'fin':_0x1788ba[_0x4a0a78(0x207)],'generateMask':this[_0x4a0a78(0xf9)],'mask':_0x1788ba[_0x4a0a78(0x8d)],'maskBuffer':this[_0x4a0a78(0x143)],'opcode':_0x203a42,'readOnly':_0x4ba3ec,'rsv1':_0x1e764d};_0x5483ba(_0x170f9d)?this['_state']!==_0x16edcf?this['enqueue']([this['getBlobData'],_0x170f9d,this['_compress'],_0x37a62c,_0x3f0f86]):this[_0x4a0a78(0x1c9)](_0x170f9d,this[_0x4a0a78(0x1f6)],_0x37a62c,_0x3f0f86):this['_state']!==_0x16edcf?this[_0x4a0a78(0x127)]([this[_0x4a0a78(0x1c4)],_0x170f9d,this[_0x4a0a78(0x1f6)],_0x37a62c,_0x3f0f86]):this['dispatch'](_0x170f9d,this[_0x4a0a78(0x1f6)],_0x37a62c,_0x3f0f86);}[_0x2184a8(0x1c9)](_0x44320c,_0x242279,_0x2e2a84,_0x89cb87){const _0x5cdcb3=_0x2184a8;this['_bufferedBytes']+=_0x2e2a84[_0xa78df9],this[_0x5cdcb3(0xf2)]=_0x420d57,_0x44320c[_0x5cdcb3(0x215)]()[_0x5cdcb3(0x10c)](_0x23c440=>{const _0x40ffff=_0x5cdcb3;if(this[_0x40ffff(0x108)][_0x40ffff(0x8b)]){const _0x10d72d=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x40ffff(0x9f)](_0x511dd1,this,_0x10d72d,_0x89cb87);return;}this[_0x40ffff(0x1e3)]-=_0x2e2a84[_0xa78df9];const _0x1fa692=_0x98b63d(_0x23c440);_0x242279?this[_0x40ffff(0x1c4)](_0x1fa692,_0x242279,_0x2e2a84,_0x89cb87):(this[_0x40ffff(0xf2)]=_0x16edcf,this[_0x40ffff(0x155)](_0x22c672[_0x40ffff(0x196)](_0x1fa692,_0x2e2a84),_0x89cb87),this[_0x40ffff(0x19c)]());})[_0x5cdcb3(0x1be)](_0x5a7415=>{process['nextTick'](_0x19ddca,this,_0x5a7415,_0x89cb87);});}[_0x2184a8(0x1c4)](_0x45df2e,_0x4b6e43,_0x883460,_0x4f80ea){const _0x3eef42=_0x2184a8;if(!_0x4b6e43){this['sendFrame'](_0x22c672[_0x3eef42(0x196)](_0x45df2e,_0x883460),_0x4f80ea);return;}const _0x542b33=this[_0x3eef42(0x180)][_0x1a3ca7['extensionName']];this[_0x3eef42(0x1e3)]+=_0x883460[_0xa78df9],this[_0x3eef42(0xf2)]=_0x527f38,_0x542b33['compress'](_0x45df2e,_0x883460[_0x3eef42(0x207)],(_0x93dfcf,_0xfb64aa)=>{const _0x2e08ff=_0x3eef42;if(this['_socket'][_0x2e08ff(0x8b)]){const _0x5d1028=new Error(_0x2e08ff(0x1cd));_0x511dd1(this,_0x5d1028,_0x4f80ea);return;}this[_0x2e08ff(0x1e3)]-=_0x883460[_0xa78df9],this[_0x2e08ff(0xf2)]=_0x16edcf,_0x883460['readOnly']=!0x1,this[_0x2e08ff(0x155)](_0x22c672[_0x2e08ff(0x196)](_0xfb64aa,_0x883460),_0x4f80ea),this['dequeue']();});}[_0x2184a8(0x19c)](){const _0x34bfa4=_0x2184a8;for(;this[_0x34bfa4(0xf2)]===_0x16edcf&&this[_0x34bfa4(0x13b)][_0x34bfa4(0x9a)];){const _0x5b6d0b=this['_queue'][_0x34bfa4(0x15f)]();this[_0x34bfa4(0x1e3)]-=_0x5b6d0b[0x3][_0xa78df9],Reflect['apply'](_0x5b6d0b[0x0],this,_0x5b6d0b['slice'](0x1));}}['enqueue'](_0x468169){const _0x3f343f=_0x2184a8;this['_bufferedBytes']+=_0x468169[0x3][_0xa78df9],this[_0x3f343f(0x13b)][_0x3f343f(0x19e)](_0x468169);}['sendFrame'](_0x1328f9,_0xb29fa8){const _0x1737d0=_0x2184a8;_0x1328f9['length']===0x2?(this[_0x1737d0(0x108)]['cork'](),this[_0x1737d0(0x108)]['write'](_0x1328f9[0x0]),this[_0x1737d0(0x108)][_0x1737d0(0xfb)](_0x1328f9[0x1],_0xb29fa8),this[_0x1737d0(0x108)][_0x1737d0(0xef)]()):this[_0x1737d0(0x108)][_0x1737d0(0xfb)](_0x1328f9[0x0],_0xb29fa8);}}Ee=_0x22c672;function _0x511dd1(_0x6dd88a,_0x796005,_0x57c0b5){const _0x539848=_0x2184a8;typeof _0x57c0b5=='function'&&_0x57c0b5(_0x796005);for(let _0x5f1e39=0x0;_0x5f1e39<_0x6dd88a['_queue'][_0x539848(0x9a)];_0x5f1e39++){const _0x49265b=_0x6dd88a[_0x539848(0x13b)][_0x5f1e39],_0xe15426=_0x49265b[_0x49265b['length']-0x1];typeof _0xe15426==_0x539848(0x135)&&_0xe15426(_0x796005);}}function _0x19ddca(_0x2565c9,_0x388508,_0x337834){const _0x3a0aa6=_0x2184a8;_0x511dd1(_0x2565c9,_0x388508,_0x337834),_0x2565c9[_0x3a0aa6(0x165)](_0x388508);}return Ee;}var xe,tt;function Kt(){const _0x447d4b=_0x56fa89;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x90c454,kListener:_0x317f92}=V(),_0x3ba571=Symbol('kCode'),_0x3e0ab4=Symbol(_0x447d4b(0x12b)),_0x2b6714=Symbol(_0x447d4b(0xb6)),_0x412491=Symbol(_0x447d4b(0x1eb)),_0x521fbd=Symbol(_0x447d4b(0x1e8)),_0x5d6bcd=Symbol(_0x447d4b(0x1e7)),_0x375948=Symbol('kType'),_0x46dac9=Symbol('kWasClean');class _0xa0df1f{constructor(_0x471230){this[_0x5d6bcd]=null,this[_0x375948]=_0x471230;}get['target'](){return this[_0x5d6bcd];}get['type'](){return this[_0x375948];}}Object[_0x447d4b(0x1b3)](_0xa0df1f[_0x447d4b(0xa0)],_0x447d4b(0xb4),{'enumerable':!0x0}),Object[_0x447d4b(0x1b3)](_0xa0df1f[_0x447d4b(0xa0)],_0x447d4b(0x9e),{'enumerable':!0x0});class _0x3a0304 extends _0xa0df1f{constructor(_0x117eec,_0x47e343={}){const _0x29cedd=_0x447d4b;super(_0x117eec),this[_0x3ba571]=_0x47e343['code']===void 0x0?0x0:_0x47e343[_0x29cedd(0x88)],this[_0x521fbd]=_0x47e343[_0x29cedd(0x84)]===void 0x0?'':_0x47e343[_0x29cedd(0x84)],this[_0x46dac9]=_0x47e343[_0x29cedd(0x1d2)]===void 0x0?!0x1:_0x47e343['wasClean'];}get[_0x447d4b(0x88)](){return this[_0x3ba571];}get[_0x447d4b(0x84)](){return this[_0x521fbd];}get[_0x447d4b(0x1d2)](){return this[_0x46dac9];}}Object[_0x447d4b(0x1b3)](_0x3a0304[_0x447d4b(0xa0)],'code',{'enumerable':!0x0}),Object[_0x447d4b(0x1b3)](_0x3a0304[_0x447d4b(0xa0)],_0x447d4b(0x84),{'enumerable':!0x0}),Object[_0x447d4b(0x1b3)](_0x3a0304['prototype'],'wasClean',{'enumerable':!0x0});class _0x1ba5c6 extends _0xa0df1f{constructor(_0x362006,_0x3d19b7={}){const _0x4181e3=_0x447d4b;super(_0x362006),this[_0x2b6714]=_0x3d19b7[_0x4181e3(0xe9)]===void 0x0?null:_0x3d19b7[_0x4181e3(0xe9)],this[_0x412491]=_0x3d19b7[_0x4181e3(0x89)]===void 0x0?'':_0x3d19b7['message'];}get['error'](){return this[_0x2b6714];}get[_0x447d4b(0x89)](){return this[_0x412491];}}Object[_0x447d4b(0x1b3)](_0x1ba5c6[_0x447d4b(0xa0)],_0x447d4b(0xe9),{'enumerable':!0x0}),Object[_0x447d4b(0x1b3)](_0x1ba5c6['prototype'],_0x447d4b(0x89),{'enumerable':!0x0});class _0x5984f2 extends _0xa0df1f{constructor(_0x95bd2c,_0xd6790f={}){const _0x4af8c3=_0x447d4b;super(_0x95bd2c),this[_0x3e0ab4]=_0xd6790f[_0x4af8c3(0x209)]===void 0x0?null:_0xd6790f[_0x4af8c3(0x209)];}get['data'](){return this[_0x3e0ab4];}}Object['defineProperty'](_0x5984f2[_0x447d4b(0xa0)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x3a0304,'ErrorEvent':_0x1ba5c6,'Event':_0xa0df1f,'EventTarget':{'addEventListener'(_0x334759,_0x49bd73,_0xefd497={}){const _0x336382=_0x447d4b;for(const _0x15a11e of this[_0x336382(0x19a)](_0x334759))if(!_0xefd497[_0x90c454]&&_0x15a11e[_0x317f92]===_0x49bd73&&!_0x15a11e[_0x90c454])return;let _0x301f07;if(_0x334759===_0x336382(0x89))_0x301f07=function(_0x15107d,_0x27c2b3){const _0x305142=_0x336382,_0xe20795=new _0x5984f2(_0x305142(0x89),{'data':_0x27c2b3?_0x15107d:_0x15107d[_0x305142(0xdb)]()});_0xe20795[_0x5d6bcd]=this,_0x490b72(_0x49bd73,this,_0xe20795);};else{if(_0x334759===_0x336382(0x11d))_0x301f07=function(_0x16c22b,_0x29519e){const _0x3d1e63=_0x336382,_0x459080=new _0x3a0304(_0x3d1e63(0x11d),{'code':_0x16c22b,'reason':_0x29519e[_0x3d1e63(0xdb)](),'wasClean':this[_0x3d1e63(0xa7)]&&this[_0x3d1e63(0x1cb)]});_0x459080[_0x5d6bcd]=this,_0x490b72(_0x49bd73,this,_0x459080);};else{if(_0x334759===_0x336382(0xe9))_0x301f07=function(_0x3ada19){const _0x55ede7=_0x336382,_0x4d8697=new _0x1ba5c6(_0x55ede7(0xe9),{'error':_0x3ada19,'message':_0x3ada19['message']});_0x4d8697[_0x5d6bcd]=this,_0x490b72(_0x49bd73,this,_0x4d8697);};else{if(_0x334759===_0x336382(0x154))_0x301f07=function(){const _0x5a6ac0=new _0xa0df1f('open');_0x5a6ac0[_0x5d6bcd]=this,_0x490b72(_0x49bd73,this,_0x5a6ac0);};else return;}}}_0x301f07[_0x90c454]=!!_0xefd497[_0x90c454],_0x301f07[_0x317f92]=_0x49bd73,_0xefd497[_0x336382(0x1d3)]?this['once'](_0x334759,_0x301f07):this['on'](_0x334759,_0x301f07);},'removeEventListener'(_0x35c04a,_0x2f1af3){const _0x37d019=_0x447d4b;for(const _0xeb4420 of this[_0x37d019(0x19a)](_0x35c04a))if(_0xeb4420[_0x317f92]===_0x2f1af3&&!_0xeb4420[_0x90c454]){this[_0x37d019(0x21b)](_0x35c04a,_0xeb4420);break;}}},'MessageEvent':_0x5984f2};function _0x490b72(_0x5d37e6,_0x5e3b2b,_0x1f3c3e){const _0x4981a4=_0x447d4b;typeof _0x5d37e6==_0x4981a4(0x1ba)&&_0x5d37e6[_0x4981a4(0xf8)]?_0x5d37e6[_0x4981a4(0xf8)][_0x4981a4(0x1b0)](_0x5d37e6,_0x1f3c3e):_0x5d37e6[_0x4981a4(0x1b0)](_0x5e3b2b,_0x1f3c3e);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x374a77}=ne();function _0x46fa7a(_0x3b3219,_0x2a4ff1,_0x5174ac){const _0x2572f9=_0x3c64;_0x3b3219[_0x2a4ff1]===void 0x0?_0x3b3219[_0x2a4ff1]=[_0x5174ac]:_0x3b3219[_0x2a4ff1][_0x2572f9(0x19e)](_0x5174ac);}function _0x2f8616(_0x52ecd3){const _0x1c5b97=_0x3c64,_0x39fef9=Object[_0x1c5b97(0x197)](null);let _0x3e0639=Object[_0x1c5b97(0x197)](null),_0x36dc92=!0x1,_0x225420=!0x1,_0xbac29c=!0x1,_0x406734,_0x2103eb,_0x127dd3=-0x1,_0x3b884e=-0x1,_0x781e42=-0x1,_0x3522aa=0x0;for(;_0x3522aa<_0x52ecd3[_0x1c5b97(0x9a)];_0x3522aa++)if(_0x3b884e=_0x52ecd3[_0x1c5b97(0x1a4)](_0x3522aa),_0x406734===void 0x0){if(_0x781e42===-0x1&&_0x374a77[_0x3b884e]===0x1)_0x127dd3===-0x1&&(_0x127dd3=_0x3522aa);else{if(_0x3522aa!==0x0&&(_0x3b884e===0x20||_0x3b884e===0x9))_0x781e42===-0x1&&_0x127dd3!==-0x1&&(_0x781e42=_0x3522aa);else{if(_0x3b884e===0x3b||_0x3b884e===0x2c){if(_0x127dd3===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3522aa);_0x781e42===-0x1&&(_0x781e42=_0x3522aa);const _0x2fdad=_0x52ecd3[_0x1c5b97(0x1dd)](_0x127dd3,_0x781e42);_0x3b884e===0x2c?(_0x46fa7a(_0x39fef9,_0x2fdad,_0x3e0639),_0x3e0639=Object[_0x1c5b97(0x197)](null)):_0x406734=_0x2fdad,_0x127dd3=_0x781e42=-0x1;}else throw new SyntaxError(_0x1c5b97(0xed)+_0x3522aa);}}}else{if(_0x2103eb===void 0x0){if(_0x781e42===-0x1&&_0x374a77[_0x3b884e]===0x1)_0x127dd3===-0x1&&(_0x127dd3=_0x3522aa);else{if(_0x3b884e===0x20||_0x3b884e===0x9)_0x781e42===-0x1&&_0x127dd3!==-0x1&&(_0x781e42=_0x3522aa);else{if(_0x3b884e===0x3b||_0x3b884e===0x2c){if(_0x127dd3===-0x1)throw new SyntaxError(_0x1c5b97(0xed)+_0x3522aa);_0x781e42===-0x1&&(_0x781e42=_0x3522aa),_0x46fa7a(_0x3e0639,_0x52ecd3[_0x1c5b97(0x1dd)](_0x127dd3,_0x781e42),!0x0),_0x3b884e===0x2c&&(_0x46fa7a(_0x39fef9,_0x406734,_0x3e0639),_0x3e0639=Object['create'](null),_0x406734=void 0x0),_0x127dd3=_0x781e42=-0x1;}else{if(_0x3b884e===0x3d&&_0x127dd3!==-0x1&&_0x781e42===-0x1)_0x2103eb=_0x52ecd3['slice'](_0x127dd3,_0x3522aa),_0x127dd3=_0x781e42=-0x1;else throw new SyntaxError(_0x1c5b97(0xed)+_0x3522aa);}}}}else{if(_0x225420){if(_0x374a77[_0x3b884e]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3522aa);_0x127dd3===-0x1?_0x127dd3=_0x3522aa:_0x36dc92||(_0x36dc92=!0x0),_0x225420=!0x1;}else{if(_0xbac29c){if(_0x374a77[_0x3b884e]===0x1)_0x127dd3===-0x1&&(_0x127dd3=_0x3522aa);else{if(_0x3b884e===0x22&&_0x127dd3!==-0x1)_0xbac29c=!0x1,_0x781e42=_0x3522aa;else{if(_0x3b884e===0x5c)_0x225420=!0x0;else throw new SyntaxError(_0x1c5b97(0xed)+_0x3522aa);}}}else{if(_0x3b884e===0x22&&_0x52ecd3['charCodeAt'](_0x3522aa-0x1)===0x3d)_0xbac29c=!0x0;else{if(_0x781e42===-0x1&&_0x374a77[_0x3b884e]===0x1)_0x127dd3===-0x1&&(_0x127dd3=_0x3522aa);else{if(_0x127dd3!==-0x1&&(_0x3b884e===0x20||_0x3b884e===0x9))_0x781e42===-0x1&&(_0x781e42=_0x3522aa);else{if(_0x3b884e===0x3b||_0x3b884e===0x2c){if(_0x127dd3===-0x1)throw new SyntaxError(_0x1c5b97(0xed)+_0x3522aa);_0x781e42===-0x1&&(_0x781e42=_0x3522aa);let _0x5d074a=_0x52ecd3[_0x1c5b97(0x1dd)](_0x127dd3,_0x781e42);_0x36dc92&&(_0x5d074a=_0x5d074a[_0x1c5b97(0x9b)](/\\/g,''),_0x36dc92=!0x1),_0x46fa7a(_0x3e0639,_0x2103eb,_0x5d074a),_0x3b884e===0x2c&&(_0x46fa7a(_0x39fef9,_0x406734,_0x3e0639),_0x3e0639=Object[_0x1c5b97(0x197)](null),_0x406734=void 0x0),_0x2103eb=void 0x0,_0x127dd3=_0x781e42=-0x1;}else throw new SyntaxError(_0x1c5b97(0xed)+_0x3522aa);}}}}}}}if(_0x127dd3===-0x1||_0xbac29c||_0x3b884e===0x20||_0x3b884e===0x9)throw new SyntaxError(_0x1c5b97(0x1b2));_0x781e42===-0x1&&(_0x781e42=_0x3522aa);const _0x41d180=_0x52ecd3[_0x1c5b97(0x1dd)](_0x127dd3,_0x781e42);return _0x406734===void 0x0?_0x46fa7a(_0x39fef9,_0x41d180,_0x3e0639):(_0x2103eb===void 0x0?_0x46fa7a(_0x3e0639,_0x41d180,!0x0):_0x36dc92?_0x46fa7a(_0x3e0639,_0x2103eb,_0x41d180['replace'](/\\/g,'')):_0x46fa7a(_0x3e0639,_0x2103eb,_0x41d180),_0x46fa7a(_0x39fef9,_0x406734,_0x3e0639)),_0x39fef9;}function _0x38586d(_0x1a589b){const _0x29b39f=_0x3c64;return Object['keys'](_0x1a589b)['map'](_0x975164=>{const _0x33d837=_0x3c64;let _0x4dd6ac=_0x1a589b[_0x975164];return Array[_0x33d837(0x211)](_0x4dd6ac)||(_0x4dd6ac=[_0x4dd6ac]),_0x4dd6ac['map'](_0xb12f68=>[_0x975164][_0x33d837(0x1cf)](Object[_0x33d837(0x86)](_0xb12f68)[_0x33d837(0x1c2)](_0x160f4f=>{const _0x6261b3=_0x33d837;let _0x250cd2=_0xb12f68[_0x160f4f];return Array[_0x6261b3(0x211)](_0x250cd2)||(_0x250cd2=[_0x250cd2]),_0x250cd2['map'](_0x3e7562=>_0x3e7562===!0x0?_0x160f4f:_0x160f4f+'='+_0x3e7562)[_0x6261b3(0x218)](';\x20');}))['join'](';\x20'))[_0x33d837(0x218)](',\x20');})[_0x29b39f(0x218)](',\x20');}return be={'format':_0x38586d,'parse':_0x2f8616},be;}var we,st;function Ie(){const _0x1db7bb=_0x56fa89;if(st)return we;st=0x1;const _0xebd535=_0x7fa1df,_0xe994ed=_0x167805,_0x4a7af5=_0x18e58e,_0x4a7356=_0x36dbfe,_0xeabfa2=_0x11288f,{randomBytes:_0x4af173,createHash:_0x56a914}=_0x4b0b4b,{Duplex:_0x1b17dd,Readable:_0x3f14f7}=_0xeca166,{URL:_0x318247}=_0xc424,_0x279f7e=he(),_0x43b294=dt(),_0x38a0e7=_t(),{isBlob:_0x68c794}=ne(),{BINARY_TYPES:_0x426d13,EMPTY_BUFFER:_0xf63f,GUID:_0x253988,kForOnEventAttribute:_0x1ab871,kListener:_0x41949,kStatusCode:_0x4573e6,kWebSocket:_0x2be2bf,NOOP:_0x519d6a}=V(),{EventTarget:{addEventListener:_0x1fe481,removeEventListener:_0x32f2fe}}=Kt(),{format:_0x2a3f27,parse:_0xaa47f}=pt(),{toBuffer:_0x4dce43}=ce(),_0xf37d2d=0x1e*0x3e8,_0x551339=Symbol(_0x1db7bb(0x163)),_0x573609=[0x8,0xd],_0x503f52=[_0x1db7bb(0x82),_0x1db7bb(0x9c),_0x1db7bb(0xe0),_0x1db7bb(0x113)],_0x481f48=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x57abbf extends _0xebd535{constructor(_0x721abb,_0x32c4f5,_0x5975e1){const _0x398c21=_0x1db7bb;super(),this[_0x398c21(0x20e)]=_0x426d13[0x0],this[_0x398c21(0x137)]=0x3ee,this[_0x398c21(0xa7)]=!0x1,this['_closeFrameSent']=!0x1,this[_0x398c21(0xae)]=_0xf63f,this[_0x398c21(0x1f7)]=null,this[_0x398c21(0x83)]=!0x1,this[_0x398c21(0x180)]={},this[_0x398c21(0x1d9)]=!0x1,this[_0x398c21(0x1f1)]='',this[_0x398c21(0x1ee)]=_0x57abbf[_0x398c21(0x82)],this[_0x398c21(0x97)]=null,this[_0x398c21(0x96)]=null,this[_0x398c21(0x108)]=null,_0x721abb!==null?(this[_0x398c21(0x194)]=0x0,this[_0x398c21(0x11f)]=!0x1,this[_0x398c21(0x13f)]=0x0,_0x32c4f5===void 0x0?_0x32c4f5=[]:Array[_0x398c21(0x211)](_0x32c4f5)||(typeof _0x32c4f5=='object'&&_0x32c4f5!==null?(_0x5975e1=_0x32c4f5,_0x32c4f5=[]):_0x32c4f5=[_0x32c4f5]),_0xe20b5d(this,_0x721abb,_0x32c4f5,_0x5975e1)):(this[_0x398c21(0x1a6)]=_0x5975e1[_0x398c21(0x1a9)],this['_isServer']=!0x0);}get[_0x1db7bb(0xdc)](){const _0x4feca2=_0x1db7bb;return this[_0x4feca2(0x20e)];}set[_0x1db7bb(0xdc)](_0x101877){const _0x17be89=_0x1db7bb;_0x426d13[_0x17be89(0xbf)](_0x101877)&&(this[_0x17be89(0x20e)]=_0x101877,this[_0x17be89(0x97)]&&(this['_receiver'][_0x17be89(0x20e)]=_0x101877));}get[_0x1db7bb(0x104)](){const _0x80358f=_0x1db7bb;return this[_0x80358f(0x108)]?this[_0x80358f(0x108)][_0x80358f(0x21d)][_0x80358f(0x9a)]+this[_0x80358f(0x96)][_0x80358f(0x1e3)]:this['_bufferedAmount'];}get[_0x1db7bb(0x9d)](){const _0x74613e=_0x1db7bb;return Object[_0x74613e(0x86)](this[_0x74613e(0x180)])['join']();}get[_0x1db7bb(0x226)](){const _0x2eb3ee=_0x1db7bb;return this[_0x2eb3ee(0x1d9)];}get['onclose'](){return null;}get[_0x1db7bb(0x165)](){return null;}get[_0x1db7bb(0x16c)](){return null;}get[_0x1db7bb(0xe2)](){return null;}get[_0x1db7bb(0x10d)](){return this['_protocol'];}get[_0x1db7bb(0x1aa)](){return this['_readyState'];}get[_0x1db7bb(0x18e)](){const _0x3358e4=_0x1db7bb;return this[_0x3358e4(0xb8)];}['setSocket'](_0x11670c,_0xdbc090,_0x321859){const _0x12e92b=_0x1db7bb,_0x2b9ef4=new _0x43b294({'allowSynchronousEvents':_0x321859[_0x12e92b(0x161)],'binaryType':this[_0x12e92b(0xdc)],'extensions':this[_0x12e92b(0x180)],'isServer':this[_0x12e92b(0x11f)],'maxPayload':_0x321859['maxPayload'],'skipUTF8Validation':_0x321859[_0x12e92b(0x116)]}),_0x23f32f=new _0x38a0e7(_0x11670c,this[_0x12e92b(0x180)],_0x321859[_0x12e92b(0x105)]);this[_0x12e92b(0x97)]=_0x2b9ef4,this[_0x12e92b(0x96)]=_0x23f32f,this[_0x12e92b(0x108)]=_0x11670c,_0x2b9ef4[_0x2be2bf]=this,_0x23f32f[_0x2be2bf]=this,_0x11670c[_0x2be2bf]=this,_0x2b9ef4['on'](_0x12e92b(0xf3),_0x24244a),_0x2b9ef4['on'](_0x12e92b(0x7c),_0x2f765f),_0x2b9ef4['on'](_0x12e92b(0xe9),_0x5e9893),_0x2b9ef4['on']('message',_0x3839b8),_0x2b9ef4['on'](_0x12e92b(0x114),_0x4cf88d),_0x2b9ef4['on']('pong',_0x2f0b03),_0x23f32f[_0x12e92b(0x165)]=_0x41a2de,_0x11670c[_0x12e92b(0x1ab)]&&_0x11670c['setTimeout'](0x0),_0x11670c[_0x12e92b(0xc9)]&&_0x11670c[_0x12e92b(0xc9)](),_0xdbc090[_0x12e92b(0x9a)]>0x0&&_0x11670c[_0x12e92b(0xe6)](_0xdbc090),_0x11670c['on']('close',_0x3da764),_0x11670c['on']('data',_0xed9ed7),_0x11670c['on'](_0x12e92b(0x1da),_0x1c427e),_0x11670c['on']('error',_0x5aa972),this['_readyState']=_0x57abbf['OPEN'],this['emit'](_0x12e92b(0x154));}[_0x1db7bb(0xf4)](){const _0x24800d=_0x1db7bb;if(!this[_0x24800d(0x108)]){this[_0x24800d(0x1ee)]=_0x57abbf[_0x24800d(0x113)],this[_0x24800d(0x1ae)](_0x24800d(0x11d),this[_0x24800d(0x137)],this[_0x24800d(0xae)]);return;}this[_0x24800d(0x180)][_0x279f7e['extensionName']]&&this[_0x24800d(0x180)][_0x279f7e[_0x24800d(0x169)]][_0x24800d(0xc0)](),this[_0x24800d(0x97)][_0x24800d(0x1ea)](),this[_0x24800d(0x1ee)]=_0x57abbf[_0x24800d(0x113)],this[_0x24800d(0x1ae)](_0x24800d(0x11d),this[_0x24800d(0x137)],this['_closeMessage']);}['close'](_0x38da50,_0x1eb1da){const _0x53e00e=_0x1db7bb;if(this[_0x53e00e(0x1aa)]!==_0x57abbf[_0x53e00e(0x113)]){if(this['readyState']===_0x57abbf['CONNECTING']){_0x5b5880(this,this[_0x53e00e(0x145)],_0x53e00e(0xff));return;}if(this[_0x53e00e(0x1aa)]===_0x57abbf[_0x53e00e(0xe0)]){this[_0x53e00e(0x1cb)]&&(this[_0x53e00e(0xa7)]||this[_0x53e00e(0x97)]['_writableState']['errorEmitted'])&&this['_socket']['end']();return;}this[_0x53e00e(0x1ee)]=_0x57abbf[_0x53e00e(0xe0)],this['_sender'][_0x53e00e(0x11d)](_0x38da50,_0x1eb1da,!this[_0x53e00e(0x11f)],_0x354bc1=>{const _0x2d341d=_0x53e00e;_0x354bc1||(this[_0x2d341d(0x1cb)]=!0x0,(this['_closeFrameReceived']||this[_0x2d341d(0x97)][_0x2d341d(0x21d)]['errorEmitted'])&&this[_0x2d341d(0x108)]['end']());}),_0x123073(this);}}[_0x1db7bb(0x16f)](){const _0x458b05=_0x1db7bb;this[_0x458b05(0x1aa)]===_0x57abbf[_0x458b05(0x82)]||this['readyState']===_0x57abbf[_0x458b05(0x113)]||(this[_0x458b05(0x1d9)]=!0x0,this[_0x458b05(0x108)][_0x458b05(0x16f)]());}[_0x1db7bb(0x114)](_0x5f3505,_0x1740bf,_0x27e013){const _0x3ac5a8=_0x1db7bb;if(this['readyState']===_0x57abbf[_0x3ac5a8(0x82)])throw new Error(_0x3ac5a8(0x158));if(typeof _0x5f3505==_0x3ac5a8(0x135)?(_0x27e013=_0x5f3505,_0x5f3505=_0x1740bf=void 0x0):typeof _0x1740bf==_0x3ac5a8(0x135)&&(_0x27e013=_0x1740bf,_0x1740bf=void 0x0),typeof _0x5f3505==_0x3ac5a8(0x21e)&&(_0x5f3505=_0x5f3505[_0x3ac5a8(0xdb)]()),this[_0x3ac5a8(0x1aa)]!==_0x57abbf[_0x3ac5a8(0x9c)]){_0x4334d5(this,_0x5f3505,_0x27e013);return;}_0x1740bf===void 0x0&&(_0x1740bf=!this[_0x3ac5a8(0x11f)]),this[_0x3ac5a8(0x96)][_0x3ac5a8(0x114)](_0x5f3505||_0xf63f,_0x1740bf,_0x27e013);}[_0x1db7bb(0x156)](_0x307a49,_0x972c92,_0x297b6e){const _0x47fd29=_0x1db7bb;if(this[_0x47fd29(0x1aa)]===_0x57abbf[_0x47fd29(0x82)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x307a49==_0x47fd29(0x135)?(_0x297b6e=_0x307a49,_0x307a49=_0x972c92=void 0x0):typeof _0x972c92==_0x47fd29(0x135)&&(_0x297b6e=_0x972c92,_0x972c92=void 0x0),typeof _0x307a49==_0x47fd29(0x21e)&&(_0x307a49=_0x307a49[_0x47fd29(0xdb)]()),this[_0x47fd29(0x1aa)]!==_0x57abbf['OPEN']){_0x4334d5(this,_0x307a49,_0x297b6e);return;}_0x972c92===void 0x0&&(_0x972c92=!this['_isServer']),this[_0x47fd29(0x96)][_0x47fd29(0x156)](_0x307a49||_0xf63f,_0x972c92,_0x297b6e);}['resume'](){const _0xaed5b4=_0x1db7bb;this[_0xaed5b4(0x1aa)]===_0x57abbf[_0xaed5b4(0x82)]||this[_0xaed5b4(0x1aa)]===_0x57abbf[_0xaed5b4(0x113)]||(this[_0xaed5b4(0x1d9)]=!0x1,this[_0xaed5b4(0x97)][_0xaed5b4(0x21d)][_0xaed5b4(0x142)]||this[_0xaed5b4(0x108)][_0xaed5b4(0xfc)]());}[_0x1db7bb(0x8c)](_0x4c3279,_0x66c43f,_0x2f6cc9){const _0x5569b1=_0x1db7bb;if(this[_0x5569b1(0x1aa)]===_0x57abbf[_0x5569b1(0x82)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x66c43f=='function'&&(_0x2f6cc9=_0x66c43f,_0x66c43f={}),typeof _0x4c3279==_0x5569b1(0x21e)&&(_0x4c3279=_0x4c3279[_0x5569b1(0xdb)]()),this['readyState']!==_0x57abbf[_0x5569b1(0x9c)]){_0x4334d5(this,_0x4c3279,_0x2f6cc9);return;}const _0x44ec8d={'binary':typeof _0x4c3279!='string','mask':!this[_0x5569b1(0x11f)],'compress':!0x0,'fin':!0x0,..._0x66c43f};this[_0x5569b1(0x180)][_0x279f7e[_0x5569b1(0x169)]]||(_0x44ec8d[_0x5569b1(0x159)]=!0x1),this[_0x5569b1(0x96)][_0x5569b1(0x8c)](_0x4c3279||_0xf63f,_0x44ec8d,_0x2f6cc9);}[_0x1db7bb(0x78)](){const _0x5c0d7e=_0x1db7bb;if(this[_0x5c0d7e(0x1aa)]!==_0x57abbf[_0x5c0d7e(0x113)]){if(this[_0x5c0d7e(0x1aa)]===_0x57abbf[_0x5c0d7e(0x82)]){_0x5b5880(this,this[_0x5c0d7e(0x145)],_0x5c0d7e(0xff));return;}this[_0x5c0d7e(0x108)]&&(this[_0x5c0d7e(0x1ee)]=_0x57abbf[_0x5c0d7e(0xe0)],this['_socket'][_0x5c0d7e(0x7e)]());}}}Object[_0x1db7bb(0x1b3)](_0x57abbf,_0x1db7bb(0x82),{'enumerable':!0x0,'value':_0x503f52[_0x1db7bb(0x1c3)]('CONNECTING')}),Object[_0x1db7bb(0x1b3)](_0x57abbf[_0x1db7bb(0xa0)],'CONNECTING',{'enumerable':!0x0,'value':_0x503f52['indexOf']('CONNECTING')}),Object['defineProperty'](_0x57abbf,_0x1db7bb(0x9c),{'enumerable':!0x0,'value':_0x503f52[_0x1db7bb(0x1c3)](_0x1db7bb(0x9c))}),Object[_0x1db7bb(0x1b3)](_0x57abbf[_0x1db7bb(0xa0)],_0x1db7bb(0x9c),{'enumerable':!0x0,'value':_0x503f52[_0x1db7bb(0x1c3)](_0x1db7bb(0x9c))}),Object[_0x1db7bb(0x1b3)](_0x57abbf,'CLOSING',{'enumerable':!0x0,'value':_0x503f52[_0x1db7bb(0x1c3)]('CLOSING')}),Object[_0x1db7bb(0x1b3)](_0x57abbf[_0x1db7bb(0xa0)],'CLOSING',{'enumerable':!0x0,'value':_0x503f52[_0x1db7bb(0x1c3)](_0x1db7bb(0xe0))}),Object['defineProperty'](_0x57abbf,_0x1db7bb(0x113),{'enumerable':!0x0,'value':_0x503f52['indexOf'](_0x1db7bb(0x113))}),Object[_0x1db7bb(0x1b3)](_0x57abbf['prototype'],_0x1db7bb(0x113),{'enumerable':!0x0,'value':_0x503f52[_0x1db7bb(0x1c3)](_0x1db7bb(0x113))}),[_0x1db7bb(0xdc),_0x1db7bb(0x104),_0x1db7bb(0x9d),_0x1db7bb(0x226),'protocol',_0x1db7bb(0x1aa),_0x1db7bb(0x18e)]['forEach'](_0x3dc424=>{const _0x295429=_0x1db7bb;Object[_0x295429(0x1b3)](_0x57abbf[_0x295429(0xa0)],_0x3dc424,{'enumerable':!0x0});}),['open',_0x1db7bb(0xe9),_0x1db7bb(0x11d),_0x1db7bb(0x89)][_0x1db7bb(0x20c)](_0x121099=>{const _0x2713b6=_0x1db7bb;Object['defineProperty'](_0x57abbf[_0x2713b6(0xa0)],'on'+_0x121099,{'enumerable':!0x0,'get'(){const _0x231eec=_0x2713b6;for(const _0x5cd4a3 of this[_0x231eec(0x19a)](_0x121099))if(_0x5cd4a3[_0x1ab871])return _0x5cd4a3[_0x41949];return null;},'set'(_0x2739f2){const _0x4a5e93=_0x2713b6;for(const _0x4a3c2d of this['listeners'](_0x121099))if(_0x4a3c2d[_0x1ab871]){this[_0x4a5e93(0x21b)](_0x121099,_0x4a3c2d);break;}typeof _0x2739f2==_0x4a5e93(0x135)&&this[_0x4a5e93(0x129)](_0x121099,_0x2739f2,{[_0x1ab871]:!0x0});}});}),_0x57abbf['prototype']['addEventListener']=_0x1fe481,_0x57abbf[_0x1db7bb(0xa0)][_0x1db7bb(0x1d0)]=_0x32f2fe,we=_0x57abbf;function _0xe20b5d(_0x156520,_0x8af514,_0x283491,_0x20e016){const _0x329895=_0x1db7bb,_0x2f9ec1={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x573609[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x20e016,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x329895(0xd0),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x156520['_autoPong']=_0x2f9ec1['autoPong'],!_0x573609[_0x329895(0xbf)](_0x2f9ec1['protocolVersion']))throw new RangeError(_0x329895(0x1ec)+_0x2f9ec1[_0x329895(0x134)]+_0x329895(0x11c)+_0x573609['join'](',\x20')+')');let _0x1ce03d;if(_0x8af514 instanceof _0x318247)_0x1ce03d=_0x8af514;else try{_0x1ce03d=new _0x318247(_0x8af514);}catch{throw new SyntaxError(_0x329895(0xec)+_0x8af514);}_0x1ce03d[_0x329895(0x10d)]===_0x329895(0xf5)?_0x1ce03d[_0x329895(0x10d)]=_0x329895(0x219):_0x1ce03d[_0x329895(0x10d)]===_0x329895(0x87)&&(_0x1ce03d[_0x329895(0x10d)]=_0x329895(0x136)),_0x156520['_url']=_0x1ce03d['href'];const _0x196284=_0x1ce03d[_0x329895(0x10d)]===_0x329895(0x136),_0x27fdff=_0x1ce03d['protocol']===_0x329895(0x172);let _0x57ed31;if(_0x1ce03d[_0x329895(0x10d)]!==_0x329895(0x219)&&!_0x196284&&!_0x27fdff?_0x57ed31='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':_0x27fdff&&!_0x1ce03d[_0x329895(0xdd)]?_0x57ed31=_0x329895(0x1e6):_0x1ce03d[_0x329895(0x15e)]&&(_0x57ed31=_0x329895(0x14e)),_0x57ed31){const _0x119338=new SyntaxError(_0x57ed31);if(_0x156520[_0x329895(0x13f)]===0x0)throw _0x119338;_0x16e4f0(_0x156520,_0x119338);return;}const _0x47a233=_0x196284?0x1bb:0x50,_0x31012f=_0x4af173(0x10)['toString'](_0x329895(0xa2)),_0x3c44e2=_0x196284?_0xe994ed[_0x329895(0x185)]:_0x4a7af5[_0x329895(0x185)],_0x32839c=new Set();let _0x419028;if(_0x2f9ec1['createConnection']=_0x2f9ec1[_0x329895(0x167)]||(_0x196284?_0x3bdebd:_0x1c016f),_0x2f9ec1[_0x329895(0x1c1)]=_0x2f9ec1[_0x329895(0x1c1)]||_0x47a233,_0x2f9ec1[_0x329895(0x168)]=_0x1ce03d['port']||_0x47a233,_0x2f9ec1[_0x329895(0x103)]=_0x1ce03d['hostname'][_0x329895(0x1d7)]('[')?_0x1ce03d[_0x329895(0x1ef)][_0x329895(0x1dd)](0x1,-0x1):_0x1ce03d['hostname'],_0x2f9ec1[_0x329895(0x118)]={..._0x2f9ec1[_0x329895(0x118)],'Sec-WebSocket-Version':_0x2f9ec1[_0x329895(0x134)],'Sec-WebSocket-Key':_0x31012f,'Connection':_0x329895(0xb3),'Upgrade':_0x329895(0x221)},_0x2f9ec1[_0x329895(0x138)]=_0x1ce03d[_0x329895(0xdd)]+_0x1ce03d[_0x329895(0xc7)],_0x2f9ec1[_0x329895(0x8f)]=_0x2f9ec1[_0x329895(0x1af)],_0x2f9ec1[_0x329895(0x1db)]&&(_0x419028=new _0x279f7e(_0x2f9ec1[_0x329895(0x1db)]!==!0x0?_0x2f9ec1[_0x329895(0x1db)]:{},!0x1,_0x2f9ec1[_0x329895(0x149)]),_0x2f9ec1[_0x329895(0x118)][_0x329895(0xa1)]=_0x2a3f27({[_0x279f7e[_0x329895(0x169)]]:_0x419028[_0x329895(0xd2)]()})),_0x283491['length']){for(const _0x1305ef of _0x283491){if(typeof _0x1305ef!='string'||!_0x481f48[_0x329895(0x1dc)](_0x1305ef)||_0x32839c['has'](_0x1305ef))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x32839c[_0x329895(0x1b6)](_0x1305ef);}_0x2f9ec1['headers'][_0x329895(0x21f)]=_0x283491[_0x329895(0x218)](',');}if(_0x2f9ec1[_0x329895(0x12d)]&&(_0x2f9ec1[_0x329895(0x134)]<0xd?_0x2f9ec1[_0x329895(0x118)][_0x329895(0x1ce)]=_0x2f9ec1[_0x329895(0x12d)]:_0x2f9ec1['headers'][_0x329895(0xf1)]=_0x2f9ec1[_0x329895(0x12d)]),(_0x1ce03d[_0x329895(0xb9)]||_0x1ce03d[_0x329895(0x90)])&&(_0x2f9ec1[_0x329895(0x189)]=_0x1ce03d['username']+':'+_0x1ce03d[_0x329895(0x90)]),_0x27fdff){const _0x192e92=_0x2f9ec1[_0x329895(0x138)][_0x329895(0x1a8)](':');_0x2f9ec1['socketPath']=_0x192e92[0x0],_0x2f9ec1[_0x329895(0x138)]=_0x192e92[0x1];}let _0x174059;if(_0x2f9ec1[_0x329895(0x1fe)]){if(_0x156520[_0x329895(0x13f)]===0x0){_0x156520['_originalIpc']=_0x27fdff,_0x156520[_0x329895(0x16e)]=_0x196284,_0x156520['_originalHostOrSocketPath']=_0x27fdff?_0x2f9ec1[_0x329895(0x98)]:_0x1ce03d[_0x329895(0x103)];const _0x37f0d2=_0x20e016&&_0x20e016[_0x329895(0x118)];if(_0x20e016={..._0x20e016,'headers':{}},_0x37f0d2){for(const [_0x1d9d17,_0xc3bf3e]of Object[_0x329895(0xbc)](_0x37f0d2))_0x20e016[_0x329895(0x118)][_0x1d9d17['toLowerCase']()]=_0xc3bf3e;}}else{if(_0x156520[_0x329895(0x110)]('redirect')===0x0){const _0x2f7ec3=_0x27fdff?_0x156520['_originalIpc']?_0x2f9ec1[_0x329895(0x98)]===_0x156520[_0x329895(0x1ff)]:!0x1:_0x156520[_0x329895(0x153)]?!0x1:_0x1ce03d[_0x329895(0x103)]===_0x156520[_0x329895(0x1ff)];(!_0x2f7ec3||_0x156520['_originalSecure']&&!_0x196284)&&(delete _0x2f9ec1[_0x329895(0x118)][_0x329895(0x92)],delete _0x2f9ec1['headers']['cookie'],_0x2f7ec3||delete _0x2f9ec1[_0x329895(0x118)]['host'],_0x2f9ec1['auth']=void 0x0);}}_0x2f9ec1[_0x329895(0x189)]&&!_0x20e016[_0x329895(0x118)]['authorization']&&(_0x20e016[_0x329895(0x118)]['authorization']='Basic\x20'+Buffer['from'](_0x2f9ec1['auth'])['toString'](_0x329895(0xa2))),_0x174059=_0x156520[_0x329895(0x145)]=_0x3c44e2(_0x2f9ec1),_0x156520['_redirects']&&_0x156520['emit'](_0x329895(0xb1),_0x156520['url'],_0x174059);}else _0x174059=_0x156520['_req']=_0x3c44e2(_0x2f9ec1);_0x2f9ec1['timeout']&&_0x174059['on']('timeout',()=>{_0x5b5880(_0x156520,_0x174059,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x174059['on'](_0x329895(0xe9),_0x274060=>{const _0x535ba6=_0x329895;_0x174059===null||_0x174059[_0x551339]||(_0x174059=_0x156520[_0x535ba6(0x145)]=null,_0x16e4f0(_0x156520,_0x274060));}),_0x174059['on']('response',_0x3523a1=>{const _0x388a1a=_0x329895,_0x2a009c=_0x3523a1[_0x388a1a(0x118)]['location'],_0x14195d=_0x3523a1[_0x388a1a(0x7b)];if(_0x2a009c&&_0x2f9ec1[_0x388a1a(0x1fe)]&&_0x14195d>=0x12c&&_0x14195d<0x190){if(++_0x156520[_0x388a1a(0x13f)]>_0x2f9ec1[_0x388a1a(0x80)]){_0x5b5880(_0x156520,_0x174059,_0x388a1a(0x124));return;}_0x174059[_0x388a1a(0xcf)]();let _0x576a48;try{_0x576a48=new _0x318247(_0x2a009c,_0x8af514);}catch{const _0x28e714=new SyntaxError('Invalid\x20URL:\x20'+_0x2a009c);_0x16e4f0(_0x156520,_0x28e714);return;}_0xe20b5d(_0x156520,_0x576a48,_0x283491,_0x20e016);}else _0x156520[_0x388a1a(0x1ae)]('unexpected-response',_0x174059,_0x3523a1)||_0x5b5880(_0x156520,_0x174059,_0x388a1a(0x10b)+_0x3523a1['statusCode']);}),_0x174059['on'](_0x329895(0x13d),(_0x529514,_0x1bde13,_0x2d2f75)=>{const _0x3bc863=_0x329895;if(_0x156520[_0x3bc863(0x1ae)]('upgrade',_0x529514),_0x156520['readyState']!==_0x57abbf[_0x3bc863(0x82)])return;_0x174059=_0x156520['_req']=null;const _0x2682c4=_0x529514['headers'][_0x3bc863(0x13d)];if(_0x2682c4===void 0x0||_0x2682c4[_0x3bc863(0x203)]()!==_0x3bc863(0x221)){_0x5b5880(_0x156520,_0x1bde13,_0x3bc863(0x1a5));return;}const _0x1fb7fa=_0x56a914(_0x3bc863(0x14d))[_0x3bc863(0x17e)](_0x31012f+_0x253988)[_0x3bc863(0x126)](_0x3bc863(0xa2));if(_0x529514[_0x3bc863(0x118)][_0x3bc863(0x12f)]!==_0x1fb7fa){_0x5b5880(_0x156520,_0x1bde13,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x3d4072=_0x529514[_0x3bc863(0x118)]['sec-websocket-protocol'];let _0x5e191e;if(_0x3d4072!==void 0x0?_0x32839c[_0x3bc863(0xd1)]?_0x32839c[_0x3bc863(0x188)](_0x3d4072)||(_0x5e191e=_0x3bc863(0xee)):_0x5e191e='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x32839c[_0x3bc863(0xd1)]&&(_0x5e191e=_0x3bc863(0x182)),_0x5e191e){_0x5b5880(_0x156520,_0x1bde13,_0x5e191e);return;}_0x3d4072&&(_0x156520[_0x3bc863(0x1f1)]=_0x3d4072);const _0x4ff0d2=_0x529514[_0x3bc863(0x118)][_0x3bc863(0x225)];if(_0x4ff0d2!==void 0x0){if(!_0x419028){_0x5b5880(_0x156520,_0x1bde13,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0xe81fd6;try{_0xe81fd6=_0xaa47f(_0x4ff0d2);}catch{_0x5b5880(_0x156520,_0x1bde13,_0x3bc863(0x144));return;}const _0x58db2e=Object['keys'](_0xe81fd6);if(_0x58db2e[_0x3bc863(0x9a)]!==0x1||_0x58db2e[0x0]!==_0x279f7e[_0x3bc863(0x169)]){_0x5b5880(_0x156520,_0x1bde13,_0x3bc863(0x133));return;}try{_0x419028[_0x3bc863(0xd6)](_0xe81fd6[_0x279f7e['extensionName']]);}catch{_0x5b5880(_0x156520,_0x1bde13,_0x3bc863(0x144));return;}_0x156520[_0x3bc863(0x180)][_0x279f7e[_0x3bc863(0x169)]]=_0x419028;}_0x156520['setSocket'](_0x1bde13,_0x2d2f75,{'allowSynchronousEvents':_0x2f9ec1[_0x3bc863(0x161)],'generateMask':_0x2f9ec1['generateMask'],'maxPayload':_0x2f9ec1[_0x3bc863(0x149)],'skipUTF8Validation':_0x2f9ec1['skipUTF8Validation']});}),_0x2f9ec1[_0x329895(0x93)]?_0x2f9ec1[_0x329895(0x93)](_0x174059,_0x156520):_0x174059[_0x329895(0x1da)]();}function _0x16e4f0(_0x45287c,_0x18b57f){const _0x214c02=_0x1db7bb;_0x45287c[_0x214c02(0x1ee)]=_0x57abbf[_0x214c02(0xe0)],_0x45287c[_0x214c02(0x83)]=!0x0,_0x45287c[_0x214c02(0x1ae)]('error',_0x18b57f),_0x45287c[_0x214c02(0xf4)]();}function _0x1c016f(_0x1ef8fd){const _0x1363bc=_0x1db7bb;return _0x1ef8fd[_0x1363bc(0x138)]=_0x1ef8fd[_0x1363bc(0x98)],_0x4a7356[_0x1363bc(0x18c)](_0x1ef8fd);}function _0x3bdebd(_0x20d4fd){const _0x1420a5=_0x1db7bb;return _0x20d4fd['path']=void 0x0,!_0x20d4fd[_0x1420a5(0x181)]&&_0x20d4fd[_0x1420a5(0x181)]!==''&&(_0x20d4fd[_0x1420a5(0x181)]=_0x4a7356['isIP'](_0x20d4fd[_0x1420a5(0x103)])?'':_0x20d4fd['host']),_0xeabfa2[_0x1420a5(0x18c)](_0x20d4fd);}function _0x5b5880(_0x45563e,_0x3eb32b,_0x5253e1){const _0x47d648=_0x1db7bb;_0x45563e[_0x47d648(0x1ee)]=_0x57abbf[_0x47d648(0xe0)];const _0x9b320e=new Error(_0x5253e1);Error[_0x47d648(0x1e2)](_0x9b320e,_0x5b5880),_0x3eb32b[_0x47d648(0xc4)]?(_0x3eb32b[_0x551339]=!0x0,_0x3eb32b[_0x47d648(0xcf)](),_0x3eb32b[_0x47d648(0x115)]&&!_0x3eb32b['socket']['destroyed']&&_0x3eb32b[_0x47d648(0x115)][_0x47d648(0x7e)](),process[_0x47d648(0x9f)](_0x16e4f0,_0x45563e,_0x9b320e)):(_0x3eb32b[_0x47d648(0x7e)](_0x9b320e),_0x3eb32b[_0x47d648(0x1d3)](_0x47d648(0xe9),_0x45563e[_0x47d648(0x1ae)][_0x47d648(0x162)](_0x45563e,_0x47d648(0xe9))),_0x3eb32b['once'](_0x47d648(0x11d),_0x45563e[_0x47d648(0xf4)][_0x47d648(0x162)](_0x45563e)));}function _0x4334d5(_0x43013e,_0x41f688,_0x381537){const _0x460243=_0x1db7bb;if(_0x41f688){const _0x27de62=_0x68c794(_0x41f688)?_0x41f688[_0x460243(0xd1)]:_0x4dce43(_0x41f688)[_0x460243(0x9a)];_0x43013e[_0x460243(0x108)]?_0x43013e[_0x460243(0x96)]['_bufferedBytes']+=_0x27de62:_0x43013e['_bufferedAmount']+=_0x27de62;}if(_0x381537){const _0xf782f5=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x43013e['readyState']+'\x20('+_0x503f52[_0x43013e['readyState']]+')');process['nextTick'](_0x381537,_0xf782f5);}}function _0x24244a(_0x42fe8b,_0x4d2b93){const _0x463b8b=_0x1db7bb,_0x20b77b=this[_0x2be2bf];_0x20b77b[_0x463b8b(0xa7)]=!0x0,_0x20b77b[_0x463b8b(0xae)]=_0x4d2b93,_0x20b77b[_0x463b8b(0x137)]=_0x42fe8b,_0x20b77b['_socket'][_0x2be2bf]!==void 0x0&&(_0x20b77b[_0x463b8b(0x108)][_0x463b8b(0x21b)]('data',_0xed9ed7),process[_0x463b8b(0x9f)](_0x32d27a,_0x20b77b['_socket']),_0x42fe8b===0x3ed?_0x20b77b['close']():_0x20b77b['close'](_0x42fe8b,_0x4d2b93));}function _0x2f765f(){const _0x29869e=_0x1db7bb,_0x2fc250=this[_0x2be2bf];_0x2fc250[_0x29869e(0x226)]||_0x2fc250[_0x29869e(0x108)][_0x29869e(0xfc)]();}function _0x5e9893(_0x40dcd0){const _0x27abec=_0x1db7bb,_0x21534e=this[_0x2be2bf];_0x21534e[_0x27abec(0x108)][_0x2be2bf]!==void 0x0&&(_0x21534e[_0x27abec(0x108)][_0x27abec(0x21b)](_0x27abec(0x209),_0xed9ed7),process[_0x27abec(0x9f)](_0x32d27a,_0x21534e[_0x27abec(0x108)]),_0x21534e[_0x27abec(0x11d)](_0x40dcd0[_0x4573e6])),_0x21534e['_errorEmitted']||(_0x21534e[_0x27abec(0x83)]=!0x0,_0x21534e[_0x27abec(0x1ae)](_0x27abec(0xe9),_0x40dcd0));}function _0x3cf449(){this[_0x2be2bf]['emitClose']();}function _0x3839b8(_0x13ae4e,_0x350ec0){const _0x506734=_0x1db7bb;this[_0x2be2bf][_0x506734(0x1ae)](_0x506734(0x89),_0x13ae4e,_0x350ec0);}function _0x4cf88d(_0xe92f7f){const _0x47eaa4=_0x1db7bb,_0x188683=this[_0x2be2bf];_0x188683[_0x47eaa4(0x1a6)]&&_0x188683[_0x47eaa4(0x156)](_0xe92f7f,!this[_0x47eaa4(0x11f)],_0x519d6a),_0x188683[_0x47eaa4(0x1ae)](_0x47eaa4(0x114),_0xe92f7f);}function _0x2f0b03(_0x51c491){const _0x372314=_0x1db7bb;this[_0x2be2bf][_0x372314(0x1ae)]('pong',_0x51c491);}function _0x32d27a(_0x66eb40){_0x66eb40['resume']();}function _0x41a2de(_0x435539){const _0x37b217=_0x1db7bb,_0x3dfcd5=this[_0x2be2bf];_0x3dfcd5[_0x37b217(0x1aa)]!==_0x57abbf[_0x37b217(0x113)]&&(_0x3dfcd5[_0x37b217(0x1aa)]===_0x57abbf[_0x37b217(0x9c)]&&(_0x3dfcd5[_0x37b217(0x1ee)]=_0x57abbf[_0x37b217(0xe0)],_0x123073(_0x3dfcd5)),this[_0x37b217(0x108)][_0x37b217(0x1da)](),_0x3dfcd5[_0x37b217(0x83)]||(_0x3dfcd5[_0x37b217(0x83)]=!0x0,_0x3dfcd5['emit'](_0x37b217(0xe9),_0x435539)));}function _0x123073(_0x303baa){const _0x29a0d2=_0x1db7bb;_0x303baa[_0x29a0d2(0x1f7)]=setTimeout(_0x303baa[_0x29a0d2(0x108)]['destroy'][_0x29a0d2(0x162)](_0x303baa['_socket']),_0xf37d2d);}function _0x3da764(){const _0x49c70c=_0x1db7bb,_0x22eb24=this[_0x2be2bf];this[_0x49c70c(0x21b)]('close',_0x3da764),this['removeListener'](_0x49c70c(0x209),_0xed9ed7),this[_0x49c70c(0x21b)](_0x49c70c(0x1da),_0x1c427e),_0x22eb24[_0x49c70c(0x1ee)]=_0x57abbf['CLOSING'];let _0x31c407;!this[_0x49c70c(0xca)][_0x49c70c(0x120)]&&!_0x22eb24[_0x49c70c(0xa7)]&&!_0x22eb24[_0x49c70c(0x97)][_0x49c70c(0x21d)][_0x49c70c(0x206)]&&(_0x31c407=_0x22eb24[_0x49c70c(0x108)]['read']())!==null&&_0x22eb24[_0x49c70c(0x97)][_0x49c70c(0xfb)](_0x31c407),_0x22eb24[_0x49c70c(0x97)][_0x49c70c(0x1da)](),this[_0x2be2bf]=void 0x0,clearTimeout(_0x22eb24[_0x49c70c(0x1f7)]),_0x22eb24[_0x49c70c(0x97)]['_writableState']['finished']||_0x22eb24['_receiver'][_0x49c70c(0x21d)][_0x49c70c(0x206)]?_0x22eb24[_0x49c70c(0xf4)]():(_0x22eb24[_0x49c70c(0x97)]['on']('error',_0x3cf449),_0x22eb24[_0x49c70c(0x97)]['on'](_0x49c70c(0x17b),_0x3cf449));}function _0xed9ed7(_0x4cfa6b){const _0x32ce2e=_0x1db7bb;this[_0x2be2bf][_0x32ce2e(0x97)][_0x32ce2e(0xfb)](_0x4cfa6b)||this[_0x32ce2e(0x16f)]();}function _0x1c427e(){const _0x2c0afc=_0x1db7bb,_0x570dd8=this[_0x2be2bf];_0x570dd8[_0x2c0afc(0x1ee)]=_0x57abbf[_0x2c0afc(0xe0)],_0x570dd8[_0x2c0afc(0x97)][_0x2c0afc(0x1da)](),this['end']();}function _0x5aa972(){const _0x2a2fa5=_0x1db7bb,_0x3b4c7a=this[_0x2be2bf];this[_0x2a2fa5(0x21b)](_0x2a2fa5(0xe9),_0x5aa972),this['on'](_0x2a2fa5(0xe9),_0x519d6a),_0x3b4c7a&&(_0x3b4c7a['_readyState']=_0x57abbf[_0x2a2fa5(0xe0)],this[_0x2a2fa5(0x7e)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x19edd2}=_0xeca166;function _0x52b0cb(_0xc9d9b3){const _0x160805=_0x3c64;_0xc9d9b3[_0x160805(0x1ae)](_0x160805(0x11d));}function _0x4561a1(){const _0xe3289b=_0x3c64;!this['destroyed']&&this[_0xe3289b(0x21d)][_0xe3289b(0xb2)]&&this[_0xe3289b(0x7e)]();}function _0x5bb5f2(_0x4b109b){const _0x255dc0=_0x3c64;this[_0x255dc0(0x21b)]('error',_0x5bb5f2),this[_0x255dc0(0x7e)](),this[_0x255dc0(0x110)]('error')===0x0&&this[_0x255dc0(0x1ae)](_0x255dc0(0xe9),_0x4b109b);}function _0x5c95fe(_0x389823,_0x2cf69c){const _0x5330b8=_0x3c64;let _0xa2dc51=!0x0;const _0x47657f=new _0x19edd2({..._0x2cf69c,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x389823['on'](_0x5330b8(0x89),function(_0x3820c7,_0x3314c2){const _0x1d47ee=_0x5330b8,_0x41aaf8=!_0x3314c2&&_0x47657f[_0x1d47ee(0xca)]['objectMode']?_0x3820c7['toString']():_0x3820c7;_0x47657f['push'](_0x41aaf8)||_0x389823[_0x1d47ee(0x16f)]();}),_0x389823[_0x5330b8(0x1d3)](_0x5330b8(0xe9),function(_0x12fbad){const _0x4a2f07=_0x5330b8;_0x47657f[_0x4a2f07(0x8b)]||(_0xa2dc51=!0x1,_0x47657f[_0x4a2f07(0x7e)](_0x12fbad));}),_0x389823[_0x5330b8(0x1d3)](_0x5330b8(0x11d),function(){const _0x23a6d4=_0x5330b8;_0x47657f[_0x23a6d4(0x8b)]||_0x47657f[_0x23a6d4(0x19e)](null);}),_0x47657f[_0x5330b8(0x147)]=function(_0x2fa339,_0x25e551){const _0x8198ea=_0x5330b8;if(_0x389823[_0x8198ea(0x1aa)]===_0x389823[_0x8198ea(0x113)]){_0x25e551(_0x2fa339),process[_0x8198ea(0x9f)](_0x52b0cb,_0x47657f);return;}let _0x200e3c=!0x1;_0x389823[_0x8198ea(0x1d3)]('error',function(_0x28fc85){_0x200e3c=!0x0,_0x25e551(_0x28fc85);}),_0x389823[_0x8198ea(0x1d3)](_0x8198ea(0x11d),function(){const _0x18416c=_0x8198ea;_0x200e3c||_0x25e551(_0x2fa339),process[_0x18416c(0x9f)](_0x52b0cb,_0x47657f);}),_0xa2dc51&&_0x389823[_0x8198ea(0x78)]();},_0x47657f['_final']=function(_0x4d0860){const _0x3cf2d7=_0x5330b8;if(_0x389823[_0x3cf2d7(0x1aa)]===_0x389823[_0x3cf2d7(0x82)]){_0x389823[_0x3cf2d7(0x1d3)](_0x3cf2d7(0x154),function(){_0x47657f['_final'](_0x4d0860);});return;}_0x389823['_socket']!==null&&(_0x389823[_0x3cf2d7(0x108)][_0x3cf2d7(0x21d)][_0x3cf2d7(0xb2)]?(_0x4d0860(),_0x47657f[_0x3cf2d7(0xca)]['endEmitted']&&_0x47657f['destroy']()):(_0x389823[_0x3cf2d7(0x108)][_0x3cf2d7(0x1d3)](_0x3cf2d7(0x17b),function(){_0x4d0860();}),_0x389823[_0x3cf2d7(0x11d)]()));},_0x47657f[_0x5330b8(0x210)]=function(){const _0x49ad29=_0x5330b8;_0x389823[_0x49ad29(0x226)]&&_0x389823[_0x49ad29(0xfc)]();},_0x47657f[_0x5330b8(0x200)]=function(_0x357f9f,_0x111359,_0x263599){const _0x20ad33=_0x5330b8;if(_0x389823[_0x20ad33(0x1aa)]===_0x389823[_0x20ad33(0x82)]){_0x389823[_0x20ad33(0x1d3)](_0x20ad33(0x154),function(){const _0x3045ef=_0x20ad33;_0x47657f[_0x3045ef(0x200)](_0x357f9f,_0x111359,_0x263599);});return;}_0x389823[_0x20ad33(0x8c)](_0x357f9f,_0x263599);},_0x47657f['on'](_0x5330b8(0x1da),_0x4561a1),_0x47657f['on'](_0x5330b8(0xe9),_0x5bb5f2),_0x47657f;}return Oe=_0x5c95fe,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x15318c}=ne();function _0x51feed(_0x3538c6){const _0x45d6c9=_0x3c64,_0x8eb2b=new Set();let _0x4fe5a5=-0x1,_0xa740c8=-0x1,_0x6b3df7=0x0;for(_0x6b3df7;_0x6b3df7<_0x3538c6[_0x45d6c9(0x9a)];_0x6b3df7++){const _0x4b1ebd=_0x3538c6['charCodeAt'](_0x6b3df7);if(_0xa740c8===-0x1&&_0x15318c[_0x4b1ebd]===0x1)_0x4fe5a5===-0x1&&(_0x4fe5a5=_0x6b3df7);else{if(_0x6b3df7!==0x0&&(_0x4b1ebd===0x20||_0x4b1ebd===0x9))_0xa740c8===-0x1&&_0x4fe5a5!==-0x1&&(_0xa740c8=_0x6b3df7);else{if(_0x4b1ebd===0x2c){if(_0x4fe5a5===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x6b3df7);_0xa740c8===-0x1&&(_0xa740c8=_0x6b3df7);const _0x2a70cd=_0x3538c6[_0x45d6c9(0x1dd)](_0x4fe5a5,_0xa740c8);if(_0x8eb2b['has'](_0x2a70cd))throw new SyntaxError(_0x45d6c9(0x8a)+_0x2a70cd+_0x45d6c9(0xac));_0x8eb2b[_0x45d6c9(0x1b6)](_0x2a70cd),_0x4fe5a5=_0xa740c8=-0x1;}else throw new SyntaxError(_0x45d6c9(0xed)+_0x6b3df7);}}}if(_0x4fe5a5===-0x1||_0xa740c8!==-0x1)throw new SyntaxError(_0x45d6c9(0x1b2));const _0x34f420=_0x3538c6[_0x45d6c9(0x1dd)](_0x4fe5a5,_0x6b3df7);if(_0x8eb2b['has'](_0x34f420))throw new SyntaxError(_0x45d6c9(0x8a)+_0x34f420+_0x45d6c9(0xac));return _0x8eb2b['add'](_0x34f420),_0x8eb2b;}return Ce={'parse':_0x51feed},Ce;}var Te,ot;function er(){const _0x5f3c26=_0x56fa89;if(ot)return Te;ot=0x1;const _0xfa3229=_0x7fa1df,_0x598285=_0x18e58e,{Duplex:_0x3a633b}=_0xeca166,{createHash:_0x4bb14a}=_0x4b0b4b,_0x3d6c6f=pt(),_0x138b8c=he(),_0x1c7774=Jt(),_0x1f6171=Ie(),{GUID:_0x230b95,kWebSocket:_0x225a65}=V(),_0x1fbe00=/^[+/0-9A-Za-z]{22}==$/,_0x53647f=0x0,_0x443beb=0x1,_0x9eeb30=0x2;class _0x4d695c extends _0xfa3229{constructor(_0x5c8a25,_0x4c02ee){const _0xdf0968=_0x3c64;if(super(),_0x5c8a25={'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':_0x1f6171,..._0x5c8a25},_0x5c8a25[_0xdf0968(0x168)]==null&&!_0x5c8a25['server']&&!_0x5c8a25['noServer']||_0x5c8a25[_0xdf0968(0x168)]!=null&&(_0x5c8a25[_0xdf0968(0x1a2)]||_0x5c8a25[_0xdf0968(0x179)])||_0x5c8a25[_0xdf0968(0x1a2)]&&_0x5c8a25[_0xdf0968(0x179)])throw new TypeError(_0xdf0968(0x21c));if(_0x5c8a25[_0xdf0968(0x168)]!=null?(this[_0xdf0968(0x177)]=_0x598285[_0xdf0968(0x18f)]((_0x3204a6,_0x299794)=>{const _0x44734f=_0xdf0968,_0x53fe89=_0x598285['STATUS_CODES'][0x1aa];_0x299794[_0x44734f(0x13e)](0x1aa,{'Content-Length':_0x53fe89[_0x44734f(0x9a)],'Content-Type':_0x44734f(0xa3)}),_0x299794[_0x44734f(0x1da)](_0x53fe89);}),this[_0xdf0968(0x177)][_0xdf0968(0x14c)](_0x5c8a25[_0xdf0968(0x168)],_0x5c8a25[_0xdf0968(0x103)],_0x5c8a25[_0xdf0968(0x1f9)],_0x4c02ee)):_0x5c8a25[_0xdf0968(0x1a2)]&&(this['_server']=_0x5c8a25[_0xdf0968(0x1a2)]),this['_server']){const _0x5f68ff=this[_0xdf0968(0x1ae)]['bind'](this,_0xdf0968(0x1bd));this[_0xdf0968(0x18a)]=_0x4f3817(this['_server'],{'listening':this[_0xdf0968(0x1ae)][_0xdf0968(0x162)](this,_0xdf0968(0xcc)),'error':this[_0xdf0968(0x1ae)][_0xdf0968(0x162)](this,_0xdf0968(0xe9)),'upgrade':(_0x163de2,_0x5a8aea,_0x136c4c)=>{this['handleUpgrade'](_0x163de2,_0x5a8aea,_0x136c4c,_0x5f68ff);}});}_0x5c8a25[_0xdf0968(0x1db)]===!0x0&&(_0x5c8a25[_0xdf0968(0x1db)]={}),_0x5c8a25[_0xdf0968(0x12a)]&&(this['clients']=new Set(),this[_0xdf0968(0xea)]=!0x1),this[_0xdf0968(0xe5)]=_0x5c8a25,this[_0xdf0968(0xf2)]=_0x53647f;}[_0x5f3c26(0x1bc)](){const _0x46c388=_0x5f3c26;if(this[_0x46c388(0xe5)][_0x46c388(0x179)])throw new Error(_0x46c388(0x1bb));return this[_0x46c388(0x177)]?this['_server'][_0x46c388(0x1bc)]():null;}['close'](_0x191403){const _0x38e17e=_0x5f3c26;if(this['_state']===_0x9eeb30){_0x191403&&this['once']('close',()=>{const _0x3f0861=_0x3c64;_0x191403(new Error(_0x3f0861(0x117)));}),process['nextTick'](_0x5408fa,this);return;}if(_0x191403&&this['once'](_0x38e17e(0x11d),_0x191403),this['_state']!==_0x443beb){if(this[_0x38e17e(0xf2)]=_0x443beb,this['options'][_0x38e17e(0x179)]||this[_0x38e17e(0xe5)][_0x38e17e(0x1a2)])this[_0x38e17e(0x177)]&&(this[_0x38e17e(0x18a)](),this[_0x38e17e(0x18a)]=this['_server']=null),this[_0x38e17e(0x192)]?this[_0x38e17e(0x192)][_0x38e17e(0xd1)]?this[_0x38e17e(0xea)]=!0x0:process[_0x38e17e(0x9f)](_0x5408fa,this):process[_0x38e17e(0x9f)](_0x5408fa,this);else{const _0x4786a8=this[_0x38e17e(0x177)];this[_0x38e17e(0x18a)](),this[_0x38e17e(0x18a)]=this[_0x38e17e(0x177)]=null,_0x4786a8[_0x38e17e(0x11d)](()=>{_0x5408fa(this);});}}}[_0x5f3c26(0xd4)](_0x287951){const _0x679e9d=_0x5f3c26;if(this[_0x679e9d(0xe5)][_0x679e9d(0x138)]){const _0x5a71d9=_0x287951[_0x679e9d(0x18e)][_0x679e9d(0x1c3)]('?');if((_0x5a71d9!==-0x1?_0x287951[_0x679e9d(0x18e)][_0x679e9d(0x1dd)](0x0,_0x5a71d9):_0x287951[_0x679e9d(0x18e)])!==this[_0x679e9d(0xe5)][_0x679e9d(0x138)])return!0x1;}return!0x0;}[_0x5f3c26(0x1b5)](_0x26faeb,_0x2472bb,_0x160e9d,_0x46ecd2){const _0x142747=_0x5f3c26;_0x2472bb['on'](_0x142747(0xe9),_0x2f78e1);const _0x20e83c=_0x26faeb[_0x142747(0x118)][_0x142747(0x171)],_0x571ec4=_0x26faeb[_0x142747(0x118)][_0x142747(0x13d)],_0x5d8c17=+_0x26faeb[_0x142747(0x118)][_0x142747(0x1b4)];if(_0x26faeb[_0x142747(0x1b9)]!=='GET'){_0x2b9326(this,_0x26faeb,_0x2472bb,0x195,_0x142747(0xcd));return;}if(_0x571ec4===void 0x0||_0x571ec4[_0x142747(0x203)]()!==_0x142747(0x221)){_0x2b9326(this,_0x26faeb,_0x2472bb,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x20e83c===void 0x0||!_0x1fbe00[_0x142747(0x1dc)](_0x20e83c)){_0x2b9326(this,_0x26faeb,_0x2472bb,0x190,_0x142747(0x139));return;}if(_0x5d8c17!==0x8&&_0x5d8c17!==0xd){_0x2b9326(this,_0x26faeb,_0x2472bb,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this['shouldHandle'](_0x26faeb)){_0x51a0d8(_0x2472bb,0x190);return;}const _0x50e67b=_0x26faeb[_0x142747(0x118)]['sec-websocket-protocol'];let _0xe7e3e9=new Set();if(_0x50e67b!==void 0x0)try{_0xe7e3e9=_0x1c7774[_0x142747(0x152)](_0x50e67b);}catch{_0x2b9326(this,_0x26faeb,_0x2472bb,0x190,_0x142747(0x1e0));return;}const _0x4d5b92=_0x26faeb[_0x142747(0x118)]['sec-websocket-extensions'],_0x35515a={};if(this[_0x142747(0xe5)]['perMessageDeflate']&&_0x4d5b92!==void 0x0){const _0x5e677f=new _0x138b8c(this[_0x142747(0xe5)]['perMessageDeflate'],!0x0,this[_0x142747(0xe5)][_0x142747(0x149)]);try{const _0x1adb7b=_0x3d6c6f[_0x142747(0x152)](_0x4d5b92);_0x1adb7b[_0x138b8c[_0x142747(0x169)]]&&(_0x5e677f['accept'](_0x1adb7b[_0x138b8c['extensionName']]),_0x35515a[_0x138b8c[_0x142747(0x169)]]=_0x5e677f);}catch{_0x2b9326(this,_0x26faeb,_0x2472bb,0x190,_0x142747(0x1d4));return;}}if(this[_0x142747(0xe5)][_0x142747(0x140)]){const _0x5eb507={'origin':_0x26faeb[_0x142747(0x118)][''+(_0x5d8c17===0x8?_0x142747(0xb0):'origin')],'secure':!!(_0x26faeb[_0x142747(0x115)][_0x142747(0x1c0)]||_0x26faeb[_0x142747(0x115)]['encrypted']),'req':_0x26faeb};if(this[_0x142747(0xe5)][_0x142747(0x140)][_0x142747(0x9a)]===0x2){this[_0x142747(0xe5)][_0x142747(0x140)](_0x5eb507,(_0x4d7ebe,_0x1eaf62,_0x4ee2f4,_0x3843e1)=>{if(!_0x4d7ebe)return _0x51a0d8(_0x2472bb,_0x1eaf62||0x191,_0x4ee2f4,_0x3843e1);this['completeUpgrade'](_0x35515a,_0x20e83c,_0xe7e3e9,_0x26faeb,_0x2472bb,_0x160e9d,_0x46ecd2);});return;}if(!this[_0x142747(0xe5)]['verifyClient'](_0x5eb507))return _0x51a0d8(_0x2472bb,0x191);}this['completeUpgrade'](_0x35515a,_0x20e83c,_0xe7e3e9,_0x26faeb,_0x2472bb,_0x160e9d,_0x46ecd2);}[_0x5f3c26(0xab)](_0x438287,_0x420f56,_0x5379fb,_0x22492c,_0x476cf1,_0x46d3fc,_0x523900){const _0x2b817b=_0x5f3c26;if(!_0x476cf1['readable']||!_0x476cf1['writable'])return _0x476cf1['destroy']();if(_0x476cf1[_0x225a65])throw new Error(_0x2b817b(0x224));if(this['_state']>_0x53647f)return _0x51a0d8(_0x476cf1,0x1f7);const _0x226204=[_0x2b817b(0x166),'Upgrade:\x20websocket',_0x2b817b(0x11b),'Sec-WebSocket-Accept:\x20'+_0x4bb14a(_0x2b817b(0x14d))[_0x2b817b(0x17e)](_0x420f56+_0x230b95)['digest'](_0x2b817b(0xa2))],_0x44dfc7=new this['options'][(_0x2b817b(0x1e5))](null,void 0x0,this[_0x2b817b(0xe5)]);if(_0x5379fb[_0x2b817b(0xd1)]){const _0x5a8e12=this[_0x2b817b(0xe5)][_0x2b817b(0x178)]?this['options'][_0x2b817b(0x178)](_0x5379fb,_0x22492c):_0x5379fb[_0x2b817b(0xaa)]()[_0x2b817b(0x17c)]()[_0x2b817b(0xbd)];_0x5a8e12&&(_0x226204[_0x2b817b(0x19e)]('Sec-WebSocket-Protocol:\x20'+_0x5a8e12),_0x44dfc7[_0x2b817b(0x1f1)]=_0x5a8e12);}if(_0x438287[_0x138b8c[_0x2b817b(0x169)]]){const _0x8df871=_0x438287[_0x138b8c[_0x2b817b(0x169)]][_0x2b817b(0x14f)],_0x5cf3ae=_0x3d6c6f[_0x2b817b(0xc6)]({[_0x138b8c['extensionName']]:[_0x8df871]});_0x226204[_0x2b817b(0x19e)](_0x2b817b(0x1d1)+_0x5cf3ae),_0x44dfc7[_0x2b817b(0x180)]=_0x438287;}this[_0x2b817b(0x1ae)](_0x2b817b(0x118),_0x226204,_0x22492c),_0x476cf1[_0x2b817b(0xfb)](_0x226204['concat']('\x0d\x0a')[_0x2b817b(0x218)]('\x0d\x0a')),_0x476cf1['removeListener']('error',_0x2f78e1),_0x44dfc7[_0x2b817b(0x13a)](_0x476cf1,_0x46d3fc,{'allowSynchronousEvents':this[_0x2b817b(0xe5)][_0x2b817b(0x161)],'maxPayload':this[_0x2b817b(0xe5)][_0x2b817b(0x149)],'skipUTF8Validation':this['options'][_0x2b817b(0x116)]}),this[_0x2b817b(0x192)]&&(this['clients'][_0x2b817b(0x1b6)](_0x44dfc7),_0x44dfc7['on']('close',()=>{const _0x3aa457=_0x2b817b;this[_0x3aa457(0x192)][_0x3aa457(0x17a)](_0x44dfc7),this[_0x3aa457(0xea)]&&!this[_0x3aa457(0x192)][_0x3aa457(0xd1)]&&process[_0x3aa457(0x9f)](_0x5408fa,this);})),_0x523900(_0x44dfc7,_0x22492c);}}Te=_0x4d695c;function _0x4f3817(_0x5c6eb4,_0x8d4923){const _0x15f747=_0x5f3c26;for(const _0x27b2a6 of Object[_0x15f747(0x86)](_0x8d4923))_0x5c6eb4['on'](_0x27b2a6,_0x8d4923[_0x27b2a6]);return function(){const _0x2a1fb9=_0x15f747;for(const _0x36e0c1 of Object[_0x2a1fb9(0x86)](_0x8d4923))_0x5c6eb4[_0x2a1fb9(0x21b)](_0x36e0c1,_0x8d4923[_0x36e0c1]);};}function _0x5408fa(_0x559599){const _0x5db982=_0x5f3c26;_0x559599[_0x5db982(0xf2)]=_0x9eeb30,_0x559599[_0x5db982(0x1ae)]('close');}function _0x2f78e1(){const _0x7172b1=_0x5f3c26;this[_0x7172b1(0x7e)]();}function _0x51a0d8(_0x3b8f85,_0x3b2a09,_0x3522f5,_0x363c88){const _0x41e62d=_0x5f3c26;_0x3522f5=_0x3522f5||_0x598285['STATUS_CODES'][_0x3b2a09],_0x363c88={'Connection':_0x41e62d(0x11d),'Content-Type':_0x41e62d(0x1df),'Content-Length':Buffer['byteLength'](_0x3522f5),..._0x363c88},_0x3b8f85[_0x41e62d(0x1d3)](_0x41e62d(0x17b),_0x3b8f85[_0x41e62d(0x7e)]),_0x3b8f85[_0x41e62d(0x1da)](_0x41e62d(0xd5)+_0x3b2a09+'\x20'+_0x598285[_0x41e62d(0x184)][_0x3b2a09]+'\x0d\x0a'+Object[_0x41e62d(0x86)](_0x363c88)[_0x41e62d(0x1c2)](_0x566930=>_0x566930+':\x20'+_0x363c88[_0x566930])[_0x41e62d(0x218)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x3522f5);}function _0x2b9326(_0x5aeba5,_0x257b98,_0x428fe6,_0x3255b1,_0xcb9409){const _0x4da6e5=_0x5f3c26;if(_0x5aeba5['listenerCount'](_0x4da6e5(0x148))){const _0x245ef8=new Error(_0xcb9409);Error[_0x4da6e5(0x1e2)](_0x245ef8,_0x2b9326),_0x5aeba5[_0x4da6e5(0x1ae)](_0x4da6e5(0x148),_0x245ef8,_0x428fe6,_0x257b98);}else _0x51a0d8(_0x428fe6,_0x3255b1,_0xcb9409);}return Te;}er();var tr=Object['getOwnPropertyDescriptor'],rr=(_0x58d9c0,_0x42c9b6,_0x3f5ee0,_0x13b5f4)=>{const _0x27fbbf=_0x56fa89;for(var _0xf29b6e=_0x13b5f4>0x1?void 0x0:_0x13b5f4?tr(_0x42c9b6,_0x3f5ee0):_0x42c9b6,_0x99efdd=_0x58d9c0[_0x27fbbf(0x9a)]-0x1,_0x360da3;_0x99efdd>=0x0;_0x99efdd--)(_0x360da3=_0x58d9c0[_0x99efdd])&&(_0xf29b6e=_0x360da3(_0xf29b6e)||_0xf29b6e);return _0xf29b6e;},sr=(_0x7e32a0,_0x230f5f)=>(_0x3a7880,_0x278b19)=>_0x230f5f(_0x3a7880,_0x278b19,_0x7e32a0);let Ne=class extends _0x445d2d{constructor(_0x4b170a){const _0x205f08=_0x56fa89;super(),this[_0x205f08(0xe8)]=_0x4b170a;}['createSocket'](_0x15ef1a){const _0x13895c=_0x56fa89;var _0x598e9d;const _0x11cca9=(_0x598e9d=this['_configService']['getConfig'](Be))==null?void 0x0:_0x598e9d[_0x13895c(0x1d5)];try{const _0x3d1885=new Qt(_0x15ef1a,{'headers':{..._0x11cca9}}),_0xfaa22d=new _0x4d108c();return{'URL':_0x15ef1a,'close':(_0x1ba3bf,_0x1ac62a)=>{const _0x46bf23=_0x13895c;_0x3d1885[_0x46bf23(0x11d)](_0x1ba3bf,_0x1ac62a),_0xfaa22d[_0x46bf23(0x122)]();},'send':_0x3ba17f=>{const _0x43e79e=_0x13895c;_0x3d1885[_0x43e79e(0x8c)](_0x3ba17f);},'open$':new _0x5d15d1(_0x240a13=>{const _0x295db8=_0x13895c,_0x13dbd4=_0x2093a2=>_0x240a13['next'](_0x2093a2);_0x3d1885[_0x295db8(0x129)]('open',_0x13dbd4),_0xfaa22d[_0x295db8(0x1b6)](_0x44cecc(()=>_0x3d1885['removeEventListener'](_0x295db8(0x154),_0x13dbd4)));})['pipe'](_0x3a9b3e()),'close$':new _0x5d15d1(_0x4519c1=>{const _0x36b01e=_0x13895c,_0x30dff8=_0x6af30a=>_0x4519c1[_0x36b01e(0x17c)](_0x6af30a);_0x3d1885[_0x36b01e(0x129)](_0x36b01e(0x11d),_0x30dff8),_0xfaa22d[_0x36b01e(0x1b6)](_0x44cecc(()=>_0x3d1885[_0x36b01e(0x1d0)](_0x36b01e(0x11d),_0x30dff8)));})[_0x13895c(0x1c8)](_0x3a9b3e()),'error$':new _0x5d15d1(_0x4c88dc=>{const _0x48a078=_0x13895c,_0x101f2e=_0x525ec6=>_0x4c88dc['next'](_0x525ec6);_0x3d1885[_0x48a078(0x129)](_0x48a078(0xe9),_0x101f2e),_0xfaa22d[_0x48a078(0x1b6)](_0x44cecc(()=>_0x3d1885[_0x48a078(0x1d0)]('error',_0x101f2e)));})[_0x13895c(0x1c8)](_0x3a9b3e()),'message$':new _0x5d15d1(_0x914726=>{const _0x57ac4e=_0x13895c,_0x46d2d9=_0x56826c=>_0x914726['next'](_0x56826c);_0x3d1885['addEventListener'](_0x57ac4e(0x89),_0x46d2d9),_0xfaa22d[_0x57ac4e(0x1b6)](_0x44cecc(()=>_0x3d1885[_0x57ac4e(0x1d0)](_0x57ac4e(0x89),_0x46d2d9)));})['pipe'](_0x3a9b3e())};}catch(_0x290f02){return console[_0x13895c(0xe9)](_0x290f02),null;}}};Ne=rr([sr(0x0,_0x4508e4)],Ne);var ir=Object[_0x56fa89(0x1b3)],nr=Object[_0x56fa89(0x91)],or=(_0x589462,_0x3ace11,_0x3d88cb)=>_0x3ace11 in _0x589462?ir(_0x589462,_0x3ace11,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3d88cb}):_0x589462[_0x3ace11]=_0x3d88cb,ar=(_0x29528c,_0x38b07c,_0x260c32,_0x434d3a)=>{for(var _0x17bf9e=_0x434d3a>0x1?void 0x0:_0x434d3a?nr(_0x38b07c,_0x260c32):_0x38b07c,_0x462b9e=_0x29528c['length']-0x1,_0x27b823;_0x462b9e>=0x0;_0x462b9e--)(_0x27b823=_0x29528c[_0x462b9e])&&(_0x17bf9e=_0x27b823(_0x17bf9e)||_0x17bf9e);return _0x17bf9e;},ke=(_0x361a17,_0x2bd7b3)=>(_0x854009,_0x2e536a)=>_0x2bd7b3(_0x854009,_0x2e536a,_0x361a17),lr=(_0x51c6ed,_0x362c05,_0xe5544a)=>or(_0x51c6ed,_0x362c05+'',_0xe5544a);let Pe=class extends _0x391e72{constructor(_0x25092a=Ft,_0x18df7f,_0x300df1,_0x4233fd){const _0x5d0aac=_0x56fa89;_0x25092a[_0x5d0aac(0x1d5)]||_0x18df7f[_0x5d0aac(0x187)](_0x5d0aac(0xfe)),super(),this['_configService']=_0x300df1,this['_injector']=_0x4233fd,this[_0x5d0aac(0xe8)][_0x5d0aac(0xc5)](Be,_0x25092a);}[_0x56fa89(0xde)](){const _0x6740c=_0x56fa89;this[_0x6740c(0x19d)]();}[_0x56fa89(0x19d)](){_0x5c7608(this['_injector'],[[_0x321942,{'useClass':Ne}]]);}};lr(Pe,_0x56fa89(0x1cc),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),Pe=ar([_0x15ab13(_0x5802fe),ke(0x1,_0x5aa1a5),ke(0x2,_0x4508e4),ke(0x3,_0x14b929(_0x17d5dd))],Pe);var fr=Object[_0x56fa89(0x91)],cr=(_0xb0440b,_0xfb1274,_0x28cfd2,_0x45177d)=>{const _0x3bbc0e=_0x56fa89;for(var _0x566a60=_0x45177d>0x1?void 0x0:_0x45177d?fr(_0xfb1274,_0x28cfd2):_0xfb1274,_0x380fd5=_0xb0440b[_0x3bbc0e(0x9a)]-0x1,_0x2cccb4;_0x380fd5>=0x0;_0x380fd5--)(_0x2cccb4=_0xb0440b[_0x380fd5])&&(_0x566a60=_0x2cccb4(_0x566a60)||_0x566a60);return _0x566a60;},se=(_0x352e38,_0x43bd75)=>(_0x18e06a,_0x3ae716)=>_0x43bd75(_0x18e06a,_0x3ae716,_0x352e38);let at=class extends _0x441541{constructor(_0xb3a84c,_0x24ed74,_0x3e2841,_0x27ff8e,_0x1581b7){const _0x50bdf6=_0x56fa89;super(_0xb3a84c,_0x24ed74,_0x3e2841,_0x27ff8e,_0x1581b7);const _0x2528b3=this[_0x50bdf6(0xe8)][_0x50bdf6(0x12e)](Be);this[_0x50bdf6(0x198)][_0x50bdf6(0x21a)]({'interceptor':(_0x219c39,_0xe3f749)=>{const _0x2a1ec2=_0x50bdf6;var _0x29564c;const _0x2fdba2=_0x219c39[_0x2a1ec2(0x118)];return(_0x29564c=_0x2528b3==null?void 0x0:_0x2528b3[_0x2a1ec2(0x1d5)])!=null&&_0x29564c[_0x2a1ec2(0x16b)]&&_0x2fdba2[_0x2a1ec2(0xb7)](_0x2a1ec2(0x1fc),_0x2528b3['customHeaders'][_0x2a1ec2(0x16b)]),_0xe3f749(_0x219c39);}});}async[_0x56fa89(0x213)](_0x3b5cc3){const _0x1de370=_0x56fa89;return this[_0x1de370(0x150)](_0x3b5cc3);}};at=cr([se(0x0,_0x14b929(_0x17d5dd)),se(0x1,_0x14b929(_0x31b30a)),se(0x2,_0x4508e4),se(0x3,_0x5aa1a5),se(0x4,_0x269f9d)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};