@univerjs-pro/collaboration-client-node 0.6.9-nightly.202504071607 → 0.6.9-nightly.202504091607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +7 -7
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x1bc787=_0x56b3;(function(_0x5c3458,_0x22b640){const _0x489836=_0x56b3,_0x3697c5=_0x5c3458();while(!![]){try{const _0x24a5ce=parseInt(_0x489836(0x147))/0x1*(parseInt(_0x489836(0x235))/0x2)+-parseInt(_0x489836(0x23f))/0x3*(parseInt(_0x489836(0x23b))/0x4)+-parseInt(_0x489836(0x275))/0x5*(parseInt(_0x489836(0x106))/0x6)+-parseInt(_0x489836(0x1f4))/0x7*(-parseInt(_0x489836(0x18d))/0x8)+parseInt(_0x489836(0x28a))/0x9+parseInt(_0x489836(0xec))/0xa+-parseInt(_0x489836(0xd8))/0xb;if(_0x24a5ce===_0x22b640)break;else _0x3697c5['push'](_0x3697c5['shift']());}catch(_0x36d3c8){_0x3697c5['push'](_0x3697c5['shift']());}}}(_0x399e,0x9c481));Object[_0x1bc787(0x188)](exports,Symbol[_0x1bc787(0x1cf)],{'value':_0x1bc787(0xf3)});const st=require('@univerjs-pro/collaboration-client'),A=require(_0x1bc787(0x11d)),it=require(_0x1bc787(0x266)),V=require('rxjs'),nt=require(_0x1bc787(0x181)),vt=require('https'),ot=require(_0x1bc787(0x121)),St=require(_0x1bc787(0x139)),Et=require(_0x1bc787(0x239)),Le=require(_0x1bc787(0x1ac)),oe=require(_0x1bc787(0x1e7)),xt=require(_0x1bc787(0x18f)),bt=require(_0x1bc787(0x1f9)),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe=_0x1bc787(0x11e),Ct={'customHeaders':{}};function Tt(_0x2f7dec){const _0x114d2b=_0x1bc787;return _0x2f7dec&&_0x2f7dec[_0x114d2b(0x195)]&&Object[_0x114d2b(0xcc)][_0x114d2b(0x103)]['call'](_0x2f7dec,'default')?_0x2f7dec[_0x114d2b(0x1fd)]:_0x2f7dec;}function at(_0x59c032){const _0x3212a6=_0x1bc787;if(Object[_0x3212a6(0xcc)]['hasOwnProperty'][_0x3212a6(0x27b)](_0x59c032,_0x3212a6(0x195)))return _0x59c032;var _0x4179c7=_0x59c032[_0x3212a6(0x1fd)];if(typeof _0x4179c7=='function'){var _0x45c8b2=function _0x18b47c(){const _0xf432be=_0x3212a6;return this instanceof _0x18b47c?Reflect[_0xf432be(0x1a5)](_0x4179c7,arguments,this[_0xf432be(0xfc)]):_0x4179c7[_0xf432be(0xd5)](this,arguments);};_0x45c8b2[_0x3212a6(0xcc)]=_0x4179c7[_0x3212a6(0xcc)];}else _0x45c8b2={};return Object[_0x3212a6(0x188)](_0x45c8b2,_0x3212a6(0x195),{'value':!0x0}),Object[_0x3212a6(0x192)](_0x59c032)['forEach'](function(_0x2af370){const _0x487175=_0x3212a6;var _0x5de4f3=Object[_0x487175(0x153)](_0x59c032,_0x2af370);Object[_0x487175(0x188)](_0x45c8b2,_0x2af370,_0x5de4f3[_0x487175(0x159)]?_0x5de4f3:{'enumerable':!0x0,'get':function(){return _0x59c032[_0x2af370];}});}),_0x45c8b2;}function _0x56b3(_0x223763,_0xd7a588){const _0x399e32=_0x399e();return _0x56b3=function(_0x56b3f8,_0x214376){_0x56b3f8=_0x56b3f8-0xcc;let _0x1aff44=_0x399e32[_0x56b3f8];return _0x1aff44;},_0x56b3(_0x223763,_0xd7a588);}var se={'exports':{}},ge,Ge;function H(){const _0xe8144a=_0x1bc787;if(Ge)return ge;Ge=0x1;const _0x128b32=['nodebuffer','arraybuffer',_0xe8144a(0x1e8)],_0x1a1516=typeof Blob<'u';return _0x1a1516&&_0x128b32[_0xe8144a(0x26c)](_0xe8144a(0x1df)),ge={'BINARY_TYPES':_0x128b32,'EMPTY_BUFFER':Buffer[_0xe8144a(0x13b)](0x0),'GUID':_0xe8144a(0x1a2),'hasBlob':_0x1a1516,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0xe8144a(0x184)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0xe8144a(0xe2)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x1bc787(0x19c)](Object[_0x1bc787(0x188)]({'__proto__':null,'default':Nt},Symbol['toStringTag'],{'value':_0x1bc787(0xf3)})),Lt=at(kt);var Ve;function ce(){const _0x505f6d=_0x1bc787;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0x2e66a1}=H(),_0x3f4dd0=Buffer[Symbol['species']];function _0x51f169(_0x4544db,_0x5b9e0d){const _0x1927d4=_0x56b3;if(_0x4544db[_0x1927d4(0x11b)]===0x0)return _0x2e66a1;if(_0x4544db[_0x1927d4(0x11b)]===0x1)return _0x4544db[0x0];const _0xbcfba9=Buffer[_0x1927d4(0x12b)](_0x5b9e0d);let _0x5bf0ab=0x0;for(let _0x22c298=0x0;_0x22c298<_0x4544db[_0x1927d4(0x11b)];_0x22c298++){const _0x33da6b=_0x4544db[_0x22c298];_0xbcfba9[_0x1927d4(0x256)](_0x33da6b,_0x5bf0ab),_0x5bf0ab+=_0x33da6b[_0x1927d4(0x11b)];}return _0x5bf0ab<_0x5b9e0d?new _0x3f4dd0(_0xbcfba9['buffer'],_0xbcfba9[_0x1927d4(0x219)],_0x5bf0ab):_0xbcfba9;}function _0x57c59b(_0x4e6722,_0x1d9980,_0x27f070,_0x39f9c6,_0x21bb4e){for(let _0xef83e2=0x0;_0xef83e2<_0x21bb4e;_0xef83e2++)_0x27f070[_0x39f9c6+_0xef83e2]=_0x4e6722[_0xef83e2]^_0x1d9980[_0xef83e2&0x3];}function _0x1a29fe(_0x1259b8,_0x4737c5){const _0x5344d5=_0x56b3;for(let _0x3cfcab=0x0;_0x3cfcab<_0x1259b8[_0x5344d5(0x11b)];_0x3cfcab++)_0x1259b8[_0x3cfcab]^=_0x4737c5[_0x3cfcab&0x3];}function _0xf6a57(_0x28dcc8){const _0x270483=_0x56b3;return _0x28dcc8['length']===_0x28dcc8['buffer'][_0x270483(0x161)]?_0x28dcc8[_0x270483(0x177)]:_0x28dcc8[_0x270483(0x177)]['slice'](_0x28dcc8[_0x270483(0x219)],_0x28dcc8[_0x270483(0x219)]+_0x28dcc8[_0x270483(0x11b)]);}function _0x40581c(_0x50c89b){const _0x981c40=_0x56b3;if(_0x40581c[_0x981c40(0x21a)]=!0x0,Buffer['isBuffer'](_0x50c89b))return _0x50c89b;let _0x461000;return _0x50c89b instanceof ArrayBuffer?_0x461000=new _0x3f4dd0(_0x50c89b):ArrayBuffer[_0x981c40(0x214)](_0x50c89b)?_0x461000=new _0x3f4dd0(_0x50c89b[_0x981c40(0x177)],_0x50c89b[_0x981c40(0x219)],_0x50c89b['byteLength']):(_0x461000=Buffer[_0x981c40(0x1ae)](_0x50c89b),_0x40581c['readOnly']=!0x1),_0x461000;}if(se[_0x505f6d(0x1f7)]={'concat':_0x51f169,'mask':_0x57c59b,'toArrayBuffer':_0xf6a57,'toBuffer':_0x40581c,'unmask':_0x1a29fe},!process[_0x505f6d(0x198)][_0x505f6d(0x108)])try{const _0x30fd8f=Lt;se[_0x505f6d(0x1f7)][_0x505f6d(0x21f)]=function(_0x935dec,_0x56ed69,_0x5d1903,_0x16d992,_0x245146){const _0x1ec3fc=_0x505f6d;_0x245146<0x30?_0x57c59b(_0x935dec,_0x56ed69,_0x5d1903,_0x16d992,_0x245146):_0x30fd8f[_0x1ec3fc(0x21f)](_0x935dec,_0x56ed69,_0x5d1903,_0x16d992,_0x245146);},se[_0x505f6d(0x1f7)][_0x505f6d(0x11f)]=function(_0x163fdb,_0xcdb94){const _0x2ba0e0=_0x505f6d;_0x163fdb[_0x2ba0e0(0x11b)]<0x20?_0x1a29fe(_0x163fdb,_0xcdb94):_0x30fd8f[_0x2ba0e0(0x11f)](_0x163fdb,_0xcdb94);};}catch{}return se[_0x505f6d(0x1f7)];}var ye,He;function Pt(){const _0x16c5e7=_0x1bc787;if(He)return ye;He=0x1;const _0x48c4d9=Symbol(_0x16c5e7(0x18b)),_0x3d9136=Symbol(_0x16c5e7(0x215));class _0xa56982{constructor(_0x41e6f0){const _0x2adae0=_0x16c5e7;this[_0x48c4d9]=()=>{const _0x234fc7=_0x56b3;this[_0x234fc7(0x206)]--,this[_0x3d9136]();},this[_0x2adae0(0x212)]=_0x41e6f0||0x1/0x0,this[_0x2adae0(0x190)]=[],this[_0x2adae0(0x206)]=0x0;}[_0x16c5e7(0xd2)](_0x142e03){const _0x2287b8=_0x16c5e7;this[_0x2287b8(0x190)][_0x2287b8(0x26c)](_0x142e03),this[_0x3d9136]();}[_0x3d9136](){const _0x2ba12f=_0x16c5e7;if(this['pending']!==this[_0x2ba12f(0x212)]&&this[_0x2ba12f(0x190)]['length']){const _0x1f2d7c=this['jobs'][_0x2ba12f(0x247)]();this[_0x2ba12f(0x206)]++,_0x1f2d7c(this[_0x48c4d9]);}}}return ye=_0xa56982,ye;}var ve,ze;function he(){const _0x3e416d=_0x1bc787;if(ze)return ve;ze=0x1;const _0x253a52=bt,_0x23ec03=ce(),_0x2086de=Pt(),{kStatusCode:_0x416879}=H(),_0x58e9a5=Buffer[Symbol[_0x3e416d(0x171)]],_0x465670=Buffer[_0x3e416d(0x1ae)]([0x0,0x0,0xff,0xff]),_0x33f401=Symbol(_0x3e416d(0x17e)),_0x568b34=Symbol('total-length'),_0x13b6d8=Symbol(_0x3e416d(0x1c2)),_0x4519da=Symbol(_0x3e416d(0x1d3)),_0x306aae=Symbol(_0x3e416d(0x1b9));let _0x3dfd8e;class _0x4c70e8{constructor(_0x4bd777,_0x2ebc3b,_0x23ebb9){const _0x3da3e5=_0x3e416d;if(this[_0x3da3e5(0xf6)]=_0x23ebb9|0x0,this[_0x3da3e5(0x120)]=_0x4bd777||{},this[_0x3da3e5(0x141)]=this[_0x3da3e5(0x120)][_0x3da3e5(0xcf)]!==void 0x0?this[_0x3da3e5(0x120)]['threshold']:0x400,this['_isServer']=!!_0x2ebc3b,this[_0x3da3e5(0x1db)]=null,this['_inflate']=null,this[_0x3da3e5(0x1d7)]=null,!_0x3dfd8e){const _0x589e82=this[_0x3da3e5(0x120)][_0x3da3e5(0x27a)]!==void 0x0?this[_0x3da3e5(0x120)][_0x3da3e5(0x27a)]:0xa;_0x3dfd8e=new _0x2086de(_0x589e82);}}static get[_0x3e416d(0x263)](){const _0x1a6240=_0x3e416d;return _0x1a6240(0x17e);}[_0x3e416d(0x296)](){const _0x3a5b05=_0x3e416d,_0x2bc554={};return this[_0x3a5b05(0x120)][_0x3a5b05(0xd3)]&&(_0x2bc554[_0x3a5b05(0x209)]=!0x0),this[_0x3a5b05(0x120)][_0x3a5b05(0xf0)]&&(_0x2bc554[_0x3a5b05(0x1ff)]=!0x0),this[_0x3a5b05(0x120)][_0x3a5b05(0x25c)]&&(_0x2bc554[_0x3a5b05(0x26d)]=this[_0x3a5b05(0x120)]['serverMaxWindowBits']),this['_options'][_0x3a5b05(0x1e9)]?_0x2bc554[_0x3a5b05(0x19b)]=this[_0x3a5b05(0x120)][_0x3a5b05(0x1e9)]:this['_options']['clientMaxWindowBits']==null&&(_0x2bc554['client_max_window_bits']=!0x0),_0x2bc554;}[_0x3e416d(0x27c)](_0x5825b9){const _0xebaa78=_0x3e416d;return _0x5825b9=this[_0xebaa78(0x283)](_0x5825b9),this['params']=this[_0xebaa78(0x1c8)]?this[_0xebaa78(0x24a)](_0x5825b9):this[_0xebaa78(0x179)](_0x5825b9),this[_0xebaa78(0x1d7)];}[_0x3e416d(0x14b)](){const _0x478c9a=_0x3e416d;if(this[_0x478c9a(0x246)]&&(this[_0x478c9a(0x246)]['close'](),this[_0x478c9a(0x246)]=null),this[_0x478c9a(0x1db)]){const _0xeb82eb=this['_deflate'][_0x13b6d8];this[_0x478c9a(0x1db)][_0x478c9a(0x211)](),this[_0x478c9a(0x1db)]=null,_0xeb82eb&&_0xeb82eb(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}['acceptAsServer'](_0x283b16){const _0x17a4a9=_0x3e416d,_0x4db7cd=this[_0x17a4a9(0x120)],_0x22fb68=_0x283b16[_0x17a4a9(0x1b0)](_0x2f6864=>!(_0x4db7cd['serverNoContextTakeover']===!0x1&&_0x2f6864[_0x17a4a9(0x209)]||_0x2f6864[_0x17a4a9(0x26d)]&&(_0x4db7cd[_0x17a4a9(0x25c)]===!0x1||typeof _0x4db7cd[_0x17a4a9(0x25c)]==_0x17a4a9(0xf5)&&_0x4db7cd[_0x17a4a9(0x25c)]>_0x2f6864[_0x17a4a9(0x26d)])||typeof _0x4db7cd[_0x17a4a9(0x1e9)]==_0x17a4a9(0xf5)&&!_0x2f6864[_0x17a4a9(0x19b)]));if(!_0x22fb68)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x4db7cd[_0x17a4a9(0xd3)]&&(_0x22fb68[_0x17a4a9(0x209)]=!0x0),_0x4db7cd[_0x17a4a9(0xf0)]&&(_0x22fb68[_0x17a4a9(0x1ff)]=!0x0),typeof _0x4db7cd[_0x17a4a9(0x25c)]==_0x17a4a9(0xf5)&&(_0x22fb68[_0x17a4a9(0x26d)]=_0x4db7cd[_0x17a4a9(0x25c)]),typeof _0x4db7cd[_0x17a4a9(0x1e9)]==_0x17a4a9(0xf5)?_0x22fb68[_0x17a4a9(0x19b)]=_0x4db7cd[_0x17a4a9(0x1e9)]:(_0x22fb68[_0x17a4a9(0x19b)]===!0x0||_0x4db7cd['clientMaxWindowBits']===!0x1)&&delete _0x22fb68[_0x17a4a9(0x19b)],_0x22fb68;}[_0x3e416d(0x179)](_0x2fc11a){const _0x464a18=_0x3e416d,_0x14aa3a=_0x2fc11a[0x0];if(this[_0x464a18(0x120)][_0x464a18(0xf0)]===!0x1&&_0x14aa3a['client_no_context_takeover'])throw new Error(_0x464a18(0x1a0));if(!_0x14aa3a['client_max_window_bits'])typeof this[_0x464a18(0x120)][_0x464a18(0x1e9)]==_0x464a18(0xf5)&&(_0x14aa3a[_0x464a18(0x19b)]=this['_options'][_0x464a18(0x1e9)]);else{if(this['_options'][_0x464a18(0x1e9)]===!0x1||typeof this[_0x464a18(0x120)]['clientMaxWindowBits']==_0x464a18(0xf5)&&_0x14aa3a[_0x464a18(0x19b)]>this[_0x464a18(0x120)][_0x464a18(0x1e9)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x14aa3a;}[_0x3e416d(0x283)](_0x52b429){const _0x22a11f=_0x3e416d;return _0x52b429[_0x22a11f(0x135)](_0x21857b=>{const _0x249523=_0x22a11f;Object['keys'](_0x21857b)[_0x249523(0x135)](_0x19a26b=>{const _0x5db28b=_0x249523;let _0x23fffa=_0x21857b[_0x19a26b];if(_0x23fffa[_0x5db28b(0x11b)]>0x1)throw new Error(_0x5db28b(0x1ce)+_0x19a26b+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x23fffa=_0x23fffa[0x0],_0x19a26b==='client_max_window_bits'){if(_0x23fffa!==!0x0){const _0x1f59f8=+_0x23fffa;if(!Number[_0x5db28b(0x10c)](_0x1f59f8)||_0x1f59f8<0x8||_0x1f59f8>0xf)throw new TypeError(_0x5db28b(0x1f2)+_0x19a26b+_0x5db28b(0x12e)+_0x23fffa);_0x23fffa=_0x1f59f8;}else{if(!this[_0x5db28b(0x1c8)])throw new TypeError(_0x5db28b(0x1f2)+_0x19a26b+'\x22:\x20'+_0x23fffa);}}else{if(_0x19a26b===_0x5db28b(0x26d)){const _0x287fa5=+_0x23fffa;if(!Number['isInteger'](_0x287fa5)||_0x287fa5<0x8||_0x287fa5>0xf)throw new TypeError(_0x5db28b(0x1f2)+_0x19a26b+_0x5db28b(0x12e)+_0x23fffa);_0x23fffa=_0x287fa5;}else{if(_0x19a26b===_0x5db28b(0x1ff)||_0x19a26b===_0x5db28b(0x209)){if(_0x23fffa!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x19a26b+_0x5db28b(0x12e)+_0x23fffa);}else throw new Error(_0x5db28b(0x170)+_0x19a26b+'\x22');}}_0x21857b[_0x19a26b]=_0x23fffa;});}),_0x52b429;}[_0x3e416d(0x285)](_0x3f65cc,_0x39a1da,_0x24755d){const _0x5f2ae7=_0x3e416d;_0x3dfd8e[_0x5f2ae7(0xd2)](_0x4f7720=>{const _0x432f36=_0x5f2ae7;this[_0x432f36(0x1f1)](_0x3f65cc,_0x39a1da,(_0x5914a4,_0x34a983)=>{_0x4f7720(),_0x24755d(_0x5914a4,_0x34a983);});});}['compress'](_0x5952bc,_0x5997f5,_0xf15643){const _0x3f204a=_0x3e416d;_0x3dfd8e[_0x3f204a(0xd2)](_0x43e8ac=>{const _0x35ecb0=_0x3f204a;this[_0x35ecb0(0x21e)](_0x5952bc,_0x5997f5,(_0x5bcc34,_0x1c1e6a)=>{_0x43e8ac(),_0xf15643(_0x5bcc34,_0x1c1e6a);});});}['_decompress'](_0x585fd4,_0x42e12b,_0x1f39e6){const _0xa41d53=_0x3e416d,_0x4317bf=this[_0xa41d53(0x1c8)]?_0xa41d53(0x261):_0xa41d53(0x144);if(!this[_0xa41d53(0x246)]){const _0x4c8ec5=_0x4317bf+_0xa41d53(0x297),_0x2774c5=typeof this['params'][_0x4c8ec5]!=_0xa41d53(0xf5)?_0x253a52[_0xa41d53(0x18c)]:this[_0xa41d53(0x1d7)][_0x4c8ec5];this[_0xa41d53(0x246)]=_0x253a52[_0xa41d53(0x1ec)]({...this[_0xa41d53(0x120)]['zlibInflateOptions'],'windowBits':_0x2774c5}),this[_0xa41d53(0x246)][_0x33f401]=this,this['_inflate'][_0x568b34]=0x0,this['_inflate'][_0x4519da]=[],this[_0xa41d53(0x246)]['on']('error',_0x3227b7),this['_inflate']['on'](_0xa41d53(0x24d),_0x42e0d2);}this[_0xa41d53(0x246)][_0x13b6d8]=_0x1f39e6,this['_inflate']['write'](_0x585fd4),_0x42e12b&&this['_inflate'][_0xa41d53(0x1f6)](_0x465670),this[_0xa41d53(0x246)][_0xa41d53(0x15c)](()=>{const _0x36ba77=_0xa41d53,_0x104544=this[_0x36ba77(0x246)][_0x306aae];if(_0x104544){this[_0x36ba77(0x246)]['close'](),this['_inflate']=null,_0x1f39e6(_0x104544);return;}const _0x53c4ae=_0x23ec03['concat'](this[_0x36ba77(0x246)][_0x4519da],this[_0x36ba77(0x246)][_0x568b34]);this[_0x36ba77(0x246)][_0x36ba77(0x236)][_0x36ba77(0x1b3)]?(this[_0x36ba77(0x246)][_0x36ba77(0x211)](),this[_0x36ba77(0x246)]=null):(this[_0x36ba77(0x246)][_0x568b34]=0x0,this[_0x36ba77(0x246)][_0x4519da]=[],_0x42e12b&&this[_0x36ba77(0x1d7)][_0x4317bf+_0x36ba77(0xda)]&&this[_0x36ba77(0x246)][_0x36ba77(0x231)]()),_0x1f39e6(null,_0x53c4ae);});}['_compress'](_0x11f240,_0x4a9301,_0x39186a){const _0x28ffd9=_0x3e416d,_0x176cbb=this['_isServer']?_0x28ffd9(0x144):_0x28ffd9(0x261);if(!this[_0x28ffd9(0x1db)]){const _0x8d78d8=_0x176cbb+_0x28ffd9(0x297),_0x3b3177=typeof this[_0x28ffd9(0x1d7)][_0x8d78d8]!='number'?_0x253a52[_0x28ffd9(0x18c)]:this[_0x28ffd9(0x1d7)][_0x8d78d8];this[_0x28ffd9(0x1db)]=_0x253a52[_0x28ffd9(0x191)]({...this[_0x28ffd9(0x120)][_0x28ffd9(0xce)],'windowBits':_0x3b3177}),this['_deflate'][_0x568b34]=0x0,this[_0x28ffd9(0x1db)][_0x4519da]=[],this[_0x28ffd9(0x1db)]['on'](_0x28ffd9(0x24d),_0x31f6d1);}this[_0x28ffd9(0x1db)][_0x13b6d8]=_0x39186a,this[_0x28ffd9(0x1db)]['write'](_0x11f240),this[_0x28ffd9(0x1db)][_0x28ffd9(0x15c)](_0x253a52[_0x28ffd9(0x274)],()=>{const _0x7e1bf3=_0x28ffd9;if(!this[_0x7e1bf3(0x1db)])return;let _0x1365b4=_0x23ec03[_0x7e1bf3(0x238)](this[_0x7e1bf3(0x1db)][_0x4519da],this['_deflate'][_0x568b34]);_0x4a9301&&(_0x1365b4=new _0x58e9a5(_0x1365b4[_0x7e1bf3(0x177)],_0x1365b4[_0x7e1bf3(0x219)],_0x1365b4[_0x7e1bf3(0x11b)]-0x4)),this[_0x7e1bf3(0x1db)][_0x13b6d8]=null,this[_0x7e1bf3(0x1db)][_0x568b34]=0x0,this[_0x7e1bf3(0x1db)][_0x4519da]=[],_0x4a9301&&this[_0x7e1bf3(0x1d7)][_0x176cbb+'_no_context_takeover']&&this[_0x7e1bf3(0x1db)]['reset'](),_0x39186a(null,_0x1365b4);});}}ve=_0x4c70e8;function _0x31f6d1(_0x414f6f){const _0x526abd=_0x3e416d;this[_0x4519da]['push'](_0x414f6f),this[_0x568b34]+=_0x414f6f[_0x526abd(0x11b)];}function _0x42e0d2(_0x1633cc){const _0x5543d7=_0x3e416d;if(this[_0x568b34]+=_0x1633cc[_0x5543d7(0x11b)],this[_0x33f401][_0x5543d7(0xf6)]<0x1||this[_0x568b34]<=this[_0x33f401]['_maxPayload']){this[_0x4519da][_0x5543d7(0x26c)](_0x1633cc);return;}this[_0x306aae]=new RangeError(_0x5543d7(0xd4)),this[_0x306aae]['code']='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x306aae][_0x416879]=0x3f1,this[_0x5543d7(0x1ee)]('data',_0x42e0d2),this[_0x5543d7(0x231)]();}function _0x3227b7(_0x7b1b78){this[_0x33f401]['_inflate']=null,_0x7b1b78[_0x416879]=0x3ef,this[_0x13b6d8](_0x7b1b78);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x1bc787(0x19c)](Object[_0x1bc787(0x188)]({'__proto__':null,'default':Dt},Symbol[_0x1bc787(0x1cf)],{'value':_0x1bc787(0xf3)})),Bt=at(Rt);var Ye;function ae(){const _0x123f9c=_0x1bc787;if(Ye)return ie[_0x123f9c(0x1f7)];Ye=0x1;const {isUtf8:_0xe57798}=wt,{hasBlob:_0xb4ffb9}=H(),_0x54c321=[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 _0x3e0e59(_0x55205a){return _0x55205a>=0x3e8&&_0x55205a<=0x3f6&&_0x55205a!==0x3ec&&_0x55205a!==0x3ed&&_0x55205a!==0x3ee||_0x55205a>=0xbb8&&_0x55205a<=0x1387;}function _0x5f3fd7(_0x5d5ba4){const _0xf7a699=_0x123f9c,_0x3ae992=_0x5d5ba4[_0xf7a699(0x11b)];let _0x314682=0x0;for(;_0x314682<_0x3ae992;)if((_0x5d5ba4[_0x314682]&0x80)===0x0)_0x314682++;else{if((_0x5d5ba4[_0x314682]&0xe0)===0xc0){if(_0x314682+0x1===_0x3ae992||(_0x5d5ba4[_0x314682+0x1]&0xc0)!==0x80||(_0x5d5ba4[_0x314682]&0xfe)===0xc0)return!0x1;_0x314682+=0x2;}else{if((_0x5d5ba4[_0x314682]&0xf0)===0xe0){if(_0x314682+0x2>=_0x3ae992||(_0x5d5ba4[_0x314682+0x1]&0xc0)!==0x80||(_0x5d5ba4[_0x314682+0x2]&0xc0)!==0x80||_0x5d5ba4[_0x314682]===0xe0&&(_0x5d5ba4[_0x314682+0x1]&0xe0)===0x80||_0x5d5ba4[_0x314682]===0xed&&(_0x5d5ba4[_0x314682+0x1]&0xe0)===0xa0)return!0x1;_0x314682+=0x3;}else{if((_0x5d5ba4[_0x314682]&0xf8)===0xf0){if(_0x314682+0x3>=_0x3ae992||(_0x5d5ba4[_0x314682+0x1]&0xc0)!==0x80||(_0x5d5ba4[_0x314682+0x2]&0xc0)!==0x80||(_0x5d5ba4[_0x314682+0x3]&0xc0)!==0x80||_0x5d5ba4[_0x314682]===0xf0&&(_0x5d5ba4[_0x314682+0x1]&0xf0)===0x80||_0x5d5ba4[_0x314682]===0xf4&&_0x5d5ba4[_0x314682+0x1]>0x8f||_0x5d5ba4[_0x314682]>0xf4)return!0x1;_0x314682+=0x4;}else return!0x1;}}}return!0x0;}function _0x4db05f(_0x32c357){const _0xa51f6=_0x123f9c;return _0xb4ffb9&&typeof _0x32c357==_0xa51f6(0x21c)&&typeof _0x32c357[_0xa51f6(0x186)]=='function'&&typeof _0x32c357[_0xa51f6(0x178)]==_0xa51f6(0x150)&&typeof _0x32c357[_0xa51f6(0x1e7)]==_0xa51f6(0x1b2)&&(_0x32c357[Symbol[_0xa51f6(0x1cf)]]==='Blob'||_0x32c357[Symbol[_0xa51f6(0x1cf)]]===_0xa51f6(0x116));}if(ie[_0x123f9c(0x1f7)]={'isBlob':_0x4db05f,'isValidStatusCode':_0x3e0e59,'isValidUTF8':_0x5f3fd7,'tokenChars':_0x54c321},_0xe57798)ie[_0x123f9c(0x1f7)]['isValidUTF8']=function(_0x594c4f){const _0x34e869=_0x123f9c;return _0x594c4f[_0x34e869(0x11b)]<0x18?_0x5f3fd7(_0x594c4f):_0xe57798(_0x594c4f);};else{if(!process[_0x123f9c(0x198)][_0x123f9c(0x13c)])try{const _0x15625e=Bt;ie[_0x123f9c(0x1f7)]['isValidUTF8']=function(_0x43d641){return _0x43d641['length']<0x20?_0x5f3fd7(_0x43d641):_0x15625e(_0x43d641);};}catch{}}return ie['exports'];}var Se,Ke;function _0x399e(){const _0x48d821=['Sec-WebSocket-Extensions:\x20','_final','readUInt16BE','digest','http:','addEventListener','File','path','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','listenerCount','startsWith','length','host','@univerjs/core','collaboration-client-node.config','unmask','_options','http','response','hash','pipe','UniverCollaborationClientPlugin','map','once','DisposableCollection','createConnection','code','allocUnsafe','_originalHostOrSocketPath','setConfig','\x22:\x20','FIN\x20must\x20be\x20set','split','protocolVersion','servername','generateMask','upgrade','forEach','address','kByteLength','_paused','net','registerHTTPInterceptor','alloc','WS_NO_UTF_8_VALIDATE','listeners','Injector','startLoop','_configService','_threshold','size','slice','server','Upgrade','sec-websocket-extensions','170756hmLNry','_messageLength','Maximum\x20redirects\x20exceeded','getConfig','cleanup','_originalSecure','removeAllListeners','_writableState','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','string','isArray','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','getOwnPropertyDescriptor','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','_opcode','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','Origin','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','get','createError','Invalid\x20Upgrade\x20header','flush','setNoDelay','connect','autoPong','_errored','byteLength','getPayloadLength16','pause','extensions','finish','arraybuffer','statusCode','Invalid\x20Sec-WebSocket-Extensions\x20header','backlog','COLLABORATION_CLIENT_NODE_CONFIG_KEY','The\x20URL\x20contains\x20a\x20fragment\x20identifier','_receiver','getMask','Invalid\x20Sec-WebSocket-Accept\x20header','Invalid\x20WebSocket\x20frame:\x20','Unknown\x20parameter\x20\x22','species','_protocol','_allowSynchronousEvents','ILogService','kWasClean','dataMessage','buffer','type','acceptAsClient','Invalid\x20URL:\x20','toString','invalid\x20UTF-8\x20sequence','_loop','permessage-deflate','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','_closeMessage','events','text/html','_closeCode','kListener','errorEmitted','arrayBuffer','Cookie','defineProperty','_originalIpc','dequeue','kDone','Z_DEFAULT_WINDOWBITS','1536968XYIras','socketPath','url','jobs','createDeflateRaw','keys','share','captureStackTrace','__esModule','uncork','The\x20URL\x27s\x20pathname\x20is\x20empty','env','Unexpected\x20end\x20of\x20input','emitClose','client_max_window_bits','freeze','customHeaders','fin','maskBuffer','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','includes','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','sendFrame','construct','_mask','setSocket','_fragments','_extensions','Opening\x20handshake\x20has\x20timed\x20out','end','crypto','invalid\x20opcode\x20','from','_write','find','removeEventListener','function','endEmitted','CollaborationSocketService','_req','target','UniverCollaborationClientNodePlugin','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','error','finished','onopen','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','resume','port','noServer','consume','callback','WS_ERR_EXPECTED_MASK','method','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','auth','password','_isServer','clients','IConfigService','authorized','WS_ERR_EXPECTED_FIN','CLOSING','Parameter\x20\x22','toStringTag','Server\x20sent\x20no\x20subprotocol','Observable','setHeader','buffers','has','_sender','sec-websocket-version','params','sec-websocket-accept','compress','redirect','_deflate','wasClean','indexOf','verifyClient','blob','ws+unix:','WebSocket\x20is\x20not\x20open:\x20readyState\x20','_masked','HTTP/1.1\x20','The\x20\x22','wsClientError','_maskBuffer','stream','fragments','clientMaxWindowBits','_readyState','Plugin','createInflateRaw','sha1','removeListener','createSocket','sec-websocket-origin','_decompress','Invalid\x20value\x20for\x20parameter\x20\x22','HTTPService','7TAhcuQ','enqueue','write','exports','_closeFrameReceived','zlib','_buffers','kReason','username','default','writeUInt16BE','client_no_context_takeover','listening','defaultPort','Inject','update','onStarting','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','pending','kTarget','OPEN','server_no_context_takeover','encrypted','_injector','kAborted','Sec-WebSocket-Origin','reason','protocol','create','close','concurrency','unshift','isView','kRun','_registerDependencies','authorization','_url','byteOffset','readOnly','_socket','object','shouldHandle','_compress','mask','WS_ERR_UNEXPECTED_RSV_1','destroy','catch','_closeTimer','message','RSV1\x20must\x20be\x20clear','MASK\x20must\x20be\x20clear','conclude','_removeListeners','getPayloadLength64','_state','isServer','_payloadLength','HTTP/1.1\x20101\x20Switching\x20Protocols','Unsupported\x20protocol\x20version:\x20','controlMessage','dispatch','reset','getData','headers','sec-websocket-protocol','14wKfzaA','_readableState','_redirects','concat','tls','parse','7692uPDecl','STATUS_CODES','invalid\x20opcode\x200','_destroy','153drYqZn','_httpService','opcode','_doCreateSocket','writeUIntBE','kType','emit','_inflate','shift','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','replace','acceptAsServer','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','data','_generateMask','options','values','_totalPayloadLength','allowSynchronousEvents','isIP','kCode','toLowerCase','set','pong','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','_closeFrameSent','nodebuffer','completeUpgrade','serverMaxWindowBits','Sec-WebSocket-Accept:\x20','pluginName','writeHead','WS_ERR_INVALID_OPCODE','client','maxPayload','extensionName','NodeCollaborationSocketService','pow','@univerjs/network','binary','onmessage','entries','GET','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','push','server_max_window_bits','connection','terminate','_bufferedBytes','warn','base64','origin','Z_SYNC_FLUSH','987845gvruiQ','hostname','_autoPong','toDisposable','join','concurrencyLimit','call','accept','_fragmented','WS_ERR_UNEXPECTED_MASK','_bufferedAmount','handleProtocols','wss:','_fin','normalizeParams','test','decompress','getBlobData','perMessageDeflate','_firstFragment','readyState','5461119topFVY','DependentOn','Disposable','request','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','invalid\x20status\x20code\x20','invalid\x20payload\x20length\x20','frame','_compressed','Invalid\x20HTTP\x20method','_skipUTF8Validation','handleEvent','offer','_max_window_bits','ISnapshotServerService','haveLength','WS_ERR_INVALID_UTF8','ping','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','prototype','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','zlibDeflateOptions','threshold','onerror','pathname','add','serverNoContextTakeover','Max\x20payload\x20size\x20exceeded','apply','setTimeout','writable','14865477TOthZm','_errorEmitted','_no_context_takeover','binaryType','Sec-WebSocket-Protocol','Unexpected\x20character\x20at\x20index\x20','sec-websocket-key','WS_ERR_UNEXPECTED_RSV_2_3','charCodeAt','CLOSED','websocket','The\x20server\x20is\x20not\x20running','_server','location','abort','send','timeout','cookie','CONNECTING','_binaryType','8856810xCckPr','isPaused','Server\x20sent\x20an\x20invalid\x20subprotocol','MASK\x20must\x20be\x20set','clientNoContextTakeover','handleUpgrade','ws:','Module','nextTick','number','_maxPayload','\x22\x20subprotocol\x20is\x20duplicated','delete','_queue','_shouldEmitClose','https:','constructor','destroyed','registerDependencies','bind','kMessage','socket','cork','hasOwnProperty','ISocketService','open','24HGdGDR','search','WS_NO_BUFFER_UTIL','listen','objectMode','next','isInteger','rsv1','getInfo','skipUTF8Validation'];_0x399e=function(){return _0x48d821;};return _0x399e();}function lt(){const _0xc41693=_0x1bc787;if(Ke)return Se;Ke=0x1;const {Writable:_0x578ae5}=oe,_0x47f723=he(),{BINARY_TYPES:_0x441291,EMPTY_BUFFER:_0x239c16,kStatusCode:_0xf63b40,kWebSocket:_0x6a6de9}=H(),{concat:_0xc9ab97,toArrayBuffer:_0x368e49,unmask:_0x4ef175}=ce(),{isValidStatusCode:_0x3fca22,isValidUTF8:_0x1ee6cc}=ae(),_0x5545c1=Buffer[Symbol[_0xc41693(0x171)]],_0x3d6be8=0x0,_0x5e8a19=0x1,_0x41de42=0x2,_0xf3aff3=0x3,_0x3354a8=0x4,_0x75ddbe=0x5,_0x1e0b14=0x6;class _0x5c52a3 extends _0x578ae5{constructor(_0x18cbf4={}){const _0x3c7399=_0xc41693;super(),this['_allowSynchronousEvents']=_0x18cbf4[_0x3c7399(0x252)]!==void 0x0?_0x18cbf4[_0x3c7399(0x252)]:!0x0,this[_0x3c7399(0xeb)]=_0x18cbf4['binaryType']||_0x441291[0x0],this[_0x3c7399(0x1a9)]=_0x18cbf4[_0x3c7399(0x164)]||{},this[_0x3c7399(0x1c8)]=!!_0x18cbf4[_0x3c7399(0x22b)],this[_0x3c7399(0xf6)]=_0x18cbf4[_0x3c7399(0x262)]|0x0,this['_skipUTF8Validation']=!!_0x18cbf4[_0x3c7399(0x10f)],this[_0x6a6de9]=void 0x0,this[_0x3c7399(0x270)]=0x0,this[_0x3c7399(0x1fa)]=[],this['_compressed']=!0x1,this[_0x3c7399(0x22c)]=0x0,this[_0x3c7399(0x1a6)]=void 0x0,this[_0x3c7399(0x27d)]=0x0,this[_0x3c7399(0x1e2)]=!0x1,this[_0x3c7399(0x282)]=!0x1,this['_opcode']=0x0,this[_0x3c7399(0x251)]=0x0,this[_0x3c7399(0x148)]=0x0,this[_0x3c7399(0x1a8)]=[],this[_0x3c7399(0x160)]=!0x1,this[_0x3c7399(0x17d)]=!0x1,this[_0x3c7399(0x22a)]=_0x3d6be8;}[_0xc41693(0x1af)](_0x54b9ce,_0xd1baf6,_0x543d5f){const _0x835388=_0xc41693;if(this[_0x835388(0x155)]===0x8&&this[_0x835388(0x22a)]==_0x3d6be8)return _0x543d5f();this[_0x835388(0x270)]+=_0x54b9ce[_0x835388(0x11b)],this['_buffers'][_0x835388(0x26c)](_0x54b9ce),this[_0x835388(0x13f)](_0x543d5f);}[_0xc41693(0x1c1)](_0x5f21e0){const _0x4aedf1=_0xc41693;if(this[_0x4aedf1(0x270)]-=_0x5f21e0,_0x5f21e0===this[_0x4aedf1(0x1fa)][0x0][_0x4aedf1(0x11b)])return this[_0x4aedf1(0x1fa)][_0x4aedf1(0x247)]();if(_0x5f21e0<this[_0x4aedf1(0x1fa)][0x0][_0x4aedf1(0x11b)]){const _0x321ed3=this[_0x4aedf1(0x1fa)][0x0];return this['_buffers'][0x0]=new _0x5545c1(_0x321ed3[_0x4aedf1(0x177)],_0x321ed3[_0x4aedf1(0x219)]+_0x5f21e0,_0x321ed3[_0x4aedf1(0x11b)]-_0x5f21e0),new _0x5545c1(_0x321ed3['buffer'],_0x321ed3[_0x4aedf1(0x219)],_0x5f21e0);}const _0x54e3ec=Buffer['allocUnsafe'](_0x5f21e0);do{const _0x1f033e=this[_0x4aedf1(0x1fa)][0x0],_0x3d932d=_0x54e3ec[_0x4aedf1(0x11b)]-_0x5f21e0;_0x5f21e0>=_0x1f033e[_0x4aedf1(0x11b)]?_0x54e3ec[_0x4aedf1(0x256)](this[_0x4aedf1(0x1fa)][_0x4aedf1(0x247)](),_0x3d932d):(_0x54e3ec[_0x4aedf1(0x256)](new Uint8Array(_0x1f033e[_0x4aedf1(0x177)],_0x1f033e[_0x4aedf1(0x219)],_0x5f21e0),_0x3d932d),this[_0x4aedf1(0x1fa)][0x0]=new _0x5545c1(_0x1f033e['buffer'],_0x1f033e[_0x4aedf1(0x219)]+_0x5f21e0,_0x1f033e[_0x4aedf1(0x11b)]-_0x5f21e0)),_0x5f21e0-=_0x1f033e['length'];}while(_0x5f21e0>0x0);return _0x54e3ec;}['startLoop'](_0x4382b6){const _0x50d68b=_0xc41693;this[_0x50d68b(0x17d)]=!0x0;do switch(this[_0x50d68b(0x22a)]){case _0x3d6be8:this['getInfo'](_0x4382b6);break;case _0x5e8a19:this[_0x50d68b(0x162)](_0x4382b6);break;case _0x41de42:this[_0x50d68b(0x229)](_0x4382b6);break;case _0xf3aff3:this[_0x50d68b(0x16d)]();break;case _0x3354a8:this[_0x50d68b(0x232)](_0x4382b6);break;case _0x75ddbe:case _0x1e0b14:this['_loop']=!0x1;return;}while(this[_0x50d68b(0x17d)]);this[_0x50d68b(0x160)]||_0x4382b6();}[_0xc41693(0x10e)](_0x3c39a9){const _0x25068f=_0xc41693;if(this[_0x25068f(0x270)]<0x2){this[_0x25068f(0x17d)]=!0x1;return;}const _0x401dd2=this[_0x25068f(0x1c1)](0x2);if((_0x401dd2[0x0]&0x30)!==0x0){const _0x25618d=this[_0x25068f(0x15a)](RangeError,_0x25068f(0x152),!0x0,0x3ea,_0x25068f(0xdf));_0x3c39a9(_0x25618d);return;}const _0x201453=(_0x401dd2[0x0]&0x40)===0x40;if(_0x201453&&!this[_0x25068f(0x1a9)][_0x47f723[_0x25068f(0x263)]]){const _0x122e56=this[_0x25068f(0x15a)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x3c39a9(_0x122e56);return;}if(this['_fin']=(_0x401dd2[0x0]&0x80)===0x80,this[_0x25068f(0x155)]=_0x401dd2[0x0]&0xf,this[_0x25068f(0x22c)]=_0x401dd2[0x1]&0x7f,this[_0x25068f(0x155)]===0x0){if(_0x201453){const _0x4640d6=this[_0x25068f(0x15a)](RangeError,_0x25068f(0x225),!0x0,0x3ea,_0x25068f(0x220));_0x3c39a9(_0x4640d6);return;}if(!this[_0x25068f(0x27d)]){const _0x5d3998=this[_0x25068f(0x15a)](RangeError,_0x25068f(0x23d),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x3c39a9(_0x5d3998);return;}this[_0x25068f(0x155)]=this[_0x25068f(0x27d)];}else{if(this[_0x25068f(0x155)]===0x1||this[_0x25068f(0x155)]===0x2){if(this[_0x25068f(0x27d)]){const _0x26866=this[_0x25068f(0x15a)](RangeError,_0x25068f(0x1ad)+this[_0x25068f(0x155)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x3c39a9(_0x26866);return;}this[_0x25068f(0x292)]=_0x201453;}else{if(this[_0x25068f(0x155)]>0x7&&this['_opcode']<0xb){if(!this['_fin']){const _0x73ede7=this[_0x25068f(0x15a)](RangeError,_0x25068f(0x12f),!0x0,0x3ea,_0x25068f(0x1cc));_0x3c39a9(_0x73ede7);return;}if(_0x201453){const _0x4c5fad=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x25068f(0x220));_0x3c39a9(_0x4c5fad);return;}if(this[_0x25068f(0x22c)]>0x7d||this['_opcode']===0x8&&this[_0x25068f(0x22c)]===0x1){const _0x5d11d2=this[_0x25068f(0x15a)](RangeError,_0x25068f(0x290)+this[_0x25068f(0x22c)],!0x0,0x3ea,_0x25068f(0x154));_0x3c39a9(_0x5d11d2);return;}}else{const _0x19dd07=this[_0x25068f(0x15a)](RangeError,_0x25068f(0x1ad)+this['_opcode'],!0x0,0x3ea,_0x25068f(0x260));_0x3c39a9(_0x19dd07);return;}}}if(!this['_fin']&&!this[_0x25068f(0x27d)]&&(this[_0x25068f(0x27d)]=this['_opcode']),this[_0x25068f(0x1e2)]=(_0x401dd2[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x25068f(0x1e2)]){const _0x16926d=this[_0x25068f(0x15a)](RangeError,_0x25068f(0xef),!0x0,0x3ea,_0x25068f(0x1c3));_0x3c39a9(_0x16926d);return;}}else{if(this['_masked']){const _0x293a7c=this[_0x25068f(0x15a)](RangeError,_0x25068f(0x226),!0x0,0x3ea,_0x25068f(0x27e));_0x3c39a9(_0x293a7c);return;}}this[_0x25068f(0x22c)]===0x7e?this[_0x25068f(0x22a)]=_0x5e8a19:this[_0x25068f(0x22c)]===0x7f?this[_0x25068f(0x22a)]=_0x41de42:this[_0x25068f(0x299)](_0x3c39a9);}[_0xc41693(0x162)](_0x10a4d1){const _0x5787d0=_0xc41693;if(this[_0x5787d0(0x270)]<0x2){this[_0x5787d0(0x17d)]=!0x1;return;}this['_payloadLength']=this['consume'](0x2)[_0x5787d0(0x112)](0x0),this[_0x5787d0(0x299)](_0x10a4d1);}[_0xc41693(0x229)](_0x155d58){const _0x218662=_0xc41693;if(this[_0x218662(0x270)]<0x8){this[_0x218662(0x17d)]=!0x1;return;}const _0x394d8c=this[_0x218662(0x1c1)](0x8),_0x3329af=_0x394d8c['readUInt32BE'](0x0);if(_0x3329af>Math[_0x218662(0x265)](0x2,0x15)-0x1){const _0x64e397=this[_0x218662(0x15a)](RangeError,_0x218662(0x24c),!0x1,0x3f1,_0x218662(0x24b));_0x155d58(_0x64e397);return;}this['_payloadLength']=_0x3329af*Math[_0x218662(0x265)](0x2,0x20)+_0x394d8c['readUInt32BE'](0x4),this[_0x218662(0x299)](_0x155d58);}['haveLength'](_0xda6194){const _0x1e750a=_0xc41693;if(this[_0x1e750a(0x22c)]&&this[_0x1e750a(0x155)]<0x8&&(this['_totalPayloadLength']+=this['_payloadLength'],this[_0x1e750a(0x251)]>this['_maxPayload']&&this[_0x1e750a(0xf6)]>0x0)){const _0xeff6f6=this[_0x1e750a(0x15a)](RangeError,_0x1e750a(0xd4),!0x1,0x3f1,_0x1e750a(0x1bc));_0xda6194(_0xeff6f6);return;}this[_0x1e750a(0x1e2)]?this[_0x1e750a(0x22a)]=_0xf3aff3:this[_0x1e750a(0x22a)]=_0x3354a8;}['getMask'](){const _0x14350a=_0xc41693;if(this[_0x14350a(0x270)]<0x4){this[_0x14350a(0x17d)]=!0x1;return;}this['_mask']=this[_0x14350a(0x1c1)](0x4),this['_state']=_0x3354a8;}['getData'](_0x5d6083){const _0x542d8f=_0xc41693;let _0x5691c9=_0x239c16;if(this[_0x542d8f(0x22c)]){if(this[_0x542d8f(0x270)]<this[_0x542d8f(0x22c)]){this[_0x542d8f(0x17d)]=!0x1;return;}_0x5691c9=this['consume'](this[_0x542d8f(0x22c)]),this[_0x542d8f(0x1e2)]&&(this[_0x542d8f(0x1a6)][0x0]|this['_mask'][0x1]|this[_0x542d8f(0x1a6)][0x2]|this['_mask'][0x3])!==0x0&&_0x4ef175(_0x5691c9,this['_mask']);}if(this[_0x542d8f(0x155)]>0x7){this[_0x542d8f(0x22f)](_0x5691c9,_0x5d6083);return;}if(this[_0x542d8f(0x292)]){this[_0x542d8f(0x22a)]=_0x75ddbe,this[_0x542d8f(0x285)](_0x5691c9,_0x5d6083);return;}_0x5691c9[_0x542d8f(0x11b)]&&(this[_0x542d8f(0x148)]=this['_totalPayloadLength'],this[_0x542d8f(0x1a8)]['push'](_0x5691c9)),this[_0x542d8f(0x176)](_0x5d6083);}['decompress'](_0x5c190c,_0x431775){const _0x15b5bc=_0xc41693;this[_0x15b5bc(0x1a9)][_0x47f723['extensionName']][_0x15b5bc(0x285)](_0x5c190c,this['_fin'],(_0x2ef227,_0x42753c)=>{const _0x480d89=_0x15b5bc;if(_0x2ef227)return _0x431775(_0x2ef227);if(_0x42753c[_0x480d89(0x11b)]){if(this[_0x480d89(0x148)]+=_0x42753c[_0x480d89(0x11b)],this['_messageLength']>this[_0x480d89(0xf6)]&&this[_0x480d89(0xf6)]>0x0){const _0x1e44cb=this[_0x480d89(0x15a)](RangeError,_0x480d89(0xd4),!0x1,0x3f1,_0x480d89(0x1bc));_0x431775(_0x1e44cb);return;}this['_fragments'][_0x480d89(0x26c)](_0x42753c);}this['dataMessage'](_0x431775),this[_0x480d89(0x22a)]===_0x3d6be8&&this[_0x480d89(0x13f)](_0x431775);});}[_0xc41693(0x176)](_0xa707f2){const _0x53d271=_0xc41693;if(!this[_0x53d271(0x282)]){this[_0x53d271(0x22a)]=_0x3d6be8;return;}const _0x28c611=this[_0x53d271(0x148)],_0x14986f=this['_fragments'];if(this['_totalPayloadLength']=0x0,this[_0x53d271(0x148)]=0x0,this[_0x53d271(0x27d)]=0x0,this['_fragments']=[],this[_0x53d271(0x155)]===0x2){let _0x28ed80;this[_0x53d271(0xeb)]===_0x53d271(0x25a)?_0x28ed80=_0xc9ab97(_0x14986f,_0x28c611):this['_binaryType']===_0x53d271(0x166)?_0x28ed80=_0x368e49(_0xc9ab97(_0x14986f,_0x28c611)):this['_binaryType']===_0x53d271(0x1df)?_0x28ed80=new Blob(_0x14986f):_0x28ed80=_0x14986f,this[_0x53d271(0x173)]?(this[_0x53d271(0x245)](_0x53d271(0x224),_0x28ed80,!0x0),this[_0x53d271(0x22a)]=_0x3d6be8):(this[_0x53d271(0x22a)]=_0x1e0b14,setImmediate(()=>{const _0x346288=_0x53d271;this['emit']('message',_0x28ed80,!0x0),this[_0x346288(0x22a)]=_0x3d6be8,this['startLoop'](_0xa707f2);}));}else{const _0x58fa75=_0xc9ab97(_0x14986f,_0x28c611);if(!this[_0x53d271(0x294)]&&!_0x1ee6cc(_0x58fa75)){const _0x40f08e=this[_0x53d271(0x15a)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x53d271(0x29a));_0xa707f2(_0x40f08e);return;}this['_state']===_0x75ddbe||this['_allowSynchronousEvents']?(this[_0x53d271(0x245)](_0x53d271(0x224),_0x58fa75,!0x1),this['_state']=_0x3d6be8):(this['_state']=_0x1e0b14,setImmediate(()=>{const _0x228ecd=_0x53d271;this[_0x228ecd(0x245)](_0x228ecd(0x224),_0x58fa75,!0x1),this['_state']=_0x3d6be8,this[_0x228ecd(0x13f)](_0xa707f2);}));}}[_0xc41693(0x22f)](_0x5c7c1b,_0x478ab4){const _0x5c3987=_0xc41693;if(this[_0x5c3987(0x155)]===0x8){if(_0x5c7c1b['length']===0x0)this['_loop']=!0x1,this[_0x5c3987(0x245)](_0x5c3987(0x227),0x3ed,_0x239c16),this[_0x5c3987(0x1ab)]();else{const _0x58cdf6=_0x5c7c1b[_0x5c3987(0x112)](0x0);if(!_0x3fca22(_0x58cdf6)){const _0x567af6=this[_0x5c3987(0x15a)](RangeError,_0x5c3987(0x28f)+_0x58cdf6,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x478ab4(_0x567af6);return;}const _0xaba22e=new _0x5545c1(_0x5c7c1b['buffer'],_0x5c7c1b[_0x5c3987(0x219)]+0x2,_0x5c7c1b['length']-0x2);if(!this['_skipUTF8Validation']&&!_0x1ee6cc(_0xaba22e)){const _0x489351=this[_0x5c3987(0x15a)](Error,_0x5c3987(0x17c),!0x0,0x3ef,_0x5c3987(0x29a));_0x478ab4(_0x489351);return;}this['_loop']=!0x1,this[_0x5c3987(0x245)](_0x5c3987(0x227),_0x58cdf6,_0xaba22e),this[_0x5c3987(0x1ab)]();}this[_0x5c3987(0x22a)]=_0x3d6be8;return;}this[_0x5c3987(0x173)]?(this[_0x5c3987(0x245)](this[_0x5c3987(0x155)]===0x9?'ping':'pong',_0x5c7c1b),this[_0x5c3987(0x22a)]=_0x3d6be8):(this[_0x5c3987(0x22a)]=_0x1e0b14,setImmediate(()=>{const _0x22ed62=_0x5c3987;this[_0x22ed62(0x245)](this[_0x22ed62(0x155)]===0x9?'ping':_0x22ed62(0x257),_0x5c7c1b),this['_state']=_0x3d6be8,this[_0x22ed62(0x13f)](_0x478ab4);}));}[_0xc41693(0x15a)](_0x18eef8,_0x126df0,_0x4d2108,_0x1ab701,_0x263b38){const _0x54dc7d=_0xc41693;this[_0x54dc7d(0x17d)]=!0x1,this['_errored']=!0x0;const _0xdc4afd=new _0x18eef8(_0x4d2108?_0x54dc7d(0x16f)+_0x126df0:_0x126df0);return Error['captureStackTrace'](_0xdc4afd,this[_0x54dc7d(0x15a)]),_0xdc4afd[_0x54dc7d(0x12a)]=_0x263b38,_0xdc4afd[_0xf63b40]=_0x1ab701,_0xdc4afd;}}return Se=_0x5c52a3,Se;}var Ee,Xe;function ft(){const _0x143ba7=_0x1bc787;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x9713d2}=oe,{randomFillSync:_0x147e3b}=Le,_0x2cad03=he(),{EMPTY_BUFFER:_0x4f713d,kWebSocket:_0x1575a5,NOOP:_0x521528}=H(),{isBlob:_0x163f70,isValidStatusCode:_0x39d417}=ae(),{mask:_0x21f02e,toBuffer:_0x1455ee}=ce(),_0x2c384b=Symbol(_0x143ba7(0x137)),_0x5135bd=Buffer['alloc'](0x4),_0x3df8fd=0x8*0x400;let _0x57a2fd,_0x539a39=_0x3df8fd;const _0x142346=0x0,_0x45f654=0x1,_0x4afb4c=0x2;class _0x228e45{constructor(_0x23c159,_0x5ccda3,_0x2b1e52){const _0x1f0b06=_0x143ba7;this[_0x1f0b06(0x1a9)]=_0x5ccda3||{},_0x2b1e52&&(this[_0x1f0b06(0x24e)]=_0x2b1e52,this[_0x1f0b06(0x1e6)]=Buffer[_0x1f0b06(0x13b)](0x4)),this[_0x1f0b06(0x21b)]=_0x23c159,this[_0x1f0b06(0x288)]=!0x0,this[_0x1f0b06(0x21e)]=!0x1,this[_0x1f0b06(0x270)]=0x0,this[_0x1f0b06(0xf9)]=[],this['_state']=_0x142346,this['onerror']=_0x521528,this[_0x1575a5]=void 0x0;}static['frame'](_0x58a3a8,_0x3070ff){const _0x3f2da4=_0x143ba7;let _0x399fe7,_0x54de2d=!0x1,_0x34fdfb=0x2,_0x273ecf=!0x1;_0x3070ff[_0x3f2da4(0x21f)]&&(_0x399fe7=_0x3070ff[_0x3f2da4(0x19f)]||_0x5135bd,_0x3070ff[_0x3f2da4(0x133)]?_0x3070ff[_0x3f2da4(0x133)](_0x399fe7):(_0x539a39===_0x3df8fd&&(_0x57a2fd===void 0x0&&(_0x57a2fd=Buffer[_0x3f2da4(0x13b)](_0x3df8fd)),_0x147e3b(_0x57a2fd,0x0,_0x3df8fd),_0x539a39=0x0),_0x399fe7[0x0]=_0x57a2fd[_0x539a39++],_0x399fe7[0x1]=_0x57a2fd[_0x539a39++],_0x399fe7[0x2]=_0x57a2fd[_0x539a39++],_0x399fe7[0x3]=_0x57a2fd[_0x539a39++]),_0x273ecf=(_0x399fe7[0x0]|_0x399fe7[0x1]|_0x399fe7[0x2]|_0x399fe7[0x3])===0x0,_0x34fdfb=0x6);let _0x5bddc9;typeof _0x58a3a8==_0x3f2da4(0x150)?(!_0x3070ff['mask']||_0x273ecf)&&_0x3070ff[_0x2c384b]!==void 0x0?_0x5bddc9=_0x3070ff[_0x2c384b]:(_0x58a3a8=Buffer[_0x3f2da4(0x1ae)](_0x58a3a8),_0x5bddc9=_0x58a3a8['length']):(_0x5bddc9=_0x58a3a8[_0x3f2da4(0x11b)],_0x54de2d=_0x3070ff[_0x3f2da4(0x21f)]&&_0x3070ff['readOnly']&&!_0x273ecf);let _0x2eb622=_0x5bddc9;_0x5bddc9>=0x10000?(_0x34fdfb+=0x8,_0x2eb622=0x7f):_0x5bddc9>0x7d&&(_0x34fdfb+=0x2,_0x2eb622=0x7e);const _0x54ce3d=Buffer[_0x3f2da4(0x12b)](_0x54de2d?_0x5bddc9+_0x34fdfb:_0x34fdfb);return _0x54ce3d[0x0]=_0x3070ff[_0x3f2da4(0x19e)]?_0x3070ff['opcode']|0x80:_0x3070ff[_0x3f2da4(0x241)],_0x3070ff[_0x3f2da4(0x10d)]&&(_0x54ce3d[0x0]|=0x40),_0x54ce3d[0x1]=_0x2eb622,_0x2eb622===0x7e?_0x54ce3d['writeUInt16BE'](_0x5bddc9,0x2):_0x2eb622===0x7f&&(_0x54ce3d[0x2]=_0x54ce3d[0x3]=0x0,_0x54ce3d[_0x3f2da4(0x243)](_0x5bddc9,0x4,0x6)),_0x3070ff['mask']?(_0x54ce3d[0x1]|=0x80,_0x54ce3d[_0x34fdfb-0x4]=_0x399fe7[0x0],_0x54ce3d[_0x34fdfb-0x3]=_0x399fe7[0x1],_0x54ce3d[_0x34fdfb-0x2]=_0x399fe7[0x2],_0x54ce3d[_0x34fdfb-0x1]=_0x399fe7[0x3],_0x273ecf?[_0x54ce3d,_0x58a3a8]:_0x54de2d?(_0x21f02e(_0x58a3a8,_0x399fe7,_0x54ce3d,_0x34fdfb,_0x5bddc9),[_0x54ce3d]):(_0x21f02e(_0x58a3a8,_0x399fe7,_0x58a3a8,0x0,_0x5bddc9),[_0x54ce3d,_0x58a3a8])):[_0x54ce3d,_0x58a3a8];}['close'](_0x38da77,_0x3fbfe7,_0x4d3f71,_0x5a48a1){const _0x5dff8b=_0x143ba7;let _0x3c0619;if(_0x38da77===void 0x0)_0x3c0619=_0x4f713d;else{if(typeof _0x38da77!=_0x5dff8b(0xf5)||!_0x39d417(_0x38da77))throw new TypeError(_0x5dff8b(0x28e));if(_0x3fbfe7===void 0x0||!_0x3fbfe7[_0x5dff8b(0x11b)])_0x3c0619=Buffer[_0x5dff8b(0x12b)](0x2),_0x3c0619[_0x5dff8b(0x1fe)](_0x38da77,0x0);else{const _0x2ff109=Buffer[_0x5dff8b(0x161)](_0x3fbfe7);if(_0x2ff109>0x7b)throw new RangeError(_0x5dff8b(0x205));_0x3c0619=Buffer[_0x5dff8b(0x12b)](0x2+_0x2ff109),_0x3c0619[_0x5dff8b(0x1fe)](_0x38da77,0x0),typeof _0x3fbfe7=='string'?_0x3c0619[_0x5dff8b(0x1f6)](_0x3fbfe7,0x2):_0x3c0619[_0x5dff8b(0x256)](_0x3fbfe7,0x2);}}const _0x1ebbe7={[_0x2c384b]:_0x3c0619['length'],'fin':!0x0,'generateMask':this[_0x5dff8b(0x24e)],'mask':_0x4d3f71,'maskBuffer':this[_0x5dff8b(0x1e6)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x5dff8b(0x22a)]!==_0x142346?this[_0x5dff8b(0x1f5)]([this[_0x5dff8b(0x230)],_0x3c0619,!0x1,_0x1ebbe7,_0x5a48a1]):this['sendFrame'](_0x228e45['frame'](_0x3c0619,_0x1ebbe7),_0x5a48a1);}[_0x143ba7(0x29b)](_0x42d855,_0x45fd66,_0xb85242){const _0x21ebb8=_0x143ba7;let _0x50f09d,_0x159051;if(typeof _0x42d855==_0x21ebb8(0x150)?(_0x50f09d=Buffer[_0x21ebb8(0x161)](_0x42d855),_0x159051=!0x1):_0x163f70(_0x42d855)?(_0x50f09d=_0x42d855['size'],_0x159051=!0x1):(_0x42d855=_0x1455ee(_0x42d855),_0x50f09d=_0x42d855[_0x21ebb8(0x11b)],_0x159051=_0x1455ee[_0x21ebb8(0x21a)]),_0x50f09d>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x1e222b={[_0x2c384b]:_0x50f09d,'fin':!0x0,'generateMask':this[_0x21ebb8(0x24e)],'mask':_0x45fd66,'maskBuffer':this[_0x21ebb8(0x1e6)],'opcode':0x9,'readOnly':_0x159051,'rsv1':!0x1};_0x163f70(_0x42d855)?this[_0x21ebb8(0x22a)]!==_0x142346?this[_0x21ebb8(0x1f5)]([this[_0x21ebb8(0x286)],_0x42d855,!0x1,_0x1e222b,_0xb85242]):this[_0x21ebb8(0x286)](_0x42d855,!0x1,_0x1e222b,_0xb85242):this['_state']!==_0x142346?this['enqueue']([this['dispatch'],_0x42d855,!0x1,_0x1e222b,_0xb85242]):this['sendFrame'](_0x228e45['frame'](_0x42d855,_0x1e222b),_0xb85242);}[_0x143ba7(0x257)](_0x9dcd5b,_0x51b20a,_0x1f5769){const _0x9d543e=_0x143ba7;let _0x4140ca,_0x47e298;if(typeof _0x9dcd5b==_0x9d543e(0x150)?(_0x4140ca=Buffer[_0x9d543e(0x161)](_0x9dcd5b),_0x47e298=!0x1):_0x163f70(_0x9dcd5b)?(_0x4140ca=_0x9dcd5b[_0x9d543e(0x142)],_0x47e298=!0x1):(_0x9dcd5b=_0x1455ee(_0x9dcd5b),_0x4140ca=_0x9dcd5b[_0x9d543e(0x11b)],_0x47e298=_0x1455ee[_0x9d543e(0x21a)]),_0x4140ca>0x7d)throw new RangeError(_0x9d543e(0x1bd));const _0x249861={[_0x2c384b]:_0x4140ca,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x51b20a,'maskBuffer':this[_0x9d543e(0x1e6)],'opcode':0xa,'readOnly':_0x47e298,'rsv1':!0x1};_0x163f70(_0x9dcd5b)?this[_0x9d543e(0x22a)]!==_0x142346?this[_0x9d543e(0x1f5)]([this[_0x9d543e(0x286)],_0x9dcd5b,!0x1,_0x249861,_0x1f5769]):this[_0x9d543e(0x286)](_0x9dcd5b,!0x1,_0x249861,_0x1f5769):this['_state']!==_0x142346?this[_0x9d543e(0x1f5)]([this['dispatch'],_0x9dcd5b,!0x1,_0x249861,_0x1f5769]):this[_0x9d543e(0x1a4)](_0x228e45['frame'](_0x9dcd5b,_0x249861),_0x1f5769);}[_0x143ba7(0xe7)](_0x2d95ca,_0xee1485,_0x1d4f3c){const _0xf1bebf=_0x143ba7,_0x2f86cd=this[_0xf1bebf(0x1a9)][_0x2cad03[_0xf1bebf(0x263)]];let _0x4193e0=_0xee1485[_0xf1bebf(0x267)]?0x2:0x1,_0x726268=_0xee1485[_0xf1bebf(0x1d9)],_0x477070,_0x519e58;typeof _0x2d95ca=='string'?(_0x477070=Buffer['byteLength'](_0x2d95ca),_0x519e58=!0x1):_0x163f70(_0x2d95ca)?(_0x477070=_0x2d95ca['size'],_0x519e58=!0x1):(_0x2d95ca=_0x1455ee(_0x2d95ca),_0x477070=_0x2d95ca[_0xf1bebf(0x11b)],_0x519e58=_0x1455ee[_0xf1bebf(0x21a)]),this[_0xf1bebf(0x288)]?(this[_0xf1bebf(0x288)]=!0x1,_0x726268&&_0x2f86cd&&_0x2f86cd[_0xf1bebf(0x1d7)][_0x2f86cd[_0xf1bebf(0x1c8)]?'server_no_context_takeover':'client_no_context_takeover']&&(_0x726268=_0x477070>=_0x2f86cd['_threshold']),this[_0xf1bebf(0x21e)]=_0x726268):(_0x726268=!0x1,_0x4193e0=0x0),_0xee1485[_0xf1bebf(0x19e)]&&(this['_firstFragment']=!0x0);const _0x22243d={[_0x2c384b]:_0x477070,'fin':_0xee1485[_0xf1bebf(0x19e)],'generateMask':this[_0xf1bebf(0x24e)],'mask':_0xee1485[_0xf1bebf(0x21f)],'maskBuffer':this[_0xf1bebf(0x1e6)],'opcode':_0x4193e0,'readOnly':_0x519e58,'rsv1':_0x726268};_0x163f70(_0x2d95ca)?this[_0xf1bebf(0x22a)]!==_0x142346?this[_0xf1bebf(0x1f5)]([this[_0xf1bebf(0x286)],_0x2d95ca,this[_0xf1bebf(0x21e)],_0x22243d,_0x1d4f3c]):this[_0xf1bebf(0x286)](_0x2d95ca,this[_0xf1bebf(0x21e)],_0x22243d,_0x1d4f3c):this[_0xf1bebf(0x22a)]!==_0x142346?this[_0xf1bebf(0x1f5)]([this[_0xf1bebf(0x230)],_0x2d95ca,this[_0xf1bebf(0x21e)],_0x22243d,_0x1d4f3c]):this[_0xf1bebf(0x230)](_0x2d95ca,this[_0xf1bebf(0x21e)],_0x22243d,_0x1d4f3c);}['getBlobData'](_0x3b580c,_0x2d9428,_0x4ca09a,_0x430c12){const _0x20bf65=_0x143ba7;this['_bufferedBytes']+=_0x4ca09a[_0x2c384b],this['_state']=_0x4afb4c,_0x3b580c['arrayBuffer']()['then'](_0x18626e=>{const _0xe47309=_0x56b3;if(this[_0xe47309(0x21b)][_0xe47309(0xfd)]){const _0x445e18=new Error(_0xe47309(0x258));process['nextTick'](_0x3dac29,this,_0x445e18,_0x430c12);return;}this[_0xe47309(0x270)]-=_0x4ca09a[_0x2c384b];const _0x179b2a=_0x1455ee(_0x18626e);_0x2d9428?this[_0xe47309(0x230)](_0x179b2a,_0x2d9428,_0x4ca09a,_0x430c12):(this['_state']=_0x142346,this[_0xe47309(0x1a4)](_0x228e45['frame'](_0x179b2a,_0x4ca09a),_0x430c12),this['dequeue']());})[_0x20bf65(0x222)](_0x76f589=>{const _0x3119ca=_0x20bf65;process[_0x3119ca(0xf4)](_0x36b43b,this,_0x76f589,_0x430c12);});}[_0x143ba7(0x230)](_0x3a97ba,_0x185585,_0x469a0d,_0x3513a3){const _0x5bae6e=_0x143ba7;if(!_0x185585){this[_0x5bae6e(0x1a4)](_0x228e45[_0x5bae6e(0x291)](_0x3a97ba,_0x469a0d),_0x3513a3);return;}const _0x2c73d7=this[_0x5bae6e(0x1a9)][_0x2cad03[_0x5bae6e(0x263)]];this['_bufferedBytes']+=_0x469a0d[_0x2c384b],this[_0x5bae6e(0x22a)]=_0x45f654,_0x2c73d7[_0x5bae6e(0x1d9)](_0x3a97ba,_0x469a0d[_0x5bae6e(0x19e)],(_0x304a93,_0x418c32)=>{const _0x5165b0=_0x5bae6e;if(this[_0x5165b0(0x21b)]['destroyed']){const _0x4c0f38=new Error(_0x5165b0(0x14f));_0x3dac29(this,_0x4c0f38,_0x3513a3);return;}this['_bufferedBytes']-=_0x469a0d[_0x2c384b],this['_state']=_0x142346,_0x469a0d[_0x5165b0(0x21a)]=!0x1,this[_0x5165b0(0x1a4)](_0x228e45[_0x5165b0(0x291)](_0x418c32,_0x469a0d),_0x3513a3),this[_0x5165b0(0x18a)]();});}[_0x143ba7(0x18a)](){const _0x2672b1=_0x143ba7;for(;this['_state']===_0x142346&&this['_queue'][_0x2672b1(0x11b)];){const _0x5a2c9e=this['_queue'][_0x2672b1(0x247)]();this[_0x2672b1(0x270)]-=_0x5a2c9e[0x3][_0x2c384b],Reflect[_0x2672b1(0xd5)](_0x5a2c9e[0x0],this,_0x5a2c9e[_0x2672b1(0x143)](0x1));}}[_0x143ba7(0x1f5)](_0x3d9cf4){const _0x3478b8=_0x143ba7;this[_0x3478b8(0x270)]+=_0x3d9cf4[0x3][_0x2c384b],this[_0x3478b8(0xf9)][_0x3478b8(0x26c)](_0x3d9cf4);}[_0x143ba7(0x1a4)](_0x7f3721,_0xfca90){const _0x392b7d=_0x143ba7;_0x7f3721['length']===0x2?(this[_0x392b7d(0x21b)][_0x392b7d(0x102)](),this['_socket'][_0x392b7d(0x1f6)](_0x7f3721[0x0]),this[_0x392b7d(0x21b)]['write'](_0x7f3721[0x1],_0xfca90),this['_socket'][_0x392b7d(0x196)]()):this[_0x392b7d(0x21b)][_0x392b7d(0x1f6)](_0x7f3721[0x0],_0xfca90);}}Ee=_0x228e45;function _0x3dac29(_0x283f17,_0x56d4d9,_0x6070e2){const _0x314e28=_0x143ba7;typeof _0x6070e2==_0x314e28(0x1b2)&&_0x6070e2(_0x56d4d9);for(let _0x4afb2a=0x0;_0x4afb2a<_0x283f17['_queue'][_0x314e28(0x11b)];_0x4afb2a++){const _0x317a4c=_0x283f17['_queue'][_0x4afb2a],_0x4baeca=_0x317a4c[_0x317a4c['length']-0x1];typeof _0x4baeca==_0x314e28(0x1b2)&&_0x4baeca(_0x56d4d9);}}function _0x36b43b(_0xc2e1cd,_0x1e268f,_0x4d5446){_0x3dac29(_0xc2e1cd,_0x1e268f,_0x4d5446),_0xc2e1cd['onerror'](_0x1e268f);}return Ee;}var xe,Ze;function It(){const _0x59681b=_0x1bc787;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x45db84,kListener:_0x1e9da6}=H(),_0x935d6d=Symbol(_0x59681b(0x254)),_0x29ac84=Symbol('kData'),_0x2c6cbf=Symbol('kError'),_0xe24d87=Symbol(_0x59681b(0x100)),_0x19af4b=Symbol(_0x59681b(0x1fb)),_0x1ee839=Symbol(_0x59681b(0x207)),_0x2c3f59=Symbol(_0x59681b(0x244)),_0x3345c3=Symbol(_0x59681b(0x175));class _0x5324a8{constructor(_0x329d25){this[_0x1ee839]=null,this[_0x2c3f59]=_0x329d25;}get[_0x59681b(0x1b6)](){return this[_0x1ee839];}get[_0x59681b(0x178)](){return this[_0x2c3f59];}}Object[_0x59681b(0x188)](_0x5324a8['prototype'],'target',{'enumerable':!0x0}),Object[_0x59681b(0x188)](_0x5324a8[_0x59681b(0xcc)],_0x59681b(0x178),{'enumerable':!0x0});class _0x15377c extends _0x5324a8{constructor(_0x2eb5a0,_0x49fb4b={}){const _0x3cb054=_0x59681b;super(_0x2eb5a0),this[_0x935d6d]=_0x49fb4b[_0x3cb054(0x12a)]===void 0x0?0x0:_0x49fb4b[_0x3cb054(0x12a)],this[_0x19af4b]=_0x49fb4b[_0x3cb054(0x20e)]===void 0x0?'':_0x49fb4b['reason'],this[_0x3345c3]=_0x49fb4b['wasClean']===void 0x0?!0x1:_0x49fb4b[_0x3cb054(0x1dc)];}get[_0x59681b(0x12a)](){return this[_0x935d6d];}get[_0x59681b(0x20e)](){return this[_0x19af4b];}get[_0x59681b(0x1dc)](){return this[_0x3345c3];}}Object[_0x59681b(0x188)](_0x15377c['prototype'],_0x59681b(0x12a),{'enumerable':!0x0}),Object[_0x59681b(0x188)](_0x15377c[_0x59681b(0xcc)],_0x59681b(0x20e),{'enumerable':!0x0}),Object['defineProperty'](_0x15377c[_0x59681b(0xcc)],_0x59681b(0x1dc),{'enumerable':!0x0});class _0x1e9706 extends _0x5324a8{constructor(_0xec99cf,_0x15f1b8={}){const _0xdff55b=_0x59681b;super(_0xec99cf),this[_0x2c6cbf]=_0x15f1b8[_0xdff55b(0x1b9)]===void 0x0?null:_0x15f1b8[_0xdff55b(0x1b9)],this[_0xe24d87]=_0x15f1b8[_0xdff55b(0x224)]===void 0x0?'':_0x15f1b8[_0xdff55b(0x224)];}get[_0x59681b(0x1b9)](){return this[_0x2c6cbf];}get[_0x59681b(0x224)](){return this[_0xe24d87];}}Object['defineProperty'](_0x1e9706[_0x59681b(0xcc)],_0x59681b(0x1b9),{'enumerable':!0x0}),Object['defineProperty'](_0x1e9706[_0x59681b(0xcc)],_0x59681b(0x224),{'enumerable':!0x0});class _0x1c2b34 extends _0x5324a8{constructor(_0x4f8483,_0x44f261={}){const _0x138ded=_0x59681b;super(_0x4f8483),this[_0x29ac84]=_0x44f261[_0x138ded(0x24d)]===void 0x0?null:_0x44f261[_0x138ded(0x24d)];}get[_0x59681b(0x24d)](){return this[_0x29ac84];}}Object['defineProperty'](_0x1c2b34['prototype'],_0x59681b(0x24d),{'enumerable':!0x0}),xe={'CloseEvent':_0x15377c,'ErrorEvent':_0x1e9706,'Event':_0x5324a8,'EventTarget':{'addEventListener'(_0x2d02b6,_0x3a33a9,_0x3a7684={}){const _0x11eb64=_0x59681b;for(const _0x4667d3 of this[_0x11eb64(0x13d)](_0x2d02b6))if(!_0x3a7684[_0x45db84]&&_0x4667d3[_0x1e9da6]===_0x3a33a9&&!_0x4667d3[_0x45db84])return;let _0x5632e8;if(_0x2d02b6==='message')_0x5632e8=function(_0x3434ae,_0x5ee5df){const _0x3fc449=_0x11eb64,_0x33d4d6=new _0x1c2b34(_0x3fc449(0x224),{'data':_0x5ee5df?_0x3434ae:_0x3434ae[_0x3fc449(0x17b)]()});_0x33d4d6[_0x1ee839]=this,_0x464a9c(_0x3a33a9,this,_0x33d4d6);};else{if(_0x2d02b6==='close')_0x5632e8=function(_0xf23057,_0x2d5493){const _0x446ee7=_0x11eb64,_0x5595c0=new _0x15377c(_0x446ee7(0x211),{'code':_0xf23057,'reason':_0x2d5493['toString'](),'wasClean':this[_0x446ee7(0x1f8)]&&this[_0x446ee7(0x259)]});_0x5595c0[_0x1ee839]=this,_0x464a9c(_0x3a33a9,this,_0x5595c0);};else{if(_0x2d02b6==='error')_0x5632e8=function(_0x5dcbad){const _0x2d714e=new _0x1e9706('error',{'error':_0x5dcbad,'message':_0x5dcbad['message']});_0x2d714e[_0x1ee839]=this,_0x464a9c(_0x3a33a9,this,_0x2d714e);};else{if(_0x2d02b6===_0x11eb64(0x105))_0x5632e8=function(){const _0x3e1cf2=_0x11eb64,_0x93063d=new _0x5324a8(_0x3e1cf2(0x105));_0x93063d[_0x1ee839]=this,_0x464a9c(_0x3a33a9,this,_0x93063d);};else return;}}}_0x5632e8[_0x45db84]=!!_0x3a7684[_0x45db84],_0x5632e8[_0x1e9da6]=_0x3a33a9,_0x3a7684[_0x11eb64(0x127)]?this[_0x11eb64(0x127)](_0x2d02b6,_0x5632e8):this['on'](_0x2d02b6,_0x5632e8);},'removeEventListener'(_0x26ffa0,_0x20b57e){const _0x461475=_0x59681b;for(const _0x487113 of this['listeners'](_0x26ffa0))if(_0x487113[_0x1e9da6]===_0x20b57e&&!_0x487113[_0x45db84]){this[_0x461475(0x1ee)](_0x26ffa0,_0x487113);break;}}},'MessageEvent':_0x1c2b34};function _0x464a9c(_0x26482b,_0x1155a3,_0x339330){const _0x264b76=_0x59681b;typeof _0x26482b==_0x264b76(0x21c)&&_0x26482b[_0x264b76(0x295)]?_0x26482b[_0x264b76(0x295)][_0x264b76(0x27b)](_0x26482b,_0x339330):_0x26482b[_0x264b76(0x27b)](_0x1155a3,_0x339330);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x5e87ba}=ae();function _0x52eb58(_0x1a60b2,_0x4115fa,_0x1f840e){const _0x40bb94=_0x56b3;_0x1a60b2[_0x4115fa]===void 0x0?_0x1a60b2[_0x4115fa]=[_0x1f840e]:_0x1a60b2[_0x4115fa][_0x40bb94(0x26c)](_0x1f840e);}function _0x2266fb(_0x5bd36b){const _0x16e6c6=_0x56b3,_0x4aca2c=Object['create'](null);let _0x5ec083=Object[_0x16e6c6(0x210)](null),_0x19ebbe=!0x1,_0x3d02ba=!0x1,_0x3582b2=!0x1,_0x277bab,_0x1831b7,_0x215c2d=-0x1,_0x595541=-0x1,_0x35e280=-0x1,_0x362569=0x0;for(;_0x362569<_0x5bd36b[_0x16e6c6(0x11b)];_0x362569++)if(_0x595541=_0x5bd36b[_0x16e6c6(0xe0)](_0x362569),_0x277bab===void 0x0){if(_0x35e280===-0x1&&_0x5e87ba[_0x595541]===0x1)_0x215c2d===-0x1&&(_0x215c2d=_0x362569);else{if(_0x362569!==0x0&&(_0x595541===0x20||_0x595541===0x9))_0x35e280===-0x1&&_0x215c2d!==-0x1&&(_0x35e280=_0x362569);else{if(_0x595541===0x3b||_0x595541===0x2c){if(_0x215c2d===-0x1)throw new SyntaxError(_0x16e6c6(0xdd)+_0x362569);_0x35e280===-0x1&&(_0x35e280=_0x362569);const _0x5c6e5b=_0x5bd36b['slice'](_0x215c2d,_0x35e280);_0x595541===0x2c?(_0x52eb58(_0x4aca2c,_0x5c6e5b,_0x5ec083),_0x5ec083=Object[_0x16e6c6(0x210)](null)):_0x277bab=_0x5c6e5b,_0x215c2d=_0x35e280=-0x1;}else throw new SyntaxError(_0x16e6c6(0xdd)+_0x362569);}}}else{if(_0x1831b7===void 0x0){if(_0x35e280===-0x1&&_0x5e87ba[_0x595541]===0x1)_0x215c2d===-0x1&&(_0x215c2d=_0x362569);else{if(_0x595541===0x20||_0x595541===0x9)_0x35e280===-0x1&&_0x215c2d!==-0x1&&(_0x35e280=_0x362569);else{if(_0x595541===0x3b||_0x595541===0x2c){if(_0x215c2d===-0x1)throw new SyntaxError(_0x16e6c6(0xdd)+_0x362569);_0x35e280===-0x1&&(_0x35e280=_0x362569),_0x52eb58(_0x5ec083,_0x5bd36b[_0x16e6c6(0x143)](_0x215c2d,_0x35e280),!0x0),_0x595541===0x2c&&(_0x52eb58(_0x4aca2c,_0x277bab,_0x5ec083),_0x5ec083=Object[_0x16e6c6(0x210)](null),_0x277bab=void 0x0),_0x215c2d=_0x35e280=-0x1;}else{if(_0x595541===0x3d&&_0x215c2d!==-0x1&&_0x35e280===-0x1)_0x1831b7=_0x5bd36b[_0x16e6c6(0x143)](_0x215c2d,_0x362569),_0x215c2d=_0x35e280=-0x1;else throw new SyntaxError(_0x16e6c6(0xdd)+_0x362569);}}}}else{if(_0x3d02ba){if(_0x5e87ba[_0x595541]!==0x1)throw new SyntaxError(_0x16e6c6(0xdd)+_0x362569);_0x215c2d===-0x1?_0x215c2d=_0x362569:_0x19ebbe||(_0x19ebbe=!0x0),_0x3d02ba=!0x1;}else{if(_0x3582b2){if(_0x5e87ba[_0x595541]===0x1)_0x215c2d===-0x1&&(_0x215c2d=_0x362569);else{if(_0x595541===0x22&&_0x215c2d!==-0x1)_0x3582b2=!0x1,_0x35e280=_0x362569;else{if(_0x595541===0x5c)_0x3d02ba=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x362569);}}}else{if(_0x595541===0x22&&_0x5bd36b['charCodeAt'](_0x362569-0x1)===0x3d)_0x3582b2=!0x0;else{if(_0x35e280===-0x1&&_0x5e87ba[_0x595541]===0x1)_0x215c2d===-0x1&&(_0x215c2d=_0x362569);else{if(_0x215c2d!==-0x1&&(_0x595541===0x20||_0x595541===0x9))_0x35e280===-0x1&&(_0x35e280=_0x362569);else{if(_0x595541===0x3b||_0x595541===0x2c){if(_0x215c2d===-0x1)throw new SyntaxError(_0x16e6c6(0xdd)+_0x362569);_0x35e280===-0x1&&(_0x35e280=_0x362569);let _0x51de5d=_0x5bd36b[_0x16e6c6(0x143)](_0x215c2d,_0x35e280);_0x19ebbe&&(_0x51de5d=_0x51de5d[_0x16e6c6(0x249)](/\\/g,''),_0x19ebbe=!0x1),_0x52eb58(_0x5ec083,_0x1831b7,_0x51de5d),_0x595541===0x2c&&(_0x52eb58(_0x4aca2c,_0x277bab,_0x5ec083),_0x5ec083=Object[_0x16e6c6(0x210)](null),_0x277bab=void 0x0),_0x1831b7=void 0x0,_0x215c2d=_0x35e280=-0x1;}else throw new SyntaxError(_0x16e6c6(0xdd)+_0x362569);}}}}}}}if(_0x215c2d===-0x1||_0x3582b2||_0x595541===0x20||_0x595541===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x35e280===-0x1&&(_0x35e280=_0x362569);const _0xac9fa4=_0x5bd36b[_0x16e6c6(0x143)](_0x215c2d,_0x35e280);return _0x277bab===void 0x0?_0x52eb58(_0x4aca2c,_0xac9fa4,_0x5ec083):(_0x1831b7===void 0x0?_0x52eb58(_0x5ec083,_0xac9fa4,!0x0):_0x19ebbe?_0x52eb58(_0x5ec083,_0x1831b7,_0xac9fa4['replace'](/\\/g,'')):_0x52eb58(_0x5ec083,_0x1831b7,_0xac9fa4),_0x52eb58(_0x4aca2c,_0x277bab,_0x5ec083)),_0x4aca2c;}function _0x3f9905(_0x84e62e){const _0x9d92d7=_0x56b3;return Object[_0x9d92d7(0x192)](_0x84e62e)['map'](_0x1533a5=>{const _0x113769=_0x9d92d7;let _0x4474bf=_0x84e62e[_0x1533a5];return Array[_0x113769(0x151)](_0x4474bf)||(_0x4474bf=[_0x4474bf]),_0x4474bf[_0x113769(0x126)](_0x97c10d=>[_0x1533a5][_0x113769(0x238)](Object[_0x113769(0x192)](_0x97c10d)['map'](_0x13768f=>{const _0x572b09=_0x113769;let _0x4fdfaa=_0x97c10d[_0x13768f];return Array[_0x572b09(0x151)](_0x4fdfaa)||(_0x4fdfaa=[_0x4fdfaa]),_0x4fdfaa[_0x572b09(0x126)](_0x3bc6f0=>_0x3bc6f0===!0x0?_0x13768f:_0x13768f+'='+_0x3bc6f0)[_0x572b09(0x279)](';\x20');}))[_0x113769(0x279)](';\x20'))['join'](',\x20');})['join'](',\x20');}return be={'format':_0x3f9905,'parse':_0x2266fb},be;}var we,Je;function Pe(){const _0x1339d8=_0x1bc787;if(Je)return we;Je=0x1;const _0x58cc78=nt,_0x2b2332=vt,_0x1cec79=ot,_0x3e78df=St,_0x8a7f1d=Et,{randomBytes:_0x3548fa,createHash:_0xdcde88}=Le,{Duplex:_0x1745b1,Readable:_0x3c1d8c}=oe,{URL:_0x5a1621}=xt,_0x3354e0=he(),_0x19a9f8=lt(),_0x4d5a94=ft(),{isBlob:_0x555b14}=ae(),{BINARY_TYPES:_0x485019,EMPTY_BUFFER:_0x1f6eda,GUID:_0x205e07,kForOnEventAttribute:_0xa67ed2,kListener:_0x21a5dc,kStatusCode:_0xe96aba,kWebSocket:_0x157199,NOOP:_0x526345}=H(),{EventTarget:{addEventListener:_0x1fb2f8,removeEventListener:_0x39a275}}=It(),{format:_0x128d70,parse:_0x2f2ce7}=ct(),{toBuffer:_0xbcfb5d}=ce(),_0x1c8783=0x1e*0x3e8,_0x448d1c=Symbol(_0x1339d8(0x20c)),_0x1b9ed4=[0x8,0xd],_0xfc7f16=[_0x1339d8(0xea),_0x1339d8(0x208),_0x1339d8(0x1cd),_0x1339d8(0xe1)],_0xc791b9=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x81caa9 extends _0x58cc78{constructor(_0x3df5c1,_0x4d2fa4,_0xd933be){const _0x1c62ff=_0x1339d8;super(),this[_0x1c62ff(0xeb)]=_0x485019[0x0],this[_0x1c62ff(0x183)]=0x3ee,this[_0x1c62ff(0x1f8)]=!0x1,this[_0x1c62ff(0x259)]=!0x1,this[_0x1c62ff(0x180)]=_0x1f6eda,this[_0x1c62ff(0x223)]=null,this[_0x1c62ff(0xd9)]=!0x1,this['_extensions']={},this[_0x1c62ff(0x138)]=!0x1,this['_protocol']='',this[_0x1c62ff(0x1ea)]=_0x81caa9[_0x1c62ff(0xea)],this['_receiver']=null,this[_0x1c62ff(0x1d5)]=null,this['_socket']=null,_0x3df5c1!==null?(this[_0x1c62ff(0x27f)]=0x0,this[_0x1c62ff(0x1c8)]=!0x1,this[_0x1c62ff(0x237)]=0x0,_0x4d2fa4===void 0x0?_0x4d2fa4=[]:Array[_0x1c62ff(0x151)](_0x4d2fa4)||(typeof _0x4d2fa4==_0x1c62ff(0x21c)&&_0x4d2fa4!==null?(_0xd933be=_0x4d2fa4,_0x4d2fa4=[]):_0x4d2fa4=[_0x4d2fa4]),_0x3c0916(this,_0x3df5c1,_0x4d2fa4,_0xd933be)):(this[_0x1c62ff(0x277)]=_0xd933be[_0x1c62ff(0x15f)],this['_isServer']=!0x0);}get[_0x1339d8(0xdb)](){const _0x1301c2=_0x1339d8;return this[_0x1301c2(0xeb)];}set['binaryType'](_0xc96035){const _0x2ecb36=_0x1339d8;_0x485019[_0x2ecb36(0x1a1)](_0xc96035)&&(this[_0x2ecb36(0xeb)]=_0xc96035,this[_0x2ecb36(0x16c)]&&(this[_0x2ecb36(0x16c)][_0x2ecb36(0xeb)]=_0xc96035));}get['bufferedAmount'](){const _0x46f444=_0x1339d8;return this[_0x46f444(0x21b)]?this[_0x46f444(0x21b)][_0x46f444(0x14e)][_0x46f444(0x11b)]+this['_sender'][_0x46f444(0x270)]:this[_0x46f444(0x27f)];}get['extensions'](){const _0x54d8d8=_0x1339d8;return Object[_0x54d8d8(0x192)](this['_extensions'])[_0x54d8d8(0x279)]();}get[_0x1339d8(0xed)](){return this['_paused'];}get['onclose'](){return null;}get[_0x1339d8(0xd0)](){return null;}get[_0x1339d8(0x1bb)](){return null;}get[_0x1339d8(0x268)](){return null;}get[_0x1339d8(0x20f)](){const _0x46f2e6=_0x1339d8;return this[_0x46f2e6(0x172)];}get[_0x1339d8(0x289)](){const _0xe4cf70=_0x1339d8;return this[_0xe4cf70(0x1ea)];}get['url'](){const _0x5d0ccd=_0x1339d8;return this[_0x5d0ccd(0x218)];}[_0x1339d8(0x1a7)](_0x43cad4,_0x384e2d,_0x1514ad){const _0x564067=_0x1339d8,_0x5c06ab=new _0x19a9f8({'allowSynchronousEvents':_0x1514ad[_0x564067(0x252)],'binaryType':this[_0x564067(0xdb)],'extensions':this[_0x564067(0x1a9)],'isServer':this[_0x564067(0x1c8)],'maxPayload':_0x1514ad[_0x564067(0x262)],'skipUTF8Validation':_0x1514ad[_0x564067(0x10f)]}),_0x4930f3=new _0x4d5a94(_0x43cad4,this[_0x564067(0x1a9)],_0x1514ad[_0x564067(0x133)]);this['_receiver']=_0x5c06ab,this[_0x564067(0x1d5)]=_0x4930f3,this['_socket']=_0x43cad4,_0x5c06ab[_0x157199]=this,_0x4930f3[_0x157199]=this,_0x43cad4[_0x157199]=this,_0x5c06ab['on'](_0x564067(0x227),_0xfe8076),_0x5c06ab['on']('drain',_0x21dc23),_0x5c06ab['on']('error',_0x395f7d),_0x5c06ab['on'](_0x564067(0x224),_0x46e9ef),_0x5c06ab['on'](_0x564067(0x29b),_0x208268),_0x5c06ab['on'](_0x564067(0x257),_0x94d8bf),_0x4930f3[_0x564067(0xd0)]=_0x5b7257,_0x43cad4['setTimeout']&&_0x43cad4[_0x564067(0xd6)](0x0),_0x43cad4[_0x564067(0x15d)]&&_0x43cad4[_0x564067(0x15d)](),_0x384e2d[_0x564067(0x11b)]>0x0&&_0x43cad4[_0x564067(0x213)](_0x384e2d),_0x43cad4['on']('close',_0x42ccc2),_0x43cad4['on'](_0x564067(0x24d),_0x1182d1),_0x43cad4['on'](_0x564067(0x1ab),_0x37f9a7),_0x43cad4['on'](_0x564067(0x1b9),_0x24c9bd),this['_readyState']=_0x81caa9['OPEN'],this['emit'](_0x564067(0x105));}[_0x1339d8(0x19a)](){const _0x1e9091=_0x1339d8;if(!this['_socket']){this[_0x1e9091(0x1ea)]=_0x81caa9['CLOSED'],this[_0x1e9091(0x245)](_0x1e9091(0x211),this['_closeCode'],this[_0x1e9091(0x180)]);return;}this[_0x1e9091(0x1a9)][_0x3354e0[_0x1e9091(0x263)]]&&this[_0x1e9091(0x1a9)][_0x3354e0[_0x1e9091(0x263)]]['cleanup'](),this[_0x1e9091(0x16c)][_0x1e9091(0x14d)](),this[_0x1e9091(0x1ea)]=_0x81caa9[_0x1e9091(0xe1)],this[_0x1e9091(0x245)](_0x1e9091(0x211),this[_0x1e9091(0x183)],this[_0x1e9091(0x180)]);}[_0x1339d8(0x211)](_0x23a8fb,_0x491f7c){const _0x1c45b0=_0x1339d8;if(this[_0x1c45b0(0x289)]!==_0x81caa9['CLOSED']){if(this[_0x1c45b0(0x289)]===_0x81caa9[_0x1c45b0(0xea)]){_0x183d21(this,this[_0x1c45b0(0x1b5)],_0x1c45b0(0x1a3));return;}if(this[_0x1c45b0(0x289)]===_0x81caa9['CLOSING']){this[_0x1c45b0(0x259)]&&(this[_0x1c45b0(0x1f8)]||this[_0x1c45b0(0x16c)][_0x1c45b0(0x14e)][_0x1c45b0(0x185)])&&this[_0x1c45b0(0x21b)][_0x1c45b0(0x1ab)]();return;}this[_0x1c45b0(0x1ea)]=_0x81caa9['CLOSING'],this[_0x1c45b0(0x1d5)]['close'](_0x23a8fb,_0x491f7c,!this['_isServer'],_0x21c14d=>{const _0x4d53f8=_0x1c45b0;_0x21c14d||(this[_0x4d53f8(0x259)]=!0x0,(this['_closeFrameReceived']||this[_0x4d53f8(0x16c)][_0x4d53f8(0x14e)][_0x4d53f8(0x185)])&&this[_0x4d53f8(0x21b)][_0x4d53f8(0x1ab)]());}),_0x3ce662(this);}}['pause'](){const _0x2b7cc3=_0x1339d8;this[_0x2b7cc3(0x289)]===_0x81caa9[_0x2b7cc3(0xea)]||this['readyState']===_0x81caa9[_0x2b7cc3(0xe1)]||(this[_0x2b7cc3(0x138)]=!0x0,this['_socket']['pause']());}['ping'](_0x52d2d5,_0x33074e,_0x4b2d8c){const _0x10a495=_0x1339d8;if(this[_0x10a495(0x289)]===_0x81caa9[_0x10a495(0xea)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x52d2d5==_0x10a495(0x1b2)?(_0x4b2d8c=_0x52d2d5,_0x52d2d5=_0x33074e=void 0x0):typeof _0x33074e==_0x10a495(0x1b2)&&(_0x4b2d8c=_0x33074e,_0x33074e=void 0x0),typeof _0x52d2d5==_0x10a495(0xf5)&&(_0x52d2d5=_0x52d2d5[_0x10a495(0x17b)]()),this['readyState']!==_0x81caa9['OPEN']){_0x52673a(this,_0x52d2d5,_0x4b2d8c);return;}_0x33074e===void 0x0&&(_0x33074e=!this[_0x10a495(0x1c8)]),this[_0x10a495(0x1d5)]['ping'](_0x52d2d5||_0x1f6eda,_0x33074e,_0x4b2d8c);}[_0x1339d8(0x257)](_0x317f4b,_0x3aab73,_0x2a882b){const _0x2c6930=_0x1339d8;if(this[_0x2c6930(0x289)]===_0x81caa9[_0x2c6930(0xea)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x317f4b=='function'?(_0x2a882b=_0x317f4b,_0x317f4b=_0x3aab73=void 0x0):typeof _0x3aab73==_0x2c6930(0x1b2)&&(_0x2a882b=_0x3aab73,_0x3aab73=void 0x0),typeof _0x317f4b==_0x2c6930(0xf5)&&(_0x317f4b=_0x317f4b[_0x2c6930(0x17b)]()),this[_0x2c6930(0x289)]!==_0x81caa9['OPEN']){_0x52673a(this,_0x317f4b,_0x2a882b);return;}_0x3aab73===void 0x0&&(_0x3aab73=!this[_0x2c6930(0x1c8)]),this[_0x2c6930(0x1d5)][_0x2c6930(0x257)](_0x317f4b||_0x1f6eda,_0x3aab73,_0x2a882b);}[_0x1339d8(0x1be)](){const _0x3bc4c5=_0x1339d8;this[_0x3bc4c5(0x289)]===_0x81caa9['CONNECTING']||this[_0x3bc4c5(0x289)]===_0x81caa9['CLOSED']||(this[_0x3bc4c5(0x138)]=!0x1,this[_0x3bc4c5(0x16c)]['_writableState']['needDrain']||this[_0x3bc4c5(0x21b)][_0x3bc4c5(0x1be)]());}[_0x1339d8(0xe7)](_0x2a175f,_0x21e7ea,_0x366112){const _0x68956f=_0x1339d8;if(this[_0x68956f(0x289)]===_0x81caa9[_0x68956f(0xea)])throw new Error(_0x68956f(0x1b8));if(typeof _0x21e7ea==_0x68956f(0x1b2)&&(_0x366112=_0x21e7ea,_0x21e7ea={}),typeof _0x2a175f=='number'&&(_0x2a175f=_0x2a175f[_0x68956f(0x17b)]()),this[_0x68956f(0x289)]!==_0x81caa9[_0x68956f(0x208)]){_0x52673a(this,_0x2a175f,_0x366112);return;}const _0x2cd4a0={'binary':typeof _0x2a175f!=_0x68956f(0x150),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x21e7ea};this['_extensions'][_0x3354e0[_0x68956f(0x263)]]||(_0x2cd4a0['compress']=!0x1),this[_0x68956f(0x1d5)][_0x68956f(0xe7)](_0x2a175f||_0x1f6eda,_0x2cd4a0,_0x366112);}[_0x1339d8(0x26f)](){const _0x492949=_0x1339d8;if(this[_0x492949(0x289)]!==_0x81caa9[_0x492949(0xe1)]){if(this[_0x492949(0x289)]===_0x81caa9[_0x492949(0xea)]){_0x183d21(this,this[_0x492949(0x1b5)],_0x492949(0x1a3));return;}this[_0x492949(0x21b)]&&(this[_0x492949(0x1ea)]=_0x81caa9[_0x492949(0x1cd)],this[_0x492949(0x21b)]['destroy']());}}}Object[_0x1339d8(0x188)](_0x81caa9,_0x1339d8(0xea),{'enumerable':!0x0,'value':_0xfc7f16[_0x1339d8(0x1dd)](_0x1339d8(0xea))}),Object[_0x1339d8(0x188)](_0x81caa9[_0x1339d8(0xcc)],_0x1339d8(0xea),{'enumerable':!0x0,'value':_0xfc7f16['indexOf'](_0x1339d8(0xea))}),Object[_0x1339d8(0x188)](_0x81caa9,_0x1339d8(0x208),{'enumerable':!0x0,'value':_0xfc7f16[_0x1339d8(0x1dd)](_0x1339d8(0x208))}),Object[_0x1339d8(0x188)](_0x81caa9[_0x1339d8(0xcc)],_0x1339d8(0x208),{'enumerable':!0x0,'value':_0xfc7f16[_0x1339d8(0x1dd)](_0x1339d8(0x208))}),Object[_0x1339d8(0x188)](_0x81caa9,_0x1339d8(0x1cd),{'enumerable':!0x0,'value':_0xfc7f16[_0x1339d8(0x1dd)](_0x1339d8(0x1cd))}),Object[_0x1339d8(0x188)](_0x81caa9[_0x1339d8(0xcc)],'CLOSING',{'enumerable':!0x0,'value':_0xfc7f16[_0x1339d8(0x1dd)](_0x1339d8(0x1cd))}),Object[_0x1339d8(0x188)](_0x81caa9,_0x1339d8(0xe1),{'enumerable':!0x0,'value':_0xfc7f16[_0x1339d8(0x1dd)]('CLOSED')}),Object['defineProperty'](_0x81caa9['prototype'],'CLOSED',{'enumerable':!0x0,'value':_0xfc7f16[_0x1339d8(0x1dd)](_0x1339d8(0xe1))}),[_0x1339d8(0xdb),'bufferedAmount','extensions',_0x1339d8(0xed),_0x1339d8(0x20f),_0x1339d8(0x289),_0x1339d8(0x18f)][_0x1339d8(0x135)](_0x131af6=>{const _0x283e99=_0x1339d8;Object[_0x283e99(0x188)](_0x81caa9['prototype'],_0x131af6,{'enumerable':!0x0});}),[_0x1339d8(0x105),_0x1339d8(0x1b9),'close','message'][_0x1339d8(0x135)](_0x274a8b=>{const _0x81aa4b=_0x1339d8;Object[_0x81aa4b(0x188)](_0x81caa9[_0x81aa4b(0xcc)],'on'+_0x274a8b,{'enumerable':!0x0,'get'(){const _0x37defe=_0x81aa4b;for(const _0x1e1f44 of this[_0x37defe(0x13d)](_0x274a8b))if(_0x1e1f44[_0xa67ed2])return _0x1e1f44[_0x21a5dc];return null;},'set'(_0x1e6e14){const _0x82409f=_0x81aa4b;for(const _0x506b4c of this[_0x82409f(0x13d)](_0x274a8b))if(_0x506b4c[_0xa67ed2]){this[_0x82409f(0x1ee)](_0x274a8b,_0x506b4c);break;}typeof _0x1e6e14==_0x82409f(0x1b2)&&this[_0x82409f(0x115)](_0x274a8b,_0x1e6e14,{[_0xa67ed2]:!0x0});}});}),_0x81caa9[_0x1339d8(0xcc)][_0x1339d8(0x115)]=_0x1fb2f8,_0x81caa9[_0x1339d8(0xcc)][_0x1339d8(0x1b1)]=_0x39a275,we=_0x81caa9;function _0x3c0916(_0x44204c,_0x27ed71,_0x1e161f,_0x335f86){const _0x47ca12=_0x1339d8,_0x4c7243={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x1b9ed4[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x335f86,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x47ca12(0x26a),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x44204c[_0x47ca12(0x277)]=_0x4c7243[_0x47ca12(0x15f)],!_0x1b9ed4['includes'](_0x4c7243[_0x47ca12(0x131)]))throw new RangeError(_0x47ca12(0x22e)+_0x4c7243[_0x47ca12(0x131)]+'\x20(supported\x20versions:\x20'+_0x1b9ed4[_0x47ca12(0x279)](',\x20')+')');let _0x2afd8c;if(_0x27ed71 instanceof _0x5a1621)_0x2afd8c=_0x27ed71;else try{_0x2afd8c=new _0x5a1621(_0x27ed71);}catch{throw new SyntaxError(_0x47ca12(0x17a)+_0x27ed71);}_0x2afd8c[_0x47ca12(0x20f)]===_0x47ca12(0x114)?_0x2afd8c[_0x47ca12(0x20f)]=_0x47ca12(0xf2):_0x2afd8c['protocol']===_0x47ca12(0xfb)&&(_0x2afd8c[_0x47ca12(0x20f)]=_0x47ca12(0x281)),_0x44204c['_url']=_0x2afd8c['href'];const _0x4e619b=_0x2afd8c[_0x47ca12(0x20f)]===_0x47ca12(0x281),_0x5c5a60=_0x2afd8c[_0x47ca12(0x20f)]===_0x47ca12(0x1e0);let _0x376a7a;if(_0x2afd8c[_0x47ca12(0x20f)]!==_0x47ca12(0xf2)&&!_0x4e619b&&!_0x5c5a60?_0x376a7a=_0x47ca12(0x29c):_0x5c5a60&&!_0x2afd8c[_0x47ca12(0xd1)]?_0x376a7a=_0x47ca12(0x197):_0x2afd8c[_0x47ca12(0x123)]&&(_0x376a7a=_0x47ca12(0x16b)),_0x376a7a){const _0xcdf5be=new SyntaxError(_0x376a7a);if(_0x44204c[_0x47ca12(0x237)]===0x0)throw _0xcdf5be;_0xc84458(_0x44204c,_0xcdf5be);return;}const _0xe8ea31=_0x4e619b?0x1bb:0x50,_0x2acff8=_0x3548fa(0x10)[_0x47ca12(0x17b)](_0x47ca12(0x272)),_0x2e5781=_0x4e619b?_0x2b2332[_0x47ca12(0x28d)]:_0x1cec79[_0x47ca12(0x28d)],_0x470d8e=new Set();let _0x18fb8b;if(_0x4c7243[_0x47ca12(0x129)]=_0x4c7243[_0x47ca12(0x129)]||(_0x4e619b?_0x2eb09f:_0x34ee6c),_0x4c7243[_0x47ca12(0x201)]=_0x4c7243['defaultPort']||_0xe8ea31,_0x4c7243[_0x47ca12(0x1bf)]=_0x2afd8c[_0x47ca12(0x1bf)]||_0xe8ea31,_0x4c7243[_0x47ca12(0x11c)]=_0x2afd8c[_0x47ca12(0x276)][_0x47ca12(0x11a)]('[')?_0x2afd8c[_0x47ca12(0x276)][_0x47ca12(0x143)](0x1,-0x1):_0x2afd8c[_0x47ca12(0x276)],_0x4c7243[_0x47ca12(0x233)]={..._0x4c7243[_0x47ca12(0x233)],'Sec-WebSocket-Version':_0x4c7243[_0x47ca12(0x131)],'Sec-WebSocket-Key':_0x2acff8,'Connection':_0x47ca12(0x145),'Upgrade':'websocket'},_0x4c7243['path']=_0x2afd8c[_0x47ca12(0xd1)]+_0x2afd8c[_0x47ca12(0x107)],_0x4c7243['timeout']=_0x4c7243['handshakeTimeout'],_0x4c7243[_0x47ca12(0x287)]&&(_0x18fb8b=new _0x3354e0(_0x4c7243['perMessageDeflate']!==!0x0?_0x4c7243['perMessageDeflate']:{},!0x1,_0x4c7243[_0x47ca12(0x262)]),_0x4c7243[_0x47ca12(0x233)]['Sec-WebSocket-Extensions']=_0x128d70({[_0x3354e0[_0x47ca12(0x263)]]:_0x18fb8b[_0x47ca12(0x296)]()})),_0x1e161f[_0x47ca12(0x11b)]){for(const _0x4cad15 of _0x1e161f){if(typeof _0x4cad15!=_0x47ca12(0x150)||!_0xc791b9[_0x47ca12(0x284)](_0x4cad15)||_0x470d8e['has'](_0x4cad15))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x470d8e[_0x47ca12(0xd2)](_0x4cad15);}_0x4c7243[_0x47ca12(0x233)][_0x47ca12(0xdc)]=_0x1e161f['join'](',');}if(_0x4c7243[_0x47ca12(0x273)]&&(_0x4c7243['protocolVersion']<0xd?_0x4c7243[_0x47ca12(0x233)][_0x47ca12(0x20d)]=_0x4c7243[_0x47ca12(0x273)]:_0x4c7243['headers'][_0x47ca12(0x157)]=_0x4c7243['origin']),(_0x2afd8c[_0x47ca12(0x1fc)]||_0x2afd8c['password'])&&(_0x4c7243[_0x47ca12(0x1c6)]=_0x2afd8c[_0x47ca12(0x1fc)]+':'+_0x2afd8c[_0x47ca12(0x1c7)]),_0x5c5a60){const _0x3f3c81=_0x4c7243['path'][_0x47ca12(0x130)](':');_0x4c7243[_0x47ca12(0x18e)]=_0x3f3c81[0x0],_0x4c7243[_0x47ca12(0x117)]=_0x3f3c81[0x1];}let _0x433a3a;if(_0x4c7243['followRedirects']){if(_0x44204c['_redirects']===0x0){_0x44204c[_0x47ca12(0x189)]=_0x5c5a60,_0x44204c[_0x47ca12(0x14c)]=_0x4e619b,_0x44204c[_0x47ca12(0x12c)]=_0x5c5a60?_0x4c7243[_0x47ca12(0x18e)]:_0x2afd8c[_0x47ca12(0x11c)];const _0x55132c=_0x335f86&&_0x335f86[_0x47ca12(0x233)];if(_0x335f86={..._0x335f86,'headers':{}},_0x55132c){for(const [_0x3d1d62,_0xe766c0]of Object[_0x47ca12(0x269)](_0x55132c))_0x335f86[_0x47ca12(0x233)][_0x3d1d62[_0x47ca12(0x255)]()]=_0xe766c0;}}else{if(_0x44204c[_0x47ca12(0x119)](_0x47ca12(0x1da))===0x0){const _0x5243f3=_0x5c5a60?_0x44204c['_originalIpc']?_0x4c7243[_0x47ca12(0x18e)]===_0x44204c['_originalHostOrSocketPath']:!0x1:_0x44204c[_0x47ca12(0x189)]?!0x1:_0x2afd8c[_0x47ca12(0x11c)]===_0x44204c[_0x47ca12(0x12c)];(!_0x5243f3||_0x44204c[_0x47ca12(0x14c)]&&!_0x4e619b)&&(delete _0x4c7243['headers'][_0x47ca12(0x217)],delete _0x4c7243[_0x47ca12(0x233)]['cookie'],_0x5243f3||delete _0x4c7243[_0x47ca12(0x233)][_0x47ca12(0x11c)],_0x4c7243[_0x47ca12(0x1c6)]=void 0x0);}}_0x4c7243[_0x47ca12(0x1c6)]&&!_0x335f86['headers'][_0x47ca12(0x217)]&&(_0x335f86[_0x47ca12(0x233)]['authorization']='Basic\x20'+Buffer[_0x47ca12(0x1ae)](_0x4c7243[_0x47ca12(0x1c6)])['toString'](_0x47ca12(0x272))),_0x433a3a=_0x44204c[_0x47ca12(0x1b5)]=_0x2e5781(_0x4c7243),_0x44204c[_0x47ca12(0x237)]&&_0x44204c[_0x47ca12(0x245)](_0x47ca12(0x1da),_0x44204c['url'],_0x433a3a);}else _0x433a3a=_0x44204c[_0x47ca12(0x1b5)]=_0x2e5781(_0x4c7243);_0x4c7243[_0x47ca12(0xe8)]&&_0x433a3a['on'](_0x47ca12(0xe8),()=>{const _0x152bca=_0x47ca12;_0x183d21(_0x44204c,_0x433a3a,_0x152bca(0x1aa));}),_0x433a3a['on'](_0x47ca12(0x1b9),_0x260832=>{const _0x42a7e7=_0x47ca12;_0x433a3a===null||_0x433a3a[_0x448d1c]||(_0x433a3a=_0x44204c[_0x42a7e7(0x1b5)]=null,_0xc84458(_0x44204c,_0x260832));}),_0x433a3a['on'](_0x47ca12(0x122),_0x5c2f82=>{const _0x2aa982=_0x47ca12,_0x2d0e80=_0x5c2f82['headers'][_0x2aa982(0xe5)],_0x5f2d5f=_0x5c2f82[_0x2aa982(0x167)];if(_0x2d0e80&&_0x4c7243['followRedirects']&&_0x5f2d5f>=0x12c&&_0x5f2d5f<0x190){if(++_0x44204c[_0x2aa982(0x237)]>_0x4c7243['maxRedirects']){_0x183d21(_0x44204c,_0x433a3a,_0x2aa982(0x149));return;}_0x433a3a[_0x2aa982(0xe6)]();let _0x338b6d;try{_0x338b6d=new _0x5a1621(_0x2d0e80,_0x27ed71);}catch{const _0x34a70e=new SyntaxError('Invalid\x20URL:\x20'+_0x2d0e80);_0xc84458(_0x44204c,_0x34a70e);return;}_0x3c0916(_0x44204c,_0x338b6d,_0x1e161f,_0x335f86);}else _0x44204c['emit']('unexpected-response',_0x433a3a,_0x5c2f82)||_0x183d21(_0x44204c,_0x433a3a,'Unexpected\x20server\x20response:\x20'+_0x5c2f82['statusCode']);}),_0x433a3a['on'](_0x47ca12(0x134),(_0x57b090,_0x276f03,_0x36caa2)=>{const _0x514637=_0x47ca12;if(_0x44204c['emit'](_0x514637(0x134),_0x57b090),_0x44204c['readyState']!==_0x81caa9[_0x514637(0xea)])return;_0x433a3a=_0x44204c[_0x514637(0x1b5)]=null;const _0xcb43ec=_0x57b090['headers'][_0x514637(0x134)];if(_0xcb43ec===void 0x0||_0xcb43ec['toLowerCase']()!=='websocket'){_0x183d21(_0x44204c,_0x276f03,_0x514637(0x15b));return;}const _0x4607f4=_0xdcde88('sha1')[_0x514637(0x203)](_0x2acff8+_0x205e07)[_0x514637(0x113)]('base64');if(_0x57b090[_0x514637(0x233)][_0x514637(0x1d8)]!==_0x4607f4){_0x183d21(_0x44204c,_0x276f03,_0x514637(0x16e));return;}const _0x5b5921=_0x57b090[_0x514637(0x233)][_0x514637(0x234)];let _0x131dca;if(_0x5b5921!==void 0x0?_0x470d8e['size']?_0x470d8e[_0x514637(0x1d4)](_0x5b5921)||(_0x131dca=_0x514637(0xee)):_0x131dca=_0x514637(0x248):_0x470d8e[_0x514637(0x142)]&&(_0x131dca=_0x514637(0x1d0)),_0x131dca){_0x183d21(_0x44204c,_0x276f03,_0x131dca);return;}_0x5b5921&&(_0x44204c[_0x514637(0x172)]=_0x5b5921);const _0xeae82c=_0x57b090[_0x514637(0x233)][_0x514637(0x146)];if(_0xeae82c!==void 0x0){if(!_0x18fb8b){_0x183d21(_0x44204c,_0x276f03,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x2aaa82;try{_0x2aaa82=_0x2f2ce7(_0xeae82c);}catch{_0x183d21(_0x44204c,_0x276f03,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x1dddad=Object[_0x514637(0x192)](_0x2aaa82);if(_0x1dddad[_0x514637(0x11b)]!==0x1||_0x1dddad[0x0]!==_0x3354e0[_0x514637(0x263)]){_0x183d21(_0x44204c,_0x276f03,_0x514637(0x26b));return;}try{_0x18fb8b[_0x514637(0x27c)](_0x2aaa82[_0x3354e0[_0x514637(0x263)]]);}catch{_0x183d21(_0x44204c,_0x276f03,_0x514637(0x168));return;}_0x44204c[_0x514637(0x1a9)][_0x3354e0[_0x514637(0x263)]]=_0x18fb8b;}_0x44204c[_0x514637(0x1a7)](_0x276f03,_0x36caa2,{'allowSynchronousEvents':_0x4c7243[_0x514637(0x252)],'generateMask':_0x4c7243['generateMask'],'maxPayload':_0x4c7243[_0x514637(0x262)],'skipUTF8Validation':_0x4c7243['skipUTF8Validation']});}),_0x4c7243['finishRequest']?_0x4c7243['finishRequest'](_0x433a3a,_0x44204c):_0x433a3a['end']();}function _0xc84458(_0xfeb64d,_0x36c051){const _0x4c283b=_0x1339d8;_0xfeb64d[_0x4c283b(0x1ea)]=_0x81caa9[_0x4c283b(0x1cd)],_0xfeb64d[_0x4c283b(0xd9)]=!0x0,_0xfeb64d[_0x4c283b(0x245)]('error',_0x36c051),_0xfeb64d[_0x4c283b(0x19a)]();}function _0x34ee6c(_0x45a8ac){const _0x20f8cb=_0x1339d8;return _0x45a8ac[_0x20f8cb(0x117)]=_0x45a8ac[_0x20f8cb(0x18e)],_0x3e78df[_0x20f8cb(0x15e)](_0x45a8ac);}function _0x2eb09f(_0x14e3ba){const _0x4e5d70=_0x1339d8;return _0x14e3ba[_0x4e5d70(0x117)]=void 0x0,!_0x14e3ba['servername']&&_0x14e3ba[_0x4e5d70(0x132)]!==''&&(_0x14e3ba[_0x4e5d70(0x132)]=_0x3e78df[_0x4e5d70(0x253)](_0x14e3ba['host'])?'':_0x14e3ba[_0x4e5d70(0x11c)]),_0x8a7f1d[_0x4e5d70(0x15e)](_0x14e3ba);}function _0x183d21(_0x406083,_0x38756f,_0x5b782b){const _0x9d8380=_0x1339d8;_0x406083[_0x9d8380(0x1ea)]=_0x81caa9[_0x9d8380(0x1cd)];const _0x582fe0=new Error(_0x5b782b);Error[_0x9d8380(0x194)](_0x582fe0,_0x183d21),_0x38756f[_0x9d8380(0x1d2)]?(_0x38756f[_0x448d1c]=!0x0,_0x38756f['abort'](),_0x38756f['socket']&&!_0x38756f[_0x9d8380(0x101)][_0x9d8380(0xfd)]&&_0x38756f['socket'][_0x9d8380(0x221)](),process[_0x9d8380(0xf4)](_0xc84458,_0x406083,_0x582fe0)):(_0x38756f[_0x9d8380(0x221)](_0x582fe0),_0x38756f[_0x9d8380(0x127)](_0x9d8380(0x1b9),_0x406083['emit'][_0x9d8380(0xff)](_0x406083,_0x9d8380(0x1b9))),_0x38756f[_0x9d8380(0x127)](_0x9d8380(0x211),_0x406083[_0x9d8380(0x19a)][_0x9d8380(0xff)](_0x406083)));}function _0x52673a(_0x4ba905,_0x15525f,_0x22e96a){const _0x9fcbed=_0x1339d8;if(_0x15525f){const _0x50e0ab=_0x555b14(_0x15525f)?_0x15525f[_0x9fcbed(0x142)]:_0xbcfb5d(_0x15525f)['length'];_0x4ba905[_0x9fcbed(0x21b)]?_0x4ba905['_sender']['_bufferedBytes']+=_0x50e0ab:_0x4ba905[_0x9fcbed(0x27f)]+=_0x50e0ab;}if(_0x22e96a){const _0x43fbb2=new Error(_0x9fcbed(0x1e1)+_0x4ba905[_0x9fcbed(0x289)]+'\x20('+_0xfc7f16[_0x4ba905[_0x9fcbed(0x289)]]+')');process[_0x9fcbed(0xf4)](_0x22e96a,_0x43fbb2);}}function _0xfe8076(_0x5828f8,_0xec5408){const _0x36f130=_0x1339d8,_0x4cf3a5=this[_0x157199];_0x4cf3a5[_0x36f130(0x1f8)]=!0x0,_0x4cf3a5[_0x36f130(0x180)]=_0xec5408,_0x4cf3a5[_0x36f130(0x183)]=_0x5828f8,_0x4cf3a5[_0x36f130(0x21b)][_0x157199]!==void 0x0&&(_0x4cf3a5[_0x36f130(0x21b)][_0x36f130(0x1ee)](_0x36f130(0x24d),_0x1182d1),process[_0x36f130(0xf4)](_0x2cb689,_0x4cf3a5[_0x36f130(0x21b)]),_0x5828f8===0x3ed?_0x4cf3a5['close']():_0x4cf3a5[_0x36f130(0x211)](_0x5828f8,_0xec5408));}function _0x21dc23(){const _0x13ad30=_0x1339d8,_0x229c88=this[_0x157199];_0x229c88[_0x13ad30(0xed)]||_0x229c88['_socket'][_0x13ad30(0x1be)]();}function _0x395f7d(_0x553588){const _0x295543=_0x1339d8,_0x158e30=this[_0x157199];_0x158e30[_0x295543(0x21b)][_0x157199]!==void 0x0&&(_0x158e30[_0x295543(0x21b)][_0x295543(0x1ee)](_0x295543(0x24d),_0x1182d1),process[_0x295543(0xf4)](_0x2cb689,_0x158e30[_0x295543(0x21b)]),_0x158e30['close'](_0x553588[_0xe96aba])),_0x158e30['_errorEmitted']||(_0x158e30[_0x295543(0xd9)]=!0x0,_0x158e30[_0x295543(0x245)](_0x295543(0x1b9),_0x553588));}function _0x5da815(){const _0x14a4a4=_0x1339d8;this[_0x157199][_0x14a4a4(0x19a)]();}function _0x46e9ef(_0x5a817e,_0x387ab6){const _0x1f9d8f=_0x1339d8;this[_0x157199][_0x1f9d8f(0x245)](_0x1f9d8f(0x224),_0x5a817e,_0x387ab6);}function _0x208268(_0x8640fd){const _0x5b712d=_0x1339d8,_0x36feb0=this[_0x157199];_0x36feb0[_0x5b712d(0x277)]&&_0x36feb0[_0x5b712d(0x257)](_0x8640fd,!this[_0x5b712d(0x1c8)],_0x526345),_0x36feb0[_0x5b712d(0x245)]('ping',_0x8640fd);}function _0x94d8bf(_0x327ed3){const _0x37d6c2=_0x1339d8;this[_0x157199][_0x37d6c2(0x245)](_0x37d6c2(0x257),_0x327ed3);}function _0x2cb689(_0x3372fb){const _0x3ddee6=_0x1339d8;_0x3372fb[_0x3ddee6(0x1be)]();}function _0x5b7257(_0x12a61b){const _0x524af1=_0x1339d8,_0x536ba4=this[_0x157199];_0x536ba4[_0x524af1(0x289)]!==_0x81caa9[_0x524af1(0xe1)]&&(_0x536ba4[_0x524af1(0x289)]===_0x81caa9['OPEN']&&(_0x536ba4[_0x524af1(0x1ea)]=_0x81caa9[_0x524af1(0x1cd)],_0x3ce662(_0x536ba4)),this[_0x524af1(0x21b)][_0x524af1(0x1ab)](),_0x536ba4[_0x524af1(0xd9)]||(_0x536ba4[_0x524af1(0xd9)]=!0x0,_0x536ba4['emit'](_0x524af1(0x1b9),_0x12a61b)));}function _0x3ce662(_0x3657d3){const _0x5c99d2=_0x1339d8;_0x3657d3[_0x5c99d2(0x223)]=setTimeout(_0x3657d3[_0x5c99d2(0x21b)][_0x5c99d2(0x221)][_0x5c99d2(0xff)](_0x3657d3[_0x5c99d2(0x21b)]),_0x1c8783);}function _0x42ccc2(){const _0x267735=_0x1339d8,_0x2eb1e1=this[_0x157199];this[_0x267735(0x1ee)](_0x267735(0x211),_0x42ccc2),this['removeListener'](_0x267735(0x24d),_0x1182d1),this[_0x267735(0x1ee)](_0x267735(0x1ab),_0x37f9a7),_0x2eb1e1['_readyState']=_0x81caa9[_0x267735(0x1cd)];let _0x59ff46;!this[_0x267735(0x236)][_0x267735(0x1b3)]&&!_0x2eb1e1[_0x267735(0x1f8)]&&!_0x2eb1e1['_receiver']['_writableState']['errorEmitted']&&(_0x59ff46=_0x2eb1e1[_0x267735(0x21b)]['read']())!==null&&_0x2eb1e1['_receiver'][_0x267735(0x1f6)](_0x59ff46),_0x2eb1e1[_0x267735(0x16c)][_0x267735(0x1ab)](),this[_0x157199]=void 0x0,clearTimeout(_0x2eb1e1[_0x267735(0x223)]),_0x2eb1e1[_0x267735(0x16c)][_0x267735(0x14e)][_0x267735(0x1ba)]||_0x2eb1e1[_0x267735(0x16c)]['_writableState']['errorEmitted']?_0x2eb1e1[_0x267735(0x19a)]():(_0x2eb1e1[_0x267735(0x16c)]['on'](_0x267735(0x1b9),_0x5da815),_0x2eb1e1[_0x267735(0x16c)]['on']('finish',_0x5da815));}function _0x1182d1(_0x4abb1f){const _0x29187a=_0x1339d8;this[_0x157199][_0x29187a(0x16c)][_0x29187a(0x1f6)](_0x4abb1f)||this[_0x29187a(0x163)]();}function _0x37f9a7(){const _0x1b4bd8=_0x1339d8,_0x79c7f=this[_0x157199];_0x79c7f['_readyState']=_0x81caa9[_0x1b4bd8(0x1cd)],_0x79c7f[_0x1b4bd8(0x16c)]['end'](),this[_0x1b4bd8(0x1ab)]();}function _0x24c9bd(){const _0x3d8f88=_0x1339d8,_0x412657=this[_0x157199];this[_0x3d8f88(0x1ee)]('error',_0x24c9bd),this['on'](_0x3d8f88(0x1b9),_0x526345),_0x412657&&(_0x412657['_readyState']=_0x81caa9[_0x3d8f88(0x1cd)],this[_0x3d8f88(0x221)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x29e009}=oe;function _0x3c387a(_0xdb731c){const _0xfe07dd=_0x56b3;_0xdb731c[_0xfe07dd(0x245)](_0xfe07dd(0x211));}function _0x3d0578(){const _0x4b9767=_0x56b3;!this[_0x4b9767(0xfd)]&&this[_0x4b9767(0x14e)][_0x4b9767(0x1ba)]&&this['destroy']();}function _0xf2586d(_0x559a52){const _0x23483a=_0x56b3;this[_0x23483a(0x1ee)]('error',_0xf2586d),this['destroy'](),this[_0x23483a(0x119)](_0x23483a(0x1b9))===0x0&&this[_0x23483a(0x245)]('error',_0x559a52);}function _0x4b0761(_0x5268e7,_0x16a220){const _0x444fcb=_0x56b3;let _0x59f582=!0x0;const _0x314631=new _0x29e009({..._0x16a220,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x5268e7['on'](_0x444fcb(0x224),function(_0x440dea,_0xcdb675){const _0x1f516e=_0x444fcb,_0x47b2d3=!_0xcdb675&&_0x314631[_0x1f516e(0x236)][_0x1f516e(0x10a)]?_0x440dea[_0x1f516e(0x17b)]():_0x440dea;_0x314631[_0x1f516e(0x26c)](_0x47b2d3)||_0x5268e7[_0x1f516e(0x163)]();}),_0x5268e7['once']('error',function(_0x487aec){_0x314631['destroyed']||(_0x59f582=!0x1,_0x314631['destroy'](_0x487aec));}),_0x5268e7[_0x444fcb(0x127)](_0x444fcb(0x211),function(){const _0x30e19b=_0x444fcb;_0x314631[_0x30e19b(0xfd)]||_0x314631['push'](null);}),_0x314631[_0x444fcb(0x23e)]=function(_0x597134,_0x57bdec){const _0x42d155=_0x444fcb;if(_0x5268e7[_0x42d155(0x289)]===_0x5268e7['CLOSED']){_0x57bdec(_0x597134),process['nextTick'](_0x3c387a,_0x314631);return;}let _0x1fda92=!0x1;_0x5268e7[_0x42d155(0x127)]('error',function(_0x5bc923){_0x1fda92=!0x0,_0x57bdec(_0x5bc923);}),_0x5268e7[_0x42d155(0x127)]('close',function(){const _0x5d1fa3=_0x42d155;_0x1fda92||_0x57bdec(_0x597134),process[_0x5d1fa3(0xf4)](_0x3c387a,_0x314631);}),_0x59f582&&_0x5268e7[_0x42d155(0x26f)]();},_0x314631[_0x444fcb(0x111)]=function(_0x1837e8){const _0x417c17=_0x444fcb;if(_0x5268e7['readyState']===_0x5268e7[_0x417c17(0xea)]){_0x5268e7[_0x417c17(0x127)](_0x417c17(0x105),function(){const _0x257091=_0x417c17;_0x314631[_0x257091(0x111)](_0x1837e8);});return;}_0x5268e7['_socket']!==null&&(_0x5268e7[_0x417c17(0x21b)][_0x417c17(0x14e)][_0x417c17(0x1ba)]?(_0x1837e8(),_0x314631[_0x417c17(0x236)]['endEmitted']&&_0x314631[_0x417c17(0x221)]()):(_0x5268e7[_0x417c17(0x21b)]['once'](_0x417c17(0x165),function(){_0x1837e8();}),_0x5268e7[_0x417c17(0x211)]()));},_0x314631['_read']=function(){const _0x5ceabd=_0x444fcb;_0x5268e7[_0x5ceabd(0xed)]&&_0x5268e7[_0x5ceabd(0x1be)]();},_0x314631['_write']=function(_0x2735c6,_0x5dc8e9,_0x5341b4){const _0x46c6fa=_0x444fcb;if(_0x5268e7[_0x46c6fa(0x289)]===_0x5268e7['CONNECTING']){_0x5268e7[_0x46c6fa(0x127)]('open',function(){const _0x5743b1=_0x46c6fa;_0x314631[_0x5743b1(0x1af)](_0x2735c6,_0x5dc8e9,_0x5341b4);});return;}_0x5268e7[_0x46c6fa(0xe7)](_0x2735c6,_0x5341b4);},_0x314631['on'](_0x444fcb(0x1ab),_0x3d0578),_0x314631['on']('error',_0xf2586d),_0x314631;}return Oe=_0x4b0761,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x44fd89}=ae();function _0x5ded39(_0x3f33c0){const _0x4e0bd2=_0x56b3,_0x261470=new Set();let _0x215005=-0x1,_0x42652a=-0x1,_0x5f2328=0x0;for(_0x5f2328;_0x5f2328<_0x3f33c0['length'];_0x5f2328++){const _0x326816=_0x3f33c0['charCodeAt'](_0x5f2328);if(_0x42652a===-0x1&&_0x44fd89[_0x326816]===0x1)_0x215005===-0x1&&(_0x215005=_0x5f2328);else{if(_0x5f2328!==0x0&&(_0x326816===0x20||_0x326816===0x9))_0x42652a===-0x1&&_0x215005!==-0x1&&(_0x42652a=_0x5f2328);else{if(_0x326816===0x2c){if(_0x215005===-0x1)throw new SyntaxError(_0x4e0bd2(0xdd)+_0x5f2328);_0x42652a===-0x1&&(_0x42652a=_0x5f2328);const _0x5c997b=_0x3f33c0['slice'](_0x215005,_0x42652a);if(_0x261470[_0x4e0bd2(0x1d4)](_0x5c997b))throw new SyntaxError(_0x4e0bd2(0x1e4)+_0x5c997b+_0x4e0bd2(0xf7));_0x261470['add'](_0x5c997b),_0x215005=_0x42652a=-0x1;}else throw new SyntaxError(_0x4e0bd2(0xdd)+_0x5f2328);}}}if(_0x215005===-0x1||_0x42652a!==-0x1)throw new SyntaxError(_0x4e0bd2(0x199));const _0x55bebc=_0x3f33c0[_0x4e0bd2(0x143)](_0x215005,_0x5f2328);if(_0x261470[_0x4e0bd2(0x1d4)](_0x55bebc))throw new SyntaxError('The\x20\x22'+_0x55bebc+_0x4e0bd2(0xf7));return _0x261470[_0x4e0bd2(0xd2)](_0x55bebc),_0x261470;}return Ce={'parse':_0x5ded39},Ce;}var Te,rt;function Ft(){const _0x37ce46=_0x1bc787;if(rt)return Te;rt=0x1;const _0x77351e=nt,_0x11e4d9=ot,{Duplex:_0x109c97}=oe,{createHash:_0x1fc733}=Le,_0x4c51cc=ct(),_0x560611=he(),_0x3bb532=At(),_0xd09ea3=Pe(),{GUID:_0x252ad8,kWebSocket:_0x203985}=H(),_0x26c0a8=/^[+/0-9A-Za-z]{22}==$/,_0x1ea7de=0x0,_0x408faa=0x1,_0x2513c8=0x2;class _0x3cef6d extends _0x77351e{constructor(_0x321afb,_0x417a94){const _0x162684=_0x56b3;if(super(),_0x321afb={'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':_0xd09ea3,..._0x321afb},_0x321afb[_0x162684(0x1bf)]==null&&!_0x321afb[_0x162684(0x144)]&&!_0x321afb[_0x162684(0x1c0)]||_0x321afb[_0x162684(0x1bf)]!=null&&(_0x321afb[_0x162684(0x144)]||_0x321afb[_0x162684(0x1c0)])||_0x321afb[_0x162684(0x144)]&&_0x321afb[_0x162684(0x1c0)])throw new TypeError(_0x162684(0x118));if(_0x321afb['port']!=null?(this[_0x162684(0xe4)]=_0x11e4d9['createServer']((_0xd96cec,_0x1a9cc9)=>{const _0x110fd5=_0x162684,_0x184607=_0x11e4d9[_0x110fd5(0x23c)][0x1aa];_0x1a9cc9[_0x110fd5(0x25f)](0x1aa,{'Content-Length':_0x184607[_0x110fd5(0x11b)],'Content-Type':'text/plain'}),_0x1a9cc9[_0x110fd5(0x1ab)](_0x184607);}),this[_0x162684(0xe4)][_0x162684(0x109)](_0x321afb[_0x162684(0x1bf)],_0x321afb[_0x162684(0x11c)],_0x321afb[_0x162684(0x169)],_0x417a94)):_0x321afb['server']&&(this[_0x162684(0xe4)]=_0x321afb['server']),this[_0x162684(0xe4)]){const _0x51e4ab=this[_0x162684(0x245)][_0x162684(0xff)](this,_0x162684(0x26e));this[_0x162684(0x228)]=_0x45d62c(this[_0x162684(0xe4)],{'listening':this[_0x162684(0x245)][_0x162684(0xff)](this,_0x162684(0x200)),'error':this[_0x162684(0x245)][_0x162684(0xff)](this,_0x162684(0x1b9)),'upgrade':(_0x6b5da,_0x36ad59,_0x4acd34)=>{const _0x1317a7=_0x162684;this[_0x1317a7(0xf1)](_0x6b5da,_0x36ad59,_0x4acd34,_0x51e4ab);}});}_0x321afb['perMessageDeflate']===!0x0&&(_0x321afb[_0x162684(0x287)]={}),_0x321afb['clientTracking']&&(this['clients']=new Set(),this[_0x162684(0xfa)]=!0x1),this['options']=_0x321afb,this[_0x162684(0x22a)]=_0x1ea7de;}[_0x37ce46(0x136)](){const _0x294f38=_0x37ce46;if(this[_0x294f38(0x24f)][_0x294f38(0x1c0)])throw new Error(_0x294f38(0x1c5));return this[_0x294f38(0xe4)]?this[_0x294f38(0xe4)]['address']():null;}[_0x37ce46(0x211)](_0x5ac8ce){const _0x5e3b38=_0x37ce46;if(this['_state']===_0x2513c8){_0x5ac8ce&&this[_0x5e3b38(0x127)](_0x5e3b38(0x211),()=>{const _0x455e51=_0x5e3b38;_0x5ac8ce(new Error(_0x455e51(0xe3)));}),process[_0x5e3b38(0xf4)](_0x67cb86,this);return;}if(_0x5ac8ce&&this[_0x5e3b38(0x127)](_0x5e3b38(0x211),_0x5ac8ce),this[_0x5e3b38(0x22a)]!==_0x408faa){if(this[_0x5e3b38(0x22a)]=_0x408faa,this[_0x5e3b38(0x24f)][_0x5e3b38(0x1c0)]||this[_0x5e3b38(0x24f)][_0x5e3b38(0x144)])this[_0x5e3b38(0xe4)]&&(this[_0x5e3b38(0x228)](),this[_0x5e3b38(0x228)]=this['_server']=null),this[_0x5e3b38(0x1c9)]?this[_0x5e3b38(0x1c9)][_0x5e3b38(0x142)]?this[_0x5e3b38(0xfa)]=!0x0:process[_0x5e3b38(0xf4)](_0x67cb86,this):process['nextTick'](_0x67cb86,this);else{const _0x9236ab=this['_server'];this['_removeListeners'](),this[_0x5e3b38(0x228)]=this['_server']=null,_0x9236ab[_0x5e3b38(0x211)](()=>{_0x67cb86(this);});}}}['shouldHandle'](_0x5287fa){const _0x5e9e72=_0x37ce46;if(this['options'][_0x5e9e72(0x117)]){const _0x5a5b21=_0x5287fa[_0x5e9e72(0x18f)][_0x5e9e72(0x1dd)]('?');if((_0x5a5b21!==-0x1?_0x5287fa[_0x5e9e72(0x18f)]['slice'](0x0,_0x5a5b21):_0x5287fa['url'])!==this[_0x5e9e72(0x24f)][_0x5e9e72(0x117)])return!0x1;}return!0x0;}['handleUpgrade'](_0x33bcaa,_0x5912e0,_0x7c9b3a,_0x141b58){const _0x5a8ca0=_0x37ce46;_0x5912e0['on'](_0x5a8ca0(0x1b9),_0x5b9292);const _0x2771a8=_0x33bcaa[_0x5a8ca0(0x233)][_0x5a8ca0(0xde)],_0x1be5f3=_0x33bcaa[_0x5a8ca0(0x233)][_0x5a8ca0(0x134)],_0x27bc09=+_0x33bcaa['headers'][_0x5a8ca0(0x1d6)];if(_0x33bcaa[_0x5a8ca0(0x1c4)]!==_0x5a8ca0(0x26a)){_0x5490cd(this,_0x33bcaa,_0x5912e0,0x195,_0x5a8ca0(0x293));return;}if(_0x1be5f3===void 0x0||_0x1be5f3['toLowerCase']()!==_0x5a8ca0(0xe2)){_0x5490cd(this,_0x33bcaa,_0x5912e0,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x2771a8===void 0x0||!_0x26c0a8[_0x5a8ca0(0x284)](_0x2771a8)){_0x5490cd(this,_0x33bcaa,_0x5912e0,0x190,_0x5a8ca0(0x17f));return;}if(_0x27bc09!==0x8&&_0x27bc09!==0xd){_0x5490cd(this,_0x33bcaa,_0x5912e0,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this[_0x5a8ca0(0x21d)](_0x33bcaa)){_0x28c799(_0x5912e0,0x190);return;}const _0x22645d=_0x33bcaa[_0x5a8ca0(0x233)]['sec-websocket-protocol'];let _0x3168c1=new Set();if(_0x22645d!==void 0x0)try{_0x3168c1=_0x3bb532[_0x5a8ca0(0x23a)](_0x22645d);}catch{_0x5490cd(this,_0x33bcaa,_0x5912e0,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x40f8ee=_0x33bcaa[_0x5a8ca0(0x233)][_0x5a8ca0(0x146)],_0x13b229={};if(this[_0x5a8ca0(0x24f)][_0x5a8ca0(0x287)]&&_0x40f8ee!==void 0x0){const _0x2c78c7=new _0x560611(this[_0x5a8ca0(0x24f)][_0x5a8ca0(0x287)],!0x0,this[_0x5a8ca0(0x24f)][_0x5a8ca0(0x262)]);try{const _0x57b116=_0x4c51cc[_0x5a8ca0(0x23a)](_0x40f8ee);_0x57b116[_0x560611[_0x5a8ca0(0x263)]]&&(_0x2c78c7[_0x5a8ca0(0x27c)](_0x57b116[_0x560611[_0x5a8ca0(0x263)]]),_0x13b229[_0x560611['extensionName']]=_0x2c78c7);}catch{_0x5490cd(this,_0x33bcaa,_0x5912e0,0x190,_0x5a8ca0(0x158));return;}}if(this[_0x5a8ca0(0x24f)][_0x5a8ca0(0x1de)]){const _0x3e5c3a={'origin':_0x33bcaa[_0x5a8ca0(0x233)][''+(_0x27bc09===0x8?_0x5a8ca0(0x1f0):'origin')],'secure':!!(_0x33bcaa[_0x5a8ca0(0x101)][_0x5a8ca0(0x1cb)]||_0x33bcaa['socket'][_0x5a8ca0(0x20a)]),'req':_0x33bcaa};if(this[_0x5a8ca0(0x24f)][_0x5a8ca0(0x1de)][_0x5a8ca0(0x11b)]===0x2){this[_0x5a8ca0(0x24f)][_0x5a8ca0(0x1de)](_0x3e5c3a,(_0x5dab46,_0x3a2c43,_0x238af0,_0x107146)=>{if(!_0x5dab46)return _0x28c799(_0x5912e0,_0x3a2c43||0x191,_0x238af0,_0x107146);this['completeUpgrade'](_0x13b229,_0x2771a8,_0x3168c1,_0x33bcaa,_0x5912e0,_0x7c9b3a,_0x141b58);});return;}if(!this[_0x5a8ca0(0x24f)][_0x5a8ca0(0x1de)](_0x3e5c3a))return _0x28c799(_0x5912e0,0x191);}this['completeUpgrade'](_0x13b229,_0x2771a8,_0x3168c1,_0x33bcaa,_0x5912e0,_0x7c9b3a,_0x141b58);}[_0x37ce46(0x25b)](_0x344833,_0x50e905,_0x1d78ec,_0x1c0d0c,_0x53acbf,_0x29dfd6,_0x5a6aaf){const _0x48c87f=_0x37ce46;if(!_0x53acbf['readable']||!_0x53acbf[_0x48c87f(0xd7)])return _0x53acbf[_0x48c87f(0x221)]();if(_0x53acbf[_0x203985])throw new Error(_0x48c87f(0xcd));if(this[_0x48c87f(0x22a)]>_0x1ea7de)return _0x28c799(_0x53acbf,0x1f7);const _0x5cb984=[_0x48c87f(0x22d),'Upgrade:\x20websocket','Connection:\x20Upgrade',_0x48c87f(0x25d)+_0x1fc733(_0x48c87f(0x1ed))[_0x48c87f(0x203)](_0x50e905+_0x252ad8)[_0x48c87f(0x113)](_0x48c87f(0x272))],_0x1fb160=new this['options']['WebSocket'](null,void 0x0,this['options']);if(_0x1d78ec[_0x48c87f(0x142)]){const _0x32b4e5=this[_0x48c87f(0x24f)][_0x48c87f(0x280)]?this['options'][_0x48c87f(0x280)](_0x1d78ec,_0x1c0d0c):_0x1d78ec[_0x48c87f(0x250)]()[_0x48c87f(0x10b)]()['value'];_0x32b4e5&&(_0x5cb984[_0x48c87f(0x26c)]('Sec-WebSocket-Protocol:\x20'+_0x32b4e5),_0x1fb160[_0x48c87f(0x172)]=_0x32b4e5);}if(_0x344833[_0x560611[_0x48c87f(0x263)]]){const _0x3c3441=_0x344833[_0x560611[_0x48c87f(0x263)]][_0x48c87f(0x1d7)],_0x4efb04=_0x4c51cc['format']({[_0x560611[_0x48c87f(0x263)]]:[_0x3c3441]});_0x5cb984[_0x48c87f(0x26c)](_0x48c87f(0x110)+_0x4efb04),_0x1fb160[_0x48c87f(0x1a9)]=_0x344833;}this['emit'](_0x48c87f(0x233),_0x5cb984,_0x1c0d0c),_0x53acbf[_0x48c87f(0x1f6)](_0x5cb984[_0x48c87f(0x238)]('\x0d\x0a')[_0x48c87f(0x279)]('\x0d\x0a')),_0x53acbf[_0x48c87f(0x1ee)](_0x48c87f(0x1b9),_0x5b9292),_0x1fb160[_0x48c87f(0x1a7)](_0x53acbf,_0x29dfd6,{'allowSynchronousEvents':this[_0x48c87f(0x24f)]['allowSynchronousEvents'],'maxPayload':this[_0x48c87f(0x24f)][_0x48c87f(0x262)],'skipUTF8Validation':this['options']['skipUTF8Validation']}),this[_0x48c87f(0x1c9)]&&(this[_0x48c87f(0x1c9)][_0x48c87f(0xd2)](_0x1fb160),_0x1fb160['on'](_0x48c87f(0x211),()=>{const _0x4ce8ec=_0x48c87f;this[_0x4ce8ec(0x1c9)][_0x4ce8ec(0xf8)](_0x1fb160),this['_shouldEmitClose']&&!this[_0x4ce8ec(0x1c9)][_0x4ce8ec(0x142)]&&process[_0x4ce8ec(0xf4)](_0x67cb86,this);})),_0x5a6aaf(_0x1fb160,_0x1c0d0c);}}Te=_0x3cef6d;function _0x45d62c(_0x2538ca,_0x2e537c){const _0x5a7585=_0x37ce46;for(const _0x4db694 of Object[_0x5a7585(0x192)](_0x2e537c))_0x2538ca['on'](_0x4db694,_0x2e537c[_0x4db694]);return function(){const _0x2790fb=_0x5a7585;for(const _0xb47cb3 of Object['keys'](_0x2e537c))_0x2538ca[_0x2790fb(0x1ee)](_0xb47cb3,_0x2e537c[_0xb47cb3]);};}function _0x67cb86(_0x1bd21b){const _0x154be9=_0x37ce46;_0x1bd21b['_state']=_0x2513c8,_0x1bd21b[_0x154be9(0x245)]('close');}function _0x5b9292(){const _0x3743c9=_0x37ce46;this[_0x3743c9(0x221)]();}function _0x28c799(_0x17af83,_0x28019e,_0x50b870,_0x1c6d6a){const _0x57ddf3=_0x37ce46;_0x50b870=_0x50b870||_0x11e4d9[_0x57ddf3(0x23c)][_0x28019e],_0x1c6d6a={'Connection':_0x57ddf3(0x211),'Content-Type':_0x57ddf3(0x182),'Content-Length':Buffer['byteLength'](_0x50b870),..._0x1c6d6a},_0x17af83[_0x57ddf3(0x127)](_0x57ddf3(0x165),_0x17af83[_0x57ddf3(0x221)]),_0x17af83[_0x57ddf3(0x1ab)](_0x57ddf3(0x1e3)+_0x28019e+'\x20'+_0x11e4d9[_0x57ddf3(0x23c)][_0x28019e]+'\x0d\x0a'+Object['keys'](_0x1c6d6a)[_0x57ddf3(0x126)](_0x55d21a=>_0x55d21a+':\x20'+_0x1c6d6a[_0x55d21a])[_0x57ddf3(0x279)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x50b870);}function _0x5490cd(_0x3835e6,_0x50b513,_0x5ad2ea,_0x36ba7c,_0x4f2499){const _0x25e3dd=_0x37ce46;if(_0x3835e6['listenerCount'](_0x25e3dd(0x1e5))){const _0xaee0be=new Error(_0x4f2499);Error[_0x25e3dd(0x194)](_0xaee0be,_0x5490cd),_0x3835e6[_0x25e3dd(0x245)](_0x25e3dd(0x1e5),_0xaee0be,_0x5ad2ea,_0x50b513);}else _0x28c799(_0x5ad2ea,_0x36ba7c,_0x4f2499);}return Te;}Ft();var jt=Object[_0x1bc787(0x153)],Wt=(_0x2aaeab,_0x4ff485,_0x304b1b,_0x3f9bc4)=>{const _0x51d3d6=_0x1bc787;for(var _0x2b3c0c=_0x3f9bc4>0x1?void 0x0:_0x3f9bc4?jt(_0x4ff485,_0x304b1b):_0x4ff485,_0x5030ab=_0x2aaeab[_0x51d3d6(0x11b)]-0x1,_0xc7ee96;_0x5030ab>=0x0;_0x5030ab--)(_0xc7ee96=_0x2aaeab[_0x5030ab])&&(_0x2b3c0c=_0xc7ee96(_0x2b3c0c)||_0x2b3c0c);return _0x2b3c0c;},qt=(_0xf044e8,_0x4c0c46)=>(_0x2622b8,_0x5c0a55)=>_0x4c0c46(_0x2622b8,_0x5c0a55,_0xf044e8);let ke=class extends A[_0x1bc787(0x28c)]{constructor(_0x25e869){super(),this['_configService']=_0x25e869;}[_0x1bc787(0x1ef)](_0xc979c9){const _0x107109=_0x1bc787;var _0x2e2c91;const _0x138534=(_0x2e2c91=this['_configService'][_0x107109(0x14a)](fe))==null?void 0x0:_0x2e2c91[_0x107109(0x19d)];try{const _0x58c9d6=new $t(_0xc979c9,{'headers':{..._0x138534}}),_0x17525c=new A[(_0x107109(0x128))]();return{'URL':_0xc979c9,'close':(_0x2b93dc,_0x41aeda)=>{const _0x3b36a9=_0x107109;_0x58c9d6[_0x3b36a9(0x211)](_0x2b93dc,_0x41aeda),_0x17525c['dispose']();},'send':_0x3c62f4=>{const _0x1da7dc=_0x107109;_0x58c9d6[_0x1da7dc(0xe7)](_0x3c62f4);},'open$':new V['Observable'](_0x23ca97=>{const _0x12501f=_0x107109,_0x179839=_0x1ef9f6=>_0x23ca97['next'](_0x1ef9f6);_0x58c9d6[_0x12501f(0x115)](_0x12501f(0x105),_0x179839),_0x17525c[_0x12501f(0xd2)](A[_0x12501f(0x278)](()=>_0x58c9d6[_0x12501f(0x1b1)](_0x12501f(0x105),_0x179839)));})[_0x107109(0x124)](V['share']()),'close$':new V['Observable'](_0x5c99d5=>{const _0x4b4cc7=_0x107109,_0x308693=_0x28917e=>_0x5c99d5[_0x4b4cc7(0x10b)](_0x28917e);_0x58c9d6['addEventListener']('close',_0x308693),_0x17525c['add'](A[_0x4b4cc7(0x278)](()=>_0x58c9d6[_0x4b4cc7(0x1b1)](_0x4b4cc7(0x211),_0x308693)));})[_0x107109(0x124)](V[_0x107109(0x193)]()),'error$':new V['Observable'](_0x103580=>{const _0x3e582b=_0x107109,_0x2e8666=_0x5c28cd=>_0x103580[_0x3e582b(0x10b)](_0x5c28cd);_0x58c9d6['addEventListener'](_0x3e582b(0x1b9),_0x2e8666),_0x17525c['add'](A['toDisposable'](()=>_0x58c9d6[_0x3e582b(0x1b1)](_0x3e582b(0x1b9),_0x2e8666)));})[_0x107109(0x124)](V[_0x107109(0x193)]()),'message$':new V[(_0x107109(0x1d1))](_0x51c8c6=>{const _0x5cdd28=_0x107109,_0x4f855b=_0x58203a=>_0x51c8c6[_0x5cdd28(0x10b)](_0x58203a);_0x58c9d6[_0x5cdd28(0x115)](_0x5cdd28(0x224),_0x4f855b),_0x17525c[_0x5cdd28(0xd2)](A[_0x5cdd28(0x278)](()=>_0x58c9d6[_0x5cdd28(0x1b1)](_0x5cdd28(0x224),_0x4f855b)));})[_0x107109(0x124)](V[_0x107109(0x193)]())};}catch(_0x23fa44){return console[_0x107109(0x1b9)](_0x23fa44),null;}}};ke=Wt([qt(0x0,A['IConfigService'])],ke);var Gt=Object[_0x1bc787(0x188)],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0x4a05c9,_0x2346d7,_0xe9b8c5)=>_0x2346d7 in _0x4a05c9?Gt(_0x4a05c9,_0x2346d7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xe9b8c5}):_0x4a05c9[_0x2346d7]=_0xe9b8c5,zt=(_0x304df4,_0x38d9b7,_0x4e6ae8,_0xb0b7c0)=>{for(var _0x44c200=_0xb0b7c0>0x1?void 0x0:_0xb0b7c0?Vt(_0x38d9b7,_0x4e6ae8):_0x38d9b7,_0x2c90e0=_0x304df4['length']-0x1,_0x12067a;_0x2c90e0>=0x0;_0x2c90e0--)(_0x12067a=_0x304df4[_0x2c90e0])&&(_0x44c200=_0x12067a(_0x44c200)||_0x44c200);return _0x44c200;},Ne=(_0x24e799,_0x28f89d)=>(_0x136630,_0x441063)=>_0x28f89d(_0x136630,_0x441063,_0x24e799),Yt=(_0x52571d,_0x22a84b,_0x1f8e20)=>Ht(_0x52571d,_0x22a84b+'',_0x1f8e20);exports['UniverCollaborationClientNodePlugin']=class extends A[_0x1bc787(0x1eb)]{constructor(_0x3b72b0=Ct,_0x317eed,_0x5b1d49,_0x4e8ecf){const _0x309928=_0x1bc787;_0x3b72b0[_0x309928(0x19d)]||_0x317eed[_0x309928(0x271)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this['_configService']=_0x5b1d49,this[_0x309928(0x20b)]=_0x4e8ecf,this[_0x309928(0x140)][_0x309928(0x12d)](fe,_0x3b72b0);}[_0x1bc787(0x204)](){const _0x3da4aa=_0x1bc787;this[_0x3da4aa(0x216)]();}[_0x1bc787(0x216)](){const _0x2f2e43=_0x1bc787;A[_0x2f2e43(0xfe)](this['_injector'],[[it[_0x2f2e43(0x104)],{'useClass':ke}]]);}},Yt(exports[_0x1bc787(0x1b7)],_0x1bc787(0x25e),_0x1bc787(0x156)),exports['UniverCollaborationClientNodePlugin']=zt([A[_0x1bc787(0x28b)](st[_0x1bc787(0x125)]),Ne(0x1,A[_0x1bc787(0x174)]),Ne(0x2,A[_0x1bc787(0x1ca)]),Ne(0x3,A[_0x1bc787(0x202)](A[_0x1bc787(0x13e)]))],exports[_0x1bc787(0x1b7)]);var Kt=Object['getOwnPropertyDescriptor'],Xt=(_0x4e1afc,_0x49975e,_0x14c05b,_0x42b33c)=>{const _0x58571d=_0x1bc787;for(var _0x4a50aa=_0x42b33c>0x1?void 0x0:_0x42b33c?Kt(_0x49975e,_0x14c05b):_0x49975e,_0x524566=_0x4e1afc[_0x58571d(0x11b)]-0x1,_0x5b44af;_0x524566>=0x0;_0x524566--)(_0x5b44af=_0x4e1afc[_0x524566])&&(_0x4a50aa=_0x5b44af(_0x4a50aa)||_0x4a50aa);return _0x4a50aa;},ne=(_0x5d98df,_0x2bc86e)=>(_0x460efa,_0x4c3633)=>_0x2bc86e(_0x460efa,_0x4c3633,_0x5d98df);exports[_0x1bc787(0x264)]=class extends st[_0x1bc787(0x1b4)]{constructor(_0x3daf28,_0x11aecf,_0x13991e,_0x8c3009,_0x4b3076){const _0x46f1b6=_0x1bc787;super(_0x3daf28,_0x11aecf,_0x13991e,_0x8c3009,_0x4b3076);const _0x571f3a=this[_0x46f1b6(0x140)][_0x46f1b6(0x14a)](fe);this[_0x46f1b6(0x240)][_0x46f1b6(0x13a)]({'interceptor':(_0x27fe54,_0x378437)=>{const _0x33013f=_0x46f1b6;var _0x3ef716;const _0x58539c=_0x27fe54[_0x33013f(0x233)];return(_0x3ef716=_0x571f3a==null?void 0x0:_0x571f3a['customHeaders'])!=null&&_0x3ef716[_0x33013f(0xe9)]&&_0x58539c[_0x33013f(0x256)](_0x33013f(0x187),_0x571f3a[_0x33013f(0x19d)][_0x33013f(0xe9)]),_0x378437(_0x27fe54);}});}async[_0x1bc787(0x1ef)](_0x5b003c){const _0x35b75f=_0x1bc787;return this[_0x35b75f(0x242)](_0x5b003c);}},exports[_0x1bc787(0x264)]=Xt([ne(0x0,A[_0x1bc787(0x202)](A[_0x1bc787(0x13e)])),ne(0x1,A['Inject'](it[_0x1bc787(0x1f3)])),ne(0x2,A[_0x1bc787(0x1ca)]),ne(0x3,A[_0x1bc787(0x174)]),ne(0x4,Ot[_0x1bc787(0x298)])],exports['NodeCollaborationSocketService']),exports[_0x1bc787(0x16a)]=fe;
|
|
1
|
+
'use strict';const _0x5a38b5=_0x2133;(function(_0x17c038,_0x5c4532){const _0x394c33=_0x2133,_0x11b4f2=_0x17c038();while(!![]){try{const _0x357215=parseInt(_0x394c33(0x2c3))/0x1*(parseInt(_0x394c33(0x2ff))/0x2)+parseInt(_0x394c33(0x2e0))/0x3*(-parseInt(_0x394c33(0x1dc))/0x4)+parseInt(_0x394c33(0x286))/0x5+-parseInt(_0x394c33(0x228))/0x6*(parseInt(_0x394c33(0x24a))/0x7)+-parseInt(_0x394c33(0x1e0))/0x8*(parseInt(_0x394c33(0x1d3))/0x9)+parseInt(_0x394c33(0x1cf))/0xa+parseInt(_0x394c33(0x33c))/0xb;if(_0x357215===_0x5c4532)break;else _0x11b4f2['push'](_0x11b4f2['shift']());}catch(_0x1b8854){_0x11b4f2['push'](_0x11b4f2['shift']());}}}(_0x5c7b,0x78ec5));function _0x5c7b(){const _0x5c2c51=['_closeCode','controlMessage','registerDependencies','serverMaxWindowBits','https','Invalid\x20WebSocket\x20frame:\x20','compress','apply','_write','_threshold','_extensions','RSV1\x20must\x20be\x20clear','encrypted','_state','format','CLOSING','writable','maskBuffer','_inflate','shouldHandle','finish','startsWith','consume','servername','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','captureStackTrace','byteLength','HTTP/1.1\x20','extensions','pluginName','_opcode','WS_ERR_INVALID_CLOSE_CODE','species','hostname','protocol','serverNoContextTakeover','_allowSynchronousEvents','The\x20\x22','Unexpected\x20end\x20of\x20input','toDisposable','authorization','_socket','emitClose','write','threshold','rsv1','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','isArray','createError','finishRequest','Cookie','_bufferedBytes','toLowerCase','warn','WS_ERR_UNEXPECTED_RSV_2_3','UniverCollaborationClientPlugin','readable','create','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','ILogService','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','pause','handshakeTimeout','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','Invalid\x20Sec-WebSocket-Accept\x20header','Max\x20payload\x20size\x20exceeded','arrayBuffer','sec-websocket-extensions','186pmLrYY','client_no_context_takeover','Server\x20sent\x20no\x20subprotocol','wss:','call','reset','_fragmented','pong','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','cleanup','value','search','size','emit','request','opcode','server_max_window_bits','generateMask','\x22\x20subprotocol\x20is\x20duplicated','@univerjs/core','sec-websocket-accept','ISocketService','createSocket','jobs','Sec-WebSocket-Extensions','_shouldEmitClose','Z_DEFAULT_WINDOWBITS','http:','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','@univerjs/network','IConfigService','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','map','authorized','58114ZRonjq','normalizeParams','data','HTTP/1.1\x20101\x20Switching\x20Protocols','\x22:\x20','_isServer','kCode','Module','fin','options','method','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','FIN\x20must\x20be\x20set','extensionName','clientTracking','getInfo','zlibDeflateOptions','object','buffers','_configService','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','end','ws+unix:','find','ISnapshotServerService','onclose','toStringTag','acceptAsServer','digest','_writableState','_final','_buffers','clientNoContextTakeover','resume','Invalid\x20HTTP\x20method','Basic\x20','update','callback','setConfig','_originalHostOrSocketPath','_fin','target','getData','kData','_destroy','WS_ERR_INVALID_OPCODE','onerror','_loop','username','origin','crypto','readOnly','getOwnPropertyDescriptor','Sec-WebSocket-Accept:\x20','zlibInflateOptions','websocket','abort','prototype','_compressed','4479520yVxmli','binaryType','string','redirect','kType','_messageLength','accept','allocUnsafe','location','response','reason','sendFrame','_closeTimer','socket','open','Unexpected\x20character\x20at\x20index\x20','isBuffer','text/html','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','timeout','_deflate','Observable','terminate','kError','next','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','type','WS_ERR_EXPECTED_MASK','verifyClient','defaultPort','invalid\x20payload\x20length\x20','https:','Upgrade','clients','wasClean','decompress','has','alloc','_removeListeners','_skipUTF8Validation','_url','base64','writeHead','status-code','pipe','haveLength','readUInt16BE','push','blob','startLoop','upgrade','password','followRedirects','WS_NO_BUFFER_UTIL','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','Invalid\x20URL:\x20','host','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','kMessage','slice','_req','3UNdLpN','offer','zlib','_protocol','_options','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','Disposable','_closeMessage','skipUTF8Validation','buffer','number','DependentOn','Plugin','autoPong','kByteLength','Server\x20sent\x20an\x20invalid\x20subprotocol','connection','once','allowSynchronousEvents','dequeue','hasOwnProperty','Sec-WebSocket-Protocol','Inject','listenerCount','Maximum\x20redirects\x20exceeded','invalid\x20opcode\x20','frame','NodeCollaborationSocketService','message','2934nPCKSj','error','acceptAsClient','_sender','Blob','WebSocket\x20is\x20not\x20open:\x20readyState\x20','dataMessage','addEventListener','Invalid\x20Sec-WebSocket-Extensions\x20header','The\x20server\x20is\x20not\x20running','_maxPayload','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','kListener','uncork','invalid\x20UTF-8\x20sequence','\x20(supported\x20versions:\x20','keys','finished','isInteger','The\x20URL\x27s\x20pathname\x20is\x20empty','_masked','close','from','customHeaders','Sec-WebSocket-Origin','_bufferedAmount','Unsupported\x20protocol\x20version:\x20','connect','isIP','mask','isValidUTF8','102498RTxYqb','_mask','noServer','function','kWasClean','isView','handleEvent','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','sec-websocket-version','send','_max_window_bits','enqueue','env','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','sec-websocket-protocol','clientMaxWindowBits','setSocket','MASK\x20must\x20be\x20set','The\x20URL\x20contains\x20a\x20fragment\x20identifier','code','_maskBuffer','listening','rxjs','Parameter\x20\x22','Invalid\x20Sec-WebSocket-Protocol\x20header','construct','_compress','_autoPong','length','fragments','_registerDependencies','concurrencyLimit','WS_ERR_UNEXPECTED_MASK','createServer','http','dispose','@univerjs-pro/collaboration-client','_injector','defineProperty','STATUS_CODES','toString','nextTick','WS_ERR_UNEXPECTED_RSV_1','writeUInt16BE','parse','WS_ERR_INVALID_UTF8','set','url','kTarget','includes','HTTPService','CONNECTING','statusCode','UniverCollaborationClientNodePlugin','Z_SYNC_FLUSH','shift','Invalid\x20value\x20for\x20parameter\x20\x22','Unknown\x20parameter\x20\x22','DisposableCollection','_readableState','wsClientError','10600788TRtkUF','removeAllListeners','pathname','writeUIntBE','destroy','_originalSecure','handleProtocols','_payloadLength','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','maxPayload','add','sec-websocket-key','total-length','getConfig','kRun','COLLABORATION_CLIENT_NODE_CONFIG_KEY','_closeFrameReceived','headers','test','ping','path','Sec-WebSocket-Protocol:\x20','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','indexOf','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','protocolVersion','entries','createConnection','join','dispatch','_redirects','port','permessage-deflate','read','params','removeListener','_receiver','forEach','_originalIpc','concat','onStarting','auth','__esModule','readyState','get','conclude','_readyState','bind','isPaused','_binaryType','server','arraybuffer','exports','client','getBlobData','constructor','address','handleUpgrade','freeze','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','getMask','byteOffset','pow','listen','_paused','maxRedirects','drain','_errorEmitted','pending','share','flush','OPEN','setTimeout','removeEventListener','destroyed','concurrency','Opening\x20handshake\x20has\x20timed\x20out','getPayloadLength16','text/plain','socketPath','File','unmask','completeUpgrade','backlog','perMessageDeflate','readUInt32BE','server_no_context_takeover','CLOSED','Invalid\x20Upgrade\x20header','isServer','hash','endEmitted','cookie','getPayloadLength64','CollaborationSocketService','nodebuffer','charCodeAt','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','errorEmitted','4092750VnynZt','ws:','stream','setNoDelay','9LBTZfw','_server','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','_errored','_firstFragment','client_max_window_bits','_queue','createInflateRaw','_fragments','3884pYxUKm','listeners','delete','default','5762664EIkHRP','cork','_closeFrameSent','bufferedAmount'];_0x5c7b=function(){return _0x5c2c51;};return _0x5c7b();}Object[_0x5a38b5(0x325)](exports,Symbol[_0x5a38b5(0x265)],{'value':_0x5a38b5(0x251)});const st=require(_0x5a38b5(0x323)),A=require(_0x5a38b5(0x23b)),it=require(_0x5a38b5(0x245)),V=require(_0x5a38b5(0x315)),nt=require('events'),vt=require(_0x5a38b5(0x1e8)),ot=require(_0x5a38b5(0x321)),St=require('net'),Et=require('tls'),Le=require(_0x5a38b5(0x27d)),oe=require(_0x5a38b5(0x1d1)),xt=require(_0x5a38b5(0x32e)),bt=require(_0x5a38b5(0x2c5)),wt=require(_0x5a38b5(0x2cc)),Ot=require('@univerjs-pro/collaboration'),fe='collaboration-client-node.config',Ct={'customHeaders':{}};function Tt(_0x337369){const _0x203768=_0x5a38b5;return _0x337369&&_0x337369['__esModule']&&Object['prototype'][_0x203768(0x2d7)][_0x203768(0x22c)](_0x337369,_0x203768(0x1df))?_0x337369[_0x203768(0x1df)]:_0x337369;}function at(_0x326440){const _0x3d2b58=_0x5a38b5;if(Object['prototype']['hasOwnProperty'][_0x3d2b58(0x22c)](_0x326440,_0x3d2b58(0x366)))return _0x326440;var _0x4362f1=_0x326440['default'];if(typeof _0x4362f1==_0x3d2b58(0x302)){var _0x55b27f=function _0x560d05(){const _0x4d4311=_0x3d2b58;return this instanceof _0x560d05?Reflect[_0x4d4311(0x318)](_0x4362f1,arguments,this[_0x4d4311(0x373)]):_0x4362f1[_0x4d4311(0x1eb)](this,arguments);};_0x55b27f['prototype']=_0x4362f1[_0x3d2b58(0x284)];}else _0x55b27f={};return Object[_0x3d2b58(0x325)](_0x55b27f,_0x3d2b58(0x366),{'value':!0x0}),Object[_0x3d2b58(0x2f0)](_0x326440)[_0x3d2b58(0x361)](function(_0x4e6315){const _0x5cd8c1=_0x3d2b58;var _0x38f1d9=Object['getOwnPropertyDescriptor'](_0x326440,_0x4e6315);Object[_0x5cd8c1(0x325)](_0x55b27f,_0x4e6315,_0x38f1d9[_0x5cd8c1(0x368)]?_0x38f1d9:{'enumerable':!0x0,'get':function(){return _0x326440[_0x4e6315];}});}),_0x55b27f;}var se={'exports':{}},ge,Ge;function H(){const _0x5b5433=_0x5a38b5;if(Ge)return ge;Ge=0x1;const _0x39827a=[_0x5b5433(0x1cb),_0x5b5433(0x36f),_0x5b5433(0x31c)],_0x238a82=typeof Blob<'u';return _0x238a82&&_0x39827a[_0x5b5433(0x2b5)](_0x5b5433(0x2b6)),ge={'BINARY_TYPES':_0x39827a,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x5b5433(0x2c8),'hasBlob':_0x238a82,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x5b5433(0x2ec)),'kStatusCode':Symbol(_0x5b5433(0x2b1)),'kWebSocket':Symbol(_0x5b5433(0x282)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x5a38b5(0x376)](Object[_0x5a38b5(0x325)]({'__proto__':null,'default':Nt},Symbol[_0x5a38b5(0x265)],{'value':_0x5a38b5(0x251)})),Lt=at(kt);var Ve;function ce(){const _0x39a77a=_0x5a38b5;if(Ve)return se[_0x39a77a(0x370)];Ve=0x1;const {EMPTY_BUFFER:_0x1da7db}=H(),_0x20eccd=Buffer[Symbol[_0x39a77a(0x204)]];function _0x46d1f4(_0x140619,_0x4641d2){const _0x563b18=_0x39a77a;if(_0x140619['length']===0x0)return _0x1da7db;if(_0x140619[_0x563b18(0x31b)]===0x1)return _0x140619[0x0];const _0x8affd0=Buffer[_0x563b18(0x28d)](_0x4641d2);let _0x38afb8=0x0;for(let _0x8045fa=0x0;_0x8045fa<_0x140619[_0x563b18(0x31b)];_0x8045fa++){const _0x4afbe4=_0x140619[_0x8045fa];_0x8affd0[_0x563b18(0x32d)](_0x4afbe4,_0x38afb8),_0x38afb8+=_0x4afbe4[_0x563b18(0x31b)];}return _0x38afb8<_0x4641d2?new _0x20eccd(_0x8affd0[_0x563b18(0x2cc)],_0x8affd0[_0x563b18(0x379)],_0x38afb8):_0x8affd0;}function _0x518cab(_0x39bd73,_0x514ac4,_0x5c62ec,_0x1ed830,_0x29538e){for(let _0x2d71d7=0x0;_0x2d71d7<_0x29538e;_0x2d71d7++)_0x5c62ec[_0x1ed830+_0x2d71d7]=_0x39bd73[_0x2d71d7]^_0x514ac4[_0x2d71d7&0x3];}function _0x2c6d86(_0x4a5360,_0x318ad1){const _0xeb2d56=_0x39a77a;for(let _0x5a30cf=0x0;_0x5a30cf<_0x4a5360[_0xeb2d56(0x31b)];_0x5a30cf++)_0x4a5360[_0x5a30cf]^=_0x318ad1[_0x5a30cf&0x3];}function _0x181f52(_0x3d0640){const _0xfab3d4=_0x39a77a;return _0x3d0640[_0xfab3d4(0x31b)]===_0x3d0640[_0xfab3d4(0x2cc)][_0xfab3d4(0x1fe)]?_0x3d0640[_0xfab3d4(0x2cc)]:_0x3d0640[_0xfab3d4(0x2cc)][_0xfab3d4(0x2c1)](_0x3d0640[_0xfab3d4(0x379)],_0x3d0640[_0xfab3d4(0x379)]+_0x3d0640[_0xfab3d4(0x31b)]);}function _0x2943af(_0x492d17){const _0x25eb94=_0x39a77a;if(_0x2943af[_0x25eb94(0x27e)]=!0x0,Buffer[_0x25eb94(0x296)](_0x492d17))return _0x492d17;let _0x396e59;return _0x492d17 instanceof ArrayBuffer?_0x396e59=new _0x20eccd(_0x492d17):ArrayBuffer[_0x25eb94(0x304)](_0x492d17)?_0x396e59=new _0x20eccd(_0x492d17[_0x25eb94(0x2cc)],_0x492d17[_0x25eb94(0x379)],_0x492d17[_0x25eb94(0x1fe)]):(_0x396e59=Buffer[_0x25eb94(0x2f6)](_0x492d17),_0x2943af[_0x25eb94(0x27e)]=!0x1),_0x396e59;}if(se[_0x39a77a(0x370)]={'concat':_0x46d1f4,'mask':_0x518cab,'toArrayBuffer':_0x181f52,'toBuffer':_0x2943af,'unmask':_0x2c6d86},!process[_0x39a77a(0x30b)][_0x39a77a(0x2bb)])try{const _0x462617=Lt;se[_0x39a77a(0x370)][_0x39a77a(0x2fd)]=function(_0x3a9362,_0x2e61ce,_0x3b44b9,_0x136667,_0x481992){_0x481992<0x30?_0x518cab(_0x3a9362,_0x2e61ce,_0x3b44b9,_0x136667,_0x481992):_0x462617['mask'](_0x3a9362,_0x2e61ce,_0x3b44b9,_0x136667,_0x481992);},se[_0x39a77a(0x370)][_0x39a77a(0x38d)]=function(_0x4f2ee7,_0x41adf1){const _0x192484=_0x39a77a;_0x4f2ee7[_0x192484(0x31b)]<0x20?_0x2c6d86(_0x4f2ee7,_0x41adf1):_0x462617[_0x192484(0x38d)](_0x4f2ee7,_0x41adf1);};}catch{}return se[_0x39a77a(0x370)];}var ye,He;function Pt(){const _0x367758=_0x5a38b5;if(He)return ye;He=0x1;const _0x262dd0=Symbol('kDone'),_0x55285c=Symbol(_0x367758(0x34a));class _0x577728{constructor(_0x22225f){const _0x49e530=_0x367758;this[_0x262dd0]=()=>{this['pending']--,this[_0x55285c]();},this[_0x49e530(0x387)]=_0x22225f||0x1/0x0,this[_0x49e530(0x23f)]=[],this['pending']=0x0;}[_0x367758(0x346)](_0x413ef8){const _0x58861d=_0x367758;this[_0x58861d(0x23f)]['push'](_0x413ef8),this[_0x55285c]();}[_0x55285c](){const _0x51f99d=_0x367758;if(this[_0x51f99d(0x380)]!==this[_0x51f99d(0x387)]&&this[_0x51f99d(0x23f)][_0x51f99d(0x31b)]){const _0x45eb2c=this[_0x51f99d(0x23f)]['shift']();this[_0x51f99d(0x380)]++,_0x45eb2c(this[_0x262dd0]);}}}return ye=_0x577728,ye;}var ve,ze;function he(){const _0x503c64=_0x5a38b5;if(ze)return ve;ze=0x1;const _0xe7a213=bt,_0x5b28eb=ce(),_0x3f6041=Pt(),{kStatusCode:_0x3c25f6}=H(),_0x32687c=Buffer[Symbol[_0x503c64(0x204)]],_0xf91f61=Buffer[_0x503c64(0x2f6)]([0x0,0x0,0xff,0xff]),_0x5db494=Symbol('permessage-deflate'),_0x105944=Symbol(_0x503c64(0x348)),_0x5242ac=Symbol(_0x503c64(0x270)),_0x454990=Symbol(_0x503c64(0x25d)),_0x3caf18=Symbol(_0x503c64(0x2e1));let _0xa16b30;class _0x13a792{constructor(_0x3daa00,_0x40c995,_0x4d97ac){const _0x110420=_0x503c64;if(this[_0x110420(0x2ea)]=_0x4d97ac|0x0,this[_0x110420(0x2c7)]=_0x3daa00||{},this[_0x110420(0x1ed)]=this['_options'][_0x110420(0x210)]!==void 0x0?this[_0x110420(0x2c7)]['threshold']:0x400,this[_0x110420(0x24f)]=!!_0x40c995,this['_deflate']=null,this['_inflate']=null,this[_0x110420(0x35e)]=null,!_0xa16b30){const _0x386910=this[_0x110420(0x2c7)][_0x110420(0x31e)]!==void 0x0?this[_0x110420(0x2c7)]['concurrencyLimit']:0xa;_0xa16b30=new _0x3f6041(_0x386910);}}static get['extensionName'](){const _0x3d99c2=_0x503c64;return _0x3d99c2(0x35c);}[_0x503c64(0x2c4)](){const _0x7d4f3a=_0x503c64,_0x515a5a={};return this[_0x7d4f3a(0x2c7)][_0x7d4f3a(0x207)]&&(_0x515a5a[_0x7d4f3a(0x1c2)]=!0x0),this['_options'][_0x7d4f3a(0x26b)]&&(_0x515a5a['client_no_context_takeover']=!0x0),this[_0x7d4f3a(0x2c7)]['serverMaxWindowBits']&&(_0x515a5a['server_max_window_bits']=this[_0x7d4f3a(0x2c7)][_0x7d4f3a(0x1e7)]),this['_options']['clientMaxWindowBits']?_0x515a5a[_0x7d4f3a(0x1d8)]=this[_0x7d4f3a(0x2c7)][_0x7d4f3a(0x30e)]:this['_options'][_0x7d4f3a(0x30e)]==null&&(_0x515a5a[_0x7d4f3a(0x1d8)]=!0x0),_0x515a5a;}['accept'](_0x1ce6d1){const _0x15f367=_0x503c64;return _0x1ce6d1=this[_0x15f367(0x24b)](_0x1ce6d1),this[_0x15f367(0x35e)]=this[_0x15f367(0x24f)]?this['acceptAsServer'](_0x1ce6d1):this[_0x15f367(0x2e2)](_0x1ce6d1),this[_0x15f367(0x35e)];}[_0x503c64(0x231)](){const _0x2c4021=_0x503c64;if(this[_0x2c4021(0x1f6)]&&(this[_0x2c4021(0x1f6)][_0x2c4021(0x2f5)](),this[_0x2c4021(0x1f6)]=null),this[_0x2c4021(0x29a)]){const _0x8da4c5=this[_0x2c4021(0x29a)][_0x5242ac];this[_0x2c4021(0x29a)][_0x2c4021(0x2f5)](),this[_0x2c4021(0x29a)]=null,_0x8da4c5&&_0x8da4c5(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x503c64(0x266)](_0x15b857){const _0x277e9e=_0x503c64,_0x2e1da0=this[_0x277e9e(0x2c7)],_0x46ae1e=_0x15b857[_0x277e9e(0x262)](_0x18f0e7=>!(_0x2e1da0[_0x277e9e(0x207)]===!0x1&&_0x18f0e7[_0x277e9e(0x1c2)]||_0x18f0e7[_0x277e9e(0x238)]&&(_0x2e1da0[_0x277e9e(0x1e7)]===!0x1||typeof _0x2e1da0[_0x277e9e(0x1e7)]==_0x277e9e(0x2cd)&&_0x2e1da0[_0x277e9e(0x1e7)]>_0x18f0e7['server_max_window_bits'])||typeof _0x2e1da0[_0x277e9e(0x30e)]==_0x277e9e(0x2cd)&&!_0x18f0e7['client_max_window_bits']));if(!_0x46ae1e)throw new Error(_0x277e9e(0x354));return _0x2e1da0['serverNoContextTakeover']&&(_0x46ae1e[_0x277e9e(0x1c2)]=!0x0),_0x2e1da0['clientNoContextTakeover']&&(_0x46ae1e[_0x277e9e(0x229)]=!0x0),typeof _0x2e1da0['serverMaxWindowBits']==_0x277e9e(0x2cd)&&(_0x46ae1e[_0x277e9e(0x238)]=_0x2e1da0['serverMaxWindowBits']),typeof _0x2e1da0[_0x277e9e(0x30e)]==_0x277e9e(0x2cd)?_0x46ae1e[_0x277e9e(0x1d8)]=_0x2e1da0['clientMaxWindowBits']:(_0x46ae1e[_0x277e9e(0x1d8)]===!0x0||_0x2e1da0[_0x277e9e(0x30e)]===!0x1)&&delete _0x46ae1e[_0x277e9e(0x1d8)],_0x46ae1e;}[_0x503c64(0x2e2)](_0x4cdddd){const _0x4bea62=_0x503c64,_0x4f29b6=_0x4cdddd[0x0];if(this[_0x4bea62(0x2c7)][_0x4bea62(0x26b)]===!0x1&&_0x4f29b6[_0x4bea62(0x229)])throw new Error(_0x4bea62(0x298));if(!_0x4f29b6[_0x4bea62(0x1d8)])typeof this[_0x4bea62(0x2c7)]['clientMaxWindowBits']==_0x4bea62(0x2cd)&&(_0x4f29b6[_0x4bea62(0x1d8)]=this[_0x4bea62(0x2c7)][_0x4bea62(0x30e)]);else{if(this[_0x4bea62(0x2c7)][_0x4bea62(0x30e)]===!0x1||typeof this[_0x4bea62(0x2c7)][_0x4bea62(0x30e)]==_0x4bea62(0x2cd)&&_0x4f29b6[_0x4bea62(0x1d8)]>this['_options']['clientMaxWindowBits'])throw new Error(_0x4bea62(0x255));}return _0x4f29b6;}[_0x503c64(0x24b)](_0x476954){const _0x3f3de7=_0x503c64;return _0x476954[_0x3f3de7(0x361)](_0x1cf288=>{const _0x2b2de3=_0x3f3de7;Object[_0x2b2de3(0x2f0)](_0x1cf288)[_0x2b2de3(0x361)](_0x3122c1=>{const _0x4211d9=_0x2b2de3;let _0x3ac014=_0x1cf288[_0x3122c1];if(_0x3ac014['length']>0x1)throw new Error(_0x4211d9(0x316)+_0x3122c1+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x3ac014=_0x3ac014[0x0],_0x3122c1===_0x4211d9(0x1d8)){if(_0x3ac014!==!0x0){const _0x238ed6=+_0x3ac014;if(!Number[_0x4211d9(0x2f2)](_0x238ed6)||_0x238ed6<0x8||_0x238ed6>0xf)throw new TypeError(_0x4211d9(0x337)+_0x3122c1+_0x4211d9(0x24e)+_0x3ac014);_0x3ac014=_0x238ed6;}else{if(!this[_0x4211d9(0x24f)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x3122c1+'\x22:\x20'+_0x3ac014);}}else{if(_0x3122c1===_0x4211d9(0x238)){const _0x506c59=+_0x3ac014;if(!Number[_0x4211d9(0x2f2)](_0x506c59)||_0x506c59<0x8||_0x506c59>0xf)throw new TypeError(_0x4211d9(0x337)+_0x3122c1+_0x4211d9(0x24e)+_0x3ac014);_0x3ac014=_0x506c59;}else{if(_0x3122c1===_0x4211d9(0x229)||_0x3122c1===_0x4211d9(0x1c2)){if(_0x3ac014!==!0x0)throw new TypeError(_0x4211d9(0x337)+_0x3122c1+_0x4211d9(0x24e)+_0x3ac014);}else throw new Error(_0x4211d9(0x338)+_0x3122c1+'\x22');}}_0x1cf288[_0x3122c1]=_0x3ac014;});}),_0x476954;}[_0x503c64(0x2a9)](_0x12f35b,_0x45e48f,_0x260326){const _0x4b48f9=_0x503c64;_0xa16b30[_0x4b48f9(0x346)](_0x286195=>{this['_decompress'](_0x12f35b,_0x45e48f,(_0x5bdab7,_0x4d8cc0)=>{_0x286195(),_0x260326(_0x5bdab7,_0x4d8cc0);});});}['compress'](_0x479473,_0x30cc12,_0x1461e7){const _0x293617=_0x503c64;_0xa16b30[_0x293617(0x346)](_0x16f3f1=>{this['_compress'](_0x479473,_0x30cc12,(_0x511c5b,_0x29329e)=>{_0x16f3f1(),_0x1461e7(_0x511c5b,_0x29329e);});});}['_decompress'](_0x5ba834,_0x5b0df0,_0x47e8b2){const _0x5f59ba=_0x503c64,_0x3c1ef3=this[_0x5f59ba(0x24f)]?'client':_0x5f59ba(0x36e);if(!this['_inflate']){const _0x3681d0=_0x3c1ef3+_0x5f59ba(0x309),_0x20e886=typeof this[_0x5f59ba(0x35e)][_0x3681d0]!=_0x5f59ba(0x2cd)?_0xe7a213[_0x5f59ba(0x242)]:this[_0x5f59ba(0x35e)][_0x3681d0];this[_0x5f59ba(0x1f6)]=_0xe7a213[_0x5f59ba(0x1da)]({...this[_0x5f59ba(0x2c7)][_0x5f59ba(0x281)],'windowBits':_0x20e886}),this[_0x5f59ba(0x1f6)][_0x5db494]=this,this['_inflate'][_0x105944]=0x0,this['_inflate'][_0x454990]=[],this['_inflate']['on'](_0x5f59ba(0x2e1),_0x5a99b1),this[_0x5f59ba(0x1f6)]['on']('data',_0x5983e5);}this[_0x5f59ba(0x1f6)][_0x5242ac]=_0x47e8b2,this[_0x5f59ba(0x1f6)]['write'](_0x5ba834),_0x5b0df0&&this['_inflate'][_0x5f59ba(0x20f)](_0xf91f61),this[_0x5f59ba(0x1f6)]['flush'](()=>{const _0x4c85b5=_0x5f59ba,_0x201ef6=this[_0x4c85b5(0x1f6)][_0x3caf18];if(_0x201ef6){this['_inflate'][_0x4c85b5(0x2f5)](),this[_0x4c85b5(0x1f6)]=null,_0x47e8b2(_0x201ef6);return;}const _0x1bfb7d=_0x5b28eb[_0x4c85b5(0x363)](this[_0x4c85b5(0x1f6)][_0x454990],this[_0x4c85b5(0x1f6)][_0x105944]);this[_0x4c85b5(0x1f6)][_0x4c85b5(0x33a)][_0x4c85b5(0x1c7)]?(this[_0x4c85b5(0x1f6)][_0x4c85b5(0x2f5)](),this[_0x4c85b5(0x1f6)]=null):(this[_0x4c85b5(0x1f6)][_0x105944]=0x0,this[_0x4c85b5(0x1f6)][_0x454990]=[],_0x5b0df0&&this[_0x4c85b5(0x35e)][_0x3c1ef3+'_no_context_takeover']&&this['_inflate'][_0x4c85b5(0x22d)]()),_0x47e8b2(null,_0x1bfb7d);});}[_0x503c64(0x319)](_0x16a093,_0x269049,_0x3a5892){const _0x51fd5e=_0x503c64,_0x117492=this[_0x51fd5e(0x24f)]?'server':_0x51fd5e(0x371);if(!this['_deflate']){const _0x1cdd0c=_0x117492+_0x51fd5e(0x309),_0x52c6f3=typeof this[_0x51fd5e(0x35e)][_0x1cdd0c]!=_0x51fd5e(0x2cd)?_0xe7a213[_0x51fd5e(0x242)]:this['params'][_0x1cdd0c];this[_0x51fd5e(0x29a)]=_0xe7a213['createDeflateRaw']({...this[_0x51fd5e(0x2c7)][_0x51fd5e(0x25b)],'windowBits':_0x52c6f3}),this[_0x51fd5e(0x29a)][_0x105944]=0x0,this[_0x51fd5e(0x29a)][_0x454990]=[],this[_0x51fd5e(0x29a)]['on'](_0x51fd5e(0x24c),_0x533a09);}this[_0x51fd5e(0x29a)][_0x5242ac]=_0x3a5892,this[_0x51fd5e(0x29a)][_0x51fd5e(0x20f)](_0x16a093),this[_0x51fd5e(0x29a)][_0x51fd5e(0x382)](_0xe7a213[_0x51fd5e(0x335)],()=>{const _0x2b49ae=_0x51fd5e;if(!this[_0x2b49ae(0x29a)])return;let _0x1cafdd=_0x5b28eb[_0x2b49ae(0x363)](this['_deflate'][_0x454990],this[_0x2b49ae(0x29a)][_0x105944]);_0x269049&&(_0x1cafdd=new _0x32687c(_0x1cafdd[_0x2b49ae(0x2cc)],_0x1cafdd[_0x2b49ae(0x379)],_0x1cafdd[_0x2b49ae(0x31b)]-0x4)),this[_0x2b49ae(0x29a)][_0x5242ac]=null,this['_deflate'][_0x105944]=0x0,this[_0x2b49ae(0x29a)][_0x454990]=[],_0x269049&&this['params'][_0x117492+'_no_context_takeover']&&this['_deflate']['reset'](),_0x3a5892(null,_0x1cafdd);});}}ve=_0x13a792;function _0x533a09(_0x5913e4){const _0x1c633c=_0x503c64;this[_0x454990][_0x1c633c(0x2b5)](_0x5913e4),this[_0x105944]+=_0x5913e4[_0x1c633c(0x31b)];}function _0x5983e5(_0x26cc3c){const _0x4ad408=_0x503c64;if(this[_0x105944]+=_0x26cc3c[_0x4ad408(0x31b)],this[_0x5db494][_0x4ad408(0x2ea)]<0x1||this[_0x105944]<=this[_0x5db494][_0x4ad408(0x2ea)]){this[_0x454990][_0x4ad408(0x2b5)](_0x26cc3c);return;}this[_0x3caf18]=new RangeError(_0x4ad408(0x225)),this[_0x3caf18][_0x4ad408(0x312)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x3caf18][_0x3c25f6]=0x3f1,this[_0x4ad408(0x35f)](_0x4ad408(0x24c),_0x5983e5),this[_0x4ad408(0x22d)]();}function _0x5a99b1(_0x2718c2){const _0x4fa092=_0x503c64;this[_0x5db494][_0x4fa092(0x1f6)]=null,_0x2718c2[_0x3c25f6]=0x3ef,this[_0x5242ac](_0x2718c2);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x5a38b5(0x376)](Object[_0x5a38b5(0x325)]({'__proto__':null,'default':Dt},Symbol['toStringTag'],{'value':'Module'})),Bt=at(Rt);var Ye;function ae(){const _0x1378ec=_0x5a38b5;if(Ye)return ie[_0x1378ec(0x370)];Ye=0x1;const {isUtf8:_0x1fb5be}=wt,{hasBlob:_0x370484}=H(),_0x1fb83d=[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 _0x4d182d(_0x21906f){return _0x21906f>=0x3e8&&_0x21906f<=0x3f6&&_0x21906f!==0x3ec&&_0x21906f!==0x3ed&&_0x21906f!==0x3ee||_0x21906f>=0xbb8&&_0x21906f<=0x1387;}function _0x152a17(_0x436760){const _0x555a71=_0x436760['length'];let _0x2d0ef2=0x0;for(;_0x2d0ef2<_0x555a71;)if((_0x436760[_0x2d0ef2]&0x80)===0x0)_0x2d0ef2++;else{if((_0x436760[_0x2d0ef2]&0xe0)===0xc0){if(_0x2d0ef2+0x1===_0x555a71||(_0x436760[_0x2d0ef2+0x1]&0xc0)!==0x80||(_0x436760[_0x2d0ef2]&0xfe)===0xc0)return!0x1;_0x2d0ef2+=0x2;}else{if((_0x436760[_0x2d0ef2]&0xf0)===0xe0){if(_0x2d0ef2+0x2>=_0x555a71||(_0x436760[_0x2d0ef2+0x1]&0xc0)!==0x80||(_0x436760[_0x2d0ef2+0x2]&0xc0)!==0x80||_0x436760[_0x2d0ef2]===0xe0&&(_0x436760[_0x2d0ef2+0x1]&0xe0)===0x80||_0x436760[_0x2d0ef2]===0xed&&(_0x436760[_0x2d0ef2+0x1]&0xe0)===0xa0)return!0x1;_0x2d0ef2+=0x3;}else{if((_0x436760[_0x2d0ef2]&0xf8)===0xf0){if(_0x2d0ef2+0x3>=_0x555a71||(_0x436760[_0x2d0ef2+0x1]&0xc0)!==0x80||(_0x436760[_0x2d0ef2+0x2]&0xc0)!==0x80||(_0x436760[_0x2d0ef2+0x3]&0xc0)!==0x80||_0x436760[_0x2d0ef2]===0xf0&&(_0x436760[_0x2d0ef2+0x1]&0xf0)===0x80||_0x436760[_0x2d0ef2]===0xf4&&_0x436760[_0x2d0ef2+0x1]>0x8f||_0x436760[_0x2d0ef2]>0xf4)return!0x1;_0x2d0ef2+=0x4;}else return!0x1;}}}return!0x0;}function _0x49888d(_0xcfa6f){const _0x3c6f6b=_0x1378ec;return _0x370484&&typeof _0xcfa6f==_0x3c6f6b(0x25c)&&typeof _0xcfa6f[_0x3c6f6b(0x226)]==_0x3c6f6b(0x302)&&typeof _0xcfa6f[_0x3c6f6b(0x2a0)]==_0x3c6f6b(0x288)&&typeof _0xcfa6f[_0x3c6f6b(0x1d1)]==_0x3c6f6b(0x302)&&(_0xcfa6f[Symbol['toStringTag']]===_0x3c6f6b(0x2e4)||_0xcfa6f[Symbol[_0x3c6f6b(0x265)]]===_0x3c6f6b(0x38c));}if(ie[_0x1378ec(0x370)]={'isBlob':_0x49888d,'isValidStatusCode':_0x4d182d,'isValidUTF8':_0x152a17,'tokenChars':_0x1fb83d},_0x1fb5be)ie[_0x1378ec(0x370)][_0x1378ec(0x2fe)]=function(_0x460f4d){return _0x460f4d['length']<0x18?_0x152a17(_0x460f4d):_0x1fb5be(_0x460f4d);};else{if(!process['env']['WS_NO_UTF_8_VALIDATE'])try{const _0x279348=Bt;ie['exports']['isValidUTF8']=function(_0x28957a){return _0x28957a['length']<0x20?_0x152a17(_0x28957a):_0x279348(_0x28957a);};}catch{}}return ie[_0x1378ec(0x370)];}var Se,Ke;function lt(){const _0x305b48=_0x5a38b5;if(Ke)return Se;Ke=0x1;const {Writable:_0x7bd6}=oe,_0x511822=he(),{BINARY_TYPES:_0x1b0ebb,EMPTY_BUFFER:_0x5b016f,kStatusCode:_0x31c900,kWebSocket:_0x573be3}=H(),{concat:_0x2f604f,toArrayBuffer:_0xfcd103,unmask:_0x4eadee}=ce(),{isValidStatusCode:_0x4faa20,isValidUTF8:_0x20ab05}=ae(),_0x8f48ea=Buffer[Symbol[_0x305b48(0x204)]],_0x56a9de=0x0,_0x541d1a=0x1,_0x3e250c=0x2,_0x580f51=0x3,_0x1a330e=0x4,_0x23a947=0x5,_0x47af9b=0x6;class _0x14798c extends _0x7bd6{constructor(_0x3307af={}){const _0x23e951=_0x305b48;super(),this[_0x23e951(0x208)]=_0x3307af['allowSynchronousEvents']!==void 0x0?_0x3307af[_0x23e951(0x2d5)]:!0x0,this[_0x23e951(0x36d)]=_0x3307af[_0x23e951(0x287)]||_0x1b0ebb[0x0],this['_extensions']=_0x3307af[_0x23e951(0x200)]||{},this[_0x23e951(0x24f)]=!!_0x3307af[_0x23e951(0x1c5)],this[_0x23e951(0x2ea)]=_0x3307af[_0x23e951(0x345)]|0x0,this[_0x23e951(0x2ad)]=!!_0x3307af[_0x23e951(0x2cb)],this[_0x573be3]=void 0x0,this['_bufferedBytes']=0x0,this['_buffers']=[],this[_0x23e951(0x285)]=!0x1,this[_0x23e951(0x343)]=0x0,this[_0x23e951(0x300)]=void 0x0,this['_fragmented']=0x0,this[_0x23e951(0x2f4)]=!0x1,this[_0x23e951(0x273)]=!0x1,this[_0x23e951(0x202)]=0x0,this['_totalPayloadLength']=0x0,this[_0x23e951(0x28b)]=0x0,this[_0x23e951(0x1db)]=[],this[_0x23e951(0x1d6)]=!0x1,this[_0x23e951(0x27a)]=!0x1,this['_state']=_0x56a9de;}[_0x305b48(0x1ec)](_0x598c09,_0x1a7e38,_0x21af79){const _0x1ed473=_0x305b48;if(this[_0x1ed473(0x202)]===0x8&&this['_state']==_0x56a9de)return _0x21af79();this['_bufferedBytes']+=_0x598c09['length'],this['_buffers']['push'](_0x598c09),this['startLoop'](_0x21af79);}[_0x305b48(0x1fa)](_0x2f48d5){const _0x4c215a=_0x305b48;if(this[_0x4c215a(0x217)]-=_0x2f48d5,_0x2f48d5===this[_0x4c215a(0x26a)][0x0][_0x4c215a(0x31b)])return this[_0x4c215a(0x26a)]['shift']();if(_0x2f48d5<this[_0x4c215a(0x26a)][0x0]['length']){const _0x237a3c=this[_0x4c215a(0x26a)][0x0];return this[_0x4c215a(0x26a)][0x0]=new _0x8f48ea(_0x237a3c[_0x4c215a(0x2cc)],_0x237a3c[_0x4c215a(0x379)]+_0x2f48d5,_0x237a3c[_0x4c215a(0x31b)]-_0x2f48d5),new _0x8f48ea(_0x237a3c[_0x4c215a(0x2cc)],_0x237a3c[_0x4c215a(0x379)],_0x2f48d5);}const _0x45f6e3=Buffer[_0x4c215a(0x28d)](_0x2f48d5);do{const _0x5a1d1f=this[_0x4c215a(0x26a)][0x0],_0x1f7249=_0x45f6e3[_0x4c215a(0x31b)]-_0x2f48d5;_0x2f48d5>=_0x5a1d1f['length']?_0x45f6e3[_0x4c215a(0x32d)](this[_0x4c215a(0x26a)][_0x4c215a(0x336)](),_0x1f7249):(_0x45f6e3['set'](new Uint8Array(_0x5a1d1f[_0x4c215a(0x2cc)],_0x5a1d1f[_0x4c215a(0x379)],_0x2f48d5),_0x1f7249),this[_0x4c215a(0x26a)][0x0]=new _0x8f48ea(_0x5a1d1f[_0x4c215a(0x2cc)],_0x5a1d1f[_0x4c215a(0x379)]+_0x2f48d5,_0x5a1d1f[_0x4c215a(0x31b)]-_0x2f48d5)),_0x2f48d5-=_0x5a1d1f[_0x4c215a(0x31b)];}while(_0x2f48d5>0x0);return _0x45f6e3;}[_0x305b48(0x2b7)](_0x45199b){const _0x2ca56d=_0x305b48;this[_0x2ca56d(0x27a)]=!0x0;do switch(this[_0x2ca56d(0x1f1)]){case _0x56a9de:this[_0x2ca56d(0x25a)](_0x45199b);break;case _0x541d1a:this['getPayloadLength16'](_0x45199b);break;case _0x3e250c:this[_0x2ca56d(0x1c9)](_0x45199b);break;case _0x580f51:this[_0x2ca56d(0x378)]();break;case _0x1a330e:this[_0x2ca56d(0x275)](_0x45199b);break;case _0x23a947:case _0x47af9b:this['_loop']=!0x1;return;}while(this[_0x2ca56d(0x27a)]);this[_0x2ca56d(0x1d6)]||_0x45199b();}['getInfo'](_0x7c887e){const _0x436ff1=_0x305b48;if(this[_0x436ff1(0x217)]<0x2){this[_0x436ff1(0x27a)]=!0x1;return;}const _0x15c013=this[_0x436ff1(0x1fa)](0x2);if((_0x15c013[0x0]&0x30)!==0x0){const _0x381ba6=this[_0x436ff1(0x214)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x436ff1(0x21a));_0x7c887e(_0x381ba6);return;}const _0x375ca4=(_0x15c013[0x0]&0x40)===0x40;if(_0x375ca4&&!this[_0x436ff1(0x1ee)][_0x511822[_0x436ff1(0x258)]]){const _0x4524c9=this[_0x436ff1(0x214)](RangeError,_0x436ff1(0x1ef),!0x0,0x3ea,_0x436ff1(0x329));_0x7c887e(_0x4524c9);return;}if(this[_0x436ff1(0x273)]=(_0x15c013[0x0]&0x80)===0x80,this[_0x436ff1(0x202)]=_0x15c013[0x0]&0xf,this[_0x436ff1(0x343)]=_0x15c013[0x1]&0x7f,this['_opcode']===0x0){if(_0x375ca4){const _0x620e35=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x7c887e(_0x620e35);return;}if(!this['_fragmented']){const _0x54f800=this[_0x436ff1(0x214)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x436ff1(0x278));_0x7c887e(_0x54f800);return;}this[_0x436ff1(0x202)]=this[_0x436ff1(0x22e)];}else{if(this['_opcode']===0x1||this['_opcode']===0x2){if(this[_0x436ff1(0x22e)]){const _0x4ea318=this['createError'](RangeError,_0x436ff1(0x2dc)+this[_0x436ff1(0x202)],!0x0,0x3ea,_0x436ff1(0x278));_0x7c887e(_0x4ea318);return;}this[_0x436ff1(0x285)]=_0x375ca4;}else{if(this['_opcode']>0x7&&this['_opcode']<0xb){if(!this['_fin']){const _0x594be7=this['createError'](RangeError,_0x436ff1(0x257),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x7c887e(_0x594be7);return;}if(_0x375ca4){const _0x538fe5=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x436ff1(0x329));_0x7c887e(_0x538fe5);return;}if(this[_0x436ff1(0x343)]>0x7d||this[_0x436ff1(0x202)]===0x8&&this[_0x436ff1(0x343)]===0x1){const _0x523bb6=this[_0x436ff1(0x214)](RangeError,_0x436ff1(0x2a4)+this[_0x436ff1(0x343)],!0x0,0x3ea,_0x436ff1(0x2bc));_0x7c887e(_0x523bb6);return;}}else{const _0x59e4e8=this[_0x436ff1(0x214)](RangeError,'invalid\x20opcode\x20'+this[_0x436ff1(0x202)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x7c887e(_0x59e4e8);return;}}}if(!this['_fin']&&!this[_0x436ff1(0x22e)]&&(this[_0x436ff1(0x22e)]=this['_opcode']),this[_0x436ff1(0x2f4)]=(_0x15c013[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x436ff1(0x2f4)]){const _0x44823e=this[_0x436ff1(0x214)](RangeError,_0x436ff1(0x310),!0x0,0x3ea,_0x436ff1(0x2a1));_0x7c887e(_0x44823e);return;}}else{if(this[_0x436ff1(0x2f4)]){const _0x3f3d7f=this[_0x436ff1(0x214)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x436ff1(0x31f));_0x7c887e(_0x3f3d7f);return;}}this['_payloadLength']===0x7e?this[_0x436ff1(0x1f1)]=_0x541d1a:this[_0x436ff1(0x343)]===0x7f?this['_state']=_0x3e250c:this[_0x436ff1(0x2b3)](_0x7c887e);}[_0x305b48(0x389)](_0x14e74c){const _0x3be076=_0x305b48;if(this[_0x3be076(0x217)]<0x2){this[_0x3be076(0x27a)]=!0x1;return;}this[_0x3be076(0x343)]=this[_0x3be076(0x1fa)](0x2)[_0x3be076(0x2b4)](0x0),this[_0x3be076(0x2b3)](_0x14e74c);}[_0x305b48(0x1c9)](_0x583ea9){const _0x4aa8ac=_0x305b48;if(this['_bufferedBytes']<0x8){this[_0x4aa8ac(0x27a)]=!0x1;return;}const _0x5e1f2b=this[_0x4aa8ac(0x1fa)](0x8),_0xdef849=_0x5e1f2b[_0x4aa8ac(0x1c1)](0x0);if(_0xdef849>Math[_0x4aa8ac(0x37a)](0x2,0x15)-0x1){const _0x2523bd=this[_0x4aa8ac(0x214)](RangeError,_0x4aa8ac(0x1cd),!0x1,0x3f1,_0x4aa8ac(0x256));_0x583ea9(_0x2523bd);return;}this['_payloadLength']=_0xdef849*Math[_0x4aa8ac(0x37a)](0x2,0x20)+_0x5e1f2b['readUInt32BE'](0x4),this[_0x4aa8ac(0x2b3)](_0x583ea9);}[_0x305b48(0x2b3)](_0x321dbe){const _0x54ee6e=_0x305b48;if(this[_0x54ee6e(0x343)]&&this[_0x54ee6e(0x202)]<0x8&&(this['_totalPayloadLength']+=this[_0x54ee6e(0x343)],this['_totalPayloadLength']>this[_0x54ee6e(0x2ea)]&&this[_0x54ee6e(0x2ea)]>0x0)){const _0xae85f=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x54ee6e(0x247));_0x321dbe(_0xae85f);return;}this['_masked']?this[_0x54ee6e(0x1f1)]=_0x580f51:this[_0x54ee6e(0x1f1)]=_0x1a330e;}[_0x305b48(0x378)](){const _0x131472=_0x305b48;if(this['_bufferedBytes']<0x4){this[_0x131472(0x27a)]=!0x1;return;}this[_0x131472(0x300)]=this[_0x131472(0x1fa)](0x4),this['_state']=_0x1a330e;}[_0x305b48(0x275)](_0x4ce372){const _0x36e372=_0x305b48;let _0x1d4d68=_0x5b016f;if(this[_0x36e372(0x343)]){if(this[_0x36e372(0x217)]<this[_0x36e372(0x343)]){this['_loop']=!0x1;return;}_0x1d4d68=this[_0x36e372(0x1fa)](this[_0x36e372(0x343)]),this[_0x36e372(0x2f4)]&&(this[_0x36e372(0x300)][0x0]|this[_0x36e372(0x300)][0x1]|this[_0x36e372(0x300)][0x2]|this['_mask'][0x3])!==0x0&&_0x4eadee(_0x1d4d68,this[_0x36e372(0x300)]);}if(this[_0x36e372(0x202)]>0x7){this[_0x36e372(0x1e5)](_0x1d4d68,_0x4ce372);return;}if(this['_compressed']){this[_0x36e372(0x1f1)]=_0x23a947,this[_0x36e372(0x2a9)](_0x1d4d68,_0x4ce372);return;}_0x1d4d68['length']&&(this[_0x36e372(0x28b)]=this['_totalPayloadLength'],this[_0x36e372(0x1db)][_0x36e372(0x2b5)](_0x1d4d68)),this[_0x36e372(0x2e6)](_0x4ce372);}[_0x305b48(0x2a9)](_0x5ee414,_0x38af5d){const _0x505003=_0x305b48;this[_0x505003(0x1ee)][_0x511822['extensionName']][_0x505003(0x2a9)](_0x5ee414,this[_0x505003(0x273)],(_0x3b805c,_0x47fe96)=>{const _0x12bdff=_0x505003;if(_0x3b805c)return _0x38af5d(_0x3b805c);if(_0x47fe96[_0x12bdff(0x31b)]){if(this[_0x12bdff(0x28b)]+=_0x47fe96['length'],this['_messageLength']>this['_maxPayload']&&this[_0x12bdff(0x2ea)]>0x0){const _0xe19843=this[_0x12bdff(0x214)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x38af5d(_0xe19843);return;}this['_fragments']['push'](_0x47fe96);}this[_0x12bdff(0x2e6)](_0x38af5d),this[_0x12bdff(0x1f1)]===_0x56a9de&&this[_0x12bdff(0x2b7)](_0x38af5d);});}[_0x305b48(0x2e6)](_0x514c4e){const _0x52fadc=_0x305b48;if(!this[_0x52fadc(0x273)]){this[_0x52fadc(0x1f1)]=_0x56a9de;return;}const _0x3db7fb=this[_0x52fadc(0x28b)],_0x564848=this[_0x52fadc(0x1db)];if(this['_totalPayloadLength']=0x0,this[_0x52fadc(0x28b)]=0x0,this[_0x52fadc(0x22e)]=0x0,this[_0x52fadc(0x1db)]=[],this[_0x52fadc(0x202)]===0x2){let _0x2b0ef7;this[_0x52fadc(0x36d)]==='nodebuffer'?_0x2b0ef7=_0x2f604f(_0x564848,_0x3db7fb):this[_0x52fadc(0x36d)]===_0x52fadc(0x36f)?_0x2b0ef7=_0xfcd103(_0x2f604f(_0x564848,_0x3db7fb)):this[_0x52fadc(0x36d)]===_0x52fadc(0x2b6)?_0x2b0ef7=new Blob(_0x564848):_0x2b0ef7=_0x564848,this[_0x52fadc(0x208)]?(this[_0x52fadc(0x235)](_0x52fadc(0x2df),_0x2b0ef7,!0x0),this[_0x52fadc(0x1f1)]=_0x56a9de):(this[_0x52fadc(0x1f1)]=_0x47af9b,setImmediate(()=>{const _0x414ad2=_0x52fadc;this[_0x414ad2(0x235)](_0x414ad2(0x2df),_0x2b0ef7,!0x0),this[_0x414ad2(0x1f1)]=_0x56a9de,this[_0x414ad2(0x2b7)](_0x514c4e);}));}else{const _0x2de2b3=_0x2f604f(_0x564848,_0x3db7fb);if(!this[_0x52fadc(0x2ad)]&&!_0x20ab05(_0x2de2b3)){const _0x3179ae=this[_0x52fadc(0x214)](Error,_0x52fadc(0x2ee),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x514c4e(_0x3179ae);return;}this[_0x52fadc(0x1f1)]===_0x23a947||this[_0x52fadc(0x208)]?(this[_0x52fadc(0x235)](_0x52fadc(0x2df),_0x2de2b3,!0x1),this['_state']=_0x56a9de):(this[_0x52fadc(0x1f1)]=_0x47af9b,setImmediate(()=>{const _0x233def=_0x52fadc;this[_0x233def(0x235)]('message',_0x2de2b3,!0x1),this['_state']=_0x56a9de,this[_0x233def(0x2b7)](_0x514c4e);}));}}[_0x305b48(0x1e5)](_0x303620,_0x22220f){const _0x18e574=_0x305b48;if(this['_opcode']===0x8){if(_0x303620[_0x18e574(0x31b)]===0x0)this['_loop']=!0x1,this[_0x18e574(0x235)](_0x18e574(0x369),0x3ed,_0x5b016f),this[_0x18e574(0x260)]();else{const _0x43820f=_0x303620[_0x18e574(0x2b4)](0x0);if(!_0x4faa20(_0x43820f)){const _0x1e7cdf=this[_0x18e574(0x214)](RangeError,'invalid\x20status\x20code\x20'+_0x43820f,!0x0,0x3ea,_0x18e574(0x203));_0x22220f(_0x1e7cdf);return;}const _0x5e696d=new _0x8f48ea(_0x303620[_0x18e574(0x2cc)],_0x303620['byteOffset']+0x2,_0x303620[_0x18e574(0x31b)]-0x2);if(!this['_skipUTF8Validation']&&!_0x20ab05(_0x5e696d)){const _0x9b787f=this[_0x18e574(0x214)](Error,_0x18e574(0x2ee),!0x0,0x3ef,_0x18e574(0x32c));_0x22220f(_0x9b787f);return;}this[_0x18e574(0x27a)]=!0x1,this[_0x18e574(0x235)]('conclude',_0x43820f,_0x5e696d),this[_0x18e574(0x260)]();}this[_0x18e574(0x1f1)]=_0x56a9de;return;}this['_allowSynchronousEvents']?(this[_0x18e574(0x235)](this[_0x18e574(0x202)]===0x9?_0x18e574(0x34f):_0x18e574(0x22f),_0x303620),this[_0x18e574(0x1f1)]=_0x56a9de):(this['_state']=_0x47af9b,setImmediate(()=>{const _0x84b0ac=_0x18e574;this[_0x84b0ac(0x235)](this['_opcode']===0x9?_0x84b0ac(0x34f):_0x84b0ac(0x22f),_0x303620),this[_0x84b0ac(0x1f1)]=_0x56a9de,this[_0x84b0ac(0x2b7)](_0x22220f);}));}[_0x305b48(0x214)](_0x51c3f0,_0x5b335c,_0x59d3eb,_0x5ef611,_0x319af9){const _0xe3a336=_0x305b48;this['_loop']=!0x1,this[_0xe3a336(0x1d6)]=!0x0;const _0x4ec0fd=new _0x51c3f0(_0x59d3eb?_0xe3a336(0x1e9)+_0x5b335c:_0x5b335c);return Error[_0xe3a336(0x1fd)](_0x4ec0fd,this[_0xe3a336(0x214)]),_0x4ec0fd['code']=_0x319af9,_0x4ec0fd[_0x31c900]=_0x5ef611,_0x4ec0fd;}}return Se=_0x14798c,Se;}var Ee,Xe;function ft(){const _0x32af54=_0x5a38b5;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x20cdda}=oe,{randomFillSync:_0x956ed8}=Le,_0x2ab91e=he(),{EMPTY_BUFFER:_0x3010c0,kWebSocket:_0x488620,NOOP:_0x2784b8}=H(),{isBlob:_0x4ad3dd,isValidStatusCode:_0x3aff36}=ae(),{mask:_0x103123,toBuffer:_0x18181b}=ce(),_0x5e001d=Symbol(_0x32af54(0x2d1)),_0x2c900a=Buffer['alloc'](0x4),_0x1cd0a5=0x8*0x400;let _0x2cdd00,_0x400f57=_0x1cd0a5;const _0x5f4bff=0x0,_0x26e6e2=0x1,_0x19f91f=0x2;class _0x3b3df7{constructor(_0x336c30,_0x3bdc06,_0x207443){const _0x4142ea=_0x32af54;this['_extensions']=_0x3bdc06||{},_0x207443&&(this['_generateMask']=_0x207443,this['_maskBuffer']=Buffer[_0x4142ea(0x2ab)](0x4)),this[_0x4142ea(0x20d)]=_0x336c30,this['_firstFragment']=!0x0,this[_0x4142ea(0x319)]=!0x1,this[_0x4142ea(0x217)]=0x0,this[_0x4142ea(0x1d9)]=[],this['_state']=_0x5f4bff,this[_0x4142ea(0x279)]=_0x2784b8,this[_0x488620]=void 0x0;}static[_0x32af54(0x2dd)](_0x244df7,_0x3330d2){const _0x3f448e=_0x32af54;let _0x18a40d,_0x55f1c3=!0x1,_0x423e02=0x2,_0x38105e=!0x1;_0x3330d2[_0x3f448e(0x2fd)]&&(_0x18a40d=_0x3330d2[_0x3f448e(0x1f5)]||_0x2c900a,_0x3330d2[_0x3f448e(0x239)]?_0x3330d2['generateMask'](_0x18a40d):(_0x400f57===_0x1cd0a5&&(_0x2cdd00===void 0x0&&(_0x2cdd00=Buffer[_0x3f448e(0x2ab)](_0x1cd0a5)),_0x956ed8(_0x2cdd00,0x0,_0x1cd0a5),_0x400f57=0x0),_0x18a40d[0x0]=_0x2cdd00[_0x400f57++],_0x18a40d[0x1]=_0x2cdd00[_0x400f57++],_0x18a40d[0x2]=_0x2cdd00[_0x400f57++],_0x18a40d[0x3]=_0x2cdd00[_0x400f57++]),_0x38105e=(_0x18a40d[0x0]|_0x18a40d[0x1]|_0x18a40d[0x2]|_0x18a40d[0x3])===0x0,_0x423e02=0x6);let _0x2aec20;typeof _0x244df7==_0x3f448e(0x288)?(!_0x3330d2['mask']||_0x38105e)&&_0x3330d2[_0x5e001d]!==void 0x0?_0x2aec20=_0x3330d2[_0x5e001d]:(_0x244df7=Buffer[_0x3f448e(0x2f6)](_0x244df7),_0x2aec20=_0x244df7[_0x3f448e(0x31b)]):(_0x2aec20=_0x244df7['length'],_0x55f1c3=_0x3330d2[_0x3f448e(0x2fd)]&&_0x3330d2[_0x3f448e(0x27e)]&&!_0x38105e);let _0xb293f4=_0x2aec20;_0x2aec20>=0x10000?(_0x423e02+=0x8,_0xb293f4=0x7f):_0x2aec20>0x7d&&(_0x423e02+=0x2,_0xb293f4=0x7e);const _0xc6ec53=Buffer['allocUnsafe'](_0x55f1c3?_0x2aec20+_0x423e02:_0x423e02);return _0xc6ec53[0x0]=_0x3330d2[_0x3f448e(0x252)]?_0x3330d2['opcode']|0x80:_0x3330d2[_0x3f448e(0x237)],_0x3330d2[_0x3f448e(0x211)]&&(_0xc6ec53[0x0]|=0x40),_0xc6ec53[0x1]=_0xb293f4,_0xb293f4===0x7e?_0xc6ec53[_0x3f448e(0x32a)](_0x2aec20,0x2):_0xb293f4===0x7f&&(_0xc6ec53[0x2]=_0xc6ec53[0x3]=0x0,_0xc6ec53[_0x3f448e(0x33f)](_0x2aec20,0x4,0x6)),_0x3330d2[_0x3f448e(0x2fd)]?(_0xc6ec53[0x1]|=0x80,_0xc6ec53[_0x423e02-0x4]=_0x18a40d[0x0],_0xc6ec53[_0x423e02-0x3]=_0x18a40d[0x1],_0xc6ec53[_0x423e02-0x2]=_0x18a40d[0x2],_0xc6ec53[_0x423e02-0x1]=_0x18a40d[0x3],_0x38105e?[_0xc6ec53,_0x244df7]:_0x55f1c3?(_0x103123(_0x244df7,_0x18a40d,_0xc6ec53,_0x423e02,_0x2aec20),[_0xc6ec53]):(_0x103123(_0x244df7,_0x18a40d,_0x244df7,0x0,_0x2aec20),[_0xc6ec53,_0x244df7])):[_0xc6ec53,_0x244df7];}[_0x32af54(0x2f5)](_0xd9e09,_0x55e8f3,_0x437133,_0x345b19){const _0x2f90da=_0x32af54;let _0x42c5f6;if(_0xd9e09===void 0x0)_0x42c5f6=_0x3010c0;else{if(typeof _0xd9e09!=_0x2f90da(0x2cd)||!_0x3aff36(_0xd9e09))throw new TypeError(_0x2f90da(0x30c));if(_0x55e8f3===void 0x0||!_0x55e8f3[_0x2f90da(0x31b)])_0x42c5f6=Buffer[_0x2f90da(0x28d)](0x2),_0x42c5f6[_0x2f90da(0x32a)](_0xd9e09,0x0);else{const _0x5c0fcc=Buffer[_0x2f90da(0x1fe)](_0x55e8f3);if(_0x5c0fcc>0x7b)throw new RangeError(_0x2f90da(0x1fc));_0x42c5f6=Buffer[_0x2f90da(0x28d)](0x2+_0x5c0fcc),_0x42c5f6[_0x2f90da(0x32a)](_0xd9e09,0x0),typeof _0x55e8f3==_0x2f90da(0x288)?_0x42c5f6[_0x2f90da(0x20f)](_0x55e8f3,0x2):_0x42c5f6[_0x2f90da(0x32d)](_0x55e8f3,0x2);}}const _0x308d56={[_0x5e001d]:_0x42c5f6[_0x2f90da(0x31b)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x437133,'maskBuffer':this['_maskBuffer'],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x2f90da(0x1f1)]!==_0x5f4bff?this['enqueue']([this[_0x2f90da(0x359)],_0x42c5f6,!0x1,_0x308d56,_0x345b19]):this[_0x2f90da(0x291)](_0x3b3df7[_0x2f90da(0x2dd)](_0x42c5f6,_0x308d56),_0x345b19);}[_0x32af54(0x34f)](_0x5bc040,_0x3031ce,_0x465fcc){const _0x3d9a6d=_0x32af54;let _0x2c1d5a,_0x22ac64;if(typeof _0x5bc040==_0x3d9a6d(0x288)?(_0x2c1d5a=Buffer['byteLength'](_0x5bc040),_0x22ac64=!0x1):_0x4ad3dd(_0x5bc040)?(_0x2c1d5a=_0x5bc040[_0x3d9a6d(0x234)],_0x22ac64=!0x1):(_0x5bc040=_0x18181b(_0x5bc040),_0x2c1d5a=_0x5bc040[_0x3d9a6d(0x31b)],_0x22ac64=_0x18181b['readOnly']),_0x2c1d5a>0x7d)throw new RangeError(_0x3d9a6d(0x2bf));const _0xa0607={[_0x5e001d]:_0x2c1d5a,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x3031ce,'maskBuffer':this[_0x3d9a6d(0x313)],'opcode':0x9,'readOnly':_0x22ac64,'rsv1':!0x1};_0x4ad3dd(_0x5bc040)?this[_0x3d9a6d(0x1f1)]!==_0x5f4bff?this[_0x3d9a6d(0x30a)]([this[_0x3d9a6d(0x372)],_0x5bc040,!0x1,_0xa0607,_0x465fcc]):this[_0x3d9a6d(0x372)](_0x5bc040,!0x1,_0xa0607,_0x465fcc):this[_0x3d9a6d(0x1f1)]!==_0x5f4bff?this['enqueue']([this[_0x3d9a6d(0x359)],_0x5bc040,!0x1,_0xa0607,_0x465fcc]):this[_0x3d9a6d(0x291)](_0x3b3df7['frame'](_0x5bc040,_0xa0607),_0x465fcc);}[_0x32af54(0x22f)](_0x4596bd,_0x49ec7b,_0x3ca521){const _0x15b19d=_0x32af54;let _0x25aac9,_0x283b6d;if(typeof _0x4596bd==_0x15b19d(0x288)?(_0x25aac9=Buffer['byteLength'](_0x4596bd),_0x283b6d=!0x1):_0x4ad3dd(_0x4596bd)?(_0x25aac9=_0x4596bd[_0x15b19d(0x234)],_0x283b6d=!0x1):(_0x4596bd=_0x18181b(_0x4596bd),_0x25aac9=_0x4596bd['length'],_0x283b6d=_0x18181b[_0x15b19d(0x27e)]),_0x25aac9>0x7d)throw new RangeError(_0x15b19d(0x2bf));const _0x1b9ff3={[_0x5e001d]:_0x25aac9,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x49ec7b,'maskBuffer':this[_0x15b19d(0x313)],'opcode':0xa,'readOnly':_0x283b6d,'rsv1':!0x1};_0x4ad3dd(_0x4596bd)?this[_0x15b19d(0x1f1)]!==_0x5f4bff?this['enqueue']([this[_0x15b19d(0x372)],_0x4596bd,!0x1,_0x1b9ff3,_0x3ca521]):this[_0x15b19d(0x372)](_0x4596bd,!0x1,_0x1b9ff3,_0x3ca521):this[_0x15b19d(0x1f1)]!==_0x5f4bff?this[_0x15b19d(0x30a)]([this[_0x15b19d(0x359)],_0x4596bd,!0x1,_0x1b9ff3,_0x3ca521]):this[_0x15b19d(0x291)](_0x3b3df7['frame'](_0x4596bd,_0x1b9ff3),_0x3ca521);}[_0x32af54(0x308)](_0x5af847,_0x13619c,_0xad11ed){const _0x10c523=_0x32af54,_0x8c3d1e=this[_0x10c523(0x1ee)][_0x2ab91e[_0x10c523(0x258)]];let _0x15aa65=_0x13619c['binary']?0x2:0x1,_0x297623=_0x13619c[_0x10c523(0x1ea)],_0xa865b4,_0x1a649b;typeof _0x5af847==_0x10c523(0x288)?(_0xa865b4=Buffer[_0x10c523(0x1fe)](_0x5af847),_0x1a649b=!0x1):_0x4ad3dd(_0x5af847)?(_0xa865b4=_0x5af847['size'],_0x1a649b=!0x1):(_0x5af847=_0x18181b(_0x5af847),_0xa865b4=_0x5af847[_0x10c523(0x31b)],_0x1a649b=_0x18181b[_0x10c523(0x27e)]),this[_0x10c523(0x1d7)]?(this['_firstFragment']=!0x1,_0x297623&&_0x8c3d1e&&_0x8c3d1e[_0x10c523(0x35e)][_0x8c3d1e[_0x10c523(0x24f)]?'server_no_context_takeover':_0x10c523(0x229)]&&(_0x297623=_0xa865b4>=_0x8c3d1e[_0x10c523(0x1ed)]),this[_0x10c523(0x319)]=_0x297623):(_0x297623=!0x1,_0x15aa65=0x0),_0x13619c[_0x10c523(0x252)]&&(this['_firstFragment']=!0x0);const _0x345e97={[_0x5e001d]:_0xa865b4,'fin':_0x13619c['fin'],'generateMask':this['_generateMask'],'mask':_0x13619c[_0x10c523(0x2fd)],'maskBuffer':this[_0x10c523(0x313)],'opcode':_0x15aa65,'readOnly':_0x1a649b,'rsv1':_0x297623};_0x4ad3dd(_0x5af847)?this[_0x10c523(0x1f1)]!==_0x5f4bff?this[_0x10c523(0x30a)]([this[_0x10c523(0x372)],_0x5af847,this[_0x10c523(0x319)],_0x345e97,_0xad11ed]):this['getBlobData'](_0x5af847,this[_0x10c523(0x319)],_0x345e97,_0xad11ed):this[_0x10c523(0x1f1)]!==_0x5f4bff?this[_0x10c523(0x30a)]([this[_0x10c523(0x359)],_0x5af847,this[_0x10c523(0x319)],_0x345e97,_0xad11ed]):this['dispatch'](_0x5af847,this[_0x10c523(0x319)],_0x345e97,_0xad11ed);}['getBlobData'](_0x373003,_0x429cc2,_0x3a19db,_0x53de02){const _0x508310=_0x32af54;this[_0x508310(0x217)]+=_0x3a19db[_0x5e001d],this[_0x508310(0x1f1)]=_0x19f91f,_0x373003[_0x508310(0x226)]()['then'](_0x1a6a35=>{const _0xe610a2=_0x508310;if(this[_0xe610a2(0x20d)]['destroyed']){const _0x4c5e6b=new Error(_0xe610a2(0x1d5));process[_0xe610a2(0x328)](_0x27f54e,this,_0x4c5e6b,_0x53de02);return;}this['_bufferedBytes']-=_0x3a19db[_0x5e001d];const _0x23be9e=_0x18181b(_0x1a6a35);_0x429cc2?this[_0xe610a2(0x359)](_0x23be9e,_0x429cc2,_0x3a19db,_0x53de02):(this['_state']=_0x5f4bff,this[_0xe610a2(0x291)](_0x3b3df7[_0xe610a2(0x2dd)](_0x23be9e,_0x3a19db),_0x53de02),this['dequeue']());})['catch'](_0x55c42f=>{const _0x4d00b2=_0x508310;process[_0x4d00b2(0x328)](_0xde36f1,this,_0x55c42f,_0x53de02);});}[_0x32af54(0x359)](_0x1b27fc,_0x26a587,_0x42085f,_0x3e5aa8){const _0x3d00e8=_0x32af54;if(!_0x26a587){this[_0x3d00e8(0x291)](_0x3b3df7[_0x3d00e8(0x2dd)](_0x1b27fc,_0x42085f),_0x3e5aa8);return;}const _0x1ed66e=this[_0x3d00e8(0x1ee)][_0x2ab91e[_0x3d00e8(0x258)]];this[_0x3d00e8(0x217)]+=_0x42085f[_0x5e001d],this[_0x3d00e8(0x1f1)]=_0x26e6e2,_0x1ed66e['compress'](_0x1b27fc,_0x42085f[_0x3d00e8(0x252)],(_0x306995,_0x3ddc1d)=>{const _0xbf1118=_0x3d00e8;if(this[_0xbf1118(0x20d)][_0xbf1118(0x386)]){const _0x3cf62b=new Error(_0xbf1118(0x21e));_0x27f54e(this,_0x3cf62b,_0x3e5aa8);return;}this[_0xbf1118(0x217)]-=_0x42085f[_0x5e001d],this['_state']=_0x5f4bff,_0x42085f[_0xbf1118(0x27e)]=!0x1,this['sendFrame'](_0x3b3df7['frame'](_0x3ddc1d,_0x42085f),_0x3e5aa8),this[_0xbf1118(0x2d6)]();});}[_0x32af54(0x2d6)](){const _0x4ca8e8=_0x32af54;for(;this[_0x4ca8e8(0x1f1)]===_0x5f4bff&&this[_0x4ca8e8(0x1d9)][_0x4ca8e8(0x31b)];){const _0x12e71b=this['_queue']['shift']();this[_0x4ca8e8(0x217)]-=_0x12e71b[0x3][_0x5e001d],Reflect[_0x4ca8e8(0x1eb)](_0x12e71b[0x0],this,_0x12e71b[_0x4ca8e8(0x2c1)](0x1));}}[_0x32af54(0x30a)](_0x206849){const _0x40021c=_0x32af54;this[_0x40021c(0x217)]+=_0x206849[0x3][_0x5e001d],this['_queue']['push'](_0x206849);}[_0x32af54(0x291)](_0x1518f6,_0x1e1b69){const _0x7b2363=_0x32af54;_0x1518f6[_0x7b2363(0x31b)]===0x2?(this['_socket'][_0x7b2363(0x1e1)](),this[_0x7b2363(0x20d)][_0x7b2363(0x20f)](_0x1518f6[0x0]),this[_0x7b2363(0x20d)][_0x7b2363(0x20f)](_0x1518f6[0x1],_0x1e1b69),this[_0x7b2363(0x20d)][_0x7b2363(0x2ed)]()):this[_0x7b2363(0x20d)][_0x7b2363(0x20f)](_0x1518f6[0x0],_0x1e1b69);}}Ee=_0x3b3df7;function _0x27f54e(_0xd64381,_0x2e8e9f,_0x42b627){const _0x101594=_0x32af54;typeof _0x42b627==_0x101594(0x302)&&_0x42b627(_0x2e8e9f);for(let _0x48ca3b=0x0;_0x48ca3b<_0xd64381['_queue'][_0x101594(0x31b)];_0x48ca3b++){const _0x14bf5a=_0xd64381[_0x101594(0x1d9)][_0x48ca3b],_0x28857d=_0x14bf5a[_0x14bf5a['length']-0x1];typeof _0x28857d=='function'&&_0x28857d(_0x2e8e9f);}}function _0xde36f1(_0x32e751,_0x52f23e,_0xd59807){const _0x3ea55a=_0x32af54;_0x27f54e(_0x32e751,_0x52f23e,_0xd59807),_0x32e751[_0x3ea55a(0x279)](_0x52f23e);}return Ee;}var xe,Ze;function It(){const _0x38614b=_0x5a38b5;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x15b7c4,kListener:_0x450b26}=H(),_0xebd045=Symbol(_0x38614b(0x250)),_0x28d875=Symbol(_0x38614b(0x276)),_0x62cedd=Symbol(_0x38614b(0x29d)),_0x18070d=Symbol(_0x38614b(0x2c0)),_0x529a81=Symbol('kReason'),_0x275f11=Symbol(_0x38614b(0x32f)),_0x260f2f=Symbol(_0x38614b(0x28a)),_0xa2c559=Symbol(_0x38614b(0x303));class _0x566482{constructor(_0x3f4111){this[_0x275f11]=null,this[_0x260f2f]=_0x3f4111;}get[_0x38614b(0x274)](){return this[_0x275f11];}get['type'](){return this[_0x260f2f];}}Object[_0x38614b(0x325)](_0x566482[_0x38614b(0x284)],_0x38614b(0x274),{'enumerable':!0x0}),Object[_0x38614b(0x325)](_0x566482[_0x38614b(0x284)],_0x38614b(0x2a0),{'enumerable':!0x0});class _0x433d07 extends _0x566482{constructor(_0x34ff1c,_0x26453b={}){const _0x508768=_0x38614b;super(_0x34ff1c),this[_0xebd045]=_0x26453b[_0x508768(0x312)]===void 0x0?0x0:_0x26453b[_0x508768(0x312)],this[_0x529a81]=_0x26453b[_0x508768(0x290)]===void 0x0?'':_0x26453b['reason'],this[_0xa2c559]=_0x26453b[_0x508768(0x2a8)]===void 0x0?!0x1:_0x26453b[_0x508768(0x2a8)];}get[_0x38614b(0x312)](){return this[_0xebd045];}get[_0x38614b(0x290)](){return this[_0x529a81];}get[_0x38614b(0x2a8)](){return this[_0xa2c559];}}Object[_0x38614b(0x325)](_0x433d07[_0x38614b(0x284)],'code',{'enumerable':!0x0}),Object[_0x38614b(0x325)](_0x433d07[_0x38614b(0x284)],_0x38614b(0x290),{'enumerable':!0x0}),Object[_0x38614b(0x325)](_0x433d07['prototype'],_0x38614b(0x2a8),{'enumerable':!0x0});class _0x18ae5b extends _0x566482{constructor(_0x231680,_0x8cfd94={}){const _0x4b6bdf=_0x38614b;super(_0x231680),this[_0x62cedd]=_0x8cfd94[_0x4b6bdf(0x2e1)]===void 0x0?null:_0x8cfd94[_0x4b6bdf(0x2e1)],this[_0x18070d]=_0x8cfd94[_0x4b6bdf(0x2df)]===void 0x0?'':_0x8cfd94[_0x4b6bdf(0x2df)];}get[_0x38614b(0x2e1)](){return this[_0x62cedd];}get[_0x38614b(0x2df)](){return this[_0x18070d];}}Object['defineProperty'](_0x18ae5b['prototype'],_0x38614b(0x2e1),{'enumerable':!0x0}),Object[_0x38614b(0x325)](_0x18ae5b[_0x38614b(0x284)],_0x38614b(0x2df),{'enumerable':!0x0});class _0x52d432 extends _0x566482{constructor(_0x10ff8e,_0x43c982={}){const _0x45ae92=_0x38614b;super(_0x10ff8e),this[_0x28d875]=_0x43c982[_0x45ae92(0x24c)]===void 0x0?null:_0x43c982[_0x45ae92(0x24c)];}get[_0x38614b(0x24c)](){return this[_0x28d875];}}Object[_0x38614b(0x325)](_0x52d432['prototype'],_0x38614b(0x24c),{'enumerable':!0x0}),xe={'CloseEvent':_0x433d07,'ErrorEvent':_0x18ae5b,'Event':_0x566482,'EventTarget':{'addEventListener'(_0xc587e9,_0x3102a9,_0x28e3e2={}){const _0x5a2ec4=_0x38614b;for(const _0x294e90 of this['listeners'](_0xc587e9))if(!_0x28e3e2[_0x15b7c4]&&_0x294e90[_0x450b26]===_0x3102a9&&!_0x294e90[_0x15b7c4])return;let _0x4b8dcc;if(_0xc587e9==='message')_0x4b8dcc=function(_0x39919b,_0x5b075f){const _0x30757d=_0x2133,_0x228e4a=new _0x52d432(_0x30757d(0x2df),{'data':_0x5b075f?_0x39919b:_0x39919b[_0x30757d(0x327)]()});_0x228e4a[_0x275f11]=this,_0x526a0a(_0x3102a9,this,_0x228e4a);};else{if(_0xc587e9===_0x5a2ec4(0x2f5))_0x4b8dcc=function(_0x19753f,_0x552ac0){const _0x252a80=_0x5a2ec4,_0x53eaf6=new _0x433d07(_0x252a80(0x2f5),{'code':_0x19753f,'reason':_0x552ac0['toString'](),'wasClean':this[_0x252a80(0x34c)]&&this[_0x252a80(0x1e2)]});_0x53eaf6[_0x275f11]=this,_0x526a0a(_0x3102a9,this,_0x53eaf6);};else{if(_0xc587e9==='error')_0x4b8dcc=function(_0x233bef){const _0x139218=_0x5a2ec4,_0x23884e=new _0x18ae5b(_0x139218(0x2e1),{'error':_0x233bef,'message':_0x233bef[_0x139218(0x2df)]});_0x23884e[_0x275f11]=this,_0x526a0a(_0x3102a9,this,_0x23884e);};else{if(_0xc587e9===_0x5a2ec4(0x294))_0x4b8dcc=function(){const _0x26c1de=new _0x566482('open');_0x26c1de[_0x275f11]=this,_0x526a0a(_0x3102a9,this,_0x26c1de);};else return;}}}_0x4b8dcc[_0x15b7c4]=!!_0x28e3e2[_0x15b7c4],_0x4b8dcc[_0x450b26]=_0x3102a9,_0x28e3e2[_0x5a2ec4(0x2d4)]?this[_0x5a2ec4(0x2d4)](_0xc587e9,_0x4b8dcc):this['on'](_0xc587e9,_0x4b8dcc);},'removeEventListener'(_0x1b2769,_0x2dca47){const _0x1fea5d=_0x38614b;for(const _0x1e5b0d of this['listeners'](_0x1b2769))if(_0x1e5b0d[_0x450b26]===_0x2dca47&&!_0x1e5b0d[_0x15b7c4]){this[_0x1fea5d(0x35f)](_0x1b2769,_0x1e5b0d);break;}}},'MessageEvent':_0x52d432};function _0x526a0a(_0x3236be,_0x543f44,_0x3b17a5){const _0x4dab77=_0x38614b;typeof _0x3236be==_0x4dab77(0x25c)&&_0x3236be[_0x4dab77(0x305)]?_0x3236be[_0x4dab77(0x305)]['call'](_0x3236be,_0x3b17a5):_0x3236be[_0x4dab77(0x22c)](_0x543f44,_0x3b17a5);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x92f212}=ae();function _0x4bddfa(_0x34e94e,_0x2a8d10,_0xf8bdc){_0x34e94e[_0x2a8d10]===void 0x0?_0x34e94e[_0x2a8d10]=[_0xf8bdc]:_0x34e94e[_0x2a8d10]['push'](_0xf8bdc);}function _0x446a74(_0x4fc657){const _0x26e3be=_0x2133,_0x2a5bd1=Object[_0x26e3be(0x21d)](null);let _0x5f332f=Object['create'](null),_0xafd031=!0x1,_0x5dacac=!0x1,_0x30d265=!0x1,_0x4f1ab8,_0x1f7709,_0x19c532=-0x1,_0x4dd4fc=-0x1,_0x2e3b4b=-0x1,_0x3f17fc=0x0;for(;_0x3f17fc<_0x4fc657[_0x26e3be(0x31b)];_0x3f17fc++)if(_0x4dd4fc=_0x4fc657[_0x26e3be(0x1cc)](_0x3f17fc),_0x4f1ab8===void 0x0){if(_0x2e3b4b===-0x1&&_0x92f212[_0x4dd4fc]===0x1)_0x19c532===-0x1&&(_0x19c532=_0x3f17fc);else{if(_0x3f17fc!==0x0&&(_0x4dd4fc===0x20||_0x4dd4fc===0x9))_0x2e3b4b===-0x1&&_0x19c532!==-0x1&&(_0x2e3b4b=_0x3f17fc);else{if(_0x4dd4fc===0x3b||_0x4dd4fc===0x2c){if(_0x19c532===-0x1)throw new SyntaxError(_0x26e3be(0x295)+_0x3f17fc);_0x2e3b4b===-0x1&&(_0x2e3b4b=_0x3f17fc);const _0x3bddce=_0x4fc657[_0x26e3be(0x2c1)](_0x19c532,_0x2e3b4b);_0x4dd4fc===0x2c?(_0x4bddfa(_0x2a5bd1,_0x3bddce,_0x5f332f),_0x5f332f=Object['create'](null)):_0x4f1ab8=_0x3bddce,_0x19c532=_0x2e3b4b=-0x1;}else throw new SyntaxError(_0x26e3be(0x295)+_0x3f17fc);}}}else{if(_0x1f7709===void 0x0){if(_0x2e3b4b===-0x1&&_0x92f212[_0x4dd4fc]===0x1)_0x19c532===-0x1&&(_0x19c532=_0x3f17fc);else{if(_0x4dd4fc===0x20||_0x4dd4fc===0x9)_0x2e3b4b===-0x1&&_0x19c532!==-0x1&&(_0x2e3b4b=_0x3f17fc);else{if(_0x4dd4fc===0x3b||_0x4dd4fc===0x2c){if(_0x19c532===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3f17fc);_0x2e3b4b===-0x1&&(_0x2e3b4b=_0x3f17fc),_0x4bddfa(_0x5f332f,_0x4fc657[_0x26e3be(0x2c1)](_0x19c532,_0x2e3b4b),!0x0),_0x4dd4fc===0x2c&&(_0x4bddfa(_0x2a5bd1,_0x4f1ab8,_0x5f332f),_0x5f332f=Object[_0x26e3be(0x21d)](null),_0x4f1ab8=void 0x0),_0x19c532=_0x2e3b4b=-0x1;}else{if(_0x4dd4fc===0x3d&&_0x19c532!==-0x1&&_0x2e3b4b===-0x1)_0x1f7709=_0x4fc657['slice'](_0x19c532,_0x3f17fc),_0x19c532=_0x2e3b4b=-0x1;else throw new SyntaxError(_0x26e3be(0x295)+_0x3f17fc);}}}}else{if(_0x5dacac){if(_0x92f212[_0x4dd4fc]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3f17fc);_0x19c532===-0x1?_0x19c532=_0x3f17fc:_0xafd031||(_0xafd031=!0x0),_0x5dacac=!0x1;}else{if(_0x30d265){if(_0x92f212[_0x4dd4fc]===0x1)_0x19c532===-0x1&&(_0x19c532=_0x3f17fc);else{if(_0x4dd4fc===0x22&&_0x19c532!==-0x1)_0x30d265=!0x1,_0x2e3b4b=_0x3f17fc;else{if(_0x4dd4fc===0x5c)_0x5dacac=!0x0;else throw new SyntaxError(_0x26e3be(0x295)+_0x3f17fc);}}}else{if(_0x4dd4fc===0x22&&_0x4fc657['charCodeAt'](_0x3f17fc-0x1)===0x3d)_0x30d265=!0x0;else{if(_0x2e3b4b===-0x1&&_0x92f212[_0x4dd4fc]===0x1)_0x19c532===-0x1&&(_0x19c532=_0x3f17fc);else{if(_0x19c532!==-0x1&&(_0x4dd4fc===0x20||_0x4dd4fc===0x9))_0x2e3b4b===-0x1&&(_0x2e3b4b=_0x3f17fc);else{if(_0x4dd4fc===0x3b||_0x4dd4fc===0x2c){if(_0x19c532===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3f17fc);_0x2e3b4b===-0x1&&(_0x2e3b4b=_0x3f17fc);let _0x3e4b10=_0x4fc657[_0x26e3be(0x2c1)](_0x19c532,_0x2e3b4b);_0xafd031&&(_0x3e4b10=_0x3e4b10['replace'](/\\/g,''),_0xafd031=!0x1),_0x4bddfa(_0x5f332f,_0x1f7709,_0x3e4b10),_0x4dd4fc===0x2c&&(_0x4bddfa(_0x2a5bd1,_0x4f1ab8,_0x5f332f),_0x5f332f=Object[_0x26e3be(0x21d)](null),_0x4f1ab8=void 0x0),_0x1f7709=void 0x0,_0x19c532=_0x2e3b4b=-0x1;}else throw new SyntaxError(_0x26e3be(0x295)+_0x3f17fc);}}}}}}}if(_0x19c532===-0x1||_0x30d265||_0x4dd4fc===0x20||_0x4dd4fc===0x9)throw new SyntaxError(_0x26e3be(0x20a));_0x2e3b4b===-0x1&&(_0x2e3b4b=_0x3f17fc);const _0x579e27=_0x4fc657['slice'](_0x19c532,_0x2e3b4b);return _0x4f1ab8===void 0x0?_0x4bddfa(_0x2a5bd1,_0x579e27,_0x5f332f):(_0x1f7709===void 0x0?_0x4bddfa(_0x5f332f,_0x579e27,!0x0):_0xafd031?_0x4bddfa(_0x5f332f,_0x1f7709,_0x579e27['replace'](/\\/g,'')):_0x4bddfa(_0x5f332f,_0x1f7709,_0x579e27),_0x4bddfa(_0x2a5bd1,_0x4f1ab8,_0x5f332f)),_0x2a5bd1;}function _0x464e47(_0xac9c7a){const _0xaae6ff=_0x2133;return Object[_0xaae6ff(0x2f0)](_0xac9c7a)[_0xaae6ff(0x248)](_0x46aff2=>{const _0xb989e1=_0xaae6ff;let _0x41d1ac=_0xac9c7a[_0x46aff2];return Array[_0xb989e1(0x213)](_0x41d1ac)||(_0x41d1ac=[_0x41d1ac]),_0x41d1ac[_0xb989e1(0x248)](_0x4483d4=>[_0x46aff2][_0xb989e1(0x363)](Object['keys'](_0x4483d4)[_0xb989e1(0x248)](_0x124429=>{const _0x69e188=_0xb989e1;let _0x398888=_0x4483d4[_0x124429];return Array[_0x69e188(0x213)](_0x398888)||(_0x398888=[_0x398888]),_0x398888[_0x69e188(0x248)](_0x1a167c=>_0x1a167c===!0x0?_0x124429:_0x124429+'='+_0x1a167c)[_0x69e188(0x358)](';\x20');}))[_0xb989e1(0x358)](';\x20'))[_0xb989e1(0x358)](',\x20');})[_0xaae6ff(0x358)](',\x20');}return be={'format':_0x464e47,'parse':_0x446a74},be;}var we,Je;function Pe(){const _0x30b2dd=_0x5a38b5;if(Je)return we;Je=0x1;const _0x18c6da=nt,_0x48b187=vt,_0x14e33f=ot,_0x240e72=St,_0x3a1b70=Et,{randomBytes:_0x38ae4f,createHash:_0x414fc3}=Le,{Duplex:_0x4742d5,Readable:_0x4a917e}=oe,{URL:_0xe7f595}=xt,_0x826f5b=he(),_0x2b71ca=lt(),_0x2b3e39=ft(),{isBlob:_0x263afd}=ae(),{BINARY_TYPES:_0x2f6b9f,EMPTY_BUFFER:_0x395855,GUID:_0x510467,kForOnEventAttribute:_0x19306d,kListener:_0x10967,kStatusCode:_0x182472,kWebSocket:_0x375511,NOOP:_0x4d51da}=H(),{EventTarget:{addEventListener:_0x2f91e3,removeEventListener:_0x14f061}}=It(),{format:_0x1dbd59,parse:_0x4322fa}=ct(),{toBuffer:_0x59d8bf}=ce(),_0x5967e2=0x1e*0x3e8,_0x29079e=Symbol('kAborted'),_0x58b459=[0x8,0xd],_0x19c8ea=[_0x30b2dd(0x332),_0x30b2dd(0x383),_0x30b2dd(0x1f3),_0x30b2dd(0x1c3)],_0x458da8=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x21147c extends _0x18c6da{constructor(_0x47f5d0,_0xfec51a,_0x1de9c7){const _0x4cafda=_0x30b2dd;super(),this['_binaryType']=_0x2f6b9f[0x0],this[_0x4cafda(0x1e4)]=0x3ee,this[_0x4cafda(0x34c)]=!0x1,this[_0x4cafda(0x1e2)]=!0x1,this[_0x4cafda(0x2ca)]=_0x395855,this[_0x4cafda(0x292)]=null,this[_0x4cafda(0x37f)]=!0x1,this[_0x4cafda(0x1ee)]={},this[_0x4cafda(0x37c)]=!0x1,this[_0x4cafda(0x2c6)]='',this['_readyState']=_0x21147c[_0x4cafda(0x332)],this[_0x4cafda(0x360)]=null,this[_0x4cafda(0x2e3)]=null,this[_0x4cafda(0x20d)]=null,_0x47f5d0!==null?(this[_0x4cafda(0x2f9)]=0x0,this[_0x4cafda(0x24f)]=!0x1,this['_redirects']=0x0,_0xfec51a===void 0x0?_0xfec51a=[]:Array[_0x4cafda(0x213)](_0xfec51a)||(typeof _0xfec51a==_0x4cafda(0x25c)&&_0xfec51a!==null?(_0x1de9c7=_0xfec51a,_0xfec51a=[]):_0xfec51a=[_0xfec51a]),_0x1f09e8(this,_0x47f5d0,_0xfec51a,_0x1de9c7)):(this[_0x4cafda(0x31a)]=_0x1de9c7[_0x4cafda(0x2d0)],this[_0x4cafda(0x24f)]=!0x0);}get[_0x30b2dd(0x287)](){const _0x1a575c=_0x30b2dd;return this[_0x1a575c(0x36d)];}set[_0x30b2dd(0x287)](_0x4c2b8d){const _0x6a9f92=_0x30b2dd;_0x2f6b9f[_0x6a9f92(0x330)](_0x4c2b8d)&&(this['_binaryType']=_0x4c2b8d,this['_receiver']&&(this[_0x6a9f92(0x360)]['_binaryType']=_0x4c2b8d));}get['bufferedAmount'](){const _0x1e1427=_0x30b2dd;return this[_0x1e1427(0x20d)]?this[_0x1e1427(0x20d)][_0x1e1427(0x268)][_0x1e1427(0x31b)]+this[_0x1e1427(0x2e3)]['_bufferedBytes']:this[_0x1e1427(0x2f9)];}get[_0x30b2dd(0x200)](){const _0xc1be21=_0x30b2dd;return Object[_0xc1be21(0x2f0)](this['_extensions'])['join']();}get['isPaused'](){const _0x486680=_0x30b2dd;return this[_0x486680(0x37c)];}get[_0x30b2dd(0x264)](){return null;}get[_0x30b2dd(0x279)](){return null;}get['onopen'](){return null;}get['onmessage'](){return null;}get[_0x30b2dd(0x206)](){return this['_protocol'];}get[_0x30b2dd(0x367)](){const _0x3f266a=_0x30b2dd;return this[_0x3f266a(0x36a)];}get[_0x30b2dd(0x32e)](){return this['_url'];}[_0x30b2dd(0x30f)](_0x5affdd,_0x514334,_0x97fb36){const _0x36d944=_0x30b2dd,_0x52754e=new _0x2b71ca({'allowSynchronousEvents':_0x97fb36[_0x36d944(0x2d5)],'binaryType':this[_0x36d944(0x287)],'extensions':this['_extensions'],'isServer':this[_0x36d944(0x24f)],'maxPayload':_0x97fb36[_0x36d944(0x345)],'skipUTF8Validation':_0x97fb36['skipUTF8Validation']}),_0xbde5e5=new _0x2b3e39(_0x5affdd,this[_0x36d944(0x1ee)],_0x97fb36[_0x36d944(0x239)]);this['_receiver']=_0x52754e,this[_0x36d944(0x2e3)]=_0xbde5e5,this[_0x36d944(0x20d)]=_0x5affdd,_0x52754e[_0x375511]=this,_0xbde5e5[_0x375511]=this,_0x5affdd[_0x375511]=this,_0x52754e['on'](_0x36d944(0x369),_0x20e8c8),_0x52754e['on'](_0x36d944(0x37e),_0x3ad2f5),_0x52754e['on'](_0x36d944(0x2e1),_0x5e493f),_0x52754e['on'](_0x36d944(0x2df),_0x2e4826),_0x52754e['on']('ping',_0x15e6fe),_0x52754e['on'](_0x36d944(0x22f),_0x45b0d3),_0xbde5e5[_0x36d944(0x279)]=_0x29cc0c,_0x5affdd[_0x36d944(0x384)]&&_0x5affdd['setTimeout'](0x0),_0x5affdd[_0x36d944(0x1d2)]&&_0x5affdd[_0x36d944(0x1d2)](),_0x514334['length']>0x0&&_0x5affdd['unshift'](_0x514334),_0x5affdd['on'](_0x36d944(0x2f5),_0x1b6a79),_0x5affdd['on'](_0x36d944(0x24c),_0x542547),_0x5affdd['on'](_0x36d944(0x260),_0x30097b),_0x5affdd['on']('error',_0xbd1b53),this[_0x36d944(0x36a)]=_0x21147c[_0x36d944(0x383)],this[_0x36d944(0x235)](_0x36d944(0x294));}[_0x30b2dd(0x20e)](){const _0xfd64ac=_0x30b2dd;if(!this['_socket']){this[_0xfd64ac(0x36a)]=_0x21147c[_0xfd64ac(0x1c3)],this[_0xfd64ac(0x235)](_0xfd64ac(0x2f5),this['_closeCode'],this[_0xfd64ac(0x2ca)]);return;}this['_extensions'][_0x826f5b[_0xfd64ac(0x258)]]&&this[_0xfd64ac(0x1ee)][_0x826f5b[_0xfd64ac(0x258)]][_0xfd64ac(0x231)](),this[_0xfd64ac(0x360)][_0xfd64ac(0x33d)](),this[_0xfd64ac(0x36a)]=_0x21147c[_0xfd64ac(0x1c3)],this[_0xfd64ac(0x235)](_0xfd64ac(0x2f5),this[_0xfd64ac(0x1e4)],this[_0xfd64ac(0x2ca)]);}[_0x30b2dd(0x2f5)](_0x5e9a19,_0x2b5eb1){const _0x290d7e=_0x30b2dd;if(this[_0x290d7e(0x367)]!==_0x21147c[_0x290d7e(0x1c3)]){if(this[_0x290d7e(0x367)]===_0x21147c[_0x290d7e(0x332)]){_0x35cd57(this,this[_0x290d7e(0x2c2)],_0x290d7e(0x344));return;}if(this[_0x290d7e(0x367)]===_0x21147c['CLOSING']){this[_0x290d7e(0x1e2)]&&(this[_0x290d7e(0x34c)]||this[_0x290d7e(0x360)][_0x290d7e(0x268)]['errorEmitted'])&&this[_0x290d7e(0x20d)][_0x290d7e(0x260)]();return;}this[_0x290d7e(0x36a)]=_0x21147c['CLOSING'],this[_0x290d7e(0x2e3)][_0x290d7e(0x2f5)](_0x5e9a19,_0x2b5eb1,!this[_0x290d7e(0x24f)],_0x36dd10=>{const _0x3aee8d=_0x290d7e;_0x36dd10||(this['_closeFrameSent']=!0x0,(this[_0x3aee8d(0x34c)]||this[_0x3aee8d(0x360)]['_writableState']['errorEmitted'])&&this[_0x3aee8d(0x20d)]['end']());}),_0x570610(this);}}[_0x30b2dd(0x221)](){const _0x296f42=_0x30b2dd;this[_0x296f42(0x367)]===_0x21147c[_0x296f42(0x332)]||this[_0x296f42(0x367)]===_0x21147c['CLOSED']||(this[_0x296f42(0x37c)]=!0x0,this[_0x296f42(0x20d)][_0x296f42(0x221)]());}['ping'](_0x58d85b,_0x499908,_0x14cfd2){const _0x5c0345=_0x30b2dd;if(this[_0x5c0345(0x367)]===_0x21147c['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x58d85b==_0x5c0345(0x302)?(_0x14cfd2=_0x58d85b,_0x58d85b=_0x499908=void 0x0):typeof _0x499908==_0x5c0345(0x302)&&(_0x14cfd2=_0x499908,_0x499908=void 0x0),typeof _0x58d85b==_0x5c0345(0x2cd)&&(_0x58d85b=_0x58d85b[_0x5c0345(0x327)]()),this['readyState']!==_0x21147c[_0x5c0345(0x383)]){_0x57647e(this,_0x58d85b,_0x14cfd2);return;}_0x499908===void 0x0&&(_0x499908=!this[_0x5c0345(0x24f)]),this['_sender'][_0x5c0345(0x34f)](_0x58d85b||_0x395855,_0x499908,_0x14cfd2);}[_0x30b2dd(0x22f)](_0x1cd2fe,_0x2141ea,_0x1fda76){const _0x4ca464=_0x30b2dd;if(this[_0x4ca464(0x367)]===_0x21147c[_0x4ca464(0x332)])throw new Error(_0x4ca464(0x212));if(typeof _0x1cd2fe=='function'?(_0x1fda76=_0x1cd2fe,_0x1cd2fe=_0x2141ea=void 0x0):typeof _0x2141ea==_0x4ca464(0x302)&&(_0x1fda76=_0x2141ea,_0x2141ea=void 0x0),typeof _0x1cd2fe==_0x4ca464(0x2cd)&&(_0x1cd2fe=_0x1cd2fe['toString']()),this['readyState']!==_0x21147c[_0x4ca464(0x383)]){_0x57647e(this,_0x1cd2fe,_0x1fda76);return;}_0x2141ea===void 0x0&&(_0x2141ea=!this[_0x4ca464(0x24f)]),this['_sender'][_0x4ca464(0x22f)](_0x1cd2fe||_0x395855,_0x2141ea,_0x1fda76);}['resume'](){const _0x3939d8=_0x30b2dd;this[_0x3939d8(0x367)]===_0x21147c[_0x3939d8(0x332)]||this['readyState']===_0x21147c[_0x3939d8(0x1c3)]||(this[_0x3939d8(0x37c)]=!0x1,this[_0x3939d8(0x360)][_0x3939d8(0x268)]['needDrain']||this['_socket'][_0x3939d8(0x26c)]());}[_0x30b2dd(0x308)](_0x5a7448,_0x57f8e3,_0x543e76){const _0x486733=_0x30b2dd;if(this[_0x486733(0x367)]===_0x21147c['CONNECTING'])throw new Error(_0x486733(0x212));if(typeof _0x57f8e3=='function'&&(_0x543e76=_0x57f8e3,_0x57f8e3={}),typeof _0x5a7448=='number'&&(_0x5a7448=_0x5a7448[_0x486733(0x327)]()),this[_0x486733(0x367)]!==_0x21147c[_0x486733(0x383)]){_0x57647e(this,_0x5a7448,_0x543e76);return;}const _0x1b5fc1={'binary':typeof _0x5a7448!='string','mask':!this[_0x486733(0x24f)],'compress':!0x0,'fin':!0x0,..._0x57f8e3};this['_extensions'][_0x826f5b[_0x486733(0x258)]]||(_0x1b5fc1[_0x486733(0x1ea)]=!0x1),this[_0x486733(0x2e3)][_0x486733(0x308)](_0x5a7448||_0x395855,_0x1b5fc1,_0x543e76);}['terminate'](){const _0x5c9c51=_0x30b2dd;if(this[_0x5c9c51(0x367)]!==_0x21147c[_0x5c9c51(0x1c3)]){if(this['readyState']===_0x21147c['CONNECTING']){_0x35cd57(this,this[_0x5c9c51(0x2c2)],_0x5c9c51(0x344));return;}this[_0x5c9c51(0x20d)]&&(this[_0x5c9c51(0x36a)]=_0x21147c[_0x5c9c51(0x1f3)],this['_socket'][_0x5c9c51(0x340)]());}}}Object[_0x30b2dd(0x325)](_0x21147c,_0x30b2dd(0x332),{'enumerable':!0x0,'value':_0x19c8ea[_0x30b2dd(0x353)]('CONNECTING')}),Object[_0x30b2dd(0x325)](_0x21147c[_0x30b2dd(0x284)],'CONNECTING',{'enumerable':!0x0,'value':_0x19c8ea[_0x30b2dd(0x353)](_0x30b2dd(0x332))}),Object[_0x30b2dd(0x325)](_0x21147c,_0x30b2dd(0x383),{'enumerable':!0x0,'value':_0x19c8ea['indexOf']('OPEN')}),Object[_0x30b2dd(0x325)](_0x21147c[_0x30b2dd(0x284)],_0x30b2dd(0x383),{'enumerable':!0x0,'value':_0x19c8ea['indexOf'](_0x30b2dd(0x383))}),Object[_0x30b2dd(0x325)](_0x21147c,_0x30b2dd(0x1f3),{'enumerable':!0x0,'value':_0x19c8ea[_0x30b2dd(0x353)]('CLOSING')}),Object[_0x30b2dd(0x325)](_0x21147c['prototype'],_0x30b2dd(0x1f3),{'enumerable':!0x0,'value':_0x19c8ea[_0x30b2dd(0x353)]('CLOSING')}),Object[_0x30b2dd(0x325)](_0x21147c,_0x30b2dd(0x1c3),{'enumerable':!0x0,'value':_0x19c8ea[_0x30b2dd(0x353)](_0x30b2dd(0x1c3))}),Object[_0x30b2dd(0x325)](_0x21147c[_0x30b2dd(0x284)],_0x30b2dd(0x1c3),{'enumerable':!0x0,'value':_0x19c8ea[_0x30b2dd(0x353)](_0x30b2dd(0x1c3))}),[_0x30b2dd(0x287),_0x30b2dd(0x1e3),_0x30b2dd(0x200),_0x30b2dd(0x36c),_0x30b2dd(0x206),_0x30b2dd(0x367),_0x30b2dd(0x32e)][_0x30b2dd(0x361)](_0x4c8321=>{const _0x386df2=_0x30b2dd;Object[_0x386df2(0x325)](_0x21147c['prototype'],_0x4c8321,{'enumerable':!0x0});}),[_0x30b2dd(0x294),'error','close',_0x30b2dd(0x2df)]['forEach'](_0x4e0c74=>{const _0x4c77ee=_0x30b2dd;Object[_0x4c77ee(0x325)](_0x21147c['prototype'],'on'+_0x4e0c74,{'enumerable':!0x0,'get'(){const _0x338aeb=_0x4c77ee;for(const _0x58951a of this[_0x338aeb(0x1dd)](_0x4e0c74))if(_0x58951a[_0x19306d])return _0x58951a[_0x10967];return null;},'set'(_0x5e23ae){const _0x52a911=_0x4c77ee;for(const _0x4ab599 of this[_0x52a911(0x1dd)](_0x4e0c74))if(_0x4ab599[_0x19306d]){this[_0x52a911(0x35f)](_0x4e0c74,_0x4ab599);break;}typeof _0x5e23ae=='function'&&this[_0x52a911(0x2e7)](_0x4e0c74,_0x5e23ae,{[_0x19306d]:!0x0});}});}),_0x21147c[_0x30b2dd(0x284)]['addEventListener']=_0x2f91e3,_0x21147c[_0x30b2dd(0x284)][_0x30b2dd(0x385)]=_0x14f061,we=_0x21147c;function _0x1f09e8(_0x556166,_0x17d9dd,_0x42b9df,_0x4c5ca5){const _0x4be9de=_0x30b2dd,_0x7585a={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x58b459[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x4c5ca5,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x556166['_autoPong']=_0x7585a[_0x4be9de(0x2d0)],!_0x58b459[_0x4be9de(0x330)](_0x7585a[_0x4be9de(0x355)]))throw new RangeError(_0x4be9de(0x2fa)+_0x7585a[_0x4be9de(0x355)]+_0x4be9de(0x2ef)+_0x58b459[_0x4be9de(0x358)](',\x20')+')');let _0x36dbbe;if(_0x17d9dd instanceof _0xe7f595)_0x36dbbe=_0x17d9dd;else try{_0x36dbbe=new _0xe7f595(_0x17d9dd);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x17d9dd);}_0x36dbbe[_0x4be9de(0x206)]===_0x4be9de(0x243)?_0x36dbbe[_0x4be9de(0x206)]=_0x4be9de(0x1d0):_0x36dbbe['protocol']===_0x4be9de(0x2a5)&&(_0x36dbbe[_0x4be9de(0x206)]=_0x4be9de(0x22b)),_0x556166[_0x4be9de(0x2ae)]=_0x36dbbe['href'];const _0x3da3e7=_0x36dbbe['protocol']===_0x4be9de(0x22b),_0x3b160d=_0x36dbbe['protocol']===_0x4be9de(0x261);let _0x551d2e;if(_0x36dbbe[_0x4be9de(0x206)]!==_0x4be9de(0x1d0)&&!_0x3da3e7&&!_0x3b160d?_0x551d2e=_0x4be9de(0x220):_0x3b160d&&!_0x36dbbe[_0x4be9de(0x33e)]?_0x551d2e=_0x4be9de(0x2f3):_0x36dbbe[_0x4be9de(0x1c6)]&&(_0x551d2e=_0x4be9de(0x311)),_0x551d2e){const _0x5b82ce=new SyntaxError(_0x551d2e);if(_0x556166['_redirects']===0x0)throw _0x5b82ce;_0x5993c6(_0x556166,_0x5b82ce);return;}const _0x29b892=_0x3da3e7?0x1bb:0x50,_0x45910d=_0x38ae4f(0x10)[_0x4be9de(0x327)](_0x4be9de(0x2af)),_0x22d6fc=_0x3da3e7?_0x48b187[_0x4be9de(0x236)]:_0x14e33f['request'],_0x5b717b=new Set();let _0x3353f7;if(_0x7585a[_0x4be9de(0x357)]=_0x7585a[_0x4be9de(0x357)]||(_0x3da3e7?_0x2b52da:_0x264975),_0x7585a[_0x4be9de(0x2a3)]=_0x7585a['defaultPort']||_0x29b892,_0x7585a[_0x4be9de(0x35b)]=_0x36dbbe[_0x4be9de(0x35b)]||_0x29b892,_0x7585a[_0x4be9de(0x2be)]=_0x36dbbe[_0x4be9de(0x205)][_0x4be9de(0x1f9)]('[')?_0x36dbbe[_0x4be9de(0x205)][_0x4be9de(0x2c1)](0x1,-0x1):_0x36dbbe['hostname'],_0x7585a[_0x4be9de(0x34d)]={..._0x7585a[_0x4be9de(0x34d)],'Sec-WebSocket-Version':_0x7585a[_0x4be9de(0x355)],'Sec-WebSocket-Key':_0x45910d,'Connection':_0x4be9de(0x2a6),'Upgrade':_0x4be9de(0x282)},_0x7585a[_0x4be9de(0x350)]=_0x36dbbe[_0x4be9de(0x33e)]+_0x36dbbe[_0x4be9de(0x233)],_0x7585a[_0x4be9de(0x299)]=_0x7585a[_0x4be9de(0x222)],_0x7585a[_0x4be9de(0x390)]&&(_0x3353f7=new _0x826f5b(_0x7585a['perMessageDeflate']!==!0x0?_0x7585a[_0x4be9de(0x390)]:{},!0x1,_0x7585a[_0x4be9de(0x345)]),_0x7585a[_0x4be9de(0x34d)][_0x4be9de(0x240)]=_0x1dbd59({[_0x826f5b[_0x4be9de(0x258)]]:_0x3353f7[_0x4be9de(0x2c4)]()})),_0x42b9df[_0x4be9de(0x31b)]){for(const _0x10aba1 of _0x42b9df){if(typeof _0x10aba1!=_0x4be9de(0x288)||!_0x458da8[_0x4be9de(0x34e)](_0x10aba1)||_0x5b717b[_0x4be9de(0x2aa)](_0x10aba1))throw new SyntaxError(_0x4be9de(0x244));_0x5b717b[_0x4be9de(0x346)](_0x10aba1);}_0x7585a[_0x4be9de(0x34d)][_0x4be9de(0x2d8)]=_0x42b9df[_0x4be9de(0x358)](',');}if(_0x7585a[_0x4be9de(0x27c)]&&(_0x7585a[_0x4be9de(0x355)]<0xd?_0x7585a[_0x4be9de(0x34d)][_0x4be9de(0x2f8)]=_0x7585a['origin']:_0x7585a[_0x4be9de(0x34d)]['Origin']=_0x7585a['origin']),(_0x36dbbe[_0x4be9de(0x27b)]||_0x36dbbe[_0x4be9de(0x2b9)])&&(_0x7585a[_0x4be9de(0x365)]=_0x36dbbe[_0x4be9de(0x27b)]+':'+_0x36dbbe['password']),_0x3b160d){const _0x1eab24=_0x7585a[_0x4be9de(0x350)]['split'](':');_0x7585a[_0x4be9de(0x38b)]=_0x1eab24[0x0],_0x7585a[_0x4be9de(0x350)]=_0x1eab24[0x1];}let _0x57c03c;if(_0x7585a['followRedirects']){if(_0x556166['_redirects']===0x0){_0x556166[_0x4be9de(0x362)]=_0x3b160d,_0x556166[_0x4be9de(0x341)]=_0x3da3e7,_0x556166[_0x4be9de(0x272)]=_0x3b160d?_0x7585a[_0x4be9de(0x38b)]:_0x36dbbe[_0x4be9de(0x2be)];const _0x523889=_0x4c5ca5&&_0x4c5ca5[_0x4be9de(0x34d)];if(_0x4c5ca5={..._0x4c5ca5,'headers':{}},_0x523889){for(const [_0x1be345,_0x469b38]of Object[_0x4be9de(0x356)](_0x523889))_0x4c5ca5[_0x4be9de(0x34d)][_0x1be345['toLowerCase']()]=_0x469b38;}}else{if(_0x556166['listenerCount'](_0x4be9de(0x289))===0x0){const _0x207f59=_0x3b160d?_0x556166[_0x4be9de(0x362)]?_0x7585a[_0x4be9de(0x38b)]===_0x556166['_originalHostOrSocketPath']:!0x1:_0x556166[_0x4be9de(0x362)]?!0x1:_0x36dbbe[_0x4be9de(0x2be)]===_0x556166['_originalHostOrSocketPath'];(!_0x207f59||_0x556166[_0x4be9de(0x341)]&&!_0x3da3e7)&&(delete _0x7585a[_0x4be9de(0x34d)][_0x4be9de(0x20c)],delete _0x7585a[_0x4be9de(0x34d)][_0x4be9de(0x1c8)],_0x207f59||delete _0x7585a['headers'][_0x4be9de(0x2be)],_0x7585a[_0x4be9de(0x365)]=void 0x0);}}_0x7585a[_0x4be9de(0x365)]&&!_0x4c5ca5[_0x4be9de(0x34d)][_0x4be9de(0x20c)]&&(_0x4c5ca5[_0x4be9de(0x34d)][_0x4be9de(0x20c)]=_0x4be9de(0x26e)+Buffer['from'](_0x7585a[_0x4be9de(0x365)])['toString']('base64')),_0x57c03c=_0x556166[_0x4be9de(0x2c2)]=_0x22d6fc(_0x7585a),_0x556166['_redirects']&&_0x556166[_0x4be9de(0x235)](_0x4be9de(0x289),_0x556166[_0x4be9de(0x32e)],_0x57c03c);}else _0x57c03c=_0x556166[_0x4be9de(0x2c2)]=_0x22d6fc(_0x7585a);_0x7585a[_0x4be9de(0x299)]&&_0x57c03c['on'](_0x4be9de(0x299),()=>{const _0x13c22e=_0x4be9de;_0x35cd57(_0x556166,_0x57c03c,_0x13c22e(0x388));}),_0x57c03c['on']('error',_0x35e491=>{const _0x13b43b=_0x4be9de;_0x57c03c===null||_0x57c03c[_0x29079e]||(_0x57c03c=_0x556166[_0x13b43b(0x2c2)]=null,_0x5993c6(_0x556166,_0x35e491));}),_0x57c03c['on'](_0x4be9de(0x28f),_0xadd487=>{const _0x1f55e2=_0x4be9de,_0x6a9c42=_0xadd487[_0x1f55e2(0x34d)][_0x1f55e2(0x28e)],_0x4f906e=_0xadd487[_0x1f55e2(0x333)];if(_0x6a9c42&&_0x7585a[_0x1f55e2(0x2ba)]&&_0x4f906e>=0x12c&&_0x4f906e<0x190){if(++_0x556166[_0x1f55e2(0x35a)]>_0x7585a[_0x1f55e2(0x37d)]){_0x35cd57(_0x556166,_0x57c03c,_0x1f55e2(0x2db));return;}_0x57c03c['abort']();let _0x22f481;try{_0x22f481=new _0xe7f595(_0x6a9c42,_0x17d9dd);}catch{const _0x38d492=new SyntaxError(_0x1f55e2(0x2bd)+_0x6a9c42);_0x5993c6(_0x556166,_0x38d492);return;}_0x1f09e8(_0x556166,_0x22f481,_0x42b9df,_0x4c5ca5);}else _0x556166[_0x1f55e2(0x235)]('unexpected-response',_0x57c03c,_0xadd487)||_0x35cd57(_0x556166,_0x57c03c,'Unexpected\x20server\x20response:\x20'+_0xadd487['statusCode']);}),_0x57c03c['on'](_0x4be9de(0x2b8),(_0x37c1de,_0xe2648b,_0x482b40)=>{const _0x2344c4=_0x4be9de;if(_0x556166[_0x2344c4(0x235)](_0x2344c4(0x2b8),_0x37c1de),_0x556166[_0x2344c4(0x367)]!==_0x21147c[_0x2344c4(0x332)])return;_0x57c03c=_0x556166['_req']=null;const _0x5b9568=_0x37c1de[_0x2344c4(0x34d)][_0x2344c4(0x2b8)];if(_0x5b9568===void 0x0||_0x5b9568[_0x2344c4(0x218)]()!=='websocket'){_0x35cd57(_0x556166,_0xe2648b,_0x2344c4(0x1c4));return;}const _0x2e2f45=_0x414fc3('sha1')[_0x2344c4(0x26f)](_0x45910d+_0x510467)[_0x2344c4(0x267)](_0x2344c4(0x2af));if(_0x37c1de[_0x2344c4(0x34d)][_0x2344c4(0x23c)]!==_0x2e2f45){_0x35cd57(_0x556166,_0xe2648b,_0x2344c4(0x224));return;}const _0x14f0b1=_0x37c1de[_0x2344c4(0x34d)]['sec-websocket-protocol'];let _0x35666b;if(_0x14f0b1!==void 0x0?_0x5b717b[_0x2344c4(0x234)]?_0x5b717b[_0x2344c4(0x2aa)](_0x14f0b1)||(_0x35666b=_0x2344c4(0x2d2)):_0x35666b=_0x2344c4(0x29f):_0x5b717b[_0x2344c4(0x234)]&&(_0x35666b=_0x2344c4(0x22a)),_0x35666b){_0x35cd57(_0x556166,_0xe2648b,_0x35666b);return;}_0x14f0b1&&(_0x556166[_0x2344c4(0x2c6)]=_0x14f0b1);const _0x4e8552=_0x37c1de['headers'][_0x2344c4(0x227)];if(_0x4e8552!==void 0x0){if(!_0x3353f7){_0x35cd57(_0x556166,_0xe2648b,_0x2344c4(0x306));return;}let _0x7b9918;try{_0x7b9918=_0x4322fa(_0x4e8552);}catch{_0x35cd57(_0x556166,_0xe2648b,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x154738=Object[_0x2344c4(0x2f0)](_0x7b9918);if(_0x154738[_0x2344c4(0x31b)]!==0x1||_0x154738[0x0]!==_0x826f5b[_0x2344c4(0x258)]){_0x35cd57(_0x556166,_0xe2648b,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x3353f7[_0x2344c4(0x28c)](_0x7b9918[_0x826f5b[_0x2344c4(0x258)]]);}catch{_0x35cd57(_0x556166,_0xe2648b,_0x2344c4(0x2e8));return;}_0x556166[_0x2344c4(0x1ee)][_0x826f5b[_0x2344c4(0x258)]]=_0x3353f7;}_0x556166[_0x2344c4(0x30f)](_0xe2648b,_0x482b40,{'allowSynchronousEvents':_0x7585a[_0x2344c4(0x2d5)],'generateMask':_0x7585a['generateMask'],'maxPayload':_0x7585a[_0x2344c4(0x345)],'skipUTF8Validation':_0x7585a[_0x2344c4(0x2cb)]});}),_0x7585a[_0x4be9de(0x215)]?_0x7585a[_0x4be9de(0x215)](_0x57c03c,_0x556166):_0x57c03c[_0x4be9de(0x260)]();}function _0x5993c6(_0x2078c9,_0x5853c7){const _0x3218bf=_0x30b2dd;_0x2078c9['_readyState']=_0x21147c[_0x3218bf(0x1f3)],_0x2078c9[_0x3218bf(0x37f)]=!0x0,_0x2078c9[_0x3218bf(0x235)]('error',_0x5853c7),_0x2078c9['emitClose']();}function _0x264975(_0x42c5d1){const _0x2981b0=_0x30b2dd;return _0x42c5d1['path']=_0x42c5d1[_0x2981b0(0x38b)],_0x240e72[_0x2981b0(0x2fb)](_0x42c5d1);}function _0x2b52da(_0x21d38e){const _0x3128e8=_0x30b2dd;return _0x21d38e[_0x3128e8(0x350)]=void 0x0,!_0x21d38e[_0x3128e8(0x1fb)]&&_0x21d38e[_0x3128e8(0x1fb)]!==''&&(_0x21d38e[_0x3128e8(0x1fb)]=_0x240e72[_0x3128e8(0x2fc)](_0x21d38e['host'])?'':_0x21d38e[_0x3128e8(0x2be)]),_0x3a1b70[_0x3128e8(0x2fb)](_0x21d38e);}function _0x35cd57(_0x29ba07,_0x7e4e9b,_0xd6b3d){const _0x126739=_0x30b2dd;_0x29ba07['_readyState']=_0x21147c[_0x126739(0x1f3)];const _0x68e498=new Error(_0xd6b3d);Error[_0x126739(0x1fd)](_0x68e498,_0x35cd57),_0x7e4e9b['setHeader']?(_0x7e4e9b[_0x29079e]=!0x0,_0x7e4e9b[_0x126739(0x283)](),_0x7e4e9b[_0x126739(0x293)]&&!_0x7e4e9b[_0x126739(0x293)]['destroyed']&&_0x7e4e9b[_0x126739(0x293)][_0x126739(0x340)](),process['nextTick'](_0x5993c6,_0x29ba07,_0x68e498)):(_0x7e4e9b['destroy'](_0x68e498),_0x7e4e9b[_0x126739(0x2d4)](_0x126739(0x2e1),_0x29ba07['emit'][_0x126739(0x36b)](_0x29ba07,'error')),_0x7e4e9b[_0x126739(0x2d4)](_0x126739(0x2f5),_0x29ba07[_0x126739(0x20e)]['bind'](_0x29ba07)));}function _0x57647e(_0x3694d2,_0x3242de,_0x3de42e){const _0x8f8899=_0x30b2dd;if(_0x3242de){const _0x2dcbe0=_0x263afd(_0x3242de)?_0x3242de['size']:_0x59d8bf(_0x3242de)['length'];_0x3694d2[_0x8f8899(0x20d)]?_0x3694d2[_0x8f8899(0x2e3)][_0x8f8899(0x217)]+=_0x2dcbe0:_0x3694d2[_0x8f8899(0x2f9)]+=_0x2dcbe0;}if(_0x3de42e){const _0x5dcb6e=new Error(_0x8f8899(0x2e5)+_0x3694d2['readyState']+'\x20('+_0x19c8ea[_0x3694d2[_0x8f8899(0x367)]]+')');process[_0x8f8899(0x328)](_0x3de42e,_0x5dcb6e);}}function _0x20e8c8(_0x2c9386,_0x35588d){const _0x478bae=_0x30b2dd,_0x3924c9=this[_0x375511];_0x3924c9[_0x478bae(0x34c)]=!0x0,_0x3924c9['_closeMessage']=_0x35588d,_0x3924c9[_0x478bae(0x1e4)]=_0x2c9386,_0x3924c9[_0x478bae(0x20d)][_0x375511]!==void 0x0&&(_0x3924c9[_0x478bae(0x20d)][_0x478bae(0x35f)]('data',_0x542547),process[_0x478bae(0x328)](_0xad8ea7,_0x3924c9[_0x478bae(0x20d)]),_0x2c9386===0x3ed?_0x3924c9[_0x478bae(0x2f5)]():_0x3924c9[_0x478bae(0x2f5)](_0x2c9386,_0x35588d));}function _0x3ad2f5(){const _0x1afd53=_0x30b2dd,_0x59ae87=this[_0x375511];_0x59ae87['isPaused']||_0x59ae87[_0x1afd53(0x20d)][_0x1afd53(0x26c)]();}function _0x5e493f(_0x6e98fc){const _0x51f1ce=_0x30b2dd,_0xf44796=this[_0x375511];_0xf44796[_0x51f1ce(0x20d)][_0x375511]!==void 0x0&&(_0xf44796['_socket'][_0x51f1ce(0x35f)](_0x51f1ce(0x24c),_0x542547),process[_0x51f1ce(0x328)](_0xad8ea7,_0xf44796[_0x51f1ce(0x20d)]),_0xf44796[_0x51f1ce(0x2f5)](_0x6e98fc[_0x182472])),_0xf44796[_0x51f1ce(0x37f)]||(_0xf44796[_0x51f1ce(0x37f)]=!0x0,_0xf44796[_0x51f1ce(0x235)](_0x51f1ce(0x2e1),_0x6e98fc));}function _0xb911af(){const _0xf7b689=_0x30b2dd;this[_0x375511][_0xf7b689(0x20e)]();}function _0x2e4826(_0xd5d341,_0x3132b9){const _0x46128c=_0x30b2dd;this[_0x375511][_0x46128c(0x235)](_0x46128c(0x2df),_0xd5d341,_0x3132b9);}function _0x15e6fe(_0x1e0c73){const _0x294732=_0x30b2dd,_0x273bf2=this[_0x375511];_0x273bf2['_autoPong']&&_0x273bf2[_0x294732(0x22f)](_0x1e0c73,!this[_0x294732(0x24f)],_0x4d51da),_0x273bf2[_0x294732(0x235)]('ping',_0x1e0c73);}function _0x45b0d3(_0x41958f){const _0x4bc831=_0x30b2dd;this[_0x375511][_0x4bc831(0x235)](_0x4bc831(0x22f),_0x41958f);}function _0xad8ea7(_0x1e365e){_0x1e365e['resume']();}function _0x29cc0c(_0x12a49d){const _0x16f481=_0x30b2dd,_0xb397a7=this[_0x375511];_0xb397a7[_0x16f481(0x367)]!==_0x21147c[_0x16f481(0x1c3)]&&(_0xb397a7[_0x16f481(0x367)]===_0x21147c['OPEN']&&(_0xb397a7[_0x16f481(0x36a)]=_0x21147c['CLOSING'],_0x570610(_0xb397a7)),this['_socket']['end'](),_0xb397a7[_0x16f481(0x37f)]||(_0xb397a7['_errorEmitted']=!0x0,_0xb397a7[_0x16f481(0x235)](_0x16f481(0x2e1),_0x12a49d)));}function _0x570610(_0x664fc9){const _0x3c1a23=_0x30b2dd;_0x664fc9[_0x3c1a23(0x292)]=setTimeout(_0x664fc9[_0x3c1a23(0x20d)]['destroy'][_0x3c1a23(0x36b)](_0x664fc9['_socket']),_0x5967e2);}function _0x1b6a79(){const _0x8ef3bd=_0x30b2dd,_0xe0d4c0=this[_0x375511];this[_0x8ef3bd(0x35f)](_0x8ef3bd(0x2f5),_0x1b6a79),this[_0x8ef3bd(0x35f)](_0x8ef3bd(0x24c),_0x542547),this[_0x8ef3bd(0x35f)]('end',_0x30097b),_0xe0d4c0['_readyState']=_0x21147c['CLOSING'];let _0x5daa51;!this['_readableState'][_0x8ef3bd(0x1c7)]&&!_0xe0d4c0[_0x8ef3bd(0x34c)]&&!_0xe0d4c0['_receiver'][_0x8ef3bd(0x268)][_0x8ef3bd(0x1ce)]&&(_0x5daa51=_0xe0d4c0[_0x8ef3bd(0x20d)][_0x8ef3bd(0x35d)]())!==null&&_0xe0d4c0[_0x8ef3bd(0x360)][_0x8ef3bd(0x20f)](_0x5daa51),_0xe0d4c0['_receiver'][_0x8ef3bd(0x260)](),this[_0x375511]=void 0x0,clearTimeout(_0xe0d4c0[_0x8ef3bd(0x292)]),_0xe0d4c0[_0x8ef3bd(0x360)][_0x8ef3bd(0x268)][_0x8ef3bd(0x2f1)]||_0xe0d4c0['_receiver']['_writableState'][_0x8ef3bd(0x1ce)]?_0xe0d4c0[_0x8ef3bd(0x20e)]():(_0xe0d4c0[_0x8ef3bd(0x360)]['on'](_0x8ef3bd(0x2e1),_0xb911af),_0xe0d4c0[_0x8ef3bd(0x360)]['on']('finish',_0xb911af));}function _0x542547(_0x384368){this[_0x375511]['_receiver']['write'](_0x384368)||this['pause']();}function _0x30097b(){const _0x1bfefe=_0x30b2dd,_0x246d15=this[_0x375511];_0x246d15['_readyState']=_0x21147c[_0x1bfefe(0x1f3)],_0x246d15['_receiver'][_0x1bfefe(0x260)](),this[_0x1bfefe(0x260)]();}function _0xbd1b53(){const _0x144f60=_0x30b2dd,_0x472c57=this[_0x375511];this[_0x144f60(0x35f)]('error',_0xbd1b53),this['on'](_0x144f60(0x2e1),_0x4d51da),_0x472c57&&(_0x472c57[_0x144f60(0x36a)]=_0x21147c['CLOSING'],this[_0x144f60(0x340)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x56c850}=oe;function _0x4ab629(_0x231b44){const _0x837c4a=_0x2133;_0x231b44['emit'](_0x837c4a(0x2f5));}function _0x5b7aed(){const _0x23c32a=_0x2133;!this[_0x23c32a(0x386)]&&this['_writableState'][_0x23c32a(0x2f1)]&&this[_0x23c32a(0x340)]();}function _0x2ee696(_0x5ec289){const _0x1dc2d4=_0x2133;this[_0x1dc2d4(0x35f)](_0x1dc2d4(0x2e1),_0x2ee696),this[_0x1dc2d4(0x340)](),this[_0x1dc2d4(0x2da)](_0x1dc2d4(0x2e1))===0x0&&this[_0x1dc2d4(0x235)](_0x1dc2d4(0x2e1),_0x5ec289);}function _0x616aff(_0x28bae8,_0x1fd8ab){const _0x143cd0=_0x2133;let _0x35226e=!0x0;const _0x3bc46e=new _0x56c850({..._0x1fd8ab,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x28bae8['on'](_0x143cd0(0x2df),function(_0x295a65,_0x1d9160){const _0x3f5fc5=_0x143cd0,_0x40c993=!_0x1d9160&&_0x3bc46e[_0x3f5fc5(0x33a)]['objectMode']?_0x295a65['toString']():_0x295a65;_0x3bc46e['push'](_0x40c993)||_0x28bae8[_0x3f5fc5(0x221)]();}),_0x28bae8[_0x143cd0(0x2d4)]('error',function(_0x176a87){const _0x567d4c=_0x143cd0;_0x3bc46e['destroyed']||(_0x35226e=!0x1,_0x3bc46e[_0x567d4c(0x340)](_0x176a87));}),_0x28bae8[_0x143cd0(0x2d4)](_0x143cd0(0x2f5),function(){_0x3bc46e['destroyed']||_0x3bc46e['push'](null);}),_0x3bc46e[_0x143cd0(0x277)]=function(_0x49f69e,_0x1ff505){const _0x2c356e=_0x143cd0;if(_0x28bae8['readyState']===_0x28bae8['CLOSED']){_0x1ff505(_0x49f69e),process[_0x2c356e(0x328)](_0x4ab629,_0x3bc46e);return;}let _0x304d7d=!0x1;_0x28bae8[_0x2c356e(0x2d4)](_0x2c356e(0x2e1),function(_0x15f4f9){_0x304d7d=!0x0,_0x1ff505(_0x15f4f9);}),_0x28bae8[_0x2c356e(0x2d4)](_0x2c356e(0x2f5),function(){const _0x217f21=_0x2c356e;_0x304d7d||_0x1ff505(_0x49f69e),process[_0x217f21(0x328)](_0x4ab629,_0x3bc46e);}),_0x35226e&&_0x28bae8[_0x2c356e(0x29c)]();},_0x3bc46e[_0x143cd0(0x269)]=function(_0xd6830f){const _0x232272=_0x143cd0;if(_0x28bae8['readyState']===_0x28bae8[_0x232272(0x332)]){_0x28bae8[_0x232272(0x2d4)]('open',function(){const _0x19ab57=_0x232272;_0x3bc46e[_0x19ab57(0x269)](_0xd6830f);});return;}_0x28bae8[_0x232272(0x20d)]!==null&&(_0x28bae8[_0x232272(0x20d)]['_writableState']['finished']?(_0xd6830f(),_0x3bc46e[_0x232272(0x33a)][_0x232272(0x1c7)]&&_0x3bc46e[_0x232272(0x340)]()):(_0x28bae8[_0x232272(0x20d)]['once'](_0x232272(0x1f8),function(){_0xd6830f();}),_0x28bae8[_0x232272(0x2f5)]()));},_0x3bc46e['_read']=function(){const _0x44d7c1=_0x143cd0;_0x28bae8['isPaused']&&_0x28bae8[_0x44d7c1(0x26c)]();},_0x3bc46e['_write']=function(_0x56ee97,_0x509549,_0x57f3fd){const _0x28ced2=_0x143cd0;if(_0x28bae8[_0x28ced2(0x367)]===_0x28bae8[_0x28ced2(0x332)]){_0x28bae8['once'](_0x28ced2(0x294),function(){const _0x112fdc=_0x28ced2;_0x3bc46e[_0x112fdc(0x1ec)](_0x56ee97,_0x509549,_0x57f3fd);});return;}_0x28bae8['send'](_0x56ee97,_0x57f3fd);},_0x3bc46e['on'](_0x143cd0(0x260),_0x5b7aed),_0x3bc46e['on'](_0x143cd0(0x2e1),_0x2ee696),_0x3bc46e;}return Oe=_0x616aff,Oe;}Ut(),lt(),ft();var Mt=Pe();function _0x2133(_0x34afca,_0x1f2c10){const _0x5c7b9e=_0x5c7b();return _0x2133=function(_0x21332e,_0x39d782){_0x21332e=_0x21332e-0x1c1;let _0x5162fb=_0x5c7b9e[_0x21332e];return _0x5162fb;},_0x2133(_0x34afca,_0x1f2c10);}const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x5c0a20}=ae();function _0x2c7b04(_0x3d0957){const _0x4795b1=_0x2133,_0x559146=new Set();let _0x1ac4d5=-0x1,_0x3def50=-0x1,_0x618a1f=0x0;for(_0x618a1f;_0x618a1f<_0x3d0957[_0x4795b1(0x31b)];_0x618a1f++){const _0x6e1480=_0x3d0957[_0x4795b1(0x1cc)](_0x618a1f);if(_0x3def50===-0x1&&_0x5c0a20[_0x6e1480]===0x1)_0x1ac4d5===-0x1&&(_0x1ac4d5=_0x618a1f);else{if(_0x618a1f!==0x0&&(_0x6e1480===0x20||_0x6e1480===0x9))_0x3def50===-0x1&&_0x1ac4d5!==-0x1&&(_0x3def50=_0x618a1f);else{if(_0x6e1480===0x2c){if(_0x1ac4d5===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x618a1f);_0x3def50===-0x1&&(_0x3def50=_0x618a1f);const _0x40d901=_0x3d0957[_0x4795b1(0x2c1)](_0x1ac4d5,_0x3def50);if(_0x559146[_0x4795b1(0x2aa)](_0x40d901))throw new SyntaxError('The\x20\x22'+_0x40d901+_0x4795b1(0x23a));_0x559146['add'](_0x40d901),_0x1ac4d5=_0x3def50=-0x1;}else throw new SyntaxError(_0x4795b1(0x295)+_0x618a1f);}}}if(_0x1ac4d5===-0x1||_0x3def50!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x2766ad=_0x3d0957[_0x4795b1(0x2c1)](_0x1ac4d5,_0x618a1f);if(_0x559146[_0x4795b1(0x2aa)](_0x2766ad))throw new SyntaxError(_0x4795b1(0x209)+_0x2766ad+_0x4795b1(0x23a));return _0x559146['add'](_0x2766ad),_0x559146;}return Ce={'parse':_0x2c7b04},Ce;}var Te,rt;function Ft(){const _0x4ed0e4=_0x5a38b5;if(rt)return Te;rt=0x1;const _0x378170=nt,_0x10f297=ot,{Duplex:_0x33e703}=oe,{createHash:_0x2ca358}=Le,_0x9b280f=ct(),_0x68969c=he(),_0xc65f94=At(),_0x2e5df5=Pe(),{GUID:_0x4b86f4,kWebSocket:_0x599e5a}=H(),_0x51cf19=/^[+/0-9A-Za-z]{22}==$/,_0x2185a1=0x0,_0x483cca=0x1,_0x3baf2a=0x2;class _0x535680 extends _0x378170{constructor(_0x2eb7f4,_0x4a0a54){const _0x39c820=_0x2133;if(super(),_0x2eb7f4={'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':_0x2e5df5,..._0x2eb7f4},_0x2eb7f4[_0x39c820(0x35b)]==null&&!_0x2eb7f4[_0x39c820(0x36e)]&&!_0x2eb7f4['noServer']||_0x2eb7f4[_0x39c820(0x35b)]!=null&&(_0x2eb7f4[_0x39c820(0x36e)]||_0x2eb7f4[_0x39c820(0x301)])||_0x2eb7f4[_0x39c820(0x36e)]&&_0x2eb7f4[_0x39c820(0x301)])throw new TypeError(_0x39c820(0x230));if(_0x2eb7f4['port']!=null?(this[_0x39c820(0x1d4)]=_0x10f297[_0x39c820(0x320)]((_0x13928b,_0xa27322)=>{const _0x2a0a93=_0x39c820,_0x427afd=_0x10f297[_0x2a0a93(0x326)][0x1aa];_0xa27322[_0x2a0a93(0x2b0)](0x1aa,{'Content-Length':_0x427afd[_0x2a0a93(0x31b)],'Content-Type':_0x2a0a93(0x38a)}),_0xa27322[_0x2a0a93(0x260)](_0x427afd);}),this['_server'][_0x39c820(0x37b)](_0x2eb7f4[_0x39c820(0x35b)],_0x2eb7f4[_0x39c820(0x2be)],_0x2eb7f4[_0x39c820(0x38f)],_0x4a0a54)):_0x2eb7f4[_0x39c820(0x36e)]&&(this[_0x39c820(0x1d4)]=_0x2eb7f4[_0x39c820(0x36e)]),this[_0x39c820(0x1d4)]){const _0x3065d1=this[_0x39c820(0x235)][_0x39c820(0x36b)](this,_0x39c820(0x2d3));this[_0x39c820(0x2ac)]=_0x2ddfc3(this[_0x39c820(0x1d4)],{'listening':this[_0x39c820(0x235)][_0x39c820(0x36b)](this,_0x39c820(0x314)),'error':this[_0x39c820(0x235)][_0x39c820(0x36b)](this,'error'),'upgrade':(_0x24191f,_0x4248be,_0xe93a1c)=>{const _0xa0840=_0x39c820;this[_0xa0840(0x375)](_0x24191f,_0x4248be,_0xe93a1c,_0x3065d1);}});}_0x2eb7f4['perMessageDeflate']===!0x0&&(_0x2eb7f4[_0x39c820(0x390)]={}),_0x2eb7f4[_0x39c820(0x259)]&&(this[_0x39c820(0x2a7)]=new Set(),this[_0x39c820(0x241)]=!0x1),this['options']=_0x2eb7f4,this[_0x39c820(0x1f1)]=_0x2185a1;}[_0x4ed0e4(0x374)](){const _0x38b450=_0x4ed0e4;if(this[_0x38b450(0x253)][_0x38b450(0x301)])throw new Error(_0x38b450(0x2eb));return this[_0x38b450(0x1d4)]?this[_0x38b450(0x1d4)][_0x38b450(0x374)]():null;}['close'](_0x1be4b4){const _0x3a14bc=_0x4ed0e4;if(this[_0x3a14bc(0x1f1)]===_0x3baf2a){_0x1be4b4&&this['once'](_0x3a14bc(0x2f5),()=>{const _0x3895b5=_0x3a14bc;_0x1be4b4(new Error(_0x3895b5(0x2e9)));}),process['nextTick'](_0x51cd9a,this);return;}if(_0x1be4b4&&this['once'](_0x3a14bc(0x2f5),_0x1be4b4),this['_state']!==_0x483cca){if(this[_0x3a14bc(0x1f1)]=_0x483cca,this[_0x3a14bc(0x253)][_0x3a14bc(0x301)]||this['options'][_0x3a14bc(0x36e)])this[_0x3a14bc(0x1d4)]&&(this[_0x3a14bc(0x2ac)](),this[_0x3a14bc(0x2ac)]=this['_server']=null),this[_0x3a14bc(0x2a7)]?this[_0x3a14bc(0x2a7)][_0x3a14bc(0x234)]?this[_0x3a14bc(0x241)]=!0x0:process['nextTick'](_0x51cd9a,this):process[_0x3a14bc(0x328)](_0x51cd9a,this);else{const _0x3679f2=this['_server'];this[_0x3a14bc(0x2ac)](),this['_removeListeners']=this[_0x3a14bc(0x1d4)]=null,_0x3679f2[_0x3a14bc(0x2f5)](()=>{_0x51cd9a(this);});}}}[_0x4ed0e4(0x1f7)](_0x3dcb33){const _0x165182=_0x4ed0e4;if(this[_0x165182(0x253)][_0x165182(0x350)]){const _0x391ce4=_0x3dcb33[_0x165182(0x32e)][_0x165182(0x353)]('?');if((_0x391ce4!==-0x1?_0x3dcb33[_0x165182(0x32e)][_0x165182(0x2c1)](0x0,_0x391ce4):_0x3dcb33['url'])!==this[_0x165182(0x253)][_0x165182(0x350)])return!0x1;}return!0x0;}['handleUpgrade'](_0x5431f4,_0x673e50,_0x174469,_0x25c1ee){const _0x5cd33a=_0x4ed0e4;_0x673e50['on'](_0x5cd33a(0x2e1),_0x423c23);const _0x1cd053=_0x5431f4['headers'][_0x5cd33a(0x347)],_0x36c4c6=_0x5431f4[_0x5cd33a(0x34d)][_0x5cd33a(0x2b8)],_0xdfbcfc=+_0x5431f4[_0x5cd33a(0x34d)][_0x5cd33a(0x307)];if(_0x5431f4[_0x5cd33a(0x254)]!=='GET'){_0x1998f5(this,_0x5431f4,_0x673e50,0x195,_0x5cd33a(0x26d));return;}if(_0x36c4c6===void 0x0||_0x36c4c6['toLowerCase']()!==_0x5cd33a(0x282)){_0x1998f5(this,_0x5431f4,_0x673e50,0x190,_0x5cd33a(0x1c4));return;}if(_0x1cd053===void 0x0||!_0x51cf19[_0x5cd33a(0x34e)](_0x1cd053)){_0x1998f5(this,_0x5431f4,_0x673e50,0x190,_0x5cd33a(0x377));return;}if(_0xdfbcfc!==0x8&&_0xdfbcfc!==0xd){_0x1998f5(this,_0x5431f4,_0x673e50,0x190,_0x5cd33a(0x352));return;}if(!this[_0x5cd33a(0x1f7)](_0x5431f4)){_0x35408d(_0x673e50,0x190);return;}const _0x51b94e=_0x5431f4[_0x5cd33a(0x34d)][_0x5cd33a(0x30d)];let _0x2a8de9=new Set();if(_0x51b94e!==void 0x0)try{_0x2a8de9=_0xc65f94['parse'](_0x51b94e);}catch{_0x1998f5(this,_0x5431f4,_0x673e50,0x190,_0x5cd33a(0x317));return;}const _0x368a80=_0x5431f4[_0x5cd33a(0x34d)][_0x5cd33a(0x227)],_0x5bcd0e={};if(this['options']['perMessageDeflate']&&_0x368a80!==void 0x0){const _0x2a3f40=new _0x68969c(this[_0x5cd33a(0x253)][_0x5cd33a(0x390)],!0x0,this[_0x5cd33a(0x253)][_0x5cd33a(0x345)]);try{const _0x783b1a=_0x9b280f[_0x5cd33a(0x32b)](_0x368a80);_0x783b1a[_0x68969c[_0x5cd33a(0x258)]]&&(_0x2a3f40[_0x5cd33a(0x28c)](_0x783b1a[_0x68969c[_0x5cd33a(0x258)]]),_0x5bcd0e[_0x68969c[_0x5cd33a(0x258)]]=_0x2a3f40);}catch{_0x1998f5(this,_0x5431f4,_0x673e50,0x190,_0x5cd33a(0x223));return;}}if(this[_0x5cd33a(0x253)][_0x5cd33a(0x2a2)]){const _0x1737d2={'origin':_0x5431f4[_0x5cd33a(0x34d)][''+(_0xdfbcfc===0x8?'sec-websocket-origin':_0x5cd33a(0x27c))],'secure':!!(_0x5431f4[_0x5cd33a(0x293)][_0x5cd33a(0x249)]||_0x5431f4[_0x5cd33a(0x293)][_0x5cd33a(0x1f0)]),'req':_0x5431f4};if(this[_0x5cd33a(0x253)][_0x5cd33a(0x2a2)][_0x5cd33a(0x31b)]===0x2){this[_0x5cd33a(0x253)][_0x5cd33a(0x2a2)](_0x1737d2,(_0x327778,_0x1c6284,_0x315942,_0x26ca65)=>{const _0x241fb3=_0x5cd33a;if(!_0x327778)return _0x35408d(_0x673e50,_0x1c6284||0x191,_0x315942,_0x26ca65);this[_0x241fb3(0x38e)](_0x5bcd0e,_0x1cd053,_0x2a8de9,_0x5431f4,_0x673e50,_0x174469,_0x25c1ee);});return;}if(!this[_0x5cd33a(0x253)][_0x5cd33a(0x2a2)](_0x1737d2))return _0x35408d(_0x673e50,0x191);}this[_0x5cd33a(0x38e)](_0x5bcd0e,_0x1cd053,_0x2a8de9,_0x5431f4,_0x673e50,_0x174469,_0x25c1ee);}['completeUpgrade'](_0x1d224c,_0x299a74,_0x3d1756,_0xf19f9d,_0x2c5cfd,_0x1fa0d7,_0x4ac1ca){const _0x51b203=_0x4ed0e4;if(!_0x2c5cfd[_0x51b203(0x21c)]||!_0x2c5cfd[_0x51b203(0x1f4)])return _0x2c5cfd[_0x51b203(0x340)]();if(_0x2c5cfd[_0x599e5a])throw new Error(_0x51b203(0x25f));if(this[_0x51b203(0x1f1)]>_0x2185a1)return _0x35408d(_0x2c5cfd,0x1f7);const _0xd04a8=[_0x51b203(0x24d),'Upgrade:\x20websocket','Connection:\x20Upgrade',_0x51b203(0x280)+_0x2ca358('sha1')[_0x51b203(0x26f)](_0x299a74+_0x4b86f4)['digest'](_0x51b203(0x2af))],_0x43793d=new this[(_0x51b203(0x253))]['WebSocket'](null,void 0x0,this['options']);if(_0x3d1756[_0x51b203(0x234)]){const _0x367be3=this[_0x51b203(0x253)][_0x51b203(0x342)]?this[_0x51b203(0x253)][_0x51b203(0x342)](_0x3d1756,_0xf19f9d):_0x3d1756['values']()[_0x51b203(0x29e)]()[_0x51b203(0x232)];_0x367be3&&(_0xd04a8['push'](_0x51b203(0x351)+_0x367be3),_0x43793d[_0x51b203(0x2c6)]=_0x367be3);}if(_0x1d224c[_0x68969c[_0x51b203(0x258)]]){const _0x388ffe=_0x1d224c[_0x68969c[_0x51b203(0x258)]][_0x51b203(0x35e)],_0x441776=_0x9b280f[_0x51b203(0x1f2)]({[_0x68969c[_0x51b203(0x258)]]:[_0x388ffe]});_0xd04a8[_0x51b203(0x2b5)]('Sec-WebSocket-Extensions:\x20'+_0x441776),_0x43793d[_0x51b203(0x1ee)]=_0x1d224c;}this[_0x51b203(0x235)](_0x51b203(0x34d),_0xd04a8,_0xf19f9d),_0x2c5cfd['write'](_0xd04a8[_0x51b203(0x363)]('\x0d\x0a')[_0x51b203(0x358)]('\x0d\x0a')),_0x2c5cfd[_0x51b203(0x35f)](_0x51b203(0x2e1),_0x423c23),_0x43793d[_0x51b203(0x30f)](_0x2c5cfd,_0x1fa0d7,{'allowSynchronousEvents':this[_0x51b203(0x253)][_0x51b203(0x2d5)],'maxPayload':this['options'][_0x51b203(0x345)],'skipUTF8Validation':this[_0x51b203(0x253)][_0x51b203(0x2cb)]}),this[_0x51b203(0x2a7)]&&(this[_0x51b203(0x2a7)]['add'](_0x43793d),_0x43793d['on'](_0x51b203(0x2f5),()=>{const _0x592e4f=_0x51b203;this['clients'][_0x592e4f(0x1de)](_0x43793d),this[_0x592e4f(0x241)]&&!this[_0x592e4f(0x2a7)][_0x592e4f(0x234)]&&process['nextTick'](_0x51cd9a,this);})),_0x4ac1ca(_0x43793d,_0xf19f9d);}}Te=_0x535680;function _0x2ddfc3(_0x55227b,_0x4c9002){const _0xde5549=_0x4ed0e4;for(const _0x4a3190 of Object[_0xde5549(0x2f0)](_0x4c9002))_0x55227b['on'](_0x4a3190,_0x4c9002[_0x4a3190]);return function(){const _0x25e326=_0xde5549;for(const _0x216a37 of Object[_0x25e326(0x2f0)](_0x4c9002))_0x55227b[_0x25e326(0x35f)](_0x216a37,_0x4c9002[_0x216a37]);};}function _0x51cd9a(_0x476f7f){const _0xbb8672=_0x4ed0e4;_0x476f7f['_state']=_0x3baf2a,_0x476f7f[_0xbb8672(0x235)](_0xbb8672(0x2f5));}function _0x423c23(){const _0x4ae56d=_0x4ed0e4;this[_0x4ae56d(0x340)]();}function _0x35408d(_0x1cd95d,_0x5b3896,_0x4adde0,_0x12c1d7){const _0x5141c3=_0x4ed0e4;_0x4adde0=_0x4adde0||_0x10f297[_0x5141c3(0x326)][_0x5b3896],_0x12c1d7={'Connection':'close','Content-Type':_0x5141c3(0x297),'Content-Length':Buffer[_0x5141c3(0x1fe)](_0x4adde0),..._0x12c1d7},_0x1cd95d[_0x5141c3(0x2d4)](_0x5141c3(0x1f8),_0x1cd95d[_0x5141c3(0x340)]),_0x1cd95d[_0x5141c3(0x260)](_0x5141c3(0x1ff)+_0x5b3896+'\x20'+_0x10f297['STATUS_CODES'][_0x5b3896]+'\x0d\x0a'+Object[_0x5141c3(0x2f0)](_0x12c1d7)[_0x5141c3(0x248)](_0x338f70=>_0x338f70+':\x20'+_0x12c1d7[_0x338f70])[_0x5141c3(0x358)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x4adde0);}function _0x1998f5(_0xc9d993,_0x131de9,_0x12dfac,_0x4a4044,_0x4f7075){const _0x56984=_0x4ed0e4;if(_0xc9d993[_0x56984(0x2da)]('wsClientError')){const _0x52557e=new Error(_0x4f7075);Error[_0x56984(0x1fd)](_0x52557e,_0x1998f5),_0xc9d993[_0x56984(0x235)](_0x56984(0x33b),_0x52557e,_0x12dfac,_0x131de9);}else _0x35408d(_0x12dfac,_0x4a4044,_0x4f7075);}return Te;}Ft();var jt=Object[_0x5a38b5(0x27f)],Wt=(_0x52a7b1,_0x56ade9,_0x407726,_0x7e960b)=>{for(var _0x330224=_0x7e960b>0x1?void 0x0:_0x7e960b?jt(_0x56ade9,_0x407726):_0x56ade9,_0x2f796e=_0x52a7b1['length']-0x1,_0x5201f1;_0x2f796e>=0x0;_0x2f796e--)(_0x5201f1=_0x52a7b1[_0x2f796e])&&(_0x330224=_0x5201f1(_0x330224)||_0x330224);return _0x330224;},qt=(_0x521664,_0x142d2a)=>(_0x50c67a,_0x56e9df)=>_0x142d2a(_0x50c67a,_0x56e9df,_0x521664);let ke=class extends A[_0x5a38b5(0x2c9)]{constructor(_0x521319){const _0x1777ef=_0x5a38b5;super(),this[_0x1777ef(0x25e)]=_0x521319;}[_0x5a38b5(0x23e)](_0xb01781){const _0x216f63=_0x5a38b5;var _0x3189f2;const _0x4710c8=(_0x3189f2=this['_configService']['getConfig'](fe))==null?void 0x0:_0x3189f2[_0x216f63(0x2f7)];try{const _0x6b8ddb=new $t(_0xb01781,{'headers':{..._0x4710c8}}),_0x1bd9b0=new A[(_0x216f63(0x339))]();return{'URL':_0xb01781,'close':(_0x345118,_0x1841a7)=>{const _0x2b3bdf=_0x216f63;_0x6b8ddb[_0x2b3bdf(0x2f5)](_0x345118,_0x1841a7),_0x1bd9b0[_0x2b3bdf(0x322)]();},'send':_0x571c1f=>{const _0x307364=_0x216f63;_0x6b8ddb[_0x307364(0x308)](_0x571c1f);},'open$':new V[(_0x216f63(0x29b))](_0x32cdd7=>{const _0x265308=_0x216f63,_0x432a23=_0x372d7f=>_0x32cdd7[_0x265308(0x29e)](_0x372d7f);_0x6b8ddb['addEventListener'](_0x265308(0x294),_0x432a23),_0x1bd9b0[_0x265308(0x346)](A[_0x265308(0x20b)](()=>_0x6b8ddb['removeEventListener'](_0x265308(0x294),_0x432a23)));})[_0x216f63(0x2b2)](V['share']()),'close$':new V[(_0x216f63(0x29b))](_0x516a9e=>{const _0x198b7e=_0x216f63,_0x4e59ba=_0x34b904=>_0x516a9e['next'](_0x34b904);_0x6b8ddb[_0x198b7e(0x2e7)](_0x198b7e(0x2f5),_0x4e59ba),_0x1bd9b0['add'](A['toDisposable'](()=>_0x6b8ddb['removeEventListener'](_0x198b7e(0x2f5),_0x4e59ba)));})[_0x216f63(0x2b2)](V[_0x216f63(0x381)]()),'error$':new V['Observable'](_0xef5ac9=>{const _0x2c3b00=_0x216f63,_0x1299eb=_0xc5887a=>_0xef5ac9[_0x2c3b00(0x29e)](_0xc5887a);_0x6b8ddb[_0x2c3b00(0x2e7)](_0x2c3b00(0x2e1),_0x1299eb),_0x1bd9b0[_0x2c3b00(0x346)](A[_0x2c3b00(0x20b)](()=>_0x6b8ddb[_0x2c3b00(0x385)](_0x2c3b00(0x2e1),_0x1299eb)));})[_0x216f63(0x2b2)](V[_0x216f63(0x381)]()),'message$':new V[(_0x216f63(0x29b))](_0x197e14=>{const _0x8fdf9c=_0x216f63,_0x247c0e=_0x4ceaa1=>_0x197e14[_0x8fdf9c(0x29e)](_0x4ceaa1);_0x6b8ddb[_0x8fdf9c(0x2e7)](_0x8fdf9c(0x2df),_0x247c0e),_0x1bd9b0[_0x8fdf9c(0x346)](A['toDisposable'](()=>_0x6b8ddb['removeEventListener'](_0x8fdf9c(0x2df),_0x247c0e)));})[_0x216f63(0x2b2)](V[_0x216f63(0x381)]())};}catch(_0x59fb9e){return console[_0x216f63(0x2e1)](_0x59fb9e),null;}}};ke=Wt([qt(0x0,A[_0x5a38b5(0x246)])],ke);var Gt=Object[_0x5a38b5(0x325)],Vt=Object[_0x5a38b5(0x27f)],Ht=(_0x1b392d,_0x1e252b,_0x1341c4)=>_0x1e252b in _0x1b392d?Gt(_0x1b392d,_0x1e252b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1341c4}):_0x1b392d[_0x1e252b]=_0x1341c4,zt=(_0x24d212,_0x2ee5e1,_0x5d083b,_0x3cf44f)=>{const _0x382749=_0x5a38b5;for(var _0x55587b=_0x3cf44f>0x1?void 0x0:_0x3cf44f?Vt(_0x2ee5e1,_0x5d083b):_0x2ee5e1,_0x5eaa77=_0x24d212[_0x382749(0x31b)]-0x1,_0x2cb4c4;_0x5eaa77>=0x0;_0x5eaa77--)(_0x2cb4c4=_0x24d212[_0x5eaa77])&&(_0x55587b=_0x2cb4c4(_0x55587b)||_0x55587b);return _0x55587b;},Ne=(_0x38216b,_0x54c701)=>(_0x476007,_0x3a0413)=>_0x54c701(_0x476007,_0x3a0413,_0x38216b),Yt=(_0x222a96,_0x1513c0,_0x1e252a)=>Ht(_0x222a96,_0x1513c0+'',_0x1e252a);exports['UniverCollaborationClientNodePlugin']=class extends A[_0x5a38b5(0x2cf)]{constructor(_0x205a57=Ct,_0x135cb9,_0x28af2b,_0x106c7e){const _0x202eaf=_0x5a38b5;_0x205a57['customHeaders']||_0x135cb9[_0x202eaf(0x219)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x202eaf(0x25e)]=_0x28af2b,this[_0x202eaf(0x324)]=_0x106c7e,this[_0x202eaf(0x25e)][_0x202eaf(0x271)](fe,_0x205a57);}[_0x5a38b5(0x364)](){const _0x42f357=_0x5a38b5;this[_0x42f357(0x31d)]();}[_0x5a38b5(0x31d)](){const _0x8adfe=_0x5a38b5;A[_0x8adfe(0x1e6)](this[_0x8adfe(0x324)],[[it[_0x8adfe(0x23d)],{'useClass':ke}]]);}},Yt(exports['UniverCollaborationClientNodePlugin'],_0x5a38b5(0x201),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports[_0x5a38b5(0x334)]=zt([A[_0x5a38b5(0x2ce)](st[_0x5a38b5(0x21b)]),Ne(0x1,A[_0x5a38b5(0x21f)]),Ne(0x2,A[_0x5a38b5(0x246)]),Ne(0x3,A[_0x5a38b5(0x2d9)](A['Injector']))],exports[_0x5a38b5(0x334)]);var Kt=Object[_0x5a38b5(0x27f)],Xt=(_0x5c02a,_0x1044c3,_0x42187c,_0x5e7110)=>{const _0x5b3c28=_0x5a38b5;for(var _0xf2689a=_0x5e7110>0x1?void 0x0:_0x5e7110?Kt(_0x1044c3,_0x42187c):_0x1044c3,_0x1cb0ce=_0x5c02a[_0x5b3c28(0x31b)]-0x1,_0x2f223a;_0x1cb0ce>=0x0;_0x1cb0ce--)(_0x2f223a=_0x5c02a[_0x1cb0ce])&&(_0xf2689a=_0x2f223a(_0xf2689a)||_0xf2689a);return _0xf2689a;},ne=(_0x1c07a7,_0x2372f6)=>(_0x43fe4d,_0x4a30d4)=>_0x2372f6(_0x43fe4d,_0x4a30d4,_0x1c07a7);exports[_0x5a38b5(0x2de)]=class extends st[_0x5a38b5(0x1ca)]{constructor(_0x3ffaff,_0x544078,_0x58cd64,_0x7c9dcb,_0x4edc3b){const _0x4e5f1b=_0x5a38b5;super(_0x3ffaff,_0x544078,_0x58cd64,_0x7c9dcb,_0x4edc3b);const _0x4be647=this[_0x4e5f1b(0x25e)][_0x4e5f1b(0x349)](fe);this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x5ed818,_0x221370)=>{const _0x2d7486=_0x4e5f1b;var _0x6d56d6;const _0x55c80e=_0x5ed818[_0x2d7486(0x34d)];return(_0x6d56d6=_0x4be647==null?void 0x0:_0x4be647['customHeaders'])!=null&&_0x6d56d6[_0x2d7486(0x1c8)]&&_0x55c80e[_0x2d7486(0x32d)](_0x2d7486(0x216),_0x4be647[_0x2d7486(0x2f7)][_0x2d7486(0x1c8)]),_0x221370(_0x5ed818);}});}async[_0x5a38b5(0x23e)](_0x48d817){return this['_doCreateSocket'](_0x48d817);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A[_0x5a38b5(0x2d9)](A['Injector'])),ne(0x1,A[_0x5a38b5(0x2d9)](it[_0x5a38b5(0x331)])),ne(0x2,A[_0x5a38b5(0x246)]),ne(0x3,A[_0x5a38b5(0x21f)]),ne(0x4,Ot[_0x5a38b5(0x263)])],exports[_0x5a38b5(0x2de)]),exports[_0x5a38b5(0x34b)]=fe;
|