@univerjs-pro/collaboration-client-node 0.8.2-nightly.202506211606 → 0.8.2-nightly.202506221606

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 _0x17ae7d=_0x2a8f;(function(_0x6b0c4b,_0x462bcc){const _0x58166a=_0x2a8f,_0x120542=_0x6b0c4b();while(!![]){try{const _0x13a079=parseInt(_0x58166a(0x15f))/0x1+-parseInt(_0x58166a(0x14f))/0x2+parseInt(_0x58166a(0x1e3))/0x3+-parseInt(_0x58166a(0x20d))/0x4+-parseInt(_0x58166a(0xe5))/0x5*(-parseInt(_0x58166a(0xc9))/0x6)+-parseInt(_0x58166a(0xa2))/0x7*(parseInt(_0x58166a(0xd2))/0x8)+parseInt(_0x58166a(0x160))/0x9*(parseInt(_0x58166a(0x13b))/0xa);if(_0x13a079===_0x462bcc)break;else _0x120542['push'](_0x120542['shift']());}catch(_0x377fe5){_0x120542['push'](_0x120542['shift']());}}}(_0x2e4b,0xbc9eb));Object[_0x17ae7d(0x1ae)](exports,Symbol[_0x17ae7d(0x14c)],{'value':_0x17ae7d(0x239)});const st=require('@univerjs-pro/collaboration-client'),A=require(_0x17ae7d(0x186)),it=require('@univerjs/network'),V=require(_0x17ae7d(0x98)),nt=require(_0x17ae7d(0x1b6)),vt=require(_0x17ae7d(0x1a9)),ot=require(_0x17ae7d(0x218)),St=require(_0x17ae7d(0x205)),Et=require(_0x17ae7d(0x11d)),Le=require(_0x17ae7d(0x257)),oe=require('stream'),xt=require(_0x17ae7d(0x1c6)),bt=require(_0x17ae7d(0x106)),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe='collaboration-client-node.config',Ct={'customHeaders':{}};function Tt(_0xc5304e){const _0x585904=_0x17ae7d;return _0xc5304e&&_0xc5304e[_0x585904(0xbf)]&&Object[_0x585904(0x23c)][_0x585904(0x15b)][_0x585904(0x20b)](_0xc5304e,_0x585904(0x18d))?_0xc5304e['default']:_0xc5304e;}function at(_0x570f82){const _0x49146d=_0x17ae7d;if(Object['prototype'][_0x49146d(0x15b)][_0x49146d(0x20b)](_0x570f82,_0x49146d(0xbf)))return _0x570f82;var _0x1d8616=_0x570f82[_0x49146d(0x18d)];if(typeof _0x1d8616==_0x49146d(0x1d8)){var _0x5217f7=function _0x324944(){const _0x713539=_0x49146d;return this instanceof _0x324944?Reflect['construct'](_0x1d8616,arguments,this[_0x713539(0x254)]):_0x1d8616[_0x713539(0xcc)](this,arguments);};_0x5217f7[_0x49146d(0x23c)]=_0x1d8616[_0x49146d(0x23c)];}else _0x5217f7={};return Object[_0x49146d(0x1ae)](_0x5217f7,_0x49146d(0xbf),{'value':!0x0}),Object[_0x49146d(0xe0)](_0x570f82)[_0x49146d(0x210)](function(_0x3774ce){const _0x24da87=_0x49146d;var _0x478198=Object[_0x24da87(0xcb)](_0x570f82,_0x3774ce);Object[_0x24da87(0x1ae)](_0x5217f7,_0x3774ce,_0x478198[_0x24da87(0x119)]?_0x478198:{'enumerable':!0x0,'get':function(){return _0x570f82[_0x3774ce];}});}),_0x5217f7;}var se={'exports':{}},ge,Ge;function H(){const _0x14f60c=_0x17ae7d;if(Ge)return ge;Ge=0x1;const _0x6a27aa=[_0x14f60c(0xe6),_0x14f60c(0x113),_0x14f60c(0x1d1)],_0x5605f5=typeof Blob<'u';return _0x5605f5&&_0x6a27aa[_0x14f60c(0xf0)](_0x14f60c(0x137)),ge={'BINARY_TYPES':_0x6a27aa,'EMPTY_BUFFER':Buffer[_0x14f60c(0x15e)](0x0),'GUID':_0x14f60c(0x176),'hasBlob':_0x5605f5,'kForOnEventAttribute':Symbol(_0x14f60c(0xc3)),'kListener':Symbol(_0x14f60c(0x120)),'kStatusCode':Symbol(_0x14f60c(0x101)),'kWebSocket':Symbol(_0x14f60c(0x1e7)),'NOOP':()=>{}},ge;}const Nt={},kt=Object['freeze'](Object[_0x17ae7d(0x1ae)]({'__proto__':null,'default':Nt},Symbol[_0x17ae7d(0x14c)],{'value':_0x17ae7d(0x239)})),Lt=at(kt);var Ve;function ce(){const _0x13b139=_0x17ae7d;if(Ve)return se[_0x13b139(0x1ab)];Ve=0x1;const {EMPTY_BUFFER:_0x27c0e4}=H(),_0x4f3440=Buffer[Symbol[_0x13b139(0x14a)]];function _0x485191(_0x98ceb5,_0x13e393){const _0x11ca1c=_0x13b139;if(_0x98ceb5[_0x11ca1c(0x1b2)]===0x0)return _0x27c0e4;if(_0x98ceb5['length']===0x1)return _0x98ceb5[0x0];const _0x2c83a5=Buffer[_0x11ca1c(0x1fe)](_0x13e393);let _0x3a25a6=0x0;for(let _0x296fe8=0x0;_0x296fe8<_0x98ceb5['length'];_0x296fe8++){const _0x4fb553=_0x98ceb5[_0x296fe8];_0x2c83a5[_0x11ca1c(0x246)](_0x4fb553,_0x3a25a6),_0x3a25a6+=_0x4fb553['length'];}return _0x3a25a6<_0x13e393?new _0x4f3440(_0x2c83a5[_0x11ca1c(0x1ca)],_0x2c83a5[_0x11ca1c(0xdb)],_0x3a25a6):_0x2c83a5;}function _0x36c99c(_0x35fb3e,_0x1d69b6,_0x15bcc8,_0x46210c,_0x37c7e2){for(let _0x3ddd95=0x0;_0x3ddd95<_0x37c7e2;_0x3ddd95++)_0x15bcc8[_0x46210c+_0x3ddd95]=_0x35fb3e[_0x3ddd95]^_0x1d69b6[_0x3ddd95&0x3];}function _0x14eab2(_0x18db33,_0x48bff6){const _0x4f870a=_0x13b139;for(let _0x524dd7=0x0;_0x524dd7<_0x18db33[_0x4f870a(0x1b2)];_0x524dd7++)_0x18db33[_0x524dd7]^=_0x48bff6[_0x524dd7&0x3];}function _0x1b7d48(_0x23310b){const _0x1f843b=_0x13b139;return _0x23310b['length']===_0x23310b[_0x1f843b(0x1ca)]['byteLength']?_0x23310b[_0x1f843b(0x1ca)]:_0x23310b[_0x1f843b(0x1ca)][_0x1f843b(0x169)](_0x23310b[_0x1f843b(0xdb)],_0x23310b['byteOffset']+_0x23310b['length']);}function _0x14f804(_0x57179d){const _0x40cf8d=_0x13b139;if(_0x14f804['readOnly']=!0x0,Buffer[_0x40cf8d(0x13d)](_0x57179d))return _0x57179d;let _0x897c1;return _0x57179d instanceof ArrayBuffer?_0x897c1=new _0x4f3440(_0x57179d):ArrayBuffer['isView'](_0x57179d)?_0x897c1=new _0x4f3440(_0x57179d[_0x40cf8d(0x1ca)],_0x57179d['byteOffset'],_0x57179d[_0x40cf8d(0x15a)]):(_0x897c1=Buffer['from'](_0x57179d),_0x14f804['readOnly']=!0x1),_0x897c1;}if(se[_0x13b139(0x1ab)]={'concat':_0x485191,'mask':_0x36c99c,'toArrayBuffer':_0x1b7d48,'toBuffer':_0x14f804,'unmask':_0x14eab2},!process[_0x13b139(0x196)][_0x13b139(0x146)])try{const _0xf307e2=Lt;se[_0x13b139(0x1ab)]['mask']=function(_0x234508,_0x10dd93,_0x490fa8,_0x5c3c8d,_0x3b4c93){const _0xc50e=_0x13b139;_0x3b4c93<0x30?_0x36c99c(_0x234508,_0x10dd93,_0x490fa8,_0x5c3c8d,_0x3b4c93):_0xf307e2[_0xc50e(0x16b)](_0x234508,_0x10dd93,_0x490fa8,_0x5c3c8d,_0x3b4c93);},se['exports'][_0x13b139(0x1c4)]=function(_0x4faad0,_0x40c26f){const _0x25b720=_0x13b139;_0x4faad0[_0x25b720(0x1b2)]<0x20?_0x14eab2(_0x4faad0,_0x40c26f):_0xf307e2[_0x25b720(0x1c4)](_0x4faad0,_0x40c26f);};}catch{}return se[_0x13b139(0x1ab)];}var ye,He;function Pt(){const _0x24616d=_0x17ae7d;if(He)return ye;He=0x1;const _0x42d35e=Symbol('kDone'),_0x813a02=Symbol(_0x24616d(0x17f));class _0x5ecb57{constructor(_0xe034a2){const _0x1d2622=_0x24616d;this[_0x42d35e]=()=>{this['pending']--,this[_0x813a02]();},this[_0x1d2622(0x22f)]=_0xe034a2||0x1/0x0,this[_0x1d2622(0x134)]=[],this[_0x1d2622(0x259)]=0x0;}['add'](_0x4e3c04){const _0x332faf=_0x24616d;this[_0x332faf(0x134)]['push'](_0x4e3c04),this[_0x813a02]();}[_0x813a02](){const _0x1990e9=_0x24616d;if(this[_0x1990e9(0x259)]!==this[_0x1990e9(0x22f)]&&this['jobs'][_0x1990e9(0x1b2)]){const _0x4bb5b5=this[_0x1990e9(0x134)][_0x1990e9(0x17a)]();this['pending']++,_0x4bb5b5(this[_0x42d35e]);}}}return ye=_0x5ecb57,ye;}var ve,ze;function he(){const _0x5a09f0=_0x17ae7d;if(ze)return ve;ze=0x1;const _0x534a11=bt,_0x52cd76=ce(),_0xb3bbf7=Pt(),{kStatusCode:_0x4ad76c}=H(),_0x2cfa02=Buffer[Symbol['species']],_0x14e8b6=Buffer[_0x5a09f0(0x23d)]([0x0,0x0,0xff,0xff]),_0x316676=Symbol('permessage-deflate'),_0x20f44d=Symbol('total-length'),_0x2323e3=Symbol('callback'),_0x2894e7=Symbol('buffers'),_0x16f0c5=Symbol(_0x5a09f0(0xfd));let _0x39e6cf;class _0x208567{constructor(_0x9bd552,_0x181d96,_0x4c63f2){const _0x144818=_0x5a09f0;if(this[_0x144818(0xb7)]=_0x4c63f2|0x0,this[_0x144818(0x192)]=_0x9bd552||{},this[_0x144818(0x1b0)]=this[_0x144818(0x192)][_0x144818(0x21a)]!==void 0x0?this[_0x144818(0x192)]['threshold']:0x400,this[_0x144818(0x109)]=!!_0x181d96,this['_deflate']=null,this[_0x144818(0x198)]=null,this[_0x144818(0x9e)]=null,!_0x39e6cf){const _0x4e0a6d=this[_0x144818(0x192)][_0x144818(0x99)]!==void 0x0?this[_0x144818(0x192)]['concurrencyLimit']:0xa;_0x39e6cf=new _0xb3bbf7(_0x4e0a6d);}}static get[_0x5a09f0(0x147)](){const _0xf3f11b=_0x5a09f0;return _0xf3f11b(0x111);}[_0x5a09f0(0xa5)](){const _0x229617=_0x5a09f0,_0x5c3e99={};return this[_0x229617(0x192)]['serverNoContextTakeover']&&(_0x5c3e99[_0x229617(0x215)]=!0x0),this[_0x229617(0x192)][_0x229617(0xbd)]&&(_0x5c3e99[_0x229617(0x22a)]=!0x0),this[_0x229617(0x192)]['serverMaxWindowBits']&&(_0x5c3e99['server_max_window_bits']=this[_0x229617(0x192)][_0x229617(0x250)]),this[_0x229617(0x192)]['clientMaxWindowBits']?_0x5c3e99[_0x229617(0x1ce)]=this[_0x229617(0x192)]['clientMaxWindowBits']:this[_0x229617(0x192)][_0x229617(0x208)]==null&&(_0x5c3e99['client_max_window_bits']=!0x0),_0x5c3e99;}[_0x5a09f0(0x12f)](_0xb89aba){const _0x3ef37b=_0x5a09f0;return _0xb89aba=this[_0x3ef37b(0x18e)](_0xb89aba),this['params']=this[_0x3ef37b(0x109)]?this[_0x3ef37b(0x216)](_0xb89aba):this[_0x3ef37b(0x209)](_0xb89aba),this[_0x3ef37b(0x9e)];}[_0x5a09f0(0x203)](){const _0x1425b4=_0x5a09f0;if(this[_0x1425b4(0x198)]&&(this['_inflate']['close'](),this['_inflate']=null),this[_0x1425b4(0x1bd)]){const _0x1cc5cd=this[_0x1425b4(0x1bd)][_0x2323e3];this[_0x1425b4(0x1bd)][_0x1425b4(0x19f)](),this[_0x1425b4(0x1bd)]=null,_0x1cc5cd&&_0x1cc5cd(new Error(_0x1425b4(0x11c)));}}[_0x5a09f0(0x216)](_0x256335){const _0x27720f=_0x5a09f0,_0x4747b0=this[_0x27720f(0x192)],_0x395e09=_0x256335[_0x27720f(0x24a)](_0x362b4e=>!(_0x4747b0[_0x27720f(0x14d)]===!0x1&&_0x362b4e[_0x27720f(0x215)]||_0x362b4e[_0x27720f(0x1c5)]&&(_0x4747b0[_0x27720f(0x250)]===!0x1||typeof _0x4747b0['serverMaxWindowBits']=='number'&&_0x4747b0[_0x27720f(0x250)]>_0x362b4e[_0x27720f(0x1c5)])||typeof _0x4747b0['clientMaxWindowBits']==_0x27720f(0x1b3)&&!_0x362b4e[_0x27720f(0x1ce)]));if(!_0x395e09)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x4747b0[_0x27720f(0x14d)]&&(_0x395e09[_0x27720f(0x215)]=!0x0),_0x4747b0[_0x27720f(0xbd)]&&(_0x395e09['client_no_context_takeover']=!0x0),typeof _0x4747b0[_0x27720f(0x250)]==_0x27720f(0x1b3)&&(_0x395e09[_0x27720f(0x1c5)]=_0x4747b0[_0x27720f(0x250)]),typeof _0x4747b0['clientMaxWindowBits']==_0x27720f(0x1b3)?_0x395e09['client_max_window_bits']=_0x4747b0[_0x27720f(0x208)]:(_0x395e09[_0x27720f(0x1ce)]===!0x0||_0x4747b0[_0x27720f(0x208)]===!0x1)&&delete _0x395e09['client_max_window_bits'],_0x395e09;}[_0x5a09f0(0x209)](_0x107600){const _0x5cc868=_0x5a09f0,_0x48c21b=_0x107600[0x0];if(this[_0x5cc868(0x192)]['clientNoContextTakeover']===!0x1&&_0x48c21b['client_no_context_takeover'])throw new Error(_0x5cc868(0x161));if(!_0x48c21b['client_max_window_bits'])typeof this[_0x5cc868(0x192)][_0x5cc868(0x208)]==_0x5cc868(0x1b3)&&(_0x48c21b[_0x5cc868(0x1ce)]=this['_options'][_0x5cc868(0x208)]);else{if(this[_0x5cc868(0x192)][_0x5cc868(0x208)]===!0x1||typeof this['_options']['clientMaxWindowBits']==_0x5cc868(0x1b3)&&_0x48c21b[_0x5cc868(0x1ce)]>this['_options']['clientMaxWindowBits'])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x48c21b;}['normalizeParams'](_0x3d8af3){const _0x4c2c61=_0x5a09f0;return _0x3d8af3[_0x4c2c61(0x210)](_0x3a9b35=>{const _0x286bfa=_0x4c2c61;Object[_0x286bfa(0xe0)](_0x3a9b35)['forEach'](_0x3f38e1=>{const _0x31c359=_0x286bfa;let _0x688203=_0x3a9b35[_0x3f38e1];if(_0x688203[_0x31c359(0x1b2)]>0x1)throw new Error('Parameter\x20\x22'+_0x3f38e1+_0x31c359(0x233));if(_0x688203=_0x688203[0x0],_0x3f38e1===_0x31c359(0x1ce)){if(_0x688203!==!0x0){const _0x2e01aa=+_0x688203;if(!Number['isInteger'](_0x2e01aa)||_0x2e01aa<0x8||_0x2e01aa>0xf)throw new TypeError(_0x31c359(0x189)+_0x3f38e1+'\x22:\x20'+_0x688203);_0x688203=_0x2e01aa;}else{if(!this[_0x31c359(0x109)])throw new TypeError(_0x31c359(0x189)+_0x3f38e1+_0x31c359(0x221)+_0x688203);}}else{if(_0x3f38e1===_0x31c359(0x1c5)){const _0x58574e=+_0x688203;if(!Number[_0x31c359(0x16a)](_0x58574e)||_0x58574e<0x8||_0x58574e>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x3f38e1+'\x22:\x20'+_0x688203);_0x688203=_0x58574e;}else{if(_0x3f38e1===_0x31c359(0x22a)||_0x3f38e1==='server_no_context_takeover'){if(_0x688203!==!0x0)throw new TypeError(_0x31c359(0x189)+_0x3f38e1+_0x31c359(0x221)+_0x688203);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x3f38e1+'\x22');}}_0x3a9b35[_0x3f38e1]=_0x688203;});}),_0x3d8af3;}[_0x5a09f0(0x24e)](_0x28ac39,_0x4ca319,_0x9f6302){const _0x2bb089=_0x5a09f0;_0x39e6cf[_0x2bb089(0x128)](_0x107cd0=>{const _0x33216f=_0x2bb089;this[_0x33216f(0x236)](_0x28ac39,_0x4ca319,(_0x1d44f3,_0x5bf154)=>{_0x107cd0(),_0x9f6302(_0x1d44f3,_0x5bf154);});});}['compress'](_0x3a7044,_0x1b465e,_0x3f4a64){const _0x5835f6=_0x5a09f0;_0x39e6cf[_0x5835f6(0x128)](_0x43d36a=>{const _0x6caa30=_0x5835f6;this[_0x6caa30(0x10d)](_0x3a7044,_0x1b465e,(_0x5521a3,_0x25a504)=>{_0x43d36a(),_0x3f4a64(_0x5521a3,_0x25a504);});});}[_0x5a09f0(0x236)](_0x4c5d95,_0x4c4a69,_0x3aa0ec){const _0x126d7e=_0x5a09f0,_0x17d11e=this[_0x126d7e(0x109)]?_0x126d7e(0xf5):_0x126d7e(0xf1);if(!this['_inflate']){const _0xfcedce=_0x17d11e+_0x126d7e(0xf7),_0x53eec1=typeof this[_0x126d7e(0x9e)][_0xfcedce]!='number'?_0x534a11[_0x126d7e(0x1c8)]:this['params'][_0xfcedce];this[_0x126d7e(0x198)]=_0x534a11[_0x126d7e(0x15c)]({...this[_0x126d7e(0x192)]['zlibInflateOptions'],'windowBits':_0x53eec1}),this['_inflate'][_0x316676]=this,this[_0x126d7e(0x198)][_0x20f44d]=0x0,this[_0x126d7e(0x198)][_0x2894e7]=[],this[_0x126d7e(0x198)]['on'](_0x126d7e(0xfd),_0xee21ea),this[_0x126d7e(0x198)]['on'](_0x126d7e(0x1df),_0x592527);}this[_0x126d7e(0x198)][_0x2323e3]=_0x3aa0ec,this[_0x126d7e(0x198)][_0x126d7e(0x1d7)](_0x4c5d95),_0x4c4a69&&this[_0x126d7e(0x198)][_0x126d7e(0x1d7)](_0x14e8b6),this['_inflate'][_0x126d7e(0x116)](()=>{const _0x46f3e4=_0x126d7e,_0x2761a6=this[_0x46f3e4(0x198)][_0x16f0c5];if(_0x2761a6){this[_0x46f3e4(0x198)][_0x46f3e4(0x19f)](),this[_0x46f3e4(0x198)]=null,_0x3aa0ec(_0x2761a6);return;}const _0x25d621=_0x52cd76['concat'](this[_0x46f3e4(0x198)][_0x2894e7],this[_0x46f3e4(0x198)][_0x20f44d]);this[_0x46f3e4(0x198)][_0x46f3e4(0x179)][_0x46f3e4(0x237)]?(this[_0x46f3e4(0x198)][_0x46f3e4(0x19f)](),this['_inflate']=null):(this[_0x46f3e4(0x198)][_0x20f44d]=0x0,this[_0x46f3e4(0x198)][_0x2894e7]=[],_0x4c4a69&&this[_0x46f3e4(0x9e)][_0x17d11e+'_no_context_takeover']&&this[_0x46f3e4(0x198)][_0x46f3e4(0x11e)]()),_0x3aa0ec(null,_0x25d621);});}['_compress'](_0x328a50,_0x4c79ef,_0x2cc736){const _0x288c13=_0x5a09f0,_0x400555=this[_0x288c13(0x109)]?_0x288c13(0xf1):_0x288c13(0xf5);if(!this[_0x288c13(0x1bd)]){const _0x219be3=_0x400555+_0x288c13(0xf7),_0x5bd8b5=typeof this[_0x288c13(0x9e)][_0x219be3]!='number'?_0x534a11[_0x288c13(0x1c8)]:this[_0x288c13(0x9e)][_0x219be3];this[_0x288c13(0x1bd)]=_0x534a11[_0x288c13(0x104)]({...this[_0x288c13(0x192)][_0x288c13(0x16d)],'windowBits':_0x5bd8b5}),this[_0x288c13(0x1bd)][_0x20f44d]=0x0,this[_0x288c13(0x1bd)][_0x2894e7]=[],this[_0x288c13(0x1bd)]['on'](_0x288c13(0x1df),_0x5a68fe);}this['_deflate'][_0x2323e3]=_0x2cc736,this[_0x288c13(0x1bd)][_0x288c13(0x1d7)](_0x328a50),this[_0x288c13(0x1bd)][_0x288c13(0x116)](_0x534a11[_0x288c13(0x1aa)],()=>{const _0x31a90d=_0x288c13;if(!this['_deflate'])return;let _0x430d43=_0x52cd76[_0x31a90d(0x23b)](this[_0x31a90d(0x1bd)][_0x2894e7],this[_0x31a90d(0x1bd)][_0x20f44d]);_0x4c79ef&&(_0x430d43=new _0x2cfa02(_0x430d43['buffer'],_0x430d43[_0x31a90d(0xdb)],_0x430d43[_0x31a90d(0x1b2)]-0x4)),this[_0x31a90d(0x1bd)][_0x2323e3]=null,this[_0x31a90d(0x1bd)][_0x20f44d]=0x0,this[_0x31a90d(0x1bd)][_0x2894e7]=[],_0x4c79ef&&this[_0x31a90d(0x9e)][_0x400555+_0x31a90d(0x213)]&&this[_0x31a90d(0x1bd)][_0x31a90d(0x11e)](),_0x2cc736(null,_0x430d43);});}}ve=_0x208567;function _0x5a68fe(_0x3ea608){const _0x5ad21a=_0x5a09f0;this[_0x2894e7][_0x5ad21a(0xf0)](_0x3ea608),this[_0x20f44d]+=_0x3ea608[_0x5ad21a(0x1b2)];}function _0x592527(_0x5b2d8f){const _0x17f134=_0x5a09f0;if(this[_0x20f44d]+=_0x5b2d8f[_0x17f134(0x1b2)],this[_0x316676][_0x17f134(0xb7)]<0x1||this[_0x20f44d]<=this[_0x316676]['_maxPayload']){this[_0x2894e7][_0x17f134(0xf0)](_0x5b2d8f);return;}this[_0x16f0c5]=new RangeError(_0x17f134(0xcd)),this[_0x16f0c5]['code']=_0x17f134(0x1cd),this[_0x16f0c5][_0x4ad76c]=0x3f1,this['removeListener'](_0x17f134(0x1df),_0x592527),this[_0x17f134(0x11e)]();}function _0xee21ea(_0x5cbb0c){if(this[_0x316676]['_inflate']=null,this[_0x16f0c5]){this[_0x2323e3](this[_0x16f0c5]);return;}_0x5cbb0c[_0x4ad76c]=0x3ef,this[_0x2323e3](_0x5cbb0c);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x17ae7d(0xce)](Object[_0x17ae7d(0x1ae)]({'__proto__':null,'default':Dt},Symbol[_0x17ae7d(0x14c)],{'value':_0x17ae7d(0x239)})),Bt=at(Rt);var Ye;function ae(){const _0x33a790=_0x17ae7d;if(Ye)return ie[_0x33a790(0x1ab)];Ye=0x1;const {isUtf8:_0x5b1aa5}=wt,{hasBlob:_0x55b2ed}=H(),_0x1157c0=[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 _0x311d71(_0x20d74b){return _0x20d74b>=0x3e8&&_0x20d74b<=0x3f6&&_0x20d74b!==0x3ec&&_0x20d74b!==0x3ed&&_0x20d74b!==0x3ee||_0x20d74b>=0xbb8&&_0x20d74b<=0x1387;}function _0x347500(_0x2ad933){const _0x5ba8c5=_0x33a790,_0x4fd2d1=_0x2ad933[_0x5ba8c5(0x1b2)];let _0x26fe07=0x0;for(;_0x26fe07<_0x4fd2d1;)if((_0x2ad933[_0x26fe07]&0x80)===0x0)_0x26fe07++;else{if((_0x2ad933[_0x26fe07]&0xe0)===0xc0){if(_0x26fe07+0x1===_0x4fd2d1||(_0x2ad933[_0x26fe07+0x1]&0xc0)!==0x80||(_0x2ad933[_0x26fe07]&0xfe)===0xc0)return!0x1;_0x26fe07+=0x2;}else{if((_0x2ad933[_0x26fe07]&0xf0)===0xe0){if(_0x26fe07+0x2>=_0x4fd2d1||(_0x2ad933[_0x26fe07+0x1]&0xc0)!==0x80||(_0x2ad933[_0x26fe07+0x2]&0xc0)!==0x80||_0x2ad933[_0x26fe07]===0xe0&&(_0x2ad933[_0x26fe07+0x1]&0xe0)===0x80||_0x2ad933[_0x26fe07]===0xed&&(_0x2ad933[_0x26fe07+0x1]&0xe0)===0xa0)return!0x1;_0x26fe07+=0x3;}else{if((_0x2ad933[_0x26fe07]&0xf8)===0xf0){if(_0x26fe07+0x3>=_0x4fd2d1||(_0x2ad933[_0x26fe07+0x1]&0xc0)!==0x80||(_0x2ad933[_0x26fe07+0x2]&0xc0)!==0x80||(_0x2ad933[_0x26fe07+0x3]&0xc0)!==0x80||_0x2ad933[_0x26fe07]===0xf0&&(_0x2ad933[_0x26fe07+0x1]&0xf0)===0x80||_0x2ad933[_0x26fe07]===0xf4&&_0x2ad933[_0x26fe07+0x1]>0x8f||_0x2ad933[_0x26fe07]>0xf4)return!0x1;_0x26fe07+=0x4;}else return!0x1;}}}return!0x0;}function _0x4b1a33(_0x30946b){const _0x12bbcf=_0x33a790;return _0x55b2ed&&typeof _0x30946b==_0x12bbcf(0x1e8)&&typeof _0x30946b[_0x12bbcf(0x22c)]==_0x12bbcf(0x1d8)&&typeof _0x30946b[_0x12bbcf(0x251)]==_0x12bbcf(0x255)&&typeof _0x30946b[_0x12bbcf(0xd5)]==_0x12bbcf(0x1d8)&&(_0x30946b[Symbol[_0x12bbcf(0x14c)]]==='Blob'||_0x30946b[Symbol[_0x12bbcf(0x14c)]]===_0x12bbcf(0x143));}if(ie[_0x33a790(0x1ab)]={'isBlob':_0x4b1a33,'isValidStatusCode':_0x311d71,'isValidUTF8':_0x347500,'tokenChars':_0x1157c0},_0x5b1aa5)ie[_0x33a790(0x1ab)]['isValidUTF8']=function(_0x369704){const _0xe43705=_0x33a790;return _0x369704[_0xe43705(0x1b2)]<0x18?_0x347500(_0x369704):_0x5b1aa5(_0x369704);};else{if(!process[_0x33a790(0x196)]['WS_NO_UTF_8_VALIDATE'])try{const _0x9efd4a=Bt;ie[_0x33a790(0x1ab)][_0x33a790(0xf8)]=function(_0x1463f7){return _0x1463f7['length']<0x20?_0x347500(_0x1463f7):_0x9efd4a(_0x1463f7);};}catch{}}return ie[_0x33a790(0x1ab)];}var Se,Ke;function lt(){const _0x1d2a8f=_0x17ae7d;if(Ke)return Se;Ke=0x1;const {Writable:_0x59a74d}=oe,_0x2e92c6=he(),{BINARY_TYPES:_0x376232,EMPTY_BUFFER:_0x1c06ad,kStatusCode:_0x5d23e5,kWebSocket:_0x39c6ea}=H(),{concat:_0x4567de,toArrayBuffer:_0x3af45c,unmask:_0x5357dd}=ce(),{isValidStatusCode:_0x2e5e21,isValidUTF8:_0xa7b4a9}=ae(),_0x41dbfa=Buffer[Symbol['species']],_0x316bdf=0x0,_0x49f999=0x1,_0x123fed=0x2,_0x445d5a=0x3,_0x480cea=0x4,_0x530df2=0x5,_0x229867=0x6;class _0x1fe9ff extends _0x59a74d{constructor(_0x2f8244={}){const _0x57dc46=_0x2a8f;super(),this[_0x57dc46(0x174)]=_0x2f8244['allowSynchronousEvents']!==void 0x0?_0x2f8244[_0x57dc46(0x240)]:!0x0,this['_binaryType']=_0x2f8244['binaryType']||_0x376232[0x0],this['_extensions']=_0x2f8244[_0x57dc46(0xf6)]||{},this['_isServer']=!!_0x2f8244[_0x57dc46(0xdd)],this[_0x57dc46(0xb7)]=_0x2f8244[_0x57dc46(0x1f6)]|0x0,this['_skipUTF8Validation']=!!_0x2f8244['skipUTF8Validation'],this[_0x39c6ea]=void 0x0,this['_bufferedBytes']=0x0,this[_0x57dc46(0x13c)]=[],this[_0x57dc46(0x1f3)]=!0x1,this[_0x57dc46(0x206)]=0x0,this[_0x57dc46(0x224)]=void 0x0,this[_0x57dc46(0x199)]=0x0,this[_0x57dc46(0xe4)]=!0x1,this[_0x57dc46(0xea)]=!0x1,this[_0x57dc46(0x175)]=0x0,this[_0x57dc46(0x185)]=0x0,this[_0x57dc46(0x1d6)]=0x0,this[_0x57dc46(0x195)]=[],this['_errored']=!0x1,this['_loop']=!0x1,this[_0x57dc46(0x17d)]=_0x316bdf;}['_write'](_0x318ead,_0x31e4b3,_0x4040f0){const _0x43d404=_0x2a8f;if(this['_opcode']===0x8&&this['_state']==_0x316bdf)return _0x4040f0();this[_0x43d404(0x123)]+=_0x318ead['length'],this['_buffers'][_0x43d404(0xf0)](_0x318ead),this[_0x43d404(0x1a0)](_0x4040f0);}[_0x1d2a8f(0x9f)](_0x300c63){const _0x382531=_0x1d2a8f;if(this[_0x382531(0x123)]-=_0x300c63,_0x300c63===this['_buffers'][0x0][_0x382531(0x1b2)])return this['_buffers'][_0x382531(0x17a)]();if(_0x300c63<this[_0x382531(0x13c)][0x0][_0x382531(0x1b2)]){const _0x396464=this[_0x382531(0x13c)][0x0];return this['_buffers'][0x0]=new _0x41dbfa(_0x396464['buffer'],_0x396464[_0x382531(0xdb)]+_0x300c63,_0x396464[_0x382531(0x1b2)]-_0x300c63),new _0x41dbfa(_0x396464[_0x382531(0x1ca)],_0x396464[_0x382531(0xdb)],_0x300c63);}const _0x894e14=Buffer[_0x382531(0x1fe)](_0x300c63);do{const _0x51d715=this[_0x382531(0x13c)][0x0],_0x547f1f=_0x894e14['length']-_0x300c63;_0x300c63>=_0x51d715[_0x382531(0x1b2)]?_0x894e14[_0x382531(0x246)](this[_0x382531(0x13c)][_0x382531(0x17a)](),_0x547f1f):(_0x894e14['set'](new Uint8Array(_0x51d715[_0x382531(0x1ca)],_0x51d715[_0x382531(0xdb)],_0x300c63),_0x547f1f),this['_buffers'][0x0]=new _0x41dbfa(_0x51d715['buffer'],_0x51d715['byteOffset']+_0x300c63,_0x51d715[_0x382531(0x1b2)]-_0x300c63)),_0x300c63-=_0x51d715[_0x382531(0x1b2)];}while(_0x300c63>0x0);return _0x894e14;}[_0x1d2a8f(0x1a0)](_0xa6db40){const _0x3b8d5f=_0x1d2a8f;this[_0x3b8d5f(0x12e)]=!0x0;do switch(this[_0x3b8d5f(0x17d)]){case _0x316bdf:this[_0x3b8d5f(0x230)](_0xa6db40);break;case _0x49f999:this[_0x3b8d5f(0x1ef)](_0xa6db40);break;case _0x123fed:this[_0x3b8d5f(0x20e)](_0xa6db40);break;case _0x445d5a:this['getMask']();break;case _0x480cea:this[_0x3b8d5f(0x1dc)](_0xa6db40);break;case _0x530df2:case _0x229867:this['_loop']=!0x1;return;}while(this[_0x3b8d5f(0x12e)]);this['_errored']||_0xa6db40();}[_0x1d2a8f(0x230)](_0x4bc760){const _0x4f585b=_0x1d2a8f;if(this['_bufferedBytes']<0x2){this['_loop']=!0x1;return;}const _0x57a4af=this['consume'](0x2);if((_0x57a4af[0x0]&0x30)!==0x0){const _0x18f6f4=this['createError'](RangeError,_0x4f585b(0xab),!0x0,0x3ea,_0x4f585b(0xc7));_0x4bc760(_0x18f6f4);return;}const _0x48bf45=(_0x57a4af[0x0]&0x40)===0x40;if(_0x48bf45&&!this[_0x4f585b(0x1fa)][_0x2e92c6[_0x4f585b(0x147)]]){const _0x12f2a4=this[_0x4f585b(0x153)](RangeError,_0x4f585b(0xb3),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x4bc760(_0x12f2a4);return;}if(this[_0x4f585b(0xea)]=(_0x57a4af[0x0]&0x80)===0x80,this['_opcode']=_0x57a4af[0x0]&0xf,this['_payloadLength']=_0x57a4af[0x1]&0x7f,this[_0x4f585b(0x175)]===0x0){if(_0x48bf45){const _0x95cffe=this[_0x4f585b(0x153)](RangeError,_0x4f585b(0xb3),!0x0,0x3ea,_0x4f585b(0x1f7));_0x4bc760(_0x95cffe);return;}if(!this[_0x4f585b(0x199)]){const _0x1afa28=this[_0x4f585b(0x153)](RangeError,_0x4f585b(0x18b),!0x0,0x3ea,_0x4f585b(0x139));_0x4bc760(_0x1afa28);return;}this['_opcode']=this[_0x4f585b(0x199)];}else{if(this[_0x4f585b(0x175)]===0x1||this['_opcode']===0x2){if(this[_0x4f585b(0x199)]){const _0x39f163=this[_0x4f585b(0x153)](RangeError,_0x4f585b(0xb2)+this['_opcode'],!0x0,0x3ea,_0x4f585b(0x139));_0x4bc760(_0x39f163);return;}this[_0x4f585b(0x1f3)]=_0x48bf45;}else{if(this['_opcode']>0x7&&this[_0x4f585b(0x175)]<0xb){if(!this[_0x4f585b(0xea)]){const _0x1e15a8=this[_0x4f585b(0x153)](RangeError,_0x4f585b(0x248),!0x0,0x3ea,_0x4f585b(0x184));_0x4bc760(_0x1e15a8);return;}if(_0x48bf45){const _0x5bb1d0=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x4f585b(0x1f7));_0x4bc760(_0x5bb1d0);return;}if(this[_0x4f585b(0x206)]>0x7d||this[_0x4f585b(0x175)]===0x8&&this[_0x4f585b(0x206)]===0x1){const _0x622a88=this[_0x4f585b(0x153)](RangeError,_0x4f585b(0x138)+this[_0x4f585b(0x206)],!0x0,0x3ea,_0x4f585b(0x22d));_0x4bc760(_0x622a88);return;}}else{const _0x5b132e=this[_0x4f585b(0x153)](RangeError,'invalid\x20opcode\x20'+this[_0x4f585b(0x175)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x4bc760(_0x5b132e);return;}}}if(!this[_0x4f585b(0xea)]&&!this['_fragmented']&&(this[_0x4f585b(0x199)]=this[_0x4f585b(0x175)]),this[_0x4f585b(0xe4)]=(_0x57a4af[0x1]&0x80)===0x80,this[_0x4f585b(0x109)]){if(!this[_0x4f585b(0xe4)]){const _0x3cdcef=this[_0x4f585b(0x153)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x4bc760(_0x3cdcef);return;}}else{if(this[_0x4f585b(0xe4)]){const _0x3fa111=this[_0x4f585b(0x153)](RangeError,_0x4f585b(0x1e0),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x4bc760(_0x3fa111);return;}}this[_0x4f585b(0x206)]===0x7e?this['_state']=_0x49f999:this[_0x4f585b(0x206)]===0x7f?this[_0x4f585b(0x17d)]=_0x123fed:this['haveLength'](_0x4bc760);}[_0x1d2a8f(0x1ef)](_0x222e6f){const _0x503497=_0x1d2a8f;if(this['_bufferedBytes']<0x2){this[_0x503497(0x12e)]=!0x1;return;}this[_0x503497(0x206)]=this[_0x503497(0x9f)](0x2)[_0x503497(0x131)](0x0),this['haveLength'](_0x222e6f);}['getPayloadLength64'](_0x9e0b23){const _0x3a9428=_0x1d2a8f;if(this['_bufferedBytes']<0x8){this[_0x3a9428(0x12e)]=!0x1;return;}const _0x3f869f=this[_0x3a9428(0x9f)](0x8),_0x5416d3=_0x3f869f['readUInt32BE'](0x0);if(_0x5416d3>Math[_0x3a9428(0x154)](0x2,0x15)-0x1){const _0x1b6c31=this[_0x3a9428(0x153)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x3a9428(0x151));_0x9e0b23(_0x1b6c31);return;}this[_0x3a9428(0x206)]=_0x5416d3*Math[_0x3a9428(0x154)](0x2,0x20)+_0x3f869f[_0x3a9428(0x1e6)](0x4),this[_0x3a9428(0x1d5)](_0x9e0b23);}[_0x1d2a8f(0x1d5)](_0x417ebd){const _0x212c27=_0x1d2a8f;if(this[_0x212c27(0x206)]&&this[_0x212c27(0x175)]<0x8&&(this['_totalPayloadLength']+=this[_0x212c27(0x206)],this[_0x212c27(0x185)]>this[_0x212c27(0xb7)]&&this[_0x212c27(0xb7)]>0x0)){const _0x56d594=this['createError'](RangeError,_0x212c27(0xcd),!0x1,0x3f1,_0x212c27(0x1cd));_0x417ebd(_0x56d594);return;}this[_0x212c27(0xe4)]?this[_0x212c27(0x17d)]=_0x445d5a:this[_0x212c27(0x17d)]=_0x480cea;}['getMask'](){const _0x259b2c=_0x1d2a8f;if(this[_0x259b2c(0x123)]<0x4){this[_0x259b2c(0x12e)]=!0x1;return;}this[_0x259b2c(0x224)]=this[_0x259b2c(0x9f)](0x4),this[_0x259b2c(0x17d)]=_0x480cea;}['getData'](_0x1c52f8){const _0x3bf397=_0x1d2a8f;let _0x55f1de=_0x1c06ad;if(this[_0x3bf397(0x206)]){if(this['_bufferedBytes']<this[_0x3bf397(0x206)]){this['_loop']=!0x1;return;}_0x55f1de=this['consume'](this[_0x3bf397(0x206)]),this[_0x3bf397(0xe4)]&&(this['_mask'][0x0]|this[_0x3bf397(0x224)][0x1]|this[_0x3bf397(0x224)][0x2]|this[_0x3bf397(0x224)][0x3])!==0x0&&_0x5357dd(_0x55f1de,this[_0x3bf397(0x224)]);}if(this['_opcode']>0x7){this[_0x3bf397(0x212)](_0x55f1de,_0x1c52f8);return;}if(this[_0x3bf397(0x1f3)]){this[_0x3bf397(0x17d)]=_0x530df2,this['decompress'](_0x55f1de,_0x1c52f8);return;}_0x55f1de[_0x3bf397(0x1b2)]&&(this['_messageLength']=this[_0x3bf397(0x185)],this['_fragments']['push'](_0x55f1de)),this[_0x3bf397(0xc5)](_0x1c52f8);}[_0x1d2a8f(0x24e)](_0x16a0fd,_0x107457){const _0x569960=_0x1d2a8f;this[_0x569960(0x1fa)][_0x2e92c6['extensionName']][_0x569960(0x24e)](_0x16a0fd,this['_fin'],(_0x17583c,_0x475b94)=>{const _0x35903c=_0x569960;if(_0x17583c)return _0x107457(_0x17583c);if(_0x475b94[_0x35903c(0x1b2)]){if(this['_messageLength']+=_0x475b94[_0x35903c(0x1b2)],this[_0x35903c(0x1d6)]>this[_0x35903c(0xb7)]&&this['_maxPayload']>0x0){const _0x57d1a1=this[_0x35903c(0x153)](RangeError,_0x35903c(0xcd),!0x1,0x3f1,_0x35903c(0x1cd));_0x107457(_0x57d1a1);return;}this['_fragments']['push'](_0x475b94);}this['dataMessage'](_0x107457),this['_state']===_0x316bdf&&this['startLoop'](_0x107457);});}[_0x1d2a8f(0xc5)](_0x5c4826){const _0x5aa1cd=_0x1d2a8f;if(!this[_0x5aa1cd(0xea)]){this[_0x5aa1cd(0x17d)]=_0x316bdf;return;}const _0x54095e=this['_messageLength'],_0x372ed3=this[_0x5aa1cd(0x195)];if(this['_totalPayloadLength']=0x0,this[_0x5aa1cd(0x1d6)]=0x0,this[_0x5aa1cd(0x199)]=0x0,this[_0x5aa1cd(0x195)]=[],this['_opcode']===0x2){let _0x59a325;this[_0x5aa1cd(0x22b)]===_0x5aa1cd(0xe6)?_0x59a325=_0x4567de(_0x372ed3,_0x54095e):this[_0x5aa1cd(0x22b)]===_0x5aa1cd(0x113)?_0x59a325=_0x3af45c(_0x4567de(_0x372ed3,_0x54095e)):this[_0x5aa1cd(0x22b)]===_0x5aa1cd(0x137)?_0x59a325=new Blob(_0x372ed3):_0x59a325=_0x372ed3,this[_0x5aa1cd(0x174)]?(this['emit'](_0x5aa1cd(0xa4),_0x59a325,!0x0),this['_state']=_0x316bdf):(this[_0x5aa1cd(0x17d)]=_0x229867,setImmediate(()=>{const _0x19a1e2=_0x5aa1cd;this['emit']('message',_0x59a325,!0x0),this[_0x19a1e2(0x17d)]=_0x316bdf,this[_0x19a1e2(0x1a0)](_0x5c4826);}));}else{const _0x55658b=_0x4567de(_0x372ed3,_0x54095e);if(!this[_0x5aa1cd(0x17b)]&&!_0xa7b4a9(_0x55658b)){const _0x581af7=this[_0x5aa1cd(0x153)](Error,_0x5aa1cd(0xbb),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x5c4826(_0x581af7);return;}this[_0x5aa1cd(0x17d)]===_0x530df2||this[_0x5aa1cd(0x174)]?(this['emit']('message',_0x55658b,!0x1),this[_0x5aa1cd(0x17d)]=_0x316bdf):(this['_state']=_0x229867,setImmediate(()=>{const _0x208612=_0x5aa1cd;this[_0x208612(0xc4)](_0x208612(0xa4),_0x55658b,!0x1),this['_state']=_0x316bdf,this[_0x208612(0x1a0)](_0x5c4826);}));}}[_0x1d2a8f(0x212)](_0x4a22f2,_0x164f0d){const _0xc6cd2a=_0x1d2a8f;if(this[_0xc6cd2a(0x175)]===0x8){if(_0x4a22f2[_0xc6cd2a(0x1b2)]===0x0)this[_0xc6cd2a(0x12e)]=!0x1,this[_0xc6cd2a(0xc4)](_0xc6cd2a(0x1fc),0x3ed,_0x1c06ad),this['end']();else{const _0x9c985=_0x4a22f2[_0xc6cd2a(0x131)](0x0);if(!_0x2e5e21(_0x9c985)){const _0x7dc85b=this['createError'](RangeError,'invalid\x20status\x20code\x20'+_0x9c985,!0x0,0x3ea,_0xc6cd2a(0x200));_0x164f0d(_0x7dc85b);return;}const _0x1bdca2=new _0x41dbfa(_0x4a22f2[_0xc6cd2a(0x1ca)],_0x4a22f2[_0xc6cd2a(0xdb)]+0x2,_0x4a22f2[_0xc6cd2a(0x1b2)]-0x2);if(!this['_skipUTF8Validation']&&!_0xa7b4a9(_0x1bdca2)){const _0x53df62=this[_0xc6cd2a(0x153)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0xc6cd2a(0x234));_0x164f0d(_0x53df62);return;}this[_0xc6cd2a(0x12e)]=!0x1,this[_0xc6cd2a(0xc4)](_0xc6cd2a(0x1fc),_0x9c985,_0x1bdca2),this[_0xc6cd2a(0x1c0)]();}this[_0xc6cd2a(0x17d)]=_0x316bdf;return;}this[_0xc6cd2a(0x174)]?(this['emit'](this[_0xc6cd2a(0x175)]===0x9?'ping':_0xc6cd2a(0x173),_0x4a22f2),this[_0xc6cd2a(0x17d)]=_0x316bdf):(this[_0xc6cd2a(0x17d)]=_0x229867,setImmediate(()=>{const _0x11acd4=_0xc6cd2a;this[_0x11acd4(0xc4)](this[_0x11acd4(0x175)]===0x9?_0x11acd4(0x1a6):_0x11acd4(0x173),_0x4a22f2),this[_0x11acd4(0x17d)]=_0x316bdf,this[_0x11acd4(0x1a0)](_0x164f0d);}));}[_0x1d2a8f(0x153)](_0x1adadf,_0x80dba9,_0x223a2a,_0x3a2f7e,_0x4c97f0){const _0x58a65f=_0x1d2a8f;this[_0x58a65f(0x12e)]=!0x1,this[_0x58a65f(0x13a)]=!0x0;const _0x48920c=new _0x1adadf(_0x223a2a?_0x58a65f(0xfb)+_0x80dba9:_0x80dba9);return Error[_0x58a65f(0x157)](_0x48920c,this[_0x58a65f(0x153)]),_0x48920c[_0x58a65f(0xeb)]=_0x4c97f0,_0x48920c[_0x5d23e5]=_0x3a2f7e,_0x48920c;}}return Se=_0x1fe9ff,Se;}var Ee,Xe;function ft(){const _0x5944cb=_0x17ae7d;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x186bd9}=oe,{randomFillSync:_0x5e8f5a}=Le,_0x25046=he(),{EMPTY_BUFFER:_0x51bd99,kWebSocket:_0x15c0b4,NOOP:_0x2e5d2f}=H(),{isBlob:_0x4af86e,isValidStatusCode:_0xc77a4b}=ae(),{mask:_0x5311aa,toBuffer:_0x33c82b}=ce(),_0x584fd5=Symbol(_0x5944cb(0x1bf)),_0x2c7601=Buffer['alloc'](0x4),_0x2ce1f3=0x8*0x400;let _0x240060,_0x304cd4=_0x2ce1f3;const _0x292213=0x0,_0x60e1a7=0x1,_0x2c7353=0x2;class _0x3e704b{constructor(_0x5177c7,_0x1d2d42,_0x1f1aae){const _0x4d9dde=_0x5944cb;this[_0x4d9dde(0x1fa)]=_0x1d2d42||{},_0x1f1aae&&(this[_0x4d9dde(0x1b1)]=_0x1f1aae,this['_maskBuffer']=Buffer['alloc'](0x4)),this[_0x4d9dde(0x1f4)]=_0x5177c7,this['_firstFragment']=!0x0,this[_0x4d9dde(0x10d)]=!0x1,this[_0x4d9dde(0x123)]=0x0,this[_0x4d9dde(0x194)]=[],this[_0x4d9dde(0x17d)]=_0x292213,this[_0x4d9dde(0x115)]=_0x2e5d2f,this[_0x15c0b4]=void 0x0;}static[_0x5944cb(0x23a)](_0x3c6cf2,_0xe62c1f){const _0x89333b=_0x5944cb;let _0x123259,_0x191ab5=!0x1,_0x2631b1=0x2,_0xa2be5f=!0x1;_0xe62c1f[_0x89333b(0x16b)]&&(_0x123259=_0xe62c1f[_0x89333b(0x18f)]||_0x2c7601,_0xe62c1f[_0x89333b(0x152)]?_0xe62c1f[_0x89333b(0x152)](_0x123259):(_0x304cd4===_0x2ce1f3&&(_0x240060===void 0x0&&(_0x240060=Buffer[_0x89333b(0x15e)](_0x2ce1f3)),_0x5e8f5a(_0x240060,0x0,_0x2ce1f3),_0x304cd4=0x0),_0x123259[0x0]=_0x240060[_0x304cd4++],_0x123259[0x1]=_0x240060[_0x304cd4++],_0x123259[0x2]=_0x240060[_0x304cd4++],_0x123259[0x3]=_0x240060[_0x304cd4++]),_0xa2be5f=(_0x123259[0x0]|_0x123259[0x1]|_0x123259[0x2]|_0x123259[0x3])===0x0,_0x2631b1=0x6);let _0x457bbc;typeof _0x3c6cf2=='string'?(!_0xe62c1f[_0x89333b(0x16b)]||_0xa2be5f)&&_0xe62c1f[_0x584fd5]!==void 0x0?_0x457bbc=_0xe62c1f[_0x584fd5]:(_0x3c6cf2=Buffer['from'](_0x3c6cf2),_0x457bbc=_0x3c6cf2[_0x89333b(0x1b2)]):(_0x457bbc=_0x3c6cf2[_0x89333b(0x1b2)],_0x191ab5=_0xe62c1f[_0x89333b(0x16b)]&&_0xe62c1f[_0x89333b(0x18a)]&&!_0xa2be5f);let _0x4c868e=_0x457bbc;_0x457bbc>=0x10000?(_0x2631b1+=0x8,_0x4c868e=0x7f):_0x457bbc>0x7d&&(_0x2631b1+=0x2,_0x4c868e=0x7e);const _0x44f83b=Buffer[_0x89333b(0x1fe)](_0x191ab5?_0x457bbc+_0x2631b1:_0x2631b1);return _0x44f83b[0x0]=_0xe62c1f['fin']?_0xe62c1f['opcode']|0x80:_0xe62c1f[_0x89333b(0x1b5)],_0xe62c1f[_0x89333b(0x178)]&&(_0x44f83b[0x0]|=0x40),_0x44f83b[0x1]=_0x4c868e,_0x4c868e===0x7e?_0x44f83b[_0x89333b(0x167)](_0x457bbc,0x2):_0x4c868e===0x7f&&(_0x44f83b[0x2]=_0x44f83b[0x3]=0x0,_0x44f83b[_0x89333b(0x132)](_0x457bbc,0x4,0x6)),_0xe62c1f[_0x89333b(0x16b)]?(_0x44f83b[0x1]|=0x80,_0x44f83b[_0x2631b1-0x4]=_0x123259[0x0],_0x44f83b[_0x2631b1-0x3]=_0x123259[0x1],_0x44f83b[_0x2631b1-0x2]=_0x123259[0x2],_0x44f83b[_0x2631b1-0x1]=_0x123259[0x3],_0xa2be5f?[_0x44f83b,_0x3c6cf2]:_0x191ab5?(_0x5311aa(_0x3c6cf2,_0x123259,_0x44f83b,_0x2631b1,_0x457bbc),[_0x44f83b]):(_0x5311aa(_0x3c6cf2,_0x123259,_0x3c6cf2,0x0,_0x457bbc),[_0x44f83b,_0x3c6cf2])):[_0x44f83b,_0x3c6cf2];}[_0x5944cb(0x19f)](_0x50d84c,_0x173d1b,_0x3b5f2a,_0x29931d){const _0x2eb340=_0x5944cb;let _0x103b91;if(_0x50d84c===void 0x0)_0x103b91=_0x51bd99;else{if(typeof _0x50d84c!=_0x2eb340(0x1b3)||!_0xc77a4b(_0x50d84c))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x173d1b===void 0x0||!_0x173d1b[_0x2eb340(0x1b2)])_0x103b91=Buffer['allocUnsafe'](0x2),_0x103b91[_0x2eb340(0x167)](_0x50d84c,0x0);else{const _0x1759fb=Buffer[_0x2eb340(0x15a)](_0x173d1b);if(_0x1759fb>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x103b91=Buffer['allocUnsafe'](0x2+_0x1759fb),_0x103b91[_0x2eb340(0x167)](_0x50d84c,0x0),typeof _0x173d1b==_0x2eb340(0x255)?_0x103b91[_0x2eb340(0x1d7)](_0x173d1b,0x2):_0x103b91['set'](_0x173d1b,0x2);}}const _0x2884c8={[_0x584fd5]:_0x103b91[_0x2eb340(0x1b2)],'fin':!0x0,'generateMask':this[_0x2eb340(0x1b1)],'mask':_0x3b5f2a,'maskBuffer':this[_0x2eb340(0x1d4)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x292213?this['enqueue']([this[_0x2eb340(0x258)],_0x103b91,!0x1,_0x2884c8,_0x29931d]):this[_0x2eb340(0xe1)](_0x3e704b[_0x2eb340(0x23a)](_0x103b91,_0x2884c8),_0x29931d);}['ping'](_0x4d2c86,_0x2a5528,_0x46cec5){const _0x3b0147=_0x5944cb;let _0x3a2d4a,_0x1cc455;if(typeof _0x4d2c86==_0x3b0147(0x255)?(_0x3a2d4a=Buffer[_0x3b0147(0x15a)](_0x4d2c86),_0x1cc455=!0x1):_0x4af86e(_0x4d2c86)?(_0x3a2d4a=_0x4d2c86[_0x3b0147(0x191)],_0x1cc455=!0x1):(_0x4d2c86=_0x33c82b(_0x4d2c86),_0x3a2d4a=_0x4d2c86[_0x3b0147(0x1b2)],_0x1cc455=_0x33c82b[_0x3b0147(0x18a)]),_0x3a2d4a>0x7d)throw new RangeError(_0x3b0147(0x1b7));const _0x29f315={[_0x584fd5]:_0x3a2d4a,'fin':!0x0,'generateMask':this[_0x3b0147(0x1b1)],'mask':_0x2a5528,'maskBuffer':this[_0x3b0147(0x1d4)],'opcode':0x9,'readOnly':_0x1cc455,'rsv1':!0x1};_0x4af86e(_0x4d2c86)?this['_state']!==_0x292213?this['enqueue']([this['getBlobData'],_0x4d2c86,!0x1,_0x29f315,_0x46cec5]):this['getBlobData'](_0x4d2c86,!0x1,_0x29f315,_0x46cec5):this[_0x3b0147(0x17d)]!==_0x292213?this['enqueue']([this[_0x3b0147(0x258)],_0x4d2c86,!0x1,_0x29f315,_0x46cec5]):this['sendFrame'](_0x3e704b[_0x3b0147(0x23a)](_0x4d2c86,_0x29f315),_0x46cec5);}['pong'](_0x421452,_0xc48e7b,_0x511eba){const _0x4f6a7f=_0x5944cb;let _0x30a886,_0x1233eb;if(typeof _0x421452==_0x4f6a7f(0x255)?(_0x30a886=Buffer[_0x4f6a7f(0x15a)](_0x421452),_0x1233eb=!0x1):_0x4af86e(_0x421452)?(_0x30a886=_0x421452[_0x4f6a7f(0x191)],_0x1233eb=!0x1):(_0x421452=_0x33c82b(_0x421452),_0x30a886=_0x421452[_0x4f6a7f(0x1b2)],_0x1233eb=_0x33c82b[_0x4f6a7f(0x18a)]),_0x30a886>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x369fa3={[_0x584fd5]:_0x30a886,'fin':!0x0,'generateMask':this[_0x4f6a7f(0x1b1)],'mask':_0xc48e7b,'maskBuffer':this[_0x4f6a7f(0x1d4)],'opcode':0xa,'readOnly':_0x1233eb,'rsv1':!0x1};_0x4af86e(_0x421452)?this[_0x4f6a7f(0x17d)]!==_0x292213?this[_0x4f6a7f(0x1c9)]([this[_0x4f6a7f(0x1fd)],_0x421452,!0x1,_0x369fa3,_0x511eba]):this[_0x4f6a7f(0x1fd)](_0x421452,!0x1,_0x369fa3,_0x511eba):this[_0x4f6a7f(0x17d)]!==_0x292213?this[_0x4f6a7f(0x1c9)]([this[_0x4f6a7f(0x258)],_0x421452,!0x1,_0x369fa3,_0x511eba]):this[_0x4f6a7f(0xe1)](_0x3e704b[_0x4f6a7f(0x23a)](_0x421452,_0x369fa3),_0x511eba);}[_0x5944cb(0x1be)](_0x2950c9,_0x27c47e,_0x216b66){const _0x170834=_0x5944cb,_0x43ba2f=this['_extensions'][_0x25046[_0x170834(0x147)]];let _0x1379f7=_0x27c47e[_0x170834(0x1af)]?0x2:0x1,_0x4cdc91=_0x27c47e[_0x170834(0x1dd)],_0x53d7ad,_0x242602;typeof _0x2950c9==_0x170834(0x255)?(_0x53d7ad=Buffer['byteLength'](_0x2950c9),_0x242602=!0x1):_0x4af86e(_0x2950c9)?(_0x53d7ad=_0x2950c9['size'],_0x242602=!0x1):(_0x2950c9=_0x33c82b(_0x2950c9),_0x53d7ad=_0x2950c9[_0x170834(0x1b2)],_0x242602=_0x33c82b['readOnly']),this[_0x170834(0x125)]?(this[_0x170834(0x125)]=!0x1,_0x4cdc91&&_0x43ba2f&&_0x43ba2f[_0x170834(0x9e)][_0x43ba2f[_0x170834(0x109)]?_0x170834(0x215):_0x170834(0x22a)]&&(_0x4cdc91=_0x53d7ad>=_0x43ba2f[_0x170834(0x1b0)]),this[_0x170834(0x10d)]=_0x4cdc91):(_0x4cdc91=!0x1,_0x1379f7=0x0),_0x27c47e['fin']&&(this[_0x170834(0x125)]=!0x0);const _0x16a76b={[_0x584fd5]:_0x53d7ad,'fin':_0x27c47e[_0x170834(0x23f)],'generateMask':this[_0x170834(0x1b1)],'mask':_0x27c47e[_0x170834(0x16b)],'maskBuffer':this[_0x170834(0x1d4)],'opcode':_0x1379f7,'readOnly':_0x242602,'rsv1':_0x4cdc91};_0x4af86e(_0x2950c9)?this['_state']!==_0x292213?this[_0x170834(0x1c9)]([this['getBlobData'],_0x2950c9,this[_0x170834(0x10d)],_0x16a76b,_0x216b66]):this['getBlobData'](_0x2950c9,this[_0x170834(0x10d)],_0x16a76b,_0x216b66):this['_state']!==_0x292213?this[_0x170834(0x1c9)]([this[_0x170834(0x258)],_0x2950c9,this[_0x170834(0x10d)],_0x16a76b,_0x216b66]):this[_0x170834(0x258)](_0x2950c9,this[_0x170834(0x10d)],_0x16a76b,_0x216b66);}[_0x5944cb(0x1fd)](_0x4d99d0,_0xc02c76,_0x2e5abb,_0x2bbf4d){const _0x1d38b5=_0x5944cb;this[_0x1d38b5(0x123)]+=_0x2e5abb[_0x584fd5],this[_0x1d38b5(0x17d)]=_0x2c7353,_0x4d99d0[_0x1d38b5(0x22c)]()[_0x1d38b5(0xa3)](_0x28e856=>{const _0x43dd2b=_0x1d38b5;if(this[_0x43dd2b(0x1f4)]['destroyed']){const _0x3a44cd=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x43dd2b(0x242)](_0x89d83a,this,_0x3a44cd,_0x2bbf4d);return;}this[_0x43dd2b(0x123)]-=_0x2e5abb[_0x584fd5];const _0x27eed4=_0x33c82b(_0x28e856);_0xc02c76?this[_0x43dd2b(0x258)](_0x27eed4,_0xc02c76,_0x2e5abb,_0x2bbf4d):(this['_state']=_0x292213,this[_0x43dd2b(0xe1)](_0x3e704b[_0x43dd2b(0x23a)](_0x27eed4,_0x2e5abb),_0x2bbf4d),this[_0x43dd2b(0x243)]());})[_0x1d38b5(0x144)](_0x318eef=>{const _0x35738f=_0x1d38b5;process[_0x35738f(0x242)](_0x402dc6,this,_0x318eef,_0x2bbf4d);});}['dispatch'](_0x350498,_0x2695b9,_0xa32b05,_0x4d5fb8){const _0x3d5439=_0x5944cb;if(!_0x2695b9){this['sendFrame'](_0x3e704b[_0x3d5439(0x23a)](_0x350498,_0xa32b05),_0x4d5fb8);return;}const _0x5aaaa6=this[_0x3d5439(0x1fa)][_0x25046[_0x3d5439(0x147)]];this[_0x3d5439(0x123)]+=_0xa32b05[_0x584fd5],this[_0x3d5439(0x17d)]=_0x60e1a7,_0x5aaaa6[_0x3d5439(0x1dd)](_0x350498,_0xa32b05[_0x3d5439(0x23f)],(_0x26d8d6,_0x58ecce)=>{const _0x3c2556=_0x3d5439;if(this[_0x3c2556(0x1f4)][_0x3c2556(0x217)]){const _0x5a4de6=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x89d83a(this,_0x5a4de6,_0x4d5fb8);return;}this[_0x3c2556(0x123)]-=_0xa32b05[_0x584fd5],this[_0x3c2556(0x17d)]=_0x292213,_0xa32b05[_0x3c2556(0x18a)]=!0x1,this['sendFrame'](_0x3e704b[_0x3c2556(0x23a)](_0x58ecce,_0xa32b05),_0x4d5fb8),this[_0x3c2556(0x243)]();});}[_0x5944cb(0x243)](){const _0x5253da=_0x5944cb;for(;this['_state']===_0x292213&&this[_0x5253da(0x194)][_0x5253da(0x1b2)];){const _0x44b554=this[_0x5253da(0x194)]['shift']();this[_0x5253da(0x123)]-=_0x44b554[0x3][_0x584fd5],Reflect['apply'](_0x44b554[0x0],this,_0x44b554[_0x5253da(0x169)](0x1));}}[_0x5944cb(0x1c9)](_0x3d6cac){const _0x56a41e=_0x5944cb;this[_0x56a41e(0x123)]+=_0x3d6cac[0x3][_0x584fd5],this[_0x56a41e(0x194)][_0x56a41e(0xf0)](_0x3d6cac);}[_0x5944cb(0xe1)](_0x5166be,_0x24e9a7){const _0x2fe0b2=_0x5944cb;_0x5166be['length']===0x2?(this[_0x2fe0b2(0x1f4)]['cork'](),this[_0x2fe0b2(0x1f4)][_0x2fe0b2(0x1d7)](_0x5166be[0x0]),this[_0x2fe0b2(0x1f4)]['write'](_0x5166be[0x1],_0x24e9a7),this['_socket'][_0x2fe0b2(0x9d)]()):this[_0x2fe0b2(0x1f4)]['write'](_0x5166be[0x0],_0x24e9a7);}}Ee=_0x3e704b;function _0x89d83a(_0x350a6a,_0x400159,_0x186a00){const _0x277c1a=_0x5944cb;typeof _0x186a00=='function'&&_0x186a00(_0x400159);for(let _0x5006b3=0x0;_0x5006b3<_0x350a6a['_queue'][_0x277c1a(0x1b2)];_0x5006b3++){const _0xea6388=_0x350a6a[_0x277c1a(0x194)][_0x5006b3],_0xcee6be=_0xea6388[_0xea6388[_0x277c1a(0x1b2)]-0x1];typeof _0xcee6be==_0x277c1a(0x1d8)&&_0xcee6be(_0x400159);}}function _0x402dc6(_0x3f5345,_0x57a2b4,_0xc70a48){const _0x3c0ea3=_0x5944cb;_0x89d83a(_0x3f5345,_0x57a2b4,_0xc70a48),_0x3f5345[_0x3c0ea3(0x115)](_0x57a2b4);}return Ee;}function _0x2a8f(_0x29eded,_0x28bd8c){const _0x2e4b42=_0x2e4b();return _0x2a8f=function(_0x2a8f18,_0x1717a9){_0x2a8f18=_0x2a8f18-0x98;let _0x5b3cab=_0x2e4b42[_0x2a8f18];return _0x5b3cab;},_0x2a8f(_0x29eded,_0x28bd8c);}var xe,Ze;function It(){const _0x1da0a5=_0x17ae7d;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x410a81,kListener:_0x2c291d}=H(),_0xf212b8=Symbol(_0x1da0a5(0x122)),_0x43e61e=Symbol(_0x1da0a5(0x20c)),_0x1f9e83=Symbol(_0x1da0a5(0x1cb)),_0x22f8ff=Symbol('kMessage'),_0x50198b=Symbol(_0x1da0a5(0x158)),_0x53819d=Symbol('kTarget'),_0xd39467=Symbol('kType'),_0x3284bb=Symbol(_0x1da0a5(0xe8));class _0xeac4b{constructor(_0x2d3881){this[_0x53819d]=null,this[_0xd39467]=_0x2d3881;}get[_0x1da0a5(0x16c)](){return this[_0x53819d];}get[_0x1da0a5(0x251)](){return this[_0xd39467];}}Object[_0x1da0a5(0x1ae)](_0xeac4b[_0x1da0a5(0x23c)],_0x1da0a5(0x16c),{'enumerable':!0x0}),Object[_0x1da0a5(0x1ae)](_0xeac4b[_0x1da0a5(0x23c)],_0x1da0a5(0x251),{'enumerable':!0x0});class _0xbf5cbb extends _0xeac4b{constructor(_0x335afc,_0x4f2376={}){const _0x5861be=_0x1da0a5;super(_0x335afc),this[_0xf212b8]=_0x4f2376[_0x5861be(0xeb)]===void 0x0?0x0:_0x4f2376[_0x5861be(0xeb)],this[_0x50198b]=_0x4f2376['reason']===void 0x0?'':_0x4f2376['reason'],this[_0x3284bb]=_0x4f2376[_0x5861be(0x110)]===void 0x0?!0x1:_0x4f2376[_0x5861be(0x110)];}get[_0x1da0a5(0xeb)](){return this[_0xf212b8];}get[_0x1da0a5(0x245)](){return this[_0x50198b];}get[_0x1da0a5(0x110)](){return this[_0x3284bb];}}Object[_0x1da0a5(0x1ae)](_0xbf5cbb[_0x1da0a5(0x23c)],'code',{'enumerable':!0x0}),Object['defineProperty'](_0xbf5cbb[_0x1da0a5(0x23c)],_0x1da0a5(0x245),{'enumerable':!0x0}),Object[_0x1da0a5(0x1ae)](_0xbf5cbb['prototype'],_0x1da0a5(0x110),{'enumerable':!0x0});class _0x31b78f extends _0xeac4b{constructor(_0x210b73,_0x5c019a={}){const _0x3617b9=_0x1da0a5;super(_0x210b73),this[_0x1f9e83]=_0x5c019a['error']===void 0x0?null:_0x5c019a['error'],this[_0x22f8ff]=_0x5c019a[_0x3617b9(0xa4)]===void 0x0?'':_0x5c019a[_0x3617b9(0xa4)];}get['error'](){return this[_0x1f9e83];}get[_0x1da0a5(0xa4)](){return this[_0x22f8ff];}}Object[_0x1da0a5(0x1ae)](_0x31b78f[_0x1da0a5(0x23c)],_0x1da0a5(0xfd),{'enumerable':!0x0}),Object[_0x1da0a5(0x1ae)](_0x31b78f[_0x1da0a5(0x23c)],_0x1da0a5(0xa4),{'enumerable':!0x0});class _0x1a2571 extends _0xeac4b{constructor(_0x5ce1a2,_0x6beb99={}){const _0x543a5c=_0x1da0a5;super(_0x5ce1a2),this[_0x43e61e]=_0x6beb99[_0x543a5c(0x1df)]===void 0x0?null:_0x6beb99['data'];}get[_0x1da0a5(0x1df)](){return this[_0x43e61e];}}Object[_0x1da0a5(0x1ae)](_0x1a2571[_0x1da0a5(0x23c)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0xbf5cbb,'ErrorEvent':_0x31b78f,'Event':_0xeac4b,'EventTarget':{'addEventListener'(_0x1743c1,_0x1b5b48,_0x5d7cd1={}){const _0x14f357=_0x1da0a5;for(const _0x4b3983 of this['listeners'](_0x1743c1))if(!_0x5d7cd1[_0x410a81]&&_0x4b3983[_0x2c291d]===_0x1b5b48&&!_0x4b3983[_0x410a81])return;let _0x4c3997;if(_0x1743c1==='message')_0x4c3997=function(_0x591eea,_0x374d9f){const _0x938872=_0x2a8f,_0x423253=new _0x1a2571(_0x938872(0xa4),{'data':_0x374d9f?_0x591eea:_0x591eea[_0x938872(0x214)]()});_0x423253[_0x53819d]=this,_0x33e07d(_0x1b5b48,this,_0x423253);};else{if(_0x1743c1===_0x14f357(0x19f))_0x4c3997=function(_0x4de615,_0x583a2a){const _0x3255e3=_0x14f357,_0xc8a4ef=new _0xbf5cbb('close',{'code':_0x4de615,'reason':_0x583a2a['toString'](),'wasClean':this[_0x3255e3(0x156)]&&this[_0x3255e3(0x168)]});_0xc8a4ef[_0x53819d]=this,_0x33e07d(_0x1b5b48,this,_0xc8a4ef);};else{if(_0x1743c1===_0x14f357(0xfd))_0x4c3997=function(_0x442da6){const _0xf35792=_0x14f357,_0x5cfa34=new _0x31b78f(_0xf35792(0xfd),{'error':_0x442da6,'message':_0x442da6[_0xf35792(0xa4)]});_0x5cfa34[_0x53819d]=this,_0x33e07d(_0x1b5b48,this,_0x5cfa34);};else{if(_0x1743c1===_0x14f357(0x232))_0x4c3997=function(){const _0x4c6b87=_0x14f357,_0x9cd324=new _0xeac4b(_0x4c6b87(0x232));_0x9cd324[_0x53819d]=this,_0x33e07d(_0x1b5b48,this,_0x9cd324);};else return;}}}_0x4c3997[_0x410a81]=!!_0x5d7cd1[_0x410a81],_0x4c3997[_0x2c291d]=_0x1b5b48,_0x5d7cd1['once']?this['once'](_0x1743c1,_0x4c3997):this['on'](_0x1743c1,_0x4c3997);},'removeEventListener'(_0x190ee7,_0x3bf5d8){const _0x59cee7=_0x1da0a5;for(const _0x1c45f5 of this[_0x59cee7(0x222)](_0x190ee7))if(_0x1c45f5[_0x2c291d]===_0x3bf5d8&&!_0x1c45f5[_0x410a81]){this[_0x59cee7(0x118)](_0x190ee7,_0x1c45f5);break;}}},'MessageEvent':_0x1a2571};function _0x33e07d(_0x22c513,_0x4c11e3,_0x5365cf){const _0x2ae4f0=_0x1da0a5;typeof _0x22c513==_0x2ae4f0(0x1e8)&&_0x22c513[_0x2ae4f0(0xc8)]?_0x22c513[_0x2ae4f0(0xc8)][_0x2ae4f0(0x20b)](_0x22c513,_0x5365cf):_0x22c513[_0x2ae4f0(0x20b)](_0x4c11e3,_0x5365cf);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x3cd1e4}=ae();function _0x59c03b(_0x5a833e,_0x3c99c4,_0x3bea30){const _0x518396=_0x2a8f;_0x5a833e[_0x3c99c4]===void 0x0?_0x5a833e[_0x3c99c4]=[_0x3bea30]:_0x5a833e[_0x3c99c4][_0x518396(0xf0)](_0x3bea30);}function _0x592f57(_0x4cd1e1){const _0x80472c=_0x2a8f,_0xfc74ac=Object['create'](null);let _0x1dee40=Object[_0x80472c(0x24c)](null),_0xe396d8=!0x1,_0xa03d7d=!0x1,_0x2597bd=!0x1,_0x385584,_0xb01c19,_0x4a32a5=-0x1,_0x5d0eaa=-0x1,_0x3855aa=-0x1,_0x2c828f=0x0;for(;_0x2c828f<_0x4cd1e1[_0x80472c(0x1b2)];_0x2c828f++)if(_0x5d0eaa=_0x4cd1e1['charCodeAt'](_0x2c828f),_0x385584===void 0x0){if(_0x3855aa===-0x1&&_0x3cd1e4[_0x5d0eaa]===0x1)_0x4a32a5===-0x1&&(_0x4a32a5=_0x2c828f);else{if(_0x2c828f!==0x0&&(_0x5d0eaa===0x20||_0x5d0eaa===0x9))_0x3855aa===-0x1&&_0x4a32a5!==-0x1&&(_0x3855aa=_0x2c828f);else{if(_0x5d0eaa===0x3b||_0x5d0eaa===0x2c){if(_0x4a32a5===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2c828f);_0x3855aa===-0x1&&(_0x3855aa=_0x2c828f);const _0x476ffa=_0x4cd1e1[_0x80472c(0x169)](_0x4a32a5,_0x3855aa);_0x5d0eaa===0x2c?(_0x59c03b(_0xfc74ac,_0x476ffa,_0x1dee40),_0x1dee40=Object['create'](null)):_0x385584=_0x476ffa,_0x4a32a5=_0x3855aa=-0x1;}else throw new SyntaxError(_0x80472c(0x244)+_0x2c828f);}}}else{if(_0xb01c19===void 0x0){if(_0x3855aa===-0x1&&_0x3cd1e4[_0x5d0eaa]===0x1)_0x4a32a5===-0x1&&(_0x4a32a5=_0x2c828f);else{if(_0x5d0eaa===0x20||_0x5d0eaa===0x9)_0x3855aa===-0x1&&_0x4a32a5!==-0x1&&(_0x3855aa=_0x2c828f);else{if(_0x5d0eaa===0x3b||_0x5d0eaa===0x2c){if(_0x4a32a5===-0x1)throw new SyntaxError(_0x80472c(0x244)+_0x2c828f);_0x3855aa===-0x1&&(_0x3855aa=_0x2c828f),_0x59c03b(_0x1dee40,_0x4cd1e1[_0x80472c(0x169)](_0x4a32a5,_0x3855aa),!0x0),_0x5d0eaa===0x2c&&(_0x59c03b(_0xfc74ac,_0x385584,_0x1dee40),_0x1dee40=Object['create'](null),_0x385584=void 0x0),_0x4a32a5=_0x3855aa=-0x1;}else{if(_0x5d0eaa===0x3d&&_0x4a32a5!==-0x1&&_0x3855aa===-0x1)_0xb01c19=_0x4cd1e1[_0x80472c(0x169)](_0x4a32a5,_0x2c828f),_0x4a32a5=_0x3855aa=-0x1;else throw new SyntaxError(_0x80472c(0x244)+_0x2c828f);}}}}else{if(_0xa03d7d){if(_0x3cd1e4[_0x5d0eaa]!==0x1)throw new SyntaxError(_0x80472c(0x244)+_0x2c828f);_0x4a32a5===-0x1?_0x4a32a5=_0x2c828f:_0xe396d8||(_0xe396d8=!0x0),_0xa03d7d=!0x1;}else{if(_0x2597bd){if(_0x3cd1e4[_0x5d0eaa]===0x1)_0x4a32a5===-0x1&&(_0x4a32a5=_0x2c828f);else{if(_0x5d0eaa===0x22&&_0x4a32a5!==-0x1)_0x2597bd=!0x1,_0x3855aa=_0x2c828f;else{if(_0x5d0eaa===0x5c)_0xa03d7d=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2c828f);}}}else{if(_0x5d0eaa===0x22&&_0x4cd1e1['charCodeAt'](_0x2c828f-0x1)===0x3d)_0x2597bd=!0x0;else{if(_0x3855aa===-0x1&&_0x3cd1e4[_0x5d0eaa]===0x1)_0x4a32a5===-0x1&&(_0x4a32a5=_0x2c828f);else{if(_0x4a32a5!==-0x1&&(_0x5d0eaa===0x20||_0x5d0eaa===0x9))_0x3855aa===-0x1&&(_0x3855aa=_0x2c828f);else{if(_0x5d0eaa===0x3b||_0x5d0eaa===0x2c){if(_0x4a32a5===-0x1)throw new SyntaxError(_0x80472c(0x244)+_0x2c828f);_0x3855aa===-0x1&&(_0x3855aa=_0x2c828f);let _0x25577f=_0x4cd1e1[_0x80472c(0x169)](_0x4a32a5,_0x3855aa);_0xe396d8&&(_0x25577f=_0x25577f[_0x80472c(0x1fb)](/\\/g,''),_0xe396d8=!0x1),_0x59c03b(_0x1dee40,_0xb01c19,_0x25577f),_0x5d0eaa===0x2c&&(_0x59c03b(_0xfc74ac,_0x385584,_0x1dee40),_0x1dee40=Object[_0x80472c(0x24c)](null),_0x385584=void 0x0),_0xb01c19=void 0x0,_0x4a32a5=_0x3855aa=-0x1;}else throw new SyntaxError(_0x80472c(0x244)+_0x2c828f);}}}}}}}if(_0x4a32a5===-0x1||_0x2597bd||_0x5d0eaa===0x20||_0x5d0eaa===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x3855aa===-0x1&&(_0x3855aa=_0x2c828f);const _0x4f0be2=_0x4cd1e1[_0x80472c(0x169)](_0x4a32a5,_0x3855aa);return _0x385584===void 0x0?_0x59c03b(_0xfc74ac,_0x4f0be2,_0x1dee40):(_0xb01c19===void 0x0?_0x59c03b(_0x1dee40,_0x4f0be2,!0x0):_0xe396d8?_0x59c03b(_0x1dee40,_0xb01c19,_0x4f0be2[_0x80472c(0x1fb)](/\\/g,'')):_0x59c03b(_0x1dee40,_0xb01c19,_0x4f0be2),_0x59c03b(_0xfc74ac,_0x385584,_0x1dee40)),_0xfc74ac;}function _0x3eeae5(_0x102beb){const _0x47ca1e=_0x2a8f;return Object[_0x47ca1e(0xe0)](_0x102beb)[_0x47ca1e(0x1d0)](_0x5b018e=>{const _0x18131a=_0x47ca1e;let _0x5269a6=_0x102beb[_0x5b018e];return Array[_0x18131a(0xe7)](_0x5269a6)||(_0x5269a6=[_0x5269a6]),_0x5269a6['map'](_0x112717=>[_0x5b018e][_0x18131a(0x23b)](Object[_0x18131a(0xe0)](_0x112717)[_0x18131a(0x1d0)](_0x3f348d=>{const _0x32fead=_0x18131a;let _0x2d5eea=_0x112717[_0x3f348d];return Array[_0x32fead(0xe7)](_0x2d5eea)||(_0x2d5eea=[_0x2d5eea]),_0x2d5eea[_0x32fead(0x1d0)](_0x14d17c=>_0x14d17c===!0x0?_0x3f348d:_0x3f348d+'='+_0x14d17c)[_0x32fead(0x229)](';\x20');}))[_0x18131a(0x229)](';\x20'))[_0x18131a(0x229)](',\x20');})[_0x47ca1e(0x229)](',\x20');}return be={'format':_0x3eeae5,'parse':_0x592f57},be;}var we,Je;function Pe(){const _0x33c508=_0x17ae7d;if(Je)return we;Je=0x1;const _0x6dfd5a=nt,_0x2491d5=vt,_0x407129=ot,_0x238e05=St,_0x11d710=Et,{randomBytes:_0x18d0b9,createHash:_0x2f683a}=Le,{Duplex:_0x3e5e93,Readable:_0x4194ed}=oe,{URL:_0x161ab4}=xt,_0x40b783=he(),_0x1b997f=lt(),_0x2afebd=ft(),{isBlob:_0x1decad}=ae(),{BINARY_TYPES:_0x4b8b4e,EMPTY_BUFFER:_0x8a0c8d,GUID:_0x8a93b6,kForOnEventAttribute:_0x4d3568,kListener:_0x10c712,kStatusCode:_0xc5872e,kWebSocket:_0x50271f,NOOP:_0x433e5b}=H(),{EventTarget:{addEventListener:_0x17719e,removeEventListener:_0x1d1114}}=It(),{format:_0x29f8d6,parse:_0x47ce22}=ct(),{toBuffer:_0x3febfb}=ce(),_0x1b4188=0x1e*0x3e8,_0x253a72=Symbol(_0x33c508(0x13e)),_0x77d75c=[0x8,0xd],_0x76cedb=[_0x33c508(0xae),_0x33c508(0x1a2),'CLOSING',_0x33c508(0x20a)],_0x4e2ead=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x22216a extends _0x6dfd5a{constructor(_0x4b420b,_0x4d197d,_0x40c080){const _0x8fab5f=_0x33c508;super(),this[_0x8fab5f(0x22b)]=_0x4b8b4e[0x0],this[_0x8fab5f(0x21f)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x8fab5f(0x168)]=!0x1,this['_closeMessage']=_0x8a0c8d,this[_0x8fab5f(0x1f8)]=null,this[_0x8fab5f(0x162)]=!0x1,this['_extensions']={},this[_0x8fab5f(0x1ff)]=!0x1,this[_0x8fab5f(0x21c)]='',this[_0x8fab5f(0x211)]=_0x22216a[_0x8fab5f(0xae)],this[_0x8fab5f(0xfe)]=null,this[_0x8fab5f(0x1e1)]=null,this[_0x8fab5f(0x1f4)]=null,_0x4b420b!==null?(this['_bufferedAmount']=0x0,this['_isServer']=!0x1,this['_redirects']=0x0,_0x4d197d===void 0x0?_0x4d197d=[]:Array[_0x8fab5f(0xe7)](_0x4d197d)||(typeof _0x4d197d==_0x8fab5f(0x1e8)&&_0x4d197d!==null?(_0x40c080=_0x4d197d,_0x4d197d=[]):_0x4d197d=[_0x4d197d]),_0x39b5e2(this,_0x4b420b,_0x4d197d,_0x40c080)):(this['_autoPong']=_0x40c080[_0x8fab5f(0x155)],this[_0x8fab5f(0x109)]=!0x0);}get[_0x33c508(0x1e2)](){const _0xec1a41=_0x33c508;return this[_0xec1a41(0x22b)];}set[_0x33c508(0x1e2)](_0x756944){const _0x2f53f2=_0x33c508;_0x4b8b4e[_0x2f53f2(0x112)](_0x756944)&&(this[_0x2f53f2(0x22b)]=_0x756944,this[_0x2f53f2(0xfe)]&&(this[_0x2f53f2(0xfe)][_0x2f53f2(0x22b)]=_0x756944));}get[_0x33c508(0xb9)](){const _0x1d6335=_0x33c508;return this[_0x1d6335(0x1f4)]?this[_0x1d6335(0x1f4)][_0x1d6335(0xcf)]['length']+this[_0x1d6335(0x1e1)][_0x1d6335(0x123)]:this[_0x1d6335(0x252)];}get[_0x33c508(0xf6)](){const _0x21c0e8=_0x33c508;return Object[_0x21c0e8(0xe0)](this[_0x21c0e8(0x1fa)])['join']();}get[_0x33c508(0xb5)](){const _0x396261=_0x33c508;return this[_0x396261(0x1ff)];}get[_0x33c508(0x14b)](){return null;}get[_0x33c508(0x115)](){return null;}get['onopen'](){return null;}get[_0x33c508(0x247)](){return null;}get[_0x33c508(0x13f)](){const _0x2c90c9=_0x33c508;return this[_0x2c90c9(0x21c)];}get[_0x33c508(0xd0)](){const _0x162e62=_0x33c508;return this[_0x162e62(0x211)];}get['url'](){const _0x5a6a0c=_0x33c508;return this[_0x5a6a0c(0xd3)];}[_0x33c508(0x1e4)](_0x2c9680,_0x1b0154,_0x35b274){const _0x4c894d=_0x33c508,_0x20f817=new _0x1b997f({'allowSynchronousEvents':_0x35b274[_0x4c894d(0x240)],'binaryType':this[_0x4c894d(0x1e2)],'extensions':this[_0x4c894d(0x1fa)],'isServer':this['_isServer'],'maxPayload':_0x35b274[_0x4c894d(0x1f6)],'skipUTF8Validation':_0x35b274[_0x4c894d(0x1b4)]}),_0x3e5ca6=new _0x2afebd(_0x2c9680,this[_0x4c894d(0x1fa)],_0x35b274[_0x4c894d(0x152)]);this[_0x4c894d(0xfe)]=_0x20f817,this[_0x4c894d(0x1e1)]=_0x3e5ca6,this[_0x4c894d(0x1f4)]=_0x2c9680,_0x20f817[_0x50271f]=this,_0x3e5ca6[_0x50271f]=this,_0x2c9680[_0x50271f]=this,_0x20f817['on'](_0x4c894d(0x1fc),_0x2fc909),_0x20f817['on']('drain',_0xcaefc),_0x20f817['on']('error',_0xccc0a1),_0x20f817['on'](_0x4c894d(0xa4),_0xc60a71),_0x20f817['on'](_0x4c894d(0x1a6),_0xb84ff6),_0x20f817['on'](_0x4c894d(0x173),_0x54358c),_0x3e5ca6[_0x4c894d(0x115)]=_0x3defbe,_0x2c9680[_0x4c894d(0x227)]&&_0x2c9680[_0x4c894d(0x227)](0x0),_0x2c9680[_0x4c894d(0xe3)]&&_0x2c9680[_0x4c894d(0xe3)](),_0x1b0154['length']>0x0&&_0x2c9680[_0x4c894d(0x11f)](_0x1b0154),_0x2c9680['on'](_0x4c894d(0x19f),_0x58f3f0),_0x2c9680['on']('data',_0x50f9d4),_0x2c9680['on'](_0x4c894d(0x1c0),_0x3e687b),_0x2c9680['on'](_0x4c894d(0xfd),_0xa9c396),this[_0x4c894d(0x211)]=_0x22216a[_0x4c894d(0x1a2)],this[_0x4c894d(0xc4)](_0x4c894d(0x232));}[_0x33c508(0x10f)](){const _0x516aef=_0x33c508;if(!this[_0x516aef(0x1f4)]){this[_0x516aef(0x211)]=_0x22216a[_0x516aef(0x20a)],this['emit'](_0x516aef(0x19f),this[_0x516aef(0x21f)],this[_0x516aef(0x204)]);return;}this['_extensions'][_0x40b783['extensionName']]&&this[_0x516aef(0x1fa)][_0x40b783['extensionName']][_0x516aef(0x203)](),this['_receiver']['removeAllListeners'](),this[_0x516aef(0x211)]=_0x22216a[_0x516aef(0x20a)],this[_0x516aef(0xc4)]('close',this['_closeCode'],this[_0x516aef(0x204)]);}[_0x33c508(0x19f)](_0x56d206,_0x397c90){const _0x3b7d0b=_0x33c508;if(this['readyState']!==_0x22216a[_0x3b7d0b(0x20a)]){if(this[_0x3b7d0b(0xd0)]===_0x22216a[_0x3b7d0b(0xae)]){_0x15f598(this,this[_0x3b7d0b(0x149)],_0x3b7d0b(0x219));return;}if(this[_0x3b7d0b(0xd0)]===_0x22216a['CLOSING']){this['_closeFrameSent']&&(this[_0x3b7d0b(0x156)]||this[_0x3b7d0b(0xfe)][_0x3b7d0b(0xcf)][_0x3b7d0b(0x16f)])&&this[_0x3b7d0b(0x1f4)][_0x3b7d0b(0x1c0)]();return;}this[_0x3b7d0b(0x211)]=_0x22216a[_0x3b7d0b(0xf9)],this['_sender'][_0x3b7d0b(0x19f)](_0x56d206,_0x397c90,!this[_0x3b7d0b(0x109)],_0x2dc626=>{const _0x3f255a=_0x3b7d0b;_0x2dc626||(this[_0x3f255a(0x168)]=!0x0,(this[_0x3f255a(0x156)]||this['_receiver']['_writableState'][_0x3f255a(0x16f)])&&this[_0x3f255a(0x1f4)][_0x3f255a(0x1c0)]());}),_0x4c7ddb(this);}}[_0x33c508(0xe9)](){const _0x4eb5dc=_0x33c508;this[_0x4eb5dc(0xd0)]===_0x22216a[_0x4eb5dc(0xae)]||this[_0x4eb5dc(0xd0)]===_0x22216a[_0x4eb5dc(0x20a)]||(this[_0x4eb5dc(0x1ff)]=!0x0,this[_0x4eb5dc(0x1f4)]['pause']());}[_0x33c508(0x1a6)](_0x4cabcb,_0x2b6d62,_0x4f2cae){const _0x348c6b=_0x33c508;if(this[_0x348c6b(0xd0)]===_0x22216a[_0x348c6b(0xae)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x4cabcb==_0x348c6b(0x1d8)?(_0x4f2cae=_0x4cabcb,_0x4cabcb=_0x2b6d62=void 0x0):typeof _0x2b6d62==_0x348c6b(0x1d8)&&(_0x4f2cae=_0x2b6d62,_0x2b6d62=void 0x0),typeof _0x4cabcb==_0x348c6b(0x1b3)&&(_0x4cabcb=_0x4cabcb[_0x348c6b(0x214)]()),this[_0x348c6b(0xd0)]!==_0x22216a[_0x348c6b(0x1a2)]){_0x48d9d8(this,_0x4cabcb,_0x4f2cae);return;}_0x2b6d62===void 0x0&&(_0x2b6d62=!this[_0x348c6b(0x109)]),this[_0x348c6b(0x1e1)][_0x348c6b(0x1a6)](_0x4cabcb||_0x8a0c8d,_0x2b6d62,_0x4f2cae);}[_0x33c508(0x173)](_0x55889d,_0x2a029f,_0x3ce156){const _0x3a5f04=_0x33c508;if(this[_0x3a5f04(0xd0)]===_0x22216a[_0x3a5f04(0xae)])throw new Error(_0x3a5f04(0xaa));if(typeof _0x55889d==_0x3a5f04(0x1d8)?(_0x3ce156=_0x55889d,_0x55889d=_0x2a029f=void 0x0):typeof _0x2a029f==_0x3a5f04(0x1d8)&&(_0x3ce156=_0x2a029f,_0x2a029f=void 0x0),typeof _0x55889d==_0x3a5f04(0x1b3)&&(_0x55889d=_0x55889d[_0x3a5f04(0x214)]()),this[_0x3a5f04(0xd0)]!==_0x22216a[_0x3a5f04(0x1a2)]){_0x48d9d8(this,_0x55889d,_0x3ce156);return;}_0x2a029f===void 0x0&&(_0x2a029f=!this[_0x3a5f04(0x109)]),this[_0x3a5f04(0x1e1)]['pong'](_0x55889d||_0x8a0c8d,_0x2a029f,_0x3ce156);}[_0x33c508(0x241)](){const _0x3d9f5f=_0x33c508;this[_0x3d9f5f(0xd0)]===_0x22216a[_0x3d9f5f(0xae)]||this[_0x3d9f5f(0xd0)]===_0x22216a[_0x3d9f5f(0x20a)]||(this[_0x3d9f5f(0x1ff)]=!0x1,this[_0x3d9f5f(0xfe)][_0x3d9f5f(0xcf)][_0x3d9f5f(0x1f2)]||this[_0x3d9f5f(0x1f4)][_0x3d9f5f(0x241)]());}[_0x33c508(0x1be)](_0x15afcb,_0x2b61c3,_0x5822f8){const _0x56cd9a=_0x33c508;if(this[_0x56cd9a(0xd0)]===_0x22216a[_0x56cd9a(0xae)])throw new Error(_0x56cd9a(0xaa));if(typeof _0x2b61c3==_0x56cd9a(0x1d8)&&(_0x5822f8=_0x2b61c3,_0x2b61c3={}),typeof _0x15afcb==_0x56cd9a(0x1b3)&&(_0x15afcb=_0x15afcb[_0x56cd9a(0x214)]()),this['readyState']!==_0x22216a[_0x56cd9a(0x1a2)]){_0x48d9d8(this,_0x15afcb,_0x5822f8);return;}const _0x152eb4={'binary':typeof _0x15afcb!=_0x56cd9a(0x255),'mask':!this[_0x56cd9a(0x109)],'compress':!0x0,'fin':!0x0,..._0x2b61c3};this['_extensions'][_0x40b783[_0x56cd9a(0x147)]]||(_0x152eb4[_0x56cd9a(0x1dd)]=!0x1),this['_sender'][_0x56cd9a(0x1be)](_0x15afcb||_0x8a0c8d,_0x152eb4,_0x5822f8);}[_0x33c508(0x1d9)](){const _0x27c113=_0x33c508;if(this[_0x27c113(0xd0)]!==_0x22216a['CLOSED']){if(this['readyState']===_0x22216a[_0x27c113(0xae)]){_0x15f598(this,this[_0x27c113(0x149)],_0x27c113(0x219));return;}this[_0x27c113(0x1f4)]&&(this[_0x27c113(0x211)]=_0x22216a['CLOSING'],this[_0x27c113(0x1f4)]['destroy']());}}}Object['defineProperty'](_0x22216a,_0x33c508(0xae),{'enumerable':!0x0,'value':_0x76cedb[_0x33c508(0x180)](_0x33c508(0xae))}),Object[_0x33c508(0x1ae)](_0x22216a[_0x33c508(0x23c)],_0x33c508(0xae),{'enumerable':!0x0,'value':_0x76cedb[_0x33c508(0x180)](_0x33c508(0xae))}),Object[_0x33c508(0x1ae)](_0x22216a,_0x33c508(0x1a2),{'enumerable':!0x0,'value':_0x76cedb['indexOf'](_0x33c508(0x1a2))}),Object[_0x33c508(0x1ae)](_0x22216a[_0x33c508(0x23c)],_0x33c508(0x1a2),{'enumerable':!0x0,'value':_0x76cedb[_0x33c508(0x180)]('OPEN')}),Object['defineProperty'](_0x22216a,_0x33c508(0xf9),{'enumerable':!0x0,'value':_0x76cedb[_0x33c508(0x180)](_0x33c508(0xf9))}),Object[_0x33c508(0x1ae)](_0x22216a['prototype'],_0x33c508(0xf9),{'enumerable':!0x0,'value':_0x76cedb[_0x33c508(0x180)](_0x33c508(0xf9))}),Object[_0x33c508(0x1ae)](_0x22216a,'CLOSED',{'enumerable':!0x0,'value':_0x76cedb[_0x33c508(0x180)](_0x33c508(0x20a))}),Object[_0x33c508(0x1ae)](_0x22216a[_0x33c508(0x23c)],_0x33c508(0x20a),{'enumerable':!0x0,'value':_0x76cedb[_0x33c508(0x180)](_0x33c508(0x20a))}),[_0x33c508(0x1e2),_0x33c508(0xb9),'extensions',_0x33c508(0xb5),_0x33c508(0x13f),_0x33c508(0xd0),_0x33c508(0x1c6)][_0x33c508(0x210)](_0x2f364a=>{const _0x211cc3=_0x33c508;Object['defineProperty'](_0x22216a[_0x211cc3(0x23c)],_0x2f364a,{'enumerable':!0x0});}),['open',_0x33c508(0xfd),_0x33c508(0x19f),'message']['forEach'](_0x7cad35=>{const _0x162dc1=_0x33c508;Object[_0x162dc1(0x1ae)](_0x22216a[_0x162dc1(0x23c)],'on'+_0x7cad35,{'enumerable':!0x0,'get'(){for(const _0x4667f0 of this['listeners'](_0x7cad35))if(_0x4667f0[_0x4d3568])return _0x4667f0[_0x10c712];return null;},'set'(_0x16880e){const _0x12fa30=_0x162dc1;for(const _0x2553f9 of this[_0x12fa30(0x222)](_0x7cad35))if(_0x2553f9[_0x4d3568]){this[_0x12fa30(0x118)](_0x7cad35,_0x2553f9);break;}typeof _0x16880e=='function'&&this['addEventListener'](_0x7cad35,_0x16880e,{[_0x4d3568]:!0x0});}});}),_0x22216a['prototype'][_0x33c508(0xb6)]=_0x17719e,_0x22216a[_0x33c508(0x23c)][_0x33c508(0x220)]=_0x1d1114,we=_0x22216a;function _0x39b5e2(_0x321287,_0x3a4ee9,_0x2bfa49,_0x1712fb){const _0x3dd66b=_0x33c508,_0x118b18={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x77d75c[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x1712fb,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x3dd66b(0x235),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x321287[_0x3dd66b(0x190)]=_0x118b18[_0x3dd66b(0x155)],!_0x77d75c[_0x3dd66b(0x112)](_0x118b18[_0x3dd66b(0x12d)]))throw new RangeError(_0x3dd66b(0x1f9)+_0x118b18[_0x3dd66b(0x12d)]+_0x3dd66b(0xaf)+_0x77d75c[_0x3dd66b(0x229)](',\x20')+')');let _0x47fc1b;if(_0x3a4ee9 instanceof _0x161ab4)_0x47fc1b=_0x3a4ee9;else try{_0x47fc1b=new _0x161ab4(_0x3a4ee9);}catch{throw new SyntaxError(_0x3dd66b(0xdf)+_0x3a4ee9);}_0x47fc1b[_0x3dd66b(0x13f)]==='http:'?_0x47fc1b['protocol']='ws:':_0x47fc1b['protocol']==='https:'&&(_0x47fc1b[_0x3dd66b(0x13f)]=_0x3dd66b(0x1ed)),_0x321287[_0x3dd66b(0xd3)]=_0x47fc1b['href'];const _0x108741=_0x47fc1b[_0x3dd66b(0x13f)]===_0x3dd66b(0x1ed),_0x52523d=_0x47fc1b[_0x3dd66b(0x13f)]==='ws+unix:';let _0x16e74c;if(_0x47fc1b[_0x3dd66b(0x13f)]!==_0x3dd66b(0x150)&&!_0x108741&&!_0x52523d?_0x16e74c='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':_0x52523d&&!_0x47fc1b[_0x3dd66b(0x188)]?_0x16e74c='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x47fc1b['hash']&&(_0x16e74c=_0x3dd66b(0x11b)),_0x16e74c){const _0xe1bf04=new SyntaxError(_0x16e74c);if(_0x321287[_0x3dd66b(0xbc)]===0x0)throw _0xe1bf04;_0x51bc2e(_0x321287,_0xe1bf04);return;}const _0x39eb87=_0x108741?0x1bb:0x50,_0x5b92d1=_0x18d0b9(0x10)[_0x3dd66b(0x214)](_0x3dd66b(0x253)),_0x5c34b6=_0x108741?_0x2491d5[_0x3dd66b(0x170)]:_0x407129['request'],_0x26c3fb=new Set();let _0x1948fa;if(_0x118b18[_0x3dd66b(0xde)]=_0x118b18[_0x3dd66b(0xde)]||(_0x108741?_0x2d0191:_0x2fac17),_0x118b18['defaultPort']=_0x118b18[_0x3dd66b(0x1a4)]||_0x39eb87,_0x118b18[_0x3dd66b(0xc6)]=_0x47fc1b[_0x3dd66b(0xc6)]||_0x39eb87,_0x118b18['host']=_0x47fc1b[_0x3dd66b(0x197)][_0x3dd66b(0x1c7)]('[')?_0x47fc1b['hostname'][_0x3dd66b(0x169)](0x1,-0x1):_0x47fc1b[_0x3dd66b(0x197)],_0x118b18['headers']={..._0x118b18['headers'],'Sec-WebSocket-Version':_0x118b18[_0x3dd66b(0x12d)],'Sec-WebSocket-Key':_0x5b92d1,'Connection':'Upgrade','Upgrade':_0x3dd66b(0x1e7)},_0x118b18[_0x3dd66b(0x1b9)]=_0x47fc1b['pathname']+_0x47fc1b[_0x3dd66b(0xd9)],_0x118b18['timeout']=_0x118b18[_0x3dd66b(0x21d)],_0x118b18[_0x3dd66b(0x163)]&&(_0x1948fa=new _0x40b783(_0x118b18[_0x3dd66b(0x163)]!==!0x0?_0x118b18[_0x3dd66b(0x163)]:{},!0x1,_0x118b18['maxPayload']),_0x118b18[_0x3dd66b(0x9a)][_0x3dd66b(0x18c)]=_0x29f8d6({[_0x40b783['extensionName']]:_0x1948fa[_0x3dd66b(0xa5)]()})),_0x2bfa49[_0x3dd66b(0x1b2)]){for(const _0x46dbe0 of _0x2bfa49){if(typeof _0x46dbe0!=_0x3dd66b(0x255)||!_0x4e2ead[_0x3dd66b(0xb1)](_0x46dbe0)||_0x26c3fb['has'](_0x46dbe0))throw new SyntaxError(_0x3dd66b(0x12c));_0x26c3fb[_0x3dd66b(0x128)](_0x46dbe0);}_0x118b18['headers'][_0x3dd66b(0x21b)]=_0x2bfa49['join'](',');}if(_0x118b18[_0x3dd66b(0xa8)]&&(_0x118b18[_0x3dd66b(0x12d)]<0xd?_0x118b18[_0x3dd66b(0x9a)]['Sec-WebSocket-Origin']=_0x118b18[_0x3dd66b(0xa8)]:_0x118b18[_0x3dd66b(0x9a)][_0x3dd66b(0x1ba)]=_0x118b18['origin']),(_0x47fc1b[_0x3dd66b(0x171)]||_0x47fc1b[_0x3dd66b(0x12a)])&&(_0x118b18[_0x3dd66b(0x1da)]=_0x47fc1b[_0x3dd66b(0x171)]+':'+_0x47fc1b[_0x3dd66b(0x12a)]),_0x52523d){const _0x2215f5=_0x118b18[_0x3dd66b(0x1b9)][_0x3dd66b(0xad)](':');_0x118b18['socketPath']=_0x2215f5[0x0],_0x118b18['path']=_0x2215f5[0x1];}let _0x159344;if(_0x118b18[_0x3dd66b(0xfc)]){if(_0x321287[_0x3dd66b(0xbc)]===0x0){_0x321287['_originalIpc']=_0x52523d,_0x321287[_0x3dd66b(0xca)]=_0x108741,_0x321287[_0x3dd66b(0xec)]=_0x52523d?_0x118b18[_0x3dd66b(0x17e)]:_0x47fc1b['host'];const _0x88fb10=_0x1712fb&&_0x1712fb['headers'];if(_0x1712fb={..._0x1712fb,'headers':{}},_0x88fb10){for(const [_0x32d90b,_0x1a631b]of Object[_0x3dd66b(0x16e)](_0x88fb10))_0x1712fb[_0x3dd66b(0x9a)][_0x32d90b[_0x3dd66b(0x164)]()]=_0x1a631b;}}else{if(_0x321287[_0x3dd66b(0x223)](_0x3dd66b(0xa0))===0x0){const _0x453bfb=_0x52523d?_0x321287[_0x3dd66b(0xac)]?_0x118b18[_0x3dd66b(0x17e)]===_0x321287[_0x3dd66b(0xec)]:!0x1:_0x321287['_originalIpc']?!0x1:_0x47fc1b[_0x3dd66b(0x201)]===_0x321287[_0x3dd66b(0xec)];(!_0x453bfb||_0x321287[_0x3dd66b(0xca)]&&!_0x108741)&&(delete _0x118b18[_0x3dd66b(0x9a)][_0x3dd66b(0x177)],delete _0x118b18[_0x3dd66b(0x9a)][_0x3dd66b(0x1db)],_0x453bfb||delete _0x118b18[_0x3dd66b(0x9a)][_0x3dd66b(0x201)],_0x118b18[_0x3dd66b(0x1da)]=void 0x0);}}_0x118b18[_0x3dd66b(0x1da)]&&!_0x1712fb['headers'][_0x3dd66b(0x177)]&&(_0x1712fb[_0x3dd66b(0x9a)][_0x3dd66b(0x177)]=_0x3dd66b(0x19d)+Buffer[_0x3dd66b(0x23d)](_0x118b18[_0x3dd66b(0x1da)])['toString'](_0x3dd66b(0x253))),_0x159344=_0x321287['_req']=_0x5c34b6(_0x118b18),_0x321287[_0x3dd66b(0xbc)]&&_0x321287[_0x3dd66b(0xc4)](_0x3dd66b(0xa0),_0x321287['url'],_0x159344);}else _0x159344=_0x321287[_0x3dd66b(0x149)]=_0x5c34b6(_0x118b18);_0x118b18[_0x3dd66b(0x135)]&&_0x159344['on'](_0x3dd66b(0x135),()=>{const _0x5bcbbd=_0x3dd66b;_0x15f598(_0x321287,_0x159344,_0x5bcbbd(0x117));}),_0x159344['on'](_0x3dd66b(0xfd),_0x3d59f9=>{_0x159344===null||_0x159344[_0x253a72]||(_0x159344=_0x321287['_req']=null,_0x51bc2e(_0x321287,_0x3d59f9));}),_0x159344['on']('response',_0x3df008=>{const _0x97ce33=_0x3dd66b,_0x18bacf=_0x3df008['headers'][_0x97ce33(0x19e)],_0x4c918f=_0x3df008['statusCode'];if(_0x18bacf&&_0x118b18[_0x97ce33(0xfc)]&&_0x4c918f>=0x12c&&_0x4c918f<0x190){if(++_0x321287[_0x97ce33(0xbc)]>_0x118b18[_0x97ce33(0x130)]){_0x15f598(_0x321287,_0x159344,'Maximum\x20redirects\x20exceeded');return;}_0x159344['abort']();let _0xbc12f1;try{_0xbc12f1=new _0x161ab4(_0x18bacf,_0x3a4ee9);}catch{const _0x2f4a27=new SyntaxError(_0x97ce33(0xdf)+_0x18bacf);_0x51bc2e(_0x321287,_0x2f4a27);return;}_0x39b5e2(_0x321287,_0xbc12f1,_0x2bfa49,_0x1712fb);}else _0x321287[_0x97ce33(0xc4)]('unexpected-response',_0x159344,_0x3df008)||_0x15f598(_0x321287,_0x159344,_0x97ce33(0x207)+_0x3df008[_0x97ce33(0x10b)]);}),_0x159344['on']('upgrade',(_0x29fefd,_0x282adb,_0x3be137)=>{const _0x301f08=_0x3dd66b;if(_0x321287[_0x301f08(0xc4)](_0x301f08(0x100),_0x29fefd),_0x321287[_0x301f08(0xd0)]!==_0x22216a[_0x301f08(0xae)])return;_0x159344=_0x321287[_0x301f08(0x149)]=null;const _0x1551d4=_0x29fefd['headers'][_0x301f08(0x100)];if(_0x1551d4===void 0x0||_0x1551d4[_0x301f08(0x164)]()!==_0x301f08(0x1e7)){_0x15f598(_0x321287,_0x282adb,_0x301f08(0x183));return;}const _0x1769d6=_0x2f683a('sha1')[_0x301f08(0x24b)](_0x5b92d1+_0x8a93b6)[_0x301f08(0xc2)]('base64');if(_0x29fefd[_0x301f08(0x9a)][_0x301f08(0x102)]!==_0x1769d6){_0x15f598(_0x321287,_0x282adb,_0x301f08(0x1e5));return;}const _0x47b32b=_0x29fefd[_0x301f08(0x9a)][_0x301f08(0xbe)];let _0x12f9cb;if(_0x47b32b!==void 0x0?_0x26c3fb['size']?_0x26c3fb['has'](_0x47b32b)||(_0x12f9cb=_0x301f08(0x133)):_0x12f9cb='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x26c3fb[_0x301f08(0x191)]&&(_0x12f9cb='Server\x20sent\x20no\x20subprotocol'),_0x12f9cb){_0x15f598(_0x321287,_0x282adb,_0x12f9cb);return;}_0x47b32b&&(_0x321287[_0x301f08(0x21c)]=_0x47b32b);const _0x236cc3=_0x29fefd[_0x301f08(0x9a)][_0x301f08(0x11a)];if(_0x236cc3!==void 0x0){if(!_0x1948fa){_0x15f598(_0x321287,_0x282adb,_0x301f08(0x14e));return;}let _0x41600d;try{_0x41600d=_0x47ce22(_0x236cc3);}catch{_0x15f598(_0x321287,_0x282adb,_0x301f08(0x22e));return;}const _0x1f3f0c=Object[_0x301f08(0xe0)](_0x41600d);if(_0x1f3f0c[_0x301f08(0x1b2)]!==0x1||_0x1f3f0c[0x0]!==_0x40b783[_0x301f08(0x147)]){_0x15f598(_0x321287,_0x282adb,_0x301f08(0x1ad));return;}try{_0x1948fa[_0x301f08(0x12f)](_0x41600d[_0x40b783['extensionName']]);}catch{_0x15f598(_0x321287,_0x282adb,_0x301f08(0x22e));return;}_0x321287[_0x301f08(0x1fa)][_0x40b783[_0x301f08(0x147)]]=_0x1948fa;}_0x321287[_0x301f08(0x1e4)](_0x282adb,_0x3be137,{'allowSynchronousEvents':_0x118b18[_0x301f08(0x240)],'generateMask':_0x118b18['generateMask'],'maxPayload':_0x118b18['maxPayload'],'skipUTF8Validation':_0x118b18['skipUTF8Validation']});}),_0x118b18['finishRequest']?_0x118b18[_0x3dd66b(0x1cc)](_0x159344,_0x321287):_0x159344['end']();}function _0x51bc2e(_0x181dcb,_0x504b55){const _0x28626a=_0x33c508;_0x181dcb['_readyState']=_0x22216a[_0x28626a(0xf9)],_0x181dcb[_0x28626a(0x162)]=!0x0,_0x181dcb['emit'](_0x28626a(0xfd),_0x504b55),_0x181dcb['emitClose']();}function _0x2fac17(_0x60e4cb){return _0x60e4cb['path']=_0x60e4cb['socketPath'],_0x238e05['connect'](_0x60e4cb);}function _0x2d0191(_0x97b3d1){const _0x42bfe5=_0x33c508;return _0x97b3d1[_0x42bfe5(0x1b9)]=void 0x0,!_0x97b3d1['servername']&&_0x97b3d1['servername']!==''&&(_0x97b3d1['servername']=_0x238e05[_0x42bfe5(0x1f5)](_0x97b3d1[_0x42bfe5(0x201)])?'':_0x97b3d1['host']),_0x11d710[_0x42bfe5(0x1c1)](_0x97b3d1);}function _0x15f598(_0x2ef6ea,_0x305db3,_0x2a1fa2){const _0x5452a8=_0x33c508;_0x2ef6ea[_0x5452a8(0x211)]=_0x22216a[_0x5452a8(0xf9)];const _0x4ba008=new Error(_0x2a1fa2);Error[_0x5452a8(0x157)](_0x4ba008,_0x15f598),_0x305db3[_0x5452a8(0x1b8)]?(_0x305db3[_0x253a72]=!0x0,_0x305db3['abort'](),_0x305db3[_0x5452a8(0xb4)]&&!_0x305db3[_0x5452a8(0xb4)]['destroyed']&&_0x305db3['socket'][_0x5452a8(0x145)](),process['nextTick'](_0x51bc2e,_0x2ef6ea,_0x4ba008)):(_0x305db3[_0x5452a8(0x145)](_0x4ba008),_0x305db3[_0x5452a8(0xd4)](_0x5452a8(0xfd),_0x2ef6ea[_0x5452a8(0xc4)]['bind'](_0x2ef6ea,'error')),_0x305db3[_0x5452a8(0xd4)]('close',_0x2ef6ea['emitClose'][_0x5452a8(0x1c3)](_0x2ef6ea)));}function _0x48d9d8(_0x45d79b,_0x12e097,_0xb59301){const _0x304754=_0x33c508;if(_0x12e097){const _0xe31c30=_0x1decad(_0x12e097)?_0x12e097[_0x304754(0x191)]:_0x3febfb(_0x12e097)[_0x304754(0x1b2)];_0x45d79b['_socket']?_0x45d79b[_0x304754(0x1e1)][_0x304754(0x123)]+=_0xe31c30:_0x45d79b[_0x304754(0x252)]+=_0xe31c30;}if(_0xb59301){const _0x54b847=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x45d79b[_0x304754(0xd0)]+'\x20('+_0x76cedb[_0x45d79b[_0x304754(0xd0)]]+')');process['nextTick'](_0xb59301,_0x54b847);}}function _0x2fc909(_0x468302,_0x60a725){const _0x2f8abf=_0x33c508,_0x5464aa=this[_0x50271f];_0x5464aa[_0x2f8abf(0x156)]=!0x0,_0x5464aa['_closeMessage']=_0x60a725,_0x5464aa[_0x2f8abf(0x21f)]=_0x468302,_0x5464aa[_0x2f8abf(0x1f4)][_0x50271f]!==void 0x0&&(_0x5464aa[_0x2f8abf(0x1f4)]['removeListener'](_0x2f8abf(0x1df),_0x50f9d4),process[_0x2f8abf(0x242)](_0x32fe75,_0x5464aa[_0x2f8abf(0x1f4)]),_0x468302===0x3ed?_0x5464aa['close']():_0x5464aa[_0x2f8abf(0x19f)](_0x468302,_0x60a725));}function _0xcaefc(){const _0x1221bc=_0x33c508,_0x3d0d8d=this[_0x50271f];_0x3d0d8d[_0x1221bc(0xb5)]||_0x3d0d8d['_socket'][_0x1221bc(0x241)]();}function _0xccc0a1(_0x53e8ed){const _0x5adfcc=_0x33c508,_0x4c402f=this[_0x50271f];_0x4c402f['_socket'][_0x50271f]!==void 0x0&&(_0x4c402f[_0x5adfcc(0x1f4)][_0x5adfcc(0x118)](_0x5adfcc(0x1df),_0x50f9d4),process[_0x5adfcc(0x242)](_0x32fe75,_0x4c402f[_0x5adfcc(0x1f4)]),_0x4c402f['close'](_0x53e8ed[_0xc5872e])),_0x4c402f[_0x5adfcc(0x162)]||(_0x4c402f[_0x5adfcc(0x162)]=!0x0,_0x4c402f['emit'](_0x5adfcc(0xfd),_0x53e8ed));}function _0x560e74(){const _0x45bc0a=_0x33c508;this[_0x50271f][_0x45bc0a(0x10f)]();}function _0xc60a71(_0x3c7c18,_0x3d627a){const _0x4630d8=_0x33c508;this[_0x50271f]['emit'](_0x4630d8(0xa4),_0x3c7c18,_0x3d627a);}function _0xb84ff6(_0x1dee4e){const _0x41dfcc=_0x33c508,_0x5c8aa2=this[_0x50271f];_0x5c8aa2[_0x41dfcc(0x190)]&&_0x5c8aa2[_0x41dfcc(0x173)](_0x1dee4e,!this['_isServer'],_0x433e5b),_0x5c8aa2['emit'](_0x41dfcc(0x1a6),_0x1dee4e);}function _0x54358c(_0x438300){this[_0x50271f]['emit']('pong',_0x438300);}function _0x32fe75(_0x5b8159){const _0x49e38a=_0x33c508;_0x5b8159[_0x49e38a(0x241)]();}function _0x3defbe(_0x3a8640){const _0x52482f=_0x33c508,_0x202318=this[_0x50271f];_0x202318[_0x52482f(0xd0)]!==_0x22216a['CLOSED']&&(_0x202318[_0x52482f(0xd0)]===_0x22216a[_0x52482f(0x1a2)]&&(_0x202318[_0x52482f(0x211)]=_0x22216a['CLOSING'],_0x4c7ddb(_0x202318)),this['_socket'][_0x52482f(0x1c0)](),_0x202318[_0x52482f(0x162)]||(_0x202318[_0x52482f(0x162)]=!0x0,_0x202318[_0x52482f(0xc4)]('error',_0x3a8640)));}function _0x4c7ddb(_0x1eb5ee){const _0x444286=_0x33c508;_0x1eb5ee[_0x444286(0x1f8)]=setTimeout(_0x1eb5ee[_0x444286(0x1f4)][_0x444286(0x145)][_0x444286(0x1c3)](_0x1eb5ee[_0x444286(0x1f4)]),_0x1b4188);}function _0x58f3f0(){const _0x5b3f41=_0x33c508,_0xd99201=this[_0x50271f];this[_0x5b3f41(0x118)](_0x5b3f41(0x19f),_0x58f3f0),this['removeListener'](_0x5b3f41(0x1df),_0x50f9d4),this[_0x5b3f41(0x118)]('end',_0x3e687b),_0xd99201['_readyState']=_0x22216a[_0x5b3f41(0xf9)];let _0x34d750;!this[_0x5b3f41(0x179)][_0x5b3f41(0x237)]&&!_0xd99201[_0x5b3f41(0x156)]&&!_0xd99201['_receiver'][_0x5b3f41(0xcf)]['errorEmitted']&&(_0x34d750=_0xd99201[_0x5b3f41(0x1f4)]['read']())!==null&&_0xd99201[_0x5b3f41(0xfe)]['write'](_0x34d750),_0xd99201[_0x5b3f41(0xfe)][_0x5b3f41(0x1c0)](),this[_0x50271f]=void 0x0,clearTimeout(_0xd99201[_0x5b3f41(0x1f8)]),_0xd99201[_0x5b3f41(0xfe)][_0x5b3f41(0xcf)][_0x5b3f41(0xf4)]||_0xd99201[_0x5b3f41(0xfe)][_0x5b3f41(0xcf)][_0x5b3f41(0x16f)]?_0xd99201['emitClose']():(_0xd99201[_0x5b3f41(0xfe)]['on']('error',_0x560e74),_0xd99201[_0x5b3f41(0xfe)]['on'](_0x5b3f41(0xa6),_0x560e74));}function _0x50f9d4(_0x41bfe7){const _0x51e32d=_0x33c508;this[_0x50271f][_0x51e32d(0xfe)][_0x51e32d(0x1d7)](_0x41bfe7)||this['pause']();}function _0x3e687b(){const _0x399700=_0x33c508,_0x4ffd20=this[_0x50271f];_0x4ffd20[_0x399700(0x211)]=_0x22216a['CLOSING'],_0x4ffd20[_0x399700(0xfe)][_0x399700(0x1c0)](),this[_0x399700(0x1c0)]();}function _0xa9c396(){const _0x3a4051=_0x33c508,_0x3eb468=this[_0x50271f];this[_0x3a4051(0x118)]('error',_0xa9c396),this['on'](_0x3a4051(0xfd),_0x433e5b),_0x3eb468&&(_0x3eb468[_0x3a4051(0x211)]=_0x22216a[_0x3a4051(0xf9)],this[_0x3a4051(0x145)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0xfbcb6e}=oe;function _0x566f81(_0x3c6989){const _0x22f04c=_0x2a8f;_0x3c6989['emit'](_0x22f04c(0x19f));}function _0x476727(){const _0x2bca00=_0x2a8f;!this[_0x2bca00(0x217)]&&this['_writableState'][_0x2bca00(0xf4)]&&this[_0x2bca00(0x145)]();}function _0x1ceeb5(_0x1316eb){const _0x5a151c=_0x2a8f;this[_0x5a151c(0x118)]('error',_0x1ceeb5),this['destroy'](),this[_0x5a151c(0x223)](_0x5a151c(0xfd))===0x0&&this[_0x5a151c(0xc4)](_0x5a151c(0xfd),_0x1316eb);}function _0x13b154(_0x1f8ebc,_0x393e3e){const _0x1f94fc=_0x2a8f;let _0x31234c=!0x0;const _0x588f21=new _0xfbcb6e({..._0x393e3e,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x1f8ebc['on'](_0x1f94fc(0xa4),function(_0x72f9ce,_0x115c01){const _0x4a4b8e=_0x1f94fc,_0xfb00c8=!_0x115c01&&_0x588f21[_0x4a4b8e(0x179)][_0x4a4b8e(0xa9)]?_0x72f9ce[_0x4a4b8e(0x214)]():_0x72f9ce;_0x588f21[_0x4a4b8e(0xf0)](_0xfb00c8)||_0x1f8ebc['pause']();}),_0x1f8ebc[_0x1f94fc(0xd4)]('error',function(_0x5e5ecf){const _0x120b32=_0x1f94fc;_0x588f21[_0x120b32(0x217)]||(_0x31234c=!0x1,_0x588f21[_0x120b32(0x145)](_0x5e5ecf));}),_0x1f8ebc[_0x1f94fc(0xd4)](_0x1f94fc(0x19f),function(){const _0x30a98a=_0x1f94fc;_0x588f21[_0x30a98a(0x217)]||_0x588f21['push'](null);}),_0x588f21[_0x1f94fc(0xd1)]=function(_0x427a68,_0x401473){const _0x4965b0=_0x1f94fc;if(_0x1f8ebc['readyState']===_0x1f8ebc['CLOSED']){_0x401473(_0x427a68),process['nextTick'](_0x566f81,_0x588f21);return;}let _0x112bb0=!0x1;_0x1f8ebc[_0x4965b0(0xd4)]('error',function(_0x519544){_0x112bb0=!0x0,_0x401473(_0x519544);}),_0x1f8ebc[_0x4965b0(0xd4)](_0x4965b0(0x19f),function(){const _0x26dfc3=_0x4965b0;_0x112bb0||_0x401473(_0x427a68),process[_0x26dfc3(0x242)](_0x566f81,_0x588f21);}),_0x31234c&&_0x1f8ebc[_0x4965b0(0x1d9)]();},_0x588f21[_0x1f94fc(0x9b)]=function(_0x19ea19){const _0x4b8df2=_0x1f94fc;if(_0x1f8ebc[_0x4b8df2(0xd0)]===_0x1f8ebc['CONNECTING']){_0x1f8ebc['once'](_0x4b8df2(0x232),function(){const _0x4fd8ac=_0x4b8df2;_0x588f21[_0x4fd8ac(0x9b)](_0x19ea19);});return;}_0x1f8ebc[_0x4b8df2(0x1f4)]!==null&&(_0x1f8ebc[_0x4b8df2(0x1f4)][_0x4b8df2(0xcf)][_0x4b8df2(0xf4)]?(_0x19ea19(),_0x588f21[_0x4b8df2(0x179)][_0x4b8df2(0x237)]&&_0x588f21[_0x4b8df2(0x145)]()):(_0x1f8ebc[_0x4b8df2(0x1f4)]['once'](_0x4b8df2(0xa6),function(){_0x19ea19();}),_0x1f8ebc['close']()));},_0x588f21[_0x1f94fc(0xed)]=function(){const _0x128af1=_0x1f94fc;_0x1f8ebc[_0x128af1(0xb5)]&&_0x1f8ebc[_0x128af1(0x241)]();},_0x588f21['_write']=function(_0x2f128c,_0x2344a3,_0x60753e){const _0x53e05f=_0x1f94fc;if(_0x1f8ebc[_0x53e05f(0xd0)]===_0x1f8ebc[_0x53e05f(0xae)]){_0x1f8ebc[_0x53e05f(0xd4)](_0x53e05f(0x232),function(){const _0x4876b9=_0x53e05f;_0x588f21[_0x4876b9(0x1ea)](_0x2f128c,_0x2344a3,_0x60753e);});return;}_0x1f8ebc[_0x53e05f(0x1be)](_0x2f128c,_0x60753e);},_0x588f21['on']('end',_0x476727),_0x588f21['on'](_0x1f94fc(0xfd),_0x1ceeb5),_0x588f21;}return Oe=_0x13b154,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function _0x2e4b(){const _0x16a4c9=['kWasClean','pause','_fin','code','_originalHostOrSocketPath','_read','value','method','push','server','Observable','createSocket','finished','client','extensions','_max_window_bits','isValidUTF8','CLOSING','handleUpgrade','Invalid\x20WebSocket\x20frame:\x20','followRedirects','error','_receiver','next','upgrade','status-code','sec-websocket-accept','Sec-WebSocket-Accept:\x20','createDeflateRaw','Disposable','zlib','address','readable','_isServer','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','statusCode','_removeListeners','_compress','Injector','emitClose','wasClean','permessage-deflate','includes','arraybuffer','clients','onerror','flush','Opening\x20handshake\x20has\x20timed\x20out','removeListener','get','sec-websocket-extensions','The\x20URL\x20contains\x20a\x20fragment\x20identifier','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','tls','reset','unshift','kListener','sec-websocket-version','kCode','_bufferedBytes','charCodeAt','_firstFragment','values','share','add','_httpService','password','Sec-WebSocket-Protocol:\x20','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','protocolVersion','_loop','accept','maxRedirects','readUInt16BE','writeUIntBE','Server\x20sent\x20an\x20invalid\x20subprotocol','jobs','timeout','sha1','blob','invalid\x20payload\x20length\x20','WS_ERR_INVALID_OPCODE','_errored','2471570ZlykiE','_buffers','isBuffer','kAborted','protocol','_registerDependencies','COLLABORATION_CLIENT_NODE_CONFIG_KEY','listen','File','catch','destroy','WS_NO_BUFFER_UTIL','extensionName','clientTracking','_req','species','onclose','toStringTag','serverNoContextTakeover','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','2492758wDZXDZ','ws:','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','generateMask','createError','pow','autoPong','_closeFrameReceived','captureStackTrace','kReason','completeUpgrade','byteLength','hasOwnProperty','createInflateRaw','shouldHandle','alloc','194227StLGVW','63HuGQfE','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','_errorEmitted','perMessageDeflate','toLowerCase','connection','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','writeUInt16BE','_closeFrameSent','slice','isInteger','mask','target','zlibDeflateOptions','entries','errorEmitted','request','username','listening','pong','_allowSynchronousEvents','_opcode','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','authorization','rsv1','_readableState','shift','_skipUTF8Validation','Inject','_state','socketPath','kRun','indexOf','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','authorized','Invalid\x20Upgrade\x20header','WS_ERR_EXPECTED_FIN','_totalPayloadLength','@univerjs/core','customHeaders','pathname','Invalid\x20value\x20for\x20parameter\x20\x22','readOnly','invalid\x20opcode\x200','Sec-WebSocket-Extensions','default','normalizeParams','maskBuffer','_autoPong','size','_options','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','_queue','_fragments','env','hostname','_inflate','_fragmented','_server','NodeCollaborationSocketService','wsClientError','Basic\x20','location','close','startLoop','handleProtocols','OPEN','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','defaultPort','text/plain','ping','getConfig','registerHTTPInterceptor','https','Z_SYNC_FLUSH','exports','ISocketService','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','defineProperty','binary','_threshold','_generateMask','length','number','skipUTF8Validation','opcode','events','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','setHeader','path','Origin','The\x20server\x20is\x20not\x20running','format','_deflate','send','kByteLength','end','connect','The\x20\x22','bind','unmask','server_max_window_bits','url','startsWith','Z_DEFAULT_WINDOWBITS','enqueue','buffer','kError','finishRequest','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','client_max_window_bits','STATUS_CODES','map','fragments','HTTPService','text/html','_maskBuffer','haveLength','_messageLength','write','function','terminate','auth','cookie','getData','compress','registerDependencies','data','MASK\x20must\x20be\x20clear','_sender','binaryType','1272831HtxWJb','setSocket','Invalid\x20Sec-WebSocket-Accept\x20header','readUInt32BE','websocket','object','ILogService','_write','\x22\x20subprotocol\x20is\x20duplicated','parse','wss:','pipe','getPayloadLength16','Sec-WebSocket-Extensions:\x20','onStarting','needDrain','_compressed','_socket','isIP','maxPayload','WS_ERR_UNEXPECTED_RSV_1','_closeTimer','Unsupported\x20protocol\x20version:\x20','_extensions','replace','conclude','getBlobData','allocUnsafe','_paused','WS_ERR_INVALID_CLOSE_CODE','host','writable','cleanup','_closeMessage','net','_payloadLength','Unexpected\x20server\x20response:\x20','clientMaxWindowBits','acceptAsClient','CLOSED','call','kData','3550264qMzPeR','getPayloadLength64','has','forEach','_readyState','controlMessage','_no_context_takeover','toString','server_no_context_takeover','acceptAsServer','destroyed','http','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','threshold','Sec-WebSocket-Protocol','_protocol','handshakeTimeout','dispose','_closeCode','removeEventListener','\x22:\x20','listeners','listenerCount','_mask','Invalid\x20Sec-WebSocket-Protocol\x20header','verifyClient','setTimeout','_injector','join','client_no_context_takeover','_binaryType','arrayBuffer','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','Invalid\x20Sec-WebSocket-Extensions\x20header','concurrency','getInfo','sec-websocket-key','open','\x22\x20must\x20have\x20only\x20a\x20single\x20value','WS_ERR_INVALID_UTF8','GET','_decompress','endEmitted','options','Module','frame','concat','prototype','from','pluginName','fin','allowSynchronousEvents','resume','nextTick','dequeue','Unexpected\x20character\x20at\x20index\x20','reason','set','onmessage','FIN\x20must\x20be\x20set','Unexpected\x20end\x20of\x20input','find','update','create','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','decompress','sec-websocket-origin','serverMaxWindowBits','type','_bufferedAmount','base64','constructor','string','WebSocket','crypto','dispatch','pending','rxjs','concurrencyLimit','headers','_final','toDisposable','uncork','params','consume','redirect','warn','5249503UwMZby','then','message','offer','finish','noServer','origin','objectMode','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','_originalIpc','split','CONNECTING','\x20(supported\x20versions:\x20','UniverCollaborationClientNodePlugin','test','invalid\x20opcode\x20','RSV1\x20must\x20be\x20clear','socket','isPaused','addEventListener','_maxPayload','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','bufferedAmount','_configService','invalid\x20UTF-8\x20sequence','_redirects','clientNoContextTakeover','sec-websocket-protocol','__esModule','_shouldEmitClose','_doCreateSocket','digest','kIsForOnEventAttribute','emit','dataMessage','port','WS_ERR_UNEXPECTED_RSV_2_3','handleEvent','3923574kZNHNR','_originalSecure','getOwnPropertyDescriptor','apply','Max\x20payload\x20size\x20exceeded','freeze','_writableState','readyState','_destroy','8CnmRAw','_url','once','stream','ISnapshotServerService','IConfigService','Cookie','search','encrypted','byteOffset','Invalid\x20HTTP\x20method','isServer','createConnection','Invalid\x20URL:\x20','keys','sendFrame','Upgrade:\x20websocket','setNoDelay','_masked','10BFAyFq','nodebuffer','isArray'];_0x2e4b=function(){return _0x16a4c9;};return _0x2e4b();}function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0xc360b9}=ae();function _0x4836f0(_0x68c437){const _0x223835=_0x2a8f,_0x47e357=new Set();let _0x29923c=-0x1,_0x550a10=-0x1,_0x590a04=0x0;for(_0x590a04;_0x590a04<_0x68c437[_0x223835(0x1b2)];_0x590a04++){const _0x1663dc=_0x68c437[_0x223835(0x124)](_0x590a04);if(_0x550a10===-0x1&&_0xc360b9[_0x1663dc]===0x1)_0x29923c===-0x1&&(_0x29923c=_0x590a04);else{if(_0x590a04!==0x0&&(_0x1663dc===0x20||_0x1663dc===0x9))_0x550a10===-0x1&&_0x29923c!==-0x1&&(_0x550a10=_0x590a04);else{if(_0x1663dc===0x2c){if(_0x29923c===-0x1)throw new SyntaxError(_0x223835(0x244)+_0x590a04);_0x550a10===-0x1&&(_0x550a10=_0x590a04);const _0x3b828f=_0x68c437[_0x223835(0x169)](_0x29923c,_0x550a10);if(_0x47e357[_0x223835(0x20f)](_0x3b828f))throw new SyntaxError(_0x223835(0x1c2)+_0x3b828f+_0x223835(0x1eb));_0x47e357[_0x223835(0x128)](_0x3b828f),_0x29923c=_0x550a10=-0x1;}else throw new SyntaxError(_0x223835(0x244)+_0x590a04);}}}if(_0x29923c===-0x1||_0x550a10!==-0x1)throw new SyntaxError(_0x223835(0x249));const _0x4ba81b=_0x68c437[_0x223835(0x169)](_0x29923c,_0x590a04);if(_0x47e357[_0x223835(0x20f)](_0x4ba81b))throw new SyntaxError(_0x223835(0x1c2)+_0x4ba81b+_0x223835(0x1eb));return _0x47e357['add'](_0x4ba81b),_0x47e357;}return Ce={'parse':_0x4836f0},Ce;}var Te,rt;function Ft(){const _0x1e1c05=_0x17ae7d;if(rt)return Te;rt=0x1;const _0x45dcb8=nt,_0xed298d=ot,{Duplex:_0x16e6b9}=oe,{createHash:_0x4c4449}=Le,_0xcccebd=ct(),_0x3d8b31=he(),_0x3f2bfb=At(),_0xd625b5=Pe(),{GUID:_0x5d5d0c,kWebSocket:_0x52a7ac}=H(),_0x1366ca=/^[+/0-9A-Za-z]{22}==$/,_0x882af7=0x0,_0x2a18da=0x1,_0x322dd9=0x2;class _0x70e6a5 extends _0x45dcb8{constructor(_0x2fa871,_0xfa8cc9){const _0x18e395=_0x2a8f;if(super(),_0x2fa871={'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':_0xd625b5,..._0x2fa871},_0x2fa871[_0x18e395(0xc6)]==null&&!_0x2fa871[_0x18e395(0xf1)]&&!_0x2fa871[_0x18e395(0xa7)]||_0x2fa871[_0x18e395(0xc6)]!=null&&(_0x2fa871['server']||_0x2fa871['noServer'])||_0x2fa871[_0x18e395(0xf1)]&&_0x2fa871['noServer'])throw new TypeError(_0x18e395(0x1a3));if(_0x2fa871[_0x18e395(0xc6)]!=null?(this[_0x18e395(0x19a)]=_0xed298d['createServer']((_0x52028b,_0x17f2cf)=>{const _0x3dd199=_0x18e395,_0x2a5103=_0xed298d[_0x3dd199(0x1cf)][0x1aa];_0x17f2cf['writeHead'](0x1aa,{'Content-Length':_0x2a5103[_0x3dd199(0x1b2)],'Content-Type':_0x3dd199(0x1a5)}),_0x17f2cf[_0x3dd199(0x1c0)](_0x2a5103);}),this[_0x18e395(0x19a)][_0x18e395(0x142)](_0x2fa871['port'],_0x2fa871[_0x18e395(0x201)],_0x2fa871['backlog'],_0xfa8cc9)):_0x2fa871[_0x18e395(0xf1)]&&(this['_server']=_0x2fa871[_0x18e395(0xf1)]),this[_0x18e395(0x19a)]){const _0x17fb97=this[_0x18e395(0xc4)]['bind'](this,_0x18e395(0x165));this[_0x18e395(0x10c)]=_0x5a8eae(this[_0x18e395(0x19a)],{'listening':this[_0x18e395(0xc4)][_0x18e395(0x1c3)](this,_0x18e395(0x172)),'error':this[_0x18e395(0xc4)][_0x18e395(0x1c3)](this,'error'),'upgrade':(_0x18f1bb,_0x44e403,_0x5e43ae)=>{const _0x446faf=_0x18e395;this[_0x446faf(0xfa)](_0x18f1bb,_0x44e403,_0x5e43ae,_0x17fb97);}});}_0x2fa871[_0x18e395(0x163)]===!0x0&&(_0x2fa871[_0x18e395(0x163)]={}),_0x2fa871[_0x18e395(0x148)]&&(this[_0x18e395(0x114)]=new Set(),this[_0x18e395(0xc0)]=!0x1),this['options']=_0x2fa871,this[_0x18e395(0x17d)]=_0x882af7;}['address'](){const _0x31248c=_0x2a8f;if(this[_0x31248c(0x238)]['noServer'])throw new Error(_0x31248c(0x24d));return this[_0x31248c(0x19a)]?this[_0x31248c(0x19a)][_0x31248c(0x107)]():null;}[_0x1e1c05(0x19f)](_0x1d129c){const _0x2d0c69=_0x1e1c05;if(this['_state']===_0x322dd9){_0x1d129c&&this[_0x2d0c69(0xd4)](_0x2d0c69(0x19f),()=>{const _0x36efd5=_0x2d0c69;_0x1d129c(new Error(_0x36efd5(0x1bb)));}),process['nextTick'](_0x5afe93,this);return;}if(_0x1d129c&&this[_0x2d0c69(0xd4)](_0x2d0c69(0x19f),_0x1d129c),this[_0x2d0c69(0x17d)]!==_0x2a18da){if(this[_0x2d0c69(0x17d)]=_0x2a18da,this[_0x2d0c69(0x238)]['noServer']||this['options'][_0x2d0c69(0xf1)])this[_0x2d0c69(0x19a)]&&(this[_0x2d0c69(0x10c)](),this[_0x2d0c69(0x10c)]=this['_server']=null),this[_0x2d0c69(0x114)]?this[_0x2d0c69(0x114)]['size']?this[_0x2d0c69(0xc0)]=!0x0:process['nextTick'](_0x5afe93,this):process[_0x2d0c69(0x242)](_0x5afe93,this);else{const _0x53a768=this['_server'];this[_0x2d0c69(0x10c)](),this[_0x2d0c69(0x10c)]=this['_server']=null,_0x53a768[_0x2d0c69(0x19f)](()=>{_0x5afe93(this);});}}}[_0x1e1c05(0x15d)](_0x22da28){const _0x44fe2f=_0x1e1c05;if(this[_0x44fe2f(0x238)][_0x44fe2f(0x1b9)]){const _0x1ec697=_0x22da28['url'][_0x44fe2f(0x180)]('?');if((_0x1ec697!==-0x1?_0x22da28['url'][_0x44fe2f(0x169)](0x0,_0x1ec697):_0x22da28['url'])!==this['options'][_0x44fe2f(0x1b9)])return!0x1;}return!0x0;}[_0x1e1c05(0xfa)](_0x34c853,_0x38f4d2,_0x288293,_0xc8baa2){const _0x4a4bc0=_0x1e1c05;_0x38f4d2['on']('error',_0x282602);const _0x47bc9b=_0x34c853[_0x4a4bc0(0x9a)][_0x4a4bc0(0x231)],_0x192a12=_0x34c853[_0x4a4bc0(0x9a)][_0x4a4bc0(0x100)],_0x26c94a=+_0x34c853[_0x4a4bc0(0x9a)][_0x4a4bc0(0x121)];if(_0x34c853[_0x4a4bc0(0xef)]!==_0x4a4bc0(0x235)){_0x34009b(this,_0x34c853,_0x38f4d2,0x195,_0x4a4bc0(0xdc));return;}if(_0x192a12===void 0x0||_0x192a12[_0x4a4bc0(0x164)]()!==_0x4a4bc0(0x1e7)){_0x34009b(this,_0x34c853,_0x38f4d2,0x190,_0x4a4bc0(0x183));return;}if(_0x47bc9b===void 0x0||!_0x1366ca['test'](_0x47bc9b)){_0x34009b(this,_0x34c853,_0x38f4d2,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x26c94a!==0x8&&_0x26c94a!==0xd){_0x34009b(this,_0x34c853,_0x38f4d2,0x190,_0x4a4bc0(0xb8));return;}if(!this[_0x4a4bc0(0x15d)](_0x34c853)){_0x10a2ca(_0x38f4d2,0x190);return;}const _0xc76453=_0x34c853[_0x4a4bc0(0x9a)]['sec-websocket-protocol'];let _0x34ceb3=new Set();if(_0xc76453!==void 0x0)try{_0x34ceb3=_0x3f2bfb[_0x4a4bc0(0x1ec)](_0xc76453);}catch{_0x34009b(this,_0x34c853,_0x38f4d2,0x190,_0x4a4bc0(0x225));return;}const _0x25ba96=_0x34c853[_0x4a4bc0(0x9a)][_0x4a4bc0(0x11a)],_0x16cc38={};if(this[_0x4a4bc0(0x238)][_0x4a4bc0(0x163)]&&_0x25ba96!==void 0x0){const _0xfdc216=new _0x3d8b31(this['options'][_0x4a4bc0(0x163)],!0x0,this[_0x4a4bc0(0x238)]['maxPayload']);try{const _0x466154=_0xcccebd[_0x4a4bc0(0x1ec)](_0x25ba96);_0x466154[_0x3d8b31[_0x4a4bc0(0x147)]]&&(_0xfdc216[_0x4a4bc0(0x12f)](_0x466154[_0x3d8b31[_0x4a4bc0(0x147)]]),_0x16cc38[_0x3d8b31[_0x4a4bc0(0x147)]]=_0xfdc216);}catch{_0x34009b(this,_0x34c853,_0x38f4d2,0x190,_0x4a4bc0(0x166));return;}}if(this[_0x4a4bc0(0x238)]['verifyClient']){const _0x7460b5={'origin':_0x34c853[_0x4a4bc0(0x9a)][''+(_0x26c94a===0x8?_0x4a4bc0(0x24f):_0x4a4bc0(0xa8))],'secure':!!(_0x34c853[_0x4a4bc0(0xb4)][_0x4a4bc0(0x182)]||_0x34c853[_0x4a4bc0(0xb4)][_0x4a4bc0(0xda)]),'req':_0x34c853};if(this['options'][_0x4a4bc0(0x226)]['length']===0x2){this[_0x4a4bc0(0x238)][_0x4a4bc0(0x226)](_0x7460b5,(_0x3619f3,_0x1ef5fd,_0x5e681f,_0x22f033)=>{if(!_0x3619f3)return _0x10a2ca(_0x38f4d2,_0x1ef5fd||0x191,_0x5e681f,_0x22f033);this['completeUpgrade'](_0x16cc38,_0x47bc9b,_0x34ceb3,_0x34c853,_0x38f4d2,_0x288293,_0xc8baa2);});return;}if(!this['options'][_0x4a4bc0(0x226)](_0x7460b5))return _0x10a2ca(_0x38f4d2,0x191);}this[_0x4a4bc0(0x159)](_0x16cc38,_0x47bc9b,_0x34ceb3,_0x34c853,_0x38f4d2,_0x288293,_0xc8baa2);}[_0x1e1c05(0x159)](_0x59ea5,_0x5b4b65,_0x187d39,_0x45cbcb,_0x532158,_0xc6126a,_0x5c6221){const _0x153dc3=_0x1e1c05;if(!_0x532158[_0x153dc3(0x108)]||!_0x532158[_0x153dc3(0x202)])return _0x532158[_0x153dc3(0x145)]();if(_0x532158[_0x52a7ac])throw new Error(_0x153dc3(0x193));if(this[_0x153dc3(0x17d)]>_0x882af7)return _0x10a2ca(_0x532158,0x1f7);const _0x1a33c0=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x153dc3(0xe2),'Connection:\x20Upgrade',_0x153dc3(0x103)+_0x4c4449(_0x153dc3(0x136))['update'](_0x5b4b65+_0x5d5d0c)[_0x153dc3(0xc2)](_0x153dc3(0x253))],_0x40a030=new this['options'][(_0x153dc3(0x256))](null,void 0x0,this['options']);if(_0x187d39[_0x153dc3(0x191)]){const _0x3174c5=this['options'][_0x153dc3(0x1a1)]?this['options'][_0x153dc3(0x1a1)](_0x187d39,_0x45cbcb):_0x187d39[_0x153dc3(0x126)]()[_0x153dc3(0xff)]()[_0x153dc3(0xee)];_0x3174c5&&(_0x1a33c0[_0x153dc3(0xf0)](_0x153dc3(0x12b)+_0x3174c5),_0x40a030[_0x153dc3(0x21c)]=_0x3174c5);}if(_0x59ea5[_0x3d8b31[_0x153dc3(0x147)]]){const _0x4abb78=_0x59ea5[_0x3d8b31['extensionName']][_0x153dc3(0x9e)],_0xf999bf=_0xcccebd[_0x153dc3(0x1bc)]({[_0x3d8b31[_0x153dc3(0x147)]]:[_0x4abb78]});_0x1a33c0[_0x153dc3(0xf0)](_0x153dc3(0x1f0)+_0xf999bf),_0x40a030[_0x153dc3(0x1fa)]=_0x59ea5;}this[_0x153dc3(0xc4)](_0x153dc3(0x9a),_0x1a33c0,_0x45cbcb),_0x532158[_0x153dc3(0x1d7)](_0x1a33c0[_0x153dc3(0x23b)]('\x0d\x0a')[_0x153dc3(0x229)]('\x0d\x0a')),_0x532158['removeListener'](_0x153dc3(0xfd),_0x282602),_0x40a030[_0x153dc3(0x1e4)](_0x532158,_0xc6126a,{'allowSynchronousEvents':this[_0x153dc3(0x238)][_0x153dc3(0x240)],'maxPayload':this[_0x153dc3(0x238)][_0x153dc3(0x1f6)],'skipUTF8Validation':this[_0x153dc3(0x238)][_0x153dc3(0x1b4)]}),this['clients']&&(this[_0x153dc3(0x114)][_0x153dc3(0x128)](_0x40a030),_0x40a030['on'](_0x153dc3(0x19f),()=>{const _0x2a8a62=_0x153dc3;this[_0x2a8a62(0x114)]['delete'](_0x40a030),this[_0x2a8a62(0xc0)]&&!this[_0x2a8a62(0x114)]['size']&&process[_0x2a8a62(0x242)](_0x5afe93,this);})),_0x5c6221(_0x40a030,_0x45cbcb);}}Te=_0x70e6a5;function _0x5a8eae(_0x1fcbc1,_0x48fe4e){const _0x47f6e1=_0x1e1c05;for(const _0x5104e1 of Object[_0x47f6e1(0xe0)](_0x48fe4e))_0x1fcbc1['on'](_0x5104e1,_0x48fe4e[_0x5104e1]);return function(){const _0x4d3787=_0x47f6e1;for(const _0x51053a of Object[_0x4d3787(0xe0)](_0x48fe4e))_0x1fcbc1[_0x4d3787(0x118)](_0x51053a,_0x48fe4e[_0x51053a]);};}function _0x5afe93(_0x11bce1){const _0x490252=_0x1e1c05;_0x11bce1[_0x490252(0x17d)]=_0x322dd9,_0x11bce1[_0x490252(0xc4)](_0x490252(0x19f));}function _0x282602(){const _0xefb3a8=_0x1e1c05;this[_0xefb3a8(0x145)]();}function _0x10a2ca(_0x348f75,_0x780586,_0x107b67,_0x46b1a5){const _0x1aa3be=_0x1e1c05;_0x107b67=_0x107b67||_0xed298d['STATUS_CODES'][_0x780586],_0x46b1a5={'Connection':_0x1aa3be(0x19f),'Content-Type':_0x1aa3be(0x1d3),'Content-Length':Buffer[_0x1aa3be(0x15a)](_0x107b67),..._0x46b1a5},_0x348f75[_0x1aa3be(0xd4)](_0x1aa3be(0xa6),_0x348f75[_0x1aa3be(0x145)]),_0x348f75[_0x1aa3be(0x1c0)]('HTTP/1.1\x20'+_0x780586+'\x20'+_0xed298d['STATUS_CODES'][_0x780586]+'\x0d\x0a'+Object[_0x1aa3be(0xe0)](_0x46b1a5)[_0x1aa3be(0x1d0)](_0x25bdb2=>_0x25bdb2+':\x20'+_0x46b1a5[_0x25bdb2])['join']('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x107b67);}function _0x34009b(_0x535d8a,_0x121577,_0x406995,_0x50bfb5,_0x2009ee){const _0x3aeb6e=_0x1e1c05;if(_0x535d8a['listenerCount'](_0x3aeb6e(0x19c))){const _0x441db9=new Error(_0x2009ee);Error['captureStackTrace'](_0x441db9,_0x34009b),_0x535d8a[_0x3aeb6e(0xc4)](_0x3aeb6e(0x19c),_0x441db9,_0x406995,_0x121577);}else _0x10a2ca(_0x406995,_0x50bfb5,_0x2009ee);}return Te;}Ft();var jt=Object[_0x17ae7d(0xcb)],Wt=(_0x1e2d6f,_0x4783ae,_0x3e4edf,_0x48eea2)=>{for(var _0x241f7f=_0x48eea2>0x1?void 0x0:_0x48eea2?jt(_0x4783ae,_0x3e4edf):_0x4783ae,_0x4ad4c4=_0x1e2d6f['length']-0x1,_0x308d62;_0x4ad4c4>=0x0;_0x4ad4c4--)(_0x308d62=_0x1e2d6f[_0x4ad4c4])&&(_0x241f7f=_0x308d62(_0x241f7f)||_0x241f7f);return _0x241f7f;},qt=(_0x218baa,_0x372586)=>(_0x3e1030,_0x407170)=>_0x372586(_0x3e1030,_0x407170,_0x218baa);let ke=class extends A[_0x17ae7d(0x105)]{constructor(_0x3f3ca9){const _0x8cd626=_0x17ae7d;super(),this[_0x8cd626(0xba)]=_0x3f3ca9;}[_0x17ae7d(0xf3)](_0x476994){const _0x555ec0=_0x17ae7d;var _0x2b17c8;const _0x523a10=(_0x2b17c8=this['_configService']['getConfig'](fe))==null?void 0x0:_0x2b17c8[_0x555ec0(0x187)];try{const _0x50052b=new $t(_0x476994,{'headers':{..._0x523a10}}),_0x533b06=new A['DisposableCollection']();return{'URL':_0x476994,'close':(_0x48406e,_0x34272b)=>{const _0x22ba4f=_0x555ec0;_0x50052b[_0x22ba4f(0x19f)](_0x48406e,_0x34272b),_0x533b06[_0x22ba4f(0x21e)]();},'send':_0x484c26=>{const _0x3daf77=_0x555ec0;_0x50052b[_0x3daf77(0x1be)](_0x484c26);},'open$':new V[(_0x555ec0(0xf2))](_0x3c3af2=>{const _0x2c5155=_0x555ec0,_0x2e24a7=_0x5c605e=>_0x3c3af2[_0x2c5155(0xff)](_0x5c605e);_0x50052b[_0x2c5155(0xb6)]('open',_0x2e24a7),_0x533b06['add'](A[_0x2c5155(0x9c)](()=>_0x50052b[_0x2c5155(0x220)](_0x2c5155(0x232),_0x2e24a7)));})[_0x555ec0(0x1ee)](V[_0x555ec0(0x127)]()),'close$':new V[(_0x555ec0(0xf2))](_0x4247db=>{const _0xaed858=_0x555ec0,_0x191b09=_0xe03cb2=>_0x4247db['next'](_0xe03cb2);_0x50052b[_0xaed858(0xb6)]('close',_0x191b09),_0x533b06[_0xaed858(0x128)](A['toDisposable'](()=>_0x50052b[_0xaed858(0x220)](_0xaed858(0x19f),_0x191b09)));})[_0x555ec0(0x1ee)](V[_0x555ec0(0x127)]()),'error$':new V[(_0x555ec0(0xf2))](_0x2001e2=>{const _0x4a3395=_0x555ec0,_0x1f309e=_0x25a401=>_0x2001e2[_0x4a3395(0xff)](_0x25a401);_0x50052b[_0x4a3395(0xb6)]('error',_0x1f309e),_0x533b06[_0x4a3395(0x128)](A['toDisposable'](()=>_0x50052b[_0x4a3395(0x220)](_0x4a3395(0xfd),_0x1f309e)));})[_0x555ec0(0x1ee)](V[_0x555ec0(0x127)]()),'message$':new V[(_0x555ec0(0xf2))](_0x3ba26d=>{const _0x31684a=_0x555ec0,_0x5686b0=_0x265dcd=>_0x3ba26d[_0x31684a(0xff)](_0x265dcd);_0x50052b[_0x31684a(0xb6)](_0x31684a(0xa4),_0x5686b0),_0x533b06['add'](A[_0x31684a(0x9c)](()=>_0x50052b[_0x31684a(0x220)]('message',_0x5686b0)));})[_0x555ec0(0x1ee)](V[_0x555ec0(0x127)]())};}catch(_0x1bbdf6){return console[_0x555ec0(0xfd)](_0x1bbdf6),null;}}};ke=Wt([qt(0x0,A[_0x17ae7d(0xd7)])],ke);var Gt=Object[_0x17ae7d(0x1ae)],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0x278a93,_0x419398,_0x3034f7)=>_0x419398 in _0x278a93?Gt(_0x278a93,_0x419398,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3034f7}):_0x278a93[_0x419398]=_0x3034f7,zt=(_0x27a8e3,_0x47ed29,_0x1abe7a,_0x518475)=>{for(var _0x51b1f8=_0x518475>0x1?void 0x0:_0x518475?Vt(_0x47ed29,_0x1abe7a):_0x47ed29,_0x544f68=_0x27a8e3['length']-0x1,_0x55c838;_0x544f68>=0x0;_0x544f68--)(_0x55c838=_0x27a8e3[_0x544f68])&&(_0x51b1f8=_0x55c838(_0x51b1f8)||_0x51b1f8);return _0x51b1f8;},Ne=(_0x25ecfe,_0x9bcc41)=>(_0x3d9019,_0x7e1a8d)=>_0x9bcc41(_0x3d9019,_0x7e1a8d,_0x25ecfe),Yt=(_0x39d394,_0x5ac3b1,_0x114d85)=>Ht(_0x39d394,_0x5ac3b1+'',_0x114d85);exports[_0x17ae7d(0xb0)]=class extends A['Plugin']{constructor(_0x2756b0=Ct,_0x44788d,_0x27d28e,_0x513e3a){const _0x38c3d3=_0x17ae7d;_0x2756b0[_0x38c3d3(0x187)]||_0x44788d[_0x38c3d3(0xa1)](_0x38c3d3(0x10a)),super(),this[_0x38c3d3(0xba)]=_0x27d28e,this[_0x38c3d3(0x228)]=_0x513e3a,this[_0x38c3d3(0xba)]['setConfig'](fe,_0x2756b0);}[_0x17ae7d(0x1f1)](){const _0x42a210=_0x17ae7d;this[_0x42a210(0x140)]();}['_registerDependencies'](){const _0x1271b8=_0x17ae7d;A[_0x1271b8(0x1de)](this['_injector'],[[it[_0x1271b8(0x1ac)],{'useClass':ke}]]);}},Yt(exports[_0x17ae7d(0xb0)],_0x17ae7d(0x23e),_0x17ae7d(0x181)),exports[_0x17ae7d(0xb0)]=zt([A['DependentOn'](st['UniverCollaborationClientPlugin']),Ne(0x1,A[_0x17ae7d(0x1e9)]),Ne(0x2,A[_0x17ae7d(0xd7)]),Ne(0x3,A['Inject'](A[_0x17ae7d(0x10e)]))],exports['UniverCollaborationClientNodePlugin']);var Kt=Object[_0x17ae7d(0xcb)],Xt=(_0x1af419,_0x152f24,_0x2e1a93,_0x3a6bd1)=>{const _0xa3d5a5=_0x17ae7d;for(var _0x370222=_0x3a6bd1>0x1?void 0x0:_0x3a6bd1?Kt(_0x152f24,_0x2e1a93):_0x152f24,_0xde97b1=_0x1af419[_0xa3d5a5(0x1b2)]-0x1,_0x13b698;_0xde97b1>=0x0;_0xde97b1--)(_0x13b698=_0x1af419[_0xde97b1])&&(_0x370222=_0x13b698(_0x370222)||_0x370222);return _0x370222;},ne=(_0x3176f6,_0x143707)=>(_0x450e92,_0x541508)=>_0x143707(_0x450e92,_0x541508,_0x3176f6);exports[_0x17ae7d(0x19b)]=class extends st['CollaborationSocketService']{constructor(_0x1d810b,_0x2c8d09,_0x2f44b6,_0x5a9eca,_0x5a657a){const _0x47afcb=_0x17ae7d;super(_0x1d810b,_0x2c8d09,_0x2f44b6,_0x5a9eca,_0x5a657a);const _0x8fd82f=this[_0x47afcb(0xba)][_0x47afcb(0x1a7)](fe);this[_0x47afcb(0x129)][_0x47afcb(0x1a8)]({'interceptor':(_0xf45412,_0x44302d)=>{const _0x45b3aa=_0x47afcb;var _0x51630a;const _0x2971aa=_0xf45412['headers'];return(_0x51630a=_0x8fd82f==null?void 0x0:_0x8fd82f[_0x45b3aa(0x187)])!=null&&_0x51630a[_0x45b3aa(0x1db)]&&_0x2971aa[_0x45b3aa(0x246)](_0x45b3aa(0xd8),_0x8fd82f[_0x45b3aa(0x187)]['cookie']),_0x44302d(_0xf45412);}});}async['createSocket'](_0x1c3a64){const _0x2fd163=_0x17ae7d;return this[_0x2fd163(0xc1)](_0x1c3a64);}},exports[_0x17ae7d(0x19b)]=Xt([ne(0x0,A[_0x17ae7d(0x17c)](A[_0x17ae7d(0x10e)])),ne(0x1,A[_0x17ae7d(0x17c)](it[_0x17ae7d(0x1d2)])),ne(0x2,A[_0x17ae7d(0xd7)]),ne(0x3,A['ILogService']),ne(0x4,Ot[_0x17ae7d(0xd6)])],exports[_0x17ae7d(0x19b)]),exports[_0x17ae7d(0x141)]=fe;
1
+ 'use strict';const _0x91f056=_0x1049;(function(_0x5a180c,_0x546033){const _0xf3de0a=_0x1049,_0x17e652=_0x5a180c();while(!![]){try{const _0x2a381b=-parseInt(_0xf3de0a(0x1d1))/0x1+parseInt(_0xf3de0a(0xd7))/0x2*(-parseInt(_0xf3de0a(0xcc))/0x3)+-parseInt(_0xf3de0a(0x265))/0x4*(parseInt(_0xf3de0a(0xc3))/0x5)+-parseInt(_0xf3de0a(0xaa))/0x6*(-parseInt(_0xf3de0a(0x1cf))/0x7)+-parseInt(_0xf3de0a(0x1a3))/0x8+-parseInt(_0xf3de0a(0x146))/0x9+parseInt(_0xf3de0a(0x16b))/0xa;if(_0x2a381b===_0x546033)break;else _0x17e652['push'](_0x17e652['shift']());}catch(_0x20e6da){_0x17e652['push'](_0x17e652['shift']());}}}(_0x1cfb,0xdc7f4));Object[_0x91f056(0x13c)](exports,Symbol[_0x91f056(0x1c4)],{'value':'Module'});const st=require(_0x91f056(0x154)),A=require(_0x91f056(0x118)),it=require(_0x91f056(0x211)),V=require('rxjs'),nt=require(_0x91f056(0x1c2)),vt=require(_0x91f056(0x189)),ot=require('http'),St=require(_0x91f056(0xf1)),Et=require(_0x91f056(0x1dc)),Le=require(_0x91f056(0x158)),oe=require(_0x91f056(0x161)),xt=require(_0x91f056(0xad)),bt=require(_0x91f056(0xb7)),wt=require(_0x91f056(0x1f1)),Ot=require('@univerjs-pro/collaboration'),fe=_0x91f056(0x1cc),Ct={'customHeaders':{}};function Tt(_0x16f6e7){const _0x426ccf=_0x91f056;return _0x16f6e7&&_0x16f6e7[_0x426ccf(0x1fe)]&&Object[_0x426ccf(0xf5)][_0x426ccf(0x15f)]['call'](_0x16f6e7,_0x426ccf(0x20c))?_0x16f6e7['default']:_0x16f6e7;}function at(_0x41f484){const _0xeab1a6=_0x91f056;if(Object['prototype'][_0xeab1a6(0x15f)][_0xeab1a6(0x182)](_0x41f484,'__esModule'))return _0x41f484;var _0xb5c132=_0x41f484[_0xeab1a6(0x20c)];if(typeof _0xb5c132==_0xeab1a6(0x137)){var _0x48298c=function _0x349376(){const _0x29bb0d=_0xeab1a6;return this instanceof _0x349376?Reflect[_0x29bb0d(0x1cd)](_0xb5c132,arguments,this['constructor']):_0xb5c132[_0x29bb0d(0x233)](this,arguments);};_0x48298c[_0xeab1a6(0xf5)]=_0xb5c132['prototype'];}else _0x48298c={};return Object['defineProperty'](_0x48298c,_0xeab1a6(0x1fe),{'value':!0x0}),Object[_0xeab1a6(0x21e)](_0x41f484)[_0xeab1a6(0x14a)](function(_0x5daad9){const _0x5984c6=_0xeab1a6;var _0x19ac91=Object[_0x5984c6(0x208)](_0x41f484,_0x5daad9);Object['defineProperty'](_0x48298c,_0x5daad9,_0x19ac91[_0x5984c6(0xc2)]?_0x19ac91:{'enumerable':!0x0,'get':function(){return _0x41f484[_0x5daad9];}});}),_0x48298c;}var se={'exports':{}},ge,Ge;function H(){const _0x41380e=_0x91f056;if(Ge)return ge;Ge=0x1;const _0xf905e7=['nodebuffer',_0x41380e(0x190),_0x41380e(0xf9)],_0x562fb8=typeof Blob<'u';return _0x562fb8&&_0xf905e7[_0x41380e(0x12f)](_0x41380e(0xe9)),ge={'BINARY_TYPES':_0xf905e7,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x41380e(0x145),'hasBlob':_0x562fb8,'kForOnEventAttribute':Symbol(_0x41380e(0x188)),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x41380e(0x16e)),'kWebSocket':Symbol(_0x41380e(0x1e9)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x91f056(0x252)](Object[_0x91f056(0x13c)]({'__proto__':null,'default':Nt},Symbol[_0x91f056(0x1c4)],{'value':_0x91f056(0xd0)})),Lt=at(kt);var Ve;function ce(){const _0x557683=_0x91f056;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0x260343}=H(),_0x37c6dd=Buffer[Symbol[_0x557683(0xfe)]];function _0x163320(_0x499688,_0x2919e4){const _0x411549=_0x557683;if(_0x499688[_0x411549(0x263)]===0x0)return _0x260343;if(_0x499688[_0x411549(0x263)]===0x1)return _0x499688[0x0];const _0x1d90a1=Buffer[_0x411549(0x1af)](_0x2919e4);let _0x1f07c8=0x0;for(let _0x47ef5a=0x0;_0x47ef5a<_0x499688[_0x411549(0x263)];_0x47ef5a++){const _0x47954a=_0x499688[_0x47ef5a];_0x1d90a1[_0x411549(0xd9)](_0x47954a,_0x1f07c8),_0x1f07c8+=_0x47954a[_0x411549(0x263)];}return _0x1f07c8<_0x2919e4?new _0x37c6dd(_0x1d90a1[_0x411549(0x1f1)],_0x1d90a1['byteOffset'],_0x1f07c8):_0x1d90a1;}function _0x43e63a(_0x19a798,_0x5d2f72,_0x57acaf,_0x1e46b6,_0x5718ce){for(let _0x1dc65d=0x0;_0x1dc65d<_0x5718ce;_0x1dc65d++)_0x57acaf[_0x1e46b6+_0x1dc65d]=_0x19a798[_0x1dc65d]^_0x5d2f72[_0x1dc65d&0x3];}function _0x311234(_0x459269,_0x45f15e){const _0x32a832=_0x557683;for(let _0x2ab388=0x0;_0x2ab388<_0x459269[_0x32a832(0x263)];_0x2ab388++)_0x459269[_0x2ab388]^=_0x45f15e[_0x2ab388&0x3];}function _0x30b7f8(_0x58a4da){const _0x432192=_0x557683;return _0x58a4da['length']===_0x58a4da['buffer'][_0x432192(0x191)]?_0x58a4da[_0x432192(0x1f1)]:_0x58a4da['buffer']['slice'](_0x58a4da[_0x432192(0x134)],_0x58a4da[_0x432192(0x134)]+_0x58a4da['length']);}function _0x226faa(_0x201a28){const _0x3bff82=_0x557683;if(_0x226faa['readOnly']=!0x0,Buffer['isBuffer'](_0x201a28))return _0x201a28;let _0x229cf3;return _0x201a28 instanceof ArrayBuffer?_0x229cf3=new _0x37c6dd(_0x201a28):ArrayBuffer['isView'](_0x201a28)?_0x229cf3=new _0x37c6dd(_0x201a28['buffer'],_0x201a28[_0x3bff82(0x134)],_0x201a28[_0x3bff82(0x191)]):(_0x229cf3=Buffer['from'](_0x201a28),_0x226faa[_0x3bff82(0x255)]=!0x1),_0x229cf3;}if(se[_0x557683(0x1c5)]={'concat':_0x163320,'mask':_0x43e63a,'toArrayBuffer':_0x30b7f8,'toBuffer':_0x226faa,'unmask':_0x311234},!process[_0x557683(0x11c)][_0x557683(0x111)])try{const _0x3fb99b=Lt;se[_0x557683(0x1c5)][_0x557683(0xf4)]=function(_0x168dd8,_0x35af1d,_0x378312,_0x5b4c79,_0x592c10){_0x592c10<0x30?_0x43e63a(_0x168dd8,_0x35af1d,_0x378312,_0x5b4c79,_0x592c10):_0x3fb99b['mask'](_0x168dd8,_0x35af1d,_0x378312,_0x5b4c79,_0x592c10);},se['exports']['unmask']=function(_0x2a13ef,_0x4bd689){const _0xb2e082=_0x557683;_0x2a13ef['length']<0x20?_0x311234(_0x2a13ef,_0x4bd689):_0x3fb99b[_0xb2e082(0xd2)](_0x2a13ef,_0x4bd689);};}catch{}return se['exports'];}var ye,He;function Pt(){const _0x26a565=_0x91f056;if(He)return ye;He=0x1;const _0x9d8209=Symbol('kDone'),_0x1dd086=Symbol(_0x26a565(0x1b5));class _0x434374{constructor(_0x37cefd){const _0x36e5ee=_0x26a565;this[_0x9d8209]=()=>{const _0x5c1980=_0x1049;this[_0x5c1980(0x1d4)]--,this[_0x1dd086]();},this[_0x36e5ee(0x1f0)]=_0x37cefd||0x1/0x0,this[_0x36e5ee(0x1d0)]=[],this[_0x36e5ee(0x1d4)]=0x0;}[_0x26a565(0x1fa)](_0x17da9a){const _0x37eb9a=_0x26a565;this[_0x37eb9a(0x1d0)][_0x37eb9a(0x12f)](_0x17da9a),this[_0x1dd086]();}[_0x1dd086](){const _0x5acab4=_0x26a565;if(this[_0x5acab4(0x1d4)]!==this[_0x5acab4(0x1f0)]&&this[_0x5acab4(0x1d0)]['length']){const _0x2363f5=this['jobs'][_0x5acab4(0xda)]();this[_0x5acab4(0x1d4)]++,_0x2363f5(this[_0x9d8209]);}}}return ye=_0x434374,ye;}var ve,ze;function he(){const _0x3ffe47=_0x91f056;if(ze)return ve;ze=0x1;const _0x1132c3=bt,_0x15c073=ce(),_0x364a52=Pt(),{kStatusCode:_0x4b668e}=H(),_0x19a34a=Buffer[Symbol[_0x3ffe47(0xfe)]],_0x5d7641=Buffer[_0x3ffe47(0x234)]([0x0,0x0,0xff,0xff]),_0xc6ae09=Symbol(_0x3ffe47(0x1e8)),_0x39abdb=Symbol(_0x3ffe47(0x26c)),_0x6931f0=Symbol(_0x3ffe47(0x165)),_0x1feaa4=Symbol(_0x3ffe47(0x10e)),_0x27fd95=Symbol('error');let _0x348275;class _0x10542f{constructor(_0x6593ba,_0xbeb55,_0x3004e5){const _0x14fc0a=_0x3ffe47;if(this[_0x14fc0a(0x10c)]=_0x3004e5|0x0,this[_0x14fc0a(0xcf)]=_0x6593ba||{},this[_0x14fc0a(0x1e2)]=this[_0x14fc0a(0xcf)]['threshold']!==void 0x0?this['_options']['threshold']:0x400,this[_0x14fc0a(0x136)]=!!_0xbeb55,this[_0x14fc0a(0x193)]=null,this[_0x14fc0a(0xdf)]=null,this[_0x14fc0a(0x256)]=null,!_0x348275){const _0x469445=this['_options']['concurrencyLimit']!==void 0x0?this[_0x14fc0a(0xcf)]['concurrencyLimit']:0xa;_0x348275=new _0x364a52(_0x469445);}}static get[_0x3ffe47(0x141)](){return'permessage-deflate';}[_0x3ffe47(0x221)](){const _0xda230e=_0x3ffe47,_0x4ed3a9={};return this[_0xda230e(0xcf)]['serverNoContextTakeover']&&(_0x4ed3a9[_0xda230e(0x1fc)]=!0x0),this[_0xda230e(0xcf)][_0xda230e(0x243)]&&(_0x4ed3a9[_0xda230e(0xf8)]=!0x0),this['_options'][_0xda230e(0xd4)]&&(_0x4ed3a9[_0xda230e(0x1e1)]=this[_0xda230e(0xcf)][_0xda230e(0xd4)]),this[_0xda230e(0xcf)][_0xda230e(0x251)]?_0x4ed3a9[_0xda230e(0x1e7)]=this[_0xda230e(0xcf)][_0xda230e(0x251)]:this[_0xda230e(0xcf)]['clientMaxWindowBits']==null&&(_0x4ed3a9[_0xda230e(0x1e7)]=!0x0),_0x4ed3a9;}[_0x3ffe47(0x232)](_0x1eec14){const _0x2f5cf7=_0x3ffe47;return _0x1eec14=this[_0x2f5cf7(0x22c)](_0x1eec14),this[_0x2f5cf7(0x256)]=this[_0x2f5cf7(0x136)]?this['acceptAsServer'](_0x1eec14):this[_0x2f5cf7(0x159)](_0x1eec14),this[_0x2f5cf7(0x256)];}[_0x3ffe47(0x1ff)](){const _0x1e6317=_0x3ffe47;if(this['_inflate']&&(this[_0x1e6317(0xdf)]['close'](),this[_0x1e6317(0xdf)]=null),this['_deflate']){const _0x661a78=this['_deflate'][_0x6931f0];this['_deflate'][_0x1e6317(0x236)](),this[_0x1e6317(0x193)]=null,_0x661a78&&_0x661a78(new Error(_0x1e6317(0x1b3)));}}[_0x3ffe47(0x104)](_0x4054e9){const _0x5dc82b=_0x3ffe47,_0x266d99=this[_0x5dc82b(0xcf)],_0x47c285=_0x4054e9[_0x5dc82b(0x206)](_0x545dd4=>!(_0x266d99[_0x5dc82b(0x17e)]===!0x1&&_0x545dd4[_0x5dc82b(0x1fc)]||_0x545dd4[_0x5dc82b(0x1e1)]&&(_0x266d99[_0x5dc82b(0xd4)]===!0x1||typeof _0x266d99[_0x5dc82b(0xd4)]=='number'&&_0x266d99[_0x5dc82b(0xd4)]>_0x545dd4['server_max_window_bits'])||typeof _0x266d99['clientMaxWindowBits']==_0x5dc82b(0x1a4)&&!_0x545dd4['client_max_window_bits']));if(!_0x47c285)throw new Error(_0x5dc82b(0x240));return _0x266d99[_0x5dc82b(0x17e)]&&(_0x47c285['server_no_context_takeover']=!0x0),_0x266d99[_0x5dc82b(0x243)]&&(_0x47c285[_0x5dc82b(0xf8)]=!0x0),typeof _0x266d99['serverMaxWindowBits']==_0x5dc82b(0x1a4)&&(_0x47c285['server_max_window_bits']=_0x266d99[_0x5dc82b(0xd4)]),typeof _0x266d99['clientMaxWindowBits']==_0x5dc82b(0x1a4)?_0x47c285[_0x5dc82b(0x1e7)]=_0x266d99[_0x5dc82b(0x251)]:(_0x47c285['client_max_window_bits']===!0x0||_0x266d99[_0x5dc82b(0x251)]===!0x1)&&delete _0x47c285[_0x5dc82b(0x1e7)],_0x47c285;}[_0x3ffe47(0x159)](_0x10e029){const _0x4d0875=_0x3ffe47,_0x224a00=_0x10e029[0x0];if(this[_0x4d0875(0xcf)][_0x4d0875(0x243)]===!0x1&&_0x224a00[_0x4d0875(0xf8)])throw new Error(_0x4d0875(0x10b));if(!_0x224a00['client_max_window_bits'])typeof this['_options']['clientMaxWindowBits']=='number'&&(_0x224a00[_0x4d0875(0x1e7)]=this['_options'][_0x4d0875(0x251)]);else{if(this['_options'][_0x4d0875(0x251)]===!0x1||typeof this[_0x4d0875(0xcf)][_0x4d0875(0x251)]==_0x4d0875(0x1a4)&&_0x224a00[_0x4d0875(0x1e7)]>this['_options'][_0x4d0875(0x251)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x224a00;}[_0x3ffe47(0x22c)](_0x5d7887){return _0x5d7887['forEach'](_0x490f37=>{const _0x11cd5c=_0x1049;Object[_0x11cd5c(0x21e)](_0x490f37)[_0x11cd5c(0x14a)](_0x402a94=>{const _0x61976c=_0x11cd5c;let _0x4e72d3=_0x490f37[_0x402a94];if(_0x4e72d3['length']>0x1)throw new Error('Parameter\x20\x22'+_0x402a94+_0x61976c(0x24b));if(_0x4e72d3=_0x4e72d3[0x0],_0x402a94===_0x61976c(0x1e7)){if(_0x4e72d3!==!0x0){const _0x1591b1=+_0x4e72d3;if(!Number['isInteger'](_0x1591b1)||_0x1591b1<0x8||_0x1591b1>0xf)throw new TypeError(_0x61976c(0x1b0)+_0x402a94+_0x61976c(0x235)+_0x4e72d3);_0x4e72d3=_0x1591b1;}else{if(!this['_isServer'])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x402a94+_0x61976c(0x235)+_0x4e72d3);}}else{if(_0x402a94==='server_max_window_bits'){const _0x30f474=+_0x4e72d3;if(!Number[_0x61976c(0x25c)](_0x30f474)||_0x30f474<0x8||_0x30f474>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x402a94+'\x22:\x20'+_0x4e72d3);_0x4e72d3=_0x30f474;}else{if(_0x402a94===_0x61976c(0xf8)||_0x402a94===_0x61976c(0x1fc)){if(_0x4e72d3!==!0x0)throw new TypeError(_0x61976c(0x1b0)+_0x402a94+'\x22:\x20'+_0x4e72d3);}else throw new Error(_0x61976c(0x197)+_0x402a94+'\x22');}}_0x490f37[_0x402a94]=_0x4e72d3;});}),_0x5d7887;}[_0x3ffe47(0xfc)](_0x520684,_0x153fd8,_0x5e8521){const _0x4c1def=_0x3ffe47;_0x348275[_0x4c1def(0x1fa)](_0x5cafec=>{const _0x1d14a3=_0x4c1def;this[_0x1d14a3(0xec)](_0x520684,_0x153fd8,(_0x5cea7d,_0x55589e)=>{_0x5cafec(),_0x5e8521(_0x5cea7d,_0x55589e);});});}[_0x3ffe47(0x177)](_0xaad706,_0x3c1e58,_0x284c9f){_0x348275['add'](_0x34faf3=>{this['_compress'](_0xaad706,_0x3c1e58,(_0x1aee09,_0x51536c)=>{_0x34faf3(),_0x284c9f(_0x1aee09,_0x51536c);});});}[_0x3ffe47(0xec)](_0x3513f7,_0x3726c2,_0x179e13){const _0x312ee1=_0x3ffe47,_0x4e12c3=this[_0x312ee1(0x136)]?_0x312ee1(0x181):_0x312ee1(0x220);if(!this[_0x312ee1(0xdf)]){const _0x43a871=_0x4e12c3+_0x312ee1(0x26b),_0x3aa9e9=typeof this['params'][_0x43a871]!=_0x312ee1(0x1a4)?_0x1132c3['Z_DEFAULT_WINDOWBITS']:this[_0x312ee1(0x256)][_0x43a871];this[_0x312ee1(0xdf)]=_0x1132c3['createInflateRaw']({...this[_0x312ee1(0xcf)][_0x312ee1(0x163)],'windowBits':_0x3aa9e9}),this['_inflate'][_0xc6ae09]=this,this['_inflate'][_0x39abdb]=0x0,this[_0x312ee1(0xdf)][_0x1feaa4]=[],this[_0x312ee1(0xdf)]['on'](_0x312ee1(0xc6),_0x278e65),this[_0x312ee1(0xdf)]['on'](_0x312ee1(0x164),_0x3c33d5);}this['_inflate'][_0x6931f0]=_0x179e13,this[_0x312ee1(0xdf)]['write'](_0x3513f7),_0x3726c2&&this['_inflate'][_0x312ee1(0x1be)](_0x5d7641),this[_0x312ee1(0xdf)][_0x312ee1(0x200)](()=>{const _0x2d4bae=_0x312ee1,_0x439830=this[_0x2d4bae(0xdf)][_0x27fd95];if(_0x439830){this['_inflate'][_0x2d4bae(0x236)](),this[_0x2d4bae(0xdf)]=null,_0x179e13(_0x439830);return;}const _0x3b6c9e=_0x15c073['concat'](this['_inflate'][_0x1feaa4],this[_0x2d4bae(0xdf)][_0x39abdb]);this[_0x2d4bae(0xdf)][_0x2d4bae(0x212)][_0x2d4bae(0x1d6)]?(this['_inflate'][_0x2d4bae(0x236)](),this[_0x2d4bae(0xdf)]=null):(this[_0x2d4bae(0xdf)][_0x39abdb]=0x0,this['_inflate'][_0x1feaa4]=[],_0x3726c2&&this[_0x2d4bae(0x256)][_0x4e12c3+_0x2d4bae(0x25d)]&&this[_0x2d4bae(0xdf)][_0x2d4bae(0x179)]()),_0x179e13(null,_0x3b6c9e);});}[_0x3ffe47(0x1e6)](_0x4f4fdb,_0x3757f1,_0x500893){const _0xf0776a=_0x3ffe47,_0x5ca17a=this[_0xf0776a(0x136)]?_0xf0776a(0x220):'client';if(!this[_0xf0776a(0x193)]){const _0x433aa1=_0x5ca17a+'_max_window_bits',_0x12b264=typeof this[_0xf0776a(0x256)][_0x433aa1]!=_0xf0776a(0x1a4)?_0x1132c3[_0xf0776a(0x160)]:this['params'][_0x433aa1];this['_deflate']=_0x1132c3['createDeflateRaw']({...this[_0xf0776a(0xcf)]['zlibDeflateOptions'],'windowBits':_0x12b264}),this[_0xf0776a(0x193)][_0x39abdb]=0x0,this[_0xf0776a(0x193)][_0x1feaa4]=[],this[_0xf0776a(0x193)]['on'](_0xf0776a(0x164),_0x5dff58);}this[_0xf0776a(0x193)][_0x6931f0]=_0x500893,this['_deflate'][_0xf0776a(0x1be)](_0x4f4fdb),this['_deflate'][_0xf0776a(0x200)](_0x1132c3['Z_SYNC_FLUSH'],()=>{const _0x15c457=_0xf0776a;if(!this['_deflate'])return;let _0x4d92d3=_0x15c073[_0x15c457(0x129)](this[_0x15c457(0x193)][_0x1feaa4],this[_0x15c457(0x193)][_0x39abdb]);_0x3757f1&&(_0x4d92d3=new _0x19a34a(_0x4d92d3['buffer'],_0x4d92d3[_0x15c457(0x134)],_0x4d92d3[_0x15c457(0x263)]-0x4)),this[_0x15c457(0x193)][_0x6931f0]=null,this['_deflate'][_0x39abdb]=0x0,this['_deflate'][_0x1feaa4]=[],_0x3757f1&&this[_0x15c457(0x256)][_0x5ca17a+_0x15c457(0x25d)]&&this['_deflate'][_0x15c457(0x179)](),_0x500893(null,_0x4d92d3);});}}ve=_0x10542f;function _0x5dff58(_0x4cbe5c){const _0x1ecfbd=_0x3ffe47;this[_0x1feaa4][_0x1ecfbd(0x12f)](_0x4cbe5c),this[_0x39abdb]+=_0x4cbe5c['length'];}function _0x3c33d5(_0x4ed836){const _0x5a8ecd=_0x3ffe47;if(this[_0x39abdb]+=_0x4ed836[_0x5a8ecd(0x263)],this[_0xc6ae09]['_maxPayload']<0x1||this[_0x39abdb]<=this[_0xc6ae09][_0x5a8ecd(0x10c)]){this[_0x1feaa4][_0x5a8ecd(0x12f)](_0x4ed836);return;}this[_0x27fd95]=new RangeError(_0x5a8ecd(0xc8)),this[_0x27fd95]['code']=_0x5a8ecd(0x17d),this[_0x27fd95][_0x4b668e]=0x3f1,this[_0x5a8ecd(0x1ad)](_0x5a8ecd(0x164),_0x3c33d5),this[_0x5a8ecd(0x179)]();}function _0x278e65(_0x5fa0ed){const _0x53ce52=_0x3ffe47;if(this[_0xc6ae09][_0x53ce52(0xdf)]=null,this[_0x27fd95]){this[_0x6931f0](this[_0x27fd95]);return;}_0x5fa0ed[_0x4b668e]=0x3ef,this[_0x6931f0](_0x5fa0ed);}return ve;}function _0x1cfb(){const _0x10ed76=['removeEventListener','4782DzPzOj','Upgrade:\x20websocket','_readyState','_options','Module','alloc','unmask','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','serverMaxWindowBits','read','Invalid\x20URL:\x20','1374obBefW','_protocol','set','shift','request','getData','listen','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','_inflate','setSocket','invalid\x20payload\x20length\x20','finishRequest','_socket','options','defaultPort','_masked','isValidUTF8','connection','blob','onopen','Unsupported\x20protocol\x20version:\x20','_decompress','digest','destroy','getConfig','_fragments','net','ws+unix:','_redirects','mask','prototype','Invalid\x20Upgrade\x20header','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','client_no_context_takeover','fragments','CONNECTING','uncork','decompress','\x20(supported\x20versions:\x20','species','isPaused','OPEN','extensions','username','HTTP/1.1\x20','acceptAsServer','handleProtocols','NodeCollaborationSocketService','Origin','_firstFragment','MASK\x20must\x20be\x20set','next','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','_maxPayload','_opcode','buffers','shouldHandle','readyState','WS_NO_BUFFER_UTIL','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','maxPayload','createConnection','kError','wsClientError','text/html','@univerjs/core','ISnapshotServerService','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','value','env','bufferedAmount','join','handleEvent','abort','map','connect','Disposable','_destroy','sec-websocket-protocol','kCode','base64','_mask','concat','protocol','CLOSING','_removeListeners','The\x20\x22','DependentOn','push','http:','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','password','dispatch','byteOffset','protocolVersion','_isServer','function','Sec-WebSocket-Protocol','destroyed','_errorEmitted','completeUpgrade','defineProperty','getMask','haveLength','share','_writableState','extensionName','readUInt32BE','_bufferedBytes','kType','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','15046344ylHfAu','_closeTimer','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','toDisposable','forEach','listeners','ping','toString','dispose','Plugin','Cookie','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','text/plain','_originalSecure','@univerjs-pro/collaboration-client','conclude','hash','perMessageDeflate','crypto','acceptAsClient','Sec-WebSocket-Protocol:\x20','binaryType','_read','noServer','Basic\x20','hasOwnProperty','Z_DEFAULT_WINDOWBITS','stream','Invalid\x20Sec-WebSocket-Accept\x20header','zlibInflateOptions','data','callback','_configService','objectMode','isArray','update','COLLABORATION_CLIENT_NODE_CONFIG_KEY','57866110nTNeDd','terminate','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','status-code','dequeue','Inject','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','emitClose','response','_closeCode','ILogService','compress','IConfigService','reset','_registerDependencies','Unexpected\x20end\x20of\x20input','cork','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','serverNoContextTakeover','Invalid\x20WebSocket\x20frame:\x20','FIN\x20must\x20be\x20set','client','call','WS_ERR_INVALID_UTF8','_buffers','Unexpected\x20server\x20response:\x20','type','bind','kIsForOnEventAttribute','https','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','catch','socketPath','arrayBuffer','opcode','parse','arraybuffer','byteLength','GET','_deflate','isIP','ISocketService','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','Unknown\x20parameter\x20\x22','sec-websocket-version','writeHead','Upgrade','setHeader','consume','size','_shouldEmitClose','WS_ERR_UNEXPECTED_RSV_1','getPayloadLength64','_fin','invalid\x20status\x20code\x20','12105352OptUnT','number','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','sec-websocket-origin','getInfo','_totalPayloadLength','onerror','clientTracking','warn','kTarget','removeListener','_binaryType','allocUnsafe','Invalid\x20value\x20for\x20parameter\x20\x22','kReason','readUInt16BE','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','kRun','maxRedirects','handshakeTimeout','listening','WS_ERR_EXPECTED_MASK','captureStackTrace','_autoPong','Maximum\x20redirects\x20exceeded','pong','write','handleUpgrade','auth','_sender','events','WebSocket','toStringTag','exports','_originalHostOrSocketPath','_paused','verifyClient','slice','rsv1','_messageLength','collaboration-client-node.config','construct','getPayloadLength16','7svBDji','jobs','569555DPXGGh','https:','binary','pending','_doCreateSocket','endEmitted','_req','sendFrame','finished','sec-websocket-extensions','cookie','tls','\x22\x20subprotocol\x20is\x20duplicated','reason','_final','toLowerCase','server_max_window_bits','_threshold','WS_ERR_EXPECTED_FIN','fin','listenerCount','_compress','client_max_window_bits','permessage-deflate','websocket','getBlobData','startLoop','redirect','socket','drain','skipUTF8Validation','concurrency','buffer','_maskBuffer','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','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','_bufferedAmount','indexOf','registerDependencies','wasClean','_closeMessage','add','RSV1\x20must\x20be\x20clear','server_no_context_takeover','_skipUTF8Validation','__esModule','cleanup','flush','createError','method','allowSynchronousEvents','UniverCollaborationClientPlugin','kMessage','find','needDrain','getOwnPropertyDescriptor','sec-websocket-key','then','open','default','emit','entries','The\x20URL\x27s\x20pathname\x20is\x20empty','search','@univerjs/network','_readableState','_state','address','message','writeUInt16BE','timeout','setNoDelay','href','The\x20URL\x20contains\x20a\x20fragment\x20identifier','WebSocket\x20is\x20not\x20open:\x20readyState\x20','charCodeAt','writable','keys','upgrade','server','offer','WS_ERR_INVALID_OPCODE','customHeaders','kAborted','UniverCollaborationClientNodePlugin','_closeFrameReceived','Invalid\x20Sec-WebSocket-Protocol\x20header','format','_injector','has','object','normalizeParams','createSocket','CLOSED','string','resume','authorization','accept','apply','from','\x22:\x20','close','invalid\x20opcode\x20','unshift','once','startsWith','enqueue','_fragmented','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','errorEmitted','_server','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','end','pipe','clientNoContextTakeover','onmessage','pluginName','_receiver','kWasClean','DisposableCollection','frame','maskBuffer','\x22\x20must\x20have\x20only\x20a\x20single\x20value','Blob','Sec-WebSocket-Extensions:\x20','dataMessage','_loop','STATUS_CODES','clientMaxWindowBits','freeze','path','nextTick','readOnly','params','addEventListener','File','controlMessage','finish','setTimeout','isInteger','_no_context_takeover','ws:','_extensions','pow','WS_NO_UTF_8_VALIDATE','host','length','pathname','8XGRPgB','autoPong','statusCode','replace','_errored','followRedirects','_max_window_bits','total-length','headers','code','CollaborationSocketService','_generateMask','origin','_closeFrameSent','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','_url','clients','generateMask','4600194UdQzkE','values','_compressed','url','target','Sec-WebSocket-Origin','_queue','wss:','_originalIpc','encrypted','HTTPService','nodebuffer','WS_ERR_UNEXPECTED_RSV_2_3','zlib','writeUIntBE','_allowSynchronousEvents','_payloadLength','delete','location','backlog','onStarting','port','_write','pause','get','2001340ZtCHzU','invalid\x20opcode\x200','send','error','Unexpected\x20character\x20at\x20index\x20','Max\x20payload\x20size\x20exceeded','Observable','create'];_0x1cfb=function(){return _0x10ed76;};return _0x1cfb();}var ie={'exports':{}};const Dt={},Rt=Object[_0x91f056(0x252)](Object['defineProperty']({'__proto__':null,'default':Dt},Symbol[_0x91f056(0x1c4)],{'value':_0x91f056(0xd0)})),Bt=at(Rt);var Ye;function ae(){const _0x107af5=_0x91f056;if(Ye)return ie['exports'];Ye=0x1;const {isUtf8:_0x126aed}=wt,{hasBlob:_0x22e0e2}=H(),_0x8bd03c=[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 _0x2b47f6(_0x4291b6){return _0x4291b6>=0x3e8&&_0x4291b6<=0x3f6&&_0x4291b6!==0x3ec&&_0x4291b6!==0x3ed&&_0x4291b6!==0x3ee||_0x4291b6>=0xbb8&&_0x4291b6<=0x1387;}function _0x17e61c(_0x227231){const _0x1d47f5=_0x227231['length'];let _0x6195e3=0x0;for(;_0x6195e3<_0x1d47f5;)if((_0x227231[_0x6195e3]&0x80)===0x0)_0x6195e3++;else{if((_0x227231[_0x6195e3]&0xe0)===0xc0){if(_0x6195e3+0x1===_0x1d47f5||(_0x227231[_0x6195e3+0x1]&0xc0)!==0x80||(_0x227231[_0x6195e3]&0xfe)===0xc0)return!0x1;_0x6195e3+=0x2;}else{if((_0x227231[_0x6195e3]&0xf0)===0xe0){if(_0x6195e3+0x2>=_0x1d47f5||(_0x227231[_0x6195e3+0x1]&0xc0)!==0x80||(_0x227231[_0x6195e3+0x2]&0xc0)!==0x80||_0x227231[_0x6195e3]===0xe0&&(_0x227231[_0x6195e3+0x1]&0xe0)===0x80||_0x227231[_0x6195e3]===0xed&&(_0x227231[_0x6195e3+0x1]&0xe0)===0xa0)return!0x1;_0x6195e3+=0x3;}else{if((_0x227231[_0x6195e3]&0xf8)===0xf0){if(_0x6195e3+0x3>=_0x1d47f5||(_0x227231[_0x6195e3+0x1]&0xc0)!==0x80||(_0x227231[_0x6195e3+0x2]&0xc0)!==0x80||(_0x227231[_0x6195e3+0x3]&0xc0)!==0x80||_0x227231[_0x6195e3]===0xf0&&(_0x227231[_0x6195e3+0x1]&0xf0)===0x80||_0x227231[_0x6195e3]===0xf4&&_0x227231[_0x6195e3+0x1]>0x8f||_0x227231[_0x6195e3]>0xf4)return!0x1;_0x6195e3+=0x4;}else return!0x1;}}}return!0x0;}function _0xfdbf2d(_0x4e2aaa){const _0x581cec=_0x1049;return _0x22e0e2&&typeof _0x4e2aaa==_0x581cec(0x22b)&&typeof _0x4e2aaa[_0x581cec(0x18d)]==_0x581cec(0x137)&&typeof _0x4e2aaa[_0x581cec(0x186)]=='string'&&typeof _0x4e2aaa[_0x581cec(0x161)]==_0x581cec(0x137)&&(_0x4e2aaa[Symbol[_0x581cec(0x1c4)]]===_0x581cec(0x24c)||_0x4e2aaa[Symbol[_0x581cec(0x1c4)]]===_0x581cec(0x258));}if(ie[_0x107af5(0x1c5)]={'isBlob':_0xfdbf2d,'isValidStatusCode':_0x2b47f6,'isValidUTF8':_0x17e61c,'tokenChars':_0x8bd03c},_0x126aed)ie[_0x107af5(0x1c5)][_0x107af5(0xe7)]=function(_0x14ccb7){const _0x128358=_0x107af5;return _0x14ccb7[_0x128358(0x263)]<0x18?_0x17e61c(_0x14ccb7):_0x126aed(_0x14ccb7);};else{if(!process[_0x107af5(0x11c)][_0x107af5(0x261)])try{const _0x45c95b=Bt;ie[_0x107af5(0x1c5)][_0x107af5(0xe7)]=function(_0x14672c){const _0x50431e=_0x107af5;return _0x14672c[_0x50431e(0x263)]<0x20?_0x17e61c(_0x14672c):_0x45c95b(_0x14672c);};}catch{}}return ie['exports'];}var Se,Ke;function lt(){const _0x1d0806=_0x91f056;if(Ke)return Se;Ke=0x1;const {Writable:_0x18fd8b}=oe,_0x569ccd=he(),{BINARY_TYPES:_0x339a92,EMPTY_BUFFER:_0x4467cd,kStatusCode:_0x57953b,kWebSocket:_0x3d6b9f}=H(),{concat:_0x29648a,toArrayBuffer:_0x362066,unmask:_0x1edee3}=ce(),{isValidStatusCode:_0x304473,isValidUTF8:_0x12a8c9}=ae(),_0x2b5e96=Buffer[Symbol[_0x1d0806(0xfe)]],_0x3dbd9b=0x0,_0x56ee07=0x1,_0xf4071b=0x2,_0x55751e=0x3,_0x233ebd=0x4,_0x146b0d=0x5,_0x364fd4=0x6;class _0x389943 extends _0x18fd8b{constructor(_0x562bba={}){const _0x3924c3=_0x1d0806;super(),this[_0x3924c3(0xb9)]=_0x562bba[_0x3924c3(0x203)]!==void 0x0?_0x562bba[_0x3924c3(0x203)]:!0x0,this[_0x3924c3(0x1ae)]=_0x562bba[_0x3924c3(0x15b)]||_0x339a92[0x0],this[_0x3924c3(0x25f)]=_0x562bba['extensions']||{},this[_0x3924c3(0x136)]=!!_0x562bba['isServer'],this[_0x3924c3(0x10c)]=_0x562bba['maxPayload']|0x0,this[_0x3924c3(0x1fd)]=!!_0x562bba[_0x3924c3(0x1ef)],this[_0x3d6b9f]=void 0x0,this['_bufferedBytes']=0x0,this['_buffers']=[],this['_compressed']=!0x1,this['_payloadLength']=0x0,this[_0x3924c3(0x128)]=void 0x0,this[_0x3924c3(0x23c)]=0x0,this[_0x3924c3(0xe6)]=!0x1,this[_0x3924c3(0x1a1)]=!0x1,this['_opcode']=0x0,this[_0x3924c3(0x1a8)]=0x0,this[_0x3924c3(0x1cb)]=0x0,this[_0x3924c3(0xf0)]=[],this[_0x3924c3(0x269)]=!0x1,this[_0x3924c3(0x24f)]=!0x1,this[_0x3924c3(0x213)]=_0x3dbd9b;}[_0x1d0806(0xc0)](_0x85a1b4,_0x1d2462,_0x23fc5f){const _0x33767e=_0x1d0806;if(this['_opcode']===0x8&&this[_0x33767e(0x213)]==_0x3dbd9b)return _0x23fc5f();this['_bufferedBytes']+=_0x85a1b4[_0x33767e(0x263)],this[_0x33767e(0x184)][_0x33767e(0x12f)](_0x85a1b4),this[_0x33767e(0x1eb)](_0x23fc5f);}[_0x1d0806(0x19c)](_0x3b48cb){const _0x4484b6=_0x1d0806;if(this[_0x4484b6(0x143)]-=_0x3b48cb,_0x3b48cb===this[_0x4484b6(0x184)][0x0]['length'])return this['_buffers'][_0x4484b6(0xda)]();if(_0x3b48cb<this[_0x4484b6(0x184)][0x0][_0x4484b6(0x263)]){const _0x44fdb2=this['_buffers'][0x0];return this['_buffers'][0x0]=new _0x2b5e96(_0x44fdb2[_0x4484b6(0x1f1)],_0x44fdb2[_0x4484b6(0x134)]+_0x3b48cb,_0x44fdb2[_0x4484b6(0x263)]-_0x3b48cb),new _0x2b5e96(_0x44fdb2['buffer'],_0x44fdb2[_0x4484b6(0x134)],_0x3b48cb);}const _0x465506=Buffer[_0x4484b6(0x1af)](_0x3b48cb);do{const _0x424bdf=this['_buffers'][0x0],_0x2c22ba=_0x465506[_0x4484b6(0x263)]-_0x3b48cb;_0x3b48cb>=_0x424bdf[_0x4484b6(0x263)]?_0x465506[_0x4484b6(0xd9)](this['_buffers']['shift'](),_0x2c22ba):(_0x465506[_0x4484b6(0xd9)](new Uint8Array(_0x424bdf['buffer'],_0x424bdf[_0x4484b6(0x134)],_0x3b48cb),_0x2c22ba),this['_buffers'][0x0]=new _0x2b5e96(_0x424bdf[_0x4484b6(0x1f1)],_0x424bdf['byteOffset']+_0x3b48cb,_0x424bdf[_0x4484b6(0x263)]-_0x3b48cb)),_0x3b48cb-=_0x424bdf[_0x4484b6(0x263)];}while(_0x3b48cb>0x0);return _0x465506;}['startLoop'](_0x264efc){const _0x39dcc8=_0x1d0806;this[_0x39dcc8(0x24f)]=!0x0;do switch(this['_state']){case _0x3dbd9b:this[_0x39dcc8(0x1a7)](_0x264efc);break;case _0x56ee07:this[_0x39dcc8(0x1ce)](_0x264efc);break;case _0xf4071b:this[_0x39dcc8(0x1a0)](_0x264efc);break;case _0x55751e:this[_0x39dcc8(0x13d)]();break;case _0x233ebd:this[_0x39dcc8(0xdc)](_0x264efc);break;case _0x146b0d:case _0x364fd4:this[_0x39dcc8(0x24f)]=!0x1;return;}while(this[_0x39dcc8(0x24f)]);this['_errored']||_0x264efc();}[_0x1d0806(0x1a7)](_0xe20924){const _0x1daefa=_0x1d0806;if(this[_0x1daefa(0x143)]<0x2){this['_loop']=!0x1;return;}const _0x475e78=this[_0x1daefa(0x19c)](0x2);if((_0x475e78[0x0]&0x30)!==0x0){const _0x575f52=this[_0x1daefa(0x201)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x1daefa(0xb6));_0xe20924(_0x575f52);return;}const _0x541111=(_0x475e78[0x0]&0x40)===0x40;if(_0x541111&&!this[_0x1daefa(0x25f)][_0x569ccd['extensionName']]){const _0x393db5=this[_0x1daefa(0x201)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x1daefa(0x19f));_0xe20924(_0x393db5);return;}if(this['_fin']=(_0x475e78[0x0]&0x80)===0x80,this[_0x1daefa(0x10d)]=_0x475e78[0x0]&0xf,this['_payloadLength']=_0x475e78[0x1]&0x7f,this[_0x1daefa(0x10d)]===0x0){if(_0x541111){const _0x49a6f6=this[_0x1daefa(0x201)](RangeError,_0x1daefa(0x1fb),!0x0,0x3ea,_0x1daefa(0x19f));_0xe20924(_0x49a6f6);return;}if(!this[_0x1daefa(0x23c)]){const _0x19c37a=this[_0x1daefa(0x201)](RangeError,_0x1daefa(0xc4),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0xe20924(_0x19c37a);return;}this[_0x1daefa(0x10d)]=this['_fragmented'];}else{if(this[_0x1daefa(0x10d)]===0x1||this[_0x1daefa(0x10d)]===0x2){if(this['_fragmented']){const _0x1cc46a=this[_0x1daefa(0x201)](RangeError,_0x1daefa(0x237)+this[_0x1daefa(0x10d)],!0x0,0x3ea,_0x1daefa(0x222));_0xe20924(_0x1cc46a);return;}this[_0x1daefa(0xac)]=_0x541111;}else{if(this[_0x1daefa(0x10d)]>0x7&&this[_0x1daefa(0x10d)]<0xb){if(!this[_0x1daefa(0x1a1)]){const _0x22d184=this['createError'](RangeError,_0x1daefa(0x180),!0x0,0x3ea,_0x1daefa(0x1e3));_0xe20924(_0x22d184);return;}if(_0x541111){const _0x59f3c9=this[_0x1daefa(0x201)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x1daefa(0x19f));_0xe20924(_0x59f3c9);return;}if(this[_0x1daefa(0xba)]>0x7d||this[_0x1daefa(0x10d)]===0x8&&this['_payloadLength']===0x1){const _0x2ee15f=this[_0x1daefa(0x201)](RangeError,_0x1daefa(0xe1)+this[_0x1daefa(0xba)],!0x0,0x3ea,_0x1daefa(0x112));_0xe20924(_0x2ee15f);return;}}else{const _0x1abc11=this[_0x1daefa(0x201)](RangeError,_0x1daefa(0x237)+this[_0x1daefa(0x10d)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0xe20924(_0x1abc11);return;}}}if(!this[_0x1daefa(0x1a1)]&&!this[_0x1daefa(0x23c)]&&(this[_0x1daefa(0x23c)]=this[_0x1daefa(0x10d)]),this[_0x1daefa(0xe6)]=(_0x475e78[0x1]&0x80)===0x80,this[_0x1daefa(0x136)]){if(!this['_masked']){const _0x344791=this['createError'](RangeError,_0x1daefa(0x109),!0x0,0x3ea,_0x1daefa(0x1b9));_0xe20924(_0x344791);return;}}else{if(this[_0x1daefa(0xe6)]){const _0x254617=this[_0x1daefa(0x201)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0xe20924(_0x254617);return;}}this['_payloadLength']===0x7e?this[_0x1daefa(0x213)]=_0x56ee07:this[_0x1daefa(0xba)]===0x7f?this[_0x1daefa(0x213)]=_0xf4071b:this[_0x1daefa(0x13e)](_0xe20924);}[_0x1d0806(0x1ce)](_0x5ba536){const _0x12e5ae=_0x1d0806;if(this[_0x12e5ae(0x143)]<0x2){this['_loop']=!0x1;return;}this[_0x12e5ae(0xba)]=this['consume'](0x2)[_0x12e5ae(0x1b2)](0x0),this[_0x12e5ae(0x13e)](_0x5ba536);}[_0x1d0806(0x1a0)](_0x301b79){const _0x379838=_0x1d0806;if(this[_0x379838(0x143)]<0x8){this[_0x379838(0x24f)]=!0x1;return;}const _0x591a4f=this[_0x379838(0x19c)](0x8),_0x56581=_0x591a4f[_0x379838(0x142)](0x0);if(_0x56581>Math[_0x379838(0x260)](0x2,0x15)-0x1){const _0x5d7ad5=this['createError'](RangeError,_0x379838(0x131),!0x1,0x3f1,_0x379838(0x11a));_0x301b79(_0x5d7ad5);return;}this[_0x379838(0xba)]=_0x56581*Math['pow'](0x2,0x20)+_0x591a4f[_0x379838(0x142)](0x4),this[_0x379838(0x13e)](_0x301b79);}[_0x1d0806(0x13e)](_0x3fa7ee){const _0x2a36ab=_0x1d0806;if(this[_0x2a36ab(0xba)]&&this[_0x2a36ab(0x10d)]<0x8&&(this[_0x2a36ab(0x1a8)]+=this['_payloadLength'],this[_0x2a36ab(0x1a8)]>this[_0x2a36ab(0x10c)]&&this[_0x2a36ab(0x10c)]>0x0)){const _0x3274fc=this[_0x2a36ab(0x201)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x2a36ab(0x17d));_0x3fa7ee(_0x3274fc);return;}this[_0x2a36ab(0xe6)]?this[_0x2a36ab(0x213)]=_0x55751e:this[_0x2a36ab(0x213)]=_0x233ebd;}[_0x1d0806(0x13d)](){const _0x358f7e=_0x1d0806;if(this[_0x358f7e(0x143)]<0x4){this[_0x358f7e(0x24f)]=!0x1;return;}this['_mask']=this[_0x358f7e(0x19c)](0x4),this[_0x358f7e(0x213)]=_0x233ebd;}['getData'](_0x3f6f15){const _0x5de6d1=_0x1d0806;let _0xcc87f5=_0x4467cd;if(this['_payloadLength']){if(this['_bufferedBytes']<this['_payloadLength']){this[_0x5de6d1(0x24f)]=!0x1;return;}_0xcc87f5=this['consume'](this[_0x5de6d1(0xba)]),this[_0x5de6d1(0xe6)]&&(this['_mask'][0x0]|this[_0x5de6d1(0x128)][0x1]|this[_0x5de6d1(0x128)][0x2]|this[_0x5de6d1(0x128)][0x3])!==0x0&&_0x1edee3(_0xcc87f5,this[_0x5de6d1(0x128)]);}if(this['_opcode']>0x7){this[_0x5de6d1(0x259)](_0xcc87f5,_0x3f6f15);return;}if(this[_0x5de6d1(0xac)]){this[_0x5de6d1(0x213)]=_0x146b0d,this[_0x5de6d1(0xfc)](_0xcc87f5,_0x3f6f15);return;}_0xcc87f5[_0x5de6d1(0x263)]&&(this[_0x5de6d1(0x1cb)]=this[_0x5de6d1(0x1a8)],this['_fragments'][_0x5de6d1(0x12f)](_0xcc87f5)),this['dataMessage'](_0x3f6f15);}[_0x1d0806(0xfc)](_0x1e4f57,_0x3726be){const _0xa98950=_0x1d0806;this[_0xa98950(0x25f)][_0x569ccd[_0xa98950(0x141)]][_0xa98950(0xfc)](_0x1e4f57,this['_fin'],(_0x42217a,_0x427ad8)=>{const _0x1443f7=_0xa98950;if(_0x42217a)return _0x3726be(_0x42217a);if(_0x427ad8[_0x1443f7(0x263)]){if(this[_0x1443f7(0x1cb)]+=_0x427ad8[_0x1443f7(0x263)],this[_0x1443f7(0x1cb)]>this[_0x1443f7(0x10c)]&&this[_0x1443f7(0x10c)]>0x0){const _0x2f9dd1=this[_0x1443f7(0x201)](RangeError,_0x1443f7(0xc8),!0x1,0x3f1,_0x1443f7(0x17d));_0x3726be(_0x2f9dd1);return;}this[_0x1443f7(0xf0)][_0x1443f7(0x12f)](_0x427ad8);}this[_0x1443f7(0x24e)](_0x3726be),this[_0x1443f7(0x213)]===_0x3dbd9b&&this[_0x1443f7(0x1eb)](_0x3726be);});}[_0x1d0806(0x24e)](_0x3db62e){const _0x13c37d=_0x1d0806;if(!this['_fin']){this['_state']=_0x3dbd9b;return;}const _0x37e4a0=this[_0x13c37d(0x1cb)],_0x47d0e4=this[_0x13c37d(0xf0)];if(this[_0x13c37d(0x1a8)]=0x0,this[_0x13c37d(0x1cb)]=0x0,this[_0x13c37d(0x23c)]=0x0,this['_fragments']=[],this[_0x13c37d(0x10d)]===0x2){let _0xfe2111;this['_binaryType']===_0x13c37d(0xb5)?_0xfe2111=_0x29648a(_0x47d0e4,_0x37e4a0):this[_0x13c37d(0x1ae)]===_0x13c37d(0x190)?_0xfe2111=_0x362066(_0x29648a(_0x47d0e4,_0x37e4a0)):this[_0x13c37d(0x1ae)]===_0x13c37d(0xe9)?_0xfe2111=new Blob(_0x47d0e4):_0xfe2111=_0x47d0e4,this[_0x13c37d(0xb9)]?(this[_0x13c37d(0x20d)](_0x13c37d(0x215),_0xfe2111,!0x0),this[_0x13c37d(0x213)]=_0x3dbd9b):(this[_0x13c37d(0x213)]=_0x364fd4,setImmediate(()=>{const _0x35886b=_0x13c37d;this[_0x35886b(0x20d)]('message',_0xfe2111,!0x0),this['_state']=_0x3dbd9b,this[_0x35886b(0x1eb)](_0x3db62e);}));}else{const _0x1e310f=_0x29648a(_0x47d0e4,_0x37e4a0);if(!this['_skipUTF8Validation']&&!_0x12a8c9(_0x1e310f)){const _0x61c29d=this[_0x13c37d(0x201)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x13c37d(0x183));_0x3db62e(_0x61c29d);return;}this[_0x13c37d(0x213)]===_0x146b0d||this['_allowSynchronousEvents']?(this[_0x13c37d(0x20d)](_0x13c37d(0x215),_0x1e310f,!0x1),this[_0x13c37d(0x213)]=_0x3dbd9b):(this[_0x13c37d(0x213)]=_0x364fd4,setImmediate(()=>{const _0x3a6d49=_0x13c37d;this[_0x3a6d49(0x20d)](_0x3a6d49(0x215),_0x1e310f,!0x1),this[_0x3a6d49(0x213)]=_0x3dbd9b,this[_0x3a6d49(0x1eb)](_0x3db62e);}));}}['controlMessage'](_0xcc4312,_0x31f551){const _0x451fa8=_0x1d0806;if(this['_opcode']===0x8){if(_0xcc4312[_0x451fa8(0x263)]===0x0)this[_0x451fa8(0x24f)]=!0x1,this[_0x451fa8(0x20d)](_0x451fa8(0x155),0x3ed,_0x4467cd),this[_0x451fa8(0x241)]();else{const _0x34484c=_0xcc4312[_0x451fa8(0x1b2)](0x0);if(!_0x304473(_0x34484c)){const _0x1dbd12=this[_0x451fa8(0x201)](RangeError,_0x451fa8(0x1a2)+_0x34484c,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x31f551(_0x1dbd12);return;}const _0x2dcce9=new _0x2b5e96(_0xcc4312[_0x451fa8(0x1f1)],_0xcc4312[_0x451fa8(0x134)]+0x2,_0xcc4312['length']-0x2);if(!this[_0x451fa8(0x1fd)]&&!_0x12a8c9(_0x2dcce9)){const _0x2defa5=this['createError'](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x451fa8(0x183));_0x31f551(_0x2defa5);return;}this[_0x451fa8(0x24f)]=!0x1,this[_0x451fa8(0x20d)]('conclude',_0x34484c,_0x2dcce9),this['end']();}this[_0x451fa8(0x213)]=_0x3dbd9b;return;}this[_0x451fa8(0xb9)]?(this['emit'](this[_0x451fa8(0x10d)]===0x9?_0x451fa8(0x14c):_0x451fa8(0x1bd),_0xcc4312),this[_0x451fa8(0x213)]=_0x3dbd9b):(this['_state']=_0x364fd4,setImmediate(()=>{const _0x85d2d5=_0x451fa8;this[_0x85d2d5(0x20d)](this[_0x85d2d5(0x10d)]===0x9?_0x85d2d5(0x14c):_0x85d2d5(0x1bd),_0xcc4312),this[_0x85d2d5(0x213)]=_0x3dbd9b,this[_0x85d2d5(0x1eb)](_0x31f551);}));}[_0x1d0806(0x201)](_0xc40a41,_0x274865,_0x5aed11,_0x1a76cf,_0x17190c){const _0x14763b=_0x1d0806;this[_0x14763b(0x24f)]=!0x1,this[_0x14763b(0x269)]=!0x0;const _0x240f82=new _0xc40a41(_0x5aed11?_0x14763b(0x17f)+_0x274865:_0x274865);return Error[_0x14763b(0x1ba)](_0x240f82,this[_0x14763b(0x201)]),_0x240f82[_0x14763b(0x26e)]=_0x17190c,_0x240f82[_0x57953b]=_0x1a76cf,_0x240f82;}}return Se=_0x389943,Se;}var Ee,Xe;function ft(){const _0x3f632c=_0x91f056;if(Xe)return Ee;Xe=0x1;const {Duplex:_0xb344a2}=oe,{randomFillSync:_0x1a4c6d}=Le,_0x67089f=he(),{EMPTY_BUFFER:_0x4547af,kWebSocket:_0x4f0e2e,NOOP:_0x324d42}=H(),{isBlob:_0x4bb68c,isValidStatusCode:_0x52346a}=ae(),{mask:_0x361885,toBuffer:_0x3e925a}=ce(),_0x446bf7=Symbol('kByteLength'),_0x11157c=Buffer['alloc'](0x4),_0x110bdf=0x8*0x400;let _0x1f3895,_0x1a4e77=_0x110bdf;const _0x1ae5f2=0x0,_0x6e4bf6=0x1,_0x170507=0x2;class _0xdc2e99{constructor(_0x1c633d,_0x344f76,_0x2df72d){const _0x12517b=_0x1049;this[_0x12517b(0x25f)]=_0x344f76||{},_0x2df72d&&(this[_0x12517b(0x270)]=_0x2df72d,this['_maskBuffer']=Buffer[_0x12517b(0xd1)](0x4)),this[_0x12517b(0xe3)]=_0x1c633d,this[_0x12517b(0x108)]=!0x0,this[_0x12517b(0x1e6)]=!0x1,this[_0x12517b(0x143)]=0x0,this['_queue']=[],this['_state']=_0x1ae5f2,this['onerror']=_0x324d42,this[_0x4f0e2e]=void 0x0;}static[_0x3f632c(0x249)](_0xcb2ef0,_0x299a5b){const _0x311657=_0x3f632c;let _0x7b8b66,_0x247525=!0x1,_0x5e9dd1=0x2,_0x30fd83=!0x1;_0x299a5b[_0x311657(0xf4)]&&(_0x7b8b66=_0x299a5b[_0x311657(0x24a)]||_0x11157c,_0x299a5b[_0x311657(0xa9)]?_0x299a5b[_0x311657(0xa9)](_0x7b8b66):(_0x1a4e77===_0x110bdf&&(_0x1f3895===void 0x0&&(_0x1f3895=Buffer[_0x311657(0xd1)](_0x110bdf)),_0x1a4c6d(_0x1f3895,0x0,_0x110bdf),_0x1a4e77=0x0),_0x7b8b66[0x0]=_0x1f3895[_0x1a4e77++],_0x7b8b66[0x1]=_0x1f3895[_0x1a4e77++],_0x7b8b66[0x2]=_0x1f3895[_0x1a4e77++],_0x7b8b66[0x3]=_0x1f3895[_0x1a4e77++]),_0x30fd83=(_0x7b8b66[0x0]|_0x7b8b66[0x1]|_0x7b8b66[0x2]|_0x7b8b66[0x3])===0x0,_0x5e9dd1=0x6);let _0x2ee9c1;typeof _0xcb2ef0=='string'?(!_0x299a5b[_0x311657(0xf4)]||_0x30fd83)&&_0x299a5b[_0x446bf7]!==void 0x0?_0x2ee9c1=_0x299a5b[_0x446bf7]:(_0xcb2ef0=Buffer['from'](_0xcb2ef0),_0x2ee9c1=_0xcb2ef0['length']):(_0x2ee9c1=_0xcb2ef0[_0x311657(0x263)],_0x247525=_0x299a5b[_0x311657(0xf4)]&&_0x299a5b[_0x311657(0x255)]&&!_0x30fd83);let _0x12bea8=_0x2ee9c1;_0x2ee9c1>=0x10000?(_0x5e9dd1+=0x8,_0x12bea8=0x7f):_0x2ee9c1>0x7d&&(_0x5e9dd1+=0x2,_0x12bea8=0x7e);const _0x10fb89=Buffer[_0x311657(0x1af)](_0x247525?_0x2ee9c1+_0x5e9dd1:_0x5e9dd1);return _0x10fb89[0x0]=_0x299a5b['fin']?_0x299a5b[_0x311657(0x18e)]|0x80:_0x299a5b[_0x311657(0x18e)],_0x299a5b[_0x311657(0x1ca)]&&(_0x10fb89[0x0]|=0x40),_0x10fb89[0x1]=_0x12bea8,_0x12bea8===0x7e?_0x10fb89['writeUInt16BE'](_0x2ee9c1,0x2):_0x12bea8===0x7f&&(_0x10fb89[0x2]=_0x10fb89[0x3]=0x0,_0x10fb89[_0x311657(0xb8)](_0x2ee9c1,0x4,0x6)),_0x299a5b['mask']?(_0x10fb89[0x1]|=0x80,_0x10fb89[_0x5e9dd1-0x4]=_0x7b8b66[0x0],_0x10fb89[_0x5e9dd1-0x3]=_0x7b8b66[0x1],_0x10fb89[_0x5e9dd1-0x2]=_0x7b8b66[0x2],_0x10fb89[_0x5e9dd1-0x1]=_0x7b8b66[0x3],_0x30fd83?[_0x10fb89,_0xcb2ef0]:_0x247525?(_0x361885(_0xcb2ef0,_0x7b8b66,_0x10fb89,_0x5e9dd1,_0x2ee9c1),[_0x10fb89]):(_0x361885(_0xcb2ef0,_0x7b8b66,_0xcb2ef0,0x0,_0x2ee9c1),[_0x10fb89,_0xcb2ef0])):[_0x10fb89,_0xcb2ef0];}[_0x3f632c(0x236)](_0x3a9851,_0x50480c,_0x11db9d,_0x5cec9d){const _0x2de324=_0x3f632c;let _0x3172f8;if(_0x3a9851===void 0x0)_0x3172f8=_0x4547af;else{if(typeof _0x3a9851!='number'||!_0x52346a(_0x3a9851))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x50480c===void 0x0||!_0x50480c[_0x2de324(0x263)])_0x3172f8=Buffer[_0x2de324(0x1af)](0x2),_0x3172f8[_0x2de324(0x216)](_0x3a9851,0x0);else{const _0x4c123d=Buffer[_0x2de324(0x191)](_0x50480c);if(_0x4c123d>0x7b)throw new RangeError(_0x2de324(0xde));_0x3172f8=Buffer[_0x2de324(0x1af)](0x2+_0x4c123d),_0x3172f8[_0x2de324(0x216)](_0x3a9851,0x0),typeof _0x50480c==_0x2de324(0x22f)?_0x3172f8[_0x2de324(0x1be)](_0x50480c,0x2):_0x3172f8[_0x2de324(0xd9)](_0x50480c,0x2);}}const _0x3c1bc0={[_0x446bf7]:_0x3172f8[_0x2de324(0x263)],'fin':!0x0,'generateMask':this[_0x2de324(0x270)],'mask':_0x11db9d,'maskBuffer':this[_0x2de324(0x1f2)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x2de324(0x213)]!==_0x1ae5f2?this[_0x2de324(0x23b)]([this[_0x2de324(0x133)],_0x3172f8,!0x1,_0x3c1bc0,_0x5cec9d]):this['sendFrame'](_0xdc2e99['frame'](_0x3172f8,_0x3c1bc0),_0x5cec9d);}[_0x3f632c(0x14c)](_0x58ff60,_0x2bbf82,_0x21af3f){const _0xc254f3=_0x3f632c;let _0x336afe,_0x1ba59f;if(typeof _0x58ff60==_0xc254f3(0x22f)?(_0x336afe=Buffer[_0xc254f3(0x191)](_0x58ff60),_0x1ba59f=!0x1):_0x4bb68c(_0x58ff60)?(_0x336afe=_0x58ff60[_0xc254f3(0x19d)],_0x1ba59f=!0x1):(_0x58ff60=_0x3e925a(_0x58ff60),_0x336afe=_0x58ff60['length'],_0x1ba59f=_0x3e925a['readOnly']),_0x336afe>0x7d)throw new RangeError(_0xc254f3(0x1b4));const _0x3a5f9b={[_0x446bf7]:_0x336afe,'fin':!0x0,'generateMask':this[_0xc254f3(0x270)],'mask':_0x2bbf82,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x1ba59f,'rsv1':!0x1};_0x4bb68c(_0x58ff60)?this[_0xc254f3(0x213)]!==_0x1ae5f2?this[_0xc254f3(0x23b)]([this[_0xc254f3(0x1ea)],_0x58ff60,!0x1,_0x3a5f9b,_0x21af3f]):this[_0xc254f3(0x1ea)](_0x58ff60,!0x1,_0x3a5f9b,_0x21af3f):this['_state']!==_0x1ae5f2?this[_0xc254f3(0x23b)]([this[_0xc254f3(0x133)],_0x58ff60,!0x1,_0x3a5f9b,_0x21af3f]):this[_0xc254f3(0x1d8)](_0xdc2e99[_0xc254f3(0x249)](_0x58ff60,_0x3a5f9b),_0x21af3f);}['pong'](_0x32c7ce,_0x3c5582,_0x1b60a8){const _0x2188fe=_0x3f632c;let _0x3b2de1,_0x5a81b3;if(typeof _0x32c7ce==_0x2188fe(0x22f)?(_0x3b2de1=Buffer[_0x2188fe(0x191)](_0x32c7ce),_0x5a81b3=!0x1):_0x4bb68c(_0x32c7ce)?(_0x3b2de1=_0x32c7ce['size'],_0x5a81b3=!0x1):(_0x32c7ce=_0x3e925a(_0x32c7ce),_0x3b2de1=_0x32c7ce[_0x2188fe(0x263)],_0x5a81b3=_0x3e925a['readOnly']),_0x3b2de1>0x7d)throw new RangeError(_0x2188fe(0x1b4));const _0x1ae635={[_0x446bf7]:_0x3b2de1,'fin':!0x0,'generateMask':this[_0x2188fe(0x270)],'mask':_0x3c5582,'maskBuffer':this[_0x2188fe(0x1f2)],'opcode':0xa,'readOnly':_0x5a81b3,'rsv1':!0x1};_0x4bb68c(_0x32c7ce)?this[_0x2188fe(0x213)]!==_0x1ae5f2?this[_0x2188fe(0x23b)]([this[_0x2188fe(0x1ea)],_0x32c7ce,!0x1,_0x1ae635,_0x1b60a8]):this['getBlobData'](_0x32c7ce,!0x1,_0x1ae635,_0x1b60a8):this[_0x2188fe(0x213)]!==_0x1ae5f2?this[_0x2188fe(0x23b)]([this[_0x2188fe(0x133)],_0x32c7ce,!0x1,_0x1ae635,_0x1b60a8]):this[_0x2188fe(0x1d8)](_0xdc2e99[_0x2188fe(0x249)](_0x32c7ce,_0x1ae635),_0x1b60a8);}[_0x3f632c(0xc5)](_0x8f7a68,_0x4d4487,_0x220f8f){const _0x410690=_0x3f632c,_0x4865b5=this[_0x410690(0x25f)][_0x67089f[_0x410690(0x141)]];let _0x5507c4=_0x4d4487[_0x410690(0x1d3)]?0x2:0x1,_0x341dd0=_0x4d4487[_0x410690(0x177)],_0x2b3b33,_0x216138;typeof _0x8f7a68=='string'?(_0x2b3b33=Buffer[_0x410690(0x191)](_0x8f7a68),_0x216138=!0x1):_0x4bb68c(_0x8f7a68)?(_0x2b3b33=_0x8f7a68[_0x410690(0x19d)],_0x216138=!0x1):(_0x8f7a68=_0x3e925a(_0x8f7a68),_0x2b3b33=_0x8f7a68['length'],_0x216138=_0x3e925a[_0x410690(0x255)]),this[_0x410690(0x108)]?(this[_0x410690(0x108)]=!0x1,_0x341dd0&&_0x4865b5&&_0x4865b5['params'][_0x4865b5[_0x410690(0x136)]?_0x410690(0x1fc):_0x410690(0xf8)]&&(_0x341dd0=_0x2b3b33>=_0x4865b5[_0x410690(0x1e2)]),this[_0x410690(0x1e6)]=_0x341dd0):(_0x341dd0=!0x1,_0x5507c4=0x0),_0x4d4487['fin']&&(this[_0x410690(0x108)]=!0x0);const _0x5d6375={[_0x446bf7]:_0x2b3b33,'fin':_0x4d4487['fin'],'generateMask':this['_generateMask'],'mask':_0x4d4487['mask'],'maskBuffer':this['_maskBuffer'],'opcode':_0x5507c4,'readOnly':_0x216138,'rsv1':_0x341dd0};_0x4bb68c(_0x8f7a68)?this[_0x410690(0x213)]!==_0x1ae5f2?this[_0x410690(0x23b)]([this[_0x410690(0x1ea)],_0x8f7a68,this[_0x410690(0x1e6)],_0x5d6375,_0x220f8f]):this['getBlobData'](_0x8f7a68,this[_0x410690(0x1e6)],_0x5d6375,_0x220f8f):this['_state']!==_0x1ae5f2?this['enqueue']([this[_0x410690(0x133)],_0x8f7a68,this['_compress'],_0x5d6375,_0x220f8f]):this['dispatch'](_0x8f7a68,this['_compress'],_0x5d6375,_0x220f8f);}[_0x3f632c(0x1ea)](_0x1cb2b9,_0xa4e4bd,_0x282415,_0x3eef03){const _0xceba55=_0x3f632c;this[_0xceba55(0x143)]+=_0x282415[_0x446bf7],this[_0xceba55(0x213)]=_0x170507,_0x1cb2b9[_0xceba55(0x18d)]()[_0xceba55(0x20a)](_0x249bd5=>{const _0x3c7917=_0xceba55;if(this['_socket'][_0x3c7917(0x139)]){const _0x5890a0=new Error(_0x3c7917(0x1a5));process[_0x3c7917(0x254)](_0x43cefb,this,_0x5890a0,_0x3eef03);return;}this[_0x3c7917(0x143)]-=_0x282415[_0x446bf7];const _0x16d076=_0x3e925a(_0x249bd5);_0xa4e4bd?this['dispatch'](_0x16d076,_0xa4e4bd,_0x282415,_0x3eef03):(this['_state']=_0x1ae5f2,this[_0x3c7917(0x1d8)](_0xdc2e99[_0x3c7917(0x249)](_0x16d076,_0x282415),_0x3eef03),this[_0x3c7917(0x16f)]());})[_0xceba55(0x18b)](_0x1457d7=>{const _0x48e892=_0xceba55;process[_0x48e892(0x254)](_0x1b7c40,this,_0x1457d7,_0x3eef03);});}['dispatch'](_0x2e2297,_0x229223,_0x34d103,_0x1ed0c7){const _0x6c7934=_0x3f632c;if(!_0x229223){this[_0x6c7934(0x1d8)](_0xdc2e99[_0x6c7934(0x249)](_0x2e2297,_0x34d103),_0x1ed0c7);return;}const _0x38d05a=this[_0x6c7934(0x25f)][_0x67089f['extensionName']];this['_bufferedBytes']+=_0x34d103[_0x446bf7],this[_0x6c7934(0x213)]=_0x6e4bf6,_0x38d05a[_0x6c7934(0x177)](_0x2e2297,_0x34d103[_0x6c7934(0x1e4)],(_0x2f3d4f,_0x4b10ff)=>{const _0x138f91=_0x6c7934;if(this['_socket'][_0x138f91(0x139)]){const _0x2ce5fd=new Error(_0x138f91(0xd3));_0x43cefb(this,_0x2ce5fd,_0x1ed0c7);return;}this['_bufferedBytes']-=_0x34d103[_0x446bf7],this[_0x138f91(0x213)]=_0x1ae5f2,_0x34d103[_0x138f91(0x255)]=!0x1,this[_0x138f91(0x1d8)](_0xdc2e99['frame'](_0x4b10ff,_0x34d103),_0x1ed0c7),this[_0x138f91(0x16f)]();});}['dequeue'](){const _0x187b86=_0x3f632c;for(;this['_state']===_0x1ae5f2&&this[_0x187b86(0xb0)][_0x187b86(0x263)];){const _0x466db8=this[_0x187b86(0xb0)][_0x187b86(0xda)]();this[_0x187b86(0x143)]-=_0x466db8[0x3][_0x446bf7],Reflect[_0x187b86(0x233)](_0x466db8[0x0],this,_0x466db8[_0x187b86(0x1c9)](0x1));}}[_0x3f632c(0x23b)](_0x1ca242){const _0x35260d=_0x3f632c;this['_bufferedBytes']+=_0x1ca242[0x3][_0x446bf7],this[_0x35260d(0xb0)][_0x35260d(0x12f)](_0x1ca242);}[_0x3f632c(0x1d8)](_0x15c455,_0x42506f){const _0x6f4c57=_0x3f632c;_0x15c455[_0x6f4c57(0x263)]===0x2?(this[_0x6f4c57(0xe3)][_0x6f4c57(0x17c)](),this[_0x6f4c57(0xe3)][_0x6f4c57(0x1be)](_0x15c455[0x0]),this[_0x6f4c57(0xe3)]['write'](_0x15c455[0x1],_0x42506f),this['_socket'][_0x6f4c57(0xfb)]()):this[_0x6f4c57(0xe3)]['write'](_0x15c455[0x0],_0x42506f);}}Ee=_0xdc2e99;function _0x43cefb(_0x21b713,_0x44ec85,_0x3ce8ae){const _0x56a681=_0x3f632c;typeof _0x3ce8ae=='function'&&_0x3ce8ae(_0x44ec85);for(let _0x346dc6=0x0;_0x346dc6<_0x21b713['_queue']['length'];_0x346dc6++){const _0x578534=_0x21b713[_0x56a681(0xb0)][_0x346dc6],_0x8f9c8d=_0x578534[_0x578534['length']-0x1];typeof _0x8f9c8d==_0x56a681(0x137)&&_0x8f9c8d(_0x44ec85);}}function _0x1b7c40(_0x57a5f1,_0x19924f,_0x2036d7){_0x43cefb(_0x57a5f1,_0x19924f,_0x2036d7),_0x57a5f1['onerror'](_0x19924f);}return Ee;}function _0x1049(_0x419a46,_0x529f4b){const _0x1cfb31=_0x1cfb();return _0x1049=function(_0x10497c,_0x1f7b31){_0x10497c=_0x10497c-0xa8;let _0x878b5b=_0x1cfb31[_0x10497c];return _0x878b5b;},_0x1049(_0x419a46,_0x529f4b);}var xe,Ze;function It(){const _0x219477=_0x91f056;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x57fa54,kListener:_0x2269e4}=H(),_0x2b5877=Symbol(_0x219477(0x126)),_0x437031=Symbol('kData'),_0x29c94b=Symbol(_0x219477(0x115)),_0x590e74=Symbol(_0x219477(0x205)),_0x5c04dc=Symbol(_0x219477(0x1b1)),_0x12948b=Symbol(_0x219477(0x1ac)),_0x56b328=Symbol(_0x219477(0x144)),_0x2503b6=Symbol(_0x219477(0x247));class _0x573411{constructor(_0x24aeac){this[_0x12948b]=null,this[_0x56b328]=_0x24aeac;}get[_0x219477(0xae)](){return this[_0x12948b];}get['type'](){return this[_0x56b328];}}Object['defineProperty'](_0x573411[_0x219477(0xf5)],_0x219477(0xae),{'enumerable':!0x0}),Object[_0x219477(0x13c)](_0x573411[_0x219477(0xf5)],_0x219477(0x186),{'enumerable':!0x0});class _0x17e597 extends _0x573411{constructor(_0x35eebe,_0x2c0f33={}){const _0x37834f=_0x219477;super(_0x35eebe),this[_0x2b5877]=_0x2c0f33[_0x37834f(0x26e)]===void 0x0?0x0:_0x2c0f33[_0x37834f(0x26e)],this[_0x5c04dc]=_0x2c0f33[_0x37834f(0x1de)]===void 0x0?'':_0x2c0f33[_0x37834f(0x1de)],this[_0x2503b6]=_0x2c0f33[_0x37834f(0x1f8)]===void 0x0?!0x1:_0x2c0f33['wasClean'];}get['code'](){return this[_0x2b5877];}get[_0x219477(0x1de)](){return this[_0x5c04dc];}get[_0x219477(0x1f8)](){return this[_0x2503b6];}}Object[_0x219477(0x13c)](_0x17e597[_0x219477(0xf5)],_0x219477(0x26e),{'enumerable':!0x0}),Object[_0x219477(0x13c)](_0x17e597[_0x219477(0xf5)],_0x219477(0x1de),{'enumerable':!0x0}),Object[_0x219477(0x13c)](_0x17e597[_0x219477(0xf5)],_0x219477(0x1f8),{'enumerable':!0x0});class _0xfd5af5 extends _0x573411{constructor(_0x577caa,_0x3dd190={}){const _0x5bc88d=_0x219477;super(_0x577caa),this[_0x29c94b]=_0x3dd190[_0x5bc88d(0xc6)]===void 0x0?null:_0x3dd190[_0x5bc88d(0xc6)],this[_0x590e74]=_0x3dd190[_0x5bc88d(0x215)]===void 0x0?'':_0x3dd190[_0x5bc88d(0x215)];}get['error'](){return this[_0x29c94b];}get[_0x219477(0x215)](){return this[_0x590e74];}}Object[_0x219477(0x13c)](_0xfd5af5[_0x219477(0xf5)],'error',{'enumerable':!0x0}),Object[_0x219477(0x13c)](_0xfd5af5['prototype'],_0x219477(0x215),{'enumerable':!0x0});class _0x52822a extends _0x573411{constructor(_0x212b2a,_0x1069c3={}){const _0x5acc23=_0x219477;super(_0x212b2a),this[_0x437031]=_0x1069c3[_0x5acc23(0x164)]===void 0x0?null:_0x1069c3['data'];}get[_0x219477(0x164)](){return this[_0x437031];}}Object[_0x219477(0x13c)](_0x52822a[_0x219477(0xf5)],_0x219477(0x164),{'enumerable':!0x0}),xe={'CloseEvent':_0x17e597,'ErrorEvent':_0xfd5af5,'Event':_0x573411,'EventTarget':{'addEventListener'(_0x3a297f,_0x543aa9,_0x20c94b={}){const _0xd068ac=_0x219477;for(const _0x3e2ae5 of this[_0xd068ac(0x14b)](_0x3a297f))if(!_0x20c94b[_0x57fa54]&&_0x3e2ae5[_0x2269e4]===_0x543aa9&&!_0x3e2ae5[_0x57fa54])return;let _0x5ef197;if(_0x3a297f===_0xd068ac(0x215))_0x5ef197=function(_0xabc1df,_0x375247){const _0x379003=_0xd068ac,_0x1585e8=new _0x52822a('message',{'data':_0x375247?_0xabc1df:_0xabc1df[_0x379003(0x14d)]()});_0x1585e8[_0x12948b]=this,_0x53ee21(_0x543aa9,this,_0x1585e8);};else{if(_0x3a297f===_0xd068ac(0x236))_0x5ef197=function(_0x46165e,_0xfe13fe){const _0x23e253=_0xd068ac,_0x3826f3=new _0x17e597(_0x23e253(0x236),{'code':_0x46165e,'reason':_0xfe13fe[_0x23e253(0x14d)](),'wasClean':this[_0x23e253(0x226)]&&this[_0x23e253(0x272)]});_0x3826f3[_0x12948b]=this,_0x53ee21(_0x543aa9,this,_0x3826f3);};else{if(_0x3a297f===_0xd068ac(0xc6))_0x5ef197=function(_0x33afdd){const _0x524891=_0xd068ac,_0x47be3c=new _0xfd5af5('error',{'error':_0x33afdd,'message':_0x33afdd[_0x524891(0x215)]});_0x47be3c[_0x12948b]=this,_0x53ee21(_0x543aa9,this,_0x47be3c);};else{if(_0x3a297f===_0xd068ac(0x20b))_0x5ef197=function(){const _0x46f116=_0xd068ac,_0x1c55f9=new _0x573411(_0x46f116(0x20b));_0x1c55f9[_0x12948b]=this,_0x53ee21(_0x543aa9,this,_0x1c55f9);};else return;}}}_0x5ef197[_0x57fa54]=!!_0x20c94b[_0x57fa54],_0x5ef197[_0x2269e4]=_0x543aa9,_0x20c94b['once']?this[_0xd068ac(0x239)](_0x3a297f,_0x5ef197):this['on'](_0x3a297f,_0x5ef197);},'removeEventListener'(_0x403df0,_0x5c962c){const _0x1b3c20=_0x219477;for(const _0x53699e of this['listeners'](_0x403df0))if(_0x53699e[_0x2269e4]===_0x5c962c&&!_0x53699e[_0x57fa54]){this[_0x1b3c20(0x1ad)](_0x403df0,_0x53699e);break;}}},'MessageEvent':_0x52822a};function _0x53ee21(_0x201dd9,_0x560a42,_0x19e8bb){const _0x7aee2e=_0x219477;typeof _0x201dd9=='object'&&_0x201dd9[_0x7aee2e(0x11f)]?_0x201dd9[_0x7aee2e(0x11f)][_0x7aee2e(0x182)](_0x201dd9,_0x19e8bb):_0x201dd9[_0x7aee2e(0x182)](_0x560a42,_0x19e8bb);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0xc22ee}=ae();function _0x2d641b(_0xcd1aa8,_0x45b0c3,_0x27ab64){_0xcd1aa8[_0x45b0c3]===void 0x0?_0xcd1aa8[_0x45b0c3]=[_0x27ab64]:_0xcd1aa8[_0x45b0c3]['push'](_0x27ab64);}function _0x34ae5a(_0x23fd44){const _0x4b9c00=_0x1049,_0x4d9e1f=Object['create'](null);let _0x89f9aa=Object[_0x4b9c00(0xca)](null),_0xba17f=!0x1,_0x22198c=!0x1,_0x26eff5=!0x1,_0x496082,_0x2b2db0,_0x2d121e=-0x1,_0x50ac62=-0x1,_0x5cbd01=-0x1,_0x28ade1=0x0;for(;_0x28ade1<_0x23fd44['length'];_0x28ade1++)if(_0x50ac62=_0x23fd44[_0x4b9c00(0x21c)](_0x28ade1),_0x496082===void 0x0){if(_0x5cbd01===-0x1&&_0xc22ee[_0x50ac62]===0x1)_0x2d121e===-0x1&&(_0x2d121e=_0x28ade1);else{if(_0x28ade1!==0x0&&(_0x50ac62===0x20||_0x50ac62===0x9))_0x5cbd01===-0x1&&_0x2d121e!==-0x1&&(_0x5cbd01=_0x28ade1);else{if(_0x50ac62===0x3b||_0x50ac62===0x2c){if(_0x2d121e===-0x1)throw new SyntaxError(_0x4b9c00(0xc7)+_0x28ade1);_0x5cbd01===-0x1&&(_0x5cbd01=_0x28ade1);const _0x27bd6b=_0x23fd44[_0x4b9c00(0x1c9)](_0x2d121e,_0x5cbd01);_0x50ac62===0x2c?(_0x2d641b(_0x4d9e1f,_0x27bd6b,_0x89f9aa),_0x89f9aa=Object[_0x4b9c00(0xca)](null)):_0x496082=_0x27bd6b,_0x2d121e=_0x5cbd01=-0x1;}else throw new SyntaxError(_0x4b9c00(0xc7)+_0x28ade1);}}}else{if(_0x2b2db0===void 0x0){if(_0x5cbd01===-0x1&&_0xc22ee[_0x50ac62]===0x1)_0x2d121e===-0x1&&(_0x2d121e=_0x28ade1);else{if(_0x50ac62===0x20||_0x50ac62===0x9)_0x5cbd01===-0x1&&_0x2d121e!==-0x1&&(_0x5cbd01=_0x28ade1);else{if(_0x50ac62===0x3b||_0x50ac62===0x2c){if(_0x2d121e===-0x1)throw new SyntaxError(_0x4b9c00(0xc7)+_0x28ade1);_0x5cbd01===-0x1&&(_0x5cbd01=_0x28ade1),_0x2d641b(_0x89f9aa,_0x23fd44[_0x4b9c00(0x1c9)](_0x2d121e,_0x5cbd01),!0x0),_0x50ac62===0x2c&&(_0x2d641b(_0x4d9e1f,_0x496082,_0x89f9aa),_0x89f9aa=Object[_0x4b9c00(0xca)](null),_0x496082=void 0x0),_0x2d121e=_0x5cbd01=-0x1;}else{if(_0x50ac62===0x3d&&_0x2d121e!==-0x1&&_0x5cbd01===-0x1)_0x2b2db0=_0x23fd44[_0x4b9c00(0x1c9)](_0x2d121e,_0x28ade1),_0x2d121e=_0x5cbd01=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x28ade1);}}}}else{if(_0x22198c){if(_0xc22ee[_0x50ac62]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x28ade1);_0x2d121e===-0x1?_0x2d121e=_0x28ade1:_0xba17f||(_0xba17f=!0x0),_0x22198c=!0x1;}else{if(_0x26eff5){if(_0xc22ee[_0x50ac62]===0x1)_0x2d121e===-0x1&&(_0x2d121e=_0x28ade1);else{if(_0x50ac62===0x22&&_0x2d121e!==-0x1)_0x26eff5=!0x1,_0x5cbd01=_0x28ade1;else{if(_0x50ac62===0x5c)_0x22198c=!0x0;else throw new SyntaxError(_0x4b9c00(0xc7)+_0x28ade1);}}}else{if(_0x50ac62===0x22&&_0x23fd44[_0x4b9c00(0x21c)](_0x28ade1-0x1)===0x3d)_0x26eff5=!0x0;else{if(_0x5cbd01===-0x1&&_0xc22ee[_0x50ac62]===0x1)_0x2d121e===-0x1&&(_0x2d121e=_0x28ade1);else{if(_0x2d121e!==-0x1&&(_0x50ac62===0x20||_0x50ac62===0x9))_0x5cbd01===-0x1&&(_0x5cbd01=_0x28ade1);else{if(_0x50ac62===0x3b||_0x50ac62===0x2c){if(_0x2d121e===-0x1)throw new SyntaxError(_0x4b9c00(0xc7)+_0x28ade1);_0x5cbd01===-0x1&&(_0x5cbd01=_0x28ade1);let _0x46820c=_0x23fd44[_0x4b9c00(0x1c9)](_0x2d121e,_0x5cbd01);_0xba17f&&(_0x46820c=_0x46820c[_0x4b9c00(0x268)](/\\/g,''),_0xba17f=!0x1),_0x2d641b(_0x89f9aa,_0x2b2db0,_0x46820c),_0x50ac62===0x2c&&(_0x2d641b(_0x4d9e1f,_0x496082,_0x89f9aa),_0x89f9aa=Object['create'](null),_0x496082=void 0x0),_0x2b2db0=void 0x0,_0x2d121e=_0x5cbd01=-0x1;}else throw new SyntaxError(_0x4b9c00(0xc7)+_0x28ade1);}}}}}}}if(_0x2d121e===-0x1||_0x26eff5||_0x50ac62===0x20||_0x50ac62===0x9)throw new SyntaxError(_0x4b9c00(0x17b));_0x5cbd01===-0x1&&(_0x5cbd01=_0x28ade1);const _0x23ddaf=_0x23fd44[_0x4b9c00(0x1c9)](_0x2d121e,_0x5cbd01);return _0x496082===void 0x0?_0x2d641b(_0x4d9e1f,_0x23ddaf,_0x89f9aa):(_0x2b2db0===void 0x0?_0x2d641b(_0x89f9aa,_0x23ddaf,!0x0):_0xba17f?_0x2d641b(_0x89f9aa,_0x2b2db0,_0x23ddaf[_0x4b9c00(0x268)](/\\/g,'')):_0x2d641b(_0x89f9aa,_0x2b2db0,_0x23ddaf),_0x2d641b(_0x4d9e1f,_0x496082,_0x89f9aa)),_0x4d9e1f;}function _0x3e8f98(_0x47717a){const _0x28a52e=_0x1049;return Object['keys'](_0x47717a)[_0x28a52e(0x121)](_0x4648fb=>{const _0x5737ef=_0x28a52e;let _0x406157=_0x47717a[_0x4648fb];return Array[_0x5737ef(0x168)](_0x406157)||(_0x406157=[_0x406157]),_0x406157['map'](_0x4c255b=>[_0x4648fb][_0x5737ef(0x129)](Object['keys'](_0x4c255b)[_0x5737ef(0x121)](_0x458c16=>{const _0x486ad9=_0x5737ef;let _0x13bfd8=_0x4c255b[_0x458c16];return Array[_0x486ad9(0x168)](_0x13bfd8)||(_0x13bfd8=[_0x13bfd8]),_0x13bfd8[_0x486ad9(0x121)](_0x180d97=>_0x180d97===!0x0?_0x458c16:_0x458c16+'='+_0x180d97)[_0x486ad9(0x11e)](';\x20');}))['join'](';\x20'))[_0x5737ef(0x11e)](',\x20');})[_0x28a52e(0x11e)](',\x20');}return be={'format':_0x3e8f98,'parse':_0x34ae5a},be;}var we,Je;function Pe(){const _0x4ac74b=_0x91f056;if(Je)return we;Je=0x1;const _0x2dcf8f=nt,_0x2bea8a=vt,_0x4f9f38=ot,_0x5563f7=St,_0x5b2161=Et,{randomBytes:_0x3aebef,createHash:_0x1d978c}=Le,{Duplex:_0x301edb,Readable:_0x341bd2}=oe,{URL:_0x356124}=xt,_0x3c576d=he(),_0x4fb00a=lt(),_0x1e8ef8=ft(),{isBlob:_0x29d16e}=ae(),{BINARY_TYPES:_0x106951,EMPTY_BUFFER:_0x1b8ea1,GUID:_0x4ca0bf,kForOnEventAttribute:_0xe73560,kListener:_0x490c41,kStatusCode:_0x34dd2e,kWebSocket:_0x7e49f5,NOOP:_0x1e9ebf}=H(),{EventTarget:{addEventListener:_0x10dbd1,removeEventListener:_0x465add}}=It(),{format:_0x2ba783,parse:_0x1f1583}=ct(),{toBuffer:_0x24fd2b}=ce(),_0x24532a=0x1e*0x3e8,_0x54876c=Symbol(_0x4ac74b(0x224)),_0x4ac337=[0x8,0xd],_0x3e040b=[_0x4ac74b(0xfa),_0x4ac74b(0x100),_0x4ac74b(0x12b),'CLOSED'],_0x44051f=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x5eb2bd extends _0x2dcf8f{constructor(_0xaad8c,_0x43eead,_0x233987){const _0x2979d1=_0x4ac74b;super(),this[_0x2979d1(0x1ae)]=_0x106951[0x0],this['_closeCode']=0x3ee,this[_0x2979d1(0x226)]=!0x1,this['_closeFrameSent']=!0x1,this[_0x2979d1(0x1f9)]=_0x1b8ea1,this[_0x2979d1(0x147)]=null,this[_0x2979d1(0x13a)]=!0x1,this[_0x2979d1(0x25f)]={},this[_0x2979d1(0x1c7)]=!0x1,this[_0x2979d1(0xd8)]='',this[_0x2979d1(0xce)]=_0x5eb2bd['CONNECTING'],this[_0x2979d1(0x246)]=null,this[_0x2979d1(0x1c1)]=null,this[_0x2979d1(0xe3)]=null,_0xaad8c!==null?(this['_bufferedAmount']=0x0,this[_0x2979d1(0x136)]=!0x1,this[_0x2979d1(0xf3)]=0x0,_0x43eead===void 0x0?_0x43eead=[]:Array[_0x2979d1(0x168)](_0x43eead)||(typeof _0x43eead=='object'&&_0x43eead!==null?(_0x233987=_0x43eead,_0x43eead=[]):_0x43eead=[_0x43eead]),_0x3edb08(this,_0xaad8c,_0x43eead,_0x233987)):(this[_0x2979d1(0x1bb)]=_0x233987[_0x2979d1(0x266)],this[_0x2979d1(0x136)]=!0x0);}get[_0x4ac74b(0x15b)](){const _0xc36083=_0x4ac74b;return this[_0xc36083(0x1ae)];}set[_0x4ac74b(0x15b)](_0xc24c0a){const _0x476e5e=_0x4ac74b;_0x106951['includes'](_0xc24c0a)&&(this[_0x476e5e(0x1ae)]=_0xc24c0a,this['_receiver']&&(this[_0x476e5e(0x246)][_0x476e5e(0x1ae)]=_0xc24c0a));}get[_0x4ac74b(0x11d)](){const _0x3d16ec=_0x4ac74b;return this[_0x3d16ec(0xe3)]?this[_0x3d16ec(0xe3)][_0x3d16ec(0x140)][_0x3d16ec(0x263)]+this['_sender'][_0x3d16ec(0x143)]:this['_bufferedAmount'];}get[_0x4ac74b(0x101)](){const _0x3d3e2f=_0x4ac74b;return Object[_0x3d3e2f(0x21e)](this['_extensions'])[_0x3d3e2f(0x11e)]();}get['isPaused'](){const _0x250be5=_0x4ac74b;return this[_0x250be5(0x1c7)];}get['onclose'](){return null;}get[_0x4ac74b(0x1a9)](){return null;}get[_0x4ac74b(0xea)](){return null;}get[_0x4ac74b(0x244)](){return null;}get[_0x4ac74b(0x12a)](){return this['_protocol'];}get[_0x4ac74b(0x110)](){const _0x109090=_0x4ac74b;return this[_0x109090(0xce)];}get['url'](){const _0x1d84fd=_0x4ac74b;return this[_0x1d84fd(0x274)];}[_0x4ac74b(0xe0)](_0x114480,_0x2ee866,_0x22574f){const _0x3165f0=_0x4ac74b,_0x2fbc6b=new _0x4fb00a({'allowSynchronousEvents':_0x22574f[_0x3165f0(0x203)],'binaryType':this[_0x3165f0(0x15b)],'extensions':this[_0x3165f0(0x25f)],'isServer':this[_0x3165f0(0x136)],'maxPayload':_0x22574f[_0x3165f0(0x113)],'skipUTF8Validation':_0x22574f[_0x3165f0(0x1ef)]}),_0x2dadc3=new _0x1e8ef8(_0x114480,this[_0x3165f0(0x25f)],_0x22574f[_0x3165f0(0xa9)]);this['_receiver']=_0x2fbc6b,this['_sender']=_0x2dadc3,this[_0x3165f0(0xe3)]=_0x114480,_0x2fbc6b[_0x7e49f5]=this,_0x2dadc3[_0x7e49f5]=this,_0x114480[_0x7e49f5]=this,_0x2fbc6b['on'](_0x3165f0(0x155),_0x794fbc),_0x2fbc6b['on'](_0x3165f0(0x1ee),_0x19bc2f),_0x2fbc6b['on'](_0x3165f0(0xc6),_0x323d5b),_0x2fbc6b['on']('message',_0x5bba90),_0x2fbc6b['on'](_0x3165f0(0x14c),_0x5b772b),_0x2fbc6b['on'](_0x3165f0(0x1bd),_0x2e7cb2),_0x2dadc3[_0x3165f0(0x1a9)]=_0x2baa97,_0x114480[_0x3165f0(0x25b)]&&_0x114480[_0x3165f0(0x25b)](0x0),_0x114480['setNoDelay']&&_0x114480[_0x3165f0(0x218)](),_0x2ee866['length']>0x0&&_0x114480[_0x3165f0(0x238)](_0x2ee866),_0x114480['on'](_0x3165f0(0x236),_0x376da9),_0x114480['on'](_0x3165f0(0x164),_0x3b74aa),_0x114480['on']('end',_0x1d997e),_0x114480['on']('error',_0x26dcab),this[_0x3165f0(0xce)]=_0x5eb2bd[_0x3165f0(0x100)],this[_0x3165f0(0x20d)]('open');}['emitClose'](){const _0xd682a7=_0x4ac74b;if(!this[_0xd682a7(0xe3)]){this['_readyState']=_0x5eb2bd[_0xd682a7(0x22e)],this[_0xd682a7(0x20d)]('close',this[_0xd682a7(0x175)],this[_0xd682a7(0x1f9)]);return;}this[_0xd682a7(0x25f)][_0x3c576d[_0xd682a7(0x141)]]&&this[_0xd682a7(0x25f)][_0x3c576d['extensionName']][_0xd682a7(0x1ff)](),this['_receiver']['removeAllListeners'](),this['_readyState']=_0x5eb2bd[_0xd682a7(0x22e)],this[_0xd682a7(0x20d)](_0xd682a7(0x236),this[_0xd682a7(0x175)],this['_closeMessage']);}['close'](_0x1e7b3b,_0x15c74f){const _0xb0d868=_0x4ac74b;if(this[_0xb0d868(0x110)]!==_0x5eb2bd['CLOSED']){if(this[_0xb0d868(0x110)]===_0x5eb2bd['CONNECTING']){_0x54e7ed(this,this[_0xb0d868(0x1d7)],_0xb0d868(0x18a));return;}if(this['readyState']===_0x5eb2bd[_0xb0d868(0x12b)]){this[_0xb0d868(0x272)]&&(this[_0xb0d868(0x226)]||this[_0xb0d868(0x246)][_0xb0d868(0x140)][_0xb0d868(0x23e)])&&this[_0xb0d868(0xe3)][_0xb0d868(0x241)]();return;}this[_0xb0d868(0xce)]=_0x5eb2bd['CLOSING'],this[_0xb0d868(0x1c1)][_0xb0d868(0x236)](_0x1e7b3b,_0x15c74f,!this[_0xb0d868(0x136)],_0x18b0d2=>{const _0x271545=_0xb0d868;_0x18b0d2||(this['_closeFrameSent']=!0x0,(this[_0x271545(0x226)]||this[_0x271545(0x246)][_0x271545(0x140)][_0x271545(0x23e)])&&this[_0x271545(0xe3)]['end']());}),_0x3310a5(this);}}[_0x4ac74b(0xc1)](){const _0x580458=_0x4ac74b;this[_0x580458(0x110)]===_0x5eb2bd['CONNECTING']||this[_0x580458(0x110)]===_0x5eb2bd[_0x580458(0x22e)]||(this[_0x580458(0x1c7)]=!0x0,this[_0x580458(0xe3)][_0x580458(0xc1)]());}['ping'](_0x39fd67,_0x20d523,_0x1bb872){const _0x1dfbf4=_0x4ac74b;if(this[_0x1dfbf4(0x110)]===_0x5eb2bd[_0x1dfbf4(0xfa)])throw new Error(_0x1dfbf4(0x148));if(typeof _0x39fd67==_0x1dfbf4(0x137)?(_0x1bb872=_0x39fd67,_0x39fd67=_0x20d523=void 0x0):typeof _0x20d523==_0x1dfbf4(0x137)&&(_0x1bb872=_0x20d523,_0x20d523=void 0x0),typeof _0x39fd67==_0x1dfbf4(0x1a4)&&(_0x39fd67=_0x39fd67[_0x1dfbf4(0x14d)]()),this[_0x1dfbf4(0x110)]!==_0x5eb2bd['OPEN']){_0x485721(this,_0x39fd67,_0x1bb872);return;}_0x20d523===void 0x0&&(_0x20d523=!this[_0x1dfbf4(0x136)]),this['_sender'][_0x1dfbf4(0x14c)](_0x39fd67||_0x1b8ea1,_0x20d523,_0x1bb872);}[_0x4ac74b(0x1bd)](_0x3ee6ca,_0x4c5ccf,_0x3730a1){const _0x2e436e=_0x4ac74b;if(this[_0x2e436e(0x110)]===_0x5eb2bd[_0x2e436e(0xfa)])throw new Error(_0x2e436e(0x148));if(typeof _0x3ee6ca==_0x2e436e(0x137)?(_0x3730a1=_0x3ee6ca,_0x3ee6ca=_0x4c5ccf=void 0x0):typeof _0x4c5ccf==_0x2e436e(0x137)&&(_0x3730a1=_0x4c5ccf,_0x4c5ccf=void 0x0),typeof _0x3ee6ca==_0x2e436e(0x1a4)&&(_0x3ee6ca=_0x3ee6ca[_0x2e436e(0x14d)]()),this['readyState']!==_0x5eb2bd[_0x2e436e(0x100)]){_0x485721(this,_0x3ee6ca,_0x3730a1);return;}_0x4c5ccf===void 0x0&&(_0x4c5ccf=!this[_0x2e436e(0x136)]),this['_sender'][_0x2e436e(0x1bd)](_0x3ee6ca||_0x1b8ea1,_0x4c5ccf,_0x3730a1);}[_0x4ac74b(0x230)](){const _0x1ce269=_0x4ac74b;this['readyState']===_0x5eb2bd[_0x1ce269(0xfa)]||this[_0x1ce269(0x110)]===_0x5eb2bd[_0x1ce269(0x22e)]||(this[_0x1ce269(0x1c7)]=!0x1,this[_0x1ce269(0x246)][_0x1ce269(0x140)][_0x1ce269(0x207)]||this[_0x1ce269(0xe3)]['resume']());}[_0x4ac74b(0xc5)](_0xbd6dbd,_0xe5b661,_0x314532){const _0x3e9d28=_0x4ac74b;if(this[_0x3e9d28(0x110)]===_0x5eb2bd['CONNECTING'])throw new Error(_0x3e9d28(0x148));if(typeof _0xe5b661==_0x3e9d28(0x137)&&(_0x314532=_0xe5b661,_0xe5b661={}),typeof _0xbd6dbd==_0x3e9d28(0x1a4)&&(_0xbd6dbd=_0xbd6dbd[_0x3e9d28(0x14d)]()),this['readyState']!==_0x5eb2bd['OPEN']){_0x485721(this,_0xbd6dbd,_0x314532);return;}const _0x454b41={'binary':typeof _0xbd6dbd!=_0x3e9d28(0x22f),'mask':!this[_0x3e9d28(0x136)],'compress':!0x0,'fin':!0x0,..._0xe5b661};this[_0x3e9d28(0x25f)][_0x3c576d[_0x3e9d28(0x141)]]||(_0x454b41[_0x3e9d28(0x177)]=!0x1),this[_0x3e9d28(0x1c1)]['send'](_0xbd6dbd||_0x1b8ea1,_0x454b41,_0x314532);}[_0x4ac74b(0x16c)](){const _0x3b1321=_0x4ac74b;if(this[_0x3b1321(0x110)]!==_0x5eb2bd[_0x3b1321(0x22e)]){if(this[_0x3b1321(0x110)]===_0x5eb2bd[_0x3b1321(0xfa)]){_0x54e7ed(this,this[_0x3b1321(0x1d7)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x3b1321(0xe3)]&&(this[_0x3b1321(0xce)]=_0x5eb2bd[_0x3b1321(0x12b)],this[_0x3b1321(0xe3)][_0x3b1321(0xee)]());}}}Object[_0x4ac74b(0x13c)](_0x5eb2bd,_0x4ac74b(0xfa),{'enumerable':!0x0,'value':_0x3e040b['indexOf'](_0x4ac74b(0xfa))}),Object[_0x4ac74b(0x13c)](_0x5eb2bd[_0x4ac74b(0xf5)],_0x4ac74b(0xfa),{'enumerable':!0x0,'value':_0x3e040b[_0x4ac74b(0x1f6)](_0x4ac74b(0xfa))}),Object[_0x4ac74b(0x13c)](_0x5eb2bd,_0x4ac74b(0x100),{'enumerable':!0x0,'value':_0x3e040b['indexOf']('OPEN')}),Object[_0x4ac74b(0x13c)](_0x5eb2bd['prototype'],_0x4ac74b(0x100),{'enumerable':!0x0,'value':_0x3e040b[_0x4ac74b(0x1f6)]('OPEN')}),Object['defineProperty'](_0x5eb2bd,_0x4ac74b(0x12b),{'enumerable':!0x0,'value':_0x3e040b['indexOf'](_0x4ac74b(0x12b))}),Object['defineProperty'](_0x5eb2bd['prototype'],_0x4ac74b(0x12b),{'enumerable':!0x0,'value':_0x3e040b[_0x4ac74b(0x1f6)](_0x4ac74b(0x12b))}),Object[_0x4ac74b(0x13c)](_0x5eb2bd,'CLOSED',{'enumerable':!0x0,'value':_0x3e040b['indexOf'](_0x4ac74b(0x22e))}),Object[_0x4ac74b(0x13c)](_0x5eb2bd['prototype'],_0x4ac74b(0x22e),{'enumerable':!0x0,'value':_0x3e040b['indexOf']('CLOSED')}),[_0x4ac74b(0x15b),_0x4ac74b(0x11d),_0x4ac74b(0x101),'isPaused','protocol','readyState','url'][_0x4ac74b(0x14a)](_0x503ddf=>{const _0x44a0c2=_0x4ac74b;Object[_0x44a0c2(0x13c)](_0x5eb2bd[_0x44a0c2(0xf5)],_0x503ddf,{'enumerable':!0x0});}),[_0x4ac74b(0x20b),'error','close',_0x4ac74b(0x215)][_0x4ac74b(0x14a)](_0x5ba07a=>{const _0x4de00b=_0x4ac74b;Object[_0x4de00b(0x13c)](_0x5eb2bd['prototype'],'on'+_0x5ba07a,{'enumerable':!0x0,'get'(){for(const _0x3eb01e of this['listeners'](_0x5ba07a))if(_0x3eb01e[_0xe73560])return _0x3eb01e[_0x490c41];return null;},'set'(_0x42ff85){const _0xdfa7a8=_0x4de00b;for(const _0x43b2c4 of this[_0xdfa7a8(0x14b)](_0x5ba07a))if(_0x43b2c4[_0xe73560]){this['removeListener'](_0x5ba07a,_0x43b2c4);break;}typeof _0x42ff85==_0xdfa7a8(0x137)&&this[_0xdfa7a8(0x257)](_0x5ba07a,_0x42ff85,{[_0xe73560]:!0x0});}});}),_0x5eb2bd['prototype'][_0x4ac74b(0x257)]=_0x10dbd1,_0x5eb2bd[_0x4ac74b(0xf5)][_0x4ac74b(0xcb)]=_0x465add,we=_0x5eb2bd;function _0x3edb08(_0xe40d87,_0x39c1b9,_0xfac3db,_0x59c846){const _0x3f5de6=_0x4ac74b,_0x286838={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x4ac337[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x59c846,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x3f5de6(0x192),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0xe40d87[_0x3f5de6(0x1bb)]=_0x286838['autoPong'],!_0x4ac337['includes'](_0x286838['protocolVersion']))throw new RangeError(_0x3f5de6(0xeb)+_0x286838[_0x3f5de6(0x135)]+_0x3f5de6(0xfd)+_0x4ac337[_0x3f5de6(0x11e)](',\x20')+')');let _0x4d6fc6;if(_0x39c1b9 instanceof _0x356124)_0x4d6fc6=_0x39c1b9;else try{_0x4d6fc6=new _0x356124(_0x39c1b9);}catch{throw new SyntaxError(_0x3f5de6(0xd6)+_0x39c1b9);}_0x4d6fc6[_0x3f5de6(0x12a)]===_0x3f5de6(0x130)?_0x4d6fc6[_0x3f5de6(0x12a)]=_0x3f5de6(0x25e):_0x4d6fc6[_0x3f5de6(0x12a)]===_0x3f5de6(0x1d2)&&(_0x4d6fc6[_0x3f5de6(0x12a)]=_0x3f5de6(0xb1)),_0xe40d87[_0x3f5de6(0x274)]=_0x4d6fc6[_0x3f5de6(0x219)];const _0x3b8502=_0x4d6fc6[_0x3f5de6(0x12a)]===_0x3f5de6(0xb1),_0x1f324a=_0x4d6fc6[_0x3f5de6(0x12a)]===_0x3f5de6(0xf2);let _0x3ef01c;if(_0x4d6fc6[_0x3f5de6(0x12a)]!==_0x3f5de6(0x25e)&&!_0x3b8502&&!_0x1f324a?_0x3ef01c=_0x3f5de6(0x1f4):_0x1f324a&&!_0x4d6fc6[_0x3f5de6(0x264)]?_0x3ef01c=_0x3f5de6(0x20f):_0x4d6fc6[_0x3f5de6(0x156)]&&(_0x3ef01c=_0x3f5de6(0x21a)),_0x3ef01c){const _0x3cf0b2=new SyntaxError(_0x3ef01c);if(_0xe40d87[_0x3f5de6(0xf3)]===0x0)throw _0x3cf0b2;_0x58a4b9(_0xe40d87,_0x3cf0b2);return;}const _0x160934=_0x3b8502?0x1bb:0x50,_0x15a147=_0x3aebef(0x10)[_0x3f5de6(0x14d)](_0x3f5de6(0x127)),_0x2c1de=_0x3b8502?_0x2bea8a['request']:_0x4f9f38[_0x3f5de6(0xdb)],_0x2a6b29=new Set();let _0x187010;if(_0x286838[_0x3f5de6(0x114)]=_0x286838['createConnection']||(_0x3b8502?_0x580bb9:_0x3b404f),_0x286838[_0x3f5de6(0xe5)]=_0x286838[_0x3f5de6(0xe5)]||_0x160934,_0x286838[_0x3f5de6(0xbf)]=_0x4d6fc6[_0x3f5de6(0xbf)]||_0x160934,_0x286838['host']=_0x4d6fc6['hostname'][_0x3f5de6(0x23a)]('[')?_0x4d6fc6['hostname'][_0x3f5de6(0x1c9)](0x1,-0x1):_0x4d6fc6['hostname'],_0x286838[_0x3f5de6(0x26d)]={..._0x286838['headers'],'Sec-WebSocket-Version':_0x286838['protocolVersion'],'Sec-WebSocket-Key':_0x15a147,'Connection':_0x3f5de6(0x19a),'Upgrade':_0x3f5de6(0x1e9)},_0x286838[_0x3f5de6(0x253)]=_0x4d6fc6[_0x3f5de6(0x264)]+_0x4d6fc6[_0x3f5de6(0x210)],_0x286838[_0x3f5de6(0x217)]=_0x286838[_0x3f5de6(0x1b7)],_0x286838[_0x3f5de6(0x157)]&&(_0x187010=new _0x3c576d(_0x286838[_0x3f5de6(0x157)]!==!0x0?_0x286838[_0x3f5de6(0x157)]:{},!0x1,_0x286838['maxPayload']),_0x286838[_0x3f5de6(0x26d)]['Sec-WebSocket-Extensions']=_0x2ba783({[_0x3c576d[_0x3f5de6(0x141)]]:_0x187010[_0x3f5de6(0x221)]()})),_0xfac3db[_0x3f5de6(0x263)]){for(const _0x11a00f of _0xfac3db){if(typeof _0x11a00f!=_0x3f5de6(0x22f)||!_0x44051f['test'](_0x11a00f)||_0x2a6b29[_0x3f5de6(0x22a)](_0x11a00f))throw new SyntaxError(_0x3f5de6(0x16d));_0x2a6b29['add'](_0x11a00f);}_0x286838[_0x3f5de6(0x26d)][_0x3f5de6(0x138)]=_0xfac3db[_0x3f5de6(0x11e)](',');}if(_0x286838[_0x3f5de6(0x271)]&&(_0x286838[_0x3f5de6(0x135)]<0xd?_0x286838['headers'][_0x3f5de6(0xaf)]=_0x286838[_0x3f5de6(0x271)]:_0x286838[_0x3f5de6(0x26d)][_0x3f5de6(0x107)]=_0x286838[_0x3f5de6(0x271)]),(_0x4d6fc6['username']||_0x4d6fc6[_0x3f5de6(0x132)])&&(_0x286838['auth']=_0x4d6fc6[_0x3f5de6(0x102)]+':'+_0x4d6fc6[_0x3f5de6(0x132)]),_0x1f324a){const _0x29533c=_0x286838[_0x3f5de6(0x253)]['split'](':');_0x286838[_0x3f5de6(0x18c)]=_0x29533c[0x0],_0x286838[_0x3f5de6(0x253)]=_0x29533c[0x1];}let _0x4a17aa;if(_0x286838[_0x3f5de6(0x26a)]){if(_0xe40d87['_redirects']===0x0){_0xe40d87['_originalIpc']=_0x1f324a,_0xe40d87[_0x3f5de6(0x153)]=_0x3b8502,_0xe40d87[_0x3f5de6(0x1c6)]=_0x1f324a?_0x286838['socketPath']:_0x4d6fc6[_0x3f5de6(0x262)];const _0x24a102=_0x59c846&&_0x59c846['headers'];if(_0x59c846={..._0x59c846,'headers':{}},_0x24a102){for(const [_0x4e8edb,_0xf654ca]of Object[_0x3f5de6(0x20e)](_0x24a102))_0x59c846[_0x3f5de6(0x26d)][_0x4e8edb[_0x3f5de6(0x1e0)]()]=_0xf654ca;}}else{if(_0xe40d87[_0x3f5de6(0x1e5)](_0x3f5de6(0x1ec))===0x0){const _0x4507bb=_0x1f324a?_0xe40d87['_originalIpc']?_0x286838[_0x3f5de6(0x18c)]===_0xe40d87[_0x3f5de6(0x1c6)]:!0x1:_0xe40d87[_0x3f5de6(0xb2)]?!0x1:_0x4d6fc6[_0x3f5de6(0x262)]===_0xe40d87['_originalHostOrSocketPath'];(!_0x4507bb||_0xe40d87[_0x3f5de6(0x153)]&&!_0x3b8502)&&(delete _0x286838['headers']['authorization'],delete _0x286838[_0x3f5de6(0x26d)][_0x3f5de6(0x1db)],_0x4507bb||delete _0x286838[_0x3f5de6(0x26d)]['host'],_0x286838[_0x3f5de6(0x1c0)]=void 0x0);}}_0x286838[_0x3f5de6(0x1c0)]&&!_0x59c846[_0x3f5de6(0x26d)][_0x3f5de6(0x231)]&&(_0x59c846[_0x3f5de6(0x26d)][_0x3f5de6(0x231)]=_0x3f5de6(0x15e)+Buffer['from'](_0x286838['auth'])[_0x3f5de6(0x14d)](_0x3f5de6(0x127))),_0x4a17aa=_0xe40d87[_0x3f5de6(0x1d7)]=_0x2c1de(_0x286838),_0xe40d87['_redirects']&&_0xe40d87[_0x3f5de6(0x20d)](_0x3f5de6(0x1ec),_0xe40d87['url'],_0x4a17aa);}else _0x4a17aa=_0xe40d87[_0x3f5de6(0x1d7)]=_0x2c1de(_0x286838);_0x286838['timeout']&&_0x4a17aa['on'](_0x3f5de6(0x217),()=>{_0x54e7ed(_0xe40d87,_0x4a17aa,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x4a17aa['on'](_0x3f5de6(0xc6),_0x170011=>{const _0x3995a9=_0x3f5de6;_0x4a17aa===null||_0x4a17aa[_0x54876c]||(_0x4a17aa=_0xe40d87[_0x3995a9(0x1d7)]=null,_0x58a4b9(_0xe40d87,_0x170011));}),_0x4a17aa['on'](_0x3f5de6(0x174),_0x2dde84=>{const _0x430aa3=_0x3f5de6,_0x5b06ab=_0x2dde84[_0x430aa3(0x26d)][_0x430aa3(0xbc)],_0x3626e6=_0x2dde84[_0x430aa3(0x267)];if(_0x5b06ab&&_0x286838[_0x430aa3(0x26a)]&&_0x3626e6>=0x12c&&_0x3626e6<0x190){if(++_0xe40d87[_0x430aa3(0xf3)]>_0x286838[_0x430aa3(0x1b6)]){_0x54e7ed(_0xe40d87,_0x4a17aa,_0x430aa3(0x1bc));return;}_0x4a17aa['abort']();let _0x856f9c;try{_0x856f9c=new _0x356124(_0x5b06ab,_0x39c1b9);}catch{const _0x21809a=new SyntaxError(_0x430aa3(0xd6)+_0x5b06ab);_0x58a4b9(_0xe40d87,_0x21809a);return;}_0x3edb08(_0xe40d87,_0x856f9c,_0xfac3db,_0x59c846);}else _0xe40d87[_0x430aa3(0x20d)]('unexpected-response',_0x4a17aa,_0x2dde84)||_0x54e7ed(_0xe40d87,_0x4a17aa,_0x430aa3(0x185)+_0x2dde84[_0x430aa3(0x267)]);}),_0x4a17aa['on'](_0x3f5de6(0x21f),(_0x1f0f25,_0x5eddfc,_0x1fc189)=>{const _0x4d7e98=_0x3f5de6;if(_0xe40d87[_0x4d7e98(0x20d)](_0x4d7e98(0x21f),_0x1f0f25),_0xe40d87[_0x4d7e98(0x110)]!==_0x5eb2bd[_0x4d7e98(0xfa)])return;_0x4a17aa=_0xe40d87[_0x4d7e98(0x1d7)]=null;const _0x359ba9=_0x1f0f25[_0x4d7e98(0x26d)][_0x4d7e98(0x21f)];if(_0x359ba9===void 0x0||_0x359ba9[_0x4d7e98(0x1e0)]()!=='websocket'){_0x54e7ed(_0xe40d87,_0x5eddfc,_0x4d7e98(0xf6));return;}const _0x4d73bc=_0x1d978c('sha1')[_0x4d7e98(0x169)](_0x15a147+_0x4ca0bf)[_0x4d7e98(0xed)](_0x4d7e98(0x127));if(_0x1f0f25[_0x4d7e98(0x26d)]['sec-websocket-accept']!==_0x4d73bc){_0x54e7ed(_0xe40d87,_0x5eddfc,_0x4d7e98(0x162));return;}const _0x2a7b8f=_0x1f0f25[_0x4d7e98(0x26d)][_0x4d7e98(0x125)];let _0x3cea21;if(_0x2a7b8f!==void 0x0?_0x2a6b29[_0x4d7e98(0x19d)]?_0x2a6b29['has'](_0x2a7b8f)||(_0x3cea21='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x3cea21=_0x4d7e98(0x151):_0x2a6b29[_0x4d7e98(0x19d)]&&(_0x3cea21='Server\x20sent\x20no\x20subprotocol'),_0x3cea21){_0x54e7ed(_0xe40d87,_0x5eddfc,_0x3cea21);return;}_0x2a7b8f&&(_0xe40d87['_protocol']=_0x2a7b8f);const _0x4e6b7b=_0x1f0f25[_0x4d7e98(0x26d)][_0x4d7e98(0x1da)];if(_0x4e6b7b!==void 0x0){if(!_0x187010){_0x54e7ed(_0xe40d87,_0x5eddfc,_0x4d7e98(0x172));return;}let _0x595fca;try{_0x595fca=_0x1f1583(_0x4e6b7b);}catch{_0x54e7ed(_0xe40d87,_0x5eddfc,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x970b1d=Object[_0x4d7e98(0x21e)](_0x595fca);if(_0x970b1d[_0x4d7e98(0x263)]!==0x1||_0x970b1d[0x0]!==_0x3c576d['extensionName']){_0x54e7ed(_0xe40d87,_0x5eddfc,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x187010[_0x4d7e98(0x232)](_0x595fca[_0x3c576d['extensionName']]);}catch{_0x54e7ed(_0xe40d87,_0x5eddfc,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0xe40d87[_0x4d7e98(0x25f)][_0x3c576d[_0x4d7e98(0x141)]]=_0x187010;}_0xe40d87[_0x4d7e98(0xe0)](_0x5eddfc,_0x1fc189,{'allowSynchronousEvents':_0x286838[_0x4d7e98(0x203)],'generateMask':_0x286838[_0x4d7e98(0xa9)],'maxPayload':_0x286838[_0x4d7e98(0x113)],'skipUTF8Validation':_0x286838[_0x4d7e98(0x1ef)]});}),_0x286838[_0x3f5de6(0xe2)]?_0x286838[_0x3f5de6(0xe2)](_0x4a17aa,_0xe40d87):_0x4a17aa[_0x3f5de6(0x241)]();}function _0x58a4b9(_0x36efa8,_0xb861f2){const _0x239a5a=_0x4ac74b;_0x36efa8[_0x239a5a(0xce)]=_0x5eb2bd[_0x239a5a(0x12b)],_0x36efa8[_0x239a5a(0x13a)]=!0x0,_0x36efa8[_0x239a5a(0x20d)]('error',_0xb861f2),_0x36efa8[_0x239a5a(0x173)]();}function _0x3b404f(_0x21a02c){const _0x3861c6=_0x4ac74b;return _0x21a02c['path']=_0x21a02c[_0x3861c6(0x18c)],_0x5563f7[_0x3861c6(0x122)](_0x21a02c);}function _0x580bb9(_0x59d549){const _0x54a129=_0x4ac74b;return _0x59d549['path']=void 0x0,!_0x59d549['servername']&&_0x59d549['servername']!==''&&(_0x59d549['servername']=_0x5563f7[_0x54a129(0x194)](_0x59d549['host'])?'':_0x59d549[_0x54a129(0x262)]),_0x5b2161['connect'](_0x59d549);}function _0x54e7ed(_0x2b140a,_0x402156,_0x57eac9){const _0x188e0f=_0x4ac74b;_0x2b140a['_readyState']=_0x5eb2bd['CLOSING'];const _0x383a6f=new Error(_0x57eac9);Error[_0x188e0f(0x1ba)](_0x383a6f,_0x54e7ed),_0x402156[_0x188e0f(0x19b)]?(_0x402156[_0x54876c]=!0x0,_0x402156[_0x188e0f(0x120)](),_0x402156['socket']&&!_0x402156[_0x188e0f(0x1ed)][_0x188e0f(0x139)]&&_0x402156[_0x188e0f(0x1ed)][_0x188e0f(0xee)](),process['nextTick'](_0x58a4b9,_0x2b140a,_0x383a6f)):(_0x402156[_0x188e0f(0xee)](_0x383a6f),_0x402156[_0x188e0f(0x239)](_0x188e0f(0xc6),_0x2b140a['emit'][_0x188e0f(0x187)](_0x2b140a,_0x188e0f(0xc6))),_0x402156[_0x188e0f(0x239)]('close',_0x2b140a[_0x188e0f(0x173)][_0x188e0f(0x187)](_0x2b140a)));}function _0x485721(_0x26c523,_0x5e47c0,_0x24ef18){const _0x224ef1=_0x4ac74b;if(_0x5e47c0){const _0x31a771=_0x29d16e(_0x5e47c0)?_0x5e47c0[_0x224ef1(0x19d)]:_0x24fd2b(_0x5e47c0)['length'];_0x26c523[_0x224ef1(0xe3)]?_0x26c523[_0x224ef1(0x1c1)][_0x224ef1(0x143)]+=_0x31a771:_0x26c523[_0x224ef1(0x1f5)]+=_0x31a771;}if(_0x24ef18){const _0x429acb=new Error(_0x224ef1(0x21b)+_0x26c523[_0x224ef1(0x110)]+'\x20('+_0x3e040b[_0x26c523[_0x224ef1(0x110)]]+')');process[_0x224ef1(0x254)](_0x24ef18,_0x429acb);}}function _0x794fbc(_0xbb006b,_0x5132a6){const _0x5ef94f=_0x4ac74b,_0x1ff985=this[_0x7e49f5];_0x1ff985[_0x5ef94f(0x226)]=!0x0,_0x1ff985[_0x5ef94f(0x1f9)]=_0x5132a6,_0x1ff985[_0x5ef94f(0x175)]=_0xbb006b,_0x1ff985[_0x5ef94f(0xe3)][_0x7e49f5]!==void 0x0&&(_0x1ff985[_0x5ef94f(0xe3)]['removeListener'](_0x5ef94f(0x164),_0x3b74aa),process[_0x5ef94f(0x254)](_0x445a76,_0x1ff985[_0x5ef94f(0xe3)]),_0xbb006b===0x3ed?_0x1ff985[_0x5ef94f(0x236)]():_0x1ff985[_0x5ef94f(0x236)](_0xbb006b,_0x5132a6));}function _0x19bc2f(){const _0x409e8c=_0x4ac74b,_0x30c998=this[_0x7e49f5];_0x30c998[_0x409e8c(0xff)]||_0x30c998[_0x409e8c(0xe3)][_0x409e8c(0x230)]();}function _0x323d5b(_0x1af9f4){const _0x15fc03=_0x4ac74b,_0x316475=this[_0x7e49f5];_0x316475[_0x15fc03(0xe3)][_0x7e49f5]!==void 0x0&&(_0x316475[_0x15fc03(0xe3)][_0x15fc03(0x1ad)](_0x15fc03(0x164),_0x3b74aa),process[_0x15fc03(0x254)](_0x445a76,_0x316475[_0x15fc03(0xe3)]),_0x316475[_0x15fc03(0x236)](_0x1af9f4[_0x34dd2e])),_0x316475[_0x15fc03(0x13a)]||(_0x316475[_0x15fc03(0x13a)]=!0x0,_0x316475[_0x15fc03(0x20d)]('error',_0x1af9f4));}function _0x3e0b92(){const _0x3dd723=_0x4ac74b;this[_0x7e49f5][_0x3dd723(0x173)]();}function _0x5bba90(_0x275199,_0x44d3d3){this[_0x7e49f5]['emit']('message',_0x275199,_0x44d3d3);}function _0x5b772b(_0x1247b9){const _0x2184cb=_0x4ac74b,_0x2dae2c=this[_0x7e49f5];_0x2dae2c['_autoPong']&&_0x2dae2c[_0x2184cb(0x1bd)](_0x1247b9,!this['_isServer'],_0x1e9ebf),_0x2dae2c[_0x2184cb(0x20d)]('ping',_0x1247b9);}function _0x2e7cb2(_0x532ddf){const _0x9a4da2=_0x4ac74b;this[_0x7e49f5]['emit'](_0x9a4da2(0x1bd),_0x532ddf);}function _0x445a76(_0x3cd587){const _0x431e81=_0x4ac74b;_0x3cd587[_0x431e81(0x230)]();}function _0x2baa97(_0x4f9a6a){const _0x4ad6d1=_0x4ac74b,_0x35f6e8=this[_0x7e49f5];_0x35f6e8[_0x4ad6d1(0x110)]!==_0x5eb2bd[_0x4ad6d1(0x22e)]&&(_0x35f6e8[_0x4ad6d1(0x110)]===_0x5eb2bd[_0x4ad6d1(0x100)]&&(_0x35f6e8['_readyState']=_0x5eb2bd[_0x4ad6d1(0x12b)],_0x3310a5(_0x35f6e8)),this[_0x4ad6d1(0xe3)][_0x4ad6d1(0x241)](),_0x35f6e8[_0x4ad6d1(0x13a)]||(_0x35f6e8[_0x4ad6d1(0x13a)]=!0x0,_0x35f6e8[_0x4ad6d1(0x20d)](_0x4ad6d1(0xc6),_0x4f9a6a)));}function _0x3310a5(_0x98bdee){const _0x2424a9=_0x4ac74b;_0x98bdee[_0x2424a9(0x147)]=setTimeout(_0x98bdee[_0x2424a9(0xe3)][_0x2424a9(0xee)][_0x2424a9(0x187)](_0x98bdee[_0x2424a9(0xe3)]),_0x24532a);}function _0x376da9(){const _0x266fa2=_0x4ac74b,_0x541beb=this[_0x7e49f5];this['removeListener'](_0x266fa2(0x236),_0x376da9),this[_0x266fa2(0x1ad)](_0x266fa2(0x164),_0x3b74aa),this[_0x266fa2(0x1ad)](_0x266fa2(0x241),_0x1d997e),_0x541beb[_0x266fa2(0xce)]=_0x5eb2bd['CLOSING'];let _0x52ba3c;!this['_readableState'][_0x266fa2(0x1d6)]&&!_0x541beb['_closeFrameReceived']&&!_0x541beb[_0x266fa2(0x246)][_0x266fa2(0x140)][_0x266fa2(0x23e)]&&(_0x52ba3c=_0x541beb[_0x266fa2(0xe3)][_0x266fa2(0xd5)]())!==null&&_0x541beb['_receiver'][_0x266fa2(0x1be)](_0x52ba3c),_0x541beb[_0x266fa2(0x246)][_0x266fa2(0x241)](),this[_0x7e49f5]=void 0x0,clearTimeout(_0x541beb[_0x266fa2(0x147)]),_0x541beb[_0x266fa2(0x246)]['_writableState'][_0x266fa2(0x1d9)]||_0x541beb['_receiver'][_0x266fa2(0x140)][_0x266fa2(0x23e)]?_0x541beb[_0x266fa2(0x173)]():(_0x541beb[_0x266fa2(0x246)]['on'](_0x266fa2(0xc6),_0x3e0b92),_0x541beb['_receiver']['on'](_0x266fa2(0x25a),_0x3e0b92));}function _0x3b74aa(_0x2deed0){const _0x2f4706=_0x4ac74b;this[_0x7e49f5][_0x2f4706(0x246)][_0x2f4706(0x1be)](_0x2deed0)||this['pause']();}function _0x1d997e(){const _0xe94047=_0x4ac74b,_0x2896fa=this[_0x7e49f5];_0x2896fa[_0xe94047(0xce)]=_0x5eb2bd[_0xe94047(0x12b)],_0x2896fa['_receiver']['end'](),this[_0xe94047(0x241)]();}function _0x26dcab(){const _0x56a5dd=_0x4ac74b,_0x496a3c=this[_0x7e49f5];this['removeListener'](_0x56a5dd(0xc6),_0x26dcab),this['on'](_0x56a5dd(0xc6),_0x1e9ebf),_0x496a3c&&(_0x496a3c[_0x56a5dd(0xce)]=_0x5eb2bd['CLOSING'],this[_0x56a5dd(0xee)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x5699f7}=oe;function _0x18a2a4(_0x52ea54){const _0x12d5f5=_0x1049;_0x52ea54[_0x12d5f5(0x20d)](_0x12d5f5(0x236));}function _0x1c1cab(){const _0x3256ea=_0x1049;!this[_0x3256ea(0x139)]&&this[_0x3256ea(0x140)][_0x3256ea(0x1d9)]&&this[_0x3256ea(0xee)]();}function _0x549055(_0x2cd49d){const _0x3ba2d4=_0x1049;this['removeListener'](_0x3ba2d4(0xc6),_0x549055),this['destroy'](),this['listenerCount'](_0x3ba2d4(0xc6))===0x0&&this[_0x3ba2d4(0x20d)](_0x3ba2d4(0xc6),_0x2cd49d);}function _0x123c3d(_0x473424,_0x3b3aa9){const _0x47b5dd=_0x1049;let _0x3d5087=!0x0;const _0x18432b=new _0x5699f7({..._0x3b3aa9,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x473424['on'](_0x47b5dd(0x215),function(_0x2b6acf,_0x144a24){const _0x939f5a=_0x47b5dd,_0x5db8e1=!_0x144a24&&_0x18432b['_readableState'][_0x939f5a(0x167)]?_0x2b6acf[_0x939f5a(0x14d)]():_0x2b6acf;_0x18432b['push'](_0x5db8e1)||_0x473424[_0x939f5a(0xc1)]();}),_0x473424[_0x47b5dd(0x239)](_0x47b5dd(0xc6),function(_0x16e486){const _0x107e9d=_0x47b5dd;_0x18432b[_0x107e9d(0x139)]||(_0x3d5087=!0x1,_0x18432b[_0x107e9d(0xee)](_0x16e486));}),_0x473424[_0x47b5dd(0x239)]('close',function(){const _0x4b0d39=_0x47b5dd;_0x18432b['destroyed']||_0x18432b[_0x4b0d39(0x12f)](null);}),_0x18432b[_0x47b5dd(0x124)]=function(_0x11c98a,_0x513690){const _0x5c8efe=_0x47b5dd;if(_0x473424[_0x5c8efe(0x110)]===_0x473424['CLOSED']){_0x513690(_0x11c98a),process[_0x5c8efe(0x254)](_0x18a2a4,_0x18432b);return;}let _0x3df01b=!0x1;_0x473424[_0x5c8efe(0x239)]('error',function(_0x37c962){_0x3df01b=!0x0,_0x513690(_0x37c962);}),_0x473424[_0x5c8efe(0x239)](_0x5c8efe(0x236),function(){_0x3df01b||_0x513690(_0x11c98a),process['nextTick'](_0x18a2a4,_0x18432b);}),_0x3d5087&&_0x473424[_0x5c8efe(0x16c)]();},_0x18432b[_0x47b5dd(0x1df)]=function(_0xdde7f3){const _0x40af55=_0x47b5dd;if(_0x473424[_0x40af55(0x110)]===_0x473424[_0x40af55(0xfa)]){_0x473424[_0x40af55(0x239)]('open',function(){const _0x1b90c3=_0x40af55;_0x18432b[_0x1b90c3(0x1df)](_0xdde7f3);});return;}_0x473424[_0x40af55(0xe3)]!==null&&(_0x473424['_socket'][_0x40af55(0x140)][_0x40af55(0x1d9)]?(_0xdde7f3(),_0x18432b[_0x40af55(0x212)][_0x40af55(0x1d6)]&&_0x18432b[_0x40af55(0xee)]()):(_0x473424[_0x40af55(0xe3)][_0x40af55(0x239)](_0x40af55(0x25a),function(){_0xdde7f3();}),_0x473424[_0x40af55(0x236)]()));},_0x18432b[_0x47b5dd(0x15c)]=function(){const _0x5890f1=_0x47b5dd;_0x473424[_0x5890f1(0xff)]&&_0x473424[_0x5890f1(0x230)]();},_0x18432b[_0x47b5dd(0xc0)]=function(_0x3eeb7a,_0xbd949d,_0x494fd4){const _0x5d8d20=_0x47b5dd;if(_0x473424[_0x5d8d20(0x110)]===_0x473424[_0x5d8d20(0xfa)]){_0x473424['once']('open',function(){_0x18432b['_write'](_0x3eeb7a,_0xbd949d,_0x494fd4);});return;}_0x473424[_0x5d8d20(0xc5)](_0x3eeb7a,_0x494fd4);},_0x18432b['on'](_0x47b5dd(0x241),_0x1c1cab),_0x18432b['on']('error',_0x549055),_0x18432b;}return Oe=_0x123c3d,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x291a3a}=ae();function _0x309064(_0x22b345){const _0x264f17=_0x1049,_0x4ac8a3=new Set();let _0x4e15bf=-0x1,_0x287cf4=-0x1,_0x44eade=0x0;for(_0x44eade;_0x44eade<_0x22b345[_0x264f17(0x263)];_0x44eade++){const _0x5ca6a3=_0x22b345[_0x264f17(0x21c)](_0x44eade);if(_0x287cf4===-0x1&&_0x291a3a[_0x5ca6a3]===0x1)_0x4e15bf===-0x1&&(_0x4e15bf=_0x44eade);else{if(_0x44eade!==0x0&&(_0x5ca6a3===0x20||_0x5ca6a3===0x9))_0x287cf4===-0x1&&_0x4e15bf!==-0x1&&(_0x287cf4=_0x44eade);else{if(_0x5ca6a3===0x2c){if(_0x4e15bf===-0x1)throw new SyntaxError(_0x264f17(0xc7)+_0x44eade);_0x287cf4===-0x1&&(_0x287cf4=_0x44eade);const _0x1344ea=_0x22b345[_0x264f17(0x1c9)](_0x4e15bf,_0x287cf4);if(_0x4ac8a3[_0x264f17(0x22a)](_0x1344ea))throw new SyntaxError(_0x264f17(0x12d)+_0x1344ea+_0x264f17(0x1dd));_0x4ac8a3[_0x264f17(0x1fa)](_0x1344ea),_0x4e15bf=_0x287cf4=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x44eade);}}}if(_0x4e15bf===-0x1||_0x287cf4!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x55c515=_0x22b345[_0x264f17(0x1c9)](_0x4e15bf,_0x44eade);if(_0x4ac8a3['has'](_0x55c515))throw new SyntaxError(_0x264f17(0x12d)+_0x55c515+_0x264f17(0x1dd));return _0x4ac8a3[_0x264f17(0x1fa)](_0x55c515),_0x4ac8a3;}return Ce={'parse':_0x309064},Ce;}var Te,rt;function Ft(){const _0x38c5e3=_0x91f056;if(rt)return Te;rt=0x1;const _0x27d11b=nt,_0x504c23=ot,{Duplex:_0xa61e24}=oe,{createHash:_0x2570c3}=Le,_0x294dce=ct(),_0x27bf7c=he(),_0x413a77=At(),_0x49ceb1=Pe(),{GUID:_0x2854ed,kWebSocket:_0x2ea674}=H(),_0x5c4937=/^[+/0-9A-Za-z]{22}==$/,_0x59e6ed=0x0,_0x913b4f=0x1,_0x5cecaf=0x2;class _0x3ec986 extends _0x27d11b{constructor(_0x4df69e,_0x1c1692){const _0x934768=_0x1049;if(super(),_0x4df69e={'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':_0x49ceb1,..._0x4df69e},_0x4df69e['port']==null&&!_0x4df69e[_0x934768(0x220)]&&!_0x4df69e[_0x934768(0x15d)]||_0x4df69e['port']!=null&&(_0x4df69e['server']||_0x4df69e['noServer'])||_0x4df69e[_0x934768(0x220)]&&_0x4df69e[_0x934768(0x15d)])throw new TypeError(_0x934768(0x171));if(_0x4df69e[_0x934768(0xbf)]!=null?(this[_0x934768(0x23f)]=_0x504c23['createServer']((_0x5deae5,_0x3cd008)=>{const _0x319982=_0x934768,_0x4c070c=_0x504c23[_0x319982(0x250)][0x1aa];_0x3cd008[_0x319982(0x199)](0x1aa,{'Content-Length':_0x4c070c[_0x319982(0x263)],'Content-Type':_0x319982(0x152)}),_0x3cd008[_0x319982(0x241)](_0x4c070c);}),this[_0x934768(0x23f)][_0x934768(0xdd)](_0x4df69e[_0x934768(0xbf)],_0x4df69e[_0x934768(0x262)],_0x4df69e[_0x934768(0xbd)],_0x1c1692)):_0x4df69e[_0x934768(0x220)]&&(this[_0x934768(0x23f)]=_0x4df69e[_0x934768(0x220)]),this[_0x934768(0x23f)]){const _0x5b3d73=this[_0x934768(0x20d)][_0x934768(0x187)](this,_0x934768(0xe8));this[_0x934768(0x12c)]=_0x983f95(this['_server'],{'listening':this[_0x934768(0x20d)]['bind'](this,_0x934768(0x1b8)),'error':this[_0x934768(0x20d)][_0x934768(0x187)](this,_0x934768(0xc6)),'upgrade':(_0x277eec,_0x5d9000,_0x123874)=>{const _0x1b3229=_0x934768;this[_0x1b3229(0x1bf)](_0x277eec,_0x5d9000,_0x123874,_0x5b3d73);}});}_0x4df69e[_0x934768(0x157)]===!0x0&&(_0x4df69e[_0x934768(0x157)]={}),_0x4df69e[_0x934768(0x1aa)]&&(this[_0x934768(0xa8)]=new Set(),this['_shouldEmitClose']=!0x1),this[_0x934768(0xe4)]=_0x4df69e,this[_0x934768(0x213)]=_0x59e6ed;}[_0x38c5e3(0x214)](){const _0x24ce43=_0x38c5e3;if(this[_0x24ce43(0xe4)][_0x24ce43(0x15d)])throw new Error(_0x24ce43(0x273));return this[_0x24ce43(0x23f)]?this[_0x24ce43(0x23f)]['address']():null;}[_0x38c5e3(0x236)](_0x27d9cc){const _0x18173c=_0x38c5e3;if(this[_0x18173c(0x213)]===_0x5cecaf){_0x27d9cc&&this[_0x18173c(0x239)]('close',()=>{_0x27d9cc(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x18173c(0x254)](_0x253187,this);return;}if(_0x27d9cc&&this[_0x18173c(0x239)](_0x18173c(0x236),_0x27d9cc),this[_0x18173c(0x213)]!==_0x913b4f){if(this[_0x18173c(0x213)]=_0x913b4f,this[_0x18173c(0xe4)][_0x18173c(0x15d)]||this[_0x18173c(0xe4)][_0x18173c(0x220)])this[_0x18173c(0x23f)]&&(this[_0x18173c(0x12c)](),this['_removeListeners']=this[_0x18173c(0x23f)]=null),this[_0x18173c(0xa8)]?this[_0x18173c(0xa8)][_0x18173c(0x19d)]?this[_0x18173c(0x19e)]=!0x0:process[_0x18173c(0x254)](_0x253187,this):process['nextTick'](_0x253187,this);else{const _0x42b289=this[_0x18173c(0x23f)];this[_0x18173c(0x12c)](),this['_removeListeners']=this[_0x18173c(0x23f)]=null,_0x42b289[_0x18173c(0x236)](()=>{_0x253187(this);});}}}[_0x38c5e3(0x10f)](_0x53fb50){const _0x365762=_0x38c5e3;if(this[_0x365762(0xe4)][_0x365762(0x253)]){const _0x2ad1b2=_0x53fb50['url'][_0x365762(0x1f6)]('?');if((_0x2ad1b2!==-0x1?_0x53fb50[_0x365762(0xad)][_0x365762(0x1c9)](0x0,_0x2ad1b2):_0x53fb50['url'])!==this[_0x365762(0xe4)]['path'])return!0x1;}return!0x0;}[_0x38c5e3(0x1bf)](_0x115800,_0x426ab4,_0x361a08,_0x18ffa6){const _0x34da1c=_0x38c5e3;_0x426ab4['on'](_0x34da1c(0xc6),_0x57a532);const _0x410be6=_0x115800[_0x34da1c(0x26d)][_0x34da1c(0x209)],_0x14b8ed=_0x115800[_0x34da1c(0x26d)]['upgrade'],_0x5d7ff9=+_0x115800[_0x34da1c(0x26d)][_0x34da1c(0x198)];if(_0x115800[_0x34da1c(0x202)]!==_0x34da1c(0x192)){_0xf41a2e(this,_0x115800,_0x426ab4,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x14b8ed===void 0x0||_0x14b8ed['toLowerCase']()!=='websocket'){_0xf41a2e(this,_0x115800,_0x426ab4,0x190,_0x34da1c(0xf6));return;}if(_0x410be6===void 0x0||!_0x5c4937['test'](_0x410be6)){_0xf41a2e(this,_0x115800,_0x426ab4,0x190,_0x34da1c(0x1f3));return;}if(_0x5d7ff9!==0x8&&_0x5d7ff9!==0xd){_0xf41a2e(this,_0x115800,_0x426ab4,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this[_0x34da1c(0x10f)](_0x115800)){_0x302809(_0x426ab4,0x190);return;}const _0x18068d=_0x115800[_0x34da1c(0x26d)][_0x34da1c(0x125)];let _0x4b30a3=new Set();if(_0x18068d!==void 0x0)try{_0x4b30a3=_0x413a77['parse'](_0x18068d);}catch{_0xf41a2e(this,_0x115800,_0x426ab4,0x190,_0x34da1c(0x227));return;}const _0x49ca5a=_0x115800[_0x34da1c(0x26d)][_0x34da1c(0x1da)],_0xe56f2={};if(this[_0x34da1c(0xe4)][_0x34da1c(0x157)]&&_0x49ca5a!==void 0x0){const _0x274c1e=new _0x27bf7c(this['options'][_0x34da1c(0x157)],!0x0,this[_0x34da1c(0xe4)][_0x34da1c(0x113)]);try{const _0x415e21=_0x294dce[_0x34da1c(0x18f)](_0x49ca5a);_0x415e21[_0x27bf7c[_0x34da1c(0x141)]]&&(_0x274c1e[_0x34da1c(0x232)](_0x415e21[_0x27bf7c[_0x34da1c(0x141)]]),_0xe56f2[_0x27bf7c[_0x34da1c(0x141)]]=_0x274c1e);}catch{_0xf41a2e(this,_0x115800,_0x426ab4,0x190,_0x34da1c(0x23d));return;}}if(this[_0x34da1c(0xe4)][_0x34da1c(0x1c8)]){const _0x382f37={'origin':_0x115800[_0x34da1c(0x26d)][''+(_0x5d7ff9===0x8?_0x34da1c(0x1a6):_0x34da1c(0x271))],'secure':!!(_0x115800[_0x34da1c(0x1ed)]['authorized']||_0x115800[_0x34da1c(0x1ed)][_0x34da1c(0xb3)]),'req':_0x115800};if(this[_0x34da1c(0xe4)][_0x34da1c(0x1c8)]['length']===0x2){this[_0x34da1c(0xe4)][_0x34da1c(0x1c8)](_0x382f37,(_0x4f38f6,_0x24785d,_0x4ebe5d,_0x1a898f)=>{if(!_0x4f38f6)return _0x302809(_0x426ab4,_0x24785d||0x191,_0x4ebe5d,_0x1a898f);this['completeUpgrade'](_0xe56f2,_0x410be6,_0x4b30a3,_0x115800,_0x426ab4,_0x361a08,_0x18ffa6);});return;}if(!this[_0x34da1c(0xe4)][_0x34da1c(0x1c8)](_0x382f37))return _0x302809(_0x426ab4,0x191);}this['completeUpgrade'](_0xe56f2,_0x410be6,_0x4b30a3,_0x115800,_0x426ab4,_0x361a08,_0x18ffa6);}[_0x38c5e3(0x13b)](_0x3013f5,_0x551e60,_0x314579,_0x125ba7,_0x591f77,_0x499c4d,_0x218d84){const _0x4792e2=_0x38c5e3;if(!_0x591f77['readable']||!_0x591f77[_0x4792e2(0x21d)])return _0x591f77[_0x4792e2(0xee)]();if(_0x591f77[_0x2ea674])throw new Error(_0x4792e2(0x196));if(this[_0x4792e2(0x213)]>_0x59e6ed)return _0x302809(_0x591f77,0x1f7);const _0x4eba20=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x4792e2(0xcd),'Connection:\x20Upgrade','Sec-WebSocket-Accept:\x20'+_0x2570c3('sha1')[_0x4792e2(0x169)](_0x551e60+_0x2854ed)['digest'](_0x4792e2(0x127))],_0xfca061=new this[(_0x4792e2(0xe4))][(_0x4792e2(0x1c3))](null,void 0x0,this['options']);if(_0x314579[_0x4792e2(0x19d)]){const _0x601ff7=this[_0x4792e2(0xe4)][_0x4792e2(0x105)]?this[_0x4792e2(0xe4)]['handleProtocols'](_0x314579,_0x125ba7):_0x314579[_0x4792e2(0xab)]()[_0x4792e2(0x10a)]()[_0x4792e2(0x11b)];_0x601ff7&&(_0x4eba20[_0x4792e2(0x12f)](_0x4792e2(0x15a)+_0x601ff7),_0xfca061[_0x4792e2(0xd8)]=_0x601ff7);}if(_0x3013f5[_0x27bf7c[_0x4792e2(0x141)]]){const _0x1d7405=_0x3013f5[_0x27bf7c[_0x4792e2(0x141)]][_0x4792e2(0x256)],_0x4d0b9b=_0x294dce[_0x4792e2(0x228)]({[_0x27bf7c[_0x4792e2(0x141)]]:[_0x1d7405]});_0x4eba20[_0x4792e2(0x12f)](_0x4792e2(0x24d)+_0x4d0b9b),_0xfca061[_0x4792e2(0x25f)]=_0x3013f5;}this[_0x4792e2(0x20d)](_0x4792e2(0x26d),_0x4eba20,_0x125ba7),_0x591f77[_0x4792e2(0x1be)](_0x4eba20[_0x4792e2(0x129)]('\x0d\x0a')['join']('\x0d\x0a')),_0x591f77[_0x4792e2(0x1ad)](_0x4792e2(0xc6),_0x57a532),_0xfca061[_0x4792e2(0xe0)](_0x591f77,_0x499c4d,{'allowSynchronousEvents':this[_0x4792e2(0xe4)]['allowSynchronousEvents'],'maxPayload':this[_0x4792e2(0xe4)][_0x4792e2(0x113)],'skipUTF8Validation':this[_0x4792e2(0xe4)][_0x4792e2(0x1ef)]}),this[_0x4792e2(0xa8)]&&(this[_0x4792e2(0xa8)]['add'](_0xfca061),_0xfca061['on'](_0x4792e2(0x236),()=>{const _0x472a4f=_0x4792e2;this[_0x472a4f(0xa8)][_0x472a4f(0xbb)](_0xfca061),this[_0x472a4f(0x19e)]&&!this[_0x472a4f(0xa8)]['size']&&process['nextTick'](_0x253187,this);})),_0x218d84(_0xfca061,_0x125ba7);}}Te=_0x3ec986;function _0x983f95(_0x5eddc0,_0x40da09){const _0x2f8935=_0x38c5e3;for(const _0x29061a of Object[_0x2f8935(0x21e)](_0x40da09))_0x5eddc0['on'](_0x29061a,_0x40da09[_0x29061a]);return function(){const _0x1f7b80=_0x2f8935;for(const _0x1566bb of Object['keys'](_0x40da09))_0x5eddc0[_0x1f7b80(0x1ad)](_0x1566bb,_0x40da09[_0x1566bb]);};}function _0x253187(_0x1d048c){const _0x19d30e=_0x38c5e3;_0x1d048c[_0x19d30e(0x213)]=_0x5cecaf,_0x1d048c[_0x19d30e(0x20d)](_0x19d30e(0x236));}function _0x57a532(){this['destroy']();}function _0x302809(_0x11731e,_0x2555b2,_0x1c7ece,_0x4f4d3f){const _0x5af394=_0x38c5e3;_0x1c7ece=_0x1c7ece||_0x504c23[_0x5af394(0x250)][_0x2555b2],_0x4f4d3f={'Connection':_0x5af394(0x236),'Content-Type':_0x5af394(0x117),'Content-Length':Buffer[_0x5af394(0x191)](_0x1c7ece),..._0x4f4d3f},_0x11731e['once'](_0x5af394(0x25a),_0x11731e['destroy']),_0x11731e[_0x5af394(0x241)](_0x5af394(0x103)+_0x2555b2+'\x20'+_0x504c23[_0x5af394(0x250)][_0x2555b2]+'\x0d\x0a'+Object['keys'](_0x4f4d3f)[_0x5af394(0x121)](_0x22d1b1=>_0x22d1b1+':\x20'+_0x4f4d3f[_0x22d1b1])['join']('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x1c7ece);}function _0xf41a2e(_0x39b775,_0x8c61be,_0x35418c,_0x2e720e,_0x1a89e0){const _0x4c2322=_0x38c5e3;if(_0x39b775[_0x4c2322(0x1e5)](_0x4c2322(0x116))){const _0x34f8ca=new Error(_0x1a89e0);Error['captureStackTrace'](_0x34f8ca,_0xf41a2e),_0x39b775[_0x4c2322(0x20d)](_0x4c2322(0x116),_0x34f8ca,_0x35418c,_0x8c61be);}else _0x302809(_0x35418c,_0x2e720e,_0x1a89e0);}return Te;}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0x16cfa3,_0x3177dd,_0x2b572f,_0x577ed8)=>{const _0x227d62=_0x91f056;for(var _0x15f9c9=_0x577ed8>0x1?void 0x0:_0x577ed8?jt(_0x3177dd,_0x2b572f):_0x3177dd,_0x5d0479=_0x16cfa3[_0x227d62(0x263)]-0x1,_0x1171ec;_0x5d0479>=0x0;_0x5d0479--)(_0x1171ec=_0x16cfa3[_0x5d0479])&&(_0x15f9c9=_0x1171ec(_0x15f9c9)||_0x15f9c9);return _0x15f9c9;},qt=(_0x148c8e,_0x5cb5d3)=>(_0xc67444,_0x28c113)=>_0x5cb5d3(_0xc67444,_0x28c113,_0x148c8e);let ke=class extends A[_0x91f056(0x123)]{constructor(_0x3d57bc){super(),this['_configService']=_0x3d57bc;}[_0x91f056(0x22d)](_0x317216){const _0x5acd13=_0x91f056;var _0x54a297;const _0x962f24=(_0x54a297=this[_0x5acd13(0x166)][_0x5acd13(0xef)](fe))==null?void 0x0:_0x54a297[_0x5acd13(0x223)];try{const _0x172a90=new $t(_0x317216,{'headers':{..._0x962f24}}),_0x1b8e76=new A[(_0x5acd13(0x248))]();return{'URL':_0x317216,'close':(_0x57799c,_0x4783f5)=>{const _0x53ecf8=_0x5acd13;_0x172a90[_0x53ecf8(0x236)](_0x57799c,_0x4783f5),_0x1b8e76[_0x53ecf8(0x14e)]();},'send':_0x131550=>{const _0x1a7519=_0x5acd13;_0x172a90[_0x1a7519(0xc5)](_0x131550);},'open$':new V[(_0x5acd13(0xc9))](_0x325ece=>{const _0x42a4c3=_0x5acd13,_0x381dd8=_0x196086=>_0x325ece[_0x42a4c3(0x10a)](_0x196086);_0x172a90[_0x42a4c3(0x257)](_0x42a4c3(0x20b),_0x381dd8),_0x1b8e76[_0x42a4c3(0x1fa)](A[_0x42a4c3(0x149)](()=>_0x172a90[_0x42a4c3(0xcb)](_0x42a4c3(0x20b),_0x381dd8)));})[_0x5acd13(0x242)](V[_0x5acd13(0x13f)]()),'close$':new V[(_0x5acd13(0xc9))](_0x18b6ca=>{const _0x520f36=_0x5acd13,_0x26b727=_0x46f051=>_0x18b6ca[_0x520f36(0x10a)](_0x46f051);_0x172a90[_0x520f36(0x257)](_0x520f36(0x236),_0x26b727),_0x1b8e76[_0x520f36(0x1fa)](A['toDisposable'](()=>_0x172a90[_0x520f36(0xcb)](_0x520f36(0x236),_0x26b727)));})[_0x5acd13(0x242)](V[_0x5acd13(0x13f)]()),'error$':new V[(_0x5acd13(0xc9))](_0x2f9ec0=>{const _0x309ee3=_0x5acd13,_0x5830f7=_0x482669=>_0x2f9ec0[_0x309ee3(0x10a)](_0x482669);_0x172a90[_0x309ee3(0x257)](_0x309ee3(0xc6),_0x5830f7),_0x1b8e76[_0x309ee3(0x1fa)](A[_0x309ee3(0x149)](()=>_0x172a90[_0x309ee3(0xcb)](_0x309ee3(0xc6),_0x5830f7)));})[_0x5acd13(0x242)](V[_0x5acd13(0x13f)]()),'message$':new V[(_0x5acd13(0xc9))](_0x449805=>{const _0x483e2c=_0x5acd13,_0x132e93=_0xba844e=>_0x449805[_0x483e2c(0x10a)](_0xba844e);_0x172a90[_0x483e2c(0x257)]('message',_0x132e93),_0x1b8e76[_0x483e2c(0x1fa)](A['toDisposable'](()=>_0x172a90[_0x483e2c(0xcb)](_0x483e2c(0x215),_0x132e93)));})[_0x5acd13(0x242)](V[_0x5acd13(0x13f)]())};}catch(_0x4861b8){return console['error'](_0x4861b8),null;}}};ke=Wt([qt(0x0,A[_0x91f056(0x178)])],ke);var Gt=Object['defineProperty'],Vt=Object[_0x91f056(0x208)],Ht=(_0x29435d,_0x27775b,_0x48a4eb)=>_0x27775b in _0x29435d?Gt(_0x29435d,_0x27775b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x48a4eb}):_0x29435d[_0x27775b]=_0x48a4eb,zt=(_0x559267,_0x507acb,_0x447ac,_0x2651f2)=>{const _0x4403a5=_0x91f056;for(var _0x4274c4=_0x2651f2>0x1?void 0x0:_0x2651f2?Vt(_0x507acb,_0x447ac):_0x507acb,_0x41a6cc=_0x559267[_0x4403a5(0x263)]-0x1,_0x4b4a2c;_0x41a6cc>=0x0;_0x41a6cc--)(_0x4b4a2c=_0x559267[_0x41a6cc])&&(_0x4274c4=_0x4b4a2c(_0x4274c4)||_0x4274c4);return _0x4274c4;},Ne=(_0x55a122,_0x2f03a5)=>(_0x54f377,_0x135b30)=>_0x2f03a5(_0x54f377,_0x135b30,_0x55a122),Yt=(_0x1e2ad7,_0x1a0eba,_0x5b5333)=>Ht(_0x1e2ad7,_0x1a0eba+'',_0x5b5333);exports[_0x91f056(0x225)]=class extends A[_0x91f056(0x14f)]{constructor(_0x940d46=Ct,_0x8d949d,_0x4ca0b6,_0xe0bd0a){const _0x4270ca=_0x91f056;_0x940d46[_0x4270ca(0x223)]||_0x8d949d[_0x4270ca(0x1ab)](_0x4270ca(0xf7)),super(),this[_0x4270ca(0x166)]=_0x4ca0b6,this[_0x4270ca(0x229)]=_0xe0bd0a,this[_0x4270ca(0x166)]['setConfig'](fe,_0x940d46);}[_0x91f056(0xbe)](){const _0xf2893=_0x91f056;this[_0xf2893(0x17a)]();}[_0x91f056(0x17a)](){const _0x1e3723=_0x91f056;A[_0x1e3723(0x1f7)](this['_injector'],[[it[_0x1e3723(0x195)],{'useClass':ke}]]);}},Yt(exports['UniverCollaborationClientNodePlugin'],_0x91f056(0x245),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports[_0x91f056(0x225)]=zt([A[_0x91f056(0x12e)](st[_0x91f056(0x204)]),Ne(0x1,A[_0x91f056(0x176)]),Ne(0x2,A['IConfigService']),Ne(0x3,A['Inject'](A['Injector']))],exports[_0x91f056(0x225)]);var Kt=Object['getOwnPropertyDescriptor'],Xt=(_0x551071,_0x542ba4,_0x215b07,_0x594682)=>{const _0x24cf04=_0x91f056;for(var _0x4d4992=_0x594682>0x1?void 0x0:_0x594682?Kt(_0x542ba4,_0x215b07):_0x542ba4,_0x2532fc=_0x551071[_0x24cf04(0x263)]-0x1,_0x461b65;_0x2532fc>=0x0;_0x2532fc--)(_0x461b65=_0x551071[_0x2532fc])&&(_0x4d4992=_0x461b65(_0x4d4992)||_0x4d4992);return _0x4d4992;},ne=(_0x3408d0,_0x119864)=>(_0x3f2262,_0x26eab7)=>_0x119864(_0x3f2262,_0x26eab7,_0x3408d0);exports[_0x91f056(0x106)]=class extends st[_0x91f056(0x26f)]{constructor(_0x2804b8,_0x10f38e,_0x2aac8b,_0x28f1cd,_0x2f99bd){const _0x414608=_0x91f056;super(_0x2804b8,_0x10f38e,_0x2aac8b,_0x28f1cd,_0x2f99bd);const _0x56d1b0=this[_0x414608(0x166)]['getConfig'](fe);this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x2ba0b3,_0x584680)=>{const _0x34f1c8=_0x414608;var _0x31a411;const _0x7b2ff7=_0x2ba0b3['headers'];return(_0x31a411=_0x56d1b0==null?void 0x0:_0x56d1b0[_0x34f1c8(0x223)])!=null&&_0x31a411['cookie']&&_0x7b2ff7[_0x34f1c8(0xd9)](_0x34f1c8(0x150),_0x56d1b0['customHeaders'][_0x34f1c8(0x1db)]),_0x584680(_0x2ba0b3);}});}async['createSocket'](_0xc94304){const _0x3705e6=_0x91f056;return this[_0x3705e6(0x1d5)](_0xc94304);}},exports[_0x91f056(0x106)]=Xt([ne(0x0,A[_0x91f056(0x170)](A['Injector'])),ne(0x1,A[_0x91f056(0x170)](it[_0x91f056(0xb4)])),ne(0x2,A[_0x91f056(0x178)]),ne(0x3,A[_0x91f056(0x176)]),ne(0x4,Ot[_0x91f056(0x119)])],exports['NodeCollaborationSocketService']),exports[_0x91f056(0x16a)]=fe;