@univerjs-pro/collaboration-client-node 0.8.0-nightly.202505281606 → 0.8.0-nightly.202505301607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +7 -7
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x519561=_0x49e0;(function(_0x523862,_0x3bd3fa){const _0x347b8f=_0x49e0,_0x4f8dd1=_0x523862();while(!![]){try{const _0x4e73f4=-parseInt(_0x347b8f(0x2ab))/0x1+parseInt(_0x347b8f(0x24c))/0x2+-parseInt(_0x347b8f(0x2af))/0x3+-parseInt(_0x347b8f(0x39a))/0x4*(-parseInt(_0x347b8f(0x25c))/0x5)+-parseInt(_0x347b8f(0x1fd))/0x6*(parseInt(_0x347b8f(0x33d))/0x7)+parseInt(_0x347b8f(0x33c))/0x8*(-parseInt(_0x347b8f(0x200))/0x9)+parseInt(_0x347b8f(0x1f6))/0xa;if(_0x4e73f4===_0x3bd3fa)break;else _0x4f8dd1['push'](_0x4f8dd1['shift']());}catch(_0x4c135a){_0x4f8dd1['push'](_0x4f8dd1['shift']());}}}(_0x5b7b,0x90647));Object[_0x519561(0x2a3)](exports,Symbol['toStringTag'],{'value':_0x519561(0x36a)});const st=require('@univerjs-pro/collaboration-client'),A=require(_0x519561(0x25e)),it=require(_0x519561(0x394)),V=require(_0x519561(0x286)),nt=require(_0x519561(0x333)),vt=require(_0x519561(0x31f)),ot=require(_0x519561(0x25b)),St=require(_0x519561(0x2d2)),Et=require(_0x519561(0x27e)),Le=require(_0x519561(0x352)),oe=require(_0x519561(0x2ca)),xt=require('url'),bt=require(_0x519561(0x39b)),wt=require('buffer'),Ot=require(_0x519561(0x34d)),fe=_0x519561(0x35c),Ct={'customHeaders':{}};function Tt(_0x598fdc){const _0x584fc5=_0x519561;return _0x598fdc&&_0x598fdc[_0x584fc5(0x289)]&&Object[_0x584fc5(0x34b)]['hasOwnProperty']['call'](_0x598fdc,_0x584fc5(0x2fc))?_0x598fdc['default']:_0x598fdc;}function at(_0x1f9179){const _0xaf3032=_0x519561;if(Object[_0xaf3032(0x34b)][_0xaf3032(0x3b3)][_0xaf3032(0x2a6)](_0x1f9179,'__esModule'))return _0x1f9179;var _0x5edcae=_0x1f9179['default'];if(typeof _0x5edcae==_0xaf3032(0x236)){var _0x3cc0ba=function _0x3723f2(){const _0x5b961a=_0xaf3032;return this instanceof _0x3723f2?Reflect[_0x5b961a(0x388)](_0x5edcae,arguments,this[_0x5b961a(0x2d4)]):_0x5edcae['apply'](this,arguments);};_0x3cc0ba[_0xaf3032(0x34b)]=_0x5edcae['prototype'];}else _0x3cc0ba={};return Object[_0xaf3032(0x2a3)](_0x3cc0ba,_0xaf3032(0x289),{'value':!0x0}),Object['keys'](_0x1f9179)[_0xaf3032(0x2e0)](function(_0x3212e1){const _0x304c19=_0xaf3032;var _0x3cdcdf=Object['getOwnPropertyDescriptor'](_0x1f9179,_0x3212e1);Object[_0x304c19(0x2a3)](_0x3cc0ba,_0x3212e1,_0x3cdcdf['get']?_0x3cdcdf:{'enumerable':!0x0,'get':function(){return _0x1f9179[_0x3212e1];}});}),_0x3cc0ba;}var se={'exports':{}},ge,Ge;function H(){const _0x3bbb7f=_0x519561;if(Ge)return ge;Ge=0x1;const _0x44d7c5=[_0x3bbb7f(0x2b2),_0x3bbb7f(0x33f),_0x3bbb7f(0x202)],_0x48ed11=typeof Blob<'u';return _0x48ed11&&_0x44d7c5[_0x3bbb7f(0x271)](_0x3bbb7f(0x277)),ge={'BINARY_TYPES':_0x44d7c5,'EMPTY_BUFFER':Buffer[_0x3bbb7f(0x304)](0x0),'GUID':_0x3bbb7f(0x210),'hasBlob':_0x48ed11,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x3bbb7f(0x26e)),'kStatusCode':Symbol(_0x3bbb7f(0x245)),'kWebSocket':Symbol(_0x3bbb7f(0x217)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x519561(0x2ff)](Object[_0x519561(0x2a3)]({'__proto__':null,'default':Nt},Symbol['toStringTag'],{'value':_0x519561(0x36a)})),Lt=at(kt);var Ve;function ce(){const _0x452698=_0x519561;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0xcbc8aa}=H(),_0x24a1bb=Buffer[Symbol[_0x452698(0x35f)]];function _0x2e7f2b(_0x21cee6,_0x560d94){const _0x554322=_0x452698;if(_0x21cee6['length']===0x0)return _0xcbc8aa;if(_0x21cee6[_0x554322(0x326)]===0x1)return _0x21cee6[0x0];const _0x117b8a=Buffer[_0x554322(0x31a)](_0x560d94);let _0x5d1081=0x0;for(let _0x75539=0x0;_0x75539<_0x21cee6[_0x554322(0x326)];_0x75539++){const _0x2da002=_0x21cee6[_0x75539];_0x117b8a[_0x554322(0x3aa)](_0x2da002,_0x5d1081),_0x5d1081+=_0x2da002[_0x554322(0x326)];}return _0x5d1081<_0x560d94?new _0x24a1bb(_0x117b8a[_0x554322(0x25d)],_0x117b8a[_0x554322(0x2bc)],_0x5d1081):_0x117b8a;}function _0x247191(_0x2b550b,_0x10cd03,_0x592604,_0x2237f8,_0x4ce55e){for(let _0x27f99c=0x0;_0x27f99c<_0x4ce55e;_0x27f99c++)_0x592604[_0x2237f8+_0x27f99c]=_0x2b550b[_0x27f99c]^_0x10cd03[_0x27f99c&0x3];}function _0x68699e(_0x20e262,_0x589d03){for(let _0x5626b7=0x0;_0x5626b7<_0x20e262['length'];_0x5626b7++)_0x20e262[_0x5626b7]^=_0x589d03[_0x5626b7&0x3];}function _0x10191e(_0x3530d7){const _0x437ff8=_0x452698;return _0x3530d7[_0x437ff8(0x326)]===_0x3530d7[_0x437ff8(0x25d)][_0x437ff8(0x28c)]?_0x3530d7[_0x437ff8(0x25d)]:_0x3530d7[_0x437ff8(0x25d)][_0x437ff8(0x1f5)](_0x3530d7['byteOffset'],_0x3530d7[_0x437ff8(0x2bc)]+_0x3530d7['length']);}function _0x156984(_0x2be555){const _0x47599e=_0x452698;if(_0x156984[_0x47599e(0x2c0)]=!0x0,Buffer[_0x47599e(0x381)](_0x2be555))return _0x2be555;let _0x42f106;return _0x2be555 instanceof ArrayBuffer?_0x42f106=new _0x24a1bb(_0x2be555):ArrayBuffer['isView'](_0x2be555)?_0x42f106=new _0x24a1bb(_0x2be555[_0x47599e(0x25d)],_0x2be555[_0x47599e(0x2bc)],_0x2be555[_0x47599e(0x28c)]):(_0x42f106=Buffer[_0x47599e(0x221)](_0x2be555),_0x156984['readOnly']=!0x1),_0x42f106;}if(se[_0x452698(0x2b5)]={'concat':_0x2e7f2b,'mask':_0x247191,'toArrayBuffer':_0x10191e,'toBuffer':_0x156984,'unmask':_0x68699e},!process[_0x452698(0x29e)]['WS_NO_BUFFER_UTIL'])try{const _0x5e2b94=Lt;se[_0x452698(0x2b5)][_0x452698(0x390)]=function(_0x47ece9,_0x20701a,_0x3ea6ea,_0x55af7b,_0x235e9b){const _0x56ec10=_0x452698;_0x235e9b<0x30?_0x247191(_0x47ece9,_0x20701a,_0x3ea6ea,_0x55af7b,_0x235e9b):_0x5e2b94[_0x56ec10(0x390)](_0x47ece9,_0x20701a,_0x3ea6ea,_0x55af7b,_0x235e9b);},se[_0x452698(0x2b5)][_0x452698(0x338)]=function(_0x7a2e4c,_0x16cd33){const _0x288a26=_0x452698;_0x7a2e4c[_0x288a26(0x326)]<0x20?_0x68699e(_0x7a2e4c,_0x16cd33):_0x5e2b94[_0x288a26(0x338)](_0x7a2e4c,_0x16cd33);};}catch{}return se['exports'];}var ye,He;function Pt(){const _0x1e3564=_0x519561;if(He)return ye;He=0x1;const _0x25ce33=Symbol(_0x1e3564(0x276)),_0x5b48e9=Symbol(_0x1e3564(0x28e));class _0x1ab201{constructor(_0x326112){const _0x471f47=_0x1e3564;this[_0x25ce33]=()=>{this['pending']--,this[_0x5b48e9]();},this['concurrency']=_0x326112||0x1/0x0,this[_0x471f47(0x258)]=[],this[_0x471f47(0x24d)]=0x0;}[_0x1e3564(0x363)](_0x498dd7){const _0x4b926b=_0x1e3564;this[_0x4b926b(0x258)]['push'](_0x498dd7),this[_0x5b48e9]();}[_0x5b48e9](){const _0x586b01=_0x1e3564;if(this[_0x586b01(0x24d)]!==this[_0x586b01(0x314)]&&this[_0x586b01(0x258)][_0x586b01(0x326)]){const _0x1913e0=this[_0x586b01(0x258)][_0x586b01(0x230)]();this['pending']++,_0x1913e0(this[_0x25ce33]);}}}return ye=_0x1ab201,ye;}function _0x49e0(_0x3a2438,_0x5eb62f){const _0x5b7b0c=_0x5b7b();return _0x49e0=function(_0x49e022,_0x194faa){_0x49e022=_0x49e022-0x1e9;let _0x35292f=_0x5b7b0c[_0x49e022];return _0x35292f;},_0x49e0(_0x3a2438,_0x5eb62f);}var ve,ze;function he(){const _0x413dbd=_0x519561;if(ze)return ve;ze=0x1;const _0x2f05a1=bt,_0x3118a5=ce(),_0x9713c8=Pt(),{kStatusCode:_0x4a6f37}=H(),_0x486ed4=Buffer[Symbol[_0x413dbd(0x35f)]],_0x3072c2=Buffer[_0x413dbd(0x221)]([0x0,0x0,0xff,0xff]),_0x8732b3=Symbol('permessage-deflate'),_0x291bfd=Symbol(_0x413dbd(0x27b)),_0x20b249=Symbol(_0x413dbd(0x231)),_0x2dbd9d=Symbol(_0x413dbd(0x38b)),_0x91b172=Symbol(_0x413dbd(0x2a4));let _0x146e3d;class _0x51c6e8{constructor(_0x450ba8,_0xc2fa9b,_0xda618e){const _0xd3fabb=_0x413dbd;if(this[_0xd3fabb(0x22a)]=_0xda618e|0x0,this['_options']=_0x450ba8||{},this['_threshold']=this[_0xd3fabb(0x2e3)]['threshold']!==void 0x0?this[_0xd3fabb(0x2e3)][_0xd3fabb(0x2ac)]:0x400,this['_isServer']=!!_0xc2fa9b,this[_0xd3fabb(0x2fa)]=null,this[_0xd3fabb(0x25a)]=null,this[_0xd3fabb(0x233)]=null,!_0x146e3d){const _0x16cee0=this[_0xd3fabb(0x2e3)][_0xd3fabb(0x24a)]!==void 0x0?this[_0xd3fabb(0x2e3)][_0xd3fabb(0x24a)]:0xa;_0x146e3d=new _0x9713c8(_0x16cee0);}}static get[_0x413dbd(0x35e)](){return'permessage-deflate';}[_0x413dbd(0x2ae)](){const _0x470c74=_0x413dbd,_0x4723c8={};return this[_0x470c74(0x2e3)][_0x470c74(0x22c)]&&(_0x4723c8['server_no_context_takeover']=!0x0),this[_0x470c74(0x2e3)][_0x470c74(0x2f9)]&&(_0x4723c8[_0x470c74(0x27f)]=!0x0),this[_0x470c74(0x2e3)]['serverMaxWindowBits']&&(_0x4723c8[_0x470c74(0x34a)]=this[_0x470c74(0x2e3)][_0x470c74(0x330)]),this['_options'][_0x470c74(0x20b)]?_0x4723c8[_0x470c74(0x320)]=this[_0x470c74(0x2e3)]['clientMaxWindowBits']:this[_0x470c74(0x2e3)]['clientMaxWindowBits']==null&&(_0x4723c8[_0x470c74(0x320)]=!0x0),_0x4723c8;}[_0x413dbd(0x341)](_0x5dfd81){const _0xe3aace=_0x413dbd;return _0x5dfd81=this[_0xe3aace(0x2d5)](_0x5dfd81),this[_0xe3aace(0x233)]=this[_0xe3aace(0x37f)]?this[_0xe3aace(0x223)](_0x5dfd81):this[_0xe3aace(0x255)](_0x5dfd81),this[_0xe3aace(0x233)];}[_0x413dbd(0x296)](){const _0x31e35a=_0x413dbd;if(this[_0x31e35a(0x25a)]&&(this[_0x31e35a(0x25a)][_0x31e35a(0x327)](),this[_0x31e35a(0x25a)]=null),this[_0x31e35a(0x2fa)]){const _0x3180fe=this['_deflate'][_0x20b249];this[_0x31e35a(0x2fa)][_0x31e35a(0x327)](),this['_deflate']=null,_0x3180fe&&_0x3180fe(new Error(_0x31e35a(0x391)));}}[_0x413dbd(0x223)](_0x2ad4cc){const _0x442553=_0x413dbd,_0x478c10=this['_options'],_0x6de3ea=_0x2ad4cc[_0x442553(0x22d)](_0x12f522=>!(_0x478c10['serverNoContextTakeover']===!0x1&&_0x12f522[_0x442553(0x38a)]||_0x12f522[_0x442553(0x34a)]&&(_0x478c10[_0x442553(0x330)]===!0x1||typeof _0x478c10[_0x442553(0x330)]==_0x442553(0x2d9)&&_0x478c10[_0x442553(0x330)]>_0x12f522[_0x442553(0x34a)])||typeof _0x478c10[_0x442553(0x20b)]==_0x442553(0x2d9)&&!_0x12f522[_0x442553(0x320)]));if(!_0x6de3ea)throw new Error(_0x442553(0x30f));return _0x478c10['serverNoContextTakeover']&&(_0x6de3ea['server_no_context_takeover']=!0x0),_0x478c10[_0x442553(0x2f9)]&&(_0x6de3ea[_0x442553(0x27f)]=!0x0),typeof _0x478c10[_0x442553(0x330)]==_0x442553(0x2d9)&&(_0x6de3ea[_0x442553(0x34a)]=_0x478c10[_0x442553(0x330)]),typeof _0x478c10[_0x442553(0x20b)]==_0x442553(0x2d9)?_0x6de3ea[_0x442553(0x320)]=_0x478c10[_0x442553(0x20b)]:(_0x6de3ea[_0x442553(0x320)]===!0x0||_0x478c10[_0x442553(0x20b)]===!0x1)&&delete _0x6de3ea['client_max_window_bits'],_0x6de3ea;}['acceptAsClient'](_0x1cda10){const _0x2e7deb=_0x413dbd,_0x444c26=_0x1cda10[0x0];if(this['_options']['clientNoContextTakeover']===!0x1&&_0x444c26[_0x2e7deb(0x27f)])throw new Error(_0x2e7deb(0x360));if(!_0x444c26[_0x2e7deb(0x320)])typeof this['_options'][_0x2e7deb(0x20b)]==_0x2e7deb(0x2d9)&&(_0x444c26['client_max_window_bits']=this[_0x2e7deb(0x2e3)]['clientMaxWindowBits']);else{if(this[_0x2e7deb(0x2e3)][_0x2e7deb(0x20b)]===!0x1||typeof this[_0x2e7deb(0x2e3)]['clientMaxWindowBits']==_0x2e7deb(0x2d9)&&_0x444c26[_0x2e7deb(0x320)]>this[_0x2e7deb(0x2e3)][_0x2e7deb(0x20b)])throw new Error(_0x2e7deb(0x284));}return _0x444c26;}[_0x413dbd(0x2d5)](_0x7cbd04){const _0x4a2161=_0x413dbd;return _0x7cbd04[_0x4a2161(0x2e0)](_0x3697cf=>{const _0x56ca08=_0x4a2161;Object[_0x56ca08(0x2b8)](_0x3697cf)[_0x56ca08(0x2e0)](_0x4a6fd8=>{const _0x51fb65=_0x56ca08;let _0x51821d=_0x3697cf[_0x4a6fd8];if(_0x51821d[_0x51fb65(0x326)]>0x1)throw new Error(_0x51fb65(0x269)+_0x4a6fd8+_0x51fb65(0x3b2));if(_0x51821d=_0x51821d[0x0],_0x4a6fd8==='client_max_window_bits'){if(_0x51821d!==!0x0){const _0x339a42=+_0x51821d;if(!Number['isInteger'](_0x339a42)||_0x339a42<0x8||_0x339a42>0xf)throw new TypeError(_0x51fb65(0x256)+_0x4a6fd8+_0x51fb65(0x234)+_0x51821d);_0x51821d=_0x339a42;}else{if(!this['_isServer'])throw new TypeError(_0x51fb65(0x256)+_0x4a6fd8+'\x22:\x20'+_0x51821d);}}else{if(_0x4a6fd8===_0x51fb65(0x34a)){const _0x546b7b=+_0x51821d;if(!Number[_0x51fb65(0x2aa)](_0x546b7b)||_0x546b7b<0x8||_0x546b7b>0xf)throw new TypeError(_0x51fb65(0x256)+_0x4a6fd8+_0x51fb65(0x234)+_0x51821d);_0x51821d=_0x546b7b;}else{if(_0x4a6fd8===_0x51fb65(0x27f)||_0x4a6fd8===_0x51fb65(0x38a)){if(_0x51821d!==!0x0)throw new TypeError(_0x51fb65(0x256)+_0x4a6fd8+'\x22:\x20'+_0x51821d);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x4a6fd8+'\x22');}}_0x3697cf[_0x4a6fd8]=_0x51821d;});}),_0x7cbd04;}['decompress'](_0x2782be,_0x3bc005,_0x4641b1){_0x146e3d['add'](_0x50f975=>{const _0x25e7bf=_0x49e0;this[_0x25e7bf(0x23d)](_0x2782be,_0x3bc005,(_0x213ab3,_0x2ccef1)=>{_0x50f975(),_0x4641b1(_0x213ab3,_0x2ccef1);});});}[_0x413dbd(0x322)](_0x3a73b1,_0x1d50e7,_0x176da6){const _0x3b506a=_0x413dbd;_0x146e3d[_0x3b506a(0x363)](_0x9f1be8=>{const _0x527cff=_0x3b506a;this[_0x527cff(0x38d)](_0x3a73b1,_0x1d50e7,(_0x5a446f,_0x162773)=>{_0x9f1be8(),_0x176da6(_0x5a446f,_0x162773);});});}[_0x413dbd(0x23d)](_0x94fa48,_0x31a5b4,_0x5050fa){const _0x44e65c=_0x413dbd,_0x30838b=this['_isServer']?_0x44e65c(0x3a8):_0x44e65c(0x29b);if(!this[_0x44e65c(0x25a)]){const _0x21fbe2=_0x30838b+'_max_window_bits',_0x3d91f0=typeof this[_0x44e65c(0x233)][_0x21fbe2]!=_0x44e65c(0x2d9)?_0x2f05a1[_0x44e65c(0x331)]:this[_0x44e65c(0x233)][_0x21fbe2];this[_0x44e65c(0x25a)]=_0x2f05a1['createInflateRaw']({...this[_0x44e65c(0x2e3)]['zlibInflateOptions'],'windowBits':_0x3d91f0}),this['_inflate'][_0x8732b3]=this,this[_0x44e65c(0x25a)][_0x291bfd]=0x0,this[_0x44e65c(0x25a)][_0x2dbd9d]=[],this['_inflate']['on'](_0x44e65c(0x2a4),_0x30a2bc),this[_0x44e65c(0x25a)]['on']('data',_0x47ce1e);}this[_0x44e65c(0x25a)][_0x20b249]=_0x5050fa,this[_0x44e65c(0x25a)]['write'](_0x94fa48),_0x31a5b4&&this[_0x44e65c(0x25a)][_0x44e65c(0x229)](_0x3072c2),this[_0x44e65c(0x25a)][_0x44e65c(0x2a8)](()=>{const _0x6e0763=_0x44e65c,_0x34fe57=this[_0x6e0763(0x25a)][_0x91b172];if(_0x34fe57){this['_inflate']['close'](),this['_inflate']=null,_0x5050fa(_0x34fe57);return;}const _0x3b3f6d=_0x3118a5[_0x6e0763(0x302)](this[_0x6e0763(0x25a)][_0x2dbd9d],this['_inflate'][_0x291bfd]);this[_0x6e0763(0x25a)][_0x6e0763(0x2e1)]['endEmitted']?(this[_0x6e0763(0x25a)][_0x6e0763(0x327)](),this['_inflate']=null):(this[_0x6e0763(0x25a)][_0x291bfd]=0x0,this['_inflate'][_0x2dbd9d]=[],_0x31a5b4&&this[_0x6e0763(0x233)][_0x30838b+_0x6e0763(0x39c)]&&this['_inflate']['reset']()),_0x5050fa(null,_0x3b3f6d);});}['_compress'](_0x26cc40,_0x3cd3ce,_0x1d4ab2){const _0x210280=_0x413dbd,_0x2806b3=this[_0x210280(0x37f)]?'server':_0x210280(0x3a8);if(!this[_0x210280(0x2fa)]){const _0xe886bb=_0x2806b3+_0x210280(0x27a),_0x5ab1b2=typeof this['params'][_0xe886bb]!=_0x210280(0x2d9)?_0x2f05a1[_0x210280(0x331)]:this['params'][_0xe886bb];this['_deflate']=_0x2f05a1[_0x210280(0x2f2)]({...this[_0x210280(0x2e3)][_0x210280(0x364)],'windowBits':_0x5ab1b2}),this['_deflate'][_0x291bfd]=0x0,this[_0x210280(0x2fa)][_0x2dbd9d]=[],this[_0x210280(0x2fa)]['on'](_0x210280(0x1ec),_0x5bfee7);}this[_0x210280(0x2fa)][_0x20b249]=_0x1d4ab2,this[_0x210280(0x2fa)]['write'](_0x26cc40),this[_0x210280(0x2fa)][_0x210280(0x2a8)](_0x2f05a1[_0x210280(0x249)],()=>{const _0x4db54c=_0x210280;if(!this[_0x4db54c(0x2fa)])return;let _0x1ef6bc=_0x3118a5['concat'](this['_deflate'][_0x2dbd9d],this[_0x4db54c(0x2fa)][_0x291bfd]);_0x3cd3ce&&(_0x1ef6bc=new _0x486ed4(_0x1ef6bc['buffer'],_0x1ef6bc[_0x4db54c(0x2bc)],_0x1ef6bc[_0x4db54c(0x326)]-0x4)),this[_0x4db54c(0x2fa)][_0x20b249]=null,this[_0x4db54c(0x2fa)][_0x291bfd]=0x0,this[_0x4db54c(0x2fa)][_0x2dbd9d]=[],_0x3cd3ce&&this['params'][_0x2806b3+_0x4db54c(0x39c)]&&this[_0x4db54c(0x2fa)][_0x4db54c(0x2ef)](),_0x1d4ab2(null,_0x1ef6bc);});}}ve=_0x51c6e8;function _0x5bfee7(_0x2a819e){const _0x353843=_0x413dbd;this[_0x2dbd9d][_0x353843(0x271)](_0x2a819e),this[_0x291bfd]+=_0x2a819e[_0x353843(0x326)];}function _0x47ce1e(_0x513f51){const _0x252b16=_0x413dbd;if(this[_0x291bfd]+=_0x513f51[_0x252b16(0x326)],this[_0x8732b3]['_maxPayload']<0x1||this[_0x291bfd]<=this[_0x8732b3][_0x252b16(0x22a)]){this[_0x2dbd9d][_0x252b16(0x271)](_0x513f51);return;}this[_0x91b172]=new RangeError(_0x252b16(0x359)),this[_0x91b172]['code']=_0x252b16(0x29a),this[_0x91b172][_0x4a6f37]=0x3f1,this[_0x252b16(0x321)]('data',_0x47ce1e),this[_0x252b16(0x2ef)]();}function _0x30a2bc(_0x1139e5){if(this[_0x8732b3]['_inflate']=null,this[_0x91b172]){this[_0x20b249](this[_0x91b172]);return;}_0x1139e5[_0x4a6f37]=0x3ef,this[_0x20b249](_0x1139e5);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x519561(0x2ff)](Object[_0x519561(0x2a3)]({'__proto__':null,'default':Dt},Symbol['toStringTag'],{'value':_0x519561(0x36a)})),Bt=at(Rt);var Ye;function ae(){const _0x585205=_0x519561;if(Ye)return ie['exports'];Ye=0x1;const {isUtf8:_0x1d6644}=wt,{hasBlob:_0x490726}=H(),_0x16d6e2=[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 _0x552c28(_0x27fdd9){return _0x27fdd9>=0x3e8&&_0x27fdd9<=0x3f6&&_0x27fdd9!==0x3ec&&_0x27fdd9!==0x3ed&&_0x27fdd9!==0x3ee||_0x27fdd9>=0xbb8&&_0x27fdd9<=0x1387;}function _0x38a9f3(_0x5bf441){const _0x356fa6=_0x49e0,_0x3d1ce6=_0x5bf441[_0x356fa6(0x326)];let _0xd88b77=0x0;for(;_0xd88b77<_0x3d1ce6;)if((_0x5bf441[_0xd88b77]&0x80)===0x0)_0xd88b77++;else{if((_0x5bf441[_0xd88b77]&0xe0)===0xc0){if(_0xd88b77+0x1===_0x3d1ce6||(_0x5bf441[_0xd88b77+0x1]&0xc0)!==0x80||(_0x5bf441[_0xd88b77]&0xfe)===0xc0)return!0x1;_0xd88b77+=0x2;}else{if((_0x5bf441[_0xd88b77]&0xf0)===0xe0){if(_0xd88b77+0x2>=_0x3d1ce6||(_0x5bf441[_0xd88b77+0x1]&0xc0)!==0x80||(_0x5bf441[_0xd88b77+0x2]&0xc0)!==0x80||_0x5bf441[_0xd88b77]===0xe0&&(_0x5bf441[_0xd88b77+0x1]&0xe0)===0x80||_0x5bf441[_0xd88b77]===0xed&&(_0x5bf441[_0xd88b77+0x1]&0xe0)===0xa0)return!0x1;_0xd88b77+=0x3;}else{if((_0x5bf441[_0xd88b77]&0xf8)===0xf0){if(_0xd88b77+0x3>=_0x3d1ce6||(_0x5bf441[_0xd88b77+0x1]&0xc0)!==0x80||(_0x5bf441[_0xd88b77+0x2]&0xc0)!==0x80||(_0x5bf441[_0xd88b77+0x3]&0xc0)!==0x80||_0x5bf441[_0xd88b77]===0xf0&&(_0x5bf441[_0xd88b77+0x1]&0xf0)===0x80||_0x5bf441[_0xd88b77]===0xf4&&_0x5bf441[_0xd88b77+0x1]>0x8f||_0x5bf441[_0xd88b77]>0xf4)return!0x1;_0xd88b77+=0x4;}else return!0x1;}}}return!0x0;}function _0x354103(_0x2fc44f){const _0x5e01f5=_0x49e0;return _0x490726&&typeof _0x2fc44f=='object'&&typeof _0x2fc44f['arrayBuffer']==_0x5e01f5(0x236)&&typeof _0x2fc44f['type']=='string'&&typeof _0x2fc44f[_0x5e01f5(0x2ca)]=='function'&&(_0x2fc44f[Symbol['toStringTag']]===_0x5e01f5(0x2c7)||_0x2fc44f[Symbol['toStringTag']]===_0x5e01f5(0x38f));}if(ie[_0x585205(0x2b5)]={'isBlob':_0x354103,'isValidStatusCode':_0x552c28,'isValidUTF8':_0x38a9f3,'tokenChars':_0x16d6e2},_0x1d6644)ie[_0x585205(0x2b5)]['isValidUTF8']=function(_0xc94e57){const _0x381558=_0x585205;return _0xc94e57[_0x381558(0x326)]<0x18?_0x38a9f3(_0xc94e57):_0x1d6644(_0xc94e57);};else{if(!process[_0x585205(0x29e)][_0x585205(0x3a4)])try{const _0x404454=Bt;ie['exports'][_0x585205(0x29d)]=function(_0x32cdfc){const _0x4909f8=_0x585205;return _0x32cdfc[_0x4909f8(0x326)]<0x20?_0x38a9f3(_0x32cdfc):_0x404454(_0x32cdfc);};}catch{}}return ie['exports'];}function _0x5b7b(){const _0x3a13ac=['CLOSING','WS_NO_UTF_8_VALIDATE','timeout','sendFrame','_totalPayloadLength','client','sha1','set','pathname','maxPayload','_mask','_buffers','_closeFrameSent','invalid\x20opcode\x200','_url','\x22\x20must\x20have\x20only\x20a\x20single\x20value','hasOwnProperty','create','getData','sec-websocket-origin','data','skipUTF8Validation','registerHTTPInterceptor','emit','DependentOn','_loop','_errorEmitted','WS_ERR_UNEXPECTED_RSV_1','CLOSED','slice','28893030DqFJcW','base64','onopen','The\x20URL\x20contains\x20a\x20fragment\x20identifier','socketPath','hostname','map','767790eqvAfF','message','binary','18adQONU','sec-websocket-extensions','fragments','pipe','removeEventListener','_autoPong','options','setNoDelay','invalid\x20opcode\x20','_doCreateSocket','defaultPort','clientMaxWindowBits','handleEvent','clients','_closeCode','Invalid\x20Sec-WebSocket-Extensions\x20header','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','_originalHostOrSocketPath','open','_binaryType','_write','target','url','websocket','Unexpected\x20character\x20at\x20index\x20','setTimeout','HTTP/1.1\x20','extensions','_socket','invalid\x20status\x20code\x20','Invalid\x20Sec-WebSocket-Accept\x20header','readUInt32BE','UniverCollaborationClientNodePlugin','from','_registerDependencies','acceptAsServer','kCode','cookie','_payloadLength','enqueue','errorEmitted','write','_maxPayload','WebSocket','serverNoContextTakeover','find','sec-websocket-protocol','_readyState','shift','callback','_maskBuffer','params','\x22:\x20','frame','function','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','_fin','IConfigService','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','statusCode','parse','_decompress','GET','UniverCollaborationClientPlugin','Server\x20sent\x20no\x20subprotocol','Inject','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','unexpected-response','The\x20\x22','status-code','\x22\x20subprotocol\x20is\x20duplicated','Sec-WebSocket-Accept:\x20','kByteLength','Z_SYNC_FLUSH','concurrencyLimit','customHeaders','867782UzWRIm','pending','Observable','startLoop','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','onclose','replace','type','charCodeAt','acceptAsClient','Invalid\x20value\x20for\x20parameter\x20\x22','Origin','jobs','maskBuffer','_inflate','http','1001685wjLZbt','buffer','@univerjs/core','ping','_httpService','haveLength','OPEN','Invalid\x20Sec-WebSocket-Protocol\x20header','_compressed','objectMode','apply','text/html','Basic\x20','Parameter\x20\x22','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','Cookie','upgrade','Server\x20sent\x20an\x20invalid\x20subprotocol','kListener','_closeMessage','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','push','needDrain','_bufferedBytes','_messageLength','toString','kDone','blob','isPaused','_bufferedAmount','_max_window_bits','total-length','conclude','protocol','tls','client_no_context_takeover','Maximum\x20redirects\x20exceeded','_protocol','autoPong','wasClean','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','fin','rxjs','The\x20server\x20is\x20not\x20running','binaryType','__esModule','FIN\x20must\x20be\x20set','Upgrade:\x20websocket','byteLength','join','kRun','wss:','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','pong','controlMessage','request','_redirects','setConfig','cleanup','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','kMessage','writeUIntBE','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','server','getBlobData','isValidUTF8','env','_final','catch','HTTP/1.1\x20101\x20Switching\x20Protocols','_writableState','defineProperty','error','noServer','call','perMessageDeflate','flush','STATUS_CODES','isInteger','1069912zKniWU','threshold','password','offer','1505445LeZcxu','onerror','_masked','nodebuffer','endEmitted','_queue','exports','Connection:\x20Upgrade','MASK\x20must\x20be\x20clear','keys','bind','Unexpected\x20end\x20of\x20input','http:','byteOffset','listening','uncork','username','readOnly','captureStackTrace','location','destroyed','handshakeTimeout','object','values','Blob','unshift','readyState','stream','kReason','share','pause','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','createSocket','code','net','generateMask','constructor','normalizeParams','size','handleUpgrade','rsv1','number','encrypted','\x0d\x0a\x0d\x0a','once','CONNECTING','Invalid\x20WebSocket\x20frame:\x20','_destroy','forEach','_readableState','delete','_options','Injector','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','emitClose','readable','_state','bufferedAmount','_closeFrameReceived','_injector','completeUpgrade','decompress','value','reset','hash','dequeue','createDeflateRaw','includes','DisposableCollection','_receiver','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','clientTracking','destroy','clientNoContextTakeover','_deflate','_paused','default','sec-websocket-accept','resume','freeze','_sender','ISnapshotServerService','concat','indexOf','alloc','method','getInfo','toLowerCase','writable','send','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','_originalSecure','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','update','shouldHandle','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','nextTick','socket','kWasClean','terminate','concurrency','_extensions','getConfig','kData','WS_ERR_INVALID_OPCODE','WS_ERR_EXPECTED_FIN','allocUnsafe','end','WS_ERR_UNEXPECTED_RSV_2_3','startsWith','next','https','client_max_window_bits','removeListener','compress','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','path','kError','length','close','finish','RSV1\x20must\x20be\x20clear','ILogService','address','dispatch','consume','followRedirects','allowSynchronousEvents','serverMaxWindowBits','Z_DEFAULT_WINDOWBITS','CollaborationSocketService','events','listenerCount','dispose','finished','createError','unmask','invalid\x20UTF-8\x20sequence','text/plain','Sec-WebSocket-Extensions','4484888objMLW','35yPeqQo','Sec-WebSocket-Extensions:\x20','arraybuffer','_configService','accept','_originalIpc','ws:','wsClientError','drain','toDisposable','entries','headers','_errored','server_max_window_bits','prototype','Disposable','@univerjs-pro/collaboration','arrayBuffer','getOwnPropertyDescriptor','_shouldEmitClose','HTTPService','crypto','servername','origin','NodeCollaborationSocketService','redirect','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','href','Max\x20payload\x20size\x20exceeded','kTarget','createServer','collaboration-client-node.config','backlog','extensionName','species','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','authorized','add','zlibDeflateOptions','_fragments','getMask','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','WS_ERR_EXPECTED_MASK','_opcode','Module','Sec-WebSocket-Protocol','_skipUTF8Validation','writeUInt16BE','has','_closeTimer','setSocket','test','connection','opcode','COLLABORATION_CLIENT_NODE_CONFIG_KEY','_allowSynchronousEvents','pow','getPayloadLength64','setHeader','_req','WebSocket\x20is\x20not\x20open:\x20readyState\x20','listeners','_firstFragment','authorization','connect','_isServer','auth','isBuffer','addEventListener','isArray','_fragmented','_server','WS_ERR_INVALID_UTF8','createConnection','construct','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','server_no_context_takeover','buffers','verifyClient','_compress','abort','File','mask','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','Sec-WebSocket-Origin','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','@univerjs/network','_removeListeners','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','port','protocolVersion','_generateMask','12ScmUfM','zlib','_no_context_takeover','Invalid\x20Upgrade\x20header','reason','string','finishRequest','host','dataMessage'];_0x5b7b=function(){return _0x3a13ac;};return _0x5b7b();}var Se,Ke;function lt(){const _0x350438=_0x519561;if(Ke)return Se;Ke=0x1;const {Writable:_0x145186}=oe,_0x532617=he(),{BINARY_TYPES:_0x106b1b,EMPTY_BUFFER:_0x17a1cb,kStatusCode:_0x5739e9,kWebSocket:_0x24b828}=H(),{concat:_0x449b29,toArrayBuffer:_0x504747,unmask:_0x3106ba}=ce(),{isValidStatusCode:_0x6f9919,isValidUTF8:_0x1eb984}=ae(),_0x58280e=Buffer[Symbol[_0x350438(0x35f)]],_0x57ba50=0x0,_0x1d4e75=0x1,_0xf59308=0x2,_0x17df65=0x3,_0x129e7f=0x4,_0x149d52=0x5,_0x6edd99=0x6;class _0xc453d5 extends _0x145186{constructor(_0x289aa4={}){const _0xab1c34=_0x350438;super(),this[_0xab1c34(0x375)]=_0x289aa4[_0xab1c34(0x32f)]!==void 0x0?_0x289aa4['allowSynchronousEvents']:!0x0,this[_0xab1c34(0x213)]=_0x289aa4[_0xab1c34(0x288)]||_0x106b1b[0x0],this[_0xab1c34(0x315)]=_0x289aa4[_0xab1c34(0x21b)]||{},this['_isServer']=!!_0x289aa4['isServer'],this[_0xab1c34(0x22a)]=_0x289aa4[_0xab1c34(0x3ac)]|0x0,this['_skipUTF8Validation']=!!_0x289aa4[_0xab1c34(0x1ed)],this[_0x24b828]=void 0x0,this['_bufferedBytes']=0x0,this[_0xab1c34(0x3ae)]=[],this[_0xab1c34(0x264)]=!0x1,this['_payloadLength']=0x0,this[_0xab1c34(0x3ad)]=void 0x0,this[_0xab1c34(0x384)]=0x0,this[_0xab1c34(0x2b1)]=!0x1,this[_0xab1c34(0x238)]=!0x1,this[_0xab1c34(0x369)]=0x0,this[_0xab1c34(0x3a7)]=0x0,this['_messageLength']=0x0,this['_fragments']=[],this[_0xab1c34(0x349)]=!0x1,this[_0xab1c34(0x1f1)]=!0x1,this[_0xab1c34(0x2e8)]=_0x57ba50;}[_0x350438(0x214)](_0x4f870d,_0x2b513f,_0x1e2857){const _0x3051b8=_0x350438;if(this[_0x3051b8(0x369)]===0x8&&this['_state']==_0x57ba50)return _0x1e2857();this['_bufferedBytes']+=_0x4f870d[_0x3051b8(0x326)],this[_0x3051b8(0x3ae)]['push'](_0x4f870d),this[_0x3051b8(0x24f)](_0x1e2857);}[_0x350438(0x32d)](_0x42f4c3){const _0x4807ed=_0x350438;if(this[_0x4807ed(0x273)]-=_0x42f4c3,_0x42f4c3===this[_0x4807ed(0x3ae)][0x0][_0x4807ed(0x326)])return this[_0x4807ed(0x3ae)]['shift']();if(_0x42f4c3<this[_0x4807ed(0x3ae)][0x0]['length']){const _0x3776b0=this[_0x4807ed(0x3ae)][0x0];return this[_0x4807ed(0x3ae)][0x0]=new _0x58280e(_0x3776b0[_0x4807ed(0x25d)],_0x3776b0[_0x4807ed(0x2bc)]+_0x42f4c3,_0x3776b0[_0x4807ed(0x326)]-_0x42f4c3),new _0x58280e(_0x3776b0[_0x4807ed(0x25d)],_0x3776b0[_0x4807ed(0x2bc)],_0x42f4c3);}const _0x555a4d=Buffer['allocUnsafe'](_0x42f4c3);do{const _0xdcaa8c=this[_0x4807ed(0x3ae)][0x0],_0x4a44a2=_0x555a4d[_0x4807ed(0x326)]-_0x42f4c3;_0x42f4c3>=_0xdcaa8c['length']?_0x555a4d[_0x4807ed(0x3aa)](this[_0x4807ed(0x3ae)]['shift'](),_0x4a44a2):(_0x555a4d[_0x4807ed(0x3aa)](new Uint8Array(_0xdcaa8c[_0x4807ed(0x25d)],_0xdcaa8c[_0x4807ed(0x2bc)],_0x42f4c3),_0x4a44a2),this[_0x4807ed(0x3ae)][0x0]=new _0x58280e(_0xdcaa8c['buffer'],_0xdcaa8c[_0x4807ed(0x2bc)]+_0x42f4c3,_0xdcaa8c[_0x4807ed(0x326)]-_0x42f4c3)),_0x42f4c3-=_0xdcaa8c[_0x4807ed(0x326)];}while(_0x42f4c3>0x0);return _0x555a4d;}[_0x350438(0x24f)](_0x8042ca){const _0x4e1448=_0x350438;this[_0x4e1448(0x1f1)]=!0x0;do switch(this[_0x4e1448(0x2e8)]){case _0x57ba50:this[_0x4e1448(0x306)](_0x8042ca);break;case _0x1d4e75:this['getPayloadLength16'](_0x8042ca);break;case _0xf59308:this[_0x4e1448(0x377)](_0x8042ca);break;case _0x17df65:this[_0x4e1448(0x366)]();break;case _0x129e7f:this['getData'](_0x8042ca);break;case _0x149d52:case _0x6edd99:this['_loop']=!0x1;return;}while(this[_0x4e1448(0x1f1)]);this[_0x4e1448(0x349)]||_0x8042ca();}[_0x350438(0x306)](_0x2513fa){const _0x5429ac=_0x350438;if(this[_0x5429ac(0x273)]<0x2){this[_0x5429ac(0x1f1)]=!0x1;return;}const _0xaa4b81=this['consume'](0x2);if((_0xaa4b81[0x0]&0x30)!==0x0){const _0xe8fd05=this['createError'](RangeError,_0x5429ac(0x237),!0x0,0x3ea,_0x5429ac(0x31c));_0x2513fa(_0xe8fd05);return;}const _0x573779=(_0xaa4b81[0x0]&0x40)===0x40;if(_0x573779&&!this[_0x5429ac(0x315)][_0x532617['extensionName']]){const _0x4a3bae=this[_0x5429ac(0x337)](RangeError,_0x5429ac(0x329),!0x0,0x3ea,_0x5429ac(0x1f3));_0x2513fa(_0x4a3bae);return;}if(this['_fin']=(_0xaa4b81[0x0]&0x80)===0x80,this[_0x5429ac(0x369)]=_0xaa4b81[0x0]&0xf,this['_payloadLength']=_0xaa4b81[0x1]&0x7f,this['_opcode']===0x0){if(_0x573779){const _0x8acf54=this[_0x5429ac(0x337)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x5429ac(0x1f3));_0x2513fa(_0x8acf54);return;}if(!this[_0x5429ac(0x384)]){const _0x15a8a6=this[_0x5429ac(0x337)](RangeError,_0x5429ac(0x3b0),!0x0,0x3ea,_0x5429ac(0x318));_0x2513fa(_0x15a8a6);return;}this['_opcode']=this['_fragmented'];}else{if(this[_0x5429ac(0x369)]===0x1||this[_0x5429ac(0x369)]===0x2){if(this['_fragmented']){const _0x7d7acf=this[_0x5429ac(0x337)](RangeError,_0x5429ac(0x208)+this['_opcode'],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x2513fa(_0x7d7acf);return;}this[_0x5429ac(0x264)]=_0x573779;}else{if(this[_0x5429ac(0x369)]>0x7&&this[_0x5429ac(0x369)]<0xb){if(!this[_0x5429ac(0x238)]){const _0x41c785=this['createError'](RangeError,_0x5429ac(0x28a),!0x0,0x3ea,_0x5429ac(0x319));_0x2513fa(_0x41c785);return;}if(_0x573779){const _0x10e8c8=this[_0x5429ac(0x337)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x5429ac(0x1f3));_0x2513fa(_0x10e8c8);return;}if(this[_0x5429ac(0x226)]>0x7d||this[_0x5429ac(0x369)]===0x8&&this[_0x5429ac(0x226)]===0x1){const _0x2a45d7=this[_0x5429ac(0x337)](RangeError,'invalid\x20payload\x20length\x20'+this[_0x5429ac(0x226)],!0x0,0x3ea,_0x5429ac(0x396));_0x2513fa(_0x2a45d7);return;}}else{const _0x542e53=this[_0x5429ac(0x337)](RangeError,_0x5429ac(0x208)+this[_0x5429ac(0x369)],!0x0,0x3ea,_0x5429ac(0x318));_0x2513fa(_0x542e53);return;}}}if(!this[_0x5429ac(0x238)]&&!this[_0x5429ac(0x384)]&&(this[_0x5429ac(0x384)]=this[_0x5429ac(0x369)]),this[_0x5429ac(0x2b1)]=(_0xaa4b81[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x5429ac(0x2b1)]){const _0x22a021=this[_0x5429ac(0x337)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x5429ac(0x368));_0x2513fa(_0x22a021);return;}}else{if(this['_masked']){const _0x49f10e=this[_0x5429ac(0x337)](RangeError,_0x5429ac(0x2b7),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x2513fa(_0x49f10e);return;}}this[_0x5429ac(0x226)]===0x7e?this[_0x5429ac(0x2e8)]=_0x1d4e75:this[_0x5429ac(0x226)]===0x7f?this['_state']=_0xf59308:this['haveLength'](_0x2513fa);}['getPayloadLength16'](_0x25c6e5){const _0x17be2a=_0x350438;if(this[_0x17be2a(0x273)]<0x2){this[_0x17be2a(0x1f1)]=!0x1;return;}this['_payloadLength']=this[_0x17be2a(0x32d)](0x2)['readUInt16BE'](0x0),this['haveLength'](_0x25c6e5);}[_0x350438(0x377)](_0x40512b){const _0x279de3=_0x350438;if(this[_0x279de3(0x273)]<0x8){this[_0x279de3(0x1f1)]=!0x1;return;}const _0x5a59f1=this[_0x279de3(0x32d)](0x8),_0x8d4f56=_0x5a59f1[_0x279de3(0x21f)](0x0);if(_0x8d4f56>Math[_0x279de3(0x376)](0x2,0x15)-0x1){const _0x516ca8=this[_0x279de3(0x337)](RangeError,_0x279de3(0x2e5),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x40512b(_0x516ca8);return;}this[_0x279de3(0x226)]=_0x8d4f56*Math[_0x279de3(0x376)](0x2,0x20)+_0x5a59f1[_0x279de3(0x21f)](0x4),this[_0x279de3(0x261)](_0x40512b);}['haveLength'](_0x4f0101){const _0x4fc51a=_0x350438;if(this['_payloadLength']&&this['_opcode']<0x8&&(this[_0x4fc51a(0x3a7)]+=this[_0x4fc51a(0x226)],this[_0x4fc51a(0x3a7)]>this[_0x4fc51a(0x22a)]&&this[_0x4fc51a(0x22a)]>0x0)){const _0x15fff5=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x4fc51a(0x29a));_0x4f0101(_0x15fff5);return;}this[_0x4fc51a(0x2b1)]?this['_state']=_0x17df65:this[_0x4fc51a(0x2e8)]=_0x129e7f;}[_0x350438(0x366)](){const _0x3803d6=_0x350438;if(this['_bufferedBytes']<0x4){this[_0x3803d6(0x1f1)]=!0x1;return;}this[_0x3803d6(0x3ad)]=this['consume'](0x4),this[_0x3803d6(0x2e8)]=_0x129e7f;}[_0x350438(0x1ea)](_0x5e1a06){const _0x5a5ba9=_0x350438;let _0xcdd088=_0x17a1cb;if(this[_0x5a5ba9(0x226)]){if(this[_0x5a5ba9(0x273)]<this['_payloadLength']){this[_0x5a5ba9(0x1f1)]=!0x1;return;}_0xcdd088=this[_0x5a5ba9(0x32d)](this[_0x5a5ba9(0x226)]),this[_0x5a5ba9(0x2b1)]&&(this['_mask'][0x0]|this[_0x5a5ba9(0x3ad)][0x1]|this[_0x5a5ba9(0x3ad)][0x2]|this[_0x5a5ba9(0x3ad)][0x3])!==0x0&&_0x3106ba(_0xcdd088,this['_mask']);}if(this[_0x5a5ba9(0x369)]>0x7){this['controlMessage'](_0xcdd088,_0x5e1a06);return;}if(this[_0x5a5ba9(0x264)]){this[_0x5a5ba9(0x2e8)]=_0x149d52,this['decompress'](_0xcdd088,_0x5e1a06);return;}_0xcdd088['length']&&(this[_0x5a5ba9(0x274)]=this[_0x5a5ba9(0x3a7)],this['_fragments'][_0x5a5ba9(0x271)](_0xcdd088)),this[_0x5a5ba9(0x3a2)](_0x5e1a06);}[_0x350438(0x2ed)](_0x80275a,_0x3d6b9e){const _0x17a7fe=_0x350438;this['_extensions'][_0x532617[_0x17a7fe(0x35e)]][_0x17a7fe(0x2ed)](_0x80275a,this[_0x17a7fe(0x238)],(_0x3e1aa8,_0x40c911)=>{const _0x1f163e=_0x17a7fe;if(_0x3e1aa8)return _0x3d6b9e(_0x3e1aa8);if(_0x40c911[_0x1f163e(0x326)]){if(this['_messageLength']+=_0x40c911['length'],this['_messageLength']>this['_maxPayload']&&this['_maxPayload']>0x0){const _0x5dfdc7=this[_0x1f163e(0x337)](RangeError,_0x1f163e(0x359),!0x1,0x3f1,_0x1f163e(0x29a));_0x3d6b9e(_0x5dfdc7);return;}this[_0x1f163e(0x365)]['push'](_0x40c911);}this['dataMessage'](_0x3d6b9e),this[_0x1f163e(0x2e8)]===_0x57ba50&&this[_0x1f163e(0x24f)](_0x3d6b9e);});}[_0x350438(0x3a2)](_0x8e9075){const _0x4290f1=_0x350438;if(!this[_0x4290f1(0x238)]){this['_state']=_0x57ba50;return;}const _0x3075f5=this['_messageLength'],_0x559dad=this[_0x4290f1(0x365)];if(this[_0x4290f1(0x3a7)]=0x0,this[_0x4290f1(0x274)]=0x0,this[_0x4290f1(0x384)]=0x0,this['_fragments']=[],this[_0x4290f1(0x369)]===0x2){let _0x37cfa0;this['_binaryType']===_0x4290f1(0x2b2)?_0x37cfa0=_0x449b29(_0x559dad,_0x3075f5):this['_binaryType']===_0x4290f1(0x33f)?_0x37cfa0=_0x504747(_0x449b29(_0x559dad,_0x3075f5)):this['_binaryType']==='blob'?_0x37cfa0=new Blob(_0x559dad):_0x37cfa0=_0x559dad,this[_0x4290f1(0x375)]?(this[_0x4290f1(0x1ef)](_0x4290f1(0x1fe),_0x37cfa0,!0x0),this[_0x4290f1(0x2e8)]=_0x57ba50):(this['_state']=_0x6edd99,setImmediate(()=>{const _0x48cc51=_0x4290f1;this[_0x48cc51(0x1ef)](_0x48cc51(0x1fe),_0x37cfa0,!0x0),this[_0x48cc51(0x2e8)]=_0x57ba50,this[_0x48cc51(0x24f)](_0x8e9075);}));}else{const _0x4f6c20=_0x449b29(_0x559dad,_0x3075f5);if(!this['_skipUTF8Validation']&&!_0x1eb984(_0x4f6c20)){const _0x5e1a41=this[_0x4290f1(0x337)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x4290f1(0x386));_0x8e9075(_0x5e1a41);return;}this['_state']===_0x149d52||this['_allowSynchronousEvents']?(this[_0x4290f1(0x1ef)](_0x4290f1(0x1fe),_0x4f6c20,!0x1),this[_0x4290f1(0x2e8)]=_0x57ba50):(this['_state']=_0x6edd99,setImmediate(()=>{const _0x43f1e3=_0x4290f1;this[_0x43f1e3(0x1ef)](_0x43f1e3(0x1fe),_0x4f6c20,!0x1),this[_0x43f1e3(0x2e8)]=_0x57ba50,this[_0x43f1e3(0x24f)](_0x8e9075);}));}}[_0x350438(0x292)](_0x5a5121,_0x541dea){const _0x1d9afc=_0x350438;if(this[_0x1d9afc(0x369)]===0x8){if(_0x5a5121[_0x1d9afc(0x326)]===0x0)this[_0x1d9afc(0x1f1)]=!0x1,this[_0x1d9afc(0x1ef)]('conclude',0x3ed,_0x17a1cb),this['end']();else{const _0x103bdd=_0x5a5121['readUInt16BE'](0x0);if(!_0x6f9919(_0x103bdd)){const _0x4c0bd1=this['createError'](RangeError,_0x1d9afc(0x21d)+_0x103bdd,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x541dea(_0x4c0bd1);return;}const _0x2926a2=new _0x58280e(_0x5a5121['buffer'],_0x5a5121[_0x1d9afc(0x2bc)]+0x2,_0x5a5121[_0x1d9afc(0x326)]-0x2);if(!this[_0x1d9afc(0x36c)]&&!_0x1eb984(_0x2926a2)){const _0x4a6ecc=this[_0x1d9afc(0x337)](Error,_0x1d9afc(0x339),!0x0,0x3ef,_0x1d9afc(0x386));_0x541dea(_0x4a6ecc);return;}this['_loop']=!0x1,this[_0x1d9afc(0x1ef)](_0x1d9afc(0x27c),_0x103bdd,_0x2926a2),this[_0x1d9afc(0x31b)]();}this[_0x1d9afc(0x2e8)]=_0x57ba50;return;}this['_allowSynchronousEvents']?(this[_0x1d9afc(0x1ef)](this[_0x1d9afc(0x369)]===0x9?_0x1d9afc(0x25f):_0x1d9afc(0x291),_0x5a5121),this[_0x1d9afc(0x2e8)]=_0x57ba50):(this[_0x1d9afc(0x2e8)]=_0x6edd99,setImmediate(()=>{const _0x275eed=_0x1d9afc;this[_0x275eed(0x1ef)](this[_0x275eed(0x369)]===0x9?'ping':_0x275eed(0x291),_0x5a5121),this[_0x275eed(0x2e8)]=_0x57ba50,this['startLoop'](_0x541dea);}));}[_0x350438(0x337)](_0x5ec2e4,_0x417c49,_0x5065e6,_0x5163ce,_0xd09c76){const _0x2c1ef6=_0x350438;this['_loop']=!0x1,this[_0x2c1ef6(0x349)]=!0x0;const _0x513cad=new _0x5ec2e4(_0x5065e6?_0x2c1ef6(0x2de)+_0x417c49:_0x417c49);return Error[_0x2c1ef6(0x2c1)](_0x513cad,this[_0x2c1ef6(0x337)]),_0x513cad['code']=_0xd09c76,_0x513cad[_0x5739e9]=_0x5163ce,_0x513cad;}}return Se=_0xc453d5,Se;}var Ee,Xe;function ft(){const _0x311f92=_0x519561;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x4d68b1}=oe,{randomFillSync:_0x4be69b}=Le,_0x1df9c5=he(),{EMPTY_BUFFER:_0x55c464,kWebSocket:_0x50ecbf,NOOP:_0x150e7a}=H(),{isBlob:_0x2174c8,isValidStatusCode:_0x54ead9}=ae(),{mask:_0x4951d0,toBuffer:_0x139a63}=ce(),_0x15b0c6=Symbol(_0x311f92(0x248)),_0x562f58=Buffer[_0x311f92(0x304)](0x4),_0x402c40=0x8*0x400;let _0x4e7471,_0x30d0ef=_0x402c40;const _0x433c75=0x0,_0x3d02f1=0x1,_0xd618d9=0x2;class _0x368897{constructor(_0x5bb7a6,_0x225334,_0x184980){const _0x1c0b08=_0x311f92;this[_0x1c0b08(0x315)]=_0x225334||{},_0x184980&&(this[_0x1c0b08(0x399)]=_0x184980,this['_maskBuffer']=Buffer[_0x1c0b08(0x304)](0x4)),this['_socket']=_0x5bb7a6,this['_firstFragment']=!0x0,this[_0x1c0b08(0x38d)]=!0x1,this[_0x1c0b08(0x273)]=0x0,this['_queue']=[],this['_state']=_0x433c75,this['onerror']=_0x150e7a,this[_0x50ecbf]=void 0x0;}static[_0x311f92(0x235)](_0x269534,_0x369e60){const _0x442b56=_0x311f92;let _0x4b216d,_0x25464c=!0x1,_0x56a933=0x2,_0xea087e=!0x1;_0x369e60['mask']&&(_0x4b216d=_0x369e60[_0x442b56(0x259)]||_0x562f58,_0x369e60[_0x442b56(0x2d3)]?_0x369e60['generateMask'](_0x4b216d):(_0x30d0ef===_0x402c40&&(_0x4e7471===void 0x0&&(_0x4e7471=Buffer[_0x442b56(0x304)](_0x402c40)),_0x4be69b(_0x4e7471,0x0,_0x402c40),_0x30d0ef=0x0),_0x4b216d[0x0]=_0x4e7471[_0x30d0ef++],_0x4b216d[0x1]=_0x4e7471[_0x30d0ef++],_0x4b216d[0x2]=_0x4e7471[_0x30d0ef++],_0x4b216d[0x3]=_0x4e7471[_0x30d0ef++]),_0xea087e=(_0x4b216d[0x0]|_0x4b216d[0x1]|_0x4b216d[0x2]|_0x4b216d[0x3])===0x0,_0x56a933=0x6);let _0x428e6d;typeof _0x269534==_0x442b56(0x39f)?(!_0x369e60[_0x442b56(0x390)]||_0xea087e)&&_0x369e60[_0x15b0c6]!==void 0x0?_0x428e6d=_0x369e60[_0x15b0c6]:(_0x269534=Buffer[_0x442b56(0x221)](_0x269534),_0x428e6d=_0x269534[_0x442b56(0x326)]):(_0x428e6d=_0x269534['length'],_0x25464c=_0x369e60['mask']&&_0x369e60[_0x442b56(0x2c0)]&&!_0xea087e);let _0x55ed8c=_0x428e6d;_0x428e6d>=0x10000?(_0x56a933+=0x8,_0x55ed8c=0x7f):_0x428e6d>0x7d&&(_0x56a933+=0x2,_0x55ed8c=0x7e);const _0x1dd589=Buffer[_0x442b56(0x31a)](_0x25464c?_0x428e6d+_0x56a933:_0x56a933);return _0x1dd589[0x0]=_0x369e60[_0x442b56(0x285)]?_0x369e60['opcode']|0x80:_0x369e60[_0x442b56(0x373)],_0x369e60[_0x442b56(0x2d8)]&&(_0x1dd589[0x0]|=0x40),_0x1dd589[0x1]=_0x55ed8c,_0x55ed8c===0x7e?_0x1dd589[_0x442b56(0x36d)](_0x428e6d,0x2):_0x55ed8c===0x7f&&(_0x1dd589[0x2]=_0x1dd589[0x3]=0x0,_0x1dd589[_0x442b56(0x299)](_0x428e6d,0x4,0x6)),_0x369e60[_0x442b56(0x390)]?(_0x1dd589[0x1]|=0x80,_0x1dd589[_0x56a933-0x4]=_0x4b216d[0x0],_0x1dd589[_0x56a933-0x3]=_0x4b216d[0x1],_0x1dd589[_0x56a933-0x2]=_0x4b216d[0x2],_0x1dd589[_0x56a933-0x1]=_0x4b216d[0x3],_0xea087e?[_0x1dd589,_0x269534]:_0x25464c?(_0x4951d0(_0x269534,_0x4b216d,_0x1dd589,_0x56a933,_0x428e6d),[_0x1dd589]):(_0x4951d0(_0x269534,_0x4b216d,_0x269534,0x0,_0x428e6d),[_0x1dd589,_0x269534])):[_0x1dd589,_0x269534];}[_0x311f92(0x327)](_0x1ff00a,_0x263245,_0x3b5915,_0x5ef58f){const _0x2746ce=_0x311f92;let _0x45751a;if(_0x1ff00a===void 0x0)_0x45751a=_0x55c464;else{if(typeof _0x1ff00a!=_0x2746ce(0x2d9)||!_0x54ead9(_0x1ff00a))throw new TypeError(_0x2746ce(0x250));if(_0x263245===void 0x0||!_0x263245[_0x2746ce(0x326)])_0x45751a=Buffer['allocUnsafe'](0x2),_0x45751a[_0x2746ce(0x36d)](_0x1ff00a,0x0);else{const _0x4281f0=Buffer[_0x2746ce(0x28c)](_0x263245);if(_0x4281f0>0x7b)throw new RangeError(_0x2746ce(0x393));_0x45751a=Buffer['allocUnsafe'](0x2+_0x4281f0),_0x45751a[_0x2746ce(0x36d)](_0x1ff00a,0x0),typeof _0x263245==_0x2746ce(0x39f)?_0x45751a[_0x2746ce(0x229)](_0x263245,0x2):_0x45751a['set'](_0x263245,0x2);}}const _0x569487={[_0x15b0c6]:_0x45751a['length'],'fin':!0x0,'generateMask':this[_0x2746ce(0x399)],'mask':_0x3b5915,'maskBuffer':this[_0x2746ce(0x232)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x2746ce(0x2e8)]!==_0x433c75?this[_0x2746ce(0x227)]([this['dispatch'],_0x45751a,!0x1,_0x569487,_0x5ef58f]):this[_0x2746ce(0x3a6)](_0x368897['frame'](_0x45751a,_0x569487),_0x5ef58f);}[_0x311f92(0x25f)](_0x2a499d,_0x36cac0,_0x2d3894){const _0xb0d927=_0x311f92;let _0x27d525,_0x4481a6;if(typeof _0x2a499d==_0xb0d927(0x39f)?(_0x27d525=Buffer[_0xb0d927(0x28c)](_0x2a499d),_0x4481a6=!0x1):_0x2174c8(_0x2a499d)?(_0x27d525=_0x2a499d[_0xb0d927(0x2d6)],_0x4481a6=!0x1):(_0x2a499d=_0x139a63(_0x2a499d),_0x27d525=_0x2a499d[_0xb0d927(0x326)],_0x4481a6=_0x139a63[_0xb0d927(0x2c0)]),_0x27d525>0x7d)throw new RangeError(_0xb0d927(0x389));const _0x54cd27={[_0x15b0c6]:_0x27d525,'fin':!0x0,'generateMask':this[_0xb0d927(0x399)],'mask':_0x36cac0,'maskBuffer':this[_0xb0d927(0x232)],'opcode':0x9,'readOnly':_0x4481a6,'rsv1':!0x1};_0x2174c8(_0x2a499d)?this[_0xb0d927(0x2e8)]!==_0x433c75?this[_0xb0d927(0x227)]([this[_0xb0d927(0x29c)],_0x2a499d,!0x1,_0x54cd27,_0x2d3894]):this['getBlobData'](_0x2a499d,!0x1,_0x54cd27,_0x2d3894):this['_state']!==_0x433c75?this['enqueue']([this[_0xb0d927(0x32c)],_0x2a499d,!0x1,_0x54cd27,_0x2d3894]):this[_0xb0d927(0x3a6)](_0x368897[_0xb0d927(0x235)](_0x2a499d,_0x54cd27),_0x2d3894);}[_0x311f92(0x291)](_0x2107a1,_0x5c9f14,_0x2ca8e4){const _0x52b503=_0x311f92;let _0x58b3c6,_0x1c166f;if(typeof _0x2107a1=='string'?(_0x58b3c6=Buffer['byteLength'](_0x2107a1),_0x1c166f=!0x1):_0x2174c8(_0x2107a1)?(_0x58b3c6=_0x2107a1[_0x52b503(0x2d6)],_0x1c166f=!0x1):(_0x2107a1=_0x139a63(_0x2107a1),_0x58b3c6=_0x2107a1['length'],_0x1c166f=_0x139a63[_0x52b503(0x2c0)]),_0x58b3c6>0x7d)throw new RangeError(_0x52b503(0x389));const _0x360360={[_0x15b0c6]:_0x58b3c6,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x5c9f14,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x1c166f,'rsv1':!0x1};_0x2174c8(_0x2107a1)?this[_0x52b503(0x2e8)]!==_0x433c75?this[_0x52b503(0x227)]([this['getBlobData'],_0x2107a1,!0x1,_0x360360,_0x2ca8e4]):this[_0x52b503(0x29c)](_0x2107a1,!0x1,_0x360360,_0x2ca8e4):this[_0x52b503(0x2e8)]!==_0x433c75?this[_0x52b503(0x227)]([this[_0x52b503(0x32c)],_0x2107a1,!0x1,_0x360360,_0x2ca8e4]):this[_0x52b503(0x3a6)](_0x368897[_0x52b503(0x235)](_0x2107a1,_0x360360),_0x2ca8e4);}['send'](_0x5a5f6a,_0x1ddcfd,_0x269029){const _0x19a002=_0x311f92,_0x2e96b9=this[_0x19a002(0x315)][_0x1df9c5[_0x19a002(0x35e)]];let _0x4304fb=_0x1ddcfd[_0x19a002(0x1ff)]?0x2:0x1,_0x1f4297=_0x1ddcfd[_0x19a002(0x322)],_0x31dc48,_0x514e07;typeof _0x5a5f6a=='string'?(_0x31dc48=Buffer[_0x19a002(0x28c)](_0x5a5f6a),_0x514e07=!0x1):_0x2174c8(_0x5a5f6a)?(_0x31dc48=_0x5a5f6a['size'],_0x514e07=!0x1):(_0x5a5f6a=_0x139a63(_0x5a5f6a),_0x31dc48=_0x5a5f6a[_0x19a002(0x326)],_0x514e07=_0x139a63['readOnly']),this[_0x19a002(0x37c)]?(this['_firstFragment']=!0x1,_0x1f4297&&_0x2e96b9&&_0x2e96b9[_0x19a002(0x233)][_0x2e96b9[_0x19a002(0x37f)]?_0x19a002(0x38a):_0x19a002(0x27f)]&&(_0x1f4297=_0x31dc48>=_0x2e96b9['_threshold']),this[_0x19a002(0x38d)]=_0x1f4297):(_0x1f4297=!0x1,_0x4304fb=0x0),_0x1ddcfd['fin']&&(this[_0x19a002(0x37c)]=!0x0);const _0x237cc0={[_0x15b0c6]:_0x31dc48,'fin':_0x1ddcfd[_0x19a002(0x285)],'generateMask':this[_0x19a002(0x399)],'mask':_0x1ddcfd[_0x19a002(0x390)],'maskBuffer':this[_0x19a002(0x232)],'opcode':_0x4304fb,'readOnly':_0x514e07,'rsv1':_0x1f4297};_0x2174c8(_0x5a5f6a)?this[_0x19a002(0x2e8)]!==_0x433c75?this['enqueue']([this[_0x19a002(0x29c)],_0x5a5f6a,this[_0x19a002(0x38d)],_0x237cc0,_0x269029]):this[_0x19a002(0x29c)](_0x5a5f6a,this['_compress'],_0x237cc0,_0x269029):this['_state']!==_0x433c75?this['enqueue']([this[_0x19a002(0x32c)],_0x5a5f6a,this['_compress'],_0x237cc0,_0x269029]):this[_0x19a002(0x32c)](_0x5a5f6a,this[_0x19a002(0x38d)],_0x237cc0,_0x269029);}['getBlobData'](_0x42c74b,_0x380e15,_0x402fd4,_0x19ae5f){const _0x230ef5=_0x311f92;this[_0x230ef5(0x273)]+=_0x402fd4[_0x15b0c6],this[_0x230ef5(0x2e8)]=_0xd618d9,_0x42c74b[_0x230ef5(0x34e)]()['then'](_0x212106=>{const _0x13f7aa=_0x230ef5;if(this[_0x13f7aa(0x21c)][_0x13f7aa(0x2c3)]){const _0x3be5b8=new Error(_0x13f7aa(0x290));process[_0x13f7aa(0x310)](_0x41d58e,this,_0x3be5b8,_0x19ae5f);return;}this[_0x13f7aa(0x273)]-=_0x402fd4[_0x15b0c6];const _0x170ef6=_0x139a63(_0x212106);_0x380e15?this['dispatch'](_0x170ef6,_0x380e15,_0x402fd4,_0x19ae5f):(this[_0x13f7aa(0x2e8)]=_0x433c75,this[_0x13f7aa(0x3a6)](_0x368897[_0x13f7aa(0x235)](_0x170ef6,_0x402fd4),_0x19ae5f),this[_0x13f7aa(0x2f1)]());})[_0x230ef5(0x2a0)](_0x124d07=>{const _0x2e70d6=_0x230ef5;process[_0x2e70d6(0x310)](_0x3f6919,this,_0x124d07,_0x19ae5f);});}[_0x311f92(0x32c)](_0xecddfd,_0x5e1aeb,_0x96d1c9,_0x458cf3){const _0x42b39f=_0x311f92;if(!_0x5e1aeb){this[_0x42b39f(0x3a6)](_0x368897[_0x42b39f(0x235)](_0xecddfd,_0x96d1c9),_0x458cf3);return;}const _0xd7724=this['_extensions'][_0x1df9c5[_0x42b39f(0x35e)]];this[_0x42b39f(0x273)]+=_0x96d1c9[_0x15b0c6],this['_state']=_0x3d02f1,_0xd7724[_0x42b39f(0x322)](_0xecddfd,_0x96d1c9[_0x42b39f(0x285)],(_0x167f4d,_0x5806a2)=>{const _0x331dc4=_0x42b39f;if(this[_0x331dc4(0x21c)]['destroyed']){const _0x243dc4=new Error(_0x331dc4(0x30c));_0x41d58e(this,_0x243dc4,_0x458cf3);return;}this[_0x331dc4(0x273)]-=_0x96d1c9[_0x15b0c6],this['_state']=_0x433c75,_0x96d1c9[_0x331dc4(0x2c0)]=!0x1,this['sendFrame'](_0x368897[_0x331dc4(0x235)](_0x5806a2,_0x96d1c9),_0x458cf3),this[_0x331dc4(0x2f1)]();});}['dequeue'](){const _0x9ff1b8=_0x311f92;for(;this[_0x9ff1b8(0x2e8)]===_0x433c75&&this['_queue']['length'];){const _0xd82f08=this[_0x9ff1b8(0x2b4)][_0x9ff1b8(0x230)]();this['_bufferedBytes']-=_0xd82f08[0x3][_0x15b0c6],Reflect[_0x9ff1b8(0x266)](_0xd82f08[0x0],this,_0xd82f08[_0x9ff1b8(0x1f5)](0x1));}}[_0x311f92(0x227)](_0x8cabab){const _0x5d0d5a=_0x311f92;this[_0x5d0d5a(0x273)]+=_0x8cabab[0x3][_0x15b0c6],this[_0x5d0d5a(0x2b4)][_0x5d0d5a(0x271)](_0x8cabab);}[_0x311f92(0x3a6)](_0x46ad5e,_0x4ae883){const _0x230289=_0x311f92;_0x46ad5e[_0x230289(0x326)]===0x2?(this[_0x230289(0x21c)]['cork'](),this[_0x230289(0x21c)]['write'](_0x46ad5e[0x0]),this['_socket'][_0x230289(0x229)](_0x46ad5e[0x1],_0x4ae883),this[_0x230289(0x21c)][_0x230289(0x2be)]()):this[_0x230289(0x21c)][_0x230289(0x229)](_0x46ad5e[0x0],_0x4ae883);}}Ee=_0x368897;function _0x41d58e(_0x2dbbbd,_0x16d346,_0x3c627d){const _0x3d8155=_0x311f92;typeof _0x3c627d==_0x3d8155(0x236)&&_0x3c627d(_0x16d346);for(let _0x9c8769=0x0;_0x9c8769<_0x2dbbbd[_0x3d8155(0x2b4)][_0x3d8155(0x326)];_0x9c8769++){const _0x35c4c6=_0x2dbbbd[_0x3d8155(0x2b4)][_0x9c8769],_0x56273a=_0x35c4c6[_0x35c4c6[_0x3d8155(0x326)]-0x1];typeof _0x56273a=='function'&&_0x56273a(_0x16d346);}}function _0x3f6919(_0x16e59c,_0x270a50,_0x5ec1c9){const _0xc6b706=_0x311f92;_0x41d58e(_0x16e59c,_0x270a50,_0x5ec1c9),_0x16e59c[_0xc6b706(0x2b0)](_0x270a50);}return Ee;}var xe,Ze;function It(){const _0x46341d=_0x519561;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x45f292,kListener:_0x3bf7c9}=H(),_0x181c2e=Symbol(_0x46341d(0x224)),_0x3d67eb=Symbol(_0x46341d(0x317)),_0x3fd49c=Symbol(_0x46341d(0x325)),_0x34730c=Symbol(_0x46341d(0x298)),_0x448a27=Symbol(_0x46341d(0x2cb)),_0x55d15d=Symbol(_0x46341d(0x35a)),_0x4a311c=Symbol('kType'),_0x1c77cb=Symbol(_0x46341d(0x312));class _0x2d83c1{constructor(_0xdd4423){this[_0x55d15d]=null,this[_0x4a311c]=_0xdd4423;}get['target'](){return this[_0x55d15d];}get['type'](){return this[_0x4a311c];}}Object[_0x46341d(0x2a3)](_0x2d83c1[_0x46341d(0x34b)],_0x46341d(0x215),{'enumerable':!0x0}),Object[_0x46341d(0x2a3)](_0x2d83c1[_0x46341d(0x34b)],_0x46341d(0x253),{'enumerable':!0x0});class _0x17efea extends _0x2d83c1{constructor(_0x55473e,_0x1957f3={}){const _0x5595d9=_0x46341d;super(_0x55473e),this[_0x181c2e]=_0x1957f3['code']===void 0x0?0x0:_0x1957f3[_0x5595d9(0x2d1)],this[_0x448a27]=_0x1957f3[_0x5595d9(0x39e)]===void 0x0?'':_0x1957f3[_0x5595d9(0x39e)],this[_0x1c77cb]=_0x1957f3[_0x5595d9(0x283)]===void 0x0?!0x1:_0x1957f3[_0x5595d9(0x283)];}get['code'](){return this[_0x181c2e];}get[_0x46341d(0x39e)](){return this[_0x448a27];}get[_0x46341d(0x283)](){return this[_0x1c77cb];}}Object['defineProperty'](_0x17efea[_0x46341d(0x34b)],_0x46341d(0x2d1),{'enumerable':!0x0}),Object[_0x46341d(0x2a3)](_0x17efea[_0x46341d(0x34b)],_0x46341d(0x39e),{'enumerable':!0x0}),Object[_0x46341d(0x2a3)](_0x17efea['prototype'],_0x46341d(0x283),{'enumerable':!0x0});class _0x2ed6bd extends _0x2d83c1{constructor(_0x1663f1,_0x177c8e={}){const _0x512e19=_0x46341d;super(_0x1663f1),this[_0x3fd49c]=_0x177c8e[_0x512e19(0x2a4)]===void 0x0?null:_0x177c8e['error'],this[_0x34730c]=_0x177c8e['message']===void 0x0?'':_0x177c8e['message'];}get['error'](){return this[_0x3fd49c];}get[_0x46341d(0x1fe)](){return this[_0x34730c];}}Object[_0x46341d(0x2a3)](_0x2ed6bd[_0x46341d(0x34b)],_0x46341d(0x2a4),{'enumerable':!0x0}),Object[_0x46341d(0x2a3)](_0x2ed6bd[_0x46341d(0x34b)],_0x46341d(0x1fe),{'enumerable':!0x0});class _0x441754 extends _0x2d83c1{constructor(_0x2e3e94,_0x3a1884={}){const _0x4d8148=_0x46341d;super(_0x2e3e94),this[_0x3d67eb]=_0x3a1884[_0x4d8148(0x1ec)]===void 0x0?null:_0x3a1884[_0x4d8148(0x1ec)];}get[_0x46341d(0x1ec)](){return this[_0x3d67eb];}}Object['defineProperty'](_0x441754[_0x46341d(0x34b)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x17efea,'ErrorEvent':_0x2ed6bd,'Event':_0x2d83c1,'EventTarget':{'addEventListener'(_0x3e26df,_0x23dd58,_0x3f14d3={}){const _0x3a06e4=_0x46341d;for(const _0x4450ff of this['listeners'](_0x3e26df))if(!_0x3f14d3[_0x45f292]&&_0x4450ff[_0x3bf7c9]===_0x23dd58&&!_0x4450ff[_0x45f292])return;let _0x3f920f;if(_0x3e26df==='message')_0x3f920f=function(_0x1036a1,_0x332a6e){const _0x3f2f8f=_0x49e0,_0x860370=new _0x441754(_0x3f2f8f(0x1fe),{'data':_0x332a6e?_0x1036a1:_0x1036a1['toString']()});_0x860370[_0x55d15d]=this,_0x103f13(_0x23dd58,this,_0x860370);};else{if(_0x3e26df===_0x3a06e4(0x327))_0x3f920f=function(_0x3b5667,_0x511848){const _0x487351=_0x3a06e4,_0x1f1fa9=new _0x17efea('close',{'code':_0x3b5667,'reason':_0x511848['toString'](),'wasClean':this[_0x487351(0x2ea)]&&this[_0x487351(0x3af)]});_0x1f1fa9[_0x55d15d]=this,_0x103f13(_0x23dd58,this,_0x1f1fa9);};else{if(_0x3e26df===_0x3a06e4(0x2a4))_0x3f920f=function(_0x99e04e){const _0x48e8d5=_0x3a06e4,_0x5334c6=new _0x2ed6bd(_0x48e8d5(0x2a4),{'error':_0x99e04e,'message':_0x99e04e[_0x48e8d5(0x1fe)]});_0x5334c6[_0x55d15d]=this,_0x103f13(_0x23dd58,this,_0x5334c6);};else{if(_0x3e26df===_0x3a06e4(0x212))_0x3f920f=function(){const _0x597660=_0x3a06e4,_0x3ea23d=new _0x2d83c1(_0x597660(0x212));_0x3ea23d[_0x55d15d]=this,_0x103f13(_0x23dd58,this,_0x3ea23d);};else return;}}}_0x3f920f[_0x45f292]=!!_0x3f14d3[_0x45f292],_0x3f920f[_0x3bf7c9]=_0x23dd58,_0x3f14d3['once']?this[_0x3a06e4(0x2dc)](_0x3e26df,_0x3f920f):this['on'](_0x3e26df,_0x3f920f);},'removeEventListener'(_0x31077f,_0x1ce40d){const _0x14320f=_0x46341d;for(const _0x19b3ee of this[_0x14320f(0x37b)](_0x31077f))if(_0x19b3ee[_0x3bf7c9]===_0x1ce40d&&!_0x19b3ee[_0x45f292]){this[_0x14320f(0x321)](_0x31077f,_0x19b3ee);break;}}},'MessageEvent':_0x441754};function _0x103f13(_0xb9210a,_0x378562,_0x34bc85){const _0x76c5d9=_0x46341d;typeof _0xb9210a=='object'&&_0xb9210a['handleEvent']?_0xb9210a[_0x76c5d9(0x20c)][_0x76c5d9(0x2a6)](_0xb9210a,_0x34bc85):_0xb9210a[_0x76c5d9(0x2a6)](_0x378562,_0x34bc85);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x36df35}=ae();function _0xa05f67(_0x14e20f,_0x5c5137,_0x2e984a){_0x14e20f[_0x5c5137]===void 0x0?_0x14e20f[_0x5c5137]=[_0x2e984a]:_0x14e20f[_0x5c5137]['push'](_0x2e984a);}function _0x182774(_0x11e25e){const _0x1fe640=_0x49e0,_0x5c1205=Object[_0x1fe640(0x1e9)](null);let _0x2062ed=Object[_0x1fe640(0x1e9)](null),_0x5ca9ed=!0x1,_0x5a62a1=!0x1,_0x192a3e=!0x1,_0x5359e4,_0x492622,_0x21ea69=-0x1,_0x293e4f=-0x1,_0xde720c=-0x1,_0x55cb6e=0x0;for(;_0x55cb6e<_0x11e25e[_0x1fe640(0x326)];_0x55cb6e++)if(_0x293e4f=_0x11e25e['charCodeAt'](_0x55cb6e),_0x5359e4===void 0x0){if(_0xde720c===-0x1&&_0x36df35[_0x293e4f]===0x1)_0x21ea69===-0x1&&(_0x21ea69=_0x55cb6e);else{if(_0x55cb6e!==0x0&&(_0x293e4f===0x20||_0x293e4f===0x9))_0xde720c===-0x1&&_0x21ea69!==-0x1&&(_0xde720c=_0x55cb6e);else{if(_0x293e4f===0x3b||_0x293e4f===0x2c){if(_0x21ea69===-0x1)throw new SyntaxError(_0x1fe640(0x218)+_0x55cb6e);_0xde720c===-0x1&&(_0xde720c=_0x55cb6e);const _0x14e647=_0x11e25e[_0x1fe640(0x1f5)](_0x21ea69,_0xde720c);_0x293e4f===0x2c?(_0xa05f67(_0x5c1205,_0x14e647,_0x2062ed),_0x2062ed=Object[_0x1fe640(0x1e9)](null)):_0x5359e4=_0x14e647,_0x21ea69=_0xde720c=-0x1;}else throw new SyntaxError(_0x1fe640(0x218)+_0x55cb6e);}}}else{if(_0x492622===void 0x0){if(_0xde720c===-0x1&&_0x36df35[_0x293e4f]===0x1)_0x21ea69===-0x1&&(_0x21ea69=_0x55cb6e);else{if(_0x293e4f===0x20||_0x293e4f===0x9)_0xde720c===-0x1&&_0x21ea69!==-0x1&&(_0xde720c=_0x55cb6e);else{if(_0x293e4f===0x3b||_0x293e4f===0x2c){if(_0x21ea69===-0x1)throw new SyntaxError(_0x1fe640(0x218)+_0x55cb6e);_0xde720c===-0x1&&(_0xde720c=_0x55cb6e),_0xa05f67(_0x2062ed,_0x11e25e['slice'](_0x21ea69,_0xde720c),!0x0),_0x293e4f===0x2c&&(_0xa05f67(_0x5c1205,_0x5359e4,_0x2062ed),_0x2062ed=Object['create'](null),_0x5359e4=void 0x0),_0x21ea69=_0xde720c=-0x1;}else{if(_0x293e4f===0x3d&&_0x21ea69!==-0x1&&_0xde720c===-0x1)_0x492622=_0x11e25e['slice'](_0x21ea69,_0x55cb6e),_0x21ea69=_0xde720c=-0x1;else throw new SyntaxError(_0x1fe640(0x218)+_0x55cb6e);}}}}else{if(_0x5a62a1){if(_0x36df35[_0x293e4f]!==0x1)throw new SyntaxError(_0x1fe640(0x218)+_0x55cb6e);_0x21ea69===-0x1?_0x21ea69=_0x55cb6e:_0x5ca9ed||(_0x5ca9ed=!0x0),_0x5a62a1=!0x1;}else{if(_0x192a3e){if(_0x36df35[_0x293e4f]===0x1)_0x21ea69===-0x1&&(_0x21ea69=_0x55cb6e);else{if(_0x293e4f===0x22&&_0x21ea69!==-0x1)_0x192a3e=!0x1,_0xde720c=_0x55cb6e;else{if(_0x293e4f===0x5c)_0x5a62a1=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x55cb6e);}}}else{if(_0x293e4f===0x22&&_0x11e25e[_0x1fe640(0x254)](_0x55cb6e-0x1)===0x3d)_0x192a3e=!0x0;else{if(_0xde720c===-0x1&&_0x36df35[_0x293e4f]===0x1)_0x21ea69===-0x1&&(_0x21ea69=_0x55cb6e);else{if(_0x21ea69!==-0x1&&(_0x293e4f===0x20||_0x293e4f===0x9))_0xde720c===-0x1&&(_0xde720c=_0x55cb6e);else{if(_0x293e4f===0x3b||_0x293e4f===0x2c){if(_0x21ea69===-0x1)throw new SyntaxError(_0x1fe640(0x218)+_0x55cb6e);_0xde720c===-0x1&&(_0xde720c=_0x55cb6e);let _0x36c18b=_0x11e25e[_0x1fe640(0x1f5)](_0x21ea69,_0xde720c);_0x5ca9ed&&(_0x36c18b=_0x36c18b[_0x1fe640(0x252)](/\\/g,''),_0x5ca9ed=!0x1),_0xa05f67(_0x2062ed,_0x492622,_0x36c18b),_0x293e4f===0x2c&&(_0xa05f67(_0x5c1205,_0x5359e4,_0x2062ed),_0x2062ed=Object[_0x1fe640(0x1e9)](null),_0x5359e4=void 0x0),_0x492622=void 0x0,_0x21ea69=_0xde720c=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x55cb6e);}}}}}}}if(_0x21ea69===-0x1||_0x192a3e||_0x293e4f===0x20||_0x293e4f===0x9)throw new SyntaxError(_0x1fe640(0x2ba));_0xde720c===-0x1&&(_0xde720c=_0x55cb6e);const _0x46bfb4=_0x11e25e[_0x1fe640(0x1f5)](_0x21ea69,_0xde720c);return _0x5359e4===void 0x0?_0xa05f67(_0x5c1205,_0x46bfb4,_0x2062ed):(_0x492622===void 0x0?_0xa05f67(_0x2062ed,_0x46bfb4,!0x0):_0x5ca9ed?_0xa05f67(_0x2062ed,_0x492622,_0x46bfb4[_0x1fe640(0x252)](/\\/g,'')):_0xa05f67(_0x2062ed,_0x492622,_0x46bfb4),_0xa05f67(_0x5c1205,_0x5359e4,_0x2062ed)),_0x5c1205;}function _0x5259ef(_0x573353){const _0x2803f1=_0x49e0;return Object['keys'](_0x573353)[_0x2803f1(0x1fc)](_0xa376b2=>{const _0x45a1d4=_0x2803f1;let _0x2dd545=_0x573353[_0xa376b2];return Array[_0x45a1d4(0x383)](_0x2dd545)||(_0x2dd545=[_0x2dd545]),_0x2dd545[_0x45a1d4(0x1fc)](_0x2e4a77=>[_0xa376b2][_0x45a1d4(0x302)](Object['keys'](_0x2e4a77)[_0x45a1d4(0x1fc)](_0x360a28=>{const _0x4002a4=_0x45a1d4;let _0x2f19f0=_0x2e4a77[_0x360a28];return Array[_0x4002a4(0x383)](_0x2f19f0)||(_0x2f19f0=[_0x2f19f0]),_0x2f19f0[_0x4002a4(0x1fc)](_0x26fef5=>_0x26fef5===!0x0?_0x360a28:_0x360a28+'='+_0x26fef5)[_0x4002a4(0x28d)](';\x20');}))[_0x45a1d4(0x28d)](';\x20'))[_0x45a1d4(0x28d)](',\x20');})['join'](',\x20');}return be={'format':_0x5259ef,'parse':_0x182774},be;}var we,Je;function Pe(){const _0x26b0a6=_0x519561;if(Je)return we;Je=0x1;const _0xaeb8ad=nt,_0xa6f7c2=vt,_0x1cbd6a=ot,_0xc54418=St,_0x2afc87=Et,{randomBytes:_0x1267b6,createHash:_0x4311a2}=Le,{Duplex:_0x5b2219,Readable:_0x2e03d6}=oe,{URL:_0xbeb4e5}=xt,_0x201e33=he(),_0x38e0be=lt(),_0x33aa21=ft(),{isBlob:_0x49dfd1}=ae(),{BINARY_TYPES:_0x35b211,EMPTY_BUFFER:_0x667a1d,GUID:_0x5206b3,kForOnEventAttribute:_0x512121,kListener:_0x175eda,kStatusCode:_0x57ed03,kWebSocket:_0x1dd5a0,NOOP:_0x563769}=H(),{EventTarget:{addEventListener:_0x4e67ee,removeEventListener:_0x5f3737}}=It(),{format:_0x5780b8,parse:_0x269685}=ct(),{toBuffer:_0x5e5c1a}=ce(),_0x3eaa49=0x1e*0x3e8,_0x12230b=Symbol('kAborted'),_0x3b3053=[0x8,0xd],_0x9bb6ec=[_0x26b0a6(0x2dd),'OPEN',_0x26b0a6(0x3a3),_0x26b0a6(0x1f4)],_0x462502=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x1f3a4d extends _0xaeb8ad{constructor(_0x2b8971,_0x51915f,_0x1eeb53){const _0x3f796d=_0x26b0a6;super(),this[_0x3f796d(0x213)]=_0x35b211[0x0],this['_closeCode']=0x3ee,this[_0x3f796d(0x2ea)]=!0x1,this['_closeFrameSent']=!0x1,this[_0x3f796d(0x26f)]=_0x667a1d,this[_0x3f796d(0x36f)]=null,this[_0x3f796d(0x1f2)]=!0x1,this[_0x3f796d(0x315)]={},this[_0x3f796d(0x2fb)]=!0x1,this[_0x3f796d(0x281)]='',this[_0x3f796d(0x22f)]=_0x1f3a4d[_0x3f796d(0x2dd)],this[_0x3f796d(0x2f5)]=null,this[_0x3f796d(0x300)]=null,this[_0x3f796d(0x21c)]=null,_0x2b8971!==null?(this['_bufferedAmount']=0x0,this['_isServer']=!0x1,this[_0x3f796d(0x294)]=0x0,_0x51915f===void 0x0?_0x51915f=[]:Array[_0x3f796d(0x383)](_0x51915f)||(typeof _0x51915f==_0x3f796d(0x2c5)&&_0x51915f!==null?(_0x1eeb53=_0x51915f,_0x51915f=[]):_0x51915f=[_0x51915f]),_0x35b5d2(this,_0x2b8971,_0x51915f,_0x1eeb53)):(this[_0x3f796d(0x205)]=_0x1eeb53[_0x3f796d(0x282)],this[_0x3f796d(0x37f)]=!0x0);}get[_0x26b0a6(0x288)](){return this['_binaryType'];}set[_0x26b0a6(0x288)](_0x16475a){const _0x1526a5=_0x26b0a6;_0x35b211[_0x1526a5(0x2f3)](_0x16475a)&&(this['_binaryType']=_0x16475a,this[_0x1526a5(0x2f5)]&&(this[_0x1526a5(0x2f5)][_0x1526a5(0x213)]=_0x16475a));}get[_0x26b0a6(0x2e9)](){const _0x751345=_0x26b0a6;return this['_socket']?this[_0x751345(0x21c)][_0x751345(0x2a2)][_0x751345(0x326)]+this[_0x751345(0x300)][_0x751345(0x273)]:this[_0x751345(0x279)];}get[_0x26b0a6(0x21b)](){const _0x425325=_0x26b0a6;return Object['keys'](this[_0x425325(0x315)])[_0x425325(0x28d)]();}get[_0x26b0a6(0x278)](){const _0x3c9534=_0x26b0a6;return this[_0x3c9534(0x2fb)];}get[_0x26b0a6(0x251)](){return null;}get[_0x26b0a6(0x2b0)](){return null;}get[_0x26b0a6(0x1f8)](){return null;}get['onmessage'](){return null;}get[_0x26b0a6(0x27d)](){const _0x2a5ce0=_0x26b0a6;return this[_0x2a5ce0(0x281)];}get[_0x26b0a6(0x2c9)](){const _0x10c5ef=_0x26b0a6;return this[_0x10c5ef(0x22f)];}get[_0x26b0a6(0x216)](){const _0x5a2039=_0x26b0a6;return this[_0x5a2039(0x3b1)];}[_0x26b0a6(0x370)](_0x2def65,_0x8c3cca,_0xfe312){const _0x3ae2c4=_0x26b0a6,_0xd6b164=new _0x38e0be({'allowSynchronousEvents':_0xfe312[_0x3ae2c4(0x32f)],'binaryType':this[_0x3ae2c4(0x288)],'extensions':this[_0x3ae2c4(0x315)],'isServer':this[_0x3ae2c4(0x37f)],'maxPayload':_0xfe312[_0x3ae2c4(0x3ac)],'skipUTF8Validation':_0xfe312[_0x3ae2c4(0x1ed)]}),_0x1314c8=new _0x33aa21(_0x2def65,this[_0x3ae2c4(0x315)],_0xfe312[_0x3ae2c4(0x2d3)]);this['_receiver']=_0xd6b164,this['_sender']=_0x1314c8,this[_0x3ae2c4(0x21c)]=_0x2def65,_0xd6b164[_0x1dd5a0]=this,_0x1314c8[_0x1dd5a0]=this,_0x2def65[_0x1dd5a0]=this,_0xd6b164['on'](_0x3ae2c4(0x27c),_0x2f14c1),_0xd6b164['on'](_0x3ae2c4(0x345),_0x5779da),_0xd6b164['on']('error',_0x2b1ade),_0xd6b164['on'](_0x3ae2c4(0x1fe),_0x4375d2),_0xd6b164['on'](_0x3ae2c4(0x25f),_0x323f82),_0xd6b164['on'](_0x3ae2c4(0x291),_0x4e0c63),_0x1314c8[_0x3ae2c4(0x2b0)]=_0x384601,_0x2def65[_0x3ae2c4(0x219)]&&_0x2def65[_0x3ae2c4(0x219)](0x0),_0x2def65[_0x3ae2c4(0x207)]&&_0x2def65[_0x3ae2c4(0x207)](),_0x8c3cca[_0x3ae2c4(0x326)]>0x0&&_0x2def65[_0x3ae2c4(0x2c8)](_0x8c3cca),_0x2def65['on'](_0x3ae2c4(0x327),_0x2b788e),_0x2def65['on'](_0x3ae2c4(0x1ec),_0xea0ad),_0x2def65['on'](_0x3ae2c4(0x31b),_0x1247b6),_0x2def65['on'](_0x3ae2c4(0x2a4),_0x380f4f),this['_readyState']=_0x1f3a4d[_0x3ae2c4(0x262)],this[_0x3ae2c4(0x1ef)](_0x3ae2c4(0x212));}[_0x26b0a6(0x2e6)](){const _0x5660b2=_0x26b0a6;if(!this[_0x5660b2(0x21c)]){this[_0x5660b2(0x22f)]=_0x1f3a4d['CLOSED'],this[_0x5660b2(0x1ef)]('close',this[_0x5660b2(0x20e)],this[_0x5660b2(0x26f)]);return;}this['_extensions'][_0x201e33[_0x5660b2(0x35e)]]&&this[_0x5660b2(0x315)][_0x201e33[_0x5660b2(0x35e)]][_0x5660b2(0x296)](),this[_0x5660b2(0x2f5)]['removeAllListeners'](),this['_readyState']=_0x1f3a4d['CLOSED'],this[_0x5660b2(0x1ef)](_0x5660b2(0x327),this[_0x5660b2(0x20e)],this[_0x5660b2(0x26f)]);}[_0x26b0a6(0x327)](_0x20c74b,_0x216a84){const _0x4c3acc=_0x26b0a6;if(this['readyState']!==_0x1f3a4d[_0x4c3acc(0x1f4)]){if(this[_0x4c3acc(0x2c9)]===_0x1f3a4d[_0x4c3acc(0x2dd)]){_0x404b88(this,this[_0x4c3acc(0x379)],_0x4c3acc(0x26a));return;}if(this[_0x4c3acc(0x2c9)]===_0x1f3a4d[_0x4c3acc(0x3a3)]){this[_0x4c3acc(0x3af)]&&(this['_closeFrameReceived']||this[_0x4c3acc(0x2f5)][_0x4c3acc(0x2a2)]['errorEmitted'])&&this[_0x4c3acc(0x21c)][_0x4c3acc(0x31b)]();return;}this[_0x4c3acc(0x22f)]=_0x1f3a4d['CLOSING'],this[_0x4c3acc(0x300)]['close'](_0x20c74b,_0x216a84,!this[_0x4c3acc(0x37f)],_0x34120b=>{const _0x49478f=_0x4c3acc;_0x34120b||(this[_0x49478f(0x3af)]=!0x0,(this['_closeFrameReceived']||this[_0x49478f(0x2f5)][_0x49478f(0x2a2)][_0x49478f(0x228)])&&this[_0x49478f(0x21c)][_0x49478f(0x31b)]());}),_0x40b79f(this);}}[_0x26b0a6(0x2cd)](){const _0x4fa318=_0x26b0a6;this['readyState']===_0x1f3a4d['CONNECTING']||this['readyState']===_0x1f3a4d[_0x4fa318(0x1f4)]||(this[_0x4fa318(0x2fb)]=!0x0,this[_0x4fa318(0x21c)][_0x4fa318(0x2cd)]());}[_0x26b0a6(0x25f)](_0x22a555,_0x23fe3d,_0x59a866){const _0x2c94e6=_0x26b0a6;if(this[_0x2c94e6(0x2c9)]===_0x1f3a4d['CONNECTING'])throw new Error(_0x2c94e6(0x2cf));if(typeof _0x22a555==_0x2c94e6(0x236)?(_0x59a866=_0x22a555,_0x22a555=_0x23fe3d=void 0x0):typeof _0x23fe3d==_0x2c94e6(0x236)&&(_0x59a866=_0x23fe3d,_0x23fe3d=void 0x0),typeof _0x22a555==_0x2c94e6(0x2d9)&&(_0x22a555=_0x22a555[_0x2c94e6(0x275)]()),this[_0x2c94e6(0x2c9)]!==_0x1f3a4d['OPEN']){_0x4ab052(this,_0x22a555,_0x59a866);return;}_0x23fe3d===void 0x0&&(_0x23fe3d=!this[_0x2c94e6(0x37f)]),this['_sender']['ping'](_0x22a555||_0x667a1d,_0x23fe3d,_0x59a866);}[_0x26b0a6(0x291)](_0x4c7c4c,_0x11a7c1,_0x3b4782){const _0x54e82a=_0x26b0a6;if(this[_0x54e82a(0x2c9)]===_0x1f3a4d[_0x54e82a(0x2dd)])throw new Error(_0x54e82a(0x2cf));if(typeof _0x4c7c4c==_0x54e82a(0x236)?(_0x3b4782=_0x4c7c4c,_0x4c7c4c=_0x11a7c1=void 0x0):typeof _0x11a7c1==_0x54e82a(0x236)&&(_0x3b4782=_0x11a7c1,_0x11a7c1=void 0x0),typeof _0x4c7c4c=='number'&&(_0x4c7c4c=_0x4c7c4c[_0x54e82a(0x275)]()),this[_0x54e82a(0x2c9)]!==_0x1f3a4d[_0x54e82a(0x262)]){_0x4ab052(this,_0x4c7c4c,_0x3b4782);return;}_0x11a7c1===void 0x0&&(_0x11a7c1=!this['_isServer']),this[_0x54e82a(0x300)][_0x54e82a(0x291)](_0x4c7c4c||_0x667a1d,_0x11a7c1,_0x3b4782);}[_0x26b0a6(0x2fe)](){const _0x14cfe9=_0x26b0a6;this[_0x14cfe9(0x2c9)]===_0x1f3a4d[_0x14cfe9(0x2dd)]||this['readyState']===_0x1f3a4d[_0x14cfe9(0x1f4)]||(this['_paused']=!0x1,this[_0x14cfe9(0x2f5)][_0x14cfe9(0x2a2)][_0x14cfe9(0x272)]||this['_socket'][_0x14cfe9(0x2fe)]());}[_0x26b0a6(0x309)](_0x18a630,_0x35c4e8,_0x177391){const _0x4db7b1=_0x26b0a6;if(this['readyState']===_0x1f3a4d[_0x4db7b1(0x2dd)])throw new Error(_0x4db7b1(0x2cf));if(typeof _0x35c4e8==_0x4db7b1(0x236)&&(_0x177391=_0x35c4e8,_0x35c4e8={}),typeof _0x18a630==_0x4db7b1(0x2d9)&&(_0x18a630=_0x18a630['toString']()),this[_0x4db7b1(0x2c9)]!==_0x1f3a4d[_0x4db7b1(0x262)]){_0x4ab052(this,_0x18a630,_0x177391);return;}const _0x5dcd1c={'binary':typeof _0x18a630!='string','mask':!this[_0x4db7b1(0x37f)],'compress':!0x0,'fin':!0x0,..._0x35c4e8};this['_extensions'][_0x201e33['extensionName']]||(_0x5dcd1c[_0x4db7b1(0x322)]=!0x1),this['_sender'][_0x4db7b1(0x309)](_0x18a630||_0x667a1d,_0x5dcd1c,_0x177391);}[_0x26b0a6(0x313)](){const _0x1a08af=_0x26b0a6;if(this[_0x1a08af(0x2c9)]!==_0x1f3a4d[_0x1a08af(0x1f4)]){if(this['readyState']===_0x1f3a4d['CONNECTING']){_0x404b88(this,this[_0x1a08af(0x379)],_0x1a08af(0x26a));return;}this[_0x1a08af(0x21c)]&&(this[_0x1a08af(0x22f)]=_0x1f3a4d[_0x1a08af(0x3a3)],this['_socket'][_0x1a08af(0x2f8)]());}}}Object[_0x26b0a6(0x2a3)](_0x1f3a4d,_0x26b0a6(0x2dd),{'enumerable':!0x0,'value':_0x9bb6ec[_0x26b0a6(0x303)](_0x26b0a6(0x2dd))}),Object[_0x26b0a6(0x2a3)](_0x1f3a4d[_0x26b0a6(0x34b)],_0x26b0a6(0x2dd),{'enumerable':!0x0,'value':_0x9bb6ec['indexOf']('CONNECTING')}),Object[_0x26b0a6(0x2a3)](_0x1f3a4d,_0x26b0a6(0x262),{'enumerable':!0x0,'value':_0x9bb6ec['indexOf'](_0x26b0a6(0x262))}),Object[_0x26b0a6(0x2a3)](_0x1f3a4d[_0x26b0a6(0x34b)],_0x26b0a6(0x262),{'enumerable':!0x0,'value':_0x9bb6ec['indexOf'](_0x26b0a6(0x262))}),Object['defineProperty'](_0x1f3a4d,_0x26b0a6(0x3a3),{'enumerable':!0x0,'value':_0x9bb6ec['indexOf']('CLOSING')}),Object[_0x26b0a6(0x2a3)](_0x1f3a4d[_0x26b0a6(0x34b)],_0x26b0a6(0x3a3),{'enumerable':!0x0,'value':_0x9bb6ec[_0x26b0a6(0x303)](_0x26b0a6(0x3a3))}),Object[_0x26b0a6(0x2a3)](_0x1f3a4d,'CLOSED',{'enumerable':!0x0,'value':_0x9bb6ec[_0x26b0a6(0x303)](_0x26b0a6(0x1f4))}),Object[_0x26b0a6(0x2a3)](_0x1f3a4d[_0x26b0a6(0x34b)],_0x26b0a6(0x1f4),{'enumerable':!0x0,'value':_0x9bb6ec['indexOf'](_0x26b0a6(0x1f4))}),[_0x26b0a6(0x288),_0x26b0a6(0x2e9),_0x26b0a6(0x21b),_0x26b0a6(0x278),_0x26b0a6(0x27d),_0x26b0a6(0x2c9),_0x26b0a6(0x216)][_0x26b0a6(0x2e0)](_0x435335=>{const _0x12736c=_0x26b0a6;Object['defineProperty'](_0x1f3a4d[_0x12736c(0x34b)],_0x435335,{'enumerable':!0x0});}),[_0x26b0a6(0x212),_0x26b0a6(0x2a4),_0x26b0a6(0x327),'message']['forEach'](_0x2b8040=>{const _0x24e2ff=_0x26b0a6;Object[_0x24e2ff(0x2a3)](_0x1f3a4d['prototype'],'on'+_0x2b8040,{'enumerable':!0x0,'get'(){const _0x4daa39=_0x24e2ff;for(const _0x4f8880 of this[_0x4daa39(0x37b)](_0x2b8040))if(_0x4f8880[_0x512121])return _0x4f8880[_0x175eda];return null;},'set'(_0xe2a572){const _0x26d6d9=_0x24e2ff;for(const _0x54585a of this[_0x26d6d9(0x37b)](_0x2b8040))if(_0x54585a[_0x512121]){this[_0x26d6d9(0x321)](_0x2b8040,_0x54585a);break;}typeof _0xe2a572==_0x26d6d9(0x236)&&this['addEventListener'](_0x2b8040,_0xe2a572,{[_0x512121]:!0x0});}});}),_0x1f3a4d[_0x26b0a6(0x34b)][_0x26b0a6(0x382)]=_0x4e67ee,_0x1f3a4d[_0x26b0a6(0x34b)][_0x26b0a6(0x204)]=_0x5f3737,we=_0x1f3a4d;function _0x35b5d2(_0xabaf5,_0x35e5b3,_0x193614,_0x56d590){const _0x21a812=_0x26b0a6,_0x50453d={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x3b3053[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x56d590,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x21a812(0x23e),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0xabaf5[_0x21a812(0x205)]=_0x50453d['autoPong'],!_0x3b3053[_0x21a812(0x2f3)](_0x50453d[_0x21a812(0x398)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x50453d[_0x21a812(0x398)]+'\x20(supported\x20versions:\x20'+_0x3b3053[_0x21a812(0x28d)](',\x20')+')');let _0x515436;if(_0x35e5b3 instanceof _0xbeb4e5)_0x515436=_0x35e5b3;else try{_0x515436=new _0xbeb4e5(_0x35e5b3);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x35e5b3);}_0x515436['protocol']===_0x21a812(0x2bb)?_0x515436[_0x21a812(0x27d)]='ws:':_0x515436[_0x21a812(0x27d)]==='https:'&&(_0x515436['protocol']=_0x21a812(0x28f)),_0xabaf5['_url']=_0x515436[_0x21a812(0x358)];const _0x5d5367=_0x515436['protocol']===_0x21a812(0x28f),_0x39212d=_0x515436[_0x21a812(0x27d)]==='ws+unix:';let _0x47c941;if(_0x515436[_0x21a812(0x27d)]!==_0x21a812(0x343)&&!_0x5d5367&&!_0x39212d?_0x47c941=_0x21a812(0x2f6):_0x39212d&&!_0x515436[_0x21a812(0x3ab)]?_0x47c941='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x515436[_0x21a812(0x2f0)]&&(_0x47c941=_0x21a812(0x1f9)),_0x47c941){const _0x44074c=new SyntaxError(_0x47c941);if(_0xabaf5[_0x21a812(0x294)]===0x0)throw _0x44074c;_0x3e7d0b(_0xabaf5,_0x44074c);return;}const _0x5eaadf=_0x5d5367?0x1bb:0x50,_0x41f3e9=_0x1267b6(0x10)[_0x21a812(0x275)](_0x21a812(0x1f7)),_0xab8c07=_0x5d5367?_0xa6f7c2['request']:_0x1cbd6a[_0x21a812(0x293)],_0x2764fc=new Set();let _0xbb281;if(_0x50453d[_0x21a812(0x387)]=_0x50453d[_0x21a812(0x387)]||(_0x5d5367?_0x3719e7:_0x4ad808),_0x50453d[_0x21a812(0x20a)]=_0x50453d[_0x21a812(0x20a)]||_0x5eaadf,_0x50453d['port']=_0x515436[_0x21a812(0x397)]||_0x5eaadf,_0x50453d[_0x21a812(0x3a1)]=_0x515436[_0x21a812(0x1fb)][_0x21a812(0x31d)]('[')?_0x515436['hostname'][_0x21a812(0x1f5)](0x1,-0x1):_0x515436[_0x21a812(0x1fb)],_0x50453d[_0x21a812(0x348)]={..._0x50453d[_0x21a812(0x348)],'Sec-WebSocket-Version':_0x50453d['protocolVersion'],'Sec-WebSocket-Key':_0x41f3e9,'Connection':'Upgrade','Upgrade':_0x21a812(0x217)},_0x50453d['path']=_0x515436['pathname']+_0x515436['search'],_0x50453d[_0x21a812(0x3a5)]=_0x50453d[_0x21a812(0x2c4)],_0x50453d[_0x21a812(0x2a7)]&&(_0xbb281=new _0x201e33(_0x50453d[_0x21a812(0x2a7)]!==!0x0?_0x50453d[_0x21a812(0x2a7)]:{},!0x1,_0x50453d[_0x21a812(0x3ac)]),_0x50453d['headers'][_0x21a812(0x33b)]=_0x5780b8({[_0x201e33['extensionName']]:_0xbb281['offer']()})),_0x193614[_0x21a812(0x326)]){for(const _0x1e2259 of _0x193614){if(typeof _0x1e2259!=_0x21a812(0x39f)||!_0x462502[_0x21a812(0x371)](_0x1e2259)||_0x2764fc[_0x21a812(0x36e)](_0x1e2259))throw new SyntaxError(_0x21a812(0x297));_0x2764fc[_0x21a812(0x363)](_0x1e2259);}_0x50453d[_0x21a812(0x348)][_0x21a812(0x36b)]=_0x193614[_0x21a812(0x28d)](',');}if(_0x50453d[_0x21a812(0x354)]&&(_0x50453d[_0x21a812(0x398)]<0xd?_0x50453d[_0x21a812(0x348)][_0x21a812(0x392)]=_0x50453d[_0x21a812(0x354)]:_0x50453d[_0x21a812(0x348)][_0x21a812(0x257)]=_0x50453d[_0x21a812(0x354)]),(_0x515436[_0x21a812(0x2bf)]||_0x515436['password'])&&(_0x50453d[_0x21a812(0x380)]=_0x515436[_0x21a812(0x2bf)]+':'+_0x515436[_0x21a812(0x2ad)]),_0x39212d){const _0x1880cf=_0x50453d[_0x21a812(0x324)]['split'](':');_0x50453d[_0x21a812(0x1fa)]=_0x1880cf[0x0],_0x50453d[_0x21a812(0x324)]=_0x1880cf[0x1];}let _0x4481f9;if(_0x50453d[_0x21a812(0x32e)]){if(_0xabaf5[_0x21a812(0x294)]===0x0){_0xabaf5[_0x21a812(0x342)]=_0x39212d,_0xabaf5[_0x21a812(0x30b)]=_0x5d5367,_0xabaf5[_0x21a812(0x211)]=_0x39212d?_0x50453d[_0x21a812(0x1fa)]:_0x515436[_0x21a812(0x3a1)];const _0xf6c2eb=_0x56d590&&_0x56d590[_0x21a812(0x348)];if(_0x56d590={..._0x56d590,'headers':{}},_0xf6c2eb){for(const [_0x32287c,_0x53b34b]of Object[_0x21a812(0x347)](_0xf6c2eb))_0x56d590[_0x21a812(0x348)][_0x32287c[_0x21a812(0x307)]()]=_0x53b34b;}}else{if(_0xabaf5[_0x21a812(0x334)]('redirect')===0x0){const _0x36f069=_0x39212d?_0xabaf5[_0x21a812(0x342)]?_0x50453d[_0x21a812(0x1fa)]===_0xabaf5['_originalHostOrSocketPath']:!0x1:_0xabaf5['_originalIpc']?!0x1:_0x515436['host']===_0xabaf5[_0x21a812(0x211)];(!_0x36f069||_0xabaf5[_0x21a812(0x30b)]&&!_0x5d5367)&&(delete _0x50453d[_0x21a812(0x348)][_0x21a812(0x37d)],delete _0x50453d['headers'][_0x21a812(0x225)],_0x36f069||delete _0x50453d['headers'][_0x21a812(0x3a1)],_0x50453d[_0x21a812(0x380)]=void 0x0);}}_0x50453d[_0x21a812(0x380)]&&!_0x56d590['headers']['authorization']&&(_0x56d590[_0x21a812(0x348)][_0x21a812(0x37d)]=_0x21a812(0x268)+Buffer['from'](_0x50453d[_0x21a812(0x380)])[_0x21a812(0x275)](_0x21a812(0x1f7))),_0x4481f9=_0xabaf5[_0x21a812(0x379)]=_0xab8c07(_0x50453d),_0xabaf5[_0x21a812(0x294)]&&_0xabaf5[_0x21a812(0x1ef)](_0x21a812(0x356),_0xabaf5['url'],_0x4481f9);}else _0x4481f9=_0xabaf5[_0x21a812(0x379)]=_0xab8c07(_0x50453d);_0x50453d['timeout']&&_0x4481f9['on'](_0x21a812(0x3a5),()=>{_0x404b88(_0xabaf5,_0x4481f9,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x4481f9['on'](_0x21a812(0x2a4),_0x432c6d=>{_0x4481f9===null||_0x4481f9[_0x12230b]||(_0x4481f9=_0xabaf5['_req']=null,_0x3e7d0b(_0xabaf5,_0x432c6d));}),_0x4481f9['on']('response',_0x161c86=>{const _0x7be0a5=_0x21a812,_0x23c260=_0x161c86[_0x7be0a5(0x348)][_0x7be0a5(0x2c2)],_0x664682=_0x161c86[_0x7be0a5(0x23b)];if(_0x23c260&&_0x50453d['followRedirects']&&_0x664682>=0x12c&&_0x664682<0x190){if(++_0xabaf5['_redirects']>_0x50453d['maxRedirects']){_0x404b88(_0xabaf5,_0x4481f9,_0x7be0a5(0x280));return;}_0x4481f9[_0x7be0a5(0x38e)]();let _0x4b7257;try{_0x4b7257=new _0xbeb4e5(_0x23c260,_0x35e5b3);}catch{const _0xc3d963=new SyntaxError('Invalid\x20URL:\x20'+_0x23c260);_0x3e7d0b(_0xabaf5,_0xc3d963);return;}_0x35b5d2(_0xabaf5,_0x4b7257,_0x193614,_0x56d590);}else _0xabaf5[_0x7be0a5(0x1ef)](_0x7be0a5(0x243),_0x4481f9,_0x161c86)||_0x404b88(_0xabaf5,_0x4481f9,'Unexpected\x20server\x20response:\x20'+_0x161c86['statusCode']);}),_0x4481f9['on'](_0x21a812(0x26c),(_0x309495,_0x173e8a,_0x1f6f89)=>{const _0x505c5d=_0x21a812;if(_0xabaf5[_0x505c5d(0x1ef)]('upgrade',_0x309495),_0xabaf5[_0x505c5d(0x2c9)]!==_0x1f3a4d[_0x505c5d(0x2dd)])return;_0x4481f9=_0xabaf5[_0x505c5d(0x379)]=null;const _0x4a47bf=_0x309495[_0x505c5d(0x348)]['upgrade'];if(_0x4a47bf===void 0x0||_0x4a47bf[_0x505c5d(0x307)]()!==_0x505c5d(0x217)){_0x404b88(_0xabaf5,_0x173e8a,_0x505c5d(0x39d));return;}const _0x5cadfd=_0x4311a2(_0x505c5d(0x3a9))[_0x505c5d(0x30d)](_0x41f3e9+_0x5206b3)['digest'](_0x505c5d(0x1f7));if(_0x309495['headers'][_0x505c5d(0x2fd)]!==_0x5cadfd){_0x404b88(_0xabaf5,_0x173e8a,_0x505c5d(0x21e));return;}const _0x54f6d3=_0x309495[_0x505c5d(0x348)][_0x505c5d(0x22e)];let _0xc961da;if(_0x54f6d3!==void 0x0?_0x2764fc[_0x505c5d(0x2d6)]?_0x2764fc[_0x505c5d(0x36e)](_0x54f6d3)||(_0xc961da=_0x505c5d(0x26d)):_0xc961da=_0x505c5d(0x270):_0x2764fc[_0x505c5d(0x2d6)]&&(_0xc961da=_0x505c5d(0x240)),_0xc961da){_0x404b88(_0xabaf5,_0x173e8a,_0xc961da);return;}_0x54f6d3&&(_0xabaf5[_0x505c5d(0x281)]=_0x54f6d3);const _0x3bec7a=_0x309495[_0x505c5d(0x348)][_0x505c5d(0x201)];if(_0x3bec7a!==void 0x0){if(!_0xbb281){_0x404b88(_0xabaf5,_0x173e8a,_0x505c5d(0x357));return;}let _0xc91e32;try{_0xc91e32=_0x269685(_0x3bec7a);}catch{_0x404b88(_0xabaf5,_0x173e8a,_0x505c5d(0x20f));return;}const _0x3ebd12=Object['keys'](_0xc91e32);if(_0x3ebd12[_0x505c5d(0x326)]!==0x1||_0x3ebd12[0x0]!==_0x201e33[_0x505c5d(0x35e)]){_0x404b88(_0xabaf5,_0x173e8a,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0xbb281[_0x505c5d(0x341)](_0xc91e32[_0x201e33['extensionName']]);}catch{_0x404b88(_0xabaf5,_0x173e8a,_0x505c5d(0x20f));return;}_0xabaf5[_0x505c5d(0x315)][_0x201e33[_0x505c5d(0x35e)]]=_0xbb281;}_0xabaf5[_0x505c5d(0x370)](_0x173e8a,_0x1f6f89,{'allowSynchronousEvents':_0x50453d[_0x505c5d(0x32f)],'generateMask':_0x50453d[_0x505c5d(0x2d3)],'maxPayload':_0x50453d[_0x505c5d(0x3ac)],'skipUTF8Validation':_0x50453d[_0x505c5d(0x1ed)]});}),_0x50453d[_0x21a812(0x3a0)]?_0x50453d['finishRequest'](_0x4481f9,_0xabaf5):_0x4481f9['end']();}function _0x3e7d0b(_0x337bb5,_0x4d4ecc){const _0x207cec=_0x26b0a6;_0x337bb5['_readyState']=_0x1f3a4d[_0x207cec(0x3a3)],_0x337bb5[_0x207cec(0x1f2)]=!0x0,_0x337bb5[_0x207cec(0x1ef)](_0x207cec(0x2a4),_0x4d4ecc),_0x337bb5[_0x207cec(0x2e6)]();}function _0x4ad808(_0x14a91b){const _0x587eea=_0x26b0a6;return _0x14a91b[_0x587eea(0x324)]=_0x14a91b[_0x587eea(0x1fa)],_0xc54418[_0x587eea(0x37e)](_0x14a91b);}function _0x3719e7(_0x238ea){const _0x5185d9=_0x26b0a6;return _0x238ea[_0x5185d9(0x324)]=void 0x0,!_0x238ea[_0x5185d9(0x353)]&&_0x238ea[_0x5185d9(0x353)]!==''&&(_0x238ea[_0x5185d9(0x353)]=_0xc54418['isIP'](_0x238ea['host'])?'':_0x238ea[_0x5185d9(0x3a1)]),_0x2afc87[_0x5185d9(0x37e)](_0x238ea);}function _0x404b88(_0x326711,_0x1bd41d,_0x42b457){const _0x4ca755=_0x26b0a6;_0x326711['_readyState']=_0x1f3a4d[_0x4ca755(0x3a3)];const _0x1a5251=new Error(_0x42b457);Error[_0x4ca755(0x2c1)](_0x1a5251,_0x404b88),_0x1bd41d[_0x4ca755(0x378)]?(_0x1bd41d[_0x12230b]=!0x0,_0x1bd41d[_0x4ca755(0x38e)](),_0x1bd41d[_0x4ca755(0x311)]&&!_0x1bd41d[_0x4ca755(0x311)][_0x4ca755(0x2c3)]&&_0x1bd41d[_0x4ca755(0x311)][_0x4ca755(0x2f8)](),process['nextTick'](_0x3e7d0b,_0x326711,_0x1a5251)):(_0x1bd41d['destroy'](_0x1a5251),_0x1bd41d[_0x4ca755(0x2dc)](_0x4ca755(0x2a4),_0x326711[_0x4ca755(0x1ef)]['bind'](_0x326711,_0x4ca755(0x2a4))),_0x1bd41d[_0x4ca755(0x2dc)](_0x4ca755(0x327),_0x326711[_0x4ca755(0x2e6)]['bind'](_0x326711)));}function _0x4ab052(_0x2291dc,_0x1e25bb,_0x7972ff){const _0x2622a8=_0x26b0a6;if(_0x1e25bb){const _0xc48553=_0x49dfd1(_0x1e25bb)?_0x1e25bb[_0x2622a8(0x2d6)]:_0x5e5c1a(_0x1e25bb)[_0x2622a8(0x326)];_0x2291dc[_0x2622a8(0x21c)]?_0x2291dc['_sender'][_0x2622a8(0x273)]+=_0xc48553:_0x2291dc['_bufferedAmount']+=_0xc48553;}if(_0x7972ff){const _0x11cc45=new Error(_0x2622a8(0x37a)+_0x2291dc[_0x2622a8(0x2c9)]+'\x20('+_0x9bb6ec[_0x2291dc[_0x2622a8(0x2c9)]]+')');process['nextTick'](_0x7972ff,_0x11cc45);}}function _0x2f14c1(_0x109aab,_0x498dfb){const _0x33cb3e=_0x26b0a6,_0x2fb4e9=this[_0x1dd5a0];_0x2fb4e9['_closeFrameReceived']=!0x0,_0x2fb4e9['_closeMessage']=_0x498dfb,_0x2fb4e9[_0x33cb3e(0x20e)]=_0x109aab,_0x2fb4e9[_0x33cb3e(0x21c)][_0x1dd5a0]!==void 0x0&&(_0x2fb4e9[_0x33cb3e(0x21c)][_0x33cb3e(0x321)](_0x33cb3e(0x1ec),_0xea0ad),process['nextTick'](_0x340cb0,_0x2fb4e9[_0x33cb3e(0x21c)]),_0x109aab===0x3ed?_0x2fb4e9[_0x33cb3e(0x327)]():_0x2fb4e9[_0x33cb3e(0x327)](_0x109aab,_0x498dfb));}function _0x5779da(){const _0x24bfca=_0x26b0a6,_0x2c94ea=this[_0x1dd5a0];_0x2c94ea[_0x24bfca(0x278)]||_0x2c94ea[_0x24bfca(0x21c)][_0x24bfca(0x2fe)]();}function _0x2b1ade(_0xa8f743){const _0x420116=_0x26b0a6,_0x4a05b8=this[_0x1dd5a0];_0x4a05b8[_0x420116(0x21c)][_0x1dd5a0]!==void 0x0&&(_0x4a05b8[_0x420116(0x21c)]['removeListener'](_0x420116(0x1ec),_0xea0ad),process[_0x420116(0x310)](_0x340cb0,_0x4a05b8[_0x420116(0x21c)]),_0x4a05b8[_0x420116(0x327)](_0xa8f743[_0x57ed03])),_0x4a05b8[_0x420116(0x1f2)]||(_0x4a05b8[_0x420116(0x1f2)]=!0x0,_0x4a05b8[_0x420116(0x1ef)](_0x420116(0x2a4),_0xa8f743));}function _0x47efef(){const _0x3752b9=_0x26b0a6;this[_0x1dd5a0][_0x3752b9(0x2e6)]();}function _0x4375d2(_0x9abe6b,_0x310121){const _0x24bdde=_0x26b0a6;this[_0x1dd5a0][_0x24bdde(0x1ef)](_0x24bdde(0x1fe),_0x9abe6b,_0x310121);}function _0x323f82(_0x2dcdd0){const _0x5ab107=_0x26b0a6,_0x5691b7=this[_0x1dd5a0];_0x5691b7[_0x5ab107(0x205)]&&_0x5691b7[_0x5ab107(0x291)](_0x2dcdd0,!this[_0x5ab107(0x37f)],_0x563769),_0x5691b7[_0x5ab107(0x1ef)](_0x5ab107(0x25f),_0x2dcdd0);}function _0x4e0c63(_0x1596fa){const _0x3091d0=_0x26b0a6;this[_0x1dd5a0][_0x3091d0(0x1ef)](_0x3091d0(0x291),_0x1596fa);}function _0x340cb0(_0x46ddd2){const _0x57d745=_0x26b0a6;_0x46ddd2[_0x57d745(0x2fe)]();}function _0x384601(_0x31b602){const _0x309671=_0x26b0a6,_0x35c92c=this[_0x1dd5a0];_0x35c92c[_0x309671(0x2c9)]!==_0x1f3a4d['CLOSED']&&(_0x35c92c[_0x309671(0x2c9)]===_0x1f3a4d[_0x309671(0x262)]&&(_0x35c92c[_0x309671(0x22f)]=_0x1f3a4d[_0x309671(0x3a3)],_0x40b79f(_0x35c92c)),this[_0x309671(0x21c)][_0x309671(0x31b)](),_0x35c92c[_0x309671(0x1f2)]||(_0x35c92c['_errorEmitted']=!0x0,_0x35c92c[_0x309671(0x1ef)](_0x309671(0x2a4),_0x31b602)));}function _0x40b79f(_0x32933e){const _0x3be448=_0x26b0a6;_0x32933e[_0x3be448(0x36f)]=setTimeout(_0x32933e[_0x3be448(0x21c)][_0x3be448(0x2f8)][_0x3be448(0x2b9)](_0x32933e[_0x3be448(0x21c)]),_0x3eaa49);}function _0x2b788e(){const _0x227dc0=_0x26b0a6,_0x4173d1=this[_0x1dd5a0];this[_0x227dc0(0x321)](_0x227dc0(0x327),_0x2b788e),this[_0x227dc0(0x321)](_0x227dc0(0x1ec),_0xea0ad),this['removeListener']('end',_0x1247b6),_0x4173d1[_0x227dc0(0x22f)]=_0x1f3a4d[_0x227dc0(0x3a3)];let _0x5b9290;!this[_0x227dc0(0x2e1)]['endEmitted']&&!_0x4173d1[_0x227dc0(0x2ea)]&&!_0x4173d1[_0x227dc0(0x2f5)][_0x227dc0(0x2a2)][_0x227dc0(0x228)]&&(_0x5b9290=_0x4173d1[_0x227dc0(0x21c)]['read']())!==null&&_0x4173d1[_0x227dc0(0x2f5)]['write'](_0x5b9290),_0x4173d1[_0x227dc0(0x2f5)]['end'](),this[_0x1dd5a0]=void 0x0,clearTimeout(_0x4173d1[_0x227dc0(0x36f)]),_0x4173d1[_0x227dc0(0x2f5)][_0x227dc0(0x2a2)][_0x227dc0(0x336)]||_0x4173d1[_0x227dc0(0x2f5)][_0x227dc0(0x2a2)]['errorEmitted']?_0x4173d1[_0x227dc0(0x2e6)]():(_0x4173d1[_0x227dc0(0x2f5)]['on'](_0x227dc0(0x2a4),_0x47efef),_0x4173d1[_0x227dc0(0x2f5)]['on']('finish',_0x47efef));}function _0xea0ad(_0x5ac5fb){const _0x5c6845=_0x26b0a6;this[_0x1dd5a0]['_receiver'][_0x5c6845(0x229)](_0x5ac5fb)||this[_0x5c6845(0x2cd)]();}function _0x1247b6(){const _0x241e5c=_0x26b0a6,_0x3d782c=this[_0x1dd5a0];_0x3d782c[_0x241e5c(0x22f)]=_0x1f3a4d['CLOSING'],_0x3d782c[_0x241e5c(0x2f5)][_0x241e5c(0x31b)](),this[_0x241e5c(0x31b)]();}function _0x380f4f(){const _0x5d6245=_0x26b0a6,_0xcd2a1c=this[_0x1dd5a0];this['removeListener'](_0x5d6245(0x2a4),_0x380f4f),this['on'](_0x5d6245(0x2a4),_0x563769),_0xcd2a1c&&(_0xcd2a1c[_0x5d6245(0x22f)]=_0x1f3a4d[_0x5d6245(0x3a3)],this[_0x5d6245(0x2f8)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x1e42fd}=oe;function _0x109004(_0x2a7624){const _0x5ad58b=_0x49e0;_0x2a7624[_0x5ad58b(0x1ef)](_0x5ad58b(0x327));}function _0x14708b(){const _0x2f2f5a=_0x49e0;!this[_0x2f2f5a(0x2c3)]&&this[_0x2f2f5a(0x2a2)][_0x2f2f5a(0x336)]&&this[_0x2f2f5a(0x2f8)]();}function _0x326589(_0xfdb482){const _0x339a44=_0x49e0;this[_0x339a44(0x321)](_0x339a44(0x2a4),_0x326589),this[_0x339a44(0x2f8)](),this[_0x339a44(0x334)](_0x339a44(0x2a4))===0x0&&this[_0x339a44(0x1ef)]('error',_0xfdb482);}function _0x5a4d13(_0x9f5467,_0x175b03){const _0x554011=_0x49e0;let _0x33d8f7=!0x0;const _0x17d6bb=new _0x1e42fd({..._0x175b03,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x9f5467['on'](_0x554011(0x1fe),function(_0xba2692,_0x1048ae){const _0x1b2ebf=_0x554011,_0x1b75a4=!_0x1048ae&&_0x17d6bb[_0x1b2ebf(0x2e1)][_0x1b2ebf(0x265)]?_0xba2692['toString']():_0xba2692;_0x17d6bb[_0x1b2ebf(0x271)](_0x1b75a4)||_0x9f5467[_0x1b2ebf(0x2cd)]();}),_0x9f5467[_0x554011(0x2dc)]('error',function(_0x2335ac){_0x17d6bb['destroyed']||(_0x33d8f7=!0x1,_0x17d6bb['destroy'](_0x2335ac));}),_0x9f5467['once'](_0x554011(0x327),function(){const _0x42edd7=_0x554011;_0x17d6bb['destroyed']||_0x17d6bb[_0x42edd7(0x271)](null);}),_0x17d6bb[_0x554011(0x2df)]=function(_0x28b939,_0x2063de){const _0x3bb104=_0x554011;if(_0x9f5467[_0x3bb104(0x2c9)]===_0x9f5467[_0x3bb104(0x1f4)]){_0x2063de(_0x28b939),process[_0x3bb104(0x310)](_0x109004,_0x17d6bb);return;}let _0x16b109=!0x1;_0x9f5467['once']('error',function(_0xa2c72a){_0x16b109=!0x0,_0x2063de(_0xa2c72a);}),_0x9f5467[_0x3bb104(0x2dc)](_0x3bb104(0x327),function(){const _0xf2b7e5=_0x3bb104;_0x16b109||_0x2063de(_0x28b939),process[_0xf2b7e5(0x310)](_0x109004,_0x17d6bb);}),_0x33d8f7&&_0x9f5467[_0x3bb104(0x313)]();},_0x17d6bb[_0x554011(0x29f)]=function(_0x3aa90b){const _0x944384=_0x554011;if(_0x9f5467[_0x944384(0x2c9)]===_0x9f5467[_0x944384(0x2dd)]){_0x9f5467[_0x944384(0x2dc)](_0x944384(0x212),function(){const _0x1c9b77=_0x944384;_0x17d6bb[_0x1c9b77(0x29f)](_0x3aa90b);});return;}_0x9f5467[_0x944384(0x21c)]!==null&&(_0x9f5467[_0x944384(0x21c)][_0x944384(0x2a2)][_0x944384(0x336)]?(_0x3aa90b(),_0x17d6bb[_0x944384(0x2e1)][_0x944384(0x2b3)]&&_0x17d6bb[_0x944384(0x2f8)]()):(_0x9f5467[_0x944384(0x21c)]['once'](_0x944384(0x328),function(){_0x3aa90b();}),_0x9f5467[_0x944384(0x327)]()));},_0x17d6bb['_read']=function(){const _0x438bb3=_0x554011;_0x9f5467['isPaused']&&_0x9f5467[_0x438bb3(0x2fe)]();},_0x17d6bb[_0x554011(0x214)]=function(_0xa374d3,_0x1b75b8,_0x404132){const _0x220dfe=_0x554011;if(_0x9f5467['readyState']===_0x9f5467[_0x220dfe(0x2dd)]){_0x9f5467[_0x220dfe(0x2dc)](_0x220dfe(0x212),function(){const _0x1b24ac=_0x220dfe;_0x17d6bb[_0x1b24ac(0x214)](_0xa374d3,_0x1b75b8,_0x404132);});return;}_0x9f5467['send'](_0xa374d3,_0x404132);},_0x17d6bb['on']('end',_0x14708b),_0x17d6bb['on'](_0x554011(0x2a4),_0x326589),_0x17d6bb;}return Oe=_0x5a4d13,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x1120dc}=ae();function _0xd00eda(_0x1663a9){const _0x44e7e1=_0x49e0,_0x4d91fc=new Set();let _0x3d4ecf=-0x1,_0x244172=-0x1,_0x210375=0x0;for(_0x210375;_0x210375<_0x1663a9[_0x44e7e1(0x326)];_0x210375++){const _0x11a35b=_0x1663a9[_0x44e7e1(0x254)](_0x210375);if(_0x244172===-0x1&&_0x1120dc[_0x11a35b]===0x1)_0x3d4ecf===-0x1&&(_0x3d4ecf=_0x210375);else{if(_0x210375!==0x0&&(_0x11a35b===0x20||_0x11a35b===0x9))_0x244172===-0x1&&_0x3d4ecf!==-0x1&&(_0x244172=_0x210375);else{if(_0x11a35b===0x2c){if(_0x3d4ecf===-0x1)throw new SyntaxError(_0x44e7e1(0x218)+_0x210375);_0x244172===-0x1&&(_0x244172=_0x210375);const _0x4a7575=_0x1663a9[_0x44e7e1(0x1f5)](_0x3d4ecf,_0x244172);if(_0x4d91fc[_0x44e7e1(0x36e)](_0x4a7575))throw new SyntaxError('The\x20\x22'+_0x4a7575+'\x22\x20subprotocol\x20is\x20duplicated');_0x4d91fc[_0x44e7e1(0x363)](_0x4a7575),_0x3d4ecf=_0x244172=-0x1;}else throw new SyntaxError(_0x44e7e1(0x218)+_0x210375);}}}if(_0x3d4ecf===-0x1||_0x244172!==-0x1)throw new SyntaxError(_0x44e7e1(0x2ba));const _0x218f68=_0x1663a9[_0x44e7e1(0x1f5)](_0x3d4ecf,_0x210375);if(_0x4d91fc[_0x44e7e1(0x36e)](_0x218f68))throw new SyntaxError(_0x44e7e1(0x244)+_0x218f68+_0x44e7e1(0x246));return _0x4d91fc[_0x44e7e1(0x363)](_0x218f68),_0x4d91fc;}return Ce={'parse':_0xd00eda},Ce;}var Te,rt;function Ft(){const _0x6f6a18=_0x519561;if(rt)return Te;rt=0x1;const _0x108735=nt,_0x5ac818=ot,{Duplex:_0x2de539}=oe,{createHash:_0x52bef7}=Le,_0x529efc=ct(),_0x3f159d=he(),_0x522bac=At(),_0x5afcdf=Pe(),{GUID:_0x38d99b,kWebSocket:_0x3da645}=H(),_0x27b47e=/^[+/0-9A-Za-z]{22}==$/,_0x42c213=0x0,_0x13d147=0x1,_0x674cab=0x2;class _0x1b342d extends _0x108735{constructor(_0x2e0b36,_0x46649c){const _0x9c7fe8=_0x49e0;if(super(),_0x2e0b36={'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':_0x5afcdf,..._0x2e0b36},_0x2e0b36['port']==null&&!_0x2e0b36[_0x9c7fe8(0x29b)]&&!_0x2e0b36[_0x9c7fe8(0x2a5)]||_0x2e0b36[_0x9c7fe8(0x397)]!=null&&(_0x2e0b36['server']||_0x2e0b36[_0x9c7fe8(0x2a5)])||_0x2e0b36[_0x9c7fe8(0x29b)]&&_0x2e0b36[_0x9c7fe8(0x2a5)])throw new TypeError(_0x9c7fe8(0x2ce));if(_0x2e0b36[_0x9c7fe8(0x397)]!=null?(this[_0x9c7fe8(0x385)]=_0x5ac818[_0x9c7fe8(0x35b)]((_0x33f40c,_0x3506d1)=>{const _0x37bd5e=_0x9c7fe8,_0x3c4704=_0x5ac818[_0x37bd5e(0x2a9)][0x1aa];_0x3506d1['writeHead'](0x1aa,{'Content-Length':_0x3c4704['length'],'Content-Type':_0x37bd5e(0x33a)}),_0x3506d1['end'](_0x3c4704);}),this[_0x9c7fe8(0x385)]['listen'](_0x2e0b36[_0x9c7fe8(0x397)],_0x2e0b36[_0x9c7fe8(0x3a1)],_0x2e0b36[_0x9c7fe8(0x35d)],_0x46649c)):_0x2e0b36['server']&&(this[_0x9c7fe8(0x385)]=_0x2e0b36[_0x9c7fe8(0x29b)]),this[_0x9c7fe8(0x385)]){const _0x249f8c=this[_0x9c7fe8(0x1ef)][_0x9c7fe8(0x2b9)](this,_0x9c7fe8(0x372));this[_0x9c7fe8(0x395)]=_0x5f03d4(this[_0x9c7fe8(0x385)],{'listening':this[_0x9c7fe8(0x1ef)]['bind'](this,_0x9c7fe8(0x2bd)),'error':this[_0x9c7fe8(0x1ef)][_0x9c7fe8(0x2b9)](this,_0x9c7fe8(0x2a4)),'upgrade':(_0x57c391,_0x5ae517,_0x533e46)=>{const _0x507ebc=_0x9c7fe8;this[_0x507ebc(0x2d7)](_0x57c391,_0x5ae517,_0x533e46,_0x249f8c);}});}_0x2e0b36[_0x9c7fe8(0x2a7)]===!0x0&&(_0x2e0b36[_0x9c7fe8(0x2a7)]={}),_0x2e0b36[_0x9c7fe8(0x2f7)]&&(this[_0x9c7fe8(0x20d)]=new Set(),this[_0x9c7fe8(0x350)]=!0x1),this[_0x9c7fe8(0x206)]=_0x2e0b36,this[_0x9c7fe8(0x2e8)]=_0x42c213;}[_0x6f6a18(0x32b)](){const _0xc890f4=_0x6f6a18;if(this[_0xc890f4(0x206)][_0xc890f4(0x2a5)])throw new Error(_0xc890f4(0x323));return this[_0xc890f4(0x385)]?this[_0xc890f4(0x385)][_0xc890f4(0x32b)]():null;}[_0x6f6a18(0x327)](_0x24cc42){const _0x3a4d2d=_0x6f6a18;if(this[_0x3a4d2d(0x2e8)]===_0x674cab){_0x24cc42&&this[_0x3a4d2d(0x2dc)](_0x3a4d2d(0x327),()=>{const _0x51d2d1=_0x3a4d2d;_0x24cc42(new Error(_0x51d2d1(0x287)));}),process['nextTick'](_0x15a14a,this);return;}if(_0x24cc42&&this[_0x3a4d2d(0x2dc)](_0x3a4d2d(0x327),_0x24cc42),this[_0x3a4d2d(0x2e8)]!==_0x13d147){if(this[_0x3a4d2d(0x2e8)]=_0x13d147,this[_0x3a4d2d(0x206)][_0x3a4d2d(0x2a5)]||this[_0x3a4d2d(0x206)][_0x3a4d2d(0x29b)])this[_0x3a4d2d(0x385)]&&(this['_removeListeners'](),this['_removeListeners']=this[_0x3a4d2d(0x385)]=null),this[_0x3a4d2d(0x20d)]?this[_0x3a4d2d(0x20d)]['size']?this[_0x3a4d2d(0x350)]=!0x0:process[_0x3a4d2d(0x310)](_0x15a14a,this):process['nextTick'](_0x15a14a,this);else{const _0x1d4c1a=this['_server'];this[_0x3a4d2d(0x395)](),this[_0x3a4d2d(0x395)]=this['_server']=null,_0x1d4c1a[_0x3a4d2d(0x327)](()=>{_0x15a14a(this);});}}}[_0x6f6a18(0x30e)](_0x2de1e3){const _0x470e60=_0x6f6a18;if(this[_0x470e60(0x206)][_0x470e60(0x324)]){const _0x3c4cb2=_0x2de1e3[_0x470e60(0x216)][_0x470e60(0x303)]('?');if((_0x3c4cb2!==-0x1?_0x2de1e3[_0x470e60(0x216)][_0x470e60(0x1f5)](0x0,_0x3c4cb2):_0x2de1e3['url'])!==this[_0x470e60(0x206)][_0x470e60(0x324)])return!0x1;}return!0x0;}['handleUpgrade'](_0x9886a6,_0x2b40a3,_0x41a54f,_0x5823b1){const _0x355157=_0x6f6a18;_0x2b40a3['on']('error',_0x1a6070);const _0x50d0da=_0x9886a6[_0x355157(0x348)]['sec-websocket-key'],_0x1e53ee=_0x9886a6['headers']['upgrade'],_0x4e4886=+_0x9886a6[_0x355157(0x348)]['sec-websocket-version'];if(_0x9886a6[_0x355157(0x305)]!==_0x355157(0x23e)){_0x479533(this,_0x9886a6,_0x2b40a3,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x1e53ee===void 0x0||_0x1e53ee[_0x355157(0x307)]()!=='websocket'){_0x479533(this,_0x9886a6,_0x2b40a3,0x190,_0x355157(0x39d));return;}if(_0x50d0da===void 0x0||!_0x27b47e['test'](_0x50d0da)){_0x479533(this,_0x9886a6,_0x2b40a3,0x190,_0x355157(0x367));return;}if(_0x4e4886!==0x8&&_0x4e4886!==0xd){_0x479533(this,_0x9886a6,_0x2b40a3,0x190,_0x355157(0x242));return;}if(!this['shouldHandle'](_0x9886a6)){_0x26d68c(_0x2b40a3,0x190);return;}const _0x47b0f0=_0x9886a6[_0x355157(0x348)][_0x355157(0x22e)];let _0x334468=new Set();if(_0x47b0f0!==void 0x0)try{_0x334468=_0x522bac[_0x355157(0x23c)](_0x47b0f0);}catch{_0x479533(this,_0x9886a6,_0x2b40a3,0x190,_0x355157(0x263));return;}const _0x53aa24=_0x9886a6[_0x355157(0x348)]['sec-websocket-extensions'],_0x5214a3={};if(this['options'][_0x355157(0x2a7)]&&_0x53aa24!==void 0x0){const _0x4a150b=new _0x3f159d(this[_0x355157(0x206)][_0x355157(0x2a7)],!0x0,this[_0x355157(0x206)][_0x355157(0x3ac)]);try{const _0x469ae1=_0x529efc['parse'](_0x53aa24);_0x469ae1[_0x3f159d[_0x355157(0x35e)]]&&(_0x4a150b[_0x355157(0x341)](_0x469ae1[_0x3f159d['extensionName']]),_0x5214a3[_0x3f159d[_0x355157(0x35e)]]=_0x4a150b);}catch{_0x479533(this,_0x9886a6,_0x2b40a3,0x190,_0x355157(0x23a));return;}}if(this[_0x355157(0x206)]['verifyClient']){const _0x17b09c={'origin':_0x9886a6[_0x355157(0x348)][''+(_0x4e4886===0x8?_0x355157(0x1eb):'origin')],'secure':!!(_0x9886a6[_0x355157(0x311)][_0x355157(0x362)]||_0x9886a6[_0x355157(0x311)][_0x355157(0x2da)]),'req':_0x9886a6};if(this[_0x355157(0x206)][_0x355157(0x38c)]['length']===0x2){this[_0x355157(0x206)][_0x355157(0x38c)](_0x17b09c,(_0x2499c7,_0x3202a6,_0x1bb0c1,_0x27d558)=>{const _0x2e3bea=_0x355157;if(!_0x2499c7)return _0x26d68c(_0x2b40a3,_0x3202a6||0x191,_0x1bb0c1,_0x27d558);this[_0x2e3bea(0x2ec)](_0x5214a3,_0x50d0da,_0x334468,_0x9886a6,_0x2b40a3,_0x41a54f,_0x5823b1);});return;}if(!this[_0x355157(0x206)]['verifyClient'](_0x17b09c))return _0x26d68c(_0x2b40a3,0x191);}this[_0x355157(0x2ec)](_0x5214a3,_0x50d0da,_0x334468,_0x9886a6,_0x2b40a3,_0x41a54f,_0x5823b1);}[_0x6f6a18(0x2ec)](_0x5b00e0,_0xcbe4f6,_0x5c252b,_0x45781a,_0x3ff1f5,_0x117cb8,_0x5bd06d){const _0x319b1b=_0x6f6a18;if(!_0x3ff1f5[_0x319b1b(0x2e7)]||!_0x3ff1f5[_0x319b1b(0x308)])return _0x3ff1f5['destroy']();if(_0x3ff1f5[_0x3da645])throw new Error(_0x319b1b(0x30a));if(this[_0x319b1b(0x2e8)]>_0x42c213)return _0x26d68c(_0x3ff1f5,0x1f7);const _0x1e5060=[_0x319b1b(0x2a1),_0x319b1b(0x28b),_0x319b1b(0x2b6),_0x319b1b(0x247)+_0x52bef7(_0x319b1b(0x3a9))[_0x319b1b(0x30d)](_0xcbe4f6+_0x38d99b)['digest'](_0x319b1b(0x1f7))],_0x5100c5=new this[(_0x319b1b(0x206))][(_0x319b1b(0x22b))](null,void 0x0,this[_0x319b1b(0x206)]);if(_0x5c252b[_0x319b1b(0x2d6)]){const _0x4f5c88=this[_0x319b1b(0x206)]['handleProtocols']?this[_0x319b1b(0x206)]['handleProtocols'](_0x5c252b,_0x45781a):_0x5c252b[_0x319b1b(0x2c6)]()[_0x319b1b(0x31e)]()[_0x319b1b(0x2ee)];_0x4f5c88&&(_0x1e5060[_0x319b1b(0x271)]('Sec-WebSocket-Protocol:\x20'+_0x4f5c88),_0x5100c5['_protocol']=_0x4f5c88);}if(_0x5b00e0[_0x3f159d['extensionName']]){const _0x596f0c=_0x5b00e0[_0x3f159d[_0x319b1b(0x35e)]][_0x319b1b(0x233)],_0x1dca15=_0x529efc['format']({[_0x3f159d['extensionName']]:[_0x596f0c]});_0x1e5060[_0x319b1b(0x271)](_0x319b1b(0x33e)+_0x1dca15),_0x5100c5[_0x319b1b(0x315)]=_0x5b00e0;}this['emit'](_0x319b1b(0x348),_0x1e5060,_0x45781a),_0x3ff1f5[_0x319b1b(0x229)](_0x1e5060['concat']('\x0d\x0a')[_0x319b1b(0x28d)]('\x0d\x0a')),_0x3ff1f5['removeListener'](_0x319b1b(0x2a4),_0x1a6070),_0x5100c5[_0x319b1b(0x370)](_0x3ff1f5,_0x117cb8,{'allowSynchronousEvents':this[_0x319b1b(0x206)]['allowSynchronousEvents'],'maxPayload':this[_0x319b1b(0x206)][_0x319b1b(0x3ac)],'skipUTF8Validation':this['options'][_0x319b1b(0x1ed)]}),this[_0x319b1b(0x20d)]&&(this[_0x319b1b(0x20d)][_0x319b1b(0x363)](_0x5100c5),_0x5100c5['on'](_0x319b1b(0x327),()=>{const _0x202222=_0x319b1b;this[_0x202222(0x20d)][_0x202222(0x2e2)](_0x5100c5),this[_0x202222(0x350)]&&!this[_0x202222(0x20d)][_0x202222(0x2d6)]&&process[_0x202222(0x310)](_0x15a14a,this);})),_0x5bd06d(_0x5100c5,_0x45781a);}}Te=_0x1b342d;function _0x5f03d4(_0x3382dd,_0x3cebf8){const _0x335b26=_0x6f6a18;for(const _0x41d56c of Object[_0x335b26(0x2b8)](_0x3cebf8))_0x3382dd['on'](_0x41d56c,_0x3cebf8[_0x41d56c]);return function(){for(const _0x5c879f of Object['keys'](_0x3cebf8))_0x3382dd['removeListener'](_0x5c879f,_0x3cebf8[_0x5c879f]);};}function _0x15a14a(_0x533921){const _0x44d82d=_0x6f6a18;_0x533921[_0x44d82d(0x2e8)]=_0x674cab,_0x533921[_0x44d82d(0x1ef)](_0x44d82d(0x327));}function _0x1a6070(){this['destroy']();}function _0x26d68c(_0x381898,_0x305c04,_0x30f805,_0x483c08){const _0x1fd893=_0x6f6a18;_0x30f805=_0x30f805||_0x5ac818[_0x1fd893(0x2a9)][_0x305c04],_0x483c08={'Connection':_0x1fd893(0x327),'Content-Type':_0x1fd893(0x267),'Content-Length':Buffer[_0x1fd893(0x28c)](_0x30f805),..._0x483c08},_0x381898[_0x1fd893(0x2dc)](_0x1fd893(0x328),_0x381898['destroy']),_0x381898['end'](_0x1fd893(0x21a)+_0x305c04+'\x20'+_0x5ac818[_0x1fd893(0x2a9)][_0x305c04]+'\x0d\x0a'+Object[_0x1fd893(0x2b8)](_0x483c08)['map'](_0x15c0c5=>_0x15c0c5+':\x20'+_0x483c08[_0x15c0c5])[_0x1fd893(0x28d)]('\x0d\x0a')+_0x1fd893(0x2db)+_0x30f805);}function _0x479533(_0x4d25d1,_0x34a944,_0x46564e,_0x5e2c78,_0x16c84f){const _0x41e7e4=_0x6f6a18;if(_0x4d25d1[_0x41e7e4(0x334)](_0x41e7e4(0x344))){const _0x373a90=new Error(_0x16c84f);Error[_0x41e7e4(0x2c1)](_0x373a90,_0x479533),_0x4d25d1[_0x41e7e4(0x1ef)](_0x41e7e4(0x344),_0x373a90,_0x46564e,_0x34a944);}else _0x26d68c(_0x46564e,_0x5e2c78,_0x16c84f);}return Te;}Ft();var jt=Object[_0x519561(0x34f)],Wt=(_0x172f86,_0xfc767b,_0x42daba,_0x4c1564)=>{const _0x1337b6=_0x519561;for(var _0x229383=_0x4c1564>0x1?void 0x0:_0x4c1564?jt(_0xfc767b,_0x42daba):_0xfc767b,_0x5a1fab=_0x172f86[_0x1337b6(0x326)]-0x1,_0x4c4c97;_0x5a1fab>=0x0;_0x5a1fab--)(_0x4c4c97=_0x172f86[_0x5a1fab])&&(_0x229383=_0x4c4c97(_0x229383)||_0x229383);return _0x229383;},qt=(_0x475d06,_0x21f87b)=>(_0x1b0190,_0x4afc6e)=>_0x21f87b(_0x1b0190,_0x4afc6e,_0x475d06);let ke=class extends A[_0x519561(0x34c)]{constructor(_0x559af0){const _0x4fe58b=_0x519561;super(),this[_0x4fe58b(0x340)]=_0x559af0;}['createSocket'](_0x25676e){const _0x3b1d16=_0x519561;var _0x2539fe;const _0x4d483b=(_0x2539fe=this[_0x3b1d16(0x340)][_0x3b1d16(0x316)](fe))==null?void 0x0:_0x2539fe[_0x3b1d16(0x24b)];try{const _0x1edf68=new $t(_0x25676e,{'headers':{..._0x4d483b}}),_0x3b2243=new A[(_0x3b1d16(0x2f4))]();return{'URL':_0x25676e,'close':(_0x1e86be,_0x55614b)=>{const _0x58379b=_0x3b1d16;_0x1edf68[_0x58379b(0x327)](_0x1e86be,_0x55614b),_0x3b2243[_0x58379b(0x335)]();},'send':_0x2bb9b6=>{const _0x441fd4=_0x3b1d16;_0x1edf68[_0x441fd4(0x309)](_0x2bb9b6);},'open$':new V['Observable'](_0x4a8067=>{const _0x5a84d6=_0x3b1d16,_0x1c4a34=_0x16f3c2=>_0x4a8067[_0x5a84d6(0x31e)](_0x16f3c2);_0x1edf68['addEventListener'](_0x5a84d6(0x212),_0x1c4a34),_0x3b2243[_0x5a84d6(0x363)](A['toDisposable'](()=>_0x1edf68[_0x5a84d6(0x204)]('open',_0x1c4a34)));})['pipe'](V['share']()),'close$':new V[(_0x3b1d16(0x24e))](_0x49b336=>{const _0x3a5b24=_0x3b1d16,_0x244988=_0x45a818=>_0x49b336[_0x3a5b24(0x31e)](_0x45a818);_0x1edf68[_0x3a5b24(0x382)](_0x3a5b24(0x327),_0x244988),_0x3b2243[_0x3a5b24(0x363)](A['toDisposable'](()=>_0x1edf68[_0x3a5b24(0x204)](_0x3a5b24(0x327),_0x244988)));})[_0x3b1d16(0x203)](V[_0x3b1d16(0x2cc)]()),'error$':new V[(_0x3b1d16(0x24e))](_0xee1fb9=>{const _0xab1ca9=_0x3b1d16,_0x2e41ca=_0x3a33a7=>_0xee1fb9[_0xab1ca9(0x31e)](_0x3a33a7);_0x1edf68['addEventListener'](_0xab1ca9(0x2a4),_0x2e41ca),_0x3b2243[_0xab1ca9(0x363)](A['toDisposable'](()=>_0x1edf68['removeEventListener'](_0xab1ca9(0x2a4),_0x2e41ca)));})[_0x3b1d16(0x203)](V[_0x3b1d16(0x2cc)]()),'message$':new V['Observable'](_0x134e5b=>{const _0x66a07c=_0x3b1d16,_0xf457b6=_0x30750a=>_0x134e5b['next'](_0x30750a);_0x1edf68[_0x66a07c(0x382)](_0x66a07c(0x1fe),_0xf457b6),_0x3b2243[_0x66a07c(0x363)](A[_0x66a07c(0x346)](()=>_0x1edf68[_0x66a07c(0x204)](_0x66a07c(0x1fe),_0xf457b6)));})[_0x3b1d16(0x203)](V[_0x3b1d16(0x2cc)]())};}catch(_0x2f6354){return console[_0x3b1d16(0x2a4)](_0x2f6354),null;}}};ke=Wt([qt(0x0,A[_0x519561(0x239)])],ke);var Gt=Object['defineProperty'],Vt=Object[_0x519561(0x34f)],Ht=(_0x75e72b,_0x5cd837,_0x2c0bd2)=>_0x5cd837 in _0x75e72b?Gt(_0x75e72b,_0x5cd837,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2c0bd2}):_0x75e72b[_0x5cd837]=_0x2c0bd2,zt=(_0x4cc178,_0x5f34cd,_0x198c27,_0x4c18ab)=>{const _0x4d06cd=_0x519561;for(var _0x547e0d=_0x4c18ab>0x1?void 0x0:_0x4c18ab?Vt(_0x5f34cd,_0x198c27):_0x5f34cd,_0x1dbe5c=_0x4cc178[_0x4d06cd(0x326)]-0x1,_0x50845e;_0x1dbe5c>=0x0;_0x1dbe5c--)(_0x50845e=_0x4cc178[_0x1dbe5c])&&(_0x547e0d=_0x50845e(_0x547e0d)||_0x547e0d);return _0x547e0d;},Ne=(_0x42a60b,_0x478d9e)=>(_0x2c0ada,_0x56e5af)=>_0x478d9e(_0x2c0ada,_0x56e5af,_0x42a60b),Yt=(_0x589fe3,_0x4b1d18,_0x44759e)=>Ht(_0x589fe3,_0x4b1d18+'',_0x44759e);exports[_0x519561(0x220)]=class extends A['Plugin']{constructor(_0x587b4c=Ct,_0x2fb29b,_0x3c3b06,_0x21f2eb){const _0x498bb6=_0x519561;_0x587b4c[_0x498bb6(0x24b)]||_0x2fb29b['warn'](_0x498bb6(0x361)),super(),this[_0x498bb6(0x340)]=_0x3c3b06,this[_0x498bb6(0x2eb)]=_0x21f2eb,this['_configService'][_0x498bb6(0x295)](fe,_0x587b4c);}['onStarting'](){const _0x782b57=_0x519561;this[_0x782b57(0x222)]();}[_0x519561(0x222)](){const _0x2080f1=_0x519561;A['registerDependencies'](this[_0x2080f1(0x2eb)],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports['UniverCollaborationClientNodePlugin'],'pluginName','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports[_0x519561(0x220)]=zt([A[_0x519561(0x1f0)](st[_0x519561(0x23f)]),Ne(0x1,A[_0x519561(0x32a)]),Ne(0x2,A['IConfigService']),Ne(0x3,A[_0x519561(0x241)](A[_0x519561(0x2e4)]))],exports[_0x519561(0x220)]);var Kt=Object[_0x519561(0x34f)],Xt=(_0x31dd7a,_0x2c39ea,_0x32327e,_0x513aec)=>{const _0x4a2689=_0x519561;for(var _0xfd8048=_0x513aec>0x1?void 0x0:_0x513aec?Kt(_0x2c39ea,_0x32327e):_0x2c39ea,_0x57b8e2=_0x31dd7a[_0x4a2689(0x326)]-0x1,_0x2f9c4c;_0x57b8e2>=0x0;_0x57b8e2--)(_0x2f9c4c=_0x31dd7a[_0x57b8e2])&&(_0xfd8048=_0x2f9c4c(_0xfd8048)||_0xfd8048);return _0xfd8048;},ne=(_0x19a2c0,_0x3289e1)=>(_0x1d985c,_0x4aae46)=>_0x3289e1(_0x1d985c,_0x4aae46,_0x19a2c0);exports['NodeCollaborationSocketService']=class extends st[_0x519561(0x332)]{constructor(_0x36b715,_0x2240f5,_0x26fe98,_0x4255de,_0x461499){const _0x4046c6=_0x519561;super(_0x36b715,_0x2240f5,_0x26fe98,_0x4255de,_0x461499);const _0x407969=this[_0x4046c6(0x340)]['getConfig'](fe);this[_0x4046c6(0x260)][_0x4046c6(0x1ee)]({'interceptor':(_0x210c0d,_0x5e12d5)=>{const _0x473a19=_0x4046c6;var _0x3cfc5e;const _0x21c504=_0x210c0d[_0x473a19(0x348)];return(_0x3cfc5e=_0x407969==null?void 0x0:_0x407969['customHeaders'])!=null&&_0x3cfc5e[_0x473a19(0x225)]&&_0x21c504[_0x473a19(0x3aa)](_0x473a19(0x26b),_0x407969[_0x473a19(0x24b)][_0x473a19(0x225)]),_0x5e12d5(_0x210c0d);}});}async[_0x519561(0x2d0)](_0x3e76cd){const _0xb8effd=_0x519561;return this[_0xb8effd(0x209)](_0x3e76cd);}},exports[_0x519561(0x355)]=Xt([ne(0x0,A[_0x519561(0x241)](A[_0x519561(0x2e4)])),ne(0x1,A[_0x519561(0x241)](it[_0x519561(0x351)])),ne(0x2,A[_0x519561(0x239)]),ne(0x3,A[_0x519561(0x32a)]),ne(0x4,Ot[_0x519561(0x301)])],exports['NodeCollaborationSocketService']),exports[_0x519561(0x374)]=fe;
|
|
1
|
+
'use strict';const _0x5ab958=_0x147c;(function(_0x2859e1,_0x2b5652){const _0x8983d2=_0x147c,_0x4d5e94=_0x2859e1();while(!![]){try{const _0x385b3e=parseInt(_0x8983d2(0x1ad))/0x1*(-parseInt(_0x8983d2(0x1de))/0x2)+parseInt(_0x8983d2(0x215))/0x3+-parseInt(_0x8983d2(0x143))/0x4+parseInt(_0x8983d2(0x13e))/0x5+parseInt(_0x8983d2(0x225))/0x6+-parseInt(_0x8983d2(0x11c))/0x7+parseInt(_0x8983d2(0xd0))/0x8*(-parseInt(_0x8983d2(0x11a))/0x9);if(_0x385b3e===_0x2b5652)break;else _0x4d5e94['push'](_0x4d5e94['shift']());}catch(_0xfeb9e5){_0x4d5e94['push'](_0x4d5e94['shift']());}}}(_0x581b,0x24b7f));Object[_0x5ab958(0x85)](exports,Symbol[_0x5ab958(0xdb)],{'value':_0x5ab958(0x1cc)});const st=require(_0x5ab958(0x206)),A=require(_0x5ab958(0x17e)),it=require(_0x5ab958(0x22b)),V=require('rxjs'),nt=require(_0x5ab958(0x112)),vt=require(_0x5ab958(0x157)),ot=require(_0x5ab958(0x105)),St=require(_0x5ab958(0x1c9)),Et=require(_0x5ab958(0x20a)),Le=require(_0x5ab958(0x11e)),oe=require(_0x5ab958(0x8c)),xt=require(_0x5ab958(0x1d9)),bt=require(_0x5ab958(0x224)),wt=require(_0x5ab958(0x1a3)),Ot=require(_0x5ab958(0x15a)),fe='collaboration-client-node.config',Ct={'customHeaders':{}};function Tt(_0x5a1cc9){const _0x468b0b=_0x5ab958;return _0x5a1cc9&&_0x5a1cc9[_0x468b0b(0x127)]&&Object[_0x468b0b(0x232)]['hasOwnProperty'][_0x468b0b(0xcd)](_0x5a1cc9,'default')?_0x5a1cc9[_0x468b0b(0xf2)]:_0x5a1cc9;}function at(_0x2a4976){const _0x26eb33=_0x5ab958;if(Object[_0x26eb33(0x232)]['hasOwnProperty'][_0x26eb33(0xcd)](_0x2a4976,_0x26eb33(0x127)))return _0x2a4976;var _0x51ad20=_0x2a4976['default'];if(typeof _0x51ad20==_0x26eb33(0x193)){var _0x54f781=function _0x4f5624(){const _0x5da1f5=_0x26eb33;return this instanceof _0x4f5624?Reflect['construct'](_0x51ad20,arguments,this[_0x5da1f5(0x1ac)]):_0x51ad20['apply'](this,arguments);};_0x54f781[_0x26eb33(0x232)]=_0x51ad20[_0x26eb33(0x232)];}else _0x54f781={};return Object['defineProperty'](_0x54f781,_0x26eb33(0x127),{'value':!0x0}),Object[_0x26eb33(0x14f)](_0x2a4976)[_0x26eb33(0x1f5)](function(_0x2fb370){const _0x46988f=_0x26eb33;var _0x2ada93=Object['getOwnPropertyDescriptor'](_0x2a4976,_0x2fb370);Object[_0x46988f(0x85)](_0x54f781,_0x2fb370,_0x2ada93[_0x46988f(0xaf)]?_0x2ada93:{'enumerable':!0x0,'get':function(){return _0x2a4976[_0x2fb370];}});}),_0x54f781;}var se={'exports':{}},ge,Ge;function H(){const _0x22f1e7=_0x5ab958;if(Ge)return ge;Ge=0x1;const _0x38c96a=[_0x22f1e7(0x10e),'arraybuffer','fragments'],_0x582d7b=typeof Blob<'u';return _0x582d7b&&_0x38c96a[_0x22f1e7(0x70)]('blob'),ge={'BINARY_TYPES':_0x38c96a,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x22f1e7(0x181),'hasBlob':_0x582d7b,'kForOnEventAttribute':Symbol(_0x22f1e7(0x1ca)),'kListener':Symbol(_0x22f1e7(0xca)),'kStatusCode':Symbol(_0x22f1e7(0x110)),'kWebSocket':Symbol(_0x22f1e7(0xd4)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x5ab958(0x1a0)](Object[_0x5ab958(0x85)]({'__proto__':null,'default':Nt},Symbol['toStringTag'],{'value':'Module'})),Lt=at(kt);var Ve;function ce(){const _0xbda2fc=_0x5ab958;if(Ve)return se[_0xbda2fc(0xe7)];Ve=0x1;const {EMPTY_BUFFER:_0x21508a}=H(),_0x2eea88=Buffer[Symbol[_0xbda2fc(0x1e8)]];function _0x3d9ab9(_0x3916cd,_0x4f8a99){const _0x23df9f=_0xbda2fc;if(_0x3916cd[_0x23df9f(0x1d3)]===0x0)return _0x21508a;if(_0x3916cd['length']===0x1)return _0x3916cd[0x0];const _0xc8bdb7=Buffer[_0x23df9f(0x84)](_0x4f8a99);let _0x3093b9=0x0;for(let _0x61cbb7=0x0;_0x61cbb7<_0x3916cd[_0x23df9f(0x1d3)];_0x61cbb7++){const _0x1b420f=_0x3916cd[_0x61cbb7];_0xc8bdb7['set'](_0x1b420f,_0x3093b9),_0x3093b9+=_0x1b420f[_0x23df9f(0x1d3)];}return _0x3093b9<_0x4f8a99?new _0x2eea88(_0xc8bdb7[_0x23df9f(0x1a3)],_0xc8bdb7[_0x23df9f(0x106)],_0x3093b9):_0xc8bdb7;}function _0xab2242(_0x26c83f,_0x529c23,_0xa85c32,_0x3b1be7,_0x3c5059){for(let _0x179d68=0x0;_0x179d68<_0x3c5059;_0x179d68++)_0xa85c32[_0x3b1be7+_0x179d68]=_0x26c83f[_0x179d68]^_0x529c23[_0x179d68&0x3];}function _0x2f5123(_0x231243,_0x32e47e){const _0x5d73c9=_0xbda2fc;for(let _0x57e7a1=0x0;_0x57e7a1<_0x231243[_0x5d73c9(0x1d3)];_0x57e7a1++)_0x231243[_0x57e7a1]^=_0x32e47e[_0x57e7a1&0x3];}function _0x589f2b(_0x398af8){const _0x1287cb=_0xbda2fc;return _0x398af8[_0x1287cb(0x1d3)]===_0x398af8[_0x1287cb(0x1a3)][_0x1287cb(0x95)]?_0x398af8[_0x1287cb(0x1a3)]:_0x398af8[_0x1287cb(0x1a3)][_0x1287cb(0x115)](_0x398af8[_0x1287cb(0x106)],_0x398af8[_0x1287cb(0x106)]+_0x398af8['length']);}function _0x14ed52(_0x5653c2){const _0xed490=_0xbda2fc;if(_0x14ed52[_0xed490(0x180)]=!0x0,Buffer[_0xed490(0x6b)](_0x5653c2))return _0x5653c2;let _0x742203;return _0x5653c2 instanceof ArrayBuffer?_0x742203=new _0x2eea88(_0x5653c2):ArrayBuffer[_0xed490(0x1fb)](_0x5653c2)?_0x742203=new _0x2eea88(_0x5653c2[_0xed490(0x1a3)],_0x5653c2[_0xed490(0x106)],_0x5653c2[_0xed490(0x95)]):(_0x742203=Buffer[_0xed490(0xb0)](_0x5653c2),_0x14ed52['readOnly']=!0x1),_0x742203;}if(se['exports']={'concat':_0x3d9ab9,'mask':_0xab2242,'toArrayBuffer':_0x589f2b,'toBuffer':_0x14ed52,'unmask':_0x2f5123},!process[_0xbda2fc(0x205)]['WS_NO_BUFFER_UTIL'])try{const _0x3f563d=Lt;se[_0xbda2fc(0xe7)][_0xbda2fc(0x1ba)]=function(_0x562e58,_0x26dd07,_0x2ead61,_0x46c6b4,_0x373a92){_0x373a92<0x30?_0xab2242(_0x562e58,_0x26dd07,_0x2ead61,_0x46c6b4,_0x373a92):_0x3f563d['mask'](_0x562e58,_0x26dd07,_0x2ead61,_0x46c6b4,_0x373a92);},se[_0xbda2fc(0xe7)][_0xbda2fc(0x12e)]=function(_0x324297,_0x13c565){const _0x3d03ba=_0xbda2fc;_0x324297[_0x3d03ba(0x1d3)]<0x20?_0x2f5123(_0x324297,_0x13c565):_0x3f563d[_0x3d03ba(0x12e)](_0x324297,_0x13c565);};}catch{}return se[_0xbda2fc(0xe7)];}var ye,He;function Pt(){const _0xde969f=_0x5ab958;if(He)return ye;He=0x1;const _0x29d89f=Symbol(_0xde969f(0x22c)),_0x279963=Symbol(_0xde969f(0x208));class _0x5972c6{constructor(_0x237fa9){const _0x2acd69=_0xde969f;this[_0x29d89f]=()=>{const _0x39228c=_0x147c;this[_0x39228c(0x97)]--,this[_0x279963]();},this[_0x2acd69(0x13d)]=_0x237fa9||0x1/0x0,this[_0x2acd69(0xda)]=[],this['pending']=0x0;}[_0xde969f(0xb2)](_0x455649){const _0x16e469=_0xde969f;this[_0x16e469(0xda)][_0x16e469(0x70)](_0x455649),this[_0x279963]();}[_0x279963](){const _0x728882=_0xde969f;if(this[_0x728882(0x97)]!==this[_0x728882(0x13d)]&&this[_0x728882(0xda)][_0x728882(0x1d3)]){const _0x95ce4a=this['jobs']['shift']();this['pending']++,_0x95ce4a(this[_0x29d89f]);}}}return ye=_0x5972c6,ye;}function _0x147c(_0x5d4c85,_0x1bd718){const _0x581be2=_0x581b();return _0x147c=function(_0x147c8a,_0x1a915a){_0x147c8a=_0x147c8a-0x6a;let _0x49017c=_0x581be2[_0x147c8a];return _0x49017c;},_0x147c(_0x5d4c85,_0x1bd718);}var ve,ze;function he(){const _0x498c44=_0x5ab958;if(ze)return ve;ze=0x1;const _0x57d724=bt,_0x485f1d=ce(),_0x452b59=Pt(),{kStatusCode:_0x56df91}=H(),_0x144cd0=Buffer[Symbol['species']],_0x57d9c9=Buffer[_0x498c44(0xb0)]([0x0,0x0,0xff,0xff]),_0xf8278c=Symbol(_0x498c44(0xdd)),_0x4a3861=Symbol(_0x498c44(0x195)),_0x208e84=Symbol('callback'),_0x5129f1=Symbol('buffers'),_0x431219=Symbol('error');let _0x480ec8;class _0x4eee68{constructor(_0xe8d10d,_0x1be930,_0x2270b0){const _0x52666c=_0x498c44;if(this[_0x52666c(0xc9)]=_0x2270b0|0x0,this['_options']=_0xe8d10d||{},this['_threshold']=this[_0x52666c(0x14a)][_0x52666c(0x18f)]!==void 0x0?this[_0x52666c(0x14a)][_0x52666c(0x18f)]:0x400,this[_0x52666c(0x122)]=!!_0x1be930,this[_0x52666c(0x91)]=null,this[_0x52666c(0x6a)]=null,this['params']=null,!_0x480ec8){const _0x4ba160=this[_0x52666c(0x14a)][_0x52666c(0x94)]!==void 0x0?this[_0x52666c(0x14a)][_0x52666c(0x94)]:0xa;_0x480ec8=new _0x452b59(_0x4ba160);}}static get[_0x498c44(0x79)](){return'permessage-deflate';}[_0x498c44(0x118)](){const _0xb47a25=_0x498c44,_0x4c7e4e={};return this['_options']['serverNoContextTakeover']&&(_0x4c7e4e[_0xb47a25(0x184)]=!0x0),this['_options'][_0xb47a25(0x1af)]&&(_0x4c7e4e[_0xb47a25(0x145)]=!0x0),this['_options'][_0xb47a25(0x213)]&&(_0x4c7e4e[_0xb47a25(0x22a)]=this[_0xb47a25(0x14a)][_0xb47a25(0x213)]),this['_options']['clientMaxWindowBits']?_0x4c7e4e['client_max_window_bits']=this[_0xb47a25(0x14a)][_0xb47a25(0x1d0)]:this[_0xb47a25(0x14a)][_0xb47a25(0x1d0)]==null&&(_0x4c7e4e[_0xb47a25(0xcf)]=!0x0),_0x4c7e4e;}[_0x498c44(0xfc)](_0x92a130){const _0x2d939c=_0x498c44;return _0x92a130=this[_0x2d939c(0x1e9)](_0x92a130),this[_0x2d939c(0x204)]=this[_0x2d939c(0x122)]?this[_0x2d939c(0x6d)](_0x92a130):this['acceptAsClient'](_0x92a130),this[_0x2d939c(0x204)];}[_0x498c44(0x182)](){const _0x318b96=_0x498c44;if(this[_0x318b96(0x6a)]&&(this[_0x318b96(0x6a)][_0x318b96(0x227)](),this[_0x318b96(0x6a)]=null),this[_0x318b96(0x91)]){const _0xf9ff7c=this[_0x318b96(0x91)][_0x208e84];this[_0x318b96(0x91)][_0x318b96(0x227)](),this[_0x318b96(0x91)]=null,_0xf9ff7c&&_0xf9ff7c(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}['acceptAsServer'](_0x50ca4a){const _0x30d583=_0x498c44,_0x1a3095=this[_0x30d583(0x14a)],_0x2676ce=_0x50ca4a[_0x30d583(0x207)](_0x4ad676=>!(_0x1a3095[_0x30d583(0x114)]===!0x1&&_0x4ad676[_0x30d583(0x184)]||_0x4ad676[_0x30d583(0x22a)]&&(_0x1a3095[_0x30d583(0x213)]===!0x1||typeof _0x1a3095[_0x30d583(0x213)]==_0x30d583(0x15b)&&_0x1a3095[_0x30d583(0x213)]>_0x4ad676[_0x30d583(0x22a)])||typeof _0x1a3095[_0x30d583(0x1d0)]=='number'&&!_0x4ad676[_0x30d583(0xcf)]));if(!_0x2676ce)throw new Error(_0x30d583(0xc7));return _0x1a3095['serverNoContextTakeover']&&(_0x2676ce[_0x30d583(0x184)]=!0x0),_0x1a3095[_0x30d583(0x1af)]&&(_0x2676ce[_0x30d583(0x145)]=!0x0),typeof _0x1a3095['serverMaxWindowBits']=='number'&&(_0x2676ce[_0x30d583(0x22a)]=_0x1a3095[_0x30d583(0x213)]),typeof _0x1a3095[_0x30d583(0x1d0)]=='number'?_0x2676ce[_0x30d583(0xcf)]=_0x1a3095['clientMaxWindowBits']:(_0x2676ce['client_max_window_bits']===!0x0||_0x1a3095[_0x30d583(0x1d0)]===!0x1)&&delete _0x2676ce[_0x30d583(0xcf)],_0x2676ce;}[_0x498c44(0x76)](_0x14b36d){const _0x1d7b37=_0x498c44,_0x3388a8=_0x14b36d[0x0];if(this[_0x1d7b37(0x14a)]['clientNoContextTakeover']===!0x1&&_0x3388a8['client_no_context_takeover'])throw new Error(_0x1d7b37(0x20f));if(!_0x3388a8[_0x1d7b37(0xcf)])typeof this[_0x1d7b37(0x14a)][_0x1d7b37(0x1d0)]==_0x1d7b37(0x15b)&&(_0x3388a8[_0x1d7b37(0xcf)]=this[_0x1d7b37(0x14a)][_0x1d7b37(0x1d0)]);else{if(this[_0x1d7b37(0x14a)][_0x1d7b37(0x1d0)]===!0x1||typeof this['_options'][_0x1d7b37(0x1d0)]=='number'&&_0x3388a8[_0x1d7b37(0xcf)]>this[_0x1d7b37(0x14a)][_0x1d7b37(0x1d0)])throw new Error(_0x1d7b37(0x99));}return _0x3388a8;}[_0x498c44(0x1e9)](_0x3ebb26){const _0x383132=_0x498c44;return _0x3ebb26[_0x383132(0x1f5)](_0x5dc440=>{const _0x4a8e1c=_0x383132;Object[_0x4a8e1c(0x14f)](_0x5dc440)[_0x4a8e1c(0x1f5)](_0x5487d7=>{const _0x51fa66=_0x4a8e1c;let _0x5e73f6=_0x5dc440[_0x5487d7];if(_0x5e73f6[_0x51fa66(0x1d3)]>0x1)throw new Error(_0x51fa66(0x229)+_0x5487d7+_0x51fa66(0x132));if(_0x5e73f6=_0x5e73f6[0x0],_0x5487d7==='client_max_window_bits'){if(_0x5e73f6!==!0x0){const _0x1de721=+_0x5e73f6;if(!Number[_0x51fa66(0x162)](_0x1de721)||_0x1de721<0x8||_0x1de721>0xf)throw new TypeError(_0x51fa66(0x141)+_0x5487d7+_0x51fa66(0x21a)+_0x5e73f6);_0x5e73f6=_0x1de721;}else{if(!this['_isServer'])throw new TypeError(_0x51fa66(0x141)+_0x5487d7+_0x51fa66(0x21a)+_0x5e73f6);}}else{if(_0x5487d7===_0x51fa66(0x22a)){const _0x4ebd59=+_0x5e73f6;if(!Number[_0x51fa66(0x162)](_0x4ebd59)||_0x4ebd59<0x8||_0x4ebd59>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x5487d7+_0x51fa66(0x21a)+_0x5e73f6);_0x5e73f6=_0x4ebd59;}else{if(_0x5487d7===_0x51fa66(0x145)||_0x5487d7===_0x51fa66(0x184)){if(_0x5e73f6!==!0x0)throw new TypeError(_0x51fa66(0x141)+_0x5487d7+_0x51fa66(0x21a)+_0x5e73f6);}else throw new Error(_0x51fa66(0x230)+_0x5487d7+'\x22');}}_0x5dc440[_0x5487d7]=_0x5e73f6;});}),_0x3ebb26;}['decompress'](_0x384789,_0x125d8b,_0x2d888f){_0x480ec8['add'](_0xb56377=>{const _0xdb1588=_0x147c;this[_0xdb1588(0xf4)](_0x384789,_0x125d8b,(_0xc14b12,_0xfdc226)=>{_0xb56377(),_0x2d888f(_0xc14b12,_0xfdc226);});});}[_0x498c44(0xa4)](_0x3332df,_0x52746c,_0x3883c1){const _0x5380d2=_0x498c44;_0x480ec8[_0x5380d2(0xb2)](_0x49d2c9=>{const _0x5d82cc=_0x5380d2;this[_0x5d82cc(0x11b)](_0x3332df,_0x52746c,(_0x27fc7c,_0x5956b8)=>{_0x49d2c9(),_0x3883c1(_0x27fc7c,_0x5956b8);});});}[_0x498c44(0xf4)](_0x1dfaab,_0x3a1c75,_0x81a83c){const _0x51d964=_0x498c44,_0x4fa697=this['_isServer']?'client':_0x51d964(0x1c8);if(!this[_0x51d964(0x6a)]){const _0x35863c=_0x4fa697+_0x51d964(0xa8),_0x4f3ad3=typeof this[_0x51d964(0x204)][_0x35863c]!=_0x51d964(0x15b)?_0x57d724['Z_DEFAULT_WINDOWBITS']:this['params'][_0x35863c];this['_inflate']=_0x57d724[_0x51d964(0x212)]({...this[_0x51d964(0x14a)]['zlibInflateOptions'],'windowBits':_0x4f3ad3}),this[_0x51d964(0x6a)][_0xf8278c]=this,this[_0x51d964(0x6a)][_0x4a3861]=0x0,this[_0x51d964(0x6a)][_0x5129f1]=[],this['_inflate']['on'](_0x51d964(0xe0),_0x442459),this[_0x51d964(0x6a)]['on']('data',_0x321561);}this[_0x51d964(0x6a)][_0x208e84]=_0x81a83c,this[_0x51d964(0x6a)][_0x51d964(0x189)](_0x1dfaab),_0x3a1c75&&this[_0x51d964(0x6a)][_0x51d964(0x189)](_0x57d9c9),this[_0x51d964(0x6a)][_0x51d964(0x17f)](()=>{const _0x5a5df2=_0x51d964,_0x198f04=this['_inflate'][_0x431219];if(_0x198f04){this[_0x5a5df2(0x6a)][_0x5a5df2(0x227)](),this[_0x5a5df2(0x6a)]=null,_0x81a83c(_0x198f04);return;}const _0x1ac21=_0x485f1d['concat'](this[_0x5a5df2(0x6a)][_0x5129f1],this[_0x5a5df2(0x6a)][_0x4a3861]);this[_0x5a5df2(0x6a)][_0x5a5df2(0x6f)][_0x5a5df2(0x82)]?(this[_0x5a5df2(0x6a)][_0x5a5df2(0x227)](),this[_0x5a5df2(0x6a)]=null):(this[_0x5a5df2(0x6a)][_0x4a3861]=0x0,this['_inflate'][_0x5129f1]=[],_0x3a1c75&&this[_0x5a5df2(0x204)][_0x4fa697+_0x5a5df2(0x1fc)]&&this['_inflate'][_0x5a5df2(0xaa)]()),_0x81a83c(null,_0x1ac21);});}[_0x498c44(0x11b)](_0x1c1a20,_0x5e931b,_0x440ab9){const _0x1c96ee=_0x498c44,_0x57aa84=this[_0x1c96ee(0x122)]?_0x1c96ee(0x1c8):_0x1c96ee(0x1e5);if(!this[_0x1c96ee(0x91)]){const _0x5442c4=_0x57aa84+_0x1c96ee(0xa8),_0x55710d=typeof this[_0x1c96ee(0x204)][_0x5442c4]!=_0x1c96ee(0x15b)?_0x57d724[_0x1c96ee(0x12a)]:this[_0x1c96ee(0x204)][_0x5442c4];this[_0x1c96ee(0x91)]=_0x57d724[_0x1c96ee(0x19c)]({...this[_0x1c96ee(0x14a)]['zlibDeflateOptions'],'windowBits':_0x55710d}),this['_deflate'][_0x4a3861]=0x0,this[_0x1c96ee(0x91)][_0x5129f1]=[],this['_deflate']['on'](_0x1c96ee(0x19d),_0x1276a2);}this[_0x1c96ee(0x91)][_0x208e84]=_0x440ab9,this[_0x1c96ee(0x91)]['write'](_0x1c1a20),this['_deflate'][_0x1c96ee(0x17f)](_0x57d724[_0x1c96ee(0x1d6)],()=>{const _0x193e0f=_0x1c96ee;if(!this[_0x193e0f(0x91)])return;let _0x446fda=_0x485f1d[_0x193e0f(0xab)](this[_0x193e0f(0x91)][_0x5129f1],this[_0x193e0f(0x91)][_0x4a3861]);_0x5e931b&&(_0x446fda=new _0x144cd0(_0x446fda[_0x193e0f(0x1a3)],_0x446fda['byteOffset'],_0x446fda[_0x193e0f(0x1d3)]-0x4)),this[_0x193e0f(0x91)][_0x208e84]=null,this[_0x193e0f(0x91)][_0x4a3861]=0x0,this['_deflate'][_0x5129f1]=[],_0x5e931b&&this[_0x193e0f(0x204)][_0x57aa84+_0x193e0f(0x1fc)]&&this[_0x193e0f(0x91)][_0x193e0f(0xaa)](),_0x440ab9(null,_0x446fda);});}}ve=_0x4eee68;function _0x1276a2(_0x5c9b31){const _0x2cf4ba=_0x498c44;this[_0x5129f1][_0x2cf4ba(0x70)](_0x5c9b31),this[_0x4a3861]+=_0x5c9b31[_0x2cf4ba(0x1d3)];}function _0x321561(_0x3a7119){const _0x564b34=_0x498c44;if(this[_0x4a3861]+=_0x3a7119[_0x564b34(0x1d3)],this[_0xf8278c]['_maxPayload']<0x1||this[_0x4a3861]<=this[_0xf8278c][_0x564b34(0xc9)]){this[_0x5129f1][_0x564b34(0x70)](_0x3a7119);return;}this[_0x431219]=new RangeError(_0x564b34(0x9b)),this[_0x431219]['code']='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x431219][_0x56df91]=0x3f1,this['removeListener'](_0x564b34(0x19d),_0x321561),this[_0x564b34(0xaa)]();}function _0x442459(_0x2e4f72){const _0x54a8e8=_0x498c44;if(this[_0xf8278c][_0x54a8e8(0x6a)]=null,this[_0x431219]){this[_0x208e84](this[_0x431219]);return;}_0x2e4f72[_0x56df91]=0x3ef,this[_0x208e84](_0x2e4f72);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object[_0x5ab958(0x85)]({'__proto__':null,'default':Dt},Symbol[_0x5ab958(0xdb)],{'value':'Module'})),Bt=at(Rt);var Ye;function ae(){const _0x427aa8=_0x5ab958;if(Ye)return ie[_0x427aa8(0xe7)];Ye=0x1;const {isUtf8:_0x25dca5}=wt,{hasBlob:_0x22de04}=H(),_0x1d93e6=[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 _0x1c8138(_0x350cd3){return _0x350cd3>=0x3e8&&_0x350cd3<=0x3f6&&_0x350cd3!==0x3ec&&_0x350cd3!==0x3ed&&_0x350cd3!==0x3ee||_0x350cd3>=0xbb8&&_0x350cd3<=0x1387;}function _0x26c17a(_0x3a902f){const _0x14ad35=_0x427aa8,_0x142f16=_0x3a902f[_0x14ad35(0x1d3)];let _0x5031f8=0x0;for(;_0x5031f8<_0x142f16;)if((_0x3a902f[_0x5031f8]&0x80)===0x0)_0x5031f8++;else{if((_0x3a902f[_0x5031f8]&0xe0)===0xc0){if(_0x5031f8+0x1===_0x142f16||(_0x3a902f[_0x5031f8+0x1]&0xc0)!==0x80||(_0x3a902f[_0x5031f8]&0xfe)===0xc0)return!0x1;_0x5031f8+=0x2;}else{if((_0x3a902f[_0x5031f8]&0xf0)===0xe0){if(_0x5031f8+0x2>=_0x142f16||(_0x3a902f[_0x5031f8+0x1]&0xc0)!==0x80||(_0x3a902f[_0x5031f8+0x2]&0xc0)!==0x80||_0x3a902f[_0x5031f8]===0xe0&&(_0x3a902f[_0x5031f8+0x1]&0xe0)===0x80||_0x3a902f[_0x5031f8]===0xed&&(_0x3a902f[_0x5031f8+0x1]&0xe0)===0xa0)return!0x1;_0x5031f8+=0x3;}else{if((_0x3a902f[_0x5031f8]&0xf8)===0xf0){if(_0x5031f8+0x3>=_0x142f16||(_0x3a902f[_0x5031f8+0x1]&0xc0)!==0x80||(_0x3a902f[_0x5031f8+0x2]&0xc0)!==0x80||(_0x3a902f[_0x5031f8+0x3]&0xc0)!==0x80||_0x3a902f[_0x5031f8]===0xf0&&(_0x3a902f[_0x5031f8+0x1]&0xf0)===0x80||_0x3a902f[_0x5031f8]===0xf4&&_0x3a902f[_0x5031f8+0x1]>0x8f||_0x3a902f[_0x5031f8]>0xf4)return!0x1;_0x5031f8+=0x4;}else return!0x1;}}}return!0x0;}function _0x1a0822(_0x30b93a){const _0x38999a=_0x427aa8;return _0x22de04&&typeof _0x30b93a==_0x38999a(0x20b)&&typeof _0x30b93a[_0x38999a(0xf0)]=='function'&&typeof _0x30b93a[_0x38999a(0x9c)]==_0x38999a(0x219)&&typeof _0x30b93a[_0x38999a(0x8c)]==_0x38999a(0x193)&&(_0x30b93a[Symbol[_0x38999a(0xdb)]]===_0x38999a(0x125)||_0x30b93a[Symbol[_0x38999a(0xdb)]]===_0x38999a(0xf1));}if(ie[_0x427aa8(0xe7)]={'isBlob':_0x1a0822,'isValidStatusCode':_0x1c8138,'isValidUTF8':_0x26c17a,'tokenChars':_0x1d93e6},_0x25dca5)ie[_0x427aa8(0xe7)][_0x427aa8(0x92)]=function(_0x94e483){const _0x412de6=_0x427aa8;return _0x94e483[_0x412de6(0x1d3)]<0x18?_0x26c17a(_0x94e483):_0x25dca5(_0x94e483);};else{if(!process[_0x427aa8(0x205)]['WS_NO_UTF_8_VALIDATE'])try{const _0x5a36cd=Bt;ie['exports']['isValidUTF8']=function(_0x14d85a){return _0x14d85a['length']<0x20?_0x26c17a(_0x14d85a):_0x5a36cd(_0x14d85a);};}catch{}}return ie['exports'];}var Se,Ke;function lt(){const _0x46edc9=_0x5ab958;if(Ke)return Se;Ke=0x1;const {Writable:_0xfaa0a}=oe,_0x1cff71=he(),{BINARY_TYPES:_0x110a68,EMPTY_BUFFER:_0x9da1b3,kStatusCode:_0x494b33,kWebSocket:_0x983838}=H(),{concat:_0x2997f8,toArrayBuffer:_0x27f761,unmask:_0x1f60f7}=ce(),{isValidStatusCode:_0x117b36,isValidUTF8:_0x31e1e2}=ae(),_0x454404=Buffer[Symbol[_0x46edc9(0x1e8)]],_0x4f7e69=0x0,_0x41d632=0x1,_0x2f57ed=0x2,_0x44ea4c=0x3,_0x33f818=0x4,_0x5e329d=0x5,_0x6ff211=0x6;class _0x29431d extends _0xfaa0a{constructor(_0x598347={}){const _0x56b44e=_0x46edc9;super(),this[_0x56b44e(0xb9)]=_0x598347[_0x56b44e(0x221)]!==void 0x0?_0x598347['allowSynchronousEvents']:!0x0,this[_0x56b44e(0x144)]=_0x598347['binaryType']||_0x110a68[0x0],this['_extensions']=_0x598347[_0x56b44e(0xe8)]||{},this[_0x56b44e(0x122)]=!!_0x598347[_0x56b44e(0xec)],this[_0x56b44e(0xc9)]=_0x598347['maxPayload']|0x0,this['_skipUTF8Validation']=!!_0x598347[_0x56b44e(0x22d)],this[_0x983838]=void 0x0,this[_0x56b44e(0xeb)]=0x0,this[_0x56b44e(0x74)]=[],this[_0x56b44e(0xf9)]=!0x1,this[_0x56b44e(0x18e)]=0x0,this['_mask']=void 0x0,this['_fragmented']=0x0,this[_0x56b44e(0xae)]=!0x1,this[_0x56b44e(0x1cb)]=!0x1,this['_opcode']=0x0,this[_0x56b44e(0x1df)]=0x0,this[_0x56b44e(0x1aa)]=0x0,this[_0x56b44e(0x10c)]=[],this['_errored']=!0x1,this['_loop']=!0x1,this[_0x56b44e(0x1cf)]=_0x4f7e69;}[_0x46edc9(0x1f9)](_0x1cefb4,_0xa25ca2,_0xce786b){const _0x2ae9f6=_0x46edc9;if(this[_0x2ae9f6(0x164)]===0x8&&this[_0x2ae9f6(0x1cf)]==_0x4f7e69)return _0xce786b();this['_bufferedBytes']+=_0x1cefb4[_0x2ae9f6(0x1d3)],this[_0x2ae9f6(0x74)]['push'](_0x1cefb4),this[_0x2ae9f6(0xe9)](_0xce786b);}['consume'](_0x40e5d2){const _0x512d42=_0x46edc9;if(this[_0x512d42(0xeb)]-=_0x40e5d2,_0x40e5d2===this[_0x512d42(0x74)][0x0][_0x512d42(0x1d3)])return this['_buffers']['shift']();if(_0x40e5d2<this[_0x512d42(0x74)][0x0][_0x512d42(0x1d3)]){const _0x3cfee5=this[_0x512d42(0x74)][0x0];return this['_buffers'][0x0]=new _0x454404(_0x3cfee5[_0x512d42(0x1a3)],_0x3cfee5[_0x512d42(0x106)]+_0x40e5d2,_0x3cfee5[_0x512d42(0x1d3)]-_0x40e5d2),new _0x454404(_0x3cfee5[_0x512d42(0x1a3)],_0x3cfee5['byteOffset'],_0x40e5d2);}const _0x27f4f4=Buffer[_0x512d42(0x84)](_0x40e5d2);do{const _0x3c5360=this[_0x512d42(0x74)][0x0],_0x5df277=_0x27f4f4['length']-_0x40e5d2;_0x40e5d2>=_0x3c5360[_0x512d42(0x1d3)]?_0x27f4f4[_0x512d42(0x13f)](this[_0x512d42(0x74)]['shift'](),_0x5df277):(_0x27f4f4[_0x512d42(0x13f)](new Uint8Array(_0x3c5360[_0x512d42(0x1a3)],_0x3c5360[_0x512d42(0x106)],_0x40e5d2),_0x5df277),this[_0x512d42(0x74)][0x0]=new _0x454404(_0x3c5360['buffer'],_0x3c5360[_0x512d42(0x106)]+_0x40e5d2,_0x3c5360['length']-_0x40e5d2)),_0x40e5d2-=_0x3c5360[_0x512d42(0x1d3)];}while(_0x40e5d2>0x0);return _0x27f4f4;}[_0x46edc9(0xe9)](_0x236867){const _0x5bbf4d=_0x46edc9;this[_0x5bbf4d(0x8e)]=!0x0;do switch(this[_0x5bbf4d(0x1cf)]){case _0x4f7e69:this['getInfo'](_0x236867);break;case _0x41d632:this[_0x5bbf4d(0x8a)](_0x236867);break;case _0x2f57ed:this[_0x5bbf4d(0x9d)](_0x236867);break;case _0x44ea4c:this[_0x5bbf4d(0x21c)]();break;case _0x33f818:this['getData'](_0x236867);break;case _0x5e329d:case _0x6ff211:this[_0x5bbf4d(0x8e)]=!0x1;return;}while(this['_loop']);this['_errored']||_0x236867();}['getInfo'](_0x3d5e08){const _0x56057f=_0x46edc9;if(this[_0x56057f(0xeb)]<0x2){this[_0x56057f(0x8e)]=!0x1;return;}const _0x18bb85=this[_0x56057f(0xa2)](0x2);if((_0x18bb85[0x0]&0x30)!==0x0){const _0x13c462=this['createError'](RangeError,_0x56057f(0x1e0),!0x0,0x3ea,_0x56057f(0x120));_0x3d5e08(_0x13c462);return;}const _0x3eadec=(_0x18bb85[0x0]&0x40)===0x40;if(_0x3eadec&&!this[_0x56057f(0xe2)][_0x1cff71[_0x56057f(0x79)]]){const _0x56001f=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x56057f(0xed));_0x3d5e08(_0x56001f);return;}if(this['_fin']=(_0x18bb85[0x0]&0x80)===0x80,this[_0x56057f(0x164)]=_0x18bb85[0x0]&0xf,this[_0x56057f(0x18e)]=_0x18bb85[0x1]&0x7f,this[_0x56057f(0x164)]===0x0){if(_0x3eadec){const _0x15785f=this[_0x56057f(0xc2)](RangeError,_0x56057f(0x211),!0x0,0x3ea,_0x56057f(0xed));_0x3d5e08(_0x15785f);return;}if(!this[_0x56057f(0x156)]){const _0x303f4b=this[_0x56057f(0xc2)](RangeError,_0x56057f(0x220),!0x0,0x3ea,_0x56057f(0x196));_0x3d5e08(_0x303f4b);return;}this[_0x56057f(0x164)]=this[_0x56057f(0x156)];}else{if(this[_0x56057f(0x164)]===0x1||this['_opcode']===0x2){if(this[_0x56057f(0x156)]){const _0x23a9cf=this[_0x56057f(0xc2)](RangeError,_0x56057f(0x15c)+this[_0x56057f(0x164)],!0x0,0x3ea,_0x56057f(0x196));_0x3d5e08(_0x23a9cf);return;}this['_compressed']=_0x3eadec;}else{if(this['_opcode']>0x7&&this[_0x56057f(0x164)]<0xb){if(!this[_0x56057f(0x1cb)]){const _0x59f66b=this[_0x56057f(0xc2)](RangeError,_0x56057f(0x10f),!0x0,0x3ea,_0x56057f(0xd2));_0x3d5e08(_0x59f66b);return;}if(_0x3eadec){const _0xa05692=this['createError'](RangeError,_0x56057f(0x211),!0x0,0x3ea,_0x56057f(0xed));_0x3d5e08(_0xa05692);return;}if(this['_payloadLength']>0x7d||this['_opcode']===0x8&&this['_payloadLength']===0x1){const _0x409576=this[_0x56057f(0xc2)](RangeError,_0x56057f(0x1fe)+this[_0x56057f(0x18e)],!0x0,0x3ea,_0x56057f(0x177));_0x3d5e08(_0x409576);return;}}else{const _0x5d0f75=this[_0x56057f(0xc2)](RangeError,'invalid\x20opcode\x20'+this[_0x56057f(0x164)],!0x0,0x3ea,_0x56057f(0x196));_0x3d5e08(_0x5d0f75);return;}}}if(!this[_0x56057f(0x1cb)]&&!this[_0x56057f(0x156)]&&(this[_0x56057f(0x156)]=this[_0x56057f(0x164)]),this[_0x56057f(0xae)]=(_0x18bb85[0x1]&0x80)===0x80,this[_0x56057f(0x122)]){if(!this[_0x56057f(0xae)]){const _0xd5da57=this[_0x56057f(0xc2)](RangeError,_0x56057f(0x209),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x3d5e08(_0xd5da57);return;}}else{if(this['_masked']){const _0x281798=this['createError'](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x56057f(0xad));_0x3d5e08(_0x281798);return;}}this[_0x56057f(0x18e)]===0x7e?this[_0x56057f(0x1cf)]=_0x41d632:this['_payloadLength']===0x7f?this[_0x56057f(0x1cf)]=_0x2f57ed:this['haveLength'](_0x3d5e08);}[_0x46edc9(0x8a)](_0xcd689d){const _0x1288b0=_0x46edc9;if(this[_0x1288b0(0xeb)]<0x2){this[_0x1288b0(0x8e)]=!0x1;return;}this['_payloadLength']=this[_0x1288b0(0xa2)](0x2)['readUInt16BE'](0x0),this[_0x1288b0(0xc4)](_0xcd689d);}['getPayloadLength64'](_0x22c035){const _0x4053be=_0x46edc9;if(this[_0x4053be(0xeb)]<0x8){this[_0x4053be(0x8e)]=!0x1;return;}const _0x268ffa=this[_0x4053be(0xa2)](0x8),_0x4b8156=_0x268ffa[_0x4053be(0x1bc)](0x0);if(_0x4b8156>Math[_0x4053be(0x1f1)](0x2,0x15)-0x1){const _0x48fdff=this['createError'](RangeError,_0x4053be(0x1c3),!0x1,0x3f1,_0x4053be(0x15f));_0x22c035(_0x48fdff);return;}this[_0x4053be(0x18e)]=_0x4b8156*Math[_0x4053be(0x1f1)](0x2,0x20)+_0x268ffa['readUInt32BE'](0x4),this[_0x4053be(0xc4)](_0x22c035);}[_0x46edc9(0xc4)](_0x5dd1f2){const _0x824e53=_0x46edc9;if(this[_0x824e53(0x18e)]&&this[_0x824e53(0x164)]<0x8&&(this[_0x824e53(0x1df)]+=this['_payloadLength'],this[_0x824e53(0x1df)]>this[_0x824e53(0xc9)]&&this[_0x824e53(0xc9)]>0x0)){const _0x8572cc=this[_0x824e53(0xc2)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x824e53(0x1f4));_0x5dd1f2(_0x8572cc);return;}this['_masked']?this['_state']=_0x44ea4c:this[_0x824e53(0x1cf)]=_0x33f818;}[_0x46edc9(0x21c)](){const _0x1b3cf9=_0x46edc9;if(this['_bufferedBytes']<0x4){this[_0x1b3cf9(0x8e)]=!0x1;return;}this[_0x1b3cf9(0xbd)]=this[_0x1b3cf9(0xa2)](0x4),this[_0x1b3cf9(0x1cf)]=_0x33f818;}[_0x46edc9(0x222)](_0x169888){const _0x455723=_0x46edc9;let _0x53fb09=_0x9da1b3;if(this[_0x455723(0x18e)]){if(this[_0x455723(0xeb)]<this[_0x455723(0x18e)]){this['_loop']=!0x1;return;}_0x53fb09=this[_0x455723(0xa2)](this[_0x455723(0x18e)]),this[_0x455723(0xae)]&&(this['_mask'][0x0]|this[_0x455723(0xbd)][0x1]|this[_0x455723(0xbd)][0x2]|this[_0x455723(0xbd)][0x3])!==0x0&&_0x1f60f7(_0x53fb09,this[_0x455723(0xbd)]);}if(this[_0x455723(0x164)]>0x7){this[_0x455723(0x202)](_0x53fb09,_0x169888);return;}if(this[_0x455723(0xf9)]){this[_0x455723(0x1cf)]=_0x5e329d,this['decompress'](_0x53fb09,_0x169888);return;}_0x53fb09[_0x455723(0x1d3)]&&(this[_0x455723(0x1aa)]=this[_0x455723(0x1df)],this['_fragments'][_0x455723(0x70)](_0x53fb09)),this[_0x455723(0x1a9)](_0x169888);}[_0x46edc9(0x198)](_0x2ff388,_0x23274e){const _0x3e3f85=_0x46edc9;this[_0x3e3f85(0xe2)][_0x1cff71[_0x3e3f85(0x79)]][_0x3e3f85(0x198)](_0x2ff388,this[_0x3e3f85(0x1cb)],(_0x23b85e,_0x4892d5)=>{const _0x40a978=_0x3e3f85;if(_0x23b85e)return _0x23274e(_0x23b85e);if(_0x4892d5[_0x40a978(0x1d3)]){if(this[_0x40a978(0x1aa)]+=_0x4892d5['length'],this[_0x40a978(0x1aa)]>this[_0x40a978(0xc9)]&&this[_0x40a978(0xc9)]>0x0){const _0x535605=this[_0x40a978(0xc2)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x40a978(0x1f4));_0x23274e(_0x535605);return;}this[_0x40a978(0x10c)]['push'](_0x4892d5);}this[_0x40a978(0x1a9)](_0x23274e),this[_0x40a978(0x1cf)]===_0x4f7e69&&this['startLoop'](_0x23274e);});}['dataMessage'](_0x4ad949){const _0x271e79=_0x46edc9;if(!this[_0x271e79(0x1cb)]){this[_0x271e79(0x1cf)]=_0x4f7e69;return;}const _0x46829d=this[_0x271e79(0x1aa)],_0x1a1277=this[_0x271e79(0x10c)];if(this[_0x271e79(0x1df)]=0x0,this[_0x271e79(0x1aa)]=0x0,this[_0x271e79(0x156)]=0x0,this[_0x271e79(0x10c)]=[],this[_0x271e79(0x164)]===0x2){let _0x392620;this['_binaryType']==='nodebuffer'?_0x392620=_0x2997f8(_0x1a1277,_0x46829d):this[_0x271e79(0x144)]===_0x271e79(0xbf)?_0x392620=_0x27f761(_0x2997f8(_0x1a1277,_0x46829d)):this[_0x271e79(0x144)]===_0x271e79(0xb6)?_0x392620=new Blob(_0x1a1277):_0x392620=_0x1a1277,this['_allowSynchronousEvents']?(this[_0x271e79(0x146)](_0x271e79(0x133),_0x392620,!0x0),this[_0x271e79(0x1cf)]=_0x4f7e69):(this[_0x271e79(0x1cf)]=_0x6ff211,setImmediate(()=>{const _0x31977d=_0x271e79;this[_0x31977d(0x146)](_0x31977d(0x133),_0x392620,!0x0),this[_0x31977d(0x1cf)]=_0x4f7e69,this[_0x31977d(0xe9)](_0x4ad949);}));}else{const _0x1b4e22=_0x2997f8(_0x1a1277,_0x46829d);if(!this[_0x271e79(0x231)]&&!_0x31e1e2(_0x1b4e22)){const _0x521476=this[_0x271e79(0xc2)](Error,_0x271e79(0x1a6),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x4ad949(_0x521476);return;}this[_0x271e79(0x1cf)]===_0x5e329d||this[_0x271e79(0xb9)]?(this[_0x271e79(0x146)](_0x271e79(0x133),_0x1b4e22,!0x1),this[_0x271e79(0x1cf)]=_0x4f7e69):(this['_state']=_0x6ff211,setImmediate(()=>{const _0x37935a=_0x271e79;this[_0x37935a(0x146)](_0x37935a(0x133),_0x1b4e22,!0x1),this[_0x37935a(0x1cf)]=_0x4f7e69,this[_0x37935a(0xe9)](_0x4ad949);}));}}[_0x46edc9(0x202)](_0x463280,_0x2f6c57){const _0x1cc039=_0x46edc9;if(this[_0x1cc039(0x164)]===0x8){if(_0x463280[_0x1cc039(0x1d3)]===0x0)this[_0x1cc039(0x8e)]=!0x1,this[_0x1cc039(0x146)]('conclude',0x3ed,_0x9da1b3),this[_0x1cc039(0x214)]();else{const _0x166d69=_0x463280[_0x1cc039(0x1ed)](0x0);if(!_0x117b36(_0x166d69)){const _0x4f3d80=this[_0x1cc039(0xc2)](RangeError,_0x1cc039(0xd8)+_0x166d69,!0x0,0x3ea,_0x1cc039(0x22e));_0x2f6c57(_0x4f3d80);return;}const _0x3b761a=new _0x454404(_0x463280['buffer'],_0x463280[_0x1cc039(0x106)]+0x2,_0x463280[_0x1cc039(0x1d3)]-0x2);if(!this[_0x1cc039(0x231)]&&!_0x31e1e2(_0x3b761a)){const _0x2ed85e=this[_0x1cc039(0xc2)](Error,_0x1cc039(0x1a6),!0x0,0x3ef,_0x1cc039(0x1be));_0x2f6c57(_0x2ed85e);return;}this[_0x1cc039(0x8e)]=!0x1,this[_0x1cc039(0x146)](_0x1cc039(0xfd),_0x166d69,_0x3b761a),this[_0x1cc039(0x214)]();}this[_0x1cc039(0x1cf)]=_0x4f7e69;return;}this[_0x1cc039(0xb9)]?(this['emit'](this['_opcode']===0x9?_0x1cc039(0x17c):_0x1cc039(0x174),_0x463280),this['_state']=_0x4f7e69):(this['_state']=_0x6ff211,setImmediate(()=>{const _0x4612fa=_0x1cc039;this[_0x4612fa(0x146)](this['_opcode']===0x9?_0x4612fa(0x17c):'pong',_0x463280),this[_0x4612fa(0x1cf)]=_0x4f7e69,this[_0x4612fa(0xe9)](_0x2f6c57);}));}[_0x46edc9(0xc2)](_0x5b4550,_0x242655,_0x335112,_0xd023c1,_0x5b6061){const _0x3122c6=_0x46edc9;this[_0x3122c6(0x8e)]=!0x1,this[_0x3122c6(0x8b)]=!0x0;const _0xc41e3d=new _0x5b4550(_0x335112?'Invalid\x20WebSocket\x20frame:\x20'+_0x242655:_0x242655);return Error[_0x3122c6(0x21e)](_0xc41e3d,this['createError']),_0xc41e3d['code']=_0x5b6061,_0xc41e3d[_0x494b33]=_0xd023c1,_0xc41e3d;}}return Se=_0x29431d,Se;}var Ee,Xe;function ft(){const _0x213274=_0x5ab958;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x306ded}=oe,{randomFillSync:_0x48646d}=Le,_0x184c2d=he(),{EMPTY_BUFFER:_0x544724,kWebSocket:_0xff3196,NOOP:_0x1d51ac}=H(),{isBlob:_0x164794,isValidStatusCode:_0x5bb13e}=ae(),{mask:_0x2412d8,toBuffer:_0x4b08a2}=ce(),_0x141e03=Symbol(_0x213274(0xe3)),_0x136a7c=Buffer[_0x213274(0x6c)](0x4),_0x348bf=0x8*0x400;let _0x2a6b36,_0x53ea0d=_0x348bf;const _0x185c2c=0x0,_0x5049a9=0x1,_0x2b8735=0x2;class _0x35ad89{constructor(_0x485439,_0xbcec38,_0x558dc5){const _0x23e0fb=_0x213274;this[_0x23e0fb(0xe2)]=_0xbcec38||{},_0x558dc5&&(this['_generateMask']=_0x558dc5,this[_0x23e0fb(0x1ff)]=Buffer[_0x23e0fb(0x6c)](0x4)),this['_socket']=_0x485439,this['_firstFragment']=!0x0,this['_compress']=!0x1,this['_bufferedBytes']=0x0,this[_0x23e0fb(0xc8)]=[],this[_0x23e0fb(0x1cf)]=_0x185c2c,this[_0x23e0fb(0xa6)]=_0x1d51ac,this[_0xff3196]=void 0x0;}static[_0x213274(0xcb)](_0x2cdd08,_0x5ba5ab){const _0x58e928=_0x213274;let _0x199943,_0x46e70b=!0x1,_0x3ec069=0x2,_0x1ea7fd=!0x1;_0x5ba5ab['mask']&&(_0x199943=_0x5ba5ab[_0x58e928(0x6e)]||_0x136a7c,_0x5ba5ab[_0x58e928(0x21d)]?_0x5ba5ab['generateMask'](_0x199943):(_0x53ea0d===_0x348bf&&(_0x2a6b36===void 0x0&&(_0x2a6b36=Buffer['alloc'](_0x348bf)),_0x48646d(_0x2a6b36,0x0,_0x348bf),_0x53ea0d=0x0),_0x199943[0x0]=_0x2a6b36[_0x53ea0d++],_0x199943[0x1]=_0x2a6b36[_0x53ea0d++],_0x199943[0x2]=_0x2a6b36[_0x53ea0d++],_0x199943[0x3]=_0x2a6b36[_0x53ea0d++]),_0x1ea7fd=(_0x199943[0x0]|_0x199943[0x1]|_0x199943[0x2]|_0x199943[0x3])===0x0,_0x3ec069=0x6);let _0x2e7fd2;typeof _0x2cdd08=='string'?(!_0x5ba5ab['mask']||_0x1ea7fd)&&_0x5ba5ab[_0x141e03]!==void 0x0?_0x2e7fd2=_0x5ba5ab[_0x141e03]:(_0x2cdd08=Buffer[_0x58e928(0xb0)](_0x2cdd08),_0x2e7fd2=_0x2cdd08[_0x58e928(0x1d3)]):(_0x2e7fd2=_0x2cdd08[_0x58e928(0x1d3)],_0x46e70b=_0x5ba5ab[_0x58e928(0x1ba)]&&_0x5ba5ab[_0x58e928(0x180)]&&!_0x1ea7fd);let _0x349fe9=_0x2e7fd2;_0x2e7fd2>=0x10000?(_0x3ec069+=0x8,_0x349fe9=0x7f):_0x2e7fd2>0x7d&&(_0x3ec069+=0x2,_0x349fe9=0x7e);const _0xbe0c3a=Buffer[_0x58e928(0x84)](_0x46e70b?_0x2e7fd2+_0x3ec069:_0x3ec069);return _0xbe0c3a[0x0]=_0x5ba5ab[_0x58e928(0xde)]?_0x5ba5ab[_0x58e928(0xb8)]|0x80:_0x5ba5ab['opcode'],_0x5ba5ab[_0x58e928(0x160)]&&(_0xbe0c3a[0x0]|=0x40),_0xbe0c3a[0x1]=_0x349fe9,_0x349fe9===0x7e?_0xbe0c3a[_0x58e928(0x187)](_0x2e7fd2,0x2):_0x349fe9===0x7f&&(_0xbe0c3a[0x2]=_0xbe0c3a[0x3]=0x0,_0xbe0c3a[_0x58e928(0x8d)](_0x2e7fd2,0x4,0x6)),_0x5ba5ab['mask']?(_0xbe0c3a[0x1]|=0x80,_0xbe0c3a[_0x3ec069-0x4]=_0x199943[0x0],_0xbe0c3a[_0x3ec069-0x3]=_0x199943[0x1],_0xbe0c3a[_0x3ec069-0x2]=_0x199943[0x2],_0xbe0c3a[_0x3ec069-0x1]=_0x199943[0x3],_0x1ea7fd?[_0xbe0c3a,_0x2cdd08]:_0x46e70b?(_0x2412d8(_0x2cdd08,_0x199943,_0xbe0c3a,_0x3ec069,_0x2e7fd2),[_0xbe0c3a]):(_0x2412d8(_0x2cdd08,_0x199943,_0x2cdd08,0x0,_0x2e7fd2),[_0xbe0c3a,_0x2cdd08])):[_0xbe0c3a,_0x2cdd08];}[_0x213274(0x227)](_0x520c12,_0x417e82,_0x296252,_0x4d435a){const _0x47166b=_0x213274;let _0x37ec77;if(_0x520c12===void 0x0)_0x37ec77=_0x544724;else{if(typeof _0x520c12!=_0x47166b(0x15b)||!_0x5bb13e(_0x520c12))throw new TypeError(_0x47166b(0x15d));if(_0x417e82===void 0x0||!_0x417e82[_0x47166b(0x1d3)])_0x37ec77=Buffer[_0x47166b(0x84)](0x2),_0x37ec77[_0x47166b(0x187)](_0x520c12,0x0);else{const _0x514341=Buffer['byteLength'](_0x417e82);if(_0x514341>0x7b)throw new RangeError(_0x47166b(0x11d));_0x37ec77=Buffer[_0x47166b(0x84)](0x2+_0x514341),_0x37ec77['writeUInt16BE'](_0x520c12,0x0),typeof _0x417e82=='string'?_0x37ec77[_0x47166b(0x189)](_0x417e82,0x2):_0x37ec77[_0x47166b(0x13f)](_0x417e82,0x2);}}const _0x1295af={[_0x141e03]:_0x37ec77['length'],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x296252,'maskBuffer':this[_0x47166b(0x1ff)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x47166b(0x1cf)]!==_0x185c2c?this[_0x47166b(0x1bd)]([this[_0x47166b(0x20c)],_0x37ec77,!0x1,_0x1295af,_0x4d435a]):this[_0x47166b(0x20d)](_0x35ad89[_0x47166b(0xcb)](_0x37ec77,_0x1295af),_0x4d435a);}[_0x213274(0x17c)](_0x154499,_0x3fcf6f,_0x504629){const _0x15bc54=_0x213274;let _0x1fb7c5,_0x4de470;if(typeof _0x154499=='string'?(_0x1fb7c5=Buffer[_0x15bc54(0x95)](_0x154499),_0x4de470=!0x1):_0x164794(_0x154499)?(_0x1fb7c5=_0x154499[_0x15bc54(0x1c0)],_0x4de470=!0x1):(_0x154499=_0x4b08a2(_0x154499),_0x1fb7c5=_0x154499[_0x15bc54(0x1d3)],_0x4de470=_0x4b08a2['readOnly']),_0x1fb7c5>0x7d)throw new RangeError(_0x15bc54(0xd5));const _0x88456b={[_0x141e03]:_0x1fb7c5,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x3fcf6f,'maskBuffer':this[_0x15bc54(0x1ff)],'opcode':0x9,'readOnly':_0x4de470,'rsv1':!0x1};_0x164794(_0x154499)?this[_0x15bc54(0x1cf)]!==_0x185c2c?this[_0x15bc54(0x1bd)]([this[_0x15bc54(0xbe)],_0x154499,!0x1,_0x88456b,_0x504629]):this[_0x15bc54(0xbe)](_0x154499,!0x1,_0x88456b,_0x504629):this['_state']!==_0x185c2c?this[_0x15bc54(0x1bd)]([this[_0x15bc54(0x20c)],_0x154499,!0x1,_0x88456b,_0x504629]):this[_0x15bc54(0x20d)](_0x35ad89[_0x15bc54(0xcb)](_0x154499,_0x88456b),_0x504629);}[_0x213274(0x174)](_0x357d8b,_0x542b83,_0x56ab19){const _0x3dad5e=_0x213274;let _0x4d9f7b,_0x2398d5;if(typeof _0x357d8b==_0x3dad5e(0x219)?(_0x4d9f7b=Buffer[_0x3dad5e(0x95)](_0x357d8b),_0x2398d5=!0x1):_0x164794(_0x357d8b)?(_0x4d9f7b=_0x357d8b['size'],_0x2398d5=!0x1):(_0x357d8b=_0x4b08a2(_0x357d8b),_0x4d9f7b=_0x357d8b[_0x3dad5e(0x1d3)],_0x2398d5=_0x4b08a2[_0x3dad5e(0x180)]),_0x4d9f7b>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x3c74e0={[_0x141e03]:_0x4d9f7b,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x542b83,'maskBuffer':this[_0x3dad5e(0x1ff)],'opcode':0xa,'readOnly':_0x2398d5,'rsv1':!0x1};_0x164794(_0x357d8b)?this['_state']!==_0x185c2c?this[_0x3dad5e(0x1bd)]([this['getBlobData'],_0x357d8b,!0x1,_0x3c74e0,_0x56ab19]):this[_0x3dad5e(0xbe)](_0x357d8b,!0x1,_0x3c74e0,_0x56ab19):this[_0x3dad5e(0x1cf)]!==_0x185c2c?this[_0x3dad5e(0x1bd)]([this[_0x3dad5e(0x20c)],_0x357d8b,!0x1,_0x3c74e0,_0x56ab19]):this['sendFrame'](_0x35ad89[_0x3dad5e(0xcb)](_0x357d8b,_0x3c74e0),_0x56ab19);}[_0x213274(0xdf)](_0x2d27ee,_0x2c4157,_0x5634f4){const _0x4087fd=_0x213274,_0x44e846=this['_extensions'][_0x184c2d['extensionName']];let _0x2abb17=_0x2c4157['binary']?0x2:0x1,_0x120d65=_0x2c4157[_0x4087fd(0xa4)],_0x2736a8,_0x1033ae;typeof _0x2d27ee=='string'?(_0x2736a8=Buffer['byteLength'](_0x2d27ee),_0x1033ae=!0x1):_0x164794(_0x2d27ee)?(_0x2736a8=_0x2d27ee[_0x4087fd(0x1c0)],_0x1033ae=!0x1):(_0x2d27ee=_0x4b08a2(_0x2d27ee),_0x2736a8=_0x2d27ee[_0x4087fd(0x1d3)],_0x1033ae=_0x4b08a2[_0x4087fd(0x180)]),this[_0x4087fd(0x93)]?(this[_0x4087fd(0x93)]=!0x1,_0x120d65&&_0x44e846&&_0x44e846[_0x4087fd(0x204)][_0x44e846['_isServer']?'server_no_context_takeover':'client_no_context_takeover']&&(_0x120d65=_0x2736a8>=_0x44e846[_0x4087fd(0x1e2)]),this['_compress']=_0x120d65):(_0x120d65=!0x1,_0x2abb17=0x0),_0x2c4157[_0x4087fd(0xde)]&&(this['_firstFragment']=!0x0);const _0x5e5335={[_0x141e03]:_0x2736a8,'fin':_0x2c4157[_0x4087fd(0xde)],'generateMask':this['_generateMask'],'mask':_0x2c4157['mask'],'maskBuffer':this['_maskBuffer'],'opcode':_0x2abb17,'readOnly':_0x1033ae,'rsv1':_0x120d65};_0x164794(_0x2d27ee)?this['_state']!==_0x185c2c?this[_0x4087fd(0x1bd)]([this['getBlobData'],_0x2d27ee,this[_0x4087fd(0x11b)],_0x5e5335,_0x5634f4]):this[_0x4087fd(0xbe)](_0x2d27ee,this[_0x4087fd(0x11b)],_0x5e5335,_0x5634f4):this[_0x4087fd(0x1cf)]!==_0x185c2c?this[_0x4087fd(0x1bd)]([this['dispatch'],_0x2d27ee,this[_0x4087fd(0x11b)],_0x5e5335,_0x5634f4]):this['dispatch'](_0x2d27ee,this[_0x4087fd(0x11b)],_0x5e5335,_0x5634f4);}[_0x213274(0xbe)](_0x578266,_0xb3b65c,_0x5a31ac,_0x13ded6){const _0x1af3cb=_0x213274;this[_0x1af3cb(0xeb)]+=_0x5a31ac[_0x141e03],this[_0x1af3cb(0x1cf)]=_0x2b8735,_0x578266[_0x1af3cb(0xf0)]()[_0x1af3cb(0x1eb)](_0xc69599=>{const _0x513cee=_0x1af3cb;if(this[_0x513cee(0x89)][_0x513cee(0x138)]){const _0x127e3c=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x513cee(0x14c)](_0x1c5d7a,this,_0x127e3c,_0x13ded6);return;}this['_bufferedBytes']-=_0x5a31ac[_0x141e03];const _0x4be95b=_0x4b08a2(_0xc69599);_0xb3b65c?this[_0x513cee(0x20c)](_0x4be95b,_0xb3b65c,_0x5a31ac,_0x13ded6):(this[_0x513cee(0x1cf)]=_0x185c2c,this['sendFrame'](_0x35ad89[_0x513cee(0xcb)](_0x4be95b,_0x5a31ac),_0x13ded6),this['dequeue']());})[_0x1af3cb(0x1b0)](_0x2e4c11=>{const _0x19f609=_0x1af3cb;process[_0x19f609(0x14c)](_0x294087,this,_0x2e4c11,_0x13ded6);});}[_0x213274(0x20c)](_0x7159de,_0x59ec3a,_0x34a07f,_0x4a4b6b){const _0x33aac6=_0x213274;if(!_0x59ec3a){this[_0x33aac6(0x20d)](_0x35ad89[_0x33aac6(0xcb)](_0x7159de,_0x34a07f),_0x4a4b6b);return;}const _0x23fc83=this[_0x33aac6(0xe2)][_0x184c2d['extensionName']];this['_bufferedBytes']+=_0x34a07f[_0x141e03],this[_0x33aac6(0x1cf)]=_0x5049a9,_0x23fc83[_0x33aac6(0xa4)](_0x7159de,_0x34a07f['fin'],(_0x337f5f,_0x2efa1e)=>{const _0x456b63=_0x33aac6;if(this[_0x456b63(0x89)][_0x456b63(0x138)]){const _0x3b6e94=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x1c5d7a(this,_0x3b6e94,_0x4a4b6b);return;}this[_0x456b63(0xeb)]-=_0x34a07f[_0x141e03],this['_state']=_0x185c2c,_0x34a07f[_0x456b63(0x180)]=!0x1,this[_0x456b63(0x20d)](_0x35ad89[_0x456b63(0xcb)](_0x2efa1e,_0x34a07f),_0x4a4b6b),this[_0x456b63(0x1ae)]();});}[_0x213274(0x1ae)](){const _0x4b2d9c=_0x213274;for(;this[_0x4b2d9c(0x1cf)]===_0x185c2c&&this['_queue']['length'];){const _0x10d36=this[_0x4b2d9c(0xc8)][_0x4b2d9c(0x1b7)]();this[_0x4b2d9c(0xeb)]-=_0x10d36[0x3][_0x141e03],Reflect[_0x4b2d9c(0xc6)](_0x10d36[0x0],this,_0x10d36[_0x4b2d9c(0x115)](0x1));}}[_0x213274(0x1bd)](_0x363219){const _0x1a288d=_0x213274;this['_bufferedBytes']+=_0x363219[0x3][_0x141e03],this[_0x1a288d(0xc8)][_0x1a288d(0x70)](_0x363219);}[_0x213274(0x20d)](_0x2e1b63,_0x1a9009){const _0x380e83=_0x213274;_0x2e1b63[_0x380e83(0x1d3)]===0x2?(this[_0x380e83(0x89)][_0x380e83(0x1a8)](),this[_0x380e83(0x89)]['write'](_0x2e1b63[0x0]),this[_0x380e83(0x89)][_0x380e83(0x189)](_0x2e1b63[0x1],_0x1a9009),this[_0x380e83(0x89)]['uncork']()):this[_0x380e83(0x89)][_0x380e83(0x189)](_0x2e1b63[0x0],_0x1a9009);}}Ee=_0x35ad89;function _0x1c5d7a(_0xc2140a,_0x2152cf,_0x27cf3c){const _0x4fdeb8=_0x213274;typeof _0x27cf3c==_0x4fdeb8(0x193)&&_0x27cf3c(_0x2152cf);for(let _0x5c68c9=0x0;_0x5c68c9<_0xc2140a['_queue'][_0x4fdeb8(0x1d3)];_0x5c68c9++){const _0x3acecb=_0xc2140a[_0x4fdeb8(0xc8)][_0x5c68c9],_0x5d5621=_0x3acecb[_0x3acecb[_0x4fdeb8(0x1d3)]-0x1];typeof _0x5d5621==_0x4fdeb8(0x193)&&_0x5d5621(_0x2152cf);}}function _0x294087(_0x30783d,_0x5220bc,_0x10f2c3){const _0x2eae47=_0x213274;_0x1c5d7a(_0x30783d,_0x5220bc,_0x10f2c3),_0x30783d[_0x2eae47(0xa6)](_0x5220bc);}return Ee;}var xe,Ze;function It(){const _0x3c51fb=_0x5ab958;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x55c98f,kListener:_0x4e3069}=H(),_0x3d20ec=Symbol(_0x3c51fb(0x13b)),_0x3d59d4=Symbol(_0x3c51fb(0x1da)),_0x29b893=Symbol('kError'),_0x5074c9=Symbol(_0x3c51fb(0xfb)),_0x19b477=Symbol(_0x3c51fb(0x16d)),_0x418a3b=Symbol('kTarget'),_0x28433b=Symbol('kType'),_0x21df90=Symbol('kWasClean');class _0x22f1eb{constructor(_0x40089c){this[_0x418a3b]=null,this[_0x28433b]=_0x40089c;}get[_0x3c51fb(0x128)](){return this[_0x418a3b];}get[_0x3c51fb(0x9c)](){return this[_0x28433b];}}Object[_0x3c51fb(0x85)](_0x22f1eb[_0x3c51fb(0x232)],_0x3c51fb(0x128),{'enumerable':!0x0}),Object[_0x3c51fb(0x85)](_0x22f1eb[_0x3c51fb(0x232)],_0x3c51fb(0x9c),{'enumerable':!0x0});class _0x2e358c extends _0x22f1eb{constructor(_0x3fa54a,_0x196a41={}){const _0x13790a=_0x3c51fb;super(_0x3fa54a),this[_0x3d20ec]=_0x196a41['code']===void 0x0?0x0:_0x196a41[_0x13790a(0x169)],this[_0x19b477]=_0x196a41[_0x13790a(0xf7)]===void 0x0?'':_0x196a41[_0x13790a(0xf7)],this[_0x21df90]=_0x196a41[_0x13790a(0x166)]===void 0x0?!0x1:_0x196a41[_0x13790a(0x166)];}get[_0x3c51fb(0x169)](){return this[_0x3d20ec];}get[_0x3c51fb(0xf7)](){return this[_0x19b477];}get['wasClean'](){return this[_0x21df90];}}Object[_0x3c51fb(0x85)](_0x2e358c[_0x3c51fb(0x232)],'code',{'enumerable':!0x0}),Object[_0x3c51fb(0x85)](_0x2e358c[_0x3c51fb(0x232)],_0x3c51fb(0xf7),{'enumerable':!0x0}),Object[_0x3c51fb(0x85)](_0x2e358c[_0x3c51fb(0x232)],_0x3c51fb(0x166),{'enumerable':!0x0});class _0x4887ed extends _0x22f1eb{constructor(_0x10b0ee,_0x4fe361={}){const _0x404a58=_0x3c51fb;super(_0x10b0ee),this[_0x29b893]=_0x4fe361['error']===void 0x0?null:_0x4fe361[_0x404a58(0xe0)],this[_0x5074c9]=_0x4fe361[_0x404a58(0x133)]===void 0x0?'':_0x4fe361[_0x404a58(0x133)];}get[_0x3c51fb(0xe0)](){return this[_0x29b893];}get[_0x3c51fb(0x133)](){return this[_0x5074c9];}}Object[_0x3c51fb(0x85)](_0x4887ed[_0x3c51fb(0x232)],'error',{'enumerable':!0x0}),Object[_0x3c51fb(0x85)](_0x4887ed[_0x3c51fb(0x232)],_0x3c51fb(0x133),{'enumerable':!0x0});class _0x20b009 extends _0x22f1eb{constructor(_0x377bd6,_0x5773e6={}){const _0x37d245=_0x3c51fb;super(_0x377bd6),this[_0x3d59d4]=_0x5773e6[_0x37d245(0x19d)]===void 0x0?null:_0x5773e6['data'];}get[_0x3c51fb(0x19d)](){return this[_0x3d59d4];}}Object['defineProperty'](_0x20b009[_0x3c51fb(0x232)],_0x3c51fb(0x19d),{'enumerable':!0x0}),xe={'CloseEvent':_0x2e358c,'ErrorEvent':_0x4887ed,'Event':_0x22f1eb,'EventTarget':{'addEventListener'(_0x464c6d,_0x8cdbaf,_0x578304={}){const _0x1799a6=_0x3c51fb;for(const _0x59c9dc of this[_0x1799a6(0x1f2)](_0x464c6d))if(!_0x578304[_0x55c98f]&&_0x59c9dc[_0x4e3069]===_0x8cdbaf&&!_0x59c9dc[_0x55c98f])return;let _0x728c76;if(_0x464c6d===_0x1799a6(0x133))_0x728c76=function(_0x932f1e,_0x4b33e5){const _0x1d94ca=_0x1799a6,_0x4e6a5a=new _0x20b009(_0x1d94ca(0x133),{'data':_0x4b33e5?_0x932f1e:_0x932f1e[_0x1d94ca(0x119)]()});_0x4e6a5a[_0x418a3b]=this,_0x9e305(_0x8cdbaf,this,_0x4e6a5a);};else{if(_0x464c6d===_0x1799a6(0x227))_0x728c76=function(_0x9883a1,_0x4cb1f1){const _0x573e7e=_0x1799a6,_0x2232d7=new _0x2e358c(_0x573e7e(0x227),{'code':_0x9883a1,'reason':_0x4cb1f1[_0x573e7e(0x119)](),'wasClean':this[_0x573e7e(0x12f)]&&this[_0x573e7e(0xd9)]});_0x2232d7[_0x418a3b]=this,_0x9e305(_0x8cdbaf,this,_0x2232d7);};else{if(_0x464c6d===_0x1799a6(0xe0))_0x728c76=function(_0x249ef2){const _0xa2786d=_0x1799a6,_0x17eddf=new _0x4887ed(_0xa2786d(0xe0),{'error':_0x249ef2,'message':_0x249ef2['message']});_0x17eddf[_0x418a3b]=this,_0x9e305(_0x8cdbaf,this,_0x17eddf);};else{if(_0x464c6d==='open')_0x728c76=function(){const _0x882d70=_0x1799a6,_0x34e87f=new _0x22f1eb(_0x882d70(0x186));_0x34e87f[_0x418a3b]=this,_0x9e305(_0x8cdbaf,this,_0x34e87f);};else return;}}}_0x728c76[_0x55c98f]=!!_0x578304[_0x55c98f],_0x728c76[_0x4e3069]=_0x8cdbaf,_0x578304[_0x1799a6(0x1a1)]?this['once'](_0x464c6d,_0x728c76):this['on'](_0x464c6d,_0x728c76);},'removeEventListener'(_0x411488,_0x11f095){const _0x2a2bf4=_0x3c51fb;for(const _0x57e24a of this[_0x2a2bf4(0x1f2)](_0x411488))if(_0x57e24a[_0x4e3069]===_0x11f095&&!_0x57e24a[_0x55c98f]){this[_0x2a2bf4(0x233)](_0x411488,_0x57e24a);break;}}},'MessageEvent':_0x20b009};function _0x9e305(_0x1a5734,_0x25dca9,_0x5f45c3){const _0x4d2744=_0x3c51fb;typeof _0x1a5734==_0x4d2744(0x20b)&&_0x1a5734[_0x4d2744(0x107)]?_0x1a5734[_0x4d2744(0x107)][_0x4d2744(0xcd)](_0x1a5734,_0x5f45c3):_0x1a5734[_0x4d2744(0xcd)](_0x25dca9,_0x5f45c3);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x108be7}=ae();function _0x359d0d(_0x249605,_0x4196ff,_0x297b86){const _0xae565e=_0x147c;_0x249605[_0x4196ff]===void 0x0?_0x249605[_0x4196ff]=[_0x297b86]:_0x249605[_0x4196ff][_0xae565e(0x70)](_0x297b86);}function _0x3e6788(_0x2c5386){const _0x17c66e=_0x147c,_0x46b89d=Object['create'](null);let _0x178ae0=Object['create'](null),_0x3d8c77=!0x1,_0x341b88=!0x1,_0x3c5c2a=!0x1,_0x6c2818,_0x4e7975,_0x5b15ef=-0x1,_0x5741c0=-0x1,_0x53f246=-0x1,_0x4277e6=0x0;for(;_0x4277e6<_0x2c5386[_0x17c66e(0x1d3)];_0x4277e6++)if(_0x5741c0=_0x2c5386[_0x17c66e(0x104)](_0x4277e6),_0x6c2818===void 0x0){if(_0x53f246===-0x1&&_0x108be7[_0x5741c0]===0x1)_0x5b15ef===-0x1&&(_0x5b15ef=_0x4277e6);else{if(_0x4277e6!==0x0&&(_0x5741c0===0x20||_0x5741c0===0x9))_0x53f246===-0x1&&_0x5b15ef!==-0x1&&(_0x53f246=_0x4277e6);else{if(_0x5741c0===0x3b||_0x5741c0===0x2c){if(_0x5b15ef===-0x1)throw new SyntaxError(_0x17c66e(0x1c1)+_0x4277e6);_0x53f246===-0x1&&(_0x53f246=_0x4277e6);const _0x2c89f2=_0x2c5386[_0x17c66e(0x115)](_0x5b15ef,_0x53f246);_0x5741c0===0x2c?(_0x359d0d(_0x46b89d,_0x2c89f2,_0x178ae0),_0x178ae0=Object[_0x17c66e(0x16f)](null)):_0x6c2818=_0x2c89f2,_0x5b15ef=_0x53f246=-0x1;}else throw new SyntaxError(_0x17c66e(0x1c1)+_0x4277e6);}}}else{if(_0x4e7975===void 0x0){if(_0x53f246===-0x1&&_0x108be7[_0x5741c0]===0x1)_0x5b15ef===-0x1&&(_0x5b15ef=_0x4277e6);else{if(_0x5741c0===0x20||_0x5741c0===0x9)_0x53f246===-0x1&&_0x5b15ef!==-0x1&&(_0x53f246=_0x4277e6);else{if(_0x5741c0===0x3b||_0x5741c0===0x2c){if(_0x5b15ef===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4277e6);_0x53f246===-0x1&&(_0x53f246=_0x4277e6),_0x359d0d(_0x178ae0,_0x2c5386[_0x17c66e(0x115)](_0x5b15ef,_0x53f246),!0x0),_0x5741c0===0x2c&&(_0x359d0d(_0x46b89d,_0x6c2818,_0x178ae0),_0x178ae0=Object[_0x17c66e(0x16f)](null),_0x6c2818=void 0x0),_0x5b15ef=_0x53f246=-0x1;}else{if(_0x5741c0===0x3d&&_0x5b15ef!==-0x1&&_0x53f246===-0x1)_0x4e7975=_0x2c5386['slice'](_0x5b15ef,_0x4277e6),_0x5b15ef=_0x53f246=-0x1;else throw new SyntaxError(_0x17c66e(0x1c1)+_0x4277e6);}}}}else{if(_0x341b88){if(_0x108be7[_0x5741c0]!==0x1)throw new SyntaxError(_0x17c66e(0x1c1)+_0x4277e6);_0x5b15ef===-0x1?_0x5b15ef=_0x4277e6:_0x3d8c77||(_0x3d8c77=!0x0),_0x341b88=!0x1;}else{if(_0x3c5c2a){if(_0x108be7[_0x5741c0]===0x1)_0x5b15ef===-0x1&&(_0x5b15ef=_0x4277e6);else{if(_0x5741c0===0x22&&_0x5b15ef!==-0x1)_0x3c5c2a=!0x1,_0x53f246=_0x4277e6;else{if(_0x5741c0===0x5c)_0x341b88=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4277e6);}}}else{if(_0x5741c0===0x22&&_0x2c5386[_0x17c66e(0x104)](_0x4277e6-0x1)===0x3d)_0x3c5c2a=!0x0;else{if(_0x53f246===-0x1&&_0x108be7[_0x5741c0]===0x1)_0x5b15ef===-0x1&&(_0x5b15ef=_0x4277e6);else{if(_0x5b15ef!==-0x1&&(_0x5741c0===0x20||_0x5741c0===0x9))_0x53f246===-0x1&&(_0x53f246=_0x4277e6);else{if(_0x5741c0===0x3b||_0x5741c0===0x2c){if(_0x5b15ef===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4277e6);_0x53f246===-0x1&&(_0x53f246=_0x4277e6);let _0x1cc12a=_0x2c5386[_0x17c66e(0x115)](_0x5b15ef,_0x53f246);_0x3d8c77&&(_0x1cc12a=_0x1cc12a[_0x17c66e(0x16b)](/\\/g,''),_0x3d8c77=!0x1),_0x359d0d(_0x178ae0,_0x4e7975,_0x1cc12a),_0x5741c0===0x2c&&(_0x359d0d(_0x46b89d,_0x6c2818,_0x178ae0),_0x178ae0=Object[_0x17c66e(0x16f)](null),_0x6c2818=void 0x0),_0x4e7975=void 0x0,_0x5b15ef=_0x53f246=-0x1;}else throw new SyntaxError(_0x17c66e(0x1c1)+_0x4277e6);}}}}}}}if(_0x5b15ef===-0x1||_0x3c5c2a||_0x5741c0===0x20||_0x5741c0===0x9)throw new SyntaxError(_0x17c66e(0xfa));_0x53f246===-0x1&&(_0x53f246=_0x4277e6);const _0x37ed53=_0x2c5386[_0x17c66e(0x115)](_0x5b15ef,_0x53f246);return _0x6c2818===void 0x0?_0x359d0d(_0x46b89d,_0x37ed53,_0x178ae0):(_0x4e7975===void 0x0?_0x359d0d(_0x178ae0,_0x37ed53,!0x0):_0x3d8c77?_0x359d0d(_0x178ae0,_0x4e7975,_0x37ed53[_0x17c66e(0x16b)](/\\/g,'')):_0x359d0d(_0x178ae0,_0x4e7975,_0x37ed53),_0x359d0d(_0x46b89d,_0x6c2818,_0x178ae0)),_0x46b89d;}function _0x282a91(_0x955df){const _0x275f2a=_0x147c;return Object[_0x275f2a(0x14f)](_0x955df)[_0x275f2a(0x10d)](_0x13e668=>{const _0x473ea2=_0x275f2a;let _0x52ff99=_0x955df[_0x13e668];return Array[_0x473ea2(0x199)](_0x52ff99)||(_0x52ff99=[_0x52ff99]),_0x52ff99[_0x473ea2(0x10d)](_0x550575=>[_0x13e668][_0x473ea2(0xab)](Object[_0x473ea2(0x14f)](_0x550575)[_0x473ea2(0x10d)](_0xc4941c=>{const _0x5c757f=_0x473ea2;let _0x10a20a=_0x550575[_0xc4941c];return Array[_0x5c757f(0x199)](_0x10a20a)||(_0x10a20a=[_0x10a20a]),_0x10a20a['map'](_0x310ec6=>_0x310ec6===!0x0?_0xc4941c:_0xc4941c+'='+_0x310ec6)['join'](';\x20');}))[_0x473ea2(0x179)](';\x20'))[_0x473ea2(0x179)](',\x20');})[_0x275f2a(0x179)](',\x20');}return be={'format':_0x282a91,'parse':_0x3e6788},be;}var we,Je;function Pe(){const _0x5f0703=_0x5ab958;if(Je)return we;Je=0x1;const _0x4bcc1d=nt,_0x4c9d36=vt,_0x61266=ot,_0x5c5698=St,_0x267226=Et,{randomBytes:_0x4af36d,createHash:_0x65f8d0}=Le,{Duplex:_0x1d14ee,Readable:_0x24c8cc}=oe,{URL:_0x15e51d}=xt,_0x1d04f4=he(),_0x4610f8=lt(),_0x77c9eb=ft(),{isBlob:_0x51a780}=ae(),{BINARY_TYPES:_0x4f3f6a,EMPTY_BUFFER:_0x5b2712,GUID:_0x8886ff,kForOnEventAttribute:_0x46b9c4,kListener:_0x24420c,kStatusCode:_0x3bbbde,kWebSocket:_0x30edc0,NOOP:_0x411443}=H(),{EventTarget:{addEventListener:_0x36bef9,removeEventListener:_0x471ab7}}=It(),{format:_0x3fabbf,parse:_0xd1055a}=ct(),{toBuffer:_0x5df66b}=ce(),_0x3bc751=0x1e*0x3e8,_0x1eb90f=Symbol(_0x5f0703(0x197)),_0x2ce93f=[0x8,0xd],_0x543224=['CONNECTING',_0x5f0703(0x170),'CLOSING',_0x5f0703(0xb7)],_0x21485f=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x2c68dd extends _0x4bcc1d{constructor(_0x2c762d,_0x30892f,_0x15b1e1){const _0xd030e4=_0x5f0703;super(),this[_0xd030e4(0x144)]=_0x4f3f6a[0x0],this[_0xd030e4(0x19a)]=0x3ee,this[_0xd030e4(0x12f)]=!0x1,this[_0xd030e4(0xd9)]=!0x1,this[_0xd030e4(0x210)]=_0x5b2712,this[_0xd030e4(0x121)]=null,this[_0xd030e4(0x223)]=!0x1,this['_extensions']={},this['_paused']=!0x1,this[_0xd030e4(0x17d)]='',this[_0xd030e4(0x18d)]=_0x2c68dd[_0xd030e4(0x150)],this[_0xd030e4(0xf3)]=null,this['_sender']=null,this[_0xd030e4(0x89)]=null,_0x2c762d!==null?(this[_0xd030e4(0x7b)]=0x0,this[_0xd030e4(0x122)]=!0x1,this[_0xd030e4(0x139)]=0x0,_0x30892f===void 0x0?_0x30892f=[]:Array['isArray'](_0x30892f)||(typeof _0x30892f==_0xd030e4(0x20b)&&_0x30892f!==null?(_0x15b1e1=_0x30892f,_0x30892f=[]):_0x30892f=[_0x30892f]),_0x3b2333(this,_0x2c762d,_0x30892f,_0x15b1e1)):(this[_0xd030e4(0xd1)]=_0x15b1e1[_0xd030e4(0x7d)],this[_0xd030e4(0x122)]=!0x0);}get['binaryType'](){const _0x499da2=_0x5f0703;return this[_0x499da2(0x144)];}set[_0x5f0703(0x21b)](_0x3f571a){const _0x522207=_0x5f0703;_0x4f3f6a[_0x522207(0xce)](_0x3f571a)&&(this[_0x522207(0x144)]=_0x3f571a,this[_0x522207(0xf3)]&&(this[_0x522207(0xf3)][_0x522207(0x144)]=_0x3f571a));}get[_0x5f0703(0x14e)](){const _0x11d6ac=_0x5f0703;return this['_socket']?this[_0x11d6ac(0x89)][_0x11d6ac(0xf8)][_0x11d6ac(0x1d3)]+this['_sender'][_0x11d6ac(0xeb)]:this[_0x11d6ac(0x7b)];}get['extensions'](){const _0x2a7970=_0x5f0703;return Object[_0x2a7970(0x14f)](this['_extensions'])[_0x2a7970(0x179)]();}get[_0x5f0703(0x19f)](){const _0xcd2590=_0x5f0703;return this[_0xcd2590(0x90)];}get[_0x5f0703(0x103)](){return null;}get[_0x5f0703(0xa6)](){return null;}get[_0x5f0703(0xc5)](){return null;}get[_0x5f0703(0x1f8)](){return null;}get[_0x5f0703(0x135)](){const _0x4527b8=_0x5f0703;return this[_0x4527b8(0x17d)];}get[_0x5f0703(0xc3)](){const _0x1526a9=_0x5f0703;return this[_0x1526a9(0x18d)];}get['url'](){const _0x230e45=_0x5f0703;return this[_0x230e45(0x1a2)];}['setSocket'](_0x2e9cdb,_0x47e012,_0x52024d){const _0x585dad=_0x5f0703,_0x565100=new _0x4610f8({'allowSynchronousEvents':_0x52024d[_0x585dad(0x221)],'binaryType':this['binaryType'],'extensions':this[_0x585dad(0xe2)],'isServer':this[_0x585dad(0x122)],'maxPayload':_0x52024d[_0x585dad(0xf6)],'skipUTF8Validation':_0x52024d['skipUTF8Validation']}),_0x5d0cf0=new _0x77c9eb(_0x2e9cdb,this[_0x585dad(0xe2)],_0x52024d[_0x585dad(0x21d)]);this[_0x585dad(0xf3)]=_0x565100,this['_sender']=_0x5d0cf0,this['_socket']=_0x2e9cdb,_0x565100[_0x30edc0]=this,_0x5d0cf0[_0x30edc0]=this,_0x2e9cdb[_0x30edc0]=this,_0x565100['on'](_0x585dad(0xfd),_0x1a171e),_0x565100['on']('drain',_0x1cf629),_0x565100['on']('error',_0x19339a),_0x565100['on']('message',_0x2b94e1),_0x565100['on'](_0x585dad(0x17c),_0xb83f7d),_0x565100['on'](_0x585dad(0x174),_0x3f3538),_0x5d0cf0['onerror']=_0xb831e5,_0x2e9cdb[_0x585dad(0x18b)]&&_0x2e9cdb['setTimeout'](0x0),_0x2e9cdb[_0x585dad(0x88)]&&_0x2e9cdb[_0x585dad(0x88)](),_0x47e012[_0x585dad(0x1d3)]>0x0&&_0x2e9cdb[_0x585dad(0x1d7)](_0x47e012),_0x2e9cdb['on'](_0x585dad(0x227),_0x594d78),_0x2e9cdb['on'](_0x585dad(0x19d),_0x214132),_0x2e9cdb['on'](_0x585dad(0x214),_0x38d164),_0x2e9cdb['on'](_0x585dad(0xe0),_0x4d71f8),this[_0x585dad(0x18d)]=_0x2c68dd[_0x585dad(0x170)],this['emit']('open');}[_0x5f0703(0xf5)](){const _0x43046=_0x5f0703;if(!this[_0x43046(0x89)]){this[_0x43046(0x18d)]=_0x2c68dd[_0x43046(0xb7)],this[_0x43046(0x146)](_0x43046(0x227),this[_0x43046(0x19a)],this[_0x43046(0x210)]);return;}this[_0x43046(0xe2)][_0x1d04f4[_0x43046(0x79)]]&&this[_0x43046(0xe2)][_0x1d04f4[_0x43046(0x79)]][_0x43046(0x182)](),this[_0x43046(0xf3)][_0x43046(0x1e6)](),this[_0x43046(0x18d)]=_0x2c68dd[_0x43046(0xb7)],this[_0x43046(0x146)](_0x43046(0x227),this[_0x43046(0x19a)],this['_closeMessage']);}[_0x5f0703(0x227)](_0x209f9a,_0x49e2c4){const _0x3c067e=_0x5f0703;if(this[_0x3c067e(0xc3)]!==_0x2c68dd[_0x3c067e(0xb7)]){if(this[_0x3c067e(0xc3)]===_0x2c68dd[_0x3c067e(0x150)]){_0x3bd4e8(this,this['_req'],_0x3c067e(0x1b2));return;}if(this[_0x3c067e(0xc3)]===_0x2c68dd[_0x3c067e(0x12d)]){this[_0x3c067e(0xd9)]&&(this['_closeFrameReceived']||this[_0x3c067e(0xf3)][_0x3c067e(0xf8)][_0x3c067e(0x185)])&&this[_0x3c067e(0x89)]['end']();return;}this['_readyState']=_0x2c68dd[_0x3c067e(0x12d)],this['_sender'][_0x3c067e(0x227)](_0x209f9a,_0x49e2c4,!this[_0x3c067e(0x122)],_0x2b6dd4=>{const _0x57dc8b=_0x3c067e;_0x2b6dd4||(this[_0x57dc8b(0xd9)]=!0x0,(this['_closeFrameReceived']||this['_receiver']['_writableState']['errorEmitted'])&&this['_socket'][_0x57dc8b(0x214)]());}),_0xf794c4(this);}}[_0x5f0703(0x17a)](){const _0x28ec24=_0x5f0703;this[_0x28ec24(0xc3)]===_0x2c68dd['CONNECTING']||this['readyState']===_0x2c68dd['CLOSED']||(this[_0x28ec24(0x90)]=!0x0,this[_0x28ec24(0x89)][_0x28ec24(0x17a)]());}['ping'](_0x13ad66,_0x1f0d48,_0xd6a5b6){const _0x19103b=_0x5f0703;if(this[_0x19103b(0xc3)]===_0x2c68dd[_0x19103b(0x150)])throw new Error(_0x19103b(0x226));if(typeof _0x13ad66=='function'?(_0xd6a5b6=_0x13ad66,_0x13ad66=_0x1f0d48=void 0x0):typeof _0x1f0d48==_0x19103b(0x193)&&(_0xd6a5b6=_0x1f0d48,_0x1f0d48=void 0x0),typeof _0x13ad66=='number'&&(_0x13ad66=_0x13ad66['toString']()),this[_0x19103b(0xc3)]!==_0x2c68dd['OPEN']){_0x3da7ff(this,_0x13ad66,_0xd6a5b6);return;}_0x1f0d48===void 0x0&&(_0x1f0d48=!this[_0x19103b(0x122)]),this[_0x19103b(0x1dc)][_0x19103b(0x17c)](_0x13ad66||_0x5b2712,_0x1f0d48,_0xd6a5b6);}[_0x5f0703(0x174)](_0x222be5,_0x437859,_0x59028a){const _0x1345d4=_0x5f0703;if(this[_0x1345d4(0xc3)]===_0x2c68dd[_0x1345d4(0x150)])throw new Error(_0x1345d4(0x226));if(typeof _0x222be5=='function'?(_0x59028a=_0x222be5,_0x222be5=_0x437859=void 0x0):typeof _0x437859=='function'&&(_0x59028a=_0x437859,_0x437859=void 0x0),typeof _0x222be5=='number'&&(_0x222be5=_0x222be5[_0x1345d4(0x119)]()),this[_0x1345d4(0xc3)]!==_0x2c68dd[_0x1345d4(0x170)]){_0x3da7ff(this,_0x222be5,_0x59028a);return;}_0x437859===void 0x0&&(_0x437859=!this[_0x1345d4(0x122)]),this[_0x1345d4(0x1dc)][_0x1345d4(0x174)](_0x222be5||_0x5b2712,_0x437859,_0x59028a);}[_0x5f0703(0x117)](){const _0x28b14a=_0x5f0703;this['readyState']===_0x2c68dd[_0x28b14a(0x150)]||this[_0x28b14a(0xc3)]===_0x2c68dd['CLOSED']||(this[_0x28b14a(0x90)]=!0x1,this['_receiver'][_0x28b14a(0xf8)][_0x28b14a(0x83)]||this[_0x28b14a(0x89)][_0x28b14a(0x117)]());}[_0x5f0703(0xdf)](_0x260b69,_0x3d1f5a,_0x121f6e){const _0x41c9af=_0x5f0703;if(this['readyState']===_0x2c68dd[_0x41c9af(0x150)])throw new Error(_0x41c9af(0x226));if(typeof _0x3d1f5a=='function'&&(_0x121f6e=_0x3d1f5a,_0x3d1f5a={}),typeof _0x260b69==_0x41c9af(0x15b)&&(_0x260b69=_0x260b69[_0x41c9af(0x119)]()),this[_0x41c9af(0xc3)]!==_0x2c68dd[_0x41c9af(0x170)]){_0x3da7ff(this,_0x260b69,_0x121f6e);return;}const _0x53011f={'binary':typeof _0x260b69!=_0x41c9af(0x219),'mask':!this[_0x41c9af(0x122)],'compress':!0x0,'fin':!0x0,..._0x3d1f5a};this[_0x41c9af(0xe2)][_0x1d04f4['extensionName']]||(_0x53011f[_0x41c9af(0xa4)]=!0x1),this['_sender'][_0x41c9af(0xdf)](_0x260b69||_0x5b2712,_0x53011f,_0x121f6e);}[_0x5f0703(0x80)](){const _0x24e7c7=_0x5f0703;if(this[_0x24e7c7(0xc3)]!==_0x2c68dd['CLOSED']){if(this[_0x24e7c7(0xc3)]===_0x2c68dd[_0x24e7c7(0x150)]){_0x3bd4e8(this,this[_0x24e7c7(0x75)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x24e7c7(0x89)]&&(this[_0x24e7c7(0x18d)]=_0x2c68dd[_0x24e7c7(0x12d)],this[_0x24e7c7(0x89)][_0x24e7c7(0x71)]());}}}Object['defineProperty'](_0x2c68dd,'CONNECTING',{'enumerable':!0x0,'value':_0x543224['indexOf'](_0x5f0703(0x150))}),Object[_0x5f0703(0x85)](_0x2c68dd[_0x5f0703(0x232)],_0x5f0703(0x150),{'enumerable':!0x0,'value':_0x543224['indexOf']('CONNECTING')}),Object[_0x5f0703(0x85)](_0x2c68dd,_0x5f0703(0x170),{'enumerable':!0x0,'value':_0x543224['indexOf']('OPEN')}),Object[_0x5f0703(0x85)](_0x2c68dd[_0x5f0703(0x232)],'OPEN',{'enumerable':!0x0,'value':_0x543224[_0x5f0703(0x7f)](_0x5f0703(0x170))}),Object[_0x5f0703(0x85)](_0x2c68dd,'CLOSING',{'enumerable':!0x0,'value':_0x543224[_0x5f0703(0x7f)](_0x5f0703(0x12d))}),Object[_0x5f0703(0x85)](_0x2c68dd[_0x5f0703(0x232)],_0x5f0703(0x12d),{'enumerable':!0x0,'value':_0x543224[_0x5f0703(0x7f)](_0x5f0703(0x12d))}),Object[_0x5f0703(0x85)](_0x2c68dd,_0x5f0703(0xb7),{'enumerable':!0x0,'value':_0x543224[_0x5f0703(0x7f)](_0x5f0703(0xb7))}),Object[_0x5f0703(0x85)](_0x2c68dd[_0x5f0703(0x232)],_0x5f0703(0xb7),{'enumerable':!0x0,'value':_0x543224[_0x5f0703(0x7f)](_0x5f0703(0xb7))}),[_0x5f0703(0x21b),_0x5f0703(0x14e),_0x5f0703(0xe8),_0x5f0703(0x19f),'protocol','readyState',_0x5f0703(0x1d9)]['forEach'](_0x5d329f=>{const _0x50400d=_0x5f0703;Object[_0x50400d(0x85)](_0x2c68dd[_0x50400d(0x232)],_0x5d329f,{'enumerable':!0x0});}),[_0x5f0703(0x186),_0x5f0703(0xe0),_0x5f0703(0x227),_0x5f0703(0x133)][_0x5f0703(0x1f5)](_0x14e3be=>{const _0x550ef2=_0x5f0703;Object[_0x550ef2(0x85)](_0x2c68dd[_0x550ef2(0x232)],'on'+_0x14e3be,{'enumerable':!0x0,'get'(){for(const _0x8f2f80 of this['listeners'](_0x14e3be))if(_0x8f2f80[_0x46b9c4])return _0x8f2f80[_0x24420c];return null;},'set'(_0x1dbdf5){const _0x244796=_0x550ef2;for(const _0x40111d of this[_0x244796(0x1f2)](_0x14e3be))if(_0x40111d[_0x46b9c4]){this['removeListener'](_0x14e3be,_0x40111d);break;}typeof _0x1dbdf5==_0x244796(0x193)&&this['addEventListener'](_0x14e3be,_0x1dbdf5,{[_0x46b9c4]:!0x0});}});}),_0x2c68dd[_0x5f0703(0x232)][_0x5f0703(0x1a4)]=_0x36bef9,_0x2c68dd[_0x5f0703(0x232)][_0x5f0703(0x1bb)]=_0x471ab7,we=_0x2c68dd;function _0x3b2333(_0x51f70a,_0x43d02a,_0x4c1efd,_0x2f3994){const _0x11f742=_0x5f0703,_0x3d5a4a={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x2ce93f[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x2f3994,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x51f70a[_0x11f742(0xd1)]=_0x3d5a4a[_0x11f742(0x7d)],!_0x2ce93f[_0x11f742(0xce)](_0x3d5a4a[_0x11f742(0x172)]))throw new RangeError(_0x11f742(0x116)+_0x3d5a4a[_0x11f742(0x172)]+'\x20(supported\x20versions:\x20'+_0x2ce93f[_0x11f742(0x179)](',\x20')+')');let _0xb3c0fa;if(_0x43d02a instanceof _0x15e51d)_0xb3c0fa=_0x43d02a;else try{_0xb3c0fa=new _0x15e51d(_0x43d02a);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x43d02a);}_0xb3c0fa['protocol']===_0x11f742(0x194)?_0xb3c0fa[_0x11f742(0x135)]=_0x11f742(0x8f):_0xb3c0fa[_0x11f742(0x135)]==='https:'&&(_0xb3c0fa['protocol']=_0x11f742(0x171)),_0x51f70a[_0x11f742(0x1a2)]=_0xb3c0fa[_0x11f742(0x154)];const _0x185590=_0xb3c0fa[_0x11f742(0x135)]===_0x11f742(0x171),_0x52cc34=_0xb3c0fa[_0x11f742(0x135)]===_0x11f742(0xef);let _0x595712;if(_0xb3c0fa[_0x11f742(0x135)]!==_0x11f742(0x8f)&&!_0x185590&&!_0x52cc34?_0x595712=_0x11f742(0x159):_0x52cc34&&!_0xb3c0fa[_0x11f742(0x161)]?_0x595712=_0x11f742(0x1ea):_0xb3c0fa[_0x11f742(0x100)]&&(_0x595712=_0x11f742(0x87)),_0x595712){const _0x86a414=new SyntaxError(_0x595712);if(_0x51f70a[_0x11f742(0x139)]===0x0)throw _0x86a414;_0x493503(_0x51f70a,_0x86a414);return;}const _0x5012c8=_0x185590?0x1bb:0x50,_0x19b233=_0x4af36d(0x10)['toString']('base64'),_0x4138ad=_0x185590?_0x4c9d36['request']:_0x61266[_0x11f742(0x1b9)],_0x41406d=new Set();let _0x4b3ed0;if(_0x3d5a4a['createConnection']=_0x3d5a4a['createConnection']||(_0x185590?_0x22b990:_0x1fe482),_0x3d5a4a[_0x11f742(0x111)]=_0x3d5a4a[_0x11f742(0x111)]||_0x5012c8,_0x3d5a4a[_0x11f742(0x1ce)]=_0xb3c0fa['port']||_0x5012c8,_0x3d5a4a[_0x11f742(0x134)]=_0xb3c0fa[_0x11f742(0x77)][_0x11f742(0xd6)]('[')?_0xb3c0fa['hostname']['slice'](0x1,-0x1):_0xb3c0fa[_0x11f742(0x77)],_0x3d5a4a['headers']={..._0x3d5a4a['headers'],'Sec-WebSocket-Version':_0x3d5a4a[_0x11f742(0x172)],'Sec-WebSocket-Key':_0x19b233,'Connection':_0x11f742(0x13a),'Upgrade':_0x11f742(0xd4)},_0x3d5a4a[_0x11f742(0xe6)]=_0xb3c0fa[_0x11f742(0x161)]+_0xb3c0fa[_0x11f742(0x152)],_0x3d5a4a[_0x11f742(0x9e)]=_0x3d5a4a[_0x11f742(0x1e7)],_0x3d5a4a[_0x11f742(0x20e)]&&(_0x4b3ed0=new _0x1d04f4(_0x3d5a4a[_0x11f742(0x20e)]!==!0x0?_0x3d5a4a[_0x11f742(0x20e)]:{},!0x1,_0x3d5a4a[_0x11f742(0xf6)]),_0x3d5a4a[_0x11f742(0x1e4)][_0x11f742(0xa5)]=_0x3fabbf({[_0x1d04f4[_0x11f742(0x79)]]:_0x4b3ed0[_0x11f742(0x118)]()})),_0x4c1efd['length']){for(const _0x1174eb of _0x4c1efd){if(typeof _0x1174eb!=_0x11f742(0x219)||!_0x21485f[_0x11f742(0x178)](_0x1174eb)||_0x41406d[_0x11f742(0x131)](_0x1174eb))throw new SyntaxError(_0x11f742(0x18a));_0x41406d[_0x11f742(0xb2)](_0x1174eb);}_0x3d5a4a['headers'][_0x11f742(0xa1)]=_0x4c1efd['join'](',');}if(_0x3d5a4a['origin']&&(_0x3d5a4a['protocolVersion']<0xd?_0x3d5a4a['headers'][_0x11f742(0xcc)]=_0x3d5a4a[_0x11f742(0xe5)]:_0x3d5a4a['headers']['Origin']=_0x3d5a4a[_0x11f742(0xe5)]),(_0xb3c0fa[_0x11f742(0x191)]||_0xb3c0fa['password'])&&(_0x3d5a4a[_0x11f742(0x78)]=_0xb3c0fa[_0x11f742(0x191)]+':'+_0xb3c0fa[_0x11f742(0x11f)]),_0x52cc34){const _0x52ad71=_0x3d5a4a[_0x11f742(0xe6)][_0x11f742(0x101)](':');_0x3d5a4a[_0x11f742(0x149)]=_0x52ad71[0x0],_0x3d5a4a[_0x11f742(0xe6)]=_0x52ad71[0x1];}let _0x38265d;if(_0x3d5a4a[_0x11f742(0x1c7)]){if(_0x51f70a[_0x11f742(0x139)]===0x0){_0x51f70a[_0x11f742(0xa0)]=_0x52cc34,_0x51f70a[_0x11f742(0x1b6)]=_0x185590,_0x51f70a[_0x11f742(0xb3)]=_0x52cc34?_0x3d5a4a[_0x11f742(0x149)]:_0xb3c0fa[_0x11f742(0x134)];const _0x109e58=_0x2f3994&&_0x2f3994[_0x11f742(0x1e4)];if(_0x2f3994={..._0x2f3994,'headers':{}},_0x109e58){for(const [_0x3b053a,_0x5b4fa0]of Object[_0x11f742(0xc0)](_0x109e58))_0x2f3994['headers'][_0x3b053a[_0x11f742(0x1ee)]()]=_0x5b4fa0;}}else{if(_0x51f70a[_0x11f742(0x1b4)](_0x11f742(0x203))===0x0){const _0x5f1dea=_0x52cc34?_0x51f70a[_0x11f742(0xa0)]?_0x3d5a4a[_0x11f742(0x149)]===_0x51f70a[_0x11f742(0xb3)]:!0x1:_0x51f70a[_0x11f742(0xa0)]?!0x1:_0xb3c0fa['host']===_0x51f70a['_originalHostOrSocketPath'];(!_0x5f1dea||_0x51f70a[_0x11f742(0x1b6)]&&!_0x185590)&&(delete _0x3d5a4a[_0x11f742(0x1e4)][_0x11f742(0x1dd)],delete _0x3d5a4a[_0x11f742(0x1e4)][_0x11f742(0x1f7)],_0x5f1dea||delete _0x3d5a4a[_0x11f742(0x1e4)][_0x11f742(0x134)],_0x3d5a4a[_0x11f742(0x78)]=void 0x0);}}_0x3d5a4a[_0x11f742(0x78)]&&!_0x2f3994[_0x11f742(0x1e4)]['authorization']&&(_0x2f3994[_0x11f742(0x1e4)]['authorization']='Basic\x20'+Buffer['from'](_0x3d5a4a[_0x11f742(0x78)])[_0x11f742(0x119)](_0x11f742(0x1c4))),_0x38265d=_0x51f70a[_0x11f742(0x75)]=_0x4138ad(_0x3d5a4a),_0x51f70a[_0x11f742(0x139)]&&_0x51f70a['emit'](_0x11f742(0x203),_0x51f70a[_0x11f742(0x1d9)],_0x38265d);}else _0x38265d=_0x51f70a[_0x11f742(0x75)]=_0x4138ad(_0x3d5a4a);_0x3d5a4a[_0x11f742(0x9e)]&&_0x38265d['on'](_0x11f742(0x9e),()=>{_0x3bd4e8(_0x51f70a,_0x38265d,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x38265d['on'](_0x11f742(0xe0),_0x27da98=>{const _0x5747b3=_0x11f742;_0x38265d===null||_0x38265d[_0x1eb90f]||(_0x38265d=_0x51f70a[_0x5747b3(0x75)]=null,_0x493503(_0x51f70a,_0x27da98));}),_0x38265d['on']('response',_0x165031=>{const _0x35216f=_0x11f742,_0x4071a5=_0x165031[_0x35216f(0x1e4)][_0x35216f(0xc1)],_0x25a203=_0x165031[_0x35216f(0x1b5)];if(_0x4071a5&&_0x3d5a4a[_0x35216f(0x1c7)]&&_0x25a203>=0x12c&&_0x25a203<0x190){if(++_0x51f70a[_0x35216f(0x139)]>_0x3d5a4a[_0x35216f(0xbb)]){_0x3bd4e8(_0x51f70a,_0x38265d,_0x35216f(0x14b));return;}_0x38265d['abort']();let _0x368e36;try{_0x368e36=new _0x15e51d(_0x4071a5,_0x43d02a);}catch{const _0x99c200=new SyntaxError(_0x35216f(0xe4)+_0x4071a5);_0x493503(_0x51f70a,_0x99c200);return;}_0x3b2333(_0x51f70a,_0x368e36,_0x4c1efd,_0x2f3994);}else _0x51f70a[_0x35216f(0x146)](_0x35216f(0x17b),_0x38265d,_0x165031)||_0x3bd4e8(_0x51f70a,_0x38265d,_0x35216f(0x217)+_0x165031[_0x35216f(0x1b5)]);}),_0x38265d['on'](_0x11f742(0x163),(_0x446f9d,_0x32f6b9,_0x3f851f)=>{const _0x5c7142=_0x11f742;if(_0x51f70a[_0x5c7142(0x146)]('upgrade',_0x446f9d),_0x51f70a[_0x5c7142(0xc3)]!==_0x2c68dd['CONNECTING'])return;_0x38265d=_0x51f70a[_0x5c7142(0x75)]=null;const _0x2d7660=_0x446f9d['headers'][_0x5c7142(0x163)];if(_0x2d7660===void 0x0||_0x2d7660[_0x5c7142(0x1ee)]()!==_0x5c7142(0xd4)){_0x3bd4e8(_0x51f70a,_0x32f6b9,'Invalid\x20Upgrade\x20header');return;}const _0x428e74=_0x65f8d0('sha1')[_0x5c7142(0xb1)](_0x19b233+_0x8886ff)['digest'](_0x5c7142(0x1c4));if(_0x446f9d[_0x5c7142(0x1e4)][_0x5c7142(0x155)]!==_0x428e74){_0x3bd4e8(_0x51f70a,_0x32f6b9,_0x5c7142(0x1f6));return;}const _0x4b53b2=_0x446f9d[_0x5c7142(0x1e4)]['sec-websocket-protocol'];let _0xb2498d;if(_0x4b53b2!==void 0x0?_0x41406d[_0x5c7142(0x1c0)]?_0x41406d[_0x5c7142(0x131)](_0x4b53b2)||(_0xb2498d='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0xb2498d='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x41406d[_0x5c7142(0x1c0)]&&(_0xb2498d=_0x5c7142(0x1c2)),_0xb2498d){_0x3bd4e8(_0x51f70a,_0x32f6b9,_0xb2498d);return;}_0x4b53b2&&(_0x51f70a[_0x5c7142(0x17d)]=_0x4b53b2);const _0x33aad8=_0x446f9d[_0x5c7142(0x1e4)]['sec-websocket-extensions'];if(_0x33aad8!==void 0x0){if(!_0x4b3ed0){_0x3bd4e8(_0x51f70a,_0x32f6b9,_0x5c7142(0x1ab));return;}let _0x5c058b;try{_0x5c058b=_0xd1055a(_0x33aad8);}catch{_0x3bd4e8(_0x51f70a,_0x32f6b9,_0x5c7142(0x81));return;}const _0x50c997=Object[_0x5c7142(0x14f)](_0x5c058b);if(_0x50c997[_0x5c7142(0x1d3)]!==0x1||_0x50c997[0x0]!==_0x1d04f4[_0x5c7142(0x79)]){_0x3bd4e8(_0x51f70a,_0x32f6b9,_0x5c7142(0x176));return;}try{_0x4b3ed0[_0x5c7142(0xfc)](_0x5c058b[_0x1d04f4[_0x5c7142(0x79)]]);}catch{_0x3bd4e8(_0x51f70a,_0x32f6b9,_0x5c7142(0x81));return;}_0x51f70a[_0x5c7142(0xe2)][_0x1d04f4[_0x5c7142(0x79)]]=_0x4b3ed0;}_0x51f70a[_0x5c7142(0x1ef)](_0x32f6b9,_0x3f851f,{'allowSynchronousEvents':_0x3d5a4a[_0x5c7142(0x221)],'generateMask':_0x3d5a4a[_0x5c7142(0x21d)],'maxPayload':_0x3d5a4a[_0x5c7142(0xf6)],'skipUTF8Validation':_0x3d5a4a[_0x5c7142(0x22d)]});}),_0x3d5a4a[_0x11f742(0xd7)]?_0x3d5a4a[_0x11f742(0xd7)](_0x38265d,_0x51f70a):_0x38265d[_0x11f742(0x214)]();}function _0x493503(_0x1bee49,_0x4e77a7){const _0x2c338c=_0x5f0703;_0x1bee49[_0x2c338c(0x18d)]=_0x2c68dd[_0x2c338c(0x12d)],_0x1bee49[_0x2c338c(0x223)]=!0x0,_0x1bee49['emit']('error',_0x4e77a7),_0x1bee49[_0x2c338c(0xf5)]();}function _0x1fe482(_0x48199b){const _0x4af558=_0x5f0703;return _0x48199b[_0x4af558(0xe6)]=_0x48199b[_0x4af558(0x149)],_0x5c5698[_0x4af558(0xac)](_0x48199b);}function _0x22b990(_0x5ba99b){const _0xf31b32=_0x5f0703;return _0x5ba99b[_0xf31b32(0xe6)]=void 0x0,!_0x5ba99b['servername']&&_0x5ba99b[_0xf31b32(0x158)]!==''&&(_0x5ba99b[_0xf31b32(0x158)]=_0x5c5698[_0xf31b32(0x147)](_0x5ba99b['host'])?'':_0x5ba99b[_0xf31b32(0x134)]),_0x267226['connect'](_0x5ba99b);}function _0x3bd4e8(_0x17e664,_0x294cbe,_0x3d8318){const _0x3040f7=_0x5f0703;_0x17e664['_readyState']=_0x2c68dd[_0x3040f7(0x12d)];const _0x515d88=new Error(_0x3d8318);Error['captureStackTrace'](_0x515d88,_0x3bd4e8),_0x294cbe[_0x3040f7(0x12b)]?(_0x294cbe[_0x1eb90f]=!0x0,_0x294cbe['abort'](),_0x294cbe[_0x3040f7(0x73)]&&!_0x294cbe[_0x3040f7(0x73)]['destroyed']&&_0x294cbe[_0x3040f7(0x73)]['destroy'](),process[_0x3040f7(0x14c)](_0x493503,_0x17e664,_0x515d88)):(_0x294cbe[_0x3040f7(0x71)](_0x515d88),_0x294cbe['once']('error',_0x17e664[_0x3040f7(0x146)][_0x3040f7(0x16c)](_0x17e664,'error')),_0x294cbe[_0x3040f7(0x1a1)](_0x3040f7(0x227),_0x17e664[_0x3040f7(0xf5)]['bind'](_0x17e664)));}function _0x3da7ff(_0x47da48,_0x347f7a,_0x1a1ff3){const _0x1fc2b0=_0x5f0703;if(_0x347f7a){const _0x2cfe27=_0x51a780(_0x347f7a)?_0x347f7a[_0x1fc2b0(0x1c0)]:_0x5df66b(_0x347f7a)[_0x1fc2b0(0x1d3)];_0x47da48[_0x1fc2b0(0x89)]?_0x47da48[_0x1fc2b0(0x1dc)][_0x1fc2b0(0xeb)]+=_0x2cfe27:_0x47da48[_0x1fc2b0(0x7b)]+=_0x2cfe27;}if(_0x1a1ff3){const _0x2be17b=new Error(_0x1fc2b0(0x1d4)+_0x47da48[_0x1fc2b0(0xc3)]+'\x20('+_0x543224[_0x47da48[_0x1fc2b0(0xc3)]]+')');process[_0x1fc2b0(0x14c)](_0x1a1ff3,_0x2be17b);}}function _0x1a171e(_0x1d0e53,_0x528d51){const _0x50705d=_0x5f0703,_0x50a28a=this[_0x30edc0];_0x50a28a['_closeFrameReceived']=!0x0,_0x50a28a['_closeMessage']=_0x528d51,_0x50a28a[_0x50705d(0x19a)]=_0x1d0e53,_0x50a28a['_socket'][_0x30edc0]!==void 0x0&&(_0x50a28a[_0x50705d(0x89)][_0x50705d(0x233)]('data',_0x214132),process[_0x50705d(0x14c)](_0x3d1662,_0x50a28a['_socket']),_0x1d0e53===0x3ed?_0x50a28a[_0x50705d(0x227)]():_0x50a28a[_0x50705d(0x227)](_0x1d0e53,_0x528d51));}function _0x1cf629(){const _0x89339e=_0x5f0703,_0x3dcb32=this[_0x30edc0];_0x3dcb32['isPaused']||_0x3dcb32[_0x89339e(0x89)][_0x89339e(0x117)]();}function _0x19339a(_0x53a15e){const _0x43de18=_0x5f0703,_0xc2427f=this[_0x30edc0];_0xc2427f[_0x43de18(0x89)][_0x30edc0]!==void 0x0&&(_0xc2427f[_0x43de18(0x89)][_0x43de18(0x233)]('data',_0x214132),process[_0x43de18(0x14c)](_0x3d1662,_0xc2427f[_0x43de18(0x89)]),_0xc2427f[_0x43de18(0x227)](_0x53a15e[_0x3bbbde])),_0xc2427f[_0x43de18(0x223)]||(_0xc2427f[_0x43de18(0x223)]=!0x0,_0xc2427f[_0x43de18(0x146)](_0x43de18(0xe0),_0x53a15e));}function _0x2ea999(){const _0x69fec6=_0x5f0703;this[_0x30edc0][_0x69fec6(0xf5)]();}function _0x2b94e1(_0x4fe559,_0x201765){const _0x365988=_0x5f0703;this[_0x30edc0]['emit'](_0x365988(0x133),_0x4fe559,_0x201765);}function _0xb83f7d(_0x17648e){const _0x1809bd=_0x5f0703,_0x4b3e55=this[_0x30edc0];_0x4b3e55[_0x1809bd(0xd1)]&&_0x4b3e55[_0x1809bd(0x174)](_0x17648e,!this[_0x1809bd(0x122)],_0x411443),_0x4b3e55[_0x1809bd(0x146)]('ping',_0x17648e);}function _0x3f3538(_0xcb52c1){const _0x32f113=_0x5f0703;this[_0x30edc0][_0x32f113(0x146)](_0x32f113(0x174),_0xcb52c1);}function _0x3d1662(_0x16b91f){const _0x25a19a=_0x5f0703;_0x16b91f[_0x25a19a(0x117)]();}function _0xb831e5(_0x1c898a){const _0xb6694e=_0x5f0703,_0x3433c6=this[_0x30edc0];_0x3433c6[_0xb6694e(0xc3)]!==_0x2c68dd[_0xb6694e(0xb7)]&&(_0x3433c6['readyState']===_0x2c68dd[_0xb6694e(0x170)]&&(_0x3433c6[_0xb6694e(0x18d)]=_0x2c68dd[_0xb6694e(0x12d)],_0xf794c4(_0x3433c6)),this[_0xb6694e(0x89)]['end'](),_0x3433c6[_0xb6694e(0x223)]||(_0x3433c6['_errorEmitted']=!0x0,_0x3433c6[_0xb6694e(0x146)]('error',_0x1c898a)));}function _0xf794c4(_0x1770f1){const _0x1c12a4=_0x5f0703;_0x1770f1[_0x1c12a4(0x121)]=setTimeout(_0x1770f1['_socket'][_0x1c12a4(0x71)][_0x1c12a4(0x16c)](_0x1770f1[_0x1c12a4(0x89)]),_0x3bc751);}function _0x594d78(){const _0x1d0f09=_0x5f0703,_0x2868b6=this[_0x30edc0];this['removeListener'](_0x1d0f09(0x227),_0x594d78),this[_0x1d0f09(0x233)]('data',_0x214132),this[_0x1d0f09(0x233)]('end',_0x38d164),_0x2868b6['_readyState']=_0x2c68dd[_0x1d0f09(0x12d)];let _0x1b1ed8;!this['_readableState'][_0x1d0f09(0x82)]&&!_0x2868b6[_0x1d0f09(0x12f)]&&!_0x2868b6[_0x1d0f09(0xf3)]['_writableState'][_0x1d0f09(0x185)]&&(_0x1b1ed8=_0x2868b6['_socket'][_0x1d0f09(0x167)]())!==null&&_0x2868b6[_0x1d0f09(0xf3)][_0x1d0f09(0x189)](_0x1b1ed8),_0x2868b6[_0x1d0f09(0xf3)][_0x1d0f09(0x214)](),this[_0x30edc0]=void 0x0,clearTimeout(_0x2868b6['_closeTimer']),_0x2868b6[_0x1d0f09(0xf3)][_0x1d0f09(0xf8)][_0x1d0f09(0x1d1)]||_0x2868b6[_0x1d0f09(0xf3)][_0x1d0f09(0xf8)][_0x1d0f09(0x185)]?_0x2868b6[_0x1d0f09(0xf5)]():(_0x2868b6[_0x1d0f09(0xf3)]['on'](_0x1d0f09(0xe0),_0x2ea999),_0x2868b6[_0x1d0f09(0xf3)]['on'](_0x1d0f09(0xe1),_0x2ea999));}function _0x214132(_0x343753){const _0x50bc54=_0x5f0703;this[_0x30edc0][_0x50bc54(0xf3)][_0x50bc54(0x189)](_0x343753)||this[_0x50bc54(0x17a)]();}function _0x38d164(){const _0x28f990=_0x5f0703,_0xeaf871=this[_0x30edc0];_0xeaf871[_0x28f990(0x18d)]=_0x2c68dd['CLOSING'],_0xeaf871[_0x28f990(0xf3)][_0x28f990(0x214)](),this[_0x28f990(0x214)]();}function _0x4d71f8(){const _0x341ca2=_0x5f0703,_0xf6b399=this[_0x30edc0];this[_0x341ca2(0x233)](_0x341ca2(0xe0),_0x4d71f8),this['on']('error',_0x411443),_0xf6b399&&(_0xf6b399[_0x341ca2(0x18d)]=_0x2c68dd[_0x341ca2(0x12d)],this[_0x341ca2(0x71)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x156d35}=oe;function _0x51061d(_0x45541c){const _0x3e1b93=_0x147c;_0x45541c[_0x3e1b93(0x146)](_0x3e1b93(0x227));}function _0x132261(){const _0x4b8a2d=_0x147c;!this[_0x4b8a2d(0x138)]&&this['_writableState'][_0x4b8a2d(0x1d1)]&&this['destroy']();}function _0x906df9(_0x2fdac3){const _0x1477ef=_0x147c;this['removeListener']('error',_0x906df9),this[_0x1477ef(0x71)](),this['listenerCount'](_0x1477ef(0xe0))===0x0&&this['emit'](_0x1477ef(0xe0),_0x2fdac3);}function _0x5468b3(_0x54615e,_0x535106){const _0x5d77b0=_0x147c;let _0x91fae7=!0x0;const _0x3b90c8=new _0x156d35({..._0x535106,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x54615e['on'](_0x5d77b0(0x133),function(_0x17437e,_0x45805b){const _0x5be8ed=_0x5d77b0,_0x5dc8da=!_0x45805b&&_0x3b90c8[_0x5be8ed(0x6f)][_0x5be8ed(0x21f)]?_0x17437e[_0x5be8ed(0x119)]():_0x17437e;_0x3b90c8['push'](_0x5dc8da)||_0x54615e[_0x5be8ed(0x17a)]();}),_0x54615e[_0x5d77b0(0x1a1)]('error',function(_0x3a2dbf){const _0x964f07=_0x5d77b0;_0x3b90c8['destroyed']||(_0x91fae7=!0x1,_0x3b90c8[_0x964f07(0x71)](_0x3a2dbf));}),_0x54615e['once'](_0x5d77b0(0x227),function(){const _0x1b2272=_0x5d77b0;_0x3b90c8[_0x1b2272(0x138)]||_0x3b90c8[_0x1b2272(0x70)](null);}),_0x3b90c8[_0x5d77b0(0x72)]=function(_0x567c17,_0x251243){const _0xda813b=_0x5d77b0;if(_0x54615e['readyState']===_0x54615e[_0xda813b(0xb7)]){_0x251243(_0x567c17),process['nextTick'](_0x51061d,_0x3b90c8);return;}let _0xbd56a3=!0x1;_0x54615e[_0xda813b(0x1a1)](_0xda813b(0xe0),function(_0x45bcb5){_0xbd56a3=!0x0,_0x251243(_0x45bcb5);}),_0x54615e[_0xda813b(0x1a1)](_0xda813b(0x227),function(){const _0x410d44=_0xda813b;_0xbd56a3||_0x251243(_0x567c17),process[_0x410d44(0x14c)](_0x51061d,_0x3b90c8);}),_0x91fae7&&_0x54615e['terminate']();},_0x3b90c8[_0x5d77b0(0x15e)]=function(_0x4ca639){const _0x4813e8=_0x5d77b0;if(_0x54615e[_0x4813e8(0xc3)]===_0x54615e[_0x4813e8(0x150)]){_0x54615e[_0x4813e8(0x1a1)](_0x4813e8(0x186),function(){const _0x493193=_0x4813e8;_0x3b90c8[_0x493193(0x15e)](_0x4ca639);});return;}_0x54615e['_socket']!==null&&(_0x54615e[_0x4813e8(0x89)][_0x4813e8(0xf8)][_0x4813e8(0x1d1)]?(_0x4ca639(),_0x3b90c8[_0x4813e8(0x6f)]['endEmitted']&&_0x3b90c8[_0x4813e8(0x71)]()):(_0x54615e[_0x4813e8(0x89)][_0x4813e8(0x1a1)](_0x4813e8(0xe1),function(){_0x4ca639();}),_0x54615e['close']()));},_0x3b90c8['_read']=function(){_0x54615e['isPaused']&&_0x54615e['resume']();},_0x3b90c8[_0x5d77b0(0x1f9)]=function(_0x73b671,_0x27ee67,_0x41170c){const _0x582462=_0x5d77b0;if(_0x54615e[_0x582462(0xc3)]===_0x54615e['CONNECTING']){_0x54615e[_0x582462(0x1a1)](_0x582462(0x186),function(){const _0x549361=_0x582462;_0x3b90c8[_0x549361(0x1f9)](_0x73b671,_0x27ee67,_0x41170c);});return;}_0x54615e[_0x582462(0xdf)](_0x73b671,_0x41170c);},_0x3b90c8['on'](_0x5d77b0(0x214),_0x132261),_0x3b90c8['on'](_0x5d77b0(0xe0),_0x906df9),_0x3b90c8;}return Oe=_0x5468b3,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x168207}=ae();function _0x3cb344(_0x2a0ead){const _0x36dc10=_0x147c,_0x332ff6=new Set();let _0x4dff6f=-0x1,_0x2d0c6e=-0x1,_0x2d70e8=0x0;for(_0x2d70e8;_0x2d70e8<_0x2a0ead[_0x36dc10(0x1d3)];_0x2d70e8++){const _0x193847=_0x2a0ead['charCodeAt'](_0x2d70e8);if(_0x2d0c6e===-0x1&&_0x168207[_0x193847]===0x1)_0x4dff6f===-0x1&&(_0x4dff6f=_0x2d70e8);else{if(_0x2d70e8!==0x0&&(_0x193847===0x20||_0x193847===0x9))_0x2d0c6e===-0x1&&_0x4dff6f!==-0x1&&(_0x2d0c6e=_0x2d70e8);else{if(_0x193847===0x2c){if(_0x4dff6f===-0x1)throw new SyntaxError(_0x36dc10(0x1c1)+_0x2d70e8);_0x2d0c6e===-0x1&&(_0x2d0c6e=_0x2d70e8);const _0x2fae07=_0x2a0ead['slice'](_0x4dff6f,_0x2d0c6e);if(_0x332ff6[_0x36dc10(0x131)](_0x2fae07))throw new SyntaxError(_0x36dc10(0x123)+_0x2fae07+'\x22\x20subprotocol\x20is\x20duplicated');_0x332ff6[_0x36dc10(0xb2)](_0x2fae07),_0x4dff6f=_0x2d0c6e=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2d70e8);}}}if(_0x4dff6f===-0x1||_0x2d0c6e!==-0x1)throw new SyntaxError(_0x36dc10(0xfa));const _0x48d374=_0x2a0ead['slice'](_0x4dff6f,_0x2d70e8);if(_0x332ff6[_0x36dc10(0x131)](_0x48d374))throw new SyntaxError('The\x20\x22'+_0x48d374+'\x22\x20subprotocol\x20is\x20duplicated');return _0x332ff6[_0x36dc10(0xb2)](_0x48d374),_0x332ff6;}return Ce={'parse':_0x3cb344},Ce;}var Te,rt;function Ft(){const _0x159bb6=_0x5ab958;if(rt)return Te;rt=0x1;const _0x18bae0=nt,_0xb01677=ot,{Duplex:_0x2a9fc7}=oe,{createHash:_0xab5a8}=Le,_0x1f3047=ct(),_0x359d21=he(),_0x3fb4e2=At(),_0x54943c=Pe(),{GUID:_0x3b83e0,kWebSocket:_0x21da55}=H(),_0x5b23b1=/^[+/0-9A-Za-z]{22}==$/,_0x9419e9=0x0,_0x2c17e7=0x1,_0x5c037c=0x2;class _0x402c93 extends _0x18bae0{constructor(_0x1fdbb2,_0x5562eb){const _0x34600f=_0x147c;if(super(),_0x1fdbb2={'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':_0x54943c,..._0x1fdbb2},_0x1fdbb2[_0x34600f(0x1ce)]==null&&!_0x1fdbb2[_0x34600f(0x1c8)]&&!_0x1fdbb2[_0x34600f(0xbc)]||_0x1fdbb2['port']!=null&&(_0x1fdbb2['server']||_0x1fdbb2[_0x34600f(0xbc)])||_0x1fdbb2[_0x34600f(0x1c8)]&&_0x1fdbb2[_0x34600f(0xbc)])throw new TypeError(_0x34600f(0x218));if(_0x1fdbb2[_0x34600f(0x1ce)]!=null?(this['_server']=_0xb01677[_0x34600f(0x9a)]((_0x542986,_0xb82e6d)=>{const _0x51342c=_0x34600f,_0x272b2e=_0xb01677['STATUS_CODES'][0x1aa];_0xb82e6d['writeHead'](0x1aa,{'Content-Length':_0x272b2e[_0x51342c(0x1d3)],'Content-Type':_0x51342c(0xb5)}),_0xb82e6d[_0x51342c(0x214)](_0x272b2e);}),this['_server'][_0x34600f(0x1cd)](_0x1fdbb2['port'],_0x1fdbb2[_0x34600f(0x134)],_0x1fdbb2[_0x34600f(0x228)],_0x5562eb)):_0x1fdbb2[_0x34600f(0x1c8)]&&(this['_server']=_0x1fdbb2[_0x34600f(0x1c8)]),this['_server']){const _0x376e5c=this[_0x34600f(0x146)][_0x34600f(0x16c)](this,_0x34600f(0x165));this['_removeListeners']=_0x128a79(this[_0x34600f(0x1db)],{'listening':this[_0x34600f(0x146)]['bind'](this,'listening'),'error':this[_0x34600f(0x146)][_0x34600f(0x16c)](this,_0x34600f(0xe0)),'upgrade':(_0x3d2994,_0x550113,_0x473b58)=>{const _0x1ded15=_0x34600f;this[_0x1ded15(0x1d2)](_0x3d2994,_0x550113,_0x473b58,_0x376e5c);}});}_0x1fdbb2[_0x34600f(0x20e)]===!0x0&&(_0x1fdbb2['perMessageDeflate']={}),_0x1fdbb2[_0x34600f(0xa7)]&&(this['clients']=new Set(),this[_0x34600f(0x22f)]=!0x1),this[_0x34600f(0xff)]=_0x1fdbb2,this[_0x34600f(0x1cf)]=_0x9419e9;}[_0x159bb6(0x1ec)](){const _0x164e75=_0x159bb6;if(this['options']['noServer'])throw new Error(_0x164e75(0xa3));return this[_0x164e75(0x1db)]?this[_0x164e75(0x1db)][_0x164e75(0x1ec)]():null;}['close'](_0x3193a4){const _0xfb1283=_0x159bb6;if(this['_state']===_0x5c037c){_0x3193a4&&this[_0xfb1283(0x1a1)](_0xfb1283(0x227),()=>{const _0x280602=_0xfb1283;_0x3193a4(new Error(_0x280602(0x96)));}),process[_0xfb1283(0x14c)](_0x2e806d,this);return;}if(_0x3193a4&&this['once'](_0xfb1283(0x227),_0x3193a4),this[_0xfb1283(0x1cf)]!==_0x2c17e7){if(this[_0xfb1283(0x1cf)]=_0x2c17e7,this[_0xfb1283(0xff)]['noServer']||this[_0xfb1283(0xff)][_0xfb1283(0x1c8)])this[_0xfb1283(0x1db)]&&(this[_0xfb1283(0x102)](),this[_0xfb1283(0x102)]=this[_0xfb1283(0x1db)]=null),this[_0xfb1283(0xd3)]?this[_0xfb1283(0xd3)][_0xfb1283(0x1c0)]?this[_0xfb1283(0x22f)]=!0x0:process['nextTick'](_0x2e806d,this):process['nextTick'](_0x2e806d,this);else{const _0x5113c3=this['_server'];this[_0xfb1283(0x102)](),this['_removeListeners']=this[_0xfb1283(0x1db)]=null,_0x5113c3[_0xfb1283(0x227)](()=>{_0x2e806d(this);});}}}[_0x159bb6(0x14d)](_0xa8bfe7){const _0x2d28b8=_0x159bb6;if(this[_0x2d28b8(0xff)][_0x2d28b8(0xe6)]){const _0x1a224e=_0xa8bfe7['url']['indexOf']('?');if((_0x1a224e!==-0x1?_0xa8bfe7[_0x2d28b8(0x1d9)][_0x2d28b8(0x115)](0x0,_0x1a224e):_0xa8bfe7['url'])!==this['options'][_0x2d28b8(0xe6)])return!0x1;}return!0x0;}[_0x159bb6(0x1d2)](_0x1ccbff,_0x46f971,_0x239151,_0x3c781c){const _0x5735cc=_0x159bb6;_0x46f971['on'](_0x5735cc(0xe0),_0x70ae7e);const _0x29d5ea=_0x1ccbff[_0x5735cc(0x1e4)]['sec-websocket-key'],_0x14d32b=_0x1ccbff[_0x5735cc(0x1e4)][_0x5735cc(0x163)],_0x1dbb60=+_0x1ccbff['headers'][_0x5735cc(0x129)];if(_0x1ccbff[_0x5735cc(0x109)]!==_0x5735cc(0xa9)){_0x544e81(this,_0x1ccbff,_0x46f971,0x195,_0x5735cc(0x1d8));return;}if(_0x14d32b===void 0x0||_0x14d32b['toLowerCase']()!=='websocket'){_0x544e81(this,_0x1ccbff,_0x46f971,0x190,_0x5735cc(0x1a7));return;}if(_0x29d5ea===void 0x0||!_0x5b23b1[_0x5735cc(0x178)](_0x29d5ea)){_0x544e81(this,_0x1ccbff,_0x46f971,0x190,_0x5735cc(0x16a));return;}if(_0x1dbb60!==0x8&&_0x1dbb60!==0xd){_0x544e81(this,_0x1ccbff,_0x46f971,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this[_0x5735cc(0x14d)](_0x1ccbff)){_0x271e21(_0x46f971,0x190);return;}const _0x1b3846=_0x1ccbff[_0x5735cc(0x1e4)][_0x5735cc(0x1f3)];let _0x30ae8c=new Set();if(_0x1b3846!==void 0x0)try{_0x30ae8c=_0x3fb4e2['parse'](_0x1b3846);}catch{_0x544e81(this,_0x1ccbff,_0x46f971,0x190,_0x5735cc(0x200));return;}const _0x512030=_0x1ccbff[_0x5735cc(0x1e4)][_0x5735cc(0xee)],_0x594cb1={};if(this[_0x5735cc(0xff)][_0x5735cc(0x20e)]&&_0x512030!==void 0x0){const _0x34cc3e=new _0x359d21(this[_0x5735cc(0xff)]['perMessageDeflate'],!0x0,this[_0x5735cc(0xff)]['maxPayload']);try{const _0x14b96f=_0x1f3047['parse'](_0x512030);_0x14b96f[_0x359d21['extensionName']]&&(_0x34cc3e[_0x5735cc(0xfc)](_0x14b96f[_0x359d21[_0x5735cc(0x79)]]),_0x594cb1[_0x359d21[_0x5735cc(0x79)]]=_0x34cc3e);}catch{_0x544e81(this,_0x1ccbff,_0x46f971,0x190,_0x5735cc(0x7e));return;}}if(this[_0x5735cc(0xff)][_0x5735cc(0x168)]){const _0x16a676={'origin':_0x1ccbff[_0x5735cc(0x1e4)][''+(_0x1dbb60===0x8?_0x5735cc(0x19e):'origin')],'secure':!!(_0x1ccbff[_0x5735cc(0x73)][_0x5735cc(0x13c)]||_0x1ccbff[_0x5735cc(0x73)][_0x5735cc(0x130)]),'req':_0x1ccbff};if(this[_0x5735cc(0xff)][_0x5735cc(0x168)][_0x5735cc(0x1d3)]===0x2){this[_0x5735cc(0xff)]['verifyClient'](_0x16a676,(_0x3fafb4,_0x597c5f,_0xa8f76e,_0x3a86ab)=>{const _0x2fe117=_0x5735cc;if(!_0x3fafb4)return _0x271e21(_0x46f971,_0x597c5f||0x191,_0xa8f76e,_0x3a86ab);this[_0x2fe117(0x173)](_0x594cb1,_0x29d5ea,_0x30ae8c,_0x1ccbff,_0x46f971,_0x239151,_0x3c781c);});return;}if(!this[_0x5735cc(0xff)][_0x5735cc(0x168)](_0x16a676))return _0x271e21(_0x46f971,0x191);}this['completeUpgrade'](_0x594cb1,_0x29d5ea,_0x30ae8c,_0x1ccbff,_0x46f971,_0x239151,_0x3c781c);}['completeUpgrade'](_0x15eaec,_0x522e25,_0x98212,_0x72de03,_0x5391df,_0xbbed7e,_0x1c7dbf){const _0x1b3146=_0x159bb6;if(!_0x5391df['readable']||!_0x5391df['writable'])return _0x5391df[_0x1b3146(0x71)]();if(_0x5391df[_0x21da55])throw new Error(_0x1b3146(0xfe));if(this['_state']>_0x9419e9)return _0x271e21(_0x5391df,0x1f7);const _0x2bcfac=[_0x1b3146(0x151),'Upgrade:\x20websocket',_0x1b3146(0x10b),'Sec-WebSocket-Accept:\x20'+_0xab5a8('sha1')[_0x1b3146(0xb1)](_0x522e25+_0x3b83e0)['digest'](_0x1b3146(0x1c4))],_0x5396c2=new this[(_0x1b3146(0xff))][(_0x1b3146(0xea))](null,void 0x0,this[_0x1b3146(0xff)]);if(_0x98212[_0x1b3146(0x1c0)]){const _0x5867b7=this[_0x1b3146(0xff)][_0x1b3146(0x192)]?this[_0x1b3146(0xff)][_0x1b3146(0x192)](_0x98212,_0x72de03):_0x98212['values']()[_0x1b3146(0x1b3)]()['value'];_0x5867b7&&(_0x2bcfac[_0x1b3146(0x70)](_0x1b3146(0x148)+_0x5867b7),_0x5396c2[_0x1b3146(0x17d)]=_0x5867b7);}if(_0x15eaec[_0x359d21['extensionName']]){const _0x2e08af=_0x15eaec[_0x359d21['extensionName']][_0x1b3146(0x204)],_0x171e49=_0x1f3047['format']({[_0x359d21[_0x1b3146(0x79)]]:[_0x2e08af]});_0x2bcfac[_0x1b3146(0x70)](_0x1b3146(0xba)+_0x171e49),_0x5396c2[_0x1b3146(0xe2)]=_0x15eaec;}this[_0x1b3146(0x146)](_0x1b3146(0x1e4),_0x2bcfac,_0x72de03),_0x5391df['write'](_0x2bcfac[_0x1b3146(0xab)]('\x0d\x0a')[_0x1b3146(0x179)]('\x0d\x0a')),_0x5391df[_0x1b3146(0x233)](_0x1b3146(0xe0),_0x70ae7e),_0x5396c2[_0x1b3146(0x1ef)](_0x5391df,_0xbbed7e,{'allowSynchronousEvents':this['options'][_0x1b3146(0x221)],'maxPayload':this[_0x1b3146(0xff)][_0x1b3146(0xf6)],'skipUTF8Validation':this[_0x1b3146(0xff)]['skipUTF8Validation']}),this[_0x1b3146(0xd3)]&&(this[_0x1b3146(0xd3)][_0x1b3146(0xb2)](_0x5396c2),_0x5396c2['on'](_0x1b3146(0x227),()=>{const _0x3411e3=_0x1b3146;this[_0x3411e3(0xd3)][_0x3411e3(0x188)](_0x5396c2),this[_0x3411e3(0x22f)]&&!this[_0x3411e3(0xd3)][_0x3411e3(0x1c0)]&&process[_0x3411e3(0x14c)](_0x2e806d,this);})),_0x1c7dbf(_0x5396c2,_0x72de03);}}Te=_0x402c93;function _0x128a79(_0x1ea921,_0x1d752a){const _0x6e9e68=_0x159bb6;for(const _0x40dd53 of Object[_0x6e9e68(0x14f)](_0x1d752a))_0x1ea921['on'](_0x40dd53,_0x1d752a[_0x40dd53]);return function(){const _0xf92f34=_0x6e9e68;for(const _0x5afec7 of Object['keys'](_0x1d752a))_0x1ea921[_0xf92f34(0x233)](_0x5afec7,_0x1d752a[_0x5afec7]);};}function _0x2e806d(_0x5275eb){const _0x280496=_0x159bb6;_0x5275eb[_0x280496(0x1cf)]=_0x5c037c,_0x5275eb[_0x280496(0x146)](_0x280496(0x227));}function _0x70ae7e(){this['destroy']();}function _0x271e21(_0x46c67b,_0x4d37de,_0x81f37a,_0x1f41e9){const _0x4e60f9=_0x159bb6;_0x81f37a=_0x81f37a||_0xb01677[_0x4e60f9(0x113)][_0x4d37de],_0x1f41e9={'Connection':_0x4e60f9(0x227),'Content-Type':_0x4e60f9(0x183),'Content-Length':Buffer[_0x4e60f9(0x95)](_0x81f37a),..._0x1f41e9},_0x46c67b[_0x4e60f9(0x1a1)](_0x4e60f9(0xe1),_0x46c67b['destroy']),_0x46c67b['end'](_0x4e60f9(0x190)+_0x4d37de+'\x20'+_0xb01677[_0x4e60f9(0x113)][_0x4d37de]+'\x0d\x0a'+Object[_0x4e60f9(0x14f)](_0x1f41e9)[_0x4e60f9(0x10d)](_0xb59ffb=>_0xb59ffb+':\x20'+_0x1f41e9[_0xb59ffb])[_0x4e60f9(0x179)]('\x0d\x0a')+_0x4e60f9(0x1e3)+_0x81f37a);}function _0x544e81(_0x108c6d,_0x475c92,_0x22eca5,_0x4e5e05,_0x52e016){const _0x3cae8f=_0x159bb6;if(_0x108c6d[_0x3cae8f(0x1b4)]('wsClientError')){const _0x5639e8=new Error(_0x52e016);Error[_0x3cae8f(0x21e)](_0x5639e8,_0x544e81),_0x108c6d[_0x3cae8f(0x146)](_0x3cae8f(0x1f0),_0x5639e8,_0x22eca5,_0x475c92);}else _0x271e21(_0x22eca5,_0x4e5e05,_0x52e016);}return Te;}function _0x581b(){const _0x2d5fc8=['_isServer','The\x20\x22','_doCreateSocket','Blob','Injector','__esModule','target','sec-websocket-version','Z_DEFAULT_WINDOWBITS','setHeader','ILogService','CLOSING','unmask','_closeFrameReceived','encrypted','has','\x22\x20must\x20have\x20only\x20a\x20single\x20value','message','host','protocol','CollaborationSocketService','pluginName','destroyed','_redirects','Upgrade','kCode','authorized','concurrency','666420LeoioX','set','getConfig','Invalid\x20value\x20for\x20parameter\x20\x22','Disposable','318992gKAlHv','_binaryType','client_no_context_takeover','emit','isIP','Sec-WebSocket-Protocol:\x20','socketPath','_options','Maximum\x20redirects\x20exceeded','nextTick','shouldHandle','bufferedAmount','keys','CONNECTING','HTTP/1.1\x20101\x20Switching\x20Protocols','search','toDisposable','href','sec-websocket-accept','_fragmented','https','servername','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','@univerjs-pro/collaboration','number','invalid\x20opcode\x20','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','_final','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','rsv1','pathname','isInteger','upgrade','_opcode','connection','wasClean','read','verifyClient','code','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','replace','bind','kReason','IConfigService','create','OPEN','wss:','protocolVersion','completeUpgrade','pong','registerDependencies','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','test','join','pause','unexpected-response','ping','_protocol','@univerjs/core','flush','readOnly','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','cleanup','text/html','server_no_context_takeover','errorEmitted','open','writeUInt16BE','delete','write','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','setTimeout','_httpService','_readyState','_payloadLength','threshold','HTTP/1.1\x20','username','handleProtocols','function','http:','total-length','WS_ERR_INVALID_OPCODE','kAborted','decompress','isArray','_closeCode','dispose','createDeflateRaw','data','sec-websocket-origin','isPaused','freeze','once','_url','buffer','addEventListener','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','invalid\x20UTF-8\x20sequence','Invalid\x20Upgrade\x20header','cork','dataMessage','_messageLength','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','constructor','1IUzvsD','dequeue','clientNoContextTakeover','catch','warn','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','next','listenerCount','statusCode','_originalSecure','shift','Cookie','request','mask','removeEventListener','readUInt32BE','enqueue','WS_ERR_INVALID_UTF8','_configService','size','Unexpected\x20character\x20at\x20index\x20','Server\x20sent\x20no\x20subprotocol','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','base64','share','_registerDependencies','followRedirects','server','net','kIsForOnEventAttribute','_fin','Module','listen','port','_state','clientMaxWindowBits','finished','handleUpgrade','length','WebSocket\x20is\x20not\x20open:\x20readyState\x20','UniverCollaborationClientNodePlugin','Z_SYNC_FLUSH','unshift','Invalid\x20HTTP\x20method','url','kData','_server','_sender','authorization','190718TVtnor','_totalPayloadLength','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','getOwnPropertyDescriptor','_threshold','\x0d\x0a\x0d\x0a','headers','client','removeAllListeners','handshakeTimeout','species','normalizeParams','The\x20URL\x27s\x20pathname\x20is\x20empty','then','address','readUInt16BE','toLowerCase','setSocket','wsClientError','pow','listeners','sec-websocket-protocol','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','forEach','Invalid\x20Sec-WebSocket-Accept\x20header','cookie','onmessage','_write','DisposableCollection','isView','_no_context_takeover','Plugin','invalid\x20payload\x20length\x20','_maskBuffer','Invalid\x20Sec-WebSocket-Protocol\x20header','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','controlMessage','redirect','params','env','@univerjs-pro/collaboration-client','find','kRun','MASK\x20must\x20be\x20set','tls','object','dispatch','sendFrame','perMessageDeflate','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','_closeMessage','RSV1\x20must\x20be\x20clear','createInflateRaw','serverMaxWindowBits','end','466146FbxlBj','Inject','Unexpected\x20server\x20response:\x20','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','string','\x22:\x20','binaryType','getMask','generateMask','captureStackTrace','objectMode','invalid\x20opcode\x200','allowSynchronousEvents','getData','_errorEmitted','zlib','1466364nYDqHx','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','close','backlog','Parameter\x20\x22','server_max_window_bits','@univerjs/network','kDone','skipUTF8Validation','WS_ERR_INVALID_CLOSE_CODE','_shouldEmitClose','Unknown\x20parameter\x20\x22','_skipUTF8Validation','prototype','removeListener','_inflate','isBuffer','alloc','acceptAsServer','maskBuffer','_readableState','push','destroy','_destroy','socket','_buffers','_req','acceptAsClient','hostname','auth','extensionName','createSocket','_bufferedAmount','COLLABORATION_CLIENT_NODE_CONFIG_KEY','autoPong','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','indexOf','terminate','Invalid\x20Sec-WebSocket-Extensions\x20header','endEmitted','needDrain','allocUnsafe','defineProperty','pipe','The\x20URL\x20contains\x20a\x20fragment\x20identifier','setNoDelay','_socket','getPayloadLength16','_errored','stream','writeUIntBE','_loop','ws:','_paused','_deflate','isValidUTF8','_firstFragment','concurrencyLimit','byteLength','The\x20server\x20is\x20not\x20running','pending','customHeaders','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','createServer','Max\x20payload\x20size\x20exceeded','type','getPayloadLength64','timeout','onStarting','_originalIpc','Sec-WebSocket-Protocol','consume','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','compress','Sec-WebSocket-Extensions','onerror','clientTracking','_max_window_bits','GET','reset','concat','connect','WS_ERR_UNEXPECTED_MASK','_masked','get','from','update','add','_originalHostOrSocketPath','NodeCollaborationSocketService','text/plain','blob','CLOSED','opcode','_allowSynchronousEvents','Sec-WebSocket-Extensions:\x20','maxRedirects','noServer','_mask','getBlobData','arraybuffer','entries','location','createError','readyState','haveLength','onopen','apply','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','_queue','_maxPayload','kListener','frame','Sec-WebSocket-Origin','call','includes','client_max_window_bits','1626712uOlXrZ','_autoPong','WS_ERR_EXPECTED_FIN','clients','websocket','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','startsWith','finishRequest','invalid\x20status\x20code\x20','_closeFrameSent','jobs','toStringTag','Observable','permessage-deflate','fin','send','error','finish','_extensions','kByteLength','Invalid\x20URL:\x20','origin','path','exports','extensions','startLoop','WebSocket','_bufferedBytes','isServer','WS_ERR_UNEXPECTED_RSV_1','sec-websocket-extensions','ws+unix:','arrayBuffer','File','default','_receiver','_decompress','emitClose','maxPayload','reason','_writableState','_compressed','Unexpected\x20end\x20of\x20input','kMessage','accept','conclude','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','options','hash','split','_removeListeners','onclose','charCodeAt','http','byteOffset','handleEvent','HTTPService','method','UniverCollaborationClientPlugin','Connection:\x20Upgrade','_fragments','map','nodebuffer','FIN\x20must\x20be\x20set','status-code','defaultPort','events','STATUS_CODES','serverNoContextTakeover','slice','Unsupported\x20protocol\x20version:\x20','resume','offer','toString','9KHfIKd','_compress','29505TVfoyr','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','crypto','password','WS_ERR_UNEXPECTED_RSV_2_3','_closeTimer'];_0x581b=function(){return _0x2d5fc8;};return _0x581b();}Ft();var jt=Object[_0x5ab958(0x1e1)],Wt=(_0x3ab8e8,_0x22f10f,_0x21b241,_0x3bf0cd)=>{for(var _0x3b3618=_0x3bf0cd>0x1?void 0x0:_0x3bf0cd?jt(_0x22f10f,_0x21b241):_0x22f10f,_0x394988=_0x3ab8e8['length']-0x1,_0x1741ff;_0x394988>=0x0;_0x394988--)(_0x1741ff=_0x3ab8e8[_0x394988])&&(_0x3b3618=_0x1741ff(_0x3b3618)||_0x3b3618);return _0x3b3618;},qt=(_0x54c785,_0x33868a)=>(_0x49d2d6,_0x4e3b02)=>_0x33868a(_0x49d2d6,_0x4e3b02,_0x54c785);let ke=class extends A[_0x5ab958(0x142)]{constructor(_0x231118){const _0x15952f=_0x5ab958;super(),this[_0x15952f(0x1bf)]=_0x231118;}[_0x5ab958(0x7a)](_0x163ab3){const _0x5a72e8=_0x5ab958;var _0x14647;const _0x2bb103=(_0x14647=this[_0x5a72e8(0x1bf)][_0x5a72e8(0x140)](fe))==null?void 0x0:_0x14647['customHeaders'];try{const _0x823c24=new $t(_0x163ab3,{'headers':{..._0x2bb103}}),_0x4ad0a2=new A[(_0x5a72e8(0x1fa))]();return{'URL':_0x163ab3,'close':(_0x5e000c,_0x2dfc71)=>{const _0x1a3551=_0x5a72e8;_0x823c24[_0x1a3551(0x227)](_0x5e000c,_0x2dfc71),_0x4ad0a2[_0x1a3551(0x19b)]();},'send':_0xcbf607=>{const _0x1f1bda=_0x5a72e8;_0x823c24[_0x1f1bda(0xdf)](_0xcbf607);},'open$':new V[(_0x5a72e8(0xdc))](_0x2479c3=>{const _0x51e37f=_0x5a72e8,_0xbae64b=_0x537571=>_0x2479c3['next'](_0x537571);_0x823c24[_0x51e37f(0x1a4)](_0x51e37f(0x186),_0xbae64b),_0x4ad0a2[_0x51e37f(0xb2)](A['toDisposable'](()=>_0x823c24[_0x51e37f(0x1bb)](_0x51e37f(0x186),_0xbae64b)));})[_0x5a72e8(0x86)](V['share']()),'close$':new V[(_0x5a72e8(0xdc))](_0x476385=>{const _0x4d90bd=_0x5a72e8,_0x41f5b7=_0x3dd83a=>_0x476385['next'](_0x3dd83a);_0x823c24['addEventListener'](_0x4d90bd(0x227),_0x41f5b7),_0x4ad0a2[_0x4d90bd(0xb2)](A['toDisposable'](()=>_0x823c24[_0x4d90bd(0x1bb)](_0x4d90bd(0x227),_0x41f5b7)));})[_0x5a72e8(0x86)](V[_0x5a72e8(0x1c5)]()),'error$':new V[(_0x5a72e8(0xdc))](_0x470ff1=>{const _0x2040dc=_0x5a72e8,_0x1e84ba=_0x2b514b=>_0x470ff1[_0x2040dc(0x1b3)](_0x2b514b);_0x823c24[_0x2040dc(0x1a4)](_0x2040dc(0xe0),_0x1e84ba),_0x4ad0a2['add'](A[_0x2040dc(0x153)](()=>_0x823c24['removeEventListener']('error',_0x1e84ba)));})[_0x5a72e8(0x86)](V[_0x5a72e8(0x1c5)]()),'message$':new V[(_0x5a72e8(0xdc))](_0x24385d=>{const _0x1072f7=_0x5a72e8,_0x2f9a74=_0x39d4ca=>_0x24385d[_0x1072f7(0x1b3)](_0x39d4ca);_0x823c24[_0x1072f7(0x1a4)](_0x1072f7(0x133),_0x2f9a74),_0x4ad0a2[_0x1072f7(0xb2)](A[_0x1072f7(0x153)](()=>_0x823c24[_0x1072f7(0x1bb)](_0x1072f7(0x133),_0x2f9a74)));})[_0x5a72e8(0x86)](V[_0x5a72e8(0x1c5)]())};}catch(_0x22dd16){return console[_0x5a72e8(0xe0)](_0x22dd16),null;}}};ke=Wt([qt(0x0,A[_0x5ab958(0x16e)])],ke);var Gt=Object[_0x5ab958(0x85)],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0x5edef4,_0x330029,_0x1a8942)=>_0x330029 in _0x5edef4?Gt(_0x5edef4,_0x330029,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1a8942}):_0x5edef4[_0x330029]=_0x1a8942,zt=(_0x10a466,_0x3b9bc5,_0x4313f2,_0x1be7e2)=>{const _0x3b644b=_0x5ab958;for(var _0x4575f4=_0x1be7e2>0x1?void 0x0:_0x1be7e2?Vt(_0x3b9bc5,_0x4313f2):_0x3b9bc5,_0x253e10=_0x10a466[_0x3b644b(0x1d3)]-0x1,_0x1f85ba;_0x253e10>=0x0;_0x253e10--)(_0x1f85ba=_0x10a466[_0x253e10])&&(_0x4575f4=_0x1f85ba(_0x4575f4)||_0x4575f4);return _0x4575f4;},Ne=(_0x5c47a1,_0xe4c0c6)=>(_0x4fec7d,_0x3b5fbd)=>_0xe4c0c6(_0x4fec7d,_0x3b5fbd,_0x5c47a1),Yt=(_0xb3f2d3,_0x4caf44,_0x3d258e)=>Ht(_0xb3f2d3,_0x4caf44+'',_0x3d258e);exports['UniverCollaborationClientNodePlugin']=class extends A[_0x5ab958(0x1fd)]{constructor(_0x25afae=Ct,_0x311082,_0x371d86,_0x1c2668){const _0x51c269=_0x5ab958;_0x25afae[_0x51c269(0x98)]||_0x311082[_0x51c269(0x1b1)](_0x51c269(0x201)),super(),this[_0x51c269(0x1bf)]=_0x371d86,this['_injector']=_0x1c2668,this[_0x51c269(0x1bf)]['setConfig'](fe,_0x25afae);}[_0x5ab958(0x9f)](){const _0x2940aa=_0x5ab958;this[_0x2940aa(0x1c6)]();}[_0x5ab958(0x1c6)](){const _0x353d60=_0x5ab958;A[_0x353d60(0x175)](this['_injector'],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports[_0x5ab958(0x1d5)],_0x5ab958(0x137),_0x5ab958(0x1a5)),exports[_0x5ab958(0x1d5)]=zt([A['DependentOn'](st[_0x5ab958(0x10a)]),Ne(0x1,A[_0x5ab958(0x12c)]),Ne(0x2,A[_0x5ab958(0x16e)]),Ne(0x3,A[_0x5ab958(0x216)](A[_0x5ab958(0x126)]))],exports[_0x5ab958(0x1d5)]);var Kt=Object[_0x5ab958(0x1e1)],Xt=(_0x2ec433,_0x4eb6ed,_0x4a8266,_0x2ea48b)=>{const _0x256a83=_0x5ab958;for(var _0x340f16=_0x2ea48b>0x1?void 0x0:_0x2ea48b?Kt(_0x4eb6ed,_0x4a8266):_0x4eb6ed,_0x2e30f4=_0x2ec433[_0x256a83(0x1d3)]-0x1,_0x6fb0a9;_0x2e30f4>=0x0;_0x2e30f4--)(_0x6fb0a9=_0x2ec433[_0x2e30f4])&&(_0x340f16=_0x6fb0a9(_0x340f16)||_0x340f16);return _0x340f16;},ne=(_0x4f533e,_0x2294dc)=>(_0x52b226,_0x3828b0)=>_0x2294dc(_0x52b226,_0x3828b0,_0x4f533e);exports[_0x5ab958(0xb4)]=class extends st[_0x5ab958(0x136)]{constructor(_0x1c4992,_0x32d20d,_0x259084,_0x50997f,_0x219ccf){const _0x565f53=_0x5ab958;super(_0x1c4992,_0x32d20d,_0x259084,_0x50997f,_0x219ccf);const _0x19b66d=this[_0x565f53(0x1bf)][_0x565f53(0x140)](fe);this[_0x565f53(0x18c)]['registerHTTPInterceptor']({'interceptor':(_0x5333a3,_0x400edb)=>{const _0x2cebff=_0x565f53;var _0x40ad1f;const _0x2c1fc5=_0x5333a3[_0x2cebff(0x1e4)];return(_0x40ad1f=_0x19b66d==null?void 0x0:_0x19b66d[_0x2cebff(0x98)])!=null&&_0x40ad1f['cookie']&&_0x2c1fc5[_0x2cebff(0x13f)](_0x2cebff(0x1b8),_0x19b66d['customHeaders'][_0x2cebff(0x1f7)]),_0x400edb(_0x5333a3);}});}async[_0x5ab958(0x7a)](_0x236588){const _0x49f578=_0x5ab958;return this[_0x49f578(0x124)](_0x236588);}},exports[_0x5ab958(0xb4)]=Xt([ne(0x0,A['Inject'](A[_0x5ab958(0x126)])),ne(0x1,A['Inject'](it[_0x5ab958(0x108)])),ne(0x2,A[_0x5ab958(0x16e)]),ne(0x3,A[_0x5ab958(0x12c)]),ne(0x4,Ot['ISnapshotServerService'])],exports['NodeCollaborationSocketService']),exports[_0x5ab958(0x7c)]=fe;
|