@univerjs-pro/collaboration-client-node 0.6.9-experimental.20250408-da421ca → 0.6.9-experimental.20250409-e08c696

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x52b6f9=_0x1646;(function(_0x5e5b51,_0x5cadcd){const _0x3e8a4d=_0x1646,_0x5a7f33=_0x5e5b51();while(!![]){try{const _0x4c9f2c=parseInt(_0x3e8a4d(0x145))/0x1+-parseInt(_0x3e8a4d(0x15f))/0x2+-parseInt(_0x3e8a4d(0x14b))/0x3+-parseInt(_0x3e8a4d(0x2ff))/0x4+-parseInt(_0x3e8a4d(0x14d))/0x5*(parseInt(_0x3e8a4d(0x1d2))/0x6)+-parseInt(_0x3e8a4d(0x174))/0x7+parseInt(_0x3e8a4d(0x1e0))/0x8;if(_0x4c9f2c===_0x5cadcd)break;else _0x5a7f33['push'](_0x5a7f33['shift']());}catch(_0x45fd87){_0x5a7f33['push'](_0x5a7f33['shift']());}}}(_0x536e,0x8d587));Object['defineProperty'](exports,Symbol[_0x52b6f9(0x1b0)],{'value':'Module'});const st=require(_0x52b6f9(0x304)),A=require(_0x52b6f9(0x167)),it=require(_0x52b6f9(0x14c)),V=require(_0x52b6f9(0x1a7)),nt=require(_0x52b6f9(0x2ad)),vt=require('https'),ot=require(_0x52b6f9(0x15b)),St=require(_0x52b6f9(0x2cf)),Et=require(_0x52b6f9(0x1ed)),Le=require(_0x52b6f9(0x1a3)),oe=require(_0x52b6f9(0x2ea)),xt=require('url'),bt=require('zlib'),wt=require(_0x52b6f9(0x1e4)),Ot=require(_0x52b6f9(0x2c2)),fe=_0x52b6f9(0x1e7),Ct={'customHeaders':{}};function Tt(_0x47ed2a){const _0x216b4a=_0x52b6f9;return _0x47ed2a&&_0x47ed2a[_0x216b4a(0x276)]&&Object['prototype'][_0x216b4a(0x1a9)][_0x216b4a(0x268)](_0x47ed2a,_0x216b4a(0x2b9))?_0x47ed2a[_0x216b4a(0x2b9)]:_0x47ed2a;}function at(_0x7e550c){const _0x93b0cb=_0x52b6f9;if(Object[_0x93b0cb(0x217)][_0x93b0cb(0x1a9)][_0x93b0cb(0x268)](_0x7e550c,_0x93b0cb(0x276)))return _0x7e550c;var _0x92c0cd=_0x7e550c['default'];if(typeof _0x92c0cd==_0x93b0cb(0x1e3)){var _0x2788e5=function _0x248ea0(){const _0x1fa60f=_0x93b0cb;return this instanceof _0x248ea0?Reflect[_0x1fa60f(0x218)](_0x92c0cd,arguments,this['constructor']):_0x92c0cd[_0x1fa60f(0x19c)](this,arguments);};_0x2788e5[_0x93b0cb(0x217)]=_0x92c0cd[_0x93b0cb(0x217)];}else _0x2788e5={};return Object[_0x93b0cb(0x26a)](_0x2788e5,'__esModule',{'value':!0x0}),Object['keys'](_0x7e550c)[_0x93b0cb(0x170)](function(_0x18ca80){const _0x302fcc=_0x93b0cb;var _0x5599fd=Object['getOwnPropertyDescriptor'](_0x7e550c,_0x18ca80);Object[_0x302fcc(0x26a)](_0x2788e5,_0x18ca80,_0x5599fd['get']?_0x5599fd:{'enumerable':!0x0,'get':function(){return _0x7e550c[_0x18ca80];}});}),_0x2788e5;}var se={'exports':{}},ge,Ge;function H(){const _0x46ed55=_0x52b6f9;if(Ge)return ge;Ge=0x1;const _0x336cf1=[_0x46ed55(0x227),_0x46ed55(0x154),_0x46ed55(0x171)],_0x43f09c=typeof Blob<'u';return _0x43f09c&&_0x336cf1[_0x46ed55(0x16d)](_0x46ed55(0x1ac)),ge={'BINARY_TYPES':_0x336cf1,'EMPTY_BUFFER':Buffer[_0x46ed55(0x2c3)](0x0),'GUID':_0x46ed55(0x280),'hasBlob':_0x43f09c,'kForOnEventAttribute':Symbol(_0x46ed55(0x2f1)),'kListener':Symbol(_0x46ed55(0x17b)),'kStatusCode':Symbol(_0x46ed55(0x2ae)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x52b6f9(0x2b5)](Object[_0x52b6f9(0x26a)]({'__proto__':null,'default':Nt},Symbol[_0x52b6f9(0x1b0)],{'value':_0x52b6f9(0x2d2)})),Lt=at(kt);var Ve;function ce(){const _0xfa15ce=_0x52b6f9;if(Ve)return se[_0xfa15ce(0x2c0)];Ve=0x1;const {EMPTY_BUFFER:_0xe3ac25}=H(),_0x52e09b=Buffer[Symbol[_0xfa15ce(0x15a)]];function _0x297ceb(_0x161675,_0x2b7d55){const _0x1c71b2=_0xfa15ce;if(_0x161675[_0x1c71b2(0x1b4)]===0x0)return _0xe3ac25;if(_0x161675['length']===0x1)return _0x161675[0x0];const _0x2e5945=Buffer['allocUnsafe'](_0x2b7d55);let _0x1c05ac=0x0;for(let _0x563d86=0x0;_0x563d86<_0x161675[_0x1c71b2(0x1b4)];_0x563d86++){const _0x434d2f=_0x161675[_0x563d86];_0x2e5945[_0x1c71b2(0x232)](_0x434d2f,_0x1c05ac),_0x1c05ac+=_0x434d2f['length'];}return _0x1c05ac<_0x2b7d55?new _0x52e09b(_0x2e5945[_0x1c71b2(0x1e4)],_0x2e5945[_0x1c71b2(0x2ca)],_0x1c05ac):_0x2e5945;}function _0x2425e8(_0x4f81bb,_0x70eec7,_0x54213b,_0x436bb3,_0x514094){for(let _0xb54678=0x0;_0xb54678<_0x514094;_0xb54678++)_0x54213b[_0x436bb3+_0xb54678]=_0x4f81bb[_0xb54678]^_0x70eec7[_0xb54678&0x3];}function _0x5d9043(_0x5c8a54,_0x14d15d){for(let _0x176eb4=0x0;_0x176eb4<_0x5c8a54['length'];_0x176eb4++)_0x5c8a54[_0x176eb4]^=_0x14d15d[_0x176eb4&0x3];}function _0x2aa32e(_0x5c0c32){const _0x18a599=_0xfa15ce;return _0x5c0c32[_0x18a599(0x1b4)]===_0x5c0c32[_0x18a599(0x1e4)]['byteLength']?_0x5c0c32[_0x18a599(0x1e4)]:_0x5c0c32[_0x18a599(0x1e4)][_0x18a599(0x1a2)](_0x5c0c32[_0x18a599(0x2ca)],_0x5c0c32[_0x18a599(0x2ca)]+_0x5c0c32['length']);}function _0x1c9df6(_0x253ab9){const _0x99dfe9=_0xfa15ce;if(_0x1c9df6[_0x99dfe9(0x1b2)]=!0x0,Buffer['isBuffer'](_0x253ab9))return _0x253ab9;let _0xfb7e31;return _0x253ab9 instanceof ArrayBuffer?_0xfb7e31=new _0x52e09b(_0x253ab9):ArrayBuffer['isView'](_0x253ab9)?_0xfb7e31=new _0x52e09b(_0x253ab9[_0x99dfe9(0x1e4)],_0x253ab9['byteOffset'],_0x253ab9[_0x99dfe9(0x2b3)]):(_0xfb7e31=Buffer[_0x99dfe9(0x2e8)](_0x253ab9),_0x1c9df6[_0x99dfe9(0x1b2)]=!0x1),_0xfb7e31;}if(se[_0xfa15ce(0x2c0)]={'concat':_0x297ceb,'mask':_0x2425e8,'toArrayBuffer':_0x2aa32e,'toBuffer':_0x1c9df6,'unmask':_0x5d9043},!process[_0xfa15ce(0x1d0)][_0xfa15ce(0x1b6)])try{const _0x1237c0=Lt;se[_0xfa15ce(0x2c0)]['mask']=function(_0x139653,_0x310245,_0x56f9fc,_0x42fc68,_0x14eb6d){_0x14eb6d<0x30?_0x2425e8(_0x139653,_0x310245,_0x56f9fc,_0x42fc68,_0x14eb6d):_0x1237c0['mask'](_0x139653,_0x310245,_0x56f9fc,_0x42fc68,_0x14eb6d);},se[_0xfa15ce(0x2c0)][_0xfa15ce(0x250)]=function(_0x5583fb,_0x35d04d){const _0x23e6db=_0xfa15ce;_0x5583fb[_0x23e6db(0x1b4)]<0x20?_0x5d9043(_0x5583fb,_0x35d04d):_0x1237c0[_0x23e6db(0x250)](_0x5583fb,_0x35d04d);};}catch{}return se['exports'];}var ye,He;function Pt(){const _0x1d95ef=_0x52b6f9;if(He)return ye;He=0x1;const _0xeac2df=Symbol('kDone'),_0x298f33=Symbol(_0x1d95ef(0x271));class _0x686239{constructor(_0x17d864){const _0x1fe739=_0x1d95ef;this[_0xeac2df]=()=>{const _0x173d67=_0x1646;this[_0x173d67(0x153)]--,this[_0x298f33]();},this[_0x1fe739(0x163)]=_0x17d864||0x1/0x0,this[_0x1fe739(0x161)]=[],this[_0x1fe739(0x153)]=0x0;}['add'](_0x2833f7){this['jobs']['push'](_0x2833f7),this[_0x298f33]();}[_0x298f33](){const _0x5ec462=_0x1d95ef;if(this[_0x5ec462(0x153)]!==this[_0x5ec462(0x163)]&&this['jobs'][_0x5ec462(0x1b4)]){const _0x2c2988=this[_0x5ec462(0x161)][_0x5ec462(0x1f7)]();this[_0x5ec462(0x153)]++,_0x2c2988(this[_0xeac2df]);}}}return ye=_0x686239,ye;}var ve,ze;function he(){const _0xecddef=_0x52b6f9;if(ze)return ve;ze=0x1;const _0x582cbc=bt,_0x4051e1=ce(),_0x34ca25=Pt(),{kStatusCode:_0x2ec5b4}=H(),_0x37b553=Buffer[Symbol[_0xecddef(0x15a)]],_0x29942c=Buffer[_0xecddef(0x2e8)]([0x0,0x0,0xff,0xff]),_0x5bb470=Symbol(_0xecddef(0x209)),_0x4fc058=Symbol(_0xecddef(0x23a)),_0x4dad0f=Symbol(_0xecddef(0x25a)),_0x5a41ec=Symbol('buffers'),_0x403fb6=Symbol(_0xecddef(0x21e));let _0x3367e5;class _0x5612e6{constructor(_0x4b3119,_0x4119f8,_0x803af3){const _0x2bb7f4=_0xecddef;if(this[_0x2bb7f4(0x2a0)]=_0x803af3|0x0,this[_0x2bb7f4(0x190)]=_0x4b3119||{},this[_0x2bb7f4(0x13e)]=this[_0x2bb7f4(0x190)]['threshold']!==void 0x0?this[_0x2bb7f4(0x190)][_0x2bb7f4(0x1ca)]:0x400,this[_0x2bb7f4(0x181)]=!!_0x4119f8,this[_0x2bb7f4(0x1b5)]=null,this['_inflate']=null,this['params']=null,!_0x3367e5){const _0x306edd=this[_0x2bb7f4(0x190)][_0x2bb7f4(0x1bd)]!==void 0x0?this[_0x2bb7f4(0x190)][_0x2bb7f4(0x1bd)]:0xa;_0x3367e5=new _0x34ca25(_0x306edd);}}static get['extensionName'](){return'permessage-deflate';}[_0xecddef(0x24c)](){const _0x373445=_0xecddef,_0x140736={};return this[_0x373445(0x190)][_0x373445(0x203)]&&(_0x140736[_0x373445(0x179)]=!0x0),this[_0x373445(0x190)][_0x373445(0x2a9)]&&(_0x140736[_0x373445(0x144)]=!0x0),this[_0x373445(0x190)][_0x373445(0x28f)]&&(_0x140736['server_max_window_bits']=this['_options']['serverMaxWindowBits']),this['_options'][_0x373445(0x1d9)]?_0x140736[_0x373445(0x1eb)]=this['_options'][_0x373445(0x1d9)]:this[_0x373445(0x190)][_0x373445(0x1d9)]==null&&(_0x140736['client_max_window_bits']=!0x0),_0x140736;}['accept'](_0x2d50ea){const _0x401429=_0xecddef;return _0x2d50ea=this[_0x401429(0x2b2)](_0x2d50ea),this[_0x401429(0x162)]=this[_0x401429(0x181)]?this[_0x401429(0x2d1)](_0x2d50ea):this[_0x401429(0x2b4)](_0x2d50ea),this['params'];}[_0xecddef(0x29a)](){const _0x54e0f3=_0xecddef;if(this['_inflate']&&(this[_0x54e0f3(0x18d)][_0x54e0f3(0x164)](),this[_0x54e0f3(0x18d)]=null),this[_0x54e0f3(0x1b5)]){const _0x808e04=this['_deflate'][_0x4dad0f];this[_0x54e0f3(0x1b5)][_0x54e0f3(0x164)](),this[_0x54e0f3(0x1b5)]=null,_0x808e04&&_0x808e04(new Error(_0x54e0f3(0x212)));}}[_0xecddef(0x2d1)](_0x388786){const _0x4f77f1=_0xecddef,_0x190704=this[_0x4f77f1(0x190)],_0x5c162f=_0x388786[_0x4f77f1(0x176)](_0x48c3fa=>!(_0x190704[_0x4f77f1(0x203)]===!0x1&&_0x48c3fa[_0x4f77f1(0x179)]||_0x48c3fa[_0x4f77f1(0x24d)]&&(_0x190704['serverMaxWindowBits']===!0x1||typeof _0x190704[_0x4f77f1(0x28f)]=='number'&&_0x190704[_0x4f77f1(0x28f)]>_0x48c3fa[_0x4f77f1(0x24d)])||typeof _0x190704['clientMaxWindowBits']=='number'&&!_0x48c3fa['client_max_window_bits']));if(!_0x5c162f)throw new Error(_0x4f77f1(0x13d));return _0x190704[_0x4f77f1(0x203)]&&(_0x5c162f[_0x4f77f1(0x179)]=!0x0),_0x190704['clientNoContextTakeover']&&(_0x5c162f[_0x4f77f1(0x144)]=!0x0),typeof _0x190704['serverMaxWindowBits']==_0x4f77f1(0x19e)&&(_0x5c162f[_0x4f77f1(0x24d)]=_0x190704[_0x4f77f1(0x28f)]),typeof _0x190704[_0x4f77f1(0x1d9)]==_0x4f77f1(0x19e)?_0x5c162f[_0x4f77f1(0x1eb)]=_0x190704[_0x4f77f1(0x1d9)]:(_0x5c162f['client_max_window_bits']===!0x0||_0x190704[_0x4f77f1(0x1d9)]===!0x1)&&delete _0x5c162f[_0x4f77f1(0x1eb)],_0x5c162f;}['acceptAsClient'](_0xe566f1){const _0x453cb8=_0xecddef,_0x1d981b=_0xe566f1[0x0];if(this[_0x453cb8(0x190)][_0x453cb8(0x2a9)]===!0x1&&_0x1d981b['client_no_context_takeover'])throw new Error(_0x453cb8(0x1d5));if(!_0x1d981b[_0x453cb8(0x1eb)])typeof this['_options'][_0x453cb8(0x1d9)]==_0x453cb8(0x19e)&&(_0x1d981b[_0x453cb8(0x1eb)]=this[_0x453cb8(0x190)]['clientMaxWindowBits']);else{if(this['_options'][_0x453cb8(0x1d9)]===!0x1||typeof this['_options'][_0x453cb8(0x1d9)]==_0x453cb8(0x19e)&&_0x1d981b[_0x453cb8(0x1eb)]>this[_0x453cb8(0x190)]['clientMaxWindowBits'])throw new Error(_0x453cb8(0x152));}return _0x1d981b;}[_0xecddef(0x2b2)](_0x573247){const _0x178af6=_0xecddef;return _0x573247[_0x178af6(0x170)](_0x2cf35b=>{const _0x4503bb=_0x178af6;Object[_0x4503bb(0x254)](_0x2cf35b)[_0x4503bb(0x170)](_0x267098=>{const _0x11775e=_0x4503bb;let _0x2b4339=_0x2cf35b[_0x267098];if(_0x2b4339[_0x11775e(0x1b4)]>0x1)throw new Error(_0x11775e(0x283)+_0x267098+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x2b4339=_0x2b4339[0x0],_0x267098===_0x11775e(0x1eb)){if(_0x2b4339!==!0x0){const _0x10c5b3=+_0x2b4339;if(!Number[_0x11775e(0x2c1)](_0x10c5b3)||_0x10c5b3<0x8||_0x10c5b3>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x267098+_0x11775e(0x2b7)+_0x2b4339);_0x2b4339=_0x10c5b3;}else{if(!this[_0x11775e(0x181)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x267098+'\x22:\x20'+_0x2b4339);}}else{if(_0x267098===_0x11775e(0x24d)){const _0x270672=+_0x2b4339;if(!Number[_0x11775e(0x2c1)](_0x270672)||_0x270672<0x8||_0x270672>0xf)throw new TypeError(_0x11775e(0x22e)+_0x267098+'\x22:\x20'+_0x2b4339);_0x2b4339=_0x270672;}else{if(_0x267098===_0x11775e(0x144)||_0x267098===_0x11775e(0x179)){if(_0x2b4339!==!0x0)throw new TypeError(_0x11775e(0x22e)+_0x267098+_0x11775e(0x2b7)+_0x2b4339);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x267098+'\x22');}}_0x2cf35b[_0x267098]=_0x2b4339;});}),_0x573247;}['decompress'](_0x572de7,_0x2f0dee,_0x5611dd){const _0x265918=_0xecddef;_0x3367e5[_0x265918(0x270)](_0x1998c8=>{this['_decompress'](_0x572de7,_0x2f0dee,(_0xfee32,_0x376a02)=>{_0x1998c8(),_0x5611dd(_0xfee32,_0x376a02);});});}[_0xecddef(0x1ce)](_0x449cdb,_0x1e8075,_0x1df0e7){const _0x45dca1=_0xecddef;_0x3367e5[_0x45dca1(0x270)](_0x4db617=>{const _0xdf7b76=_0x45dca1;this[_0xdf7b76(0x16a)](_0x449cdb,_0x1e8075,(_0x412429,_0x4b37d2)=>{_0x4db617(),_0x1df0e7(_0x412429,_0x4b37d2);});});}[_0xecddef(0x2df)](_0x3c370e,_0x3e03a7,_0x2f9cf3){const _0x5a3daa=_0xecddef,_0x2c3665=this[_0x5a3daa(0x181)]?_0x5a3daa(0x1e8):_0x5a3daa(0x1cd);if(!this[_0x5a3daa(0x18d)]){const _0x49e295=_0x2c3665+_0x5a3daa(0x202),_0x5252da=typeof this[_0x5a3daa(0x162)][_0x49e295]!=_0x5a3daa(0x19e)?_0x582cbc[_0x5a3daa(0x1f5)]:this['params'][_0x49e295];this['_inflate']=_0x582cbc[_0x5a3daa(0x132)]({...this['_options'][_0x5a3daa(0x16e)],'windowBits':_0x5252da}),this[_0x5a3daa(0x18d)][_0x5bb470]=this,this[_0x5a3daa(0x18d)][_0x4fc058]=0x0,this[_0x5a3daa(0x18d)][_0x5a41ec]=[],this[_0x5a3daa(0x18d)]['on']('error',_0x495ecd),this[_0x5a3daa(0x18d)]['on'](_0x5a3daa(0x1df),_0x20210b);}this[_0x5a3daa(0x18d)][_0x4dad0f]=_0x2f9cf3,this['_inflate'][_0x5a3daa(0x205)](_0x3c370e),_0x3e03a7&&this[_0x5a3daa(0x18d)][_0x5a3daa(0x205)](_0x29942c),this[_0x5a3daa(0x18d)][_0x5a3daa(0x252)](()=>{const _0x535182=_0x5a3daa,_0x48ab5f=this['_inflate'][_0x403fb6];if(_0x48ab5f){this[_0x535182(0x18d)]['close'](),this[_0x535182(0x18d)]=null,_0x2f9cf3(_0x48ab5f);return;}const _0x4d43cc=_0x4051e1[_0x535182(0x292)](this[_0x535182(0x18d)][_0x5a41ec],this[_0x535182(0x18d)][_0x4fc058]);this['_inflate'][_0x535182(0x178)][_0x535182(0x20d)]?(this[_0x535182(0x18d)][_0x535182(0x164)](),this[_0x535182(0x18d)]=null):(this['_inflate'][_0x4fc058]=0x0,this[_0x535182(0x18d)][_0x5a41ec]=[],_0x3e03a7&&this[_0x535182(0x162)][_0x2c3665+_0x535182(0x149)]&&this[_0x535182(0x18d)][_0x535182(0x16f)]()),_0x2f9cf3(null,_0x4d43cc);});}[_0xecddef(0x16a)](_0x253023,_0x5a4a37,_0x5f3a3e){const _0x4b3cd8=_0xecddef,_0x9ccbd7=this[_0x4b3cd8(0x181)]?_0x4b3cd8(0x1cd):_0x4b3cd8(0x1e8);if(!this[_0x4b3cd8(0x1b5)]){const _0x10e2af=_0x9ccbd7+_0x4b3cd8(0x202),_0x1fc575=typeof this[_0x4b3cd8(0x162)][_0x10e2af]!=_0x4b3cd8(0x19e)?_0x582cbc[_0x4b3cd8(0x1f5)]:this[_0x4b3cd8(0x162)][_0x10e2af];this[_0x4b3cd8(0x1b5)]=_0x582cbc[_0x4b3cd8(0x290)]({...this[_0x4b3cd8(0x190)]['zlibDeflateOptions'],'windowBits':_0x1fc575}),this[_0x4b3cd8(0x1b5)][_0x4fc058]=0x0,this[_0x4b3cd8(0x1b5)][_0x5a41ec]=[],this[_0x4b3cd8(0x1b5)]['on'](_0x4b3cd8(0x1df),_0x29344b);}this['_deflate'][_0x4dad0f]=_0x5f3a3e,this['_deflate']['write'](_0x253023),this[_0x4b3cd8(0x1b5)][_0x4b3cd8(0x252)](_0x582cbc['Z_SYNC_FLUSH'],()=>{const _0x376ad1=_0x4b3cd8;if(!this[_0x376ad1(0x1b5)])return;let _0x2a1af6=_0x4051e1[_0x376ad1(0x292)](this[_0x376ad1(0x1b5)][_0x5a41ec],this[_0x376ad1(0x1b5)][_0x4fc058]);_0x5a4a37&&(_0x2a1af6=new _0x37b553(_0x2a1af6[_0x376ad1(0x1e4)],_0x2a1af6[_0x376ad1(0x2ca)],_0x2a1af6[_0x376ad1(0x1b4)]-0x4)),this[_0x376ad1(0x1b5)][_0x4dad0f]=null,this['_deflate'][_0x4fc058]=0x0,this[_0x376ad1(0x1b5)][_0x5a41ec]=[],_0x5a4a37&&this[_0x376ad1(0x162)][_0x9ccbd7+_0x376ad1(0x149)]&&this[_0x376ad1(0x1b5)]['reset'](),_0x5f3a3e(null,_0x2a1af6);});}}ve=_0x5612e6;function _0x29344b(_0x293a1b){const _0x504ba1=_0xecddef;this[_0x5a41ec]['push'](_0x293a1b),this[_0x4fc058]+=_0x293a1b[_0x504ba1(0x1b4)];}function _0x20210b(_0x49d2fb){const _0x429e87=_0xecddef;if(this[_0x4fc058]+=_0x49d2fb[_0x429e87(0x1b4)],this[_0x5bb470][_0x429e87(0x2a0)]<0x1||this[_0x4fc058]<=this[_0x5bb470][_0x429e87(0x2a0)]){this[_0x5a41ec]['push'](_0x49d2fb);return;}this[_0x403fb6]=new RangeError(_0x429e87(0x2f4)),this[_0x403fb6][_0x429e87(0x1da)]=_0x429e87(0x2bf),this[_0x403fb6][_0x2ec5b4]=0x3f1,this[_0x429e87(0x2bb)](_0x429e87(0x1df),_0x20210b),this[_0x429e87(0x16f)]();}function _0x495ecd(_0x48390d){const _0x523c7e=_0xecddef;this[_0x5bb470][_0x523c7e(0x18d)]=null,_0x48390d[_0x2ec5b4]=0x3ef,this[_0x4dad0f](_0x48390d);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object['defineProperty']({'__proto__':null,'default':Dt},Symbol[_0x52b6f9(0x1b0)],{'value':_0x52b6f9(0x2d2)})),Bt=at(Rt);var Ye;function ae(){const _0xac24b7=_0x52b6f9;if(Ye)return ie['exports'];Ye=0x1;const {isUtf8:_0x4f6493}=wt,{hasBlob:_0x38d5a8}=H(),_0x11ead0=[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 _0x439b2e(_0x33c434){return _0x33c434>=0x3e8&&_0x33c434<=0x3f6&&_0x33c434!==0x3ec&&_0x33c434!==0x3ed&&_0x33c434!==0x3ee||_0x33c434>=0xbb8&&_0x33c434<=0x1387;}function _0x126aed(_0x573033){const _0x2db755=_0x1646,_0x6581=_0x573033[_0x2db755(0x1b4)];let _0x14566b=0x0;for(;_0x14566b<_0x6581;)if((_0x573033[_0x14566b]&0x80)===0x0)_0x14566b++;else{if((_0x573033[_0x14566b]&0xe0)===0xc0){if(_0x14566b+0x1===_0x6581||(_0x573033[_0x14566b+0x1]&0xc0)!==0x80||(_0x573033[_0x14566b]&0xfe)===0xc0)return!0x1;_0x14566b+=0x2;}else{if((_0x573033[_0x14566b]&0xf0)===0xe0){if(_0x14566b+0x2>=_0x6581||(_0x573033[_0x14566b+0x1]&0xc0)!==0x80||(_0x573033[_0x14566b+0x2]&0xc0)!==0x80||_0x573033[_0x14566b]===0xe0&&(_0x573033[_0x14566b+0x1]&0xe0)===0x80||_0x573033[_0x14566b]===0xed&&(_0x573033[_0x14566b+0x1]&0xe0)===0xa0)return!0x1;_0x14566b+=0x3;}else{if((_0x573033[_0x14566b]&0xf8)===0xf0){if(_0x14566b+0x3>=_0x6581||(_0x573033[_0x14566b+0x1]&0xc0)!==0x80||(_0x573033[_0x14566b+0x2]&0xc0)!==0x80||(_0x573033[_0x14566b+0x3]&0xc0)!==0x80||_0x573033[_0x14566b]===0xf0&&(_0x573033[_0x14566b+0x1]&0xf0)===0x80||_0x573033[_0x14566b]===0xf4&&_0x573033[_0x14566b+0x1]>0x8f||_0x573033[_0x14566b]>0xf4)return!0x1;_0x14566b+=0x4;}else return!0x1;}}}return!0x0;}function _0x411214(_0x977457){const _0x100db4=_0x1646;return _0x38d5a8&&typeof _0x977457==_0x100db4(0x1a4)&&typeof _0x977457['arrayBuffer']==_0x100db4(0x1e3)&&typeof _0x977457['type']==_0x100db4(0x2fd)&&typeof _0x977457[_0x100db4(0x2ea)]==_0x100db4(0x1e3)&&(_0x977457[Symbol['toStringTag']]===_0x100db4(0x2dc)||_0x977457[Symbol['toStringTag']]===_0x100db4(0x300));}if(ie['exports']={'isBlob':_0x411214,'isValidStatusCode':_0x439b2e,'isValidUTF8':_0x126aed,'tokenChars':_0x11ead0},_0x4f6493)ie[_0xac24b7(0x2c0)][_0xac24b7(0x20b)]=function(_0x2ec4dc){const _0x17cfb0=_0xac24b7;return _0x2ec4dc[_0x17cfb0(0x1b4)]<0x18?_0x126aed(_0x2ec4dc):_0x4f6493(_0x2ec4dc);};else{if(!process[_0xac24b7(0x1d0)][_0xac24b7(0x19d)])try{const _0x583f7f=Bt;ie[_0xac24b7(0x2c0)][_0xac24b7(0x20b)]=function(_0x4b6f04){return _0x4b6f04['length']<0x20?_0x126aed(_0x4b6f04):_0x583f7f(_0x4b6f04);};}catch{}}return ie['exports'];}var Se,Ke;function lt(){const _0x43f800=_0x52b6f9;if(Ke)return Se;Ke=0x1;const {Writable:_0x38410b}=oe,_0x1dc7a6=he(),{BINARY_TYPES:_0x15466d,EMPTY_BUFFER:_0x229ca1,kStatusCode:_0x30f2ed,kWebSocket:_0x49e26e}=H(),{concat:_0x4b0502,toArrayBuffer:_0x4f1483,unmask:_0x280ba0}=ce(),{isValidStatusCode:_0x189be1,isValidUTF8:_0x48ae3c}=ae(),_0x5f501e=Buffer[Symbol[_0x43f800(0x15a)]],_0x338c7b=0x0,_0x46a2d0=0x1,_0x28654e=0x2,_0x5998c7=0x3,_0x1ed8db=0x4,_0x36cff1=0x5,_0x410f4e=0x6;class _0x261987 extends _0x38410b{constructor(_0x287ff2={}){const _0x1028d7=_0x43f800;super(),this[_0x1028d7(0x302)]=_0x287ff2[_0x1028d7(0x2ce)]!==void 0x0?_0x287ff2[_0x1028d7(0x2ce)]:!0x0,this['_binaryType']=_0x287ff2[_0x1028d7(0x15d)]||_0x15466d[0x0],this[_0x1028d7(0x142)]=_0x287ff2['extensions']||{},this[_0x1028d7(0x181)]=!!_0x287ff2['isServer'],this[_0x1028d7(0x2a0)]=_0x287ff2[_0x1028d7(0x2ba)]|0x0,this[_0x1028d7(0x1aa)]=!!_0x287ff2[_0x1028d7(0x281)],this[_0x49e26e]=void 0x0,this[_0x1028d7(0x2a4)]=0x0,this[_0x1028d7(0x14f)]=[],this[_0x1028d7(0x23d)]=!0x1,this[_0x1028d7(0x189)]=0x0,this[_0x1028d7(0x2f8)]=void 0x0,this[_0x1028d7(0x1f1)]=0x0,this[_0x1028d7(0x2f3)]=!0x1,this['_fin']=!0x1,this[_0x1028d7(0x194)]=0x0,this[_0x1028d7(0x2b8)]=0x0,this[_0x1028d7(0x2f5)]=0x0,this[_0x1028d7(0x239)]=[],this[_0x1028d7(0x236)]=!0x1,this['_loop']=!0x1,this[_0x1028d7(0x1d4)]=_0x338c7b;}[_0x43f800(0x2e5)](_0x210fd7,_0x523e84,_0x233318){const _0x77759b=_0x43f800;if(this[_0x77759b(0x194)]===0x8&&this[_0x77759b(0x1d4)]==_0x338c7b)return _0x233318();this[_0x77759b(0x2a4)]+=_0x210fd7[_0x77759b(0x1b4)],this[_0x77759b(0x14f)]['push'](_0x210fd7),this[_0x77759b(0x184)](_0x233318);}[_0x43f800(0x2a1)](_0x1159fb){const _0x5c0996=_0x43f800;if(this[_0x5c0996(0x2a4)]-=_0x1159fb,_0x1159fb===this['_buffers'][0x0][_0x5c0996(0x1b4)])return this[_0x5c0996(0x14f)][_0x5c0996(0x1f7)]();if(_0x1159fb<this[_0x5c0996(0x14f)][0x0][_0x5c0996(0x1b4)]){const _0x3c509b=this['_buffers'][0x0];return this[_0x5c0996(0x14f)][0x0]=new _0x5f501e(_0x3c509b['buffer'],_0x3c509b[_0x5c0996(0x2ca)]+_0x1159fb,_0x3c509b['length']-_0x1159fb),new _0x5f501e(_0x3c509b[_0x5c0996(0x1e4)],_0x3c509b['byteOffset'],_0x1159fb);}const _0x5157eb=Buffer[_0x5c0996(0x27c)](_0x1159fb);do{const _0x45973c=this['_buffers'][0x0],_0x436d8a=_0x5157eb[_0x5c0996(0x1b4)]-_0x1159fb;_0x1159fb>=_0x45973c[_0x5c0996(0x1b4)]?_0x5157eb[_0x5c0996(0x232)](this[_0x5c0996(0x14f)]['shift'](),_0x436d8a):(_0x5157eb['set'](new Uint8Array(_0x45973c[_0x5c0996(0x1e4)],_0x45973c[_0x5c0996(0x2ca)],_0x1159fb),_0x436d8a),this[_0x5c0996(0x14f)][0x0]=new _0x5f501e(_0x45973c['buffer'],_0x45973c[_0x5c0996(0x2ca)]+_0x1159fb,_0x45973c[_0x5c0996(0x1b4)]-_0x1159fb)),_0x1159fb-=_0x45973c[_0x5c0996(0x1b4)];}while(_0x1159fb>0x0);return _0x5157eb;}[_0x43f800(0x184)](_0x37a0fe){const _0x236710=_0x43f800;this[_0x236710(0x214)]=!0x0;do switch(this[_0x236710(0x1d4)]){case _0x338c7b:this[_0x236710(0x274)](_0x37a0fe);break;case _0x46a2d0:this['getPayloadLength16'](_0x37a0fe);break;case _0x28654e:this[_0x236710(0x1fa)](_0x37a0fe);break;case _0x5998c7:this[_0x236710(0x253)]();break;case _0x1ed8db:this['getData'](_0x37a0fe);break;case _0x36cff1:case _0x410f4e:this[_0x236710(0x214)]=!0x1;return;}while(this[_0x236710(0x214)]);this[_0x236710(0x236)]||_0x37a0fe();}[_0x43f800(0x274)](_0x3d934b){const _0x23c4d4=_0x43f800;if(this[_0x23c4d4(0x2a4)]<0x2){this[_0x23c4d4(0x214)]=!0x1;return;}const _0x6fdd8c=this[_0x23c4d4(0x2a1)](0x2);if((_0x6fdd8c[0x0]&0x30)!==0x0){const _0x590a2b=this[_0x23c4d4(0x257)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x23c4d4(0x27b));_0x3d934b(_0x590a2b);return;}const _0xa72954=(_0x6fdd8c[0x0]&0x40)===0x40;if(_0xa72954&&!this[_0x23c4d4(0x142)][_0x1dc7a6['extensionName']]){const _0x4d32b4=this[_0x23c4d4(0x257)](RangeError,_0x23c4d4(0x1cc),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x3d934b(_0x4d32b4);return;}if(this[_0x23c4d4(0x2c6)]=(_0x6fdd8c[0x0]&0x80)===0x80,this[_0x23c4d4(0x194)]=_0x6fdd8c[0x0]&0xf,this['_payloadLength']=_0x6fdd8c[0x1]&0x7f,this[_0x23c4d4(0x194)]===0x0){if(_0xa72954){const _0x5ea088=this[_0x23c4d4(0x257)](RangeError,_0x23c4d4(0x1cc),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x3d934b(_0x5ea088);return;}if(!this[_0x23c4d4(0x1f1)]){const _0x39cabe=this[_0x23c4d4(0x257)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x23c4d4(0x2b6));_0x3d934b(_0x39cabe);return;}this[_0x23c4d4(0x194)]=this[_0x23c4d4(0x1f1)];}else{if(this['_opcode']===0x1||this['_opcode']===0x2){if(this[_0x23c4d4(0x1f1)]){const _0x454216=this['createError'](RangeError,_0x23c4d4(0x1ff)+this[_0x23c4d4(0x194)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x3d934b(_0x454216);return;}this[_0x23c4d4(0x23d)]=_0xa72954;}else{if(this['_opcode']>0x7&&this[_0x23c4d4(0x194)]<0xb){if(!this[_0x23c4d4(0x2c6)]){const _0xd2311c=this[_0x23c4d4(0x257)](RangeError,_0x23c4d4(0x25b),!0x0,0x3ea,_0x23c4d4(0x175));_0x3d934b(_0xd2311c);return;}if(_0xa72954){const _0x185f40=this[_0x23c4d4(0x257)](RangeError,_0x23c4d4(0x1cc),!0x0,0x3ea,_0x23c4d4(0x1b8));_0x3d934b(_0x185f40);return;}if(this[_0x23c4d4(0x189)]>0x7d||this[_0x23c4d4(0x194)]===0x8&&this[_0x23c4d4(0x189)]===0x1){const _0x7413d6=this[_0x23c4d4(0x257)](RangeError,_0x23c4d4(0x13b)+this[_0x23c4d4(0x189)],!0x0,0x3ea,_0x23c4d4(0x295));_0x3d934b(_0x7413d6);return;}}else{const _0x23bc99=this[_0x23c4d4(0x257)](RangeError,_0x23c4d4(0x1ff)+this[_0x23c4d4(0x194)],!0x0,0x3ea,_0x23c4d4(0x2b6));_0x3d934b(_0x23bc99);return;}}}if(!this['_fin']&&!this[_0x23c4d4(0x1f1)]&&(this[_0x23c4d4(0x1f1)]=this[_0x23c4d4(0x194)]),this[_0x23c4d4(0x2f3)]=(_0x6fdd8c[0x1]&0x80)===0x80,this['_isServer']){if(!this['_masked']){const _0x2daed8=this[_0x23c4d4(0x257)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x23c4d4(0x2a7));_0x3d934b(_0x2daed8);return;}}else{if(this[_0x23c4d4(0x2f3)]){const _0x5b86ed=this[_0x23c4d4(0x257)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x23c4d4(0x25c));_0x3d934b(_0x5b86ed);return;}}this['_payloadLength']===0x7e?this[_0x23c4d4(0x1d4)]=_0x46a2d0:this[_0x23c4d4(0x189)]===0x7f?this[_0x23c4d4(0x1d4)]=_0x28654e:this['haveLength'](_0x3d934b);}['getPayloadLength16'](_0x25baec){const _0x384542=_0x43f800;if(this[_0x384542(0x2a4)]<0x2){this[_0x384542(0x214)]=!0x1;return;}this[_0x384542(0x189)]=this[_0x384542(0x2a1)](0x2)[_0x384542(0x2fc)](0x0),this[_0x384542(0x16b)](_0x25baec);}['getPayloadLength64'](_0x3c3212){const _0x1702c2=_0x43f800;if(this[_0x1702c2(0x2a4)]<0x8){this['_loop']=!0x1;return;}const _0x46df49=this[_0x1702c2(0x2a1)](0x8),_0x1ec9b6=_0x46df49[_0x1702c2(0x210)](0x0);if(_0x1ec9b6>Math['pow'](0x2,0x15)-0x1){const _0x36c54f=this[_0x1702c2(0x257)](RangeError,_0x1702c2(0x2ee),!0x1,0x3f1,_0x1702c2(0x2ef));_0x3c3212(_0x36c54f);return;}this[_0x1702c2(0x189)]=_0x1ec9b6*Math[_0x1702c2(0x2f2)](0x2,0x20)+_0x46df49['readUInt32BE'](0x4),this[_0x1702c2(0x16b)](_0x3c3212);}[_0x43f800(0x16b)](_0x459233){const _0x23e19a=_0x43f800;if(this[_0x23e19a(0x189)]&&this[_0x23e19a(0x194)]<0x8&&(this['_totalPayloadLength']+=this['_payloadLength'],this[_0x23e19a(0x2b8)]>this[_0x23e19a(0x2a0)]&&this[_0x23e19a(0x2a0)]>0x0)){const _0x28a700=this['createError'](RangeError,_0x23e19a(0x2f4),!0x1,0x3f1,_0x23e19a(0x2bf));_0x459233(_0x28a700);return;}this[_0x23e19a(0x2f3)]?this[_0x23e19a(0x1d4)]=_0x5998c7:this['_state']=_0x1ed8db;}[_0x43f800(0x253)](){const _0xe5b4a4=_0x43f800;if(this[_0xe5b4a4(0x2a4)]<0x4){this[_0xe5b4a4(0x214)]=!0x1;return;}this[_0xe5b4a4(0x2f8)]=this['consume'](0x4),this['_state']=_0x1ed8db;}[_0x43f800(0x1ab)](_0x4d4471){const _0x36e0c4=_0x43f800;let _0x30d854=_0x229ca1;if(this['_payloadLength']){if(this[_0x36e0c4(0x2a4)]<this['_payloadLength']){this[_0x36e0c4(0x214)]=!0x1;return;}_0x30d854=this[_0x36e0c4(0x2a1)](this[_0x36e0c4(0x189)]),this[_0x36e0c4(0x2f3)]&&(this[_0x36e0c4(0x2f8)][0x0]|this['_mask'][0x1]|this['_mask'][0x2]|this[_0x36e0c4(0x2f8)][0x3])!==0x0&&_0x280ba0(_0x30d854,this['_mask']);}if(this[_0x36e0c4(0x194)]>0x7){this[_0x36e0c4(0x130)](_0x30d854,_0x4d4471);return;}if(this[_0x36e0c4(0x23d)]){this[_0x36e0c4(0x1d4)]=_0x36cff1,this['decompress'](_0x30d854,_0x4d4471);return;}_0x30d854['length']&&(this[_0x36e0c4(0x2f5)]=this[_0x36e0c4(0x2b8)],this[_0x36e0c4(0x239)][_0x36e0c4(0x16d)](_0x30d854)),this[_0x36e0c4(0x13c)](_0x4d4471);}[_0x43f800(0x1c4)](_0x32924f,_0x5c2a6b){const _0x417310=_0x43f800;this[_0x417310(0x142)][_0x1dc7a6[_0x417310(0x1b3)]][_0x417310(0x1c4)](_0x32924f,this['_fin'],(_0x387ea8,_0x4a6c5c)=>{const _0x3acb71=_0x417310;if(_0x387ea8)return _0x5c2a6b(_0x387ea8);if(_0x4a6c5c[_0x3acb71(0x1b4)]){if(this[_0x3acb71(0x2f5)]+=_0x4a6c5c['length'],this[_0x3acb71(0x2f5)]>this[_0x3acb71(0x2a0)]&&this[_0x3acb71(0x2a0)]>0x0){const _0x3a742b=this[_0x3acb71(0x257)](RangeError,_0x3acb71(0x2f4),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x5c2a6b(_0x3a742b);return;}this[_0x3acb71(0x239)]['push'](_0x4a6c5c);}this[_0x3acb71(0x13c)](_0x5c2a6b),this[_0x3acb71(0x1d4)]===_0x338c7b&&this[_0x3acb71(0x184)](_0x5c2a6b);});}[_0x43f800(0x13c)](_0x4ebc08){const _0xe57935=_0x43f800;if(!this['_fin']){this[_0xe57935(0x1d4)]=_0x338c7b;return;}const _0x243836=this[_0xe57935(0x2f5)],_0x59f833=this[_0xe57935(0x239)];if(this[_0xe57935(0x2b8)]=0x0,this[_0xe57935(0x2f5)]=0x0,this[_0xe57935(0x1f1)]=0x0,this[_0xe57935(0x239)]=[],this[_0xe57935(0x194)]===0x2){let _0x39e531;this[_0xe57935(0x23b)]===_0xe57935(0x227)?_0x39e531=_0x4b0502(_0x59f833,_0x243836):this[_0xe57935(0x23b)]===_0xe57935(0x154)?_0x39e531=_0x4f1483(_0x4b0502(_0x59f833,_0x243836)):this[_0xe57935(0x23b)]===_0xe57935(0x1ac)?_0x39e531=new Blob(_0x59f833):_0x39e531=_0x59f833,this['_allowSynchronousEvents']?(this[_0xe57935(0x21f)](_0xe57935(0x186),_0x39e531,!0x0),this[_0xe57935(0x1d4)]=_0x338c7b):(this['_state']=_0x410f4e,setImmediate(()=>{const _0x55aca6=_0xe57935;this[_0x55aca6(0x21f)](_0x55aca6(0x186),_0x39e531,!0x0),this['_state']=_0x338c7b,this[_0x55aca6(0x184)](_0x4ebc08);}));}else{const _0x22c3b1=_0x4b0502(_0x59f833,_0x243836);if(!this[_0xe57935(0x1aa)]&&!_0x48ae3c(_0x22c3b1)){const _0x487053=this[_0xe57935(0x257)](Error,_0xe57935(0x287),!0x0,0x3ef,_0xe57935(0x1a0));_0x4ebc08(_0x487053);return;}this[_0xe57935(0x1d4)]===_0x36cff1||this['_allowSynchronousEvents']?(this[_0xe57935(0x21f)]('message',_0x22c3b1,!0x1),this['_state']=_0x338c7b):(this[_0xe57935(0x1d4)]=_0x410f4e,setImmediate(()=>{const _0x5cf982=_0xe57935;this[_0x5cf982(0x21f)](_0x5cf982(0x186),_0x22c3b1,!0x1),this[_0x5cf982(0x1d4)]=_0x338c7b,this[_0x5cf982(0x184)](_0x4ebc08);}));}}[_0x43f800(0x130)](_0xe703dd,_0x441b0f){const _0x5697bf=_0x43f800;if(this['_opcode']===0x8){if(_0xe703dd[_0x5697bf(0x1b4)]===0x0)this[_0x5697bf(0x214)]=!0x1,this[_0x5697bf(0x21f)](_0x5697bf(0x1cf),0x3ed,_0x229ca1),this[_0x5697bf(0x263)]();else{const _0x5a1465=_0xe703dd[_0x5697bf(0x2fc)](0x0);if(!_0x189be1(_0x5a1465)){const _0x239368=this[_0x5697bf(0x257)](RangeError,'invalid\x20status\x20code\x20'+_0x5a1465,!0x0,0x3ea,_0x5697bf(0x20e));_0x441b0f(_0x239368);return;}const _0x180f21=new _0x5f501e(_0xe703dd[_0x5697bf(0x1e4)],_0xe703dd[_0x5697bf(0x2ca)]+0x2,_0xe703dd[_0x5697bf(0x1b4)]-0x2);if(!this['_skipUTF8Validation']&&!_0x48ae3c(_0x180f21)){const _0x4867b7=this['createError'](Error,_0x5697bf(0x287),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x441b0f(_0x4867b7);return;}this['_loop']=!0x1,this[_0x5697bf(0x21f)]('conclude',_0x5a1465,_0x180f21),this[_0x5697bf(0x263)]();}this[_0x5697bf(0x1d4)]=_0x338c7b;return;}this[_0x5697bf(0x302)]?(this[_0x5697bf(0x21f)](this[_0x5697bf(0x194)]===0x9?_0x5697bf(0x21d):_0x5697bf(0x207),_0xe703dd),this[_0x5697bf(0x1d4)]=_0x338c7b):(this[_0x5697bf(0x1d4)]=_0x410f4e,setImmediate(()=>{const _0x313d59=_0x5697bf;this[_0x313d59(0x21f)](this[_0x313d59(0x194)]===0x9?'ping':'pong',_0xe703dd),this[_0x313d59(0x1d4)]=_0x338c7b,this[_0x313d59(0x184)](_0x441b0f);}));}[_0x43f800(0x257)](_0x35f50f,_0xce7da2,_0x4574ae,_0xed15fb,_0x538eca){const _0x14ce7e=_0x43f800;this['_loop']=!0x1,this[_0x14ce7e(0x236)]=!0x0;const _0x13670d=new _0x35f50f(_0x4574ae?_0x14ce7e(0x133)+_0xce7da2:_0xce7da2);return Error['captureStackTrace'](_0x13670d,this[_0x14ce7e(0x257)]),_0x13670d['code']=_0x538eca,_0x13670d[_0x30f2ed]=_0xed15fb,_0x13670d;}}return Se=_0x261987,Se;}var Ee,Xe;function ft(){const _0x301844=_0x52b6f9;if(Xe)return Ee;Xe=0x1;const {Duplex:_0xea8c38}=oe,{randomFillSync:_0x34e437}=Le,_0x534a64=he(),{EMPTY_BUFFER:_0x5c1e26,kWebSocket:_0x27b68d,NOOP:_0x4924a1}=H(),{isBlob:_0x264071,isValidStatusCode:_0x3fbcc4}=ae(),{mask:_0x48735a,toBuffer:_0x114394}=ce(),_0x12a421=Symbol('kByteLength'),_0x42b876=Buffer[_0x301844(0x2c3)](0x4),_0x513edc=0x8*0x400;let _0x10c02b,_0x4d772d=_0x513edc;const _0x181d13=0x0,_0xa7806f=0x1,_0x2b103b=0x2;class _0x538d85{constructor(_0x459161,_0x25c219,_0x53fb4e){const _0xf5dcc0=_0x301844;this[_0xf5dcc0(0x142)]=_0x25c219||{},_0x53fb4e&&(this[_0xf5dcc0(0x1f9)]=_0x53fb4e,this['_maskBuffer']=Buffer['alloc'](0x4)),this[_0xf5dcc0(0x307)]=_0x459161,this[_0xf5dcc0(0x166)]=!0x0,this[_0xf5dcc0(0x16a)]=!0x1,this['_bufferedBytes']=0x0,this[_0xf5dcc0(0x22c)]=[],this[_0xf5dcc0(0x1d4)]=_0x181d13,this[_0xf5dcc0(0x28a)]=_0x4924a1,this[_0x27b68d]=void 0x0;}static[_0x301844(0x1f6)](_0x580af4,_0x2b409d){const _0x2130ea=_0x301844;let _0x4a052d,_0x4f185d=!0x1,_0x56dcc5=0x2,_0x10adfd=!0x1;_0x2b409d['mask']&&(_0x4a052d=_0x2b409d['maskBuffer']||_0x42b876,_0x2b409d[_0x2130ea(0x221)]?_0x2b409d[_0x2130ea(0x221)](_0x4a052d):(_0x4d772d===_0x513edc&&(_0x10c02b===void 0x0&&(_0x10c02b=Buffer['alloc'](_0x513edc)),_0x34e437(_0x10c02b,0x0,_0x513edc),_0x4d772d=0x0),_0x4a052d[0x0]=_0x10c02b[_0x4d772d++],_0x4a052d[0x1]=_0x10c02b[_0x4d772d++],_0x4a052d[0x2]=_0x10c02b[_0x4d772d++],_0x4a052d[0x3]=_0x10c02b[_0x4d772d++]),_0x10adfd=(_0x4a052d[0x0]|_0x4a052d[0x1]|_0x4a052d[0x2]|_0x4a052d[0x3])===0x0,_0x56dcc5=0x6);let _0x36d5bc;typeof _0x580af4==_0x2130ea(0x2fd)?(!_0x2b409d['mask']||_0x10adfd)&&_0x2b409d[_0x12a421]!==void 0x0?_0x36d5bc=_0x2b409d[_0x12a421]:(_0x580af4=Buffer[_0x2130ea(0x2e8)](_0x580af4),_0x36d5bc=_0x580af4[_0x2130ea(0x1b4)]):(_0x36d5bc=_0x580af4[_0x2130ea(0x1b4)],_0x4f185d=_0x2b409d['mask']&&_0x2b409d[_0x2130ea(0x1b2)]&&!_0x10adfd);let _0x25c6c1=_0x36d5bc;_0x36d5bc>=0x10000?(_0x56dcc5+=0x8,_0x25c6c1=0x7f):_0x36d5bc>0x7d&&(_0x56dcc5+=0x2,_0x25c6c1=0x7e);const _0xfb06b2=Buffer['allocUnsafe'](_0x4f185d?_0x36d5bc+_0x56dcc5:_0x56dcc5);return _0xfb06b2[0x0]=_0x2b409d[_0x2130ea(0x27a)]?_0x2b409d[_0x2130ea(0x147)]|0x80:_0x2b409d[_0x2130ea(0x147)],_0x2b409d['rsv1']&&(_0xfb06b2[0x0]|=0x40),_0xfb06b2[0x1]=_0x25c6c1,_0x25c6c1===0x7e?_0xfb06b2[_0x2130ea(0x2db)](_0x36d5bc,0x2):_0x25c6c1===0x7f&&(_0xfb06b2[0x2]=_0xfb06b2[0x3]=0x0,_0xfb06b2[_0x2130ea(0x19b)](_0x36d5bc,0x4,0x6)),_0x2b409d[_0x2130ea(0x249)]?(_0xfb06b2[0x1]|=0x80,_0xfb06b2[_0x56dcc5-0x4]=_0x4a052d[0x0],_0xfb06b2[_0x56dcc5-0x3]=_0x4a052d[0x1],_0xfb06b2[_0x56dcc5-0x2]=_0x4a052d[0x2],_0xfb06b2[_0x56dcc5-0x1]=_0x4a052d[0x3],_0x10adfd?[_0xfb06b2,_0x580af4]:_0x4f185d?(_0x48735a(_0x580af4,_0x4a052d,_0xfb06b2,_0x56dcc5,_0x36d5bc),[_0xfb06b2]):(_0x48735a(_0x580af4,_0x4a052d,_0x580af4,0x0,_0x36d5bc),[_0xfb06b2,_0x580af4])):[_0xfb06b2,_0x580af4];}[_0x301844(0x164)](_0x1af416,_0x4e69fb,_0x564f34,_0x180fda){const _0x357000=_0x301844;let _0x47e23c;if(_0x1af416===void 0x0)_0x47e23c=_0x5c1e26;else{if(typeof _0x1af416!=_0x357000(0x19e)||!_0x3fbcc4(_0x1af416))throw new TypeError(_0x357000(0x1f4));if(_0x4e69fb===void 0x0||!_0x4e69fb[_0x357000(0x1b4)])_0x47e23c=Buffer['allocUnsafe'](0x2),_0x47e23c[_0x357000(0x2db)](_0x1af416,0x0);else{const _0x500dfa=Buffer[_0x357000(0x2b3)](_0x4e69fb);if(_0x500dfa>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x47e23c=Buffer[_0x357000(0x27c)](0x2+_0x500dfa),_0x47e23c['writeUInt16BE'](_0x1af416,0x0),typeof _0x4e69fb==_0x357000(0x2fd)?_0x47e23c[_0x357000(0x205)](_0x4e69fb,0x2):_0x47e23c['set'](_0x4e69fb,0x2);}}const _0x171617={[_0x12a421]:_0x47e23c[_0x357000(0x1b4)],'fin':!0x0,'generateMask':this[_0x357000(0x1f9)],'mask':_0x564f34,'maskBuffer':this[_0x357000(0x244)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x357000(0x1d4)]!==_0x181d13?this[_0x357000(0x1e5)]([this[_0x357000(0x2c7)],_0x47e23c,!0x1,_0x171617,_0x180fda]):this[_0x357000(0x141)](_0x538d85['frame'](_0x47e23c,_0x171617),_0x180fda);}['ping'](_0x905b78,_0x3ad11a,_0x34ce7a){const _0x5a3f37=_0x301844;let _0xb58d13,_0x5a9c4c;if(typeof _0x905b78=='string'?(_0xb58d13=Buffer[_0x5a3f37(0x2b3)](_0x905b78),_0x5a9c4c=!0x1):_0x264071(_0x905b78)?(_0xb58d13=_0x905b78[_0x5a3f37(0x297)],_0x5a9c4c=!0x1):(_0x905b78=_0x114394(_0x905b78),_0xb58d13=_0x905b78[_0x5a3f37(0x1b4)],_0x5a9c4c=_0x114394[_0x5a3f37(0x1b2)]),_0xb58d13>0x7d)throw new RangeError(_0x5a3f37(0x265));const _0x4ca5ad={[_0x12a421]:_0xb58d13,'fin':!0x0,'generateMask':this[_0x5a3f37(0x1f9)],'mask':_0x3ad11a,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x5a9c4c,'rsv1':!0x1};_0x264071(_0x905b78)?this['_state']!==_0x181d13?this['enqueue']([this['getBlobData'],_0x905b78,!0x1,_0x4ca5ad,_0x34ce7a]):this[_0x5a3f37(0x2c4)](_0x905b78,!0x1,_0x4ca5ad,_0x34ce7a):this[_0x5a3f37(0x1d4)]!==_0x181d13?this[_0x5a3f37(0x1e5)]([this[_0x5a3f37(0x2c7)],_0x905b78,!0x1,_0x4ca5ad,_0x34ce7a]):this['sendFrame'](_0x538d85[_0x5a3f37(0x1f6)](_0x905b78,_0x4ca5ad),_0x34ce7a);}[_0x301844(0x207)](_0x5a0544,_0x95723d,_0x3ec9be){const _0x1de46d=_0x301844;let _0x39e91c,_0x48eac5;if(typeof _0x5a0544==_0x1de46d(0x2fd)?(_0x39e91c=Buffer[_0x1de46d(0x2b3)](_0x5a0544),_0x48eac5=!0x1):_0x264071(_0x5a0544)?(_0x39e91c=_0x5a0544[_0x1de46d(0x297)],_0x48eac5=!0x1):(_0x5a0544=_0x114394(_0x5a0544),_0x39e91c=_0x5a0544['length'],_0x48eac5=_0x114394[_0x1de46d(0x1b2)]),_0x39e91c>0x7d)throw new RangeError(_0x1de46d(0x265));const _0x1d01ba={[_0x12a421]:_0x39e91c,'fin':!0x0,'generateMask':this[_0x1de46d(0x1f9)],'mask':_0x95723d,'maskBuffer':this[_0x1de46d(0x244)],'opcode':0xa,'readOnly':_0x48eac5,'rsv1':!0x1};_0x264071(_0x5a0544)?this[_0x1de46d(0x1d4)]!==_0x181d13?this[_0x1de46d(0x1e5)]([this[_0x1de46d(0x2c4)],_0x5a0544,!0x1,_0x1d01ba,_0x3ec9be]):this['getBlobData'](_0x5a0544,!0x1,_0x1d01ba,_0x3ec9be):this[_0x1de46d(0x1d4)]!==_0x181d13?this[_0x1de46d(0x1e5)]([this[_0x1de46d(0x2c7)],_0x5a0544,!0x1,_0x1d01ba,_0x3ec9be]):this[_0x1de46d(0x141)](_0x538d85[_0x1de46d(0x1f6)](_0x5a0544,_0x1d01ba),_0x3ec9be);}[_0x301844(0x1e1)](_0x2b9f61,_0x502be6,_0x610a30){const _0x13ab3c=_0x301844,_0x4cb4b5=this[_0x13ab3c(0x142)][_0x534a64[_0x13ab3c(0x1b3)]];let _0x3f3aff=_0x502be6[_0x13ab3c(0x273)]?0x2:0x1,_0x588643=_0x502be6[_0x13ab3c(0x1ce)],_0x1678cb,_0x4b77f7;typeof _0x2b9f61==_0x13ab3c(0x2fd)?(_0x1678cb=Buffer[_0x13ab3c(0x2b3)](_0x2b9f61),_0x4b77f7=!0x1):_0x264071(_0x2b9f61)?(_0x1678cb=_0x2b9f61[_0x13ab3c(0x297)],_0x4b77f7=!0x1):(_0x2b9f61=_0x114394(_0x2b9f61),_0x1678cb=_0x2b9f61['length'],_0x4b77f7=_0x114394[_0x13ab3c(0x1b2)]),this['_firstFragment']?(this['_firstFragment']=!0x1,_0x588643&&_0x4cb4b5&&_0x4cb4b5[_0x13ab3c(0x162)][_0x4cb4b5[_0x13ab3c(0x181)]?_0x13ab3c(0x179):_0x13ab3c(0x144)]&&(_0x588643=_0x1678cb>=_0x4cb4b5['_threshold']),this['_compress']=_0x588643):(_0x588643=!0x1,_0x3f3aff=0x0),_0x502be6['fin']&&(this[_0x13ab3c(0x166)]=!0x0);const _0x300c68={[_0x12a421]:_0x1678cb,'fin':_0x502be6[_0x13ab3c(0x27a)],'generateMask':this[_0x13ab3c(0x1f9)],'mask':_0x502be6[_0x13ab3c(0x249)],'maskBuffer':this['_maskBuffer'],'opcode':_0x3f3aff,'readOnly':_0x4b77f7,'rsv1':_0x588643};_0x264071(_0x2b9f61)?this[_0x13ab3c(0x1d4)]!==_0x181d13?this[_0x13ab3c(0x1e5)]([this['getBlobData'],_0x2b9f61,this[_0x13ab3c(0x16a)],_0x300c68,_0x610a30]):this[_0x13ab3c(0x2c4)](_0x2b9f61,this['_compress'],_0x300c68,_0x610a30):this[_0x13ab3c(0x1d4)]!==_0x181d13?this[_0x13ab3c(0x1e5)]([this[_0x13ab3c(0x2c7)],_0x2b9f61,this[_0x13ab3c(0x16a)],_0x300c68,_0x610a30]):this[_0x13ab3c(0x2c7)](_0x2b9f61,this[_0x13ab3c(0x16a)],_0x300c68,_0x610a30);}[_0x301844(0x2c4)](_0x10a989,_0x1384d5,_0x292dd8,_0x3c4b88){const _0x2bee03=_0x301844;this[_0x2bee03(0x2a4)]+=_0x292dd8[_0x12a421],this[_0x2bee03(0x1d4)]=_0x2b103b,_0x10a989[_0x2bee03(0x2be)]()[_0x2bee03(0x245)](_0x37bc41=>{const _0x5c7712=_0x2bee03;if(this[_0x5c7712(0x307)]['destroyed']){const _0x5381bd=new Error(_0x5c7712(0x20f));process['nextTick'](_0x3287f2,this,_0x5381bd,_0x3c4b88);return;}this['_bufferedBytes']-=_0x292dd8[_0x12a421];const _0x19ad47=_0x114394(_0x37bc41);_0x1384d5?this[_0x5c7712(0x2c7)](_0x19ad47,_0x1384d5,_0x292dd8,_0x3c4b88):(this[_0x5c7712(0x1d4)]=_0x181d13,this[_0x5c7712(0x141)](_0x538d85[_0x5c7712(0x1f6)](_0x19ad47,_0x292dd8),_0x3c4b88),this[_0x5c7712(0x29c)]());})[_0x2bee03(0x1d3)](_0x5b711c=>{process['nextTick'](_0x1d925b,this,_0x5b711c,_0x3c4b88);});}[_0x301844(0x2c7)](_0x309bd3,_0x1171f4,_0x1596c4,_0x21af96){const _0x2ac6a7=_0x301844;if(!_0x1171f4){this[_0x2ac6a7(0x141)](_0x538d85[_0x2ac6a7(0x1f6)](_0x309bd3,_0x1596c4),_0x21af96);return;}const _0x1d409a=this['_extensions'][_0x534a64['extensionName']];this[_0x2ac6a7(0x2a4)]+=_0x1596c4[_0x12a421],this['_state']=_0xa7806f,_0x1d409a[_0x2ac6a7(0x1ce)](_0x309bd3,_0x1596c4['fin'],(_0x211139,_0x53a9fb)=>{const _0x117045=_0x2ac6a7;if(this[_0x117045(0x307)][_0x117045(0x1c1)]){const _0x412b18=new Error(_0x117045(0x2e4));_0x3287f2(this,_0x412b18,_0x21af96);return;}this['_bufferedBytes']-=_0x1596c4[_0x12a421],this[_0x117045(0x1d4)]=_0x181d13,_0x1596c4[_0x117045(0x1b2)]=!0x1,this['sendFrame'](_0x538d85[_0x117045(0x1f6)](_0x53a9fb,_0x1596c4),_0x21af96),this[_0x117045(0x29c)]();});}[_0x301844(0x29c)](){const _0xb4e256=_0x301844;for(;this[_0xb4e256(0x1d4)]===_0x181d13&&this[_0xb4e256(0x22c)][_0xb4e256(0x1b4)];){const _0xef86ef=this[_0xb4e256(0x22c)][_0xb4e256(0x1f7)]();this[_0xb4e256(0x2a4)]-=_0xef86ef[0x3][_0x12a421],Reflect[_0xb4e256(0x19c)](_0xef86ef[0x0],this,_0xef86ef[_0xb4e256(0x1a2)](0x1));}}[_0x301844(0x1e5)](_0x4843d){const _0x181fea=_0x301844;this[_0x181fea(0x2a4)]+=_0x4843d[0x3][_0x12a421],this[_0x181fea(0x22c)][_0x181fea(0x16d)](_0x4843d);}[_0x301844(0x141)](_0x64af20,_0x594a4e){const _0x3a80b2=_0x301844;_0x64af20[_0x3a80b2(0x1b4)]===0x2?(this['_socket'][_0x3a80b2(0x234)](),this[_0x3a80b2(0x307)][_0x3a80b2(0x205)](_0x64af20[0x0]),this[_0x3a80b2(0x307)]['write'](_0x64af20[0x1],_0x594a4e),this[_0x3a80b2(0x307)][_0x3a80b2(0x2de)]()):this[_0x3a80b2(0x307)][_0x3a80b2(0x205)](_0x64af20[0x0],_0x594a4e);}}Ee=_0x538d85;function _0x3287f2(_0x49795c,_0x4f5a19,_0x14ff55){const _0x35e01e=_0x301844;typeof _0x14ff55==_0x35e01e(0x1e3)&&_0x14ff55(_0x4f5a19);for(let _0x1d32f5=0x0;_0x1d32f5<_0x49795c['_queue'][_0x35e01e(0x1b4)];_0x1d32f5++){const _0x380659=_0x49795c[_0x35e01e(0x22c)][_0x1d32f5],_0x5d35be=_0x380659[_0x380659[_0x35e01e(0x1b4)]-0x1];typeof _0x5d35be==_0x35e01e(0x1e3)&&_0x5d35be(_0x4f5a19);}}function _0x1d925b(_0x4a36e6,_0x1fffe2,_0x59f5be){const _0x10ee12=_0x301844;_0x3287f2(_0x4a36e6,_0x1fffe2,_0x59f5be),_0x4a36e6[_0x10ee12(0x28a)](_0x1fffe2);}return Ee;}var xe,Ze;function It(){const _0x4171f1=_0x52b6f9;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x2f2613,kListener:_0x2e69d1}=H(),_0x8080ae=Symbol(_0x4171f1(0x288)),_0x30bfcf=Symbol('kData'),_0x200ef3=Symbol(_0x4171f1(0x248)),_0x413bcf=Symbol(_0x4171f1(0x26f)),_0x2a05d9=Symbol(_0x4171f1(0x2e2)),_0x452a02=Symbol(_0x4171f1(0x1e2)),_0x6fdbfb=Symbol(_0x4171f1(0x27e)),_0xf3e69c=Symbol(_0x4171f1(0x150));class _0x3a10e8{constructor(_0x64d3d0){this[_0x452a02]=null,this[_0x6fdbfb]=_0x64d3d0;}get['target'](){return this[_0x452a02];}get[_0x4171f1(0x157)](){return this[_0x6fdbfb];}}Object[_0x4171f1(0x26a)](_0x3a10e8['prototype'],_0x4171f1(0x131),{'enumerable':!0x0}),Object[_0x4171f1(0x26a)](_0x3a10e8[_0x4171f1(0x217)],'type',{'enumerable':!0x0});class _0x1931c4 extends _0x3a10e8{constructor(_0xd97273,_0x4acdf7={}){const _0x45d763=_0x4171f1;super(_0xd97273),this[_0x8080ae]=_0x4acdf7[_0x45d763(0x1da)]===void 0x0?0x0:_0x4acdf7['code'],this[_0x2a05d9]=_0x4acdf7[_0x45d763(0x1dd)]===void 0x0?'':_0x4acdf7['reason'],this[_0xf3e69c]=_0x4acdf7['wasClean']===void 0x0?!0x1:_0x4acdf7[_0x45d763(0x17f)];}get[_0x4171f1(0x1da)](){return this[_0x8080ae];}get[_0x4171f1(0x1dd)](){return this[_0x2a05d9];}get[_0x4171f1(0x17f)](){return this[_0xf3e69c];}}Object[_0x4171f1(0x26a)](_0x1931c4[_0x4171f1(0x217)],'code',{'enumerable':!0x0}),Object['defineProperty'](_0x1931c4['prototype'],_0x4171f1(0x1dd),{'enumerable':!0x0}),Object[_0x4171f1(0x26a)](_0x1931c4[_0x4171f1(0x217)],_0x4171f1(0x17f),{'enumerable':!0x0});class _0x259bf1 extends _0x3a10e8{constructor(_0xe668a7,_0x165fb4={}){const _0x16133c=_0x4171f1;super(_0xe668a7),this[_0x200ef3]=_0x165fb4['error']===void 0x0?null:_0x165fb4['error'],this[_0x413bcf]=_0x165fb4['message']===void 0x0?'':_0x165fb4[_0x16133c(0x186)];}get['error'](){return this[_0x200ef3];}get[_0x4171f1(0x186)](){return this[_0x413bcf];}}Object[_0x4171f1(0x26a)](_0x259bf1[_0x4171f1(0x217)],'error',{'enumerable':!0x0}),Object['defineProperty'](_0x259bf1['prototype'],_0x4171f1(0x186),{'enumerable':!0x0});class _0x707465 extends _0x3a10e8{constructor(_0x2e2faf,_0x11fbee={}){const _0x840433=_0x4171f1;super(_0x2e2faf),this[_0x30bfcf]=_0x11fbee['data']===void 0x0?null:_0x11fbee[_0x840433(0x1df)];}get['data'](){return this[_0x30bfcf];}}Object['defineProperty'](_0x707465[_0x4171f1(0x217)],_0x4171f1(0x1df),{'enumerable':!0x0}),xe={'CloseEvent':_0x1931c4,'ErrorEvent':_0x259bf1,'Event':_0x3a10e8,'EventTarget':{'addEventListener'(_0xc0f7e,_0x198e75,_0x1acc88={}){const _0x573f77=_0x4171f1;for(const _0x959d78 of this[_0x573f77(0x24f)](_0xc0f7e))if(!_0x1acc88[_0x2f2613]&&_0x959d78[_0x2e69d1]===_0x198e75&&!_0x959d78[_0x2f2613])return;let _0x4ceeaf;if(_0xc0f7e===_0x573f77(0x186))_0x4ceeaf=function(_0x3c7fd2,_0x61b1fe){const _0x1016dc=_0x573f77,_0x3c78ca=new _0x707465(_0x1016dc(0x186),{'data':_0x61b1fe?_0x3c7fd2:_0x3c7fd2[_0x1016dc(0x1f8)]()});_0x3c78ca[_0x452a02]=this,_0x475982(_0x198e75,this,_0x3c78ca);};else{if(_0xc0f7e===_0x573f77(0x164))_0x4ceeaf=function(_0x30e67a,_0xd9d6f7){const _0x1d1be1=_0x573f77,_0x3c2bb0=new _0x1931c4(_0x1d1be1(0x164),{'code':_0x30e67a,'reason':_0xd9d6f7[_0x1d1be1(0x1f8)](),'wasClean':this[_0x1d1be1(0x1c6)]&&this[_0x1d1be1(0x228)]});_0x3c2bb0[_0x452a02]=this,_0x475982(_0x198e75,this,_0x3c2bb0);};else{if(_0xc0f7e===_0x573f77(0x21e))_0x4ceeaf=function(_0x4031f4){const _0x55310c=_0x573f77,_0x35dab1=new _0x259bf1(_0x55310c(0x21e),{'error':_0x4031f4,'message':_0x4031f4[_0x55310c(0x186)]});_0x35dab1[_0x452a02]=this,_0x475982(_0x198e75,this,_0x35dab1);};else{if(_0xc0f7e==='open')_0x4ceeaf=function(){const _0x25cc11=_0x573f77,_0x28d54e=new _0x3a10e8(_0x25cc11(0x2b0));_0x28d54e[_0x452a02]=this,_0x475982(_0x198e75,this,_0x28d54e);};else return;}}}_0x4ceeaf[_0x2f2613]=!!_0x1acc88[_0x2f2613],_0x4ceeaf[_0x2e69d1]=_0x198e75,_0x1acc88[_0x573f77(0x2d4)]?this['once'](_0xc0f7e,_0x4ceeaf):this['on'](_0xc0f7e,_0x4ceeaf);},'removeEventListener'(_0x3a89b9,_0x37ddb){const _0x45d245=_0x4171f1;for(const _0x9871ec of this['listeners'](_0x3a89b9))if(_0x9871ec[_0x2e69d1]===_0x37ddb&&!_0x9871ec[_0x2f2613]){this[_0x45d245(0x2bb)](_0x3a89b9,_0x9871ec);break;}}},'MessageEvent':_0x707465};function _0x475982(_0x7aa2f6,_0x498cb1,_0x394c87){const _0x4ec1d2=_0x4171f1;typeof _0x7aa2f6==_0x4ec1d2(0x1a4)&&_0x7aa2f6[_0x4ec1d2(0x2f0)]?_0x7aa2f6[_0x4ec1d2(0x2f0)][_0x4ec1d2(0x268)](_0x7aa2f6,_0x394c87):_0x7aa2f6[_0x4ec1d2(0x268)](_0x498cb1,_0x394c87);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x1d492b}=ae();function _0x365e00(_0x12b547,_0x5808ca,_0x114ffb){_0x12b547[_0x5808ca]===void 0x0?_0x12b547[_0x5808ca]=[_0x114ffb]:_0x12b547[_0x5808ca]['push'](_0x114ffb);}function _0x1b5ece(_0x1944be){const _0x2b9db5=_0x1646,_0x15bd2b=Object[_0x2b9db5(0x195)](null);let _0x210aab=Object['create'](null),_0x293d8b=!0x1,_0x43f7cf=!0x1,_0x553277=!0x1,_0x4ae46e,_0x85e9ed,_0x5a5968=-0x1,_0x2c5d6c=-0x1,_0x46c594=-0x1,_0x4b21f1=0x0;for(;_0x4b21f1<_0x1944be[_0x2b9db5(0x1b4)];_0x4b21f1++)if(_0x2c5d6c=_0x1944be[_0x2b9db5(0x2ac)](_0x4b21f1),_0x4ae46e===void 0x0){if(_0x46c594===-0x1&&_0x1d492b[_0x2c5d6c]===0x1)_0x5a5968===-0x1&&(_0x5a5968=_0x4b21f1);else{if(_0x4b21f1!==0x0&&(_0x2c5d6c===0x20||_0x2c5d6c===0x9))_0x46c594===-0x1&&_0x5a5968!==-0x1&&(_0x46c594=_0x4b21f1);else{if(_0x2c5d6c===0x3b||_0x2c5d6c===0x2c){if(_0x5a5968===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4b21f1);_0x46c594===-0x1&&(_0x46c594=_0x4b21f1);const _0x15a475=_0x1944be[_0x2b9db5(0x1a2)](_0x5a5968,_0x46c594);_0x2c5d6c===0x2c?(_0x365e00(_0x15bd2b,_0x15a475,_0x210aab),_0x210aab=Object[_0x2b9db5(0x195)](null)):_0x4ae46e=_0x15a475,_0x5a5968=_0x46c594=-0x1;}else throw new SyntaxError(_0x2b9db5(0x24e)+_0x4b21f1);}}}else{if(_0x85e9ed===void 0x0){if(_0x46c594===-0x1&&_0x1d492b[_0x2c5d6c]===0x1)_0x5a5968===-0x1&&(_0x5a5968=_0x4b21f1);else{if(_0x2c5d6c===0x20||_0x2c5d6c===0x9)_0x46c594===-0x1&&_0x5a5968!==-0x1&&(_0x46c594=_0x4b21f1);else{if(_0x2c5d6c===0x3b||_0x2c5d6c===0x2c){if(_0x5a5968===-0x1)throw new SyntaxError(_0x2b9db5(0x24e)+_0x4b21f1);_0x46c594===-0x1&&(_0x46c594=_0x4b21f1),_0x365e00(_0x210aab,_0x1944be[_0x2b9db5(0x1a2)](_0x5a5968,_0x46c594),!0x0),_0x2c5d6c===0x2c&&(_0x365e00(_0x15bd2b,_0x4ae46e,_0x210aab),_0x210aab=Object[_0x2b9db5(0x195)](null),_0x4ae46e=void 0x0),_0x5a5968=_0x46c594=-0x1;}else{if(_0x2c5d6c===0x3d&&_0x5a5968!==-0x1&&_0x46c594===-0x1)_0x85e9ed=_0x1944be[_0x2b9db5(0x1a2)](_0x5a5968,_0x4b21f1),_0x5a5968=_0x46c594=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4b21f1);}}}}else{if(_0x43f7cf){if(_0x1d492b[_0x2c5d6c]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4b21f1);_0x5a5968===-0x1?_0x5a5968=_0x4b21f1:_0x293d8b||(_0x293d8b=!0x0),_0x43f7cf=!0x1;}else{if(_0x553277){if(_0x1d492b[_0x2c5d6c]===0x1)_0x5a5968===-0x1&&(_0x5a5968=_0x4b21f1);else{if(_0x2c5d6c===0x22&&_0x5a5968!==-0x1)_0x553277=!0x1,_0x46c594=_0x4b21f1;else{if(_0x2c5d6c===0x5c)_0x43f7cf=!0x0;else throw new SyntaxError(_0x2b9db5(0x24e)+_0x4b21f1);}}}else{if(_0x2c5d6c===0x22&&_0x1944be[_0x2b9db5(0x2ac)](_0x4b21f1-0x1)===0x3d)_0x553277=!0x0;else{if(_0x46c594===-0x1&&_0x1d492b[_0x2c5d6c]===0x1)_0x5a5968===-0x1&&(_0x5a5968=_0x4b21f1);else{if(_0x5a5968!==-0x1&&(_0x2c5d6c===0x20||_0x2c5d6c===0x9))_0x46c594===-0x1&&(_0x46c594=_0x4b21f1);else{if(_0x2c5d6c===0x3b||_0x2c5d6c===0x2c){if(_0x5a5968===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4b21f1);_0x46c594===-0x1&&(_0x46c594=_0x4b21f1);let _0x2c1397=_0x1944be[_0x2b9db5(0x1a2)](_0x5a5968,_0x46c594);_0x293d8b&&(_0x2c1397=_0x2c1397[_0x2b9db5(0x2e7)](/\\/g,''),_0x293d8b=!0x1),_0x365e00(_0x210aab,_0x85e9ed,_0x2c1397),_0x2c5d6c===0x2c&&(_0x365e00(_0x15bd2b,_0x4ae46e,_0x210aab),_0x210aab=Object[_0x2b9db5(0x195)](null),_0x4ae46e=void 0x0),_0x85e9ed=void 0x0,_0x5a5968=_0x46c594=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x4b21f1);}}}}}}}if(_0x5a5968===-0x1||_0x553277||_0x2c5d6c===0x20||_0x2c5d6c===0x9)throw new SyntaxError(_0x2b9db5(0x1e6));_0x46c594===-0x1&&(_0x46c594=_0x4b21f1);const _0x59f848=_0x1944be[_0x2b9db5(0x1a2)](_0x5a5968,_0x46c594);return _0x4ae46e===void 0x0?_0x365e00(_0x15bd2b,_0x59f848,_0x210aab):(_0x85e9ed===void 0x0?_0x365e00(_0x210aab,_0x59f848,!0x0):_0x293d8b?_0x365e00(_0x210aab,_0x85e9ed,_0x59f848[_0x2b9db5(0x2e7)](/\\/g,'')):_0x365e00(_0x210aab,_0x85e9ed,_0x59f848),_0x365e00(_0x15bd2b,_0x4ae46e,_0x210aab)),_0x15bd2b;}function _0x186afe(_0x467a68){const _0x3b4d63=_0x1646;return Object['keys'](_0x467a68)[_0x3b4d63(0x1b7)](_0x337b33=>{const _0x2a520f=_0x3b4d63;let _0x39ff75=_0x467a68[_0x337b33];return Array[_0x2a520f(0x29d)](_0x39ff75)||(_0x39ff75=[_0x39ff75]),_0x39ff75['map'](_0x2c6ca6=>[_0x337b33][_0x2a520f(0x292)](Object[_0x2a520f(0x254)](_0x2c6ca6)[_0x2a520f(0x1b7)](_0x171578=>{const _0x48ca81=_0x2a520f;let _0x3d213a=_0x2c6ca6[_0x171578];return Array[_0x48ca81(0x29d)](_0x3d213a)||(_0x3d213a=[_0x3d213a]),_0x3d213a[_0x48ca81(0x1b7)](_0x1c01d0=>_0x1c01d0===!0x0?_0x171578:_0x171578+'='+_0x1c01d0)['join'](';\x20');}))[_0x2a520f(0x156)](';\x20'))[_0x2a520f(0x156)](',\x20');})['join'](',\x20');}return be={'format':_0x186afe,'parse':_0x1b5ece},be;}var we,Je;function Pe(){const _0x36ebc4=_0x52b6f9;if(Je)return we;Je=0x1;const _0x589f1f=nt,_0x22a487=vt,_0xc3a56f=ot,_0x47dfea=St,_0x4c2637=Et,{randomBytes:_0x7ba34b,createHash:_0x37b7c8}=Le,{Duplex:_0x318ba4,Readable:_0x541051}=oe,{URL:_0xbd0847}=xt,_0x348ffe=he(),_0x430293=lt(),_0x1cc37a=ft(),{isBlob:_0x3e6fae}=ae(),{BINARY_TYPES:_0x1be9fa,EMPTY_BUFFER:_0x4a8c40,GUID:_0x1b3431,kForOnEventAttribute:_0x2bc39c,kListener:_0x42c886,kStatusCode:_0x391b36,kWebSocket:_0x5cb255,NOOP:_0x405d92}=H(),{EventTarget:{addEventListener:_0x3ad733,removeEventListener:_0x5ce735}}=It(),{format:_0x54bdf5,parse:_0x592d14}=ct(),{toBuffer:_0xa96eeb}=ce(),_0x299c6f=0x1e*0x3e8,_0x358fa0=Symbol(_0x36ebc4(0x25d)),_0x2bf4b2=[0x8,0xd],_0x5b8346=[_0x36ebc4(0x233),_0x36ebc4(0x269),_0x36ebc4(0x1bc),_0x36ebc4(0x285)],_0xfa590e=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x2a7be1 extends _0x589f1f{constructor(_0xa68435,_0x15ab9f,_0x31aac2){const _0x5bd569=_0x36ebc4;super(),this[_0x5bd569(0x23b)]=_0x1be9fa[0x0],this['_closeCode']=0x3ee,this[_0x5bd569(0x1c6)]=!0x1,this['_closeFrameSent']=!0x1,this['_closeMessage']=_0x4a8c40,this[_0x5bd569(0x13a)]=null,this[_0x5bd569(0x2ed)]=!0x1,this['_extensions']={},this[_0x5bd569(0x2d5)]=!0x1,this[_0x5bd569(0x231)]='',this[_0x5bd569(0x267)]=_0x2a7be1[_0x5bd569(0x233)],this[_0x5bd569(0x1d7)]=null,this['_sender']=null,this[_0x5bd569(0x307)]=null,_0xa68435!==null?(this['_bufferedAmount']=0x0,this[_0x5bd569(0x181)]=!0x1,this[_0x5bd569(0x23e)]=0x0,_0x15ab9f===void 0x0?_0x15ab9f=[]:Array[_0x5bd569(0x29d)](_0x15ab9f)||(typeof _0x15ab9f==_0x5bd569(0x1a4)&&_0x15ab9f!==null?(_0x31aac2=_0x15ab9f,_0x15ab9f=[]):_0x15ab9f=[_0x15ab9f]),_0x38b1b0(this,_0xa68435,_0x15ab9f,_0x31aac2)):(this[_0x5bd569(0x277)]=_0x31aac2['autoPong'],this[_0x5bd569(0x181)]=!0x0);}get[_0x36ebc4(0x15d)](){const _0x54fed3=_0x36ebc4;return this[_0x54fed3(0x23b)];}set['binaryType'](_0x2ae14e){const _0x2508f5=_0x36ebc4;_0x1be9fa['includes'](_0x2ae14e)&&(this['_binaryType']=_0x2ae14e,this[_0x2508f5(0x1d7)]&&(this[_0x2508f5(0x1d7)][_0x2508f5(0x23b)]=_0x2ae14e));}get[_0x36ebc4(0x1ba)](){const _0x32f633=_0x36ebc4;return this[_0x32f633(0x307)]?this[_0x32f633(0x307)][_0x32f633(0x275)]['length']+this['_sender'][_0x32f633(0x2a4)]:this['_bufferedAmount'];}get[_0x36ebc4(0x2f6)](){const _0x39c7c6=_0x36ebc4;return Object[_0x39c7c6(0x254)](this[_0x39c7c6(0x142)])[_0x39c7c6(0x156)]();}get['isPaused'](){const _0x22f4eb=_0x36ebc4;return this[_0x22f4eb(0x2d5)];}get[_0x36ebc4(0x169)](){return null;}get[_0x36ebc4(0x28a)](){return null;}get[_0x36ebc4(0x293)](){return null;}get[_0x36ebc4(0x143)](){return null;}get['protocol'](){const _0x414599=_0x36ebc4;return this[_0x414599(0x231)];}get['readyState'](){const _0x2d982c=_0x36ebc4;return this[_0x2d982c(0x267)];}get[_0x36ebc4(0x266)](){const _0x3aca4c=_0x36ebc4;return this[_0x3aca4c(0x2fb)];}[_0x36ebc4(0x306)](_0x40af5c,_0x381d89,_0x4f68ee){const _0x2564f9=_0x36ebc4,_0x1b35ef=new _0x430293({'allowSynchronousEvents':_0x4f68ee[_0x2564f9(0x2ce)],'binaryType':this[_0x2564f9(0x15d)],'extensions':this['_extensions'],'isServer':this['_isServer'],'maxPayload':_0x4f68ee[_0x2564f9(0x2ba)],'skipUTF8Validation':_0x4f68ee[_0x2564f9(0x281)]}),_0x4b2c88=new _0x1cc37a(_0x40af5c,this[_0x2564f9(0x142)],_0x4f68ee[_0x2564f9(0x221)]);this[_0x2564f9(0x1d7)]=_0x1b35ef,this[_0x2564f9(0x305)]=_0x4b2c88,this[_0x2564f9(0x307)]=_0x40af5c,_0x1b35ef[_0x5cb255]=this,_0x4b2c88[_0x5cb255]=this,_0x40af5c[_0x5cb255]=this,_0x1b35ef['on']('conclude',_0x43e9e6),_0x1b35ef['on'](_0x2564f9(0x134),_0x3cf9c9),_0x1b35ef['on'](_0x2564f9(0x21e),_0x421177),_0x1b35ef['on'](_0x2564f9(0x186),_0x3976d2),_0x1b35ef['on']('ping',_0x4bce78),_0x1b35ef['on'](_0x2564f9(0x207),_0x867ec2),_0x4b2c88[_0x2564f9(0x28a)]=_0x38646e,_0x40af5c[_0x2564f9(0x187)]&&_0x40af5c[_0x2564f9(0x187)](0x0),_0x40af5c['setNoDelay']&&_0x40af5c[_0x2564f9(0x1c3)](),_0x381d89[_0x2564f9(0x1b4)]>0x0&&_0x40af5c[_0x2564f9(0x1ec)](_0x381d89),_0x40af5c['on'](_0x2564f9(0x164),_0x11e1fe),_0x40af5c['on']('data',_0x52f7b9),_0x40af5c['on'](_0x2564f9(0x263),_0x2ac893),_0x40af5c['on'](_0x2564f9(0x21e),_0xa2787d),this['_readyState']=_0x2a7be1[_0x2564f9(0x269)],this['emit']('open');}[_0x36ebc4(0x1bb)](){const _0x5ac6c3=_0x36ebc4;if(!this[_0x5ac6c3(0x307)]){this[_0x5ac6c3(0x267)]=_0x2a7be1['CLOSED'],this[_0x5ac6c3(0x21f)](_0x5ac6c3(0x164),this[_0x5ac6c3(0x159)],this['_closeMessage']);return;}this[_0x5ac6c3(0x142)][_0x348ffe['extensionName']]&&this[_0x5ac6c3(0x142)][_0x348ffe['extensionName']][_0x5ac6c3(0x29a)](),this[_0x5ac6c3(0x1d7)][_0x5ac6c3(0x21b)](),this[_0x5ac6c3(0x267)]=_0x2a7be1[_0x5ac6c3(0x285)],this['emit']('close',this[_0x5ac6c3(0x159)],this[_0x5ac6c3(0x139)]);}[_0x36ebc4(0x164)](_0x40f780,_0x320cb8){const _0x15b0ed=_0x36ebc4;if(this[_0x15b0ed(0x272)]!==_0x2a7be1['CLOSED']){if(this[_0x15b0ed(0x272)]===_0x2a7be1[_0x15b0ed(0x233)]){_0x56511a(this,this['_req'],_0x15b0ed(0x1f2));return;}if(this[_0x15b0ed(0x272)]===_0x2a7be1[_0x15b0ed(0x1bc)]){this['_closeFrameSent']&&(this['_closeFrameReceived']||this['_receiver'][_0x15b0ed(0x275)][_0x15b0ed(0x18a)])&&this[_0x15b0ed(0x307)]['end']();return;}this['_readyState']=_0x2a7be1[_0x15b0ed(0x1bc)],this[_0x15b0ed(0x305)][_0x15b0ed(0x164)](_0x40f780,_0x320cb8,!this[_0x15b0ed(0x181)],_0x45db70=>{const _0x3f5aa2=_0x15b0ed;_0x45db70||(this[_0x3f5aa2(0x228)]=!0x0,(this[_0x3f5aa2(0x1c6)]||this[_0x3f5aa2(0x1d7)]['_writableState'][_0x3f5aa2(0x18a)])&&this[_0x3f5aa2(0x307)][_0x3f5aa2(0x263)]());}),_0x385d9d(this);}}[_0x36ebc4(0x226)](){const _0x575173=_0x36ebc4;this[_0x575173(0x272)]===_0x2a7be1[_0x575173(0x233)]||this['readyState']===_0x2a7be1[_0x575173(0x285)]||(this[_0x575173(0x2d5)]=!0x0,this['_socket']['pause']());}[_0x36ebc4(0x21d)](_0xb2aec5,_0x355362,_0x48639c){const _0x5daa99=_0x36ebc4;if(this['readyState']===_0x2a7be1['CONNECTING'])throw new Error(_0x5daa99(0x18b));if(typeof _0xb2aec5==_0x5daa99(0x1e3)?(_0x48639c=_0xb2aec5,_0xb2aec5=_0x355362=void 0x0):typeof _0x355362==_0x5daa99(0x1e3)&&(_0x48639c=_0x355362,_0x355362=void 0x0),typeof _0xb2aec5=='number'&&(_0xb2aec5=_0xb2aec5[_0x5daa99(0x1f8)]()),this[_0x5daa99(0x272)]!==_0x2a7be1[_0x5daa99(0x269)]){_0x5c0d7f(this,_0xb2aec5,_0x48639c);return;}_0x355362===void 0x0&&(_0x355362=!this[_0x5daa99(0x181)]),this[_0x5daa99(0x305)][_0x5daa99(0x21d)](_0xb2aec5||_0x4a8c40,_0x355362,_0x48639c);}[_0x36ebc4(0x207)](_0xf4a0a7,_0x804a6b,_0x1805a8){const _0x478f07=_0x36ebc4;if(this[_0x478f07(0x272)]===_0x2a7be1['CONNECTING'])throw new Error(_0x478f07(0x18b));if(typeof _0xf4a0a7==_0x478f07(0x1e3)?(_0x1805a8=_0xf4a0a7,_0xf4a0a7=_0x804a6b=void 0x0):typeof _0x804a6b==_0x478f07(0x1e3)&&(_0x1805a8=_0x804a6b,_0x804a6b=void 0x0),typeof _0xf4a0a7==_0x478f07(0x19e)&&(_0xf4a0a7=_0xf4a0a7[_0x478f07(0x1f8)]()),this['readyState']!==_0x2a7be1[_0x478f07(0x269)]){_0x5c0d7f(this,_0xf4a0a7,_0x1805a8);return;}_0x804a6b===void 0x0&&(_0x804a6b=!this[_0x478f07(0x181)]),this[_0x478f07(0x305)][_0x478f07(0x207)](_0xf4a0a7||_0x4a8c40,_0x804a6b,_0x1805a8);}[_0x36ebc4(0x259)](){const _0x48ea4d=_0x36ebc4;this[_0x48ea4d(0x272)]===_0x2a7be1[_0x48ea4d(0x233)]||this[_0x48ea4d(0x272)]===_0x2a7be1[_0x48ea4d(0x285)]||(this[_0x48ea4d(0x2d5)]=!0x1,this[_0x48ea4d(0x1d7)]['_writableState'][_0x48ea4d(0x294)]||this[_0x48ea4d(0x307)]['resume']());}['send'](_0x21fbb2,_0x527107,_0x4aee71){const _0x591233=_0x36ebc4;if(this[_0x591233(0x272)]===_0x2a7be1[_0x591233(0x233)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x527107==_0x591233(0x1e3)&&(_0x4aee71=_0x527107,_0x527107={}),typeof _0x21fbb2==_0x591233(0x19e)&&(_0x21fbb2=_0x21fbb2['toString']()),this[_0x591233(0x272)]!==_0x2a7be1[_0x591233(0x269)]){_0x5c0d7f(this,_0x21fbb2,_0x4aee71);return;}const _0x4ca53a={'binary':typeof _0x21fbb2!=_0x591233(0x2fd),'mask':!this[_0x591233(0x181)],'compress':!0x0,'fin':!0x0,..._0x527107};this[_0x591233(0x142)][_0x348ffe['extensionName']]||(_0x4ca53a[_0x591233(0x1ce)]=!0x1),this[_0x591233(0x305)][_0x591233(0x1e1)](_0x21fbb2||_0x4a8c40,_0x4ca53a,_0x4aee71);}[_0x36ebc4(0x140)](){const _0x5ad5ba=_0x36ebc4;if(this[_0x5ad5ba(0x272)]!==_0x2a7be1[_0x5ad5ba(0x285)]){if(this[_0x5ad5ba(0x272)]===_0x2a7be1[_0x5ad5ba(0x233)]){_0x56511a(this,this[_0x5ad5ba(0x2fe)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this['_socket']&&(this['_readyState']=_0x2a7be1[_0x5ad5ba(0x1bc)],this[_0x5ad5ba(0x307)][_0x5ad5ba(0x2d3)]());}}}Object[_0x36ebc4(0x26a)](_0x2a7be1,_0x36ebc4(0x233),{'enumerable':!0x0,'value':_0x5b8346[_0x36ebc4(0x1f0)](_0x36ebc4(0x233))}),Object['defineProperty'](_0x2a7be1[_0x36ebc4(0x217)],_0x36ebc4(0x233),{'enumerable':!0x0,'value':_0x5b8346['indexOf'](_0x36ebc4(0x233))}),Object['defineProperty'](_0x2a7be1,_0x36ebc4(0x269),{'enumerable':!0x0,'value':_0x5b8346[_0x36ebc4(0x1f0)](_0x36ebc4(0x269))}),Object[_0x36ebc4(0x26a)](_0x2a7be1[_0x36ebc4(0x217)],'OPEN',{'enumerable':!0x0,'value':_0x5b8346[_0x36ebc4(0x1f0)](_0x36ebc4(0x269))}),Object[_0x36ebc4(0x26a)](_0x2a7be1,_0x36ebc4(0x1bc),{'enumerable':!0x0,'value':_0x5b8346[_0x36ebc4(0x1f0)](_0x36ebc4(0x1bc))}),Object[_0x36ebc4(0x26a)](_0x2a7be1[_0x36ebc4(0x217)],'CLOSING',{'enumerable':!0x0,'value':_0x5b8346[_0x36ebc4(0x1f0)](_0x36ebc4(0x1bc))}),Object['defineProperty'](_0x2a7be1,_0x36ebc4(0x285),{'enumerable':!0x0,'value':_0x5b8346[_0x36ebc4(0x1f0)](_0x36ebc4(0x285))}),Object[_0x36ebc4(0x26a)](_0x2a7be1['prototype'],'CLOSED',{'enumerable':!0x0,'value':_0x5b8346[_0x36ebc4(0x1f0)](_0x36ebc4(0x285))}),[_0x36ebc4(0x15d),'bufferedAmount',_0x36ebc4(0x2f6),_0x36ebc4(0x301),'protocol','readyState','url'][_0x36ebc4(0x170)](_0x48d965=>{const _0x587605=_0x36ebc4;Object[_0x587605(0x26a)](_0x2a7be1[_0x587605(0x217)],_0x48d965,{'enumerable':!0x0});}),[_0x36ebc4(0x2b0),_0x36ebc4(0x21e),_0x36ebc4(0x164),_0x36ebc4(0x186)][_0x36ebc4(0x170)](_0x6d3873=>{const _0x47542c=_0x36ebc4;Object[_0x47542c(0x26a)](_0x2a7be1[_0x47542c(0x217)],'on'+_0x6d3873,{'enumerable':!0x0,'get'(){const _0xe38d38=_0x47542c;for(const _0x2c1e8b of this[_0xe38d38(0x24f)](_0x6d3873))if(_0x2c1e8b[_0x2bc39c])return _0x2c1e8b[_0x42c886];return null;},'set'(_0x304f62){const _0x33d1fe=_0x47542c;for(const _0x36b7b0 of this[_0x33d1fe(0x24f)](_0x6d3873))if(_0x36b7b0[_0x2bc39c]){this[_0x33d1fe(0x2bb)](_0x6d3873,_0x36b7b0);break;}typeof _0x304f62==_0x33d1fe(0x1e3)&&this[_0x33d1fe(0x2af)](_0x6d3873,_0x304f62,{[_0x2bc39c]:!0x0});}});}),_0x2a7be1[_0x36ebc4(0x217)][_0x36ebc4(0x2af)]=_0x3ad733,_0x2a7be1[_0x36ebc4(0x217)][_0x36ebc4(0x2fa)]=_0x5ce735,we=_0x2a7be1;function _0x38b1b0(_0x454e4e,_0x39d64d,_0x6f0093,_0x3194af){const _0x11b903=_0x36ebc4,_0x295200={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x2bf4b2[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x3194af,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x11b903(0x19a),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x454e4e['_autoPong']=_0x295200[_0x11b903(0x224)],!_0x2bf4b2[_0x11b903(0x289)](_0x295200[_0x11b903(0x2cc)]))throw new RangeError(_0x11b903(0x180)+_0x295200[_0x11b903(0x2cc)]+_0x11b903(0x2f9)+_0x2bf4b2['join'](',\x20')+')');let _0x1ac0c8;if(_0x39d64d instanceof _0xbd0847)_0x1ac0c8=_0x39d64d;else try{_0x1ac0c8=new _0xbd0847(_0x39d64d);}catch{throw new SyntaxError(_0x11b903(0x208)+_0x39d64d);}_0x1ac0c8[_0x11b903(0x278)]===_0x11b903(0x27d)?_0x1ac0c8[_0x11b903(0x278)]=_0x11b903(0x256):_0x1ac0c8['protocol']===_0x11b903(0x1c0)&&(_0x1ac0c8['protocol']='wss:'),_0x454e4e[_0x11b903(0x2fb)]=_0x1ac0c8[_0x11b903(0x1d1)];const _0x2826f4=_0x1ac0c8[_0x11b903(0x278)]===_0x11b903(0x18f),_0xd85c3a=_0x1ac0c8[_0x11b903(0x278)]==='ws+unix:';let _0x20dc90;if(_0x1ac0c8['protocol']!==_0x11b903(0x256)&&!_0x2826f4&&!_0xd85c3a?_0x20dc90=_0x11b903(0x2b1):_0xd85c3a&&!_0x1ac0c8[_0x11b903(0x222)]?_0x20dc90=_0x11b903(0x2d7):_0x1ac0c8[_0x11b903(0x1be)]&&(_0x20dc90=_0x11b903(0x15c)),_0x20dc90){const _0x10796d=new SyntaxError(_0x20dc90);if(_0x454e4e[_0x11b903(0x23e)]===0x0)throw _0x10796d;_0x30225c(_0x454e4e,_0x10796d);return;}const _0x2d73f6=_0x2826f4?0x1bb:0x50,_0xea217c=_0x7ba34b(0x10)[_0x11b903(0x1f8)](_0x11b903(0x1a5)),_0x1e97b9=_0x2826f4?_0x22a487[_0x11b903(0x198)]:_0xc3a56f[_0x11b903(0x198)],_0x49f7ea=new Set();let _0x4d2c62;if(_0x295200['createConnection']=_0x295200['createConnection']||(_0x2826f4?_0x5d9f57:_0x4f9471),_0x295200[_0x11b903(0x13f)]=_0x295200[_0x11b903(0x13f)]||_0x2d73f6,_0x295200[_0x11b903(0x28d)]=_0x1ac0c8[_0x11b903(0x28d)]||_0x2d73f6,_0x295200[_0x11b903(0x148)]=_0x1ac0c8[_0x11b903(0x211)][_0x11b903(0x25f)]('[')?_0x1ac0c8[_0x11b903(0x211)][_0x11b903(0x1a2)](0x1,-0x1):_0x1ac0c8[_0x11b903(0x211)],_0x295200['headers']={..._0x295200['headers'],'Sec-WebSocket-Version':_0x295200[_0x11b903(0x2cc)],'Sec-WebSocket-Key':_0xea217c,'Connection':_0x11b903(0x20a),'Upgrade':_0x11b903(0x1ea)},_0x295200[_0x11b903(0x213)]=_0x1ac0c8[_0x11b903(0x222)]+_0x1ac0c8[_0x11b903(0x17a)],_0x295200[_0x11b903(0x1db)]=_0x295200['handshakeTimeout'],_0x295200[_0x11b903(0x1f3)]&&(_0x4d2c62=new _0x348ffe(_0x295200[_0x11b903(0x1f3)]!==!0x0?_0x295200['perMessageDeflate']:{},!0x1,_0x295200[_0x11b903(0x2ba)]),_0x295200[_0x11b903(0x2e1)][_0x11b903(0x138)]=_0x54bdf5({[_0x348ffe[_0x11b903(0x1b3)]]:_0x4d2c62[_0x11b903(0x24c)]()})),_0x6f0093[_0x11b903(0x1b4)]){for(const _0x3e007e of _0x6f0093){if(typeof _0x3e007e!=_0x11b903(0x2fd)||!_0xfa590e['test'](_0x3e007e)||_0x49f7ea[_0x11b903(0x1af)](_0x3e007e))throw new SyntaxError(_0x11b903(0x2d0));_0x49f7ea[_0x11b903(0x270)](_0x3e007e);}_0x295200[_0x11b903(0x2e1)][_0x11b903(0x29f)]=_0x6f0093[_0x11b903(0x156)](',');}if(_0x295200[_0x11b903(0x20c)]&&(_0x295200['protocolVersion']<0xd?_0x295200[_0x11b903(0x2e1)][_0x11b903(0x251)]=_0x295200[_0x11b903(0x20c)]:_0x295200[_0x11b903(0x2e1)][_0x11b903(0x15e)]=_0x295200['origin']),(_0x1ac0c8[_0x11b903(0x155)]||_0x1ac0c8[_0x11b903(0x2cb)])&&(_0x295200[_0x11b903(0x177)]=_0x1ac0c8[_0x11b903(0x155)]+':'+_0x1ac0c8[_0x11b903(0x2cb)]),_0xd85c3a){const _0x3d9eb8=_0x295200[_0x11b903(0x213)][_0x11b903(0x206)](':');_0x295200[_0x11b903(0x2aa)]=_0x3d9eb8[0x0],_0x295200[_0x11b903(0x213)]=_0x3d9eb8[0x1];}let _0x4af925;if(_0x295200[_0x11b903(0x2a3)]){if(_0x454e4e[_0x11b903(0x23e)]===0x0){_0x454e4e[_0x11b903(0x261)]=_0xd85c3a,_0x454e4e[_0x11b903(0x22a)]=_0x2826f4,_0x454e4e[_0x11b903(0x23f)]=_0xd85c3a?_0x295200['socketPath']:_0x1ac0c8['host'];const _0xb7be66=_0x3194af&&_0x3194af[_0x11b903(0x2e1)];if(_0x3194af={..._0x3194af,'headers':{}},_0xb7be66){for(const [_0x4e72b2,_0x15acc3]of Object[_0x11b903(0x2bc)](_0xb7be66))_0x3194af[_0x11b903(0x2e1)][_0x4e72b2[_0x11b903(0x2e9)]()]=_0x15acc3;}}else{if(_0x454e4e[_0x11b903(0x26b)]('redirect')===0x0){const _0x405a04=_0xd85c3a?_0x454e4e['_originalIpc']?_0x295200['socketPath']===_0x454e4e[_0x11b903(0x23f)]:!0x1:_0x454e4e[_0x11b903(0x261)]?!0x1:_0x1ac0c8[_0x11b903(0x148)]===_0x454e4e[_0x11b903(0x23f)];(!_0x405a04||_0x454e4e[_0x11b903(0x22a)]&&!_0x2826f4)&&(delete _0x295200[_0x11b903(0x2e1)][_0x11b903(0x1b1)],delete _0x295200[_0x11b903(0x2e1)][_0x11b903(0x197)],_0x405a04||delete _0x295200['headers'][_0x11b903(0x148)],_0x295200[_0x11b903(0x177)]=void 0x0);}}_0x295200[_0x11b903(0x177)]&&!_0x3194af['headers'][_0x11b903(0x1b1)]&&(_0x3194af[_0x11b903(0x2e1)]['authorization']=_0x11b903(0x215)+Buffer[_0x11b903(0x2e8)](_0x295200[_0x11b903(0x177)])[_0x11b903(0x1f8)](_0x11b903(0x1a5))),_0x4af925=_0x454e4e[_0x11b903(0x2fe)]=_0x1e97b9(_0x295200),_0x454e4e[_0x11b903(0x23e)]&&_0x454e4e[_0x11b903(0x21f)]('redirect',_0x454e4e[_0x11b903(0x266)],_0x4af925);}else _0x4af925=_0x454e4e[_0x11b903(0x2fe)]=_0x1e97b9(_0x295200);_0x295200[_0x11b903(0x1db)]&&_0x4af925['on'](_0x11b903(0x1db),()=>{_0x56511a(_0x454e4e,_0x4af925,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x4af925['on'](_0x11b903(0x21e),_0x512b0b=>{const _0x21e4dd=_0x11b903;_0x4af925===null||_0x4af925[_0x358fa0]||(_0x4af925=_0x454e4e[_0x21e4dd(0x2fe)]=null,_0x30225c(_0x454e4e,_0x512b0b));}),_0x4af925['on'](_0x11b903(0x193),_0x54ba3b=>{const _0x4753bd=_0x11b903,_0xffc137=_0x54ba3b['headers'][_0x4753bd(0x2cd)],_0x4af887=_0x54ba3b[_0x4753bd(0x1fd)];if(_0xffc137&&_0x295200['followRedirects']&&_0x4af887>=0x12c&&_0x4af887<0x190){if(++_0x454e4e['_redirects']>_0x295200[_0x4753bd(0x17d)]){_0x56511a(_0x454e4e,_0x4af925,_0x4753bd(0x192));return;}_0x4af925[_0x4753bd(0x27f)]();let _0x350b21;try{_0x350b21=new _0xbd0847(_0xffc137,_0x39d64d);}catch{const _0x5832b3=new SyntaxError(_0x4753bd(0x208)+_0xffc137);_0x30225c(_0x454e4e,_0x5832b3);return;}_0x38b1b0(_0x454e4e,_0x350b21,_0x6f0093,_0x3194af);}else _0x454e4e[_0x4753bd(0x21f)](_0x4753bd(0x1ad),_0x4af925,_0x54ba3b)||_0x56511a(_0x454e4e,_0x4af925,'Unexpected\x20server\x20response:\x20'+_0x54ba3b[_0x4753bd(0x1fd)]);}),_0x4af925['on'](_0x11b903(0x1a1),(_0x5165a1,_0x30f642,_0x4e4565)=>{const _0x360e50=_0x11b903;if(_0x454e4e[_0x360e50(0x21f)](_0x360e50(0x1a1),_0x5165a1),_0x454e4e[_0x360e50(0x272)]!==_0x2a7be1[_0x360e50(0x233)])return;_0x4af925=_0x454e4e[_0x360e50(0x2fe)]=null;const _0x37efb1=_0x5165a1[_0x360e50(0x2e1)][_0x360e50(0x1a1)];if(_0x37efb1===void 0x0||_0x37efb1[_0x360e50(0x2e9)]()!==_0x360e50(0x1ea)){_0x56511a(_0x454e4e,_0x30f642,'Invalid\x20Upgrade\x20header');return;}const _0x2cbbee=_0x37b7c8(_0x360e50(0x183))[_0x360e50(0x282)](_0xea217c+_0x1b3431)[_0x360e50(0x1ae)](_0x360e50(0x1a5));if(_0x5165a1[_0x360e50(0x2e1)][_0x360e50(0x201)]!==_0x2cbbee){_0x56511a(_0x454e4e,_0x30f642,_0x360e50(0x135));return;}const _0x525fff=_0x5165a1[_0x360e50(0x2e1)][_0x360e50(0x262)];let _0x4dc1c5;if(_0x525fff!==void 0x0?_0x49f7ea[_0x360e50(0x297)]?_0x49f7ea[_0x360e50(0x1af)](_0x525fff)||(_0x4dc1c5=_0x360e50(0x220)):_0x4dc1c5=_0x360e50(0x247):_0x49f7ea[_0x360e50(0x297)]&&(_0x4dc1c5=_0x360e50(0x286)),_0x4dc1c5){_0x56511a(_0x454e4e,_0x30f642,_0x4dc1c5);return;}_0x525fff&&(_0x454e4e[_0x360e50(0x231)]=_0x525fff);const _0x54060e=_0x5165a1['headers'][_0x360e50(0x2da)];if(_0x54060e!==void 0x0){if(!_0x4d2c62){_0x56511a(_0x454e4e,_0x30f642,_0x360e50(0x17c));return;}let _0x4a2403;try{_0x4a2403=_0x592d14(_0x54060e);}catch{_0x56511a(_0x454e4e,_0x30f642,_0x360e50(0x260));return;}const _0x5f51d2=Object[_0x360e50(0x254)](_0x4a2403);if(_0x5f51d2['length']!==0x1||_0x5f51d2[0x0]!==_0x348ffe[_0x360e50(0x1b3)]){_0x56511a(_0x454e4e,_0x30f642,_0x360e50(0x235));return;}try{_0x4d2c62[_0x360e50(0x219)](_0x4a2403[_0x348ffe[_0x360e50(0x1b3)]]);}catch{_0x56511a(_0x454e4e,_0x30f642,_0x360e50(0x260));return;}_0x454e4e[_0x360e50(0x142)][_0x348ffe[_0x360e50(0x1b3)]]=_0x4d2c62;}_0x454e4e[_0x360e50(0x306)](_0x30f642,_0x4e4565,{'allowSynchronousEvents':_0x295200[_0x360e50(0x2ce)],'generateMask':_0x295200[_0x360e50(0x221)],'maxPayload':_0x295200[_0x360e50(0x2ba)],'skipUTF8Validation':_0x295200[_0x360e50(0x281)]});}),_0x295200[_0x11b903(0x1fe)]?_0x295200[_0x11b903(0x1fe)](_0x4af925,_0x454e4e):_0x4af925[_0x11b903(0x263)]();}function _0x30225c(_0xb7262b,_0x348a3a){const _0x582a0b=_0x36ebc4;_0xb7262b[_0x582a0b(0x267)]=_0x2a7be1[_0x582a0b(0x1bc)],_0xb7262b[_0x582a0b(0x2ed)]=!0x0,_0xb7262b['emit']('error',_0x348a3a),_0xb7262b[_0x582a0b(0x1bb)]();}function _0x4f9471(_0x159e17){const _0x51ce6e=_0x36ebc4;return _0x159e17[_0x51ce6e(0x213)]=_0x159e17[_0x51ce6e(0x2aa)],_0x47dfea['connect'](_0x159e17);}function _0x5d9f57(_0x30fac7){const _0xe560b8=_0x36ebc4;return _0x30fac7[_0xe560b8(0x213)]=void 0x0,!_0x30fac7[_0xe560b8(0x160)]&&_0x30fac7[_0xe560b8(0x160)]!==''&&(_0x30fac7[_0xe560b8(0x160)]=_0x47dfea[_0xe560b8(0x2e6)](_0x30fac7['host'])?'':_0x30fac7[_0xe560b8(0x148)]),_0x4c2637[_0xe560b8(0x18c)](_0x30fac7);}function _0x56511a(_0x436356,_0x51f0d0,_0x302c45){const _0x3f9a37=_0x36ebc4;_0x436356[_0x3f9a37(0x267)]=_0x2a7be1[_0x3f9a37(0x1bc)];const _0x4cdb9c=new Error(_0x302c45);Error[_0x3f9a37(0x137)](_0x4cdb9c,_0x56511a),_0x51f0d0[_0x3f9a37(0x246)]?(_0x51f0d0[_0x358fa0]=!0x0,_0x51f0d0[_0x3f9a37(0x27f)](),_0x51f0d0['socket']&&!_0x51f0d0[_0x3f9a37(0x225)]['destroyed']&&_0x51f0d0['socket'][_0x3f9a37(0x2d3)](),process[_0x3f9a37(0x2bd)](_0x30225c,_0x436356,_0x4cdb9c)):(_0x51f0d0[_0x3f9a37(0x2d3)](_0x4cdb9c),_0x51f0d0[_0x3f9a37(0x2d4)]('error',_0x436356[_0x3f9a37(0x21f)][_0x3f9a37(0x284)](_0x436356,_0x3f9a37(0x21e))),_0x51f0d0[_0x3f9a37(0x2d4)](_0x3f9a37(0x164),_0x436356[_0x3f9a37(0x1bb)][_0x3f9a37(0x284)](_0x436356)));}function _0x5c0d7f(_0x3018c1,_0x1b6bb3,_0x42cd8b){const _0x11c313=_0x36ebc4;if(_0x1b6bb3){const _0x873d87=_0x3e6fae(_0x1b6bb3)?_0x1b6bb3['size']:_0xa96eeb(_0x1b6bb3)[_0x11c313(0x1b4)];_0x3018c1[_0x11c313(0x307)]?_0x3018c1[_0x11c313(0x305)][_0x11c313(0x2a4)]+=_0x873d87:_0x3018c1[_0x11c313(0x1fb)]+=_0x873d87;}if(_0x42cd8b){const _0x1e2eea=new Error(_0x11c313(0x2f7)+_0x3018c1[_0x11c313(0x272)]+'\x20('+_0x5b8346[_0x3018c1['readyState']]+')');process['nextTick'](_0x42cd8b,_0x1e2eea);}}function _0x43e9e6(_0xdd2e2b,_0x16db5c){const _0x3335f2=_0x36ebc4,_0x21aef1=this[_0x5cb255];_0x21aef1[_0x3335f2(0x1c6)]=!0x0,_0x21aef1['_closeMessage']=_0x16db5c,_0x21aef1[_0x3335f2(0x159)]=_0xdd2e2b,_0x21aef1['_socket'][_0x5cb255]!==void 0x0&&(_0x21aef1[_0x3335f2(0x307)][_0x3335f2(0x2bb)]('data',_0x52f7b9),process[_0x3335f2(0x2bd)](_0x5626ac,_0x21aef1[_0x3335f2(0x307)]),_0xdd2e2b===0x3ed?_0x21aef1['close']():_0x21aef1['close'](_0xdd2e2b,_0x16db5c));}function _0x3cf9c9(){const _0x3f8195=_0x36ebc4,_0x4a1ae5=this[_0x5cb255];_0x4a1ae5[_0x3f8195(0x301)]||_0x4a1ae5[_0x3f8195(0x307)][_0x3f8195(0x259)]();}function _0x421177(_0x1d5563){const _0x14c0e7=_0x36ebc4,_0x19548b=this[_0x5cb255];_0x19548b[_0x14c0e7(0x307)][_0x5cb255]!==void 0x0&&(_0x19548b[_0x14c0e7(0x307)]['removeListener'](_0x14c0e7(0x1df),_0x52f7b9),process['nextTick'](_0x5626ac,_0x19548b['_socket']),_0x19548b[_0x14c0e7(0x164)](_0x1d5563[_0x391b36])),_0x19548b[_0x14c0e7(0x2ed)]||(_0x19548b[_0x14c0e7(0x2ed)]=!0x0,_0x19548b[_0x14c0e7(0x21f)](_0x14c0e7(0x21e),_0x1d5563));}function _0x56e5f3(){const _0x4a654e=_0x36ebc4;this[_0x5cb255][_0x4a654e(0x1bb)]();}function _0x3976d2(_0x37cd26,_0x1c9c4a){const _0x1fbbf6=_0x36ebc4;this[_0x5cb255][_0x1fbbf6(0x21f)]('message',_0x37cd26,_0x1c9c4a);}function _0x4bce78(_0x519cc0){const _0x34b337=_0x36ebc4,_0x854e8c=this[_0x5cb255];_0x854e8c['_autoPong']&&_0x854e8c[_0x34b337(0x207)](_0x519cc0,!this[_0x34b337(0x181)],_0x405d92),_0x854e8c['emit']('ping',_0x519cc0);}function _0x867ec2(_0x356868){const _0x142976=_0x36ebc4;this[_0x5cb255][_0x142976(0x21f)](_0x142976(0x207),_0x356868);}function _0x5626ac(_0x225351){_0x225351['resume']();}function _0x38646e(_0x2ba29f){const _0x3b8677=_0x36ebc4,_0x4ba884=this[_0x5cb255];_0x4ba884[_0x3b8677(0x272)]!==_0x2a7be1[_0x3b8677(0x285)]&&(_0x4ba884[_0x3b8677(0x272)]===_0x2a7be1[_0x3b8677(0x269)]&&(_0x4ba884[_0x3b8677(0x267)]=_0x2a7be1[_0x3b8677(0x1bc)],_0x385d9d(_0x4ba884)),this['_socket']['end'](),_0x4ba884[_0x3b8677(0x2ed)]||(_0x4ba884[_0x3b8677(0x2ed)]=!0x0,_0x4ba884[_0x3b8677(0x21f)](_0x3b8677(0x21e),_0x2ba29f)));}function _0x385d9d(_0x40affe){const _0x5c6c82=_0x36ebc4;_0x40affe[_0x5c6c82(0x13a)]=setTimeout(_0x40affe[_0x5c6c82(0x307)][_0x5c6c82(0x2d3)]['bind'](_0x40affe['_socket']),_0x299c6f);}function _0x11e1fe(){const _0x135f58=_0x36ebc4,_0x58d684=this[_0x5cb255];this[_0x135f58(0x2bb)]('close',_0x11e1fe),this[_0x135f58(0x2bb)](_0x135f58(0x1df),_0x52f7b9),this[_0x135f58(0x2bb)](_0x135f58(0x263),_0x2ac893),_0x58d684[_0x135f58(0x267)]=_0x2a7be1[_0x135f58(0x1bc)];let _0x5627d1;!this[_0x135f58(0x178)][_0x135f58(0x20d)]&&!_0x58d684[_0x135f58(0x1c6)]&&!_0x58d684[_0x135f58(0x1d7)]['_writableState'][_0x135f58(0x18a)]&&(_0x5627d1=_0x58d684['_socket'][_0x135f58(0x26d)]())!==null&&_0x58d684[_0x135f58(0x1d7)][_0x135f58(0x205)](_0x5627d1),_0x58d684[_0x135f58(0x1d7)]['end'](),this[_0x5cb255]=void 0x0,clearTimeout(_0x58d684['_closeTimer']),_0x58d684[_0x135f58(0x1d7)][_0x135f58(0x275)][_0x135f58(0x29e)]||_0x58d684[_0x135f58(0x1d7)][_0x135f58(0x275)]['errorEmitted']?_0x58d684[_0x135f58(0x1bb)]():(_0x58d684[_0x135f58(0x1d7)]['on']('error',_0x56e5f3),_0x58d684[_0x135f58(0x1d7)]['on'](_0x135f58(0x303),_0x56e5f3));}function _0x52f7b9(_0x445976){const _0xa5046f=_0x36ebc4;this[_0x5cb255][_0xa5046f(0x1d7)][_0xa5046f(0x205)](_0x445976)||this[_0xa5046f(0x226)]();}function _0x2ac893(){const _0x253466=_0x36ebc4,_0x398b74=this[_0x5cb255];_0x398b74[_0x253466(0x267)]=_0x2a7be1[_0x253466(0x1bc)],_0x398b74[_0x253466(0x1d7)][_0x253466(0x263)](),this['end']();}function _0xa2787d(){const _0x4930c1=_0x36ebc4,_0x48baec=this[_0x5cb255];this[_0x4930c1(0x2bb)](_0x4930c1(0x21e),_0xa2787d),this['on'](_0x4930c1(0x21e),_0x405d92),_0x48baec&&(_0x48baec[_0x4930c1(0x267)]=_0x2a7be1[_0x4930c1(0x1bc)],this[_0x4930c1(0x2d3)]());}return we;}function _0x536e(){const _0x47f87f=['WebSocket','_closeCode','species','http','The\x20URL\x20contains\x20a\x20fragment\x20identifier','binaryType','Origin','1741366EAvwXD','servername','jobs','params','concurrency','close','CollaborationSocketService','_firstFragment','@univerjs/core','HTTP/1.1\x20','onclose','_compress','haveLength','ISnapshotServerService','push','zlibInflateOptions','reset','forEach','fragments','Upgrade:\x20websocket','UniverCollaborationClientPlugin','3687397BrjkNC','WS_ERR_EXPECTED_FIN','find','auth','_readableState','server_no_context_takeover','search','kListener','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','maxRedirects','setConfig','wasClean','Unsupported\x20protocol\x20version:\x20','_isServer','IConfigService','sha1','startLoop','_read','message','setTimeout','test','_payloadLength','errorEmitted','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','connect','_inflate','HTTP/1.1\x20101\x20Switching\x20Protocols','wss:','_options','wsClientError','Maximum\x20redirects\x20exceeded','response','_opcode','create','clientTracking','cookie','request','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','GET','writeUIntBE','apply','WS_NO_UTF_8_VALIDATE','number','readable','WS_ERR_INVALID_UTF8','upgrade','slice','crypto','object','base64','_shouldEmitClose','rxjs','shouldHandle','hasOwnProperty','_skipUTF8Validation','getData','blob','unexpected-response','digest','has','toStringTag','authorization','readOnly','extensionName','length','_deflate','WS_NO_BUFFER_UTIL','map','WS_ERR_UNEXPECTED_RSV_1','_doCreateSocket','bufferedAmount','emitClose','CLOSING','concurrencyLimit','hash','sec-websocket-version','https:','destroyed','sec-websocket-key','setNoDelay','decompress','_registerDependencies','_closeFrameReceived','clients','noServer','ISocketService','threshold','ILogService','RSV1\x20must\x20be\x20clear','server','compress','conclude','env','href','358548hfWhVH','catch','_state','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','options','_receiver','_httpService','clientMaxWindowBits','code','timeout','Sec-WebSocket-Accept:\x20','reason','encrypted','data','20567104Ltekad','send','kTarget','function','buffer','enqueue','Unexpected\x20end\x20of\x20input','collaboration-client-node.config','client','share','websocket','client_max_window_bits','unshift','tls','Connection:\x20Upgrade','handleProtocols','indexOf','_fragmented','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','perMessageDeflate','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','Z_DEFAULT_WINDOWBITS','frame','shift','toString','_generateMask','getPayloadLength64','_bufferedAmount','objectMode','statusCode','finishRequest','invalid\x20opcode\x20','dispose','sec-websocket-accept','_max_window_bits','serverNoContextTakeover','warn','write','split','pong','Invalid\x20URL:\x20','permessage-deflate','Upgrade','isValidUTF8','origin','endEmitted','WS_ERR_INVALID_CLOSE_CODE','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','readUInt32BE','hostname','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','path','_loop','Basic\x20','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','prototype','construct','accept','\x22\x20subprotocol\x20is\x20duplicated','removeAllListeners','_configService','ping','error','emit','Server\x20sent\x20an\x20invalid\x20subprotocol','generateMask','pathname','STATUS_CODES','autoPong','socket','pause','nodebuffer','_closeFrameSent','values','_originalSecure','DisposableCollection','_queue','backlog','Invalid\x20value\x20for\x20parameter\x20\x22','COLLABORATION_CLIENT_NODE_CONFIG_KEY','writable','_protocol','set','CONNECTING','cork','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','_errored','UniverCollaborationClientNodePlugin','The\x20server\x20is\x20not\x20running','_fragments','total-length','_binaryType','listening','_compressed','_redirects','_originalHostOrSocketPath','_final','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','Sec-WebSocket-Extensions:\x20','verifyClient','_maskBuffer','then','setHeader','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','kError','mask','completeUpgrade','\x0d\x0a\x0d\x0a','offer','server_max_window_bits','Unexpected\x20character\x20at\x20index\x20','listeners','unmask','Sec-WebSocket-Origin','flush','getMask','keys','_injector','ws:','createError','The\x20\x22','resume','callback','FIN\x20must\x20be\x20set','WS_ERR_UNEXPECTED_MASK','kAborted','createServer','startsWith','Invalid\x20Sec-WebSocket-Extensions\x20header','_originalIpc','sec-websocket-protocol','end','registerDependencies','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','url','_readyState','call','OPEN','defineProperty','listenerCount','value','read','address','kMessage','add','kRun','readyState','binary','getInfo','_writableState','__esModule','_autoPong','protocol','listen','fin','WS_ERR_UNEXPECTED_RSV_2_3','allocUnsafe','http:','kType','abort','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','skipUTF8Validation','update','Parameter\x20\x22','bind','CLOSED','Server\x20sent\x20no\x20subprotocol','invalid\x20UTF-8\x20sequence','kCode','includes','onerror','delete','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','port','toDisposable','serverMaxWindowBits','createDeflateRaw','format','concat','onopen','needDrain','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','pipe','size','HTTPService','Invalid\x20Upgrade\x20header','cleanup','Cookie','dequeue','isArray','finished','Sec-WebSocket-Protocol','_maxPayload','consume','handleUpgrade','followRedirects','_bufferedBytes','Inject','sec-websocket-origin','WS_ERR_EXPECTED_MASK','parse','clientNoContextTakeover','socketPath','registerHTTPInterceptor','charCodeAt','events','status-code','addEventListener','open','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','normalizeParams','byteLength','acceptAsClient','freeze','WS_ERR_INVALID_OPCODE','\x22:\x20','_totalPayloadLength','default','maxPayload','removeListener','entries','nextTick','arrayBuffer','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','exports','isInteger','@univerjs-pro/collaboration','alloc','getBlobData','writeHead','_fin','dispatch','text/plain','NodeCollaborationSocketService','byteOffset','password','protocolVersion','location','allowSynchronousEvents','net','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','acceptAsServer','Module','destroy','once','_paused','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','The\x20URL\x27s\x20pathname\x20is\x20empty','createSocket','next','sec-websocket-extensions','writeUInt16BE','Blob','getConfig','uncork','_decompress','_removeListeners','headers','kReason','Observable','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','_write','isIP','replace','from','toLowerCase','stream','DependentOn','getOwnPropertyDescriptor','_errorEmitted','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','handleEvent','kIsForOnEventAttribute','pow','_masked','Max\x20payload\x20size\x20exceeded','_messageLength','extensions','WebSocket\x20is\x20not\x20open:\x20readyState\x20','_mask','\x20(supported\x20versions:\x20','removeEventListener','_url','readUInt16BE','string','_req','1653040aYoRyI','File','isPaused','_allowSynchronousEvents','finish','@univerjs-pro/collaboration-client','_sender','setSocket','_socket','controlMessage','target','createInflateRaw','Invalid\x20WebSocket\x20frame:\x20','drain','Invalid\x20Sec-WebSocket-Accept\x20header','Invalid\x20HTTP\x20method','captureStackTrace','Sec-WebSocket-Extensions','_closeMessage','_closeTimer','invalid\x20payload\x20length\x20','dataMessage','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','_threshold','defaultPort','terminate','sendFrame','_extensions','onmessage','client_no_context_takeover','824761mMaJZi','_server','opcode','host','_no_context_takeover','Disposable','328842tgvAnQ','@univerjs/network','75BQvUxJ','Injector','_buffers','kWasClean','customHeaders','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','pending','arraybuffer','username','join','type'];_0x536e=function(){return _0x47f87f;};return _0x536e();}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0xb83482}=oe;function _0x40eb5a(_0x40568b){const _0x103048=_0x1646;_0x40568b[_0x103048(0x21f)](_0x103048(0x164));}function _0x41f780(){const _0x34d220=_0x1646;!this[_0x34d220(0x1c1)]&&this['_writableState'][_0x34d220(0x29e)]&&this[_0x34d220(0x2d3)]();}function _0x373cde(_0x31dc14){const _0x405372=_0x1646;this[_0x405372(0x2bb)]('error',_0x373cde),this['destroy'](),this[_0x405372(0x26b)]('error')===0x0&&this[_0x405372(0x21f)]('error',_0x31dc14);}function _0x213346(_0x40b844,_0x285958){const _0x41181d=_0x1646;let _0x200ff5=!0x0;const _0x40805e=new _0xb83482({..._0x285958,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x40b844['on']('message',function(_0x5cad82,_0x39d649){const _0x21e66c=_0x1646,_0x326421=!_0x39d649&&_0x40805e[_0x21e66c(0x178)][_0x21e66c(0x1fc)]?_0x5cad82[_0x21e66c(0x1f8)]():_0x5cad82;_0x40805e['push'](_0x326421)||_0x40b844[_0x21e66c(0x226)]();}),_0x40b844[_0x41181d(0x2d4)]('error',function(_0x4aa28f){const _0x336850=_0x41181d;_0x40805e['destroyed']||(_0x200ff5=!0x1,_0x40805e[_0x336850(0x2d3)](_0x4aa28f));}),_0x40b844[_0x41181d(0x2d4)](_0x41181d(0x164),function(){const _0x42fcf6=_0x41181d;_0x40805e['destroyed']||_0x40805e[_0x42fcf6(0x16d)](null);}),_0x40805e['_destroy']=function(_0x32cf94,_0xeec9b){const _0x294857=_0x41181d;if(_0x40b844[_0x294857(0x272)]===_0x40b844['CLOSED']){_0xeec9b(_0x32cf94),process[_0x294857(0x2bd)](_0x40eb5a,_0x40805e);return;}let _0x56c550=!0x1;_0x40b844[_0x294857(0x2d4)]('error',function(_0x19dd73){_0x56c550=!0x0,_0xeec9b(_0x19dd73);}),_0x40b844['once'](_0x294857(0x164),function(){const _0x34a2fd=_0x294857;_0x56c550||_0xeec9b(_0x32cf94),process[_0x34a2fd(0x2bd)](_0x40eb5a,_0x40805e);}),_0x200ff5&&_0x40b844[_0x294857(0x140)]();},_0x40805e[_0x41181d(0x240)]=function(_0x118017){const _0x89f59e=_0x41181d;if(_0x40b844[_0x89f59e(0x272)]===_0x40b844[_0x89f59e(0x233)]){_0x40b844[_0x89f59e(0x2d4)](_0x89f59e(0x2b0),function(){const _0x1fc849=_0x89f59e;_0x40805e[_0x1fc849(0x240)](_0x118017);});return;}_0x40b844[_0x89f59e(0x307)]!==null&&(_0x40b844[_0x89f59e(0x307)][_0x89f59e(0x275)][_0x89f59e(0x29e)]?(_0x118017(),_0x40805e[_0x89f59e(0x178)][_0x89f59e(0x20d)]&&_0x40805e[_0x89f59e(0x2d3)]()):(_0x40b844[_0x89f59e(0x307)]['once'](_0x89f59e(0x303),function(){_0x118017();}),_0x40b844[_0x89f59e(0x164)]()));},_0x40805e[_0x41181d(0x185)]=function(){_0x40b844['isPaused']&&_0x40b844['resume']();},_0x40805e[_0x41181d(0x2e5)]=function(_0x4d03c3,_0x59c5d7,_0x19c5ee){const _0x58ad9b=_0x41181d;if(_0x40b844['readyState']===_0x40b844[_0x58ad9b(0x233)]){_0x40b844[_0x58ad9b(0x2d4)]('open',function(){const _0x46cfbd=_0x58ad9b;_0x40805e[_0x46cfbd(0x2e5)](_0x4d03c3,_0x59c5d7,_0x19c5ee);});return;}_0x40b844[_0x58ad9b(0x1e1)](_0x4d03c3,_0x19c5ee);},_0x40805e['on'](_0x41181d(0x263),_0x41f780),_0x40805e['on'](_0x41181d(0x21e),_0x373cde),_0x40805e;}return Oe=_0x213346,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x3723d0}=ae();function _0x47cdf7(_0x2855b8){const _0x46852e=_0x1646,_0x46cb7b=new Set();let _0x21428d=-0x1,_0x1b4800=-0x1,_0x2d0284=0x0;for(_0x2d0284;_0x2d0284<_0x2855b8[_0x46852e(0x1b4)];_0x2d0284++){const _0x15cf33=_0x2855b8[_0x46852e(0x2ac)](_0x2d0284);if(_0x1b4800===-0x1&&_0x3723d0[_0x15cf33]===0x1)_0x21428d===-0x1&&(_0x21428d=_0x2d0284);else{if(_0x2d0284!==0x0&&(_0x15cf33===0x20||_0x15cf33===0x9))_0x1b4800===-0x1&&_0x21428d!==-0x1&&(_0x1b4800=_0x2d0284);else{if(_0x15cf33===0x2c){if(_0x21428d===-0x1)throw new SyntaxError(_0x46852e(0x24e)+_0x2d0284);_0x1b4800===-0x1&&(_0x1b4800=_0x2d0284);const _0x24fca9=_0x2855b8[_0x46852e(0x1a2)](_0x21428d,_0x1b4800);if(_0x46cb7b[_0x46852e(0x1af)](_0x24fca9))throw new SyntaxError('The\x20\x22'+_0x24fca9+_0x46852e(0x21a));_0x46cb7b[_0x46852e(0x270)](_0x24fca9),_0x21428d=_0x1b4800=-0x1;}else throw new SyntaxError(_0x46852e(0x24e)+_0x2d0284);}}}if(_0x21428d===-0x1||_0x1b4800!==-0x1)throw new SyntaxError(_0x46852e(0x1e6));const _0x3a9b78=_0x2855b8['slice'](_0x21428d,_0x2d0284);if(_0x46cb7b[_0x46852e(0x1af)](_0x3a9b78))throw new SyntaxError(_0x46852e(0x258)+_0x3a9b78+_0x46852e(0x21a));return _0x46cb7b[_0x46852e(0x270)](_0x3a9b78),_0x46cb7b;}return Ce={'parse':_0x47cdf7},Ce;}var Te,rt;function Ft(){const _0x4b3c18=_0x52b6f9;if(rt)return Te;rt=0x1;const _0x3da303=nt,_0xc92839=ot,{Duplex:_0x737b11}=oe,{createHash:_0x1bbdd1}=Le,_0x11e641=ct(),_0x400720=he(),_0x2f7a87=At(),_0x3d886b=Pe(),{GUID:_0x1e295b,kWebSocket:_0x3081a2}=H(),_0x1bf1e2=/^[+/0-9A-Za-z]{22}==$/,_0x3b8bd9=0x0,_0x11bc68=0x1,_0x9ae1cc=0x2;class _0x256aac extends _0x3da303{constructor(_0x48b79c,_0x224003){const _0x5978f3=_0x1646;if(super(),_0x48b79c={'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':_0x3d886b,..._0x48b79c},_0x48b79c[_0x5978f3(0x28d)]==null&&!_0x48b79c[_0x5978f3(0x1cd)]&&!_0x48b79c['noServer']||_0x48b79c[_0x5978f3(0x28d)]!=null&&(_0x48b79c[_0x5978f3(0x1cd)]||_0x48b79c[_0x5978f3(0x1c8)])||_0x48b79c[_0x5978f3(0x1cd)]&&_0x48b79c[_0x5978f3(0x1c8)])throw new TypeError(_0x5978f3(0x2d6));if(_0x48b79c[_0x5978f3(0x28d)]!=null?(this['_server']=_0xc92839[_0x5978f3(0x25e)]((_0x1f7a8d,_0x35144b)=>{const _0x2c115c=_0x5978f3,_0x5d269c=_0xc92839['STATUS_CODES'][0x1aa];_0x35144b[_0x2c115c(0x2c5)](0x1aa,{'Content-Length':_0x5d269c['length'],'Content-Type':_0x2c115c(0x2c8)}),_0x35144b[_0x2c115c(0x263)](_0x5d269c);}),this[_0x5978f3(0x146)][_0x5978f3(0x279)](_0x48b79c[_0x5978f3(0x28d)],_0x48b79c['host'],_0x48b79c[_0x5978f3(0x22d)],_0x224003)):_0x48b79c[_0x5978f3(0x1cd)]&&(this[_0x5978f3(0x146)]=_0x48b79c['server']),this['_server']){const _0x3731dd=this[_0x5978f3(0x21f)][_0x5978f3(0x284)](this,'connection');this['_removeListeners']=_0x3865eb(this[_0x5978f3(0x146)],{'listening':this[_0x5978f3(0x21f)][_0x5978f3(0x284)](this,_0x5978f3(0x23c)),'error':this[_0x5978f3(0x21f)][_0x5978f3(0x284)](this,'error'),'upgrade':(_0x1587a1,_0x6e771e,_0x365936)=>{const _0x54e29f=_0x5978f3;this[_0x54e29f(0x2a2)](_0x1587a1,_0x6e771e,_0x365936,_0x3731dd);}});}_0x48b79c['perMessageDeflate']===!0x0&&(_0x48b79c[_0x5978f3(0x1f3)]={}),_0x48b79c[_0x5978f3(0x196)]&&(this[_0x5978f3(0x1c7)]=new Set(),this[_0x5978f3(0x1a6)]=!0x1),this['options']=_0x48b79c,this[_0x5978f3(0x1d4)]=_0x3b8bd9;}[_0x4b3c18(0x26e)](){const _0x44edea=_0x4b3c18;if(this[_0x44edea(0x1d6)][_0x44edea(0x1c8)])throw new Error(_0x44edea(0x241));return this[_0x44edea(0x146)]?this[_0x44edea(0x146)][_0x44edea(0x26e)]():null;}[_0x4b3c18(0x164)](_0x260cc5){const _0x1f328a=_0x4b3c18;if(this[_0x1f328a(0x1d4)]===_0x9ae1cc){_0x260cc5&&this[_0x1f328a(0x2d4)](_0x1f328a(0x164),()=>{const _0x241341=_0x1f328a;_0x260cc5(new Error(_0x241341(0x238)));}),process[_0x1f328a(0x2bd)](_0x479da1,this);return;}if(_0x260cc5&&this['once'](_0x1f328a(0x164),_0x260cc5),this['_state']!==_0x11bc68){if(this[_0x1f328a(0x1d4)]=_0x11bc68,this[_0x1f328a(0x1d6)]['noServer']||this[_0x1f328a(0x1d6)][_0x1f328a(0x1cd)])this[_0x1f328a(0x146)]&&(this['_removeListeners'](),this[_0x1f328a(0x2e0)]=this[_0x1f328a(0x146)]=null),this[_0x1f328a(0x1c7)]?this[_0x1f328a(0x1c7)][_0x1f328a(0x297)]?this[_0x1f328a(0x1a6)]=!0x0:process[_0x1f328a(0x2bd)](_0x479da1,this):process[_0x1f328a(0x2bd)](_0x479da1,this);else{const _0x2bf5ba=this[_0x1f328a(0x146)];this[_0x1f328a(0x2e0)](),this[_0x1f328a(0x2e0)]=this[_0x1f328a(0x146)]=null,_0x2bf5ba[_0x1f328a(0x164)](()=>{_0x479da1(this);});}}}[_0x4b3c18(0x1a8)](_0x263f61){const _0x24290d=_0x4b3c18;if(this['options'][_0x24290d(0x213)]){const _0xd4ff0c=_0x263f61['url'][_0x24290d(0x1f0)]('?');if((_0xd4ff0c!==-0x1?_0x263f61[_0x24290d(0x266)][_0x24290d(0x1a2)](0x0,_0xd4ff0c):_0x263f61[_0x24290d(0x266)])!==this[_0x24290d(0x1d6)][_0x24290d(0x213)])return!0x1;}return!0x0;}[_0x4b3c18(0x2a2)](_0x24bbd6,_0xaf7f0a,_0x19cc95,_0x127859){const _0xf457=_0x4b3c18;_0xaf7f0a['on'](_0xf457(0x21e),_0x5be2b9);const _0x554d67=_0x24bbd6[_0xf457(0x2e1)][_0xf457(0x1c2)],_0x4924f3=_0x24bbd6[_0xf457(0x2e1)][_0xf457(0x1a1)],_0x47b70c=+_0x24bbd6[_0xf457(0x2e1)][_0xf457(0x1bf)];if(_0x24bbd6['method']!==_0xf457(0x19a)){_0x2b206c(this,_0x24bbd6,_0xaf7f0a,0x195,_0xf457(0x136));return;}if(_0x4924f3===void 0x0||_0x4924f3['toLowerCase']()!==_0xf457(0x1ea)){_0x2b206c(this,_0x24bbd6,_0xaf7f0a,0x190,_0xf457(0x299));return;}if(_0x554d67===void 0x0||!_0x1bf1e2[_0xf457(0x188)](_0x554d67)){_0x2b206c(this,_0x24bbd6,_0xaf7f0a,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x47b70c!==0x8&&_0x47b70c!==0xd){_0x2b206c(this,_0x24bbd6,_0xaf7f0a,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this[_0xf457(0x1a8)](_0x24bbd6)){_0x18650c(_0xaf7f0a,0x190);return;}const _0xf2d233=_0x24bbd6[_0xf457(0x2e1)][_0xf457(0x262)];let _0x589526=new Set();if(_0xf2d233!==void 0x0)try{_0x589526=_0x2f7a87['parse'](_0xf2d233);}catch{_0x2b206c(this,_0x24bbd6,_0xaf7f0a,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x3eeb9d=_0x24bbd6[_0xf457(0x2e1)][_0xf457(0x2da)],_0x3236a0={};if(this['options']['perMessageDeflate']&&_0x3eeb9d!==void 0x0){const _0x56faf0=new _0x400720(this['options'][_0xf457(0x1f3)],!0x0,this[_0xf457(0x1d6)][_0xf457(0x2ba)]);try{const _0xeb9533=_0x11e641[_0xf457(0x2a8)](_0x3eeb9d);_0xeb9533[_0x400720[_0xf457(0x1b3)]]&&(_0x56faf0[_0xf457(0x219)](_0xeb9533[_0x400720['extensionName']]),_0x3236a0[_0x400720[_0xf457(0x1b3)]]=_0x56faf0);}catch{_0x2b206c(this,_0x24bbd6,_0xaf7f0a,0x190,_0xf457(0x28c));return;}}if(this['options'][_0xf457(0x243)]){const _0x371c87={'origin':_0x24bbd6['headers'][''+(_0x47b70c===0x8?_0xf457(0x2a6):_0xf457(0x20c))],'secure':!!(_0x24bbd6[_0xf457(0x225)]['authorized']||_0x24bbd6[_0xf457(0x225)][_0xf457(0x1de)]),'req':_0x24bbd6};if(this['options'][_0xf457(0x243)]['length']===0x2){this[_0xf457(0x1d6)][_0xf457(0x243)](_0x371c87,(_0x4d3f32,_0x3655f4,_0x56fa05,_0x23e06c)=>{const _0x603fe6=_0xf457;if(!_0x4d3f32)return _0x18650c(_0xaf7f0a,_0x3655f4||0x191,_0x56fa05,_0x23e06c);this[_0x603fe6(0x24a)](_0x3236a0,_0x554d67,_0x589526,_0x24bbd6,_0xaf7f0a,_0x19cc95,_0x127859);});return;}if(!this[_0xf457(0x1d6)][_0xf457(0x243)](_0x371c87))return _0x18650c(_0xaf7f0a,0x191);}this[_0xf457(0x24a)](_0x3236a0,_0x554d67,_0x589526,_0x24bbd6,_0xaf7f0a,_0x19cc95,_0x127859);}[_0x4b3c18(0x24a)](_0x40b275,_0x1cfcea,_0x19a7fd,_0x4c647e,_0xca1dfe,_0x3837c0,_0x333e64){const _0x56a8f2=_0x4b3c18;if(!_0xca1dfe[_0x56a8f2(0x19f)]||!_0xca1dfe[_0x56a8f2(0x230)])return _0xca1dfe[_0x56a8f2(0x2d3)]();if(_0xca1dfe[_0x3081a2])throw new Error(_0x56a8f2(0x216));if(this[_0x56a8f2(0x1d4)]>_0x3b8bd9)return _0x18650c(_0xca1dfe,0x1f7);const _0x3b34e=[_0x56a8f2(0x18e),_0x56a8f2(0x172),_0x56a8f2(0x1ee),_0x56a8f2(0x1dc)+_0x1bbdd1('sha1')[_0x56a8f2(0x282)](_0x1cfcea+_0x1e295b)[_0x56a8f2(0x1ae)](_0x56a8f2(0x1a5))],_0x2e600b=new this['options'][(_0x56a8f2(0x158))](null,void 0x0,this[_0x56a8f2(0x1d6)]);if(_0x19a7fd[_0x56a8f2(0x297)]){const _0x1e4b27=this[_0x56a8f2(0x1d6)]['handleProtocols']?this[_0x56a8f2(0x1d6)][_0x56a8f2(0x1ef)](_0x19a7fd,_0x4c647e):_0x19a7fd[_0x56a8f2(0x229)]()[_0x56a8f2(0x2d9)]()[_0x56a8f2(0x26c)];_0x1e4b27&&(_0x3b34e['push']('Sec-WebSocket-Protocol:\x20'+_0x1e4b27),_0x2e600b[_0x56a8f2(0x231)]=_0x1e4b27);}if(_0x40b275[_0x400720[_0x56a8f2(0x1b3)]]){const _0x1fd78f=_0x40b275[_0x400720[_0x56a8f2(0x1b3)]][_0x56a8f2(0x162)],_0x15c3ab=_0x11e641[_0x56a8f2(0x291)]({[_0x400720['extensionName']]:[_0x1fd78f]});_0x3b34e[_0x56a8f2(0x16d)](_0x56a8f2(0x242)+_0x15c3ab),_0x2e600b[_0x56a8f2(0x142)]=_0x40b275;}this['emit']('headers',_0x3b34e,_0x4c647e),_0xca1dfe[_0x56a8f2(0x205)](_0x3b34e[_0x56a8f2(0x292)]('\x0d\x0a')[_0x56a8f2(0x156)]('\x0d\x0a')),_0xca1dfe[_0x56a8f2(0x2bb)](_0x56a8f2(0x21e),_0x5be2b9),_0x2e600b[_0x56a8f2(0x306)](_0xca1dfe,_0x3837c0,{'allowSynchronousEvents':this[_0x56a8f2(0x1d6)][_0x56a8f2(0x2ce)],'maxPayload':this[_0x56a8f2(0x1d6)][_0x56a8f2(0x2ba)],'skipUTF8Validation':this[_0x56a8f2(0x1d6)][_0x56a8f2(0x281)]}),this[_0x56a8f2(0x1c7)]&&(this[_0x56a8f2(0x1c7)][_0x56a8f2(0x270)](_0x2e600b),_0x2e600b['on']('close',()=>{const _0x12bb2e=_0x56a8f2;this[_0x12bb2e(0x1c7)][_0x12bb2e(0x28b)](_0x2e600b),this[_0x12bb2e(0x1a6)]&&!this[_0x12bb2e(0x1c7)]['size']&&process[_0x12bb2e(0x2bd)](_0x479da1,this);})),_0x333e64(_0x2e600b,_0x4c647e);}}Te=_0x256aac;function _0x3865eb(_0x5e6bce,_0x1276cb){const _0x20b3f2=_0x4b3c18;for(const _0x3031c1 of Object[_0x20b3f2(0x254)](_0x1276cb))_0x5e6bce['on'](_0x3031c1,_0x1276cb[_0x3031c1]);return function(){const _0x5b908e=_0x20b3f2;for(const _0x3c3e5e of Object[_0x5b908e(0x254)](_0x1276cb))_0x5e6bce[_0x5b908e(0x2bb)](_0x3c3e5e,_0x1276cb[_0x3c3e5e]);};}function _0x479da1(_0xb72726){const _0x2388cd=_0x4b3c18;_0xb72726['_state']=_0x9ae1cc,_0xb72726['emit'](_0x2388cd(0x164));}function _0x5be2b9(){const _0x5054c1=_0x4b3c18;this[_0x5054c1(0x2d3)]();}function _0x18650c(_0x3b4a01,_0x584a0e,_0x5efea3,_0x3b839c){const _0x13044b=_0x4b3c18;_0x5efea3=_0x5efea3||_0xc92839[_0x13044b(0x223)][_0x584a0e],_0x3b839c={'Connection':_0x13044b(0x164),'Content-Type':'text/html','Content-Length':Buffer[_0x13044b(0x2b3)](_0x5efea3),..._0x3b839c},_0x3b4a01['once'](_0x13044b(0x303),_0x3b4a01[_0x13044b(0x2d3)]),_0x3b4a01['end'](_0x13044b(0x168)+_0x584a0e+'\x20'+_0xc92839['STATUS_CODES'][_0x584a0e]+'\x0d\x0a'+Object[_0x13044b(0x254)](_0x3b839c)['map'](_0xc739a=>_0xc739a+':\x20'+_0x3b839c[_0xc739a])[_0x13044b(0x156)]('\x0d\x0a')+_0x13044b(0x24b)+_0x5efea3);}function _0x2b206c(_0x2d01d4,_0x8280ff,_0x561227,_0x43fcc6,_0x268c88){const _0x262c8b=_0x4b3c18;if(_0x2d01d4['listenerCount'](_0x262c8b(0x191))){const _0x352252=new Error(_0x268c88);Error[_0x262c8b(0x137)](_0x352252,_0x2b206c),_0x2d01d4['emit'](_0x262c8b(0x191),_0x352252,_0x561227,_0x8280ff);}else _0x18650c(_0x561227,_0x43fcc6,_0x268c88);}return Te;}function _0x1646(_0x10fd4c,_0x5e1366){const _0x536e51=_0x536e();return _0x1646=function(_0x164650,_0x595ab1){_0x164650=_0x164650-0x130;let _0x3c4458=_0x536e51[_0x164650];return _0x3c4458;},_0x1646(_0x10fd4c,_0x5e1366);}Ft();var jt=Object[_0x52b6f9(0x2ec)],Wt=(_0x4cdc25,_0x18a12c,_0x2108c5,_0x5e09a0)=>{const _0xe3700c=_0x52b6f9;for(var _0x1d5791=_0x5e09a0>0x1?void 0x0:_0x5e09a0?jt(_0x18a12c,_0x2108c5):_0x18a12c,_0x4a1b39=_0x4cdc25[_0xe3700c(0x1b4)]-0x1,_0x44c7bc;_0x4a1b39>=0x0;_0x4a1b39--)(_0x44c7bc=_0x4cdc25[_0x4a1b39])&&(_0x1d5791=_0x44c7bc(_0x1d5791)||_0x1d5791);return _0x1d5791;},qt=(_0x364f0b,_0x1d2c5a)=>(_0x3858ee,_0x92d95a)=>_0x1d2c5a(_0x3858ee,_0x92d95a,_0x364f0b);let ke=class extends A[_0x52b6f9(0x14a)]{constructor(_0x34603c){super(),this['_configService']=_0x34603c;}[_0x52b6f9(0x2d8)](_0x3d8155){const _0x1be760=_0x52b6f9;var _0x4e8597;const _0x3cf505=(_0x4e8597=this[_0x1be760(0x21c)]['getConfig'](fe))==null?void 0x0:_0x4e8597[_0x1be760(0x151)];try{const _0x3023b0=new $t(_0x3d8155,{'headers':{..._0x3cf505}}),_0x1a95f1=new A[(_0x1be760(0x22b))]();return{'URL':_0x3d8155,'close':(_0x34e5bf,_0x5acbee)=>{const _0x4ad54c=_0x1be760;_0x3023b0[_0x4ad54c(0x164)](_0x34e5bf,_0x5acbee),_0x1a95f1[_0x4ad54c(0x200)]();},'send':_0x4540f5=>{const _0x21ee86=_0x1be760;_0x3023b0[_0x21ee86(0x1e1)](_0x4540f5);},'open$':new V[(_0x1be760(0x2e3))](_0x5a0aea=>{const _0x228259=_0x1be760,_0x26808d=_0x44ef11=>_0x5a0aea[_0x228259(0x2d9)](_0x44ef11);_0x3023b0[_0x228259(0x2af)](_0x228259(0x2b0),_0x26808d),_0x1a95f1[_0x228259(0x270)](A[_0x228259(0x28e)](()=>_0x3023b0[_0x228259(0x2fa)]('open',_0x26808d)));})[_0x1be760(0x296)](V[_0x1be760(0x1e9)]()),'close$':new V['Observable'](_0xd5ced9=>{const _0x35eeb3=_0x1be760,_0x3296b2=_0x199fca=>_0xd5ced9[_0x35eeb3(0x2d9)](_0x199fca);_0x3023b0['addEventListener']('close',_0x3296b2),_0x1a95f1[_0x35eeb3(0x270)](A[_0x35eeb3(0x28e)](()=>_0x3023b0['removeEventListener'](_0x35eeb3(0x164),_0x3296b2)));})[_0x1be760(0x296)](V[_0x1be760(0x1e9)]()),'error$':new V[(_0x1be760(0x2e3))](_0x36e54c=>{const _0x5d2764=_0x1be760,_0x55b3ef=_0x4a98a7=>_0x36e54c[_0x5d2764(0x2d9)](_0x4a98a7);_0x3023b0[_0x5d2764(0x2af)](_0x5d2764(0x21e),_0x55b3ef),_0x1a95f1['add'](A[_0x5d2764(0x28e)](()=>_0x3023b0[_0x5d2764(0x2fa)](_0x5d2764(0x21e),_0x55b3ef)));})[_0x1be760(0x296)](V['share']()),'message$':new V[(_0x1be760(0x2e3))](_0x5eb39a=>{const _0x3579f7=_0x1be760,_0x3ab534=_0x526b90=>_0x5eb39a[_0x3579f7(0x2d9)](_0x526b90);_0x3023b0[_0x3579f7(0x2af)](_0x3579f7(0x186),_0x3ab534),_0x1a95f1[_0x3579f7(0x270)](A[_0x3579f7(0x28e)](()=>_0x3023b0[_0x3579f7(0x2fa)]('message',_0x3ab534)));})[_0x1be760(0x296)](V['share']())};}catch(_0x4b1a57){return console[_0x1be760(0x21e)](_0x4b1a57),null;}}};ke=Wt([qt(0x0,A[_0x52b6f9(0x182)])],ke);var Gt=Object[_0x52b6f9(0x26a)],Vt=Object[_0x52b6f9(0x2ec)],Ht=(_0x48bdc0,_0x10d447,_0x1d916f)=>_0x10d447 in _0x48bdc0?Gt(_0x48bdc0,_0x10d447,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1d916f}):_0x48bdc0[_0x10d447]=_0x1d916f,zt=(_0x1c0027,_0xf88a22,_0x45f0ee,_0xf3bbb7)=>{for(var _0x4a9a2a=_0xf3bbb7>0x1?void 0x0:_0xf3bbb7?Vt(_0xf88a22,_0x45f0ee):_0xf88a22,_0x316160=_0x1c0027['length']-0x1,_0x32c8ea;_0x316160>=0x0;_0x316160--)(_0x32c8ea=_0x1c0027[_0x316160])&&(_0x4a9a2a=_0x32c8ea(_0x4a9a2a)||_0x4a9a2a);return _0x4a9a2a;},Ne=(_0x3ba1b8,_0x4c4f3a)=>(_0x3a11f1,_0x53e613)=>_0x4c4f3a(_0x3a11f1,_0x53e613,_0x3ba1b8),Yt=(_0x50479a,_0xb16e51,_0x55bef4)=>Ht(_0x50479a,_0xb16e51+'',_0x55bef4);exports[_0x52b6f9(0x237)]=class extends A['Plugin']{constructor(_0x1539d2=Ct,_0x1571cb,_0x1cd5dd,_0x4c597a){const _0x557fd9=_0x52b6f9;_0x1539d2[_0x557fd9(0x151)]||_0x1571cb[_0x557fd9(0x204)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this['_configService']=_0x1cd5dd,this['_injector']=_0x4c597a,this['_configService'][_0x557fd9(0x17e)](fe,_0x1539d2);}['onStarting'](){const _0x4bdf07=_0x52b6f9;this[_0x4bdf07(0x1c5)]();}[_0x52b6f9(0x1c5)](){const _0x3b98a8=_0x52b6f9;A[_0x3b98a8(0x264)](this[_0x3b98a8(0x255)],[[it[_0x3b98a8(0x1c9)],{'useClass':ke}]]);}},Yt(exports[_0x52b6f9(0x237)],'pluginName',_0x52b6f9(0x199)),exports[_0x52b6f9(0x237)]=zt([A[_0x52b6f9(0x2eb)](st[_0x52b6f9(0x173)]),Ne(0x1,A[_0x52b6f9(0x1cb)]),Ne(0x2,A[_0x52b6f9(0x182)]),Ne(0x3,A['Inject'](A[_0x52b6f9(0x14e)]))],exports['UniverCollaborationClientNodePlugin']);var Kt=Object[_0x52b6f9(0x2ec)],Xt=(_0x5429d3,_0x280c86,_0x17ec6b,_0x38fe83)=>{const _0x5805bc=_0x52b6f9;for(var _0x145a2a=_0x38fe83>0x1?void 0x0:_0x38fe83?Kt(_0x280c86,_0x17ec6b):_0x280c86,_0x35510d=_0x5429d3[_0x5805bc(0x1b4)]-0x1,_0x758710;_0x35510d>=0x0;_0x35510d--)(_0x758710=_0x5429d3[_0x35510d])&&(_0x145a2a=_0x758710(_0x145a2a)||_0x145a2a);return _0x145a2a;},ne=(_0x3501fd,_0x429e41)=>(_0x4a6e58,_0x35e2c3)=>_0x429e41(_0x4a6e58,_0x35e2c3,_0x3501fd);exports[_0x52b6f9(0x2c9)]=class extends st[_0x52b6f9(0x165)]{constructor(_0x5658e5,_0x26a6ee,_0x640b96,_0x175ac3,_0x5536d8){const _0x2d9f2f=_0x52b6f9;super(_0x5658e5,_0x26a6ee,_0x640b96,_0x175ac3,_0x5536d8);const _0x927790=this[_0x2d9f2f(0x21c)][_0x2d9f2f(0x2dd)](fe);this[_0x2d9f2f(0x1d8)][_0x2d9f2f(0x2ab)]({'interceptor':(_0x4a542c,_0x33e8a9)=>{const _0x27927a=_0x2d9f2f;var _0x456e08;const _0x473f94=_0x4a542c[_0x27927a(0x2e1)];return(_0x456e08=_0x927790==null?void 0x0:_0x927790[_0x27927a(0x151)])!=null&&_0x456e08[_0x27927a(0x197)]&&_0x473f94[_0x27927a(0x232)](_0x27927a(0x29b),_0x927790[_0x27927a(0x151)][_0x27927a(0x197)]),_0x33e8a9(_0x4a542c);}});}async[_0x52b6f9(0x2d8)](_0x5df737){const _0x54c055=_0x52b6f9;return this[_0x54c055(0x1b9)](_0x5df737);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A[_0x52b6f9(0x2a5)](A[_0x52b6f9(0x14e)])),ne(0x1,A[_0x52b6f9(0x2a5)](it[_0x52b6f9(0x298)])),ne(0x2,A['IConfigService']),ne(0x3,A[_0x52b6f9(0x1cb)]),ne(0x4,Ot[_0x52b6f9(0x16c)])],exports[_0x52b6f9(0x2c9)]),exports[_0x52b6f9(0x22f)]=fe;
1
+ 'use strict';function _0x3476(_0x40c664,_0x23c65b){const _0x5ecc08=_0x5ecc();return _0x3476=function(_0x34769c,_0x4a785e){_0x34769c=_0x34769c-0xe0;let _0x479ea8=_0x5ecc08[_0x34769c];return _0x479ea8;},_0x3476(_0x40c664,_0x23c65b);}const _0x24d147=_0x3476;(function(_0x300e9f,_0x117091){const _0x455a53=_0x3476,_0x1dbe77=_0x300e9f();while(!![]){try{const _0x17c8f0=-parseInt(_0x455a53(0x15a))/0x1*(-parseInt(_0x455a53(0xe3))/0x2)+-parseInt(_0x455a53(0x22a))/0x3+parseInt(_0x455a53(0x298))/0x4*(parseInt(_0x455a53(0x286))/0x5)+-parseInt(_0x455a53(0x24c))/0x6*(-parseInt(_0x455a53(0x115))/0x7)+parseInt(_0x455a53(0x22d))/0x8+parseInt(_0x455a53(0x1e4))/0x9+-parseInt(_0x455a53(0x230))/0xa*(parseInt(_0x455a53(0x123))/0xb);if(_0x17c8f0===_0x117091)break;else _0x1dbe77['push'](_0x1dbe77['shift']());}catch(_0x3353db){_0x1dbe77['push'](_0x1dbe77['shift']());}}}(_0x5ecc,0xb863f));Object[_0x24d147(0x1f7)](exports,Symbol[_0x24d147(0x1ee)],{'value':_0x24d147(0x129)});const st=require(_0x24d147(0x17d)),A=require(_0x24d147(0x2ad)),it=require(_0x24d147(0x1c9)),V=require(_0x24d147(0x16d)),nt=require(_0x24d147(0x1a6)),vt=require(_0x24d147(0xf7)),ot=require(_0x24d147(0x207)),St=require(_0x24d147(0x111)),Et=require(_0x24d147(0x1b0)),Le=require(_0x24d147(0x17c)),oe=require(_0x24d147(0x2ab)),xt=require('url'),bt=require(_0x24d147(0x1a1)),wt=require(_0x24d147(0x122)),Ot=require(_0x24d147(0x248)),fe=_0x24d147(0x2a4),Ct={'customHeaders':{}};function Tt(_0x44d7b){const _0x4ff321=_0x24d147;return _0x44d7b&&_0x44d7b[_0x4ff321(0x16b)]&&Object[_0x4ff321(0x20c)][_0x4ff321(0x235)]['call'](_0x44d7b,_0x4ff321(0x1cd))?_0x44d7b[_0x4ff321(0x1cd)]:_0x44d7b;}function at(_0x268d3e){const _0x142450=_0x24d147;if(Object['prototype']['hasOwnProperty']['call'](_0x268d3e,'__esModule'))return _0x268d3e;var _0xb293a7=_0x268d3e[_0x142450(0x1cd)];if(typeof _0xb293a7=='function'){var _0x2e3a6e=function _0x4bd1d8(){const _0x3a0cdd=_0x142450;return this instanceof _0x4bd1d8?Reflect[_0x3a0cdd(0x222)](_0xb293a7,arguments,this[_0x3a0cdd(0x245)]):_0xb293a7[_0x3a0cdd(0x220)](this,arguments);};_0x2e3a6e[_0x142450(0x20c)]=_0xb293a7[_0x142450(0x20c)];}else _0x2e3a6e={};return Object[_0x142450(0x1f7)](_0x2e3a6e,'__esModule',{'value':!0x0}),Object[_0x142450(0x29e)](_0x268d3e)[_0x142450(0x16e)](function(_0x2c9d17){const _0x5a5406=_0x142450;var _0xad0181=Object[_0x5a5406(0x29b)](_0x268d3e,_0x2c9d17);Object[_0x5a5406(0x1f7)](_0x2e3a6e,_0x2c9d17,_0xad0181[_0x5a5406(0x150)]?_0xad0181:{'enumerable':!0x0,'get':function(){return _0x268d3e[_0x2c9d17];}});}),_0x2e3a6e;}var se={'exports':{}},ge,Ge;function H(){const _0x530a31=_0x24d147;if(Ge)return ge;Ge=0x1;const _0x1c21b9=['nodebuffer',_0x530a31(0x12e),_0x530a31(0x25d)],_0x477f72=typeof Blob<'u';return _0x477f72&&_0x1c21b9[_0x530a31(0x1f8)](_0x530a31(0xff)),ge={'BINARY_TYPES':_0x1c21b9,'EMPTY_BUFFER':Buffer[_0x530a31(0xf2)](0x0),'GUID':_0x530a31(0x171),'hasBlob':_0x477f72,'kForOnEventAttribute':Symbol(_0x530a31(0x292)),'kListener':Symbol(_0x530a31(0x242)),'kStatusCode':Symbol(_0x530a31(0x1fd)),'kWebSocket':Symbol(_0x530a31(0x22e)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x24d147(0x2a3)](Object[_0x24d147(0x1f7)]({'__proto__':null,'default':Nt},Symbol['toStringTag'],{'value':_0x24d147(0x129)})),Lt=at(kt);var Ve;function ce(){const _0x5360e9=_0x24d147;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0x66573f}=H(),_0xde97c2=Buffer[Symbol[_0x5360e9(0xec)]];function _0x13819e(_0xd7e335,_0xdcde21){const _0x233052=_0x5360e9;if(_0xd7e335[_0x233052(0xf0)]===0x0)return _0x66573f;if(_0xd7e335[_0x233052(0xf0)]===0x1)return _0xd7e335[0x0];const _0x1e3356=Buffer[_0x233052(0x126)](_0xdcde21);let _0x2c1666=0x0;for(let _0x317788=0x0;_0x317788<_0xd7e335[_0x233052(0xf0)];_0x317788++){const _0x4aacbb=_0xd7e335[_0x317788];_0x1e3356['set'](_0x4aacbb,_0x2c1666),_0x2c1666+=_0x4aacbb['length'];}return _0x2c1666<_0xdcde21?new _0xde97c2(_0x1e3356[_0x233052(0x122)],_0x1e3356[_0x233052(0x1a7)],_0x2c1666):_0x1e3356;}function _0x575770(_0x9bb4e,_0x2d9a30,_0x231337,_0x2dfbce,_0x1149a9){for(let _0x119438=0x0;_0x119438<_0x1149a9;_0x119438++)_0x231337[_0x2dfbce+_0x119438]=_0x9bb4e[_0x119438]^_0x2d9a30[_0x119438&0x3];}function _0x561157(_0x48db14,_0x1f0f5f){const _0x50b192=_0x5360e9;for(let _0x454792=0x0;_0x454792<_0x48db14[_0x50b192(0xf0)];_0x454792++)_0x48db14[_0x454792]^=_0x1f0f5f[_0x454792&0x3];}function _0x51ed8e(_0x229361){const _0x2a374a=_0x5360e9;return _0x229361[_0x2a374a(0xf0)]===_0x229361[_0x2a374a(0x122)][_0x2a374a(0x228)]?_0x229361[_0x2a374a(0x122)]:_0x229361[_0x2a374a(0x122)][_0x2a374a(0x14c)](_0x229361['byteOffset'],_0x229361[_0x2a374a(0x1a7)]+_0x229361['length']);}function _0x2e96d2(_0x38e29c){const _0x321455=_0x5360e9;if(_0x2e96d2['readOnly']=!0x0,Buffer[_0x321455(0x29d)](_0x38e29c))return _0x38e29c;let _0x1461ce;return _0x38e29c instanceof ArrayBuffer?_0x1461ce=new _0xde97c2(_0x38e29c):ArrayBuffer['isView'](_0x38e29c)?_0x1461ce=new _0xde97c2(_0x38e29c[_0x321455(0x122)],_0x38e29c[_0x321455(0x1a7)],_0x38e29c['byteLength']):(_0x1461ce=Buffer[_0x321455(0xf1)](_0x38e29c),_0x2e96d2[_0x321455(0x237)]=!0x1),_0x1461ce;}if(se['exports']={'concat':_0x13819e,'mask':_0x575770,'toArrayBuffer':_0x51ed8e,'toBuffer':_0x2e96d2,'unmask':_0x561157},!process[_0x5360e9(0x284)][_0x5360e9(0x249)])try{const _0xd1f648=Lt;se[_0x5360e9(0x184)][_0x5360e9(0x28c)]=function(_0x13b13c,_0x35d349,_0x218b59,_0x21cd5a,_0x3a0990){_0x3a0990<0x30?_0x575770(_0x13b13c,_0x35d349,_0x218b59,_0x21cd5a,_0x3a0990):_0xd1f648['mask'](_0x13b13c,_0x35d349,_0x218b59,_0x21cd5a,_0x3a0990);},se[_0x5360e9(0x184)][_0x5360e9(0x18a)]=function(_0x176226,_0x3e3b7f){const _0x41e43d=_0x5360e9;_0x176226[_0x41e43d(0xf0)]<0x20?_0x561157(_0x176226,_0x3e3b7f):_0xd1f648[_0x41e43d(0x18a)](_0x176226,_0x3e3b7f);};}catch{}return se['exports'];}var ye,He;function Pt(){const _0x32245b=_0x24d147;if(He)return ye;He=0x1;const _0x29f7da=Symbol(_0x32245b(0x208)),_0x575613=Symbol('kRun');class _0x48ec6a{constructor(_0x1bc46f){const _0x5c5926=_0x32245b;this[_0x29f7da]=()=>{const _0x11aca6=_0x3476;this[_0x11aca6(0x26f)]--,this[_0x575613]();},this[_0x5c5926(0x1d4)]=_0x1bc46f||0x1/0x0,this[_0x5c5926(0x28a)]=[],this[_0x5c5926(0x26f)]=0x0;}[_0x32245b(0x114)](_0x2093fc){const _0x1de133=_0x32245b;this[_0x1de133(0x28a)][_0x1de133(0x1f8)](_0x2093fc),this[_0x575613]();}[_0x575613](){const _0x194f0c=_0x32245b;if(this['pending']!==this['concurrency']&&this[_0x194f0c(0x28a)][_0x194f0c(0xf0)]){const _0x5eacaa=this[_0x194f0c(0x28a)]['shift']();this['pending']++,_0x5eacaa(this[_0x29f7da]);}}}return ye=_0x48ec6a,ye;}var ve,ze;function he(){const _0x356fc8=_0x24d147;if(ze)return ve;ze=0x1;const _0x425538=bt,_0x1fdd40=ce(),_0x1a6678=Pt(),{kStatusCode:_0x20f00e}=H(),_0x552096=Buffer[Symbol[_0x356fc8(0xec)]],_0x4a06f0=Buffer[_0x356fc8(0xf1)]([0x0,0x0,0xff,0xff]),_0x37eb31=Symbol(_0x356fc8(0x216)),_0xbf533e=Symbol(_0x356fc8(0x2a0)),_0x268e86=Symbol('callback'),_0x3eef45=Symbol('buffers'),_0x4e976e=Symbol(_0x356fc8(0x101));let _0x492ad6;class _0x12b8e5{constructor(_0x22a145,_0xa7e1a6,_0x4490cc){const _0x10f1e2=_0x356fc8;if(this[_0x10f1e2(0x11b)]=_0x4490cc|0x0,this[_0x10f1e2(0x21d)]=_0x22a145||{},this[_0x10f1e2(0x108)]=this['_options'][_0x10f1e2(0x177)]!==void 0x0?this['_options'][_0x10f1e2(0x177)]:0x400,this[_0x10f1e2(0x18e)]=!!_0xa7e1a6,this['_deflate']=null,this[_0x10f1e2(0x19f)]=null,this[_0x10f1e2(0x1c0)]=null,!_0x492ad6){const _0x1c08c8=this['_options']['concurrencyLimit']!==void 0x0?this['_options'][_0x10f1e2(0x196)]:0xa;_0x492ad6=new _0x1a6678(_0x1c08c8);}}static get[_0x356fc8(0x26a)](){const _0x53e6b3=_0x356fc8;return _0x53e6b3(0x216);}['offer'](){const _0x3754ac=_0x356fc8,_0x595761={};return this['_options']['serverNoContextTakeover']&&(_0x595761['server_no_context_takeover']=!0x0),this[_0x3754ac(0x21d)]['clientNoContextTakeover']&&(_0x595761['client_no_context_takeover']=!0x0),this[_0x3754ac(0x21d)][_0x3754ac(0xee)]&&(_0x595761[_0x3754ac(0x142)]=this[_0x3754ac(0x21d)][_0x3754ac(0xee)]),this[_0x3754ac(0x21d)][_0x3754ac(0x199)]?_0x595761['client_max_window_bits']=this[_0x3754ac(0x21d)][_0x3754ac(0x199)]:this['_options'][_0x3754ac(0x199)]==null&&(_0x595761[_0x3754ac(0x27c)]=!0x0),_0x595761;}[_0x356fc8(0x1d0)](_0x1bf9a2){const _0xb35a8f=_0x356fc8;return _0x1bf9a2=this[_0xb35a8f(0x256)](_0x1bf9a2),this[_0xb35a8f(0x1c0)]=this[_0xb35a8f(0x18e)]?this[_0xb35a8f(0x15b)](_0x1bf9a2):this[_0xb35a8f(0x13d)](_0x1bf9a2),this[_0xb35a8f(0x1c0)];}[_0x356fc8(0x140)](){const _0x354c64=_0x356fc8;if(this[_0x354c64(0x19f)]&&(this[_0x354c64(0x19f)][_0x354c64(0x28e)](),this[_0x354c64(0x19f)]=null),this[_0x354c64(0x110)]){const _0xfd9c4=this[_0x354c64(0x110)][_0x268e86];this[_0x354c64(0x110)][_0x354c64(0x28e)](),this[_0x354c64(0x110)]=null,_0xfd9c4&&_0xfd9c4(new Error(_0x354c64(0x133)));}}[_0x356fc8(0x15b)](_0x5015ba){const _0x57c103=_0x356fc8,_0x54c9fc=this[_0x57c103(0x21d)],_0x3ea74f=_0x5015ba[_0x57c103(0x106)](_0x270561=>!(_0x54c9fc[_0x57c103(0x2a8)]===!0x1&&_0x270561['server_no_context_takeover']||_0x270561['server_max_window_bits']&&(_0x54c9fc['serverMaxWindowBits']===!0x1||typeof _0x54c9fc[_0x57c103(0xee)]=='number'&&_0x54c9fc['serverMaxWindowBits']>_0x270561[_0x57c103(0x142)])||typeof _0x54c9fc['clientMaxWindowBits']==_0x57c103(0x22c)&&!_0x270561[_0x57c103(0x27c)]));if(!_0x3ea74f)throw new Error(_0x57c103(0x102));return _0x54c9fc[_0x57c103(0x2a8)]&&(_0x3ea74f[_0x57c103(0xed)]=!0x0),_0x54c9fc[_0x57c103(0x1bc)]&&(_0x3ea74f[_0x57c103(0x11f)]=!0x0),typeof _0x54c9fc[_0x57c103(0xee)]==_0x57c103(0x22c)&&(_0x3ea74f[_0x57c103(0x142)]=_0x54c9fc['serverMaxWindowBits']),typeof _0x54c9fc[_0x57c103(0x199)]==_0x57c103(0x22c)?_0x3ea74f[_0x57c103(0x27c)]=_0x54c9fc[_0x57c103(0x199)]:(_0x3ea74f[_0x57c103(0x27c)]===!0x0||_0x54c9fc[_0x57c103(0x199)]===!0x1)&&delete _0x3ea74f['client_max_window_bits'],_0x3ea74f;}[_0x356fc8(0x13d)](_0x59e09d){const _0xb7f17f=_0x356fc8,_0x159b6b=_0x59e09d[0x0];if(this[_0xb7f17f(0x21d)][_0xb7f17f(0x1bc)]===!0x1&&_0x159b6b['client_no_context_takeover'])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x159b6b[_0xb7f17f(0x27c)])typeof this['_options'][_0xb7f17f(0x199)]==_0xb7f17f(0x22c)&&(_0x159b6b[_0xb7f17f(0x27c)]=this[_0xb7f17f(0x21d)][_0xb7f17f(0x199)]);else{if(this[_0xb7f17f(0x21d)][_0xb7f17f(0x199)]===!0x1||typeof this[_0xb7f17f(0x21d)]['clientMaxWindowBits']==_0xb7f17f(0x22c)&&_0x159b6b[_0xb7f17f(0x27c)]>this['_options'][_0xb7f17f(0x199)])throw new Error(_0xb7f17f(0x201));}return _0x159b6b;}[_0x356fc8(0x256)](_0x234363){return _0x234363['forEach'](_0x4f3e56=>{const _0x5807f8=_0x3476;Object[_0x5807f8(0x29e)](_0x4f3e56)[_0x5807f8(0x16e)](_0x320502=>{const _0x193f02=_0x5807f8;let _0xa66b54=_0x4f3e56[_0x320502];if(_0xa66b54[_0x193f02(0xf0)]>0x1)throw new Error(_0x193f02(0x218)+_0x320502+_0x193f02(0x13b));if(_0xa66b54=_0xa66b54[0x0],_0x320502===_0x193f02(0x27c)){if(_0xa66b54!==!0x0){const _0x441410=+_0xa66b54;if(!Number[_0x193f02(0x288)](_0x441410)||_0x441410<0x8||_0x441410>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x320502+_0x193f02(0x24f)+_0xa66b54);_0xa66b54=_0x441410;}else{if(!this[_0x193f02(0x18e)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x320502+_0x193f02(0x24f)+_0xa66b54);}}else{if(_0x320502===_0x193f02(0x142)){const _0x478cb8=+_0xa66b54;if(!Number[_0x193f02(0x288)](_0x478cb8)||_0x478cb8<0x8||_0x478cb8>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x320502+_0x193f02(0x24f)+_0xa66b54);_0xa66b54=_0x478cb8;}else{if(_0x320502===_0x193f02(0x11f)||_0x320502===_0x193f02(0xed)){if(_0xa66b54!==!0x0)throw new TypeError(_0x193f02(0x23d)+_0x320502+_0x193f02(0x24f)+_0xa66b54);}else throw new Error(_0x193f02(0xfa)+_0x320502+'\x22');}}_0x4f3e56[_0x320502]=_0xa66b54;});}),_0x234363;}['decompress'](_0x5b29c1,_0x363d5d,_0x33c35c){_0x492ad6['add'](_0x54e169=>{const _0x220187=_0x3476;this[_0x220187(0x147)](_0x5b29c1,_0x363d5d,(_0x5873e9,_0x34e001)=>{_0x54e169(),_0x33c35c(_0x5873e9,_0x34e001);});});}[_0x356fc8(0x179)](_0x31c877,_0x29414c,_0x2709c4){const _0x2a176f=_0x356fc8;_0x492ad6[_0x2a176f(0x114)](_0x110557=>{const _0x50aa08=_0x2a176f;this[_0x50aa08(0x21b)](_0x31c877,_0x29414c,(_0x28044d,_0x226ca6)=>{_0x110557(),_0x2709c4(_0x28044d,_0x226ca6);});});}[_0x356fc8(0x147)](_0x5ed592,_0x1b316a,_0x4e7ac1){const _0x4a7569=_0x356fc8,_0xb291e2=this[_0x4a7569(0x18e)]?_0x4a7569(0x254):_0x4a7569(0x209);if(!this[_0x4a7569(0x19f)]){const _0x5f3ce2=_0xb291e2+'_max_window_bits',_0x535c2e=typeof this['params'][_0x5f3ce2]!=_0x4a7569(0x22c)?_0x425538[_0x4a7569(0x157)]:this['params'][_0x5f3ce2];this[_0x4a7569(0x19f)]=_0x425538[_0x4a7569(0x194)]({...this[_0x4a7569(0x21d)]['zlibInflateOptions'],'windowBits':_0x535c2e}),this[_0x4a7569(0x19f)][_0x37eb31]=this,this[_0x4a7569(0x19f)][_0xbf533e]=0x0,this[_0x4a7569(0x19f)][_0x3eef45]=[],this[_0x4a7569(0x19f)]['on'](_0x4a7569(0x101),_0x457e40),this['_inflate']['on'](_0x4a7569(0x20e),_0x47c213);}this[_0x4a7569(0x19f)][_0x268e86]=_0x4e7ac1,this[_0x4a7569(0x19f)][_0x4a7569(0x224)](_0x5ed592),_0x1b316a&&this[_0x4a7569(0x19f)][_0x4a7569(0x224)](_0x4a06f0),this[_0x4a7569(0x19f)][_0x4a7569(0x2a6)](()=>{const _0x166e7d=_0x4a7569,_0x5394bc=this[_0x166e7d(0x19f)][_0x4e976e];if(_0x5394bc){this[_0x166e7d(0x19f)][_0x166e7d(0x28e)](),this[_0x166e7d(0x19f)]=null,_0x4e7ac1(_0x5394bc);return;}const _0x1651a4=_0x1fdd40[_0x166e7d(0x1e2)](this[_0x166e7d(0x19f)][_0x3eef45],this[_0x166e7d(0x19f)][_0xbf533e]);this[_0x166e7d(0x19f)]['_readableState'][_0x166e7d(0x1d9)]?(this[_0x166e7d(0x19f)][_0x166e7d(0x28e)](),this[_0x166e7d(0x19f)]=null):(this[_0x166e7d(0x19f)][_0xbf533e]=0x0,this['_inflate'][_0x3eef45]=[],_0x1b316a&&this['params'][_0xb291e2+'_no_context_takeover']&&this[_0x166e7d(0x19f)][_0x166e7d(0x192)]()),_0x4e7ac1(null,_0x1651a4);});}['_compress'](_0x37e50b,_0x2d8c16,_0x418a2c){const _0x441fe0=_0x356fc8,_0x1dff39=this[_0x441fe0(0x18e)]?'server':_0x441fe0(0x254);if(!this[_0x441fe0(0x110)]){const _0x2168ba=_0x1dff39+_0x441fe0(0x17f),_0xd09fdd=typeof this[_0x441fe0(0x1c0)][_0x2168ba]!=_0x441fe0(0x22c)?_0x425538['Z_DEFAULT_WINDOWBITS']:this[_0x441fe0(0x1c0)][_0x2168ba];this[_0x441fe0(0x110)]=_0x425538[_0x441fe0(0xfb)]({...this['_options'][_0x441fe0(0x212)],'windowBits':_0xd09fdd}),this['_deflate'][_0xbf533e]=0x0,this['_deflate'][_0x3eef45]=[],this[_0x441fe0(0x110)]['on'](_0x441fe0(0x20e),_0x5adab7);}this[_0x441fe0(0x110)][_0x268e86]=_0x418a2c,this[_0x441fe0(0x110)]['write'](_0x37e50b),this[_0x441fe0(0x110)][_0x441fe0(0x2a6)](_0x425538[_0x441fe0(0x159)],()=>{const _0x1e21a5=_0x441fe0;if(!this[_0x1e21a5(0x110)])return;let _0x5e3323=_0x1fdd40[_0x1e21a5(0x1e2)](this['_deflate'][_0x3eef45],this[_0x1e21a5(0x110)][_0xbf533e]);_0x2d8c16&&(_0x5e3323=new _0x552096(_0x5e3323[_0x1e21a5(0x122)],_0x5e3323[_0x1e21a5(0x1a7)],_0x5e3323[_0x1e21a5(0xf0)]-0x4)),this[_0x1e21a5(0x110)][_0x268e86]=null,this['_deflate'][_0xbf533e]=0x0,this[_0x1e21a5(0x110)][_0x3eef45]=[],_0x2d8c16&&this[_0x1e21a5(0x1c0)][_0x1dff39+'_no_context_takeover']&&this['_deflate']['reset'](),_0x418a2c(null,_0x5e3323);});}}ve=_0x12b8e5;function _0x5adab7(_0x151511){const _0x1a6783=_0x356fc8;this[_0x3eef45][_0x1a6783(0x1f8)](_0x151511),this[_0xbf533e]+=_0x151511['length'];}function _0x47c213(_0x5da126){const _0x4cad81=_0x356fc8;if(this[_0xbf533e]+=_0x5da126['length'],this[_0x37eb31][_0x4cad81(0x11b)]<0x1||this[_0xbf533e]<=this[_0x37eb31][_0x4cad81(0x11b)]){this[_0x3eef45][_0x4cad81(0x1f8)](_0x5da126);return;}this[_0x4e976e]=new RangeError(_0x4cad81(0x10b)),this[_0x4e976e][_0x4cad81(0x1b1)]=_0x4cad81(0x14d),this[_0x4e976e][_0x20f00e]=0x3f1,this[_0x4cad81(0x1a8)](_0x4cad81(0x20e),_0x47c213),this[_0x4cad81(0x192)]();}function _0x457e40(_0x530afd){const _0x216c87=_0x356fc8;this[_0x37eb31][_0x216c87(0x19f)]=null,_0x530afd[_0x20f00e]=0x3ef,this[_0x268e86](_0x530afd);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x24d147(0x2a3)](Object[_0x24d147(0x1f7)]({'__proto__':null,'default':Dt},Symbol[_0x24d147(0x1ee)],{'value':_0x24d147(0x129)})),Bt=at(Rt);var Ye;function ae(){const _0x28ac04=_0x24d147;if(Ye)return ie[_0x28ac04(0x184)];Ye=0x1;const {isUtf8:_0x2dbe02}=wt,{hasBlob:_0xf3ddf7}=H(),_0x5f2ca3=[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 _0x37e21f(_0x5d1798){return _0x5d1798>=0x3e8&&_0x5d1798<=0x3f6&&_0x5d1798!==0x3ec&&_0x5d1798!==0x3ed&&_0x5d1798!==0x3ee||_0x5d1798>=0xbb8&&_0x5d1798<=0x1387;}function _0xddbd0f(_0x5bca69){const _0x4ec46c=_0x28ac04,_0x15dd34=_0x5bca69[_0x4ec46c(0xf0)];let _0x14ddd5=0x0;for(;_0x14ddd5<_0x15dd34;)if((_0x5bca69[_0x14ddd5]&0x80)===0x0)_0x14ddd5++;else{if((_0x5bca69[_0x14ddd5]&0xe0)===0xc0){if(_0x14ddd5+0x1===_0x15dd34||(_0x5bca69[_0x14ddd5+0x1]&0xc0)!==0x80||(_0x5bca69[_0x14ddd5]&0xfe)===0xc0)return!0x1;_0x14ddd5+=0x2;}else{if((_0x5bca69[_0x14ddd5]&0xf0)===0xe0){if(_0x14ddd5+0x2>=_0x15dd34||(_0x5bca69[_0x14ddd5+0x1]&0xc0)!==0x80||(_0x5bca69[_0x14ddd5+0x2]&0xc0)!==0x80||_0x5bca69[_0x14ddd5]===0xe0&&(_0x5bca69[_0x14ddd5+0x1]&0xe0)===0x80||_0x5bca69[_0x14ddd5]===0xed&&(_0x5bca69[_0x14ddd5+0x1]&0xe0)===0xa0)return!0x1;_0x14ddd5+=0x3;}else{if((_0x5bca69[_0x14ddd5]&0xf8)===0xf0){if(_0x14ddd5+0x3>=_0x15dd34||(_0x5bca69[_0x14ddd5+0x1]&0xc0)!==0x80||(_0x5bca69[_0x14ddd5+0x2]&0xc0)!==0x80||(_0x5bca69[_0x14ddd5+0x3]&0xc0)!==0x80||_0x5bca69[_0x14ddd5]===0xf0&&(_0x5bca69[_0x14ddd5+0x1]&0xf0)===0x80||_0x5bca69[_0x14ddd5]===0xf4&&_0x5bca69[_0x14ddd5+0x1]>0x8f||_0x5bca69[_0x14ddd5]>0xf4)return!0x1;_0x14ddd5+=0x4;}else return!0x1;}}}return!0x0;}function _0x75bdf4(_0x5a294d){const _0x1ef210=_0x28ac04;return _0xf3ddf7&&typeof _0x5a294d=='object'&&typeof _0x5a294d[_0x1ef210(0x180)]==_0x1ef210(0x14e)&&typeof _0x5a294d[_0x1ef210(0x271)]=='string'&&typeof _0x5a294d[_0x1ef210(0x2ab)]=='function'&&(_0x5a294d[Symbol['toStringTag']]===_0x1ef210(0x23c)||_0x5a294d[Symbol[_0x1ef210(0x1ee)]]===_0x1ef210(0x1a2));}if(ie[_0x28ac04(0x184)]={'isBlob':_0x75bdf4,'isValidStatusCode':_0x37e21f,'isValidUTF8':_0xddbd0f,'tokenChars':_0x5f2ca3},_0x2dbe02)ie[_0x28ac04(0x184)]['isValidUTF8']=function(_0x26233a){const _0x156e87=_0x28ac04;return _0x26233a[_0x156e87(0xf0)]<0x18?_0xddbd0f(_0x26233a):_0x2dbe02(_0x26233a);};else{if(!process[_0x28ac04(0x284)][_0x28ac04(0x144)])try{const _0x300108=Bt;ie['exports'][_0x28ac04(0x1de)]=function(_0x46c573){const _0x748881=_0x28ac04;return _0x46c573[_0x748881(0xf0)]<0x20?_0xddbd0f(_0x46c573):_0x300108(_0x46c573);};}catch{}}return ie[_0x28ac04(0x184)];}var Se,Ke;function lt(){const _0x5101c7=_0x24d147;if(Ke)return Se;Ke=0x1;const {Writable:_0x5c8440}=oe,_0x3a2a47=he(),{BINARY_TYPES:_0x547f3a,EMPTY_BUFFER:_0x22d2b1,kStatusCode:_0x26256b,kWebSocket:_0x490d93}=H(),{concat:_0x23c62f,toArrayBuffer:_0x4bb8c9,unmask:_0x221586}=ce(),{isValidStatusCode:_0x27a370,isValidUTF8:_0x316a78}=ae(),_0x5f0880=Buffer[Symbol[_0x5101c7(0xec)]],_0x3cf8a9=0x0,_0x20d613=0x1,_0x242c28=0x2,_0x3986d0=0x3,_0x36b213=0x4,_0x17abd9=0x5,_0x1df961=0x6;class _0x2d1be6 extends _0x5c8440{constructor(_0x30ec87={}){const _0x3fad71=_0x5101c7;super(),this[_0x3fad71(0x1fa)]=_0x30ec87[_0x3fad71(0x24b)]!==void 0x0?_0x30ec87[_0x3fad71(0x24b)]:!0x0,this['_binaryType']=_0x30ec87['binaryType']||_0x547f3a[0x0],this[_0x3fad71(0x11c)]=_0x30ec87[_0x3fad71(0x210)]||{},this[_0x3fad71(0x18e)]=!!_0x30ec87[_0x3fad71(0x166)],this[_0x3fad71(0x11b)]=_0x30ec87[_0x3fad71(0x231)]|0x0,this['_skipUTF8Validation']=!!_0x30ec87[_0x3fad71(0x28b)],this[_0x490d93]=void 0x0,this[_0x3fad71(0xe2)]=0x0,this[_0x3fad71(0x113)]=[],this['_compressed']=!0x1,this[_0x3fad71(0x278)]=0x0,this['_mask']=void 0x0,this[_0x3fad71(0x1ed)]=0x0,this[_0x3fad71(0x227)]=!0x1,this[_0x3fad71(0x266)]=!0x1,this[_0x3fad71(0xf6)]=0x0,this['_totalPayloadLength']=0x0,this[_0x3fad71(0x107)]=0x0,this[_0x3fad71(0x1b5)]=[],this[_0x3fad71(0x274)]=!0x1,this[_0x3fad71(0x1be)]=!0x1,this[_0x3fad71(0x22b)]=_0x3cf8a9;}[_0x5101c7(0x1f3)](_0x18701e,_0x46bfee,_0x1d2cf3){const _0x462908=_0x5101c7;if(this[_0x462908(0xf6)]===0x8&&this[_0x462908(0x22b)]==_0x3cf8a9)return _0x1d2cf3();this[_0x462908(0xe2)]+=_0x18701e[_0x462908(0xf0)],this[_0x462908(0x113)][_0x462908(0x1f8)](_0x18701e),this[_0x462908(0x1b3)](_0x1d2cf3);}[_0x5101c7(0x130)](_0x12dd9f){const _0x25297c=_0x5101c7;if(this['_bufferedBytes']-=_0x12dd9f,_0x12dd9f===this[_0x25297c(0x113)][0x0][_0x25297c(0xf0)])return this[_0x25297c(0x113)][_0x25297c(0x10c)]();if(_0x12dd9f<this[_0x25297c(0x113)][0x0]['length']){const _0x86bb03=this[_0x25297c(0x113)][0x0];return this['_buffers'][0x0]=new _0x5f0880(_0x86bb03[_0x25297c(0x122)],_0x86bb03[_0x25297c(0x1a7)]+_0x12dd9f,_0x86bb03['length']-_0x12dd9f),new _0x5f0880(_0x86bb03[_0x25297c(0x122)],_0x86bb03[_0x25297c(0x1a7)],_0x12dd9f);}const _0xf5af7c=Buffer[_0x25297c(0x126)](_0x12dd9f);do{const _0x3236f1=this['_buffers'][0x0],_0x212046=_0xf5af7c[_0x25297c(0xf0)]-_0x12dd9f;_0x12dd9f>=_0x3236f1[_0x25297c(0xf0)]?_0xf5af7c[_0x25297c(0x279)](this['_buffers']['shift'](),_0x212046):(_0xf5af7c[_0x25297c(0x279)](new Uint8Array(_0x3236f1['buffer'],_0x3236f1[_0x25297c(0x1a7)],_0x12dd9f),_0x212046),this['_buffers'][0x0]=new _0x5f0880(_0x3236f1[_0x25297c(0x122)],_0x3236f1['byteOffset']+_0x12dd9f,_0x3236f1[_0x25297c(0xf0)]-_0x12dd9f)),_0x12dd9f-=_0x3236f1[_0x25297c(0xf0)];}while(_0x12dd9f>0x0);return _0xf5af7c;}[_0x5101c7(0x1b3)](_0x147de3){const _0x1072d2=_0x5101c7;this[_0x1072d2(0x1be)]=!0x0;do switch(this[_0x1072d2(0x22b)]){case _0x3cf8a9:this[_0x1072d2(0x2b0)](_0x147de3);break;case _0x20d613:this[_0x1072d2(0x116)](_0x147de3);break;case _0x242c28:this[_0x1072d2(0xea)](_0x147de3);break;case _0x3986d0:this[_0x1072d2(0x10f)]();break;case _0x36b213:this[_0x1072d2(0x1ce)](_0x147de3);break;case _0x17abd9:case _0x1df961:this[_0x1072d2(0x1be)]=!0x1;return;}while(this[_0x1072d2(0x1be)]);this[_0x1072d2(0x274)]||_0x147de3();}[_0x5101c7(0x2b0)](_0x4cf8f0){const _0x421954=_0x5101c7;if(this[_0x421954(0xe2)]<0x2){this[_0x421954(0x1be)]=!0x1;return;}const _0x40441a=this['consume'](0x2);if((_0x40441a[0x0]&0x30)!==0x0){const _0x3d5f4b=this[_0x421954(0x165)](RangeError,_0x421954(0x2af),!0x0,0x3ea,_0x421954(0x260));_0x4cf8f0(_0x3d5f4b);return;}const _0x1e627f=(_0x40441a[0x0]&0x40)===0x40;if(_0x1e627f&&!this[_0x421954(0x11c)][_0x3a2a47[_0x421954(0x26a)]]){const _0xe00190=this[_0x421954(0x165)](RangeError,_0x421954(0x1cf),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x4cf8f0(_0xe00190);return;}if(this['_fin']=(_0x40441a[0x0]&0x80)===0x80,this['_opcode']=_0x40441a[0x0]&0xf,this['_payloadLength']=_0x40441a[0x1]&0x7f,this[_0x421954(0xf6)]===0x0){if(_0x1e627f){const _0x44414c=this[_0x421954(0x165)](RangeError,_0x421954(0x1cf),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x4cf8f0(_0x44414c);return;}if(!this['_fragmented']){const _0x206cb8=this[_0x421954(0x165)](RangeError,_0x421954(0x15e),!0x0,0x3ea,_0x421954(0x15d));_0x4cf8f0(_0x206cb8);return;}this['_opcode']=this[_0x421954(0x1ed)];}else{if(this[_0x421954(0xf6)]===0x1||this[_0x421954(0xf6)]===0x2){if(this['_fragmented']){const _0x2ebe85=this[_0x421954(0x165)](RangeError,'invalid\x20opcode\x20'+this[_0x421954(0xf6)],!0x0,0x3ea,_0x421954(0x15d));_0x4cf8f0(_0x2ebe85);return;}this[_0x421954(0x11d)]=_0x1e627f;}else{if(this[_0x421954(0xf6)]>0x7&&this['_opcode']<0xb){if(!this[_0x421954(0x266)]){const _0x207bf0=this[_0x421954(0x165)](RangeError,_0x421954(0xe7),!0x0,0x3ea,_0x421954(0x18d));_0x4cf8f0(_0x207bf0);return;}if(_0x1e627f){const _0x4eabfb=this[_0x421954(0x165)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x421954(0x1ba));_0x4cf8f0(_0x4eabfb);return;}if(this[_0x421954(0x278)]>0x7d||this[_0x421954(0xf6)]===0x8&&this[_0x421954(0x278)]===0x1){const _0x1a76b5=this['createError'](RangeError,'invalid\x20payload\x20length\x20'+this[_0x421954(0x278)],!0x0,0x3ea,_0x421954(0xfc));_0x4cf8f0(_0x1a76b5);return;}}else{const _0x32c7de=this[_0x421954(0x165)](RangeError,_0x421954(0x1cc)+this[_0x421954(0xf6)],!0x0,0x3ea,_0x421954(0x15d));_0x4cf8f0(_0x32c7de);return;}}}if(!this['_fin']&&!this[_0x421954(0x1ed)]&&(this['_fragmented']=this[_0x421954(0xf6)]),this[_0x421954(0x227)]=(_0x40441a[0x1]&0x80)===0x80,this[_0x421954(0x18e)]){if(!this['_masked']){const _0x5e4a7=this[_0x421954(0x165)](RangeError,_0x421954(0x119),!0x0,0x3ea,_0x421954(0x265));_0x4cf8f0(_0x5e4a7);return;}}else{if(this[_0x421954(0x227)]){const _0x3dfe4c=this['createError'](RangeError,_0x421954(0x293),!0x0,0x3ea,_0x421954(0x11a));_0x4cf8f0(_0x3dfe4c);return;}}this[_0x421954(0x278)]===0x7e?this[_0x421954(0x22b)]=_0x20d613:this['_payloadLength']===0x7f?this[_0x421954(0x22b)]=_0x242c28:this['haveLength'](_0x4cf8f0);}[_0x5101c7(0x116)](_0x44395e){const _0x2e56be=_0x5101c7;if(this[_0x2e56be(0xe2)]<0x2){this[_0x2e56be(0x1be)]=!0x1;return;}this[_0x2e56be(0x278)]=this['consume'](0x2)['readUInt16BE'](0x0),this[_0x2e56be(0x1aa)](_0x44395e);}[_0x5101c7(0xea)](_0x416d21){const _0x2853fb=_0x5101c7;if(this[_0x2853fb(0xe2)]<0x8){this[_0x2853fb(0x1be)]=!0x1;return;}const _0x3e0f92=this[_0x2853fb(0x130)](0x8),_0x367ef6=_0x3e0f92[_0x2853fb(0x13e)](0x0);if(_0x367ef6>Math[_0x2853fb(0x160)](0x2,0x15)-0x1){const _0x17978f=this[_0x2853fb(0x165)](RangeError,_0x2853fb(0x137),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x416d21(_0x17978f);return;}this['_payloadLength']=_0x367ef6*Math[_0x2853fb(0x160)](0x2,0x20)+_0x3e0f92[_0x2853fb(0x13e)](0x4),this[_0x2853fb(0x1aa)](_0x416d21);}[_0x5101c7(0x1aa)](_0x5b803d){const _0x37e505=_0x5101c7;if(this[_0x37e505(0x278)]&&this[_0x37e505(0xf6)]<0x8&&(this[_0x37e505(0x1ca)]+=this[_0x37e505(0x278)],this[_0x37e505(0x1ca)]>this[_0x37e505(0x11b)]&&this['_maxPayload']>0x0)){const _0xaf0a76=this['createError'](RangeError,_0x37e505(0x10b),!0x1,0x3f1,_0x37e505(0x14d));_0x5b803d(_0xaf0a76);return;}this['_masked']?this['_state']=_0x3986d0:this[_0x37e505(0x22b)]=_0x36b213;}['getMask'](){const _0x24bd17=_0x5101c7;if(this[_0x24bd17(0xe2)]<0x4){this[_0x24bd17(0x1be)]=!0x1;return;}this['_mask']=this[_0x24bd17(0x130)](0x4),this[_0x24bd17(0x22b)]=_0x36b213;}[_0x5101c7(0x1ce)](_0x293181){const _0x502f0f=_0x5101c7;let _0x30be32=_0x22d2b1;if(this[_0x502f0f(0x278)]){if(this['_bufferedBytes']<this[_0x502f0f(0x278)]){this[_0x502f0f(0x1be)]=!0x1;return;}_0x30be32=this['consume'](this[_0x502f0f(0x278)]),this['_masked']&&(this[_0x502f0f(0x145)][0x0]|this[_0x502f0f(0x145)][0x1]|this[_0x502f0f(0x145)][0x2]|this['_mask'][0x3])!==0x0&&_0x221586(_0x30be32,this[_0x502f0f(0x145)]);}if(this[_0x502f0f(0xf6)]>0x7){this[_0x502f0f(0x182)](_0x30be32,_0x293181);return;}if(this[_0x502f0f(0x11d)]){this[_0x502f0f(0x22b)]=_0x17abd9,this[_0x502f0f(0x17a)](_0x30be32,_0x293181);return;}_0x30be32[_0x502f0f(0xf0)]&&(this[_0x502f0f(0x107)]=this[_0x502f0f(0x1ca)],this['_fragments'][_0x502f0f(0x1f8)](_0x30be32)),this['dataMessage'](_0x293181);}['decompress'](_0x8303a6,_0x30c845){const _0x311f15=_0x5101c7;this[_0x311f15(0x11c)][_0x3a2a47[_0x311f15(0x26a)]][_0x311f15(0x17a)](_0x8303a6,this[_0x311f15(0x266)],(_0x487f87,_0x5d945c)=>{const _0x5a4d6b=_0x311f15;if(_0x487f87)return _0x30c845(_0x487f87);if(_0x5d945c[_0x5a4d6b(0xf0)]){if(this[_0x5a4d6b(0x107)]+=_0x5d945c['length'],this[_0x5a4d6b(0x107)]>this['_maxPayload']&&this[_0x5a4d6b(0x11b)]>0x0){const _0x30be7c=this['createError'](RangeError,_0x5a4d6b(0x10b),!0x1,0x3f1,_0x5a4d6b(0x14d));_0x30c845(_0x30be7c);return;}this[_0x5a4d6b(0x1b5)][_0x5a4d6b(0x1f8)](_0x5d945c);}this[_0x5a4d6b(0x132)](_0x30c845),this[_0x5a4d6b(0x22b)]===_0x3cf8a9&&this[_0x5a4d6b(0x1b3)](_0x30c845);});}['dataMessage'](_0x24d039){const _0x358eb5=_0x5101c7;if(!this[_0x358eb5(0x266)]){this['_state']=_0x3cf8a9;return;}const _0x4f4e59=this[_0x358eb5(0x107)],_0x3beaa8=this[_0x358eb5(0x1b5)];if(this['_totalPayloadLength']=0x0,this['_messageLength']=0x0,this['_fragmented']=0x0,this[_0x358eb5(0x1b5)]=[],this['_opcode']===0x2){let _0x281f56;this[_0x358eb5(0x1e7)]===_0x358eb5(0x14a)?_0x281f56=_0x23c62f(_0x3beaa8,_0x4f4e59):this[_0x358eb5(0x1e7)]===_0x358eb5(0x12e)?_0x281f56=_0x4bb8c9(_0x23c62f(_0x3beaa8,_0x4f4e59)):this[_0x358eb5(0x1e7)]===_0x358eb5(0xff)?_0x281f56=new Blob(_0x3beaa8):_0x281f56=_0x3beaa8,this['_allowSynchronousEvents']?(this[_0x358eb5(0x262)](_0x358eb5(0x183),_0x281f56,!0x0),this[_0x358eb5(0x22b)]=_0x3cf8a9):(this[_0x358eb5(0x22b)]=_0x1df961,setImmediate(()=>{const _0x2dc6e5=_0x358eb5;this[_0x2dc6e5(0x262)]('message',_0x281f56,!0x0),this[_0x2dc6e5(0x22b)]=_0x3cf8a9,this[_0x2dc6e5(0x1b3)](_0x24d039);}));}else{const _0x23a491=_0x23c62f(_0x3beaa8,_0x4f4e59);if(!this['_skipUTF8Validation']&&!_0x316a78(_0x23a491)){const _0x5cb402=this[_0x358eb5(0x165)](Error,_0x358eb5(0x20d),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x24d039(_0x5cb402);return;}this[_0x358eb5(0x22b)]===_0x17abd9||this[_0x358eb5(0x1fa)]?(this[_0x358eb5(0x262)](_0x358eb5(0x183),_0x23a491,!0x1),this[_0x358eb5(0x22b)]=_0x3cf8a9):(this[_0x358eb5(0x22b)]=_0x1df961,setImmediate(()=>{const _0x5abd54=_0x358eb5;this[_0x5abd54(0x262)](_0x5abd54(0x183),_0x23a491,!0x1),this['_state']=_0x3cf8a9,this[_0x5abd54(0x1b3)](_0x24d039);}));}}[_0x5101c7(0x182)](_0x78cf47,_0x116c30){const _0x1886b1=_0x5101c7;if(this['_opcode']===0x8){if(_0x78cf47['length']===0x0)this['_loop']=!0x1,this['emit']('conclude',0x3ed,_0x22d2b1),this[_0x1886b1(0x2b1)]();else{const _0x1ca918=_0x78cf47['readUInt16BE'](0x0);if(!_0x27a370(_0x1ca918)){const _0x596c71=this[_0x1886b1(0x165)](RangeError,_0x1886b1(0x244)+_0x1ca918,!0x0,0x3ea,_0x1886b1(0x24d));_0x116c30(_0x596c71);return;}const _0x1385ba=new _0x5f0880(_0x78cf47[_0x1886b1(0x122)],_0x78cf47[_0x1886b1(0x1a7)]+0x2,_0x78cf47[_0x1886b1(0xf0)]-0x2);if(!this['_skipUTF8Validation']&&!_0x316a78(_0x1385ba)){const _0x1e6bd5=this['createError'](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x1886b1(0x202));_0x116c30(_0x1e6bd5);return;}this[_0x1886b1(0x1be)]=!0x1,this[_0x1886b1(0x262)]('conclude',_0x1ca918,_0x1385ba),this[_0x1886b1(0x2b1)]();}this['_state']=_0x3cf8a9;return;}this['_allowSynchronousEvents']?(this[_0x1886b1(0x262)](this[_0x1886b1(0xf6)]===0x9?'ping':_0x1886b1(0x238),_0x78cf47),this[_0x1886b1(0x22b)]=_0x3cf8a9):(this[_0x1886b1(0x22b)]=_0x1df961,setImmediate(()=>{const _0x1b1bc2=_0x1886b1;this['emit'](this[_0x1b1bc2(0xf6)]===0x9?'ping':_0x1b1bc2(0x238),_0x78cf47),this['_state']=_0x3cf8a9,this[_0x1b1bc2(0x1b3)](_0x116c30);}));}[_0x5101c7(0x165)](_0x4162fb,_0x4c3404,_0x405d05,_0x2cb107,_0x4fe4df){const _0xd8fe75=_0x5101c7;this[_0xd8fe75(0x1be)]=!0x1,this[_0xd8fe75(0x274)]=!0x0;const _0x1544c9=new _0x4162fb(_0x405d05?_0xd8fe75(0x193)+_0x4c3404:_0x4c3404);return Error[_0xd8fe75(0x1af)](_0x1544c9,this[_0xd8fe75(0x165)]),_0x1544c9['code']=_0x4fe4df,_0x1544c9[_0x26256b]=_0x2cb107,_0x1544c9;}}return Se=_0x2d1be6,Se;}var Ee,Xe;function ft(){const _0x261e7f=_0x24d147;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x23d5ea}=oe,{randomFillSync:_0x593bdc}=Le,_0x55d643=he(),{EMPTY_BUFFER:_0x2f26ce,kWebSocket:_0x3ba69f,NOOP:_0x43ef21}=H(),{isBlob:_0x221891,isValidStatusCode:_0x48bc6f}=ae(),{mask:_0x6bd292,toBuffer:_0x2c82fe}=ce(),_0x31c200=Symbol(_0x261e7f(0x297)),_0x506ce8=Buffer[_0x261e7f(0xf2)](0x4),_0x5851c1=0x8*0x400;let _0x289c9e,_0x2cfa92=_0x5851c1;const _0x34ed05=0x0,_0x68d361=0x1,_0x30d708=0x2;class _0x14f317{constructor(_0x26b0dc,_0x164325,_0x7e6ae8){const _0x5d00fb=_0x261e7f;this['_extensions']=_0x164325||{},_0x7e6ae8&&(this[_0x5d00fb(0x1b2)]=_0x7e6ae8,this[_0x5d00fb(0x1ea)]=Buffer[_0x5d00fb(0xf2)](0x4)),this[_0x5d00fb(0x27a)]=_0x26b0dc,this[_0x5d00fb(0x103)]=!0x0,this[_0x5d00fb(0x21b)]=!0x1,this[_0x5d00fb(0xe2)]=0x0,this[_0x5d00fb(0x1dd)]=[],this['_state']=_0x34ed05,this[_0x5d00fb(0x205)]=_0x43ef21,this[_0x3ba69f]=void 0x0;}static[_0x261e7f(0x268)](_0x2f5ec8,_0x36efe7){const _0x52f6c6=_0x261e7f;let _0xb769f1,_0xdc96e6=!0x1,_0x4d7ca2=0x2,_0xdf7c1b=!0x1;_0x36efe7['mask']&&(_0xb769f1=_0x36efe7[_0x52f6c6(0x13a)]||_0x506ce8,_0x36efe7['generateMask']?_0x36efe7[_0x52f6c6(0x20a)](_0xb769f1):(_0x2cfa92===_0x5851c1&&(_0x289c9e===void 0x0&&(_0x289c9e=Buffer[_0x52f6c6(0xf2)](_0x5851c1)),_0x593bdc(_0x289c9e,0x0,_0x5851c1),_0x2cfa92=0x0),_0xb769f1[0x0]=_0x289c9e[_0x2cfa92++],_0xb769f1[0x1]=_0x289c9e[_0x2cfa92++],_0xb769f1[0x2]=_0x289c9e[_0x2cfa92++],_0xb769f1[0x3]=_0x289c9e[_0x2cfa92++]),_0xdf7c1b=(_0xb769f1[0x0]|_0xb769f1[0x1]|_0xb769f1[0x2]|_0xb769f1[0x3])===0x0,_0x4d7ca2=0x6);let _0x3d6f72;typeof _0x2f5ec8==_0x52f6c6(0x2aa)?(!_0x36efe7[_0x52f6c6(0x28c)]||_0xdf7c1b)&&_0x36efe7[_0x31c200]!==void 0x0?_0x3d6f72=_0x36efe7[_0x31c200]:(_0x2f5ec8=Buffer[_0x52f6c6(0xf1)](_0x2f5ec8),_0x3d6f72=_0x2f5ec8[_0x52f6c6(0xf0)]):(_0x3d6f72=_0x2f5ec8[_0x52f6c6(0xf0)],_0xdc96e6=_0x36efe7[_0x52f6c6(0x28c)]&&_0x36efe7[_0x52f6c6(0x237)]&&!_0xdf7c1b);let _0x268a31=_0x3d6f72;_0x3d6f72>=0x10000?(_0x4d7ca2+=0x8,_0x268a31=0x7f):_0x3d6f72>0x7d&&(_0x4d7ca2+=0x2,_0x268a31=0x7e);const _0x38c521=Buffer[_0x52f6c6(0x126)](_0xdc96e6?_0x3d6f72+_0x4d7ca2:_0x4d7ca2);return _0x38c521[0x0]=_0x36efe7[_0x52f6c6(0x250)]?_0x36efe7['opcode']|0x80:_0x36efe7[_0x52f6c6(0x168)],_0x36efe7[_0x52f6c6(0x25f)]&&(_0x38c521[0x0]|=0x40),_0x38c521[0x1]=_0x268a31,_0x268a31===0x7e?_0x38c521['writeUInt16BE'](_0x3d6f72,0x2):_0x268a31===0x7f&&(_0x38c521[0x2]=_0x38c521[0x3]=0x0,_0x38c521[_0x52f6c6(0x272)](_0x3d6f72,0x4,0x6)),_0x36efe7['mask']?(_0x38c521[0x1]|=0x80,_0x38c521[_0x4d7ca2-0x4]=_0xb769f1[0x0],_0x38c521[_0x4d7ca2-0x3]=_0xb769f1[0x1],_0x38c521[_0x4d7ca2-0x2]=_0xb769f1[0x2],_0x38c521[_0x4d7ca2-0x1]=_0xb769f1[0x3],_0xdf7c1b?[_0x38c521,_0x2f5ec8]:_0xdc96e6?(_0x6bd292(_0x2f5ec8,_0xb769f1,_0x38c521,_0x4d7ca2,_0x3d6f72),[_0x38c521]):(_0x6bd292(_0x2f5ec8,_0xb769f1,_0x2f5ec8,0x0,_0x3d6f72),[_0x38c521,_0x2f5ec8])):[_0x38c521,_0x2f5ec8];}['close'](_0x5d71f5,_0x17093e,_0x8e0f67,_0x2785dc){const _0x3f21e0=_0x261e7f;let _0x5efb90;if(_0x5d71f5===void 0x0)_0x5efb90=_0x2f26ce;else{if(typeof _0x5d71f5!='number'||!_0x48bc6f(_0x5d71f5))throw new TypeError(_0x3f21e0(0x215));if(_0x17093e===void 0x0||!_0x17093e['length'])_0x5efb90=Buffer[_0x3f21e0(0x126)](0x2),_0x5efb90['writeUInt16BE'](_0x5d71f5,0x0);else{const _0x47fc7c=Buffer[_0x3f21e0(0x228)](_0x17093e);if(_0x47fc7c>0x7b)throw new RangeError(_0x3f21e0(0x100));_0x5efb90=Buffer['allocUnsafe'](0x2+_0x47fc7c),_0x5efb90['writeUInt16BE'](_0x5d71f5,0x0),typeof _0x17093e=='string'?_0x5efb90[_0x3f21e0(0x224)](_0x17093e,0x2):_0x5efb90['set'](_0x17093e,0x2);}}const _0xcb5500={[_0x31c200]:_0x5efb90[_0x3f21e0(0xf0)],'fin':!0x0,'generateMask':this[_0x3f21e0(0x1b2)],'mask':_0x8e0f67,'maskBuffer':this[_0x3f21e0(0x1ea)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x3f21e0(0x22b)]!==_0x34ed05?this[_0x3f21e0(0x1da)]([this['dispatch'],_0x5efb90,!0x1,_0xcb5500,_0x2785dc]):this['sendFrame'](_0x14f317[_0x3f21e0(0x268)](_0x5efb90,_0xcb5500),_0x2785dc);}['ping'](_0x1606ad,_0x19d78a,_0x469eef){const _0x172a23=_0x261e7f;let _0x2faf8a,_0x35086b;if(typeof _0x1606ad==_0x172a23(0x2aa)?(_0x2faf8a=Buffer['byteLength'](_0x1606ad),_0x35086b=!0x1):_0x221891(_0x1606ad)?(_0x2faf8a=_0x1606ad[_0x172a23(0x109)],_0x35086b=!0x1):(_0x1606ad=_0x2c82fe(_0x1606ad),_0x2faf8a=_0x1606ad[_0x172a23(0xf0)],_0x35086b=_0x2c82fe[_0x172a23(0x237)]),_0x2faf8a>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0xff4bc7={[_0x31c200]:_0x2faf8a,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x19d78a,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x35086b,'rsv1':!0x1};_0x221891(_0x1606ad)?this[_0x172a23(0x22b)]!==_0x34ed05?this[_0x172a23(0x1da)]([this['getBlobData'],_0x1606ad,!0x1,_0xff4bc7,_0x469eef]):this[_0x172a23(0x1fc)](_0x1606ad,!0x1,_0xff4bc7,_0x469eef):this[_0x172a23(0x22b)]!==_0x34ed05?this[_0x172a23(0x1da)]([this[_0x172a23(0x188)],_0x1606ad,!0x1,_0xff4bc7,_0x469eef]):this[_0x172a23(0x118)](_0x14f317[_0x172a23(0x268)](_0x1606ad,_0xff4bc7),_0x469eef);}[_0x261e7f(0x238)](_0x20e077,_0x82eda7,_0x5dc573){const _0x4688ac=_0x261e7f;let _0x2661f6,_0x4be0dd;if(typeof _0x20e077==_0x4688ac(0x2aa)?(_0x2661f6=Buffer[_0x4688ac(0x228)](_0x20e077),_0x4be0dd=!0x1):_0x221891(_0x20e077)?(_0x2661f6=_0x20e077[_0x4688ac(0x109)],_0x4be0dd=!0x1):(_0x20e077=_0x2c82fe(_0x20e077),_0x2661f6=_0x20e077['length'],_0x4be0dd=_0x2c82fe['readOnly']),_0x2661f6>0x7d)throw new RangeError(_0x4688ac(0x229));const _0xf055f={[_0x31c200]:_0x2661f6,'fin':!0x0,'generateMask':this[_0x4688ac(0x1b2)],'mask':_0x82eda7,'maskBuffer':this[_0x4688ac(0x1ea)],'opcode':0xa,'readOnly':_0x4be0dd,'rsv1':!0x1};_0x221891(_0x20e077)?this[_0x4688ac(0x22b)]!==_0x34ed05?this[_0x4688ac(0x1da)]([this['getBlobData'],_0x20e077,!0x1,_0xf055f,_0x5dc573]):this[_0x4688ac(0x1fc)](_0x20e077,!0x1,_0xf055f,_0x5dc573):this[_0x4688ac(0x22b)]!==_0x34ed05?this['enqueue']([this[_0x4688ac(0x188)],_0x20e077,!0x1,_0xf055f,_0x5dc573]):this['sendFrame'](_0x14f317['frame'](_0x20e077,_0xf055f),_0x5dc573);}['send'](_0x252f37,_0x51481f,_0x5bc8e5){const _0x25502a=_0x261e7f,_0x1b388=this['_extensions'][_0x55d643['extensionName']];let _0x245cca=_0x51481f[_0x25502a(0x277)]?0x2:0x1,_0x3a00dd=_0x51481f[_0x25502a(0x179)],_0x3bd6d9,_0x5a7747;typeof _0x252f37==_0x25502a(0x2aa)?(_0x3bd6d9=Buffer[_0x25502a(0x228)](_0x252f37),_0x5a7747=!0x1):_0x221891(_0x252f37)?(_0x3bd6d9=_0x252f37[_0x25502a(0x109)],_0x5a7747=!0x1):(_0x252f37=_0x2c82fe(_0x252f37),_0x3bd6d9=_0x252f37['length'],_0x5a7747=_0x2c82fe[_0x25502a(0x237)]),this[_0x25502a(0x103)]?(this[_0x25502a(0x103)]=!0x1,_0x3a00dd&&_0x1b388&&_0x1b388[_0x25502a(0x1c0)][_0x1b388['_isServer']?_0x25502a(0xed):_0x25502a(0x11f)]&&(_0x3a00dd=_0x3bd6d9>=_0x1b388[_0x25502a(0x108)]),this[_0x25502a(0x21b)]=_0x3a00dd):(_0x3a00dd=!0x1,_0x245cca=0x0),_0x51481f['fin']&&(this[_0x25502a(0x103)]=!0x0);const _0x51a83a={[_0x31c200]:_0x3bd6d9,'fin':_0x51481f[_0x25502a(0x250)],'generateMask':this['_generateMask'],'mask':_0x51481f[_0x25502a(0x28c)],'maskBuffer':this[_0x25502a(0x1ea)],'opcode':_0x245cca,'readOnly':_0x5a7747,'rsv1':_0x3a00dd};_0x221891(_0x252f37)?this[_0x25502a(0x22b)]!==_0x34ed05?this[_0x25502a(0x1da)]([this['getBlobData'],_0x252f37,this[_0x25502a(0x21b)],_0x51a83a,_0x5bc8e5]):this[_0x25502a(0x1fc)](_0x252f37,this[_0x25502a(0x21b)],_0x51a83a,_0x5bc8e5):this[_0x25502a(0x22b)]!==_0x34ed05?this[_0x25502a(0x1da)]([this['dispatch'],_0x252f37,this[_0x25502a(0x21b)],_0x51a83a,_0x5bc8e5]):this[_0x25502a(0x188)](_0x252f37,this[_0x25502a(0x21b)],_0x51a83a,_0x5bc8e5);}[_0x261e7f(0x1fc)](_0x222f67,_0x28994a,_0x462222,_0x3996e0){const _0x760627=_0x261e7f;this[_0x760627(0xe2)]+=_0x462222[_0x31c200],this[_0x760627(0x22b)]=_0x30d708,_0x222f67[_0x760627(0x180)]()[_0x760627(0x243)](_0x2646ff=>{const _0x5af16f=_0x760627;if(this[_0x5af16f(0x27a)][_0x5af16f(0x1e8)]){const _0x412071=new Error(_0x5af16f(0x1d1));process[_0x5af16f(0x29f)](_0x537b56,this,_0x412071,_0x3996e0);return;}this[_0x5af16f(0xe2)]-=_0x462222[_0x31c200];const _0x122d62=_0x2c82fe(_0x2646ff);_0x28994a?this[_0x5af16f(0x188)](_0x122d62,_0x28994a,_0x462222,_0x3996e0):(this[_0x5af16f(0x22b)]=_0x34ed05,this[_0x5af16f(0x118)](_0x14f317[_0x5af16f(0x268)](_0x122d62,_0x462222),_0x3996e0),this[_0x5af16f(0x1c2)]());})['catch'](_0x552d65=>{const _0x2e4d36=_0x760627;process[_0x2e4d36(0x29f)](_0x6712c6,this,_0x552d65,_0x3996e0);});}[_0x261e7f(0x188)](_0x34db5a,_0x5894a5,_0x38cce8,_0x5a6df8){const _0x2b317a=_0x261e7f;if(!_0x5894a5){this[_0x2b317a(0x118)](_0x14f317[_0x2b317a(0x268)](_0x34db5a,_0x38cce8),_0x5a6df8);return;}const _0x1df476=this['_extensions'][_0x55d643[_0x2b317a(0x26a)]];this[_0x2b317a(0xe2)]+=_0x38cce8[_0x31c200],this[_0x2b317a(0x22b)]=_0x68d361,_0x1df476[_0x2b317a(0x179)](_0x34db5a,_0x38cce8['fin'],(_0xfdf442,_0x2e5c66)=>{const _0x3180be=_0x2b317a;if(this['_socket'][_0x3180be(0x1e8)]){const _0x33c645=new Error(_0x3180be(0x158));_0x537b56(this,_0x33c645,_0x5a6df8);return;}this[_0x3180be(0xe2)]-=_0x38cce8[_0x31c200],this['_state']=_0x34ed05,_0x38cce8[_0x3180be(0x237)]=!0x1,this[_0x3180be(0x118)](_0x14f317['frame'](_0x2e5c66,_0x38cce8),_0x5a6df8),this['dequeue']();});}['dequeue'](){const _0x59207c=_0x261e7f;for(;this[_0x59207c(0x22b)]===_0x34ed05&&this[_0x59207c(0x1dd)]['length'];){const _0x503c1b=this[_0x59207c(0x1dd)][_0x59207c(0x10c)]();this[_0x59207c(0xe2)]-=_0x503c1b[0x3][_0x31c200],Reflect[_0x59207c(0x220)](_0x503c1b[0x0],this,_0x503c1b[_0x59207c(0x14c)](0x1));}}[_0x261e7f(0x1da)](_0x5e200c){const _0x38a49d=_0x261e7f;this[_0x38a49d(0xe2)]+=_0x5e200c[0x3][_0x31c200],this[_0x38a49d(0x1dd)][_0x38a49d(0x1f8)](_0x5e200c);}['sendFrame'](_0x235c97,_0x42405a){const _0x14dd58=_0x261e7f;_0x235c97[_0x14dd58(0xf0)]===0x2?(this['_socket']['cork'](),this[_0x14dd58(0x27a)]['write'](_0x235c97[0x0]),this[_0x14dd58(0x27a)][_0x14dd58(0x224)](_0x235c97[0x1],_0x42405a),this[_0x14dd58(0x27a)]['uncork']()):this['_socket'][_0x14dd58(0x224)](_0x235c97[0x0],_0x42405a);}}Ee=_0x14f317;function _0x537b56(_0x2f0346,_0x5f46dd,_0x1bd42f){const _0x15db70=_0x261e7f;typeof _0x1bd42f==_0x15db70(0x14e)&&_0x1bd42f(_0x5f46dd);for(let _0xba8ee6=0x0;_0xba8ee6<_0x2f0346[_0x15db70(0x1dd)][_0x15db70(0xf0)];_0xba8ee6++){const _0xaa699f=_0x2f0346[_0x15db70(0x1dd)][_0xba8ee6],_0x5d94dc=_0xaa699f[_0xaa699f['length']-0x1];typeof _0x5d94dc=='function'&&_0x5d94dc(_0x5f46dd);}}function _0x6712c6(_0x36d9a6,_0x4ce209,_0x4f19c9){const _0x5d5d1b=_0x261e7f;_0x537b56(_0x36d9a6,_0x4ce209,_0x4f19c9),_0x36d9a6[_0x5d5d1b(0x205)](_0x4ce209);}return Ee;}var xe,Ze;function It(){const _0x470f3d=_0x24d147;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x2be4e6,kListener:_0x393ecc}=H(),_0xe2870b=Symbol(_0x470f3d(0x176)),_0x45d3a2=Symbol('kData'),_0x15a720=Symbol('kError'),_0x107c42=Symbol(_0x470f3d(0x2a9)),_0x3286af=Symbol(_0x470f3d(0x1bd)),_0x5d0f87=Symbol(_0x470f3d(0x1a4)),_0x12123c=Symbol(_0x470f3d(0x1e5)),_0x446153=Symbol(_0x470f3d(0x27d));class _0x52c204{constructor(_0x301fac){this[_0x5d0f87]=null,this[_0x12123c]=_0x301fac;}get[_0x470f3d(0x1df)](){return this[_0x5d0f87];}get[_0x470f3d(0x271)](){return this[_0x12123c];}}Object[_0x470f3d(0x1f7)](_0x52c204['prototype'],_0x470f3d(0x1df),{'enumerable':!0x0}),Object[_0x470f3d(0x1f7)](_0x52c204[_0x470f3d(0x20c)],'type',{'enumerable':!0x0});class _0x314edc extends _0x52c204{constructor(_0x5cacaf,_0x486438={}){const _0x1e7553=_0x470f3d;super(_0x5cacaf),this[_0xe2870b]=_0x486438[_0x1e7553(0x1b1)]===void 0x0?0x0:_0x486438[_0x1e7553(0x1b1)],this[_0x3286af]=_0x486438['reason']===void 0x0?'':_0x486438[_0x1e7553(0x204)],this[_0x446153]=_0x486438[_0x1e7553(0x21e)]===void 0x0?!0x1:_0x486438['wasClean'];}get['code'](){return this[_0xe2870b];}get['reason'](){return this[_0x3286af];}get['wasClean'](){return this[_0x446153];}}Object[_0x470f3d(0x1f7)](_0x314edc['prototype'],'code',{'enumerable':!0x0}),Object['defineProperty'](_0x314edc[_0x470f3d(0x20c)],'reason',{'enumerable':!0x0}),Object[_0x470f3d(0x1f7)](_0x314edc[_0x470f3d(0x20c)],_0x470f3d(0x21e),{'enumerable':!0x0});class _0x297151 extends _0x52c204{constructor(_0x499ef3,_0x39cf3e={}){const _0x5931a6=_0x470f3d;super(_0x499ef3),this[_0x15a720]=_0x39cf3e[_0x5931a6(0x101)]===void 0x0?null:_0x39cf3e[_0x5931a6(0x101)],this[_0x107c42]=_0x39cf3e[_0x5931a6(0x183)]===void 0x0?'':_0x39cf3e[_0x5931a6(0x183)];}get[_0x470f3d(0x101)](){return this[_0x15a720];}get[_0x470f3d(0x183)](){return this[_0x107c42];}}Object[_0x470f3d(0x1f7)](_0x297151[_0x470f3d(0x20c)],_0x470f3d(0x101),{'enumerable':!0x0}),Object[_0x470f3d(0x1f7)](_0x297151[_0x470f3d(0x20c)],_0x470f3d(0x183),{'enumerable':!0x0});class _0xc225fc extends _0x52c204{constructor(_0x662a6d,_0x444c7a={}){const _0x15a8bb=_0x470f3d;super(_0x662a6d),this[_0x45d3a2]=_0x444c7a[_0x15a8bb(0x20e)]===void 0x0?null:_0x444c7a[_0x15a8bb(0x20e)];}get[_0x470f3d(0x20e)](){return this[_0x45d3a2];}}Object[_0x470f3d(0x1f7)](_0xc225fc[_0x470f3d(0x20c)],_0x470f3d(0x20e),{'enumerable':!0x0}),xe={'CloseEvent':_0x314edc,'ErrorEvent':_0x297151,'Event':_0x52c204,'EventTarget':{'addEventListener'(_0x2878da,_0x4cdbe3,_0x33e2cb={}){const _0x50986d=_0x470f3d;for(const _0x32c70d of this[_0x50986d(0x191)](_0x2878da))if(!_0x33e2cb[_0x2be4e6]&&_0x32c70d[_0x393ecc]===_0x4cdbe3&&!_0x32c70d[_0x2be4e6])return;let _0x105689;if(_0x2878da===_0x50986d(0x183))_0x105689=function(_0x72a718,_0x52950d){const _0x5d853f=_0x50986d,_0x5bfb74=new _0xc225fc(_0x5d853f(0x183),{'data':_0x52950d?_0x72a718:_0x72a718[_0x5d853f(0x198)]()});_0x5bfb74[_0x5d0f87]=this,_0x3bb62c(_0x4cdbe3,this,_0x5bfb74);};else{if(_0x2878da===_0x50986d(0x28e))_0x105689=function(_0x88c26,_0x599f74){const _0xaa20db=_0x50986d,_0x3b8e2b=new _0x314edc(_0xaa20db(0x28e),{'code':_0x88c26,'reason':_0x599f74[_0xaa20db(0x198)](),'wasClean':this['_closeFrameReceived']&&this[_0xaa20db(0x1e1)]});_0x3b8e2b[_0x5d0f87]=this,_0x3bb62c(_0x4cdbe3,this,_0x3b8e2b);};else{if(_0x2878da===_0x50986d(0x101))_0x105689=function(_0x3e8f0e){const _0x3b1f1e=_0x50986d,_0x50bc10=new _0x297151(_0x3b1f1e(0x101),{'error':_0x3e8f0e,'message':_0x3e8f0e[_0x3b1f1e(0x183)]});_0x50bc10[_0x5d0f87]=this,_0x3bb62c(_0x4cdbe3,this,_0x50bc10);};else{if(_0x2878da===_0x50986d(0x1c5))_0x105689=function(){const _0x2e2cb8=_0x50986d,_0x4931bd=new _0x52c204(_0x2e2cb8(0x1c5));_0x4931bd[_0x5d0f87]=this,_0x3bb62c(_0x4cdbe3,this,_0x4931bd);};else return;}}}_0x105689[_0x2be4e6]=!!_0x33e2cb[_0x2be4e6],_0x105689[_0x393ecc]=_0x4cdbe3,_0x33e2cb['once']?this[_0x50986d(0x241)](_0x2878da,_0x105689):this['on'](_0x2878da,_0x105689);},'removeEventListener'(_0x409f34,_0x1de29a){const _0x28db26=_0x470f3d;for(const _0x45372f of this[_0x28db26(0x191)](_0x409f34))if(_0x45372f[_0x393ecc]===_0x1de29a&&!_0x45372f[_0x2be4e6]){this[_0x28db26(0x1a8)](_0x409f34,_0x45372f);break;}}},'MessageEvent':_0xc225fc};function _0x3bb62c(_0xa09695,_0x83e614,_0x45c018){const _0x16aad9=_0x470f3d;typeof _0xa09695=='object'&&_0xa09695[_0x16aad9(0x28f)]?_0xa09695['handleEvent'][_0x16aad9(0x21f)](_0xa09695,_0x45c018):_0xa09695[_0x16aad9(0x21f)](_0x83e614,_0x45c018);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x4927b6}=ae();function _0x24a7f2(_0x5b7c93,_0x2e0872,_0x5a831c){_0x5b7c93[_0x2e0872]===void 0x0?_0x5b7c93[_0x2e0872]=[_0x5a831c]:_0x5b7c93[_0x2e0872]['push'](_0x5a831c);}function _0x4e7843(_0x4d25ee){const _0x17b8fd=_0x3476,_0x30146a=Object[_0x17b8fd(0x24a)](null);let _0x3bc2e9=Object[_0x17b8fd(0x24a)](null),_0x4195bb=!0x1,_0xaeef00=!0x1,_0x1f2486=!0x1,_0x2e9f99,_0x3c1722,_0x126f51=-0x1,_0x551f1b=-0x1,_0x31ba90=-0x1,_0x405f4f=0x0;for(;_0x405f4f<_0x4d25ee[_0x17b8fd(0xf0)];_0x405f4f++)if(_0x551f1b=_0x4d25ee[_0x17b8fd(0x26b)](_0x405f4f),_0x2e9f99===void 0x0){if(_0x31ba90===-0x1&&_0x4927b6[_0x551f1b]===0x1)_0x126f51===-0x1&&(_0x126f51=_0x405f4f);else{if(_0x405f4f!==0x0&&(_0x551f1b===0x20||_0x551f1b===0x9))_0x31ba90===-0x1&&_0x126f51!==-0x1&&(_0x31ba90=_0x405f4f);else{if(_0x551f1b===0x3b||_0x551f1b===0x2c){if(_0x126f51===-0x1)throw new SyntaxError(_0x17b8fd(0xe9)+_0x405f4f);_0x31ba90===-0x1&&(_0x31ba90=_0x405f4f);const _0x5a3a02=_0x4d25ee[_0x17b8fd(0x14c)](_0x126f51,_0x31ba90);_0x551f1b===0x2c?(_0x24a7f2(_0x30146a,_0x5a3a02,_0x3bc2e9),_0x3bc2e9=Object[_0x17b8fd(0x24a)](null)):_0x2e9f99=_0x5a3a02,_0x126f51=_0x31ba90=-0x1;}else throw new SyntaxError(_0x17b8fd(0xe9)+_0x405f4f);}}}else{if(_0x3c1722===void 0x0){if(_0x31ba90===-0x1&&_0x4927b6[_0x551f1b]===0x1)_0x126f51===-0x1&&(_0x126f51=_0x405f4f);else{if(_0x551f1b===0x20||_0x551f1b===0x9)_0x31ba90===-0x1&&_0x126f51!==-0x1&&(_0x31ba90=_0x405f4f);else{if(_0x551f1b===0x3b||_0x551f1b===0x2c){if(_0x126f51===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x405f4f);_0x31ba90===-0x1&&(_0x31ba90=_0x405f4f),_0x24a7f2(_0x3bc2e9,_0x4d25ee[_0x17b8fd(0x14c)](_0x126f51,_0x31ba90),!0x0),_0x551f1b===0x2c&&(_0x24a7f2(_0x30146a,_0x2e9f99,_0x3bc2e9),_0x3bc2e9=Object[_0x17b8fd(0x24a)](null),_0x2e9f99=void 0x0),_0x126f51=_0x31ba90=-0x1;}else{if(_0x551f1b===0x3d&&_0x126f51!==-0x1&&_0x31ba90===-0x1)_0x3c1722=_0x4d25ee['slice'](_0x126f51,_0x405f4f),_0x126f51=_0x31ba90=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x405f4f);}}}}else{if(_0xaeef00){if(_0x4927b6[_0x551f1b]!==0x1)throw new SyntaxError(_0x17b8fd(0xe9)+_0x405f4f);_0x126f51===-0x1?_0x126f51=_0x405f4f:_0x4195bb||(_0x4195bb=!0x0),_0xaeef00=!0x1;}else{if(_0x1f2486){if(_0x4927b6[_0x551f1b]===0x1)_0x126f51===-0x1&&(_0x126f51=_0x405f4f);else{if(_0x551f1b===0x22&&_0x126f51!==-0x1)_0x1f2486=!0x1,_0x31ba90=_0x405f4f;else{if(_0x551f1b===0x5c)_0xaeef00=!0x0;else throw new SyntaxError(_0x17b8fd(0xe9)+_0x405f4f);}}}else{if(_0x551f1b===0x22&&_0x4d25ee[_0x17b8fd(0x26b)](_0x405f4f-0x1)===0x3d)_0x1f2486=!0x0;else{if(_0x31ba90===-0x1&&_0x4927b6[_0x551f1b]===0x1)_0x126f51===-0x1&&(_0x126f51=_0x405f4f);else{if(_0x126f51!==-0x1&&(_0x551f1b===0x20||_0x551f1b===0x9))_0x31ba90===-0x1&&(_0x31ba90=_0x405f4f);else{if(_0x551f1b===0x3b||_0x551f1b===0x2c){if(_0x126f51===-0x1)throw new SyntaxError(_0x17b8fd(0xe9)+_0x405f4f);_0x31ba90===-0x1&&(_0x31ba90=_0x405f4f);let _0x3d16ab=_0x4d25ee[_0x17b8fd(0x14c)](_0x126f51,_0x31ba90);_0x4195bb&&(_0x3d16ab=_0x3d16ab[_0x17b8fd(0x164)](/\\/g,''),_0x4195bb=!0x1),_0x24a7f2(_0x3bc2e9,_0x3c1722,_0x3d16ab),_0x551f1b===0x2c&&(_0x24a7f2(_0x30146a,_0x2e9f99,_0x3bc2e9),_0x3bc2e9=Object[_0x17b8fd(0x24a)](null),_0x2e9f99=void 0x0),_0x3c1722=void 0x0,_0x126f51=_0x31ba90=-0x1;}else throw new SyntaxError(_0x17b8fd(0xe9)+_0x405f4f);}}}}}}}if(_0x126f51===-0x1||_0x1f2486||_0x551f1b===0x20||_0x551f1b===0x9)throw new SyntaxError(_0x17b8fd(0x1c3));_0x31ba90===-0x1&&(_0x31ba90=_0x405f4f);const _0x24f5e9=_0x4d25ee['slice'](_0x126f51,_0x31ba90);return _0x2e9f99===void 0x0?_0x24a7f2(_0x30146a,_0x24f5e9,_0x3bc2e9):(_0x3c1722===void 0x0?_0x24a7f2(_0x3bc2e9,_0x24f5e9,!0x0):_0x4195bb?_0x24a7f2(_0x3bc2e9,_0x3c1722,_0x24f5e9[_0x17b8fd(0x164)](/\\/g,'')):_0x24a7f2(_0x3bc2e9,_0x3c1722,_0x24f5e9),_0x24a7f2(_0x30146a,_0x2e9f99,_0x3bc2e9)),_0x30146a;}function _0x41353e(_0x3851dd){const _0x4a62cf=_0x3476;return Object[_0x4a62cf(0x29e)](_0x3851dd)[_0x4a62cf(0x18f)](_0x5890fd=>{const _0x17e331=_0x4a62cf;let _0x9c3970=_0x3851dd[_0x5890fd];return Array[_0x17e331(0x153)](_0x9c3970)||(_0x9c3970=[_0x9c3970]),_0x9c3970['map'](_0x1b7be1=>[_0x5890fd][_0x17e331(0x1e2)](Object[_0x17e331(0x29e)](_0x1b7be1)['map'](_0x5e9e77=>{const _0x511959=_0x17e331;let _0x574700=_0x1b7be1[_0x5e9e77];return Array['isArray'](_0x574700)||(_0x574700=[_0x574700]),_0x574700[_0x511959(0x18f)](_0x38d3cf=>_0x38d3cf===!0x0?_0x5e9e77:_0x5e9e77+'='+_0x38d3cf)[_0x511959(0x225)](';\x20');}))[_0x17e331(0x225)](';\x20'))[_0x17e331(0x225)](',\x20');})[_0x4a62cf(0x225)](',\x20');}return be={'format':_0x41353e,'parse':_0x4e7843},be;}var we,Je;function Pe(){const _0x2fc473=_0x24d147;if(Je)return we;Je=0x1;const _0x1e1240=nt,_0x4193ea=vt,_0x32cf74=ot,_0x4a094c=St,_0x131502=Et,{randomBytes:_0x33a4cf,createHash:_0x549a16}=Le,{Duplex:_0x2514c2,Readable:_0x306373}=oe,{URL:_0x4b6ff2}=xt,_0x32e281=he(),_0x31f47a=lt(),_0x208b20=ft(),{isBlob:_0x357be0}=ae(),{BINARY_TYPES:_0x304b46,EMPTY_BUFFER:_0x34e8ae,GUID:_0x51f626,kForOnEventAttribute:_0x4dca03,kListener:_0x806515,kStatusCode:_0x13a08c,kWebSocket:_0x277cb0,NOOP:_0x46a9e7}=H(),{EventTarget:{addEventListener:_0x5918a1,removeEventListener:_0x594a18}}=It(),{format:_0x56b169,parse:_0x497103}=ct(),{toBuffer:_0x428b82}=ce(),_0x15106f=0x1e*0x3e8,_0x3288ea=Symbol('kAborted'),_0x380c0d=[0x8,0xd],_0x5714ba=['CONNECTING',_0x2fc473(0x1b8),_0x2fc473(0x17e),'CLOSED'],_0x337bf9=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x50df56 extends _0x1e1240{constructor(_0x100e39,_0x30faa0,_0x13c316){const _0x528ef1=_0x2fc473;super(),this[_0x528ef1(0x1e7)]=_0x304b46[0x0],this[_0x528ef1(0x1f6)]=0x3ee,this[_0x528ef1(0x25a)]=!0x1,this[_0x528ef1(0x1e1)]=!0x1,this[_0x528ef1(0x1f2)]=_0x34e8ae,this['_closeTimer']=null,this[_0x528ef1(0x26d)]=!0x1,this[_0x528ef1(0x11c)]={},this[_0x528ef1(0x155)]=!0x1,this[_0x528ef1(0x253)]='',this['_readyState']=_0x50df56['CONNECTING'],this[_0x528ef1(0x19b)]=null,this[_0x528ef1(0x1dc)]=null,this[_0x528ef1(0x27a)]=null,_0x100e39!==null?(this['_bufferedAmount']=0x0,this[_0x528ef1(0x18e)]=!0x1,this[_0x528ef1(0x1d5)]=0x0,_0x30faa0===void 0x0?_0x30faa0=[]:Array[_0x528ef1(0x153)](_0x30faa0)||(typeof _0x30faa0=='object'&&_0x30faa0!==null?(_0x13c316=_0x30faa0,_0x30faa0=[]):_0x30faa0=[_0x30faa0]),_0x72d8c8(this,_0x100e39,_0x30faa0,_0x13c316)):(this[_0x528ef1(0xfe)]=_0x13c316[_0x528ef1(0x195)],this[_0x528ef1(0x18e)]=!0x0);}get['binaryType'](){return this['_binaryType'];}set[_0x2fc473(0x287)](_0x339e80){const _0x30e50f=_0x2fc473;_0x304b46[_0x30e50f(0x151)](_0x339e80)&&(this[_0x30e50f(0x1e7)]=_0x339e80,this[_0x30e50f(0x19b)]&&(this['_receiver']['_binaryType']=_0x339e80));}get['bufferedAmount'](){const _0x4e142b=_0x2fc473;return this[_0x4e142b(0x27a)]?this[_0x4e142b(0x27a)][_0x4e142b(0x185)][_0x4e142b(0xf0)]+this[_0x4e142b(0x1dc)][_0x4e142b(0xe2)]:this['_bufferedAmount'];}get[_0x2fc473(0x210)](){const _0x29d489=_0x2fc473;return Object['keys'](this['_extensions'])[_0x29d489(0x225)]();}get[_0x2fc473(0x221)](){const _0x4ea00d=_0x2fc473;return this[_0x4ea00d(0x155)];}get[_0x2fc473(0x12c)](){return null;}get[_0x2fc473(0x205)](){return null;}get['onopen'](){return null;}get[_0x2fc473(0x267)](){return null;}get[_0x2fc473(0x1ec)](){return this['_protocol'];}get[_0x2fc473(0x1c1)](){const _0x37e29f=_0x2fc473;return this[_0x37e29f(0x2b2)];}get[_0x2fc473(0xfd)](){const _0x116005=_0x2fc473;return this[_0x116005(0x1d3)];}['setSocket'](_0x372bb8,_0x40b6d6,_0x2b7b0a){const _0x1cbb56=_0x2fc473,_0x1a85cc=new _0x31f47a({'allowSynchronousEvents':_0x2b7b0a[_0x1cbb56(0x24b)],'binaryType':this[_0x1cbb56(0x287)],'extensions':this['_extensions'],'isServer':this['_isServer'],'maxPayload':_0x2b7b0a[_0x1cbb56(0x231)],'skipUTF8Validation':_0x2b7b0a[_0x1cbb56(0x28b)]}),_0x51d642=new _0x208b20(_0x372bb8,this[_0x1cbb56(0x11c)],_0x2b7b0a['generateMask']);this[_0x1cbb56(0x19b)]=_0x1a85cc,this[_0x1cbb56(0x1dc)]=_0x51d642,this[_0x1cbb56(0x27a)]=_0x372bb8,_0x1a85cc[_0x277cb0]=this,_0x51d642[_0x277cb0]=this,_0x372bb8[_0x277cb0]=this,_0x1a85cc['on'](_0x1cbb56(0x12d),_0x4af169),_0x1a85cc['on'](_0x1cbb56(0x27b),_0x32cf07),_0x1a85cc['on'](_0x1cbb56(0x101),_0x3df10e),_0x1a85cc['on']('message',_0x198697),_0x1a85cc['on'](_0x1cbb56(0x1d6),_0x5aeb20),_0x1a85cc['on']('pong',_0x42880a),_0x51d642['onerror']=_0xeea1bf,_0x372bb8['setTimeout']&&_0x372bb8[_0x1cbb56(0x1c4)](0x0),_0x372bb8['setNoDelay']&&_0x372bb8[_0x1cbb56(0x156)](),_0x40b6d6[_0x1cbb56(0xf0)]>0x0&&_0x372bb8[_0x1cbb56(0x112)](_0x40b6d6),_0x372bb8['on'](_0x1cbb56(0x28e),_0x7bf2e9),_0x372bb8['on'](_0x1cbb56(0x20e),_0x300f26),_0x372bb8['on'](_0x1cbb56(0x2b1),_0x1a3de1),_0x372bb8['on'](_0x1cbb56(0x101),_0x28806f),this[_0x1cbb56(0x2b2)]=_0x50df56[_0x1cbb56(0x1b8)],this[_0x1cbb56(0x262)](_0x1cbb56(0x1c5));}[_0x2fc473(0x1cb)](){const _0x2b3d76=_0x2fc473;if(!this[_0x2b3d76(0x27a)]){this[_0x2b3d76(0x2b2)]=_0x50df56['CLOSED'],this[_0x2b3d76(0x262)](_0x2b3d76(0x28e),this[_0x2b3d76(0x1f6)],this[_0x2b3d76(0x1f2)]);return;}this[_0x2b3d76(0x11c)][_0x32e281['extensionName']]&&this[_0x2b3d76(0x11c)][_0x32e281[_0x2b3d76(0x26a)]][_0x2b3d76(0x140)](),this[_0x2b3d76(0x19b)][_0x2b3d76(0x1c6)](),this[_0x2b3d76(0x2b2)]=_0x50df56[_0x2b3d76(0x273)],this[_0x2b3d76(0x262)]('close',this['_closeCode'],this['_closeMessage']);}[_0x2fc473(0x28e)](_0x580867,_0x9e4b49){const _0x5295fd=_0x2fc473;if(this[_0x5295fd(0x1c1)]!==_0x50df56['CLOSED']){if(this[_0x5295fd(0x1c1)]===_0x50df56['CONNECTING']){_0x5a3c7e(this,this[_0x5295fd(0x26e)],_0x5295fd(0x167));return;}if(this[_0x5295fd(0x1c1)]===_0x50df56[_0x5295fd(0x17e)]){this[_0x5295fd(0x1e1)]&&(this[_0x5295fd(0x25a)]||this[_0x5295fd(0x19b)][_0x5295fd(0x185)]['errorEmitted'])&&this[_0x5295fd(0x27a)]['end']();return;}this[_0x5295fd(0x2b2)]=_0x50df56[_0x5295fd(0x17e)],this[_0x5295fd(0x1dc)][_0x5295fd(0x28e)](_0x580867,_0x9e4b49,!this[_0x5295fd(0x18e)],_0x9c3eae=>{const _0x334b76=_0x5295fd;_0x9c3eae||(this[_0x334b76(0x1e1)]=!0x0,(this[_0x334b76(0x25a)]||this['_receiver'][_0x334b76(0x185)]['errorEmitted'])&&this[_0x334b76(0x27a)][_0x334b76(0x2b1)]());}),_0x2b654c(this);}}[_0x2fc473(0x1ae)](){const _0x164990=_0x2fc473;this[_0x164990(0x1c1)]===_0x50df56[_0x164990(0x1b6)]||this[_0x164990(0x1c1)]===_0x50df56[_0x164990(0x273)]||(this[_0x164990(0x155)]=!0x0,this[_0x164990(0x27a)][_0x164990(0x1ae)]());}[_0x2fc473(0x1d6)](_0x4cf387,_0x25ef1d,_0x5c744b){const _0x2c94c1=_0x2fc473;if(this['readyState']===_0x50df56['CONNECTING'])throw new Error(_0x2c94c1(0x10d));if(typeof _0x4cf387==_0x2c94c1(0x14e)?(_0x5c744b=_0x4cf387,_0x4cf387=_0x25ef1d=void 0x0):typeof _0x25ef1d==_0x2c94c1(0x14e)&&(_0x5c744b=_0x25ef1d,_0x25ef1d=void 0x0),typeof _0x4cf387==_0x2c94c1(0x22c)&&(_0x4cf387=_0x4cf387[_0x2c94c1(0x198)]()),this['readyState']!==_0x50df56[_0x2c94c1(0x1b8)]){_0xca8b14(this,_0x4cf387,_0x5c744b);return;}_0x25ef1d===void 0x0&&(_0x25ef1d=!this['_isServer']),this['_sender'][_0x2c94c1(0x1d6)](_0x4cf387||_0x34e8ae,_0x25ef1d,_0x5c744b);}[_0x2fc473(0x238)](_0x3ed44c,_0x28a510,_0x142c62){const _0x2cb400=_0x2fc473;if(this[_0x2cb400(0x1c1)]===_0x50df56['CONNECTING'])throw new Error(_0x2cb400(0x10d));if(typeof _0x3ed44c==_0x2cb400(0x14e)?(_0x142c62=_0x3ed44c,_0x3ed44c=_0x28a510=void 0x0):typeof _0x28a510=='function'&&(_0x142c62=_0x28a510,_0x28a510=void 0x0),typeof _0x3ed44c=='number'&&(_0x3ed44c=_0x3ed44c['toString']()),this['readyState']!==_0x50df56[_0x2cb400(0x1b8)]){_0xca8b14(this,_0x3ed44c,_0x142c62);return;}_0x28a510===void 0x0&&(_0x28a510=!this[_0x2cb400(0x18e)]),this['_sender']['pong'](_0x3ed44c||_0x34e8ae,_0x28a510,_0x142c62);}[_0x2fc473(0x11e)](){const _0x4f9713=_0x2fc473;this[_0x4f9713(0x1c1)]===_0x50df56[_0x4f9713(0x1b6)]||this[_0x4f9713(0x1c1)]===_0x50df56[_0x4f9713(0x273)]||(this[_0x4f9713(0x155)]=!0x1,this[_0x4f9713(0x19b)][_0x4f9713(0x185)][_0x4f9713(0x1f0)]||this['_socket'][_0x4f9713(0x11e)]());}[_0x2fc473(0x240)](_0x4b4a47,_0x141688,_0x4012d3){const _0x53c413=_0x2fc473;if(this[_0x53c413(0x1c1)]===_0x50df56['CONNECTING'])throw new Error(_0x53c413(0x10d));if(typeof _0x141688==_0x53c413(0x14e)&&(_0x4012d3=_0x141688,_0x141688={}),typeof _0x4b4a47==_0x53c413(0x22c)&&(_0x4b4a47=_0x4b4a47[_0x53c413(0x198)]()),this[_0x53c413(0x1c1)]!==_0x50df56['OPEN']){_0xca8b14(this,_0x4b4a47,_0x4012d3);return;}const _0x5530aa={'binary':typeof _0x4b4a47!=_0x53c413(0x2aa),'mask':!this[_0x53c413(0x18e)],'compress':!0x0,'fin':!0x0,..._0x141688};this[_0x53c413(0x11c)][_0x32e281[_0x53c413(0x26a)]]||(_0x5530aa[_0x53c413(0x179)]=!0x1),this[_0x53c413(0x1dc)]['send'](_0x4b4a47||_0x34e8ae,_0x5530aa,_0x4012d3);}['terminate'](){const _0x4fca58=_0x2fc473;if(this['readyState']!==_0x50df56[_0x4fca58(0x273)]){if(this[_0x4fca58(0x1c1)]===_0x50df56['CONNECTING']){_0x5a3c7e(this,this['_req'],_0x4fca58(0x167));return;}this[_0x4fca58(0x27a)]&&(this[_0x4fca58(0x2b2)]=_0x50df56[_0x4fca58(0x17e)],this[_0x4fca58(0x27a)][_0x4fca58(0x13c)]());}}}Object[_0x2fc473(0x1f7)](_0x50df56,'CONNECTING',{'enumerable':!0x0,'value':_0x5714ba[_0x2fc473(0x15f)](_0x2fc473(0x1b6))}),Object['defineProperty'](_0x50df56[_0x2fc473(0x20c)],_0x2fc473(0x1b6),{'enumerable':!0x0,'value':_0x5714ba[_0x2fc473(0x15f)](_0x2fc473(0x1b6))}),Object[_0x2fc473(0x1f7)](_0x50df56,_0x2fc473(0x1b8),{'enumerable':!0x0,'value':_0x5714ba['indexOf']('OPEN')}),Object[_0x2fc473(0x1f7)](_0x50df56[_0x2fc473(0x20c)],'OPEN',{'enumerable':!0x0,'value':_0x5714ba[_0x2fc473(0x15f)](_0x2fc473(0x1b8))}),Object[_0x2fc473(0x1f7)](_0x50df56,'CLOSING',{'enumerable':!0x0,'value':_0x5714ba['indexOf']('CLOSING')}),Object[_0x2fc473(0x1f7)](_0x50df56['prototype'],_0x2fc473(0x17e),{'enumerable':!0x0,'value':_0x5714ba[_0x2fc473(0x15f)](_0x2fc473(0x17e))}),Object['defineProperty'](_0x50df56,_0x2fc473(0x273),{'enumerable':!0x0,'value':_0x5714ba[_0x2fc473(0x15f)](_0x2fc473(0x273))}),Object[_0x2fc473(0x1f7)](_0x50df56['prototype'],_0x2fc473(0x273),{'enumerable':!0x0,'value':_0x5714ba[_0x2fc473(0x15f)](_0x2fc473(0x273))}),['binaryType',_0x2fc473(0x252),_0x2fc473(0x210),_0x2fc473(0x221),'protocol',_0x2fc473(0x1c1),_0x2fc473(0xfd)][_0x2fc473(0x16e)](_0x15259d=>{const _0x2b3d6a=_0x2fc473;Object[_0x2b3d6a(0x1f7)](_0x50df56[_0x2b3d6a(0x20c)],_0x15259d,{'enumerable':!0x0});}),[_0x2fc473(0x1c5),_0x2fc473(0x101),_0x2fc473(0x28e),_0x2fc473(0x183)]['forEach'](_0x40ea58=>{Object['defineProperty'](_0x50df56['prototype'],'on'+_0x40ea58,{'enumerable':!0x0,'get'(){const _0x5d22fe=_0x3476;for(const _0x25ca8d of this[_0x5d22fe(0x191)](_0x40ea58))if(_0x25ca8d[_0x4dca03])return _0x25ca8d[_0x806515];return null;},'set'(_0x58abb2){const _0x5e95c4=_0x3476;for(const _0x3ded54 of this[_0x5e95c4(0x191)](_0x40ea58))if(_0x3ded54[_0x4dca03]){this[_0x5e95c4(0x1a8)](_0x40ea58,_0x3ded54);break;}typeof _0x58abb2=='function'&&this[_0x5e95c4(0x136)](_0x40ea58,_0x58abb2,{[_0x4dca03]:!0x0});}});}),_0x50df56['prototype']['addEventListener']=_0x5918a1,_0x50df56['prototype'][_0x2fc473(0x214)]=_0x594a18,we=_0x50df56;function _0x72d8c8(_0x1b1cb1,_0x521728,_0x45c3a6,_0x131317){const _0x566496=_0x2fc473,_0x23a76d={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x380c0d[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x131317,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x1b1cb1[_0x566496(0xfe)]=_0x23a76d[_0x566496(0x195)],!_0x380c0d['includes'](_0x23a76d['protocolVersion']))throw new RangeError(_0x566496(0x25b)+_0x23a76d[_0x566496(0x1b4)]+_0x566496(0x1fb)+_0x380c0d[_0x566496(0x225)](',\x20')+')');let _0x48ef21;if(_0x521728 instanceof _0x4b6ff2)_0x48ef21=_0x521728;else try{_0x48ef21=new _0x4b6ff2(_0x521728);}catch{throw new SyntaxError(_0x566496(0x281)+_0x521728);}_0x48ef21['protocol']===_0x566496(0x282)?_0x48ef21['protocol']=_0x566496(0x203):_0x48ef21[_0x566496(0x1ec)]===_0x566496(0x1d8)&&(_0x48ef21[_0x566496(0x1ec)]='wss:'),_0x1b1cb1[_0x566496(0x1d3)]=_0x48ef21[_0x566496(0x213)];const _0x59009f=_0x48ef21['protocol']===_0x566496(0x26c),_0x2dacc7=_0x48ef21['protocol']===_0x566496(0x23e);let _0x47cbe5;if(_0x48ef21['protocol']!=='ws:'&&!_0x59009f&&!_0x2dacc7?_0x47cbe5=_0x566496(0x18c):_0x2dacc7&&!_0x48ef21[_0x566496(0x1d7)]?_0x47cbe5=_0x566496(0x149):_0x48ef21[_0x566496(0x10a)]&&(_0x47cbe5='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x47cbe5){const _0x5e2c4a=new SyntaxError(_0x47cbe5);if(_0x1b1cb1[_0x566496(0x1d5)]===0x0)throw _0x5e2c4a;_0x1a3d8a(_0x1b1cb1,_0x5e2c4a);return;}const _0x216ebc=_0x59009f?0x1bb:0x50,_0x356c7f=_0x33a4cf(0x10)['toString']('base64'),_0x15adc6=_0x59009f?_0x4193ea[_0x566496(0x13f)]:_0x32cf74[_0x566496(0x13f)],_0x62bdba=new Set();let _0xcc1a0a;if(_0x23a76d['createConnection']=_0x23a76d[_0x566496(0x135)]||(_0x59009f?_0x44acb3:_0x96c645),_0x23a76d['defaultPort']=_0x23a76d['defaultPort']||_0x216ebc,_0x23a76d['port']=_0x48ef21['port']||_0x216ebc,_0x23a76d['host']=_0x48ef21[_0x566496(0x27f)][_0x566496(0x117)]('[')?_0x48ef21[_0x566496(0x27f)][_0x566496(0x14c)](0x1,-0x1):_0x48ef21[_0x566496(0x27f)],_0x23a76d[_0x566496(0x247)]={..._0x23a76d[_0x566496(0x247)],'Sec-WebSocket-Version':_0x23a76d[_0x566496(0x1b4)],'Sec-WebSocket-Key':_0x356c7f,'Connection':_0x566496(0x1a9),'Upgrade':_0x566496(0x22e)},_0x23a76d[_0x566496(0x2a7)]=_0x48ef21[_0x566496(0x1d7)]+_0x48ef21[_0x566496(0x29a)],_0x23a76d[_0x566496(0x23b)]=_0x23a76d[_0x566496(0x232)],_0x23a76d[_0x566496(0x1a5)]&&(_0xcc1a0a=new _0x32e281(_0x23a76d[_0x566496(0x1a5)]!==!0x0?_0x23a76d[_0x566496(0x1a5)]:{},!0x1,_0x23a76d[_0x566496(0x231)]),_0x23a76d[_0x566496(0x247)]['Sec-WebSocket-Extensions']=_0x56b169({[_0x32e281['extensionName']]:_0xcc1a0a['offer']()})),_0x45c3a6[_0x566496(0xf0)]){for(const _0xe66232 of _0x45c3a6){if(typeof _0xe66232!=_0x566496(0x2aa)||!_0x337bf9['test'](_0xe66232)||_0x62bdba[_0x566496(0x233)](_0xe66232))throw new SyntaxError(_0x566496(0x1f5));_0x62bdba['add'](_0xe66232);}_0x23a76d[_0x566496(0x247)][_0x566496(0x172)]=_0x45c3a6[_0x566496(0x225)](',');}if(_0x23a76d[_0x566496(0x264)]&&(_0x23a76d[_0x566496(0x1b4)]<0xd?_0x23a76d[_0x566496(0x247)][_0x566496(0x294)]=_0x23a76d[_0x566496(0x264)]:_0x23a76d[_0x566496(0x247)][_0x566496(0x285)]=_0x23a76d[_0x566496(0x264)]),(_0x48ef21[_0x566496(0x169)]||_0x48ef21[_0x566496(0xe8)])&&(_0x23a76d[_0x566496(0x20f)]=_0x48ef21['username']+':'+_0x48ef21[_0x566496(0xe8)]),_0x2dacc7){const _0x7167ee=_0x23a76d[_0x566496(0x2a7)][_0x566496(0xf9)](':');_0x23a76d[_0x566496(0x175)]=_0x7167ee[0x0],_0x23a76d[_0x566496(0x2a7)]=_0x7167ee[0x1];}let _0x505b14;if(_0x23a76d[_0x566496(0x1fe)]){if(_0x1b1cb1[_0x566496(0x1d5)]===0x0){_0x1b1cb1[_0x566496(0x127)]=_0x2dacc7,_0x1b1cb1[_0x566496(0x1ad)]=_0x59009f,_0x1b1cb1['_originalHostOrSocketPath']=_0x2dacc7?_0x23a76d[_0x566496(0x175)]:_0x48ef21[_0x566496(0x1b9)];const _0x50a64f=_0x131317&&_0x131317[_0x566496(0x247)];if(_0x131317={..._0x131317,'headers':{}},_0x50a64f){for(const [_0x15a932,_0x7b0231]of Object[_0x566496(0xef)](_0x50a64f))_0x131317['headers'][_0x15a932[_0x566496(0x16c)]()]=_0x7b0231;}}else{if(_0x1b1cb1[_0x566496(0x178)](_0x566496(0x189))===0x0){const _0x585f5c=_0x2dacc7?_0x1b1cb1[_0x566496(0x127)]?_0x23a76d[_0x566496(0x175)]===_0x1b1cb1[_0x566496(0x239)]:!0x1:_0x1b1cb1['_originalIpc']?!0x1:_0x48ef21[_0x566496(0x1b9)]===_0x1b1cb1['_originalHostOrSocketPath'];(!_0x585f5c||_0x1b1cb1[_0x566496(0x1ad)]&&!_0x59009f)&&(delete _0x23a76d[_0x566496(0x247)]['authorization'],delete _0x23a76d[_0x566496(0x247)][_0x566496(0x1ac)],_0x585f5c||delete _0x23a76d[_0x566496(0x247)][_0x566496(0x1b9)],_0x23a76d['auth']=void 0x0);}}_0x23a76d[_0x566496(0x20f)]&&!_0x131317[_0x566496(0x247)]['authorization']&&(_0x131317[_0x566496(0x247)][_0x566496(0x21c)]='Basic\x20'+Buffer[_0x566496(0xf1)](_0x23a76d[_0x566496(0x20f)])['toString']('base64')),_0x505b14=_0x1b1cb1['_req']=_0x15adc6(_0x23a76d),_0x1b1cb1[_0x566496(0x1d5)]&&_0x1b1cb1['emit'](_0x566496(0x189),_0x1b1cb1[_0x566496(0xfd)],_0x505b14);}else _0x505b14=_0x1b1cb1['_req']=_0x15adc6(_0x23a76d);_0x23a76d[_0x566496(0x23b)]&&_0x505b14['on'](_0x566496(0x23b),()=>{const _0x201c71=_0x566496;_0x5a3c7e(_0x1b1cb1,_0x505b14,_0x201c71(0x105));}),_0x505b14['on'](_0x566496(0x101),_0x17a6e7=>{const _0x4ae03d=_0x566496;_0x505b14===null||_0x505b14[_0x3288ea]||(_0x505b14=_0x1b1cb1[_0x4ae03d(0x26e)]=null,_0x1a3d8a(_0x1b1cb1,_0x17a6e7));}),_0x505b14['on'](_0x566496(0x234),_0xc72856=>{const _0x1a1f99=_0x566496,_0x3be717=_0xc72856[_0x1a1f99(0x247)]['location'],_0x7e0244=_0xc72856[_0x1a1f99(0x1ff)];if(_0x3be717&&_0x23a76d[_0x1a1f99(0x1fe)]&&_0x7e0244>=0x12c&&_0x7e0244<0x190){if(++_0x1b1cb1[_0x1a1f99(0x1d5)]>_0x23a76d[_0x1a1f99(0xe5)]){_0x5a3c7e(_0x1b1cb1,_0x505b14,_0x1a1f99(0x275));return;}_0x505b14[_0x1a1f99(0x270)]();let _0x3907e5;try{_0x3907e5=new _0x4b6ff2(_0x3be717,_0x521728);}catch{const _0x133201=new SyntaxError(_0x1a1f99(0x281)+_0x3be717);_0x1a3d8a(_0x1b1cb1,_0x133201);return;}_0x72d8c8(_0x1b1cb1,_0x3907e5,_0x45c3a6,_0x131317);}else _0x1b1cb1['emit']('unexpected-response',_0x505b14,_0xc72856)||_0x5a3c7e(_0x1b1cb1,_0x505b14,_0x1a1f99(0x1c8)+_0xc72856[_0x1a1f99(0x1ff)]);}),_0x505b14['on']('upgrade',(_0x430cb2,_0x100745,_0x18af54)=>{const _0x4d0890=_0x566496;if(_0x1b1cb1['emit']('upgrade',_0x430cb2),_0x1b1cb1['readyState']!==_0x50df56['CONNECTING'])return;_0x505b14=_0x1b1cb1[_0x4d0890(0x26e)]=null;const _0x55c739=_0x430cb2[_0x4d0890(0x247)][_0x4d0890(0x15c)];if(_0x55c739===void 0x0||_0x55c739[_0x4d0890(0x16c)]()!=='websocket'){_0x5a3c7e(_0x1b1cb1,_0x100745,_0x4d0890(0x10e));return;}const _0x8b75b7=_0x549a16(_0x4d0890(0x161))[_0x4d0890(0x170)](_0x356c7f+_0x51f626)[_0x4d0890(0x255)](_0x4d0890(0x280));if(_0x430cb2['headers'][_0x4d0890(0x21a)]!==_0x8b75b7){_0x5a3c7e(_0x1b1cb1,_0x100745,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x5d2d10=_0x430cb2[_0x4d0890(0x247)]['sec-websocket-protocol'];let _0x140d9b;if(_0x5d2d10!==void 0x0?_0x62bdba['size']?_0x62bdba['has'](_0x5d2d10)||(_0x140d9b='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x140d9b=_0x4d0890(0x19e):_0x62bdba[_0x4d0890(0x109)]&&(_0x140d9b=_0x4d0890(0x226)),_0x140d9b){_0x5a3c7e(_0x1b1cb1,_0x100745,_0x140d9b);return;}_0x5d2d10&&(_0x1b1cb1[_0x4d0890(0x253)]=_0x5d2d10);const _0x121332=_0x430cb2[_0x4d0890(0x247)]['sec-websocket-extensions'];if(_0x121332!==void 0x0){if(!_0xcc1a0a){_0x5a3c7e(_0x1b1cb1,_0x100745,_0x4d0890(0x1bf));return;}let _0x1da573;try{_0x1da573=_0x497103(_0x121332);}catch{_0x5a3c7e(_0x1b1cb1,_0x100745,_0x4d0890(0x2b6));return;}const _0x5ee959=Object[_0x4d0890(0x29e)](_0x1da573);if(_0x5ee959['length']!==0x1||_0x5ee959[0x0]!==_0x32e281[_0x4d0890(0x26a)]){_0x5a3c7e(_0x1b1cb1,_0x100745,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0xcc1a0a['accept'](_0x1da573[_0x32e281[_0x4d0890(0x26a)]]);}catch{_0x5a3c7e(_0x1b1cb1,_0x100745,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x1b1cb1[_0x4d0890(0x11c)][_0x32e281[_0x4d0890(0x26a)]]=_0xcc1a0a;}_0x1b1cb1[_0x4d0890(0x251)](_0x100745,_0x18af54,{'allowSynchronousEvents':_0x23a76d[_0x4d0890(0x24b)],'generateMask':_0x23a76d[_0x4d0890(0x20a)],'maxPayload':_0x23a76d[_0x4d0890(0x231)],'skipUTF8Validation':_0x23a76d[_0x4d0890(0x28b)]});}),_0x23a76d[_0x566496(0x128)]?_0x23a76d['finishRequest'](_0x505b14,_0x1b1cb1):_0x505b14[_0x566496(0x2b1)]();}function _0x1a3d8a(_0x32024a,_0xec7161){const _0x38f52f=_0x2fc473;_0x32024a[_0x38f52f(0x2b2)]=_0x50df56[_0x38f52f(0x17e)],_0x32024a[_0x38f52f(0x26d)]=!0x0,_0x32024a[_0x38f52f(0x262)](_0x38f52f(0x101),_0xec7161),_0x32024a[_0x38f52f(0x1cb)]();}function _0x96c645(_0x51bc24){const _0x46882f=_0x2fc473;return _0x51bc24[_0x46882f(0x2a7)]=_0x51bc24['socketPath'],_0x4a094c[_0x46882f(0x22f)](_0x51bc24);}function _0x44acb3(_0x58d017){const _0x2c481c=_0x2fc473;return _0x58d017['path']=void 0x0,!_0x58d017['servername']&&_0x58d017[_0x2c481c(0x25c)]!==''&&(_0x58d017[_0x2c481c(0x25c)]=_0x4a094c['isIP'](_0x58d017['host'])?'':_0x58d017[_0x2c481c(0x1b9)]),_0x131502[_0x2c481c(0x22f)](_0x58d017);}function _0x5a3c7e(_0x7a2966,_0x4f7ed4,_0xb6849f){const _0x22debc=_0x2fc473;_0x7a2966[_0x22debc(0x2b2)]=_0x50df56['CLOSING'];const _0x1c4da1=new Error(_0xb6849f);Error[_0x22debc(0x1af)](_0x1c4da1,_0x5a3c7e),_0x4f7ed4['setHeader']?(_0x4f7ed4[_0x3288ea]=!0x0,_0x4f7ed4[_0x22debc(0x270)](),_0x4f7ed4[_0x22debc(0x162)]&&!_0x4f7ed4['socket'][_0x22debc(0x1e8)]&&_0x4f7ed4[_0x22debc(0x162)][_0x22debc(0x13c)](),process[_0x22debc(0x29f)](_0x1a3d8a,_0x7a2966,_0x1c4da1)):(_0x4f7ed4[_0x22debc(0x13c)](_0x1c4da1),_0x4f7ed4[_0x22debc(0x241)]('error',_0x7a2966[_0x22debc(0x262)][_0x22debc(0x27e)](_0x7a2966,_0x22debc(0x101))),_0x4f7ed4[_0x22debc(0x241)](_0x22debc(0x28e),_0x7a2966[_0x22debc(0x1cb)]['bind'](_0x7a2966)));}function _0xca8b14(_0x4695a1,_0x156e01,_0x4fafab){const _0x5d97cd=_0x2fc473;if(_0x156e01){const _0x2fbce8=_0x357be0(_0x156e01)?_0x156e01[_0x5d97cd(0x109)]:_0x428b82(_0x156e01)['length'];_0x4695a1[_0x5d97cd(0x27a)]?_0x4695a1[_0x5d97cd(0x1dc)][_0x5d97cd(0xe2)]+=_0x2fbce8:_0x4695a1['_bufferedAmount']+=_0x2fbce8;}if(_0x4fafab){const _0x226499=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x4695a1[_0x5d97cd(0x1c1)]+'\x20('+_0x5714ba[_0x4695a1[_0x5d97cd(0x1c1)]]+')');process[_0x5d97cd(0x29f)](_0x4fafab,_0x226499);}}function _0x4af169(_0x50d6ba,_0x3b5fba){const _0x24d918=_0x2fc473,_0x332065=this[_0x277cb0];_0x332065[_0x24d918(0x25a)]=!0x0,_0x332065['_closeMessage']=_0x3b5fba,_0x332065['_closeCode']=_0x50d6ba,_0x332065[_0x24d918(0x27a)][_0x277cb0]!==void 0x0&&(_0x332065['_socket']['removeListener'](_0x24d918(0x20e),_0x300f26),process[_0x24d918(0x29f)](_0x10cc7c,_0x332065[_0x24d918(0x27a)]),_0x50d6ba===0x3ed?_0x332065[_0x24d918(0x28e)]():_0x332065[_0x24d918(0x28e)](_0x50d6ba,_0x3b5fba));}function _0x32cf07(){const _0x48640a=_0x2fc473,_0x553e4e=this[_0x277cb0];_0x553e4e[_0x48640a(0x221)]||_0x553e4e[_0x48640a(0x27a)]['resume']();}function _0x3df10e(_0x5de8c0){const _0x24c205=_0x2fc473,_0x535874=this[_0x277cb0];_0x535874[_0x24c205(0x27a)][_0x277cb0]!==void 0x0&&(_0x535874[_0x24c205(0x27a)][_0x24c205(0x1a8)](_0x24c205(0x20e),_0x300f26),process[_0x24c205(0x29f)](_0x10cc7c,_0x535874[_0x24c205(0x27a)]),_0x535874[_0x24c205(0x28e)](_0x5de8c0[_0x13a08c])),_0x535874[_0x24c205(0x26d)]||(_0x535874[_0x24c205(0x26d)]=!0x0,_0x535874[_0x24c205(0x262)]('error',_0x5de8c0));}function _0x4ba9c4(){const _0x3133f0=_0x2fc473;this[_0x277cb0][_0x3133f0(0x1cb)]();}function _0x198697(_0x9b0931,_0x1f3598){const _0x5ee071=_0x2fc473;this[_0x277cb0]['emit'](_0x5ee071(0x183),_0x9b0931,_0x1f3598);}function _0x5aeb20(_0x696ac7){const _0x2c0212=_0x2fc473,_0x4ba389=this[_0x277cb0];_0x4ba389[_0x2c0212(0xfe)]&&_0x4ba389[_0x2c0212(0x238)](_0x696ac7,!this['_isServer'],_0x46a9e7),_0x4ba389['emit'](_0x2c0212(0x1d6),_0x696ac7);}function _0x42880a(_0x4f6d38){const _0x11868c=_0x2fc473;this[_0x277cb0][_0x11868c(0x262)](_0x11868c(0x238),_0x4f6d38);}function _0x10cc7c(_0x490431){const _0x2f03c3=_0x2fc473;_0x490431[_0x2f03c3(0x11e)]();}function _0xeea1bf(_0x1e0b32){const _0x43e757=_0x2fc473,_0x47ab9f=this[_0x277cb0];_0x47ab9f['readyState']!==_0x50df56[_0x43e757(0x273)]&&(_0x47ab9f[_0x43e757(0x1c1)]===_0x50df56[_0x43e757(0x1b8)]&&(_0x47ab9f[_0x43e757(0x2b2)]=_0x50df56[_0x43e757(0x17e)],_0x2b654c(_0x47ab9f)),this['_socket']['end'](),_0x47ab9f[_0x43e757(0x26d)]||(_0x47ab9f[_0x43e757(0x26d)]=!0x0,_0x47ab9f[_0x43e757(0x262)](_0x43e757(0x101),_0x1e0b32)));}function _0x2b654c(_0x464d56){const _0x1a0e4c=_0x2fc473;_0x464d56[_0x1a0e4c(0x131)]=setTimeout(_0x464d56[_0x1a0e4c(0x27a)][_0x1a0e4c(0x13c)][_0x1a0e4c(0x27e)](_0x464d56[_0x1a0e4c(0x27a)]),_0x15106f);}function _0x7bf2e9(){const _0x2b681e=_0x2fc473,_0x445874=this[_0x277cb0];this[_0x2b681e(0x1a8)](_0x2b681e(0x28e),_0x7bf2e9),this['removeListener']('data',_0x300f26),this['removeListener'](_0x2b681e(0x2b1),_0x1a3de1),_0x445874['_readyState']=_0x50df56[_0x2b681e(0x17e)];let _0x1e5ade;!this[_0x2b681e(0x2a5)][_0x2b681e(0x1d9)]&&!_0x445874['_closeFrameReceived']&&!_0x445874[_0x2b681e(0x19b)][_0x2b681e(0x185)]['errorEmitted']&&(_0x1e5ade=_0x445874[_0x2b681e(0x27a)][_0x2b681e(0x12a)]())!==null&&_0x445874['_receiver'][_0x2b681e(0x224)](_0x1e5ade),_0x445874[_0x2b681e(0x19b)]['end'](),this[_0x277cb0]=void 0x0,clearTimeout(_0x445874['_closeTimer']),_0x445874[_0x2b681e(0x19b)][_0x2b681e(0x185)][_0x2b681e(0x16f)]||_0x445874[_0x2b681e(0x19b)][_0x2b681e(0x185)][_0x2b681e(0x24e)]?_0x445874[_0x2b681e(0x1cb)]():(_0x445874['_receiver']['on'](_0x2b681e(0x101),_0x4ba9c4),_0x445874[_0x2b681e(0x19b)]['on'](_0x2b681e(0x16a),_0x4ba9c4));}function _0x300f26(_0x43ccc7){const _0x28c99a=_0x2fc473;this[_0x277cb0][_0x28c99a(0x19b)][_0x28c99a(0x224)](_0x43ccc7)||this[_0x28c99a(0x1ae)]();}function _0x1a3de1(){const _0x7cd214=_0x2fc473,_0x3d656a=this[_0x277cb0];_0x3d656a[_0x7cd214(0x2b2)]=_0x50df56['CLOSING'],_0x3d656a[_0x7cd214(0x19b)]['end'](),this['end']();}function _0x28806f(){const _0x47bf5f=_0x2fc473,_0x10bb5a=this[_0x277cb0];this[_0x47bf5f(0x1a8)](_0x47bf5f(0x101),_0x28806f),this['on'](_0x47bf5f(0x101),_0x46a9e7),_0x10bb5a&&(_0x10bb5a[_0x47bf5f(0x2b2)]=_0x50df56[_0x47bf5f(0x17e)],this[_0x47bf5f(0x13c)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x4d72ed}=oe;function _0x62dde8(_0x355c9c){const _0x5615d0=_0x3476;_0x355c9c[_0x5615d0(0x262)](_0x5615d0(0x28e));}function _0x27e35c(){const _0x12d9a3=_0x3476;!this[_0x12d9a3(0x1e8)]&&this[_0x12d9a3(0x185)][_0x12d9a3(0x16f)]&&this[_0x12d9a3(0x13c)]();}function _0x262399(_0xf631c6){const _0x5096bf=_0x3476;this[_0x5096bf(0x1a8)](_0x5096bf(0x101),_0x262399),this[_0x5096bf(0x13c)](),this[_0x5096bf(0x178)]('error')===0x0&&this[_0x5096bf(0x262)]('error',_0xf631c6);}function _0x271b16(_0x34bb7b,_0x330e2b){const _0x1220fe=_0x3476;let _0x3f800c=!0x0;const _0x195fdd=new _0x4d72ed({..._0x330e2b,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x34bb7b['on'](_0x1220fe(0x183),function(_0x44e5c5,_0x24e81c){const _0x3214e3=_0x1220fe,_0x5b9a70=!_0x24e81c&&_0x195fdd['_readableState']['objectMode']?_0x44e5c5[_0x3214e3(0x198)]():_0x44e5c5;_0x195fdd[_0x3214e3(0x1f8)](_0x5b9a70)||_0x34bb7b[_0x3214e3(0x1ae)]();}),_0x34bb7b[_0x1220fe(0x241)]('error',function(_0xff0394){const _0x5a174b=_0x1220fe;_0x195fdd[_0x5a174b(0x1e8)]||(_0x3f800c=!0x1,_0x195fdd[_0x5a174b(0x13c)](_0xff0394));}),_0x34bb7b[_0x1220fe(0x241)](_0x1220fe(0x28e),function(){const _0x3d91b8=_0x1220fe;_0x195fdd['destroyed']||_0x195fdd[_0x3d91b8(0x1f8)](null);}),_0x195fdd[_0x1220fe(0x2a2)]=function(_0x54c7e7,_0x146f3f){const _0x35ab56=_0x1220fe;if(_0x34bb7b[_0x35ab56(0x1c1)]===_0x34bb7b['CLOSED']){_0x146f3f(_0x54c7e7),process[_0x35ab56(0x29f)](_0x62dde8,_0x195fdd);return;}let _0x8c1882=!0x1;_0x34bb7b['once'](_0x35ab56(0x101),function(_0x205bb6){_0x8c1882=!0x0,_0x146f3f(_0x205bb6);}),_0x34bb7b[_0x35ab56(0x241)](_0x35ab56(0x28e),function(){_0x8c1882||_0x146f3f(_0x54c7e7),process['nextTick'](_0x62dde8,_0x195fdd);}),_0x3f800c&&_0x34bb7b[_0x35ab56(0x1e9)]();},_0x195fdd[_0x1220fe(0x173)]=function(_0x15e8c1){const _0x3a0baf=_0x1220fe;if(_0x34bb7b[_0x3a0baf(0x1c1)]===_0x34bb7b[_0x3a0baf(0x1b6)]){_0x34bb7b[_0x3a0baf(0x241)]('open',function(){const _0x4b7017=_0x3a0baf;_0x195fdd[_0x4b7017(0x173)](_0x15e8c1);});return;}_0x34bb7b[_0x3a0baf(0x27a)]!==null&&(_0x34bb7b[_0x3a0baf(0x27a)][_0x3a0baf(0x185)][_0x3a0baf(0x16f)]?(_0x15e8c1(),_0x195fdd[_0x3a0baf(0x2a5)]['endEmitted']&&_0x195fdd['destroy']()):(_0x34bb7b['_socket'][_0x3a0baf(0x241)](_0x3a0baf(0x16a),function(){_0x15e8c1();}),_0x34bb7b[_0x3a0baf(0x28e)]()));},_0x195fdd[_0x1220fe(0x23a)]=function(){const _0x379087=_0x1220fe;_0x34bb7b[_0x379087(0x221)]&&_0x34bb7b[_0x379087(0x11e)]();},_0x195fdd[_0x1220fe(0x1f3)]=function(_0x1c7400,_0x1ef5bf,_0x5a6c84){const _0x2c1952=_0x1220fe;if(_0x34bb7b['readyState']===_0x34bb7b['CONNECTING']){_0x34bb7b['once'](_0x2c1952(0x1c5),function(){_0x195fdd['_write'](_0x1c7400,_0x1ef5bf,_0x5a6c84);});return;}_0x34bb7b[_0x2c1952(0x240)](_0x1c7400,_0x5a6c84);},_0x195fdd['on']('end',_0x27e35c),_0x195fdd['on'](_0x1220fe(0x101),_0x262399),_0x195fdd;}return Oe=_0x271b16,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x1c3c8f}=ae();function _0x4b3bc9(_0x305854){const _0xee436b=_0x3476,_0x1473b2=new Set();let _0x8f07ce=-0x1,_0x1a1281=-0x1,_0x32269e=0x0;for(_0x32269e;_0x32269e<_0x305854[_0xee436b(0xf0)];_0x32269e++){const _0xa9aedf=_0x305854[_0xee436b(0x26b)](_0x32269e);if(_0x1a1281===-0x1&&_0x1c3c8f[_0xa9aedf]===0x1)_0x8f07ce===-0x1&&(_0x8f07ce=_0x32269e);else{if(_0x32269e!==0x0&&(_0xa9aedf===0x20||_0xa9aedf===0x9))_0x1a1281===-0x1&&_0x8f07ce!==-0x1&&(_0x1a1281=_0x32269e);else{if(_0xa9aedf===0x2c){if(_0x8f07ce===-0x1)throw new SyntaxError(_0xee436b(0xe9)+_0x32269e);_0x1a1281===-0x1&&(_0x1a1281=_0x32269e);const _0xf6b3b2=_0x305854[_0xee436b(0x14c)](_0x8f07ce,_0x1a1281);if(_0x1473b2[_0xee436b(0x233)](_0xf6b3b2))throw new SyntaxError(_0xee436b(0x18b)+_0xf6b3b2+'\x22\x20subprotocol\x20is\x20duplicated');_0x1473b2['add'](_0xf6b3b2),_0x8f07ce=_0x1a1281=-0x1;}else throw new SyntaxError(_0xee436b(0xe9)+_0x32269e);}}}if(_0x8f07ce===-0x1||_0x1a1281!==-0x1)throw new SyntaxError(_0xee436b(0x1c3));const _0x11db55=_0x305854['slice'](_0x8f07ce,_0x32269e);if(_0x1473b2[_0xee436b(0x233)](_0x11db55))throw new SyntaxError(_0xee436b(0x18b)+_0x11db55+_0xee436b(0x190));return _0x1473b2['add'](_0x11db55),_0x1473b2;}return Ce={'parse':_0x4b3bc9},Ce;}function _0x5ecc(){const _0x316ab0=['isServer','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','opcode','username','finish','__esModule','toLowerCase','rxjs','forEach','finished','update','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','Sec-WebSocket-Protocol','_final','text/plain','socketPath','kCode','threshold','listenerCount','compress','decompress','customHeaders','crypto','@univerjs-pro/collaboration-client','CLOSING','_max_window_bits','arrayBuffer','Plugin','controlMessage','message','exports','_writableState','pluginName','handleUpgrade','dispatch','redirect','unmask','The\x20\x22','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','WS_ERR_EXPECTED_FIN','_isServer','map','\x22\x20subprotocol\x20is\x20duplicated','listeners','reset','Invalid\x20WebSocket\x20frame:\x20','createInflateRaw','autoPong','concurrencyLimit','authorized','toString','clientMaxWindowBits','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','_receiver','DisposableCollection','UniverCollaborationClientNodePlugin','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','_inflate','HTTP/1.1\x20101\x20Switching\x20Protocols','zlib','File','clientTracking','kTarget','perMessageDeflate','events','byteOffset','removeListener','Upgrade','haveLength','wsClientError','cookie','_originalSecure','pause','captureStackTrace','tls','code','_generateMask','startLoop','protocolVersion','_fragments','CONNECTING','registerHTTPInterceptor','OPEN','host','WS_ERR_UNEXPECTED_RSV_1','createSocket','clientNoContextTakeover','kReason','_loop','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','params','readyState','dequeue','Unexpected\x20end\x20of\x20input','setTimeout','open','removeAllListeners','completeUpgrade','Unexpected\x20server\x20response:\x20','@univerjs/network','_totalPayloadLength','emitClose','invalid\x20opcode\x20','default','getData','RSV1\x20must\x20be\x20clear','accept','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','WebSocket','_url','concurrency','_redirects','ping','pathname','https:','endEmitted','enqueue','The\x20server\x20is\x20not\x20running','_sender','_queue','isValidUTF8','target','_configService','_closeFrameSent','concat','backlog','7757100SUwFeb','kType','GET','_binaryType','destroyed','terminate','_maskBuffer','readable','protocol','_fragmented','toStringTag','encrypted','needDrain','dispose','_closeMessage','_write','options','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','_closeCode','defineProperty','push','method','_allowSynchronousEvents','\x20(supported\x20versions:\x20','getBlobData','status-code','followRedirects','statusCode','verifyClient','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','WS_ERR_INVALID_UTF8','ws:','reason','onerror','warn','http','kDone','server','generateMask','Cookie','prototype','invalid\x20UTF-8\x20sequence','data','auth','extensions','Sec-WebSocket-Extensions:\x20','zlibDeflateOptions','href','removeEventListener','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','permessage-deflate','Observable','Parameter\x20\x22','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','sec-websocket-accept','_compress','authorization','_options','wasClean','call','apply','isPaused','construct','port','write','join','Server\x20sent\x20no\x20subprotocol','_masked','byteLength','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','1047405idkOwQ','_state','number','4324168jOopnX','websocket','connect','1450Pcdqku','maxPayload','handshakeTimeout','has','response','hasOwnProperty','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','readOnly','pong','_originalHostOrSocketPath','_read','timeout','Blob','Invalid\x20value\x20for\x20parameter\x20\x22','ws+unix:','shouldHandle','send','once','kListener','then','invalid\x20status\x20code\x20','constructor','Sec-WebSocket-Protocol:\x20','headers','@univerjs-pro/collaboration','WS_NO_BUFFER_UTIL','create','allowSynchronousEvents','222618WuEFHD','WS_ERR_INVALID_CLOSE_CODE','errorEmitted','\x22:\x20','fin','setSocket','bufferedAmount','_protocol','client','digest','normalizeParams','address','ISocketService','parse','_closeFrameReceived','Unsupported\x20protocol\x20version:\x20','servername','fragments','toDisposable','rsv1','WS_ERR_UNEXPECTED_RSV_2_3','_shouldEmitClose','emit','connection','origin','WS_ERR_EXPECTED_MASK','_fin','onmessage','frame','_doCreateSocket','extensionName','charCodeAt','wss:','_errorEmitted','_req','pending','abort','type','writeUIntBE','CLOSED','_errored','Maximum\x20redirects\x20exceeded','writeHead','binary','_payloadLength','set','_socket','drain','client_max_window_bits','kWasClean','bind','hostname','base64','Invalid\x20URL:\x20','http:','createServer','env','Origin','281835kosGJx','binaryType','isInteger','Inject','jobs','skipUTF8Validation','mask','pipe','close','handleEvent','handleProtocols','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','kIsForOnEventAttribute','MASK\x20must\x20be\x20clear','Sec-WebSocket-Origin','onStarting','_server','kByteLength','52xFQSWj','sec-websocket-protocol','search','getOwnPropertyDescriptor','DependentOn','isBuffer','keys','nextTick','total-length','\x0d\x0a\x0d\x0a','_destroy','freeze','collaboration-client-node.config','_readableState','flush','path','serverNoContextTakeover','kMessage','string','stream','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','@univerjs/core','clients','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','getInfo','end','_readyState','sec-websocket-key','registerDependencies','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','Invalid\x20Sec-WebSocket-Extensions\x20header','UniverCollaborationClientPlugin','listen','_bufferedBytes','513492cqUyeR','sec-websocket-version','maxRedirects','ILogService','FIN\x20must\x20be\x20set','password','Unexpected\x20character\x20at\x20index\x20','getPayloadLength64','CollaborationSocketService','species','server_no_context_takeover','serverMaxWindowBits','entries','length','from','alloc','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','Invalid\x20HTTP\x20method','Invalid\x20Sec-WebSocket-Protocol\x20header','_opcode','https','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','split','Unknown\x20parameter\x20\x22','createDeflateRaw','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','url','_autoPong','blob','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','error','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','_firstFragment','share','Opening\x20handshake\x20has\x20timed\x20out','find','_messageLength','_threshold','size','hash','Max\x20payload\x20size\x20exceeded','shift','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','Invalid\x20Upgrade\x20header','getMask','_deflate','net','unshift','_buffers','add','35qwUKJz','getPayloadLength16','startsWith','sendFrame','MASK\x20must\x20be\x20set','WS_ERR_UNEXPECTED_MASK','_maxPayload','_extensions','_compressed','resume','client_no_context_takeover','IConfigService','text/html','buffer','111749cFFfcC','next','delete','allocUnsafe','_originalIpc','finishRequest','Module','read','test','onclose','conclude','arraybuffer','setConfig','consume','_closeTimer','dataMessage','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','sec-websocket-extensions','createConnection','addEventListener','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','getConfig','STATUS_CODES','maskBuffer','\x22\x20must\x20have\x20only\x20a\x20single\x20value','destroy','acceptAsClient','readUInt32BE','request','cleanup','_registerDependencies','server_max_window_bits','Connection:\x20Upgrade','WS_NO_UTF_8_VALIDATE','_mask','listening','_decompress','_injector','The\x20URL\x27s\x20pathname\x20is\x20empty','nodebuffer','_removeListeners','slice','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','function','COLLABORATION_CLIENT_NODE_CONFIG_KEY','get','includes','Upgrade:\x20websocket','isArray','NodeCollaborationSocketService','_paused','setNoDelay','Z_DEFAULT_WINDOWBITS','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','Z_SYNC_FLUSH','1MXXdQw','acceptAsServer','upgrade','WS_ERR_INVALID_OPCODE','invalid\x20opcode\x200','indexOf','pow','sha1','socket','noServer','replace','createError'];_0x5ecc=function(){return _0x316ab0;};return _0x5ecc();}var Te,rt;function Ft(){const _0x5ad308=_0x24d147;if(rt)return Te;rt=0x1;const _0x5bbaf8=nt,_0x52ab6=ot,{Duplex:_0xe77bb4}=oe,{createHash:_0x7b762c}=Le,_0x33fdd1=ct(),_0xa389aa=he(),_0x1c67af=At(),_0x345ffb=Pe(),{GUID:_0x530bb6,kWebSocket:_0x35f884}=H(),_0x178771=/^[+/0-9A-Za-z]{22}==$/,_0x2f0341=0x0,_0x334121=0x1,_0x2f8156=0x2;class _0x52916b extends _0x5bbaf8{constructor(_0x449193,_0x139567){const _0x14e19a=_0x3476;if(super(),_0x449193={'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':_0x345ffb,..._0x449193},_0x449193[_0x14e19a(0x223)]==null&&!_0x449193[_0x14e19a(0x209)]&&!_0x449193[_0x14e19a(0x163)]||_0x449193[_0x14e19a(0x223)]!=null&&(_0x449193['server']||_0x449193[_0x14e19a(0x163)])||_0x449193[_0x14e19a(0x209)]&&_0x449193[_0x14e19a(0x163)])throw new TypeError(_0x14e19a(0x291));if(_0x449193[_0x14e19a(0x223)]!=null?(this[_0x14e19a(0x296)]=_0x52ab6[_0x14e19a(0x283)]((_0x4d1280,_0x3b6998)=>{const _0x15b211=_0x14e19a,_0x29dddf=_0x52ab6[_0x15b211(0x139)][0x1aa];_0x3b6998[_0x15b211(0x276)](0x1aa,{'Content-Length':_0x29dddf[_0x15b211(0xf0)],'Content-Type':_0x15b211(0x174)}),_0x3b6998[_0x15b211(0x2b1)](_0x29dddf);}),this[_0x14e19a(0x296)][_0x14e19a(0xe1)](_0x449193[_0x14e19a(0x223)],_0x449193['host'],_0x449193[_0x14e19a(0x1e3)],_0x139567)):_0x449193[_0x14e19a(0x209)]&&(this['_server']=_0x449193['server']),this['_server']){const _0x19ef22=this[_0x14e19a(0x262)][_0x14e19a(0x27e)](this,_0x14e19a(0x263));this['_removeListeners']=_0x853196(this[_0x14e19a(0x296)],{'listening':this[_0x14e19a(0x262)][_0x14e19a(0x27e)](this,_0x14e19a(0x146)),'error':this[_0x14e19a(0x262)][_0x14e19a(0x27e)](this,'error'),'upgrade':(_0x1029e4,_0x4e09fc,_0x44113d)=>{const _0x188294=_0x14e19a;this[_0x188294(0x187)](_0x1029e4,_0x4e09fc,_0x44113d,_0x19ef22);}});}_0x449193[_0x14e19a(0x1a5)]===!0x0&&(_0x449193[_0x14e19a(0x1a5)]={}),_0x449193[_0x14e19a(0x1a3)]&&(this[_0x14e19a(0x2ae)]=new Set(),this[_0x14e19a(0x261)]=!0x1),this[_0x14e19a(0x1f4)]=_0x449193,this[_0x14e19a(0x22b)]=_0x2f0341;}[_0x5ad308(0x257)](){const _0x30e1ab=_0x5ad308;if(this[_0x30e1ab(0x1f4)][_0x30e1ab(0x163)])throw new Error(_0x30e1ab(0x219));return this[_0x30e1ab(0x296)]?this['_server'][_0x30e1ab(0x257)]():null;}['close'](_0x320ac1){const _0x17321f=_0x5ad308;if(this[_0x17321f(0x22b)]===_0x2f8156){_0x320ac1&&this[_0x17321f(0x241)]('close',()=>{const _0x478e40=_0x17321f;_0x320ac1(new Error(_0x478e40(0x1db)));}),process[_0x17321f(0x29f)](_0x297fd6,this);return;}if(_0x320ac1&&this['once']('close',_0x320ac1),this['_state']!==_0x334121){if(this['_state']=_0x334121,this[_0x17321f(0x1f4)][_0x17321f(0x163)]||this[_0x17321f(0x1f4)][_0x17321f(0x209)])this[_0x17321f(0x296)]&&(this['_removeListeners'](),this[_0x17321f(0x14b)]=this[_0x17321f(0x296)]=null),this[_0x17321f(0x2ae)]?this[_0x17321f(0x2ae)][_0x17321f(0x109)]?this[_0x17321f(0x261)]=!0x0:process[_0x17321f(0x29f)](_0x297fd6,this):process[_0x17321f(0x29f)](_0x297fd6,this);else{const _0x3dc7e0=this[_0x17321f(0x296)];this['_removeListeners'](),this[_0x17321f(0x14b)]=this[_0x17321f(0x296)]=null,_0x3dc7e0[_0x17321f(0x28e)](()=>{_0x297fd6(this);});}}}['shouldHandle'](_0x1e3c40){const _0x4a6e2c=_0x5ad308;if(this['options'][_0x4a6e2c(0x2a7)]){const _0x2e8d83=_0x1e3c40[_0x4a6e2c(0xfd)][_0x4a6e2c(0x15f)]('?');if((_0x2e8d83!==-0x1?_0x1e3c40[_0x4a6e2c(0xfd)][_0x4a6e2c(0x14c)](0x0,_0x2e8d83):_0x1e3c40[_0x4a6e2c(0xfd)])!==this[_0x4a6e2c(0x1f4)]['path'])return!0x1;}return!0x0;}['handleUpgrade'](_0x10bb33,_0x41a458,_0x2f35a4,_0x168012){const _0x29d669=_0x5ad308;_0x41a458['on'](_0x29d669(0x101),_0x59657c);const _0x6106ba=_0x10bb33['headers'][_0x29d669(0x2b3)],_0x49a734=_0x10bb33['headers']['upgrade'],_0x56c44a=+_0x10bb33[_0x29d669(0x247)][_0x29d669(0xe4)];if(_0x10bb33[_0x29d669(0x1f9)]!==_0x29d669(0x1e6)){_0x50ab46(this,_0x10bb33,_0x41a458,0x195,_0x29d669(0xf4));return;}if(_0x49a734===void 0x0||_0x49a734[_0x29d669(0x16c)]()!=='websocket'){_0x50ab46(this,_0x10bb33,_0x41a458,0x190,_0x29d669(0x10e));return;}if(_0x6106ba===void 0x0||!_0x178771[_0x29d669(0x12b)](_0x6106ba)){_0x50ab46(this,_0x10bb33,_0x41a458,0x190,_0x29d669(0xf3));return;}if(_0x56c44a!==0x8&&_0x56c44a!==0xd){_0x50ab46(this,_0x10bb33,_0x41a458,0x190,_0x29d669(0x2ac));return;}if(!this[_0x29d669(0x23f)](_0x10bb33)){_0x36ba9a(_0x41a458,0x190);return;}const _0x424bfd=_0x10bb33[_0x29d669(0x247)][_0x29d669(0x299)];let _0x5b782a=new Set();if(_0x424bfd!==void 0x0)try{_0x5b782a=_0x1c67af['parse'](_0x424bfd);}catch{_0x50ab46(this,_0x10bb33,_0x41a458,0x190,_0x29d669(0xf5));return;}const _0x2072e9=_0x10bb33[_0x29d669(0x247)][_0x29d669(0x134)],_0x103e31={};if(this[_0x29d669(0x1f4)][_0x29d669(0x1a5)]&&_0x2072e9!==void 0x0){const _0xa94ce=new _0xa389aa(this[_0x29d669(0x1f4)][_0x29d669(0x1a5)],!0x0,this[_0x29d669(0x1f4)][_0x29d669(0x231)]);try{const _0x154b01=_0x33fdd1[_0x29d669(0x259)](_0x2072e9);_0x154b01[_0xa389aa[_0x29d669(0x26a)]]&&(_0xa94ce[_0x29d669(0x1d0)](_0x154b01[_0xa389aa[_0x29d669(0x26a)]]),_0x103e31[_0xa389aa[_0x29d669(0x26a)]]=_0xa94ce);}catch{_0x50ab46(this,_0x10bb33,_0x41a458,0x190,_0x29d669(0xf8));return;}}if(this[_0x29d669(0x1f4)][_0x29d669(0x200)]){const _0x2d6885={'origin':_0x10bb33[_0x29d669(0x247)][''+(_0x56c44a===0x8?'sec-websocket-origin':_0x29d669(0x264))],'secure':!!(_0x10bb33['socket'][_0x29d669(0x197)]||_0x10bb33[_0x29d669(0x162)][_0x29d669(0x1ef)]),'req':_0x10bb33};if(this[_0x29d669(0x1f4)][_0x29d669(0x200)][_0x29d669(0xf0)]===0x2){this[_0x29d669(0x1f4)]['verifyClient'](_0x2d6885,(_0x184560,_0x4d6b19,_0x5e7a2f,_0x439686)=>{if(!_0x184560)return _0x36ba9a(_0x41a458,_0x4d6b19||0x191,_0x5e7a2f,_0x439686);this['completeUpgrade'](_0x103e31,_0x6106ba,_0x5b782a,_0x10bb33,_0x41a458,_0x2f35a4,_0x168012);});return;}if(!this['options'][_0x29d669(0x200)](_0x2d6885))return _0x36ba9a(_0x41a458,0x191);}this['completeUpgrade'](_0x103e31,_0x6106ba,_0x5b782a,_0x10bb33,_0x41a458,_0x2f35a4,_0x168012);}[_0x5ad308(0x1c7)](_0x2fafb1,_0x206085,_0x532098,_0x42ac00,_0x132924,_0x3ec0e5,_0x47041b){const _0x4ea9b0=_0x5ad308;if(!_0x132924[_0x4ea9b0(0x1eb)]||!_0x132924['writable'])return _0x132924['destroy']();if(_0x132924[_0x35f884])throw new Error(_0x4ea9b0(0x2b5));if(this[_0x4ea9b0(0x22b)]>_0x2f0341)return _0x36ba9a(_0x132924,0x1f7);const _0x553015=[_0x4ea9b0(0x1a0),_0x4ea9b0(0x152),_0x4ea9b0(0x143),'Sec-WebSocket-Accept:\x20'+_0x7b762c('sha1')[_0x4ea9b0(0x170)](_0x206085+_0x530bb6)['digest'](_0x4ea9b0(0x280))],_0x10bebf=new this[(_0x4ea9b0(0x1f4))][(_0x4ea9b0(0x1d2))](null,void 0x0,this[_0x4ea9b0(0x1f4)]);if(_0x532098['size']){const _0x31baff=this[_0x4ea9b0(0x1f4)][_0x4ea9b0(0x290)]?this['options'][_0x4ea9b0(0x290)](_0x532098,_0x42ac00):_0x532098['values']()['next']()['value'];_0x31baff&&(_0x553015['push'](_0x4ea9b0(0x246)+_0x31baff),_0x10bebf['_protocol']=_0x31baff);}if(_0x2fafb1[_0xa389aa[_0x4ea9b0(0x26a)]]){const _0x260d3d=_0x2fafb1[_0xa389aa['extensionName']]['params'],_0x3c81b1=_0x33fdd1['format']({[_0xa389aa['extensionName']]:[_0x260d3d]});_0x553015[_0x4ea9b0(0x1f8)](_0x4ea9b0(0x211)+_0x3c81b1),_0x10bebf[_0x4ea9b0(0x11c)]=_0x2fafb1;}this[_0x4ea9b0(0x262)](_0x4ea9b0(0x247),_0x553015,_0x42ac00),_0x132924['write'](_0x553015[_0x4ea9b0(0x1e2)]('\x0d\x0a')[_0x4ea9b0(0x225)]('\x0d\x0a')),_0x132924['removeListener'](_0x4ea9b0(0x101),_0x59657c),_0x10bebf['setSocket'](_0x132924,_0x3ec0e5,{'allowSynchronousEvents':this['options'][_0x4ea9b0(0x24b)],'maxPayload':this[_0x4ea9b0(0x1f4)][_0x4ea9b0(0x231)],'skipUTF8Validation':this[_0x4ea9b0(0x1f4)]['skipUTF8Validation']}),this[_0x4ea9b0(0x2ae)]&&(this[_0x4ea9b0(0x2ae)][_0x4ea9b0(0x114)](_0x10bebf),_0x10bebf['on'](_0x4ea9b0(0x28e),()=>{const _0x4e5b26=_0x4ea9b0;this[_0x4e5b26(0x2ae)][_0x4e5b26(0x125)](_0x10bebf),this[_0x4e5b26(0x261)]&&!this[_0x4e5b26(0x2ae)]['size']&&process[_0x4e5b26(0x29f)](_0x297fd6,this);})),_0x47041b(_0x10bebf,_0x42ac00);}}Te=_0x52916b;function _0x853196(_0x3c86a8,_0x585d68){const _0x2e80e2=_0x5ad308;for(const _0x2092e3 of Object[_0x2e80e2(0x29e)](_0x585d68))_0x3c86a8['on'](_0x2092e3,_0x585d68[_0x2092e3]);return function(){const _0x70120c=_0x2e80e2;for(const _0x1fd959 of Object[_0x70120c(0x29e)](_0x585d68))_0x3c86a8[_0x70120c(0x1a8)](_0x1fd959,_0x585d68[_0x1fd959]);};}function _0x297fd6(_0x44b769){const _0x4837f7=_0x5ad308;_0x44b769[_0x4837f7(0x22b)]=_0x2f8156,_0x44b769['emit']('close');}function _0x59657c(){this['destroy']();}function _0x36ba9a(_0x943ab0,_0x2e012d,_0x367dd8,_0x36a3e2){const _0x2f730e=_0x5ad308;_0x367dd8=_0x367dd8||_0x52ab6['STATUS_CODES'][_0x2e012d],_0x36a3e2={'Connection':_0x2f730e(0x28e),'Content-Type':_0x2f730e(0x121),'Content-Length':Buffer[_0x2f730e(0x228)](_0x367dd8),..._0x36a3e2},_0x943ab0['once'](_0x2f730e(0x16a),_0x943ab0[_0x2f730e(0x13c)]),_0x943ab0[_0x2f730e(0x2b1)]('HTTP/1.1\x20'+_0x2e012d+'\x20'+_0x52ab6[_0x2f730e(0x139)][_0x2e012d]+'\x0d\x0a'+Object['keys'](_0x36a3e2)[_0x2f730e(0x18f)](_0x2d6ce3=>_0x2d6ce3+':\x20'+_0x36a3e2[_0x2d6ce3])['join']('\x0d\x0a')+_0x2f730e(0x2a1)+_0x367dd8);}function _0x50ab46(_0x1fc512,_0x57699b,_0x2876f5,_0x33fdf7,_0x576a52){const _0x523bf9=_0x5ad308;if(_0x1fc512[_0x523bf9(0x178)](_0x523bf9(0x1ab))){const _0x4ffc2b=new Error(_0x576a52);Error[_0x523bf9(0x1af)](_0x4ffc2b,_0x50ab46),_0x1fc512[_0x523bf9(0x262)](_0x523bf9(0x1ab),_0x4ffc2b,_0x2876f5,_0x57699b);}else _0x36ba9a(_0x2876f5,_0x33fdf7,_0x576a52);}return Te;}Ft();var jt=Object[_0x24d147(0x29b)],Wt=(_0x38a44a,_0x15330a,_0x350181,_0x174a64)=>{for(var _0x1d4b5a=_0x174a64>0x1?void 0x0:_0x174a64?jt(_0x15330a,_0x350181):_0x15330a,_0x3064a9=_0x38a44a['length']-0x1,_0x5b1271;_0x3064a9>=0x0;_0x3064a9--)(_0x5b1271=_0x38a44a[_0x3064a9])&&(_0x1d4b5a=_0x5b1271(_0x1d4b5a)||_0x1d4b5a);return _0x1d4b5a;},qt=(_0x3d5525,_0x379050)=>(_0xd39799,_0x15b69a)=>_0x379050(_0xd39799,_0x15b69a,_0x3d5525);let ke=class extends A['Disposable']{constructor(_0x4ddc52){const _0x5a8204=_0x24d147;super(),this[_0x5a8204(0x1e0)]=_0x4ddc52;}[_0x24d147(0x1bb)](_0x34b830){const _0x211ac6=_0x24d147;var _0x42d019;const _0x17ea7b=(_0x42d019=this[_0x211ac6(0x1e0)]['getConfig'](fe))==null?void 0x0:_0x42d019[_0x211ac6(0x17b)];try{const _0x4867aa=new $t(_0x34b830,{'headers':{..._0x17ea7b}}),_0x4095a0=new A[(_0x211ac6(0x19c))]();return{'URL':_0x34b830,'close':(_0x5c33e1,_0x26629c)=>{const _0x55ca04=_0x211ac6;_0x4867aa[_0x55ca04(0x28e)](_0x5c33e1,_0x26629c),_0x4095a0[_0x55ca04(0x1f1)]();},'send':_0x526db0=>{_0x4867aa['send'](_0x526db0);},'open$':new V[(_0x211ac6(0x217))](_0xd318dd=>{const _0x4bc0e5=_0x211ac6,_0x3649f0=_0x959e2a=>_0xd318dd[_0x4bc0e5(0x124)](_0x959e2a);_0x4867aa[_0x4bc0e5(0x136)](_0x4bc0e5(0x1c5),_0x3649f0),_0x4095a0[_0x4bc0e5(0x114)](A['toDisposable'](()=>_0x4867aa['removeEventListener'](_0x4bc0e5(0x1c5),_0x3649f0)));})[_0x211ac6(0x28d)](V[_0x211ac6(0x104)]()),'close$':new V[(_0x211ac6(0x217))](_0x54f89b=>{const _0x105424=_0x211ac6,_0x1de936=_0x1536cc=>_0x54f89b[_0x105424(0x124)](_0x1536cc);_0x4867aa[_0x105424(0x136)](_0x105424(0x28e),_0x1de936),_0x4095a0[_0x105424(0x114)](A[_0x105424(0x25e)](()=>_0x4867aa['removeEventListener'](_0x105424(0x28e),_0x1de936)));})['pipe'](V[_0x211ac6(0x104)]()),'error$':new V[(_0x211ac6(0x217))](_0x15f0f2=>{const _0x213ed0=_0x211ac6,_0x5a60bc=_0x4eb787=>_0x15f0f2[_0x213ed0(0x124)](_0x4eb787);_0x4867aa[_0x213ed0(0x136)](_0x213ed0(0x101),_0x5a60bc),_0x4095a0[_0x213ed0(0x114)](A['toDisposable'](()=>_0x4867aa['removeEventListener'](_0x213ed0(0x101),_0x5a60bc)));})[_0x211ac6(0x28d)](V['share']()),'message$':new V[(_0x211ac6(0x217))](_0x8e8294=>{const _0x3720de=_0x211ac6,_0x539fb7=_0x3c293b=>_0x8e8294['next'](_0x3c293b);_0x4867aa[_0x3720de(0x136)]('message',_0x539fb7),_0x4095a0[_0x3720de(0x114)](A['toDisposable'](()=>_0x4867aa['removeEventListener'](_0x3720de(0x183),_0x539fb7)));})[_0x211ac6(0x28d)](V[_0x211ac6(0x104)]())};}catch(_0x5b83ce){return console[_0x211ac6(0x101)](_0x5b83ce),null;}}};ke=Wt([qt(0x0,A[_0x24d147(0x120)])],ke);var Gt=Object[_0x24d147(0x1f7)],Vt=Object[_0x24d147(0x29b)],Ht=(_0x1847a5,_0x25d69b,_0xe1927)=>_0x25d69b in _0x1847a5?Gt(_0x1847a5,_0x25d69b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xe1927}):_0x1847a5[_0x25d69b]=_0xe1927,zt=(_0x2ce57e,_0x550b72,_0x2fe423,_0x37094f)=>{for(var _0x327afc=_0x37094f>0x1?void 0x0:_0x37094f?Vt(_0x550b72,_0x2fe423):_0x550b72,_0x319c83=_0x2ce57e['length']-0x1,_0x2c8fb3;_0x319c83>=0x0;_0x319c83--)(_0x2c8fb3=_0x2ce57e[_0x319c83])&&(_0x327afc=_0x2c8fb3(_0x327afc)||_0x327afc);return _0x327afc;},Ne=(_0x3784f4,_0x44c7fc)=>(_0x32f4e9,_0x50e6d9)=>_0x44c7fc(_0x32f4e9,_0x50e6d9,_0x3784f4),Yt=(_0x34a6e7,_0x4eaf91,_0x4ed568)=>Ht(_0x34a6e7,_0x4eaf91+'',_0x4ed568);exports['UniverCollaborationClientNodePlugin']=class extends A[_0x24d147(0x181)]{constructor(_0x547f15=Ct,_0x137cef,_0x716eda,_0x1f2d88){const _0x5638bf=_0x24d147;_0x547f15['customHeaders']||_0x137cef[_0x5638bf(0x206)](_0x5638bf(0x19a)),super(),this[_0x5638bf(0x1e0)]=_0x716eda,this[_0x5638bf(0x148)]=_0x1f2d88,this[_0x5638bf(0x1e0)][_0x5638bf(0x12f)](fe,_0x547f15);}[_0x24d147(0x295)](){const _0x166bd4=_0x24d147;this[_0x166bd4(0x141)]();}['_registerDependencies'](){const _0x3d6ef8=_0x24d147;A[_0x3d6ef8(0x2b4)](this[_0x3d6ef8(0x148)],[[it[_0x3d6ef8(0x258)],{'useClass':ke}]]);}},Yt(exports['UniverCollaborationClientNodePlugin'],_0x24d147(0x186),_0x24d147(0x236)),exports[_0x24d147(0x19d)]=zt([A[_0x24d147(0x29c)](st[_0x24d147(0xe0)]),Ne(0x1,A[_0x24d147(0xe6)]),Ne(0x2,A[_0x24d147(0x120)]),Ne(0x3,A['Inject'](A['Injector']))],exports[_0x24d147(0x19d)]);var Kt=Object['getOwnPropertyDescriptor'],Xt=(_0x49f990,_0x36ecd1,_0x425f97,_0x3861b1)=>{const _0x505867=_0x24d147;for(var _0x12ee99=_0x3861b1>0x1?void 0x0:_0x3861b1?Kt(_0x36ecd1,_0x425f97):_0x36ecd1,_0x158e9e=_0x49f990[_0x505867(0xf0)]-0x1,_0x3e82a7;_0x158e9e>=0x0;_0x158e9e--)(_0x3e82a7=_0x49f990[_0x158e9e])&&(_0x12ee99=_0x3e82a7(_0x12ee99)||_0x12ee99);return _0x12ee99;},ne=(_0x3a6b7a,_0x3be98a)=>(_0x4ec24a,_0x1f2472)=>_0x3be98a(_0x4ec24a,_0x1f2472,_0x3a6b7a);exports['NodeCollaborationSocketService']=class extends st[_0x24d147(0xeb)]{constructor(_0x3cf71a,_0x369575,_0x4a2fce,_0x34f66c,_0x21f81e){const _0x2cafa4=_0x24d147;super(_0x3cf71a,_0x369575,_0x4a2fce,_0x34f66c,_0x21f81e);const _0x3e68d5=this['_configService'][_0x2cafa4(0x138)](fe);this['_httpService'][_0x2cafa4(0x1b7)]({'interceptor':(_0x4ddbdc,_0x2e4b5e)=>{const _0x50537b=_0x2cafa4;var _0xe3e376;const _0x137f1c=_0x4ddbdc[_0x50537b(0x247)];return(_0xe3e376=_0x3e68d5==null?void 0x0:_0x3e68d5[_0x50537b(0x17b)])!=null&&_0xe3e376[_0x50537b(0x1ac)]&&_0x137f1c[_0x50537b(0x279)](_0x50537b(0x20b),_0x3e68d5['customHeaders'][_0x50537b(0x1ac)]),_0x2e4b5e(_0x4ddbdc);}});}async[_0x24d147(0x1bb)](_0x2906c5){const _0x109636=_0x24d147;return this[_0x109636(0x269)](_0x2906c5);}},exports[_0x24d147(0x154)]=Xt([ne(0x0,A['Inject'](A['Injector'])),ne(0x1,A[_0x24d147(0x289)](it['HTTPService'])),ne(0x2,A[_0x24d147(0x120)]),ne(0x3,A[_0x24d147(0xe6)]),ne(0x4,Ot['ISnapshotServerService'])],exports[_0x24d147(0x154)]),exports[_0x24d147(0x14f)]=fe;