@univerjs-pro/collaboration-client-node 0.8.0-nightly.202506071606 → 0.8.0-nightly.202506081606

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x40f040=_0x4e52;(function(_0x15e27b,_0xc59cb8){const _0x36b564=_0x4e52,_0x2a89c0=_0x15e27b();while(!![]){try{const _0x1f3e70=parseInt(_0x36b564(0x188))/0x1*(parseInt(_0x36b564(0xef))/0x2)+-parseInt(_0x36b564(0x147))/0x3+-parseInt(_0x36b564(0x228))/0x4*(-parseInt(_0x36b564(0x176))/0x5)+parseInt(_0x36b564(0x1c8))/0x6+-parseInt(_0x36b564(0x180))/0x7+parseInt(_0x36b564(0x13a))/0x8*(parseInt(_0x36b564(0x190))/0x9)+-parseInt(_0x36b564(0x148))/0xa;if(_0x1f3e70===_0xc59cb8)break;else _0x2a89c0['push'](_0x2a89c0['shift']());}catch(_0x415485){_0x2a89c0['push'](_0x2a89c0['shift']());}}}(_0x3eba,0xcc3b2));Object[_0x40f040(0x198)](exports,Symbol[_0x40f040(0xcc)],{'value':_0x40f040(0x95)});const st=require(_0x40f040(0x154)),A=require(_0x40f040(0xc9)),it=require(_0x40f040(0x128)),V=require('rxjs'),nt=require(_0x40f040(0x1c7)),vt=require(_0x40f040(0x20d)),ot=require(_0x40f040(0xb3)),St=require(_0x40f040(0x14b)),Et=require('tls'),Le=require(_0x40f040(0x7f)),oe=require('stream'),xt=require(_0x40f040(0x15b)),bt=require(_0x40f040(0x8f)),wt=require(_0x40f040(0xbf)),Ot=require('@univerjs-pro/collaboration'),fe=_0x40f040(0x10c),Ct={'customHeaders':{}};function Tt(_0x3e9999){const _0x154e4e=_0x40f040;return _0x3e9999&&_0x3e9999[_0x154e4e(0x145)]&&Object[_0x154e4e(0x200)][_0x154e4e(0x213)][_0x154e4e(0xbb)](_0x3e9999,_0x154e4e(0x14e))?_0x3e9999[_0x154e4e(0x14e)]:_0x3e9999;}function at(_0x6b2142){const _0x32e0fe=_0x40f040;if(Object[_0x32e0fe(0x200)]['hasOwnProperty'][_0x32e0fe(0xbb)](_0x6b2142,_0x32e0fe(0x145)))return _0x6b2142;var _0x3038e1=_0x6b2142[_0x32e0fe(0x14e)];if(typeof _0x3038e1==_0x32e0fe(0x1f8)){var _0x4dde92=function _0xa6f27c(){const _0x464ff3=_0x32e0fe;return this instanceof _0xa6f27c?Reflect[_0x464ff3(0x1e0)](_0x3038e1,arguments,this['constructor']):_0x3038e1['apply'](this,arguments);};_0x4dde92[_0x32e0fe(0x200)]=_0x3038e1[_0x32e0fe(0x200)];}else _0x4dde92={};return Object[_0x32e0fe(0x198)](_0x4dde92,'__esModule',{'value':!0x0}),Object[_0x32e0fe(0x1d3)](_0x6b2142)[_0x32e0fe(0x13d)](function(_0x5695e0){const _0x3c8a12=_0x32e0fe;var _0x110d75=Object[_0x3c8a12(0x1a1)](_0x6b2142,_0x5695e0);Object[_0x3c8a12(0x198)](_0x4dde92,_0x5695e0,_0x110d75['get']?_0x110d75:{'enumerable':!0x0,'get':function(){return _0x6b2142[_0x5695e0];}});}),_0x4dde92;}var se={'exports':{}},ge,Ge;function H(){const _0x75bcc5=_0x40f040;if(Ge)return ge;Ge=0x1;const _0x42d029=[_0x75bcc5(0xcf),_0x75bcc5(0xdf),'fragments'],_0x2fc710=typeof Blob<'u';return _0x2fc710&&_0x42d029[_0x75bcc5(0x186)](_0x75bcc5(0x124)),ge={'BINARY_TYPES':_0x42d029,'EMPTY_BUFFER':Buffer[_0x75bcc5(0x15f)](0x0),'GUID':_0x75bcc5(0xfc),'hasBlob':_0x2fc710,'kForOnEventAttribute':Symbol(_0x75bcc5(0x1f5)),'kListener':Symbol(_0x75bcc5(0x226)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0x75bcc5(0x155)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x40f040(0x75)](Object[_0x40f040(0x198)]({'__proto__':null,'default':Nt},Symbol[_0x40f040(0xcc)],{'value':_0x40f040(0x95)})),Lt=at(kt);var Ve;function ce(){const _0x2882de=_0x40f040;if(Ve)return se[_0x2882de(0x237)];Ve=0x1;const {EMPTY_BUFFER:_0x590af2}=H(),_0xce1837=Buffer[Symbol[_0x2882de(0x216)]];function _0x3f926e(_0x225fa2,_0xbb43b8){const _0x4b2ebf=_0x2882de;if(_0x225fa2['length']===0x0)return _0x590af2;if(_0x225fa2['length']===0x1)return _0x225fa2[0x0];const _0x4bf1a9=Buffer[_0x4b2ebf(0x23c)](_0xbb43b8);let _0x4c680c=0x0;for(let _0x35e62e=0x0;_0x35e62e<_0x225fa2[_0x4b2ebf(0x16e)];_0x35e62e++){const _0x12f2bb=_0x225fa2[_0x35e62e];_0x4bf1a9[_0x4b2ebf(0xe4)](_0x12f2bb,_0x4c680c),_0x4c680c+=_0x12f2bb[_0x4b2ebf(0x16e)];}return _0x4c680c<_0xbb43b8?new _0xce1837(_0x4bf1a9['buffer'],_0x4bf1a9[_0x4b2ebf(0x23b)],_0x4c680c):_0x4bf1a9;}function _0x50cec8(_0x361b38,_0x1d3517,_0x5744e0,_0x3f0eb3,_0x51f958){for(let _0x441c20=0x0;_0x441c20<_0x51f958;_0x441c20++)_0x5744e0[_0x3f0eb3+_0x441c20]=_0x361b38[_0x441c20]^_0x1d3517[_0x441c20&0x3];}function _0x409f95(_0x31969e,_0x39f430){const _0x1d43c8=_0x2882de;for(let _0x32df8f=0x0;_0x32df8f<_0x31969e[_0x1d43c8(0x16e)];_0x32df8f++)_0x31969e[_0x32df8f]^=_0x39f430[_0x32df8f&0x3];}function _0x133fee(_0x56b239){const _0x56ac8d=_0x2882de;return _0x56b239[_0x56ac8d(0x16e)]===_0x56b239[_0x56ac8d(0xbf)]['byteLength']?_0x56b239[_0x56ac8d(0xbf)]:_0x56b239[_0x56ac8d(0xbf)][_0x56ac8d(0x202)](_0x56b239[_0x56ac8d(0x23b)],_0x56b239['byteOffset']+_0x56b239[_0x56ac8d(0x16e)]);}function _0x4b5d6e(_0x22a123){const _0x245ccc=_0x2882de;if(_0x4b5d6e[_0x245ccc(0x1c3)]=!0x0,Buffer[_0x245ccc(0x167)](_0x22a123))return _0x22a123;let _0x2f8ae4;return _0x22a123 instanceof ArrayBuffer?_0x2f8ae4=new _0xce1837(_0x22a123):ArrayBuffer[_0x245ccc(0x91)](_0x22a123)?_0x2f8ae4=new _0xce1837(_0x22a123[_0x245ccc(0xbf)],_0x22a123[_0x245ccc(0x23b)],_0x22a123[_0x245ccc(0xa6)]):(_0x2f8ae4=Buffer['from'](_0x22a123),_0x4b5d6e['readOnly']=!0x1),_0x2f8ae4;}if(se['exports']={'concat':_0x3f926e,'mask':_0x50cec8,'toArrayBuffer':_0x133fee,'toBuffer':_0x4b5d6e,'unmask':_0x409f95},!process['env'][_0x2882de(0x12c)])try{const _0x4733cd=Lt;se['exports'][_0x2882de(0xb2)]=function(_0x2eb27d,_0xb084cc,_0x12538e,_0x2560d7,_0x1f8581){const _0x2e177d=_0x2882de;_0x1f8581<0x30?_0x50cec8(_0x2eb27d,_0xb084cc,_0x12538e,_0x2560d7,_0x1f8581):_0x4733cd[_0x2e177d(0xb2)](_0x2eb27d,_0xb084cc,_0x12538e,_0x2560d7,_0x1f8581);},se[_0x2882de(0x237)][_0x2882de(0x18e)]=function(_0x2cc2bb,_0x1c3cbe){const _0x2a4044=_0x2882de;_0x2cc2bb[_0x2a4044(0x16e)]<0x20?_0x409f95(_0x2cc2bb,_0x1c3cbe):_0x4733cd[_0x2a4044(0x18e)](_0x2cc2bb,_0x1c3cbe);};}catch{}return se[_0x2882de(0x237)];}var ye,He;function Pt(){const _0x3af200=_0x40f040;if(He)return ye;He=0x1;const _0x3df2fe=Symbol(_0x3af200(0x97)),_0x5a75ad=Symbol('kRun');class _0x1dbffc{constructor(_0x4c9488){const _0x43c0f0=_0x3af200;this[_0x3df2fe]=()=>{this['pending']--,this[_0x5a75ad]();},this['concurrency']=_0x4c9488||0x1/0x0,this[_0x43c0f0(0x1b8)]=[],this['pending']=0x0;}[_0x3af200(0x77)](_0x35eaa0){const _0x31921b=_0x3af200;this[_0x31921b(0x1b8)][_0x31921b(0x186)](_0x35eaa0),this[_0x5a75ad]();}[_0x5a75ad](){const _0x2db855=_0x3af200;if(this[_0x2db855(0x19b)]!==this[_0x2db855(0x11b)]&&this[_0x2db855(0x1b8)]['length']){const _0x42dd42=this['jobs']['shift']();this[_0x2db855(0x19b)]++,_0x42dd42(this[_0x3df2fe]);}}}return ye=_0x1dbffc,ye;}var ve,ze;function he(){const _0xa1e9fe=_0x40f040;if(ze)return ve;ze=0x1;const _0x2b751b=bt,_0xdd731=ce(),_0x1a2cbc=Pt(),{kStatusCode:_0x2a5feb}=H(),_0x16750f=Buffer[Symbol['species']],_0xae3410=Buffer['from']([0x0,0x0,0xff,0xff]),_0x271ec0=Symbol(_0xa1e9fe(0xff)),_0x3a08f3=Symbol(_0xa1e9fe(0x85)),_0x181f63=Symbol('callback'),_0x188c9e=Symbol('buffers'),_0x15ebc3=Symbol('error');let _0xae0aaa;class _0x36b0ef{constructor(_0x277b20,_0x3b48b2,_0x2bfad1){const _0x292118=_0xa1e9fe;if(this[_0x292118(0xe2)]=_0x2bfad1|0x0,this['_options']=_0x277b20||{},this[_0x292118(0x21a)]=this[_0x292118(0x93)][_0x292118(0x98)]!==void 0x0?this[_0x292118(0x93)][_0x292118(0x98)]:0x400,this[_0x292118(0x74)]=!!_0x3b48b2,this[_0x292118(0x166)]=null,this[_0x292118(0x19f)]=null,this[_0x292118(0xd7)]=null,!_0xae0aaa){const _0x1aa06b=this[_0x292118(0x93)][_0x292118(0xec)]!==void 0x0?this[_0x292118(0x93)]['concurrencyLimit']:0xa;_0xae0aaa=new _0x1a2cbc(_0x1aa06b);}}static get[_0xa1e9fe(0x1ed)](){const _0x4b9a42=_0xa1e9fe;return _0x4b9a42(0xff);}['offer'](){const _0xfa43e8=_0xa1e9fe,_0x2a6a73={};return this[_0xfa43e8(0x93)]['serverNoContextTakeover']&&(_0x2a6a73[_0xfa43e8(0x1ee)]=!0x0),this[_0xfa43e8(0x93)][_0xfa43e8(0x10f)]&&(_0x2a6a73['client_no_context_takeover']=!0x0),this[_0xfa43e8(0x93)][_0xfa43e8(0xce)]&&(_0x2a6a73[_0xfa43e8(0x9a)]=this[_0xfa43e8(0x93)][_0xfa43e8(0xce)]),this[_0xfa43e8(0x93)][_0xfa43e8(0x1c6)]?_0x2a6a73[_0xfa43e8(0xa1)]=this['_options'][_0xfa43e8(0x1c6)]:this[_0xfa43e8(0x93)]['clientMaxWindowBits']==null&&(_0x2a6a73[_0xfa43e8(0xa1)]=!0x0),_0x2a6a73;}[_0xa1e9fe(0x1eb)](_0x38d75d){const _0x1fb45a=_0xa1e9fe;return _0x38d75d=this[_0x1fb45a(0x20e)](_0x38d75d),this[_0x1fb45a(0xd7)]=this[_0x1fb45a(0x74)]?this[_0x1fb45a(0x8b)](_0x38d75d):this['acceptAsClient'](_0x38d75d),this['params'];}[_0xa1e9fe(0x160)](){const _0x2eb863=_0xa1e9fe;if(this['_inflate']&&(this['_inflate'][_0x2eb863(0xe3)](),this[_0x2eb863(0x19f)]=null),this['_deflate']){const _0x2fcc2e=this[_0x2eb863(0x166)][_0x181f63];this['_deflate']['close'](),this[_0x2eb863(0x166)]=null,_0x2fcc2e&&_0x2fcc2e(new Error(_0x2eb863(0x193)));}}[_0xa1e9fe(0x8b)](_0x5d6a52){const _0x54f665=_0xa1e9fe,_0x222687=this[_0x54f665(0x93)],_0x12f71c=_0x5d6a52[_0x54f665(0x140)](_0x2f85c8=>!(_0x222687['serverNoContextTakeover']===!0x1&&_0x2f85c8[_0x54f665(0x1ee)]||_0x2f85c8[_0x54f665(0x9a)]&&(_0x222687[_0x54f665(0xce)]===!0x1||typeof _0x222687['serverMaxWindowBits']==_0x54f665(0x101)&&_0x222687[_0x54f665(0xce)]>_0x2f85c8[_0x54f665(0x9a)])||typeof _0x222687[_0x54f665(0x1c6)]==_0x54f665(0x101)&&!_0x2f85c8[_0x54f665(0xa1)]));if(!_0x12f71c)throw new Error(_0x54f665(0x103));return _0x222687[_0x54f665(0xc5)]&&(_0x12f71c[_0x54f665(0x1ee)]=!0x0),_0x222687[_0x54f665(0x10f)]&&(_0x12f71c[_0x54f665(0x1df)]=!0x0),typeof _0x222687['serverMaxWindowBits']==_0x54f665(0x101)&&(_0x12f71c['server_max_window_bits']=_0x222687[_0x54f665(0xce)]),typeof _0x222687[_0x54f665(0x1c6)]==_0x54f665(0x101)?_0x12f71c[_0x54f665(0xa1)]=_0x222687['clientMaxWindowBits']:(_0x12f71c[_0x54f665(0xa1)]===!0x0||_0x222687[_0x54f665(0x1c6)]===!0x1)&&delete _0x12f71c['client_max_window_bits'],_0x12f71c;}[_0xa1e9fe(0x239)](_0x2e3ce1){const _0x4a32fe=_0xa1e9fe,_0x468d88=_0x2e3ce1[0x0];if(this[_0x4a32fe(0x93)][_0x4a32fe(0x10f)]===!0x1&&_0x468d88['client_no_context_takeover'])throw new Error(_0x4a32fe(0x87));if(!_0x468d88['client_max_window_bits'])typeof this[_0x4a32fe(0x93)][_0x4a32fe(0x1c6)]==_0x4a32fe(0x101)&&(_0x468d88['client_max_window_bits']=this['_options']['clientMaxWindowBits']);else{if(this[_0x4a32fe(0x93)]['clientMaxWindowBits']===!0x1||typeof this[_0x4a32fe(0x93)][_0x4a32fe(0x1c6)]==_0x4a32fe(0x101)&&_0x468d88[_0x4a32fe(0xa1)]>this[_0x4a32fe(0x93)]['clientMaxWindowBits'])throw new Error(_0x4a32fe(0xeb));}return _0x468d88;}[_0xa1e9fe(0x20e)](_0xd3cf7f){const _0x5113f9=_0xa1e9fe;return _0xd3cf7f[_0x5113f9(0x13d)](_0x460e98=>{const _0x209e91=_0x5113f9;Object[_0x209e91(0x1d3)](_0x460e98)[_0x209e91(0x13d)](_0x416ac4=>{const _0x135d4c=_0x209e91;let _0x13b848=_0x460e98[_0x416ac4];if(_0x13b848[_0x135d4c(0x16e)]>0x1)throw new Error(_0x135d4c(0x17e)+_0x416ac4+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x13b848=_0x13b848[0x0],_0x416ac4===_0x135d4c(0xa1)){if(_0x13b848!==!0x0){const _0x59320d=+_0x13b848;if(!Number['isInteger'](_0x59320d)||_0x59320d<0x8||_0x59320d>0xf)throw new TypeError(_0x135d4c(0x191)+_0x416ac4+_0x135d4c(0x1fb)+_0x13b848);_0x13b848=_0x59320d;}else{if(!this['_isServer'])throw new TypeError(_0x135d4c(0x191)+_0x416ac4+'\x22:\x20'+_0x13b848);}}else{if(_0x416ac4===_0x135d4c(0x9a)){const _0x3970bf=+_0x13b848;if(!Number[_0x135d4c(0x9f)](_0x3970bf)||_0x3970bf<0x8||_0x3970bf>0xf)throw new TypeError(_0x135d4c(0x191)+_0x416ac4+'\x22:\x20'+_0x13b848);_0x13b848=_0x3970bf;}else{if(_0x416ac4===_0x135d4c(0x1df)||_0x416ac4===_0x135d4c(0x1ee)){if(_0x13b848!==!0x0)throw new TypeError(_0x135d4c(0x191)+_0x416ac4+_0x135d4c(0x1fb)+_0x13b848);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x416ac4+'\x22');}}_0x460e98[_0x416ac4]=_0x13b848;});}),_0xd3cf7f;}[_0xa1e9fe(0xb9)](_0xc3f981,_0x446eac,_0x3efa37){const _0x1608b9=_0xa1e9fe;_0xae0aaa[_0x1608b9(0x77)](_0x3870ec=>{const _0x10c1a7=_0x1608b9;this[_0x10c1a7(0x127)](_0xc3f981,_0x446eac,(_0x52f26b,_0x49bb42)=>{_0x3870ec(),_0x3efa37(_0x52f26b,_0x49bb42);});});}['compress'](_0x528750,_0x27cca5,_0x173ef8){_0xae0aaa['add'](_0x5a6bcc=>{const _0xc4742=_0x4e52;this[_0xc4742(0x104)](_0x528750,_0x27cca5,(_0x40ed76,_0x4a85f5)=>{_0x5a6bcc(),_0x173ef8(_0x40ed76,_0x4a85f5);});});}[_0xa1e9fe(0x127)](_0x537a91,_0x15eea7,_0x51207d){const _0x37adb4=_0xa1e9fe,_0x108799=this[_0x37adb4(0x74)]?_0x37adb4(0x7d):_0x37adb4(0x17b);if(!this[_0x37adb4(0x19f)]){const _0x449ec4=_0x108799+'_max_window_bits',_0x3504a5=typeof this['params'][_0x449ec4]!='number'?_0x2b751b[_0x37adb4(0x1d0)]:this[_0x37adb4(0xd7)][_0x449ec4];this[_0x37adb4(0x19f)]=_0x2b751b[_0x37adb4(0xbe)]({...this[_0x37adb4(0x93)][_0x37adb4(0x125)],'windowBits':_0x3504a5}),this[_0x37adb4(0x19f)][_0x271ec0]=this,this[_0x37adb4(0x19f)][_0x3a08f3]=0x0,this[_0x37adb4(0x19f)][_0x188c9e]=[],this['_inflate']['on']('error',_0x397b6e),this[_0x37adb4(0x19f)]['on'](_0x37adb4(0xb6),_0x13a53d);}this[_0x37adb4(0x19f)][_0x181f63]=_0x51207d,this[_0x37adb4(0x19f)][_0x37adb4(0x1bb)](_0x537a91),_0x15eea7&&this[_0x37adb4(0x19f)][_0x37adb4(0x1bb)](_0xae3410),this['_inflate'][_0x37adb4(0xd8)](()=>{const _0x5c84ea=_0x37adb4,_0x25bdcf=this['_inflate'][_0x15ebc3];if(_0x25bdcf){this['_inflate'][_0x5c84ea(0xe3)](),this['_inflate']=null,_0x51207d(_0x25bdcf);return;}const _0x29119f=_0xdd731[_0x5c84ea(0x175)](this[_0x5c84ea(0x19f)][_0x188c9e],this[_0x5c84ea(0x19f)][_0x3a08f3]);this[_0x5c84ea(0x19f)][_0x5c84ea(0x1f7)][_0x5c84ea(0xf1)]?(this[_0x5c84ea(0x19f)][_0x5c84ea(0xe3)](),this[_0x5c84ea(0x19f)]=null):(this[_0x5c84ea(0x19f)][_0x3a08f3]=0x0,this[_0x5c84ea(0x19f)][_0x188c9e]=[],_0x15eea7&&this[_0x5c84ea(0xd7)][_0x108799+_0x5c84ea(0x1d1)]&&this[_0x5c84ea(0x19f)]['reset']()),_0x51207d(null,_0x29119f);});}[_0xa1e9fe(0x104)](_0x2c3e22,_0x4bd3be,_0x33230b){const _0x3508bf=_0xa1e9fe,_0x52b055=this[_0x3508bf(0x74)]?_0x3508bf(0x17b):_0x3508bf(0x7d);if(!this[_0x3508bf(0x166)]){const _0x47648a=_0x52b055+_0x3508bf(0x1f2),_0x49de3b=typeof this['params'][_0x47648a]!='number'?_0x2b751b[_0x3508bf(0x1d0)]:this[_0x3508bf(0xd7)][_0x47648a];this['_deflate']=_0x2b751b[_0x3508bf(0xf3)]({...this[_0x3508bf(0x93)][_0x3508bf(0x174)],'windowBits':_0x49de3b}),this[_0x3508bf(0x166)][_0x3a08f3]=0x0,this[_0x3508bf(0x166)][_0x188c9e]=[],this[_0x3508bf(0x166)]['on'](_0x3508bf(0xb6),_0xbee3be);}this['_deflate'][_0x181f63]=_0x33230b,this[_0x3508bf(0x166)][_0x3508bf(0x1bb)](_0x2c3e22),this[_0x3508bf(0x166)][_0x3508bf(0xd8)](_0x2b751b['Z_SYNC_FLUSH'],()=>{const _0x255916=_0x3508bf;if(!this[_0x255916(0x166)])return;let _0x17c20d=_0xdd731['concat'](this[_0x255916(0x166)][_0x188c9e],this[_0x255916(0x166)][_0x3a08f3]);_0x4bd3be&&(_0x17c20d=new _0x16750f(_0x17c20d['buffer'],_0x17c20d[_0x255916(0x23b)],_0x17c20d[_0x255916(0x16e)]-0x4)),this['_deflate'][_0x181f63]=null,this['_deflate'][_0x3a08f3]=0x0,this[_0x255916(0x166)][_0x188c9e]=[],_0x4bd3be&&this[_0x255916(0xd7)][_0x52b055+'_no_context_takeover']&&this[_0x255916(0x166)][_0x255916(0x12a)](),_0x33230b(null,_0x17c20d);});}}ve=_0x36b0ef;function _0xbee3be(_0x240bfa){const _0x267ff4=_0xa1e9fe;this[_0x188c9e][_0x267ff4(0x186)](_0x240bfa),this[_0x3a08f3]+=_0x240bfa['length'];}function _0x13a53d(_0x9fb206){const _0x21c83e=_0xa1e9fe;if(this[_0x3a08f3]+=_0x9fb206[_0x21c83e(0x16e)],this[_0x271ec0][_0x21c83e(0xe2)]<0x1||this[_0x3a08f3]<=this[_0x271ec0][_0x21c83e(0xe2)]){this[_0x188c9e]['push'](_0x9fb206);return;}this[_0x15ebc3]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x15ebc3][_0x21c83e(0x224)]=_0x21c83e(0x1d6),this[_0x15ebc3][_0x2a5feb]=0x3f1,this[_0x21c83e(0x18f)](_0x21c83e(0xb6),_0x13a53d),this['reset']();}function _0x397b6e(_0x3459aa){const _0x47f9a8=_0xa1e9fe;if(this[_0x271ec0][_0x47f9a8(0x19f)]=null,this[_0x15ebc3]){this[_0x181f63](this[_0x15ebc3]);return;}_0x3459aa[_0x2a5feb]=0x3ef,this[_0x181f63](_0x3459aa);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x40f040(0x75)](Object[_0x40f040(0x198)]({'__proto__':null,'default':Dt},Symbol[_0x40f040(0xcc)],{'value':'Module'})),Bt=at(Rt);var Ye;function _0x4e52(_0x4dc05e,_0x28484a){const _0x3eba46=_0x3eba();return _0x4e52=function(_0x4e52e2,_0x5802cb){_0x4e52e2=_0x4e52e2-0x74;let _0x2c1836=_0x3eba46[_0x4e52e2];return _0x2c1836;},_0x4e52(_0x4dc05e,_0x28484a);}function ae(){const _0x1a4aba=_0x40f040;if(Ye)return ie[_0x1a4aba(0x237)];Ye=0x1;const {isUtf8:_0x1f39b1}=wt,{hasBlob:_0x17b8ae}=H(),_0x23e8b3=[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 _0x2fa8f7(_0x581334){return _0x581334>=0x3e8&&_0x581334<=0x3f6&&_0x581334!==0x3ec&&_0x581334!==0x3ed&&_0x581334!==0x3ee||_0x581334>=0xbb8&&_0x581334<=0x1387;}function _0x5f0f3b(_0x2b1b0e){const _0x2dc64a=_0x1a4aba,_0x19dec8=_0x2b1b0e[_0x2dc64a(0x16e)];let _0x374ec8=0x0;for(;_0x374ec8<_0x19dec8;)if((_0x2b1b0e[_0x374ec8]&0x80)===0x0)_0x374ec8++;else{if((_0x2b1b0e[_0x374ec8]&0xe0)===0xc0){if(_0x374ec8+0x1===_0x19dec8||(_0x2b1b0e[_0x374ec8+0x1]&0xc0)!==0x80||(_0x2b1b0e[_0x374ec8]&0xfe)===0xc0)return!0x1;_0x374ec8+=0x2;}else{if((_0x2b1b0e[_0x374ec8]&0xf0)===0xe0){if(_0x374ec8+0x2>=_0x19dec8||(_0x2b1b0e[_0x374ec8+0x1]&0xc0)!==0x80||(_0x2b1b0e[_0x374ec8+0x2]&0xc0)!==0x80||_0x2b1b0e[_0x374ec8]===0xe0&&(_0x2b1b0e[_0x374ec8+0x1]&0xe0)===0x80||_0x2b1b0e[_0x374ec8]===0xed&&(_0x2b1b0e[_0x374ec8+0x1]&0xe0)===0xa0)return!0x1;_0x374ec8+=0x3;}else{if((_0x2b1b0e[_0x374ec8]&0xf8)===0xf0){if(_0x374ec8+0x3>=_0x19dec8||(_0x2b1b0e[_0x374ec8+0x1]&0xc0)!==0x80||(_0x2b1b0e[_0x374ec8+0x2]&0xc0)!==0x80||(_0x2b1b0e[_0x374ec8+0x3]&0xc0)!==0x80||_0x2b1b0e[_0x374ec8]===0xf0&&(_0x2b1b0e[_0x374ec8+0x1]&0xf0)===0x80||_0x2b1b0e[_0x374ec8]===0xf4&&_0x2b1b0e[_0x374ec8+0x1]>0x8f||_0x2b1b0e[_0x374ec8]>0xf4)return!0x1;_0x374ec8+=0x4;}else return!0x1;}}}return!0x0;}function _0x4cffdc(_0x51404a){const _0x22bc2e=_0x1a4aba;return _0x17b8ae&&typeof _0x51404a=='object'&&typeof _0x51404a['arrayBuffer']==_0x22bc2e(0x1f8)&&typeof _0x51404a[_0x22bc2e(0x111)]==_0x22bc2e(0x76)&&typeof _0x51404a[_0x22bc2e(0x215)]==_0x22bc2e(0x1f8)&&(_0x51404a[Symbol[_0x22bc2e(0xcc)]]===_0x22bc2e(0xba)||_0x51404a[Symbol['toStringTag']]===_0x22bc2e(0xa5));}if(ie[_0x1a4aba(0x237)]={'isBlob':_0x4cffdc,'isValidStatusCode':_0x2fa8f7,'isValidUTF8':_0x5f0f3b,'tokenChars':_0x23e8b3},_0x1f39b1)ie[_0x1a4aba(0x237)][_0x1a4aba(0x1c9)]=function(_0x1b88f5){const _0x3bb2f0=_0x1a4aba;return _0x1b88f5[_0x3bb2f0(0x16e)]<0x18?_0x5f0f3b(_0x1b88f5):_0x1f39b1(_0x1b88f5);};else{if(!process[_0x1a4aba(0x1c2)]['WS_NO_UTF_8_VALIDATE'])try{const _0x1ec161=Bt;ie['exports'][_0x1a4aba(0x1c9)]=function(_0x52969e){return _0x52969e['length']<0x20?_0x5f0f3b(_0x52969e):_0x1ec161(_0x52969e);};}catch{}}return ie[_0x1a4aba(0x237)];}var Se,Ke;function lt(){const _0x16bbbf=_0x40f040;if(Ke)return Se;Ke=0x1;const {Writable:_0x4d1fc5}=oe,_0x5b03b4=he(),{BINARY_TYPES:_0x5d0403,EMPTY_BUFFER:_0x1d57c7,kStatusCode:_0xc5a5bd,kWebSocket:_0x3fddb4}=H(),{concat:_0x4b76cc,toArrayBuffer:_0x3d6f34,unmask:_0x3b99d8}=ce(),{isValidStatusCode:_0x35066e,isValidUTF8:_0x414631}=ae(),_0x3aca44=Buffer[Symbol['species']],_0x29c7d5=0x0,_0x27c8d1=0x1,_0x3fcf7d=0x2,_0x467844=0x3,_0x3a94d6=0x4,_0x61515f=0x5,_0x3f4bf3=0x6;class _0x3f164d extends _0x4d1fc5{constructor(_0xf86fec={}){const _0x593802=_0x4e52;super(),this[_0x593802(0x1be)]=_0xf86fec[_0x593802(0x199)]!==void 0x0?_0xf86fec[_0x593802(0x199)]:!0x0,this[_0x593802(0x10b)]=_0xf86fec[_0x593802(0x21f)]||_0x5d0403[0x0],this[_0x593802(0x1e8)]=_0xf86fec[_0x593802(0x122)]||{},this[_0x593802(0x74)]=!!_0xf86fec[_0x593802(0x146)],this[_0x593802(0xe2)]=_0xf86fec[_0x593802(0x156)]|0x0,this['_skipUTF8Validation']=!!_0xf86fec[_0x593802(0x10d)],this[_0x3fddb4]=void 0x0,this['_bufferedBytes']=0x0,this[_0x593802(0x8e)]=[],this[_0x593802(0x106)]=!0x1,this['_payloadLength']=0x0,this[_0x593802(0x22b)]=void 0x0,this[_0x593802(0x235)]=0x0,this['_masked']=!0x1,this[_0x593802(0x20f)]=!0x1,this[_0x593802(0x208)]=0x0,this[_0x593802(0x1f0)]=0x0,this[_0x593802(0x135)]=0x0,this[_0x593802(0xab)]=[],this[_0x593802(0xbc)]=!0x1,this['_loop']=!0x1,this[_0x593802(0x130)]=_0x29c7d5;}[_0x16bbbf(0x8a)](_0x4e0320,_0x50d10d,_0x446dd3){const _0x1dbc10=_0x16bbbf;if(this[_0x1dbc10(0x208)]===0x8&&this['_state']==_0x29c7d5)return _0x446dd3();this[_0x1dbc10(0x136)]+=_0x4e0320['length'],this[_0x1dbc10(0x8e)]['push'](_0x4e0320),this[_0x1dbc10(0x1af)](_0x446dd3);}[_0x16bbbf(0xe7)](_0x3141f6){const _0x15931f=_0x16bbbf;if(this[_0x15931f(0x136)]-=_0x3141f6,_0x3141f6===this[_0x15931f(0x8e)][0x0][_0x15931f(0x16e)])return this['_buffers'][_0x15931f(0x137)]();if(_0x3141f6<this[_0x15931f(0x8e)][0x0]['length']){const _0x573396=this[_0x15931f(0x8e)][0x0];return this[_0x15931f(0x8e)][0x0]=new _0x3aca44(_0x573396[_0x15931f(0xbf)],_0x573396[_0x15931f(0x23b)]+_0x3141f6,_0x573396[_0x15931f(0x16e)]-_0x3141f6),new _0x3aca44(_0x573396[_0x15931f(0xbf)],_0x573396['byteOffset'],_0x3141f6);}const _0xb40f8c=Buffer[_0x15931f(0x23c)](_0x3141f6);do{const _0x1bdebc=this[_0x15931f(0x8e)][0x0],_0xb0ed7=_0xb40f8c['length']-_0x3141f6;_0x3141f6>=_0x1bdebc[_0x15931f(0x16e)]?_0xb40f8c['set'](this['_buffers']['shift'](),_0xb0ed7):(_0xb40f8c[_0x15931f(0xe4)](new Uint8Array(_0x1bdebc[_0x15931f(0xbf)],_0x1bdebc[_0x15931f(0x23b)],_0x3141f6),_0xb0ed7),this[_0x15931f(0x8e)][0x0]=new _0x3aca44(_0x1bdebc[_0x15931f(0xbf)],_0x1bdebc['byteOffset']+_0x3141f6,_0x1bdebc[_0x15931f(0x16e)]-_0x3141f6)),_0x3141f6-=_0x1bdebc['length'];}while(_0x3141f6>0x0);return _0xb40f8c;}['startLoop'](_0x24738e){const _0x379935=_0x16bbbf;this[_0x379935(0x1ff)]=!0x0;do switch(this[_0x379935(0x130)]){case _0x29c7d5:this[_0x379935(0x196)](_0x24738e);break;case _0x27c8d1:this[_0x379935(0x1a5)](_0x24738e);break;case _0x3fcf7d:this[_0x379935(0xfa)](_0x24738e);break;case _0x467844:this['getMask']();break;case _0x3a94d6:this['getData'](_0x24738e);break;case _0x61515f:case _0x3f4bf3:this[_0x379935(0x1ff)]=!0x1;return;}while(this[_0x379935(0x1ff)]);this['_errored']||_0x24738e();}[_0x16bbbf(0x196)](_0x59259b){const _0x4b772a=_0x16bbbf;if(this[_0x4b772a(0x136)]<0x2){this[_0x4b772a(0x1ff)]=!0x1;return;}const _0x45462a=this['consume'](0x2);if((_0x45462a[0x0]&0x30)!==0x0){const _0x2ce674=this['createError'](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x4b772a(0x201));_0x59259b(_0x2ce674);return;}const _0x8c5c96=(_0x45462a[0x0]&0x40)===0x40;if(_0x8c5c96&&!this[_0x4b772a(0x1e8)][_0x5b03b4[_0x4b772a(0x1ed)]]){const _0x2931a1=this[_0x4b772a(0x1bf)](RangeError,_0x4b772a(0x112),!0x0,0x3ea,_0x4b772a(0x1bc));_0x59259b(_0x2931a1);return;}if(this[_0x4b772a(0x20f)]=(_0x45462a[0x0]&0x80)===0x80,this[_0x4b772a(0x208)]=_0x45462a[0x0]&0xf,this[_0x4b772a(0x13b)]=_0x45462a[0x1]&0x7f,this[_0x4b772a(0x208)]===0x0){if(_0x8c5c96){const _0x972cb0=this[_0x4b772a(0x1bf)](RangeError,_0x4b772a(0x112),!0x0,0x3ea,_0x4b772a(0x1bc));_0x59259b(_0x972cb0);return;}if(!this[_0x4b772a(0x235)]){const _0x3ae589=this[_0x4b772a(0x1bf)](RangeError,_0x4b772a(0x1d5),!0x0,0x3ea,_0x4b772a(0x179));_0x59259b(_0x3ae589);return;}this['_opcode']=this[_0x4b772a(0x235)];}else{if(this['_opcode']===0x1||this['_opcode']===0x2){if(this[_0x4b772a(0x235)]){const _0xaeb6cd=this[_0x4b772a(0x1bf)](RangeError,_0x4b772a(0x8d)+this[_0x4b772a(0x208)],!0x0,0x3ea,_0x4b772a(0x179));_0x59259b(_0xaeb6cd);return;}this[_0x4b772a(0x106)]=_0x8c5c96;}else{if(this['_opcode']>0x7&&this[_0x4b772a(0x208)]<0xb){if(!this['_fin']){const _0x3638f0=this['createError'](RangeError,_0x4b772a(0x23e),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x59259b(_0x3638f0);return;}if(_0x8c5c96){const _0x4a8405=this[_0x4b772a(0x1bf)](RangeError,_0x4b772a(0x112),!0x0,0x3ea,_0x4b772a(0x1bc));_0x59259b(_0x4a8405);return;}if(this[_0x4b772a(0x13b)]>0x7d||this[_0x4b772a(0x208)]===0x8&&this[_0x4b772a(0x13b)]===0x1){const _0x122b16=this[_0x4b772a(0x1bf)](RangeError,'invalid\x20payload\x20length\x20'+this[_0x4b772a(0x13b)],!0x0,0x3ea,_0x4b772a(0x132));_0x59259b(_0x122b16);return;}}else{const _0x2a7b5d=this[_0x4b772a(0x1bf)](RangeError,_0x4b772a(0x8d)+this[_0x4b772a(0x208)],!0x0,0x3ea,_0x4b772a(0x179));_0x59259b(_0x2a7b5d);return;}}}if(!this[_0x4b772a(0x20f)]&&!this[_0x4b772a(0x235)]&&(this[_0x4b772a(0x235)]=this['_opcode']),this[_0x4b772a(0x105)]=(_0x45462a[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x4b772a(0x105)]){const _0x5d2e63=this[_0x4b772a(0x1bf)](RangeError,_0x4b772a(0xf8),!0x0,0x3ea,_0x4b772a(0x18a));_0x59259b(_0x5d2e63);return;}}else{if(this[_0x4b772a(0x105)]){const _0x417cb5=this['createError'](RangeError,_0x4b772a(0x169),!0x0,0x3ea,_0x4b772a(0x78));_0x59259b(_0x417cb5);return;}}this[_0x4b772a(0x13b)]===0x7e?this['_state']=_0x27c8d1:this[_0x4b772a(0x13b)]===0x7f?this['_state']=_0x3fcf7d:this[_0x4b772a(0x16b)](_0x59259b);}['getPayloadLength16'](_0x5938eb){const _0x2cdb89=_0x16bbbf;if(this[_0x2cdb89(0x136)]<0x2){this[_0x2cdb89(0x1ff)]=!0x1;return;}this[_0x2cdb89(0x13b)]=this[_0x2cdb89(0xe7)](0x2)[_0x2cdb89(0x1e1)](0x0),this[_0x2cdb89(0x16b)](_0x5938eb);}['getPayloadLength64'](_0x31e4d4){const _0x596a63=_0x16bbbf;if(this[_0x596a63(0x136)]<0x8){this['_loop']=!0x1;return;}const _0x1804ad=this[_0x596a63(0xe7)](0x8),_0x140a76=_0x1804ad['readUInt32BE'](0x0);if(_0x140a76>Math['pow'](0x2,0x15)-0x1){const _0x2f13a7=this[_0x596a63(0x1bf)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x31e4d4(_0x2f13a7);return;}this['_payloadLength']=_0x140a76*Math[_0x596a63(0x16d)](0x2,0x20)+_0x1804ad[_0x596a63(0x81)](0x4),this[_0x596a63(0x16b)](_0x31e4d4);}['haveLength'](_0x1be902){const _0x508ad6=_0x16bbbf;if(this[_0x508ad6(0x13b)]&&this['_opcode']<0x8&&(this[_0x508ad6(0x1f0)]+=this[_0x508ad6(0x13b)],this[_0x508ad6(0x1f0)]>this[_0x508ad6(0xe2)]&&this['_maxPayload']>0x0)){const _0x5f19e8=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x1be902(_0x5f19e8);return;}this[_0x508ad6(0x105)]?this[_0x508ad6(0x130)]=_0x467844:this['_state']=_0x3a94d6;}['getMask'](){const _0x25462f=_0x16bbbf;if(this[_0x25462f(0x136)]<0x4){this[_0x25462f(0x1ff)]=!0x1;return;}this[_0x25462f(0x22b)]=this[_0x25462f(0xe7)](0x4),this[_0x25462f(0x130)]=_0x3a94d6;}[_0x16bbbf(0xdb)](_0xbdee25){const _0x5c454a=_0x16bbbf;let _0x44e25d=_0x1d57c7;if(this[_0x5c454a(0x13b)]){if(this['_bufferedBytes']<this[_0x5c454a(0x13b)]){this[_0x5c454a(0x1ff)]=!0x1;return;}_0x44e25d=this[_0x5c454a(0xe7)](this[_0x5c454a(0x13b)]),this['_masked']&&(this['_mask'][0x0]|this[_0x5c454a(0x22b)][0x1]|this['_mask'][0x2]|this[_0x5c454a(0x22b)][0x3])!==0x0&&_0x3b99d8(_0x44e25d,this['_mask']);}if(this['_opcode']>0x7){this[_0x5c454a(0x89)](_0x44e25d,_0xbdee25);return;}if(this[_0x5c454a(0x106)]){this[_0x5c454a(0x130)]=_0x61515f,this[_0x5c454a(0xb9)](_0x44e25d,_0xbdee25);return;}_0x44e25d[_0x5c454a(0x16e)]&&(this[_0x5c454a(0x135)]=this['_totalPayloadLength'],this['_fragments'][_0x5c454a(0x186)](_0x44e25d)),this[_0x5c454a(0x1e7)](_0xbdee25);}[_0x16bbbf(0xb9)](_0x4767ca,_0x1b36ad){const _0xf051a9=_0x16bbbf;this[_0xf051a9(0x1e8)][_0x5b03b4['extensionName']]['decompress'](_0x4767ca,this[_0xf051a9(0x20f)],(_0x2ec6be,_0x113193)=>{const _0x47c8ca=_0xf051a9;if(_0x2ec6be)return _0x1b36ad(_0x2ec6be);if(_0x113193[_0x47c8ca(0x16e)]){if(this[_0x47c8ca(0x135)]+=_0x113193[_0x47c8ca(0x16e)],this[_0x47c8ca(0x135)]>this[_0x47c8ca(0xe2)]&&this[_0x47c8ca(0xe2)]>0x0){const _0x5bd36d=this[_0x47c8ca(0x1bf)](RangeError,_0x47c8ca(0xfe),!0x1,0x3f1,_0x47c8ca(0x1d6));_0x1b36ad(_0x5bd36d);return;}this[_0x47c8ca(0xab)][_0x47c8ca(0x186)](_0x113193);}this[_0x47c8ca(0x1e7)](_0x1b36ad),this[_0x47c8ca(0x130)]===_0x29c7d5&&this[_0x47c8ca(0x1af)](_0x1b36ad);});}[_0x16bbbf(0x1e7)](_0x563912){const _0xd2b6e0=_0x16bbbf;if(!this[_0xd2b6e0(0x20f)]){this[_0xd2b6e0(0x130)]=_0x29c7d5;return;}const _0xefd9db=this['_messageLength'],_0x189caa=this[_0xd2b6e0(0xab)];if(this['_totalPayloadLength']=0x0,this[_0xd2b6e0(0x135)]=0x0,this['_fragmented']=0x0,this[_0xd2b6e0(0xab)]=[],this[_0xd2b6e0(0x208)]===0x2){let _0x5b6e0b;this[_0xd2b6e0(0x10b)]===_0xd2b6e0(0xcf)?_0x5b6e0b=_0x4b76cc(_0x189caa,_0xefd9db):this[_0xd2b6e0(0x10b)]===_0xd2b6e0(0xdf)?_0x5b6e0b=_0x3d6f34(_0x4b76cc(_0x189caa,_0xefd9db)):this[_0xd2b6e0(0x10b)]==='blob'?_0x5b6e0b=new Blob(_0x189caa):_0x5b6e0b=_0x189caa,this[_0xd2b6e0(0x1be)]?(this['emit']('message',_0x5b6e0b,!0x0),this[_0xd2b6e0(0x130)]=_0x29c7d5):(this['_state']=_0x3f4bf3,setImmediate(()=>{const _0x1a4db8=_0xd2b6e0;this[_0x1a4db8(0x1fc)](_0x1a4db8(0x168),_0x5b6e0b,!0x0),this[_0x1a4db8(0x130)]=_0x29c7d5,this['startLoop'](_0x563912);}));}else{const _0x48c4b8=_0x4b76cc(_0x189caa,_0xefd9db);if(!this[_0xd2b6e0(0xa0)]&&!_0x414631(_0x48c4b8)){const _0x1aacf6=this['createError'](Error,_0xd2b6e0(0x84),!0x0,0x3ef,_0xd2b6e0(0xf7));_0x563912(_0x1aacf6);return;}this[_0xd2b6e0(0x130)]===_0x61515f||this[_0xd2b6e0(0x1be)]?(this[_0xd2b6e0(0x1fc)](_0xd2b6e0(0x168),_0x48c4b8,!0x1),this['_state']=_0x29c7d5):(this[_0xd2b6e0(0x130)]=_0x3f4bf3,setImmediate(()=>{const _0x3395fa=_0xd2b6e0;this[_0x3395fa(0x1fc)](_0x3395fa(0x168),_0x48c4b8,!0x1),this['_state']=_0x29c7d5,this[_0x3395fa(0x1af)](_0x563912);}));}}[_0x16bbbf(0x89)](_0x4bcfb2,_0x52ec37){const _0x4a1630=_0x16bbbf;if(this[_0x4a1630(0x208)]===0x8){if(_0x4bcfb2['length']===0x0)this[_0x4a1630(0x1ff)]=!0x1,this[_0x4a1630(0x1fc)](_0x4a1630(0x118),0x3ed,_0x1d57c7),this[_0x4a1630(0x129)]();else{const _0x308d84=_0x4bcfb2['readUInt16BE'](0x0);if(!_0x35066e(_0x308d84)){const _0x1addab=this[_0x4a1630(0x1bf)](RangeError,'invalid\x20status\x20code\x20'+_0x308d84,!0x0,0x3ea,_0x4a1630(0x22a));_0x52ec37(_0x1addab);return;}const _0xf2362d=new _0x3aca44(_0x4bcfb2[_0x4a1630(0xbf)],_0x4bcfb2[_0x4a1630(0x23b)]+0x2,_0x4bcfb2['length']-0x2);if(!this[_0x4a1630(0xa0)]&&!_0x414631(_0xf2362d)){const _0x3e19b3=this[_0x4a1630(0x1bf)](Error,_0x4a1630(0x84),!0x0,0x3ef,_0x4a1630(0xf7));_0x52ec37(_0x3e19b3);return;}this[_0x4a1630(0x1ff)]=!0x1,this['emit'](_0x4a1630(0x118),_0x308d84,_0xf2362d),this[_0x4a1630(0x129)]();}this[_0x4a1630(0x130)]=_0x29c7d5;return;}this[_0x4a1630(0x1be)]?(this[_0x4a1630(0x1fc)](this[_0x4a1630(0x208)]===0x9?'ping':_0x4a1630(0x1d8),_0x4bcfb2),this[_0x4a1630(0x130)]=_0x29c7d5):(this[_0x4a1630(0x130)]=_0x3f4bf3,setImmediate(()=>{const _0x373f95=_0x4a1630;this[_0x373f95(0x1fc)](this[_0x373f95(0x208)]===0x9?'ping':_0x373f95(0x1d8),_0x4bcfb2),this['_state']=_0x29c7d5,this[_0x373f95(0x1af)](_0x52ec37);}));}[_0x16bbbf(0x1bf)](_0x4242a9,_0x36f708,_0x26b6a1,_0x3e91cb,_0x301a84){const _0x2b21f9=_0x16bbbf;this[_0x2b21f9(0x1ff)]=!0x1,this[_0x2b21f9(0xbc)]=!0x0;const _0x12b8fc=new _0x4242a9(_0x26b6a1?'Invalid\x20WebSocket\x20frame:\x20'+_0x36f708:_0x36f708);return Error[_0x2b21f9(0xcd)](_0x12b8fc,this[_0x2b21f9(0x1bf)]),_0x12b8fc[_0x2b21f9(0x224)]=_0x301a84,_0x12b8fc[_0xc5a5bd]=_0x3e91cb,_0x12b8fc;}}return Se=_0x3f164d,Se;}var Ee,Xe;function ft(){const _0x3748ed=_0x40f040;if(Xe)return Ee;Xe=0x1;const {Duplex:_0xeec9dc}=oe,{randomFillSync:_0x54dbba}=Le,_0xe2bd4c=he(),{EMPTY_BUFFER:_0x4a4c4c,kWebSocket:_0x255360,NOOP:_0x31efa1}=H(),{isBlob:_0xb33368,isValidStatusCode:_0x1527eb}=ae(),{mask:_0xbc681c,toBuffer:_0x39658c}=ce(),_0xcbc218=Symbol(_0x3748ed(0x126)),_0x3af1b5=Buffer[_0x3748ed(0x15f)](0x4),_0x55a758=0x8*0x400;let _0x17bdbe,_0x115e48=_0x55a758;const _0x2e49b6=0x0,_0x195b67=0x1,_0x3d6915=0x2;class _0x441df5{constructor(_0x333290,_0xa9345f,_0x3dbc1e){const _0x34778c=_0x3748ed;this[_0x34778c(0x1e8)]=_0xa9345f||{},_0x3dbc1e&&(this['_generateMask']=_0x3dbc1e,this[_0x34778c(0x14c)]=Buffer[_0x34778c(0x15f)](0x4)),this['_socket']=_0x333290,this[_0x34778c(0x1cf)]=!0x0,this[_0x34778c(0x104)]=!0x1,this[_0x34778c(0x136)]=0x0,this[_0x34778c(0xe6)]=[],this[_0x34778c(0x130)]=_0x2e49b6,this[_0x34778c(0x158)]=_0x31efa1,this[_0x255360]=void 0x0;}static[_0x3748ed(0x23d)](_0x5ac754,_0x170bd4){const _0x40de77=_0x3748ed;let _0x2bacb7,_0x3cd4c9=!0x1,_0x1b25ef=0x2,_0x1867fe=!0x1;_0x170bd4['mask']&&(_0x2bacb7=_0x170bd4[_0x40de77(0x83)]||_0x3af1b5,_0x170bd4[_0x40de77(0xd4)]?_0x170bd4['generateMask'](_0x2bacb7):(_0x115e48===_0x55a758&&(_0x17bdbe===void 0x0&&(_0x17bdbe=Buffer[_0x40de77(0x15f)](_0x55a758)),_0x54dbba(_0x17bdbe,0x0,_0x55a758),_0x115e48=0x0),_0x2bacb7[0x0]=_0x17bdbe[_0x115e48++],_0x2bacb7[0x1]=_0x17bdbe[_0x115e48++],_0x2bacb7[0x2]=_0x17bdbe[_0x115e48++],_0x2bacb7[0x3]=_0x17bdbe[_0x115e48++]),_0x1867fe=(_0x2bacb7[0x0]|_0x2bacb7[0x1]|_0x2bacb7[0x2]|_0x2bacb7[0x3])===0x0,_0x1b25ef=0x6);let _0xabc579;typeof _0x5ac754==_0x40de77(0x76)?(!_0x170bd4['mask']||_0x1867fe)&&_0x170bd4[_0xcbc218]!==void 0x0?_0xabc579=_0x170bd4[_0xcbc218]:(_0x5ac754=Buffer[_0x40de77(0x1ba)](_0x5ac754),_0xabc579=_0x5ac754['length']):(_0xabc579=_0x5ac754[_0x40de77(0x16e)],_0x3cd4c9=_0x170bd4[_0x40de77(0xb2)]&&_0x170bd4[_0x40de77(0x1c3)]&&!_0x1867fe);let _0x427374=_0xabc579;_0xabc579>=0x10000?(_0x1b25ef+=0x8,_0x427374=0x7f):_0xabc579>0x7d&&(_0x1b25ef+=0x2,_0x427374=0x7e);const _0x382017=Buffer['allocUnsafe'](_0x3cd4c9?_0xabc579+_0x1b25ef:_0x1b25ef);return _0x382017[0x0]=_0x170bd4[_0x40de77(0x1e5)]?_0x170bd4[_0x40de77(0xc2)]|0x80:_0x170bd4[_0x40de77(0xc2)],_0x170bd4['rsv1']&&(_0x382017[0x0]|=0x40),_0x382017[0x1]=_0x427374,_0x427374===0x7e?_0x382017[_0x40de77(0xda)](_0xabc579,0x2):_0x427374===0x7f&&(_0x382017[0x2]=_0x382017[0x3]=0x0,_0x382017['writeUIntBE'](_0xabc579,0x4,0x6)),_0x170bd4[_0x40de77(0xb2)]?(_0x382017[0x1]|=0x80,_0x382017[_0x1b25ef-0x4]=_0x2bacb7[0x0],_0x382017[_0x1b25ef-0x3]=_0x2bacb7[0x1],_0x382017[_0x1b25ef-0x2]=_0x2bacb7[0x2],_0x382017[_0x1b25ef-0x1]=_0x2bacb7[0x3],_0x1867fe?[_0x382017,_0x5ac754]:_0x3cd4c9?(_0xbc681c(_0x5ac754,_0x2bacb7,_0x382017,_0x1b25ef,_0xabc579),[_0x382017]):(_0xbc681c(_0x5ac754,_0x2bacb7,_0x5ac754,0x0,_0xabc579),[_0x382017,_0x5ac754])):[_0x382017,_0x5ac754];}[_0x3748ed(0xe3)](_0x5a7f74,_0x4fdd40,_0x8b3aea,_0x4fe806){const _0x20dd7d=_0x3748ed;let _0x40d5b4;if(_0x5a7f74===void 0x0)_0x40d5b4=_0x4a4c4c;else{if(typeof _0x5a7f74!=_0x20dd7d(0x101)||!_0x1527eb(_0x5a7f74))throw new TypeError(_0x20dd7d(0x11a));if(_0x4fdd40===void 0x0||!_0x4fdd40['length'])_0x40d5b4=Buffer[_0x20dd7d(0x23c)](0x2),_0x40d5b4[_0x20dd7d(0xda)](_0x5a7f74,0x0);else{const _0xcb0916=Buffer['byteLength'](_0x4fdd40);if(_0xcb0916>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x40d5b4=Buffer[_0x20dd7d(0x23c)](0x2+_0xcb0916),_0x40d5b4[_0x20dd7d(0xda)](_0x5a7f74,0x0),typeof _0x4fdd40==_0x20dd7d(0x76)?_0x40d5b4[_0x20dd7d(0x1bb)](_0x4fdd40,0x2):_0x40d5b4[_0x20dd7d(0xe4)](_0x4fdd40,0x2);}}const _0x106471={[_0xcbc218]:_0x40d5b4[_0x20dd7d(0x16e)],'fin':!0x0,'generateMask':this[_0x20dd7d(0x161)],'mask':_0x8b3aea,'maskBuffer':this[_0x20dd7d(0x14c)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x20dd7d(0x130)]!==_0x2e49b6?this[_0x20dd7d(0x1cd)]([this[_0x20dd7d(0x1bd)],_0x40d5b4,!0x1,_0x106471,_0x4fe806]):this[_0x20dd7d(0x1a7)](_0x441df5['frame'](_0x40d5b4,_0x106471),_0x4fe806);}[_0x3748ed(0x10a)](_0x4446dd,_0x11492d,_0x5d4066){const _0x2ade3f=_0x3748ed;let _0x61d600,_0x2c71e7;if(typeof _0x4446dd==_0x2ade3f(0x76)?(_0x61d600=Buffer[_0x2ade3f(0xa6)](_0x4446dd),_0x2c71e7=!0x1):_0xb33368(_0x4446dd)?(_0x61d600=_0x4446dd[_0x2ade3f(0x22e)],_0x2c71e7=!0x1):(_0x4446dd=_0x39658c(_0x4446dd),_0x61d600=_0x4446dd['length'],_0x2c71e7=_0x39658c[_0x2ade3f(0x1c3)]),_0x61d600>0x7d)throw new RangeError(_0x2ade3f(0x11e));const _0x3d6288={[_0xcbc218]:_0x61d600,'fin':!0x0,'generateMask':this[_0x2ade3f(0x161)],'mask':_0x11492d,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x2c71e7,'rsv1':!0x1};_0xb33368(_0x4446dd)?this['_state']!==_0x2e49b6?this[_0x2ade3f(0x1cd)]([this['getBlobData'],_0x4446dd,!0x1,_0x3d6288,_0x5d4066]):this[_0x2ade3f(0x144)](_0x4446dd,!0x1,_0x3d6288,_0x5d4066):this[_0x2ade3f(0x130)]!==_0x2e49b6?this[_0x2ade3f(0x1cd)]([this['dispatch'],_0x4446dd,!0x1,_0x3d6288,_0x5d4066]):this[_0x2ade3f(0x1a7)](_0x441df5[_0x2ade3f(0x23d)](_0x4446dd,_0x3d6288),_0x5d4066);}['pong'](_0x31f1a8,_0x4597ed,_0x1fe30e){const _0x21f64b=_0x3748ed;let _0x3a9e7e,_0x396420;if(typeof _0x31f1a8==_0x21f64b(0x76)?(_0x3a9e7e=Buffer[_0x21f64b(0xa6)](_0x31f1a8),_0x396420=!0x1):_0xb33368(_0x31f1a8)?(_0x3a9e7e=_0x31f1a8[_0x21f64b(0x22e)],_0x396420=!0x1):(_0x31f1a8=_0x39658c(_0x31f1a8),_0x3a9e7e=_0x31f1a8[_0x21f64b(0x16e)],_0x396420=_0x39658c['readOnly']),_0x3a9e7e>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x4c2b37={[_0xcbc218]:_0x3a9e7e,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x4597ed,'maskBuffer':this[_0x21f64b(0x14c)],'opcode':0xa,'readOnly':_0x396420,'rsv1':!0x1};_0xb33368(_0x31f1a8)?this[_0x21f64b(0x130)]!==_0x2e49b6?this[_0x21f64b(0x1cd)]([this[_0x21f64b(0x144)],_0x31f1a8,!0x1,_0x4c2b37,_0x1fe30e]):this[_0x21f64b(0x144)](_0x31f1a8,!0x1,_0x4c2b37,_0x1fe30e):this[_0x21f64b(0x130)]!==_0x2e49b6?this[_0x21f64b(0x1cd)]([this[_0x21f64b(0x1bd)],_0x31f1a8,!0x1,_0x4c2b37,_0x1fe30e]):this[_0x21f64b(0x1a7)](_0x441df5[_0x21f64b(0x23d)](_0x31f1a8,_0x4c2b37),_0x1fe30e);}['send'](_0x309bf6,_0x2a34d2,_0x213445){const _0x32ea65=_0x3748ed,_0x2f0402=this[_0x32ea65(0x1e8)][_0xe2bd4c['extensionName']];let _0x5caf8b=_0x2a34d2[_0x32ea65(0x1d9)]?0x2:0x1,_0x48f589=_0x2a34d2[_0x32ea65(0x232)],_0x15e4be,_0x176883;typeof _0x309bf6=='string'?(_0x15e4be=Buffer[_0x32ea65(0xa6)](_0x309bf6),_0x176883=!0x1):_0xb33368(_0x309bf6)?(_0x15e4be=_0x309bf6[_0x32ea65(0x22e)],_0x176883=!0x1):(_0x309bf6=_0x39658c(_0x309bf6),_0x15e4be=_0x309bf6[_0x32ea65(0x16e)],_0x176883=_0x39658c[_0x32ea65(0x1c3)]),this[_0x32ea65(0x1cf)]?(this[_0x32ea65(0x1cf)]=!0x1,_0x48f589&&_0x2f0402&&_0x2f0402['params'][_0x2f0402[_0x32ea65(0x74)]?_0x32ea65(0x1ee):_0x32ea65(0x1df)]&&(_0x48f589=_0x15e4be>=_0x2f0402['_threshold']),this['_compress']=_0x48f589):(_0x48f589=!0x1,_0x5caf8b=0x0),_0x2a34d2[_0x32ea65(0x1e5)]&&(this[_0x32ea65(0x1cf)]=!0x0);const _0x514fac={[_0xcbc218]:_0x15e4be,'fin':_0x2a34d2[_0x32ea65(0x1e5)],'generateMask':this[_0x32ea65(0x161)],'mask':_0x2a34d2['mask'],'maskBuffer':this[_0x32ea65(0x14c)],'opcode':_0x5caf8b,'readOnly':_0x176883,'rsv1':_0x48f589};_0xb33368(_0x309bf6)?this[_0x32ea65(0x130)]!==_0x2e49b6?this[_0x32ea65(0x1cd)]([this[_0x32ea65(0x144)],_0x309bf6,this[_0x32ea65(0x104)],_0x514fac,_0x213445]):this[_0x32ea65(0x144)](_0x309bf6,this[_0x32ea65(0x104)],_0x514fac,_0x213445):this[_0x32ea65(0x130)]!==_0x2e49b6?this[_0x32ea65(0x1cd)]([this[_0x32ea65(0x1bd)],_0x309bf6,this[_0x32ea65(0x104)],_0x514fac,_0x213445]):this[_0x32ea65(0x1bd)](_0x309bf6,this[_0x32ea65(0x104)],_0x514fac,_0x213445);}[_0x3748ed(0x144)](_0x3df625,_0x3dbfc9,_0x4521e0,_0x1b7646){const _0x15d92b=_0x3748ed;this[_0x15d92b(0x136)]+=_0x4521e0[_0xcbc218],this[_0x15d92b(0x130)]=_0x3d6915,_0x3df625['arrayBuffer']()[_0x15d92b(0x1d7)](_0x1dee36=>{const _0x3d32b5=_0x15d92b;if(this['_socket'][_0x3d32b5(0x17c)]){const _0x2ef782=new Error(_0x3d32b5(0xd3));process[_0x3d32b5(0xaa)](_0x8dc8d6,this,_0x2ef782,_0x1b7646);return;}this[_0x3d32b5(0x136)]-=_0x4521e0[_0xcbc218];const _0x5548a2=_0x39658c(_0x1dee36);_0x3dbfc9?this[_0x3d32b5(0x1bd)](_0x5548a2,_0x3dbfc9,_0x4521e0,_0x1b7646):(this[_0x3d32b5(0x130)]=_0x2e49b6,this['sendFrame'](_0x441df5['frame'](_0x5548a2,_0x4521e0),_0x1b7646),this[_0x3d32b5(0x1cb)]());})[_0x15d92b(0xe0)](_0x585d9e=>{const _0xd37c2a=_0x15d92b;process[_0xd37c2a(0xaa)](_0x22025a,this,_0x585d9e,_0x1b7646);});}[_0x3748ed(0x1bd)](_0x531b06,_0x836ac8,_0x3541e4,_0x3374b4){const _0x91f264=_0x3748ed;if(!_0x836ac8){this['sendFrame'](_0x441df5[_0x91f264(0x23d)](_0x531b06,_0x3541e4),_0x3374b4);return;}const _0x576c17=this[_0x91f264(0x1e8)][_0xe2bd4c[_0x91f264(0x1ed)]];this[_0x91f264(0x136)]+=_0x3541e4[_0xcbc218],this[_0x91f264(0x130)]=_0x195b67,_0x576c17[_0x91f264(0x232)](_0x531b06,_0x3541e4['fin'],(_0x20db02,_0x1a13df)=>{const _0x5c8696=_0x91f264;if(this['_socket']['destroyed']){const _0x37ed10=new Error(_0x5c8696(0x162));_0x8dc8d6(this,_0x37ed10,_0x3374b4);return;}this['_bufferedBytes']-=_0x3541e4[_0xcbc218],this[_0x5c8696(0x130)]=_0x2e49b6,_0x3541e4['readOnly']=!0x1,this['sendFrame'](_0x441df5['frame'](_0x1a13df,_0x3541e4),_0x3374b4),this['dequeue']();});}[_0x3748ed(0x1cb)](){const _0x2e30ec=_0x3748ed;for(;this[_0x2e30ec(0x130)]===_0x2e49b6&&this[_0x2e30ec(0xe6)][_0x2e30ec(0x16e)];){const _0x10e409=this[_0x2e30ec(0xe6)][_0x2e30ec(0x137)]();this['_bufferedBytes']-=_0x10e409[0x3][_0xcbc218],Reflect['apply'](_0x10e409[0x0],this,_0x10e409[_0x2e30ec(0x202)](0x1));}}[_0x3748ed(0x1cd)](_0xf34fa0){const _0x3e5c75=_0x3748ed;this[_0x3e5c75(0x136)]+=_0xf34fa0[0x3][_0xcbc218],this['_queue'][_0x3e5c75(0x186)](_0xf34fa0);}[_0x3748ed(0x1a7)](_0x17cefb,_0x36b1b4){const _0x3d46ef=_0x3748ed;_0x17cefb[_0x3d46ef(0x16e)]===0x2?(this[_0x3d46ef(0x11c)]['cork'](),this['_socket']['write'](_0x17cefb[0x0]),this['_socket'][_0x3d46ef(0x1bb)](_0x17cefb[0x1],_0x36b1b4),this[_0x3d46ef(0x11c)]['uncork']()):this[_0x3d46ef(0x11c)]['write'](_0x17cefb[0x0],_0x36b1b4);}}Ee=_0x441df5;function _0x8dc8d6(_0x23dc8d,_0x14cac8,_0x5ec87b){const _0x31eacb=_0x3748ed;typeof _0x5ec87b==_0x31eacb(0x1f8)&&_0x5ec87b(_0x14cac8);for(let _0x30d5ba=0x0;_0x30d5ba<_0x23dc8d['_queue'][_0x31eacb(0x16e)];_0x30d5ba++){const _0x522ba9=_0x23dc8d['_queue'][_0x30d5ba],_0x1c7591=_0x522ba9[_0x522ba9[_0x31eacb(0x16e)]-0x1];typeof _0x1c7591=='function'&&_0x1c7591(_0x14cac8);}}function _0x22025a(_0x4ed405,_0x592990,_0x230bc7){const _0x3d1bc0=_0x3748ed;_0x8dc8d6(_0x4ed405,_0x592990,_0x230bc7),_0x4ed405[_0x3d1bc0(0x158)](_0x592990);}return Ee;}var xe,Ze;function It(){const _0x4360be=_0x40f040;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x2a2f19,kListener:_0x160d55}=H(),_0x2d47cb=Symbol(_0x4360be(0x1b4)),_0x3aff07=Symbol(_0x4360be(0x225)),_0x42ab38=Symbol(_0x4360be(0x220)),_0x2d0131=Symbol(_0x4360be(0x117)),_0x2f8e89=Symbol(_0x4360be(0x184)),_0x1a5342=Symbol('kTarget'),_0x16258f=Symbol(_0x4360be(0xd9)),_0x221d4c=Symbol(_0x4360be(0x131));class _0x15a7ab{constructor(_0x550250){this[_0x1a5342]=null,this[_0x16258f]=_0x550250;}get[_0x4360be(0x9e)](){return this[_0x1a5342];}get[_0x4360be(0x111)](){return this[_0x16258f];}}Object[_0x4360be(0x198)](_0x15a7ab[_0x4360be(0x200)],_0x4360be(0x9e),{'enumerable':!0x0}),Object['defineProperty'](_0x15a7ab[_0x4360be(0x200)],'type',{'enumerable':!0x0});class _0x1c5d83 extends _0x15a7ab{constructor(_0x4ffd66,_0x46b242={}){const _0xf868ab=_0x4360be;super(_0x4ffd66),this[_0x2d47cb]=_0x46b242[_0xf868ab(0x224)]===void 0x0?0x0:_0x46b242[_0xf868ab(0x224)],this[_0x2f8e89]=_0x46b242['reason']===void 0x0?'':_0x46b242[_0xf868ab(0x20c)],this[_0x221d4c]=_0x46b242[_0xf868ab(0x227)]===void 0x0?!0x1:_0x46b242[_0xf868ab(0x227)];}get[_0x4360be(0x224)](){return this[_0x2d47cb];}get['reason'](){return this[_0x2f8e89];}get[_0x4360be(0x227)](){return this[_0x221d4c];}}Object[_0x4360be(0x198)](_0x1c5d83['prototype'],'code',{'enumerable':!0x0}),Object[_0x4360be(0x198)](_0x1c5d83[_0x4360be(0x200)],_0x4360be(0x20c),{'enumerable':!0x0}),Object[_0x4360be(0x198)](_0x1c5d83[_0x4360be(0x200)],_0x4360be(0x227),{'enumerable':!0x0});class _0x5e6068 extends _0x15a7ab{constructor(_0x1bf682,_0x489390={}){const _0x5491df=_0x4360be;super(_0x1bf682),this[_0x42ab38]=_0x489390[_0x5491df(0xdd)]===void 0x0?null:_0x489390[_0x5491df(0xdd)],this[_0x2d0131]=_0x489390[_0x5491df(0x168)]===void 0x0?'':_0x489390[_0x5491df(0x168)];}get[_0x4360be(0xdd)](){return this[_0x42ab38];}get[_0x4360be(0x168)](){return this[_0x2d0131];}}Object[_0x4360be(0x198)](_0x5e6068[_0x4360be(0x200)],_0x4360be(0xdd),{'enumerable':!0x0}),Object[_0x4360be(0x198)](_0x5e6068[_0x4360be(0x200)],_0x4360be(0x168),{'enumerable':!0x0});class _0x2a1a3d extends _0x15a7ab{constructor(_0xbeaf78,_0x245839={}){const _0x5be311=_0x4360be;super(_0xbeaf78),this[_0x3aff07]=_0x245839[_0x5be311(0xb6)]===void 0x0?null:_0x245839[_0x5be311(0xb6)];}get[_0x4360be(0xb6)](){return this[_0x3aff07];}}Object[_0x4360be(0x198)](_0x2a1a3d[_0x4360be(0x200)],_0x4360be(0xb6),{'enumerable':!0x0}),xe={'CloseEvent':_0x1c5d83,'ErrorEvent':_0x5e6068,'Event':_0x15a7ab,'EventTarget':{'addEventListener'(_0x48a4d,_0x29540c,_0x43f6b6={}){const _0x119523=_0x4360be;for(const _0x125f4d of this[_0x119523(0xae)](_0x48a4d))if(!_0x43f6b6[_0x2a2f19]&&_0x125f4d[_0x160d55]===_0x29540c&&!_0x125f4d[_0x2a2f19])return;let _0x3de815;if(_0x48a4d==='message')_0x3de815=function(_0x3a0661,_0xcd9e5d){const _0x2132de=_0x119523,_0x7e9b48=new _0x2a1a3d(_0x2132de(0x168),{'data':_0xcd9e5d?_0x3a0661:_0x3a0661['toString']()});_0x7e9b48[_0x1a5342]=this,_0x3e815f(_0x29540c,this,_0x7e9b48);};else{if(_0x48a4d===_0x119523(0xe3))_0x3de815=function(_0x29b31f,_0x460195){const _0x2785fc=_0x119523,_0x31b015=new _0x1c5d83(_0x2785fc(0xe3),{'code':_0x29b31f,'reason':_0x460195[_0x2785fc(0x82)](),'wasClean':this[_0x2785fc(0x107)]&&this[_0x2785fc(0x1d2)]});_0x31b015[_0x1a5342]=this,_0x3e815f(_0x29540c,this,_0x31b015);};else{if(_0x48a4d===_0x119523(0xdd))_0x3de815=function(_0x2d228a){const _0x5c1468=_0x119523,_0x3d49f0=new _0x5e6068(_0x5c1468(0xdd),{'error':_0x2d228a,'message':_0x2d228a['message']});_0x3d49f0[_0x1a5342]=this,_0x3e815f(_0x29540c,this,_0x3d49f0);};else{if(_0x48a4d===_0x119523(0x115))_0x3de815=function(){const _0x4feb29=new _0x15a7ab('open');_0x4feb29[_0x1a5342]=this,_0x3e815f(_0x29540c,this,_0x4feb29);};else return;}}}_0x3de815[_0x2a2f19]=!!_0x43f6b6[_0x2a2f19],_0x3de815[_0x160d55]=_0x29540c,_0x43f6b6[_0x119523(0xc0)]?this['once'](_0x48a4d,_0x3de815):this['on'](_0x48a4d,_0x3de815);},'removeEventListener'(_0x3c8755,_0x5eb2c9){const _0x462617=_0x4360be;for(const _0x1216ab of this[_0x462617(0xae)](_0x3c8755))if(_0x1216ab[_0x160d55]===_0x5eb2c9&&!_0x1216ab[_0x2a2f19]){this[_0x462617(0x18f)](_0x3c8755,_0x1216ab);break;}}},'MessageEvent':_0x2a1a3d};function _0x3e815f(_0x28354f,_0x57142a,_0x3d3401){const _0x31e0c7=_0x4360be;typeof _0x28354f==_0x31e0c7(0x1f6)&&_0x28354f['handleEvent']?_0x28354f[_0x31e0c7(0x108)][_0x31e0c7(0xbb)](_0x28354f,_0x3d3401):_0x28354f['call'](_0x57142a,_0x3d3401);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x287621}=ae();function _0x25dd2a(_0x3a67f7,_0x4e197b,_0x3b3045){const _0xf89e5e=_0x4e52;_0x3a67f7[_0x4e197b]===void 0x0?_0x3a67f7[_0x4e197b]=[_0x3b3045]:_0x3a67f7[_0x4e197b][_0xf89e5e(0x186)](_0x3b3045);}function _0x1edfb6(_0x329d25){const _0xc3b603=_0x4e52,_0x29ddc9=Object[_0xc3b603(0x1c1)](null);let _0x4be53b=Object[_0xc3b603(0x1c1)](null),_0x6a62a8=!0x1,_0x358bd4=!0x1,_0x5fa9e1=!0x1,_0x1594dd,_0x140326,_0x167331=-0x1,_0x4e2aa3=-0x1,_0x18465c=-0x1,_0xe9726d=0x0;for(;_0xe9726d<_0x329d25[_0xc3b603(0x16e)];_0xe9726d++)if(_0x4e2aa3=_0x329d25[_0xc3b603(0x1a6)](_0xe9726d),_0x1594dd===void 0x0){if(_0x18465c===-0x1&&_0x287621[_0x4e2aa3]===0x1)_0x167331===-0x1&&(_0x167331=_0xe9726d);else{if(_0xe9726d!==0x0&&(_0x4e2aa3===0x20||_0x4e2aa3===0x9))_0x18465c===-0x1&&_0x167331!==-0x1&&(_0x18465c=_0xe9726d);else{if(_0x4e2aa3===0x3b||_0x4e2aa3===0x2c){if(_0x167331===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xe9726d);_0x18465c===-0x1&&(_0x18465c=_0xe9726d);const _0x36a598=_0x329d25[_0xc3b603(0x202)](_0x167331,_0x18465c);_0x4e2aa3===0x2c?(_0x25dd2a(_0x29ddc9,_0x36a598,_0x4be53b),_0x4be53b=Object[_0xc3b603(0x1c1)](null)):_0x1594dd=_0x36a598,_0x167331=_0x18465c=-0x1;}else throw new SyntaxError(_0xc3b603(0xea)+_0xe9726d);}}}else{if(_0x140326===void 0x0){if(_0x18465c===-0x1&&_0x287621[_0x4e2aa3]===0x1)_0x167331===-0x1&&(_0x167331=_0xe9726d);else{if(_0x4e2aa3===0x20||_0x4e2aa3===0x9)_0x18465c===-0x1&&_0x167331!==-0x1&&(_0x18465c=_0xe9726d);else{if(_0x4e2aa3===0x3b||_0x4e2aa3===0x2c){if(_0x167331===-0x1)throw new SyntaxError(_0xc3b603(0xea)+_0xe9726d);_0x18465c===-0x1&&(_0x18465c=_0xe9726d),_0x25dd2a(_0x4be53b,_0x329d25[_0xc3b603(0x202)](_0x167331,_0x18465c),!0x0),_0x4e2aa3===0x2c&&(_0x25dd2a(_0x29ddc9,_0x1594dd,_0x4be53b),_0x4be53b=Object[_0xc3b603(0x1c1)](null),_0x1594dd=void 0x0),_0x167331=_0x18465c=-0x1;}else{if(_0x4e2aa3===0x3d&&_0x167331!==-0x1&&_0x18465c===-0x1)_0x140326=_0x329d25[_0xc3b603(0x202)](_0x167331,_0xe9726d),_0x167331=_0x18465c=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xe9726d);}}}}else{if(_0x358bd4){if(_0x287621[_0x4e2aa3]!==0x1)throw new SyntaxError(_0xc3b603(0xea)+_0xe9726d);_0x167331===-0x1?_0x167331=_0xe9726d:_0x6a62a8||(_0x6a62a8=!0x0),_0x358bd4=!0x1;}else{if(_0x5fa9e1){if(_0x287621[_0x4e2aa3]===0x1)_0x167331===-0x1&&(_0x167331=_0xe9726d);else{if(_0x4e2aa3===0x22&&_0x167331!==-0x1)_0x5fa9e1=!0x1,_0x18465c=_0xe9726d;else{if(_0x4e2aa3===0x5c)_0x358bd4=!0x0;else throw new SyntaxError(_0xc3b603(0xea)+_0xe9726d);}}}else{if(_0x4e2aa3===0x22&&_0x329d25[_0xc3b603(0x1a6)](_0xe9726d-0x1)===0x3d)_0x5fa9e1=!0x0;else{if(_0x18465c===-0x1&&_0x287621[_0x4e2aa3]===0x1)_0x167331===-0x1&&(_0x167331=_0xe9726d);else{if(_0x167331!==-0x1&&(_0x4e2aa3===0x20||_0x4e2aa3===0x9))_0x18465c===-0x1&&(_0x18465c=_0xe9726d);else{if(_0x4e2aa3===0x3b||_0x4e2aa3===0x2c){if(_0x167331===-0x1)throw new SyntaxError(_0xc3b603(0xea)+_0xe9726d);_0x18465c===-0x1&&(_0x18465c=_0xe9726d);let _0x12936b=_0x329d25[_0xc3b603(0x202)](_0x167331,_0x18465c);_0x6a62a8&&(_0x12936b=_0x12936b['replace'](/\\/g,''),_0x6a62a8=!0x1),_0x25dd2a(_0x4be53b,_0x140326,_0x12936b),_0x4e2aa3===0x2c&&(_0x25dd2a(_0x29ddc9,_0x1594dd,_0x4be53b),_0x4be53b=Object[_0xc3b603(0x1c1)](null),_0x1594dd=void 0x0),_0x140326=void 0x0,_0x167331=_0x18465c=-0x1;}else throw new SyntaxError(_0xc3b603(0xea)+_0xe9726d);}}}}}}}if(_0x167331===-0x1||_0x5fa9e1||_0x4e2aa3===0x20||_0x4e2aa3===0x9)throw new SyntaxError(_0xc3b603(0x240));_0x18465c===-0x1&&(_0x18465c=_0xe9726d);const _0x1c9a5e=_0x329d25['slice'](_0x167331,_0x18465c);return _0x1594dd===void 0x0?_0x25dd2a(_0x29ddc9,_0x1c9a5e,_0x4be53b):(_0x140326===void 0x0?_0x25dd2a(_0x4be53b,_0x1c9a5e,!0x0):_0x6a62a8?_0x25dd2a(_0x4be53b,_0x140326,_0x1c9a5e[_0xc3b603(0xd2)](/\\/g,'')):_0x25dd2a(_0x4be53b,_0x140326,_0x1c9a5e),_0x25dd2a(_0x29ddc9,_0x1594dd,_0x4be53b)),_0x29ddc9;}function _0x2bbe45(_0x185c27){const _0x4d09b1=_0x4e52;return Object[_0x4d09b1(0x1d3)](_0x185c27)[_0x4d09b1(0x183)](_0xdd823b=>{const _0x475b3f=_0x4d09b1;let _0x3130b4=_0x185c27[_0xdd823b];return Array[_0x475b3f(0x1fe)](_0x3130b4)||(_0x3130b4=[_0x3130b4]),_0x3130b4[_0x475b3f(0x183)](_0x20ac64=>[_0xdd823b][_0x475b3f(0x175)](Object[_0x475b3f(0x1d3)](_0x20ac64)[_0x475b3f(0x183)](_0x5604a2=>{const _0x1b2c1f=_0x475b3f;let _0x2a3784=_0x20ac64[_0x5604a2];return Array[_0x1b2c1f(0x1fe)](_0x2a3784)||(_0x2a3784=[_0x2a3784]),_0x2a3784[_0x1b2c1f(0x183)](_0x55b4a3=>_0x55b4a3===!0x0?_0x5604a2:_0x5604a2+'='+_0x55b4a3)[_0x1b2c1f(0x9c)](';\x20');}))[_0x475b3f(0x9c)](';\x20'))['join'](',\x20');})[_0x4d09b1(0x9c)](',\x20');}return be={'format':_0x2bbe45,'parse':_0x1edfb6},be;}var we,Je;function Pe(){const _0x4b845a=_0x40f040;if(Je)return we;Je=0x1;const _0x5c643f=nt,_0x5ab258=vt,_0xb45f36=ot,_0x329356=St,_0x149168=Et,{randomBytes:_0x164b74,createHash:_0x37e5dc}=Le,{Duplex:_0x55a115,Readable:_0x4767d6}=oe,{URL:_0x107bbb}=xt,_0x54000d=he(),_0x26623e=lt(),_0x451ea5=ft(),{isBlob:_0x1e35b3}=ae(),{BINARY_TYPES:_0xab2174,EMPTY_BUFFER:_0x19e447,GUID:_0x110f33,kForOnEventAttribute:_0x1b729f,kListener:_0x532aed,kStatusCode:_0x4dfd4c,kWebSocket:_0x79a2d4,NOOP:_0x386223}=H(),{EventTarget:{addEventListener:_0x20d650,removeEventListener:_0x221ce6}}=It(),{format:_0x2ac5b8,parse:_0x349fe7}=ct(),{toBuffer:_0x361352}=ce(),_0xa8c432=0x1e*0x3e8,_0x3a629b=Symbol(_0x4b845a(0x1ce)),_0x3f68b2=[0x8,0xd],_0x354c00=[_0x4b845a(0x16a),'OPEN',_0x4b845a(0x20a),_0x4b845a(0x7e)],_0x5a011f=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x16d9dd extends _0x5c643f{constructor(_0x901858,_0x5de652,_0x2d7047){const _0x197f49=_0x4b845a;super(),this['_binaryType']=_0xab2174[0x0],this[_0x197f49(0xa4)]=0x3ee,this[_0x197f49(0x107)]=!0x1,this[_0x197f49(0x1d2)]=!0x1,this[_0x197f49(0x163)]=_0x19e447,this['_closeTimer']=null,this[_0x197f49(0x102)]=!0x1,this[_0x197f49(0x1e8)]={},this[_0x197f49(0x178)]=!0x1,this[_0x197f49(0x185)]='',this[_0x197f49(0x7b)]=_0x16d9dd[_0x197f49(0x16a)],this['_receiver']=null,this[_0x197f49(0x94)]=null,this[_0x197f49(0x11c)]=null,_0x901858!==null?(this[_0x197f49(0x1dc)]=0x0,this[_0x197f49(0x74)]=!0x1,this[_0x197f49(0x19c)]=0x0,_0x5de652===void 0x0?_0x5de652=[]:Array[_0x197f49(0x1fe)](_0x5de652)||(typeof _0x5de652==_0x197f49(0x1f6)&&_0x5de652!==null?(_0x2d7047=_0x5de652,_0x5de652=[]):_0x5de652=[_0x5de652]),_0x2e4f31(this,_0x901858,_0x5de652,_0x2d7047)):(this[_0x197f49(0x96)]=_0x2d7047[_0x197f49(0x143)],this[_0x197f49(0x74)]=!0x0);}get[_0x4b845a(0x21f)](){const _0x347ca7=_0x4b845a;return this[_0x347ca7(0x10b)];}set[_0x4b845a(0x21f)](_0x5ec05f){const _0x2e6eff=_0x4b845a;_0xab2174['includes'](_0x5ec05f)&&(this[_0x2e6eff(0x10b)]=_0x5ec05f,this['_receiver']&&(this[_0x2e6eff(0xdc)][_0x2e6eff(0x10b)]=_0x5ec05f));}get[_0x4b845a(0x21c)](){const _0x570f74=_0x4b845a;return this['_socket']?this[_0x570f74(0x11c)][_0x570f74(0x230)][_0x570f74(0x16e)]+this[_0x570f74(0x94)][_0x570f74(0x136)]:this[_0x570f74(0x1dc)];}get[_0x4b845a(0x122)](){const _0x35a30f=_0x4b845a;return Object[_0x35a30f(0x1d3)](this[_0x35a30f(0x1e8)])[_0x35a30f(0x9c)]();}get[_0x4b845a(0x99)](){const _0x50c7c6=_0x4b845a;return this[_0x50c7c6(0x178)];}get[_0x4b845a(0x86)](){return null;}get[_0x4b845a(0x158)](){return null;}get[_0x4b845a(0x1fd)](){return null;}get[_0x4b845a(0x1ac)](){return null;}get[_0x4b845a(0xb8)](){const _0x2c3bd0=_0x4b845a;return this[_0x2c3bd0(0x185)];}get['readyState'](){return this['_readyState'];}get[_0x4b845a(0x15b)](){const _0x77280c=_0x4b845a;return this[_0x77280c(0x1f1)];}['setSocket'](_0x552317,_0x5f4f91,_0x47acb5){const _0x37439a=_0x4b845a,_0x15baa5=new _0x26623e({'allowSynchronousEvents':_0x47acb5[_0x37439a(0x199)],'binaryType':this[_0x37439a(0x21f)],'extensions':this[_0x37439a(0x1e8)],'isServer':this[_0x37439a(0x74)],'maxPayload':_0x47acb5[_0x37439a(0x156)],'skipUTF8Validation':_0x47acb5[_0x37439a(0x10d)]}),_0xb2a6a=new _0x451ea5(_0x552317,this[_0x37439a(0x1e8)],_0x47acb5[_0x37439a(0xd4)]);this[_0x37439a(0xdc)]=_0x15baa5,this[_0x37439a(0x94)]=_0xb2a6a,this[_0x37439a(0x11c)]=_0x552317,_0x15baa5[_0x79a2d4]=this,_0xb2a6a[_0x79a2d4]=this,_0x552317[_0x79a2d4]=this,_0x15baa5['on'](_0x37439a(0x118),_0x39a3e5),_0x15baa5['on'](_0x37439a(0x1e4),_0x473744),_0x15baa5['on']('error',_0x1a11c4),_0x15baa5['on'](_0x37439a(0x168),_0x365d02),_0x15baa5['on'](_0x37439a(0x10a),_0x1243f6),_0x15baa5['on'](_0x37439a(0x1d8),_0x4b5143),_0xb2a6a[_0x37439a(0x158)]=_0x59238a,_0x552317[_0x37439a(0x80)]&&_0x552317['setTimeout'](0x0),_0x552317[_0x37439a(0x205)]&&_0x552317[_0x37439a(0x205)](),_0x5f4f91[_0x37439a(0x16e)]>0x0&&_0x552317['unshift'](_0x5f4f91),_0x552317['on'](_0x37439a(0xe3),_0x1a2b6e),_0x552317['on'](_0x37439a(0xb6),_0x43afb8),_0x552317['on'](_0x37439a(0x129),_0xc7776e),_0x552317['on'](_0x37439a(0xdd),_0x4cab3d),this['_readyState']=_0x16d9dd[_0x37439a(0x181)],this[_0x37439a(0x1fc)]('open');}[_0x4b845a(0x1a4)](){const _0x24d58e=_0x4b845a;if(!this[_0x24d58e(0x11c)]){this[_0x24d58e(0x7b)]=_0x16d9dd[_0x24d58e(0x7e)],this[_0x24d58e(0x1fc)](_0x24d58e(0xe3),this[_0x24d58e(0xa4)],this['_closeMessage']);return;}this[_0x24d58e(0x1e8)][_0x54000d[_0x24d58e(0x1ed)]]&&this[_0x24d58e(0x1e8)][_0x54000d[_0x24d58e(0x1ed)]]['cleanup'](),this['_receiver']['removeAllListeners'](),this[_0x24d58e(0x7b)]=_0x16d9dd['CLOSED'],this[_0x24d58e(0x1fc)](_0x24d58e(0xe3),this[_0x24d58e(0xa4)],this['_closeMessage']);}[_0x4b845a(0xe3)](_0x5cd832,_0x50921e){const _0x39e3e7=_0x4b845a;if(this[_0x39e3e7(0x1c0)]!==_0x16d9dd[_0x39e3e7(0x7e)]){if(this['readyState']===_0x16d9dd[_0x39e3e7(0x16a)]){_0x3bdca7(this,this[_0x39e3e7(0x1c5)],_0x39e3e7(0x14d));return;}if(this[_0x39e3e7(0x1c0)]===_0x16d9dd[_0x39e3e7(0x20a)]){this['_closeFrameSent']&&(this['_closeFrameReceived']||this[_0x39e3e7(0xdc)][_0x39e3e7(0x230)]['errorEmitted'])&&this[_0x39e3e7(0x11c)][_0x39e3e7(0x129)]();return;}this[_0x39e3e7(0x7b)]=_0x16d9dd['CLOSING'],this[_0x39e3e7(0x94)][_0x39e3e7(0xe3)](_0x5cd832,_0x50921e,!this[_0x39e3e7(0x74)],_0x374587=>{const _0x1be1aa=_0x39e3e7;_0x374587||(this['_closeFrameSent']=!0x0,(this[_0x1be1aa(0x107)]||this[_0x1be1aa(0xdc)][_0x1be1aa(0x230)][_0x1be1aa(0x116)])&&this[_0x1be1aa(0x11c)][_0x1be1aa(0x129)]());}),_0x1cb23f(this);}}['pause'](){const _0x4f9334=_0x4b845a;this[_0x4f9334(0x1c0)]===_0x16d9dd[_0x4f9334(0x16a)]||this[_0x4f9334(0x1c0)]===_0x16d9dd[_0x4f9334(0x7e)]||(this[_0x4f9334(0x178)]=!0x0,this[_0x4f9334(0x11c)]['pause']());}[_0x4b845a(0x10a)](_0x16abe2,_0x3eb3d7,_0x6f726d){const _0x26411e=_0x4b845a;if(this[_0x26411e(0x1c0)]===_0x16d9dd['CONNECTING'])throw new Error(_0x26411e(0x1b9));if(typeof _0x16abe2==_0x26411e(0x1f8)?(_0x6f726d=_0x16abe2,_0x16abe2=_0x3eb3d7=void 0x0):typeof _0x3eb3d7==_0x26411e(0x1f8)&&(_0x6f726d=_0x3eb3d7,_0x3eb3d7=void 0x0),typeof _0x16abe2=='number'&&(_0x16abe2=_0x16abe2[_0x26411e(0x82)]()),this['readyState']!==_0x16d9dd[_0x26411e(0x181)]){_0x1ce7ba(this,_0x16abe2,_0x6f726d);return;}_0x3eb3d7===void 0x0&&(_0x3eb3d7=!this[_0x26411e(0x74)]),this[_0x26411e(0x94)][_0x26411e(0x10a)](_0x16abe2||_0x19e447,_0x3eb3d7,_0x6f726d);}['pong'](_0x5754f7,_0x423cb3,_0x870920){const _0x3d2e41=_0x4b845a;if(this[_0x3d2e41(0x1c0)]===_0x16d9dd['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x5754f7==_0x3d2e41(0x1f8)?(_0x870920=_0x5754f7,_0x5754f7=_0x423cb3=void 0x0):typeof _0x423cb3==_0x3d2e41(0x1f8)&&(_0x870920=_0x423cb3,_0x423cb3=void 0x0),typeof _0x5754f7==_0x3d2e41(0x101)&&(_0x5754f7=_0x5754f7[_0x3d2e41(0x82)]()),this[_0x3d2e41(0x1c0)]!==_0x16d9dd[_0x3d2e41(0x181)]){_0x1ce7ba(this,_0x5754f7,_0x870920);return;}_0x423cb3===void 0x0&&(_0x423cb3=!this[_0x3d2e41(0x74)]),this[_0x3d2e41(0x94)][_0x3d2e41(0x1d8)](_0x5754f7||_0x19e447,_0x423cb3,_0x870920);}[_0x4b845a(0x23f)](){const _0x426060=_0x4b845a;this[_0x426060(0x1c0)]===_0x16d9dd[_0x426060(0x16a)]||this[_0x426060(0x1c0)]===_0x16d9dd['CLOSED']||(this[_0x426060(0x178)]=!0x1,this['_receiver']['_writableState'][_0x426060(0x1a9)]||this[_0x426060(0x11c)]['resume']());}[_0x4b845a(0x171)](_0x48f5c8,_0x58e95b,_0x25ae27){const _0x3a4b43=_0x4b845a;if(this['readyState']===_0x16d9dd[_0x3a4b43(0x16a)])throw new Error(_0x3a4b43(0x1b9));if(typeof _0x58e95b==_0x3a4b43(0x1f8)&&(_0x25ae27=_0x58e95b,_0x58e95b={}),typeof _0x48f5c8==_0x3a4b43(0x101)&&(_0x48f5c8=_0x48f5c8['toString']()),this['readyState']!==_0x16d9dd[_0x3a4b43(0x181)]){_0x1ce7ba(this,_0x48f5c8,_0x25ae27);return;}const _0x3df2ed={'binary':typeof _0x48f5c8!=_0x3a4b43(0x76),'mask':!this[_0x3a4b43(0x74)],'compress':!0x0,'fin':!0x0,..._0x58e95b};this[_0x3a4b43(0x1e8)][_0x54000d[_0x3a4b43(0x1ed)]]||(_0x3df2ed[_0x3a4b43(0x232)]=!0x1),this[_0x3a4b43(0x94)][_0x3a4b43(0x171)](_0x48f5c8||_0x19e447,_0x3df2ed,_0x25ae27);}[_0x4b845a(0x7a)](){const _0x270f55=_0x4b845a;if(this['readyState']!==_0x16d9dd[_0x270f55(0x7e)]){if(this[_0x270f55(0x1c0)]===_0x16d9dd[_0x270f55(0x16a)]){_0x3bdca7(this,this[_0x270f55(0x1c5)],_0x270f55(0x14d));return;}this[_0x270f55(0x11c)]&&(this['_readyState']=_0x16d9dd[_0x270f55(0x20a)],this['_socket'][_0x270f55(0x19e)]());}}}Object[_0x4b845a(0x198)](_0x16d9dd,_0x4b845a(0x16a),{'enumerable':!0x0,'value':_0x354c00['indexOf']('CONNECTING')}),Object[_0x4b845a(0x198)](_0x16d9dd[_0x4b845a(0x200)],_0x4b845a(0x16a),{'enumerable':!0x0,'value':_0x354c00[_0x4b845a(0xe5)](_0x4b845a(0x16a))}),Object[_0x4b845a(0x198)](_0x16d9dd,_0x4b845a(0x181),{'enumerable':!0x0,'value':_0x354c00[_0x4b845a(0xe5)]('OPEN')}),Object[_0x4b845a(0x198)](_0x16d9dd['prototype'],_0x4b845a(0x181),{'enumerable':!0x0,'value':_0x354c00[_0x4b845a(0xe5)](_0x4b845a(0x181))}),Object[_0x4b845a(0x198)](_0x16d9dd,_0x4b845a(0x20a),{'enumerable':!0x0,'value':_0x354c00[_0x4b845a(0xe5)](_0x4b845a(0x20a))}),Object[_0x4b845a(0x198)](_0x16d9dd[_0x4b845a(0x200)],_0x4b845a(0x20a),{'enumerable':!0x0,'value':_0x354c00[_0x4b845a(0xe5)](_0x4b845a(0x20a))}),Object['defineProperty'](_0x16d9dd,_0x4b845a(0x7e),{'enumerable':!0x0,'value':_0x354c00[_0x4b845a(0xe5)](_0x4b845a(0x7e))}),Object[_0x4b845a(0x198)](_0x16d9dd['prototype'],_0x4b845a(0x7e),{'enumerable':!0x0,'value':_0x354c00['indexOf'](_0x4b845a(0x7e))}),[_0x4b845a(0x21f),'bufferedAmount',_0x4b845a(0x122),'isPaused',_0x4b845a(0xb8),_0x4b845a(0x1c0),_0x4b845a(0x15b)]['forEach'](_0x158d23=>{const _0x11f76a=_0x4b845a;Object[_0x11f76a(0x198)](_0x16d9dd[_0x11f76a(0x200)],_0x158d23,{'enumerable':!0x0});}),[_0x4b845a(0x115),'error','close',_0x4b845a(0x168)][_0x4b845a(0x13d)](_0x65194c=>{const _0x287cdd=_0x4b845a;Object['defineProperty'](_0x16d9dd[_0x287cdd(0x200)],'on'+_0x65194c,{'enumerable':!0x0,'get'(){for(const _0x2bd54e of this['listeners'](_0x65194c))if(_0x2bd54e[_0x1b729f])return _0x2bd54e[_0x532aed];return null;},'set'(_0x1455c0){const _0x3f3b11=_0x287cdd;for(const _0x242332 of this['listeners'](_0x65194c))if(_0x242332[_0x1b729f]){this[_0x3f3b11(0x18f)](_0x65194c,_0x242332);break;}typeof _0x1455c0==_0x3f3b11(0x1f8)&&this[_0x3f3b11(0x207)](_0x65194c,_0x1455c0,{[_0x1b729f]:!0x0});}});}),_0x16d9dd['prototype']['addEventListener']=_0x20d650,_0x16d9dd[_0x4b845a(0x200)]['removeEventListener']=_0x221ce6,we=_0x16d9dd;function _0x2e4f31(_0x2357c5,_0x5d6add,_0x23cdb5,_0x151785){const _0x5915b0=_0x4b845a,_0x298ddf={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x3f68b2[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x151785,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x5915b0(0x1de),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x2357c5[_0x5915b0(0x96)]=_0x298ddf[_0x5915b0(0x143)],!_0x3f68b2[_0x5915b0(0x1ab)](_0x298ddf[_0x5915b0(0x195)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x298ddf['protocolVersion']+_0x5915b0(0x18d)+_0x3f68b2[_0x5915b0(0x9c)](',\x20')+')');let _0x4f0c40;if(_0x5d6add instanceof _0x107bbb)_0x4f0c40=_0x5d6add;else try{_0x4f0c40=new _0x107bbb(_0x5d6add);}catch{throw new SyntaxError(_0x5915b0(0x164)+_0x5d6add);}_0x4f0c40['protocol']===_0x5915b0(0x121)?_0x4f0c40[_0x5915b0(0xb8)]=_0x5915b0(0x19d):_0x4f0c40[_0x5915b0(0xb8)]===_0x5915b0(0x1a2)&&(_0x4f0c40['protocol']=_0x5915b0(0x113)),_0x2357c5['_url']=_0x4f0c40['href'];const _0x277524=_0x4f0c40[_0x5915b0(0xb8)]===_0x5915b0(0x113),_0x5dedd0=_0x4f0c40['protocol']===_0x5915b0(0x1db);let _0x1e7484;if(_0x4f0c40['protocol']!==_0x5915b0(0x19d)&&!_0x277524&&!_0x5dedd0?_0x1e7484=_0x5915b0(0xfb):_0x5dedd0&&!_0x4f0c40[_0x5915b0(0x1a3)]?_0x1e7484=_0x5915b0(0x1d4):_0x4f0c40[_0x5915b0(0xa2)]&&(_0x1e7484=_0x5915b0(0x9b)),_0x1e7484){const _0x2b10fd=new SyntaxError(_0x1e7484);if(_0x2357c5[_0x5915b0(0x19c)]===0x0)throw _0x2b10fd;_0xb5129d(_0x2357c5,_0x2b10fd);return;}const _0x959c35=_0x277524?0x1bb:0x50,_0x7d24ee=_0x164b74(0x10)[_0x5915b0(0x82)]('base64'),_0x14b463=_0x277524?_0x5ab258[_0x5915b0(0x170)]:_0xb45f36[_0x5915b0(0x170)],_0x3fb27f=new Set();let _0x3ca18b;if(_0x298ddf[_0x5915b0(0x1c4)]=_0x298ddf[_0x5915b0(0x1c4)]||(_0x277524?_0xe87f86:_0x44c60e),_0x298ddf[_0x5915b0(0xf5)]=_0x298ddf[_0x5915b0(0xf5)]||_0x959c35,_0x298ddf['port']=_0x4f0c40[_0x5915b0(0x18b)]||_0x959c35,_0x298ddf['host']=_0x4f0c40[_0x5915b0(0x11d)][_0x5915b0(0x13c)]('[')?_0x4f0c40[_0x5915b0(0x11d)][_0x5915b0(0x202)](0x1,-0x1):_0x4f0c40[_0x5915b0(0x11d)],_0x298ddf[_0x5915b0(0x22f)]={..._0x298ddf['headers'],'Sec-WebSocket-Version':_0x298ddf[_0x5915b0(0x195)],'Sec-WebSocket-Key':_0x7d24ee,'Connection':_0x5915b0(0x19a),'Upgrade':'websocket'},_0x298ddf[_0x5915b0(0x238)]=_0x4f0c40['pathname']+_0x4f0c40[_0x5915b0(0x1ad)],_0x298ddf[_0x5915b0(0x1e3)]=_0x298ddf[_0x5915b0(0x206)],_0x298ddf[_0x5915b0(0x236)]&&(_0x3ca18b=new _0x54000d(_0x298ddf[_0x5915b0(0x236)]!==!0x0?_0x298ddf['perMessageDeflate']:{},!0x1,_0x298ddf[_0x5915b0(0x156)]),_0x298ddf[_0x5915b0(0x22f)][_0x5915b0(0x1b6)]=_0x2ac5b8({[_0x54000d[_0x5915b0(0x1ed)]]:_0x3ca18b[_0x5915b0(0x22c)]()})),_0x23cdb5['length']){for(const _0x3b9bdf of _0x23cdb5){if(typeof _0x3b9bdf!=_0x5915b0(0x76)||!_0x5a011f[_0x5915b0(0xe9)](_0x3b9bdf)||_0x3fb27f['has'](_0x3b9bdf))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x3fb27f[_0x5915b0(0x77)](_0x3b9bdf);}_0x298ddf[_0x5915b0(0x22f)][_0x5915b0(0xd1)]=_0x23cdb5['join'](',');}if(_0x298ddf['origin']&&(_0x298ddf[_0x5915b0(0x195)]<0xd?_0x298ddf[_0x5915b0(0x22f)][_0x5915b0(0xfd)]=_0x298ddf[_0x5915b0(0x214)]:_0x298ddf[_0x5915b0(0x22f)][_0x5915b0(0x187)]=_0x298ddf['origin']),(_0x4f0c40[_0x5915b0(0x194)]||_0x4f0c40[_0x5915b0(0x14f)])&&(_0x298ddf[_0x5915b0(0x210)]=_0x4f0c40[_0x5915b0(0x194)]+':'+_0x4f0c40[_0x5915b0(0x14f)]),_0x5dedd0){const _0x4633be=_0x298ddf[_0x5915b0(0x238)][_0x5915b0(0x149)](':');_0x298ddf[_0x5915b0(0x182)]=_0x4633be[0x0],_0x298ddf[_0x5915b0(0x238)]=_0x4633be[0x1];}let _0x37d571;if(_0x298ddf[_0x5915b0(0x142)]){if(_0x2357c5['_redirects']===0x0){_0x2357c5[_0x5915b0(0xca)]=_0x5dedd0,_0x2357c5['_originalSecure']=_0x277524,_0x2357c5[_0x5915b0(0x1a8)]=_0x5dedd0?_0x298ddf[_0x5915b0(0x182)]:_0x4f0c40['host'];const _0x2eaf99=_0x151785&&_0x151785[_0x5915b0(0x22f)];if(_0x151785={..._0x151785,'headers':{}},_0x2eaf99){for(const [_0x104912,_0x5c6e85]of Object[_0x5915b0(0x15c)](_0x2eaf99))_0x151785[_0x5915b0(0x22f)][_0x104912[_0x5915b0(0x134)]()]=_0x5c6e85;}}else{if(_0x2357c5['listenerCount'](_0x5915b0(0x233))===0x0){const _0x17e11f=_0x5dedd0?_0x2357c5['_originalIpc']?_0x298ddf[_0x5915b0(0x182)]===_0x2357c5[_0x5915b0(0x1a8)]:!0x1:_0x2357c5[_0x5915b0(0xca)]?!0x1:_0x4f0c40['host']===_0x2357c5['_originalHostOrSocketPath'];(!_0x17e11f||_0x2357c5[_0x5915b0(0x1ca)]&&!_0x277524)&&(delete _0x298ddf['headers'][_0x5915b0(0x165)],delete _0x298ddf[_0x5915b0(0x22f)][_0x5915b0(0x133)],_0x17e11f||delete _0x298ddf[_0x5915b0(0x22f)][_0x5915b0(0xa3)],_0x298ddf[_0x5915b0(0x210)]=void 0x0);}}_0x298ddf[_0x5915b0(0x210)]&&!_0x151785['headers'][_0x5915b0(0x165)]&&(_0x151785['headers'][_0x5915b0(0x165)]=_0x5915b0(0x209)+Buffer[_0x5915b0(0x1ba)](_0x298ddf[_0x5915b0(0x210)])['toString'](_0x5915b0(0xb7))),_0x37d571=_0x2357c5[_0x5915b0(0x1c5)]=_0x14b463(_0x298ddf),_0x2357c5[_0x5915b0(0x19c)]&&_0x2357c5['emit'](_0x5915b0(0x233),_0x2357c5['url'],_0x37d571);}else _0x37d571=_0x2357c5[_0x5915b0(0x1c5)]=_0x14b463(_0x298ddf);_0x298ddf[_0x5915b0(0x1e3)]&&_0x37d571['on'](_0x5915b0(0x1e3),()=>{const _0x2f3454=_0x5915b0;_0x3bdca7(_0x2357c5,_0x37d571,_0x2f3454(0x231));}),_0x37d571['on'](_0x5915b0(0xdd),_0x5ecea4=>{const _0x46506a=_0x5915b0;_0x37d571===null||_0x37d571[_0x3a629b]||(_0x37d571=_0x2357c5[_0x46506a(0x1c5)]=null,_0xb5129d(_0x2357c5,_0x5ecea4));}),_0x37d571['on'](_0x5915b0(0xc8),_0x56737c=>{const _0x50830e=_0x5915b0,_0x4c20c7=_0x56737c[_0x50830e(0x22f)][_0x50830e(0xd0)],_0x6dee8b=_0x56737c[_0x50830e(0x7c)];if(_0x4c20c7&&_0x298ddf['followRedirects']&&_0x6dee8b>=0x12c&&_0x6dee8b<0x190){if(++_0x2357c5[_0x50830e(0x19c)]>_0x298ddf[_0x50830e(0x13e)]){_0x3bdca7(_0x2357c5,_0x37d571,_0x50830e(0x211));return;}_0x37d571[_0x50830e(0x110)]();let _0x58fd6c;try{_0x58fd6c=new _0x107bbb(_0x4c20c7,_0x5d6add);}catch{const _0x303408=new SyntaxError(_0x50830e(0x164)+_0x4c20c7);_0xb5129d(_0x2357c5,_0x303408);return;}_0x2e4f31(_0x2357c5,_0x58fd6c,_0x23cdb5,_0x151785);}else _0x2357c5[_0x50830e(0x1fc)](_0x50830e(0xa9),_0x37d571,_0x56737c)||_0x3bdca7(_0x2357c5,_0x37d571,_0x50830e(0x109)+_0x56737c[_0x50830e(0x7c)]);}),_0x37d571['on'](_0x5915b0(0x10e),(_0x222c57,_0x55231c,_0x5883f4)=>{const _0x14040e=_0x5915b0;if(_0x2357c5['emit']('upgrade',_0x222c57),_0x2357c5[_0x14040e(0x1c0)]!==_0x16d9dd[_0x14040e(0x16a)])return;_0x37d571=_0x2357c5['_req']=null;const _0x125c4b=_0x222c57['headers'][_0x14040e(0x10e)];if(_0x125c4b===void 0x0||_0x125c4b[_0x14040e(0x134)]()!==_0x14040e(0x155)){_0x3bdca7(_0x2357c5,_0x55231c,_0x14040e(0x229));return;}const _0xf0109b=_0x37e5dc('sha1')[_0x14040e(0xcb)](_0x7d24ee+_0x110f33)[_0x14040e(0xc1)](_0x14040e(0xb7));if(_0x222c57['headers']['sec-websocket-accept']!==_0xf0109b){_0x3bdca7(_0x2357c5,_0x55231c,_0x14040e(0xd6));return;}const _0x22391e=_0x222c57['headers']['sec-websocket-protocol'];let _0x2662e2;if(_0x22391e!==void 0x0?_0x3fb27f['size']?_0x3fb27f[_0x14040e(0x153)](_0x22391e)||(_0x2662e2='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x2662e2=_0x14040e(0x141):_0x3fb27f['size']&&(_0x2662e2='Server\x20sent\x20no\x20subprotocol'),_0x2662e2){_0x3bdca7(_0x2357c5,_0x55231c,_0x2662e2);return;}_0x22391e&&(_0x2357c5[_0x14040e(0x185)]=_0x22391e);const _0x16c1a0=_0x222c57[_0x14040e(0x22f)][_0x14040e(0xb5)];if(_0x16c1a0!==void 0x0){if(!_0x3ca18b){_0x3bdca7(_0x2357c5,_0x55231c,_0x14040e(0x12e));return;}let _0x3e9caa;try{_0x3e9caa=_0x349fe7(_0x16c1a0);}catch{_0x3bdca7(_0x2357c5,_0x55231c,_0x14040e(0xe8));return;}const _0x1aad5c=Object[_0x14040e(0x1d3)](_0x3e9caa);if(_0x1aad5c[_0x14040e(0x16e)]!==0x1||_0x1aad5c[0x0]!==_0x54000d[_0x14040e(0x1ed)]){_0x3bdca7(_0x2357c5,_0x55231c,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x3ca18b[_0x14040e(0x1eb)](_0x3e9caa[_0x54000d[_0x14040e(0x1ed)]]);}catch{_0x3bdca7(_0x2357c5,_0x55231c,_0x14040e(0xe8));return;}_0x2357c5[_0x14040e(0x1e8)][_0x54000d[_0x14040e(0x1ed)]]=_0x3ca18b;}_0x2357c5[_0x14040e(0x139)](_0x55231c,_0x5883f4,{'allowSynchronousEvents':_0x298ddf['allowSynchronousEvents'],'generateMask':_0x298ddf['generateMask'],'maxPayload':_0x298ddf[_0x14040e(0x156)],'skipUTF8Validation':_0x298ddf['skipUTF8Validation']});}),_0x298ddf['finishRequest']?_0x298ddf['finishRequest'](_0x37d571,_0x2357c5):_0x37d571['end']();}function _0xb5129d(_0x5e9730,_0x1507de){const _0x99ddb=_0x4b845a;_0x5e9730[_0x99ddb(0x7b)]=_0x16d9dd[_0x99ddb(0x20a)],_0x5e9730[_0x99ddb(0x102)]=!0x0,_0x5e9730[_0x99ddb(0x1fc)]('error',_0x1507de),_0x5e9730['emitClose']();}function _0x44c60e(_0x124b8f){const _0x40dd6d=_0x4b845a;return _0x124b8f[_0x40dd6d(0x238)]=_0x124b8f[_0x40dd6d(0x182)],_0x329356['connect'](_0x124b8f);}function _0xe87f86(_0x342c85){const _0x10d34e=_0x4b845a;return _0x342c85['path']=void 0x0,!_0x342c85[_0x10d34e(0xd5)]&&_0x342c85[_0x10d34e(0xd5)]!==''&&(_0x342c85[_0x10d34e(0xd5)]=_0x329356[_0x10d34e(0x1a0)](_0x342c85['host'])?'':_0x342c85['host']),_0x149168['connect'](_0x342c85);}function _0x3bdca7(_0x1959a6,_0x3a6c1e,_0x2ab6e9){const _0x314f20=_0x4b845a;_0x1959a6['_readyState']=_0x16d9dd[_0x314f20(0x20a)];const _0x403d10=new Error(_0x2ab6e9);Error['captureStackTrace'](_0x403d10,_0x3bdca7),_0x3a6c1e[_0x314f20(0x1cc)]?(_0x3a6c1e[_0x3a629b]=!0x0,_0x3a6c1e[_0x314f20(0x110)](),_0x3a6c1e[_0x314f20(0x21e)]&&!_0x3a6c1e[_0x314f20(0x21e)]['destroyed']&&_0x3a6c1e['socket']['destroy'](),process[_0x314f20(0xaa)](_0xb5129d,_0x1959a6,_0x403d10)):(_0x3a6c1e[_0x314f20(0x19e)](_0x403d10),_0x3a6c1e['once'](_0x314f20(0xdd),_0x1959a6[_0x314f20(0x1fc)][_0x314f20(0xc3)](_0x1959a6,'error')),_0x3a6c1e[_0x314f20(0xc0)](_0x314f20(0xe3),_0x1959a6['emitClose'][_0x314f20(0xc3)](_0x1959a6)));}function _0x1ce7ba(_0x38e244,_0x35b851,_0xd25a9a){const _0x23748e=_0x4b845a;if(_0x35b851){const _0x3fcc1f=_0x1e35b3(_0x35b851)?_0x35b851[_0x23748e(0x22e)]:_0x361352(_0x35b851)[_0x23748e(0x16e)];_0x38e244[_0x23748e(0x11c)]?_0x38e244[_0x23748e(0x94)]['_bufferedBytes']+=_0x3fcc1f:_0x38e244[_0x23748e(0x1dc)]+=_0x3fcc1f;}if(_0xd25a9a){const _0x833dd2=new Error(_0x23748e(0x12b)+_0x38e244['readyState']+'\x20('+_0x354c00[_0x38e244['readyState']]+')');process[_0x23748e(0xaa)](_0xd25a9a,_0x833dd2);}}function _0x39a3e5(_0xef3c0f,_0x2f546e){const _0x2e8ebb=_0x4b845a,_0xe4bc7=this[_0x79a2d4];_0xe4bc7[_0x2e8ebb(0x107)]=!0x0,_0xe4bc7[_0x2e8ebb(0x163)]=_0x2f546e,_0xe4bc7[_0x2e8ebb(0xa4)]=_0xef3c0f,_0xe4bc7[_0x2e8ebb(0x11c)][_0x79a2d4]!==void 0x0&&(_0xe4bc7[_0x2e8ebb(0x11c)][_0x2e8ebb(0x18f)]('data',_0x43afb8),process['nextTick'](_0x306889,_0xe4bc7[_0x2e8ebb(0x11c)]),_0xef3c0f===0x3ed?_0xe4bc7[_0x2e8ebb(0xe3)]():_0xe4bc7['close'](_0xef3c0f,_0x2f546e));}function _0x473744(){const _0x59b2fd=_0x4b845a,_0x2cfa9a=this[_0x79a2d4];_0x2cfa9a['isPaused']||_0x2cfa9a['_socket'][_0x59b2fd(0x23f)]();}function _0x1a11c4(_0x463fc8){const _0x45a1c8=_0x4b845a,_0x2402be=this[_0x79a2d4];_0x2402be[_0x45a1c8(0x11c)][_0x79a2d4]!==void 0x0&&(_0x2402be[_0x45a1c8(0x11c)][_0x45a1c8(0x18f)](_0x45a1c8(0xb6),_0x43afb8),process['nextTick'](_0x306889,_0x2402be[_0x45a1c8(0x11c)]),_0x2402be[_0x45a1c8(0xe3)](_0x463fc8[_0x4dfd4c])),_0x2402be[_0x45a1c8(0x102)]||(_0x2402be['_errorEmitted']=!0x0,_0x2402be['emit'](_0x45a1c8(0xdd),_0x463fc8));}function _0x1cb749(){const _0x46384c=_0x4b845a;this[_0x79a2d4][_0x46384c(0x1a4)]();}function _0x365d02(_0x50ec69,_0x58e9ad){const _0x530963=_0x4b845a;this[_0x79a2d4][_0x530963(0x1fc)](_0x530963(0x168),_0x50ec69,_0x58e9ad);}function _0x1243f6(_0x2c4436){const _0x1c9ff1=_0x4b845a,_0x656552=this[_0x79a2d4];_0x656552[_0x1c9ff1(0x96)]&&_0x656552[_0x1c9ff1(0x1d8)](_0x2c4436,!this[_0x1c9ff1(0x74)],_0x386223),_0x656552['emit'](_0x1c9ff1(0x10a),_0x2c4436);}function _0x4b5143(_0x17093c){const _0xbd3b0c=_0x4b845a;this[_0x79a2d4]['emit'](_0xbd3b0c(0x1d8),_0x17093c);}function _0x306889(_0x384d67){const _0x5a8004=_0x4b845a;_0x384d67[_0x5a8004(0x23f)]();}function _0x59238a(_0x182890){const _0x56b791=_0x4b845a,_0x2bfde2=this[_0x79a2d4];_0x2bfde2[_0x56b791(0x1c0)]!==_0x16d9dd[_0x56b791(0x7e)]&&(_0x2bfde2[_0x56b791(0x1c0)]===_0x16d9dd[_0x56b791(0x181)]&&(_0x2bfde2[_0x56b791(0x7b)]=_0x16d9dd[_0x56b791(0x20a)],_0x1cb23f(_0x2bfde2)),this[_0x56b791(0x11c)][_0x56b791(0x129)](),_0x2bfde2[_0x56b791(0x102)]||(_0x2bfde2[_0x56b791(0x102)]=!0x0,_0x2bfde2[_0x56b791(0x1fc)](_0x56b791(0xdd),_0x182890)));}function _0x1cb23f(_0x49ebe9){const _0xc77d25=_0x4b845a;_0x49ebe9[_0xc77d25(0x120)]=setTimeout(_0x49ebe9[_0xc77d25(0x11c)][_0xc77d25(0x19e)]['bind'](_0x49ebe9[_0xc77d25(0x11c)]),_0xa8c432);}function _0x1a2b6e(){const _0x13a1a0=_0x4b845a,_0x5ee4db=this[_0x79a2d4];this[_0x13a1a0(0x18f)](_0x13a1a0(0xe3),_0x1a2b6e),this[_0x13a1a0(0x18f)]('data',_0x43afb8),this['removeListener']('end',_0xc7776e),_0x5ee4db[_0x13a1a0(0x7b)]=_0x16d9dd[_0x13a1a0(0x20a)];let _0xa36b4c;!this['_readableState'][_0x13a1a0(0xf1)]&&!_0x5ee4db['_closeFrameReceived']&&!_0x5ee4db[_0x13a1a0(0xdc)][_0x13a1a0(0x230)][_0x13a1a0(0x116)]&&(_0xa36b4c=_0x5ee4db[_0x13a1a0(0x11c)][_0x13a1a0(0xde)]())!==null&&_0x5ee4db[_0x13a1a0(0xdc)][_0x13a1a0(0x1bb)](_0xa36b4c),_0x5ee4db[_0x13a1a0(0xdc)][_0x13a1a0(0x129)](),this[_0x79a2d4]=void 0x0,clearTimeout(_0x5ee4db[_0x13a1a0(0x120)]),_0x5ee4db[_0x13a1a0(0xdc)][_0x13a1a0(0x230)]['finished']||_0x5ee4db['_receiver'][_0x13a1a0(0x230)]['errorEmitted']?_0x5ee4db['emitClose']():(_0x5ee4db[_0x13a1a0(0xdc)]['on']('error',_0x1cb749),_0x5ee4db['_receiver']['on']('finish',_0x1cb749));}function _0x43afb8(_0x8695d7){const _0x1ceb5e=_0x4b845a;this[_0x79a2d4][_0x1ceb5e(0xdc)][_0x1ceb5e(0x1bb)](_0x8695d7)||this[_0x1ceb5e(0x221)]();}function _0xc7776e(){const _0x38155b=_0x4b845a,_0x4a833f=this[_0x79a2d4];_0x4a833f[_0x38155b(0x7b)]=_0x16d9dd[_0x38155b(0x20a)],_0x4a833f[_0x38155b(0xdc)][_0x38155b(0x129)](),this[_0x38155b(0x129)]();}function _0x4cab3d(){const _0x3f01f7=_0x4b845a,_0x44e593=this[_0x79a2d4];this[_0x3f01f7(0x18f)](_0x3f01f7(0xdd),_0x4cab3d),this['on'](_0x3f01f7(0xdd),_0x386223),_0x44e593&&(_0x44e593[_0x3f01f7(0x7b)]=_0x16d9dd['CLOSING'],this[_0x3f01f7(0x19e)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x54e238}=oe;function _0x1745b6(_0x3c35b1){const _0x501d12=_0x4e52;_0x3c35b1[_0x501d12(0x1fc)](_0x501d12(0xe3));}function _0xf5e465(){const _0x5243c9=_0x4e52;!this['destroyed']&&this['_writableState']['finished']&&this[_0x5243c9(0x19e)]();}function _0x58ebf4(_0x403e11){const _0x3556be=_0x4e52;this['removeListener']('error',_0x58ebf4),this['destroy'](),this[_0x3556be(0x1aa)](_0x3556be(0xdd))===0x0&&this[_0x3556be(0x1fc)](_0x3556be(0xdd),_0x403e11);}function _0x1055d1(_0x5a7679,_0x47fb84){const _0x3c4aba=_0x4e52;let _0x5e3107=!0x0;const _0x52d7ec=new _0x54e238({..._0x47fb84,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x5a7679['on'](_0x3c4aba(0x168),function(_0x45c533,_0x4e7f7b){const _0x892f8a=_0x3c4aba,_0x1834ea=!_0x4e7f7b&&_0x52d7ec[_0x892f8a(0x1f7)]['objectMode']?_0x45c533[_0x892f8a(0x82)]():_0x45c533;_0x52d7ec[_0x892f8a(0x186)](_0x1834ea)||_0x5a7679['pause']();}),_0x5a7679[_0x3c4aba(0xc0)](_0x3c4aba(0xdd),function(_0x38b408){const _0x200076=_0x3c4aba;_0x52d7ec[_0x200076(0x17c)]||(_0x5e3107=!0x1,_0x52d7ec['destroy'](_0x38b408));}),_0x5a7679[_0x3c4aba(0xc0)]('close',function(){const _0x7de8b=_0x3c4aba;_0x52d7ec[_0x7de8b(0x17c)]||_0x52d7ec['push'](null);}),_0x52d7ec[_0x3c4aba(0x203)]=function(_0x534474,_0x1ff415){const _0x322384=_0x3c4aba;if(_0x5a7679['readyState']===_0x5a7679[_0x322384(0x7e)]){_0x1ff415(_0x534474),process['nextTick'](_0x1745b6,_0x52d7ec);return;}let _0x4cc09a=!0x1;_0x5a7679[_0x322384(0xc0)]('error',function(_0x211ce7){_0x4cc09a=!0x0,_0x1ff415(_0x211ce7);}),_0x5a7679[_0x322384(0xc0)](_0x322384(0xe3),function(){const _0x49c91c=_0x322384;_0x4cc09a||_0x1ff415(_0x534474),process[_0x49c91c(0xaa)](_0x1745b6,_0x52d7ec);}),_0x5e3107&&_0x5a7679['terminate']();},_0x52d7ec['_final']=function(_0x253080){const _0x73fc3d=_0x3c4aba;if(_0x5a7679[_0x73fc3d(0x1c0)]===_0x5a7679['CONNECTING']){_0x5a7679['once'](_0x73fc3d(0x115),function(){_0x52d7ec['_final'](_0x253080);});return;}_0x5a7679[_0x73fc3d(0x11c)]!==null&&(_0x5a7679[_0x73fc3d(0x11c)][_0x73fc3d(0x230)][_0x73fc3d(0x15a)]?(_0x253080(),_0x52d7ec['_readableState'][_0x73fc3d(0xf1)]&&_0x52d7ec[_0x73fc3d(0x19e)]()):(_0x5a7679[_0x73fc3d(0x11c)][_0x73fc3d(0xc0)](_0x73fc3d(0x1b7),function(){_0x253080();}),_0x5a7679[_0x73fc3d(0xe3)]()));},_0x52d7ec[_0x3c4aba(0x192)]=function(){const _0x35a3a8=_0x3c4aba;_0x5a7679[_0x35a3a8(0x99)]&&_0x5a7679[_0x35a3a8(0x23f)]();},_0x52d7ec[_0x3c4aba(0x8a)]=function(_0x328708,_0x30fb8a,_0x3a0900){const _0x5c62d8=_0x3c4aba;if(_0x5a7679['readyState']===_0x5a7679[_0x5c62d8(0x16a)]){_0x5a7679[_0x5c62d8(0xc0)](_0x5c62d8(0x115),function(){const _0x14c090=_0x5c62d8;_0x52d7ec[_0x14c090(0x8a)](_0x328708,_0x30fb8a,_0x3a0900);});return;}_0x5a7679['send'](_0x328708,_0x3a0900);},_0x52d7ec['on']('end',_0xf5e465),_0x52d7ec['on'](_0x3c4aba(0xdd),_0x58ebf4),_0x52d7ec;}return Oe=_0x1055d1,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);function _0x3eba(){const _0x20b6ef=['serverMaxWindowBits','nodebuffer','location','Sec-WebSocket-Protocol','replace','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','generateMask','servername','Invalid\x20Sec-WebSocket-Accept\x20header','params','flush','kType','writeUInt16BE','getData','_receiver','error','read','arraybuffer','catch','Sec-WebSocket-Accept:\x20','_maxPayload','close','set','indexOf','_queue','consume','Invalid\x20Sec-WebSocket-Extensions\x20header','test','Unexpected\x20character\x20at\x20index\x20','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','concurrencyLimit','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','\x22\x20subprotocol\x20is\x20duplicated','8ljEtSv','The\x20server\x20is\x20not\x20running','endEmitted','address','createDeflateRaw','options','defaultPort','listen','WS_ERR_INVALID_UTF8','MASK\x20must\x20be\x20set','Connection:\x20Upgrade','getPayloadLength64','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','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','Sec-WebSocket-Origin','Max\x20payload\x20size\x20exceeded','permessage-deflate','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','number','_errorEmitted','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','_compress','_masked','_compressed','_closeFrameReceived','handleEvent','Unexpected\x20server\x20response:\x20','ping','_binaryType','collaboration-client-node.config','skipUTF8Validation','upgrade','clientNoContextTakeover','abort','type','RSV1\x20must\x20be\x20clear','wss:','warn','open','errorEmitted','kMessage','conclude','connection','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','concurrency','_socket','hostname','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','_closeTimer','http:','extensions','HTTP/1.1\x20','blob','zlibInflateOptions','kByteLength','_decompress','@univerjs/network','end','reset','WebSocket\x20is\x20not\x20open:\x20readyState\x20','WS_NO_BUFFER_UTIL','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','values','_state','kWasClean','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','cookie','toLowerCase','_messageLength','_bufferedBytes','shift','value','setSocket','24lWVnUZ','_payloadLength','startsWith','forEach','maxRedirects','createServer','find','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','followRedirects','autoPong','getBlobData','__esModule','isServer','152058mUnnxt','8253810QhSwJm','split','_doCreateSocket','net','_maskBuffer','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','default','password','COLLABORATION_CLIENT_NODE_CONFIG_KEY','sec-websocket-key','toDisposable','has','@univerjs-pro/collaboration-client','websocket','maxPayload','clients','onerror','DisposableCollection','finished','url','entries','Invalid\x20Sec-WebSocket-Protocol\x20header','Disposable','alloc','cleanup','_generateMask','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','_closeMessage','Invalid\x20URL:\x20','authorization','_deflate','isBuffer','message','MASK\x20must\x20be\x20clear','CONNECTING','haveLength','ISnapshotServerService','pow','length','parse','request','send','readable','delete','zlibDeflateOptions','concat','1245565noWNnT','customHeaders','_paused','WS_ERR_INVALID_OPCODE','writeHead','server','destroyed','_removeListeners','Parameter\x20\x22','Cookie','9605988yEunvV','OPEN','socketPath','map','kReason','_protocol','push','Origin','14275EoxkXu','NodeCollaborationSocketService','WS_ERR_EXPECTED_MASK','port','encrypted','\x20(supported\x20versions:\x20','unmask','removeListener','3387789HPNhEr','Invalid\x20value\x20for\x20parameter\x20\x22','_read','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','username','protocolVersion','getInfo','getConfig','defineProperty','allowSynchronousEvents','Upgrade','pending','_redirects','ws:','destroy','_inflate','isIP','getOwnPropertyDescriptor','https:','pathname','emitClose','getPayloadLength16','charCodeAt','sendFrame','_originalHostOrSocketPath','needDrain','listenerCount','includes','onmessage','search','verifyClient','startLoop','Invalid\x20HTTP\x20method','pluginName','share','IConfigService','kCode','HTTPService','Sec-WebSocket-Extensions','finish','jobs','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','from','write','WS_ERR_UNEXPECTED_RSV_1','dispatch','_allowSynchronousEvents','createError','readyState','create','env','readOnly','createConnection','_req','clientMaxWindowBits','events','6907074NfeSnO','isValidUTF8','_originalSecure','dequeue','setHeader','enqueue','kAborted','_firstFragment','Z_DEFAULT_WINDOWBITS','_no_context_takeover','_closeFrameSent','keys','The\x20URL\x27s\x20pathname\x20is\x20empty','invalid\x20opcode\x200','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','then','pong','binary','pipe','ws+unix:','_bufferedAmount','Upgrade:\x20websocket','GET','client_no_context_takeover','construct','readUInt16BE','_shouldEmitClose','timeout','drain','fin','Plugin','dataMessage','_extensions','removeEventListener','ISocketService','accept','handleProtocols','extensionName','server_no_context_takeover','registerHTTPInterceptor','_totalPayloadLength','_url','_max_window_bits','authorized','sec-websocket-version','kIsForOnEventAttribute','object','_readableState','function','sha1','Sec-WebSocket-Protocol:\x20','\x22:\x20','emit','onopen','isArray','_loop','prototype','WS_ERR_UNEXPECTED_RSV_2_3','slice','_destroy','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','setNoDelay','handshakeTimeout','addEventListener','_opcode','Basic\x20','CLOSING','Observable','reason','https','normalizeParams','_fin','auth','Maximum\x20redirects\x20exceeded','completeUpgrade','hasOwnProperty','origin','stream','species','backlog','STATUS_CODES','WebSocket','_threshold','UniverCollaborationClientPlugin','bufferedAmount','text/html','socket','binaryType','kError','pause','HTTP/1.1\x20101\x20Switching\x20Protocols','setConfig','code','kData','kListener','wasClean','12oQHMkv','Invalid\x20Upgrade\x20header','WS_ERR_INVALID_CLOSE_CODE','_mask','offer','_registerDependencies','size','headers','_writableState','Opening\x20handshake\x20has\x20timed\x20out','compress','redirect','listening','_fragmented','perMessageDeflate','exports','path','acceptAsClient','Sec-WebSocket-Extensions:\x20','byteOffset','allocUnsafe','frame','FIN\x20must\x20be\x20set','resume','Unexpected\x20end\x20of\x20input','_isServer','freeze','string','add','WS_ERR_UNEXPECTED_MASK','shouldHandle','terminate','_readyState','statusCode','client','CLOSED','crypto','setTimeout','readUInt32BE','toString','maskBuffer','invalid\x20UTF-8\x20sequence','total-length','onclose','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','controlMessage','_write','acceptAsServer','_configService','invalid\x20opcode\x20','_buffers','zlib','createSocket','isView','noServer','_options','_sender','Module','_autoPong','kDone','threshold','isPaused','server_max_window_bits','The\x20URL\x20contains\x20a\x20fragment\x20identifier','join','UniverCollaborationClientNodePlugin','target','isInteger','_skipUTF8Validation','client_max_window_bits','hash','host','_closeCode','File','byteLength','method','ILogService','unexpected-response','nextTick','_fragments','_server','next','listeners','wsClientError','_injector','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','mask','http','Injector','sec-websocket-extensions','data','base64','protocol','decompress','Blob','call','_errored','writable','createInflateRaw','buffer','once','digest','opcode','bind','handleUpgrade','serverNoContextTakeover','Inject','onStarting','response','@univerjs/core','_originalIpc','update','toStringTag','captureStackTrace'];_0x3eba=function(){return _0x20b6ef;};return _0x3eba();}var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x3cfb2f}=ae();function _0x42bd2b(_0x3dd9cf){const _0x2e0d68=_0x4e52,_0x238aab=new Set();let _0x30147e=-0x1,_0x39d2de=-0x1,_0x312de5=0x0;for(_0x312de5;_0x312de5<_0x3dd9cf[_0x2e0d68(0x16e)];_0x312de5++){const _0x40975d=_0x3dd9cf['charCodeAt'](_0x312de5);if(_0x39d2de===-0x1&&_0x3cfb2f[_0x40975d]===0x1)_0x30147e===-0x1&&(_0x30147e=_0x312de5);else{if(_0x312de5!==0x0&&(_0x40975d===0x20||_0x40975d===0x9))_0x39d2de===-0x1&&_0x30147e!==-0x1&&(_0x39d2de=_0x312de5);else{if(_0x40975d===0x2c){if(_0x30147e===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x312de5);_0x39d2de===-0x1&&(_0x39d2de=_0x312de5);const _0x44a28f=_0x3dd9cf[_0x2e0d68(0x202)](_0x30147e,_0x39d2de);if(_0x238aab[_0x2e0d68(0x153)](_0x44a28f))throw new SyntaxError('The\x20\x22'+_0x44a28f+_0x2e0d68(0xee));_0x238aab[_0x2e0d68(0x77)](_0x44a28f),_0x30147e=_0x39d2de=-0x1;}else throw new SyntaxError(_0x2e0d68(0xea)+_0x312de5);}}}if(_0x30147e===-0x1||_0x39d2de!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x14b29b=_0x3dd9cf[_0x2e0d68(0x202)](_0x30147e,_0x312de5);if(_0x238aab[_0x2e0d68(0x153)](_0x14b29b))throw new SyntaxError('The\x20\x22'+_0x14b29b+_0x2e0d68(0xee));return _0x238aab[_0x2e0d68(0x77)](_0x14b29b),_0x238aab;}return Ce={'parse':_0x42bd2b},Ce;}var Te,rt;function Ft(){const _0x31f50d=_0x40f040;if(rt)return Te;rt=0x1;const _0x4e9263=nt,_0x5e8cbe=ot,{Duplex:_0x4546e8}=oe,{createHash:_0x5be2a2}=Le,_0x5e7be3=ct(),_0x21e3eb=he(),_0x187b63=At(),_0x1f2fbe=Pe(),{GUID:_0x39df23,kWebSocket:_0x2a1c64}=H(),_0x599668=/^[+/0-9A-Za-z]{22}==$/,_0x2b5583=0x0,_0x146092=0x1,_0x140ace=0x2;class _0x3f7456 extends _0x4e9263{constructor(_0x3a0fe5,_0x3fbd6a){const _0x2b2cb4=_0x4e52;if(super(),_0x3a0fe5={'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':_0x1f2fbe,..._0x3a0fe5},_0x3a0fe5[_0x2b2cb4(0x18b)]==null&&!_0x3a0fe5['server']&&!_0x3a0fe5[_0x2b2cb4(0x92)]||_0x3a0fe5[_0x2b2cb4(0x18b)]!=null&&(_0x3a0fe5[_0x2b2cb4(0x17b)]||_0x3a0fe5[_0x2b2cb4(0x92)])||_0x3a0fe5[_0x2b2cb4(0x17b)]&&_0x3a0fe5[_0x2b2cb4(0x92)])throw new TypeError(_0x2b2cb4(0xb1));if(_0x3a0fe5[_0x2b2cb4(0x18b)]!=null?(this[_0x2b2cb4(0xac)]=_0x5e8cbe[_0x2b2cb4(0x13f)]((_0x15be80,_0x2993bb)=>{const _0x3020cf=_0x2b2cb4,_0x41fe74=_0x5e8cbe[_0x3020cf(0x218)][0x1aa];_0x2993bb[_0x3020cf(0x17a)](0x1aa,{'Content-Length':_0x41fe74[_0x3020cf(0x16e)],'Content-Type':'text/plain'}),_0x2993bb['end'](_0x41fe74);}),this[_0x2b2cb4(0xac)][_0x2b2cb4(0xf6)](_0x3a0fe5['port'],_0x3a0fe5[_0x2b2cb4(0xa3)],_0x3a0fe5[_0x2b2cb4(0x217)],_0x3fbd6a)):_0x3a0fe5[_0x2b2cb4(0x17b)]&&(this[_0x2b2cb4(0xac)]=_0x3a0fe5[_0x2b2cb4(0x17b)]),this[_0x2b2cb4(0xac)]){const _0x2a47be=this[_0x2b2cb4(0x1fc)][_0x2b2cb4(0xc3)](this,_0x2b2cb4(0x119));this[_0x2b2cb4(0x17d)]=_0x498a0f(this['_server'],{'listening':this[_0x2b2cb4(0x1fc)][_0x2b2cb4(0xc3)](this,_0x2b2cb4(0x234)),'error':this[_0x2b2cb4(0x1fc)][_0x2b2cb4(0xc3)](this,'error'),'upgrade':(_0x15d9ab,_0x2d237b,_0x7451ad)=>{const _0x511f38=_0x2b2cb4;this[_0x511f38(0xc4)](_0x15d9ab,_0x2d237b,_0x7451ad,_0x2a47be);}});}_0x3a0fe5['perMessageDeflate']===!0x0&&(_0x3a0fe5['perMessageDeflate']={}),_0x3a0fe5['clientTracking']&&(this['clients']=new Set(),this[_0x2b2cb4(0x1e2)]=!0x1),this[_0x2b2cb4(0xf4)]=_0x3a0fe5,this['_state']=_0x2b5583;}[_0x31f50d(0xf2)](){const _0x38cc25=_0x31f50d;if(this[_0x38cc25(0xf4)][_0x38cc25(0x92)])throw new Error(_0x38cc25(0x204));return this[_0x38cc25(0xac)]?this[_0x38cc25(0xac)][_0x38cc25(0xf2)]():null;}[_0x31f50d(0xe3)](_0x1611de){const _0x26ddb0=_0x31f50d;if(this[_0x26ddb0(0x130)]===_0x140ace){_0x1611de&&this[_0x26ddb0(0xc0)](_0x26ddb0(0xe3),()=>{const _0x22041b=_0x26ddb0;_0x1611de(new Error(_0x22041b(0xf0)));}),process[_0x26ddb0(0xaa)](_0x4868d3,this);return;}if(_0x1611de&&this[_0x26ddb0(0xc0)](_0x26ddb0(0xe3),_0x1611de),this[_0x26ddb0(0x130)]!==_0x146092){if(this[_0x26ddb0(0x130)]=_0x146092,this[_0x26ddb0(0xf4)][_0x26ddb0(0x92)]||this['options'][_0x26ddb0(0x17b)])this[_0x26ddb0(0xac)]&&(this[_0x26ddb0(0x17d)](),this[_0x26ddb0(0x17d)]=this[_0x26ddb0(0xac)]=null),this['clients']?this['clients']['size']?this[_0x26ddb0(0x1e2)]=!0x0:process['nextTick'](_0x4868d3,this):process[_0x26ddb0(0xaa)](_0x4868d3,this);else{const _0x5b7fa8=this[_0x26ddb0(0xac)];this[_0x26ddb0(0x17d)](),this['_removeListeners']=this[_0x26ddb0(0xac)]=null,_0x5b7fa8[_0x26ddb0(0xe3)](()=>{_0x4868d3(this);});}}}[_0x31f50d(0x79)](_0x368ea3){const _0x4abdba=_0x31f50d;if(this[_0x4abdba(0xf4)][_0x4abdba(0x238)]){const _0x53fc66=_0x368ea3['url'][_0x4abdba(0xe5)]('?');if((_0x53fc66!==-0x1?_0x368ea3[_0x4abdba(0x15b)]['slice'](0x0,_0x53fc66):_0x368ea3[_0x4abdba(0x15b)])!==this['options'][_0x4abdba(0x238)])return!0x1;}return!0x0;}[_0x31f50d(0xc4)](_0x5bc6e9,_0x1d61c1,_0x562f38,_0x3e30d0){const _0x18fb8c=_0x31f50d;_0x1d61c1['on'](_0x18fb8c(0xdd),_0x3fc73b);const _0xce2198=_0x5bc6e9[_0x18fb8c(0x22f)][_0x18fb8c(0x151)],_0x5e3a0e=_0x5bc6e9[_0x18fb8c(0x22f)]['upgrade'],_0x4f502a=+_0x5bc6e9[_0x18fb8c(0x22f)][_0x18fb8c(0x1f4)];if(_0x5bc6e9[_0x18fb8c(0xa7)]!==_0x18fb8c(0x1de)){_0x3292fa(this,_0x5bc6e9,_0x1d61c1,0x195,_0x18fb8c(0x1b0));return;}if(_0x5e3a0e===void 0x0||_0x5e3a0e['toLowerCase']()!==_0x18fb8c(0x155)){_0x3292fa(this,_0x5bc6e9,_0x1d61c1,0x190,_0x18fb8c(0x229));return;}if(_0xce2198===void 0x0||!_0x599668[_0x18fb8c(0xe9)](_0xce2198)){_0x3292fa(this,_0x5bc6e9,_0x1d61c1,0x190,_0x18fb8c(0x11f));return;}if(_0x4f502a!==0x8&&_0x4f502a!==0xd){_0x3292fa(this,_0x5bc6e9,_0x1d61c1,0x190,_0x18fb8c(0x88));return;}if(!this[_0x18fb8c(0x79)](_0x5bc6e9)){_0x31d8ed(_0x1d61c1,0x190);return;}const _0x7b5c5c=_0x5bc6e9[_0x18fb8c(0x22f)]['sec-websocket-protocol'];let _0x20ff5b=new Set();if(_0x7b5c5c!==void 0x0)try{_0x20ff5b=_0x187b63[_0x18fb8c(0x16f)](_0x7b5c5c);}catch{_0x3292fa(this,_0x5bc6e9,_0x1d61c1,0x190,_0x18fb8c(0x15d));return;}const _0x76dd0=_0x5bc6e9[_0x18fb8c(0x22f)][_0x18fb8c(0xb5)],_0x2e3449={};if(this['options'][_0x18fb8c(0x236)]&&_0x76dd0!==void 0x0){const _0x3771ac=new _0x21e3eb(this[_0x18fb8c(0xf4)][_0x18fb8c(0x236)],!0x0,this[_0x18fb8c(0xf4)][_0x18fb8c(0x156)]);try{const _0x5487d2=_0x5e7be3[_0x18fb8c(0x16f)](_0x76dd0);_0x5487d2[_0x21e3eb['extensionName']]&&(_0x3771ac[_0x18fb8c(0x1eb)](_0x5487d2[_0x21e3eb[_0x18fb8c(0x1ed)]]),_0x2e3449[_0x21e3eb['extensionName']]=_0x3771ac);}catch{_0x3292fa(this,_0x5bc6e9,_0x1d61c1,0x190,_0x18fb8c(0x12d));return;}}if(this['options'][_0x18fb8c(0x1ae)]){const _0x3fbc89={'origin':_0x5bc6e9[_0x18fb8c(0x22f)][''+(_0x4f502a===0x8?'sec-websocket-origin':_0x18fb8c(0x214))],'secure':!!(_0x5bc6e9[_0x18fb8c(0x21e)][_0x18fb8c(0x1f3)]||_0x5bc6e9[_0x18fb8c(0x21e)][_0x18fb8c(0x18c)]),'req':_0x5bc6e9};if(this[_0x18fb8c(0xf4)][_0x18fb8c(0x1ae)][_0x18fb8c(0x16e)]===0x2){this[_0x18fb8c(0xf4)]['verifyClient'](_0x3fbc89,(_0x28efae,_0x58741c,_0xb568f0,_0x1206c)=>{const _0xe506e4=_0x18fb8c;if(!_0x28efae)return _0x31d8ed(_0x1d61c1,_0x58741c||0x191,_0xb568f0,_0x1206c);this[_0xe506e4(0x212)](_0x2e3449,_0xce2198,_0x20ff5b,_0x5bc6e9,_0x1d61c1,_0x562f38,_0x3e30d0);});return;}if(!this['options'][_0x18fb8c(0x1ae)](_0x3fbc89))return _0x31d8ed(_0x1d61c1,0x191);}this[_0x18fb8c(0x212)](_0x2e3449,_0xce2198,_0x20ff5b,_0x5bc6e9,_0x1d61c1,_0x562f38,_0x3e30d0);}[_0x31f50d(0x212)](_0x3291a0,_0x5b8dc8,_0x134637,_0x1a9423,_0x2e8e6b,_0x1c8921,_0x439953){const _0x1e9c4c=_0x31f50d;if(!_0x2e8e6b[_0x1e9c4c(0x172)]||!_0x2e8e6b[_0x1e9c4c(0xbd)])return _0x2e8e6b[_0x1e9c4c(0x19e)]();if(_0x2e8e6b[_0x2a1c64])throw new Error(_0x1e9c4c(0xed));if(this[_0x1e9c4c(0x130)]>_0x2b5583)return _0x31d8ed(_0x2e8e6b,0x1f7);const _0x286087=[_0x1e9c4c(0x222),_0x1e9c4c(0x1dd),_0x1e9c4c(0xf9),_0x1e9c4c(0xe1)+_0x5be2a2(_0x1e9c4c(0x1f9))[_0x1e9c4c(0xcb)](_0x5b8dc8+_0x39df23)[_0x1e9c4c(0xc1)]('base64')],_0x59d2c6=new this[(_0x1e9c4c(0xf4))][(_0x1e9c4c(0x219))](null,void 0x0,this[_0x1e9c4c(0xf4)]);if(_0x134637[_0x1e9c4c(0x22e)]){const _0x487abd=this[_0x1e9c4c(0xf4)][_0x1e9c4c(0x1ec)]?this[_0x1e9c4c(0xf4)][_0x1e9c4c(0x1ec)](_0x134637,_0x1a9423):_0x134637[_0x1e9c4c(0x12f)]()[_0x1e9c4c(0xad)]()[_0x1e9c4c(0x138)];_0x487abd&&(_0x286087[_0x1e9c4c(0x186)](_0x1e9c4c(0x1fa)+_0x487abd),_0x59d2c6[_0x1e9c4c(0x185)]=_0x487abd);}if(_0x3291a0[_0x21e3eb[_0x1e9c4c(0x1ed)]]){const _0x3edc5c=_0x3291a0[_0x21e3eb[_0x1e9c4c(0x1ed)]][_0x1e9c4c(0xd7)],_0x5358e1=_0x5e7be3['format']({[_0x21e3eb['extensionName']]:[_0x3edc5c]});_0x286087[_0x1e9c4c(0x186)](_0x1e9c4c(0x23a)+_0x5358e1),_0x59d2c6[_0x1e9c4c(0x1e8)]=_0x3291a0;}this['emit'](_0x1e9c4c(0x22f),_0x286087,_0x1a9423),_0x2e8e6b[_0x1e9c4c(0x1bb)](_0x286087['concat']('\x0d\x0a')[_0x1e9c4c(0x9c)]('\x0d\x0a')),_0x2e8e6b[_0x1e9c4c(0x18f)]('error',_0x3fc73b),_0x59d2c6[_0x1e9c4c(0x139)](_0x2e8e6b,_0x1c8921,{'allowSynchronousEvents':this[_0x1e9c4c(0xf4)]['allowSynchronousEvents'],'maxPayload':this['options']['maxPayload'],'skipUTF8Validation':this[_0x1e9c4c(0xf4)][_0x1e9c4c(0x10d)]}),this[_0x1e9c4c(0x157)]&&(this[_0x1e9c4c(0x157)]['add'](_0x59d2c6),_0x59d2c6['on']('close',()=>{const _0x1cb538=_0x1e9c4c;this[_0x1cb538(0x157)][_0x1cb538(0x173)](_0x59d2c6),this[_0x1cb538(0x1e2)]&&!this[_0x1cb538(0x157)][_0x1cb538(0x22e)]&&process[_0x1cb538(0xaa)](_0x4868d3,this);})),_0x439953(_0x59d2c6,_0x1a9423);}}Te=_0x3f7456;function _0x498a0f(_0x463b9b,_0x40295a){const _0x4b5e88=_0x31f50d;for(const _0x704240 of Object[_0x4b5e88(0x1d3)](_0x40295a))_0x463b9b['on'](_0x704240,_0x40295a[_0x704240]);return function(){const _0x34d995=_0x4b5e88;for(const _0x287bce of Object[_0x34d995(0x1d3)](_0x40295a))_0x463b9b[_0x34d995(0x18f)](_0x287bce,_0x40295a[_0x287bce]);};}function _0x4868d3(_0x590188){const _0x2c8db7=_0x31f50d;_0x590188[_0x2c8db7(0x130)]=_0x140ace,_0x590188[_0x2c8db7(0x1fc)](_0x2c8db7(0xe3));}function _0x3fc73b(){this['destroy']();}function _0x31d8ed(_0xf2ff25,_0x4c58ac,_0x294d36,_0x468d3c){const _0x7b57e5=_0x31f50d;_0x294d36=_0x294d36||_0x5e8cbe['STATUS_CODES'][_0x4c58ac],_0x468d3c={'Connection':_0x7b57e5(0xe3),'Content-Type':_0x7b57e5(0x21d),'Content-Length':Buffer[_0x7b57e5(0xa6)](_0x294d36),..._0x468d3c},_0xf2ff25['once']('finish',_0xf2ff25[_0x7b57e5(0x19e)]),_0xf2ff25[_0x7b57e5(0x129)](_0x7b57e5(0x123)+_0x4c58ac+'\x20'+_0x5e8cbe[_0x7b57e5(0x218)][_0x4c58ac]+'\x0d\x0a'+Object[_0x7b57e5(0x1d3)](_0x468d3c)[_0x7b57e5(0x183)](_0x5f367f=>_0x5f367f+':\x20'+_0x468d3c[_0x5f367f])['join']('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x294d36);}function _0x3292fa(_0x47508d,_0x44c543,_0x49a50a,_0x1e3eb7,_0x198d24){const _0x214928=_0x31f50d;if(_0x47508d[_0x214928(0x1aa)](_0x214928(0xaf))){const _0x3a118c=new Error(_0x198d24);Error[_0x214928(0xcd)](_0x3a118c,_0x3292fa),_0x47508d[_0x214928(0x1fc)]('wsClientError',_0x3a118c,_0x49a50a,_0x44c543);}else _0x31d8ed(_0x49a50a,_0x1e3eb7,_0x198d24);}return Te;}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0x33150f,_0x32f606,_0xb92c46,_0x2c0fb9)=>{const _0x1bd2f0=_0x40f040;for(var _0x428249=_0x2c0fb9>0x1?void 0x0:_0x2c0fb9?jt(_0x32f606,_0xb92c46):_0x32f606,_0xf1ef=_0x33150f[_0x1bd2f0(0x16e)]-0x1,_0x54ab2c;_0xf1ef>=0x0;_0xf1ef--)(_0x54ab2c=_0x33150f[_0xf1ef])&&(_0x428249=_0x54ab2c(_0x428249)||_0x428249);return _0x428249;},qt=(_0x4e6018,_0x19b197)=>(_0x1ce449,_0x327497)=>_0x19b197(_0x1ce449,_0x327497,_0x4e6018);let ke=class extends A[_0x40f040(0x15e)]{constructor(_0x51664d){super(),this['_configService']=_0x51664d;}[_0x40f040(0x90)](_0xcf024c){const _0x2fcca7=_0x40f040;var _0x45997;const _0x1e97e6=(_0x45997=this[_0x2fcca7(0x8c)][_0x2fcca7(0x197)](fe))==null?void 0x0:_0x45997[_0x2fcca7(0x177)];try{const _0x2c467e=new $t(_0xcf024c,{'headers':{..._0x1e97e6}}),_0x5bd415=new A[(_0x2fcca7(0x159))]();return{'URL':_0xcf024c,'close':(_0x1edc6a,_0x64e95)=>{const _0x4d9f05=_0x2fcca7;_0x2c467e[_0x4d9f05(0xe3)](_0x1edc6a,_0x64e95),_0x5bd415['dispose']();},'send':_0x4305fe=>{const _0x1baf72=_0x2fcca7;_0x2c467e[_0x1baf72(0x171)](_0x4305fe);},'open$':new V[(_0x2fcca7(0x20b))](_0x64a4f3=>{const _0xb2dcb5=_0x2fcca7,_0x18cb86=_0x1238b3=>_0x64a4f3[_0xb2dcb5(0xad)](_0x1238b3);_0x2c467e['addEventListener'](_0xb2dcb5(0x115),_0x18cb86),_0x5bd415['add'](A[_0xb2dcb5(0x152)](()=>_0x2c467e['removeEventListener']('open',_0x18cb86)));})['pipe'](V[_0x2fcca7(0x1b2)]()),'close$':new V[(_0x2fcca7(0x20b))](_0x13c43c=>{const _0xa325e1=_0x2fcca7,_0x3d05c2=_0x3e65e6=>_0x13c43c[_0xa325e1(0xad)](_0x3e65e6);_0x2c467e[_0xa325e1(0x207)](_0xa325e1(0xe3),_0x3d05c2),_0x5bd415[_0xa325e1(0x77)](A[_0xa325e1(0x152)](()=>_0x2c467e['removeEventListener'](_0xa325e1(0xe3),_0x3d05c2)));})[_0x2fcca7(0x1da)](V[_0x2fcca7(0x1b2)]()),'error$':new V[(_0x2fcca7(0x20b))](_0xcc676=>{const _0x4451e5=_0x2fcca7,_0x4e3d70=_0x366086=>_0xcc676[_0x4451e5(0xad)](_0x366086);_0x2c467e['addEventListener'](_0x4451e5(0xdd),_0x4e3d70),_0x5bd415[_0x4451e5(0x77)](A['toDisposable'](()=>_0x2c467e['removeEventListener'](_0x4451e5(0xdd),_0x4e3d70)));})['pipe'](V[_0x2fcca7(0x1b2)]()),'message$':new V[(_0x2fcca7(0x20b))](_0x5a59c7=>{const _0x15d112=_0x2fcca7,_0x6cc3e5=_0x1a66f1=>_0x5a59c7[_0x15d112(0xad)](_0x1a66f1);_0x2c467e[_0x15d112(0x207)](_0x15d112(0x168),_0x6cc3e5),_0x5bd415[_0x15d112(0x77)](A['toDisposable'](()=>_0x2c467e[_0x15d112(0x1e9)](_0x15d112(0x168),_0x6cc3e5)));})[_0x2fcca7(0x1da)](V[_0x2fcca7(0x1b2)]())};}catch(_0x1bb0a4){return console[_0x2fcca7(0xdd)](_0x1bb0a4),null;}}};ke=Wt([qt(0x0,A[_0x40f040(0x1b3)])],ke);var Gt=Object['defineProperty'],Vt=Object[_0x40f040(0x1a1)],Ht=(_0xb8799d,_0x2fe88f,_0x1304d2)=>_0x2fe88f in _0xb8799d?Gt(_0xb8799d,_0x2fe88f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1304d2}):_0xb8799d[_0x2fe88f]=_0x1304d2,zt=(_0x10879a,_0x3ce143,_0x1ecf0b,_0x26bec4)=>{const _0x14ec45=_0x40f040;for(var _0x5e13df=_0x26bec4>0x1?void 0x0:_0x26bec4?Vt(_0x3ce143,_0x1ecf0b):_0x3ce143,_0x5c3f44=_0x10879a[_0x14ec45(0x16e)]-0x1,_0x526b33;_0x5c3f44>=0x0;_0x5c3f44--)(_0x526b33=_0x10879a[_0x5c3f44])&&(_0x5e13df=_0x526b33(_0x5e13df)||_0x5e13df);return _0x5e13df;},Ne=(_0x19eca6,_0x28029a)=>(_0x27ea7c,_0x15b33b)=>_0x28029a(_0x27ea7c,_0x15b33b,_0x19eca6),Yt=(_0x395850,_0x41c139,_0x3084d0)=>Ht(_0x395850,_0x41c139+'',_0x3084d0);exports['UniverCollaborationClientNodePlugin']=class extends A[_0x40f040(0x1e6)]{constructor(_0x4e57c9=Ct,_0x3a2f2d,_0x20731e,_0x4815af){const _0x19bf76=_0x40f040;_0x4e57c9[_0x19bf76(0x177)]||_0x3a2f2d[_0x19bf76(0x114)](_0x19bf76(0x100)),super(),this['_configService']=_0x20731e,this[_0x19bf76(0xb0)]=_0x4815af,this[_0x19bf76(0x8c)][_0x19bf76(0x223)](fe,_0x4e57c9);}[_0x40f040(0xc7)](){const _0x3d095b=_0x40f040;this[_0x3d095b(0x22d)]();}['_registerDependencies'](){const _0x5d80f7=_0x40f040;A['registerDependencies'](this['_injector'],[[it[_0x5d80f7(0x1ea)],{'useClass':ke}]]);}},Yt(exports[_0x40f040(0x9d)],_0x40f040(0x1b1),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports[_0x40f040(0x9d)]=zt([A['DependentOn'](st[_0x40f040(0x21b)]),Ne(0x1,A[_0x40f040(0xa8)]),Ne(0x2,A[_0x40f040(0x1b3)]),Ne(0x3,A[_0x40f040(0xc6)](A['Injector']))],exports[_0x40f040(0x9d)]);var Kt=Object[_0x40f040(0x1a1)],Xt=(_0x493e61,_0x243151,_0x3106a7,_0x29e673)=>{const _0x126cab=_0x40f040;for(var _0x323206=_0x29e673>0x1?void 0x0:_0x29e673?Kt(_0x243151,_0x3106a7):_0x243151,_0xcd721d=_0x493e61[_0x126cab(0x16e)]-0x1,_0x1d7191;_0xcd721d>=0x0;_0xcd721d--)(_0x1d7191=_0x493e61[_0xcd721d])&&(_0x323206=_0x1d7191(_0x323206)||_0x323206);return _0x323206;},ne=(_0x1e397f,_0x33a180)=>(_0x3fc4a8,_0x401c80)=>_0x33a180(_0x3fc4a8,_0x401c80,_0x1e397f);exports['NodeCollaborationSocketService']=class extends st['CollaborationSocketService']{constructor(_0x2e7ae6,_0x18a651,_0x1c8401,_0x154cf4,_0x2abfa0){const _0x421c10=_0x40f040;super(_0x2e7ae6,_0x18a651,_0x1c8401,_0x154cf4,_0x2abfa0);const _0x5c51ac=this['_configService'][_0x421c10(0x197)](fe);this['_httpService'][_0x421c10(0x1ef)]({'interceptor':(_0x507f6b,_0x44a590)=>{const _0x547e66=_0x421c10;var _0x5ef372;const _0x4a9bff=_0x507f6b[_0x547e66(0x22f)];return(_0x5ef372=_0x5c51ac==null?void 0x0:_0x5c51ac[_0x547e66(0x177)])!=null&&_0x5ef372[_0x547e66(0x133)]&&_0x4a9bff[_0x547e66(0xe4)](_0x547e66(0x17f),_0x5c51ac['customHeaders'][_0x547e66(0x133)]),_0x44a590(_0x507f6b);}});}async[_0x40f040(0x90)](_0x49d76d){const _0x2b4eb1=_0x40f040;return this[_0x2b4eb1(0x14a)](_0x49d76d);}},exports[_0x40f040(0x189)]=Xt([ne(0x0,A['Inject'](A[_0x40f040(0xb4)])),ne(0x1,A['Inject'](it[_0x40f040(0x1b5)])),ne(0x2,A[_0x40f040(0x1b3)]),ne(0x3,A[_0x40f040(0xa8)]),ne(0x4,Ot[_0x40f040(0x16c)])],exports[_0x40f040(0x189)]),exports[_0x40f040(0x150)]=fe;
1
+ 'use strict';const _0x433db5=_0x26f8;(function(_0x7fa098,_0x2aa019){const _0x495d6c=_0x26f8,_0x5da98f=_0x7fa098();while(!![]){try{const _0x57ea95=parseInt(_0x495d6c(0x2ba))/0x1*(-parseInt(_0x495d6c(0x30b))/0x2)+parseInt(_0x495d6c(0x235))/0x3*(parseInt(_0x495d6c(0x2b0))/0x4)+-parseInt(_0x495d6c(0x2ed))/0x5*(-parseInt(_0x495d6c(0x27b))/0x6)+parseInt(_0x495d6c(0x276))/0x7*(parseInt(_0x495d6c(0x176))/0x8)+-parseInt(_0x495d6c(0x2aa))/0x9+parseInt(_0x495d6c(0x2f8))/0xa*(-parseInt(_0x495d6c(0x1ca))/0xb)+-parseInt(_0x495d6c(0x19d))/0xc*(-parseInt(_0x495d6c(0x20f))/0xd);if(_0x57ea95===_0x2aa019)break;else _0x5da98f['push'](_0x5da98f['shift']());}catch(_0x4b008f){_0x5da98f['push'](_0x5da98f['shift']());}}}(_0x4f56,0xa3d6a));Object[_0x433db5(0x20c)](exports,Symbol['toStringTag'],{'value':_0x433db5(0x185)});const st=require(_0x433db5(0x318)),A=require(_0x433db5(0x2d6)),it=require(_0x433db5(0x2b6)),V=require(_0x433db5(0x2bd)),nt=require('events'),vt=require(_0x433db5(0x2be)),ot=require(_0x433db5(0x286)),St=require(_0x433db5(0x316)),Et=require(_0x433db5(0x20d)),Le=require(_0x433db5(0x1da)),oe=require(_0x433db5(0x1d5)),xt=require(_0x433db5(0x283)),bt=require(_0x433db5(0x19a)),wt=require(_0x433db5(0x2c2)),Ot=require('@univerjs-pro/collaboration'),fe=_0x433db5(0x246),Ct={'customHeaders':{}};function Tt(_0x4c5dc6){const _0x688c00=_0x433db5;return _0x4c5dc6&&_0x4c5dc6[_0x688c00(0x1e7)]&&Object[_0x688c00(0x14a)]['hasOwnProperty'][_0x688c00(0x236)](_0x4c5dc6,_0x688c00(0x239))?_0x4c5dc6[_0x688c00(0x239)]:_0x4c5dc6;}function at(_0x16419c){const _0x3d4ae3=_0x433db5;if(Object[_0x3d4ae3(0x14a)][_0x3d4ae3(0x281)][_0x3d4ae3(0x236)](_0x16419c,_0x3d4ae3(0x1e7)))return _0x16419c;var _0xa3c630=_0x16419c[_0x3d4ae3(0x239)];if(typeof _0xa3c630==_0x3d4ae3(0x17c)){var _0x40d9f7=function _0x1728d9(){const _0x4f94ab=_0x3d4ae3;return this instanceof _0x1728d9?Reflect['construct'](_0xa3c630,arguments,this[_0x4f94ab(0x27a)]):_0xa3c630[_0x4f94ab(0x150)](this,arguments);};_0x40d9f7[_0x3d4ae3(0x14a)]=_0xa3c630['prototype'];}else _0x40d9f7={};return Object[_0x3d4ae3(0x20c)](_0x40d9f7,_0x3d4ae3(0x1e7),{'value':!0x0}),Object[_0x3d4ae3(0x148)](_0x16419c)[_0x3d4ae3(0x1a1)](function(_0x22424d){const _0x523d9f=_0x3d4ae3;var _0x4eb612=Object[_0x523d9f(0x1b3)](_0x16419c,_0x22424d);Object[_0x523d9f(0x20c)](_0x40d9f7,_0x22424d,_0x4eb612[_0x523d9f(0x157)]?_0x4eb612:{'enumerable':!0x0,'get':function(){return _0x16419c[_0x22424d];}});}),_0x40d9f7;}var se={'exports':{}},ge,Ge;function H(){const _0x186924=_0x433db5;if(Ge)return ge;Ge=0x1;const _0x2c4ef6=['nodebuffer','arraybuffer',_0x186924(0x155)],_0x14f9f7=typeof Blob<'u';return _0x14f9f7&&_0x2c4ef6[_0x186924(0x30f)](_0x186924(0x18e)),ge={'BINARY_TYPES':_0x2c4ef6,'EMPTY_BUFFER':Buffer[_0x186924(0x15b)](0x0),'GUID':_0x186924(0x28e),'hasBlob':_0x14f9f7,'kForOnEventAttribute':Symbol(_0x186924(0x292)),'kListener':Symbol(_0x186924(0x27c)),'kStatusCode':Symbol(_0x186924(0x24d)),'kWebSocket':Symbol(_0x186924(0x23b)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x433db5(0x266)](Object[_0x433db5(0x20c)]({'__proto__':null,'default':Nt},Symbol[_0x433db5(0x24b)],{'value':_0x433db5(0x185)})),Lt=at(kt);var Ve;function ce(){const _0x4f1b26=_0x433db5;if(Ve)return se[_0x4f1b26(0x199)];Ve=0x1;const {EMPTY_BUFFER:_0x4ba295}=H(),_0x4cfcf8=Buffer[Symbol['species']];function _0x10548c(_0x4ba511,_0x4418a7){const _0x3cf375=_0x4f1b26;if(_0x4ba511['length']===0x0)return _0x4ba295;if(_0x4ba511[_0x3cf375(0x1f1)]===0x1)return _0x4ba511[0x0];const _0x336a5e=Buffer['allocUnsafe'](_0x4418a7);let _0x374052=0x0;for(let _0x49e0fe=0x0;_0x49e0fe<_0x4ba511[_0x3cf375(0x1f1)];_0x49e0fe++){const _0x41e93f=_0x4ba511[_0x49e0fe];_0x336a5e[_0x3cf375(0x244)](_0x41e93f,_0x374052),_0x374052+=_0x41e93f[_0x3cf375(0x1f1)];}return _0x374052<_0x4418a7?new _0x4cfcf8(_0x336a5e[_0x3cf375(0x2c2)],_0x336a5e[_0x3cf375(0x1f9)],_0x374052):_0x336a5e;}function _0x548bba(_0x2d6af1,_0x1cc75e,_0x9543e6,_0xf876fa,_0x4a3406){for(let _0x44a7ae=0x0;_0x44a7ae<_0x4a3406;_0x44a7ae++)_0x9543e6[_0xf876fa+_0x44a7ae]=_0x2d6af1[_0x44a7ae]^_0x1cc75e[_0x44a7ae&0x3];}function _0x35bd01(_0x2a20d3,_0x17f529){const _0x9d9d05=_0x4f1b26;for(let _0x692830=0x0;_0x692830<_0x2a20d3[_0x9d9d05(0x1f1)];_0x692830++)_0x2a20d3[_0x692830]^=_0x17f529[_0x692830&0x3];}function _0x1934cd(_0x2e0c4){const _0x10226e=_0x4f1b26;return _0x2e0c4[_0x10226e(0x1f1)]===_0x2e0c4[_0x10226e(0x2c2)][_0x10226e(0x2a7)]?_0x2e0c4[_0x10226e(0x2c2)]:_0x2e0c4['buffer'][_0x10226e(0x238)](_0x2e0c4[_0x10226e(0x1f9)],_0x2e0c4['byteOffset']+_0x2e0c4[_0x10226e(0x1f1)]);}function _0x2588b8(_0x57bd13){const _0x3b5359=_0x4f1b26;if(_0x2588b8[_0x3b5359(0x18d)]=!0x0,Buffer[_0x3b5359(0x2e3)](_0x57bd13))return _0x57bd13;let _0x3a7144;return _0x57bd13 instanceof ArrayBuffer?_0x3a7144=new _0x4cfcf8(_0x57bd13):ArrayBuffer[_0x3b5359(0x1d6)](_0x57bd13)?_0x3a7144=new _0x4cfcf8(_0x57bd13[_0x3b5359(0x2c2)],_0x57bd13['byteOffset'],_0x57bd13['byteLength']):(_0x3a7144=Buffer[_0x3b5359(0x161)](_0x57bd13),_0x2588b8[_0x3b5359(0x18d)]=!0x1),_0x3a7144;}if(se['exports']={'concat':_0x10548c,'mask':_0x548bba,'toArrayBuffer':_0x1934cd,'toBuffer':_0x2588b8,'unmask':_0x35bd01},!process[_0x4f1b26(0x2a4)][_0x4f1b26(0x2ee)])try{const _0x10897b=Lt;se[_0x4f1b26(0x199)][_0x4f1b26(0x1dc)]=function(_0x4530d6,_0x52a11d,_0x246ae3,_0xc197c1,_0x487524){const _0x46e288=_0x4f1b26;_0x487524<0x30?_0x548bba(_0x4530d6,_0x52a11d,_0x246ae3,_0xc197c1,_0x487524):_0x10897b[_0x46e288(0x1dc)](_0x4530d6,_0x52a11d,_0x246ae3,_0xc197c1,_0x487524);},se[_0x4f1b26(0x199)][_0x4f1b26(0x2e9)]=function(_0x5d10b7,_0x3c7a45){const _0x17deba=_0x4f1b26;_0x5d10b7[_0x17deba(0x1f1)]<0x20?_0x35bd01(_0x5d10b7,_0x3c7a45):_0x10897b[_0x17deba(0x2e9)](_0x5d10b7,_0x3c7a45);};}catch{}return se[_0x4f1b26(0x199)];}var ye,He;function Pt(){const _0x567694=_0x433db5;if(He)return ye;He=0x1;const _0x574994=Symbol(_0x567694(0x1a2)),_0x515cf6=Symbol(_0x567694(0x300));class _0x42ced9{constructor(_0x5b6847){const _0x410e85=_0x567694;this[_0x574994]=()=>{const _0xced059=_0x26f8;this[_0xced059(0x25d)]--,this[_0x515cf6]();},this[_0x410e85(0x1d1)]=_0x5b6847||0x1/0x0,this[_0x410e85(0x2d3)]=[],this[_0x410e85(0x25d)]=0x0;}['add'](_0x1549cf){const _0x2058a8=_0x567694;this[_0x2058a8(0x2d3)]['push'](_0x1549cf),this[_0x515cf6]();}[_0x515cf6](){const _0x6ffbae=_0x567694;if(this[_0x6ffbae(0x25d)]!==this['concurrency']&&this[_0x6ffbae(0x2d3)]['length']){const _0x3b00d6=this[_0x6ffbae(0x2d3)][_0x6ffbae(0x29b)]();this['pending']++,_0x3b00d6(this[_0x574994]);}}}return ye=_0x42ced9,ye;}var ve,ze;function _0x4f56(){const _0x525c9c=['Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','endEmitted','decompress','removeAllListeners','from','onopen','_errorEmitted','_autoPong','_deflate','resume','opcode','socket','catch','Unexpected\x20character\x20at\x20index\x20','binaryType','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','getMask','\x22:\x20','_socket','once','data','completeUpgrade','total-length','captureStackTrace','finished','2858528GiOSGC','Maximum\x20redirects\x20exceeded','wsClientError','concat','create','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','function','GET','Connection:\x20Upgrade','includes','_closeFrameReceived','split','add','_configService','writeUInt16BE','Module','_generateMask','_bufferedAmount','addEventListener','cookie','abort','invalid\x20payload\x20length\x20','Sec-WebSocket-Extensions','readOnly','blob','client_no_context_takeover','readUInt32BE','_opcode','hash','Invalid\x20Sec-WebSocket-Accept\x20header','kCode','_destroy','_final','setHeader','_compress','exports','zlib','ws:','backlog','132YOGNJR','authorized','createSocket','pluginName','forEach','kDone','emit','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','CollaborationSocketService','text/html','toLowerCase','acceptAsClient','_maxPayload','_httpService','getBlobData','_closeCode','emitClose','Disposable','finish','Z_DEFAULT_WINDOWBITS','isInteger','kType','getOwnPropertyDescriptor','_compressed','serverNoContextTakeover','_errored','_loop','ISnapshotServerService','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','_max_window_bits','\x22\x20subprotocol\x20is\x20duplicated','request','_url','wasClean','setNoDelay','_server','WS_ERR_UNEXPECTED_MASK','OPEN','destroyed','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','UniverCollaborationClientPlugin','dataMessage','_buffers','setConfig','_redirects','3405556hAYkOx','ws+unix:','readyState','\x22\x20must\x20have\x20only\x20a\x20single\x20value','Upgrade','rsv1','Blob','concurrency','Invalid\x20Sec-WebSocket-Protocol\x20header','sec-websocket-origin','FIN\x20must\x20be\x20set','stream','isView','Sec-WebSocket-Accept:\x20','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','DisposableCollection','crypto','createConnection','mask','writeUIntBE','WS_ERR_UNEXPECTED_RSV_2_3','isPaused','normalizeParams','origin','permessage-deflate','pause','client_max_window_bits','frame','arraybuffer','__esModule','The\x20URL\x27s\x20pathname\x20is\x20empty','createDeflateRaw','_fragments','reason','consume','_removeListeners','_receiver','Inject','delete','length','toString','dequeue','conclude','onclose','username','Invalid\x20URL:\x20','File','byteOffset','nextTick','reset','timeout','charCodeAt','UniverCollaborationClientNodePlugin','size','bufferedAmount','string','Basic\x20','onStarting','Opening\x20handshake\x20has\x20timed\x20out','sec-websocket-protocol','servername','response','destroy','port','uncork','_fragmented','defineProperty','tls','setTimeout','439283evTxuW','compress','allowSynchronousEvents','wss:','_inflate','haveLength','removeListener','\x20(supported\x20versions:\x20','NodeCollaborationSocketService','HTTP/1.1\x20','_options','sec-websocket-version','terminate','_state','WS_ERR_INVALID_UTF8','server_max_window_bits','customHeaders','kWasClean','onmessage','_protocol','The\x20\x22','_isServer','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','_readyState','arrayBuffer','listeners','_decompress','socketPath','defaultPort','isServer','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','close','setSocket','HTTP/1.1\x20101\x20Switching\x20Protocols','Unknown\x20parameter\x20\x22','replace','_doCreateSocket','52758dMTRfd','call','readUInt16BE','slice','default','nodebuffer','websocket','startsWith','end','ping','_closeTimer','indexOf','auth','onerror','maxPayload','set','buffers','collaboration-client-node.config','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','fin','kData','_read','toStringTag','errorEmitted','status-code','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','next','search','_binaryType','_payloadLength','listenerCount','threshold','CLOSING','Cookie','species','extensionName','_mask','_originalSecure','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','redirect','pending','protocolVersion','enqueue','getPayloadLength16','join','text/plain','sec-websocket-accept','protocol','offer','freeze','connect','invalid\x20opcode\x200','_masked','digest','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','_maskBuffer','createError','Invalid\x20value\x20for\x20parameter\x20\x22','writeHead','verifyClient','_write','The\x20URL\x20contains\x20a\x20fragment\x20identifier','handleEvent','clients','_skipUTF8Validation','21CKULRM','WebSocket\x20is\x20not\x20open:\x20readyState\x20','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','dispatch','constructor','6kqnYjP','kListener','createInflateRaw','test','Sec-WebSocket-Protocol:\x20','cleanup','hasOwnProperty','pong','url','createServer','callback','http','maxRedirects','map','_totalPayloadLength','statusCode','message','_closeFrameSent','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','write','sec-websocket-extensions','bind','kIsForOnEventAttribute','host','_writableState','_injector','MASK\x20must\x20be\x20set','server_no_context_takeover','_sender','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','then','shift','_req','address','location','has','Unexpected\x20end\x20of\x20input','zlibDeflateOptions','skipUTF8Validation','Unexpected\x20server\x20response:\x20','env','cork','getData','byteLength','acceptAsServer','allocUnsafe','6562845MiGrfB','ILogService','_paused','Observable','_no_context_takeover','password','268MPidJQ','method','_fin','needDrain','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','registerDependencies','@univerjs/network','finishRequest','object','serverMaxWindowBits','95731QSaZqB','target','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','rxjs','https','authorization','removeEventListener','path','buffer','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','perMessageDeflate','getPayloadLength64','flush','_messageLength','values','type','binary','upgrade','code','hostname','noServer','options','number','Unsupported\x20protocol\x20version:\x20','WS_ERR_UNEXPECTED_RSV_1','jobs','controlMessage','sha1','@univerjs/core','entries','startLoop','IConfigService','kTarget','Max\x20payload\x20size\x20exceeded','DependentOn','sendFrame','\x0d\x0a\x0d\x0a','The\x20server\x20is\x20not\x20running','href','Sec-WebSocket-Protocol','readable','isBuffer','http:','registerHTTPInterceptor','_queue','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','open','unmask','getConfig','clientTracking','Invalid\x20WebSocket\x20frame:\x20','4391695lAWjIf','WS_NO_BUFFER_UTIL','clientNoContextTakeover','RSV1\x20must\x20be\x20clear','invalid\x20opcode\x20','generateMask','WS_ERR_INVALID_OPCODE','find','send','handleProtocols','_firstFragment','40apEnGA','shouldHandle','drain','extensions','pow','params','Z_SYNC_FLUSH','followRedirects','kRun','WS_ERR_EXPECTED_MASK','_allowSynchronousEvents','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','warn','concurrencyLimit','CONNECTING','Invalid\x20Sec-WebSocket-Extensions\x20header','encrypted','listen','_registerDependencies','18BIJxKy','Injector','clientMaxWindowBits','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','push','kAborted','STATUS_CODES','_shouldEmitClose','isValidUTF8','ISocketService','headers','net','CLOSED','@univerjs-pro/collaboration-client','toDisposable','handleUpgrade','_bufferedBytes','error','update','keys','pipe','prototype','share','parse','Parameter\x20\x22','Invalid\x20Upgrade\x20header','connection','apply','server','WS_ERR_EXPECTED_FIN','isArray','COLLABORATION_CLIENT_NODE_CONFIG_KEY','fragments','_extensions','get','base64','accept','_readableState','alloc','_closeMessage'];_0x4f56=function(){return _0x525c9c;};return _0x4f56();}function he(){const _0x39b753=_0x433db5;if(ze)return ve;ze=0x1;const _0x4e509c=bt,_0xc8bdc=ce(),_0x46d39e=Pt(),{kStatusCode:_0x24ed84}=H(),_0x28571d=Buffer[Symbol[_0x39b753(0x257)]],_0x3a8e46=Buffer['from']([0x0,0x0,0xff,0xff]),_0x36874f=Symbol('permessage-deflate'),_0x1f4dee=Symbol(_0x39b753(0x173)),_0x2d8403=Symbol(_0x39b753(0x285)),_0x19fca5=Symbol(_0x39b753(0x245)),_0x7f820c=Symbol(_0x39b753(0x146));let _0x33a950;class _0x5a1808{constructor(_0x919253,_0x1909e0,_0x56491c){const _0x3070c9=_0x39b753;if(this[_0x3070c9(0x1a9)]=_0x56491c|0x0,this['_options']=_0x919253||{},this['_threshold']=this['_options'][_0x3070c9(0x254)]!==void 0x0?this['_options'][_0x3070c9(0x254)]:0x400,this['_isServer']=!!_0x1909e0,this[_0x3070c9(0x165)]=null,this[_0x3070c9(0x213)]=null,this[_0x3070c9(0x2fd)]=null,!_0x33a950){const _0x13b25a=this['_options'][_0x3070c9(0x305)]!==void 0x0?this[_0x3070c9(0x219)][_0x3070c9(0x305)]:0xa;_0x33a950=new _0x46d39e(_0x13b25a);}}static get[_0x39b753(0x258)](){const _0x494fbc=_0x39b753;return _0x494fbc(0x1e2);}[_0x39b753(0x265)](){const _0x27a56e=_0x39b753,_0x811933={};return this['_options']['serverNoContextTakeover']&&(_0x811933[_0x27a56e(0x297)]=!0x0),this[_0x27a56e(0x219)]['clientNoContextTakeover']&&(_0x811933['client_no_context_takeover']=!0x0),this[_0x27a56e(0x219)][_0x27a56e(0x2b9)]&&(_0x811933[_0x27a56e(0x21e)]=this[_0x27a56e(0x219)][_0x27a56e(0x2b9)]),this['_options']['clientMaxWindowBits']?_0x811933[_0x27a56e(0x1e4)]=this['_options']['clientMaxWindowBits']:this[_0x27a56e(0x219)][_0x27a56e(0x30d)]==null&&(_0x811933['client_max_window_bits']=!0x0),_0x811933;}[_0x39b753(0x159)](_0x1a5a0e){const _0x290054=_0x39b753;return _0x1a5a0e=this[_0x290054(0x1e0)](_0x1a5a0e),this[_0x290054(0x2fd)]=this[_0x290054(0x224)]?this[_0x290054(0x2a8)](_0x1a5a0e):this[_0x290054(0x1a8)](_0x1a5a0e),this[_0x290054(0x2fd)];}[_0x39b753(0x280)](){const _0x55cffa=_0x39b753;if(this[_0x55cffa(0x213)]&&(this[_0x55cffa(0x213)]['close'](),this[_0x55cffa(0x213)]=null),this[_0x55cffa(0x165)]){const _0x8466e4=this[_0x55cffa(0x165)][_0x2d8403];this[_0x55cffa(0x165)]['close'](),this[_0x55cffa(0x165)]=null,_0x8466e4&&_0x8466e4(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x39b753(0x2a8)](_0x5d3077){const _0x314399=_0x39b753,_0x1c86af=this[_0x314399(0x219)],_0x1f506f=_0x5d3077[_0x314399(0x2f4)](_0x29a155=>!(_0x1c86af[_0x314399(0x1b5)]===!0x1&&_0x29a155[_0x314399(0x297)]||_0x29a155['server_max_window_bits']&&(_0x1c86af[_0x314399(0x2b9)]===!0x1||typeof _0x1c86af[_0x314399(0x2b9)]=='number'&&_0x1c86af['serverMaxWindowBits']>_0x29a155[_0x314399(0x21e)])||typeof _0x1c86af['clientMaxWindowBits']==_0x314399(0x2d0)&&!_0x29a155[_0x314399(0x1e4)]));if(!_0x1f506f)throw new Error(_0x314399(0x278));return _0x1c86af[_0x314399(0x1b5)]&&(_0x1f506f[_0x314399(0x297)]=!0x0),_0x1c86af['clientNoContextTakeover']&&(_0x1f506f[_0x314399(0x18f)]=!0x0),typeof _0x1c86af['serverMaxWindowBits']==_0x314399(0x2d0)&&(_0x1f506f['server_max_window_bits']=_0x1c86af['serverMaxWindowBits']),typeof _0x1c86af[_0x314399(0x30d)]==_0x314399(0x2d0)?_0x1f506f[_0x314399(0x1e4)]=_0x1c86af['clientMaxWindowBits']:(_0x1f506f[_0x314399(0x1e4)]===!0x0||_0x1c86af[_0x314399(0x30d)]===!0x1)&&delete _0x1f506f[_0x314399(0x1e4)],_0x1f506f;}[_0x39b753(0x1a8)](_0x2e365a){const _0xa98458=_0x39b753,_0x56c2b7=_0x2e365a[0x0];if(this['_options'][_0xa98458(0x2ef)]===!0x1&&_0x56c2b7[_0xa98458(0x18f)])throw new Error(_0xa98458(0x15d));if(!_0x56c2b7[_0xa98458(0x1e4)])typeof this['_options'][_0xa98458(0x30d)]==_0xa98458(0x2d0)&&(_0x56c2b7['client_max_window_bits']=this[_0xa98458(0x219)][_0xa98458(0x30d)]);else{if(this[_0xa98458(0x219)][_0xa98458(0x30d)]===!0x1||typeof this['_options'][_0xa98458(0x30d)]==_0xa98458(0x2d0)&&_0x56c2b7[_0xa98458(0x1e4)]>this[_0xa98458(0x219)]['clientMaxWindowBits'])throw new Error(_0xa98458(0x303));}return _0x56c2b7;}[_0x39b753(0x1e0)](_0x348541){const _0x3f1cd2=_0x39b753;return _0x348541[_0x3f1cd2(0x1a1)](_0x853070=>{const _0x2df436=_0x3f1cd2;Object[_0x2df436(0x148)](_0x853070)['forEach'](_0x19469a=>{const _0x493e4b=_0x2df436;let _0x4571ce=_0x853070[_0x19469a];if(_0x4571ce[_0x493e4b(0x1f1)]>0x1)throw new Error(_0x493e4b(0x14d)+_0x19469a+_0x493e4b(0x1cd));if(_0x4571ce=_0x4571ce[0x0],_0x19469a===_0x493e4b(0x1e4)){if(_0x4571ce!==!0x0){const _0x1bcbb7=+_0x4571ce;if(!Number[_0x493e4b(0x1b1)](_0x1bcbb7)||_0x1bcbb7<0x8||_0x1bcbb7>0xf)throw new TypeError(_0x493e4b(0x26e)+_0x19469a+_0x493e4b(0x16e)+_0x4571ce);_0x4571ce=_0x1bcbb7;}else{if(!this[_0x493e4b(0x224)])throw new TypeError(_0x493e4b(0x26e)+_0x19469a+_0x493e4b(0x16e)+_0x4571ce);}}else{if(_0x19469a===_0x493e4b(0x21e)){const _0x155ff2=+_0x4571ce;if(!Number[_0x493e4b(0x1b1)](_0x155ff2)||_0x155ff2<0x8||_0x155ff2>0xf)throw new TypeError(_0x493e4b(0x26e)+_0x19469a+'\x22:\x20'+_0x4571ce);_0x4571ce=_0x155ff2;}else{if(_0x19469a==='client_no_context_takeover'||_0x19469a===_0x493e4b(0x297)){if(_0x4571ce!==!0x0)throw new TypeError(_0x493e4b(0x26e)+_0x19469a+_0x493e4b(0x16e)+_0x4571ce);}else throw new Error(_0x493e4b(0x232)+_0x19469a+'\x22');}}_0x853070[_0x19469a]=_0x4571ce;});}),_0x348541;}[_0x39b753(0x15f)](_0x385910,_0x3d6686,_0x1f7267){const _0x1b630c=_0x39b753;_0x33a950[_0x1b630c(0x182)](_0x3d9bbb=>{const _0x2645ff=_0x1b630c;this[_0x2645ff(0x229)](_0x385910,_0x3d6686,(_0x251672,_0x488f4b)=>{_0x3d9bbb(),_0x1f7267(_0x251672,_0x488f4b);});});}['compress'](_0x169f84,_0x2e9a53,_0x32f47b){_0x33a950['add'](_0x5b1000=>{const _0xe4b2ce=_0x26f8;this[_0xe4b2ce(0x198)](_0x169f84,_0x2e9a53,(_0x37a080,_0x3b4996)=>{_0x5b1000(),_0x32f47b(_0x37a080,_0x3b4996);});});}[_0x39b753(0x229)](_0x42298b,_0x5b02fd,_0x230444){const _0x3a289c=_0x39b753,_0x820c58=this['_isServer']?'client':_0x3a289c(0x151);if(!this[_0x3a289c(0x213)]){const _0x55043f=_0x820c58+_0x3a289c(0x1ba),_0x284aee=typeof this[_0x3a289c(0x2fd)][_0x55043f]!=_0x3a289c(0x2d0)?_0x4e509c[_0x3a289c(0x1b0)]:this[_0x3a289c(0x2fd)][_0x55043f];this['_inflate']=_0x4e509c[_0x3a289c(0x27d)]({...this['_options']['zlibInflateOptions'],'windowBits':_0x284aee}),this[_0x3a289c(0x213)][_0x36874f]=this,this[_0x3a289c(0x213)][_0x1f4dee]=0x0,this[_0x3a289c(0x213)][_0x19fca5]=[],this[_0x3a289c(0x213)]['on'](_0x3a289c(0x146),_0x2d2355),this[_0x3a289c(0x213)]['on'](_0x3a289c(0x171),_0x657395);}this[_0x3a289c(0x213)][_0x2d8403]=_0x230444,this[_0x3a289c(0x213)]['write'](_0x42298b),_0x5b02fd&&this[_0x3a289c(0x213)][_0x3a289c(0x28f)](_0x3a8e46),this[_0x3a289c(0x213)][_0x3a289c(0x2c6)](()=>{const _0x1def79=_0x3a289c,_0x6fa5ab=this[_0x1def79(0x213)][_0x7f820c];if(_0x6fa5ab){this[_0x1def79(0x213)][_0x1def79(0x22f)](),this[_0x1def79(0x213)]=null,_0x230444(_0x6fa5ab);return;}const _0x306b7c=_0xc8bdc[_0x1def79(0x179)](this[_0x1def79(0x213)][_0x19fca5],this[_0x1def79(0x213)][_0x1f4dee]);this['_inflate'][_0x1def79(0x15a)]['endEmitted']?(this[_0x1def79(0x213)][_0x1def79(0x22f)](),this[_0x1def79(0x213)]=null):(this[_0x1def79(0x213)][_0x1f4dee]=0x0,this['_inflate'][_0x19fca5]=[],_0x5b02fd&&this[_0x1def79(0x2fd)][_0x820c58+_0x1def79(0x2ae)]&&this['_inflate'][_0x1def79(0x1fb)]()),_0x230444(null,_0x306b7c);});}[_0x39b753(0x198)](_0x749031,_0x2e1155,_0x499dff){const _0x4456e9=_0x39b753,_0x2e1c0a=this[_0x4456e9(0x224)]?_0x4456e9(0x151):'client';if(!this[_0x4456e9(0x165)]){const _0x59c918=_0x2e1c0a+_0x4456e9(0x1ba),_0xb3ef8f=typeof this[_0x4456e9(0x2fd)][_0x59c918]!=_0x4456e9(0x2d0)?_0x4e509c['Z_DEFAULT_WINDOWBITS']:this[_0x4456e9(0x2fd)][_0x59c918];this[_0x4456e9(0x165)]=_0x4e509c[_0x4456e9(0x1e9)]({...this[_0x4456e9(0x219)][_0x4456e9(0x2a1)],'windowBits':_0xb3ef8f}),this['_deflate'][_0x1f4dee]=0x0,this['_deflate'][_0x19fca5]=[],this[_0x4456e9(0x165)]['on'](_0x4456e9(0x171),_0x36c996);}this['_deflate'][_0x2d8403]=_0x499dff,this[_0x4456e9(0x165)][_0x4456e9(0x28f)](_0x749031),this[_0x4456e9(0x165)]['flush'](_0x4e509c[_0x4456e9(0x2fe)],()=>{const _0x4f0333=_0x4456e9;if(!this[_0x4f0333(0x165)])return;let _0x517f2f=_0xc8bdc[_0x4f0333(0x179)](this[_0x4f0333(0x165)][_0x19fca5],this[_0x4f0333(0x165)][_0x1f4dee]);_0x2e1155&&(_0x517f2f=new _0x28571d(_0x517f2f['buffer'],_0x517f2f['byteOffset'],_0x517f2f[_0x4f0333(0x1f1)]-0x4)),this[_0x4f0333(0x165)][_0x2d8403]=null,this[_0x4f0333(0x165)][_0x1f4dee]=0x0,this['_deflate'][_0x19fca5]=[],_0x2e1155&&this[_0x4f0333(0x2fd)][_0x2e1c0a+_0x4f0333(0x2ae)]&&this['_deflate'][_0x4f0333(0x1fb)](),_0x499dff(null,_0x517f2f);});}}ve=_0x5a1808;function _0x36c996(_0x3531ce){const _0x141e29=_0x39b753;this[_0x19fca5][_0x141e29(0x30f)](_0x3531ce),this[_0x1f4dee]+=_0x3531ce[_0x141e29(0x1f1)];}function _0x657395(_0x42e9b6){const _0x4ff9f1=_0x39b753;if(this[_0x1f4dee]+=_0x42e9b6[_0x4ff9f1(0x1f1)],this[_0x36874f][_0x4ff9f1(0x1a9)]<0x1||this[_0x1f4dee]<=this[_0x36874f][_0x4ff9f1(0x1a9)]){this[_0x19fca5][_0x4ff9f1(0x30f)](_0x42e9b6);return;}this[_0x7f820c]=new RangeError(_0x4ff9f1(0x2db)),this[_0x7f820c][_0x4ff9f1(0x2cc)]=_0x4ff9f1(0x2c3),this[_0x7f820c][_0x24ed84]=0x3f1,this[_0x4ff9f1(0x215)]('data',_0x657395),this[_0x4ff9f1(0x1fb)]();}function _0x2d2355(_0x2dd616){if(this[_0x36874f]['_inflate']=null,this[_0x7f820c]){this[_0x2d8403](this[_0x7f820c]);return;}_0x2dd616[_0x24ed84]=0x3ef,this[_0x2d8403](_0x2dd616);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x433db5(0x266)](Object[_0x433db5(0x20c)]({'__proto__':null,'default':Dt},Symbol[_0x433db5(0x24b)],{'value':_0x433db5(0x185)})),Bt=at(Rt);var Ye;function ae(){const _0x40e299=_0x433db5;if(Ye)return ie['exports'];Ye=0x1;const {isUtf8:_0x3a8ace}=wt,{hasBlob:_0x33da14}=H(),_0x483409=[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 _0x2c5d0e(_0x3de897){return _0x3de897>=0x3e8&&_0x3de897<=0x3f6&&_0x3de897!==0x3ec&&_0x3de897!==0x3ed&&_0x3de897!==0x3ee||_0x3de897>=0xbb8&&_0x3de897<=0x1387;}function _0x1f1975(_0x55b10b){const _0x29a6bd=_0x26f8,_0x311b17=_0x55b10b[_0x29a6bd(0x1f1)];let _0x46b947=0x0;for(;_0x46b947<_0x311b17;)if((_0x55b10b[_0x46b947]&0x80)===0x0)_0x46b947++;else{if((_0x55b10b[_0x46b947]&0xe0)===0xc0){if(_0x46b947+0x1===_0x311b17||(_0x55b10b[_0x46b947+0x1]&0xc0)!==0x80||(_0x55b10b[_0x46b947]&0xfe)===0xc0)return!0x1;_0x46b947+=0x2;}else{if((_0x55b10b[_0x46b947]&0xf0)===0xe0){if(_0x46b947+0x2>=_0x311b17||(_0x55b10b[_0x46b947+0x1]&0xc0)!==0x80||(_0x55b10b[_0x46b947+0x2]&0xc0)!==0x80||_0x55b10b[_0x46b947]===0xe0&&(_0x55b10b[_0x46b947+0x1]&0xe0)===0x80||_0x55b10b[_0x46b947]===0xed&&(_0x55b10b[_0x46b947+0x1]&0xe0)===0xa0)return!0x1;_0x46b947+=0x3;}else{if((_0x55b10b[_0x46b947]&0xf8)===0xf0){if(_0x46b947+0x3>=_0x311b17||(_0x55b10b[_0x46b947+0x1]&0xc0)!==0x80||(_0x55b10b[_0x46b947+0x2]&0xc0)!==0x80||(_0x55b10b[_0x46b947+0x3]&0xc0)!==0x80||_0x55b10b[_0x46b947]===0xf0&&(_0x55b10b[_0x46b947+0x1]&0xf0)===0x80||_0x55b10b[_0x46b947]===0xf4&&_0x55b10b[_0x46b947+0x1]>0x8f||_0x55b10b[_0x46b947]>0xf4)return!0x1;_0x46b947+=0x4;}else return!0x1;}}}return!0x0;}function _0x3bf0a3(_0xd44fc0){const _0x4f2ed1=_0x26f8;return _0x33da14&&typeof _0xd44fc0=='object'&&typeof _0xd44fc0['arrayBuffer']==_0x4f2ed1(0x17c)&&typeof _0xd44fc0[_0x4f2ed1(0x2c9)]==_0x4f2ed1(0x201)&&typeof _0xd44fc0[_0x4f2ed1(0x1d5)]==_0x4f2ed1(0x17c)&&(_0xd44fc0[Symbol[_0x4f2ed1(0x24b)]]===_0x4f2ed1(0x1d0)||_0xd44fc0[Symbol[_0x4f2ed1(0x24b)]]===_0x4f2ed1(0x1f8));}if(ie[_0x40e299(0x199)]={'isBlob':_0x3bf0a3,'isValidStatusCode':_0x2c5d0e,'isValidUTF8':_0x1f1975,'tokenChars':_0x483409},_0x3a8ace)ie['exports']['isValidUTF8']=function(_0x508096){const _0x18f8c0=_0x40e299;return _0x508096[_0x18f8c0(0x1f1)]<0x18?_0x1f1975(_0x508096):_0x3a8ace(_0x508096);};else{if(!process[_0x40e299(0x2a4)]['WS_NO_UTF_8_VALIDATE'])try{const _0x5982b2=Bt;ie['exports'][_0x40e299(0x313)]=function(_0x2a3e92){const _0x26b8c1=_0x40e299;return _0x2a3e92[_0x26b8c1(0x1f1)]<0x20?_0x1f1975(_0x2a3e92):_0x5982b2(_0x2a3e92);};}catch{}}return ie[_0x40e299(0x199)];}var Se,Ke;function lt(){const _0x3a269d=_0x433db5;if(Ke)return Se;Ke=0x1;const {Writable:_0x20e7a4}=oe,_0x3d4dc9=he(),{BINARY_TYPES:_0x638ac9,EMPTY_BUFFER:_0x289a13,kStatusCode:_0x1107dd,kWebSocket:_0x39ee9e}=H(),{concat:_0x4b618c,toArrayBuffer:_0x43ef7f,unmask:_0x4f5877}=ce(),{isValidStatusCode:_0x4ade20,isValidUTF8:_0x9db1ae}=ae(),_0x35bcd8=Buffer[Symbol['species']],_0x45657b=0x0,_0x39481c=0x1,_0x3cb698=0x2,_0x1eddbd=0x3,_0x5186b7=0x4,_0x545194=0x5,_0x2709c0=0x6;class _0x1957b6 extends _0x20e7a4{constructor(_0x505104={}){const _0xe4ef6f=_0x26f8;super(),this[_0xe4ef6f(0x302)]=_0x505104[_0xe4ef6f(0x211)]!==void 0x0?_0x505104[_0xe4ef6f(0x211)]:!0x0,this['_binaryType']=_0x505104[_0xe4ef6f(0x16b)]||_0x638ac9[0x0],this['_extensions']=_0x505104[_0xe4ef6f(0x2fb)]||{},this['_isServer']=!!_0x505104[_0xe4ef6f(0x22c)],this['_maxPayload']=_0x505104[_0xe4ef6f(0x243)]|0x0,this[_0xe4ef6f(0x275)]=!!_0x505104[_0xe4ef6f(0x2a2)],this[_0x39ee9e]=void 0x0,this['_bufferedBytes']=0x0,this[_0xe4ef6f(0x1c7)]=[],this[_0xe4ef6f(0x1b4)]=!0x1,this['_payloadLength']=0x0,this[_0xe4ef6f(0x259)]=void 0x0,this['_fragmented']=0x0,this['_masked']=!0x1,this['_fin']=!0x1,this[_0xe4ef6f(0x191)]=0x0,this[_0xe4ef6f(0x289)]=0x0,this[_0xe4ef6f(0x2c7)]=0x0,this[_0xe4ef6f(0x1ea)]=[],this['_errored']=!0x1,this[_0xe4ef6f(0x1b7)]=!0x1,this[_0xe4ef6f(0x21c)]=_0x45657b;}[_0x3a269d(0x271)](_0x88e120,_0x43bb4e,_0x23d87c){const _0x1b7463=_0x3a269d;if(this[_0x1b7463(0x191)]===0x8&&this['_state']==_0x45657b)return _0x23d87c();this[_0x1b7463(0x145)]+=_0x88e120['length'],this[_0x1b7463(0x1c7)][_0x1b7463(0x30f)](_0x88e120),this[_0x1b7463(0x2d8)](_0x23d87c);}[_0x3a269d(0x1ec)](_0xbb6fc2){const _0x566877=_0x3a269d;if(this['_bufferedBytes']-=_0xbb6fc2,_0xbb6fc2===this['_buffers'][0x0][_0x566877(0x1f1)])return this['_buffers'][_0x566877(0x29b)]();if(_0xbb6fc2<this['_buffers'][0x0][_0x566877(0x1f1)]){const _0x2dcb81=this[_0x566877(0x1c7)][0x0];return this[_0x566877(0x1c7)][0x0]=new _0x35bcd8(_0x2dcb81[_0x566877(0x2c2)],_0x2dcb81[_0x566877(0x1f9)]+_0xbb6fc2,_0x2dcb81[_0x566877(0x1f1)]-_0xbb6fc2),new _0x35bcd8(_0x2dcb81[_0x566877(0x2c2)],_0x2dcb81[_0x566877(0x1f9)],_0xbb6fc2);}const _0x41438c=Buffer[_0x566877(0x2a9)](_0xbb6fc2);do{const _0x17cf70=this[_0x566877(0x1c7)][0x0],_0x506f97=_0x41438c[_0x566877(0x1f1)]-_0xbb6fc2;_0xbb6fc2>=_0x17cf70['length']?_0x41438c[_0x566877(0x244)](this['_buffers'][_0x566877(0x29b)](),_0x506f97):(_0x41438c[_0x566877(0x244)](new Uint8Array(_0x17cf70[_0x566877(0x2c2)],_0x17cf70[_0x566877(0x1f9)],_0xbb6fc2),_0x506f97),this[_0x566877(0x1c7)][0x0]=new _0x35bcd8(_0x17cf70[_0x566877(0x2c2)],_0x17cf70[_0x566877(0x1f9)]+_0xbb6fc2,_0x17cf70[_0x566877(0x1f1)]-_0xbb6fc2)),_0xbb6fc2-=_0x17cf70[_0x566877(0x1f1)];}while(_0xbb6fc2>0x0);return _0x41438c;}[_0x3a269d(0x2d8)](_0x39aa68){const _0x369c95=_0x3a269d;this[_0x369c95(0x1b7)]=!0x0;do switch(this[_0x369c95(0x21c)]){case _0x45657b:this['getInfo'](_0x39aa68);break;case _0x39481c:this['getPayloadLength16'](_0x39aa68);break;case _0x3cb698:this[_0x369c95(0x2c5)](_0x39aa68);break;case _0x1eddbd:this[_0x369c95(0x16d)]();break;case _0x5186b7:this['getData'](_0x39aa68);break;case _0x545194:case _0x2709c0:this[_0x369c95(0x1b7)]=!0x1;return;}while(this[_0x369c95(0x1b7)]);this[_0x369c95(0x1b6)]||_0x39aa68();}['getInfo'](_0xa49b74){const _0x24a1cd=_0x3a269d;if(this[_0x24a1cd(0x145)]<0x2){this[_0x24a1cd(0x1b7)]=!0x1;return;}const _0x444015=this[_0x24a1cd(0x1ec)](0x2);if((_0x444015[0x0]&0x30)!==0x0){const _0x23d0bb=this[_0x24a1cd(0x26d)](RangeError,_0x24a1cd(0x225),!0x0,0x3ea,_0x24a1cd(0x1de));_0xa49b74(_0x23d0bb);return;}const _0xe3259d=(_0x444015[0x0]&0x40)===0x40;if(_0xe3259d&&!this[_0x24a1cd(0x156)][_0x3d4dc9['extensionName']]){const _0x3cd7f7=this[_0x24a1cd(0x26d)](RangeError,_0x24a1cd(0x2f0),!0x0,0x3ea,_0x24a1cd(0x2d2));_0xa49b74(_0x3cd7f7);return;}if(this[_0x24a1cd(0x2b2)]=(_0x444015[0x0]&0x80)===0x80,this[_0x24a1cd(0x191)]=_0x444015[0x0]&0xf,this[_0x24a1cd(0x252)]=_0x444015[0x1]&0x7f,this[_0x24a1cd(0x191)]===0x0){if(_0xe3259d){const _0x4b6386=this[_0x24a1cd(0x26d)](RangeError,_0x24a1cd(0x2f0),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0xa49b74(_0x4b6386);return;}if(!this['_fragmented']){const _0x114c06=this[_0x24a1cd(0x26d)](RangeError,_0x24a1cd(0x268),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0xa49b74(_0x114c06);return;}this[_0x24a1cd(0x191)]=this[_0x24a1cd(0x20b)];}else{if(this[_0x24a1cd(0x191)]===0x1||this[_0x24a1cd(0x191)]===0x2){if(this[_0x24a1cd(0x20b)]){const _0x5031d9=this[_0x24a1cd(0x26d)](RangeError,_0x24a1cd(0x2f1)+this[_0x24a1cd(0x191)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0xa49b74(_0x5031d9);return;}this[_0x24a1cd(0x1b4)]=_0xe3259d;}else{if(this[_0x24a1cd(0x191)]>0x7&&this[_0x24a1cd(0x191)]<0xb){if(!this[_0x24a1cd(0x2b2)]){const _0x279d8d=this[_0x24a1cd(0x26d)](RangeError,_0x24a1cd(0x1d4),!0x0,0x3ea,_0x24a1cd(0x152));_0xa49b74(_0x279d8d);return;}if(_0xe3259d){const _0x4c8ecb=this['createError'](RangeError,_0x24a1cd(0x2f0),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0xa49b74(_0x4c8ecb);return;}if(this['_payloadLength']>0x7d||this['_opcode']===0x8&&this[_0x24a1cd(0x252)]===0x1){const _0x571b2f=this['createError'](RangeError,_0x24a1cd(0x18b)+this['_payloadLength'],!0x0,0x3ea,_0x24a1cd(0x1c4));_0xa49b74(_0x571b2f);return;}}else{const _0x152db6=this[_0x24a1cd(0x26d)](RangeError,_0x24a1cd(0x2f1)+this['_opcode'],!0x0,0x3ea,_0x24a1cd(0x2f3));_0xa49b74(_0x152db6);return;}}}if(!this[_0x24a1cd(0x2b2)]&&!this[_0x24a1cd(0x20b)]&&(this[_0x24a1cd(0x20b)]=this['_opcode']),this[_0x24a1cd(0x269)]=(_0x444015[0x1]&0x80)===0x80,this[_0x24a1cd(0x224)]){if(!this[_0x24a1cd(0x269)]){const _0x1fe27d=this[_0x24a1cd(0x26d)](RangeError,_0x24a1cd(0x296),!0x0,0x3ea,_0x24a1cd(0x301));_0xa49b74(_0x1fe27d);return;}}else{if(this[_0x24a1cd(0x269)]){const _0x314cf0=this['createError'](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x24a1cd(0x1c1));_0xa49b74(_0x314cf0);return;}}this[_0x24a1cd(0x252)]===0x7e?this[_0x24a1cd(0x21c)]=_0x39481c:this['_payloadLength']===0x7f?this[_0x24a1cd(0x21c)]=_0x3cb698:this['haveLength'](_0xa49b74);}[_0x3a269d(0x260)](_0x3d14e2){const _0x2fdc61=_0x3a269d;if(this['_bufferedBytes']<0x2){this[_0x2fdc61(0x1b7)]=!0x1;return;}this[_0x2fdc61(0x252)]=this[_0x2fdc61(0x1ec)](0x2)['readUInt16BE'](0x0),this[_0x2fdc61(0x214)](_0x3d14e2);}[_0x3a269d(0x2c5)](_0x1bea7f){const _0x3e8ed0=_0x3a269d;if(this['_bufferedBytes']<0x8){this[_0x3e8ed0(0x1b7)]=!0x1;return;}const _0x3071c1=this[_0x3e8ed0(0x1ec)](0x8),_0xf74a3a=_0x3071c1[_0x3e8ed0(0x190)](0x0);if(_0xf74a3a>Math[_0x3e8ed0(0x2fc)](0x2,0x15)-0x1){const _0xaa7e8=this[_0x3e8ed0(0x26d)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x3e8ed0(0x2bc));_0x1bea7f(_0xaa7e8);return;}this[_0x3e8ed0(0x252)]=_0xf74a3a*Math[_0x3e8ed0(0x2fc)](0x2,0x20)+_0x3071c1['readUInt32BE'](0x4),this['haveLength'](_0x1bea7f);}[_0x3a269d(0x214)](_0x1bf61a){const _0x54d0d6=_0x3a269d;if(this[_0x54d0d6(0x252)]&&this[_0x54d0d6(0x191)]<0x8&&(this[_0x54d0d6(0x289)]+=this[_0x54d0d6(0x252)],this[_0x54d0d6(0x289)]>this['_maxPayload']&&this['_maxPayload']>0x0)){const _0x5193cd=this[_0x54d0d6(0x26d)](RangeError,_0x54d0d6(0x2db),!0x1,0x3f1,_0x54d0d6(0x2c3));_0x1bf61a(_0x5193cd);return;}this[_0x54d0d6(0x269)]?this[_0x54d0d6(0x21c)]=_0x1eddbd:this['_state']=_0x5186b7;}[_0x3a269d(0x16d)](){const _0x5dc302=_0x3a269d;if(this[_0x5dc302(0x145)]<0x4){this['_loop']=!0x1;return;}this['_mask']=this[_0x5dc302(0x1ec)](0x4),this[_0x5dc302(0x21c)]=_0x5186b7;}[_0x3a269d(0x2a6)](_0x58ba61){const _0x25b166=_0x3a269d;let _0x470270=_0x289a13;if(this['_payloadLength']){if(this[_0x25b166(0x145)]<this[_0x25b166(0x252)]){this[_0x25b166(0x1b7)]=!0x1;return;}_0x470270=this[_0x25b166(0x1ec)](this['_payloadLength']),this[_0x25b166(0x269)]&&(this['_mask'][0x0]|this[_0x25b166(0x259)][0x1]|this[_0x25b166(0x259)][0x2]|this[_0x25b166(0x259)][0x3])!==0x0&&_0x4f5877(_0x470270,this['_mask']);}if(this[_0x25b166(0x191)]>0x7){this[_0x25b166(0x2d4)](_0x470270,_0x58ba61);return;}if(this[_0x25b166(0x1b4)]){this[_0x25b166(0x21c)]=_0x545194,this['decompress'](_0x470270,_0x58ba61);return;}_0x470270[_0x25b166(0x1f1)]&&(this[_0x25b166(0x2c7)]=this[_0x25b166(0x289)],this[_0x25b166(0x1ea)]['push'](_0x470270)),this[_0x25b166(0x1c6)](_0x58ba61);}['decompress'](_0x286a7b,_0xc4e68){const _0x35a911=_0x3a269d;this[_0x35a911(0x156)][_0x3d4dc9[_0x35a911(0x258)]][_0x35a911(0x15f)](_0x286a7b,this['_fin'],(_0x3914cb,_0x52064d)=>{const _0x55ebe3=_0x35a911;if(_0x3914cb)return _0xc4e68(_0x3914cb);if(_0x52064d[_0x55ebe3(0x1f1)]){if(this[_0x55ebe3(0x2c7)]+=_0x52064d[_0x55ebe3(0x1f1)],this[_0x55ebe3(0x2c7)]>this[_0x55ebe3(0x1a9)]&&this[_0x55ebe3(0x1a9)]>0x0){const _0x380526=this[_0x55ebe3(0x26d)](RangeError,_0x55ebe3(0x2db),!0x1,0x3f1,_0x55ebe3(0x2c3));_0xc4e68(_0x380526);return;}this[_0x55ebe3(0x1ea)]['push'](_0x52064d);}this[_0x55ebe3(0x1c6)](_0xc4e68),this[_0x55ebe3(0x21c)]===_0x45657b&&this['startLoop'](_0xc4e68);});}[_0x3a269d(0x1c6)](_0x25f3f4){const _0x240478=_0x3a269d;if(!this[_0x240478(0x2b2)]){this['_state']=_0x45657b;return;}const _0xaeeaa1=this[_0x240478(0x2c7)],_0x1571de=this[_0x240478(0x1ea)];if(this[_0x240478(0x289)]=0x0,this[_0x240478(0x2c7)]=0x0,this[_0x240478(0x20b)]=0x0,this['_fragments']=[],this[_0x240478(0x191)]===0x2){let _0x1e1b27;this[_0x240478(0x251)]===_0x240478(0x23a)?_0x1e1b27=_0x4b618c(_0x1571de,_0xaeeaa1):this[_0x240478(0x251)]===_0x240478(0x1e6)?_0x1e1b27=_0x43ef7f(_0x4b618c(_0x1571de,_0xaeeaa1)):this[_0x240478(0x251)]===_0x240478(0x18e)?_0x1e1b27=new Blob(_0x1571de):_0x1e1b27=_0x1571de,this[_0x240478(0x302)]?(this[_0x240478(0x1a3)](_0x240478(0x28b),_0x1e1b27,!0x0),this['_state']=_0x45657b):(this[_0x240478(0x21c)]=_0x2709c0,setImmediate(()=>{const _0x2f3df6=_0x240478;this[_0x2f3df6(0x1a3)](_0x2f3df6(0x28b),_0x1e1b27,!0x0),this[_0x2f3df6(0x21c)]=_0x45657b,this[_0x2f3df6(0x2d8)](_0x25f3f4);}));}else{const _0x318ef1=_0x4b618c(_0x1571de,_0xaeeaa1);if(!this[_0x240478(0x275)]&&!_0x9db1ae(_0x318ef1)){const _0x311ee1=this['createError'](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x240478(0x21d));_0x25f3f4(_0x311ee1);return;}this[_0x240478(0x21c)]===_0x545194||this[_0x240478(0x302)]?(this['emit']('message',_0x318ef1,!0x1),this[_0x240478(0x21c)]=_0x45657b):(this[_0x240478(0x21c)]=_0x2709c0,setImmediate(()=>{const _0x12c1fd=_0x240478;this[_0x12c1fd(0x1a3)](_0x12c1fd(0x28b),_0x318ef1,!0x1),this[_0x12c1fd(0x21c)]=_0x45657b,this[_0x12c1fd(0x2d8)](_0x25f3f4);}));}}[_0x3a269d(0x2d4)](_0x2f2fee,_0x32d986){const _0x4b8f7d=_0x3a269d;if(this[_0x4b8f7d(0x191)]===0x8){if(_0x2f2fee[_0x4b8f7d(0x1f1)]===0x0)this[_0x4b8f7d(0x1b7)]=!0x1,this[_0x4b8f7d(0x1a3)]('conclude',0x3ed,_0x289a13),this[_0x4b8f7d(0x23d)]();else{const _0x425b82=_0x2f2fee[_0x4b8f7d(0x237)](0x0);if(!_0x4ade20(_0x425b82)){const _0xc218d3=this['createError'](RangeError,'invalid\x20status\x20code\x20'+_0x425b82,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x32d986(_0xc218d3);return;}const _0xc8bce=new _0x35bcd8(_0x2f2fee[_0x4b8f7d(0x2c2)],_0x2f2fee[_0x4b8f7d(0x1f9)]+0x2,_0x2f2fee[_0x4b8f7d(0x1f1)]-0x2);if(!this[_0x4b8f7d(0x275)]&&!_0x9db1ae(_0xc8bce)){const _0x4ace23=this[_0x4b8f7d(0x26d)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x32d986(_0x4ace23);return;}this[_0x4b8f7d(0x1b7)]=!0x1,this[_0x4b8f7d(0x1a3)](_0x4b8f7d(0x1f4),_0x425b82,_0xc8bce),this[_0x4b8f7d(0x23d)]();}this[_0x4b8f7d(0x21c)]=_0x45657b;return;}this[_0x4b8f7d(0x302)]?(this[_0x4b8f7d(0x1a3)](this['_opcode']===0x9?_0x4b8f7d(0x23e):_0x4b8f7d(0x282),_0x2f2fee),this[_0x4b8f7d(0x21c)]=_0x45657b):(this[_0x4b8f7d(0x21c)]=_0x2709c0,setImmediate(()=>{const _0x1df83a=_0x4b8f7d;this[_0x1df83a(0x1a3)](this[_0x1df83a(0x191)]===0x9?_0x1df83a(0x23e):_0x1df83a(0x282),_0x2f2fee),this[_0x1df83a(0x21c)]=_0x45657b,this[_0x1df83a(0x2d8)](_0x32d986);}));}['createError'](_0x19a5c7,_0x77e609,_0x484f01,_0x158039,_0x1d801d){const _0x32786d=_0x3a269d;this[_0x32786d(0x1b7)]=!0x1,this[_0x32786d(0x1b6)]=!0x0;const _0x410cee=new _0x19a5c7(_0x484f01?_0x32786d(0x2ec)+_0x77e609:_0x77e609);return Error['captureStackTrace'](_0x410cee,this[_0x32786d(0x26d)]),_0x410cee[_0x32786d(0x2cc)]=_0x1d801d,_0x410cee[_0x1107dd]=_0x158039,_0x410cee;}}return Se=_0x1957b6,Se;}var Ee,Xe;function ft(){const _0xe8f4b=_0x433db5;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x48fdc4}=oe,{randomFillSync:_0x21ae08}=Le,_0x231ff8=he(),{EMPTY_BUFFER:_0x674b96,kWebSocket:_0x5c3e33,NOOP:_0x2f4eae}=H(),{isBlob:_0x292d87,isValidStatusCode:_0x2d6cda}=ae(),{mask:_0x48ecc9,toBuffer:_0x227ebd}=ce(),_0x57ba08=Symbol('kByteLength'),_0x35f129=Buffer[_0xe8f4b(0x15b)](0x4),_0x285160=0x8*0x400;let _0x4e61f3,_0x4be664=_0x285160;const _0x47e1c5=0x0,_0x427710=0x1,_0x3577fc=0x2;class _0xa5d470{constructor(_0x2e6df9,_0x18f1f0,_0x31650f){const _0x3b6200=_0xe8f4b;this['_extensions']=_0x18f1f0||{},_0x31650f&&(this[_0x3b6200(0x186)]=_0x31650f,this[_0x3b6200(0x26c)]=Buffer[_0x3b6200(0x15b)](0x4)),this[_0x3b6200(0x16f)]=_0x2e6df9,this[_0x3b6200(0x2f7)]=!0x0,this[_0x3b6200(0x198)]=!0x1,this[_0x3b6200(0x145)]=0x0,this[_0x3b6200(0x2e6)]=[],this[_0x3b6200(0x21c)]=_0x47e1c5,this[_0x3b6200(0x242)]=_0x2f4eae,this[_0x5c3e33]=void 0x0;}static[_0xe8f4b(0x1e5)](_0x278908,_0xae9fd1){const _0x217cd2=_0xe8f4b;let _0x4a0dda,_0x555b7d=!0x1,_0x4fcfb7=0x2,_0x35bf73=!0x1;_0xae9fd1['mask']&&(_0x4a0dda=_0xae9fd1['maskBuffer']||_0x35f129,_0xae9fd1['generateMask']?_0xae9fd1[_0x217cd2(0x2f2)](_0x4a0dda):(_0x4be664===_0x285160&&(_0x4e61f3===void 0x0&&(_0x4e61f3=Buffer[_0x217cd2(0x15b)](_0x285160)),_0x21ae08(_0x4e61f3,0x0,_0x285160),_0x4be664=0x0),_0x4a0dda[0x0]=_0x4e61f3[_0x4be664++],_0x4a0dda[0x1]=_0x4e61f3[_0x4be664++],_0x4a0dda[0x2]=_0x4e61f3[_0x4be664++],_0x4a0dda[0x3]=_0x4e61f3[_0x4be664++]),_0x35bf73=(_0x4a0dda[0x0]|_0x4a0dda[0x1]|_0x4a0dda[0x2]|_0x4a0dda[0x3])===0x0,_0x4fcfb7=0x6);let _0x6045ab;typeof _0x278908==_0x217cd2(0x201)?(!_0xae9fd1[_0x217cd2(0x1dc)]||_0x35bf73)&&_0xae9fd1[_0x57ba08]!==void 0x0?_0x6045ab=_0xae9fd1[_0x57ba08]:(_0x278908=Buffer[_0x217cd2(0x161)](_0x278908),_0x6045ab=_0x278908[_0x217cd2(0x1f1)]):(_0x6045ab=_0x278908[_0x217cd2(0x1f1)],_0x555b7d=_0xae9fd1[_0x217cd2(0x1dc)]&&_0xae9fd1['readOnly']&&!_0x35bf73);let _0x4167ff=_0x6045ab;_0x6045ab>=0x10000?(_0x4fcfb7+=0x8,_0x4167ff=0x7f):_0x6045ab>0x7d&&(_0x4fcfb7+=0x2,_0x4167ff=0x7e);const _0x355b64=Buffer[_0x217cd2(0x2a9)](_0x555b7d?_0x6045ab+_0x4fcfb7:_0x4fcfb7);return _0x355b64[0x0]=_0xae9fd1[_0x217cd2(0x248)]?_0xae9fd1[_0x217cd2(0x167)]|0x80:_0xae9fd1[_0x217cd2(0x167)],_0xae9fd1[_0x217cd2(0x1cf)]&&(_0x355b64[0x0]|=0x40),_0x355b64[0x1]=_0x4167ff,_0x4167ff===0x7e?_0x355b64['writeUInt16BE'](_0x6045ab,0x2):_0x4167ff===0x7f&&(_0x355b64[0x2]=_0x355b64[0x3]=0x0,_0x355b64[_0x217cd2(0x1dd)](_0x6045ab,0x4,0x6)),_0xae9fd1[_0x217cd2(0x1dc)]?(_0x355b64[0x1]|=0x80,_0x355b64[_0x4fcfb7-0x4]=_0x4a0dda[0x0],_0x355b64[_0x4fcfb7-0x3]=_0x4a0dda[0x1],_0x355b64[_0x4fcfb7-0x2]=_0x4a0dda[0x2],_0x355b64[_0x4fcfb7-0x1]=_0x4a0dda[0x3],_0x35bf73?[_0x355b64,_0x278908]:_0x555b7d?(_0x48ecc9(_0x278908,_0x4a0dda,_0x355b64,_0x4fcfb7,_0x6045ab),[_0x355b64]):(_0x48ecc9(_0x278908,_0x4a0dda,_0x278908,0x0,_0x6045ab),[_0x355b64,_0x278908])):[_0x355b64,_0x278908];}[_0xe8f4b(0x22f)](_0x35629e,_0x103a39,_0x376dec,_0xf1c806){const _0x5b0486=_0xe8f4b;let _0x5b306e;if(_0x35629e===void 0x0)_0x5b306e=_0x674b96;else{if(typeof _0x35629e!=_0x5b0486(0x2d0)||!_0x2d6cda(_0x35629e))throw new TypeError(_0x5b0486(0x22d));if(_0x103a39===void 0x0||!_0x103a39['length'])_0x5b306e=Buffer['allocUnsafe'](0x2),_0x5b306e[_0x5b0486(0x184)](_0x35629e,0x0);else{const _0x1507c4=Buffer[_0x5b0486(0x2a7)](_0x103a39);if(_0x1507c4>0x7b)throw new RangeError(_0x5b0486(0x16c));_0x5b306e=Buffer[_0x5b0486(0x2a9)](0x2+_0x1507c4),_0x5b306e['writeUInt16BE'](_0x35629e,0x0),typeof _0x103a39==_0x5b0486(0x201)?_0x5b306e[_0x5b0486(0x28f)](_0x103a39,0x2):_0x5b306e[_0x5b0486(0x244)](_0x103a39,0x2);}}const _0x25bc15={[_0x57ba08]:_0x5b306e[_0x5b0486(0x1f1)],'fin':!0x0,'generateMask':this[_0x5b0486(0x186)],'mask':_0x376dec,'maskBuffer':this[_0x5b0486(0x26c)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x5b0486(0x21c)]!==_0x47e1c5?this[_0x5b0486(0x25f)]([this[_0x5b0486(0x279)],_0x5b306e,!0x1,_0x25bc15,_0xf1c806]):this[_0x5b0486(0x2dd)](_0xa5d470['frame'](_0x5b306e,_0x25bc15),_0xf1c806);}['ping'](_0x3c0862,_0x514b55,_0x2c1990){const _0x519deb=_0xe8f4b;let _0x571195,_0x589481;if(typeof _0x3c0862==_0x519deb(0x201)?(_0x571195=Buffer['byteLength'](_0x3c0862),_0x589481=!0x1):_0x292d87(_0x3c0862)?(_0x571195=_0x3c0862[_0x519deb(0x1ff)],_0x589481=!0x1):(_0x3c0862=_0x227ebd(_0x3c0862),_0x571195=_0x3c0862[_0x519deb(0x1f1)],_0x589481=_0x227ebd[_0x519deb(0x18d)]),_0x571195>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x12c278={[_0x57ba08]:_0x571195,'fin':!0x0,'generateMask':this[_0x519deb(0x186)],'mask':_0x514b55,'maskBuffer':this[_0x519deb(0x26c)],'opcode':0x9,'readOnly':_0x589481,'rsv1':!0x1};_0x292d87(_0x3c0862)?this[_0x519deb(0x21c)]!==_0x47e1c5?this['enqueue']([this['getBlobData'],_0x3c0862,!0x1,_0x12c278,_0x2c1990]):this[_0x519deb(0x1ab)](_0x3c0862,!0x1,_0x12c278,_0x2c1990):this[_0x519deb(0x21c)]!==_0x47e1c5?this['enqueue']([this[_0x519deb(0x279)],_0x3c0862,!0x1,_0x12c278,_0x2c1990]):this[_0x519deb(0x2dd)](_0xa5d470[_0x519deb(0x1e5)](_0x3c0862,_0x12c278),_0x2c1990);}['pong'](_0x67c7c3,_0x1c90af,_0x11035b){const _0x2ae213=_0xe8f4b;let _0x595330,_0x9ec47f;if(typeof _0x67c7c3==_0x2ae213(0x201)?(_0x595330=Buffer[_0x2ae213(0x2a7)](_0x67c7c3),_0x9ec47f=!0x1):_0x292d87(_0x67c7c3)?(_0x595330=_0x67c7c3[_0x2ae213(0x1ff)],_0x9ec47f=!0x1):(_0x67c7c3=_0x227ebd(_0x67c7c3),_0x595330=_0x67c7c3[_0x2ae213(0x1f1)],_0x9ec47f=_0x227ebd[_0x2ae213(0x18d)]),_0x595330>0x7d)throw new RangeError(_0x2ae213(0x2e7));const _0x36f76d={[_0x57ba08]:_0x595330,'fin':!0x0,'generateMask':this[_0x2ae213(0x186)],'mask':_0x1c90af,'maskBuffer':this[_0x2ae213(0x26c)],'opcode':0xa,'readOnly':_0x9ec47f,'rsv1':!0x1};_0x292d87(_0x67c7c3)?this[_0x2ae213(0x21c)]!==_0x47e1c5?this[_0x2ae213(0x25f)]([this['getBlobData'],_0x67c7c3,!0x1,_0x36f76d,_0x11035b]):this['getBlobData'](_0x67c7c3,!0x1,_0x36f76d,_0x11035b):this['_state']!==_0x47e1c5?this['enqueue']([this[_0x2ae213(0x279)],_0x67c7c3,!0x1,_0x36f76d,_0x11035b]):this[_0x2ae213(0x2dd)](_0xa5d470['frame'](_0x67c7c3,_0x36f76d),_0x11035b);}[_0xe8f4b(0x2f5)](_0x4a09c5,_0x500fa5,_0x2a8613){const _0x33c67b=_0xe8f4b,_0x327f9a=this[_0x33c67b(0x156)][_0x231ff8[_0x33c67b(0x258)]];let _0x5a4c3b=_0x500fa5[_0x33c67b(0x2ca)]?0x2:0x1,_0x498a64=_0x500fa5['compress'],_0x1a615e,_0x415d48;typeof _0x4a09c5=='string'?(_0x1a615e=Buffer[_0x33c67b(0x2a7)](_0x4a09c5),_0x415d48=!0x1):_0x292d87(_0x4a09c5)?(_0x1a615e=_0x4a09c5[_0x33c67b(0x1ff)],_0x415d48=!0x1):(_0x4a09c5=_0x227ebd(_0x4a09c5),_0x1a615e=_0x4a09c5['length'],_0x415d48=_0x227ebd[_0x33c67b(0x18d)]),this[_0x33c67b(0x2f7)]?(this[_0x33c67b(0x2f7)]=!0x1,_0x498a64&&_0x327f9a&&_0x327f9a[_0x33c67b(0x2fd)][_0x327f9a[_0x33c67b(0x224)]?_0x33c67b(0x297):_0x33c67b(0x18f)]&&(_0x498a64=_0x1a615e>=_0x327f9a['_threshold']),this[_0x33c67b(0x198)]=_0x498a64):(_0x498a64=!0x1,_0x5a4c3b=0x0),_0x500fa5[_0x33c67b(0x248)]&&(this['_firstFragment']=!0x0);const _0x540917={[_0x57ba08]:_0x1a615e,'fin':_0x500fa5[_0x33c67b(0x248)],'generateMask':this[_0x33c67b(0x186)],'mask':_0x500fa5[_0x33c67b(0x1dc)],'maskBuffer':this['_maskBuffer'],'opcode':_0x5a4c3b,'readOnly':_0x415d48,'rsv1':_0x498a64};_0x292d87(_0x4a09c5)?this[_0x33c67b(0x21c)]!==_0x47e1c5?this[_0x33c67b(0x25f)]([this[_0x33c67b(0x1ab)],_0x4a09c5,this[_0x33c67b(0x198)],_0x540917,_0x2a8613]):this['getBlobData'](_0x4a09c5,this[_0x33c67b(0x198)],_0x540917,_0x2a8613):this[_0x33c67b(0x21c)]!==_0x47e1c5?this[_0x33c67b(0x25f)]([this[_0x33c67b(0x279)],_0x4a09c5,this[_0x33c67b(0x198)],_0x540917,_0x2a8613]):this['dispatch'](_0x4a09c5,this['_compress'],_0x540917,_0x2a8613);}[_0xe8f4b(0x1ab)](_0x2756dc,_0x319d34,_0x5ee8e1,_0x4bc717){const _0x302aff=_0xe8f4b;this[_0x302aff(0x145)]+=_0x5ee8e1[_0x57ba08],this[_0x302aff(0x21c)]=_0x3577fc,_0x2756dc[_0x302aff(0x227)]()[_0x302aff(0x29a)](_0x1f124c=>{const _0x219c7b=_0x302aff;if(this['_socket']['destroyed']){const _0x28cb65=new Error(_0x219c7b(0x24e));process[_0x219c7b(0x1fa)](_0xcff0e8,this,_0x28cb65,_0x4bc717);return;}this['_bufferedBytes']-=_0x5ee8e1[_0x57ba08];const _0x444ad2=_0x227ebd(_0x1f124c);_0x319d34?this[_0x219c7b(0x279)](_0x444ad2,_0x319d34,_0x5ee8e1,_0x4bc717):(this[_0x219c7b(0x21c)]=_0x47e1c5,this[_0x219c7b(0x2dd)](_0xa5d470[_0x219c7b(0x1e5)](_0x444ad2,_0x5ee8e1),_0x4bc717),this['dequeue']());})[_0x302aff(0x169)](_0xdc8bbe=>{const _0x330b9d=_0x302aff;process[_0x330b9d(0x1fa)](_0x1f2c07,this,_0xdc8bbe,_0x4bc717);});}[_0xe8f4b(0x279)](_0x3b2abc,_0x192989,_0x20f9a3,_0x31fa96){const _0xe04100=_0xe8f4b;if(!_0x192989){this[_0xe04100(0x2dd)](_0xa5d470['frame'](_0x3b2abc,_0x20f9a3),_0x31fa96);return;}const _0x23eb6a=this[_0xe04100(0x156)][_0x231ff8[_0xe04100(0x258)]];this[_0xe04100(0x145)]+=_0x20f9a3[_0x57ba08],this[_0xe04100(0x21c)]=_0x427710,_0x23eb6a[_0xe04100(0x210)](_0x3b2abc,_0x20f9a3[_0xe04100(0x248)],(_0xf06f55,_0x238ee3)=>{const _0x3c4fff=_0xe04100;if(this[_0x3c4fff(0x16f)]['destroyed']){const _0x15b01d=new Error(_0x3c4fff(0x1d8));_0xcff0e8(this,_0x15b01d,_0x31fa96);return;}this[_0x3c4fff(0x145)]-=_0x20f9a3[_0x57ba08],this['_state']=_0x47e1c5,_0x20f9a3[_0x3c4fff(0x18d)]=!0x1,this[_0x3c4fff(0x2dd)](_0xa5d470['frame'](_0x238ee3,_0x20f9a3),_0x31fa96),this[_0x3c4fff(0x1f3)]();});}[_0xe8f4b(0x1f3)](){const _0x17236a=_0xe8f4b;for(;this[_0x17236a(0x21c)]===_0x47e1c5&&this['_queue'][_0x17236a(0x1f1)];){const _0x2a30be=this[_0x17236a(0x2e6)][_0x17236a(0x29b)]();this[_0x17236a(0x145)]-=_0x2a30be[0x3][_0x57ba08],Reflect[_0x17236a(0x150)](_0x2a30be[0x0],this,_0x2a30be['slice'](0x1));}}[_0xe8f4b(0x25f)](_0x3bae7d){const _0x5ca9a1=_0xe8f4b;this[_0x5ca9a1(0x145)]+=_0x3bae7d[0x3][_0x57ba08],this[_0x5ca9a1(0x2e6)]['push'](_0x3bae7d);}[_0xe8f4b(0x2dd)](_0xd96243,_0x20aac1){const _0x506eb2=_0xe8f4b;_0xd96243[_0x506eb2(0x1f1)]===0x2?(this[_0x506eb2(0x16f)][_0x506eb2(0x2a5)](),this[_0x506eb2(0x16f)][_0x506eb2(0x28f)](_0xd96243[0x0]),this['_socket']['write'](_0xd96243[0x1],_0x20aac1),this[_0x506eb2(0x16f)][_0x506eb2(0x20a)]()):this[_0x506eb2(0x16f)][_0x506eb2(0x28f)](_0xd96243[0x0],_0x20aac1);}}Ee=_0xa5d470;function _0xcff0e8(_0x388f53,_0x52145c,_0x45c715){const _0x4c265c=_0xe8f4b;typeof _0x45c715==_0x4c265c(0x17c)&&_0x45c715(_0x52145c);for(let _0x12c11b=0x0;_0x12c11b<_0x388f53['_queue']['length'];_0x12c11b++){const _0x2af5d7=_0x388f53[_0x4c265c(0x2e6)][_0x12c11b],_0x3bfe20=_0x2af5d7[_0x2af5d7['length']-0x1];typeof _0x3bfe20==_0x4c265c(0x17c)&&_0x3bfe20(_0x52145c);}}function _0x1f2c07(_0x2a0a4a,_0x4b46e0,_0x41e3cd){const _0x1831ae=_0xe8f4b;_0xcff0e8(_0x2a0a4a,_0x4b46e0,_0x41e3cd),_0x2a0a4a[_0x1831ae(0x242)](_0x4b46e0);}return Ee;}var xe,Ze;function It(){const _0x196e7f=_0x433db5;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0xecfde4,kListener:_0x51d014}=H(),_0x59e34b=Symbol(_0x196e7f(0x194)),_0xd98295=Symbol(_0x196e7f(0x249)),_0x34994a=Symbol('kError'),_0x2b44fa=Symbol('kMessage'),_0xca6241=Symbol('kReason'),_0x4f9fab=Symbol(_0x196e7f(0x2da)),_0x1c7922=Symbol(_0x196e7f(0x1b2)),_0xf9e3a2=Symbol(_0x196e7f(0x220));class _0x167f19{constructor(_0x2ab54e){this[_0x4f9fab]=null,this[_0x1c7922]=_0x2ab54e;}get['target'](){return this[_0x4f9fab];}get[_0x196e7f(0x2c9)](){return this[_0x1c7922];}}Object[_0x196e7f(0x20c)](_0x167f19[_0x196e7f(0x14a)],_0x196e7f(0x2bb),{'enumerable':!0x0}),Object[_0x196e7f(0x20c)](_0x167f19[_0x196e7f(0x14a)],_0x196e7f(0x2c9),{'enumerable':!0x0});class _0x1608f0 extends _0x167f19{constructor(_0x10051e,_0x183cfd={}){const _0x35d80e=_0x196e7f;super(_0x10051e),this[_0x59e34b]=_0x183cfd[_0x35d80e(0x2cc)]===void 0x0?0x0:_0x183cfd[_0x35d80e(0x2cc)],this[_0xca6241]=_0x183cfd[_0x35d80e(0x1eb)]===void 0x0?'':_0x183cfd[_0x35d80e(0x1eb)],this[_0xf9e3a2]=_0x183cfd['wasClean']===void 0x0?!0x1:_0x183cfd[_0x35d80e(0x1be)];}get[_0x196e7f(0x2cc)](){return this[_0x59e34b];}get[_0x196e7f(0x1eb)](){return this[_0xca6241];}get[_0x196e7f(0x1be)](){return this[_0xf9e3a2];}}Object[_0x196e7f(0x20c)](_0x1608f0[_0x196e7f(0x14a)],_0x196e7f(0x2cc),{'enumerable':!0x0}),Object['defineProperty'](_0x1608f0[_0x196e7f(0x14a)],_0x196e7f(0x1eb),{'enumerable':!0x0}),Object[_0x196e7f(0x20c)](_0x1608f0['prototype'],_0x196e7f(0x1be),{'enumerable':!0x0});class _0x5c34c7 extends _0x167f19{constructor(_0x32bed5,_0xf45063={}){const _0x520d4b=_0x196e7f;super(_0x32bed5),this[_0x34994a]=_0xf45063['error']===void 0x0?null:_0xf45063[_0x520d4b(0x146)],this[_0x2b44fa]=_0xf45063['message']===void 0x0?'':_0xf45063[_0x520d4b(0x28b)];}get[_0x196e7f(0x146)](){return this[_0x34994a];}get[_0x196e7f(0x28b)](){return this[_0x2b44fa];}}Object[_0x196e7f(0x20c)](_0x5c34c7[_0x196e7f(0x14a)],_0x196e7f(0x146),{'enumerable':!0x0}),Object[_0x196e7f(0x20c)](_0x5c34c7[_0x196e7f(0x14a)],_0x196e7f(0x28b),{'enumerable':!0x0});class _0x9150de extends _0x167f19{constructor(_0x1012a2,_0x5f350f={}){const _0x35e7ac=_0x196e7f;super(_0x1012a2),this[_0xd98295]=_0x5f350f[_0x35e7ac(0x171)]===void 0x0?null:_0x5f350f[_0x35e7ac(0x171)];}get[_0x196e7f(0x171)](){return this[_0xd98295];}}Object[_0x196e7f(0x20c)](_0x9150de[_0x196e7f(0x14a)],_0x196e7f(0x171),{'enumerable':!0x0}),xe={'CloseEvent':_0x1608f0,'ErrorEvent':_0x5c34c7,'Event':_0x167f19,'EventTarget':{'addEventListener'(_0x4d0a8d,_0x51b52a,_0x5c1660={}){const _0x2496c5=_0x196e7f;for(const _0x4dde0b of this[_0x2496c5(0x228)](_0x4d0a8d))if(!_0x5c1660[_0xecfde4]&&_0x4dde0b[_0x51d014]===_0x51b52a&&!_0x4dde0b[_0xecfde4])return;let _0x2d94dc;if(_0x4d0a8d===_0x2496c5(0x28b))_0x2d94dc=function(_0x1e6707,_0x332f6a){const _0x20aafd=new _0x9150de('message',{'data':_0x332f6a?_0x1e6707:_0x1e6707['toString']()});_0x20aafd[_0x4f9fab]=this,_0x4da232(_0x51b52a,this,_0x20aafd);};else{if(_0x4d0a8d===_0x2496c5(0x22f))_0x2d94dc=function(_0x2b1134,_0x37ec1c){const _0x1c5b60=_0x2496c5,_0x47f41f=new _0x1608f0('close',{'code':_0x2b1134,'reason':_0x37ec1c[_0x1c5b60(0x1f2)](),'wasClean':this[_0x1c5b60(0x180)]&&this[_0x1c5b60(0x28c)]});_0x47f41f[_0x4f9fab]=this,_0x4da232(_0x51b52a,this,_0x47f41f);};else{if(_0x4d0a8d==='error')_0x2d94dc=function(_0x2f4d67){const _0x184b72=_0x2496c5,_0x53c821=new _0x5c34c7(_0x184b72(0x146),{'error':_0x2f4d67,'message':_0x2f4d67['message']});_0x53c821[_0x4f9fab]=this,_0x4da232(_0x51b52a,this,_0x53c821);};else{if(_0x4d0a8d===_0x2496c5(0x2e8))_0x2d94dc=function(){const _0x1ea947=new _0x167f19('open');_0x1ea947[_0x4f9fab]=this,_0x4da232(_0x51b52a,this,_0x1ea947);};else return;}}}_0x2d94dc[_0xecfde4]=!!_0x5c1660[_0xecfde4],_0x2d94dc[_0x51d014]=_0x51b52a,_0x5c1660['once']?this[_0x2496c5(0x170)](_0x4d0a8d,_0x2d94dc):this['on'](_0x4d0a8d,_0x2d94dc);},'removeEventListener'(_0x1ad848,_0x3f89f3){const _0x5781cd=_0x196e7f;for(const _0x541438 of this[_0x5781cd(0x228)](_0x1ad848))if(_0x541438[_0x51d014]===_0x3f89f3&&!_0x541438[_0xecfde4]){this['removeListener'](_0x1ad848,_0x541438);break;}}},'MessageEvent':_0x9150de};function _0x4da232(_0x1c2243,_0xe72943,_0x3734b3){const _0x12bbb2=_0x196e7f;typeof _0x1c2243==_0x12bbb2(0x2b8)&&_0x1c2243[_0x12bbb2(0x273)]?_0x1c2243[_0x12bbb2(0x273)]['call'](_0x1c2243,_0x3734b3):_0x1c2243['call'](_0xe72943,_0x3734b3);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x2d8af2}=ae();function _0x29ba91(_0x5286be,_0x2892c4,_0x47f207){_0x5286be[_0x2892c4]===void 0x0?_0x5286be[_0x2892c4]=[_0x47f207]:_0x5286be[_0x2892c4]['push'](_0x47f207);}function _0x3607ae(_0x5a380d){const _0x5bf70a=_0x26f8,_0x4dd65e=Object['create'](null);let _0x12fe83=Object[_0x5bf70a(0x17a)](null),_0x58b119=!0x1,_0x1473a6=!0x1,_0xb22c9f=!0x1,_0x17d38e,_0x2a6895,_0xd6906e=-0x1,_0x500f0b=-0x1,_0x4aabd5=-0x1,_0x1b5730=0x0;for(;_0x1b5730<_0x5a380d[_0x5bf70a(0x1f1)];_0x1b5730++)if(_0x500f0b=_0x5a380d[_0x5bf70a(0x1fd)](_0x1b5730),_0x17d38e===void 0x0){if(_0x4aabd5===-0x1&&_0x2d8af2[_0x500f0b]===0x1)_0xd6906e===-0x1&&(_0xd6906e=_0x1b5730);else{if(_0x1b5730!==0x0&&(_0x500f0b===0x20||_0x500f0b===0x9))_0x4aabd5===-0x1&&_0xd6906e!==-0x1&&(_0x4aabd5=_0x1b5730);else{if(_0x500f0b===0x3b||_0x500f0b===0x2c){if(_0xd6906e===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1b5730);_0x4aabd5===-0x1&&(_0x4aabd5=_0x1b5730);const _0x419c00=_0x5a380d[_0x5bf70a(0x238)](_0xd6906e,_0x4aabd5);_0x500f0b===0x2c?(_0x29ba91(_0x4dd65e,_0x419c00,_0x12fe83),_0x12fe83=Object['create'](null)):_0x17d38e=_0x419c00,_0xd6906e=_0x4aabd5=-0x1;}else throw new SyntaxError(_0x5bf70a(0x16a)+_0x1b5730);}}}else{if(_0x2a6895===void 0x0){if(_0x4aabd5===-0x1&&_0x2d8af2[_0x500f0b]===0x1)_0xd6906e===-0x1&&(_0xd6906e=_0x1b5730);else{if(_0x500f0b===0x20||_0x500f0b===0x9)_0x4aabd5===-0x1&&_0xd6906e!==-0x1&&(_0x4aabd5=_0x1b5730);else{if(_0x500f0b===0x3b||_0x500f0b===0x2c){if(_0xd6906e===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1b5730);_0x4aabd5===-0x1&&(_0x4aabd5=_0x1b5730),_0x29ba91(_0x12fe83,_0x5a380d['slice'](_0xd6906e,_0x4aabd5),!0x0),_0x500f0b===0x2c&&(_0x29ba91(_0x4dd65e,_0x17d38e,_0x12fe83),_0x12fe83=Object[_0x5bf70a(0x17a)](null),_0x17d38e=void 0x0),_0xd6906e=_0x4aabd5=-0x1;}else{if(_0x500f0b===0x3d&&_0xd6906e!==-0x1&&_0x4aabd5===-0x1)_0x2a6895=_0x5a380d['slice'](_0xd6906e,_0x1b5730),_0xd6906e=_0x4aabd5=-0x1;else throw new SyntaxError(_0x5bf70a(0x16a)+_0x1b5730);}}}}else{if(_0x1473a6){if(_0x2d8af2[_0x500f0b]!==0x1)throw new SyntaxError(_0x5bf70a(0x16a)+_0x1b5730);_0xd6906e===-0x1?_0xd6906e=_0x1b5730:_0x58b119||(_0x58b119=!0x0),_0x1473a6=!0x1;}else{if(_0xb22c9f){if(_0x2d8af2[_0x500f0b]===0x1)_0xd6906e===-0x1&&(_0xd6906e=_0x1b5730);else{if(_0x500f0b===0x22&&_0xd6906e!==-0x1)_0xb22c9f=!0x1,_0x4aabd5=_0x1b5730;else{if(_0x500f0b===0x5c)_0x1473a6=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1b5730);}}}else{if(_0x500f0b===0x22&&_0x5a380d[_0x5bf70a(0x1fd)](_0x1b5730-0x1)===0x3d)_0xb22c9f=!0x0;else{if(_0x4aabd5===-0x1&&_0x2d8af2[_0x500f0b]===0x1)_0xd6906e===-0x1&&(_0xd6906e=_0x1b5730);else{if(_0xd6906e!==-0x1&&(_0x500f0b===0x20||_0x500f0b===0x9))_0x4aabd5===-0x1&&(_0x4aabd5=_0x1b5730);else{if(_0x500f0b===0x3b||_0x500f0b===0x2c){if(_0xd6906e===-0x1)throw new SyntaxError(_0x5bf70a(0x16a)+_0x1b5730);_0x4aabd5===-0x1&&(_0x4aabd5=_0x1b5730);let _0x51da3e=_0x5a380d[_0x5bf70a(0x238)](_0xd6906e,_0x4aabd5);_0x58b119&&(_0x51da3e=_0x51da3e[_0x5bf70a(0x233)](/\\/g,''),_0x58b119=!0x1),_0x29ba91(_0x12fe83,_0x2a6895,_0x51da3e),_0x500f0b===0x2c&&(_0x29ba91(_0x4dd65e,_0x17d38e,_0x12fe83),_0x12fe83=Object[_0x5bf70a(0x17a)](null),_0x17d38e=void 0x0),_0x2a6895=void 0x0,_0xd6906e=_0x4aabd5=-0x1;}else throw new SyntaxError(_0x5bf70a(0x16a)+_0x1b5730);}}}}}}}if(_0xd6906e===-0x1||_0xb22c9f||_0x500f0b===0x20||_0x500f0b===0x9)throw new SyntaxError(_0x5bf70a(0x2a0));_0x4aabd5===-0x1&&(_0x4aabd5=_0x1b5730);const _0xe6ec74=_0x5a380d['slice'](_0xd6906e,_0x4aabd5);return _0x17d38e===void 0x0?_0x29ba91(_0x4dd65e,_0xe6ec74,_0x12fe83):(_0x2a6895===void 0x0?_0x29ba91(_0x12fe83,_0xe6ec74,!0x0):_0x58b119?_0x29ba91(_0x12fe83,_0x2a6895,_0xe6ec74['replace'](/\\/g,'')):_0x29ba91(_0x12fe83,_0x2a6895,_0xe6ec74),_0x29ba91(_0x4dd65e,_0x17d38e,_0x12fe83)),_0x4dd65e;}function _0x3ec5b6(_0x2fc58b){const _0x39ce25=_0x26f8;return Object['keys'](_0x2fc58b)[_0x39ce25(0x288)](_0x378d5b=>{const _0x3bca4b=_0x39ce25;let _0x59941d=_0x2fc58b[_0x378d5b];return Array['isArray'](_0x59941d)||(_0x59941d=[_0x59941d]),_0x59941d[_0x3bca4b(0x288)](_0xfa13d0=>[_0x378d5b]['concat'](Object['keys'](_0xfa13d0)['map'](_0x3e91de=>{const _0xb7acd9=_0x3bca4b;let _0x123840=_0xfa13d0[_0x3e91de];return Array['isArray'](_0x123840)||(_0x123840=[_0x123840]),_0x123840[_0xb7acd9(0x288)](_0x3822ab=>_0x3822ab===!0x0?_0x3e91de:_0x3e91de+'='+_0x3822ab)['join'](';\x20');}))[_0x3bca4b(0x261)](';\x20'))['join'](',\x20');})[_0x39ce25(0x261)](',\x20');}return be={'format':_0x3ec5b6,'parse':_0x3607ae},be;}function _0x26f8(_0x2e6db1,_0x5c441b){const _0x4f5668=_0x4f56();return _0x26f8=function(_0x26f894,_0x5a6834){_0x26f894=_0x26f894-0x145;let _0x5651ca=_0x4f5668[_0x26f894];return _0x5651ca;},_0x26f8(_0x2e6db1,_0x5c441b);}var we,Je;function Pe(){const _0x55b2fc=_0x433db5;if(Je)return we;Je=0x1;const _0x492322=nt,_0x33f94b=vt,_0x3a2b19=ot,_0x141abf=St,_0xeb4bad=Et,{randomBytes:_0x108f54,createHash:_0x4e2f44}=Le,{Duplex:_0x169256,Readable:_0x5c1fd9}=oe,{URL:_0x241d13}=xt,_0x20c973=he(),_0x4ae5ad=lt(),_0x16a121=ft(),{isBlob:_0x150e63}=ae(),{BINARY_TYPES:_0x424dd3,EMPTY_BUFFER:_0x5dc3c3,GUID:_0x259c12,kForOnEventAttribute:_0xa5f111,kListener:_0x3889c3,kStatusCode:_0x3bfe14,kWebSocket:_0x59eec6,NOOP:_0x42411c}=H(),{EventTarget:{addEventListener:_0x96a4b2,removeEventListener:_0x15675c}}=It(),{format:_0x477229,parse:_0x51a543}=ct(),{toBuffer:_0x5d0a9d}=ce(),_0x5951bc=0x1e*0x3e8,_0x43d2b9=Symbol(_0x55b2fc(0x310)),_0x1b3fcb=[0x8,0xd],_0x1222cd=[_0x55b2fc(0x306),_0x55b2fc(0x1c2),_0x55b2fc(0x255),'CLOSED'],_0x5ba9b7=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x5548aa extends _0x492322{constructor(_0x47a012,_0xb4659f,_0x238461){const _0x27a150=_0x55b2fc;super(),this[_0x27a150(0x251)]=_0x424dd3[0x0],this[_0x27a150(0x1ac)]=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x27a150(0x28c)]=!0x1,this[_0x27a150(0x15c)]=_0x5dc3c3,this[_0x27a150(0x23f)]=null,this[_0x27a150(0x163)]=!0x1,this[_0x27a150(0x156)]={},this[_0x27a150(0x2ac)]=!0x1,this[_0x27a150(0x222)]='',this[_0x27a150(0x226)]=_0x5548aa[_0x27a150(0x306)],this[_0x27a150(0x1ee)]=null,this[_0x27a150(0x298)]=null,this[_0x27a150(0x16f)]=null,_0x47a012!==null?(this['_bufferedAmount']=0x0,this[_0x27a150(0x224)]=!0x1,this[_0x27a150(0x1c9)]=0x0,_0xb4659f===void 0x0?_0xb4659f=[]:Array[_0x27a150(0x153)](_0xb4659f)||(typeof _0xb4659f==_0x27a150(0x2b8)&&_0xb4659f!==null?(_0x238461=_0xb4659f,_0xb4659f=[]):_0xb4659f=[_0xb4659f]),_0x11a135(this,_0x47a012,_0xb4659f,_0x238461)):(this[_0x27a150(0x164)]=_0x238461['autoPong'],this[_0x27a150(0x224)]=!0x0);}get[_0x55b2fc(0x16b)](){const _0x37e9ac=_0x55b2fc;return this[_0x37e9ac(0x251)];}set['binaryType'](_0x3e50e5){const _0x51ac6a=_0x55b2fc;_0x424dd3[_0x51ac6a(0x17f)](_0x3e50e5)&&(this[_0x51ac6a(0x251)]=_0x3e50e5,this['_receiver']&&(this[_0x51ac6a(0x1ee)][_0x51ac6a(0x251)]=_0x3e50e5));}get[_0x55b2fc(0x200)](){const _0x42967b=_0x55b2fc;return this[_0x42967b(0x16f)]?this['_socket'][_0x42967b(0x294)]['length']+this[_0x42967b(0x298)][_0x42967b(0x145)]:this[_0x42967b(0x187)];}get[_0x55b2fc(0x2fb)](){const _0x5a4d84=_0x55b2fc;return Object[_0x5a4d84(0x148)](this['_extensions'])['join']();}get[_0x55b2fc(0x1df)](){const _0x291dc6=_0x55b2fc;return this[_0x291dc6(0x2ac)];}get[_0x55b2fc(0x1f5)](){return null;}get['onerror'](){return null;}get[_0x55b2fc(0x162)](){return null;}get[_0x55b2fc(0x221)](){return null;}get[_0x55b2fc(0x264)](){const _0x5b6025=_0x55b2fc;return this[_0x5b6025(0x222)];}get[_0x55b2fc(0x1cc)](){const _0x401efc=_0x55b2fc;return this[_0x401efc(0x226)];}get[_0x55b2fc(0x283)](){const _0x5c7f01=_0x55b2fc;return this[_0x5c7f01(0x1bd)];}['setSocket'](_0xf29e0b,_0x4c28bf,_0x4548e6){const _0x405585=_0x55b2fc,_0x11137c=new _0x4ae5ad({'allowSynchronousEvents':_0x4548e6['allowSynchronousEvents'],'binaryType':this[_0x405585(0x16b)],'extensions':this[_0x405585(0x156)],'isServer':this[_0x405585(0x224)],'maxPayload':_0x4548e6[_0x405585(0x243)],'skipUTF8Validation':_0x4548e6['skipUTF8Validation']}),_0x47237e=new _0x16a121(_0xf29e0b,this[_0x405585(0x156)],_0x4548e6[_0x405585(0x2f2)]);this[_0x405585(0x1ee)]=_0x11137c,this[_0x405585(0x298)]=_0x47237e,this[_0x405585(0x16f)]=_0xf29e0b,_0x11137c[_0x59eec6]=this,_0x47237e[_0x59eec6]=this,_0xf29e0b[_0x59eec6]=this,_0x11137c['on'](_0x405585(0x1f4),_0x4ba5a6),_0x11137c['on'](_0x405585(0x2fa),_0x2e15cb),_0x11137c['on'](_0x405585(0x146),_0x55eae5),_0x11137c['on'](_0x405585(0x28b),_0x5919cc),_0x11137c['on'](_0x405585(0x23e),_0x5482cf),_0x11137c['on']('pong',_0x22160f),_0x47237e[_0x405585(0x242)]=_0x5b7d39,_0xf29e0b['setTimeout']&&_0xf29e0b[_0x405585(0x20e)](0x0),_0xf29e0b[_0x405585(0x1bf)]&&_0xf29e0b[_0x405585(0x1bf)](),_0x4c28bf[_0x405585(0x1f1)]>0x0&&_0xf29e0b['unshift'](_0x4c28bf),_0xf29e0b['on'](_0x405585(0x22f),_0x215e5f),_0xf29e0b['on'](_0x405585(0x171),_0xe68f23),_0xf29e0b['on'](_0x405585(0x23d),_0x337b4b),_0xf29e0b['on']('error',_0x418fe6),this[_0x405585(0x226)]=_0x5548aa['OPEN'],this[_0x405585(0x1a3)](_0x405585(0x2e8));}['emitClose'](){const _0x4eab6a=_0x55b2fc;if(!this[_0x4eab6a(0x16f)]){this['_readyState']=_0x5548aa[_0x4eab6a(0x317)],this[_0x4eab6a(0x1a3)]('close',this[_0x4eab6a(0x1ac)],this[_0x4eab6a(0x15c)]);return;}this['_extensions'][_0x20c973[_0x4eab6a(0x258)]]&&this[_0x4eab6a(0x156)][_0x20c973[_0x4eab6a(0x258)]][_0x4eab6a(0x280)](),this[_0x4eab6a(0x1ee)][_0x4eab6a(0x160)](),this[_0x4eab6a(0x226)]=_0x5548aa[_0x4eab6a(0x317)],this[_0x4eab6a(0x1a3)](_0x4eab6a(0x22f),this[_0x4eab6a(0x1ac)],this[_0x4eab6a(0x15c)]);}['close'](_0x29eb4c,_0xa67c80){const _0x239c1c=_0x55b2fc;if(this[_0x239c1c(0x1cc)]!==_0x5548aa[_0x239c1c(0x317)]){if(this[_0x239c1c(0x1cc)]===_0x5548aa['CONNECTING']){_0x1dced4(this,this[_0x239c1c(0x29c)],_0x239c1c(0x1b9));return;}if(this[_0x239c1c(0x1cc)]===_0x5548aa[_0x239c1c(0x255)]){this['_closeFrameSent']&&(this[_0x239c1c(0x180)]||this[_0x239c1c(0x1ee)]['_writableState']['errorEmitted'])&&this[_0x239c1c(0x16f)][_0x239c1c(0x23d)]();return;}this[_0x239c1c(0x226)]=_0x5548aa[_0x239c1c(0x255)],this[_0x239c1c(0x298)][_0x239c1c(0x22f)](_0x29eb4c,_0xa67c80,!this['_isServer'],_0x5e55ed=>{const _0x1b7a49=_0x239c1c;_0x5e55ed||(this[_0x1b7a49(0x28c)]=!0x0,(this[_0x1b7a49(0x180)]||this[_0x1b7a49(0x1ee)][_0x1b7a49(0x294)][_0x1b7a49(0x24c)])&&this[_0x1b7a49(0x16f)][_0x1b7a49(0x23d)]());}),_0xa2f7fa(this);}}[_0x55b2fc(0x1e3)](){const _0x4f9fbe=_0x55b2fc;this[_0x4f9fbe(0x1cc)]===_0x5548aa[_0x4f9fbe(0x306)]||this[_0x4f9fbe(0x1cc)]===_0x5548aa[_0x4f9fbe(0x317)]||(this[_0x4f9fbe(0x2ac)]=!0x0,this[_0x4f9fbe(0x16f)]['pause']());}['ping'](_0x3bb4dd,_0x94d1c9,_0x1a4196){const _0x52bf49=_0x55b2fc;if(this[_0x52bf49(0x1cc)]===_0x5548aa[_0x52bf49(0x306)])throw new Error(_0x52bf49(0x25b));if(typeof _0x3bb4dd=='function'?(_0x1a4196=_0x3bb4dd,_0x3bb4dd=_0x94d1c9=void 0x0):typeof _0x94d1c9==_0x52bf49(0x17c)&&(_0x1a4196=_0x94d1c9,_0x94d1c9=void 0x0),typeof _0x3bb4dd==_0x52bf49(0x2d0)&&(_0x3bb4dd=_0x3bb4dd[_0x52bf49(0x1f2)]()),this[_0x52bf49(0x1cc)]!==_0x5548aa['OPEN']){_0x58af15(this,_0x3bb4dd,_0x1a4196);return;}_0x94d1c9===void 0x0&&(_0x94d1c9=!this[_0x52bf49(0x224)]),this[_0x52bf49(0x298)][_0x52bf49(0x23e)](_0x3bb4dd||_0x5dc3c3,_0x94d1c9,_0x1a4196);}[_0x55b2fc(0x282)](_0x234e80,_0x36df7b,_0x363d1c){const _0x51bb02=_0x55b2fc;if(this[_0x51bb02(0x1cc)]===_0x5548aa[_0x51bb02(0x306)])throw new Error(_0x51bb02(0x25b));if(typeof _0x234e80==_0x51bb02(0x17c)?(_0x363d1c=_0x234e80,_0x234e80=_0x36df7b=void 0x0):typeof _0x36df7b=='function'&&(_0x363d1c=_0x36df7b,_0x36df7b=void 0x0),typeof _0x234e80==_0x51bb02(0x2d0)&&(_0x234e80=_0x234e80[_0x51bb02(0x1f2)]()),this[_0x51bb02(0x1cc)]!==_0x5548aa[_0x51bb02(0x1c2)]){_0x58af15(this,_0x234e80,_0x363d1c);return;}_0x36df7b===void 0x0&&(_0x36df7b=!this[_0x51bb02(0x224)]),this[_0x51bb02(0x298)][_0x51bb02(0x282)](_0x234e80||_0x5dc3c3,_0x36df7b,_0x363d1c);}['resume'](){const _0x2885fd=_0x55b2fc;this[_0x2885fd(0x1cc)]===_0x5548aa[_0x2885fd(0x306)]||this[_0x2885fd(0x1cc)]===_0x5548aa[_0x2885fd(0x317)]||(this[_0x2885fd(0x2ac)]=!0x1,this[_0x2885fd(0x1ee)]['_writableState'][_0x2885fd(0x2b3)]||this['_socket'][_0x2885fd(0x166)]());}[_0x55b2fc(0x2f5)](_0x594e82,_0x5c6943,_0x42558d){const _0x1bc8bd=_0x55b2fc;if(this[_0x1bc8bd(0x1cc)]===_0x5548aa[_0x1bc8bd(0x306)])throw new Error(_0x1bc8bd(0x25b));if(typeof _0x5c6943==_0x1bc8bd(0x17c)&&(_0x42558d=_0x5c6943,_0x5c6943={}),typeof _0x594e82=='number'&&(_0x594e82=_0x594e82[_0x1bc8bd(0x1f2)]()),this[_0x1bc8bd(0x1cc)]!==_0x5548aa[_0x1bc8bd(0x1c2)]){_0x58af15(this,_0x594e82,_0x42558d);return;}const _0xccbd5d={'binary':typeof _0x594e82!=_0x1bc8bd(0x201),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x5c6943};this[_0x1bc8bd(0x156)][_0x20c973[_0x1bc8bd(0x258)]]||(_0xccbd5d['compress']=!0x1),this[_0x1bc8bd(0x298)][_0x1bc8bd(0x2f5)](_0x594e82||_0x5dc3c3,_0xccbd5d,_0x42558d);}[_0x55b2fc(0x21b)](){const _0x4ac000=_0x55b2fc;if(this[_0x4ac000(0x1cc)]!==_0x5548aa[_0x4ac000(0x317)]){if(this[_0x4ac000(0x1cc)]===_0x5548aa[_0x4ac000(0x306)]){_0x1dced4(this,this[_0x4ac000(0x29c)],_0x4ac000(0x1b9));return;}this[_0x4ac000(0x16f)]&&(this[_0x4ac000(0x226)]=_0x5548aa['CLOSING'],this['_socket'][_0x4ac000(0x208)]());}}}Object[_0x55b2fc(0x20c)](_0x5548aa,_0x55b2fc(0x306),{'enumerable':!0x0,'value':_0x1222cd['indexOf'](_0x55b2fc(0x306))}),Object[_0x55b2fc(0x20c)](_0x5548aa[_0x55b2fc(0x14a)],_0x55b2fc(0x306),{'enumerable':!0x0,'value':_0x1222cd[_0x55b2fc(0x240)](_0x55b2fc(0x306))}),Object[_0x55b2fc(0x20c)](_0x5548aa,_0x55b2fc(0x1c2),{'enumerable':!0x0,'value':_0x1222cd[_0x55b2fc(0x240)](_0x55b2fc(0x1c2))}),Object[_0x55b2fc(0x20c)](_0x5548aa['prototype'],_0x55b2fc(0x1c2),{'enumerable':!0x0,'value':_0x1222cd[_0x55b2fc(0x240)](_0x55b2fc(0x1c2))}),Object[_0x55b2fc(0x20c)](_0x5548aa,_0x55b2fc(0x255),{'enumerable':!0x0,'value':_0x1222cd[_0x55b2fc(0x240)](_0x55b2fc(0x255))}),Object[_0x55b2fc(0x20c)](_0x5548aa['prototype'],'CLOSING',{'enumerable':!0x0,'value':_0x1222cd[_0x55b2fc(0x240)](_0x55b2fc(0x255))}),Object[_0x55b2fc(0x20c)](_0x5548aa,_0x55b2fc(0x317),{'enumerable':!0x0,'value':_0x1222cd['indexOf'](_0x55b2fc(0x317))}),Object[_0x55b2fc(0x20c)](_0x5548aa['prototype'],_0x55b2fc(0x317),{'enumerable':!0x0,'value':_0x1222cd[_0x55b2fc(0x240)](_0x55b2fc(0x317))}),[_0x55b2fc(0x16b),_0x55b2fc(0x200),_0x55b2fc(0x2fb),_0x55b2fc(0x1df),_0x55b2fc(0x264),_0x55b2fc(0x1cc),_0x55b2fc(0x283)]['forEach'](_0x7d6a1a=>{const _0x6da18a=_0x55b2fc;Object[_0x6da18a(0x20c)](_0x5548aa['prototype'],_0x7d6a1a,{'enumerable':!0x0});}),[_0x55b2fc(0x2e8),_0x55b2fc(0x146),_0x55b2fc(0x22f),_0x55b2fc(0x28b)][_0x55b2fc(0x1a1)](_0x413dff=>{const _0x148aa2=_0x55b2fc;Object['defineProperty'](_0x5548aa[_0x148aa2(0x14a)],'on'+_0x413dff,{'enumerable':!0x0,'get'(){const _0x36c726=_0x148aa2;for(const _0x577b52 of this[_0x36c726(0x228)](_0x413dff))if(_0x577b52[_0xa5f111])return _0x577b52[_0x3889c3];return null;},'set'(_0x34abb5){const _0x138b3c=_0x148aa2;for(const _0x58defc of this['listeners'](_0x413dff))if(_0x58defc[_0xa5f111]){this['removeListener'](_0x413dff,_0x58defc);break;}typeof _0x34abb5=='function'&&this[_0x138b3c(0x188)](_0x413dff,_0x34abb5,{[_0xa5f111]:!0x0});}});}),_0x5548aa['prototype'][_0x55b2fc(0x188)]=_0x96a4b2,_0x5548aa[_0x55b2fc(0x14a)][_0x55b2fc(0x2c0)]=_0x15675c,we=_0x5548aa;function _0x11a135(_0x113646,_0x65da66,_0x28bf0a,_0x4a1c21){const _0x42465e=_0x55b2fc,_0x596ce9={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x1b3fcb[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x4a1c21,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x42465e(0x17d),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x113646[_0x42465e(0x164)]=_0x596ce9['autoPong'],!_0x1b3fcb[_0x42465e(0x17f)](_0x596ce9[_0x42465e(0x25e)]))throw new RangeError(_0x42465e(0x2d1)+_0x596ce9[_0x42465e(0x25e)]+_0x42465e(0x216)+_0x1b3fcb['join'](',\x20')+')');let _0x3fe438;if(_0x65da66 instanceof _0x241d13)_0x3fe438=_0x65da66;else try{_0x3fe438=new _0x241d13(_0x65da66);}catch{throw new SyntaxError(_0x42465e(0x1f7)+_0x65da66);}_0x3fe438[_0x42465e(0x264)]===_0x42465e(0x2e4)?_0x3fe438[_0x42465e(0x264)]=_0x42465e(0x19b):_0x3fe438[_0x42465e(0x264)]==='https:'&&(_0x3fe438[_0x42465e(0x264)]=_0x42465e(0x212)),_0x113646[_0x42465e(0x1bd)]=_0x3fe438[_0x42465e(0x2e0)];const _0xdec73a=_0x3fe438[_0x42465e(0x264)]===_0x42465e(0x212),_0x34d242=_0x3fe438[_0x42465e(0x264)]===_0x42465e(0x1cb);let _0x5a9961;if(_0x3fe438[_0x42465e(0x264)]!==_0x42465e(0x19b)&&!_0xdec73a&&!_0x34d242?_0x5a9961='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':_0x34d242&&!_0x3fe438['pathname']?_0x5a9961=_0x42465e(0x1e8):_0x3fe438[_0x42465e(0x192)]&&(_0x5a9961=_0x42465e(0x272)),_0x5a9961){const _0x49261d=new SyntaxError(_0x5a9961);if(_0x113646[_0x42465e(0x1c9)]===0x0)throw _0x49261d;_0x431aa1(_0x113646,_0x49261d);return;}const _0x21670d=_0xdec73a?0x1bb:0x50,_0x39235c=_0x108f54(0x10)['toString'](_0x42465e(0x158)),_0x4bfd46=_0xdec73a?_0x33f94b[_0x42465e(0x1bc)]:_0x3a2b19['request'],_0x72b3ad=new Set();let _0x41166d;if(_0x596ce9[_0x42465e(0x1db)]=_0x596ce9[_0x42465e(0x1db)]||(_0xdec73a?_0x40a077:_0x319be4),_0x596ce9['defaultPort']=_0x596ce9[_0x42465e(0x22b)]||_0x21670d,_0x596ce9[_0x42465e(0x209)]=_0x3fe438[_0x42465e(0x209)]||_0x21670d,_0x596ce9[_0x42465e(0x293)]=_0x3fe438['hostname'][_0x42465e(0x23c)]('[')?_0x3fe438['hostname']['slice'](0x1,-0x1):_0x3fe438[_0x42465e(0x2cd)],_0x596ce9[_0x42465e(0x315)]={..._0x596ce9['headers'],'Sec-WebSocket-Version':_0x596ce9[_0x42465e(0x25e)],'Sec-WebSocket-Key':_0x39235c,'Connection':_0x42465e(0x1ce),'Upgrade':_0x42465e(0x23b)},_0x596ce9['path']=_0x3fe438['pathname']+_0x3fe438[_0x42465e(0x250)],_0x596ce9[_0x42465e(0x1fc)]=_0x596ce9['handshakeTimeout'],_0x596ce9[_0x42465e(0x2c4)]&&(_0x41166d=new _0x20c973(_0x596ce9['perMessageDeflate']!==!0x0?_0x596ce9[_0x42465e(0x2c4)]:{},!0x1,_0x596ce9[_0x42465e(0x243)]),_0x596ce9[_0x42465e(0x315)][_0x42465e(0x18c)]=_0x477229({[_0x20c973[_0x42465e(0x258)]]:_0x41166d[_0x42465e(0x265)]()})),_0x28bf0a['length']){for(const _0x294b5e of _0x28bf0a){if(typeof _0x294b5e!='string'||!_0x5ba9b7[_0x42465e(0x27e)](_0x294b5e)||_0x72b3ad[_0x42465e(0x29f)](_0x294b5e))throw new SyntaxError(_0x42465e(0x1a4));_0x72b3ad[_0x42465e(0x182)](_0x294b5e);}_0x596ce9[_0x42465e(0x315)][_0x42465e(0x2e1)]=_0x28bf0a['join'](',');}if(_0x596ce9[_0x42465e(0x1e1)]&&(_0x596ce9[_0x42465e(0x25e)]<0xd?_0x596ce9[_0x42465e(0x315)]['Sec-WebSocket-Origin']=_0x596ce9[_0x42465e(0x1e1)]:_0x596ce9['headers']['Origin']=_0x596ce9[_0x42465e(0x1e1)]),(_0x3fe438[_0x42465e(0x1f6)]||_0x3fe438[_0x42465e(0x2af)])&&(_0x596ce9[_0x42465e(0x241)]=_0x3fe438[_0x42465e(0x1f6)]+':'+_0x3fe438[_0x42465e(0x2af)]),_0x34d242){const _0x444c52=_0x596ce9[_0x42465e(0x2c1)][_0x42465e(0x181)](':');_0x596ce9[_0x42465e(0x22a)]=_0x444c52[0x0],_0x596ce9['path']=_0x444c52[0x1];}let _0x48e6ab;if(_0x596ce9[_0x42465e(0x2ff)]){if(_0x113646['_redirects']===0x0){_0x113646['_originalIpc']=_0x34d242,_0x113646[_0x42465e(0x25a)]=_0xdec73a,_0x113646['_originalHostOrSocketPath']=_0x34d242?_0x596ce9[_0x42465e(0x22a)]:_0x3fe438[_0x42465e(0x293)];const _0x558b45=_0x4a1c21&&_0x4a1c21[_0x42465e(0x315)];if(_0x4a1c21={..._0x4a1c21,'headers':{}},_0x558b45){for(const [_0x5ddb11,_0x313f49]of Object[_0x42465e(0x2d7)](_0x558b45))_0x4a1c21[_0x42465e(0x315)][_0x5ddb11[_0x42465e(0x1a7)]()]=_0x313f49;}}else{if(_0x113646[_0x42465e(0x253)](_0x42465e(0x25c))===0x0){const _0x46ee84=_0x34d242?_0x113646['_originalIpc']?_0x596ce9[_0x42465e(0x22a)]===_0x113646['_originalHostOrSocketPath']:!0x1:_0x113646['_originalIpc']?!0x1:_0x3fe438[_0x42465e(0x293)]===_0x113646['_originalHostOrSocketPath'];(!_0x46ee84||_0x113646['_originalSecure']&&!_0xdec73a)&&(delete _0x596ce9[_0x42465e(0x315)][_0x42465e(0x2bf)],delete _0x596ce9[_0x42465e(0x315)]['cookie'],_0x46ee84||delete _0x596ce9['headers'][_0x42465e(0x293)],_0x596ce9[_0x42465e(0x241)]=void 0x0);}}_0x596ce9[_0x42465e(0x241)]&&!_0x4a1c21[_0x42465e(0x315)][_0x42465e(0x2bf)]&&(_0x4a1c21[_0x42465e(0x315)][_0x42465e(0x2bf)]=_0x42465e(0x202)+Buffer[_0x42465e(0x161)](_0x596ce9[_0x42465e(0x241)])[_0x42465e(0x1f2)](_0x42465e(0x158))),_0x48e6ab=_0x113646['_req']=_0x4bfd46(_0x596ce9),_0x113646[_0x42465e(0x1c9)]&&_0x113646[_0x42465e(0x1a3)](_0x42465e(0x25c),_0x113646['url'],_0x48e6ab);}else _0x48e6ab=_0x113646[_0x42465e(0x29c)]=_0x4bfd46(_0x596ce9);_0x596ce9['timeout']&&_0x48e6ab['on'](_0x42465e(0x1fc),()=>{const _0x126952=_0x42465e;_0x1dced4(_0x113646,_0x48e6ab,_0x126952(0x204));}),_0x48e6ab['on'](_0x42465e(0x146),_0x5a7a03=>{const _0x1ccbea=_0x42465e;_0x48e6ab===null||_0x48e6ab[_0x43d2b9]||(_0x48e6ab=_0x113646[_0x1ccbea(0x29c)]=null,_0x431aa1(_0x113646,_0x5a7a03));}),_0x48e6ab['on'](_0x42465e(0x207),_0x539da6=>{const _0x5e71f2=_0x42465e,_0x275676=_0x539da6[_0x5e71f2(0x315)][_0x5e71f2(0x29e)],_0x32a7cc=_0x539da6[_0x5e71f2(0x28a)];if(_0x275676&&_0x596ce9[_0x5e71f2(0x2ff)]&&_0x32a7cc>=0x12c&&_0x32a7cc<0x190){if(++_0x113646[_0x5e71f2(0x1c9)]>_0x596ce9[_0x5e71f2(0x287)]){_0x1dced4(_0x113646,_0x48e6ab,_0x5e71f2(0x177));return;}_0x48e6ab[_0x5e71f2(0x18a)]();let _0x546252;try{_0x546252=new _0x241d13(_0x275676,_0x65da66);}catch{const _0x586cd8=new SyntaxError('Invalid\x20URL:\x20'+_0x275676);_0x431aa1(_0x113646,_0x586cd8);return;}_0x11a135(_0x113646,_0x546252,_0x28bf0a,_0x4a1c21);}else _0x113646['emit']('unexpected-response',_0x48e6ab,_0x539da6)||_0x1dced4(_0x113646,_0x48e6ab,_0x5e71f2(0x2a3)+_0x539da6[_0x5e71f2(0x28a)]);}),_0x48e6ab['on'](_0x42465e(0x2cb),(_0x444b3f,_0x477765,_0x2fe4f1)=>{const _0x309dc3=_0x42465e;if(_0x113646[_0x309dc3(0x1a3)](_0x309dc3(0x2cb),_0x444b3f),_0x113646[_0x309dc3(0x1cc)]!==_0x5548aa[_0x309dc3(0x306)])return;_0x48e6ab=_0x113646[_0x309dc3(0x29c)]=null;const _0xdf765f=_0x444b3f[_0x309dc3(0x315)]['upgrade'];if(_0xdf765f===void 0x0||_0xdf765f[_0x309dc3(0x1a7)]()!==_0x309dc3(0x23b)){_0x1dced4(_0x113646,_0x477765,_0x309dc3(0x14e));return;}const _0x6de998=_0x4e2f44(_0x309dc3(0x2d5))[_0x309dc3(0x147)](_0x39235c+_0x259c12)[_0x309dc3(0x26a)](_0x309dc3(0x158));if(_0x444b3f[_0x309dc3(0x315)][_0x309dc3(0x263)]!==_0x6de998){_0x1dced4(_0x113646,_0x477765,_0x309dc3(0x193));return;}const _0x20fcfe=_0x444b3f[_0x309dc3(0x315)][_0x309dc3(0x205)];let _0x4ef890;if(_0x20fcfe!==void 0x0?_0x72b3ad[_0x309dc3(0x1ff)]?_0x72b3ad[_0x309dc3(0x29f)](_0x20fcfe)||(_0x4ef890='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x4ef890=_0x309dc3(0x22e):_0x72b3ad[_0x309dc3(0x1ff)]&&(_0x4ef890='Server\x20sent\x20no\x20subprotocol'),_0x4ef890){_0x1dced4(_0x113646,_0x477765,_0x4ef890);return;}_0x20fcfe&&(_0x113646[_0x309dc3(0x222)]=_0x20fcfe);const _0x5ae07f=_0x444b3f['headers'][_0x309dc3(0x290)];if(_0x5ae07f!==void 0x0){if(!_0x41166d){_0x1dced4(_0x113646,_0x477765,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x4f4ea9;try{_0x4f4ea9=_0x51a543(_0x5ae07f);}catch{_0x1dced4(_0x113646,_0x477765,_0x309dc3(0x307));return;}const _0x4ac0dc=Object[_0x309dc3(0x148)](_0x4f4ea9);if(_0x4ac0dc[_0x309dc3(0x1f1)]!==0x1||_0x4ac0dc[0x0]!==_0x20c973[_0x309dc3(0x258)]){_0x1dced4(_0x113646,_0x477765,_0x309dc3(0x30e));return;}try{_0x41166d[_0x309dc3(0x159)](_0x4f4ea9[_0x20c973['extensionName']]);}catch{_0x1dced4(_0x113646,_0x477765,_0x309dc3(0x307));return;}_0x113646[_0x309dc3(0x156)][_0x20c973[_0x309dc3(0x258)]]=_0x41166d;}_0x113646['setSocket'](_0x477765,_0x2fe4f1,{'allowSynchronousEvents':_0x596ce9['allowSynchronousEvents'],'generateMask':_0x596ce9[_0x309dc3(0x2f2)],'maxPayload':_0x596ce9['maxPayload'],'skipUTF8Validation':_0x596ce9[_0x309dc3(0x2a2)]});}),_0x596ce9['finishRequest']?_0x596ce9[_0x42465e(0x2b7)](_0x48e6ab,_0x113646):_0x48e6ab[_0x42465e(0x23d)]();}function _0x431aa1(_0x170a14,_0x26fb76){const _0x1fb939=_0x55b2fc;_0x170a14['_readyState']=_0x5548aa[_0x1fb939(0x255)],_0x170a14['_errorEmitted']=!0x0,_0x170a14[_0x1fb939(0x1a3)](_0x1fb939(0x146),_0x26fb76),_0x170a14['emitClose']();}function _0x319be4(_0x444848){const _0x25b2a4=_0x55b2fc;return _0x444848['path']=_0x444848['socketPath'],_0x141abf[_0x25b2a4(0x267)](_0x444848);}function _0x40a077(_0x377139){const _0x8a529c=_0x55b2fc;return _0x377139[_0x8a529c(0x2c1)]=void 0x0,!_0x377139[_0x8a529c(0x206)]&&_0x377139[_0x8a529c(0x206)]!==''&&(_0x377139[_0x8a529c(0x206)]=_0x141abf['isIP'](_0x377139['host'])?'':_0x377139[_0x8a529c(0x293)]),_0xeb4bad[_0x8a529c(0x267)](_0x377139);}function _0x1dced4(_0x25f8e2,_0x29188c,_0x6d881b){const _0x4f7d29=_0x55b2fc;_0x25f8e2[_0x4f7d29(0x226)]=_0x5548aa[_0x4f7d29(0x255)];const _0x3df655=new Error(_0x6d881b);Error[_0x4f7d29(0x174)](_0x3df655,_0x1dced4),_0x29188c[_0x4f7d29(0x197)]?(_0x29188c[_0x43d2b9]=!0x0,_0x29188c[_0x4f7d29(0x18a)](),_0x29188c[_0x4f7d29(0x168)]&&!_0x29188c['socket'][_0x4f7d29(0x1c3)]&&_0x29188c[_0x4f7d29(0x168)][_0x4f7d29(0x208)](),process[_0x4f7d29(0x1fa)](_0x431aa1,_0x25f8e2,_0x3df655)):(_0x29188c[_0x4f7d29(0x208)](_0x3df655),_0x29188c[_0x4f7d29(0x170)]('error',_0x25f8e2[_0x4f7d29(0x1a3)][_0x4f7d29(0x291)](_0x25f8e2,'error')),_0x29188c[_0x4f7d29(0x170)](_0x4f7d29(0x22f),_0x25f8e2['emitClose'][_0x4f7d29(0x291)](_0x25f8e2)));}function _0x58af15(_0x39b8f6,_0x3cfa35,_0x5cf6d1){const _0x460313=_0x55b2fc;if(_0x3cfa35){const _0x1f219e=_0x150e63(_0x3cfa35)?_0x3cfa35[_0x460313(0x1ff)]:_0x5d0a9d(_0x3cfa35)[_0x460313(0x1f1)];_0x39b8f6[_0x460313(0x16f)]?_0x39b8f6[_0x460313(0x298)][_0x460313(0x145)]+=_0x1f219e:_0x39b8f6[_0x460313(0x187)]+=_0x1f219e;}if(_0x5cf6d1){const _0x345e7e=new Error(_0x460313(0x277)+_0x39b8f6[_0x460313(0x1cc)]+'\x20('+_0x1222cd[_0x39b8f6[_0x460313(0x1cc)]]+')');process[_0x460313(0x1fa)](_0x5cf6d1,_0x345e7e);}}function _0x4ba5a6(_0x23641e,_0x2c467a){const _0x48d7a7=_0x55b2fc,_0x2ab71a=this[_0x59eec6];_0x2ab71a[_0x48d7a7(0x180)]=!0x0,_0x2ab71a['_closeMessage']=_0x2c467a,_0x2ab71a[_0x48d7a7(0x1ac)]=_0x23641e,_0x2ab71a[_0x48d7a7(0x16f)][_0x59eec6]!==void 0x0&&(_0x2ab71a[_0x48d7a7(0x16f)]['removeListener'](_0x48d7a7(0x171),_0xe68f23),process[_0x48d7a7(0x1fa)](_0x597cfd,_0x2ab71a['_socket']),_0x23641e===0x3ed?_0x2ab71a[_0x48d7a7(0x22f)]():_0x2ab71a[_0x48d7a7(0x22f)](_0x23641e,_0x2c467a));}function _0x2e15cb(){const _0x4e90a2=_0x55b2fc,_0x23592e=this[_0x59eec6];_0x23592e['isPaused']||_0x23592e[_0x4e90a2(0x16f)]['resume']();}function _0x55eae5(_0xdecc31){const _0x518a22=_0x55b2fc,_0x37be01=this[_0x59eec6];_0x37be01['_socket'][_0x59eec6]!==void 0x0&&(_0x37be01[_0x518a22(0x16f)][_0x518a22(0x215)](_0x518a22(0x171),_0xe68f23),process[_0x518a22(0x1fa)](_0x597cfd,_0x37be01[_0x518a22(0x16f)]),_0x37be01[_0x518a22(0x22f)](_0xdecc31[_0x3bfe14])),_0x37be01[_0x518a22(0x163)]||(_0x37be01['_errorEmitted']=!0x0,_0x37be01[_0x518a22(0x1a3)](_0x518a22(0x146),_0xdecc31));}function _0x40e725(){const _0xfcde7b=_0x55b2fc;this[_0x59eec6][_0xfcde7b(0x1ad)]();}function _0x5919cc(_0x245ebe,_0x116df1){const _0x2788c7=_0x55b2fc;this[_0x59eec6][_0x2788c7(0x1a3)](_0x2788c7(0x28b),_0x245ebe,_0x116df1);}function _0x5482cf(_0x42c8d3){const _0x14de3f=_0x55b2fc,_0x56f86d=this[_0x59eec6];_0x56f86d[_0x14de3f(0x164)]&&_0x56f86d[_0x14de3f(0x282)](_0x42c8d3,!this[_0x14de3f(0x224)],_0x42411c),_0x56f86d[_0x14de3f(0x1a3)](_0x14de3f(0x23e),_0x42c8d3);}function _0x22160f(_0x3960b3){const _0x4de1b=_0x55b2fc;this[_0x59eec6][_0x4de1b(0x1a3)](_0x4de1b(0x282),_0x3960b3);}function _0x597cfd(_0x3aa137){const _0x232936=_0x55b2fc;_0x3aa137[_0x232936(0x166)]();}function _0x5b7d39(_0x3185af){const _0x31b388=_0x55b2fc,_0x5d32fb=this[_0x59eec6];_0x5d32fb[_0x31b388(0x1cc)]!==_0x5548aa['CLOSED']&&(_0x5d32fb[_0x31b388(0x1cc)]===_0x5548aa[_0x31b388(0x1c2)]&&(_0x5d32fb['_readyState']=_0x5548aa[_0x31b388(0x255)],_0xa2f7fa(_0x5d32fb)),this[_0x31b388(0x16f)][_0x31b388(0x23d)](),_0x5d32fb[_0x31b388(0x163)]||(_0x5d32fb[_0x31b388(0x163)]=!0x0,_0x5d32fb[_0x31b388(0x1a3)](_0x31b388(0x146),_0x3185af)));}function _0xa2f7fa(_0x5e4c35){const _0x6b2f49=_0x55b2fc;_0x5e4c35[_0x6b2f49(0x23f)]=setTimeout(_0x5e4c35[_0x6b2f49(0x16f)][_0x6b2f49(0x208)][_0x6b2f49(0x291)](_0x5e4c35['_socket']),_0x5951bc);}function _0x215e5f(){const _0x4d77b4=_0x55b2fc,_0x3138ba=this[_0x59eec6];this['removeListener']('close',_0x215e5f),this[_0x4d77b4(0x215)](_0x4d77b4(0x171),_0xe68f23),this[_0x4d77b4(0x215)](_0x4d77b4(0x23d),_0x337b4b),_0x3138ba[_0x4d77b4(0x226)]=_0x5548aa[_0x4d77b4(0x255)];let _0x2d59ca;!this[_0x4d77b4(0x15a)][_0x4d77b4(0x15e)]&&!_0x3138ba['_closeFrameReceived']&&!_0x3138ba[_0x4d77b4(0x1ee)]['_writableState'][_0x4d77b4(0x24c)]&&(_0x2d59ca=_0x3138ba[_0x4d77b4(0x16f)]['read']())!==null&&_0x3138ba[_0x4d77b4(0x1ee)][_0x4d77b4(0x28f)](_0x2d59ca),_0x3138ba[_0x4d77b4(0x1ee)][_0x4d77b4(0x23d)](),this[_0x59eec6]=void 0x0,clearTimeout(_0x3138ba[_0x4d77b4(0x23f)]),_0x3138ba[_0x4d77b4(0x1ee)][_0x4d77b4(0x294)]['finished']||_0x3138ba[_0x4d77b4(0x1ee)][_0x4d77b4(0x294)][_0x4d77b4(0x24c)]?_0x3138ba[_0x4d77b4(0x1ad)]():(_0x3138ba['_receiver']['on'](_0x4d77b4(0x146),_0x40e725),_0x3138ba['_receiver']['on']('finish',_0x40e725));}function _0xe68f23(_0x5a85f0){const _0x1ab905=_0x55b2fc;this[_0x59eec6][_0x1ab905(0x1ee)][_0x1ab905(0x28f)](_0x5a85f0)||this[_0x1ab905(0x1e3)]();}function _0x337b4b(){const _0x419e94=_0x55b2fc,_0x2212ec=this[_0x59eec6];_0x2212ec[_0x419e94(0x226)]=_0x5548aa[_0x419e94(0x255)],_0x2212ec[_0x419e94(0x1ee)][_0x419e94(0x23d)](),this[_0x419e94(0x23d)]();}function _0x418fe6(){const _0x3b3d5d=_0x55b2fc,_0x1a3a2c=this[_0x59eec6];this[_0x3b3d5d(0x215)](_0x3b3d5d(0x146),_0x418fe6),this['on'](_0x3b3d5d(0x146),_0x42411c),_0x1a3a2c&&(_0x1a3a2c['_readyState']=_0x5548aa[_0x3b3d5d(0x255)],this[_0x3b3d5d(0x208)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x2f00f8}=oe;function _0x20caf5(_0x533398){const _0x3b443b=_0x26f8;_0x533398[_0x3b443b(0x1a3)](_0x3b443b(0x22f));}function _0x36ff5d(){const _0x1c626f=_0x26f8;!this[_0x1c626f(0x1c3)]&&this[_0x1c626f(0x294)]['finished']&&this['destroy']();}function _0x1dc926(_0x28ac22){const _0x1d2176=_0x26f8;this['removeListener'](_0x1d2176(0x146),_0x1dc926),this['destroy'](),this[_0x1d2176(0x253)]('error')===0x0&&this[_0x1d2176(0x1a3)](_0x1d2176(0x146),_0x28ac22);}function _0x1f6def(_0x510dfc,_0x1a24c2){const _0x37ee4e=_0x26f8;let _0x3292ae=!0x0;const _0x16fafc=new _0x2f00f8({..._0x1a24c2,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x510dfc['on'](_0x37ee4e(0x28b),function(_0x1c4d0c,_0xcf2623){const _0x376a16=_0x37ee4e,_0xec10c1=!_0xcf2623&&_0x16fafc[_0x376a16(0x15a)]['objectMode']?_0x1c4d0c['toString']():_0x1c4d0c;_0x16fafc[_0x376a16(0x30f)](_0xec10c1)||_0x510dfc['pause']();}),_0x510dfc['once']('error',function(_0x1a372e){const _0x1acdf8=_0x37ee4e;_0x16fafc[_0x1acdf8(0x1c3)]||(_0x3292ae=!0x1,_0x16fafc[_0x1acdf8(0x208)](_0x1a372e));}),_0x510dfc[_0x37ee4e(0x170)](_0x37ee4e(0x22f),function(){const _0x20e114=_0x37ee4e;_0x16fafc[_0x20e114(0x1c3)]||_0x16fafc[_0x20e114(0x30f)](null);}),_0x16fafc[_0x37ee4e(0x195)]=function(_0x448901,_0x3d07c0){const _0x8a4ca=_0x37ee4e;if(_0x510dfc[_0x8a4ca(0x1cc)]===_0x510dfc['CLOSED']){_0x3d07c0(_0x448901),process[_0x8a4ca(0x1fa)](_0x20caf5,_0x16fafc);return;}let _0x58ae26=!0x1;_0x510dfc['once']('error',function(_0x15b870){_0x58ae26=!0x0,_0x3d07c0(_0x15b870);}),_0x510dfc[_0x8a4ca(0x170)]('close',function(){const _0x5da2f4=_0x8a4ca;_0x58ae26||_0x3d07c0(_0x448901),process[_0x5da2f4(0x1fa)](_0x20caf5,_0x16fafc);}),_0x3292ae&&_0x510dfc[_0x8a4ca(0x21b)]();},_0x16fafc[_0x37ee4e(0x196)]=function(_0x4e7a4f){const _0x204beb=_0x37ee4e;if(_0x510dfc[_0x204beb(0x1cc)]===_0x510dfc[_0x204beb(0x306)]){_0x510dfc['once'](_0x204beb(0x2e8),function(){_0x16fafc['_final'](_0x4e7a4f);});return;}_0x510dfc['_socket']!==null&&(_0x510dfc[_0x204beb(0x16f)]['_writableState'][_0x204beb(0x175)]?(_0x4e7a4f(),_0x16fafc['_readableState'][_0x204beb(0x15e)]&&_0x16fafc[_0x204beb(0x208)]()):(_0x510dfc[_0x204beb(0x16f)]['once'](_0x204beb(0x1af),function(){_0x4e7a4f();}),_0x510dfc[_0x204beb(0x22f)]()));},_0x16fafc[_0x37ee4e(0x24a)]=function(){const _0x3b9644=_0x37ee4e;_0x510dfc[_0x3b9644(0x1df)]&&_0x510dfc[_0x3b9644(0x166)]();},_0x16fafc['_write']=function(_0x2e75f4,_0x4d0df4,_0x5d9727){const _0x33e533=_0x37ee4e;if(_0x510dfc[_0x33e533(0x1cc)]===_0x510dfc[_0x33e533(0x306)]){_0x510dfc[_0x33e533(0x170)]('open',function(){const _0x3ad734=_0x33e533;_0x16fafc[_0x3ad734(0x271)](_0x2e75f4,_0x4d0df4,_0x5d9727);});return;}_0x510dfc[_0x33e533(0x2f5)](_0x2e75f4,_0x5d9727);},_0x16fafc['on']('end',_0x36ff5d),_0x16fafc['on']('error',_0x1dc926),_0x16fafc;}return Oe=_0x1f6def,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x545843}=ae();function _0x3909a5(_0x404dab){const _0x2e6511=_0x26f8,_0x414b14=new Set();let _0x5e0c9f=-0x1,_0x1719d8=-0x1,_0x462a36=0x0;for(_0x462a36;_0x462a36<_0x404dab[_0x2e6511(0x1f1)];_0x462a36++){const _0x4cbc1e=_0x404dab[_0x2e6511(0x1fd)](_0x462a36);if(_0x1719d8===-0x1&&_0x545843[_0x4cbc1e]===0x1)_0x5e0c9f===-0x1&&(_0x5e0c9f=_0x462a36);else{if(_0x462a36!==0x0&&(_0x4cbc1e===0x20||_0x4cbc1e===0x9))_0x1719d8===-0x1&&_0x5e0c9f!==-0x1&&(_0x1719d8=_0x462a36);else{if(_0x4cbc1e===0x2c){if(_0x5e0c9f===-0x1)throw new SyntaxError(_0x2e6511(0x16a)+_0x462a36);_0x1719d8===-0x1&&(_0x1719d8=_0x462a36);const _0x416fbf=_0x404dab['slice'](_0x5e0c9f,_0x1719d8);if(_0x414b14[_0x2e6511(0x29f)](_0x416fbf))throw new SyntaxError('The\x20\x22'+_0x416fbf+'\x22\x20subprotocol\x20is\x20duplicated');_0x414b14[_0x2e6511(0x182)](_0x416fbf),_0x5e0c9f=_0x1719d8=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x462a36);}}}if(_0x5e0c9f===-0x1||_0x1719d8!==-0x1)throw new SyntaxError(_0x2e6511(0x2a0));const _0x53dea6=_0x404dab[_0x2e6511(0x238)](_0x5e0c9f,_0x462a36);if(_0x414b14[_0x2e6511(0x29f)](_0x53dea6))throw new SyntaxError(_0x2e6511(0x223)+_0x53dea6+_0x2e6511(0x1bb));return _0x414b14['add'](_0x53dea6),_0x414b14;}return Ce={'parse':_0x3909a5},Ce;}var Te,rt;function Ft(){const _0x30d1f4=_0x433db5;if(rt)return Te;rt=0x1;const _0x42e42f=nt,_0x4818e2=ot,{Duplex:_0x20314f}=oe,{createHash:_0x5a8284}=Le,_0x4f2934=ct(),_0x57ae6d=he(),_0x4e7248=At(),_0x29b11a=Pe(),{GUID:_0x1196a4,kWebSocket:_0xc7589d}=H(),_0x512b3b=/^[+/0-9A-Za-z]{22}==$/,_0x5716da=0x0,_0x1c9bf1=0x1,_0x284607=0x2;class _0x84de1e extends _0x42e42f{constructor(_0x3be63b,_0x5d2c9d){const _0x50dd7e=_0x26f8;if(super(),_0x3be63b={'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':_0x29b11a,..._0x3be63b},_0x3be63b['port']==null&&!_0x3be63b[_0x50dd7e(0x151)]&&!_0x3be63b[_0x50dd7e(0x2ce)]||_0x3be63b[_0x50dd7e(0x209)]!=null&&(_0x3be63b[_0x50dd7e(0x151)]||_0x3be63b[_0x50dd7e(0x2ce)])||_0x3be63b[_0x50dd7e(0x151)]&&_0x3be63b[_0x50dd7e(0x2ce)])throw new TypeError(_0x50dd7e(0x2b4));if(_0x3be63b[_0x50dd7e(0x209)]!=null?(this[_0x50dd7e(0x1c0)]=_0x4818e2[_0x50dd7e(0x284)]((_0x7bad0e,_0x43777f)=>{const _0x3246b0=_0x50dd7e,_0x53a9c9=_0x4818e2[_0x3246b0(0x311)][0x1aa];_0x43777f[_0x3246b0(0x26f)](0x1aa,{'Content-Length':_0x53a9c9['length'],'Content-Type':_0x3246b0(0x262)}),_0x43777f[_0x3246b0(0x23d)](_0x53a9c9);}),this['_server'][_0x50dd7e(0x309)](_0x3be63b['port'],_0x3be63b[_0x50dd7e(0x293)],_0x3be63b[_0x50dd7e(0x19c)],_0x5d2c9d)):_0x3be63b[_0x50dd7e(0x151)]&&(this[_0x50dd7e(0x1c0)]=_0x3be63b[_0x50dd7e(0x151)]),this[_0x50dd7e(0x1c0)]){const _0xa12627=this[_0x50dd7e(0x1a3)][_0x50dd7e(0x291)](this,_0x50dd7e(0x14f));this[_0x50dd7e(0x1ed)]=_0x5771d5(this[_0x50dd7e(0x1c0)],{'listening':this[_0x50dd7e(0x1a3)][_0x50dd7e(0x291)](this,'listening'),'error':this[_0x50dd7e(0x1a3)][_0x50dd7e(0x291)](this,_0x50dd7e(0x146)),'upgrade':(_0x2631dc,_0x5bc3d4,_0x1f4be1)=>{const _0x1e8282=_0x50dd7e;this[_0x1e8282(0x31a)](_0x2631dc,_0x5bc3d4,_0x1f4be1,_0xa12627);}});}_0x3be63b[_0x50dd7e(0x2c4)]===!0x0&&(_0x3be63b[_0x50dd7e(0x2c4)]={}),_0x3be63b[_0x50dd7e(0x2eb)]&&(this[_0x50dd7e(0x274)]=new Set(),this[_0x50dd7e(0x312)]=!0x1),this[_0x50dd7e(0x2cf)]=_0x3be63b,this[_0x50dd7e(0x21c)]=_0x5716da;}[_0x30d1f4(0x29d)](){const _0x4ecb00=_0x30d1f4;if(this[_0x4ecb00(0x2cf)]['noServer'])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this[_0x4ecb00(0x1c0)]?this[_0x4ecb00(0x1c0)]['address']():null;}[_0x30d1f4(0x22f)](_0x4e937d){const _0x39e5db=_0x30d1f4;if(this[_0x39e5db(0x21c)]===_0x284607){_0x4e937d&&this[_0x39e5db(0x170)](_0x39e5db(0x22f),()=>{const _0x91e63c=_0x39e5db;_0x4e937d(new Error(_0x91e63c(0x2df)));}),process[_0x39e5db(0x1fa)](_0x136d22,this);return;}if(_0x4e937d&&this[_0x39e5db(0x170)](_0x39e5db(0x22f),_0x4e937d),this['_state']!==_0x1c9bf1){if(this[_0x39e5db(0x21c)]=_0x1c9bf1,this[_0x39e5db(0x2cf)][_0x39e5db(0x2ce)]||this[_0x39e5db(0x2cf)]['server'])this[_0x39e5db(0x1c0)]&&(this[_0x39e5db(0x1ed)](),this[_0x39e5db(0x1ed)]=this[_0x39e5db(0x1c0)]=null),this[_0x39e5db(0x274)]?this[_0x39e5db(0x274)][_0x39e5db(0x1ff)]?this[_0x39e5db(0x312)]=!0x0:process[_0x39e5db(0x1fa)](_0x136d22,this):process[_0x39e5db(0x1fa)](_0x136d22,this);else{const _0x3a736d=this[_0x39e5db(0x1c0)];this['_removeListeners'](),this[_0x39e5db(0x1ed)]=this[_0x39e5db(0x1c0)]=null,_0x3a736d[_0x39e5db(0x22f)](()=>{_0x136d22(this);});}}}[_0x30d1f4(0x2f9)](_0x20f49b){const _0x5be428=_0x30d1f4;if(this['options']['path']){const _0x39efbe=_0x20f49b['url'][_0x5be428(0x240)]('?');if((_0x39efbe!==-0x1?_0x20f49b[_0x5be428(0x283)][_0x5be428(0x238)](0x0,_0x39efbe):_0x20f49b[_0x5be428(0x283)])!==this[_0x5be428(0x2cf)][_0x5be428(0x2c1)])return!0x1;}return!0x0;}[_0x30d1f4(0x31a)](_0x13273b,_0x21f1de,_0x3fad11,_0x32914f){const _0xf43b58=_0x30d1f4;_0x21f1de['on']('error',_0x4cb224);const _0x2c0532=_0x13273b['headers']['sec-websocket-key'],_0x5abf76=_0x13273b[_0xf43b58(0x315)][_0xf43b58(0x2cb)],_0x53decb=+_0x13273b[_0xf43b58(0x315)][_0xf43b58(0x21a)];if(_0x13273b[_0xf43b58(0x2b1)]!=='GET'){_0x112594(this,_0x13273b,_0x21f1de,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x5abf76===void 0x0||_0x5abf76[_0xf43b58(0x1a7)]()!==_0xf43b58(0x23b)){_0x112594(this,_0x13273b,_0x21f1de,0x190,_0xf43b58(0x14e));return;}if(_0x2c0532===void 0x0||!_0x512b3b[_0xf43b58(0x27e)](_0x2c0532)){_0x112594(this,_0x13273b,_0x21f1de,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x53decb!==0x8&&_0x53decb!==0xd){_0x112594(this,_0x13273b,_0x21f1de,0x190,_0xf43b58(0x28d));return;}if(!this[_0xf43b58(0x2f9)](_0x13273b)){_0x20359c(_0x21f1de,0x190);return;}const _0x1dd9f1=_0x13273b['headers'][_0xf43b58(0x205)];let _0x1935ab=new Set();if(_0x1dd9f1!==void 0x0)try{_0x1935ab=_0x4e7248[_0xf43b58(0x14c)](_0x1dd9f1);}catch{_0x112594(this,_0x13273b,_0x21f1de,0x190,_0xf43b58(0x1d2));return;}const _0x3addc1=_0x13273b[_0xf43b58(0x315)][_0xf43b58(0x290)],_0x31466a={};if(this['options'][_0xf43b58(0x2c4)]&&_0x3addc1!==void 0x0){const _0x5c1439=new _0x57ae6d(this[_0xf43b58(0x2cf)][_0xf43b58(0x2c4)],!0x0,this[_0xf43b58(0x2cf)]['maxPayload']);try{const _0x557443=_0x4f2934['parse'](_0x3addc1);_0x557443[_0x57ae6d[_0xf43b58(0x258)]]&&(_0x5c1439[_0xf43b58(0x159)](_0x557443[_0x57ae6d[_0xf43b58(0x258)]]),_0x31466a[_0x57ae6d[_0xf43b58(0x258)]]=_0x5c1439);}catch{_0x112594(this,_0x13273b,_0x21f1de,0x190,_0xf43b58(0x247));return;}}if(this['options']['verifyClient']){const _0x2a83a3={'origin':_0x13273b[_0xf43b58(0x315)][''+(_0x53decb===0x8?_0xf43b58(0x1d3):_0xf43b58(0x1e1))],'secure':!!(_0x13273b[_0xf43b58(0x168)][_0xf43b58(0x19e)]||_0x13273b['socket'][_0xf43b58(0x308)]),'req':_0x13273b};if(this[_0xf43b58(0x2cf)][_0xf43b58(0x270)][_0xf43b58(0x1f1)]===0x2){this[_0xf43b58(0x2cf)][_0xf43b58(0x270)](_0x2a83a3,(_0x32fd3d,_0xbb864a,_0xab83ac,_0x33e082)=>{if(!_0x32fd3d)return _0x20359c(_0x21f1de,_0xbb864a||0x191,_0xab83ac,_0x33e082);this['completeUpgrade'](_0x31466a,_0x2c0532,_0x1935ab,_0x13273b,_0x21f1de,_0x3fad11,_0x32914f);});return;}if(!this[_0xf43b58(0x2cf)][_0xf43b58(0x270)](_0x2a83a3))return _0x20359c(_0x21f1de,0x191);}this[_0xf43b58(0x172)](_0x31466a,_0x2c0532,_0x1935ab,_0x13273b,_0x21f1de,_0x3fad11,_0x32914f);}[_0x30d1f4(0x172)](_0x44b188,_0x36457d,_0x43c77e,_0x1a0337,_0x414ec9,_0x246c57,_0x224234){const _0xfc5bb5=_0x30d1f4;if(!_0x414ec9[_0xfc5bb5(0x2e2)]||!_0x414ec9['writable'])return _0x414ec9[_0xfc5bb5(0x208)]();if(_0x414ec9[_0xc7589d])throw new Error(_0xfc5bb5(0x17b));if(this[_0xfc5bb5(0x21c)]>_0x5716da)return _0x20359c(_0x414ec9,0x1f7);const _0x3e8220=[_0xfc5bb5(0x231),'Upgrade:\x20websocket',_0xfc5bb5(0x17e),_0xfc5bb5(0x1d7)+_0x5a8284('sha1')[_0xfc5bb5(0x147)](_0x36457d+_0x1196a4)['digest'](_0xfc5bb5(0x158))],_0x922ed7=new this['options']['WebSocket'](null,void 0x0,this[_0xfc5bb5(0x2cf)]);if(_0x43c77e[_0xfc5bb5(0x1ff)]){const _0x4a2e0a=this[_0xfc5bb5(0x2cf)][_0xfc5bb5(0x2f6)]?this[_0xfc5bb5(0x2cf)][_0xfc5bb5(0x2f6)](_0x43c77e,_0x1a0337):_0x43c77e[_0xfc5bb5(0x2c8)]()[_0xfc5bb5(0x24f)]()['value'];_0x4a2e0a&&(_0x3e8220[_0xfc5bb5(0x30f)](_0xfc5bb5(0x27f)+_0x4a2e0a),_0x922ed7['_protocol']=_0x4a2e0a);}if(_0x44b188[_0x57ae6d[_0xfc5bb5(0x258)]]){const _0x102526=_0x44b188[_0x57ae6d[_0xfc5bb5(0x258)]][_0xfc5bb5(0x2fd)],_0x4af4a0=_0x4f2934['format']({[_0x57ae6d[_0xfc5bb5(0x258)]]:[_0x102526]});_0x3e8220[_0xfc5bb5(0x30f)]('Sec-WebSocket-Extensions:\x20'+_0x4af4a0),_0x922ed7['_extensions']=_0x44b188;}this[_0xfc5bb5(0x1a3)]('headers',_0x3e8220,_0x1a0337),_0x414ec9[_0xfc5bb5(0x28f)](_0x3e8220[_0xfc5bb5(0x179)]('\x0d\x0a')[_0xfc5bb5(0x261)]('\x0d\x0a')),_0x414ec9[_0xfc5bb5(0x215)](_0xfc5bb5(0x146),_0x4cb224),_0x922ed7[_0xfc5bb5(0x230)](_0x414ec9,_0x246c57,{'allowSynchronousEvents':this['options']['allowSynchronousEvents'],'maxPayload':this['options'][_0xfc5bb5(0x243)],'skipUTF8Validation':this[_0xfc5bb5(0x2cf)][_0xfc5bb5(0x2a2)]}),this[_0xfc5bb5(0x274)]&&(this[_0xfc5bb5(0x274)][_0xfc5bb5(0x182)](_0x922ed7),_0x922ed7['on'](_0xfc5bb5(0x22f),()=>{const _0x57c2e3=_0xfc5bb5;this[_0x57c2e3(0x274)][_0x57c2e3(0x1f0)](_0x922ed7),this[_0x57c2e3(0x312)]&&!this[_0x57c2e3(0x274)][_0x57c2e3(0x1ff)]&&process[_0x57c2e3(0x1fa)](_0x136d22,this);})),_0x224234(_0x922ed7,_0x1a0337);}}Te=_0x84de1e;function _0x5771d5(_0x5e570d,_0x3a0541){const _0x3351db=_0x30d1f4;for(const _0x1b0941 of Object[_0x3351db(0x148)](_0x3a0541))_0x5e570d['on'](_0x1b0941,_0x3a0541[_0x1b0941]);return function(){const _0x2b16d7=_0x3351db;for(const _0x257cdf of Object['keys'](_0x3a0541))_0x5e570d[_0x2b16d7(0x215)](_0x257cdf,_0x3a0541[_0x257cdf]);};}function _0x136d22(_0x21ef19){const _0x3babf3=_0x30d1f4;_0x21ef19[_0x3babf3(0x21c)]=_0x284607,_0x21ef19[_0x3babf3(0x1a3)]('close');}function _0x4cb224(){const _0x5c99f2=_0x30d1f4;this[_0x5c99f2(0x208)]();}function _0x20359c(_0x20981c,_0x21264d,_0x369e82,_0x123cc4){const _0x398a0d=_0x30d1f4;_0x369e82=_0x369e82||_0x4818e2[_0x398a0d(0x311)][_0x21264d],_0x123cc4={'Connection':_0x398a0d(0x22f),'Content-Type':_0x398a0d(0x1a6),'Content-Length':Buffer[_0x398a0d(0x2a7)](_0x369e82),..._0x123cc4},_0x20981c[_0x398a0d(0x170)](_0x398a0d(0x1af),_0x20981c[_0x398a0d(0x208)]),_0x20981c['end'](_0x398a0d(0x218)+_0x21264d+'\x20'+_0x4818e2[_0x398a0d(0x311)][_0x21264d]+'\x0d\x0a'+Object[_0x398a0d(0x148)](_0x123cc4)['map'](_0x48a5dd=>_0x48a5dd+':\x20'+_0x123cc4[_0x48a5dd])[_0x398a0d(0x261)]('\x0d\x0a')+_0x398a0d(0x2de)+_0x369e82);}function _0x112594(_0x58d1f8,_0x75c133,_0x334b66,_0x58d813,_0x349098){const _0x32c2bf=_0x30d1f4;if(_0x58d1f8[_0x32c2bf(0x253)](_0x32c2bf(0x178))){const _0x5f5178=new Error(_0x349098);Error[_0x32c2bf(0x174)](_0x5f5178,_0x112594),_0x58d1f8[_0x32c2bf(0x1a3)](_0x32c2bf(0x178),_0x5f5178,_0x334b66,_0x75c133);}else _0x20359c(_0x334b66,_0x58d813,_0x349098);}return Te;}Ft();var jt=Object[_0x433db5(0x1b3)],Wt=(_0x70fb61,_0x274617,_0x1feb53,_0x679136)=>{for(var _0x18409e=_0x679136>0x1?void 0x0:_0x679136?jt(_0x274617,_0x1feb53):_0x274617,_0x4ab3ff=_0x70fb61['length']-0x1,_0x3e5a2d;_0x4ab3ff>=0x0;_0x4ab3ff--)(_0x3e5a2d=_0x70fb61[_0x4ab3ff])&&(_0x18409e=_0x3e5a2d(_0x18409e)||_0x18409e);return _0x18409e;},qt=(_0x215b37,_0x1f4342)=>(_0x4b3c3a,_0x569482)=>_0x1f4342(_0x4b3c3a,_0x569482,_0x215b37);let ke=class extends A[_0x433db5(0x1ae)]{constructor(_0x2b5257){const _0x11a92f=_0x433db5;super(),this[_0x11a92f(0x183)]=_0x2b5257;}['createSocket'](_0x5ff342){const _0x57cb36=_0x433db5;var _0x5e79b0;const _0xb9a581=(_0x5e79b0=this[_0x57cb36(0x183)][_0x57cb36(0x2ea)](fe))==null?void 0x0:_0x5e79b0['customHeaders'];try{const _0x4da178=new $t(_0x5ff342,{'headers':{..._0xb9a581}}),_0x5925c9=new A[(_0x57cb36(0x1d9))]();return{'URL':_0x5ff342,'close':(_0x189a83,_0x2ceb1e)=>{const _0xdd1eb9=_0x57cb36;_0x4da178[_0xdd1eb9(0x22f)](_0x189a83,_0x2ceb1e),_0x5925c9['dispose']();},'send':_0x42a1be=>{const _0x53790d=_0x57cb36;_0x4da178[_0x53790d(0x2f5)](_0x42a1be);},'open$':new V[(_0x57cb36(0x2ad))](_0x3a23fb=>{const _0x5a1d4c=_0x57cb36,_0x523e86=_0x10de51=>_0x3a23fb[_0x5a1d4c(0x24f)](_0x10de51);_0x4da178[_0x5a1d4c(0x188)](_0x5a1d4c(0x2e8),_0x523e86),_0x5925c9[_0x5a1d4c(0x182)](A[_0x5a1d4c(0x319)](()=>_0x4da178[_0x5a1d4c(0x2c0)](_0x5a1d4c(0x2e8),_0x523e86)));})['pipe'](V['share']()),'close$':new V[(_0x57cb36(0x2ad))](_0x29c616=>{const _0x209dea=_0x57cb36,_0x471d9d=_0x331f0a=>_0x29c616[_0x209dea(0x24f)](_0x331f0a);_0x4da178['addEventListener']('close',_0x471d9d),_0x5925c9['add'](A[_0x209dea(0x319)](()=>_0x4da178[_0x209dea(0x2c0)](_0x209dea(0x22f),_0x471d9d)));})[_0x57cb36(0x149)](V[_0x57cb36(0x14b)]()),'error$':new V[(_0x57cb36(0x2ad))](_0x5eba57=>{const _0x2a6f0f=_0x57cb36,_0x2085a8=_0x11f4dd=>_0x5eba57[_0x2a6f0f(0x24f)](_0x11f4dd);_0x4da178[_0x2a6f0f(0x188)](_0x2a6f0f(0x146),_0x2085a8),_0x5925c9[_0x2a6f0f(0x182)](A['toDisposable'](()=>_0x4da178['removeEventListener'](_0x2a6f0f(0x146),_0x2085a8)));})['pipe'](V[_0x57cb36(0x14b)]()),'message$':new V[(_0x57cb36(0x2ad))](_0x30bb30=>{const _0x5aca0c=_0x57cb36,_0x485201=_0x2f5e69=>_0x30bb30[_0x5aca0c(0x24f)](_0x2f5e69);_0x4da178[_0x5aca0c(0x188)]('message',_0x485201),_0x5925c9['add'](A[_0x5aca0c(0x319)](()=>_0x4da178['removeEventListener'](_0x5aca0c(0x28b),_0x485201)));})[_0x57cb36(0x149)](V[_0x57cb36(0x14b)]())};}catch(_0x35f929){return console[_0x57cb36(0x146)](_0x35f929),null;}}};ke=Wt([qt(0x0,A[_0x433db5(0x2d9)])],ke);var Gt=Object[_0x433db5(0x20c)],Vt=Object[_0x433db5(0x1b3)],Ht=(_0x14026f,_0x3f05dc,_0x3b78ce)=>_0x3f05dc in _0x14026f?Gt(_0x14026f,_0x3f05dc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3b78ce}):_0x14026f[_0x3f05dc]=_0x3b78ce,zt=(_0x4bc73c,_0x200102,_0x1e5291,_0x512b28)=>{for(var _0x46e1a9=_0x512b28>0x1?void 0x0:_0x512b28?Vt(_0x200102,_0x1e5291):_0x200102,_0x529b77=_0x4bc73c['length']-0x1,_0x3fc445;_0x529b77>=0x0;_0x529b77--)(_0x3fc445=_0x4bc73c[_0x529b77])&&(_0x46e1a9=_0x3fc445(_0x46e1a9)||_0x46e1a9);return _0x46e1a9;},Ne=(_0x29b81e,_0x1c3497)=>(_0x5712c1,_0x840ff3)=>_0x1c3497(_0x5712c1,_0x840ff3,_0x29b81e),Yt=(_0x130d4d,_0x108277,_0x2e506c)=>Ht(_0x130d4d,_0x108277+'',_0x2e506c);exports['UniverCollaborationClientNodePlugin']=class extends A['Plugin']{constructor(_0x2be0db=Ct,_0x3fb0d4,_0x483792,_0x184676){const _0xd09a6b=_0x433db5;_0x2be0db[_0xd09a6b(0x21f)]||_0x3fb0d4[_0xd09a6b(0x304)](_0xd09a6b(0x299)),super(),this[_0xd09a6b(0x183)]=_0x483792,this[_0xd09a6b(0x295)]=_0x184676,this[_0xd09a6b(0x183)][_0xd09a6b(0x1c8)](fe,_0x2be0db);}[_0x433db5(0x203)](){const _0x37abe5=_0x433db5;this[_0x37abe5(0x30a)]();}[_0x433db5(0x30a)](){const _0x156bcd=_0x433db5;A[_0x156bcd(0x2b5)](this[_0x156bcd(0x295)],[[it[_0x156bcd(0x314)],{'useClass':ke}]]);}},Yt(exports[_0x433db5(0x1fe)],_0x433db5(0x1a0),_0x433db5(0x26b)),exports['UniverCollaborationClientNodePlugin']=zt([A[_0x433db5(0x2dc)](st[_0x433db5(0x1c5)]),Ne(0x1,A[_0x433db5(0x2ab)]),Ne(0x2,A[_0x433db5(0x2d9)]),Ne(0x3,A['Inject'](A[_0x433db5(0x30c)]))],exports[_0x433db5(0x1fe)]);var Kt=Object['getOwnPropertyDescriptor'],Xt=(_0x183b1d,_0x463d6f,_0x1a8654,_0x34a81d)=>{const _0x1f84bd=_0x433db5;for(var _0x2a71b9=_0x34a81d>0x1?void 0x0:_0x34a81d?Kt(_0x463d6f,_0x1a8654):_0x463d6f,_0x576003=_0x183b1d[_0x1f84bd(0x1f1)]-0x1,_0x4b295f;_0x576003>=0x0;_0x576003--)(_0x4b295f=_0x183b1d[_0x576003])&&(_0x2a71b9=_0x4b295f(_0x2a71b9)||_0x2a71b9);return _0x2a71b9;},ne=(_0x11d628,_0x2b611c)=>(_0x5f4b41,_0x2ff029)=>_0x2b611c(_0x5f4b41,_0x2ff029,_0x11d628);exports['NodeCollaborationSocketService']=class extends st[_0x433db5(0x1a5)]{constructor(_0x48ea5c,_0x1793da,_0x37a123,_0x14d2fa,_0x3ed39c){const _0x4db8a9=_0x433db5;super(_0x48ea5c,_0x1793da,_0x37a123,_0x14d2fa,_0x3ed39c);const _0x113d07=this[_0x4db8a9(0x183)][_0x4db8a9(0x2ea)](fe);this[_0x4db8a9(0x1aa)][_0x4db8a9(0x2e5)]({'interceptor':(_0x1e198e,_0x45151b)=>{const _0x4342a8=_0x4db8a9;var _0x4edc46;const _0x2bbb2d=_0x1e198e[_0x4342a8(0x315)];return(_0x4edc46=_0x113d07==null?void 0x0:_0x113d07[_0x4342a8(0x21f)])!=null&&_0x4edc46['cookie']&&_0x2bbb2d[_0x4342a8(0x244)](_0x4342a8(0x256),_0x113d07[_0x4342a8(0x21f)][_0x4342a8(0x189)]),_0x45151b(_0x1e198e);}});}async[_0x433db5(0x19f)](_0x2dd586){const _0x1a9b94=_0x433db5;return this[_0x1a9b94(0x234)](_0x2dd586);}},exports[_0x433db5(0x217)]=Xt([ne(0x0,A[_0x433db5(0x1ef)](A[_0x433db5(0x30c)])),ne(0x1,A[_0x433db5(0x1ef)](it['HTTPService'])),ne(0x2,A[_0x433db5(0x2d9)]),ne(0x3,A[_0x433db5(0x2ab)]),ne(0x4,Ot[_0x433db5(0x1b8)])],exports[_0x433db5(0x217)]),exports[_0x433db5(0x154)]=fe;