@univerjs-pro/collaboration-client-node 0.10.14-nightly.202511080715 → 0.11.0

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 _0x14b355=_0x51b2;(function(_0x2fa900,_0x18d371){const _0x5c4f95=_0x51b2,_0x3dbb80=_0x2fa900();while(!![]){try{const _0x9bbbd5=parseInt(_0x5c4f95(0x1de))/0x1*(-parseInt(_0x5c4f95(0x161))/0x2)+parseInt(_0x5c4f95(0x1fa))/0x3+-parseInt(_0x5c4f95(0x20c))/0x4+-parseInt(_0x5c4f95(0x276))/0x5*(-parseInt(_0x5c4f95(0x1d6))/0x6)+-parseInt(_0x5c4f95(0x273))/0x7+-parseInt(_0x5c4f95(0x1a8))/0x8+parseInt(_0x5c4f95(0x25b))/0x9*(parseInt(_0x5c4f95(0x1cb))/0xa);if(_0x9bbbd5===_0x18d371)break;else _0x3dbb80['push'](_0x3dbb80['shift']());}catch(_0xdfc117){_0x3dbb80['push'](_0x3dbb80['shift']());}}}(_0xa7a8,0x4cfca));Object[_0x14b355(0xfd)](exports,Symbol[_0x14b355(0x241)],{'value':_0x14b355(0x2af)});const st=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),it=require('@univerjs/network'),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require('http'),St=require('net'),Et=require('tls'),Le=require('crypto'),oe=require('stream'),xt=require('url'),bt=require('zlib'),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe=_0x14b355(0x27d),Ct={'customHeaders':{}};function Tt(_0x547a7a){const _0x3eb6b0=_0x14b355;return _0x547a7a&&_0x547a7a[_0x3eb6b0(0xf8)]&&Object[_0x3eb6b0(0x110)][_0x3eb6b0(0x17a)][_0x3eb6b0(0x230)](_0x547a7a,_0x3eb6b0(0x246))?_0x547a7a[_0x3eb6b0(0x246)]:_0x547a7a;}function at(_0x4e5350){const _0xbea457=_0x14b355;if(Object[_0xbea457(0x110)][_0xbea457(0x17a)][_0xbea457(0x230)](_0x4e5350,_0xbea457(0xf8)))return _0x4e5350;var _0x1e84c9=_0x4e5350[_0xbea457(0x246)];if(typeof _0x1e84c9==_0xbea457(0x135)){var _0x572f4b=function _0x28becc(){const _0x529e48=_0xbea457;var _0xfa552d=!0x1;try{_0xfa552d=this instanceof _0x28becc;}catch{}return _0xfa552d?Reflect[_0x529e48(0x24d)](_0x1e84c9,arguments,this[_0x529e48(0x145)]):_0x1e84c9[_0x529e48(0x289)](this,arguments);};_0x572f4b[_0xbea457(0x110)]=_0x1e84c9[_0xbea457(0x110)];}else _0x572f4b={};return Object[_0xbea457(0xfd)](_0x572f4b,_0xbea457(0xf8),{'value':!0x0}),Object['keys'](_0x4e5350)['forEach'](function(_0x130e39){const _0x14dffd=_0xbea457;var _0x308307=Object['getOwnPropertyDescriptor'](_0x4e5350,_0x130e39);Object['defineProperty'](_0x572f4b,_0x130e39,_0x308307[_0x14dffd(0x222)]?_0x308307:{'enumerable':!0x0,'get':function(){return _0x4e5350[_0x130e39];}});}),_0x572f4b;}var se={'exports':{}},ge,Ge;function H(){const _0x4bc2c6=_0x14b355;if(Ge)return ge;Ge=0x1;const _0x58290d=[_0x4bc2c6(0x19a),'arraybuffer',_0x4bc2c6(0x16f)],_0x39eeac=typeof Blob<'u';return _0x39eeac&&_0x58290d[_0x4bc2c6(0x22e)](_0x4bc2c6(0x283)),ge={'BINARY_TYPES':_0x58290d,'EMPTY_BUFFER':Buffer[_0x4bc2c6(0x1b6)](0x0),'GUID':_0x4bc2c6(0x1fb),'hasBlob':_0x39eeac,'kForOnEventAttribute':Symbol(_0x4bc2c6(0x1dc)),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x4bc2c6(0x134)),'kWebSocket':Symbol(_0x4bc2c6(0x229)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x14b355(0x1fd)](Object[_0x14b355(0xfd)]({'__proto__':null,'default':Nt},Symbol[_0x14b355(0x241)],{'value':_0x14b355(0x2af)})),Lt=at(kt);var Ve;function ce(){const _0x336fb1=_0x14b355;if(Ve)return se[_0x336fb1(0x13c)];Ve=0x1;const {EMPTY_BUFFER:_0xf2aee9}=H(),_0x47531a=Buffer[Symbol[_0x336fb1(0x1af)]];function _0x49bea1(_0x51844a,_0x2e710a){const _0xae2037=_0x336fb1;if(_0x51844a[_0xae2037(0x103)]===0x0)return _0xf2aee9;if(_0x51844a[_0xae2037(0x103)]===0x1)return _0x51844a[0x0];const _0x54f4f7=Buffer[_0xae2037(0x2a0)](_0x2e710a);let _0x1358d4=0x0;for(let _0x1079a7=0x0;_0x1079a7<_0x51844a[_0xae2037(0x103)];_0x1079a7++){const _0x4e82e8=_0x51844a[_0x1079a7];_0x54f4f7[_0xae2037(0x1e5)](_0x4e82e8,_0x1358d4),_0x1358d4+=_0x4e82e8['length'];}return _0x1358d4<_0x2e710a?new _0x47531a(_0x54f4f7[_0xae2037(0x1b5)],_0x54f4f7['byteOffset'],_0x1358d4):_0x54f4f7;}function _0x5e7542(_0x592e67,_0x2531dd,_0x515afe,_0x4a3da1,_0x55e78a){for(let _0x24100a=0x0;_0x24100a<_0x55e78a;_0x24100a++)_0x515afe[_0x4a3da1+_0x24100a]=_0x592e67[_0x24100a]^_0x2531dd[_0x24100a&0x3];}function _0x541a47(_0x150631,_0x3058f2){for(let _0x551146=0x0;_0x551146<_0x150631['length'];_0x551146++)_0x150631[_0x551146]^=_0x3058f2[_0x551146&0x3];}function _0x51a2ae(_0x64dc6c){const _0x308154=_0x336fb1;return _0x64dc6c[_0x308154(0x103)]===_0x64dc6c[_0x308154(0x1b5)]['byteLength']?_0x64dc6c[_0x308154(0x1b5)]:_0x64dc6c['buffer'][_0x308154(0x1fc)](_0x64dc6c[_0x308154(0x20a)],_0x64dc6c[_0x308154(0x20a)]+_0x64dc6c[_0x308154(0x103)]);}function _0x3fae6e(_0x22ece2){const _0x2c02ed=_0x336fb1;if(_0x3fae6e['readOnly']=!0x0,Buffer['isBuffer'](_0x22ece2))return _0x22ece2;let _0x2c0631;return _0x22ece2 instanceof ArrayBuffer?_0x2c0631=new _0x47531a(_0x22ece2):ArrayBuffer[_0x2c02ed(0x19d)](_0x22ece2)?_0x2c0631=new _0x47531a(_0x22ece2[_0x2c02ed(0x1b5)],_0x22ece2[_0x2c02ed(0x20a)],_0x22ece2[_0x2c02ed(0x152)]):(_0x2c0631=Buffer['from'](_0x22ece2),_0x3fae6e['readOnly']=!0x1),_0x2c0631;}if(se[_0x336fb1(0x13c)]={'concat':_0x49bea1,'mask':_0x5e7542,'toArrayBuffer':_0x51a2ae,'toBuffer':_0x3fae6e,'unmask':_0x541a47},!process['env'][_0x336fb1(0x113)])try{const _0x1fbdd3=Lt;se[_0x336fb1(0x13c)][_0x336fb1(0x1ed)]=function(_0x54c572,_0x346d96,_0x171921,_0x531da7,_0x4d94a4){const _0x405cd6=_0x336fb1;_0x4d94a4<0x30?_0x5e7542(_0x54c572,_0x346d96,_0x171921,_0x531da7,_0x4d94a4):_0x1fbdd3[_0x405cd6(0x1ed)](_0x54c572,_0x346d96,_0x171921,_0x531da7,_0x4d94a4);},se[_0x336fb1(0x13c)]['unmask']=function(_0xccc9af,_0x20ccf7){_0xccc9af['length']<0x20?_0x541a47(_0xccc9af,_0x20ccf7):_0x1fbdd3['unmask'](_0xccc9af,_0x20ccf7);};}catch{}return se[_0x336fb1(0x13c)];}var ye,He;function Pt(){const _0x4b4566=_0x14b355;if(He)return ye;He=0x1;const _0x516eb3=Symbol(_0x4b4566(0x251)),_0x2820e0=Symbol(_0x4b4566(0x133));class _0x57dc5c{constructor(_0x256d7c){const _0x1cbc56=_0x4b4566;this[_0x516eb3]=()=>{this['pending']--,this[_0x2820e0]();},this[_0x1cbc56(0x1ac)]=_0x256d7c||0x1/0x0,this['jobs']=[],this[_0x1cbc56(0x26c)]=0x0;}[_0x4b4566(0x1ba)](_0x4c5295){const _0x393b1c=_0x4b4566;this['jobs'][_0x393b1c(0x22e)](_0x4c5295),this[_0x2820e0]();}[_0x2820e0](){const _0x82e6af=_0x4b4566;if(this['pending']!==this['concurrency']&&this[_0x82e6af(0x26d)][_0x82e6af(0x103)]){const _0xea3ce6=this[_0x82e6af(0x26d)][_0x82e6af(0x258)]();this[_0x82e6af(0x26c)]++,_0xea3ce6(this[_0x516eb3]);}}}return ye=_0x57dc5c,ye;}var ve,ze;function he(){const _0x431b52=_0x14b355;if(ze)return ve;ze=0x1;const _0x4e5a03=bt,_0x2599ad=ce(),_0x46bd63=Pt(),{kStatusCode:_0x35e8f1}=H(),_0x1293ba=Buffer[Symbol[_0x431b52(0x1af)]],_0x15e2b3=Buffer['from']([0x0,0x0,0xff,0xff]),_0x2b37af=Symbol('permessage-deflate'),_0x4f189d=Symbol('total-length'),_0x59923a=Symbol(_0x431b52(0x21d)),_0x450f62=Symbol(_0x431b52(0x2a3)),_0x9086b6=Symbol(_0x431b52(0x137));let _0x3cd75a;class _0x1beef1{constructor(_0x190a83,_0x1ae183,_0x32885c){const _0x1e9445=_0x431b52;if(this[_0x1e9445(0x165)]=_0x32885c|0x0,this[_0x1e9445(0x28a)]=_0x190a83||{},this[_0x1e9445(0x1a9)]=this[_0x1e9445(0x28a)][_0x1e9445(0x214)]!==void 0x0?this[_0x1e9445(0x28a)][_0x1e9445(0x214)]:0x400,this[_0x1e9445(0x2b6)]=!!_0x1ae183,this[_0x1e9445(0x1ae)]=null,this[_0x1e9445(0x256)]=null,this[_0x1e9445(0x1f4)]=null,!_0x3cd75a){const _0x117ee0=this[_0x1e9445(0x28a)]['concurrencyLimit']!==void 0x0?this['_options'][_0x1e9445(0x15a)]:0xa;_0x3cd75a=new _0x46bd63(_0x117ee0);}}static get['extensionName'](){const _0x5081d6=_0x431b52;return _0x5081d6(0x10f);}[_0x431b52(0x11e)](){const _0x1fcd5c=_0x431b52,_0xe57fa5={};return this[_0x1fcd5c(0x28a)][_0x1fcd5c(0x189)]&&(_0xe57fa5[_0x1fcd5c(0x149)]=!0x0),this[_0x1fcd5c(0x28a)][_0x1fcd5c(0x184)]&&(_0xe57fa5[_0x1fcd5c(0x1f6)]=!0x0),this['_options']['serverMaxWindowBits']&&(_0xe57fa5[_0x1fcd5c(0x297)]=this[_0x1fcd5c(0x28a)]['serverMaxWindowBits']),this[_0x1fcd5c(0x28a)][_0x1fcd5c(0x242)]?_0xe57fa5[_0x1fcd5c(0x1a3)]=this[_0x1fcd5c(0x28a)][_0x1fcd5c(0x242)]:this[_0x1fcd5c(0x28a)][_0x1fcd5c(0x242)]==null&&(_0xe57fa5['client_max_window_bits']=!0x0),_0xe57fa5;}[_0x431b52(0x2b2)](_0x104852){const _0x43b770=_0x431b52;return _0x104852=this[_0x43b770(0x1eb)](_0x104852),this['params']=this[_0x43b770(0x2b6)]?this[_0x43b770(0x151)](_0x104852):this[_0x43b770(0x1f1)](_0x104852),this['params'];}[_0x431b52(0x174)](){const _0x4f2c1e=_0x431b52;if(this[_0x4f2c1e(0x256)]&&(this[_0x4f2c1e(0x256)][_0x4f2c1e(0x162)](),this[_0x4f2c1e(0x256)]=null),this[_0x4f2c1e(0x1ae)]){const _0xb2de9=this[_0x4f2c1e(0x1ae)][_0x59923a];this[_0x4f2c1e(0x1ae)]['close'](),this[_0x4f2c1e(0x1ae)]=null,_0xb2de9&&_0xb2de9(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x431b52(0x151)](_0x13b79a){const _0x1aeec5=_0x431b52,_0x59e11f=this[_0x1aeec5(0x28a)],_0x5608ea=_0x13b79a['find'](_0xb464d3=>!(_0x59e11f[_0x1aeec5(0x189)]===!0x1&&_0xb464d3[_0x1aeec5(0x149)]||_0xb464d3[_0x1aeec5(0x297)]&&(_0x59e11f['serverMaxWindowBits']===!0x1||typeof _0x59e11f[_0x1aeec5(0x292)]==_0x1aeec5(0x11c)&&_0x59e11f[_0x1aeec5(0x292)]>_0xb464d3[_0x1aeec5(0x297)])||typeof _0x59e11f[_0x1aeec5(0x242)]==_0x1aeec5(0x11c)&&!_0xb464d3[_0x1aeec5(0x1a3)]));if(!_0x5608ea)throw new Error(_0x1aeec5(0x197));return _0x59e11f['serverNoContextTakeover']&&(_0x5608ea[_0x1aeec5(0x149)]=!0x0),_0x59e11f[_0x1aeec5(0x184)]&&(_0x5608ea[_0x1aeec5(0x1f6)]=!0x0),typeof _0x59e11f[_0x1aeec5(0x292)]==_0x1aeec5(0x11c)&&(_0x5608ea['server_max_window_bits']=_0x59e11f[_0x1aeec5(0x292)]),typeof _0x59e11f[_0x1aeec5(0x242)]==_0x1aeec5(0x11c)?_0x5608ea[_0x1aeec5(0x1a3)]=_0x59e11f['clientMaxWindowBits']:(_0x5608ea[_0x1aeec5(0x1a3)]===!0x0||_0x59e11f['clientMaxWindowBits']===!0x1)&&delete _0x5608ea['client_max_window_bits'],_0x5608ea;}[_0x431b52(0x1f1)](_0x248956){const _0x3b2887=_0x431b52,_0x54194c=_0x248956[0x0];if(this[_0x3b2887(0x28a)]['clientNoContextTakeover']===!0x1&&_0x54194c[_0x3b2887(0x1f6)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x54194c['client_max_window_bits'])typeof this[_0x3b2887(0x28a)][_0x3b2887(0x242)]==_0x3b2887(0x11c)&&(_0x54194c[_0x3b2887(0x1a3)]=this[_0x3b2887(0x28a)][_0x3b2887(0x242)]);else{if(this[_0x3b2887(0x28a)][_0x3b2887(0x242)]===!0x1||typeof this[_0x3b2887(0x28a)]['clientMaxWindowBits']==_0x3b2887(0x11c)&&_0x54194c['client_max_window_bits']>this[_0x3b2887(0x28a)][_0x3b2887(0x242)])throw new Error(_0x3b2887(0x22b));}return _0x54194c;}[_0x431b52(0x1eb)](_0x24ac13){return _0x24ac13['forEach'](_0xab0b29=>{const _0x21cfc4=_0x51b2;Object[_0x21cfc4(0x109)](_0xab0b29)[_0x21cfc4(0x1ca)](_0x2ec5dc=>{const _0x4dd5ce=_0x21cfc4;let _0x20db79=_0xab0b29[_0x2ec5dc];if(_0x20db79[_0x4dd5ce(0x103)]>0x1)throw new Error(_0x4dd5ce(0x111)+_0x2ec5dc+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x20db79=_0x20db79[0x0],_0x2ec5dc===_0x4dd5ce(0x1a3)){if(_0x20db79!==!0x0){const _0x1c4e5d=+_0x20db79;if(!Number[_0x4dd5ce(0x18e)](_0x1c4e5d)||_0x1c4e5d<0x8||_0x1c4e5d>0xf)throw new TypeError(_0x4dd5ce(0x173)+_0x2ec5dc+_0x4dd5ce(0x26f)+_0x20db79);_0x20db79=_0x1c4e5d;}else{if(!this[_0x4dd5ce(0x2b6)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x2ec5dc+_0x4dd5ce(0x26f)+_0x20db79);}}else{if(_0x2ec5dc===_0x4dd5ce(0x297)){const _0xf9a679=+_0x20db79;if(!Number[_0x4dd5ce(0x18e)](_0xf9a679)||_0xf9a679<0x8||_0xf9a679>0xf)throw new TypeError(_0x4dd5ce(0x173)+_0x2ec5dc+_0x4dd5ce(0x26f)+_0x20db79);_0x20db79=_0xf9a679;}else{if(_0x2ec5dc==='client_no_context_takeover'||_0x2ec5dc==='server_no_context_takeover'){if(_0x20db79!==!0x0)throw new TypeError(_0x4dd5ce(0x173)+_0x2ec5dc+_0x4dd5ce(0x26f)+_0x20db79);}else throw new Error(_0x4dd5ce(0x1f8)+_0x2ec5dc+'\x22');}}_0xab0b29[_0x2ec5dc]=_0x20db79;});}),_0x24ac13;}[_0x431b52(0x1db)](_0x1cda81,_0x35c20c,_0x58ab0c){_0x3cd75a['add'](_0x1d2d34=>{const _0x3c814d=_0x51b2;this[_0x3c814d(0x155)](_0x1cda81,_0x35c20c,(_0x1357ac,_0x5970e0)=>{_0x1d2d34(),_0x58ab0c(_0x1357ac,_0x5970e0);});});}[_0x431b52(0x13d)](_0x3ed1bc,_0x3c86ce,_0x4d5521){const _0x5546b5=_0x431b52;_0x3cd75a[_0x5546b5(0x1ba)](_0xb2690e=>{this['_compress'](_0x3ed1bc,_0x3c86ce,(_0x1434de,_0x375dc4)=>{_0xb2690e(),_0x4d5521(_0x1434de,_0x375dc4);});});}['_decompress'](_0x46f9fc,_0x523295,_0x1b10f6){const _0x522362=_0x431b52,_0xa9c39d=this['_isServer']?'client':_0x522362(0x1b0);if(!this[_0x522362(0x256)]){const _0xb7c409=_0xa9c39d+_0x522362(0xf6),_0x48586d=typeof this[_0x522362(0x1f4)][_0xb7c409]!=_0x522362(0x11c)?_0x4e5a03[_0x522362(0x1c9)]:this[_0x522362(0x1f4)][_0xb7c409];this['_inflate']=_0x4e5a03[_0x522362(0x1a6)]({...this[_0x522362(0x28a)][_0x522362(0x146)],'windowBits':_0x48586d}),this['_inflate'][_0x2b37af]=this,this[_0x522362(0x256)][_0x4f189d]=0x0,this[_0x522362(0x256)][_0x450f62]=[],this[_0x522362(0x256)]['on'](_0x522362(0x137),_0x4c5be4),this[_0x522362(0x256)]['on'](_0x522362(0x17f),_0x403da5);}this['_inflate'][_0x59923a]=_0x1b10f6,this['_inflate'][_0x522362(0x218)](_0x46f9fc),_0x523295&&this['_inflate'][_0x522362(0x218)](_0x15e2b3),this[_0x522362(0x256)][_0x522362(0x19b)](()=>{const _0x19f270=_0x522362,_0x5b4e73=this[_0x19f270(0x256)][_0x9086b6];if(_0x5b4e73){this['_inflate'][_0x19f270(0x162)](),this[_0x19f270(0x256)]=null,_0x1b10f6(_0x5b4e73);return;}const _0x185a7=_0x2599ad[_0x19f270(0x259)](this[_0x19f270(0x256)][_0x450f62],this[_0x19f270(0x256)][_0x4f189d]);this[_0x19f270(0x256)]['_readableState']['endEmitted']?(this['_inflate'][_0x19f270(0x162)](),this[_0x19f270(0x256)]=null):(this[_0x19f270(0x256)][_0x4f189d]=0x0,this[_0x19f270(0x256)][_0x450f62]=[],_0x523295&&this[_0x19f270(0x1f4)][_0xa9c39d+_0x19f270(0x13b)]&&this[_0x19f270(0x256)][_0x19f270(0x1da)]()),_0x1b10f6(null,_0x185a7);});}[_0x431b52(0x108)](_0x2230f2,_0x5b318d,_0x193e40){const _0x3a52b4=_0x431b52,_0x11eeb6=this[_0x3a52b4(0x2b6)]?_0x3a52b4(0x1b0):_0x3a52b4(0x2ae);if(!this[_0x3a52b4(0x1ae)]){const _0x1df2f3=_0x11eeb6+_0x3a52b4(0xf6),_0x2f3563=typeof this[_0x3a52b4(0x1f4)][_0x1df2f3]!=_0x3a52b4(0x11c)?_0x4e5a03[_0x3a52b4(0x1c9)]:this[_0x3a52b4(0x1f4)][_0x1df2f3];this[_0x3a52b4(0x1ae)]=_0x4e5a03[_0x3a52b4(0x1f0)]({...this[_0x3a52b4(0x28a)][_0x3a52b4(0x1e1)],'windowBits':_0x2f3563}),this[_0x3a52b4(0x1ae)][_0x4f189d]=0x0,this[_0x3a52b4(0x1ae)][_0x450f62]=[],this[_0x3a52b4(0x1ae)]['on'](_0x3a52b4(0x17f),_0x1aa927);}this[_0x3a52b4(0x1ae)][_0x59923a]=_0x193e40,this['_deflate']['write'](_0x2230f2),this[_0x3a52b4(0x1ae)][_0x3a52b4(0x19b)](_0x4e5a03[_0x3a52b4(0x2ad)],()=>{const _0x48188d=_0x3a52b4;if(!this[_0x48188d(0x1ae)])return;let _0x62770a=_0x2599ad[_0x48188d(0x259)](this['_deflate'][_0x450f62],this[_0x48188d(0x1ae)][_0x4f189d]);_0x5b318d&&(_0x62770a=new _0x1293ba(_0x62770a[_0x48188d(0x1b5)],_0x62770a[_0x48188d(0x20a)],_0x62770a[_0x48188d(0x103)]-0x4)),this[_0x48188d(0x1ae)][_0x59923a]=null,this['_deflate'][_0x4f189d]=0x0,this[_0x48188d(0x1ae)][_0x450f62]=[],_0x5b318d&&this[_0x48188d(0x1f4)][_0x11eeb6+_0x48188d(0x13b)]&&this[_0x48188d(0x1ae)][_0x48188d(0x1da)](),_0x193e40(null,_0x62770a);});}}ve=_0x1beef1;function _0x1aa927(_0xcf42d5){const _0x439a6b=_0x431b52;this[_0x450f62][_0x439a6b(0x22e)](_0xcf42d5),this[_0x4f189d]+=_0xcf42d5[_0x439a6b(0x103)];}function _0x403da5(_0x25568d){const _0x22e228=_0x431b52;if(this[_0x4f189d]+=_0x25568d['length'],this[_0x2b37af][_0x22e228(0x165)]<0x1||this[_0x4f189d]<=this[_0x2b37af]['_maxPayload']){this[_0x450f62][_0x22e228(0x22e)](_0x25568d);return;}this[_0x9086b6]=new RangeError(_0x22e228(0x206)),this[_0x9086b6][_0x22e228(0x1df)]=_0x22e228(0x160),this[_0x9086b6][_0x35e8f1]=0x3f1,this[_0x22e228(0x285)]('data',_0x403da5),this[_0x22e228(0x1da)]();}function _0x4c5be4(_0x484c6d){const _0x5b8e22=_0x431b52;if(this[_0x2b37af][_0x5b8e22(0x256)]=null,this[_0x9086b6]){this[_0x59923a](this[_0x9086b6]);return;}_0x484c6d[_0x35e8f1]=0x3ef,this[_0x59923a](_0x484c6d);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x14b355(0x1fd)](Object[_0x14b355(0xfd)]({'__proto__':null,'default':Dt},Symbol['toStringTag'],{'value':_0x14b355(0x2af)})),Bt=at(Rt);var Ye;function ae(){const _0x3b740d=_0x14b355;if(Ye)return ie[_0x3b740d(0x13c)];Ye=0x1;const {isUtf8:_0x1d7176}=wt,{hasBlob:_0x239633}=H(),_0x31973b=[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 _0x510f02(_0x4d54f3){return _0x4d54f3>=0x3e8&&_0x4d54f3<=0x3f6&&_0x4d54f3!==0x3ec&&_0x4d54f3!==0x3ed&&_0x4d54f3!==0x3ee||_0x4d54f3>=0xbb8&&_0x4d54f3<=0x1387;}function _0x37629d(_0x4d44d0){const _0xebfba=_0x3b740d,_0x27c629=_0x4d44d0[_0xebfba(0x103)];let _0x124dd5=0x0;for(;_0x124dd5<_0x27c629;)if((_0x4d44d0[_0x124dd5]&0x80)===0x0)_0x124dd5++;else{if((_0x4d44d0[_0x124dd5]&0xe0)===0xc0){if(_0x124dd5+0x1===_0x27c629||(_0x4d44d0[_0x124dd5+0x1]&0xc0)!==0x80||(_0x4d44d0[_0x124dd5]&0xfe)===0xc0)return!0x1;_0x124dd5+=0x2;}else{if((_0x4d44d0[_0x124dd5]&0xf0)===0xe0){if(_0x124dd5+0x2>=_0x27c629||(_0x4d44d0[_0x124dd5+0x1]&0xc0)!==0x80||(_0x4d44d0[_0x124dd5+0x2]&0xc0)!==0x80||_0x4d44d0[_0x124dd5]===0xe0&&(_0x4d44d0[_0x124dd5+0x1]&0xe0)===0x80||_0x4d44d0[_0x124dd5]===0xed&&(_0x4d44d0[_0x124dd5+0x1]&0xe0)===0xa0)return!0x1;_0x124dd5+=0x3;}else{if((_0x4d44d0[_0x124dd5]&0xf8)===0xf0){if(_0x124dd5+0x3>=_0x27c629||(_0x4d44d0[_0x124dd5+0x1]&0xc0)!==0x80||(_0x4d44d0[_0x124dd5+0x2]&0xc0)!==0x80||(_0x4d44d0[_0x124dd5+0x3]&0xc0)!==0x80||_0x4d44d0[_0x124dd5]===0xf0&&(_0x4d44d0[_0x124dd5+0x1]&0xf0)===0x80||_0x4d44d0[_0x124dd5]===0xf4&&_0x4d44d0[_0x124dd5+0x1]>0x8f||_0x4d44d0[_0x124dd5]>0xf4)return!0x1;_0x124dd5+=0x4;}else return!0x1;}}}return!0x0;}function _0x2e2506(_0xb731b7){const _0x2b014a=_0x3b740d;return _0x239633&&typeof _0xb731b7==_0x2b014a(0x294)&&typeof _0xb731b7[_0x2b014a(0x295)]==_0x2b014a(0x135)&&typeof _0xb731b7['type']==_0x2b014a(0x219)&&typeof _0xb731b7[_0x2b014a(0x21e)]==_0x2b014a(0x135)&&(_0xb731b7[Symbol[_0x2b014a(0x241)]]===_0x2b014a(0x1e0)||_0xb731b7[Symbol['toStringTag']]===_0x2b014a(0x260));}if(ie[_0x3b740d(0x13c)]={'isBlob':_0x2e2506,'isValidStatusCode':_0x510f02,'isValidUTF8':_0x37629d,'tokenChars':_0x31973b},_0x1d7176)ie['exports'][_0x3b740d(0x200)]=function(_0x2b0032){return _0x2b0032['length']<0x18?_0x37629d(_0x2b0032):_0x1d7176(_0x2b0032);};else{if(!process[_0x3b740d(0x190)][_0x3b740d(0x25c)])try{const _0x1c3211=Bt;ie[_0x3b740d(0x13c)][_0x3b740d(0x200)]=function(_0x7e8126){return _0x7e8126['length']<0x20?_0x37629d(_0x7e8126):_0x1c3211(_0x7e8126);};}catch{}}return ie[_0x3b740d(0x13c)];}var Se,Ke;function lt(){const _0x403ab2=_0x14b355;if(Ke)return Se;Ke=0x1;const {Writable:_0x2c346e}=oe,_0x5360e5=he(),{BINARY_TYPES:_0x28da9c,EMPTY_BUFFER:_0x595a80,kStatusCode:_0x4d1eb9,kWebSocket:_0x123fa5}=H(),{concat:_0x4f39e4,toArrayBuffer:_0x189e16,unmask:_0x4f483d}=ce(),{isValidStatusCode:_0x16d300,isValidUTF8:_0x57f6e7}=ae(),_0x1e086a=Buffer[Symbol[_0x403ab2(0x1af)]],_0x4a11f7=0x0,_0x378a61=0x1,_0x507e06=0x2,_0x423b81=0x3,_0x3a83eb=0x4,_0x38907b=0x5,_0x124494=0x6;class _0x2713aa extends _0x2c346e{constructor(_0x2cc0cd={}){const _0x4d4d42=_0x403ab2;super(),this[_0x4d4d42(0x249)]=_0x2cc0cd['allowSynchronousEvents']!==void 0x0?_0x2cc0cd['allowSynchronousEvents']:!0x0,this[_0x4d4d42(0x1f2)]=_0x2cc0cd[_0x4d4d42(0x130)]||_0x28da9c[0x0],this[_0x4d4d42(0x1a1)]=_0x2cc0cd[_0x4d4d42(0x19c)]||{},this[_0x4d4d42(0x2b6)]=!!_0x2cc0cd[_0x4d4d42(0x15c)],this[_0x4d4d42(0x165)]=_0x2cc0cd[_0x4d4d42(0x1d5)]|0x0,this[_0x4d4d42(0x22c)]=!!_0x2cc0cd[_0x4d4d42(0x183)],this[_0x123fa5]=void 0x0,this[_0x4d4d42(0x204)]=0x0,this[_0x4d4d42(0x1bf)]=[],this[_0x4d4d42(0x11d)]=!0x1,this[_0x4d4d42(0x2aa)]=0x0,this['_mask']=void 0x0,this[_0x4d4d42(0x1f5)]=0x0,this[_0x4d4d42(0x29b)]=!0x1,this['_fin']=!0x1,this['_opcode']=0x0,this[_0x4d4d42(0x11b)]=0x0,this['_messageLength']=0x0,this[_0x4d4d42(0x23b)]=[],this[_0x4d4d42(0x1f7)]=!0x1,this[_0x4d4d42(0x20f)]=!0x1,this[_0x4d4d42(0x298)]=_0x4a11f7;}[_0x403ab2(0x159)](_0x13ed39,_0x5de0c7,_0x23cf9f){const _0x5e5107=_0x403ab2;if(this[_0x5e5107(0x16d)]===0x8&&this[_0x5e5107(0x298)]==_0x4a11f7)return _0x23cf9f();this[_0x5e5107(0x204)]+=_0x13ed39[_0x5e5107(0x103)],this['_buffers']['push'](_0x13ed39),this[_0x5e5107(0x169)](_0x23cf9f);}[_0x403ab2(0x209)](_0x3be489){const _0x3891b7=_0x403ab2;if(this[_0x3891b7(0x204)]-=_0x3be489,_0x3be489===this['_buffers'][0x0][_0x3891b7(0x103)])return this[_0x3891b7(0x1bf)][_0x3891b7(0x258)]();if(_0x3be489<this[_0x3891b7(0x1bf)][0x0][_0x3891b7(0x103)]){const _0xdb599f=this[_0x3891b7(0x1bf)][0x0];return this[_0x3891b7(0x1bf)][0x0]=new _0x1e086a(_0xdb599f[_0x3891b7(0x1b5)],_0xdb599f[_0x3891b7(0x20a)]+_0x3be489,_0xdb599f[_0x3891b7(0x103)]-_0x3be489),new _0x1e086a(_0xdb599f[_0x3891b7(0x1b5)],_0xdb599f[_0x3891b7(0x20a)],_0x3be489);}const _0x535cd4=Buffer[_0x3891b7(0x2a0)](_0x3be489);do{const _0x23d62e=this[_0x3891b7(0x1bf)][0x0],_0x3f2bbb=_0x535cd4[_0x3891b7(0x103)]-_0x3be489;_0x3be489>=_0x23d62e[_0x3891b7(0x103)]?_0x535cd4[_0x3891b7(0x1e5)](this['_buffers'][_0x3891b7(0x258)](),_0x3f2bbb):(_0x535cd4['set'](new Uint8Array(_0x23d62e[_0x3891b7(0x1b5)],_0x23d62e['byteOffset'],_0x3be489),_0x3f2bbb),this[_0x3891b7(0x1bf)][0x0]=new _0x1e086a(_0x23d62e[_0x3891b7(0x1b5)],_0x23d62e[_0x3891b7(0x20a)]+_0x3be489,_0x23d62e[_0x3891b7(0x103)]-_0x3be489)),_0x3be489-=_0x23d62e[_0x3891b7(0x103)];}while(_0x3be489>0x0);return _0x535cd4;}[_0x403ab2(0x169)](_0x5091ac){const _0xaa471=_0x403ab2;this[_0xaa471(0x20f)]=!0x0;do switch(this[_0xaa471(0x298)]){case _0x4a11f7:this[_0xaa471(0x14c)](_0x5091ac);break;case _0x378a61:this[_0xaa471(0x277)](_0x5091ac);break;case _0x507e06:this[_0xaa471(0x16c)](_0x5091ac);break;case _0x423b81:this['getMask']();break;case _0x3a83eb:this[_0xaa471(0x115)](_0x5091ac);break;case _0x38907b:case _0x124494:this['_loop']=!0x1;return;}while(this['_loop']);this[_0xaa471(0x1f7)]||_0x5091ac();}[_0x403ab2(0x14c)](_0x167c16){const _0x30168b=_0x403ab2;if(this[_0x30168b(0x204)]<0x2){this[_0x30168b(0x20f)]=!0x1;return;}const _0x23e444=this[_0x30168b(0x209)](0x2);if((_0x23e444[0x0]&0x30)!==0x0){const _0x53cebe=this[_0x30168b(0x271)](RangeError,_0x30168b(0x1b2),!0x0,0x3ea,_0x30168b(0x13f));_0x167c16(_0x53cebe);return;}const _0x16b1e4=(_0x23e444[0x0]&0x40)===0x40;if(_0x16b1e4&&!this[_0x30168b(0x1a1)][_0x5360e5[_0x30168b(0x175)]]){const _0x5e9c4d=this[_0x30168b(0x271)](RangeError,_0x30168b(0x22f),!0x0,0x3ea,_0x30168b(0x254));_0x167c16(_0x5e9c4d);return;}if(this[_0x30168b(0x18d)]=(_0x23e444[0x0]&0x80)===0x80,this['_opcode']=_0x23e444[0x0]&0xf,this[_0x30168b(0x2aa)]=_0x23e444[0x1]&0x7f,this[_0x30168b(0x16d)]===0x0){if(_0x16b1e4){const _0x49c6d2=this['createError'](RangeError,_0x30168b(0x22f),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x167c16(_0x49c6d2);return;}if(!this[_0x30168b(0x1f5)]){const _0x5ea853=this[_0x30168b(0x271)](RangeError,_0x30168b(0x144),!0x0,0x3ea,_0x30168b(0x287));_0x167c16(_0x5ea853);return;}this['_opcode']=this[_0x30168b(0x1f5)];}else{if(this[_0x30168b(0x16d)]===0x1||this[_0x30168b(0x16d)]===0x2){if(this[_0x30168b(0x1f5)]){const _0x2530a5=this[_0x30168b(0x271)](RangeError,'invalid\x20opcode\x20'+this[_0x30168b(0x16d)],!0x0,0x3ea,_0x30168b(0x287));_0x167c16(_0x2530a5);return;}this[_0x30168b(0x11d)]=_0x16b1e4;}else{if(this['_opcode']>0x7&&this['_opcode']<0xb){if(!this[_0x30168b(0x18d)]){const _0x261b7f=this[_0x30168b(0x271)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x30168b(0x143));_0x167c16(_0x261b7f);return;}if(_0x16b1e4){const _0x2551cb=this['createError'](RangeError,_0x30168b(0x22f),!0x0,0x3ea,_0x30168b(0x254));_0x167c16(_0x2551cb);return;}if(this[_0x30168b(0x2aa)]>0x7d||this['_opcode']===0x8&&this['_payloadLength']===0x1){const _0x1a7ea0=this[_0x30168b(0x271)](RangeError,_0x30168b(0x1c0)+this[_0x30168b(0x2aa)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x167c16(_0x1a7ea0);return;}}else{const _0x3821e6=this[_0x30168b(0x271)](RangeError,'invalid\x20opcode\x20'+this['_opcode'],!0x0,0x3ea,_0x30168b(0x287));_0x167c16(_0x3821e6);return;}}}if(!this['_fin']&&!this[_0x30168b(0x1f5)]&&(this['_fragmented']=this[_0x30168b(0x16d)]),this[_0x30168b(0x29b)]=(_0x23e444[0x1]&0x80)===0x80,this[_0x30168b(0x2b6)]){if(!this['_masked']){const _0x9861d8=this['createError'](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x30168b(0x177));_0x167c16(_0x9861d8);return;}}else{if(this[_0x30168b(0x29b)]){const _0x4d0771=this[_0x30168b(0x271)](RangeError,_0x30168b(0x114),!0x0,0x3ea,_0x30168b(0x2b5));_0x167c16(_0x4d0771);return;}}this['_payloadLength']===0x7e?this[_0x30168b(0x298)]=_0x378a61:this['_payloadLength']===0x7f?this[_0x30168b(0x298)]=_0x507e06:this[_0x30168b(0x1aa)](_0x167c16);}[_0x403ab2(0x277)](_0x14d245){const _0x5af941=_0x403ab2;if(this[_0x5af941(0x204)]<0x2){this[_0x5af941(0x20f)]=!0x1;return;}this['_payloadLength']=this[_0x5af941(0x209)](0x2)[_0x5af941(0x122)](0x0),this[_0x5af941(0x1aa)](_0x14d245);}[_0x403ab2(0x16c)](_0x62b7d0){const _0x5be9f7=_0x403ab2;if(this[_0x5be9f7(0x204)]<0x8){this[_0x5be9f7(0x20f)]=!0x1;return;}const _0x20ba88=this[_0x5be9f7(0x209)](0x8),_0xe11fdb=_0x20ba88[_0x5be9f7(0x269)](0x0);if(_0xe11fdb>Math[_0x5be9f7(0xfc)](0x2,0x15)-0x1){const _0x112d0b=this[_0x5be9f7(0x271)](RangeError,_0x5be9f7(0x14b),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x62b7d0(_0x112d0b);return;}this['_payloadLength']=_0xe11fdb*Math[_0x5be9f7(0xfc)](0x2,0x20)+_0x20ba88[_0x5be9f7(0x269)](0x4),this[_0x5be9f7(0x1aa)](_0x62b7d0);}[_0x403ab2(0x1aa)](_0x206d79){const _0x52b9c1=_0x403ab2;if(this[_0x52b9c1(0x2aa)]&&this[_0x52b9c1(0x16d)]<0x8&&(this[_0x52b9c1(0x11b)]+=this['_payloadLength'],this[_0x52b9c1(0x11b)]>this[_0x52b9c1(0x165)]&&this[_0x52b9c1(0x165)]>0x0)){const _0x1fcf3b=this[_0x52b9c1(0x271)](RangeError,_0x52b9c1(0x206),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x206d79(_0x1fcf3b);return;}this[_0x52b9c1(0x29b)]?this['_state']=_0x423b81:this['_state']=_0x3a83eb;}[_0x403ab2(0x1d3)](){const _0xa3586a=_0x403ab2;if(this['_bufferedBytes']<0x4){this[_0xa3586a(0x20f)]=!0x1;return;}this[_0xa3586a(0x245)]=this[_0xa3586a(0x209)](0x4),this['_state']=_0x3a83eb;}[_0x403ab2(0x115)](_0x399f13){const _0x547cad=_0x403ab2;let _0x26b46c=_0x595a80;if(this['_payloadLength']){if(this[_0x547cad(0x204)]<this[_0x547cad(0x2aa)]){this[_0x547cad(0x20f)]=!0x1;return;}_0x26b46c=this[_0x547cad(0x209)](this[_0x547cad(0x2aa)]),this[_0x547cad(0x29b)]&&(this['_mask'][0x0]|this['_mask'][0x1]|this[_0x547cad(0x245)][0x2]|this[_0x547cad(0x245)][0x3])!==0x0&&_0x4f483d(_0x26b46c,this['_mask']);}if(this[_0x547cad(0x16d)]>0x7){this[_0x547cad(0x20e)](_0x26b46c,_0x399f13);return;}if(this['_compressed']){this[_0x547cad(0x298)]=_0x38907b,this[_0x547cad(0x1db)](_0x26b46c,_0x399f13);return;}_0x26b46c[_0x547cad(0x103)]&&(this[_0x547cad(0x257)]=this[_0x547cad(0x11b)],this[_0x547cad(0x23b)][_0x547cad(0x22e)](_0x26b46c)),this[_0x547cad(0x142)](_0x399f13);}[_0x403ab2(0x1db)](_0x4085aa,_0x59c676){const _0x3ba42c=_0x403ab2;this[_0x3ba42c(0x1a1)][_0x5360e5[_0x3ba42c(0x175)]][_0x3ba42c(0x1db)](_0x4085aa,this[_0x3ba42c(0x18d)],(_0x33e493,_0x464de8)=>{const _0x2e1ced=_0x3ba42c;if(_0x33e493)return _0x59c676(_0x33e493);if(_0x464de8[_0x2e1ced(0x103)]){if(this[_0x2e1ced(0x257)]+=_0x464de8[_0x2e1ced(0x103)],this[_0x2e1ced(0x257)]>this['_maxPayload']&&this[_0x2e1ced(0x165)]>0x0){const _0x2af66f=this['createError'](RangeError,_0x2e1ced(0x206),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x59c676(_0x2af66f);return;}this['_fragments'][_0x2e1ced(0x22e)](_0x464de8);}this[_0x2e1ced(0x142)](_0x59c676),this[_0x2e1ced(0x298)]===_0x4a11f7&&this['startLoop'](_0x59c676);});}[_0x403ab2(0x142)](_0x37dae0){const _0x2cda4b=_0x403ab2;if(!this[_0x2cda4b(0x18d)]){this[_0x2cda4b(0x298)]=_0x4a11f7;return;}const _0x5a0d07=this[_0x2cda4b(0x257)],_0x1fad18=this[_0x2cda4b(0x23b)];if(this[_0x2cda4b(0x11b)]=0x0,this[_0x2cda4b(0x257)]=0x0,this[_0x2cda4b(0x1f5)]=0x0,this[_0x2cda4b(0x23b)]=[],this['_opcode']===0x2){let _0xbd4acd;this[_0x2cda4b(0x1f2)]==='nodebuffer'?_0xbd4acd=_0x4f39e4(_0x1fad18,_0x5a0d07):this[_0x2cda4b(0x1f2)]==='arraybuffer'?_0xbd4acd=_0x189e16(_0x4f39e4(_0x1fad18,_0x5a0d07)):this[_0x2cda4b(0x1f2)]===_0x2cda4b(0x283)?_0xbd4acd=new Blob(_0x1fad18):_0xbd4acd=_0x1fad18,this['_allowSynchronousEvents']?(this[_0x2cda4b(0x17b)](_0x2cda4b(0x18c),_0xbd4acd,!0x0),this[_0x2cda4b(0x298)]=_0x4a11f7):(this[_0x2cda4b(0x298)]=_0x124494,setImmediate(()=>{const _0x5a1de6=_0x2cda4b;this[_0x5a1de6(0x17b)](_0x5a1de6(0x18c),_0xbd4acd,!0x0),this[_0x5a1de6(0x298)]=_0x4a11f7,this[_0x5a1de6(0x169)](_0x37dae0);}));}else{const _0x227e35=_0x4f39e4(_0x1fad18,_0x5a0d07);if(!this['_skipUTF8Validation']&&!_0x57f6e7(_0x227e35)){const _0x12662e=this[_0x2cda4b(0x271)](Error,_0x2cda4b(0x1b4),!0x0,0x3ef,_0x2cda4b(0x2a6));_0x37dae0(_0x12662e);return;}this[_0x2cda4b(0x298)]===_0x38907b||this['_allowSynchronousEvents']?(this['emit']('message',_0x227e35,!0x1),this[_0x2cda4b(0x298)]=_0x4a11f7):(this[_0x2cda4b(0x298)]=_0x124494,setImmediate(()=>{const _0x203e90=_0x2cda4b;this[_0x203e90(0x17b)](_0x203e90(0x18c),_0x227e35,!0x1),this[_0x203e90(0x298)]=_0x4a11f7,this[_0x203e90(0x169)](_0x37dae0);}));}}[_0x403ab2(0x20e)](_0x28e33d,_0x36e405){const _0x2b7030=_0x403ab2;if(this['_opcode']===0x8){if(_0x28e33d[_0x2b7030(0x103)]===0x0)this[_0x2b7030(0x20f)]=!0x1,this[_0x2b7030(0x17b)](_0x2b7030(0x156),0x3ed,_0x595a80),this[_0x2b7030(0x1a5)]();else{const _0x4397c2=_0x28e33d[_0x2b7030(0x122)](0x0);if(!_0x16d300(_0x4397c2)){const _0x58ee45=this[_0x2b7030(0x271)](RangeError,_0x2b7030(0x22d)+_0x4397c2,!0x0,0x3ea,_0x2b7030(0x290));_0x36e405(_0x58ee45);return;}const _0x2cce01=new _0x1e086a(_0x28e33d['buffer'],_0x28e33d['byteOffset']+0x2,_0x28e33d['length']-0x2);if(!this[_0x2b7030(0x22c)]&&!_0x57f6e7(_0x2cce01)){const _0x5597fe=this['createError'](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x36e405(_0x5597fe);return;}this[_0x2b7030(0x20f)]=!0x1,this['emit'](_0x2b7030(0x156),_0x4397c2,_0x2cce01),this[_0x2b7030(0x1a5)]();}this['_state']=_0x4a11f7;return;}this[_0x2b7030(0x249)]?(this[_0x2b7030(0x17b)](this[_0x2b7030(0x16d)]===0x9?'ping':'pong',_0x28e33d),this[_0x2b7030(0x298)]=_0x4a11f7):(this[_0x2b7030(0x298)]=_0x124494,setImmediate(()=>{const _0x47f065=_0x2b7030;this[_0x47f065(0x17b)](this[_0x47f065(0x16d)]===0x9?'ping':_0x47f065(0x1cd),_0x28e33d),this[_0x47f065(0x298)]=_0x4a11f7,this[_0x47f065(0x169)](_0x36e405);}));}[_0x403ab2(0x271)](_0x2346b4,_0x55535f,_0x116829,_0x3da03d,_0x4b5f40){const _0x2e3111=_0x403ab2;this[_0x2e3111(0x20f)]=!0x1,this[_0x2e3111(0x1f7)]=!0x0;const _0x4335cf=new _0x2346b4(_0x116829?_0x2e3111(0x208)+_0x55535f:_0x55535f);return Error[_0x2e3111(0x120)](_0x4335cf,this['createError']),_0x4335cf['code']=_0x4b5f40,_0x4335cf[_0x4d1eb9]=_0x3da03d,_0x4335cf;}}return Se=_0x2713aa,Se;}var Ee,Xe;function ft(){const _0x5e2719=_0x14b355;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x4dc7ae}=oe,{randomFillSync:_0x95b048}=Le,_0xdb9092=he(),{EMPTY_BUFFER:_0x2a365a,kWebSocket:_0x5c2df8,NOOP:_0x43287b}=H(),{isBlob:_0x3b0c78,isValidStatusCode:_0x427f7d}=ae(),{mask:_0xa5ed45,toBuffer:_0x1202c5}=ce(),_0x3a9ecd=Symbol('kByteLength'),_0x47a278=Buffer[_0x5e2719(0x1b6)](0x4),_0x153f95=0x8*0x400;let _0x5e0e04,_0x50a784=_0x153f95;const _0x467492=0x0,_0x42edbe=0x1,_0x357be0=0x2;class _0x5117c8{constructor(_0x4bff32,_0x4ad11a,_0x5acdd7){const _0x4270ae=_0x5e2719;this[_0x4270ae(0x1a1)]=_0x4ad11a||{},_0x5acdd7&&(this[_0x4270ae(0x239)]=_0x5acdd7,this[_0x4270ae(0x231)]=Buffer[_0x4270ae(0x1b6)](0x4)),this[_0x4270ae(0x27a)]=_0x4bff32,this[_0x4270ae(0x253)]=!0x0,this['_compress']=!0x1,this[_0x4270ae(0x204)]=0x0,this['_queue']=[],this[_0x4270ae(0x298)]=_0x467492,this[_0x4270ae(0x2ac)]=_0x43287b,this[_0x5c2df8]=void 0x0;}static['frame'](_0x1ed76f,_0x177782){const _0x5d888a=_0x5e2719;let _0x19dc53,_0x376e27=!0x1,_0x13ba1c=0x2,_0x5ef774=!0x1;_0x177782[_0x5d888a(0x1ed)]&&(_0x19dc53=_0x177782['maskBuffer']||_0x47a278,_0x177782[_0x5d888a(0x235)]?_0x177782[_0x5d888a(0x235)](_0x19dc53):(_0x50a784===_0x153f95&&(_0x5e0e04===void 0x0&&(_0x5e0e04=Buffer[_0x5d888a(0x1b6)](_0x153f95)),_0x95b048(_0x5e0e04,0x0,_0x153f95),_0x50a784=0x0),_0x19dc53[0x0]=_0x5e0e04[_0x50a784++],_0x19dc53[0x1]=_0x5e0e04[_0x50a784++],_0x19dc53[0x2]=_0x5e0e04[_0x50a784++],_0x19dc53[0x3]=_0x5e0e04[_0x50a784++]),_0x5ef774=(_0x19dc53[0x0]|_0x19dc53[0x1]|_0x19dc53[0x2]|_0x19dc53[0x3])===0x0,_0x13ba1c=0x6);let _0x4974b0;typeof _0x1ed76f==_0x5d888a(0x219)?(!_0x177782[_0x5d888a(0x1ed)]||_0x5ef774)&&_0x177782[_0x3a9ecd]!==void 0x0?_0x4974b0=_0x177782[_0x3a9ecd]:(_0x1ed76f=Buffer['from'](_0x1ed76f),_0x4974b0=_0x1ed76f[_0x5d888a(0x103)]):(_0x4974b0=_0x1ed76f['length'],_0x376e27=_0x177782[_0x5d888a(0x1ed)]&&_0x177782[_0x5d888a(0x203)]&&!_0x5ef774);let _0x4ffe97=_0x4974b0;_0x4974b0>=0x10000?(_0x13ba1c+=0x8,_0x4ffe97=0x7f):_0x4974b0>0x7d&&(_0x13ba1c+=0x2,_0x4ffe97=0x7e);const _0x561ea8=Buffer[_0x5d888a(0x2a0)](_0x376e27?_0x4974b0+_0x13ba1c:_0x13ba1c);return _0x561ea8[0x0]=_0x177782[_0x5d888a(0x1c4)]?_0x177782[_0x5d888a(0x1bd)]|0x80:_0x177782[_0x5d888a(0x1bd)],_0x177782[_0x5d888a(0x23f)]&&(_0x561ea8[0x0]|=0x40),_0x561ea8[0x1]=_0x4ffe97,_0x4ffe97===0x7e?_0x561ea8['writeUInt16BE'](_0x4974b0,0x2):_0x4ffe97===0x7f&&(_0x561ea8[0x2]=_0x561ea8[0x3]=0x0,_0x561ea8[_0x5d888a(0x228)](_0x4974b0,0x4,0x6)),_0x177782['mask']?(_0x561ea8[0x1]|=0x80,_0x561ea8[_0x13ba1c-0x4]=_0x19dc53[0x0],_0x561ea8[_0x13ba1c-0x3]=_0x19dc53[0x1],_0x561ea8[_0x13ba1c-0x2]=_0x19dc53[0x2],_0x561ea8[_0x13ba1c-0x1]=_0x19dc53[0x3],_0x5ef774?[_0x561ea8,_0x1ed76f]:_0x376e27?(_0xa5ed45(_0x1ed76f,_0x19dc53,_0x561ea8,_0x13ba1c,_0x4974b0),[_0x561ea8]):(_0xa5ed45(_0x1ed76f,_0x19dc53,_0x1ed76f,0x0,_0x4974b0),[_0x561ea8,_0x1ed76f])):[_0x561ea8,_0x1ed76f];}[_0x5e2719(0x162)](_0x49c534,_0x2e8616,_0x18bf05,_0x1023c8){const _0x1246d8=_0x5e2719;let _0x5e1058;if(_0x49c534===void 0x0)_0x5e1058=_0x2a365a;else{if(typeof _0x49c534!='number'||!_0x427f7d(_0x49c534))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x2e8616===void 0x0||!_0x2e8616[_0x1246d8(0x103)])_0x5e1058=Buffer[_0x1246d8(0x2a0)](0x2),_0x5e1058[_0x1246d8(0x1d9)](_0x49c534,0x0);else{const _0x525dfc=Buffer[_0x1246d8(0x152)](_0x2e8616);if(_0x525dfc>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x5e1058=Buffer[_0x1246d8(0x2a0)](0x2+_0x525dfc),_0x5e1058[_0x1246d8(0x1d9)](_0x49c534,0x0),typeof _0x2e8616==_0x1246d8(0x219)?_0x5e1058[_0x1246d8(0x218)](_0x2e8616,0x2):_0x5e1058[_0x1246d8(0x1e5)](_0x2e8616,0x2);}}const _0x32dc89={[_0x3a9ecd]:_0x5e1058['length'],'fin':!0x0,'generateMask':this[_0x1246d8(0x239)],'mask':_0x18bf05,'maskBuffer':this[_0x1246d8(0x231)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x1246d8(0x298)]!==_0x467492?this[_0x1246d8(0x286)]([this[_0x1246d8(0x23c)],_0x5e1058,!0x1,_0x32dc89,_0x1023c8]):this[_0x1246d8(0x199)](_0x5117c8[_0x1246d8(0x181)](_0x5e1058,_0x32dc89),_0x1023c8);}[_0x5e2719(0x119)](_0x574afd,_0x3e96ed,_0x41bc85){const _0x514081=_0x5e2719;let _0x279aa8,_0x226558;if(typeof _0x574afd==_0x514081(0x219)?(_0x279aa8=Buffer['byteLength'](_0x574afd),_0x226558=!0x1):_0x3b0c78(_0x574afd)?(_0x279aa8=_0x574afd[_0x514081(0x187)],_0x226558=!0x1):(_0x574afd=_0x1202c5(_0x574afd),_0x279aa8=_0x574afd['length'],_0x226558=_0x1202c5[_0x514081(0x203)]),_0x279aa8>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x10b4a9={[_0x3a9ecd]:_0x279aa8,'fin':!0x0,'generateMask':this[_0x514081(0x239)],'mask':_0x3e96ed,'maskBuffer':this[_0x514081(0x231)],'opcode':0x9,'readOnly':_0x226558,'rsv1':!0x1};_0x3b0c78(_0x574afd)?this[_0x514081(0x298)]!==_0x467492?this['enqueue']([this[_0x514081(0x296)],_0x574afd,!0x1,_0x10b4a9,_0x41bc85]):this['getBlobData'](_0x574afd,!0x1,_0x10b4a9,_0x41bc85):this[_0x514081(0x298)]!==_0x467492?this[_0x514081(0x286)]([this[_0x514081(0x23c)],_0x574afd,!0x1,_0x10b4a9,_0x41bc85]):this['sendFrame'](_0x5117c8[_0x514081(0x181)](_0x574afd,_0x10b4a9),_0x41bc85);}[_0x5e2719(0x1cd)](_0x3e3d46,_0x5830da,_0x1995c5){const _0x345ad9=_0x5e2719;let _0x4d5ac7,_0x135337;if(typeof _0x3e3d46==_0x345ad9(0x219)?(_0x4d5ac7=Buffer['byteLength'](_0x3e3d46),_0x135337=!0x1):_0x3b0c78(_0x3e3d46)?(_0x4d5ac7=_0x3e3d46['size'],_0x135337=!0x1):(_0x3e3d46=_0x1202c5(_0x3e3d46),_0x4d5ac7=_0x3e3d46[_0x345ad9(0x103)],_0x135337=_0x1202c5[_0x345ad9(0x203)]),_0x4d5ac7>0x7d)throw new RangeError(_0x345ad9(0x1ce));const _0xf52072={[_0x3a9ecd]:_0x4d5ac7,'fin':!0x0,'generateMask':this[_0x345ad9(0x239)],'mask':_0x5830da,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x135337,'rsv1':!0x1};_0x3b0c78(_0x3e3d46)?this['_state']!==_0x467492?this[_0x345ad9(0x286)]([this['getBlobData'],_0x3e3d46,!0x1,_0xf52072,_0x1995c5]):this[_0x345ad9(0x296)](_0x3e3d46,!0x1,_0xf52072,_0x1995c5):this[_0x345ad9(0x298)]!==_0x467492?this[_0x345ad9(0x286)]([this[_0x345ad9(0x23c)],_0x3e3d46,!0x1,_0xf52072,_0x1995c5]):this[_0x345ad9(0x199)](_0x5117c8['frame'](_0x3e3d46,_0xf52072),_0x1995c5);}[_0x5e2719(0x100)](_0x440e66,_0xbabc15,_0x37ce60){const _0xab82a4=_0x5e2719,_0x1b23b5=this[_0xab82a4(0x1a1)][_0xdb9092[_0xab82a4(0x175)]];let _0x9e0c55=_0xbabc15['binary']?0x2:0x1,_0x3927a8=_0xbabc15[_0xab82a4(0x13d)],_0x5e3e03,_0x1e2290;typeof _0x440e66==_0xab82a4(0x219)?(_0x5e3e03=Buffer[_0xab82a4(0x152)](_0x440e66),_0x1e2290=!0x1):_0x3b0c78(_0x440e66)?(_0x5e3e03=_0x440e66[_0xab82a4(0x187)],_0x1e2290=!0x1):(_0x440e66=_0x1202c5(_0x440e66),_0x5e3e03=_0x440e66[_0xab82a4(0x103)],_0x1e2290=_0x1202c5[_0xab82a4(0x203)]),this[_0xab82a4(0x253)]?(this['_firstFragment']=!0x1,_0x3927a8&&_0x1b23b5&&_0x1b23b5[_0xab82a4(0x1f4)][_0x1b23b5[_0xab82a4(0x2b6)]?_0xab82a4(0x149):_0xab82a4(0x1f6)]&&(_0x3927a8=_0x5e3e03>=_0x1b23b5[_0xab82a4(0x1a9)]),this[_0xab82a4(0x108)]=_0x3927a8):(_0x3927a8=!0x1,_0x9e0c55=0x0),_0xbabc15['fin']&&(this[_0xab82a4(0x253)]=!0x0);const _0x1c8652={[_0x3a9ecd]:_0x5e3e03,'fin':_0xbabc15[_0xab82a4(0x1c4)],'generateMask':this[_0xab82a4(0x239)],'mask':_0xbabc15['mask'],'maskBuffer':this[_0xab82a4(0x231)],'opcode':_0x9e0c55,'readOnly':_0x1e2290,'rsv1':_0x3927a8};_0x3b0c78(_0x440e66)?this[_0xab82a4(0x298)]!==_0x467492?this[_0xab82a4(0x286)]([this[_0xab82a4(0x296)],_0x440e66,this[_0xab82a4(0x108)],_0x1c8652,_0x37ce60]):this[_0xab82a4(0x296)](_0x440e66,this[_0xab82a4(0x108)],_0x1c8652,_0x37ce60):this[_0xab82a4(0x298)]!==_0x467492?this['enqueue']([this[_0xab82a4(0x23c)],_0x440e66,this['_compress'],_0x1c8652,_0x37ce60]):this[_0xab82a4(0x23c)](_0x440e66,this[_0xab82a4(0x108)],_0x1c8652,_0x37ce60);}[_0x5e2719(0x296)](_0x117a67,_0x188bbb,_0x227f92,_0x31eaf9){const _0x2e2ad6=_0x5e2719;this[_0x2e2ad6(0x204)]+=_0x227f92[_0x3a9ecd],this[_0x2e2ad6(0x298)]=_0x357be0,_0x117a67[_0x2e2ad6(0x295)]()[_0x2e2ad6(0x220)](_0x35a449=>{const _0x4bef5d=_0x2e2ad6;if(this[_0x4bef5d(0x27a)]['destroyed']){const _0x4b2864=new Error(_0x4bef5d(0x14a));process[_0x4bef5d(0x12a)](_0x1fd188,this,_0x4b2864,_0x31eaf9);return;}this[_0x4bef5d(0x204)]-=_0x227f92[_0x3a9ecd];const _0x528f40=_0x1202c5(_0x35a449);_0x188bbb?this[_0x4bef5d(0x23c)](_0x528f40,_0x188bbb,_0x227f92,_0x31eaf9):(this[_0x4bef5d(0x298)]=_0x467492,this[_0x4bef5d(0x199)](_0x5117c8[_0x4bef5d(0x181)](_0x528f40,_0x227f92),_0x31eaf9),this[_0x4bef5d(0x24c)]());})[_0x2e2ad6(0x10c)](_0x2f4ed8=>{const _0x94705b=_0x2e2ad6;process[_0x94705b(0x12a)](_0x434196,this,_0x2f4ed8,_0x31eaf9);});}[_0x5e2719(0x23c)](_0x631142,_0xd1a47,_0x2768d0,_0x385129){const _0x50f85e=_0x5e2719;if(!_0xd1a47){this['sendFrame'](_0x5117c8[_0x50f85e(0x181)](_0x631142,_0x2768d0),_0x385129);return;}const _0x11d418=this[_0x50f85e(0x1a1)][_0xdb9092[_0x50f85e(0x175)]];this[_0x50f85e(0x204)]+=_0x2768d0[_0x3a9ecd],this[_0x50f85e(0x298)]=_0x42edbe,_0x11d418[_0x50f85e(0x13d)](_0x631142,_0x2768d0[_0x50f85e(0x1c4)],(_0x2b4b02,_0x32a06e)=>{const _0x2edb5b=_0x50f85e;if(this['_socket'][_0x2edb5b(0x150)]){const _0x4d1fae=new Error(_0x2edb5b(0x12d));_0x1fd188(this,_0x4d1fae,_0x385129);return;}this['_bufferedBytes']-=_0x2768d0[_0x3a9ecd],this[_0x2edb5b(0x298)]=_0x467492,_0x2768d0['readOnly']=!0x1,this[_0x2edb5b(0x199)](_0x5117c8[_0x2edb5b(0x181)](_0x32a06e,_0x2768d0),_0x385129),this[_0x2edb5b(0x24c)]();});}[_0x5e2719(0x24c)](){const _0x3fa900=_0x5e2719;for(;this['_state']===_0x467492&&this['_queue'][_0x3fa900(0x103)];){const _0x1ba081=this['_queue'][_0x3fa900(0x258)]();this['_bufferedBytes']-=_0x1ba081[0x3][_0x3a9ecd],Reflect[_0x3fa900(0x289)](_0x1ba081[0x0],this,_0x1ba081[_0x3fa900(0x1fc)](0x1));}}[_0x5e2719(0x286)](_0x2354f5){const _0x2d0ded=_0x5e2719;this[_0x2d0ded(0x204)]+=_0x2354f5[0x3][_0x3a9ecd],this[_0x2d0ded(0x1fe)][_0x2d0ded(0x22e)](_0x2354f5);}[_0x5e2719(0x199)](_0x1230ad,_0xf006e8){const _0x198ee8=_0x5e2719;_0x1230ad[_0x198ee8(0x103)]===0x2?(this['_socket'][_0x198ee8(0x164)](),this[_0x198ee8(0x27a)][_0x198ee8(0x218)](_0x1230ad[0x0]),this['_socket'][_0x198ee8(0x218)](_0x1230ad[0x1],_0xf006e8),this[_0x198ee8(0x27a)][_0x198ee8(0x274)]()):this[_0x198ee8(0x27a)][_0x198ee8(0x218)](_0x1230ad[0x0],_0xf006e8);}}Ee=_0x5117c8;function _0x1fd188(_0x361fae,_0x89e7b0,_0x17c48d){const _0x3cfe9c=_0x5e2719;typeof _0x17c48d==_0x3cfe9c(0x135)&&_0x17c48d(_0x89e7b0);for(let _0x45b729=0x0;_0x45b729<_0x361fae['_queue'][_0x3cfe9c(0x103)];_0x45b729++){const _0x31bcaa=_0x361fae[_0x3cfe9c(0x1fe)][_0x45b729],_0x409166=_0x31bcaa[_0x31bcaa['length']-0x1];typeof _0x409166==_0x3cfe9c(0x135)&&_0x409166(_0x89e7b0);}}function _0x434196(_0xd46168,_0x1220bf,_0x15ee20){const _0xdcd3f7=_0x5e2719;_0x1fd188(_0xd46168,_0x1220bf,_0x15ee20),_0xd46168[_0xdcd3f7(0x2ac)](_0x1220bf);}return Ee;}var xe,Ze;function It(){const _0x82b015=_0x14b355;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x551588,kListener:_0x277e72}=H(),_0x3cd0ba=Symbol(_0x82b015(0x234)),_0x550c91=Symbol(_0x82b015(0x29e)),_0x26fc77=Symbol(_0x82b015(0x238)),_0x173768=Symbol(_0x82b015(0x24f)),_0x2c90db=Symbol(_0x82b015(0x211)),_0x2a2983=Symbol(_0x82b015(0x29c)),_0x536537=Symbol('kType'),_0x1c885a=Symbol(_0x82b015(0x248));class _0x4f9726{constructor(_0x53c0e4){this[_0x2a2983]=null,this[_0x536537]=_0x53c0e4;}get[_0x82b015(0x18b)](){return this[_0x2a2983];}get[_0x82b015(0x23e)](){return this[_0x536537];}}Object[_0x82b015(0xfd)](_0x4f9726[_0x82b015(0x110)],_0x82b015(0x18b),{'enumerable':!0x0}),Object[_0x82b015(0xfd)](_0x4f9726[_0x82b015(0x110)],_0x82b015(0x23e),{'enumerable':!0x0});class _0x23dbf6 extends _0x4f9726{constructor(_0x1b5813,_0x222e47={}){const _0x4d2f1b=_0x82b015;super(_0x1b5813),this[_0x3cd0ba]=_0x222e47['code']===void 0x0?0x0:_0x222e47[_0x4d2f1b(0x1df)],this[_0x2c90db]=_0x222e47[_0x4d2f1b(0x2b3)]===void 0x0?'':_0x222e47[_0x4d2f1b(0x2b3)],this[_0x1c885a]=_0x222e47[_0x4d2f1b(0x1a4)]===void 0x0?!0x1:_0x222e47['wasClean'];}get[_0x82b015(0x1df)](){return this[_0x3cd0ba];}get[_0x82b015(0x2b3)](){return this[_0x2c90db];}get['wasClean'](){return this[_0x1c885a];}}Object[_0x82b015(0xfd)](_0x23dbf6['prototype'],_0x82b015(0x1df),{'enumerable':!0x0}),Object[_0x82b015(0xfd)](_0x23dbf6[_0x82b015(0x110)],_0x82b015(0x2b3),{'enumerable':!0x0}),Object[_0x82b015(0xfd)](_0x23dbf6['prototype'],_0x82b015(0x1a4),{'enumerable':!0x0});class _0x304150 extends _0x4f9726{constructor(_0x4e7b55,_0x485044={}){const _0x18c6dd=_0x82b015;super(_0x4e7b55),this[_0x26fc77]=_0x485044[_0x18c6dd(0x137)]===void 0x0?null:_0x485044[_0x18c6dd(0x137)],this[_0x173768]=_0x485044[_0x18c6dd(0x18c)]===void 0x0?'':_0x485044[_0x18c6dd(0x18c)];}get['error'](){return this[_0x26fc77];}get[_0x82b015(0x18c)](){return this[_0x173768];}}Object[_0x82b015(0xfd)](_0x304150[_0x82b015(0x110)],_0x82b015(0x137),{'enumerable':!0x0}),Object['defineProperty'](_0x304150[_0x82b015(0x110)],_0x82b015(0x18c),{'enumerable':!0x0});class _0x28567d extends _0x4f9726{constructor(_0xcfd003,_0x53e162={}){const _0x115ce0=_0x82b015;super(_0xcfd003),this[_0x550c91]=_0x53e162[_0x115ce0(0x17f)]===void 0x0?null:_0x53e162[_0x115ce0(0x17f)];}get['data'](){return this[_0x550c91];}}Object['defineProperty'](_0x28567d[_0x82b015(0x110)],_0x82b015(0x17f),{'enumerable':!0x0}),xe={'CloseEvent':_0x23dbf6,'ErrorEvent':_0x304150,'Event':_0x4f9726,'EventTarget':{'addEventListener'(_0x2c2e79,_0x9ed32b,_0x15cb2f={}){const _0x42cbfd=_0x82b015;for(const _0x218226 of this['listeners'](_0x2c2e79))if(!_0x15cb2f[_0x551588]&&_0x218226[_0x277e72]===_0x9ed32b&&!_0x218226[_0x551588])return;let _0xbd4abb;if(_0x2c2e79===_0x42cbfd(0x18c))_0xbd4abb=function(_0x41ac83,_0x567b89){const _0x22f11=_0x42cbfd,_0xf2d7fe=new _0x28567d(_0x22f11(0x18c),{'data':_0x567b89?_0x41ac83:_0x41ac83[_0x22f11(0x261)]()});_0xf2d7fe[_0x2a2983]=this,_0x38b607(_0x9ed32b,this,_0xf2d7fe);};else{if(_0x2c2e79===_0x42cbfd(0x162))_0xbd4abb=function(_0x38e487,_0x1e9ffc){const _0x41f495=_0x42cbfd,_0x59d61a=new _0x23dbf6(_0x41f495(0x162),{'code':_0x38e487,'reason':_0x1e9ffc[_0x41f495(0x261)](),'wasClean':this['_closeFrameReceived']&&this[_0x41f495(0x25a)]});_0x59d61a[_0x2a2983]=this,_0x38b607(_0x9ed32b,this,_0x59d61a);};else{if(_0x2c2e79===_0x42cbfd(0x137))_0xbd4abb=function(_0x4d286f){const _0x4b7067=_0x42cbfd,_0x10f41b=new _0x304150(_0x4b7067(0x137),{'error':_0x4d286f,'message':_0x4d286f['message']});_0x10f41b[_0x2a2983]=this,_0x38b607(_0x9ed32b,this,_0x10f41b);};else{if(_0x2c2e79===_0x42cbfd(0x278))_0xbd4abb=function(){const _0x1dbc02=_0x42cbfd,_0x3ac791=new _0x4f9726(_0x1dbc02(0x278));_0x3ac791[_0x2a2983]=this,_0x38b607(_0x9ed32b,this,_0x3ac791);};else return;}}}_0xbd4abb[_0x551588]=!!_0x15cb2f[_0x551588],_0xbd4abb[_0x277e72]=_0x9ed32b,_0x15cb2f[_0x42cbfd(0x265)]?this['once'](_0x2c2e79,_0xbd4abb):this['on'](_0x2c2e79,_0xbd4abb);},'removeEventListener'(_0x5e1f85,_0x317429){const _0x28f09a=_0x82b015;for(const _0x1da325 of this[_0x28f09a(0x1bc)](_0x5e1f85))if(_0x1da325[_0x277e72]===_0x317429&&!_0x1da325[_0x551588]){this[_0x28f09a(0x285)](_0x5e1f85,_0x1da325);break;}}},'MessageEvent':_0x28567d};function _0x38b607(_0x4476ea,_0x10c086,_0x2beb2f){const _0x306cc8=_0x82b015;typeof _0x4476ea==_0x306cc8(0x294)&&_0x4476ea[_0x306cc8(0x1e2)]?_0x4476ea[_0x306cc8(0x1e2)]['call'](_0x4476ea,_0x2beb2f):_0x4476ea[_0x306cc8(0x230)](_0x10c086,_0x2beb2f);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0xbdb79f}=ae();function _0x317b87(_0x21176,_0x30ba14,_0x3f29dc){_0x21176[_0x30ba14]===void 0x0?_0x21176[_0x30ba14]=[_0x3f29dc]:_0x21176[_0x30ba14]['push'](_0x3f29dc);}function _0x178adb(_0x4d4eb8){const _0x1f0918=_0x51b2,_0x5e7ec1=Object[_0x1f0918(0x1c6)](null);let _0x16e0d0=Object[_0x1f0918(0x1c6)](null),_0x18028c=!0x1,_0x4c9868=!0x1,_0x4aa420=!0x1,_0x5548fb,_0x36cdbb,_0x4462e6=-0x1,_0x443522=-0x1,_0x5bbeda=-0x1,_0x5c2271=0x0;for(;_0x5c2271<_0x4d4eb8[_0x1f0918(0x103)];_0x5c2271++)if(_0x443522=_0x4d4eb8[_0x1f0918(0x212)](_0x5c2271),_0x5548fb===void 0x0){if(_0x5bbeda===-0x1&&_0xbdb79f[_0x443522]===0x1)_0x4462e6===-0x1&&(_0x4462e6=_0x5c2271);else{if(_0x5c2271!==0x0&&(_0x443522===0x20||_0x443522===0x9))_0x5bbeda===-0x1&&_0x4462e6!==-0x1&&(_0x5bbeda=_0x5c2271);else{if(_0x443522===0x3b||_0x443522===0x2c){if(_0x4462e6===-0x1)throw new SyntaxError(_0x1f0918(0x1c3)+_0x5c2271);_0x5bbeda===-0x1&&(_0x5bbeda=_0x5c2271);const _0x5a95a8=_0x4d4eb8[_0x1f0918(0x1fc)](_0x4462e6,_0x5bbeda);_0x443522===0x2c?(_0x317b87(_0x5e7ec1,_0x5a95a8,_0x16e0d0),_0x16e0d0=Object['create'](null)):_0x5548fb=_0x5a95a8,_0x4462e6=_0x5bbeda=-0x1;}else throw new SyntaxError(_0x1f0918(0x1c3)+_0x5c2271);}}}else{if(_0x36cdbb===void 0x0){if(_0x5bbeda===-0x1&&_0xbdb79f[_0x443522]===0x1)_0x4462e6===-0x1&&(_0x4462e6=_0x5c2271);else{if(_0x443522===0x20||_0x443522===0x9)_0x5bbeda===-0x1&&_0x4462e6!==-0x1&&(_0x5bbeda=_0x5c2271);else{if(_0x443522===0x3b||_0x443522===0x2c){if(_0x4462e6===-0x1)throw new SyntaxError(_0x1f0918(0x1c3)+_0x5c2271);_0x5bbeda===-0x1&&(_0x5bbeda=_0x5c2271),_0x317b87(_0x16e0d0,_0x4d4eb8[_0x1f0918(0x1fc)](_0x4462e6,_0x5bbeda),!0x0),_0x443522===0x2c&&(_0x317b87(_0x5e7ec1,_0x5548fb,_0x16e0d0),_0x16e0d0=Object[_0x1f0918(0x1c6)](null),_0x5548fb=void 0x0),_0x4462e6=_0x5bbeda=-0x1;}else{if(_0x443522===0x3d&&_0x4462e6!==-0x1&&_0x5bbeda===-0x1)_0x36cdbb=_0x4d4eb8[_0x1f0918(0x1fc)](_0x4462e6,_0x5c2271),_0x4462e6=_0x5bbeda=-0x1;else throw new SyntaxError(_0x1f0918(0x1c3)+_0x5c2271);}}}}else{if(_0x4c9868){if(_0xbdb79f[_0x443522]!==0x1)throw new SyntaxError(_0x1f0918(0x1c3)+_0x5c2271);_0x4462e6===-0x1?_0x4462e6=_0x5c2271:_0x18028c||(_0x18028c=!0x0),_0x4c9868=!0x1;}else{if(_0x4aa420){if(_0xbdb79f[_0x443522]===0x1)_0x4462e6===-0x1&&(_0x4462e6=_0x5c2271);else{if(_0x443522===0x22&&_0x4462e6!==-0x1)_0x4aa420=!0x1,_0x5bbeda=_0x5c2271;else{if(_0x443522===0x5c)_0x4c9868=!0x0;else throw new SyntaxError(_0x1f0918(0x1c3)+_0x5c2271);}}}else{if(_0x443522===0x22&&_0x4d4eb8[_0x1f0918(0x212)](_0x5c2271-0x1)===0x3d)_0x4aa420=!0x0;else{if(_0x5bbeda===-0x1&&_0xbdb79f[_0x443522]===0x1)_0x4462e6===-0x1&&(_0x4462e6=_0x5c2271);else{if(_0x4462e6!==-0x1&&(_0x443522===0x20||_0x443522===0x9))_0x5bbeda===-0x1&&(_0x5bbeda=_0x5c2271);else{if(_0x443522===0x3b||_0x443522===0x2c){if(_0x4462e6===-0x1)throw new SyntaxError(_0x1f0918(0x1c3)+_0x5c2271);_0x5bbeda===-0x1&&(_0x5bbeda=_0x5c2271);let _0x24ea4a=_0x4d4eb8[_0x1f0918(0x1fc)](_0x4462e6,_0x5bbeda);_0x18028c&&(_0x24ea4a=_0x24ea4a['replace'](/\\/g,''),_0x18028c=!0x1),_0x317b87(_0x16e0d0,_0x36cdbb,_0x24ea4a),_0x443522===0x2c&&(_0x317b87(_0x5e7ec1,_0x5548fb,_0x16e0d0),_0x16e0d0=Object[_0x1f0918(0x1c6)](null),_0x5548fb=void 0x0),_0x36cdbb=void 0x0,_0x4462e6=_0x5bbeda=-0x1;}else throw new SyntaxError(_0x1f0918(0x1c3)+_0x5c2271);}}}}}}}if(_0x4462e6===-0x1||_0x4aa420||_0x443522===0x20||_0x443522===0x9)throw new SyntaxError(_0x1f0918(0x179));_0x5bbeda===-0x1&&(_0x5bbeda=_0x5c2271);const _0x57cc65=_0x4d4eb8['slice'](_0x4462e6,_0x5bbeda);return _0x5548fb===void 0x0?_0x317b87(_0x5e7ec1,_0x57cc65,_0x16e0d0):(_0x36cdbb===void 0x0?_0x317b87(_0x16e0d0,_0x57cc65,!0x0):_0x18028c?_0x317b87(_0x16e0d0,_0x36cdbb,_0x57cc65[_0x1f0918(0x101)](/\\/g,'')):_0x317b87(_0x16e0d0,_0x36cdbb,_0x57cc65),_0x317b87(_0x5e7ec1,_0x5548fb,_0x16e0d0)),_0x5e7ec1;}function _0x26e396(_0xb9f5b4){const _0x3f3b72=_0x51b2;return Object[_0x3f3b72(0x109)](_0xb9f5b4)[_0x3f3b72(0x157)](_0x34fc9d=>{const _0x451f66=_0x3f3b72;let _0x172932=_0xb9f5b4[_0x34fc9d];return Array[_0x451f66(0x262)](_0x172932)||(_0x172932=[_0x172932]),_0x172932[_0x451f66(0x157)](_0x13a9c9=>[_0x34fc9d][_0x451f66(0x259)](Object[_0x451f66(0x109)](_0x13a9c9)[_0x451f66(0x157)](_0x4a7fb9=>{const _0x245355=_0x451f66;let _0x4bb09d=_0x13a9c9[_0x4a7fb9];return Array[_0x245355(0x262)](_0x4bb09d)||(_0x4bb09d=[_0x4bb09d]),_0x4bb09d[_0x245355(0x157)](_0x19005f=>_0x19005f===!0x0?_0x4a7fb9:_0x4a7fb9+'='+_0x19005f)['join'](';\x20');}))[_0x451f66(0x125)](';\x20'))[_0x451f66(0x125)](',\x20');})[_0x3f3b72(0x125)](',\x20');}return be={'format':_0x26e396,'parse':_0x178adb},be;}var we,Je;function Pe(){const _0x26fbef=_0x14b355;if(Je)return we;Je=0x1;const _0x39c8d2=nt,_0x565ba8=vt,_0x5dbbe6=ot,_0x35d6a9=St,_0x5e09c7=Et,{randomBytes:_0x1bd8a4,createHash:_0x3e4037}=Le,{Duplex:_0x1838f3,Readable:_0x2df8fe}=oe,{URL:_0x1766f8}=xt,_0xebc4e2=he(),_0x4d0a7b=lt(),_0x4e253e=ft(),{isBlob:_0x44c65c}=ae(),{BINARY_TYPES:_0x47971a,EMPTY_BUFFER:_0x3a139b,GUID:_0x259c10,kForOnEventAttribute:_0x5db5d4,kListener:_0x1ba1c0,kStatusCode:_0x2fabd5,kWebSocket:_0x60a0b6,NOOP:_0x404c90}=H(),{EventTarget:{addEventListener:_0x3607ef,removeEventListener:_0x4944e8}}=It(),{format:_0x11c010,parse:_0xa2be0f}=ct(),{toBuffer:_0x1290e5}=ce(),_0x59e4bc=0x1e*0x3e8,_0x2888ff=Symbol(_0x26fbef(0x132)),_0x55fd98=[0x8,0xd],_0x4535e6=[_0x26fbef(0x18a),'OPEN','CLOSING','CLOSED'],_0x2d4f2b=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x24704a extends _0x39c8d2{constructor(_0x188704,_0x5a5a78,_0x3fc702){const _0x31297a=_0x26fbef;super(),this[_0x31297a(0x1f2)]=_0x47971a[0x0],this[_0x31297a(0x28c)]=0x3ee,this[_0x31297a(0x1be)]=!0x1,this['_closeFrameSent']=!0x1,this[_0x31297a(0x158)]=_0x3a139b,this[_0x31297a(0x124)]=null,this[_0x31297a(0x2a9)]=!0x1,this[_0x31297a(0x1a1)]={},this[_0x31297a(0x21a)]=!0x1,this['_protocol']='',this[_0x31297a(0x128)]=_0x24704a[_0x31297a(0x18a)],this['_receiver']=null,this['_sender']=null,this['_socket']=null,_0x188704!==null?(this[_0x31297a(0x25f)]=0x0,this[_0x31297a(0x2b6)]=!0x1,this[_0x31297a(0x10e)]=0x0,_0x5a5a78===void 0x0?_0x5a5a78=[]:Array['isArray'](_0x5a5a78)||(typeof _0x5a5a78==_0x31297a(0x294)&&_0x5a5a78!==null?(_0x3fc702=_0x5a5a78,_0x5a5a78=[]):_0x5a5a78=[_0x5a5a78]),_0x3a2bcc(this,_0x188704,_0x5a5a78,_0x3fc702)):(this[_0x31297a(0x123)]=_0x3fc702['autoPong'],this[_0x31297a(0x2b6)]=!0x0);}get[_0x26fbef(0x130)](){return this['_binaryType'];}set[_0x26fbef(0x130)](_0x21acc0){const _0xc081=_0x26fbef;_0x47971a['includes'](_0x21acc0)&&(this['_binaryType']=_0x21acc0,this[_0xc081(0x27b)]&&(this['_receiver'][_0xc081(0x1f2)]=_0x21acc0));}get['bufferedAmount'](){const _0x4e72fc=_0x26fbef;return this[_0x4e72fc(0x27a)]?this[_0x4e72fc(0x27a)][_0x4e72fc(0x170)][_0x4e72fc(0x103)]+this['_sender'][_0x4e72fc(0x204)]:this[_0x4e72fc(0x25f)];}get[_0x26fbef(0x19c)](){const _0x1b6351=_0x26fbef;return Object[_0x1b6351(0x109)](this[_0x1b6351(0x1a1)])[_0x1b6351(0x125)]();}get[_0x26fbef(0x268)](){const _0x43d0ca=_0x26fbef;return this[_0x43d0ca(0x21a)];}get['onclose'](){return null;}get[_0x26fbef(0x2ac)](){return null;}get[_0x26fbef(0x2a4)](){return null;}get['onmessage'](){return null;}get['protocol'](){return this['_protocol'];}get[_0x26fbef(0x17e)](){const _0x10fd85=_0x26fbef;return this[_0x10fd85(0x128)];}get[_0x26fbef(0x1ad)](){const _0xc7391e=_0x26fbef;return this[_0xc7391e(0x281)];}[_0x26fbef(0x16b)](_0x366be3,_0x377bc1,_0x4b0dc1){const _0x5c8de3=_0x26fbef,_0x4e20f6=new _0x4d0a7b({'allowSynchronousEvents':_0x4b0dc1['allowSynchronousEvents'],'binaryType':this[_0x5c8de3(0x130)],'extensions':this[_0x5c8de3(0x1a1)],'isServer':this[_0x5c8de3(0x2b6)],'maxPayload':_0x4b0dc1[_0x5c8de3(0x1d5)],'skipUTF8Validation':_0x4b0dc1[_0x5c8de3(0x183)]}),_0x3c368f=new _0x4e253e(_0x366be3,this[_0x5c8de3(0x1a1)],_0x4b0dc1[_0x5c8de3(0x235)]);this[_0x5c8de3(0x27b)]=_0x4e20f6,this[_0x5c8de3(0x2a8)]=_0x3c368f,this[_0x5c8de3(0x27a)]=_0x366be3,_0x4e20f6[_0x60a0b6]=this,_0x3c368f[_0x60a0b6]=this,_0x366be3[_0x60a0b6]=this,_0x4e20f6['on'](_0x5c8de3(0x156),_0x199f15),_0x4e20f6['on'](_0x5c8de3(0x23a),_0x562f02),_0x4e20f6['on']('error',_0x373e7f),_0x4e20f6['on'](_0x5c8de3(0x18c),_0x5b8e87),_0x4e20f6['on'](_0x5c8de3(0x119),_0x216e74),_0x4e20f6['on']('pong',_0x40531e),_0x3c368f[_0x5c8de3(0x2ac)]=_0x3c109b,_0x366be3[_0x5c8de3(0x264)]&&_0x366be3[_0x5c8de3(0x264)](0x0),_0x366be3['setNoDelay']&&_0x366be3[_0x5c8de3(0x291)](),_0x377bc1[_0x5c8de3(0x103)]>0x0&&_0x366be3['unshift'](_0x377bc1),_0x366be3['on'](_0x5c8de3(0x162),_0x2a3084),_0x366be3['on'](_0x5c8de3(0x17f),_0xfb33d9),_0x366be3['on']('end',_0x156bde),_0x366be3['on'](_0x5c8de3(0x137),_0x4515af),this[_0x5c8de3(0x128)]=_0x24704a['OPEN'],this[_0x5c8de3(0x17b)](_0x5c8de3(0x278));}[_0x26fbef(0x14e)](){const _0x5f00=_0x26fbef;if(!this[_0x5f00(0x27a)]){this[_0x5f00(0x128)]=_0x24704a[_0x5f00(0x1c8)],this[_0x5f00(0x17b)](_0x5f00(0x162),this[_0x5f00(0x28c)],this[_0x5f00(0x158)]);return;}this[_0x5f00(0x1a1)][_0xebc4e2[_0x5f00(0x175)]]&&this['_extensions'][_0xebc4e2['extensionName']][_0x5f00(0x174)](),this['_receiver']['removeAllListeners'](),this[_0x5f00(0x128)]=_0x24704a['CLOSED'],this[_0x5f00(0x17b)]('close',this[_0x5f00(0x28c)],this['_closeMessage']);}['close'](_0x3effd6,_0x516265){const _0x4f8671=_0x26fbef;if(this[_0x4f8671(0x17e)]!==_0x24704a[_0x4f8671(0x1c8)]){if(this['readyState']===_0x24704a['CONNECTING']){_0x4ff1e8(this,this[_0x4f8671(0x1b9)],_0x4f8671(0x1ec));return;}if(this['readyState']===_0x24704a[_0x4f8671(0x275)]){this['_closeFrameSent']&&(this[_0x4f8671(0x1be)]||this[_0x4f8671(0x27b)][_0x4f8671(0x170)][_0x4f8671(0x27c)])&&this[_0x4f8671(0x27a)][_0x4f8671(0x1a5)]();return;}this[_0x4f8671(0x128)]=_0x24704a['CLOSING'],this[_0x4f8671(0x2a8)][_0x4f8671(0x162)](_0x3effd6,_0x516265,!this[_0x4f8671(0x2b6)],_0x17bff3=>{const _0x5896c6=_0x4f8671;_0x17bff3||(this['_closeFrameSent']=!0x0,(this['_closeFrameReceived']||this[_0x5896c6(0x27b)][_0x5896c6(0x170)][_0x5896c6(0x27c)])&&this['_socket']['end']());}),_0x23434d(this);}}[_0x26fbef(0x1ff)](){const _0x3552e4=_0x26fbef;this[_0x3552e4(0x17e)]===_0x24704a[_0x3552e4(0x18a)]||this['readyState']===_0x24704a[_0x3552e4(0x1c8)]||(this[_0x3552e4(0x21a)]=!0x0,this[_0x3552e4(0x27a)]['pause']());}[_0x26fbef(0x119)](_0x473c77,_0x36bee0,_0x4cb5a9){const _0x435c78=_0x26fbef;if(this['readyState']===_0x24704a['CONNECTING'])throw new Error(_0x435c78(0x202));if(typeof _0x473c77==_0x435c78(0x135)?(_0x4cb5a9=_0x473c77,_0x473c77=_0x36bee0=void 0x0):typeof _0x36bee0==_0x435c78(0x135)&&(_0x4cb5a9=_0x36bee0,_0x36bee0=void 0x0),typeof _0x473c77==_0x435c78(0x11c)&&(_0x473c77=_0x473c77[_0x435c78(0x261)]()),this[_0x435c78(0x17e)]!==_0x24704a[_0x435c78(0xff)]){_0x9c5c11(this,_0x473c77,_0x4cb5a9);return;}_0x36bee0===void 0x0&&(_0x36bee0=!this[_0x435c78(0x2b6)]),this[_0x435c78(0x2a8)][_0x435c78(0x119)](_0x473c77||_0x3a139b,_0x36bee0,_0x4cb5a9);}[_0x26fbef(0x1cd)](_0x10836f,_0x4b74d3,_0x298834){const _0x45a44b=_0x26fbef;if(this['readyState']===_0x24704a[_0x45a44b(0x18a)])throw new Error(_0x45a44b(0x202));if(typeof _0x10836f==_0x45a44b(0x135)?(_0x298834=_0x10836f,_0x10836f=_0x4b74d3=void 0x0):typeof _0x4b74d3==_0x45a44b(0x135)&&(_0x298834=_0x4b74d3,_0x4b74d3=void 0x0),typeof _0x10836f==_0x45a44b(0x11c)&&(_0x10836f=_0x10836f[_0x45a44b(0x261)]()),this[_0x45a44b(0x17e)]!==_0x24704a['OPEN']){_0x9c5c11(this,_0x10836f,_0x298834);return;}_0x4b74d3===void 0x0&&(_0x4b74d3=!this[_0x45a44b(0x2b6)]),this[_0x45a44b(0x2a8)][_0x45a44b(0x1cd)](_0x10836f||_0x3a139b,_0x4b74d3,_0x298834);}[_0x26fbef(0x180)](){const _0x160327=_0x26fbef;this['readyState']===_0x24704a[_0x160327(0x18a)]||this[_0x160327(0x17e)]===_0x24704a[_0x160327(0x1c8)]||(this[_0x160327(0x21a)]=!0x1,this[_0x160327(0x27b)][_0x160327(0x170)][_0x160327(0x201)]||this['_socket'][_0x160327(0x180)]());}[_0x26fbef(0x100)](_0x2d66f2,_0x468915,_0x1740a5){const _0x50c88d=_0x26fbef;if(this[_0x50c88d(0x17e)]===_0x24704a[_0x50c88d(0x18a)])throw new Error(_0x50c88d(0x202));if(typeof _0x468915==_0x50c88d(0x135)&&(_0x1740a5=_0x468915,_0x468915={}),typeof _0x2d66f2==_0x50c88d(0x11c)&&(_0x2d66f2=_0x2d66f2[_0x50c88d(0x261)]()),this[_0x50c88d(0x17e)]!==_0x24704a[_0x50c88d(0xff)]){_0x9c5c11(this,_0x2d66f2,_0x1740a5);return;}const _0x2ab40e={'binary':typeof _0x2d66f2!=_0x50c88d(0x219),'mask':!this[_0x50c88d(0x2b6)],'compress':!0x0,'fin':!0x0,..._0x468915};this['_extensions'][_0xebc4e2[_0x50c88d(0x175)]]||(_0x2ab40e[_0x50c88d(0x13d)]=!0x1),this[_0x50c88d(0x2a8)][_0x50c88d(0x100)](_0x2d66f2||_0x3a139b,_0x2ab40e,_0x1740a5);}[_0x26fbef(0x118)](){const _0x328df2=_0x26fbef;if(this[_0x328df2(0x17e)]!==_0x24704a['CLOSED']){if(this[_0x328df2(0x17e)]===_0x24704a[_0x328df2(0x18a)]){_0x4ff1e8(this,this['_req'],_0x328df2(0x1ec));return;}this[_0x328df2(0x27a)]&&(this[_0x328df2(0x128)]=_0x24704a[_0x328df2(0x275)],this['_socket'][_0x328df2(0x15b)]());}}}Object[_0x26fbef(0xfd)](_0x24704a,_0x26fbef(0x18a),{'enumerable':!0x0,'value':_0x4535e6[_0x26fbef(0x267)](_0x26fbef(0x18a))}),Object[_0x26fbef(0xfd)](_0x24704a[_0x26fbef(0x110)],_0x26fbef(0x18a),{'enumerable':!0x0,'value':_0x4535e6[_0x26fbef(0x267)](_0x26fbef(0x18a))}),Object[_0x26fbef(0xfd)](_0x24704a,'OPEN',{'enumerable':!0x0,'value':_0x4535e6['indexOf'](_0x26fbef(0xff))}),Object[_0x26fbef(0xfd)](_0x24704a[_0x26fbef(0x110)],_0x26fbef(0xff),{'enumerable':!0x0,'value':_0x4535e6[_0x26fbef(0x267)](_0x26fbef(0xff))}),Object[_0x26fbef(0xfd)](_0x24704a,_0x26fbef(0x275),{'enumerable':!0x0,'value':_0x4535e6[_0x26fbef(0x267)](_0x26fbef(0x275))}),Object[_0x26fbef(0xfd)](_0x24704a[_0x26fbef(0x110)],'CLOSING',{'enumerable':!0x0,'value':_0x4535e6[_0x26fbef(0x267)](_0x26fbef(0x275))}),Object[_0x26fbef(0xfd)](_0x24704a,_0x26fbef(0x1c8),{'enumerable':!0x0,'value':_0x4535e6[_0x26fbef(0x267)](_0x26fbef(0x1c8))}),Object[_0x26fbef(0xfd)](_0x24704a[_0x26fbef(0x110)],_0x26fbef(0x1c8),{'enumerable':!0x0,'value':_0x4535e6['indexOf'](_0x26fbef(0x1c8))}),[_0x26fbef(0x130),'bufferedAmount',_0x26fbef(0x19c),'isPaused',_0x26fbef(0xf9),_0x26fbef(0x17e),_0x26fbef(0x1ad)]['forEach'](_0x688f92=>{const _0x36319b=_0x26fbef;Object[_0x36319b(0xfd)](_0x24704a[_0x36319b(0x110)],_0x688f92,{'enumerable':!0x0});}),[_0x26fbef(0x278),_0x26fbef(0x137),_0x26fbef(0x162),_0x26fbef(0x18c)]['forEach'](_0x51e995=>{const _0x28766d=_0x26fbef;Object['defineProperty'](_0x24704a[_0x28766d(0x110)],'on'+_0x51e995,{'enumerable':!0x0,'get'(){for(const _0x4de172 of this['listeners'](_0x51e995))if(_0x4de172[_0x5db5d4])return _0x4de172[_0x1ba1c0];return null;},'set'(_0x29b513){const _0x5cb304=_0x28766d;for(const _0x32c007 of this[_0x5cb304(0x1bc)](_0x51e995))if(_0x32c007[_0x5db5d4]){this[_0x5cb304(0x285)](_0x51e995,_0x32c007);break;}typeof _0x29b513=='function'&&this[_0x5cb304(0x188)](_0x51e995,_0x29b513,{[_0x5db5d4]:!0x0});}});}),_0x24704a[_0x26fbef(0x110)]['addEventListener']=_0x3607ef,_0x24704a[_0x26fbef(0x110)][_0x26fbef(0x1a7)]=_0x4944e8,we=_0x24704a;function _0x3a2bcc(_0x497d7b,_0x396c0b,_0x189e56,_0x5d50ec){const _0x70b9be=_0x26fbef,_0x14ea06={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x55fd98[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x5d50ec,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x70b9be(0x192),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x497d7b['_autoPong']=_0x14ea06['autoPong'],!_0x55fd98[_0x70b9be(0x243)](_0x14ea06[_0x70b9be(0x1d2)]))throw new RangeError(_0x70b9be(0x24a)+_0x14ea06[_0x70b9be(0x1d2)]+_0x70b9be(0x15d)+_0x55fd98[_0x70b9be(0x125)](',\x20')+')');let _0x55fbfc;if(_0x396c0b instanceof _0x1766f8)_0x55fbfc=_0x396c0b;else try{_0x55fbfc=new _0x1766f8(_0x396c0b);}catch{throw new SyntaxError(_0x70b9be(0x272)+_0x396c0b);}_0x55fbfc[_0x70b9be(0xf9)]==='http:'?_0x55fbfc[_0x70b9be(0xf9)]=_0x70b9be(0x28e):_0x55fbfc['protocol']===_0x70b9be(0x225)&&(_0x55fbfc[_0x70b9be(0xf9)]='wss:'),_0x497d7b[_0x70b9be(0x281)]=_0x55fbfc['href'];const _0x41b971=_0x55fbfc[_0x70b9be(0xf9)]===_0x70b9be(0x28f),_0x37abc5=_0x55fbfc[_0x70b9be(0xf9)]===_0x70b9be(0x19f);let _0x50d309;if(_0x55fbfc[_0x70b9be(0xf9)]!==_0x70b9be(0x28e)&&!_0x41b971&&!_0x37abc5?_0x50d309=_0x70b9be(0x196):_0x37abc5&&!_0x55fbfc[_0x70b9be(0x21b)]?_0x50d309=_0x70b9be(0x252):_0x55fbfc[_0x70b9be(0xfb)]&&(_0x50d309=_0x70b9be(0x117)),_0x50d309){const _0x1f00e3=new SyntaxError(_0x50d309);if(_0x497d7b[_0x70b9be(0x10e)]===0x0)throw _0x1f00e3;_0x3ecb68(_0x497d7b,_0x1f00e3);return;}const _0x5d8951=_0x41b971?0x1bb:0x50,_0x593345=_0x1bd8a4(0x10)[_0x70b9be(0x261)](_0x70b9be(0x12f)),_0x20cb31=_0x41b971?_0x565ba8[_0x70b9be(0x12c)]:_0x5dbbe6[_0x70b9be(0x12c)],_0x35ab8e=new Set();let _0x292ef8;if(_0x14ea06['createConnection']=_0x14ea06[_0x70b9be(0x127)]||(_0x41b971?_0x120c5b:_0x1fc98b),_0x14ea06[_0x70b9be(0x191)]=_0x14ea06[_0x70b9be(0x191)]||_0x5d8951,_0x14ea06['port']=_0x55fbfc[_0x70b9be(0x178)]||_0x5d8951,_0x14ea06[_0x70b9be(0x1ee)]=_0x55fbfc[_0x70b9be(0x1bb)][_0x70b9be(0x2ab)]('[')?_0x55fbfc[_0x70b9be(0x1bb)][_0x70b9be(0x1fc)](0x1,-0x1):_0x55fbfc[_0x70b9be(0x1bb)],_0x14ea06['headers']={..._0x14ea06['headers'],'Sec-WebSocket-Version':_0x14ea06['protocolVersion'],'Sec-WebSocket-Key':_0x593345,'Connection':_0x70b9be(0x237),'Upgrade':_0x70b9be(0x229)},_0x14ea06['path']=_0x55fbfc[_0x70b9be(0x21b)]+_0x55fbfc['search'],_0x14ea06[_0x70b9be(0x1a0)]=_0x14ea06['handshakeTimeout'],_0x14ea06[_0x70b9be(0x172)]&&(_0x292ef8=new _0xebc4e2(_0x14ea06[_0x70b9be(0x172)]!==!0x0?_0x14ea06[_0x70b9be(0x172)]:{},!0x1,_0x14ea06[_0x70b9be(0x1d5)]),_0x14ea06['headers'][_0x70b9be(0x171)]=_0x11c010({[_0xebc4e2[_0x70b9be(0x175)]]:_0x292ef8[_0x70b9be(0x11e)]()})),_0x189e56[_0x70b9be(0x103)]){for(const _0x4aec02 of _0x189e56){if(typeof _0x4aec02!=_0x70b9be(0x219)||!_0x2d4f2b[_0x70b9be(0x10b)](_0x4aec02)||_0x35ab8e[_0x70b9be(0x22a)](_0x4aec02))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x35ab8e[_0x70b9be(0x1ba)](_0x4aec02);}_0x14ea06[_0x70b9be(0x185)][_0x70b9be(0x1c7)]=_0x189e56[_0x70b9be(0x125)](',');}if(_0x14ea06['origin']&&(_0x14ea06['protocolVersion']<0xd?_0x14ea06[_0x70b9be(0x185)][_0x70b9be(0x28b)]=_0x14ea06[_0x70b9be(0x1f9)]:_0x14ea06['headers'][_0x70b9be(0x1c2)]=_0x14ea06[_0x70b9be(0x1f9)]),(_0x55fbfc[_0x70b9be(0x255)]||_0x55fbfc[_0x70b9be(0x141)])&&(_0x14ea06[_0x70b9be(0x1d0)]=_0x55fbfc[_0x70b9be(0x255)]+':'+_0x55fbfc[_0x70b9be(0x141)]),_0x37abc5){const _0x2b502b=_0x14ea06['path'][_0x70b9be(0x1d1)](':');_0x14ea06['socketPath']=_0x2b502b[0x0],_0x14ea06[_0x70b9be(0x129)]=_0x2b502b[0x1];}let _0x3c4ec0;if(_0x14ea06[_0x70b9be(0x29a)]){if(_0x497d7b[_0x70b9be(0x10e)]===0x0){_0x497d7b[_0x70b9be(0x11f)]=_0x37abc5,_0x497d7b['_originalSecure']=_0x41b971,_0x497d7b[_0x70b9be(0x227)]=_0x37abc5?_0x14ea06[_0x70b9be(0x15f)]:_0x55fbfc[_0x70b9be(0x1ee)];const _0x567c9d=_0x5d50ec&&_0x5d50ec[_0x70b9be(0x185)];if(_0x5d50ec={..._0x5d50ec,'headers':{}},_0x567c9d){for(const [_0x13cf69,_0x51698a]of Object['entries'](_0x567c9d))_0x5d50ec['headers'][_0x13cf69[_0x70b9be(0x263)]()]=_0x51698a;}}else{if(_0x497d7b[_0x70b9be(0x112)](_0x70b9be(0x1d7))===0x0){const _0x3c4915=_0x37abc5?_0x497d7b[_0x70b9be(0x11f)]?_0x14ea06[_0x70b9be(0x15f)]===_0x497d7b[_0x70b9be(0x227)]:!0x1:_0x497d7b[_0x70b9be(0x11f)]?!0x1:_0x55fbfc[_0x70b9be(0x1ee)]===_0x497d7b[_0x70b9be(0x227)];(!_0x3c4915||_0x497d7b['_originalSecure']&&!_0x41b971)&&(delete _0x14ea06[_0x70b9be(0x185)][_0x70b9be(0x166)],delete _0x14ea06[_0x70b9be(0x185)][_0x70b9be(0x27f)],_0x3c4915||delete _0x14ea06[_0x70b9be(0x185)]['host'],_0x14ea06['auth']=void 0x0);}}_0x14ea06[_0x70b9be(0x1d0)]&&!_0x5d50ec[_0x70b9be(0x185)][_0x70b9be(0x166)]&&(_0x5d50ec['headers'][_0x70b9be(0x166)]=_0x70b9be(0x186)+Buffer[_0x70b9be(0x193)](_0x14ea06[_0x70b9be(0x1d0)])[_0x70b9be(0x261)](_0x70b9be(0x12f))),_0x3c4ec0=_0x497d7b[_0x70b9be(0x1b9)]=_0x20cb31(_0x14ea06),_0x497d7b[_0x70b9be(0x10e)]&&_0x497d7b[_0x70b9be(0x17b)]('redirect',_0x497d7b['url'],_0x3c4ec0);}else _0x3c4ec0=_0x497d7b[_0x70b9be(0x1b9)]=_0x20cb31(_0x14ea06);_0x14ea06[_0x70b9be(0x1a0)]&&_0x3c4ec0['on'](_0x70b9be(0x1a0),()=>{const _0x64f08f=_0x70b9be;_0x4ff1e8(_0x497d7b,_0x3c4ec0,_0x64f08f(0x1c5));}),_0x3c4ec0['on'](_0x70b9be(0x137),_0x50ca14=>{const _0x28136a=_0x70b9be;_0x3c4ec0===null||_0x3c4ec0[_0x2888ff]||(_0x3c4ec0=_0x497d7b[_0x28136a(0x1b9)]=null,_0x3ecb68(_0x497d7b,_0x50ca14));}),_0x3c4ec0['on']('response',_0x3c3354=>{const _0x5eebea=_0x70b9be,_0x290ff9=_0x3c3354[_0x5eebea(0x185)][_0x5eebea(0x2a5)],_0x58c161=_0x3c3354[_0x5eebea(0x136)];if(_0x290ff9&&_0x14ea06['followRedirects']&&_0x58c161>=0x12c&&_0x58c161<0x190){if(++_0x497d7b['_redirects']>_0x14ea06[_0x5eebea(0x138)]){_0x4ff1e8(_0x497d7b,_0x3c4ec0,_0x5eebea(0x221));return;}_0x3c4ec0[_0x5eebea(0x282)]();let _0x1c05f9;try{_0x1c05f9=new _0x1766f8(_0x290ff9,_0x396c0b);}catch{const _0x419a9c=new SyntaxError('Invalid\x20URL:\x20'+_0x290ff9);_0x3ecb68(_0x497d7b,_0x419a9c);return;}_0x3a2bcc(_0x497d7b,_0x1c05f9,_0x189e56,_0x5d50ec);}else _0x497d7b['emit'](_0x5eebea(0x1ab),_0x3c4ec0,_0x3c3354)||_0x4ff1e8(_0x497d7b,_0x3c4ec0,'Unexpected\x20server\x20response:\x20'+_0x3c3354[_0x5eebea(0x136)]);}),_0x3c4ec0['on'](_0x70b9be(0x1e6),(_0x5366e6,_0x321c20,_0x497aba)=>{const _0x2936e7=_0x70b9be;if(_0x497d7b[_0x2936e7(0x17b)](_0x2936e7(0x1e6),_0x5366e6),_0x497d7b[_0x2936e7(0x17e)]!==_0x24704a[_0x2936e7(0x18a)])return;_0x3c4ec0=_0x497d7b['_req']=null;const _0x3b43a9=_0x5366e6[_0x2936e7(0x185)][_0x2936e7(0x1e6)];if(_0x3b43a9===void 0x0||_0x3b43a9['toLowerCase']()!=='websocket'){_0x4ff1e8(_0x497d7b,_0x321c20,'Invalid\x20Upgrade\x20header');return;}const _0x619be2=_0x3e4037('sha1')[_0x2936e7(0x2b4)](_0x593345+_0x259c10)[_0x2936e7(0x1e3)](_0x2936e7(0x12f));if(_0x5366e6[_0x2936e7(0x185)][_0x2936e7(0x1b8)]!==_0x619be2){_0x4ff1e8(_0x497d7b,_0x321c20,_0x2936e7(0x1f3));return;}const _0x2c144f=_0x5366e6[_0x2936e7(0x185)][_0x2936e7(0x23d)];let _0xd25c2e;if(_0x2c144f!==void 0x0?_0x35ab8e[_0x2936e7(0x187)]?_0x35ab8e[_0x2936e7(0x22a)](_0x2c144f)||(_0xd25c2e=_0x2936e7(0x1cf)):_0xd25c2e=_0x2936e7(0x25d):_0x35ab8e['size']&&(_0xd25c2e=_0x2936e7(0x2a1)),_0xd25c2e){_0x4ff1e8(_0x497d7b,_0x321c20,_0xd25c2e);return;}_0x2c144f&&(_0x497d7b[_0x2936e7(0x2b0)]=_0x2c144f);const _0x3ed629=_0x5366e6[_0x2936e7(0x185)][_0x2936e7(0x299)];if(_0x3ed629!==void 0x0){if(!_0x292ef8){_0x4ff1e8(_0x497d7b,_0x321c20,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x1b6da6;try{_0x1b6da6=_0xa2be0f(_0x3ed629);}catch{_0x4ff1e8(_0x497d7b,_0x321c20,_0x2936e7(0x1ef));return;}const _0xa258d5=Object['keys'](_0x1b6da6);if(_0xa258d5['length']!==0x1||_0xa258d5[0x0]!==_0xebc4e2[_0x2936e7(0x175)]){_0x4ff1e8(_0x497d7b,_0x321c20,_0x2936e7(0x210));return;}try{_0x292ef8['accept'](_0x1b6da6[_0xebc4e2[_0x2936e7(0x175)]]);}catch{_0x4ff1e8(_0x497d7b,_0x321c20,_0x2936e7(0x1ef));return;}_0x497d7b[_0x2936e7(0x1a1)][_0xebc4e2['extensionName']]=_0x292ef8;}_0x497d7b[_0x2936e7(0x16b)](_0x321c20,_0x497aba,{'allowSynchronousEvents':_0x14ea06[_0x2936e7(0x26b)],'generateMask':_0x14ea06[_0x2936e7(0x235)],'maxPayload':_0x14ea06[_0x2936e7(0x1d5)],'skipUTF8Validation':_0x14ea06[_0x2936e7(0x183)]});}),_0x14ea06[_0x70b9be(0x16e)]?_0x14ea06['finishRequest'](_0x3c4ec0,_0x497d7b):_0x3c4ec0[_0x70b9be(0x1a5)]();}function _0x3ecb68(_0x21ff8f,_0x1a6f10){const _0x3858e5=_0x26fbef;_0x21ff8f[_0x3858e5(0x128)]=_0x24704a[_0x3858e5(0x275)],_0x21ff8f['_errorEmitted']=!0x0,_0x21ff8f['emit'](_0x3858e5(0x137),_0x1a6f10),_0x21ff8f[_0x3858e5(0x14e)]();}function _0x1fc98b(_0x260040){const _0x65698f=_0x26fbef;return _0x260040[_0x65698f(0x129)]=_0x260040[_0x65698f(0x15f)],_0x35d6a9[_0x65698f(0x1b3)](_0x260040);}function _0x120c5b(_0x5da569){const _0x34c477=_0x26fbef;return _0x5da569[_0x34c477(0x129)]=void 0x0,!_0x5da569['servername']&&_0x5da569[_0x34c477(0x106)]!==''&&(_0x5da569[_0x34c477(0x106)]=_0x35d6a9[_0x34c477(0x147)](_0x5da569[_0x34c477(0x1ee)])?'':_0x5da569[_0x34c477(0x1ee)]),_0x5e09c7['connect'](_0x5da569);}function _0x4ff1e8(_0x2cb39c,_0x395ec,_0x8f06dc){const _0x330c92=_0x26fbef;_0x2cb39c[_0x330c92(0x128)]=_0x24704a['CLOSING'];const _0x51bd7c=new Error(_0x8f06dc);Error[_0x330c92(0x120)](_0x51bd7c,_0x4ff1e8),_0x395ec['setHeader']?(_0x395ec[_0x2888ff]=!0x0,_0x395ec[_0x330c92(0x282)](),_0x395ec[_0x330c92(0x1e9)]&&!_0x395ec[_0x330c92(0x1e9)][_0x330c92(0x150)]&&_0x395ec['socket'][_0x330c92(0x15b)](),process[_0x330c92(0x12a)](_0x3ecb68,_0x2cb39c,_0x51bd7c)):(_0x395ec[_0x330c92(0x15b)](_0x51bd7c),_0x395ec[_0x330c92(0x265)]('error',_0x2cb39c[_0x330c92(0x17b)][_0x330c92(0x29d)](_0x2cb39c,_0x330c92(0x137))),_0x395ec['once'](_0x330c92(0x162),_0x2cb39c[_0x330c92(0x14e)][_0x330c92(0x29d)](_0x2cb39c)));}function _0x9c5c11(_0x5e190a,_0x5b10cc,_0x75fbc0){const _0x28c4e3=_0x26fbef;if(_0x5b10cc){const _0x4203c0=_0x44c65c(_0x5b10cc)?_0x5b10cc['size']:_0x1290e5(_0x5b10cc)[_0x28c4e3(0x103)];_0x5e190a['_socket']?_0x5e190a['_sender'][_0x28c4e3(0x204)]+=_0x4203c0:_0x5e190a[_0x28c4e3(0x25f)]+=_0x4203c0;}if(_0x75fbc0){const _0x3bc674=new Error(_0x28c4e3(0x107)+_0x5e190a['readyState']+'\x20('+_0x4535e6[_0x5e190a['readyState']]+')');process[_0x28c4e3(0x12a)](_0x75fbc0,_0x3bc674);}}function _0x199f15(_0x5a1ecd,_0x4d0f58){const _0x960d34=_0x26fbef,_0x47bc4f=this[_0x60a0b6];_0x47bc4f['_closeFrameReceived']=!0x0,_0x47bc4f['_closeMessage']=_0x4d0f58,_0x47bc4f[_0x960d34(0x28c)]=_0x5a1ecd,_0x47bc4f[_0x960d34(0x27a)][_0x60a0b6]!==void 0x0&&(_0x47bc4f['_socket']['removeListener']('data',_0xfb33d9),process[_0x960d34(0x12a)](_0x477eff,_0x47bc4f['_socket']),_0x5a1ecd===0x3ed?_0x47bc4f[_0x960d34(0x162)]():_0x47bc4f[_0x960d34(0x162)](_0x5a1ecd,_0x4d0f58));}function _0x562f02(){const _0xbcbe9c=_0x26fbef,_0x9f0237=this[_0x60a0b6];_0x9f0237['isPaused']||_0x9f0237[_0xbcbe9c(0x27a)]['resume']();}function _0x373e7f(_0x1dd29b){const _0x4e25a0=_0x26fbef,_0x405778=this[_0x60a0b6];_0x405778[_0x4e25a0(0x27a)][_0x60a0b6]!==void 0x0&&(_0x405778['_socket']['removeListener']('data',_0xfb33d9),process[_0x4e25a0(0x12a)](_0x477eff,_0x405778['_socket']),_0x405778['close'](_0x1dd29b[_0x2fabd5])),_0x405778['_errorEmitted']||(_0x405778[_0x4e25a0(0x2a9)]=!0x0,_0x405778[_0x4e25a0(0x17b)](_0x4e25a0(0x137),_0x1dd29b));}function _0x1f5942(){const _0x47f3cf=_0x26fbef;this[_0x60a0b6][_0x47f3cf(0x14e)]();}function _0x5b8e87(_0x39c055,_0x34a8f4){const _0xce324b=_0x26fbef;this[_0x60a0b6]['emit'](_0xce324b(0x18c),_0x39c055,_0x34a8f4);}function _0x216e74(_0x511075){const _0x50dfca=_0x26fbef,_0x36910a=this[_0x60a0b6];_0x36910a[_0x50dfca(0x123)]&&_0x36910a[_0x50dfca(0x1cd)](_0x511075,!this['_isServer'],_0x404c90),_0x36910a[_0x50dfca(0x17b)](_0x50dfca(0x119),_0x511075);}function _0x40531e(_0x2e545e){const _0x59df2e=_0x26fbef;this[_0x60a0b6][_0x59df2e(0x17b)](_0x59df2e(0x1cd),_0x2e545e);}function _0x477eff(_0xe8d6c3){const _0x417fa7=_0x26fbef;_0xe8d6c3[_0x417fa7(0x180)]();}function _0x3c109b(_0x5a0062){const _0x30dc0b=_0x26fbef,_0x48d193=this[_0x60a0b6];_0x48d193[_0x30dc0b(0x17e)]!==_0x24704a[_0x30dc0b(0x1c8)]&&(_0x48d193[_0x30dc0b(0x17e)]===_0x24704a[_0x30dc0b(0xff)]&&(_0x48d193[_0x30dc0b(0x128)]=_0x24704a[_0x30dc0b(0x275)],_0x23434d(_0x48d193)),this[_0x30dc0b(0x27a)][_0x30dc0b(0x1a5)](),_0x48d193[_0x30dc0b(0x2a9)]||(_0x48d193[_0x30dc0b(0x2a9)]=!0x0,_0x48d193['emit'](_0x30dc0b(0x137),_0x5a0062)));}function _0x23434d(_0x45de9f){const _0x2aff41=_0x26fbef;_0x45de9f[_0x2aff41(0x124)]=setTimeout(_0x45de9f[_0x2aff41(0x27a)]['destroy']['bind'](_0x45de9f['_socket']),_0x59e4bc);}function _0x2a3084(){const _0x12943e=_0x26fbef,_0xae182e=this[_0x60a0b6];this['removeListener'](_0x12943e(0x162),_0x2a3084),this[_0x12943e(0x285)](_0x12943e(0x17f),_0xfb33d9),this[_0x12943e(0x285)](_0x12943e(0x1a5),_0x156bde),_0xae182e[_0x12943e(0x128)]=_0x24704a[_0x12943e(0x275)];let _0x1c9328;!this[_0x12943e(0x140)]['endEmitted']&&!_0xae182e[_0x12943e(0x1be)]&&!_0xae182e[_0x12943e(0x27b)][_0x12943e(0x170)][_0x12943e(0x27c)]&&(_0x1c9328=_0xae182e[_0x12943e(0x27a)][_0x12943e(0x217)]())!==null&&_0xae182e['_receiver'][_0x12943e(0x218)](_0x1c9328),_0xae182e[_0x12943e(0x27b)][_0x12943e(0x1a5)](),this[_0x60a0b6]=void 0x0,clearTimeout(_0xae182e[_0x12943e(0x124)]),_0xae182e[_0x12943e(0x27b)][_0x12943e(0x170)][_0x12943e(0x17c)]||_0xae182e['_receiver']['_writableState'][_0x12943e(0x27c)]?_0xae182e['emitClose']():(_0xae182e[_0x12943e(0x27b)]['on'](_0x12943e(0x137),_0x1f5942),_0xae182e['_receiver']['on']('finish',_0x1f5942));}function _0xfb33d9(_0xb3b5b4){const _0x3707bb=_0x26fbef;this[_0x60a0b6][_0x3707bb(0x27b)]['write'](_0xb3b5b4)||this[_0x3707bb(0x1ff)]();}function _0x156bde(){const _0x42f97c=_0x26fbef,_0x2693f9=this[_0x60a0b6];_0x2693f9[_0x42f97c(0x128)]=_0x24704a[_0x42f97c(0x275)],_0x2693f9[_0x42f97c(0x27b)][_0x42f97c(0x1a5)](),this['end']();}function _0x4515af(){const _0x597823=_0x26fbef,_0x421fbb=this[_0x60a0b6];this[_0x597823(0x285)](_0x597823(0x137),_0x4515af),this['on'](_0x597823(0x137),_0x404c90),_0x421fbb&&(_0x421fbb[_0x597823(0x128)]=_0x24704a[_0x597823(0x275)],this[_0x597823(0x15b)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x52d1a7}=oe;function _0x3b6dc6(_0x1f3ce8){const _0x562a8d=_0x51b2;_0x1f3ce8[_0x562a8d(0x17b)](_0x562a8d(0x162));}function _0x71cd91(){const _0x19fa57=_0x51b2;!this[_0x19fa57(0x150)]&&this['_writableState']['finished']&&this['destroy']();}function _0x18fba7(_0x24a8bb){const _0x2e42e3=_0x51b2;this['removeListener'](_0x2e42e3(0x137),_0x18fba7),this[_0x2e42e3(0x15b)](),this[_0x2e42e3(0x112)](_0x2e42e3(0x137))===0x0&&this['emit'](_0x2e42e3(0x137),_0x24a8bb);}function _0x2311a1(_0x4b3eb4,_0x1b656a){const _0x31d005=_0x51b2;let _0x2555fa=!0x0;const _0x3436f1=new _0x52d1a7({..._0x1b656a,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x4b3eb4['on'](_0x31d005(0x18c),function(_0x430a5e,_0x594207){const _0x4536e9=_0x31d005,_0x4ca461=!_0x594207&&_0x3436f1[_0x4536e9(0x140)][_0x4536e9(0x24e)]?_0x430a5e['toString']():_0x430a5e;_0x3436f1['push'](_0x4ca461)||_0x4b3eb4[_0x4536e9(0x1ff)]();}),_0x4b3eb4[_0x31d005(0x265)](_0x31d005(0x137),function(_0x245494){const _0x49cdbc=_0x31d005;_0x3436f1[_0x49cdbc(0x150)]||(_0x2555fa=!0x1,_0x3436f1['destroy'](_0x245494));}),_0x4b3eb4[_0x31d005(0x265)]('close',function(){const _0x5bff46=_0x31d005;_0x3436f1['destroyed']||_0x3436f1[_0x5bff46(0x22e)](null);}),_0x3436f1[_0x31d005(0x2b1)]=function(_0x1940f2,_0x4c741a){const _0x4435e3=_0x31d005;if(_0x4b3eb4['readyState']===_0x4b3eb4[_0x4435e3(0x1c8)]){_0x4c741a(_0x1940f2),process[_0x4435e3(0x12a)](_0x3b6dc6,_0x3436f1);return;}let _0x409f14=!0x1;_0x4b3eb4[_0x4435e3(0x265)](_0x4435e3(0x137),function(_0x2cd1a0){_0x409f14=!0x0,_0x4c741a(_0x2cd1a0);}),_0x4b3eb4[_0x4435e3(0x265)](_0x4435e3(0x162),function(){const _0x20adf6=_0x4435e3;_0x409f14||_0x4c741a(_0x1940f2),process[_0x20adf6(0x12a)](_0x3b6dc6,_0x3436f1);}),_0x2555fa&&_0x4b3eb4['terminate']();},_0x3436f1['_final']=function(_0x6e14e3){const _0x586183=_0x31d005;if(_0x4b3eb4[_0x586183(0x17e)]===_0x4b3eb4[_0x586183(0x18a)]){_0x4b3eb4[_0x586183(0x265)]('open',function(){const _0x38b05b=_0x586183;_0x3436f1[_0x38b05b(0x1b7)](_0x6e14e3);});return;}_0x4b3eb4['_socket']!==null&&(_0x4b3eb4[_0x586183(0x27a)]['_writableState'][_0x586183(0x17c)]?(_0x6e14e3(),_0x3436f1[_0x586183(0x140)][_0x586183(0x1dd)]&&_0x3436f1[_0x586183(0x15b)]()):(_0x4b3eb4[_0x586183(0x27a)][_0x586183(0x265)](_0x586183(0x154),function(){_0x6e14e3();}),_0x4b3eb4['close']()));},_0x3436f1[_0x31d005(0x21c)]=function(){const _0x134899=_0x31d005;_0x4b3eb4['isPaused']&&_0x4b3eb4[_0x134899(0x180)]();},_0x3436f1[_0x31d005(0x159)]=function(_0x5dda0c,_0x388656,_0x55f23c){const _0x4343a6=_0x31d005;if(_0x4b3eb4[_0x4343a6(0x17e)]===_0x4b3eb4['CONNECTING']){_0x4b3eb4[_0x4343a6(0x265)](_0x4343a6(0x278),function(){const _0x572026=_0x4343a6;_0x3436f1[_0x572026(0x159)](_0x5dda0c,_0x388656,_0x55f23c);});return;}_0x4b3eb4['send'](_0x5dda0c,_0x55f23c);},_0x3436f1['on'](_0x31d005(0x1a5),_0x71cd91),_0x3436f1['on'](_0x31d005(0x137),_0x18fba7),_0x3436f1;}return Oe=_0x2311a1,Oe;}function _0xa7a8(){const _0xc90f1c=['values','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','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','\x22\x20subprotocol\x20is\x20duplicated','sendFrame','nodebuffer','flush','extensions','isView','completeUpgrade','ws+unix:','timeout','_extensions','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','client_max_window_bits','wasClean','end','createInflateRaw','removeEventListener','3084168kYcouZ','_threshold','haveLength','unexpected-response','concurrency','url','_deflate','species','server','\x0d\x0a\x0d\x0a','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','connect','invalid\x20UTF-8\x20sequence','buffer','alloc','_final','sec-websocket-accept','_req','add','hostname','listeners','opcode','_closeFrameReceived','_buffers','invalid\x20payload\x20length\x20','method','Origin','Unexpected\x20character\x20at\x20index\x20','fin','Opening\x20handshake\x20has\x20timed\x20out','create','Sec-WebSocket-Protocol','CLOSED','Z_DEFAULT_WINDOWBITS','forEach','972770iydvFP','_httpService','pong','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','Server\x20sent\x20an\x20invalid\x20subprotocol','auth','split','protocolVersion','getMask','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','maxPayload','12900VhGkft','redirect','listen','writeUInt16BE','reset','decompress','kIsForOnEventAttribute','endEmitted','76GMzFUc','code','Blob','zlibDeflateOptions','handleEvent','digest','shouldHandle','set','upgrade','parse','Plugin','socket','Invalid\x20Sec-WebSocket-Protocol\x20header','normalizeParams','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','mask','host','Invalid\x20Sec-WebSocket-Extensions\x20header','createDeflateRaw','acceptAsClient','_binaryType','Invalid\x20Sec-WebSocket-Accept\x20header','params','_fragmented','client_no_context_takeover','_errored','Unknown\x20parameter\x20\x22','origin','1524453YnSsJq','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','slice','freeze','_queue','pause','isValidUTF8','needDrain','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','readOnly','_bufferedBytes','ISocketService','Max\x20payload\x20size\x20exceeded','share','Invalid\x20WebSocket\x20frame:\x20','consume','byteOffset','verifyClient','1758784QqhPoA','registerHTTPInterceptor','controlMessage','_loop','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','kReason','charCodeAt','The\x20\x22','threshold','noServer','address','read','write','string','_paused','pathname','_read','callback','stream','clients','then','Maximum\x20redirects\x20exceeded','get','Connection:\x20Upgrade','readable','https:','registerDependencies','_originalHostOrSocketPath','writeUIntBE','websocket','has','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','_skipUTF8Validation','invalid\x20status\x20code\x20','push','RSV1\x20must\x20be\x20clear','call','_maskBuffer','text/html','_injector','kCode','generateMask','HTTP/1.1\x20','Upgrade','kError','_generateMask','drain','_fragments','dispatch','sec-websocket-protocol','type','rsv1','UniverCollaborationClientPlugin','toStringTag','clientMaxWindowBits','includes','_server','_mask','default','Invalid\x20HTTP\x20method','kWasClean','_allowSynchronousEvents','Unsupported\x20protocol\x20version:\x20','listening','dequeue','construct','objectMode','kMessage','_removeListeners','kDone','The\x20URL\x27s\x20pathname\x20is\x20empty','_firstFragment','WS_ERR_UNEXPECTED_RSV_1','username','_inflate','_messageLength','shift','concat','_closeFrameSent','99qeoRbI','WS_NO_UTF_8_VALIDATE','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','createSocket','_bufferedAmount','File','toString','isArray','toLowerCase','setTimeout','once','CollaborationSocketService','indexOf','isPaused','readUInt32BE','customHeaders','allowSynchronousEvents','pending','jobs','pluginName','\x22:\x20','STATUS_CODES','createError','Invalid\x20URL:\x20','2950437XfifIr','uncork','CLOSING','250yDGeTM','getPayloadLength16','open','_configService','_socket','_receiver','errorEmitted','collaboration-client-node.config','format','cookie','getConfig','_url','abort','blob','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','removeListener','enqueue','WS_ERR_INVALID_OPCODE','backlog','apply','_options','Sec-WebSocket-Origin','_closeCode','handleProtocols','ws:','wss:','WS_ERR_INVALID_CLOSE_CODE','setNoDelay','serverMaxWindowBits','pipe','object','arrayBuffer','getBlobData','server_max_window_bits','_state','sec-websocket-extensions','followRedirects','_masked','kTarget','bind','kData','Injector','allocUnsafe','Server\x20sent\x20no\x20subprotocol','Inject','buffers','onopen','location','WS_ERR_INVALID_UTF8','sec-websocket-version','_sender','_errorEmitted','_payloadLength','startsWith','onerror','Z_SYNC_FLUSH','client','Module','_protocol','_destroy','accept','reason','update','WS_ERR_UNEXPECTED_MASK','_isServer','_max_window_bits','DisposableCollection','__esModule','protocol','getOwnPropertyDescriptor','hash','pow','defineProperty','next','OPEN','send','replace','sec-websocket-origin','length','IConfigService','13,\x208','servername','WebSocket\x20is\x20not\x20open:\x20readyState\x20','_compress','keys','options','test','catch','clientTracking','_redirects','permessage-deflate','prototype','Parameter\x20\x22','listenerCount','WS_NO_BUFFER_UTIL','MASK\x20must\x20be\x20clear','getData','DependentOn','The\x20URL\x20contains\x20a\x20fragment\x20identifier','terminate','ping','writable','_totalPayloadLength','number','_compressed','offer','_originalIpc','captureStackTrace','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','readUInt16BE','_autoPong','_closeTimer','join','Sec-WebSocket-Extensions:\x20','createConnection','_readyState','path','nextTick','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','request','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','sec-websocket-key','base64','binaryType','_registerDependencies','kAborted','kRun','status-code','function','statusCode','error','maxRedirects','writeHead','Observable','_no_context_takeover','exports','compress','UniverCollaborationClientNodePlugin','WS_ERR_UNEXPECTED_RSV_2_3','_readableState','password','dataMessage','WS_ERR_EXPECTED_FIN','invalid\x20opcode\x200','constructor','zlibInflateOptions','isIP','NodeCollaborationSocketService','server_no_context_takeover','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','getInfo','HTTP/1.1\x20101\x20Switching\x20Protocols','emitClose','HTTPService','destroyed','acceptAsServer','byteLength','authorized','finish','_decompress','conclude','map','_closeMessage','_write','concurrencyLimit','destroy','isServer','\x20(supported\x20versions:\x20','Sec-WebSocket-Accept:\x20','socketPath','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','3254ElvuLc','close','Cookie','cork','_maxPayload','authorization','connection','setConfig','startLoop','ILogService','setSocket','getPayloadLength64','_opcode','finishRequest','fragments','_writableState','Sec-WebSocket-Extensions','perMessageDeflate','Invalid\x20value\x20for\x20parameter\x20\x22','cleanup','extensionName','onStarting','WS_ERR_EXPECTED_MASK','port','Unexpected\x20end\x20of\x20input','hasOwnProperty','emit','finished','_shouldEmitClose','readyState','data','resume','frame','toDisposable','skipUTF8Validation','clientNoContextTakeover','headers','Basic\x20','size','addEventListener','serverNoContextTakeover','CONNECTING','target','message','_fin','isInteger','wsClientError','env','defaultPort','GET','from','dispose'];_0xa7a8=function(){return _0xc90f1c;};return _0xa7a8();}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x40b816}=ae();function _0x1d901a(_0x1d68bc){const _0x26ee6c=_0x51b2,_0x395667=new Set();let _0xd797fd=-0x1,_0x3bfd10=-0x1,_0x34f2ea=0x0;for(_0x34f2ea;_0x34f2ea<_0x1d68bc[_0x26ee6c(0x103)];_0x34f2ea++){const _0x1b8efc=_0x1d68bc[_0x26ee6c(0x212)](_0x34f2ea);if(_0x3bfd10===-0x1&&_0x40b816[_0x1b8efc]===0x1)_0xd797fd===-0x1&&(_0xd797fd=_0x34f2ea);else{if(_0x34f2ea!==0x0&&(_0x1b8efc===0x20||_0x1b8efc===0x9))_0x3bfd10===-0x1&&_0xd797fd!==-0x1&&(_0x3bfd10=_0x34f2ea);else{if(_0x1b8efc===0x2c){if(_0xd797fd===-0x1)throw new SyntaxError(_0x26ee6c(0x1c3)+_0x34f2ea);_0x3bfd10===-0x1&&(_0x3bfd10=_0x34f2ea);const _0x14ad4c=_0x1d68bc[_0x26ee6c(0x1fc)](_0xd797fd,_0x3bfd10);if(_0x395667[_0x26ee6c(0x22a)](_0x14ad4c))throw new SyntaxError(_0x26ee6c(0x213)+_0x14ad4c+_0x26ee6c(0x198));_0x395667[_0x26ee6c(0x1ba)](_0x14ad4c),_0xd797fd=_0x3bfd10=-0x1;}else throw new SyntaxError(_0x26ee6c(0x1c3)+_0x34f2ea);}}}if(_0xd797fd===-0x1||_0x3bfd10!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x68f695=_0x1d68bc[_0x26ee6c(0x1fc)](_0xd797fd,_0x34f2ea);if(_0x395667[_0x26ee6c(0x22a)](_0x68f695))throw new SyntaxError(_0x26ee6c(0x213)+_0x68f695+_0x26ee6c(0x198));return _0x395667[_0x26ee6c(0x1ba)](_0x68f695),_0x395667;}return Ce={'parse':_0x1d901a},Ce;}var Te,rt;function Ft(){const _0x4e968c=_0x14b355;if(rt)return Te;rt=0x1;const _0x96040f=nt,_0x20888d=ot,{Duplex:_0x4ce998}=oe,{createHash:_0x5ea9c7}=Le,_0x232102=ct(),_0x1669a5=he(),_0x5983aa=At(),_0x56b664=Pe(),{GUID:_0x34605c,kWebSocket:_0xea803b}=H(),_0x1a146c=/^[+/0-9A-Za-z]{22}==$/,_0xe644fd=0x0,_0x3e4445=0x1,_0x4181ce=0x2;class _0x24e3db extends _0x96040f{constructor(_0x518e6f,_0x55b858){const _0x221854=_0x51b2;if(super(),_0x518e6f={'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':_0x56b664,..._0x518e6f},_0x518e6f[_0x221854(0x178)]==null&&!_0x518e6f[_0x221854(0x1b0)]&&!_0x518e6f['noServer']||_0x518e6f['port']!=null&&(_0x518e6f['server']||_0x518e6f[_0x221854(0x215)])||_0x518e6f['server']&&_0x518e6f[_0x221854(0x215)])throw new TypeError(_0x221854(0x1d4));if(_0x518e6f['port']!=null?(this[_0x221854(0x244)]=_0x20888d['createServer']((_0x5991b3,_0x2cf54c)=>{const _0x4e4c9e=_0x221854,_0x42c837=_0x20888d[_0x4e4c9e(0x270)][0x1aa];_0x2cf54c[_0x4e4c9e(0x139)](0x1aa,{'Content-Length':_0x42c837[_0x4e4c9e(0x103)],'Content-Type':'text/plain'}),_0x2cf54c['end'](_0x42c837);}),this['_server'][_0x221854(0x1d8)](_0x518e6f[_0x221854(0x178)],_0x518e6f[_0x221854(0x1ee)],_0x518e6f[_0x221854(0x288)],_0x55b858)):_0x518e6f[_0x221854(0x1b0)]&&(this[_0x221854(0x244)]=_0x518e6f[_0x221854(0x1b0)]),this[_0x221854(0x244)]){const _0x805af0=this[_0x221854(0x17b)]['bind'](this,_0x221854(0x167));this[_0x221854(0x250)]=_0x1f4654(this['_server'],{'listening':this['emit'][_0x221854(0x29d)](this,_0x221854(0x24b)),'error':this[_0x221854(0x17b)][_0x221854(0x29d)](this,_0x221854(0x137)),'upgrade':(_0x285a3d,_0x55733b,_0x4f1b4a)=>{this['handleUpgrade'](_0x285a3d,_0x55733b,_0x4f1b4a,_0x805af0);}});}_0x518e6f['perMessageDeflate']===!0x0&&(_0x518e6f[_0x221854(0x172)]={}),_0x518e6f[_0x221854(0x10d)]&&(this[_0x221854(0x21f)]=new Set(),this['_shouldEmitClose']=!0x1),this['options']=_0x518e6f,this['_state']=_0xe644fd;}[_0x4e968c(0x216)](){const _0x24e042=_0x4e968c;if(this[_0x24e042(0x10a)][_0x24e042(0x215)])throw new Error(_0x24e042(0x121));return this[_0x24e042(0x244)]?this[_0x24e042(0x244)][_0x24e042(0x216)]():null;}[_0x4e968c(0x162)](_0x365982){const _0x168cf4=_0x4e968c;if(this[_0x168cf4(0x298)]===_0x4181ce){_0x365982&&this[_0x168cf4(0x265)]('close',()=>{_0x365982(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x168cf4(0x12a)](_0x522334,this);return;}if(_0x365982&&this['once']('close',_0x365982),this[_0x168cf4(0x298)]!==_0x3e4445){if(this[_0x168cf4(0x298)]=_0x3e4445,this[_0x168cf4(0x10a)][_0x168cf4(0x215)]||this[_0x168cf4(0x10a)][_0x168cf4(0x1b0)])this[_0x168cf4(0x244)]&&(this['_removeListeners'](),this[_0x168cf4(0x250)]=this[_0x168cf4(0x244)]=null),this[_0x168cf4(0x21f)]?this[_0x168cf4(0x21f)][_0x168cf4(0x187)]?this[_0x168cf4(0x17d)]=!0x0:process['nextTick'](_0x522334,this):process[_0x168cf4(0x12a)](_0x522334,this);else{const _0x118f25=this['_server'];this[_0x168cf4(0x250)](),this[_0x168cf4(0x250)]=this[_0x168cf4(0x244)]=null,_0x118f25[_0x168cf4(0x162)](()=>{_0x522334(this);});}}}[_0x4e968c(0x1e4)](_0x1653aa){const _0x5a4dad=_0x4e968c;if(this[_0x5a4dad(0x10a)][_0x5a4dad(0x129)]){const _0x3483b0=_0x1653aa['url'][_0x5a4dad(0x267)]('?');if((_0x3483b0!==-0x1?_0x1653aa[_0x5a4dad(0x1ad)][_0x5a4dad(0x1fc)](0x0,_0x3483b0):_0x1653aa[_0x5a4dad(0x1ad)])!==this['options'][_0x5a4dad(0x129)])return!0x1;}return!0x0;}['handleUpgrade'](_0x1c0c4,_0x49ecd0,_0x5d5434,_0x2b1250){const _0x4cf1c4=_0x4e968c;_0x49ecd0['on'](_0x4cf1c4(0x137),_0x37eea5);const _0x4f0715=_0x1c0c4[_0x4cf1c4(0x185)][_0x4cf1c4(0x12e)],_0x2f6693=_0x1c0c4[_0x4cf1c4(0x185)]['upgrade'],_0x4c842d=+_0x1c0c4[_0x4cf1c4(0x185)][_0x4cf1c4(0x2a7)];if(_0x1c0c4[_0x4cf1c4(0x1c1)]!==_0x4cf1c4(0x192)){_0x4ee163(this,_0x1c0c4,_0x49ecd0,0x195,_0x4cf1c4(0x247));return;}if(_0x2f6693===void 0x0||_0x2f6693[_0x4cf1c4(0x263)]()!==_0x4cf1c4(0x229)){_0x4ee163(this,_0x1c0c4,_0x49ecd0,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x4f0715===void 0x0||!_0x1a146c[_0x4cf1c4(0x10b)](_0x4f0715)){_0x4ee163(this,_0x1c0c4,_0x49ecd0,0x190,_0x4cf1c4(0x284));return;}if(_0x4c842d!==0xd&&_0x4c842d!==0x8){_0x4ee163(this,_0x1c0c4,_0x49ecd0,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header',{'Sec-WebSocket-Version':_0x4cf1c4(0x105)});return;}if(!this[_0x4cf1c4(0x1e4)](_0x1c0c4)){_0x5552fd(_0x49ecd0,0x190);return;}const _0x461131=_0x1c0c4[_0x4cf1c4(0x185)][_0x4cf1c4(0x23d)];let _0x466c52=new Set();if(_0x461131!==void 0x0)try{_0x466c52=_0x5983aa[_0x4cf1c4(0x1e7)](_0x461131);}catch{_0x4ee163(this,_0x1c0c4,_0x49ecd0,0x190,_0x4cf1c4(0x1ea));return;}const _0x4a37d9=_0x1c0c4['headers'][_0x4cf1c4(0x299)],_0x56f839={};if(this[_0x4cf1c4(0x10a)][_0x4cf1c4(0x172)]&&_0x4a37d9!==void 0x0){const _0x58f167=new _0x1669a5(this['options']['perMessageDeflate'],!0x0,this[_0x4cf1c4(0x10a)][_0x4cf1c4(0x1d5)]);try{const _0x45975c=_0x232102[_0x4cf1c4(0x1e7)](_0x4a37d9);_0x45975c[_0x1669a5[_0x4cf1c4(0x175)]]&&(_0x58f167[_0x4cf1c4(0x2b2)](_0x45975c[_0x1669a5[_0x4cf1c4(0x175)]]),_0x56f839[_0x1669a5[_0x4cf1c4(0x175)]]=_0x58f167);}catch{_0x4ee163(this,_0x1c0c4,_0x49ecd0,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x4cf1c4(0x10a)][_0x4cf1c4(0x20b)]){const _0x3fedfb={'origin':_0x1c0c4[_0x4cf1c4(0x185)][''+(_0x4c842d===0x8?_0x4cf1c4(0x102):_0x4cf1c4(0x1f9))],'secure':!!(_0x1c0c4[_0x4cf1c4(0x1e9)][_0x4cf1c4(0x153)]||_0x1c0c4[_0x4cf1c4(0x1e9)]['encrypted']),'req':_0x1c0c4};if(this[_0x4cf1c4(0x10a)][_0x4cf1c4(0x20b)][_0x4cf1c4(0x103)]===0x2){this[_0x4cf1c4(0x10a)][_0x4cf1c4(0x20b)](_0x3fedfb,(_0x116f8b,_0x490acb,_0x96db16,_0x1badfd)=>{const _0xcb5f2b=_0x4cf1c4;if(!_0x116f8b)return _0x5552fd(_0x49ecd0,_0x490acb||0x191,_0x96db16,_0x1badfd);this[_0xcb5f2b(0x19e)](_0x56f839,_0x4f0715,_0x466c52,_0x1c0c4,_0x49ecd0,_0x5d5434,_0x2b1250);});return;}if(!this[_0x4cf1c4(0x10a)][_0x4cf1c4(0x20b)](_0x3fedfb))return _0x5552fd(_0x49ecd0,0x191);}this[_0x4cf1c4(0x19e)](_0x56f839,_0x4f0715,_0x466c52,_0x1c0c4,_0x49ecd0,_0x5d5434,_0x2b1250);}[_0x4e968c(0x19e)](_0x2b3c68,_0x997763,_0x4a2f62,_0x505a89,_0x3802bd,_0x34c814,_0x5db85e){const _0xa75bf3=_0x4e968c;if(!_0x3802bd[_0xa75bf3(0x224)]||!_0x3802bd[_0xa75bf3(0x11a)])return _0x3802bd[_0xa75bf3(0x15b)]();if(_0x3802bd[_0xea803b])throw new Error(_0xa75bf3(0x1a2));if(this['_state']>_0xe644fd)return _0x5552fd(_0x3802bd,0x1f7);const _0x24e092=[_0xa75bf3(0x14d),'Upgrade:\x20websocket',_0xa75bf3(0x223),_0xa75bf3(0x15e)+_0x5ea9c7('sha1')[_0xa75bf3(0x2b4)](_0x997763+_0x34605c)[_0xa75bf3(0x1e3)](_0xa75bf3(0x12f))],_0x2fb410=new this[(_0xa75bf3(0x10a))]['WebSocket'](null,void 0x0,this[_0xa75bf3(0x10a)]);if(_0x4a2f62[_0xa75bf3(0x187)]){const _0x49c294=this[_0xa75bf3(0x10a)][_0xa75bf3(0x28d)]?this['options']['handleProtocols'](_0x4a2f62,_0x505a89):_0x4a2f62[_0xa75bf3(0x195)]()[_0xa75bf3(0xfe)]()['value'];_0x49c294&&(_0x24e092[_0xa75bf3(0x22e)]('Sec-WebSocket-Protocol:\x20'+_0x49c294),_0x2fb410[_0xa75bf3(0x2b0)]=_0x49c294);}if(_0x2b3c68[_0x1669a5[_0xa75bf3(0x175)]]){const _0xbcc94b=_0x2b3c68[_0x1669a5[_0xa75bf3(0x175)]][_0xa75bf3(0x1f4)],_0x2b943b=_0x232102[_0xa75bf3(0x27e)]({[_0x1669a5['extensionName']]:[_0xbcc94b]});_0x24e092[_0xa75bf3(0x22e)](_0xa75bf3(0x126)+_0x2b943b),_0x2fb410[_0xa75bf3(0x1a1)]=_0x2b3c68;}this[_0xa75bf3(0x17b)]('headers',_0x24e092,_0x505a89),_0x3802bd[_0xa75bf3(0x218)](_0x24e092['concat']('\x0d\x0a')[_0xa75bf3(0x125)]('\x0d\x0a')),_0x3802bd[_0xa75bf3(0x285)]('error',_0x37eea5),_0x2fb410['setSocket'](_0x3802bd,_0x34c814,{'allowSynchronousEvents':this[_0xa75bf3(0x10a)]['allowSynchronousEvents'],'maxPayload':this['options'][_0xa75bf3(0x1d5)],'skipUTF8Validation':this[_0xa75bf3(0x10a)]['skipUTF8Validation']}),this[_0xa75bf3(0x21f)]&&(this[_0xa75bf3(0x21f)][_0xa75bf3(0x1ba)](_0x2fb410),_0x2fb410['on'](_0xa75bf3(0x162),()=>{const _0x4d356f=_0xa75bf3;this[_0x4d356f(0x21f)]['delete'](_0x2fb410),this['_shouldEmitClose']&&!this[_0x4d356f(0x21f)][_0x4d356f(0x187)]&&process[_0x4d356f(0x12a)](_0x522334,this);})),_0x5db85e(_0x2fb410,_0x505a89);}}Te=_0x24e3db;function _0x1f4654(_0xfd51e0,_0x3aaaeb){const _0x334b43=_0x4e968c;for(const _0x3ae9db of Object[_0x334b43(0x109)](_0x3aaaeb))_0xfd51e0['on'](_0x3ae9db,_0x3aaaeb[_0x3ae9db]);return function(){const _0x2f75b1=_0x334b43;for(const _0x46e77d of Object[_0x2f75b1(0x109)](_0x3aaaeb))_0xfd51e0['removeListener'](_0x46e77d,_0x3aaaeb[_0x46e77d]);};}function _0x522334(_0x5645a4){const _0x54bfce=_0x4e968c;_0x5645a4['_state']=_0x4181ce,_0x5645a4['emit'](_0x54bfce(0x162));}function _0x37eea5(){const _0x25f5cf=_0x4e968c;this[_0x25f5cf(0x15b)]();}function _0x5552fd(_0x47c1b1,_0x1d3a49,_0xe50cf6,_0x220b1d){const _0x17d00a=_0x4e968c;_0xe50cf6=_0xe50cf6||_0x20888d[_0x17d00a(0x270)][_0x1d3a49],_0x220b1d={'Connection':_0x17d00a(0x162),'Content-Type':_0x17d00a(0x232),'Content-Length':Buffer[_0x17d00a(0x152)](_0xe50cf6),..._0x220b1d},_0x47c1b1[_0x17d00a(0x265)](_0x17d00a(0x154),_0x47c1b1[_0x17d00a(0x15b)]),_0x47c1b1[_0x17d00a(0x1a5)](_0x17d00a(0x236)+_0x1d3a49+'\x20'+_0x20888d[_0x17d00a(0x270)][_0x1d3a49]+'\x0d\x0a'+Object[_0x17d00a(0x109)](_0x220b1d)['map'](_0x575320=>_0x575320+':\x20'+_0x220b1d[_0x575320])[_0x17d00a(0x125)]('\x0d\x0a')+_0x17d00a(0x1b1)+_0xe50cf6);}function _0x4ee163(_0x4dacac,_0x101f47,_0xe756e2,_0xca88ed,_0x4b6503,_0x1b067a){const _0x30c214=_0x4e968c;if(_0x4dacac[_0x30c214(0x112)](_0x30c214(0x18f))){const _0xb6d956=new Error(_0x4b6503);Error[_0x30c214(0x120)](_0xb6d956,_0x4ee163),_0x4dacac['emit'](_0x30c214(0x18f),_0xb6d956,_0xe756e2,_0x101f47);}else _0x5552fd(_0xe756e2,_0xca88ed,_0x4b6503,_0x1b067a);}return Te;}Ft();var jt=Object[_0x14b355(0xfa)],Wt=(_0x3262fd,_0x27d4a0,_0x2240db,_0x34c268)=>{const _0x51b3c8=_0x14b355;for(var _0x47bc03=_0x34c268>0x1?void 0x0:_0x34c268?jt(_0x27d4a0,_0x2240db):_0x27d4a0,_0x171407=_0x3262fd[_0x51b3c8(0x103)]-0x1,_0x3f3051;_0x171407>=0x0;_0x171407--)(_0x3f3051=_0x3262fd[_0x171407])&&(_0x47bc03=_0x3f3051(_0x47bc03)||_0x47bc03);return _0x47bc03;},qt=(_0x4a2414,_0x3c46ba)=>(_0xf8a794,_0x9c9179)=>_0x3c46ba(_0xf8a794,_0x9c9179,_0x4a2414);function _0x51b2(_0x1d846e,_0x3f582a){const _0xa7a890=_0xa7a8();return _0x51b2=function(_0x51b204,_0x3d6b0b){_0x51b204=_0x51b204-0xf6;let _0x85e022=_0xa7a890[_0x51b204];return _0x85e022;},_0x51b2(_0x1d846e,_0x3f582a);}let ke=class extends A['Disposable']{constructor(_0x115f1f){const _0x107ab7=_0x14b355;super(),this[_0x107ab7(0x279)]=_0x115f1f;}[_0x14b355(0x25e)](_0x28d92d){const _0x5d4d74=_0x14b355;var _0xf215bc;const _0x158635=(_0xf215bc=this[_0x5d4d74(0x279)][_0x5d4d74(0x280)](fe))==null?void 0x0:_0xf215bc[_0x5d4d74(0x26a)];try{const _0x163078=new $t(_0x28d92d,{'headers':{..._0x158635}}),_0x30b6a7=new A[(_0x5d4d74(0xf7))]();return{'URL':_0x28d92d,'close':(_0xb8c804,_0x18786b)=>{const _0x335dab=_0x5d4d74;_0x163078[_0x335dab(0x162)](_0xb8c804,_0x18786b),_0x30b6a7[_0x335dab(0x194)]();},'send':_0x2448d2=>{const _0x470a60=_0x5d4d74;_0x163078[_0x470a60(0x100)](_0x2448d2);},'open$':new V['Observable'](_0x20d018=>{const _0x50a5d6=_0x5d4d74,_0xa82504=_0x330608=>_0x20d018[_0x50a5d6(0xfe)](_0x330608);_0x163078[_0x50a5d6(0x188)]('open',_0xa82504),_0x30b6a7[_0x50a5d6(0x1ba)](A[_0x50a5d6(0x182)](()=>_0x163078[_0x50a5d6(0x1a7)](_0x50a5d6(0x278),_0xa82504)));})[_0x5d4d74(0x293)](V['share']()),'close$':new V[(_0x5d4d74(0x13a))](_0xd506fd=>{const _0x56d26e=_0x5d4d74,_0x38f0ee=_0x428f06=>_0xd506fd[_0x56d26e(0xfe)](_0x428f06);_0x163078[_0x56d26e(0x188)](_0x56d26e(0x162),_0x38f0ee),_0x30b6a7[_0x56d26e(0x1ba)](A[_0x56d26e(0x182)](()=>_0x163078[_0x56d26e(0x1a7)](_0x56d26e(0x162),_0x38f0ee)));})[_0x5d4d74(0x293)](V[_0x5d4d74(0x207)]()),'error$':new V['Observable'](_0x25bf23=>{const _0x7c8cb7=_0x5d4d74,_0x562b82=_0x1c8d53=>_0x25bf23[_0x7c8cb7(0xfe)](_0x1c8d53);_0x163078[_0x7c8cb7(0x188)]('error',_0x562b82),_0x30b6a7['add'](A['toDisposable'](()=>_0x163078['removeEventListener'](_0x7c8cb7(0x137),_0x562b82)));})[_0x5d4d74(0x293)](V[_0x5d4d74(0x207)]()),'message$':new V['Observable'](_0x54d394=>{const _0x2a2295=_0x5d4d74,_0x3c5a3d=_0x2d1abc=>_0x54d394['next'](_0x2d1abc);_0x163078[_0x2a2295(0x188)](_0x2a2295(0x18c),_0x3c5a3d),_0x30b6a7[_0x2a2295(0x1ba)](A[_0x2a2295(0x182)](()=>_0x163078['removeEventListener']('message',_0x3c5a3d)));})[_0x5d4d74(0x293)](V[_0x5d4d74(0x207)]())};}catch(_0x3679ce){return console[_0x5d4d74(0x137)](_0x3679ce),null;}}};ke=Wt([qt(0x0,A[_0x14b355(0x104)])],ke);var Gt=Object[_0x14b355(0xfd)],Vt=Object[_0x14b355(0xfa)],Ht=(_0x92e372,_0x338f3,_0x214d3b)=>_0x338f3 in _0x92e372?Gt(_0x92e372,_0x338f3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x214d3b}):_0x92e372[_0x338f3]=_0x214d3b,zt=(_0x5bedcf,_0x65f953,_0x41e0d9,_0x349fac)=>{const _0x4087b4=_0x14b355;for(var _0x2d649e=_0x349fac>0x1?void 0x0:_0x349fac?Vt(_0x65f953,_0x41e0d9):_0x65f953,_0x109195=_0x5bedcf[_0x4087b4(0x103)]-0x1,_0x23e00a;_0x109195>=0x0;_0x109195--)(_0x23e00a=_0x5bedcf[_0x109195])&&(_0x2d649e=_0x23e00a(_0x2d649e)||_0x2d649e);return _0x2d649e;},Ne=(_0x55ff2a,_0x45d195)=>(_0x58b389,_0x5d2982)=>_0x45d195(_0x58b389,_0x5d2982,_0x55ff2a),Yt=(_0x29952e,_0xceb134,_0x2375d2)=>Ht(_0x29952e,_0xceb134+'',_0x2375d2);exports[_0x14b355(0x13e)]=class extends A[_0x14b355(0x1e8)]{constructor(_0x4ad237=Ct,_0x4fb758,_0x553257,_0x13f3a8){const _0x57cae0=_0x14b355;_0x4ad237[_0x57cae0(0x26a)]||_0x4fb758['warn'](_0x57cae0(0x12b)),super(),this[_0x57cae0(0x279)]=_0x553257,this[_0x57cae0(0x233)]=_0x13f3a8,this['_configService'][_0x57cae0(0x168)](fe,_0x4ad237);}[_0x14b355(0x176)](){const _0x2b2122=_0x14b355;this[_0x2b2122(0x131)]();}['_registerDependencies'](){const _0x2cce7a=_0x14b355;A[_0x2cce7a(0x226)](this[_0x2cce7a(0x233)],[[it[_0x2cce7a(0x205)],{'useClass':ke}]]);}},Yt(exports['UniverCollaborationClientNodePlugin'],_0x14b355(0x26e),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports[_0x14b355(0x13e)]=zt([A[_0x14b355(0x116)](st[_0x14b355(0x240)]),Ne(0x1,A['ILogService']),Ne(0x2,A['IConfigService']),Ne(0x3,A[_0x14b355(0x2a2)](A[_0x14b355(0x29f)]))],exports[_0x14b355(0x13e)]);var Kt=Object[_0x14b355(0xfa)],Xt=(_0x42b7f3,_0x33d132,_0x268411,_0x260944)=>{for(var _0x15ad31=_0x260944>0x1?void 0x0:_0x260944?Kt(_0x33d132,_0x268411):_0x33d132,_0x4de2bd=_0x42b7f3['length']-0x1,_0xd81986;_0x4de2bd>=0x0;_0x4de2bd--)(_0xd81986=_0x42b7f3[_0x4de2bd])&&(_0x15ad31=_0xd81986(_0x15ad31)||_0x15ad31);return _0x15ad31;},ne=(_0x1b75ed,_0x2cc367)=>(_0x1e86c1,_0x41c15e)=>_0x2cc367(_0x1e86c1,_0x41c15e,_0x1b75ed);exports['NodeCollaborationSocketService']=class extends st[_0x14b355(0x266)]{constructor(_0xd4d36c,_0x30e5cc,_0x4c9b9c,_0x159891,_0x125070){const _0x5e54f2=_0x14b355;super(_0xd4d36c,_0x30e5cc,_0x4c9b9c,_0x159891,_0x125070);const _0x398fbb=this['_configService'][_0x5e54f2(0x280)](fe);this[_0x5e54f2(0x1cc)][_0x5e54f2(0x20d)]({'interceptor':(_0x4e94c6,_0x11f211)=>{const _0x5b8ded=_0x5e54f2;var _0xb69e27;const _0x4bbe24=_0x4e94c6[_0x5b8ded(0x185)];return(_0xb69e27=_0x398fbb==null?void 0x0:_0x398fbb[_0x5b8ded(0x26a)])!=null&&_0xb69e27['cookie']&&_0x4bbe24[_0x5b8ded(0x1e5)](_0x5b8ded(0x163),_0x398fbb['customHeaders'][_0x5b8ded(0x27f)]),_0x11f211(_0x4e94c6);}});}async['createSocket'](_0x75f9a5){return this['_doCreateSocket'](_0x75f9a5);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A[_0x14b355(0x2a2)](A['Injector'])),ne(0x1,A[_0x14b355(0x2a2)](it[_0x14b355(0x14f)])),ne(0x2,A['IConfigService']),ne(0x3,A[_0x14b355(0x16a)]),ne(0x4,Ot['ISnapshotServerService'])],exports[_0x14b355(0x148)]),exports['COLLABORATION_CLIENT_NODE_CONFIG_KEY']=fe;
1
+ 'use strict';const _0x4a4417=_0x42f1;function _0x42f1(_0x37b609,_0x5ed1b5){const _0x3deae4=_0x3dea();return _0x42f1=function(_0x42f195,_0x402a3f){_0x42f195=_0x42f195-0x165;let _0x1d8fca=_0x3deae4[_0x42f195];return _0x1d8fca;},_0x42f1(_0x37b609,_0x5ed1b5);}(function(_0x5c86c7,_0x20340e){const _0x49e879=_0x42f1,_0x4ff1b4=_0x5c86c7();while(!![]){try{const _0x273aa3=parseInt(_0x49e879(0x1fd))/0x1*(-parseInt(_0x49e879(0x2ed))/0x2)+parseInt(_0x49e879(0x2fe))/0x3+parseInt(_0x49e879(0x27b))/0x4*(-parseInt(_0x49e879(0x1d6))/0x5)+-parseInt(_0x49e879(0x239))/0x6+parseInt(_0x49e879(0x1cb))/0x7+-parseInt(_0x49e879(0x263))/0x8+-parseInt(_0x49e879(0x19d))/0x9*(-parseInt(_0x49e879(0x2f4))/0xa);if(_0x273aa3===_0x20340e)break;else _0x4ff1b4['push'](_0x4ff1b4['shift']());}catch(_0x386547){_0x4ff1b4['push'](_0x4ff1b4['shift']());}}}(_0x3dea,0xe6ff2));Object[_0x4a4417(0x2e7)](exports,Symbol['toStringTag'],{'value':_0x4a4417(0x324)});const st=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),it=require('@univerjs/network'),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require('http'),St=require('net'),Et=require('tls'),Le=require('crypto'),oe=require('stream'),xt=require('url'),bt=require('zlib'),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe=_0x4a4417(0x24d),Ct={'customHeaders':{}};function Tt(_0xe809f6){const _0x596f7b=_0x4a4417;return _0xe809f6&&_0xe809f6[_0x596f7b(0x1a4)]&&Object[_0x596f7b(0x2d7)][_0x596f7b(0x169)][_0x596f7b(0x20a)](_0xe809f6,_0x596f7b(0x1ec))?_0xe809f6[_0x596f7b(0x1ec)]:_0xe809f6;}function at(_0xed7f37){const _0x582db1=_0x4a4417;if(Object['prototype'][_0x582db1(0x169)]['call'](_0xed7f37,_0x582db1(0x1a4)))return _0xed7f37;var _0x32483a=_0xed7f37[_0x582db1(0x1ec)];if(typeof _0x32483a==_0x582db1(0x2d9)){var _0x56535e=function _0x5b046c(){const _0x82436c=_0x582db1;var _0x156f2b=!0x1;try{_0x156f2b=this instanceof _0x5b046c;}catch{}return _0x156f2b?Reflect[_0x82436c(0x1e6)](_0x32483a,arguments,this[_0x82436c(0x168)]):_0x32483a[_0x82436c(0x177)](this,arguments);};_0x56535e['prototype']=_0x32483a[_0x582db1(0x2d7)];}else _0x56535e={};return Object['defineProperty'](_0x56535e,_0x582db1(0x1a4),{'value':!0x0}),Object[_0x582db1(0x252)](_0xed7f37)['forEach'](function(_0x1a457b){const _0x38c089=_0x582db1;var _0x1d0290=Object[_0x38c089(0x1ea)](_0xed7f37,_0x1a457b);Object[_0x38c089(0x2e7)](_0x56535e,_0x1a457b,_0x1d0290[_0x38c089(0x185)]?_0x1d0290:{'enumerable':!0x0,'get':function(){return _0xed7f37[_0x1a457b];}});}),_0x56535e;}var se={'exports':{}},ge,Ge;function H(){const _0x232e8f=_0x4a4417;if(Ge)return ge;Ge=0x1;const _0x1aebcc=[_0x232e8f(0x211),'arraybuffer',_0x232e8f(0x315)],_0x5eafe1=typeof Blob<'u';return _0x5eafe1&&_0x1aebcc['push'](_0x232e8f(0x26f)),ge={'BINARY_TYPES':_0x1aebcc,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x5eafe1,'kForOnEventAttribute':Symbol(_0x232e8f(0x1e2)),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x232e8f(0x26d)),'kWebSocket':Symbol(_0x232e8f(0x235)),'NOOP':()=>{}},ge;}const Nt={},kt=Object['freeze'](Object['defineProperty']({'__proto__':null,'default':Nt},Symbol[_0x4a4417(0x285)],{'value':_0x4a4417(0x324)})),Lt=at(kt);var Ve;function ce(){const _0x1479f4=_0x4a4417;if(Ve)return se[_0x1479f4(0x2e3)];Ve=0x1;const {EMPTY_BUFFER:_0x39785b}=H(),_0x51bd8b=Buffer[Symbol[_0x1479f4(0x297)]];function _0x55e883(_0x4f7d8d,_0x4a0ed9){const _0x1f3793=_0x1479f4;if(_0x4f7d8d[_0x1f3793(0x17b)]===0x0)return _0x39785b;if(_0x4f7d8d[_0x1f3793(0x17b)]===0x1)return _0x4f7d8d[0x0];const _0x494606=Buffer['allocUnsafe'](_0x4a0ed9);let _0x199bc5=0x0;for(let _0x1d5489=0x0;_0x1d5489<_0x4f7d8d[_0x1f3793(0x17b)];_0x1d5489++){const _0x4d0bb4=_0x4f7d8d[_0x1d5489];_0x494606[_0x1f3793(0x1b8)](_0x4d0bb4,_0x199bc5),_0x199bc5+=_0x4d0bb4[_0x1f3793(0x17b)];}return _0x199bc5<_0x4a0ed9?new _0x51bd8b(_0x494606['buffer'],_0x494606['byteOffset'],_0x199bc5):_0x494606;}function _0x545a4a(_0x1b3469,_0x229968,_0x2bda65,_0x136c53,_0x311219){for(let _0x689315=0x0;_0x689315<_0x311219;_0x689315++)_0x2bda65[_0x136c53+_0x689315]=_0x1b3469[_0x689315]^_0x229968[_0x689315&0x3];}function _0xd60ef1(_0x40813a,_0x512c2a){const _0x16fc0f=_0x1479f4;for(let _0xaac25b=0x0;_0xaac25b<_0x40813a[_0x16fc0f(0x17b)];_0xaac25b++)_0x40813a[_0xaac25b]^=_0x512c2a[_0xaac25b&0x3];}function _0x6a8895(_0x314e9a){const _0x263cdc=_0x1479f4;return _0x314e9a[_0x263cdc(0x17b)]===_0x314e9a[_0x263cdc(0x296)][_0x263cdc(0x2bb)]?_0x314e9a[_0x263cdc(0x296)]:_0x314e9a[_0x263cdc(0x296)]['slice'](_0x314e9a[_0x263cdc(0x218)],_0x314e9a[_0x263cdc(0x218)]+_0x314e9a[_0x263cdc(0x17b)]);}function _0x39dd4e(_0x343e06){const _0x435a51=_0x1479f4;if(_0x39dd4e[_0x435a51(0x2c2)]=!0x0,Buffer[_0x435a51(0x1c8)](_0x343e06))return _0x343e06;let _0x6ff48;return _0x343e06 instanceof ArrayBuffer?_0x6ff48=new _0x51bd8b(_0x343e06):ArrayBuffer[_0x435a51(0x2e1)](_0x343e06)?_0x6ff48=new _0x51bd8b(_0x343e06[_0x435a51(0x296)],_0x343e06[_0x435a51(0x218)],_0x343e06['byteLength']):(_0x6ff48=Buffer[_0x435a51(0x1b4)](_0x343e06),_0x39dd4e[_0x435a51(0x2c2)]=!0x1),_0x6ff48;}if(se[_0x1479f4(0x2e3)]={'concat':_0x55e883,'mask':_0x545a4a,'toArrayBuffer':_0x6a8895,'toBuffer':_0x39dd4e,'unmask':_0xd60ef1},!process[_0x1479f4(0x227)][_0x1479f4(0x172)])try{const _0x4f1cb5=Lt;se[_0x1479f4(0x2e3)][_0x1479f4(0x201)]=function(_0x4a5e4a,_0x7ce4ed,_0x28da98,_0x264506,_0x17446c){const _0xb5fe3a=_0x1479f4;_0x17446c<0x30?_0x545a4a(_0x4a5e4a,_0x7ce4ed,_0x28da98,_0x264506,_0x17446c):_0x4f1cb5[_0xb5fe3a(0x201)](_0x4a5e4a,_0x7ce4ed,_0x28da98,_0x264506,_0x17446c);},se[_0x1479f4(0x2e3)][_0x1479f4(0x256)]=function(_0x58fb60,_0x12360d){const _0x38bce3=_0x1479f4;_0x58fb60['length']<0x20?_0xd60ef1(_0x58fb60,_0x12360d):_0x4f1cb5[_0x38bce3(0x256)](_0x58fb60,_0x12360d);};}catch{}return se[_0x1479f4(0x2e3)];}var ye,He;function Pt(){const _0x3380e6=_0x4a4417;if(He)return ye;He=0x1;const _0x4d530c=Symbol(_0x3380e6(0x176)),_0x11b097=Symbol('kRun');class _0x33978c{constructor(_0x14e385){const _0x5b4398=_0x3380e6;this[_0x4d530c]=()=>{this['pending']--,this[_0x11b097]();},this[_0x5b4398(0x2b9)]=_0x14e385||0x1/0x0,this['jobs']=[],this['pending']=0x0;}[_0x3380e6(0x2d1)](_0x72b69b){const _0x9a477f=_0x3380e6;this[_0x9a477f(0x1de)][_0x9a477f(0x29c)](_0x72b69b),this[_0x11b097]();}[_0x11b097](){const _0x3e1c8b=_0x3380e6;if(this['pending']!==this[_0x3e1c8b(0x2b9)]&&this[_0x3e1c8b(0x1de)][_0x3e1c8b(0x17b)]){const _0x14130d=this[_0x3e1c8b(0x1de)][_0x3e1c8b(0x18c)]();this[_0x3e1c8b(0x231)]++,_0x14130d(this[_0x4d530c]);}}}return ye=_0x33978c,ye;}var ve,ze;function he(){const _0x37d8ce=_0x4a4417;if(ze)return ve;ze=0x1;const _0x5f476e=bt,_0x10feea=ce(),_0x490dd6=Pt(),{kStatusCode:_0x4d785e}=H(),_0x4e78ca=Buffer[Symbol[_0x37d8ce(0x297)]],_0x2a1879=Buffer[_0x37d8ce(0x1b4)]([0x0,0x0,0xff,0xff]),_0x255512=Symbol(_0x37d8ce(0x1f7)),_0x23d86a=Symbol(_0x37d8ce(0x30f)),_0xf23fc6=Symbol(_0x37d8ce(0x2ec)),_0x378214=Symbol('buffers'),_0x1e50fd=Symbol(_0x37d8ce(0x2a1));let _0xb196e4;class _0x34fe70{constructor(_0x5bb86b,_0x3cb339,_0x52ca7f){const _0x3f4a3c=_0x37d8ce;if(this[_0x3f4a3c(0x2c9)]=_0x52ca7f|0x0,this[_0x3f4a3c(0x1c0)]=_0x5bb86b||{},this[_0x3f4a3c(0x2a4)]=this[_0x3f4a3c(0x1c0)][_0x3f4a3c(0x1af)]!==void 0x0?this[_0x3f4a3c(0x1c0)][_0x3f4a3c(0x1af)]:0x400,this['_isServer']=!!_0x3cb339,this[_0x3f4a3c(0x253)]=null,this['_inflate']=null,this[_0x3f4a3c(0x1fb)]=null,!_0xb196e4){const _0x3027f9=this[_0x3f4a3c(0x1c0)][_0x3f4a3c(0x1fe)]!==void 0x0?this[_0x3f4a3c(0x1c0)][_0x3f4a3c(0x1fe)]:0xa;_0xb196e4=new _0x490dd6(_0x3027f9);}}static get['extensionName'](){const _0x251a32=_0x37d8ce;return _0x251a32(0x1f7);}[_0x37d8ce(0x1c2)](){const _0x1126f3=_0x37d8ce,_0x1d7f49={};return this[_0x1126f3(0x1c0)][_0x1126f3(0x2c1)]&&(_0x1d7f49[_0x1126f3(0x1d2)]=!0x0),this[_0x1126f3(0x1c0)][_0x1126f3(0x303)]&&(_0x1d7f49[_0x1126f3(0x21a)]=!0x0),this[_0x1126f3(0x1c0)][_0x1126f3(0x222)]&&(_0x1d7f49[_0x1126f3(0x189)]=this[_0x1126f3(0x1c0)][_0x1126f3(0x222)]),this['_options'][_0x1126f3(0x18b)]?_0x1d7f49['client_max_window_bits']=this[_0x1126f3(0x1c0)][_0x1126f3(0x18b)]:this[_0x1126f3(0x1c0)]['clientMaxWindowBits']==null&&(_0x1d7f49[_0x1126f3(0x2c5)]=!0x0),_0x1d7f49;}[_0x37d8ce(0x23c)](_0x479fad){const _0x49c325=_0x37d8ce;return _0x479fad=this[_0x49c325(0x1df)](_0x479fad),this[_0x49c325(0x1fb)]=this[_0x49c325(0x27d)]?this[_0x49c325(0x301)](_0x479fad):this[_0x49c325(0x278)](_0x479fad),this[_0x49c325(0x1fb)];}[_0x37d8ce(0x1ed)](){const _0x3a9d4e=_0x37d8ce;if(this[_0x3a9d4e(0x2f7)]&&(this[_0x3a9d4e(0x2f7)]['close'](),this[_0x3a9d4e(0x2f7)]=null),this['_deflate']){const _0x7d9f9d=this['_deflate'][_0xf23fc6];this[_0x3a9d4e(0x253)][_0x3a9d4e(0x1a1)](),this['_deflate']=null,_0x7d9f9d&&_0x7d9f9d(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x37d8ce(0x301)](_0x48b729){const _0x44c247=_0x37d8ce,_0x354371=this[_0x44c247(0x1c0)],_0x4f2021=_0x48b729['find'](_0x48d4c1=>!(_0x354371[_0x44c247(0x2c1)]===!0x1&&_0x48d4c1[_0x44c247(0x1d2)]||_0x48d4c1[_0x44c247(0x189)]&&(_0x354371['serverMaxWindowBits']===!0x1||typeof _0x354371[_0x44c247(0x222)]==_0x44c247(0x2b7)&&_0x354371['serverMaxWindowBits']>_0x48d4c1[_0x44c247(0x189)])||typeof _0x354371[_0x44c247(0x18b)]==_0x44c247(0x2b7)&&!_0x48d4c1[_0x44c247(0x2c5)]));if(!_0x4f2021)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x354371[_0x44c247(0x2c1)]&&(_0x4f2021[_0x44c247(0x1d2)]=!0x0),_0x354371['clientNoContextTakeover']&&(_0x4f2021[_0x44c247(0x21a)]=!0x0),typeof _0x354371[_0x44c247(0x222)]==_0x44c247(0x2b7)&&(_0x4f2021['server_max_window_bits']=_0x354371[_0x44c247(0x222)]),typeof _0x354371['clientMaxWindowBits']==_0x44c247(0x2b7)?_0x4f2021['client_max_window_bits']=_0x354371[_0x44c247(0x18b)]:(_0x4f2021[_0x44c247(0x2c5)]===!0x0||_0x354371['clientMaxWindowBits']===!0x1)&&delete _0x4f2021[_0x44c247(0x2c5)],_0x4f2021;}['acceptAsClient'](_0xf16177){const _0x5f406e=_0x37d8ce,_0x46f6a5=_0xf16177[0x0];if(this[_0x5f406e(0x1c0)]['clientNoContextTakeover']===!0x1&&_0x46f6a5['client_no_context_takeover'])throw new Error(_0x5f406e(0x2a8));if(!_0x46f6a5[_0x5f406e(0x2c5)])typeof this[_0x5f406e(0x1c0)][_0x5f406e(0x18b)]==_0x5f406e(0x2b7)&&(_0x46f6a5['client_max_window_bits']=this[_0x5f406e(0x1c0)][_0x5f406e(0x18b)]);else{if(this['_options'][_0x5f406e(0x18b)]===!0x1||typeof this['_options'][_0x5f406e(0x18b)]=='number'&&_0x46f6a5[_0x5f406e(0x2c5)]>this['_options'][_0x5f406e(0x18b)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x46f6a5;}['normalizeParams'](_0x40ec04){const _0x13b9e1=_0x37d8ce;return _0x40ec04[_0x13b9e1(0x1a2)](_0x582ba2=>{const _0x4f91b1=_0x13b9e1;Object['keys'](_0x582ba2)[_0x4f91b1(0x1a2)](_0x384e94=>{const _0x40d708=_0x4f91b1;let _0x3568d3=_0x582ba2[_0x384e94];if(_0x3568d3[_0x40d708(0x17b)]>0x1)throw new Error(_0x40d708(0x19a)+_0x384e94+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x3568d3=_0x3568d3[0x0],_0x384e94===_0x40d708(0x2c5)){if(_0x3568d3!==!0x0){const _0x42d9da=+_0x3568d3;if(!Number['isInteger'](_0x42d9da)||_0x42d9da<0x8||_0x42d9da>0xf)throw new TypeError(_0x40d708(0x1ac)+_0x384e94+_0x40d708(0x2dc)+_0x3568d3);_0x3568d3=_0x42d9da;}else{if(!this[_0x40d708(0x27d)])throw new TypeError(_0x40d708(0x1ac)+_0x384e94+_0x40d708(0x2dc)+_0x3568d3);}}else{if(_0x384e94===_0x40d708(0x189)){const _0x5d58c6=+_0x3568d3;if(!Number[_0x40d708(0x1b9)](_0x5d58c6)||_0x5d58c6<0x8||_0x5d58c6>0xf)throw new TypeError(_0x40d708(0x1ac)+_0x384e94+_0x40d708(0x2dc)+_0x3568d3);_0x3568d3=_0x5d58c6;}else{if(_0x384e94===_0x40d708(0x21a)||_0x384e94===_0x40d708(0x1d2)){if(_0x3568d3!==!0x0)throw new TypeError(_0x40d708(0x1ac)+_0x384e94+_0x40d708(0x2dc)+_0x3568d3);}else throw new Error(_0x40d708(0x29d)+_0x384e94+'\x22');}}_0x582ba2[_0x384e94]=_0x3568d3;});}),_0x40ec04;}['decompress'](_0x4c847c,_0x36db2a,_0xa276f){const _0x8e17a6=_0x37d8ce;_0xb196e4[_0x8e17a6(0x2d1)](_0x2e9331=>{const _0x425728=_0x8e17a6;this[_0x425728(0x24b)](_0x4c847c,_0x36db2a,(_0x462742,_0x1d42b8)=>{_0x2e9331(),_0xa276f(_0x462742,_0x1d42b8);});});}[_0x37d8ce(0x26b)](_0x48321d,_0x1cd975,_0x595111){const _0x50de21=_0x37d8ce;_0xb196e4[_0x50de21(0x2d1)](_0x4f075a=>{const _0x5b08a7=_0x50de21;this[_0x5b08a7(0x2ee)](_0x48321d,_0x1cd975,(_0x374004,_0x28cb0f)=>{_0x4f075a(),_0x595111(_0x374004,_0x28cb0f);});});}[_0x37d8ce(0x24b)](_0x5a7f43,_0x17f9fe,_0x5de5bb){const _0x2cfbb7=_0x37d8ce,_0x510bab=this['_isServer']?_0x2cfbb7(0x1cd):_0x2cfbb7(0x243);if(!this[_0x2cfbb7(0x2f7)]){const _0xd6fd6=_0x510bab+_0x2cfbb7(0x19b),_0x3e1de5=typeof this[_0x2cfbb7(0x1fb)][_0xd6fd6]!=_0x2cfbb7(0x2b7)?_0x5f476e[_0x2cfbb7(0x323)]:this[_0x2cfbb7(0x1fb)][_0xd6fd6];this[_0x2cfbb7(0x2f7)]=_0x5f476e[_0x2cfbb7(0x265)]({...this[_0x2cfbb7(0x1c0)][_0x2cfbb7(0x304)],'windowBits':_0x3e1de5}),this[_0x2cfbb7(0x2f7)][_0x255512]=this,this['_inflate'][_0x23d86a]=0x0,this[_0x2cfbb7(0x2f7)][_0x378214]=[],this[_0x2cfbb7(0x2f7)]['on']('error',_0x338a2b),this[_0x2cfbb7(0x2f7)]['on'](_0x2cfbb7(0x232),_0x3f3935);}this['_inflate'][_0xf23fc6]=_0x5de5bb,this['_inflate'][_0x2cfbb7(0x190)](_0x5a7f43),_0x17f9fe&&this['_inflate'][_0x2cfbb7(0x190)](_0x2a1879),this[_0x2cfbb7(0x2f7)][_0x2cfbb7(0x20f)](()=>{const _0x1ebf5e=_0x2cfbb7,_0xa999d=this[_0x1ebf5e(0x2f7)][_0x1e50fd];if(_0xa999d){this[_0x1ebf5e(0x2f7)][_0x1ebf5e(0x1a1)](),this[_0x1ebf5e(0x2f7)]=null,_0x5de5bb(_0xa999d);return;}const _0xeeaad1=_0x10feea[_0x1ebf5e(0x277)](this[_0x1ebf5e(0x2f7)][_0x378214],this[_0x1ebf5e(0x2f7)][_0x23d86a]);this[_0x1ebf5e(0x2f7)]['_readableState'][_0x1ebf5e(0x1db)]?(this[_0x1ebf5e(0x2f7)][_0x1ebf5e(0x1a1)](),this[_0x1ebf5e(0x2f7)]=null):(this[_0x1ebf5e(0x2f7)][_0x23d86a]=0x0,this[_0x1ebf5e(0x2f7)][_0x378214]=[],_0x17f9fe&&this[_0x1ebf5e(0x1fb)][_0x510bab+_0x1ebf5e(0x312)]&&this[_0x1ebf5e(0x2f7)][_0x1ebf5e(0x2ad)]()),_0x5de5bb(null,_0xeeaad1);});}['_compress'](_0x17fb9b,_0x38b5f1,_0x5d7a8e){const _0x2c43e1=_0x37d8ce,_0x36b09c=this[_0x2c43e1(0x27d)]?_0x2c43e1(0x243):_0x2c43e1(0x1cd);if(!this[_0x2c43e1(0x253)]){const _0xf42e89=_0x36b09c+'_max_window_bits',_0x5046b=typeof this[_0x2c43e1(0x1fb)][_0xf42e89]!=_0x2c43e1(0x2b7)?_0x5f476e[_0x2c43e1(0x323)]:this[_0x2c43e1(0x1fb)][_0xf42e89];this[_0x2c43e1(0x253)]=_0x5f476e[_0x2c43e1(0x212)]({...this[_0x2c43e1(0x1c0)][_0x2c43e1(0x274)],'windowBits':_0x5046b}),this[_0x2c43e1(0x253)][_0x23d86a]=0x0,this[_0x2c43e1(0x253)][_0x378214]=[],this['_deflate']['on'](_0x2c43e1(0x232),_0x521987);}this[_0x2c43e1(0x253)][_0xf23fc6]=_0x5d7a8e,this[_0x2c43e1(0x253)]['write'](_0x17fb9b),this[_0x2c43e1(0x253)][_0x2c43e1(0x20f)](_0x5f476e[_0x2c43e1(0x27f)],()=>{const _0x55801a=_0x2c43e1;if(!this[_0x55801a(0x253)])return;let _0x5b3900=_0x10feea[_0x55801a(0x277)](this[_0x55801a(0x253)][_0x378214],this[_0x55801a(0x253)][_0x23d86a]);_0x38b5f1&&(_0x5b3900=new _0x4e78ca(_0x5b3900[_0x55801a(0x296)],_0x5b3900[_0x55801a(0x218)],_0x5b3900[_0x55801a(0x17b)]-0x4)),this['_deflate'][_0xf23fc6]=null,this[_0x55801a(0x253)][_0x23d86a]=0x0,this[_0x55801a(0x253)][_0x378214]=[],_0x38b5f1&&this[_0x55801a(0x1fb)][_0x36b09c+'_no_context_takeover']&&this[_0x55801a(0x253)][_0x55801a(0x2ad)](),_0x5d7a8e(null,_0x5b3900);});}}ve=_0x34fe70;function _0x521987(_0x3b8203){const _0x396056=_0x37d8ce;this[_0x378214]['push'](_0x3b8203),this[_0x23d86a]+=_0x3b8203[_0x396056(0x17b)];}function _0x3f3935(_0x5dfa41){const _0x4e83a3=_0x37d8ce;if(this[_0x23d86a]+=_0x5dfa41['length'],this[_0x255512]['_maxPayload']<0x1||this[_0x23d86a]<=this[_0x255512][_0x4e83a3(0x2c9)]){this[_0x378214][_0x4e83a3(0x29c)](_0x5dfa41);return;}this[_0x1e50fd]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x1e50fd][_0x4e83a3(0x1a3)]=_0x4e83a3(0x216),this[_0x1e50fd][_0x4d785e]=0x3f1,this[_0x4e83a3(0x264)](_0x4e83a3(0x232),_0x3f3935),this[_0x4e83a3(0x2ad)]();}function _0x338a2b(_0x165235){const _0x5e5281=_0x37d8ce;if(this[_0x255512][_0x5e5281(0x2f7)]=null,this[_0x1e50fd]){this[_0xf23fc6](this[_0x1e50fd]);return;}_0x165235[_0x4d785e]=0x3ef,this[_0xf23fc6](_0x165235);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object[_0x4a4417(0x2e7)]({'__proto__':null,'default':Dt},Symbol[_0x4a4417(0x285)],{'value':_0x4a4417(0x324)})),Bt=at(Rt);var Ye;function ae(){const _0x57a6cf=_0x4a4417;if(Ye)return ie[_0x57a6cf(0x2e3)];Ye=0x1;const {isUtf8:_0x96fa3c}=wt,{hasBlob:_0x2ca8c4}=H(),_0xf98df9=[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 _0x72fd24(_0xd6c34f){return _0xd6c34f>=0x3e8&&_0xd6c34f<=0x3f6&&_0xd6c34f!==0x3ec&&_0xd6c34f!==0x3ed&&_0xd6c34f!==0x3ee||_0xd6c34f>=0xbb8&&_0xd6c34f<=0x1387;}function _0x503642(_0x264d97){const _0x361cc4=_0x57a6cf,_0x3209d4=_0x264d97[_0x361cc4(0x17b)];let _0x10663f=0x0;for(;_0x10663f<_0x3209d4;)if((_0x264d97[_0x10663f]&0x80)===0x0)_0x10663f++;else{if((_0x264d97[_0x10663f]&0xe0)===0xc0){if(_0x10663f+0x1===_0x3209d4||(_0x264d97[_0x10663f+0x1]&0xc0)!==0x80||(_0x264d97[_0x10663f]&0xfe)===0xc0)return!0x1;_0x10663f+=0x2;}else{if((_0x264d97[_0x10663f]&0xf0)===0xe0){if(_0x10663f+0x2>=_0x3209d4||(_0x264d97[_0x10663f+0x1]&0xc0)!==0x80||(_0x264d97[_0x10663f+0x2]&0xc0)!==0x80||_0x264d97[_0x10663f]===0xe0&&(_0x264d97[_0x10663f+0x1]&0xe0)===0x80||_0x264d97[_0x10663f]===0xed&&(_0x264d97[_0x10663f+0x1]&0xe0)===0xa0)return!0x1;_0x10663f+=0x3;}else{if((_0x264d97[_0x10663f]&0xf8)===0xf0){if(_0x10663f+0x3>=_0x3209d4||(_0x264d97[_0x10663f+0x1]&0xc0)!==0x80||(_0x264d97[_0x10663f+0x2]&0xc0)!==0x80||(_0x264d97[_0x10663f+0x3]&0xc0)!==0x80||_0x264d97[_0x10663f]===0xf0&&(_0x264d97[_0x10663f+0x1]&0xf0)===0x80||_0x264d97[_0x10663f]===0xf4&&_0x264d97[_0x10663f+0x1]>0x8f||_0x264d97[_0x10663f]>0xf4)return!0x1;_0x10663f+=0x4;}else return!0x1;}}}return!0x0;}function _0x5dc8a2(_0x218a45){const _0x5f04c6=_0x57a6cf;return _0x2ca8c4&&typeof _0x218a45==_0x5f04c6(0x2c6)&&typeof _0x218a45[_0x5f04c6(0x205)]==_0x5f04c6(0x2d9)&&typeof _0x218a45['type']==_0x5f04c6(0x2da)&&typeof _0x218a45[_0x5f04c6(0x23a)]==_0x5f04c6(0x2d9)&&(_0x218a45[Symbol[_0x5f04c6(0x285)]]===_0x5f04c6(0x194)||_0x218a45[Symbol[_0x5f04c6(0x285)]]==='File');}if(ie['exports']={'isBlob':_0x5dc8a2,'isValidStatusCode':_0x72fd24,'isValidUTF8':_0x503642,'tokenChars':_0xf98df9},_0x96fa3c)ie[_0x57a6cf(0x2e3)][_0x57a6cf(0x2d8)]=function(_0x2d8bee){const _0xe04876=_0x57a6cf;return _0x2d8bee[_0xe04876(0x17b)]<0x18?_0x503642(_0x2d8bee):_0x96fa3c(_0x2d8bee);};else{if(!process['env']['WS_NO_UTF_8_VALIDATE'])try{const _0x9ddc6a=Bt;ie[_0x57a6cf(0x2e3)][_0x57a6cf(0x2d8)]=function(_0x29d17c){const _0x458e65=_0x57a6cf;return _0x29d17c[_0x458e65(0x17b)]<0x20?_0x503642(_0x29d17c):_0x9ddc6a(_0x29d17c);};}catch{}}return ie[_0x57a6cf(0x2e3)];}var Se,Ke;function lt(){const _0x44e51b=_0x4a4417;if(Ke)return Se;Ke=0x1;const {Writable:_0x25a2e0}=oe,_0x5bfe7c=he(),{BINARY_TYPES:_0xf82077,EMPTY_BUFFER:_0x4b1913,kStatusCode:_0x10f2be,kWebSocket:_0x39e28c}=H(),{concat:_0x3c9d9c,toArrayBuffer:_0x503557,unmask:_0x837258}=ce(),{isValidStatusCode:_0x433e22,isValidUTF8:_0x1a1841}=ae(),_0x4bf8e4=Buffer[Symbol['species']],_0xdc86fe=0x0,_0x2eb54e=0x1,_0x12780a=0x2,_0x5c0c9d=0x3,_0x25f323=0x4,_0x58e0c9=0x5,_0x3c5db2=0x6;class _0x3388c9 extends _0x25a2e0{constructor(_0x3451f8={}){const _0x3c33ca=_0x42f1;super(),this[_0x3c33ca(0x20e)]=_0x3451f8[_0x3c33ca(0x1c7)]!==void 0x0?_0x3451f8[_0x3c33ca(0x1c7)]:!0x0,this[_0x3c33ca(0x229)]=_0x3451f8[_0x3c33ca(0x293)]||_0xf82077[0x0],this[_0x3c33ca(0x1a8)]=_0x3451f8[_0x3c33ca(0x22a)]||{},this[_0x3c33ca(0x27d)]=!!_0x3451f8[_0x3c33ca(0x25f)],this[_0x3c33ca(0x2c9)]=_0x3451f8[_0x3c33ca(0x273)]|0x0,this[_0x3c33ca(0x1eb)]=!!_0x3451f8['skipUTF8Validation'],this[_0x39e28c]=void 0x0,this[_0x3c33ca(0x31b)]=0x0,this['_buffers']=[],this[_0x3c33ca(0x2e5)]=!0x1,this['_payloadLength']=0x0,this[_0x3c33ca(0x2cf)]=void 0x0,this[_0x3c33ca(0x1c3)]=0x0,this[_0x3c33ca(0x309)]=!0x1,this['_fin']=!0x1,this[_0x3c33ca(0x2b3)]=0x0,this['_totalPayloadLength']=0x0,this[_0x3c33ca(0x1d3)]=0x0,this[_0x3c33ca(0x18a)]=[],this[_0x3c33ca(0x2fb)]=!0x1,this[_0x3c33ca(0x209)]=!0x1,this[_0x3c33ca(0x1a6)]=_0xdc86fe;}['_write'](_0x34df9c,_0x33d121,_0x12e220){const _0x1e61a6=_0x42f1;if(this[_0x1e61a6(0x2b3)]===0x8&&this['_state']==_0xdc86fe)return _0x12e220();this[_0x1e61a6(0x31b)]+=_0x34df9c[_0x1e61a6(0x17b)],this['_buffers'][_0x1e61a6(0x29c)](_0x34df9c),this[_0x1e61a6(0x1ad)](_0x12e220);}[_0x44e51b(0x268)](_0x1b7bce){const _0x36231a=_0x44e51b;if(this['_bufferedBytes']-=_0x1b7bce,_0x1b7bce===this[_0x36231a(0x1ca)][0x0][_0x36231a(0x17b)])return this[_0x36231a(0x1ca)]['shift']();if(_0x1b7bce<this[_0x36231a(0x1ca)][0x0]['length']){const _0x1a26e5=this[_0x36231a(0x1ca)][0x0];return this[_0x36231a(0x1ca)][0x0]=new _0x4bf8e4(_0x1a26e5[_0x36231a(0x296)],_0x1a26e5[_0x36231a(0x218)]+_0x1b7bce,_0x1a26e5['length']-_0x1b7bce),new _0x4bf8e4(_0x1a26e5[_0x36231a(0x296)],_0x1a26e5['byteOffset'],_0x1b7bce);}const _0x2b6fc8=Buffer['allocUnsafe'](_0x1b7bce);do{const _0x1ebb2e=this[_0x36231a(0x1ca)][0x0],_0x551afb=_0x2b6fc8[_0x36231a(0x17b)]-_0x1b7bce;_0x1b7bce>=_0x1ebb2e[_0x36231a(0x17b)]?_0x2b6fc8[_0x36231a(0x1b8)](this[_0x36231a(0x1ca)][_0x36231a(0x18c)](),_0x551afb):(_0x2b6fc8['set'](new Uint8Array(_0x1ebb2e['buffer'],_0x1ebb2e[_0x36231a(0x218)],_0x1b7bce),_0x551afb),this['_buffers'][0x0]=new _0x4bf8e4(_0x1ebb2e[_0x36231a(0x296)],_0x1ebb2e['byteOffset']+_0x1b7bce,_0x1ebb2e[_0x36231a(0x17b)]-_0x1b7bce)),_0x1b7bce-=_0x1ebb2e[_0x36231a(0x17b)];}while(_0x1b7bce>0x0);return _0x2b6fc8;}[_0x44e51b(0x1ad)](_0x7c35e7){const _0x5ace78=_0x44e51b;this[_0x5ace78(0x209)]=!0x0;do switch(this[_0x5ace78(0x1a6)]){case _0xdc86fe:this[_0x5ace78(0x28d)](_0x7c35e7);break;case _0x2eb54e:this[_0x5ace78(0x284)](_0x7c35e7);break;case _0x12780a:this[_0x5ace78(0x282)](_0x7c35e7);break;case _0x5c0c9d:this[_0x5ace78(0x21b)]();break;case _0x25f323:this[_0x5ace78(0x271)](_0x7c35e7);break;case _0x58e0c9:case _0x3c5db2:this[_0x5ace78(0x209)]=!0x1;return;}while(this['_loop']);this[_0x5ace78(0x2fb)]||_0x7c35e7();}[_0x44e51b(0x28d)](_0x48abd8){const _0x48f4b2=_0x44e51b;if(this[_0x48f4b2(0x31b)]<0x2){this[_0x48f4b2(0x209)]=!0x1;return;}const _0x1b02b7=this['consume'](0x2);if((_0x1b02b7[0x0]&0x30)!==0x0){const _0x6facbc=this[_0x48f4b2(0x1e7)](RangeError,_0x48f4b2(0x292),!0x0,0x3ea,_0x48f4b2(0x2b1));_0x48abd8(_0x6facbc);return;}const _0x111f6f=(_0x1b02b7[0x0]&0x40)===0x40;if(_0x111f6f&&!this[_0x48f4b2(0x1a8)][_0x5bfe7c['extensionName']]){const _0x343b97=this[_0x48f4b2(0x1e7)](RangeError,_0x48f4b2(0x183),!0x0,0x3ea,_0x48f4b2(0x208));_0x48abd8(_0x343b97);return;}if(this['_fin']=(_0x1b02b7[0x0]&0x80)===0x80,this[_0x48f4b2(0x2b3)]=_0x1b02b7[0x0]&0xf,this['_payloadLength']=_0x1b02b7[0x1]&0x7f,this[_0x48f4b2(0x2b3)]===0x0){if(_0x111f6f){const _0x1a1fd1=this[_0x48f4b2(0x1e7)](RangeError,_0x48f4b2(0x183),!0x0,0x3ea,_0x48f4b2(0x208));_0x48abd8(_0x1a1fd1);return;}if(!this[_0x48f4b2(0x1c3)]){const _0x96282f=this['createError'](RangeError,_0x48f4b2(0x175),!0x0,0x3ea,_0x48f4b2(0x2be));_0x48abd8(_0x96282f);return;}this[_0x48f4b2(0x2b3)]=this[_0x48f4b2(0x1c3)];}else{if(this['_opcode']===0x1||this['_opcode']===0x2){if(this[_0x48f4b2(0x1c3)]){const _0x291d49=this[_0x48f4b2(0x1e7)](RangeError,_0x48f4b2(0x240)+this[_0x48f4b2(0x2b3)],!0x0,0x3ea,_0x48f4b2(0x2be));_0x48abd8(_0x291d49);return;}this[_0x48f4b2(0x2e5)]=_0x111f6f;}else{if(this[_0x48f4b2(0x2b3)]>0x7&&this['_opcode']<0xb){if(!this[_0x48f4b2(0x2c0)]){const _0x5420b2=this[_0x48f4b2(0x1e7)](RangeError,_0x48f4b2(0x179),!0x0,0x3ea,_0x48f4b2(0x234));_0x48abd8(_0x5420b2);return;}if(_0x111f6f){const _0x41bb58=this[_0x48f4b2(0x1e7)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x48f4b2(0x208));_0x48abd8(_0x41bb58);return;}if(this[_0x48f4b2(0x2fa)]>0x7d||this[_0x48f4b2(0x2b3)]===0x8&&this[_0x48f4b2(0x2fa)]===0x1){const _0x1bf1fe=this[_0x48f4b2(0x1e7)](RangeError,'invalid\x20payload\x20length\x20'+this[_0x48f4b2(0x2fa)],!0x0,0x3ea,_0x48f4b2(0x249));_0x48abd8(_0x1bf1fe);return;}}else{const _0x5f5132=this[_0x48f4b2(0x1e7)](RangeError,_0x48f4b2(0x240)+this['_opcode'],!0x0,0x3ea,_0x48f4b2(0x2be));_0x48abd8(_0x5f5132);return;}}}if(!this['_fin']&&!this['_fragmented']&&(this[_0x48f4b2(0x1c3)]=this[_0x48f4b2(0x2b3)]),this['_masked']=(_0x1b02b7[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x48f4b2(0x309)]){const _0x1c9761=this[_0x48f4b2(0x1e7)](RangeError,_0x48f4b2(0x21d),!0x0,0x3ea,_0x48f4b2(0x1f1));_0x48abd8(_0x1c9761);return;}}else{if(this[_0x48f4b2(0x309)]){const _0x10aa1c=this[_0x48f4b2(0x1e7)](RangeError,_0x48f4b2(0x1f3),!0x0,0x3ea,_0x48f4b2(0x279));_0x48abd8(_0x10aa1c);return;}}this['_payloadLength']===0x7e?this['_state']=_0x2eb54e:this['_payloadLength']===0x7f?this[_0x48f4b2(0x1a6)]=_0x12780a:this['haveLength'](_0x48abd8);}[_0x44e51b(0x284)](_0x41a51d){const _0x128e39=_0x44e51b;if(this[_0x128e39(0x31b)]<0x2){this[_0x128e39(0x209)]=!0x1;return;}this[_0x128e39(0x2fa)]=this['consume'](0x2)[_0x128e39(0x25d)](0x0),this[_0x128e39(0x2a7)](_0x41a51d);}[_0x44e51b(0x282)](_0x43a8ff){const _0xe96a62=_0x44e51b;if(this['_bufferedBytes']<0x8){this[_0xe96a62(0x209)]=!0x1;return;}const _0x108296=this[_0xe96a62(0x268)](0x8),_0x2e70de=_0x108296[_0xe96a62(0x29f)](0x0);if(_0x2e70de>Math[_0xe96a62(0x2db)](0x2,0x15)-0x1){const _0x3ddd59=this[_0xe96a62(0x1e7)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0xe96a62(0x29a));_0x43a8ff(_0x3ddd59);return;}this[_0xe96a62(0x2fa)]=_0x2e70de*Math[_0xe96a62(0x2db)](0x2,0x20)+_0x108296[_0xe96a62(0x29f)](0x4),this['haveLength'](_0x43a8ff);}['haveLength'](_0x4a0260){const _0xf46b9b=_0x44e51b;if(this[_0xf46b9b(0x2fa)]&&this[_0xf46b9b(0x2b3)]<0x8&&(this[_0xf46b9b(0x275)]+=this[_0xf46b9b(0x2fa)],this[_0xf46b9b(0x275)]>this['_maxPayload']&&this[_0xf46b9b(0x2c9)]>0x0)){const _0xf08e9d=this[_0xf46b9b(0x1e7)](RangeError,_0xf46b9b(0x2a2),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x4a0260(_0xf08e9d);return;}this[_0xf46b9b(0x309)]?this[_0xf46b9b(0x1a6)]=_0x5c0c9d:this[_0xf46b9b(0x1a6)]=_0x25f323;}[_0x44e51b(0x21b)](){const _0x29a300=_0x44e51b;if(this[_0x29a300(0x31b)]<0x4){this[_0x29a300(0x209)]=!0x1;return;}this[_0x29a300(0x2cf)]=this[_0x29a300(0x268)](0x4),this[_0x29a300(0x1a6)]=_0x25f323;}['getData'](_0x5dab95){const _0x216a2b=_0x44e51b;let _0x3a2c13=_0x4b1913;if(this[_0x216a2b(0x2fa)]){if(this['_bufferedBytes']<this[_0x216a2b(0x2fa)]){this[_0x216a2b(0x209)]=!0x1;return;}_0x3a2c13=this['consume'](this[_0x216a2b(0x2fa)]),this[_0x216a2b(0x309)]&&(this[_0x216a2b(0x2cf)][0x0]|this[_0x216a2b(0x2cf)][0x1]|this[_0x216a2b(0x2cf)][0x2]|this[_0x216a2b(0x2cf)][0x3])!==0x0&&_0x837258(_0x3a2c13,this['_mask']);}if(this[_0x216a2b(0x2b3)]>0x7){this[_0x216a2b(0x16a)](_0x3a2c13,_0x5dab95);return;}if(this['_compressed']){this['_state']=_0x58e0c9,this['decompress'](_0x3a2c13,_0x5dab95);return;}_0x3a2c13[_0x216a2b(0x17b)]&&(this[_0x216a2b(0x1d3)]=this[_0x216a2b(0x275)],this[_0x216a2b(0x18a)][_0x216a2b(0x29c)](_0x3a2c13)),this[_0x216a2b(0x16e)](_0x5dab95);}['decompress'](_0x405d09,_0x359890){const _0x3d7bfe=_0x44e51b;this[_0x3d7bfe(0x1a8)][_0x5bfe7c[_0x3d7bfe(0x242)]][_0x3d7bfe(0x1e8)](_0x405d09,this['_fin'],(_0x10f0a4,_0x4a17c3)=>{const _0x541203=_0x3d7bfe;if(_0x10f0a4)return _0x359890(_0x10f0a4);if(_0x4a17c3['length']){if(this[_0x541203(0x1d3)]+=_0x4a17c3[_0x541203(0x17b)],this[_0x541203(0x1d3)]>this[_0x541203(0x2c9)]&&this[_0x541203(0x2c9)]>0x0){const _0x44d7ae=this['createError'](RangeError,_0x541203(0x2a2),!0x1,0x3f1,_0x541203(0x216));_0x359890(_0x44d7ae);return;}this['_fragments'][_0x541203(0x29c)](_0x4a17c3);}this['dataMessage'](_0x359890),this[_0x541203(0x1a6)]===_0xdc86fe&&this[_0x541203(0x1ad)](_0x359890);});}[_0x44e51b(0x16e)](_0x564ed8){const _0x381325=_0x44e51b;if(!this[_0x381325(0x2c0)]){this[_0x381325(0x1a6)]=_0xdc86fe;return;}const _0x44ee93=this['_messageLength'],_0x1b3c01=this[_0x381325(0x18a)];if(this[_0x381325(0x275)]=0x0,this[_0x381325(0x1d3)]=0x0,this[_0x381325(0x1c3)]=0x0,this[_0x381325(0x18a)]=[],this[_0x381325(0x2b3)]===0x2){let _0x38219e;this[_0x381325(0x229)]===_0x381325(0x211)?_0x38219e=_0x3c9d9c(_0x1b3c01,_0x44ee93):this[_0x381325(0x229)]===_0x381325(0x281)?_0x38219e=_0x503557(_0x3c9d9c(_0x1b3c01,_0x44ee93)):this[_0x381325(0x229)]===_0x381325(0x26f)?_0x38219e=new Blob(_0x1b3c01):_0x38219e=_0x1b3c01,this['_allowSynchronousEvents']?(this[_0x381325(0x21c)]('message',_0x38219e,!0x0),this[_0x381325(0x1a6)]=_0xdc86fe):(this[_0x381325(0x1a6)]=_0x3c5db2,setImmediate(()=>{const _0x12f2db=_0x381325;this['emit'](_0x12f2db(0x24f),_0x38219e,!0x0),this[_0x12f2db(0x1a6)]=_0xdc86fe,this[_0x12f2db(0x1ad)](_0x564ed8);}));}else{const _0x1a4347=_0x3c9d9c(_0x1b3c01,_0x44ee93);if(!this[_0x381325(0x1eb)]&&!_0x1a1841(_0x1a4347)){const _0x196403=this[_0x381325(0x1e7)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x381325(0x30e));_0x564ed8(_0x196403);return;}this[_0x381325(0x1a6)]===_0x58e0c9||this[_0x381325(0x20e)]?(this[_0x381325(0x21c)](_0x381325(0x24f),_0x1a4347,!0x1),this[_0x381325(0x1a6)]=_0xdc86fe):(this[_0x381325(0x1a6)]=_0x3c5db2,setImmediate(()=>{const _0x42c6b4=_0x381325;this['emit'](_0x42c6b4(0x24f),_0x1a4347,!0x1),this['_state']=_0xdc86fe,this[_0x42c6b4(0x1ad)](_0x564ed8);}));}}[_0x44e51b(0x16a)](_0xbdc747,_0x3d7180){const _0x1474a6=_0x44e51b;if(this[_0x1474a6(0x2b3)]===0x8){if(_0xbdc747[_0x1474a6(0x17b)]===0x0)this['_loop']=!0x1,this['emit']('conclude',0x3ed,_0x4b1913),this['end']();else{const _0x4dca25=_0xbdc747[_0x1474a6(0x25d)](0x0);if(!_0x433e22(_0x4dca25)){const _0x153e58=this[_0x1474a6(0x1e7)](RangeError,_0x1474a6(0x203)+_0x4dca25,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x3d7180(_0x153e58);return;}const _0x161757=new _0x4bf8e4(_0xbdc747[_0x1474a6(0x296)],_0xbdc747[_0x1474a6(0x218)]+0x2,_0xbdc747[_0x1474a6(0x17b)]-0x2);if(!this['_skipUTF8Validation']&&!_0x1a1841(_0x161757)){const _0x58671c=this['createError'](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x1474a6(0x30e));_0x3d7180(_0x58671c);return;}this[_0x1474a6(0x209)]=!0x1,this['emit'](_0x1474a6(0x1fa),_0x4dca25,_0x161757),this[_0x1474a6(0x2ea)]();}this[_0x1474a6(0x1a6)]=_0xdc86fe;return;}this[_0x1474a6(0x20e)]?(this['emit'](this[_0x1474a6(0x2b3)]===0x9?_0x1474a6(0x17d):_0x1474a6(0x20d),_0xbdc747),this[_0x1474a6(0x1a6)]=_0xdc86fe):(this[_0x1474a6(0x1a6)]=_0x3c5db2,setImmediate(()=>{const _0x2ff4d8=_0x1474a6;this['emit'](this['_opcode']===0x9?_0x2ff4d8(0x17d):_0x2ff4d8(0x20d),_0xbdc747),this[_0x2ff4d8(0x1a6)]=_0xdc86fe,this[_0x2ff4d8(0x1ad)](_0x3d7180);}));}[_0x44e51b(0x1e7)](_0x483fc6,_0x180271,_0x3291b9,_0xbb43db,_0x3ae502){const _0x2a001f=_0x44e51b;this[_0x2a001f(0x209)]=!0x1,this[_0x2a001f(0x2fb)]=!0x0;const _0x269115=new _0x483fc6(_0x3291b9?_0x2a001f(0x270)+_0x180271:_0x180271);return Error[_0x2a001f(0x250)](_0x269115,this[_0x2a001f(0x1e7)]),_0x269115[_0x2a001f(0x1a3)]=_0x3ae502,_0x269115[_0x10f2be]=_0xbb43db,_0x269115;}}return Se=_0x3388c9,Se;}var Ee,Xe;function ft(){const _0x33d55a=_0x4a4417;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x212a88}=oe,{randomFillSync:_0x44bd0e}=Le,_0x545108=he(),{EMPTY_BUFFER:_0x3fea62,kWebSocket:_0x30940a,NOOP:_0x3c456a}=H(),{isBlob:_0x1bbec2,isValidStatusCode:_0x4f30db}=ae(),{mask:_0x332555,toBuffer:_0x4dd924}=ce(),_0x57214a=Symbol(_0x33d55a(0x27e)),_0xc28bbc=Buffer[_0x33d55a(0x1e9)](0x4),_0x27b68c=0x8*0x400;let _0x9f2178,_0x1ccd82=_0x27b68c;const _0x30488f=0x0,_0x30b55e=0x1,_0x242f7e=0x2;class _0x215b93{constructor(_0x320671,_0x7b189e,_0xd4c1c0){const _0x4580fc=_0x33d55a;this[_0x4580fc(0x1a8)]=_0x7b189e||{},_0xd4c1c0&&(this[_0x4580fc(0x262)]=_0xd4c1c0,this[_0x4580fc(0x2a6)]=Buffer[_0x4580fc(0x1e9)](0x4)),this['_socket']=_0x320671,this['_firstFragment']=!0x0,this[_0x4580fc(0x2ee)]=!0x1,this[_0x4580fc(0x31b)]=0x0,this[_0x4580fc(0x214)]=[],this[_0x4580fc(0x1a6)]=_0x30488f,this[_0x4580fc(0x221)]=_0x3c456a,this[_0x30940a]=void 0x0;}static[_0x33d55a(0x255)](_0x48b99c,_0x4d7d6f){const _0xd6047f=_0x33d55a;let _0x22d246,_0x1cd0dd=!0x1,_0x56cbd5=0x2,_0x3642d9=!0x1;_0x4d7d6f[_0xd6047f(0x201)]&&(_0x22d246=_0x4d7d6f[_0xd6047f(0x276)]||_0xc28bbc,_0x4d7d6f[_0xd6047f(0x2aa)]?_0x4d7d6f[_0xd6047f(0x2aa)](_0x22d246):(_0x1ccd82===_0x27b68c&&(_0x9f2178===void 0x0&&(_0x9f2178=Buffer['alloc'](_0x27b68c)),_0x44bd0e(_0x9f2178,0x0,_0x27b68c),_0x1ccd82=0x0),_0x22d246[0x0]=_0x9f2178[_0x1ccd82++],_0x22d246[0x1]=_0x9f2178[_0x1ccd82++],_0x22d246[0x2]=_0x9f2178[_0x1ccd82++],_0x22d246[0x3]=_0x9f2178[_0x1ccd82++]),_0x3642d9=(_0x22d246[0x0]|_0x22d246[0x1]|_0x22d246[0x2]|_0x22d246[0x3])===0x0,_0x56cbd5=0x6);let _0x3eeddd;typeof _0x48b99c==_0xd6047f(0x2da)?(!_0x4d7d6f['mask']||_0x3642d9)&&_0x4d7d6f[_0x57214a]!==void 0x0?_0x3eeddd=_0x4d7d6f[_0x57214a]:(_0x48b99c=Buffer[_0xd6047f(0x1b4)](_0x48b99c),_0x3eeddd=_0x48b99c[_0xd6047f(0x17b)]):(_0x3eeddd=_0x48b99c[_0xd6047f(0x17b)],_0x1cd0dd=_0x4d7d6f[_0xd6047f(0x201)]&&_0x4d7d6f['readOnly']&&!_0x3642d9);let _0x30359c=_0x3eeddd;_0x3eeddd>=0x10000?(_0x56cbd5+=0x8,_0x30359c=0x7f):_0x3eeddd>0x7d&&(_0x56cbd5+=0x2,_0x30359c=0x7e);const _0x48fb2b=Buffer[_0xd6047f(0x2ae)](_0x1cd0dd?_0x3eeddd+_0x56cbd5:_0x56cbd5);return _0x48fb2b[0x0]=_0x4d7d6f[_0xd6047f(0x17c)]?_0x4d7d6f[_0xd6047f(0x1f4)]|0x80:_0x4d7d6f[_0xd6047f(0x1f4)],_0x4d7d6f[_0xd6047f(0x2a5)]&&(_0x48fb2b[0x0]|=0x40),_0x48fb2b[0x1]=_0x30359c,_0x30359c===0x7e?_0x48fb2b[_0xd6047f(0x225)](_0x3eeddd,0x2):_0x30359c===0x7f&&(_0x48fb2b[0x2]=_0x48fb2b[0x3]=0x0,_0x48fb2b[_0xd6047f(0x213)](_0x3eeddd,0x4,0x6)),_0x4d7d6f[_0xd6047f(0x201)]?(_0x48fb2b[0x1]|=0x80,_0x48fb2b[_0x56cbd5-0x4]=_0x22d246[0x0],_0x48fb2b[_0x56cbd5-0x3]=_0x22d246[0x1],_0x48fb2b[_0x56cbd5-0x2]=_0x22d246[0x2],_0x48fb2b[_0x56cbd5-0x1]=_0x22d246[0x3],_0x3642d9?[_0x48fb2b,_0x48b99c]:_0x1cd0dd?(_0x332555(_0x48b99c,_0x22d246,_0x48fb2b,_0x56cbd5,_0x3eeddd),[_0x48fb2b]):(_0x332555(_0x48b99c,_0x22d246,_0x48b99c,0x0,_0x3eeddd),[_0x48fb2b,_0x48b99c])):[_0x48fb2b,_0x48b99c];}[_0x33d55a(0x1a1)](_0x444a3f,_0x5c8716,_0x41b685,_0x30e7b0){const _0x4fbb4d=_0x33d55a;let _0x30d5a4;if(_0x444a3f===void 0x0)_0x30d5a4=_0x3fea62;else{if(typeof _0x444a3f!='number'||!_0x4f30db(_0x444a3f))throw new TypeError(_0x4fbb4d(0x2e0));if(_0x5c8716===void 0x0||!_0x5c8716['length'])_0x30d5a4=Buffer[_0x4fbb4d(0x2ae)](0x2),_0x30d5a4['writeUInt16BE'](_0x444a3f,0x0);else{const _0x5a3b8c=Buffer['byteLength'](_0x5c8716);if(_0x5a3b8c>0x7b)throw new RangeError(_0x4fbb4d(0x2c7));_0x30d5a4=Buffer[_0x4fbb4d(0x2ae)](0x2+_0x5a3b8c),_0x30d5a4[_0x4fbb4d(0x225)](_0x444a3f,0x0),typeof _0x5c8716==_0x4fbb4d(0x2da)?_0x30d5a4[_0x4fbb4d(0x190)](_0x5c8716,0x2):_0x30d5a4[_0x4fbb4d(0x1b8)](_0x5c8716,0x2);}}const _0x54e2c7={[_0x57214a]:_0x30d5a4[_0x4fbb4d(0x17b)],'fin':!0x0,'generateMask':this[_0x4fbb4d(0x262)],'mask':_0x41b685,'maskBuffer':this[_0x4fbb4d(0x2a6)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x4fbb4d(0x1a6)]!==_0x30488f?this[_0x4fbb4d(0x2b2)]([this[_0x4fbb4d(0x261)],_0x30d5a4,!0x1,_0x54e2c7,_0x30e7b0]):this[_0x4fbb4d(0x258)](_0x215b93[_0x4fbb4d(0x255)](_0x30d5a4,_0x54e2c7),_0x30e7b0);}[_0x33d55a(0x17d)](_0x18e93f,_0x5713e1,_0x3e8599){const _0x390f02=_0x33d55a;let _0x1a4390,_0x2ec379;if(typeof _0x18e93f==_0x390f02(0x2da)?(_0x1a4390=Buffer[_0x390f02(0x2bb)](_0x18e93f),_0x2ec379=!0x1):_0x1bbec2(_0x18e93f)?(_0x1a4390=_0x18e93f['size'],_0x2ec379=!0x1):(_0x18e93f=_0x4dd924(_0x18e93f),_0x1a4390=_0x18e93f[_0x390f02(0x17b)],_0x2ec379=_0x4dd924[_0x390f02(0x2c2)]),_0x1a4390>0x7d)throw new RangeError(_0x390f02(0x21f));const _0x49878b={[_0x57214a]:_0x1a4390,'fin':!0x0,'generateMask':this[_0x390f02(0x262)],'mask':_0x5713e1,'maskBuffer':this[_0x390f02(0x2a6)],'opcode':0x9,'readOnly':_0x2ec379,'rsv1':!0x1};_0x1bbec2(_0x18e93f)?this[_0x390f02(0x1a6)]!==_0x30488f?this[_0x390f02(0x2b2)]([this['getBlobData'],_0x18e93f,!0x1,_0x49878b,_0x3e8599]):this[_0x390f02(0x288)](_0x18e93f,!0x1,_0x49878b,_0x3e8599):this[_0x390f02(0x1a6)]!==_0x30488f?this[_0x390f02(0x2b2)]([this['dispatch'],_0x18e93f,!0x1,_0x49878b,_0x3e8599]):this[_0x390f02(0x258)](_0x215b93[_0x390f02(0x255)](_0x18e93f,_0x49878b),_0x3e8599);}[_0x33d55a(0x20d)](_0x30396a,_0x42f524,_0x2a3073){const _0xa071c9=_0x33d55a;let _0x184206,_0x26eb5;if(typeof _0x30396a=='string'?(_0x184206=Buffer[_0xa071c9(0x2bb)](_0x30396a),_0x26eb5=!0x1):_0x1bbec2(_0x30396a)?(_0x184206=_0x30396a[_0xa071c9(0x1b7)],_0x26eb5=!0x1):(_0x30396a=_0x4dd924(_0x30396a),_0x184206=_0x30396a[_0xa071c9(0x17b)],_0x26eb5=_0x4dd924[_0xa071c9(0x2c2)]),_0x184206>0x7d)throw new RangeError(_0xa071c9(0x21f));const _0x1cfcc5={[_0x57214a]:_0x184206,'fin':!0x0,'generateMask':this[_0xa071c9(0x262)],'mask':_0x42f524,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x26eb5,'rsv1':!0x1};_0x1bbec2(_0x30396a)?this[_0xa071c9(0x1a6)]!==_0x30488f?this[_0xa071c9(0x2b2)]([this['getBlobData'],_0x30396a,!0x1,_0x1cfcc5,_0x2a3073]):this[_0xa071c9(0x288)](_0x30396a,!0x1,_0x1cfcc5,_0x2a3073):this[_0xa071c9(0x1a6)]!==_0x30488f?this[_0xa071c9(0x2b2)]([this['dispatch'],_0x30396a,!0x1,_0x1cfcc5,_0x2a3073]):this[_0xa071c9(0x258)](_0x215b93[_0xa071c9(0x255)](_0x30396a,_0x1cfcc5),_0x2a3073);}[_0x33d55a(0x307)](_0x34d10d,_0x1a48a4,_0xe1c29b){const _0x344a10=_0x33d55a,_0x332b86=this['_extensions'][_0x545108[_0x344a10(0x242)]];let _0x53292c=_0x1a48a4['binary']?0x2:0x1,_0x48a8c6=_0x1a48a4['compress'],_0x2e3948,_0xcf4420;typeof _0x34d10d==_0x344a10(0x2da)?(_0x2e3948=Buffer[_0x344a10(0x2bb)](_0x34d10d),_0xcf4420=!0x1):_0x1bbec2(_0x34d10d)?(_0x2e3948=_0x34d10d[_0x344a10(0x1b7)],_0xcf4420=!0x1):(_0x34d10d=_0x4dd924(_0x34d10d),_0x2e3948=_0x34d10d['length'],_0xcf4420=_0x4dd924['readOnly']),this['_firstFragment']?(this[_0x344a10(0x1f9)]=!0x1,_0x48a8c6&&_0x332b86&&_0x332b86[_0x344a10(0x1fb)][_0x332b86[_0x344a10(0x27d)]?_0x344a10(0x1d2):_0x344a10(0x21a)]&&(_0x48a8c6=_0x2e3948>=_0x332b86[_0x344a10(0x2a4)]),this[_0x344a10(0x2ee)]=_0x48a8c6):(_0x48a8c6=!0x1,_0x53292c=0x0),_0x1a48a4[_0x344a10(0x17c)]&&(this[_0x344a10(0x1f9)]=!0x0);const _0x39d7e1={[_0x57214a]:_0x2e3948,'fin':_0x1a48a4[_0x344a10(0x17c)],'generateMask':this[_0x344a10(0x262)],'mask':_0x1a48a4['mask'],'maskBuffer':this[_0x344a10(0x2a6)],'opcode':_0x53292c,'readOnly':_0xcf4420,'rsv1':_0x48a8c6};_0x1bbec2(_0x34d10d)?this[_0x344a10(0x1a6)]!==_0x30488f?this[_0x344a10(0x2b2)]([this[_0x344a10(0x288)],_0x34d10d,this[_0x344a10(0x2ee)],_0x39d7e1,_0xe1c29b]):this['getBlobData'](_0x34d10d,this['_compress'],_0x39d7e1,_0xe1c29b):this[_0x344a10(0x1a6)]!==_0x30488f?this[_0x344a10(0x2b2)]([this[_0x344a10(0x261)],_0x34d10d,this[_0x344a10(0x2ee)],_0x39d7e1,_0xe1c29b]):this[_0x344a10(0x261)](_0x34d10d,this[_0x344a10(0x2ee)],_0x39d7e1,_0xe1c29b);}[_0x33d55a(0x288)](_0x207149,_0x1fd51c,_0x3f9230,_0x10d9ed){const _0x4a1f1a=_0x33d55a;this['_bufferedBytes']+=_0x3f9230[_0x57214a],this[_0x4a1f1a(0x1a6)]=_0x242f7e,_0x207149[_0x4a1f1a(0x205)]()[_0x4a1f1a(0x238)](_0xca53=>{const _0x5c05fe=_0x4a1f1a;if(this[_0x5c05fe(0x22d)][_0x5c05fe(0x283)]){const _0x529e6b=new Error(_0x5c05fe(0x295));process[_0x5c05fe(0x294)](_0x4832f9,this,_0x529e6b,_0x10d9ed);return;}this['_bufferedBytes']-=_0x3f9230[_0x57214a];const _0x56b50e=_0x4dd924(_0xca53);_0x1fd51c?this['dispatch'](_0x56b50e,_0x1fd51c,_0x3f9230,_0x10d9ed):(this['_state']=_0x30488f,this['sendFrame'](_0x215b93[_0x5c05fe(0x255)](_0x56b50e,_0x3f9230),_0x10d9ed),this[_0x5c05fe(0x1f2)]());})['catch'](_0x432fb7=>{process['nextTick'](_0x795c88,this,_0x432fb7,_0x10d9ed);});}['dispatch'](_0x23b464,_0x36ea2f,_0x1c502a,_0x1c05a6){const _0x4d4120=_0x33d55a;if(!_0x36ea2f){this[_0x4d4120(0x258)](_0x215b93['frame'](_0x23b464,_0x1c502a),_0x1c05a6);return;}const _0x202bcf=this[_0x4d4120(0x1a8)][_0x545108[_0x4d4120(0x242)]];this[_0x4d4120(0x31b)]+=_0x1c502a[_0x57214a],this[_0x4d4120(0x1a6)]=_0x30b55e,_0x202bcf[_0x4d4120(0x26b)](_0x23b464,_0x1c502a[_0x4d4120(0x17c)],(_0x2dfe0a,_0x265ced)=>{const _0x2c007e=_0x4d4120;if(this[_0x2c007e(0x22d)][_0x2c007e(0x283)]){const _0x32d2f1=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x4832f9(this,_0x32d2f1,_0x1c05a6);return;}this[_0x2c007e(0x31b)]-=_0x1c502a[_0x57214a],this[_0x2c007e(0x1a6)]=_0x30488f,_0x1c502a[_0x2c007e(0x2c2)]=!0x1,this[_0x2c007e(0x258)](_0x215b93[_0x2c007e(0x255)](_0x265ced,_0x1c502a),_0x1c05a6),this['dequeue']();});}[_0x33d55a(0x1f2)](){const _0x31f5d8=_0x33d55a;for(;this[_0x31f5d8(0x1a6)]===_0x30488f&&this[_0x31f5d8(0x214)]['length'];){const _0x3c80f7=this[_0x31f5d8(0x214)][_0x31f5d8(0x18c)]();this[_0x31f5d8(0x31b)]-=_0x3c80f7[0x3][_0x57214a],Reflect[_0x31f5d8(0x177)](_0x3c80f7[0x0],this,_0x3c80f7[_0x31f5d8(0x25e)](0x1));}}[_0x33d55a(0x2b2)](_0x2c5a65){const _0x8841b5=_0x33d55a;this['_bufferedBytes']+=_0x2c5a65[0x3][_0x57214a],this[_0x8841b5(0x214)]['push'](_0x2c5a65);}['sendFrame'](_0x126e98,_0xfb6a3){const _0x32e086=_0x33d55a;_0x126e98[_0x32e086(0x17b)]===0x2?(this[_0x32e086(0x22d)][_0x32e086(0x2bc)](),this[_0x32e086(0x22d)][_0x32e086(0x190)](_0x126e98[0x0]),this['_socket'][_0x32e086(0x190)](_0x126e98[0x1],_0xfb6a3),this[_0x32e086(0x22d)]['uncork']()):this['_socket'][_0x32e086(0x190)](_0x126e98[0x0],_0xfb6a3);}}Ee=_0x215b93;function _0x4832f9(_0x290372,_0x3caf56,_0x1e3c0b){const _0x40334b=_0x33d55a;typeof _0x1e3c0b==_0x40334b(0x2d9)&&_0x1e3c0b(_0x3caf56);for(let _0x15c9e4=0x0;_0x15c9e4<_0x290372['_queue'][_0x40334b(0x17b)];_0x15c9e4++){const _0x2d2ab6=_0x290372[_0x40334b(0x214)][_0x15c9e4],_0x30e245=_0x2d2ab6[_0x2d2ab6['length']-0x1];typeof _0x30e245==_0x40334b(0x2d9)&&_0x30e245(_0x3caf56);}}function _0x795c88(_0xda7c86,_0x47daa3,_0x5eafd9){const _0xa3c57=_0x33d55a;_0x4832f9(_0xda7c86,_0x47daa3,_0x5eafd9),_0xda7c86[_0xa3c57(0x221)](_0x47daa3);}return Ee;}function _0x3dea(){const _0x53a738=['blob','Invalid\x20WebSocket\x20frame:\x20','getData','Injector','maxPayload','zlibDeflateOptions','_totalPayloadLength','maskBuffer','concat','acceptAsClient','WS_ERR_UNEXPECTED_MASK','emitClose','8FopcBy','create','_isServer','kByteLength','Z_SYNC_FLUSH','Origin','arraybuffer','getPayloadLength64','destroyed','getPayloadLength16','toStringTag','toString','_closeFrameSent','getBlobData','read','shouldHandle','_req','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','getInfo','timeout','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','onmessage','bind','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','binaryType','nextTick','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','buffer','species','indexOf','clientTracking','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','unshift','push','Unknown\x20parameter\x20\x22','charCodeAt','readUInt32BE','pipe','error','Max\x20payload\x20size\x20exceeded','wasClean','_threshold','rsv1','_maskBuffer','haveLength','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','unexpected-response','generateMask','text/html','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','reset','allocUnsafe','location','Invalid\x20Upgrade\x20header','WS_ERR_UNEXPECTED_RSV_2_3','enqueue','_opcode','_originalSecure','reason','kCode','number','\x20(supported\x20versions:\x20','concurrency','method','byteLength','cork','parse','WS_ERR_INVALID_OPCODE','getConfig','_fin','serverNoContextTakeover','readOnly','warn','_url','client_max_window_bits','object','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','errorEmitted','_maxPayload','13,\x208','Maximum\x20redirects\x20exceeded','kData','HTTPService','host','_mask','authorized','add','delete','The\x20URL\x27s\x20pathname\x20is\x20empty','bufferedAmount','handleEvent','kError','prototype','isValidUTF8','function','string','pow','\x22:\x20','_closeMessage','_receiver','_bufferedAmount','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','isView','digest','exports','sha1','_compressed','https:','defineProperty','clients','_httpService','end','open','callback','100816TGelwH','_compress','Sec-WebSocket-Accept:\x20','_read','_doCreateSocket','url','setSocket','37578410gFSRaE','Unsupported\x20protocol\x20version:\x20','request','_inflate','startsWith','The\x20URL\x20contains\x20a\x20fragment\x20identifier','_payloadLength','_errored','_paused','Invalid\x20Sec-WebSocket-Extensions\x20header','3239169vtxXpQ','verifyClient','protocol','acceptAsServer','next','clientNoContextTakeover','zlibInflateOptions','_redirects','_sender','send','once','_masked','origin','removeEventListener','toDisposable','sec-websocket-key','WS_ERR_INVALID_UTF8','total-length','removeAllListeners','upgrade','_no_context_takeover','listeners','value','fragments','listen','resume','_final','_autoPong','pathname','_bufferedBytes','search','addEventListener','followRedirects','ISocketService','includes','noServer','connection','Z_DEFAULT_WINDOWBITS','Module','cookie','skipUTF8Validation','setConfig','_errorEmitted','sec-websocket-protocol','options','constructor','hasOwnProperty','controlMessage','_originalHostOrSocketPath','pause','kTarget','dataMessage','format','map','_closeCode','WS_NO_BUFFER_UTIL','HTTP/1.1\x20','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','invalid\x20opcode\x200','kDone','apply','CLOSED','FIN\x20must\x20be\x20set','onopen','length','fin','ping','_destroy','UniverCollaborationClientNodePlugin','destroy','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','Plugin','RSV1\x20must\x20be\x20clear','sec-websocket-origin','get','test','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','maxRedirects','server_max_window_bits','_fragments','clientMaxWindowBits','shift','auth','username','port','write','_injector','abort','wss:','Blob','customHeaders','Invalid\x20HTTP\x20method','share','COLLABORATION_CLIENT_NODE_CONFIG_KEY','_server','Parameter\x20\x22','_max_window_bits','Cookie','9DDiihg','Opening\x20handshake\x20has\x20timed\x20out','listenerCount','registerHTTPInterceptor','close','forEach','code','__esModule','pluginName','_state','wsClientError','_extensions','needDrain','handleUpgrade','finishRequest','Invalid\x20value\x20for\x20parameter\x20\x22','startLoop','authorization','threshold','dispose','headers','kType','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','from','sec-websocket-extensions','WebSocket','size','set','isInteger','socket','replace','connect','readable','createConnection','servername','_options','setTimeout','offer','_fragmented','listening','ws:','isPaused','allowSynchronousEvents','isBuffer','target','_buffers','7577892ZcvxZu','_closeFrameReceived','client','Server\x20sent\x20an\x20invalid\x20subprotocol','GET','_registerDependencies','Observable','server_no_context_takeover','_messageLength','_removeListeners','completeUpgrade','4631590DZuPgQ','Unexpected\x20character\x20at\x20index\x20','response','readyState','createSocket','endEmitted','CLOSING','_writableState','jobs','normalizeParams','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','Upgrade','kIsForOnEventAttribute','IConfigService','UniverCollaborationClientPlugin','_readyState','construct','createError','decompress','alloc','getOwnPropertyDescriptor','_skipUTF8Validation','default','cleanup','toLowerCase','hostname','Sec-WebSocket-Origin','WS_ERR_EXPECTED_MASK','dequeue','MASK\x20must\x20be\x20clear','opcode','setNoDelay','kReason','permessage-deflate','_originalIpc','_firstFragment','conclude','params','Unexpected\x20server\x20response:\x20','31ktCBAO','concurrencyLimit','kMessage','has','mask','defaultPort','invalid\x20status\x20code\x20','_write','arrayBuffer','objectMode','CollaborationSocketService','WS_ERR_UNEXPECTED_RSV_1','_loop','call','address','href','pong','_allowSynchronousEvents','flush','path','nodebuffer','createDeflateRaw','writeUIntBE','_queue','Basic\x20','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','isIP','byteOffset','join','client_no_context_takeover','getMask','emit','MASK\x20must\x20be\x20set','Connection:\x20Upgrade','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','protocolVersion','onerror','serverMaxWindowBits','NodeCollaborationSocketService','OPEN','writeUInt16BE','password','env','kWasClean','_binaryType','extensions','finished','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','_socket','_protocol','update','Inject','pending','data','socketPath','WS_ERR_EXPECTED_FIN','websocket','values','DependentOn','then','8856642osJFUl','stream','Invalid\x20URL:\x20','accept','isArray','hash','perMessageDeflate','invalid\x20opcode\x20','Server\x20sent\x20no\x20subprotocol','extensionName','server','_closeTimer','_shouldEmitClose','registerDependencies','Unexpected\x20end\x20of\x20input','base64','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','handleProtocols','_decompress','sec-websocket-accept','collaboration-client-node.config','_readableState','message','captureStackTrace','DisposableCollection','keys','_deflate','terminate','frame','unmask','finish','sendFrame','Sec-WebSocket-Protocol:\x20','ISnapshotServerService','split','onStarting','readUInt16BE','slice','isServer','CONNECTING','dispatch','_generateMask','660536SUkcIY','removeListener','createInflateRaw','ILogService','Sec-WebSocket-Extensions:\x20','consume','\x22\x20subprotocol\x20is\x20duplicated','sec-websocket-version','compress','_configService','status-code','Sec-WebSocket-Protocol'];_0x3dea=function(){return _0x53a738;};return _0x3dea();}var xe,Ze;function It(){const _0x40fe19=_0x4a4417;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x3217fd,kListener:_0xe7e5e7}=H(),_0x5b687e=Symbol(_0x40fe19(0x2b6)),_0x4a55a4=Symbol(_0x40fe19(0x2cc)),_0x12cdb3=Symbol(_0x40fe19(0x2d6)),_0x435b65=Symbol(_0x40fe19(0x1ff)),_0x378800=Symbol(_0x40fe19(0x1f6)),_0x463b55=Symbol(_0x40fe19(0x16d)),_0x1fe536=Symbol(_0x40fe19(0x1b2)),_0x235f43=Symbol(_0x40fe19(0x228));class _0xda4802{constructor(_0x5528f8){this[_0x463b55]=null,this[_0x1fe536]=_0x5528f8;}get[_0x40fe19(0x1c9)](){return this[_0x463b55];}get['type'](){return this[_0x1fe536];}}Object[_0x40fe19(0x2e7)](_0xda4802['prototype'],_0x40fe19(0x1c9),{'enumerable':!0x0}),Object[_0x40fe19(0x2e7)](_0xda4802[_0x40fe19(0x2d7)],'type',{'enumerable':!0x0});class _0x264e62 extends _0xda4802{constructor(_0x30a245,_0x588c04={}){const _0x4033f0=_0x40fe19;super(_0x30a245),this[_0x5b687e]=_0x588c04['code']===void 0x0?0x0:_0x588c04[_0x4033f0(0x1a3)],this[_0x378800]=_0x588c04[_0x4033f0(0x2b5)]===void 0x0?'':_0x588c04[_0x4033f0(0x2b5)],this[_0x235f43]=_0x588c04[_0x4033f0(0x2a3)]===void 0x0?!0x1:_0x588c04['wasClean'];}get['code'](){return this[_0x5b687e];}get[_0x40fe19(0x2b5)](){return this[_0x378800];}get[_0x40fe19(0x2a3)](){return this[_0x235f43];}}Object[_0x40fe19(0x2e7)](_0x264e62[_0x40fe19(0x2d7)],'code',{'enumerable':!0x0}),Object[_0x40fe19(0x2e7)](_0x264e62['prototype'],_0x40fe19(0x2b5),{'enumerable':!0x0}),Object[_0x40fe19(0x2e7)](_0x264e62[_0x40fe19(0x2d7)],_0x40fe19(0x2a3),{'enumerable':!0x0});class _0x1ba00e extends _0xda4802{constructor(_0x3a8b3f,_0x589c0c={}){const _0x664e3e=_0x40fe19;super(_0x3a8b3f),this[_0x12cdb3]=_0x589c0c[_0x664e3e(0x2a1)]===void 0x0?null:_0x589c0c['error'],this[_0x435b65]=_0x589c0c['message']===void 0x0?'':_0x589c0c[_0x664e3e(0x24f)];}get[_0x40fe19(0x2a1)](){return this[_0x12cdb3];}get[_0x40fe19(0x24f)](){return this[_0x435b65];}}Object[_0x40fe19(0x2e7)](_0x1ba00e[_0x40fe19(0x2d7)],_0x40fe19(0x2a1),{'enumerable':!0x0}),Object[_0x40fe19(0x2e7)](_0x1ba00e[_0x40fe19(0x2d7)],_0x40fe19(0x24f),{'enumerable':!0x0});class _0x152a65 extends _0xda4802{constructor(_0x23c169,_0x3c5df9={}){const _0x426e58=_0x40fe19;super(_0x23c169),this[_0x4a55a4]=_0x3c5df9[_0x426e58(0x232)]===void 0x0?null:_0x3c5df9[_0x426e58(0x232)];}get[_0x40fe19(0x232)](){return this[_0x4a55a4];}}Object[_0x40fe19(0x2e7)](_0x152a65[_0x40fe19(0x2d7)],_0x40fe19(0x232),{'enumerable':!0x0}),xe={'CloseEvent':_0x264e62,'ErrorEvent':_0x1ba00e,'Event':_0xda4802,'EventTarget':{'addEventListener'(_0x4c7a9d,_0x440309,_0x2fba19={}){const _0xc35225=_0x40fe19;for(const _0x1e8750 of this[_0xc35225(0x313)](_0x4c7a9d))if(!_0x2fba19[_0x3217fd]&&_0x1e8750[_0xe7e5e7]===_0x440309&&!_0x1e8750[_0x3217fd])return;let _0x27cf87;if(_0x4c7a9d===_0xc35225(0x24f))_0x27cf87=function(_0x1b3e75,_0x3c068d){const _0x2ae035=_0xc35225,_0x183c88=new _0x152a65('message',{'data':_0x3c068d?_0x1b3e75:_0x1b3e75[_0x2ae035(0x286)]()});_0x183c88[_0x463b55]=this,_0x3eb338(_0x440309,this,_0x183c88);};else{if(_0x4c7a9d===_0xc35225(0x1a1))_0x27cf87=function(_0x14cad2,_0x9d197d){const _0x48c788=_0xc35225,_0x50fd64=new _0x264e62('close',{'code':_0x14cad2,'reason':_0x9d197d[_0x48c788(0x286)](),'wasClean':this[_0x48c788(0x1cc)]&&this['_closeFrameSent']});_0x50fd64[_0x463b55]=this,_0x3eb338(_0x440309,this,_0x50fd64);};else{if(_0x4c7a9d===_0xc35225(0x2a1))_0x27cf87=function(_0x20e654){const _0x4150b9=_0xc35225,_0x238a14=new _0x1ba00e(_0x4150b9(0x2a1),{'error':_0x20e654,'message':_0x20e654['message']});_0x238a14[_0x463b55]=this,_0x3eb338(_0x440309,this,_0x238a14);};else{if(_0x4c7a9d==='open')_0x27cf87=function(){const _0x3f1e07=_0xc35225,_0x24e305=new _0xda4802(_0x3f1e07(0x2eb));_0x24e305[_0x463b55]=this,_0x3eb338(_0x440309,this,_0x24e305);};else return;}}}_0x27cf87[_0x3217fd]=!!_0x2fba19[_0x3217fd],_0x27cf87[_0xe7e5e7]=_0x440309,_0x2fba19['once']?this[_0xc35225(0x308)](_0x4c7a9d,_0x27cf87):this['on'](_0x4c7a9d,_0x27cf87);},'removeEventListener'(_0x3d8554,_0x4aca6e){const _0xa31dd4=_0x40fe19;for(const _0x338504 of this['listeners'](_0x3d8554))if(_0x338504[_0xe7e5e7]===_0x4aca6e&&!_0x338504[_0x3217fd]){this[_0xa31dd4(0x264)](_0x3d8554,_0x338504);break;}}},'MessageEvent':_0x152a65};function _0x3eb338(_0x30a4d4,_0x44f0d2,_0x864aaa){const _0x48b873=_0x40fe19;typeof _0x30a4d4==_0x48b873(0x2c6)&&_0x30a4d4[_0x48b873(0x2d5)]?_0x30a4d4[_0x48b873(0x2d5)][_0x48b873(0x20a)](_0x30a4d4,_0x864aaa):_0x30a4d4[_0x48b873(0x20a)](_0x44f0d2,_0x864aaa);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0xb2ed13}=ae();function _0x105686(_0x21ddb3,_0x12e6f7,_0x197246){const _0x2b6184=_0x42f1;_0x21ddb3[_0x12e6f7]===void 0x0?_0x21ddb3[_0x12e6f7]=[_0x197246]:_0x21ddb3[_0x12e6f7][_0x2b6184(0x29c)](_0x197246);}function _0x1fcc5d(_0x151d04){const _0x5a5c14=_0x42f1,_0x264a23=Object[_0x5a5c14(0x27c)](null);let _0x1767bf=Object[_0x5a5c14(0x27c)](null),_0x27871f=!0x1,_0x52150d=!0x1,_0x6cf1f8=!0x1,_0x5917d9,_0x3b297f,_0x16e32f=-0x1,_0x1b3809=-0x1,_0x67e5b3=-0x1,_0x36b701=0x0;for(;_0x36b701<_0x151d04[_0x5a5c14(0x17b)];_0x36b701++)if(_0x1b3809=_0x151d04[_0x5a5c14(0x29e)](_0x36b701),_0x5917d9===void 0x0){if(_0x67e5b3===-0x1&&_0xb2ed13[_0x1b3809]===0x1)_0x16e32f===-0x1&&(_0x16e32f=_0x36b701);else{if(_0x36b701!==0x0&&(_0x1b3809===0x20||_0x1b3809===0x9))_0x67e5b3===-0x1&&_0x16e32f!==-0x1&&(_0x67e5b3=_0x36b701);else{if(_0x1b3809===0x3b||_0x1b3809===0x2c){if(_0x16e32f===-0x1)throw new SyntaxError(_0x5a5c14(0x1d7)+_0x36b701);_0x67e5b3===-0x1&&(_0x67e5b3=_0x36b701);const _0x21d8c0=_0x151d04['slice'](_0x16e32f,_0x67e5b3);_0x1b3809===0x2c?(_0x105686(_0x264a23,_0x21d8c0,_0x1767bf),_0x1767bf=Object[_0x5a5c14(0x27c)](null)):_0x5917d9=_0x21d8c0,_0x16e32f=_0x67e5b3=-0x1;}else throw new SyntaxError(_0x5a5c14(0x1d7)+_0x36b701);}}}else{if(_0x3b297f===void 0x0){if(_0x67e5b3===-0x1&&_0xb2ed13[_0x1b3809]===0x1)_0x16e32f===-0x1&&(_0x16e32f=_0x36b701);else{if(_0x1b3809===0x20||_0x1b3809===0x9)_0x67e5b3===-0x1&&_0x16e32f!==-0x1&&(_0x67e5b3=_0x36b701);else{if(_0x1b3809===0x3b||_0x1b3809===0x2c){if(_0x16e32f===-0x1)throw new SyntaxError(_0x5a5c14(0x1d7)+_0x36b701);_0x67e5b3===-0x1&&(_0x67e5b3=_0x36b701),_0x105686(_0x1767bf,_0x151d04['slice'](_0x16e32f,_0x67e5b3),!0x0),_0x1b3809===0x2c&&(_0x105686(_0x264a23,_0x5917d9,_0x1767bf),_0x1767bf=Object[_0x5a5c14(0x27c)](null),_0x5917d9=void 0x0),_0x16e32f=_0x67e5b3=-0x1;}else{if(_0x1b3809===0x3d&&_0x16e32f!==-0x1&&_0x67e5b3===-0x1)_0x3b297f=_0x151d04['slice'](_0x16e32f,_0x36b701),_0x16e32f=_0x67e5b3=-0x1;else throw new SyntaxError(_0x5a5c14(0x1d7)+_0x36b701);}}}}else{if(_0x52150d){if(_0xb2ed13[_0x1b3809]!==0x1)throw new SyntaxError(_0x5a5c14(0x1d7)+_0x36b701);_0x16e32f===-0x1?_0x16e32f=_0x36b701:_0x27871f||(_0x27871f=!0x0),_0x52150d=!0x1;}else{if(_0x6cf1f8){if(_0xb2ed13[_0x1b3809]===0x1)_0x16e32f===-0x1&&(_0x16e32f=_0x36b701);else{if(_0x1b3809===0x22&&_0x16e32f!==-0x1)_0x6cf1f8=!0x1,_0x67e5b3=_0x36b701;else{if(_0x1b3809===0x5c)_0x52150d=!0x0;else throw new SyntaxError(_0x5a5c14(0x1d7)+_0x36b701);}}}else{if(_0x1b3809===0x22&&_0x151d04['charCodeAt'](_0x36b701-0x1)===0x3d)_0x6cf1f8=!0x0;else{if(_0x67e5b3===-0x1&&_0xb2ed13[_0x1b3809]===0x1)_0x16e32f===-0x1&&(_0x16e32f=_0x36b701);else{if(_0x16e32f!==-0x1&&(_0x1b3809===0x20||_0x1b3809===0x9))_0x67e5b3===-0x1&&(_0x67e5b3=_0x36b701);else{if(_0x1b3809===0x3b||_0x1b3809===0x2c){if(_0x16e32f===-0x1)throw new SyntaxError(_0x5a5c14(0x1d7)+_0x36b701);_0x67e5b3===-0x1&&(_0x67e5b3=_0x36b701);let _0x218a36=_0x151d04[_0x5a5c14(0x25e)](_0x16e32f,_0x67e5b3);_0x27871f&&(_0x218a36=_0x218a36[_0x5a5c14(0x1bb)](/\\/g,''),_0x27871f=!0x1),_0x105686(_0x1767bf,_0x3b297f,_0x218a36),_0x1b3809===0x2c&&(_0x105686(_0x264a23,_0x5917d9,_0x1767bf),_0x1767bf=Object['create'](null),_0x5917d9=void 0x0),_0x3b297f=void 0x0,_0x16e32f=_0x67e5b3=-0x1;}else throw new SyntaxError(_0x5a5c14(0x1d7)+_0x36b701);}}}}}}}if(_0x16e32f===-0x1||_0x6cf1f8||_0x1b3809===0x20||_0x1b3809===0x9)throw new SyntaxError(_0x5a5c14(0x247));_0x67e5b3===-0x1&&(_0x67e5b3=_0x36b701);const _0x1ff911=_0x151d04['slice'](_0x16e32f,_0x67e5b3);return _0x5917d9===void 0x0?_0x105686(_0x264a23,_0x1ff911,_0x1767bf):(_0x3b297f===void 0x0?_0x105686(_0x1767bf,_0x1ff911,!0x0):_0x27871f?_0x105686(_0x1767bf,_0x3b297f,_0x1ff911[_0x5a5c14(0x1bb)](/\\/g,'')):_0x105686(_0x1767bf,_0x3b297f,_0x1ff911),_0x105686(_0x264a23,_0x5917d9,_0x1767bf)),_0x264a23;}function _0x383f95(_0x24a53f){const _0x457655=_0x42f1;return Object[_0x457655(0x252)](_0x24a53f)[_0x457655(0x170)](_0xf5d94e=>{const _0x1f28af=_0x457655;let _0xa19189=_0x24a53f[_0xf5d94e];return Array[_0x1f28af(0x23d)](_0xa19189)||(_0xa19189=[_0xa19189]),_0xa19189[_0x1f28af(0x170)](_0xea70b=>[_0xf5d94e][_0x1f28af(0x277)](Object['keys'](_0xea70b)[_0x1f28af(0x170)](_0x349d6f=>{const _0x3ef229=_0x1f28af;let _0x538054=_0xea70b[_0x349d6f];return Array['isArray'](_0x538054)||(_0x538054=[_0x538054]),_0x538054[_0x3ef229(0x170)](_0x4c6a32=>_0x4c6a32===!0x0?_0x349d6f:_0x349d6f+'='+_0x4c6a32)[_0x3ef229(0x219)](';\x20');}))[_0x1f28af(0x219)](';\x20'))['join'](',\x20');})[_0x457655(0x219)](',\x20');}return be={'format':_0x383f95,'parse':_0x1fcc5d},be;}var we,Je;function Pe(){const _0x719f7f=_0x4a4417;if(Je)return we;Je=0x1;const _0x5d8ca0=nt,_0x396485=vt,_0x811451=ot,_0x56e00b=St,_0x190bca=Et,{randomBytes:_0x3548f7,createHash:_0x3bf2df}=Le,{Duplex:_0x3a953f,Readable:_0x223c04}=oe,{URL:_0x36fae7}=xt,_0x1537ab=he(),_0x27e61a=lt(),_0x2f7fc9=ft(),{isBlob:_0x3847cc}=ae(),{BINARY_TYPES:_0x263cb2,EMPTY_BUFFER:_0x1c1011,GUID:_0xd8f8da,kForOnEventAttribute:_0x598ffa,kListener:_0x103da5,kStatusCode:_0x4b1133,kWebSocket:_0x17a33e,NOOP:_0x495d59}=H(),{EventTarget:{addEventListener:_0x452e98,removeEventListener:_0x139a4c}}=It(),{format:_0x223275,parse:_0x48d412}=ct(),{toBuffer:_0x47079a}=ce(),_0x3e2c55=0x1e*0x3e8,_0x2c54a1=Symbol('kAborted'),_0x3a02fa=[0x8,0xd],_0xb7f94=[_0x719f7f(0x260),'OPEN',_0x719f7f(0x1dc),_0x719f7f(0x178)],_0x121eb5=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x3b875e extends _0x5d8ca0{constructor(_0x316597,_0x451c77,_0x4d6198){const _0x2bbbb7=_0x719f7f;super(),this['_binaryType']=_0x263cb2[0x0],this[_0x2bbbb7(0x171)]=0x3ee,this[_0x2bbbb7(0x1cc)]=!0x1,this[_0x2bbbb7(0x287)]=!0x1,this[_0x2bbbb7(0x2dd)]=_0x1c1011,this[_0x2bbbb7(0x244)]=null,this[_0x2bbbb7(0x165)]=!0x1,this[_0x2bbbb7(0x1a8)]={},this[_0x2bbbb7(0x2fc)]=!0x1,this[_0x2bbbb7(0x22e)]='',this[_0x2bbbb7(0x1e5)]=_0x3b875e[_0x2bbbb7(0x260)],this[_0x2bbbb7(0x2de)]=null,this[_0x2bbbb7(0x306)]=null,this[_0x2bbbb7(0x22d)]=null,_0x316597!==null?(this['_bufferedAmount']=0x0,this[_0x2bbbb7(0x27d)]=!0x1,this[_0x2bbbb7(0x305)]=0x0,_0x451c77===void 0x0?_0x451c77=[]:Array[_0x2bbbb7(0x23d)](_0x451c77)||(typeof _0x451c77=='object'&&_0x451c77!==null?(_0x4d6198=_0x451c77,_0x451c77=[]):_0x451c77=[_0x451c77]),_0x23fcd6(this,_0x316597,_0x451c77,_0x4d6198)):(this[_0x2bbbb7(0x319)]=_0x4d6198['autoPong'],this[_0x2bbbb7(0x27d)]=!0x0);}get[_0x719f7f(0x293)](){const _0x77f10b=_0x719f7f;return this[_0x77f10b(0x229)];}set[_0x719f7f(0x293)](_0x54044b){const _0x31c198=_0x719f7f;_0x263cb2[_0x31c198(0x320)](_0x54044b)&&(this[_0x31c198(0x229)]=_0x54044b,this[_0x31c198(0x2de)]&&(this[_0x31c198(0x2de)][_0x31c198(0x229)]=_0x54044b));}get['bufferedAmount'](){const _0x6f21f1=_0x719f7f;return this[_0x6f21f1(0x22d)]?this[_0x6f21f1(0x22d)][_0x6f21f1(0x1dd)][_0x6f21f1(0x17b)]+this['_sender'][_0x6f21f1(0x31b)]:this['_bufferedAmount'];}get[_0x719f7f(0x22a)](){const _0xc72366=_0x719f7f;return Object[_0xc72366(0x252)](this['_extensions'])[_0xc72366(0x219)]();}get[_0x719f7f(0x1c6)](){const _0x106126=_0x719f7f;return this[_0x106126(0x2fc)];}get['onclose'](){return null;}get['onerror'](){return null;}get[_0x719f7f(0x17a)](){return null;}get[_0x719f7f(0x290)](){return null;}get[_0x719f7f(0x300)](){return this['_protocol'];}get['readyState'](){const _0x14214e=_0x719f7f;return this[_0x14214e(0x1e5)];}get[_0x719f7f(0x2f2)](){const _0x3f34e7=_0x719f7f;return this[_0x3f34e7(0x2c4)];}['setSocket'](_0xc749c,_0x5e9f21,_0x9692a7){const _0x1d1953=_0x719f7f,_0x5d25ba=new _0x27e61a({'allowSynchronousEvents':_0x9692a7[_0x1d1953(0x1c7)],'binaryType':this[_0x1d1953(0x293)],'extensions':this[_0x1d1953(0x1a8)],'isServer':this[_0x1d1953(0x27d)],'maxPayload':_0x9692a7[_0x1d1953(0x273)],'skipUTF8Validation':_0x9692a7[_0x1d1953(0x326)]}),_0x5d3666=new _0x2f7fc9(_0xc749c,this['_extensions'],_0x9692a7['generateMask']);this[_0x1d1953(0x2de)]=_0x5d25ba,this[_0x1d1953(0x306)]=_0x5d3666,this[_0x1d1953(0x22d)]=_0xc749c,_0x5d25ba[_0x17a33e]=this,_0x5d3666[_0x17a33e]=this,_0xc749c[_0x17a33e]=this,_0x5d25ba['on'](_0x1d1953(0x1fa),_0x28320f),_0x5d25ba['on']('drain',_0x2c2b8b),_0x5d25ba['on'](_0x1d1953(0x2a1),_0xfc02a8),_0x5d25ba['on']('message',_0x264edd),_0x5d25ba['on'](_0x1d1953(0x17d),_0x3658da),_0x5d25ba['on'](_0x1d1953(0x20d),_0x262414),_0x5d3666[_0x1d1953(0x221)]=_0x47c70c,_0xc749c[_0x1d1953(0x1c1)]&&_0xc749c['setTimeout'](0x0),_0xc749c['setNoDelay']&&_0xc749c[_0x1d1953(0x1f5)](),_0x5e9f21[_0x1d1953(0x17b)]>0x0&&_0xc749c[_0x1d1953(0x29b)](_0x5e9f21),_0xc749c['on'](_0x1d1953(0x1a1),_0x38b812),_0xc749c['on']('data',_0x474505),_0xc749c['on'](_0x1d1953(0x2ea),_0x213abd),_0xc749c['on'](_0x1d1953(0x2a1),_0x38bd09),this['_readyState']=_0x3b875e[_0x1d1953(0x224)],this[_0x1d1953(0x21c)](_0x1d1953(0x2eb));}[_0x719f7f(0x27a)](){const _0x57b31f=_0x719f7f;if(!this[_0x57b31f(0x22d)]){this['_readyState']=_0x3b875e[_0x57b31f(0x178)],this[_0x57b31f(0x21c)](_0x57b31f(0x1a1),this['_closeCode'],this[_0x57b31f(0x2dd)]);return;}this[_0x57b31f(0x1a8)][_0x1537ab[_0x57b31f(0x242)]]&&this[_0x57b31f(0x1a8)][_0x1537ab[_0x57b31f(0x242)]][_0x57b31f(0x1ed)](),this[_0x57b31f(0x2de)][_0x57b31f(0x310)](),this[_0x57b31f(0x1e5)]=_0x3b875e[_0x57b31f(0x178)],this['emit'](_0x57b31f(0x1a1),this[_0x57b31f(0x171)],this[_0x57b31f(0x2dd)]);}['close'](_0x1f872b,_0x50e1ac){const _0x5c7a82=_0x719f7f;if(this[_0x5c7a82(0x1d9)]!==_0x3b875e['CLOSED']){if(this[_0x5c7a82(0x1d9)]===_0x3b875e[_0x5c7a82(0x260)]){_0x35c8eb(this,this[_0x5c7a82(0x28b)],_0x5c7a82(0x174));return;}if(this[_0x5c7a82(0x1d9)]===_0x3b875e[_0x5c7a82(0x1dc)]){this[_0x5c7a82(0x287)]&&(this[_0x5c7a82(0x1cc)]||this[_0x5c7a82(0x2de)]['_writableState'][_0x5c7a82(0x2c8)])&&this[_0x5c7a82(0x22d)][_0x5c7a82(0x2ea)]();return;}this[_0x5c7a82(0x1e5)]=_0x3b875e[_0x5c7a82(0x1dc)],this['_sender'][_0x5c7a82(0x1a1)](_0x1f872b,_0x50e1ac,!this[_0x5c7a82(0x27d)],_0x4d409c=>{const _0x572bee=_0x5c7a82;_0x4d409c||(this[_0x572bee(0x287)]=!0x0,(this[_0x572bee(0x1cc)]||this[_0x572bee(0x2de)][_0x572bee(0x1dd)][_0x572bee(0x2c8)])&&this[_0x572bee(0x22d)][_0x572bee(0x2ea)]());}),_0x10741d(this);}}[_0x719f7f(0x16c)](){const _0x2d10de=_0x719f7f;this['readyState']===_0x3b875e[_0x2d10de(0x260)]||this['readyState']===_0x3b875e[_0x2d10de(0x178)]||(this[_0x2d10de(0x2fc)]=!0x0,this[_0x2d10de(0x22d)][_0x2d10de(0x16c)]());}[_0x719f7f(0x17d)](_0xc39881,_0x56d243,_0x465c92){const _0x47a2d0=_0x719f7f;if(this[_0x47a2d0(0x1d9)]===_0x3b875e[_0x47a2d0(0x260)])throw new Error(_0x47a2d0(0x187));if(typeof _0xc39881==_0x47a2d0(0x2d9)?(_0x465c92=_0xc39881,_0xc39881=_0x56d243=void 0x0):typeof _0x56d243==_0x47a2d0(0x2d9)&&(_0x465c92=_0x56d243,_0x56d243=void 0x0),typeof _0xc39881==_0x47a2d0(0x2b7)&&(_0xc39881=_0xc39881[_0x47a2d0(0x286)]()),this[_0x47a2d0(0x1d9)]!==_0x3b875e[_0x47a2d0(0x224)]){_0x5e7e55(this,_0xc39881,_0x465c92);return;}_0x56d243===void 0x0&&(_0x56d243=!this['_isServer']),this[_0x47a2d0(0x306)][_0x47a2d0(0x17d)](_0xc39881||_0x1c1011,_0x56d243,_0x465c92);}[_0x719f7f(0x20d)](_0x144670,_0x5f1940,_0x50fa88){const _0x35ea84=_0x719f7f;if(this['readyState']===_0x3b875e['CONNECTING'])throw new Error(_0x35ea84(0x187));if(typeof _0x144670==_0x35ea84(0x2d9)?(_0x50fa88=_0x144670,_0x144670=_0x5f1940=void 0x0):typeof _0x5f1940==_0x35ea84(0x2d9)&&(_0x50fa88=_0x5f1940,_0x5f1940=void 0x0),typeof _0x144670=='number'&&(_0x144670=_0x144670['toString']()),this['readyState']!==_0x3b875e[_0x35ea84(0x224)]){_0x5e7e55(this,_0x144670,_0x50fa88);return;}_0x5f1940===void 0x0&&(_0x5f1940=!this[_0x35ea84(0x27d)]),this[_0x35ea84(0x306)][_0x35ea84(0x20d)](_0x144670||_0x1c1011,_0x5f1940,_0x50fa88);}['resume'](){const _0x35ce2b=_0x719f7f;this[_0x35ce2b(0x1d9)]===_0x3b875e['CONNECTING']||this['readyState']===_0x3b875e[_0x35ce2b(0x178)]||(this['_paused']=!0x1,this[_0x35ce2b(0x2de)][_0x35ce2b(0x1dd)][_0x35ce2b(0x1a9)]||this[_0x35ce2b(0x22d)][_0x35ce2b(0x317)]());}[_0x719f7f(0x307)](_0x10f97b,_0x3a5c05,_0x391ae4){const _0x4e2deb=_0x719f7f;if(this['readyState']===_0x3b875e[_0x4e2deb(0x260)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x3a5c05=='function'&&(_0x391ae4=_0x3a5c05,_0x3a5c05={}),typeof _0x10f97b=='number'&&(_0x10f97b=_0x10f97b['toString']()),this[_0x4e2deb(0x1d9)]!==_0x3b875e['OPEN']){_0x5e7e55(this,_0x10f97b,_0x391ae4);return;}const _0x2ec30d={'binary':typeof _0x10f97b!='string','mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x3a5c05};this['_extensions'][_0x1537ab[_0x4e2deb(0x242)]]||(_0x2ec30d[_0x4e2deb(0x26b)]=!0x1),this[_0x4e2deb(0x306)]['send'](_0x10f97b||_0x1c1011,_0x2ec30d,_0x391ae4);}[_0x719f7f(0x254)](){const _0x47725f=_0x719f7f;if(this['readyState']!==_0x3b875e[_0x47725f(0x178)]){if(this[_0x47725f(0x1d9)]===_0x3b875e[_0x47725f(0x260)]){_0x35c8eb(this,this[_0x47725f(0x28b)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x47725f(0x22d)]&&(this[_0x47725f(0x1e5)]=_0x3b875e[_0x47725f(0x1dc)],this[_0x47725f(0x22d)][_0x47725f(0x180)]());}}}Object[_0x719f7f(0x2e7)](_0x3b875e,_0x719f7f(0x260),{'enumerable':!0x0,'value':_0xb7f94[_0x719f7f(0x298)](_0x719f7f(0x260))}),Object['defineProperty'](_0x3b875e[_0x719f7f(0x2d7)],_0x719f7f(0x260),{'enumerable':!0x0,'value':_0xb7f94[_0x719f7f(0x298)]('CONNECTING')}),Object[_0x719f7f(0x2e7)](_0x3b875e,_0x719f7f(0x224),{'enumerable':!0x0,'value':_0xb7f94[_0x719f7f(0x298)](_0x719f7f(0x224))}),Object['defineProperty'](_0x3b875e['prototype'],_0x719f7f(0x224),{'enumerable':!0x0,'value':_0xb7f94[_0x719f7f(0x298)](_0x719f7f(0x224))}),Object[_0x719f7f(0x2e7)](_0x3b875e,_0x719f7f(0x1dc),{'enumerable':!0x0,'value':_0xb7f94[_0x719f7f(0x298)]('CLOSING')}),Object[_0x719f7f(0x2e7)](_0x3b875e['prototype'],'CLOSING',{'enumerable':!0x0,'value':_0xb7f94[_0x719f7f(0x298)](_0x719f7f(0x1dc))}),Object[_0x719f7f(0x2e7)](_0x3b875e,_0x719f7f(0x178),{'enumerable':!0x0,'value':_0xb7f94[_0x719f7f(0x298)](_0x719f7f(0x178))}),Object[_0x719f7f(0x2e7)](_0x3b875e['prototype'],_0x719f7f(0x178),{'enumerable':!0x0,'value':_0xb7f94[_0x719f7f(0x298)]('CLOSED')}),[_0x719f7f(0x293),_0x719f7f(0x2d4),'extensions',_0x719f7f(0x1c6),'protocol','readyState',_0x719f7f(0x2f2)][_0x719f7f(0x1a2)](_0x3e31a9=>{const _0x542663=_0x719f7f;Object[_0x542663(0x2e7)](_0x3b875e['prototype'],_0x3e31a9,{'enumerable':!0x0});}),[_0x719f7f(0x2eb),'error','close',_0x719f7f(0x24f)][_0x719f7f(0x1a2)](_0x3cd6fe=>{const _0x307375=_0x719f7f;Object[_0x307375(0x2e7)](_0x3b875e[_0x307375(0x2d7)],'on'+_0x3cd6fe,{'enumerable':!0x0,'get'(){const _0x49fc9f=_0x307375;for(const _0x44b3a7 of this[_0x49fc9f(0x313)](_0x3cd6fe))if(_0x44b3a7[_0x598ffa])return _0x44b3a7[_0x103da5];return null;},'set'(_0x1f795c){const _0x39e4f7=_0x307375;for(const _0x132710 of this[_0x39e4f7(0x313)](_0x3cd6fe))if(_0x132710[_0x598ffa]){this[_0x39e4f7(0x264)](_0x3cd6fe,_0x132710);break;}typeof _0x1f795c==_0x39e4f7(0x2d9)&&this[_0x39e4f7(0x31d)](_0x3cd6fe,_0x1f795c,{[_0x598ffa]:!0x0});}});}),_0x3b875e['prototype'][_0x719f7f(0x31d)]=_0x452e98,_0x3b875e[_0x719f7f(0x2d7)][_0x719f7f(0x30b)]=_0x139a4c,we=_0x3b875e;function _0x23fcd6(_0xc1ff56,_0x210803,_0x48c4a3,_0x42c900){const _0x27577a=_0x719f7f,_0x4352f3={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x3a02fa[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x42c900,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x27577a(0x1cf),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0xc1ff56[_0x27577a(0x319)]=_0x4352f3['autoPong'],!_0x3a02fa['includes'](_0x4352f3['protocolVersion']))throw new RangeError(_0x27577a(0x2f5)+_0x4352f3[_0x27577a(0x220)]+_0x27577a(0x2b8)+_0x3a02fa[_0x27577a(0x219)](',\x20')+')');let _0x3ce9d4;if(_0x210803 instanceof _0x36fae7)_0x3ce9d4=_0x210803;else try{_0x3ce9d4=new _0x36fae7(_0x210803);}catch{throw new SyntaxError(_0x27577a(0x23b)+_0x210803);}_0x3ce9d4['protocol']==='http:'?_0x3ce9d4[_0x27577a(0x300)]=_0x27577a(0x1c5):_0x3ce9d4[_0x27577a(0x300)]===_0x27577a(0x2e6)&&(_0x3ce9d4[_0x27577a(0x300)]=_0x27577a(0x193)),_0xc1ff56['_url']=_0x3ce9d4[_0x27577a(0x20c)];const _0x20d9da=_0x3ce9d4[_0x27577a(0x300)]==='wss:',_0x456c18=_0x3ce9d4['protocol']==='ws+unix:';let _0x4a5ae8;if(_0x3ce9d4[_0x27577a(0x300)]!==_0x27577a(0x1c5)&&!_0x20d9da&&!_0x456c18?_0x4a5ae8='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':_0x456c18&&!_0x3ce9d4['pathname']?_0x4a5ae8=_0x27577a(0x2d3):_0x3ce9d4[_0x27577a(0x23e)]&&(_0x4a5ae8=_0x27577a(0x2f9)),_0x4a5ae8){const _0x622d14=new SyntaxError(_0x4a5ae8);if(_0xc1ff56[_0x27577a(0x305)]===0x0)throw _0x622d14;_0x24d687(_0xc1ff56,_0x622d14);return;}const _0x46fa59=_0x20d9da?0x1bb:0x50,_0xb0c5a2=_0x3548f7(0x10)[_0x27577a(0x286)](_0x27577a(0x248)),_0x1b47af=_0x20d9da?_0x396485[_0x27577a(0x2f6)]:_0x811451[_0x27577a(0x2f6)],_0x135e8f=new Set();let _0x24fc77;if(_0x4352f3[_0x27577a(0x1be)]=_0x4352f3[_0x27577a(0x1be)]||(_0x20d9da?_0x51fb5d:_0x86a2ba),_0x4352f3[_0x27577a(0x202)]=_0x4352f3['defaultPort']||_0x46fa59,_0x4352f3['port']=_0x3ce9d4[_0x27577a(0x18f)]||_0x46fa59,_0x4352f3[_0x27577a(0x2ce)]=_0x3ce9d4[_0x27577a(0x1ef)][_0x27577a(0x2f8)]('[')?_0x3ce9d4[_0x27577a(0x1ef)]['slice'](0x1,-0x1):_0x3ce9d4[_0x27577a(0x1ef)],_0x4352f3[_0x27577a(0x1b1)]={..._0x4352f3[_0x27577a(0x1b1)],'Sec-WebSocket-Version':_0x4352f3[_0x27577a(0x220)],'Sec-WebSocket-Key':_0xb0c5a2,'Connection':_0x27577a(0x1e1),'Upgrade':_0x27577a(0x235)},_0x4352f3[_0x27577a(0x210)]=_0x3ce9d4[_0x27577a(0x31a)]+_0x3ce9d4[_0x27577a(0x31c)],_0x4352f3[_0x27577a(0x28e)]=_0x4352f3['handshakeTimeout'],_0x4352f3[_0x27577a(0x23f)]&&(_0x24fc77=new _0x1537ab(_0x4352f3[_0x27577a(0x23f)]!==!0x0?_0x4352f3[_0x27577a(0x23f)]:{},!0x1,_0x4352f3[_0x27577a(0x273)]),_0x4352f3[_0x27577a(0x1b1)]['Sec-WebSocket-Extensions']=_0x223275({[_0x1537ab[_0x27577a(0x242)]]:_0x24fc77[_0x27577a(0x1c2)]()})),_0x48c4a3[_0x27577a(0x17b)]){for(const _0x4c345a of _0x48c4a3){if(typeof _0x4c345a!='string'||!_0x121eb5['test'](_0x4c345a)||_0x135e8f[_0x27577a(0x200)](_0x4c345a))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x135e8f[_0x27577a(0x2d1)](_0x4c345a);}_0x4352f3['headers'][_0x27577a(0x26e)]=_0x48c4a3[_0x27577a(0x219)](',');}if(_0x4352f3[_0x27577a(0x30a)]&&(_0x4352f3[_0x27577a(0x220)]<0xd?_0x4352f3[_0x27577a(0x1b1)][_0x27577a(0x1f0)]=_0x4352f3[_0x27577a(0x30a)]:_0x4352f3[_0x27577a(0x1b1)][_0x27577a(0x280)]=_0x4352f3[_0x27577a(0x30a)]),(_0x3ce9d4['username']||_0x3ce9d4['password'])&&(_0x4352f3[_0x27577a(0x18d)]=_0x3ce9d4[_0x27577a(0x18e)]+':'+_0x3ce9d4[_0x27577a(0x226)]),_0x456c18){const _0x366b3b=_0x4352f3['path'][_0x27577a(0x25b)](':');_0x4352f3[_0x27577a(0x233)]=_0x366b3b[0x0],_0x4352f3[_0x27577a(0x210)]=_0x366b3b[0x1];}let _0x179541;if(_0x4352f3[_0x27577a(0x31e)]){if(_0xc1ff56[_0x27577a(0x305)]===0x0){_0xc1ff56[_0x27577a(0x1f8)]=_0x456c18,_0xc1ff56['_originalSecure']=_0x20d9da,_0xc1ff56[_0x27577a(0x16b)]=_0x456c18?_0x4352f3['socketPath']:_0x3ce9d4[_0x27577a(0x2ce)];const _0x25178d=_0x42c900&&_0x42c900[_0x27577a(0x1b1)];if(_0x42c900={..._0x42c900,'headers':{}},_0x25178d){for(const [_0x4c9e09,_0x497c00]of Object['entries'](_0x25178d))_0x42c900['headers'][_0x4c9e09['toLowerCase']()]=_0x497c00;}}else{if(_0xc1ff56[_0x27577a(0x19f)]('redirect')===0x0){const _0x5074e8=_0x456c18?_0xc1ff56[_0x27577a(0x1f8)]?_0x4352f3[_0x27577a(0x233)]===_0xc1ff56[_0x27577a(0x16b)]:!0x1:_0xc1ff56[_0x27577a(0x1f8)]?!0x1:_0x3ce9d4[_0x27577a(0x2ce)]===_0xc1ff56['_originalHostOrSocketPath'];(!_0x5074e8||_0xc1ff56[_0x27577a(0x2b4)]&&!_0x20d9da)&&(delete _0x4352f3[_0x27577a(0x1b1)][_0x27577a(0x1ae)],delete _0x4352f3[_0x27577a(0x1b1)][_0x27577a(0x325)],_0x5074e8||delete _0x4352f3[_0x27577a(0x1b1)]['host'],_0x4352f3['auth']=void 0x0);}}_0x4352f3[_0x27577a(0x18d)]&&!_0x42c900[_0x27577a(0x1b1)][_0x27577a(0x1ae)]&&(_0x42c900[_0x27577a(0x1b1)]['authorization']=_0x27577a(0x215)+Buffer['from'](_0x4352f3[_0x27577a(0x18d)])['toString']('base64')),_0x179541=_0xc1ff56[_0x27577a(0x28b)]=_0x1b47af(_0x4352f3),_0xc1ff56[_0x27577a(0x305)]&&_0xc1ff56[_0x27577a(0x21c)]('redirect',_0xc1ff56[_0x27577a(0x2f2)],_0x179541);}else _0x179541=_0xc1ff56[_0x27577a(0x28b)]=_0x1b47af(_0x4352f3);_0x4352f3['timeout']&&_0x179541['on'](_0x27577a(0x28e),()=>{const _0x18a4d4=_0x27577a;_0x35c8eb(_0xc1ff56,_0x179541,_0x18a4d4(0x19e));}),_0x179541['on'](_0x27577a(0x2a1),_0x357e33=>{const _0xf3596f=_0x27577a;_0x179541===null||_0x179541[_0x2c54a1]||(_0x179541=_0xc1ff56[_0xf3596f(0x28b)]=null,_0x24d687(_0xc1ff56,_0x357e33));}),_0x179541['on'](_0x27577a(0x1d8),_0x44899c=>{const _0x2d4a0d=_0x27577a,_0x288e02=_0x44899c[_0x2d4a0d(0x1b1)][_0x2d4a0d(0x2af)],_0x15cf7d=_0x44899c['statusCode'];if(_0x288e02&&_0x4352f3['followRedirects']&&_0x15cf7d>=0x12c&&_0x15cf7d<0x190){if(++_0xc1ff56[_0x2d4a0d(0x305)]>_0x4352f3[_0x2d4a0d(0x188)]){_0x35c8eb(_0xc1ff56,_0x179541,_0x2d4a0d(0x2cb));return;}_0x179541[_0x2d4a0d(0x192)]();let _0x5539a0;try{_0x5539a0=new _0x36fae7(_0x288e02,_0x210803);}catch{const _0x43cc0a=new SyntaxError('Invalid\x20URL:\x20'+_0x288e02);_0x24d687(_0xc1ff56,_0x43cc0a);return;}_0x23fcd6(_0xc1ff56,_0x5539a0,_0x48c4a3,_0x42c900);}else _0xc1ff56['emit'](_0x2d4a0d(0x2a9),_0x179541,_0x44899c)||_0x35c8eb(_0xc1ff56,_0x179541,_0x2d4a0d(0x1fc)+_0x44899c['statusCode']);}),_0x179541['on'](_0x27577a(0x311),(_0xcef594,_0x15ad65,_0x1ab0e1)=>{const _0x1fb057=_0x27577a;if(_0xc1ff56['emit'](_0x1fb057(0x311),_0xcef594),_0xc1ff56[_0x1fb057(0x1d9)]!==_0x3b875e[_0x1fb057(0x260)])return;_0x179541=_0xc1ff56[_0x1fb057(0x28b)]=null;const _0x20be3f=_0xcef594['headers'][_0x1fb057(0x311)];if(_0x20be3f===void 0x0||_0x20be3f[_0x1fb057(0x1ee)]()!=='websocket'){_0x35c8eb(_0xc1ff56,_0x15ad65,_0x1fb057(0x2b0));return;}const _0x3abb5a=_0x3bf2df(_0x1fb057(0x2e4))[_0x1fb057(0x22f)](_0xb0c5a2+_0xd8f8da)[_0x1fb057(0x2e2)](_0x1fb057(0x248));if(_0xcef594[_0x1fb057(0x1b1)][_0x1fb057(0x24c)]!==_0x3abb5a){_0x35c8eb(_0xc1ff56,_0x15ad65,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x522c36=_0xcef594[_0x1fb057(0x1b1)][_0x1fb057(0x166)];let _0x548e2b;if(_0x522c36!==void 0x0?_0x135e8f[_0x1fb057(0x1b7)]?_0x135e8f[_0x1fb057(0x200)](_0x522c36)||(_0x548e2b=_0x1fb057(0x1ce)):_0x548e2b='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x135e8f[_0x1fb057(0x1b7)]&&(_0x548e2b=_0x1fb057(0x241)),_0x548e2b){_0x35c8eb(_0xc1ff56,_0x15ad65,_0x548e2b);return;}_0x522c36&&(_0xc1ff56[_0x1fb057(0x22e)]=_0x522c36);const _0x51bf75=_0xcef594[_0x1fb057(0x1b1)]['sec-websocket-extensions'];if(_0x51bf75!==void 0x0){if(!_0x24fc77){_0x35c8eb(_0xc1ff56,_0x15ad65,_0x1fb057(0x22c));return;}let _0x4ae21c;try{_0x4ae21c=_0x48d412(_0x51bf75);}catch{_0x35c8eb(_0xc1ff56,_0x15ad65,_0x1fb057(0x2fd));return;}const _0x57a505=Object[_0x1fb057(0x252)](_0x4ae21c);if(_0x57a505['length']!==0x1||_0x57a505[0x0]!==_0x1537ab[_0x1fb057(0x242)]){_0x35c8eb(_0xc1ff56,_0x15ad65,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x24fc77[_0x1fb057(0x23c)](_0x4ae21c[_0x1537ab[_0x1fb057(0x242)]]);}catch{_0x35c8eb(_0xc1ff56,_0x15ad65,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0xc1ff56[_0x1fb057(0x1a8)][_0x1537ab[_0x1fb057(0x242)]]=_0x24fc77;}_0xc1ff56[_0x1fb057(0x2f3)](_0x15ad65,_0x1ab0e1,{'allowSynchronousEvents':_0x4352f3[_0x1fb057(0x1c7)],'generateMask':_0x4352f3['generateMask'],'maxPayload':_0x4352f3[_0x1fb057(0x273)],'skipUTF8Validation':_0x4352f3[_0x1fb057(0x326)]});}),_0x4352f3[_0x27577a(0x1ab)]?_0x4352f3[_0x27577a(0x1ab)](_0x179541,_0xc1ff56):_0x179541[_0x27577a(0x2ea)]();}function _0x24d687(_0x30f9d5,_0x1abfe9){const _0x1deb22=_0x719f7f;_0x30f9d5[_0x1deb22(0x1e5)]=_0x3b875e[_0x1deb22(0x1dc)],_0x30f9d5[_0x1deb22(0x165)]=!0x0,_0x30f9d5[_0x1deb22(0x21c)]('error',_0x1abfe9),_0x30f9d5[_0x1deb22(0x27a)]();}function _0x86a2ba(_0x3a2310){const _0x1378c8=_0x719f7f;return _0x3a2310[_0x1378c8(0x210)]=_0x3a2310[_0x1378c8(0x233)],_0x56e00b[_0x1378c8(0x1bc)](_0x3a2310);}function _0x51fb5d(_0x30f990){const _0x4f6173=_0x719f7f;return _0x30f990[_0x4f6173(0x210)]=void 0x0,!_0x30f990[_0x4f6173(0x1bf)]&&_0x30f990[_0x4f6173(0x1bf)]!==''&&(_0x30f990['servername']=_0x56e00b[_0x4f6173(0x217)](_0x30f990[_0x4f6173(0x2ce)])?'':_0x30f990['host']),_0x190bca[_0x4f6173(0x1bc)](_0x30f990);}function _0x35c8eb(_0xdb7082,_0x4b66a8,_0x5a1d40){const _0x44aa37=_0x719f7f;_0xdb7082['_readyState']=_0x3b875e['CLOSING'];const _0x2d3100=new Error(_0x5a1d40);Error[_0x44aa37(0x250)](_0x2d3100,_0x35c8eb),_0x4b66a8['setHeader']?(_0x4b66a8[_0x2c54a1]=!0x0,_0x4b66a8[_0x44aa37(0x192)](),_0x4b66a8[_0x44aa37(0x1ba)]&&!_0x4b66a8[_0x44aa37(0x1ba)][_0x44aa37(0x283)]&&_0x4b66a8[_0x44aa37(0x1ba)][_0x44aa37(0x180)](),process[_0x44aa37(0x294)](_0x24d687,_0xdb7082,_0x2d3100)):(_0x4b66a8['destroy'](_0x2d3100),_0x4b66a8[_0x44aa37(0x308)](_0x44aa37(0x2a1),_0xdb7082[_0x44aa37(0x21c)][_0x44aa37(0x291)](_0xdb7082,_0x44aa37(0x2a1))),_0x4b66a8[_0x44aa37(0x308)]('close',_0xdb7082[_0x44aa37(0x27a)]['bind'](_0xdb7082)));}function _0x5e7e55(_0x5d72c5,_0x5ad669,_0x4518e8){const _0x213d47=_0x719f7f;if(_0x5ad669){const _0x2e23f6=_0x3847cc(_0x5ad669)?_0x5ad669[_0x213d47(0x1b7)]:_0x47079a(_0x5ad669)['length'];_0x5d72c5[_0x213d47(0x22d)]?_0x5d72c5[_0x213d47(0x306)][_0x213d47(0x31b)]+=_0x2e23f6:_0x5d72c5[_0x213d47(0x2df)]+=_0x2e23f6;}if(_0x4518e8){const _0x248e59=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x5d72c5['readyState']+'\x20('+_0xb7f94[_0x5d72c5[_0x213d47(0x1d9)]]+')');process['nextTick'](_0x4518e8,_0x248e59);}}function _0x28320f(_0x4dc1d2,_0x4cc4bc){const _0x5bcdf6=_0x719f7f,_0x512ca6=this[_0x17a33e];_0x512ca6[_0x5bcdf6(0x1cc)]=!0x0,_0x512ca6[_0x5bcdf6(0x2dd)]=_0x4cc4bc,_0x512ca6['_closeCode']=_0x4dc1d2,_0x512ca6[_0x5bcdf6(0x22d)][_0x17a33e]!==void 0x0&&(_0x512ca6[_0x5bcdf6(0x22d)][_0x5bcdf6(0x264)](_0x5bcdf6(0x232),_0x474505),process[_0x5bcdf6(0x294)](_0x4cc6cc,_0x512ca6[_0x5bcdf6(0x22d)]),_0x4dc1d2===0x3ed?_0x512ca6[_0x5bcdf6(0x1a1)]():_0x512ca6['close'](_0x4dc1d2,_0x4cc4bc));}function _0x2c2b8b(){const _0x12ad46=_0x719f7f,_0x477102=this[_0x17a33e];_0x477102['isPaused']||_0x477102[_0x12ad46(0x22d)]['resume']();}function _0xfc02a8(_0x5713ea){const _0x4ba3ec=_0x719f7f,_0x5e7246=this[_0x17a33e];_0x5e7246[_0x4ba3ec(0x22d)][_0x17a33e]!==void 0x0&&(_0x5e7246[_0x4ba3ec(0x22d)][_0x4ba3ec(0x264)]('data',_0x474505),process[_0x4ba3ec(0x294)](_0x4cc6cc,_0x5e7246[_0x4ba3ec(0x22d)]),_0x5e7246[_0x4ba3ec(0x1a1)](_0x5713ea[_0x4b1133])),_0x5e7246[_0x4ba3ec(0x165)]||(_0x5e7246[_0x4ba3ec(0x165)]=!0x0,_0x5e7246['emit'](_0x4ba3ec(0x2a1),_0x5713ea));}function _0x2ef5bc(){const _0x1e54e6=_0x719f7f;this[_0x17a33e][_0x1e54e6(0x27a)]();}function _0x264edd(_0x10b90c,_0x19f92c){const _0x2c265e=_0x719f7f;this[_0x17a33e]['emit'](_0x2c265e(0x24f),_0x10b90c,_0x19f92c);}function _0x3658da(_0x5e289a){const _0x296682=_0x719f7f,_0x4768a5=this[_0x17a33e];_0x4768a5['_autoPong']&&_0x4768a5[_0x296682(0x20d)](_0x5e289a,!this[_0x296682(0x27d)],_0x495d59),_0x4768a5[_0x296682(0x21c)](_0x296682(0x17d),_0x5e289a);}function _0x262414(_0x11b45b){const _0xd92f2d=_0x719f7f;this[_0x17a33e][_0xd92f2d(0x21c)](_0xd92f2d(0x20d),_0x11b45b);}function _0x4cc6cc(_0x4c7ce3){const _0x4ade12=_0x719f7f;_0x4c7ce3[_0x4ade12(0x317)]();}function _0x47c70c(_0xe1f239){const _0x93516f=_0x719f7f,_0x838c42=this[_0x17a33e];_0x838c42[_0x93516f(0x1d9)]!==_0x3b875e['CLOSED']&&(_0x838c42[_0x93516f(0x1d9)]===_0x3b875e[_0x93516f(0x224)]&&(_0x838c42[_0x93516f(0x1e5)]=_0x3b875e[_0x93516f(0x1dc)],_0x10741d(_0x838c42)),this['_socket'][_0x93516f(0x2ea)](),_0x838c42[_0x93516f(0x165)]||(_0x838c42[_0x93516f(0x165)]=!0x0,_0x838c42['emit'](_0x93516f(0x2a1),_0xe1f239)));}function _0x10741d(_0x7b1f0){const _0x5e9217=_0x719f7f;_0x7b1f0[_0x5e9217(0x244)]=setTimeout(_0x7b1f0['_socket'][_0x5e9217(0x180)][_0x5e9217(0x291)](_0x7b1f0[_0x5e9217(0x22d)]),_0x3e2c55);}function _0x38b812(){const _0x5709be=_0x719f7f,_0x52f07e=this[_0x17a33e];this['removeListener'](_0x5709be(0x1a1),_0x38b812),this[_0x5709be(0x264)](_0x5709be(0x232),_0x474505),this[_0x5709be(0x264)]('end',_0x213abd),_0x52f07e['_readyState']=_0x3b875e[_0x5709be(0x1dc)];let _0x43d275;!this[_0x5709be(0x24e)][_0x5709be(0x1db)]&&!_0x52f07e[_0x5709be(0x1cc)]&&!_0x52f07e['_receiver'][_0x5709be(0x1dd)][_0x5709be(0x2c8)]&&(_0x43d275=_0x52f07e[_0x5709be(0x22d)][_0x5709be(0x289)]())!==null&&_0x52f07e[_0x5709be(0x2de)][_0x5709be(0x190)](_0x43d275),_0x52f07e['_receiver'][_0x5709be(0x2ea)](),this[_0x17a33e]=void 0x0,clearTimeout(_0x52f07e[_0x5709be(0x244)]),_0x52f07e[_0x5709be(0x2de)][_0x5709be(0x1dd)][_0x5709be(0x22b)]||_0x52f07e['_receiver'][_0x5709be(0x1dd)]['errorEmitted']?_0x52f07e[_0x5709be(0x27a)]():(_0x52f07e[_0x5709be(0x2de)]['on'](_0x5709be(0x2a1),_0x2ef5bc),_0x52f07e[_0x5709be(0x2de)]['on'](_0x5709be(0x257),_0x2ef5bc));}function _0x474505(_0x2051ac){const _0x3a9eac=_0x719f7f;this[_0x17a33e]['_receiver'][_0x3a9eac(0x190)](_0x2051ac)||this['pause']();}function _0x213abd(){const _0x283b6d=_0x719f7f,_0x1efd9e=this[_0x17a33e];_0x1efd9e[_0x283b6d(0x1e5)]=_0x3b875e[_0x283b6d(0x1dc)],_0x1efd9e['_receiver']['end'](),this[_0x283b6d(0x2ea)]();}function _0x38bd09(){const _0x4f975c=_0x719f7f,_0xac18d9=this[_0x17a33e];this[_0x4f975c(0x264)](_0x4f975c(0x2a1),_0x38bd09),this['on'](_0x4f975c(0x2a1),_0x495d59),_0xac18d9&&(_0xac18d9[_0x4f975c(0x1e5)]=_0x3b875e[_0x4f975c(0x1dc)],this[_0x4f975c(0x180)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x62f5ae}=oe;function _0x54e9e8(_0x34e0e9){const _0x150736=_0x42f1;_0x34e0e9[_0x150736(0x21c)]('close');}function _0x1719a6(){const _0xe90f6d=_0x42f1;!this[_0xe90f6d(0x283)]&&this[_0xe90f6d(0x1dd)][_0xe90f6d(0x22b)]&&this['destroy']();}function _0x357def(_0x1a391d){const _0x3d8e6e=_0x42f1;this[_0x3d8e6e(0x264)](_0x3d8e6e(0x2a1),_0x357def),this[_0x3d8e6e(0x180)](),this[_0x3d8e6e(0x19f)](_0x3d8e6e(0x2a1))===0x0&&this[_0x3d8e6e(0x21c)](_0x3d8e6e(0x2a1),_0x1a391d);}function _0x522a9d(_0x95cc66,_0x317d23){const _0x11ab4e=_0x42f1;let _0xc79084=!0x0;const _0x54dd38=new _0x62f5ae({..._0x317d23,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x95cc66['on']('message',function(_0x2fb80e,_0x5357a3){const _0x4eac54=_0x42f1,_0x4c0cde=!_0x5357a3&&_0x54dd38['_readableState'][_0x4eac54(0x206)]?_0x2fb80e['toString']():_0x2fb80e;_0x54dd38[_0x4eac54(0x29c)](_0x4c0cde)||_0x95cc66[_0x4eac54(0x16c)]();}),_0x95cc66[_0x11ab4e(0x308)](_0x11ab4e(0x2a1),function(_0x5654b4){const _0x16fa1c=_0x11ab4e;_0x54dd38[_0x16fa1c(0x283)]||(_0xc79084=!0x1,_0x54dd38[_0x16fa1c(0x180)](_0x5654b4));}),_0x95cc66[_0x11ab4e(0x308)]('close',function(){const _0x21c84f=_0x11ab4e;_0x54dd38[_0x21c84f(0x283)]||_0x54dd38[_0x21c84f(0x29c)](null);}),_0x54dd38[_0x11ab4e(0x17e)]=function(_0x4724c7,_0x5b001a){const _0x4dd0ea=_0x11ab4e;if(_0x95cc66[_0x4dd0ea(0x1d9)]===_0x95cc66[_0x4dd0ea(0x178)]){_0x5b001a(_0x4724c7),process[_0x4dd0ea(0x294)](_0x54e9e8,_0x54dd38);return;}let _0x1e8494=!0x1;_0x95cc66[_0x4dd0ea(0x308)]('error',function(_0x568438){_0x1e8494=!0x0,_0x5b001a(_0x568438);}),_0x95cc66[_0x4dd0ea(0x308)](_0x4dd0ea(0x1a1),function(){const _0xc7bc72=_0x4dd0ea;_0x1e8494||_0x5b001a(_0x4724c7),process[_0xc7bc72(0x294)](_0x54e9e8,_0x54dd38);}),_0xc79084&&_0x95cc66['terminate']();},_0x54dd38['_final']=function(_0x32f56a){const _0xbccdec=_0x11ab4e;if(_0x95cc66[_0xbccdec(0x1d9)]===_0x95cc66['CONNECTING']){_0x95cc66['once']('open',function(){const _0x4a545e=_0xbccdec;_0x54dd38[_0x4a545e(0x318)](_0x32f56a);});return;}_0x95cc66[_0xbccdec(0x22d)]!==null&&(_0x95cc66[_0xbccdec(0x22d)][_0xbccdec(0x1dd)][_0xbccdec(0x22b)]?(_0x32f56a(),_0x54dd38[_0xbccdec(0x24e)][_0xbccdec(0x1db)]&&_0x54dd38[_0xbccdec(0x180)]()):(_0x95cc66[_0xbccdec(0x22d)][_0xbccdec(0x308)]('finish',function(){_0x32f56a();}),_0x95cc66['close']()));},_0x54dd38[_0x11ab4e(0x2f0)]=function(){_0x95cc66['isPaused']&&_0x95cc66['resume']();},_0x54dd38[_0x11ab4e(0x204)]=function(_0x241a7b,_0xcdc9f8,_0x5532fc){const _0x5890d8=_0x11ab4e;if(_0x95cc66['readyState']===_0x95cc66[_0x5890d8(0x260)]){_0x95cc66[_0x5890d8(0x308)](_0x5890d8(0x2eb),function(){const _0x3fb4f0=_0x5890d8;_0x54dd38[_0x3fb4f0(0x204)](_0x241a7b,_0xcdc9f8,_0x5532fc);});return;}_0x95cc66[_0x5890d8(0x307)](_0x241a7b,_0x5532fc);},_0x54dd38['on'](_0x11ab4e(0x2ea),_0x1719a6),_0x54dd38['on'](_0x11ab4e(0x2a1),_0x357def),_0x54dd38;}return Oe=_0x522a9d,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x32acd0}=ae();function _0x15e325(_0x3448dc){const _0x19e28c=_0x42f1,_0x348027=new Set();let _0x4b0a71=-0x1,_0x8f6eb4=-0x1,_0xbfa353=0x0;for(_0xbfa353;_0xbfa353<_0x3448dc[_0x19e28c(0x17b)];_0xbfa353++){const _0x306de6=_0x3448dc[_0x19e28c(0x29e)](_0xbfa353);if(_0x8f6eb4===-0x1&&_0x32acd0[_0x306de6]===0x1)_0x4b0a71===-0x1&&(_0x4b0a71=_0xbfa353);else{if(_0xbfa353!==0x0&&(_0x306de6===0x20||_0x306de6===0x9))_0x8f6eb4===-0x1&&_0x4b0a71!==-0x1&&(_0x8f6eb4=_0xbfa353);else{if(_0x306de6===0x2c){if(_0x4b0a71===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xbfa353);_0x8f6eb4===-0x1&&(_0x8f6eb4=_0xbfa353);const _0x127004=_0x3448dc['slice'](_0x4b0a71,_0x8f6eb4);if(_0x348027[_0x19e28c(0x200)](_0x127004))throw new SyntaxError('The\x20\x22'+_0x127004+'\x22\x20subprotocol\x20is\x20duplicated');_0x348027[_0x19e28c(0x2d1)](_0x127004),_0x4b0a71=_0x8f6eb4=-0x1;}else throw new SyntaxError(_0x19e28c(0x1d7)+_0xbfa353);}}}if(_0x4b0a71===-0x1||_0x8f6eb4!==-0x1)throw new SyntaxError(_0x19e28c(0x247));const _0x5c3ce8=_0x3448dc[_0x19e28c(0x25e)](_0x4b0a71,_0xbfa353);if(_0x348027[_0x19e28c(0x200)](_0x5c3ce8))throw new SyntaxError('The\x20\x22'+_0x5c3ce8+_0x19e28c(0x269));return _0x348027[_0x19e28c(0x2d1)](_0x5c3ce8),_0x348027;}return Ce={'parse':_0x15e325},Ce;}var Te,rt;function Ft(){const _0x28f62a=_0x4a4417;if(rt)return Te;rt=0x1;const _0x491a52=nt,_0x11d21d=ot,{Duplex:_0x19f55e}=oe,{createHash:_0x5cfdd2}=Le,_0x3a37b8=ct(),_0x6f7f6=he(),_0x5645a7=At(),_0x48f087=Pe(),{GUID:_0x549785,kWebSocket:_0x290f31}=H(),_0x1877e7=/^[+/0-9A-Za-z]{22}==$/,_0x4135e0=0x0,_0x429f18=0x1,_0x269d90=0x2;class _0x4df7f6 extends _0x491a52{constructor(_0x14e003,_0xe276b4){const _0x10f274=_0x42f1;if(super(),_0x14e003={'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':_0x48f087,..._0x14e003},_0x14e003[_0x10f274(0x18f)]==null&&!_0x14e003[_0x10f274(0x243)]&&!_0x14e003[_0x10f274(0x321)]||_0x14e003[_0x10f274(0x18f)]!=null&&(_0x14e003[_0x10f274(0x243)]||_0x14e003['noServer'])||_0x14e003[_0x10f274(0x243)]&&_0x14e003[_0x10f274(0x321)])throw new TypeError(_0x10f274(0x28c));if(_0x14e003[_0x10f274(0x18f)]!=null?(this[_0x10f274(0x199)]=_0x11d21d['createServer']((_0xdba7ef,_0x2ebdef)=>{const _0xfcdc26=_0x10f274,_0x42581d=_0x11d21d['STATUS_CODES'][0x1aa];_0x2ebdef['writeHead'](0x1aa,{'Content-Length':_0x42581d[_0xfcdc26(0x17b)],'Content-Type':'text/plain'}),_0x2ebdef[_0xfcdc26(0x2ea)](_0x42581d);}),this[_0x10f274(0x199)][_0x10f274(0x316)](_0x14e003['port'],_0x14e003[_0x10f274(0x2ce)],_0x14e003['backlog'],_0xe276b4)):_0x14e003[_0x10f274(0x243)]&&(this[_0x10f274(0x199)]=_0x14e003[_0x10f274(0x243)]),this[_0x10f274(0x199)]){const _0x4d7954=this[_0x10f274(0x21c)]['bind'](this,_0x10f274(0x322));this[_0x10f274(0x1d4)]=_0x158b63(this['_server'],{'listening':this[_0x10f274(0x21c)][_0x10f274(0x291)](this,_0x10f274(0x1c4)),'error':this[_0x10f274(0x21c)][_0x10f274(0x291)](this,_0x10f274(0x2a1)),'upgrade':(_0x49e91e,_0x1e491c,_0x5f2ed1)=>{this['handleUpgrade'](_0x49e91e,_0x1e491c,_0x5f2ed1,_0x4d7954);}});}_0x14e003['perMessageDeflate']===!0x0&&(_0x14e003['perMessageDeflate']={}),_0x14e003[_0x10f274(0x299)]&&(this[_0x10f274(0x2e8)]=new Set(),this[_0x10f274(0x245)]=!0x1),this[_0x10f274(0x167)]=_0x14e003,this[_0x10f274(0x1a6)]=_0x4135e0;}[_0x28f62a(0x20b)](){const _0x7b728f=_0x28f62a;if(this['options'][_0x7b728f(0x321)])throw new Error(_0x7b728f(0x2ac));return this['_server']?this[_0x7b728f(0x199)][_0x7b728f(0x20b)]():null;}['close'](_0x49fde1){const _0x2f3eb4=_0x28f62a;if(this['_state']===_0x269d90){_0x49fde1&&this[_0x2f3eb4(0x308)](_0x2f3eb4(0x1a1),()=>{_0x49fde1(new Error('The\x20server\x20is\x20not\x20running'));}),process['nextTick'](_0x3fa7c8,this);return;}if(_0x49fde1&&this[_0x2f3eb4(0x308)](_0x2f3eb4(0x1a1),_0x49fde1),this[_0x2f3eb4(0x1a6)]!==_0x429f18){if(this[_0x2f3eb4(0x1a6)]=_0x429f18,this['options'][_0x2f3eb4(0x321)]||this[_0x2f3eb4(0x167)][_0x2f3eb4(0x243)])this[_0x2f3eb4(0x199)]&&(this[_0x2f3eb4(0x1d4)](),this['_removeListeners']=this[_0x2f3eb4(0x199)]=null),this[_0x2f3eb4(0x2e8)]?this[_0x2f3eb4(0x2e8)][_0x2f3eb4(0x1b7)]?this[_0x2f3eb4(0x245)]=!0x0:process['nextTick'](_0x3fa7c8,this):process[_0x2f3eb4(0x294)](_0x3fa7c8,this);else{const _0x4b7762=this[_0x2f3eb4(0x199)];this[_0x2f3eb4(0x1d4)](),this[_0x2f3eb4(0x1d4)]=this[_0x2f3eb4(0x199)]=null,_0x4b7762[_0x2f3eb4(0x1a1)](()=>{_0x3fa7c8(this);});}}}[_0x28f62a(0x28a)](_0x414dbc){const _0xa3cb78=_0x28f62a;if(this[_0xa3cb78(0x167)][_0xa3cb78(0x210)]){const _0x3cdd5e=_0x414dbc['url'][_0xa3cb78(0x298)]('?');if((_0x3cdd5e!==-0x1?_0x414dbc['url'][_0xa3cb78(0x25e)](0x0,_0x3cdd5e):_0x414dbc[_0xa3cb78(0x2f2)])!==this[_0xa3cb78(0x167)][_0xa3cb78(0x210)])return!0x1;}return!0x0;}[_0x28f62a(0x1aa)](_0x57280e,_0x3707b5,_0x1f3048,_0x19a282){const _0x58ed77=_0x28f62a;_0x3707b5['on'](_0x58ed77(0x2a1),_0x360d98);const _0x2bd4a0=_0x57280e['headers'][_0x58ed77(0x30d)],_0x57d0a7=_0x57280e[_0x58ed77(0x1b1)][_0x58ed77(0x311)],_0x32ebbb=+_0x57280e[_0x58ed77(0x1b1)][_0x58ed77(0x26a)];if(_0x57280e[_0x58ed77(0x2ba)]!==_0x58ed77(0x1cf)){_0x4cf3c4(this,_0x57280e,_0x3707b5,0x195,_0x58ed77(0x196));return;}if(_0x57d0a7===void 0x0||_0x57d0a7[_0x58ed77(0x1ee)]()!==_0x58ed77(0x235)){_0x4cf3c4(this,_0x57280e,_0x3707b5,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x2bd4a0===void 0x0||!_0x1877e7[_0x58ed77(0x186)](_0x2bd4a0)){_0x4cf3c4(this,_0x57280e,_0x3707b5,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x32ebbb!==0xd&&_0x32ebbb!==0x8){_0x4cf3c4(this,_0x57280e,_0x3707b5,0x190,_0x58ed77(0x1b3),{'Sec-WebSocket-Version':_0x58ed77(0x2ca)});return;}if(!this[_0x58ed77(0x28a)](_0x57280e)){_0x3c10fb(_0x3707b5,0x190);return;}const _0x4d1937=_0x57280e[_0x58ed77(0x1b1)][_0x58ed77(0x166)];let _0x40b615=new Set();if(_0x4d1937!==void 0x0)try{_0x40b615=_0x5645a7['parse'](_0x4d1937);}catch{_0x4cf3c4(this,_0x57280e,_0x3707b5,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x3c4362=_0x57280e[_0x58ed77(0x1b1)][_0x58ed77(0x1b5)],_0x338cdb={};if(this[_0x58ed77(0x167)][_0x58ed77(0x23f)]&&_0x3c4362!==void 0x0){const _0x289080=new _0x6f7f6(this['options'][_0x58ed77(0x23f)],!0x0,this[_0x58ed77(0x167)][_0x58ed77(0x273)]);try{const _0x505c73=_0x3a37b8[_0x58ed77(0x2bd)](_0x3c4362);_0x505c73[_0x6f7f6[_0x58ed77(0x242)]]&&(_0x289080[_0x58ed77(0x23c)](_0x505c73[_0x6f7f6[_0x58ed77(0x242)]]),_0x338cdb[_0x6f7f6[_0x58ed77(0x242)]]=_0x289080);}catch{_0x4cf3c4(this,_0x57280e,_0x3707b5,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this['options']['verifyClient']){const _0x5eca03={'origin':_0x57280e[_0x58ed77(0x1b1)][''+(_0x32ebbb===0x8?_0x58ed77(0x184):_0x58ed77(0x30a))],'secure':!!(_0x57280e['socket'][_0x58ed77(0x2d0)]||_0x57280e['socket']['encrypted']),'req':_0x57280e};if(this['options'][_0x58ed77(0x2ff)][_0x58ed77(0x17b)]===0x2){this[_0x58ed77(0x167)][_0x58ed77(0x2ff)](_0x5eca03,(_0x233873,_0x1b18e8,_0x149db3,_0xa1cec0)=>{const _0x3c0750=_0x58ed77;if(!_0x233873)return _0x3c10fb(_0x3707b5,_0x1b18e8||0x191,_0x149db3,_0xa1cec0);this[_0x3c0750(0x1d5)](_0x338cdb,_0x2bd4a0,_0x40b615,_0x57280e,_0x3707b5,_0x1f3048,_0x19a282);});return;}if(!this[_0x58ed77(0x167)]['verifyClient'](_0x5eca03))return _0x3c10fb(_0x3707b5,0x191);}this[_0x58ed77(0x1d5)](_0x338cdb,_0x2bd4a0,_0x40b615,_0x57280e,_0x3707b5,_0x1f3048,_0x19a282);}['completeUpgrade'](_0x420fdc,_0x81b6d2,_0x298a6c,_0x2e063c,_0x55df06,_0x22e5a1,_0x2d9fe5){const _0x5ec839=_0x28f62a;if(!_0x55df06[_0x5ec839(0x1bd)]||!_0x55df06['writable'])return _0x55df06['destroy']();if(_0x55df06[_0x290f31])throw new Error(_0x5ec839(0x1e0));if(this[_0x5ec839(0x1a6)]>_0x4135e0)return _0x3c10fb(_0x55df06,0x1f7);const _0x36ce31=['HTTP/1.1\x20101\x20Switching\x20Protocols','Upgrade:\x20websocket',_0x5ec839(0x21e),_0x5ec839(0x2ef)+_0x5cfdd2(_0x5ec839(0x2e4))[_0x5ec839(0x22f)](_0x81b6d2+_0x549785)['digest'](_0x5ec839(0x248))],_0x4a8c3d=new this[(_0x5ec839(0x167))][(_0x5ec839(0x1b6))](null,void 0x0,this[_0x5ec839(0x167)]);if(_0x298a6c['size']){const _0x22e731=this[_0x5ec839(0x167)][_0x5ec839(0x24a)]?this[_0x5ec839(0x167)]['handleProtocols'](_0x298a6c,_0x2e063c):_0x298a6c[_0x5ec839(0x236)]()['next']()[_0x5ec839(0x314)];_0x22e731&&(_0x36ce31[_0x5ec839(0x29c)](_0x5ec839(0x259)+_0x22e731),_0x4a8c3d['_protocol']=_0x22e731);}if(_0x420fdc[_0x6f7f6[_0x5ec839(0x242)]]){const _0x5e43be=_0x420fdc[_0x6f7f6[_0x5ec839(0x242)]][_0x5ec839(0x1fb)],_0x177adb=_0x3a37b8[_0x5ec839(0x16f)]({[_0x6f7f6[_0x5ec839(0x242)]]:[_0x5e43be]});_0x36ce31['push'](_0x5ec839(0x267)+_0x177adb),_0x4a8c3d[_0x5ec839(0x1a8)]=_0x420fdc;}this[_0x5ec839(0x21c)](_0x5ec839(0x1b1),_0x36ce31,_0x2e063c),_0x55df06[_0x5ec839(0x190)](_0x36ce31[_0x5ec839(0x277)]('\x0d\x0a')['join']('\x0d\x0a')),_0x55df06[_0x5ec839(0x264)](_0x5ec839(0x2a1),_0x360d98),_0x4a8c3d[_0x5ec839(0x2f3)](_0x55df06,_0x22e5a1,{'allowSynchronousEvents':this[_0x5ec839(0x167)][_0x5ec839(0x1c7)],'maxPayload':this[_0x5ec839(0x167)]['maxPayload'],'skipUTF8Validation':this['options'][_0x5ec839(0x326)]}),this[_0x5ec839(0x2e8)]&&(this[_0x5ec839(0x2e8)][_0x5ec839(0x2d1)](_0x4a8c3d),_0x4a8c3d['on'](_0x5ec839(0x1a1),()=>{const _0x265edd=_0x5ec839;this[_0x265edd(0x2e8)][_0x265edd(0x2d2)](_0x4a8c3d),this['_shouldEmitClose']&&!this[_0x265edd(0x2e8)][_0x265edd(0x1b7)]&&process['nextTick'](_0x3fa7c8,this);})),_0x2d9fe5(_0x4a8c3d,_0x2e063c);}}Te=_0x4df7f6;function _0x158b63(_0x2802c6,_0x2ea0ac){const _0x2954d3=_0x28f62a;for(const _0x2ffb05 of Object[_0x2954d3(0x252)](_0x2ea0ac))_0x2802c6['on'](_0x2ffb05,_0x2ea0ac[_0x2ffb05]);return function(){const _0x5396df=_0x2954d3;for(const _0x1edb35 of Object['keys'](_0x2ea0ac))_0x2802c6[_0x5396df(0x264)](_0x1edb35,_0x2ea0ac[_0x1edb35]);};}function _0x3fa7c8(_0x819141){const _0x3455f8=_0x28f62a;_0x819141['_state']=_0x269d90,_0x819141[_0x3455f8(0x21c)](_0x3455f8(0x1a1));}function _0x360d98(){const _0x7e04ab=_0x28f62a;this[_0x7e04ab(0x180)]();}function _0x3c10fb(_0x49c924,_0x1366bf,_0x4e9528,_0x273f7d){const _0x1b6ffb=_0x28f62a;_0x4e9528=_0x4e9528||_0x11d21d['STATUS_CODES'][_0x1366bf],_0x273f7d={'Connection':_0x1b6ffb(0x1a1),'Content-Type':_0x1b6ffb(0x2ab),'Content-Length':Buffer[_0x1b6ffb(0x2bb)](_0x4e9528),..._0x273f7d},_0x49c924['once'](_0x1b6ffb(0x257),_0x49c924['destroy']),_0x49c924[_0x1b6ffb(0x2ea)](_0x1b6ffb(0x173)+_0x1366bf+'\x20'+_0x11d21d['STATUS_CODES'][_0x1366bf]+'\x0d\x0a'+Object[_0x1b6ffb(0x252)](_0x273f7d)['map'](_0x58bc2e=>_0x58bc2e+':\x20'+_0x273f7d[_0x58bc2e])[_0x1b6ffb(0x219)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x4e9528);}function _0x4cf3c4(_0x40146e,_0x92c590,_0x468bb1,_0x18296a,_0x5d8b6f,_0x113b7c){const _0x2df1b1=_0x28f62a;if(_0x40146e['listenerCount'](_0x2df1b1(0x1a7))){const _0x2bbe99=new Error(_0x5d8b6f);Error[_0x2df1b1(0x250)](_0x2bbe99,_0x4cf3c4),_0x40146e[_0x2df1b1(0x21c)](_0x2df1b1(0x1a7),_0x2bbe99,_0x468bb1,_0x92c590);}else _0x3c10fb(_0x468bb1,_0x18296a,_0x5d8b6f,_0x113b7c);}return Te;}Ft();var jt=Object[_0x4a4417(0x1ea)],Wt=(_0x5633fe,_0x36884c,_0x5a4b71,_0x4adeb4)=>{const _0x7405fd=_0x4a4417;for(var _0x42e942=_0x4adeb4>0x1?void 0x0:_0x4adeb4?jt(_0x36884c,_0x5a4b71):_0x36884c,_0xf3c7ed=_0x5633fe[_0x7405fd(0x17b)]-0x1,_0x2328fc;_0xf3c7ed>=0x0;_0xf3c7ed--)(_0x2328fc=_0x5633fe[_0xf3c7ed])&&(_0x42e942=_0x2328fc(_0x42e942)||_0x42e942);return _0x42e942;},qt=(_0xdfcd4d,_0x2e2177)=>(_0x30e6fd,_0x4f6c77)=>_0x2e2177(_0x30e6fd,_0x4f6c77,_0xdfcd4d);let ke=class extends A['Disposable']{constructor(_0x128374){const _0x4db25e=_0x4a4417;super(),this[_0x4db25e(0x26c)]=_0x128374;}[_0x4a4417(0x1da)](_0x111a5b){const _0x57c464=_0x4a4417;var _0x4254c7;const _0x4679f2=(_0x4254c7=this[_0x57c464(0x26c)][_0x57c464(0x2bf)](fe))==null?void 0x0:_0x4254c7['customHeaders'];try{const _0x13e63b=new $t(_0x111a5b,{'headers':{..._0x4679f2}}),_0x4bc8a2=new A[(_0x57c464(0x251))]();return{'URL':_0x111a5b,'close':(_0x4eb8f5,_0x143212)=>{const _0x42b572=_0x57c464;_0x13e63b[_0x42b572(0x1a1)](_0x4eb8f5,_0x143212),_0x4bc8a2[_0x42b572(0x1b0)]();},'send':_0x3e6791=>{const _0x181ae9=_0x57c464;_0x13e63b[_0x181ae9(0x307)](_0x3e6791);},'open$':new V['Observable'](_0x3d2d7c=>{const _0xacbeb4=_0x57c464,_0x21649e=_0x5ec7ac=>_0x3d2d7c[_0xacbeb4(0x302)](_0x5ec7ac);_0x13e63b[_0xacbeb4(0x31d)](_0xacbeb4(0x2eb),_0x21649e),_0x4bc8a2[_0xacbeb4(0x2d1)](A['toDisposable'](()=>_0x13e63b[_0xacbeb4(0x30b)](_0xacbeb4(0x2eb),_0x21649e)));})['pipe'](V['share']()),'close$':new V[(_0x57c464(0x1d1))](_0xef5cc5=>{const _0x1600d3=_0x57c464,_0x46bae3=_0x6a75b4=>_0xef5cc5[_0x1600d3(0x302)](_0x6a75b4);_0x13e63b['addEventListener'](_0x1600d3(0x1a1),_0x46bae3),_0x4bc8a2[_0x1600d3(0x2d1)](A[_0x1600d3(0x30c)](()=>_0x13e63b[_0x1600d3(0x30b)]('close',_0x46bae3)));})['pipe'](V['share']()),'error$':new V['Observable'](_0x141c7d=>{const _0x4b2025=_0x57c464,_0x370bb6=_0x4a94ee=>_0x141c7d[_0x4b2025(0x302)](_0x4a94ee);_0x13e63b[_0x4b2025(0x31d)](_0x4b2025(0x2a1),_0x370bb6),_0x4bc8a2[_0x4b2025(0x2d1)](A[_0x4b2025(0x30c)](()=>_0x13e63b[_0x4b2025(0x30b)](_0x4b2025(0x2a1),_0x370bb6)));})[_0x57c464(0x2a0)](V[_0x57c464(0x197)]()),'message$':new V['Observable'](_0x2122f9=>{const _0x21bd75=_0x57c464,_0x39187c=_0x59c89d=>_0x2122f9[_0x21bd75(0x302)](_0x59c89d);_0x13e63b['addEventListener'](_0x21bd75(0x24f),_0x39187c),_0x4bc8a2[_0x21bd75(0x2d1)](A[_0x21bd75(0x30c)](()=>_0x13e63b[_0x21bd75(0x30b)](_0x21bd75(0x24f),_0x39187c)));})[_0x57c464(0x2a0)](V[_0x57c464(0x197)]())};}catch(_0x3eb6ba){return console[_0x57c464(0x2a1)](_0x3eb6ba),null;}}};ke=Wt([qt(0x0,A[_0x4a4417(0x1e3)])],ke);var Gt=Object[_0x4a4417(0x2e7)],Vt=Object[_0x4a4417(0x1ea)],Ht=(_0x4b0567,_0x2bcd7f,_0x5ead42)=>_0x2bcd7f in _0x4b0567?Gt(_0x4b0567,_0x2bcd7f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5ead42}):_0x4b0567[_0x2bcd7f]=_0x5ead42,zt=(_0x276a9b,_0x228bd9,_0x561ad3,_0x46b820)=>{const _0x3b1a2e=_0x4a4417;for(var _0x2682c0=_0x46b820>0x1?void 0x0:_0x46b820?Vt(_0x228bd9,_0x561ad3):_0x228bd9,_0xc62160=_0x276a9b[_0x3b1a2e(0x17b)]-0x1,_0x6043b9;_0xc62160>=0x0;_0xc62160--)(_0x6043b9=_0x276a9b[_0xc62160])&&(_0x2682c0=_0x6043b9(_0x2682c0)||_0x2682c0);return _0x2682c0;},Ne=(_0x1a33cf,_0x1ccf99)=>(_0x2ff1ba,_0x2e919b)=>_0x1ccf99(_0x2ff1ba,_0x2e919b,_0x1a33cf),Yt=(_0x3efe83,_0x2d9b90,_0x452a93)=>Ht(_0x3efe83,_0x2d9b90+'',_0x452a93);exports[_0x4a4417(0x17f)]=class extends A[_0x4a4417(0x182)]{constructor(_0x1b681a=Ct,_0x1f443f,_0x3d42ce,_0x19f40f){const _0xfff306=_0x4a4417;_0x1b681a['customHeaders']||_0x1f443f[_0xfff306(0x2c3)](_0xfff306(0x181)),super(),this[_0xfff306(0x26c)]=_0x3d42ce,this[_0xfff306(0x191)]=_0x19f40f,this[_0xfff306(0x26c)][_0xfff306(0x327)](fe,_0x1b681a);}[_0x4a4417(0x25c)](){const _0x2de2ee=_0x4a4417;this[_0x2de2ee(0x1d0)]();}[_0x4a4417(0x1d0)](){const _0x47b514=_0x4a4417;A[_0x47b514(0x246)](this[_0x47b514(0x191)],[[it[_0x47b514(0x31f)],{'useClass':ke}]]);}},Yt(exports['UniverCollaborationClientNodePlugin'],_0x4a4417(0x1a5),_0x4a4417(0x28f)),exports['UniverCollaborationClientNodePlugin']=zt([A[_0x4a4417(0x237)](st[_0x4a4417(0x1e4)]),Ne(0x1,A['ILogService']),Ne(0x2,A[_0x4a4417(0x1e3)]),Ne(0x3,A[_0x4a4417(0x230)](A['Injector']))],exports['UniverCollaborationClientNodePlugin']);var Kt=Object[_0x4a4417(0x1ea)],Xt=(_0x186f5f,_0x231807,_0xac7f5f,_0x41e406)=>{const _0x34d160=_0x4a4417;for(var _0x155e8a=_0x41e406>0x1?void 0x0:_0x41e406?Kt(_0x231807,_0xac7f5f):_0x231807,_0xc11d6b=_0x186f5f[_0x34d160(0x17b)]-0x1,_0x30b124;_0xc11d6b>=0x0;_0xc11d6b--)(_0x30b124=_0x186f5f[_0xc11d6b])&&(_0x155e8a=_0x30b124(_0x155e8a)||_0x155e8a);return _0x155e8a;},ne=(_0x5ef223,_0x4ae87d)=>(_0x3a1a97,_0x17d396)=>_0x4ae87d(_0x3a1a97,_0x17d396,_0x5ef223);exports['NodeCollaborationSocketService']=class extends st[_0x4a4417(0x207)]{constructor(_0x1ef6a7,_0x15057c,_0x43560e,_0x58daff,_0x3f0fd3){const _0x2a961b=_0x4a4417;super(_0x1ef6a7,_0x15057c,_0x43560e,_0x58daff,_0x3f0fd3);const _0x1e93a8=this[_0x2a961b(0x26c)]['getConfig'](fe);this[_0x2a961b(0x2e9)][_0x2a961b(0x1a0)]({'interceptor':(_0x4e20eb,_0x2a036f)=>{const _0x54cf80=_0x2a961b;var _0x75f31;const _0x56ce99=_0x4e20eb[_0x54cf80(0x1b1)];return(_0x75f31=_0x1e93a8==null?void 0x0:_0x1e93a8['customHeaders'])!=null&&_0x75f31[_0x54cf80(0x325)]&&_0x56ce99[_0x54cf80(0x1b8)](_0x54cf80(0x19c),_0x1e93a8[_0x54cf80(0x195)][_0x54cf80(0x325)]),_0x2a036f(_0x4e20eb);}});}async['createSocket'](_0x232378){const _0x419378=_0x4a4417;return this[_0x419378(0x2f1)](_0x232378);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A[_0x4a4417(0x230)](A[_0x4a4417(0x272)])),ne(0x1,A['Inject'](it[_0x4a4417(0x2cd)])),ne(0x2,A[_0x4a4417(0x1e3)]),ne(0x3,A[_0x4a4417(0x266)]),ne(0x4,Ot[_0x4a4417(0x25a)])],exports[_0x4a4417(0x223)]),exports[_0x4a4417(0x198)]=fe;