@univerjs-pro/collaboration-client-node 0.6.9-experimental.20250403-d914ddc → 0.6.9-experimental.20250406-d422c87

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 CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x524c07=_0x2d44;(function(_0x326a36,_0x90cdb2){const _0x5a3848=_0x2d44,_0x468ea3=_0x326a36();while(!![]){try{const _0x379349=-parseInt(_0x5a3848(0x29c))/0x1+-parseInt(_0x5a3848(0x2ef))/0x2+parseInt(_0x5a3848(0x186))/0x3*(-parseInt(_0x5a3848(0x271))/0x4)+parseInt(_0x5a3848(0x1ca))/0x5+parseInt(_0x5a3848(0x239))/0x6+-parseInt(_0x5a3848(0x2de))/0x7*(parseInt(_0x5a3848(0x229))/0x8)+parseInt(_0x5a3848(0x1f3))/0x9*(parseInt(_0x5a3848(0x1da))/0xa);if(_0x379349===_0x90cdb2)break;else _0x468ea3['push'](_0x468ea3['shift']());}catch(_0x588bc0){_0x468ea3['push'](_0x468ea3['shift']());}}}(_0x2a46,0xd6772));Object[_0x524c07(0x1f9)](exports,Symbol[_0x524c07(0x187)],{'value':'Module'});const st=require(_0x524c07(0x2e0)),A=require(_0x524c07(0x25e)),it=require(_0x524c07(0x17e)),V=require(_0x524c07(0x30b)),nt=require(_0x524c07(0x182)),vt=require(_0x524c07(0x165)),ot=require(_0x524c07(0x25f)),St=require('net'),Et=require(_0x524c07(0x257)),Le=require(_0x524c07(0x2ad)),oe=require(_0x524c07(0x1ed)),xt=require(_0x524c07(0x26d)),bt=require(_0x524c07(0x1d5)),wt=require(_0x524c07(0x20a)),Ot=require(_0x524c07(0x19f)),fe=_0x524c07(0x2bb),Ct={'customHeaders':{}};function Tt(_0x32be55){const _0x52e56d=_0x524c07;return _0x32be55&&_0x32be55[_0x52e56d(0x26a)]&&Object[_0x52e56d(0x31d)]['hasOwnProperty'][_0x52e56d(0x1fb)](_0x32be55,_0x52e56d(0x313))?_0x32be55['default']:_0x32be55;}function at(_0xc5201d){const _0x2a22e8=_0x524c07;if(Object['prototype'][_0x2a22e8(0x231)][_0x2a22e8(0x1fb)](_0xc5201d,_0x2a22e8(0x26a)))return _0xc5201d;var _0x431f30=_0xc5201d[_0x2a22e8(0x313)];if(typeof _0x431f30=='function'){var _0x1f3f64=function _0x24e367(){const _0x5e819e=_0x2a22e8;return this instanceof _0x24e367?Reflect[_0x5e819e(0x1af)](_0x431f30,arguments,this['constructor']):_0x431f30['apply'](this,arguments);};_0x1f3f64[_0x2a22e8(0x31d)]=_0x431f30['prototype'];}else _0x1f3f64={};return Object[_0x2a22e8(0x1f9)](_0x1f3f64,_0x2a22e8(0x26a),{'value':!0x0}),Object[_0x2a22e8(0x1ae)](_0xc5201d)[_0x2a22e8(0x23d)](function(_0x29a8cd){const _0x52054c=_0x2a22e8;var _0x1277be=Object[_0x52054c(0x1b9)](_0xc5201d,_0x29a8cd);Object[_0x52054c(0x1f9)](_0x1f3f64,_0x29a8cd,_0x1277be[_0x52054c(0x2f5)]?_0x1277be:{'enumerable':!0x0,'get':function(){return _0xc5201d[_0x29a8cd];}});}),_0x1f3f64;}var se={'exports':{}},ge,Ge;function H(){const _0x1b8af3=_0x524c07;if(Ge)return ge;Ge=0x1;const _0x1486b8=[_0x1b8af3(0x1eb),_0x1b8af3(0x1dc),_0x1b8af3(0x2cd)],_0x39e302=typeof Blob<'u';return _0x39e302&&_0x1486b8[_0x1b8af3(0x1e9)]('blob'),ge={'BINARY_TYPES':_0x1486b8,'EMPTY_BUFFER':Buffer[_0x1b8af3(0x18c)](0x0),'GUID':_0x1b8af3(0x17c),'hasBlob':_0x39e302,'kForOnEventAttribute':Symbol(_0x1b8af3(0x24a)),'kListener':Symbol('kListener'),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Nt={},kt=Object['freeze'](Object[_0x524c07(0x1f9)]({'__proto__':null,'default':Nt},Symbol[_0x524c07(0x187)],{'value':_0x524c07(0x31f)})),Lt=at(kt);var Ve;function _0x2d44(_0x23252c,_0x489d88){const _0x2a4694=_0x2a46();return _0x2d44=function(_0x2d445a,_0x556780){_0x2d445a=_0x2d445a-0x15e;let _0x410034=_0x2a4694[_0x2d445a];return _0x410034;},_0x2d44(_0x23252c,_0x489d88);}function ce(){const _0x4db8a7=_0x524c07;if(Ve)return se[_0x4db8a7(0x184)];Ve=0x1;const {EMPTY_BUFFER:_0x33c2d1}=H(),_0x2240ba=Buffer[Symbol[_0x4db8a7(0x1b0)]];function _0x578715(_0x450efc,_0x2d6644){const _0x3012f8=_0x4db8a7;if(_0x450efc[_0x3012f8(0x2ec)]===0x0)return _0x33c2d1;if(_0x450efc['length']===0x1)return _0x450efc[0x0];const _0x3b85ea=Buffer['allocUnsafe'](_0x2d6644);let _0x161358=0x0;for(let _0x2d47fe=0x0;_0x2d47fe<_0x450efc[_0x3012f8(0x2ec)];_0x2d47fe++){const _0x4afc7=_0x450efc[_0x2d47fe];_0x3b85ea['set'](_0x4afc7,_0x161358),_0x161358+=_0x4afc7[_0x3012f8(0x2ec)];}return _0x161358<_0x2d6644?new _0x2240ba(_0x3b85ea[_0x3012f8(0x20a)],_0x3b85ea[_0x3012f8(0x304)],_0x161358):_0x3b85ea;}function _0x256394(_0x3c8f13,_0x294a55,_0x26ad87,_0x75dcd4,_0x556aaa){for(let _0x1fcafa=0x0;_0x1fcafa<_0x556aaa;_0x1fcafa++)_0x26ad87[_0x75dcd4+_0x1fcafa]=_0x3c8f13[_0x1fcafa]^_0x294a55[_0x1fcafa&0x3];}function _0x1cfec3(_0x4c154f,_0x5ae182){const _0x3ef9ec=_0x4db8a7;for(let _0xbe125b=0x0;_0xbe125b<_0x4c154f[_0x3ef9ec(0x2ec)];_0xbe125b++)_0x4c154f[_0xbe125b]^=_0x5ae182[_0xbe125b&0x3];}function _0x4d0d16(_0x3ba133){const _0x5743d3=_0x4db8a7;return _0x3ba133[_0x5743d3(0x2ec)]===_0x3ba133[_0x5743d3(0x20a)]['byteLength']?_0x3ba133[_0x5743d3(0x20a)]:_0x3ba133[_0x5743d3(0x20a)]['slice'](_0x3ba133[_0x5743d3(0x304)],_0x3ba133[_0x5743d3(0x304)]+_0x3ba133[_0x5743d3(0x2ec)]);}function _0x14a8ee(_0x5c289a){const _0x4734c7=_0x4db8a7;if(_0x14a8ee['readOnly']=!0x0,Buffer[_0x4734c7(0x27b)](_0x5c289a))return _0x5c289a;let _0x21c127;return _0x5c289a instanceof ArrayBuffer?_0x21c127=new _0x2240ba(_0x5c289a):ArrayBuffer[_0x4734c7(0x1a0)](_0x5c289a)?_0x21c127=new _0x2240ba(_0x5c289a[_0x4734c7(0x20a)],_0x5c289a['byteOffset'],_0x5c289a[_0x4734c7(0x199)]):(_0x21c127=Buffer[_0x4734c7(0x285)](_0x5c289a),_0x14a8ee[_0x4734c7(0x2ae)]=!0x1),_0x21c127;}if(se[_0x4db8a7(0x184)]={'concat':_0x578715,'mask':_0x256394,'toArrayBuffer':_0x4d0d16,'toBuffer':_0x14a8ee,'unmask':_0x1cfec3},!process[_0x4db8a7(0x310)][_0x4db8a7(0x1c7)])try{const _0x1920a6=Lt;se[_0x4db8a7(0x184)][_0x4db8a7(0x2fe)]=function(_0x41aabc,_0xb63b16,_0x57772f,_0x3f25f3,_0xc975cb){_0xc975cb<0x30?_0x256394(_0x41aabc,_0xb63b16,_0x57772f,_0x3f25f3,_0xc975cb):_0x1920a6['mask'](_0x41aabc,_0xb63b16,_0x57772f,_0x3f25f3,_0xc975cb);},se['exports'][_0x4db8a7(0x26e)]=function(_0x19d610,_0xc6b895){const _0x179a35=_0x4db8a7;_0x19d610[_0x179a35(0x2ec)]<0x20?_0x1cfec3(_0x19d610,_0xc6b895):_0x1920a6[_0x179a35(0x26e)](_0x19d610,_0xc6b895);};}catch{}return se[_0x4db8a7(0x184)];}var ye,He;function Pt(){const _0x49dc8b=_0x524c07;if(He)return ye;He=0x1;const _0x5ac1ac=Symbol(_0x49dc8b(0x2e2)),_0x5952da=Symbol(_0x49dc8b(0x2c9));class _0x39a145{constructor(_0x15f6b5){const _0x4b3fda=_0x49dc8b;this[_0x5ac1ac]=()=>{const _0x225a4f=_0x2d44;this[_0x225a4f(0x1e1)]--,this[_0x5952da]();},this[_0x4b3fda(0x177)]=_0x15f6b5||0x1/0x0,this[_0x4b3fda(0x2d0)]=[],this['pending']=0x0;}[_0x49dc8b(0x2d1)](_0x35dcdb){this['jobs']['push'](_0x35dcdb),this[_0x5952da]();}[_0x5952da](){const _0x531855=_0x49dc8b;if(this['pending']!==this[_0x531855(0x177)]&&this[_0x531855(0x2d0)]['length']){const _0x57928b=this[_0x531855(0x2d0)][_0x531855(0x1c0)]();this[_0x531855(0x1e1)]++,_0x57928b(this[_0x5ac1ac]);}}}return ye=_0x39a145,ye;}var ve,ze;function he(){const _0x395067=_0x524c07;if(ze)return ve;ze=0x1;const _0x403576=bt,_0x499f04=ce(),_0x4989c7=Pt(),{kStatusCode:_0x4b7eb4}=H(),_0x5ad1bf=Buffer[Symbol[_0x395067(0x1b0)]],_0x32fc82=Buffer[_0x395067(0x285)]([0x0,0x0,0xff,0xff]),_0x26d88e=Symbol('permessage-deflate'),_0x584178=Symbol(_0x395067(0x274)),_0x56c19c=Symbol(_0x395067(0x2a1)),_0x446f26=Symbol('buffers'),_0xb871ee=Symbol(_0x395067(0x22a));let _0x265235;class _0x4f2b62{constructor(_0x389eeb,_0x5ba80b,_0x206033){const _0x53eab9=_0x395067;if(this[_0x53eab9(0x31a)]=_0x206033|0x0,this['_options']=_0x389eeb||{},this['_threshold']=this['_options']['threshold']!==void 0x0?this[_0x53eab9(0x1a6)]['threshold']:0x400,this[_0x53eab9(0x328)]=!!_0x5ba80b,this[_0x53eab9(0x1e8)]=null,this[_0x53eab9(0x1e3)]=null,this['params']=null,!_0x265235){const _0x4a0af8=this[_0x53eab9(0x1a6)][_0x53eab9(0x200)]!==void 0x0?this['_options'][_0x53eab9(0x200)]:0xa;_0x265235=new _0x4989c7(_0x4a0af8);}}static get[_0x395067(0x267)](){const _0x24fa07=_0x395067;return _0x24fa07(0x2d3);}[_0x395067(0x1f7)](){const _0x131b2a=_0x395067,_0x3fe491={};return this[_0x131b2a(0x1a6)]['serverNoContextTakeover']&&(_0x3fe491[_0x131b2a(0x2a9)]=!0x0),this['_options']['clientNoContextTakeover']&&(_0x3fe491[_0x131b2a(0x2b9)]=!0x0),this[_0x131b2a(0x1a6)]['serverMaxWindowBits']&&(_0x3fe491['server_max_window_bits']=this[_0x131b2a(0x1a6)][_0x131b2a(0x205)]),this[_0x131b2a(0x1a6)][_0x131b2a(0x18e)]?_0x3fe491[_0x131b2a(0x2ee)]=this[_0x131b2a(0x1a6)]['clientMaxWindowBits']:this['_options'][_0x131b2a(0x18e)]==null&&(_0x3fe491[_0x131b2a(0x2ee)]=!0x0),_0x3fe491;}[_0x395067(0x255)](_0x1d28ed){const _0x3fb5a5=_0x395067;return _0x1d28ed=this[_0x3fb5a5(0x298)](_0x1d28ed),this[_0x3fb5a5(0x1fe)]=this['_isServer']?this[_0x3fb5a5(0x297)](_0x1d28ed):this[_0x3fb5a5(0x15f)](_0x1d28ed),this['params'];}['cleanup'](){const _0xb3a499=_0x395067;if(this['_inflate']&&(this[_0xb3a499(0x1e3)][_0xb3a499(0x181)](),this[_0xb3a499(0x1e3)]=null),this['_deflate']){const _0x2623b5=this[_0xb3a499(0x1e8)][_0x56c19c];this['_deflate'][_0xb3a499(0x181)](),this[_0xb3a499(0x1e8)]=null,_0x2623b5&&_0x2623b5(new Error(_0xb3a499(0x2d6)));}}[_0x395067(0x297)](_0x39e87e){const _0x5cd81d=_0x395067,_0xad88f5=this[_0x5cd81d(0x1a6)],_0x4e5348=_0x39e87e[_0x5cd81d(0x2f2)](_0x10d5ec=>!(_0xad88f5[_0x5cd81d(0x2f3)]===!0x1&&_0x10d5ec[_0x5cd81d(0x2a9)]||_0x10d5ec[_0x5cd81d(0x312)]&&(_0xad88f5[_0x5cd81d(0x205)]===!0x1||typeof _0xad88f5[_0x5cd81d(0x205)]==_0x5cd81d(0x2e1)&&_0xad88f5[_0x5cd81d(0x205)]>_0x10d5ec[_0x5cd81d(0x312)])||typeof _0xad88f5[_0x5cd81d(0x18e)]==_0x5cd81d(0x2e1)&&!_0x10d5ec['client_max_window_bits']));if(!_0x4e5348)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0xad88f5[_0x5cd81d(0x2f3)]&&(_0x4e5348[_0x5cd81d(0x2a9)]=!0x0),_0xad88f5[_0x5cd81d(0x24f)]&&(_0x4e5348[_0x5cd81d(0x2b9)]=!0x0),typeof _0xad88f5[_0x5cd81d(0x205)]==_0x5cd81d(0x2e1)&&(_0x4e5348[_0x5cd81d(0x312)]=_0xad88f5[_0x5cd81d(0x205)]),typeof _0xad88f5[_0x5cd81d(0x18e)]=='number'?_0x4e5348[_0x5cd81d(0x2ee)]=_0xad88f5[_0x5cd81d(0x18e)]:(_0x4e5348[_0x5cd81d(0x2ee)]===!0x0||_0xad88f5['clientMaxWindowBits']===!0x1)&&delete _0x4e5348['client_max_window_bits'],_0x4e5348;}[_0x395067(0x15f)](_0x1c78f8){const _0x407ef0=_0x395067,_0x2a4467=_0x1c78f8[0x0];if(this['_options']['clientNoContextTakeover']===!0x1&&_0x2a4467[_0x407ef0(0x2b9)])throw new Error(_0x407ef0(0x24e));if(!_0x2a4467[_0x407ef0(0x2ee)])typeof this[_0x407ef0(0x1a6)]['clientMaxWindowBits']==_0x407ef0(0x2e1)&&(_0x2a4467[_0x407ef0(0x2ee)]=this[_0x407ef0(0x1a6)][_0x407ef0(0x18e)]);else{if(this[_0x407ef0(0x1a6)][_0x407ef0(0x18e)]===!0x1||typeof this[_0x407ef0(0x1a6)][_0x407ef0(0x18e)]=='number'&&_0x2a4467[_0x407ef0(0x2ee)]>this[_0x407ef0(0x1a6)][_0x407ef0(0x18e)])throw new Error(_0x407ef0(0x27f));}return _0x2a4467;}[_0x395067(0x298)](_0x21868e){const _0x4ebb3d=_0x395067;return _0x21868e[_0x4ebb3d(0x23d)](_0x2aa741=>{Object['keys'](_0x2aa741)['forEach'](_0x330d16=>{const _0x57a6f7=_0x2d44;let _0x58e949=_0x2aa741[_0x330d16];if(_0x58e949[_0x57a6f7(0x2ec)]>0x1)throw new Error('Parameter\x20\x22'+_0x330d16+_0x57a6f7(0x1d8));if(_0x58e949=_0x58e949[0x0],_0x330d16==='client_max_window_bits'){if(_0x58e949!==!0x0){const _0x55115d=+_0x58e949;if(!Number[_0x57a6f7(0x1ef)](_0x55115d)||_0x55115d<0x8||_0x55115d>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x330d16+_0x57a6f7(0x263)+_0x58e949);_0x58e949=_0x55115d;}else{if(!this[_0x57a6f7(0x328)])throw new TypeError(_0x57a6f7(0x17b)+_0x330d16+_0x57a6f7(0x263)+_0x58e949);}}else{if(_0x330d16==='server_max_window_bits'){const _0xf24778=+_0x58e949;if(!Number['isInteger'](_0xf24778)||_0xf24778<0x8||_0xf24778>0xf)throw new TypeError(_0x57a6f7(0x17b)+_0x330d16+_0x57a6f7(0x263)+_0x58e949);_0x58e949=_0xf24778;}else{if(_0x330d16===_0x57a6f7(0x2b9)||_0x330d16===_0x57a6f7(0x2a9)){if(_0x58e949!==!0x0)throw new TypeError(_0x57a6f7(0x17b)+_0x330d16+_0x57a6f7(0x263)+_0x58e949);}else throw new Error(_0x57a6f7(0x20e)+_0x330d16+'\x22');}}_0x2aa741[_0x330d16]=_0x58e949;});}),_0x21868e;}[_0x395067(0x24c)](_0x53b908,_0x105012,_0x35c28f){const _0x160c4e=_0x395067;_0x265235[_0x160c4e(0x2d1)](_0x520fe8=>{const _0x402120=_0x160c4e;this[_0x402120(0x2b5)](_0x53b908,_0x105012,(_0x34a19f,_0x14bd5b)=>{_0x520fe8(),_0x35c28f(_0x34a19f,_0x14bd5b);});});}[_0x395067(0x319)](_0x39376e,_0x3a7b66,_0x1dae3b){const _0x409fe2=_0x395067;_0x265235[_0x409fe2(0x2d1)](_0x1ad4af=>{this['_compress'](_0x39376e,_0x3a7b66,(_0x496565,_0x2283b3)=>{_0x1ad4af(),_0x1dae3b(_0x496565,_0x2283b3);});});}[_0x395067(0x2b5)](_0x554338,_0x19d255,_0x1ff074){const _0x5929c4=_0x395067,_0x1633b4=this[_0x5929c4(0x328)]?_0x5929c4(0x308):'server';if(!this[_0x5929c4(0x1e3)]){const _0x367025=_0x1633b4+_0x5929c4(0x220),_0x2794f0=typeof this[_0x5929c4(0x1fe)][_0x367025]!=_0x5929c4(0x2e1)?_0x403576['Z_DEFAULT_WINDOWBITS']:this[_0x5929c4(0x1fe)][_0x367025];this['_inflate']=_0x403576[_0x5929c4(0x30a)]({...this[_0x5929c4(0x1a6)][_0x5929c4(0x2df)],'windowBits':_0x2794f0}),this[_0x5929c4(0x1e3)][_0x26d88e]=this,this[_0x5929c4(0x1e3)][_0x584178]=0x0,this[_0x5929c4(0x1e3)][_0x446f26]=[],this['_inflate']['on']('error',_0x5f56a8),this['_inflate']['on'](_0x5929c4(0x1f0),_0x32af1d);}this[_0x5929c4(0x1e3)][_0x56c19c]=_0x1ff074,this[_0x5929c4(0x1e3)]['write'](_0x554338),_0x19d255&&this[_0x5929c4(0x1e3)][_0x5929c4(0x292)](_0x32fc82),this[_0x5929c4(0x1e3)]['flush'](()=>{const _0x251edb=_0x5929c4,_0x2356ee=this[_0x251edb(0x1e3)][_0xb871ee];if(_0x2356ee){this[_0x251edb(0x1e3)][_0x251edb(0x181)](),this[_0x251edb(0x1e3)]=null,_0x1ff074(_0x2356ee);return;}const _0x318de1=_0x499f04[_0x251edb(0x190)](this[_0x251edb(0x1e3)][_0x446f26],this['_inflate'][_0x584178]);this['_inflate'][_0x251edb(0x161)][_0x251edb(0x1be)]?(this[_0x251edb(0x1e3)][_0x251edb(0x181)](),this[_0x251edb(0x1e3)]=null):(this['_inflate'][_0x584178]=0x0,this[_0x251edb(0x1e3)][_0x446f26]=[],_0x19d255&&this[_0x251edb(0x1fe)][_0x1633b4+_0x251edb(0x2d7)]&&this['_inflate'][_0x251edb(0x19e)]()),_0x1ff074(null,_0x318de1);});}[_0x395067(0x2d2)](_0x4e2dd9,_0x428e85,_0x34ce74){const _0x2692e4=_0x395067,_0x124ea3=this[_0x2692e4(0x328)]?_0x2692e4(0x206):'client';if(!this[_0x2692e4(0x1e8)]){const _0x55479d=_0x124ea3+_0x2692e4(0x220),_0x1fe498=typeof this['params'][_0x55479d]!=_0x2692e4(0x2e1)?_0x403576[_0x2692e4(0x1db)]:this[_0x2692e4(0x1fe)][_0x55479d];this[_0x2692e4(0x1e8)]=_0x403576[_0x2692e4(0x2f1)]({...this[_0x2692e4(0x1a6)][_0x2692e4(0x227)],'windowBits':_0x1fe498}),this[_0x2692e4(0x1e8)][_0x584178]=0x0,this['_deflate'][_0x446f26]=[],this[_0x2692e4(0x1e8)]['on']('data',_0x4c8663);}this[_0x2692e4(0x1e8)][_0x56c19c]=_0x34ce74,this[_0x2692e4(0x1e8)][_0x2692e4(0x292)](_0x4e2dd9),this['_deflate'][_0x2692e4(0x2e5)](_0x403576[_0x2692e4(0x230)],()=>{const _0x1d0888=_0x2692e4;if(!this[_0x1d0888(0x1e8)])return;let _0x5d25a0=_0x499f04[_0x1d0888(0x190)](this[_0x1d0888(0x1e8)][_0x446f26],this[_0x1d0888(0x1e8)][_0x584178]);_0x428e85&&(_0x5d25a0=new _0x5ad1bf(_0x5d25a0[_0x1d0888(0x20a)],_0x5d25a0[_0x1d0888(0x304)],_0x5d25a0[_0x1d0888(0x2ec)]-0x4)),this[_0x1d0888(0x1e8)][_0x56c19c]=null,this[_0x1d0888(0x1e8)][_0x584178]=0x0,this[_0x1d0888(0x1e8)][_0x446f26]=[],_0x428e85&&this[_0x1d0888(0x1fe)][_0x124ea3+_0x1d0888(0x2d7)]&&this[_0x1d0888(0x1e8)][_0x1d0888(0x19e)](),_0x34ce74(null,_0x5d25a0);});}}ve=_0x4f2b62;function _0x4c8663(_0x2c8e44){this[_0x446f26]['push'](_0x2c8e44),this[_0x584178]+=_0x2c8e44['length'];}function _0x32af1d(_0x31f94a){const _0x3017f9=_0x395067;if(this[_0x584178]+=_0x31f94a[_0x3017f9(0x2ec)],this[_0x26d88e][_0x3017f9(0x31a)]<0x1||this[_0x584178]<=this[_0x26d88e][_0x3017f9(0x31a)]){this[_0x446f26][_0x3017f9(0x1e9)](_0x31f94a);return;}this[_0xb871ee]=new RangeError(_0x3017f9(0x162)),this[_0xb871ee]['code']=_0x3017f9(0x1bb),this[_0xb871ee][_0x4b7eb4]=0x3f1,this[_0x3017f9(0x276)](_0x3017f9(0x1f0),_0x32af1d),this[_0x3017f9(0x19e)]();}function _0x5f56a8(_0x102963){const _0x395c30=_0x395067;this[_0x26d88e][_0x395c30(0x1e3)]=null,_0x102963[_0x4b7eb4]=0x3ef,this[_0x56c19c](_0x102963);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object[_0x524c07(0x1f9)]({'__proto__':null,'default':Dt},Symbol['toStringTag'],{'value':_0x524c07(0x31f)})),Bt=at(Rt);var Ye;function ae(){const _0x5d4538=_0x524c07;if(Ye)return ie[_0x5d4538(0x184)];Ye=0x1;const {isUtf8:_0x2f2f9a}=wt,{hasBlob:_0x1c7d4f}=H(),_0x2ecd62=[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 _0x48364a(_0x4f8ba5){return _0x4f8ba5>=0x3e8&&_0x4f8ba5<=0x3f6&&_0x4f8ba5!==0x3ec&&_0x4f8ba5!==0x3ed&&_0x4f8ba5!==0x3ee||_0x4f8ba5>=0xbb8&&_0x4f8ba5<=0x1387;}function _0x1d1227(_0x830761){const _0x3efde6=_0x5d4538,_0x3a7833=_0x830761[_0x3efde6(0x2ec)];let _0x180c3d=0x0;for(;_0x180c3d<_0x3a7833;)if((_0x830761[_0x180c3d]&0x80)===0x0)_0x180c3d++;else{if((_0x830761[_0x180c3d]&0xe0)===0xc0){if(_0x180c3d+0x1===_0x3a7833||(_0x830761[_0x180c3d+0x1]&0xc0)!==0x80||(_0x830761[_0x180c3d]&0xfe)===0xc0)return!0x1;_0x180c3d+=0x2;}else{if((_0x830761[_0x180c3d]&0xf0)===0xe0){if(_0x180c3d+0x2>=_0x3a7833||(_0x830761[_0x180c3d+0x1]&0xc0)!==0x80||(_0x830761[_0x180c3d+0x2]&0xc0)!==0x80||_0x830761[_0x180c3d]===0xe0&&(_0x830761[_0x180c3d+0x1]&0xe0)===0x80||_0x830761[_0x180c3d]===0xed&&(_0x830761[_0x180c3d+0x1]&0xe0)===0xa0)return!0x1;_0x180c3d+=0x3;}else{if((_0x830761[_0x180c3d]&0xf8)===0xf0){if(_0x180c3d+0x3>=_0x3a7833||(_0x830761[_0x180c3d+0x1]&0xc0)!==0x80||(_0x830761[_0x180c3d+0x2]&0xc0)!==0x80||(_0x830761[_0x180c3d+0x3]&0xc0)!==0x80||_0x830761[_0x180c3d]===0xf0&&(_0x830761[_0x180c3d+0x1]&0xf0)===0x80||_0x830761[_0x180c3d]===0xf4&&_0x830761[_0x180c3d+0x1]>0x8f||_0x830761[_0x180c3d]>0xf4)return!0x1;_0x180c3d+=0x4;}else return!0x1;}}}return!0x0;}function _0xca1688(_0x171343){const _0x3c4a87=_0x5d4538;return _0x1c7d4f&&typeof _0x171343==_0x3c4a87(0x215)&&typeof _0x171343[_0x3c4a87(0x23a)]==_0x3c4a87(0x1e7)&&typeof _0x171343[_0x3c4a87(0x189)]=='string'&&typeof _0x171343[_0x3c4a87(0x1ed)]==_0x3c4a87(0x1e7)&&(_0x171343[Symbol[_0x3c4a87(0x187)]]==='Blob'||_0x171343[Symbol['toStringTag']]===_0x3c4a87(0x217));}if(ie[_0x5d4538(0x184)]={'isBlob':_0xca1688,'isValidStatusCode':_0x48364a,'isValidUTF8':_0x1d1227,'tokenChars':_0x2ecd62},_0x2f2f9a)ie[_0x5d4538(0x184)][_0x5d4538(0x1d7)]=function(_0x197f5c){const _0x3e3b64=_0x5d4538;return _0x197f5c[_0x3e3b64(0x2ec)]<0x18?_0x1d1227(_0x197f5c):_0x2f2f9a(_0x197f5c);};else{if(!process[_0x5d4538(0x310)][_0x5d4538(0x2ac)])try{const _0x199c2d=Bt;ie['exports'][_0x5d4538(0x1d7)]=function(_0x323dac){const _0x513d54=_0x5d4538;return _0x323dac[_0x513d54(0x2ec)]<0x20?_0x1d1227(_0x323dac):_0x199c2d(_0x323dac);};}catch{}}return ie[_0x5d4538(0x184)];}var Se,Ke;function lt(){const _0x57ed8c=_0x524c07;if(Ke)return Se;Ke=0x1;const {Writable:_0x19ee97}=oe,_0xe64e75=he(),{BINARY_TYPES:_0xd9d195,EMPTY_BUFFER:_0x1d58c1,kStatusCode:_0x4dda4b,kWebSocket:_0x78b4ae}=H(),{concat:_0x2187a5,toArrayBuffer:_0xf6ea79,unmask:_0x5bdbf0}=ce(),{isValidStatusCode:_0xb58d3c,isValidUTF8:_0x4469d3}=ae(),_0x15b12c=Buffer[Symbol[_0x57ed8c(0x1b0)]],_0x2f5269=0x0,_0x1db615=0x1,_0x5786bc=0x2,_0x5d8b66=0x3,_0x60886f=0x4,_0x299adf=0x5,_0x55bca8=0x6;class _0x538ebe extends _0x19ee97{constructor(_0x3b8ec7={}){const _0x4ef64f=_0x57ed8c;super(),this[_0x4ef64f(0x2dc)]=_0x3b8ec7['allowSynchronousEvents']!==void 0x0?_0x3b8ec7['allowSynchronousEvents']:!0x0,this[_0x4ef64f(0x281)]=_0x3b8ec7['binaryType']||_0xd9d195[0x0],this['_extensions']=_0x3b8ec7[_0x4ef64f(0x19b)]||{},this[_0x4ef64f(0x328)]=!!_0x3b8ec7[_0x4ef64f(0x30e)],this['_maxPayload']=_0x3b8ec7[_0x4ef64f(0x247)]|0x0,this[_0x4ef64f(0x275)]=!!_0x3b8ec7[_0x4ef64f(0x301)],this[_0x78b4ae]=void 0x0,this['_bufferedBytes']=0x0,this[_0x4ef64f(0x23f)]=[],this[_0x4ef64f(0x238)]=!0x1,this['_payloadLength']=0x0,this['_mask']=void 0x0,this[_0x4ef64f(0x2aa)]=0x0,this[_0x4ef64f(0x248)]=!0x1,this[_0x4ef64f(0x256)]=!0x1,this['_opcode']=0x0,this[_0x4ef64f(0x2c1)]=0x0,this[_0x4ef64f(0x282)]=0x0,this[_0x4ef64f(0x2be)]=[],this['_errored']=!0x1,this[_0x4ef64f(0x18f)]=!0x1,this[_0x4ef64f(0x327)]=_0x2f5269;}[_0x57ed8c(0x29f)](_0x57d3d3,_0x5d6d05,_0x5536be){const _0x4147d8=_0x57ed8c;if(this[_0x4147d8(0x288)]===0x8&&this[_0x4147d8(0x327)]==_0x2f5269)return _0x5536be();this['_bufferedBytes']+=_0x57d3d3['length'],this[_0x4147d8(0x23f)]['push'](_0x57d3d3),this[_0x4147d8(0x1fd)](_0x5536be);}['consume'](_0x18f31b){const _0x4ab597=_0x57ed8c;if(this[_0x4ab597(0x163)]-=_0x18f31b,_0x18f31b===this[_0x4ab597(0x23f)][0x0][_0x4ab597(0x2ec)])return this[_0x4ab597(0x23f)][_0x4ab597(0x1c0)]();if(_0x18f31b<this[_0x4ab597(0x23f)][0x0][_0x4ab597(0x2ec)]){const _0x21f80c=this[_0x4ab597(0x23f)][0x0];return this['_buffers'][0x0]=new _0x15b12c(_0x21f80c['buffer'],_0x21f80c[_0x4ab597(0x304)]+_0x18f31b,_0x21f80c[_0x4ab597(0x2ec)]-_0x18f31b),new _0x15b12c(_0x21f80c[_0x4ab597(0x20a)],_0x21f80c[_0x4ab597(0x304)],_0x18f31b);}const _0x5716d2=Buffer[_0x4ab597(0x2ab)](_0x18f31b);do{const _0x166912=this[_0x4ab597(0x23f)][0x0],_0x2146c2=_0x5716d2['length']-_0x18f31b;_0x18f31b>=_0x166912[_0x4ab597(0x2ec)]?_0x5716d2[_0x4ab597(0x202)](this[_0x4ab597(0x23f)][_0x4ab597(0x1c0)](),_0x2146c2):(_0x5716d2['set'](new Uint8Array(_0x166912[_0x4ab597(0x20a)],_0x166912['byteOffset'],_0x18f31b),_0x2146c2),this[_0x4ab597(0x23f)][0x0]=new _0x15b12c(_0x166912[_0x4ab597(0x20a)],_0x166912[_0x4ab597(0x304)]+_0x18f31b,_0x166912[_0x4ab597(0x2ec)]-_0x18f31b)),_0x18f31b-=_0x166912[_0x4ab597(0x2ec)];}while(_0x18f31b>0x0);return _0x5716d2;}['startLoop'](_0x5aa011){const _0x3aba61=_0x57ed8c;this[_0x3aba61(0x18f)]=!0x0;do switch(this['_state']){case _0x2f5269:this[_0x3aba61(0x17d)](_0x5aa011);break;case _0x1db615:this[_0x3aba61(0x254)](_0x5aa011);break;case _0x5786bc:this[_0x3aba61(0x296)](_0x5aa011);break;case _0x5d8b66:this[_0x3aba61(0x213)]();break;case _0x60886f:this[_0x3aba61(0x1e5)](_0x5aa011);break;case _0x299adf:case _0x55bca8:this[_0x3aba61(0x18f)]=!0x1;return;}while(this[_0x3aba61(0x18f)]);this['_errored']||_0x5aa011();}[_0x57ed8c(0x17d)](_0x297520){const _0x5e62ba=_0x57ed8c;if(this[_0x5e62ba(0x163)]<0x2){this['_loop']=!0x1;return;}const _0x3d4f29=this['consume'](0x2);if((_0x3d4f29[0x0]&0x30)!==0x0){const _0x52513b=this[_0x5e62ba(0x2ff)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x5e62ba(0x28f));_0x297520(_0x52513b);return;}const _0x58bf50=(_0x3d4f29[0x0]&0x40)===0x40;if(_0x58bf50&&!this[_0x5e62ba(0x1ec)][_0xe64e75[_0x5e62ba(0x267)]]){const _0x33b38d=this[_0x5e62ba(0x2ff)](RangeError,_0x5e62ba(0x223),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x297520(_0x33b38d);return;}if(this['_fin']=(_0x3d4f29[0x0]&0x80)===0x80,this[_0x5e62ba(0x288)]=_0x3d4f29[0x0]&0xf,this['_payloadLength']=_0x3d4f29[0x1]&0x7f,this[_0x5e62ba(0x288)]===0x0){if(_0x58bf50){const _0x4f80e2=this[_0x5e62ba(0x2ff)](RangeError,_0x5e62ba(0x223),!0x0,0x3ea,_0x5e62ba(0x2d9));_0x297520(_0x4f80e2);return;}if(!this[_0x5e62ba(0x2aa)]){const _0x836609=this[_0x5e62ba(0x2ff)](RangeError,_0x5e62ba(0x2c7),!0x0,0x3ea,_0x5e62ba(0x1ab));_0x297520(_0x836609);return;}this[_0x5e62ba(0x288)]=this[_0x5e62ba(0x2aa)];}else{if(this[_0x5e62ba(0x288)]===0x1||this[_0x5e62ba(0x288)]===0x2){if(this[_0x5e62ba(0x2aa)]){const _0x104293=this[_0x5e62ba(0x2ff)](RangeError,_0x5e62ba(0x30f)+this['_opcode'],!0x0,0x3ea,_0x5e62ba(0x1ab));_0x297520(_0x104293);return;}this[_0x5e62ba(0x238)]=_0x58bf50;}else{if(this[_0x5e62ba(0x288)]>0x7&&this[_0x5e62ba(0x288)]<0xb){if(!this[_0x5e62ba(0x256)]){const _0x148bb0=this['createError'](RangeError,_0x5e62ba(0x2a8),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x297520(_0x148bb0);return;}if(_0x58bf50){const _0x324abf=this[_0x5e62ba(0x2ff)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x5e62ba(0x2d9));_0x297520(_0x324abf);return;}if(this[_0x5e62ba(0x1ff)]>0x7d||this[_0x5e62ba(0x288)]===0x8&&this['_payloadLength']===0x1){const _0x2fb0e7=this['createError'](RangeError,_0x5e62ba(0x17f)+this[_0x5e62ba(0x1ff)],!0x0,0x3ea,_0x5e62ba(0x29d));_0x297520(_0x2fb0e7);return;}}else{const _0x2d7a9e=this['createError'](RangeError,_0x5e62ba(0x30f)+this[_0x5e62ba(0x288)],!0x0,0x3ea,_0x5e62ba(0x1ab));_0x297520(_0x2d7a9e);return;}}}if(!this[_0x5e62ba(0x256)]&&!this[_0x5e62ba(0x2aa)]&&(this['_fragmented']=this[_0x5e62ba(0x288)]),this['_masked']=(_0x3d4f29[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x5e62ba(0x248)]){const _0x1a3baa=this['createError'](RangeError,_0x5e62ba(0x21d),!0x0,0x3ea,_0x5e62ba(0x1ee));_0x297520(_0x1a3baa);return;}}else{if(this[_0x5e62ba(0x248)]){const _0x2adcc8=this[_0x5e62ba(0x2ff)](RangeError,_0x5e62ba(0x2b8),!0x0,0x3ea,_0x5e62ba(0x16f));_0x297520(_0x2adcc8);return;}}this[_0x5e62ba(0x1ff)]===0x7e?this[_0x5e62ba(0x327)]=_0x1db615:this[_0x5e62ba(0x1ff)]===0x7f?this[_0x5e62ba(0x327)]=_0x5786bc:this['haveLength'](_0x297520);}[_0x57ed8c(0x254)](_0x1aa464){const _0xabc43c=_0x57ed8c;if(this[_0xabc43c(0x163)]<0x2){this[_0xabc43c(0x18f)]=!0x1;return;}this[_0xabc43c(0x1ff)]=this[_0xabc43c(0x2f8)](0x2)[_0xabc43c(0x179)](0x0),this[_0xabc43c(0x290)](_0x1aa464);}['getPayloadLength64'](_0x2051ec){const _0x1a7169=_0x57ed8c;if(this[_0x1a7169(0x163)]<0x8){this[_0x1a7169(0x18f)]=!0x1;return;}const _0x4caed2=this['consume'](0x8),_0x441fb2=_0x4caed2[_0x1a7169(0x2b4)](0x0);if(_0x441fb2>Math[_0x1a7169(0x309)](0x2,0x15)-0x1){const _0x2eace0=this['createError'](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x1a7169(0x1a1));_0x2051ec(_0x2eace0);return;}this[_0x1a7169(0x1ff)]=_0x441fb2*Math[_0x1a7169(0x309)](0x2,0x20)+_0x4caed2[_0x1a7169(0x2b4)](0x4),this[_0x1a7169(0x290)](_0x2051ec);}[_0x57ed8c(0x290)](_0x5b4ede){const _0x4f41f2=_0x57ed8c;if(this[_0x4f41f2(0x1ff)]&&this['_opcode']<0x8&&(this[_0x4f41f2(0x2c1)]+=this['_payloadLength'],this[_0x4f41f2(0x2c1)]>this[_0x4f41f2(0x31a)]&&this[_0x4f41f2(0x31a)]>0x0)){const _0x17afbd=this['createError'](RangeError,_0x4f41f2(0x162),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x5b4ede(_0x17afbd);return;}this[_0x4f41f2(0x248)]?this[_0x4f41f2(0x327)]=_0x5d8b66:this[_0x4f41f2(0x327)]=_0x60886f;}[_0x57ed8c(0x213)](){const _0x1ad3cd=_0x57ed8c;if(this[_0x1ad3cd(0x163)]<0x4){this[_0x1ad3cd(0x18f)]=!0x1;return;}this[_0x1ad3cd(0x216)]=this[_0x1ad3cd(0x2f8)](0x4),this[_0x1ad3cd(0x327)]=_0x60886f;}['getData'](_0x1d6cbb){const _0x5709cd=_0x57ed8c;let _0x203624=_0x1d58c1;if(this['_payloadLength']){if(this[_0x5709cd(0x163)]<this[_0x5709cd(0x1ff)]){this['_loop']=!0x1;return;}_0x203624=this['consume'](this[_0x5709cd(0x1ff)]),this['_masked']&&(this['_mask'][0x0]|this[_0x5709cd(0x216)][0x1]|this[_0x5709cd(0x216)][0x2]|this[_0x5709cd(0x216)][0x3])!==0x0&&_0x5bdbf0(_0x203624,this[_0x5709cd(0x216)]);}if(this[_0x5709cd(0x288)]>0x7){this['controlMessage'](_0x203624,_0x1d6cbb);return;}if(this['_compressed']){this[_0x5709cd(0x327)]=_0x299adf,this[_0x5709cd(0x24c)](_0x203624,_0x1d6cbb);return;}_0x203624[_0x5709cd(0x2ec)]&&(this['_messageLength']=this[_0x5709cd(0x2c1)],this[_0x5709cd(0x2be)][_0x5709cd(0x1e9)](_0x203624)),this[_0x5709cd(0x2a2)](_0x1d6cbb);}[_0x57ed8c(0x24c)](_0x47e560,_0x35e8a6){const _0x35060d=_0x57ed8c;this[_0x35060d(0x1ec)][_0xe64e75['extensionName']]['decompress'](_0x47e560,this[_0x35060d(0x256)],(_0x14ca95,_0x574789)=>{const _0x1ac7e6=_0x35060d;if(_0x14ca95)return _0x35e8a6(_0x14ca95);if(_0x574789[_0x1ac7e6(0x2ec)]){if(this['_messageLength']+=_0x574789['length'],this[_0x1ac7e6(0x282)]>this[_0x1ac7e6(0x31a)]&&this[_0x1ac7e6(0x31a)]>0x0){const _0x245166=this['createError'](RangeError,_0x1ac7e6(0x162),!0x1,0x3f1,_0x1ac7e6(0x1bb));_0x35e8a6(_0x245166);return;}this[_0x1ac7e6(0x2be)]['push'](_0x574789);}this[_0x1ac7e6(0x2a2)](_0x35e8a6),this[_0x1ac7e6(0x327)]===_0x2f5269&&this[_0x1ac7e6(0x1fd)](_0x35e8a6);});}[_0x57ed8c(0x2a2)](_0x5a7a10){const _0x12101f=_0x57ed8c;if(!this[_0x12101f(0x256)]){this[_0x12101f(0x327)]=_0x2f5269;return;}const _0x261e1d=this[_0x12101f(0x282)],_0x57c3f0=this['_fragments'];if(this[_0x12101f(0x2c1)]=0x0,this['_messageLength']=0x0,this[_0x12101f(0x2aa)]=0x0,this[_0x12101f(0x2be)]=[],this['_opcode']===0x2){let _0x51cb4f;this[_0x12101f(0x281)]==='nodebuffer'?_0x51cb4f=_0x2187a5(_0x57c3f0,_0x261e1d):this[_0x12101f(0x281)]===_0x12101f(0x1dc)?_0x51cb4f=_0xf6ea79(_0x2187a5(_0x57c3f0,_0x261e1d)):this[_0x12101f(0x281)]===_0x12101f(0x214)?_0x51cb4f=new Blob(_0x57c3f0):_0x51cb4f=_0x57c3f0,this[_0x12101f(0x2dc)]?(this[_0x12101f(0x1b3)]('message',_0x51cb4f,!0x0),this[_0x12101f(0x327)]=_0x2f5269):(this[_0x12101f(0x327)]=_0x55bca8,setImmediate(()=>{const _0xeba799=_0x12101f;this[_0xeba799(0x1b3)](_0xeba799(0x26c),_0x51cb4f,!0x0),this[_0xeba799(0x327)]=_0x2f5269,this[_0xeba799(0x1fd)](_0x5a7a10);}));}else{const _0x1ce2cd=_0x2187a5(_0x57c3f0,_0x261e1d);if(!this[_0x12101f(0x275)]&&!_0x4469d3(_0x1ce2cd)){const _0x3fdf6b=this[_0x12101f(0x2ff)](Error,_0x12101f(0x16c),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x5a7a10(_0x3fdf6b);return;}this[_0x12101f(0x327)]===_0x299adf||this[_0x12101f(0x2dc)]?(this[_0x12101f(0x1b3)](_0x12101f(0x26c),_0x1ce2cd,!0x1),this[_0x12101f(0x327)]=_0x2f5269):(this[_0x12101f(0x327)]=_0x55bca8,setImmediate(()=>{const _0x2dde88=_0x12101f;this[_0x2dde88(0x1b3)](_0x2dde88(0x26c),_0x1ce2cd,!0x1),this[_0x2dde88(0x327)]=_0x2f5269,this[_0x2dde88(0x1fd)](_0x5a7a10);}));}}[_0x57ed8c(0x1bf)](_0x54a6ac,_0x552750){const _0x2ea424=_0x57ed8c;if(this['_opcode']===0x8){if(_0x54a6ac['length']===0x0)this['_loop']=!0x1,this[_0x2ea424(0x1b3)](_0x2ea424(0x18d),0x3ed,_0x1d58c1),this[_0x2ea424(0x18b)]();else{const _0x489f16=_0x54a6ac['readUInt16BE'](0x0);if(!_0xb58d3c(_0x489f16)){const _0xf47a1b=this['createError'](RangeError,'invalid\x20status\x20code\x20'+_0x489f16,!0x0,0x3ea,_0x2ea424(0x2f9));_0x552750(_0xf47a1b);return;}const _0x36d419=new _0x15b12c(_0x54a6ac[_0x2ea424(0x20a)],_0x54a6ac[_0x2ea424(0x304)]+0x2,_0x54a6ac[_0x2ea424(0x2ec)]-0x2);if(!this['_skipUTF8Validation']&&!_0x4469d3(_0x36d419)){const _0x53c53a=this[_0x2ea424(0x2ff)](Error,_0x2ea424(0x16c),!0x0,0x3ef,_0x2ea424(0x2eb));_0x552750(_0x53c53a);return;}this['_loop']=!0x1,this[_0x2ea424(0x1b3)](_0x2ea424(0x18d),_0x489f16,_0x36d419),this[_0x2ea424(0x18b)]();}this[_0x2ea424(0x327)]=_0x2f5269;return;}this[_0x2ea424(0x2dc)]?(this[_0x2ea424(0x1b3)](this[_0x2ea424(0x288)]===0x9?_0x2ea424(0x27e):_0x2ea424(0x25c),_0x54a6ac),this[_0x2ea424(0x327)]=_0x2f5269):(this[_0x2ea424(0x327)]=_0x55bca8,setImmediate(()=>{const _0x1df108=_0x2ea424;this[_0x1df108(0x1b3)](this[_0x1df108(0x288)]===0x9?_0x1df108(0x27e):_0x1df108(0x25c),_0x54a6ac),this[_0x1df108(0x327)]=_0x2f5269,this[_0x1df108(0x1fd)](_0x552750);}));}[_0x57ed8c(0x2ff)](_0xf3f1e5,_0x1ba0dd,_0x4e0a13,_0xe817bd,_0x12aa2b){const _0xbca9d0=_0x57ed8c;this[_0xbca9d0(0x18f)]=!0x1,this['_errored']=!0x0;const _0x32a68f=new _0xf3f1e5(_0x4e0a13?_0xbca9d0(0x249)+_0x1ba0dd:_0x1ba0dd);return Error[_0xbca9d0(0x2cf)](_0x32a68f,this['createError']),_0x32a68f['code']=_0x12aa2b,_0x32a68f[_0x4dda4b]=_0xe817bd,_0x32a68f;}}return Se=_0x538ebe,Se;}var Ee,Xe;function ft(){const _0x692061=_0x524c07;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x22e294}=oe,{randomFillSync:_0x3aabec}=Le,_0x44722f=he(),{EMPTY_BUFFER:_0x16abbf,kWebSocket:_0x3ab5f9,NOOP:_0x5e6f72}=H(),{isBlob:_0x13d9e7,isValidStatusCode:_0xe7b323}=ae(),{mask:_0x408b35,toBuffer:_0x1df261}=ce(),_0x3b6868=Symbol('kByteLength'),_0x1af15c=Buffer[_0x692061(0x18c)](0x4),_0x28ffbf=0x8*0x400;let _0x17cb5a,_0x4d42b8=_0x28ffbf;const _0x3c1a9b=0x0,_0x20b183=0x1,_0x385e06=0x2;class _0x53a0b2{constructor(_0x2b9b47,_0x43ac9c,_0x13cd97){const _0x26c880=_0x692061;this[_0x26c880(0x1ec)]=_0x43ac9c||{},_0x13cd97&&(this[_0x26c880(0x16e)]=_0x13cd97,this[_0x26c880(0x260)]=Buffer[_0x26c880(0x18c)](0x4)),this['_socket']=_0x2b9b47,this['_firstFragment']=!0x0,this[_0x26c880(0x2d2)]=!0x1,this[_0x26c880(0x163)]=0x0,this[_0x26c880(0x20c)]=[],this[_0x26c880(0x327)]=_0x3c1a9b,this[_0x26c880(0x16a)]=_0x5e6f72,this[_0x3ab5f9]=void 0x0;}static[_0x692061(0x299)](_0x1eb4c0,_0xe05108){const _0x15a487=_0x692061;let _0x33f57e,_0x620e16=!0x1,_0x52a1e5=0x2,_0x40b824=!0x1;_0xe05108[_0x15a487(0x2fe)]&&(_0x33f57e=_0xe05108[_0x15a487(0x1b6)]||_0x1af15c,_0xe05108[_0x15a487(0x201)]?_0xe05108[_0x15a487(0x201)](_0x33f57e):(_0x4d42b8===_0x28ffbf&&(_0x17cb5a===void 0x0&&(_0x17cb5a=Buffer[_0x15a487(0x18c)](_0x28ffbf)),_0x3aabec(_0x17cb5a,0x0,_0x28ffbf),_0x4d42b8=0x0),_0x33f57e[0x0]=_0x17cb5a[_0x4d42b8++],_0x33f57e[0x1]=_0x17cb5a[_0x4d42b8++],_0x33f57e[0x2]=_0x17cb5a[_0x4d42b8++],_0x33f57e[0x3]=_0x17cb5a[_0x4d42b8++]),_0x40b824=(_0x33f57e[0x0]|_0x33f57e[0x1]|_0x33f57e[0x2]|_0x33f57e[0x3])===0x0,_0x52a1e5=0x6);let _0x895cc1;typeof _0x1eb4c0==_0x15a487(0x2d5)?(!_0xe05108[_0x15a487(0x2fe)]||_0x40b824)&&_0xe05108[_0x3b6868]!==void 0x0?_0x895cc1=_0xe05108[_0x3b6868]:(_0x1eb4c0=Buffer[_0x15a487(0x285)](_0x1eb4c0),_0x895cc1=_0x1eb4c0[_0x15a487(0x2ec)]):(_0x895cc1=_0x1eb4c0[_0x15a487(0x2ec)],_0x620e16=_0xe05108[_0x15a487(0x2fe)]&&_0xe05108[_0x15a487(0x2ae)]&&!_0x40b824);let _0x44dbe8=_0x895cc1;_0x895cc1>=0x10000?(_0x52a1e5+=0x8,_0x44dbe8=0x7f):_0x895cc1>0x7d&&(_0x52a1e5+=0x2,_0x44dbe8=0x7e);const _0x524a30=Buffer[_0x15a487(0x2ab)](_0x620e16?_0x895cc1+_0x52a1e5:_0x52a1e5);return _0x524a30[0x0]=_0xe05108[_0x15a487(0x22b)]?_0xe05108[_0x15a487(0x210)]|0x80:_0xe05108['opcode'],_0xe05108[_0x15a487(0x194)]&&(_0x524a30[0x0]|=0x40),_0x524a30[0x1]=_0x44dbe8,_0x44dbe8===0x7e?_0x524a30[_0x15a487(0x27c)](_0x895cc1,0x2):_0x44dbe8===0x7f&&(_0x524a30[0x2]=_0x524a30[0x3]=0x0,_0x524a30[_0x15a487(0x266)](_0x895cc1,0x4,0x6)),_0xe05108['mask']?(_0x524a30[0x1]|=0x80,_0x524a30[_0x52a1e5-0x4]=_0x33f57e[0x0],_0x524a30[_0x52a1e5-0x3]=_0x33f57e[0x1],_0x524a30[_0x52a1e5-0x2]=_0x33f57e[0x2],_0x524a30[_0x52a1e5-0x1]=_0x33f57e[0x3],_0x40b824?[_0x524a30,_0x1eb4c0]:_0x620e16?(_0x408b35(_0x1eb4c0,_0x33f57e,_0x524a30,_0x52a1e5,_0x895cc1),[_0x524a30]):(_0x408b35(_0x1eb4c0,_0x33f57e,_0x1eb4c0,0x0,_0x895cc1),[_0x524a30,_0x1eb4c0])):[_0x524a30,_0x1eb4c0];}[_0x692061(0x181)](_0x499b9e,_0x3d8e5e,_0x7f9ef3,_0x4aa363){const _0x24cc2b=_0x692061;let _0x18e6bf;if(_0x499b9e===void 0x0)_0x18e6bf=_0x16abbf;else{if(typeof _0x499b9e!=_0x24cc2b(0x2e1)||!_0xe7b323(_0x499b9e))throw new TypeError(_0x24cc2b(0x289));if(_0x3d8e5e===void 0x0||!_0x3d8e5e[_0x24cc2b(0x2ec)])_0x18e6bf=Buffer[_0x24cc2b(0x2ab)](0x2),_0x18e6bf[_0x24cc2b(0x27c)](_0x499b9e,0x0);else{const _0x36a44a=Buffer['byteLength'](_0x3d8e5e);if(_0x36a44a>0x7b)throw new RangeError(_0x24cc2b(0x29a));_0x18e6bf=Buffer[_0x24cc2b(0x2ab)](0x2+_0x36a44a),_0x18e6bf[_0x24cc2b(0x27c)](_0x499b9e,0x0),typeof _0x3d8e5e==_0x24cc2b(0x2d5)?_0x18e6bf['write'](_0x3d8e5e,0x2):_0x18e6bf['set'](_0x3d8e5e,0x2);}}const _0x289655={[_0x3b6868]:_0x18e6bf[_0x24cc2b(0x2ec)],'fin':!0x0,'generateMask':this[_0x24cc2b(0x16e)],'mask':_0x7f9ef3,'maskBuffer':this[_0x24cc2b(0x260)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x24cc2b(0x327)]!==_0x3c1a9b?this[_0x24cc2b(0x171)]([this[_0x24cc2b(0x1c5)],_0x18e6bf,!0x1,_0x289655,_0x4aa363]):this[_0x24cc2b(0x195)](_0x53a0b2[_0x24cc2b(0x299)](_0x18e6bf,_0x289655),_0x4aa363);}[_0x692061(0x27e)](_0x488226,_0x39347e,_0x2d6b42){const _0x1feb86=_0x692061;let _0x1d674b,_0xc8fa8d;if(typeof _0x488226=='string'?(_0x1d674b=Buffer[_0x1feb86(0x199)](_0x488226),_0xc8fa8d=!0x1):_0x13d9e7(_0x488226)?(_0x1d674b=_0x488226[_0x1feb86(0x1c4)],_0xc8fa8d=!0x1):(_0x488226=_0x1df261(_0x488226),_0x1d674b=_0x488226[_0x1feb86(0x2ec)],_0xc8fa8d=_0x1df261[_0x1feb86(0x2ae)]),_0x1d674b>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x5be578={[_0x3b6868]:_0x1d674b,'fin':!0x0,'generateMask':this[_0x1feb86(0x16e)],'mask':_0x39347e,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0xc8fa8d,'rsv1':!0x1};_0x13d9e7(_0x488226)?this[_0x1feb86(0x327)]!==_0x3c1a9b?this['enqueue']([this[_0x1feb86(0x2fa)],_0x488226,!0x1,_0x5be578,_0x2d6b42]):this[_0x1feb86(0x2fa)](_0x488226,!0x1,_0x5be578,_0x2d6b42):this[_0x1feb86(0x327)]!==_0x3c1a9b?this['enqueue']([this[_0x1feb86(0x1c5)],_0x488226,!0x1,_0x5be578,_0x2d6b42]):this[_0x1feb86(0x195)](_0x53a0b2[_0x1feb86(0x299)](_0x488226,_0x5be578),_0x2d6b42);}[_0x692061(0x25c)](_0x1f9614,_0x3ff36b,_0x49cfd2){const _0x1c6886=_0x692061;let _0x45d6e,_0x285d0a;if(typeof _0x1f9614=='string'?(_0x45d6e=Buffer[_0x1c6886(0x199)](_0x1f9614),_0x285d0a=!0x1):_0x13d9e7(_0x1f9614)?(_0x45d6e=_0x1f9614[_0x1c6886(0x1c4)],_0x285d0a=!0x1):(_0x1f9614=_0x1df261(_0x1f9614),_0x45d6e=_0x1f9614[_0x1c6886(0x2ec)],_0x285d0a=_0x1df261['readOnly']),_0x45d6e>0x7d)throw new RangeError(_0x1c6886(0x212));const _0x590b0d={[_0x3b6868]:_0x45d6e,'fin':!0x0,'generateMask':this[_0x1c6886(0x16e)],'mask':_0x3ff36b,'maskBuffer':this[_0x1c6886(0x260)],'opcode':0xa,'readOnly':_0x285d0a,'rsv1':!0x1};_0x13d9e7(_0x1f9614)?this[_0x1c6886(0x327)]!==_0x3c1a9b?this[_0x1c6886(0x171)]([this[_0x1c6886(0x2fa)],_0x1f9614,!0x1,_0x590b0d,_0x49cfd2]):this[_0x1c6886(0x2fa)](_0x1f9614,!0x1,_0x590b0d,_0x49cfd2):this[_0x1c6886(0x327)]!==_0x3c1a9b?this[_0x1c6886(0x171)]([this['dispatch'],_0x1f9614,!0x1,_0x590b0d,_0x49cfd2]):this[_0x1c6886(0x195)](_0x53a0b2[_0x1c6886(0x299)](_0x1f9614,_0x590b0d),_0x49cfd2);}[_0x692061(0x19a)](_0x47ffbb,_0x2c38d0,_0x2cd777){const _0x48f608=_0x692061,_0x3958da=this[_0x48f608(0x1ec)][_0x44722f[_0x48f608(0x267)]];let _0x5956b9=_0x2c38d0[_0x48f608(0x2fc)]?0x2:0x1,_0x36cf86=_0x2c38d0['compress'],_0x1ccf25,_0x8b93b6;typeof _0x47ffbb=='string'?(_0x1ccf25=Buffer['byteLength'](_0x47ffbb),_0x8b93b6=!0x1):_0x13d9e7(_0x47ffbb)?(_0x1ccf25=_0x47ffbb[_0x48f608(0x1c4)],_0x8b93b6=!0x1):(_0x47ffbb=_0x1df261(_0x47ffbb),_0x1ccf25=_0x47ffbb[_0x48f608(0x2ec)],_0x8b93b6=_0x1df261[_0x48f608(0x2ae)]),this['_firstFragment']?(this[_0x48f608(0x277)]=!0x1,_0x36cf86&&_0x3958da&&_0x3958da[_0x48f608(0x1fe)][_0x3958da[_0x48f608(0x328)]?_0x48f608(0x2a9):_0x48f608(0x2b9)]&&(_0x36cf86=_0x1ccf25>=_0x3958da['_threshold']),this[_0x48f608(0x2d2)]=_0x36cf86):(_0x36cf86=!0x1,_0x5956b9=0x0),_0x2c38d0[_0x48f608(0x22b)]&&(this[_0x48f608(0x277)]=!0x0);const _0x472038={[_0x3b6868]:_0x1ccf25,'fin':_0x2c38d0[_0x48f608(0x22b)],'generateMask':this[_0x48f608(0x16e)],'mask':_0x2c38d0['mask'],'maskBuffer':this[_0x48f608(0x260)],'opcode':_0x5956b9,'readOnly':_0x8b93b6,'rsv1':_0x36cf86};_0x13d9e7(_0x47ffbb)?this[_0x48f608(0x327)]!==_0x3c1a9b?this[_0x48f608(0x171)]([this['getBlobData'],_0x47ffbb,this[_0x48f608(0x2d2)],_0x472038,_0x2cd777]):this[_0x48f608(0x2fa)](_0x47ffbb,this[_0x48f608(0x2d2)],_0x472038,_0x2cd777):this[_0x48f608(0x327)]!==_0x3c1a9b?this['enqueue']([this[_0x48f608(0x1c5)],_0x47ffbb,this[_0x48f608(0x2d2)],_0x472038,_0x2cd777]):this[_0x48f608(0x1c5)](_0x47ffbb,this[_0x48f608(0x2d2)],_0x472038,_0x2cd777);}[_0x692061(0x2fa)](_0x21c68f,_0x45e77b,_0x519651,_0x5436d0){const _0x57f27f=_0x692061;this[_0x57f27f(0x163)]+=_0x519651[_0x3b6868],this[_0x57f27f(0x327)]=_0x385e06,_0x21c68f[_0x57f27f(0x23a)]()[_0x57f27f(0x1d6)](_0x2976ca=>{const _0x2104c4=_0x57f27f;if(this[_0x2104c4(0x1a8)]['destroyed']){const _0xa0c223=new Error(_0x2104c4(0x300));process[_0x2104c4(0x1e0)](_0x4b9297,this,_0xa0c223,_0x5436d0);return;}this[_0x2104c4(0x163)]-=_0x519651[_0x3b6868];const _0x2ce0ba=_0x1df261(_0x2976ca);_0x45e77b?this[_0x2104c4(0x1c5)](_0x2ce0ba,_0x45e77b,_0x519651,_0x5436d0):(this[_0x2104c4(0x327)]=_0x3c1a9b,this[_0x2104c4(0x195)](_0x53a0b2['frame'](_0x2ce0ba,_0x519651),_0x5436d0),this['dequeue']());})[_0x57f27f(0x1bd)](_0x3a4ec7=>{const _0x47a85c=_0x57f27f;process[_0x47a85c(0x1e0)](_0x5c48e0,this,_0x3a4ec7,_0x5436d0);});}[_0x692061(0x1c5)](_0x2bcb75,_0x2a82a0,_0x1623c2,_0x17e569){const _0x4b1b38=_0x692061;if(!_0x2a82a0){this[_0x4b1b38(0x195)](_0x53a0b2['frame'](_0x2bcb75,_0x1623c2),_0x17e569);return;}const _0x1a9534=this[_0x4b1b38(0x1ec)][_0x44722f[_0x4b1b38(0x267)]];this['_bufferedBytes']+=_0x1623c2[_0x3b6868],this[_0x4b1b38(0x327)]=_0x20b183,_0x1a9534[_0x4b1b38(0x319)](_0x2bcb75,_0x1623c2[_0x4b1b38(0x22b)],(_0xf2d544,_0x22c13b)=>{const _0x1dc1b8=_0x4b1b38;if(this[_0x1dc1b8(0x1a8)]['destroyed']){const _0x18471d=new Error(_0x1dc1b8(0x2f7));_0x4b9297(this,_0x18471d,_0x17e569);return;}this['_bufferedBytes']-=_0x1623c2[_0x3b6868],this['_state']=_0x3c1a9b,_0x1623c2['readOnly']=!0x1,this[_0x1dc1b8(0x195)](_0x53a0b2[_0x1dc1b8(0x299)](_0x22c13b,_0x1623c2),_0x17e569),this[_0x1dc1b8(0x303)]();});}[_0x692061(0x303)](){const _0x27ec49=_0x692061;for(;this[_0x27ec49(0x327)]===_0x3c1a9b&&this[_0x27ec49(0x20c)][_0x27ec49(0x2ec)];){const _0x128974=this['_queue']['shift']();this[_0x27ec49(0x163)]-=_0x128974[0x3][_0x3b6868],Reflect[_0x27ec49(0x21a)](_0x128974[0x0],this,_0x128974[_0x27ec49(0x306)](0x1));}}[_0x692061(0x171)](_0xd9d911){const _0x1ac60a=_0x692061;this[_0x1ac60a(0x163)]+=_0xd9d911[0x3][_0x3b6868],this[_0x1ac60a(0x20c)]['push'](_0xd9d911);}['sendFrame'](_0x2fd471,_0x293511){const _0x466c1f=_0x692061;_0x2fd471[_0x466c1f(0x2ec)]===0x2?(this[_0x466c1f(0x1a8)][_0x466c1f(0x29b)](),this[_0x466c1f(0x1a8)][_0x466c1f(0x292)](_0x2fd471[0x0]),this['_socket'][_0x466c1f(0x292)](_0x2fd471[0x1],_0x293511),this[_0x466c1f(0x1a8)][_0x466c1f(0x1c8)]()):this[_0x466c1f(0x1a8)][_0x466c1f(0x292)](_0x2fd471[0x0],_0x293511);}}Ee=_0x53a0b2;function _0x4b9297(_0x140c6c,_0x407b7d,_0xdbb826){const _0x24b06a=_0x692061;typeof _0xdbb826==_0x24b06a(0x1e7)&&_0xdbb826(_0x407b7d);for(let _0x185f82=0x0;_0x185f82<_0x140c6c['_queue'][_0x24b06a(0x2ec)];_0x185f82++){const _0x408586=_0x140c6c[_0x24b06a(0x20c)][_0x185f82],_0x570b65=_0x408586[_0x408586['length']-0x1];typeof _0x570b65==_0x24b06a(0x1e7)&&_0x570b65(_0x407b7d);}}function _0x5c48e0(_0x1fb192,_0x2fd926,_0x3c1ef7){const _0x391770=_0x692061;_0x4b9297(_0x1fb192,_0x2fd926,_0x3c1ef7),_0x1fb192[_0x391770(0x16a)](_0x2fd926);}return Ee;}var xe,Ze;function It(){const _0x459f6f=_0x524c07;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x53367f,kListener:_0x20ebf3}=H(),_0x3fac89=Symbol('kCode'),_0x1592a6=Symbol(_0x459f6f(0x1e6)),_0xb26fd6=Symbol(_0x459f6f(0x243)),_0x584936=Symbol(_0x459f6f(0x218)),_0x3f3b26=Symbol(_0x459f6f(0x1d9)),_0x548ea6=Symbol(_0x459f6f(0x22d)),_0x3c43e5=Symbol('kType'),_0x116dfb=Symbol(_0x459f6f(0x2e9));class _0x37c485{constructor(_0x1ab762){this[_0x548ea6]=null,this[_0x3c43e5]=_0x1ab762;}get[_0x459f6f(0x251)](){return this[_0x548ea6];}get['type'](){return this[_0x3c43e5];}}Object['defineProperty'](_0x37c485[_0x459f6f(0x31d)],_0x459f6f(0x251),{'enumerable':!0x0}),Object[_0x459f6f(0x1f9)](_0x37c485[_0x459f6f(0x31d)],_0x459f6f(0x189),{'enumerable':!0x0});class _0x5d7951 extends _0x37c485{constructor(_0x3cfea7,_0x22fbba={}){const _0x427bfe=_0x459f6f;super(_0x3cfea7),this[_0x3fac89]=_0x22fbba[_0x427bfe(0x225)]===void 0x0?0x0:_0x22fbba[_0x427bfe(0x225)],this[_0x3f3b26]=_0x22fbba[_0x427bfe(0x208)]===void 0x0?'':_0x22fbba[_0x427bfe(0x208)],this[_0x116dfb]=_0x22fbba['wasClean']===void 0x0?!0x1:_0x22fbba['wasClean'];}get['code'](){return this[_0x3fac89];}get[_0x459f6f(0x208)](){return this[_0x3f3b26];}get[_0x459f6f(0x322)](){return this[_0x116dfb];}}Object[_0x459f6f(0x1f9)](_0x5d7951['prototype'],_0x459f6f(0x225),{'enumerable':!0x0}),Object[_0x459f6f(0x1f9)](_0x5d7951['prototype'],_0x459f6f(0x208),{'enumerable':!0x0}),Object[_0x459f6f(0x1f9)](_0x5d7951[_0x459f6f(0x31d)],'wasClean',{'enumerable':!0x0});class _0x1fd837 extends _0x37c485{constructor(_0x2c48d9,_0x571340={}){const _0x35a8b0=_0x459f6f;super(_0x2c48d9),this[_0xb26fd6]=_0x571340[_0x35a8b0(0x22a)]===void 0x0?null:_0x571340[_0x35a8b0(0x22a)],this[_0x584936]=_0x571340[_0x35a8b0(0x26c)]===void 0x0?'':_0x571340['message'];}get[_0x459f6f(0x22a)](){return this[_0xb26fd6];}get[_0x459f6f(0x26c)](){return this[_0x584936];}}Object[_0x459f6f(0x1f9)](_0x1fd837[_0x459f6f(0x31d)],_0x459f6f(0x22a),{'enumerable':!0x0}),Object[_0x459f6f(0x1f9)](_0x1fd837[_0x459f6f(0x31d)],'message',{'enumerable':!0x0});class _0x524f1a extends _0x37c485{constructor(_0x559347,_0xeede76={}){super(_0x559347),this[_0x1592a6]=_0xeede76['data']===void 0x0?null:_0xeede76['data'];}get[_0x459f6f(0x1f0)](){return this[_0x1592a6];}}Object['defineProperty'](_0x524f1a['prototype'],_0x459f6f(0x1f0),{'enumerable':!0x0}),xe={'CloseEvent':_0x5d7951,'ErrorEvent':_0x1fd837,'Event':_0x37c485,'EventTarget':{'addEventListener'(_0x30a2b1,_0x1030fb,_0x2453b7={}){const _0x140765=_0x459f6f;for(const _0x16d318 of this['listeners'](_0x30a2b1))if(!_0x2453b7[_0x53367f]&&_0x16d318[_0x20ebf3]===_0x1030fb&&!_0x16d318[_0x53367f])return;let _0x1c2cf8;if(_0x30a2b1==='message')_0x1c2cf8=function(_0x18fed4,_0x490b23){const _0x40de86=_0x2d44,_0x87e074=new _0x524f1a('message',{'data':_0x490b23?_0x18fed4:_0x18fed4[_0x40de86(0x30d)]()});_0x87e074[_0x548ea6]=this,_0x4801db(_0x1030fb,this,_0x87e074);};else{if(_0x30a2b1===_0x140765(0x181))_0x1c2cf8=function(_0x52a09a,_0x5d1029){const _0x34517c=_0x140765,_0x1575e8=new _0x5d7951(_0x34517c(0x181),{'code':_0x52a09a,'reason':_0x5d1029[_0x34517c(0x30d)](),'wasClean':this['_closeFrameReceived']&&this['_closeFrameSent']});_0x1575e8[_0x548ea6]=this,_0x4801db(_0x1030fb,this,_0x1575e8);};else{if(_0x30a2b1===_0x140765(0x22a))_0x1c2cf8=function(_0x286c3e){const _0x37eea5=_0x140765,_0x2cdd0a=new _0x1fd837(_0x37eea5(0x22a),{'error':_0x286c3e,'message':_0x286c3e[_0x37eea5(0x26c)]});_0x2cdd0a[_0x548ea6]=this,_0x4801db(_0x1030fb,this,_0x2cdd0a);};else{if(_0x30a2b1==='open')_0x1c2cf8=function(){const _0x198d9a=_0x140765,_0x8cb02b=new _0x37c485(_0x198d9a(0x1f8));_0x8cb02b[_0x548ea6]=this,_0x4801db(_0x1030fb,this,_0x8cb02b);};else return;}}}_0x1c2cf8[_0x53367f]=!!_0x2453b7[_0x53367f],_0x1c2cf8[_0x20ebf3]=_0x1030fb,_0x2453b7[_0x140765(0x237)]?this[_0x140765(0x237)](_0x30a2b1,_0x1c2cf8):this['on'](_0x30a2b1,_0x1c2cf8);},'removeEventListener'(_0x3fa81b,_0x472bc3){const _0x48a383=_0x459f6f;for(const _0x31a6dc of this['listeners'](_0x3fa81b))if(_0x31a6dc[_0x20ebf3]===_0x472bc3&&!_0x31a6dc[_0x53367f]){this[_0x48a383(0x276)](_0x3fa81b,_0x31a6dc);break;}}},'MessageEvent':_0x524f1a};function _0x4801db(_0x3605cd,_0x16d718,_0x3cf61a){const _0x53dbe2=_0x459f6f;typeof _0x3605cd==_0x53dbe2(0x215)&&_0x3605cd['handleEvent']?_0x3605cd[_0x53dbe2(0x1ce)][_0x53dbe2(0x1fb)](_0x3605cd,_0x3cf61a):_0x3605cd[_0x53dbe2(0x1fb)](_0x16d718,_0x3cf61a);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x45c397}=ae();function _0x139f91(_0x44d251,_0x2ee38c,_0x2a6c9d){const _0xd473c8=_0x2d44;_0x44d251[_0x2ee38c]===void 0x0?_0x44d251[_0x2ee38c]=[_0x2a6c9d]:_0x44d251[_0x2ee38c][_0xd473c8(0x1e9)](_0x2a6c9d);}function _0xa2da7(_0xb323ad){const _0x10425d=_0x2d44,_0xa8aa9=Object['create'](null);let _0x1fb558=Object[_0x10425d(0x2dd)](null),_0x1ba5e1=!0x1,_0x1e4284=!0x1,_0x28a064=!0x1,_0x57e6dd,_0x53a0a8,_0x35f475=-0x1,_0x3566a8=-0x1,_0x54a4fb=-0x1,_0x34a378=0x0;for(;_0x34a378<_0xb323ad[_0x10425d(0x2ec)];_0x34a378++)if(_0x3566a8=_0xb323ad[_0x10425d(0x188)](_0x34a378),_0x57e6dd===void 0x0){if(_0x54a4fb===-0x1&&_0x45c397[_0x3566a8]===0x1)_0x35f475===-0x1&&(_0x35f475=_0x34a378);else{if(_0x34a378!==0x0&&(_0x3566a8===0x20||_0x3566a8===0x9))_0x54a4fb===-0x1&&_0x35f475!==-0x1&&(_0x54a4fb=_0x34a378);else{if(_0x3566a8===0x3b||_0x3566a8===0x2c){if(_0x35f475===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x34a378);_0x54a4fb===-0x1&&(_0x54a4fb=_0x34a378);const _0x1649dc=_0xb323ad[_0x10425d(0x306)](_0x35f475,_0x54a4fb);_0x3566a8===0x2c?(_0x139f91(_0xa8aa9,_0x1649dc,_0x1fb558),_0x1fb558=Object['create'](null)):_0x57e6dd=_0x1649dc,_0x35f475=_0x54a4fb=-0x1;}else throw new SyntaxError(_0x10425d(0x2b6)+_0x34a378);}}}else{if(_0x53a0a8===void 0x0){if(_0x54a4fb===-0x1&&_0x45c397[_0x3566a8]===0x1)_0x35f475===-0x1&&(_0x35f475=_0x34a378);else{if(_0x3566a8===0x20||_0x3566a8===0x9)_0x54a4fb===-0x1&&_0x35f475!==-0x1&&(_0x54a4fb=_0x34a378);else{if(_0x3566a8===0x3b||_0x3566a8===0x2c){if(_0x35f475===-0x1)throw new SyntaxError(_0x10425d(0x2b6)+_0x34a378);_0x54a4fb===-0x1&&(_0x54a4fb=_0x34a378),_0x139f91(_0x1fb558,_0xb323ad[_0x10425d(0x306)](_0x35f475,_0x54a4fb),!0x0),_0x3566a8===0x2c&&(_0x139f91(_0xa8aa9,_0x57e6dd,_0x1fb558),_0x1fb558=Object[_0x10425d(0x2dd)](null),_0x57e6dd=void 0x0),_0x35f475=_0x54a4fb=-0x1;}else{if(_0x3566a8===0x3d&&_0x35f475!==-0x1&&_0x54a4fb===-0x1)_0x53a0a8=_0xb323ad[_0x10425d(0x306)](_0x35f475,_0x34a378),_0x35f475=_0x54a4fb=-0x1;else throw new SyntaxError(_0x10425d(0x2b6)+_0x34a378);}}}}else{if(_0x1e4284){if(_0x45c397[_0x3566a8]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x34a378);_0x35f475===-0x1?_0x35f475=_0x34a378:_0x1ba5e1||(_0x1ba5e1=!0x0),_0x1e4284=!0x1;}else{if(_0x28a064){if(_0x45c397[_0x3566a8]===0x1)_0x35f475===-0x1&&(_0x35f475=_0x34a378);else{if(_0x3566a8===0x22&&_0x35f475!==-0x1)_0x28a064=!0x1,_0x54a4fb=_0x34a378;else{if(_0x3566a8===0x5c)_0x1e4284=!0x0;else throw new SyntaxError(_0x10425d(0x2b6)+_0x34a378);}}}else{if(_0x3566a8===0x22&&_0xb323ad[_0x10425d(0x188)](_0x34a378-0x1)===0x3d)_0x28a064=!0x0;else{if(_0x54a4fb===-0x1&&_0x45c397[_0x3566a8]===0x1)_0x35f475===-0x1&&(_0x35f475=_0x34a378);else{if(_0x35f475!==-0x1&&(_0x3566a8===0x20||_0x3566a8===0x9))_0x54a4fb===-0x1&&(_0x54a4fb=_0x34a378);else{if(_0x3566a8===0x3b||_0x3566a8===0x2c){if(_0x35f475===-0x1)throw new SyntaxError(_0x10425d(0x2b6)+_0x34a378);_0x54a4fb===-0x1&&(_0x54a4fb=_0x34a378);let _0x70ceca=_0xb323ad[_0x10425d(0x306)](_0x35f475,_0x54a4fb);_0x1ba5e1&&(_0x70ceca=_0x70ceca[_0x10425d(0x261)](/\\/g,''),_0x1ba5e1=!0x1),_0x139f91(_0x1fb558,_0x53a0a8,_0x70ceca),_0x3566a8===0x2c&&(_0x139f91(_0xa8aa9,_0x57e6dd,_0x1fb558),_0x1fb558=Object[_0x10425d(0x2dd)](null),_0x57e6dd=void 0x0),_0x53a0a8=void 0x0,_0x35f475=_0x54a4fb=-0x1;}else throw new SyntaxError(_0x10425d(0x2b6)+_0x34a378);}}}}}}}if(_0x35f475===-0x1||_0x28a064||_0x3566a8===0x20||_0x3566a8===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x54a4fb===-0x1&&(_0x54a4fb=_0x34a378);const _0x47e003=_0xb323ad[_0x10425d(0x306)](_0x35f475,_0x54a4fb);return _0x57e6dd===void 0x0?_0x139f91(_0xa8aa9,_0x47e003,_0x1fb558):(_0x53a0a8===void 0x0?_0x139f91(_0x1fb558,_0x47e003,!0x0):_0x1ba5e1?_0x139f91(_0x1fb558,_0x53a0a8,_0x47e003['replace'](/\\/g,'')):_0x139f91(_0x1fb558,_0x53a0a8,_0x47e003),_0x139f91(_0xa8aa9,_0x57e6dd,_0x1fb558)),_0xa8aa9;}function _0x1c3ec4(_0x314f5c){const _0x1d3c7a=_0x2d44;return Object['keys'](_0x314f5c)[_0x1d3c7a(0x1e4)](_0x58ee92=>{const _0x45c0ab=_0x1d3c7a;let _0xe09828=_0x314f5c[_0x58ee92];return Array[_0x45c0ab(0x20d)](_0xe09828)||(_0xe09828=[_0xe09828]),_0xe09828[_0x45c0ab(0x1e4)](_0x5cdb09=>[_0x58ee92][_0x45c0ab(0x190)](Object[_0x45c0ab(0x1ae)](_0x5cdb09)['map'](_0x107e36=>{const _0x4501d6=_0x45c0ab;let _0x387c74=_0x5cdb09[_0x107e36];return Array[_0x4501d6(0x20d)](_0x387c74)||(_0x387c74=[_0x387c74]),_0x387c74[_0x4501d6(0x1e4)](_0x1dc5cb=>_0x1dc5cb===!0x0?_0x107e36:_0x107e36+'='+_0x1dc5cb)['join'](';\x20');}))['join'](';\x20'))['join'](',\x20');})[_0x1d3c7a(0x1a9)](',\x20');}return be={'format':_0x1c3ec4,'parse':_0xa2da7},be;}var we,Je;function Pe(){const _0x4faf7e=_0x524c07;if(Je)return we;Je=0x1;const _0xf8e01d=nt,_0x562920=vt,_0x4aa9a5=ot,_0x359feb=St,_0x230bf4=Et,{randomBytes:_0x3440ac,createHash:_0x470266}=Le,{Duplex:_0x284535,Readable:_0x6bc9b1}=oe,{URL:_0x5ed7af}=xt,_0x5b8cc5=he(),_0x2cda80=lt(),_0x4e8d79=ft(),{isBlob:_0x50d6cd}=ae(),{BINARY_TYPES:_0x3c2c08,EMPTY_BUFFER:_0x97f094,GUID:_0x59e80b,kForOnEventAttribute:_0x4e4206,kListener:_0x4ae51f,kStatusCode:_0x17df01,kWebSocket:_0x54774b,NOOP:_0x4feda0}=H(),{EventTarget:{addEventListener:_0x4f2348,removeEventListener:_0x233bc3}}=It(),{format:_0x4af5bf,parse:_0x5c5c55}=ct(),{toBuffer:_0x11f708}=ce(),_0xa4c8ad=0x1e*0x3e8,_0x1bc752=Symbol(_0x4faf7e(0x1f2)),_0x1e25db=[0x8,0xd],_0xa9a9bc=[_0x4faf7e(0x2a0),'OPEN',_0x4faf7e(0x2fd),_0x4faf7e(0x25b)],_0x31ad03=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x5c739c extends _0xf8e01d{constructor(_0x251c7f,_0x11a126,_0x232ce1){const _0x105f65=_0x4faf7e;super(),this[_0x105f65(0x281)]=_0x3c2c08[0x0],this[_0x105f65(0x1bc)]=0x3ee,this[_0x105f65(0x198)]=!0x1,this['_closeFrameSent']=!0x1,this['_closeMessage']=_0x97f094,this['_closeTimer']=null,this[_0x105f65(0x250)]=!0x1,this[_0x105f65(0x1ec)]={},this[_0x105f65(0x26b)]=!0x1,this[_0x105f65(0x28d)]='',this[_0x105f65(0x166)]=_0x5c739c[_0x105f65(0x2a0)],this['_receiver']=null,this[_0x105f65(0x25a)]=null,this[_0x105f65(0x1a8)]=null,_0x251c7f!==null?(this[_0x105f65(0x16d)]=0x0,this['_isServer']=!0x1,this[_0x105f65(0x2f6)]=0x0,_0x11a126===void 0x0?_0x11a126=[]:Array[_0x105f65(0x20d)](_0x11a126)||(typeof _0x11a126==_0x105f65(0x215)&&_0x11a126!==null?(_0x232ce1=_0x11a126,_0x11a126=[]):_0x11a126=[_0x11a126]),_0x50c1f9(this,_0x251c7f,_0x11a126,_0x232ce1)):(this['_autoPong']=_0x232ce1[_0x105f65(0x2da)],this[_0x105f65(0x328)]=!0x0);}get[_0x4faf7e(0x224)](){const _0x25c87d=_0x4faf7e;return this[_0x25c87d(0x281)];}set[_0x4faf7e(0x224)](_0x10e3de){const _0x6af6ad=_0x4faf7e;_0x3c2c08['includes'](_0x10e3de)&&(this['_binaryType']=_0x10e3de,this[_0x6af6ad(0x2c5)]&&(this['_receiver']['_binaryType']=_0x10e3de));}get[_0x4faf7e(0x23c)](){const _0x4f7590=_0x4faf7e;return this[_0x4f7590(0x1a8)]?this[_0x4f7590(0x1a8)][_0x4f7590(0x311)][_0x4f7590(0x2ec)]+this[_0x4f7590(0x25a)][_0x4f7590(0x163)]:this[_0x4f7590(0x16d)];}get[_0x4faf7e(0x19b)](){const _0x1cd980=_0x4faf7e;return Object[_0x1cd980(0x1ae)](this[_0x1cd980(0x1ec)])[_0x1cd980(0x1a9)]();}get[_0x4faf7e(0x2a7)](){const _0x49904b=_0x4faf7e;return this[_0x49904b(0x26b)];}get[_0x4faf7e(0x264)](){return null;}get[_0x4faf7e(0x16a)](){return null;}get[_0x4faf7e(0x21c)](){return null;}get[_0x4faf7e(0x2c4)](){return null;}get[_0x4faf7e(0x28b)](){const _0x30b691=_0x4faf7e;return this[_0x30b691(0x28d)];}get[_0x4faf7e(0x169)](){return this['_readyState'];}get[_0x4faf7e(0x26d)](){const _0x5001b7=_0x4faf7e;return this[_0x5001b7(0x2b1)];}['setSocket'](_0x25d199,_0x235df0,_0x43ac27){const _0x239cdb=_0x4faf7e,_0xee5c47=new _0x2cda80({'allowSynchronousEvents':_0x43ac27[_0x239cdb(0x2ea)],'binaryType':this[_0x239cdb(0x224)],'extensions':this[_0x239cdb(0x1ec)],'isServer':this['_isServer'],'maxPayload':_0x43ac27['maxPayload'],'skipUTF8Validation':_0x43ac27[_0x239cdb(0x301)]}),_0x9bdb77=new _0x4e8d79(_0x25d199,this[_0x239cdb(0x1ec)],_0x43ac27[_0x239cdb(0x201)]);this['_receiver']=_0xee5c47,this[_0x239cdb(0x25a)]=_0x9bdb77,this[_0x239cdb(0x1a8)]=_0x25d199,_0xee5c47[_0x54774b]=this,_0x9bdb77[_0x54774b]=this,_0x25d199[_0x54774b]=this,_0xee5c47['on']('conclude',_0x38f7dc),_0xee5c47['on'](_0x239cdb(0x2f0),_0x49e0ac),_0xee5c47['on']('error',_0x7fe88b),_0xee5c47['on']('message',_0x25ecc9),_0xee5c47['on']('ping',_0x2879ff),_0xee5c47['on'](_0x239cdb(0x25c),_0x51c900),_0x9bdb77[_0x239cdb(0x16a)]=_0xb5a989,_0x25d199[_0x239cdb(0x2a6)]&&_0x25d199[_0x239cdb(0x2a6)](0x0),_0x25d199[_0x239cdb(0x235)]&&_0x25d199[_0x239cdb(0x235)](),_0x235df0[_0x239cdb(0x2ec)]>0x0&&_0x25d199['unshift'](_0x235df0),_0x25d199['on'](_0x239cdb(0x181),_0x3dbcc0),_0x25d199['on']('data',_0x4e3d60),_0x25d199['on'](_0x239cdb(0x18b),_0x335912),_0x25d199['on'](_0x239cdb(0x22a),_0x203f5c),this['_readyState']=_0x5c739c[_0x239cdb(0x1d4)],this[_0x239cdb(0x1b3)]('open');}['emitClose'](){const _0x20b20d=_0x4faf7e;if(!this[_0x20b20d(0x1a8)]){this[_0x20b20d(0x166)]=_0x5c739c[_0x20b20d(0x25b)],this['emit']('close',this['_closeCode'],this[_0x20b20d(0x1dd)]);return;}this[_0x20b20d(0x1ec)][_0x5b8cc5[_0x20b20d(0x267)]]&&this[_0x20b20d(0x1ec)][_0x5b8cc5['extensionName']]['cleanup'](),this[_0x20b20d(0x2c5)][_0x20b20d(0x204)](),this[_0x20b20d(0x166)]=_0x5c739c[_0x20b20d(0x25b)],this[_0x20b20d(0x1b3)]('close',this[_0x20b20d(0x1bc)],this[_0x20b20d(0x1dd)]);}[_0x4faf7e(0x181)](_0x5d62f1,_0x32e83d){const _0x2de7d6=_0x4faf7e;if(this[_0x2de7d6(0x169)]!==_0x5c739c[_0x2de7d6(0x25b)]){if(this['readyState']===_0x5c739c[_0x2de7d6(0x2a0)]){_0x48d35c(this,this['_req'],_0x2de7d6(0x1a3));return;}if(this[_0x2de7d6(0x169)]===_0x5c739c[_0x2de7d6(0x2fd)]){this[_0x2de7d6(0x315)]&&(this[_0x2de7d6(0x198)]||this[_0x2de7d6(0x2c5)][_0x2de7d6(0x311)][_0x2de7d6(0x320)])&&this[_0x2de7d6(0x1a8)][_0x2de7d6(0x18b)]();return;}this['_readyState']=_0x5c739c['CLOSING'],this[_0x2de7d6(0x25a)][_0x2de7d6(0x181)](_0x5d62f1,_0x32e83d,!this['_isServer'],_0x4e0a2a=>{const _0x1cd0c8=_0x2de7d6;_0x4e0a2a||(this['_closeFrameSent']=!0x0,(this[_0x1cd0c8(0x198)]||this['_receiver'][_0x1cd0c8(0x311)][_0x1cd0c8(0x320)])&&this[_0x1cd0c8(0x1a8)]['end']());}),_0x46bd26(this);}}[_0x4faf7e(0x1c1)](){const _0x42fcf2=_0x4faf7e;this['readyState']===_0x5c739c['CONNECTING']||this[_0x42fcf2(0x169)]===_0x5c739c[_0x42fcf2(0x25b)]||(this[_0x42fcf2(0x26b)]=!0x0,this['_socket']['pause']());}[_0x4faf7e(0x27e)](_0x47142d,_0x5e4590,_0x3b1d7f){const _0x441045=_0x4faf7e;if(this[_0x441045(0x169)]===_0x5c739c['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x47142d==_0x441045(0x1e7)?(_0x3b1d7f=_0x47142d,_0x47142d=_0x5e4590=void 0x0):typeof _0x5e4590=='function'&&(_0x3b1d7f=_0x5e4590,_0x5e4590=void 0x0),typeof _0x47142d=='number'&&(_0x47142d=_0x47142d[_0x441045(0x30d)]()),this['readyState']!==_0x5c739c[_0x441045(0x1d4)]){_0x4b048(this,_0x47142d,_0x3b1d7f);return;}_0x5e4590===void 0x0&&(_0x5e4590=!this[_0x441045(0x328)]),this[_0x441045(0x25a)][_0x441045(0x27e)](_0x47142d||_0x97f094,_0x5e4590,_0x3b1d7f);}[_0x4faf7e(0x25c)](_0xb46f29,_0x558b47,_0x13ce71){const _0x31506=_0x4faf7e;if(this['readyState']===_0x5c739c[_0x31506(0x2a0)])throw new Error(_0x31506(0x174));if(typeof _0xb46f29=='function'?(_0x13ce71=_0xb46f29,_0xb46f29=_0x558b47=void 0x0):typeof _0x558b47==_0x31506(0x1e7)&&(_0x13ce71=_0x558b47,_0x558b47=void 0x0),typeof _0xb46f29==_0x31506(0x2e1)&&(_0xb46f29=_0xb46f29[_0x31506(0x30d)]()),this['readyState']!==_0x5c739c[_0x31506(0x1d4)]){_0x4b048(this,_0xb46f29,_0x13ce71);return;}_0x558b47===void 0x0&&(_0x558b47=!this['_isServer']),this['_sender'][_0x31506(0x25c)](_0xb46f29||_0x97f094,_0x558b47,_0x13ce71);}['resume'](){const _0x1eaf5c=_0x4faf7e;this['readyState']===_0x5c739c[_0x1eaf5c(0x2a0)]||this['readyState']===_0x5c739c[_0x1eaf5c(0x25b)]||(this['_paused']=!0x1,this['_receiver']['_writableState'][_0x1eaf5c(0x2b2)]||this[_0x1eaf5c(0x1a8)][_0x1eaf5c(0x318)]());}[_0x4faf7e(0x19a)](_0x25d1ec,_0x42fae4,_0x343d1c){const _0x3954b3=_0x4faf7e;if(this['readyState']===_0x5c739c[_0x3954b3(0x2a0)])throw new Error(_0x3954b3(0x174));if(typeof _0x42fae4=='function'&&(_0x343d1c=_0x42fae4,_0x42fae4={}),typeof _0x25d1ec==_0x3954b3(0x2e1)&&(_0x25d1ec=_0x25d1ec[_0x3954b3(0x30d)]()),this[_0x3954b3(0x169)]!==_0x5c739c['OPEN']){_0x4b048(this,_0x25d1ec,_0x343d1c);return;}const _0x195f8a={'binary':typeof _0x25d1ec!=_0x3954b3(0x2d5),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x42fae4};this[_0x3954b3(0x1ec)][_0x5b8cc5['extensionName']]||(_0x195f8a[_0x3954b3(0x319)]=!0x1),this[_0x3954b3(0x25a)]['send'](_0x25d1ec||_0x97f094,_0x195f8a,_0x343d1c);}[_0x4faf7e(0x22f)](){const _0x250b66=_0x4faf7e;if(this[_0x250b66(0x169)]!==_0x5c739c[_0x250b66(0x25b)]){if(this[_0x250b66(0x169)]===_0x5c739c[_0x250b66(0x2a0)]){_0x48d35c(this,this[_0x250b66(0x2e8)],_0x250b66(0x1a3));return;}this[_0x250b66(0x1a8)]&&(this[_0x250b66(0x166)]=_0x5c739c[_0x250b66(0x2fd)],this['_socket'][_0x250b66(0x284)]());}}}Object[_0x4faf7e(0x1f9)](_0x5c739c,_0x4faf7e(0x2a0),{'enumerable':!0x0,'value':_0xa9a9bc[_0x4faf7e(0x203)](_0x4faf7e(0x2a0))}),Object['defineProperty'](_0x5c739c[_0x4faf7e(0x31d)],_0x4faf7e(0x2a0),{'enumerable':!0x0,'value':_0xa9a9bc[_0x4faf7e(0x203)]('CONNECTING')}),Object[_0x4faf7e(0x1f9)](_0x5c739c,_0x4faf7e(0x1d4),{'enumerable':!0x0,'value':_0xa9a9bc[_0x4faf7e(0x203)](_0x4faf7e(0x1d4))}),Object[_0x4faf7e(0x1f9)](_0x5c739c[_0x4faf7e(0x31d)],_0x4faf7e(0x1d4),{'enumerable':!0x0,'value':_0xa9a9bc[_0x4faf7e(0x203)](_0x4faf7e(0x1d4))}),Object[_0x4faf7e(0x1f9)](_0x5c739c,_0x4faf7e(0x2fd),{'enumerable':!0x0,'value':_0xa9a9bc[_0x4faf7e(0x203)]('CLOSING')}),Object[_0x4faf7e(0x1f9)](_0x5c739c[_0x4faf7e(0x31d)],_0x4faf7e(0x2fd),{'enumerable':!0x0,'value':_0xa9a9bc[_0x4faf7e(0x203)](_0x4faf7e(0x2fd))}),Object[_0x4faf7e(0x1f9)](_0x5c739c,_0x4faf7e(0x25b),{'enumerable':!0x0,'value':_0xa9a9bc[_0x4faf7e(0x203)](_0x4faf7e(0x25b))}),Object[_0x4faf7e(0x1f9)](_0x5c739c[_0x4faf7e(0x31d)],_0x4faf7e(0x25b),{'enumerable':!0x0,'value':_0xa9a9bc[_0x4faf7e(0x203)](_0x4faf7e(0x25b))}),[_0x4faf7e(0x224),'bufferedAmount','extensions',_0x4faf7e(0x2a7),_0x4faf7e(0x28b),_0x4faf7e(0x169),_0x4faf7e(0x26d)][_0x4faf7e(0x23d)](_0x5c2fff=>{const _0x4c8cf7=_0x4faf7e;Object[_0x4c8cf7(0x1f9)](_0x5c739c[_0x4c8cf7(0x31d)],_0x5c2fff,{'enumerable':!0x0});}),['open',_0x4faf7e(0x22a),'close','message'][_0x4faf7e(0x23d)](_0x42cbc4=>{Object['defineProperty'](_0x5c739c['prototype'],'on'+_0x42cbc4,{'enumerable':!0x0,'get'(){const _0x3a108e=_0x2d44;for(const _0x5708ff of this[_0x3a108e(0x291)](_0x42cbc4))if(_0x5708ff[_0x4e4206])return _0x5708ff[_0x4ae51f];return null;},'set'(_0xd9cccc){const _0x10dfb6=_0x2d44;for(const _0x32897c of this[_0x10dfb6(0x291)](_0x42cbc4))if(_0x32897c[_0x4e4206]){this[_0x10dfb6(0x276)](_0x42cbc4,_0x32897c);break;}typeof _0xd9cccc==_0x10dfb6(0x1e7)&&this[_0x10dfb6(0x28a)](_0x42cbc4,_0xd9cccc,{[_0x4e4206]:!0x0});}});}),_0x5c739c[_0x4faf7e(0x31d)][_0x4faf7e(0x28a)]=_0x4f2348,_0x5c739c[_0x4faf7e(0x31d)]['removeEventListener']=_0x233bc3,we=_0x5c739c;function _0x50c1f9(_0x57f9d0,_0x24f664,_0x5d9333,_0x6bf2ac){const _0x4f73c2=_0x4faf7e,_0x514444={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x1e25db[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x6bf2ac,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x4f73c2(0x325),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x57f9d0[_0x4f73c2(0x24b)]=_0x514444[_0x4f73c2(0x2da)],!_0x1e25db[_0x4f73c2(0x1f1)](_0x514444[_0x4f73c2(0x1a5)]))throw new RangeError(_0x4f73c2(0x279)+_0x514444[_0x4f73c2(0x1a5)]+'\x20(supported\x20versions:\x20'+_0x1e25db[_0x4f73c2(0x1a9)](',\x20')+')');let _0x31e2c3;if(_0x24f664 instanceof _0x5ed7af)_0x31e2c3=_0x24f664;else try{_0x31e2c3=new _0x5ed7af(_0x24f664);}catch{throw new SyntaxError(_0x4f73c2(0x16b)+_0x24f664);}_0x31e2c3[_0x4f73c2(0x28b)]===_0x4f73c2(0x2c2)?_0x31e2c3['protocol']=_0x4f73c2(0x1d0):_0x31e2c3['protocol']===_0x4f73c2(0x2b3)&&(_0x31e2c3[_0x4f73c2(0x28b)]=_0x4f73c2(0x2ed)),_0x57f9d0['_url']=_0x31e2c3[_0x4f73c2(0x2c0)];const _0x5343fe=_0x31e2c3[_0x4f73c2(0x28b)]===_0x4f73c2(0x2ed),_0x25fadc=_0x31e2c3['protocol']==='ws+unix:';let _0x24edbc;if(_0x31e2c3[_0x4f73c2(0x28b)]!==_0x4f73c2(0x1d0)&&!_0x5343fe&&!_0x25fadc?_0x24edbc=_0x4f73c2(0x245):_0x25fadc&&!_0x31e2c3['pathname']?_0x24edbc='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x31e2c3['hash']&&(_0x24edbc=_0x4f73c2(0x19d)),_0x24edbc){const _0x1d041f=new SyntaxError(_0x24edbc);if(_0x57f9d0[_0x4f73c2(0x2f6)]===0x0)throw _0x1d041f;_0x171308(_0x57f9d0,_0x1d041f);return;}const _0x4c59cb=_0x5343fe?0x1bb:0x50,_0x1e8e61=_0x3440ac(0x10)[_0x4f73c2(0x30d)](_0x4f73c2(0x168)),_0x5131bf=_0x5343fe?_0x562920[_0x4f73c2(0x1b5)]:_0x4aa9a5[_0x4f73c2(0x1b5)],_0x5dbf30=new Set();let _0x3fe413;if(_0x514444[_0x4f73c2(0x1e2)]=_0x514444['createConnection']||(_0x5343fe?_0x3f02cc:_0x578b7f),_0x514444[_0x4f73c2(0x302)]=_0x514444[_0x4f73c2(0x302)]||_0x4c59cb,_0x514444['port']=_0x31e2c3[_0x4f73c2(0x1c6)]||_0x4c59cb,_0x514444['host']=_0x31e2c3[_0x4f73c2(0x2c3)][_0x4f73c2(0x2fb)]('[')?_0x31e2c3['hostname']['slice'](0x1,-0x1):_0x31e2c3[_0x4f73c2(0x2c3)],_0x514444[_0x4f73c2(0x21b)]={..._0x514444['headers'],'Sec-WebSocket-Version':_0x514444['protocolVersion'],'Sec-WebSocket-Key':_0x1e8e61,'Connection':_0x4f73c2(0x272),'Upgrade':_0x4f73c2(0x258)},_0x514444['path']=_0x31e2c3[_0x4f73c2(0x259)]+_0x31e2c3[_0x4f73c2(0x280)],_0x514444[_0x4f73c2(0x23b)]=_0x514444['handshakeTimeout'],_0x514444[_0x4f73c2(0x2bc)]&&(_0x3fe413=new _0x5b8cc5(_0x514444[_0x4f73c2(0x2bc)]!==!0x0?_0x514444[_0x4f73c2(0x2bc)]:{},!0x1,_0x514444['maxPayload']),_0x514444['headers']['Sec-WebSocket-Extensions']=_0x4af5bf({[_0x5b8cc5[_0x4f73c2(0x267)]]:_0x3fe413['offer']()})),_0x5d9333[_0x4f73c2(0x2ec)]){for(const _0x3622ea of _0x5d9333){if(typeof _0x3622ea!='string'||!_0x31ad03[_0x4f73c2(0x321)](_0x3622ea)||_0x5dbf30[_0x4f73c2(0x228)](_0x3622ea))throw new SyntaxError(_0x4f73c2(0x2b0));_0x5dbf30[_0x4f73c2(0x2d1)](_0x3622ea);}_0x514444[_0x4f73c2(0x21b)][_0x4f73c2(0x1c2)]=_0x5d9333[_0x4f73c2(0x1a9)](',');}if(_0x514444[_0x4f73c2(0x222)]&&(_0x514444['protocolVersion']<0xd?_0x514444['headers']['Sec-WebSocket-Origin']=_0x514444[_0x4f73c2(0x222)]:_0x514444['headers']['Origin']=_0x514444['origin']),(_0x31e2c3[_0x4f73c2(0x22e)]||_0x31e2c3['password'])&&(_0x514444['auth']=_0x31e2c3['username']+':'+_0x31e2c3[_0x4f73c2(0x262)]),_0x25fadc){const _0x3e2f22=_0x514444[_0x4f73c2(0x1f6)]['split'](':');_0x514444[_0x4f73c2(0x305)]=_0x3e2f22[0x0],_0x514444[_0x4f73c2(0x1f6)]=_0x3e2f22[0x1];}let _0x42427b;if(_0x514444['followRedirects']){if(_0x57f9d0['_redirects']===0x0){_0x57f9d0[_0x4f73c2(0x253)]=_0x25fadc,_0x57f9d0[_0x4f73c2(0x1d1)]=_0x5343fe,_0x57f9d0[_0x4f73c2(0x1b7)]=_0x25fadc?_0x514444[_0x4f73c2(0x305)]:_0x31e2c3[_0x4f73c2(0x21e)];const _0x538625=_0x6bf2ac&&_0x6bf2ac[_0x4f73c2(0x21b)];if(_0x6bf2ac={..._0x6bf2ac,'headers':{}},_0x538625){for(const [_0x1ba742,_0x2beb8b]of Object[_0x4f73c2(0x2cc)](_0x538625))_0x6bf2ac['headers'][_0x1ba742[_0x4f73c2(0x1b1)]()]=_0x2beb8b;}}else{if(_0x57f9d0[_0x4f73c2(0x1fa)](_0x4f73c2(0x21f))===0x0){const _0x258167=_0x25fadc?_0x57f9d0['_originalIpc']?_0x514444[_0x4f73c2(0x305)]===_0x57f9d0[_0x4f73c2(0x1b7)]:!0x1:_0x57f9d0['_originalIpc']?!0x1:_0x31e2c3['host']===_0x57f9d0[_0x4f73c2(0x1b7)];(!_0x258167||_0x57f9d0[_0x4f73c2(0x1d1)]&&!_0x5343fe)&&(delete _0x514444[_0x4f73c2(0x21b)][_0x4f73c2(0x2b7)],delete _0x514444[_0x4f73c2(0x21b)][_0x4f73c2(0x324)],_0x258167||delete _0x514444[_0x4f73c2(0x21b)]['host'],_0x514444[_0x4f73c2(0x2f4)]=void 0x0);}}_0x514444['auth']&&!_0x6bf2ac[_0x4f73c2(0x21b)][_0x4f73c2(0x2b7)]&&(_0x6bf2ac[_0x4f73c2(0x21b)][_0x4f73c2(0x2b7)]=_0x4f73c2(0x22c)+Buffer['from'](_0x514444['auth'])['toString'](_0x4f73c2(0x168))),_0x42427b=_0x57f9d0[_0x4f73c2(0x2e8)]=_0x5131bf(_0x514444),_0x57f9d0['_redirects']&&_0x57f9d0[_0x4f73c2(0x1b3)](_0x4f73c2(0x21f),_0x57f9d0[_0x4f73c2(0x26d)],_0x42427b);}else _0x42427b=_0x57f9d0[_0x4f73c2(0x2e8)]=_0x5131bf(_0x514444);_0x514444[_0x4f73c2(0x23b)]&&_0x42427b['on']('timeout',()=>{const _0x665c2e=_0x4f73c2;_0x48d35c(_0x57f9d0,_0x42427b,_0x665c2e(0x2d4));}),_0x42427b['on'](_0x4f73c2(0x22a),_0x3c77b1=>{_0x42427b===null||_0x42427b[_0x1bc752]||(_0x42427b=_0x57f9d0['_req']=null,_0x171308(_0x57f9d0,_0x3c77b1));}),_0x42427b['on'](_0x4f73c2(0x2d8),_0x42cdf8=>{const _0x4c59eb=_0x4f73c2,_0x261a10=_0x42cdf8[_0x4c59eb(0x21b)]['location'],_0x570c53=_0x42cdf8['statusCode'];if(_0x261a10&&_0x514444[_0x4c59eb(0x236)]&&_0x570c53>=0x12c&&_0x570c53<0x190){if(++_0x57f9d0[_0x4c59eb(0x2f6)]>_0x514444[_0x4c59eb(0x2bd)]){_0x48d35c(_0x57f9d0,_0x42427b,_0x4c59eb(0x219));return;}_0x42427b[_0x4c59eb(0x1cc)]();let _0x3025f7;try{_0x3025f7=new _0x5ed7af(_0x261a10,_0x24f664);}catch{const _0x3c29d7=new SyntaxError('Invalid\x20URL:\x20'+_0x261a10);_0x171308(_0x57f9d0,_0x3c29d7);return;}_0x50c1f9(_0x57f9d0,_0x3025f7,_0x5d9333,_0x6bf2ac);}else _0x57f9d0[_0x4c59eb(0x1b3)](_0x4c59eb(0x265),_0x42427b,_0x42cdf8)||_0x48d35c(_0x57f9d0,_0x42427b,_0x4c59eb(0x23e)+_0x42cdf8[_0x4c59eb(0x2e4)]);}),_0x42427b['on'](_0x4f73c2(0x244),(_0x232f71,_0x6f0aaf,_0x4d93f5)=>{const _0x17555f=_0x4f73c2;if(_0x57f9d0[_0x17555f(0x1b3)](_0x17555f(0x244),_0x232f71),_0x57f9d0['readyState']!==_0x5c739c['CONNECTING'])return;_0x42427b=_0x57f9d0[_0x17555f(0x2e8)]=null;const _0x14d309=_0x232f71[_0x17555f(0x21b)]['upgrade'];if(_0x14d309===void 0x0||_0x14d309[_0x17555f(0x1b1)]()!==_0x17555f(0x258)){_0x48d35c(_0x57f9d0,_0x6f0aaf,_0x17555f(0x1a2));return;}const _0x51bf56=_0x470266(_0x17555f(0x183))[_0x17555f(0x1b4)](_0x1e8e61+_0x59e80b)[_0x17555f(0x15e)]('base64');if(_0x232f71[_0x17555f(0x21b)][_0x17555f(0x233)]!==_0x51bf56){_0x48d35c(_0x57f9d0,_0x6f0aaf,_0x17555f(0x2a4));return;}const _0x42fa16=_0x232f71[_0x17555f(0x21b)][_0x17555f(0x170)];let _0x4014d0;if(_0x42fa16!==void 0x0?_0x5dbf30[_0x17555f(0x1c4)]?_0x5dbf30['has'](_0x42fa16)||(_0x4014d0='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x4014d0=_0x17555f(0x295):_0x5dbf30[_0x17555f(0x1c4)]&&(_0x4014d0=_0x17555f(0x1d3)),_0x4014d0){_0x48d35c(_0x57f9d0,_0x6f0aaf,_0x4014d0);return;}_0x42fa16&&(_0x57f9d0['_protocol']=_0x42fa16);const _0x3599fe=_0x232f71[_0x17555f(0x21b)]['sec-websocket-extensions'];if(_0x3599fe!==void 0x0){if(!_0x3fe413){_0x48d35c(_0x57f9d0,_0x6f0aaf,_0x17555f(0x1ac));return;}let _0x53130d;try{_0x53130d=_0x5c5c55(_0x3599fe);}catch{_0x48d35c(_0x57f9d0,_0x6f0aaf,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x501dab=Object[_0x17555f(0x1ae)](_0x53130d);if(_0x501dab[_0x17555f(0x2ec)]!==0x1||_0x501dab[0x0]!==_0x5b8cc5[_0x17555f(0x267)]){_0x48d35c(_0x57f9d0,_0x6f0aaf,_0x17555f(0x164));return;}try{_0x3fe413['accept'](_0x53130d[_0x5b8cc5[_0x17555f(0x267)]]);}catch{_0x48d35c(_0x57f9d0,_0x6f0aaf,_0x17555f(0x1f4));return;}_0x57f9d0[_0x17555f(0x1ec)][_0x5b8cc5[_0x17555f(0x267)]]=_0x3fe413;}_0x57f9d0['setSocket'](_0x6f0aaf,_0x4d93f5,{'allowSynchronousEvents':_0x514444['allowSynchronousEvents'],'generateMask':_0x514444[_0x17555f(0x201)],'maxPayload':_0x514444[_0x17555f(0x247)],'skipUTF8Validation':_0x514444[_0x17555f(0x301)]});}),_0x514444[_0x4f73c2(0x2a3)]?_0x514444['finishRequest'](_0x42427b,_0x57f9d0):_0x42427b[_0x4f73c2(0x18b)]();}function _0x171308(_0x57b8ab,_0x4eaf8e){const _0x3a9257=_0x4faf7e;_0x57b8ab[_0x3a9257(0x166)]=_0x5c739c[_0x3a9257(0x2fd)],_0x57b8ab['_errorEmitted']=!0x0,_0x57b8ab[_0x3a9257(0x1b3)]('error',_0x4eaf8e),_0x57b8ab[_0x3a9257(0x1ea)]();}function _0x578b7f(_0x381f49){const _0x5bfe8d=_0x4faf7e;return _0x381f49['path']=_0x381f49['socketPath'],_0x359feb[_0x5bfe8d(0x2c6)](_0x381f49);}function _0x3f02cc(_0x3c5adc){const _0x3394cd=_0x4faf7e;return _0x3c5adc[_0x3394cd(0x1f6)]=void 0x0,!_0x3c5adc[_0x3394cd(0x2ce)]&&_0x3c5adc['servername']!==''&&(_0x3c5adc['servername']=_0x359feb[_0x3394cd(0x29e)](_0x3c5adc[_0x3394cd(0x21e)])?'':_0x3c5adc[_0x3394cd(0x21e)]),_0x230bf4['connect'](_0x3c5adc);}function _0x48d35c(_0x40f3b7,_0x249140,_0x1ac466){const _0x17e49b=_0x4faf7e;_0x40f3b7['_readyState']=_0x5c739c['CLOSING'];const _0x1128b2=new Error(_0x1ac466);Error[_0x17e49b(0x2cf)](_0x1128b2,_0x48d35c),_0x249140['setHeader']?(_0x249140[_0x1bc752]=!0x0,_0x249140[_0x17e49b(0x1cc)](),_0x249140[_0x17e49b(0x221)]&&!_0x249140['socket']['destroyed']&&_0x249140[_0x17e49b(0x221)]['destroy'](),process[_0x17e49b(0x1e0)](_0x171308,_0x40f3b7,_0x1128b2)):(_0x249140[_0x17e49b(0x284)](_0x1128b2),_0x249140[_0x17e49b(0x237)]('error',_0x40f3b7[_0x17e49b(0x1b3)][_0x17e49b(0x192)](_0x40f3b7,_0x17e49b(0x22a))),_0x249140[_0x17e49b(0x237)](_0x17e49b(0x181),_0x40f3b7[_0x17e49b(0x1ea)][_0x17e49b(0x192)](_0x40f3b7)));}function _0x4b048(_0xb092fd,_0x494cad,_0x48adf0){const _0x36364a=_0x4faf7e;if(_0x494cad){const _0x7d879b=_0x50d6cd(_0x494cad)?_0x494cad['size']:_0x11f708(_0x494cad)[_0x36364a(0x2ec)];_0xb092fd[_0x36364a(0x1a8)]?_0xb092fd[_0x36364a(0x25a)][_0x36364a(0x163)]+=_0x7d879b:_0xb092fd[_0x36364a(0x16d)]+=_0x7d879b;}if(_0x48adf0){const _0x4bf138=new Error(_0x36364a(0x1fc)+_0xb092fd[_0x36364a(0x169)]+'\x20('+_0xa9a9bc[_0xb092fd['readyState']]+')');process[_0x36364a(0x1e0)](_0x48adf0,_0x4bf138);}}function _0x38f7dc(_0x5b463e,_0x4b9688){const _0x3cf258=_0x4faf7e,_0x479f3c=this[_0x54774b];_0x479f3c[_0x3cf258(0x198)]=!0x0,_0x479f3c[_0x3cf258(0x1dd)]=_0x4b9688,_0x479f3c[_0x3cf258(0x1bc)]=_0x5b463e,_0x479f3c[_0x3cf258(0x1a8)][_0x54774b]!==void 0x0&&(_0x479f3c[_0x3cf258(0x1a8)][_0x3cf258(0x276)]('data',_0x4e3d60),process[_0x3cf258(0x1e0)](_0x3e2c92,_0x479f3c[_0x3cf258(0x1a8)]),_0x5b463e===0x3ed?_0x479f3c[_0x3cf258(0x181)]():_0x479f3c[_0x3cf258(0x181)](_0x5b463e,_0x4b9688));}function _0x49e0ac(){const _0x3f3c95=_0x4faf7e,_0x2880f6=this[_0x54774b];_0x2880f6[_0x3f3c95(0x2a7)]||_0x2880f6['_socket']['resume']();}function _0x7fe88b(_0xf4548b){const _0x2fb827=_0x4faf7e,_0x290902=this[_0x54774b];_0x290902[_0x2fb827(0x1a8)][_0x54774b]!==void 0x0&&(_0x290902['_socket']['removeListener'](_0x2fb827(0x1f0),_0x4e3d60),process['nextTick'](_0x3e2c92,_0x290902['_socket']),_0x290902[_0x2fb827(0x181)](_0xf4548b[_0x17df01])),_0x290902[_0x2fb827(0x250)]||(_0x290902['_errorEmitted']=!0x0,_0x290902[_0x2fb827(0x1b3)](_0x2fb827(0x22a),_0xf4548b));}function _0x19483d(){const _0x5598e1=_0x4faf7e;this[_0x54774b][_0x5598e1(0x1ea)]();}function _0x25ecc9(_0x2d3363,_0x30f01e){const _0x545e00=_0x4faf7e;this[_0x54774b][_0x545e00(0x1b3)](_0x545e00(0x26c),_0x2d3363,_0x30f01e);}function _0x2879ff(_0x5b437f){const _0x45b697=_0x4faf7e,_0x3aeac7=this[_0x54774b];_0x3aeac7[_0x45b697(0x24b)]&&_0x3aeac7['pong'](_0x5b437f,!this[_0x45b697(0x328)],_0x4feda0),_0x3aeac7[_0x45b697(0x1b3)](_0x45b697(0x27e),_0x5b437f);}function _0x51c900(_0x25f4bc){const _0x5713f6=_0x4faf7e;this[_0x54774b][_0x5713f6(0x1b3)](_0x5713f6(0x25c),_0x25f4bc);}function _0x3e2c92(_0x1f93d4){const _0x872b52=_0x4faf7e;_0x1f93d4[_0x872b52(0x318)]();}function _0xb5a989(_0x2a988a){const _0x57a6d8=_0x4faf7e,_0x5375b3=this[_0x54774b];_0x5375b3['readyState']!==_0x5c739c[_0x57a6d8(0x25b)]&&(_0x5375b3[_0x57a6d8(0x169)]===_0x5c739c[_0x57a6d8(0x1d4)]&&(_0x5375b3[_0x57a6d8(0x166)]=_0x5c739c[_0x57a6d8(0x2fd)],_0x46bd26(_0x5375b3)),this[_0x57a6d8(0x1a8)][_0x57a6d8(0x18b)](),_0x5375b3[_0x57a6d8(0x250)]||(_0x5375b3[_0x57a6d8(0x250)]=!0x0,_0x5375b3[_0x57a6d8(0x1b3)](_0x57a6d8(0x22a),_0x2a988a)));}function _0x46bd26(_0x4e200e){const _0x4eaa14=_0x4faf7e;_0x4e200e[_0x4eaa14(0x178)]=setTimeout(_0x4e200e[_0x4eaa14(0x1a8)][_0x4eaa14(0x284)][_0x4eaa14(0x192)](_0x4e200e['_socket']),_0xa4c8ad);}function _0x3dbcc0(){const _0x30fb2b=_0x4faf7e,_0x2da771=this[_0x54774b];this[_0x30fb2b(0x276)]('close',_0x3dbcc0),this[_0x30fb2b(0x276)](_0x30fb2b(0x1f0),_0x4e3d60),this['removeListener']('end',_0x335912),_0x2da771[_0x30fb2b(0x166)]=_0x5c739c['CLOSING'];let _0x30da29;!this[_0x30fb2b(0x161)][_0x30fb2b(0x1be)]&&!_0x2da771['_closeFrameReceived']&&!_0x2da771[_0x30fb2b(0x2c5)][_0x30fb2b(0x311)][_0x30fb2b(0x320)]&&(_0x30da29=_0x2da771[_0x30fb2b(0x1a8)][_0x30fb2b(0x207)]())!==null&&_0x2da771[_0x30fb2b(0x2c5)][_0x30fb2b(0x292)](_0x30da29),_0x2da771['_receiver']['end'](),this[_0x54774b]=void 0x0,clearTimeout(_0x2da771[_0x30fb2b(0x178)]),_0x2da771[_0x30fb2b(0x2c5)]['_writableState'][_0x30fb2b(0x28e)]||_0x2da771[_0x30fb2b(0x2c5)][_0x30fb2b(0x311)][_0x30fb2b(0x320)]?_0x2da771[_0x30fb2b(0x1ea)]():(_0x2da771[_0x30fb2b(0x2c5)]['on']('error',_0x19483d),_0x2da771[_0x30fb2b(0x2c5)]['on'](_0x30fb2b(0x1f5),_0x19483d));}function _0x4e3d60(_0x3dd7a1){const _0x4aaa07=_0x4faf7e;this[_0x54774b][_0x4aaa07(0x2c5)][_0x4aaa07(0x292)](_0x3dd7a1)||this[_0x4aaa07(0x1c1)]();}function _0x335912(){const _0xdc242c=_0x4faf7e,_0x594041=this[_0x54774b];_0x594041[_0xdc242c(0x166)]=_0x5c739c[_0xdc242c(0x2fd)],_0x594041[_0xdc242c(0x2c5)][_0xdc242c(0x18b)](),this[_0xdc242c(0x18b)]();}function _0x203f5c(){const _0xfd623f=_0x4faf7e,_0x554120=this[_0x54774b];this[_0xfd623f(0x276)]('error',_0x203f5c),this['on'](_0xfd623f(0x22a),_0x4feda0),_0x554120&&(_0x554120[_0xfd623f(0x166)]=_0x5c739c[_0xfd623f(0x2fd)],this['destroy']());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x1d787c}=oe;function _0x292a91(_0x2f93eb){const _0x13bb7a=_0x2d44;_0x2f93eb[_0x13bb7a(0x1b3)](_0x13bb7a(0x181));}function _0x5f49b0(){const _0x111efb=_0x2d44;!this[_0x111efb(0x180)]&&this[_0x111efb(0x311)]['finished']&&this['destroy']();}function _0x1a157b(_0x13e067){const _0x130eee=_0x2d44;this[_0x130eee(0x276)](_0x130eee(0x22a),_0x1a157b),this[_0x130eee(0x284)](),this[_0x130eee(0x1fa)]('error')===0x0&&this[_0x130eee(0x1b3)](_0x130eee(0x22a),_0x13e067);}function _0x25b09f(_0x31237e,_0x3d99ad){const _0x47814b=_0x2d44;let _0xf69af1=!0x0;const _0x1e625c=new _0x1d787c({..._0x3d99ad,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x31237e['on'](_0x47814b(0x26c),function(_0x2b2192,_0x6090aa){const _0xb7f8ac=_0x47814b,_0x2118d2=!_0x6090aa&&_0x1e625c[_0xb7f8ac(0x161)]['objectMode']?_0x2b2192[_0xb7f8ac(0x30d)]():_0x2b2192;_0x1e625c[_0xb7f8ac(0x1e9)](_0x2118d2)||_0x31237e[_0xb7f8ac(0x1c1)]();}),_0x31237e[_0x47814b(0x237)](_0x47814b(0x22a),function(_0x3c4ff4){const _0x210596=_0x47814b;_0x1e625c['destroyed']||(_0xf69af1=!0x1,_0x1e625c[_0x210596(0x284)](_0x3c4ff4));}),_0x31237e[_0x47814b(0x237)](_0x47814b(0x181),function(){const _0x226db6=_0x47814b;_0x1e625c[_0x226db6(0x180)]||_0x1e625c[_0x226db6(0x1e9)](null);}),_0x1e625c[_0x47814b(0x2af)]=function(_0x243223,_0x4d201b){const _0x240aeb=_0x47814b;if(_0x31237e[_0x240aeb(0x169)]===_0x31237e[_0x240aeb(0x25b)]){_0x4d201b(_0x243223),process[_0x240aeb(0x1e0)](_0x292a91,_0x1e625c);return;}let _0x5f375d=!0x1;_0x31237e[_0x240aeb(0x237)](_0x240aeb(0x22a),function(_0x207c13){_0x5f375d=!0x0,_0x4d201b(_0x207c13);}),_0x31237e[_0x240aeb(0x237)](_0x240aeb(0x181),function(){_0x5f375d||_0x4d201b(_0x243223),process['nextTick'](_0x292a91,_0x1e625c);}),_0xf69af1&&_0x31237e[_0x240aeb(0x22f)]();},_0x1e625c[_0x47814b(0x1ba)]=function(_0x5e1b29){const _0x35c142=_0x47814b;if(_0x31237e[_0x35c142(0x169)]===_0x31237e[_0x35c142(0x2a0)]){_0x31237e[_0x35c142(0x237)](_0x35c142(0x1f8),function(){const _0x2f3121=_0x35c142;_0x1e625c[_0x2f3121(0x1ba)](_0x5e1b29);});return;}_0x31237e[_0x35c142(0x1a8)]!==null&&(_0x31237e[_0x35c142(0x1a8)]['_writableState'][_0x35c142(0x28e)]?(_0x5e1b29(),_0x1e625c[_0x35c142(0x161)][_0x35c142(0x1be)]&&_0x1e625c[_0x35c142(0x284)]()):(_0x31237e[_0x35c142(0x1a8)][_0x35c142(0x237)](_0x35c142(0x1f5),function(){_0x5e1b29();}),_0x31237e['close']()));},_0x1e625c['_read']=function(){const _0x184959=_0x47814b;_0x31237e[_0x184959(0x2a7)]&&_0x31237e[_0x184959(0x318)]();},_0x1e625c['_write']=function(_0x1ec402,_0x26657c,_0x11ef39){const _0x43c57b=_0x47814b;if(_0x31237e[_0x43c57b(0x169)]===_0x31237e[_0x43c57b(0x2a0)]){_0x31237e[_0x43c57b(0x237)](_0x43c57b(0x1f8),function(){const _0x5eebce=_0x43c57b;_0x1e625c[_0x5eebce(0x29f)](_0x1ec402,_0x26657c,_0x11ef39);});return;}_0x31237e[_0x43c57b(0x19a)](_0x1ec402,_0x11ef39);},_0x1e625c['on']('end',_0x5f49b0),_0x1e625c['on'](_0x47814b(0x22a),_0x1a157b),_0x1e625c;}return Oe=_0x25b09f,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x3250d1}=ae();function _0x40d3bf(_0x275b13){const _0x507f4e=_0x2d44,_0xb55b7e=new Set();let _0x31b537=-0x1,_0x427dcf=-0x1,_0x1611fa=0x0;for(_0x1611fa;_0x1611fa<_0x275b13[_0x507f4e(0x2ec)];_0x1611fa++){const _0x596940=_0x275b13[_0x507f4e(0x188)](_0x1611fa);if(_0x427dcf===-0x1&&_0x3250d1[_0x596940]===0x1)_0x31b537===-0x1&&(_0x31b537=_0x1611fa);else{if(_0x1611fa!==0x0&&(_0x596940===0x20||_0x596940===0x9))_0x427dcf===-0x1&&_0x31b537!==-0x1&&(_0x427dcf=_0x1611fa);else{if(_0x596940===0x2c){if(_0x31b537===-0x1)throw new SyntaxError(_0x507f4e(0x2b6)+_0x1611fa);_0x427dcf===-0x1&&(_0x427dcf=_0x1611fa);const _0x36f661=_0x275b13[_0x507f4e(0x306)](_0x31b537,_0x427dcf);if(_0xb55b7e['has'](_0x36f661))throw new SyntaxError(_0x507f4e(0x268)+_0x36f661+_0x507f4e(0x241));_0xb55b7e['add'](_0x36f661),_0x31b537=_0x427dcf=-0x1;}else throw new SyntaxError(_0x507f4e(0x2b6)+_0x1611fa);}}}if(_0x31b537===-0x1||_0x427dcf!==-0x1)throw new SyntaxError(_0x507f4e(0x2db));const _0x471e25=_0x275b13['slice'](_0x31b537,_0x1611fa);if(_0xb55b7e['has'](_0x471e25))throw new SyntaxError(_0x507f4e(0x268)+_0x471e25+_0x507f4e(0x241));return _0xb55b7e['add'](_0x471e25),_0xb55b7e;}return Ce={'parse':_0x40d3bf},Ce;}var Te,rt;function Ft(){const _0x362a61=_0x524c07;if(rt)return Te;rt=0x1;const _0x3200cb=nt,_0x39b267=ot,{Duplex:_0x33c6f0}=oe,{createHash:_0xd12160}=Le,_0x3650bf=ct(),_0x519fd8=he(),_0x5166fd=At(),_0x56b235=Pe(),{GUID:_0x2bf6db,kWebSocket:_0x12d12b}=H(),_0x35aa5c=/^[+/0-9A-Za-z]{22}==$/,_0x2be5db=0x0,_0x1e5553=0x1,_0x4f0695=0x2;class _0x42cc37 extends _0x3200cb{constructor(_0x4b1709,_0x5770e4){const _0x122b10=_0x2d44;if(super(),_0x4b1709={'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':_0x56b235,..._0x4b1709},_0x4b1709[_0x122b10(0x1c6)]==null&&!_0x4b1709[_0x122b10(0x206)]&&!_0x4b1709[_0x122b10(0x31e)]||_0x4b1709[_0x122b10(0x1c6)]!=null&&(_0x4b1709[_0x122b10(0x206)]||_0x4b1709[_0x122b10(0x31e)])||_0x4b1709[_0x122b10(0x206)]&&_0x4b1709[_0x122b10(0x31e)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x4b1709['port']!=null?(this[_0x122b10(0x27d)]=_0x39b267[_0x122b10(0x1b2)]((_0x12884a,_0x315489)=>{const _0x27626b=_0x122b10,_0xdefabd=_0x39b267['STATUS_CODES'][0x1aa];_0x315489['writeHead'](0x1aa,{'Content-Length':_0xdefabd[_0x27626b(0x2ec)],'Content-Type':'text/plain'}),_0x315489[_0x27626b(0x18b)](_0xdefabd);}),this[_0x122b10(0x27d)][_0x122b10(0x196)](_0x4b1709['port'],_0x4b1709[_0x122b10(0x21e)],_0x4b1709['backlog'],_0x5770e4)):_0x4b1709[_0x122b10(0x206)]&&(this[_0x122b10(0x27d)]=_0x4b1709[_0x122b10(0x206)]),this[_0x122b10(0x27d)]){const _0x4d556d=this['emit'][_0x122b10(0x192)](this,_0x122b10(0x314));this[_0x122b10(0x31c)]=_0x250310(this['_server'],{'listening':this[_0x122b10(0x1b3)]['bind'](this,_0x122b10(0x1a4)),'error':this[_0x122b10(0x1b3)]['bind'](this,_0x122b10(0x22a)),'upgrade':(_0x2caf3c,_0x3fcefd,_0x15fab1)=>{const _0xa10651=_0x122b10;this[_0xa10651(0x211)](_0x2caf3c,_0x3fcefd,_0x15fab1,_0x4d556d);}});}_0x4b1709[_0x122b10(0x2bc)]===!0x0&&(_0x4b1709[_0x122b10(0x2bc)]={}),_0x4b1709[_0x122b10(0x175)]&&(this['clients']=new Set(),this['_shouldEmitClose']=!0x1),this[_0x122b10(0x286)]=_0x4b1709,this[_0x122b10(0x327)]=_0x2be5db;}[_0x362a61(0x270)](){const _0x63fa93=_0x362a61;if(this[_0x63fa93(0x286)][_0x63fa93(0x31e)])throw new Error(_0x63fa93(0x240));return this[_0x63fa93(0x27d)]?this['_server'][_0x63fa93(0x270)]():null;}[_0x362a61(0x181)](_0x44684e){const _0x481fc7=_0x362a61;if(this[_0x481fc7(0x327)]===_0x4f0695){_0x44684e&&this[_0x481fc7(0x237)]('close',()=>{_0x44684e(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x481fc7(0x1e0)](_0x5aa818,this);return;}if(_0x44684e&&this[_0x481fc7(0x237)](_0x481fc7(0x181),_0x44684e),this[_0x481fc7(0x327)]!==_0x1e5553){if(this[_0x481fc7(0x327)]=_0x1e5553,this[_0x481fc7(0x286)][_0x481fc7(0x31e)]||this[_0x481fc7(0x286)][_0x481fc7(0x206)])this['_server']&&(this[_0x481fc7(0x31c)](),this[_0x481fc7(0x31c)]=this[_0x481fc7(0x27d)]=null),this['clients']?this['clients'][_0x481fc7(0x1c4)]?this['_shouldEmitClose']=!0x0:process[_0x481fc7(0x1e0)](_0x5aa818,this):process[_0x481fc7(0x1e0)](_0x5aa818,this);else{const _0x2c3906=this[_0x481fc7(0x27d)];this['_removeListeners'](),this[_0x481fc7(0x31c)]=this['_server']=null,_0x2c3906[_0x481fc7(0x181)](()=>{_0x5aa818(this);});}}}[_0x362a61(0x24d)](_0x194845){const _0x52ec9e=_0x362a61;if(this['options'][_0x52ec9e(0x1f6)]){const _0x272036=_0x194845[_0x52ec9e(0x26d)][_0x52ec9e(0x203)]('?');if((_0x272036!==-0x1?_0x194845['url']['slice'](0x0,_0x272036):_0x194845[_0x52ec9e(0x26d)])!==this[_0x52ec9e(0x286)][_0x52ec9e(0x1f6)])return!0x1;}return!0x0;}[_0x362a61(0x211)](_0x1d8419,_0x8861ab,_0x25e4c1,_0x2f5be6){const _0x100bd3=_0x362a61;_0x8861ab['on'](_0x100bd3(0x22a),_0x3fa65f);const _0x417cc2=_0x1d8419[_0x100bd3(0x21b)]['sec-websocket-key'],_0x174bd0=_0x1d8419[_0x100bd3(0x21b)][_0x100bd3(0x244)],_0x4671e4=+_0x1d8419[_0x100bd3(0x21b)]['sec-websocket-version'];if(_0x1d8419[_0x100bd3(0x273)]!==_0x100bd3(0x325)){_0x33266d(this,_0x1d8419,_0x8861ab,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x174bd0===void 0x0||_0x174bd0['toLowerCase']()!==_0x100bd3(0x258)){_0x33266d(this,_0x1d8419,_0x8861ab,0x190,_0x100bd3(0x1a2));return;}if(_0x417cc2===void 0x0||!_0x35aa5c[_0x100bd3(0x321)](_0x417cc2)){_0x33266d(this,_0x1d8419,_0x8861ab,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x4671e4!==0x8&&_0x4671e4!==0xd){_0x33266d(this,_0x1d8419,_0x8861ab,0x190,_0x100bd3(0x191));return;}if(!this[_0x100bd3(0x24d)](_0x1d8419)){_0x10bc45(_0x8861ab,0x190);return;}const _0x495c25=_0x1d8419[_0x100bd3(0x21b)][_0x100bd3(0x170)];let _0x28bc46=new Set();if(_0x495c25!==void 0x0)try{_0x28bc46=_0x5166fd['parse'](_0x495c25);}catch{_0x33266d(this,_0x1d8419,_0x8861ab,0x190,_0x100bd3(0x252));return;}const _0x6fe14=_0x1d8419['headers']['sec-websocket-extensions'],_0x1b4810={};if(this[_0x100bd3(0x286)]['perMessageDeflate']&&_0x6fe14!==void 0x0){const _0x16bab5=new _0x519fd8(this[_0x100bd3(0x286)][_0x100bd3(0x2bc)],!0x0,this[_0x100bd3(0x286)][_0x100bd3(0x247)]);try{const _0x5e31d7=_0x3650bf['parse'](_0x6fe14);_0x5e31d7[_0x519fd8[_0x100bd3(0x267)]]&&(_0x16bab5[_0x100bd3(0x255)](_0x5e31d7[_0x519fd8[_0x100bd3(0x267)]]),_0x1b4810[_0x519fd8[_0x100bd3(0x267)]]=_0x16bab5);}catch{_0x33266d(this,_0x1d8419,_0x8861ab,0x190,_0x100bd3(0x317));return;}}if(this[_0x100bd3(0x286)][_0x100bd3(0x18a)]){const _0x4348a8={'origin':_0x1d8419[_0x100bd3(0x21b)][''+(_0x4671e4===0x8?_0x100bd3(0x26f):_0x100bd3(0x222))],'secure':!!(_0x1d8419[_0x100bd3(0x221)][_0x100bd3(0x2c8)]||_0x1d8419['socket'][_0x100bd3(0x278)]),'req':_0x1d8419};if(this[_0x100bd3(0x286)]['verifyClient'][_0x100bd3(0x2ec)]===0x2){this[_0x100bd3(0x286)][_0x100bd3(0x18a)](_0x4348a8,(_0x5d6ca3,_0x2c213d,_0xd0989f,_0x609a13)=>{const _0x39c035=_0x100bd3;if(!_0x5d6ca3)return _0x10bc45(_0x8861ab,_0x2c213d||0x191,_0xd0989f,_0x609a13);this[_0x39c035(0x2e3)](_0x1b4810,_0x417cc2,_0x28bc46,_0x1d8419,_0x8861ab,_0x25e4c1,_0x2f5be6);});return;}if(!this[_0x100bd3(0x286)][_0x100bd3(0x18a)](_0x4348a8))return _0x10bc45(_0x8861ab,0x191);}this[_0x100bd3(0x2e3)](_0x1b4810,_0x417cc2,_0x28bc46,_0x1d8419,_0x8861ab,_0x25e4c1,_0x2f5be6);}['completeUpgrade'](_0x142e47,_0x23310b,_0x5773cf,_0x3e443d,_0x5bc4fb,_0x3ee4f2,_0x1d4306){const _0x18c7c2=_0x362a61;if(!_0x5bc4fb[_0x18c7c2(0x283)]||!_0x5bc4fb['writable'])return _0x5bc4fb['destroy']();if(_0x5bc4fb[_0x12d12b])throw new Error(_0x18c7c2(0x326));if(this['_state']>_0x2be5db)return _0x10bc45(_0x5bc4fb,0x1f7);const _0x484568=[_0x18c7c2(0x197),_0x18c7c2(0x1c9),_0x18c7c2(0x1cd),_0x18c7c2(0x1df)+_0xd12160(_0x18c7c2(0x183))[_0x18c7c2(0x1b4)](_0x23310b+_0x2bf6db)[_0x18c7c2(0x15e)]('base64')],_0x496568=new this[(_0x18c7c2(0x286))][(_0x18c7c2(0x1a7))](null,void 0x0,this[_0x18c7c2(0x286)]);if(_0x5773cf[_0x18c7c2(0x1c4)]){const _0xaaf3eb=this['options'][_0x18c7c2(0x323)]?this[_0x18c7c2(0x286)][_0x18c7c2(0x323)](_0x5773cf,_0x3e443d):_0x5773cf[_0x18c7c2(0x1cf)]()['next']()[_0x18c7c2(0x160)];_0xaaf3eb&&(_0x484568[_0x18c7c2(0x1e9)](_0x18c7c2(0x242)+_0xaaf3eb),_0x496568[_0x18c7c2(0x28d)]=_0xaaf3eb);}if(_0x142e47[_0x519fd8[_0x18c7c2(0x267)]]){const _0x598fbe=_0x142e47[_0x519fd8[_0x18c7c2(0x267)]]['params'],_0x16a6d6=_0x3650bf[_0x18c7c2(0x1ad)]({[_0x519fd8[_0x18c7c2(0x267)]]:[_0x598fbe]});_0x484568['push'](_0x18c7c2(0x2ba)+_0x16a6d6),_0x496568[_0x18c7c2(0x1ec)]=_0x142e47;}this['emit'](_0x18c7c2(0x21b),_0x484568,_0x3e443d),_0x5bc4fb[_0x18c7c2(0x292)](_0x484568[_0x18c7c2(0x190)]('\x0d\x0a')[_0x18c7c2(0x1a9)]('\x0d\x0a')),_0x5bc4fb[_0x18c7c2(0x276)](_0x18c7c2(0x22a),_0x3fa65f),_0x496568[_0x18c7c2(0x246)](_0x5bc4fb,_0x3ee4f2,{'allowSynchronousEvents':this[_0x18c7c2(0x286)]['allowSynchronousEvents'],'maxPayload':this['options']['maxPayload'],'skipUTF8Validation':this[_0x18c7c2(0x286)][_0x18c7c2(0x301)]}),this[_0x18c7c2(0x1cb)]&&(this[_0x18c7c2(0x1cb)][_0x18c7c2(0x2d1)](_0x496568),_0x496568['on'](_0x18c7c2(0x181),()=>{const _0x4f62d3=_0x18c7c2;this[_0x4f62d3(0x1cb)]['delete'](_0x496568),this['_shouldEmitClose']&&!this['clients'][_0x4f62d3(0x1c4)]&&process['nextTick'](_0x5aa818,this);})),_0x1d4306(_0x496568,_0x3e443d);}}Te=_0x42cc37;function _0x250310(_0x361810,_0x81b4db){const _0x25bc30=_0x362a61;for(const _0x59b180 of Object[_0x25bc30(0x1ae)](_0x81b4db))_0x361810['on'](_0x59b180,_0x81b4db[_0x59b180]);return function(){const _0xb965ac=_0x25bc30;for(const _0x414d7f of Object[_0xb965ac(0x1ae)](_0x81b4db))_0x361810[_0xb965ac(0x276)](_0x414d7f,_0x81b4db[_0x414d7f]);};}function _0x5aa818(_0x47c3bb){const _0x159804=_0x362a61;_0x47c3bb[_0x159804(0x327)]=_0x4f0695,_0x47c3bb[_0x159804(0x1b3)]('close');}function _0x3fa65f(){const _0x402d95=_0x362a61;this[_0x402d95(0x284)]();}function _0x10bc45(_0x1e409a,_0x243823,_0x3cbbfa,_0x444304){const _0x160da3=_0x362a61;_0x3cbbfa=_0x3cbbfa||_0x39b267[_0x160da3(0x287)][_0x243823],_0x444304={'Connection':_0x160da3(0x181),'Content-Type':_0x160da3(0x30c),'Content-Length':Buffer[_0x160da3(0x199)](_0x3cbbfa),..._0x444304},_0x1e409a[_0x160da3(0x237)]('finish',_0x1e409a['destroy']),_0x1e409a[_0x160da3(0x18b)]('HTTP/1.1\x20'+_0x243823+'\x20'+_0x39b267[_0x160da3(0x287)][_0x243823]+'\x0d\x0a'+Object[_0x160da3(0x1ae)](_0x444304)[_0x160da3(0x1e4)](_0x172be1=>_0x172be1+':\x20'+_0x444304[_0x172be1])[_0x160da3(0x1a9)]('\x0d\x0a')+_0x160da3(0x173)+_0x3cbbfa);}function _0x33266d(_0xc138d6,_0x559786,_0x2b446b,_0x2834d4,_0x562382){const _0x12c5e8=_0x362a61;if(_0xc138d6[_0x12c5e8(0x1fa)](_0x12c5e8(0x167))){const _0x26f455=new Error(_0x562382);Error[_0x12c5e8(0x2cf)](_0x26f455,_0x33266d),_0xc138d6[_0x12c5e8(0x1b3)](_0x12c5e8(0x167),_0x26f455,_0x2b446b,_0x559786);}else _0x10bc45(_0x2b446b,_0x2834d4,_0x562382);}return Te;}function _0x2a46(){const _0x520f18=['clientMaxWindowBits','_loop','concat','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','bind','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','rsv1','sendFrame','listen','HTTP/1.1\x20101\x20Switching\x20Protocols','_closeFrameReceived','byteLength','send','extensions','IConfigService','The\x20URL\x20contains\x20a\x20fragment\x20identifier','reset','@univerjs-pro/collaboration','isView','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','Invalid\x20Upgrade\x20header','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','listening','protocolVersion','_options','WebSocket','_socket','join','customHeaders','WS_ERR_INVALID_OPCODE','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','format','keys','construct','species','toLowerCase','createServer','emit','update','request','maskBuffer','_originalHostOrSocketPath','dispose','getOwnPropertyDescriptor','_final','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_closeCode','catch','endEmitted','controlMessage','shift','pause','Sec-WebSocket-Protocol','Injector','size','dispatch','port','WS_NO_BUFFER_UTIL','uncork','Upgrade:\x20websocket','7481980vFyfKX','clients','abort','Connection:\x20Upgrade','handleEvent','values','ws:','_originalSecure','pluginName','Server\x20sent\x20no\x20subprotocol','OPEN','zlib','then','isValidUTF8','\x22\x20must\x20have\x20only\x20a\x20single\x20value','kReason','10HUSCNf','Z_DEFAULT_WINDOWBITS','arraybuffer','_closeMessage','Cookie','Sec-WebSocket-Accept:\x20','nextTick','pending','createConnection','_inflate','map','getData','kData','function','_deflate','push','emitClose','nodebuffer','_extensions','stream','WS_ERR_EXPECTED_MASK','isInteger','data','includes','kAborted','16405452zinASk','Invalid\x20Sec-WebSocket-Extensions\x20header','finish','path','offer','open','defineProperty','listenerCount','call','WebSocket\x20is\x20not\x20open:\x20readyState\x20','startLoop','params','_payloadLength','concurrencyLimit','generateMask','set','indexOf','removeAllListeners','serverMaxWindowBits','server','read','reason','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','buffer','share','_queue','isArray','Unknown\x20parameter\x20\x22','_doCreateSocket','opcode','handleUpgrade','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','getMask','blob','object','_mask','File','kMessage','Maximum\x20redirects\x20exceeded','apply','headers','onopen','MASK\x20must\x20be\x20set','host','redirect','_max_window_bits','socket','origin','RSV1\x20must\x20be\x20clear','binaryType','code','DependentOn','zlibDeflateOptions','has','8YTeyjI','error','fin','Basic\x20','kTarget','username','terminate','Z_SYNC_FLUSH','hasOwnProperty','registerDependencies','sec-websocket-accept','COLLABORATION_CLIENT_NODE_CONFIG_KEY','setNoDelay','followRedirects','once','_compressed','4791756ljcYgg','arrayBuffer','timeout','bufferedAmount','forEach','Unexpected\x20server\x20response:\x20','_buffers','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','\x22\x20subprotocol\x20is\x20duplicated','Sec-WebSocket-Protocol:\x20','kError','upgrade','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','setSocket','maxPayload','_masked','Invalid\x20WebSocket\x20frame:\x20','kIsForOnEventAttribute','_autoPong','decompress','shouldHandle','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','clientNoContextTakeover','_errorEmitted','target','Invalid\x20Sec-WebSocket-Protocol\x20header','_originalIpc','getPayloadLength16','accept','_fin','tls','websocket','pathname','_sender','CLOSED','pong','createSocket','@univerjs/core','http','_maskBuffer','replace','password','\x22:\x20','onclose','unexpected-response','writeUIntBE','extensionName','The\x20\x22','pipe','__esModule','_paused','message','url','unmask','sec-websocket-origin','address','1151296rKfAcz','Upgrade','method','total-length','_skipUTF8Validation','removeListener','_firstFragment','encrypted','Unsupported\x20protocol\x20version:\x20','_injector','isBuffer','writeUInt16BE','_server','ping','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','search','_binaryType','_messageLength','readable','destroy','from','options','STATUS_CODES','_opcode','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','addEventListener','protocol','CollaborationSocketService','_protocol','finished','WS_ERR_UNEXPECTED_RSV_2_3','haveLength','listeners','write','UniverCollaborationClientNodePlugin','Observable','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','getPayloadLength64','acceptAsServer','normalizeParams','frame','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','cork','1637515KMPmvR','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','isIP','_write','CONNECTING','callback','dataMessage','finishRequest','Invalid\x20Sec-WebSocket-Accept\x20header','Plugin','setTimeout','isPaused','FIN\x20must\x20be\x20set','server_no_context_takeover','_fragmented','allocUnsafe','WS_NO_UTF_8_VALIDATE','crypto','readOnly','_destroy','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','_url','needDrain','https:','readUInt32BE','_decompress','Unexpected\x20character\x20at\x20index\x20','authorization','MASK\x20must\x20be\x20clear','client_no_context_takeover','Sec-WebSocket-Extensions:\x20','collaboration-client-node.config','perMessageDeflate','maxRedirects','_fragments','_configService','href','_totalPayloadLength','http:','hostname','onmessage','_receiver','connect','invalid\x20opcode\x200','authorized','kRun','DisposableCollection','NodeCollaborationSocketService','entries','fragments','servername','captureStackTrace','jobs','add','_compress','permessage-deflate','Opening\x20handshake\x20has\x20timed\x20out','string','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','_no_context_takeover','response','WS_ERR_UNEXPECTED_RSV_1','autoPong','Unexpected\x20end\x20of\x20input','_allowSynchronousEvents','create','6510518vxnmyv','zlibInflateOptions','@univerjs-pro/collaboration-client','number','kDone','completeUpgrade','statusCode','flush','warn','ILogService','_req','kWasClean','allowSynchronousEvents','WS_ERR_INVALID_UTF8','length','wss:','client_max_window_bits','767974mHYJiU','drain','createDeflateRaw','find','serverNoContextTakeover','auth','get','_redirects','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','consume','WS_ERR_INVALID_CLOSE_CODE','getBlobData','startsWith','binary','CLOSING','mask','createError','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','skipUTF8Validation','defaultPort','dequeue','byteOffset','socketPath','slice','registerHTTPInterceptor','client','pow','createInflateRaw','rxjs','text/html','toString','isServer','invalid\x20opcode\x20','env','_writableState','server_max_window_bits','default','connection','_closeFrameSent','toDisposable','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','resume','compress','_maxPayload','_registerDependencies','_removeListeners','prototype','noServer','Module','errorEmitted','test','wasClean','handleProtocols','cookie','GET','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','_state','_isServer','digest','acceptAsClient','value','_readableState','Max\x20payload\x20size\x20exceeded','_bufferedBytes','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','https','_readyState','wsClientError','base64','readyState','onerror','Invalid\x20URL:\x20','invalid\x20UTF-8\x20sequence','_bufferedAmount','_generateMask','WS_ERR_UNEXPECTED_MASK','sec-websocket-protocol','enqueue','removeEventListener','\x0d\x0a\x0d\x0a','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','clientTracking','getConfig','concurrency','_closeTimer','readUInt16BE','Inject','Invalid\x20value\x20for\x20parameter\x20\x22','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','getInfo','@univerjs/network','invalid\x20payload\x20length\x20','destroyed','close','events','sha1','exports','next','3kvnMOy','toStringTag','charCodeAt','type','verifyClient','end','alloc','conclude'];_0x2a46=function(){return _0x520f18;};return _0x2a46();}Ft();var jt=Object[_0x524c07(0x1b9)],Wt=(_0x594fe7,_0x1b8f73,_0x392589,_0x13ce8d)=>{for(var _0x613694=_0x13ce8d>0x1?void 0x0:_0x13ce8d?jt(_0x1b8f73,_0x392589):_0x1b8f73,_0x1d62fd=_0x594fe7['length']-0x1,_0x52b932;_0x1d62fd>=0x0;_0x1d62fd--)(_0x52b932=_0x594fe7[_0x1d62fd])&&(_0x613694=_0x52b932(_0x613694)||_0x613694);return _0x613694;},qt=(_0x510d0f,_0x325025)=>(_0x36c5b3,_0x43294c)=>_0x325025(_0x36c5b3,_0x43294c,_0x510d0f);let ke=class extends A['Disposable']{constructor(_0x471993){super(),this['_configService']=_0x471993;}[_0x524c07(0x25d)](_0x25e2b4){const _0xd99570=_0x524c07;var _0x430b44;const _0x5b4490=(_0x430b44=this[_0xd99570(0x2bf)][_0xd99570(0x176)](fe))==null?void 0x0:_0x430b44['customHeaders'];try{const _0x373fed=new $t(_0x25e2b4,{'headers':{..._0x5b4490}}),_0x179829=new A[(_0xd99570(0x2ca))]();return{'URL':_0x25e2b4,'close':(_0x332e16,_0x31955d)=>{const _0x149643=_0xd99570;_0x373fed[_0x149643(0x181)](_0x332e16,_0x31955d),_0x179829[_0x149643(0x1b8)]();},'send':_0x1a2e4b=>{_0x373fed['send'](_0x1a2e4b);},'open$':new V[(_0xd99570(0x294))](_0x3f12d8=>{const _0x25771b=_0xd99570,_0x2f5e45=_0x385966=>_0x3f12d8[_0x25771b(0x185)](_0x385966);_0x373fed[_0x25771b(0x28a)](_0x25771b(0x1f8),_0x2f5e45),_0x179829[_0x25771b(0x2d1)](A[_0x25771b(0x316)](()=>_0x373fed[_0x25771b(0x172)](_0x25771b(0x1f8),_0x2f5e45)));})[_0xd99570(0x269)](V[_0xd99570(0x20b)]()),'close$':new V[(_0xd99570(0x294))](_0x3874bb=>{const _0x1dcb4e=_0xd99570,_0x4e6a6a=_0x4a6e83=>_0x3874bb[_0x1dcb4e(0x185)](_0x4a6e83);_0x373fed[_0x1dcb4e(0x28a)]('close',_0x4e6a6a),_0x179829[_0x1dcb4e(0x2d1)](A['toDisposable'](()=>_0x373fed[_0x1dcb4e(0x172)](_0x1dcb4e(0x181),_0x4e6a6a)));})[_0xd99570(0x269)](V[_0xd99570(0x20b)]()),'error$':new V['Observable'](_0x324430=>{const _0x2ca919=_0xd99570,_0x5c5b98=_0xdc42cd=>_0x324430[_0x2ca919(0x185)](_0xdc42cd);_0x373fed[_0x2ca919(0x28a)](_0x2ca919(0x22a),_0x5c5b98),_0x179829['add'](A[_0x2ca919(0x316)](()=>_0x373fed['removeEventListener'](_0x2ca919(0x22a),_0x5c5b98)));})[_0xd99570(0x269)](V[_0xd99570(0x20b)]()),'message$':new V['Observable'](_0x515dcc=>{const _0x4e1653=_0xd99570,_0x48bdf9=_0x10ae88=>_0x515dcc[_0x4e1653(0x185)](_0x10ae88);_0x373fed[_0x4e1653(0x28a)]('message',_0x48bdf9),_0x179829[_0x4e1653(0x2d1)](A[_0x4e1653(0x316)](()=>_0x373fed[_0x4e1653(0x172)](_0x4e1653(0x26c),_0x48bdf9)));})[_0xd99570(0x269)](V[_0xd99570(0x20b)]())};}catch(_0x129277){return console[_0xd99570(0x22a)](_0x129277),null;}}};ke=Wt([qt(0x0,A[_0x524c07(0x19c)])],ke);var Gt=Object[_0x524c07(0x1f9)],Vt=Object[_0x524c07(0x1b9)],Ht=(_0x252590,_0x21b624,_0x2f09b3)=>_0x21b624 in _0x252590?Gt(_0x252590,_0x21b624,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2f09b3}):_0x252590[_0x21b624]=_0x2f09b3,zt=(_0x3e1aaf,_0x459e0e,_0xedb39b,_0x57469e)=>{const _0x2fb0c2=_0x524c07;for(var _0xc31dc5=_0x57469e>0x1?void 0x0:_0x57469e?Vt(_0x459e0e,_0xedb39b):_0x459e0e,_0xb4f7d5=_0x3e1aaf[_0x2fb0c2(0x2ec)]-0x1,_0x9d4778;_0xb4f7d5>=0x0;_0xb4f7d5--)(_0x9d4778=_0x3e1aaf[_0xb4f7d5])&&(_0xc31dc5=_0x9d4778(_0xc31dc5)||_0xc31dc5);return _0xc31dc5;},Ne=(_0x175e63,_0x52ee62)=>(_0xc3025c,_0x579124)=>_0x52ee62(_0xc3025c,_0x579124,_0x175e63),Yt=(_0x480df7,_0x2d2764,_0x419034)=>Ht(_0x480df7,_0x2d2764+'',_0x419034);exports[_0x524c07(0x293)]=class extends A[_0x524c07(0x2a5)]{constructor(_0x10032c=Ct,_0x1b8739,_0x45ed6d,_0x58e935){const _0x37219a=_0x524c07;_0x10032c[_0x37219a(0x1aa)]||_0x1b8739[_0x37219a(0x2e6)](_0x37219a(0x193)),super(),this[_0x37219a(0x2bf)]=_0x45ed6d,this[_0x37219a(0x27a)]=_0x58e935,this[_0x37219a(0x2bf)]['setConfig'](fe,_0x10032c);}['onStarting'](){const _0x5d3df8=_0x524c07;this[_0x5d3df8(0x31b)]();}['_registerDependencies'](){const _0x5367dd=_0x524c07;A[_0x5367dd(0x232)](this[_0x5367dd(0x27a)],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports[_0x524c07(0x293)],_0x524c07(0x1d2),_0x524c07(0x209)),exports[_0x524c07(0x293)]=zt([A[_0x524c07(0x226)](st['UniverCollaborationClientPlugin']),Ne(0x1,A[_0x524c07(0x2e7)]),Ne(0x2,A['IConfigService']),Ne(0x3,A[_0x524c07(0x17a)](A[_0x524c07(0x1c3)]))],exports['UniverCollaborationClientNodePlugin']);var Kt=Object[_0x524c07(0x1b9)],Xt=(_0x21ff66,_0x1605a4,_0x1f16c1,_0x2ed2e8)=>{const _0x38a948=_0x524c07;for(var _0x3b2593=_0x2ed2e8>0x1?void 0x0:_0x2ed2e8?Kt(_0x1605a4,_0x1f16c1):_0x1605a4,_0x50358e=_0x21ff66[_0x38a948(0x2ec)]-0x1,_0x5ee2b5;_0x50358e>=0x0;_0x50358e--)(_0x5ee2b5=_0x21ff66[_0x50358e])&&(_0x3b2593=_0x5ee2b5(_0x3b2593)||_0x3b2593);return _0x3b2593;},ne=(_0x12145f,_0x48940f)=>(_0x20229c,_0x449d8a)=>_0x48940f(_0x20229c,_0x449d8a,_0x12145f);exports[_0x524c07(0x2cb)]=class extends st[_0x524c07(0x28c)]{constructor(_0x2feefc,_0x38b6df,_0x13f5e8,_0x56bbcf,_0x5771f4){const _0xc5f321=_0x524c07;super(_0x2feefc,_0x38b6df,_0x13f5e8,_0x56bbcf,_0x5771f4);const _0x4fe2af=this['_configService'][_0xc5f321(0x176)](fe);this['_httpService'][_0xc5f321(0x307)]({'interceptor':(_0x143685,_0x2f38f2)=>{const _0x94cd5f=_0xc5f321;var _0x444d2f;const _0x5e2418=_0x143685[_0x94cd5f(0x21b)];return(_0x444d2f=_0x4fe2af==null?void 0x0:_0x4fe2af['customHeaders'])!=null&&_0x444d2f[_0x94cd5f(0x324)]&&_0x5e2418[_0x94cd5f(0x202)](_0x94cd5f(0x1de),_0x4fe2af[_0x94cd5f(0x1aa)][_0x94cd5f(0x324)]),_0x2f38f2(_0x143685);}});}async[_0x524c07(0x25d)](_0x1d9683){const _0xc2d8d1=_0x524c07;return this[_0xc2d8d1(0x20f)](_0x1d9683);}},exports[_0x524c07(0x2cb)]=Xt([ne(0x0,A[_0x524c07(0x17a)](A[_0x524c07(0x1c3)])),ne(0x1,A[_0x524c07(0x17a)](it['HTTPService'])),ne(0x2,A[_0x524c07(0x19c)]),ne(0x3,A[_0x524c07(0x2e7)]),ne(0x4,Ot['ISnapshotServerService'])],exports[_0x524c07(0x2cb)]),exports[_0x524c07(0x234)]=fe;
1
+ 'use strict';const _0xca584b=_0x4c6f;(function(_0x39f1fa,_0xd16bf4){const _0x26f670=_0x4c6f,_0x35a58e=_0x39f1fa();while(!![]){try{const _0x1beac6=parseInt(_0x26f670(0x1ac))/0x1+parseInt(_0x26f670(0x33a))/0x2+parseInt(_0x26f670(0x1a6))/0x3+-parseInt(_0x26f670(0x31e))/0x4+parseInt(_0x26f670(0x29d))/0x5*(-parseInt(_0x26f670(0x2c3))/0x6)+-parseInt(_0x26f670(0x2ff))/0x7+-parseInt(_0x26f670(0x32b))/0x8;if(_0x1beac6===_0xd16bf4)break;else _0x35a58e['push'](_0x35a58e['shift']());}catch(_0x24f081){_0x35a58e['push'](_0x35a58e['shift']());}}}(_0x3e92,0xb0ab4));Object[_0xca584b(0x2a5)](exports,Symbol[_0xca584b(0x262)],{'value':_0xca584b(0x22c)});const st=require(_0xca584b(0x195)),A=require(_0xca584b(0x228)),it=require(_0xca584b(0x189)),V=require(_0xca584b(0x181)),nt=require(_0xca584b(0x19b)),vt=require(_0xca584b(0x264)),ot=require(_0xca584b(0x2a3)),St=require(_0xca584b(0x2f2)),Et=require(_0xca584b(0x25a)),Le=require(_0xca584b(0x283)),oe=require(_0xca584b(0x32f)),xt=require(_0xca584b(0x1bc)),bt=require(_0xca584b(0x1c8)),wt=require(_0xca584b(0x1ed)),Ot=require(_0xca584b(0x1b8)),fe=_0xca584b(0x240),Ct={'customHeaders':{}};function Tt(_0xa153eb){const _0x425609=_0xca584b;return _0xa153eb&&_0xa153eb[_0x425609(0x332)]&&Object['prototype'][_0x425609(0x1aa)][_0x425609(0x2d6)](_0xa153eb,'default')?_0xa153eb[_0x425609(0x1be)]:_0xa153eb;}function at(_0x2225b9){const _0x506fe7=_0xca584b;if(Object[_0x506fe7(0x1cd)][_0x506fe7(0x1aa)][_0x506fe7(0x2d6)](_0x2225b9,_0x506fe7(0x332)))return _0x2225b9;var _0x48d2fc=_0x2225b9[_0x506fe7(0x1be)];if(typeof _0x48d2fc==_0x506fe7(0x217)){var _0x599597=function _0x29a84b(){const _0x3c311f=_0x506fe7;return this instanceof _0x29a84b?Reflect['construct'](_0x48d2fc,arguments,this[_0x3c311f(0x1bd)]):_0x48d2fc['apply'](this,arguments);};_0x599597[_0x506fe7(0x1cd)]=_0x48d2fc[_0x506fe7(0x1cd)];}else _0x599597={};return Object['defineProperty'](_0x599597,'__esModule',{'value':!0x0}),Object[_0x506fe7(0x258)](_0x2225b9)['forEach'](function(_0x467841){const _0x2cdf73=_0x506fe7;var _0x299d92=Object[_0x2cdf73(0x311)](_0x2225b9,_0x467841);Object[_0x2cdf73(0x2a5)](_0x599597,_0x467841,_0x299d92[_0x2cdf73(0x1cf)]?_0x299d92:{'enumerable':!0x0,'get':function(){return _0x2225b9[_0x467841];}});}),_0x599597;}var se={'exports':{}},ge,Ge;function H(){const _0x250423=_0xca584b;if(Ge)return ge;Ge=0x1;const _0x3001e1=[_0x250423(0x295),_0x250423(0x2dd),_0x250423(0x1bf)],_0x56e12a=typeof Blob<'u';return _0x56e12a&&_0x3001e1[_0x250423(0x21a)](_0x250423(0x2f5)),ge={'BINARY_TYPES':_0x3001e1,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x250423(0x2a6),'hasBlob':_0x56e12a,'kForOnEventAttribute':Symbol(_0x250423(0x319)),'kListener':Symbol(_0x250423(0x2fa)),'kStatusCode':Symbol(_0x250423(0x281)),'kWebSocket':Symbol(_0x250423(0x2be)),'NOOP':()=>{}},ge;}const Nt={},kt=Object['freeze'](Object['defineProperty']({'__proto__':null,'default':Nt},Symbol[_0xca584b(0x262)],{'value':'Module'})),Lt=at(kt);var Ve;function ce(){const _0x642ebf=_0xca584b;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0x548f85}=H(),_0x1573f1=Buffer[Symbol[_0x642ebf(0x1c0)]];function _0x7f04cb(_0x17f1a3,_0x3e4ca6){const _0xee42bf=_0x642ebf;if(_0x17f1a3['length']===0x0)return _0x548f85;if(_0x17f1a3[_0xee42bf(0x241)]===0x1)return _0x17f1a3[0x0];const _0x483ae9=Buffer[_0xee42bf(0x29e)](_0x3e4ca6);let _0x5be262=0x0;for(let _0x14b284=0x0;_0x14b284<_0x17f1a3[_0xee42bf(0x241)];_0x14b284++){const _0xd952c=_0x17f1a3[_0x14b284];_0x483ae9[_0xee42bf(0x32d)](_0xd952c,_0x5be262),_0x5be262+=_0xd952c['length'];}return _0x5be262<_0x3e4ca6?new _0x1573f1(_0x483ae9[_0xee42bf(0x1ed)],_0x483ae9['byteOffset'],_0x5be262):_0x483ae9;}function _0x4b11e1(_0xde2baf,_0x43b880,_0x32f172,_0x162fde,_0x27f6d2){for(let _0x340ba3=0x0;_0x340ba3<_0x27f6d2;_0x340ba3++)_0x32f172[_0x162fde+_0x340ba3]=_0xde2baf[_0x340ba3]^_0x43b880[_0x340ba3&0x3];}function _0x1f988c(_0xe0c915,_0x4434d9){const _0x15512e=_0x642ebf;for(let _0x3af27f=0x0;_0x3af27f<_0xe0c915[_0x15512e(0x241)];_0x3af27f++)_0xe0c915[_0x3af27f]^=_0x4434d9[_0x3af27f&0x3];}function _0x373000(_0x42d099){const _0x4fffbe=_0x642ebf;return _0x42d099[_0x4fffbe(0x241)]===_0x42d099[_0x4fffbe(0x1ed)][_0x4fffbe(0x30f)]?_0x42d099[_0x4fffbe(0x1ed)]:_0x42d099[_0x4fffbe(0x1ed)][_0x4fffbe(0x290)](_0x42d099[_0x4fffbe(0x324)],_0x42d099[_0x4fffbe(0x324)]+_0x42d099[_0x4fffbe(0x241)]);}function _0x19b868(_0x50997c){const _0x530c5f=_0x642ebf;if(_0x19b868[_0x530c5f(0x1a9)]=!0x0,Buffer[_0x530c5f(0x2ee)](_0x50997c))return _0x50997c;let _0x4537dd;return _0x50997c instanceof ArrayBuffer?_0x4537dd=new _0x1573f1(_0x50997c):ArrayBuffer[_0x530c5f(0x271)](_0x50997c)?_0x4537dd=new _0x1573f1(_0x50997c[_0x530c5f(0x1ed)],_0x50997c['byteOffset'],_0x50997c['byteLength']):(_0x4537dd=Buffer[_0x530c5f(0x1d4)](_0x50997c),_0x19b868[_0x530c5f(0x1a9)]=!0x1),_0x4537dd;}if(se[_0x642ebf(0x1f7)]={'concat':_0x7f04cb,'mask':_0x4b11e1,'toArrayBuffer':_0x373000,'toBuffer':_0x19b868,'unmask':_0x1f988c},!process[_0x642ebf(0x1fa)]['WS_NO_BUFFER_UTIL'])try{const _0x3fc550=Lt;se['exports']['mask']=function(_0x3ad263,_0x5e870f,_0x2c3c8d,_0xa97b74,_0x542d89){const _0x1f8f43=_0x642ebf;_0x542d89<0x30?_0x4b11e1(_0x3ad263,_0x5e870f,_0x2c3c8d,_0xa97b74,_0x542d89):_0x3fc550[_0x1f8f43(0x1d8)](_0x3ad263,_0x5e870f,_0x2c3c8d,_0xa97b74,_0x542d89);},se[_0x642ebf(0x1f7)][_0x642ebf(0x2bb)]=function(_0x3dd615,_0x14a039){const _0x35ea13=_0x642ebf;_0x3dd615[_0x35ea13(0x241)]<0x20?_0x1f988c(_0x3dd615,_0x14a039):_0x3fc550[_0x35ea13(0x2bb)](_0x3dd615,_0x14a039);};}catch{}return se[_0x642ebf(0x1f7)];}var ye,He;function Pt(){const _0x38e932=_0xca584b;if(He)return ye;He=0x1;const _0x227045=Symbol('kDone'),_0x51045f=Symbol(_0x38e932(0x1ae));class _0x426b68{constructor(_0xc98f25){const _0x3ccdf5=_0x38e932;this[_0x227045]=()=>{const _0x4eec23=_0x4c6f;this[_0x4eec23(0x299)]--,this[_0x51045f]();},this[_0x3ccdf5(0x2c9)]=_0xc98f25||0x1/0x0,this[_0x3ccdf5(0x223)]=[],this[_0x3ccdf5(0x299)]=0x0;}['add'](_0x416807){const _0x592933=_0x38e932;this['jobs'][_0x592933(0x21a)](_0x416807),this[_0x51045f]();}[_0x51045f](){const _0x1b2f61=_0x38e932;if(this[_0x1b2f61(0x299)]!==this['concurrency']&&this[_0x1b2f61(0x223)][_0x1b2f61(0x241)]){const _0x5c914f=this[_0x1b2f61(0x223)]['shift']();this[_0x1b2f61(0x299)]++,_0x5c914f(this[_0x227045]);}}}return ye=_0x426b68,ye;}var ve,ze;function he(){const _0x4e036e=_0xca584b;if(ze)return ve;ze=0x1;const _0x4b5ff3=bt,_0x3c2645=ce(),_0x23be50=Pt(),{kStatusCode:_0x439445}=H(),_0x7054a3=Buffer[Symbol[_0x4e036e(0x1c0)]],_0x4d8916=Buffer['from']([0x0,0x0,0xff,0xff]),_0x105cd5=Symbol(_0x4e036e(0x17d)),_0x48bf46=Symbol(_0x4e036e(0x2a4)),_0x4cce89=Symbol(_0x4e036e(0x277)),_0x33e343=Symbol(_0x4e036e(0x27c)),_0xb07883=Symbol(_0x4e036e(0x2da));let _0x569648;class _0x3adfe8{constructor(_0x8efb59,_0x4bdd0b,_0x565d83){const _0x450661=_0x4e036e;if(this[_0x450661(0x19e)]=_0x565d83|0x0,this[_0x450661(0x1f0)]=_0x8efb59||{},this[_0x450661(0x219)]=this['_options'][_0x450661(0x316)]!==void 0x0?this[_0x450661(0x1f0)][_0x450661(0x316)]:0x400,this[_0x450661(0x208)]=!!_0x4bdd0b,this['_deflate']=null,this[_0x450661(0x338)]=null,this[_0x450661(0x1c6)]=null,!_0x569648){const _0x144d7b=this[_0x450661(0x1f0)][_0x450661(0x17c)]!==void 0x0?this[_0x450661(0x1f0)][_0x450661(0x17c)]:0xa;_0x569648=new _0x23be50(_0x144d7b);}}static get[_0x4e036e(0x23b)](){const _0x2a8659=_0x4e036e;return _0x2a8659(0x17d);}[_0x4e036e(0x2cc)](){const _0x18255f=_0x4e036e,_0x16b78a={};return this[_0x18255f(0x1f0)][_0x18255f(0x22a)]&&(_0x16b78a[_0x18255f(0x193)]=!0x0),this[_0x18255f(0x1f0)][_0x18255f(0x333)]&&(_0x16b78a[_0x18255f(0x346)]=!0x0),this[_0x18255f(0x1f0)]['serverMaxWindowBits']&&(_0x16b78a[_0x18255f(0x341)]=this['_options'][_0x18255f(0x1ab)]),this['_options'][_0x18255f(0x18b)]?_0x16b78a[_0x18255f(0x2db)]=this[_0x18255f(0x1f0)][_0x18255f(0x18b)]:this['_options']['clientMaxWindowBits']==null&&(_0x16b78a[_0x18255f(0x2db)]=!0x0),_0x16b78a;}[_0x4e036e(0x1b7)](_0x4ab942){const _0x2fd9b8=_0x4e036e;return _0x4ab942=this['normalizeParams'](_0x4ab942),this[_0x2fd9b8(0x1c6)]=this[_0x2fd9b8(0x208)]?this[_0x2fd9b8(0x191)](_0x4ab942):this['acceptAsClient'](_0x4ab942),this[_0x2fd9b8(0x1c6)];}[_0x4e036e(0x18d)](){const _0x7ae342=_0x4e036e;if(this[_0x7ae342(0x338)]&&(this['_inflate'][_0x7ae342(0x247)](),this['_inflate']=null),this[_0x7ae342(0x28e)]){const _0xebcfa0=this[_0x7ae342(0x28e)][_0x4cce89];this[_0x7ae342(0x28e)][_0x7ae342(0x247)](),this[_0x7ae342(0x28e)]=null,_0xebcfa0&&_0xebcfa0(new Error(_0x7ae342(0x27f)));}}['acceptAsServer'](_0x4c4eaf){const _0x3e03c0=_0x4e036e,_0x5cfcbd=this[_0x3e03c0(0x1f0)],_0xadb433=_0x4c4eaf[_0x3e03c0(0x26c)](_0x13ab40=>!(_0x5cfcbd['serverNoContextTakeover']===!0x1&&_0x13ab40['server_no_context_takeover']||_0x13ab40['server_max_window_bits']&&(_0x5cfcbd[_0x3e03c0(0x1ab)]===!0x1||typeof _0x5cfcbd[_0x3e03c0(0x1ab)]==_0x3e03c0(0x2e5)&&_0x5cfcbd[_0x3e03c0(0x1ab)]>_0x13ab40[_0x3e03c0(0x341)])||typeof _0x5cfcbd[_0x3e03c0(0x18b)]=='number'&&!_0x13ab40[_0x3e03c0(0x2db)]));if(!_0xadb433)throw new Error(_0x3e03c0(0x20e));return _0x5cfcbd['serverNoContextTakeover']&&(_0xadb433['server_no_context_takeover']=!0x0),_0x5cfcbd[_0x3e03c0(0x333)]&&(_0xadb433[_0x3e03c0(0x346)]=!0x0),typeof _0x5cfcbd[_0x3e03c0(0x1ab)]=='number'&&(_0xadb433[_0x3e03c0(0x341)]=_0x5cfcbd[_0x3e03c0(0x1ab)]),typeof _0x5cfcbd[_0x3e03c0(0x18b)]==_0x3e03c0(0x2e5)?_0xadb433['client_max_window_bits']=_0x5cfcbd[_0x3e03c0(0x18b)]:(_0xadb433[_0x3e03c0(0x2db)]===!0x0||_0x5cfcbd[_0x3e03c0(0x18b)]===!0x1)&&delete _0xadb433[_0x3e03c0(0x2db)],_0xadb433;}[_0x4e036e(0x2d8)](_0xafd513){const _0x20c29a=_0x4e036e,_0xb82cb0=_0xafd513[0x0];if(this[_0x20c29a(0x1f0)]['clientNoContextTakeover']===!0x1&&_0xb82cb0['client_no_context_takeover'])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0xb82cb0[_0x20c29a(0x2db)])typeof this[_0x20c29a(0x1f0)][_0x20c29a(0x18b)]==_0x20c29a(0x2e5)&&(_0xb82cb0['client_max_window_bits']=this[_0x20c29a(0x1f0)][_0x20c29a(0x18b)]);else{if(this['_options'][_0x20c29a(0x18b)]===!0x1||typeof this[_0x20c29a(0x1f0)][_0x20c29a(0x18b)]==_0x20c29a(0x2e5)&&_0xb82cb0[_0x20c29a(0x2db)]>this[_0x20c29a(0x1f0)][_0x20c29a(0x18b)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0xb82cb0;}['normalizeParams'](_0x4b01dd){const _0x42b2ab=_0x4e036e;return _0x4b01dd[_0x42b2ab(0x19a)](_0x2aa73e=>{Object['keys'](_0x2aa73e)['forEach'](_0x934b26=>{const _0x182590=_0x4c6f;let _0x532e92=_0x2aa73e[_0x934b26];if(_0x532e92[_0x182590(0x241)]>0x1)throw new Error(_0x182590(0x222)+_0x934b26+_0x182590(0x2a8));if(_0x532e92=_0x532e92[0x0],_0x934b26===_0x182590(0x2db)){if(_0x532e92!==!0x0){const _0x63d689=+_0x532e92;if(!Number[_0x182590(0x201)](_0x63d689)||_0x63d689<0x8||_0x63d689>0xf)throw new TypeError(_0x182590(0x20c)+_0x934b26+'\x22:\x20'+_0x532e92);_0x532e92=_0x63d689;}else{if(!this[_0x182590(0x208)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x934b26+'\x22:\x20'+_0x532e92);}}else{if(_0x934b26===_0x182590(0x341)){const _0x38291a=+_0x532e92;if(!Number[_0x182590(0x201)](_0x38291a)||_0x38291a<0x8||_0x38291a>0xf)throw new TypeError(_0x182590(0x20c)+_0x934b26+_0x182590(0x1c9)+_0x532e92);_0x532e92=_0x38291a;}else{if(_0x934b26===_0x182590(0x346)||_0x934b26===_0x182590(0x193)){if(_0x532e92!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x934b26+_0x182590(0x1c9)+_0x532e92);}else throw new Error(_0x182590(0x234)+_0x934b26+'\x22');}}_0x2aa73e[_0x934b26]=_0x532e92;});}),_0x4b01dd;}['decompress'](_0x55ad26,_0x572da2,_0xb470eb){_0x569648['add'](_0x173bd2=>{this['_decompress'](_0x55ad26,_0x572da2,(_0x496d3e,_0x536468)=>{_0x173bd2(),_0xb470eb(_0x496d3e,_0x536468);});});}[_0x4e036e(0x2ae)](_0x2db02f,_0x4455eb,_0x2d33c6){const _0x38f916=_0x4e036e;_0x569648[_0x38f916(0x1d2)](_0x25ce41=>{const _0x14af8d=_0x38f916;this[_0x14af8d(0x2bd)](_0x2db02f,_0x4455eb,(_0x5456ff,_0x4b7c31)=>{_0x25ce41(),_0x2d33c6(_0x5456ff,_0x4b7c31);});});}['_decompress'](_0xd2577,_0x4b95a8,_0x374fbb){const _0xa77221=_0x4e036e,_0x10619e=this[_0xa77221(0x208)]?_0xa77221(0x320):_0xa77221(0x2c6);if(!this[_0xa77221(0x338)]){const _0x1ae126=_0x10619e+_0xa77221(0x28b),_0x2560fb=typeof this[_0xa77221(0x1c6)][_0x1ae126]!='number'?_0x4b5ff3['Z_DEFAULT_WINDOWBITS']:this[_0xa77221(0x1c6)][_0x1ae126];this[_0xa77221(0x338)]=_0x4b5ff3[_0xa77221(0x30d)]({...this[_0xa77221(0x1f0)][_0xa77221(0x207)],'windowBits':_0x2560fb}),this['_inflate'][_0x105cd5]=this,this['_inflate'][_0x48bf46]=0x0,this[_0xa77221(0x338)][_0x33e343]=[],this[_0xa77221(0x338)]['on'](_0xa77221(0x2da),_0x14fed7),this[_0xa77221(0x338)]['on'](_0xa77221(0x227),_0x21976f);}this['_inflate'][_0x4cce89]=_0x374fbb,this[_0xa77221(0x338)][_0xa77221(0x239)](_0xd2577),_0x4b95a8&&this['_inflate'][_0xa77221(0x239)](_0x4d8916),this[_0xa77221(0x338)][_0xa77221(0x300)](()=>{const _0x148a90=_0xa77221,_0x575a7e=this[_0x148a90(0x338)][_0xb07883];if(_0x575a7e){this[_0x148a90(0x338)][_0x148a90(0x247)](),this[_0x148a90(0x338)]=null,_0x374fbb(_0x575a7e);return;}const _0x436ea7=_0x3c2645[_0x148a90(0x213)](this['_inflate'][_0x33e343],this[_0x148a90(0x338)][_0x48bf46]);this[_0x148a90(0x338)]['_readableState'][_0x148a90(0x238)]?(this[_0x148a90(0x338)][_0x148a90(0x247)](),this[_0x148a90(0x338)]=null):(this[_0x148a90(0x338)][_0x48bf46]=0x0,this[_0x148a90(0x338)][_0x33e343]=[],_0x4b95a8&&this[_0x148a90(0x1c6)][_0x10619e+'_no_context_takeover']&&this[_0x148a90(0x338)][_0x148a90(0x244)]()),_0x374fbb(null,_0x436ea7);});}[_0x4e036e(0x2bd)](_0x406e8a,_0x5367d0,_0x55cf53){const _0x1215a5=_0x4e036e,_0xe553a2=this['_isServer']?_0x1215a5(0x2c6):_0x1215a5(0x320);if(!this['_deflate']){const _0x25d6fc=_0xe553a2+'_max_window_bits',_0x519ea0=typeof this['params'][_0x25d6fc]!=_0x1215a5(0x2e5)?_0x4b5ff3[_0x1215a5(0x282)]:this['params'][_0x25d6fc];this[_0x1215a5(0x28e)]=_0x4b5ff3[_0x1215a5(0x1fc)]({...this[_0x1215a5(0x1f0)]['zlibDeflateOptions'],'windowBits':_0x519ea0}),this[_0x1215a5(0x28e)][_0x48bf46]=0x0,this[_0x1215a5(0x28e)][_0x33e343]=[],this['_deflate']['on'](_0x1215a5(0x227),_0x4e0ba1);}this[_0x1215a5(0x28e)][_0x4cce89]=_0x55cf53,this[_0x1215a5(0x28e)][_0x1215a5(0x239)](_0x406e8a),this[_0x1215a5(0x28e)]['flush'](_0x4b5ff3[_0x1215a5(0x2c7)],()=>{const _0x52e04a=_0x1215a5;if(!this[_0x52e04a(0x28e)])return;let _0x44aec2=_0x3c2645[_0x52e04a(0x213)](this[_0x52e04a(0x28e)][_0x33e343],this[_0x52e04a(0x28e)][_0x48bf46]);_0x5367d0&&(_0x44aec2=new _0x7054a3(_0x44aec2[_0x52e04a(0x1ed)],_0x44aec2[_0x52e04a(0x324)],_0x44aec2[_0x52e04a(0x241)]-0x4)),this[_0x52e04a(0x28e)][_0x4cce89]=null,this[_0x52e04a(0x28e)][_0x48bf46]=0x0,this['_deflate'][_0x33e343]=[],_0x5367d0&&this['params'][_0xe553a2+_0x52e04a(0x220)]&&this[_0x52e04a(0x28e)]['reset'](),_0x55cf53(null,_0x44aec2);});}}ve=_0x3adfe8;function _0x4e0ba1(_0x3d84c2){const _0x5a6222=_0x4e036e;this[_0x33e343][_0x5a6222(0x21a)](_0x3d84c2),this[_0x48bf46]+=_0x3d84c2[_0x5a6222(0x241)];}function _0x21976f(_0x361c90){const _0x40692d=_0x4e036e;if(this[_0x48bf46]+=_0x361c90[_0x40692d(0x241)],this[_0x105cd5][_0x40692d(0x19e)]<0x1||this[_0x48bf46]<=this[_0x105cd5]['_maxPayload']){this[_0x33e343][_0x40692d(0x21a)](_0x361c90);return;}this[_0xb07883]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0xb07883][_0x40692d(0x24c)]=_0x40692d(0x230),this[_0xb07883][_0x439445]=0x3f1,this[_0x40692d(0x31b)](_0x40692d(0x227),_0x21976f),this[_0x40692d(0x244)]();}function _0x14fed7(_0x37e5c5){const _0x4af8c8=_0x4e036e;this[_0x105cd5][_0x4af8c8(0x338)]=null,_0x37e5c5[_0x439445]=0x3ef,this[_0x4cce89](_0x37e5c5);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object[_0xca584b(0x2a5)]({'__proto__':null,'default':Dt},Symbol[_0xca584b(0x262)],{'value':_0xca584b(0x22c)})),Bt=at(Rt);var Ye;function ae(){const _0x14d865=_0xca584b;if(Ye)return ie[_0x14d865(0x1f7)];Ye=0x1;const {isUtf8:_0x429a73}=wt,{hasBlob:_0x942205}=H(),_0x297a69=[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 _0x1b85f2(_0x2209ac){return _0x2209ac>=0x3e8&&_0x2209ac<=0x3f6&&_0x2209ac!==0x3ec&&_0x2209ac!==0x3ed&&_0x2209ac!==0x3ee||_0x2209ac>=0xbb8&&_0x2209ac<=0x1387;}function _0x3cbcfb(_0x30a8dc){const _0x198194=_0x14d865,_0x4021f0=_0x30a8dc[_0x198194(0x241)];let _0x9ea48a=0x0;for(;_0x9ea48a<_0x4021f0;)if((_0x30a8dc[_0x9ea48a]&0x80)===0x0)_0x9ea48a++;else{if((_0x30a8dc[_0x9ea48a]&0xe0)===0xc0){if(_0x9ea48a+0x1===_0x4021f0||(_0x30a8dc[_0x9ea48a+0x1]&0xc0)!==0x80||(_0x30a8dc[_0x9ea48a]&0xfe)===0xc0)return!0x1;_0x9ea48a+=0x2;}else{if((_0x30a8dc[_0x9ea48a]&0xf0)===0xe0){if(_0x9ea48a+0x2>=_0x4021f0||(_0x30a8dc[_0x9ea48a+0x1]&0xc0)!==0x80||(_0x30a8dc[_0x9ea48a+0x2]&0xc0)!==0x80||_0x30a8dc[_0x9ea48a]===0xe0&&(_0x30a8dc[_0x9ea48a+0x1]&0xe0)===0x80||_0x30a8dc[_0x9ea48a]===0xed&&(_0x30a8dc[_0x9ea48a+0x1]&0xe0)===0xa0)return!0x1;_0x9ea48a+=0x3;}else{if((_0x30a8dc[_0x9ea48a]&0xf8)===0xf0){if(_0x9ea48a+0x3>=_0x4021f0||(_0x30a8dc[_0x9ea48a+0x1]&0xc0)!==0x80||(_0x30a8dc[_0x9ea48a+0x2]&0xc0)!==0x80||(_0x30a8dc[_0x9ea48a+0x3]&0xc0)!==0x80||_0x30a8dc[_0x9ea48a]===0xf0&&(_0x30a8dc[_0x9ea48a+0x1]&0xf0)===0x80||_0x30a8dc[_0x9ea48a]===0xf4&&_0x30a8dc[_0x9ea48a+0x1]>0x8f||_0x30a8dc[_0x9ea48a]>0xf4)return!0x1;_0x9ea48a+=0x4;}else return!0x1;}}}return!0x0;}function _0x210c8d(_0x41918a){const _0x2641ca=_0x14d865;return _0x942205&&typeof _0x41918a==_0x2641ca(0x289)&&typeof _0x41918a['arrayBuffer']==_0x2641ca(0x217)&&typeof _0x41918a[_0x2641ca(0x1c2)]=='string'&&typeof _0x41918a[_0x2641ca(0x32f)]==_0x2641ca(0x217)&&(_0x41918a[Symbol['toStringTag']]===_0x2641ca(0x254)||_0x41918a[Symbol[_0x2641ca(0x262)]]===_0x2641ca(0x31a));}if(ie['exports']={'isBlob':_0x210c8d,'isValidStatusCode':_0x1b85f2,'isValidUTF8':_0x3cbcfb,'tokenChars':_0x297a69},_0x429a73)ie['exports'][_0x14d865(0x1c1)]=function(_0x15fbf6){const _0x362bfe=_0x14d865;return _0x15fbf6[_0x362bfe(0x241)]<0x18?_0x3cbcfb(_0x15fbf6):_0x429a73(_0x15fbf6);};else{if(!process['env'][_0x14d865(0x250)])try{const _0x30a505=Bt;ie[_0x14d865(0x1f7)][_0x14d865(0x1c1)]=function(_0x2200de){const _0x36dd17=_0x14d865;return _0x2200de[_0x36dd17(0x241)]<0x20?_0x3cbcfb(_0x2200de):_0x30a505(_0x2200de);};}catch{}}return ie[_0x14d865(0x1f7)];}var Se,Ke;function lt(){const _0x5aa605=_0xca584b;if(Ke)return Se;Ke=0x1;const {Writable:_0x22266f}=oe,_0x3d66a7=he(),{BINARY_TYPES:_0x37e0bf,EMPTY_BUFFER:_0x30447b,kStatusCode:_0x4fa703,kWebSocket:_0x5d0966}=H(),{concat:_0x32cfba,toArrayBuffer:_0x75ba96,unmask:_0x4e5af7}=ce(),{isValidStatusCode:_0x95f814,isValidUTF8:_0x30bddb}=ae(),_0x5b325a=Buffer[Symbol[_0x5aa605(0x1c0)]],_0x5b3e70=0x0,_0x2a7865=0x1,_0x2d2144=0x2,_0x126c8a=0x3,_0x395bc8=0x4,_0x140640=0x5,_0x49ddf5=0x6;class _0x304f73 extends _0x22266f{constructor(_0x553388={}){const _0x1345b7=_0x5aa605;super(),this['_allowSynchronousEvents']=_0x553388['allowSynchronousEvents']!==void 0x0?_0x553388['allowSynchronousEvents']:!0x0,this[_0x1345b7(0x2f3)]=_0x553388[_0x1345b7(0x2e7)]||_0x37e0bf[0x0],this['_extensions']=_0x553388['extensions']||{},this[_0x1345b7(0x208)]=!!_0x553388[_0x1345b7(0x2ca)],this[_0x1345b7(0x19e)]=_0x553388[_0x1345b7(0x268)]|0x0,this[_0x1345b7(0x2e1)]=!!_0x553388[_0x1345b7(0x2cd)],this[_0x5d0966]=void 0x0,this[_0x1345b7(0x1ad)]=0x0,this[_0x1345b7(0x322)]=[],this[_0x1345b7(0x27a)]=!0x1,this[_0x1345b7(0x229)]=0x0,this[_0x1345b7(0x212)]=void 0x0,this[_0x1345b7(0x2f0)]=0x0,this[_0x1345b7(0x23a)]=!0x1,this[_0x1345b7(0x1d5)]=!0x1,this[_0x1345b7(0x2c5)]=0x0,this[_0x1345b7(0x182)]=0x0,this[_0x1345b7(0x334)]=0x0,this[_0x1345b7(0x325)]=[],this['_errored']=!0x1,this[_0x1345b7(0x19f)]=!0x1,this['_state']=_0x5b3e70;}[_0x5aa605(0x235)](_0x5359d4,_0x444ea6,_0x428f0c){const _0x155aa2=_0x5aa605;if(this['_opcode']===0x8&&this['_state']==_0x5b3e70)return _0x428f0c();this[_0x155aa2(0x1ad)]+=_0x5359d4[_0x155aa2(0x241)],this['_buffers'][_0x155aa2(0x21a)](_0x5359d4),this[_0x155aa2(0x2b8)](_0x428f0c);}['consume'](_0x2ad820){const _0x92b911=_0x5aa605;if(this[_0x92b911(0x1ad)]-=_0x2ad820,_0x2ad820===this[_0x92b911(0x322)][0x0][_0x92b911(0x241)])return this['_buffers'][_0x92b911(0x21f)]();if(_0x2ad820<this[_0x92b911(0x322)][0x0][_0x92b911(0x241)]){const _0x6544ae=this['_buffers'][0x0];return this[_0x92b911(0x322)][0x0]=new _0x5b325a(_0x6544ae['buffer'],_0x6544ae[_0x92b911(0x324)]+_0x2ad820,_0x6544ae[_0x92b911(0x241)]-_0x2ad820),new _0x5b325a(_0x6544ae[_0x92b911(0x1ed)],_0x6544ae[_0x92b911(0x324)],_0x2ad820);}const _0x27b36e=Buffer[_0x92b911(0x29e)](_0x2ad820);do{const _0x2724d0=this['_buffers'][0x0],_0x2e4491=_0x27b36e[_0x92b911(0x241)]-_0x2ad820;_0x2ad820>=_0x2724d0[_0x92b911(0x241)]?_0x27b36e[_0x92b911(0x32d)](this[_0x92b911(0x322)][_0x92b911(0x21f)](),_0x2e4491):(_0x27b36e[_0x92b911(0x32d)](new Uint8Array(_0x2724d0[_0x92b911(0x1ed)],_0x2724d0[_0x92b911(0x324)],_0x2ad820),_0x2e4491),this[_0x92b911(0x322)][0x0]=new _0x5b325a(_0x2724d0[_0x92b911(0x1ed)],_0x2724d0[_0x92b911(0x324)]+_0x2ad820,_0x2724d0[_0x92b911(0x241)]-_0x2ad820)),_0x2ad820-=_0x2724d0['length'];}while(_0x2ad820>0x0);return _0x27b36e;}[_0x5aa605(0x2b8)](_0x48dde1){const _0x2535cf=_0x5aa605;this['_loop']=!0x0;do switch(this['_state']){case _0x5b3e70:this[_0x2535cf(0x256)](_0x48dde1);break;case _0x2a7865:this[_0x2535cf(0x23d)](_0x48dde1);break;case _0x2d2144:this[_0x2535cf(0x30e)](_0x48dde1);break;case _0x126c8a:this[_0x2535cf(0x2b7)]();break;case _0x395bc8:this[_0x2535cf(0x292)](_0x48dde1);break;case _0x140640:case _0x49ddf5:this[_0x2535cf(0x19f)]=!0x1;return;}while(this[_0x2535cf(0x19f)]);this[_0x2535cf(0x294)]||_0x48dde1();}[_0x5aa605(0x256)](_0x370ecc){const _0x465bd9=_0x5aa605;if(this[_0x465bd9(0x1ad)]<0x2){this['_loop']=!0x1;return;}const _0x4ff1cd=this['consume'](0x2);if((_0x4ff1cd[0x0]&0x30)!==0x0){const _0x2897a9=this[_0x465bd9(0x1dc)](RangeError,_0x465bd9(0x28f),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x370ecc(_0x2897a9);return;}const _0x5b4ff0=(_0x4ff1cd[0x0]&0x40)===0x40;if(_0x5b4ff0&&!this['_extensions'][_0x3d66a7[_0x465bd9(0x23b)]]){const _0x14c418=this[_0x465bd9(0x1dc)](RangeError,_0x465bd9(0x1a4),!0x0,0x3ea,_0x465bd9(0x29f));_0x370ecc(_0x14c418);return;}if(this[_0x465bd9(0x1d5)]=(_0x4ff1cd[0x0]&0x80)===0x80,this[_0x465bd9(0x2c5)]=_0x4ff1cd[0x0]&0xf,this['_payloadLength']=_0x4ff1cd[0x1]&0x7f,this['_opcode']===0x0){if(_0x5b4ff0){const _0x1f1684=this[_0x465bd9(0x1dc)](RangeError,_0x465bd9(0x1a4),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x370ecc(_0x1f1684);return;}if(!this['_fragmented']){const _0x4b831d=this[_0x465bd9(0x1dc)](RangeError,_0x465bd9(0x1da),!0x0,0x3ea,_0x465bd9(0x259));_0x370ecc(_0x4b831d);return;}this[_0x465bd9(0x2c5)]=this[_0x465bd9(0x2f0)];}else{if(this[_0x465bd9(0x2c5)]===0x1||this[_0x465bd9(0x2c5)]===0x2){if(this[_0x465bd9(0x2f0)]){const _0x590395=this[_0x465bd9(0x1dc)](RangeError,_0x465bd9(0x1ff)+this[_0x465bd9(0x2c5)],!0x0,0x3ea,_0x465bd9(0x259));_0x370ecc(_0x590395);return;}this[_0x465bd9(0x27a)]=_0x5b4ff0;}else{if(this[_0x465bd9(0x2c5)]>0x7&&this[_0x465bd9(0x2c5)]<0xb){if(!this['_fin']){const _0x4ac25b=this[_0x465bd9(0x1dc)](RangeError,_0x465bd9(0x2cb),!0x0,0x3ea,_0x465bd9(0x1e9));_0x370ecc(_0x4ac25b);return;}if(_0x5b4ff0){const _0x357aee=this[_0x465bd9(0x1dc)](RangeError,_0x465bd9(0x1a4),!0x0,0x3ea,_0x465bd9(0x29f));_0x370ecc(_0x357aee);return;}if(this[_0x465bd9(0x229)]>0x7d||this[_0x465bd9(0x2c5)]===0x8&&this[_0x465bd9(0x229)]===0x1){const _0x4e221d=this[_0x465bd9(0x1dc)](RangeError,'invalid\x20payload\x20length\x20'+this[_0x465bd9(0x229)],!0x0,0x3ea,_0x465bd9(0x252));_0x370ecc(_0x4e221d);return;}}else{const _0x575340=this['createError'](RangeError,_0x465bd9(0x1ff)+this[_0x465bd9(0x2c5)],!0x0,0x3ea,_0x465bd9(0x259));_0x370ecc(_0x575340);return;}}}if(!this['_fin']&&!this[_0x465bd9(0x2f0)]&&(this['_fragmented']=this['_opcode']),this[_0x465bd9(0x23a)]=(_0x4ff1cd[0x1]&0x80)===0x80,this[_0x465bd9(0x208)]){if(!this['_masked']){const _0x5e5e2e=this['createError'](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x370ecc(_0x5e5e2e);return;}}else{if(this[_0x465bd9(0x23a)]){const _0x550ef4=this[_0x465bd9(0x1dc)](RangeError,_0x465bd9(0x33f),!0x0,0x3ea,_0x465bd9(0x30c));_0x370ecc(_0x550ef4);return;}}this[_0x465bd9(0x229)]===0x7e?this[_0x465bd9(0x242)]=_0x2a7865:this[_0x465bd9(0x229)]===0x7f?this[_0x465bd9(0x242)]=_0x2d2144:this['haveLength'](_0x370ecc);}['getPayloadLength16'](_0x24ab26){const _0x572e5d=_0x5aa605;if(this[_0x572e5d(0x1ad)]<0x2){this['_loop']=!0x1;return;}this['_payloadLength']=this['consume'](0x2)[_0x572e5d(0x20d)](0x0),this[_0x572e5d(0x2e9)](_0x24ab26);}[_0x5aa605(0x30e)](_0x419732){const _0x1f70b4=_0x5aa605;if(this[_0x1f70b4(0x1ad)]<0x8){this[_0x1f70b4(0x19f)]=!0x1;return;}const _0x225222=this[_0x1f70b4(0x347)](0x8),_0x57290a=_0x225222[_0x1f70b4(0x280)](0x0);if(_0x57290a>Math[_0x1f70b4(0x1bb)](0x2,0x15)-0x1){const _0xbaa215=this['createError'](RangeError,_0x1f70b4(0x267),!0x1,0x3f1,_0x1f70b4(0x27b));_0x419732(_0xbaa215);return;}this['_payloadLength']=_0x57290a*Math[_0x1f70b4(0x1bb)](0x2,0x20)+_0x225222['readUInt32BE'](0x4),this[_0x1f70b4(0x2e9)](_0x419732);}[_0x5aa605(0x2e9)](_0x429bce){const _0x2709d4=_0x5aa605;if(this['_payloadLength']&&this['_opcode']<0x8&&(this[_0x2709d4(0x182)]+=this[_0x2709d4(0x229)],this[_0x2709d4(0x182)]>this[_0x2709d4(0x19e)]&&this['_maxPayload']>0x0)){const _0x373f48=this[_0x2709d4(0x1dc)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x2709d4(0x230));_0x429bce(_0x373f48);return;}this[_0x2709d4(0x23a)]?this[_0x2709d4(0x242)]=_0x126c8a:this[_0x2709d4(0x242)]=_0x395bc8;}[_0x5aa605(0x2b7)](){const _0x3ef174=_0x5aa605;if(this['_bufferedBytes']<0x4){this[_0x3ef174(0x19f)]=!0x1;return;}this[_0x3ef174(0x212)]=this[_0x3ef174(0x347)](0x4),this[_0x3ef174(0x242)]=_0x395bc8;}[_0x5aa605(0x292)](_0x1e1e35){const _0x255185=_0x5aa605;let _0x5959ae=_0x30447b;if(this['_payloadLength']){if(this[_0x255185(0x1ad)]<this[_0x255185(0x229)]){this[_0x255185(0x19f)]=!0x1;return;}_0x5959ae=this['consume'](this[_0x255185(0x229)]),this[_0x255185(0x23a)]&&(this[_0x255185(0x212)][0x0]|this['_mask'][0x1]|this[_0x255185(0x212)][0x2]|this[_0x255185(0x212)][0x3])!==0x0&&_0x4e5af7(_0x5959ae,this[_0x255185(0x212)]);}if(this['_opcode']>0x7){this[_0x255185(0x2fe)](_0x5959ae,_0x1e1e35);return;}if(this[_0x255185(0x27a)]){this['_state']=_0x140640,this['decompress'](_0x5959ae,_0x1e1e35);return;}_0x5959ae[_0x255185(0x241)]&&(this[_0x255185(0x334)]=this[_0x255185(0x182)],this[_0x255185(0x325)]['push'](_0x5959ae)),this[_0x255185(0x251)](_0x1e1e35);}[_0x5aa605(0x202)](_0x139216,_0x42c35b){const _0x30da86=_0x5aa605;this[_0x30da86(0x200)][_0x3d66a7['extensionName']][_0x30da86(0x202)](_0x139216,this[_0x30da86(0x1d5)],(_0x2c7d39,_0x3216b)=>{const _0x338481=_0x30da86;if(_0x2c7d39)return _0x42c35b(_0x2c7d39);if(_0x3216b[_0x338481(0x241)]){if(this[_0x338481(0x334)]+=_0x3216b[_0x338481(0x241)],this[_0x338481(0x334)]>this[_0x338481(0x19e)]&&this['_maxPayload']>0x0){const _0x103e77=this[_0x338481(0x1dc)](RangeError,_0x338481(0x278),!0x1,0x3f1,_0x338481(0x230));_0x42c35b(_0x103e77);return;}this[_0x338481(0x325)]['push'](_0x3216b);}this[_0x338481(0x251)](_0x42c35b),this[_0x338481(0x242)]===_0x5b3e70&&this[_0x338481(0x2b8)](_0x42c35b);});}[_0x5aa605(0x251)](_0xb0609b){const _0x5dda53=_0x5aa605;if(!this[_0x5dda53(0x1d5)]){this[_0x5dda53(0x242)]=_0x5b3e70;return;}const _0xda5425=this[_0x5dda53(0x334)],_0x1e3111=this[_0x5dda53(0x325)];if(this[_0x5dda53(0x182)]=0x0,this[_0x5dda53(0x334)]=0x0,this[_0x5dda53(0x2f0)]=0x0,this[_0x5dda53(0x325)]=[],this[_0x5dda53(0x2c5)]===0x2){let _0x30b565;this[_0x5dda53(0x2f3)]===_0x5dda53(0x295)?_0x30b565=_0x32cfba(_0x1e3111,_0xda5425):this[_0x5dda53(0x2f3)]===_0x5dda53(0x2dd)?_0x30b565=_0x75ba96(_0x32cfba(_0x1e3111,_0xda5425)):this['_binaryType']===_0x5dda53(0x2f5)?_0x30b565=new Blob(_0x1e3111):_0x30b565=_0x1e3111,this[_0x5dda53(0x312)]?(this[_0x5dda53(0x233)]('message',_0x30b565,!0x0),this[_0x5dda53(0x242)]=_0x5b3e70):(this[_0x5dda53(0x242)]=_0x49ddf5,setImmediate(()=>{const _0x2d4dfc=_0x5dda53;this[_0x2d4dfc(0x233)]('message',_0x30b565,!0x0),this[_0x2d4dfc(0x242)]=_0x5b3e70,this[_0x2d4dfc(0x2b8)](_0xb0609b);}));}else{const _0x1cdf49=_0x32cfba(_0x1e3111,_0xda5425);if(!this[_0x5dda53(0x2e1)]&&!_0x30bddb(_0x1cdf49)){const _0x157eb5=this['createError'](Error,_0x5dda53(0x2d1),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0xb0609b(_0x157eb5);return;}this[_0x5dda53(0x242)]===_0x140640||this[_0x5dda53(0x312)]?(this['emit'](_0x5dda53(0x22e),_0x1cdf49,!0x1),this[_0x5dda53(0x242)]=_0x5b3e70):(this[_0x5dda53(0x242)]=_0x49ddf5,setImmediate(()=>{const _0x4f189e=_0x5dda53;this['emit'](_0x4f189e(0x22e),_0x1cdf49,!0x1),this['_state']=_0x5b3e70,this[_0x4f189e(0x2b8)](_0xb0609b);}));}}[_0x5aa605(0x2fe)](_0x311399,_0x1b99d8){const _0x25f788=_0x5aa605;if(this[_0x25f788(0x2c5)]===0x8){if(_0x311399[_0x25f788(0x241)]===0x0)this[_0x25f788(0x19f)]=!0x1,this[_0x25f788(0x233)]('conclude',0x3ed,_0x30447b),this[_0x25f788(0x2f1)]();else{const _0x31dad7=_0x311399[_0x25f788(0x20d)](0x0);if(!_0x95f814(_0x31dad7)){const _0x201c6b=this['createError'](RangeError,'invalid\x20status\x20code\x20'+_0x31dad7,!0x0,0x3ea,_0x25f788(0x2c0));_0x1b99d8(_0x201c6b);return;}const _0x22a61d=new _0x5b325a(_0x311399[_0x25f788(0x1ed)],_0x311399[_0x25f788(0x324)]+0x2,_0x311399[_0x25f788(0x241)]-0x2);if(!this[_0x25f788(0x2e1)]&&!_0x30bddb(_0x22a61d)){const _0x1a1659=this[_0x25f788(0x1dc)](Error,_0x25f788(0x2d1),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x1b99d8(_0x1a1659);return;}this[_0x25f788(0x19f)]=!0x1,this['emit'](_0x25f788(0x1e1),_0x31dad7,_0x22a61d),this[_0x25f788(0x2f1)]();}this[_0x25f788(0x242)]=_0x5b3e70;return;}this[_0x25f788(0x312)]?(this[_0x25f788(0x233)](this[_0x25f788(0x2c5)]===0x9?'ping':_0x25f788(0x298),_0x311399),this[_0x25f788(0x242)]=_0x5b3e70):(this[_0x25f788(0x242)]=_0x49ddf5,setImmediate(()=>{const _0x6a6426=_0x25f788;this[_0x6a6426(0x233)](this[_0x6a6426(0x2c5)]===0x9?_0x6a6426(0x198):_0x6a6426(0x298),_0x311399),this[_0x6a6426(0x242)]=_0x5b3e70,this['startLoop'](_0x1b99d8);}));}[_0x5aa605(0x1dc)](_0x3fd447,_0x44866d,_0x28a790,_0x1c1810,_0x29fd8c){const _0x5ee315=_0x5aa605;this[_0x5ee315(0x19f)]=!0x1,this[_0x5ee315(0x294)]=!0x0;const _0x2f8141=new _0x3fd447(_0x28a790?_0x5ee315(0x2e3)+_0x44866d:_0x44866d);return Error['captureStackTrace'](_0x2f8141,this[_0x5ee315(0x1dc)]),_0x2f8141[_0x5ee315(0x24c)]=_0x29fd8c,_0x2f8141[_0x4fa703]=_0x1c1810,_0x2f8141;}}return Se=_0x304f73,Se;}var Ee,Xe;function ft(){const _0x49dfde=_0xca584b;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x5e5948}=oe,{randomFillSync:_0x1af194}=Le,_0x27ade9=he(),{EMPTY_BUFFER:_0x2579fb,kWebSocket:_0x58395e,NOOP:_0x5b020d}=H(),{isBlob:_0x1a9eaf,isValidStatusCode:_0x3d6ea5}=ae(),{mask:_0x13b6a0,toBuffer:_0x2f3a69}=ce(),_0x4a9409=Symbol(_0x49dfde(0x2f9)),_0x213aa0=Buffer[_0x49dfde(0x310)](0x4),_0x330c28=0x8*0x400;let _0x248aef,_0x5f34f2=_0x330c28;const _0x38ce9b=0x0,_0x1e142d=0x1,_0x2c9998=0x2;class _0x3f2465{constructor(_0x4e0aa2,_0x42d593,_0x5b16cc){const _0x5e521e=_0x49dfde;this[_0x5e521e(0x200)]=_0x42d593||{},_0x5b16cc&&(this[_0x5e521e(0x1fe)]=_0x5b16cc,this[_0x5e521e(0x1d0)]=Buffer[_0x5e521e(0x310)](0x4)),this[_0x5e521e(0x1a7)]=_0x4e0aa2,this[_0x5e521e(0x1c4)]=!0x0,this['_compress']=!0x1,this['_bufferedBytes']=0x0,this[_0x5e521e(0x183)]=[],this[_0x5e521e(0x242)]=_0x38ce9b,this['onerror']=_0x5b020d,this[_0x58395e]=void 0x0;}static[_0x49dfde(0x2fd)](_0x1b0e7f,_0x34bae4){const _0x5ad95c=_0x49dfde;let _0x437001,_0x2cf4bc=!0x1,_0x27887c=0x2,_0x2ddeaa=!0x1;_0x34bae4[_0x5ad95c(0x1d8)]&&(_0x437001=_0x34bae4[_0x5ad95c(0x2c8)]||_0x213aa0,_0x34bae4[_0x5ad95c(0x186)]?_0x34bae4['generateMask'](_0x437001):(_0x5f34f2===_0x330c28&&(_0x248aef===void 0x0&&(_0x248aef=Buffer['alloc'](_0x330c28)),_0x1af194(_0x248aef,0x0,_0x330c28),_0x5f34f2=0x0),_0x437001[0x0]=_0x248aef[_0x5f34f2++],_0x437001[0x1]=_0x248aef[_0x5f34f2++],_0x437001[0x2]=_0x248aef[_0x5f34f2++],_0x437001[0x3]=_0x248aef[_0x5f34f2++]),_0x2ddeaa=(_0x437001[0x0]|_0x437001[0x1]|_0x437001[0x2]|_0x437001[0x3])===0x0,_0x27887c=0x6);let _0x3b8f7c;typeof _0x1b0e7f==_0x5ad95c(0x1e7)?(!_0x34bae4[_0x5ad95c(0x1d8)]||_0x2ddeaa)&&_0x34bae4[_0x4a9409]!==void 0x0?_0x3b8f7c=_0x34bae4[_0x4a9409]:(_0x1b0e7f=Buffer[_0x5ad95c(0x1d4)](_0x1b0e7f),_0x3b8f7c=_0x1b0e7f['length']):(_0x3b8f7c=_0x1b0e7f['length'],_0x2cf4bc=_0x34bae4['mask']&&_0x34bae4[_0x5ad95c(0x1a9)]&&!_0x2ddeaa);let _0x58475a=_0x3b8f7c;_0x3b8f7c>=0x10000?(_0x27887c+=0x8,_0x58475a=0x7f):_0x3b8f7c>0x7d&&(_0x27887c+=0x2,_0x58475a=0x7e);const _0x596885=Buffer[_0x5ad95c(0x29e)](_0x2cf4bc?_0x3b8f7c+_0x27887c:_0x27887c);return _0x596885[0x0]=_0x34bae4[_0x5ad95c(0x2ef)]?_0x34bae4['opcode']|0x80:_0x34bae4[_0x5ad95c(0x28a)],_0x34bae4[_0x5ad95c(0x210)]&&(_0x596885[0x0]|=0x40),_0x596885[0x1]=_0x58475a,_0x58475a===0x7e?_0x596885['writeUInt16BE'](_0x3b8f7c,0x2):_0x58475a===0x7f&&(_0x596885[0x2]=_0x596885[0x3]=0x0,_0x596885['writeUIntBE'](_0x3b8f7c,0x4,0x6)),_0x34bae4[_0x5ad95c(0x1d8)]?(_0x596885[0x1]|=0x80,_0x596885[_0x27887c-0x4]=_0x437001[0x0],_0x596885[_0x27887c-0x3]=_0x437001[0x1],_0x596885[_0x27887c-0x2]=_0x437001[0x2],_0x596885[_0x27887c-0x1]=_0x437001[0x3],_0x2ddeaa?[_0x596885,_0x1b0e7f]:_0x2cf4bc?(_0x13b6a0(_0x1b0e7f,_0x437001,_0x596885,_0x27887c,_0x3b8f7c),[_0x596885]):(_0x13b6a0(_0x1b0e7f,_0x437001,_0x1b0e7f,0x0,_0x3b8f7c),[_0x596885,_0x1b0e7f])):[_0x596885,_0x1b0e7f];}[_0x49dfde(0x247)](_0x1b9fea,_0x52c86e,_0x29275e,_0x1e75f8){const _0x1f79d2=_0x49dfde;let _0x389298;if(_0x1b9fea===void 0x0)_0x389298=_0x2579fb;else{if(typeof _0x1b9fea!=_0x1f79d2(0x2e5)||!_0x3d6ea5(_0x1b9fea))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x52c86e===void 0x0||!_0x52c86e[_0x1f79d2(0x241)])_0x389298=Buffer[_0x1f79d2(0x29e)](0x2),_0x389298[_0x1f79d2(0x328)](_0x1b9fea,0x0);else{const _0x18c784=Buffer[_0x1f79d2(0x30f)](_0x52c86e);if(_0x18c784>0x7b)throw new RangeError(_0x1f79d2(0x2df));_0x389298=Buffer[_0x1f79d2(0x29e)](0x2+_0x18c784),_0x389298[_0x1f79d2(0x328)](_0x1b9fea,0x0),typeof _0x52c86e==_0x1f79d2(0x1e7)?_0x389298[_0x1f79d2(0x239)](_0x52c86e,0x2):_0x389298[_0x1f79d2(0x32d)](_0x52c86e,0x2);}}const _0x3b3b87={[_0x4a9409]:_0x389298['length'],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x29275e,'maskBuffer':this[_0x1f79d2(0x1d0)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x1f79d2(0x242)]!==_0x38ce9b?this[_0x1f79d2(0x20b)]([this['dispatch'],_0x389298,!0x1,_0x3b3b87,_0x1e75f8]):this['sendFrame'](_0x3f2465['frame'](_0x389298,_0x3b3b87),_0x1e75f8);}[_0x49dfde(0x198)](_0x417717,_0x276fa5,_0x4f2deb){const _0x597bdd=_0x49dfde;let _0x13aa98,_0x4e52f8;if(typeof _0x417717==_0x597bdd(0x1e7)?(_0x13aa98=Buffer[_0x597bdd(0x30f)](_0x417717),_0x4e52f8=!0x1):_0x1a9eaf(_0x417717)?(_0x13aa98=_0x417717['size'],_0x4e52f8=!0x1):(_0x417717=_0x2f3a69(_0x417717),_0x13aa98=_0x417717[_0x597bdd(0x241)],_0x4e52f8=_0x2f3a69['readOnly']),_0x13aa98>0x7d)throw new RangeError(_0x597bdd(0x231));const _0x2a3fc2={[_0x4a9409]:_0x13aa98,'fin':!0x0,'generateMask':this[_0x597bdd(0x1fe)],'mask':_0x276fa5,'maskBuffer':this[_0x597bdd(0x1d0)],'opcode':0x9,'readOnly':_0x4e52f8,'rsv1':!0x1};_0x1a9eaf(_0x417717)?this[_0x597bdd(0x242)]!==_0x38ce9b?this[_0x597bdd(0x20b)]([this[_0x597bdd(0x253)],_0x417717,!0x1,_0x2a3fc2,_0x4f2deb]):this[_0x597bdd(0x253)](_0x417717,!0x1,_0x2a3fc2,_0x4f2deb):this['_state']!==_0x38ce9b?this[_0x597bdd(0x20b)]([this[_0x597bdd(0x1ca)],_0x417717,!0x1,_0x2a3fc2,_0x4f2deb]):this[_0x597bdd(0x32e)](_0x3f2465['frame'](_0x417717,_0x2a3fc2),_0x4f2deb);}[_0x49dfde(0x298)](_0x897c93,_0x29a785,_0x374cc8){const _0x59e970=_0x49dfde;let _0x427ff7,_0x3f19ab;if(typeof _0x897c93==_0x59e970(0x1e7)?(_0x427ff7=Buffer[_0x59e970(0x30f)](_0x897c93),_0x3f19ab=!0x1):_0x1a9eaf(_0x897c93)?(_0x427ff7=_0x897c93[_0x59e970(0x1f4)],_0x3f19ab=!0x1):(_0x897c93=_0x2f3a69(_0x897c93),_0x427ff7=_0x897c93[_0x59e970(0x241)],_0x3f19ab=_0x2f3a69[_0x59e970(0x1a9)]),_0x427ff7>0x7d)throw new RangeError(_0x59e970(0x231));const _0x5e1bc7={[_0x4a9409]:_0x427ff7,'fin':!0x0,'generateMask':this[_0x59e970(0x1fe)],'mask':_0x29a785,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x3f19ab,'rsv1':!0x1};_0x1a9eaf(_0x897c93)?this[_0x59e970(0x242)]!==_0x38ce9b?this['enqueue']([this['getBlobData'],_0x897c93,!0x1,_0x5e1bc7,_0x374cc8]):this[_0x59e970(0x253)](_0x897c93,!0x1,_0x5e1bc7,_0x374cc8):this['_state']!==_0x38ce9b?this[_0x59e970(0x20b)]([this['dispatch'],_0x897c93,!0x1,_0x5e1bc7,_0x374cc8]):this[_0x59e970(0x32e)](_0x3f2465['frame'](_0x897c93,_0x5e1bc7),_0x374cc8);}['send'](_0x163169,_0x1824eb,_0x54ca6e){const _0x3d4dc4=_0x49dfde,_0x1dc215=this['_extensions'][_0x27ade9['extensionName']];let _0x1b0dfd=_0x1824eb[_0x3d4dc4(0x323)]?0x2:0x1,_0x1c19c4=_0x1824eb['compress'],_0xad577,_0x471277;typeof _0x163169==_0x3d4dc4(0x1e7)?(_0xad577=Buffer['byteLength'](_0x163169),_0x471277=!0x1):_0x1a9eaf(_0x163169)?(_0xad577=_0x163169['size'],_0x471277=!0x1):(_0x163169=_0x2f3a69(_0x163169),_0xad577=_0x163169[_0x3d4dc4(0x241)],_0x471277=_0x2f3a69[_0x3d4dc4(0x1a9)]),this['_firstFragment']?(this[_0x3d4dc4(0x1c4)]=!0x1,_0x1c19c4&&_0x1dc215&&_0x1dc215[_0x3d4dc4(0x1c6)][_0x1dc215[_0x3d4dc4(0x208)]?_0x3d4dc4(0x193):_0x3d4dc4(0x346)]&&(_0x1c19c4=_0xad577>=_0x1dc215[_0x3d4dc4(0x219)]),this[_0x3d4dc4(0x2bd)]=_0x1c19c4):(_0x1c19c4=!0x1,_0x1b0dfd=0x0),_0x1824eb[_0x3d4dc4(0x2ef)]&&(this['_firstFragment']=!0x0);const _0x19805a={[_0x4a9409]:_0xad577,'fin':_0x1824eb[_0x3d4dc4(0x2ef)],'generateMask':this['_generateMask'],'mask':_0x1824eb[_0x3d4dc4(0x1d8)],'maskBuffer':this[_0x3d4dc4(0x1d0)],'opcode':_0x1b0dfd,'readOnly':_0x471277,'rsv1':_0x1c19c4};_0x1a9eaf(_0x163169)?this[_0x3d4dc4(0x242)]!==_0x38ce9b?this[_0x3d4dc4(0x20b)]([this[_0x3d4dc4(0x253)],_0x163169,this['_compress'],_0x19805a,_0x54ca6e]):this['getBlobData'](_0x163169,this[_0x3d4dc4(0x2bd)],_0x19805a,_0x54ca6e):this[_0x3d4dc4(0x242)]!==_0x38ce9b?this[_0x3d4dc4(0x20b)]([this[_0x3d4dc4(0x1ca)],_0x163169,this[_0x3d4dc4(0x2bd)],_0x19805a,_0x54ca6e]):this[_0x3d4dc4(0x1ca)](_0x163169,this['_compress'],_0x19805a,_0x54ca6e);}[_0x49dfde(0x253)](_0x4b64e2,_0x179513,_0x5b64a8,_0xb11dfd){const _0x1b3c89=_0x49dfde;this[_0x1b3c89(0x1ad)]+=_0x5b64a8[_0x4a9409],this[_0x1b3c89(0x242)]=_0x2c9998,_0x4b64e2['arrayBuffer']()[_0x1b3c89(0x24f)](_0x17e4cd=>{const _0x503014=_0x1b3c89;if(this[_0x503014(0x1a7)][_0x503014(0x243)]){const _0x5617dc=new Error(_0x503014(0x2c4));process[_0x503014(0x1a1)](_0xc78723,this,_0x5617dc,_0xb11dfd);return;}this[_0x503014(0x1ad)]-=_0x5b64a8[_0x4a9409];const _0x1d028b=_0x2f3a69(_0x17e4cd);_0x179513?this[_0x503014(0x1ca)](_0x1d028b,_0x179513,_0x5b64a8,_0xb11dfd):(this['_state']=_0x38ce9b,this[_0x503014(0x32e)](_0x3f2465[_0x503014(0x2fd)](_0x1d028b,_0x5b64a8),_0xb11dfd),this[_0x503014(0x275)]());})[_0x1b3c89(0x33c)](_0xa3d3a2=>{process['nextTick'](_0xa4add1,this,_0xa3d3a2,_0xb11dfd);});}['dispatch'](_0x120c9b,_0x5eeb82,_0x4be220,_0x560608){const _0x576a79=_0x49dfde;if(!_0x5eeb82){this[_0x576a79(0x32e)](_0x3f2465['frame'](_0x120c9b,_0x4be220),_0x560608);return;}const _0x4f06f6=this[_0x576a79(0x200)][_0x27ade9[_0x576a79(0x23b)]];this['_bufferedBytes']+=_0x4be220[_0x4a9409],this[_0x576a79(0x242)]=_0x1e142d,_0x4f06f6['compress'](_0x120c9b,_0x4be220['fin'],(_0x34ec0f,_0x4d536d)=>{const _0x3c5359=_0x576a79;if(this[_0x3c5359(0x1a7)]['destroyed']){const _0x567862=new Error(_0x3c5359(0x24d));_0xc78723(this,_0x567862,_0x560608);return;}this[_0x3c5359(0x1ad)]-=_0x4be220[_0x4a9409],this['_state']=_0x38ce9b,_0x4be220[_0x3c5359(0x1a9)]=!0x1,this[_0x3c5359(0x32e)](_0x3f2465[_0x3c5359(0x2fd)](_0x4d536d,_0x4be220),_0x560608),this[_0x3c5359(0x275)]();});}['dequeue'](){const _0x11358f=_0x49dfde;for(;this[_0x11358f(0x242)]===_0x38ce9b&&this[_0x11358f(0x183)][_0x11358f(0x241)];){const _0x389efc=this[_0x11358f(0x183)]['shift']();this[_0x11358f(0x1ad)]-=_0x389efc[0x3][_0x4a9409],Reflect['apply'](_0x389efc[0x0],this,_0x389efc['slice'](0x1));}}[_0x49dfde(0x20b)](_0x6605ed){const _0xf3cf86=_0x49dfde;this[_0xf3cf86(0x1ad)]+=_0x6605ed[0x3][_0x4a9409],this[_0xf3cf86(0x183)]['push'](_0x6605ed);}[_0x49dfde(0x32e)](_0x178518,_0x30e53b){const _0x3d4a45=_0x49dfde;_0x178518['length']===0x2?(this[_0x3d4a45(0x1a7)]['cork'](),this[_0x3d4a45(0x1a7)][_0x3d4a45(0x239)](_0x178518[0x0]),this[_0x3d4a45(0x1a7)][_0x3d4a45(0x239)](_0x178518[0x1],_0x30e53b),this['_socket'][_0x3d4a45(0x18e)]()):this[_0x3d4a45(0x1a7)][_0x3d4a45(0x239)](_0x178518[0x0],_0x30e53b);}}Ee=_0x3f2465;function _0xc78723(_0x107237,_0x13846f,_0x33e5a3){const _0x3e100a=_0x49dfde;typeof _0x33e5a3==_0x3e100a(0x217)&&_0x33e5a3(_0x13846f);for(let _0x42c537=0x0;_0x42c537<_0x107237[_0x3e100a(0x183)][_0x3e100a(0x241)];_0x42c537++){const _0x507f48=_0x107237[_0x3e100a(0x183)][_0x42c537],_0x4633f4=_0x507f48[_0x507f48[_0x3e100a(0x241)]-0x1];typeof _0x4633f4==_0x3e100a(0x217)&&_0x4633f4(_0x13846f);}}function _0xa4add1(_0x2f029f,_0x4b71f0,_0x1b5f41){const _0x13e13f=_0x49dfde;_0xc78723(_0x2f029f,_0x4b71f0,_0x1b5f41),_0x2f029f[_0x13e13f(0x1ea)](_0x4b71f0);}return Ee;}var xe,Ze;function It(){const _0x1be93b=_0xca584b;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x343190,kListener:_0x219483}=H(),_0x446c4f=Symbol(_0x1be93b(0x2b3)),_0x30d53f=Symbol('kData'),_0x1364e4=Symbol(_0x1be93b(0x31f)),_0x2abb90=Symbol(_0x1be93b(0x25f)),_0x3678a9=Symbol(_0x1be93b(0x2b1)),_0x4a18be=Symbol(_0x1be93b(0x26a)),_0x1dc3cb=Symbol(_0x1be93b(0x342)),_0x1222ca=Symbol('kWasClean');class _0x4d4e8c{constructor(_0x59474c){this[_0x4a18be]=null,this[_0x1dc3cb]=_0x59474c;}get[_0x1be93b(0x321)](){return this[_0x4a18be];}get[_0x1be93b(0x1c2)](){return this[_0x1dc3cb];}}Object[_0x1be93b(0x2a5)](_0x4d4e8c[_0x1be93b(0x1cd)],_0x1be93b(0x321),{'enumerable':!0x0}),Object[_0x1be93b(0x2a5)](_0x4d4e8c[_0x1be93b(0x1cd)],_0x1be93b(0x1c2),{'enumerable':!0x0});class _0x4aef1b extends _0x4d4e8c{constructor(_0x4ea9c1,_0x2d139a={}){const _0x545e1b=_0x1be93b;super(_0x4ea9c1),this[_0x446c4f]=_0x2d139a[_0x545e1b(0x24c)]===void 0x0?0x0:_0x2d139a['code'],this[_0x3678a9]=_0x2d139a[_0x545e1b(0x2ea)]===void 0x0?'':_0x2d139a[_0x545e1b(0x2ea)],this[_0x1222ca]=_0x2d139a[_0x545e1b(0x1af)]===void 0x0?!0x1:_0x2d139a['wasClean'];}get[_0x1be93b(0x24c)](){return this[_0x446c4f];}get[_0x1be93b(0x2ea)](){return this[_0x3678a9];}get['wasClean'](){return this[_0x1222ca];}}Object[_0x1be93b(0x2a5)](_0x4aef1b[_0x1be93b(0x1cd)],_0x1be93b(0x24c),{'enumerable':!0x0}),Object[_0x1be93b(0x2a5)](_0x4aef1b[_0x1be93b(0x1cd)],_0x1be93b(0x2ea),{'enumerable':!0x0}),Object['defineProperty'](_0x4aef1b[_0x1be93b(0x1cd)],_0x1be93b(0x1af),{'enumerable':!0x0});class _0x11e4f8 extends _0x4d4e8c{constructor(_0x1a2b23,_0x111403={}){const _0x1aef73=_0x1be93b;super(_0x1a2b23),this[_0x1364e4]=_0x111403['error']===void 0x0?null:_0x111403[_0x1aef73(0x2da)],this[_0x2abb90]=_0x111403[_0x1aef73(0x22e)]===void 0x0?'':_0x111403[_0x1aef73(0x22e)];}get[_0x1be93b(0x2da)](){return this[_0x1364e4];}get[_0x1be93b(0x22e)](){return this[_0x2abb90];}}Object[_0x1be93b(0x2a5)](_0x11e4f8[_0x1be93b(0x1cd)],_0x1be93b(0x2da),{'enumerable':!0x0}),Object['defineProperty'](_0x11e4f8[_0x1be93b(0x1cd)],_0x1be93b(0x22e),{'enumerable':!0x0});class _0x2f5669 extends _0x4d4e8c{constructor(_0x4cf9e3,_0x280659={}){const _0x470653=_0x1be93b;super(_0x4cf9e3),this[_0x30d53f]=_0x280659['data']===void 0x0?null:_0x280659[_0x470653(0x227)];}get['data'](){return this[_0x30d53f];}}Object[_0x1be93b(0x2a5)](_0x2f5669[_0x1be93b(0x1cd)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x4aef1b,'ErrorEvent':_0x11e4f8,'Event':_0x4d4e8c,'EventTarget':{'addEventListener'(_0x5a2f13,_0x939d90,_0x5c3aaa={}){const _0x572b82=_0x1be93b;for(const _0x3a5af3 of this[_0x572b82(0x24e)](_0x5a2f13))if(!_0x5c3aaa[_0x343190]&&_0x3a5af3[_0x219483]===_0x939d90&&!_0x3a5af3[_0x343190])return;let _0x19cedf;if(_0x5a2f13==='message')_0x19cedf=function(_0x5db065,_0xe56a82){const _0x3c69d8=_0x572b82,_0x9d6cd7=new _0x2f5669(_0x3c69d8(0x22e),{'data':_0xe56a82?_0x5db065:_0x5db065[_0x3c69d8(0x261)]()});_0x9d6cd7[_0x4a18be]=this,_0x520a47(_0x939d90,this,_0x9d6cd7);};else{if(_0x5a2f13==='close')_0x19cedf=function(_0x450a0a,_0x6fcceb){const _0x5e4f16=_0x572b82,_0x518c0a=new _0x4aef1b('close',{'code':_0x450a0a,'reason':_0x6fcceb[_0x5e4f16(0x261)](),'wasClean':this[_0x5e4f16(0x301)]&&this[_0x5e4f16(0x204)]});_0x518c0a[_0x4a18be]=this,_0x520a47(_0x939d90,this,_0x518c0a);};else{if(_0x5a2f13==='error')_0x19cedf=function(_0x3bdc7a){const _0x9a2124=_0x572b82,_0x2ddde3=new _0x11e4f8(_0x9a2124(0x2da),{'error':_0x3bdc7a,'message':_0x3bdc7a[_0x9a2124(0x22e)]});_0x2ddde3[_0x4a18be]=this,_0x520a47(_0x939d90,this,_0x2ddde3);};else{if(_0x5a2f13===_0x572b82(0x1cb))_0x19cedf=function(){const _0x1633b9=_0x572b82,_0x2b68f1=new _0x4d4e8c(_0x1633b9(0x1cb));_0x2b68f1[_0x4a18be]=this,_0x520a47(_0x939d90,this,_0x2b68f1);};else return;}}}_0x19cedf[_0x343190]=!!_0x5c3aaa[_0x343190],_0x19cedf[_0x219483]=_0x939d90,_0x5c3aaa[_0x572b82(0x276)]?this[_0x572b82(0x276)](_0x5a2f13,_0x19cedf):this['on'](_0x5a2f13,_0x19cedf);},'removeEventListener'(_0xe92f6c,_0x3ad47f){const _0x27bd11=_0x1be93b;for(const _0xd1af7c of this[_0x27bd11(0x24e)](_0xe92f6c))if(_0xd1af7c[_0x219483]===_0x3ad47f&&!_0xd1af7c[_0x343190]){this[_0x27bd11(0x31b)](_0xe92f6c,_0xd1af7c);break;}}},'MessageEvent':_0x2f5669};function _0x520a47(_0x3db2d8,_0x46bbcb,_0x2480d4){const _0x14488d=_0x1be93b;typeof _0x3db2d8==_0x14488d(0x289)&&_0x3db2d8['handleEvent']?_0x3db2d8[_0x14488d(0x344)][_0x14488d(0x2d6)](_0x3db2d8,_0x2480d4):_0x3db2d8[_0x14488d(0x2d6)](_0x46bbcb,_0x2480d4);}return xe;}var be,Qe;function _0x3e92(){const _0x2eeef6=['WebSocket\x20is\x20not\x20open:\x20readyState\x20','50124xCCROU','_socket','socketPath','readOnly','hasOwnProperty','serverMaxWindowBits','1446273PicmFr','_bufferedBytes','kRun','wasClean','registerDependencies','_configService','options','toDisposable','format','sec-websocket-extensions','autoPong','accept','@univerjs-pro/collaboration','STATUS_CODES','_readableState','pow','url','constructor','default','fragments','species','isValidUTF8','type','_closeCode','_firstFragment','captureStackTrace','params','port','zlib','\x22:\x20','dispatch','open','bind','prototype','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','get','_maskBuffer','Sec-WebSocket-Origin','add','unexpected-response','from','_fin','extensions','handleUpgrade','mask','followRedirects','invalid\x20opcode\x200','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','createError','completeUpgrade','finished','terminate','dispose','conclude','The\x20URL\x27s\x20pathname\x20is\x20empty','getConfig','username','needDrain','UniverCollaborationClientPlugin','string','timeout','WS_ERR_EXPECTED_FIN','onerror','method','COLLABORATION_CLIENT_NODE_CONFIG_KEY','buffer','finishRequest','location','_options','listenerCount','abort','_final','size','join','sec-websocket-origin','exports','_read','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','env','_httpService','createDeflateRaw','unshift','_generateMask','invalid\x20opcode\x20','_extensions','isInteger','decompress','Invalid\x20HTTP\x20method','_closeFrameSent','setSocket','removeEventListener','zlibInflateOptions','_isServer','headers','listen','enqueue','Invalid\x20value\x20for\x20parameter\x20\x22','readUInt16BE','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','CollaborationSocketService','rsv1','has','_mask','concat','Injector','objectMode','Sec-WebSocket-Extensions','function','CONNECTING','_threshold','push','listening','startsWith','map','text/html','shift','_no_context_takeover','Origin','Parameter\x20\x22','jobs','wsClientError','hostname','Basic\x20','data','@univerjs/core','_payloadLength','serverNoContextTakeover','_sender','Module','_closeMessage','message','Unexpected\x20character\x20at\x20index\x20','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','search','emit','Unknown\x20parameter\x20\x22','_write','entries','emitClose','endEmitted','write','_masked','extensionName','includes','getPayloadLength16','_originalHostOrSocketPath','servername','collaboration-client-node.config','length','_state','destroyed','reset','redirect','https:','close','defaultPort','pluginName','backlog','_registerDependencies','code','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','listeners','then','WS_NO_UTF_8_VALIDATE','dataMessage','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','getBlobData','Blob','resume','getInfo','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','keys','WS_ERR_INVALID_OPCODE','tls','IConfigService','handshakeTimeout','noServer','customHeaders','kMessage','Invalid\x20Upgrade\x20header','toString','toStringTag','ISocketService','https','drain','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','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','maxPayload','statusCode','kTarget','_writableState','find','parse','_paused','sha1','toLowerCase','isView','onopen','read','indexOf','dequeue','once','callback','Max\x20payload\x20size\x20exceeded','_receiver','_compressed','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','buffers','OPEN','CLOSING','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','readUInt32BE','status-code','Z_DEFAULT_WINDOWBITS','crypto','text/plain','authorization','destroy','protocolVersion','address','object','opcode','_max_window_bits','test','sec-websocket-version','_deflate','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','slice','clientTracking','getData','_protocol','_errored','nodebuffer','Sec-WebSocket-Accept:\x20','writable','pong','pending','digest','_bufferedAmount','_doCreateSocket','1193285cBubZl','allocUnsafe','WS_ERR_UNEXPECTED_RSV_1','delete','DisposableCollection','protocol','http','total-length','defineProperty','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','onmessage','\x22\x20must\x20have\x20only\x20a\x20single\x20value','base64','verifyClient','clients','finish','Plugin','compress','ws+unix:','errorEmitted','kReason','readable','kCode','\x0d\x0a\x0d\x0a','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','host','getMask','startLoop','Sec-WebSocket-Protocol:\x20','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','unmask','The\x20\x22','_compress','websocket','setHeader','WS_ERR_INVALID_CLOSE_CODE','perMessageDeflate','isIP','6WOrysa','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','_opcode','server','Z_SYNC_FLUSH','maskBuffer','concurrency','isServer','FIN\x20must\x20be\x20set','offer','skipUTF8Validation','writeHead','replace','_originalSecure','invalid\x20UTF-8\x20sequence','pause','createSocket','NodeCollaborationSocketService','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','call','CLOSED','acceptAsClient','_closeTimer','error','client_max_window_bits','create','arraybuffer','isPaused','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','isArray','_skipUTF8Validation','pipe','Invalid\x20WebSocket\x20frame:\x20','createServer','number','removeAllListeners','binaryType','_shouldEmitClose','haveLength','reason','_req','_removeListeners','_url','isBuffer','fin','_fragmented','end','net','_binaryType','request','blob','share','setNoDelay','DependentOn','kByteLength','kListener','sec-websocket-protocol','Inject','frame','controlMessage','1076705ilRsuR','flush','_closeFrameReceived','shouldHandle','allowSynchronousEvents','connect','wss:','cookie','path','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','_autoPong','_server','Invalid\x20URL:\x20','WS_ERR_UNEXPECTED_MASK','createInflateRaw','getPayloadLength64','byteLength','alloc','getOwnPropertyDescriptor','_allowSynchronousEvents','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','handleProtocols','HTTP/1.1\x20','threshold','GET','Opening\x20handshake\x20has\x20timed\x20out','kIsForOnEventAttribute','File','removeListener','Upgrade:\x20websocket','sec-websocket-key','2152116JgSHvG','kError','client','target','_buffers','binary','byteOffset','_fragments','auth','charCodeAt','writeUInt16BE','send','Sec-WebSocket-Extensions:\x20','7077840TYvZEU','password','set','sendFrame','stream','Connection:\x20Upgrade','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','__esModule','clientNoContextTakeover','_messageLength','readyState','next','HTTP/1.1\x20101\x20Switching\x20Protocols','_inflate','update','2151772yfvTTL','Observable','catch','The\x20URL\x20contains\x20a\x20fragment\x20identifier','setTimeout','MASK\x20must\x20be\x20clear','value','server_max_window_bits','kType','Invalid\x20Sec-WebSocket-Extensions\x20header','handleEvent','values','client_no_context_takeover','consume','concurrencyLimit','permessage-deflate','_redirects','bufferedAmount','Sec-WebSocket-Protocol','rxjs','_totalPayloadLength','_queue','Unexpected\x20end\x20of\x20input','addEventListener','generateMask','_readyState','origin','@univerjs/network','createConnection','clientMaxWindowBits','onStarting','cleanup','uncork','Unexpected\x20server\x20response:\x20','UniverCollaborationClientNodePlugin','acceptAsServer','socket','server_no_context_takeover','Invalid\x20Sec-WebSocket-Protocol\x20header','@univerjs-pro/collaboration-client','response','Invalid\x20Sec-WebSocket-Accept\x20header','ping','href','forEach','events','pathname','ws:','_maxPayload','_loop','_originalIpc','nextTick','maxRedirects','_errorEmitted','RSV1\x20must\x20be\x20clear'];_0x3e92=function(){return _0x2eeef6;};return _0x3e92();}function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0xef4988}=ae();function _0x785c7e(_0x263f94,_0x53a673,_0x51fc37){const _0x472a06=_0x4c6f;_0x263f94[_0x53a673]===void 0x0?_0x263f94[_0x53a673]=[_0x51fc37]:_0x263f94[_0x53a673][_0x472a06(0x21a)](_0x51fc37);}function _0x59a4e0(_0x49a055){const _0xe8f28d=_0x4c6f,_0x4591a2=Object[_0xe8f28d(0x2dc)](null);let _0x45a302=Object[_0xe8f28d(0x2dc)](null),_0x46a541=!0x1,_0x443c0d=!0x1,_0x11f62f=!0x1,_0x107e30,_0x44e8b1,_0x4c704a=-0x1,_0x77994a=-0x1,_0x56a938=-0x1,_0x3e3326=0x0;for(;_0x3e3326<_0x49a055[_0xe8f28d(0x241)];_0x3e3326++)if(_0x77994a=_0x49a055[_0xe8f28d(0x327)](_0x3e3326),_0x107e30===void 0x0){if(_0x56a938===-0x1&&_0xef4988[_0x77994a]===0x1)_0x4c704a===-0x1&&(_0x4c704a=_0x3e3326);else{if(_0x3e3326!==0x0&&(_0x77994a===0x20||_0x77994a===0x9))_0x56a938===-0x1&&_0x4c704a!==-0x1&&(_0x56a938=_0x3e3326);else{if(_0x77994a===0x3b||_0x77994a===0x2c){if(_0x4c704a===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3e3326);_0x56a938===-0x1&&(_0x56a938=_0x3e3326);const _0x567d9a=_0x49a055[_0xe8f28d(0x290)](_0x4c704a,_0x56a938);_0x77994a===0x2c?(_0x785c7e(_0x4591a2,_0x567d9a,_0x45a302),_0x45a302=Object[_0xe8f28d(0x2dc)](null)):_0x107e30=_0x567d9a,_0x4c704a=_0x56a938=-0x1;}else throw new SyntaxError(_0xe8f28d(0x22f)+_0x3e3326);}}}else{if(_0x44e8b1===void 0x0){if(_0x56a938===-0x1&&_0xef4988[_0x77994a]===0x1)_0x4c704a===-0x1&&(_0x4c704a=_0x3e3326);else{if(_0x77994a===0x20||_0x77994a===0x9)_0x56a938===-0x1&&_0x4c704a!==-0x1&&(_0x56a938=_0x3e3326);else{if(_0x77994a===0x3b||_0x77994a===0x2c){if(_0x4c704a===-0x1)throw new SyntaxError(_0xe8f28d(0x22f)+_0x3e3326);_0x56a938===-0x1&&(_0x56a938=_0x3e3326),_0x785c7e(_0x45a302,_0x49a055[_0xe8f28d(0x290)](_0x4c704a,_0x56a938),!0x0),_0x77994a===0x2c&&(_0x785c7e(_0x4591a2,_0x107e30,_0x45a302),_0x45a302=Object[_0xe8f28d(0x2dc)](null),_0x107e30=void 0x0),_0x4c704a=_0x56a938=-0x1;}else{if(_0x77994a===0x3d&&_0x4c704a!==-0x1&&_0x56a938===-0x1)_0x44e8b1=_0x49a055['slice'](_0x4c704a,_0x3e3326),_0x4c704a=_0x56a938=-0x1;else throw new SyntaxError(_0xe8f28d(0x22f)+_0x3e3326);}}}}else{if(_0x443c0d){if(_0xef4988[_0x77994a]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3e3326);_0x4c704a===-0x1?_0x4c704a=_0x3e3326:_0x46a541||(_0x46a541=!0x0),_0x443c0d=!0x1;}else{if(_0x11f62f){if(_0xef4988[_0x77994a]===0x1)_0x4c704a===-0x1&&(_0x4c704a=_0x3e3326);else{if(_0x77994a===0x22&&_0x4c704a!==-0x1)_0x11f62f=!0x1,_0x56a938=_0x3e3326;else{if(_0x77994a===0x5c)_0x443c0d=!0x0;else throw new SyntaxError(_0xe8f28d(0x22f)+_0x3e3326);}}}else{if(_0x77994a===0x22&&_0x49a055[_0xe8f28d(0x327)](_0x3e3326-0x1)===0x3d)_0x11f62f=!0x0;else{if(_0x56a938===-0x1&&_0xef4988[_0x77994a]===0x1)_0x4c704a===-0x1&&(_0x4c704a=_0x3e3326);else{if(_0x4c704a!==-0x1&&(_0x77994a===0x20||_0x77994a===0x9))_0x56a938===-0x1&&(_0x56a938=_0x3e3326);else{if(_0x77994a===0x3b||_0x77994a===0x2c){if(_0x4c704a===-0x1)throw new SyntaxError(_0xe8f28d(0x22f)+_0x3e3326);_0x56a938===-0x1&&(_0x56a938=_0x3e3326);let _0x5c88f0=_0x49a055[_0xe8f28d(0x290)](_0x4c704a,_0x56a938);_0x46a541&&(_0x5c88f0=_0x5c88f0[_0xe8f28d(0x2cf)](/\\/g,''),_0x46a541=!0x1),_0x785c7e(_0x45a302,_0x44e8b1,_0x5c88f0),_0x77994a===0x2c&&(_0x785c7e(_0x4591a2,_0x107e30,_0x45a302),_0x45a302=Object[_0xe8f28d(0x2dc)](null),_0x107e30=void 0x0),_0x44e8b1=void 0x0,_0x4c704a=_0x56a938=-0x1;}else throw new SyntaxError(_0xe8f28d(0x22f)+_0x3e3326);}}}}}}}if(_0x4c704a===-0x1||_0x11f62f||_0x77994a===0x20||_0x77994a===0x9)throw new SyntaxError(_0xe8f28d(0x184));_0x56a938===-0x1&&(_0x56a938=_0x3e3326);const _0x50adb7=_0x49a055[_0xe8f28d(0x290)](_0x4c704a,_0x56a938);return _0x107e30===void 0x0?_0x785c7e(_0x4591a2,_0x50adb7,_0x45a302):(_0x44e8b1===void 0x0?_0x785c7e(_0x45a302,_0x50adb7,!0x0):_0x46a541?_0x785c7e(_0x45a302,_0x44e8b1,_0x50adb7[_0xe8f28d(0x2cf)](/\\/g,'')):_0x785c7e(_0x45a302,_0x44e8b1,_0x50adb7),_0x785c7e(_0x4591a2,_0x107e30,_0x45a302)),_0x4591a2;}function _0x33b54f(_0x4fd352){const _0x77de74=_0x4c6f;return Object['keys'](_0x4fd352)[_0x77de74(0x21d)](_0x2e4983=>{const _0x730bcf=_0x77de74;let _0x475862=_0x4fd352[_0x2e4983];return Array[_0x730bcf(0x2e0)](_0x475862)||(_0x475862=[_0x475862]),_0x475862[_0x730bcf(0x21d)](_0x258d2a=>[_0x2e4983][_0x730bcf(0x213)](Object['keys'](_0x258d2a)[_0x730bcf(0x21d)](_0x2d9867=>{const _0x41c070=_0x730bcf;let _0x1d19c3=_0x258d2a[_0x2d9867];return Array[_0x41c070(0x2e0)](_0x1d19c3)||(_0x1d19c3=[_0x1d19c3]),_0x1d19c3[_0x41c070(0x21d)](_0xfeb0a3=>_0xfeb0a3===!0x0?_0x2d9867:_0x2d9867+'='+_0xfeb0a3)[_0x41c070(0x1f5)](';\x20');}))['join'](';\x20'))[_0x730bcf(0x1f5)](',\x20');})[_0x77de74(0x1f5)](',\x20');}return be={'format':_0x33b54f,'parse':_0x59a4e0},be;}var we,Je;function _0x4c6f(_0x4cc0e7,_0x15d481){const _0x3e9273=_0x3e92();return _0x4c6f=function(_0x4c6f72,_0x54204c){_0x4c6f72=_0x4c6f72-0x17c;let _0x296a6e=_0x3e9273[_0x4c6f72];return _0x296a6e;},_0x4c6f(_0x4cc0e7,_0x15d481);}function Pe(){const _0x4e9ab1=_0xca584b;if(Je)return we;Je=0x1;const _0x13eeb6=nt,_0x5457e9=vt,_0x3fca76=ot,_0x3645bf=St,_0x5033aa=Et,{randomBytes:_0x2729df,createHash:_0x1031a2}=Le,{Duplex:_0x1e549f,Readable:_0x1f1ea8}=oe,{URL:_0x27fd43}=xt,_0x3a8e17=he(),_0x4880fd=lt(),_0x399572=ft(),{isBlob:_0x28e239}=ae(),{BINARY_TYPES:_0x170572,EMPTY_BUFFER:_0x161357,GUID:_0x4ba982,kForOnEventAttribute:_0x412138,kListener:_0x500b24,kStatusCode:_0x303d27,kWebSocket:_0x39b5ff,NOOP:_0x16e778}=H(),{EventTarget:{addEventListener:_0x56c8fc,removeEventListener:_0x57e3cd}}=It(),{format:_0x8653cb,parse:_0x203032}=ct(),{toBuffer:_0x241dbd}=ce(),_0x57d8b7=0x1e*0x3e8,_0x302400=Symbol('kAborted'),_0x24bba5=[0x8,0xd],_0x295534=['CONNECTING','OPEN',_0x4e9ab1(0x27e),_0x4e9ab1(0x2d7)],_0x175122=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x4dd281 extends _0x13eeb6{constructor(_0xe09547,_0x379800,_0x3576c6){const _0x531141=_0x4e9ab1;super(),this[_0x531141(0x2f3)]=_0x170572[0x0],this['_closeCode']=0x3ee,this[_0x531141(0x301)]=!0x1,this[_0x531141(0x204)]=!0x1,this[_0x531141(0x22d)]=_0x161357,this[_0x531141(0x2d9)]=null,this[_0x531141(0x1a3)]=!0x1,this[_0x531141(0x200)]={},this[_0x531141(0x26e)]=!0x1,this['_protocol']='',this[_0x531141(0x187)]=_0x4dd281[_0x531141(0x218)],this[_0x531141(0x279)]=null,this[_0x531141(0x22b)]=null,this[_0x531141(0x1a7)]=null,_0xe09547!==null?(this[_0x531141(0x29b)]=0x0,this[_0x531141(0x208)]=!0x1,this[_0x531141(0x17e)]=0x0,_0x379800===void 0x0?_0x379800=[]:Array[_0x531141(0x2e0)](_0x379800)||(typeof _0x379800==_0x531141(0x289)&&_0x379800!==null?(_0x3576c6=_0x379800,_0x379800=[]):_0x379800=[_0x379800]),_0xdb4362(this,_0xe09547,_0x379800,_0x3576c6)):(this[_0x531141(0x309)]=_0x3576c6[_0x531141(0x1b6)],this[_0x531141(0x208)]=!0x0);}get[_0x4e9ab1(0x2e7)](){const _0x2d5267=_0x4e9ab1;return this[_0x2d5267(0x2f3)];}set[_0x4e9ab1(0x2e7)](_0x41031d){const _0x417f6f=_0x4e9ab1;_0x170572[_0x417f6f(0x23c)](_0x41031d)&&(this[_0x417f6f(0x2f3)]=_0x41031d,this[_0x417f6f(0x279)]&&(this[_0x417f6f(0x279)][_0x417f6f(0x2f3)]=_0x41031d));}get['bufferedAmount'](){const _0x760b55=_0x4e9ab1;return this[_0x760b55(0x1a7)]?this[_0x760b55(0x1a7)]['_writableState'][_0x760b55(0x241)]+this[_0x760b55(0x22b)]['_bufferedBytes']:this['_bufferedAmount'];}get['extensions'](){const _0x991c7=_0x4e9ab1;return Object[_0x991c7(0x258)](this[_0x991c7(0x200)])[_0x991c7(0x1f5)]();}get[_0x4e9ab1(0x2de)](){return this['_paused'];}get['onclose'](){return null;}get[_0x4e9ab1(0x1ea)](){return null;}get[_0x4e9ab1(0x272)](){return null;}get[_0x4e9ab1(0x2a7)](){return null;}get['protocol'](){const _0x239093=_0x4e9ab1;return this[_0x239093(0x293)];}get[_0x4e9ab1(0x335)](){const _0x174f5f=_0x4e9ab1;return this[_0x174f5f(0x187)];}get[_0x4e9ab1(0x1bc)](){const _0x24c5cc=_0x4e9ab1;return this[_0x24c5cc(0x2ed)];}[_0x4e9ab1(0x205)](_0x562057,_0x363212,_0x2f3783){const _0x7878a5=_0x4e9ab1,_0x3cf906=new _0x4880fd({'allowSynchronousEvents':_0x2f3783[_0x7878a5(0x303)],'binaryType':this['binaryType'],'extensions':this[_0x7878a5(0x200)],'isServer':this['_isServer'],'maxPayload':_0x2f3783['maxPayload'],'skipUTF8Validation':_0x2f3783[_0x7878a5(0x2cd)]}),_0x2f503e=new _0x399572(_0x562057,this[_0x7878a5(0x200)],_0x2f3783[_0x7878a5(0x186)]);this['_receiver']=_0x3cf906,this[_0x7878a5(0x22b)]=_0x2f503e,this[_0x7878a5(0x1a7)]=_0x562057,_0x3cf906[_0x39b5ff]=this,_0x2f503e[_0x39b5ff]=this,_0x562057[_0x39b5ff]=this,_0x3cf906['on'](_0x7878a5(0x1e1),_0x49c213),_0x3cf906['on'](_0x7878a5(0x265),_0x36ce47),_0x3cf906['on'](_0x7878a5(0x2da),_0x3755e8),_0x3cf906['on'](_0x7878a5(0x22e),_0x2b3a13),_0x3cf906['on'](_0x7878a5(0x198),_0x2fbbe8),_0x3cf906['on'](_0x7878a5(0x298),_0x9ce9d5),_0x2f503e['onerror']=_0x2f99c2,_0x562057[_0x7878a5(0x33e)]&&_0x562057[_0x7878a5(0x33e)](0x0),_0x562057[_0x7878a5(0x2f7)]&&_0x562057['setNoDelay'](),_0x363212[_0x7878a5(0x241)]>0x0&&_0x562057[_0x7878a5(0x1fd)](_0x363212),_0x562057['on']('close',_0x544105),_0x562057['on'](_0x7878a5(0x227),_0x901af6),_0x562057['on'](_0x7878a5(0x2f1),_0x5f3ebe),_0x562057['on'](_0x7878a5(0x2da),_0x4233b9),this[_0x7878a5(0x187)]=_0x4dd281[_0x7878a5(0x27d)],this[_0x7878a5(0x233)](_0x7878a5(0x1cb));}[_0x4e9ab1(0x237)](){const _0x38acd3=_0x4e9ab1;if(!this[_0x38acd3(0x1a7)]){this[_0x38acd3(0x187)]=_0x4dd281[_0x38acd3(0x2d7)],this[_0x38acd3(0x233)](_0x38acd3(0x247),this[_0x38acd3(0x1c3)],this[_0x38acd3(0x22d)]);return;}this['_extensions'][_0x3a8e17[_0x38acd3(0x23b)]]&&this['_extensions'][_0x3a8e17[_0x38acd3(0x23b)]]['cleanup'](),this['_receiver'][_0x38acd3(0x2e6)](),this[_0x38acd3(0x187)]=_0x4dd281[_0x38acd3(0x2d7)],this[_0x38acd3(0x233)](_0x38acd3(0x247),this[_0x38acd3(0x1c3)],this[_0x38acd3(0x22d)]);}[_0x4e9ab1(0x247)](_0x2bf9b2,_0x201594){const _0x27f390=_0x4e9ab1;if(this['readyState']!==_0x4dd281[_0x27f390(0x2d7)]){if(this[_0x27f390(0x335)]===_0x4dd281[_0x27f390(0x218)]){_0x3cee38(this,this[_0x27f390(0x2eb)],_0x27f390(0x331));return;}if(this[_0x27f390(0x335)]===_0x4dd281['CLOSING']){this['_closeFrameSent']&&(this[_0x27f390(0x301)]||this[_0x27f390(0x279)][_0x27f390(0x26b)][_0x27f390(0x2b0)])&&this[_0x27f390(0x1a7)][_0x27f390(0x2f1)]();return;}this[_0x27f390(0x187)]=_0x4dd281[_0x27f390(0x27e)],this['_sender'][_0x27f390(0x247)](_0x2bf9b2,_0x201594,!this[_0x27f390(0x208)],_0x31cb0b=>{const _0x42e043=_0x27f390;_0x31cb0b||(this[_0x42e043(0x204)]=!0x0,(this[_0x42e043(0x301)]||this[_0x42e043(0x279)][_0x42e043(0x26b)][_0x42e043(0x2b0)])&&this[_0x42e043(0x1a7)][_0x42e043(0x2f1)]());}),_0x26e1b3(this);}}[_0x4e9ab1(0x2d2)](){const _0xfcc362=_0x4e9ab1;this[_0xfcc362(0x335)]===_0x4dd281['CONNECTING']||this[_0xfcc362(0x335)]===_0x4dd281[_0xfcc362(0x2d7)]||(this['_paused']=!0x0,this[_0xfcc362(0x1a7)][_0xfcc362(0x2d2)]());}[_0x4e9ab1(0x198)](_0x562274,_0x5ac541,_0x530e5b){const _0x171a6c=_0x4e9ab1;if(this[_0x171a6c(0x335)]===_0x4dd281[_0x171a6c(0x218)])throw new Error(_0x171a6c(0x1f9));if(typeof _0x562274==_0x171a6c(0x217)?(_0x530e5b=_0x562274,_0x562274=_0x5ac541=void 0x0):typeof _0x5ac541==_0x171a6c(0x217)&&(_0x530e5b=_0x5ac541,_0x5ac541=void 0x0),typeof _0x562274==_0x171a6c(0x2e5)&&(_0x562274=_0x562274['toString']()),this[_0x171a6c(0x335)]!==_0x4dd281[_0x171a6c(0x27d)]){_0x11b775(this,_0x562274,_0x530e5b);return;}_0x5ac541===void 0x0&&(_0x5ac541=!this[_0x171a6c(0x208)]),this['_sender']['ping'](_0x562274||_0x161357,_0x5ac541,_0x530e5b);}['pong'](_0x871fb1,_0x5331d7,_0x267bc4){const _0x4b6494=_0x4e9ab1;if(this[_0x4b6494(0x335)]===_0x4dd281[_0x4b6494(0x218)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x871fb1=='function'?(_0x267bc4=_0x871fb1,_0x871fb1=_0x5331d7=void 0x0):typeof _0x5331d7==_0x4b6494(0x217)&&(_0x267bc4=_0x5331d7,_0x5331d7=void 0x0),typeof _0x871fb1==_0x4b6494(0x2e5)&&(_0x871fb1=_0x871fb1['toString']()),this[_0x4b6494(0x335)]!==_0x4dd281['OPEN']){_0x11b775(this,_0x871fb1,_0x267bc4);return;}_0x5331d7===void 0x0&&(_0x5331d7=!this[_0x4b6494(0x208)]),this[_0x4b6494(0x22b)][_0x4b6494(0x298)](_0x871fb1||_0x161357,_0x5331d7,_0x267bc4);}[_0x4e9ab1(0x255)](){const _0x362201=_0x4e9ab1;this['readyState']===_0x4dd281['CONNECTING']||this[_0x362201(0x335)]===_0x4dd281[_0x362201(0x2d7)]||(this[_0x362201(0x26e)]=!0x1,this[_0x362201(0x279)][_0x362201(0x26b)][_0x362201(0x1e5)]||this[_0x362201(0x1a7)]['resume']());}[_0x4e9ab1(0x329)](_0x390d45,_0xb0ca99,_0x26bd91){const _0x3edf1d=_0x4e9ab1;if(this[_0x3edf1d(0x335)]===_0x4dd281['CONNECTING'])throw new Error(_0x3edf1d(0x1f9));if(typeof _0xb0ca99==_0x3edf1d(0x217)&&(_0x26bd91=_0xb0ca99,_0xb0ca99={}),typeof _0x390d45==_0x3edf1d(0x2e5)&&(_0x390d45=_0x390d45[_0x3edf1d(0x261)]()),this[_0x3edf1d(0x335)]!==_0x4dd281[_0x3edf1d(0x27d)]){_0x11b775(this,_0x390d45,_0x26bd91);return;}const _0x3c7d6a={'binary':typeof _0x390d45!=_0x3edf1d(0x1e7),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0xb0ca99};this[_0x3edf1d(0x200)][_0x3a8e17[_0x3edf1d(0x23b)]]||(_0x3c7d6a[_0x3edf1d(0x2ae)]=!0x1),this[_0x3edf1d(0x22b)]['send'](_0x390d45||_0x161357,_0x3c7d6a,_0x26bd91);}['terminate'](){const _0x519076=_0x4e9ab1;if(this[_0x519076(0x335)]!==_0x4dd281['CLOSED']){if(this[_0x519076(0x335)]===_0x4dd281[_0x519076(0x218)]){_0x3cee38(this,this[_0x519076(0x2eb)],_0x519076(0x331));return;}this[_0x519076(0x1a7)]&&(this['_readyState']=_0x4dd281[_0x519076(0x27e)],this['_socket']['destroy']());}}}Object[_0x4e9ab1(0x2a5)](_0x4dd281,_0x4e9ab1(0x218),{'enumerable':!0x0,'value':_0x295534['indexOf'](_0x4e9ab1(0x218))}),Object[_0x4e9ab1(0x2a5)](_0x4dd281['prototype'],_0x4e9ab1(0x218),{'enumerable':!0x0,'value':_0x295534[_0x4e9ab1(0x274)](_0x4e9ab1(0x218))}),Object['defineProperty'](_0x4dd281,_0x4e9ab1(0x27d),{'enumerable':!0x0,'value':_0x295534['indexOf'](_0x4e9ab1(0x27d))}),Object[_0x4e9ab1(0x2a5)](_0x4dd281[_0x4e9ab1(0x1cd)],_0x4e9ab1(0x27d),{'enumerable':!0x0,'value':_0x295534['indexOf']('OPEN')}),Object[_0x4e9ab1(0x2a5)](_0x4dd281,_0x4e9ab1(0x27e),{'enumerable':!0x0,'value':_0x295534[_0x4e9ab1(0x274)](_0x4e9ab1(0x27e))}),Object[_0x4e9ab1(0x2a5)](_0x4dd281[_0x4e9ab1(0x1cd)],_0x4e9ab1(0x27e),{'enumerable':!0x0,'value':_0x295534[_0x4e9ab1(0x274)](_0x4e9ab1(0x27e))}),Object[_0x4e9ab1(0x2a5)](_0x4dd281,'CLOSED',{'enumerable':!0x0,'value':_0x295534['indexOf']('CLOSED')}),Object[_0x4e9ab1(0x2a5)](_0x4dd281[_0x4e9ab1(0x1cd)],_0x4e9ab1(0x2d7),{'enumerable':!0x0,'value':_0x295534[_0x4e9ab1(0x274)]('CLOSED')}),[_0x4e9ab1(0x2e7),_0x4e9ab1(0x17f),_0x4e9ab1(0x1d6),'isPaused',_0x4e9ab1(0x2a2),_0x4e9ab1(0x335),_0x4e9ab1(0x1bc)][_0x4e9ab1(0x19a)](_0x5a37d3=>{const _0x59e059=_0x4e9ab1;Object['defineProperty'](_0x4dd281[_0x59e059(0x1cd)],_0x5a37d3,{'enumerable':!0x0});}),[_0x4e9ab1(0x1cb),_0x4e9ab1(0x2da),_0x4e9ab1(0x247),_0x4e9ab1(0x22e)][_0x4e9ab1(0x19a)](_0x2184bc=>{const _0xb60be1=_0x4e9ab1;Object[_0xb60be1(0x2a5)](_0x4dd281[_0xb60be1(0x1cd)],'on'+_0x2184bc,{'enumerable':!0x0,'get'(){for(const _0x587fc5 of this['listeners'](_0x2184bc))if(_0x587fc5[_0x412138])return _0x587fc5[_0x500b24];return null;},'set'(_0xf32236){const _0xf29126=_0xb60be1;for(const _0x4c31fd of this[_0xf29126(0x24e)](_0x2184bc))if(_0x4c31fd[_0x412138]){this[_0xf29126(0x31b)](_0x2184bc,_0x4c31fd);break;}typeof _0xf32236=='function'&&this['addEventListener'](_0x2184bc,_0xf32236,{[_0x412138]:!0x0});}});}),_0x4dd281[_0x4e9ab1(0x1cd)][_0x4e9ab1(0x185)]=_0x56c8fc,_0x4dd281[_0x4e9ab1(0x1cd)]['removeEventListener']=_0x57e3cd,we=_0x4dd281;function _0xdb4362(_0x8c142b,_0x513da2,_0x170cba,_0x14de74){const _0x3b97f4=_0x4e9ab1,_0x3627cc={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x24bba5[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x14de74,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x8c142b[_0x3b97f4(0x309)]=_0x3627cc['autoPong'],!_0x24bba5[_0x3b97f4(0x23c)](_0x3627cc['protocolVersion']))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x3627cc[_0x3b97f4(0x287)]+'\x20(supported\x20versions:\x20'+_0x24bba5[_0x3b97f4(0x1f5)](',\x20')+')');let _0x52114f;if(_0x513da2 instanceof _0x27fd43)_0x52114f=_0x513da2;else try{_0x52114f=new _0x27fd43(_0x513da2);}catch{throw new SyntaxError(_0x3b97f4(0x30b)+_0x513da2);}_0x52114f[_0x3b97f4(0x2a2)]==='http:'?_0x52114f[_0x3b97f4(0x2a2)]='ws:':_0x52114f[_0x3b97f4(0x2a2)]===_0x3b97f4(0x246)&&(_0x52114f[_0x3b97f4(0x2a2)]='wss:'),_0x8c142b['_url']=_0x52114f[_0x3b97f4(0x199)];const _0x25fad8=_0x52114f[_0x3b97f4(0x2a2)]===_0x3b97f4(0x305),_0x38e2d0=_0x52114f['protocol']===_0x3b97f4(0x2af);let _0x11afae;if(_0x52114f[_0x3b97f4(0x2a2)]!==_0x3b97f4(0x19d)&&!_0x25fad8&&!_0x38e2d0?_0x11afae=_0x3b97f4(0x266):_0x38e2d0&&!_0x52114f[_0x3b97f4(0x19c)]?_0x11afae=_0x3b97f4(0x1e2):_0x52114f['hash']&&(_0x11afae=_0x3b97f4(0x33d)),_0x11afae){const _0xda70dd=new SyntaxError(_0x11afae);if(_0x8c142b['_redirects']===0x0)throw _0xda70dd;_0x4a3f1a(_0x8c142b,_0xda70dd);return;}const _0x5de790=_0x25fad8?0x1bb:0x50,_0x2fc039=_0x2729df(0x10)[_0x3b97f4(0x261)]('base64'),_0x5b7aa2=_0x25fad8?_0x5457e9[_0x3b97f4(0x2f4)]:_0x3fca76[_0x3b97f4(0x2f4)],_0x47a2f5=new Set();let _0x213fd7;if(_0x3627cc['createConnection']=_0x3627cc[_0x3b97f4(0x18a)]||(_0x25fad8?_0x46393b:_0x17200c),_0x3627cc[_0x3b97f4(0x248)]=_0x3627cc[_0x3b97f4(0x248)]||_0x5de790,_0x3627cc['port']=_0x52114f[_0x3b97f4(0x1c7)]||_0x5de790,_0x3627cc[_0x3b97f4(0x2b6)]=_0x52114f['hostname'][_0x3b97f4(0x21c)]('[')?_0x52114f['hostname'][_0x3b97f4(0x290)](0x1,-0x1):_0x52114f[_0x3b97f4(0x225)],_0x3627cc['headers']={..._0x3627cc[_0x3b97f4(0x209)],'Sec-WebSocket-Version':_0x3627cc[_0x3b97f4(0x287)],'Sec-WebSocket-Key':_0x2fc039,'Connection':'Upgrade','Upgrade':_0x3b97f4(0x2be)},_0x3627cc[_0x3b97f4(0x307)]=_0x52114f[_0x3b97f4(0x19c)]+_0x52114f[_0x3b97f4(0x232)],_0x3627cc['timeout']=_0x3627cc[_0x3b97f4(0x25c)],_0x3627cc[_0x3b97f4(0x2c1)]&&(_0x213fd7=new _0x3a8e17(_0x3627cc[_0x3b97f4(0x2c1)]!==!0x0?_0x3627cc[_0x3b97f4(0x2c1)]:{},!0x1,_0x3627cc[_0x3b97f4(0x268)]),_0x3627cc['headers'][_0x3b97f4(0x216)]=_0x8653cb({[_0x3a8e17[_0x3b97f4(0x23b)]]:_0x213fd7[_0x3b97f4(0x2cc)]()})),_0x170cba[_0x3b97f4(0x241)]){for(const _0x3dc7d2 of _0x170cba){if(typeof _0x3dc7d2!=_0x3b97f4(0x1e7)||!_0x175122[_0x3b97f4(0x28c)](_0x3dc7d2)||_0x47a2f5[_0x3b97f4(0x211)](_0x3dc7d2))throw new SyntaxError(_0x3b97f4(0x2d5));_0x47a2f5[_0x3b97f4(0x1d2)](_0x3dc7d2);}_0x3627cc[_0x3b97f4(0x209)][_0x3b97f4(0x180)]=_0x170cba[_0x3b97f4(0x1f5)](',');}if(_0x3627cc[_0x3b97f4(0x188)]&&(_0x3627cc['protocolVersion']<0xd?_0x3627cc['headers'][_0x3b97f4(0x1d1)]=_0x3627cc['origin']:_0x3627cc['headers'][_0x3b97f4(0x221)]=_0x3627cc[_0x3b97f4(0x188)]),(_0x52114f[_0x3b97f4(0x1e4)]||_0x52114f[_0x3b97f4(0x32c)])&&(_0x3627cc[_0x3b97f4(0x326)]=_0x52114f[_0x3b97f4(0x1e4)]+':'+_0x52114f[_0x3b97f4(0x32c)]),_0x38e2d0){const _0x18c7cd=_0x3627cc[_0x3b97f4(0x307)]['split'](':');_0x3627cc['socketPath']=_0x18c7cd[0x0],_0x3627cc[_0x3b97f4(0x307)]=_0x18c7cd[0x1];}let _0x36b972;if(_0x3627cc[_0x3b97f4(0x1d9)]){if(_0x8c142b[_0x3b97f4(0x17e)]===0x0){_0x8c142b['_originalIpc']=_0x38e2d0,_0x8c142b[_0x3b97f4(0x2d0)]=_0x25fad8,_0x8c142b[_0x3b97f4(0x23e)]=_0x38e2d0?_0x3627cc[_0x3b97f4(0x1a8)]:_0x52114f[_0x3b97f4(0x2b6)];const _0x3e9fad=_0x14de74&&_0x14de74['headers'];if(_0x14de74={..._0x14de74,'headers':{}},_0x3e9fad){for(const [_0x26f96a,_0x3b3c04]of Object[_0x3b97f4(0x236)](_0x3e9fad))_0x14de74['headers'][_0x26f96a[_0x3b97f4(0x270)]()]=_0x3b3c04;}}else{if(_0x8c142b[_0x3b97f4(0x1f1)](_0x3b97f4(0x245))===0x0){const _0x5bb697=_0x38e2d0?_0x8c142b[_0x3b97f4(0x1a0)]?_0x3627cc['socketPath']===_0x8c142b['_originalHostOrSocketPath']:!0x1:_0x8c142b[_0x3b97f4(0x1a0)]?!0x1:_0x52114f[_0x3b97f4(0x2b6)]===_0x8c142b[_0x3b97f4(0x23e)];(!_0x5bb697||_0x8c142b[_0x3b97f4(0x2d0)]&&!_0x25fad8)&&(delete _0x3627cc['headers'][_0x3b97f4(0x285)],delete _0x3627cc[_0x3b97f4(0x209)]['cookie'],_0x5bb697||delete _0x3627cc[_0x3b97f4(0x209)][_0x3b97f4(0x2b6)],_0x3627cc['auth']=void 0x0);}}_0x3627cc[_0x3b97f4(0x326)]&&!_0x14de74['headers'][_0x3b97f4(0x285)]&&(_0x14de74[_0x3b97f4(0x209)][_0x3b97f4(0x285)]=_0x3b97f4(0x226)+Buffer[_0x3b97f4(0x1d4)](_0x3627cc['auth'])['toString'](_0x3b97f4(0x2a9))),_0x36b972=_0x8c142b[_0x3b97f4(0x2eb)]=_0x5b7aa2(_0x3627cc),_0x8c142b[_0x3b97f4(0x17e)]&&_0x8c142b[_0x3b97f4(0x233)]('redirect',_0x8c142b[_0x3b97f4(0x1bc)],_0x36b972);}else _0x36b972=_0x8c142b[_0x3b97f4(0x2eb)]=_0x5b7aa2(_0x3627cc);_0x3627cc[_0x3b97f4(0x1e8)]&&_0x36b972['on'](_0x3b97f4(0x1e8),()=>{const _0x17bbc7=_0x3b97f4;_0x3cee38(_0x8c142b,_0x36b972,_0x17bbc7(0x318));}),_0x36b972['on'](_0x3b97f4(0x2da),_0x4acf8c=>{_0x36b972===null||_0x36b972[_0x302400]||(_0x36b972=_0x8c142b['_req']=null,_0x4a3f1a(_0x8c142b,_0x4acf8c));}),_0x36b972['on'](_0x3b97f4(0x196),_0x409dac=>{const _0x5857d0=_0x3b97f4,_0x48f837=_0x409dac[_0x5857d0(0x209)][_0x5857d0(0x1ef)],_0x550698=_0x409dac[_0x5857d0(0x269)];if(_0x48f837&&_0x3627cc['followRedirects']&&_0x550698>=0x12c&&_0x550698<0x190){if(++_0x8c142b[_0x5857d0(0x17e)]>_0x3627cc[_0x5857d0(0x1a2)]){_0x3cee38(_0x8c142b,_0x36b972,'Maximum\x20redirects\x20exceeded');return;}_0x36b972[_0x5857d0(0x1f2)]();let _0x3facbf;try{_0x3facbf=new _0x27fd43(_0x48f837,_0x513da2);}catch{const _0x15d141=new SyntaxError(_0x5857d0(0x30b)+_0x48f837);_0x4a3f1a(_0x8c142b,_0x15d141);return;}_0xdb4362(_0x8c142b,_0x3facbf,_0x170cba,_0x14de74);}else _0x8c142b[_0x5857d0(0x233)](_0x5857d0(0x1d3),_0x36b972,_0x409dac)||_0x3cee38(_0x8c142b,_0x36b972,_0x5857d0(0x18f)+_0x409dac[_0x5857d0(0x269)]);}),_0x36b972['on']('upgrade',(_0xc27f07,_0x3c1aeb,_0x6f4620)=>{const _0x23395a=_0x3b97f4;if(_0x8c142b[_0x23395a(0x233)]('upgrade',_0xc27f07),_0x8c142b[_0x23395a(0x335)]!==_0x4dd281[_0x23395a(0x218)])return;_0x36b972=_0x8c142b[_0x23395a(0x2eb)]=null;const _0x2bc9e8=_0xc27f07[_0x23395a(0x209)]['upgrade'];if(_0x2bc9e8===void 0x0||_0x2bc9e8[_0x23395a(0x270)]()!==_0x23395a(0x2be)){_0x3cee38(_0x8c142b,_0x3c1aeb,'Invalid\x20Upgrade\x20header');return;}const _0xad2a22=_0x1031a2(_0x23395a(0x26f))[_0x23395a(0x339)](_0x2fc039+_0x4ba982)[_0x23395a(0x29a)]('base64');if(_0xc27f07[_0x23395a(0x209)]['sec-websocket-accept']!==_0xad2a22){_0x3cee38(_0x8c142b,_0x3c1aeb,_0x23395a(0x197));return;}const _0x1d65d9=_0xc27f07[_0x23395a(0x209)][_0x23395a(0x2fb)];let _0x4892eb;if(_0x1d65d9!==void 0x0?_0x47a2f5[_0x23395a(0x1f4)]?_0x47a2f5[_0x23395a(0x211)](_0x1d65d9)||(_0x4892eb='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x4892eb=_0x23395a(0x313):_0x47a2f5[_0x23395a(0x1f4)]&&(_0x4892eb='Server\x20sent\x20no\x20subprotocol'),_0x4892eb){_0x3cee38(_0x8c142b,_0x3c1aeb,_0x4892eb);return;}_0x1d65d9&&(_0x8c142b[_0x23395a(0x293)]=_0x1d65d9);const _0x5e0864=_0xc27f07['headers'][_0x23395a(0x1b5)];if(_0x5e0864!==void 0x0){if(!_0x213fd7){_0x3cee38(_0x8c142b,_0x3c1aeb,_0x23395a(0x2b5));return;}let _0xec243a;try{_0xec243a=_0x203032(_0x5e0864);}catch{_0x3cee38(_0x8c142b,_0x3c1aeb,_0x23395a(0x343));return;}const _0x35b6ec=Object[_0x23395a(0x258)](_0xec243a);if(_0x35b6ec[_0x23395a(0x241)]!==0x1||_0x35b6ec[0x0]!==_0x3a8e17[_0x23395a(0x23b)]){_0x3cee38(_0x8c142b,_0x3c1aeb,_0x23395a(0x2ba));return;}try{_0x213fd7[_0x23395a(0x1b7)](_0xec243a[_0x3a8e17['extensionName']]);}catch{_0x3cee38(_0x8c142b,_0x3c1aeb,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x8c142b['_extensions'][_0x3a8e17[_0x23395a(0x23b)]]=_0x213fd7;}_0x8c142b[_0x23395a(0x205)](_0x3c1aeb,_0x6f4620,{'allowSynchronousEvents':_0x3627cc[_0x23395a(0x303)],'generateMask':_0x3627cc[_0x23395a(0x186)],'maxPayload':_0x3627cc[_0x23395a(0x268)],'skipUTF8Validation':_0x3627cc[_0x23395a(0x2cd)]});}),_0x3627cc[_0x3b97f4(0x1ee)]?_0x3627cc['finishRequest'](_0x36b972,_0x8c142b):_0x36b972['end']();}function _0x4a3f1a(_0x2bdbeb,_0x4b703b){const _0x499405=_0x4e9ab1;_0x2bdbeb['_readyState']=_0x4dd281[_0x499405(0x27e)],_0x2bdbeb[_0x499405(0x1a3)]=!0x0,_0x2bdbeb[_0x499405(0x233)](_0x499405(0x2da),_0x4b703b),_0x2bdbeb[_0x499405(0x237)]();}function _0x17200c(_0x197112){const _0x16e826=_0x4e9ab1;return _0x197112[_0x16e826(0x307)]=_0x197112[_0x16e826(0x1a8)],_0x3645bf[_0x16e826(0x304)](_0x197112);}function _0x46393b(_0x4a6c55){const _0x1079bf=_0x4e9ab1;return _0x4a6c55[_0x1079bf(0x307)]=void 0x0,!_0x4a6c55[_0x1079bf(0x23f)]&&_0x4a6c55[_0x1079bf(0x23f)]!==''&&(_0x4a6c55['servername']=_0x3645bf[_0x1079bf(0x2c2)](_0x4a6c55['host'])?'':_0x4a6c55['host']),_0x5033aa['connect'](_0x4a6c55);}function _0x3cee38(_0x5195f7,_0x32f98e,_0x4b7b34){const _0x293fa1=_0x4e9ab1;_0x5195f7[_0x293fa1(0x187)]=_0x4dd281['CLOSING'];const _0x552dec=new Error(_0x4b7b34);Error[_0x293fa1(0x1c5)](_0x552dec,_0x3cee38),_0x32f98e[_0x293fa1(0x2bf)]?(_0x32f98e[_0x302400]=!0x0,_0x32f98e[_0x293fa1(0x1f2)](),_0x32f98e[_0x293fa1(0x192)]&&!_0x32f98e[_0x293fa1(0x192)]['destroyed']&&_0x32f98e[_0x293fa1(0x192)][_0x293fa1(0x286)](),process[_0x293fa1(0x1a1)](_0x4a3f1a,_0x5195f7,_0x552dec)):(_0x32f98e[_0x293fa1(0x286)](_0x552dec),_0x32f98e[_0x293fa1(0x276)](_0x293fa1(0x2da),_0x5195f7['emit'][_0x293fa1(0x1cc)](_0x5195f7,_0x293fa1(0x2da))),_0x32f98e[_0x293fa1(0x276)](_0x293fa1(0x247),_0x5195f7[_0x293fa1(0x237)][_0x293fa1(0x1cc)](_0x5195f7)));}function _0x11b775(_0x17b5b6,_0x5f3858,_0x6e008b){const _0x170f07=_0x4e9ab1;if(_0x5f3858){const _0x2e4e84=_0x28e239(_0x5f3858)?_0x5f3858['size']:_0x241dbd(_0x5f3858)['length'];_0x17b5b6[_0x170f07(0x1a7)]?_0x17b5b6[_0x170f07(0x22b)][_0x170f07(0x1ad)]+=_0x2e4e84:_0x17b5b6['_bufferedAmount']+=_0x2e4e84;}if(_0x6e008b){const _0x2dceaa=new Error(_0x170f07(0x1a5)+_0x17b5b6[_0x170f07(0x335)]+'\x20('+_0x295534[_0x17b5b6[_0x170f07(0x335)]]+')');process[_0x170f07(0x1a1)](_0x6e008b,_0x2dceaa);}}function _0x49c213(_0x3fcdac,_0x58a31e){const _0x68fc1f=_0x4e9ab1,_0x709149=this[_0x39b5ff];_0x709149['_closeFrameReceived']=!0x0,_0x709149[_0x68fc1f(0x22d)]=_0x58a31e,_0x709149[_0x68fc1f(0x1c3)]=_0x3fcdac,_0x709149[_0x68fc1f(0x1a7)][_0x39b5ff]!==void 0x0&&(_0x709149['_socket'][_0x68fc1f(0x31b)](_0x68fc1f(0x227),_0x901af6),process[_0x68fc1f(0x1a1)](_0x209fd8,_0x709149['_socket']),_0x3fcdac===0x3ed?_0x709149['close']():_0x709149[_0x68fc1f(0x247)](_0x3fcdac,_0x58a31e));}function _0x36ce47(){const _0x2aa3bf=_0x4e9ab1,_0x10db83=this[_0x39b5ff];_0x10db83[_0x2aa3bf(0x2de)]||_0x10db83[_0x2aa3bf(0x1a7)][_0x2aa3bf(0x255)]();}function _0x3755e8(_0x95cf56){const _0x31acff=_0x4e9ab1,_0x4b5338=this[_0x39b5ff];_0x4b5338[_0x31acff(0x1a7)][_0x39b5ff]!==void 0x0&&(_0x4b5338[_0x31acff(0x1a7)]['removeListener'](_0x31acff(0x227),_0x901af6),process['nextTick'](_0x209fd8,_0x4b5338['_socket']),_0x4b5338['close'](_0x95cf56[_0x303d27])),_0x4b5338['_errorEmitted']||(_0x4b5338['_errorEmitted']=!0x0,_0x4b5338['emit'](_0x31acff(0x2da),_0x95cf56));}function _0x132e50(){const _0x5e2267=_0x4e9ab1;this[_0x39b5ff][_0x5e2267(0x237)]();}function _0x2b3a13(_0xdeb1c8,_0x32f318){const _0x481e6d=_0x4e9ab1;this[_0x39b5ff][_0x481e6d(0x233)]('message',_0xdeb1c8,_0x32f318);}function _0x2fbbe8(_0x4fda07){const _0x1d37e9=_0x4e9ab1,_0xd2b41e=this[_0x39b5ff];_0xd2b41e[_0x1d37e9(0x309)]&&_0xd2b41e[_0x1d37e9(0x298)](_0x4fda07,!this[_0x1d37e9(0x208)],_0x16e778),_0xd2b41e['emit'](_0x1d37e9(0x198),_0x4fda07);}function _0x9ce9d5(_0x53cac4){const _0x5c14f9=_0x4e9ab1;this[_0x39b5ff][_0x5c14f9(0x233)](_0x5c14f9(0x298),_0x53cac4);}function _0x209fd8(_0x84aa51){_0x84aa51['resume']();}function _0x2f99c2(_0xeb1c02){const _0x301cea=_0x4e9ab1,_0x253893=this[_0x39b5ff];_0x253893['readyState']!==_0x4dd281[_0x301cea(0x2d7)]&&(_0x253893[_0x301cea(0x335)]===_0x4dd281[_0x301cea(0x27d)]&&(_0x253893['_readyState']=_0x4dd281[_0x301cea(0x27e)],_0x26e1b3(_0x253893)),this[_0x301cea(0x1a7)][_0x301cea(0x2f1)](),_0x253893[_0x301cea(0x1a3)]||(_0x253893[_0x301cea(0x1a3)]=!0x0,_0x253893[_0x301cea(0x233)](_0x301cea(0x2da),_0xeb1c02)));}function _0x26e1b3(_0x1c0424){const _0x4926e7=_0x4e9ab1;_0x1c0424[_0x4926e7(0x2d9)]=setTimeout(_0x1c0424[_0x4926e7(0x1a7)][_0x4926e7(0x286)][_0x4926e7(0x1cc)](_0x1c0424[_0x4926e7(0x1a7)]),_0x57d8b7);}function _0x544105(){const _0x500d5f=_0x4e9ab1,_0x4e2fcf=this[_0x39b5ff];this[_0x500d5f(0x31b)]('close',_0x544105),this[_0x500d5f(0x31b)](_0x500d5f(0x227),_0x901af6),this[_0x500d5f(0x31b)](_0x500d5f(0x2f1),_0x5f3ebe),_0x4e2fcf['_readyState']=_0x4dd281[_0x500d5f(0x27e)];let _0x50a870;!this[_0x500d5f(0x1ba)][_0x500d5f(0x238)]&&!_0x4e2fcf['_closeFrameReceived']&&!_0x4e2fcf['_receiver']['_writableState'][_0x500d5f(0x2b0)]&&(_0x50a870=_0x4e2fcf[_0x500d5f(0x1a7)][_0x500d5f(0x273)]())!==null&&_0x4e2fcf[_0x500d5f(0x279)][_0x500d5f(0x239)](_0x50a870),_0x4e2fcf[_0x500d5f(0x279)]['end'](),this[_0x39b5ff]=void 0x0,clearTimeout(_0x4e2fcf[_0x500d5f(0x2d9)]),_0x4e2fcf[_0x500d5f(0x279)][_0x500d5f(0x26b)]['finished']||_0x4e2fcf[_0x500d5f(0x279)][_0x500d5f(0x26b)][_0x500d5f(0x2b0)]?_0x4e2fcf[_0x500d5f(0x237)]():(_0x4e2fcf[_0x500d5f(0x279)]['on'](_0x500d5f(0x2da),_0x132e50),_0x4e2fcf[_0x500d5f(0x279)]['on'](_0x500d5f(0x2ac),_0x132e50));}function _0x901af6(_0x22f92a){const _0x5daf93=_0x4e9ab1;this[_0x39b5ff][_0x5daf93(0x279)][_0x5daf93(0x239)](_0x22f92a)||this[_0x5daf93(0x2d2)]();}function _0x5f3ebe(){const _0xf3411a=_0x4e9ab1,_0x178cc8=this[_0x39b5ff];_0x178cc8[_0xf3411a(0x187)]=_0x4dd281[_0xf3411a(0x27e)],_0x178cc8[_0xf3411a(0x279)][_0xf3411a(0x2f1)](),this[_0xf3411a(0x2f1)]();}function _0x4233b9(){const _0xc38ab6=_0x4e9ab1,_0x49ae40=this[_0x39b5ff];this['removeListener'](_0xc38ab6(0x2da),_0x4233b9),this['on'](_0xc38ab6(0x2da),_0x16e778),_0x49ae40&&(_0x49ae40[_0xc38ab6(0x187)]=_0x4dd281[_0xc38ab6(0x27e)],this[_0xc38ab6(0x286)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x24d7de}=oe;function _0x520341(_0xc39b95){const _0x3ebd9f=_0x4c6f;_0xc39b95[_0x3ebd9f(0x233)]('close');}function _0x514a4b(){const _0x23f1d5=_0x4c6f;!this[_0x23f1d5(0x243)]&&this[_0x23f1d5(0x26b)][_0x23f1d5(0x1de)]&&this[_0x23f1d5(0x286)]();}function _0x58b350(_0x28126b){const _0x51f3c5=_0x4c6f;this[_0x51f3c5(0x31b)](_0x51f3c5(0x2da),_0x58b350),this['destroy'](),this[_0x51f3c5(0x1f1)](_0x51f3c5(0x2da))===0x0&&this[_0x51f3c5(0x233)]('error',_0x28126b);}function _0x6ce975(_0x262470,_0x3a6b5d){const _0x30955f=_0x4c6f;let _0x2c51fa=!0x0;const _0xd10148=new _0x24d7de({..._0x3a6b5d,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x262470['on']('message',function(_0x1ae3a8,_0x3fa74b){const _0x103152=_0x4c6f,_0x3a6b8b=!_0x3fa74b&&_0xd10148[_0x103152(0x1ba)][_0x103152(0x215)]?_0x1ae3a8[_0x103152(0x261)]():_0x1ae3a8;_0xd10148[_0x103152(0x21a)](_0x3a6b8b)||_0x262470['pause']();}),_0x262470[_0x30955f(0x276)]('error',function(_0x4f7a7d){const _0xfcdc30=_0x30955f;_0xd10148[_0xfcdc30(0x243)]||(_0x2c51fa=!0x1,_0xd10148[_0xfcdc30(0x286)](_0x4f7a7d));}),_0x262470[_0x30955f(0x276)]('close',function(){const _0x81f19e=_0x30955f;_0xd10148[_0x81f19e(0x243)]||_0xd10148['push'](null);}),_0xd10148['_destroy']=function(_0x4842d9,_0x26ec9f){const _0x3deb55=_0x30955f;if(_0x262470['readyState']===_0x262470['CLOSED']){_0x26ec9f(_0x4842d9),process[_0x3deb55(0x1a1)](_0x520341,_0xd10148);return;}let _0x1b0dc5=!0x1;_0x262470[_0x3deb55(0x276)](_0x3deb55(0x2da),function(_0x51577c){_0x1b0dc5=!0x0,_0x26ec9f(_0x51577c);}),_0x262470[_0x3deb55(0x276)](_0x3deb55(0x247),function(){const _0x437138=_0x3deb55;_0x1b0dc5||_0x26ec9f(_0x4842d9),process[_0x437138(0x1a1)](_0x520341,_0xd10148);}),_0x2c51fa&&_0x262470[_0x3deb55(0x1df)]();},_0xd10148[_0x30955f(0x1f3)]=function(_0x4de163){const _0x575486=_0x30955f;if(_0x262470[_0x575486(0x335)]===_0x262470[_0x575486(0x218)]){_0x262470['once'](_0x575486(0x1cb),function(){_0xd10148['_final'](_0x4de163);});return;}_0x262470[_0x575486(0x1a7)]!==null&&(_0x262470[_0x575486(0x1a7)][_0x575486(0x26b)][_0x575486(0x1de)]?(_0x4de163(),_0xd10148[_0x575486(0x1ba)][_0x575486(0x238)]&&_0xd10148[_0x575486(0x286)]()):(_0x262470[_0x575486(0x1a7)][_0x575486(0x276)](_0x575486(0x2ac),function(){_0x4de163();}),_0x262470[_0x575486(0x247)]()));},_0xd10148[_0x30955f(0x1f8)]=function(){const _0x547be6=_0x30955f;_0x262470[_0x547be6(0x2de)]&&_0x262470[_0x547be6(0x255)]();},_0xd10148[_0x30955f(0x235)]=function(_0x13bf04,_0x26c697,_0x7317bd){const _0x266484=_0x30955f;if(_0x262470[_0x266484(0x335)]===_0x262470[_0x266484(0x218)]){_0x262470['once'](_0x266484(0x1cb),function(){const _0x1a758f=_0x266484;_0xd10148[_0x1a758f(0x235)](_0x13bf04,_0x26c697,_0x7317bd);});return;}_0x262470[_0x266484(0x329)](_0x13bf04,_0x7317bd);},_0xd10148['on']('end',_0x514a4b),_0xd10148['on'](_0x30955f(0x2da),_0x58b350),_0xd10148;}return Oe=_0x6ce975,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x5ab3bb}=ae();function _0x3a6961(_0x24ee59){const _0x3349b7=_0x4c6f,_0x466fa0=new Set();let _0x2c3c8a=-0x1,_0x136625=-0x1,_0x4acd56=0x0;for(_0x4acd56;_0x4acd56<_0x24ee59[_0x3349b7(0x241)];_0x4acd56++){const _0x4f278e=_0x24ee59[_0x3349b7(0x327)](_0x4acd56);if(_0x136625===-0x1&&_0x5ab3bb[_0x4f278e]===0x1)_0x2c3c8a===-0x1&&(_0x2c3c8a=_0x4acd56);else{if(_0x4acd56!==0x0&&(_0x4f278e===0x20||_0x4f278e===0x9))_0x136625===-0x1&&_0x2c3c8a!==-0x1&&(_0x136625=_0x4acd56);else{if(_0x4f278e===0x2c){if(_0x2c3c8a===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4acd56);_0x136625===-0x1&&(_0x136625=_0x4acd56);const _0x3a8666=_0x24ee59[_0x3349b7(0x290)](_0x2c3c8a,_0x136625);if(_0x466fa0[_0x3349b7(0x211)](_0x3a8666))throw new SyntaxError(_0x3349b7(0x2bc)+_0x3a8666+'\x22\x20subprotocol\x20is\x20duplicated');_0x466fa0[_0x3349b7(0x1d2)](_0x3a8666),_0x2c3c8a=_0x136625=-0x1;}else throw new SyntaxError(_0x3349b7(0x22f)+_0x4acd56);}}}if(_0x2c3c8a===-0x1||_0x136625!==-0x1)throw new SyntaxError(_0x3349b7(0x184));const _0x303c79=_0x24ee59[_0x3349b7(0x290)](_0x2c3c8a,_0x4acd56);if(_0x466fa0[_0x3349b7(0x211)](_0x303c79))throw new SyntaxError(_0x3349b7(0x2bc)+_0x303c79+'\x22\x20subprotocol\x20is\x20duplicated');return _0x466fa0[_0x3349b7(0x1d2)](_0x303c79),_0x466fa0;}return Ce={'parse':_0x3a6961},Ce;}var Te,rt;function Ft(){const _0xbccbe6=_0xca584b;if(rt)return Te;rt=0x1;const _0x4dddc=nt,_0x3d1de2=ot,{Duplex:_0x4ebb33}=oe,{createHash:_0x4af25f}=Le,_0x5f4c54=ct(),_0x2f3840=he(),_0x16f94d=At(),_0x10012e=Pe(),{GUID:_0xf26d7e,kWebSocket:_0x45b2ef}=H(),_0x49193e=/^[+/0-9A-Za-z]{22}==$/,_0x423ef4=0x0,_0x1dc5b4=0x1,_0x4a64c1=0x2;class _0x4cc452 extends _0x4dddc{constructor(_0x3d4083,_0x309301){const _0xf484fd=_0x4c6f;if(super(),_0x3d4083={'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':_0x10012e,..._0x3d4083},_0x3d4083['port']==null&&!_0x3d4083['server']&&!_0x3d4083[_0xf484fd(0x25d)]||_0x3d4083[_0xf484fd(0x1c7)]!=null&&(_0x3d4083[_0xf484fd(0x2c6)]||_0x3d4083['noServer'])||_0x3d4083[_0xf484fd(0x2c6)]&&_0x3d4083['noServer'])throw new TypeError(_0xf484fd(0x308));if(_0x3d4083[_0xf484fd(0x1c7)]!=null?(this[_0xf484fd(0x30a)]=_0x3d1de2[_0xf484fd(0x2e4)]((_0x281143,_0x440751)=>{const _0x1abdb5=_0xf484fd,_0x212097=_0x3d1de2[_0x1abdb5(0x1b9)][0x1aa];_0x440751[_0x1abdb5(0x2ce)](0x1aa,{'Content-Length':_0x212097[_0x1abdb5(0x241)],'Content-Type':_0x1abdb5(0x284)}),_0x440751[_0x1abdb5(0x2f1)](_0x212097);}),this[_0xf484fd(0x30a)][_0xf484fd(0x20a)](_0x3d4083[_0xf484fd(0x1c7)],_0x3d4083[_0xf484fd(0x2b6)],_0x3d4083[_0xf484fd(0x24a)],_0x309301)):_0x3d4083[_0xf484fd(0x2c6)]&&(this[_0xf484fd(0x30a)]=_0x3d4083[_0xf484fd(0x2c6)]),this['_server']){const _0x4c9bec=this[_0xf484fd(0x233)][_0xf484fd(0x1cc)](this,'connection');this[_0xf484fd(0x2ec)]=_0x41ef25(this['_server'],{'listening':this[_0xf484fd(0x233)][_0xf484fd(0x1cc)](this,_0xf484fd(0x21b)),'error':this[_0xf484fd(0x233)]['bind'](this,_0xf484fd(0x2da)),'upgrade':(_0xac34c0,_0x9d360a,_0x1d546e)=>{const _0x410dc6=_0xf484fd;this[_0x410dc6(0x1d7)](_0xac34c0,_0x9d360a,_0x1d546e,_0x4c9bec);}});}_0x3d4083[_0xf484fd(0x2c1)]===!0x0&&(_0x3d4083[_0xf484fd(0x2c1)]={}),_0x3d4083[_0xf484fd(0x291)]&&(this[_0xf484fd(0x2ab)]=new Set(),this[_0xf484fd(0x2e8)]=!0x1),this['options']=_0x3d4083,this[_0xf484fd(0x242)]=_0x423ef4;}[_0xbccbe6(0x288)](){const _0x2a45df=_0xbccbe6;if(this['options'][_0x2a45df(0x25d)])throw new Error(_0x2a45df(0x1db));return this['_server']?this[_0x2a45df(0x30a)]['address']():null;}[_0xbccbe6(0x247)](_0x141e30){const _0x31d3ef=_0xbccbe6;if(this[_0x31d3ef(0x242)]===_0x4a64c1){_0x141e30&&this['once'](_0x31d3ef(0x247),()=>{_0x141e30(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x31d3ef(0x1a1)](_0x3d8d47,this);return;}if(_0x141e30&&this['once'](_0x31d3ef(0x247),_0x141e30),this[_0x31d3ef(0x242)]!==_0x1dc5b4){if(this[_0x31d3ef(0x242)]=_0x1dc5b4,this['options'][_0x31d3ef(0x25d)]||this['options'][_0x31d3ef(0x2c6)])this[_0x31d3ef(0x30a)]&&(this[_0x31d3ef(0x2ec)](),this[_0x31d3ef(0x2ec)]=this['_server']=null),this[_0x31d3ef(0x2ab)]?this[_0x31d3ef(0x2ab)][_0x31d3ef(0x1f4)]?this['_shouldEmitClose']=!0x0:process[_0x31d3ef(0x1a1)](_0x3d8d47,this):process[_0x31d3ef(0x1a1)](_0x3d8d47,this);else{const _0x6282e1=this[_0x31d3ef(0x30a)];this[_0x31d3ef(0x2ec)](),this['_removeListeners']=this[_0x31d3ef(0x30a)]=null,_0x6282e1[_0x31d3ef(0x247)](()=>{_0x3d8d47(this);});}}}[_0xbccbe6(0x302)](_0x39599d){const _0x1be8ce=_0xbccbe6;if(this[_0x1be8ce(0x1b2)][_0x1be8ce(0x307)]){const _0x4afe79=_0x39599d[_0x1be8ce(0x1bc)][_0x1be8ce(0x274)]('?');if((_0x4afe79!==-0x1?_0x39599d[_0x1be8ce(0x1bc)]['slice'](0x0,_0x4afe79):_0x39599d['url'])!==this[_0x1be8ce(0x1b2)][_0x1be8ce(0x307)])return!0x1;}return!0x0;}[_0xbccbe6(0x1d7)](_0x4e4d02,_0x43903a,_0x38694f,_0x1a9cc1){const _0x353776=_0xbccbe6;_0x43903a['on'](_0x353776(0x2da),_0x51f7d4);const _0x1c3d78=_0x4e4d02[_0x353776(0x209)][_0x353776(0x31d)],_0x46341d=_0x4e4d02['headers']['upgrade'],_0x209a90=+_0x4e4d02[_0x353776(0x209)][_0x353776(0x28d)];if(_0x4e4d02[_0x353776(0x1eb)]!==_0x353776(0x317)){_0x36ae03(this,_0x4e4d02,_0x43903a,0x195,_0x353776(0x203));return;}if(_0x46341d===void 0x0||_0x46341d[_0x353776(0x270)]()!=='websocket'){_0x36ae03(this,_0x4e4d02,_0x43903a,0x190,_0x353776(0x260));return;}if(_0x1c3d78===void 0x0||!_0x49193e[_0x353776(0x28c)](_0x1c3d78)){_0x36ae03(this,_0x4e4d02,_0x43903a,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x209a90!==0x8&&_0x209a90!==0xd){_0x36ae03(this,_0x4e4d02,_0x43903a,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this[_0x353776(0x302)](_0x4e4d02)){_0x3a2489(_0x43903a,0x190);return;}const _0x48944f=_0x4e4d02[_0x353776(0x209)]['sec-websocket-protocol'];let _0xac10f7=new Set();if(_0x48944f!==void 0x0)try{_0xac10f7=_0x16f94d[_0x353776(0x26d)](_0x48944f);}catch{_0x36ae03(this,_0x4e4d02,_0x43903a,0x190,_0x353776(0x194));return;}const _0x4399c4=_0x4e4d02[_0x353776(0x209)][_0x353776(0x1b5)],_0x29a4dd={};if(this['options'][_0x353776(0x2c1)]&&_0x4399c4!==void 0x0){const _0x4e6a23=new _0x2f3840(this[_0x353776(0x1b2)]['perMessageDeflate'],!0x0,this[_0x353776(0x1b2)]['maxPayload']);try{const _0x3ef279=_0x5f4c54[_0x353776(0x26d)](_0x4399c4);_0x3ef279[_0x2f3840[_0x353776(0x23b)]]&&(_0x4e6a23['accept'](_0x3ef279[_0x2f3840[_0x353776(0x23b)]]),_0x29a4dd[_0x2f3840[_0x353776(0x23b)]]=_0x4e6a23);}catch{_0x36ae03(this,_0x4e4d02,_0x43903a,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this['options']['verifyClient']){const _0x2977f4={'origin':_0x4e4d02[_0x353776(0x209)][''+(_0x209a90===0x8?_0x353776(0x1f6):_0x353776(0x188))],'secure':!!(_0x4e4d02[_0x353776(0x192)]['authorized']||_0x4e4d02[_0x353776(0x192)]['encrypted']),'req':_0x4e4d02};if(this[_0x353776(0x1b2)]['verifyClient'][_0x353776(0x241)]===0x2){this[_0x353776(0x1b2)][_0x353776(0x2aa)](_0x2977f4,(_0x2b500e,_0x24acf9,_0x40ca8f,_0x5b292a)=>{const _0x5d53a6=_0x353776;if(!_0x2b500e)return _0x3a2489(_0x43903a,_0x24acf9||0x191,_0x40ca8f,_0x5b292a);this[_0x5d53a6(0x1dd)](_0x29a4dd,_0x1c3d78,_0xac10f7,_0x4e4d02,_0x43903a,_0x38694f,_0x1a9cc1);});return;}if(!this[_0x353776(0x1b2)][_0x353776(0x2aa)](_0x2977f4))return _0x3a2489(_0x43903a,0x191);}this[_0x353776(0x1dd)](_0x29a4dd,_0x1c3d78,_0xac10f7,_0x4e4d02,_0x43903a,_0x38694f,_0x1a9cc1);}[_0xbccbe6(0x1dd)](_0x14ec39,_0x5112e3,_0x42c51b,_0x22917e,_0x2e49f3,_0x28f75c,_0xde4fb5){const _0x4ff35c=_0xbccbe6;if(!_0x2e49f3[_0x4ff35c(0x2b2)]||!_0x2e49f3[_0x4ff35c(0x297)])return _0x2e49f3['destroy']();if(_0x2e49f3[_0x45b2ef])throw new Error(_0x4ff35c(0x257));if(this[_0x4ff35c(0x242)]>_0x423ef4)return _0x3a2489(_0x2e49f3,0x1f7);const _0xc626ca=[_0x4ff35c(0x337),_0x4ff35c(0x31c),_0x4ff35c(0x330),_0x4ff35c(0x296)+_0x4af25f(_0x4ff35c(0x26f))[_0x4ff35c(0x339)](_0x5112e3+_0xf26d7e)[_0x4ff35c(0x29a)](_0x4ff35c(0x2a9))],_0x8f10aa=new this[(_0x4ff35c(0x1b2))]['WebSocket'](null,void 0x0,this['options']);if(_0x42c51b['size']){const _0x4f2521=this[_0x4ff35c(0x1b2)][_0x4ff35c(0x314)]?this[_0x4ff35c(0x1b2)]['handleProtocols'](_0x42c51b,_0x22917e):_0x42c51b[_0x4ff35c(0x345)]()[_0x4ff35c(0x336)]()[_0x4ff35c(0x340)];_0x4f2521&&(_0xc626ca['push'](_0x4ff35c(0x2b9)+_0x4f2521),_0x8f10aa[_0x4ff35c(0x293)]=_0x4f2521);}if(_0x14ec39[_0x2f3840[_0x4ff35c(0x23b)]]){const _0x8b8832=_0x14ec39[_0x2f3840['extensionName']]['params'],_0xc108c4=_0x5f4c54[_0x4ff35c(0x1b4)]({[_0x2f3840['extensionName']]:[_0x8b8832]});_0xc626ca[_0x4ff35c(0x21a)](_0x4ff35c(0x32a)+_0xc108c4),_0x8f10aa[_0x4ff35c(0x200)]=_0x14ec39;}this[_0x4ff35c(0x233)](_0x4ff35c(0x209),_0xc626ca,_0x22917e),_0x2e49f3[_0x4ff35c(0x239)](_0xc626ca[_0x4ff35c(0x213)]('\x0d\x0a')[_0x4ff35c(0x1f5)]('\x0d\x0a')),_0x2e49f3[_0x4ff35c(0x31b)](_0x4ff35c(0x2da),_0x51f7d4),_0x8f10aa[_0x4ff35c(0x205)](_0x2e49f3,_0x28f75c,{'allowSynchronousEvents':this[_0x4ff35c(0x1b2)][_0x4ff35c(0x303)],'maxPayload':this[_0x4ff35c(0x1b2)][_0x4ff35c(0x268)],'skipUTF8Validation':this[_0x4ff35c(0x1b2)][_0x4ff35c(0x2cd)]}),this['clients']&&(this[_0x4ff35c(0x2ab)][_0x4ff35c(0x1d2)](_0x8f10aa),_0x8f10aa['on'](_0x4ff35c(0x247),()=>{const _0x21c470=_0x4ff35c;this[_0x21c470(0x2ab)][_0x21c470(0x2a0)](_0x8f10aa),this[_0x21c470(0x2e8)]&&!this[_0x21c470(0x2ab)]['size']&&process[_0x21c470(0x1a1)](_0x3d8d47,this);})),_0xde4fb5(_0x8f10aa,_0x22917e);}}Te=_0x4cc452;function _0x41ef25(_0x2bf36f,_0x37bdd3){const _0x4fc1ff=_0xbccbe6;for(const _0x1a1bdb of Object[_0x4fc1ff(0x258)](_0x37bdd3))_0x2bf36f['on'](_0x1a1bdb,_0x37bdd3[_0x1a1bdb]);return function(){const _0x44f743=_0x4fc1ff;for(const _0x3f1077 of Object['keys'](_0x37bdd3))_0x2bf36f[_0x44f743(0x31b)](_0x3f1077,_0x37bdd3[_0x3f1077]);};}function _0x3d8d47(_0x4cc2fc){const _0x39f68b=_0xbccbe6;_0x4cc2fc[_0x39f68b(0x242)]=_0x4a64c1,_0x4cc2fc['emit']('close');}function _0x51f7d4(){const _0x44065e=_0xbccbe6;this[_0x44065e(0x286)]();}function _0x3a2489(_0x3b4d34,_0xab767,_0x219fc0,_0x3a4edc){const _0xfd84ad=_0xbccbe6;_0x219fc0=_0x219fc0||_0x3d1de2[_0xfd84ad(0x1b9)][_0xab767],_0x3a4edc={'Connection':'close','Content-Type':_0xfd84ad(0x21e),'Content-Length':Buffer[_0xfd84ad(0x30f)](_0x219fc0),..._0x3a4edc},_0x3b4d34[_0xfd84ad(0x276)]('finish',_0x3b4d34[_0xfd84ad(0x286)]),_0x3b4d34['end'](_0xfd84ad(0x315)+_0xab767+'\x20'+_0x3d1de2[_0xfd84ad(0x1b9)][_0xab767]+'\x0d\x0a'+Object['keys'](_0x3a4edc)[_0xfd84ad(0x21d)](_0x564368=>_0x564368+':\x20'+_0x3a4edc[_0x564368])['join']('\x0d\x0a')+_0xfd84ad(0x2b4)+_0x219fc0);}function _0x36ae03(_0x3145f6,_0x43b09b,_0x4a4c27,_0xb23315,_0x2e98fe){const _0x1f616b=_0xbccbe6;if(_0x3145f6[_0x1f616b(0x1f1)](_0x1f616b(0x224))){const _0x52b45a=new Error(_0x2e98fe);Error[_0x1f616b(0x1c5)](_0x52b45a,_0x36ae03),_0x3145f6[_0x1f616b(0x233)]('wsClientError',_0x52b45a,_0x4a4c27,_0x43b09b);}else _0x3a2489(_0x4a4c27,_0xb23315,_0x2e98fe);}return Te;}Ft();var jt=Object[_0xca584b(0x311)],Wt=(_0x3dd314,_0x5757a2,_0x309615,_0x4d4b17)=>{for(var _0x5e24a8=_0x4d4b17>0x1?void 0x0:_0x4d4b17?jt(_0x5757a2,_0x309615):_0x5757a2,_0x42d988=_0x3dd314['length']-0x1,_0x428ec2;_0x42d988>=0x0;_0x42d988--)(_0x428ec2=_0x3dd314[_0x42d988])&&(_0x5e24a8=_0x428ec2(_0x5e24a8)||_0x5e24a8);return _0x5e24a8;},qt=(_0x41befb,_0x4a71d3)=>(_0x62de2b,_0x5d589a)=>_0x4a71d3(_0x62de2b,_0x5d589a,_0x41befb);let ke=class extends A['Disposable']{constructor(_0x2f5a3d){const _0x316f68=_0xca584b;super(),this[_0x316f68(0x1b1)]=_0x2f5a3d;}[_0xca584b(0x2d3)](_0x47e306){const _0x30a79f=_0xca584b;var _0x379cf1;const _0x16d9a5=(_0x379cf1=this[_0x30a79f(0x1b1)][_0x30a79f(0x1e3)](fe))==null?void 0x0:_0x379cf1['customHeaders'];try{const _0x1536b2=new $t(_0x47e306,{'headers':{..._0x16d9a5}}),_0x4a9f52=new A[(_0x30a79f(0x2a1))]();return{'URL':_0x47e306,'close':(_0x581f1c,_0x21e9f9)=>{const _0x1cb43a=_0x30a79f;_0x1536b2[_0x1cb43a(0x247)](_0x581f1c,_0x21e9f9),_0x4a9f52[_0x1cb43a(0x1e0)]();},'send':_0x3c54da=>{_0x1536b2['send'](_0x3c54da);},'open$':new V[(_0x30a79f(0x33b))](_0x141f6a=>{const _0x2aa879=_0x30a79f,_0x4a6877=_0x164b80=>_0x141f6a[_0x2aa879(0x336)](_0x164b80);_0x1536b2[_0x2aa879(0x185)]('open',_0x4a6877),_0x4a9f52['add'](A[_0x2aa879(0x1b3)](()=>_0x1536b2[_0x2aa879(0x206)](_0x2aa879(0x1cb),_0x4a6877)));})['pipe'](V[_0x30a79f(0x2f6)]()),'close$':new V[(_0x30a79f(0x33b))](_0x34c75a=>{const _0x425fbb=_0x30a79f,_0x115241=_0x34672c=>_0x34c75a[_0x425fbb(0x336)](_0x34672c);_0x1536b2[_0x425fbb(0x185)](_0x425fbb(0x247),_0x115241),_0x4a9f52[_0x425fbb(0x1d2)](A[_0x425fbb(0x1b3)](()=>_0x1536b2[_0x425fbb(0x206)](_0x425fbb(0x247),_0x115241)));})[_0x30a79f(0x2e2)](V[_0x30a79f(0x2f6)]()),'error$':new V[(_0x30a79f(0x33b))](_0x32d7d3=>{const _0x373872=_0x30a79f,_0x3eb6a4=_0x54e654=>_0x32d7d3[_0x373872(0x336)](_0x54e654);_0x1536b2[_0x373872(0x185)](_0x373872(0x2da),_0x3eb6a4),_0x4a9f52[_0x373872(0x1d2)](A[_0x373872(0x1b3)](()=>_0x1536b2[_0x373872(0x206)](_0x373872(0x2da),_0x3eb6a4)));})[_0x30a79f(0x2e2)](V[_0x30a79f(0x2f6)]()),'message$':new V['Observable'](_0x58fb4f=>{const _0x1e1574=_0x30a79f,_0x37cf22=_0x238ab7=>_0x58fb4f[_0x1e1574(0x336)](_0x238ab7);_0x1536b2[_0x1e1574(0x185)]('message',_0x37cf22),_0x4a9f52[_0x1e1574(0x1d2)](A['toDisposable'](()=>_0x1536b2[_0x1e1574(0x206)](_0x1e1574(0x22e),_0x37cf22)));})[_0x30a79f(0x2e2)](V[_0x30a79f(0x2f6)]())};}catch(_0x3303fa){return console[_0x30a79f(0x2da)](_0x3303fa),null;}}};ke=Wt([qt(0x0,A[_0xca584b(0x25b)])],ke);var Gt=Object[_0xca584b(0x2a5)],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0x1ed062,_0xe2bae7,_0x23be10)=>_0xe2bae7 in _0x1ed062?Gt(_0x1ed062,_0xe2bae7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x23be10}):_0x1ed062[_0xe2bae7]=_0x23be10,zt=(_0x392acb,_0x18960c,_0x5b1a8d,_0x118514)=>{const _0xcc010a=_0xca584b;for(var _0x846276=_0x118514>0x1?void 0x0:_0x118514?Vt(_0x18960c,_0x5b1a8d):_0x18960c,_0x46d357=_0x392acb[_0xcc010a(0x241)]-0x1,_0x10f48e;_0x46d357>=0x0;_0x46d357--)(_0x10f48e=_0x392acb[_0x46d357])&&(_0x846276=_0x10f48e(_0x846276)||_0x846276);return _0x846276;},Ne=(_0x272c1b,_0x4a7aa7)=>(_0xdbc5a4,_0x5b6a86)=>_0x4a7aa7(_0xdbc5a4,_0x5b6a86,_0x272c1b),Yt=(_0x2e6f79,_0x321d99,_0x3ea307)=>Ht(_0x2e6f79,_0x321d99+'',_0x3ea307);exports['UniverCollaborationClientNodePlugin']=class extends A[_0xca584b(0x2ad)]{constructor(_0x4ba4cf=Ct,_0x9a363c,_0x255dc4,_0x422fe9){const _0x4cf800=_0xca584b;_0x4ba4cf[_0x4cf800(0x25e)]||_0x9a363c['warn']('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x4cf800(0x1b1)]=_0x255dc4,this['_injector']=_0x422fe9,this[_0x4cf800(0x1b1)]['setConfig'](fe,_0x4ba4cf);}[_0xca584b(0x18c)](){const _0x24689f=_0xca584b;this[_0x24689f(0x24b)]();}['_registerDependencies'](){const _0x5d3d9b=_0xca584b;A[_0x5d3d9b(0x1b0)](this['_injector'],[[it[_0x5d3d9b(0x263)],{'useClass':ke}]]);}},Yt(exports[_0xca584b(0x190)],_0xca584b(0x249),_0xca584b(0x1ce)),exports[_0xca584b(0x190)]=zt([A[_0xca584b(0x2f8)](st[_0xca584b(0x1e6)]),Ne(0x1,A['ILogService']),Ne(0x2,A[_0xca584b(0x25b)]),Ne(0x3,A[_0xca584b(0x2fc)](A['Injector']))],exports[_0xca584b(0x190)]);var Kt=Object['getOwnPropertyDescriptor'],Xt=(_0x566af,_0x4f033c,_0x73a81c,_0x486d6a)=>{const _0x146b2b=_0xca584b;for(var _0x5eea6a=_0x486d6a>0x1?void 0x0:_0x486d6a?Kt(_0x4f033c,_0x73a81c):_0x4f033c,_0x4659ef=_0x566af[_0x146b2b(0x241)]-0x1,_0x58ee76;_0x4659ef>=0x0;_0x4659ef--)(_0x58ee76=_0x566af[_0x4659ef])&&(_0x5eea6a=_0x58ee76(_0x5eea6a)||_0x5eea6a);return _0x5eea6a;},ne=(_0x4f2cec,_0x4b80fb)=>(_0x5c3be3,_0x5bea50)=>_0x4b80fb(_0x5c3be3,_0x5bea50,_0x4f2cec);exports[_0xca584b(0x2d4)]=class extends st[_0xca584b(0x20f)]{constructor(_0x4fb85c,_0x20285,_0x358e2b,_0x5dc423,_0x15aa08){const _0x3e99f5=_0xca584b;super(_0x4fb85c,_0x20285,_0x358e2b,_0x5dc423,_0x15aa08);const _0x33851a=this[_0x3e99f5(0x1b1)][_0x3e99f5(0x1e3)](fe);this[_0x3e99f5(0x1fb)]['registerHTTPInterceptor']({'interceptor':(_0x158f0a,_0x5782e4)=>{const _0xda6aab=_0x3e99f5;var _0x5e920c;const _0x2795a6=_0x158f0a[_0xda6aab(0x209)];return(_0x5e920c=_0x33851a==null?void 0x0:_0x33851a[_0xda6aab(0x25e)])!=null&&_0x5e920c[_0xda6aab(0x306)]&&_0x2795a6['set']('Cookie',_0x33851a[_0xda6aab(0x25e)]['cookie']),_0x5782e4(_0x158f0a);}});}async[_0xca584b(0x2d3)](_0x2145ee){const _0x5e75ef=_0xca584b;return this[_0x5e75ef(0x29c)](_0x2145ee);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A[_0xca584b(0x2fc)](A[_0xca584b(0x214)])),ne(0x1,A[_0xca584b(0x2fc)](it['HTTPService'])),ne(0x2,A[_0xca584b(0x25b)]),ne(0x3,A['ILogService']),ne(0x4,Ot['ISnapshotServerService'])],exports['NodeCollaborationSocketService']),exports[_0xca584b(0x1ec)]=fe;