@univerjs-pro/collaboration-client-node 0.8.0-nightly.202506091607 → 0.8.0-nightly.202506101607

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 _0x2b7756=_0x46c0;(function(_0x979281,_0x5e3fcd){const _0x58359d=_0x46c0,_0x32ab84=_0x979281();while(!![]){try{const _0x4252ee=-parseInt(_0x58359d(0x26f))/0x1*(parseInt(_0x58359d(0x2a8))/0x2)+-parseInt(_0x58359d(0x300))/0x3*(-parseInt(_0x58359d(0x2e8))/0x4)+parseInt(_0x58359d(0x1c5))/0x5*(-parseInt(_0x58359d(0x320))/0x6)+parseInt(_0x58359d(0x187))/0x7+parseInt(_0x58359d(0x1fc))/0x8+-parseInt(_0x58359d(0x2a5))/0x9*(-parseInt(_0x58359d(0x2ef))/0xa)+parseInt(_0x58359d(0x282))/0xb*(-parseInt(_0x58359d(0x2b7))/0xc);if(_0x4252ee===_0x5e3fcd)break;else _0x32ab84['push'](_0x32ab84['shift']());}catch(_0x29fe1f){_0x32ab84['push'](_0x32ab84['shift']());}}}(_0x4308,0x8cdad));Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x2b7756(0x27b)});const st=require(_0x2b7756(0x1bc)),A=require(_0x2b7756(0x305)),it=require('@univerjs/network'),V=require(_0x2b7756(0x174)),nt=require(_0x2b7756(0x20f)),vt=require(_0x2b7756(0x1ce)),ot=require(_0x2b7756(0x1d4)),St=require('net'),Et=require(_0x2b7756(0x312)),Le=require(_0x2b7756(0x1ef)),oe=require(_0x2b7756(0x180)),xt=require(_0x2b7756(0x253)),bt=require('zlib'),wt=require(_0x2b7756(0x248)),Ot=require(_0x2b7756(0x19b)),fe=_0x2b7756(0x1d8),Ct={'customHeaders':{}};function Tt(_0xf37afa){const _0x5f5dfc=_0x2b7756;return _0xf37afa&&_0xf37afa['__esModule']&&Object[_0x5f5dfc(0x2fb)][_0x5f5dfc(0x21f)][_0x5f5dfc(0x222)](_0xf37afa,_0x5f5dfc(0x194))?_0xf37afa['default']:_0xf37afa;}function at(_0x38607c){const _0x448a57=_0x2b7756;if(Object[_0x448a57(0x2fb)][_0x448a57(0x21f)]['call'](_0x38607c,_0x448a57(0x189)))return _0x38607c;var _0x72f75b=_0x38607c['default'];if(typeof _0x72f75b==_0x448a57(0x1f1)){var _0x1544bf=function _0x1d20f7(){const _0x14dd5c=_0x448a57;return this instanceof _0x1d20f7?Reflect['construct'](_0x72f75b,arguments,this[_0x14dd5c(0x16c)]):_0x72f75b[_0x14dd5c(0x2dd)](this,arguments);};_0x1544bf['prototype']=_0x72f75b['prototype'];}else _0x1544bf={};return Object['defineProperty'](_0x1544bf,_0x448a57(0x189),{'value':!0x0}),Object['keys'](_0x38607c)[_0x448a57(0x1cb)](function(_0x14b0b7){const _0x252da5=_0x448a57;var _0x216784=Object[_0x252da5(0x238)](_0x38607c,_0x14b0b7);Object[_0x252da5(0x31e)](_0x1544bf,_0x14b0b7,_0x216784[_0x252da5(0x2b4)]?_0x216784:{'enumerable':!0x0,'get':function(){return _0x38607c[_0x14b0b7];}});}),_0x1544bf;}var se={'exports':{}},ge,Ge;function H(){const _0x179a1a=_0x2b7756;if(Ge)return ge;Ge=0x1;const _0x1dd8de=[_0x179a1a(0x1ad),'arraybuffer','fragments'],_0x284c61=typeof Blob<'u';return _0x284c61&&_0x1dd8de[_0x179a1a(0x299)]('blob'),ge={'BINARY_TYPES':_0x1dd8de,'EMPTY_BUFFER':Buffer[_0x179a1a(0x1c1)](0x0),'GUID':_0x179a1a(0x259),'hasBlob':_0x284c61,'kForOnEventAttribute':Symbol(_0x179a1a(0x1a0)),'kListener':Symbol(_0x179a1a(0x2eb)),'kStatusCode':Symbol(_0x179a1a(0x23b)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}function _0x46c0(_0x358968,_0x99dcd2){const _0x4308e7=_0x4308();return _0x46c0=function(_0x46c0c7,_0x559195){_0x46c0c7=_0x46c0c7-0x155;let _0x3277cc=_0x4308e7[_0x46c0c7];return _0x3277cc;},_0x46c0(_0x358968,_0x99dcd2);}const Nt={},kt=Object[_0x2b7756(0x228)](Object[_0x2b7756(0x31e)]({'__proto__':null,'default':Nt},Symbol[_0x2b7756(0x2a7)],{'value':'Module'})),Lt=at(kt);var Ve;function ce(){const _0x127d87=_0x2b7756;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0x23108f}=H(),_0x4750c0=Buffer[Symbol[_0x127d87(0x1a8)]];function _0x1c6e9c(_0x5848ec,_0x289c99){const _0xad8d9f=_0x127d87;if(_0x5848ec['length']===0x0)return _0x23108f;if(_0x5848ec[_0xad8d9f(0x31d)]===0x1)return _0x5848ec[0x0];const _0xa9b4cd=Buffer[_0xad8d9f(0x2c3)](_0x289c99);let _0x58048c=0x0;for(let _0x5d3270=0x0;_0x5d3270<_0x5848ec['length'];_0x5d3270++){const _0x3b9cae=_0x5848ec[_0x5d3270];_0xa9b4cd[_0xad8d9f(0x2e4)](_0x3b9cae,_0x58048c),_0x58048c+=_0x3b9cae[_0xad8d9f(0x31d)];}return _0x58048c<_0x289c99?new _0x4750c0(_0xa9b4cd[_0xad8d9f(0x248)],_0xa9b4cd[_0xad8d9f(0x303)],_0x58048c):_0xa9b4cd;}function _0x3f9e83(_0x2c135a,_0xd94f8c,_0x390a79,_0x483ba3,_0x2d475c){for(let _0xc74d9b=0x0;_0xc74d9b<_0x2d475c;_0xc74d9b++)_0x390a79[_0x483ba3+_0xc74d9b]=_0x2c135a[_0xc74d9b]^_0xd94f8c[_0xc74d9b&0x3];}function _0x38a95e(_0x193c6a,_0x4d2162){const _0x2430b0=_0x127d87;for(let _0x429c19=0x0;_0x429c19<_0x193c6a[_0x2430b0(0x31d)];_0x429c19++)_0x193c6a[_0x429c19]^=_0x4d2162[_0x429c19&0x3];}function _0x4bd26c(_0xb235ce){const _0x9bae0f=_0x127d87;return _0xb235ce[_0x9bae0f(0x31d)]===_0xb235ce[_0x9bae0f(0x248)][_0x9bae0f(0x294)]?_0xb235ce[_0x9bae0f(0x248)]:_0xb235ce[_0x9bae0f(0x248)][_0x9bae0f(0x24b)](_0xb235ce['byteOffset'],_0xb235ce['byteOffset']+_0xb235ce['length']);}function _0x1ee6e0(_0x192e93){const _0x44c838=_0x127d87;if(_0x1ee6e0['readOnly']=!0x0,Buffer['isBuffer'](_0x192e93))return _0x192e93;let _0x469d4d;return _0x192e93 instanceof ArrayBuffer?_0x469d4d=new _0x4750c0(_0x192e93):ArrayBuffer[_0x44c838(0x321)](_0x192e93)?_0x469d4d=new _0x4750c0(_0x192e93[_0x44c838(0x248)],_0x192e93[_0x44c838(0x303)],_0x192e93[_0x44c838(0x294)]):(_0x469d4d=Buffer[_0x44c838(0x291)](_0x192e93),_0x1ee6e0['readOnly']=!0x1),_0x469d4d;}if(se[_0x127d87(0x1ea)]={'concat':_0x1c6e9c,'mask':_0x3f9e83,'toArrayBuffer':_0x4bd26c,'toBuffer':_0x1ee6e0,'unmask':_0x38a95e},!process['env'][_0x127d87(0x1e4)])try{const _0x5ba455=Lt;se[_0x127d87(0x1ea)][_0x127d87(0x1ec)]=function(_0x90995b,_0x1d650c,_0x1d14f5,_0x2253fa,_0x287940){const _0x555a66=_0x127d87;_0x287940<0x30?_0x3f9e83(_0x90995b,_0x1d650c,_0x1d14f5,_0x2253fa,_0x287940):_0x5ba455[_0x555a66(0x1ec)](_0x90995b,_0x1d650c,_0x1d14f5,_0x2253fa,_0x287940);},se[_0x127d87(0x1ea)][_0x127d87(0x1e6)]=function(_0x12e3c1,_0x3d79a9){const _0x54b087=_0x127d87;_0x12e3c1[_0x54b087(0x31d)]<0x20?_0x38a95e(_0x12e3c1,_0x3d79a9):_0x5ba455[_0x54b087(0x1e6)](_0x12e3c1,_0x3d79a9);};}catch{}return se[_0x127d87(0x1ea)];}var ye,He;function Pt(){const _0x16db8b=_0x2b7756;if(He)return ye;He=0x1;const _0x4af8f4=Symbol(_0x16db8b(0x18d)),_0xa3122d=Symbol('kRun');class _0x38f4ad{constructor(_0x378c48){const _0x4475c6=_0x16db8b;this[_0x4af8f4]=()=>{const _0x5038d2=_0x46c0;this[_0x5038d2(0x25a)]--,this[_0xa3122d]();},this[_0x4475c6(0x15f)]=_0x378c48||0x1/0x0,this[_0x4475c6(0x165)]=[],this[_0x4475c6(0x25a)]=0x0;}[_0x16db8b(0x2f4)](_0x2b2f41){const _0x5db8ee=_0x16db8b;this[_0x5db8ee(0x165)][_0x5db8ee(0x299)](_0x2b2f41),this[_0xa3122d]();}[_0xa3122d](){const _0x4f32ca=_0x16db8b;if(this[_0x4f32ca(0x25a)]!==this[_0x4f32ca(0x15f)]&&this[_0x4f32ca(0x165)][_0x4f32ca(0x31d)]){const _0x43cba1=this[_0x4f32ca(0x165)][_0x4f32ca(0x311)]();this['pending']++,_0x43cba1(this[_0x4af8f4]);}}}return ye=_0x38f4ad,ye;}var ve,ze;function he(){const _0x4760a8=_0x2b7756;if(ze)return ve;ze=0x1;const _0x2aa35c=bt,_0x30994b=ce(),_0x414a1a=Pt(),{kStatusCode:_0x22143a}=H(),_0x533ec1=Buffer[Symbol[_0x4760a8(0x1a8)]],_0x511ae7=Buffer[_0x4760a8(0x291)]([0x0,0x0,0xff,0xff]),_0x563067=Symbol(_0x4760a8(0x193)),_0x33cbd7=Symbol('total-length'),_0x1c1ce0=Symbol(_0x4760a8(0x244)),_0x3fcf5f=Symbol(_0x4760a8(0x2b9)),_0x30202e=Symbol(_0x4760a8(0x161));let _0x20b204;class _0x347ca3{constructor(_0x2e2d32,_0x4c969f,_0x3fae34){const _0x56280d=_0x4760a8;if(this[_0x56280d(0x252)]=_0x3fae34|0x0,this[_0x56280d(0x22f)]=_0x2e2d32||{},this['_threshold']=this[_0x56280d(0x22f)]['threshold']!==void 0x0?this[_0x56280d(0x22f)][_0x56280d(0x284)]:0x400,this['_isServer']=!!_0x4c969f,this[_0x56280d(0x1a1)]=null,this[_0x56280d(0x1ca)]=null,this[_0x56280d(0x1ee)]=null,!_0x20b204){const _0x5e64b8=this['_options'][_0x56280d(0x198)]!==void 0x0?this[_0x56280d(0x22f)][_0x56280d(0x198)]:0xa;_0x20b204=new _0x414a1a(_0x5e64b8);}}static get[_0x4760a8(0x211)](){return'permessage-deflate';}[_0x4760a8(0x184)](){const _0x288d6f=_0x4760a8,_0x1c9948={};return this[_0x288d6f(0x22f)][_0x288d6f(0x1c7)]&&(_0x1c9948[_0x288d6f(0x2ae)]=!0x0),this[_0x288d6f(0x22f)]['clientNoContextTakeover']&&(_0x1c9948[_0x288d6f(0x2f7)]=!0x0),this['_options']['serverMaxWindowBits']&&(_0x1c9948[_0x288d6f(0x18f)]=this[_0x288d6f(0x22f)][_0x288d6f(0x286)]),this[_0x288d6f(0x22f)]['clientMaxWindowBits']?_0x1c9948[_0x288d6f(0x24c)]=this[_0x288d6f(0x22f)][_0x288d6f(0x15e)]:this[_0x288d6f(0x22f)][_0x288d6f(0x15e)]==null&&(_0x1c9948[_0x288d6f(0x24c)]=!0x0),_0x1c9948;}[_0x4760a8(0x1e5)](_0x235602){const _0x2b22e9=_0x4760a8;return _0x235602=this['normalizeParams'](_0x235602),this[_0x2b22e9(0x1ee)]=this[_0x2b22e9(0x229)]?this['acceptAsServer'](_0x235602):this['acceptAsClient'](_0x235602),this['params'];}[_0x4760a8(0x24a)](){const _0x2f7d85=_0x4760a8;if(this[_0x2f7d85(0x1ca)]&&(this['_inflate'][_0x2f7d85(0x203)](),this[_0x2f7d85(0x1ca)]=null),this['_deflate']){const _0x49a0b8=this[_0x2f7d85(0x1a1)][_0x1c1ce0];this[_0x2f7d85(0x1a1)][_0x2f7d85(0x203)](),this[_0x2f7d85(0x1a1)]=null,_0x49a0b8&&_0x49a0b8(new Error(_0x2f7d85(0x204)));}}[_0x4760a8(0x297)](_0x536959){const _0x373d32=_0x4760a8,_0x20d551=this['_options'],_0x2a34f8=_0x536959[_0x373d32(0x170)](_0x2069d1=>!(_0x20d551[_0x373d32(0x1c7)]===!0x1&&_0x2069d1[_0x373d32(0x2ae)]||_0x2069d1[_0x373d32(0x18f)]&&(_0x20d551[_0x373d32(0x286)]===!0x1||typeof _0x20d551['serverMaxWindowBits']==_0x373d32(0x25b)&&_0x20d551[_0x373d32(0x286)]>_0x2069d1[_0x373d32(0x18f)])||typeof _0x20d551[_0x373d32(0x15e)]=='number'&&!_0x2069d1[_0x373d32(0x24c)]));if(!_0x2a34f8)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x20d551['serverNoContextTakeover']&&(_0x2a34f8[_0x373d32(0x2ae)]=!0x0),_0x20d551[_0x373d32(0x20a)]&&(_0x2a34f8['client_no_context_takeover']=!0x0),typeof _0x20d551[_0x373d32(0x286)]==_0x373d32(0x25b)&&(_0x2a34f8[_0x373d32(0x18f)]=_0x20d551[_0x373d32(0x286)]),typeof _0x20d551[_0x373d32(0x15e)]==_0x373d32(0x25b)?_0x2a34f8['client_max_window_bits']=_0x20d551[_0x373d32(0x15e)]:(_0x2a34f8[_0x373d32(0x24c)]===!0x0||_0x20d551[_0x373d32(0x15e)]===!0x1)&&delete _0x2a34f8[_0x373d32(0x24c)],_0x2a34f8;}[_0x4760a8(0x1b1)](_0x25d5e){const _0x8fe2d8=_0x4760a8,_0x316a8a=_0x25d5e[0x0];if(this['_options']['clientNoContextTakeover']===!0x1&&_0x316a8a[_0x8fe2d8(0x2f7)])throw new Error(_0x8fe2d8(0x29b));if(!_0x316a8a[_0x8fe2d8(0x24c)])typeof this[_0x8fe2d8(0x22f)][_0x8fe2d8(0x15e)]=='number'&&(_0x316a8a[_0x8fe2d8(0x24c)]=this[_0x8fe2d8(0x22f)][_0x8fe2d8(0x15e)]);else{if(this['_options']['clientMaxWindowBits']===!0x1||typeof this[_0x8fe2d8(0x22f)][_0x8fe2d8(0x15e)]==_0x8fe2d8(0x25b)&&_0x316a8a['client_max_window_bits']>this['_options'][_0x8fe2d8(0x15e)])throw new Error(_0x8fe2d8(0x18e));}return _0x316a8a;}['normalizeParams'](_0xe8235f){const _0x4c15d8=_0x4760a8;return _0xe8235f[_0x4c15d8(0x1cb)](_0x36228b=>{const _0x3ae5fc=_0x4c15d8;Object[_0x3ae5fc(0x2d1)](_0x36228b)[_0x3ae5fc(0x1cb)](_0x2ebef4=>{const _0x46796f=_0x3ae5fc;let _0x5f1b01=_0x36228b[_0x2ebef4];if(_0x5f1b01['length']>0x1)throw new Error(_0x46796f(0x28a)+_0x2ebef4+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x5f1b01=_0x5f1b01[0x0],_0x2ebef4===_0x46796f(0x24c)){if(_0x5f1b01!==!0x0){const _0x42ab80=+_0x5f1b01;if(!Number[_0x46796f(0x29c)](_0x42ab80)||_0x42ab80<0x8||_0x42ab80>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x2ebef4+_0x46796f(0x17a)+_0x5f1b01);_0x5f1b01=_0x42ab80;}else{if(!this[_0x46796f(0x229)])throw new TypeError(_0x46796f(0x190)+_0x2ebef4+'\x22:\x20'+_0x5f1b01);}}else{if(_0x2ebef4===_0x46796f(0x18f)){const _0x378157=+_0x5f1b01;if(!Number[_0x46796f(0x29c)](_0x378157)||_0x378157<0x8||_0x378157>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x2ebef4+'\x22:\x20'+_0x5f1b01);_0x5f1b01=_0x378157;}else{if(_0x2ebef4===_0x46796f(0x2f7)||_0x2ebef4===_0x46796f(0x2ae)){if(_0x5f1b01!==!0x0)throw new TypeError(_0x46796f(0x190)+_0x2ebef4+_0x46796f(0x17a)+_0x5f1b01);}else throw new Error(_0x46796f(0x1f7)+_0x2ebef4+'\x22');}}_0x36228b[_0x2ebef4]=_0x5f1b01;});}),_0xe8235f;}[_0x4760a8(0x17b)](_0x1eeb13,_0x58980b,_0x22fbce){const _0x1d3a32=_0x4760a8;_0x20b204[_0x1d3a32(0x2f4)](_0x293385=>{const _0x107518=_0x1d3a32;this[_0x107518(0x2ad)](_0x1eeb13,_0x58980b,(_0x2ca076,_0x356346)=>{_0x293385(),_0x22fbce(_0x2ca076,_0x356346);});});}[_0x4760a8(0x1b4)](_0x2b5bd0,_0x39001d,_0x2aad6d){const _0x521a28=_0x4760a8;_0x20b204[_0x521a28(0x2f4)](_0x2e93c2=>{this['_compress'](_0x2b5bd0,_0x39001d,(_0x160a66,_0x7087e8)=>{_0x2e93c2(),_0x2aad6d(_0x160a66,_0x7087e8);});});}[_0x4760a8(0x2ad)](_0x26db0f,_0x4b53dd,_0x392f74){const _0x2b69c9=_0x4760a8,_0x843654=this[_0x2b69c9(0x229)]?_0x2b69c9(0x313):_0x2b69c9(0x233);if(!this[_0x2b69c9(0x1ca)]){const _0x23cbb0=_0x843654+_0x2b69c9(0x183),_0x26d3d8=typeof this[_0x2b69c9(0x1ee)][_0x23cbb0]!=_0x2b69c9(0x25b)?_0x2aa35c[_0x2b69c9(0x19d)]:this[_0x2b69c9(0x1ee)][_0x23cbb0];this['_inflate']=_0x2aa35c[_0x2b69c9(0x17c)]({...this[_0x2b69c9(0x22f)][_0x2b69c9(0x19a)],'windowBits':_0x26d3d8}),this[_0x2b69c9(0x1ca)][_0x563067]=this,this[_0x2b69c9(0x1ca)][_0x33cbd7]=0x0,this[_0x2b69c9(0x1ca)][_0x3fcf5f]=[],this[_0x2b69c9(0x1ca)]['on'](_0x2b69c9(0x161),_0x487403),this[_0x2b69c9(0x1ca)]['on']('data',_0x3c098d);}this[_0x2b69c9(0x1ca)][_0x1c1ce0]=_0x392f74,this[_0x2b69c9(0x1ca)]['write'](_0x26db0f),_0x4b53dd&&this[_0x2b69c9(0x1ca)][_0x2b69c9(0x1be)](_0x511ae7),this[_0x2b69c9(0x1ca)][_0x2b69c9(0x218)](()=>{const _0x331777=_0x2b69c9,_0x2d84db=this[_0x331777(0x1ca)][_0x30202e];if(_0x2d84db){this['_inflate'][_0x331777(0x203)](),this['_inflate']=null,_0x392f74(_0x2d84db);return;}const _0x56f84c=_0x30994b[_0x331777(0x1c9)](this[_0x331777(0x1ca)][_0x3fcf5f],this[_0x331777(0x1ca)][_0x33cbd7]);this[_0x331777(0x1ca)]['_readableState'][_0x331777(0x1c4)]?(this[_0x331777(0x1ca)][_0x331777(0x203)](),this[_0x331777(0x1ca)]=null):(this[_0x331777(0x1ca)][_0x33cbd7]=0x0,this[_0x331777(0x1ca)][_0x3fcf5f]=[],_0x4b53dd&&this[_0x331777(0x1ee)][_0x843654+_0x331777(0x26d)]&&this[_0x331777(0x1ca)][_0x331777(0x2d2)]()),_0x392f74(null,_0x56f84c);});}[_0x4760a8(0x1e1)](_0x322fcd,_0x12ef29,_0x199c40){const _0x2cd0e9=_0x4760a8,_0x5ac82b=this['_isServer']?_0x2cd0e9(0x233):_0x2cd0e9(0x313);if(!this[_0x2cd0e9(0x1a1)]){const _0x50507f=_0x5ac82b+_0x2cd0e9(0x183),_0x217908=typeof this[_0x2cd0e9(0x1ee)][_0x50507f]!=_0x2cd0e9(0x25b)?_0x2aa35c['Z_DEFAULT_WINDOWBITS']:this['params'][_0x50507f];this[_0x2cd0e9(0x1a1)]=_0x2aa35c[_0x2cd0e9(0x1ed)]({...this['_options']['zlibDeflateOptions'],'windowBits':_0x217908}),this['_deflate'][_0x33cbd7]=0x0,this['_deflate'][_0x3fcf5f]=[],this[_0x2cd0e9(0x1a1)]['on'](_0x2cd0e9(0x214),_0xf080ff);}this[_0x2cd0e9(0x1a1)][_0x1c1ce0]=_0x199c40,this['_deflate']['write'](_0x322fcd),this[_0x2cd0e9(0x1a1)][_0x2cd0e9(0x218)](_0x2aa35c[_0x2cd0e9(0x16a)],()=>{const _0x50879c=_0x2cd0e9;if(!this[_0x50879c(0x1a1)])return;let _0x36f238=_0x30994b['concat'](this[_0x50879c(0x1a1)][_0x3fcf5f],this[_0x50879c(0x1a1)][_0x33cbd7]);_0x12ef29&&(_0x36f238=new _0x533ec1(_0x36f238[_0x50879c(0x248)],_0x36f238[_0x50879c(0x303)],_0x36f238['length']-0x4)),this['_deflate'][_0x1c1ce0]=null,this['_deflate'][_0x33cbd7]=0x0,this['_deflate'][_0x3fcf5f]=[],_0x12ef29&&this[_0x50879c(0x1ee)][_0x5ac82b+_0x50879c(0x26d)]&&this['_deflate'][_0x50879c(0x2d2)](),_0x199c40(null,_0x36f238);});}}ve=_0x347ca3;function _0xf080ff(_0x5c69f4){const _0x1565bf=_0x4760a8;this[_0x3fcf5f][_0x1565bf(0x299)](_0x5c69f4),this[_0x33cbd7]+=_0x5c69f4[_0x1565bf(0x31d)];}function _0x3c098d(_0x4b7f94){const _0x159a34=_0x4760a8;if(this[_0x33cbd7]+=_0x4b7f94['length'],this[_0x563067][_0x159a34(0x252)]<0x1||this[_0x33cbd7]<=this[_0x563067][_0x159a34(0x252)]){this[_0x3fcf5f][_0x159a34(0x299)](_0x4b7f94);return;}this[_0x30202e]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x30202e][_0x159a34(0x2a4)]=_0x159a34(0x1a4),this[_0x30202e][_0x22143a]=0x3f1,this[_0x159a34(0x236)](_0x159a34(0x214),_0x3c098d),this[_0x159a34(0x2d2)]();}function _0x487403(_0x118399){const _0x445787=_0x4760a8;if(this[_0x563067][_0x445787(0x1ca)]=null,this[_0x30202e]){this[_0x1c1ce0](this[_0x30202e]);return;}_0x118399[_0x22143a]=0x3ef,this[_0x1c1ce0](_0x118399);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x2b7756(0x228)](Object[_0x2b7756(0x31e)]({'__proto__':null,'default':Dt},Symbol[_0x2b7756(0x2a7)],{'value':_0x2b7756(0x27b)})),Bt=at(Rt);var Ye;function ae(){const _0x1f7ce8=_0x2b7756;if(Ye)return ie[_0x1f7ce8(0x1ea)];Ye=0x1;const {isUtf8:_0x8087d0}=wt,{hasBlob:_0x24f89b}=H(),_0x20c677=[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 _0x7c4bd0(_0x49caed){return _0x49caed>=0x3e8&&_0x49caed<=0x3f6&&_0x49caed!==0x3ec&&_0x49caed!==0x3ed&&_0x49caed!==0x3ee||_0x49caed>=0xbb8&&_0x49caed<=0x1387;}function _0x52335b(_0x2da238){const _0x4c49a4=_0x1f7ce8,_0x46b5f2=_0x2da238[_0x4c49a4(0x31d)];let _0xac1272=0x0;for(;_0xac1272<_0x46b5f2;)if((_0x2da238[_0xac1272]&0x80)===0x0)_0xac1272++;else{if((_0x2da238[_0xac1272]&0xe0)===0xc0){if(_0xac1272+0x1===_0x46b5f2||(_0x2da238[_0xac1272+0x1]&0xc0)!==0x80||(_0x2da238[_0xac1272]&0xfe)===0xc0)return!0x1;_0xac1272+=0x2;}else{if((_0x2da238[_0xac1272]&0xf0)===0xe0){if(_0xac1272+0x2>=_0x46b5f2||(_0x2da238[_0xac1272+0x1]&0xc0)!==0x80||(_0x2da238[_0xac1272+0x2]&0xc0)!==0x80||_0x2da238[_0xac1272]===0xe0&&(_0x2da238[_0xac1272+0x1]&0xe0)===0x80||_0x2da238[_0xac1272]===0xed&&(_0x2da238[_0xac1272+0x1]&0xe0)===0xa0)return!0x1;_0xac1272+=0x3;}else{if((_0x2da238[_0xac1272]&0xf8)===0xf0){if(_0xac1272+0x3>=_0x46b5f2||(_0x2da238[_0xac1272+0x1]&0xc0)!==0x80||(_0x2da238[_0xac1272+0x2]&0xc0)!==0x80||(_0x2da238[_0xac1272+0x3]&0xc0)!==0x80||_0x2da238[_0xac1272]===0xf0&&(_0x2da238[_0xac1272+0x1]&0xf0)===0x80||_0x2da238[_0xac1272]===0xf4&&_0x2da238[_0xac1272+0x1]>0x8f||_0x2da238[_0xac1272]>0xf4)return!0x1;_0xac1272+=0x4;}else return!0x1;}}}return!0x0;}function _0x598c52(_0x25c3cd){const _0x856373=_0x1f7ce8;return _0x24f89b&&typeof _0x25c3cd==_0x856373(0x1db)&&typeof _0x25c3cd['arrayBuffer']==_0x856373(0x1f1)&&typeof _0x25c3cd[_0x856373(0x16f)]=='string'&&typeof _0x25c3cd[_0x856373(0x180)]==_0x856373(0x1f1)&&(_0x25c3cd[Symbol[_0x856373(0x2a7)]]==='Blob'||_0x25c3cd[Symbol['toStringTag']]===_0x856373(0x2da));}if(ie[_0x1f7ce8(0x1ea)]={'isBlob':_0x598c52,'isValidStatusCode':_0x7c4bd0,'isValidUTF8':_0x52335b,'tokenChars':_0x20c677},_0x8087d0)ie[_0x1f7ce8(0x1ea)][_0x1f7ce8(0x2bf)]=function(_0x52c02d){const _0x104fab=_0x1f7ce8;return _0x52c02d[_0x104fab(0x31d)]<0x18?_0x52335b(_0x52c02d):_0x8087d0(_0x52c02d);};else{if(!process['env'][_0x1f7ce8(0x269)])try{const _0x50058b=Bt;ie['exports'][_0x1f7ce8(0x2bf)]=function(_0x34701e){return _0x34701e['length']<0x20?_0x52335b(_0x34701e):_0x50058b(_0x34701e);};}catch{}}return ie['exports'];}var Se,Ke;function lt(){const _0x3f3b10=_0x2b7756;if(Ke)return Se;Ke=0x1;const {Writable:_0x58b8ed}=oe,_0x4e8bed=he(),{BINARY_TYPES:_0x2fb12c,EMPTY_BUFFER:_0x43a7f3,kStatusCode:_0x43e99b,kWebSocket:_0x3372f3}=H(),{concat:_0x175823,toArrayBuffer:_0x431d2f,unmask:_0x291855}=ce(),{isValidStatusCode:_0x18e3a6,isValidUTF8:_0x418e33}=ae(),_0x67b90c=Buffer[Symbol[_0x3f3b10(0x1a8)]],_0x5063c4=0x0,_0x3bfe83=0x1,_0x51bb72=0x2,_0x171291=0x3,_0x347c24=0x4,_0x1a728c=0x5,_0x343c0f=0x6;class _0x514628 extends _0x58b8ed{constructor(_0x397847={}){const _0x49a8d3=_0x3f3b10;super(),this[_0x49a8d3(0x2c0)]=_0x397847[_0x49a8d3(0x315)]!==void 0x0?_0x397847[_0x49a8d3(0x315)]:!0x0,this[_0x49a8d3(0x2ac)]=_0x397847[_0x49a8d3(0x31f)]||_0x2fb12c[0x0],this[_0x49a8d3(0x2f1)]=_0x397847[_0x49a8d3(0x2af)]||{},this[_0x49a8d3(0x229)]=!!_0x397847[_0x49a8d3(0x1a6)],this[_0x49a8d3(0x252)]=_0x397847[_0x49a8d3(0x156)]|0x0,this[_0x49a8d3(0x200)]=!!_0x397847[_0x49a8d3(0x231)],this[_0x3372f3]=void 0x0,this[_0x49a8d3(0x1b7)]=0x0,this['_buffers']=[],this[_0x49a8d3(0x272)]=!0x1,this[_0x49a8d3(0x288)]=0x0,this[_0x49a8d3(0x213)]=void 0x0,this[_0x49a8d3(0x2bc)]=0x0,this['_masked']=!0x1,this[_0x49a8d3(0x2cb)]=!0x1,this[_0x49a8d3(0x1b9)]=0x0,this[_0x49a8d3(0x2c1)]=0x0,this[_0x49a8d3(0x23d)]=0x0,this[_0x49a8d3(0x1b2)]=[],this[_0x49a8d3(0x19c)]=!0x1,this[_0x49a8d3(0x273)]=!0x1,this[_0x49a8d3(0x216)]=_0x5063c4;}[_0x3f3b10(0x1ac)](_0x59cdce,_0x2dccf1,_0x4c3c53){const _0x3b0fa4=_0x3f3b10;if(this[_0x3b0fa4(0x1b9)]===0x8&&this[_0x3b0fa4(0x216)]==_0x5063c4)return _0x4c3c53();this[_0x3b0fa4(0x1b7)]+=_0x59cdce[_0x3b0fa4(0x31d)],this[_0x3b0fa4(0x258)][_0x3b0fa4(0x299)](_0x59cdce),this[_0x3b0fa4(0x2c8)](_0x4c3c53);}[_0x3f3b10(0x1a2)](_0x28f66b){const _0x19b331=_0x3f3b10;if(this['_bufferedBytes']-=_0x28f66b,_0x28f66b===this['_buffers'][0x0][_0x19b331(0x31d)])return this['_buffers']['shift']();if(_0x28f66b<this['_buffers'][0x0][_0x19b331(0x31d)]){const _0x113fd3=this[_0x19b331(0x258)][0x0];return this[_0x19b331(0x258)][0x0]=new _0x67b90c(_0x113fd3[_0x19b331(0x248)],_0x113fd3[_0x19b331(0x303)]+_0x28f66b,_0x113fd3[_0x19b331(0x31d)]-_0x28f66b),new _0x67b90c(_0x113fd3[_0x19b331(0x248)],_0x113fd3['byteOffset'],_0x28f66b);}const _0xef97ba=Buffer[_0x19b331(0x2c3)](_0x28f66b);do{const _0x3686cd=this[_0x19b331(0x258)][0x0],_0x4136d7=_0xef97ba[_0x19b331(0x31d)]-_0x28f66b;_0x28f66b>=_0x3686cd[_0x19b331(0x31d)]?_0xef97ba[_0x19b331(0x2e4)](this[_0x19b331(0x258)][_0x19b331(0x311)](),_0x4136d7):(_0xef97ba['set'](new Uint8Array(_0x3686cd['buffer'],_0x3686cd[_0x19b331(0x303)],_0x28f66b),_0x4136d7),this[_0x19b331(0x258)][0x0]=new _0x67b90c(_0x3686cd['buffer'],_0x3686cd[_0x19b331(0x303)]+_0x28f66b,_0x3686cd[_0x19b331(0x31d)]-_0x28f66b)),_0x28f66b-=_0x3686cd['length'];}while(_0x28f66b>0x0);return _0xef97ba;}[_0x3f3b10(0x2c8)](_0x174820){const _0x49d61e=_0x3f3b10;this[_0x49d61e(0x273)]=!0x0;do switch(this['_state']){case _0x5063c4:this[_0x49d61e(0x234)](_0x174820);break;case _0x3bfe83:this[_0x49d61e(0x16d)](_0x174820);break;case _0x51bb72:this[_0x49d61e(0x290)](_0x174820);break;case _0x171291:this['getMask']();break;case _0x347c24:this[_0x49d61e(0x317)](_0x174820);break;case _0x1a728c:case _0x343c0f:this[_0x49d61e(0x273)]=!0x1;return;}while(this['_loop']);this['_errored']||_0x174820();}[_0x3f3b10(0x234)](_0x2803dc){const _0x440a86=_0x3f3b10;if(this[_0x440a86(0x1b7)]<0x2){this[_0x440a86(0x273)]=!0x1;return;}const _0x1bce73=this[_0x440a86(0x1a2)](0x2);if((_0x1bce73[0x0]&0x30)!==0x0){const _0x497efe=this['createError'](RangeError,_0x440a86(0x1f6),!0x0,0x3ea,_0x440a86(0x307));_0x2803dc(_0x497efe);return;}const _0x3bc55b=(_0x1bce73[0x0]&0x40)===0x40;if(_0x3bc55b&&!this[_0x440a86(0x2f1)][_0x4e8bed['extensionName']]){const _0x2fbfbc=this[_0x440a86(0x28b)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x440a86(0x29d));_0x2803dc(_0x2fbfbc);return;}if(this[_0x440a86(0x2cb)]=(_0x1bce73[0x0]&0x80)===0x80,this[_0x440a86(0x1b9)]=_0x1bce73[0x0]&0xf,this[_0x440a86(0x288)]=_0x1bce73[0x1]&0x7f,this['_opcode']===0x0){if(_0x3bc55b){const _0x47dbb8=this[_0x440a86(0x28b)](RangeError,_0x440a86(0x22b),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x2803dc(_0x47dbb8);return;}if(!this['_fragmented']){const _0x3aa658=this[_0x440a86(0x28b)](RangeError,_0x440a86(0x25f),!0x0,0x3ea,_0x440a86(0x2e5));_0x2803dc(_0x3aa658);return;}this[_0x440a86(0x1b9)]=this[_0x440a86(0x2bc)];}else{if(this[_0x440a86(0x1b9)]===0x1||this[_0x440a86(0x1b9)]===0x2){if(this['_fragmented']){const _0x439dd7=this[_0x440a86(0x28b)](RangeError,_0x440a86(0x1f5)+this['_opcode'],!0x0,0x3ea,_0x440a86(0x2e5));_0x2803dc(_0x439dd7);return;}this[_0x440a86(0x272)]=_0x3bc55b;}else{if(this[_0x440a86(0x1b9)]>0x7&&this[_0x440a86(0x1b9)]<0xb){if(!this[_0x440a86(0x2cb)]){const _0x153260=this['createError'](RangeError,_0x440a86(0x188),!0x0,0x3ea,_0x440a86(0x17f));_0x2803dc(_0x153260);return;}if(_0x3bc55b){const _0x26edea=this['createError'](RangeError,_0x440a86(0x22b),!0x0,0x3ea,_0x440a86(0x29d));_0x2803dc(_0x26edea);return;}if(this[_0x440a86(0x288)]>0x7d||this[_0x440a86(0x1b9)]===0x8&&this[_0x440a86(0x288)]===0x1){const _0x5c6962=this[_0x440a86(0x28b)](RangeError,_0x440a86(0x281)+this[_0x440a86(0x288)],!0x0,0x3ea,_0x440a86(0x1f2));_0x2803dc(_0x5c6962);return;}}else{const _0x546973=this[_0x440a86(0x28b)](RangeError,_0x440a86(0x1f5)+this['_opcode'],!0x0,0x3ea,_0x440a86(0x2e5));_0x2803dc(_0x546973);return;}}}if(!this['_fin']&&!this['_fragmented']&&(this['_fragmented']=this[_0x440a86(0x1b9)]),this[_0x440a86(0x324)]=(_0x1bce73[0x1]&0x80)===0x80,this[_0x440a86(0x229)]){if(!this[_0x440a86(0x324)]){const _0x322c96=this[_0x440a86(0x28b)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x440a86(0x1c0));_0x2803dc(_0x322c96);return;}}else{if(this[_0x440a86(0x324)]){const _0x2049ea=this[_0x440a86(0x28b)](RangeError,_0x440a86(0x2ce),!0x0,0x3ea,_0x440a86(0x30e));_0x2803dc(_0x2049ea);return;}}this['_payloadLength']===0x7e?this['_state']=_0x3bfe83:this[_0x440a86(0x288)]===0x7f?this['_state']=_0x51bb72:this[_0x440a86(0x22c)](_0x2803dc);}[_0x3f3b10(0x16d)](_0x58fd38){const _0x14060b=_0x3f3b10;if(this[_0x14060b(0x1b7)]<0x2){this[_0x14060b(0x273)]=!0x1;return;}this[_0x14060b(0x288)]=this[_0x14060b(0x1a2)](0x2)[_0x14060b(0x30c)](0x0),this['haveLength'](_0x58fd38);}[_0x3f3b10(0x290)](_0x2544e0){const _0x3b7018=_0x3f3b10;if(this[_0x3b7018(0x1b7)]<0x8){this[_0x3b7018(0x273)]=!0x1;return;}const _0x5d769f=this[_0x3b7018(0x1a2)](0x8),_0x27fbab=_0x5d769f[_0x3b7018(0x15a)](0x0);if(_0x27fbab>Math['pow'](0x2,0x15)-0x1){const _0x2fd34d=this[_0x3b7018(0x28b)](RangeError,_0x3b7018(0x2bb),!0x1,0x3f1,_0x3b7018(0x215));_0x2544e0(_0x2fd34d);return;}this['_payloadLength']=_0x27fbab*Math[_0x3b7018(0x1de)](0x2,0x20)+_0x5d769f[_0x3b7018(0x15a)](0x4),this['haveLength'](_0x2544e0);}[_0x3f3b10(0x22c)](_0x5cdd97){const _0x2784dc=_0x3f3b10;if(this[_0x2784dc(0x288)]&&this[_0x2784dc(0x1b9)]<0x8&&(this['_totalPayloadLength']+=this[_0x2784dc(0x288)],this['_totalPayloadLength']>this[_0x2784dc(0x252)]&&this[_0x2784dc(0x252)]>0x0)){const _0x2bb030=this[_0x2784dc(0x28b)](RangeError,_0x2784dc(0x21a),!0x1,0x3f1,_0x2784dc(0x1a4));_0x5cdd97(_0x2bb030);return;}this[_0x2784dc(0x324)]?this[_0x2784dc(0x216)]=_0x171291:this[_0x2784dc(0x216)]=_0x347c24;}[_0x3f3b10(0x298)](){const _0x48a7ce=_0x3f3b10;if(this[_0x48a7ce(0x1b7)]<0x4){this['_loop']=!0x1;return;}this['_mask']=this[_0x48a7ce(0x1a2)](0x4),this[_0x48a7ce(0x216)]=_0x347c24;}[_0x3f3b10(0x317)](_0x142670){const _0xc0b98e=_0x3f3b10;let _0x509484=_0x43a7f3;if(this[_0xc0b98e(0x288)]){if(this[_0xc0b98e(0x1b7)]<this[_0xc0b98e(0x288)]){this['_loop']=!0x1;return;}_0x509484=this[_0xc0b98e(0x1a2)](this[_0xc0b98e(0x288)]),this[_0xc0b98e(0x324)]&&(this[_0xc0b98e(0x213)][0x0]|this[_0xc0b98e(0x213)][0x1]|this['_mask'][0x2]|this[_0xc0b98e(0x213)][0x3])!==0x0&&_0x291855(_0x509484,this[_0xc0b98e(0x213)]);}if(this[_0xc0b98e(0x1b9)]>0x7){this['controlMessage'](_0x509484,_0x142670);return;}if(this['_compressed']){this[_0xc0b98e(0x216)]=_0x1a728c,this[_0xc0b98e(0x17b)](_0x509484,_0x142670);return;}_0x509484[_0xc0b98e(0x31d)]&&(this['_messageLength']=this[_0xc0b98e(0x2c1)],this[_0xc0b98e(0x1b2)]['push'](_0x509484)),this['dataMessage'](_0x142670);}[_0x3f3b10(0x17b)](_0x5a013d,_0x132341){const _0xe4b9f6=_0x3f3b10;this['_extensions'][_0x4e8bed[_0xe4b9f6(0x211)]][_0xe4b9f6(0x17b)](_0x5a013d,this['_fin'],(_0x1a07d2,_0x3a4dda)=>{const _0x2e8d6c=_0xe4b9f6;if(_0x1a07d2)return _0x132341(_0x1a07d2);if(_0x3a4dda[_0x2e8d6c(0x31d)]){if(this[_0x2e8d6c(0x23d)]+=_0x3a4dda[_0x2e8d6c(0x31d)],this[_0x2e8d6c(0x23d)]>this[_0x2e8d6c(0x252)]&&this[_0x2e8d6c(0x252)]>0x0){const _0x3f6f71=this[_0x2e8d6c(0x28b)](RangeError,_0x2e8d6c(0x21a),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x132341(_0x3f6f71);return;}this[_0x2e8d6c(0x1b2)][_0x2e8d6c(0x299)](_0x3a4dda);}this[_0x2e8d6c(0x2a0)](_0x132341),this[_0x2e8d6c(0x216)]===_0x5063c4&&this[_0x2e8d6c(0x2c8)](_0x132341);});}[_0x3f3b10(0x2a0)](_0x3cdeb2){const _0xae06b9=_0x3f3b10;if(!this[_0xae06b9(0x2cb)]){this['_state']=_0x5063c4;return;}const _0x389cdd=this[_0xae06b9(0x23d)],_0x1ea4fb=this[_0xae06b9(0x1b2)];if(this['_totalPayloadLength']=0x0,this[_0xae06b9(0x23d)]=0x0,this['_fragmented']=0x0,this['_fragments']=[],this[_0xae06b9(0x1b9)]===0x2){let _0x3ced5b;this[_0xae06b9(0x2ac)]==='nodebuffer'?_0x3ced5b=_0x175823(_0x1ea4fb,_0x389cdd):this[_0xae06b9(0x2ac)]===_0xae06b9(0x1b6)?_0x3ced5b=_0x431d2f(_0x175823(_0x1ea4fb,_0x389cdd)):this[_0xae06b9(0x2ac)]==='blob'?_0x3ced5b=new Blob(_0x1ea4fb):_0x3ced5b=_0x1ea4fb,this[_0xae06b9(0x2c0)]?(this[_0xae06b9(0x293)](_0xae06b9(0x192),_0x3ced5b,!0x0),this[_0xae06b9(0x216)]=_0x5063c4):(this[_0xae06b9(0x216)]=_0x343c0f,setImmediate(()=>{const _0x3728e5=_0xae06b9;this[_0x3728e5(0x293)](_0x3728e5(0x192),_0x3ced5b,!0x0),this['_state']=_0x5063c4,this[_0x3728e5(0x2c8)](_0x3cdeb2);}));}else{const _0x1a6504=_0x175823(_0x1ea4fb,_0x389cdd);if(!this[_0xae06b9(0x200)]&&!_0x418e33(_0x1a6504)){const _0x1b9cdf=this[_0xae06b9(0x28b)](Error,_0xae06b9(0x325),!0x0,0x3ef,_0xae06b9(0x1f8));_0x3cdeb2(_0x1b9cdf);return;}this['_state']===_0x1a728c||this['_allowSynchronousEvents']?(this['emit'](_0xae06b9(0x192),_0x1a6504,!0x1),this[_0xae06b9(0x216)]=_0x5063c4):(this[_0xae06b9(0x216)]=_0x343c0f,setImmediate(()=>{const _0x279abe=_0xae06b9;this['emit'](_0x279abe(0x192),_0x1a6504,!0x1),this[_0x279abe(0x216)]=_0x5063c4,this[_0x279abe(0x2c8)](_0x3cdeb2);}));}}[_0x3f3b10(0x275)](_0x31c9b2,_0x10a919){const _0x33a867=_0x3f3b10;if(this[_0x33a867(0x1b9)]===0x8){if(_0x31c9b2[_0x33a867(0x31d)]===0x0)this['_loop']=!0x1,this[_0x33a867(0x293)](_0x33a867(0x302),0x3ed,_0x43a7f3),this['end']();else{const _0x4a217=_0x31c9b2[_0x33a867(0x30c)](0x0);if(!_0x18e3a6(_0x4a217)){const _0x2a4bed=this[_0x33a867(0x28b)](RangeError,_0x33a867(0x26c)+_0x4a217,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x10a919(_0x2a4bed);return;}const _0x29efbc=new _0x67b90c(_0x31c9b2[_0x33a867(0x248)],_0x31c9b2['byteOffset']+0x2,_0x31c9b2[_0x33a867(0x31d)]-0x2);if(!this[_0x33a867(0x200)]&&!_0x418e33(_0x29efbc)){const _0x492c6d=this[_0x33a867(0x28b)](Error,_0x33a867(0x325),!0x0,0x3ef,_0x33a867(0x1f8));_0x10a919(_0x492c6d);return;}this[_0x33a867(0x273)]=!0x1,this[_0x33a867(0x293)](_0x33a867(0x302),_0x4a217,_0x29efbc),this[_0x33a867(0x1dc)]();}this[_0x33a867(0x216)]=_0x5063c4;return;}this[_0x33a867(0x2c0)]?(this[_0x33a867(0x293)](this[_0x33a867(0x1b9)]===0x9?'ping':_0x33a867(0x2d9),_0x31c9b2),this[_0x33a867(0x216)]=_0x5063c4):(this[_0x33a867(0x216)]=_0x343c0f,setImmediate(()=>{const _0x427c1c=_0x33a867;this[_0x427c1c(0x293)](this[_0x427c1c(0x1b9)]===0x9?_0x427c1c(0x181):'pong',_0x31c9b2),this['_state']=_0x5063c4,this[_0x427c1c(0x2c8)](_0x10a919);}));}['createError'](_0x2aee64,_0x2fa850,_0x50a920,_0x2bc485,_0x316b2d){const _0x34e282=_0x3f3b10;this[_0x34e282(0x273)]=!0x1,this[_0x34e282(0x19c)]=!0x0;const _0x10d492=new _0x2aee64(_0x50a920?_0x34e282(0x2e6)+_0x2fa850:_0x2fa850);return Error[_0x34e282(0x185)](_0x10d492,this[_0x34e282(0x28b)]),_0x10d492['code']=_0x316b2d,_0x10d492[_0x43e99b]=_0x2bc485,_0x10d492;}}return Se=_0x514628,Se;}var Ee,Xe;function ft(){const _0x577c91=_0x2b7756;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x45515c}=oe,{randomFillSync:_0x3ec5f1}=Le,_0x404203=he(),{EMPTY_BUFFER:_0x3a7cee,kWebSocket:_0x216ece,NOOP:_0x5153fc}=H(),{isBlob:_0x4954a2,isValidStatusCode:_0x4acc58}=ae(),{mask:_0x5c3cca,toBuffer:_0x2e4eb1}=ce(),_0x13f793=Symbol(_0x577c91(0x1a9)),_0x29f33d=Buffer[_0x577c91(0x1c1)](0x4),_0x1092cd=0x8*0x400;let _0x10438e,_0x5b9004=_0x1092cd;const _0x3db61a=0x0,_0x3b9d68=0x1,_0x48ce18=0x2;class _0x264188{constructor(_0x363a03,_0x3ce803,_0x5a2d8d){const _0x342502=_0x577c91;this[_0x342502(0x2f1)]=_0x3ce803||{},_0x5a2d8d&&(this[_0x342502(0x29e)]=_0x5a2d8d,this['_maskBuffer']=Buffer[_0x342502(0x1c1)](0x4)),this[_0x342502(0x2fa)]=_0x363a03,this[_0x342502(0x1d6)]=!0x0,this['_compress']=!0x1,this['_bufferedBytes']=0x0,this[_0x342502(0x2f8)]=[],this[_0x342502(0x216)]=_0x3db61a,this[_0x342502(0x25d)]=_0x5153fc,this[_0x216ece]=void 0x0;}static[_0x577c91(0x296)](_0x4878d3,_0x21788e){const _0x23f20e=_0x577c91;let _0x38ffa9,_0x5b3672=!0x1,_0x23a61c=0x2,_0x44bb48=!0x1;_0x21788e[_0x23f20e(0x1ec)]&&(_0x38ffa9=_0x21788e[_0x23f20e(0x289)]||_0x29f33d,_0x21788e[_0x23f20e(0x260)]?_0x21788e['generateMask'](_0x38ffa9):(_0x5b9004===_0x1092cd&&(_0x10438e===void 0x0&&(_0x10438e=Buffer[_0x23f20e(0x1c1)](_0x1092cd)),_0x3ec5f1(_0x10438e,0x0,_0x1092cd),_0x5b9004=0x0),_0x38ffa9[0x0]=_0x10438e[_0x5b9004++],_0x38ffa9[0x1]=_0x10438e[_0x5b9004++],_0x38ffa9[0x2]=_0x10438e[_0x5b9004++],_0x38ffa9[0x3]=_0x10438e[_0x5b9004++]),_0x44bb48=(_0x38ffa9[0x0]|_0x38ffa9[0x1]|_0x38ffa9[0x2]|_0x38ffa9[0x3])===0x0,_0x23a61c=0x6);let _0x514252;typeof _0x4878d3==_0x23f20e(0x2d5)?(!_0x21788e['mask']||_0x44bb48)&&_0x21788e[_0x13f793]!==void 0x0?_0x514252=_0x21788e[_0x13f793]:(_0x4878d3=Buffer[_0x23f20e(0x291)](_0x4878d3),_0x514252=_0x4878d3[_0x23f20e(0x31d)]):(_0x514252=_0x4878d3[_0x23f20e(0x31d)],_0x5b3672=_0x21788e[_0x23f20e(0x1ec)]&&_0x21788e[_0x23f20e(0x304)]&&!_0x44bb48);let _0x367d9b=_0x514252;_0x514252>=0x10000?(_0x23a61c+=0x8,_0x367d9b=0x7f):_0x514252>0x7d&&(_0x23a61c+=0x2,_0x367d9b=0x7e);const _0x271481=Buffer[_0x23f20e(0x2c3)](_0x5b3672?_0x514252+_0x23a61c:_0x23a61c);return _0x271481[0x0]=_0x21788e['fin']?_0x21788e['opcode']|0x80:_0x21788e['opcode'],_0x21788e[_0x23f20e(0x2e2)]&&(_0x271481[0x0]|=0x40),_0x271481[0x1]=_0x367d9b,_0x367d9b===0x7e?_0x271481[_0x23f20e(0x1f4)](_0x514252,0x2):_0x367d9b===0x7f&&(_0x271481[0x2]=_0x271481[0x3]=0x0,_0x271481[_0x23f20e(0x2bd)](_0x514252,0x4,0x6)),_0x21788e[_0x23f20e(0x1ec)]?(_0x271481[0x1]|=0x80,_0x271481[_0x23a61c-0x4]=_0x38ffa9[0x0],_0x271481[_0x23a61c-0x3]=_0x38ffa9[0x1],_0x271481[_0x23a61c-0x2]=_0x38ffa9[0x2],_0x271481[_0x23a61c-0x1]=_0x38ffa9[0x3],_0x44bb48?[_0x271481,_0x4878d3]:_0x5b3672?(_0x5c3cca(_0x4878d3,_0x38ffa9,_0x271481,_0x23a61c,_0x514252),[_0x271481]):(_0x5c3cca(_0x4878d3,_0x38ffa9,_0x4878d3,0x0,_0x514252),[_0x271481,_0x4878d3])):[_0x271481,_0x4878d3];}[_0x577c91(0x203)](_0x23c656,_0x23d079,_0x5d3f3f,_0x3580e1){const _0x271a95=_0x577c91;let _0x323bd2;if(_0x23c656===void 0x0)_0x323bd2=_0x3a7cee;else{if(typeof _0x23c656!='number'||!_0x4acc58(_0x23c656))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x23d079===void 0x0||!_0x23d079[_0x271a95(0x31d)])_0x323bd2=Buffer['allocUnsafe'](0x2),_0x323bd2[_0x271a95(0x1f4)](_0x23c656,0x0);else{const _0x2cd29c=Buffer['byteLength'](_0x23d079);if(_0x2cd29c>0x7b)throw new RangeError(_0x271a95(0x20d));_0x323bd2=Buffer['allocUnsafe'](0x2+_0x2cd29c),_0x323bd2['writeUInt16BE'](_0x23c656,0x0),typeof _0x23d079=='string'?_0x323bd2['write'](_0x23d079,0x2):_0x323bd2[_0x271a95(0x2e4)](_0x23d079,0x2);}}const _0x44eda7={[_0x13f793]:_0x323bd2['length'],'fin':!0x0,'generateMask':this[_0x271a95(0x29e)],'mask':_0x5d3f3f,'maskBuffer':this[_0x271a95(0x1ff)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x271a95(0x216)]!==_0x3db61a?this[_0x271a95(0x2ba)]([this[_0x271a95(0x262)],_0x323bd2,!0x1,_0x44eda7,_0x3580e1]):this['sendFrame'](_0x264188['frame'](_0x323bd2,_0x44eda7),_0x3580e1);}[_0x577c91(0x181)](_0x34c922,_0x35ed7e,_0x3ce782){const _0x3336c0=_0x577c91;let _0x57da7e,_0x204a43;if(typeof _0x34c922==_0x3336c0(0x2d5)?(_0x57da7e=Buffer[_0x3336c0(0x294)](_0x34c922),_0x204a43=!0x1):_0x4954a2(_0x34c922)?(_0x57da7e=_0x34c922['size'],_0x204a43=!0x1):(_0x34c922=_0x2e4eb1(_0x34c922),_0x57da7e=_0x34c922[_0x3336c0(0x31d)],_0x204a43=_0x2e4eb1[_0x3336c0(0x304)]),_0x57da7e>0x7d)throw new RangeError(_0x3336c0(0x31c));const _0x1a851d={[_0x13f793]:_0x57da7e,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x35ed7e,'maskBuffer':this[_0x3336c0(0x1ff)],'opcode':0x9,'readOnly':_0x204a43,'rsv1':!0x1};_0x4954a2(_0x34c922)?this[_0x3336c0(0x216)]!==_0x3db61a?this[_0x3336c0(0x2ba)]([this['getBlobData'],_0x34c922,!0x1,_0x1a851d,_0x3ce782]):this[_0x3336c0(0x201)](_0x34c922,!0x1,_0x1a851d,_0x3ce782):this[_0x3336c0(0x216)]!==_0x3db61a?this[_0x3336c0(0x2ba)]([this[_0x3336c0(0x262)],_0x34c922,!0x1,_0x1a851d,_0x3ce782]):this['sendFrame'](_0x264188['frame'](_0x34c922,_0x1a851d),_0x3ce782);}[_0x577c91(0x2d9)](_0xcd460f,_0x1fd504,_0x86a7be){const _0x9495e5=_0x577c91;let _0x39fa77,_0x42f82d;if(typeof _0xcd460f==_0x9495e5(0x2d5)?(_0x39fa77=Buffer[_0x9495e5(0x294)](_0xcd460f),_0x42f82d=!0x1):_0x4954a2(_0xcd460f)?(_0x39fa77=_0xcd460f[_0x9495e5(0x249)],_0x42f82d=!0x1):(_0xcd460f=_0x2e4eb1(_0xcd460f),_0x39fa77=_0xcd460f[_0x9495e5(0x31d)],_0x42f82d=_0x2e4eb1['readOnly']),_0x39fa77>0x7d)throw new RangeError(_0x9495e5(0x31c));const _0x3bd715={[_0x13f793]:_0x39fa77,'fin':!0x0,'generateMask':this[_0x9495e5(0x29e)],'mask':_0x1fd504,'maskBuffer':this[_0x9495e5(0x1ff)],'opcode':0xa,'readOnly':_0x42f82d,'rsv1':!0x1};_0x4954a2(_0xcd460f)?this['_state']!==_0x3db61a?this[_0x9495e5(0x2ba)]([this[_0x9495e5(0x201)],_0xcd460f,!0x1,_0x3bd715,_0x86a7be]):this[_0x9495e5(0x201)](_0xcd460f,!0x1,_0x3bd715,_0x86a7be):this[_0x9495e5(0x216)]!==_0x3db61a?this[_0x9495e5(0x2ba)]([this[_0x9495e5(0x262)],_0xcd460f,!0x1,_0x3bd715,_0x86a7be]):this[_0x9495e5(0x1b5)](_0x264188['frame'](_0xcd460f,_0x3bd715),_0x86a7be);}['send'](_0x337bfa,_0x587923,_0x580e93){const _0x2948e6=_0x577c91,_0x47c4e2=this[_0x2948e6(0x2f1)][_0x404203[_0x2948e6(0x211)]];let _0x1c20a0=_0x587923[_0x2948e6(0x2dc)]?0x2:0x1,_0x5889ae=_0x587923['compress'],_0x1827c0,_0x265cc6;typeof _0x337bfa==_0x2948e6(0x2d5)?(_0x1827c0=Buffer[_0x2948e6(0x294)](_0x337bfa),_0x265cc6=!0x1):_0x4954a2(_0x337bfa)?(_0x1827c0=_0x337bfa[_0x2948e6(0x249)],_0x265cc6=!0x1):(_0x337bfa=_0x2e4eb1(_0x337bfa),_0x1827c0=_0x337bfa['length'],_0x265cc6=_0x2e4eb1[_0x2948e6(0x304)]),this['_firstFragment']?(this[_0x2948e6(0x1d6)]=!0x1,_0x5889ae&&_0x47c4e2&&_0x47c4e2[_0x2948e6(0x1ee)][_0x47c4e2[_0x2948e6(0x229)]?'server_no_context_takeover':_0x2948e6(0x2f7)]&&(_0x5889ae=_0x1827c0>=_0x47c4e2[_0x2948e6(0x274)]),this['_compress']=_0x5889ae):(_0x5889ae=!0x1,_0x1c20a0=0x0),_0x587923[_0x2948e6(0x1c8)]&&(this[_0x2948e6(0x1d6)]=!0x0);const _0x3ba87f={[_0x13f793]:_0x1827c0,'fin':_0x587923[_0x2948e6(0x1c8)],'generateMask':this['_generateMask'],'mask':_0x587923[_0x2948e6(0x1ec)],'maskBuffer':this[_0x2948e6(0x1ff)],'opcode':_0x1c20a0,'readOnly':_0x265cc6,'rsv1':_0x5889ae};_0x4954a2(_0x337bfa)?this['_state']!==_0x3db61a?this[_0x2948e6(0x2ba)]([this[_0x2948e6(0x201)],_0x337bfa,this[_0x2948e6(0x1e1)],_0x3ba87f,_0x580e93]):this[_0x2948e6(0x201)](_0x337bfa,this[_0x2948e6(0x1e1)],_0x3ba87f,_0x580e93):this['_state']!==_0x3db61a?this[_0x2948e6(0x2ba)]([this['dispatch'],_0x337bfa,this['_compress'],_0x3ba87f,_0x580e93]):this[_0x2948e6(0x262)](_0x337bfa,this[_0x2948e6(0x1e1)],_0x3ba87f,_0x580e93);}['getBlobData'](_0x18f6d6,_0xcdcfd0,_0x221ac5,_0xd8e389){const _0x443de5=_0x577c91;this[_0x443de5(0x1b7)]+=_0x221ac5[_0x13f793],this[_0x443de5(0x216)]=_0x48ce18,_0x18f6d6[_0x443de5(0x2ab)]()[_0x443de5(0x230)](_0x26423d=>{const _0x4e118c=_0x443de5;if(this[_0x4e118c(0x2fa)][_0x4e118c(0x2e0)]){const _0x58fd0e=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process['nextTick'](_0x138674,this,_0x58fd0e,_0xd8e389);return;}this[_0x4e118c(0x1b7)]-=_0x221ac5[_0x13f793];const _0xf11825=_0x2e4eb1(_0x26423d);_0xcdcfd0?this[_0x4e118c(0x262)](_0xf11825,_0xcdcfd0,_0x221ac5,_0xd8e389):(this['_state']=_0x3db61a,this[_0x4e118c(0x1b5)](_0x264188[_0x4e118c(0x296)](_0xf11825,_0x221ac5),_0xd8e389),this[_0x4e118c(0x15c)]());})[_0x443de5(0x1b3)](_0x217f92=>{const _0x38ee55=_0x443de5;process[_0x38ee55(0x2b2)](_0x584cb3,this,_0x217f92,_0xd8e389);});}[_0x577c91(0x262)](_0x2d7c75,_0x347cb2,_0x117d75,_0x2f49c7){const _0x18a7cb=_0x577c91;if(!_0x347cb2){this[_0x18a7cb(0x1b5)](_0x264188[_0x18a7cb(0x296)](_0x2d7c75,_0x117d75),_0x2f49c7);return;}const _0x291905=this['_extensions'][_0x404203[_0x18a7cb(0x211)]];this[_0x18a7cb(0x1b7)]+=_0x117d75[_0x13f793],this[_0x18a7cb(0x216)]=_0x3b9d68,_0x291905[_0x18a7cb(0x1b4)](_0x2d7c75,_0x117d75[_0x18a7cb(0x1c8)],(_0x185643,_0x49cfa8)=>{const _0x219b12=_0x18a7cb;if(this['_socket'][_0x219b12(0x2e0)]){const _0x4836be=new Error(_0x219b12(0x177));_0x138674(this,_0x4836be,_0x2f49c7);return;}this[_0x219b12(0x1b7)]-=_0x117d75[_0x13f793],this[_0x219b12(0x216)]=_0x3db61a,_0x117d75[_0x219b12(0x304)]=!0x1,this[_0x219b12(0x1b5)](_0x264188['frame'](_0x49cfa8,_0x117d75),_0x2f49c7),this['dequeue']();});}[_0x577c91(0x15c)](){const _0x1873fe=_0x577c91;for(;this[_0x1873fe(0x216)]===_0x3db61a&&this[_0x1873fe(0x2f8)][_0x1873fe(0x31d)];){const _0x2185bd=this[_0x1873fe(0x2f8)][_0x1873fe(0x311)]();this['_bufferedBytes']-=_0x2185bd[0x3][_0x13f793],Reflect[_0x1873fe(0x2dd)](_0x2185bd[0x0],this,_0x2185bd[_0x1873fe(0x24b)](0x1));}}[_0x577c91(0x2ba)](_0x194349){const _0x5de17f=_0x577c91;this[_0x5de17f(0x1b7)]+=_0x194349[0x3][_0x13f793],this[_0x5de17f(0x2f8)][_0x5de17f(0x299)](_0x194349);}[_0x577c91(0x1b5)](_0x50106e,_0x1155b3){const _0x105525=_0x577c91;_0x50106e[_0x105525(0x31d)]===0x2?(this[_0x105525(0x2fa)][_0x105525(0x1eb)](),this['_socket'][_0x105525(0x1be)](_0x50106e[0x0]),this[_0x105525(0x2fa)]['write'](_0x50106e[0x1],_0x1155b3),this['_socket'][_0x105525(0x212)]()):this[_0x105525(0x2fa)]['write'](_0x50106e[0x0],_0x1155b3);}}Ee=_0x264188;function _0x138674(_0xedd222,_0x4633fa,_0x3b7982){const _0x24c016=_0x577c91;typeof _0x3b7982=='function'&&_0x3b7982(_0x4633fa);for(let _0x498417=0x0;_0x498417<_0xedd222[_0x24c016(0x2f8)][_0x24c016(0x31d)];_0x498417++){const _0x167baa=_0xedd222[_0x24c016(0x2f8)][_0x498417],_0x8d24b4=_0x167baa[_0x167baa['length']-0x1];typeof _0x8d24b4==_0x24c016(0x1f1)&&_0x8d24b4(_0x4633fa);}}function _0x584cb3(_0x731eb1,_0x49682e,_0x4361ca){const _0x37f0d4=_0x577c91;_0x138674(_0x731eb1,_0x49682e,_0x4361ca),_0x731eb1[_0x37f0d4(0x25d)](_0x49682e);}return Ee;}var xe,Ze;function It(){const _0x632db1=_0x2b7756;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x5a8911,kListener:_0x464f09}=H(),_0x2aad7c=Symbol(_0x632db1(0x227)),_0x295f9f=Symbol('kData'),_0x14735a=Symbol(_0x632db1(0x186)),_0x5f4c8d=Symbol(_0x632db1(0x219)),_0x84f0cd=Symbol('kReason'),_0x84716c=Symbol('kTarget'),_0x315849=Symbol(_0x632db1(0x167)),_0x169308=Symbol('kWasClean');class _0x1d0cb3{constructor(_0x5b784f){this[_0x84716c]=null,this[_0x315849]=_0x5b784f;}get[_0x632db1(0x1fa)](){return this[_0x84716c];}get[_0x632db1(0x16f)](){return this[_0x315849];}}Object['defineProperty'](_0x1d0cb3[_0x632db1(0x2fb)],_0x632db1(0x1fa),{'enumerable':!0x0}),Object[_0x632db1(0x31e)](_0x1d0cb3['prototype'],_0x632db1(0x16f),{'enumerable':!0x0});class _0x10942c extends _0x1d0cb3{constructor(_0x31fe2f,_0x15d867={}){const _0x52ff65=_0x632db1;super(_0x31fe2f),this[_0x2aad7c]=_0x15d867[_0x52ff65(0x2a4)]===void 0x0?0x0:_0x15d867['code'],this[_0x84f0cd]=_0x15d867[_0x52ff65(0x1a5)]===void 0x0?'':_0x15d867[_0x52ff65(0x1a5)],this[_0x169308]=_0x15d867[_0x52ff65(0x276)]===void 0x0?!0x1:_0x15d867[_0x52ff65(0x276)];}get[_0x632db1(0x2a4)](){return this[_0x2aad7c];}get[_0x632db1(0x1a5)](){return this[_0x84f0cd];}get['wasClean'](){return this[_0x169308];}}Object[_0x632db1(0x31e)](_0x10942c[_0x632db1(0x2fb)],_0x632db1(0x2a4),{'enumerable':!0x0}),Object[_0x632db1(0x31e)](_0x10942c[_0x632db1(0x2fb)],_0x632db1(0x1a5),{'enumerable':!0x0}),Object[_0x632db1(0x31e)](_0x10942c['prototype'],_0x632db1(0x276),{'enumerable':!0x0});class _0x3f4eef extends _0x1d0cb3{constructor(_0x1b9e92,_0xa73980={}){const _0x31cb1d=_0x632db1;super(_0x1b9e92),this[_0x14735a]=_0xa73980['error']===void 0x0?null:_0xa73980['error'],this[_0x5f4c8d]=_0xa73980['message']===void 0x0?'':_0xa73980[_0x31cb1d(0x192)];}get['error'](){return this[_0x14735a];}get[_0x632db1(0x192)](){return this[_0x5f4c8d];}}Object[_0x632db1(0x31e)](_0x3f4eef[_0x632db1(0x2fb)],_0x632db1(0x161),{'enumerable':!0x0}),Object[_0x632db1(0x31e)](_0x3f4eef[_0x632db1(0x2fb)],_0x632db1(0x192),{'enumerable':!0x0});class _0x58ee6e extends _0x1d0cb3{constructor(_0x2cd47e,_0xd82ac={}){const _0x4e0232=_0x632db1;super(_0x2cd47e),this[_0x295f9f]=_0xd82ac[_0x4e0232(0x214)]===void 0x0?null:_0xd82ac[_0x4e0232(0x214)];}get[_0x632db1(0x214)](){return this[_0x295f9f];}}Object[_0x632db1(0x31e)](_0x58ee6e[_0x632db1(0x2fb)],_0x632db1(0x214),{'enumerable':!0x0}),xe={'CloseEvent':_0x10942c,'ErrorEvent':_0x3f4eef,'Event':_0x1d0cb3,'EventTarget':{'addEventListener'(_0x45d617,_0x46d705,_0xbdb256={}){const _0x18b879=_0x632db1;for(const _0x445540 of this[_0x18b879(0x2ec)](_0x45d617))if(!_0xbdb256[_0x5a8911]&&_0x445540[_0x464f09]===_0x46d705&&!_0x445540[_0x5a8911])return;let _0x21613c;if(_0x45d617===_0x18b879(0x192))_0x21613c=function(_0x526c77,_0x130822){const _0x426a4b=_0x18b879,_0x257ffe=new _0x58ee6e(_0x426a4b(0x192),{'data':_0x130822?_0x526c77:_0x526c77[_0x426a4b(0x310)]()});_0x257ffe[_0x84716c]=this,_0x1e50f8(_0x46d705,this,_0x257ffe);};else{if(_0x45d617===_0x18b879(0x203))_0x21613c=function(_0x9c83a8,_0x13d6a4){const _0x3166cc=_0x18b879,_0x257b39=new _0x10942c(_0x3166cc(0x203),{'code':_0x9c83a8,'reason':_0x13d6a4[_0x3166cc(0x310)](),'wasClean':this[_0x3166cc(0x2c2)]&&this[_0x3166cc(0x171)]});_0x257b39[_0x84716c]=this,_0x1e50f8(_0x46d705,this,_0x257b39);};else{if(_0x45d617===_0x18b879(0x161))_0x21613c=function(_0xea079a){const _0x41643e=_0x18b879,_0x1ff0c1=new _0x3f4eef(_0x41643e(0x161),{'error':_0xea079a,'message':_0xea079a[_0x41643e(0x192)]});_0x1ff0c1[_0x84716c]=this,_0x1e50f8(_0x46d705,this,_0x1ff0c1);};else{if(_0x45d617===_0x18b879(0x197))_0x21613c=function(){const _0x3d82a1=new _0x1d0cb3('open');_0x3d82a1[_0x84716c]=this,_0x1e50f8(_0x46d705,this,_0x3d82a1);};else return;}}}_0x21613c[_0x5a8911]=!!_0xbdb256[_0x5a8911],_0x21613c[_0x464f09]=_0x46d705,_0xbdb256[_0x18b879(0x18c)]?this[_0x18b879(0x18c)](_0x45d617,_0x21613c):this['on'](_0x45d617,_0x21613c);},'removeEventListener'(_0x360362,_0x4a3b79){const _0x232a90=_0x632db1;for(const _0x1f0a2a of this[_0x232a90(0x2ec)](_0x360362))if(_0x1f0a2a[_0x464f09]===_0x4a3b79&&!_0x1f0a2a[_0x5a8911]){this[_0x232a90(0x236)](_0x360362,_0x1f0a2a);break;}}},'MessageEvent':_0x58ee6e};function _0x1e50f8(_0x4c283b,_0x1e527d,_0x282fc6){const _0x477f57=_0x632db1;typeof _0x4c283b==_0x477f57(0x1db)&&_0x4c283b['handleEvent']?_0x4c283b[_0x477f57(0x2a9)][_0x477f57(0x222)](_0x4c283b,_0x282fc6):_0x4c283b['call'](_0x1e527d,_0x282fc6);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x44a52a}=ae();function _0x587cfe(_0x162d4b,_0x2c74cd,_0x1a4163){const _0x47c8e8=_0x46c0;_0x162d4b[_0x2c74cd]===void 0x0?_0x162d4b[_0x2c74cd]=[_0x1a4163]:_0x162d4b[_0x2c74cd][_0x47c8e8(0x299)](_0x1a4163);}function _0x5b05b1(_0x1b0102){const _0x4d6077=_0x46c0,_0x1114ea=Object[_0x4d6077(0x247)](null);let _0x1f0991=Object[_0x4d6077(0x247)](null),_0x448f4e=!0x1,_0x5908ff=!0x1,_0x37c664=!0x1,_0x28c8c9,_0x2f46dc,_0x5a1896=-0x1,_0x22e2d8=-0x1,_0x46828e=-0x1,_0x19db60=0x0;for(;_0x19db60<_0x1b0102[_0x4d6077(0x31d)];_0x19db60++)if(_0x22e2d8=_0x1b0102[_0x4d6077(0x29a)](_0x19db60),_0x28c8c9===void 0x0){if(_0x46828e===-0x1&&_0x44a52a[_0x22e2d8]===0x1)_0x5a1896===-0x1&&(_0x5a1896=_0x19db60);else{if(_0x19db60!==0x0&&(_0x22e2d8===0x20||_0x22e2d8===0x9))_0x46828e===-0x1&&_0x5a1896!==-0x1&&(_0x46828e=_0x19db60);else{if(_0x22e2d8===0x3b||_0x22e2d8===0x2c){if(_0x5a1896===-0x1)throw new SyntaxError(_0x4d6077(0x2f2)+_0x19db60);_0x46828e===-0x1&&(_0x46828e=_0x19db60);const _0x2c3838=_0x1b0102[_0x4d6077(0x24b)](_0x5a1896,_0x46828e);_0x22e2d8===0x2c?(_0x587cfe(_0x1114ea,_0x2c3838,_0x1f0991),_0x1f0991=Object[_0x4d6077(0x247)](null)):_0x28c8c9=_0x2c3838,_0x5a1896=_0x46828e=-0x1;}else throw new SyntaxError(_0x4d6077(0x2f2)+_0x19db60);}}}else{if(_0x2f46dc===void 0x0){if(_0x46828e===-0x1&&_0x44a52a[_0x22e2d8]===0x1)_0x5a1896===-0x1&&(_0x5a1896=_0x19db60);else{if(_0x22e2d8===0x20||_0x22e2d8===0x9)_0x46828e===-0x1&&_0x5a1896!==-0x1&&(_0x46828e=_0x19db60);else{if(_0x22e2d8===0x3b||_0x22e2d8===0x2c){if(_0x5a1896===-0x1)throw new SyntaxError(_0x4d6077(0x2f2)+_0x19db60);_0x46828e===-0x1&&(_0x46828e=_0x19db60),_0x587cfe(_0x1f0991,_0x1b0102[_0x4d6077(0x24b)](_0x5a1896,_0x46828e),!0x0),_0x22e2d8===0x2c&&(_0x587cfe(_0x1114ea,_0x28c8c9,_0x1f0991),_0x1f0991=Object[_0x4d6077(0x247)](null),_0x28c8c9=void 0x0),_0x5a1896=_0x46828e=-0x1;}else{if(_0x22e2d8===0x3d&&_0x5a1896!==-0x1&&_0x46828e===-0x1)_0x2f46dc=_0x1b0102['slice'](_0x5a1896,_0x19db60),_0x5a1896=_0x46828e=-0x1;else throw new SyntaxError(_0x4d6077(0x2f2)+_0x19db60);}}}}else{if(_0x5908ff){if(_0x44a52a[_0x22e2d8]!==0x1)throw new SyntaxError(_0x4d6077(0x2f2)+_0x19db60);_0x5a1896===-0x1?_0x5a1896=_0x19db60:_0x448f4e||(_0x448f4e=!0x0),_0x5908ff=!0x1;}else{if(_0x37c664){if(_0x44a52a[_0x22e2d8]===0x1)_0x5a1896===-0x1&&(_0x5a1896=_0x19db60);else{if(_0x22e2d8===0x22&&_0x5a1896!==-0x1)_0x37c664=!0x1,_0x46828e=_0x19db60;else{if(_0x22e2d8===0x5c)_0x5908ff=!0x0;else throw new SyntaxError(_0x4d6077(0x2f2)+_0x19db60);}}}else{if(_0x22e2d8===0x22&&_0x1b0102[_0x4d6077(0x29a)](_0x19db60-0x1)===0x3d)_0x37c664=!0x0;else{if(_0x46828e===-0x1&&_0x44a52a[_0x22e2d8]===0x1)_0x5a1896===-0x1&&(_0x5a1896=_0x19db60);else{if(_0x5a1896!==-0x1&&(_0x22e2d8===0x20||_0x22e2d8===0x9))_0x46828e===-0x1&&(_0x46828e=_0x19db60);else{if(_0x22e2d8===0x3b||_0x22e2d8===0x2c){if(_0x5a1896===-0x1)throw new SyntaxError(_0x4d6077(0x2f2)+_0x19db60);_0x46828e===-0x1&&(_0x46828e=_0x19db60);let _0xe69147=_0x1b0102[_0x4d6077(0x24b)](_0x5a1896,_0x46828e);_0x448f4e&&(_0xe69147=_0xe69147[_0x4d6077(0x164)](/\\/g,''),_0x448f4e=!0x1),_0x587cfe(_0x1f0991,_0x2f46dc,_0xe69147),_0x22e2d8===0x2c&&(_0x587cfe(_0x1114ea,_0x28c8c9,_0x1f0991),_0x1f0991=Object[_0x4d6077(0x247)](null),_0x28c8c9=void 0x0),_0x2f46dc=void 0x0,_0x5a1896=_0x46828e=-0x1;}else throw new SyntaxError(_0x4d6077(0x2f2)+_0x19db60);}}}}}}}if(_0x5a1896===-0x1||_0x37c664||_0x22e2d8===0x20||_0x22e2d8===0x9)throw new SyntaxError(_0x4d6077(0x232));_0x46828e===-0x1&&(_0x46828e=_0x19db60);const _0x467c2e=_0x1b0102[_0x4d6077(0x24b)](_0x5a1896,_0x46828e);return _0x28c8c9===void 0x0?_0x587cfe(_0x1114ea,_0x467c2e,_0x1f0991):(_0x2f46dc===void 0x0?_0x587cfe(_0x1f0991,_0x467c2e,!0x0):_0x448f4e?_0x587cfe(_0x1f0991,_0x2f46dc,_0x467c2e[_0x4d6077(0x164)](/\\/g,'')):_0x587cfe(_0x1f0991,_0x2f46dc,_0x467c2e),_0x587cfe(_0x1114ea,_0x28c8c9,_0x1f0991)),_0x1114ea;}function _0x196640(_0x178b05){const _0x410bcc=_0x46c0;return Object['keys'](_0x178b05)[_0x410bcc(0x1d9)](_0x162e69=>{const _0x485ce2=_0x410bcc;let _0x3aa31d=_0x178b05[_0x162e69];return Array[_0x485ce2(0x28c)](_0x3aa31d)||(_0x3aa31d=[_0x3aa31d]),_0x3aa31d[_0x485ce2(0x1d9)](_0x26de0a=>[_0x162e69][_0x485ce2(0x1c9)](Object[_0x485ce2(0x2d1)](_0x26de0a)[_0x485ce2(0x1d9)](_0x517ec7=>{const _0x372192=_0x485ce2;let _0x4f0e63=_0x26de0a[_0x517ec7];return Array['isArray'](_0x4f0e63)||(_0x4f0e63=[_0x4f0e63]),_0x4f0e63[_0x372192(0x1d9)](_0x16d4b5=>_0x16d4b5===!0x0?_0x517ec7:_0x517ec7+'='+_0x16d4b5)[_0x372192(0x1aa)](';\x20');}))[_0x485ce2(0x1aa)](';\x20'))[_0x485ce2(0x1aa)](',\x20');})['join'](',\x20');}return be={'format':_0x196640,'parse':_0x5b05b1},be;}var we,Je;function Pe(){const _0x1e9f84=_0x2b7756;if(Je)return we;Je=0x1;const _0x1e6500=nt,_0x3d57ca=vt,_0x7b0cd3=ot,_0x3043af=St,_0x6ed7e3=Et,{randomBytes:_0x4f011a,createHash:_0x35fc2c}=Le,{Duplex:_0x959f6e,Readable:_0x272f47}=oe,{URL:_0x58ba7a}=xt,_0x56bbf0=he(),_0x5df83a=lt(),_0x1f95b4=ft(),{isBlob:_0x20fa19}=ae(),{BINARY_TYPES:_0x30b51f,EMPTY_BUFFER:_0x1b20ae,GUID:_0x4b33d8,kForOnEventAttribute:_0x4dc4ae,kListener:_0x5428f5,kStatusCode:_0x5daad6,kWebSocket:_0x1b822b,NOOP:_0x5cd60f}=H(),{EventTarget:{addEventListener:_0x42dabd,removeEventListener:_0x307001}}=It(),{format:_0x1c4171,parse:_0x4e2153}=ct(),{toBuffer:_0xc05172}=ce(),_0x7a5b8f=0x1e*0x3e8,_0x89502e=Symbol(_0x1e9f84(0x175)),_0x54cd41=[0x8,0xd],_0x13cd99=[_0x1e9f84(0x237),'OPEN',_0x1e9f84(0x205),_0x1e9f84(0x191)],_0x3e0583=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0xd31a92 extends _0x1e6500{constructor(_0x5b9037,_0x349452,_0x5230b5){const _0x433e43=_0x1e9f84;super(),this[_0x433e43(0x2ac)]=_0x30b51f[0x0],this[_0x433e43(0x1f9)]=0x3ee,this[_0x433e43(0x2c2)]=!0x1,this[_0x433e43(0x171)]=!0x1,this[_0x433e43(0x242)]=_0x1b20ae,this[_0x433e43(0x256)]=null,this[_0x433e43(0x314)]=!0x1,this[_0x433e43(0x2f1)]={},this[_0x433e43(0x264)]=!0x1,this[_0x433e43(0x30d)]='',this['_readyState']=_0xd31a92[_0x433e43(0x237)],this[_0x433e43(0x2e3)]=null,this[_0x433e43(0x250)]=null,this[_0x433e43(0x2fa)]=null,_0x5b9037!==null?(this[_0x433e43(0x323)]=0x0,this[_0x433e43(0x229)]=!0x1,this['_redirects']=0x0,_0x349452===void 0x0?_0x349452=[]:Array[_0x433e43(0x28c)](_0x349452)||(typeof _0x349452==_0x433e43(0x1db)&&_0x349452!==null?(_0x5230b5=_0x349452,_0x349452=[]):_0x349452=[_0x349452]),_0x3e6c2e(this,_0x5b9037,_0x349452,_0x5230b5)):(this[_0x433e43(0x2b0)]=_0x5230b5[_0x433e43(0x2d8)],this[_0x433e43(0x229)]=!0x0);}get[_0x1e9f84(0x31f)](){const _0x17c16e=_0x1e9f84;return this[_0x17c16e(0x2ac)];}set['binaryType'](_0x3f05f0){const _0x2df120=_0x1e9f84;_0x30b51f[_0x2df120(0x270)](_0x3f05f0)&&(this[_0x2df120(0x2ac)]=_0x3f05f0,this[_0x2df120(0x2e3)]&&(this[_0x2df120(0x2e3)][_0x2df120(0x2ac)]=_0x3f05f0));}get['bufferedAmount'](){const _0x3ad40f=_0x1e9f84;return this[_0x3ad40f(0x2fa)]?this['_socket']['_writableState']['length']+this[_0x3ad40f(0x250)][_0x3ad40f(0x1b7)]:this[_0x3ad40f(0x323)];}get[_0x1e9f84(0x2af)](){const _0xccc0f6=_0x1e9f84;return Object['keys'](this['_extensions'])[_0xccc0f6(0x1aa)]();}get[_0x1e9f84(0x1cd)](){return this['_paused'];}get[_0x1e9f84(0x163)](){return null;}get[_0x1e9f84(0x25d)](){return null;}get[_0x1e9f84(0x17d)](){return null;}get[_0x1e9f84(0x1ab)](){return null;}get['protocol'](){return this['_protocol'];}get[_0x1e9f84(0x327)](){return this['_readyState'];}get[_0x1e9f84(0x253)](){const _0x25cca7=_0x1e9f84;return this[_0x25cca7(0x1cf)];}[_0x1e9f84(0x27d)](_0x1e7f4f,_0x2145c1,_0x4cf95c){const _0x3cd95b=_0x1e9f84,_0x39a1d5=new _0x5df83a({'allowSynchronousEvents':_0x4cf95c['allowSynchronousEvents'],'binaryType':this[_0x3cd95b(0x31f)],'extensions':this[_0x3cd95b(0x2f1)],'isServer':this[_0x3cd95b(0x229)],'maxPayload':_0x4cf95c[_0x3cd95b(0x156)],'skipUTF8Validation':_0x4cf95c[_0x3cd95b(0x231)]}),_0x27d17c=new _0x1f95b4(_0x1e7f4f,this['_extensions'],_0x4cf95c[_0x3cd95b(0x260)]);this[_0x3cd95b(0x2e3)]=_0x39a1d5,this[_0x3cd95b(0x250)]=_0x27d17c,this[_0x3cd95b(0x2fa)]=_0x1e7f4f,_0x39a1d5[_0x1b822b]=this,_0x27d17c[_0x1b822b]=this,_0x1e7f4f[_0x1b822b]=this,_0x39a1d5['on'](_0x3cd95b(0x302),_0x467646),_0x39a1d5['on'](_0x3cd95b(0x2db),_0x130241),_0x39a1d5['on'](_0x3cd95b(0x161),_0x5b2c34),_0x39a1d5['on'](_0x3cd95b(0x192),_0x342d8e),_0x39a1d5['on'](_0x3cd95b(0x181),_0x135a8b),_0x39a1d5['on'](_0x3cd95b(0x2d9),_0x1671f3),_0x27d17c[_0x3cd95b(0x25d)]=_0x287406,_0x1e7f4f[_0x3cd95b(0x26a)]&&_0x1e7f4f[_0x3cd95b(0x26a)](0x0),_0x1e7f4f[_0x3cd95b(0x1d5)]&&_0x1e7f4f[_0x3cd95b(0x1d5)](),_0x2145c1[_0x3cd95b(0x31d)]>0x0&&_0x1e7f4f[_0x3cd95b(0x209)](_0x2145c1),_0x1e7f4f['on'](_0x3cd95b(0x203),_0x1ac6b4),_0x1e7f4f['on']('data',_0xea6a82),_0x1e7f4f['on']('end',_0x139cba),_0x1e7f4f['on'](_0x3cd95b(0x161),_0x4cf32c),this[_0x3cd95b(0x246)]=_0xd31a92['OPEN'],this['emit'](_0x3cd95b(0x197));}[_0x1e9f84(0x225)](){const _0xbf0e93=_0x1e9f84;if(!this['_socket']){this[_0xbf0e93(0x246)]=_0xd31a92[_0xbf0e93(0x191)],this[_0xbf0e93(0x293)](_0xbf0e93(0x203),this['_closeCode'],this['_closeMessage']);return;}this[_0xbf0e93(0x2f1)][_0x56bbf0[_0xbf0e93(0x211)]]&&this['_extensions'][_0x56bbf0[_0xbf0e93(0x211)]][_0xbf0e93(0x24a)](),this[_0xbf0e93(0x2e3)][_0xbf0e93(0x316)](),this[_0xbf0e93(0x246)]=_0xd31a92[_0xbf0e93(0x191)],this[_0xbf0e93(0x293)](_0xbf0e93(0x203),this[_0xbf0e93(0x1f9)],this[_0xbf0e93(0x242)]);}['close'](_0x245c36,_0x3a1816){const _0x1095f6=_0x1e9f84;if(this[_0x1095f6(0x327)]!==_0xd31a92['CLOSED']){if(this[_0x1095f6(0x327)]===_0xd31a92['CONNECTING']){_0x53edd9(this,this[_0x1095f6(0x162)],_0x1095f6(0x168));return;}if(this[_0x1095f6(0x327)]===_0xd31a92[_0x1095f6(0x205)]){this[_0x1095f6(0x171)]&&(this[_0x1095f6(0x2c2)]||this['_receiver']['_writableState'][_0x1095f6(0x1b8)])&&this['_socket'][_0x1095f6(0x1dc)]();return;}this[_0x1095f6(0x246)]=_0xd31a92[_0x1095f6(0x205)],this['_sender'][_0x1095f6(0x203)](_0x245c36,_0x3a1816,!this['_isServer'],_0x20c518=>{const _0x3e6774=_0x1095f6;_0x20c518||(this[_0x3e6774(0x171)]=!0x0,(this[_0x3e6774(0x2c2)]||this[_0x3e6774(0x2e3)]['_writableState'][_0x3e6774(0x1b8)])&&this[_0x3e6774(0x2fa)]['end']());}),_0x5a9149(this);}}[_0x1e9f84(0x1bd)](){const _0x930bf3=_0x1e9f84;this[_0x930bf3(0x327)]===_0xd31a92['CONNECTING']||this['readyState']===_0xd31a92[_0x930bf3(0x191)]||(this[_0x930bf3(0x264)]=!0x0,this[_0x930bf3(0x2fa)][_0x930bf3(0x1bd)]());}[_0x1e9f84(0x181)](_0x3dd7ec,_0x6e5e50,_0x267035){const _0x4eb2a6=_0x1e9f84;if(this[_0x4eb2a6(0x327)]===_0xd31a92[_0x4eb2a6(0x237)])throw new Error(_0x4eb2a6(0x2b3));if(typeof _0x3dd7ec==_0x4eb2a6(0x1f1)?(_0x267035=_0x3dd7ec,_0x3dd7ec=_0x6e5e50=void 0x0):typeof _0x6e5e50==_0x4eb2a6(0x1f1)&&(_0x267035=_0x6e5e50,_0x6e5e50=void 0x0),typeof _0x3dd7ec=='number'&&(_0x3dd7ec=_0x3dd7ec[_0x4eb2a6(0x310)]()),this[_0x4eb2a6(0x327)]!==_0xd31a92[_0x4eb2a6(0x1e9)]){_0x49471d(this,_0x3dd7ec,_0x267035);return;}_0x6e5e50===void 0x0&&(_0x6e5e50=!this[_0x4eb2a6(0x229)]),this[_0x4eb2a6(0x250)][_0x4eb2a6(0x181)](_0x3dd7ec||_0x1b20ae,_0x6e5e50,_0x267035);}[_0x1e9f84(0x2d9)](_0x23c5c6,_0x1b4277,_0x1baf11){const _0x54cfc1=_0x1e9f84;if(this['readyState']===_0xd31a92[_0x54cfc1(0x237)])throw new Error(_0x54cfc1(0x2b3));if(typeof _0x23c5c6==_0x54cfc1(0x1f1)?(_0x1baf11=_0x23c5c6,_0x23c5c6=_0x1b4277=void 0x0):typeof _0x1b4277==_0x54cfc1(0x1f1)&&(_0x1baf11=_0x1b4277,_0x1b4277=void 0x0),typeof _0x23c5c6==_0x54cfc1(0x25b)&&(_0x23c5c6=_0x23c5c6['toString']()),this['readyState']!==_0xd31a92[_0x54cfc1(0x1e9)]){_0x49471d(this,_0x23c5c6,_0x1baf11);return;}_0x1b4277===void 0x0&&(_0x1b4277=!this[_0x54cfc1(0x229)]),this['_sender']['pong'](_0x23c5c6||_0x1b20ae,_0x1b4277,_0x1baf11);}['resume'](){const _0x28cec8=_0x1e9f84;this[_0x28cec8(0x327)]===_0xd31a92['CONNECTING']||this[_0x28cec8(0x327)]===_0xd31a92[_0x28cec8(0x191)]||(this[_0x28cec8(0x264)]=!0x1,this[_0x28cec8(0x2e3)]['_writableState'][_0x28cec8(0x2a3)]||this[_0x28cec8(0x2fa)][_0x28cec8(0x318)]());}['send'](_0x2fe2cb,_0xa3251e,_0x3e929f){const _0xe37a8f=_0x1e9f84;if(this['readyState']===_0xd31a92[_0xe37a8f(0x237)])throw new Error(_0xe37a8f(0x2b3));if(typeof _0xa3251e=='function'&&(_0x3e929f=_0xa3251e,_0xa3251e={}),typeof _0x2fe2cb==_0xe37a8f(0x25b)&&(_0x2fe2cb=_0x2fe2cb['toString']()),this[_0xe37a8f(0x327)]!==_0xd31a92[_0xe37a8f(0x1e9)]){_0x49471d(this,_0x2fe2cb,_0x3e929f);return;}const _0x3ec731={'binary':typeof _0x2fe2cb!=_0xe37a8f(0x2d5),'mask':!this[_0xe37a8f(0x229)],'compress':!0x0,'fin':!0x0,..._0xa3251e};this[_0xe37a8f(0x2f1)][_0x56bbf0[_0xe37a8f(0x211)]]||(_0x3ec731[_0xe37a8f(0x1b4)]=!0x1),this[_0xe37a8f(0x250)]['send'](_0x2fe2cb||_0x1b20ae,_0x3ec731,_0x3e929f);}[_0x1e9f84(0x15d)](){const _0x28ae3c=_0x1e9f84;if(this['readyState']!==_0xd31a92[_0x28ae3c(0x191)]){if(this['readyState']===_0xd31a92['CONNECTING']){_0x53edd9(this,this[_0x28ae3c(0x162)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x28ae3c(0x2fa)]&&(this[_0x28ae3c(0x246)]=_0xd31a92[_0x28ae3c(0x205)],this['_socket'][_0x28ae3c(0x1fe)]());}}}Object[_0x1e9f84(0x31e)](_0xd31a92,'CONNECTING',{'enumerable':!0x0,'value':_0x13cd99[_0x1e9f84(0x308)](_0x1e9f84(0x237))}),Object[_0x1e9f84(0x31e)](_0xd31a92[_0x1e9f84(0x2fb)],_0x1e9f84(0x237),{'enumerable':!0x0,'value':_0x13cd99['indexOf'](_0x1e9f84(0x237))}),Object['defineProperty'](_0xd31a92,_0x1e9f84(0x1e9),{'enumerable':!0x0,'value':_0x13cd99['indexOf']('OPEN')}),Object[_0x1e9f84(0x31e)](_0xd31a92['prototype'],_0x1e9f84(0x1e9),{'enumerable':!0x0,'value':_0x13cd99[_0x1e9f84(0x308)](_0x1e9f84(0x1e9))}),Object[_0x1e9f84(0x31e)](_0xd31a92,_0x1e9f84(0x205),{'enumerable':!0x0,'value':_0x13cd99[_0x1e9f84(0x308)]('CLOSING')}),Object['defineProperty'](_0xd31a92[_0x1e9f84(0x2fb)],_0x1e9f84(0x205),{'enumerable':!0x0,'value':_0x13cd99[_0x1e9f84(0x308)](_0x1e9f84(0x205))}),Object['defineProperty'](_0xd31a92,_0x1e9f84(0x191),{'enumerable':!0x0,'value':_0x13cd99['indexOf'](_0x1e9f84(0x191))}),Object[_0x1e9f84(0x31e)](_0xd31a92[_0x1e9f84(0x2fb)],_0x1e9f84(0x191),{'enumerable':!0x0,'value':_0x13cd99['indexOf'](_0x1e9f84(0x191))}),[_0x1e9f84(0x31f),'bufferedAmount',_0x1e9f84(0x2af),_0x1e9f84(0x1cd),'protocol',_0x1e9f84(0x327),_0x1e9f84(0x253)][_0x1e9f84(0x1cb)](_0x3b9461=>{const _0xd5b1e=_0x1e9f84;Object['defineProperty'](_0xd31a92[_0xd5b1e(0x2fb)],_0x3b9461,{'enumerable':!0x0});}),[_0x1e9f84(0x197),'error','close',_0x1e9f84(0x192)][_0x1e9f84(0x1cb)](_0x5b33a4=>{const _0x1d0e6a=_0x1e9f84;Object[_0x1d0e6a(0x31e)](_0xd31a92[_0x1d0e6a(0x2fb)],'on'+_0x5b33a4,{'enumerable':!0x0,'get'(){for(const _0x432c0e of this['listeners'](_0x5b33a4))if(_0x432c0e[_0x4dc4ae])return _0x432c0e[_0x5428f5];return null;},'set'(_0x10caea){const _0xe1e41f=_0x1d0e6a;for(const _0x98fef0 of this[_0xe1e41f(0x2ec)](_0x5b33a4))if(_0x98fef0[_0x4dc4ae]){this[_0xe1e41f(0x236)](_0x5b33a4,_0x98fef0);break;}typeof _0x10caea==_0xe1e41f(0x1f1)&&this[_0xe1e41f(0x2df)](_0x5b33a4,_0x10caea,{[_0x4dc4ae]:!0x0});}});}),_0xd31a92['prototype'][_0x1e9f84(0x2df)]=_0x42dabd,_0xd31a92['prototype'][_0x1e9f84(0x28e)]=_0x307001,we=_0xd31a92;function _0x3e6c2e(_0x2d8b16,_0x122966,_0x5a031f,_0x46b060){const _0x28c2b9=_0x1e9f84,_0x18c442={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x54cd41[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x46b060,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x28c2b9(0x267),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x2d8b16['_autoPong']=_0x18c442[_0x28c2b9(0x2d8)],!_0x54cd41[_0x28c2b9(0x270)](_0x18c442[_0x28c2b9(0x158)]))throw new RangeError(_0x28c2b9(0x166)+_0x18c442[_0x28c2b9(0x158)]+_0x28c2b9(0x18b)+_0x54cd41['join'](',\x20')+')');let _0x56fcf5;if(_0x122966 instanceof _0x58ba7a)_0x56fcf5=_0x122966;else try{_0x56fcf5=new _0x58ba7a(_0x122966);}catch{throw new SyntaxError(_0x28c2b9(0x24f)+_0x122966);}_0x56fcf5[_0x28c2b9(0x2cd)]===_0x28c2b9(0x157)?_0x56fcf5[_0x28c2b9(0x2cd)]=_0x28c2b9(0x326):_0x56fcf5[_0x28c2b9(0x2cd)]==='https:'&&(_0x56fcf5[_0x28c2b9(0x2cd)]='wss:'),_0x2d8b16[_0x28c2b9(0x1cf)]=_0x56fcf5[_0x28c2b9(0x2f6)];const _0x12044f=_0x56fcf5[_0x28c2b9(0x2cd)]===_0x28c2b9(0x1bb),_0x2b850a=_0x56fcf5[_0x28c2b9(0x2cd)]===_0x28c2b9(0x207);let _0x3de222;if(_0x56fcf5[_0x28c2b9(0x2cd)]!==_0x28c2b9(0x326)&&!_0x12044f&&!_0x2b850a?_0x3de222=_0x28c2b9(0x178):_0x2b850a&&!_0x56fcf5['pathname']?_0x3de222='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x56fcf5['hash']&&(_0x3de222='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x3de222){const _0x57a863=new SyntaxError(_0x3de222);if(_0x2d8b16[_0x28c2b9(0x27a)]===0x0)throw _0x57a863;_0xa69cf7(_0x2d8b16,_0x57a863);return;}const _0x99f636=_0x12044f?0x1bb:0x50,_0x591c46=_0x4f011a(0x10)[_0x28c2b9(0x310)]('base64'),_0x5d8255=_0x12044f?_0x3d57ca[_0x28c2b9(0x221)]:_0x7b0cd3['request'],_0x387d21=new Set();let _0x27353b;if(_0x18c442[_0x28c2b9(0x2a2)]=_0x18c442['createConnection']||(_0x12044f?_0x3f429e:_0x4edbfc),_0x18c442[_0x28c2b9(0x243)]=_0x18c442[_0x28c2b9(0x243)]||_0x99f636,_0x18c442[_0x28c2b9(0x279)]=_0x56fcf5['port']||_0x99f636,_0x18c442[_0x28c2b9(0x21c)]=_0x56fcf5[_0x28c2b9(0x2ed)][_0x28c2b9(0x19e)]('[')?_0x56fcf5[_0x28c2b9(0x2ed)][_0x28c2b9(0x24b)](0x1,-0x1):_0x56fcf5[_0x28c2b9(0x2ed)],_0x18c442[_0x28c2b9(0x2f0)]={..._0x18c442[_0x28c2b9(0x2f0)],'Sec-WebSocket-Version':_0x18c442[_0x28c2b9(0x158)],'Sec-WebSocket-Key':_0x591c46,'Connection':_0x28c2b9(0x1ba),'Upgrade':_0x28c2b9(0x2d3)},_0x18c442[_0x28c2b9(0x319)]=_0x56fcf5[_0x28c2b9(0x2aa)]+_0x56fcf5[_0x28c2b9(0x21e)],_0x18c442['timeout']=_0x18c442[_0x28c2b9(0x217)],_0x18c442[_0x28c2b9(0x306)]&&(_0x27353b=new _0x56bbf0(_0x18c442['perMessageDeflate']!==!0x0?_0x18c442[_0x28c2b9(0x306)]:{},!0x1,_0x18c442[_0x28c2b9(0x156)]),_0x18c442['headers'][_0x28c2b9(0x280)]=_0x1c4171({[_0x56bbf0[_0x28c2b9(0x211)]]:_0x27353b[_0x28c2b9(0x184)]()})),_0x5a031f[_0x28c2b9(0x31d)]){for(const _0x4bf7f2 of _0x5a031f){if(typeof _0x4bf7f2!=_0x28c2b9(0x2d5)||!_0x3e0583[_0x28c2b9(0x1e2)](_0x4bf7f2)||_0x387d21['has'](_0x4bf7f2))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x387d21[_0x28c2b9(0x2f4)](_0x4bf7f2);}_0x18c442[_0x28c2b9(0x2f0)][_0x28c2b9(0x2d6)]=_0x5a031f[_0x28c2b9(0x1aa)](',');}if(_0x18c442[_0x28c2b9(0x155)]&&(_0x18c442[_0x28c2b9(0x158)]<0xd?_0x18c442['headers'][_0x28c2b9(0x20b)]=_0x18c442[_0x28c2b9(0x155)]:_0x18c442['headers'][_0x28c2b9(0x224)]=_0x18c442[_0x28c2b9(0x155)]),(_0x56fcf5['username']||_0x56fcf5[_0x28c2b9(0x251)])&&(_0x18c442[_0x28c2b9(0x195)]=_0x56fcf5['username']+':'+_0x56fcf5[_0x28c2b9(0x251)]),_0x2b850a){const _0x2e22fd=_0x18c442[_0x28c2b9(0x319)][_0x28c2b9(0x2b6)](':');_0x18c442[_0x28c2b9(0x26e)]=_0x2e22fd[0x0],_0x18c442[_0x28c2b9(0x319)]=_0x2e22fd[0x1];}let _0x44568f;if(_0x18c442[_0x28c2b9(0x2cf)]){if(_0x2d8b16[_0x28c2b9(0x27a)]===0x0){_0x2d8b16['_originalIpc']=_0x2b850a,_0x2d8b16[_0x28c2b9(0x292)]=_0x12044f,_0x2d8b16[_0x28c2b9(0x1dd)]=_0x2b850a?_0x18c442[_0x28c2b9(0x26e)]:_0x56fcf5['host'];const _0x3d1304=_0x46b060&&_0x46b060[_0x28c2b9(0x2f0)];if(_0x46b060={..._0x46b060,'headers':{}},_0x3d1304){for(const [_0x566db3,_0x5e884f]of Object[_0x28c2b9(0x2d4)](_0x3d1304))_0x46b060[_0x28c2b9(0x2f0)][_0x566db3['toLowerCase']()]=_0x5e884f;}}else{if(_0x2d8b16['listenerCount'](_0x28c2b9(0x2d0))===0x0){const _0x2b74d9=_0x2b850a?_0x2d8b16[_0x28c2b9(0x2e1)]?_0x18c442[_0x28c2b9(0x26e)]===_0x2d8b16[_0x28c2b9(0x1dd)]:!0x1:_0x2d8b16['_originalIpc']?!0x1:_0x56fcf5[_0x28c2b9(0x21c)]===_0x2d8b16[_0x28c2b9(0x1dd)];(!_0x2b74d9||_0x2d8b16[_0x28c2b9(0x292)]&&!_0x12044f)&&(delete _0x18c442[_0x28c2b9(0x2f0)][_0x28c2b9(0x1c3)],delete _0x18c442[_0x28c2b9(0x2f0)][_0x28c2b9(0x285)],_0x2b74d9||delete _0x18c442[_0x28c2b9(0x2f0)]['host'],_0x18c442['auth']=void 0x0);}}_0x18c442[_0x28c2b9(0x195)]&&!_0x46b060[_0x28c2b9(0x2f0)][_0x28c2b9(0x1c3)]&&(_0x46b060[_0x28c2b9(0x2f0)][_0x28c2b9(0x1c3)]=_0x28c2b9(0x2f3)+Buffer['from'](_0x18c442[_0x28c2b9(0x195)])[_0x28c2b9(0x310)](_0x28c2b9(0x206))),_0x44568f=_0x2d8b16[_0x28c2b9(0x162)]=_0x5d8255(_0x18c442),_0x2d8b16[_0x28c2b9(0x27a)]&&_0x2d8b16[_0x28c2b9(0x293)](_0x28c2b9(0x2d0),_0x2d8b16[_0x28c2b9(0x253)],_0x44568f);}else _0x44568f=_0x2d8b16['_req']=_0x5d8255(_0x18c442);_0x18c442[_0x28c2b9(0x22a)]&&_0x44568f['on']('timeout',()=>{const _0x3a9e0b=_0x28c2b9;_0x53edd9(_0x2d8b16,_0x44568f,_0x3a9e0b(0x2a1));}),_0x44568f['on'](_0x28c2b9(0x161),_0x5a71d0=>{const _0x25def8=_0x28c2b9;_0x44568f===null||_0x44568f[_0x89502e]||(_0x44568f=_0x2d8b16[_0x25def8(0x162)]=null,_0xa69cf7(_0x2d8b16,_0x5a71d0));}),_0x44568f['on'](_0x28c2b9(0x278),_0x2e308c=>{const _0x11fb74=_0x28c2b9,_0x4e9f9c=_0x2e308c['headers'][_0x11fb74(0x23a)],_0x111cdf=_0x2e308c['statusCode'];if(_0x4e9f9c&&_0x18c442[_0x11fb74(0x2cf)]&&_0x111cdf>=0x12c&&_0x111cdf<0x190){if(++_0x2d8b16['_redirects']>_0x18c442[_0x11fb74(0x226)]){_0x53edd9(_0x2d8b16,_0x44568f,_0x11fb74(0x1e0));return;}_0x44568f['abort']();let _0x3651f2;try{_0x3651f2=new _0x58ba7a(_0x4e9f9c,_0x122966);}catch{const _0x49b066=new SyntaxError(_0x11fb74(0x24f)+_0x4e9f9c);_0xa69cf7(_0x2d8b16,_0x49b066);return;}_0x3e6c2e(_0x2d8b16,_0x3651f2,_0x5a031f,_0x46b060);}else _0x2d8b16[_0x11fb74(0x293)](_0x11fb74(0x1e7),_0x44568f,_0x2e308c)||_0x53edd9(_0x2d8b16,_0x44568f,_0x11fb74(0x2c5)+_0x2e308c[_0x11fb74(0x2cc)]);}),_0x44568f['on']('upgrade',(_0x5a224b,_0x52054c,_0x356e33)=>{const _0x1d33ba=_0x28c2b9;if(_0x2d8b16[_0x1d33ba(0x293)](_0x1d33ba(0x19f),_0x5a224b),_0x2d8b16[_0x1d33ba(0x327)]!==_0xd31a92[_0x1d33ba(0x237)])return;_0x44568f=_0x2d8b16[_0x1d33ba(0x162)]=null;const _0x4d628d=_0x5a224b[_0x1d33ba(0x2f0)][_0x1d33ba(0x19f)];if(_0x4d628d===void 0x0||_0x4d628d['toLowerCase']()!==_0x1d33ba(0x2d3)){_0x53edd9(_0x2d8b16,_0x52054c,_0x1d33ba(0x16b));return;}const _0x4cd006=_0x35fc2c('sha1')[_0x1d33ba(0x1f0)](_0x591c46+_0x4b33d8)[_0x1d33ba(0x287)](_0x1d33ba(0x206));if(_0x5a224b[_0x1d33ba(0x2f0)][_0x1d33ba(0x1ae)]!==_0x4cd006){_0x53edd9(_0x2d8b16,_0x52054c,_0x1d33ba(0x196));return;}const _0x2a9a05=_0x5a224b['headers'][_0x1d33ba(0x1d3)];let _0x3da2dd;if(_0x2a9a05!==void 0x0?_0x387d21[_0x1d33ba(0x249)]?_0x387d21[_0x1d33ba(0x295)](_0x2a9a05)||(_0x3da2dd='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x3da2dd=_0x1d33ba(0x263):_0x387d21[_0x1d33ba(0x249)]&&(_0x3da2dd=_0x1d33ba(0x27f)),_0x3da2dd){_0x53edd9(_0x2d8b16,_0x52054c,_0x3da2dd);return;}_0x2a9a05&&(_0x2d8b16[_0x1d33ba(0x30d)]=_0x2a9a05);const _0x4fc09a=_0x5a224b[_0x1d33ba(0x2f0)][_0x1d33ba(0x2ff)];if(_0x4fc09a!==void 0x0){if(!_0x27353b){_0x53edd9(_0x2d8b16,_0x52054c,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x46493b;try{_0x46493b=_0x4e2153(_0x4fc09a);}catch{_0x53edd9(_0x2d8b16,_0x52054c,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x19d056=Object[_0x1d33ba(0x2d1)](_0x46493b);if(_0x19d056[_0x1d33ba(0x31d)]!==0x1||_0x19d056[0x0]!==_0x56bbf0[_0x1d33ba(0x211)]){_0x53edd9(_0x2d8b16,_0x52054c,_0x1d33ba(0x2be));return;}try{_0x27353b['accept'](_0x46493b[_0x56bbf0[_0x1d33ba(0x211)]]);}catch{_0x53edd9(_0x2d8b16,_0x52054c,_0x1d33ba(0x2a6));return;}_0x2d8b16[_0x1d33ba(0x2f1)][_0x56bbf0[_0x1d33ba(0x211)]]=_0x27353b;}_0x2d8b16[_0x1d33ba(0x27d)](_0x52054c,_0x356e33,{'allowSynchronousEvents':_0x18c442[_0x1d33ba(0x315)],'generateMask':_0x18c442[_0x1d33ba(0x260)],'maxPayload':_0x18c442[_0x1d33ba(0x156)],'skipUTF8Validation':_0x18c442['skipUTF8Validation']});}),_0x18c442[_0x28c2b9(0x257)]?_0x18c442[_0x28c2b9(0x257)](_0x44568f,_0x2d8b16):_0x44568f[_0x28c2b9(0x1dc)]();}function _0xa69cf7(_0x4a253c,_0x3268a5){const _0x568d03=_0x1e9f84;_0x4a253c[_0x568d03(0x246)]=_0xd31a92[_0x568d03(0x205)],_0x4a253c[_0x568d03(0x314)]=!0x0,_0x4a253c[_0x568d03(0x293)](_0x568d03(0x161),_0x3268a5),_0x4a253c[_0x568d03(0x225)]();}function _0x4edbfc(_0x31147d){const _0x500e3e=_0x1e9f84;return _0x31147d['path']=_0x31147d[_0x500e3e(0x26e)],_0x3043af[_0x500e3e(0x29f)](_0x31147d);}function _0x3f429e(_0x33762a){const _0x338f82=_0x1e9f84;return _0x33762a['path']=void 0x0,!_0x33762a[_0x338f82(0x2fe)]&&_0x33762a['servername']!==''&&(_0x33762a[_0x338f82(0x2fe)]=_0x3043af['isIP'](_0x33762a[_0x338f82(0x21c)])?'':_0x33762a['host']),_0x6ed7e3[_0x338f82(0x29f)](_0x33762a);}function _0x53edd9(_0x2563d6,_0x103eb8,_0x3be37f){const _0x58f959=_0x1e9f84;_0x2563d6[_0x58f959(0x246)]=_0xd31a92['CLOSING'];const _0x335cc3=new Error(_0x3be37f);Error['captureStackTrace'](_0x335cc3,_0x53edd9),_0x103eb8[_0x58f959(0x239)]?(_0x103eb8[_0x89502e]=!0x0,_0x103eb8['abort'](),_0x103eb8[_0x58f959(0x1fd)]&&!_0x103eb8[_0x58f959(0x1fd)][_0x58f959(0x2e0)]&&_0x103eb8['socket'][_0x58f959(0x1fe)](),process[_0x58f959(0x2b2)](_0xa69cf7,_0x2563d6,_0x335cc3)):(_0x103eb8[_0x58f959(0x1fe)](_0x335cc3),_0x103eb8[_0x58f959(0x18c)](_0x58f959(0x161),_0x2563d6[_0x58f959(0x293)][_0x58f959(0x18a)](_0x2563d6,_0x58f959(0x161))),_0x103eb8['once'](_0x58f959(0x203),_0x2563d6[_0x58f959(0x225)][_0x58f959(0x18a)](_0x2563d6)));}function _0x49471d(_0x4c37a5,_0xfc60a,_0x5ac7af){const _0x3cc018=_0x1e9f84;if(_0xfc60a){const _0x315f54=_0x20fa19(_0xfc60a)?_0xfc60a[_0x3cc018(0x249)]:_0xc05172(_0xfc60a)['length'];_0x4c37a5[_0x3cc018(0x2fa)]?_0x4c37a5[_0x3cc018(0x250)][_0x3cc018(0x1b7)]+=_0x315f54:_0x4c37a5[_0x3cc018(0x323)]+=_0x315f54;}if(_0x5ac7af){const _0x10cb82=new Error(_0x3cc018(0x27e)+_0x4c37a5[_0x3cc018(0x327)]+'\x20('+_0x13cd99[_0x4c37a5['readyState']]+')');process[_0x3cc018(0x2b2)](_0x5ac7af,_0x10cb82);}}function _0x467646(_0x271968,_0x46c8e3){const _0x5d9103=_0x1e9f84,_0x2ef686=this[_0x1b822b];_0x2ef686['_closeFrameReceived']=!0x0,_0x2ef686['_closeMessage']=_0x46c8e3,_0x2ef686['_closeCode']=_0x271968,_0x2ef686[_0x5d9103(0x2fa)][_0x1b822b]!==void 0x0&&(_0x2ef686[_0x5d9103(0x2fa)][_0x5d9103(0x236)](_0x5d9103(0x214),_0xea6a82),process[_0x5d9103(0x2b2)](_0x583a9e,_0x2ef686['_socket']),_0x271968===0x3ed?_0x2ef686[_0x5d9103(0x203)]():_0x2ef686[_0x5d9103(0x203)](_0x271968,_0x46c8e3));}function _0x130241(){const _0x2e5dd8=_0x1e9f84,_0xd6ec61=this[_0x1b822b];_0xd6ec61[_0x2e5dd8(0x1cd)]||_0xd6ec61[_0x2e5dd8(0x2fa)][_0x2e5dd8(0x318)]();}function _0x5b2c34(_0x557115){const _0x4c61f1=_0x1e9f84,_0x2fd8d5=this[_0x1b822b];_0x2fd8d5[_0x4c61f1(0x2fa)][_0x1b822b]!==void 0x0&&(_0x2fd8d5[_0x4c61f1(0x2fa)][_0x4c61f1(0x236)](_0x4c61f1(0x214),_0xea6a82),process[_0x4c61f1(0x2b2)](_0x583a9e,_0x2fd8d5[_0x4c61f1(0x2fa)]),_0x2fd8d5[_0x4c61f1(0x203)](_0x557115[_0x5daad6])),_0x2fd8d5[_0x4c61f1(0x314)]||(_0x2fd8d5[_0x4c61f1(0x314)]=!0x0,_0x2fd8d5[_0x4c61f1(0x293)](_0x4c61f1(0x161),_0x557115));}function _0x4e8f03(){const _0x210cc8=_0x1e9f84;this[_0x1b822b][_0x210cc8(0x225)]();}function _0x342d8e(_0x1b0d30,_0x196022){const _0x5efe96=_0x1e9f84;this[_0x1b822b]['emit'](_0x5efe96(0x192),_0x1b0d30,_0x196022);}function _0x135a8b(_0x4e72da){const _0x56c623=_0x1e9f84,_0x3aa226=this[_0x1b822b];_0x3aa226[_0x56c623(0x2b0)]&&_0x3aa226[_0x56c623(0x2d9)](_0x4e72da,!this[_0x56c623(0x229)],_0x5cd60f),_0x3aa226[_0x56c623(0x293)]('ping',_0x4e72da);}function _0x1671f3(_0x3ea5f8){const _0xdc0454=_0x1e9f84;this[_0x1b822b][_0xdc0454(0x293)](_0xdc0454(0x2d9),_0x3ea5f8);}function _0x583a9e(_0x25e465){const _0x42404a=_0x1e9f84;_0x25e465[_0x42404a(0x318)]();}function _0x287406(_0x25b0a9){const _0x54fadd=_0x1e9f84,_0x2b4ef5=this[_0x1b822b];_0x2b4ef5[_0x54fadd(0x327)]!==_0xd31a92[_0x54fadd(0x191)]&&(_0x2b4ef5['readyState']===_0xd31a92[_0x54fadd(0x1e9)]&&(_0x2b4ef5[_0x54fadd(0x246)]=_0xd31a92[_0x54fadd(0x205)],_0x5a9149(_0x2b4ef5)),this['_socket'][_0x54fadd(0x1dc)](),_0x2b4ef5[_0x54fadd(0x314)]||(_0x2b4ef5[_0x54fadd(0x314)]=!0x0,_0x2b4ef5[_0x54fadd(0x293)](_0x54fadd(0x161),_0x25b0a9)));}function _0x5a9149(_0x52a92c){const _0x323424=_0x1e9f84;_0x52a92c[_0x323424(0x256)]=setTimeout(_0x52a92c[_0x323424(0x2fa)]['destroy'][_0x323424(0x18a)](_0x52a92c[_0x323424(0x2fa)]),_0x7a5b8f);}function _0x1ac6b4(){const _0x13ad4b=_0x1e9f84,_0x141df2=this[_0x1b822b];this[_0x13ad4b(0x236)](_0x13ad4b(0x203),_0x1ac6b4),this[_0x13ad4b(0x236)](_0x13ad4b(0x214),_0xea6a82),this[_0x13ad4b(0x236)](_0x13ad4b(0x1dc),_0x139cba),_0x141df2['_readyState']=_0xd31a92[_0x13ad4b(0x205)];let _0x3aff47;!this[_0x13ad4b(0x2f5)]['endEmitted']&&!_0x141df2[_0x13ad4b(0x2c2)]&&!_0x141df2['_receiver'][_0x13ad4b(0x301)]['errorEmitted']&&(_0x3aff47=_0x141df2[_0x13ad4b(0x2fa)][_0x13ad4b(0x25c)]())!==null&&_0x141df2[_0x13ad4b(0x2e3)][_0x13ad4b(0x1be)](_0x3aff47),_0x141df2[_0x13ad4b(0x2e3)][_0x13ad4b(0x1dc)](),this[_0x1b822b]=void 0x0,clearTimeout(_0x141df2[_0x13ad4b(0x256)]),_0x141df2['_receiver'][_0x13ad4b(0x301)][_0x13ad4b(0x176)]||_0x141df2[_0x13ad4b(0x2e3)][_0x13ad4b(0x301)][_0x13ad4b(0x1b8)]?_0x141df2[_0x13ad4b(0x225)]():(_0x141df2['_receiver']['on']('error',_0x4e8f03),_0x141df2[_0x13ad4b(0x2e3)]['on'](_0x13ad4b(0x31b),_0x4e8f03));}function _0xea6a82(_0x452506){const _0x5b346a=_0x1e9f84;this[_0x1b822b][_0x5b346a(0x2e3)]['write'](_0x452506)||this['pause']();}function _0x139cba(){const _0x46153a=_0x1e9f84,_0x31bfd5=this[_0x1b822b];_0x31bfd5[_0x46153a(0x246)]=_0xd31a92[_0x46153a(0x205)],_0x31bfd5[_0x46153a(0x2e3)]['end'](),this[_0x46153a(0x1dc)]();}function _0x4cf32c(){const _0x14dcfc=_0x1e9f84,_0x2b4f00=this[_0x1b822b];this['removeListener'](_0x14dcfc(0x161),_0x4cf32c),this['on'](_0x14dcfc(0x161),_0x5cd60f),_0x2b4f00&&(_0x2b4f00[_0x14dcfc(0x246)]=_0xd31a92[_0x14dcfc(0x205)],this[_0x14dcfc(0x1fe)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x31cb1e}=oe;function _0x1708ed(_0xf40ce8){const _0x252c53=_0x46c0;_0xf40ce8[_0x252c53(0x293)](_0x252c53(0x203));}function _0x89fad5(){const _0x3a78c1=_0x46c0;!this[_0x3a78c1(0x2e0)]&&this[_0x3a78c1(0x301)]['finished']&&this['destroy']();}function _0x9de059(_0x1c400a){const _0x5c039d=_0x46c0;this[_0x5c039d(0x236)](_0x5c039d(0x161),_0x9de059),this[_0x5c039d(0x1fe)](),this[_0x5c039d(0x173)]('error')===0x0&&this['emit'](_0x5c039d(0x161),_0x1c400a);}function _0xf214b5(_0x4d31bf,_0x5b2feb){const _0x2610e8=_0x46c0;let _0x16f829=!0x0;const _0x52e2e1=new _0x31cb1e({..._0x5b2feb,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x4d31bf['on'](_0x2610e8(0x192),function(_0xc2ee51,_0x552724){const _0x404da4=_0x2610e8,_0x2d7c29=!_0x552724&&_0x52e2e1[_0x404da4(0x2f5)][_0x404da4(0x179)]?_0xc2ee51[_0x404da4(0x310)]():_0xc2ee51;_0x52e2e1[_0x404da4(0x299)](_0x2d7c29)||_0x4d31bf[_0x404da4(0x1bd)]();}),_0x4d31bf[_0x2610e8(0x18c)](_0x2610e8(0x161),function(_0x3192da){const _0xbc7b58=_0x2610e8;_0x52e2e1[_0xbc7b58(0x2e0)]||(_0x16f829=!0x1,_0x52e2e1[_0xbc7b58(0x1fe)](_0x3192da));}),_0x4d31bf[_0x2610e8(0x18c)](_0x2610e8(0x203),function(){const _0x25d6e5=_0x2610e8;_0x52e2e1[_0x25d6e5(0x2e0)]||_0x52e2e1['push'](null);}),_0x52e2e1['_destroy']=function(_0x35f944,_0x179eb9){const _0x3c856a=_0x2610e8;if(_0x4d31bf[_0x3c856a(0x327)]===_0x4d31bf['CLOSED']){_0x179eb9(_0x35f944),process[_0x3c856a(0x2b2)](_0x1708ed,_0x52e2e1);return;}let _0x3891a2=!0x1;_0x4d31bf[_0x3c856a(0x18c)](_0x3c856a(0x161),function(_0x53f114){_0x3891a2=!0x0,_0x179eb9(_0x53f114);}),_0x4d31bf[_0x3c856a(0x18c)](_0x3c856a(0x203),function(){const _0x28a18=_0x3c856a;_0x3891a2||_0x179eb9(_0x35f944),process[_0x28a18(0x2b2)](_0x1708ed,_0x52e2e1);}),_0x16f829&&_0x4d31bf[_0x3c856a(0x15d)]();},_0x52e2e1[_0x2610e8(0x20c)]=function(_0x2f04e1){const _0x2b11d7=_0x2610e8;if(_0x4d31bf[_0x2b11d7(0x327)]===_0x4d31bf[_0x2b11d7(0x237)]){_0x4d31bf[_0x2b11d7(0x18c)](_0x2b11d7(0x197),function(){const _0x19b12f=_0x2b11d7;_0x52e2e1[_0x19b12f(0x20c)](_0x2f04e1);});return;}_0x4d31bf[_0x2b11d7(0x2fa)]!==null&&(_0x4d31bf['_socket'][_0x2b11d7(0x301)]['finished']?(_0x2f04e1(),_0x52e2e1[_0x2b11d7(0x2f5)][_0x2b11d7(0x1c4)]&&_0x52e2e1[_0x2b11d7(0x1fe)]()):(_0x4d31bf[_0x2b11d7(0x2fa)]['once']('finish',function(){_0x2f04e1();}),_0x4d31bf[_0x2b11d7(0x203)]()));},_0x52e2e1[_0x2610e8(0x283)]=function(){const _0x5f2ff4=_0x2610e8;_0x4d31bf[_0x5f2ff4(0x1cd)]&&_0x4d31bf[_0x5f2ff4(0x318)]();},_0x52e2e1[_0x2610e8(0x1ac)]=function(_0x44476e,_0x1505a6,_0x325e09){const _0x4602f8=_0x2610e8;if(_0x4d31bf['readyState']===_0x4d31bf[_0x4602f8(0x237)]){_0x4d31bf['once']('open',function(){_0x52e2e1['_write'](_0x44476e,_0x1505a6,_0x325e09);});return;}_0x4d31bf[_0x4602f8(0x277)](_0x44476e,_0x325e09);},_0x52e2e1['on']('end',_0x89fad5),_0x52e2e1['on']('error',_0x9de059),_0x52e2e1;}return Oe=_0xf214b5,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x2a03e1}=ae();function _0x2e6fbb(_0x3a3a6a){const _0xb0aab5=_0x46c0,_0x46b0d5=new Set();let _0x57d3d4=-0x1,_0x50461a=-0x1,_0x3c6e76=0x0;for(_0x3c6e76;_0x3c6e76<_0x3a3a6a[_0xb0aab5(0x31d)];_0x3c6e76++){const _0x299df7=_0x3a3a6a[_0xb0aab5(0x29a)](_0x3c6e76);if(_0x50461a===-0x1&&_0x2a03e1[_0x299df7]===0x1)_0x57d3d4===-0x1&&(_0x57d3d4=_0x3c6e76);else{if(_0x3c6e76!==0x0&&(_0x299df7===0x20||_0x299df7===0x9))_0x50461a===-0x1&&_0x57d3d4!==-0x1&&(_0x50461a=_0x3c6e76);else{if(_0x299df7===0x2c){if(_0x57d3d4===-0x1)throw new SyntaxError(_0xb0aab5(0x2f2)+_0x3c6e76);_0x50461a===-0x1&&(_0x50461a=_0x3c6e76);const _0x6a3a68=_0x3a3a6a['slice'](_0x57d3d4,_0x50461a);if(_0x46b0d5[_0xb0aab5(0x295)](_0x6a3a68))throw new SyntaxError(_0xb0aab5(0x202)+_0x6a3a68+_0xb0aab5(0x30b));_0x46b0d5[_0xb0aab5(0x2f4)](_0x6a3a68),_0x57d3d4=_0x50461a=-0x1;}else throw new SyntaxError(_0xb0aab5(0x2f2)+_0x3c6e76);}}}if(_0x57d3d4===-0x1||_0x50461a!==-0x1)throw new SyntaxError(_0xb0aab5(0x232));const _0x567530=_0x3a3a6a['slice'](_0x57d3d4,_0x3c6e76);if(_0x46b0d5[_0xb0aab5(0x295)](_0x567530))throw new SyntaxError('The\x20\x22'+_0x567530+_0xb0aab5(0x30b));return _0x46b0d5['add'](_0x567530),_0x46b0d5;}return Ce={'parse':_0x2e6fbb},Ce;}var Te,rt;function Ft(){const _0x34e24c=_0x2b7756;if(rt)return Te;rt=0x1;const _0x61e090=nt,_0x2a6382=ot,{Duplex:_0x3d11b6}=oe,{createHash:_0x4f3b5c}=Le,_0x5864f8=ct(),_0x4cc1cb=he(),_0xf47208=At(),_0x47f281=Pe(),{GUID:_0xd39b85,kWebSocket:_0x400036}=H(),_0x2aaa55=/^[+/0-9A-Za-z]{22}==$/,_0x255253=0x0,_0x2ec71c=0x1,_0x3fcf89=0x2;class _0x52db68 extends _0x61e090{constructor(_0x958704,_0x273329){const _0x35dbdf=_0x46c0;if(super(),_0x958704={'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':_0x47f281,..._0x958704},_0x958704[_0x35dbdf(0x279)]==null&&!_0x958704[_0x35dbdf(0x233)]&&!_0x958704[_0x35dbdf(0x1c2)]||_0x958704[_0x35dbdf(0x279)]!=null&&(_0x958704[_0x35dbdf(0x233)]||_0x958704[_0x35dbdf(0x1c2)])||_0x958704[_0x35dbdf(0x233)]&&_0x958704[_0x35dbdf(0x1c2)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x958704['port']!=null?(this[_0x35dbdf(0x172)]=_0x2a6382[_0x35dbdf(0x268)]((_0x2b6bc1,_0x8a0578)=>{const _0x4c398d=_0x35dbdf,_0x5c8238=_0x2a6382[_0x4c398d(0x322)][0x1aa];_0x8a0578[_0x4c398d(0x21d)](0x1aa,{'Content-Length':_0x5c8238['length'],'Content-Type':_0x4c398d(0x1d1)}),_0x8a0578[_0x4c398d(0x1dc)](_0x5c8238);}),this[_0x35dbdf(0x172)][_0x35dbdf(0x17e)](_0x958704[_0x35dbdf(0x279)],_0x958704['host'],_0x958704[_0x35dbdf(0x22e)],_0x273329)):_0x958704[_0x35dbdf(0x233)]&&(this[_0x35dbdf(0x172)]=_0x958704[_0x35dbdf(0x233)]),this[_0x35dbdf(0x172)]){const _0xb9711c=this['emit'][_0x35dbdf(0x18a)](this,_0x35dbdf(0x255));this[_0x35dbdf(0x261)]=_0x199cd3(this['_server'],{'listening':this[_0x35dbdf(0x293)][_0x35dbdf(0x18a)](this,_0x35dbdf(0x22d)),'error':this[_0x35dbdf(0x293)][_0x35dbdf(0x18a)](this,_0x35dbdf(0x161)),'upgrade':(_0x12dd37,_0x3d364a,_0x1b26f6)=>{const _0x433b7a=_0x35dbdf;this[_0x433b7a(0x23c)](_0x12dd37,_0x3d364a,_0x1b26f6,_0xb9711c);}});}_0x958704[_0x35dbdf(0x306)]===!0x0&&(_0x958704['perMessageDeflate']={}),_0x958704[_0x35dbdf(0x235)]&&(this[_0x35dbdf(0x265)]=new Set(),this['_shouldEmitClose']=!0x1),this[_0x35dbdf(0x2e7)]=_0x958704,this[_0x35dbdf(0x216)]=_0x255253;}['address'](){const _0x147066=_0x46c0;if(this[_0x147066(0x2e7)][_0x147066(0x1c2)])throw new Error(_0x147066(0x245));return this[_0x147066(0x172)]?this[_0x147066(0x172)]['address']():null;}['close'](_0xe92e26){const _0x726242=_0x46c0;if(this[_0x726242(0x216)]===_0x3fcf89){_0xe92e26&&this[_0x726242(0x18c)](_0x726242(0x203),()=>{_0xe92e26(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x726242(0x2b2)](_0x14eeff,this);return;}if(_0xe92e26&&this[_0x726242(0x18c)]('close',_0xe92e26),this[_0x726242(0x216)]!==_0x2ec71c){if(this[_0x726242(0x216)]=_0x2ec71c,this[_0x726242(0x2e7)]['noServer']||this[_0x726242(0x2e7)]['server'])this[_0x726242(0x172)]&&(this[_0x726242(0x261)](),this['_removeListeners']=this[_0x726242(0x172)]=null),this[_0x726242(0x265)]?this[_0x726242(0x265)][_0x726242(0x249)]?this[_0x726242(0x2f9)]=!0x0:process['nextTick'](_0x14eeff,this):process['nextTick'](_0x14eeff,this);else{const _0x3714ea=this[_0x726242(0x172)];this[_0x726242(0x261)](),this[_0x726242(0x261)]=this[_0x726242(0x172)]=null,_0x3714ea[_0x726242(0x203)](()=>{_0x14eeff(this);});}}}[_0x34e24c(0x254)](_0x1818f1){const _0x3e81ed=_0x34e24c;if(this[_0x3e81ed(0x2e7)][_0x3e81ed(0x319)]){const _0x1906b5=_0x1818f1[_0x3e81ed(0x253)][_0x3e81ed(0x308)]('?');if((_0x1906b5!==-0x1?_0x1818f1[_0x3e81ed(0x253)]['slice'](0x0,_0x1906b5):_0x1818f1[_0x3e81ed(0x253)])!==this['options'][_0x3e81ed(0x319)])return!0x1;}return!0x0;}[_0x34e24c(0x23c)](_0x36479d,_0x2e64b1,_0x5314da,_0x567016){const _0x428d54=_0x34e24c;_0x2e64b1['on'](_0x428d54(0x161),_0x22193c);const _0x271dc6=_0x36479d[_0x428d54(0x2f0)]['sec-websocket-key'],_0x1a34ee=_0x36479d[_0x428d54(0x2f0)][_0x428d54(0x19f)],_0x17589e=+_0x36479d[_0x428d54(0x2f0)]['sec-websocket-version'];if(_0x36479d[_0x428d54(0x2c6)]!=='GET'){_0x31f75b(this,_0x36479d,_0x2e64b1,0x195,_0x428d54(0x271));return;}if(_0x1a34ee===void 0x0||_0x1a34ee[_0x428d54(0x16e)]()!=='websocket'){_0x31f75b(this,_0x36479d,_0x2e64b1,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x271dc6===void 0x0||!_0x2aaa55['test'](_0x271dc6)){_0x31f75b(this,_0x36479d,_0x2e64b1,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x17589e!==0x8&&_0x17589e!==0xd){_0x31f75b(this,_0x36479d,_0x2e64b1,0x190,_0x428d54(0x1cc));return;}if(!this[_0x428d54(0x254)](_0x36479d)){_0x49f63e(_0x2e64b1,0x190);return;}const _0x584138=_0x36479d[_0x428d54(0x2f0)]['sec-websocket-protocol'];let _0x5c29db=new Set();if(_0x584138!==void 0x0)try{_0x5c29db=_0xf47208[_0x428d54(0x2b1)](_0x584138);}catch{_0x31f75b(this,_0x36479d,_0x2e64b1,0x190,_0x428d54(0x2c7));return;}const _0x20b19e=_0x36479d[_0x428d54(0x2f0)][_0x428d54(0x2ff)],_0x1844e6={};if(this['options'][_0x428d54(0x306)]&&_0x20b19e!==void 0x0){const _0x43cf79=new _0x4cc1cb(this['options'][_0x428d54(0x306)],!0x0,this['options']['maxPayload']);try{const _0x4eca38=_0x5864f8[_0x428d54(0x2b1)](_0x20b19e);_0x4eca38[_0x4cc1cb['extensionName']]&&(_0x43cf79[_0x428d54(0x1e5)](_0x4eca38[_0x4cc1cb[_0x428d54(0x211)]]),_0x1844e6[_0x4cc1cb['extensionName']]=_0x43cf79);}catch{_0x31f75b(this,_0x36479d,_0x2e64b1,0x190,_0x428d54(0x1e3));return;}}if(this[_0x428d54(0x2e7)][_0x428d54(0x30a)]){const _0x50e191={'origin':_0x36479d[_0x428d54(0x2f0)][''+(_0x17589e===0x8?_0x428d54(0x31a):_0x428d54(0x155))],'secure':!!(_0x36479d[_0x428d54(0x1fd)][_0x428d54(0x240)]||_0x36479d[_0x428d54(0x1fd)][_0x428d54(0x309)]),'req':_0x36479d};if(this[_0x428d54(0x2e7)]['verifyClient'][_0x428d54(0x31d)]===0x2){this[_0x428d54(0x2e7)]['verifyClient'](_0x50e191,(_0x444b5d,_0x47ed09,_0x1701ad,_0x4caba5)=>{const _0x2633c3=_0x428d54;if(!_0x444b5d)return _0x49f63e(_0x2e64b1,_0x47ed09||0x191,_0x1701ad,_0x4caba5);this[_0x2633c3(0x28f)](_0x1844e6,_0x271dc6,_0x5c29db,_0x36479d,_0x2e64b1,_0x5314da,_0x567016);});return;}if(!this[_0x428d54(0x2e7)][_0x428d54(0x30a)](_0x50e191))return _0x49f63e(_0x2e64b1,0x191);}this[_0x428d54(0x28f)](_0x1844e6,_0x271dc6,_0x5c29db,_0x36479d,_0x2e64b1,_0x5314da,_0x567016);}['completeUpgrade'](_0x5279ff,_0x53ecee,_0x584eb5,_0x394310,_0x4e297e,_0x148ffc,_0x1b0e92){const _0x11236a=_0x34e24c;if(!_0x4e297e[_0x11236a(0x223)]||!_0x4e297e['writable'])return _0x4e297e['destroy']();if(_0x4e297e[_0x400036])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this['_state']>_0x255253)return _0x49f63e(_0x4e297e,0x1f7);const _0x53b2a3=[_0x11236a(0x27c),_0x11236a(0x159),'Connection:\x20Upgrade','Sec-WebSocket-Accept:\x20'+_0x4f3b5c(_0x11236a(0x20e))[_0x11236a(0x1f0)](_0x53ecee+_0xd39b85)['digest'](_0x11236a(0x206))],_0x539d80=new this[(_0x11236a(0x2e7))][(_0x11236a(0x266))](null,void 0x0,this[_0x11236a(0x2e7)]);if(_0x584eb5[_0x11236a(0x249)]){const _0x4e51eb=this[_0x11236a(0x2e7)][_0x11236a(0x1d7)]?this[_0x11236a(0x2e7)]['handleProtocols'](_0x584eb5,_0x394310):_0x584eb5[_0x11236a(0x2e9)]()['next']()[_0x11236a(0x23f)];_0x4e51eb&&(_0x53b2a3[_0x11236a(0x299)](_0x11236a(0x2d7)+_0x4e51eb),_0x539d80[_0x11236a(0x30d)]=_0x4e51eb);}if(_0x5279ff[_0x4cc1cb[_0x11236a(0x211)]]){const _0x151a16=_0x5279ff[_0x4cc1cb[_0x11236a(0x211)]][_0x11236a(0x1ee)],_0x1957ca=_0x5864f8['format']({[_0x4cc1cb[_0x11236a(0x211)]]:[_0x151a16]});_0x53b2a3[_0x11236a(0x299)](_0x11236a(0x1df)+_0x1957ca),_0x539d80['_extensions']=_0x5279ff;}this['emit']('headers',_0x53b2a3,_0x394310),_0x4e297e['write'](_0x53b2a3[_0x11236a(0x1c9)]('\x0d\x0a')[_0x11236a(0x1aa)]('\x0d\x0a')),_0x4e297e[_0x11236a(0x236)]('error',_0x22193c),_0x539d80[_0x11236a(0x27d)](_0x4e297e,_0x148ffc,{'allowSynchronousEvents':this['options'][_0x11236a(0x315)],'maxPayload':this['options']['maxPayload'],'skipUTF8Validation':this[_0x11236a(0x2e7)][_0x11236a(0x231)]}),this[_0x11236a(0x265)]&&(this[_0x11236a(0x265)]['add'](_0x539d80),_0x539d80['on'](_0x11236a(0x203),()=>{const _0x22a49f=_0x11236a;this[_0x22a49f(0x265)][_0x22a49f(0x28d)](_0x539d80),this[_0x22a49f(0x2f9)]&&!this[_0x22a49f(0x265)][_0x22a49f(0x249)]&&process['nextTick'](_0x14eeff,this);})),_0x1b0e92(_0x539d80,_0x394310);}}Te=_0x52db68;function _0x199cd3(_0xb5379b,_0x2025e6){const _0x5e6d29=_0x34e24c;for(const _0xaac87b of Object[_0x5e6d29(0x2d1)](_0x2025e6))_0xb5379b['on'](_0xaac87b,_0x2025e6[_0xaac87b]);return function(){const _0x52c54e=_0x5e6d29;for(const _0xfd57 of Object[_0x52c54e(0x2d1)](_0x2025e6))_0xb5379b[_0x52c54e(0x236)](_0xfd57,_0x2025e6[_0xfd57]);};}function _0x14eeff(_0x39b104){const _0x5ddd79=_0x34e24c;_0x39b104[_0x5ddd79(0x216)]=_0x3fcf89,_0x39b104[_0x5ddd79(0x293)](_0x5ddd79(0x203));}function _0x22193c(){const _0x4a99f5=_0x34e24c;this[_0x4a99f5(0x1fe)]();}function _0x49f63e(_0x5bfb86,_0x3a6b43,_0x3dd3e3,_0x32c4f5){const _0x272752=_0x34e24c;_0x3dd3e3=_0x3dd3e3||_0x2a6382['STATUS_CODES'][_0x3a6b43],_0x32c4f5={'Connection':'close','Content-Type':_0x272752(0x25e),'Content-Length':Buffer[_0x272752(0x294)](_0x3dd3e3),..._0x32c4f5},_0x5bfb86['once'](_0x272752(0x31b),_0x5bfb86[_0x272752(0x1fe)]),_0x5bfb86['end'](_0x272752(0x2de)+_0x3a6b43+'\x20'+_0x2a6382[_0x272752(0x322)][_0x3a6b43]+'\x0d\x0a'+Object[_0x272752(0x2d1)](_0x32c4f5)['map'](_0x40de32=>_0x40de32+':\x20'+_0x32c4f5[_0x40de32])[_0x272752(0x1aa)]('\x0d\x0a')+_0x272752(0x1c6)+_0x3dd3e3);}function _0x31f75b(_0x509f73,_0x389c35,_0x3a86f6,_0x1845e9,_0x514a4e){const _0xe858ac=_0x34e24c;if(_0x509f73['listenerCount'](_0xe858ac(0x30f))){const _0x40614a=new Error(_0x514a4e);Error['captureStackTrace'](_0x40614a,_0x31f75b),_0x509f73[_0xe858ac(0x293)](_0xe858ac(0x30f),_0x40614a,_0x3a86f6,_0x389c35);}else _0x49f63e(_0x3a86f6,_0x1845e9,_0x514a4e);}return Te;}Ft();var jt=Object[_0x2b7756(0x238)],Wt=(_0x2d29c6,_0x54390e,_0x2e9f94,_0x4bf410)=>{const _0x5a0536=_0x2b7756;for(var _0x5046a8=_0x4bf410>0x1?void 0x0:_0x4bf410?jt(_0x54390e,_0x2e9f94):_0x54390e,_0x38f456=_0x2d29c6[_0x5a0536(0x31d)]-0x1,_0x5ced80;_0x38f456>=0x0;_0x38f456--)(_0x5ced80=_0x2d29c6[_0x38f456])&&(_0x5046a8=_0x5ced80(_0x5046a8)||_0x5046a8);return _0x5046a8;},qt=(_0x295c78,_0x5096c8)=>(_0x4aa836,_0x339b7a)=>_0x5096c8(_0x4aa836,_0x339b7a,_0x295c78);function _0x4308(){const _0x278e18=['errorEmitted','_opcode','Upgrade','wss:','@univerjs-pro/collaboration-client','pause','write','ILogService','WS_ERR_EXPECTED_MASK','alloc','noServer','authorization','endEmitted','802895HThJWc','\x0d\x0a\x0d\x0a','serverNoContextTakeover','fin','concat','_inflate','forEach','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','isPaused','https','_url','warn','text/plain','UniverCollaborationClientNodePlugin','sec-websocket-protocol','http','setNoDelay','_firstFragment','handleProtocols','collaboration-client-node.config','map','pipe','object','end','_originalHostOrSocketPath','pow','Sec-WebSocket-Extensions:\x20','Maximum\x20redirects\x20exceeded','_compress','test','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','WS_NO_BUFFER_UTIL','accept','unmask','unexpected-response','NodeCollaborationSocketService','OPEN','exports','cork','mask','createDeflateRaw','params','crypto','update','function','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','registerDependencies','writeUInt16BE','invalid\x20opcode\x20','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','Unknown\x20parameter\x20\x22','WS_ERR_INVALID_UTF8','_closeCode','target','next','4285616yMTxsR','socket','destroy','_maskBuffer','_skipUTF8Validation','getBlobData','The\x20\x22','close','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','CLOSING','base64','ws+unix:','_doCreateSocket','unshift','clientNoContextTakeover','Sec-WebSocket-Origin','_final','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','sha1','events','onStarting','extensionName','uncork','_mask','data','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','_state','handshakeTimeout','flush','kMessage','Max\x20payload\x20size\x20exceeded','dispose','host','writeHead','search','hasOwnProperty','Observable','request','call','readable','Origin','emitClose','maxRedirects','kCode','freeze','_isServer','timeout','RSV1\x20must\x20be\x20clear','haveLength','listening','backlog','_options','then','skipUTF8Validation','Unexpected\x20end\x20of\x20input','server','getInfo','clientTracking','removeListener','CONNECTING','getOwnPropertyDescriptor','setHeader','location','status-code','handleUpgrade','_messageLength','share','value','authorized','Inject','_closeMessage','defaultPort','callback','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','_readyState','create','buffer','size','cleanup','slice','client_max_window_bits','_registerDependencies','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','Invalid\x20URL:\x20','_sender','password','_maxPayload','url','shouldHandle','connection','_closeTimer','finishRequest','_buffers','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','pending','number','read','onerror','text/html','invalid\x20opcode\x200','generateMask','_removeListeners','dispatch','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','_paused','clients','WebSocket','GET','createServer','WS_NO_UTF_8_VALIDATE','setTimeout','getConfig','invalid\x20status\x20code\x20','_no_context_takeover','socketPath','1eYMciJ','includes','Invalid\x20HTTP\x20method','_compressed','_loop','_threshold','controlMessage','wasClean','send','response','port','_redirects','Module','HTTP/1.1\x20101\x20Switching\x20Protocols','setSocket','WebSocket\x20is\x20not\x20open:\x20readyState\x20','Server\x20sent\x20no\x20subprotocol','Sec-WebSocket-Extensions','invalid\x20payload\x20length\x20','22IjNPax','_read','threshold','cookie','serverMaxWindowBits','digest','_payloadLength','maskBuffer','Parameter\x20\x22','createError','isArray','delete','removeEventListener','completeUpgrade','getPayloadLength64','from','_originalSecure','emit','byteLength','has','frame','acceptAsServer','getMask','push','charCodeAt','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','isInteger','WS_ERR_UNEXPECTED_RSV_1','_generateMask','connect','dataMessage','Opening\x20handshake\x20has\x20timed\x20out','createConnection','needDrain','code','552969sNgiQZ','Invalid\x20Sec-WebSocket-Extensions\x20header','toStringTag','1375732lByMVd','handleEvent','pathname','arrayBuffer','_binaryType','_decompress','server_no_context_takeover','extensions','_autoPong','parse','nextTick','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','get','COLLABORATION_CLIENT_NODE_CONFIG_KEY','split','11412564YhqthI','createSocket','buffers','enqueue','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','_fragmented','writeUIntBE','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','isValidUTF8','_allowSynchronousEvents','_totalPayloadLength','_closeFrameReceived','allocUnsafe','_configService','Unexpected\x20server\x20response:\x20','method','Invalid\x20Sec-WebSocket-Protocol\x20header','startLoop','Plugin','registerHTTPInterceptor','_fin','statusCode','protocol','MASK\x20must\x20be\x20clear','followRedirects','redirect','keys','reset','websocket','entries','string','Sec-WebSocket-Protocol','Sec-WebSocket-Protocol:\x20','autoPong','pong','File','drain','binary','apply','HTTP/1.1\x20','addEventListener','destroyed','_originalIpc','rsv1','_receiver','set','WS_ERR_INVALID_OPCODE','Invalid\x20WebSocket\x20frame:\x20','options','209832sxFdXe','values','Injector','kListener','listeners','hostname','setConfig','170CMTBzR','headers','_extensions','Unexpected\x20character\x20at\x20index\x20','Basic\x20','add','_readableState','href','client_no_context_takeover','_queue','_shouldEmitClose','_socket','prototype','UniverCollaborationClientPlugin','Cookie','servername','sec-websocket-extensions','45WnYDmO','_writableState','conclude','byteOffset','readOnly','@univerjs/core','perMessageDeflate','WS_ERR_UNEXPECTED_RSV_2_3','indexOf','encrypted','verifyClient','\x22\x20subprotocol\x20is\x20duplicated','readUInt16BE','_protocol','WS_ERR_UNEXPECTED_MASK','wsClientError','toString','shift','tls','client','_errorEmitted','allowSynchronousEvents','removeAllListeners','getData','resume','path','sec-websocket-origin','finish','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','length','defineProperty','binaryType','6selzbR','isView','STATUS_CODES','_bufferedAmount','_masked','invalid\x20UTF-8\x20sequence','ws:','readyState','origin','maxPayload','http:','protocolVersion','Upgrade:\x20websocket','readUInt32BE','pluginName','dequeue','terminate','clientMaxWindowBits','concurrency','customHeaders','error','_req','onclose','replace','jobs','Unsupported\x20protocol\x20version:\x20','kType','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','ISocketService','Z_SYNC_FLUSH','Invalid\x20Upgrade\x20header','constructor','getPayloadLength16','toLowerCase','type','find','_closeFrameSent','_server','listenerCount','rxjs','kAborted','finished','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','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','objectMode','\x22:\x20','decompress','createInflateRaw','onopen','listen','WS_ERR_EXPECTED_FIN','stream','ping','_httpService','_max_window_bits','offer','captureStackTrace','kError','6722877eTYHRV','FIN\x20must\x20be\x20set','__esModule','bind','\x20(supported\x20versions:\x20','once','kDone','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','server_max_window_bits','Invalid\x20value\x20for\x20parameter\x20\x22','CLOSED','message','permessage-deflate','default','auth','Invalid\x20Sec-WebSocket-Accept\x20header','open','concurrencyLimit','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','zlibInflateOptions','@univerjs-pro/collaboration','_errored','Z_DEFAULT_WINDOWBITS','startsWith','upgrade','kIsForOnEventAttribute','_deflate','consume','HTTPService','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','reason','isServer','toDisposable','species','kByteLength','join','onmessage','_write','nodebuffer','sec-websocket-accept','IConfigService','CollaborationSocketService','acceptAsClient','_fragments','catch','compress','sendFrame','arraybuffer','_bufferedBytes'];_0x4308=function(){return _0x278e18;};return _0x4308();}let ke=class extends A['Disposable']{constructor(_0x3947e3){super(),this['_configService']=_0x3947e3;}[_0x2b7756(0x2b8)](_0x56f359){const _0xad86e0=_0x2b7756;var _0x2e496b;const _0x2bb2b1=(_0x2e496b=this['_configService'][_0xad86e0(0x26b)](fe))==null?void 0x0:_0x2e496b[_0xad86e0(0x160)];try{const _0x1a6492=new $t(_0x56f359,{'headers':{..._0x2bb2b1}}),_0x5d3f47=new A['DisposableCollection']();return{'URL':_0x56f359,'close':(_0x4529aa,_0x11f00d)=>{const _0x4c5857=_0xad86e0;_0x1a6492['close'](_0x4529aa,_0x11f00d),_0x5d3f47[_0x4c5857(0x21b)]();},'send':_0x287e95=>{const _0x5b7a67=_0xad86e0;_0x1a6492[_0x5b7a67(0x277)](_0x287e95);},'open$':new V[(_0xad86e0(0x220))](_0x868cb6=>{const _0x42b36b=_0xad86e0,_0xf2aa8f=_0x4009d8=>_0x868cb6[_0x42b36b(0x1fb)](_0x4009d8);_0x1a6492[_0x42b36b(0x2df)](_0x42b36b(0x197),_0xf2aa8f),_0x5d3f47[_0x42b36b(0x2f4)](A[_0x42b36b(0x1a7)](()=>_0x1a6492[_0x42b36b(0x28e)](_0x42b36b(0x197),_0xf2aa8f)));})[_0xad86e0(0x1da)](V['share']()),'close$':new V[(_0xad86e0(0x220))](_0x487887=>{const _0xa09756=_0xad86e0,_0x504e47=_0x2a9109=>_0x487887[_0xa09756(0x1fb)](_0x2a9109);_0x1a6492[_0xa09756(0x2df)]('close',_0x504e47),_0x5d3f47['add'](A[_0xa09756(0x1a7)](()=>_0x1a6492[_0xa09756(0x28e)]('close',_0x504e47)));})[_0xad86e0(0x1da)](V[_0xad86e0(0x23e)]()),'error$':new V[(_0xad86e0(0x220))](_0x11511a=>{const _0x37333d=_0xad86e0,_0x3336f6=_0x240758=>_0x11511a[_0x37333d(0x1fb)](_0x240758);_0x1a6492[_0x37333d(0x2df)](_0x37333d(0x161),_0x3336f6),_0x5d3f47[_0x37333d(0x2f4)](A[_0x37333d(0x1a7)](()=>_0x1a6492['removeEventListener'](_0x37333d(0x161),_0x3336f6)));})[_0xad86e0(0x1da)](V[_0xad86e0(0x23e)]()),'message$':new V[(_0xad86e0(0x220))](_0xd69e47=>{const _0x450198=_0xad86e0,_0x2600c2=_0x233a4e=>_0xd69e47[_0x450198(0x1fb)](_0x233a4e);_0x1a6492[_0x450198(0x2df)]('message',_0x2600c2),_0x5d3f47[_0x450198(0x2f4)](A['toDisposable'](()=>_0x1a6492['removeEventListener'](_0x450198(0x192),_0x2600c2)));})[_0xad86e0(0x1da)](V['share']())};}catch(_0x1766c8){return console[_0xad86e0(0x161)](_0x1766c8),null;}}};ke=Wt([qt(0x0,A[_0x2b7756(0x1af)])],ke);var Gt=Object[_0x2b7756(0x31e)],Vt=Object['getOwnPropertyDescriptor'],Ht=(_0x26b736,_0x19bd97,_0x18e2a4)=>_0x19bd97 in _0x26b736?Gt(_0x26b736,_0x19bd97,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x18e2a4}):_0x26b736[_0x19bd97]=_0x18e2a4,zt=(_0xdad773,_0x48116e,_0x224f5c,_0x15eb92)=>{const _0xe52064=_0x2b7756;for(var _0x39e984=_0x15eb92>0x1?void 0x0:_0x15eb92?Vt(_0x48116e,_0x224f5c):_0x48116e,_0x30869e=_0xdad773[_0xe52064(0x31d)]-0x1,_0x3dd034;_0x30869e>=0x0;_0x30869e--)(_0x3dd034=_0xdad773[_0x30869e])&&(_0x39e984=_0x3dd034(_0x39e984)||_0x39e984);return _0x39e984;},Ne=(_0x2427be,_0x3cee42)=>(_0x512605,_0x347852)=>_0x3cee42(_0x512605,_0x347852,_0x2427be),Yt=(_0x231ac4,_0x20945e,_0x4b0ea7)=>Ht(_0x231ac4,_0x20945e+'',_0x4b0ea7);exports[_0x2b7756(0x1d2)]=class extends A[_0x2b7756(0x2c9)]{constructor(_0x21eabb=Ct,_0x389023,_0x3e5f61,_0x31c50f){const _0x4f890a=_0x2b7756;_0x21eabb[_0x4f890a(0x160)]||_0x389023[_0x4f890a(0x1d0)](_0x4f890a(0x199)),super(),this[_0x4f890a(0x2c4)]=_0x3e5f61,this['_injector']=_0x31c50f,this['_configService'][_0x4f890a(0x2ee)](fe,_0x21eabb);}[_0x2b7756(0x210)](){this['_registerDependencies']();}[_0x2b7756(0x24d)](){const _0x528187=_0x2b7756;A[_0x528187(0x1f3)](this['_injector'],[[it[_0x528187(0x169)],{'useClass':ke}]]);}},Yt(exports['UniverCollaborationClientNodePlugin'],_0x2b7756(0x15b),_0x2b7756(0x24e)),exports[_0x2b7756(0x1d2)]=zt([A['DependentOn'](st[_0x2b7756(0x2fc)]),Ne(0x1,A[_0x2b7756(0x1bf)]),Ne(0x2,A[_0x2b7756(0x1af)]),Ne(0x3,A[_0x2b7756(0x241)](A[_0x2b7756(0x2ea)]))],exports[_0x2b7756(0x1d2)]);var Kt=Object[_0x2b7756(0x238)],Xt=(_0x1ba234,_0x2126e0,_0x2fc2f9,_0x13e936)=>{const _0x3e4084=_0x2b7756;for(var _0x5081a3=_0x13e936>0x1?void 0x0:_0x13e936?Kt(_0x2126e0,_0x2fc2f9):_0x2126e0,_0x129a7d=_0x1ba234[_0x3e4084(0x31d)]-0x1,_0x1b343a;_0x129a7d>=0x0;_0x129a7d--)(_0x1b343a=_0x1ba234[_0x129a7d])&&(_0x5081a3=_0x1b343a(_0x5081a3)||_0x5081a3);return _0x5081a3;},ne=(_0x1238bb,_0x1a29da)=>(_0x1a30ff,_0x3f06a1)=>_0x1a29da(_0x1a30ff,_0x3f06a1,_0x1238bb);exports['NodeCollaborationSocketService']=class extends st[_0x2b7756(0x1b0)]{constructor(_0x25f4ff,_0x3c1164,_0x559e0b,_0x31bc53,_0x3a1b85){const _0x39d1c9=_0x2b7756;super(_0x25f4ff,_0x3c1164,_0x559e0b,_0x31bc53,_0x3a1b85);const _0x2420eb=this[_0x39d1c9(0x2c4)][_0x39d1c9(0x26b)](fe);this[_0x39d1c9(0x182)][_0x39d1c9(0x2ca)]({'interceptor':(_0x5bbbd0,_0x5bfe56)=>{const _0x396028=_0x39d1c9;var _0x1e5c57;const _0x418c10=_0x5bbbd0[_0x396028(0x2f0)];return(_0x1e5c57=_0x2420eb==null?void 0x0:_0x2420eb[_0x396028(0x160)])!=null&&_0x1e5c57[_0x396028(0x285)]&&_0x418c10[_0x396028(0x2e4)](_0x396028(0x2fd),_0x2420eb[_0x396028(0x160)][_0x396028(0x285)]),_0x5bfe56(_0x5bbbd0);}});}async[_0x2b7756(0x2b8)](_0x4deac6){const _0x2a0fe6=_0x2b7756;return this[_0x2a0fe6(0x208)](_0x4deac6);}},exports[_0x2b7756(0x1e8)]=Xt([ne(0x0,A['Inject'](A[_0x2b7756(0x2ea)])),ne(0x1,A[_0x2b7756(0x241)](it[_0x2b7756(0x1a3)])),ne(0x2,A[_0x2b7756(0x1af)]),ne(0x3,A['ILogService']),ne(0x4,Ot['ISnapshotServerService'])],exports['NodeCollaborationSocketService']),exports[_0x2b7756(0x2b5)]=fe;
1
+ 'use strict';const _0x49d410=_0x80da;(function(_0x3ede5d,_0x4e9735){const _0x27cef3=_0x80da,_0x466ba1=_0x3ede5d();while(!![]){try{const _0x9d960b=-parseInt(_0x27cef3(0x1f5))/0x1+-parseInt(_0x27cef3(0x285))/0x2*(-parseInt(_0x27cef3(0x283))/0x3)+parseInt(_0x27cef3(0x2af))/0x4+parseInt(_0x27cef3(0x23a))/0x5+parseInt(_0x27cef3(0x2ba))/0x6+-parseInt(_0x27cef3(0x244))/0x7*(-parseInt(_0x27cef3(0x2b9))/0x8)+-parseInt(_0x27cef3(0x276))/0x9*(parseInt(_0x27cef3(0x248))/0xa);if(_0x9d960b===_0x4e9735)break;else _0x466ba1['push'](_0x466ba1['shift']());}catch(_0x47677c){_0x466ba1['push'](_0x466ba1['shift']());}}}(_0x458f,0xd1585));Object[_0x49d410(0x35e)](exports,Symbol[_0x49d410(0x1d7)],{'value':_0x49d410(0x227)});const st=require('@univerjs-pro/collaboration-client'),A=require(_0x49d410(0x29e)),it=require('@univerjs/network'),V=require(_0x49d410(0x294)),nt=require('events'),vt=require(_0x49d410(0x23e)),ot=require(_0x49d410(0x270)),St=require(_0x49d410(0x238)),Et=require(_0x49d410(0x1f2)),Le=require(_0x49d410(0x25d)),oe=require(_0x49d410(0x331)),xt=require(_0x49d410(0x23f)),bt=require(_0x49d410(0x370)),wt=require(_0x49d410(0x25e)),Ot=require('@univerjs-pro/collaboration'),fe='collaboration-client-node.config',Ct={'customHeaders':{}};function Tt(_0x33679e){const _0x3f78e4=_0x49d410;return _0x33679e&&_0x33679e[_0x3f78e4(0x246)]&&Object[_0x3f78e4(0x241)]['hasOwnProperty'][_0x3f78e4(0x1ec)](_0x33679e,'default')?_0x33679e[_0x3f78e4(0x28d)]:_0x33679e;}function at(_0x13a4a6){const _0x5a4865=_0x49d410;if(Object[_0x5a4865(0x241)][_0x5a4865(0x233)][_0x5a4865(0x1ec)](_0x13a4a6,'__esModule'))return _0x13a4a6;var _0x25c221=_0x13a4a6['default'];if(typeof _0x25c221==_0x5a4865(0x223)){var _0x4e7044=function _0x35ea9f(){const _0x426c73=_0x5a4865;return this instanceof _0x35ea9f?Reflect[_0x426c73(0x23d)](_0x25c221,arguments,this['constructor']):_0x25c221[_0x426c73(0x259)](this,arguments);};_0x4e7044['prototype']=_0x25c221[_0x5a4865(0x241)];}else _0x4e7044={};return Object['defineProperty'](_0x4e7044,_0x5a4865(0x246),{'value':!0x0}),Object[_0x5a4865(0x1ed)](_0x13a4a6)[_0x5a4865(0x289)](function(_0x53be8c){const _0xdccdcf=_0x5a4865;var _0x3e753f=Object[_0xdccdcf(0x2ec)](_0x13a4a6,_0x53be8c);Object[_0xdccdcf(0x35e)](_0x4e7044,_0x53be8c,_0x3e753f['get']?_0x3e753f:{'enumerable':!0x0,'get':function(){return _0x13a4a6[_0x53be8c];}});}),_0x4e7044;}var se={'exports':{}},ge,Ge;function H(){const _0x139108=_0x49d410;if(Ge)return ge;Ge=0x1;const _0x24a045=[_0x139108(0x22c),_0x139108(0x1b8),_0x139108(0x29a)],_0x6c021c=typeof Blob<'u';return _0x6c021c&&_0x24a045[_0x139108(0x293)](_0x139108(0x352)),ge={'BINARY_TYPES':_0x24a045,'EMPTY_BUFFER':Buffer[_0x139108(0x27d)](0x0),'GUID':_0x139108(0x2ef),'hasBlob':_0x6c021c,'kForOnEventAttribute':Symbol(_0x139108(0x328)),'kListener':Symbol('kListener'),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0x139108(0x30b)),'NOOP':()=>{}},ge;}const Nt={},kt=Object['freeze'](Object[_0x49d410(0x35e)]({'__proto__':null,'default':Nt},Symbol[_0x49d410(0x1d7)],{'value':_0x49d410(0x227)})),Lt=at(kt);var Ve;function ce(){const _0xdee44e=_0x49d410;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0x27d591}=H(),_0x2c7ad0=Buffer[Symbol['species']];function _0x421a2f(_0x3c1f41,_0x415026){const _0x373e3d=_0x80da;if(_0x3c1f41['length']===0x0)return _0x27d591;if(_0x3c1f41[_0x373e3d(0x240)]===0x1)return _0x3c1f41[0x0];const _0x56efc7=Buffer[_0x373e3d(0x377)](_0x415026);let _0x2eaa70=0x0;for(let _0x37d402=0x0;_0x37d402<_0x3c1f41['length'];_0x37d402++){const _0x5d97ae=_0x3c1f41[_0x37d402];_0x56efc7[_0x373e3d(0x1e7)](_0x5d97ae,_0x2eaa70),_0x2eaa70+=_0x5d97ae[_0x373e3d(0x240)];}return _0x2eaa70<_0x415026?new _0x2c7ad0(_0x56efc7[_0x373e3d(0x25e)],_0x56efc7[_0x373e3d(0x1bc)],_0x2eaa70):_0x56efc7;}function _0x59b739(_0x52b0ab,_0x3acf87,_0x1c64ca,_0xfc9b78,_0x15aa21){for(let _0x1397de=0x0;_0x1397de<_0x15aa21;_0x1397de++)_0x1c64ca[_0xfc9b78+_0x1397de]=_0x52b0ab[_0x1397de]^_0x3acf87[_0x1397de&0x3];}function _0x4b5025(_0x35841b,_0x110c56){const _0x471d52=_0x80da;for(let _0x2364e4=0x0;_0x2364e4<_0x35841b[_0x471d52(0x240)];_0x2364e4++)_0x35841b[_0x2364e4]^=_0x110c56[_0x2364e4&0x3];}function _0x2910e4(_0x64ce60){const _0x4e055e=_0x80da;return _0x64ce60[_0x4e055e(0x240)]===_0x64ce60[_0x4e055e(0x25e)][_0x4e055e(0x1e1)]?_0x64ce60[_0x4e055e(0x25e)]:_0x64ce60['buffer'][_0x4e055e(0x2ad)](_0x64ce60[_0x4e055e(0x1bc)],_0x64ce60[_0x4e055e(0x1bc)]+_0x64ce60[_0x4e055e(0x240)]);}function _0x3ca141(_0x19ef8f){const _0x3de347=_0x80da;if(_0x3ca141[_0x3de347(0x2fb)]=!0x0,Buffer['isBuffer'](_0x19ef8f))return _0x19ef8f;let _0x2f9a68;return _0x19ef8f instanceof ArrayBuffer?_0x2f9a68=new _0x2c7ad0(_0x19ef8f):ArrayBuffer['isView'](_0x19ef8f)?_0x2f9a68=new _0x2c7ad0(_0x19ef8f[_0x3de347(0x25e)],_0x19ef8f['byteOffset'],_0x19ef8f[_0x3de347(0x1e1)]):(_0x2f9a68=Buffer['from'](_0x19ef8f),_0x3ca141[_0x3de347(0x2fb)]=!0x1),_0x2f9a68;}if(se[_0xdee44e(0x21e)]={'concat':_0x421a2f,'mask':_0x59b739,'toArrayBuffer':_0x2910e4,'toBuffer':_0x3ca141,'unmask':_0x4b5025},!process['env'][_0xdee44e(0x21a)])try{const _0x2a4571=Lt;se[_0xdee44e(0x21e)][_0xdee44e(0x1ef)]=function(_0x5eec12,_0x41a0b2,_0x513d11,_0x2a1ddb,_0x493a5a){const _0x46fa73=_0xdee44e;_0x493a5a<0x30?_0x59b739(_0x5eec12,_0x41a0b2,_0x513d11,_0x2a1ddb,_0x493a5a):_0x2a4571[_0x46fa73(0x1ef)](_0x5eec12,_0x41a0b2,_0x513d11,_0x2a1ddb,_0x493a5a);},se[_0xdee44e(0x21e)][_0xdee44e(0x2d9)]=function(_0x3daa96,_0x15018f){const _0x2a5561=_0xdee44e;_0x3daa96[_0x2a5561(0x240)]<0x20?_0x4b5025(_0x3daa96,_0x15018f):_0x2a4571[_0x2a5561(0x2d9)](_0x3daa96,_0x15018f);};}catch{}return se['exports'];}var ye,He;function Pt(){const _0x16676c=_0x49d410;if(He)return ye;He=0x1;const _0x55010f=Symbol(_0x16676c(0x1cc)),_0x509543=Symbol(_0x16676c(0x1fd));class _0x45f4a7{constructor(_0xe92a02){const _0x2ca3e1=_0x16676c;this[_0x55010f]=()=>{const _0x3fc8c4=_0x80da;this[_0x3fc8c4(0x206)]--,this[_0x509543]();},this[_0x2ca3e1(0x2ca)]=_0xe92a02||0x1/0x0,this[_0x2ca3e1(0x22f)]=[],this['pending']=0x0;}['add'](_0x1b975b){const _0x3f7025=_0x16676c;this[_0x3f7025(0x22f)][_0x3f7025(0x293)](_0x1b975b),this[_0x509543]();}[_0x509543](){const _0x38cb48=_0x16676c;if(this['pending']!==this[_0x38cb48(0x2ca)]&&this[_0x38cb48(0x22f)][_0x38cb48(0x240)]){const _0x4dd60a=this[_0x38cb48(0x22f)][_0x38cb48(0x344)]();this[_0x38cb48(0x206)]++,_0x4dd60a(this[_0x55010f]);}}}return ye=_0x45f4a7,ye;}var ve,ze;function he(){const _0x1a43ed=_0x49d410;if(ze)return ve;ze=0x1;const _0xbffc26=bt,_0x1db1c0=ce(),_0x4e93fc=Pt(),{kStatusCode:_0x365407}=H(),_0x64111a=Buffer[Symbol[_0x1a43ed(0x26e)]],_0x353570=Buffer[_0x1a43ed(0x34a)]([0x0,0x0,0xff,0xff]),_0x119159=Symbol('permessage-deflate'),_0x2b1bcf=Symbol(_0x1a43ed(0x234)),_0x88312e=Symbol(_0x1a43ed(0x2d7)),_0x56bdcc=Symbol(_0x1a43ed(0x242)),_0x5323e1=Symbol(_0x1a43ed(0x219));let _0x1a9d00;class _0x208d93{constructor(_0x253ffe,_0x25b06a,_0x4117a5){const _0x1e9be3=_0x1a43ed;if(this[_0x1e9be3(0x275)]=_0x4117a5|0x0,this[_0x1e9be3(0x27f)]=_0x253ffe||{},this[_0x1e9be3(0x204)]=this[_0x1e9be3(0x27f)]['threshold']!==void 0x0?this['_options'][_0x1e9be3(0x340)]:0x400,this[_0x1e9be3(0x358)]=!!_0x25b06a,this[_0x1e9be3(0x281)]=null,this['_inflate']=null,this['params']=null,!_0x1a9d00){const _0x4fb485=this[_0x1e9be3(0x27f)][_0x1e9be3(0x1cf)]!==void 0x0?this[_0x1e9be3(0x27f)]['concurrencyLimit']:0xa;_0x1a9d00=new _0x4e93fc(_0x4fb485);}}static get['extensionName'](){return'permessage-deflate';}[_0x1a43ed(0x346)](){const _0x5e1a1b=_0x1a43ed,_0x40d806={};return this['_options'][_0x5e1a1b(0x284)]&&(_0x40d806[_0x5e1a1b(0x2a0)]=!0x0),this[_0x5e1a1b(0x27f)]['clientNoContextTakeover']&&(_0x40d806[_0x5e1a1b(0x2a8)]=!0x0),this[_0x5e1a1b(0x27f)][_0x5e1a1b(0x355)]&&(_0x40d806[_0x5e1a1b(0x287)]=this[_0x5e1a1b(0x27f)][_0x5e1a1b(0x355)]),this['_options'][_0x5e1a1b(0x216)]?_0x40d806[_0x5e1a1b(0x1c0)]=this[_0x5e1a1b(0x27f)][_0x5e1a1b(0x216)]:this[_0x5e1a1b(0x27f)][_0x5e1a1b(0x216)]==null&&(_0x40d806['client_max_window_bits']=!0x0),_0x40d806;}[_0x1a43ed(0x376)](_0x525e74){const _0x259a96=_0x1a43ed;return _0x525e74=this[_0x259a96(0x2c2)](_0x525e74),this[_0x259a96(0x1b7)]=this[_0x259a96(0x358)]?this[_0x259a96(0x26b)](_0x525e74):this[_0x259a96(0x1d4)](_0x525e74),this['params'];}[_0x1a43ed(0x2e8)](){const _0x66577c=_0x1a43ed;if(this['_inflate']&&(this[_0x66577c(0x323)]['close'](),this[_0x66577c(0x323)]=null),this['_deflate']){const _0x5b2e78=this['_deflate'][_0x88312e];this[_0x66577c(0x281)]['close'](),this[_0x66577c(0x281)]=null,_0x5b2e78&&_0x5b2e78(new Error(_0x66577c(0x2c7)));}}['acceptAsServer'](_0x5d66e8){const _0x497b2e=_0x1a43ed,_0x35fe5f=this['_options'],_0x34561f=_0x5d66e8[_0x497b2e(0x34c)](_0x32bcd5=>!(_0x35fe5f[_0x497b2e(0x284)]===!0x1&&_0x32bcd5[_0x497b2e(0x2a0)]||_0x32bcd5[_0x497b2e(0x287)]&&(_0x35fe5f['serverMaxWindowBits']===!0x1||typeof _0x35fe5f[_0x497b2e(0x355)]=='number'&&_0x35fe5f[_0x497b2e(0x355)]>_0x32bcd5[_0x497b2e(0x287)])||typeof _0x35fe5f[_0x497b2e(0x216)]==_0x497b2e(0x2db)&&!_0x32bcd5['client_max_window_bits']));if(!_0x34561f)throw new Error(_0x497b2e(0x1d9));return _0x35fe5f['serverNoContextTakeover']&&(_0x34561f['server_no_context_takeover']=!0x0),_0x35fe5f[_0x497b2e(0x29b)]&&(_0x34561f['client_no_context_takeover']=!0x0),typeof _0x35fe5f[_0x497b2e(0x355)]==_0x497b2e(0x2db)&&(_0x34561f[_0x497b2e(0x287)]=_0x35fe5f[_0x497b2e(0x355)]),typeof _0x35fe5f['clientMaxWindowBits']==_0x497b2e(0x2db)?_0x34561f[_0x497b2e(0x1c0)]=_0x35fe5f['clientMaxWindowBits']:(_0x34561f[_0x497b2e(0x1c0)]===!0x0||_0x35fe5f['clientMaxWindowBits']===!0x1)&&delete _0x34561f['client_max_window_bits'],_0x34561f;}[_0x1a43ed(0x1d4)](_0x317877){const _0x54470d=_0x1a43ed,_0x1b50d1=_0x317877[0x0];if(this[_0x54470d(0x27f)][_0x54470d(0x29b)]===!0x1&&_0x1b50d1['client_no_context_takeover'])throw new Error(_0x54470d(0x1da));if(!_0x1b50d1[_0x54470d(0x1c0)])typeof this[_0x54470d(0x27f)][_0x54470d(0x216)]=='number'&&(_0x1b50d1[_0x54470d(0x1c0)]=this['_options'][_0x54470d(0x216)]);else{if(this['_options'][_0x54470d(0x216)]===!0x1||typeof this[_0x54470d(0x27f)][_0x54470d(0x216)]=='number'&&_0x1b50d1[_0x54470d(0x1c0)]>this[_0x54470d(0x27f)][_0x54470d(0x216)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x1b50d1;}[_0x1a43ed(0x2c2)](_0x546fae){return _0x546fae['forEach'](_0x439322=>{const _0x148d28=_0x80da;Object['keys'](_0x439322)[_0x148d28(0x289)](_0x38d370=>{const _0x251e7b=_0x148d28;let _0x511f5b=_0x439322[_0x38d370];if(_0x511f5b['length']>0x1)throw new Error('Parameter\x20\x22'+_0x38d370+_0x251e7b(0x349));if(_0x511f5b=_0x511f5b[0x0],_0x38d370===_0x251e7b(0x1c0)){if(_0x511f5b!==!0x0){const _0x388a1b=+_0x511f5b;if(!Number[_0x251e7b(0x2fc)](_0x388a1b)||_0x388a1b<0x8||_0x388a1b>0xf)throw new TypeError(_0x251e7b(0x35b)+_0x38d370+'\x22:\x20'+_0x511f5b);_0x511f5b=_0x388a1b;}else{if(!this['_isServer'])throw new TypeError(_0x251e7b(0x35b)+_0x38d370+_0x251e7b(0x332)+_0x511f5b);}}else{if(_0x38d370===_0x251e7b(0x287)){const _0x53a50f=+_0x511f5b;if(!Number[_0x251e7b(0x2fc)](_0x53a50f)||_0x53a50f<0x8||_0x53a50f>0xf)throw new TypeError(_0x251e7b(0x35b)+_0x38d370+_0x251e7b(0x332)+_0x511f5b);_0x511f5b=_0x53a50f;}else{if(_0x38d370===_0x251e7b(0x2a8)||_0x38d370===_0x251e7b(0x2a0)){if(_0x511f5b!==!0x0)throw new TypeError(_0x251e7b(0x35b)+_0x38d370+_0x251e7b(0x332)+_0x511f5b);}else throw new Error(_0x251e7b(0x2f2)+_0x38d370+'\x22');}}_0x439322[_0x38d370]=_0x511f5b;});}),_0x546fae;}[_0x1a43ed(0x253)](_0x3b4d82,_0x212108,_0x302e95){const _0xa80c=_0x1a43ed;_0x1a9d00[_0xa80c(0x343)](_0x8a1939=>{const _0x2fd886=_0xa80c;this[_0x2fd886(0x329)](_0x3b4d82,_0x212108,(_0x41c0b0,_0x36b452)=>{_0x8a1939(),_0x302e95(_0x41c0b0,_0x36b452);});});}[_0x1a43ed(0x2eb)](_0x4ca9b7,_0x51b544,_0x303a78){const _0x3f1047=_0x1a43ed;_0x1a9d00[_0x3f1047(0x343)](_0x3f53c7=>{this['_compress'](_0x4ca9b7,_0x51b544,(_0x196c29,_0x21634a)=>{_0x3f53c7(),_0x303a78(_0x196c29,_0x21634a);});});}[_0x1a43ed(0x329)](_0x4497d8,_0x3c923b,_0x56f0cb){const _0x52e278=_0x1a43ed,_0x53bbd5=this[_0x52e278(0x358)]?_0x52e278(0x2b7):'server';if(!this['_inflate']){const _0x4db491=_0x53bbd5+_0x52e278(0x25b),_0x46dc15=typeof this[_0x52e278(0x1b7)][_0x4db491]!=_0x52e278(0x2db)?_0xbffc26[_0x52e278(0x261)]:this['params'][_0x4db491];this[_0x52e278(0x323)]=_0xbffc26[_0x52e278(0x326)]({...this[_0x52e278(0x27f)][_0x52e278(0x274)],'windowBits':_0x46dc15}),this[_0x52e278(0x323)][_0x119159]=this,this[_0x52e278(0x323)][_0x2b1bcf]=0x0,this[_0x52e278(0x323)][_0x56bdcc]=[],this[_0x52e278(0x323)]['on'](_0x52e278(0x219),_0x2b64cf),this['_inflate']['on'](_0x52e278(0x26c),_0x9aa71);}this[_0x52e278(0x323)][_0x88312e]=_0x56f0cb,this[_0x52e278(0x323)]['write'](_0x4497d8),_0x3c923b&&this[_0x52e278(0x323)][_0x52e278(0x36b)](_0x353570),this[_0x52e278(0x323)]['flush'](()=>{const _0xa49890=_0x52e278,_0x4745c5=this['_inflate'][_0x5323e1];if(_0x4745c5){this[_0xa49890(0x323)][_0xa49890(0x1dd)](),this[_0xa49890(0x323)]=null,_0x56f0cb(_0x4745c5);return;}const _0x353a11=_0x1db1c0['concat'](this['_inflate'][_0x56bdcc],this['_inflate'][_0x2b1bcf]);this[_0xa49890(0x323)][_0xa49890(0x269)][_0xa49890(0x2e9)]?(this[_0xa49890(0x323)][_0xa49890(0x1dd)](),this[_0xa49890(0x323)]=null):(this[_0xa49890(0x323)][_0x2b1bcf]=0x0,this[_0xa49890(0x323)][_0x56bdcc]=[],_0x3c923b&&this[_0xa49890(0x1b7)][_0x53bbd5+'_no_context_takeover']&&this['_inflate']['reset']()),_0x56f0cb(null,_0x353a11);});}[_0x1a43ed(0x1d8)](_0x3776ea,_0x3cb4b0,_0x15ad5d){const _0x219916=_0x1a43ed,_0x5cfe12=this[_0x219916(0x358)]?_0x219916(0x35d):_0x219916(0x2b7);if(!this['_deflate']){const _0x19cae5=_0x5cfe12+'_max_window_bits',_0xb1f4=typeof this['params'][_0x19cae5]!=_0x219916(0x2db)?_0xbffc26[_0x219916(0x261)]:this[_0x219916(0x1b7)][_0x19cae5];this['_deflate']=_0xbffc26[_0x219916(0x267)]({...this[_0x219916(0x27f)][_0x219916(0x290)],'windowBits':_0xb1f4}),this['_deflate'][_0x2b1bcf]=0x0,this[_0x219916(0x281)][_0x56bdcc]=[],this['_deflate']['on'](_0x219916(0x26c),_0x4636f1);}this[_0x219916(0x281)][_0x88312e]=_0x15ad5d,this[_0x219916(0x281)][_0x219916(0x36b)](_0x3776ea),this['_deflate'][_0x219916(0x33c)](_0xbffc26['Z_SYNC_FLUSH'],()=>{const _0x47b9a1=_0x219916;if(!this['_deflate'])return;let _0x4b48a3=_0x1db1c0[_0x47b9a1(0x20f)](this[_0x47b9a1(0x281)][_0x56bdcc],this[_0x47b9a1(0x281)][_0x2b1bcf]);_0x3cb4b0&&(_0x4b48a3=new _0x64111a(_0x4b48a3[_0x47b9a1(0x25e)],_0x4b48a3[_0x47b9a1(0x1bc)],_0x4b48a3[_0x47b9a1(0x240)]-0x4)),this[_0x47b9a1(0x281)][_0x88312e]=null,this[_0x47b9a1(0x281)][_0x2b1bcf]=0x0,this['_deflate'][_0x56bdcc]=[],_0x3cb4b0&&this['params'][_0x5cfe12+'_no_context_takeover']&&this['_deflate'][_0x47b9a1(0x2ea)](),_0x15ad5d(null,_0x4b48a3);});}}ve=_0x208d93;function _0x4636f1(_0xe350f9){this[_0x56bdcc]['push'](_0xe350f9),this[_0x2b1bcf]+=_0xe350f9['length'];}function _0x9aa71(_0x31baa8){const _0x169b17=_0x1a43ed;if(this[_0x2b1bcf]+=_0x31baa8[_0x169b17(0x240)],this[_0x119159][_0x169b17(0x275)]<0x1||this[_0x2b1bcf]<=this[_0x119159][_0x169b17(0x275)]){this[_0x56bdcc][_0x169b17(0x293)](_0x31baa8);return;}this[_0x5323e1]=new RangeError(_0x169b17(0x2de)),this[_0x5323e1][_0x169b17(0x2d8)]=_0x169b17(0x2f4),this[_0x5323e1][_0x365407]=0x3f1,this[_0x169b17(0x374)](_0x169b17(0x26c),_0x9aa71),this[_0x169b17(0x2ea)]();}function _0x2b64cf(_0x135fec){const _0x3582d9=_0x1a43ed;if(this[_0x119159][_0x3582d9(0x323)]=null,this[_0x5323e1]){this[_0x88312e](this[_0x5323e1]);return;}_0x135fec[_0x365407]=0x3ef,this[_0x88312e](_0x135fec);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object[_0x49d410(0x35e)]({'__proto__':null,'default':Dt},Symbol[_0x49d410(0x1d7)],{'value':'Module'})),Bt=at(Rt);var Ye;function ae(){const _0x5afaa9=_0x49d410;if(Ye)return ie[_0x5afaa9(0x21e)];Ye=0x1;const {isUtf8:_0x1cf0d0}=wt,{hasBlob:_0x3215a9}=H(),_0x42457f=[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 _0xa454c3(_0x309688){return _0x309688>=0x3e8&&_0x309688<=0x3f6&&_0x309688!==0x3ec&&_0x309688!==0x3ed&&_0x309688!==0x3ee||_0x309688>=0xbb8&&_0x309688<=0x1387;}function _0x5e829d(_0x43f588){const _0x57b980=_0x43f588['length'];let _0x15d257=0x0;for(;_0x15d257<_0x57b980;)if((_0x43f588[_0x15d257]&0x80)===0x0)_0x15d257++;else{if((_0x43f588[_0x15d257]&0xe0)===0xc0){if(_0x15d257+0x1===_0x57b980||(_0x43f588[_0x15d257+0x1]&0xc0)!==0x80||(_0x43f588[_0x15d257]&0xfe)===0xc0)return!0x1;_0x15d257+=0x2;}else{if((_0x43f588[_0x15d257]&0xf0)===0xe0){if(_0x15d257+0x2>=_0x57b980||(_0x43f588[_0x15d257+0x1]&0xc0)!==0x80||(_0x43f588[_0x15d257+0x2]&0xc0)!==0x80||_0x43f588[_0x15d257]===0xe0&&(_0x43f588[_0x15d257+0x1]&0xe0)===0x80||_0x43f588[_0x15d257]===0xed&&(_0x43f588[_0x15d257+0x1]&0xe0)===0xa0)return!0x1;_0x15d257+=0x3;}else{if((_0x43f588[_0x15d257]&0xf8)===0xf0){if(_0x15d257+0x3>=_0x57b980||(_0x43f588[_0x15d257+0x1]&0xc0)!==0x80||(_0x43f588[_0x15d257+0x2]&0xc0)!==0x80||(_0x43f588[_0x15d257+0x3]&0xc0)!==0x80||_0x43f588[_0x15d257]===0xf0&&(_0x43f588[_0x15d257+0x1]&0xf0)===0x80||_0x43f588[_0x15d257]===0xf4&&_0x43f588[_0x15d257+0x1]>0x8f||_0x43f588[_0x15d257]>0xf4)return!0x1;_0x15d257+=0x4;}else return!0x1;}}}return!0x0;}function _0x40d941(_0x249064){const _0x3cae01=_0x5afaa9;return _0x3215a9&&typeof _0x249064==_0x3cae01(0x34d)&&typeof _0x249064[_0x3cae01(0x226)]=='function'&&typeof _0x249064['type']==_0x3cae01(0x22b)&&typeof _0x249064[_0x3cae01(0x331)]==_0x3cae01(0x223)&&(_0x249064[Symbol['toStringTag']]==='Blob'||_0x249064[Symbol[_0x3cae01(0x1d7)]]===_0x3cae01(0x21f));}if(ie[_0x5afaa9(0x21e)]={'isBlob':_0x40d941,'isValidStatusCode':_0xa454c3,'isValidUTF8':_0x5e829d,'tokenChars':_0x42457f},_0x1cf0d0)ie[_0x5afaa9(0x21e)][_0x5afaa9(0x2e2)]=function(_0x1e5bf){return _0x1e5bf['length']<0x18?_0x5e829d(_0x1e5bf):_0x1cf0d0(_0x1e5bf);};else{if(!process[_0x5afaa9(0x2bb)][_0x5afaa9(0x2ab)])try{const _0x404c4b=Bt;ie[_0x5afaa9(0x21e)][_0x5afaa9(0x2e2)]=function(_0x4e31f0){const _0x351fa5=_0x5afaa9;return _0x4e31f0[_0x351fa5(0x240)]<0x20?_0x5e829d(_0x4e31f0):_0x404c4b(_0x4e31f0);};}catch{}}return ie[_0x5afaa9(0x21e)];}var Se,Ke;function lt(){const _0x29c6bb=_0x49d410;if(Ke)return Se;Ke=0x1;const {Writable:_0x5849c3}=oe,_0x4b23fe=he(),{BINARY_TYPES:_0x5a6dd8,EMPTY_BUFFER:_0x3b2de3,kStatusCode:_0x1469c2,kWebSocket:_0x2cfa7d}=H(),{concat:_0xb6ae98,toArrayBuffer:_0x116a95,unmask:_0x4a73b9}=ce(),{isValidStatusCode:_0x4e5d22,isValidUTF8:_0x4d6d11}=ae(),_0x4aa556=Buffer[Symbol[_0x29c6bb(0x26e)]],_0x37fa13=0x0,_0x230759=0x1,_0x4c8e5c=0x2,_0x3654ea=0x3,_0xf552d7=0x4,_0x2782f1=0x5,_0x2a8bda=0x6;class _0x1ff522 extends _0x5849c3{constructor(_0x480ab2={}){const _0x31bc0a=_0x29c6bb;super(),this[_0x31bc0a(0x2bd)]=_0x480ab2[_0x31bc0a(0x1e2)]!==void 0x0?_0x480ab2['allowSynchronousEvents']:!0x0,this[_0x31bc0a(0x228)]=_0x480ab2['binaryType']||_0x5a6dd8[0x0],this['_extensions']=_0x480ab2['extensions']||{},this[_0x31bc0a(0x358)]=!!_0x480ab2[_0x31bc0a(0x363)],this[_0x31bc0a(0x275)]=_0x480ab2[_0x31bc0a(0x1b3)]|0x0,this[_0x31bc0a(0x1db)]=!!_0x480ab2['skipUTF8Validation'],this[_0x2cfa7d]=void 0x0,this[_0x31bc0a(0x271)]=0x0,this[_0x31bc0a(0x1b1)]=[],this[_0x31bc0a(0x327)]=!0x1,this[_0x31bc0a(0x31f)]=0x0,this[_0x31bc0a(0x33d)]=void 0x0,this[_0x31bc0a(0x308)]=0x0,this[_0x31bc0a(0x371)]=!0x1,this['_fin']=!0x1,this[_0x31bc0a(0x2be)]=0x0,this[_0x31bc0a(0x339)]=0x0,this[_0x31bc0a(0x254)]=0x0,this[_0x31bc0a(0x1bd)]=[],this['_errored']=!0x1,this['_loop']=!0x1,this[_0x31bc0a(0x26a)]=_0x37fa13;}[_0x29c6bb(0x273)](_0x2b46bd,_0x465133,_0x34057b){const _0x2c9e6d=_0x29c6bb;if(this['_opcode']===0x8&&this[_0x2c9e6d(0x26a)]==_0x37fa13)return _0x34057b();this[_0x2c9e6d(0x271)]+=_0x2b46bd['length'],this[_0x2c9e6d(0x1b1)][_0x2c9e6d(0x293)](_0x2b46bd),this[_0x2c9e6d(0x252)](_0x34057b);}[_0x29c6bb(0x2d6)](_0x5dc718){const _0x2eb2a8=_0x29c6bb;if(this[_0x2eb2a8(0x271)]-=_0x5dc718,_0x5dc718===this['_buffers'][0x0]['length'])return this[_0x2eb2a8(0x1b1)][_0x2eb2a8(0x344)]();if(_0x5dc718<this[_0x2eb2a8(0x1b1)][0x0][_0x2eb2a8(0x240)]){const _0x445fd3=this[_0x2eb2a8(0x1b1)][0x0];return this[_0x2eb2a8(0x1b1)][0x0]=new _0x4aa556(_0x445fd3[_0x2eb2a8(0x25e)],_0x445fd3[_0x2eb2a8(0x1bc)]+_0x5dc718,_0x445fd3['length']-_0x5dc718),new _0x4aa556(_0x445fd3[_0x2eb2a8(0x25e)],_0x445fd3[_0x2eb2a8(0x1bc)],_0x5dc718);}const _0x50b784=Buffer[_0x2eb2a8(0x377)](_0x5dc718);do{const _0x1d9a41=this[_0x2eb2a8(0x1b1)][0x0],_0x3fd70d=_0x50b784[_0x2eb2a8(0x240)]-_0x5dc718;_0x5dc718>=_0x1d9a41[_0x2eb2a8(0x240)]?_0x50b784[_0x2eb2a8(0x1e7)](this['_buffers'][_0x2eb2a8(0x344)](),_0x3fd70d):(_0x50b784[_0x2eb2a8(0x1e7)](new Uint8Array(_0x1d9a41[_0x2eb2a8(0x25e)],_0x1d9a41['byteOffset'],_0x5dc718),_0x3fd70d),this[_0x2eb2a8(0x1b1)][0x0]=new _0x4aa556(_0x1d9a41[_0x2eb2a8(0x25e)],_0x1d9a41[_0x2eb2a8(0x1bc)]+_0x5dc718,_0x1d9a41['length']-_0x5dc718)),_0x5dc718-=_0x1d9a41[_0x2eb2a8(0x240)];}while(_0x5dc718>0x0);return _0x50b784;}['startLoop'](_0x127899){const _0xefee1f=_0x29c6bb;this[_0xefee1f(0x2f6)]=!0x0;do switch(this['_state']){case _0x37fa13:this[_0xefee1f(0x1c3)](_0x127899);break;case _0x230759:this[_0xefee1f(0x36c)](_0x127899);break;case _0x4c8e5c:this[_0xefee1f(0x372)](_0x127899);break;case _0x3654ea:this['getMask']();break;case _0xf552d7:this[_0xefee1f(0x1df)](_0x127899);break;case _0x2782f1:case _0x2a8bda:this[_0xefee1f(0x2f6)]=!0x1;return;}while(this[_0xefee1f(0x2f6)]);this[_0xefee1f(0x31e)]||_0x127899();}['getInfo'](_0x4e63d0){const _0x28f264=_0x29c6bb;if(this[_0x28f264(0x271)]<0x2){this[_0x28f264(0x2f6)]=!0x1;return;}const _0x2cfd7b=this['consume'](0x2);if((_0x2cfd7b[0x0]&0x30)!==0x0){const _0x10ddd6=this[_0x28f264(0x239)](RangeError,_0x28f264(0x341),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x4e63d0(_0x10ddd6);return;}const _0x246027=(_0x2cfd7b[0x0]&0x40)===0x40;if(_0x246027&&!this[_0x28f264(0x245)][_0x4b23fe['extensionName']]){const _0x43e235=this[_0x28f264(0x239)](RangeError,_0x28f264(0x26f),!0x0,0x3ea,_0x28f264(0x31a));_0x4e63d0(_0x43e235);return;}if(this[_0x28f264(0x1de)]=(_0x2cfd7b[0x0]&0x80)===0x80,this[_0x28f264(0x2be)]=_0x2cfd7b[0x0]&0xf,this['_payloadLength']=_0x2cfd7b[0x1]&0x7f,this[_0x28f264(0x2be)]===0x0){if(_0x246027){const _0x244d34=this['createError'](RangeError,_0x28f264(0x26f),!0x0,0x3ea,_0x28f264(0x31a));_0x4e63d0(_0x244d34);return;}if(!this[_0x28f264(0x308)]){const _0x216e15=this[_0x28f264(0x239)](RangeError,_0x28f264(0x32e),!0x0,0x3ea,_0x28f264(0x2a2));_0x4e63d0(_0x216e15);return;}this['_opcode']=this[_0x28f264(0x308)];}else{if(this[_0x28f264(0x2be)]===0x1||this[_0x28f264(0x2be)]===0x2){if(this[_0x28f264(0x308)]){const _0x58dce0=this[_0x28f264(0x239)](RangeError,_0x28f264(0x366)+this[_0x28f264(0x2be)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x4e63d0(_0x58dce0);return;}this[_0x28f264(0x327)]=_0x246027;}else{if(this[_0x28f264(0x2be)]>0x7&&this[_0x28f264(0x2be)]<0xb){if(!this[_0x28f264(0x1de)]){const _0x1ca656=this[_0x28f264(0x239)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x4e63d0(_0x1ca656);return;}if(_0x246027){const _0x55b8c0=this['createError'](RangeError,_0x28f264(0x26f),!0x0,0x3ea,_0x28f264(0x31a));_0x4e63d0(_0x55b8c0);return;}if(this['_payloadLength']>0x7d||this[_0x28f264(0x2be)]===0x8&&this[_0x28f264(0x31f)]===0x1){const _0x1093e0=this[_0x28f264(0x239)](RangeError,_0x28f264(0x2c6)+this[_0x28f264(0x31f)],!0x0,0x3ea,_0x28f264(0x24b));_0x4e63d0(_0x1093e0);return;}}else{const _0x47e99d=this[_0x28f264(0x239)](RangeError,_0x28f264(0x366)+this[_0x28f264(0x2be)],!0x0,0x3ea,_0x28f264(0x2a2));_0x4e63d0(_0x47e99d);return;}}}if(!this[_0x28f264(0x1de)]&&!this[_0x28f264(0x308)]&&(this[_0x28f264(0x308)]=this['_opcode']),this[_0x28f264(0x371)]=(_0x2cfd7b[0x1]&0x80)===0x80,this[_0x28f264(0x358)]){if(!this[_0x28f264(0x371)]){const _0x4a331c=this[_0x28f264(0x239)](RangeError,_0x28f264(0x202),!0x0,0x3ea,_0x28f264(0x209));_0x4e63d0(_0x4a331c);return;}}else{if(this[_0x28f264(0x371)]){const _0xdbb34c=this[_0x28f264(0x239)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x28f264(0x237));_0x4e63d0(_0xdbb34c);return;}}this[_0x28f264(0x31f)]===0x7e?this[_0x28f264(0x26a)]=_0x230759:this['_payloadLength']===0x7f?this[_0x28f264(0x26a)]=_0x4c8e5c:this['haveLength'](_0x4e63d0);}[_0x29c6bb(0x36c)](_0x1e7692){const _0x2f4ef4=_0x29c6bb;if(this[_0x2f4ef4(0x271)]<0x2){this['_loop']=!0x1;return;}this[_0x2f4ef4(0x31f)]=this[_0x2f4ef4(0x2d6)](0x2)[_0x2f4ef4(0x2b6)](0x0),this['haveLength'](_0x1e7692);}[_0x29c6bb(0x372)](_0x5cab8d){const _0x492def=_0x29c6bb;if(this[_0x492def(0x271)]<0x8){this['_loop']=!0x1;return;}const _0x458c8a=this[_0x492def(0x2d6)](0x8),_0x453f55=_0x458c8a[_0x492def(0x295)](0x0);if(_0x453f55>Math[_0x492def(0x20a)](0x2,0x15)-0x1){const _0x515804=this[_0x492def(0x239)](RangeError,_0x492def(0x2e7),!0x1,0x3f1,_0x492def(0x2d0));_0x5cab8d(_0x515804);return;}this[_0x492def(0x31f)]=_0x453f55*Math[_0x492def(0x20a)](0x2,0x20)+_0x458c8a[_0x492def(0x295)](0x4),this['haveLength'](_0x5cab8d);}[_0x29c6bb(0x27b)](_0x883e0){const _0x2b7143=_0x29c6bb;if(this[_0x2b7143(0x31f)]&&this[_0x2b7143(0x2be)]<0x8&&(this[_0x2b7143(0x339)]+=this['_payloadLength'],this['_totalPayloadLength']>this[_0x2b7143(0x275)]&&this['_maxPayload']>0x0)){const _0x1d84cd=this[_0x2b7143(0x239)](RangeError,_0x2b7143(0x2de),!0x1,0x3f1,_0x2b7143(0x2f4));_0x883e0(_0x1d84cd);return;}this[_0x2b7143(0x371)]?this[_0x2b7143(0x26a)]=_0x3654ea:this[_0x2b7143(0x26a)]=_0xf552d7;}[_0x29c6bb(0x318)](){const _0x2dedba=_0x29c6bb;if(this['_bufferedBytes']<0x4){this['_loop']=!0x1;return;}this[_0x2dedba(0x33d)]=this[_0x2dedba(0x2d6)](0x4),this['_state']=_0xf552d7;}[_0x29c6bb(0x1df)](_0x5607d8){const _0x392b06=_0x29c6bb;let _0x546ba4=_0x3b2de3;if(this[_0x392b06(0x31f)]){if(this[_0x392b06(0x271)]<this[_0x392b06(0x31f)]){this['_loop']=!0x1;return;}_0x546ba4=this[_0x392b06(0x2d6)](this[_0x392b06(0x31f)]),this[_0x392b06(0x371)]&&(this[_0x392b06(0x33d)][0x0]|this[_0x392b06(0x33d)][0x1]|this[_0x392b06(0x33d)][0x2]|this['_mask'][0x3])!==0x0&&_0x4a73b9(_0x546ba4,this[_0x392b06(0x33d)]);}if(this['_opcode']>0x7){this[_0x392b06(0x27e)](_0x546ba4,_0x5607d8);return;}if(this[_0x392b06(0x327)]){this[_0x392b06(0x26a)]=_0x2782f1,this[_0x392b06(0x253)](_0x546ba4,_0x5607d8);return;}_0x546ba4[_0x392b06(0x240)]&&(this[_0x392b06(0x254)]=this['_totalPayloadLength'],this['_fragments'][_0x392b06(0x293)](_0x546ba4)),this['dataMessage'](_0x5607d8);}[_0x29c6bb(0x253)](_0x3974b2,_0x425d5a){const _0x3000ac=_0x29c6bb;this[_0x3000ac(0x245)][_0x4b23fe[_0x3000ac(0x212)]][_0x3000ac(0x253)](_0x3974b2,this['_fin'],(_0x4f23ec,_0x1a2afe)=>{const _0x5a0f71=_0x3000ac;if(_0x4f23ec)return _0x425d5a(_0x4f23ec);if(_0x1a2afe['length']){if(this[_0x5a0f71(0x254)]+=_0x1a2afe[_0x5a0f71(0x240)],this[_0x5a0f71(0x254)]>this[_0x5a0f71(0x275)]&&this[_0x5a0f71(0x275)]>0x0){const _0x3c2732=this['createError'](RangeError,_0x5a0f71(0x2de),!0x1,0x3f1,_0x5a0f71(0x2f4));_0x425d5a(_0x3c2732);return;}this['_fragments'][_0x5a0f71(0x293)](_0x1a2afe);}this[_0x5a0f71(0x21c)](_0x425d5a),this[_0x5a0f71(0x26a)]===_0x37fa13&&this[_0x5a0f71(0x252)](_0x425d5a);});}['dataMessage'](_0x33b57f){const _0x3b9d00=_0x29c6bb;if(!this[_0x3b9d00(0x1de)]){this[_0x3b9d00(0x26a)]=_0x37fa13;return;}const _0x1d4de6=this['_messageLength'],_0xef31a7=this['_fragments'];if(this[_0x3b9d00(0x339)]=0x0,this['_messageLength']=0x0,this[_0x3b9d00(0x308)]=0x0,this['_fragments']=[],this[_0x3b9d00(0x2be)]===0x2){let _0x1bfa75;this[_0x3b9d00(0x228)]===_0x3b9d00(0x22c)?_0x1bfa75=_0xb6ae98(_0xef31a7,_0x1d4de6):this[_0x3b9d00(0x228)]===_0x3b9d00(0x1b8)?_0x1bfa75=_0x116a95(_0xb6ae98(_0xef31a7,_0x1d4de6)):this[_0x3b9d00(0x228)]===_0x3b9d00(0x352)?_0x1bfa75=new Blob(_0xef31a7):_0x1bfa75=_0xef31a7,this[_0x3b9d00(0x2bd)]?(this[_0x3b9d00(0x205)](_0x3b9d00(0x1b9),_0x1bfa75,!0x0),this['_state']=_0x37fa13):(this['_state']=_0x2a8bda,setImmediate(()=>{const _0x30cda5=_0x3b9d00;this[_0x30cda5(0x205)](_0x30cda5(0x1b9),_0x1bfa75,!0x0),this[_0x30cda5(0x26a)]=_0x37fa13,this[_0x30cda5(0x252)](_0x33b57f);}));}else{const _0x42b958=_0xb6ae98(_0xef31a7,_0x1d4de6);if(!this[_0x3b9d00(0x1db)]&&!_0x4d6d11(_0x42b958)){const _0x4003c4=this[_0x3b9d00(0x239)](Error,_0x3b9d00(0x2c1),!0x0,0x3ef,_0x3b9d00(0x334));_0x33b57f(_0x4003c4);return;}this[_0x3b9d00(0x26a)]===_0x2782f1||this['_allowSynchronousEvents']?(this['emit'](_0x3b9d00(0x1b9),_0x42b958,!0x1),this['_state']=_0x37fa13):(this[_0x3b9d00(0x26a)]=_0x2a8bda,setImmediate(()=>{const _0xc688c5=_0x3b9d00;this[_0xc688c5(0x205)]('message',_0x42b958,!0x1),this['_state']=_0x37fa13,this[_0xc688c5(0x252)](_0x33b57f);}));}}[_0x29c6bb(0x27e)](_0x37169d,_0xfe923){const _0x1c23e3=_0x29c6bb;if(this[_0x1c23e3(0x2be)]===0x8){if(_0x37169d[_0x1c23e3(0x240)]===0x0)this[_0x1c23e3(0x2f6)]=!0x1,this['emit'](_0x1c23e3(0x21d),0x3ed,_0x3b2de3),this['end']();else{const _0x20f756=_0x37169d[_0x1c23e3(0x2b6)](0x0);if(!_0x4e5d22(_0x20f756)){const _0x5b959b=this[_0x1c23e3(0x239)](RangeError,'invalid\x20status\x20code\x20'+_0x20f756,!0x0,0x3ea,_0x1c23e3(0x208));_0xfe923(_0x5b959b);return;}const _0x29e014=new _0x4aa556(_0x37169d[_0x1c23e3(0x25e)],_0x37169d[_0x1c23e3(0x1bc)]+0x2,_0x37169d[_0x1c23e3(0x240)]-0x2);if(!this[_0x1c23e3(0x1db)]&&!_0x4d6d11(_0x29e014)){const _0x35b0e3=this[_0x1c23e3(0x239)](Error,_0x1c23e3(0x2c1),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0xfe923(_0x35b0e3);return;}this[_0x1c23e3(0x2f6)]=!0x1,this[_0x1c23e3(0x205)]('conclude',_0x20f756,_0x29e014),this[_0x1c23e3(0x263)]();}this[_0x1c23e3(0x26a)]=_0x37fa13;return;}this['_allowSynchronousEvents']?(this[_0x1c23e3(0x205)](this[_0x1c23e3(0x2be)]===0x9?_0x1c23e3(0x277):'pong',_0x37169d),this['_state']=_0x37fa13):(this[_0x1c23e3(0x26a)]=_0x2a8bda,setImmediate(()=>{const _0x24d4d=_0x1c23e3;this['emit'](this['_opcode']===0x9?_0x24d4d(0x277):_0x24d4d(0x350),_0x37169d),this[_0x24d4d(0x26a)]=_0x37fa13,this[_0x24d4d(0x252)](_0xfe923);}));}[_0x29c6bb(0x239)](_0x18d525,_0x561938,_0x548e9b,_0xa81d1f,_0x10b30a){const _0x4f7b09=_0x29c6bb;this[_0x4f7b09(0x2f6)]=!0x1,this[_0x4f7b09(0x31e)]=!0x0;const _0x386adf=new _0x18d525(_0x548e9b?'Invalid\x20WebSocket\x20frame:\x20'+_0x561938:_0x561938);return Error[_0x4f7b09(0x278)](_0x386adf,this[_0x4f7b09(0x239)]),_0x386adf[_0x4f7b09(0x2d8)]=_0x10b30a,_0x386adf[_0x1469c2]=_0xa81d1f,_0x386adf;}}return Se=_0x1ff522,Se;}var Ee,Xe;function ft(){const _0x28b823=_0x49d410;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x4b3052}=oe,{randomFillSync:_0x289b6a}=Le,_0x6e255=he(),{EMPTY_BUFFER:_0x312518,kWebSocket:_0x129878,NOOP:_0x1ededf}=H(),{isBlob:_0x5effee,isValidStatusCode:_0x208ac3}=ae(),{mask:_0x13b6ac,toBuffer:_0x19ba74}=ce(),_0x3c1ca2=Symbol('kByteLength'),_0xda388f=Buffer[_0x28b823(0x27d)](0x4),_0x57c83f=0x8*0x400;let _0x2b0828,_0x5b1f4a=_0x57c83f;const _0x473168=0x0,_0x4f057f=0x1,_0x362caa=0x2;class _0x10ddf7{constructor(_0x31fa2d,_0x3cc916,_0x3b030c){const _0x35a9a3=_0x28b823;this[_0x35a9a3(0x245)]=_0x3cc916||{},_0x3b030c&&(this[_0x35a9a3(0x2b8)]=_0x3b030c,this[_0x35a9a3(0x22d)]=Buffer['alloc'](0x4)),this['_socket']=_0x31fa2d,this[_0x35a9a3(0x230)]=!0x0,this['_compress']=!0x1,this[_0x35a9a3(0x271)]=0x0,this[_0x35a9a3(0x28c)]=[],this['_state']=_0x473168,this[_0x35a9a3(0x264)]=_0x1ededf,this[_0x129878]=void 0x0;}static[_0x28b823(0x2b3)](_0x24bc58,_0x12ed7f){const _0x41db96=_0x28b823;let _0x110fce,_0x57db98=!0x1,_0x2f3e4b=0x2,_0x5e984a=!0x1;_0x12ed7f[_0x41db96(0x1ef)]&&(_0x110fce=_0x12ed7f[_0x41db96(0x36e)]||_0xda388f,_0x12ed7f[_0x41db96(0x348)]?_0x12ed7f[_0x41db96(0x348)](_0x110fce):(_0x5b1f4a===_0x57c83f&&(_0x2b0828===void 0x0&&(_0x2b0828=Buffer[_0x41db96(0x27d)](_0x57c83f)),_0x289b6a(_0x2b0828,0x0,_0x57c83f),_0x5b1f4a=0x0),_0x110fce[0x0]=_0x2b0828[_0x5b1f4a++],_0x110fce[0x1]=_0x2b0828[_0x5b1f4a++],_0x110fce[0x2]=_0x2b0828[_0x5b1f4a++],_0x110fce[0x3]=_0x2b0828[_0x5b1f4a++]),_0x5e984a=(_0x110fce[0x0]|_0x110fce[0x1]|_0x110fce[0x2]|_0x110fce[0x3])===0x0,_0x2f3e4b=0x6);let _0xf059d7;typeof _0x24bc58==_0x41db96(0x22b)?(!_0x12ed7f[_0x41db96(0x1ef)]||_0x5e984a)&&_0x12ed7f[_0x3c1ca2]!==void 0x0?_0xf059d7=_0x12ed7f[_0x3c1ca2]:(_0x24bc58=Buffer[_0x41db96(0x34a)](_0x24bc58),_0xf059d7=_0x24bc58[_0x41db96(0x240)]):(_0xf059d7=_0x24bc58[_0x41db96(0x240)],_0x57db98=_0x12ed7f['mask']&&_0x12ed7f[_0x41db96(0x2fb)]&&!_0x5e984a);let _0x1419d3=_0xf059d7;_0xf059d7>=0x10000?(_0x2f3e4b+=0x8,_0x1419d3=0x7f):_0xf059d7>0x7d&&(_0x2f3e4b+=0x2,_0x1419d3=0x7e);const _0x40232d=Buffer[_0x41db96(0x377)](_0x57db98?_0xf059d7+_0x2f3e4b:_0x2f3e4b);return _0x40232d[0x0]=_0x12ed7f[_0x41db96(0x1bf)]?_0x12ed7f[_0x41db96(0x322)]|0x80:_0x12ed7f[_0x41db96(0x322)],_0x12ed7f[_0x41db96(0x247)]&&(_0x40232d[0x0]|=0x40),_0x40232d[0x1]=_0x1419d3,_0x1419d3===0x7e?_0x40232d[_0x41db96(0x369)](_0xf059d7,0x2):_0x1419d3===0x7f&&(_0x40232d[0x2]=_0x40232d[0x3]=0x0,_0x40232d[_0x41db96(0x1fb)](_0xf059d7,0x4,0x6)),_0x12ed7f['mask']?(_0x40232d[0x1]|=0x80,_0x40232d[_0x2f3e4b-0x4]=_0x110fce[0x0],_0x40232d[_0x2f3e4b-0x3]=_0x110fce[0x1],_0x40232d[_0x2f3e4b-0x2]=_0x110fce[0x2],_0x40232d[_0x2f3e4b-0x1]=_0x110fce[0x3],_0x5e984a?[_0x40232d,_0x24bc58]:_0x57db98?(_0x13b6ac(_0x24bc58,_0x110fce,_0x40232d,_0x2f3e4b,_0xf059d7),[_0x40232d]):(_0x13b6ac(_0x24bc58,_0x110fce,_0x24bc58,0x0,_0xf059d7),[_0x40232d,_0x24bc58])):[_0x40232d,_0x24bc58];}[_0x28b823(0x1dd)](_0x371845,_0x4ea459,_0x30d5bd,_0x553f46){const _0x44e772=_0x28b823;let _0x3d0b6c;if(_0x371845===void 0x0)_0x3d0b6c=_0x312518;else{if(typeof _0x371845!=_0x44e772(0x2db)||!_0x208ac3(_0x371845))throw new TypeError(_0x44e772(0x359));if(_0x4ea459===void 0x0||!_0x4ea459[_0x44e772(0x240)])_0x3d0b6c=Buffer[_0x44e772(0x377)](0x2),_0x3d0b6c[_0x44e772(0x369)](_0x371845,0x0);else{const _0x39682d=Buffer[_0x44e772(0x1e1)](_0x4ea459);if(_0x39682d>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x3d0b6c=Buffer[_0x44e772(0x377)](0x2+_0x39682d),_0x3d0b6c[_0x44e772(0x369)](_0x371845,0x0),typeof _0x4ea459==_0x44e772(0x22b)?_0x3d0b6c[_0x44e772(0x36b)](_0x4ea459,0x2):_0x3d0b6c[_0x44e772(0x1e7)](_0x4ea459,0x2);}}const _0x328e5e={[_0x3c1ca2]:_0x3d0b6c[_0x44e772(0x240)],'fin':!0x0,'generateMask':this[_0x44e772(0x2b8)],'mask':_0x30d5bd,'maskBuffer':this[_0x44e772(0x22d)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x44e772(0x26a)]!==_0x473168?this[_0x44e772(0x214)]([this[_0x44e772(0x224)],_0x3d0b6c,!0x1,_0x328e5e,_0x553f46]):this[_0x44e772(0x36d)](_0x10ddf7['frame'](_0x3d0b6c,_0x328e5e),_0x553f46);}[_0x28b823(0x277)](_0x4bb319,_0x466002,_0x5a16de){const _0x4f87c4=_0x28b823;let _0x540523,_0x4cb46e;if(typeof _0x4bb319==_0x4f87c4(0x22b)?(_0x540523=Buffer[_0x4f87c4(0x1e1)](_0x4bb319),_0x4cb46e=!0x1):_0x5effee(_0x4bb319)?(_0x540523=_0x4bb319[_0x4f87c4(0x2c9)],_0x4cb46e=!0x1):(_0x4bb319=_0x19ba74(_0x4bb319),_0x540523=_0x4bb319[_0x4f87c4(0x240)],_0x4cb46e=_0x19ba74[_0x4f87c4(0x2fb)]),_0x540523>0x7d)throw new RangeError(_0x4f87c4(0x1e9));const _0x5dc26f={[_0x3c1ca2]:_0x540523,'fin':!0x0,'generateMask':this[_0x4f87c4(0x2b8)],'mask':_0x466002,'maskBuffer':this[_0x4f87c4(0x22d)],'opcode':0x9,'readOnly':_0x4cb46e,'rsv1':!0x1};_0x5effee(_0x4bb319)?this['_state']!==_0x473168?this[_0x4f87c4(0x214)]([this[_0x4f87c4(0x1ea)],_0x4bb319,!0x1,_0x5dc26f,_0x5a16de]):this[_0x4f87c4(0x1ea)](_0x4bb319,!0x1,_0x5dc26f,_0x5a16de):this[_0x4f87c4(0x26a)]!==_0x473168?this[_0x4f87c4(0x214)]([this['dispatch'],_0x4bb319,!0x1,_0x5dc26f,_0x5a16de]):this['sendFrame'](_0x10ddf7[_0x4f87c4(0x2b3)](_0x4bb319,_0x5dc26f),_0x5a16de);}['pong'](_0x12a32c,_0x165938,_0x542f81){const _0x3f5a2f=_0x28b823;let _0x2ee147,_0x4636f7;if(typeof _0x12a32c==_0x3f5a2f(0x22b)?(_0x2ee147=Buffer[_0x3f5a2f(0x1e1)](_0x12a32c),_0x4636f7=!0x1):_0x5effee(_0x12a32c)?(_0x2ee147=_0x12a32c[_0x3f5a2f(0x2c9)],_0x4636f7=!0x1):(_0x12a32c=_0x19ba74(_0x12a32c),_0x2ee147=_0x12a32c['length'],_0x4636f7=_0x19ba74[_0x3f5a2f(0x2fb)]),_0x2ee147>0x7d)throw new RangeError(_0x3f5a2f(0x1e9));const _0xf8c0={[_0x3c1ca2]:_0x2ee147,'fin':!0x0,'generateMask':this[_0x3f5a2f(0x2b8)],'mask':_0x165938,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x4636f7,'rsv1':!0x1};_0x5effee(_0x12a32c)?this['_state']!==_0x473168?this[_0x3f5a2f(0x214)]([this['getBlobData'],_0x12a32c,!0x1,_0xf8c0,_0x542f81]):this['getBlobData'](_0x12a32c,!0x1,_0xf8c0,_0x542f81):this[_0x3f5a2f(0x26a)]!==_0x473168?this[_0x3f5a2f(0x214)]([this[_0x3f5a2f(0x224)],_0x12a32c,!0x1,_0xf8c0,_0x542f81]):this[_0x3f5a2f(0x36d)](_0x10ddf7[_0x3f5a2f(0x2b3)](_0x12a32c,_0xf8c0),_0x542f81);}[_0x28b823(0x2fe)](_0x3f423a,_0x5a1755,_0x13491a){const _0x5e7424=_0x28b823,_0x1b6bde=this['_extensions'][_0x6e255[_0x5e7424(0x212)]];let _0x56d6ba=_0x5a1755[_0x5e7424(0x2e6)]?0x2:0x1,_0x1e584c=_0x5a1755['compress'],_0x28d0f6,_0xa4591c;typeof _0x3f423a==_0x5e7424(0x22b)?(_0x28d0f6=Buffer[_0x5e7424(0x1e1)](_0x3f423a),_0xa4591c=!0x1):_0x5effee(_0x3f423a)?(_0x28d0f6=_0x3f423a[_0x5e7424(0x2c9)],_0xa4591c=!0x1):(_0x3f423a=_0x19ba74(_0x3f423a),_0x28d0f6=_0x3f423a[_0x5e7424(0x240)],_0xa4591c=_0x19ba74['readOnly']),this[_0x5e7424(0x230)]?(this[_0x5e7424(0x230)]=!0x1,_0x1e584c&&_0x1b6bde&&_0x1b6bde[_0x5e7424(0x1b7)][_0x1b6bde['_isServer']?_0x5e7424(0x2a0):_0x5e7424(0x2a8)]&&(_0x1e584c=_0x28d0f6>=_0x1b6bde[_0x5e7424(0x204)]),this[_0x5e7424(0x1d8)]=_0x1e584c):(_0x1e584c=!0x1,_0x56d6ba=0x0),_0x5a1755[_0x5e7424(0x1bf)]&&(this[_0x5e7424(0x230)]=!0x0);const _0x4fffe8={[_0x3c1ca2]:_0x28d0f6,'fin':_0x5a1755['fin'],'generateMask':this[_0x5e7424(0x2b8)],'mask':_0x5a1755['mask'],'maskBuffer':this[_0x5e7424(0x22d)],'opcode':_0x56d6ba,'readOnly':_0xa4591c,'rsv1':_0x1e584c};_0x5effee(_0x3f423a)?this[_0x5e7424(0x26a)]!==_0x473168?this[_0x5e7424(0x214)]([this['getBlobData'],_0x3f423a,this[_0x5e7424(0x1d8)],_0x4fffe8,_0x13491a]):this['getBlobData'](_0x3f423a,this[_0x5e7424(0x1d8)],_0x4fffe8,_0x13491a):this[_0x5e7424(0x26a)]!==_0x473168?this['enqueue']([this['dispatch'],_0x3f423a,this['_compress'],_0x4fffe8,_0x13491a]):this[_0x5e7424(0x224)](_0x3f423a,this['_compress'],_0x4fffe8,_0x13491a);}[_0x28b823(0x1ea)](_0x17c118,_0x4ac2f1,_0x2c1ea4,_0x2c3d3f){const _0x5429aa=_0x28b823;this[_0x5429aa(0x271)]+=_0x2c1ea4[_0x3c1ca2],this[_0x5429aa(0x26a)]=_0x362caa,_0x17c118[_0x5429aa(0x226)]()['then'](_0xbbe8d4=>{const _0x5d05ae=_0x5429aa;if(this[_0x5d05ae(0x23b)][_0x5d05ae(0x2e1)]){const _0x3bca02=new Error(_0x5d05ae(0x353));process[_0x5d05ae(0x2cb)](_0x1b2d3b,this,_0x3bca02,_0x2c3d3f);return;}this['_bufferedBytes']-=_0x2c1ea4[_0x3c1ca2];const _0x292d99=_0x19ba74(_0xbbe8d4);_0x4ac2f1?this['dispatch'](_0x292d99,_0x4ac2f1,_0x2c1ea4,_0x2c3d3f):(this['_state']=_0x473168,this['sendFrame'](_0x10ddf7[_0x5d05ae(0x2b3)](_0x292d99,_0x2c1ea4),_0x2c3d3f),this[_0x5d05ae(0x1d6)]());})['catch'](_0x2da220=>{const _0x2ec9b3=_0x5429aa;process[_0x2ec9b3(0x2cb)](_0x2add90,this,_0x2da220,_0x2c3d3f);});}['dispatch'](_0x2b9773,_0x3263fc,_0x13dc0e,_0x167a91){const _0x45bc80=_0x28b823;if(!_0x3263fc){this['sendFrame'](_0x10ddf7[_0x45bc80(0x2b3)](_0x2b9773,_0x13dc0e),_0x167a91);return;}const _0x5379c0=this[_0x45bc80(0x245)][_0x6e255['extensionName']];this['_bufferedBytes']+=_0x13dc0e[_0x3c1ca2],this[_0x45bc80(0x26a)]=_0x4f057f,_0x5379c0[_0x45bc80(0x2eb)](_0x2b9773,_0x13dc0e['fin'],(_0x50a4e2,_0x57bfdc)=>{const _0x22b47e=_0x45bc80;if(this['_socket'][_0x22b47e(0x2e1)]){const _0x1aefaa=new Error(_0x22b47e(0x298));_0x1b2d3b(this,_0x1aefaa,_0x167a91);return;}this[_0x22b47e(0x271)]-=_0x13dc0e[_0x3c1ca2],this[_0x22b47e(0x26a)]=_0x473168,_0x13dc0e[_0x22b47e(0x2fb)]=!0x1,this[_0x22b47e(0x36d)](_0x10ddf7[_0x22b47e(0x2b3)](_0x57bfdc,_0x13dc0e),_0x167a91),this[_0x22b47e(0x1d6)]();});}[_0x28b823(0x1d6)](){const _0x342a6e=_0x28b823;for(;this[_0x342a6e(0x26a)]===_0x473168&&this['_queue']['length'];){const _0x476e4e=this['_queue'][_0x342a6e(0x344)]();this[_0x342a6e(0x271)]-=_0x476e4e[0x3][_0x3c1ca2],Reflect['apply'](_0x476e4e[0x0],this,_0x476e4e[_0x342a6e(0x2ad)](0x1));}}['enqueue'](_0x477144){const _0x112086=_0x28b823;this[_0x112086(0x271)]+=_0x477144[0x3][_0x3c1ca2],this[_0x112086(0x28c)][_0x112086(0x293)](_0x477144);}[_0x28b823(0x36d)](_0x1ccea7,_0x29e257){const _0x2e0ef7=_0x28b823;_0x1ccea7[_0x2e0ef7(0x240)]===0x2?(this[_0x2e0ef7(0x23b)][_0x2e0ef7(0x260)](),this[_0x2e0ef7(0x23b)][_0x2e0ef7(0x36b)](_0x1ccea7[0x0]),this[_0x2e0ef7(0x23b)][_0x2e0ef7(0x36b)](_0x1ccea7[0x1],_0x29e257),this[_0x2e0ef7(0x23b)][_0x2e0ef7(0x361)]()):this[_0x2e0ef7(0x23b)]['write'](_0x1ccea7[0x0],_0x29e257);}}Ee=_0x10ddf7;function _0x1b2d3b(_0x355745,_0x4d13ff,_0x535473){const _0x3fdde9=_0x28b823;typeof _0x535473==_0x3fdde9(0x223)&&_0x535473(_0x4d13ff);for(let _0x15645e=0x0;_0x15645e<_0x355745['_queue'][_0x3fdde9(0x240)];_0x15645e++){const _0xc8eaa5=_0x355745['_queue'][_0x15645e],_0x44e3a8=_0xc8eaa5[_0xc8eaa5['length']-0x1];typeof _0x44e3a8=='function'&&_0x44e3a8(_0x4d13ff);}}function _0x2add90(_0x56f8a8,_0x3f1b0b,_0x14941f){const _0x36545b=_0x28b823;_0x1b2d3b(_0x56f8a8,_0x3f1b0b,_0x14941f),_0x56f8a8[_0x36545b(0x264)](_0x3f1b0b);}return Ee;}var xe,Ze;function It(){const _0x4f5062=_0x49d410;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x3e2b64,kListener:_0x4867b4}=H(),_0x1d6e08=Symbol('kCode'),_0x44a041=Symbol('kData'),_0x2dde6a=Symbol(_0x4f5062(0x201)),_0x32132a=Symbol(_0x4f5062(0x1d0)),_0x6c1ddc=Symbol('kReason'),_0x552d81=Symbol(_0x4f5062(0x222)),_0x4f52b0=Symbol(_0x4f5062(0x354)),_0x19f5a2=Symbol(_0x4f5062(0x24a));class _0x19e542{constructor(_0x4cb540){this[_0x552d81]=null,this[_0x4f52b0]=_0x4cb540;}get[_0x4f5062(0x200)](){return this[_0x552d81];}get[_0x4f5062(0x2d5)](){return this[_0x4f52b0];}}Object[_0x4f5062(0x35e)](_0x19e542[_0x4f5062(0x241)],'target',{'enumerable':!0x0}),Object['defineProperty'](_0x19e542[_0x4f5062(0x241)],_0x4f5062(0x2d5),{'enumerable':!0x0});class _0x108437 extends _0x19e542{constructor(_0x19f697,_0x2eaf4e={}){const _0x5dc882=_0x4f5062;super(_0x19f697),this[_0x1d6e08]=_0x2eaf4e[_0x5dc882(0x2d8)]===void 0x0?0x0:_0x2eaf4e[_0x5dc882(0x2d8)],this[_0x6c1ddc]=_0x2eaf4e[_0x5dc882(0x1cd)]===void 0x0?'':_0x2eaf4e[_0x5dc882(0x1cd)],this[_0x19f5a2]=_0x2eaf4e[_0x5dc882(0x2dd)]===void 0x0?!0x1:_0x2eaf4e['wasClean'];}get[_0x4f5062(0x2d8)](){return this[_0x1d6e08];}get[_0x4f5062(0x1cd)](){return this[_0x6c1ddc];}get[_0x4f5062(0x2dd)](){return this[_0x19f5a2];}}Object[_0x4f5062(0x35e)](_0x108437[_0x4f5062(0x241)],_0x4f5062(0x2d8),{'enumerable':!0x0}),Object[_0x4f5062(0x35e)](_0x108437[_0x4f5062(0x241)],_0x4f5062(0x1cd),{'enumerable':!0x0}),Object['defineProperty'](_0x108437[_0x4f5062(0x241)],_0x4f5062(0x2dd),{'enumerable':!0x0});class _0x6aad87 extends _0x19e542{constructor(_0x1ffdcb,_0x5154cf={}){const _0x464ada=_0x4f5062;super(_0x1ffdcb),this[_0x2dde6a]=_0x5154cf[_0x464ada(0x219)]===void 0x0?null:_0x5154cf['error'],this[_0x32132a]=_0x5154cf[_0x464ada(0x1b9)]===void 0x0?'':_0x5154cf[_0x464ada(0x1b9)];}get['error'](){return this[_0x2dde6a];}get['message'](){return this[_0x32132a];}}Object[_0x4f5062(0x35e)](_0x6aad87[_0x4f5062(0x241)],'error',{'enumerable':!0x0}),Object[_0x4f5062(0x35e)](_0x6aad87[_0x4f5062(0x241)],_0x4f5062(0x1b9),{'enumerable':!0x0});class _0x3e4ed1 extends _0x19e542{constructor(_0x458b15,_0x2b4d29={}){const _0x5c6c7a=_0x4f5062;super(_0x458b15),this[_0x44a041]=_0x2b4d29[_0x5c6c7a(0x26c)]===void 0x0?null:_0x2b4d29[_0x5c6c7a(0x26c)];}get[_0x4f5062(0x26c)](){return this[_0x44a041];}}Object[_0x4f5062(0x35e)](_0x3e4ed1[_0x4f5062(0x241)],_0x4f5062(0x26c),{'enumerable':!0x0}),xe={'CloseEvent':_0x108437,'ErrorEvent':_0x6aad87,'Event':_0x19e542,'EventTarget':{'addEventListener'(_0x2a8302,_0x448f14,_0x25a2af={}){const _0x1b2794=_0x4f5062;for(const _0x144586 of this[_0x1b2794(0x306)](_0x2a8302))if(!_0x25a2af[_0x3e2b64]&&_0x144586[_0x4867b4]===_0x448f14&&!_0x144586[_0x3e2b64])return;let _0x48e2f3;if(_0x2a8302==='message')_0x48e2f3=function(_0x4828e2,_0x52d13e){const _0x18f3fd=_0x1b2794,_0x1e981a=new _0x3e4ed1(_0x18f3fd(0x1b9),{'data':_0x52d13e?_0x4828e2:_0x4828e2['toString']()});_0x1e981a[_0x552d81]=this,_0x60bbca(_0x448f14,this,_0x1e981a);};else{if(_0x2a8302===_0x1b2794(0x1dd))_0x48e2f3=function(_0x465d5c,_0x103493){const _0x57e4a8=_0x1b2794,_0x5aa07e=new _0x108437(_0x57e4a8(0x1dd),{'code':_0x465d5c,'reason':_0x103493[_0x57e4a8(0x33f)](),'wasClean':this[_0x57e4a8(0x21b)]&&this[_0x57e4a8(0x215)]});_0x5aa07e[_0x552d81]=this,_0x60bbca(_0x448f14,this,_0x5aa07e);};else{if(_0x2a8302===_0x1b2794(0x219))_0x48e2f3=function(_0x42933d){const _0x2b1f2c=_0x1b2794,_0x519802=new _0x6aad87('error',{'error':_0x42933d,'message':_0x42933d[_0x2b1f2c(0x1b9)]});_0x519802[_0x552d81]=this,_0x60bbca(_0x448f14,this,_0x519802);};else{if(_0x2a8302===_0x1b2794(0x309))_0x48e2f3=function(){const _0x2f4c40=new _0x19e542('open');_0x2f4c40[_0x552d81]=this,_0x60bbca(_0x448f14,this,_0x2f4c40);};else return;}}}_0x48e2f3[_0x3e2b64]=!!_0x25a2af[_0x3e2b64],_0x48e2f3[_0x4867b4]=_0x448f14,_0x25a2af[_0x1b2794(0x262)]?this['once'](_0x2a8302,_0x48e2f3):this['on'](_0x2a8302,_0x48e2f3);},'removeEventListener'(_0x145ae5,_0x332a85){const _0x310110=_0x4f5062;for(const _0x42ccab of this['listeners'](_0x145ae5))if(_0x42ccab[_0x4867b4]===_0x332a85&&!_0x42ccab[_0x3e2b64]){this[_0x310110(0x374)](_0x145ae5,_0x42ccab);break;}}},'MessageEvent':_0x3e4ed1};function _0x60bbca(_0x1d6a1c,_0x40d441,_0x347788){const _0x2bf80d=_0x4f5062;typeof _0x1d6a1c==_0x2bf80d(0x34d)&&_0x1d6a1c[_0x2bf80d(0x2d4)]?_0x1d6a1c[_0x2bf80d(0x2d4)]['call'](_0x1d6a1c,_0x347788):_0x1d6a1c[_0x2bf80d(0x1ec)](_0x40d441,_0x347788);}return xe;}var be,Qe;function _0x458f(){const _0x27fe87=['code','unmask','origin','number','pause','wasClean','Max\x20payload\x20size\x20exceeded','Invalid\x20Sec-WebSocket-Accept\x20header','has','destroyed','isValidUTF8','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','Sec-WebSocket-Accept:\x20','Unexpected\x20end\x20of\x20input','binary','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','cleanup','endEmitted','reset','compress','getOwnPropertyDescriptor','objectMode','socket','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','IConfigService','removeAllListeners','Unknown\x20parameter\x20\x22','sec-websocket-origin','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','binaryType','_loop','_read','handleProtocols','readable','setNoDelay','readOnly','isInteger','CONNECTING','send','\x22\x20subprotocol\x20is\x20duplicated','removeEventListener','share','authorization','extensions','values','The\x20URL\x20contains\x20a\x20fragment\x20identifier','listeners','onclose','_fragmented','open','ISnapshotServerService','websocket','search','location','defaultPort','pipe','backlog','\x0d\x0a\x0d\x0a','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','DisposableCollection','Opening\x20handshake\x20has\x20timed\x20out','errorEmitted','customHeaders','pathname','getMask','setConfig','WS_ERR_UNEXPECTED_RSV_1','hostname','bind','warn','_errored','_payloadLength','password','protocol','opcode','_inflate','handleUpgrade','https:','createInflateRaw','_compressed','kIsForOnEventAttribute','_decompress','resume','WebSocket\x20is\x20not\x20open:\x20readyState\x20','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','method','invalid\x20opcode\x200','sec-websocket-protocol','Sec-WebSocket-Protocol:\x20','stream','\x22:\x20','redirect','WS_ERR_INVALID_UTF8','clients','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','protocolVersion','connection','_totalPayloadLength','_httpService','servername','flush','_mask','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','toString','threshold','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','delete','add','shift','_closeMessage','offer','Invalid\x20HTTP\x20method','generateMask','\x22\x20must\x20have\x20only\x20a\x20single\x20value','from','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','find','object','clientTracking','ws:','pong','toDisposable','blob','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','kType','serverMaxWindowBits','includes','The\x20server\x20is\x20not\x20running','_isServer','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','sec-websocket-version','Invalid\x20value\x20for\x20parameter\x20\x22','map','server','defineProperty','isPaused','\x20(supported\x20versions:\x20','uncork','Upgrade:\x20websocket','isServer','Invalid\x20Sec-WebSocket-Protocol\x20header','_url','invalid\x20opcode\x20','handshakeTimeout','getConfig','writeUInt16BE','writeHead','write','getPayloadLength16','sendFrame','maskBuffer','terminate','zlib','_masked','getPayloadLength64','Unexpected\x20character\x20at\x20index\x20','removeListener','NodeCollaborationSocketService','accept','allocUnsafe','href','_buffers','unexpected-response','maxPayload','startsWith','The\x20\x22','onopen','params','arraybuffer','message','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','unshift','byteOffset','_fragments','Sec-WebSocket-Extensions','fin','client_max_window_bits','maxRedirects','Injector','getInfo','_readyState','_registerDependencies','toLowerCase','Plugin','Maximum\x20redirects\x20exceeded','verifyClient','Unexpected\x20server\x20response:\x20','format','kDone','reason','text/html','concurrencyLimit','kMessage','_closeTimer','Invalid\x20Upgrade\x20header','_redirects','acceptAsClient','abort','dequeue','toStringTag','_compress','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','_skipUTF8Validation','Server\x20sent\x20an\x20invalid\x20subprotocol','close','_fin','getData','CLOSED','byteLength','allowSynchronousEvents','createConnection','listening','setTimeout','Sec-WebSocket-Extensions:\x20','set','autoPong','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','getBlobData','_paused','call','keys','GET','mask','_errorEmitted','split','tls','_bufferedAmount','createSocket','250609XzWAmB','upgrade','kAborted','completeUpgrade','address','emitClose','writeUIntBE','sec-websocket-accept','kRun','http:','_originalHostOrSocketPath','target','kError','MASK\x20must\x20be\x20set','_final','_threshold','emit','pending','Sec-WebSocket-Origin','WS_ERR_INVALID_CLOSE_CODE','WS_ERR_EXPECTED_MASK','pow','CLOSING','onmessage','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','Observable','concat','ws+unix:','digest','extensionName','path','enqueue','_closeFrameSent','clientMaxWindowBits','OPEN','bufferedAmount','error','WS_NO_BUFFER_UTIL','_closeFrameReceived','dataMessage','conclude','exports','File','Sec-WebSocket-Protocol','registerHTTPInterceptor','kTarget','function','dispatch','Server\x20sent\x20no\x20subprotocol','arrayBuffer','Module','_binaryType','noServer','base64','string','nodebuffer','_maskBuffer','username','jobs','_firstFragment','skipUTF8Validation','STATUS_CODES','hasOwnProperty','total-length','setSocket','_autoPong','WS_ERR_UNEXPECTED_MASK','net','createError','5018180ddMTlU','_socket','ILogService','construct','https','url','length','prototype','buffers','readyState','6965SiwrrR','_extensions','__esModule','rsv1','3970YvnCCO','indexOf','kWasClean','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','_server','Basic\x20','Invalid\x20URL:\x20','parse','shouldHandle','request','startLoop','decompress','_messageLength','perMessageDeflate','timeout','wss:','destroy','apply','WebSocket','_max_window_bits','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','crypto','buffer','value','cork','Z_DEFAULT_WINDOWBITS','once','end','onerror','createServer','connect','createDeflateRaw','Inject','_readableState','_state','acceptAsServer','data','entries','species','RSV1\x20must\x20be\x20clear','http','_bufferedBytes','sec-websocket-extensions','_write','zlibInflateOptions','_maxPayload','55053rEwlye','ping','captureStackTrace','setHeader','followRedirects','haveLength','listen','alloc','controlMessage','_options','socketPath','_deflate','_destroy','957ygjVLW','serverNoContextTakeover','1450NGZapz','next','server_max_window_bits','COLLABORATION_CLIENT_NODE_CONFIG_KEY','forEach','DependentOn','response','_queue','default','_writableState','encrypted','zlibDeflateOptions','UniverCollaborationClientNodePlugin','_originalSecure','push','rxjs','readUInt32BE','_sender','join','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','finishRequest','fragments','clientNoContextTakeover','finished','listenerCount','@univerjs/core','_receiver','server_no_context_takeover','Disposable','WS_ERR_INVALID_OPCODE','statusCode','HTTPService','auth','isArray','options','client_no_context_takeover','_injector','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','WS_NO_UTF_8_VALIDATE','Invalid\x20Sec-WebSocket-Extensions\x20header','slice','create','5637432youhJi','sha1','_protocol','wsClientError','frame','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','hash','readUInt16BE','client','_generateMask','4568wtBvew','1944726PVeZZP','env','_configService','_allowSynchronousEvents','_opcode','cookie','_shouldEmitClose','invalid\x20UTF-8\x20sequence','normalizeParams','host','headers','HTTP/1.1\x20101\x20Switching\x20Protocols','invalid\x20payload\x20length\x20','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','size','concurrency','nextTick','_removeListeners','_closeCode','writable','addEventListener','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','_req','port','finish','handleEvent','type','consume','callback'];_0x458f=function(){return _0x27fe87;};return _0x458f();}function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x290084}=ae();function _0x36664b(_0x3598a8,_0x3a1dd9,_0x28a52d){const _0x14a4c9=_0x80da;_0x3598a8[_0x3a1dd9]===void 0x0?_0x3598a8[_0x3a1dd9]=[_0x28a52d]:_0x3598a8[_0x3a1dd9][_0x14a4c9(0x293)](_0x28a52d);}function _0x3ae913(_0x274af8){const _0x154c70=_0x80da,_0x32ff88=Object['create'](null);let _0x10016b=Object['create'](null),_0x561d80=!0x1,_0x38d6f9=!0x1,_0x347d34=!0x1,_0x24bfeb,_0x4ec858,_0xff8a82=-0x1,_0x4847c0=-0x1,_0x20af9b=-0x1,_0x111a83=0x0;for(;_0x111a83<_0x274af8[_0x154c70(0x240)];_0x111a83++)if(_0x4847c0=_0x274af8['charCodeAt'](_0x111a83),_0x24bfeb===void 0x0){if(_0x20af9b===-0x1&&_0x290084[_0x4847c0]===0x1)_0xff8a82===-0x1&&(_0xff8a82=_0x111a83);else{if(_0x111a83!==0x0&&(_0x4847c0===0x20||_0x4847c0===0x9))_0x20af9b===-0x1&&_0xff8a82!==-0x1&&(_0x20af9b=_0x111a83);else{if(_0x4847c0===0x3b||_0x4847c0===0x2c){if(_0xff8a82===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x111a83);_0x20af9b===-0x1&&(_0x20af9b=_0x111a83);const _0x2fab38=_0x274af8[_0x154c70(0x2ad)](_0xff8a82,_0x20af9b);_0x4847c0===0x2c?(_0x36664b(_0x32ff88,_0x2fab38,_0x10016b),_0x10016b=Object[_0x154c70(0x2ae)](null)):_0x24bfeb=_0x2fab38,_0xff8a82=_0x20af9b=-0x1;}else throw new SyntaxError(_0x154c70(0x373)+_0x111a83);}}}else{if(_0x4ec858===void 0x0){if(_0x20af9b===-0x1&&_0x290084[_0x4847c0]===0x1)_0xff8a82===-0x1&&(_0xff8a82=_0x111a83);else{if(_0x4847c0===0x20||_0x4847c0===0x9)_0x20af9b===-0x1&&_0xff8a82!==-0x1&&(_0x20af9b=_0x111a83);else{if(_0x4847c0===0x3b||_0x4847c0===0x2c){if(_0xff8a82===-0x1)throw new SyntaxError(_0x154c70(0x373)+_0x111a83);_0x20af9b===-0x1&&(_0x20af9b=_0x111a83),_0x36664b(_0x10016b,_0x274af8[_0x154c70(0x2ad)](_0xff8a82,_0x20af9b),!0x0),_0x4847c0===0x2c&&(_0x36664b(_0x32ff88,_0x24bfeb,_0x10016b),_0x10016b=Object[_0x154c70(0x2ae)](null),_0x24bfeb=void 0x0),_0xff8a82=_0x20af9b=-0x1;}else{if(_0x4847c0===0x3d&&_0xff8a82!==-0x1&&_0x20af9b===-0x1)_0x4ec858=_0x274af8[_0x154c70(0x2ad)](_0xff8a82,_0x111a83),_0xff8a82=_0x20af9b=-0x1;else throw new SyntaxError(_0x154c70(0x373)+_0x111a83);}}}}else{if(_0x38d6f9){if(_0x290084[_0x4847c0]!==0x1)throw new SyntaxError(_0x154c70(0x373)+_0x111a83);_0xff8a82===-0x1?_0xff8a82=_0x111a83:_0x561d80||(_0x561d80=!0x0),_0x38d6f9=!0x1;}else{if(_0x347d34){if(_0x290084[_0x4847c0]===0x1)_0xff8a82===-0x1&&(_0xff8a82=_0x111a83);else{if(_0x4847c0===0x22&&_0xff8a82!==-0x1)_0x347d34=!0x1,_0x20af9b=_0x111a83;else{if(_0x4847c0===0x5c)_0x38d6f9=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x111a83);}}}else{if(_0x4847c0===0x22&&_0x274af8['charCodeAt'](_0x111a83-0x1)===0x3d)_0x347d34=!0x0;else{if(_0x20af9b===-0x1&&_0x290084[_0x4847c0]===0x1)_0xff8a82===-0x1&&(_0xff8a82=_0x111a83);else{if(_0xff8a82!==-0x1&&(_0x4847c0===0x20||_0x4847c0===0x9))_0x20af9b===-0x1&&(_0x20af9b=_0x111a83);else{if(_0x4847c0===0x3b||_0x4847c0===0x2c){if(_0xff8a82===-0x1)throw new SyntaxError(_0x154c70(0x373)+_0x111a83);_0x20af9b===-0x1&&(_0x20af9b=_0x111a83);let _0x34bd96=_0x274af8[_0x154c70(0x2ad)](_0xff8a82,_0x20af9b);_0x561d80&&(_0x34bd96=_0x34bd96['replace'](/\\/g,''),_0x561d80=!0x1),_0x36664b(_0x10016b,_0x4ec858,_0x34bd96),_0x4847c0===0x2c&&(_0x36664b(_0x32ff88,_0x24bfeb,_0x10016b),_0x10016b=Object[_0x154c70(0x2ae)](null),_0x24bfeb=void 0x0),_0x4ec858=void 0x0,_0xff8a82=_0x20af9b=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x111a83);}}}}}}}if(_0xff8a82===-0x1||_0x347d34||_0x4847c0===0x20||_0x4847c0===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x20af9b===-0x1&&(_0x20af9b=_0x111a83);const _0x30aa62=_0x274af8[_0x154c70(0x2ad)](_0xff8a82,_0x20af9b);return _0x24bfeb===void 0x0?_0x36664b(_0x32ff88,_0x30aa62,_0x10016b):(_0x4ec858===void 0x0?_0x36664b(_0x10016b,_0x30aa62,!0x0):_0x561d80?_0x36664b(_0x10016b,_0x4ec858,_0x30aa62['replace'](/\\/g,'')):_0x36664b(_0x10016b,_0x4ec858,_0x30aa62),_0x36664b(_0x32ff88,_0x24bfeb,_0x10016b)),_0x32ff88;}function _0xad15d0(_0x2e7bb2){const _0x18b157=_0x80da;return Object[_0x18b157(0x1ed)](_0x2e7bb2)[_0x18b157(0x35c)](_0x34aa1c=>{const _0x29c663=_0x18b157;let _0x2fe447=_0x2e7bb2[_0x34aa1c];return Array[_0x29c663(0x2a6)](_0x2fe447)||(_0x2fe447=[_0x2fe447]),_0x2fe447[_0x29c663(0x35c)](_0x221e38=>[_0x34aa1c][_0x29c663(0x20f)](Object[_0x29c663(0x1ed)](_0x221e38)[_0x29c663(0x35c)](_0x11de1a=>{const _0x1e2023=_0x29c663;let _0xf34085=_0x221e38[_0x11de1a];return Array[_0x1e2023(0x2a6)](_0xf34085)||(_0xf34085=[_0xf34085]),_0xf34085[_0x1e2023(0x35c)](_0x56537d=>_0x56537d===!0x0?_0x11de1a:_0x11de1a+'='+_0x56537d)[_0x1e2023(0x297)](';\x20');}))[_0x29c663(0x297)](';\x20'))[_0x29c663(0x297)](',\x20');})[_0x18b157(0x297)](',\x20');}return be={'format':_0xad15d0,'parse':_0x3ae913},be;}var we,Je;function Pe(){const _0x267e0c=_0x49d410;if(Je)return we;Je=0x1;const _0x22af69=nt,_0x4ea4f4=vt,_0x13c001=ot,_0x197962=St,_0x2d7d21=Et,{randomBytes:_0x48a684,createHash:_0x75b2cc}=Le,{Duplex:_0x4a2e07,Readable:_0x2c215c}=oe,{URL:_0x1dd613}=xt,_0x3c19ff=he(),_0x3cfe9f=lt(),_0x57d1f8=ft(),{isBlob:_0x4f50bf}=ae(),{BINARY_TYPES:_0x3d6a60,EMPTY_BUFFER:_0xf4f29d,GUID:_0x55ceb1,kForOnEventAttribute:_0x40800d,kListener:_0x58b8e5,kStatusCode:_0x2c8232,kWebSocket:_0x7a20b9,NOOP:_0x22399d}=H(),{EventTarget:{addEventListener:_0x23bba4,removeEventListener:_0x3b41be}}=It(),{format:_0x2acbff,parse:_0x2e23fb}=ct(),{toBuffer:_0x3537f5}=ce(),_0x40c5f3=0x1e*0x3e8,_0x222974=Symbol(_0x267e0c(0x1f7)),_0x277486=[0x8,0xd],_0x253413=[_0x267e0c(0x2fd),'OPEN','CLOSING',_0x267e0c(0x1e0)],_0x5c8bbd=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x2de10c extends _0x22af69{constructor(_0x5dfdb1,_0x316a56,_0x57d45a){const _0x45ef2b=_0x267e0c;super(),this[_0x45ef2b(0x228)]=_0x3d6a60[0x0],this['_closeCode']=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x45ef2b(0x215)]=!0x1,this[_0x45ef2b(0x345)]=_0xf4f29d,this['_closeTimer']=null,this[_0x45ef2b(0x1f0)]=!0x1,this[_0x45ef2b(0x245)]={},this[_0x45ef2b(0x1eb)]=!0x1,this['_protocol']='',this[_0x45ef2b(0x1c4)]=_0x2de10c[_0x45ef2b(0x2fd)],this['_receiver']=null,this[_0x45ef2b(0x296)]=null,this['_socket']=null,_0x5dfdb1!==null?(this[_0x45ef2b(0x1f3)]=0x0,this['_isServer']=!0x1,this[_0x45ef2b(0x1d3)]=0x0,_0x316a56===void 0x0?_0x316a56=[]:Array[_0x45ef2b(0x2a6)](_0x316a56)||(typeof _0x316a56==_0x45ef2b(0x34d)&&_0x316a56!==null?(_0x57d45a=_0x316a56,_0x316a56=[]):_0x316a56=[_0x316a56]),_0x1bd26c(this,_0x5dfdb1,_0x316a56,_0x57d45a)):(this[_0x45ef2b(0x236)]=_0x57d45a[_0x45ef2b(0x1e8)],this[_0x45ef2b(0x358)]=!0x0);}get['binaryType'](){const _0x1ae330=_0x267e0c;return this[_0x1ae330(0x228)];}set[_0x267e0c(0x2f5)](_0x20ac71){const _0x163d1c=_0x267e0c;_0x3d6a60[_0x163d1c(0x356)](_0x20ac71)&&(this[_0x163d1c(0x228)]=_0x20ac71,this['_receiver']&&(this[_0x163d1c(0x29f)][_0x163d1c(0x228)]=_0x20ac71));}get['bufferedAmount'](){const _0x384753=_0x267e0c;return this[_0x384753(0x23b)]?this[_0x384753(0x23b)][_0x384753(0x28e)][_0x384753(0x240)]+this[_0x384753(0x296)][_0x384753(0x271)]:this[_0x384753(0x1f3)];}get[_0x267e0c(0x303)](){const _0x5bcb92=_0x267e0c;return Object['keys'](this[_0x5bcb92(0x245)])[_0x5bcb92(0x297)]();}get[_0x267e0c(0x35f)](){const _0x414d4f=_0x267e0c;return this[_0x414d4f(0x1eb)];}get[_0x267e0c(0x307)](){return null;}get['onerror'](){return null;}get[_0x267e0c(0x1b6)](){return null;}get[_0x267e0c(0x20c)](){return null;}get['protocol'](){const _0x5a8bfb=_0x267e0c;return this[_0x5a8bfb(0x2b1)];}get[_0x267e0c(0x243)](){const _0x48695e=_0x267e0c;return this[_0x48695e(0x1c4)];}get[_0x267e0c(0x23f)](){const _0x3e0017=_0x267e0c;return this[_0x3e0017(0x365)];}[_0x267e0c(0x235)](_0x51416b,_0x1b7abb,_0x3aa9bb){const _0x1335a2=_0x267e0c,_0xe2a29c=new _0x3cfe9f({'allowSynchronousEvents':_0x3aa9bb[_0x1335a2(0x1e2)],'binaryType':this[_0x1335a2(0x2f5)],'extensions':this[_0x1335a2(0x245)],'isServer':this[_0x1335a2(0x358)],'maxPayload':_0x3aa9bb[_0x1335a2(0x1b3)],'skipUTF8Validation':_0x3aa9bb[_0x1335a2(0x231)]}),_0x5d7b83=new _0x57d1f8(_0x51416b,this[_0x1335a2(0x245)],_0x3aa9bb[_0x1335a2(0x348)]);this[_0x1335a2(0x29f)]=_0xe2a29c,this[_0x1335a2(0x296)]=_0x5d7b83,this[_0x1335a2(0x23b)]=_0x51416b,_0xe2a29c[_0x7a20b9]=this,_0x5d7b83[_0x7a20b9]=this,_0x51416b[_0x7a20b9]=this,_0xe2a29c['on'](_0x1335a2(0x21d),_0x3742c3),_0xe2a29c['on']('drain',_0x460b3b),_0xe2a29c['on'](_0x1335a2(0x219),_0x127d8a),_0xe2a29c['on']('message',_0x3f10a6),_0xe2a29c['on'](_0x1335a2(0x277),_0xa036cb),_0xe2a29c['on'](_0x1335a2(0x350),_0x5e5000),_0x5d7b83['onerror']=_0x112cbd,_0x51416b[_0x1335a2(0x1e5)]&&_0x51416b[_0x1335a2(0x1e5)](0x0),_0x51416b[_0x1335a2(0x2fa)]&&_0x51416b[_0x1335a2(0x2fa)](),_0x1b7abb[_0x1335a2(0x240)]>0x0&&_0x51416b[_0x1335a2(0x1bb)](_0x1b7abb),_0x51416b['on'](_0x1335a2(0x1dd),_0x3ccb53),_0x51416b['on'](_0x1335a2(0x26c),_0x39d47a),_0x51416b['on'](_0x1335a2(0x263),_0x2bb55a),_0x51416b['on']('error',_0x4bf30f),this[_0x1335a2(0x1c4)]=_0x2de10c[_0x1335a2(0x217)],this['emit'](_0x1335a2(0x309));}[_0x267e0c(0x1fa)](){const _0xd185d7=_0x267e0c;if(!this['_socket']){this[_0xd185d7(0x1c4)]=_0x2de10c[_0xd185d7(0x1e0)],this['emit']('close',this[_0xd185d7(0x2cd)],this['_closeMessage']);return;}this[_0xd185d7(0x245)][_0x3c19ff[_0xd185d7(0x212)]]&&this[_0xd185d7(0x245)][_0x3c19ff['extensionName']][_0xd185d7(0x2e8)](),this[_0xd185d7(0x29f)][_0xd185d7(0x2f1)](),this[_0xd185d7(0x1c4)]=_0x2de10c[_0xd185d7(0x1e0)],this[_0xd185d7(0x205)](_0xd185d7(0x1dd),this[_0xd185d7(0x2cd)],this['_closeMessage']);}[_0x267e0c(0x1dd)](_0xd307ab,_0x11cd03){const _0x10babd=_0x267e0c;if(this['readyState']!==_0x2de10c['CLOSED']){if(this[_0x10babd(0x243)]===_0x2de10c[_0x10babd(0x2fd)]){_0x1bcfba(this,this['_req'],_0x10babd(0x2aa));return;}if(this[_0x10babd(0x243)]===_0x2de10c['CLOSING']){this['_closeFrameSent']&&(this['_closeFrameReceived']||this[_0x10babd(0x29f)][_0x10babd(0x28e)][_0x10babd(0x315)])&&this['_socket']['end']();return;}this[_0x10babd(0x1c4)]=_0x2de10c[_0x10babd(0x20b)],this['_sender'][_0x10babd(0x1dd)](_0xd307ab,_0x11cd03,!this[_0x10babd(0x358)],_0x5ec8be=>{const _0x494b9c=_0x10babd;_0x5ec8be||(this[_0x494b9c(0x215)]=!0x0,(this[_0x494b9c(0x21b)]||this[_0x494b9c(0x29f)]['_writableState'][_0x494b9c(0x315)])&&this[_0x494b9c(0x23b)][_0x494b9c(0x263)]());}),_0x4f10d9(this);}}[_0x267e0c(0x2dc)](){const _0x53aa7b=_0x267e0c;this['readyState']===_0x2de10c[_0x53aa7b(0x2fd)]||this[_0x53aa7b(0x243)]===_0x2de10c['CLOSED']||(this['_paused']=!0x0,this[_0x53aa7b(0x23b)][_0x53aa7b(0x2dc)]());}['ping'](_0x246635,_0x1526e5,_0x4c4998){const _0x3c6ed9=_0x267e0c;if(this[_0x3c6ed9(0x243)]===_0x2de10c[_0x3c6ed9(0x2fd)])throw new Error(_0x3c6ed9(0x312));if(typeof _0x246635=='function'?(_0x4c4998=_0x246635,_0x246635=_0x1526e5=void 0x0):typeof _0x1526e5=='function'&&(_0x4c4998=_0x1526e5,_0x1526e5=void 0x0),typeof _0x246635==_0x3c6ed9(0x2db)&&(_0x246635=_0x246635['toString']()),this[_0x3c6ed9(0x243)]!==_0x2de10c['OPEN']){_0x38f984(this,_0x246635,_0x4c4998);return;}_0x1526e5===void 0x0&&(_0x1526e5=!this['_isServer']),this[_0x3c6ed9(0x296)][_0x3c6ed9(0x277)](_0x246635||_0xf4f29d,_0x1526e5,_0x4c4998);}[_0x267e0c(0x350)](_0x261723,_0x1ef602,_0x32f36e){const _0x312a2b=_0x267e0c;if(this[_0x312a2b(0x243)]===_0x2de10c[_0x312a2b(0x2fd)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x261723==_0x312a2b(0x223)?(_0x32f36e=_0x261723,_0x261723=_0x1ef602=void 0x0):typeof _0x1ef602==_0x312a2b(0x223)&&(_0x32f36e=_0x1ef602,_0x1ef602=void 0x0),typeof _0x261723==_0x312a2b(0x2db)&&(_0x261723=_0x261723[_0x312a2b(0x33f)]()),this[_0x312a2b(0x243)]!==_0x2de10c[_0x312a2b(0x217)]){_0x38f984(this,_0x261723,_0x32f36e);return;}_0x1ef602===void 0x0&&(_0x1ef602=!this[_0x312a2b(0x358)]),this[_0x312a2b(0x296)][_0x312a2b(0x350)](_0x261723||_0xf4f29d,_0x1ef602,_0x32f36e);}[_0x267e0c(0x32a)](){const _0x5993cb=_0x267e0c;this[_0x5993cb(0x243)]===_0x2de10c[_0x5993cb(0x2fd)]||this[_0x5993cb(0x243)]===_0x2de10c[_0x5993cb(0x1e0)]||(this[_0x5993cb(0x1eb)]=!0x1,this[_0x5993cb(0x29f)]['_writableState']['needDrain']||this[_0x5993cb(0x23b)][_0x5993cb(0x32a)]());}[_0x267e0c(0x2fe)](_0xf34575,_0x310fd8,_0x29f9e7){const _0x41b8ea=_0x267e0c;if(this[_0x41b8ea(0x243)]===_0x2de10c[_0x41b8ea(0x2fd)])throw new Error(_0x41b8ea(0x312));if(typeof _0x310fd8==_0x41b8ea(0x223)&&(_0x29f9e7=_0x310fd8,_0x310fd8={}),typeof _0xf34575==_0x41b8ea(0x2db)&&(_0xf34575=_0xf34575[_0x41b8ea(0x33f)]()),this[_0x41b8ea(0x243)]!==_0x2de10c['OPEN']){_0x38f984(this,_0xf34575,_0x29f9e7);return;}const _0xb248d4={'binary':typeof _0xf34575!=_0x41b8ea(0x22b),'mask':!this[_0x41b8ea(0x358)],'compress':!0x0,'fin':!0x0,..._0x310fd8};this[_0x41b8ea(0x245)][_0x3c19ff[_0x41b8ea(0x212)]]||(_0xb248d4['compress']=!0x1),this[_0x41b8ea(0x296)][_0x41b8ea(0x2fe)](_0xf34575||_0xf4f29d,_0xb248d4,_0x29f9e7);}[_0x267e0c(0x36f)](){const _0x1cb428=_0x267e0c;if(this['readyState']!==_0x2de10c[_0x1cb428(0x1e0)]){if(this[_0x1cb428(0x243)]===_0x2de10c[_0x1cb428(0x2fd)]){_0x1bcfba(this,this['_req'],_0x1cb428(0x2aa));return;}this[_0x1cb428(0x23b)]&&(this[_0x1cb428(0x1c4)]=_0x2de10c[_0x1cb428(0x20b)],this[_0x1cb428(0x23b)][_0x1cb428(0x258)]());}}}Object[_0x267e0c(0x35e)](_0x2de10c,_0x267e0c(0x2fd),{'enumerable':!0x0,'value':_0x253413['indexOf'](_0x267e0c(0x2fd))}),Object[_0x267e0c(0x35e)](_0x2de10c[_0x267e0c(0x241)],'CONNECTING',{'enumerable':!0x0,'value':_0x253413[_0x267e0c(0x249)]('CONNECTING')}),Object[_0x267e0c(0x35e)](_0x2de10c,'OPEN',{'enumerable':!0x0,'value':_0x253413[_0x267e0c(0x249)](_0x267e0c(0x217))}),Object[_0x267e0c(0x35e)](_0x2de10c[_0x267e0c(0x241)],_0x267e0c(0x217),{'enumerable':!0x0,'value':_0x253413[_0x267e0c(0x249)](_0x267e0c(0x217))}),Object['defineProperty'](_0x2de10c,_0x267e0c(0x20b),{'enumerable':!0x0,'value':_0x253413[_0x267e0c(0x249)](_0x267e0c(0x20b))}),Object['defineProperty'](_0x2de10c[_0x267e0c(0x241)],_0x267e0c(0x20b),{'enumerable':!0x0,'value':_0x253413[_0x267e0c(0x249)](_0x267e0c(0x20b))}),Object['defineProperty'](_0x2de10c,_0x267e0c(0x1e0),{'enumerable':!0x0,'value':_0x253413[_0x267e0c(0x249)]('CLOSED')}),Object[_0x267e0c(0x35e)](_0x2de10c[_0x267e0c(0x241)],_0x267e0c(0x1e0),{'enumerable':!0x0,'value':_0x253413[_0x267e0c(0x249)](_0x267e0c(0x1e0))}),[_0x267e0c(0x2f5),_0x267e0c(0x218),'extensions',_0x267e0c(0x35f),'protocol',_0x267e0c(0x243),_0x267e0c(0x23f)][_0x267e0c(0x289)](_0xb6d441=>{const _0x1d7329=_0x267e0c;Object[_0x1d7329(0x35e)](_0x2de10c[_0x1d7329(0x241)],_0xb6d441,{'enumerable':!0x0});}),[_0x267e0c(0x309),_0x267e0c(0x219),'close','message'][_0x267e0c(0x289)](_0x7c3834=>{const _0x5dcae5=_0x267e0c;Object[_0x5dcae5(0x35e)](_0x2de10c[_0x5dcae5(0x241)],'on'+_0x7c3834,{'enumerable':!0x0,'get'(){const _0x49f6c6=_0x5dcae5;for(const _0x2e2292 of this[_0x49f6c6(0x306)](_0x7c3834))if(_0x2e2292[_0x40800d])return _0x2e2292[_0x58b8e5];return null;},'set'(_0x20d377){const _0x310770=_0x5dcae5;for(const _0x438920 of this['listeners'](_0x7c3834))if(_0x438920[_0x40800d]){this[_0x310770(0x374)](_0x7c3834,_0x438920);break;}typeof _0x20d377==_0x310770(0x223)&&this[_0x310770(0x2cf)](_0x7c3834,_0x20d377,{[_0x40800d]:!0x0});}});}),_0x2de10c[_0x267e0c(0x241)][_0x267e0c(0x2cf)]=_0x23bba4,_0x2de10c[_0x267e0c(0x241)][_0x267e0c(0x300)]=_0x3b41be,we=_0x2de10c;function _0x1bd26c(_0x209ee5,_0x39fe9a,_0x24b8e8,_0x1b84cc){const _0x161408=_0x267e0c,_0x4c94e6={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x277486[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x1b84cc,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x161408(0x1ee),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x209ee5[_0x161408(0x236)]=_0x4c94e6[_0x161408(0x1e8)],!_0x277486['includes'](_0x4c94e6[_0x161408(0x337)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x4c94e6[_0x161408(0x337)]+_0x161408(0x360)+_0x277486[_0x161408(0x297)](',\x20')+')');let _0x298219;if(_0x39fe9a instanceof _0x1dd613)_0x298219=_0x39fe9a;else try{_0x298219=new _0x1dd613(_0x39fe9a);}catch{throw new SyntaxError(_0x161408(0x24e)+_0x39fe9a);}_0x298219['protocol']===_0x161408(0x1fe)?_0x298219[_0x161408(0x321)]='ws:':_0x298219[_0x161408(0x321)]===_0x161408(0x325)&&(_0x298219[_0x161408(0x321)]=_0x161408(0x257)),_0x209ee5[_0x161408(0x365)]=_0x298219[_0x161408(0x1b0)];const _0x13327f=_0x298219[_0x161408(0x321)]===_0x161408(0x257),_0x511ce3=_0x298219['protocol']===_0x161408(0x210);let _0x222fd0;if(_0x298219[_0x161408(0x321)]!==_0x161408(0x34f)&&!_0x13327f&&!_0x511ce3?_0x222fd0=_0x161408(0x1ba):_0x511ce3&&!_0x298219[_0x161408(0x317)]?_0x222fd0='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x298219[_0x161408(0x2b5)]&&(_0x222fd0=_0x161408(0x305)),_0x222fd0){const _0x1e2344=new SyntaxError(_0x222fd0);if(_0x209ee5[_0x161408(0x1d3)]===0x0)throw _0x1e2344;_0x361526(_0x209ee5,_0x1e2344);return;}const _0x54e9ef=_0x13327f?0x1bb:0x50,_0x3419e6=_0x48a684(0x10)[_0x161408(0x33f)]('base64'),_0x7c48f2=_0x13327f?_0x4ea4f4[_0x161408(0x251)]:_0x13c001[_0x161408(0x251)],_0x13cfa6=new Set();let _0x9b5113;if(_0x4c94e6[_0x161408(0x1e3)]=_0x4c94e6[_0x161408(0x1e3)]||(_0x13327f?_0x4a4800:_0xb69056),_0x4c94e6[_0x161408(0x30e)]=_0x4c94e6[_0x161408(0x30e)]||_0x54e9ef,_0x4c94e6[_0x161408(0x2d2)]=_0x298219[_0x161408(0x2d2)]||_0x54e9ef,_0x4c94e6['host']=_0x298219[_0x161408(0x31b)][_0x161408(0x1b4)]('[')?_0x298219[_0x161408(0x31b)][_0x161408(0x2ad)](0x1,-0x1):_0x298219[_0x161408(0x31b)],_0x4c94e6[_0x161408(0x2c4)]={..._0x4c94e6['headers'],'Sec-WebSocket-Version':_0x4c94e6[_0x161408(0x337)],'Sec-WebSocket-Key':_0x3419e6,'Connection':'Upgrade','Upgrade':'websocket'},_0x4c94e6[_0x161408(0x213)]=_0x298219[_0x161408(0x317)]+_0x298219[_0x161408(0x30c)],_0x4c94e6[_0x161408(0x256)]=_0x4c94e6[_0x161408(0x367)],_0x4c94e6[_0x161408(0x255)]&&(_0x9b5113=new _0x3c19ff(_0x4c94e6['perMessageDeflate']!==!0x0?_0x4c94e6[_0x161408(0x255)]:{},!0x1,_0x4c94e6[_0x161408(0x1b3)]),_0x4c94e6[_0x161408(0x2c4)][_0x161408(0x1be)]=_0x2acbff({[_0x3c19ff[_0x161408(0x212)]]:_0x9b5113[_0x161408(0x346)]()})),_0x24b8e8[_0x161408(0x240)]){for(const _0x4c6249 of _0x24b8e8){if(typeof _0x4c6249!=_0x161408(0x22b)||!_0x5c8bbd['test'](_0x4c6249)||_0x13cfa6['has'](_0x4c6249))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x13cfa6[_0x161408(0x343)](_0x4c6249);}_0x4c94e6[_0x161408(0x2c4)][_0x161408(0x220)]=_0x24b8e8['join'](',');}if(_0x4c94e6[_0x161408(0x2da)]&&(_0x4c94e6[_0x161408(0x337)]<0xd?_0x4c94e6[_0x161408(0x2c4)][_0x161408(0x207)]=_0x4c94e6[_0x161408(0x2da)]:_0x4c94e6[_0x161408(0x2c4)]['Origin']=_0x4c94e6[_0x161408(0x2da)]),(_0x298219['username']||_0x298219['password'])&&(_0x4c94e6[_0x161408(0x2a5)]=_0x298219[_0x161408(0x22e)]+':'+_0x298219[_0x161408(0x320)]),_0x511ce3){const _0x101c70=_0x4c94e6[_0x161408(0x213)][_0x161408(0x1f1)](':');_0x4c94e6[_0x161408(0x280)]=_0x101c70[0x0],_0x4c94e6[_0x161408(0x213)]=_0x101c70[0x1];}let _0x20aa1b;if(_0x4c94e6['followRedirects']){if(_0x209ee5[_0x161408(0x1d3)]===0x0){_0x209ee5['_originalIpc']=_0x511ce3,_0x209ee5[_0x161408(0x292)]=_0x13327f,_0x209ee5[_0x161408(0x1ff)]=_0x511ce3?_0x4c94e6['socketPath']:_0x298219[_0x161408(0x2c3)];const _0x29f510=_0x1b84cc&&_0x1b84cc[_0x161408(0x2c4)];if(_0x1b84cc={..._0x1b84cc,'headers':{}},_0x29f510){for(const [_0x325551,_0x3994db]of Object[_0x161408(0x26d)](_0x29f510))_0x1b84cc['headers'][_0x325551[_0x161408(0x1c6)]()]=_0x3994db;}}else{if(_0x209ee5[_0x161408(0x29d)](_0x161408(0x333))===0x0){const _0x50d9ad=_0x511ce3?_0x209ee5['_originalIpc']?_0x4c94e6['socketPath']===_0x209ee5['_originalHostOrSocketPath']:!0x1:_0x209ee5['_originalIpc']?!0x1:_0x298219[_0x161408(0x2c3)]===_0x209ee5['_originalHostOrSocketPath'];(!_0x50d9ad||_0x209ee5[_0x161408(0x292)]&&!_0x13327f)&&(delete _0x4c94e6[_0x161408(0x2c4)][_0x161408(0x302)],delete _0x4c94e6[_0x161408(0x2c4)][_0x161408(0x2bf)],_0x50d9ad||delete _0x4c94e6[_0x161408(0x2c4)]['host'],_0x4c94e6[_0x161408(0x2a5)]=void 0x0);}}_0x4c94e6[_0x161408(0x2a5)]&&!_0x1b84cc['headers'][_0x161408(0x302)]&&(_0x1b84cc[_0x161408(0x2c4)][_0x161408(0x302)]=_0x161408(0x24d)+Buffer[_0x161408(0x34a)](_0x4c94e6[_0x161408(0x2a5)])['toString'](_0x161408(0x22a))),_0x20aa1b=_0x209ee5[_0x161408(0x2d1)]=_0x7c48f2(_0x4c94e6),_0x209ee5[_0x161408(0x1d3)]&&_0x209ee5[_0x161408(0x205)](_0x161408(0x333),_0x209ee5['url'],_0x20aa1b);}else _0x20aa1b=_0x209ee5[_0x161408(0x2d1)]=_0x7c48f2(_0x4c94e6);_0x4c94e6['timeout']&&_0x20aa1b['on']('timeout',()=>{const _0x42af54=_0x161408;_0x1bcfba(_0x209ee5,_0x20aa1b,_0x42af54(0x314));}),_0x20aa1b['on'](_0x161408(0x219),_0x37257b=>{_0x20aa1b===null||_0x20aa1b[_0x222974]||(_0x20aa1b=_0x209ee5['_req']=null,_0x361526(_0x209ee5,_0x37257b));}),_0x20aa1b['on'](_0x161408(0x28b),_0x196b65=>{const _0x5662a0=_0x161408,_0x35d82a=_0x196b65[_0x5662a0(0x2c4)][_0x5662a0(0x30d)],_0x3f7be3=_0x196b65[_0x5662a0(0x2a3)];if(_0x35d82a&&_0x4c94e6[_0x5662a0(0x27a)]&&_0x3f7be3>=0x12c&&_0x3f7be3<0x190){if(++_0x209ee5[_0x5662a0(0x1d3)]>_0x4c94e6[_0x5662a0(0x1c1)]){_0x1bcfba(_0x209ee5,_0x20aa1b,_0x5662a0(0x1c8));return;}_0x20aa1b[_0x5662a0(0x1d5)]();let _0x1838f6;try{_0x1838f6=new _0x1dd613(_0x35d82a,_0x39fe9a);}catch{const _0x1e9a26=new SyntaxError(_0x5662a0(0x24e)+_0x35d82a);_0x361526(_0x209ee5,_0x1e9a26);return;}_0x1bd26c(_0x209ee5,_0x1838f6,_0x24b8e8,_0x1b84cc);}else _0x209ee5[_0x5662a0(0x205)](_0x5662a0(0x1b2),_0x20aa1b,_0x196b65)||_0x1bcfba(_0x209ee5,_0x20aa1b,_0x5662a0(0x1ca)+_0x196b65[_0x5662a0(0x2a3)]);}),_0x20aa1b['on'](_0x161408(0x1f6),(_0x2ebb15,_0xdba3d,_0x2ffa60)=>{const _0x587b51=_0x161408;if(_0x209ee5[_0x587b51(0x205)](_0x587b51(0x1f6),_0x2ebb15),_0x209ee5[_0x587b51(0x243)]!==_0x2de10c['CONNECTING'])return;_0x20aa1b=_0x209ee5[_0x587b51(0x2d1)]=null;const _0x19b890=_0x2ebb15['headers']['upgrade'];if(_0x19b890===void 0x0||_0x19b890[_0x587b51(0x1c6)]()!==_0x587b51(0x30b)){_0x1bcfba(_0x209ee5,_0xdba3d,_0x587b51(0x1d2));return;}const _0x4fe987=_0x75b2cc('sha1')['update'](_0x3419e6+_0x55ceb1)[_0x587b51(0x211)](_0x587b51(0x22a));if(_0x2ebb15[_0x587b51(0x2c4)][_0x587b51(0x1fc)]!==_0x4fe987){_0x1bcfba(_0x209ee5,_0xdba3d,_0x587b51(0x2df));return;}const _0x5964c8=_0x2ebb15[_0x587b51(0x2c4)][_0x587b51(0x32f)];let _0x3b4bcb;if(_0x5964c8!==void 0x0?_0x13cfa6['size']?_0x13cfa6['has'](_0x5964c8)||(_0x3b4bcb=_0x587b51(0x1dc)):_0x3b4bcb=_0x587b51(0x32c):_0x13cfa6[_0x587b51(0x2c9)]&&(_0x3b4bcb=_0x587b51(0x225)),_0x3b4bcb){_0x1bcfba(_0x209ee5,_0xdba3d,_0x3b4bcb);return;}_0x5964c8&&(_0x209ee5['_protocol']=_0x5964c8);const _0x4252bc=_0x2ebb15[_0x587b51(0x2c4)][_0x587b51(0x272)];if(_0x4252bc!==void 0x0){if(!_0x9b5113){_0x1bcfba(_0x209ee5,_0xdba3d,_0x587b51(0x336));return;}let _0x486680;try{_0x486680=_0x2e23fb(_0x4252bc);}catch{_0x1bcfba(_0x209ee5,_0xdba3d,_0x587b51(0x2ac));return;}const _0x16c7d8=Object[_0x587b51(0x1ed)](_0x486680);if(_0x16c7d8[_0x587b51(0x240)]!==0x1||_0x16c7d8[0x0]!==_0x3c19ff['extensionName']){_0x1bcfba(_0x209ee5,_0xdba3d,_0x587b51(0x2e3));return;}try{_0x9b5113[_0x587b51(0x376)](_0x486680[_0x3c19ff[_0x587b51(0x212)]]);}catch{_0x1bcfba(_0x209ee5,_0xdba3d,_0x587b51(0x2ac));return;}_0x209ee5[_0x587b51(0x245)][_0x3c19ff[_0x587b51(0x212)]]=_0x9b5113;}_0x209ee5[_0x587b51(0x235)](_0xdba3d,_0x2ffa60,{'allowSynchronousEvents':_0x4c94e6[_0x587b51(0x1e2)],'generateMask':_0x4c94e6['generateMask'],'maxPayload':_0x4c94e6['maxPayload'],'skipUTF8Validation':_0x4c94e6[_0x587b51(0x231)]});}),_0x4c94e6['finishRequest']?_0x4c94e6[_0x161408(0x299)](_0x20aa1b,_0x209ee5):_0x20aa1b[_0x161408(0x263)]();}function _0x361526(_0x25737b,_0x2918cc){const _0x27177b=_0x267e0c;_0x25737b[_0x27177b(0x1c4)]=_0x2de10c[_0x27177b(0x20b)],_0x25737b[_0x27177b(0x1f0)]=!0x0,_0x25737b[_0x27177b(0x205)](_0x27177b(0x219),_0x2918cc),_0x25737b['emitClose']();}function _0xb69056(_0x2b32c4){const _0x44786d=_0x267e0c;return _0x2b32c4['path']=_0x2b32c4[_0x44786d(0x280)],_0x197962[_0x44786d(0x266)](_0x2b32c4);}function _0x4a4800(_0x1caee4){const _0x5de0a7=_0x267e0c;return _0x1caee4['path']=void 0x0,!_0x1caee4[_0x5de0a7(0x33b)]&&_0x1caee4[_0x5de0a7(0x33b)]!==''&&(_0x1caee4[_0x5de0a7(0x33b)]=_0x197962['isIP'](_0x1caee4[_0x5de0a7(0x2c3)])?'':_0x1caee4[_0x5de0a7(0x2c3)]),_0x2d7d21[_0x5de0a7(0x266)](_0x1caee4);}function _0x1bcfba(_0x630195,_0x45ae7d,_0x4da84a){const _0x4edffc=_0x267e0c;_0x630195[_0x4edffc(0x1c4)]=_0x2de10c['CLOSING'];const _0x57c10=new Error(_0x4da84a);Error[_0x4edffc(0x278)](_0x57c10,_0x1bcfba),_0x45ae7d[_0x4edffc(0x279)]?(_0x45ae7d[_0x222974]=!0x0,_0x45ae7d['abort'](),_0x45ae7d[_0x4edffc(0x2ee)]&&!_0x45ae7d[_0x4edffc(0x2ee)][_0x4edffc(0x2e1)]&&_0x45ae7d[_0x4edffc(0x2ee)][_0x4edffc(0x258)](),process['nextTick'](_0x361526,_0x630195,_0x57c10)):(_0x45ae7d['destroy'](_0x57c10),_0x45ae7d[_0x4edffc(0x262)]('error',_0x630195['emit'][_0x4edffc(0x31c)](_0x630195,_0x4edffc(0x219))),_0x45ae7d[_0x4edffc(0x262)]('close',_0x630195[_0x4edffc(0x1fa)][_0x4edffc(0x31c)](_0x630195)));}function _0x38f984(_0x995e7c,_0x3611b5,_0x2fe991){const _0x38a8a5=_0x267e0c;if(_0x3611b5){const _0x3ace2e=_0x4f50bf(_0x3611b5)?_0x3611b5[_0x38a8a5(0x2c9)]:_0x3537f5(_0x3611b5)[_0x38a8a5(0x240)];_0x995e7c[_0x38a8a5(0x23b)]?_0x995e7c['_sender'][_0x38a8a5(0x271)]+=_0x3ace2e:_0x995e7c[_0x38a8a5(0x1f3)]+=_0x3ace2e;}if(_0x2fe991){const _0x4d5572=new Error(_0x38a8a5(0x32b)+_0x995e7c[_0x38a8a5(0x243)]+'\x20('+_0x253413[_0x995e7c[_0x38a8a5(0x243)]]+')');process['nextTick'](_0x2fe991,_0x4d5572);}}function _0x3742c3(_0x201765,_0x1e8cd8){const _0x3f3b5c=_0x267e0c,_0x45308f=this[_0x7a20b9];_0x45308f['_closeFrameReceived']=!0x0,_0x45308f[_0x3f3b5c(0x345)]=_0x1e8cd8,_0x45308f[_0x3f3b5c(0x2cd)]=_0x201765,_0x45308f[_0x3f3b5c(0x23b)][_0x7a20b9]!==void 0x0&&(_0x45308f[_0x3f3b5c(0x23b)]['removeListener'](_0x3f3b5c(0x26c),_0x39d47a),process['nextTick'](_0x5a38e3,_0x45308f[_0x3f3b5c(0x23b)]),_0x201765===0x3ed?_0x45308f[_0x3f3b5c(0x1dd)]():_0x45308f[_0x3f3b5c(0x1dd)](_0x201765,_0x1e8cd8));}function _0x460b3b(){const _0x2667c1=_0x267e0c,_0x4b6b47=this[_0x7a20b9];_0x4b6b47[_0x2667c1(0x35f)]||_0x4b6b47[_0x2667c1(0x23b)][_0x2667c1(0x32a)]();}function _0x127d8a(_0x108abc){const _0x4cc2f3=_0x267e0c,_0x5eb9a7=this[_0x7a20b9];_0x5eb9a7[_0x4cc2f3(0x23b)][_0x7a20b9]!==void 0x0&&(_0x5eb9a7[_0x4cc2f3(0x23b)][_0x4cc2f3(0x374)](_0x4cc2f3(0x26c),_0x39d47a),process['nextTick'](_0x5a38e3,_0x5eb9a7['_socket']),_0x5eb9a7['close'](_0x108abc[_0x2c8232])),_0x5eb9a7['_errorEmitted']||(_0x5eb9a7[_0x4cc2f3(0x1f0)]=!0x0,_0x5eb9a7['emit'](_0x4cc2f3(0x219),_0x108abc));}function _0x27ebd9(){const _0x2d1fd5=_0x267e0c;this[_0x7a20b9][_0x2d1fd5(0x1fa)]();}function _0x3f10a6(_0x455285,_0x213c88){const _0x19951e=_0x267e0c;this[_0x7a20b9][_0x19951e(0x205)](_0x19951e(0x1b9),_0x455285,_0x213c88);}function _0xa036cb(_0x50619b){const _0x22f212=_0x267e0c,_0x3ffff0=this[_0x7a20b9];_0x3ffff0['_autoPong']&&_0x3ffff0[_0x22f212(0x350)](_0x50619b,!this[_0x22f212(0x358)],_0x22399d),_0x3ffff0['emit'](_0x22f212(0x277),_0x50619b);}function _0x5e5000(_0x1a7682){const _0x4589e7=_0x267e0c;this[_0x7a20b9][_0x4589e7(0x205)](_0x4589e7(0x350),_0x1a7682);}function _0x5a38e3(_0x4144eb){const _0x4d60cc=_0x267e0c;_0x4144eb[_0x4d60cc(0x32a)]();}function _0x112cbd(_0x2addc3){const _0x23003d=_0x267e0c,_0x4f808f=this[_0x7a20b9];_0x4f808f[_0x23003d(0x243)]!==_0x2de10c[_0x23003d(0x1e0)]&&(_0x4f808f[_0x23003d(0x243)]===_0x2de10c['OPEN']&&(_0x4f808f[_0x23003d(0x1c4)]=_0x2de10c[_0x23003d(0x20b)],_0x4f10d9(_0x4f808f)),this[_0x23003d(0x23b)][_0x23003d(0x263)](),_0x4f808f[_0x23003d(0x1f0)]||(_0x4f808f[_0x23003d(0x1f0)]=!0x0,_0x4f808f[_0x23003d(0x205)]('error',_0x2addc3)));}function _0x4f10d9(_0x45796b){const _0xb51cd2=_0x267e0c;_0x45796b[_0xb51cd2(0x1d1)]=setTimeout(_0x45796b[_0xb51cd2(0x23b)][_0xb51cd2(0x258)]['bind'](_0x45796b['_socket']),_0x40c5f3);}function _0x3ccb53(){const _0x4237c0=_0x267e0c,_0x1270de=this[_0x7a20b9];this[_0x4237c0(0x374)]('close',_0x3ccb53),this[_0x4237c0(0x374)]('data',_0x39d47a),this[_0x4237c0(0x374)](_0x4237c0(0x263),_0x2bb55a),_0x1270de[_0x4237c0(0x1c4)]=_0x2de10c['CLOSING'];let _0x587039;!this[_0x4237c0(0x269)]['endEmitted']&&!_0x1270de[_0x4237c0(0x21b)]&&!_0x1270de[_0x4237c0(0x29f)]['_writableState']['errorEmitted']&&(_0x587039=_0x1270de[_0x4237c0(0x23b)]['read']())!==null&&_0x1270de[_0x4237c0(0x29f)][_0x4237c0(0x36b)](_0x587039),_0x1270de[_0x4237c0(0x29f)][_0x4237c0(0x263)](),this[_0x7a20b9]=void 0x0,clearTimeout(_0x1270de['_closeTimer']),_0x1270de[_0x4237c0(0x29f)][_0x4237c0(0x28e)]['finished']||_0x1270de[_0x4237c0(0x29f)][_0x4237c0(0x28e)][_0x4237c0(0x315)]?_0x1270de[_0x4237c0(0x1fa)]():(_0x1270de['_receiver']['on'](_0x4237c0(0x219),_0x27ebd9),_0x1270de[_0x4237c0(0x29f)]['on'](_0x4237c0(0x2d3),_0x27ebd9));}function _0x39d47a(_0x112014){const _0x39b873=_0x267e0c;this[_0x7a20b9][_0x39b873(0x29f)]['write'](_0x112014)||this[_0x39b873(0x2dc)]();}function _0x2bb55a(){const _0x5e1861=_0x267e0c,_0x41b87b=this[_0x7a20b9];_0x41b87b[_0x5e1861(0x1c4)]=_0x2de10c[_0x5e1861(0x20b)],_0x41b87b['_receiver'][_0x5e1861(0x263)](),this[_0x5e1861(0x263)]();}function _0x4bf30f(){const _0xc1ec22=_0x267e0c,_0x794bae=this[_0x7a20b9];this[_0xc1ec22(0x374)](_0xc1ec22(0x219),_0x4bf30f),this['on']('error',_0x22399d),_0x794bae&&(_0x794bae[_0xc1ec22(0x1c4)]=_0x2de10c['CLOSING'],this[_0xc1ec22(0x258)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x36126c}=oe;function _0x4905ea(_0x5991c8){const _0x5cdb95=_0x80da;_0x5991c8[_0x5cdb95(0x205)]('close');}function _0x2cb747(){const _0x505f15=_0x80da;!this[_0x505f15(0x2e1)]&&this['_writableState'][_0x505f15(0x29c)]&&this[_0x505f15(0x258)]();}function _0x25ed41(_0x385178){const _0x13e763=_0x80da;this[_0x13e763(0x374)](_0x13e763(0x219),_0x25ed41),this[_0x13e763(0x258)](),this[_0x13e763(0x29d)](_0x13e763(0x219))===0x0&&this[_0x13e763(0x205)]('error',_0x385178);}function _0xec9527(_0x3e93cb,_0x479f49){const _0x492487=_0x80da;let _0x3ff287=!0x0;const _0x3672c8=new _0x36126c({..._0x479f49,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x3e93cb['on'](_0x492487(0x1b9),function(_0x33b790,_0x1500da){const _0x34ea1b=_0x492487,_0x37b57f=!_0x1500da&&_0x3672c8[_0x34ea1b(0x269)][_0x34ea1b(0x2ed)]?_0x33b790[_0x34ea1b(0x33f)]():_0x33b790;_0x3672c8[_0x34ea1b(0x293)](_0x37b57f)||_0x3e93cb[_0x34ea1b(0x2dc)]();}),_0x3e93cb[_0x492487(0x262)](_0x492487(0x219),function(_0x6f69e0){const _0x149854=_0x492487;_0x3672c8[_0x149854(0x2e1)]||(_0x3ff287=!0x1,_0x3672c8[_0x149854(0x258)](_0x6f69e0));}),_0x3e93cb[_0x492487(0x262)]('close',function(){const _0x232dab=_0x492487;_0x3672c8[_0x232dab(0x2e1)]||_0x3672c8[_0x232dab(0x293)](null);}),_0x3672c8[_0x492487(0x282)]=function(_0x10b626,_0x4fc4b4){const _0x164d94=_0x492487;if(_0x3e93cb[_0x164d94(0x243)]===_0x3e93cb[_0x164d94(0x1e0)]){_0x4fc4b4(_0x10b626),process[_0x164d94(0x2cb)](_0x4905ea,_0x3672c8);return;}let _0x258601=!0x1;_0x3e93cb[_0x164d94(0x262)](_0x164d94(0x219),function(_0x454acc){_0x258601=!0x0,_0x4fc4b4(_0x454acc);}),_0x3e93cb[_0x164d94(0x262)](_0x164d94(0x1dd),function(){const _0x2310e8=_0x164d94;_0x258601||_0x4fc4b4(_0x10b626),process[_0x2310e8(0x2cb)](_0x4905ea,_0x3672c8);}),_0x3ff287&&_0x3e93cb[_0x164d94(0x36f)]();},_0x3672c8[_0x492487(0x203)]=function(_0x4d95fc){const _0x88d767=_0x492487;if(_0x3e93cb[_0x88d767(0x243)]===_0x3e93cb[_0x88d767(0x2fd)]){_0x3e93cb[_0x88d767(0x262)](_0x88d767(0x309),function(){const _0x1c647a=_0x88d767;_0x3672c8[_0x1c647a(0x203)](_0x4d95fc);});return;}_0x3e93cb['_socket']!==null&&(_0x3e93cb[_0x88d767(0x23b)][_0x88d767(0x28e)][_0x88d767(0x29c)]?(_0x4d95fc(),_0x3672c8[_0x88d767(0x269)][_0x88d767(0x2e9)]&&_0x3672c8['destroy']()):(_0x3e93cb['_socket'][_0x88d767(0x262)]('finish',function(){_0x4d95fc();}),_0x3e93cb[_0x88d767(0x1dd)]()));},_0x3672c8[_0x492487(0x2f7)]=function(){const _0x37c713=_0x492487;_0x3e93cb['isPaused']&&_0x3e93cb[_0x37c713(0x32a)]();},_0x3672c8['_write']=function(_0x5dca81,_0x4b1c2c,_0x3af66b){const _0x5d283c=_0x492487;if(_0x3e93cb['readyState']===_0x3e93cb['CONNECTING']){_0x3e93cb[_0x5d283c(0x262)](_0x5d283c(0x309),function(){const _0x5b7799=_0x5d283c;_0x3672c8[_0x5b7799(0x273)](_0x5dca81,_0x4b1c2c,_0x3af66b);});return;}_0x3e93cb[_0x5d283c(0x2fe)](_0x5dca81,_0x3af66b);},_0x3672c8['on']('end',_0x2cb747),_0x3672c8['on'](_0x492487(0x219),_0x25ed41),_0x3672c8;}return Oe=_0xec9527,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x21356c}=ae();function _0xe80862(_0x204837){const _0x795545=_0x80da,_0x239cbf=new Set();let _0x465fbf=-0x1,_0x13466f=-0x1,_0x168766=0x0;for(_0x168766;_0x168766<_0x204837['length'];_0x168766++){const _0x52712f=_0x204837['charCodeAt'](_0x168766);if(_0x13466f===-0x1&&_0x21356c[_0x52712f]===0x1)_0x465fbf===-0x1&&(_0x465fbf=_0x168766);else{if(_0x168766!==0x0&&(_0x52712f===0x20||_0x52712f===0x9))_0x13466f===-0x1&&_0x465fbf!==-0x1&&(_0x13466f=_0x168766);else{if(_0x52712f===0x2c){if(_0x465fbf===-0x1)throw new SyntaxError(_0x795545(0x373)+_0x168766);_0x13466f===-0x1&&(_0x13466f=_0x168766);const _0x302301=_0x204837[_0x795545(0x2ad)](_0x465fbf,_0x13466f);if(_0x239cbf[_0x795545(0x2e0)](_0x302301))throw new SyntaxError(_0x795545(0x1b5)+_0x302301+_0x795545(0x2ff));_0x239cbf['add'](_0x302301),_0x465fbf=_0x13466f=-0x1;}else throw new SyntaxError(_0x795545(0x373)+_0x168766);}}}if(_0x465fbf===-0x1||_0x13466f!==-0x1)throw new SyntaxError(_0x795545(0x2e5));const _0x38015a=_0x204837['slice'](_0x465fbf,_0x168766);if(_0x239cbf['has'](_0x38015a))throw new SyntaxError(_0x795545(0x1b5)+_0x38015a+_0x795545(0x2ff));return _0x239cbf[_0x795545(0x343)](_0x38015a),_0x239cbf;}return Ce={'parse':_0xe80862},Ce;}var Te,rt;function _0x80da(_0x5274e3,_0x39a856){const _0x458ffc=_0x458f();return _0x80da=function(_0x80dacf,_0x4dd4e7){_0x80dacf=_0x80dacf-0x1b0;let _0x55f643=_0x458ffc[_0x80dacf];return _0x55f643;},_0x80da(_0x5274e3,_0x39a856);}function Ft(){const _0x57a95a=_0x49d410;if(rt)return Te;rt=0x1;const _0x52fbc2=nt,_0x591d49=ot,{Duplex:_0x19f840}=oe,{createHash:_0x3d5361}=Le,_0x586dc9=ct(),_0x9dd0d4=he(),_0x65bea0=At(),_0x2e71ca=Pe(),{GUID:_0x341fe8,kWebSocket:_0x48c84c}=H(),_0x2642e3=/^[+/0-9A-Za-z]{22}==$/,_0x2ac52d=0x0,_0x279b45=0x1,_0x399649=0x2;class _0x4e33ae extends _0x52fbc2{constructor(_0x5877f4,_0x2795ad){const _0x1e6303=_0x80da;if(super(),_0x5877f4={'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':_0x2e71ca,..._0x5877f4},_0x5877f4[_0x1e6303(0x2d2)]==null&&!_0x5877f4[_0x1e6303(0x35d)]&&!_0x5877f4[_0x1e6303(0x229)]||_0x5877f4['port']!=null&&(_0x5877f4[_0x1e6303(0x35d)]||_0x5877f4['noServer'])||_0x5877f4[_0x1e6303(0x35d)]&&_0x5877f4[_0x1e6303(0x229)])throw new TypeError(_0x1e6303(0x2c8));if(_0x5877f4[_0x1e6303(0x2d2)]!=null?(this[_0x1e6303(0x24c)]=_0x591d49[_0x1e6303(0x265)]((_0x5aa1f2,_0x1e4a52)=>{const _0x2a4eeb=_0x1e6303,_0x53485b=_0x591d49[_0x2a4eeb(0x232)][0x1aa];_0x1e4a52[_0x2a4eeb(0x36a)](0x1aa,{'Content-Length':_0x53485b[_0x2a4eeb(0x240)],'Content-Type':'text/plain'}),_0x1e4a52['end'](_0x53485b);}),this['_server'][_0x1e6303(0x27c)](_0x5877f4[_0x1e6303(0x2d2)],_0x5877f4[_0x1e6303(0x2c3)],_0x5877f4[_0x1e6303(0x310)],_0x2795ad)):_0x5877f4[_0x1e6303(0x35d)]&&(this['_server']=_0x5877f4['server']),this[_0x1e6303(0x24c)]){const _0x11ac0e=this[_0x1e6303(0x205)]['bind'](this,_0x1e6303(0x338));this[_0x1e6303(0x2cc)]=_0x1dea4b(this[_0x1e6303(0x24c)],{'listening':this['emit'][_0x1e6303(0x31c)](this,_0x1e6303(0x1e4)),'error':this[_0x1e6303(0x205)][_0x1e6303(0x31c)](this,'error'),'upgrade':(_0x2b7351,_0x111786,_0x3c3823)=>{this['handleUpgrade'](_0x2b7351,_0x111786,_0x3c3823,_0x11ac0e);}});}_0x5877f4['perMessageDeflate']===!0x0&&(_0x5877f4['perMessageDeflate']={}),_0x5877f4[_0x1e6303(0x34e)]&&(this[_0x1e6303(0x335)]=new Set(),this[_0x1e6303(0x2c0)]=!0x1),this[_0x1e6303(0x2a7)]=_0x5877f4,this[_0x1e6303(0x26a)]=_0x2ac52d;}['address'](){const _0x561857=_0x80da;if(this['options'][_0x561857(0x229)])throw new Error(_0x561857(0x20d));return this['_server']?this[_0x561857(0x24c)][_0x561857(0x1f9)]():null;}['close'](_0x37c677){const _0x317bf8=_0x80da;if(this['_state']===_0x399649){_0x37c677&&this['once']('close',()=>{const _0x130cc7=_0x80da;_0x37c677(new Error(_0x130cc7(0x357)));}),process[_0x317bf8(0x2cb)](_0x4bfdac,this);return;}if(_0x37c677&&this[_0x317bf8(0x262)](_0x317bf8(0x1dd),_0x37c677),this[_0x317bf8(0x26a)]!==_0x279b45){if(this[_0x317bf8(0x26a)]=_0x279b45,this[_0x317bf8(0x2a7)][_0x317bf8(0x229)]||this[_0x317bf8(0x2a7)][_0x317bf8(0x35d)])this[_0x317bf8(0x24c)]&&(this[_0x317bf8(0x2cc)](),this[_0x317bf8(0x2cc)]=this['_server']=null),this[_0x317bf8(0x335)]?this[_0x317bf8(0x335)][_0x317bf8(0x2c9)]?this['_shouldEmitClose']=!0x0:process[_0x317bf8(0x2cb)](_0x4bfdac,this):process[_0x317bf8(0x2cb)](_0x4bfdac,this);else{const _0x1b0491=this[_0x317bf8(0x24c)];this['_removeListeners'](),this['_removeListeners']=this[_0x317bf8(0x24c)]=null,_0x1b0491[_0x317bf8(0x1dd)](()=>{_0x4bfdac(this);});}}}[_0x57a95a(0x250)](_0x5f4a8a){const _0x1345fe=_0x57a95a;if(this[_0x1345fe(0x2a7)][_0x1345fe(0x213)]){const _0x4e7110=_0x5f4a8a[_0x1345fe(0x23f)]['indexOf']('?');if((_0x4e7110!==-0x1?_0x5f4a8a['url'][_0x1345fe(0x2ad)](0x0,_0x4e7110):_0x5f4a8a[_0x1345fe(0x23f)])!==this['options'][_0x1345fe(0x213)])return!0x1;}return!0x0;}[_0x57a95a(0x324)](_0xc04d22,_0x45b59f,_0x29cc16,_0x34e788){const _0x61734d=_0x57a95a;_0x45b59f['on'](_0x61734d(0x219),_0x53f814);const _0x3cd555=_0xc04d22[_0x61734d(0x2c4)]['sec-websocket-key'],_0xb827d6=_0xc04d22[_0x61734d(0x2c4)][_0x61734d(0x1f6)],_0x18d2da=+_0xc04d22[_0x61734d(0x2c4)][_0x61734d(0x35a)];if(_0xc04d22[_0x61734d(0x32d)]!==_0x61734d(0x1ee)){_0x58f2bf(this,_0xc04d22,_0x45b59f,0x195,_0x61734d(0x347));return;}if(_0xb827d6===void 0x0||_0xb827d6['toLowerCase']()!==_0x61734d(0x30b)){_0x58f2bf(this,_0xc04d22,_0x45b59f,0x190,_0x61734d(0x1d2));return;}if(_0x3cd555===void 0x0||!_0x2642e3['test'](_0x3cd555)){_0x58f2bf(this,_0xc04d22,_0x45b59f,0x190,_0x61734d(0x25c));return;}if(_0x18d2da!==0x8&&_0x18d2da!==0xd){_0x58f2bf(this,_0xc04d22,_0x45b59f,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this['shouldHandle'](_0xc04d22)){_0x4fa8b6(_0x45b59f,0x190);return;}const _0x2223ba=_0xc04d22[_0x61734d(0x2c4)][_0x61734d(0x32f)];let _0x2f0d1b=new Set();if(_0x2223ba!==void 0x0)try{_0x2f0d1b=_0x65bea0[_0x61734d(0x24f)](_0x2223ba);}catch{_0x58f2bf(this,_0xc04d22,_0x45b59f,0x190,_0x61734d(0x364));return;}const _0x1c032e=_0xc04d22[_0x61734d(0x2c4)]['sec-websocket-extensions'],_0x85062e={};if(this['options'][_0x61734d(0x255)]&&_0x1c032e!==void 0x0){const _0x48da19=new _0x9dd0d4(this[_0x61734d(0x2a7)][_0x61734d(0x255)],!0x0,this[_0x61734d(0x2a7)]['maxPayload']);try{const _0x41dad7=_0x586dc9[_0x61734d(0x24f)](_0x1c032e);_0x41dad7[_0x9dd0d4[_0x61734d(0x212)]]&&(_0x48da19['accept'](_0x41dad7[_0x9dd0d4[_0x61734d(0x212)]]),_0x85062e[_0x9dd0d4[_0x61734d(0x212)]]=_0x48da19);}catch{_0x58f2bf(this,_0xc04d22,_0x45b59f,0x190,_0x61734d(0x33e));return;}}if(this[_0x61734d(0x2a7)][_0x61734d(0x1c9)]){const _0x216485={'origin':_0xc04d22[_0x61734d(0x2c4)][''+(_0x18d2da===0x8?_0x61734d(0x2f3):_0x61734d(0x2da))],'secure':!!(_0xc04d22[_0x61734d(0x2ee)]['authorized']||_0xc04d22[_0x61734d(0x2ee)][_0x61734d(0x28f)]),'req':_0xc04d22};if(this[_0x61734d(0x2a7)][_0x61734d(0x1c9)][_0x61734d(0x240)]===0x2){this[_0x61734d(0x2a7)][_0x61734d(0x1c9)](_0x216485,(_0x1ce87a,_0x279f90,_0x41a718,_0x51266f)=>{if(!_0x1ce87a)return _0x4fa8b6(_0x45b59f,_0x279f90||0x191,_0x41a718,_0x51266f);this['completeUpgrade'](_0x85062e,_0x3cd555,_0x2f0d1b,_0xc04d22,_0x45b59f,_0x29cc16,_0x34e788);});return;}if(!this[_0x61734d(0x2a7)][_0x61734d(0x1c9)](_0x216485))return _0x4fa8b6(_0x45b59f,0x191);}this[_0x61734d(0x1f8)](_0x85062e,_0x3cd555,_0x2f0d1b,_0xc04d22,_0x45b59f,_0x29cc16,_0x34e788);}['completeUpgrade'](_0x41f5ab,_0x2efecc,_0x1463a4,_0x17e404,_0x4c1deb,_0x42f85b,_0x3ba32e){const _0x44304e=_0x57a95a;if(!_0x4c1deb[_0x44304e(0x2f9)]||!_0x4c1deb[_0x44304e(0x2ce)])return _0x4c1deb[_0x44304e(0x258)]();if(_0x4c1deb[_0x48c84c])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this['_state']>_0x2ac52d)return _0x4fa8b6(_0x4c1deb,0x1f7);const _0x26a038=[_0x44304e(0x2c5),_0x44304e(0x362),'Connection:\x20Upgrade',_0x44304e(0x2e4)+_0x3d5361(_0x44304e(0x2b0))['update'](_0x2efecc+_0x341fe8)[_0x44304e(0x211)](_0x44304e(0x22a))],_0x1cc2c9=new this[(_0x44304e(0x2a7))][(_0x44304e(0x25a))](null,void 0x0,this['options']);if(_0x1463a4['size']){const _0x281cd6=this[_0x44304e(0x2a7)]['handleProtocols']?this[_0x44304e(0x2a7)][_0x44304e(0x2f8)](_0x1463a4,_0x17e404):_0x1463a4[_0x44304e(0x304)]()[_0x44304e(0x286)]()[_0x44304e(0x25f)];_0x281cd6&&(_0x26a038['push'](_0x44304e(0x330)+_0x281cd6),_0x1cc2c9[_0x44304e(0x2b1)]=_0x281cd6);}if(_0x41f5ab[_0x9dd0d4['extensionName']]){const _0x25de72=_0x41f5ab[_0x9dd0d4[_0x44304e(0x212)]][_0x44304e(0x1b7)],_0x540351=_0x586dc9[_0x44304e(0x1cb)]({[_0x9dd0d4[_0x44304e(0x212)]]:[_0x25de72]});_0x26a038[_0x44304e(0x293)](_0x44304e(0x1e6)+_0x540351),_0x1cc2c9['_extensions']=_0x41f5ab;}this[_0x44304e(0x205)](_0x44304e(0x2c4),_0x26a038,_0x17e404),_0x4c1deb[_0x44304e(0x36b)](_0x26a038[_0x44304e(0x20f)]('\x0d\x0a')['join']('\x0d\x0a')),_0x4c1deb[_0x44304e(0x374)](_0x44304e(0x219),_0x53f814),_0x1cc2c9[_0x44304e(0x235)](_0x4c1deb,_0x42f85b,{'allowSynchronousEvents':this[_0x44304e(0x2a7)][_0x44304e(0x1e2)],'maxPayload':this[_0x44304e(0x2a7)]['maxPayload'],'skipUTF8Validation':this[_0x44304e(0x2a7)][_0x44304e(0x231)]}),this[_0x44304e(0x335)]&&(this[_0x44304e(0x335)][_0x44304e(0x343)](_0x1cc2c9),_0x1cc2c9['on'](_0x44304e(0x1dd),()=>{const _0x540683=_0x44304e;this[_0x540683(0x335)][_0x540683(0x342)](_0x1cc2c9),this[_0x540683(0x2c0)]&&!this[_0x540683(0x335)][_0x540683(0x2c9)]&&process[_0x540683(0x2cb)](_0x4bfdac,this);})),_0x3ba32e(_0x1cc2c9,_0x17e404);}}Te=_0x4e33ae;function _0x1dea4b(_0x3bd49e,_0x222f4e){const _0x332d88=_0x57a95a;for(const _0x398ae3 of Object[_0x332d88(0x1ed)](_0x222f4e))_0x3bd49e['on'](_0x398ae3,_0x222f4e[_0x398ae3]);return function(){const _0x5ccb9f=_0x332d88;for(const _0x348d86 of Object['keys'](_0x222f4e))_0x3bd49e[_0x5ccb9f(0x374)](_0x348d86,_0x222f4e[_0x348d86]);};}function _0x4bfdac(_0x58f394){const _0xc1ebaa=_0x57a95a;_0x58f394[_0xc1ebaa(0x26a)]=_0x399649,_0x58f394[_0xc1ebaa(0x205)]('close');}function _0x53f814(){const _0x562543=_0x57a95a;this[_0x562543(0x258)]();}function _0x4fa8b6(_0x39e630,_0x3a58b0,_0x28c795,_0x15026c){const _0x2083c4=_0x57a95a;_0x28c795=_0x28c795||_0x591d49[_0x2083c4(0x232)][_0x3a58b0],_0x15026c={'Connection':_0x2083c4(0x1dd),'Content-Type':_0x2083c4(0x1ce),'Content-Length':Buffer[_0x2083c4(0x1e1)](_0x28c795),..._0x15026c},_0x39e630[_0x2083c4(0x262)](_0x2083c4(0x2d3),_0x39e630[_0x2083c4(0x258)]),_0x39e630[_0x2083c4(0x263)]('HTTP/1.1\x20'+_0x3a58b0+'\x20'+_0x591d49['STATUS_CODES'][_0x3a58b0]+'\x0d\x0a'+Object[_0x2083c4(0x1ed)](_0x15026c)[_0x2083c4(0x35c)](_0x53b2a7=>_0x53b2a7+':\x20'+_0x15026c[_0x53b2a7])[_0x2083c4(0x297)]('\x0d\x0a')+_0x2083c4(0x311)+_0x28c795);}function _0x58f2bf(_0x1c26ef,_0x3600e4,_0x3469ef,_0x48fc00,_0x4a4031){const _0x3a5b08=_0x57a95a;if(_0x1c26ef[_0x3a5b08(0x29d)](_0x3a5b08(0x2b2))){const _0x20aa47=new Error(_0x4a4031);Error[_0x3a5b08(0x278)](_0x20aa47,_0x58f2bf),_0x1c26ef[_0x3a5b08(0x205)]('wsClientError',_0x20aa47,_0x3469ef,_0x3600e4);}else _0x4fa8b6(_0x3469ef,_0x48fc00,_0x4a4031);}return Te;}Ft();var jt=Object[_0x49d410(0x2ec)],Wt=(_0x4d3e05,_0x358776,_0x3b95d6,_0x941ca4)=>{for(var _0x4cdb05=_0x941ca4>0x1?void 0x0:_0x941ca4?jt(_0x358776,_0x3b95d6):_0x358776,_0x529e37=_0x4d3e05['length']-0x1,_0x301c29;_0x529e37>=0x0;_0x529e37--)(_0x301c29=_0x4d3e05[_0x529e37])&&(_0x4cdb05=_0x301c29(_0x4cdb05)||_0x4cdb05);return _0x4cdb05;},qt=(_0x2e39ed,_0x4f0b03)=>(_0x27b564,_0x5451b3)=>_0x4f0b03(_0x27b564,_0x5451b3,_0x2e39ed);let ke=class extends A[_0x49d410(0x2a1)]{constructor(_0x538c82){const _0x38c802=_0x49d410;super(),this[_0x38c802(0x2bc)]=_0x538c82;}[_0x49d410(0x1f4)](_0x235740){const _0x2e897a=_0x49d410;var _0x1d6138;const _0x388b00=(_0x1d6138=this['_configService'][_0x2e897a(0x368)](fe))==null?void 0x0:_0x1d6138[_0x2e897a(0x316)];try{const _0xb74ead=new $t(_0x235740,{'headers':{..._0x388b00}}),_0x49fc90=new A[(_0x2e897a(0x313))]();return{'URL':_0x235740,'close':(_0x4b335f,_0x4e5701)=>{const _0x5ed1eb=_0x2e897a;_0xb74ead[_0x5ed1eb(0x1dd)](_0x4b335f,_0x4e5701),_0x49fc90['dispose']();},'send':_0xe038b9=>{_0xb74ead['send'](_0xe038b9);},'open$':new V[(_0x2e897a(0x20e))](_0x1b14b9=>{const _0x5ad052=_0x2e897a,_0x19ed7a=_0x2cbe69=>_0x1b14b9[_0x5ad052(0x286)](_0x2cbe69);_0xb74ead['addEventListener'](_0x5ad052(0x309),_0x19ed7a),_0x49fc90[_0x5ad052(0x343)](A[_0x5ad052(0x351)](()=>_0xb74ead['removeEventListener'](_0x5ad052(0x309),_0x19ed7a)));})[_0x2e897a(0x30f)](V[_0x2e897a(0x301)]()),'close$':new V[(_0x2e897a(0x20e))](_0x3e052b=>{const _0xf4baf1=_0x2e897a,_0x1666de=_0x9604d0=>_0x3e052b[_0xf4baf1(0x286)](_0x9604d0);_0xb74ead[_0xf4baf1(0x2cf)](_0xf4baf1(0x1dd),_0x1666de),_0x49fc90[_0xf4baf1(0x343)](A[_0xf4baf1(0x351)](()=>_0xb74ead[_0xf4baf1(0x300)](_0xf4baf1(0x1dd),_0x1666de)));})[_0x2e897a(0x30f)](V[_0x2e897a(0x301)]()),'error$':new V[(_0x2e897a(0x20e))](_0x4e1aee=>{const _0x29836b=_0x2e897a,_0x3de8ee=_0x401d71=>_0x4e1aee['next'](_0x401d71);_0xb74ead[_0x29836b(0x2cf)](_0x29836b(0x219),_0x3de8ee),_0x49fc90['add'](A[_0x29836b(0x351)](()=>_0xb74ead[_0x29836b(0x300)](_0x29836b(0x219),_0x3de8ee)));})[_0x2e897a(0x30f)](V[_0x2e897a(0x301)]()),'message$':new V[(_0x2e897a(0x20e))](_0x22b118=>{const _0x52718c=_0x2e897a,_0x5f3028=_0x4a3ea7=>_0x22b118[_0x52718c(0x286)](_0x4a3ea7);_0xb74ead[_0x52718c(0x2cf)](_0x52718c(0x1b9),_0x5f3028),_0x49fc90[_0x52718c(0x343)](A['toDisposable'](()=>_0xb74ead['removeEventListener'](_0x52718c(0x1b9),_0x5f3028)));})[_0x2e897a(0x30f)](V['share']())};}catch(_0x3311bf){return console[_0x2e897a(0x219)](_0x3311bf),null;}}};ke=Wt([qt(0x0,A[_0x49d410(0x2f0)])],ke);var Gt=Object[_0x49d410(0x35e)],Vt=Object[_0x49d410(0x2ec)],Ht=(_0x514bfe,_0x5d7938,_0x2341a0)=>_0x5d7938 in _0x514bfe?Gt(_0x514bfe,_0x5d7938,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2341a0}):_0x514bfe[_0x5d7938]=_0x2341a0,zt=(_0x12aaad,_0x5afa99,_0x1f0589,_0x35cf6c)=>{const _0x5df05e=_0x49d410;for(var _0x4be5f7=_0x35cf6c>0x1?void 0x0:_0x35cf6c?Vt(_0x5afa99,_0x1f0589):_0x5afa99,_0x54ef1d=_0x12aaad[_0x5df05e(0x240)]-0x1,_0xa822cb;_0x54ef1d>=0x0;_0x54ef1d--)(_0xa822cb=_0x12aaad[_0x54ef1d])&&(_0x4be5f7=_0xa822cb(_0x4be5f7)||_0x4be5f7);return _0x4be5f7;},Ne=(_0x864fd,_0x39ea56)=>(_0x549ea3,_0x4559f5)=>_0x39ea56(_0x549ea3,_0x4559f5,_0x864fd),Yt=(_0x4f6d14,_0x3fe87f,_0x5f16b2)=>Ht(_0x4f6d14,_0x3fe87f+'',_0x5f16b2);exports['UniverCollaborationClientNodePlugin']=class extends A[_0x49d410(0x1c7)]{constructor(_0x454429=Ct,_0x681a23,_0x4fa593,_0x35fb41){const _0x1d3a46=_0x49d410;_0x454429[_0x1d3a46(0x316)]||_0x681a23[_0x1d3a46(0x31d)](_0x1d3a46(0x34b)),super(),this[_0x1d3a46(0x2bc)]=_0x4fa593,this[_0x1d3a46(0x2a9)]=_0x35fb41,this[_0x1d3a46(0x2bc)][_0x1d3a46(0x319)](fe,_0x454429);}['onStarting'](){this['_registerDependencies']();}[_0x49d410(0x1c5)](){const _0x247462=_0x49d410;A['registerDependencies'](this[_0x247462(0x2a9)],[[it['ISocketService'],{'useClass':ke}]]);}},Yt(exports['UniverCollaborationClientNodePlugin'],'pluginName',_0x49d410(0x2b4)),exports[_0x49d410(0x291)]=zt([A[_0x49d410(0x28a)](st['UniverCollaborationClientPlugin']),Ne(0x1,A[_0x49d410(0x23c)]),Ne(0x2,A[_0x49d410(0x2f0)]),Ne(0x3,A['Inject'](A[_0x49d410(0x1c2)]))],exports[_0x49d410(0x291)]);var Kt=Object[_0x49d410(0x2ec)],Xt=(_0x3043c4,_0x580d07,_0x182387,_0x28287d)=>{for(var _0x2ff843=_0x28287d>0x1?void 0x0:_0x28287d?Kt(_0x580d07,_0x182387):_0x580d07,_0x441468=_0x3043c4['length']-0x1,_0x7c4eef;_0x441468>=0x0;_0x441468--)(_0x7c4eef=_0x3043c4[_0x441468])&&(_0x2ff843=_0x7c4eef(_0x2ff843)||_0x2ff843);return _0x2ff843;},ne=(_0x31964c,_0x460f00)=>(_0x2c3b99,_0x77842d)=>_0x460f00(_0x2c3b99,_0x77842d,_0x31964c);exports[_0x49d410(0x375)]=class extends st['CollaborationSocketService']{constructor(_0x459466,_0x1760b2,_0x19f6f0,_0x549cf5,_0x1c5fee){const _0xfeebe4=_0x49d410;super(_0x459466,_0x1760b2,_0x19f6f0,_0x549cf5,_0x1c5fee);const _0x2a2bfd=this['_configService'][_0xfeebe4(0x368)](fe);this[_0xfeebe4(0x33a)][_0xfeebe4(0x221)]({'interceptor':(_0x4f4467,_0x5d8d25)=>{const _0x1bd35f=_0xfeebe4;var _0x571cd1;const _0x1446b5=_0x4f4467[_0x1bd35f(0x2c4)];return(_0x571cd1=_0x2a2bfd==null?void 0x0:_0x2a2bfd[_0x1bd35f(0x316)])!=null&&_0x571cd1[_0x1bd35f(0x2bf)]&&_0x1446b5[_0x1bd35f(0x1e7)]('Cookie',_0x2a2bfd['customHeaders'][_0x1bd35f(0x2bf)]),_0x5d8d25(_0x4f4467);}});}async[_0x49d410(0x1f4)](_0x4df929){return this['_doCreateSocket'](_0x4df929);}},exports[_0x49d410(0x375)]=Xt([ne(0x0,A[_0x49d410(0x268)](A['Injector'])),ne(0x1,A[_0x49d410(0x268)](it[_0x49d410(0x2a4)])),ne(0x2,A[_0x49d410(0x2f0)]),ne(0x3,A['ILogService']),ne(0x4,Ot[_0x49d410(0x30a)])],exports[_0x49d410(0x375)]),exports[_0x49d410(0x288)]=fe;