@univerjs-pro/collaboration-client-node 0.8.1-nightly.202506161607 → 0.8.1-nightly.202506181607

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 _0x2201aa=_0xce54;(function(_0x1e7981,_0x1ba2e8){const _0x4a49cb=_0xce54,_0x1fddf0=_0x1e7981();while(!![]){try{const _0x4726e1=-parseInt(_0x4a49cb(0x23f))/0x1*(parseInt(_0x4a49cb(0x252))/0x2)+parseInt(_0x4a49cb(0x15c))/0x3*(-parseInt(_0x4a49cb(0x10a))/0x4)+parseInt(_0x4a49cb(0xf3))/0x5+parseInt(_0x4a49cb(0x11e))/0x6*(parseInt(_0x4a49cb(0x288))/0x7)+parseInt(_0x4a49cb(0x1aa))/0x8+-parseInt(_0x4a49cb(0x1f3))/0x9+-parseInt(_0x4a49cb(0x21f))/0xa*(-parseInt(_0x4a49cb(0x20c))/0xb);if(_0x4726e1===_0x1ba2e8)break;else _0x1fddf0['push'](_0x1fddf0['shift']());}catch(_0x5bdaf9){_0x1fddf0['push'](_0x1fddf0['shift']());}}}(_0x1f2d,0x2ecd5));Object[_0x2201aa(0x15f)](exports,Symbol[_0x2201aa(0x12e)],{'value':_0x2201aa(0x1b8)});const st=require(_0x2201aa(0x12a)),A=require('@univerjs/core'),it=require(_0x2201aa(0x1fd)),V=require('rxjs'),nt=require('events'),vt=require(_0x2201aa(0x10f)),ot=require('http'),St=require('net'),Et=require(_0x2201aa(0x1ad)),Le=require(_0x2201aa(0x1f5)),oe=require(_0x2201aa(0x284)),xt=require(_0x2201aa(0x132)),bt=require(_0x2201aa(0x219)),wt=require(_0x2201aa(0x259)),Ot=require(_0x2201aa(0x199)),fe=_0x2201aa(0x173),Ct={'customHeaders':{}};function Tt(_0x4934a9){const _0x3778ce=_0x2201aa;return _0x4934a9&&_0x4934a9[_0x3778ce(0x210)]&&Object[_0x3778ce(0x25e)]['hasOwnProperty'][_0x3778ce(0x124)](_0x4934a9,_0x3778ce(0xea))?_0x4934a9[_0x3778ce(0xea)]:_0x4934a9;}function at(_0x4d3790){const _0x1e51ca=_0x2201aa;if(Object[_0x1e51ca(0x25e)]['hasOwnProperty'][_0x1e51ca(0x124)](_0x4d3790,_0x1e51ca(0x210)))return _0x4d3790;var _0x24ae8f=_0x4d3790[_0x1e51ca(0xea)];if(typeof _0x24ae8f=='function'){var _0x5b73a4=function _0x4f303a(){const _0x446b9d=_0x1e51ca;return this instanceof _0x4f303a?Reflect[_0x446b9d(0x21e)](_0x24ae8f,arguments,this[_0x446b9d(0x138)]):_0x24ae8f[_0x446b9d(0x1ed)](this,arguments);};_0x5b73a4[_0x1e51ca(0x25e)]=_0x24ae8f['prototype'];}else _0x5b73a4={};return Object[_0x1e51ca(0x15f)](_0x5b73a4,_0x1e51ca(0x210),{'value':!0x0}),Object['keys'](_0x4d3790)[_0x1e51ca(0x223)](function(_0x59a8bd){const _0x5c3d20=_0x1e51ca;var _0x4e165a=Object['getOwnPropertyDescriptor'](_0x4d3790,_0x59a8bd);Object[_0x5c3d20(0x15f)](_0x5b73a4,_0x59a8bd,_0x4e165a['get']?_0x4e165a:{'enumerable':!0x0,'get':function(){return _0x4d3790[_0x59a8bd];}});}),_0x5b73a4;}var se={'exports':{}},ge,Ge;function H(){const _0x3049e8=_0x2201aa;if(Ge)return ge;Ge=0x1;const _0x187169=[_0x3049e8(0x127),'arraybuffer','fragments'],_0x2be0e9=typeof Blob<'u';return _0x2be0e9&&_0x187169[_0x3049e8(0x100)](_0x3049e8(0x1b7)),ge={'BINARY_TYPES':_0x187169,'EMPTY_BUFFER':Buffer[_0x3049e8(0x19b)](0x0),'GUID':_0x3049e8(0x2ad),'hasBlob':_0x2be0e9,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x3049e8(0x240)),'kStatusCode':Symbol(_0x3049e8(0x2ae)),'kWebSocket':Symbol(_0x3049e8(0x250)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x2201aa(0x27a)](Object[_0x2201aa(0x15f)]({'__proto__':null,'default':Nt},Symbol[_0x2201aa(0x12e)],{'value':_0x2201aa(0x1b8)})),Lt=at(kt);var Ve;function ce(){const _0xb0b3=_0x2201aa;if(Ve)return se[_0xb0b3(0x1e5)];Ve=0x1;const {EMPTY_BUFFER:_0x177a00}=H(),_0x5c6d08=Buffer[Symbol[_0xb0b3(0x27e)]];function _0x1191f9(_0x27961c,_0x259dbc){const _0x40c70e=_0xb0b3;if(_0x27961c[_0x40c70e(0x2a6)]===0x0)return _0x177a00;if(_0x27961c[_0x40c70e(0x2a6)]===0x1)return _0x27961c[0x0];const _0x436700=Buffer[_0x40c70e(0x174)](_0x259dbc);let _0x1d1641=0x0;for(let _0x46af04=0x0;_0x46af04<_0x27961c[_0x40c70e(0x2a6)];_0x46af04++){const _0x350e27=_0x27961c[_0x46af04];_0x436700[_0x40c70e(0x181)](_0x350e27,_0x1d1641),_0x1d1641+=_0x350e27[_0x40c70e(0x2a6)];}return _0x1d1641<_0x259dbc?new _0x5c6d08(_0x436700[_0x40c70e(0x259)],_0x436700[_0x40c70e(0x1a0)],_0x1d1641):_0x436700;}function _0x278837(_0x30da96,_0x36dc3d,_0x4929ac,_0x31fd22,_0x23de66){for(let _0x4af5a9=0x0;_0x4af5a9<_0x23de66;_0x4af5a9++)_0x4929ac[_0x31fd22+_0x4af5a9]=_0x30da96[_0x4af5a9]^_0x36dc3d[_0x4af5a9&0x3];}function _0x2544e8(_0x20a6d0,_0x34826a){for(let _0x10ea8d=0x0;_0x10ea8d<_0x20a6d0['length'];_0x10ea8d++)_0x20a6d0[_0x10ea8d]^=_0x34826a[_0x10ea8d&0x3];}function _0x11c743(_0x4f651c){const _0x3e1f39=_0xb0b3;return _0x4f651c[_0x3e1f39(0x2a6)]===_0x4f651c[_0x3e1f39(0x259)]['byteLength']?_0x4f651c[_0x3e1f39(0x259)]:_0x4f651c[_0x3e1f39(0x259)][_0x3e1f39(0x193)](_0x4f651c[_0x3e1f39(0x1a0)],_0x4f651c[_0x3e1f39(0x1a0)]+_0x4f651c['length']);}function _0x3f03c6(_0x9e83c3){const _0x3dd406=_0xb0b3;if(_0x3f03c6['readOnly']=!0x0,Buffer[_0x3dd406(0x1cb)](_0x9e83c3))return _0x9e83c3;let _0x2fabe3;return _0x9e83c3 instanceof ArrayBuffer?_0x2fabe3=new _0x5c6d08(_0x9e83c3):ArrayBuffer[_0x3dd406(0x122)](_0x9e83c3)?_0x2fabe3=new _0x5c6d08(_0x9e83c3[_0x3dd406(0x259)],_0x9e83c3['byteOffset'],_0x9e83c3[_0x3dd406(0x1c7)]):(_0x2fabe3=Buffer['from'](_0x9e83c3),_0x3f03c6[_0x3dd406(0x191)]=!0x1),_0x2fabe3;}if(se[_0xb0b3(0x1e5)]={'concat':_0x1191f9,'mask':_0x278837,'toArrayBuffer':_0x11c743,'toBuffer':_0x3f03c6,'unmask':_0x2544e8},!process[_0xb0b3(0x1d3)][_0xb0b3(0xe8)])try{const _0x4a465c=Lt;se[_0xb0b3(0x1e5)][_0xb0b3(0x19d)]=function(_0x15fa8e,_0x3111b7,_0x213ec8,_0x370f5e,_0x589158){const _0x527641=_0xb0b3;_0x589158<0x30?_0x278837(_0x15fa8e,_0x3111b7,_0x213ec8,_0x370f5e,_0x589158):_0x4a465c[_0x527641(0x19d)](_0x15fa8e,_0x3111b7,_0x213ec8,_0x370f5e,_0x589158);},se[_0xb0b3(0x1e5)][_0xb0b3(0x1a8)]=function(_0x357036,_0x5cb772){const _0xddbf02=_0xb0b3;_0x357036[_0xddbf02(0x2a6)]<0x20?_0x2544e8(_0x357036,_0x5cb772):_0x4a465c[_0xddbf02(0x1a8)](_0x357036,_0x5cb772);};}catch{}return se[_0xb0b3(0x1e5)];}var ye,He;function Pt(){const _0x21cc76=_0x2201aa;if(He)return ye;He=0x1;const _0x2b03c6=Symbol('kDone'),_0xbec026=Symbol(_0x21cc76(0x1c4));class _0x18fc4d{constructor(_0x552bd7){const _0x177c0c=_0x21cc76;this[_0x2b03c6]=()=>{const _0x1663fe=_0xce54;this[_0x1663fe(0x153)]--,this[_0xbec026]();},this[_0x177c0c(0x1bf)]=_0x552bd7||0x1/0x0,this[_0x177c0c(0x182)]=[],this['pending']=0x0;}[_0x21cc76(0x295)](_0x976d88){const _0x581138=_0x21cc76;this['jobs'][_0x581138(0x100)](_0x976d88),this[_0xbec026]();}[_0xbec026](){const _0x1942f4=_0x21cc76;if(this[_0x1942f4(0x153)]!==this[_0x1942f4(0x1bf)]&&this[_0x1942f4(0x182)][_0x1942f4(0x2a6)]){const _0x2b7a60=this[_0x1942f4(0x182)][_0x1942f4(0x1af)]();this['pending']++,_0x2b7a60(this[_0x2b03c6]);}}}return ye=_0x18fc4d,ye;}var ve,ze;function he(){const _0x1bc691=_0x2201aa;if(ze)return ve;ze=0x1;const _0x18d29e=bt,_0x2e90bd=ce(),_0x9f0dfc=Pt(),{kStatusCode:_0x567850}=H(),_0x8d4ea4=Buffer[Symbol['species']],_0x59f784=Buffer['from']([0x0,0x0,0xff,0xff]),_0x3d71a7=Symbol(_0x1bc691(0x206)),_0x3caf7a=Symbol(_0x1bc691(0xf9)),_0x35dfc3=Symbol(_0x1bc691(0x11c)),_0x496253=Symbol(_0x1bc691(0x1bc)),_0x2bd826=Symbol('error');let _0x4b2a46;class _0x212765{constructor(_0x533498,_0x25cfee,_0x25a38a){const _0x2000e5=_0x1bc691;if(this[_0x2000e5(0x1a6)]=_0x25a38a|0x0,this[_0x2000e5(0x137)]=_0x533498||{},this[_0x2000e5(0x16a)]=this[_0x2000e5(0x137)][_0x2000e5(0x139)]!==void 0x0?this[_0x2000e5(0x137)][_0x2000e5(0x139)]:0x400,this[_0x2000e5(0x280)]=!!_0x25cfee,this[_0x2000e5(0x169)]=null,this[_0x2000e5(0x183)]=null,this['params']=null,!_0x4b2a46){const _0x9a15ed=this[_0x2000e5(0x137)][_0x2000e5(0x26d)]!==void 0x0?this['_options'][_0x2000e5(0x26d)]:0xa;_0x4b2a46=new _0x9f0dfc(_0x9a15ed);}}static get[_0x1bc691(0x143)](){const _0x32f6a4=_0x1bc691;return _0x32f6a4(0x206);}[_0x1bc691(0x272)](){const _0x327965=_0x1bc691,_0x4e03da={};return this[_0x327965(0x137)][_0x327965(0x227)]&&(_0x4e03da[_0x327965(0x289)]=!0x0),this[_0x327965(0x137)]['clientNoContextTakeover']&&(_0x4e03da['client_no_context_takeover']=!0x0),this[_0x327965(0x137)][_0x327965(0x29d)]&&(_0x4e03da[_0x327965(0x1ce)]=this['_options'][_0x327965(0x29d)]),this['_options'][_0x327965(0x161)]?_0x4e03da['client_max_window_bits']=this[_0x327965(0x137)]['clientMaxWindowBits']:this['_options']['clientMaxWindowBits']==null&&(_0x4e03da[_0x327965(0x263)]=!0x0),_0x4e03da;}[_0x1bc691(0x217)](_0x4fa70f){const _0x2f9986=_0x1bc691;return _0x4fa70f=this[_0x2f9986(0x1d9)](_0x4fa70f),this[_0x2f9986(0x186)]=this['_isServer']?this[_0x2f9986(0x1d1)](_0x4fa70f):this[_0x2f9986(0x247)](_0x4fa70f),this[_0x2f9986(0x186)];}[_0x1bc691(0x152)](){const _0x4d53e3=_0x1bc691;if(this[_0x4d53e3(0x183)]&&(this[_0x4d53e3(0x183)][_0x4d53e3(0x28c)](),this[_0x4d53e3(0x183)]=null),this[_0x4d53e3(0x169)]){const _0x2108f4=this['_deflate'][_0x35dfc3];this[_0x4d53e3(0x169)][_0x4d53e3(0x28c)](),this['_deflate']=null,_0x2108f4&&_0x2108f4(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x1bc691(0x1d1)](_0x5d476d){const _0x51de03=_0x1bc691,_0xa7eff2=this[_0x51de03(0x137)],_0x4b7bae=_0x5d476d[_0x51de03(0x216)](_0x183f37=>!(_0xa7eff2[_0x51de03(0x227)]===!0x1&&_0x183f37[_0x51de03(0x289)]||_0x183f37[_0x51de03(0x1ce)]&&(_0xa7eff2['serverMaxWindowBits']===!0x1||typeof _0xa7eff2[_0x51de03(0x29d)]==_0x51de03(0x125)&&_0xa7eff2[_0x51de03(0x29d)]>_0x183f37[_0x51de03(0x1ce)])||typeof _0xa7eff2['clientMaxWindowBits']=='number'&&!_0x183f37[_0x51de03(0x263)]));if(!_0x4b7bae)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0xa7eff2[_0x51de03(0x227)]&&(_0x4b7bae[_0x51de03(0x289)]=!0x0),_0xa7eff2[_0x51de03(0x190)]&&(_0x4b7bae[_0x51de03(0xe9)]=!0x0),typeof _0xa7eff2[_0x51de03(0x29d)]==_0x51de03(0x125)&&(_0x4b7bae[_0x51de03(0x1ce)]=_0xa7eff2['serverMaxWindowBits']),typeof _0xa7eff2['clientMaxWindowBits']==_0x51de03(0x125)?_0x4b7bae[_0x51de03(0x263)]=_0xa7eff2[_0x51de03(0x161)]:(_0x4b7bae[_0x51de03(0x263)]===!0x0||_0xa7eff2[_0x51de03(0x161)]===!0x1)&&delete _0x4b7bae[_0x51de03(0x263)],_0x4b7bae;}[_0x1bc691(0x247)](_0x3bbf92){const _0x1bb2f2=_0x1bc691,_0x1b41a3=_0x3bbf92[0x0];if(this[_0x1bb2f2(0x137)][_0x1bb2f2(0x190)]===!0x1&&_0x1b41a3['client_no_context_takeover'])throw new Error(_0x1bb2f2(0x26a));if(!_0x1b41a3[_0x1bb2f2(0x263)])typeof this[_0x1bb2f2(0x137)][_0x1bb2f2(0x161)]==_0x1bb2f2(0x125)&&(_0x1b41a3[_0x1bb2f2(0x263)]=this[_0x1bb2f2(0x137)][_0x1bb2f2(0x161)]);else{if(this[_0x1bb2f2(0x137)]['clientMaxWindowBits']===!0x1||typeof this[_0x1bb2f2(0x137)][_0x1bb2f2(0x161)]==_0x1bb2f2(0x125)&&_0x1b41a3[_0x1bb2f2(0x263)]>this[_0x1bb2f2(0x137)]['clientMaxWindowBits'])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x1b41a3;}[_0x1bc691(0x1d9)](_0x27b0d8){return _0x27b0d8['forEach'](_0x27f225=>{const _0x1a7957=_0xce54;Object[_0x1a7957(0x185)](_0x27f225)[_0x1a7957(0x223)](_0x465542=>{const _0x10142f=_0x1a7957;let _0x55a5eb=_0x27f225[_0x465542];if(_0x55a5eb[_0x10142f(0x2a6)]>0x1)throw new Error(_0x10142f(0x149)+_0x465542+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x55a5eb=_0x55a5eb[0x0],_0x465542===_0x10142f(0x263)){if(_0x55a5eb!==!0x0){const _0x189874=+_0x55a5eb;if(!Number[_0x10142f(0x277)](_0x189874)||_0x189874<0x8||_0x189874>0xf)throw new TypeError(_0x10142f(0x156)+_0x465542+_0x10142f(0x2aa)+_0x55a5eb);_0x55a5eb=_0x189874;}else{if(!this[_0x10142f(0x280)])throw new TypeError(_0x10142f(0x156)+_0x465542+_0x10142f(0x2aa)+_0x55a5eb);}}else{if(_0x465542==='server_max_window_bits'){const _0x2c3e6e=+_0x55a5eb;if(!Number[_0x10142f(0x277)](_0x2c3e6e)||_0x2c3e6e<0x8||_0x2c3e6e>0xf)throw new TypeError(_0x10142f(0x156)+_0x465542+_0x10142f(0x2aa)+_0x55a5eb);_0x55a5eb=_0x2c3e6e;}else{if(_0x465542===_0x10142f(0xe9)||_0x465542===_0x10142f(0x289)){if(_0x55a5eb!==!0x0)throw new TypeError(_0x10142f(0x156)+_0x465542+_0x10142f(0x2aa)+_0x55a5eb);}else throw new Error(_0x10142f(0x12d)+_0x465542+'\x22');}}_0x27f225[_0x465542]=_0x55a5eb;});}),_0x27b0d8;}['decompress'](_0x20aa2a,_0x1e94a4,_0x5e4c59){_0x4b2a46['add'](_0x177d60=>{this['_decompress'](_0x20aa2a,_0x1e94a4,(_0x3c031c,_0x472230)=>{_0x177d60(),_0x5e4c59(_0x3c031c,_0x472230);});});}[_0x1bc691(0x126)](_0x3a7d8e,_0x3d9267,_0x21b180){const _0x2f8487=_0x1bc691;_0x4b2a46[_0x2f8487(0x295)](_0x5f3851=>{const _0x4eff55=_0x2f8487;this[_0x4eff55(0x264)](_0x3a7d8e,_0x3d9267,(_0x11a6f5,_0xeeb65b)=>{_0x5f3851(),_0x21b180(_0x11a6f5,_0xeeb65b);});});}[_0x1bc691(0x18d)](_0x32980d,_0xb3476f,_0x37a917){const _0x437609=_0x1bc691,_0x23fa55=this[_0x437609(0x280)]?_0x437609(0x1db):_0x437609(0x11d);if(!this[_0x437609(0x183)]){const _0x1e7d2f=_0x23fa55+_0x437609(0x146),_0x2e149b=typeof this['params'][_0x1e7d2f]!=_0x437609(0x125)?_0x18d29e['Z_DEFAULT_WINDOWBITS']:this[_0x437609(0x186)][_0x1e7d2f];this['_inflate']=_0x18d29e[_0x437609(0x29e)]({...this[_0x437609(0x137)]['zlibInflateOptions'],'windowBits':_0x2e149b}),this[_0x437609(0x183)][_0x3d71a7]=this,this[_0x437609(0x183)][_0x3caf7a]=0x0,this['_inflate'][_0x496253]=[],this[_0x437609(0x183)]['on'](_0x437609(0x1d0),_0x5e690c),this['_inflate']['on']('data',_0x4b2f4a);}this['_inflate'][_0x35dfc3]=_0x37a917,this[_0x437609(0x183)][_0x437609(0x1e6)](_0x32980d),_0xb3476f&&this[_0x437609(0x183)][_0x437609(0x1e6)](_0x59f784),this[_0x437609(0x183)][_0x437609(0x245)](()=>{const _0x208a38=_0x437609,_0x340cff=this[_0x208a38(0x183)][_0x2bd826];if(_0x340cff){this[_0x208a38(0x183)][_0x208a38(0x28c)](),this[_0x208a38(0x183)]=null,_0x37a917(_0x340cff);return;}const _0x550380=_0x2e90bd[_0x208a38(0x24e)](this[_0x208a38(0x183)][_0x496253],this[_0x208a38(0x183)][_0x3caf7a]);this[_0x208a38(0x183)][_0x208a38(0x113)]['endEmitted']?(this[_0x208a38(0x183)][_0x208a38(0x28c)](),this[_0x208a38(0x183)]=null):(this[_0x208a38(0x183)][_0x3caf7a]=0x0,this[_0x208a38(0x183)][_0x496253]=[],_0xb3476f&&this[_0x208a38(0x186)][_0x23fa55+_0x208a38(0x297)]&&this[_0x208a38(0x183)][_0x208a38(0x1b3)]()),_0x37a917(null,_0x550380);});}[_0x1bc691(0x264)](_0x54d8df,_0x34c4a9,_0x3d4dba){const _0x4ec6fc=_0x1bc691,_0x2d1446=this[_0x4ec6fc(0x280)]?_0x4ec6fc(0x11d):_0x4ec6fc(0x1db);if(!this[_0x4ec6fc(0x169)]){const _0x54b027=_0x2d1446+'_max_window_bits',_0x31166d=typeof this[_0x4ec6fc(0x186)][_0x54b027]!='number'?_0x18d29e[_0x4ec6fc(0x23b)]:this[_0x4ec6fc(0x186)][_0x54b027];this['_deflate']=_0x18d29e['createDeflateRaw']({...this[_0x4ec6fc(0x137)][_0x4ec6fc(0x1a4)],'windowBits':_0x31166d}),this[_0x4ec6fc(0x169)][_0x3caf7a]=0x0,this[_0x4ec6fc(0x169)][_0x496253]=[],this[_0x4ec6fc(0x169)]['on']('data',_0x5deb91);}this[_0x4ec6fc(0x169)][_0x35dfc3]=_0x3d4dba,this['_deflate']['write'](_0x54d8df),this[_0x4ec6fc(0x169)][_0x4ec6fc(0x245)](_0x18d29e[_0x4ec6fc(0x27b)],()=>{const _0x1812ef=_0x4ec6fc;if(!this['_deflate'])return;let _0x1885f2=_0x2e90bd[_0x1812ef(0x24e)](this[_0x1812ef(0x169)][_0x496253],this[_0x1812ef(0x169)][_0x3caf7a]);_0x34c4a9&&(_0x1885f2=new _0x8d4ea4(_0x1885f2[_0x1812ef(0x259)],_0x1885f2[_0x1812ef(0x1a0)],_0x1885f2['length']-0x4)),this[_0x1812ef(0x169)][_0x35dfc3]=null,this[_0x1812ef(0x169)][_0x3caf7a]=0x0,this[_0x1812ef(0x169)][_0x496253]=[],_0x34c4a9&&this['params'][_0x2d1446+_0x1812ef(0x297)]&&this['_deflate'][_0x1812ef(0x1b3)](),_0x3d4dba(null,_0x1885f2);});}}ve=_0x212765;function _0x5deb91(_0x400cd3){const _0x1516ca=_0x1bc691;this[_0x496253][_0x1516ca(0x100)](_0x400cd3),this[_0x3caf7a]+=_0x400cd3[_0x1516ca(0x2a6)];}function _0x4b2f4a(_0x388fe6){const _0x4f1ceb=_0x1bc691;if(this[_0x3caf7a]+=_0x388fe6[_0x4f1ceb(0x2a6)],this[_0x3d71a7][_0x4f1ceb(0x1a6)]<0x1||this[_0x3caf7a]<=this[_0x3d71a7][_0x4f1ceb(0x1a6)]){this[_0x496253][_0x4f1ceb(0x100)](_0x388fe6);return;}this[_0x2bd826]=new RangeError(_0x4f1ceb(0x29a)),this[_0x2bd826]['code']=_0x4f1ceb(0x16f),this[_0x2bd826][_0x567850]=0x3f1,this[_0x4f1ceb(0x134)](_0x4f1ceb(0x130),_0x4b2f4a),this[_0x4f1ceb(0x1b3)]();}function _0x5e690c(_0x5bffb4){const _0x8aa755=_0x1bc691;if(this[_0x3d71a7][_0x8aa755(0x183)]=null,this[_0x2bd826]){this[_0x35dfc3](this[_0x2bd826]);return;}_0x5bffb4[_0x567850]=0x3ef,this[_0x35dfc3](_0x5bffb4);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object['defineProperty']({'__proto__':null,'default':Dt},Symbol[_0x2201aa(0x12e)],{'value':_0x2201aa(0x1b8)})),Bt=at(Rt);var Ye;function ae(){const _0x245791=_0x2201aa;if(Ye)return ie['exports'];Ye=0x1;const {isUtf8:_0x1db246}=wt,{hasBlob:_0x3e327b}=H(),_0x51d722=[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 _0x1abc2b(_0x5b2a53){return _0x5b2a53>=0x3e8&&_0x5b2a53<=0x3f6&&_0x5b2a53!==0x3ec&&_0x5b2a53!==0x3ed&&_0x5b2a53!==0x3ee||_0x5b2a53>=0xbb8&&_0x5b2a53<=0x1387;}function _0x167b47(_0x22e22f){const _0x5a1589=_0x22e22f['length'];let _0x24da47=0x0;for(;_0x24da47<_0x5a1589;)if((_0x22e22f[_0x24da47]&0x80)===0x0)_0x24da47++;else{if((_0x22e22f[_0x24da47]&0xe0)===0xc0){if(_0x24da47+0x1===_0x5a1589||(_0x22e22f[_0x24da47+0x1]&0xc0)!==0x80||(_0x22e22f[_0x24da47]&0xfe)===0xc0)return!0x1;_0x24da47+=0x2;}else{if((_0x22e22f[_0x24da47]&0xf0)===0xe0){if(_0x24da47+0x2>=_0x5a1589||(_0x22e22f[_0x24da47+0x1]&0xc0)!==0x80||(_0x22e22f[_0x24da47+0x2]&0xc0)!==0x80||_0x22e22f[_0x24da47]===0xe0&&(_0x22e22f[_0x24da47+0x1]&0xe0)===0x80||_0x22e22f[_0x24da47]===0xed&&(_0x22e22f[_0x24da47+0x1]&0xe0)===0xa0)return!0x1;_0x24da47+=0x3;}else{if((_0x22e22f[_0x24da47]&0xf8)===0xf0){if(_0x24da47+0x3>=_0x5a1589||(_0x22e22f[_0x24da47+0x1]&0xc0)!==0x80||(_0x22e22f[_0x24da47+0x2]&0xc0)!==0x80||(_0x22e22f[_0x24da47+0x3]&0xc0)!==0x80||_0x22e22f[_0x24da47]===0xf0&&(_0x22e22f[_0x24da47+0x1]&0xf0)===0x80||_0x22e22f[_0x24da47]===0xf4&&_0x22e22f[_0x24da47+0x1]>0x8f||_0x22e22f[_0x24da47]>0xf4)return!0x1;_0x24da47+=0x4;}else return!0x1;}}}return!0x0;}function _0x5a2b33(_0xab7c96){const _0x24772f=_0xce54;return _0x3e327b&&typeof _0xab7c96==_0x24772f(0x212)&&typeof _0xab7c96[_0x24772f(0xf8)]==_0x24772f(0x29f)&&typeof _0xab7c96[_0x24772f(0x1a1)]==_0x24772f(0x25f)&&typeof _0xab7c96[_0x24772f(0x284)]==_0x24772f(0x29f)&&(_0xab7c96[Symbol[_0x24772f(0x12e)]]==='Blob'||_0xab7c96[Symbol[_0x24772f(0x12e)]]===_0x24772f(0x19c));}if(ie[_0x245791(0x1e5)]={'isBlob':_0x5a2b33,'isValidStatusCode':_0x1abc2b,'isValidUTF8':_0x167b47,'tokenChars':_0x51d722},_0x1db246)ie['exports']['isValidUTF8']=function(_0x5dc8a2){const _0x2b2127=_0x245791;return _0x5dc8a2[_0x2b2127(0x2a6)]<0x18?_0x167b47(_0x5dc8a2):_0x1db246(_0x5dc8a2);};else{if(!process[_0x245791(0x1d3)]['WS_NO_UTF_8_VALIDATE'])try{const _0x44c67f=Bt;ie['exports'][_0x245791(0x26e)]=function(_0x30cad6){const _0x348e76=_0x245791;return _0x30cad6[_0x348e76(0x2a6)]<0x20?_0x167b47(_0x30cad6):_0x44c67f(_0x30cad6);};}catch{}}return ie['exports'];}var Se,Ke;function lt(){const _0x49ed48=_0x2201aa;if(Ke)return Se;Ke=0x1;const {Writable:_0x54b4fc}=oe,_0x51377b=he(),{BINARY_TYPES:_0x2deadf,EMPTY_BUFFER:_0x13d257,kStatusCode:_0x9e8702,kWebSocket:_0x4b5e32}=H(),{concat:_0x3f9f3f,toArrayBuffer:_0x4d2ce5,unmask:_0x4e3bbe}=ce(),{isValidStatusCode:_0x5a247b,isValidUTF8:_0x12fde6}=ae(),_0xc3970e=Buffer[Symbol[_0x49ed48(0x27e)]],_0x149b22=0x0,_0x52b08c=0x1,_0x3132f8=0x2,_0x1bfdf5=0x3,_0xbaf34b=0x4,_0x5e5c50=0x5,_0x269c69=0x6;class _0x479cf0 extends _0x54b4fc{constructor(_0x351193={}){const _0x1475eb=_0x49ed48;super(),this[_0x1475eb(0x157)]=_0x351193['allowSynchronousEvents']!==void 0x0?_0x351193[_0x1475eb(0x17c)]:!0x0,this[_0x1475eb(0xee)]=_0x351193[_0x1475eb(0x1cf)]||_0x2deadf[0x0],this[_0x1475eb(0x21d)]=_0x351193[_0x1475eb(0xef)]||{},this[_0x1475eb(0x280)]=!!_0x351193[_0x1475eb(0x268)],this[_0x1475eb(0x1a6)]=_0x351193[_0x1475eb(0x296)]|0x0,this[_0x1475eb(0x195)]=!!_0x351193[_0x1475eb(0x102)],this[_0x4b5e32]=void 0x0,this[_0x1475eb(0x278)]=0x0,this[_0x1475eb(0x12c)]=[],this[_0x1475eb(0x211)]=!0x1,this['_payloadLength']=0x0,this[_0x1475eb(0x258)]=void 0x0,this[_0x1475eb(0x1ba)]=0x0,this[_0x1475eb(0x220)]=!0x1,this['_fin']=!0x1,this[_0x1475eb(0x1f1)]=0x0,this[_0x1475eb(0x175)]=0x0,this[_0x1475eb(0x154)]=0x0,this[_0x1475eb(0x1f4)]=[],this[_0x1475eb(0x214)]=!0x1,this[_0x1475eb(0x24a)]=!0x1,this['_state']=_0x149b22;}['_write'](_0x36a54a,_0x51a987,_0x3b3a64){const _0x2ae9e4=_0x49ed48;if(this['_opcode']===0x8&&this[_0x2ae9e4(0x275)]==_0x149b22)return _0x3b3a64();this['_bufferedBytes']+=_0x36a54a['length'],this[_0x2ae9e4(0x12c)]['push'](_0x36a54a),this[_0x2ae9e4(0x1cd)](_0x3b3a64);}[_0x49ed48(0x24d)](_0x21c18f){const _0x354ad7=_0x49ed48;if(this[_0x354ad7(0x278)]-=_0x21c18f,_0x21c18f===this['_buffers'][0x0]['length'])return this[_0x354ad7(0x12c)][_0x354ad7(0x1af)]();if(_0x21c18f<this['_buffers'][0x0][_0x354ad7(0x2a6)]){const _0x5129f8=this['_buffers'][0x0];return this['_buffers'][0x0]=new _0xc3970e(_0x5129f8[_0x354ad7(0x259)],_0x5129f8['byteOffset']+_0x21c18f,_0x5129f8[_0x354ad7(0x2a6)]-_0x21c18f),new _0xc3970e(_0x5129f8['buffer'],_0x5129f8['byteOffset'],_0x21c18f);}const _0x25ba44=Buffer[_0x354ad7(0x174)](_0x21c18f);do{const _0x19c755=this['_buffers'][0x0],_0x377264=_0x25ba44[_0x354ad7(0x2a6)]-_0x21c18f;_0x21c18f>=_0x19c755['length']?_0x25ba44['set'](this[_0x354ad7(0x12c)]['shift'](),_0x377264):(_0x25ba44[_0x354ad7(0x181)](new Uint8Array(_0x19c755[_0x354ad7(0x259)],_0x19c755[_0x354ad7(0x1a0)],_0x21c18f),_0x377264),this[_0x354ad7(0x12c)][0x0]=new _0xc3970e(_0x19c755[_0x354ad7(0x259)],_0x19c755[_0x354ad7(0x1a0)]+_0x21c18f,_0x19c755['length']-_0x21c18f)),_0x21c18f-=_0x19c755[_0x354ad7(0x2a6)];}while(_0x21c18f>0x0);return _0x25ba44;}[_0x49ed48(0x1cd)](_0xfc7799){const _0x22b32d=_0x49ed48;this['_loop']=!0x0;do switch(this[_0x22b32d(0x275)]){case _0x149b22:this[_0x22b32d(0x1ca)](_0xfc7799);break;case _0x52b08c:this[_0x22b32d(0xf6)](_0xfc7799);break;case _0x3132f8:this[_0x22b32d(0x162)](_0xfc7799);break;case _0x1bfdf5:this[_0x22b32d(0x13d)]();break;case _0xbaf34b:this[_0x22b32d(0x246)](_0xfc7799);break;case _0x5e5c50:case _0x269c69:this[_0x22b32d(0x24a)]=!0x1;return;}while(this['_loop']);this[_0x22b32d(0x214)]||_0xfc7799();}[_0x49ed48(0x1ca)](_0x4f4e3b){const _0x4e9adf=_0x49ed48;if(this['_bufferedBytes']<0x2){this[_0x4e9adf(0x24a)]=!0x1;return;}const _0x265a16=this[_0x4e9adf(0x24d)](0x2);if((_0x265a16[0x0]&0x30)!==0x0){const _0x5ab11b=this['createError'](RangeError,_0x4e9adf(0x254),!0x0,0x3ea,_0x4e9adf(0x17f));_0x4f4e3b(_0x5ab11b);return;}const _0x11e982=(_0x265a16[0x0]&0x40)===0x40;if(_0x11e982&&!this['_extensions'][_0x51377b[_0x4e9adf(0x143)]]){const _0x17794e=this[_0x4e9adf(0x213)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x4e9adf(0x1bd));_0x4f4e3b(_0x17794e);return;}if(this[_0x4e9adf(0x23e)]=(_0x265a16[0x0]&0x80)===0x80,this[_0x4e9adf(0x1f1)]=_0x265a16[0x0]&0xf,this['_payloadLength']=_0x265a16[0x1]&0x7f,this['_opcode']===0x0){if(_0x11e982){const _0x103b6b=this[_0x4e9adf(0x213)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x4e9adf(0x1bd));_0x4f4e3b(_0x103b6b);return;}if(!this['_fragmented']){const _0x3a2452=this['createError'](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x4e9adf(0x20d));_0x4f4e3b(_0x3a2452);return;}this[_0x4e9adf(0x1f1)]=this['_fragmented'];}else{if(this[_0x4e9adf(0x1f1)]===0x1||this[_0x4e9adf(0x1f1)]===0x2){if(this['_fragmented']){const _0x1efc00=this[_0x4e9adf(0x213)](RangeError,_0x4e9adf(0x299)+this[_0x4e9adf(0x1f1)],!0x0,0x3ea,_0x4e9adf(0x20d));_0x4f4e3b(_0x1efc00);return;}this['_compressed']=_0x11e982;}else{if(this[_0x4e9adf(0x1f1)]>0x7&&this['_opcode']<0xb){if(!this[_0x4e9adf(0x23e)]){const _0x4dcbd7=this['createError'](RangeError,_0x4e9adf(0x202),!0x0,0x3ea,_0x4e9adf(0x2a1));_0x4f4e3b(_0x4dcbd7);return;}if(_0x11e982){const _0x2e3226=this[_0x4e9adf(0x213)](RangeError,_0x4e9adf(0x15e),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x4f4e3b(_0x2e3226);return;}if(this[_0x4e9adf(0x15a)]>0x7d||this[_0x4e9adf(0x1f1)]===0x8&&this[_0x4e9adf(0x15a)]===0x1){const _0x33d259=this[_0x4e9adf(0x213)](RangeError,_0x4e9adf(0x225)+this[_0x4e9adf(0x15a)],!0x0,0x3ea,_0x4e9adf(0x232));_0x4f4e3b(_0x33d259);return;}}else{const _0x4ea92f=this[_0x4e9adf(0x213)](RangeError,_0x4e9adf(0x299)+this['_opcode'],!0x0,0x3ea,_0x4e9adf(0x20d));_0x4f4e3b(_0x4ea92f);return;}}}if(!this['_fin']&&!this['_fragmented']&&(this[_0x4e9adf(0x1ba)]=this[_0x4e9adf(0x1f1)]),this[_0x4e9adf(0x220)]=(_0x265a16[0x1]&0x80)===0x80,this[_0x4e9adf(0x280)]){if(!this[_0x4e9adf(0x220)]){const _0x227dca=this[_0x4e9adf(0x213)](RangeError,_0x4e9adf(0x110),!0x0,0x3ea,_0x4e9adf(0x12b));_0x4f4e3b(_0x227dca);return;}}else{if(this['_masked']){const _0x4595e3=this['createError'](RangeError,_0x4e9adf(0x123),!0x0,0x3ea,_0x4e9adf(0x119));_0x4f4e3b(_0x4595e3);return;}}this[_0x4e9adf(0x15a)]===0x7e?this[_0x4e9adf(0x275)]=_0x52b08c:this[_0x4e9adf(0x15a)]===0x7f?this[_0x4e9adf(0x275)]=_0x3132f8:this['haveLength'](_0x4f4e3b);}[_0x49ed48(0xf6)](_0x4cef1d){const _0x5bd766=_0x49ed48;if(this[_0x5bd766(0x278)]<0x2){this['_loop']=!0x1;return;}this[_0x5bd766(0x15a)]=this[_0x5bd766(0x24d)](0x2)['readUInt16BE'](0x0),this['haveLength'](_0x4cef1d);}[_0x49ed48(0x162)](_0x315486){const _0x2d17b6=_0x49ed48;if(this['_bufferedBytes']<0x8){this[_0x2d17b6(0x24a)]=!0x1;return;}const _0x34a5d7=this[_0x2d17b6(0x24d)](0x8),_0x48dc8e=_0x34a5d7[_0x2d17b6(0x1a2)](0x0);if(_0x48dc8e>Math[_0x2d17b6(0xeb)](0x2,0x15)-0x1){const _0x5df176=this['createError'](RangeError,_0x2d17b6(0x298),!0x1,0x3f1,_0x2d17b6(0x25a));_0x315486(_0x5df176);return;}this[_0x2d17b6(0x15a)]=_0x48dc8e*Math[_0x2d17b6(0xeb)](0x2,0x20)+_0x34a5d7[_0x2d17b6(0x1a2)](0x4),this['haveLength'](_0x315486);}[_0x49ed48(0x1f0)](_0x667e7b){const _0x2ad85d=_0x49ed48;if(this[_0x2ad85d(0x15a)]&&this[_0x2ad85d(0x1f1)]<0x8&&(this[_0x2ad85d(0x175)]+=this[_0x2ad85d(0x15a)],this['_totalPayloadLength']>this[_0x2ad85d(0x1a6)]&&this[_0x2ad85d(0x1a6)]>0x0)){const _0x2bc5bb=this[_0x2ad85d(0x213)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x2ad85d(0x16f));_0x667e7b(_0x2bc5bb);return;}this['_masked']?this['_state']=_0x1bfdf5:this[_0x2ad85d(0x275)]=_0xbaf34b;}[_0x49ed48(0x13d)](){const _0x49b61c=_0x49ed48;if(this[_0x49b61c(0x278)]<0x4){this[_0x49b61c(0x24a)]=!0x1;return;}this['_mask']=this[_0x49b61c(0x24d)](0x4),this['_state']=_0xbaf34b;}['getData'](_0x55dbdf){const _0xdb2055=_0x49ed48;let _0x289e1f=_0x13d257;if(this['_payloadLength']){if(this[_0xdb2055(0x278)]<this['_payloadLength']){this[_0xdb2055(0x24a)]=!0x1;return;}_0x289e1f=this[_0xdb2055(0x24d)](this[_0xdb2055(0x15a)]),this[_0xdb2055(0x220)]&&(this[_0xdb2055(0x258)][0x0]|this[_0xdb2055(0x258)][0x1]|this[_0xdb2055(0x258)][0x2]|this['_mask'][0x3])!==0x0&&_0x4e3bbe(_0x289e1f,this[_0xdb2055(0x258)]);}if(this['_opcode']>0x7){this[_0xdb2055(0x25b)](_0x289e1f,_0x55dbdf);return;}if(this[_0xdb2055(0x211)]){this[_0xdb2055(0x275)]=_0x5e5c50,this[_0xdb2055(0x260)](_0x289e1f,_0x55dbdf);return;}_0x289e1f[_0xdb2055(0x2a6)]&&(this['_messageLength']=this[_0xdb2055(0x175)],this[_0xdb2055(0x1f4)][_0xdb2055(0x100)](_0x289e1f)),this['dataMessage'](_0x55dbdf);}[_0x49ed48(0x260)](_0x216fb2,_0x154102){const _0x770e41=_0x49ed48;this['_extensions'][_0x51377b[_0x770e41(0x143)]][_0x770e41(0x260)](_0x216fb2,this[_0x770e41(0x23e)],(_0x1c823c,_0x5fcac5)=>{const _0x4e91e7=_0x770e41;if(_0x1c823c)return _0x154102(_0x1c823c);if(_0x5fcac5[_0x4e91e7(0x2a6)]){if(this['_messageLength']+=_0x5fcac5[_0x4e91e7(0x2a6)],this[_0x4e91e7(0x154)]>this['_maxPayload']&&this['_maxPayload']>0x0){const _0x26c47d=this[_0x4e91e7(0x213)](RangeError,_0x4e91e7(0x29a),!0x1,0x3f1,_0x4e91e7(0x16f));_0x154102(_0x26c47d);return;}this[_0x4e91e7(0x1f4)]['push'](_0x5fcac5);}this[_0x4e91e7(0x285)](_0x154102),this[_0x4e91e7(0x275)]===_0x149b22&&this['startLoop'](_0x154102);});}[_0x49ed48(0x285)](_0x1f68a3){const _0x5cc5bb=_0x49ed48;if(!this[_0x5cc5bb(0x23e)]){this['_state']=_0x149b22;return;}const _0x45787b=this['_messageLength'],_0x3132f3=this[_0x5cc5bb(0x1f4)];if(this[_0x5cc5bb(0x175)]=0x0,this[_0x5cc5bb(0x154)]=0x0,this['_fragmented']=0x0,this[_0x5cc5bb(0x1f4)]=[],this[_0x5cc5bb(0x1f1)]===0x2){let _0x399f01;this[_0x5cc5bb(0xee)]===_0x5cc5bb(0x127)?_0x399f01=_0x3f9f3f(_0x3132f3,_0x45787b):this['_binaryType']===_0x5cc5bb(0x207)?_0x399f01=_0x4d2ce5(_0x3f9f3f(_0x3132f3,_0x45787b)):this[_0x5cc5bb(0xee)]===_0x5cc5bb(0x1b7)?_0x399f01=new Blob(_0x3132f3):_0x399f01=_0x3132f3,this[_0x5cc5bb(0x157)]?(this[_0x5cc5bb(0x166)](_0x5cc5bb(0x270),_0x399f01,!0x0),this[_0x5cc5bb(0x275)]=_0x149b22):(this[_0x5cc5bb(0x275)]=_0x269c69,setImmediate(()=>{const _0x1e9b03=_0x5cc5bb;this[_0x1e9b03(0x166)](_0x1e9b03(0x270),_0x399f01,!0x0),this['_state']=_0x149b22,this[_0x1e9b03(0x1cd)](_0x1f68a3);}));}else{const _0x73d282=_0x3f9f3f(_0x3132f3,_0x45787b);if(!this['_skipUTF8Validation']&&!_0x12fde6(_0x73d282)){const _0x51303e=this[_0x5cc5bb(0x213)](Error,_0x5cc5bb(0x1e9),!0x0,0x3ef,_0x5cc5bb(0x20e));_0x1f68a3(_0x51303e);return;}this['_state']===_0x5e5c50||this[_0x5cc5bb(0x157)]?(this[_0x5cc5bb(0x166)]('message',_0x73d282,!0x1),this[_0x5cc5bb(0x275)]=_0x149b22):(this[_0x5cc5bb(0x275)]=_0x269c69,setImmediate(()=>{const _0x2d519a=_0x5cc5bb;this['emit']('message',_0x73d282,!0x1),this['_state']=_0x149b22,this[_0x2d519a(0x1cd)](_0x1f68a3);}));}}[_0x49ed48(0x25b)](_0x13dbf1,_0x3a4c83){const _0x24555b=_0x49ed48;if(this[_0x24555b(0x1f1)]===0x8){if(_0x13dbf1[_0x24555b(0x2a6)]===0x0)this['_loop']=!0x1,this[_0x24555b(0x166)](_0x24555b(0x12f),0x3ed,_0x13d257),this['end']();else{const _0x118c0b=_0x13dbf1[_0x24555b(0x256)](0x0);if(!_0x5a247b(_0x118c0b)){const _0x29ab90=this[_0x24555b(0x213)](RangeError,_0x24555b(0x267)+_0x118c0b,!0x0,0x3ea,_0x24555b(0x179));_0x3a4c83(_0x29ab90);return;}const _0x54c318=new _0xc3970e(_0x13dbf1[_0x24555b(0x259)],_0x13dbf1[_0x24555b(0x1a0)]+0x2,_0x13dbf1[_0x24555b(0x2a6)]-0x2);if(!this[_0x24555b(0x195)]&&!_0x12fde6(_0x54c318)){const _0x5555d1=this['createError'](Error,_0x24555b(0x1e9),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x3a4c83(_0x5555d1);return;}this['_loop']=!0x1,this['emit'](_0x24555b(0x12f),_0x118c0b,_0x54c318),this[_0x24555b(0x1bb)]();}this['_state']=_0x149b22;return;}this[_0x24555b(0x157)]?(this[_0x24555b(0x166)](this[_0x24555b(0x1f1)]===0x9?_0x24555b(0x237):_0x24555b(0x2b0),_0x13dbf1),this[_0x24555b(0x275)]=_0x149b22):(this[_0x24555b(0x275)]=_0x269c69,setImmediate(()=>{const _0x574464=_0x24555b;this[_0x574464(0x166)](this[_0x574464(0x1f1)]===0x9?_0x574464(0x237):'pong',_0x13dbf1),this[_0x574464(0x275)]=_0x149b22,this[_0x574464(0x1cd)](_0x3a4c83);}));}['createError'](_0x4fb1dc,_0x4e0748,_0x3bc970,_0x4814a6,_0x2eef1a){const _0x32ca32=_0x49ed48;this[_0x32ca32(0x24a)]=!0x1,this[_0x32ca32(0x214)]=!0x0;const _0x29fc2a=new _0x4fb1dc(_0x3bc970?_0x32ca32(0x20b)+_0x4e0748:_0x4e0748);return Error[_0x32ca32(0x2a2)](_0x29fc2a,this[_0x32ca32(0x213)]),_0x29fc2a['code']=_0x2eef1a,_0x29fc2a[_0x9e8702]=_0x4814a6,_0x29fc2a;}}return Se=_0x479cf0,Se;}var Ee,Xe;function ft(){const _0x7dee60=_0x2201aa;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x91c9c8}=oe,{randomFillSync:_0x4f93b7}=Le,_0x4dc1c5=he(),{EMPTY_BUFFER:_0x5525d1,kWebSocket:_0x21e97e,NOOP:_0x19a806}=H(),{isBlob:_0x540977,isValidStatusCode:_0x26be47}=ae(),{mask:_0x20f55f,toBuffer:_0x524f63}=ce(),_0x3706f3=Symbol('kByteLength'),_0x295075=Buffer['alloc'](0x4),_0x132c60=0x8*0x400;let _0x322714,_0x1b7661=_0x132c60;const _0x5ce105=0x0,_0x4538af=0x1,_0x248118=0x2;class _0x4ae71e{constructor(_0x4a416e,_0x471ba0,_0x1e2737){const _0x33f81d=_0xce54;this[_0x33f81d(0x21d)]=_0x471ba0||{},_0x1e2737&&(this['_generateMask']=_0x1e2737,this['_maskBuffer']=Buffer[_0x33f81d(0x19b)](0x4)),this[_0x33f81d(0x163)]=_0x4a416e,this[_0x33f81d(0x188)]=!0x0,this['_compress']=!0x1,this[_0x33f81d(0x278)]=0x0,this['_queue']=[],this[_0x33f81d(0x275)]=_0x5ce105,this[_0x33f81d(0x19e)]=_0x19a806,this[_0x21e97e]=void 0x0;}static[_0x7dee60(0xfc)](_0x461c83,_0x4d5386){const _0xb4cc50=_0x7dee60;let _0x3c4363,_0x445086=!0x1,_0x886853=0x2,_0x983bd1=!0x1;_0x4d5386[_0xb4cc50(0x19d)]&&(_0x3c4363=_0x4d5386[_0xb4cc50(0x1c1)]||_0x295075,_0x4d5386[_0xb4cc50(0x194)]?_0x4d5386[_0xb4cc50(0x194)](_0x3c4363):(_0x1b7661===_0x132c60&&(_0x322714===void 0x0&&(_0x322714=Buffer[_0xb4cc50(0x19b)](_0x132c60)),_0x4f93b7(_0x322714,0x0,_0x132c60),_0x1b7661=0x0),_0x3c4363[0x0]=_0x322714[_0x1b7661++],_0x3c4363[0x1]=_0x322714[_0x1b7661++],_0x3c4363[0x2]=_0x322714[_0x1b7661++],_0x3c4363[0x3]=_0x322714[_0x1b7661++]),_0x983bd1=(_0x3c4363[0x0]|_0x3c4363[0x1]|_0x3c4363[0x2]|_0x3c4363[0x3])===0x0,_0x886853=0x6);let _0x52ebab;typeof _0x461c83=='string'?(!_0x4d5386[_0xb4cc50(0x19d)]||_0x983bd1)&&_0x4d5386[_0x3706f3]!==void 0x0?_0x52ebab=_0x4d5386[_0x3706f3]:(_0x461c83=Buffer['from'](_0x461c83),_0x52ebab=_0x461c83[_0xb4cc50(0x2a6)]):(_0x52ebab=_0x461c83['length'],_0x445086=_0x4d5386[_0xb4cc50(0x19d)]&&_0x4d5386[_0xb4cc50(0x191)]&&!_0x983bd1);let _0x162e6b=_0x52ebab;_0x52ebab>=0x10000?(_0x886853+=0x8,_0x162e6b=0x7f):_0x52ebab>0x7d&&(_0x886853+=0x2,_0x162e6b=0x7e);const _0x292c3b=Buffer['allocUnsafe'](_0x445086?_0x52ebab+_0x886853:_0x886853);return _0x292c3b[0x0]=_0x4d5386['fin']?_0x4d5386['opcode']|0x80:_0x4d5386[_0xb4cc50(0x13b)],_0x4d5386[_0xb4cc50(0x22a)]&&(_0x292c3b[0x0]|=0x40),_0x292c3b[0x1]=_0x162e6b,_0x162e6b===0x7e?_0x292c3b[_0xb4cc50(0x271)](_0x52ebab,0x2):_0x162e6b===0x7f&&(_0x292c3b[0x2]=_0x292c3b[0x3]=0x0,_0x292c3b['writeUIntBE'](_0x52ebab,0x4,0x6)),_0x4d5386[_0xb4cc50(0x19d)]?(_0x292c3b[0x1]|=0x80,_0x292c3b[_0x886853-0x4]=_0x3c4363[0x0],_0x292c3b[_0x886853-0x3]=_0x3c4363[0x1],_0x292c3b[_0x886853-0x2]=_0x3c4363[0x2],_0x292c3b[_0x886853-0x1]=_0x3c4363[0x3],_0x983bd1?[_0x292c3b,_0x461c83]:_0x445086?(_0x20f55f(_0x461c83,_0x3c4363,_0x292c3b,_0x886853,_0x52ebab),[_0x292c3b]):(_0x20f55f(_0x461c83,_0x3c4363,_0x461c83,0x0,_0x52ebab),[_0x292c3b,_0x461c83])):[_0x292c3b,_0x461c83];}[_0x7dee60(0x28c)](_0x147a5c,_0x39eb5b,_0x105eae,_0x3192f5){const _0x3930de=_0x7dee60;let _0x37c848;if(_0x147a5c===void 0x0)_0x37c848=_0x5525d1;else{if(typeof _0x147a5c!=_0x3930de(0x125)||!_0x26be47(_0x147a5c))throw new TypeError(_0x3930de(0x25d));if(_0x39eb5b===void 0x0||!_0x39eb5b['length'])_0x37c848=Buffer[_0x3930de(0x174)](0x2),_0x37c848[_0x3930de(0x271)](_0x147a5c,0x0);else{const _0x1a9cc5=Buffer['byteLength'](_0x39eb5b);if(_0x1a9cc5>0x7b)throw new RangeError(_0x3930de(0x255));_0x37c848=Buffer[_0x3930de(0x174)](0x2+_0x1a9cc5),_0x37c848[_0x3930de(0x271)](_0x147a5c,0x0),typeof _0x39eb5b==_0x3930de(0x25f)?_0x37c848[_0x3930de(0x1e6)](_0x39eb5b,0x2):_0x37c848[_0x3930de(0x181)](_0x39eb5b,0x2);}}const _0xd66c6f={[_0x3706f3]:_0x37c848[_0x3930de(0x2a6)],'fin':!0x0,'generateMask':this[_0x3930de(0x112)],'mask':_0x105eae,'maskBuffer':this[_0x3930de(0x197)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x3930de(0x275)]!==_0x5ce105?this['enqueue']([this['dispatch'],_0x37c848,!0x1,_0xd66c6f,_0x3192f5]):this[_0x3930de(0x1b0)](_0x4ae71e[_0x3930de(0xfc)](_0x37c848,_0xd66c6f),_0x3192f5);}[_0x7dee60(0x237)](_0x2f2040,_0x94f130,_0x56eef7){const _0x2e1247=_0x7dee60;let _0x5e0561,_0x275391;if(typeof _0x2f2040==_0x2e1247(0x25f)?(_0x5e0561=Buffer[_0x2e1247(0x1c7)](_0x2f2040),_0x275391=!0x1):_0x540977(_0x2f2040)?(_0x5e0561=_0x2f2040[_0x2e1247(0x1e1)],_0x275391=!0x1):(_0x2f2040=_0x524f63(_0x2f2040),_0x5e0561=_0x2f2040[_0x2e1247(0x2a6)],_0x275391=_0x524f63[_0x2e1247(0x191)]),_0x5e0561>0x7d)throw new RangeError(_0x2e1247(0x13c));const _0x321c0a={[_0x3706f3]:_0x5e0561,'fin':!0x0,'generateMask':this[_0x2e1247(0x112)],'mask':_0x94f130,'maskBuffer':this[_0x2e1247(0x197)],'opcode':0x9,'readOnly':_0x275391,'rsv1':!0x1};_0x540977(_0x2f2040)?this[_0x2e1247(0x275)]!==_0x5ce105?this['enqueue']([this[_0x2e1247(0x14d)],_0x2f2040,!0x1,_0x321c0a,_0x56eef7]):this[_0x2e1247(0x14d)](_0x2f2040,!0x1,_0x321c0a,_0x56eef7):this[_0x2e1247(0x275)]!==_0x5ce105?this[_0x2e1247(0x23c)]([this[_0x2e1247(0x230)],_0x2f2040,!0x1,_0x321c0a,_0x56eef7]):this[_0x2e1247(0x1b0)](_0x4ae71e[_0x2e1247(0xfc)](_0x2f2040,_0x321c0a),_0x56eef7);}[_0x7dee60(0x2b0)](_0x5d086b,_0x23f4ba,_0x4e08f5){const _0x33102c=_0x7dee60;let _0x2074ed,_0x1dec6;if(typeof _0x5d086b==_0x33102c(0x25f)?(_0x2074ed=Buffer[_0x33102c(0x1c7)](_0x5d086b),_0x1dec6=!0x1):_0x540977(_0x5d086b)?(_0x2074ed=_0x5d086b[_0x33102c(0x1e1)],_0x1dec6=!0x1):(_0x5d086b=_0x524f63(_0x5d086b),_0x2074ed=_0x5d086b[_0x33102c(0x2a6)],_0x1dec6=_0x524f63[_0x33102c(0x191)]),_0x2074ed>0x7d)throw new RangeError(_0x33102c(0x13c));const _0x4ae97e={[_0x3706f3]:_0x2074ed,'fin':!0x0,'generateMask':this[_0x33102c(0x112)],'mask':_0x23f4ba,'maskBuffer':this[_0x33102c(0x197)],'opcode':0xa,'readOnly':_0x1dec6,'rsv1':!0x1};_0x540977(_0x5d086b)?this[_0x33102c(0x275)]!==_0x5ce105?this[_0x33102c(0x23c)]([this[_0x33102c(0x14d)],_0x5d086b,!0x1,_0x4ae97e,_0x4e08f5]):this[_0x33102c(0x14d)](_0x5d086b,!0x1,_0x4ae97e,_0x4e08f5):this[_0x33102c(0x275)]!==_0x5ce105?this[_0x33102c(0x23c)]([this[_0x33102c(0x230)],_0x5d086b,!0x1,_0x4ae97e,_0x4e08f5]):this[_0x33102c(0x1b0)](_0x4ae71e[_0x33102c(0xfc)](_0x5d086b,_0x4ae97e),_0x4e08f5);}[_0x7dee60(0x155)](_0x2582f8,_0x23fd23,_0x31ff5d){const _0x587682=_0x7dee60,_0x8d2dd7=this['_extensions'][_0x4dc1c5[_0x587682(0x143)]];let _0x50504d=_0x23fd23[_0x587682(0x1d6)]?0x2:0x1,_0x241cf0=_0x23fd23[_0x587682(0x126)],_0x52adfd,_0x3e6028;typeof _0x2582f8==_0x587682(0x25f)?(_0x52adfd=Buffer[_0x587682(0x1c7)](_0x2582f8),_0x3e6028=!0x1):_0x540977(_0x2582f8)?(_0x52adfd=_0x2582f8[_0x587682(0x1e1)],_0x3e6028=!0x1):(_0x2582f8=_0x524f63(_0x2582f8),_0x52adfd=_0x2582f8[_0x587682(0x2a6)],_0x3e6028=_0x524f63[_0x587682(0x191)]),this[_0x587682(0x188)]?(this['_firstFragment']=!0x1,_0x241cf0&&_0x8d2dd7&&_0x8d2dd7[_0x587682(0x186)][_0x8d2dd7[_0x587682(0x280)]?_0x587682(0x289):_0x587682(0xe9)]&&(_0x241cf0=_0x52adfd>=_0x8d2dd7[_0x587682(0x16a)]),this[_0x587682(0x264)]=_0x241cf0):(_0x241cf0=!0x1,_0x50504d=0x0),_0x23fd23[_0x587682(0x262)]&&(this[_0x587682(0x188)]=!0x0);const _0xc861fc={[_0x3706f3]:_0x52adfd,'fin':_0x23fd23['fin'],'generateMask':this['_generateMask'],'mask':_0x23fd23[_0x587682(0x19d)],'maskBuffer':this['_maskBuffer'],'opcode':_0x50504d,'readOnly':_0x3e6028,'rsv1':_0x241cf0};_0x540977(_0x2582f8)?this['_state']!==_0x5ce105?this['enqueue']([this['getBlobData'],_0x2582f8,this['_compress'],_0xc861fc,_0x31ff5d]):this['getBlobData'](_0x2582f8,this[_0x587682(0x264)],_0xc861fc,_0x31ff5d):this[_0x587682(0x275)]!==_0x5ce105?this[_0x587682(0x23c)]([this[_0x587682(0x230)],_0x2582f8,this[_0x587682(0x264)],_0xc861fc,_0x31ff5d]):this['dispatch'](_0x2582f8,this[_0x587682(0x264)],_0xc861fc,_0x31ff5d);}['getBlobData'](_0x642e6,_0x38e9f0,_0x221176,_0x176798){const _0x18908b=_0x7dee60;this[_0x18908b(0x278)]+=_0x221176[_0x3706f3],this[_0x18908b(0x275)]=_0x248118,_0x642e6[_0x18908b(0xf8)]()[_0x18908b(0xf0)](_0x57ca5e=>{const _0x424760=_0x18908b;if(this[_0x424760(0x163)][_0x424760(0xec)]){const _0x24fc5c=new Error(_0x424760(0x292));process['nextTick'](_0x25073c,this,_0x24fc5c,_0x176798);return;}this[_0x424760(0x278)]-=_0x221176[_0x3706f3];const _0x5990af=_0x524f63(_0x57ca5e);_0x38e9f0?this['dispatch'](_0x5990af,_0x38e9f0,_0x221176,_0x176798):(this[_0x424760(0x275)]=_0x5ce105,this[_0x424760(0x1b0)](_0x4ae71e[_0x424760(0xfc)](_0x5990af,_0x221176),_0x176798),this[_0x424760(0x11a)]());})[_0x18908b(0x1d5)](_0xebc26c=>{const _0x4403c5=_0x18908b;process[_0x4403c5(0x1c5)](_0x3f7eb7,this,_0xebc26c,_0x176798);});}[_0x7dee60(0x230)](_0x401bd2,_0x51bd1b,_0x1e8235,_0x4fdd8f){const _0x4bf761=_0x7dee60;if(!_0x51bd1b){this[_0x4bf761(0x1b0)](_0x4ae71e[_0x4bf761(0xfc)](_0x401bd2,_0x1e8235),_0x4fdd8f);return;}const _0x180540=this[_0x4bf761(0x21d)][_0x4dc1c5[_0x4bf761(0x143)]];this[_0x4bf761(0x278)]+=_0x1e8235[_0x3706f3],this[_0x4bf761(0x275)]=_0x4538af,_0x180540['compress'](_0x401bd2,_0x1e8235['fin'],(_0x165cdf,_0x50e228)=>{const _0x4742be=_0x4bf761;if(this[_0x4742be(0x163)][_0x4742be(0xec)]){const _0x4008ed=new Error(_0x4742be(0x1eb));_0x25073c(this,_0x4008ed,_0x4fdd8f);return;}this[_0x4742be(0x278)]-=_0x1e8235[_0x3706f3],this[_0x4742be(0x275)]=_0x5ce105,_0x1e8235[_0x4742be(0x191)]=!0x1,this['sendFrame'](_0x4ae71e[_0x4742be(0xfc)](_0x50e228,_0x1e8235),_0x4fdd8f),this[_0x4742be(0x11a)]();});}[_0x7dee60(0x11a)](){const _0x37dfa1=_0x7dee60;for(;this[_0x37dfa1(0x275)]===_0x5ce105&&this[_0x37dfa1(0x248)][_0x37dfa1(0x2a6)];){const _0x21f048=this[_0x37dfa1(0x248)][_0x37dfa1(0x1af)]();this['_bufferedBytes']-=_0x21f048[0x3][_0x3706f3],Reflect[_0x37dfa1(0x1ed)](_0x21f048[0x0],this,_0x21f048[_0x37dfa1(0x193)](0x1));}}[_0x7dee60(0x23c)](_0x4be08f){const _0x207f33=_0x7dee60;this[_0x207f33(0x278)]+=_0x4be08f[0x3][_0x3706f3],this[_0x207f33(0x248)]['push'](_0x4be08f);}[_0x7dee60(0x1b0)](_0x5b853e,_0x4b70f3){const _0x2c5dbc=_0x7dee60;_0x5b853e[_0x2c5dbc(0x2a6)]===0x2?(this[_0x2c5dbc(0x163)][_0x2c5dbc(0x1c6)](),this['_socket'][_0x2c5dbc(0x1e6)](_0x5b853e[0x0]),this[_0x2c5dbc(0x163)][_0x2c5dbc(0x1e6)](_0x5b853e[0x1],_0x4b70f3),this[_0x2c5dbc(0x163)][_0x2c5dbc(0x109)]()):this[_0x2c5dbc(0x163)][_0x2c5dbc(0x1e6)](_0x5b853e[0x0],_0x4b70f3);}}Ee=_0x4ae71e;function _0x25073c(_0x4d4b06,_0x2f226a,_0x420adc){const _0x551f76=_0x7dee60;typeof _0x420adc==_0x551f76(0x29f)&&_0x420adc(_0x2f226a);for(let _0x1e7a0c=0x0;_0x1e7a0c<_0x4d4b06['_queue'][_0x551f76(0x2a6)];_0x1e7a0c++){const _0x1e8783=_0x4d4b06['_queue'][_0x1e7a0c],_0x4b04af=_0x1e8783[_0x1e8783['length']-0x1];typeof _0x4b04af==_0x551f76(0x29f)&&_0x4b04af(_0x2f226a);}}function _0x3f7eb7(_0x5d2f6c,_0x29ae5f,_0x15f66d){_0x25073c(_0x5d2f6c,_0x29ae5f,_0x15f66d),_0x5d2f6c['onerror'](_0x29ae5f);}return Ee;}var xe,Ze;function It(){const _0x2b81ff=_0x2201aa;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x498e1e,kListener:_0xaea7c1}=H(),_0x4372f3=Symbol('kCode'),_0x54d77f=Symbol(_0x2b81ff(0x15d)),_0x55a49c=Symbol(_0x2b81ff(0x200)),_0x1bd133=Symbol(_0x2b81ff(0x104)),_0x1abbc3=Symbol(_0x2b81ff(0x150)),_0x5be624=Symbol('kTarget'),_0x5bb3d7=Symbol(_0x2b81ff(0x180)),_0x19cf44=Symbol(_0x2b81ff(0x24c));class _0x31ac06{constructor(_0x12b5d){this[_0x5be624]=null,this[_0x5bb3d7]=_0x12b5d;}get['target'](){return this[_0x5be624];}get['type'](){return this[_0x5bb3d7];}}Object[_0x2b81ff(0x15f)](_0x31ac06['prototype'],_0x2b81ff(0x26b),{'enumerable':!0x0}),Object[_0x2b81ff(0x15f)](_0x31ac06[_0x2b81ff(0x25e)],_0x2b81ff(0x1a1),{'enumerable':!0x0});class _0x1f79b9 extends _0x31ac06{constructor(_0x3f1b08,_0x33ab3d={}){const _0x2e9101=_0x2b81ff;super(_0x3f1b08),this[_0x4372f3]=_0x33ab3d['code']===void 0x0?0x0:_0x33ab3d[_0x2e9101(0x1e7)],this[_0x1abbc3]=_0x33ab3d[_0x2e9101(0x1e0)]===void 0x0?'':_0x33ab3d[_0x2e9101(0x1e0)],this[_0x19cf44]=_0x33ab3d[_0x2e9101(0x27f)]===void 0x0?!0x1:_0x33ab3d[_0x2e9101(0x27f)];}get[_0x2b81ff(0x1e7)](){return this[_0x4372f3];}get[_0x2b81ff(0x1e0)](){return this[_0x1abbc3];}get[_0x2b81ff(0x27f)](){return this[_0x19cf44];}}Object[_0x2b81ff(0x15f)](_0x1f79b9[_0x2b81ff(0x25e)],_0x2b81ff(0x1e7),{'enumerable':!0x0}),Object[_0x2b81ff(0x15f)](_0x1f79b9['prototype'],'reason',{'enumerable':!0x0}),Object[_0x2b81ff(0x15f)](_0x1f79b9[_0x2b81ff(0x25e)],_0x2b81ff(0x27f),{'enumerable':!0x0});class _0x535d76 extends _0x31ac06{constructor(_0x949642,_0x5c42e6={}){const _0x131d42=_0x2b81ff;super(_0x949642),this[_0x55a49c]=_0x5c42e6['error']===void 0x0?null:_0x5c42e6[_0x131d42(0x1d0)],this[_0x1bd133]=_0x5c42e6['message']===void 0x0?'':_0x5c42e6['message'];}get['error'](){return this[_0x55a49c];}get[_0x2b81ff(0x270)](){return this[_0x1bd133];}}Object['defineProperty'](_0x535d76['prototype'],_0x2b81ff(0x1d0),{'enumerable':!0x0}),Object[_0x2b81ff(0x15f)](_0x535d76[_0x2b81ff(0x25e)],_0x2b81ff(0x270),{'enumerable':!0x0});class _0x3113f6 extends _0x31ac06{constructor(_0x4ff12c,_0x16d525={}){const _0x477d41=_0x2b81ff;super(_0x4ff12c),this[_0x54d77f]=_0x16d525[_0x477d41(0x130)]===void 0x0?null:_0x16d525[_0x477d41(0x130)];}get[_0x2b81ff(0x130)](){return this[_0x54d77f];}}Object[_0x2b81ff(0x15f)](_0x3113f6['prototype'],_0x2b81ff(0x130),{'enumerable':!0x0}),xe={'CloseEvent':_0x1f79b9,'ErrorEvent':_0x535d76,'Event':_0x31ac06,'EventTarget':{'addEventListener'(_0x13a69a,_0x74cdaa,_0x582fdd={}){const _0x2a9d5c=_0x2b81ff;for(const _0x4edb2d of this['listeners'](_0x13a69a))if(!_0x582fdd[_0x498e1e]&&_0x4edb2d[_0xaea7c1]===_0x74cdaa&&!_0x4edb2d[_0x498e1e])return;let _0x168c05;if(_0x13a69a===_0x2a9d5c(0x270))_0x168c05=function(_0x15a056,_0x13cf8a){const _0x5359e3=_0x2a9d5c,_0x2e9983=new _0x3113f6('message',{'data':_0x13cf8a?_0x15a056:_0x15a056[_0x5359e3(0x144)]()});_0x2e9983[_0x5be624]=this,_0x352b3f(_0x74cdaa,this,_0x2e9983);};else{if(_0x13a69a===_0x2a9d5c(0x28c))_0x168c05=function(_0x31043,_0x3ffb63){const _0x31efe0=_0x2a9d5c,_0x234435=new _0x1f79b9(_0x31efe0(0x28c),{'code':_0x31043,'reason':_0x3ffb63['toString'](),'wasClean':this[_0x31efe0(0x28f)]&&this['_closeFrameSent']});_0x234435[_0x5be624]=this,_0x352b3f(_0x74cdaa,this,_0x234435);};else{if(_0x13a69a===_0x2a9d5c(0x1d0))_0x168c05=function(_0x4fe03c){const _0x2c88de=_0x2a9d5c,_0x498b1a=new _0x535d76(_0x2c88de(0x1d0),{'error':_0x4fe03c,'message':_0x4fe03c[_0x2c88de(0x270)]});_0x498b1a[_0x5be624]=this,_0x352b3f(_0x74cdaa,this,_0x498b1a);};else{if(_0x13a69a===_0x2a9d5c(0x16e))_0x168c05=function(){const _0x42c9e9=new _0x31ac06('open');_0x42c9e9[_0x5be624]=this,_0x352b3f(_0x74cdaa,this,_0x42c9e9);};else return;}}}_0x168c05[_0x498e1e]=!!_0x582fdd[_0x498e1e],_0x168c05[_0xaea7c1]=_0x74cdaa,_0x582fdd['once']?this[_0x2a9d5c(0x15b)](_0x13a69a,_0x168c05):this['on'](_0x13a69a,_0x168c05);},'removeEventListener'(_0x904040,_0x4d9911){const _0x203205=_0x2b81ff;for(const _0x31cc5f of this[_0x203205(0x2a0)](_0x904040))if(_0x31cc5f[_0xaea7c1]===_0x4d9911&&!_0x31cc5f[_0x498e1e]){this['removeListener'](_0x904040,_0x31cc5f);break;}}},'MessageEvent':_0x3113f6};function _0x352b3f(_0x3a3dae,_0x37e164,_0x3684f1){const _0xad1125=_0x2b81ff;typeof _0x3a3dae==_0xad1125(0x212)&&_0x3a3dae[_0xad1125(0x273)]?_0x3a3dae['handleEvent'][_0xad1125(0x124)](_0x3a3dae,_0x3684f1):_0x3a3dae[_0xad1125(0x124)](_0x37e164,_0x3684f1);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x5165be}=ae();function _0x138a70(_0x4d3627,_0x4d837e,_0x38f634){const _0x3288f6=_0xce54;_0x4d3627[_0x4d837e]===void 0x0?_0x4d3627[_0x4d837e]=[_0x38f634]:_0x4d3627[_0x4d837e][_0x3288f6(0x100)](_0x38f634);}function _0x34443e(_0x546cca){const _0x496c0c=_0xce54,_0x4421a2=Object[_0x496c0c(0x1fb)](null);let _0x1eabcc=Object[_0x496c0c(0x1fb)](null),_0x3ca50b=!0x1,_0x3c5b3c=!0x1,_0x41011e=!0x1,_0xc17c0c,_0x5e60f7,_0x438376=-0x1,_0x4ded0d=-0x1,_0x3bb334=-0x1,_0x301ac9=0x0;for(;_0x301ac9<_0x546cca[_0x496c0c(0x2a6)];_0x301ac9++)if(_0x4ded0d=_0x546cca['charCodeAt'](_0x301ac9),_0xc17c0c===void 0x0){if(_0x3bb334===-0x1&&_0x5165be[_0x4ded0d]===0x1)_0x438376===-0x1&&(_0x438376=_0x301ac9);else{if(_0x301ac9!==0x0&&(_0x4ded0d===0x20||_0x4ded0d===0x9))_0x3bb334===-0x1&&_0x438376!==-0x1&&(_0x3bb334=_0x301ac9);else{if(_0x4ded0d===0x3b||_0x4ded0d===0x2c){if(_0x438376===-0x1)throw new SyntaxError(_0x496c0c(0x135)+_0x301ac9);_0x3bb334===-0x1&&(_0x3bb334=_0x301ac9);const _0xa0bac5=_0x546cca[_0x496c0c(0x193)](_0x438376,_0x3bb334);_0x4ded0d===0x2c?(_0x138a70(_0x4421a2,_0xa0bac5,_0x1eabcc),_0x1eabcc=Object[_0x496c0c(0x1fb)](null)):_0xc17c0c=_0xa0bac5,_0x438376=_0x3bb334=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x301ac9);}}}else{if(_0x5e60f7===void 0x0){if(_0x3bb334===-0x1&&_0x5165be[_0x4ded0d]===0x1)_0x438376===-0x1&&(_0x438376=_0x301ac9);else{if(_0x4ded0d===0x20||_0x4ded0d===0x9)_0x3bb334===-0x1&&_0x438376!==-0x1&&(_0x3bb334=_0x301ac9);else{if(_0x4ded0d===0x3b||_0x4ded0d===0x2c){if(_0x438376===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x301ac9);_0x3bb334===-0x1&&(_0x3bb334=_0x301ac9),_0x138a70(_0x1eabcc,_0x546cca[_0x496c0c(0x193)](_0x438376,_0x3bb334),!0x0),_0x4ded0d===0x2c&&(_0x138a70(_0x4421a2,_0xc17c0c,_0x1eabcc),_0x1eabcc=Object[_0x496c0c(0x1fb)](null),_0xc17c0c=void 0x0),_0x438376=_0x3bb334=-0x1;}else{if(_0x4ded0d===0x3d&&_0x438376!==-0x1&&_0x3bb334===-0x1)_0x5e60f7=_0x546cca[_0x496c0c(0x193)](_0x438376,_0x301ac9),_0x438376=_0x3bb334=-0x1;else throw new SyntaxError(_0x496c0c(0x135)+_0x301ac9);}}}}else{if(_0x3c5b3c){if(_0x5165be[_0x4ded0d]!==0x1)throw new SyntaxError(_0x496c0c(0x135)+_0x301ac9);_0x438376===-0x1?_0x438376=_0x301ac9:_0x3ca50b||(_0x3ca50b=!0x0),_0x3c5b3c=!0x1;}else{if(_0x41011e){if(_0x5165be[_0x4ded0d]===0x1)_0x438376===-0x1&&(_0x438376=_0x301ac9);else{if(_0x4ded0d===0x22&&_0x438376!==-0x1)_0x41011e=!0x1,_0x3bb334=_0x301ac9;else{if(_0x4ded0d===0x5c)_0x3c5b3c=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x301ac9);}}}else{if(_0x4ded0d===0x22&&_0x546cca['charCodeAt'](_0x301ac9-0x1)===0x3d)_0x41011e=!0x0;else{if(_0x3bb334===-0x1&&_0x5165be[_0x4ded0d]===0x1)_0x438376===-0x1&&(_0x438376=_0x301ac9);else{if(_0x438376!==-0x1&&(_0x4ded0d===0x20||_0x4ded0d===0x9))_0x3bb334===-0x1&&(_0x3bb334=_0x301ac9);else{if(_0x4ded0d===0x3b||_0x4ded0d===0x2c){if(_0x438376===-0x1)throw new SyntaxError(_0x496c0c(0x135)+_0x301ac9);_0x3bb334===-0x1&&(_0x3bb334=_0x301ac9);let _0x1d26fd=_0x546cca[_0x496c0c(0x193)](_0x438376,_0x3bb334);_0x3ca50b&&(_0x1d26fd=_0x1d26fd[_0x496c0c(0x1ec)](/\\/g,''),_0x3ca50b=!0x1),_0x138a70(_0x1eabcc,_0x5e60f7,_0x1d26fd),_0x4ded0d===0x2c&&(_0x138a70(_0x4421a2,_0xc17c0c,_0x1eabcc),_0x1eabcc=Object['create'](null),_0xc17c0c=void 0x0),_0x5e60f7=void 0x0,_0x438376=_0x3bb334=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x301ac9);}}}}}}}if(_0x438376===-0x1||_0x41011e||_0x4ded0d===0x20||_0x4ded0d===0x9)throw new SyntaxError(_0x496c0c(0x203));_0x3bb334===-0x1&&(_0x3bb334=_0x301ac9);const _0xfaee11=_0x546cca[_0x496c0c(0x193)](_0x438376,_0x3bb334);return _0xc17c0c===void 0x0?_0x138a70(_0x4421a2,_0xfaee11,_0x1eabcc):(_0x5e60f7===void 0x0?_0x138a70(_0x1eabcc,_0xfaee11,!0x0):_0x3ca50b?_0x138a70(_0x1eabcc,_0x5e60f7,_0xfaee11[_0x496c0c(0x1ec)](/\\/g,'')):_0x138a70(_0x1eabcc,_0x5e60f7,_0xfaee11),_0x138a70(_0x4421a2,_0xc17c0c,_0x1eabcc)),_0x4421a2;}function _0x3b0ce1(_0x550b6f){const _0xc662ba=_0xce54;return Object[_0xc662ba(0x185)](_0x550b6f)[_0xc662ba(0x16b)](_0x2c4075=>{const _0x13dc67=_0xc662ba;let _0x3308d1=_0x550b6f[_0x2c4075];return Array['isArray'](_0x3308d1)||(_0x3308d1=[_0x3308d1]),_0x3308d1[_0x13dc67(0x16b)](_0x435ff5=>[_0x2c4075]['concat'](Object[_0x13dc67(0x185)](_0x435ff5)[_0x13dc67(0x16b)](_0x10c523=>{const _0x1c1b9d=_0x13dc67;let _0x3b8a15=_0x435ff5[_0x10c523];return Array[_0x1c1b9d(0x2a5)](_0x3b8a15)||(_0x3b8a15=[_0x3b8a15]),_0x3b8a15[_0x1c1b9d(0x16b)](_0x1f2eb1=>_0x1f2eb1===!0x0?_0x10c523:_0x10c523+'='+_0x1f2eb1)['join'](';\x20');}))[_0x13dc67(0x205)](';\x20'))[_0x13dc67(0x205)](',\x20');})[_0xc662ba(0x205)](',\x20');}return be={'format':_0x3b0ce1,'parse':_0x34443e},be;}function _0x1f2d(){const _0x58ef8b=['mask','onerror','CONNECTING','byteOffset','type','readUInt32BE','share','zlibDeflateOptions','createSocket','_maxPayload','Sec-WebSocket-Extensions','unmask','username','2738480OJbNZp','listening','_errorEmitted','tls','The\x20server\x20is\x20not\x20running','shift','sendFrame','readyState','OPEN','reset','hostname','_sender','\x22\x20subprotocol\x20is\x20duplicated','blob','Module','auth','_fragmented','end','buffers','WS_ERR_UNEXPECTED_RSV_1','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','concurrency','_doCreateSocket','maskBuffer','socketPath','backlog','kRun','nextTick','cork','byteLength','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','_final','getInfo','isBuffer','Invalid\x20URL:\x20','startLoop','server_max_window_bits','binaryType','error','acceptAsServer','CLOSED','env','WebSocket','catch','binary','isPaused','timeout','normalizeParams','indexOf','client','autoPong','_closeCode','toLowerCase','setTimeout','reason','size','addEventListener','address','value','exports','write','code','bind','invalid\x20UTF-8\x20sequence','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','replace','apply','perMessageDeflate','clientTracking','haveLength','_opcode','setNoDelay','1225953WtaSuC','_fragments','crypto','handleUpgrade','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','ws:','_closeMessage','Sec-WebSocket-Accept:\x20','create','_registerDependencies','@univerjs/network','parse','password','kError','_url','FIN\x20must\x20be\x20set','Unexpected\x20end\x20of\x20input','port','join','permessage-deflate','arraybuffer','Sec-WebSocket-Protocol:\x20','base64','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','Invalid\x20WebSocket\x20frame:\x20','44KVxAhe','WS_ERR_INVALID_OPCODE','WS_ERR_INVALID_UTF8','destroy','__esModule','_compressed','object','createError','_errored','finished','find','accept','HTTPService','zlib','_removeListeners','WebSocket\x20is\x20not\x20open:\x20readyState\x20','https:','_extensions','construct','51610CoWNHN','_masked','emitClose','_originalIpc','forEach','defaultPort','invalid\x20payload\x20length\x20','clients','serverNoContextTakeover','pipe','UniverCollaborationClientNodePlugin','rsv1','wss:','protocol','terminate','writable','dispose','dispatch','ISnapshotServerService','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','http:','kAborted','charCodeAt','Injector','ping','errorEmitted','getOwnPropertyDescriptor','_closeFrameSent','Z_DEFAULT_WINDOWBITS','enqueue','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','_fin','1798UCCIgc','kListener','_req','wsClientError','connection','NodeCollaborationSocketService','flush','getData','acceptAsClient','_queue','Inject','_loop','Opening\x20handshake\x20has\x20timed\x20out','kWasClean','consume','concat','onopen','websocket','digest','218mvwwTy','sec-websocket-extensions','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','readUInt16BE','objectMode','_mask','buffer','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','controlMessage','resume','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','prototype','string','decompress','registerDependencies','fin','client_max_window_bits','_compress','drain','setConfig','invalid\x20status\x20code\x20','isServer','sec-websocket-key','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','target','onmessage','concurrencyLimit','isValidUTF8','removeAllListeners','message','writeUInt16BE','offer','handleEvent','IConfigService','_state','_injector','isInteger','_bufferedBytes','authorization','freeze','Z_SYNC_FLUSH','next','_redirects','species','wasClean','_isServer','setSocket','sha1','_httpService','stream','dataMessage','shouldHandle','delete','21DZuncE','server_no_context_takeover','handleProtocols','path','close','servername','COLLABORATION_CLIENT_NODE_CONFIG_KEY','_closeFrameReceived','search','test','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','\x0d\x0a\x0d\x0a','verifyClient','add','maxPayload','_no_context_takeover','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','invalid\x20opcode\x20','Max\x20payload\x20size\x20exceeded','_read','sec-websocket-accept','serverMaxWindowBits','createInflateRaw','function','listeners','WS_ERR_EXPECTED_FIN','captureStackTrace','HTTP/1.1\x20','protocolVersion','isArray','length','_destroy','_shouldEmitClose','toDisposable','\x22:\x20','_writableState','response','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','status-code','hash','pong','options','isIP','WS_NO_BUFFER_UTIL','client_no_context_takeover','default','pow','destroyed','Sec-WebSocket-Protocol','_binaryType','extensions','then','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','_bufferedAmount','1250050Dykaub','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','Observable','getPayloadLength16','bufferedAmount','arrayBuffer','total-length','noServer','update','frame','includes','_originalHostOrSocketPath','pathname','push','Cookie','skipUTF8Validation','Origin','kMessage','redirect','followRedirects','headers','unexpected-response','uncork','8868YmncyJ','_receiver','createConnection','has','needDrain','https','MASK\x20must\x20be\x20set','_protocol','_generateMask','_readableState','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','authorized','GET','_readyState','registerHTTPInterceptor','WS_ERR_UNEXPECTED_MASK','dequeue','endEmitted','callback','server','376122ERKkVr','The\x20URL\x20contains\x20a\x20fragment\x20identifier','pause','STATUS_CODES','isView','MASK\x20must\x20be\x20clear','call','number','compress','nodebuffer','_configService','Invalid\x20Sec-WebSocket-Protocol\x20header','@univerjs-pro/collaboration-client','WS_ERR_EXPECTED_MASK','_buffers','Unknown\x20parameter\x20\x22','toStringTag','conclude','data','text/plain','url','removeEventListener','removeListener','Unexpected\x20character\x20at\x20index\x20','_paused','_options','constructor','threshold','_write','opcode','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','getMask','\x20(supported\x20versions:\x20','_closeTimer','href','writeHead','Plugin','extensionName','toString','location','_max_window_bits','format','split','Parameter\x20\x22','customHeaders','finish','abort','getBlobData','Upgrade:\x20websocket','method','kReason','handshakeTimeout','cleanup','pending','_messageLength','send','Invalid\x20value\x20for\x20parameter\x20\x22','_allowSynchronousEvents','encrypted','connect','_payloadLength','once','375WfZvHe','kData','RSV1\x20must\x20be\x20clear','defineProperty','cookie','clientMaxWindowBits','getPayloadLength64','_socket','warn','origin','emit','ws+unix:','_autoPong','_deflate','_threshold','map','CollaborationSocketService','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','open','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','Invalid\x20Upgrade\x20header','_server','getConfig','collaboration-client-node.config','allocUnsafe','_totalPayloadLength','upgrade','maxRedirects','completeUpgrade','WS_ERR_INVALID_CLOSE_CODE','createServer','Basic\x20','allowSynchronousEvents','finishRequest','ILogService','WS_ERR_UNEXPECTED_RSV_2_3','kType','set','jobs','_inflate','UniverCollaborationClientPlugin','keys','params','ISocketService','_firstFragment','host','request','The\x20\x22','socket','_decompress','DependentOn','statusCode','clientNoContextTakeover','readOnly','listenerCount','slice','generateMask','_skipUTF8Validation','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','_maskBuffer','startsWith','@univerjs-pro/collaboration','CLOSING','alloc','File'];_0x1f2d=function(){return _0x58ef8b;};return _0x1f2d();}var we,Je;function Pe(){const _0x2b0a61=_0x2201aa;if(Je)return we;Je=0x1;const _0x439473=nt,_0x2931a1=vt,_0xfb9cef=ot,_0x488c65=St,_0x4efc37=Et,{randomBytes:_0x9536ba,createHash:_0x21c424}=Le,{Duplex:_0x2a33af,Readable:_0x20fbd1}=oe,{URL:_0x2dd469}=xt,_0x594141=he(),_0x5b824e=lt(),_0x2b656b=ft(),{isBlob:_0x1f7ca7}=ae(),{BINARY_TYPES:_0x24b71c,EMPTY_BUFFER:_0x437d88,GUID:_0x162579,kForOnEventAttribute:_0xf1b1cd,kListener:_0x7386f0,kStatusCode:_0x2988b1,kWebSocket:_0xeed0b8,NOOP:_0x31df33}=H(),{EventTarget:{addEventListener:_0x481657,removeEventListener:_0x37c37c}}=It(),{format:_0x40c390,parse:_0x4a330b}=ct(),{toBuffer:_0x168b55}=ce(),_0x1482ad=0x1e*0x3e8,_0xf04389=Symbol(_0x2b0a61(0x234)),_0x5dca9b=[0x8,0xd],_0x4ae0c0=[_0x2b0a61(0x19f),'OPEN',_0x2b0a61(0x19a),_0x2b0a61(0x1d2)],_0x2a5545=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x4c20d9 extends _0x439473{constructor(_0x5af9ce,_0x21a70c,_0x3ed3bc){const _0x135c57=_0x2b0a61;super(),this[_0x135c57(0xee)]=_0x24b71c[0x0],this[_0x135c57(0x1dd)]=0x3ee,this[_0x135c57(0x28f)]=!0x1,this[_0x135c57(0x23a)]=!0x1,this[_0x135c57(0x1f9)]=_0x437d88,this[_0x135c57(0x13f)]=null,this['_errorEmitted']=!0x1,this[_0x135c57(0x21d)]={},this[_0x135c57(0x136)]=!0x1,this[_0x135c57(0x111)]='',this[_0x135c57(0x117)]=_0x4c20d9[_0x135c57(0x19f)],this[_0x135c57(0x10b)]=null,this['_sender']=null,this['_socket']=null,_0x5af9ce!==null?(this[_0x135c57(0xf2)]=0x0,this[_0x135c57(0x280)]=!0x1,this[_0x135c57(0x27d)]=0x0,_0x21a70c===void 0x0?_0x21a70c=[]:Array[_0x135c57(0x2a5)](_0x21a70c)||(typeof _0x21a70c==_0x135c57(0x212)&&_0x21a70c!==null?(_0x3ed3bc=_0x21a70c,_0x21a70c=[]):_0x21a70c=[_0x21a70c]),_0x3ddf5c(this,_0x5af9ce,_0x21a70c,_0x3ed3bc)):(this[_0x135c57(0x168)]=_0x3ed3bc[_0x135c57(0x1dc)],this['_isServer']=!0x0);}get[_0x2b0a61(0x1cf)](){const _0x55633a=_0x2b0a61;return this[_0x55633a(0xee)];}set[_0x2b0a61(0x1cf)](_0x392e37){const _0x3be0e0=_0x2b0a61;_0x24b71c[_0x3be0e0(0xfd)](_0x392e37)&&(this[_0x3be0e0(0xee)]=_0x392e37,this[_0x3be0e0(0x10b)]&&(this[_0x3be0e0(0x10b)]['_binaryType']=_0x392e37));}get[_0x2b0a61(0xf7)](){const _0x358a55=_0x2b0a61;return this[_0x358a55(0x163)]?this[_0x358a55(0x163)][_0x358a55(0x2ab)][_0x358a55(0x2a6)]+this[_0x358a55(0x1b5)]['_bufferedBytes']:this[_0x358a55(0xf2)];}get[_0x2b0a61(0xef)](){const _0x5c73ba=_0x2b0a61;return Object[_0x5c73ba(0x185)](this[_0x5c73ba(0x21d)])[_0x5c73ba(0x205)]();}get[_0x2b0a61(0x1d7)](){const _0x372f70=_0x2b0a61;return this[_0x372f70(0x136)];}get['onclose'](){return null;}get[_0x2b0a61(0x19e)](){return null;}get[_0x2b0a61(0x24f)](){return null;}get[_0x2b0a61(0x26c)](){return null;}get['protocol'](){return this['_protocol'];}get[_0x2b0a61(0x1b1)](){const _0x32a19a=_0x2b0a61;return this[_0x32a19a(0x117)];}get[_0x2b0a61(0x132)](){const _0x19a463=_0x2b0a61;return this[_0x19a463(0x201)];}[_0x2b0a61(0x281)](_0x3a4423,_0x4ca993,_0x48fc53){const _0x4e53a0=_0x2b0a61,_0x514ce8=new _0x5b824e({'allowSynchronousEvents':_0x48fc53[_0x4e53a0(0x17c)],'binaryType':this[_0x4e53a0(0x1cf)],'extensions':this[_0x4e53a0(0x21d)],'isServer':this[_0x4e53a0(0x280)],'maxPayload':_0x48fc53['maxPayload'],'skipUTF8Validation':_0x48fc53[_0x4e53a0(0x102)]}),_0x4b388e=new _0x2b656b(_0x3a4423,this[_0x4e53a0(0x21d)],_0x48fc53[_0x4e53a0(0x194)]);this[_0x4e53a0(0x10b)]=_0x514ce8,this[_0x4e53a0(0x1b5)]=_0x4b388e,this[_0x4e53a0(0x163)]=_0x3a4423,_0x514ce8[_0xeed0b8]=this,_0x4b388e[_0xeed0b8]=this,_0x3a4423[_0xeed0b8]=this,_0x514ce8['on'](_0x4e53a0(0x12f),_0x45955f),_0x514ce8['on'](_0x4e53a0(0x265),_0x54b14e),_0x514ce8['on']('error',_0x298002),_0x514ce8['on'](_0x4e53a0(0x270),_0x3a9404),_0x514ce8['on'](_0x4e53a0(0x237),_0x17a30c),_0x514ce8['on']('pong',_0x3bd68e),_0x4b388e[_0x4e53a0(0x19e)]=_0x514e43,_0x3a4423[_0x4e53a0(0x1df)]&&_0x3a4423[_0x4e53a0(0x1df)](0x0),_0x3a4423[_0x4e53a0(0x1f2)]&&_0x3a4423[_0x4e53a0(0x1f2)](),_0x4ca993[_0x4e53a0(0x2a6)]>0x0&&_0x3a4423['unshift'](_0x4ca993),_0x3a4423['on']('close',_0x5f502c),_0x3a4423['on']('data',_0x3ea678),_0x3a4423['on'](_0x4e53a0(0x1bb),_0x3cc270),_0x3a4423['on']('error',_0x30223c),this[_0x4e53a0(0x117)]=_0x4c20d9[_0x4e53a0(0x1b2)],this[_0x4e53a0(0x166)](_0x4e53a0(0x16e));}['emitClose'](){const _0x44bb67=_0x2b0a61;if(!this[_0x44bb67(0x163)]){this[_0x44bb67(0x117)]=_0x4c20d9['CLOSED'],this[_0x44bb67(0x166)](_0x44bb67(0x28c),this[_0x44bb67(0x1dd)],this['_closeMessage']);return;}this[_0x44bb67(0x21d)][_0x594141[_0x44bb67(0x143)]]&&this[_0x44bb67(0x21d)][_0x594141['extensionName']][_0x44bb67(0x152)](),this[_0x44bb67(0x10b)][_0x44bb67(0x26f)](),this[_0x44bb67(0x117)]=_0x4c20d9[_0x44bb67(0x1d2)],this[_0x44bb67(0x166)](_0x44bb67(0x28c),this[_0x44bb67(0x1dd)],this['_closeMessage']);}[_0x2b0a61(0x28c)](_0x582100,_0x3de14a){const _0x5009a6=_0x2b0a61;if(this[_0x5009a6(0x1b1)]!==_0x4c20d9[_0x5009a6(0x1d2)]){if(this['readyState']===_0x4c20d9[_0x5009a6(0x19f)]){_0x30a307(this,this[_0x5009a6(0x241)],_0x5009a6(0x16d));return;}if(this[_0x5009a6(0x1b1)]===_0x4c20d9[_0x5009a6(0x19a)]){this[_0x5009a6(0x23a)]&&(this[_0x5009a6(0x28f)]||this['_receiver']['_writableState']['errorEmitted'])&&this[_0x5009a6(0x163)][_0x5009a6(0x1bb)]();return;}this['_readyState']=_0x4c20d9['CLOSING'],this[_0x5009a6(0x1b5)][_0x5009a6(0x28c)](_0x582100,_0x3de14a,!this['_isServer'],_0x265bb9=>{const _0x312cd5=_0x5009a6;_0x265bb9||(this[_0x312cd5(0x23a)]=!0x0,(this[_0x312cd5(0x28f)]||this['_receiver'][_0x312cd5(0x2ab)]['errorEmitted'])&&this['_socket'][_0x312cd5(0x1bb)]());}),_0x49f730(this);}}[_0x2b0a61(0x120)](){const _0x52b227=_0x2b0a61;this['readyState']===_0x4c20d9[_0x52b227(0x19f)]||this[_0x52b227(0x1b1)]===_0x4c20d9[_0x52b227(0x1d2)]||(this[_0x52b227(0x136)]=!0x0,this[_0x52b227(0x163)]['pause']());}[_0x2b0a61(0x237)](_0x47f450,_0x58b1c0,_0x254327){const _0x99ab33=_0x2b0a61;if(this[_0x99ab33(0x1b1)]===_0x4c20d9[_0x99ab33(0x19f)])throw new Error(_0x99ab33(0xf1));if(typeof _0x47f450==_0x99ab33(0x29f)?(_0x254327=_0x47f450,_0x47f450=_0x58b1c0=void 0x0):typeof _0x58b1c0==_0x99ab33(0x29f)&&(_0x254327=_0x58b1c0,_0x58b1c0=void 0x0),typeof _0x47f450==_0x99ab33(0x125)&&(_0x47f450=_0x47f450[_0x99ab33(0x144)]()),this[_0x99ab33(0x1b1)]!==_0x4c20d9[_0x99ab33(0x1b2)]){_0xf74e49(this,_0x47f450,_0x254327);return;}_0x58b1c0===void 0x0&&(_0x58b1c0=!this[_0x99ab33(0x280)]),this['_sender']['ping'](_0x47f450||_0x437d88,_0x58b1c0,_0x254327);}['pong'](_0x19900d,_0x324d4d,_0x32ce91){const _0x164e65=_0x2b0a61;if(this[_0x164e65(0x1b1)]===_0x4c20d9[_0x164e65(0x19f)])throw new Error(_0x164e65(0xf1));if(typeof _0x19900d==_0x164e65(0x29f)?(_0x32ce91=_0x19900d,_0x19900d=_0x324d4d=void 0x0):typeof _0x324d4d==_0x164e65(0x29f)&&(_0x32ce91=_0x324d4d,_0x324d4d=void 0x0),typeof _0x19900d=='number'&&(_0x19900d=_0x19900d['toString']()),this[_0x164e65(0x1b1)]!==_0x4c20d9[_0x164e65(0x1b2)]){_0xf74e49(this,_0x19900d,_0x32ce91);return;}_0x324d4d===void 0x0&&(_0x324d4d=!this[_0x164e65(0x280)]),this[_0x164e65(0x1b5)][_0x164e65(0x2b0)](_0x19900d||_0x437d88,_0x324d4d,_0x32ce91);}['resume'](){const _0x42282f=_0x2b0a61;this['readyState']===_0x4c20d9[_0x42282f(0x19f)]||this[_0x42282f(0x1b1)]===_0x4c20d9[_0x42282f(0x1d2)]||(this[_0x42282f(0x136)]=!0x1,this[_0x42282f(0x10b)]['_writableState'][_0x42282f(0x10e)]||this['_socket']['resume']());}['send'](_0x46602c,_0x19f70c,_0x408074){const _0x5e390f=_0x2b0a61;if(this[_0x5e390f(0x1b1)]===_0x4c20d9['CONNECTING'])throw new Error(_0x5e390f(0xf1));if(typeof _0x19f70c=='function'&&(_0x408074=_0x19f70c,_0x19f70c={}),typeof _0x46602c==_0x5e390f(0x125)&&(_0x46602c=_0x46602c[_0x5e390f(0x144)]()),this[_0x5e390f(0x1b1)]!==_0x4c20d9[_0x5e390f(0x1b2)]){_0xf74e49(this,_0x46602c,_0x408074);return;}const _0x514d32={'binary':typeof _0x46602c!=_0x5e390f(0x25f),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x19f70c};this[_0x5e390f(0x21d)][_0x594141[_0x5e390f(0x143)]]||(_0x514d32['compress']=!0x1),this[_0x5e390f(0x1b5)][_0x5e390f(0x155)](_0x46602c||_0x437d88,_0x514d32,_0x408074);}[_0x2b0a61(0x22d)](){const _0x129be5=_0x2b0a61;if(this[_0x129be5(0x1b1)]!==_0x4c20d9[_0x129be5(0x1d2)]){if(this[_0x129be5(0x1b1)]===_0x4c20d9['CONNECTING']){_0x30a307(this,this['_req'],_0x129be5(0x16d));return;}this[_0x129be5(0x163)]&&(this[_0x129be5(0x117)]=_0x4c20d9[_0x129be5(0x19a)],this[_0x129be5(0x163)]['destroy']());}}}Object[_0x2b0a61(0x15f)](_0x4c20d9,_0x2b0a61(0x19f),{'enumerable':!0x0,'value':_0x4ae0c0[_0x2b0a61(0x1da)]('CONNECTING')}),Object[_0x2b0a61(0x15f)](_0x4c20d9[_0x2b0a61(0x25e)],_0x2b0a61(0x19f),{'enumerable':!0x0,'value':_0x4ae0c0['indexOf'](_0x2b0a61(0x19f))}),Object[_0x2b0a61(0x15f)](_0x4c20d9,_0x2b0a61(0x1b2),{'enumerable':!0x0,'value':_0x4ae0c0['indexOf'](_0x2b0a61(0x1b2))}),Object[_0x2b0a61(0x15f)](_0x4c20d9[_0x2b0a61(0x25e)],_0x2b0a61(0x1b2),{'enumerable':!0x0,'value':_0x4ae0c0[_0x2b0a61(0x1da)](_0x2b0a61(0x1b2))}),Object[_0x2b0a61(0x15f)](_0x4c20d9,_0x2b0a61(0x19a),{'enumerable':!0x0,'value':_0x4ae0c0['indexOf'](_0x2b0a61(0x19a))}),Object[_0x2b0a61(0x15f)](_0x4c20d9[_0x2b0a61(0x25e)],_0x2b0a61(0x19a),{'enumerable':!0x0,'value':_0x4ae0c0[_0x2b0a61(0x1da)](_0x2b0a61(0x19a))}),Object[_0x2b0a61(0x15f)](_0x4c20d9,_0x2b0a61(0x1d2),{'enumerable':!0x0,'value':_0x4ae0c0[_0x2b0a61(0x1da)](_0x2b0a61(0x1d2))}),Object[_0x2b0a61(0x15f)](_0x4c20d9[_0x2b0a61(0x25e)],_0x2b0a61(0x1d2),{'enumerable':!0x0,'value':_0x4ae0c0[_0x2b0a61(0x1da)]('CLOSED')}),['binaryType',_0x2b0a61(0xf7),_0x2b0a61(0xef),_0x2b0a61(0x1d7),_0x2b0a61(0x22c),_0x2b0a61(0x1b1),_0x2b0a61(0x132)][_0x2b0a61(0x223)](_0x49c490=>{const _0x5af87f=_0x2b0a61;Object[_0x5af87f(0x15f)](_0x4c20d9[_0x5af87f(0x25e)],_0x49c490,{'enumerable':!0x0});}),[_0x2b0a61(0x16e),'error',_0x2b0a61(0x28c),_0x2b0a61(0x270)][_0x2b0a61(0x223)](_0xc7040=>{const _0x2c336c=_0x2b0a61;Object[_0x2c336c(0x15f)](_0x4c20d9[_0x2c336c(0x25e)],'on'+_0xc7040,{'enumerable':!0x0,'get'(){const _0x39fb13=_0x2c336c;for(const _0xfb92e8 of this[_0x39fb13(0x2a0)](_0xc7040))if(_0xfb92e8[_0xf1b1cd])return _0xfb92e8[_0x7386f0];return null;},'set'(_0x862e72){const _0x499478=_0x2c336c;for(const _0x1d9acd of this[_0x499478(0x2a0)](_0xc7040))if(_0x1d9acd[_0xf1b1cd]){this['removeListener'](_0xc7040,_0x1d9acd);break;}typeof _0x862e72==_0x499478(0x29f)&&this[_0x499478(0x1e2)](_0xc7040,_0x862e72,{[_0xf1b1cd]:!0x0});}});}),_0x4c20d9['prototype'][_0x2b0a61(0x1e2)]=_0x481657,_0x4c20d9[_0x2b0a61(0x25e)][_0x2b0a61(0x133)]=_0x37c37c,we=_0x4c20d9;function _0x3ddf5c(_0x3f2a76,_0xd4aed2,_0x243066,_0x39f182){const _0x1bee47=_0x2b0a61,_0x379589={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x5dca9b[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x39f182,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x1bee47(0x116),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x3f2a76['_autoPong']=_0x379589[_0x1bee47(0x1dc)],!_0x5dca9b[_0x1bee47(0xfd)](_0x379589['protocolVersion']))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x379589['protocolVersion']+_0x1bee47(0x13e)+_0x5dca9b[_0x1bee47(0x205)](',\x20')+')');let _0x18ee31;if(_0xd4aed2 instanceof _0x2dd469)_0x18ee31=_0xd4aed2;else try{_0x18ee31=new _0x2dd469(_0xd4aed2);}catch{throw new SyntaxError(_0x1bee47(0x1cc)+_0xd4aed2);}_0x18ee31[_0x1bee47(0x22c)]===_0x1bee47(0x233)?_0x18ee31['protocol']=_0x1bee47(0x1f8):_0x18ee31[_0x1bee47(0x22c)]===_0x1bee47(0x21c)&&(_0x18ee31[_0x1bee47(0x22c)]='wss:'),_0x3f2a76[_0x1bee47(0x201)]=_0x18ee31[_0x1bee47(0x140)];const _0x600342=_0x18ee31['protocol']===_0x1bee47(0x22b),_0x1fc58c=_0x18ee31['protocol']===_0x1bee47(0x167);let _0x28d5c4;if(_0x18ee31[_0x1bee47(0x22c)]!==_0x1bee47(0x1f8)&&!_0x600342&&!_0x1fc58c?_0x28d5c4=_0x1bee47(0x23d):_0x1fc58c&&!_0x18ee31[_0x1bee47(0xff)]?_0x28d5c4='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x18ee31[_0x1bee47(0x2af)]&&(_0x28d5c4=_0x1bee47(0x11f)),_0x28d5c4){const _0xa6f294=new SyntaxError(_0x28d5c4);if(_0x3f2a76[_0x1bee47(0x27d)]===0x0)throw _0xa6f294;_0x13e85a(_0x3f2a76,_0xa6f294);return;}const _0x559ea7=_0x600342?0x1bb:0x50,_0xd3f7e8=_0x9536ba(0x10)[_0x1bee47(0x144)](_0x1bee47(0x209)),_0x5042e6=_0x600342?_0x2931a1['request']:_0xfb9cef[_0x1bee47(0x18a)],_0x39ca6f=new Set();let _0x59e86b;if(_0x379589['createConnection']=_0x379589[_0x1bee47(0x10c)]||(_0x600342?_0x58bc60:_0x3f14cd),_0x379589[_0x1bee47(0x224)]=_0x379589[_0x1bee47(0x224)]||_0x559ea7,_0x379589[_0x1bee47(0x204)]=_0x18ee31[_0x1bee47(0x204)]||_0x559ea7,_0x379589[_0x1bee47(0x189)]=_0x18ee31[_0x1bee47(0x1b4)][_0x1bee47(0x198)]('[')?_0x18ee31[_0x1bee47(0x1b4)][_0x1bee47(0x193)](0x1,-0x1):_0x18ee31[_0x1bee47(0x1b4)],_0x379589[_0x1bee47(0x107)]={..._0x379589[_0x1bee47(0x107)],'Sec-WebSocket-Version':_0x379589['protocolVersion'],'Sec-WebSocket-Key':_0xd3f7e8,'Connection':'Upgrade','Upgrade':'websocket'},_0x379589[_0x1bee47(0x28b)]=_0x18ee31[_0x1bee47(0xff)]+_0x18ee31[_0x1bee47(0x290)],_0x379589[_0x1bee47(0x1d8)]=_0x379589[_0x1bee47(0x151)],_0x379589[_0x1bee47(0x1ee)]&&(_0x59e86b=new _0x594141(_0x379589[_0x1bee47(0x1ee)]!==!0x0?_0x379589[_0x1bee47(0x1ee)]:{},!0x1,_0x379589['maxPayload']),_0x379589[_0x1bee47(0x107)][_0x1bee47(0x1a7)]=_0x40c390({[_0x594141[_0x1bee47(0x143)]]:_0x59e86b[_0x1bee47(0x272)]()})),_0x243066[_0x1bee47(0x2a6)]){for(const _0x555aa3 of _0x243066){if(typeof _0x555aa3!=_0x1bee47(0x25f)||!_0x2a5545[_0x1bee47(0x291)](_0x555aa3)||_0x39ca6f[_0x1bee47(0x10d)](_0x555aa3))throw new SyntaxError(_0x1bee47(0x20a));_0x39ca6f[_0x1bee47(0x295)](_0x555aa3);}_0x379589[_0x1bee47(0x107)][_0x1bee47(0xed)]=_0x243066[_0x1bee47(0x205)](',');}if(_0x379589[_0x1bee47(0x165)]&&(_0x379589[_0x1bee47(0x2a4)]<0xd?_0x379589['headers']['Sec-WebSocket-Origin']=_0x379589['origin']:_0x379589['headers'][_0x1bee47(0x103)]=_0x379589['origin']),(_0x18ee31[_0x1bee47(0x1a9)]||_0x18ee31['password'])&&(_0x379589[_0x1bee47(0x1b9)]=_0x18ee31[_0x1bee47(0x1a9)]+':'+_0x18ee31[_0x1bee47(0x1ff)]),_0x1fc58c){const _0x275bee=_0x379589[_0x1bee47(0x28b)][_0x1bee47(0x148)](':');_0x379589[_0x1bee47(0x1c2)]=_0x275bee[0x0],_0x379589[_0x1bee47(0x28b)]=_0x275bee[0x1];}let _0x331f84;if(_0x379589[_0x1bee47(0x106)]){if(_0x3f2a76[_0x1bee47(0x27d)]===0x0){_0x3f2a76[_0x1bee47(0x222)]=_0x1fc58c,_0x3f2a76['_originalSecure']=_0x600342,_0x3f2a76['_originalHostOrSocketPath']=_0x1fc58c?_0x379589[_0x1bee47(0x1c2)]:_0x18ee31[_0x1bee47(0x189)];const _0x35a422=_0x39f182&&_0x39f182['headers'];if(_0x39f182={..._0x39f182,'headers':{}},_0x35a422){for(const [_0xae6e7a,_0xea9e82]of Object['entries'](_0x35a422))_0x39f182['headers'][_0xae6e7a[_0x1bee47(0x1de)]()]=_0xea9e82;}}else{if(_0x3f2a76['listenerCount'](_0x1bee47(0x105))===0x0){const _0x5e5f4e=_0x1fc58c?_0x3f2a76[_0x1bee47(0x222)]?_0x379589[_0x1bee47(0x1c2)]===_0x3f2a76[_0x1bee47(0xfe)]:!0x1:_0x3f2a76[_0x1bee47(0x222)]?!0x1:_0x18ee31[_0x1bee47(0x189)]===_0x3f2a76[_0x1bee47(0xfe)];(!_0x5e5f4e||_0x3f2a76['_originalSecure']&&!_0x600342)&&(delete _0x379589[_0x1bee47(0x107)][_0x1bee47(0x279)],delete _0x379589['headers'][_0x1bee47(0x160)],_0x5e5f4e||delete _0x379589[_0x1bee47(0x107)][_0x1bee47(0x189)],_0x379589[_0x1bee47(0x1b9)]=void 0x0);}}_0x379589[_0x1bee47(0x1b9)]&&!_0x39f182[_0x1bee47(0x107)][_0x1bee47(0x279)]&&(_0x39f182[_0x1bee47(0x107)][_0x1bee47(0x279)]=_0x1bee47(0x17b)+Buffer['from'](_0x379589[_0x1bee47(0x1b9)])[_0x1bee47(0x144)](_0x1bee47(0x209))),_0x331f84=_0x3f2a76[_0x1bee47(0x241)]=_0x5042e6(_0x379589),_0x3f2a76[_0x1bee47(0x27d)]&&_0x3f2a76['emit'](_0x1bee47(0x105),_0x3f2a76['url'],_0x331f84);}else _0x331f84=_0x3f2a76['_req']=_0x5042e6(_0x379589);_0x379589[_0x1bee47(0x1d8)]&&_0x331f84['on']('timeout',()=>{const _0x371118=_0x1bee47;_0x30a307(_0x3f2a76,_0x331f84,_0x371118(0x24b));}),_0x331f84['on']('error',_0x4bb189=>{const _0x5467e8=_0x1bee47;_0x331f84===null||_0x331f84[_0xf04389]||(_0x331f84=_0x3f2a76[_0x5467e8(0x241)]=null,_0x13e85a(_0x3f2a76,_0x4bb189));}),_0x331f84['on'](_0x1bee47(0x2ac),_0x227b83=>{const _0x11040a=_0x1bee47,_0x4921c8=_0x227b83['headers'][_0x11040a(0x145)],_0x43bc9a=_0x227b83[_0x11040a(0x18f)];if(_0x4921c8&&_0x379589[_0x11040a(0x106)]&&_0x43bc9a>=0x12c&&_0x43bc9a<0x190){if(++_0x3f2a76[_0x11040a(0x27d)]>_0x379589[_0x11040a(0x177)]){_0x30a307(_0x3f2a76,_0x331f84,'Maximum\x20redirects\x20exceeded');return;}_0x331f84['abort']();let _0x5be74b;try{_0x5be74b=new _0x2dd469(_0x4921c8,_0xd4aed2);}catch{const _0x3d613c=new SyntaxError(_0x11040a(0x1cc)+_0x4921c8);_0x13e85a(_0x3f2a76,_0x3d613c);return;}_0x3ddf5c(_0x3f2a76,_0x5be74b,_0x243066,_0x39f182);}else _0x3f2a76['emit'](_0x11040a(0x108),_0x331f84,_0x227b83)||_0x30a307(_0x3f2a76,_0x331f84,'Unexpected\x20server\x20response:\x20'+_0x227b83['statusCode']);}),_0x331f84['on']('upgrade',(_0x4a9fba,_0x35e215,_0xc284d)=>{const _0x50ea1d=_0x1bee47;if(_0x3f2a76[_0x50ea1d(0x166)]('upgrade',_0x4a9fba),_0x3f2a76[_0x50ea1d(0x1b1)]!==_0x4c20d9['CONNECTING'])return;_0x331f84=_0x3f2a76[_0x50ea1d(0x241)]=null;const _0x48a2cd=_0x4a9fba[_0x50ea1d(0x107)]['upgrade'];if(_0x48a2cd===void 0x0||_0x48a2cd[_0x50ea1d(0x1de)]()!==_0x50ea1d(0x250)){_0x30a307(_0x3f2a76,_0x35e215,'Invalid\x20Upgrade\x20header');return;}const _0x2d06b4=_0x21c424(_0x50ea1d(0x282))[_0x50ea1d(0xfb)](_0xd3f7e8+_0x162579)[_0x50ea1d(0x251)](_0x50ea1d(0x209));if(_0x4a9fba[_0x50ea1d(0x107)][_0x50ea1d(0x29c)]!==_0x2d06b4){_0x30a307(_0x3f2a76,_0x35e215,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x1331ad=_0x4a9fba[_0x50ea1d(0x107)]['sec-websocket-protocol'];let _0x40c3b0;if(_0x1331ad!==void 0x0?_0x39ca6f[_0x50ea1d(0x1e1)]?_0x39ca6f[_0x50ea1d(0x10d)](_0x1331ad)||(_0x40c3b0='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x40c3b0='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x39ca6f[_0x50ea1d(0x1e1)]&&(_0x40c3b0='Server\x20sent\x20no\x20subprotocol'),_0x40c3b0){_0x30a307(_0x3f2a76,_0x35e215,_0x40c3b0);return;}_0x1331ad&&(_0x3f2a76[_0x50ea1d(0x111)]=_0x1331ad);const _0x5a62db=_0x4a9fba[_0x50ea1d(0x107)][_0x50ea1d(0x253)];if(_0x5a62db!==void 0x0){if(!_0x59e86b){_0x30a307(_0x3f2a76,_0x35e215,_0x50ea1d(0x1be));return;}let _0x5e2852;try{_0x5e2852=_0x4a330b(_0x5a62db);}catch{_0x30a307(_0x3f2a76,_0x35e215,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x55c604=Object['keys'](_0x5e2852);if(_0x55c604[_0x50ea1d(0x2a6)]!==0x1||_0x55c604[0x0]!==_0x594141['extensionName']){_0x30a307(_0x3f2a76,_0x35e215,_0x50ea1d(0x196));return;}try{_0x59e86b[_0x50ea1d(0x217)](_0x5e2852[_0x594141[_0x50ea1d(0x143)]]);}catch{_0x30a307(_0x3f2a76,_0x35e215,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x3f2a76[_0x50ea1d(0x21d)][_0x594141['extensionName']]=_0x59e86b;}_0x3f2a76[_0x50ea1d(0x281)](_0x35e215,_0xc284d,{'allowSynchronousEvents':_0x379589['allowSynchronousEvents'],'generateMask':_0x379589['generateMask'],'maxPayload':_0x379589['maxPayload'],'skipUTF8Validation':_0x379589[_0x50ea1d(0x102)]});}),_0x379589[_0x1bee47(0x17d)]?_0x379589['finishRequest'](_0x331f84,_0x3f2a76):_0x331f84[_0x1bee47(0x1bb)]();}function _0x13e85a(_0x28f189,_0x14d494){const _0x24673a=_0x2b0a61;_0x28f189[_0x24673a(0x117)]=_0x4c20d9[_0x24673a(0x19a)],_0x28f189['_errorEmitted']=!0x0,_0x28f189[_0x24673a(0x166)]('error',_0x14d494),_0x28f189[_0x24673a(0x221)]();}function _0x3f14cd(_0x49bb8c){const _0x3ff874=_0x2b0a61;return _0x49bb8c['path']=_0x49bb8c[_0x3ff874(0x1c2)],_0x488c65[_0x3ff874(0x159)](_0x49bb8c);}function _0x58bc60(_0xdfc504){const _0x296ba8=_0x2b0a61;return _0xdfc504[_0x296ba8(0x28b)]=void 0x0,!_0xdfc504['servername']&&_0xdfc504[_0x296ba8(0x28d)]!==''&&(_0xdfc504[_0x296ba8(0x28d)]=_0x488c65[_0x296ba8(0xe7)](_0xdfc504[_0x296ba8(0x189)])?'':_0xdfc504[_0x296ba8(0x189)]),_0x4efc37['connect'](_0xdfc504);}function _0x30a307(_0x356a5a,_0x182fd6,_0x4ff4e3){const _0x23cb22=_0x2b0a61;_0x356a5a[_0x23cb22(0x117)]=_0x4c20d9['CLOSING'];const _0x34f851=new Error(_0x4ff4e3);Error['captureStackTrace'](_0x34f851,_0x30a307),_0x182fd6['setHeader']?(_0x182fd6[_0xf04389]=!0x0,_0x182fd6[_0x23cb22(0x14c)](),_0x182fd6['socket']&&!_0x182fd6[_0x23cb22(0x18c)][_0x23cb22(0xec)]&&_0x182fd6[_0x23cb22(0x18c)][_0x23cb22(0x20f)](),process[_0x23cb22(0x1c5)](_0x13e85a,_0x356a5a,_0x34f851)):(_0x182fd6[_0x23cb22(0x20f)](_0x34f851),_0x182fd6[_0x23cb22(0x15b)](_0x23cb22(0x1d0),_0x356a5a['emit'][_0x23cb22(0x1e8)](_0x356a5a,'error')),_0x182fd6['once'](_0x23cb22(0x28c),_0x356a5a[_0x23cb22(0x221)][_0x23cb22(0x1e8)](_0x356a5a)));}function _0xf74e49(_0x281369,_0x4d3df3,_0x24a838){const _0x353174=_0x2b0a61;if(_0x4d3df3){const _0x5ab8b3=_0x1f7ca7(_0x4d3df3)?_0x4d3df3[_0x353174(0x1e1)]:_0x168b55(_0x4d3df3)['length'];_0x281369[_0x353174(0x163)]?_0x281369[_0x353174(0x1b5)]['_bufferedBytes']+=_0x5ab8b3:_0x281369['_bufferedAmount']+=_0x5ab8b3;}if(_0x24a838){const _0x4aea63=new Error(_0x353174(0x21b)+_0x281369[_0x353174(0x1b1)]+'\x20('+_0x4ae0c0[_0x281369[_0x353174(0x1b1)]]+')');process[_0x353174(0x1c5)](_0x24a838,_0x4aea63);}}function _0x45955f(_0x310a4f,_0x4f80f9){const _0x358053=_0x2b0a61,_0xab1c69=this[_0xeed0b8];_0xab1c69['_closeFrameReceived']=!0x0,_0xab1c69['_closeMessage']=_0x4f80f9,_0xab1c69['_closeCode']=_0x310a4f,_0xab1c69['_socket'][_0xeed0b8]!==void 0x0&&(_0xab1c69[_0x358053(0x163)][_0x358053(0x134)]('data',_0x3ea678),process[_0x358053(0x1c5)](_0x2dd6f9,_0xab1c69[_0x358053(0x163)]),_0x310a4f===0x3ed?_0xab1c69[_0x358053(0x28c)]():_0xab1c69['close'](_0x310a4f,_0x4f80f9));}function _0x54b14e(){const _0x278330=_0x2b0a61,_0x18abbc=this[_0xeed0b8];_0x18abbc[_0x278330(0x1d7)]||_0x18abbc[_0x278330(0x163)][_0x278330(0x25c)]();}function _0x298002(_0x47c1a2){const _0x134944=_0x2b0a61,_0x2cc194=this[_0xeed0b8];_0x2cc194[_0x134944(0x163)][_0xeed0b8]!==void 0x0&&(_0x2cc194[_0x134944(0x163)]['removeListener'](_0x134944(0x130),_0x3ea678),process[_0x134944(0x1c5)](_0x2dd6f9,_0x2cc194[_0x134944(0x163)]),_0x2cc194[_0x134944(0x28c)](_0x47c1a2[_0x2988b1])),_0x2cc194[_0x134944(0x1ac)]||(_0x2cc194[_0x134944(0x1ac)]=!0x0,_0x2cc194['emit'](_0x134944(0x1d0),_0x47c1a2));}function _0x40fd99(){const _0x11ad67=_0x2b0a61;this[_0xeed0b8][_0x11ad67(0x221)]();}function _0x3a9404(_0x5adc98,_0x50a67d){const _0x21e18e=_0x2b0a61;this[_0xeed0b8][_0x21e18e(0x166)](_0x21e18e(0x270),_0x5adc98,_0x50a67d);}function _0x17a30c(_0x423e6e){const _0x21189e=_0x2b0a61,_0x2fcd17=this[_0xeed0b8];_0x2fcd17[_0x21189e(0x168)]&&_0x2fcd17['pong'](_0x423e6e,!this[_0x21189e(0x280)],_0x31df33),_0x2fcd17[_0x21189e(0x166)](_0x21189e(0x237),_0x423e6e);}function _0x3bd68e(_0x42d994){const _0x4a1187=_0x2b0a61;this[_0xeed0b8][_0x4a1187(0x166)]('pong',_0x42d994);}function _0x2dd6f9(_0x176c56){const _0x53db90=_0x2b0a61;_0x176c56[_0x53db90(0x25c)]();}function _0x514e43(_0x29f460){const _0x65d115=_0x2b0a61,_0xb388a=this[_0xeed0b8];_0xb388a[_0x65d115(0x1b1)]!==_0x4c20d9['CLOSED']&&(_0xb388a[_0x65d115(0x1b1)]===_0x4c20d9['OPEN']&&(_0xb388a[_0x65d115(0x117)]=_0x4c20d9[_0x65d115(0x19a)],_0x49f730(_0xb388a)),this[_0x65d115(0x163)]['end'](),_0xb388a[_0x65d115(0x1ac)]||(_0xb388a['_errorEmitted']=!0x0,_0xb388a['emit'](_0x65d115(0x1d0),_0x29f460)));}function _0x49f730(_0x19bdda){const _0x4311ee=_0x2b0a61;_0x19bdda['_closeTimer']=setTimeout(_0x19bdda[_0x4311ee(0x163)][_0x4311ee(0x20f)][_0x4311ee(0x1e8)](_0x19bdda[_0x4311ee(0x163)]),_0x1482ad);}function _0x5f502c(){const _0x3acb0b=_0x2b0a61,_0x4d75fd=this[_0xeed0b8];this[_0x3acb0b(0x134)]('close',_0x5f502c),this[_0x3acb0b(0x134)]('data',_0x3ea678),this['removeListener'](_0x3acb0b(0x1bb),_0x3cc270),_0x4d75fd[_0x3acb0b(0x117)]=_0x4c20d9[_0x3acb0b(0x19a)];let _0x373dec;!this[_0x3acb0b(0x113)][_0x3acb0b(0x11b)]&&!_0x4d75fd[_0x3acb0b(0x28f)]&&!_0x4d75fd[_0x3acb0b(0x10b)][_0x3acb0b(0x2ab)]['errorEmitted']&&(_0x373dec=_0x4d75fd['_socket']['read']())!==null&&_0x4d75fd[_0x3acb0b(0x10b)][_0x3acb0b(0x1e6)](_0x373dec),_0x4d75fd['_receiver']['end'](),this[_0xeed0b8]=void 0x0,clearTimeout(_0x4d75fd['_closeTimer']),_0x4d75fd[_0x3acb0b(0x10b)][_0x3acb0b(0x2ab)]['finished']||_0x4d75fd[_0x3acb0b(0x10b)]['_writableState'][_0x3acb0b(0x238)]?_0x4d75fd[_0x3acb0b(0x221)]():(_0x4d75fd[_0x3acb0b(0x10b)]['on'](_0x3acb0b(0x1d0),_0x40fd99),_0x4d75fd[_0x3acb0b(0x10b)]['on'](_0x3acb0b(0x14b),_0x40fd99));}function _0x3ea678(_0x3ecff0){const _0x53d550=_0x2b0a61;this[_0xeed0b8][_0x53d550(0x10b)]['write'](_0x3ecff0)||this[_0x53d550(0x120)]();}function _0x3cc270(){const _0x2473c4=_0x2b0a61,_0x1349e6=this[_0xeed0b8];_0x1349e6[_0x2473c4(0x117)]=_0x4c20d9[_0x2473c4(0x19a)],_0x1349e6[_0x2473c4(0x10b)][_0x2473c4(0x1bb)](),this[_0x2473c4(0x1bb)]();}function _0x30223c(){const _0x302564=_0x2b0a61,_0x4f75ae=this[_0xeed0b8];this[_0x302564(0x134)](_0x302564(0x1d0),_0x30223c),this['on'](_0x302564(0x1d0),_0x31df33),_0x4f75ae&&(_0x4f75ae[_0x302564(0x117)]=_0x4c20d9[_0x302564(0x19a)],this[_0x302564(0x20f)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x1b7d41}=oe;function _0x1fdb70(_0x3e5c34){const _0x9fc31c=_0xce54;_0x3e5c34[_0x9fc31c(0x166)](_0x9fc31c(0x28c));}function _0x46bd60(){const _0x48304a=_0xce54;!this[_0x48304a(0xec)]&&this[_0x48304a(0x2ab)]['finished']&&this[_0x48304a(0x20f)]();}function _0x33399a(_0x2de629){const _0x3a0148=_0xce54;this[_0x3a0148(0x134)](_0x3a0148(0x1d0),_0x33399a),this[_0x3a0148(0x20f)](),this[_0x3a0148(0x192)](_0x3a0148(0x1d0))===0x0&&this['emit'](_0x3a0148(0x1d0),_0x2de629);}function _0x369d78(_0x560103,_0x4028fe){const _0x4f510f=_0xce54;let _0x296270=!0x0;const _0x53ebaf=new _0x1b7d41({..._0x4028fe,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x560103['on'](_0x4f510f(0x270),function(_0x11c848,_0x36e0bd){const _0x3d260b=_0x4f510f,_0x43f485=!_0x36e0bd&&_0x53ebaf[_0x3d260b(0x113)][_0x3d260b(0x257)]?_0x11c848[_0x3d260b(0x144)]():_0x11c848;_0x53ebaf[_0x3d260b(0x100)](_0x43f485)||_0x560103[_0x3d260b(0x120)]();}),_0x560103[_0x4f510f(0x15b)]('error',function(_0x1871f0){const _0x1c8d92=_0x4f510f;_0x53ebaf[_0x1c8d92(0xec)]||(_0x296270=!0x1,_0x53ebaf[_0x1c8d92(0x20f)](_0x1871f0));}),_0x560103[_0x4f510f(0x15b)](_0x4f510f(0x28c),function(){const _0x1f9afb=_0x4f510f;_0x53ebaf['destroyed']||_0x53ebaf[_0x1f9afb(0x100)](null);}),_0x53ebaf[_0x4f510f(0x2a7)]=function(_0xc3e70e,_0xb67f8){const _0x4f3a8b=_0x4f510f;if(_0x560103[_0x4f3a8b(0x1b1)]===_0x560103[_0x4f3a8b(0x1d2)]){_0xb67f8(_0xc3e70e),process['nextTick'](_0x1fdb70,_0x53ebaf);return;}let _0x511710=!0x1;_0x560103[_0x4f3a8b(0x15b)](_0x4f3a8b(0x1d0),function(_0x124124){_0x511710=!0x0,_0xb67f8(_0x124124);}),_0x560103[_0x4f3a8b(0x15b)]('close',function(){const _0x4e0abc=_0x4f3a8b;_0x511710||_0xb67f8(_0xc3e70e),process[_0x4e0abc(0x1c5)](_0x1fdb70,_0x53ebaf);}),_0x296270&&_0x560103[_0x4f3a8b(0x22d)]();},_0x53ebaf[_0x4f510f(0x1c9)]=function(_0x139b05){const _0x5bba92=_0x4f510f;if(_0x560103[_0x5bba92(0x1b1)]===_0x560103['CONNECTING']){_0x560103[_0x5bba92(0x15b)](_0x5bba92(0x16e),function(){const _0x32b762=_0x5bba92;_0x53ebaf[_0x32b762(0x1c9)](_0x139b05);});return;}_0x560103[_0x5bba92(0x163)]!==null&&(_0x560103['_socket'][_0x5bba92(0x2ab)][_0x5bba92(0x215)]?(_0x139b05(),_0x53ebaf[_0x5bba92(0x113)][_0x5bba92(0x11b)]&&_0x53ebaf[_0x5bba92(0x20f)]()):(_0x560103[_0x5bba92(0x163)][_0x5bba92(0x15b)](_0x5bba92(0x14b),function(){_0x139b05();}),_0x560103[_0x5bba92(0x28c)]()));},_0x53ebaf[_0x4f510f(0x29b)]=function(){const _0x8e8e0c=_0x4f510f;_0x560103[_0x8e8e0c(0x1d7)]&&_0x560103['resume']();},_0x53ebaf[_0x4f510f(0x13a)]=function(_0x2c1848,_0x326ffb,_0x36403d){const _0x2c9cc5=_0x4f510f;if(_0x560103[_0x2c9cc5(0x1b1)]===_0x560103[_0x2c9cc5(0x19f)]){_0x560103['once'](_0x2c9cc5(0x16e),function(){_0x53ebaf['_write'](_0x2c1848,_0x326ffb,_0x36403d);});return;}_0x560103[_0x2c9cc5(0x155)](_0x2c1848,_0x36403d);},_0x53ebaf['on'](_0x4f510f(0x1bb),_0x46bd60),_0x53ebaf['on'](_0x4f510f(0x1d0),_0x33399a),_0x53ebaf;}return Oe=_0x369d78,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x2621ea}=ae();function _0x1b4843(_0x36fb97){const _0x1c66ba=_0xce54,_0x39ba7c=new Set();let _0x304b16=-0x1,_0x37eb41=-0x1,_0x8bcfcc=0x0;for(_0x8bcfcc;_0x8bcfcc<_0x36fb97[_0x1c66ba(0x2a6)];_0x8bcfcc++){const _0x22adfc=_0x36fb97[_0x1c66ba(0x235)](_0x8bcfcc);if(_0x37eb41===-0x1&&_0x2621ea[_0x22adfc]===0x1)_0x304b16===-0x1&&(_0x304b16=_0x8bcfcc);else{if(_0x8bcfcc!==0x0&&(_0x22adfc===0x20||_0x22adfc===0x9))_0x37eb41===-0x1&&_0x304b16!==-0x1&&(_0x37eb41=_0x8bcfcc);else{if(_0x22adfc===0x2c){if(_0x304b16===-0x1)throw new SyntaxError(_0x1c66ba(0x135)+_0x8bcfcc);_0x37eb41===-0x1&&(_0x37eb41=_0x8bcfcc);const _0x35ee85=_0x36fb97[_0x1c66ba(0x193)](_0x304b16,_0x37eb41);if(_0x39ba7c['has'](_0x35ee85))throw new SyntaxError(_0x1c66ba(0x18b)+_0x35ee85+_0x1c66ba(0x1b6));_0x39ba7c[_0x1c66ba(0x295)](_0x35ee85),_0x304b16=_0x37eb41=-0x1;}else throw new SyntaxError(_0x1c66ba(0x135)+_0x8bcfcc);}}}if(_0x304b16===-0x1||_0x37eb41!==-0x1)throw new SyntaxError(_0x1c66ba(0x203));const _0x33a73d=_0x36fb97[_0x1c66ba(0x193)](_0x304b16,_0x8bcfcc);if(_0x39ba7c[_0x1c66ba(0x10d)](_0x33a73d))throw new SyntaxError(_0x1c66ba(0x18b)+_0x33a73d+_0x1c66ba(0x1b6));return _0x39ba7c[_0x1c66ba(0x295)](_0x33a73d),_0x39ba7c;}return Ce={'parse':_0x1b4843},Ce;}var Te,rt;function _0xce54(_0xfbbe8a,_0xb77ad9){const _0x1f2dce=_0x1f2d();return _0xce54=function(_0xce5412,_0x974cad){_0xce5412=_0xce5412-0xe7;let _0x314aa9=_0x1f2dce[_0xce5412];return _0x314aa9;},_0xce54(_0xfbbe8a,_0xb77ad9);}function Ft(){const _0x1056a1=_0x2201aa;if(rt)return Te;rt=0x1;const _0x294998=nt,_0xb4c9d6=ot,{Duplex:_0x20b73b}=oe,{createHash:_0x37eeb1}=Le,_0x36214f=ct(),_0x50c084=he(),_0x4d1909=At(),_0x36a780=Pe(),{GUID:_0xaf86b9,kWebSocket:_0x108205}=H(),_0x4bd46f=/^[+/0-9A-Za-z]{22}==$/,_0x254e1d=0x0,_0x5b9670=0x1,_0x4e75db=0x2;class _0xd4b6f extends _0x294998{constructor(_0x5234a7,_0x2d25f1){const _0xe9fabd=_0xce54;if(super(),_0x5234a7={'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':_0x36a780,..._0x5234a7},_0x5234a7[_0xe9fabd(0x204)]==null&&!_0x5234a7[_0xe9fabd(0x11d)]&&!_0x5234a7['noServer']||_0x5234a7[_0xe9fabd(0x204)]!=null&&(_0x5234a7[_0xe9fabd(0x11d)]||_0x5234a7[_0xe9fabd(0xfa)])||_0x5234a7[_0xe9fabd(0x11d)]&&_0x5234a7[_0xe9fabd(0xfa)])throw new TypeError(_0xe9fabd(0xf4));if(_0x5234a7['port']!=null?(this['_server']=_0xb4c9d6[_0xe9fabd(0x17a)]((_0x4ed218,_0x34ff78)=>{const _0x62de5b=_0xe9fabd,_0x57aeb8=_0xb4c9d6[_0x62de5b(0x121)][0x1aa];_0x34ff78[_0x62de5b(0x141)](0x1aa,{'Content-Length':_0x57aeb8['length'],'Content-Type':_0x62de5b(0x131)}),_0x34ff78[_0x62de5b(0x1bb)](_0x57aeb8);}),this['_server']['listen'](_0x5234a7['port'],_0x5234a7[_0xe9fabd(0x189)],_0x5234a7[_0xe9fabd(0x1c3)],_0x2d25f1)):_0x5234a7['server']&&(this[_0xe9fabd(0x171)]=_0x5234a7[_0xe9fabd(0x11d)]),this[_0xe9fabd(0x171)]){const _0x3bc756=this['emit'][_0xe9fabd(0x1e8)](this,_0xe9fabd(0x243));this[_0xe9fabd(0x21a)]=_0x5be8cb(this[_0xe9fabd(0x171)],{'listening':this[_0xe9fabd(0x166)][_0xe9fabd(0x1e8)](this,_0xe9fabd(0x1ab)),'error':this[_0xe9fabd(0x166)]['bind'](this,_0xe9fabd(0x1d0)),'upgrade':(_0xfc6564,_0x5d62b7,_0x290b08)=>{const _0x1031a2=_0xe9fabd;this[_0x1031a2(0x1f6)](_0xfc6564,_0x5d62b7,_0x290b08,_0x3bc756);}});}_0x5234a7[_0xe9fabd(0x1ee)]===!0x0&&(_0x5234a7[_0xe9fabd(0x1ee)]={}),_0x5234a7[_0xe9fabd(0x1ef)]&&(this[_0xe9fabd(0x226)]=new Set(),this[_0xe9fabd(0x2a8)]=!0x1),this['options']=_0x5234a7,this['_state']=_0x254e1d;}[_0x1056a1(0x1e3)](){const _0x3d95d0=_0x1056a1;if(this[_0x3d95d0(0x2b1)][_0x3d95d0(0xfa)])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this['_server']?this[_0x3d95d0(0x171)][_0x3d95d0(0x1e3)]():null;}[_0x1056a1(0x28c)](_0x1b28f9){const _0x51c6ce=_0x1056a1;if(this[_0x51c6ce(0x275)]===_0x4e75db){_0x1b28f9&&this['once']('close',()=>{const _0x144e21=_0x51c6ce;_0x1b28f9(new Error(_0x144e21(0x1ae)));}),process[_0x51c6ce(0x1c5)](_0x197482,this);return;}if(_0x1b28f9&&this[_0x51c6ce(0x15b)](_0x51c6ce(0x28c),_0x1b28f9),this['_state']!==_0x5b9670){if(this['_state']=_0x5b9670,this[_0x51c6ce(0x2b1)]['noServer']||this[_0x51c6ce(0x2b1)][_0x51c6ce(0x11d)])this[_0x51c6ce(0x171)]&&(this['_removeListeners'](),this[_0x51c6ce(0x21a)]=this[_0x51c6ce(0x171)]=null),this['clients']?this[_0x51c6ce(0x226)][_0x51c6ce(0x1e1)]?this['_shouldEmitClose']=!0x0:process[_0x51c6ce(0x1c5)](_0x197482,this):process['nextTick'](_0x197482,this);else{const _0x2437d6=this[_0x51c6ce(0x171)];this['_removeListeners'](),this[_0x51c6ce(0x21a)]=this[_0x51c6ce(0x171)]=null,_0x2437d6[_0x51c6ce(0x28c)](()=>{_0x197482(this);});}}}[_0x1056a1(0x286)](_0x325dca){const _0x14e9b9=_0x1056a1;if(this['options']['path']){const _0x259b96=_0x325dca[_0x14e9b9(0x132)]['indexOf']('?');if((_0x259b96!==-0x1?_0x325dca[_0x14e9b9(0x132)][_0x14e9b9(0x193)](0x0,_0x259b96):_0x325dca[_0x14e9b9(0x132)])!==this[_0x14e9b9(0x2b1)][_0x14e9b9(0x28b)])return!0x1;}return!0x0;}[_0x1056a1(0x1f6)](_0x4c0f20,_0x3aa591,_0x3ab4cf,_0x17eae4){const _0x333d8b=_0x1056a1;_0x3aa591['on'](_0x333d8b(0x1d0),_0x45221e);const _0xad1cff=_0x4c0f20[_0x333d8b(0x107)][_0x333d8b(0x269)],_0x47439c=_0x4c0f20[_0x333d8b(0x107)][_0x333d8b(0x176)],_0x3957c7=+_0x4c0f20[_0x333d8b(0x107)]['sec-websocket-version'];if(_0x4c0f20[_0x333d8b(0x14f)]!=='GET'){_0x4b09f9(this,_0x4c0f20,_0x3aa591,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x47439c===void 0x0||_0x47439c[_0x333d8b(0x1de)]()!==_0x333d8b(0x250)){_0x4b09f9(this,_0x4c0f20,_0x3aa591,0x190,_0x333d8b(0x170));return;}if(_0xad1cff===void 0x0||!_0x4bd46f['test'](_0xad1cff)){_0x4b09f9(this,_0x4c0f20,_0x3aa591,0x190,_0x333d8b(0x1f7));return;}if(_0x3957c7!==0x8&&_0x3957c7!==0xd){_0x4b09f9(this,_0x4c0f20,_0x3aa591,0x190,_0x333d8b(0x1ea));return;}if(!this[_0x333d8b(0x286)](_0x4c0f20)){_0x55bb01(_0x3aa591,0x190);return;}const _0x31d3fb=_0x4c0f20['headers']['sec-websocket-protocol'];let _0x1eac00=new Set();if(_0x31d3fb!==void 0x0)try{_0x1eac00=_0x4d1909[_0x333d8b(0x1fe)](_0x31d3fb);}catch{_0x4b09f9(this,_0x4c0f20,_0x3aa591,0x190,_0x333d8b(0x129));return;}const _0x314744=_0x4c0f20[_0x333d8b(0x107)][_0x333d8b(0x253)],_0x2f58b0={};if(this['options']['perMessageDeflate']&&_0x314744!==void 0x0){const _0xd857b4=new _0x50c084(this[_0x333d8b(0x2b1)][_0x333d8b(0x1ee)],!0x0,this['options'][_0x333d8b(0x296)]);try{const _0x48dc00=_0x36214f[_0x333d8b(0x1fe)](_0x314744);_0x48dc00[_0x50c084[_0x333d8b(0x143)]]&&(_0xd857b4[_0x333d8b(0x217)](_0x48dc00[_0x50c084[_0x333d8b(0x143)]]),_0x2f58b0[_0x50c084[_0x333d8b(0x143)]]=_0xd857b4);}catch{_0x4b09f9(this,_0x4c0f20,_0x3aa591,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this['options'][_0x333d8b(0x294)]){const _0x44b8c0={'origin':_0x4c0f20[_0x333d8b(0x107)][''+(_0x3957c7===0x8?'sec-websocket-origin':_0x333d8b(0x165))],'secure':!!(_0x4c0f20['socket'][_0x333d8b(0x115)]||_0x4c0f20[_0x333d8b(0x18c)][_0x333d8b(0x158)]),'req':_0x4c0f20};if(this['options'][_0x333d8b(0x294)][_0x333d8b(0x2a6)]===0x2){this[_0x333d8b(0x2b1)][_0x333d8b(0x294)](_0x44b8c0,(_0x4e7890,_0x30eb93,_0x252c4e,_0x1c7893)=>{const _0x31ec5a=_0x333d8b;if(!_0x4e7890)return _0x55bb01(_0x3aa591,_0x30eb93||0x191,_0x252c4e,_0x1c7893);this[_0x31ec5a(0x178)](_0x2f58b0,_0xad1cff,_0x1eac00,_0x4c0f20,_0x3aa591,_0x3ab4cf,_0x17eae4);});return;}if(!this[_0x333d8b(0x2b1)][_0x333d8b(0x294)](_0x44b8c0))return _0x55bb01(_0x3aa591,0x191);}this['completeUpgrade'](_0x2f58b0,_0xad1cff,_0x1eac00,_0x4c0f20,_0x3aa591,_0x3ab4cf,_0x17eae4);}[_0x1056a1(0x178)](_0x427112,_0x230925,_0x31e428,_0x3969d7,_0x1743a6,_0x982d62,_0x983ebc){const _0x1e8b20=_0x1056a1;if(!_0x1743a6['readable']||!_0x1743a6[_0x1e8b20(0x22e)])return _0x1743a6['destroy']();if(_0x1743a6[_0x108205])throw new Error(_0x1e8b20(0x1c8));if(this[_0x1e8b20(0x275)]>_0x254e1d)return _0x55bb01(_0x1743a6,0x1f7);const _0x155ba5=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x1e8b20(0x14e),'Connection:\x20Upgrade',_0x1e8b20(0x1fa)+_0x37eeb1(_0x1e8b20(0x282))[_0x1e8b20(0xfb)](_0x230925+_0xaf86b9)['digest'](_0x1e8b20(0x209))],_0x1ec879=new this[(_0x1e8b20(0x2b1))][(_0x1e8b20(0x1d4))](null,void 0x0,this[_0x1e8b20(0x2b1)]);if(_0x31e428[_0x1e8b20(0x1e1)]){const _0x5b6ece=this['options'][_0x1e8b20(0x28a)]?this[_0x1e8b20(0x2b1)][_0x1e8b20(0x28a)](_0x31e428,_0x3969d7):_0x31e428['values']()[_0x1e8b20(0x27c)]()[_0x1e8b20(0x1e4)];_0x5b6ece&&(_0x155ba5[_0x1e8b20(0x100)](_0x1e8b20(0x208)+_0x5b6ece),_0x1ec879[_0x1e8b20(0x111)]=_0x5b6ece);}if(_0x427112[_0x50c084[_0x1e8b20(0x143)]]){const _0x966a3c=_0x427112[_0x50c084[_0x1e8b20(0x143)]][_0x1e8b20(0x186)],_0x412d71=_0x36214f[_0x1e8b20(0x147)]({[_0x50c084[_0x1e8b20(0x143)]]:[_0x966a3c]});_0x155ba5[_0x1e8b20(0x100)]('Sec-WebSocket-Extensions:\x20'+_0x412d71),_0x1ec879[_0x1e8b20(0x21d)]=_0x427112;}this[_0x1e8b20(0x166)](_0x1e8b20(0x107),_0x155ba5,_0x3969d7),_0x1743a6['write'](_0x155ba5[_0x1e8b20(0x24e)]('\x0d\x0a')[_0x1e8b20(0x205)]('\x0d\x0a')),_0x1743a6['removeListener'](_0x1e8b20(0x1d0),_0x45221e),_0x1ec879[_0x1e8b20(0x281)](_0x1743a6,_0x982d62,{'allowSynchronousEvents':this[_0x1e8b20(0x2b1)][_0x1e8b20(0x17c)],'maxPayload':this[_0x1e8b20(0x2b1)]['maxPayload'],'skipUTF8Validation':this[_0x1e8b20(0x2b1)][_0x1e8b20(0x102)]}),this['clients']&&(this[_0x1e8b20(0x226)][_0x1e8b20(0x295)](_0x1ec879),_0x1ec879['on'](_0x1e8b20(0x28c),()=>{const _0x32760d=_0x1e8b20;this[_0x32760d(0x226)][_0x32760d(0x287)](_0x1ec879),this[_0x32760d(0x2a8)]&&!this['clients'][_0x32760d(0x1e1)]&&process[_0x32760d(0x1c5)](_0x197482,this);})),_0x983ebc(_0x1ec879,_0x3969d7);}}Te=_0xd4b6f;function _0x5be8cb(_0x4b7f62,_0x461ddc){const _0x573414=_0x1056a1;for(const _0x4baccd of Object[_0x573414(0x185)](_0x461ddc))_0x4b7f62['on'](_0x4baccd,_0x461ddc[_0x4baccd]);return function(){const _0x235040=_0x573414;for(const _0x39a266 of Object[_0x235040(0x185)](_0x461ddc))_0x4b7f62['removeListener'](_0x39a266,_0x461ddc[_0x39a266]);};}function _0x197482(_0x2e8bf7){const _0x57e87e=_0x1056a1;_0x2e8bf7[_0x57e87e(0x275)]=_0x4e75db,_0x2e8bf7[_0x57e87e(0x166)]('close');}function _0x45221e(){this['destroy']();}function _0x55bb01(_0x5ecc3d,_0x4932d2,_0x4c96ed,_0x172218){const _0x2cec8a=_0x1056a1;_0x4c96ed=_0x4c96ed||_0xb4c9d6[_0x2cec8a(0x121)][_0x4932d2],_0x172218={'Connection':'close','Content-Type':'text/html','Content-Length':Buffer[_0x2cec8a(0x1c7)](_0x4c96ed),..._0x172218},_0x5ecc3d['once'](_0x2cec8a(0x14b),_0x5ecc3d[_0x2cec8a(0x20f)]),_0x5ecc3d[_0x2cec8a(0x1bb)](_0x2cec8a(0x2a3)+_0x4932d2+'\x20'+_0xb4c9d6[_0x2cec8a(0x121)][_0x4932d2]+'\x0d\x0a'+Object['keys'](_0x172218)['map'](_0x170c82=>_0x170c82+':\x20'+_0x172218[_0x170c82])[_0x2cec8a(0x205)]('\x0d\x0a')+_0x2cec8a(0x293)+_0x4c96ed);}function _0x4b09f9(_0x4b7d64,_0x598c90,_0x48fc4c,_0x40bcf8,_0x53f8b9){const _0x544183=_0x1056a1;if(_0x4b7d64[_0x544183(0x192)](_0x544183(0x242))){const _0x1d91fd=new Error(_0x53f8b9);Error[_0x544183(0x2a2)](_0x1d91fd,_0x4b09f9),_0x4b7d64[_0x544183(0x166)](_0x544183(0x242),_0x1d91fd,_0x48fc4c,_0x598c90);}else _0x55bb01(_0x48fc4c,_0x40bcf8,_0x53f8b9);}return Te;}Ft();var jt=Object[_0x2201aa(0x239)],Wt=(_0x3c9b86,_0x586b7c,_0x23c758,_0x481ff0)=>{for(var _0x309ae6=_0x481ff0>0x1?void 0x0:_0x481ff0?jt(_0x586b7c,_0x23c758):_0x586b7c,_0x2eaa22=_0x3c9b86['length']-0x1,_0x52a6ea;_0x2eaa22>=0x0;_0x2eaa22--)(_0x52a6ea=_0x3c9b86[_0x2eaa22])&&(_0x309ae6=_0x52a6ea(_0x309ae6)||_0x309ae6);return _0x309ae6;},qt=(_0x19d359,_0xd81cb)=>(_0xa7c1e7,_0x506243)=>_0xd81cb(_0xa7c1e7,_0x506243,_0x19d359);let ke=class extends A['Disposable']{constructor(_0x53f6ee){const _0x1ae131=_0x2201aa;super(),this[_0x1ae131(0x128)]=_0x53f6ee;}[_0x2201aa(0x1a5)](_0x36cb28){const _0x2604fa=_0x2201aa;var _0xe9529d;const _0x38f694=(_0xe9529d=this[_0x2604fa(0x128)][_0x2604fa(0x172)](fe))==null?void 0x0:_0xe9529d[_0x2604fa(0x14a)];try{const _0x4d2d8e=new $t(_0x36cb28,{'headers':{..._0x38f694}}),_0x47f37a=new A['DisposableCollection']();return{'URL':_0x36cb28,'close':(_0x5d073a,_0x47c72e)=>{const _0x2b543a=_0x2604fa;_0x4d2d8e[_0x2b543a(0x28c)](_0x5d073a,_0x47c72e),_0x47f37a[_0x2b543a(0x22f)]();},'send':_0x1ae869=>{const _0x1d985c=_0x2604fa;_0x4d2d8e[_0x1d985c(0x155)](_0x1ae869);},'open$':new V[(_0x2604fa(0xf5))](_0x363985=>{const _0x3790c1=_0x2604fa,_0x3a94ae=_0x3ee690=>_0x363985[_0x3790c1(0x27c)](_0x3ee690);_0x4d2d8e[_0x3790c1(0x1e2)]('open',_0x3a94ae),_0x47f37a[_0x3790c1(0x295)](A[_0x3790c1(0x2a9)](()=>_0x4d2d8e['removeEventListener']('open',_0x3a94ae)));})[_0x2604fa(0x228)](V[_0x2604fa(0x1a3)]()),'close$':new V[(_0x2604fa(0xf5))](_0x3ee3ac=>{const _0x326fb6=_0x2604fa,_0x4c023b=_0x15dfdc=>_0x3ee3ac[_0x326fb6(0x27c)](_0x15dfdc);_0x4d2d8e[_0x326fb6(0x1e2)]('close',_0x4c023b),_0x47f37a['add'](A['toDisposable'](()=>_0x4d2d8e[_0x326fb6(0x133)](_0x326fb6(0x28c),_0x4c023b)));})[_0x2604fa(0x228)](V[_0x2604fa(0x1a3)]()),'error$':new V[(_0x2604fa(0xf5))](_0x3451fe=>{const _0x32264e=_0x2604fa,_0x51311d=_0x1fd227=>_0x3451fe[_0x32264e(0x27c)](_0x1fd227);_0x4d2d8e[_0x32264e(0x1e2)](_0x32264e(0x1d0),_0x51311d),_0x47f37a[_0x32264e(0x295)](A[_0x32264e(0x2a9)](()=>_0x4d2d8e[_0x32264e(0x133)](_0x32264e(0x1d0),_0x51311d)));})[_0x2604fa(0x228)](V[_0x2604fa(0x1a3)]()),'message$':new V[(_0x2604fa(0xf5))](_0x51c339=>{const _0x401635=_0x2604fa,_0x557168=_0x47bd44=>_0x51c339[_0x401635(0x27c)](_0x47bd44);_0x4d2d8e['addEventListener'](_0x401635(0x270),_0x557168),_0x47f37a[_0x401635(0x295)](A[_0x401635(0x2a9)](()=>_0x4d2d8e[_0x401635(0x133)](_0x401635(0x270),_0x557168)));})[_0x2604fa(0x228)](V[_0x2604fa(0x1a3)]())};}catch(_0x34c61f){return console['error'](_0x34c61f),null;}}};ke=Wt([qt(0x0,A[_0x2201aa(0x274)])],ke);var Gt=Object['defineProperty'],Vt=Object[_0x2201aa(0x239)],Ht=(_0x25e66d,_0x1fd070,_0x44c259)=>_0x1fd070 in _0x25e66d?Gt(_0x25e66d,_0x1fd070,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x44c259}):_0x25e66d[_0x1fd070]=_0x44c259,zt=(_0x52aef2,_0x567e92,_0x436810,_0x3c0547)=>{for(var _0x271145=_0x3c0547>0x1?void 0x0:_0x3c0547?Vt(_0x567e92,_0x436810):_0x567e92,_0x3150e0=_0x52aef2['length']-0x1,_0xc84439;_0x3150e0>=0x0;_0x3150e0--)(_0xc84439=_0x52aef2[_0x3150e0])&&(_0x271145=_0xc84439(_0x271145)||_0x271145);return _0x271145;},Ne=(_0x302d8b,_0x54559c)=>(_0xe00d1c,_0x41df99)=>_0x54559c(_0xe00d1c,_0x41df99,_0x302d8b),Yt=(_0xa734b5,_0x2f5e85,_0xef814b)=>Ht(_0xa734b5,_0x2f5e85+'',_0xef814b);exports[_0x2201aa(0x229)]=class extends A[_0x2201aa(0x142)]{constructor(_0xb6db5f=Ct,_0x12e8bf,_0x26bacc,_0x1a686f){const _0x3feb91=_0x2201aa;_0xb6db5f[_0x3feb91(0x14a)]||_0x12e8bf[_0x3feb91(0x164)](_0x3feb91(0x114)),super(),this[_0x3feb91(0x128)]=_0x26bacc,this[_0x3feb91(0x276)]=_0x1a686f,this[_0x3feb91(0x128)][_0x3feb91(0x266)](fe,_0xb6db5f);}['onStarting'](){const _0x4faa4d=_0x2201aa;this[_0x4faa4d(0x1fc)]();}[_0x2201aa(0x1fc)](){const _0x244ac8=_0x2201aa;A[_0x244ac8(0x261)](this[_0x244ac8(0x276)],[[it[_0x244ac8(0x187)],{'useClass':ke}]]);}},Yt(exports['UniverCollaborationClientNodePlugin'],'pluginName','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports['UniverCollaborationClientNodePlugin']=zt([A[_0x2201aa(0x18e)](st[_0x2201aa(0x184)]),Ne(0x1,A[_0x2201aa(0x17e)]),Ne(0x2,A[_0x2201aa(0x274)]),Ne(0x3,A['Inject'](A[_0x2201aa(0x236)]))],exports['UniverCollaborationClientNodePlugin']);var Kt=Object[_0x2201aa(0x239)],Xt=(_0x3cfd40,_0x3c2f63,_0x40d1d2,_0xe50e2)=>{const _0x500ae8=_0x2201aa;for(var _0x4cbaaf=_0xe50e2>0x1?void 0x0:_0xe50e2?Kt(_0x3c2f63,_0x40d1d2):_0x3c2f63,_0x1fd910=_0x3cfd40[_0x500ae8(0x2a6)]-0x1,_0x33a858;_0x1fd910>=0x0;_0x1fd910--)(_0x33a858=_0x3cfd40[_0x1fd910])&&(_0x4cbaaf=_0x33a858(_0x4cbaaf)||_0x4cbaaf);return _0x4cbaaf;},ne=(_0x4257ef,_0x43804f)=>(_0xb99d0b,_0xb4d1ff)=>_0x43804f(_0xb99d0b,_0xb4d1ff,_0x4257ef);exports[_0x2201aa(0x244)]=class extends st[_0x2201aa(0x16c)]{constructor(_0x54c034,_0x525792,_0x5596c5,_0x4b6cc9,_0x3db870){const _0x2995dd=_0x2201aa;super(_0x54c034,_0x525792,_0x5596c5,_0x4b6cc9,_0x3db870);const _0x487ccc=this[_0x2995dd(0x128)][_0x2995dd(0x172)](fe);this[_0x2995dd(0x283)][_0x2995dd(0x118)]({'interceptor':(_0x3a041d,_0x277a58)=>{const _0x3f9fe0=_0x2995dd;var _0x5c3c91;const _0x471e9c=_0x3a041d['headers'];return(_0x5c3c91=_0x487ccc==null?void 0x0:_0x487ccc['customHeaders'])!=null&&_0x5c3c91['cookie']&&_0x471e9c[_0x3f9fe0(0x181)](_0x3f9fe0(0x101),_0x487ccc[_0x3f9fe0(0x14a)][_0x3f9fe0(0x160)]),_0x277a58(_0x3a041d);}});}async['createSocket'](_0xe8cd){const _0x1e4f95=_0x2201aa;return this[_0x1e4f95(0x1c0)](_0xe8cd);}},exports[_0x2201aa(0x244)]=Xt([ne(0x0,A[_0x2201aa(0x249)](A['Injector'])),ne(0x1,A[_0x2201aa(0x249)](it[_0x2201aa(0x218)])),ne(0x2,A[_0x2201aa(0x274)]),ne(0x3,A[_0x2201aa(0x17e)]),ne(0x4,Ot[_0x2201aa(0x231)])],exports[_0x2201aa(0x244)]),exports[_0x2201aa(0x28e)]=fe;
1
+ 'use strict';const _0x4dcda1=_0x338f;(function(_0x37eef5,_0x3f2279){const _0x37c144=_0x338f,_0x57376c=_0x37eef5();while(!![]){try{const _0xa88a42=parseInt(_0x37c144(0x250))/0x1*(parseInt(_0x37c144(0xeb))/0x2)+parseInt(_0x37c144(0x281))/0x3+parseInt(_0x37c144(0x1d7))/0x4*(parseInt(_0x37c144(0x160))/0x5)+-parseInt(_0x37c144(0x2ae))/0x6+-parseInt(_0x37c144(0x2a3))/0x7+parseInt(_0x37c144(0x23d))/0x8+-parseInt(_0x37c144(0x12d))/0x9;if(_0xa88a42===_0x3f2279)break;else _0x57376c['push'](_0x57376c['shift']());}catch(_0x29d91f){_0x57376c['push'](_0x57376c['shift']());}}}(_0x6d52,0xd9225));Object[_0x4dcda1(0xfc)](exports,Symbol[_0x4dcda1(0x267)],{'value':_0x4dcda1(0xf2)});const st=require('@univerjs-pro/collaboration-client'),A=require(_0x4dcda1(0x166)),it=require(_0x4dcda1(0x24e)),V=require(_0x4dcda1(0x2aa)),nt=require(_0x4dcda1(0x254)),vt=require(_0x4dcda1(0x1b0)),ot=require('http'),St=require(_0x4dcda1(0xf0)),Et=require(_0x4dcda1(0x278)),Le=require(_0x4dcda1(0x18b)),oe=require(_0x4dcda1(0x214)),xt=require('url'),bt=require(_0x4dcda1(0x191)),wt=require(_0x4dcda1(0x27a)),Ot=require(_0x4dcda1(0x222)),fe=_0x4dcda1(0x140),Ct={'customHeaders':{}};function Tt(_0x579a1e){const _0x3b4756=_0x4dcda1;return _0x579a1e&&_0x579a1e[_0x3b4756(0x25d)]&&Object[_0x3b4756(0x1b8)][_0x3b4756(0x184)][_0x3b4756(0x116)](_0x579a1e,_0x3b4756(0x240))?_0x579a1e[_0x3b4756(0x240)]:_0x579a1e;}function at(_0x59fb80){const _0x5e3b09=_0x4dcda1;if(Object['prototype']['hasOwnProperty'][_0x5e3b09(0x116)](_0x59fb80,_0x5e3b09(0x25d)))return _0x59fb80;var _0x1a2731=_0x59fb80[_0x5e3b09(0x240)];if(typeof _0x1a2731=='function'){var _0x9d4192=function _0x5070ae(){const _0x24b56c=_0x5e3b09;return this instanceof _0x5070ae?Reflect['construct'](_0x1a2731,arguments,this['constructor']):_0x1a2731[_0x24b56c(0x1e3)](this,arguments);};_0x9d4192['prototype']=_0x1a2731[_0x5e3b09(0x1b8)];}else _0x9d4192={};return Object[_0x5e3b09(0xfc)](_0x9d4192,'__esModule',{'value':!0x0}),Object[_0x5e3b09(0x251)](_0x59fb80)[_0x5e3b09(0x292)](function(_0x2c6ae5){const _0xd1b13c=_0x5e3b09;var _0x33537d=Object[_0xd1b13c(0x29e)](_0x59fb80,_0x2c6ae5);Object[_0xd1b13c(0xfc)](_0x9d4192,_0x2c6ae5,_0x33537d[_0xd1b13c(0x1fc)]?_0x33537d:{'enumerable':!0x0,'get':function(){return _0x59fb80[_0x2c6ae5];}});}),_0x9d4192;}var se={'exports':{}},ge,Ge;function H(){const _0x12edd5=_0x4dcda1;if(Ge)return ge;Ge=0x1;const _0xf9bf1=[_0x12edd5(0x233),_0x12edd5(0x201),'fragments'],_0x54f512=typeof Blob<'u';return _0x54f512&&_0xf9bf1[_0x12edd5(0x1a1)](_0x12edd5(0x194)),ge={'BINARY_TYPES':_0xf9bf1,'EMPTY_BUFFER':Buffer[_0x12edd5(0x230)](0x0),'GUID':_0x12edd5(0x10c),'hasBlob':_0x54f512,'kForOnEventAttribute':Symbol(_0x12edd5(0x124)),'kListener':Symbol(_0x12edd5(0x10d)),'kStatusCode':Symbol(_0x12edd5(0x252)),'kWebSocket':Symbol(_0x12edd5(0xf6)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x4dcda1(0x18a)](Object[_0x4dcda1(0xfc)]({'__proto__':null,'default':Nt},Symbol[_0x4dcda1(0x267)],{'value':_0x4dcda1(0xf2)})),Lt=at(kt);function _0x6d52(){const _0x22965b=['4932908sVGnKu','_allowSynchronousEvents','_queue','exports','onStarting','OPEN','end','registerDependencies','message','rsv1','wasClean','update','apply','pipe','setHeader','WS_ERR_UNEXPECTED_MASK','_max_window_bits','UniverCollaborationClientPlugin','zlibInflateOptions','location','ISnapshotServerService','_destroy','HTTP/1.1\x20101\x20Switching\x20Protocols','MASK\x20must\x20be\x20set','set','Unexpected\x20character\x20at\x20index\x20','\x22\x20subprotocol\x20is\x20duplicated','env','_registerDependencies','headers','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','socketPath','_errored','CollaborationSocketService','parse','getConfig','search','get','method','port','listenerCount','drain','arraybuffer','_receiver','permessage-deflate','_errorEmitted','values','_fin','createInflateRaw','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','delete','createConnection','reason','zlibDeflateOptions','serverMaxWindowBits','open','_sender','_originalIpc','ILogService','allowSynchronousEvents','_paused','stream','defaultPort','Origin','invalid\x20UTF-8\x20sequence','setTimeout','_readyState','WS_ERR_EXPECTED_FIN','clientMaxWindowBits','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','invalid\x20opcode\x200','WS_ERR_UNEXPECTED_RSV_1','_state','compress','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','@univerjs-pro/collaboration','concurrencyLimit','createServer','species','client_max_window_bits','readUInt32BE','_closeFrameReceived','_masked','\x0d\x0a\x0d\x0a','finish','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','maxRedirects','finished','DisposableCollection','alloc','IConfigService','clientTracking','nodebuffer','isInteger','shift','_inflate','_buffers','Sec-WebSocket-Extensions','url','createDeflateRaw','onmessage','kRun','418704PMJxss','WebSocket\x20is\x20not\x20open:\x20readyState\x20','unshift','default','client','toLowerCase','create','sec-websocket-extensions','join','_httpService','Z_DEFAULT_WINDOWBITS','listeners','NodeCollaborationSocketService','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','kType','unexpected-response','sec-websocket-protocol','@univerjs/network','createError','83OtDtBU','keys','status-code','perMessageDeflate','events','_firstFragment','setSocket','function','isServer','_fragmented','host','jobs','serverNoContextTakeover','__esModule','\x22:\x20','upgrade','_url','invalid\x20opcode\x20','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','handshakeTimeout','_redirects','cork','path','toStringTag','ws+unix:','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','FIN\x20must\x20be\x20set','Plugin','finishRequest','map','autoPong','username','_originalSecure','_writableState','code','onerror','invalid\x20payload\x20length\x20','_generateMask','_deflate','writeUInt16BE','tls','Z_SYNC_FLUSH','buffer','kReason','getBlobData','startLoop','extensions','noServer','readUInt16BE','5238528BEgCCV','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','digest','emitClose','_removeListeners','_socket','string','normalizeParams','total-length','getMask','timeout','completeUpgrade','server_no_context_takeover','emit','authorization','CLOSED','_skipUTF8Validation','forEach','onclose','WS_NO_UTF_8_VALIDATE','conclude','Unknown\x20parameter\x20\x22','verifyClient','kError','_fragments','\x22\x20must\x20have\x20only\x20a\x20single\x20value','acceptAsClient','CLOSING','_shouldEmitClose','getOwnPropertyDescriptor','http:','data','_closeCode','charCodeAt','2914919nZEtKv','size','https:','Basic\x20','_extensions','_protocol','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','rxjs','setConfig','_loop','_configService','6737664rBDqaa','WS_ERR_INVALID_UTF8','destroyed','decompress','14774QvYymg','flush','WS_ERR_EXPECTED_MASK','writable','hostname','net','followRedirects','Module','endEmitted','pause','objectMode','websocket','_opcode','threshold','protocol','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','_threshold','defineProperty','share','warn','text/plain','mask','options','kTarget','handleEvent','fin','consume','_write','close','errorEmitted','wss:','send','abort','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','kListener','_compress','byteLength','UniverCollaborationClientNodePlugin','indexOf','_decompress','Sec-WebSocket-Accept:\x20','opcode','customHeaders','call','Sec-WebSocket-Extensions:\x20','WS_NO_BUFFER_UTIL','controlMessage','addEventListener','clientNoContextTakeover','Injector','enqueue','_doCreateSocket','_closeFrameSent','server','Observable','Invalid\x20Upgrade\x20header','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','kIsForOnEventAttribute','removeEventListener','read','auth','socket','ws:','Invalid\x20Sec-WebSocket-Extensions\x20header','href','pong','10945080iescLG','sendFrame','isArray','value','dispatch','format','find','nextTick','binaryType','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','slice','bind','_no_context_takeover','type','_options','once','target','onopen','from','collaboration-client-node.config','_bufferedBytes','isIP','toDisposable','captureStackTrace','_messageLength','generateMask','Max\x20payload\x20size\x20exceeded','kDone','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','Opening\x20handshake\x20has\x20timed\x20out','_server','dataMessage','length','skipUTF8Validation','frame','startsWith','text/html','_closeTimer','getPayloadLength16','replace','RSV1\x20must\x20be\x20clear','The\x20URL\x20contains\x20a\x20fragment\x20identifier','origin','connect','params','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','Cookie','connection','reset','unmask','number','5uqBKPX','encrypted','_payloadLength','maxPayload','pow','The\x20URL\x27s\x20pathname\x20is\x20empty','@univerjs/core','_injector','kWasClean','extensionName','Invalid\x20URL:\x20','getData','invalid\x20status\x20code\x20','password','_originalHostOrSocketPath','Invalid\x20value\x20for\x20parameter\x20\x22','callback','getInfo','add','destroy','registerHTTPInterceptor','STATUS_CODES','handleProtocols','removeListener','Sec-WebSocket-Origin','concat','write','_totalPayloadLength','sha1','WS_ERR_INVALID_OPCODE','GET','_closeMessage','MASK\x20must\x20be\x20clear','has','setNoDelay','server_max_window_bits','hasOwnProperty','Invalid\x20WebSocket\x20frame:\x20','isPaused','CONNECTING','_final','base64','freeze','crypto','The\x20\x22','_read','readable','clients','_bufferedAmount','zlib','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','blob','wsClientError','ISocketService','acceptAsServer','_isServer','_mask','File','resume','Blob','Inject','_compressed','_maskBuffer','redirect','push','toString','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','cleanup','hash','binary','listen','byteOffset','_readableState','protocolVersion','pending','request','object','address','isValidUTF8','https','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','ping','readyState','_binaryType','then','_autoPong','servername','prototype','includes','error','Invalid\x20HTTP\x20method','concurrency','backlog','listening','kByteLength','haveLength','Parameter\x20\x22','split','allocUnsafe','arrayBuffer','_maxPayload','offer','bufferedAmount','sec-websocket-version','dequeue','COLLABORATION_CLIENT_NODE_CONFIG_KEY','_req','statusCode','readOnly','client_no_context_takeover','entries','shouldHandle','accept','next','writeUIntBE','getPayloadLength64','writeHead','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)'];_0x6d52=function(){return _0x22965b;};return _0x6d52();}var Ve;function ce(){const _0x1ca609=_0x4dcda1;if(Ve)return se[_0x1ca609(0x1da)];Ve=0x1;const {EMPTY_BUFFER:_0x1920c6}=H(),_0x4be361=Buffer[Symbol[_0x1ca609(0x225)]];function _0x4b80d2(_0x3996f5,_0x5155fe){const _0x40aeea=_0x1ca609;if(_0x3996f5['length']===0x0)return _0x1920c6;if(_0x3996f5[_0x40aeea(0x14d)]===0x1)return _0x3996f5[0x0];const _0x2dc801=Buffer[_0x40aeea(0x1c3)](_0x5155fe);let _0xd91189=0x0;for(let _0x474c54=0x0;_0x474c54<_0x3996f5[_0x40aeea(0x14d)];_0x474c54++){const _0x1326df=_0x3996f5[_0x474c54];_0x2dc801[_0x40aeea(0x1ef)](_0x1326df,_0xd91189),_0xd91189+=_0x1326df[_0x40aeea(0x14d)];}return _0xd91189<_0x5155fe?new _0x4be361(_0x2dc801[_0x40aeea(0x27a)],_0x2dc801[_0x40aeea(0x1a8)],_0xd91189):_0x2dc801;}function _0x1f7212(_0x4440d4,_0x2261fd,_0x1b3b36,_0xa3fa7b,_0x5287c6){for(let _0x306a8d=0x0;_0x306a8d<_0x5287c6;_0x306a8d++)_0x1b3b36[_0xa3fa7b+_0x306a8d]=_0x4440d4[_0x306a8d]^_0x2261fd[_0x306a8d&0x3];}function _0x438f8b(_0x2d4637,_0x49bcb2){const _0x3db44c=_0x1ca609;for(let _0x4a7012=0x0;_0x4a7012<_0x2d4637[_0x3db44c(0x14d)];_0x4a7012++)_0x2d4637[_0x4a7012]^=_0x49bcb2[_0x4a7012&0x3];}function _0x43ff41(_0x323aa2){const _0x49acc4=_0x1ca609;return _0x323aa2[_0x49acc4(0x14d)]===_0x323aa2[_0x49acc4(0x27a)][_0x49acc4(0x10f)]?_0x323aa2[_0x49acc4(0x27a)]:_0x323aa2['buffer'][_0x49acc4(0x137)](_0x323aa2[_0x49acc4(0x1a8)],_0x323aa2[_0x49acc4(0x1a8)]+_0x323aa2[_0x49acc4(0x14d)]);}function _0x2bf2e0(_0x2f8866){const _0x59d380=_0x1ca609;if(_0x2bf2e0[_0x59d380(0x1cd)]=!0x0,Buffer['isBuffer'](_0x2f8866))return _0x2f8866;let _0x527048;return _0x2f8866 instanceof ArrayBuffer?_0x527048=new _0x4be361(_0x2f8866):ArrayBuffer['isView'](_0x2f8866)?_0x527048=new _0x4be361(_0x2f8866[_0x59d380(0x27a)],_0x2f8866[_0x59d380(0x1a8)],_0x2f8866['byteLength']):(_0x527048=Buffer[_0x59d380(0x13f)](_0x2f8866),_0x2bf2e0[_0x59d380(0x1cd)]=!0x1),_0x527048;}if(se[_0x1ca609(0x1da)]={'concat':_0x4b80d2,'mask':_0x1f7212,'toArrayBuffer':_0x43ff41,'toBuffer':_0x2bf2e0,'unmask':_0x438f8b},!process['env'][_0x1ca609(0x118)])try{const _0x208817=Lt;se[_0x1ca609(0x1da)][_0x1ca609(0x100)]=function(_0x44bf49,_0x624651,_0x280d13,_0x3b6230,_0x1e85d2){const _0x52478b=_0x1ca609;_0x1e85d2<0x30?_0x1f7212(_0x44bf49,_0x624651,_0x280d13,_0x3b6230,_0x1e85d2):_0x208817[_0x52478b(0x100)](_0x44bf49,_0x624651,_0x280d13,_0x3b6230,_0x1e85d2);},se['exports'][_0x1ca609(0x15e)]=function(_0x3b01,_0x2ad7de){const _0x9e615e=_0x1ca609;_0x3b01['length']<0x20?_0x438f8b(_0x3b01,_0x2ad7de):_0x208817[_0x9e615e(0x15e)](_0x3b01,_0x2ad7de);};}catch{}return se[_0x1ca609(0x1da)];}var ye,He;function Pt(){const _0x2568ab=_0x4dcda1;if(He)return ye;He=0x1;const _0x30131b=Symbol(_0x2568ab(0x148)),_0x12b352=Symbol(_0x2568ab(0x23c));class _0x365ae5{constructor(_0x838e89){const _0x567958=_0x2568ab;this[_0x30131b]=()=>{const _0x3ed16d=_0x338f;this[_0x3ed16d(0x1ab)]--,this[_0x12b352]();},this[_0x567958(0x1bc)]=_0x838e89||0x1/0x0,this['jobs']=[],this[_0x567958(0x1ab)]=0x0;}[_0x2568ab(0x172)](_0x427bad){const _0x2802e4=_0x2568ab;this[_0x2802e4(0x25b)]['push'](_0x427bad),this[_0x12b352]();}[_0x12b352](){const _0x11e994=_0x2568ab;if(this[_0x11e994(0x1ab)]!==this[_0x11e994(0x1bc)]&&this[_0x11e994(0x25b)][_0x11e994(0x14d)]){const _0x51b32a=this[_0x11e994(0x25b)][_0x11e994(0x235)]();this[_0x11e994(0x1ab)]++,_0x51b32a(this[_0x30131b]);}}}return ye=_0x365ae5,ye;}var ve,ze;function he(){const _0x5d5d47=_0x4dcda1;if(ze)return ve;ze=0x1;const _0x54fd30=bt,_0x532ae3=ce(),_0x46c65d=Pt(),{kStatusCode:_0x140d0e}=H(),_0x1edd6e=Buffer[Symbol['species']],_0x529c3a=Buffer[_0x5d5d47(0x13f)]([0x0,0x0,0xff,0xff]),_0x362543=Symbol(_0x5d5d47(0x203)),_0x1ba987=Symbol(_0x5d5d47(0x289)),_0x1efaaf=Symbol(_0x5d5d47(0x170)),_0x4c10ca=Symbol('buffers'),_0x559e2b=Symbol(_0x5d5d47(0x1ba));let _0x2e8a4e;class _0x4923e4{constructor(_0x1c502d,_0xf1eb0f,_0x3fab18){const _0x4c554e=_0x5d5d47;if(this[_0x4c554e(0x1c5)]=_0x3fab18|0x0,this[_0x4c554e(0x13b)]=_0x1c502d||{},this[_0x4c554e(0xfb)]=this[_0x4c554e(0x13b)][_0x4c554e(0xf8)]!==void 0x0?this[_0x4c554e(0x13b)][_0x4c554e(0xf8)]:0x400,this[_0x4c554e(0x198)]=!!_0xf1eb0f,this[_0x4c554e(0x276)]=null,this['_inflate']=null,this[_0x4c554e(0x159)]=null,!_0x2e8a4e){const _0x530535=this[_0x4c554e(0x13b)][_0x4c554e(0x223)]!==void 0x0?this['_options']['concurrencyLimit']:0xa;_0x2e8a4e=new _0x46c65d(_0x530535);}}static get[_0x5d5d47(0x169)](){const _0x22b02b=_0x5d5d47;return _0x22b02b(0x203);}[_0x5d5d47(0x1c6)](){const _0x3121fe=_0x5d5d47,_0x2baf7f={};return this[_0x3121fe(0x13b)]['serverNoContextTakeover']&&(_0x2baf7f[_0x3121fe(0x28d)]=!0x0),this[_0x3121fe(0x13b)][_0x3121fe(0x11b)]&&(_0x2baf7f[_0x3121fe(0x1ce)]=!0x0),this['_options']['serverMaxWindowBits']&&(_0x2baf7f[_0x3121fe(0x183)]=this[_0x3121fe(0x13b)][_0x3121fe(0x20d)]),this[_0x3121fe(0x13b)]['clientMaxWindowBits']?_0x2baf7f['client_max_window_bits']=this[_0x3121fe(0x13b)][_0x3121fe(0x21b)]:this['_options'][_0x3121fe(0x21b)]==null&&(_0x2baf7f[_0x3121fe(0x226)]=!0x0),_0x2baf7f;}[_0x5d5d47(0x1d1)](_0x21af34){const _0x55fc10=_0x5d5d47;return _0x21af34=this[_0x55fc10(0x288)](_0x21af34),this[_0x55fc10(0x159)]=this[_0x55fc10(0x198)]?this['acceptAsServer'](_0x21af34):this[_0x55fc10(0x29b)](_0x21af34),this['params'];}[_0x5d5d47(0x1a4)](){const _0x3d0e46=_0x5d5d47;if(this[_0x3d0e46(0x236)]&&(this['_inflate'][_0x3d0e46(0x107)](),this['_inflate']=null),this[_0x3d0e46(0x276)]){const _0x50f7b7=this[_0x3d0e46(0x276)][_0x1efaaf];this['_deflate'][_0x3d0e46(0x107)](),this[_0x3d0e46(0x276)]=null,_0x50f7b7&&_0x50f7b7(new Error(_0x3d0e46(0x22c)));}}[_0x5d5d47(0x197)](_0x4dbe43){const _0x13b45a=_0x5d5d47,_0x465c7b=this[_0x13b45a(0x13b)],_0x1d391a=_0x4dbe43[_0x13b45a(0x133)](_0x5a686b=>!(_0x465c7b[_0x13b45a(0x25c)]===!0x1&&_0x5a686b[_0x13b45a(0x28d)]||_0x5a686b['server_max_window_bits']&&(_0x465c7b[_0x13b45a(0x20d)]===!0x1||typeof _0x465c7b['serverMaxWindowBits']==_0x13b45a(0x15f)&&_0x465c7b[_0x13b45a(0x20d)]>_0x5a686b[_0x13b45a(0x183)])||typeof _0x465c7b[_0x13b45a(0x21b)]==_0x13b45a(0x15f)&&!_0x5a686b['client_max_window_bits']));if(!_0x1d391a)throw new Error(_0x13b45a(0x2a9));return _0x465c7b[_0x13b45a(0x25c)]&&(_0x1d391a[_0x13b45a(0x28d)]=!0x0),_0x465c7b['clientNoContextTakeover']&&(_0x1d391a[_0x13b45a(0x1ce)]=!0x0),typeof _0x465c7b[_0x13b45a(0x20d)]==_0x13b45a(0x15f)&&(_0x1d391a['server_max_window_bits']=_0x465c7b['serverMaxWindowBits']),typeof _0x465c7b[_0x13b45a(0x21b)]=='number'?_0x1d391a[_0x13b45a(0x226)]=_0x465c7b[_0x13b45a(0x21b)]:(_0x1d391a[_0x13b45a(0x226)]===!0x0||_0x465c7b['clientMaxWindowBits']===!0x1)&&delete _0x1d391a['client_max_window_bits'],_0x1d391a;}['acceptAsClient'](_0x2245ce){const _0x2678e2=_0x5d5d47,_0x548e7e=_0x2245ce[0x0];if(this[_0x2678e2(0x13b)][_0x2678e2(0x11b)]===!0x1&&_0x548e7e['client_no_context_takeover'])throw new Error(_0x2678e2(0x136));if(!_0x548e7e[_0x2678e2(0x226)])typeof this[_0x2678e2(0x13b)][_0x2678e2(0x21b)]==_0x2678e2(0x15f)&&(_0x548e7e['client_max_window_bits']=this[_0x2678e2(0x13b)][_0x2678e2(0x21b)]);else{if(this['_options'][_0x2678e2(0x21b)]===!0x1||typeof this[_0x2678e2(0x13b)]['clientMaxWindowBits']=='number'&&_0x548e7e[_0x2678e2(0x226)]>this[_0x2678e2(0x13b)][_0x2678e2(0x21b)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x548e7e;}[_0x5d5d47(0x288)](_0x3fb185){return _0x3fb185['forEach'](_0x10f6c2=>{const _0x20b6b8=_0x338f;Object[_0x20b6b8(0x251)](_0x10f6c2)[_0x20b6b8(0x292)](_0xa8a5ef=>{const _0x184c64=_0x20b6b8;let _0x5755bd=_0x10f6c2[_0xa8a5ef];if(_0x5755bd[_0x184c64(0x14d)]>0x1)throw new Error(_0x184c64(0x1c1)+_0xa8a5ef+_0x184c64(0x29a));if(_0x5755bd=_0x5755bd[0x0],_0xa8a5ef===_0x184c64(0x226)){if(_0x5755bd!==!0x0){const _0x1a8d0b=+_0x5755bd;if(!Number[_0x184c64(0x234)](_0x1a8d0b)||_0x1a8d0b<0x8||_0x1a8d0b>0xf)throw new TypeError(_0x184c64(0x16f)+_0xa8a5ef+_0x184c64(0x25e)+_0x5755bd);_0x5755bd=_0x1a8d0b;}else{if(!this[_0x184c64(0x198)])throw new TypeError(_0x184c64(0x16f)+_0xa8a5ef+_0x184c64(0x25e)+_0x5755bd);}}else{if(_0xa8a5ef===_0x184c64(0x183)){const _0x19dd16=+_0x5755bd;if(!Number[_0x184c64(0x234)](_0x19dd16)||_0x19dd16<0x8||_0x19dd16>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0xa8a5ef+'\x22:\x20'+_0x5755bd);_0x5755bd=_0x19dd16;}else{if(_0xa8a5ef===_0x184c64(0x1ce)||_0xa8a5ef===_0x184c64(0x28d)){if(_0x5755bd!==!0x0)throw new TypeError(_0x184c64(0x16f)+_0xa8a5ef+_0x184c64(0x25e)+_0x5755bd);}else throw new Error(_0x184c64(0x296)+_0xa8a5ef+'\x22');}}_0x10f6c2[_0xa8a5ef]=_0x5755bd;});}),_0x3fb185;}[_0x5d5d47(0x2b1)](_0xdb9977,_0x248042,_0x335bbd){_0x2e8a4e['add'](_0xa2938=>{const _0x241608=_0x338f;this[_0x241608(0x112)](_0xdb9977,_0x248042,(_0xed3df0,_0x33a51b)=>{_0xa2938(),_0x335bbd(_0xed3df0,_0x33a51b);});});}['compress'](_0x485799,_0x295bdf,_0xd3a82c){const _0x3c8417=_0x5d5d47;_0x2e8a4e[_0x3c8417(0x172)](_0x1dc742=>{const _0x298aca=_0x3c8417;this[_0x298aca(0x10e)](_0x485799,_0x295bdf,(_0x51b691,_0x4b8cfc)=>{_0x1dc742(),_0xd3a82c(_0x51b691,_0x4b8cfc);});});}[_0x5d5d47(0x112)](_0x1afcea,_0x4a9a0b,_0x59ee82){const _0x2ff326=_0x5d5d47,_0x8f953d=this['_isServer']?'client':_0x2ff326(0x120);if(!this[_0x2ff326(0x236)]){const _0x5e6332=_0x8f953d+'_max_window_bits',_0x438470=typeof this[_0x2ff326(0x159)][_0x5e6332]!=_0x2ff326(0x15f)?_0x54fd30['Z_DEFAULT_WINDOWBITS']:this[_0x2ff326(0x159)][_0x5e6332];this['_inflate']=_0x54fd30[_0x2ff326(0x207)]({...this[_0x2ff326(0x13b)][_0x2ff326(0x1e9)],'windowBits':_0x438470}),this[_0x2ff326(0x236)][_0x362543]=this,this[_0x2ff326(0x236)][_0x1ba987]=0x0,this[_0x2ff326(0x236)][_0x4c10ca]=[],this[_0x2ff326(0x236)]['on'](_0x2ff326(0x1ba),_0x24b7c3),this[_0x2ff326(0x236)]['on'](_0x2ff326(0x2a0),_0x3cf25f);}this['_inflate'][_0x1efaaf]=_0x59ee82,this[_0x2ff326(0x236)][_0x2ff326(0x17a)](_0x1afcea),_0x4a9a0b&&this[_0x2ff326(0x236)]['write'](_0x529c3a),this[_0x2ff326(0x236)][_0x2ff326(0xec)](()=>{const _0x586a4c=_0x2ff326,_0x5009a7=this[_0x586a4c(0x236)][_0x559e2b];if(_0x5009a7){this[_0x586a4c(0x236)]['close'](),this[_0x586a4c(0x236)]=null,_0x59ee82(_0x5009a7);return;}const _0x571f9=_0x532ae3[_0x586a4c(0x179)](this['_inflate'][_0x4c10ca],this[_0x586a4c(0x236)][_0x1ba987]);this[_0x586a4c(0x236)][_0x586a4c(0x1a9)]['endEmitted']?(this[_0x586a4c(0x236)][_0x586a4c(0x107)](),this['_inflate']=null):(this[_0x586a4c(0x236)][_0x1ba987]=0x0,this[_0x586a4c(0x236)][_0x4c10ca]=[],_0x4a9a0b&&this['params'][_0x8f953d+_0x586a4c(0x139)]&&this['_inflate'][_0x586a4c(0x15d)]()),_0x59ee82(null,_0x571f9);});}[_0x5d5d47(0x10e)](_0x3f92bd,_0x1d5e50,_0x448f21){const _0x3be4d8=_0x5d5d47,_0x15d005=this['_isServer']?'server':_0x3be4d8(0x241);if(!this['_deflate']){const _0x2920f4=_0x15d005+_0x3be4d8(0x1e7),_0x20e526=typeof this[_0x3be4d8(0x159)][_0x2920f4]!=_0x3be4d8(0x15f)?_0x54fd30[_0x3be4d8(0x247)]:this[_0x3be4d8(0x159)][_0x2920f4];this['_deflate']=_0x54fd30[_0x3be4d8(0x23a)]({...this[_0x3be4d8(0x13b)][_0x3be4d8(0x20c)],'windowBits':_0x20e526}),this[_0x3be4d8(0x276)][_0x1ba987]=0x0,this[_0x3be4d8(0x276)][_0x4c10ca]=[],this[_0x3be4d8(0x276)]['on'](_0x3be4d8(0x2a0),_0x505ed9);}this['_deflate'][_0x1efaaf]=_0x448f21,this[_0x3be4d8(0x276)][_0x3be4d8(0x17a)](_0x3f92bd),this[_0x3be4d8(0x276)][_0x3be4d8(0xec)](_0x54fd30[_0x3be4d8(0x279)],()=>{const _0x316014=_0x3be4d8;if(!this[_0x316014(0x276)])return;let _0x13b852=_0x532ae3['concat'](this['_deflate'][_0x4c10ca],this['_deflate'][_0x1ba987]);_0x1d5e50&&(_0x13b852=new _0x1edd6e(_0x13b852[_0x316014(0x27a)],_0x13b852[_0x316014(0x1a8)],_0x13b852[_0x316014(0x14d)]-0x4)),this[_0x316014(0x276)][_0x1efaaf]=null,this['_deflate'][_0x1ba987]=0x0,this[_0x316014(0x276)][_0x4c10ca]=[],_0x1d5e50&&this['params'][_0x15d005+'_no_context_takeover']&&this[_0x316014(0x276)][_0x316014(0x15d)](),_0x448f21(null,_0x13b852);});}}ve=_0x4923e4;function _0x505ed9(_0x19c919){this[_0x4c10ca]['push'](_0x19c919),this[_0x1ba987]+=_0x19c919['length'];}function _0x3cf25f(_0x380cdb){const _0x43438c=_0x5d5d47;if(this[_0x1ba987]+=_0x380cdb[_0x43438c(0x14d)],this[_0x362543][_0x43438c(0x1c5)]<0x1||this[_0x1ba987]<=this[_0x362543][_0x43438c(0x1c5)]){this[_0x4c10ca]['push'](_0x380cdb);return;}this[_0x559e2b]=new RangeError(_0x43438c(0x147)),this[_0x559e2b][_0x43438c(0x272)]=_0x43438c(0x1b1),this[_0x559e2b][_0x140d0e]=0x3f1,this['removeListener'](_0x43438c(0x2a0),_0x3cf25f),this[_0x43438c(0x15d)]();}function _0x24b7c3(_0x52fe83){const _0xc8928=_0x5d5d47;if(this[_0x362543][_0xc8928(0x236)]=null,this[_0x559e2b]){this[_0x1efaaf](this[_0x559e2b]);return;}_0x52fe83[_0x140d0e]=0x3ef,this[_0x1efaaf](_0x52fe83);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object[_0x4dcda1(0xfc)]({'__proto__':null,'default':Dt},Symbol[_0x4dcda1(0x267)],{'value':'Module'})),Bt=at(Rt);var Ye;function ae(){const _0x3c69da=_0x4dcda1;if(Ye)return ie['exports'];Ye=0x1;const {isUtf8:_0xb3773e}=wt,{hasBlob:_0x320192}=H(),_0x4545db=[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 _0x1bfb98(_0x4e5f4c){return _0x4e5f4c>=0x3e8&&_0x4e5f4c<=0x3f6&&_0x4e5f4c!==0x3ec&&_0x4e5f4c!==0x3ed&&_0x4e5f4c!==0x3ee||_0x4e5f4c>=0xbb8&&_0x4e5f4c<=0x1387;}function _0x5f4c92(_0x587707){const _0x5d9b3e=_0x338f,_0x13094d=_0x587707[_0x5d9b3e(0x14d)];let _0x476c38=0x0;for(;_0x476c38<_0x13094d;)if((_0x587707[_0x476c38]&0x80)===0x0)_0x476c38++;else{if((_0x587707[_0x476c38]&0xe0)===0xc0){if(_0x476c38+0x1===_0x13094d||(_0x587707[_0x476c38+0x1]&0xc0)!==0x80||(_0x587707[_0x476c38]&0xfe)===0xc0)return!0x1;_0x476c38+=0x2;}else{if((_0x587707[_0x476c38]&0xf0)===0xe0){if(_0x476c38+0x2>=_0x13094d||(_0x587707[_0x476c38+0x1]&0xc0)!==0x80||(_0x587707[_0x476c38+0x2]&0xc0)!==0x80||_0x587707[_0x476c38]===0xe0&&(_0x587707[_0x476c38+0x1]&0xe0)===0x80||_0x587707[_0x476c38]===0xed&&(_0x587707[_0x476c38+0x1]&0xe0)===0xa0)return!0x1;_0x476c38+=0x3;}else{if((_0x587707[_0x476c38]&0xf8)===0xf0){if(_0x476c38+0x3>=_0x13094d||(_0x587707[_0x476c38+0x1]&0xc0)!==0x80||(_0x587707[_0x476c38+0x2]&0xc0)!==0x80||(_0x587707[_0x476c38+0x3]&0xc0)!==0x80||_0x587707[_0x476c38]===0xf0&&(_0x587707[_0x476c38+0x1]&0xf0)===0x80||_0x587707[_0x476c38]===0xf4&&_0x587707[_0x476c38+0x1]>0x8f||_0x587707[_0x476c38]>0xf4)return!0x1;_0x476c38+=0x4;}else return!0x1;}}}return!0x0;}function _0xab24fa(_0xffa295){const _0x3e8129=_0x338f;return _0x320192&&typeof _0xffa295=='object'&&typeof _0xffa295[_0x3e8129(0x1c4)]=='function'&&typeof _0xffa295[_0x3e8129(0x13a)]==_0x3e8129(0x287)&&typeof _0xffa295[_0x3e8129(0x214)]==_0x3e8129(0x257)&&(_0xffa295[Symbol[_0x3e8129(0x267)]]===_0x3e8129(0x19c)||_0xffa295[Symbol[_0x3e8129(0x267)]]===_0x3e8129(0x19a));}if(ie[_0x3c69da(0x1da)]={'isBlob':_0xab24fa,'isValidStatusCode':_0x1bfb98,'isValidUTF8':_0x5f4c92,'tokenChars':_0x4545db},_0xb3773e)ie[_0x3c69da(0x1da)]['isValidUTF8']=function(_0x108977){const _0x498966=_0x3c69da;return _0x108977[_0x498966(0x14d)]<0x18?_0x5f4c92(_0x108977):_0xb3773e(_0x108977);};else{if(!process[_0x3c69da(0x1f2)][_0x3c69da(0x294)])try{const _0x54b0cd=Bt;ie['exports'][_0x3c69da(0x1af)]=function(_0x5882bf){const _0x1d84cb=_0x3c69da;return _0x5882bf[_0x1d84cb(0x14d)]<0x20?_0x5f4c92(_0x5882bf):_0x54b0cd(_0x5882bf);};}catch{}}return ie[_0x3c69da(0x1da)];}var Se,Ke;function lt(){const _0x306fad=_0x4dcda1;if(Ke)return Se;Ke=0x1;const {Writable:_0x15e624}=oe,_0x43f760=he(),{BINARY_TYPES:_0x2d811a,EMPTY_BUFFER:_0x2b263c,kStatusCode:_0x4f3a77,kWebSocket:_0x76e7b5}=H(),{concat:_0x2e84cf,toArrayBuffer:_0x108465,unmask:_0xc94415}=ce(),{isValidStatusCode:_0x42016e,isValidUTF8:_0x121028}=ae(),_0x534887=Buffer[Symbol[_0x306fad(0x225)]],_0x242f49=0x0,_0x4bae8f=0x1,_0x456351=0x2,_0x308db8=0x3,_0x24ae30=0x4,_0x15d04e=0x5,_0x1d7780=0x6;class _0x2d3c15 extends _0x15e624{constructor(_0x2b8343={}){const _0x363302=_0x306fad;super(),this[_0x363302(0x1d8)]=_0x2b8343[_0x363302(0x212)]!==void 0x0?_0x2b8343['allowSynchronousEvents']:!0x0,this[_0x363302(0x1b4)]=_0x2b8343[_0x363302(0x135)]||_0x2d811a[0x0],this['_extensions']=_0x2b8343[_0x363302(0x27e)]||{},this[_0x363302(0x198)]=!!_0x2b8343[_0x363302(0x258)],this[_0x363302(0x1c5)]=_0x2b8343['maxPayload']|0x0,this[_0x363302(0x291)]=!!_0x2b8343['skipUTF8Validation'],this[_0x76e7b5]=void 0x0,this['_bufferedBytes']=0x0,this['_buffers']=[],this[_0x363302(0x19e)]=!0x1,this['_payloadLength']=0x0,this[_0x363302(0x199)]=void 0x0,this['_fragmented']=0x0,this[_0x363302(0x229)]=!0x1,this[_0x363302(0x206)]=!0x1,this[_0x363302(0xf7)]=0x0,this[_0x363302(0x17b)]=0x0,this[_0x363302(0x145)]=0x0,this[_0x363302(0x299)]=[],this[_0x363302(0x1f7)]=!0x1,this['_loop']=!0x1,this[_0x363302(0x21f)]=_0x242f49;}['_write'](_0x370537,_0x5f2ae1,_0x163a8e){const _0x5e657b=_0x306fad;if(this[_0x5e657b(0xf7)]===0x8&&this[_0x5e657b(0x21f)]==_0x242f49)return _0x163a8e();this[_0x5e657b(0x141)]+=_0x370537[_0x5e657b(0x14d)],this[_0x5e657b(0x237)][_0x5e657b(0x1a1)](_0x370537),this[_0x5e657b(0x27d)](_0x163a8e);}[_0x306fad(0x105)](_0x2ad0ae){const _0x1d8025=_0x306fad;if(this[_0x1d8025(0x141)]-=_0x2ad0ae,_0x2ad0ae===this[_0x1d8025(0x237)][0x0][_0x1d8025(0x14d)])return this[_0x1d8025(0x237)][_0x1d8025(0x235)]();if(_0x2ad0ae<this[_0x1d8025(0x237)][0x0]['length']){const _0x3abe9f=this['_buffers'][0x0];return this[_0x1d8025(0x237)][0x0]=new _0x534887(_0x3abe9f[_0x1d8025(0x27a)],_0x3abe9f[_0x1d8025(0x1a8)]+_0x2ad0ae,_0x3abe9f[_0x1d8025(0x14d)]-_0x2ad0ae),new _0x534887(_0x3abe9f['buffer'],_0x3abe9f['byteOffset'],_0x2ad0ae);}const _0x24d9f8=Buffer[_0x1d8025(0x1c3)](_0x2ad0ae);do{const _0x36b5b1=this['_buffers'][0x0],_0x1d5a5b=_0x24d9f8[_0x1d8025(0x14d)]-_0x2ad0ae;_0x2ad0ae>=_0x36b5b1[_0x1d8025(0x14d)]?_0x24d9f8['set'](this['_buffers'][_0x1d8025(0x235)](),_0x1d5a5b):(_0x24d9f8[_0x1d8025(0x1ef)](new Uint8Array(_0x36b5b1[_0x1d8025(0x27a)],_0x36b5b1[_0x1d8025(0x1a8)],_0x2ad0ae),_0x1d5a5b),this['_buffers'][0x0]=new _0x534887(_0x36b5b1['buffer'],_0x36b5b1[_0x1d8025(0x1a8)]+_0x2ad0ae,_0x36b5b1[_0x1d8025(0x14d)]-_0x2ad0ae)),_0x2ad0ae-=_0x36b5b1['length'];}while(_0x2ad0ae>0x0);return _0x24d9f8;}['startLoop'](_0x2c3d3e){const _0x2fee29=_0x306fad;this[_0x2fee29(0x2ac)]=!0x0;do switch(this[_0x2fee29(0x21f)]){case _0x242f49:this[_0x2fee29(0x171)](_0x2c3d3e);break;case _0x4bae8f:this[_0x2fee29(0x153)](_0x2c3d3e);break;case _0x456351:this[_0x2fee29(0x1d4)](_0x2c3d3e);break;case _0x308db8:this[_0x2fee29(0x28a)]();break;case _0x24ae30:this[_0x2fee29(0x16b)](_0x2c3d3e);break;case _0x15d04e:case _0x1d7780:this[_0x2fee29(0x2ac)]=!0x1;return;}while(this[_0x2fee29(0x2ac)]);this['_errored']||_0x2c3d3e();}[_0x306fad(0x171)](_0x28725d){const _0x1578a7=_0x306fad;if(this['_bufferedBytes']<0x2){this[_0x1578a7(0x2ac)]=!0x1;return;}const _0x12f386=this['consume'](0x2);if((_0x12f386[0x0]&0x30)!==0x0){const _0x49e5b6=this[_0x1578a7(0x24f)](RangeError,_0x1578a7(0x1f5),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x28725d(_0x49e5b6);return;}const _0x48decf=(_0x12f386[0x0]&0x40)===0x40;if(_0x48decf&&!this['_extensions'][_0x43f760['extensionName']]){const _0x16018c=this[_0x1578a7(0x24f)](RangeError,_0x1578a7(0x155),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x28725d(_0x16018c);return;}if(this[_0x1578a7(0x206)]=(_0x12f386[0x0]&0x80)===0x80,this[_0x1578a7(0xf7)]=_0x12f386[0x0]&0xf,this[_0x1578a7(0x162)]=_0x12f386[0x1]&0x7f,this['_opcode']===0x0){if(_0x48decf){const _0x4dfb35=this[_0x1578a7(0x24f)](RangeError,_0x1578a7(0x155),!0x0,0x3ea,_0x1578a7(0x21e));_0x28725d(_0x4dfb35);return;}if(!this[_0x1578a7(0x259)]){const _0x31f25e=this['createError'](RangeError,_0x1578a7(0x21d),!0x0,0x3ea,_0x1578a7(0x17d));_0x28725d(_0x31f25e);return;}this[_0x1578a7(0xf7)]=this['_fragmented'];}else{if(this['_opcode']===0x1||this['_opcode']===0x2){if(this[_0x1578a7(0x259)]){const _0x58f2b3=this['createError'](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,_0x1578a7(0x17d));_0x28725d(_0x58f2b3);return;}this[_0x1578a7(0x19e)]=_0x48decf;}else{if(this[_0x1578a7(0xf7)]>0x7&&this[_0x1578a7(0xf7)]<0xb){if(!this[_0x1578a7(0x206)]){const _0x3e727=this[_0x1578a7(0x24f)](RangeError,_0x1578a7(0x26a),!0x0,0x3ea,_0x1578a7(0x21a));_0x28725d(_0x3e727);return;}if(_0x48decf){const _0x5e80b1=this[_0x1578a7(0x24f)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x28725d(_0x5e80b1);return;}if(this[_0x1578a7(0x162)]>0x7d||this['_opcode']===0x8&&this[_0x1578a7(0x162)]===0x1){const _0xed5a25=this[_0x1578a7(0x24f)](RangeError,_0x1578a7(0x274)+this[_0x1578a7(0x162)],!0x0,0x3ea,_0x1578a7(0x208));_0x28725d(_0xed5a25);return;}}else{const _0x580103=this[_0x1578a7(0x24f)](RangeError,_0x1578a7(0x261)+this['_opcode'],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x28725d(_0x580103);return;}}}if(!this[_0x1578a7(0x206)]&&!this[_0x1578a7(0x259)]&&(this[_0x1578a7(0x259)]=this[_0x1578a7(0xf7)]),this['_masked']=(_0x12f386[0x1]&0x80)===0x80,this[_0x1578a7(0x198)]){if(!this[_0x1578a7(0x229)]){const _0x40a138=this[_0x1578a7(0x24f)](RangeError,_0x1578a7(0x1ee),!0x0,0x3ea,_0x1578a7(0xed));_0x28725d(_0x40a138);return;}}else{if(this[_0x1578a7(0x229)]){const _0x2bd793=this[_0x1578a7(0x24f)](RangeError,_0x1578a7(0x180),!0x0,0x3ea,_0x1578a7(0x1e6));_0x28725d(_0x2bd793);return;}}this[_0x1578a7(0x162)]===0x7e?this[_0x1578a7(0x21f)]=_0x4bae8f:this[_0x1578a7(0x162)]===0x7f?this['_state']=_0x456351:this['haveLength'](_0x28725d);}[_0x306fad(0x153)](_0x904635){const _0x2645a9=_0x306fad;if(this[_0x2645a9(0x141)]<0x2){this[_0x2645a9(0x2ac)]=!0x1;return;}this['_payloadLength']=this[_0x2645a9(0x105)](0x2)[_0x2645a9(0x280)](0x0),this[_0x2645a9(0x1c0)](_0x904635);}[_0x306fad(0x1d4)](_0x3f2b52){const _0x4b8543=_0x306fad;if(this['_bufferedBytes']<0x8){this[_0x4b8543(0x2ac)]=!0x1;return;}const _0x4ecbc9=this[_0x4b8543(0x105)](0x8),_0x56e5d1=_0x4ecbc9[_0x4b8543(0x227)](0x0);if(_0x56e5d1>Math[_0x4b8543(0x164)](0x2,0x15)-0x1){const _0x57575b=this[_0x4b8543(0x24f)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x3f2b52(_0x57575b);return;}this[_0x4b8543(0x162)]=_0x56e5d1*Math[_0x4b8543(0x164)](0x2,0x20)+_0x4ecbc9[_0x4b8543(0x227)](0x4),this[_0x4b8543(0x1c0)](_0x3f2b52);}[_0x306fad(0x1c0)](_0x43560b){const _0x4ccbb8=_0x306fad;if(this[_0x4ccbb8(0x162)]&&this[_0x4ccbb8(0xf7)]<0x8&&(this[_0x4ccbb8(0x17b)]+=this[_0x4ccbb8(0x162)],this[_0x4ccbb8(0x17b)]>this[_0x4ccbb8(0x1c5)]&&this['_maxPayload']>0x0)){const _0x43deec=this[_0x4ccbb8(0x24f)](RangeError,_0x4ccbb8(0x147),!0x1,0x3f1,_0x4ccbb8(0x1b1));_0x43560b(_0x43deec);return;}this['_masked']?this[_0x4ccbb8(0x21f)]=_0x308db8:this[_0x4ccbb8(0x21f)]=_0x24ae30;}[_0x306fad(0x28a)](){const _0xd90014=_0x306fad;if(this[_0xd90014(0x141)]<0x4){this[_0xd90014(0x2ac)]=!0x1;return;}this[_0xd90014(0x199)]=this[_0xd90014(0x105)](0x4),this[_0xd90014(0x21f)]=_0x24ae30;}['getData'](_0x470ad2){const _0x11b3eb=_0x306fad;let _0x252c13=_0x2b263c;if(this[_0x11b3eb(0x162)]){if(this[_0x11b3eb(0x141)]<this['_payloadLength']){this['_loop']=!0x1;return;}_0x252c13=this[_0x11b3eb(0x105)](this[_0x11b3eb(0x162)]),this[_0x11b3eb(0x229)]&&(this['_mask'][0x0]|this[_0x11b3eb(0x199)][0x1]|this[_0x11b3eb(0x199)][0x2]|this['_mask'][0x3])!==0x0&&_0xc94415(_0x252c13,this[_0x11b3eb(0x199)]);}if(this[_0x11b3eb(0xf7)]>0x7){this['controlMessage'](_0x252c13,_0x470ad2);return;}if(this[_0x11b3eb(0x19e)]){this[_0x11b3eb(0x21f)]=_0x15d04e,this[_0x11b3eb(0x2b1)](_0x252c13,_0x470ad2);return;}_0x252c13[_0x11b3eb(0x14d)]&&(this[_0x11b3eb(0x145)]=this[_0x11b3eb(0x17b)],this['_fragments'][_0x11b3eb(0x1a1)](_0x252c13)),this[_0x11b3eb(0x14c)](_0x470ad2);}[_0x306fad(0x2b1)](_0x59a01c,_0x231e68){const _0x18af1d=_0x306fad;this[_0x18af1d(0x2a7)][_0x43f760[_0x18af1d(0x169)]][_0x18af1d(0x2b1)](_0x59a01c,this[_0x18af1d(0x206)],(_0x3ad8f3,_0x424373)=>{const _0x5ed744=_0x18af1d;if(_0x3ad8f3)return _0x231e68(_0x3ad8f3);if(_0x424373[_0x5ed744(0x14d)]){if(this[_0x5ed744(0x145)]+=_0x424373[_0x5ed744(0x14d)],this[_0x5ed744(0x145)]>this[_0x5ed744(0x1c5)]&&this['_maxPayload']>0x0){const _0x22bf70=this[_0x5ed744(0x24f)](RangeError,_0x5ed744(0x147),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x231e68(_0x22bf70);return;}this[_0x5ed744(0x299)][_0x5ed744(0x1a1)](_0x424373);}this[_0x5ed744(0x14c)](_0x231e68),this['_state']===_0x242f49&&this[_0x5ed744(0x27d)](_0x231e68);});}[_0x306fad(0x14c)](_0x17df76){const _0xe0d406=_0x306fad;if(!this['_fin']){this['_state']=_0x242f49;return;}const _0x1289ec=this[_0xe0d406(0x145)],_0x33f9c6=this[_0xe0d406(0x299)];if(this[_0xe0d406(0x17b)]=0x0,this['_messageLength']=0x0,this['_fragmented']=0x0,this['_fragments']=[],this[_0xe0d406(0xf7)]===0x2){let _0x3f0920;this[_0xe0d406(0x1b4)]===_0xe0d406(0x233)?_0x3f0920=_0x2e84cf(_0x33f9c6,_0x1289ec):this[_0xe0d406(0x1b4)]===_0xe0d406(0x201)?_0x3f0920=_0x108465(_0x2e84cf(_0x33f9c6,_0x1289ec)):this['_binaryType']==='blob'?_0x3f0920=new Blob(_0x33f9c6):_0x3f0920=_0x33f9c6,this[_0xe0d406(0x1d8)]?(this[_0xe0d406(0x28e)]('message',_0x3f0920,!0x0),this[_0xe0d406(0x21f)]=_0x242f49):(this[_0xe0d406(0x21f)]=_0x1d7780,setImmediate(()=>{const _0x1017af=_0xe0d406;this[_0x1017af(0x28e)](_0x1017af(0x1df),_0x3f0920,!0x0),this['_state']=_0x242f49,this['startLoop'](_0x17df76);}));}else{const _0x1a8cf5=_0x2e84cf(_0x33f9c6,_0x1289ec);if(!this[_0xe0d406(0x291)]&&!_0x121028(_0x1a8cf5)){const _0x4f2579=this[_0xe0d406(0x24f)](Error,_0xe0d406(0x217),!0x0,0x3ef,_0xe0d406(0x2af));_0x17df76(_0x4f2579);return;}this['_state']===_0x15d04e||this[_0xe0d406(0x1d8)]?(this[_0xe0d406(0x28e)](_0xe0d406(0x1df),_0x1a8cf5,!0x1),this[_0xe0d406(0x21f)]=_0x242f49):(this[_0xe0d406(0x21f)]=_0x1d7780,setImmediate(()=>{const _0x3e6f68=_0xe0d406;this[_0x3e6f68(0x28e)](_0x3e6f68(0x1df),_0x1a8cf5,!0x1),this['_state']=_0x242f49,this[_0x3e6f68(0x27d)](_0x17df76);}));}}[_0x306fad(0x119)](_0x5cfd66,_0x579f5e){const _0x4ba725=_0x306fad;if(this[_0x4ba725(0xf7)]===0x8){if(_0x5cfd66[_0x4ba725(0x14d)]===0x0)this[_0x4ba725(0x2ac)]=!0x1,this[_0x4ba725(0x28e)]('conclude',0x3ed,_0x2b263c),this[_0x4ba725(0x1dd)]();else{const _0x34a5ca=_0x5cfd66[_0x4ba725(0x280)](0x0);if(!_0x42016e(_0x34a5ca)){const _0x3e3145=this[_0x4ba725(0x24f)](RangeError,_0x4ba725(0x16c)+_0x34a5ca,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x579f5e(_0x3e3145);return;}const _0x5bd6e5=new _0x534887(_0x5cfd66[_0x4ba725(0x27a)],_0x5cfd66[_0x4ba725(0x1a8)]+0x2,_0x5cfd66['length']-0x2);if(!this[_0x4ba725(0x291)]&&!_0x121028(_0x5bd6e5)){const _0x3951ae=this['createError'](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x579f5e(_0x3951ae);return;}this['_loop']=!0x1,this[_0x4ba725(0x28e)](_0x4ba725(0x295),_0x34a5ca,_0x5bd6e5),this['end']();}this[_0x4ba725(0x21f)]=_0x242f49;return;}this[_0x4ba725(0x1d8)]?(this[_0x4ba725(0x28e)](this[_0x4ba725(0xf7)]===0x9?_0x4ba725(0x1b2):_0x4ba725(0x12c),_0x5cfd66),this[_0x4ba725(0x21f)]=_0x242f49):(this[_0x4ba725(0x21f)]=_0x1d7780,setImmediate(()=>{const _0x5aeeec=_0x4ba725;this[_0x5aeeec(0x28e)](this['_opcode']===0x9?'ping':_0x5aeeec(0x12c),_0x5cfd66),this['_state']=_0x242f49,this['startLoop'](_0x579f5e);}));}[_0x306fad(0x24f)](_0x25dfb0,_0x39d2f6,_0x4a7202,_0x249e58,_0x1e5178){const _0x559316=_0x306fad;this['_loop']=!0x1,this[_0x559316(0x1f7)]=!0x0;const _0x1ceff0=new _0x25dfb0(_0x4a7202?_0x559316(0x185)+_0x39d2f6:_0x39d2f6);return Error[_0x559316(0x144)](_0x1ceff0,this[_0x559316(0x24f)]),_0x1ceff0[_0x559316(0x272)]=_0x1e5178,_0x1ceff0[_0x4f3a77]=_0x249e58,_0x1ceff0;}}return Se=_0x2d3c15,Se;}var Ee,Xe;function ft(){const _0x572f3c=_0x4dcda1;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x199b5b}=oe,{randomFillSync:_0x262d18}=Le,_0x2a1bbc=he(),{EMPTY_BUFFER:_0x1282e0,kWebSocket:_0x5bdeea,NOOP:_0x1e614a}=H(),{isBlob:_0x25c7a0,isValidStatusCode:_0x1c459c}=ae(),{mask:_0x3b1815,toBuffer:_0x28bd3a}=ce(),_0x1a0731=Symbol(_0x572f3c(0x1bf)),_0x47eee9=Buffer[_0x572f3c(0x230)](0x4),_0x225cb6=0x8*0x400;let _0x2b085d,_0x4df289=_0x225cb6;const _0x4d6b4e=0x0,_0x448f29=0x1,_0x4b5508=0x2;class _0x3de38e{constructor(_0x1bedb3,_0x52f7a6,_0x3abdde){const _0x586e47=_0x572f3c;this[_0x586e47(0x2a7)]=_0x52f7a6||{},_0x3abdde&&(this[_0x586e47(0x275)]=_0x3abdde,this[_0x586e47(0x19f)]=Buffer[_0x586e47(0x230)](0x4)),this[_0x586e47(0x286)]=_0x1bedb3,this[_0x586e47(0x255)]=!0x0,this[_0x586e47(0x10e)]=!0x1,this[_0x586e47(0x141)]=0x0,this[_0x586e47(0x1d9)]=[],this[_0x586e47(0x21f)]=_0x4d6b4e,this[_0x586e47(0x273)]=_0x1e614a,this[_0x5bdeea]=void 0x0;}static[_0x572f3c(0x14f)](_0x319101,_0x1068a8){const _0x416d2=_0x572f3c;let _0x3e8dcb,_0x2b1aaa=!0x1,_0x217951=0x2,_0x57c18e=!0x1;_0x1068a8[_0x416d2(0x100)]&&(_0x3e8dcb=_0x1068a8['maskBuffer']||_0x47eee9,_0x1068a8[_0x416d2(0x146)]?_0x1068a8[_0x416d2(0x146)](_0x3e8dcb):(_0x4df289===_0x225cb6&&(_0x2b085d===void 0x0&&(_0x2b085d=Buffer[_0x416d2(0x230)](_0x225cb6)),_0x262d18(_0x2b085d,0x0,_0x225cb6),_0x4df289=0x0),_0x3e8dcb[0x0]=_0x2b085d[_0x4df289++],_0x3e8dcb[0x1]=_0x2b085d[_0x4df289++],_0x3e8dcb[0x2]=_0x2b085d[_0x4df289++],_0x3e8dcb[0x3]=_0x2b085d[_0x4df289++]),_0x57c18e=(_0x3e8dcb[0x0]|_0x3e8dcb[0x1]|_0x3e8dcb[0x2]|_0x3e8dcb[0x3])===0x0,_0x217951=0x6);let _0x55b06e;typeof _0x319101==_0x416d2(0x287)?(!_0x1068a8['mask']||_0x57c18e)&&_0x1068a8[_0x1a0731]!==void 0x0?_0x55b06e=_0x1068a8[_0x1a0731]:(_0x319101=Buffer[_0x416d2(0x13f)](_0x319101),_0x55b06e=_0x319101[_0x416d2(0x14d)]):(_0x55b06e=_0x319101[_0x416d2(0x14d)],_0x2b1aaa=_0x1068a8['mask']&&_0x1068a8[_0x416d2(0x1cd)]&&!_0x57c18e);let _0x5c6636=_0x55b06e;_0x55b06e>=0x10000?(_0x217951+=0x8,_0x5c6636=0x7f):_0x55b06e>0x7d&&(_0x217951+=0x2,_0x5c6636=0x7e);const _0x1ee450=Buffer[_0x416d2(0x1c3)](_0x2b1aaa?_0x55b06e+_0x217951:_0x217951);return _0x1ee450[0x0]=_0x1068a8[_0x416d2(0x104)]?_0x1068a8[_0x416d2(0x114)]|0x80:_0x1068a8[_0x416d2(0x114)],_0x1068a8[_0x416d2(0x1e0)]&&(_0x1ee450[0x0]|=0x40),_0x1ee450[0x1]=_0x5c6636,_0x5c6636===0x7e?_0x1ee450['writeUInt16BE'](_0x55b06e,0x2):_0x5c6636===0x7f&&(_0x1ee450[0x2]=_0x1ee450[0x3]=0x0,_0x1ee450[_0x416d2(0x1d3)](_0x55b06e,0x4,0x6)),_0x1068a8[_0x416d2(0x100)]?(_0x1ee450[0x1]|=0x80,_0x1ee450[_0x217951-0x4]=_0x3e8dcb[0x0],_0x1ee450[_0x217951-0x3]=_0x3e8dcb[0x1],_0x1ee450[_0x217951-0x2]=_0x3e8dcb[0x2],_0x1ee450[_0x217951-0x1]=_0x3e8dcb[0x3],_0x57c18e?[_0x1ee450,_0x319101]:_0x2b1aaa?(_0x3b1815(_0x319101,_0x3e8dcb,_0x1ee450,_0x217951,_0x55b06e),[_0x1ee450]):(_0x3b1815(_0x319101,_0x3e8dcb,_0x319101,0x0,_0x55b06e),[_0x1ee450,_0x319101])):[_0x1ee450,_0x319101];}[_0x572f3c(0x107)](_0x3d20b4,_0x29c6dc,_0x2af0d9,_0x33e3e9){const _0x4decdb=_0x572f3c;let _0x387c0;if(_0x3d20b4===void 0x0)_0x387c0=_0x1282e0;else{if(typeof _0x3d20b4!='number'||!_0x1c459c(_0x3d20b4))throw new TypeError(_0x4decdb(0x193));if(_0x29c6dc===void 0x0||!_0x29c6dc[_0x4decdb(0x14d)])_0x387c0=Buffer[_0x4decdb(0x1c3)](0x2),_0x387c0[_0x4decdb(0x277)](_0x3d20b4,0x0);else{const _0x443c86=Buffer[_0x4decdb(0x10f)](_0x29c6dc);if(_0x443c86>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x387c0=Buffer[_0x4decdb(0x1c3)](0x2+_0x443c86),_0x387c0[_0x4decdb(0x277)](_0x3d20b4,0x0),typeof _0x29c6dc=='string'?_0x387c0[_0x4decdb(0x17a)](_0x29c6dc,0x2):_0x387c0['set'](_0x29c6dc,0x2);}}const _0x34952e={[_0x1a0731]:_0x387c0[_0x4decdb(0x14d)],'fin':!0x0,'generateMask':this[_0x4decdb(0x275)],'mask':_0x2af0d9,'maskBuffer':this[_0x4decdb(0x19f)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x4decdb(0x21f)]!==_0x4d6b4e?this[_0x4decdb(0x11d)]([this[_0x4decdb(0x131)],_0x387c0,!0x1,_0x34952e,_0x33e3e9]):this['sendFrame'](_0x3de38e[_0x4decdb(0x14f)](_0x387c0,_0x34952e),_0x33e3e9);}[_0x572f3c(0x1b2)](_0x518e2e,_0x3d34b5,_0x1d34ef){const _0x1e5eb0=_0x572f3c;let _0x4870d2,_0x5654f8;if(typeof _0x518e2e==_0x1e5eb0(0x287)?(_0x4870d2=Buffer[_0x1e5eb0(0x10f)](_0x518e2e),_0x5654f8=!0x1):_0x25c7a0(_0x518e2e)?(_0x4870d2=_0x518e2e[_0x1e5eb0(0x2a4)],_0x5654f8=!0x1):(_0x518e2e=_0x28bd3a(_0x518e2e),_0x4870d2=_0x518e2e['length'],_0x5654f8=_0x28bd3a[_0x1e5eb0(0x1cd)]),_0x4870d2>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x50250e={[_0x1a0731]:_0x4870d2,'fin':!0x0,'generateMask':this[_0x1e5eb0(0x275)],'mask':_0x3d34b5,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x5654f8,'rsv1':!0x1};_0x25c7a0(_0x518e2e)?this[_0x1e5eb0(0x21f)]!==_0x4d6b4e?this['enqueue']([this[_0x1e5eb0(0x27c)],_0x518e2e,!0x1,_0x50250e,_0x1d34ef]):this[_0x1e5eb0(0x27c)](_0x518e2e,!0x1,_0x50250e,_0x1d34ef):this[_0x1e5eb0(0x21f)]!==_0x4d6b4e?this[_0x1e5eb0(0x11d)]([this[_0x1e5eb0(0x131)],_0x518e2e,!0x1,_0x50250e,_0x1d34ef]):this[_0x1e5eb0(0x12e)](_0x3de38e[_0x1e5eb0(0x14f)](_0x518e2e,_0x50250e),_0x1d34ef);}[_0x572f3c(0x12c)](_0x492b17,_0x21dd42,_0x2d8346){const _0x1149bc=_0x572f3c;let _0x3e83e3,_0x575a8f;if(typeof _0x492b17==_0x1149bc(0x287)?(_0x3e83e3=Buffer['byteLength'](_0x492b17),_0x575a8f=!0x1):_0x25c7a0(_0x492b17)?(_0x3e83e3=_0x492b17['size'],_0x575a8f=!0x1):(_0x492b17=_0x28bd3a(_0x492b17),_0x3e83e3=_0x492b17['length'],_0x575a8f=_0x28bd3a['readOnly']),_0x3e83e3>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x288f0d={[_0x1a0731]:_0x3e83e3,'fin':!0x0,'generateMask':this[_0x1149bc(0x275)],'mask':_0x21dd42,'maskBuffer':this[_0x1149bc(0x19f)],'opcode':0xa,'readOnly':_0x575a8f,'rsv1':!0x1};_0x25c7a0(_0x492b17)?this[_0x1149bc(0x21f)]!==_0x4d6b4e?this['enqueue']([this[_0x1149bc(0x27c)],_0x492b17,!0x1,_0x288f0d,_0x2d8346]):this[_0x1149bc(0x27c)](_0x492b17,!0x1,_0x288f0d,_0x2d8346):this[_0x1149bc(0x21f)]!==_0x4d6b4e?this[_0x1149bc(0x11d)]([this['dispatch'],_0x492b17,!0x1,_0x288f0d,_0x2d8346]):this[_0x1149bc(0x12e)](_0x3de38e[_0x1149bc(0x14f)](_0x492b17,_0x288f0d),_0x2d8346);}['send'](_0x611ab2,_0x104bf5,_0xfb5129){const _0x551b1e=_0x572f3c,_0x38c69a=this[_0x551b1e(0x2a7)][_0x2a1bbc[_0x551b1e(0x169)]];let _0x2962f2=_0x104bf5[_0x551b1e(0x1a6)]?0x2:0x1,_0x38578d=_0x104bf5[_0x551b1e(0x220)],_0x4437dc,_0xcba083;typeof _0x611ab2==_0x551b1e(0x287)?(_0x4437dc=Buffer[_0x551b1e(0x10f)](_0x611ab2),_0xcba083=!0x1):_0x25c7a0(_0x611ab2)?(_0x4437dc=_0x611ab2[_0x551b1e(0x2a4)],_0xcba083=!0x1):(_0x611ab2=_0x28bd3a(_0x611ab2),_0x4437dc=_0x611ab2[_0x551b1e(0x14d)],_0xcba083=_0x28bd3a['readOnly']),this[_0x551b1e(0x255)]?(this[_0x551b1e(0x255)]=!0x1,_0x38578d&&_0x38c69a&&_0x38c69a[_0x551b1e(0x159)][_0x38c69a['_isServer']?'server_no_context_takeover':_0x551b1e(0x1ce)]&&(_0x38578d=_0x4437dc>=_0x38c69a[_0x551b1e(0xfb)]),this[_0x551b1e(0x10e)]=_0x38578d):(_0x38578d=!0x1,_0x2962f2=0x0),_0x104bf5[_0x551b1e(0x104)]&&(this['_firstFragment']=!0x0);const _0x268b5a={[_0x1a0731]:_0x4437dc,'fin':_0x104bf5['fin'],'generateMask':this[_0x551b1e(0x275)],'mask':_0x104bf5['mask'],'maskBuffer':this[_0x551b1e(0x19f)],'opcode':_0x2962f2,'readOnly':_0xcba083,'rsv1':_0x38578d};_0x25c7a0(_0x611ab2)?this[_0x551b1e(0x21f)]!==_0x4d6b4e?this['enqueue']([this[_0x551b1e(0x27c)],_0x611ab2,this[_0x551b1e(0x10e)],_0x268b5a,_0xfb5129]):this[_0x551b1e(0x27c)](_0x611ab2,this['_compress'],_0x268b5a,_0xfb5129):this['_state']!==_0x4d6b4e?this['enqueue']([this['dispatch'],_0x611ab2,this[_0x551b1e(0x10e)],_0x268b5a,_0xfb5129]):this['dispatch'](_0x611ab2,this['_compress'],_0x268b5a,_0xfb5129);}[_0x572f3c(0x27c)](_0x5c1238,_0x518844,_0x185b07,_0x559ca3){const _0xb54c24=_0x572f3c;this[_0xb54c24(0x141)]+=_0x185b07[_0x1a0731],this[_0xb54c24(0x21f)]=_0x4b5508,_0x5c1238['arrayBuffer']()[_0xb54c24(0x1b5)](_0x1d65b0=>{const _0x526765=_0xb54c24;if(this[_0x526765(0x286)][_0x526765(0x2b0)]){const _0x539779=new Error(_0x526765(0x1a3));process['nextTick'](_0x129bbc,this,_0x539779,_0x559ca3);return;}this['_bufferedBytes']-=_0x185b07[_0x1a0731];const _0x55d23e=_0x28bd3a(_0x1d65b0);_0x518844?this['dispatch'](_0x55d23e,_0x518844,_0x185b07,_0x559ca3):(this[_0x526765(0x21f)]=_0x4d6b4e,this[_0x526765(0x12e)](_0x3de38e['frame'](_0x55d23e,_0x185b07),_0x559ca3),this[_0x526765(0x1c9)]());})['catch'](_0x3a7397=>{const _0x64cecc=_0xb54c24;process[_0x64cecc(0x134)](_0x5640a9,this,_0x3a7397,_0x559ca3);});}[_0x572f3c(0x131)](_0x56ff34,_0x4daaf0,_0x319f1e,_0x2786f0){const _0x3a7a88=_0x572f3c;if(!_0x4daaf0){this['sendFrame'](_0x3de38e['frame'](_0x56ff34,_0x319f1e),_0x2786f0);return;}const _0x111ae8=this[_0x3a7a88(0x2a7)][_0x2a1bbc[_0x3a7a88(0x169)]];this[_0x3a7a88(0x141)]+=_0x319f1e[_0x1a0731],this[_0x3a7a88(0x21f)]=_0x448f29,_0x111ae8[_0x3a7a88(0x220)](_0x56ff34,_0x319f1e[_0x3a7a88(0x104)],(_0x110099,_0x29e321)=>{const _0x56ba1b=_0x3a7a88;if(this[_0x56ba1b(0x286)]['destroyed']){const _0x3948c3=new Error(_0x56ba1b(0x221));_0x129bbc(this,_0x3948c3,_0x2786f0);return;}this[_0x56ba1b(0x141)]-=_0x319f1e[_0x1a0731],this[_0x56ba1b(0x21f)]=_0x4d6b4e,_0x319f1e[_0x56ba1b(0x1cd)]=!0x1,this[_0x56ba1b(0x12e)](_0x3de38e['frame'](_0x29e321,_0x319f1e),_0x2786f0),this[_0x56ba1b(0x1c9)]();});}[_0x572f3c(0x1c9)](){const _0x233332=_0x572f3c;for(;this[_0x233332(0x21f)]===_0x4d6b4e&&this['_queue'][_0x233332(0x14d)];){const _0x48b5ce=this[_0x233332(0x1d9)][_0x233332(0x235)]();this[_0x233332(0x141)]-=_0x48b5ce[0x3][_0x1a0731],Reflect[_0x233332(0x1e3)](_0x48b5ce[0x0],this,_0x48b5ce[_0x233332(0x137)](0x1));}}[_0x572f3c(0x11d)](_0x5cc3c8){const _0x2cbfbe=_0x572f3c;this[_0x2cbfbe(0x141)]+=_0x5cc3c8[0x3][_0x1a0731],this['_queue'][_0x2cbfbe(0x1a1)](_0x5cc3c8);}[_0x572f3c(0x12e)](_0xc40c8b,_0x56b273){const _0x38e945=_0x572f3c;_0xc40c8b[_0x38e945(0x14d)]===0x2?(this[_0x38e945(0x286)][_0x38e945(0x265)](),this[_0x38e945(0x286)][_0x38e945(0x17a)](_0xc40c8b[0x0]),this[_0x38e945(0x286)][_0x38e945(0x17a)](_0xc40c8b[0x1],_0x56b273),this[_0x38e945(0x286)]['uncork']()):this[_0x38e945(0x286)][_0x38e945(0x17a)](_0xc40c8b[0x0],_0x56b273);}}Ee=_0x3de38e;function _0x129bbc(_0x4c7ec4,_0x3d3c5d,_0x376638){const _0x2b276f=_0x572f3c;typeof _0x376638==_0x2b276f(0x257)&&_0x376638(_0x3d3c5d);for(let _0x236786=0x0;_0x236786<_0x4c7ec4['_queue']['length'];_0x236786++){const _0x483ffe=_0x4c7ec4[_0x2b276f(0x1d9)][_0x236786],_0x33fd27=_0x483ffe[_0x483ffe['length']-0x1];typeof _0x33fd27=='function'&&_0x33fd27(_0x3d3c5d);}}function _0x5640a9(_0x5782e5,_0x25fb16,_0xbd18c7){_0x129bbc(_0x5782e5,_0x25fb16,_0xbd18c7),_0x5782e5['onerror'](_0x25fb16);}return Ee;}var xe,Ze;function It(){const _0x514a1f=_0x4dcda1;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x5bd8dc,kListener:_0x553c7b}=H(),_0x35c8f6=Symbol('kCode'),_0x21e905=Symbol('kData'),_0x125b41=Symbol(_0x514a1f(0x298)),_0x29ed74=Symbol('kMessage'),_0xbcad58=Symbol(_0x514a1f(0x27b)),_0x45c5ed=Symbol(_0x514a1f(0x102)),_0x271835=Symbol(_0x514a1f(0x24b)),_0x1f8039=Symbol(_0x514a1f(0x168));class _0x114e40{constructor(_0xb6e3bb){this[_0x45c5ed]=null,this[_0x271835]=_0xb6e3bb;}get[_0x514a1f(0x13d)](){return this[_0x45c5ed];}get[_0x514a1f(0x13a)](){return this[_0x271835];}}Object[_0x514a1f(0xfc)](_0x114e40[_0x514a1f(0x1b8)],_0x514a1f(0x13d),{'enumerable':!0x0}),Object['defineProperty'](_0x114e40[_0x514a1f(0x1b8)],'type',{'enumerable':!0x0});class _0x52fd53 extends _0x114e40{constructor(_0x27ad20,_0x165f6e={}){const _0x5ef046=_0x514a1f;super(_0x27ad20),this[_0x35c8f6]=_0x165f6e[_0x5ef046(0x272)]===void 0x0?0x0:_0x165f6e[_0x5ef046(0x272)],this[_0xbcad58]=_0x165f6e[_0x5ef046(0x20b)]===void 0x0?'':_0x165f6e['reason'],this[_0x1f8039]=_0x165f6e[_0x5ef046(0x1e1)]===void 0x0?!0x1:_0x165f6e['wasClean'];}get[_0x514a1f(0x272)](){return this[_0x35c8f6];}get['reason'](){return this[_0xbcad58];}get['wasClean'](){return this[_0x1f8039];}}Object[_0x514a1f(0xfc)](_0x52fd53[_0x514a1f(0x1b8)],_0x514a1f(0x272),{'enumerable':!0x0}),Object[_0x514a1f(0xfc)](_0x52fd53[_0x514a1f(0x1b8)],_0x514a1f(0x20b),{'enumerable':!0x0}),Object[_0x514a1f(0xfc)](_0x52fd53[_0x514a1f(0x1b8)],'wasClean',{'enumerable':!0x0});class _0x1a9581 extends _0x114e40{constructor(_0xd01171,_0x29d5d8={}){const _0x577b90=_0x514a1f;super(_0xd01171),this[_0x125b41]=_0x29d5d8[_0x577b90(0x1ba)]===void 0x0?null:_0x29d5d8[_0x577b90(0x1ba)],this[_0x29ed74]=_0x29d5d8['message']===void 0x0?'':_0x29d5d8[_0x577b90(0x1df)];}get[_0x514a1f(0x1ba)](){return this[_0x125b41];}get[_0x514a1f(0x1df)](){return this[_0x29ed74];}}Object[_0x514a1f(0xfc)](_0x1a9581[_0x514a1f(0x1b8)],'error',{'enumerable':!0x0}),Object[_0x514a1f(0xfc)](_0x1a9581['prototype'],_0x514a1f(0x1df),{'enumerable':!0x0});class _0x5bcc19 extends _0x114e40{constructor(_0x56d731,_0x12930d={}){const _0x368ccd=_0x514a1f;super(_0x56d731),this[_0x21e905]=_0x12930d[_0x368ccd(0x2a0)]===void 0x0?null:_0x12930d[_0x368ccd(0x2a0)];}get[_0x514a1f(0x2a0)](){return this[_0x21e905];}}Object[_0x514a1f(0xfc)](_0x5bcc19[_0x514a1f(0x1b8)],_0x514a1f(0x2a0),{'enumerable':!0x0}),xe={'CloseEvent':_0x52fd53,'ErrorEvent':_0x1a9581,'Event':_0x114e40,'EventTarget':{'addEventListener'(_0x4d4043,_0x4f964b,_0x2f374c={}){const _0x238d48=_0x514a1f;for(const _0x255540 of this[_0x238d48(0x248)](_0x4d4043))if(!_0x2f374c[_0x5bd8dc]&&_0x255540[_0x553c7b]===_0x4f964b&&!_0x255540[_0x5bd8dc])return;let _0x2cbc65;if(_0x4d4043===_0x238d48(0x1df))_0x2cbc65=function(_0x23b5fd,_0x4349bf){const _0x8491b7=_0x238d48,_0x16d099=new _0x5bcc19('message',{'data':_0x4349bf?_0x23b5fd:_0x23b5fd[_0x8491b7(0x1a2)]()});_0x16d099[_0x45c5ed]=this,_0x2dac44(_0x4f964b,this,_0x16d099);};else{if(_0x4d4043===_0x238d48(0x107))_0x2cbc65=function(_0x8faf3,_0x401ed1){const _0x4c8a1=_0x238d48,_0x11f9f7=new _0x52fd53(_0x4c8a1(0x107),{'code':_0x8faf3,'reason':_0x401ed1[_0x4c8a1(0x1a2)](),'wasClean':this[_0x4c8a1(0x228)]&&this[_0x4c8a1(0x11f)]});_0x11f9f7[_0x45c5ed]=this,_0x2dac44(_0x4f964b,this,_0x11f9f7);};else{if(_0x4d4043==='error')_0x2cbc65=function(_0x22bbe5){const _0x231f6e=_0x238d48,_0x46af30=new _0x1a9581(_0x231f6e(0x1ba),{'error':_0x22bbe5,'message':_0x22bbe5['message']});_0x46af30[_0x45c5ed]=this,_0x2dac44(_0x4f964b,this,_0x46af30);};else{if(_0x4d4043===_0x238d48(0x20e))_0x2cbc65=function(){const _0x567b83=new _0x114e40('open');_0x567b83[_0x45c5ed]=this,_0x2dac44(_0x4f964b,this,_0x567b83);};else return;}}}_0x2cbc65[_0x5bd8dc]=!!_0x2f374c[_0x5bd8dc],_0x2cbc65[_0x553c7b]=_0x4f964b,_0x2f374c['once']?this[_0x238d48(0x13c)](_0x4d4043,_0x2cbc65):this['on'](_0x4d4043,_0x2cbc65);},'removeEventListener'(_0x1832f3,_0x22adc6){for(const _0x2222d6 of this['listeners'](_0x1832f3))if(_0x2222d6[_0x553c7b]===_0x22adc6&&!_0x2222d6[_0x5bd8dc]){this['removeListener'](_0x1832f3,_0x2222d6);break;}}},'MessageEvent':_0x5bcc19};function _0x2dac44(_0x54578f,_0x3a83b6,_0x14378c){const _0x3a036a=_0x514a1f;typeof _0x54578f==_0x3a036a(0x1ad)&&_0x54578f[_0x3a036a(0x103)]?_0x54578f[_0x3a036a(0x103)][_0x3a036a(0x116)](_0x54578f,_0x14378c):_0x54578f[_0x3a036a(0x116)](_0x3a83b6,_0x14378c);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x3a5355}=ae();function _0x6201a5(_0x226382,_0x163fd3,_0x2b635e){const _0x136101=_0x338f;_0x226382[_0x163fd3]===void 0x0?_0x226382[_0x163fd3]=[_0x2b635e]:_0x226382[_0x163fd3][_0x136101(0x1a1)](_0x2b635e);}function _0x27194c(_0x18fb19){const _0x228934=_0x338f,_0x5d04a2=Object[_0x228934(0x243)](null);let _0x5c651f=Object[_0x228934(0x243)](null),_0x3a13a0=!0x1,_0x5923ef=!0x1,_0x17d0c4=!0x1,_0x252994,_0x1adb40,_0x23f9c6=-0x1,_0x481c03=-0x1,_0x56081c=-0x1,_0x54dd1b=0x0;for(;_0x54dd1b<_0x18fb19['length'];_0x54dd1b++)if(_0x481c03=_0x18fb19[_0x228934(0x2a2)](_0x54dd1b),_0x252994===void 0x0){if(_0x56081c===-0x1&&_0x3a5355[_0x481c03]===0x1)_0x23f9c6===-0x1&&(_0x23f9c6=_0x54dd1b);else{if(_0x54dd1b!==0x0&&(_0x481c03===0x20||_0x481c03===0x9))_0x56081c===-0x1&&_0x23f9c6!==-0x1&&(_0x56081c=_0x54dd1b);else{if(_0x481c03===0x3b||_0x481c03===0x2c){if(_0x23f9c6===-0x1)throw new SyntaxError(_0x228934(0x1f0)+_0x54dd1b);_0x56081c===-0x1&&(_0x56081c=_0x54dd1b);const _0x35bdfe=_0x18fb19[_0x228934(0x137)](_0x23f9c6,_0x56081c);_0x481c03===0x2c?(_0x6201a5(_0x5d04a2,_0x35bdfe,_0x5c651f),_0x5c651f=Object['create'](null)):_0x252994=_0x35bdfe,_0x23f9c6=_0x56081c=-0x1;}else throw new SyntaxError(_0x228934(0x1f0)+_0x54dd1b);}}}else{if(_0x1adb40===void 0x0){if(_0x56081c===-0x1&&_0x3a5355[_0x481c03]===0x1)_0x23f9c6===-0x1&&(_0x23f9c6=_0x54dd1b);else{if(_0x481c03===0x20||_0x481c03===0x9)_0x56081c===-0x1&&_0x23f9c6!==-0x1&&(_0x56081c=_0x54dd1b);else{if(_0x481c03===0x3b||_0x481c03===0x2c){if(_0x23f9c6===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x54dd1b);_0x56081c===-0x1&&(_0x56081c=_0x54dd1b),_0x6201a5(_0x5c651f,_0x18fb19[_0x228934(0x137)](_0x23f9c6,_0x56081c),!0x0),_0x481c03===0x2c&&(_0x6201a5(_0x5d04a2,_0x252994,_0x5c651f),_0x5c651f=Object[_0x228934(0x243)](null),_0x252994=void 0x0),_0x23f9c6=_0x56081c=-0x1;}else{if(_0x481c03===0x3d&&_0x23f9c6!==-0x1&&_0x56081c===-0x1)_0x1adb40=_0x18fb19[_0x228934(0x137)](_0x23f9c6,_0x54dd1b),_0x23f9c6=_0x56081c=-0x1;else throw new SyntaxError(_0x228934(0x1f0)+_0x54dd1b);}}}}else{if(_0x5923ef){if(_0x3a5355[_0x481c03]!==0x1)throw new SyntaxError(_0x228934(0x1f0)+_0x54dd1b);_0x23f9c6===-0x1?_0x23f9c6=_0x54dd1b:_0x3a13a0||(_0x3a13a0=!0x0),_0x5923ef=!0x1;}else{if(_0x17d0c4){if(_0x3a5355[_0x481c03]===0x1)_0x23f9c6===-0x1&&(_0x23f9c6=_0x54dd1b);else{if(_0x481c03===0x22&&_0x23f9c6!==-0x1)_0x17d0c4=!0x1,_0x56081c=_0x54dd1b;else{if(_0x481c03===0x5c)_0x5923ef=!0x0;else throw new SyntaxError(_0x228934(0x1f0)+_0x54dd1b);}}}else{if(_0x481c03===0x22&&_0x18fb19['charCodeAt'](_0x54dd1b-0x1)===0x3d)_0x17d0c4=!0x0;else{if(_0x56081c===-0x1&&_0x3a5355[_0x481c03]===0x1)_0x23f9c6===-0x1&&(_0x23f9c6=_0x54dd1b);else{if(_0x23f9c6!==-0x1&&(_0x481c03===0x20||_0x481c03===0x9))_0x56081c===-0x1&&(_0x56081c=_0x54dd1b);else{if(_0x481c03===0x3b||_0x481c03===0x2c){if(_0x23f9c6===-0x1)throw new SyntaxError(_0x228934(0x1f0)+_0x54dd1b);_0x56081c===-0x1&&(_0x56081c=_0x54dd1b);let _0x58b910=_0x18fb19[_0x228934(0x137)](_0x23f9c6,_0x56081c);_0x3a13a0&&(_0x58b910=_0x58b910[_0x228934(0x154)](/\\/g,''),_0x3a13a0=!0x1),_0x6201a5(_0x5c651f,_0x1adb40,_0x58b910),_0x481c03===0x2c&&(_0x6201a5(_0x5d04a2,_0x252994,_0x5c651f),_0x5c651f=Object[_0x228934(0x243)](null),_0x252994=void 0x0),_0x1adb40=void 0x0,_0x23f9c6=_0x56081c=-0x1;}else throw new SyntaxError(_0x228934(0x1f0)+_0x54dd1b);}}}}}}}if(_0x23f9c6===-0x1||_0x17d0c4||_0x481c03===0x20||_0x481c03===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x56081c===-0x1&&(_0x56081c=_0x54dd1b);const _0x5904b8=_0x18fb19[_0x228934(0x137)](_0x23f9c6,_0x56081c);return _0x252994===void 0x0?_0x6201a5(_0x5d04a2,_0x5904b8,_0x5c651f):(_0x1adb40===void 0x0?_0x6201a5(_0x5c651f,_0x5904b8,!0x0):_0x3a13a0?_0x6201a5(_0x5c651f,_0x1adb40,_0x5904b8[_0x228934(0x154)](/\\/g,'')):_0x6201a5(_0x5c651f,_0x1adb40,_0x5904b8),_0x6201a5(_0x5d04a2,_0x252994,_0x5c651f)),_0x5d04a2;}function _0x3de580(_0x4eb3d3){const _0x4b3f8d=_0x338f;return Object['keys'](_0x4eb3d3)[_0x4b3f8d(0x26d)](_0x40a00f=>{const _0x2f4c9e=_0x4b3f8d;let _0x3863ac=_0x4eb3d3[_0x40a00f];return Array[_0x2f4c9e(0x12f)](_0x3863ac)||(_0x3863ac=[_0x3863ac]),_0x3863ac['map'](_0x2c6de0=>[_0x40a00f][_0x2f4c9e(0x179)](Object[_0x2f4c9e(0x251)](_0x2c6de0)['map'](_0x491de8=>{const _0x15d976=_0x2f4c9e;let _0xc6ff06=_0x2c6de0[_0x491de8];return Array[_0x15d976(0x12f)](_0xc6ff06)||(_0xc6ff06=[_0xc6ff06]),_0xc6ff06[_0x15d976(0x26d)](_0x253726=>_0x253726===!0x0?_0x491de8:_0x491de8+'='+_0x253726)[_0x15d976(0x245)](';\x20');}))[_0x2f4c9e(0x245)](';\x20'))[_0x2f4c9e(0x245)](',\x20');})[_0x4b3f8d(0x245)](',\x20');}return be={'format':_0x3de580,'parse':_0x27194c},be;}var we,Je;function Pe(){const _0x3cbfcd=_0x4dcda1;if(Je)return we;Je=0x1;const _0x85fbf5=nt,_0x56ca78=vt,_0x7c4f0b=ot,_0x329cbf=St,_0x2efa4f=Et,{randomBytes:_0x5daf11,createHash:_0x1edbfb}=Le,{Duplex:_0x4ba371,Readable:_0x13a91f}=oe,{URL:_0x11cf58}=xt,_0x11c23a=he(),_0x2cddbc=lt(),_0x529774=ft(),{isBlob:_0xd8bbdb}=ae(),{BINARY_TYPES:_0x6075e5,EMPTY_BUFFER:_0x14ea2b,GUID:_0xa0335e,kForOnEventAttribute:_0x49e526,kListener:_0x691e63,kStatusCode:_0x1f6499,kWebSocket:_0x7622cf,NOOP:_0x3dee41}=H(),{EventTarget:{addEventListener:_0x21a467,removeEventListener:_0x5e53c7}}=It(),{format:_0x4bfc4d,parse:_0x371583}=ct(),{toBuffer:_0x593e2c}=ce(),_0x2d563c=0x1e*0x3e8,_0x561046=Symbol('kAborted'),_0x553c09=[0x8,0xd],_0x2379f3=[_0x3cbfcd(0x187),_0x3cbfcd(0x1dc),_0x3cbfcd(0x29c),'CLOSED'],_0x1c53ca=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0xf90ff8 extends _0x85fbf5{constructor(_0x5be82e,_0x3c8720,_0x574a2a){const _0x451721=_0x3cbfcd;super(),this[_0x451721(0x1b4)]=_0x6075e5[0x0],this[_0x451721(0x2a1)]=0x3ee,this[_0x451721(0x228)]=!0x1,this[_0x451721(0x11f)]=!0x1,this[_0x451721(0x17f)]=_0x14ea2b,this['_closeTimer']=null,this['_errorEmitted']=!0x1,this[_0x451721(0x2a7)]={},this[_0x451721(0x213)]=!0x1,this[_0x451721(0x2a8)]='',this[_0x451721(0x219)]=_0xf90ff8['CONNECTING'],this[_0x451721(0x202)]=null,this[_0x451721(0x20f)]=null,this[_0x451721(0x286)]=null,_0x5be82e!==null?(this[_0x451721(0x190)]=0x0,this[_0x451721(0x198)]=!0x1,this[_0x451721(0x264)]=0x0,_0x3c8720===void 0x0?_0x3c8720=[]:Array['isArray'](_0x3c8720)||(typeof _0x3c8720=='object'&&_0x3c8720!==null?(_0x574a2a=_0x3c8720,_0x3c8720=[]):_0x3c8720=[_0x3c8720]),_0x24b62a(this,_0x5be82e,_0x3c8720,_0x574a2a)):(this[_0x451721(0x1b6)]=_0x574a2a['autoPong'],this['_isServer']=!0x0);}get[_0x3cbfcd(0x135)](){return this['_binaryType'];}set[_0x3cbfcd(0x135)](_0x5b4bf3){const _0x5517c9=_0x3cbfcd;_0x6075e5[_0x5517c9(0x1b9)](_0x5b4bf3)&&(this['_binaryType']=_0x5b4bf3,this['_receiver']&&(this['_receiver'][_0x5517c9(0x1b4)]=_0x5b4bf3));}get[_0x3cbfcd(0x1c7)](){const _0x2d1acb=_0x3cbfcd;return this[_0x2d1acb(0x286)]?this[_0x2d1acb(0x286)][_0x2d1acb(0x271)]['length']+this['_sender']['_bufferedBytes']:this[_0x2d1acb(0x190)];}get['extensions'](){const _0x546ac4=_0x3cbfcd;return Object['keys'](this[_0x546ac4(0x2a7)])[_0x546ac4(0x245)]();}get['isPaused'](){const _0x41dc7a=_0x3cbfcd;return this[_0x41dc7a(0x213)];}get[_0x3cbfcd(0x293)](){return null;}get['onerror'](){return null;}get[_0x3cbfcd(0x13e)](){return null;}get[_0x3cbfcd(0x23b)](){return null;}get['protocol'](){const _0x1128c2=_0x3cbfcd;return this[_0x1128c2(0x2a8)];}get['readyState'](){const _0x3e77b1=_0x3cbfcd;return this[_0x3e77b1(0x219)];}get[_0x3cbfcd(0x239)](){const _0x26f373=_0x3cbfcd;return this[_0x26f373(0x260)];}['setSocket'](_0x459fe2,_0x17076a,_0x8b4122){const _0x4e5ebd=_0x3cbfcd,_0x33a730=new _0x2cddbc({'allowSynchronousEvents':_0x8b4122[_0x4e5ebd(0x212)],'binaryType':this[_0x4e5ebd(0x135)],'extensions':this[_0x4e5ebd(0x2a7)],'isServer':this['_isServer'],'maxPayload':_0x8b4122[_0x4e5ebd(0x163)],'skipUTF8Validation':_0x8b4122['skipUTF8Validation']}),_0x1280d7=new _0x529774(_0x459fe2,this[_0x4e5ebd(0x2a7)],_0x8b4122[_0x4e5ebd(0x146)]);this['_receiver']=_0x33a730,this[_0x4e5ebd(0x20f)]=_0x1280d7,this[_0x4e5ebd(0x286)]=_0x459fe2,_0x33a730[_0x7622cf]=this,_0x1280d7[_0x7622cf]=this,_0x459fe2[_0x7622cf]=this,_0x33a730['on']('conclude',_0x400e5a),_0x33a730['on'](_0x4e5ebd(0x200),_0x1f8113),_0x33a730['on'](_0x4e5ebd(0x1ba),_0x32ba8e),_0x33a730['on']('message',_0x32f463),_0x33a730['on'](_0x4e5ebd(0x1b2),_0x267da3),_0x33a730['on'](_0x4e5ebd(0x12c),_0x59e7b2),_0x1280d7[_0x4e5ebd(0x273)]=_0x4cff81,_0x459fe2[_0x4e5ebd(0x218)]&&_0x459fe2[_0x4e5ebd(0x218)](0x0),_0x459fe2['setNoDelay']&&_0x459fe2[_0x4e5ebd(0x182)](),_0x17076a[_0x4e5ebd(0x14d)]>0x0&&_0x459fe2[_0x4e5ebd(0x23f)](_0x17076a),_0x459fe2['on'](_0x4e5ebd(0x107),_0x1a34cd),_0x459fe2['on'](_0x4e5ebd(0x2a0),_0x473713),_0x459fe2['on'](_0x4e5ebd(0x1dd),_0x2dd12a),_0x459fe2['on']('error',_0xc67a19),this['_readyState']=_0xf90ff8[_0x4e5ebd(0x1dc)],this['emit'](_0x4e5ebd(0x20e));}[_0x3cbfcd(0x284)](){const _0x215860=_0x3cbfcd;if(!this[_0x215860(0x286)]){this['_readyState']=_0xf90ff8[_0x215860(0x290)],this[_0x215860(0x28e)](_0x215860(0x107),this[_0x215860(0x2a1)],this[_0x215860(0x17f)]);return;}this[_0x215860(0x2a7)][_0x11c23a[_0x215860(0x169)]]&&this[_0x215860(0x2a7)][_0x11c23a[_0x215860(0x169)]][_0x215860(0x1a4)](),this[_0x215860(0x202)]['removeAllListeners'](),this[_0x215860(0x219)]=_0xf90ff8[_0x215860(0x290)],this[_0x215860(0x28e)](_0x215860(0x107),this[_0x215860(0x2a1)],this[_0x215860(0x17f)]);}['close'](_0x32b4a7,_0x18b7b9){const _0x361e23=_0x3cbfcd;if(this['readyState']!==_0xf90ff8[_0x361e23(0x290)]){if(this[_0x361e23(0x1b3)]===_0xf90ff8[_0x361e23(0x187)]){_0x3c6ec8(this,this[_0x361e23(0x1cb)],_0x361e23(0x123));return;}if(this[_0x361e23(0x1b3)]===_0xf90ff8[_0x361e23(0x29c)]){this[_0x361e23(0x11f)]&&(this[_0x361e23(0x228)]||this[_0x361e23(0x202)][_0x361e23(0x271)][_0x361e23(0x108)])&&this['_socket']['end']();return;}this[_0x361e23(0x219)]=_0xf90ff8[_0x361e23(0x29c)],this[_0x361e23(0x20f)][_0x361e23(0x107)](_0x32b4a7,_0x18b7b9,!this['_isServer'],_0xcc538f=>{const _0x3138a4=_0x361e23;_0xcc538f||(this['_closeFrameSent']=!0x0,(this['_closeFrameReceived']||this[_0x3138a4(0x202)][_0x3138a4(0x271)][_0x3138a4(0x108)])&&this[_0x3138a4(0x286)][_0x3138a4(0x1dd)]());}),_0x470333(this);}}[_0x3cbfcd(0xf4)](){const _0x34f317=_0x3cbfcd;this[_0x34f317(0x1b3)]===_0xf90ff8[_0x34f317(0x187)]||this[_0x34f317(0x1b3)]===_0xf90ff8[_0x34f317(0x290)]||(this[_0x34f317(0x213)]=!0x0,this['_socket'][_0x34f317(0xf4)]());}[_0x3cbfcd(0x1b2)](_0x3e0817,_0x31e765,_0x11c5a9){const _0x380eeb=_0x3cbfcd;if(this[_0x380eeb(0x1b3)]===_0xf90ff8[_0x380eeb(0x187)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x3e0817=='function'?(_0x11c5a9=_0x3e0817,_0x3e0817=_0x31e765=void 0x0):typeof _0x31e765=='function'&&(_0x11c5a9=_0x31e765,_0x31e765=void 0x0),typeof _0x3e0817=='number'&&(_0x3e0817=_0x3e0817[_0x380eeb(0x1a2)]()),this[_0x380eeb(0x1b3)]!==_0xf90ff8[_0x380eeb(0x1dc)]){_0x6e0c7d(this,_0x3e0817,_0x11c5a9);return;}_0x31e765===void 0x0&&(_0x31e765=!this[_0x380eeb(0x198)]),this[_0x380eeb(0x20f)][_0x380eeb(0x1b2)](_0x3e0817||_0x14ea2b,_0x31e765,_0x11c5a9);}[_0x3cbfcd(0x12c)](_0x599100,_0x5d25c1,_0x25c405){const _0x5159ca=_0x3cbfcd;if(this['readyState']===_0xf90ff8[_0x5159ca(0x187)])throw new Error(_0x5159ca(0x1d6));if(typeof _0x599100==_0x5159ca(0x257)?(_0x25c405=_0x599100,_0x599100=_0x5d25c1=void 0x0):typeof _0x5d25c1==_0x5159ca(0x257)&&(_0x25c405=_0x5d25c1,_0x5d25c1=void 0x0),typeof _0x599100==_0x5159ca(0x15f)&&(_0x599100=_0x599100[_0x5159ca(0x1a2)]()),this['readyState']!==_0xf90ff8[_0x5159ca(0x1dc)]){_0x6e0c7d(this,_0x599100,_0x25c405);return;}_0x5d25c1===void 0x0&&(_0x5d25c1=!this[_0x5159ca(0x198)]),this[_0x5159ca(0x20f)][_0x5159ca(0x12c)](_0x599100||_0x14ea2b,_0x5d25c1,_0x25c405);}[_0x3cbfcd(0x19b)](){const _0x2f89da=_0x3cbfcd;this[_0x2f89da(0x1b3)]===_0xf90ff8[_0x2f89da(0x187)]||this[_0x2f89da(0x1b3)]===_0xf90ff8[_0x2f89da(0x290)]||(this[_0x2f89da(0x213)]=!0x1,this[_0x2f89da(0x202)]['_writableState']['needDrain']||this[_0x2f89da(0x286)]['resume']());}['send'](_0x5eac64,_0x36a704,_0x2476bf){const _0x56a657=_0x3cbfcd;if(this[_0x56a657(0x1b3)]===_0xf90ff8[_0x56a657(0x187)])throw new Error(_0x56a657(0x1d6));if(typeof _0x36a704==_0x56a657(0x257)&&(_0x2476bf=_0x36a704,_0x36a704={}),typeof _0x5eac64==_0x56a657(0x15f)&&(_0x5eac64=_0x5eac64[_0x56a657(0x1a2)]()),this[_0x56a657(0x1b3)]!==_0xf90ff8[_0x56a657(0x1dc)]){_0x6e0c7d(this,_0x5eac64,_0x2476bf);return;}const _0x42734c={'binary':typeof _0x5eac64!='string','mask':!this[_0x56a657(0x198)],'compress':!0x0,'fin':!0x0,..._0x36a704};this[_0x56a657(0x2a7)][_0x11c23a['extensionName']]||(_0x42734c[_0x56a657(0x220)]=!0x1),this['_sender']['send'](_0x5eac64||_0x14ea2b,_0x42734c,_0x2476bf);}['terminate'](){const _0x7bb187=_0x3cbfcd;if(this[_0x7bb187(0x1b3)]!==_0xf90ff8['CLOSED']){if(this[_0x7bb187(0x1b3)]===_0xf90ff8['CONNECTING']){_0x3c6ec8(this,this['_req'],_0x7bb187(0x123));return;}this[_0x7bb187(0x286)]&&(this[_0x7bb187(0x219)]=_0xf90ff8['CLOSING'],this['_socket'][_0x7bb187(0x173)]());}}}Object[_0x3cbfcd(0xfc)](_0xf90ff8,_0x3cbfcd(0x187),{'enumerable':!0x0,'value':_0x2379f3['indexOf']('CONNECTING')}),Object[_0x3cbfcd(0xfc)](_0xf90ff8['prototype'],_0x3cbfcd(0x187),{'enumerable':!0x0,'value':_0x2379f3[_0x3cbfcd(0x111)](_0x3cbfcd(0x187))}),Object[_0x3cbfcd(0xfc)](_0xf90ff8,_0x3cbfcd(0x1dc),{'enumerable':!0x0,'value':_0x2379f3['indexOf']('OPEN')}),Object[_0x3cbfcd(0xfc)](_0xf90ff8[_0x3cbfcd(0x1b8)],_0x3cbfcd(0x1dc),{'enumerable':!0x0,'value':_0x2379f3['indexOf'](_0x3cbfcd(0x1dc))}),Object[_0x3cbfcd(0xfc)](_0xf90ff8,_0x3cbfcd(0x29c),{'enumerable':!0x0,'value':_0x2379f3['indexOf'](_0x3cbfcd(0x29c))}),Object[_0x3cbfcd(0xfc)](_0xf90ff8[_0x3cbfcd(0x1b8)],_0x3cbfcd(0x29c),{'enumerable':!0x0,'value':_0x2379f3['indexOf'](_0x3cbfcd(0x29c))}),Object['defineProperty'](_0xf90ff8,_0x3cbfcd(0x290),{'enumerable':!0x0,'value':_0x2379f3[_0x3cbfcd(0x111)](_0x3cbfcd(0x290))}),Object['defineProperty'](_0xf90ff8[_0x3cbfcd(0x1b8)],'CLOSED',{'enumerable':!0x0,'value':_0x2379f3[_0x3cbfcd(0x111)](_0x3cbfcd(0x290))}),[_0x3cbfcd(0x135),'bufferedAmount',_0x3cbfcd(0x27e),_0x3cbfcd(0x186),_0x3cbfcd(0xf9),_0x3cbfcd(0x1b3),_0x3cbfcd(0x239)][_0x3cbfcd(0x292)](_0x2694dc=>{const _0x58a7ea=_0x3cbfcd;Object[_0x58a7ea(0xfc)](_0xf90ff8[_0x58a7ea(0x1b8)],_0x2694dc,{'enumerable':!0x0});}),[_0x3cbfcd(0x20e),_0x3cbfcd(0x1ba),_0x3cbfcd(0x107),'message']['forEach'](_0x59b6d4=>{const _0x20edbd=_0x3cbfcd;Object[_0x20edbd(0xfc)](_0xf90ff8['prototype'],'on'+_0x59b6d4,{'enumerable':!0x0,'get'(){const _0x3ec532=_0x20edbd;for(const _0x3e7bd7 of this[_0x3ec532(0x248)](_0x59b6d4))if(_0x3e7bd7[_0x49e526])return _0x3e7bd7[_0x691e63];return null;},'set'(_0x4aa19a){const _0x2dee1c=_0x20edbd;for(const _0x56b05a of this[_0x2dee1c(0x248)](_0x59b6d4))if(_0x56b05a[_0x49e526]){this['removeListener'](_0x59b6d4,_0x56b05a);break;}typeof _0x4aa19a==_0x2dee1c(0x257)&&this[_0x2dee1c(0x11a)](_0x59b6d4,_0x4aa19a,{[_0x49e526]:!0x0});}});}),_0xf90ff8['prototype']['addEventListener']=_0x21a467,_0xf90ff8['prototype'][_0x3cbfcd(0x125)]=_0x5e53c7,we=_0xf90ff8;function _0x24b62a(_0x3338b3,_0x596349,_0x9f4667,_0x24e304){const _0x4b4d32=_0x3cbfcd,_0x2851ff={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x553c09[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x24e304,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x4b4d32(0x17e),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x3338b3[_0x4b4d32(0x1b6)]=_0x2851ff[_0x4b4d32(0x26e)],!_0x553c09[_0x4b4d32(0x1b9)](_0x2851ff[_0x4b4d32(0x1aa)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x2851ff['protocolVersion']+'\x20(supported\x20versions:\x20'+_0x553c09['join'](',\x20')+')');let _0x43aa68;if(_0x596349 instanceof _0x11cf58)_0x43aa68=_0x596349;else try{_0x43aa68=new _0x11cf58(_0x596349);}catch{throw new SyntaxError(_0x4b4d32(0x16a)+_0x596349);}_0x43aa68[_0x4b4d32(0xf9)]===_0x4b4d32(0x29f)?_0x43aa68[_0x4b4d32(0xf9)]=_0x4b4d32(0x129):_0x43aa68[_0x4b4d32(0xf9)]===_0x4b4d32(0x2a5)&&(_0x43aa68[_0x4b4d32(0xf9)]='wss:'),_0x3338b3[_0x4b4d32(0x260)]=_0x43aa68[_0x4b4d32(0x12b)];const _0x4aaf3c=_0x43aa68[_0x4b4d32(0xf9)]===_0x4b4d32(0x109),_0x2751b7=_0x43aa68[_0x4b4d32(0xf9)]===_0x4b4d32(0x268);let _0x5b7c76;if(_0x43aa68[_0x4b4d32(0xf9)]!==_0x4b4d32(0x129)&&!_0x4aaf3c&&!_0x2751b7?_0x5b7c76=_0x4b4d32(0xfa):_0x2751b7&&!_0x43aa68['pathname']?_0x5b7c76=_0x4b4d32(0x165):_0x43aa68[_0x4b4d32(0x1a5)]&&(_0x5b7c76=_0x4b4d32(0x156)),_0x5b7c76){const _0x3e564e=new SyntaxError(_0x5b7c76);if(_0x3338b3[_0x4b4d32(0x264)]===0x0)throw _0x3e564e;_0x3e1905(_0x3338b3,_0x3e564e);return;}const _0x50f4e5=_0x4aaf3c?0x1bb:0x50,_0x5e04cf=_0x5daf11(0x10)[_0x4b4d32(0x1a2)](_0x4b4d32(0x189)),_0x2adb29=_0x4aaf3c?_0x56ca78[_0x4b4d32(0x1ac)]:_0x7c4f0b[_0x4b4d32(0x1ac)],_0xac144a=new Set();let _0x21f1e7;if(_0x2851ff[_0x4b4d32(0x20a)]=_0x2851ff[_0x4b4d32(0x20a)]||(_0x4aaf3c?_0x59d145:_0x5e469b),_0x2851ff[_0x4b4d32(0x215)]=_0x2851ff[_0x4b4d32(0x215)]||_0x50f4e5,_0x2851ff[_0x4b4d32(0x1fe)]=_0x43aa68[_0x4b4d32(0x1fe)]||_0x50f4e5,_0x2851ff[_0x4b4d32(0x25a)]=_0x43aa68[_0x4b4d32(0xef)][_0x4b4d32(0x150)]('[')?_0x43aa68[_0x4b4d32(0xef)]['slice'](0x1,-0x1):_0x43aa68[_0x4b4d32(0xef)],_0x2851ff[_0x4b4d32(0x1f4)]={..._0x2851ff[_0x4b4d32(0x1f4)],'Sec-WebSocket-Version':_0x2851ff[_0x4b4d32(0x1aa)],'Sec-WebSocket-Key':_0x5e04cf,'Connection':'Upgrade','Upgrade':_0x4b4d32(0xf6)},_0x2851ff[_0x4b4d32(0x266)]=_0x43aa68['pathname']+_0x43aa68[_0x4b4d32(0x1fb)],_0x2851ff[_0x4b4d32(0x28b)]=_0x2851ff[_0x4b4d32(0x263)],_0x2851ff['perMessageDeflate']&&(_0x21f1e7=new _0x11c23a(_0x2851ff[_0x4b4d32(0x253)]!==!0x0?_0x2851ff['perMessageDeflate']:{},!0x1,_0x2851ff['maxPayload']),_0x2851ff[_0x4b4d32(0x1f4)][_0x4b4d32(0x238)]=_0x4bfc4d({[_0x11c23a[_0x4b4d32(0x169)]]:_0x21f1e7[_0x4b4d32(0x1c6)]()})),_0x9f4667['length']){for(const _0x7995fe of _0x9f4667){if(typeof _0x7995fe!=_0x4b4d32(0x287)||!_0x1c53ca['test'](_0x7995fe)||_0xac144a[_0x4b4d32(0x181)](_0x7995fe))throw new SyntaxError(_0x4b4d32(0x192));_0xac144a[_0x4b4d32(0x172)](_0x7995fe);}_0x2851ff['headers']['Sec-WebSocket-Protocol']=_0x9f4667[_0x4b4d32(0x245)](',');}if(_0x2851ff[_0x4b4d32(0x157)]&&(_0x2851ff[_0x4b4d32(0x1aa)]<0xd?_0x2851ff['headers'][_0x4b4d32(0x178)]=_0x2851ff[_0x4b4d32(0x157)]:_0x2851ff[_0x4b4d32(0x1f4)][_0x4b4d32(0x216)]=_0x2851ff[_0x4b4d32(0x157)]),(_0x43aa68['username']||_0x43aa68[_0x4b4d32(0x16d)])&&(_0x2851ff[_0x4b4d32(0x127)]=_0x43aa68[_0x4b4d32(0x26f)]+':'+_0x43aa68[_0x4b4d32(0x16d)]),_0x2751b7){const _0x276b1a=_0x2851ff['path'][_0x4b4d32(0x1c2)](':');_0x2851ff[_0x4b4d32(0x1f6)]=_0x276b1a[0x0],_0x2851ff[_0x4b4d32(0x266)]=_0x276b1a[0x1];}let _0x2b7cbf;if(_0x2851ff['followRedirects']){if(_0x3338b3['_redirects']===0x0){_0x3338b3[_0x4b4d32(0x210)]=_0x2751b7,_0x3338b3[_0x4b4d32(0x270)]=_0x4aaf3c,_0x3338b3[_0x4b4d32(0x16e)]=_0x2751b7?_0x2851ff[_0x4b4d32(0x1f6)]:_0x43aa68[_0x4b4d32(0x25a)];const _0x58ebb4=_0x24e304&&_0x24e304['headers'];if(_0x24e304={..._0x24e304,'headers':{}},_0x58ebb4){for(const [_0xceb8e6,_0x52b6cc]of Object[_0x4b4d32(0x1cf)](_0x58ebb4))_0x24e304[_0x4b4d32(0x1f4)][_0xceb8e6['toLowerCase']()]=_0x52b6cc;}}else{if(_0x3338b3[_0x4b4d32(0x1ff)]('redirect')===0x0){const _0x54db3d=_0x2751b7?_0x3338b3[_0x4b4d32(0x210)]?_0x2851ff[_0x4b4d32(0x1f6)]===_0x3338b3['_originalHostOrSocketPath']:!0x1:_0x3338b3[_0x4b4d32(0x210)]?!0x1:_0x43aa68[_0x4b4d32(0x25a)]===_0x3338b3[_0x4b4d32(0x16e)];(!_0x54db3d||_0x3338b3[_0x4b4d32(0x270)]&&!_0x4aaf3c)&&(delete _0x2851ff[_0x4b4d32(0x1f4)][_0x4b4d32(0x28f)],delete _0x2851ff[_0x4b4d32(0x1f4)]['cookie'],_0x54db3d||delete _0x2851ff[_0x4b4d32(0x1f4)][_0x4b4d32(0x25a)],_0x2851ff[_0x4b4d32(0x127)]=void 0x0);}}_0x2851ff[_0x4b4d32(0x127)]&&!_0x24e304[_0x4b4d32(0x1f4)][_0x4b4d32(0x28f)]&&(_0x24e304[_0x4b4d32(0x1f4)][_0x4b4d32(0x28f)]=_0x4b4d32(0x2a6)+Buffer[_0x4b4d32(0x13f)](_0x2851ff[_0x4b4d32(0x127)])[_0x4b4d32(0x1a2)](_0x4b4d32(0x189))),_0x2b7cbf=_0x3338b3[_0x4b4d32(0x1cb)]=_0x2adb29(_0x2851ff),_0x3338b3[_0x4b4d32(0x264)]&&_0x3338b3[_0x4b4d32(0x28e)](_0x4b4d32(0x1a0),_0x3338b3['url'],_0x2b7cbf);}else _0x2b7cbf=_0x3338b3[_0x4b4d32(0x1cb)]=_0x2adb29(_0x2851ff);_0x2851ff[_0x4b4d32(0x28b)]&&_0x2b7cbf['on'](_0x4b4d32(0x28b),()=>{const _0x561af5=_0x4b4d32;_0x3c6ec8(_0x3338b3,_0x2b7cbf,_0x561af5(0x14a));}),_0x2b7cbf['on']('error',_0x20afdb=>{const _0x3c8e55=_0x4b4d32;_0x2b7cbf===null||_0x2b7cbf[_0x561046]||(_0x2b7cbf=_0x3338b3[_0x3c8e55(0x1cb)]=null,_0x3e1905(_0x3338b3,_0x20afdb));}),_0x2b7cbf['on']('response',_0x380e08=>{const _0x72874d=_0x4b4d32,_0x1be7f0=_0x380e08['headers'][_0x72874d(0x1ea)],_0x48086f=_0x380e08[_0x72874d(0x1cc)];if(_0x1be7f0&&_0x2851ff[_0x72874d(0xf1)]&&_0x48086f>=0x12c&&_0x48086f<0x190){if(++_0x3338b3[_0x72874d(0x264)]>_0x2851ff[_0x72874d(0x22d)]){_0x3c6ec8(_0x3338b3,_0x2b7cbf,'Maximum\x20redirects\x20exceeded');return;}_0x2b7cbf[_0x72874d(0x10b)]();let _0x39c078;try{_0x39c078=new _0x11cf58(_0x1be7f0,_0x596349);}catch{const _0x14d18a=new SyntaxError('Invalid\x20URL:\x20'+_0x1be7f0);_0x3e1905(_0x3338b3,_0x14d18a);return;}_0x24b62a(_0x3338b3,_0x39c078,_0x9f4667,_0x24e304);}else _0x3338b3[_0x72874d(0x28e)](_0x72874d(0x24c),_0x2b7cbf,_0x380e08)||_0x3c6ec8(_0x3338b3,_0x2b7cbf,'Unexpected\x20server\x20response:\x20'+_0x380e08['statusCode']);}),_0x2b7cbf['on']('upgrade',(_0x5ec94b,_0x5602f9,_0x510ea9)=>{const _0x803c57=_0x4b4d32;if(_0x3338b3['emit']('upgrade',_0x5ec94b),_0x3338b3[_0x803c57(0x1b3)]!==_0xf90ff8[_0x803c57(0x187)])return;_0x2b7cbf=_0x3338b3[_0x803c57(0x1cb)]=null;const _0x5837c5=_0x5ec94b[_0x803c57(0x1f4)][_0x803c57(0x25f)];if(_0x5837c5===void 0x0||_0x5837c5[_0x803c57(0x242)]()!==_0x803c57(0xf6)){_0x3c6ec8(_0x3338b3,_0x5602f9,_0x803c57(0x122));return;}const _0x4d5ae0=_0x1edbfb(_0x803c57(0x17c))[_0x803c57(0x1e2)](_0x5e04cf+_0xa0335e)[_0x803c57(0x283)](_0x803c57(0x189));if(_0x5ec94b[_0x803c57(0x1f4)]['sec-websocket-accept']!==_0x4d5ae0){_0x3c6ec8(_0x3338b3,_0x5602f9,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x2d7d2a=_0x5ec94b['headers'][_0x803c57(0x24d)];let _0x3e4774;if(_0x2d7d2a!==void 0x0?_0xac144a[_0x803c57(0x2a4)]?_0xac144a['has'](_0x2d7d2a)||(_0x3e4774='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x3e4774=_0x803c57(0x282):_0xac144a[_0x803c57(0x2a4)]&&(_0x3e4774='Server\x20sent\x20no\x20subprotocol'),_0x3e4774){_0x3c6ec8(_0x3338b3,_0x5602f9,_0x3e4774);return;}_0x2d7d2a&&(_0x3338b3[_0x803c57(0x2a8)]=_0x2d7d2a);const _0x111050=_0x5ec94b[_0x803c57(0x1f4)][_0x803c57(0x244)];if(_0x111050!==void 0x0){if(!_0x21f1e7){_0x3c6ec8(_0x3338b3,_0x5602f9,_0x803c57(0x21c));return;}let _0x5237a3;try{_0x5237a3=_0x371583(_0x111050);}catch{_0x3c6ec8(_0x3338b3,_0x5602f9,_0x803c57(0x12a));return;}const _0xe80fbc=Object[_0x803c57(0x251)](_0x5237a3);if(_0xe80fbc[_0x803c57(0x14d)]!==0x1||_0xe80fbc[0x0]!==_0x11c23a[_0x803c57(0x169)]){_0x3c6ec8(_0x3338b3,_0x5602f9,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x21f1e7[_0x803c57(0x1d1)](_0x5237a3[_0x11c23a[_0x803c57(0x169)]]);}catch{_0x3c6ec8(_0x3338b3,_0x5602f9,_0x803c57(0x12a));return;}_0x3338b3[_0x803c57(0x2a7)][_0x11c23a[_0x803c57(0x169)]]=_0x21f1e7;}_0x3338b3[_0x803c57(0x256)](_0x5602f9,_0x510ea9,{'allowSynchronousEvents':_0x2851ff[_0x803c57(0x212)],'generateMask':_0x2851ff['generateMask'],'maxPayload':_0x2851ff[_0x803c57(0x163)],'skipUTF8Validation':_0x2851ff[_0x803c57(0x14e)]});}),_0x2851ff['finishRequest']?_0x2851ff[_0x4b4d32(0x26c)](_0x2b7cbf,_0x3338b3):_0x2b7cbf['end']();}function _0x3e1905(_0x5b9013,_0x2a23f2){const _0x4397b4=_0x3cbfcd;_0x5b9013[_0x4397b4(0x219)]=_0xf90ff8[_0x4397b4(0x29c)],_0x5b9013['_errorEmitted']=!0x0,_0x5b9013[_0x4397b4(0x28e)](_0x4397b4(0x1ba),_0x2a23f2),_0x5b9013[_0x4397b4(0x284)]();}function _0x5e469b(_0x5551fb){const _0x551415=_0x3cbfcd;return _0x5551fb[_0x551415(0x266)]=_0x5551fb[_0x551415(0x1f6)],_0x329cbf[_0x551415(0x158)](_0x5551fb);}function _0x59d145(_0x1a21a4){const _0x5885e6=_0x3cbfcd;return _0x1a21a4[_0x5885e6(0x266)]=void 0x0,!_0x1a21a4['servername']&&_0x1a21a4[_0x5885e6(0x1b7)]!==''&&(_0x1a21a4[_0x5885e6(0x1b7)]=_0x329cbf[_0x5885e6(0x142)](_0x1a21a4[_0x5885e6(0x25a)])?'':_0x1a21a4['host']),_0x2efa4f[_0x5885e6(0x158)](_0x1a21a4);}function _0x3c6ec8(_0x5409de,_0x21b7d8,_0x281c0f){const _0x50c2fb=_0x3cbfcd;_0x5409de[_0x50c2fb(0x219)]=_0xf90ff8[_0x50c2fb(0x29c)];const _0x1b3e61=new Error(_0x281c0f);Error[_0x50c2fb(0x144)](_0x1b3e61,_0x3c6ec8),_0x21b7d8[_0x50c2fb(0x1e5)]?(_0x21b7d8[_0x561046]=!0x0,_0x21b7d8[_0x50c2fb(0x10b)](),_0x21b7d8[_0x50c2fb(0x128)]&&!_0x21b7d8['socket']['destroyed']&&_0x21b7d8[_0x50c2fb(0x128)]['destroy'](),process[_0x50c2fb(0x134)](_0x3e1905,_0x5409de,_0x1b3e61)):(_0x21b7d8[_0x50c2fb(0x173)](_0x1b3e61),_0x21b7d8[_0x50c2fb(0x13c)](_0x50c2fb(0x1ba),_0x5409de[_0x50c2fb(0x28e)][_0x50c2fb(0x138)](_0x5409de,'error')),_0x21b7d8[_0x50c2fb(0x13c)](_0x50c2fb(0x107),_0x5409de[_0x50c2fb(0x284)][_0x50c2fb(0x138)](_0x5409de)));}function _0x6e0c7d(_0x1c6dde,_0x4c568a,_0x5ac6d7){const _0x5c7af0=_0x3cbfcd;if(_0x4c568a){const _0x1a11a8=_0xd8bbdb(_0x4c568a)?_0x4c568a[_0x5c7af0(0x2a4)]:_0x593e2c(_0x4c568a)[_0x5c7af0(0x14d)];_0x1c6dde[_0x5c7af0(0x286)]?_0x1c6dde[_0x5c7af0(0x20f)]['_bufferedBytes']+=_0x1a11a8:_0x1c6dde[_0x5c7af0(0x190)]+=_0x1a11a8;}if(_0x5ac6d7){const _0x4e0ef9=new Error(_0x5c7af0(0x23e)+_0x1c6dde['readyState']+'\x20('+_0x2379f3[_0x1c6dde['readyState']]+')');process[_0x5c7af0(0x134)](_0x5ac6d7,_0x4e0ef9);}}function _0x400e5a(_0x8a0f82,_0x459445){const _0x58d9f3=_0x3cbfcd,_0x52a2bf=this[_0x7622cf];_0x52a2bf[_0x58d9f3(0x228)]=!0x0,_0x52a2bf[_0x58d9f3(0x17f)]=_0x459445,_0x52a2bf[_0x58d9f3(0x2a1)]=_0x8a0f82,_0x52a2bf[_0x58d9f3(0x286)][_0x7622cf]!==void 0x0&&(_0x52a2bf[_0x58d9f3(0x286)]['removeListener']('data',_0x473713),process['nextTick'](_0x593df0,_0x52a2bf['_socket']),_0x8a0f82===0x3ed?_0x52a2bf['close']():_0x52a2bf[_0x58d9f3(0x107)](_0x8a0f82,_0x459445));}function _0x1f8113(){const _0x2a378b=_0x3cbfcd,_0x1196ee=this[_0x7622cf];_0x1196ee[_0x2a378b(0x186)]||_0x1196ee[_0x2a378b(0x286)][_0x2a378b(0x19b)]();}function _0x32ba8e(_0x525a46){const _0x7d6349=_0x3cbfcd,_0xdd66e4=this[_0x7622cf];_0xdd66e4['_socket'][_0x7622cf]!==void 0x0&&(_0xdd66e4[_0x7d6349(0x286)][_0x7d6349(0x177)](_0x7d6349(0x2a0),_0x473713),process[_0x7d6349(0x134)](_0x593df0,_0xdd66e4[_0x7d6349(0x286)]),_0xdd66e4[_0x7d6349(0x107)](_0x525a46[_0x1f6499])),_0xdd66e4[_0x7d6349(0x204)]||(_0xdd66e4['_errorEmitted']=!0x0,_0xdd66e4[_0x7d6349(0x28e)]('error',_0x525a46));}function _0x1d6f98(){const _0x3fc278=_0x3cbfcd;this[_0x7622cf][_0x3fc278(0x284)]();}function _0x32f463(_0xeff590,_0x2c2dcf){const _0x2cf5a=_0x3cbfcd;this[_0x7622cf][_0x2cf5a(0x28e)](_0x2cf5a(0x1df),_0xeff590,_0x2c2dcf);}function _0x267da3(_0x3c99bd){const _0x889528=_0x3cbfcd,_0x2edba1=this[_0x7622cf];_0x2edba1[_0x889528(0x1b6)]&&_0x2edba1[_0x889528(0x12c)](_0x3c99bd,!this[_0x889528(0x198)],_0x3dee41),_0x2edba1['emit']('ping',_0x3c99bd);}function _0x59e7b2(_0x4e7685){const _0x589abf=_0x3cbfcd;this[_0x7622cf]['emit'](_0x589abf(0x12c),_0x4e7685);}function _0x593df0(_0x13e44e){const _0x1880a7=_0x3cbfcd;_0x13e44e[_0x1880a7(0x19b)]();}function _0x4cff81(_0x3a4c23){const _0x34d1b5=_0x3cbfcd,_0x5d1fc7=this[_0x7622cf];_0x5d1fc7[_0x34d1b5(0x1b3)]!==_0xf90ff8[_0x34d1b5(0x290)]&&(_0x5d1fc7[_0x34d1b5(0x1b3)]===_0xf90ff8[_0x34d1b5(0x1dc)]&&(_0x5d1fc7[_0x34d1b5(0x219)]=_0xf90ff8['CLOSING'],_0x470333(_0x5d1fc7)),this[_0x34d1b5(0x286)][_0x34d1b5(0x1dd)](),_0x5d1fc7[_0x34d1b5(0x204)]||(_0x5d1fc7['_errorEmitted']=!0x0,_0x5d1fc7[_0x34d1b5(0x28e)](_0x34d1b5(0x1ba),_0x3a4c23)));}function _0x470333(_0x5ae029){const _0x22fe12=_0x3cbfcd;_0x5ae029[_0x22fe12(0x152)]=setTimeout(_0x5ae029[_0x22fe12(0x286)]['destroy']['bind'](_0x5ae029[_0x22fe12(0x286)]),_0x2d563c);}function _0x1a34cd(){const _0x21a057=_0x3cbfcd,_0x5982cf=this[_0x7622cf];this[_0x21a057(0x177)](_0x21a057(0x107),_0x1a34cd),this[_0x21a057(0x177)](_0x21a057(0x2a0),_0x473713),this[_0x21a057(0x177)](_0x21a057(0x1dd),_0x2dd12a),_0x5982cf[_0x21a057(0x219)]=_0xf90ff8['CLOSING'];let _0x4417e8;!this[_0x21a057(0x1a9)][_0x21a057(0xf3)]&&!_0x5982cf[_0x21a057(0x228)]&&!_0x5982cf[_0x21a057(0x202)]['_writableState']['errorEmitted']&&(_0x4417e8=_0x5982cf[_0x21a057(0x286)][_0x21a057(0x126)]())!==null&&_0x5982cf[_0x21a057(0x202)][_0x21a057(0x17a)](_0x4417e8),_0x5982cf[_0x21a057(0x202)][_0x21a057(0x1dd)](),this[_0x7622cf]=void 0x0,clearTimeout(_0x5982cf[_0x21a057(0x152)]),_0x5982cf[_0x21a057(0x202)][_0x21a057(0x271)][_0x21a057(0x22e)]||_0x5982cf['_receiver']['_writableState'][_0x21a057(0x108)]?_0x5982cf[_0x21a057(0x284)]():(_0x5982cf[_0x21a057(0x202)]['on'](_0x21a057(0x1ba),_0x1d6f98),_0x5982cf[_0x21a057(0x202)]['on']('finish',_0x1d6f98));}function _0x473713(_0x26d755){const _0x5d4783=_0x3cbfcd;this[_0x7622cf]['_receiver'][_0x5d4783(0x17a)](_0x26d755)||this[_0x5d4783(0xf4)]();}function _0x2dd12a(){const _0x22e420=_0x3cbfcd,_0x278128=this[_0x7622cf];_0x278128[_0x22e420(0x219)]=_0xf90ff8[_0x22e420(0x29c)],_0x278128[_0x22e420(0x202)]['end'](),this[_0x22e420(0x1dd)]();}function _0xc67a19(){const _0x36f4e7=_0x3cbfcd,_0x22d06d=this[_0x7622cf];this[_0x36f4e7(0x177)](_0x36f4e7(0x1ba),_0xc67a19),this['on']('error',_0x3dee41),_0x22d06d&&(_0x22d06d[_0x36f4e7(0x219)]=_0xf90ff8['CLOSING'],this[_0x36f4e7(0x173)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0xc6dae0}=oe;function _0x3c3783(_0x1bcaba){const _0x476db0=_0x338f;_0x1bcaba[_0x476db0(0x28e)](_0x476db0(0x107));}function _0x3df8fe(){const _0x298312=_0x338f;!this[_0x298312(0x2b0)]&&this[_0x298312(0x271)]['finished']&&this[_0x298312(0x173)]();}function _0x2091d0(_0x165d2c){const _0x42aa73=_0x338f;this['removeListener'](_0x42aa73(0x1ba),_0x2091d0),this[_0x42aa73(0x173)](),this['listenerCount']('error')===0x0&&this[_0x42aa73(0x28e)]('error',_0x165d2c);}function _0xe7ad3f(_0x5ba2b0,_0x203e8b){const _0x476258=_0x338f;let _0x2d0082=!0x0;const _0xabfdf5=new _0xc6dae0({..._0x203e8b,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x5ba2b0['on'](_0x476258(0x1df),function(_0x269153,_0xdedb39){const _0x27586e=_0x476258,_0x37f05a=!_0xdedb39&&_0xabfdf5['_readableState'][_0x27586e(0xf5)]?_0x269153[_0x27586e(0x1a2)]():_0x269153;_0xabfdf5[_0x27586e(0x1a1)](_0x37f05a)||_0x5ba2b0[_0x27586e(0xf4)]();}),_0x5ba2b0[_0x476258(0x13c)]('error',function(_0x4880a6){const _0x7757e8=_0x476258;_0xabfdf5['destroyed']||(_0x2d0082=!0x1,_0xabfdf5[_0x7757e8(0x173)](_0x4880a6));}),_0x5ba2b0[_0x476258(0x13c)](_0x476258(0x107),function(){const _0x2cb34c=_0x476258;_0xabfdf5['destroyed']||_0xabfdf5[_0x2cb34c(0x1a1)](null);}),_0xabfdf5[_0x476258(0x1ec)]=function(_0x32ea1d,_0x1a113d){const _0x53f3dc=_0x476258;if(_0x5ba2b0[_0x53f3dc(0x1b3)]===_0x5ba2b0[_0x53f3dc(0x290)]){_0x1a113d(_0x32ea1d),process[_0x53f3dc(0x134)](_0x3c3783,_0xabfdf5);return;}let _0x124ce0=!0x1;_0x5ba2b0[_0x53f3dc(0x13c)](_0x53f3dc(0x1ba),function(_0x4b676c){_0x124ce0=!0x0,_0x1a113d(_0x4b676c);}),_0x5ba2b0[_0x53f3dc(0x13c)](_0x53f3dc(0x107),function(){const _0x4e136a=_0x53f3dc;_0x124ce0||_0x1a113d(_0x32ea1d),process[_0x4e136a(0x134)](_0x3c3783,_0xabfdf5);}),_0x2d0082&&_0x5ba2b0['terminate']();},_0xabfdf5['_final']=function(_0x278621){const _0x476a3f=_0x476258;if(_0x5ba2b0[_0x476a3f(0x1b3)]===_0x5ba2b0[_0x476a3f(0x187)]){_0x5ba2b0['once']('open',function(){const _0x508770=_0x476a3f;_0xabfdf5[_0x508770(0x188)](_0x278621);});return;}_0x5ba2b0['_socket']!==null&&(_0x5ba2b0[_0x476a3f(0x286)]['_writableState']['finished']?(_0x278621(),_0xabfdf5[_0x476a3f(0x1a9)][_0x476a3f(0xf3)]&&_0xabfdf5[_0x476a3f(0x173)]()):(_0x5ba2b0[_0x476a3f(0x286)][_0x476a3f(0x13c)](_0x476a3f(0x22b),function(){_0x278621();}),_0x5ba2b0[_0x476a3f(0x107)]()));},_0xabfdf5[_0x476258(0x18d)]=function(){const _0x46428e=_0x476258;_0x5ba2b0[_0x46428e(0x186)]&&_0x5ba2b0[_0x46428e(0x19b)]();},_0xabfdf5[_0x476258(0x106)]=function(_0x29c1e3,_0x504edd,_0x366528){const _0x1d504f=_0x476258;if(_0x5ba2b0[_0x1d504f(0x1b3)]===_0x5ba2b0[_0x1d504f(0x187)]){_0x5ba2b0['once'](_0x1d504f(0x20e),function(){const _0x143eb1=_0x1d504f;_0xabfdf5[_0x143eb1(0x106)](_0x29c1e3,_0x504edd,_0x366528);});return;}_0x5ba2b0['send'](_0x29c1e3,_0x366528);},_0xabfdf5['on'](_0x476258(0x1dd),_0x3df8fe),_0xabfdf5['on'](_0x476258(0x1ba),_0x2091d0),_0xabfdf5;}return Oe=_0xe7ad3f,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x4bcd61}=ae();function _0x612be1(_0x338df4){const _0x43a2d5=_0x338f,_0x7f571f=new Set();let _0x12a7ea=-0x1,_0x2bf2d4=-0x1,_0x3acbeb=0x0;for(_0x3acbeb;_0x3acbeb<_0x338df4['length'];_0x3acbeb++){const _0x453959=_0x338df4[_0x43a2d5(0x2a2)](_0x3acbeb);if(_0x2bf2d4===-0x1&&_0x4bcd61[_0x453959]===0x1)_0x12a7ea===-0x1&&(_0x12a7ea=_0x3acbeb);else{if(_0x3acbeb!==0x0&&(_0x453959===0x20||_0x453959===0x9))_0x2bf2d4===-0x1&&_0x12a7ea!==-0x1&&(_0x2bf2d4=_0x3acbeb);else{if(_0x453959===0x2c){if(_0x12a7ea===-0x1)throw new SyntaxError(_0x43a2d5(0x1f0)+_0x3acbeb);_0x2bf2d4===-0x1&&(_0x2bf2d4=_0x3acbeb);const _0x1bf8cc=_0x338df4['slice'](_0x12a7ea,_0x2bf2d4);if(_0x7f571f[_0x43a2d5(0x181)](_0x1bf8cc))throw new SyntaxError(_0x43a2d5(0x18c)+_0x1bf8cc+'\x22\x20subprotocol\x20is\x20duplicated');_0x7f571f[_0x43a2d5(0x172)](_0x1bf8cc),_0x12a7ea=_0x2bf2d4=-0x1;}else throw new SyntaxError(_0x43a2d5(0x1f0)+_0x3acbeb);}}}if(_0x12a7ea===-0x1||_0x2bf2d4!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x586eae=_0x338df4['slice'](_0x12a7ea,_0x3acbeb);if(_0x7f571f[_0x43a2d5(0x181)](_0x586eae))throw new SyntaxError(_0x43a2d5(0x18c)+_0x586eae+_0x43a2d5(0x1f1));return _0x7f571f[_0x43a2d5(0x172)](_0x586eae),_0x7f571f;}return Ce={'parse':_0x612be1},Ce;}var Te,rt;function _0x338f(_0x172929,_0xde722c){const _0x6d5261=_0x6d52();return _0x338f=function(_0x338f4a,_0x1f9f6f){_0x338f4a=_0x338f4a-0xeb;let _0x56e6c6=_0x6d5261[_0x338f4a];return _0x56e6c6;},_0x338f(_0x172929,_0xde722c);}function Ft(){const _0x452195=_0x4dcda1;if(rt)return Te;rt=0x1;const _0x2bf282=nt,_0x350562=ot,{Duplex:_0x3f5bdd}=oe,{createHash:_0x49e485}=Le,_0x24f849=ct(),_0x1b8388=he(),_0x39551f=At(),_0x394776=Pe(),{GUID:_0x33e229,kWebSocket:_0x3e1ebe}=H(),_0x279aad=/^[+/0-9A-Za-z]{22}==$/,_0x573a99=0x0,_0xd1d9cb=0x1,_0x2048f7=0x2;class _0x1aad9b extends _0x2bf282{constructor(_0x8f362b,_0x47d9b9){const _0x5f05a5=_0x338f;if(super(),_0x8f362b={'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':_0x394776,..._0x8f362b},_0x8f362b[_0x5f05a5(0x1fe)]==null&&!_0x8f362b[_0x5f05a5(0x120)]&&!_0x8f362b[_0x5f05a5(0x27f)]||_0x8f362b[_0x5f05a5(0x1fe)]!=null&&(_0x8f362b[_0x5f05a5(0x120)]||_0x8f362b[_0x5f05a5(0x27f)])||_0x8f362b[_0x5f05a5(0x120)]&&_0x8f362b['noServer'])throw new TypeError(_0x5f05a5(0x15a));if(_0x8f362b['port']!=null?(this[_0x5f05a5(0x14b)]=_0x350562[_0x5f05a5(0x224)]((_0x2445e3,_0x3af5a4)=>{const _0x5dd252=_0x5f05a5,_0x47e59b=_0x350562[_0x5dd252(0x175)][0x1aa];_0x3af5a4[_0x5dd252(0x1d5)](0x1aa,{'Content-Length':_0x47e59b[_0x5dd252(0x14d)],'Content-Type':_0x5dd252(0xff)}),_0x3af5a4[_0x5dd252(0x1dd)](_0x47e59b);}),this[_0x5f05a5(0x14b)][_0x5f05a5(0x1a7)](_0x8f362b[_0x5f05a5(0x1fe)],_0x8f362b[_0x5f05a5(0x25a)],_0x8f362b[_0x5f05a5(0x1bd)],_0x47d9b9)):_0x8f362b[_0x5f05a5(0x120)]&&(this[_0x5f05a5(0x14b)]=_0x8f362b[_0x5f05a5(0x120)]),this[_0x5f05a5(0x14b)]){const _0x2645c6=this[_0x5f05a5(0x28e)][_0x5f05a5(0x138)](this,_0x5f05a5(0x15c));this[_0x5f05a5(0x285)]=_0x5180d2(this[_0x5f05a5(0x14b)],{'listening':this[_0x5f05a5(0x28e)][_0x5f05a5(0x138)](this,_0x5f05a5(0x1be)),'error':this[_0x5f05a5(0x28e)][_0x5f05a5(0x138)](this,_0x5f05a5(0x1ba)),'upgrade':(_0x38fa6b,_0x282a61,_0x2c800e)=>{this['handleUpgrade'](_0x38fa6b,_0x282a61,_0x2c800e,_0x2645c6);}});}_0x8f362b[_0x5f05a5(0x253)]===!0x0&&(_0x8f362b[_0x5f05a5(0x253)]={}),_0x8f362b[_0x5f05a5(0x232)]&&(this[_0x5f05a5(0x18f)]=new Set(),this['_shouldEmitClose']=!0x1),this[_0x5f05a5(0x101)]=_0x8f362b,this['_state']=_0x573a99;}[_0x452195(0x1ae)](){const _0x510bd9=_0x452195;if(this['options'][_0x510bd9(0x27f)])throw new Error(_0x510bd9(0x149));return this[_0x510bd9(0x14b)]?this[_0x510bd9(0x14b)][_0x510bd9(0x1ae)]():null;}['close'](_0x5c786b){const _0x30e882=_0x452195;if(this[_0x30e882(0x21f)]===_0x2048f7){_0x5c786b&&this[_0x30e882(0x13c)](_0x30e882(0x107),()=>{_0x5c786b(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x30e882(0x134)](_0xcdebf6,this);return;}if(_0x5c786b&&this[_0x30e882(0x13c)](_0x30e882(0x107),_0x5c786b),this[_0x30e882(0x21f)]!==_0xd1d9cb){if(this[_0x30e882(0x21f)]=_0xd1d9cb,this['options']['noServer']||this[_0x30e882(0x101)][_0x30e882(0x120)])this[_0x30e882(0x14b)]&&(this[_0x30e882(0x285)](),this[_0x30e882(0x285)]=this[_0x30e882(0x14b)]=null),this[_0x30e882(0x18f)]?this[_0x30e882(0x18f)]['size']?this[_0x30e882(0x29d)]=!0x0:process[_0x30e882(0x134)](_0xcdebf6,this):process[_0x30e882(0x134)](_0xcdebf6,this);else{const _0x1dcc51=this[_0x30e882(0x14b)];this[_0x30e882(0x285)](),this[_0x30e882(0x285)]=this[_0x30e882(0x14b)]=null,_0x1dcc51['close'](()=>{_0xcdebf6(this);});}}}[_0x452195(0x1d0)](_0x4e2143){const _0x532ecc=_0x452195;if(this[_0x532ecc(0x101)][_0x532ecc(0x266)]){const _0x211325=_0x4e2143['url'][_0x532ecc(0x111)]('?');if((_0x211325!==-0x1?_0x4e2143[_0x532ecc(0x239)][_0x532ecc(0x137)](0x0,_0x211325):_0x4e2143[_0x532ecc(0x239)])!==this[_0x532ecc(0x101)][_0x532ecc(0x266)])return!0x1;}return!0x0;}['handleUpgrade'](_0x645002,_0x58c657,_0x144174,_0x5db1d1){const _0x2aa961=_0x452195;_0x58c657['on'](_0x2aa961(0x1ba),_0x36b710);const _0x50dab7=_0x645002['headers']['sec-websocket-key'],_0x47950f=_0x645002[_0x2aa961(0x1f4)][_0x2aa961(0x25f)],_0x4c174d=+_0x645002['headers'][_0x2aa961(0x1c8)];if(_0x645002[_0x2aa961(0x1fd)]!=='GET'){_0x1d8be3(this,_0x645002,_0x58c657,0x195,_0x2aa961(0x1bb));return;}if(_0x47950f===void 0x0||_0x47950f[_0x2aa961(0x242)]()!==_0x2aa961(0xf6)){_0x1d8be3(this,_0x645002,_0x58c657,0x190,_0x2aa961(0x122));return;}if(_0x50dab7===void 0x0||!_0x279aad['test'](_0x50dab7)){_0x1d8be3(this,_0x645002,_0x58c657,0x190,_0x2aa961(0x24a));return;}if(_0x4c174d!==0x8&&_0x4c174d!==0xd){_0x1d8be3(this,_0x645002,_0x58c657,0x190,_0x2aa961(0x262));return;}if(!this[_0x2aa961(0x1d0)](_0x645002)){_0x1a5104(_0x58c657,0x190);return;}const _0x295f29=_0x645002[_0x2aa961(0x1f4)][_0x2aa961(0x24d)];let _0x20affb=new Set();if(_0x295f29!==void 0x0)try{_0x20affb=_0x39551f['parse'](_0x295f29);}catch{_0x1d8be3(this,_0x645002,_0x58c657,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x53f60a=_0x645002[_0x2aa961(0x1f4)][_0x2aa961(0x244)],_0xb6373b={};if(this[_0x2aa961(0x101)][_0x2aa961(0x253)]&&_0x53f60a!==void 0x0){const _0x191c4e=new _0x1b8388(this['options'][_0x2aa961(0x253)],!0x0,this[_0x2aa961(0x101)][_0x2aa961(0x163)]);try{const _0x4bcd53=_0x24f849[_0x2aa961(0x1f9)](_0x53f60a);_0x4bcd53[_0x1b8388['extensionName']]&&(_0x191c4e[_0x2aa961(0x1d1)](_0x4bcd53[_0x1b8388['extensionName']]),_0xb6373b[_0x1b8388[_0x2aa961(0x169)]]=_0x191c4e);}catch{_0x1d8be3(this,_0x645002,_0x58c657,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x2aa961(0x101)][_0x2aa961(0x297)]){const _0x2340f7={'origin':_0x645002[_0x2aa961(0x1f4)][''+(_0x4c174d===0x8?'sec-websocket-origin':_0x2aa961(0x157))],'secure':!!(_0x645002[_0x2aa961(0x128)]['authorized']||_0x645002[_0x2aa961(0x128)][_0x2aa961(0x161)]),'req':_0x645002};if(this[_0x2aa961(0x101)][_0x2aa961(0x297)]['length']===0x2){this[_0x2aa961(0x101)][_0x2aa961(0x297)](_0x2340f7,(_0x24d14f,_0x545a5c,_0x3ec60b,_0x36398c)=>{const _0x3b4140=_0x2aa961;if(!_0x24d14f)return _0x1a5104(_0x58c657,_0x545a5c||0x191,_0x3ec60b,_0x36398c);this[_0x3b4140(0x28c)](_0xb6373b,_0x50dab7,_0x20affb,_0x645002,_0x58c657,_0x144174,_0x5db1d1);});return;}if(!this[_0x2aa961(0x101)]['verifyClient'](_0x2340f7))return _0x1a5104(_0x58c657,0x191);}this[_0x2aa961(0x28c)](_0xb6373b,_0x50dab7,_0x20affb,_0x645002,_0x58c657,_0x144174,_0x5db1d1);}[_0x452195(0x28c)](_0x2d387e,_0x2572aa,_0x5b2d64,_0x24fdad,_0x52fcd2,_0x566e09,_0x1d24df){const _0x95eba2=_0x452195;if(!_0x52fcd2[_0x95eba2(0x18e)]||!_0x52fcd2[_0x95eba2(0xee)])return _0x52fcd2[_0x95eba2(0x173)]();if(_0x52fcd2[_0x3e1ebe])throw new Error(_0x95eba2(0x269));if(this['_state']>_0x573a99)return _0x1a5104(_0x52fcd2,0x1f7);const _0x2642e3=[_0x95eba2(0x1ed),'Upgrade:\x20websocket','Connection:\x20Upgrade',_0x95eba2(0x113)+_0x49e485(_0x95eba2(0x17c))['update'](_0x2572aa+_0x33e229)[_0x95eba2(0x283)](_0x95eba2(0x189))],_0x19782b=new this[(_0x95eba2(0x101))]['WebSocket'](null,void 0x0,this['options']);if(_0x5b2d64[_0x95eba2(0x2a4)]){const _0x10f9b6=this[_0x95eba2(0x101)]['handleProtocols']?this[_0x95eba2(0x101)][_0x95eba2(0x176)](_0x5b2d64,_0x24fdad):_0x5b2d64[_0x95eba2(0x205)]()[_0x95eba2(0x1d2)]()[_0x95eba2(0x130)];_0x10f9b6&&(_0x2642e3[_0x95eba2(0x1a1)]('Sec-WebSocket-Protocol:\x20'+_0x10f9b6),_0x19782b[_0x95eba2(0x2a8)]=_0x10f9b6);}if(_0x2d387e[_0x1b8388['extensionName']]){const _0xd15dbb=_0x2d387e[_0x1b8388[_0x95eba2(0x169)]][_0x95eba2(0x159)],_0x170a43=_0x24f849[_0x95eba2(0x132)]({[_0x1b8388[_0x95eba2(0x169)]]:[_0xd15dbb]});_0x2642e3[_0x95eba2(0x1a1)](_0x95eba2(0x117)+_0x170a43),_0x19782b[_0x95eba2(0x2a7)]=_0x2d387e;}this['emit']('headers',_0x2642e3,_0x24fdad),_0x52fcd2[_0x95eba2(0x17a)](_0x2642e3[_0x95eba2(0x179)]('\x0d\x0a')[_0x95eba2(0x245)]('\x0d\x0a')),_0x52fcd2[_0x95eba2(0x177)](_0x95eba2(0x1ba),_0x36b710),_0x19782b[_0x95eba2(0x256)](_0x52fcd2,_0x566e09,{'allowSynchronousEvents':this['options'][_0x95eba2(0x212)],'maxPayload':this[_0x95eba2(0x101)][_0x95eba2(0x163)],'skipUTF8Validation':this[_0x95eba2(0x101)][_0x95eba2(0x14e)]}),this['clients']&&(this[_0x95eba2(0x18f)][_0x95eba2(0x172)](_0x19782b),_0x19782b['on'](_0x95eba2(0x107),()=>{const _0x42dd5d=_0x95eba2;this[_0x42dd5d(0x18f)][_0x42dd5d(0x209)](_0x19782b),this[_0x42dd5d(0x29d)]&&!this[_0x42dd5d(0x18f)][_0x42dd5d(0x2a4)]&&process[_0x42dd5d(0x134)](_0xcdebf6,this);})),_0x1d24df(_0x19782b,_0x24fdad);}}Te=_0x1aad9b;function _0x5180d2(_0x3f3197,_0x42ab94){const _0x1a4893=_0x452195;for(const _0x417f4b of Object[_0x1a4893(0x251)](_0x42ab94))_0x3f3197['on'](_0x417f4b,_0x42ab94[_0x417f4b]);return function(){const _0xf92320=_0x1a4893;for(const _0x1559a7 of Object[_0xf92320(0x251)](_0x42ab94))_0x3f3197[_0xf92320(0x177)](_0x1559a7,_0x42ab94[_0x1559a7]);};}function _0xcdebf6(_0x24972a){const _0x57693a=_0x452195;_0x24972a[_0x57693a(0x21f)]=_0x2048f7,_0x24972a['emit'](_0x57693a(0x107));}function _0x36b710(){const _0x1dae3b=_0x452195;this[_0x1dae3b(0x173)]();}function _0x1a5104(_0x3d8e8c,_0x57a0c6,_0x283183,_0x508248){const _0x2d7d25=_0x452195;_0x283183=_0x283183||_0x350562['STATUS_CODES'][_0x57a0c6],_0x508248={'Connection':'close','Content-Type':_0x2d7d25(0x151),'Content-Length':Buffer[_0x2d7d25(0x10f)](_0x283183),..._0x508248},_0x3d8e8c[_0x2d7d25(0x13c)]('finish',_0x3d8e8c[_0x2d7d25(0x173)]),_0x3d8e8c[_0x2d7d25(0x1dd)]('HTTP/1.1\x20'+_0x57a0c6+'\x20'+_0x350562['STATUS_CODES'][_0x57a0c6]+'\x0d\x0a'+Object[_0x2d7d25(0x251)](_0x508248)['map'](_0x2bfe17=>_0x2bfe17+':\x20'+_0x508248[_0x2bfe17])[_0x2d7d25(0x245)]('\x0d\x0a')+_0x2d7d25(0x22a)+_0x283183);}function _0x1d8be3(_0x4056ef,_0x10b52e,_0x4daa91,_0x149262,_0x17fba0){const _0x201a0c=_0x452195;if(_0x4056ef[_0x201a0c(0x1ff)](_0x201a0c(0x195))){const _0x2732c2=new Error(_0x17fba0);Error[_0x201a0c(0x144)](_0x2732c2,_0x1d8be3),_0x4056ef['emit'](_0x201a0c(0x195),_0x2732c2,_0x4daa91,_0x10b52e);}else _0x1a5104(_0x4daa91,_0x149262,_0x17fba0);}return Te;}Ft();var jt=Object[_0x4dcda1(0x29e)],Wt=(_0x3dcf76,_0x2c3b8d,_0x2cf3a0,_0x2cbbe5)=>{for(var _0x4c5c16=_0x2cbbe5>0x1?void 0x0:_0x2cbbe5?jt(_0x2c3b8d,_0x2cf3a0):_0x2c3b8d,_0x3ec848=_0x3dcf76['length']-0x1,_0x4c552e;_0x3ec848>=0x0;_0x3ec848--)(_0x4c552e=_0x3dcf76[_0x3ec848])&&(_0x4c5c16=_0x4c552e(_0x4c5c16)||_0x4c5c16);return _0x4c5c16;},qt=(_0xd70e9e,_0x87c5f0)=>(_0x44b3c6,_0x1ba0a0)=>_0x87c5f0(_0x44b3c6,_0x1ba0a0,_0xd70e9e);let ke=class extends A['Disposable']{constructor(_0x3ba458){const _0x291a4c=_0x4dcda1;super(),this[_0x291a4c(0x2ad)]=_0x3ba458;}['createSocket'](_0x122149){const _0x2e77b7=_0x4dcda1;var _0x3d60fc;const _0x5b5f56=(_0x3d60fc=this[_0x2e77b7(0x2ad)]['getConfig'](fe))==null?void 0x0:_0x3d60fc[_0x2e77b7(0x115)];try{const _0x456a44=new $t(_0x122149,{'headers':{..._0x5b5f56}}),_0x1704bf=new A[(_0x2e77b7(0x22f))]();return{'URL':_0x122149,'close':(_0x38e9e9,_0x5c56c7)=>{const _0x382621=_0x2e77b7;_0x456a44[_0x382621(0x107)](_0x38e9e9,_0x5c56c7),_0x1704bf['dispose']();},'send':_0x5246b7=>{const _0x4804dc=_0x2e77b7;_0x456a44[_0x4804dc(0x10a)](_0x5246b7);},'open$':new V[(_0x2e77b7(0x121))](_0x18af61=>{const _0x41492f=_0x2e77b7,_0x59906e=_0x3f3c73=>_0x18af61[_0x41492f(0x1d2)](_0x3f3c73);_0x456a44[_0x41492f(0x11a)]('open',_0x59906e),_0x1704bf[_0x41492f(0x172)](A[_0x41492f(0x143)](()=>_0x456a44[_0x41492f(0x125)](_0x41492f(0x20e),_0x59906e)));})['pipe'](V[_0x2e77b7(0xfd)]()),'close$':new V[(_0x2e77b7(0x121))](_0x4753c0=>{const _0x15a0ca=_0x2e77b7,_0x56c889=_0x5df86a=>_0x4753c0[_0x15a0ca(0x1d2)](_0x5df86a);_0x456a44[_0x15a0ca(0x11a)]('close',_0x56c889),_0x1704bf[_0x15a0ca(0x172)](A[_0x15a0ca(0x143)](()=>_0x456a44['removeEventListener']('close',_0x56c889)));})[_0x2e77b7(0x1e4)](V[_0x2e77b7(0xfd)]()),'error$':new V['Observable'](_0x1fcd8d=>{const _0x1f523e=_0x2e77b7,_0x8157aa=_0x2b738d=>_0x1fcd8d[_0x1f523e(0x1d2)](_0x2b738d);_0x456a44[_0x1f523e(0x11a)](_0x1f523e(0x1ba),_0x8157aa),_0x1704bf['add'](A['toDisposable'](()=>_0x456a44['removeEventListener']('error',_0x8157aa)));})[_0x2e77b7(0x1e4)](V['share']()),'message$':new V['Observable'](_0x56d4ca=>{const _0x44976d=_0x2e77b7,_0x15b127=_0x1f88ad=>_0x56d4ca['next'](_0x1f88ad);_0x456a44[_0x44976d(0x11a)](_0x44976d(0x1df),_0x15b127),_0x1704bf[_0x44976d(0x172)](A['toDisposable'](()=>_0x456a44[_0x44976d(0x125)](_0x44976d(0x1df),_0x15b127)));})[_0x2e77b7(0x1e4)](V[_0x2e77b7(0xfd)]())};}catch(_0xe95460){return console['error'](_0xe95460),null;}}};ke=Wt([qt(0x0,A[_0x4dcda1(0x231)])],ke);var Gt=Object[_0x4dcda1(0xfc)],Vt=Object[_0x4dcda1(0x29e)],Ht=(_0x3b671a,_0x28bda9,_0x56a77b)=>_0x28bda9 in _0x3b671a?Gt(_0x3b671a,_0x28bda9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x56a77b}):_0x3b671a[_0x28bda9]=_0x56a77b,zt=(_0x11d5f6,_0x13c94b,_0x76f7a7,_0xa91ad1)=>{for(var _0x121ec8=_0xa91ad1>0x1?void 0x0:_0xa91ad1?Vt(_0x13c94b,_0x76f7a7):_0x13c94b,_0x591a0c=_0x11d5f6['length']-0x1,_0x416540;_0x591a0c>=0x0;_0x591a0c--)(_0x416540=_0x11d5f6[_0x591a0c])&&(_0x121ec8=_0x416540(_0x121ec8)||_0x121ec8);return _0x121ec8;},Ne=(_0x1f033d,_0x58b52b)=>(_0x3a785c,_0x426cea)=>_0x58b52b(_0x3a785c,_0x426cea,_0x1f033d),Yt=(_0x576f7a,_0x569a6b,_0x256d64)=>Ht(_0x576f7a,_0x569a6b+'',_0x256d64);exports['UniverCollaborationClientNodePlugin']=class extends A[_0x4dcda1(0x26b)]{constructor(_0x331b4d=Ct,_0x51ddd8,_0x3ddf47,_0x464822){const _0x33070d=_0x4dcda1;_0x331b4d['customHeaders']||_0x51ddd8[_0x33070d(0xfe)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x33070d(0x2ad)]=_0x3ddf47,this[_0x33070d(0x167)]=_0x464822,this[_0x33070d(0x2ad)][_0x33070d(0x2ab)](fe,_0x331b4d);}[_0x4dcda1(0x1db)](){const _0x1f2d70=_0x4dcda1;this[_0x1f2d70(0x1f3)]();}[_0x4dcda1(0x1f3)](){const _0x4cc164=_0x4dcda1;A[_0x4cc164(0x1de)](this[_0x4cc164(0x167)],[[it[_0x4cc164(0x196)],{'useClass':ke}]]);}},Yt(exports['UniverCollaborationClientNodePlugin'],'pluginName','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports[_0x4dcda1(0x110)]=zt([A['DependentOn'](st[_0x4dcda1(0x1e8)]),Ne(0x1,A[_0x4dcda1(0x211)]),Ne(0x2,A['IConfigService']),Ne(0x3,A['Inject'](A[_0x4dcda1(0x11c)]))],exports['UniverCollaborationClientNodePlugin']);var Kt=Object['getOwnPropertyDescriptor'],Xt=(_0x1218a4,_0x35ed54,_0x233390,_0x213b7e)=>{const _0x4fe021=_0x4dcda1;for(var _0x4cd69a=_0x213b7e>0x1?void 0x0:_0x213b7e?Kt(_0x35ed54,_0x233390):_0x35ed54,_0x9681b7=_0x1218a4[_0x4fe021(0x14d)]-0x1,_0x25d275;_0x9681b7>=0x0;_0x9681b7--)(_0x25d275=_0x1218a4[_0x9681b7])&&(_0x4cd69a=_0x25d275(_0x4cd69a)||_0x4cd69a);return _0x4cd69a;},ne=(_0x5baa89,_0x5cfed0)=>(_0x332c5a,_0x2948d0)=>_0x5cfed0(_0x332c5a,_0x2948d0,_0x5baa89);exports[_0x4dcda1(0x249)]=class extends st[_0x4dcda1(0x1f8)]{constructor(_0x3d9e68,_0x3d5f30,_0x24bfdd,_0x4b83fa,_0x3a7e51){const _0x24a4ea=_0x4dcda1;super(_0x3d9e68,_0x3d5f30,_0x24bfdd,_0x4b83fa,_0x3a7e51);const _0x24193e=this[_0x24a4ea(0x2ad)][_0x24a4ea(0x1fa)](fe);this[_0x24a4ea(0x246)][_0x24a4ea(0x174)]({'interceptor':(_0x1a5b03,_0x1842d4)=>{const _0x2253ef=_0x24a4ea;var _0x2f8f3d;const _0x3d72d5=_0x1a5b03[_0x2253ef(0x1f4)];return(_0x2f8f3d=_0x24193e==null?void 0x0:_0x24193e['customHeaders'])!=null&&_0x2f8f3d['cookie']&&_0x3d72d5[_0x2253ef(0x1ef)](_0x2253ef(0x15b),_0x24193e['customHeaders']['cookie']),_0x1842d4(_0x1a5b03);}});}async['createSocket'](_0x590d81){const _0x44a2ff=_0x4dcda1;return this[_0x44a2ff(0x11e)](_0x590d81);}},exports[_0x4dcda1(0x249)]=Xt([ne(0x0,A[_0x4dcda1(0x19d)](A[_0x4dcda1(0x11c)])),ne(0x1,A['Inject'](it['HTTPService'])),ne(0x2,A[_0x4dcda1(0x231)]),ne(0x3,A[_0x4dcda1(0x211)]),ne(0x4,Ot[_0x4dcda1(0x1eb)])],exports['NodeCollaborationSocketService']),exports[_0x4dcda1(0x1ca)]=fe;