@univerjs-pro/collaboration-client-node 0.7.0-nightly.202505211607 → 0.7.0-nightly.202505221607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +8 -8
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x371bb4=_0x13d2;(function(_0x16d6c8,_0x446970){const _0x502586=_0x13d2,_0x3e4c11=_0x16d6c8();while(!![]){try{const _0x212f27=-parseInt(_0x502586(0x28d))/0x1+-parseInt(_0x502586(0x24a))/0x2*(parseInt(_0x502586(0x16c))/0x3)+-parseInt(_0x502586(0x2d1))/0x4*(-parseInt(_0x502586(0x21a))/0x5)+parseInt(_0x502586(0x243))/0x6*(parseInt(_0x502586(0x210))/0x7)+-parseInt(_0x502586(0x1ea))/0x8+-parseInt(_0x502586(0x1ba))/0x9+-parseInt(_0x502586(0x166))/0xa*(-parseInt(_0x502586(0x2e6))/0xb);if(_0x212f27===_0x446970)break;else _0x3e4c11['push'](_0x3e4c11['shift']());}catch(_0xddfe7f){_0x3e4c11['push'](_0x3e4c11['shift']());}}}(_0x35ce,0xb8655));Object[_0x371bb4(0x184)](exports,Symbol[_0x371bb4(0x309)],{'value':'Module'});const st=require(_0x371bb4(0x22c)),A=require('@univerjs/core'),it=require(_0x371bb4(0x24e)),V=require(_0x371bb4(0x1f4)),nt=require('events'),vt=require(_0x371bb4(0x15e)),ot=require(_0x371bb4(0x2c6)),St=require(_0x371bb4(0x2c8)),Et=require('tls'),Le=require(_0x371bb4(0x1e9)),oe=require('stream'),xt=require('url'),bt=require(_0x371bb4(0x1ee)),wt=require('buffer'),Ot=require(_0x371bb4(0x22d)),fe='collaboration-client-node.config',Ct={'customHeaders':{}};function _0x13d2(_0x25ec0d,_0x1b6a3f){const _0x35ce1b=_0x35ce();return _0x13d2=function(_0x13d2b9,_0x35ee35){_0x13d2b9=_0x13d2b9-0x15d;let _0x22952b=_0x35ce1b[_0x13d2b9];return _0x22952b;},_0x13d2(_0x25ec0d,_0x1b6a3f);}function Tt(_0x2338dc){const _0x4cd9d3=_0x371bb4;return _0x2338dc&&_0x2338dc[_0x4cd9d3(0x324)]&&Object['prototype'][_0x4cd9d3(0x269)][_0x4cd9d3(0x2f1)](_0x2338dc,_0x4cd9d3(0x1f3))?_0x2338dc[_0x4cd9d3(0x1f3)]:_0x2338dc;}function at(_0x40d71b){const _0x3cae82=_0x371bb4;if(Object[_0x3cae82(0x192)][_0x3cae82(0x269)]['call'](_0x40d71b,_0x3cae82(0x324)))return _0x40d71b;var _0x42cecc=_0x40d71b['default'];if(typeof _0x42cecc=='function'){var _0x249e67=function _0xaeb6ba(){const _0x2b1d2d=_0x3cae82;return this instanceof _0xaeb6ba?Reflect[_0x2b1d2d(0x220)](_0x42cecc,arguments,this[_0x2b1d2d(0x2b9)]):_0x42cecc['apply'](this,arguments);};_0x249e67['prototype']=_0x42cecc[_0x3cae82(0x192)];}else _0x249e67={};return Object['defineProperty'](_0x249e67,_0x3cae82(0x324),{'value':!0x0}),Object[_0x3cae82(0x2c1)](_0x40d71b)['forEach'](function(_0x438bfa){const _0xe37e76=_0x3cae82;var _0xdb8584=Object[_0xe37e76(0x1fb)](_0x40d71b,_0x438bfa);Object[_0xe37e76(0x184)](_0x249e67,_0x438bfa,_0xdb8584[_0xe37e76(0x287)]?_0xdb8584:{'enumerable':!0x0,'get':function(){return _0x40d71b[_0x438bfa];}});}),_0x249e67;}var se={'exports':{}},ge,Ge;function H(){const _0x51ba4d=_0x371bb4;if(Ge)return ge;Ge=0x1;const _0x275d81=[_0x51ba4d(0x202),_0x51ba4d(0x1aa),_0x51ba4d(0x25f)],_0x430aaf=typeof Blob<'u';return _0x430aaf&&_0x275d81[_0x51ba4d(0x2c3)](_0x51ba4d(0x2b4)),ge={'BINARY_TYPES':_0x275d81,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x430aaf,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x51ba4d(0x190)),'kStatusCode':Symbol(_0x51ba4d(0x1b5)),'kWebSocket':Symbol(_0x51ba4d(0x167)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x371bb4(0x2e0)](Object[_0x371bb4(0x184)]({'__proto__':null,'default':Nt},Symbol[_0x371bb4(0x309)],{'value':_0x371bb4(0x20c)})),Lt=at(kt);var Ve;function ce(){const _0x47eb92=_0x371bb4;if(Ve)return se[_0x47eb92(0x264)];Ve=0x1;const {EMPTY_BUFFER:_0x326d31}=H(),_0x59179e=Buffer[Symbol[_0x47eb92(0x296)]];function _0x35debe(_0x1557f4,_0x470d98){const _0x2f0c9f=_0x47eb92;if(_0x1557f4[_0x2f0c9f(0x178)]===0x0)return _0x326d31;if(_0x1557f4[_0x2f0c9f(0x178)]===0x1)return _0x1557f4[0x0];const _0x56630d=Buffer['allocUnsafe'](_0x470d98);let _0x422096=0x0;for(let _0x202b94=0x0;_0x202b94<_0x1557f4[_0x2f0c9f(0x178)];_0x202b94++){const _0xd494e1=_0x1557f4[_0x202b94];_0x56630d[_0x2f0c9f(0x22f)](_0xd494e1,_0x422096),_0x422096+=_0xd494e1['length'];}return _0x422096<_0x470d98?new _0x59179e(_0x56630d[_0x2f0c9f(0x209)],_0x56630d[_0x2f0c9f(0x1da)],_0x422096):_0x56630d;}function _0x34fecc(_0x5c2e9b,_0x37cce0,_0x13aeeb,_0x5de995,_0x373b67){for(let _0x576e0d=0x0;_0x576e0d<_0x373b67;_0x576e0d++)_0x13aeeb[_0x5de995+_0x576e0d]=_0x5c2e9b[_0x576e0d]^_0x37cce0[_0x576e0d&0x3];}function _0x5467b7(_0x2a4dd0,_0x5dfdda){const _0x232c8a=_0x47eb92;for(let _0x404906=0x0;_0x404906<_0x2a4dd0[_0x232c8a(0x178)];_0x404906++)_0x2a4dd0[_0x404906]^=_0x5dfdda[_0x404906&0x3];}function _0x5e6bc3(_0x19492d){const _0x293729=_0x47eb92;return _0x19492d[_0x293729(0x178)]===_0x19492d[_0x293729(0x209)]['byteLength']?_0x19492d[_0x293729(0x209)]:_0x19492d[_0x293729(0x209)]['slice'](_0x19492d[_0x293729(0x1da)],_0x19492d['byteOffset']+_0x19492d[_0x293729(0x178)]);}function _0x581121(_0x4b36f1){const _0x283560=_0x47eb92;if(_0x581121['readOnly']=!0x0,Buffer['isBuffer'](_0x4b36f1))return _0x4b36f1;let _0x328efc;return _0x4b36f1 instanceof ArrayBuffer?_0x328efc=new _0x59179e(_0x4b36f1):ArrayBuffer[_0x283560(0x1e2)](_0x4b36f1)?_0x328efc=new _0x59179e(_0x4b36f1[_0x283560(0x209)],_0x4b36f1[_0x283560(0x1da)],_0x4b36f1[_0x283560(0x18e)]):(_0x328efc=Buffer[_0x283560(0x1e4)](_0x4b36f1),_0x581121[_0x283560(0x27c)]=!0x1),_0x328efc;}if(se[_0x47eb92(0x264)]={'concat':_0x35debe,'mask':_0x34fecc,'toArrayBuffer':_0x5e6bc3,'toBuffer':_0x581121,'unmask':_0x5467b7},!process[_0x47eb92(0x200)][_0x47eb92(0x172)])try{const _0x3793d0=Lt;se[_0x47eb92(0x264)][_0x47eb92(0x1de)]=function(_0x15a24b,_0x2a2191,_0x486817,_0x187f10,_0x4aa566){_0x4aa566<0x30?_0x34fecc(_0x15a24b,_0x2a2191,_0x486817,_0x187f10,_0x4aa566):_0x3793d0['mask'](_0x15a24b,_0x2a2191,_0x486817,_0x187f10,_0x4aa566);},se[_0x47eb92(0x264)]['unmask']=function(_0x2de411,_0x5b0eb5){const _0xcfff16=_0x47eb92;_0x2de411['length']<0x20?_0x5467b7(_0x2de411,_0x5b0eb5):_0x3793d0[_0xcfff16(0x1d8)](_0x2de411,_0x5b0eb5);};}catch{}return se[_0x47eb92(0x264)];}var ye,He;function Pt(){const _0x435e35=_0x371bb4;if(He)return ye;He=0x1;const _0x5b9708=Symbol('kDone'),_0x43e584=Symbol(_0x435e35(0x160));class _0x4e721b{constructor(_0x15c89d){const _0xf79328=_0x435e35;this[_0x5b9708]=()=>{this['pending']--,this[_0x43e584]();},this[_0xf79328(0x2cb)]=_0x15c89d||0x1/0x0,this[_0xf79328(0x1db)]=[],this['pending']=0x0;}[_0x435e35(0x1f6)](_0x439248){const _0x1a7236=_0x435e35;this[_0x1a7236(0x1db)][_0x1a7236(0x2c3)](_0x439248),this[_0x43e584]();}[_0x43e584](){const _0x399979=_0x435e35;if(this[_0x399979(0x2c5)]!==this['concurrency']&&this[_0x399979(0x1db)]['length']){const _0x287c5d=this[_0x399979(0x1db)][_0x399979(0x26b)]();this[_0x399979(0x2c5)]++,_0x287c5d(this[_0x5b9708]);}}}return ye=_0x4e721b,ye;}var ve,ze;function he(){const _0x4336f5=_0x371bb4;if(ze)return ve;ze=0x1;const _0x150909=bt,_0xb69b47=ce(),_0x130ed1=Pt(),{kStatusCode:_0x595645}=H(),_0x47124d=Buffer[Symbol[_0x4336f5(0x296)]],_0x221aef=Buffer['from']([0x0,0x0,0xff,0xff]),_0x27a418=Symbol(_0x4336f5(0x17a)),_0x53aea5=Symbol(_0x4336f5(0x174)),_0x2afb6c=Symbol(_0x4336f5(0x321)),_0x5db3b0=Symbol(_0x4336f5(0x27b)),_0x89f2a5=Symbol(_0x4336f5(0x27f));let _0x125692;class _0x2f3ad5{constructor(_0x177af2,_0x48499a,_0x2d3088){const _0x137cdb=_0x4336f5;if(this[_0x137cdb(0x20b)]=_0x2d3088|0x0,this[_0x137cdb(0x2a1)]=_0x177af2||{},this['_threshold']=this['_options']['threshold']!==void 0x0?this[_0x137cdb(0x2a1)][_0x137cdb(0x25d)]:0x400,this[_0x137cdb(0x31c)]=!!_0x48499a,this[_0x137cdb(0x2db)]=null,this[_0x137cdb(0x30e)]=null,this[_0x137cdb(0x17c)]=null,!_0x125692){const _0x462a0a=this['_options'][_0x137cdb(0x1c9)]!==void 0x0?this[_0x137cdb(0x2a1)][_0x137cdb(0x1c9)]:0xa;_0x125692=new _0x130ed1(_0x462a0a);}}static get['extensionName'](){return'permessage-deflate';}['offer'](){const _0x3a06ff=_0x4336f5,_0x224c04={};return this[_0x3a06ff(0x2a1)][_0x3a06ff(0x2dd)]&&(_0x224c04['server_no_context_takeover']=!0x0),this[_0x3a06ff(0x2a1)][_0x3a06ff(0x27d)]&&(_0x224c04[_0x3a06ff(0x188)]=!0x0),this[_0x3a06ff(0x2a1)][_0x3a06ff(0x327)]&&(_0x224c04['server_max_window_bits']=this[_0x3a06ff(0x2a1)][_0x3a06ff(0x327)]),this[_0x3a06ff(0x2a1)]['clientMaxWindowBits']?_0x224c04[_0x3a06ff(0x1f2)]=this[_0x3a06ff(0x2a1)][_0x3a06ff(0x2ea)]:this[_0x3a06ff(0x2a1)][_0x3a06ff(0x2ea)]==null&&(_0x224c04['client_max_window_bits']=!0x0),_0x224c04;}[_0x4336f5(0x18b)](_0x487edf){const _0x156e50=_0x4336f5;return _0x487edf=this[_0x156e50(0x2d4)](_0x487edf),this[_0x156e50(0x17c)]=this[_0x156e50(0x31c)]?this[_0x156e50(0x18f)](_0x487edf):this[_0x156e50(0x2f3)](_0x487edf),this[_0x156e50(0x17c)];}['cleanup'](){const _0x207803=_0x4336f5;if(this['_inflate']&&(this[_0x207803(0x30e)][_0x207803(0x17e)](),this[_0x207803(0x30e)]=null),this[_0x207803(0x2db)]){const _0x2ee277=this[_0x207803(0x2db)][_0x2afb6c];this[_0x207803(0x2db)]['close'](),this[_0x207803(0x2db)]=null,_0x2ee277&&_0x2ee277(new Error(_0x207803(0x28b)));}}[_0x4336f5(0x18f)](_0x30d518){const _0x148d96=_0x4336f5,_0x17e44a=this['_options'],_0x47a64d=_0x30d518[_0x148d96(0x214)](_0xf665ed=>!(_0x17e44a['serverNoContextTakeover']===!0x1&&_0xf665ed[_0x148d96(0x2d9)]||_0xf665ed[_0x148d96(0x18a)]&&(_0x17e44a[_0x148d96(0x327)]===!0x1||typeof _0x17e44a['serverMaxWindowBits']==_0x148d96(0x2fe)&&_0x17e44a[_0x148d96(0x327)]>_0xf665ed['server_max_window_bits'])||typeof _0x17e44a[_0x148d96(0x2ea)]==_0x148d96(0x2fe)&&!_0xf665ed[_0x148d96(0x1f2)]));if(!_0x47a64d)throw new Error(_0x148d96(0x294));return _0x17e44a['serverNoContextTakeover']&&(_0x47a64d['server_no_context_takeover']=!0x0),_0x17e44a['clientNoContextTakeover']&&(_0x47a64d[_0x148d96(0x188)]=!0x0),typeof _0x17e44a[_0x148d96(0x327)]==_0x148d96(0x2fe)&&(_0x47a64d['server_max_window_bits']=_0x17e44a['serverMaxWindowBits']),typeof _0x17e44a[_0x148d96(0x2ea)]=='number'?_0x47a64d[_0x148d96(0x1f2)]=_0x17e44a[_0x148d96(0x2ea)]:(_0x47a64d[_0x148d96(0x1f2)]===!0x0||_0x17e44a[_0x148d96(0x2ea)]===!0x1)&&delete _0x47a64d['client_max_window_bits'],_0x47a64d;}['acceptAsClient'](_0x317c0f){const _0x39e729=_0x4336f5,_0xdd9d9=_0x317c0f[0x0];if(this[_0x39e729(0x2a1)]['clientNoContextTakeover']===!0x1&&_0xdd9d9['client_no_context_takeover'])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0xdd9d9[_0x39e729(0x1f2)])typeof this[_0x39e729(0x2a1)][_0x39e729(0x2ea)]==_0x39e729(0x2fe)&&(_0xdd9d9[_0x39e729(0x1f2)]=this[_0x39e729(0x2a1)][_0x39e729(0x2ea)]);else{if(this[_0x39e729(0x2a1)][_0x39e729(0x2ea)]===!0x1||typeof this[_0x39e729(0x2a1)][_0x39e729(0x2ea)]==_0x39e729(0x2fe)&&_0xdd9d9[_0x39e729(0x1f2)]>this[_0x39e729(0x2a1)]['clientMaxWindowBits'])throw new Error(_0x39e729(0x170));}return _0xdd9d9;}[_0x4336f5(0x2d4)](_0x430ab2){const _0x2e1c4e=_0x4336f5;return _0x430ab2[_0x2e1c4e(0x25a)](_0x2dee7a=>{const _0xe75a4e=_0x2e1c4e;Object[_0xe75a4e(0x2c1)](_0x2dee7a)[_0xe75a4e(0x25a)](_0x43f800=>{const _0x4d2c18=_0xe75a4e;let _0x40eaa1=_0x2dee7a[_0x43f800];if(_0x40eaa1[_0x4d2c18(0x178)]>0x1)throw new Error(_0x4d2c18(0x26e)+_0x43f800+_0x4d2c18(0x20d));if(_0x40eaa1=_0x40eaa1[0x0],_0x43f800==='client_max_window_bits'){if(_0x40eaa1!==!0x0){const _0x1c4125=+_0x40eaa1;if(!Number[_0x4d2c18(0x2d3)](_0x1c4125)||_0x1c4125<0x8||_0x1c4125>0xf)throw new TypeError(_0x4d2c18(0x2a3)+_0x43f800+_0x4d2c18(0x28f)+_0x40eaa1);_0x40eaa1=_0x1c4125;}else{if(!this[_0x4d2c18(0x31c)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x43f800+_0x4d2c18(0x28f)+_0x40eaa1);}}else{if(_0x43f800===_0x4d2c18(0x18a)){const _0x5dcf38=+_0x40eaa1;if(!Number[_0x4d2c18(0x2d3)](_0x5dcf38)||_0x5dcf38<0x8||_0x5dcf38>0xf)throw new TypeError(_0x4d2c18(0x2a3)+_0x43f800+'\x22:\x20'+_0x40eaa1);_0x40eaa1=_0x5dcf38;}else{if(_0x43f800===_0x4d2c18(0x188)||_0x43f800===_0x4d2c18(0x2d9)){if(_0x40eaa1!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x43f800+_0x4d2c18(0x28f)+_0x40eaa1);}else throw new Error(_0x4d2c18(0x2b2)+_0x43f800+'\x22');}}_0x2dee7a[_0x43f800]=_0x40eaa1;});}),_0x430ab2;}[_0x4336f5(0x244)](_0x12fd38,_0x2670d1,_0x2a68c6){_0x125692['add'](_0x2fc98e=>{const _0x461dff=_0x13d2;this[_0x461dff(0x205)](_0x12fd38,_0x2670d1,(_0x473ce3,_0x4d0476)=>{_0x2fc98e(),_0x2a68c6(_0x473ce3,_0x4d0476);});});}[_0x4336f5(0x1dd)](_0x24040b,_0x32d492,_0x1642b3){const _0x3064e6=_0x4336f5;_0x125692[_0x3064e6(0x1f6)](_0x79058f=>{const _0x1119b9=_0x3064e6;this[_0x1119b9(0x1fc)](_0x24040b,_0x32d492,(_0x8c4284,_0x3bebb0)=>{_0x79058f(),_0x1642b3(_0x8c4284,_0x3bebb0);});});}[_0x4336f5(0x205)](_0x3b4669,_0x493315,_0x47fbef){const _0x1f0e1a=_0x4336f5,_0x24a0bc=this[_0x1f0e1a(0x31c)]?_0x1f0e1a(0x2fc):_0x1f0e1a(0x2cf);if(!this['_inflate']){const _0x2dd026=_0x24a0bc+'_max_window_bits',_0x12f6cc=typeof this[_0x1f0e1a(0x17c)][_0x2dd026]!=_0x1f0e1a(0x2fe)?_0x150909[_0x1f0e1a(0x226)]:this['params'][_0x2dd026];this[_0x1f0e1a(0x30e)]=_0x150909[_0x1f0e1a(0x258)]({...this[_0x1f0e1a(0x2a1)]['zlibInflateOptions'],'windowBits':_0x12f6cc}),this['_inflate'][_0x27a418]=this,this[_0x1f0e1a(0x30e)][_0x53aea5]=0x0,this[_0x1f0e1a(0x30e)][_0x5db3b0]=[],this[_0x1f0e1a(0x30e)]['on'](_0x1f0e1a(0x27f),_0x2c3a11),this[_0x1f0e1a(0x30e)]['on']('data',_0x20d53e);}this[_0x1f0e1a(0x30e)][_0x2afb6c]=_0x47fbef,this[_0x1f0e1a(0x30e)][_0x1f0e1a(0x26c)](_0x3b4669),_0x493315&&this[_0x1f0e1a(0x30e)]['write'](_0x221aef),this['_inflate'][_0x1f0e1a(0x19f)](()=>{const _0x1578ee=_0x1f0e1a,_0x54815c=this[_0x1578ee(0x30e)][_0x89f2a5];if(_0x54815c){this[_0x1578ee(0x30e)][_0x1578ee(0x17e)](),this[_0x1578ee(0x30e)]=null,_0x47fbef(_0x54815c);return;}const _0x1fced9=_0xb69b47[_0x1578ee(0x30c)](this[_0x1578ee(0x30e)][_0x5db3b0],this['_inflate'][_0x53aea5]);this['_inflate'][_0x1578ee(0x1d3)][_0x1578ee(0x2ff)]?(this['_inflate'][_0x1578ee(0x17e)](),this[_0x1578ee(0x30e)]=null):(this[_0x1578ee(0x30e)][_0x53aea5]=0x0,this[_0x1578ee(0x30e)][_0x5db3b0]=[],_0x493315&&this[_0x1578ee(0x17c)][_0x24a0bc+'_no_context_takeover']&&this[_0x1578ee(0x30e)]['reset']()),_0x47fbef(null,_0x1fced9);});}[_0x4336f5(0x1fc)](_0x1bcef5,_0x57f1ad,_0x378896){const _0xe60413=_0x4336f5,_0x3cfcf3=this[_0xe60413(0x31c)]?_0xe60413(0x2cf):_0xe60413(0x2fc);if(!this[_0xe60413(0x2db)]){const _0x5b103a=_0x3cfcf3+'_max_window_bits',_0x5b6221=typeof this[_0xe60413(0x17c)][_0x5b103a]!=_0xe60413(0x2fe)?_0x150909[_0xe60413(0x226)]:this[_0xe60413(0x17c)][_0x5b103a];this[_0xe60413(0x2db)]=_0x150909[_0xe60413(0x24f)]({...this[_0xe60413(0x2a1)][_0xe60413(0x1b2)],'windowBits':_0x5b6221}),this[_0xe60413(0x2db)][_0x53aea5]=0x0,this[_0xe60413(0x2db)][_0x5db3b0]=[],this[_0xe60413(0x2db)]['on'](_0xe60413(0x1a8),_0x3f9c8a);}this['_deflate'][_0x2afb6c]=_0x378896,this[_0xe60413(0x2db)][_0xe60413(0x26c)](_0x1bcef5),this['_deflate'][_0xe60413(0x19f)](_0x150909['Z_SYNC_FLUSH'],()=>{const _0x3eb1cf=_0xe60413;if(!this[_0x3eb1cf(0x2db)])return;let _0x449984=_0xb69b47[_0x3eb1cf(0x30c)](this[_0x3eb1cf(0x2db)][_0x5db3b0],this['_deflate'][_0x53aea5]);_0x57f1ad&&(_0x449984=new _0x47124d(_0x449984[_0x3eb1cf(0x209)],_0x449984[_0x3eb1cf(0x1da)],_0x449984[_0x3eb1cf(0x178)]-0x4)),this[_0x3eb1cf(0x2db)][_0x2afb6c]=null,this[_0x3eb1cf(0x2db)][_0x53aea5]=0x0,this[_0x3eb1cf(0x2db)][_0x5db3b0]=[],_0x57f1ad&&this['params'][_0x3cfcf3+_0x3eb1cf(0x1df)]&&this[_0x3eb1cf(0x2db)][_0x3eb1cf(0x16f)](),_0x378896(null,_0x449984);});}}ve=_0x2f3ad5;function _0x3f9c8a(_0x249f1b){const _0x3c3f05=_0x4336f5;this[_0x5db3b0][_0x3c3f05(0x2c3)](_0x249f1b),this[_0x53aea5]+=_0x249f1b[_0x3c3f05(0x178)];}function _0x20d53e(_0x1d6c70){const _0xc50804=_0x4336f5;if(this[_0x53aea5]+=_0x1d6c70[_0xc50804(0x178)],this[_0x27a418]['_maxPayload']<0x1||this[_0x53aea5]<=this[_0x27a418][_0xc50804(0x20b)]){this[_0x5db3b0][_0xc50804(0x2c3)](_0x1d6c70);return;}this[_0x89f2a5]=new RangeError(_0xc50804(0x29b)),this[_0x89f2a5][_0xc50804(0x1e6)]=_0xc50804(0x1b8),this[_0x89f2a5][_0x595645]=0x3f1,this[_0xc50804(0x2df)](_0xc50804(0x1a8),_0x20d53e),this[_0xc50804(0x16f)]();}function _0x2c3a11(_0x55b7fb){const _0x3c96d5=_0x4336f5;if(this[_0x27a418][_0x3c96d5(0x30e)]=null,this[_0x89f2a5]){this[_0x2afb6c](this[_0x89f2a5]);return;}_0x55b7fb[_0x595645]=0x3ef,this[_0x2afb6c](_0x55b7fb);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object['defineProperty']({'__proto__':null,'default':Dt},Symbol[_0x371bb4(0x309)],{'value':_0x371bb4(0x20c)})),Bt=at(Rt);var Ye;function ae(){const _0x202c0c=_0x371bb4;if(Ye)return ie[_0x202c0c(0x264)];Ye=0x1;const {isUtf8:_0x35075b}=wt,{hasBlob:_0xdfac10}=H(),_0x160cc4=[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 _0x1fc22c(_0x79c9df){return _0x79c9df>=0x3e8&&_0x79c9df<=0x3f6&&_0x79c9df!==0x3ec&&_0x79c9df!==0x3ed&&_0x79c9df!==0x3ee||_0x79c9df>=0xbb8&&_0x79c9df<=0x1387;}function _0x2a4d96(_0x58619c){const _0x31c203=_0x202c0c,_0x20b27b=_0x58619c[_0x31c203(0x178)];let _0x3d60ca=0x0;for(;_0x3d60ca<_0x20b27b;)if((_0x58619c[_0x3d60ca]&0x80)===0x0)_0x3d60ca++;else{if((_0x58619c[_0x3d60ca]&0xe0)===0xc0){if(_0x3d60ca+0x1===_0x20b27b||(_0x58619c[_0x3d60ca+0x1]&0xc0)!==0x80||(_0x58619c[_0x3d60ca]&0xfe)===0xc0)return!0x1;_0x3d60ca+=0x2;}else{if((_0x58619c[_0x3d60ca]&0xf0)===0xe0){if(_0x3d60ca+0x2>=_0x20b27b||(_0x58619c[_0x3d60ca+0x1]&0xc0)!==0x80||(_0x58619c[_0x3d60ca+0x2]&0xc0)!==0x80||_0x58619c[_0x3d60ca]===0xe0&&(_0x58619c[_0x3d60ca+0x1]&0xe0)===0x80||_0x58619c[_0x3d60ca]===0xed&&(_0x58619c[_0x3d60ca+0x1]&0xe0)===0xa0)return!0x1;_0x3d60ca+=0x3;}else{if((_0x58619c[_0x3d60ca]&0xf8)===0xf0){if(_0x3d60ca+0x3>=_0x20b27b||(_0x58619c[_0x3d60ca+0x1]&0xc0)!==0x80||(_0x58619c[_0x3d60ca+0x2]&0xc0)!==0x80||(_0x58619c[_0x3d60ca+0x3]&0xc0)!==0x80||_0x58619c[_0x3d60ca]===0xf0&&(_0x58619c[_0x3d60ca+0x1]&0xf0)===0x80||_0x58619c[_0x3d60ca]===0xf4&&_0x58619c[_0x3d60ca+0x1]>0x8f||_0x58619c[_0x3d60ca]>0xf4)return!0x1;_0x3d60ca+=0x4;}else return!0x1;}}}return!0x0;}function _0x13f87a(_0x1baed7){const _0x1dc7ac=_0x202c0c;return _0xdfac10&&typeof _0x1baed7==_0x1dc7ac(0x30a)&&typeof _0x1baed7['arrayBuffer']==_0x1dc7ac(0x17d)&&typeof _0x1baed7[_0x1dc7ac(0x271)]==_0x1dc7ac(0x246)&&typeof _0x1baed7[_0x1dc7ac(0x2c7)]==_0x1dc7ac(0x17d)&&(_0x1baed7[Symbol[_0x1dc7ac(0x309)]]===_0x1dc7ac(0x191)||_0x1baed7[Symbol[_0x1dc7ac(0x309)]]===_0x1dc7ac(0x23c));}if(ie['exports']={'isBlob':_0x13f87a,'isValidStatusCode':_0x1fc22c,'isValidUTF8':_0x2a4d96,'tokenChars':_0x160cc4},_0x35075b)ie[_0x202c0c(0x264)][_0x202c0c(0x1ae)]=function(_0x4ea059){const _0x5ddb64=_0x202c0c;return _0x4ea059[_0x5ddb64(0x178)]<0x18?_0x2a4d96(_0x4ea059):_0x35075b(_0x4ea059);};else{if(!process[_0x202c0c(0x200)]['WS_NO_UTF_8_VALIDATE'])try{const _0x214042=Bt;ie[_0x202c0c(0x264)][_0x202c0c(0x1ae)]=function(_0x4936a9){const _0x1989b6=_0x202c0c;return _0x4936a9[_0x1989b6(0x178)]<0x20?_0x2a4d96(_0x4936a9):_0x214042(_0x4936a9);};}catch{}}return ie[_0x202c0c(0x264)];}var Se,Ke;function lt(){const _0x55b121=_0x371bb4;if(Ke)return Se;Ke=0x1;const {Writable:_0x4b795d}=oe,_0x25a5ba=he(),{BINARY_TYPES:_0x438eaf,EMPTY_BUFFER:_0x40cae3,kStatusCode:_0x2e862b,kWebSocket:_0x4eb50c}=H(),{concat:_0x191a44,toArrayBuffer:_0x3db336,unmask:_0x4ad434}=ce(),{isValidStatusCode:_0x10b440,isValidUTF8:_0x1ce131}=ae(),_0x297d56=Buffer[Symbol[_0x55b121(0x296)]],_0x50ac01=0x0,_0x563601=0x1,_0x272945=0x2,_0x1c6c0e=0x3,_0x2b8d7c=0x4,_0x19fb18=0x5,_0x3cc0d3=0x6;class _0x25f938 extends _0x4b795d{constructor(_0x44f4a7={}){const _0xa1b27a=_0x55b121;super(),this[_0xa1b27a(0x1f8)]=_0x44f4a7['allowSynchronousEvents']!==void 0x0?_0x44f4a7[_0xa1b27a(0x1f7)]:!0x0,this['_binaryType']=_0x44f4a7[_0xa1b27a(0x249)]||_0x438eaf[0x0],this[_0xa1b27a(0x27e)]=_0x44f4a7[_0xa1b27a(0x276)]||{},this[_0xa1b27a(0x31c)]=!!_0x44f4a7[_0xa1b27a(0x216)],this[_0xa1b27a(0x20b)]=_0x44f4a7[_0xa1b27a(0x1e5)]|0x0,this[_0xa1b27a(0x317)]=!!_0x44f4a7[_0xa1b27a(0x2f2)],this[_0x4eb50c]=void 0x0,this['_bufferedBytes']=0x0,this[_0xa1b27a(0x310)]=[],this['_compressed']=!0x1,this['_payloadLength']=0x0,this['_mask']=void 0x0,this[_0xa1b27a(0x1c6)]=0x0,this[_0xa1b27a(0x1bd)]=!0x1,this['_fin']=!0x1,this[_0xa1b27a(0x322)]=0x0,this[_0xa1b27a(0x176)]=0x0,this['_messageLength']=0x0,this[_0xa1b27a(0x1a3)]=[],this['_errored']=!0x1,this['_loop']=!0x1,this[_0xa1b27a(0x1d7)]=_0x50ac01;}[_0x55b121(0x26f)](_0x326b60,_0x5e764b,_0x2a5017){const _0x2bd7c6=_0x55b121;if(this[_0x2bd7c6(0x322)]===0x8&&this[_0x2bd7c6(0x1d7)]==_0x50ac01)return _0x2a5017();this['_bufferedBytes']+=_0x326b60[_0x2bd7c6(0x178)],this[_0x2bd7c6(0x310)]['push'](_0x326b60),this[_0x2bd7c6(0x1d9)](_0x2a5017);}[_0x55b121(0x26d)](_0x9a803e){const _0x4db115=_0x55b121;if(this[_0x4db115(0x1c1)]-=_0x9a803e,_0x9a803e===this['_buffers'][0x0][_0x4db115(0x178)])return this['_buffers'][_0x4db115(0x26b)]();if(_0x9a803e<this[_0x4db115(0x310)][0x0][_0x4db115(0x178)]){const _0x234edb=this['_buffers'][0x0];return this[_0x4db115(0x310)][0x0]=new _0x297d56(_0x234edb[_0x4db115(0x209)],_0x234edb[_0x4db115(0x1da)]+_0x9a803e,_0x234edb[_0x4db115(0x178)]-_0x9a803e),new _0x297d56(_0x234edb[_0x4db115(0x209)],_0x234edb[_0x4db115(0x1da)],_0x9a803e);}const _0x209937=Buffer['allocUnsafe'](_0x9a803e);do{const _0x50f613=this[_0x4db115(0x310)][0x0],_0x174462=_0x209937[_0x4db115(0x178)]-_0x9a803e;_0x9a803e>=_0x50f613[_0x4db115(0x178)]?_0x209937[_0x4db115(0x22f)](this[_0x4db115(0x310)]['shift'](),_0x174462):(_0x209937[_0x4db115(0x22f)](new Uint8Array(_0x50f613[_0x4db115(0x209)],_0x50f613[_0x4db115(0x1da)],_0x9a803e),_0x174462),this[_0x4db115(0x310)][0x0]=new _0x297d56(_0x50f613[_0x4db115(0x209)],_0x50f613[_0x4db115(0x1da)]+_0x9a803e,_0x50f613['length']-_0x9a803e)),_0x9a803e-=_0x50f613[_0x4db115(0x178)];}while(_0x9a803e>0x0);return _0x209937;}[_0x55b121(0x1d9)](_0x2e5386){const _0x6e8016=_0x55b121;this['_loop']=!0x0;do switch(this['_state']){case _0x50ac01:this[_0x6e8016(0x1bc)](_0x2e5386);break;case _0x563601:this[_0x6e8016(0x224)](_0x2e5386);break;case _0x272945:this[_0x6e8016(0x262)](_0x2e5386);break;case _0x1c6c0e:this['getMask']();break;case _0x2b8d7c:this[_0x6e8016(0x248)](_0x2e5386);break;case _0x19fb18:case _0x3cc0d3:this[_0x6e8016(0x169)]=!0x1;return;}while(this[_0x6e8016(0x169)]);this[_0x6e8016(0x2de)]||_0x2e5386();}[_0x55b121(0x1bc)](_0x5be9ec){const _0x2987b5=_0x55b121;if(this[_0x2987b5(0x1c1)]<0x2){this[_0x2987b5(0x169)]=!0x1;return;}const _0x278310=this['consume'](0x2);if((_0x278310[0x0]&0x30)!==0x0){const _0x4bcbab=this[_0x2987b5(0x279)](RangeError,_0x2987b5(0x1f1),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x5be9ec(_0x4bcbab);return;}const _0x17743a=(_0x278310[0x0]&0x40)===0x40;if(_0x17743a&&!this[_0x2987b5(0x27e)][_0x25a5ba[_0x2987b5(0x180)]]){const _0x57f0b9=this[_0x2987b5(0x279)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x5be9ec(_0x57f0b9);return;}if(this['_fin']=(_0x278310[0x0]&0x80)===0x80,this[_0x2987b5(0x322)]=_0x278310[0x0]&0xf,this[_0x2987b5(0x2f0)]=_0x278310[0x1]&0x7f,this[_0x2987b5(0x322)]===0x0){if(_0x17743a){const _0x5d27a5=this['createError'](RangeError,_0x2987b5(0x306),!0x0,0x3ea,_0x2987b5(0x29e));_0x5be9ec(_0x5d27a5);return;}if(!this['_fragmented']){const _0x55adfd=this[_0x2987b5(0x279)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x2987b5(0x1e8));_0x5be9ec(_0x55adfd);return;}this['_opcode']=this[_0x2987b5(0x1c6)];}else{if(this[_0x2987b5(0x322)]===0x1||this[_0x2987b5(0x322)]===0x2){if(this[_0x2987b5(0x1c6)]){const _0x503704=this[_0x2987b5(0x279)](RangeError,_0x2987b5(0x300)+this[_0x2987b5(0x322)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x5be9ec(_0x503704);return;}this[_0x2987b5(0x1ab)]=_0x17743a;}else{if(this[_0x2987b5(0x322)]>0x7&&this[_0x2987b5(0x322)]<0xb){if(!this['_fin']){const _0x1727e2=this[_0x2987b5(0x279)](RangeError,_0x2987b5(0x2d2),!0x0,0x3ea,_0x2987b5(0x255));_0x5be9ec(_0x1727e2);return;}if(_0x17743a){const _0x24ddd3=this[_0x2987b5(0x279)](RangeError,_0x2987b5(0x306),!0x0,0x3ea,_0x2987b5(0x29e));_0x5be9ec(_0x24ddd3);return;}if(this[_0x2987b5(0x2f0)]>0x7d||this[_0x2987b5(0x322)]===0x8&&this[_0x2987b5(0x2f0)]===0x1){const _0x1caad3=this[_0x2987b5(0x279)](RangeError,_0x2987b5(0x28e)+this['_payloadLength'],!0x0,0x3ea,_0x2987b5(0x219));_0x5be9ec(_0x1caad3);return;}}else{const _0x3ef978=this['createError'](RangeError,_0x2987b5(0x300)+this[_0x2987b5(0x322)],!0x0,0x3ea,_0x2987b5(0x1e8));_0x5be9ec(_0x3ef978);return;}}}if(!this[_0x2987b5(0x2e7)]&&!this[_0x2987b5(0x1c6)]&&(this['_fragmented']=this[_0x2987b5(0x322)]),this[_0x2987b5(0x1bd)]=(_0x278310[0x1]&0x80)===0x80,this[_0x2987b5(0x31c)]){if(!this[_0x2987b5(0x1bd)]){const _0x548096=this[_0x2987b5(0x279)](RangeError,_0x2987b5(0x290),!0x0,0x3ea,_0x2987b5(0x2d7));_0x5be9ec(_0x548096);return;}}else{if(this[_0x2987b5(0x1bd)]){const _0x2eeda9=this['createError'](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x5be9ec(_0x2eeda9);return;}}this[_0x2987b5(0x2f0)]===0x7e?this[_0x2987b5(0x1d7)]=_0x563601:this['_payloadLength']===0x7f?this[_0x2987b5(0x1d7)]=_0x272945:this['haveLength'](_0x5be9ec);}[_0x55b121(0x224)](_0x503210){const _0x137181=_0x55b121;if(this[_0x137181(0x1c1)]<0x2){this[_0x137181(0x169)]=!0x1;return;}this[_0x137181(0x2f0)]=this[_0x137181(0x26d)](0x2)['readUInt16BE'](0x0),this[_0x137181(0x199)](_0x503210);}[_0x55b121(0x262)](_0x187d7e){const _0x5a33a5=_0x55b121;if(this['_bufferedBytes']<0x8){this['_loop']=!0x1;return;}const _0x5544e7=this[_0x5a33a5(0x26d)](0x8),_0x2e429b=_0x5544e7[_0x5a33a5(0x326)](0x0);if(_0x2e429b>Math['pow'](0x2,0x15)-0x1){const _0x2af3c8=this[_0x5a33a5(0x279)](RangeError,_0x5a33a5(0x30d),!0x1,0x3f1,_0x5a33a5(0x2b7));_0x187d7e(_0x2af3c8);return;}this[_0x5a33a5(0x2f0)]=_0x2e429b*Math[_0x5a33a5(0x289)](0x2,0x20)+_0x5544e7['readUInt32BE'](0x4),this[_0x5a33a5(0x199)](_0x187d7e);}['haveLength'](_0x126630){const _0x361d27=_0x55b121;if(this[_0x361d27(0x2f0)]&&this[_0x361d27(0x322)]<0x8&&(this['_totalPayloadLength']+=this[_0x361d27(0x2f0)],this[_0x361d27(0x176)]>this['_maxPayload']&&this[_0x361d27(0x20b)]>0x0)){const _0x56e16a=this['createError'](RangeError,_0x361d27(0x29b),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x126630(_0x56e16a);return;}this['_masked']?this[_0x361d27(0x1d7)]=_0x1c6c0e:this[_0x361d27(0x1d7)]=_0x2b8d7c;}[_0x55b121(0x1b1)](){const _0x14a971=_0x55b121;if(this[_0x14a971(0x1c1)]<0x4){this['_loop']=!0x1;return;}this[_0x14a971(0x198)]=this[_0x14a971(0x26d)](0x4),this[_0x14a971(0x1d7)]=_0x2b8d7c;}[_0x55b121(0x248)](_0x20530d){const _0x12a77e=_0x55b121;let _0x380a70=_0x40cae3;if(this[_0x12a77e(0x2f0)]){if(this[_0x12a77e(0x1c1)]<this[_0x12a77e(0x2f0)]){this[_0x12a77e(0x169)]=!0x1;return;}_0x380a70=this[_0x12a77e(0x26d)](this[_0x12a77e(0x2f0)]),this[_0x12a77e(0x1bd)]&&(this['_mask'][0x0]|this[_0x12a77e(0x198)][0x1]|this['_mask'][0x2]|this[_0x12a77e(0x198)][0x3])!==0x0&&_0x4ad434(_0x380a70,this[_0x12a77e(0x198)]);}if(this[_0x12a77e(0x322)]>0x7){this[_0x12a77e(0x1fd)](_0x380a70,_0x20530d);return;}if(this['_compressed']){this[_0x12a77e(0x1d7)]=_0x19fb18,this[_0x12a77e(0x244)](_0x380a70,_0x20530d);return;}_0x380a70['length']&&(this[_0x12a77e(0x2f8)]=this[_0x12a77e(0x176)],this[_0x12a77e(0x1a3)][_0x12a77e(0x2c3)](_0x380a70)),this['dataMessage'](_0x20530d);}[_0x55b121(0x244)](_0x5a8e63,_0x11e810){const _0x2bba62=_0x55b121;this[_0x2bba62(0x27e)][_0x25a5ba[_0x2bba62(0x180)]]['decompress'](_0x5a8e63,this['_fin'],(_0x4623a0,_0x9a708)=>{const _0x169f37=_0x2bba62;if(_0x4623a0)return _0x11e810(_0x4623a0);if(_0x9a708[_0x169f37(0x178)]){if(this['_messageLength']+=_0x9a708[_0x169f37(0x178)],this['_messageLength']>this[_0x169f37(0x20b)]&&this[_0x169f37(0x20b)]>0x0){const _0x262cf7=this['createError'](RangeError,_0x169f37(0x29b),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x11e810(_0x262cf7);return;}this['_fragments']['push'](_0x9a708);}this[_0x169f37(0x1be)](_0x11e810),this[_0x169f37(0x1d7)]===_0x50ac01&&this[_0x169f37(0x1d9)](_0x11e810);});}[_0x55b121(0x1be)](_0x2b2d7b){const _0x31f3f2=_0x55b121;if(!this[_0x31f3f2(0x2e7)]){this[_0x31f3f2(0x1d7)]=_0x50ac01;return;}const _0x325e47=this[_0x31f3f2(0x2f8)],_0xe80d09=this[_0x31f3f2(0x1a3)];if(this['_totalPayloadLength']=0x0,this[_0x31f3f2(0x2f8)]=0x0,this[_0x31f3f2(0x1c6)]=0x0,this[_0x31f3f2(0x1a3)]=[],this['_opcode']===0x2){let _0x1857b5;this[_0x31f3f2(0x1ce)]==='nodebuffer'?_0x1857b5=_0x191a44(_0xe80d09,_0x325e47):this[_0x31f3f2(0x1ce)]==='arraybuffer'?_0x1857b5=_0x3db336(_0x191a44(_0xe80d09,_0x325e47)):this['_binaryType']===_0x31f3f2(0x2b4)?_0x1857b5=new Blob(_0xe80d09):_0x1857b5=_0xe80d09,this['_allowSynchronousEvents']?(this['emit'](_0x31f3f2(0x2a2),_0x1857b5,!0x0),this['_state']=_0x50ac01):(this[_0x31f3f2(0x1d7)]=_0x3cc0d3,setImmediate(()=>{const _0x4b402e=_0x31f3f2;this['emit'](_0x4b402e(0x2a2),_0x1857b5,!0x0),this[_0x4b402e(0x1d7)]=_0x50ac01,this[_0x4b402e(0x1d9)](_0x2b2d7b);}));}else{const _0x52b7cf=_0x191a44(_0xe80d09,_0x325e47);if(!this[_0x31f3f2(0x317)]&&!_0x1ce131(_0x52b7cf)){const _0x42110a=this[_0x31f3f2(0x279)](Error,_0x31f3f2(0x2fa),!0x0,0x3ef,_0x31f3f2(0x2d8));_0x2b2d7b(_0x42110a);return;}this[_0x31f3f2(0x1d7)]===_0x19fb18||this[_0x31f3f2(0x1f8)]?(this[_0x31f3f2(0x25b)](_0x31f3f2(0x2a2),_0x52b7cf,!0x1),this[_0x31f3f2(0x1d7)]=_0x50ac01):(this[_0x31f3f2(0x1d7)]=_0x3cc0d3,setImmediate(()=>{const _0x3be40f=_0x31f3f2;this[_0x3be40f(0x25b)]('message',_0x52b7cf,!0x1),this[_0x3be40f(0x1d7)]=_0x50ac01,this[_0x3be40f(0x1d9)](_0x2b2d7b);}));}}[_0x55b121(0x1fd)](_0x4c6bae,_0x2a5035){const _0x129633=_0x55b121;if(this[_0x129633(0x322)]===0x8){if(_0x4c6bae[_0x129633(0x178)]===0x0)this[_0x129633(0x169)]=!0x1,this[_0x129633(0x25b)](_0x129633(0x1f0),0x3ed,_0x40cae3),this[_0x129633(0x21d)]();else{const _0x35e772=_0x4c6bae[_0x129633(0x1c4)](0x0);if(!_0x10b440(_0x35e772)){const _0x29121e=this[_0x129633(0x279)](RangeError,_0x129633(0x171)+_0x35e772,!0x0,0x3ea,_0x129633(0x24c));_0x2a5035(_0x29121e);return;}const _0x9e521e=new _0x297d56(_0x4c6bae[_0x129633(0x209)],_0x4c6bae['byteOffset']+0x2,_0x4c6bae[_0x129633(0x178)]-0x2);if(!this[_0x129633(0x317)]&&!_0x1ce131(_0x9e521e)){const _0x4cdf57=this['createError'](Error,_0x129633(0x2fa),!0x0,0x3ef,_0x129633(0x2d8));_0x2a5035(_0x4cdf57);return;}this['_loop']=!0x1,this[_0x129633(0x25b)](_0x129633(0x1f0),_0x35e772,_0x9e521e),this[_0x129633(0x21d)]();}this[_0x129633(0x1d7)]=_0x50ac01;return;}this['_allowSynchronousEvents']?(this['emit'](this[_0x129633(0x322)]===0x9?'ping':'pong',_0x4c6bae),this['_state']=_0x50ac01):(this[_0x129633(0x1d7)]=_0x3cc0d3,setImmediate(()=>{const _0x554950=_0x129633;this[_0x554950(0x25b)](this[_0x554950(0x322)]===0x9?'ping':_0x554950(0x19a),_0x4c6bae),this[_0x554950(0x1d7)]=_0x50ac01,this[_0x554950(0x1d9)](_0x2a5035);}));}[_0x55b121(0x279)](_0x43c7d0,_0x22d102,_0x8bf85,_0x43aa8e,_0x44809b){const _0x2c6c76=_0x55b121;this[_0x2c6c76(0x169)]=!0x1,this['_errored']=!0x0;const _0x35a08e=new _0x43c7d0(_0x8bf85?_0x2c6c76(0x237)+_0x22d102:_0x22d102);return Error[_0x2c6c76(0x20a)](_0x35a08e,this[_0x2c6c76(0x279)]),_0x35a08e['code']=_0x44809b,_0x35a08e[_0x2e862b]=_0x43aa8e,_0x35a08e;}}return Se=_0x25f938,Se;}var Ee,Xe;function ft(){const _0x2f505e=_0x371bb4;if(Xe)return Ee;Xe=0x1;const {Duplex:_0xb3cd9b}=oe,{randomFillSync:_0xc2309f}=Le,_0x23e30c=he(),{EMPTY_BUFFER:_0x1609ce,kWebSocket:_0x323484,NOOP:_0x5c77f4}=H(),{isBlob:_0x315f17,isValidStatusCode:_0x31b6eb}=ae(),{mask:_0x4ff618,toBuffer:_0x2b2320}=ce(),_0x4fc375=Symbol('kByteLength'),_0x2d4d03=Buffer[_0x2f505e(0x1a2)](0x4),_0x48d59d=0x8*0x400;let _0xa43467,_0x464f20=_0x48d59d;const _0x37b347=0x0,_0x530999=0x1,_0x36e469=0x2;class _0x512594{constructor(_0x162236,_0x629e02,_0x3a6918){const _0x1f514c=_0x2f505e;this[_0x1f514c(0x27e)]=_0x629e02||{},_0x3a6918&&(this[_0x1f514c(0x187)]=_0x3a6918,this[_0x1f514c(0x2a4)]=Buffer[_0x1f514c(0x1a2)](0x4)),this[_0x1f514c(0x278)]=_0x162236,this['_firstFragment']=!0x0,this[_0x1f514c(0x1fc)]=!0x1,this[_0x1f514c(0x1c1)]=0x0,this[_0x1f514c(0x283)]=[],this[_0x1f514c(0x1d7)]=_0x37b347,this[_0x1f514c(0x2eb)]=_0x5c77f4,this[_0x323484]=void 0x0;}static[_0x2f505e(0x1e1)](_0x22ce8d,_0x1c8bef){const _0x449c61=_0x2f505e;let _0x5f3b9c,_0x1b3005=!0x1,_0x283fe9=0x2,_0x274361=!0x1;_0x1c8bef[_0x449c61(0x1de)]&&(_0x5f3b9c=_0x1c8bef[_0x449c61(0x1a5)]||_0x2d4d03,_0x1c8bef[_0x449c61(0x22b)]?_0x1c8bef[_0x449c61(0x22b)](_0x5f3b9c):(_0x464f20===_0x48d59d&&(_0xa43467===void 0x0&&(_0xa43467=Buffer[_0x449c61(0x1a2)](_0x48d59d)),_0xc2309f(_0xa43467,0x0,_0x48d59d),_0x464f20=0x0),_0x5f3b9c[0x0]=_0xa43467[_0x464f20++],_0x5f3b9c[0x1]=_0xa43467[_0x464f20++],_0x5f3b9c[0x2]=_0xa43467[_0x464f20++],_0x5f3b9c[0x3]=_0xa43467[_0x464f20++]),_0x274361=(_0x5f3b9c[0x0]|_0x5f3b9c[0x1]|_0x5f3b9c[0x2]|_0x5f3b9c[0x3])===0x0,_0x283fe9=0x6);let _0x17f2e7;typeof _0x22ce8d==_0x449c61(0x246)?(!_0x1c8bef[_0x449c61(0x1de)]||_0x274361)&&_0x1c8bef[_0x4fc375]!==void 0x0?_0x17f2e7=_0x1c8bef[_0x4fc375]:(_0x22ce8d=Buffer['from'](_0x22ce8d),_0x17f2e7=_0x22ce8d['length']):(_0x17f2e7=_0x22ce8d[_0x449c61(0x178)],_0x1b3005=_0x1c8bef[_0x449c61(0x1de)]&&_0x1c8bef[_0x449c61(0x27c)]&&!_0x274361);let _0x5588b2=_0x17f2e7;_0x17f2e7>=0x10000?(_0x283fe9+=0x8,_0x5588b2=0x7f):_0x17f2e7>0x7d&&(_0x283fe9+=0x2,_0x5588b2=0x7e);const _0x2d4a2e=Buffer[_0x449c61(0x2e8)](_0x1b3005?_0x17f2e7+_0x283fe9:_0x283fe9);return _0x2d4a2e[0x0]=_0x1c8bef[_0x449c61(0x2dc)]?_0x1c8bef[_0x449c61(0x222)]|0x80:_0x1c8bef[_0x449c61(0x222)],_0x1c8bef[_0x449c61(0x250)]&&(_0x2d4a2e[0x0]|=0x40),_0x2d4a2e[0x1]=_0x5588b2,_0x5588b2===0x7e?_0x2d4a2e[_0x449c61(0x260)](_0x17f2e7,0x2):_0x5588b2===0x7f&&(_0x2d4a2e[0x2]=_0x2d4a2e[0x3]=0x0,_0x2d4a2e[_0x449c61(0x329)](_0x17f2e7,0x4,0x6)),_0x1c8bef[_0x449c61(0x1de)]?(_0x2d4a2e[0x1]|=0x80,_0x2d4a2e[_0x283fe9-0x4]=_0x5f3b9c[0x0],_0x2d4a2e[_0x283fe9-0x3]=_0x5f3b9c[0x1],_0x2d4a2e[_0x283fe9-0x2]=_0x5f3b9c[0x2],_0x2d4a2e[_0x283fe9-0x1]=_0x5f3b9c[0x3],_0x274361?[_0x2d4a2e,_0x22ce8d]:_0x1b3005?(_0x4ff618(_0x22ce8d,_0x5f3b9c,_0x2d4a2e,_0x283fe9,_0x17f2e7),[_0x2d4a2e]):(_0x4ff618(_0x22ce8d,_0x5f3b9c,_0x22ce8d,0x0,_0x17f2e7),[_0x2d4a2e,_0x22ce8d])):[_0x2d4a2e,_0x22ce8d];}[_0x2f505e(0x17e)](_0x361d0e,_0x426d30,_0x109c03,_0x3b795d){const _0xb52ca2=_0x2f505e;let _0x5f04ee;if(_0x361d0e===void 0x0)_0x5f04ee=_0x1609ce;else{if(typeof _0x361d0e!=_0xb52ca2(0x2fe)||!_0x31b6eb(_0x361d0e))throw new TypeError(_0xb52ca2(0x265));if(_0x426d30===void 0x0||!_0x426d30[_0xb52ca2(0x178)])_0x5f04ee=Buffer['allocUnsafe'](0x2),_0x5f04ee[_0xb52ca2(0x260)](_0x361d0e,0x0);else{const _0x2de717=Buffer['byteLength'](_0x426d30);if(_0x2de717>0x7b)throw new RangeError(_0xb52ca2(0x26a));_0x5f04ee=Buffer[_0xb52ca2(0x2e8)](0x2+_0x2de717),_0x5f04ee[_0xb52ca2(0x260)](_0x361d0e,0x0),typeof _0x426d30==_0xb52ca2(0x246)?_0x5f04ee[_0xb52ca2(0x26c)](_0x426d30,0x2):_0x5f04ee[_0xb52ca2(0x22f)](_0x426d30,0x2);}}const _0x27eef2={[_0x4fc375]:_0x5f04ee['length'],'fin':!0x0,'generateMask':this[_0xb52ca2(0x187)],'mask':_0x109c03,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0xb52ca2(0x1d7)]!==_0x37b347?this[_0xb52ca2(0x234)]([this['dispatch'],_0x5f04ee,!0x1,_0x27eef2,_0x3b795d]):this[_0xb52ca2(0x2a6)](_0x512594[_0xb52ca2(0x1e1)](_0x5f04ee,_0x27eef2),_0x3b795d);}[_0x2f505e(0x1ad)](_0x669f43,_0x33452d,_0x3f1355){const _0x570978=_0x2f505e;let _0x4dd34f,_0x59101d;if(typeof _0x669f43==_0x570978(0x246)?(_0x4dd34f=Buffer[_0x570978(0x18e)](_0x669f43),_0x59101d=!0x1):_0x315f17(_0x669f43)?(_0x4dd34f=_0x669f43[_0x570978(0x179)],_0x59101d=!0x1):(_0x669f43=_0x2b2320(_0x669f43),_0x4dd34f=_0x669f43['length'],_0x59101d=_0x2b2320[_0x570978(0x27c)]),_0x4dd34f>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x2a37eb={[_0x4fc375]:_0x4dd34f,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x33452d,'maskBuffer':this[_0x570978(0x2a4)],'opcode':0x9,'readOnly':_0x59101d,'rsv1':!0x1};_0x315f17(_0x669f43)?this[_0x570978(0x1d7)]!==_0x37b347?this[_0x570978(0x234)]([this[_0x570978(0x195)],_0x669f43,!0x1,_0x2a37eb,_0x3f1355]):this['getBlobData'](_0x669f43,!0x1,_0x2a37eb,_0x3f1355):this['_state']!==_0x37b347?this['enqueue']([this['dispatch'],_0x669f43,!0x1,_0x2a37eb,_0x3f1355]):this[_0x570978(0x2a6)](_0x512594[_0x570978(0x1e1)](_0x669f43,_0x2a37eb),_0x3f1355);}['pong'](_0x45027a,_0x3160b5,_0x5d210f){const _0x22ab70=_0x2f505e;let _0x1c91a3,_0x4ad3db;if(typeof _0x45027a==_0x22ab70(0x246)?(_0x1c91a3=Buffer[_0x22ab70(0x18e)](_0x45027a),_0x4ad3db=!0x1):_0x315f17(_0x45027a)?(_0x1c91a3=_0x45027a[_0x22ab70(0x179)],_0x4ad3db=!0x1):(_0x45027a=_0x2b2320(_0x45027a),_0x1c91a3=_0x45027a[_0x22ab70(0x178)],_0x4ad3db=_0x2b2320[_0x22ab70(0x27c)]),_0x1c91a3>0x7d)throw new RangeError(_0x22ab70(0x18d));const _0x126cd2={[_0x4fc375]:_0x1c91a3,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x3160b5,'maskBuffer':this[_0x22ab70(0x2a4)],'opcode':0xa,'readOnly':_0x4ad3db,'rsv1':!0x1};_0x315f17(_0x45027a)?this[_0x22ab70(0x1d7)]!==_0x37b347?this[_0x22ab70(0x234)]([this[_0x22ab70(0x195)],_0x45027a,!0x1,_0x126cd2,_0x5d210f]):this[_0x22ab70(0x195)](_0x45027a,!0x1,_0x126cd2,_0x5d210f):this['_state']!==_0x37b347?this[_0x22ab70(0x234)]([this['dispatch'],_0x45027a,!0x1,_0x126cd2,_0x5d210f]):this[_0x22ab70(0x2a6)](_0x512594['frame'](_0x45027a,_0x126cd2),_0x5d210f);}['send'](_0x1a805d,_0x3528d4,_0x16e93e){const _0x1d7e52=_0x2f505e,_0x245aae=this['_extensions'][_0x23e30c[_0x1d7e52(0x180)]];let _0xae3fbd=_0x3528d4[_0x1d7e52(0x29a)]?0x2:0x1,_0x4635c9=_0x3528d4[_0x1d7e52(0x1dd)],_0x28d29f,_0x21777c;typeof _0x1a805d==_0x1d7e52(0x246)?(_0x28d29f=Buffer[_0x1d7e52(0x18e)](_0x1a805d),_0x21777c=!0x1):_0x315f17(_0x1a805d)?(_0x28d29f=_0x1a805d['size'],_0x21777c=!0x1):(_0x1a805d=_0x2b2320(_0x1a805d),_0x28d29f=_0x1a805d[_0x1d7e52(0x178)],_0x21777c=_0x2b2320[_0x1d7e52(0x27c)]),this[_0x1d7e52(0x230)]?(this[_0x1d7e52(0x230)]=!0x1,_0x4635c9&&_0x245aae&&_0x245aae[_0x1d7e52(0x17c)][_0x245aae[_0x1d7e52(0x31c)]?_0x1d7e52(0x2d9):'client_no_context_takeover']&&(_0x4635c9=_0x28d29f>=_0x245aae[_0x1d7e52(0x161)]),this[_0x1d7e52(0x1fc)]=_0x4635c9):(_0x4635c9=!0x1,_0xae3fbd=0x0),_0x3528d4['fin']&&(this['_firstFragment']=!0x0);const _0x4773ef={[_0x4fc375]:_0x28d29f,'fin':_0x3528d4[_0x1d7e52(0x2dc)],'generateMask':this[_0x1d7e52(0x187)],'mask':_0x3528d4['mask'],'maskBuffer':this[_0x1d7e52(0x2a4)],'opcode':_0xae3fbd,'readOnly':_0x21777c,'rsv1':_0x4635c9};_0x315f17(_0x1a805d)?this[_0x1d7e52(0x1d7)]!==_0x37b347?this[_0x1d7e52(0x234)]([this['getBlobData'],_0x1a805d,this[_0x1d7e52(0x1fc)],_0x4773ef,_0x16e93e]):this['getBlobData'](_0x1a805d,this['_compress'],_0x4773ef,_0x16e93e):this[_0x1d7e52(0x1d7)]!==_0x37b347?this[_0x1d7e52(0x234)]([this['dispatch'],_0x1a805d,this['_compress'],_0x4773ef,_0x16e93e]):this[_0x1d7e52(0x275)](_0x1a805d,this['_compress'],_0x4773ef,_0x16e93e);}[_0x2f505e(0x195)](_0x383178,_0x4a1e26,_0x60efd4,_0x35d69b){const _0x2221b5=_0x2f505e;this['_bufferedBytes']+=_0x60efd4[_0x4fc375],this[_0x2221b5(0x1d7)]=_0x36e469,_0x383178['arrayBuffer']()[_0x2221b5(0x229)](_0x71345d=>{const _0x36eca9=_0x2221b5;if(this[_0x36eca9(0x278)][_0x36eca9(0x2ed)]){const _0x4065e8=new Error(_0x36eca9(0x2a5));process[_0x36eca9(0x231)](_0x5b3310,this,_0x4065e8,_0x35d69b);return;}this['_bufferedBytes']-=_0x60efd4[_0x4fc375];const _0x5513d2=_0x2b2320(_0x71345d);_0x4a1e26?this[_0x36eca9(0x275)](_0x5513d2,_0x4a1e26,_0x60efd4,_0x35d69b):(this['_state']=_0x37b347,this['sendFrame'](_0x512594['frame'](_0x5513d2,_0x60efd4),_0x35d69b),this[_0x36eca9(0x24d)]());})[_0x2221b5(0x29c)](_0x225adf=>{process['nextTick'](_0x575747,this,_0x225adf,_0x35d69b);});}[_0x2f505e(0x275)](_0x4bdb77,_0x158823,_0x48eea4,_0x312127){const _0x5203fb=_0x2f505e;if(!_0x158823){this[_0x5203fb(0x2a6)](_0x512594['frame'](_0x4bdb77,_0x48eea4),_0x312127);return;}const _0x2e2e3d=this[_0x5203fb(0x27e)][_0x23e30c[_0x5203fb(0x180)]];this[_0x5203fb(0x1c1)]+=_0x48eea4[_0x4fc375],this['_state']=_0x530999,_0x2e2e3d['compress'](_0x4bdb77,_0x48eea4[_0x5203fb(0x2dc)],(_0xd79bbf,_0x3e6701)=>{const _0x62cae2=_0x5203fb;if(this['_socket'][_0x62cae2(0x2ed)]){const _0x35f4e8=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x5b3310(this,_0x35f4e8,_0x312127);return;}this[_0x62cae2(0x1c1)]-=_0x48eea4[_0x4fc375],this[_0x62cae2(0x1d7)]=_0x37b347,_0x48eea4[_0x62cae2(0x27c)]=!0x1,this[_0x62cae2(0x2a6)](_0x512594[_0x62cae2(0x1e1)](_0x3e6701,_0x48eea4),_0x312127),this[_0x62cae2(0x24d)]();});}[_0x2f505e(0x24d)](){const _0x326d15=_0x2f505e;for(;this['_state']===_0x37b347&&this[_0x326d15(0x283)]['length'];){const _0x383bb3=this[_0x326d15(0x283)]['shift']();this[_0x326d15(0x1c1)]-=_0x383bb3[0x3][_0x4fc375],Reflect['apply'](_0x383bb3[0x0],this,_0x383bb3[_0x326d15(0x221)](0x1));}}[_0x2f505e(0x234)](_0x219e6a){const _0x5a5849=_0x2f505e;this[_0x5a5849(0x1c1)]+=_0x219e6a[0x3][_0x4fc375],this[_0x5a5849(0x283)][_0x5a5849(0x2c3)](_0x219e6a);}[_0x2f505e(0x2a6)](_0x12b7d1,_0x5e2afe){const _0x4b169a=_0x2f505e;_0x12b7d1[_0x4b169a(0x178)]===0x2?(this['_socket'][_0x4b169a(0x239)](),this[_0x4b169a(0x278)][_0x4b169a(0x26c)](_0x12b7d1[0x0]),this[_0x4b169a(0x278)][_0x4b169a(0x26c)](_0x12b7d1[0x1],_0x5e2afe),this['_socket'][_0x4b169a(0x25e)]()):this[_0x4b169a(0x278)][_0x4b169a(0x26c)](_0x12b7d1[0x0],_0x5e2afe);}}Ee=_0x512594;function _0x5b3310(_0x50bb88,_0x241243,_0x37e725){const _0x1eb7e0=_0x2f505e;typeof _0x37e725=='function'&&_0x37e725(_0x241243);for(let _0x4deb38=0x0;_0x4deb38<_0x50bb88['_queue'][_0x1eb7e0(0x178)];_0x4deb38++){const _0x219e33=_0x50bb88[_0x1eb7e0(0x283)][_0x4deb38],_0x21b3ca=_0x219e33[_0x219e33[_0x1eb7e0(0x178)]-0x1];typeof _0x21b3ca==_0x1eb7e0(0x17d)&&_0x21b3ca(_0x241243);}}function _0x575747(_0x5c9557,_0x3ecdab,_0x55cf89){const _0x30e89b=_0x2f505e;_0x5b3310(_0x5c9557,_0x3ecdab,_0x55cf89),_0x5c9557[_0x30e89b(0x2eb)](_0x3ecdab);}return Ee;}var xe,Ze;function It(){const _0xfd85c7=_0x371bb4;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x196211,kListener:_0x1e9b12}=H(),_0x722a6=Symbol(_0xfd85c7(0x16d)),_0xf00e16=Symbol(_0xfd85c7(0x281)),_0x536756=Symbol(_0xfd85c7(0x238)),_0x173dd2=Symbol(_0xfd85c7(0x2f9)),_0x3e381=Symbol('kReason'),_0x5f20da=Symbol(_0xfd85c7(0x312)),_0x5c2d78=Symbol(_0xfd85c7(0x32c)),_0x305d8c=Symbol(_0xfd85c7(0x323));class _0x2bd5dd{constructor(_0x246a34){this[_0x5f20da]=null,this[_0x5c2d78]=_0x246a34;}get['target'](){return this[_0x5f20da];}get[_0xfd85c7(0x271)](){return this[_0x5c2d78];}}Object['defineProperty'](_0x2bd5dd[_0xfd85c7(0x192)],_0xfd85c7(0x2af),{'enumerable':!0x0}),Object[_0xfd85c7(0x184)](_0x2bd5dd[_0xfd85c7(0x192)],'type',{'enumerable':!0x0});class _0x2888af extends _0x2bd5dd{constructor(_0x195325,_0x595dcf={}){const _0x4f5c5b=_0xfd85c7;super(_0x195325),this[_0x722a6]=_0x595dcf['code']===void 0x0?0x0:_0x595dcf[_0x4f5c5b(0x1e6)],this[_0x3e381]=_0x595dcf[_0x4f5c5b(0x2b0)]===void 0x0?'':_0x595dcf[_0x4f5c5b(0x2b0)],this[_0x305d8c]=_0x595dcf[_0x4f5c5b(0x163)]===void 0x0?!0x1:_0x595dcf[_0x4f5c5b(0x163)];}get['code'](){return this[_0x722a6];}get[_0xfd85c7(0x2b0)](){return this[_0x3e381];}get[_0xfd85c7(0x163)](){return this[_0x305d8c];}}Object[_0xfd85c7(0x184)](_0x2888af[_0xfd85c7(0x192)],_0xfd85c7(0x1e6),{'enumerable':!0x0}),Object[_0xfd85c7(0x184)](_0x2888af[_0xfd85c7(0x192)],_0xfd85c7(0x2b0),{'enumerable':!0x0}),Object[_0xfd85c7(0x184)](_0x2888af[_0xfd85c7(0x192)],_0xfd85c7(0x163),{'enumerable':!0x0});class _0xbd70df extends _0x2bd5dd{constructor(_0x523ead,_0x4fc2f9={}){const _0x289042=_0xfd85c7;super(_0x523ead),this[_0x536756]=_0x4fc2f9[_0x289042(0x27f)]===void 0x0?null:_0x4fc2f9[_0x289042(0x27f)],this[_0x173dd2]=_0x4fc2f9[_0x289042(0x2a2)]===void 0x0?'':_0x4fc2f9['message'];}get[_0xfd85c7(0x27f)](){return this[_0x536756];}get['message'](){return this[_0x173dd2];}}Object[_0xfd85c7(0x184)](_0xbd70df[_0xfd85c7(0x192)],_0xfd85c7(0x27f),{'enumerable':!0x0}),Object[_0xfd85c7(0x184)](_0xbd70df[_0xfd85c7(0x192)],_0xfd85c7(0x2a2),{'enumerable':!0x0});class _0x419958 extends _0x2bd5dd{constructor(_0x29d6c6,_0x3039dd={}){const _0x5f5518=_0xfd85c7;super(_0x29d6c6),this[_0xf00e16]=_0x3039dd[_0x5f5518(0x1a8)]===void 0x0?null:_0x3039dd[_0x5f5518(0x1a8)];}get[_0xfd85c7(0x1a8)](){return this[_0xf00e16];}}Object[_0xfd85c7(0x184)](_0x419958[_0xfd85c7(0x192)],_0xfd85c7(0x1a8),{'enumerable':!0x0}),xe={'CloseEvent':_0x2888af,'ErrorEvent':_0xbd70df,'Event':_0x2bd5dd,'EventTarget':{'addEventListener'(_0x23876e,_0x5ef361,_0x654fc6={}){const _0x336d8b=_0xfd85c7;for(const _0x141ce0 of this['listeners'](_0x23876e))if(!_0x654fc6[_0x196211]&&_0x141ce0[_0x1e9b12]===_0x5ef361&&!_0x141ce0[_0x196211])return;let _0x245b3e;if(_0x23876e==='message')_0x245b3e=function(_0x2b7523,_0x106c99){const _0x4e4252=_0x13d2,_0xfabe03=new _0x419958(_0x4e4252(0x2a2),{'data':_0x106c99?_0x2b7523:_0x2b7523[_0x4e4252(0x2bb)]()});_0xfabe03[_0x5f20da]=this,_0x4c5a3a(_0x5ef361,this,_0xfabe03);};else{if(_0x23876e===_0x336d8b(0x17e))_0x245b3e=function(_0x2ce9ea,_0x4f7aca){const _0x509836=_0x336d8b,_0x25cf52=new _0x2888af(_0x509836(0x17e),{'code':_0x2ce9ea,'reason':_0x4f7aca[_0x509836(0x2bb)](),'wasClean':this[_0x509836(0x272)]&&this['_closeFrameSent']});_0x25cf52[_0x5f20da]=this,_0x4c5a3a(_0x5ef361,this,_0x25cf52);};else{if(_0x23876e===_0x336d8b(0x27f))_0x245b3e=function(_0x9fc29e){const _0x4003f6=_0x336d8b,_0x34d98f=new _0xbd70df(_0x4003f6(0x27f),{'error':_0x9fc29e,'message':_0x9fc29e['message']});_0x34d98f[_0x5f20da]=this,_0x4c5a3a(_0x5ef361,this,_0x34d98f);};else{if(_0x23876e==='open')_0x245b3e=function(){const _0x3a0f9b=new _0x2bd5dd('open');_0x3a0f9b[_0x5f20da]=this,_0x4c5a3a(_0x5ef361,this,_0x3a0f9b);};else return;}}}_0x245b3e[_0x196211]=!!_0x654fc6[_0x196211],_0x245b3e[_0x1e9b12]=_0x5ef361,_0x654fc6['once']?this['once'](_0x23876e,_0x245b3e):this['on'](_0x23876e,_0x245b3e);},'removeEventListener'(_0x106dff,_0xdb58ad){const _0x1fa276=_0xfd85c7;for(const _0xa1d614 of this[_0x1fa276(0x1dc)](_0x106dff))if(_0xa1d614[_0x1e9b12]===_0xdb58ad&&!_0xa1d614[_0x196211]){this['removeListener'](_0x106dff,_0xa1d614);break;}}},'MessageEvent':_0x419958};function _0x4c5a3a(_0x20f149,_0x4075d6,_0x166c12){const _0x1d68e2=_0xfd85c7;typeof _0x20f149==_0x1d68e2(0x30a)&&_0x20f149[_0x1d68e2(0x2cd)]?_0x20f149[_0x1d68e2(0x2cd)][_0x1d68e2(0x2f1)](_0x20f149,_0x166c12):_0x20f149['call'](_0x4075d6,_0x166c12);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x56be77}=ae();function _0x46552c(_0x455f61,_0x1f42bb,_0x698684){const _0x289b04=_0x13d2;_0x455f61[_0x1f42bb]===void 0x0?_0x455f61[_0x1f42bb]=[_0x698684]:_0x455f61[_0x1f42bb][_0x289b04(0x2c3)](_0x698684);}function _0x460d17(_0x28b0ac){const _0x128c86=_0x13d2,_0x22e5c7=Object[_0x128c86(0x1c5)](null);let _0x10e829=Object[_0x128c86(0x1c5)](null),_0x349ef0=!0x1,_0x5dfea8=!0x1,_0x4f3620=!0x1,_0x4d242a,_0x162075,_0x2f331a=-0x1,_0x35485b=-0x1,_0x25476d=-0x1,_0x2a0aff=0x0;for(;_0x2a0aff<_0x28b0ac[_0x128c86(0x178)];_0x2a0aff++)if(_0x35485b=_0x28b0ac['charCodeAt'](_0x2a0aff),_0x4d242a===void 0x0){if(_0x25476d===-0x1&&_0x56be77[_0x35485b]===0x1)_0x2f331a===-0x1&&(_0x2f331a=_0x2a0aff);else{if(_0x2a0aff!==0x0&&(_0x35485b===0x20||_0x35485b===0x9))_0x25476d===-0x1&&_0x2f331a!==-0x1&&(_0x25476d=_0x2a0aff);else{if(_0x35485b===0x3b||_0x35485b===0x2c){if(_0x2f331a===-0x1)throw new SyntaxError(_0x128c86(0x2a7)+_0x2a0aff);_0x25476d===-0x1&&(_0x25476d=_0x2a0aff);const _0x38871c=_0x28b0ac[_0x128c86(0x221)](_0x2f331a,_0x25476d);_0x35485b===0x2c?(_0x46552c(_0x22e5c7,_0x38871c,_0x10e829),_0x10e829=Object['create'](null)):_0x4d242a=_0x38871c,_0x2f331a=_0x25476d=-0x1;}else throw new SyntaxError(_0x128c86(0x2a7)+_0x2a0aff);}}}else{if(_0x162075===void 0x0){if(_0x25476d===-0x1&&_0x56be77[_0x35485b]===0x1)_0x2f331a===-0x1&&(_0x2f331a=_0x2a0aff);else{if(_0x35485b===0x20||_0x35485b===0x9)_0x25476d===-0x1&&_0x2f331a!==-0x1&&(_0x25476d=_0x2a0aff);else{if(_0x35485b===0x3b||_0x35485b===0x2c){if(_0x2f331a===-0x1)throw new SyntaxError(_0x128c86(0x2a7)+_0x2a0aff);_0x25476d===-0x1&&(_0x25476d=_0x2a0aff),_0x46552c(_0x10e829,_0x28b0ac['slice'](_0x2f331a,_0x25476d),!0x0),_0x35485b===0x2c&&(_0x46552c(_0x22e5c7,_0x4d242a,_0x10e829),_0x10e829=Object[_0x128c86(0x1c5)](null),_0x4d242a=void 0x0),_0x2f331a=_0x25476d=-0x1;}else{if(_0x35485b===0x3d&&_0x2f331a!==-0x1&&_0x25476d===-0x1)_0x162075=_0x28b0ac['slice'](_0x2f331a,_0x2a0aff),_0x2f331a=_0x25476d=-0x1;else throw new SyntaxError(_0x128c86(0x2a7)+_0x2a0aff);}}}}else{if(_0x5dfea8){if(_0x56be77[_0x35485b]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2a0aff);_0x2f331a===-0x1?_0x2f331a=_0x2a0aff:_0x349ef0||(_0x349ef0=!0x0),_0x5dfea8=!0x1;}else{if(_0x4f3620){if(_0x56be77[_0x35485b]===0x1)_0x2f331a===-0x1&&(_0x2f331a=_0x2a0aff);else{if(_0x35485b===0x22&&_0x2f331a!==-0x1)_0x4f3620=!0x1,_0x25476d=_0x2a0aff;else{if(_0x35485b===0x5c)_0x5dfea8=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2a0aff);}}}else{if(_0x35485b===0x22&&_0x28b0ac[_0x128c86(0x302)](_0x2a0aff-0x1)===0x3d)_0x4f3620=!0x0;else{if(_0x25476d===-0x1&&_0x56be77[_0x35485b]===0x1)_0x2f331a===-0x1&&(_0x2f331a=_0x2a0aff);else{if(_0x2f331a!==-0x1&&(_0x35485b===0x20||_0x35485b===0x9))_0x25476d===-0x1&&(_0x25476d=_0x2a0aff);else{if(_0x35485b===0x3b||_0x35485b===0x2c){if(_0x2f331a===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2a0aff);_0x25476d===-0x1&&(_0x25476d=_0x2a0aff);let _0x10cde8=_0x28b0ac[_0x128c86(0x221)](_0x2f331a,_0x25476d);_0x349ef0&&(_0x10cde8=_0x10cde8[_0x128c86(0x307)](/\\/g,''),_0x349ef0=!0x1),_0x46552c(_0x10e829,_0x162075,_0x10cde8),_0x35485b===0x2c&&(_0x46552c(_0x22e5c7,_0x4d242a,_0x10e829),_0x10e829=Object[_0x128c86(0x1c5)](null),_0x4d242a=void 0x0),_0x162075=void 0x0,_0x2f331a=_0x25476d=-0x1;}else throw new SyntaxError(_0x128c86(0x2a7)+_0x2a0aff);}}}}}}}if(_0x2f331a===-0x1||_0x4f3620||_0x35485b===0x20||_0x35485b===0x9)throw new SyntaxError(_0x128c86(0x313));_0x25476d===-0x1&&(_0x25476d=_0x2a0aff);const _0x9e0358=_0x28b0ac[_0x128c86(0x221)](_0x2f331a,_0x25476d);return _0x4d242a===void 0x0?_0x46552c(_0x22e5c7,_0x9e0358,_0x10e829):(_0x162075===void 0x0?_0x46552c(_0x10e829,_0x9e0358,!0x0):_0x349ef0?_0x46552c(_0x10e829,_0x162075,_0x9e0358[_0x128c86(0x307)](/\\/g,'')):_0x46552c(_0x10e829,_0x162075,_0x9e0358),_0x46552c(_0x22e5c7,_0x4d242a,_0x10e829)),_0x22e5c7;}function _0x3931aa(_0x5ead09){const _0x271842=_0x13d2;return Object[_0x271842(0x2c1)](_0x5ead09)[_0x271842(0x274)](_0x2e6e5d=>{const _0x184670=_0x271842;let _0x9f0a57=_0x5ead09[_0x2e6e5d];return Array[_0x184670(0x240)](_0x9f0a57)||(_0x9f0a57=[_0x9f0a57]),_0x9f0a57[_0x184670(0x274)](_0x292588=>[_0x2e6e5d][_0x184670(0x30c)](Object['keys'](_0x292588)['map'](_0x3738ff=>{const _0x5c2ccc=_0x184670;let _0x3c82fb=_0x292588[_0x3738ff];return Array[_0x5c2ccc(0x240)](_0x3c82fb)||(_0x3c82fb=[_0x3c82fb]),_0x3c82fb['map'](_0x31b828=>_0x31b828===!0x0?_0x3738ff:_0x3738ff+'='+_0x31b828)[_0x5c2ccc(0x2e1)](';\x20');}))[_0x184670(0x2e1)](';\x20'))[_0x184670(0x2e1)](',\x20');})[_0x271842(0x2e1)](',\x20');}return be={'format':_0x3931aa,'parse':_0x460d17},be;}var we,Je;function Pe(){const _0x15b0fc=_0x371bb4;if(Je)return we;Je=0x1;const _0x2a7862=nt,_0x1a9b94=vt,_0x2bd18f=ot,_0xe76976=St,_0x49a10c=Et,{randomBytes:_0x2705a0,createHash:_0x189cff}=Le,{Duplex:_0x371745,Readable:_0x14a283}=oe,{URL:_0x3fd823}=xt,_0x512c29=he(),_0x41e45a=lt(),_0x5843f5=ft(),{isBlob:_0xc08371}=ae(),{BINARY_TYPES:_0x22ec3c,EMPTY_BUFFER:_0xf0ca49,GUID:_0x26bb81,kForOnEventAttribute:_0x14716c,kListener:_0x5196a8,kStatusCode:_0x399d45,kWebSocket:_0x264189,NOOP:_0x56818d}=H(),{EventTarget:{addEventListener:_0x20566,removeEventListener:_0x178fe0}}=It(),{format:_0x142b30,parse:_0x614ffc}=ct(),{toBuffer:_0x11014a}=ce(),_0x33b0b6=0x1e*0x3e8,_0x272c60=Symbol(_0x15b0fc(0x2e3)),_0x2cad5c=[0x8,0xd],_0x435f57=[_0x15b0fc(0x2e5),_0x15b0fc(0x2bc),_0x15b0fc(0x211),'CLOSED'],_0x48aa61=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x5307e6 extends _0x2a7862{constructor(_0x33b3f3,_0x3758b0,_0x5b9bf1){const _0x28d01b=_0x15b0fc;super(),this[_0x28d01b(0x1ce)]=_0x22ec3c[0x0],this[_0x28d01b(0x189)]=0x3ee,this[_0x28d01b(0x272)]=!0x1,this[_0x28d01b(0x206)]=!0x1,this[_0x28d01b(0x27a)]=_0xf0ca49,this[_0x28d01b(0x284)]=null,this['_errorEmitted']=!0x1,this[_0x28d01b(0x27e)]={},this['_paused']=!0x1,this['_protocol']='',this[_0x28d01b(0x23f)]=_0x5307e6[_0x28d01b(0x2e5)],this[_0x28d01b(0x1e0)]=null,this[_0x28d01b(0x235)]=null,this[_0x28d01b(0x278)]=null,_0x33b3f3!==null?(this[_0x28d01b(0x204)]=0x0,this[_0x28d01b(0x31c)]=!0x1,this['_redirects']=0x0,_0x3758b0===void 0x0?_0x3758b0=[]:Array[_0x28d01b(0x240)](_0x3758b0)||(typeof _0x3758b0==_0x28d01b(0x30a)&&_0x3758b0!==null?(_0x5b9bf1=_0x3758b0,_0x3758b0=[]):_0x3758b0=[_0x3758b0]),_0x4b4cd5(this,_0x33b3f3,_0x3758b0,_0x5b9bf1)):(this[_0x28d01b(0x318)]=_0x5b9bf1[_0x28d01b(0x177)],this[_0x28d01b(0x31c)]=!0x0);}get['binaryType'](){const _0x1f6735=_0x15b0fc;return this[_0x1f6735(0x1ce)];}set[_0x15b0fc(0x249)](_0x2de9a5){const _0x3ed88e=_0x15b0fc;_0x22ec3c['includes'](_0x2de9a5)&&(this[_0x3ed88e(0x1ce)]=_0x2de9a5,this[_0x3ed88e(0x1e0)]&&(this[_0x3ed88e(0x1e0)][_0x3ed88e(0x1ce)]=_0x2de9a5));}get['bufferedAmount'](){const _0x9c591a=_0x15b0fc;return this[_0x9c591a(0x278)]?this[_0x9c591a(0x278)]['_writableState'][_0x9c591a(0x178)]+this[_0x9c591a(0x235)][_0x9c591a(0x1c1)]:this[_0x9c591a(0x204)];}get[_0x15b0fc(0x276)](){const _0x3cd2f7=_0x15b0fc;return Object[_0x3cd2f7(0x2c1)](this['_extensions'])['join']();}get['isPaused'](){const _0x4203d1=_0x15b0fc;return this[_0x4203d1(0x21b)];}get[_0x15b0fc(0x1b0)](){return null;}get[_0x15b0fc(0x2eb)](){return null;}get['onopen'](){return null;}get[_0x15b0fc(0x2b1)](){return null;}get['protocol'](){const _0x50dfe1=_0x15b0fc;return this[_0x50dfe1(0x299)];}get[_0x15b0fc(0x1ec)](){const _0x2ee887=_0x15b0fc;return this[_0x2ee887(0x23f)];}get[_0x15b0fc(0x301)](){const _0x1792b2=_0x15b0fc;return this[_0x1792b2(0x212)];}[_0x15b0fc(0x2e4)](_0x74ff40,_0x5b8413,_0x4b7ef9){const _0x4a9914=_0x15b0fc,_0x368895=new _0x41e45a({'allowSynchronousEvents':_0x4b7ef9[_0x4a9914(0x1f7)],'binaryType':this[_0x4a9914(0x249)],'extensions':this['_extensions'],'isServer':this[_0x4a9914(0x31c)],'maxPayload':_0x4b7ef9[_0x4a9914(0x1e5)],'skipUTF8Validation':_0x4b7ef9[_0x4a9914(0x2f2)]}),_0x2e504f=new _0x5843f5(_0x74ff40,this['_extensions'],_0x4b7ef9['generateMask']);this['_receiver']=_0x368895,this[_0x4a9914(0x235)]=_0x2e504f,this[_0x4a9914(0x278)]=_0x74ff40,_0x368895[_0x264189]=this,_0x2e504f[_0x264189]=this,_0x74ff40[_0x264189]=this,_0x368895['on']('conclude',_0x446f91),_0x368895['on'](_0x4a9914(0x182),_0x812036),_0x368895['on']('error',_0x397fae),_0x368895['on'](_0x4a9914(0x2a2),_0x1b8830),_0x368895['on'](_0x4a9914(0x1ad),_0x1471bc),_0x368895['on']('pong',_0x3f35b4),_0x2e504f[_0x4a9914(0x2eb)]=_0x4392d3,_0x74ff40[_0x4a9914(0x2d5)]&&_0x74ff40[_0x4a9914(0x2d5)](0x0),_0x74ff40[_0x4a9914(0x186)]&&_0x74ff40['setNoDelay'](),_0x5b8413[_0x4a9914(0x178)]>0x0&&_0x74ff40[_0x4a9914(0x1ac)](_0x5b8413),_0x74ff40['on'](_0x4a9914(0x17e),_0x43e2cc),_0x74ff40['on'](_0x4a9914(0x1a8),_0x4b7a2f),_0x74ff40['on'](_0x4a9914(0x21d),_0x5daaf9),_0x74ff40['on'](_0x4a9914(0x27f),_0x4d4bb6),this['_readyState']=_0x5307e6['OPEN'],this[_0x4a9914(0x25b)](_0x4a9914(0x270));}[_0x15b0fc(0x1b7)](){const _0x311050=_0x15b0fc;if(!this[_0x311050(0x278)]){this[_0x311050(0x23f)]=_0x5307e6['CLOSED'],this[_0x311050(0x25b)](_0x311050(0x17e),this[_0x311050(0x189)],this[_0x311050(0x27a)]);return;}this['_extensions'][_0x512c29['extensionName']]&&this[_0x311050(0x27e)][_0x512c29['extensionName']][_0x311050(0x285)](),this['_receiver'][_0x311050(0x277)](),this[_0x311050(0x23f)]=_0x5307e6[_0x311050(0x2f7)],this[_0x311050(0x25b)](_0x311050(0x17e),this[_0x311050(0x189)],this['_closeMessage']);}[_0x15b0fc(0x17e)](_0x221101,_0xcb8de3){const _0x484260=_0x15b0fc;if(this['readyState']!==_0x5307e6['CLOSED']){if(this[_0x484260(0x1ec)]===_0x5307e6['CONNECTING']){_0x5d70d5(this,this[_0x484260(0x213)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x484260(0x1ec)]===_0x5307e6['CLOSING']){this[_0x484260(0x206)]&&(this[_0x484260(0x272)]||this['_receiver']['_writableState']['errorEmitted'])&&this[_0x484260(0x278)]['end']();return;}this[_0x484260(0x23f)]=_0x5307e6['CLOSING'],this[_0x484260(0x235)]['close'](_0x221101,_0xcb8de3,!this[_0x484260(0x31c)],_0x5ad760=>{const _0x3d729e=_0x484260;_0x5ad760||(this['_closeFrameSent']=!0x0,(this[_0x3d729e(0x272)]||this[_0x3d729e(0x1e0)]['_writableState']['errorEmitted'])&&this[_0x3d729e(0x278)]['end']());}),_0x271024(this);}}[_0x15b0fc(0x308)](){const _0x36f3c6=_0x15b0fc;this[_0x36f3c6(0x1ec)]===_0x5307e6[_0x36f3c6(0x2e5)]||this['readyState']===_0x5307e6['CLOSED']||(this['_paused']=!0x0,this[_0x36f3c6(0x278)][_0x36f3c6(0x308)]());}['ping'](_0xbb8d3a,_0xc77030,_0x41f430){const _0x51f688=_0x15b0fc;if(this[_0x51f688(0x1ec)]===_0x5307e6[_0x51f688(0x2e5)])throw new Error(_0x51f688(0x2aa));if(typeof _0xbb8d3a==_0x51f688(0x17d)?(_0x41f430=_0xbb8d3a,_0xbb8d3a=_0xc77030=void 0x0):typeof _0xc77030==_0x51f688(0x17d)&&(_0x41f430=_0xc77030,_0xc77030=void 0x0),typeof _0xbb8d3a==_0x51f688(0x2fe)&&(_0xbb8d3a=_0xbb8d3a['toString']()),this[_0x51f688(0x1ec)]!==_0x5307e6[_0x51f688(0x2bc)]){_0xc0229a(this,_0xbb8d3a,_0x41f430);return;}_0xc77030===void 0x0&&(_0xc77030=!this[_0x51f688(0x31c)]),this[_0x51f688(0x235)][_0x51f688(0x1ad)](_0xbb8d3a||_0xf0ca49,_0xc77030,_0x41f430);}[_0x15b0fc(0x19a)](_0x9f5c2f,_0xce8926,_0xe9873f){const _0x3711f3=_0x15b0fc;if(this[_0x3711f3(0x1ec)]===_0x5307e6[_0x3711f3(0x2e5)])throw new Error(_0x3711f3(0x2aa));if(typeof _0x9f5c2f==_0x3711f3(0x17d)?(_0xe9873f=_0x9f5c2f,_0x9f5c2f=_0xce8926=void 0x0):typeof _0xce8926==_0x3711f3(0x17d)&&(_0xe9873f=_0xce8926,_0xce8926=void 0x0),typeof _0x9f5c2f==_0x3711f3(0x2fe)&&(_0x9f5c2f=_0x9f5c2f[_0x3711f3(0x2bb)]()),this[_0x3711f3(0x1ec)]!==_0x5307e6['OPEN']){_0xc0229a(this,_0x9f5c2f,_0xe9873f);return;}_0xce8926===void 0x0&&(_0xce8926=!this[_0x3711f3(0x31c)]),this[_0x3711f3(0x235)][_0x3711f3(0x19a)](_0x9f5c2f||_0xf0ca49,_0xce8926,_0xe9873f);}['resume'](){const _0x32be3c=_0x15b0fc;this['readyState']===_0x5307e6[_0x32be3c(0x2e5)]||this['readyState']===_0x5307e6[_0x32be3c(0x2f7)]||(this[_0x32be3c(0x21b)]=!0x1,this[_0x32be3c(0x1e0)][_0x32be3c(0x23e)][_0x32be3c(0x173)]||this['_socket'][_0x32be3c(0x2b3)]());}[_0x15b0fc(0x2b6)](_0x4250f8,_0x36c619,_0xdd7226){const _0x529109=_0x15b0fc;if(this[_0x529109(0x1ec)]===_0x5307e6[_0x529109(0x2e5)])throw new Error(_0x529109(0x2aa));if(typeof _0x36c619=='function'&&(_0xdd7226=_0x36c619,_0x36c619={}),typeof _0x4250f8==_0x529109(0x2fe)&&(_0x4250f8=_0x4250f8[_0x529109(0x2bb)]()),this[_0x529109(0x1ec)]!==_0x5307e6[_0x529109(0x2bc)]){_0xc0229a(this,_0x4250f8,_0xdd7226);return;}const _0xb21dbf={'binary':typeof _0x4250f8!=_0x529109(0x246),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x36c619};this[_0x529109(0x27e)][_0x512c29[_0x529109(0x180)]]||(_0xb21dbf[_0x529109(0x1dd)]=!0x1),this[_0x529109(0x235)][_0x529109(0x2b6)](_0x4250f8||_0xf0ca49,_0xb21dbf,_0xdd7226);}[_0x15b0fc(0x1cd)](){const _0x30b9bc=_0x15b0fc;if(this[_0x30b9bc(0x1ec)]!==_0x5307e6[_0x30b9bc(0x2f7)]){if(this[_0x30b9bc(0x1ec)]===_0x5307e6[_0x30b9bc(0x2e5)]){_0x5d70d5(this,this[_0x30b9bc(0x213)],_0x30b9bc(0x282));return;}this[_0x30b9bc(0x278)]&&(this[_0x30b9bc(0x23f)]=_0x5307e6[_0x30b9bc(0x211)],this[_0x30b9bc(0x278)][_0x30b9bc(0x16a)]());}}}Object[_0x15b0fc(0x184)](_0x5307e6,_0x15b0fc(0x2e5),{'enumerable':!0x0,'value':_0x435f57['indexOf'](_0x15b0fc(0x2e5))}),Object[_0x15b0fc(0x184)](_0x5307e6[_0x15b0fc(0x192)],_0x15b0fc(0x2e5),{'enumerable':!0x0,'value':_0x435f57[_0x15b0fc(0x21e)]('CONNECTING')}),Object[_0x15b0fc(0x184)](_0x5307e6,_0x15b0fc(0x2bc),{'enumerable':!0x0,'value':_0x435f57[_0x15b0fc(0x21e)]('OPEN')}),Object[_0x15b0fc(0x184)](_0x5307e6['prototype'],_0x15b0fc(0x2bc),{'enumerable':!0x0,'value':_0x435f57['indexOf']('OPEN')}),Object['defineProperty'](_0x5307e6,_0x15b0fc(0x211),{'enumerable':!0x0,'value':_0x435f57[_0x15b0fc(0x21e)](_0x15b0fc(0x211))}),Object[_0x15b0fc(0x184)](_0x5307e6[_0x15b0fc(0x192)],'CLOSING',{'enumerable':!0x0,'value':_0x435f57[_0x15b0fc(0x21e)]('CLOSING')}),Object[_0x15b0fc(0x184)](_0x5307e6,'CLOSED',{'enumerable':!0x0,'value':_0x435f57[_0x15b0fc(0x21e)](_0x15b0fc(0x2f7))}),Object[_0x15b0fc(0x184)](_0x5307e6[_0x15b0fc(0x192)],'CLOSED',{'enumerable':!0x0,'value':_0x435f57['indexOf'](_0x15b0fc(0x2f7))}),['binaryType',_0x15b0fc(0x236),'extensions',_0x15b0fc(0x305),_0x15b0fc(0x245),'readyState','url'][_0x15b0fc(0x25a)](_0x3c2d55=>{const _0x29ff58=_0x15b0fc;Object[_0x29ff58(0x184)](_0x5307e6['prototype'],_0x3c2d55,{'enumerable':!0x0});}),[_0x15b0fc(0x270),'error',_0x15b0fc(0x17e),'message']['forEach'](_0x4119b9=>{const _0x2202d0=_0x15b0fc;Object['defineProperty'](_0x5307e6[_0x2202d0(0x192)],'on'+_0x4119b9,{'enumerable':!0x0,'get'(){const _0xb7f701=_0x2202d0;for(const _0x4e0b94 of this[_0xb7f701(0x1dc)](_0x4119b9))if(_0x4e0b94[_0x14716c])return _0x4e0b94[_0x5196a8];return null;},'set'(_0x456aef){const _0x328172=_0x2202d0;for(const _0x390aee of this[_0x328172(0x1dc)](_0x4119b9))if(_0x390aee[_0x14716c]){this[_0x328172(0x2df)](_0x4119b9,_0x390aee);break;}typeof _0x456aef==_0x328172(0x17d)&&this[_0x328172(0x257)](_0x4119b9,_0x456aef,{[_0x14716c]:!0x0});}});}),_0x5307e6[_0x15b0fc(0x192)]['addEventListener']=_0x20566,_0x5307e6[_0x15b0fc(0x192)][_0x15b0fc(0x2b5)]=_0x178fe0,we=_0x5307e6;function _0x4b4cd5(_0xce553c,_0x1a925f,_0xf8a7d5,_0xe98d56){const _0x90ae63=_0x15b0fc,_0x543215={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x2cad5c[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0xe98d56,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0xce553c[_0x90ae63(0x318)]=_0x543215[_0x90ae63(0x177)],!_0x2cad5c[_0x90ae63(0x303)](_0x543215[_0x90ae63(0x183)]))throw new RangeError(_0x90ae63(0x268)+_0x543215[_0x90ae63(0x183)]+_0x90ae63(0x164)+_0x2cad5c[_0x90ae63(0x2e1)](',\x20')+')');let _0x1be400;if(_0x1a925f instanceof _0x3fd823)_0x1be400=_0x1a925f;else try{_0x1be400=new _0x3fd823(_0x1a925f);}catch{throw new SyntaxError(_0x90ae63(0x1bb)+_0x1a925f);}_0x1be400[_0x90ae63(0x245)]===_0x90ae63(0x261)?_0x1be400[_0x90ae63(0x245)]='ws:':_0x1be400[_0x90ae63(0x245)]==='https:'&&(_0x1be400[_0x90ae63(0x245)]=_0x90ae63(0x17b)),_0xce553c[_0x90ae63(0x212)]=_0x1be400[_0x90ae63(0x2c9)];const _0x3598b6=_0x1be400[_0x90ae63(0x245)]===_0x90ae63(0x17b),_0xf7a5aa=_0x1be400[_0x90ae63(0x245)]===_0x90ae63(0x292);let _0x27e6da;if(_0x1be400[_0x90ae63(0x245)]!==_0x90ae63(0x1b3)&&!_0x3598b6&&!_0xf7a5aa?_0x27e6da=_0x90ae63(0x20f):_0xf7a5aa&&!_0x1be400['pathname']?_0x27e6da='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x1be400['hash']&&(_0x27e6da=_0x90ae63(0x2f4)),_0x27e6da){const _0x3a8c09=new SyntaxError(_0x27e6da);if(_0xce553c[_0x90ae63(0x247)]===0x0)throw _0x3a8c09;_0x5af5cf(_0xce553c,_0x3a8c09);return;}const _0x374a83=_0x3598b6?0x1bb:0x50,_0x5f3f53=_0x2705a0(0x10)['toString'](_0x90ae63(0x314)),_0x257446=_0x3598b6?_0x1a9b94[_0x90ae63(0x291)]:_0x2bd18f[_0x90ae63(0x291)],_0xb15cf1=new Set();let _0x3c2464;if(_0x543215[_0x90ae63(0x22e)]=_0x543215[_0x90ae63(0x22e)]||(_0x3598b6?_0x59d691:_0x35df3b),_0x543215[_0x90ae63(0x288)]=_0x543215[_0x90ae63(0x288)]||_0x374a83,_0x543215['port']=_0x1be400[_0x90ae63(0x196)]||_0x374a83,_0x543215['host']=_0x1be400[_0x90ae63(0x2ec)][_0x90ae63(0x2da)]('[')?_0x1be400['hostname'][_0x90ae63(0x221)](0x1,-0x1):_0x1be400[_0x90ae63(0x2ec)],_0x543215[_0x90ae63(0x20e)]={..._0x543215[_0x90ae63(0x20e)],'Sec-WebSocket-Version':_0x543215[_0x90ae63(0x183)],'Sec-WebSocket-Key':_0x5f3f53,'Connection':'Upgrade','Upgrade':_0x90ae63(0x167)},_0x543215[_0x90ae63(0x2a9)]=_0x1be400['pathname']+_0x1be400[_0x90ae63(0x2a0)],_0x543215['timeout']=_0x543215['handshakeTimeout'],_0x543215[_0x90ae63(0x2bd)]&&(_0x3c2464=new _0x512c29(_0x543215[_0x90ae63(0x2bd)]!==!0x0?_0x543215[_0x90ae63(0x2bd)]:{},!0x1,_0x543215[_0x90ae63(0x1e5)]),_0x543215['headers']['Sec-WebSocket-Extensions']=_0x142b30({[_0x512c29[_0x90ae63(0x180)]]:_0x3c2464[_0x90ae63(0x1b6)]()})),_0xf8a7d5['length']){for(const _0x5aab1b of _0xf8a7d5){if(typeof _0x5aab1b!=_0x90ae63(0x246)||!_0x48aa61['test'](_0x5aab1b)||_0xb15cf1[_0x90ae63(0x225)](_0x5aab1b))throw new SyntaxError(_0x90ae63(0x1e3));_0xb15cf1[_0x90ae63(0x1f6)](_0x5aab1b);}_0x543215['headers']['Sec-WebSocket-Protocol']=_0xf8a7d5[_0x90ae63(0x2e1)](',');}if(_0x543215[_0x90ae63(0x1a4)]&&(_0x543215[_0x90ae63(0x183)]<0xd?_0x543215[_0x90ae63(0x20e)][_0x90ae63(0x2b8)]=_0x543215[_0x90ae63(0x1a4)]:_0x543215[_0x90ae63(0x20e)]['Origin']=_0x543215['origin']),(_0x1be400[_0x90ae63(0x23d)]||_0x1be400[_0x90ae63(0x194)])&&(_0x543215[_0x90ae63(0x232)]=_0x1be400[_0x90ae63(0x23d)]+':'+_0x1be400[_0x90ae63(0x194)]),_0xf7a5aa){const _0x6347e9=_0x543215[_0x90ae63(0x2a9)][_0x90ae63(0x2ac)](':');_0x543215[_0x90ae63(0x18c)]=_0x6347e9[0x0],_0x543215['path']=_0x6347e9[0x1];}let _0x1fe3ea;if(_0x543215[_0x90ae63(0x215)]){if(_0xce553c[_0x90ae63(0x247)]===0x0){_0xce553c[_0x90ae63(0x2c2)]=_0xf7a5aa,_0xce553c['_originalSecure']=_0x3598b6,_0xce553c[_0x90ae63(0x267)]=_0xf7a5aa?_0x543215[_0x90ae63(0x18c)]:_0x1be400[_0x90ae63(0x256)];const _0x65d253=_0xe98d56&&_0xe98d56[_0x90ae63(0x20e)];if(_0xe98d56={..._0xe98d56,'headers':{}},_0x65d253){for(const [_0x5adefd,_0x541f4f]of Object['entries'](_0x65d253))_0xe98d56[_0x90ae63(0x20e)][_0x5adefd[_0x90ae63(0x1cf)]()]=_0x541f4f;}}else{if(_0xce553c[_0x90ae63(0x297)](_0x90ae63(0x2c0))===0x0){const _0x1a659=_0xf7a5aa?_0xce553c['_originalIpc']?_0x543215[_0x90ae63(0x18c)]===_0xce553c[_0x90ae63(0x267)]:!0x1:_0xce553c[_0x90ae63(0x2c2)]?!0x1:_0x1be400[_0x90ae63(0x256)]===_0xce553c[_0x90ae63(0x267)];(!_0x1a659||_0xce553c[_0x90ae63(0x1d4)]&&!_0x3598b6)&&(delete _0x543215[_0x90ae63(0x20e)][_0x90ae63(0x1c3)],delete _0x543215[_0x90ae63(0x20e)]['cookie'],_0x1a659||delete _0x543215[_0x90ae63(0x20e)]['host'],_0x543215[_0x90ae63(0x232)]=void 0x0);}}_0x543215[_0x90ae63(0x232)]&&!_0xe98d56[_0x90ae63(0x20e)][_0x90ae63(0x1c3)]&&(_0xe98d56[_0x90ae63(0x20e)][_0x90ae63(0x1c3)]=_0x90ae63(0x233)+Buffer[_0x90ae63(0x1e4)](_0x543215[_0x90ae63(0x232)])[_0x90ae63(0x2bb)](_0x90ae63(0x314))),_0x1fe3ea=_0xce553c[_0x90ae63(0x213)]=_0x257446(_0x543215),_0xce553c[_0x90ae63(0x247)]&&_0xce553c[_0x90ae63(0x25b)](_0x90ae63(0x2c0),_0xce553c[_0x90ae63(0x301)],_0x1fe3ea);}else _0x1fe3ea=_0xce553c['_req']=_0x257446(_0x543215);_0x543215[_0x90ae63(0x304)]&&_0x1fe3ea['on'](_0x90ae63(0x304),()=>{const _0x2d0759=_0x90ae63;_0x5d70d5(_0xce553c,_0x1fe3ea,_0x2d0759(0x23a));}),_0x1fe3ea['on'](_0x90ae63(0x27f),_0x47f19f=>{_0x1fe3ea===null||_0x1fe3ea[_0x272c60]||(_0x1fe3ea=_0xce553c['_req']=null,_0x5af5cf(_0xce553c,_0x47f19f));}),_0x1fe3ea['on'](_0x90ae63(0x2fb),_0x338158=>{const _0xd23921=_0x90ae63,_0x3ac8d8=_0x338158['headers'][_0xd23921(0x254)],_0x1cddd4=_0x338158[_0xd23921(0x31a)];if(_0x3ac8d8&&_0x543215[_0xd23921(0x215)]&&_0x1cddd4>=0x12c&&_0x1cddd4<0x190){if(++_0xce553c[_0xd23921(0x247)]>_0x543215['maxRedirects']){_0x5d70d5(_0xce553c,_0x1fe3ea,_0xd23921(0x1d1));return;}_0x1fe3ea[_0xd23921(0x197)]();let _0x4b4f9d;try{_0x4b4f9d=new _0x3fd823(_0x3ac8d8,_0x1a925f);}catch{const _0x41ac92=new SyntaxError('Invalid\x20URL:\x20'+_0x3ac8d8);_0x5af5cf(_0xce553c,_0x41ac92);return;}_0x4b4cd5(_0xce553c,_0x4b4f9d,_0xf8a7d5,_0xe98d56);}else _0xce553c[_0xd23921(0x25b)](_0xd23921(0x2be),_0x1fe3ea,_0x338158)||_0x5d70d5(_0xce553c,_0x1fe3ea,_0xd23921(0x21c)+_0x338158[_0xd23921(0x31a)]);}),_0x1fe3ea['on']('upgrade',(_0x3696fd,_0x4f011b,_0xa4eb2e)=>{const _0x48924a=_0x90ae63;if(_0xce553c[_0x48924a(0x25b)](_0x48924a(0x1a7),_0x3696fd),_0xce553c[_0x48924a(0x1ec)]!==_0x5307e6[_0x48924a(0x2e5)])return;_0x1fe3ea=_0xce553c['_req']=null;const _0x2e2311=_0x3696fd[_0x48924a(0x20e)]['upgrade'];if(_0x2e2311===void 0x0||_0x2e2311[_0x48924a(0x1cf)]()!==_0x48924a(0x167)){_0x5d70d5(_0xce553c,_0x4f011b,_0x48924a(0x201));return;}const _0x480e09=_0x189cff(_0x48924a(0x1c0))['update'](_0x5f3f53+_0x26bb81)[_0x48924a(0x251)](_0x48924a(0x314));if(_0x3696fd[_0x48924a(0x20e)][_0x48924a(0x29f)]!==_0x480e09){_0x5d70d5(_0xce553c,_0x4f011b,_0x48924a(0x1e7));return;}const _0x498a3e=_0x3696fd[_0x48924a(0x20e)][_0x48924a(0x1f9)];let _0x1c7526;if(_0x498a3e!==void 0x0?_0xb15cf1[_0x48924a(0x179)]?_0xb15cf1['has'](_0x498a3e)||(_0x1c7526=_0x48924a(0x241)):_0x1c7526=_0x48924a(0x2ab):_0xb15cf1['size']&&(_0x1c7526=_0x48924a(0x2a8)),_0x1c7526){_0x5d70d5(_0xce553c,_0x4f011b,_0x1c7526);return;}_0x498a3e&&(_0xce553c['_protocol']=_0x498a3e);const _0x392342=_0x3696fd[_0x48924a(0x20e)][_0x48924a(0x181)];if(_0x392342!==void 0x0){if(!_0x3c2464){_0x5d70d5(_0xce553c,_0x4f011b,_0x48924a(0x2ae));return;}let _0x4c580c;try{_0x4c580c=_0x614ffc(_0x392342);}catch{_0x5d70d5(_0xce553c,_0x4f011b,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x424a12=Object[_0x48924a(0x2c1)](_0x4c580c);if(_0x424a12['length']!==0x1||_0x424a12[0x0]!==_0x512c29['extensionName']){_0x5d70d5(_0xce553c,_0x4f011b,_0x48924a(0x1a6));return;}try{_0x3c2464['accept'](_0x4c580c[_0x512c29[_0x48924a(0x180)]]);}catch{_0x5d70d5(_0xce553c,_0x4f011b,_0x48924a(0x1b4));return;}_0xce553c[_0x48924a(0x27e)][_0x512c29[_0x48924a(0x180)]]=_0x3c2464;}_0xce553c[_0x48924a(0x2e4)](_0x4f011b,_0xa4eb2e,{'allowSynchronousEvents':_0x543215[_0x48924a(0x1f7)],'generateMask':_0x543215[_0x48924a(0x22b)],'maxPayload':_0x543215[_0x48924a(0x1e5)],'skipUTF8Validation':_0x543215['skipUTF8Validation']});}),_0x543215[_0x90ae63(0x252)]?_0x543215[_0x90ae63(0x252)](_0x1fe3ea,_0xce553c):_0x1fe3ea[_0x90ae63(0x21d)]();}function _0x5af5cf(_0x5ca5b0,_0x3119b0){const _0x2f4c3e=_0x15b0fc;_0x5ca5b0[_0x2f4c3e(0x23f)]=_0x5307e6[_0x2f4c3e(0x211)],_0x5ca5b0['_errorEmitted']=!0x0,_0x5ca5b0[_0x2f4c3e(0x25b)](_0x2f4c3e(0x27f),_0x3119b0),_0x5ca5b0[_0x2f4c3e(0x1b7)]();}function _0x35df3b(_0x1eec04){const _0x23e84c=_0x15b0fc;return _0x1eec04[_0x23e84c(0x2a9)]=_0x1eec04[_0x23e84c(0x18c)],_0xe76976[_0x23e84c(0x1fa)](_0x1eec04);}function _0x59d691(_0x5af904){const _0x398276=_0x15b0fc;return _0x5af904[_0x398276(0x2a9)]=void 0x0,!_0x5af904[_0x398276(0x320)]&&_0x5af904['servername']!==''&&(_0x5af904['servername']=_0xe76976['isIP'](_0x5af904[_0x398276(0x256)])?'':_0x5af904[_0x398276(0x256)]),_0x49a10c[_0x398276(0x1fa)](_0x5af904);}function _0x5d70d5(_0x2a3e66,_0x9f96ac,_0x347941){const _0x34fc1a=_0x15b0fc;_0x2a3e66[_0x34fc1a(0x23f)]=_0x5307e6['CLOSING'];const _0xd1d9b8=new Error(_0x347941);Error[_0x34fc1a(0x20a)](_0xd1d9b8,_0x5d70d5),_0x9f96ac['setHeader']?(_0x9f96ac[_0x272c60]=!0x0,_0x9f96ac[_0x34fc1a(0x197)](),_0x9f96ac[_0x34fc1a(0x218)]&&!_0x9f96ac[_0x34fc1a(0x218)][_0x34fc1a(0x2ed)]&&_0x9f96ac[_0x34fc1a(0x218)][_0x34fc1a(0x16a)](),process[_0x34fc1a(0x231)](_0x5af5cf,_0x2a3e66,_0xd1d9b8)):(_0x9f96ac[_0x34fc1a(0x16a)](_0xd1d9b8),_0x9f96ac[_0x34fc1a(0x1cc)](_0x34fc1a(0x27f),_0x2a3e66[_0x34fc1a(0x25b)][_0x34fc1a(0x2ba)](_0x2a3e66,_0x34fc1a(0x27f))),_0x9f96ac[_0x34fc1a(0x1cc)](_0x34fc1a(0x17e),_0x2a3e66[_0x34fc1a(0x1b7)]['bind'](_0x2a3e66)));}function _0xc0229a(_0x3907c6,_0x1e3115,_0x586fb3){const _0x217160=_0x15b0fc;if(_0x1e3115){const _0x2fe50f=_0xc08371(_0x1e3115)?_0x1e3115[_0x217160(0x179)]:_0x11014a(_0x1e3115)[_0x217160(0x178)];_0x3907c6[_0x217160(0x278)]?_0x3907c6[_0x217160(0x235)][_0x217160(0x1c1)]+=_0x2fe50f:_0x3907c6[_0x217160(0x204)]+=_0x2fe50f;}if(_0x586fb3){const _0x118abc=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x3907c6['readyState']+'\x20('+_0x435f57[_0x3907c6['readyState']]+')');process[_0x217160(0x231)](_0x586fb3,_0x118abc);}}function _0x446f91(_0x1b3fae,_0x1ead7e){const _0x4c1c97=_0x15b0fc,_0x6c31a7=this[_0x264189];_0x6c31a7[_0x4c1c97(0x272)]=!0x0,_0x6c31a7[_0x4c1c97(0x27a)]=_0x1ead7e,_0x6c31a7[_0x4c1c97(0x189)]=_0x1b3fae,_0x6c31a7['_socket'][_0x264189]!==void 0x0&&(_0x6c31a7[_0x4c1c97(0x278)]['removeListener'](_0x4c1c97(0x1a8),_0x4b7a2f),process[_0x4c1c97(0x231)](_0x1987f4,_0x6c31a7['_socket']),_0x1b3fae===0x3ed?_0x6c31a7['close']():_0x6c31a7['close'](_0x1b3fae,_0x1ead7e));}function _0x812036(){const _0x5829b3=_0x15b0fc,_0x60e93f=this[_0x264189];_0x60e93f[_0x5829b3(0x305)]||_0x60e93f[_0x5829b3(0x278)][_0x5829b3(0x2b3)]();}function _0x397fae(_0x3e576a){const _0x2f2655=_0x15b0fc,_0x4f6fcf=this[_0x264189];_0x4f6fcf[_0x2f2655(0x278)][_0x264189]!==void 0x0&&(_0x4f6fcf[_0x2f2655(0x278)][_0x2f2655(0x2df)](_0x2f2655(0x1a8),_0x4b7a2f),process['nextTick'](_0x1987f4,_0x4f6fcf[_0x2f2655(0x278)]),_0x4f6fcf['close'](_0x3e576a[_0x399d45])),_0x4f6fcf[_0x2f2655(0x1c7)]||(_0x4f6fcf[_0x2f2655(0x1c7)]=!0x0,_0x4f6fcf['emit']('error',_0x3e576a));}function _0x32f9c7(){const _0x391fc8=_0x15b0fc;this[_0x264189][_0x391fc8(0x1b7)]();}function _0x1b8830(_0x59be0d,_0xfd68bd){const _0x888588=_0x15b0fc;this[_0x264189][_0x888588(0x25b)](_0x888588(0x2a2),_0x59be0d,_0xfd68bd);}function _0x1471bc(_0x2bbbec){const _0x8f0dd0=_0x15b0fc,_0x1f4c44=this[_0x264189];_0x1f4c44[_0x8f0dd0(0x318)]&&_0x1f4c44[_0x8f0dd0(0x19a)](_0x2bbbec,!this['_isServer'],_0x56818d),_0x1f4c44[_0x8f0dd0(0x25b)](_0x8f0dd0(0x1ad),_0x2bbbec);}function _0x3f35b4(_0x24ed36){const _0x3ec6f4=_0x15b0fc;this[_0x264189][_0x3ec6f4(0x25b)](_0x3ec6f4(0x19a),_0x24ed36);}function _0x1987f4(_0x47f950){const _0x1bfd6e=_0x15b0fc;_0x47f950[_0x1bfd6e(0x2b3)]();}function _0x4392d3(_0x121ed6){const _0x2632e8=_0x15b0fc,_0x6d3f31=this[_0x264189];_0x6d3f31['readyState']!==_0x5307e6[_0x2632e8(0x2f7)]&&(_0x6d3f31['readyState']===_0x5307e6[_0x2632e8(0x2bc)]&&(_0x6d3f31['_readyState']=_0x5307e6[_0x2632e8(0x211)],_0x271024(_0x6d3f31)),this[_0x2632e8(0x278)][_0x2632e8(0x21d)](),_0x6d3f31[_0x2632e8(0x1c7)]||(_0x6d3f31['_errorEmitted']=!0x0,_0x6d3f31[_0x2632e8(0x25b)](_0x2632e8(0x27f),_0x121ed6)));}function _0x271024(_0x321749){const _0x1dc1fb=_0x15b0fc;_0x321749[_0x1dc1fb(0x284)]=setTimeout(_0x321749[_0x1dc1fb(0x278)][_0x1dc1fb(0x16a)]['bind'](_0x321749[_0x1dc1fb(0x278)]),_0x33b0b6);}function _0x43e2cc(){const _0x2ba8f1=_0x15b0fc,_0x8c81d5=this[_0x264189];this[_0x2ba8f1(0x2df)](_0x2ba8f1(0x17e),_0x43e2cc),this[_0x2ba8f1(0x2df)](_0x2ba8f1(0x1a8),_0x4b7a2f),this[_0x2ba8f1(0x2df)]('end',_0x5daaf9),_0x8c81d5[_0x2ba8f1(0x23f)]=_0x5307e6['CLOSING'];let _0x1f81a7;!this[_0x2ba8f1(0x1d3)][_0x2ba8f1(0x2ff)]&&!_0x8c81d5['_closeFrameReceived']&&!_0x8c81d5[_0x2ba8f1(0x1e0)][_0x2ba8f1(0x23e)][_0x2ba8f1(0x15f)]&&(_0x1f81a7=_0x8c81d5['_socket'][_0x2ba8f1(0x227)]())!==null&&_0x8c81d5['_receiver'][_0x2ba8f1(0x26c)](_0x1f81a7),_0x8c81d5[_0x2ba8f1(0x1e0)][_0x2ba8f1(0x21d)](),this[_0x264189]=void 0x0,clearTimeout(_0x8c81d5[_0x2ba8f1(0x284)]),_0x8c81d5[_0x2ba8f1(0x1e0)][_0x2ba8f1(0x23e)][_0x2ba8f1(0x28a)]||_0x8c81d5[_0x2ba8f1(0x1e0)][_0x2ba8f1(0x23e)][_0x2ba8f1(0x15f)]?_0x8c81d5[_0x2ba8f1(0x1b7)]():(_0x8c81d5[_0x2ba8f1(0x1e0)]['on'](_0x2ba8f1(0x27f),_0x32f9c7),_0x8c81d5[_0x2ba8f1(0x1e0)]['on'](_0x2ba8f1(0x217),_0x32f9c7));}function _0x4b7a2f(_0x463f13){const _0x367676=_0x15b0fc;this[_0x264189]['_receiver']['write'](_0x463f13)||this[_0x367676(0x308)]();}function _0x5daaf9(){const _0x265a7e=_0x15b0fc,_0x190ef6=this[_0x264189];_0x190ef6[_0x265a7e(0x23f)]=_0x5307e6[_0x265a7e(0x211)],_0x190ef6[_0x265a7e(0x1e0)][_0x265a7e(0x21d)](),this[_0x265a7e(0x21d)]();}function _0x4d4bb6(){const _0x1b1383=_0x15b0fc,_0x2481b0=this[_0x264189];this['removeListener'](_0x1b1383(0x27f),_0x4d4bb6),this['on'](_0x1b1383(0x27f),_0x56818d),_0x2481b0&&(_0x2481b0[_0x1b1383(0x23f)]=_0x5307e6[_0x1b1383(0x211)],this[_0x1b1383(0x16a)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x11e27f}=oe;function _0x16b3b7(_0x3012df){const _0x5f2e5c=_0x13d2;_0x3012df[_0x5f2e5c(0x25b)](_0x5f2e5c(0x17e));}function _0x4ee2ab(){const _0x5a9021=_0x13d2;!this[_0x5a9021(0x2ed)]&&this[_0x5a9021(0x23e)]['finished']&&this[_0x5a9021(0x16a)]();}function _0x1859b7(_0x568ea3){const _0x5b855d=_0x13d2;this[_0x5b855d(0x2df)](_0x5b855d(0x27f),_0x1859b7),this[_0x5b855d(0x16a)](),this[_0x5b855d(0x297)](_0x5b855d(0x27f))===0x0&&this['emit'](_0x5b855d(0x27f),_0x568ea3);}function _0x173bdb(_0x3f4291,_0x150c8d){const _0x3d7b93=_0x13d2;let _0x45906b=!0x0;const _0x576000=new _0x11e27f({..._0x150c8d,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x3f4291['on'](_0x3d7b93(0x2a2),function(_0x549ea1,_0x354b42){const _0x3fa987=_0x3d7b93,_0x5e3fb7=!_0x354b42&&_0x576000[_0x3fa987(0x1d3)]['objectMode']?_0x549ea1[_0x3fa987(0x2bb)]():_0x549ea1;_0x576000[_0x3fa987(0x2c3)](_0x5e3fb7)||_0x3f4291['pause']();}),_0x3f4291[_0x3d7b93(0x1cc)](_0x3d7b93(0x27f),function(_0x3dd266){const _0x3a7572=_0x3d7b93;_0x576000[_0x3a7572(0x2ed)]||(_0x45906b=!0x1,_0x576000[_0x3a7572(0x16a)](_0x3dd266));}),_0x3f4291[_0x3d7b93(0x1cc)](_0x3d7b93(0x17e),function(){const _0x48cba5=_0x3d7b93;_0x576000[_0x48cba5(0x2ed)]||_0x576000[_0x48cba5(0x2c3)](null);}),_0x576000[_0x3d7b93(0x165)]=function(_0x5de747,_0x35b7af){const _0x536f70=_0x3d7b93;if(_0x3f4291[_0x536f70(0x1ec)]===_0x3f4291[_0x536f70(0x2f7)]){_0x35b7af(_0x5de747),process[_0x536f70(0x231)](_0x16b3b7,_0x576000);return;}let _0x340e66=!0x1;_0x3f4291['once'](_0x536f70(0x27f),function(_0x123217){_0x340e66=!0x0,_0x35b7af(_0x123217);}),_0x3f4291[_0x536f70(0x1cc)](_0x536f70(0x17e),function(){const _0xd66913=_0x536f70;_0x340e66||_0x35b7af(_0x5de747),process[_0xd66913(0x231)](_0x16b3b7,_0x576000);}),_0x45906b&&_0x3f4291['terminate']();},_0x576000['_final']=function(_0x2dca19){const _0x1461d7=_0x3d7b93;if(_0x3f4291[_0x1461d7(0x1ec)]===_0x3f4291[_0x1461d7(0x2e5)]){_0x3f4291[_0x1461d7(0x1cc)](_0x1461d7(0x270),function(){const _0x40640a=_0x1461d7;_0x576000[_0x40640a(0x263)](_0x2dca19);});return;}_0x3f4291[_0x1461d7(0x278)]!==null&&(_0x3f4291[_0x1461d7(0x278)]['_writableState']['finished']?(_0x2dca19(),_0x576000[_0x1461d7(0x1d3)][_0x1461d7(0x2ff)]&&_0x576000['destroy']()):(_0x3f4291[_0x1461d7(0x278)][_0x1461d7(0x1cc)](_0x1461d7(0x217),function(){_0x2dca19();}),_0x3f4291['close']()));},_0x576000['_read']=function(){const _0x25d7c9=_0x3d7b93;_0x3f4291['isPaused']&&_0x3f4291[_0x25d7c9(0x2b3)]();},_0x576000[_0x3d7b93(0x26f)]=function(_0x551d63,_0x5d8f64,_0x4b9361){const _0xe2da3c=_0x3d7b93;if(_0x3f4291[_0xe2da3c(0x1ec)]===_0x3f4291[_0xe2da3c(0x2e5)]){_0x3f4291[_0xe2da3c(0x1cc)](_0xe2da3c(0x270),function(){const _0x4b09d7=_0xe2da3c;_0x576000[_0x4b09d7(0x26f)](_0x551d63,_0x5d8f64,_0x4b9361);});return;}_0x3f4291[_0xe2da3c(0x2b6)](_0x551d63,_0x4b9361);},_0x576000['on'](_0x3d7b93(0x21d),_0x4ee2ab),_0x576000['on'](_0x3d7b93(0x27f),_0x1859b7),_0x576000;}return Oe=_0x173bdb,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x25b339}=ae();function _0x447484(_0x57d882){const _0x462355=_0x13d2,_0x5c5948=new Set();let _0xa4c551=-0x1,_0x2a1f31=-0x1,_0x98f6ad=0x0;for(_0x98f6ad;_0x98f6ad<_0x57d882[_0x462355(0x178)];_0x98f6ad++){const _0x308e2b=_0x57d882[_0x462355(0x302)](_0x98f6ad);if(_0x2a1f31===-0x1&&_0x25b339[_0x308e2b]===0x1)_0xa4c551===-0x1&&(_0xa4c551=_0x98f6ad);else{if(_0x98f6ad!==0x0&&(_0x308e2b===0x20||_0x308e2b===0x9))_0x2a1f31===-0x1&&_0xa4c551!==-0x1&&(_0x2a1f31=_0x98f6ad);else{if(_0x308e2b===0x2c){if(_0xa4c551===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x98f6ad);_0x2a1f31===-0x1&&(_0x2a1f31=_0x98f6ad);const _0x42cdbb=_0x57d882[_0x462355(0x221)](_0xa4c551,_0x2a1f31);if(_0x5c5948['has'](_0x42cdbb))throw new SyntaxError(_0x462355(0x2ad)+_0x42cdbb+_0x462355(0x31d));_0x5c5948[_0x462355(0x1f6)](_0x42cdbb),_0xa4c551=_0x2a1f31=-0x1;}else throw new SyntaxError(_0x462355(0x2a7)+_0x98f6ad);}}}if(_0xa4c551===-0x1||_0x2a1f31!==-0x1)throw new SyntaxError(_0x462355(0x313));const _0x50f0dc=_0x57d882['slice'](_0xa4c551,_0x98f6ad);if(_0x5c5948[_0x462355(0x225)](_0x50f0dc))throw new SyntaxError(_0x462355(0x2ad)+_0x50f0dc+_0x462355(0x31d));return _0x5c5948['add'](_0x50f0dc),_0x5c5948;}return Ce={'parse':_0x447484},Ce;}var Te,rt;function _0x35ce(){const _0x28f60d=['then','Upgrade:\x20websocket','generateMask','@univerjs-pro/collaboration-client','@univerjs-pro/collaboration','createConnection','set','_firstFragment','nextTick','auth','Basic\x20','enqueue','_sender','bufferedAmount','Invalid\x20WebSocket\x20frame:\x20','kError','cork','Opening\x20handshake\x20has\x20timed\x20out','wsClientError','File','username','_writableState','_readyState','isArray','Server\x20sent\x20an\x20invalid\x20subprotocol','noServer','438OcDZvo','decompress','protocol','string','_redirects','getData','binaryType','146pDvwHO','Plugin','WS_ERR_INVALID_CLOSE_CODE','dequeue','@univerjs/network','createDeflateRaw','rsv1','digest','finishRequest','_server','location','WS_ERR_EXPECTED_FIN','host','addEventListener','createInflateRaw','DependentOn','forEach','emit','options','threshold','uncork','fragments','writeUInt16BE','http:','getPayloadLength64','_final','exports','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','handleUpgrade','_originalHostOrSocketPath','Unsupported\x20protocol\x20version:\x20','hasOwnProperty','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','shift','write','consume','Parameter\x20\x22','_write','open','type','_closeFrameReceived','Inject','map','dispatch','extensions','removeAllListeners','_socket','createError','_closeMessage','buffers','readOnly','clientNoContextTakeover','_extensions','error','next','kData','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','_queue','_closeTimer','cleanup','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','get','defaultPort','pow','finished','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','sec-websocket-origin','451272zWmpsc','invalid\x20payload\x20length\x20','\x22:\x20','MASK\x20must\x20be\x20set','request','ws+unix:','backlog','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','format','species','listenerCount','verifyClient','_protocol','binary','Max\x20payload\x20size\x20exceeded','catch','Sec-WebSocket-Extensions:\x20','WS_ERR_UNEXPECTED_RSV_1','sec-websocket-accept','search','_options','message','Invalid\x20value\x20for\x20parameter\x20\x22','_maskBuffer','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','sendFrame','Unexpected\x20character\x20at\x20index\x20','Server\x20sent\x20no\x20subprotocol','path','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','split','The\x20\x22','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','target','reason','onmessage','Unknown\x20parameter\x20\x22','resume','blob','removeEventListener','send','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','Sec-WebSocket-Origin','constructor','bind','toString','OPEN','perMessageDeflate','unexpected-response','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','redirect','keys','_originalIpc','push','_httpService','pending','http','stream','net','href','cookie','concurrency','ISnapshotServerService','handleEvent','_doCreateSocket','server','_shouldEmitClose','4wmixBT','FIN\x20must\x20be\x20set','isInteger','normalizeParams','setTimeout','IConfigService','WS_ERR_EXPECTED_MASK','WS_ERR_INVALID_UTF8','server_no_context_takeover','startsWith','_deflate','fin','serverNoContextTakeover','_errored','removeListener','freeze','join','UniverCollaborationClientPlugin','kAborted','setSocket','CONNECTING','77ClyjnG','_fin','allocUnsafe','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','clientMaxWindowBits','onerror','hostname','destroyed','handleProtocols','registerDependencies','_payloadLength','call','skipUTF8Validation','acceptAsClient','The\x20URL\x20contains\x20a\x20fragment\x20identifier','toDisposable','ILogService','CLOSED','_messageLength','kMessage','invalid\x20UTF-8\x20sequence','response','client','Observable','number','endEmitted','invalid\x20opcode\x20','url','charCodeAt','includes','timeout','isPaused','RSV1\x20must\x20be\x20clear','replace','pause','toStringTag','object','text/plain','concat','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','_inflate','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','_buffers','Injector','kTarget','Unexpected\x20end\x20of\x20input','base64','share','Cookie','_skipUTF8Validation','_autoPong','Invalid\x20Sec-WebSocket-Protocol\x20header','statusCode','Sec-WebSocket-Protocol:\x20','_isServer','\x22\x20subprotocol\x20is\x20duplicated','delete','pluginName','servername','callback','_opcode','kWasClean','__esModule','STATUS_CODES','readUInt32BE','serverMaxWindowBits','GET','writeUIntBE','The\x20server\x20is\x20not\x20running','sec-websocket-key','kType','HTTPService','Sec-WebSocket-Accept:\x20','https','errorEmitted','kRun','_threshold','_removeListeners','wasClean','\x20(supported\x20versions:\x20','_destroy','3443140LNyoku','websocket','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','_loop','destroy','ISocketService','19371dIccoL','kCode','sec-websocket-version','reset','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','invalid\x20status\x20code\x20','WS_NO_BUFFER_UTIL','needDrain','total-length','DisposableCollection','_totalPayloadLength','autoPong','length','size','permessage-deflate','wss:','params','function','close','listen','extensionName','sec-websocket-extensions','drain','protocolVersion','defineProperty','method','setNoDelay','_generateMask','client_no_context_takeover','_closeCode','server_max_window_bits','accept','socketPath','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','byteLength','acceptAsServer','kListener','Blob','prototype','listening','password','getBlobData','port','abort','_mask','haveLength','pong','clientTracking','COLLABORATION_CLIENT_NODE_CONFIG_KEY','WebSocket','dispose','flush','writeHead','CollaborationSocketService','alloc','_fragments','origin','maskBuffer','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','upgrade','data','getConfig','arraybuffer','_compressed','unshift','ping','isValidUTF8','pipe','onclose','getMask','zlibDeflateOptions','ws:','Invalid\x20Sec-WebSocket-Extensions\x20header','status-code','offer','emitClose','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','Invalid\x20HTTP\x20method','9588906SysInW','Invalid\x20URL:\x20','getInfo','_masked','dataMessage','customHeaders','sha1','_bufferedBytes','_registerDependencies','authorization','readUInt16BE','create','_fragmented','_errorEmitted','readable','concurrencyLimit','_configService','NodeCollaborationSocketService','once','terminate','_binaryType','toLowerCase','connection','Maximum\x20redirects\x20exceeded','shouldHandle','_readableState','_originalSecure','value','completeUpgrade','_state','unmask','startLoop','byteOffset','jobs','listeners','compress','mask','_no_context_takeover','_receiver','frame','isView','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','from','maxPayload','code','Invalid\x20Sec-WebSocket-Accept\x20header','WS_ERR_INVALID_OPCODE','crypto','8400456lBQVfd','createSocket','readyState','Connection:\x20Upgrade','zlib','encrypted','conclude','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','client_max_window_bits','default','rxjs','warn','add','allowSynchronousEvents','_allowSynchronousEvents','sec-websocket-protocol','connect','getOwnPropertyDescriptor','_compress','controlMessage','\x0d\x0a\x0d\x0a','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','env','Invalid\x20Upgrade\x20header','nodebuffer','parse','_bufferedAmount','_decompress','_closeFrameSent','clients','registerHTTPInterceptor','buffer','captureStackTrace','_maxPayload','Module','\x22\x20must\x20have\x20only\x20a\x20single\x20value','headers','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','35441SumLDf','CLOSING','_url','_req','find','followRedirects','isServer','finish','socket','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','5068060IuHxWu','_paused','Unexpected\x20server\x20response:\x20','end','indexOf','UniverCollaborationClientNodePlugin','construct','slice','opcode','_injector','getPayloadLength16','has','Z_DEFAULT_WINDOWBITS','read','address'];_0x35ce=function(){return _0x28f60d;};return _0x35ce();}function Ft(){const _0x4e441d=_0x371bb4;if(rt)return Te;rt=0x1;const _0x1f2869=nt,_0x50ef59=ot,{Duplex:_0x14f54}=oe,{createHash:_0x2249c1}=Le,_0x515898=ct(),_0x19f948=he(),_0x2a8060=At(),_0x40e5cf=Pe(),{GUID:_0x24c784,kWebSocket:_0x1e0243}=H(),_0x31d53a=/^[+/0-9A-Za-z]{22}==$/,_0xf55257=0x0,_0x596dcc=0x1,_0x4ec3d8=0x2;class _0x46f2f4 extends _0x1f2869{constructor(_0x1be88c,_0x2b34f0){const _0x4839cc=_0x13d2;if(super(),_0x1be88c={'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':_0x40e5cf,..._0x1be88c},_0x1be88c[_0x4839cc(0x196)]==null&&!_0x1be88c[_0x4839cc(0x2cf)]&&!_0x1be88c['noServer']||_0x1be88c[_0x4839cc(0x196)]!=null&&(_0x1be88c[_0x4839cc(0x2cf)]||_0x1be88c[_0x4839cc(0x242)])||_0x1be88c['server']&&_0x1be88c[_0x4839cc(0x242)])throw new TypeError(_0x4839cc(0x168));if(_0x1be88c[_0x4839cc(0x196)]!=null?(this[_0x4839cc(0x253)]=_0x50ef59['createServer']((_0x323794,_0x335cdf)=>{const _0x2bdd27=_0x4839cc,_0x3319bc=_0x50ef59[_0x2bdd27(0x325)][0x1aa];_0x335cdf[_0x2bdd27(0x1a0)](0x1aa,{'Content-Length':_0x3319bc['length'],'Content-Type':_0x2bdd27(0x30b)}),_0x335cdf[_0x2bdd27(0x21d)](_0x3319bc);}),this[_0x4839cc(0x253)][_0x4839cc(0x17f)](_0x1be88c[_0x4839cc(0x196)],_0x1be88c[_0x4839cc(0x256)],_0x1be88c[_0x4839cc(0x293)],_0x2b34f0)):_0x1be88c[_0x4839cc(0x2cf)]&&(this[_0x4839cc(0x253)]=_0x1be88c['server']),this[_0x4839cc(0x253)]){const _0x3f1f37=this[_0x4839cc(0x25b)][_0x4839cc(0x2ba)](this,_0x4839cc(0x1d0));this[_0x4839cc(0x162)]=_0x2e8887(this['_server'],{'listening':this[_0x4839cc(0x25b)][_0x4839cc(0x2ba)](this,_0x4839cc(0x193)),'error':this[_0x4839cc(0x25b)][_0x4839cc(0x2ba)](this,_0x4839cc(0x27f)),'upgrade':(_0x39cd02,_0x15786d,_0x2d4e73)=>{this['handleUpgrade'](_0x39cd02,_0x15786d,_0x2d4e73,_0x3f1f37);}});}_0x1be88c[_0x4839cc(0x2bd)]===!0x0&&(_0x1be88c[_0x4839cc(0x2bd)]={}),_0x1be88c[_0x4839cc(0x19b)]&&(this['clients']=new Set(),this[_0x4839cc(0x2d0)]=!0x1),this[_0x4839cc(0x25c)]=_0x1be88c,this[_0x4839cc(0x1d7)]=_0xf55257;}[_0x4e441d(0x228)](){const _0x3844ea=_0x4e441d;if(this[_0x3844ea(0x25c)]['noServer'])throw new Error(_0x3844ea(0x1ff));return this['_server']?this[_0x3844ea(0x253)]['address']():null;}[_0x4e441d(0x17e)](_0x6cac9d){const _0x3ab361=_0x4e441d;if(this['_state']===_0x4ec3d8){_0x6cac9d&&this[_0x3ab361(0x1cc)](_0x3ab361(0x17e),()=>{const _0x5963ec=_0x3ab361;_0x6cac9d(new Error(_0x5963ec(0x32a)));}),process[_0x3ab361(0x231)](_0x150f4c,this);return;}if(_0x6cac9d&&this[_0x3ab361(0x1cc)](_0x3ab361(0x17e),_0x6cac9d),this[_0x3ab361(0x1d7)]!==_0x596dcc){if(this[_0x3ab361(0x1d7)]=_0x596dcc,this['options']['noServer']||this[_0x3ab361(0x25c)][_0x3ab361(0x2cf)])this['_server']&&(this[_0x3ab361(0x162)](),this['_removeListeners']=this['_server']=null),this[_0x3ab361(0x207)]?this['clients'][_0x3ab361(0x179)]?this[_0x3ab361(0x2d0)]=!0x0:process[_0x3ab361(0x231)](_0x150f4c,this):process[_0x3ab361(0x231)](_0x150f4c,this);else{const _0x172647=this[_0x3ab361(0x253)];this[_0x3ab361(0x162)](),this[_0x3ab361(0x162)]=this[_0x3ab361(0x253)]=null,_0x172647[_0x3ab361(0x17e)](()=>{_0x150f4c(this);});}}}[_0x4e441d(0x1d2)](_0x43b6dd){const _0x29012e=_0x4e441d;if(this['options'][_0x29012e(0x2a9)]){const _0x1df803=_0x43b6dd[_0x29012e(0x301)][_0x29012e(0x21e)]('?');if((_0x1df803!==-0x1?_0x43b6dd['url'][_0x29012e(0x221)](0x0,_0x1df803):_0x43b6dd['url'])!==this[_0x29012e(0x25c)][_0x29012e(0x2a9)])return!0x1;}return!0x0;}[_0x4e441d(0x266)](_0x5e0275,_0x540d2a,_0x1c618f,_0x26e75d){const _0x38d67e=_0x4e441d;_0x540d2a['on']('error',_0x4480f5);const _0x15498d=_0x5e0275[_0x38d67e(0x20e)][_0x38d67e(0x32b)],_0x30976c=_0x5e0275[_0x38d67e(0x20e)][_0x38d67e(0x1a7)],_0x31456a=+_0x5e0275[_0x38d67e(0x20e)][_0x38d67e(0x16e)];if(_0x5e0275[_0x38d67e(0x185)]!==_0x38d67e(0x328)){_0x337444(this,_0x5e0275,_0x540d2a,0x195,_0x38d67e(0x1b9));return;}if(_0x30976c===void 0x0||_0x30976c[_0x38d67e(0x1cf)]()!==_0x38d67e(0x167)){_0x337444(this,_0x5e0275,_0x540d2a,0x190,_0x38d67e(0x201));return;}if(_0x15498d===void 0x0||!_0x31d53a['test'](_0x15498d)){_0x337444(this,_0x5e0275,_0x540d2a,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x31456a!==0x8&&_0x31456a!==0xd){_0x337444(this,_0x5e0275,_0x540d2a,0x190,_0x38d67e(0x2bf));return;}if(!this['shouldHandle'](_0x5e0275)){_0x4857a8(_0x540d2a,0x190);return;}const _0x366209=_0x5e0275['headers'][_0x38d67e(0x1f9)];let _0x34f2da=new Set();if(_0x366209!==void 0x0)try{_0x34f2da=_0x2a8060['parse'](_0x366209);}catch{_0x337444(this,_0x5e0275,_0x540d2a,0x190,_0x38d67e(0x319));return;}const _0x38b0b0=_0x5e0275['headers'][_0x38d67e(0x181)],_0x5509a5={};if(this[_0x38d67e(0x25c)][_0x38d67e(0x2bd)]&&_0x38b0b0!==void 0x0){const _0x3f433a=new _0x19f948(this['options'][_0x38d67e(0x2bd)],!0x0,this[_0x38d67e(0x25c)][_0x38d67e(0x1e5)]);try{const _0x1b116f=_0x515898[_0x38d67e(0x203)](_0x38b0b0);_0x1b116f[_0x19f948[_0x38d67e(0x180)]]&&(_0x3f433a['accept'](_0x1b116f[_0x19f948['extensionName']]),_0x5509a5[_0x19f948['extensionName']]=_0x3f433a);}catch{_0x337444(this,_0x5e0275,_0x540d2a,0x190,_0x38d67e(0x286));return;}}if(this[_0x38d67e(0x25c)][_0x38d67e(0x298)]){const _0x1890e8={'origin':_0x5e0275[_0x38d67e(0x20e)][''+(_0x31456a===0x8?_0x38d67e(0x28c):_0x38d67e(0x1a4))],'secure':!!(_0x5e0275[_0x38d67e(0x218)]['authorized']||_0x5e0275['socket'][_0x38d67e(0x1ef)]),'req':_0x5e0275};if(this[_0x38d67e(0x25c)]['verifyClient']['length']===0x2){this[_0x38d67e(0x25c)][_0x38d67e(0x298)](_0x1890e8,(_0x1b91d0,_0xf05fc2,_0x26ad18,_0x539012)=>{const _0x51162e=_0x38d67e;if(!_0x1b91d0)return _0x4857a8(_0x540d2a,_0xf05fc2||0x191,_0x26ad18,_0x539012);this[_0x51162e(0x1d6)](_0x5509a5,_0x15498d,_0x34f2da,_0x5e0275,_0x540d2a,_0x1c618f,_0x26e75d);});return;}if(!this[_0x38d67e(0x25c)]['verifyClient'](_0x1890e8))return _0x4857a8(_0x540d2a,0x191);}this[_0x38d67e(0x1d6)](_0x5509a5,_0x15498d,_0x34f2da,_0x5e0275,_0x540d2a,_0x1c618f,_0x26e75d);}['completeUpgrade'](_0x5c3cc6,_0x387029,_0x73363f,_0x2ccb44,_0x15cfbe,_0x495c76,_0xa00d75){const _0x1c2d56=_0x4e441d;if(!_0x15cfbe[_0x1c2d56(0x1c8)]||!_0x15cfbe['writable'])return _0x15cfbe[_0x1c2d56(0x16a)]();if(_0x15cfbe[_0x1e0243])throw new Error(_0x1c2d56(0x2e9));if(this['_state']>_0xf55257)return _0x4857a8(_0x15cfbe,0x1f7);const _0x4a71e6=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x1c2d56(0x22a),_0x1c2d56(0x1ed),_0x1c2d56(0x15d)+_0x2249c1(_0x1c2d56(0x1c0))['update'](_0x387029+_0x24c784)[_0x1c2d56(0x251)](_0x1c2d56(0x314))],_0x39b09d=new this['options'][(_0x1c2d56(0x19d))](null,void 0x0,this[_0x1c2d56(0x25c)]);if(_0x73363f[_0x1c2d56(0x179)]){const _0xa414c7=this[_0x1c2d56(0x25c)][_0x1c2d56(0x2ee)]?this[_0x1c2d56(0x25c)][_0x1c2d56(0x2ee)](_0x73363f,_0x2ccb44):_0x73363f['values']()[_0x1c2d56(0x280)]()[_0x1c2d56(0x1d5)];_0xa414c7&&(_0x4a71e6[_0x1c2d56(0x2c3)](_0x1c2d56(0x31b)+_0xa414c7),_0x39b09d[_0x1c2d56(0x299)]=_0xa414c7);}if(_0x5c3cc6[_0x19f948[_0x1c2d56(0x180)]]){const _0x59a996=_0x5c3cc6[_0x19f948[_0x1c2d56(0x180)]]['params'],_0x1cb506=_0x515898[_0x1c2d56(0x295)]({[_0x19f948[_0x1c2d56(0x180)]]:[_0x59a996]});_0x4a71e6[_0x1c2d56(0x2c3)](_0x1c2d56(0x29d)+_0x1cb506),_0x39b09d[_0x1c2d56(0x27e)]=_0x5c3cc6;}this[_0x1c2d56(0x25b)](_0x1c2d56(0x20e),_0x4a71e6,_0x2ccb44),_0x15cfbe[_0x1c2d56(0x26c)](_0x4a71e6['concat']('\x0d\x0a')[_0x1c2d56(0x2e1)]('\x0d\x0a')),_0x15cfbe[_0x1c2d56(0x2df)](_0x1c2d56(0x27f),_0x4480f5),_0x39b09d[_0x1c2d56(0x2e4)](_0x15cfbe,_0x495c76,{'allowSynchronousEvents':this['options'][_0x1c2d56(0x1f7)],'maxPayload':this['options'][_0x1c2d56(0x1e5)],'skipUTF8Validation':this[_0x1c2d56(0x25c)][_0x1c2d56(0x2f2)]}),this[_0x1c2d56(0x207)]&&(this['clients']['add'](_0x39b09d),_0x39b09d['on'](_0x1c2d56(0x17e),()=>{const _0xa380c1=_0x1c2d56;this[_0xa380c1(0x207)][_0xa380c1(0x31e)](_0x39b09d),this[_0xa380c1(0x2d0)]&&!this[_0xa380c1(0x207)][_0xa380c1(0x179)]&&process[_0xa380c1(0x231)](_0x150f4c,this);})),_0xa00d75(_0x39b09d,_0x2ccb44);}}Te=_0x46f2f4;function _0x2e8887(_0x27f067,_0x3ce5e3){const _0x532d69=_0x4e441d;for(const _0x277108 of Object[_0x532d69(0x2c1)](_0x3ce5e3))_0x27f067['on'](_0x277108,_0x3ce5e3[_0x277108]);return function(){const _0x35e67e=_0x532d69;for(const _0x340be2 of Object[_0x35e67e(0x2c1)](_0x3ce5e3))_0x27f067[_0x35e67e(0x2df)](_0x340be2,_0x3ce5e3[_0x340be2]);};}function _0x150f4c(_0x3cee70){const _0x20d88a=_0x4e441d;_0x3cee70['_state']=_0x4ec3d8,_0x3cee70[_0x20d88a(0x25b)](_0x20d88a(0x17e));}function _0x4480f5(){const _0x87e7bf=_0x4e441d;this[_0x87e7bf(0x16a)]();}function _0x4857a8(_0x39421b,_0x22e23d,_0x2a4e6e,_0x33f0b1){const _0x5e0cab=_0x4e441d;_0x2a4e6e=_0x2a4e6e||_0x50ef59[_0x5e0cab(0x325)][_0x22e23d],_0x33f0b1={'Connection':_0x5e0cab(0x17e),'Content-Type':'text/html','Content-Length':Buffer['byteLength'](_0x2a4e6e),..._0x33f0b1},_0x39421b[_0x5e0cab(0x1cc)](_0x5e0cab(0x217),_0x39421b[_0x5e0cab(0x16a)]),_0x39421b[_0x5e0cab(0x21d)]('HTTP/1.1\x20'+_0x22e23d+'\x20'+_0x50ef59[_0x5e0cab(0x325)][_0x22e23d]+'\x0d\x0a'+Object[_0x5e0cab(0x2c1)](_0x33f0b1)[_0x5e0cab(0x274)](_0x2012c9=>_0x2012c9+':\x20'+_0x33f0b1[_0x2012c9])[_0x5e0cab(0x2e1)]('\x0d\x0a')+_0x5e0cab(0x1fe)+_0x2a4e6e);}function _0x337444(_0x415b7a,_0x3e6278,_0x1f17c3,_0x6c21a3,_0x39358f){const _0x4ecdd0=_0x4e441d;if(_0x415b7a[_0x4ecdd0(0x297)]('wsClientError')){const _0xa17970=new Error(_0x39358f);Error[_0x4ecdd0(0x20a)](_0xa17970,_0x337444),_0x415b7a[_0x4ecdd0(0x25b)](_0x4ecdd0(0x23b),_0xa17970,_0x1f17c3,_0x3e6278);}else _0x4857a8(_0x1f17c3,_0x6c21a3,_0x39358f);}return Te;}Ft();var jt=Object[_0x371bb4(0x1fb)],Wt=(_0x367258,_0x536798,_0x3de576,_0x3fcfcc)=>{const _0x9e3957=_0x371bb4;for(var _0x41b284=_0x3fcfcc>0x1?void 0x0:_0x3fcfcc?jt(_0x536798,_0x3de576):_0x536798,_0x377256=_0x367258[_0x9e3957(0x178)]-0x1,_0x44cb11;_0x377256>=0x0;_0x377256--)(_0x44cb11=_0x367258[_0x377256])&&(_0x41b284=_0x44cb11(_0x41b284)||_0x41b284);return _0x41b284;},qt=(_0x8f132f,_0xa7b409)=>(_0x12b756,_0x13d294)=>_0xa7b409(_0x12b756,_0x13d294,_0x8f132f);let ke=class extends A['Disposable']{constructor(_0x213152){const _0x4bc8dc=_0x371bb4;super(),this[_0x4bc8dc(0x1ca)]=_0x213152;}[_0x371bb4(0x1eb)](_0x336d28){const _0x3ab9e6=_0x371bb4;var _0x574e19;const _0x510193=(_0x574e19=this['_configService'][_0x3ab9e6(0x1a9)](fe))==null?void 0x0:_0x574e19[_0x3ab9e6(0x1bf)];try{const _0x34f871=new $t(_0x336d28,{'headers':{..._0x510193}}),_0x5a9c6c=new A[(_0x3ab9e6(0x175))]();return{'URL':_0x336d28,'close':(_0x3f5091,_0x30c1b3)=>{const _0x23412b=_0x3ab9e6;_0x34f871[_0x23412b(0x17e)](_0x3f5091,_0x30c1b3),_0x5a9c6c[_0x23412b(0x19e)]();},'send':_0x2e117a=>{const _0x3fd4d0=_0x3ab9e6;_0x34f871[_0x3fd4d0(0x2b6)](_0x2e117a);},'open$':new V[(_0x3ab9e6(0x2fd))](_0x82d2df=>{const _0x4f515f=_0x3ab9e6,_0x59cdcb=_0x2aa60c=>_0x82d2df[_0x4f515f(0x280)](_0x2aa60c);_0x34f871['addEventListener'](_0x4f515f(0x270),_0x59cdcb),_0x5a9c6c['add'](A[_0x4f515f(0x2f5)](()=>_0x34f871[_0x4f515f(0x2b5)](_0x4f515f(0x270),_0x59cdcb)));})[_0x3ab9e6(0x1af)](V['share']()),'close$':new V[(_0x3ab9e6(0x2fd))](_0x27932f=>{const _0xa41572=_0x3ab9e6,_0x560964=_0x846791=>_0x27932f[_0xa41572(0x280)](_0x846791);_0x34f871[_0xa41572(0x257)]('close',_0x560964),_0x5a9c6c[_0xa41572(0x1f6)](A['toDisposable'](()=>_0x34f871['removeEventListener'](_0xa41572(0x17e),_0x560964)));})[_0x3ab9e6(0x1af)](V['share']()),'error$':new V['Observable'](_0xac9f0d=>{const _0x158427=_0x3ab9e6,_0x3e57ac=_0x1fbf16=>_0xac9f0d[_0x158427(0x280)](_0x1fbf16);_0x34f871[_0x158427(0x257)](_0x158427(0x27f),_0x3e57ac),_0x5a9c6c[_0x158427(0x1f6)](A[_0x158427(0x2f5)](()=>_0x34f871[_0x158427(0x2b5)](_0x158427(0x27f),_0x3e57ac)));})[_0x3ab9e6(0x1af)](V[_0x3ab9e6(0x315)]()),'message$':new V['Observable'](_0x4c1b0e=>{const _0x1fd73c=_0x3ab9e6,_0x271a81=_0x397861=>_0x4c1b0e[_0x1fd73c(0x280)](_0x397861);_0x34f871['addEventListener'](_0x1fd73c(0x2a2),_0x271a81),_0x5a9c6c[_0x1fd73c(0x1f6)](A['toDisposable'](()=>_0x34f871[_0x1fd73c(0x2b5)](_0x1fd73c(0x2a2),_0x271a81)));})[_0x3ab9e6(0x1af)](V[_0x3ab9e6(0x315)]())};}catch(_0x322813){return console[_0x3ab9e6(0x27f)](_0x322813),null;}}};ke=Wt([qt(0x0,A[_0x371bb4(0x2d6)])],ke);var Gt=Object[_0x371bb4(0x184)],Vt=Object[_0x371bb4(0x1fb)],Ht=(_0x2711fa,_0x64548a,_0x4dab6a)=>_0x64548a in _0x2711fa?Gt(_0x2711fa,_0x64548a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4dab6a}):_0x2711fa[_0x64548a]=_0x4dab6a,zt=(_0x2782a4,_0x1e8062,_0x4f503a,_0x45f114)=>{for(var _0x4dae80=_0x45f114>0x1?void 0x0:_0x45f114?Vt(_0x1e8062,_0x4f503a):_0x1e8062,_0x29b8f0=_0x2782a4['length']-0x1,_0x15e4b0;_0x29b8f0>=0x0;_0x29b8f0--)(_0x15e4b0=_0x2782a4[_0x29b8f0])&&(_0x4dae80=_0x15e4b0(_0x4dae80)||_0x4dae80);return _0x4dae80;},Ne=(_0x30b610,_0x130952)=>(_0x4fcc55,_0x13a0a3)=>_0x130952(_0x4fcc55,_0x13a0a3,_0x30b610),Yt=(_0x2fa9a8,_0x5619fd,_0x59d2c9)=>Ht(_0x2fa9a8,_0x5619fd+'',_0x59d2c9);exports[_0x371bb4(0x21f)]=class extends A[_0x371bb4(0x24b)]{constructor(_0x3d50f1=Ct,_0x51257c,_0xec067e,_0x42dd0e){const _0x2332b3=_0x371bb4;_0x3d50f1[_0x2332b3(0x1bf)]||_0x51257c[_0x2332b3(0x1f5)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this['_configService']=_0xec067e,this[_0x2332b3(0x223)]=_0x42dd0e,this[_0x2332b3(0x1ca)]['setConfig'](fe,_0x3d50f1);}['onStarting'](){const _0xd98ea1=_0x371bb4;this[_0xd98ea1(0x1c2)]();}[_0x371bb4(0x1c2)](){const _0x37f8fd=_0x371bb4;A[_0x37f8fd(0x2ef)](this[_0x37f8fd(0x223)],[[it[_0x37f8fd(0x16b)],{'useClass':ke}]]);}},Yt(exports[_0x371bb4(0x21f)],_0x371bb4(0x31f),_0x371bb4(0x30f)),exports[_0x371bb4(0x21f)]=zt([A[_0x371bb4(0x259)](st[_0x371bb4(0x2e2)]),Ne(0x1,A[_0x371bb4(0x2f6)]),Ne(0x2,A['IConfigService']),Ne(0x3,A['Inject'](A[_0x371bb4(0x311)]))],exports[_0x371bb4(0x21f)]);var Kt=Object[_0x371bb4(0x1fb)],Xt=(_0x108c74,_0x340bc7,_0x5c3664,_0x34ecb5)=>{const _0x14ee57=_0x371bb4;for(var _0x311087=_0x34ecb5>0x1?void 0x0:_0x34ecb5?Kt(_0x340bc7,_0x5c3664):_0x340bc7,_0x567a0d=_0x108c74[_0x14ee57(0x178)]-0x1,_0xa67d6b;_0x567a0d>=0x0;_0x567a0d--)(_0xa67d6b=_0x108c74[_0x567a0d])&&(_0x311087=_0xa67d6b(_0x311087)||_0x311087);return _0x311087;},ne=(_0x293b42,_0x149f4c)=>(_0x5e25ec,_0x3f347e)=>_0x149f4c(_0x5e25ec,_0x3f347e,_0x293b42);exports[_0x371bb4(0x1cb)]=class extends st[_0x371bb4(0x1a1)]{constructor(_0x3614dc,_0x50c114,_0xad2db7,_0x9963c6,_0x153dac){const _0x13c510=_0x371bb4;super(_0x3614dc,_0x50c114,_0xad2db7,_0x9963c6,_0x153dac);const _0x3d6ac2=this[_0x13c510(0x1ca)][_0x13c510(0x1a9)](fe);this[_0x13c510(0x2c4)][_0x13c510(0x208)]({'interceptor':(_0x7c7353,_0x19e5e3)=>{const _0x2a0939=_0x13c510;var _0x12ad5b;const _0x26c4eb=_0x7c7353[_0x2a0939(0x20e)];return(_0x12ad5b=_0x3d6ac2==null?void 0x0:_0x3d6ac2['customHeaders'])!=null&&_0x12ad5b[_0x2a0939(0x2ca)]&&_0x26c4eb[_0x2a0939(0x22f)](_0x2a0939(0x316),_0x3d6ac2[_0x2a0939(0x1bf)]['cookie']),_0x19e5e3(_0x7c7353);}});}async[_0x371bb4(0x1eb)](_0x587b6d){const _0x1f4072=_0x371bb4;return this[_0x1f4072(0x2ce)](_0x587b6d);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A[_0x371bb4(0x273)](A[_0x371bb4(0x311)])),ne(0x1,A[_0x371bb4(0x273)](it[_0x371bb4(0x32d)])),ne(0x2,A[_0x371bb4(0x2d6)]),ne(0x3,A['ILogService']),ne(0x4,Ot[_0x371bb4(0x2cc)])],exports[_0x371bb4(0x1cb)]),exports[_0x371bb4(0x19c)]=fe;
|
|
1
|
+
'use strict';const _0x3b8394=_0x401c;(function(_0x48a073,_0x18f12e){const _0x46644e=_0x401c,_0x494b09=_0x48a073();while(!![]){try{const _0xa096b2=parseInt(_0x46644e(0x16a))/0x1*(parseInt(_0x46644e(0x24b))/0x2)+-parseInt(_0x46644e(0x152))/0x3+-parseInt(_0x46644e(0xee))/0x4*(parseInt(_0x46644e(0x1f6))/0x5)+parseInt(_0x46644e(0x13d))/0x6*(parseInt(_0x46644e(0x19a))/0x7)+-parseInt(_0x46644e(0x17d))/0x8+parseInt(_0x46644e(0x223))/0x9+parseInt(_0x46644e(0x205))/0xa;if(_0xa096b2===_0x18f12e)break;else _0x494b09['push'](_0x494b09['shift']());}catch(_0x59a50b){_0x494b09['push'](_0x494b09['shift']());}}}(_0x5cb4,0x9dc86));Object[_0x3b8394(0x1e4)](exports,Symbol[_0x3b8394(0x1d1)],{'value':'Module'});const st=require(_0x3b8394(0x229)),A=require(_0x3b8394(0x1a3)),it=require(_0x3b8394(0x240)),V=require(_0x3b8394(0x283)),nt=require(_0x3b8394(0x188)),vt=require(_0x3b8394(0x208)),ot=require('http'),St=require(_0x3b8394(0x17f)),Et=require(_0x3b8394(0x235)),Le=require(_0x3b8394(0x21b)),oe=require(_0x3b8394(0xd5)),xt=require('url'),bt=require(_0x3b8394(0x110)),wt=require(_0x3b8394(0x1ac)),Ot=require(_0x3b8394(0x250)),fe=_0x3b8394(0x22a),Ct={'customHeaders':{}};function Tt(_0x697298){const _0x4e3d06=_0x3b8394;return _0x697298&&_0x697298['__esModule']&&Object['prototype']['hasOwnProperty'][_0x4e3d06(0xce)](_0x697298,'default')?_0x697298[_0x4e3d06(0x216)]:_0x697298;}function at(_0x266b72){const _0x54f292=_0x3b8394;if(Object[_0x54f292(0x22d)][_0x54f292(0x1cf)][_0x54f292(0xce)](_0x266b72,_0x54f292(0x1fc)))return _0x266b72;var _0x564b0c=_0x266b72[_0x54f292(0x216)];if(typeof _0x564b0c=='function'){var _0x6637b8=function _0xf9af70(){const _0x3932c1=_0x54f292;return this instanceof _0xf9af70?Reflect[_0x3932c1(0xc9)](_0x564b0c,arguments,this[_0x3932c1(0x267)]):_0x564b0c[_0x3932c1(0x28c)](this,arguments);};_0x6637b8['prototype']=_0x564b0c['prototype'];}else _0x6637b8={};return Object[_0x54f292(0x1e4)](_0x6637b8,_0x54f292(0x1fc),{'value':!0x0}),Object[_0x54f292(0x1f1)](_0x266b72)[_0x54f292(0x197)](function(_0x4c2d4f){const _0x33e60e=_0x54f292;var _0xdb6391=Object[_0x33e60e(0xf3)](_0x266b72,_0x4c2d4f);Object[_0x33e60e(0x1e4)](_0x6637b8,_0x4c2d4f,_0xdb6391['get']?_0xdb6391:{'enumerable':!0x0,'get':function(){return _0x266b72[_0x4c2d4f];}});}),_0x6637b8;}var se={'exports':{}},ge,Ge;function H(){const _0x5161df=_0x3b8394;if(Ge)return ge;Ge=0x1;const _0xf18caf=[_0x5161df(0x211),_0x5161df(0x202),_0x5161df(0x1c3)],_0xe34a5d=typeof Blob<'u';return _0xe34a5d&&_0xf18caf['push']('blob'),ge={'BINARY_TYPES':_0xf18caf,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x5161df(0x263),'hasBlob':_0xe34a5d,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x5161df(0x1d7)),'kStatusCode':Symbol(_0x5161df(0x219)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x3b8394(0x1b3)](Object[_0x3b8394(0x1e4)]({'__proto__':null,'default':Nt},Symbol[_0x3b8394(0x1d1)],{'value':_0x3b8394(0x206)})),Lt=at(kt);var Ve;function _0x401c(_0x14632e,_0x2beee1){const _0x5cb450=_0x5cb4();return _0x401c=function(_0x401c03,_0x572552){_0x401c03=_0x401c03-0xc5;let _0x4d549d=_0x5cb450[_0x401c03];return _0x4d549d;},_0x401c(_0x14632e,_0x2beee1);}function ce(){const _0x287583=_0x3b8394;if(Ve)return se[_0x287583(0x1df)];Ve=0x1;const {EMPTY_BUFFER:_0x4e780d}=H(),_0xe56b8b=Buffer[Symbol[_0x287583(0x1c8)]];function _0x446678(_0x1d8ba6,_0x5e378e){const _0x1b4280=_0x287583;if(_0x1d8ba6[_0x1b4280(0xcb)]===0x0)return _0x4e780d;if(_0x1d8ba6[_0x1b4280(0xcb)]===0x1)return _0x1d8ba6[0x0];const _0x315544=Buffer[_0x1b4280(0x1d5)](_0x5e378e);let _0x11da17=0x0;for(let _0x17d6ba=0x0;_0x17d6ba<_0x1d8ba6[_0x1b4280(0xcb)];_0x17d6ba++){const _0x5dac97=_0x1d8ba6[_0x17d6ba];_0x315544[_0x1b4280(0x252)](_0x5dac97,_0x11da17),_0x11da17+=_0x5dac97['length'];}return _0x11da17<_0x5e378e?new _0xe56b8b(_0x315544[_0x1b4280(0x1ac)],_0x315544[_0x1b4280(0xdd)],_0x11da17):_0x315544;}function _0x4b9127(_0x242494,_0x17cb1e,_0x118841,_0x211e87,_0x415320){for(let _0x393e02=0x0;_0x393e02<_0x415320;_0x393e02++)_0x118841[_0x211e87+_0x393e02]=_0x242494[_0x393e02]^_0x17cb1e[_0x393e02&0x3];}function _0x439583(_0x545519,_0x33529a){const _0x3aae38=_0x287583;for(let _0x2e03a3=0x0;_0x2e03a3<_0x545519[_0x3aae38(0xcb)];_0x2e03a3++)_0x545519[_0x2e03a3]^=_0x33529a[_0x2e03a3&0x3];}function _0x3bd8f8(_0x4e1e14){const _0x5d328b=_0x287583;return _0x4e1e14[_0x5d328b(0xcb)]===_0x4e1e14[_0x5d328b(0x1ac)][_0x5d328b(0x1a5)]?_0x4e1e14['buffer']:_0x4e1e14['buffer'][_0x5d328b(0x271)](_0x4e1e14[_0x5d328b(0xdd)],_0x4e1e14[_0x5d328b(0xdd)]+_0x4e1e14['length']);}function _0x2a9a61(_0x5c4299){const _0x370452=_0x287583;if(_0x2a9a61[_0x370452(0x26a)]=!0x0,Buffer[_0x370452(0x26c)](_0x5c4299))return _0x5c4299;let _0x4cc453;return _0x5c4299 instanceof ArrayBuffer?_0x4cc453=new _0xe56b8b(_0x5c4299):ArrayBuffer[_0x370452(0x292)](_0x5c4299)?_0x4cc453=new _0xe56b8b(_0x5c4299[_0x370452(0x1ac)],_0x5c4299[_0x370452(0xdd)],_0x5c4299[_0x370452(0x1a5)]):(_0x4cc453=Buffer[_0x370452(0x1b5)](_0x5c4299),_0x2a9a61[_0x370452(0x26a)]=!0x1),_0x4cc453;}if(se[_0x287583(0x1df)]={'concat':_0x446678,'mask':_0x4b9127,'toArrayBuffer':_0x3bd8f8,'toBuffer':_0x2a9a61,'unmask':_0x439583},!process['env'][_0x287583(0x112)])try{const _0x4bb33e=Lt;se[_0x287583(0x1df)]['mask']=function(_0xea8dd1,_0x372785,_0x22a072,_0x4b1d66,_0x1771d2){const _0x7dbcaf=_0x287583;_0x1771d2<0x30?_0x4b9127(_0xea8dd1,_0x372785,_0x22a072,_0x4b1d66,_0x1771d2):_0x4bb33e[_0x7dbcaf(0x282)](_0xea8dd1,_0x372785,_0x22a072,_0x4b1d66,_0x1771d2);},se['exports'][_0x287583(0x1db)]=function(_0x46df5a,_0x42906f){const _0x28fce9=_0x287583;_0x46df5a['length']<0x20?_0x439583(_0x46df5a,_0x42906f):_0x4bb33e[_0x28fce9(0x1db)](_0x46df5a,_0x42906f);};}catch{}return se[_0x287583(0x1df)];}var ye,He;function Pt(){const _0x53512f=_0x3b8394;if(He)return ye;He=0x1;const _0xf74e17=Symbol(_0x53512f(0x10e)),_0x1aef7f=Symbol(_0x53512f(0x291));class _0x1b1f61{constructor(_0x242317){const _0x4ab2c4=_0x53512f;this[_0xf74e17]=()=>{const _0xbdfd0e=_0x401c;this[_0xbdfd0e(0x147)]--,this[_0x1aef7f]();},this[_0x4ab2c4(0x15c)]=_0x242317||0x1/0x0,this[_0x4ab2c4(0x1bf)]=[],this[_0x4ab2c4(0x147)]=0x0;}['add'](_0x2655e1){const _0x271cf4=_0x53512f;this[_0x271cf4(0x1bf)][_0x271cf4(0x12f)](_0x2655e1),this[_0x1aef7f]();}[_0x1aef7f](){const _0xcacd83=_0x53512f;if(this[_0xcacd83(0x147)]!==this[_0xcacd83(0x15c)]&&this[_0xcacd83(0x1bf)][_0xcacd83(0xcb)]){const _0x26370e=this[_0xcacd83(0x1bf)]['shift']();this[_0xcacd83(0x147)]++,_0x26370e(this[_0xf74e17]);}}}return ye=_0x1b1f61,ye;}var ve,ze;function he(){const _0x28d558=_0x3b8394;if(ze)return ve;ze=0x1;const _0x3e4b7a=bt,_0x3deefa=ce(),_0x222483=Pt(),{kStatusCode:_0x1f3597}=H(),_0x5b4f2f=Buffer[Symbol[_0x28d558(0x1c8)]],_0x1591c4=Buffer[_0x28d558(0x1b5)]([0x0,0x0,0xff,0xff]),_0x4d122f=Symbol(_0x28d558(0x135)),_0x4e9d89=Symbol(_0x28d558(0x17a)),_0xd33647=Symbol('callback'),_0x2aeb46=Symbol(_0x28d558(0x1d3)),_0x18b67b=Symbol('error');let _0x10f313;class _0x57db21{constructor(_0x5bb295,_0x4cddb2,_0x3ecb41){const _0x4a6a08=_0x28d558;if(this[_0x4a6a08(0xef)]=_0x3ecb41|0x0,this[_0x4a6a08(0x1c1)]=_0x5bb295||{},this[_0x4a6a08(0x23c)]=this['_options'][_0x4a6a08(0x1fb)]!==void 0x0?this[_0x4a6a08(0x1c1)][_0x4a6a08(0x1fb)]:0x400,this[_0x4a6a08(0xfd)]=!!_0x4cddb2,this[_0x4a6a08(0x11a)]=null,this[_0x4a6a08(0x19d)]=null,this[_0x4a6a08(0x107)]=null,!_0x10f313){const _0x2941c9=this[_0x4a6a08(0x1c1)][_0x4a6a08(0x1a1)]!==void 0x0?this[_0x4a6a08(0x1c1)][_0x4a6a08(0x1a1)]:0xa;_0x10f313=new _0x222483(_0x2941c9);}}static get[_0x28d558(0x270)](){const _0x53496f=_0x28d558;return _0x53496f(0x135);}[_0x28d558(0x177)](){const _0xb5a2e2=_0x28d558,_0x48ecb2={};return this[_0xb5a2e2(0x1c1)][_0xb5a2e2(0x21a)]&&(_0x48ecb2[_0xb5a2e2(0x230)]=!0x0),this[_0xb5a2e2(0x1c1)][_0xb5a2e2(0xe9)]&&(_0x48ecb2[_0xb5a2e2(0x21f)]=!0x0),this['_options'][_0xb5a2e2(0x13a)]&&(_0x48ecb2[_0xb5a2e2(0x265)]=this['_options'][_0xb5a2e2(0x13a)]),this[_0xb5a2e2(0x1c1)][_0xb5a2e2(0x269)]?_0x48ecb2[_0xb5a2e2(0x16d)]=this[_0xb5a2e2(0x1c1)][_0xb5a2e2(0x269)]:this['_options']['clientMaxWindowBits']==null&&(_0x48ecb2[_0xb5a2e2(0x16d)]=!0x0),_0x48ecb2;}[_0x28d558(0x27c)](_0x359d3b){const _0x2ff52c=_0x28d558;return _0x359d3b=this[_0x2ff52c(0x119)](_0x359d3b),this['params']=this['_isServer']?this[_0x2ff52c(0x10b)](_0x359d3b):this[_0x2ff52c(0x25a)](_0x359d3b),this[_0x2ff52c(0x107)];}[_0x28d558(0xca)](){const _0x410dce=_0x28d558;if(this[_0x410dce(0x19d)]&&(this[_0x410dce(0x19d)]['close'](),this['_inflate']=null),this[_0x410dce(0x11a)]){const _0x12c69b=this[_0x410dce(0x11a)][_0xd33647];this[_0x410dce(0x11a)][_0x410dce(0x1dd)](),this['_deflate']=null,_0x12c69b&&_0x12c69b(new Error(_0x410dce(0x15b)));}}[_0x28d558(0x10b)](_0x326da1){const _0x5e5bd3=_0x28d558,_0x825960=this[_0x5e5bd3(0x1c1)],_0x813b5e=_0x326da1[_0x5e5bd3(0x1de)](_0x24aae1=>!(_0x825960[_0x5e5bd3(0x21a)]===!0x1&&_0x24aae1['server_no_context_takeover']||_0x24aae1[_0x5e5bd3(0x265)]&&(_0x825960[_0x5e5bd3(0x13a)]===!0x1||typeof _0x825960['serverMaxWindowBits']=='number'&&_0x825960[_0x5e5bd3(0x13a)]>_0x24aae1['server_max_window_bits'])||typeof _0x825960['clientMaxWindowBits']=='number'&&!_0x24aae1[_0x5e5bd3(0x16d)]));if(!_0x813b5e)throw new Error(_0x5e5bd3(0x198));return _0x825960[_0x5e5bd3(0x21a)]&&(_0x813b5e[_0x5e5bd3(0x230)]=!0x0),_0x825960[_0x5e5bd3(0xe9)]&&(_0x813b5e['client_no_context_takeover']=!0x0),typeof _0x825960[_0x5e5bd3(0x13a)]==_0x5e5bd3(0x1b6)&&(_0x813b5e[_0x5e5bd3(0x265)]=_0x825960[_0x5e5bd3(0x13a)]),typeof _0x825960[_0x5e5bd3(0x269)]==_0x5e5bd3(0x1b6)?_0x813b5e[_0x5e5bd3(0x16d)]=_0x825960[_0x5e5bd3(0x269)]:(_0x813b5e[_0x5e5bd3(0x16d)]===!0x0||_0x825960[_0x5e5bd3(0x269)]===!0x1)&&delete _0x813b5e[_0x5e5bd3(0x16d)],_0x813b5e;}[_0x28d558(0x25a)](_0xc36f1c){const _0xdafd1d=_0x28d558,_0x3ce465=_0xc36f1c[0x0];if(this[_0xdafd1d(0x1c1)]['clientNoContextTakeover']===!0x1&&_0x3ce465['client_no_context_takeover'])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x3ce465[_0xdafd1d(0x16d)])typeof this['_options'][_0xdafd1d(0x269)]==_0xdafd1d(0x1b6)&&(_0x3ce465['client_max_window_bits']=this[_0xdafd1d(0x1c1)][_0xdafd1d(0x269)]);else{if(this[_0xdafd1d(0x1c1)][_0xdafd1d(0x269)]===!0x1||typeof this[_0xdafd1d(0x1c1)][_0xdafd1d(0x269)]==_0xdafd1d(0x1b6)&&_0x3ce465['client_max_window_bits']>this[_0xdafd1d(0x1c1)][_0xdafd1d(0x269)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x3ce465;}['normalizeParams'](_0x14648a){return _0x14648a['forEach'](_0x1f961a=>{const _0x5f3e48=_0x401c;Object['keys'](_0x1f961a)[_0x5f3e48(0x197)](_0x104825=>{const _0x341f64=_0x5f3e48;let _0xa3c110=_0x1f961a[_0x104825];if(_0xa3c110[_0x341f64(0xcb)]>0x1)throw new Error(_0x341f64(0xff)+_0x104825+_0x341f64(0x24a));if(_0xa3c110=_0xa3c110[0x0],_0x104825===_0x341f64(0x16d)){if(_0xa3c110!==!0x0){const _0x158b0d=+_0xa3c110;if(!Number[_0x341f64(0x12c)](_0x158b0d)||_0x158b0d<0x8||_0x158b0d>0xf)throw new TypeError(_0x341f64(0x294)+_0x104825+_0x341f64(0xe4)+_0xa3c110);_0xa3c110=_0x158b0d;}else{if(!this[_0x341f64(0xfd)])throw new TypeError(_0x341f64(0x294)+_0x104825+'\x22:\x20'+_0xa3c110);}}else{if(_0x104825===_0x341f64(0x265)){const _0xead294=+_0xa3c110;if(!Number[_0x341f64(0x12c)](_0xead294)||_0xead294<0x8||_0xead294>0xf)throw new TypeError(_0x341f64(0x294)+_0x104825+_0x341f64(0xe4)+_0xa3c110);_0xa3c110=_0xead294;}else{if(_0x104825===_0x341f64(0x21f)||_0x104825===_0x341f64(0x230)){if(_0xa3c110!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x104825+'\x22:\x20'+_0xa3c110);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x104825+'\x22');}}_0x1f961a[_0x104825]=_0xa3c110;});}),_0x14648a;}[_0x28d558(0x275)](_0x110c2f,_0x4cc0b3,_0x29634f){_0x10f313['add'](_0x4b131d=>{const _0x5297a9=_0x401c;this[_0x5297a9(0x237)](_0x110c2f,_0x4cc0b3,(_0x32e66a,_0x17993e)=>{_0x4b131d(),_0x29634f(_0x32e66a,_0x17993e);});});}[_0x28d558(0x106)](_0x398edf,_0x2005c3,_0x426e1c){_0x10f313['add'](_0x4f1cba=>{const _0x3091f2=_0x401c;this[_0x3091f2(0x1f7)](_0x398edf,_0x2005c3,(_0x45da0d,_0xc07659)=>{_0x4f1cba(),_0x426e1c(_0x45da0d,_0xc07659);});});}['_decompress'](_0x528393,_0x2286d2,_0x598d1b){const _0x175282=_0x28d558,_0x29e919=this[_0x175282(0xfd)]?_0x175282(0x13b):_0x175282(0xd9);if(!this[_0x175282(0x19d)]){const _0x1c67ff=_0x29e919+'_max_window_bits',_0x41c37a=typeof this[_0x175282(0x107)][_0x1c67ff]!=_0x175282(0x1b6)?_0x3e4b7a[_0x175282(0xfc)]:this['params'][_0x1c67ff];this[_0x175282(0x19d)]=_0x3e4b7a[_0x175282(0xe5)]({...this[_0x175282(0x1c1)][_0x175282(0x1ee)],'windowBits':_0x41c37a}),this['_inflate'][_0x4d122f]=this,this[_0x175282(0x19d)][_0x4e9d89]=0x0,this['_inflate'][_0x2aeb46]=[],this[_0x175282(0x19d)]['on'](_0x175282(0x180),_0x1d03aa),this[_0x175282(0x19d)]['on']('data',_0x3dcb56);}this['_inflate'][_0xd33647]=_0x598d1b,this[_0x175282(0x19d)][_0x175282(0x1e7)](_0x528393),_0x2286d2&&this[_0x175282(0x19d)]['write'](_0x1591c4),this[_0x175282(0x19d)][_0x175282(0xf7)](()=>{const _0x154981=_0x175282,_0xf6b801=this['_inflate'][_0x18b67b];if(_0xf6b801){this[_0x154981(0x19d)]['close'](),this[_0x154981(0x19d)]=null,_0x598d1b(_0xf6b801);return;}const _0x12226a=_0x3deefa[_0x154981(0x1f5)](this[_0x154981(0x19d)][_0x2aeb46],this[_0x154981(0x19d)][_0x4e9d89]);this[_0x154981(0x19d)]['_readableState'][_0x154981(0x146)]?(this[_0x154981(0x19d)][_0x154981(0x1dd)](),this['_inflate']=null):(this[_0x154981(0x19d)][_0x4e9d89]=0x0,this['_inflate'][_0x2aeb46]=[],_0x2286d2&&this[_0x154981(0x107)][_0x29e919+_0x154981(0x104)]&&this[_0x154981(0x19d)][_0x154981(0x25b)]()),_0x598d1b(null,_0x12226a);});}[_0x28d558(0x1f7)](_0x22e7b4,_0x1ae226,_0x487d61){const _0x3d4bcb=_0x28d558,_0x23b989=this[_0x3d4bcb(0xfd)]?_0x3d4bcb(0xd9):_0x3d4bcb(0x13b);if(!this[_0x3d4bcb(0x11a)]){const _0x4971e3=_0x23b989+_0x3d4bcb(0x257),_0x188657=typeof this[_0x3d4bcb(0x107)][_0x4971e3]!=_0x3d4bcb(0x1b6)?_0x3e4b7a['Z_DEFAULT_WINDOWBITS']:this['params'][_0x4971e3];this['_deflate']=_0x3e4b7a[_0x3d4bcb(0x1c7)]({...this[_0x3d4bcb(0x1c1)][_0x3d4bcb(0x109)],'windowBits':_0x188657}),this[_0x3d4bcb(0x11a)][_0x4e9d89]=0x0,this[_0x3d4bcb(0x11a)][_0x2aeb46]=[],this[_0x3d4bcb(0x11a)]['on'](_0x3d4bcb(0x1ab),_0x127bc2);}this['_deflate'][_0xd33647]=_0x487d61,this[_0x3d4bcb(0x11a)][_0x3d4bcb(0x1e7)](_0x22e7b4),this[_0x3d4bcb(0x11a)][_0x3d4bcb(0xf7)](_0x3e4b7a[_0x3d4bcb(0x176)],()=>{const _0x2dfb22=_0x3d4bcb;if(!this[_0x2dfb22(0x11a)])return;let _0x565510=_0x3deefa['concat'](this[_0x2dfb22(0x11a)][_0x2aeb46],this['_deflate'][_0x4e9d89]);_0x1ae226&&(_0x565510=new _0x5b4f2f(_0x565510['buffer'],_0x565510['byteOffset'],_0x565510[_0x2dfb22(0xcb)]-0x4)),this['_deflate'][_0xd33647]=null,this['_deflate'][_0x4e9d89]=0x0,this[_0x2dfb22(0x11a)][_0x2aeb46]=[],_0x1ae226&&this[_0x2dfb22(0x107)][_0x23b989+_0x2dfb22(0x104)]&&this[_0x2dfb22(0x11a)][_0x2dfb22(0x25b)](),_0x487d61(null,_0x565510);});}}ve=_0x57db21;function _0x127bc2(_0x3db131){const _0x1f6b32=_0x28d558;this[_0x2aeb46][_0x1f6b32(0x12f)](_0x3db131),this[_0x4e9d89]+=_0x3db131[_0x1f6b32(0xcb)];}function _0x3dcb56(_0x40a0ad){const _0x183827=_0x28d558;if(this[_0x4e9d89]+=_0x40a0ad[_0x183827(0xcb)],this[_0x4d122f][_0x183827(0xef)]<0x1||this[_0x4e9d89]<=this[_0x4d122f][_0x183827(0xef)]){this[_0x2aeb46][_0x183827(0x12f)](_0x40a0ad);return;}this[_0x18b67b]=new RangeError(_0x183827(0x281)),this[_0x18b67b][_0x183827(0xd7)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x18b67b][_0x1f3597]=0x3f1,this[_0x183827(0x1bb)](_0x183827(0x1ab),_0x3dcb56),this['reset']();}function _0x1d03aa(_0x71372e){const _0x4b2955=_0x28d558;if(this[_0x4d122f][_0x4b2955(0x19d)]=null,this[_0x18b67b]){this[_0xd33647](this[_0x18b67b]);return;}_0x71372e[_0x1f3597]=0x3ef,this[_0xd33647](_0x71372e);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object[_0x3b8394(0x1e4)]({'__proto__':null,'default':Dt},Symbol[_0x3b8394(0x1d1)],{'value':_0x3b8394(0x206)})),Bt=at(Rt);var Ye;function ae(){const _0x359ae5=_0x3b8394;if(Ye)return ie[_0x359ae5(0x1df)];Ye=0x1;const {isUtf8:_0x285d71}=wt,{hasBlob:_0x3619ff}=H(),_0x2294c0=[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 _0x254b7c(_0x541767){return _0x541767>=0x3e8&&_0x541767<=0x3f6&&_0x541767!==0x3ec&&_0x541767!==0x3ed&&_0x541767!==0x3ee||_0x541767>=0xbb8&&_0x541767<=0x1387;}function _0x190b52(_0x526ccd){const _0x3317db=_0x359ae5,_0x36671c=_0x526ccd[_0x3317db(0xcb)];let _0x27dad8=0x0;for(;_0x27dad8<_0x36671c;)if((_0x526ccd[_0x27dad8]&0x80)===0x0)_0x27dad8++;else{if((_0x526ccd[_0x27dad8]&0xe0)===0xc0){if(_0x27dad8+0x1===_0x36671c||(_0x526ccd[_0x27dad8+0x1]&0xc0)!==0x80||(_0x526ccd[_0x27dad8]&0xfe)===0xc0)return!0x1;_0x27dad8+=0x2;}else{if((_0x526ccd[_0x27dad8]&0xf0)===0xe0){if(_0x27dad8+0x2>=_0x36671c||(_0x526ccd[_0x27dad8+0x1]&0xc0)!==0x80||(_0x526ccd[_0x27dad8+0x2]&0xc0)!==0x80||_0x526ccd[_0x27dad8]===0xe0&&(_0x526ccd[_0x27dad8+0x1]&0xe0)===0x80||_0x526ccd[_0x27dad8]===0xed&&(_0x526ccd[_0x27dad8+0x1]&0xe0)===0xa0)return!0x1;_0x27dad8+=0x3;}else{if((_0x526ccd[_0x27dad8]&0xf8)===0xf0){if(_0x27dad8+0x3>=_0x36671c||(_0x526ccd[_0x27dad8+0x1]&0xc0)!==0x80||(_0x526ccd[_0x27dad8+0x2]&0xc0)!==0x80||(_0x526ccd[_0x27dad8+0x3]&0xc0)!==0x80||_0x526ccd[_0x27dad8]===0xf0&&(_0x526ccd[_0x27dad8+0x1]&0xf0)===0x80||_0x526ccd[_0x27dad8]===0xf4&&_0x526ccd[_0x27dad8+0x1]>0x8f||_0x526ccd[_0x27dad8]>0xf4)return!0x1;_0x27dad8+=0x4;}else return!0x1;}}}return!0x0;}function _0x31e3e6(_0x1bc4a6){const _0x3d53ef=_0x359ae5;return _0x3619ff&&typeof _0x1bc4a6==_0x3d53ef(0x24f)&&typeof _0x1bc4a6[_0x3d53ef(0x1d4)]==_0x3d53ef(0x214)&&typeof _0x1bc4a6['type']==_0x3d53ef(0x21d)&&typeof _0x1bc4a6['stream']==_0x3d53ef(0x214)&&(_0x1bc4a6[Symbol[_0x3d53ef(0x1d1)]]===_0x3d53ef(0x175)||_0x1bc4a6[Symbol[_0x3d53ef(0x1d1)]]===_0x3d53ef(0x23b));}if(ie[_0x359ae5(0x1df)]={'isBlob':_0x31e3e6,'isValidStatusCode':_0x254b7c,'isValidUTF8':_0x190b52,'tokenChars':_0x2294c0},_0x285d71)ie[_0x359ae5(0x1df)][_0x359ae5(0x23e)]=function(_0x16a8e9){const _0x242db2=_0x359ae5;return _0x16a8e9[_0x242db2(0xcb)]<0x18?_0x190b52(_0x16a8e9):_0x285d71(_0x16a8e9);};else{if(!process[_0x359ae5(0x190)][_0x359ae5(0x18a)])try{const _0x53ddd0=Bt;ie[_0x359ae5(0x1df)]['isValidUTF8']=function(_0x349602){return _0x349602['length']<0x20?_0x190b52(_0x349602):_0x53ddd0(_0x349602);};}catch{}}return ie[_0x359ae5(0x1df)];}var Se,Ke;function lt(){const _0x39aa92=_0x3b8394;if(Ke)return Se;Ke=0x1;const {Writable:_0x73f9a9}=oe,_0xee4682=he(),{BINARY_TYPES:_0x539015,EMPTY_BUFFER:_0x5253e9,kStatusCode:_0xf5c2a8,kWebSocket:_0x12eab7}=H(),{concat:_0x3e80a9,toArrayBuffer:_0x3f8726,unmask:_0x292c33}=ce(),{isValidStatusCode:_0x2c93f1,isValidUTF8:_0x5e845b}=ae(),_0x1ff808=Buffer[Symbol[_0x39aa92(0x1c8)]],_0x139504=0x0,_0x3001f5=0x1,_0x58365b=0x2,_0x844d08=0x3,_0x33350d=0x4,_0xe0ee88=0x5,_0x2768bc=0x6;class _0x2ede5f extends _0x73f9a9{constructor(_0xdaf42e={}){const _0x52d35b=_0x39aa92;super(),this[_0x52d35b(0x179)]=_0xdaf42e[_0x52d35b(0x1b9)]!==void 0x0?_0xdaf42e[_0x52d35b(0x1b9)]:!0x0,this[_0x52d35b(0x207)]=_0xdaf42e[_0x52d35b(0x1ed)]||_0x539015[0x0],this[_0x52d35b(0x133)]=_0xdaf42e['extensions']||{},this[_0x52d35b(0xfd)]=!!_0xdaf42e[_0x52d35b(0x295)],this[_0x52d35b(0xef)]=_0xdaf42e[_0x52d35b(0x15e)]|0x0,this[_0x52d35b(0x1bd)]=!!_0xdaf42e[_0x52d35b(0x1ef)],this[_0x12eab7]=void 0x0,this[_0x52d35b(0x280)]=0x0,this[_0x52d35b(0x226)]=[],this[_0x52d35b(0x163)]=!0x1,this[_0x52d35b(0x251)]=0x0,this[_0x52d35b(0x1e8)]=void 0x0,this[_0x52d35b(0x28d)]=0x0,this['_masked']=!0x1,this[_0x52d35b(0x150)]=!0x1,this['_opcode']=0x0,this[_0x52d35b(0x186)]=0x0,this['_messageLength']=0x0,this[_0x52d35b(0x11e)]=[],this['_errored']=!0x1,this[_0x52d35b(0x1b1)]=!0x1,this['_state']=_0x139504;}['_write'](_0x53c9da,_0x6412cf,_0x57ea64){const _0x157625=_0x39aa92;if(this[_0x157625(0x144)]===0x8&&this[_0x157625(0x151)]==_0x139504)return _0x57ea64();this['_bufferedBytes']+=_0x53c9da['length'],this[_0x157625(0x226)][_0x157625(0x12f)](_0x53c9da),this[_0x157625(0x14e)](_0x57ea64);}[_0x39aa92(0x1eb)](_0x3cfb49){const _0x3177e9=_0x39aa92;if(this[_0x3177e9(0x280)]-=_0x3cfb49,_0x3cfb49===this[_0x3177e9(0x226)][0x0][_0x3177e9(0xcb)])return this[_0x3177e9(0x226)][_0x3177e9(0x1ba)]();if(_0x3cfb49<this[_0x3177e9(0x226)][0x0][_0x3177e9(0xcb)]){const _0x8a21b=this['_buffers'][0x0];return this[_0x3177e9(0x226)][0x0]=new _0x1ff808(_0x8a21b[_0x3177e9(0x1ac)],_0x8a21b[_0x3177e9(0xdd)]+_0x3cfb49,_0x8a21b[_0x3177e9(0xcb)]-_0x3cfb49),new _0x1ff808(_0x8a21b[_0x3177e9(0x1ac)],_0x8a21b[_0x3177e9(0xdd)],_0x3cfb49);}const _0x40e2a5=Buffer[_0x3177e9(0x1d5)](_0x3cfb49);do{const _0x313d47=this[_0x3177e9(0x226)][0x0],_0x449786=_0x40e2a5['length']-_0x3cfb49;_0x3cfb49>=_0x313d47[_0x3177e9(0xcb)]?_0x40e2a5[_0x3177e9(0x252)](this[_0x3177e9(0x226)][_0x3177e9(0x1ba)](),_0x449786):(_0x40e2a5['set'](new Uint8Array(_0x313d47[_0x3177e9(0x1ac)],_0x313d47[_0x3177e9(0xdd)],_0x3cfb49),_0x449786),this[_0x3177e9(0x226)][0x0]=new _0x1ff808(_0x313d47[_0x3177e9(0x1ac)],_0x313d47['byteOffset']+_0x3cfb49,_0x313d47[_0x3177e9(0xcb)]-_0x3cfb49)),_0x3cfb49-=_0x313d47[_0x3177e9(0xcb)];}while(_0x3cfb49>0x0);return _0x40e2a5;}['startLoop'](_0x428a2c){const _0x2b09a3=_0x39aa92;this['_loop']=!0x0;do switch(this[_0x2b09a3(0x151)]){case _0x139504:this[_0x2b09a3(0x1cb)](_0x428a2c);break;case _0x3001f5:this['getPayloadLength16'](_0x428a2c);break;case _0x58365b:this[_0x2b09a3(0x105)](_0x428a2c);break;case _0x844d08:this['getMask']();break;case _0x33350d:this[_0x2b09a3(0xdf)](_0x428a2c);break;case _0xe0ee88:case _0x2768bc:this[_0x2b09a3(0x1b1)]=!0x1;return;}while(this[_0x2b09a3(0x1b1)]);this[_0x2b09a3(0x140)]||_0x428a2c();}[_0x39aa92(0x1cb)](_0x22b8a0){const _0x1333bb=_0x39aa92;if(this[_0x1333bb(0x280)]<0x2){this[_0x1333bb(0x1b1)]=!0x1;return;}const _0x433e27=this[_0x1333bb(0x1eb)](0x2);if((_0x433e27[0x0]&0x30)!==0x0){const _0xa95353=this[_0x1333bb(0x286)](RangeError,_0x1333bb(0xe8),!0x0,0x3ea,_0x1333bb(0x1e6));_0x22b8a0(_0xa95353);return;}const _0x3c6269=(_0x433e27[0x0]&0x40)===0x40;if(_0x3c6269&&!this[_0x1333bb(0x133)][_0xee4682[_0x1333bb(0x270)]]){const _0x2c999b=this[_0x1333bb(0x286)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x22b8a0(_0x2c999b);return;}if(this[_0x1333bb(0x150)]=(_0x433e27[0x0]&0x80)===0x80,this[_0x1333bb(0x144)]=_0x433e27[0x0]&0xf,this[_0x1333bb(0x251)]=_0x433e27[0x1]&0x7f,this[_0x1333bb(0x144)]===0x0){if(_0x3c6269){const _0x52aced=this[_0x1333bb(0x286)](RangeError,_0x1333bb(0x22c),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x22b8a0(_0x52aced);return;}if(!this[_0x1333bb(0x28d)]){const _0x3e28cc=this[_0x1333bb(0x286)](RangeError,_0x1333bb(0x1f4),!0x0,0x3ea,_0x1333bb(0x279));_0x22b8a0(_0x3e28cc);return;}this[_0x1333bb(0x144)]=this[_0x1333bb(0x28d)];}else{if(this[_0x1333bb(0x144)]===0x1||this[_0x1333bb(0x144)]===0x2){if(this[_0x1333bb(0x28d)]){const _0x2b0ba6=this['createError'](RangeError,_0x1333bb(0x187)+this[_0x1333bb(0x144)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x22b8a0(_0x2b0ba6);return;}this['_compressed']=_0x3c6269;}else{if(this['_opcode']>0x7&&this['_opcode']<0xb){if(!this[_0x1333bb(0x150)]){const _0xca451b=this[_0x1333bb(0x286)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x1333bb(0x28f));_0x22b8a0(_0xca451b);return;}if(_0x3c6269){const _0x1d1c9f=this[_0x1333bb(0x286)](RangeError,_0x1333bb(0x22c),!0x0,0x3ea,_0x1333bb(0x10a));_0x22b8a0(_0x1d1c9f);return;}if(this[_0x1333bb(0x251)]>0x7d||this['_opcode']===0x8&&this[_0x1333bb(0x251)]===0x1){const _0xb1063b=this[_0x1333bb(0x286)](RangeError,'invalid\x20payload\x20length\x20'+this[_0x1333bb(0x251)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x22b8a0(_0xb1063b);return;}}else{const _0x3eae5d=this[_0x1333bb(0x286)](RangeError,_0x1333bb(0x187)+this['_opcode'],!0x0,0x3ea,_0x1333bb(0x279));_0x22b8a0(_0x3eae5d);return;}}}if(!this[_0x1333bb(0x150)]&&!this[_0x1333bb(0x28d)]&&(this[_0x1333bb(0x28d)]=this[_0x1333bb(0x144)]),this[_0x1333bb(0x24d)]=(_0x433e27[0x1]&0x80)===0x80,this[_0x1333bb(0xfd)]){if(!this[_0x1333bb(0x24d)]){const _0x8b3168=this[_0x1333bb(0x286)](RangeError,_0x1333bb(0xd8),!0x0,0x3ea,_0x1333bb(0x285));_0x22b8a0(_0x8b3168);return;}}else{if(this[_0x1333bb(0x24d)]){const _0x584128=this['createError'](RangeError,_0x1333bb(0x168),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x22b8a0(_0x584128);return;}}this[_0x1333bb(0x251)]===0x7e?this[_0x1333bb(0x151)]=_0x3001f5:this[_0x1333bb(0x251)]===0x7f?this['_state']=_0x58365b:this[_0x1333bb(0x23f)](_0x22b8a0);}[_0x39aa92(0x185)](_0x4fe436){const _0x60e44b=_0x39aa92;if(this['_bufferedBytes']<0x2){this[_0x60e44b(0x1b1)]=!0x1;return;}this[_0x60e44b(0x251)]=this['consume'](0x2)[_0x60e44b(0xdb)](0x0),this[_0x60e44b(0x23f)](_0x4fe436);}[_0x39aa92(0x105)](_0x4381ab){const _0x359374=_0x39aa92;if(this['_bufferedBytes']<0x8){this[_0x359374(0x1b1)]=!0x1;return;}const _0x53daf3=this[_0x359374(0x1eb)](0x8),_0x4cdd59=_0x53daf3[_0x359374(0x217)](0x0);if(_0x4cdd59>Math[_0x359374(0x1ec)](0x2,0x15)-0x1){const _0x16f6f8=this['createError'](RangeError,_0x359374(0x249),!0x1,0x3f1,_0x359374(0x1ff));_0x4381ab(_0x16f6f8);return;}this[_0x359374(0x251)]=_0x4cdd59*Math[_0x359374(0x1ec)](0x2,0x20)+_0x53daf3[_0x359374(0x217)](0x4),this[_0x359374(0x23f)](_0x4381ab);}[_0x39aa92(0x23f)](_0x46a9c8){const _0x30d26d=_0x39aa92;if(this['_payloadLength']&&this[_0x30d26d(0x144)]<0x8&&(this[_0x30d26d(0x186)]+=this[_0x30d26d(0x251)],this[_0x30d26d(0x186)]>this['_maxPayload']&&this[_0x30d26d(0xef)]>0x0)){const _0x520d1a=this['createError'](RangeError,_0x30d26d(0x281),!0x1,0x3f1,_0x30d26d(0x1f9));_0x46a9c8(_0x520d1a);return;}this[_0x30d26d(0x24d)]?this[_0x30d26d(0x151)]=_0x844d08:this[_0x30d26d(0x151)]=_0x33350d;}[_0x39aa92(0x194)](){const _0x43bb8a=_0x39aa92;if(this[_0x43bb8a(0x280)]<0x4){this[_0x43bb8a(0x1b1)]=!0x1;return;}this[_0x43bb8a(0x1e8)]=this[_0x43bb8a(0x1eb)](0x4),this[_0x43bb8a(0x151)]=_0x33350d;}[_0x39aa92(0xdf)](_0x51c5d9){const _0x385b83=_0x39aa92;let _0x1941db=_0x5253e9;if(this[_0x385b83(0x251)]){if(this['_bufferedBytes']<this[_0x385b83(0x251)]){this[_0x385b83(0x1b1)]=!0x1;return;}_0x1941db=this[_0x385b83(0x1eb)](this['_payloadLength']),this[_0x385b83(0x24d)]&&(this[_0x385b83(0x1e8)][0x0]|this[_0x385b83(0x1e8)][0x1]|this[_0x385b83(0x1e8)][0x2]|this[_0x385b83(0x1e8)][0x3])!==0x0&&_0x292c33(_0x1941db,this['_mask']);}if(this['_opcode']>0x7){this[_0x385b83(0x1a6)](_0x1941db,_0x51c5d9);return;}if(this['_compressed']){this[_0x385b83(0x151)]=_0xe0ee88,this[_0x385b83(0x275)](_0x1941db,_0x51c5d9);return;}_0x1941db[_0x385b83(0xcb)]&&(this[_0x385b83(0x1d8)]=this[_0x385b83(0x186)],this[_0x385b83(0x11e)]['push'](_0x1941db)),this['dataMessage'](_0x51c5d9);}[_0x39aa92(0x275)](_0x29dc08,_0xfbeb30){const _0x2c35c3=_0x39aa92;this[_0x2c35c3(0x133)][_0xee4682['extensionName']][_0x2c35c3(0x275)](_0x29dc08,this[_0x2c35c3(0x150)],(_0x5d1736,_0x15f860)=>{const _0x1ff335=_0x2c35c3;if(_0x5d1736)return _0xfbeb30(_0x5d1736);if(_0x15f860['length']){if(this[_0x1ff335(0x1d8)]+=_0x15f860[_0x1ff335(0xcb)],this[_0x1ff335(0x1d8)]>this[_0x1ff335(0xef)]&&this[_0x1ff335(0xef)]>0x0){const _0x2c4343=this[_0x1ff335(0x286)](RangeError,_0x1ff335(0x281),!0x1,0x3f1,_0x1ff335(0x1f9));_0xfbeb30(_0x2c4343);return;}this[_0x1ff335(0x11e)][_0x1ff335(0x12f)](_0x15f860);}this[_0x1ff335(0x27b)](_0xfbeb30),this[_0x1ff335(0x151)]===_0x139504&&this[_0x1ff335(0x14e)](_0xfbeb30);});}['dataMessage'](_0x204770){const _0x3256ef=_0x39aa92;if(!this['_fin']){this[_0x3256ef(0x151)]=_0x139504;return;}const _0x29118e=this['_messageLength'],_0x3beaed=this[_0x3256ef(0x11e)];if(this[_0x3256ef(0x186)]=0x0,this[_0x3256ef(0x1d8)]=0x0,this[_0x3256ef(0x28d)]=0x0,this[_0x3256ef(0x11e)]=[],this[_0x3256ef(0x144)]===0x2){let _0x5673a7;this[_0x3256ef(0x207)]==='nodebuffer'?_0x5673a7=_0x3e80a9(_0x3beaed,_0x29118e):this[_0x3256ef(0x207)]==='arraybuffer'?_0x5673a7=_0x3f8726(_0x3e80a9(_0x3beaed,_0x29118e)):this[_0x3256ef(0x207)]==='blob'?_0x5673a7=new Blob(_0x3beaed):_0x5673a7=_0x3beaed,this[_0x3256ef(0x179)]?(this[_0x3256ef(0x121)]('message',_0x5673a7,!0x0),this[_0x3256ef(0x151)]=_0x139504):(this['_state']=_0x2768bc,setImmediate(()=>{const _0x50cd3d=_0x3256ef;this['emit'](_0x50cd3d(0x248),_0x5673a7,!0x0),this['_state']=_0x139504,this['startLoop'](_0x204770);}));}else{const _0x3ffd2d=_0x3e80a9(_0x3beaed,_0x29118e);if(!this[_0x3256ef(0x1bd)]&&!_0x5e845b(_0x3ffd2d)){const _0x26522e=this[_0x3256ef(0x286)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x3256ef(0x181));_0x204770(_0x26522e);return;}this[_0x3256ef(0x151)]===_0xe0ee88||this['_allowSynchronousEvents']?(this[_0x3256ef(0x121)](_0x3256ef(0x248),_0x3ffd2d,!0x1),this['_state']=_0x139504):(this[_0x3256ef(0x151)]=_0x2768bc,setImmediate(()=>{const _0x19ef23=_0x3256ef;this[_0x19ef23(0x121)](_0x19ef23(0x248),_0x3ffd2d,!0x1),this[_0x19ef23(0x151)]=_0x139504,this['startLoop'](_0x204770);}));}}[_0x39aa92(0x1a6)](_0x9d57b6,_0x168c21){const _0x27a29a=_0x39aa92;if(this[_0x27a29a(0x144)]===0x8){if(_0x9d57b6[_0x27a29a(0xcb)]===0x0)this[_0x27a29a(0x1b1)]=!0x1,this[_0x27a29a(0x121)](_0x27a29a(0x26f),0x3ed,_0x5253e9),this[_0x27a29a(0x1fd)]();else{const _0x434ffb=_0x9d57b6[_0x27a29a(0xdb)](0x0);if(!_0x2c93f1(_0x434ffb)){const _0x31ca7f=this[_0x27a29a(0x286)](RangeError,_0x27a29a(0x14d)+_0x434ffb,!0x0,0x3ea,_0x27a29a(0x164));_0x168c21(_0x31ca7f);return;}const _0x1fb2b8=new _0x1ff808(_0x9d57b6[_0x27a29a(0x1ac)],_0x9d57b6[_0x27a29a(0xdd)]+0x2,_0x9d57b6[_0x27a29a(0xcb)]-0x2);if(!this[_0x27a29a(0x1bd)]&&!_0x5e845b(_0x1fb2b8)){const _0x103f6c=this[_0x27a29a(0x286)](Error,_0x27a29a(0x1ce),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x168c21(_0x103f6c);return;}this['_loop']=!0x1,this[_0x27a29a(0x121)]('conclude',_0x434ffb,_0x1fb2b8),this['end']();}this['_state']=_0x139504;return;}this[_0x27a29a(0x179)]?(this[_0x27a29a(0x121)](this[_0x27a29a(0x144)]===0x9?_0x27a29a(0x1d2):_0x27a29a(0x1e9),_0x9d57b6),this[_0x27a29a(0x151)]=_0x139504):(this[_0x27a29a(0x151)]=_0x2768bc,setImmediate(()=>{const _0x2d69fc=_0x27a29a;this[_0x2d69fc(0x121)](this[_0x2d69fc(0x144)]===0x9?_0x2d69fc(0x1d2):_0x2d69fc(0x1e9),_0x9d57b6),this[_0x2d69fc(0x151)]=_0x139504,this[_0x2d69fc(0x14e)](_0x168c21);}));}[_0x39aa92(0x286)](_0x32802c,_0x4ff033,_0x25a4d1,_0x1a057d,_0x5c05c0){const _0x5686d0=_0x39aa92;this['_loop']=!0x1,this[_0x5686d0(0x140)]=!0x0;const _0x185738=new _0x32802c(_0x25a4d1?_0x5686d0(0x101)+_0x4ff033:_0x4ff033);return Error[_0x5686d0(0x246)](_0x185738,this[_0x5686d0(0x286)]),_0x185738[_0x5686d0(0xd7)]=_0x5c05c0,_0x185738[_0xf5c2a8]=_0x1a057d,_0x185738;}}return Se=_0x2ede5f,Se;}var Ee,Xe;function ft(){const _0x30f73c=_0x3b8394;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x38ffdb}=oe,{randomFillSync:_0xf71cdd}=Le,_0x52ec2a=he(),{EMPTY_BUFFER:_0x22c76c,kWebSocket:_0x1cd22e,NOOP:_0x867f5}=H(),{isBlob:_0x2c743b,isValidStatusCode:_0x492877}=ae(),{mask:_0x42ebca,toBuffer:_0x5f0694}=ce(),_0x41fb1c=Symbol(_0x30f73c(0x161)),_0x3c0752=Buffer[_0x30f73c(0x232)](0x4),_0xec855f=0x8*0x400;let _0x5ef365,_0x57865d=_0xec855f;const _0x21b87b=0x0,_0x546e4b=0x1,_0xc146dd=0x2;class _0x42a020{constructor(_0x43c1a4,_0x467c03,_0x16d605){const _0x6bdee=_0x30f73c;this[_0x6bdee(0x133)]=_0x467c03||{},_0x16d605&&(this[_0x6bdee(0x227)]=_0x16d605,this[_0x6bdee(0x16c)]=Buffer['alloc'](0x4)),this['_socket']=_0x43c1a4,this['_firstFragment']=!0x0,this[_0x6bdee(0x1f7)]=!0x1,this['_bufferedBytes']=0x0,this['_queue']=[],this[_0x6bdee(0x151)]=_0x21b87b,this[_0x6bdee(0x287)]=_0x867f5,this[_0x1cd22e]=void 0x0;}static[_0x30f73c(0x20d)](_0x26216e,_0x3788dc){const _0x117fa1=_0x30f73c;let _0x1987dd,_0x582f0a=!0x1,_0x37e4d1=0x2,_0x56e8d3=!0x1;_0x3788dc[_0x117fa1(0x282)]&&(_0x1987dd=_0x3788dc['maskBuffer']||_0x3c0752,_0x3788dc['generateMask']?_0x3788dc[_0x117fa1(0x125)](_0x1987dd):(_0x57865d===_0xec855f&&(_0x5ef365===void 0x0&&(_0x5ef365=Buffer[_0x117fa1(0x232)](_0xec855f)),_0xf71cdd(_0x5ef365,0x0,_0xec855f),_0x57865d=0x0),_0x1987dd[0x0]=_0x5ef365[_0x57865d++],_0x1987dd[0x1]=_0x5ef365[_0x57865d++],_0x1987dd[0x2]=_0x5ef365[_0x57865d++],_0x1987dd[0x3]=_0x5ef365[_0x57865d++]),_0x56e8d3=(_0x1987dd[0x0]|_0x1987dd[0x1]|_0x1987dd[0x2]|_0x1987dd[0x3])===0x0,_0x37e4d1=0x6);let _0x30031c;typeof _0x26216e==_0x117fa1(0x21d)?(!_0x3788dc[_0x117fa1(0x282)]||_0x56e8d3)&&_0x3788dc[_0x41fb1c]!==void 0x0?_0x30031c=_0x3788dc[_0x41fb1c]:(_0x26216e=Buffer[_0x117fa1(0x1b5)](_0x26216e),_0x30031c=_0x26216e[_0x117fa1(0xcb)]):(_0x30031c=_0x26216e['length'],_0x582f0a=_0x3788dc[_0x117fa1(0x282)]&&_0x3788dc[_0x117fa1(0x26a)]&&!_0x56e8d3);let _0x127f0b=_0x30031c;_0x30031c>=0x10000?(_0x37e4d1+=0x8,_0x127f0b=0x7f):_0x30031c>0x7d&&(_0x37e4d1+=0x2,_0x127f0b=0x7e);const _0x3b4309=Buffer[_0x117fa1(0x1d5)](_0x582f0a?_0x30031c+_0x37e4d1:_0x37e4d1);return _0x3b4309[0x0]=_0x3788dc[_0x117fa1(0xf0)]?_0x3788dc[_0x117fa1(0x293)]|0x80:_0x3788dc[_0x117fa1(0x293)],_0x3788dc['rsv1']&&(_0x3b4309[0x0]|=0x40),_0x3b4309[0x1]=_0x127f0b,_0x127f0b===0x7e?_0x3b4309[_0x117fa1(0x255)](_0x30031c,0x2):_0x127f0b===0x7f&&(_0x3b4309[0x2]=_0x3b4309[0x3]=0x0,_0x3b4309['writeUIntBE'](_0x30031c,0x4,0x6)),_0x3788dc[_0x117fa1(0x282)]?(_0x3b4309[0x1]|=0x80,_0x3b4309[_0x37e4d1-0x4]=_0x1987dd[0x0],_0x3b4309[_0x37e4d1-0x3]=_0x1987dd[0x1],_0x3b4309[_0x37e4d1-0x2]=_0x1987dd[0x2],_0x3b4309[_0x37e4d1-0x1]=_0x1987dd[0x3],_0x56e8d3?[_0x3b4309,_0x26216e]:_0x582f0a?(_0x42ebca(_0x26216e,_0x1987dd,_0x3b4309,_0x37e4d1,_0x30031c),[_0x3b4309]):(_0x42ebca(_0x26216e,_0x1987dd,_0x26216e,0x0,_0x30031c),[_0x3b4309,_0x26216e])):[_0x3b4309,_0x26216e];}['close'](_0x1719f4,_0x1e6285,_0x4f58a6,_0x2e834b){const _0x577c3e=_0x30f73c;let _0x29da72;if(_0x1719f4===void 0x0)_0x29da72=_0x22c76c;else{if(typeof _0x1719f4!=_0x577c3e(0x1b6)||!_0x492877(_0x1719f4))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x1e6285===void 0x0||!_0x1e6285[_0x577c3e(0xcb)])_0x29da72=Buffer[_0x577c3e(0x1d5)](0x2),_0x29da72[_0x577c3e(0x255)](_0x1719f4,0x0);else{const _0x29488f=Buffer[_0x577c3e(0x1a5)](_0x1e6285);if(_0x29488f>0x7b)throw new RangeError(_0x577c3e(0x111));_0x29da72=Buffer[_0x577c3e(0x1d5)](0x2+_0x29488f),_0x29da72['writeUInt16BE'](_0x1719f4,0x0),typeof _0x1e6285==_0x577c3e(0x21d)?_0x29da72['write'](_0x1e6285,0x2):_0x29da72[_0x577c3e(0x252)](_0x1e6285,0x2);}}const _0x1cae8d={[_0x41fb1c]:_0x29da72[_0x577c3e(0xcb)],'fin':!0x0,'generateMask':this[_0x577c3e(0x227)],'mask':_0x4f58a6,'maskBuffer':this[_0x577c3e(0x16c)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x577c3e(0x151)]!==_0x21b87b?this[_0x577c3e(0x253)]([this[_0x577c3e(0x139)],_0x29da72,!0x1,_0x1cae8d,_0x2e834b]):this['sendFrame'](_0x42a020[_0x577c3e(0x20d)](_0x29da72,_0x1cae8d),_0x2e834b);}[_0x30f73c(0x1d2)](_0x1e8622,_0x1d4213,_0x198e0e){const _0xaa4124=_0x30f73c;let _0x234c2b,_0x2c1c9f;if(typeof _0x1e8622==_0xaa4124(0x21d)?(_0x234c2b=Buffer['byteLength'](_0x1e8622),_0x2c1c9f=!0x1):_0x2c743b(_0x1e8622)?(_0x234c2b=_0x1e8622[_0xaa4124(0x184)],_0x2c1c9f=!0x1):(_0x1e8622=_0x5f0694(_0x1e8622),_0x234c2b=_0x1e8622[_0xaa4124(0xcb)],_0x2c1c9f=_0x5f0694[_0xaa4124(0x26a)]),_0x234c2b>0x7d)throw new RangeError(_0xaa4124(0x123));const _0x2810e9={[_0x41fb1c]:_0x234c2b,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x1d4213,'maskBuffer':this[_0xaa4124(0x16c)],'opcode':0x9,'readOnly':_0x2c1c9f,'rsv1':!0x1};_0x2c743b(_0x1e8622)?this[_0xaa4124(0x151)]!==_0x21b87b?this[_0xaa4124(0x253)]([this[_0xaa4124(0xcd)],_0x1e8622,!0x1,_0x2810e9,_0x198e0e]):this[_0xaa4124(0xcd)](_0x1e8622,!0x1,_0x2810e9,_0x198e0e):this[_0xaa4124(0x151)]!==_0x21b87b?this[_0xaa4124(0x253)]([this['dispatch'],_0x1e8622,!0x1,_0x2810e9,_0x198e0e]):this[_0xaa4124(0x272)](_0x42a020[_0xaa4124(0x20d)](_0x1e8622,_0x2810e9),_0x198e0e);}[_0x30f73c(0x1e9)](_0x48c794,_0x320817,_0x2fecd2){const _0x503cfe=_0x30f73c;let _0x1d467b,_0x1a07dc;if(typeof _0x48c794==_0x503cfe(0x21d)?(_0x1d467b=Buffer[_0x503cfe(0x1a5)](_0x48c794),_0x1a07dc=!0x1):_0x2c743b(_0x48c794)?(_0x1d467b=_0x48c794[_0x503cfe(0x184)],_0x1a07dc=!0x1):(_0x48c794=_0x5f0694(_0x48c794),_0x1d467b=_0x48c794[_0x503cfe(0xcb)],_0x1a07dc=_0x5f0694['readOnly']),_0x1d467b>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x82b038={[_0x41fb1c]:_0x1d467b,'fin':!0x0,'generateMask':this[_0x503cfe(0x227)],'mask':_0x320817,'maskBuffer':this[_0x503cfe(0x16c)],'opcode':0xa,'readOnly':_0x1a07dc,'rsv1':!0x1};_0x2c743b(_0x48c794)?this[_0x503cfe(0x151)]!==_0x21b87b?this[_0x503cfe(0x253)]([this[_0x503cfe(0xcd)],_0x48c794,!0x1,_0x82b038,_0x2fecd2]):this['getBlobData'](_0x48c794,!0x1,_0x82b038,_0x2fecd2):this[_0x503cfe(0x151)]!==_0x21b87b?this[_0x503cfe(0x253)]([this[_0x503cfe(0x139)],_0x48c794,!0x1,_0x82b038,_0x2fecd2]):this[_0x503cfe(0x272)](_0x42a020['frame'](_0x48c794,_0x82b038),_0x2fecd2);}['send'](_0x18d4ba,_0x54582f,_0x521243){const _0x1d3ac4=_0x30f73c,_0x3a6ced=this[_0x1d3ac4(0x133)][_0x52ec2a[_0x1d3ac4(0x270)]];let _0x584bd0=_0x54582f['binary']?0x2:0x1,_0x475ea7=_0x54582f[_0x1d3ac4(0x106)],_0x10da4a,_0x17d382;typeof _0x18d4ba=='string'?(_0x10da4a=Buffer[_0x1d3ac4(0x1a5)](_0x18d4ba),_0x17d382=!0x1):_0x2c743b(_0x18d4ba)?(_0x10da4a=_0x18d4ba[_0x1d3ac4(0x184)],_0x17d382=!0x1):(_0x18d4ba=_0x5f0694(_0x18d4ba),_0x10da4a=_0x18d4ba[_0x1d3ac4(0xcb)],_0x17d382=_0x5f0694[_0x1d3ac4(0x26a)]),this[_0x1d3ac4(0xc8)]?(this[_0x1d3ac4(0xc8)]=!0x1,_0x475ea7&&_0x3a6ced&&_0x3a6ced[_0x1d3ac4(0x107)][_0x3a6ced[_0x1d3ac4(0xfd)]?'server_no_context_takeover':'client_no_context_takeover']&&(_0x475ea7=_0x10da4a>=_0x3a6ced[_0x1d3ac4(0x23c)]),this[_0x1d3ac4(0x1f7)]=_0x475ea7):(_0x475ea7=!0x1,_0x584bd0=0x0),_0x54582f[_0x1d3ac4(0xf0)]&&(this[_0x1d3ac4(0xc8)]=!0x0);const _0x31d554={[_0x41fb1c]:_0x10da4a,'fin':_0x54582f[_0x1d3ac4(0xf0)],'generateMask':this[_0x1d3ac4(0x227)],'mask':_0x54582f['mask'],'maskBuffer':this[_0x1d3ac4(0x16c)],'opcode':_0x584bd0,'readOnly':_0x17d382,'rsv1':_0x475ea7};_0x2c743b(_0x18d4ba)?this[_0x1d3ac4(0x151)]!==_0x21b87b?this['enqueue']([this[_0x1d3ac4(0xcd)],_0x18d4ba,this['_compress'],_0x31d554,_0x521243]):this[_0x1d3ac4(0xcd)](_0x18d4ba,this[_0x1d3ac4(0x1f7)],_0x31d554,_0x521243):this[_0x1d3ac4(0x151)]!==_0x21b87b?this[_0x1d3ac4(0x253)]([this[_0x1d3ac4(0x139)],_0x18d4ba,this[_0x1d3ac4(0x1f7)],_0x31d554,_0x521243]):this[_0x1d3ac4(0x139)](_0x18d4ba,this[_0x1d3ac4(0x1f7)],_0x31d554,_0x521243);}[_0x30f73c(0xcd)](_0x46a9fe,_0x27b1e0,_0x57c1c7,_0x5e9cab){const _0x221fb6=_0x30f73c;this[_0x221fb6(0x280)]+=_0x57c1c7[_0x41fb1c],this['_state']=_0xc146dd,_0x46a9fe[_0x221fb6(0x1d4)]()[_0x221fb6(0x100)](_0x442f22=>{const _0x45ae2a=_0x221fb6;if(this['_socket']['destroyed']){const _0xe55963=new Error(_0x45ae2a(0x183));process[_0x45ae2a(0x215)](_0x212567,this,_0xe55963,_0x5e9cab);return;}this[_0x45ae2a(0x280)]-=_0x57c1c7[_0x41fb1c];const _0x25aa4d=_0x5f0694(_0x442f22);_0x27b1e0?this[_0x45ae2a(0x139)](_0x25aa4d,_0x27b1e0,_0x57c1c7,_0x5e9cab):(this[_0x45ae2a(0x151)]=_0x21b87b,this[_0x45ae2a(0x272)](_0x42a020[_0x45ae2a(0x20d)](_0x25aa4d,_0x57c1c7),_0x5e9cab),this[_0x45ae2a(0x103)]());})[_0x221fb6(0x1c0)](_0x550964=>{const _0x3134ad=_0x221fb6;process[_0x3134ad(0x215)](_0x97feb0,this,_0x550964,_0x5e9cab);});}['dispatch'](_0x541335,_0x29cf8d,_0x322acc,_0x16ce12){const _0x2f0e36=_0x30f73c;if(!_0x29cf8d){this[_0x2f0e36(0x272)](_0x42a020[_0x2f0e36(0x20d)](_0x541335,_0x322acc),_0x16ce12);return;}const _0x27f489=this[_0x2f0e36(0x133)][_0x52ec2a[_0x2f0e36(0x270)]];this['_bufferedBytes']+=_0x322acc[_0x41fb1c],this[_0x2f0e36(0x151)]=_0x546e4b,_0x27f489[_0x2f0e36(0x106)](_0x541335,_0x322acc['fin'],(_0x519dbb,_0x5ff048)=>{const _0x13cc70=_0x2f0e36;if(this[_0x13cc70(0x172)][_0x13cc70(0x210)]){const _0x476bf7=new Error(_0x13cc70(0x26d));_0x212567(this,_0x476bf7,_0x16ce12);return;}this['_bufferedBytes']-=_0x322acc[_0x41fb1c],this[_0x13cc70(0x151)]=_0x21b87b,_0x322acc[_0x13cc70(0x26a)]=!0x1,this[_0x13cc70(0x272)](_0x42a020[_0x13cc70(0x20d)](_0x5ff048,_0x322acc),_0x16ce12),this[_0x13cc70(0x103)]();});}[_0x30f73c(0x103)](){const _0x8e560d=_0x30f73c;for(;this[_0x8e560d(0x151)]===_0x21b87b&&this[_0x8e560d(0x28e)][_0x8e560d(0xcb)];){const _0x25f47f=this[_0x8e560d(0x28e)][_0x8e560d(0x1ba)]();this[_0x8e560d(0x280)]-=_0x25f47f[0x3][_0x41fb1c],Reflect['apply'](_0x25f47f[0x0],this,_0x25f47f[_0x8e560d(0x271)](0x1));}}[_0x30f73c(0x253)](_0x1b5dca){const _0x590051=_0x30f73c;this[_0x590051(0x280)]+=_0x1b5dca[0x3][_0x41fb1c],this[_0x590051(0x28e)]['push'](_0x1b5dca);}['sendFrame'](_0x1f128a,_0x1f393c){const _0x14788c=_0x30f73c;_0x1f128a[_0x14788c(0xcb)]===0x2?(this[_0x14788c(0x172)][_0x14788c(0x225)](),this[_0x14788c(0x172)]['write'](_0x1f128a[0x0]),this[_0x14788c(0x172)][_0x14788c(0x1e7)](_0x1f128a[0x1],_0x1f393c),this[_0x14788c(0x172)][_0x14788c(0xd1)]()):this[_0x14788c(0x172)][_0x14788c(0x1e7)](_0x1f128a[0x0],_0x1f393c);}}Ee=_0x42a020;function _0x212567(_0x2176dc,_0x1719a7,_0x5ad5e5){const _0x303c44=_0x30f73c;typeof _0x5ad5e5==_0x303c44(0x214)&&_0x5ad5e5(_0x1719a7);for(let _0x16682f=0x0;_0x16682f<_0x2176dc['_queue'][_0x303c44(0xcb)];_0x16682f++){const _0x13caf5=_0x2176dc['_queue'][_0x16682f],_0x80e3c=_0x13caf5[_0x13caf5[_0x303c44(0xcb)]-0x1];typeof _0x80e3c=='function'&&_0x80e3c(_0x1719a7);}}function _0x97feb0(_0x580fea,_0x38d9f3,_0x29d122){const _0x241a3e=_0x30f73c;_0x212567(_0x580fea,_0x38d9f3,_0x29d122),_0x580fea[_0x241a3e(0x287)](_0x38d9f3);}return Ee;}var xe,Ze;function It(){const _0x55c3a3=_0x3b8394;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x415f9f,kListener:_0x110d78}=H(),_0x269b0b=Symbol(_0x55c3a3(0x18d)),_0x26b85b=Symbol('kData'),_0x16ca01=Symbol(_0x55c3a3(0x222)),_0xd88f1d=Symbol(_0x55c3a3(0x22b)),_0x3a83fa=Symbol('kReason'),_0xbe7df3=Symbol(_0x55c3a3(0x153)),_0x44390e=Symbol(_0x55c3a3(0x1a8)),_0x5bf8fd=Symbol(_0x55c3a3(0x108));class _0x2f925a{constructor(_0x59f338){this[_0xbe7df3]=null,this[_0x44390e]=_0x59f338;}get[_0x55c3a3(0x1c4)](){return this[_0xbe7df3];}get[_0x55c3a3(0xc6)](){return this[_0x44390e];}}Object[_0x55c3a3(0x1e4)](_0x2f925a[_0x55c3a3(0x22d)],_0x55c3a3(0x1c4),{'enumerable':!0x0}),Object[_0x55c3a3(0x1e4)](_0x2f925a[_0x55c3a3(0x22d)],'type',{'enumerable':!0x0});class _0x1a5c62 extends _0x2f925a{constructor(_0x162c85,_0x4323fb={}){const _0x20bd94=_0x55c3a3;super(_0x162c85),this[_0x269b0b]=_0x4323fb[_0x20bd94(0xd7)]===void 0x0?0x0:_0x4323fb[_0x20bd94(0xd7)],this[_0x3a83fa]=_0x4323fb[_0x20bd94(0x141)]===void 0x0?'':_0x4323fb[_0x20bd94(0x141)],this[_0x5bf8fd]=_0x4323fb[_0x20bd94(0x1be)]===void 0x0?!0x1:_0x4323fb[_0x20bd94(0x1be)];}get[_0x55c3a3(0xd7)](){return this[_0x269b0b];}get[_0x55c3a3(0x141)](){return this[_0x3a83fa];}get[_0x55c3a3(0x1be)](){return this[_0x5bf8fd];}}Object[_0x55c3a3(0x1e4)](_0x1a5c62[_0x55c3a3(0x22d)],_0x55c3a3(0xd7),{'enumerable':!0x0}),Object[_0x55c3a3(0x1e4)](_0x1a5c62['prototype'],_0x55c3a3(0x141),{'enumerable':!0x0}),Object[_0x55c3a3(0x1e4)](_0x1a5c62['prototype'],'wasClean',{'enumerable':!0x0});class _0x33179b extends _0x2f925a{constructor(_0x2ed450,_0x738bab={}){const _0x2a06a6=_0x55c3a3;super(_0x2ed450),this[_0x16ca01]=_0x738bab[_0x2a06a6(0x180)]===void 0x0?null:_0x738bab[_0x2a06a6(0x180)],this[_0xd88f1d]=_0x738bab[_0x2a06a6(0x248)]===void 0x0?'':_0x738bab[_0x2a06a6(0x248)];}get['error'](){return this[_0x16ca01];}get[_0x55c3a3(0x248)](){return this[_0xd88f1d];}}Object['defineProperty'](_0x33179b[_0x55c3a3(0x22d)],_0x55c3a3(0x180),{'enumerable':!0x0}),Object[_0x55c3a3(0x1e4)](_0x33179b[_0x55c3a3(0x22d)],_0x55c3a3(0x248),{'enumerable':!0x0});class _0x3b817f extends _0x2f925a{constructor(_0x10bafa,_0x422b36={}){const _0x27daa0=_0x55c3a3;super(_0x10bafa),this[_0x26b85b]=_0x422b36['data']===void 0x0?null:_0x422b36[_0x27daa0(0x1ab)];}get[_0x55c3a3(0x1ab)](){return this[_0x26b85b];}}Object[_0x55c3a3(0x1e4)](_0x3b817f[_0x55c3a3(0x22d)],_0x55c3a3(0x1ab),{'enumerable':!0x0}),xe={'CloseEvent':_0x1a5c62,'ErrorEvent':_0x33179b,'Event':_0x2f925a,'EventTarget':{'addEventListener'(_0x4f83bd,_0x23e729,_0x148a1b={}){const _0x5d6ff9=_0x55c3a3;for(const _0x194857 of this['listeners'](_0x4f83bd))if(!_0x148a1b[_0x415f9f]&&_0x194857[_0x110d78]===_0x23e729&&!_0x194857[_0x415f9f])return;let _0x30a592;if(_0x4f83bd===_0x5d6ff9(0x248))_0x30a592=function(_0x2edec7,_0x12f8c1){const _0x7622fc=_0x5d6ff9,_0x52f799=new _0x3b817f(_0x7622fc(0x248),{'data':_0x12f8c1?_0x2edec7:_0x2edec7['toString']()});_0x52f799[_0xbe7df3]=this,_0xaf1538(_0x23e729,this,_0x52f799);};else{if(_0x4f83bd===_0x5d6ff9(0x1dd))_0x30a592=function(_0x3a88f5,_0x57bc25){const _0x5af6a2=_0x5d6ff9,_0x2203ed=new _0x1a5c62(_0x5af6a2(0x1dd),{'code':_0x3a88f5,'reason':_0x57bc25[_0x5af6a2(0x244)](),'wasClean':this['_closeFrameReceived']&&this[_0x5af6a2(0x254)]});_0x2203ed[_0xbe7df3]=this,_0xaf1538(_0x23e729,this,_0x2203ed);};else{if(_0x4f83bd===_0x5d6ff9(0x180))_0x30a592=function(_0x3e0903){const _0x45edfc=_0x5d6ff9,_0x48541c=new _0x33179b(_0x45edfc(0x180),{'error':_0x3e0903,'message':_0x3e0903['message']});_0x48541c[_0xbe7df3]=this,_0xaf1538(_0x23e729,this,_0x48541c);};else{if(_0x4f83bd===_0x5d6ff9(0x1e5))_0x30a592=function(){const _0x6f54b8=_0x5d6ff9,_0x414f1f=new _0x2f925a(_0x6f54b8(0x1e5));_0x414f1f[_0xbe7df3]=this,_0xaf1538(_0x23e729,this,_0x414f1f);};else return;}}}_0x30a592[_0x415f9f]=!!_0x148a1b[_0x415f9f],_0x30a592[_0x110d78]=_0x23e729,_0x148a1b[_0x5d6ff9(0x1ae)]?this[_0x5d6ff9(0x1ae)](_0x4f83bd,_0x30a592):this['on'](_0x4f83bd,_0x30a592);},'removeEventListener'(_0x414c88,_0x264f34){const _0x1aa05a=_0x55c3a3;for(const _0x8ccb2c of this[_0x1aa05a(0xe1)](_0x414c88))if(_0x8ccb2c[_0x110d78]===_0x264f34&&!_0x8ccb2c[_0x415f9f]){this[_0x1aa05a(0x1bb)](_0x414c88,_0x8ccb2c);break;}}},'MessageEvent':_0x3b817f};function _0xaf1538(_0x102446,_0x591083,_0x199c61){const _0x52d903=_0x55c3a3;typeof _0x102446==_0x52d903(0x24f)&&_0x102446[_0x52d903(0x11f)]?_0x102446[_0x52d903(0x11f)]['call'](_0x102446,_0x199c61):_0x102446[_0x52d903(0xce)](_0x591083,_0x199c61);}return xe;}var be,Qe;function _0x5cb4(){const _0x44ecfd=['createDeflateRaw','species','NodeCollaborationSocketService','_paused','getInfo','\x20(supported\x20versions:\x20','_read','invalid\x20UTF-8\x20sequence','hasOwnProperty','WebSocket','toStringTag','ping','buffers','arrayBuffer','allocUnsafe','digest','kListener','_messageLength','sec-websocket-key','needDrain','unmask','setSocket','close','find','exports','listening','isPaused','DisposableCollection','host','defineProperty','open','WS_ERR_UNEXPECTED_RSV_2_3','write','_mask','pong','createSocket','consume','pow','binaryType','zlibInflateOptions','skipUTF8Validation','value','keys','upgrade','next','invalid\x20opcode\x200','concat','15VkKJYe','_compress','Disposable','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','pause','threshold','__esModule','end','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','Sec-WebSocket-Extensions','servername','arraybuffer','warn','Basic\x20','7500470kIFNIm','Module','_binaryType','https','wss:','Unexpected\x20end\x20of\x20input','addEventListener','options','frame','clientTracking','Connection:\x20Upgrade','destroyed','nodebuffer','username','readyState','function','nextTick','default','readUInt32BE','_final','status-code','serverNoContextTakeover','crypto','_shouldEmitClose','string','isIP','client_no_context_takeover','handshakeTimeout','CLOSED','kError','5436018rObASK','values','cork','_buffers','_generateMask','charCodeAt','@univerjs-pro/collaboration-client','collaboration-client-node.config','kMessage','RSV1\x20must\x20be\x20clear','prototype','listenerCount','protocolVersion','server_no_context_takeover','_url','alloc','connection','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','tls','password','_decompress','followRedirects','The\x20\x22','hash','File','_threshold','socketPath','isValidUTF8','haveLength','@univerjs/network','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','_doCreateSocket','create','toString','ws:','captureStackTrace','startsWith','message','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','\x22\x20must\x20have\x20only\x20a\x20single\x20value','94LogXYg','HTTP/1.1\x20','_masked','url','object','@univerjs-pro/collaboration','_payloadLength','set','enqueue','_closeFrameSent','writeUInt16BE','update','_max_window_bits','sha1','HTTPService','acceptAsClient','reset','port','_req','includes','ISnapshotServerService','Invalid\x20Sec-WebSocket-Protocol\x20header','join','test','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','_autoPong','server_max_window_bits','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','constructor','Sec-WebSocket-Accept:\x20','clientMaxWindowBits','readOnly','_sender','isBuffer','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','indexOf','conclude','extensionName','slice','sendFrame','Unsupported\x20protocol\x20version:\x20','Inject','decompress','toLowerCase','Sec-WebSocket-Extensions:\x20','pluginName','WS_ERR_INVALID_OPCODE','Maximum\x20redirects\x20exceeded','dataMessage','accept','resume','sec-websocket-extensions','bufferedAmount','_bufferedBytes','Max\x20payload\x20size\x20exceeded','mask','rxjs','pipe','WS_ERR_EXPECTED_MASK','createError','onerror','errorEmitted','parse','wsClientError','response','apply','_fragmented','_queue','WS_ERR_EXPECTED_FIN','split','kRun','isView','opcode','Invalid\x20value\x20for\x20parameter\x20\x22','isServer','_closeTimer','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','type','kAborted','_firstFragment','construct','cleanup','length','_errorEmitted','getBlobData','call','onopen','bind','uncork','read','hostname','defaultPort','stream','UniverCollaborationClientNodePlugin','code','MASK\x20must\x20be\x20set','server','Cookie','readUInt16BE','text/html','byteOffset','_httpService','getData','_configService','listeners','headers','_bufferedAmount','\x22:\x20','createInflateRaw','finished','handleProtocols','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','clientNoContextTakeover','perMessageDeflate','Origin','toDisposable','Server\x20sent\x20no\x20subprotocol','77724WUdVyM','_maxPayload','fin','method','The\x20URL\x20contains\x20a\x20fragment\x20identifier','getOwnPropertyDescriptor','Invalid\x20HTTP\x20method','_redirects','protocol','flush','delete','completeUpgrade','Invalid\x20Sec-WebSocket-Extensions\x20header','socket','Z_DEFAULT_WINDOWBITS','_isServer','_closeFrameReceived','Parameter\x20\x22','then','Invalid\x20WebSocket\x20frame:\x20','Unexpected\x20character\x20at\x20index\x20','dequeue','_no_context_takeover','getPayloadLength64','compress','params','kWasClean','zlibDeflateOptions','WS_ERR_UNEXPECTED_RSV_1','acceptAsServer','maxRedirects','removeEventListener','kDone','replace','zlib','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','WS_NO_BUFFER_UTIL','HTTP/1.1\x20101\x20Switching\x20Protocols','Invalid\x20Upgrade\x20header','_server','_readableState','timeout','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','normalizeParams','_deflate','autoPong','_removeListeners','_writableState','_fragments','handleEvent','search','emit','address','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','destroy','generateMask','add','unexpected-response','The\x20URL\x27s\x20pathname\x20is\x20empty','_receiver','noServer','connect','isInteger','cookie','dispose','push','GET','verifyClient','encrypted','_extensions','https:','permessage-deflate','handleUpgrade','clients','CONNECTING','dispatch','serverMaxWindowBits','client','Server\x20sent\x20an\x20invalid\x20subprotocol','1602YfgzNJ','websocket','Plugin','_errored','reason','_originalHostOrSocketPath','redirect','_opcode','setTimeout','endEmitted','pending','_closeMessage','CLOSING','Sec-WebSocket-Protocol:\x20','OPEN','createConnection','invalid\x20status\x20code\x20','startLoop','onclose','_fin','_state','3389238VkFbtz','kTarget','sec-websocket-accept','_closeCode','_readyState','authorized','share','onmessage','WebSocket\x20is\x20not\x20open:\x20readyState\x20','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','concurrency','removeAllListeners','maxPayload','DependentOn','Sec-WebSocket-Protocol','kByteLength','registerHTTPInterceptor','_compressed','WS_ERR_INVALID_CLOSE_CODE','abort','finishRequest','entries','MASK\x20must\x20be\x20clear','origin','11801OFTbEe','readable','_maskBuffer','client_max_window_bits','has','extensions','IConfigService','finish','_socket','STATUS_CODES','authorization','Blob','Z_SYNC_FLUSH','offer','_injector','_allowSynchronousEvents','total-length','request','CollaborationSocketService','7530624lipxTN','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','net','error','WS_ERR_INVALID_UTF8','auth','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','size','getPayloadLength16','_totalPayloadLength','invalid\x20opcode\x20','events','Injector','WS_NO_UTF_8_VALIDATE','Unexpected\x20server\x20response:\x20','onStarting','kCode','isArray','map','env','writeHead','getConfig','customHeaders','getMask','path','Observable','forEach','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','22729SvtGpK','Upgrade','emitClose','_inflate','statusCode','setNoDelay','_protocol','concurrencyLimit','base64','@univerjs/core','_write','byteLength','controlMessage','listen','kType','backlog','\x22\x20subprotocol\x20is\x20duplicated','data','buffer','setHeader','once','The\x20server\x20is\x20not\x20running','UniverCollaborationClientPlugin','_loop','ILogService','freeze','shouldHandle','from','number','send','Invalid\x20URL:\x20','allowSynchronousEvents','shift','removeListener','sec-websocket-protocol','_skipUTF8Validation','wasClean','jobs','catch','_options','_originalIpc','fragments','target','_originalSecure','unshift'];_0x5cb4=function(){return _0x44ecfd;};return _0x5cb4();}function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x5918e0}=ae();function _0x1af440(_0x422323,_0x2b91c3,_0x4b0c13){const _0x338a4d=_0x401c;_0x422323[_0x2b91c3]===void 0x0?_0x422323[_0x2b91c3]=[_0x4b0c13]:_0x422323[_0x2b91c3][_0x338a4d(0x12f)](_0x4b0c13);}function _0x457bc7(_0x3c06f0){const _0x569f72=_0x401c,_0x36f277=Object[_0x569f72(0x243)](null);let _0x20e69a=Object['create'](null),_0x339743=!0x1,_0x54778e=!0x1,_0x65a4a8=!0x1,_0x29c12b,_0x1ddd8e,_0x515dbc=-0x1,_0x521b0d=-0x1,_0x227f9f=-0x1,_0x33a777=0x0;for(;_0x33a777<_0x3c06f0[_0x569f72(0xcb)];_0x33a777++)if(_0x521b0d=_0x3c06f0['charCodeAt'](_0x33a777),_0x29c12b===void 0x0){if(_0x227f9f===-0x1&&_0x5918e0[_0x521b0d]===0x1)_0x515dbc===-0x1&&(_0x515dbc=_0x33a777);else{if(_0x33a777!==0x0&&(_0x521b0d===0x20||_0x521b0d===0x9))_0x227f9f===-0x1&&_0x515dbc!==-0x1&&(_0x227f9f=_0x33a777);else{if(_0x521b0d===0x3b||_0x521b0d===0x2c){if(_0x515dbc===-0x1)throw new SyntaxError(_0x569f72(0x102)+_0x33a777);_0x227f9f===-0x1&&(_0x227f9f=_0x33a777);const _0x55b785=_0x3c06f0[_0x569f72(0x271)](_0x515dbc,_0x227f9f);_0x521b0d===0x2c?(_0x1af440(_0x36f277,_0x55b785,_0x20e69a),_0x20e69a=Object[_0x569f72(0x243)](null)):_0x29c12b=_0x55b785,_0x515dbc=_0x227f9f=-0x1;}else throw new SyntaxError(_0x569f72(0x102)+_0x33a777);}}}else{if(_0x1ddd8e===void 0x0){if(_0x227f9f===-0x1&&_0x5918e0[_0x521b0d]===0x1)_0x515dbc===-0x1&&(_0x515dbc=_0x33a777);else{if(_0x521b0d===0x20||_0x521b0d===0x9)_0x227f9f===-0x1&&_0x515dbc!==-0x1&&(_0x227f9f=_0x33a777);else{if(_0x521b0d===0x3b||_0x521b0d===0x2c){if(_0x515dbc===-0x1)throw new SyntaxError(_0x569f72(0x102)+_0x33a777);_0x227f9f===-0x1&&(_0x227f9f=_0x33a777),_0x1af440(_0x20e69a,_0x3c06f0[_0x569f72(0x271)](_0x515dbc,_0x227f9f),!0x0),_0x521b0d===0x2c&&(_0x1af440(_0x36f277,_0x29c12b,_0x20e69a),_0x20e69a=Object[_0x569f72(0x243)](null),_0x29c12b=void 0x0),_0x515dbc=_0x227f9f=-0x1;}else{if(_0x521b0d===0x3d&&_0x515dbc!==-0x1&&_0x227f9f===-0x1)_0x1ddd8e=_0x3c06f0[_0x569f72(0x271)](_0x515dbc,_0x33a777),_0x515dbc=_0x227f9f=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x33a777);}}}}else{if(_0x54778e){if(_0x5918e0[_0x521b0d]!==0x1)throw new SyntaxError(_0x569f72(0x102)+_0x33a777);_0x515dbc===-0x1?_0x515dbc=_0x33a777:_0x339743||(_0x339743=!0x0),_0x54778e=!0x1;}else{if(_0x65a4a8){if(_0x5918e0[_0x521b0d]===0x1)_0x515dbc===-0x1&&(_0x515dbc=_0x33a777);else{if(_0x521b0d===0x22&&_0x515dbc!==-0x1)_0x65a4a8=!0x1,_0x227f9f=_0x33a777;else{if(_0x521b0d===0x5c)_0x54778e=!0x0;else throw new SyntaxError(_0x569f72(0x102)+_0x33a777);}}}else{if(_0x521b0d===0x22&&_0x3c06f0[_0x569f72(0x228)](_0x33a777-0x1)===0x3d)_0x65a4a8=!0x0;else{if(_0x227f9f===-0x1&&_0x5918e0[_0x521b0d]===0x1)_0x515dbc===-0x1&&(_0x515dbc=_0x33a777);else{if(_0x515dbc!==-0x1&&(_0x521b0d===0x20||_0x521b0d===0x9))_0x227f9f===-0x1&&(_0x227f9f=_0x33a777);else{if(_0x521b0d===0x3b||_0x521b0d===0x2c){if(_0x515dbc===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x33a777);_0x227f9f===-0x1&&(_0x227f9f=_0x33a777);let _0x264151=_0x3c06f0[_0x569f72(0x271)](_0x515dbc,_0x227f9f);_0x339743&&(_0x264151=_0x264151['replace'](/\\/g,''),_0x339743=!0x1),_0x1af440(_0x20e69a,_0x1ddd8e,_0x264151),_0x521b0d===0x2c&&(_0x1af440(_0x36f277,_0x29c12b,_0x20e69a),_0x20e69a=Object[_0x569f72(0x243)](null),_0x29c12b=void 0x0),_0x1ddd8e=void 0x0,_0x515dbc=_0x227f9f=-0x1;}else throw new SyntaxError(_0x569f72(0x102)+_0x33a777);}}}}}}}if(_0x515dbc===-0x1||_0x65a4a8||_0x521b0d===0x20||_0x521b0d===0x9)throw new SyntaxError(_0x569f72(0x20a));_0x227f9f===-0x1&&(_0x227f9f=_0x33a777);const _0x771e62=_0x3c06f0[_0x569f72(0x271)](_0x515dbc,_0x227f9f);return _0x29c12b===void 0x0?_0x1af440(_0x36f277,_0x771e62,_0x20e69a):(_0x1ddd8e===void 0x0?_0x1af440(_0x20e69a,_0x771e62,!0x0):_0x339743?_0x1af440(_0x20e69a,_0x1ddd8e,_0x771e62[_0x569f72(0x10f)](/\\/g,'')):_0x1af440(_0x20e69a,_0x1ddd8e,_0x771e62),_0x1af440(_0x36f277,_0x29c12b,_0x20e69a)),_0x36f277;}function _0x16daf9(_0x9eea02){const _0x119f78=_0x401c;return Object[_0x119f78(0x1f1)](_0x9eea02)['map'](_0x440840=>{const _0x3159b8=_0x119f78;let _0x3cf629=_0x9eea02[_0x440840];return Array[_0x3159b8(0x18e)](_0x3cf629)||(_0x3cf629=[_0x3cf629]),_0x3cf629[_0x3159b8(0x18f)](_0x2eccd6=>[_0x440840]['concat'](Object[_0x3159b8(0x1f1)](_0x2eccd6)[_0x3159b8(0x18f)](_0xfdccb=>{const _0x45e82f=_0x3159b8;let _0x3f34b9=_0x2eccd6[_0xfdccb];return Array[_0x45e82f(0x18e)](_0x3f34b9)||(_0x3f34b9=[_0x3f34b9]),_0x3f34b9['map'](_0x5e7cfb=>_0x5e7cfb===!0x0?_0xfdccb:_0xfdccb+'='+_0x5e7cfb)[_0x45e82f(0x261)](';\x20');}))[_0x3159b8(0x261)](';\x20'))[_0x3159b8(0x261)](',\x20');})[_0x119f78(0x261)](',\x20');}return be={'format':_0x16daf9,'parse':_0x457bc7},be;}var we,Je;function Pe(){const _0x3a5a4f=_0x3b8394;if(Je)return we;Je=0x1;const _0x3aa189=nt,_0x4ce484=vt,_0x5c22df=ot,_0x8654d1=St,_0x3eca69=Et,{randomBytes:_0xf8b604,createHash:_0x34ceee}=Le,{Duplex:_0x472438,Readable:_0x3cc1b7}=oe,{URL:_0x120540}=xt,_0x1db2f8=he(),_0x1fed54=lt(),_0x39ba7d=ft(),{isBlob:_0xd3ca34}=ae(),{BINARY_TYPES:_0xf7c16,EMPTY_BUFFER:_0x56cfd2,GUID:_0x331a2a,kForOnEventAttribute:_0x403ec2,kListener:_0x138b5a,kStatusCode:_0x204c08,kWebSocket:_0xb628c1,NOOP:_0x14fd1c}=H(),{EventTarget:{addEventListener:_0x3b88b4,removeEventListener:_0x3be22a}}=It(),{format:_0x1646a8,parse:_0x1865de}=ct(),{toBuffer:_0x5ce18c}=ce(),_0xb64bc2=0x1e*0x3e8,_0x3d14cc=Symbol(_0x3a5a4f(0xc7)),_0x1b3098=[0x8,0xd],_0xa9d916=['CONNECTING',_0x3a5a4f(0x14b),_0x3a5a4f(0x149),_0x3a5a4f(0x221)],_0x1e3e90=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x24170e extends _0x3aa189{constructor(_0x554ac2,_0x28fcf0,_0x213211){const _0x23e8dd=_0x3a5a4f;super(),this[_0x23e8dd(0x207)]=_0xf7c16[0x0],this[_0x23e8dd(0x155)]=0x3ee,this[_0x23e8dd(0xfe)]=!0x1,this[_0x23e8dd(0x254)]=!0x1,this[_0x23e8dd(0x148)]=_0x56cfd2,this['_closeTimer']=null,this['_errorEmitted']=!0x1,this[_0x23e8dd(0x133)]={},this['_paused']=!0x1,this[_0x23e8dd(0x1a0)]='',this[_0x23e8dd(0x156)]=_0x24170e[_0x23e8dd(0x138)],this[_0x23e8dd(0x129)]=null,this[_0x23e8dd(0x26b)]=null,this[_0x23e8dd(0x172)]=null,_0x554ac2!==null?(this['_bufferedAmount']=0x0,this[_0x23e8dd(0xfd)]=!0x1,this[_0x23e8dd(0xf5)]=0x0,_0x28fcf0===void 0x0?_0x28fcf0=[]:Array['isArray'](_0x28fcf0)||(typeof _0x28fcf0==_0x23e8dd(0x24f)&&_0x28fcf0!==null?(_0x213211=_0x28fcf0,_0x28fcf0=[]):_0x28fcf0=[_0x28fcf0]),_0x2f8cf7(this,_0x554ac2,_0x28fcf0,_0x213211)):(this['_autoPong']=_0x213211[_0x23e8dd(0x11b)],this[_0x23e8dd(0xfd)]=!0x0);}get[_0x3a5a4f(0x1ed)](){const _0x394f84=_0x3a5a4f;return this[_0x394f84(0x207)];}set[_0x3a5a4f(0x1ed)](_0x146321){const _0x5713f0=_0x3a5a4f;_0xf7c16[_0x5713f0(0x25e)](_0x146321)&&(this[_0x5713f0(0x207)]=_0x146321,this[_0x5713f0(0x129)]&&(this[_0x5713f0(0x129)][_0x5713f0(0x207)]=_0x146321));}get[_0x3a5a4f(0x27f)](){const _0x3c1c8f=_0x3a5a4f;return this[_0x3c1c8f(0x172)]?this[_0x3c1c8f(0x172)][_0x3c1c8f(0x11d)][_0x3c1c8f(0xcb)]+this[_0x3c1c8f(0x26b)][_0x3c1c8f(0x280)]:this[_0x3c1c8f(0xe3)];}get[_0x3a5a4f(0x16f)](){const _0x15e753=_0x3a5a4f;return Object[_0x15e753(0x1f1)](this[_0x15e753(0x133)])[_0x15e753(0x261)]();}get['isPaused'](){return this['_paused'];}get[_0x3a5a4f(0x14f)](){return null;}get[_0x3a5a4f(0x287)](){return null;}get[_0x3a5a4f(0xcf)](){return null;}get[_0x3a5a4f(0x159)](){return null;}get['protocol'](){const _0x4be2ce=_0x3a5a4f;return this[_0x4be2ce(0x1a0)];}get[_0x3a5a4f(0x213)](){const _0x57fd2f=_0x3a5a4f;return this[_0x57fd2f(0x156)];}get['url'](){const _0x5ab1c3=_0x3a5a4f;return this[_0x5ab1c3(0x231)];}[_0x3a5a4f(0x1dc)](_0x4b1136,_0x341ef7,_0x50dc8e){const _0x267fb4=_0x3a5a4f,_0x39f260=new _0x1fed54({'allowSynchronousEvents':_0x50dc8e['allowSynchronousEvents'],'binaryType':this['binaryType'],'extensions':this[_0x267fb4(0x133)],'isServer':this[_0x267fb4(0xfd)],'maxPayload':_0x50dc8e[_0x267fb4(0x15e)],'skipUTF8Validation':_0x50dc8e[_0x267fb4(0x1ef)]}),_0x4a653f=new _0x39ba7d(_0x4b1136,this[_0x267fb4(0x133)],_0x50dc8e[_0x267fb4(0x125)]);this[_0x267fb4(0x129)]=_0x39f260,this[_0x267fb4(0x26b)]=_0x4a653f,this['_socket']=_0x4b1136,_0x39f260[_0xb628c1]=this,_0x4a653f[_0xb628c1]=this,_0x4b1136[_0xb628c1]=this,_0x39f260['on'](_0x267fb4(0x26f),_0x24d5ac),_0x39f260['on']('drain',_0x31e3d1),_0x39f260['on'](_0x267fb4(0x180),_0x127ae4),_0x39f260['on'](_0x267fb4(0x248),_0x1d13d5),_0x39f260['on'](_0x267fb4(0x1d2),_0x2df53e),_0x39f260['on'](_0x267fb4(0x1e9),_0x459377),_0x4a653f[_0x267fb4(0x287)]=_0x2172f7,_0x4b1136[_0x267fb4(0x145)]&&_0x4b1136[_0x267fb4(0x145)](0x0),_0x4b1136[_0x267fb4(0x19f)]&&_0x4b1136[_0x267fb4(0x19f)](),_0x341ef7[_0x267fb4(0xcb)]>0x0&&_0x4b1136[_0x267fb4(0x1c6)](_0x341ef7),_0x4b1136['on'](_0x267fb4(0x1dd),_0x1f62d5),_0x4b1136['on'](_0x267fb4(0x1ab),_0x3243d5),_0x4b1136['on'](_0x267fb4(0x1fd),_0x2e805e),_0x4b1136['on'](_0x267fb4(0x180),_0x5924d2),this['_readyState']=_0x24170e[_0x267fb4(0x14b)],this[_0x267fb4(0x121)]('open');}[_0x3a5a4f(0x19c)](){const _0x201f3c=_0x3a5a4f;if(!this['_socket']){this[_0x201f3c(0x156)]=_0x24170e[_0x201f3c(0x221)],this[_0x201f3c(0x121)](_0x201f3c(0x1dd),this[_0x201f3c(0x155)],this[_0x201f3c(0x148)]);return;}this[_0x201f3c(0x133)][_0x1db2f8[_0x201f3c(0x270)]]&&this[_0x201f3c(0x133)][_0x1db2f8[_0x201f3c(0x270)]][_0x201f3c(0xca)](),this[_0x201f3c(0x129)][_0x201f3c(0x15d)](),this[_0x201f3c(0x156)]=_0x24170e[_0x201f3c(0x221)],this[_0x201f3c(0x121)](_0x201f3c(0x1dd),this[_0x201f3c(0x155)],this[_0x201f3c(0x148)]);}['close'](_0x26508b,_0x3d0721){const _0x4c58eb=_0x3a5a4f;if(this[_0x4c58eb(0x213)]!==_0x24170e[_0x4c58eb(0x221)]){if(this[_0x4c58eb(0x213)]===_0x24170e[_0x4c58eb(0x138)]){_0x21e46f(this,this[_0x4c58eb(0x25d)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x4c58eb(0x213)]===_0x24170e[_0x4c58eb(0x149)]){this['_closeFrameSent']&&(this[_0x4c58eb(0xfe)]||this[_0x4c58eb(0x129)][_0x4c58eb(0x11d)][_0x4c58eb(0x288)])&&this[_0x4c58eb(0x172)][_0x4c58eb(0x1fd)]();return;}this[_0x4c58eb(0x156)]=_0x24170e[_0x4c58eb(0x149)],this[_0x4c58eb(0x26b)][_0x4c58eb(0x1dd)](_0x26508b,_0x3d0721,!this[_0x4c58eb(0xfd)],_0x4e9a4f=>{const _0x5ef6ac=_0x4c58eb;_0x4e9a4f||(this[_0x5ef6ac(0x254)]=!0x0,(this[_0x5ef6ac(0xfe)]||this[_0x5ef6ac(0x129)][_0x5ef6ac(0x11d)][_0x5ef6ac(0x288)])&&this['_socket'][_0x5ef6ac(0x1fd)]());}),_0x3f164b(this);}}[_0x3a5a4f(0x1fa)](){const _0x5a63be=_0x3a5a4f;this['readyState']===_0x24170e[_0x5a63be(0x138)]||this[_0x5a63be(0x213)]===_0x24170e[_0x5a63be(0x221)]||(this[_0x5a63be(0x1ca)]=!0x0,this['_socket'][_0x5a63be(0x1fa)]());}[_0x3a5a4f(0x1d2)](_0x171d77,_0xc92228,_0x2b2da6){const _0x3a3fbf=_0x3a5a4f;if(this['readyState']===_0x24170e[_0x3a3fbf(0x138)])throw new Error(_0x3a3fbf(0x234));if(typeof _0x171d77==_0x3a3fbf(0x214)?(_0x2b2da6=_0x171d77,_0x171d77=_0xc92228=void 0x0):typeof _0xc92228==_0x3a3fbf(0x214)&&(_0x2b2da6=_0xc92228,_0xc92228=void 0x0),typeof _0x171d77=='number'&&(_0x171d77=_0x171d77[_0x3a3fbf(0x244)]()),this[_0x3a3fbf(0x213)]!==_0x24170e[_0x3a3fbf(0x14b)]){_0x1d9b5a(this,_0x171d77,_0x2b2da6);return;}_0xc92228===void 0x0&&(_0xc92228=!this['_isServer']),this[_0x3a3fbf(0x26b)][_0x3a3fbf(0x1d2)](_0x171d77||_0x56cfd2,_0xc92228,_0x2b2da6);}['pong'](_0xf5232c,_0x2f8ac4,_0x28f999){const _0x141e6f=_0x3a5a4f;if(this['readyState']===_0x24170e[_0x141e6f(0x138)])throw new Error(_0x141e6f(0x234));if(typeof _0xf5232c==_0x141e6f(0x214)?(_0x28f999=_0xf5232c,_0xf5232c=_0x2f8ac4=void 0x0):typeof _0x2f8ac4==_0x141e6f(0x214)&&(_0x28f999=_0x2f8ac4,_0x2f8ac4=void 0x0),typeof _0xf5232c=='number'&&(_0xf5232c=_0xf5232c[_0x141e6f(0x244)]()),this[_0x141e6f(0x213)]!==_0x24170e[_0x141e6f(0x14b)]){_0x1d9b5a(this,_0xf5232c,_0x28f999);return;}_0x2f8ac4===void 0x0&&(_0x2f8ac4=!this[_0x141e6f(0xfd)]),this[_0x141e6f(0x26b)][_0x141e6f(0x1e9)](_0xf5232c||_0x56cfd2,_0x2f8ac4,_0x28f999);}[_0x3a5a4f(0x27d)](){const _0x266c3a=_0x3a5a4f;this[_0x266c3a(0x213)]===_0x24170e[_0x266c3a(0x138)]||this['readyState']===_0x24170e[_0x266c3a(0x221)]||(this[_0x266c3a(0x1ca)]=!0x1,this[_0x266c3a(0x129)][_0x266c3a(0x11d)][_0x266c3a(0x1da)]||this['_socket']['resume']());}[_0x3a5a4f(0x1b7)](_0x1da2ab,_0xf2d375,_0x6904b1){const _0x19c72f=_0x3a5a4f;if(this['readyState']===_0x24170e[_0x19c72f(0x138)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0xf2d375==_0x19c72f(0x214)&&(_0x6904b1=_0xf2d375,_0xf2d375={}),typeof _0x1da2ab==_0x19c72f(0x1b6)&&(_0x1da2ab=_0x1da2ab['toString']()),this[_0x19c72f(0x213)]!==_0x24170e[_0x19c72f(0x14b)]){_0x1d9b5a(this,_0x1da2ab,_0x6904b1);return;}const _0xc06488={'binary':typeof _0x1da2ab!='string','mask':!this[_0x19c72f(0xfd)],'compress':!0x0,'fin':!0x0,..._0xf2d375};this[_0x19c72f(0x133)][_0x1db2f8[_0x19c72f(0x270)]]||(_0xc06488[_0x19c72f(0x106)]=!0x1),this['_sender'][_0x19c72f(0x1b7)](_0x1da2ab||_0x56cfd2,_0xc06488,_0x6904b1);}['terminate'](){const _0x5d5d37=_0x3a5a4f;if(this['readyState']!==_0x24170e['CLOSED']){if(this[_0x5d5d37(0x213)]===_0x24170e[_0x5d5d37(0x138)]){_0x21e46f(this,this[_0x5d5d37(0x25d)],_0x5d5d37(0x266));return;}this['_socket']&&(this[_0x5d5d37(0x156)]=_0x24170e['CLOSING'],this[_0x5d5d37(0x172)][_0x5d5d37(0x124)]());}}}Object[_0x3a5a4f(0x1e4)](_0x24170e,_0x3a5a4f(0x138),{'enumerable':!0x0,'value':_0xa9d916[_0x3a5a4f(0x26e)](_0x3a5a4f(0x138))}),Object[_0x3a5a4f(0x1e4)](_0x24170e[_0x3a5a4f(0x22d)],_0x3a5a4f(0x138),{'enumerable':!0x0,'value':_0xa9d916[_0x3a5a4f(0x26e)](_0x3a5a4f(0x138))}),Object[_0x3a5a4f(0x1e4)](_0x24170e,_0x3a5a4f(0x14b),{'enumerable':!0x0,'value':_0xa9d916['indexOf'](_0x3a5a4f(0x14b))}),Object[_0x3a5a4f(0x1e4)](_0x24170e[_0x3a5a4f(0x22d)],'OPEN',{'enumerable':!0x0,'value':_0xa9d916[_0x3a5a4f(0x26e)](_0x3a5a4f(0x14b))}),Object[_0x3a5a4f(0x1e4)](_0x24170e,_0x3a5a4f(0x149),{'enumerable':!0x0,'value':_0xa9d916[_0x3a5a4f(0x26e)](_0x3a5a4f(0x149))}),Object[_0x3a5a4f(0x1e4)](_0x24170e[_0x3a5a4f(0x22d)],_0x3a5a4f(0x149),{'enumerable':!0x0,'value':_0xa9d916[_0x3a5a4f(0x26e)](_0x3a5a4f(0x149))}),Object[_0x3a5a4f(0x1e4)](_0x24170e,'CLOSED',{'enumerable':!0x0,'value':_0xa9d916[_0x3a5a4f(0x26e)](_0x3a5a4f(0x221))}),Object[_0x3a5a4f(0x1e4)](_0x24170e['prototype'],_0x3a5a4f(0x221),{'enumerable':!0x0,'value':_0xa9d916[_0x3a5a4f(0x26e)]('CLOSED')}),[_0x3a5a4f(0x1ed),_0x3a5a4f(0x27f),_0x3a5a4f(0x16f),_0x3a5a4f(0x1e1),_0x3a5a4f(0xf6),_0x3a5a4f(0x213),'url'][_0x3a5a4f(0x197)](_0x5ea6df=>{const _0x1d5955=_0x3a5a4f;Object[_0x1d5955(0x1e4)](_0x24170e[_0x1d5955(0x22d)],_0x5ea6df,{'enumerable':!0x0});}),[_0x3a5a4f(0x1e5),'error',_0x3a5a4f(0x1dd),_0x3a5a4f(0x248)][_0x3a5a4f(0x197)](_0x43c22e=>{const _0x451b15=_0x3a5a4f;Object[_0x451b15(0x1e4)](_0x24170e[_0x451b15(0x22d)],'on'+_0x43c22e,{'enumerable':!0x0,'get'(){const _0x3930df=_0x451b15;for(const _0x4a3ba9 of this[_0x3930df(0xe1)](_0x43c22e))if(_0x4a3ba9[_0x403ec2])return _0x4a3ba9[_0x138b5a];return null;},'set'(_0x695e1){const _0x485173=_0x451b15;for(const _0x236d77 of this[_0x485173(0xe1)](_0x43c22e))if(_0x236d77[_0x403ec2]){this[_0x485173(0x1bb)](_0x43c22e,_0x236d77);break;}typeof _0x695e1=='function'&&this['addEventListener'](_0x43c22e,_0x695e1,{[_0x403ec2]:!0x0});}});}),_0x24170e[_0x3a5a4f(0x22d)][_0x3a5a4f(0x20b)]=_0x3b88b4,_0x24170e['prototype'][_0x3a5a4f(0x10d)]=_0x3be22a,we=_0x24170e;function _0x2f8cf7(_0x4f2e18,_0x18993d,_0x2b7e53,_0x560915){const _0x2b285d=_0x3a5a4f,_0x22c063={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x1b3098[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x560915,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x2b285d(0x130),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x4f2e18[_0x2b285d(0x264)]=_0x22c063[_0x2b285d(0x11b)],!_0x1b3098[_0x2b285d(0x25e)](_0x22c063['protocolVersion']))throw new RangeError(_0x2b285d(0x273)+_0x22c063['protocolVersion']+_0x2b285d(0x1cc)+_0x1b3098[_0x2b285d(0x261)](',\x20')+')');let _0x3ce652;if(_0x18993d instanceof _0x120540)_0x3ce652=_0x18993d;else try{_0x3ce652=new _0x120540(_0x18993d);}catch{throw new SyntaxError(_0x2b285d(0x1b8)+_0x18993d);}_0x3ce652[_0x2b285d(0xf6)]==='http:'?_0x3ce652[_0x2b285d(0xf6)]=_0x2b285d(0x245):_0x3ce652[_0x2b285d(0xf6)]===_0x2b285d(0x134)&&(_0x3ce652[_0x2b285d(0xf6)]=_0x2b285d(0x209)),_0x4f2e18[_0x2b285d(0x231)]=_0x3ce652['href'];const _0x4b5c4c=_0x3ce652[_0x2b285d(0xf6)]===_0x2b285d(0x209),_0x30f439=_0x3ce652['protocol']==='ws+unix:';let _0x389bcf;if(_0x3ce652[_0x2b285d(0xf6)]!=='ws:'&&!_0x4b5c4c&&!_0x30f439?_0x389bcf=_0x2b285d(0x17e):_0x30f439&&!_0x3ce652['pathname']?_0x389bcf=_0x2b285d(0x128):_0x3ce652[_0x2b285d(0x23a)]&&(_0x389bcf=_0x2b285d(0xf2)),_0x389bcf){const _0x5bcb38=new SyntaxError(_0x389bcf);if(_0x4f2e18[_0x2b285d(0xf5)]===0x0)throw _0x5bcb38;_0x5f30e2(_0x4f2e18,_0x5bcb38);return;}const _0x441f53=_0x4b5c4c?0x1bb:0x50,_0x4292e8=_0xf8b604(0x10)[_0x2b285d(0x244)]('base64'),_0x179868=_0x4b5c4c?_0x4ce484[_0x2b285d(0x17b)]:_0x5c22df[_0x2b285d(0x17b)],_0xd67912=new Set();let _0x406edc;if(_0x22c063[_0x2b285d(0x14c)]=_0x22c063['createConnection']||(_0x4b5c4c?_0x4109c3:_0x1e42cb),_0x22c063[_0x2b285d(0xd4)]=_0x22c063['defaultPort']||_0x441f53,_0x22c063[_0x2b285d(0x25c)]=_0x3ce652[_0x2b285d(0x25c)]||_0x441f53,_0x22c063['host']=_0x3ce652['hostname'][_0x2b285d(0x247)]('[')?_0x3ce652[_0x2b285d(0xd3)][_0x2b285d(0x271)](0x1,-0x1):_0x3ce652[_0x2b285d(0xd3)],_0x22c063[_0x2b285d(0xe2)]={..._0x22c063[_0x2b285d(0xe2)],'Sec-WebSocket-Version':_0x22c063['protocolVersion'],'Sec-WebSocket-Key':_0x4292e8,'Connection':_0x2b285d(0x19b),'Upgrade':'websocket'},_0x22c063[_0x2b285d(0x195)]=_0x3ce652['pathname']+_0x3ce652[_0x2b285d(0x120)],_0x22c063[_0x2b285d(0x117)]=_0x22c063[_0x2b285d(0x220)],_0x22c063[_0x2b285d(0xea)]&&(_0x406edc=new _0x1db2f8(_0x22c063[_0x2b285d(0xea)]!==!0x0?_0x22c063[_0x2b285d(0xea)]:{},!0x1,_0x22c063[_0x2b285d(0x15e)]),_0x22c063['headers'][_0x2b285d(0x200)]=_0x1646a8({[_0x1db2f8[_0x2b285d(0x270)]]:_0x406edc[_0x2b285d(0x177)]()})),_0x2b7e53[_0x2b285d(0xcb)]){for(const _0x3db7f9 of _0x2b7e53){if(typeof _0x3db7f9!=_0x2b285d(0x21d)||!_0x1e3e90[_0x2b285d(0x262)](_0x3db7f9)||_0xd67912[_0x2b285d(0x16e)](_0x3db7f9))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0xd67912[_0x2b285d(0x126)](_0x3db7f9);}_0x22c063['headers'][_0x2b285d(0x160)]=_0x2b7e53[_0x2b285d(0x261)](',');}if(_0x22c063[_0x2b285d(0x169)]&&(_0x22c063[_0x2b285d(0x22f)]<0xd?_0x22c063[_0x2b285d(0xe2)]['Sec-WebSocket-Origin']=_0x22c063['origin']:_0x22c063[_0x2b285d(0xe2)][_0x2b285d(0xeb)]=_0x22c063[_0x2b285d(0x169)]),(_0x3ce652['username']||_0x3ce652[_0x2b285d(0x236)])&&(_0x22c063[_0x2b285d(0x182)]=_0x3ce652[_0x2b285d(0x212)]+':'+_0x3ce652['password']),_0x30f439){const _0x2cb55b=_0x22c063[_0x2b285d(0x195)][_0x2b285d(0x290)](':');_0x22c063['socketPath']=_0x2cb55b[0x0],_0x22c063['path']=_0x2cb55b[0x1];}let _0x41d02a;if(_0x22c063[_0x2b285d(0x238)]){if(_0x4f2e18[_0x2b285d(0xf5)]===0x0){_0x4f2e18[_0x2b285d(0x1c2)]=_0x30f439,_0x4f2e18[_0x2b285d(0x1c5)]=_0x4b5c4c,_0x4f2e18[_0x2b285d(0x142)]=_0x30f439?_0x22c063['socketPath']:_0x3ce652[_0x2b285d(0x1e3)];const _0x16150b=_0x560915&&_0x560915['headers'];if(_0x560915={..._0x560915,'headers':{}},_0x16150b){for(const [_0x422ff6,_0x333dfc]of Object[_0x2b285d(0x167)](_0x16150b))_0x560915[_0x2b285d(0xe2)][_0x422ff6[_0x2b285d(0x276)]()]=_0x333dfc;}}else{if(_0x4f2e18[_0x2b285d(0x22e)]('redirect')===0x0){const _0x1e8b04=_0x30f439?_0x4f2e18[_0x2b285d(0x1c2)]?_0x22c063['socketPath']===_0x4f2e18[_0x2b285d(0x142)]:!0x1:_0x4f2e18[_0x2b285d(0x1c2)]?!0x1:_0x3ce652[_0x2b285d(0x1e3)]===_0x4f2e18[_0x2b285d(0x142)];(!_0x1e8b04||_0x4f2e18[_0x2b285d(0x1c5)]&&!_0x4b5c4c)&&(delete _0x22c063['headers'][_0x2b285d(0x174)],delete _0x22c063[_0x2b285d(0xe2)][_0x2b285d(0x12d)],_0x1e8b04||delete _0x22c063[_0x2b285d(0xe2)][_0x2b285d(0x1e3)],_0x22c063[_0x2b285d(0x182)]=void 0x0);}}_0x22c063[_0x2b285d(0x182)]&&!_0x560915[_0x2b285d(0xe2)]['authorization']&&(_0x560915[_0x2b285d(0xe2)][_0x2b285d(0x174)]=_0x2b285d(0x204)+Buffer[_0x2b285d(0x1b5)](_0x22c063[_0x2b285d(0x182)])[_0x2b285d(0x244)](_0x2b285d(0x1a2))),_0x41d02a=_0x4f2e18[_0x2b285d(0x25d)]=_0x179868(_0x22c063),_0x4f2e18[_0x2b285d(0xf5)]&&_0x4f2e18[_0x2b285d(0x121)](_0x2b285d(0x143),_0x4f2e18[_0x2b285d(0x24e)],_0x41d02a);}else _0x41d02a=_0x4f2e18[_0x2b285d(0x25d)]=_0x179868(_0x22c063);_0x22c063[_0x2b285d(0x117)]&&_0x41d02a['on'](_0x2b285d(0x117),()=>{_0x21e46f(_0x4f2e18,_0x41d02a,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x41d02a['on'](_0x2b285d(0x180),_0x17b5d7=>{const _0x10346f=_0x2b285d;_0x41d02a===null||_0x41d02a[_0x3d14cc]||(_0x41d02a=_0x4f2e18[_0x10346f(0x25d)]=null,_0x5f30e2(_0x4f2e18,_0x17b5d7));}),_0x41d02a['on'](_0x2b285d(0x28b),_0x2324ec=>{const _0x384133=_0x2b285d,_0xc02e23=_0x2324ec[_0x384133(0xe2)]['location'],_0x1ae054=_0x2324ec['statusCode'];if(_0xc02e23&&_0x22c063['followRedirects']&&_0x1ae054>=0x12c&&_0x1ae054<0x190){if(++_0x4f2e18[_0x384133(0xf5)]>_0x22c063[_0x384133(0x10c)]){_0x21e46f(_0x4f2e18,_0x41d02a,_0x384133(0x27a));return;}_0x41d02a[_0x384133(0x165)]();let _0x177987;try{_0x177987=new _0x120540(_0xc02e23,_0x18993d);}catch{const _0x1dd1f9=new SyntaxError(_0x384133(0x1b8)+_0xc02e23);_0x5f30e2(_0x4f2e18,_0x1dd1f9);return;}_0x2f8cf7(_0x4f2e18,_0x177987,_0x2b7e53,_0x560915);}else _0x4f2e18[_0x384133(0x121)](_0x384133(0x127),_0x41d02a,_0x2324ec)||_0x21e46f(_0x4f2e18,_0x41d02a,_0x384133(0x18b)+_0x2324ec[_0x384133(0x19e)]);}),_0x41d02a['on'](_0x2b285d(0x1f2),(_0x2fbad3,_0x47f2e6,_0x5238eb)=>{const _0x5a97bd=_0x2b285d;if(_0x4f2e18['emit'](_0x5a97bd(0x1f2),_0x2fbad3),_0x4f2e18['readyState']!==_0x24170e[_0x5a97bd(0x138)])return;_0x41d02a=_0x4f2e18['_req']=null;const _0x20dc1f=_0x2fbad3[_0x5a97bd(0xe2)]['upgrade'];if(_0x20dc1f===void 0x0||_0x20dc1f[_0x5a97bd(0x276)]()!==_0x5a97bd(0x13e)){_0x21e46f(_0x4f2e18,_0x47f2e6,_0x5a97bd(0x114));return;}const _0x1bc083=_0x34ceee(_0x5a97bd(0x258))[_0x5a97bd(0x256)](_0x4292e8+_0x331a2a)[_0x5a97bd(0x1d6)](_0x5a97bd(0x1a2));if(_0x2fbad3[_0x5a97bd(0xe2)][_0x5a97bd(0x154)]!==_0x1bc083){_0x21e46f(_0x4f2e18,_0x47f2e6,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x2bec1e=_0x2fbad3[_0x5a97bd(0xe2)]['sec-websocket-protocol'];let _0x40821f;if(_0x2bec1e!==void 0x0?_0xd67912[_0x5a97bd(0x184)]?_0xd67912[_0x5a97bd(0x16e)](_0x2bec1e)||(_0x40821f=_0x5a97bd(0x13c)):_0x40821f='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0xd67912[_0x5a97bd(0x184)]&&(_0x40821f=_0x5a97bd(0xed)),_0x40821f){_0x21e46f(_0x4f2e18,_0x47f2e6,_0x40821f);return;}_0x2bec1e&&(_0x4f2e18[_0x5a97bd(0x1a0)]=_0x2bec1e);const _0x364848=_0x2fbad3[_0x5a97bd(0xe2)][_0x5a97bd(0x27e)];if(_0x364848!==void 0x0){if(!_0x406edc){_0x21e46f(_0x4f2e18,_0x47f2e6,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x2faddd;try{_0x2faddd=_0x1865de(_0x364848);}catch{_0x21e46f(_0x4f2e18,_0x47f2e6,_0x5a97bd(0xfa));return;}const _0x500b8=Object[_0x5a97bd(0x1f1)](_0x2faddd);if(_0x500b8[_0x5a97bd(0xcb)]!==0x1||_0x500b8[0x0]!==_0x1db2f8[_0x5a97bd(0x270)]){_0x21e46f(_0x4f2e18,_0x47f2e6,_0x5a97bd(0x1fe));return;}try{_0x406edc['accept'](_0x2faddd[_0x1db2f8['extensionName']]);}catch{_0x21e46f(_0x4f2e18,_0x47f2e6,_0x5a97bd(0xfa));return;}_0x4f2e18[_0x5a97bd(0x133)][_0x1db2f8[_0x5a97bd(0x270)]]=_0x406edc;}_0x4f2e18[_0x5a97bd(0x1dc)](_0x47f2e6,_0x5238eb,{'allowSynchronousEvents':_0x22c063[_0x5a97bd(0x1b9)],'generateMask':_0x22c063['generateMask'],'maxPayload':_0x22c063[_0x5a97bd(0x15e)],'skipUTF8Validation':_0x22c063[_0x5a97bd(0x1ef)]});}),_0x22c063['finishRequest']?_0x22c063[_0x2b285d(0x166)](_0x41d02a,_0x4f2e18):_0x41d02a[_0x2b285d(0x1fd)]();}function _0x5f30e2(_0x6f1277,_0x251886){const _0x469adb=_0x3a5a4f;_0x6f1277[_0x469adb(0x156)]=_0x24170e[_0x469adb(0x149)],_0x6f1277[_0x469adb(0xcc)]=!0x0,_0x6f1277['emit']('error',_0x251886),_0x6f1277['emitClose']();}function _0x1e42cb(_0x169b28){const _0x2d00bf=_0x3a5a4f;return _0x169b28[_0x2d00bf(0x195)]=_0x169b28[_0x2d00bf(0x23d)],_0x8654d1[_0x2d00bf(0x12b)](_0x169b28);}function _0x4109c3(_0x4c5757){const _0x376fc0=_0x3a5a4f;return _0x4c5757[_0x376fc0(0x195)]=void 0x0,!_0x4c5757[_0x376fc0(0x201)]&&_0x4c5757[_0x376fc0(0x201)]!==''&&(_0x4c5757[_0x376fc0(0x201)]=_0x8654d1[_0x376fc0(0x21e)](_0x4c5757[_0x376fc0(0x1e3)])?'':_0x4c5757[_0x376fc0(0x1e3)]),_0x3eca69[_0x376fc0(0x12b)](_0x4c5757);}function _0x21e46f(_0x55204d,_0x122f59,_0x5b7397){const _0x4d44fc=_0x3a5a4f;_0x55204d['_readyState']=_0x24170e[_0x4d44fc(0x149)];const _0x8adbef=new Error(_0x5b7397);Error[_0x4d44fc(0x246)](_0x8adbef,_0x21e46f),_0x122f59[_0x4d44fc(0x1ad)]?(_0x122f59[_0x3d14cc]=!0x0,_0x122f59[_0x4d44fc(0x165)](),_0x122f59[_0x4d44fc(0xfb)]&&!_0x122f59[_0x4d44fc(0xfb)][_0x4d44fc(0x210)]&&_0x122f59[_0x4d44fc(0xfb)]['destroy'](),process[_0x4d44fc(0x215)](_0x5f30e2,_0x55204d,_0x8adbef)):(_0x122f59['destroy'](_0x8adbef),_0x122f59[_0x4d44fc(0x1ae)]('error',_0x55204d[_0x4d44fc(0x121)][_0x4d44fc(0xd0)](_0x55204d,_0x4d44fc(0x180))),_0x122f59['once'](_0x4d44fc(0x1dd),_0x55204d['emitClose'][_0x4d44fc(0xd0)](_0x55204d)));}function _0x1d9b5a(_0x5ce001,_0x310dc3,_0x4b4acf){const _0x53912f=_0x3a5a4f;if(_0x310dc3){const _0x4a4837=_0xd3ca34(_0x310dc3)?_0x310dc3[_0x53912f(0x184)]:_0x5ce18c(_0x310dc3)[_0x53912f(0xcb)];_0x5ce001[_0x53912f(0x172)]?_0x5ce001[_0x53912f(0x26b)][_0x53912f(0x280)]+=_0x4a4837:_0x5ce001[_0x53912f(0xe3)]+=_0x4a4837;}if(_0x4b4acf){const _0x150251=new Error(_0x53912f(0x15a)+_0x5ce001['readyState']+'\x20('+_0xa9d916[_0x5ce001['readyState']]+')');process[_0x53912f(0x215)](_0x4b4acf,_0x150251);}}function _0x24d5ac(_0xfb972,_0x299545){const _0x46348c=_0x3a5a4f,_0x28eb5e=this[_0xb628c1];_0x28eb5e['_closeFrameReceived']=!0x0,_0x28eb5e[_0x46348c(0x148)]=_0x299545,_0x28eb5e[_0x46348c(0x155)]=_0xfb972,_0x28eb5e['_socket'][_0xb628c1]!==void 0x0&&(_0x28eb5e[_0x46348c(0x172)][_0x46348c(0x1bb)](_0x46348c(0x1ab),_0x3243d5),process[_0x46348c(0x215)](_0x43a83e,_0x28eb5e[_0x46348c(0x172)]),_0xfb972===0x3ed?_0x28eb5e[_0x46348c(0x1dd)]():_0x28eb5e[_0x46348c(0x1dd)](_0xfb972,_0x299545));}function _0x31e3d1(){const _0x16617b=_0x3a5a4f,_0x1ac784=this[_0xb628c1];_0x1ac784[_0x16617b(0x1e1)]||_0x1ac784['_socket'][_0x16617b(0x27d)]();}function _0x127ae4(_0xf860e3){const _0x5218d0=_0x3a5a4f,_0x9fe9b3=this[_0xb628c1];_0x9fe9b3['_socket'][_0xb628c1]!==void 0x0&&(_0x9fe9b3[_0x5218d0(0x172)][_0x5218d0(0x1bb)](_0x5218d0(0x1ab),_0x3243d5),process[_0x5218d0(0x215)](_0x43a83e,_0x9fe9b3[_0x5218d0(0x172)]),_0x9fe9b3[_0x5218d0(0x1dd)](_0xf860e3[_0x204c08])),_0x9fe9b3[_0x5218d0(0xcc)]||(_0x9fe9b3['_errorEmitted']=!0x0,_0x9fe9b3[_0x5218d0(0x121)](_0x5218d0(0x180),_0xf860e3));}function _0x1ff8c4(){this[_0xb628c1]['emitClose']();}function _0x1d13d5(_0x1a80f9,_0x1540a6){this[_0xb628c1]['emit']('message',_0x1a80f9,_0x1540a6);}function _0x2df53e(_0x462682){const _0x34b1c2=_0x3a5a4f,_0x74eed=this[_0xb628c1];_0x74eed[_0x34b1c2(0x264)]&&_0x74eed['pong'](_0x462682,!this['_isServer'],_0x14fd1c),_0x74eed['emit'](_0x34b1c2(0x1d2),_0x462682);}function _0x459377(_0x2a0e62){const _0x5bf782=_0x3a5a4f;this[_0xb628c1]['emit'](_0x5bf782(0x1e9),_0x2a0e62);}function _0x43a83e(_0xf26974){const _0x3dd657=_0x3a5a4f;_0xf26974[_0x3dd657(0x27d)]();}function _0x2172f7(_0x319824){const _0x2f30c1=_0x3a5a4f,_0x26d753=this[_0xb628c1];_0x26d753[_0x2f30c1(0x213)]!==_0x24170e[_0x2f30c1(0x221)]&&(_0x26d753[_0x2f30c1(0x213)]===_0x24170e[_0x2f30c1(0x14b)]&&(_0x26d753[_0x2f30c1(0x156)]=_0x24170e[_0x2f30c1(0x149)],_0x3f164b(_0x26d753)),this['_socket'][_0x2f30c1(0x1fd)](),_0x26d753[_0x2f30c1(0xcc)]||(_0x26d753[_0x2f30c1(0xcc)]=!0x0,_0x26d753[_0x2f30c1(0x121)](_0x2f30c1(0x180),_0x319824)));}function _0x3f164b(_0xabd4bb){const _0x14b07d=_0x3a5a4f;_0xabd4bb[_0x14b07d(0x296)]=setTimeout(_0xabd4bb[_0x14b07d(0x172)]['destroy']['bind'](_0xabd4bb[_0x14b07d(0x172)]),_0xb64bc2);}function _0x1f62d5(){const _0x2813db=_0x3a5a4f,_0x1693b5=this[_0xb628c1];this[_0x2813db(0x1bb)](_0x2813db(0x1dd),_0x1f62d5),this[_0x2813db(0x1bb)](_0x2813db(0x1ab),_0x3243d5),this[_0x2813db(0x1bb)](_0x2813db(0x1fd),_0x2e805e),_0x1693b5[_0x2813db(0x156)]=_0x24170e[_0x2813db(0x149)];let _0x12dbf5;!this['_readableState'][_0x2813db(0x146)]&&!_0x1693b5[_0x2813db(0xfe)]&&!_0x1693b5[_0x2813db(0x129)]['_writableState'][_0x2813db(0x288)]&&(_0x12dbf5=_0x1693b5[_0x2813db(0x172)][_0x2813db(0xd2)]())!==null&&_0x1693b5[_0x2813db(0x129)][_0x2813db(0x1e7)](_0x12dbf5),_0x1693b5[_0x2813db(0x129)][_0x2813db(0x1fd)](),this[_0xb628c1]=void 0x0,clearTimeout(_0x1693b5[_0x2813db(0x296)]),_0x1693b5[_0x2813db(0x129)]['_writableState'][_0x2813db(0xe6)]||_0x1693b5[_0x2813db(0x129)][_0x2813db(0x11d)][_0x2813db(0x288)]?_0x1693b5[_0x2813db(0x19c)]():(_0x1693b5[_0x2813db(0x129)]['on'](_0x2813db(0x180),_0x1ff8c4),_0x1693b5[_0x2813db(0x129)]['on'](_0x2813db(0x171),_0x1ff8c4));}function _0x3243d5(_0x41d672){const _0xc3a617=_0x3a5a4f;this[_0xb628c1][_0xc3a617(0x129)][_0xc3a617(0x1e7)](_0x41d672)||this[_0xc3a617(0x1fa)]();}function _0x2e805e(){const _0x15dd31=_0x3a5a4f,_0xd4125=this[_0xb628c1];_0xd4125[_0x15dd31(0x156)]=_0x24170e[_0x15dd31(0x149)],_0xd4125['_receiver']['end'](),this[_0x15dd31(0x1fd)]();}function _0x5924d2(){const _0x32b6e3=_0x3a5a4f,_0x29e4dd=this[_0xb628c1];this[_0x32b6e3(0x1bb)]('error',_0x5924d2),this['on'](_0x32b6e3(0x180),_0x14fd1c),_0x29e4dd&&(_0x29e4dd[_0x32b6e3(0x156)]=_0x24170e[_0x32b6e3(0x149)],this['destroy']());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x21c21e}=oe;function _0x12bbbe(_0x5be559){const _0x413330=_0x401c;_0x5be559[_0x413330(0x121)]('close');}function _0xe51410(){const _0x109424=_0x401c;!this[_0x109424(0x210)]&&this['_writableState']['finished']&&this[_0x109424(0x124)]();}function _0x5f38c2(_0x28391c){const _0xd085d5=_0x401c;this[_0xd085d5(0x1bb)](_0xd085d5(0x180),_0x5f38c2),this['destroy'](),this[_0xd085d5(0x22e)]('error')===0x0&&this[_0xd085d5(0x121)]('error',_0x28391c);}function _0x44d15c(_0x42fd0b,_0x5713bb){const _0x4d0c4c=_0x401c;let _0x34eb57=!0x0;const _0x15bcb4=new _0x21c21e({..._0x5713bb,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x42fd0b['on'](_0x4d0c4c(0x248),function(_0x4d44a4,_0x4844c4){const _0x33cb0c=_0x4d0c4c,_0x2eaeb8=!_0x4844c4&&_0x15bcb4[_0x33cb0c(0x116)]['objectMode']?_0x4d44a4[_0x33cb0c(0x244)]():_0x4d44a4;_0x15bcb4['push'](_0x2eaeb8)||_0x42fd0b[_0x33cb0c(0x1fa)]();}),_0x42fd0b[_0x4d0c4c(0x1ae)](_0x4d0c4c(0x180),function(_0x3d62a0){const _0x562f11=_0x4d0c4c;_0x15bcb4[_0x562f11(0x210)]||(_0x34eb57=!0x1,_0x15bcb4[_0x562f11(0x124)](_0x3d62a0));}),_0x42fd0b[_0x4d0c4c(0x1ae)]('close',function(){const _0x3b8464=_0x4d0c4c;_0x15bcb4['destroyed']||_0x15bcb4[_0x3b8464(0x12f)](null);}),_0x15bcb4['_destroy']=function(_0x544bce,_0x305d04){const _0x1f16af=_0x4d0c4c;if(_0x42fd0b[_0x1f16af(0x213)]===_0x42fd0b[_0x1f16af(0x221)]){_0x305d04(_0x544bce),process[_0x1f16af(0x215)](_0x12bbbe,_0x15bcb4);return;}let _0x4d422f=!0x1;_0x42fd0b[_0x1f16af(0x1ae)]('error',function(_0x411f96){_0x4d422f=!0x0,_0x305d04(_0x411f96);}),_0x42fd0b[_0x1f16af(0x1ae)](_0x1f16af(0x1dd),function(){const _0x14cfb4=_0x1f16af;_0x4d422f||_0x305d04(_0x544bce),process[_0x14cfb4(0x215)](_0x12bbbe,_0x15bcb4);}),_0x34eb57&&_0x42fd0b['terminate']();},_0x15bcb4[_0x4d0c4c(0x218)]=function(_0x1a1f9c){const _0x14b735=_0x4d0c4c;if(_0x42fd0b['readyState']===_0x42fd0b[_0x14b735(0x138)]){_0x42fd0b[_0x14b735(0x1ae)](_0x14b735(0x1e5),function(){const _0xcad68e=_0x14b735;_0x15bcb4[_0xcad68e(0x218)](_0x1a1f9c);});return;}_0x42fd0b[_0x14b735(0x172)]!==null&&(_0x42fd0b[_0x14b735(0x172)]['_writableState'][_0x14b735(0xe6)]?(_0x1a1f9c(),_0x15bcb4[_0x14b735(0x116)][_0x14b735(0x146)]&&_0x15bcb4['destroy']()):(_0x42fd0b['_socket'][_0x14b735(0x1ae)]('finish',function(){_0x1a1f9c();}),_0x42fd0b[_0x14b735(0x1dd)]()));},_0x15bcb4[_0x4d0c4c(0x1cd)]=function(){const _0x267f23=_0x4d0c4c;_0x42fd0b[_0x267f23(0x1e1)]&&_0x42fd0b[_0x267f23(0x27d)]();},_0x15bcb4[_0x4d0c4c(0x1a4)]=function(_0x822d7,_0x176b1e,_0x10039d){const _0x54c4b3=_0x4d0c4c;if(_0x42fd0b['readyState']===_0x42fd0b[_0x54c4b3(0x138)]){_0x42fd0b[_0x54c4b3(0x1ae)](_0x54c4b3(0x1e5),function(){const _0x52238b=_0x54c4b3;_0x15bcb4[_0x52238b(0x1a4)](_0x822d7,_0x176b1e,_0x10039d);});return;}_0x42fd0b[_0x54c4b3(0x1b7)](_0x822d7,_0x10039d);},_0x15bcb4['on'](_0x4d0c4c(0x1fd),_0xe51410),_0x15bcb4['on'](_0x4d0c4c(0x180),_0x5f38c2),_0x15bcb4;}return Oe=_0x44d15c,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x586b02}=ae();function _0x3c470d(_0x18c9d3){const _0x308b6d=_0x401c,_0x5b6ae5=new Set();let _0x2278a8=-0x1,_0x539548=-0x1,_0x1a1caa=0x0;for(_0x1a1caa;_0x1a1caa<_0x18c9d3[_0x308b6d(0xcb)];_0x1a1caa++){const _0x37d608=_0x18c9d3[_0x308b6d(0x228)](_0x1a1caa);if(_0x539548===-0x1&&_0x586b02[_0x37d608]===0x1)_0x2278a8===-0x1&&(_0x2278a8=_0x1a1caa);else{if(_0x1a1caa!==0x0&&(_0x37d608===0x20||_0x37d608===0x9))_0x539548===-0x1&&_0x2278a8!==-0x1&&(_0x539548=_0x1a1caa);else{if(_0x37d608===0x2c){if(_0x2278a8===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1a1caa);_0x539548===-0x1&&(_0x539548=_0x1a1caa);const _0x57f1be=_0x18c9d3[_0x308b6d(0x271)](_0x2278a8,_0x539548);if(_0x5b6ae5[_0x308b6d(0x16e)](_0x57f1be))throw new SyntaxError('The\x20\x22'+_0x57f1be+'\x22\x20subprotocol\x20is\x20duplicated');_0x5b6ae5[_0x308b6d(0x126)](_0x57f1be),_0x2278a8=_0x539548=-0x1;}else throw new SyntaxError(_0x308b6d(0x102)+_0x1a1caa);}}}if(_0x2278a8===-0x1||_0x539548!==-0x1)throw new SyntaxError(_0x308b6d(0x20a));const _0x258232=_0x18c9d3['slice'](_0x2278a8,_0x1a1caa);if(_0x5b6ae5[_0x308b6d(0x16e)](_0x258232))throw new SyntaxError(_0x308b6d(0x239)+_0x258232+_0x308b6d(0x1aa));return _0x5b6ae5['add'](_0x258232),_0x5b6ae5;}return Ce={'parse':_0x3c470d},Ce;}var Te,rt;function Ft(){const _0x956ad6=_0x3b8394;if(rt)return Te;rt=0x1;const _0x5e4455=nt,_0x41f223=ot,{Duplex:_0x1e3df4}=oe,{createHash:_0x56629a}=Le,_0x6f57a5=ct(),_0x10af67=he(),_0x34646d=At(),_0x4460b0=Pe(),{GUID:_0x372433,kWebSocket:_0x130f8e}=H(),_0x70f6c7=/^[+/0-9A-Za-z]{22}==$/,_0x40c609=0x0,_0x200163=0x1,_0x50fec0=0x2;class _0x5bc56e extends _0x5e4455{constructor(_0x2b10a6,_0x428a8b){const _0x3293d6=_0x401c;if(super(),_0x2b10a6={'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':_0x4460b0,..._0x2b10a6},_0x2b10a6[_0x3293d6(0x25c)]==null&&!_0x2b10a6[_0x3293d6(0xd9)]&&!_0x2b10a6[_0x3293d6(0x12a)]||_0x2b10a6[_0x3293d6(0x25c)]!=null&&(_0x2b10a6['server']||_0x2b10a6['noServer'])||_0x2b10a6[_0x3293d6(0xd9)]&&_0x2b10a6[_0x3293d6(0x12a)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x2b10a6['port']!=null?(this[_0x3293d6(0x115)]=_0x41f223['createServer']((_0x2ca03f,_0x74a9d1)=>{const _0x5c423d=_0x3293d6,_0x26503c=_0x41f223['STATUS_CODES'][0x1aa];_0x74a9d1[_0x5c423d(0x191)](0x1aa,{'Content-Length':_0x26503c[_0x5c423d(0xcb)],'Content-Type':'text/plain'}),_0x74a9d1['end'](_0x26503c);}),this[_0x3293d6(0x115)][_0x3293d6(0x1a7)](_0x2b10a6[_0x3293d6(0x25c)],_0x2b10a6[_0x3293d6(0x1e3)],_0x2b10a6[_0x3293d6(0x1a9)],_0x428a8b)):_0x2b10a6[_0x3293d6(0xd9)]&&(this[_0x3293d6(0x115)]=_0x2b10a6['server']),this[_0x3293d6(0x115)]){const _0x441909=this[_0x3293d6(0x121)][_0x3293d6(0xd0)](this,_0x3293d6(0x233));this[_0x3293d6(0x11c)]=_0x4a0c0c(this[_0x3293d6(0x115)],{'listening':this['emit'][_0x3293d6(0xd0)](this,_0x3293d6(0x1e0)),'error':this['emit']['bind'](this,'error'),'upgrade':(_0x2e098f,_0x35d428,_0x4f6d76)=>{const _0x28b4d2=_0x3293d6;this[_0x28b4d2(0x136)](_0x2e098f,_0x35d428,_0x4f6d76,_0x441909);}});}_0x2b10a6[_0x3293d6(0xea)]===!0x0&&(_0x2b10a6['perMessageDeflate']={}),_0x2b10a6[_0x3293d6(0x20e)]&&(this[_0x3293d6(0x137)]=new Set(),this['_shouldEmitClose']=!0x1),this['options']=_0x2b10a6,this['_state']=_0x40c609;}[_0x956ad6(0x122)](){const _0x540662=_0x956ad6;if(this[_0x540662(0x20c)][_0x540662(0x12a)])throw new Error(_0x540662(0xc5));return this['_server']?this[_0x540662(0x115)][_0x540662(0x122)]():null;}[_0x956ad6(0x1dd)](_0x1c0993){const _0xa6d256=_0x956ad6;if(this['_state']===_0x50fec0){_0x1c0993&&this['once'](_0xa6d256(0x1dd),()=>{const _0x24f480=_0xa6d256;_0x1c0993(new Error(_0x24f480(0x1af)));}),process[_0xa6d256(0x215)](_0x27332a,this);return;}if(_0x1c0993&&this[_0xa6d256(0x1ae)]('close',_0x1c0993),this[_0xa6d256(0x151)]!==_0x200163){if(this[_0xa6d256(0x151)]=_0x200163,this['options'][_0xa6d256(0x12a)]||this[_0xa6d256(0x20c)][_0xa6d256(0xd9)])this[_0xa6d256(0x115)]&&(this[_0xa6d256(0x11c)](),this[_0xa6d256(0x11c)]=this['_server']=null),this['clients']?this[_0xa6d256(0x137)][_0xa6d256(0x184)]?this[_0xa6d256(0x21c)]=!0x0:process[_0xa6d256(0x215)](_0x27332a,this):process[_0xa6d256(0x215)](_0x27332a,this);else{const _0x2bd409=this[_0xa6d256(0x115)];this[_0xa6d256(0x11c)](),this[_0xa6d256(0x11c)]=this['_server']=null,_0x2bd409[_0xa6d256(0x1dd)](()=>{_0x27332a(this);});}}}[_0x956ad6(0x1b4)](_0xe5f3d5){const _0x138bc9=_0x956ad6;if(this[_0x138bc9(0x20c)][_0x138bc9(0x195)]){const _0x20bb18=_0xe5f3d5[_0x138bc9(0x24e)][_0x138bc9(0x26e)]('?');if((_0x20bb18!==-0x1?_0xe5f3d5[_0x138bc9(0x24e)]['slice'](0x0,_0x20bb18):_0xe5f3d5[_0x138bc9(0x24e)])!==this[_0x138bc9(0x20c)][_0x138bc9(0x195)])return!0x1;}return!0x0;}[_0x956ad6(0x136)](_0xc7e4,_0xb72b2d,_0xe54279,_0x503661){const _0x567fbf=_0x956ad6;_0xb72b2d['on'](_0x567fbf(0x180),_0x5753d0);const _0x5e3e9e=_0xc7e4[_0x567fbf(0xe2)][_0x567fbf(0x1d9)],_0x145ebc=_0xc7e4[_0x567fbf(0xe2)][_0x567fbf(0x1f2)],_0x55d375=+_0xc7e4[_0x567fbf(0xe2)]['sec-websocket-version'];if(_0xc7e4[_0x567fbf(0xf1)]!==_0x567fbf(0x130)){_0x4e90ae(this,_0xc7e4,_0xb72b2d,0x195,_0x567fbf(0xf4));return;}if(_0x145ebc===void 0x0||_0x145ebc[_0x567fbf(0x276)]()!==_0x567fbf(0x13e)){_0x4e90ae(this,_0xc7e4,_0xb72b2d,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x5e3e9e===void 0x0||!_0x70f6c7['test'](_0x5e3e9e)){_0x4e90ae(this,_0xc7e4,_0xb72b2d,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x55d375!==0x8&&_0x55d375!==0xd){_0x4e90ae(this,_0xc7e4,_0xb72b2d,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this[_0x567fbf(0x1b4)](_0xc7e4)){_0x1f9450(_0xb72b2d,0x190);return;}const _0x118434=_0xc7e4[_0x567fbf(0xe2)][_0x567fbf(0x1bc)];let _0x9fed9c=new Set();if(_0x118434!==void 0x0)try{_0x9fed9c=_0x34646d[_0x567fbf(0x289)](_0x118434);}catch{_0x4e90ae(this,_0xc7e4,_0xb72b2d,0x190,_0x567fbf(0x260));return;}const _0x124999=_0xc7e4[_0x567fbf(0xe2)][_0x567fbf(0x27e)],_0x4160d1={};if(this[_0x567fbf(0x20c)][_0x567fbf(0xea)]&&_0x124999!==void 0x0){const _0xb13e7=new _0x10af67(this[_0x567fbf(0x20c)]['perMessageDeflate'],!0x0,this[_0x567fbf(0x20c)]['maxPayload']);try{const _0xa55408=_0x6f57a5[_0x567fbf(0x289)](_0x124999);_0xa55408[_0x10af67['extensionName']]&&(_0xb13e7[_0x567fbf(0x27c)](_0xa55408[_0x10af67[_0x567fbf(0x270)]]),_0x4160d1[_0x10af67['extensionName']]=_0xb13e7);}catch{_0x4e90ae(this,_0xc7e4,_0xb72b2d,0x190,_0x567fbf(0x118));return;}}if(this[_0x567fbf(0x20c)][_0x567fbf(0x131)]){const _0x4516dd={'origin':_0xc7e4['headers'][''+(_0x55d375===0x8?'sec-websocket-origin':_0x567fbf(0x169))],'secure':!!(_0xc7e4[_0x567fbf(0xfb)][_0x567fbf(0x157)]||_0xc7e4[_0x567fbf(0xfb)][_0x567fbf(0x132)]),'req':_0xc7e4};if(this['options'][_0x567fbf(0x131)]['length']===0x2){this['options']['verifyClient'](_0x4516dd,(_0xa46677,_0x46cd9f,_0x13e6d,_0x636ab1)=>{if(!_0xa46677)return _0x1f9450(_0xb72b2d,_0x46cd9f||0x191,_0x13e6d,_0x636ab1);this['completeUpgrade'](_0x4160d1,_0x5e3e9e,_0x9fed9c,_0xc7e4,_0xb72b2d,_0xe54279,_0x503661);});return;}if(!this[_0x567fbf(0x20c)][_0x567fbf(0x131)](_0x4516dd))return _0x1f9450(_0xb72b2d,0x191);}this[_0x567fbf(0xf9)](_0x4160d1,_0x5e3e9e,_0x9fed9c,_0xc7e4,_0xb72b2d,_0xe54279,_0x503661);}[_0x956ad6(0xf9)](_0x33391e,_0x48b338,_0x4b8e01,_0x14759f,_0x181d6b,_0x2952bb,_0xabb1ad){const _0x3d51be=_0x956ad6;if(!_0x181d6b[_0x3d51be(0x16b)]||!_0x181d6b['writable'])return _0x181d6b[_0x3d51be(0x124)]();if(_0x181d6b[_0x130f8e])throw new Error(_0x3d51be(0x199));if(this[_0x3d51be(0x151)]>_0x40c609)return _0x1f9450(_0x181d6b,0x1f7);const _0x2289c9=[_0x3d51be(0x113),'Upgrade:\x20websocket',_0x3d51be(0x20f),_0x3d51be(0x268)+_0x56629a('sha1')[_0x3d51be(0x256)](_0x48b338+_0x372433)[_0x3d51be(0x1d6)](_0x3d51be(0x1a2))],_0x86b435=new this[(_0x3d51be(0x20c))][(_0x3d51be(0x1d0))](null,void 0x0,this[_0x3d51be(0x20c)]);if(_0x4b8e01[_0x3d51be(0x184)]){const _0x2d92d8=this[_0x3d51be(0x20c)]['handleProtocols']?this[_0x3d51be(0x20c)][_0x3d51be(0xe7)](_0x4b8e01,_0x14759f):_0x4b8e01[_0x3d51be(0x224)]()[_0x3d51be(0x1f3)]()[_0x3d51be(0x1f0)];_0x2d92d8&&(_0x2289c9[_0x3d51be(0x12f)](_0x3d51be(0x14a)+_0x2d92d8),_0x86b435[_0x3d51be(0x1a0)]=_0x2d92d8);}if(_0x33391e[_0x10af67[_0x3d51be(0x270)]]){const _0x30cfac=_0x33391e[_0x10af67[_0x3d51be(0x270)]][_0x3d51be(0x107)],_0x502467=_0x6f57a5['format']({[_0x10af67[_0x3d51be(0x270)]]:[_0x30cfac]});_0x2289c9[_0x3d51be(0x12f)](_0x3d51be(0x277)+_0x502467),_0x86b435[_0x3d51be(0x133)]=_0x33391e;}this[_0x3d51be(0x121)](_0x3d51be(0xe2),_0x2289c9,_0x14759f),_0x181d6b['write'](_0x2289c9[_0x3d51be(0x1f5)]('\x0d\x0a')[_0x3d51be(0x261)]('\x0d\x0a')),_0x181d6b[_0x3d51be(0x1bb)](_0x3d51be(0x180),_0x5753d0),_0x86b435['setSocket'](_0x181d6b,_0x2952bb,{'allowSynchronousEvents':this[_0x3d51be(0x20c)]['allowSynchronousEvents'],'maxPayload':this[_0x3d51be(0x20c)]['maxPayload'],'skipUTF8Validation':this['options']['skipUTF8Validation']}),this[_0x3d51be(0x137)]&&(this[_0x3d51be(0x137)][_0x3d51be(0x126)](_0x86b435),_0x86b435['on']('close',()=>{const _0x238649=_0x3d51be;this['clients'][_0x238649(0xf8)](_0x86b435),this[_0x238649(0x21c)]&&!this[_0x238649(0x137)][_0x238649(0x184)]&&process[_0x238649(0x215)](_0x27332a,this);})),_0xabb1ad(_0x86b435,_0x14759f);}}Te=_0x5bc56e;function _0x4a0c0c(_0x1ffa0f,_0x1a6a30){for(const _0x46ca17 of Object['keys'](_0x1a6a30))_0x1ffa0f['on'](_0x46ca17,_0x1a6a30[_0x46ca17]);return function(){const _0xd6055a=_0x401c;for(const _0x2013f4 of Object[_0xd6055a(0x1f1)](_0x1a6a30))_0x1ffa0f[_0xd6055a(0x1bb)](_0x2013f4,_0x1a6a30[_0x2013f4]);};}function _0x27332a(_0x4d6b72){const _0x56f15e=_0x956ad6;_0x4d6b72[_0x56f15e(0x151)]=_0x50fec0,_0x4d6b72[_0x56f15e(0x121)](_0x56f15e(0x1dd));}function _0x5753d0(){const _0x37bb83=_0x956ad6;this[_0x37bb83(0x124)]();}function _0x1f9450(_0x54f4de,_0x29a05b,_0x44c2ae,_0x54dcae){const _0x399156=_0x956ad6;_0x44c2ae=_0x44c2ae||_0x41f223[_0x399156(0x173)][_0x29a05b],_0x54dcae={'Connection':_0x399156(0x1dd),'Content-Type':_0x399156(0xdc),'Content-Length':Buffer[_0x399156(0x1a5)](_0x44c2ae),..._0x54dcae},_0x54f4de[_0x399156(0x1ae)]('finish',_0x54f4de['destroy']),_0x54f4de[_0x399156(0x1fd)](_0x399156(0x24c)+_0x29a05b+'\x20'+_0x41f223[_0x399156(0x173)][_0x29a05b]+'\x0d\x0a'+Object[_0x399156(0x1f1)](_0x54dcae)[_0x399156(0x18f)](_0x2e957a=>_0x2e957a+':\x20'+_0x54dcae[_0x2e957a])[_0x399156(0x261)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x44c2ae);}function _0x4e90ae(_0x5df500,_0x21cfb1,_0x4f9be4,_0x224fce,_0x3209d0){const _0x25276e=_0x956ad6;if(_0x5df500[_0x25276e(0x22e)](_0x25276e(0x28a))){const _0x51597c=new Error(_0x3209d0);Error[_0x25276e(0x246)](_0x51597c,_0x4e90ae),_0x5df500[_0x25276e(0x121)](_0x25276e(0x28a),_0x51597c,_0x4f9be4,_0x21cfb1);}else _0x1f9450(_0x4f9be4,_0x224fce,_0x3209d0);}return Te;}Ft();var jt=Object[_0x3b8394(0xf3)],Wt=(_0x2a8309,_0x3302be,_0x524432,_0x4ac908)=>{for(var _0x1ffbe8=_0x4ac908>0x1?void 0x0:_0x4ac908?jt(_0x3302be,_0x524432):_0x3302be,_0x5889de=_0x2a8309['length']-0x1,_0x2521fd;_0x5889de>=0x0;_0x5889de--)(_0x2521fd=_0x2a8309[_0x5889de])&&(_0x1ffbe8=_0x2521fd(_0x1ffbe8)||_0x1ffbe8);return _0x1ffbe8;},qt=(_0x76290f,_0x3af057)=>(_0x493d94,_0x502b6b)=>_0x3af057(_0x493d94,_0x502b6b,_0x76290f);let ke=class extends A[_0x3b8394(0x1f8)]{constructor(_0x12a060){super(),this['_configService']=_0x12a060;}['createSocket'](_0x30aea4){const _0x31f38f=_0x3b8394;var _0x520656;const _0x72df03=(_0x520656=this['_configService'][_0x31f38f(0x192)](fe))==null?void 0x0:_0x520656[_0x31f38f(0x193)];try{const _0x56cef4=new $t(_0x30aea4,{'headers':{..._0x72df03}}),_0x1a2956=new A[(_0x31f38f(0x1e2))]();return{'URL':_0x30aea4,'close':(_0x19df03,_0x3a5334)=>{const _0x4d8287=_0x31f38f;_0x56cef4[_0x4d8287(0x1dd)](_0x19df03,_0x3a5334),_0x1a2956[_0x4d8287(0x12e)]();},'send':_0x32c0a4=>{const _0x2300bc=_0x31f38f;_0x56cef4[_0x2300bc(0x1b7)](_0x32c0a4);},'open$':new V['Observable'](_0x333338=>{const _0x650c3d=_0x31f38f,_0x393ab0=_0x4c9920=>_0x333338[_0x650c3d(0x1f3)](_0x4c9920);_0x56cef4[_0x650c3d(0x20b)](_0x650c3d(0x1e5),_0x393ab0),_0x1a2956[_0x650c3d(0x126)](A['toDisposable'](()=>_0x56cef4['removeEventListener']('open',_0x393ab0)));})[_0x31f38f(0x284)](V[_0x31f38f(0x158)]()),'close$':new V[(_0x31f38f(0x196))](_0x1af2c0=>{const _0x37795d=_0x31f38f,_0x49f437=_0xc29d88=>_0x1af2c0['next'](_0xc29d88);_0x56cef4[_0x37795d(0x20b)]('close',_0x49f437),_0x1a2956['add'](A[_0x37795d(0xec)](()=>_0x56cef4[_0x37795d(0x10d)]('close',_0x49f437)));})[_0x31f38f(0x284)](V[_0x31f38f(0x158)]()),'error$':new V[(_0x31f38f(0x196))](_0x5e0d17=>{const _0x3cff7e=_0x31f38f,_0x137653=_0x45e528=>_0x5e0d17['next'](_0x45e528);_0x56cef4[_0x3cff7e(0x20b)](_0x3cff7e(0x180),_0x137653),_0x1a2956[_0x3cff7e(0x126)](A[_0x3cff7e(0xec)](()=>_0x56cef4[_0x3cff7e(0x10d)](_0x3cff7e(0x180),_0x137653)));})[_0x31f38f(0x284)](V[_0x31f38f(0x158)]()),'message$':new V[(_0x31f38f(0x196))](_0x508a4d=>{const _0x2a7928=_0x31f38f,_0x31612e=_0x52dcec=>_0x508a4d[_0x2a7928(0x1f3)](_0x52dcec);_0x56cef4['addEventListener'](_0x2a7928(0x248),_0x31612e),_0x1a2956[_0x2a7928(0x126)](A[_0x2a7928(0xec)](()=>_0x56cef4[_0x2a7928(0x10d)](_0x2a7928(0x248),_0x31612e)));})[_0x31f38f(0x284)](V[_0x31f38f(0x158)]())};}catch(_0x5b4949){return console[_0x31f38f(0x180)](_0x5b4949),null;}}};ke=Wt([qt(0x0,A['IConfigService'])],ke);var Gt=Object[_0x3b8394(0x1e4)],Vt=Object[_0x3b8394(0xf3)],Ht=(_0x119846,_0x2a589c,_0x196cad)=>_0x2a589c in _0x119846?Gt(_0x119846,_0x2a589c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x196cad}):_0x119846[_0x2a589c]=_0x196cad,zt=(_0x3916eb,_0x2c2e48,_0x3bb4fc,_0x5dafcf)=>{const _0x1d4b84=_0x3b8394;for(var _0x3f8229=_0x5dafcf>0x1?void 0x0:_0x5dafcf?Vt(_0x2c2e48,_0x3bb4fc):_0x2c2e48,_0x41d36c=_0x3916eb[_0x1d4b84(0xcb)]-0x1,_0x29bd9f;_0x41d36c>=0x0;_0x41d36c--)(_0x29bd9f=_0x3916eb[_0x41d36c])&&(_0x3f8229=_0x29bd9f(_0x3f8229)||_0x3f8229);return _0x3f8229;},Ne=(_0x3a4056,_0x3c5b7d)=>(_0x1c46dc,_0x56032b)=>_0x3c5b7d(_0x1c46dc,_0x56032b,_0x3a4056),Yt=(_0x2e6e7f,_0x3b2da6,_0x3f70bf)=>Ht(_0x2e6e7f,_0x3b2da6+'',_0x3f70bf);exports[_0x3b8394(0xd6)]=class extends A[_0x3b8394(0x13f)]{constructor(_0x5131b4=Ct,_0x405f5e,_0x5e6290,_0x1dc22d){const _0x3570ea=_0x3b8394;_0x5131b4['customHeaders']||_0x405f5e[_0x3570ea(0x203)](_0x3570ea(0x241)),super(),this[_0x3570ea(0xe0)]=_0x5e6290,this['_injector']=_0x1dc22d,this['_configService']['setConfig'](fe,_0x5131b4);}[_0x3b8394(0x18c)](){this['_registerDependencies']();}['_registerDependencies'](){const _0x52989e=_0x3b8394;A['registerDependencies'](this[_0x52989e(0x178)],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports[_0x3b8394(0xd6)],_0x3b8394(0x278),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports[_0x3b8394(0xd6)]=zt([A[_0x3b8394(0x15f)](st[_0x3b8394(0x1b0)]),Ne(0x1,A[_0x3b8394(0x1b2)]),Ne(0x2,A[_0x3b8394(0x170)]),Ne(0x3,A[_0x3b8394(0x274)](A[_0x3b8394(0x189)]))],exports['UniverCollaborationClientNodePlugin']);var Kt=Object[_0x3b8394(0xf3)],Xt=(_0x4bff0c,_0x511216,_0x1f6059,_0xbec1d2)=>{for(var _0x1117ac=_0xbec1d2>0x1?void 0x0:_0xbec1d2?Kt(_0x511216,_0x1f6059):_0x511216,_0x77c229=_0x4bff0c['length']-0x1,_0x200d7e;_0x77c229>=0x0;_0x77c229--)(_0x200d7e=_0x4bff0c[_0x77c229])&&(_0x1117ac=_0x200d7e(_0x1117ac)||_0x1117ac);return _0x1117ac;},ne=(_0x4f8c95,_0x2b1886)=>(_0x21eb1c,_0x2bb87a)=>_0x2b1886(_0x21eb1c,_0x2bb87a,_0x4f8c95);exports[_0x3b8394(0x1c9)]=class extends st[_0x3b8394(0x17c)]{constructor(_0x5a23c0,_0x3dca76,_0x268cf0,_0x26b0e5,_0x1c66f2){const _0x8be875=_0x3b8394;super(_0x5a23c0,_0x3dca76,_0x268cf0,_0x26b0e5,_0x1c66f2);const _0x1925d0=this['_configService'][_0x8be875(0x192)](fe);this[_0x8be875(0xde)][_0x8be875(0x162)]({'interceptor':(_0x4aa07f,_0x4f2ce9)=>{const _0x53c5a7=_0x8be875;var _0x1f69b7;const _0x663ca7=_0x4aa07f[_0x53c5a7(0xe2)];return(_0x1f69b7=_0x1925d0==null?void 0x0:_0x1925d0[_0x53c5a7(0x193)])!=null&&_0x1f69b7[_0x53c5a7(0x12d)]&&_0x663ca7[_0x53c5a7(0x252)](_0x53c5a7(0xda),_0x1925d0[_0x53c5a7(0x193)][_0x53c5a7(0x12d)]),_0x4f2ce9(_0x4aa07f);}});}async[_0x3b8394(0x1ea)](_0x22bcdd){const _0x35d427=_0x3b8394;return this[_0x35d427(0x242)](_0x22bcdd);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A[_0x3b8394(0x274)](A[_0x3b8394(0x189)])),ne(0x1,A[_0x3b8394(0x274)](it[_0x3b8394(0x259)])),ne(0x2,A[_0x3b8394(0x170)]),ne(0x3,A[_0x3b8394(0x1b2)]),ne(0x4,Ot[_0x3b8394(0x25f)])],exports[_0x3b8394(0x1c9)]),exports['COLLABORATION_CLIENT_NODE_CONFIG_KEY']=fe;
|