@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 +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +7 -7
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x260080=_0x3a46;(function(_0x2a6c47,_0x484ab6){const _0x3eb001=_0x3a46,_0x50f9eb=_0x2a6c47();while(!![]){try{const _0x3061cf=-parseInt(_0x3eb001(0x272))/0x1+-parseInt(_0x3eb001(0x348))/0x2*(parseInt(_0x3eb001(0x21d))/0x3)+-parseInt(_0x3eb001(0x1dd))/0x4+parseInt(_0x3eb001(0x256))/0x5*(-parseInt(_0x3eb001(0x354))/0x6)+parseInt(_0x3eb001(0x202))/0x7*(parseInt(_0x3eb001(0x22b))/0x8)+-parseInt(_0x3eb001(0x2d3))/0x9*(parseInt(_0x3eb001(0x370))/0xa)+-parseInt(_0x3eb001(0x236))/0xb*(-parseInt(_0x3eb001(0x1d9))/0xc);if(_0x3061cf===_0x484ab6)break;else _0x50f9eb['push'](_0x50f9eb['shift']());}catch(_0x5715a1){_0x50f9eb['push'](_0x50f9eb['shift']());}}}(_0x26e6,0x786f8));import{UniverCollaborationClientPlugin as _0x31af0f,CollaborationSocketService as _0x13cdb8}from'@univerjs-pro/collaboration-client';import{Disposable as _0x184ad2,DisposableCollection as _0x42170d,toDisposable as _0x236a8c,IConfigService as _0x3b9dd3,DependentOn as _0xbbba9d,ILogService as _0x30a73d,Inject as _0x3d12f1,Injector as _0x91e0de,Plugin as _0x3b6321,registerDependencies as _0x3f84cc}from'@univerjs/core';import{ISocketService as _0x3603e0,HTTPService as _0x302434}from'@univerjs/network';import{Observable as _0x198bae,share as _0x5ce1df}from'rxjs';import _0x5ac337 from'events';import _0xd6b7a8 from'https';import _0x196a11 from'http';import _0x2f195b from'net';import _0x362865 from'tls';import _0x4b695b from'crypto';import _0x1a59cd from'stream';import _0x1092e8 from'url';import _0x3f85be from'zlib';import _0x10cc0d from'buffer';import{ISnapshotServerService as _0x1c5499}from'@univerjs-pro/collaboration';const Be=_0x260080(0x2e0),Ft={'customHeaders':{}};function jt(_0x166673){const _0x225329=_0x260080;return _0x166673&&_0x166673[_0x225329(0x1e5)]&&Object[_0x225329(0x362)][_0x225329(0x32d)]['call'](_0x166673,_0x225329(0x273))?_0x166673[_0x225329(0x273)]:_0x166673;}function ut(_0x4d6898){const _0x418eaa=_0x260080;if(Object[_0x418eaa(0x362)]['hasOwnProperty']['call'](_0x4d6898,_0x418eaa(0x1e5)))return _0x4d6898;var _0x398cb1=_0x4d6898[_0x418eaa(0x273)];if(typeof _0x398cb1==_0x418eaa(0x28e)){var _0x5e25d4=function _0x282f96(){const _0x4e60b3=_0x418eaa;return this instanceof _0x282f96?Reflect['construct'](_0x398cb1,arguments,this[_0x4e60b3(0x201)]):_0x398cb1[_0x4e60b3(0x2b8)](this,arguments);};_0x5e25d4['prototype']=_0x398cb1['prototype'];}else _0x5e25d4={};return Object['defineProperty'](_0x5e25d4,_0x418eaa(0x1e5),{'value':!0x0}),Object[_0x418eaa(0x36d)](_0x4d6898)[_0x418eaa(0x233)](function(_0x2b6d5a){const _0x1dd16a=_0x418eaa;var _0x5f3cc2=Object[_0x1dd16a(0x2c1)](_0x4d6898,_0x2b6d5a);Object[_0x1dd16a(0x2b0)](_0x5e25d4,_0x2b6d5a,_0x5f3cc2['get']?_0x5f3cc2:{'enumerable':!0x0,'get':function(){return _0x4d6898[_0x2b6d5a];}});}),_0x5e25d4;}var te={'exports':{}},ge,Ye;function V(){const _0x5cedab=_0x260080;if(Ye)return ge;Ye=0x1;const _0x279341=[_0x5cedab(0x2cd),_0x5cedab(0x319),_0x5cedab(0x1f0)],_0x2ae63d=typeof Blob<'u';return _0x2ae63d&&_0x279341['push'](_0x5cedab(0x1ed)),ge={'BINARY_TYPES':_0x279341,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x5cedab(0x2ed),'hasBlob':_0x2ae63d,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x5cedab(0x2fb)),'kStatusCode':Symbol(_0x5cedab(0x37c)),'kWebSocket':Symbol(_0x5cedab(0x29a)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x260080(0x21e)](Object['defineProperty']({'__proto__':null,'default':Wt},Symbol[_0x260080(0x2c3)],{'value':_0x260080(0x2ce)})),Vt=ut(Gt);var Ke;function ce(){const _0x4957da=_0x260080;if(Ke)return te['exports'];Ke=0x1;const {EMPTY_BUFFER:_0x8411de}=V(),_0x4e5c14=Buffer[Symbol['species']];function _0x567705(_0x4c4dd6,_0x4ce05f){const _0x4d4353=_0x3a46;if(_0x4c4dd6[_0x4d4353(0x2d8)]===0x0)return _0x8411de;if(_0x4c4dd6[_0x4d4353(0x2d8)]===0x1)return _0x4c4dd6[0x0];const _0xd7dcc8=Buffer[_0x4d4353(0x2f9)](_0x4ce05f);let _0x3c8383=0x0;for(let _0x5405b9=0x0;_0x5405b9<_0x4c4dd6[_0x4d4353(0x2d8)];_0x5405b9++){const _0x4efd48=_0x4c4dd6[_0x5405b9];_0xd7dcc8[_0x4d4353(0x2c7)](_0x4efd48,_0x3c8383),_0x3c8383+=_0x4efd48['length'];}return _0x3c8383<_0x4ce05f?new _0x4e5c14(_0xd7dcc8[_0x4d4353(0x31a)],_0xd7dcc8[_0x4d4353(0x2cb)],_0x3c8383):_0xd7dcc8;}function _0x322635(_0x504420,_0x4f0841,_0x5d9e15,_0x38dcb8,_0x2e8f8c){for(let _0x78c0be=0x0;_0x78c0be<_0x2e8f8c;_0x78c0be++)_0x5d9e15[_0x38dcb8+_0x78c0be]=_0x504420[_0x78c0be]^_0x4f0841[_0x78c0be&0x3];}function _0x4ee0d4(_0x40cab5,_0x337552){const _0x73e6d0=_0x3a46;for(let _0x3b943f=0x0;_0x3b943f<_0x40cab5[_0x73e6d0(0x2d8)];_0x3b943f++)_0x40cab5[_0x3b943f]^=_0x337552[_0x3b943f&0x3];}function _0x589e35(_0x1fb65a){const _0x503b24=_0x3a46;return _0x1fb65a[_0x503b24(0x2d8)]===_0x1fb65a[_0x503b24(0x31a)][_0x503b24(0x1da)]?_0x1fb65a['buffer']:_0x1fb65a[_0x503b24(0x31a)][_0x503b24(0x333)](_0x1fb65a[_0x503b24(0x2cb)],_0x1fb65a['byteOffset']+_0x1fb65a[_0x503b24(0x2d8)]);}function _0x4e5095(_0xde1acd){const _0x12acb4=_0x3a46;if(_0x4e5095[_0x12acb4(0x289)]=!0x0,Buffer[_0x12acb4(0x27b)](_0xde1acd))return _0xde1acd;let _0x46f040;return _0xde1acd instanceof ArrayBuffer?_0x46f040=new _0x4e5c14(_0xde1acd):ArrayBuffer[_0x12acb4(0x329)](_0xde1acd)?_0x46f040=new _0x4e5c14(_0xde1acd[_0x12acb4(0x31a)],_0xde1acd[_0x12acb4(0x2cb)],_0xde1acd[_0x12acb4(0x1da)]):(_0x46f040=Buffer[_0x12acb4(0x2f0)](_0xde1acd),_0x4e5095[_0x12acb4(0x289)]=!0x1),_0x46f040;}if(te[_0x4957da(0x2eb)]={'concat':_0x567705,'mask':_0x322635,'toArrayBuffer':_0x589e35,'toBuffer':_0x4e5095,'unmask':_0x4ee0d4},!process[_0x4957da(0x1fe)][_0x4957da(0x224)])try{const _0x5693dc=Vt;te[_0x4957da(0x2eb)][_0x4957da(0x2b2)]=function(_0x3a40a0,_0xc901c7,_0xae853,_0x5efb9c,_0x2c0018){const _0x4b9df7=_0x4957da;_0x2c0018<0x30?_0x322635(_0x3a40a0,_0xc901c7,_0xae853,_0x5efb9c,_0x2c0018):_0x5693dc[_0x4b9df7(0x2b2)](_0x3a40a0,_0xc901c7,_0xae853,_0x5efb9c,_0x2c0018);},te[_0x4957da(0x2eb)]['unmask']=function(_0x4fe92b,_0x26bd41){const _0x231748=_0x4957da;_0x4fe92b[_0x231748(0x2d8)]<0x20?_0x4ee0d4(_0x4fe92b,_0x26bd41):_0x5693dc[_0x231748(0x31d)](_0x4fe92b,_0x26bd41);};}catch{}return te[_0x4957da(0x2eb)];}var ye,Xe;function qt(){const _0x345719=_0x260080;if(Xe)return ye;Xe=0x1;const _0x3be9ce=Symbol('kDone'),_0x571b94=Symbol(_0x345719(0x29e));class _0x56b1d4{constructor(_0x4950df){const _0x502260=_0x345719;this[_0x3be9ce]=()=>{const _0x1ea602=_0x3a46;this[_0x1ea602(0x31c)]--,this[_0x571b94]();},this[_0x502260(0x294)]=_0x4950df||0x1/0x0,this[_0x502260(0x266)]=[],this[_0x502260(0x31c)]=0x0;}[_0x345719(0x350)](_0x358e82){const _0xb23655=_0x345719;this['jobs'][_0xb23655(0x2c4)](_0x358e82),this[_0x571b94]();}[_0x571b94](){const _0x469347=_0x345719;if(this[_0x469347(0x31c)]!==this[_0x469347(0x294)]&&this[_0x469347(0x266)][_0x469347(0x2d8)]){const _0x27dc26=this[_0x469347(0x266)][_0x469347(0x34b)]();this['pending']++,_0x27dc26(this[_0x3be9ce]);}}}return ye=_0x56b1d4,ye;}function _0x3a46(_0x455aa2,_0x59c160){const _0x26e6fb=_0x26e6();return _0x3a46=function(_0x3a467f,_0x2e3396){_0x3a467f=_0x3a467f-0x1c6;let _0x2d7a54=_0x26e6fb[_0x3a467f];return _0x2d7a54;},_0x3a46(_0x455aa2,_0x59c160);}var ve,Ze;function he(){const _0x4e4405=_0x260080;if(Ze)return ve;Ze=0x1;const _0x156455=_0x3f85be,_0x12ba2a=ce(),_0x3f1aeb=qt(),{kStatusCode:_0x4f4676}=V(),_0x734201=Buffer[Symbol[_0x4e4405(0x32a)]],_0x358054=Buffer[_0x4e4405(0x2f0)]([0x0,0x0,0xff,0xff]),_0xd7b11f=Symbol(_0x4e4405(0x22e)),_0x446caa=Symbol(_0x4e4405(0x239)),_0x62d76e=Symbol(_0x4e4405(0x265)),_0x3a0a58=Symbol(_0x4e4405(0x232)),_0x265d62=Symbol(_0x4e4405(0x2a2));let _0x356d51;class _0xdda42e{constructor(_0x4577a6,_0x364cc1,_0x1ca70d){const _0x45f9bf=_0x4e4405;if(this[_0x45f9bf(0x1f1)]=_0x1ca70d|0x0,this[_0x45f9bf(0x242)]=_0x4577a6||{},this[_0x45f9bf(0x35b)]=this[_0x45f9bf(0x242)][_0x45f9bf(0x1d5)]!==void 0x0?this['_options']['threshold']:0x400,this['_isServer']=!!_0x364cc1,this[_0x45f9bf(0x23d)]=null,this[_0x45f9bf(0x2ef)]=null,this['params']=null,!_0x356d51){const _0x177c99=this[_0x45f9bf(0x242)][_0x45f9bf(0x22c)]!==void 0x0?this[_0x45f9bf(0x242)][_0x45f9bf(0x22c)]:0xa;_0x356d51=new _0x3f1aeb(_0x177c99);}}static get['extensionName'](){const _0x17c969=_0x4e4405;return _0x17c969(0x22e);}[_0x4e4405(0x285)](){const _0x39f817=_0x4e4405,_0x739b8e={};return this['_options'][_0x39f817(0x2f6)]&&(_0x739b8e[_0x39f817(0x278)]=!0x0),this['_options'][_0x39f817(0x280)]&&(_0x739b8e['client_no_context_takeover']=!0x0),this['_options'][_0x39f817(0x371)]&&(_0x739b8e[_0x39f817(0x227)]=this[_0x39f817(0x242)]['serverMaxWindowBits']),this[_0x39f817(0x242)][_0x39f817(0x264)]?_0x739b8e[_0x39f817(0x231)]=this['_options']['clientMaxWindowBits']:this[_0x39f817(0x242)][_0x39f817(0x264)]==null&&(_0x739b8e[_0x39f817(0x231)]=!0x0),_0x739b8e;}[_0x4e4405(0x1d7)](_0x6a2c68){const _0x1a4bbf=_0x4e4405;return _0x6a2c68=this['normalizeParams'](_0x6a2c68),this[_0x1a4bbf(0x2f3)]=this[_0x1a4bbf(0x2fa)]?this['acceptAsServer'](_0x6a2c68):this[_0x1a4bbf(0x244)](_0x6a2c68),this[_0x1a4bbf(0x2f3)];}[_0x4e4405(0x203)](){const _0x2e359c=_0x4e4405;if(this[_0x2e359c(0x2ef)]&&(this[_0x2e359c(0x2ef)]['close'](),this[_0x2e359c(0x2ef)]=null),this[_0x2e359c(0x23d)]){const _0x157fb9=this[_0x2e359c(0x23d)][_0x62d76e];this['_deflate'][_0x2e359c(0x307)](),this[_0x2e359c(0x23d)]=null,_0x157fb9&&_0x157fb9(new Error(_0x2e359c(0x22d)));}}[_0x4e4405(0x2de)](_0x22b42b){const _0x22f88d=_0x4e4405,_0x55ce05=this[_0x22f88d(0x242)],_0x2f566a=_0x22b42b[_0x22f88d(0x1cf)](_0x4efcf9=>!(_0x55ce05[_0x22f88d(0x2f6)]===!0x1&&_0x4efcf9[_0x22f88d(0x278)]||_0x4efcf9[_0x22f88d(0x227)]&&(_0x55ce05['serverMaxWindowBits']===!0x1||typeof _0x55ce05['serverMaxWindowBits']==_0x22f88d(0x2c5)&&_0x55ce05['serverMaxWindowBits']>_0x4efcf9[_0x22f88d(0x227)])||typeof _0x55ce05[_0x22f88d(0x264)]==_0x22f88d(0x2c5)&&!_0x4efcf9[_0x22f88d(0x231)]));if(!_0x2f566a)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x55ce05[_0x22f88d(0x2f6)]&&(_0x2f566a[_0x22f88d(0x278)]=!0x0),_0x55ce05[_0x22f88d(0x280)]&&(_0x2f566a[_0x22f88d(0x2e4)]=!0x0),typeof _0x55ce05[_0x22f88d(0x371)]=='number'&&(_0x2f566a['server_max_window_bits']=_0x55ce05['serverMaxWindowBits']),typeof _0x55ce05[_0x22f88d(0x264)]==_0x22f88d(0x2c5)?_0x2f566a['client_max_window_bits']=_0x55ce05[_0x22f88d(0x264)]:(_0x2f566a[_0x22f88d(0x231)]===!0x0||_0x55ce05[_0x22f88d(0x264)]===!0x1)&&delete _0x2f566a[_0x22f88d(0x231)],_0x2f566a;}[_0x4e4405(0x244)](_0x161f63){const _0x147656=_0x4e4405,_0x1833af=_0x161f63[0x0];if(this[_0x147656(0x242)][_0x147656(0x280)]===!0x1&&_0x1833af[_0x147656(0x2e4)])throw new Error(_0x147656(0x360));if(!_0x1833af['client_max_window_bits'])typeof this[_0x147656(0x242)][_0x147656(0x264)]==_0x147656(0x2c5)&&(_0x1833af[_0x147656(0x231)]=this[_0x147656(0x242)][_0x147656(0x264)]);else{if(this[_0x147656(0x242)][_0x147656(0x264)]===!0x1||typeof this['_options'][_0x147656(0x264)]==_0x147656(0x2c5)&&_0x1833af['client_max_window_bits']>this[_0x147656(0x242)][_0x147656(0x264)])throw new Error(_0x147656(0x1e8));}return _0x1833af;}[_0x4e4405(0x2df)](_0x562068){const _0x1738c7=_0x4e4405;return _0x562068[_0x1738c7(0x233)](_0x2bda87=>{const _0x37c9fe=_0x1738c7;Object[_0x37c9fe(0x36d)](_0x2bda87)[_0x37c9fe(0x233)](_0x4175ac=>{const _0x2b1ee2=_0x37c9fe;let _0x58d339=_0x2bda87[_0x4175ac];if(_0x58d339[_0x2b1ee2(0x2d8)]>0x1)throw new Error('Parameter\x20\x22'+_0x4175ac+_0x2b1ee2(0x2da));if(_0x58d339=_0x58d339[0x0],_0x4175ac===_0x2b1ee2(0x231)){if(_0x58d339!==!0x0){const _0x246285=+_0x58d339;if(!Number[_0x2b1ee2(0x1cd)](_0x246285)||_0x246285<0x8||_0x246285>0xf)throw new TypeError(_0x2b1ee2(0x1f6)+_0x4175ac+_0x2b1ee2(0x286)+_0x58d339);_0x58d339=_0x246285;}else{if(!this[_0x2b1ee2(0x2fa)])throw new TypeError(_0x2b1ee2(0x1f6)+_0x4175ac+_0x2b1ee2(0x286)+_0x58d339);}}else{if(_0x4175ac===_0x2b1ee2(0x227)){const _0x47406e=+_0x58d339;if(!Number[_0x2b1ee2(0x1cd)](_0x47406e)||_0x47406e<0x8||_0x47406e>0xf)throw new TypeError(_0x2b1ee2(0x1f6)+_0x4175ac+_0x2b1ee2(0x286)+_0x58d339);_0x58d339=_0x47406e;}else{if(_0x4175ac===_0x2b1ee2(0x2e4)||_0x4175ac===_0x2b1ee2(0x278)){if(_0x58d339!==!0x0)throw new TypeError(_0x2b1ee2(0x1f6)+_0x4175ac+_0x2b1ee2(0x286)+_0x58d339);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x4175ac+'\x22');}}_0x2bda87[_0x4175ac]=_0x58d339;});}),_0x562068;}[_0x4e4405(0x257)](_0x24ab53,_0x4a0f01,_0x4e4d23){const _0x291b0e=_0x4e4405;_0x356d51[_0x291b0e(0x350)](_0x3c51cb=>{this['_decompress'](_0x24ab53,_0x4a0f01,(_0x364005,_0x4fc61d)=>{_0x3c51cb(),_0x4e4d23(_0x364005,_0x4fc61d);});});}[_0x4e4405(0x1d0)](_0x35895d,_0x43f7de,_0x192f74){const _0x5acf0a=_0x4e4405;_0x356d51[_0x5acf0a(0x350)](_0x9ad1a9=>{const _0x12ebef=_0x5acf0a;this[_0x12ebef(0x1d6)](_0x35895d,_0x43f7de,(_0x3ff22f,_0x571ce6)=>{_0x9ad1a9(),_0x192f74(_0x3ff22f,_0x571ce6);});});}[_0x4e4405(0x2e1)](_0xc459ab,_0x40fb34,_0x45895f){const _0x340605=_0x4e4405,_0x41692e=this[_0x340605(0x2fa)]?_0x340605(0x23e):_0x340605(0x34e);if(!this[_0x340605(0x2ef)]){const _0x312fa4=_0x41692e+_0x340605(0x30f),_0x400188=typeof this['params'][_0x312fa4]!=_0x340605(0x2c5)?_0x156455[_0x340605(0x2c9)]:this[_0x340605(0x2f3)][_0x312fa4];this[_0x340605(0x2ef)]=_0x156455[_0x340605(0x226)]({...this['_options'][_0x340605(0x20e)],'windowBits':_0x400188}),this[_0x340605(0x2ef)][_0xd7b11f]=this,this['_inflate'][_0x446caa]=0x0,this['_inflate'][_0x3a0a58]=[],this[_0x340605(0x2ef)]['on'](_0x340605(0x2a2),_0x21fdc5),this[_0x340605(0x2ef)]['on'](_0x340605(0x337),_0x19f66d);}this[_0x340605(0x2ef)][_0x62d76e]=_0x45895f,this['_inflate'][_0x340605(0x1c8)](_0xc459ab),_0x40fb34&&this[_0x340605(0x2ef)][_0x340605(0x1c8)](_0x358054),this[_0x340605(0x2ef)][_0x340605(0x21b)](()=>{const _0x5de235=_0x340605,_0x4ab52c=this[_0x5de235(0x2ef)][_0x265d62];if(_0x4ab52c){this[_0x5de235(0x2ef)][_0x5de235(0x307)](),this[_0x5de235(0x2ef)]=null,_0x45895f(_0x4ab52c);return;}const _0x4c18c7=_0x12ba2a['concat'](this[_0x5de235(0x2ef)][_0x3a0a58],this[_0x5de235(0x2ef)][_0x446caa]);this[_0x5de235(0x2ef)][_0x5de235(0x33b)][_0x5de235(0x20b)]?(this['_inflate'][_0x5de235(0x307)](),this['_inflate']=null):(this[_0x5de235(0x2ef)][_0x446caa]=0x0,this[_0x5de235(0x2ef)][_0x3a0a58]=[],_0x40fb34&&this[_0x5de235(0x2f3)][_0x41692e+_0x5de235(0x23a)]&&this[_0x5de235(0x2ef)][_0x5de235(0x2ba)]()),_0x45895f(null,_0x4c18c7);});}[_0x4e4405(0x1d6)](_0x56dba2,_0x50076f,_0x1de01f){const _0x273f08=_0x4e4405,_0x2ed7eb=this[_0x273f08(0x2fa)]?_0x273f08(0x34e):_0x273f08(0x23e);if(!this['_deflate']){const _0x2cdddf=_0x2ed7eb+'_max_window_bits',_0x5c6556=typeof this['params'][_0x2cdddf]!=_0x273f08(0x2c5)?_0x156455[_0x273f08(0x2c9)]:this['params'][_0x2cdddf];this[_0x273f08(0x23d)]=_0x156455['createDeflateRaw']({...this['_options'][_0x273f08(0x322)],'windowBits':_0x5c6556}),this['_deflate'][_0x446caa]=0x0,this[_0x273f08(0x23d)][_0x3a0a58]=[],this[_0x273f08(0x23d)]['on'](_0x273f08(0x337),_0x21769b);}this[_0x273f08(0x23d)][_0x62d76e]=_0x1de01f,this['_deflate'][_0x273f08(0x1c8)](_0x56dba2),this['_deflate'][_0x273f08(0x21b)](_0x156455[_0x273f08(0x33f)],()=>{const _0x28330e=_0x273f08;if(!this['_deflate'])return;let _0x4f2e74=_0x12ba2a[_0x28330e(0x1d3)](this[_0x28330e(0x23d)][_0x3a0a58],this[_0x28330e(0x23d)][_0x446caa]);_0x50076f&&(_0x4f2e74=new _0x734201(_0x4f2e74[_0x28330e(0x31a)],_0x4f2e74['byteOffset'],_0x4f2e74[_0x28330e(0x2d8)]-0x4)),this[_0x28330e(0x23d)][_0x62d76e]=null,this[_0x28330e(0x23d)][_0x446caa]=0x0,this[_0x28330e(0x23d)][_0x3a0a58]=[],_0x50076f&&this['params'][_0x2ed7eb+'_no_context_takeover']&&this[_0x28330e(0x23d)][_0x28330e(0x2ba)](),_0x1de01f(null,_0x4f2e74);});}}ve=_0xdda42e;function _0x21769b(_0x2613de){const _0x1aecaf=_0x4e4405;this[_0x3a0a58][_0x1aecaf(0x2c4)](_0x2613de),this[_0x446caa]+=_0x2613de[_0x1aecaf(0x2d8)];}function _0x19f66d(_0x5f2a2e){const _0x27207f=_0x4e4405;if(this[_0x446caa]+=_0x5f2a2e[_0x27207f(0x2d8)],this[_0xd7b11f][_0x27207f(0x1f1)]<0x1||this[_0x446caa]<=this[_0xd7b11f][_0x27207f(0x1f1)]){this[_0x3a0a58][_0x27207f(0x2c4)](_0x5f2a2e);return;}this[_0x265d62]=new RangeError(_0x27207f(0x247)),this[_0x265d62]['code']=_0x27207f(0x347),this[_0x265d62][_0x4f4676]=0x3f1,this[_0x27207f(0x2a6)]('data',_0x19f66d),this[_0x27207f(0x2ba)]();}function _0x21fdc5(_0x3b9b98){if(this[_0xd7b11f]['_inflate']=null,this[_0x265d62]){this[_0x62d76e](this[_0x265d62]);return;}_0x3b9b98[_0x4f4676]=0x3ef,this[_0x62d76e](_0x3b9b98);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x260080(0x21e)](Object[_0x260080(0x2b0)]({'__proto__':null,'default':Ht},Symbol[_0x260080(0x2c3)],{'value':'Module'})),Yt=ut(zt);var Qe;function ne(){const _0x908075=_0x260080;if(Qe)return re['exports'];Qe=0x1;const {isUtf8:_0x5d0d63}=_0x10cc0d,{hasBlob:_0xfdbd5a}=V(),_0x272457=[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 _0x2ab4d0(_0x4c7c5b){return _0x4c7c5b>=0x3e8&&_0x4c7c5b<=0x3f6&&_0x4c7c5b!==0x3ec&&_0x4c7c5b!==0x3ed&&_0x4c7c5b!==0x3ee||_0x4c7c5b>=0xbb8&&_0x4c7c5b<=0x1387;}function _0x58016c(_0x3106f3){const _0x1e1044=_0x3106f3['length'];let _0xafa54a=0x0;for(;_0xafa54a<_0x1e1044;)if((_0x3106f3[_0xafa54a]&0x80)===0x0)_0xafa54a++;else{if((_0x3106f3[_0xafa54a]&0xe0)===0xc0){if(_0xafa54a+0x1===_0x1e1044||(_0x3106f3[_0xafa54a+0x1]&0xc0)!==0x80||(_0x3106f3[_0xafa54a]&0xfe)===0xc0)return!0x1;_0xafa54a+=0x2;}else{if((_0x3106f3[_0xafa54a]&0xf0)===0xe0){if(_0xafa54a+0x2>=_0x1e1044||(_0x3106f3[_0xafa54a+0x1]&0xc0)!==0x80||(_0x3106f3[_0xafa54a+0x2]&0xc0)!==0x80||_0x3106f3[_0xafa54a]===0xe0&&(_0x3106f3[_0xafa54a+0x1]&0xe0)===0x80||_0x3106f3[_0xafa54a]===0xed&&(_0x3106f3[_0xafa54a+0x1]&0xe0)===0xa0)return!0x1;_0xafa54a+=0x3;}else{if((_0x3106f3[_0xafa54a]&0xf8)===0xf0){if(_0xafa54a+0x3>=_0x1e1044||(_0x3106f3[_0xafa54a+0x1]&0xc0)!==0x80||(_0x3106f3[_0xafa54a+0x2]&0xc0)!==0x80||(_0x3106f3[_0xafa54a+0x3]&0xc0)!==0x80||_0x3106f3[_0xafa54a]===0xf0&&(_0x3106f3[_0xafa54a+0x1]&0xf0)===0x80||_0x3106f3[_0xafa54a]===0xf4&&_0x3106f3[_0xafa54a+0x1]>0x8f||_0x3106f3[_0xafa54a]>0xf4)return!0x1;_0xafa54a+=0x4;}else return!0x1;}}}return!0x0;}function _0x22503c(_0x587135){const _0x59897f=_0x3a46;return _0xfdbd5a&&typeof _0x587135==_0x59897f(0x2e5)&&typeof _0x587135[_0x59897f(0x1f8)]==_0x59897f(0x28e)&&typeof _0x587135[_0x59897f(0x2b7)]=='string'&&typeof _0x587135[_0x59897f(0x2bf)]=='function'&&(_0x587135[Symbol[_0x59897f(0x2c3)]]===_0x59897f(0x34c)||_0x587135[Symbol['toStringTag']]===_0x59897f(0x366));}if(re[_0x908075(0x2eb)]={'isBlob':_0x22503c,'isValidStatusCode':_0x2ab4d0,'isValidUTF8':_0x58016c,'tokenChars':_0x272457},_0x5d0d63)re[_0x908075(0x2eb)][_0x908075(0x245)]=function(_0x2e31aa){const _0x401f0c=_0x908075;return _0x2e31aa[_0x401f0c(0x2d8)]<0x18?_0x58016c(_0x2e31aa):_0x5d0d63(_0x2e31aa);};else{if(!process[_0x908075(0x1fe)][_0x908075(0x20a)])try{const _0x2a1e2f=Yt;re[_0x908075(0x2eb)][_0x908075(0x245)]=function(_0x2c1a49){const _0x39cdc0=_0x908075;return _0x2c1a49[_0x39cdc0(0x2d8)]<0x20?_0x58016c(_0x2c1a49):_0x2a1e2f(_0x2c1a49);};}catch{}}return re[_0x908075(0x2eb)];}var Se,Je;function dt(){const _0xecb963=_0x260080;if(Je)return Se;Je=0x1;const {Writable:_0xdcaa0f}=_0x1a59cd,_0xc6d7d=he(),{BINARY_TYPES:_0x345ee4,EMPTY_BUFFER:_0x582b5c,kStatusCode:_0x28fdab,kWebSocket:_0x410a53}=V(),{concat:_0x330478,toArrayBuffer:_0x3f711c,unmask:_0x7bcb32}=ce(),{isValidStatusCode:_0x5d640c,isValidUTF8:_0x34239a}=ne(),_0x2e26ac=Buffer[Symbol[_0xecb963(0x32a)]],_0x6cd275=0x0,_0x265227=0x1,_0x3a5971=0x2,_0x31cc2e=0x3,_0xa9667c=0x4,_0x253c9d=0x5,_0x4be28b=0x6;class _0x2677f2 extends _0xdcaa0f{constructor(_0x3e8203={}){const _0x4a1356=_0xecb963;super(),this[_0x4a1356(0x1fb)]=_0x3e8203[_0x4a1356(0x25e)]!==void 0x0?_0x3e8203[_0x4a1356(0x25e)]:!0x0,this[_0x4a1356(0x31f)]=_0x3e8203[_0x4a1356(0x268)]||_0x345ee4[0x0],this[_0x4a1356(0x230)]=_0x3e8203[_0x4a1356(0x37e)]||{},this['_isServer']=!!_0x3e8203['isServer'],this[_0x4a1356(0x1f1)]=_0x3e8203[_0x4a1356(0x23f)]|0x0,this[_0x4a1356(0x2c0)]=!!_0x3e8203['skipUTF8Validation'],this[_0x410a53]=void 0x0,this[_0x4a1356(0x234)]=0x0,this[_0x4a1356(0x309)]=[],this[_0x4a1356(0x246)]=!0x1,this['_payloadLength']=0x0,this[_0x4a1356(0x20d)]=void 0x0,this[_0x4a1356(0x1e9)]=0x0,this[_0x4a1356(0x23b)]=!0x1,this[_0x4a1356(0x2f4)]=!0x1,this[_0x4a1356(0x312)]=0x0,this[_0x4a1356(0x28b)]=0x0,this[_0x4a1356(0x35e)]=0x0,this['_fragments']=[],this[_0x4a1356(0x270)]=!0x1,this[_0x4a1356(0x31e)]=!0x1,this[_0x4a1356(0x378)]=_0x6cd275;}[_0xecb963(0x304)](_0x4d405c,_0x1ac54e,_0xb72371){const _0x3dbd30=_0xecb963;if(this['_opcode']===0x8&&this[_0x3dbd30(0x378)]==_0x6cd275)return _0xb72371();this[_0x3dbd30(0x234)]+=_0x4d405c['length'],this[_0x3dbd30(0x309)][_0x3dbd30(0x2c4)](_0x4d405c),this[_0x3dbd30(0x358)](_0xb72371);}[_0xecb963(0x2cf)](_0x327533){const _0x18e9d8=_0xecb963;if(this[_0x18e9d8(0x234)]-=_0x327533,_0x327533===this[_0x18e9d8(0x309)][0x0]['length'])return this[_0x18e9d8(0x309)][_0x18e9d8(0x34b)]();if(_0x327533<this['_buffers'][0x0][_0x18e9d8(0x2d8)]){const _0x39d275=this[_0x18e9d8(0x309)][0x0];return this['_buffers'][0x0]=new _0x2e26ac(_0x39d275[_0x18e9d8(0x31a)],_0x39d275[_0x18e9d8(0x2cb)]+_0x327533,_0x39d275['length']-_0x327533),new _0x2e26ac(_0x39d275[_0x18e9d8(0x31a)],_0x39d275[_0x18e9d8(0x2cb)],_0x327533);}const _0x57ea46=Buffer['allocUnsafe'](_0x327533);do{const _0x33ec59=this[_0x18e9d8(0x309)][0x0],_0x332307=_0x57ea46[_0x18e9d8(0x2d8)]-_0x327533;_0x327533>=_0x33ec59[_0x18e9d8(0x2d8)]?_0x57ea46[_0x18e9d8(0x2c7)](this[_0x18e9d8(0x309)][_0x18e9d8(0x34b)](),_0x332307):(_0x57ea46[_0x18e9d8(0x2c7)](new Uint8Array(_0x33ec59[_0x18e9d8(0x31a)],_0x33ec59[_0x18e9d8(0x2cb)],_0x327533),_0x332307),this[_0x18e9d8(0x309)][0x0]=new _0x2e26ac(_0x33ec59[_0x18e9d8(0x31a)],_0x33ec59['byteOffset']+_0x327533,_0x33ec59[_0x18e9d8(0x2d8)]-_0x327533)),_0x327533-=_0x33ec59[_0x18e9d8(0x2d8)];}while(_0x327533>0x0);return _0x57ea46;}['startLoop'](_0x21ae40){const _0x38e293=_0xecb963;this[_0x38e293(0x31e)]=!0x0;do switch(this[_0x38e293(0x378)]){case _0x6cd275:this[_0x38e293(0x290)](_0x21ae40);break;case _0x265227:this['getPayloadLength16'](_0x21ae40);break;case _0x3a5971:this[_0x38e293(0x209)](_0x21ae40);break;case _0x31cc2e:this[_0x38e293(0x351)]();break;case _0xa9667c:this[_0x38e293(0x2ab)](_0x21ae40);break;case _0x253c9d:case _0x4be28b:this['_loop']=!0x1;return;}while(this[_0x38e293(0x31e)]);this[_0x38e293(0x270)]||_0x21ae40();}[_0xecb963(0x290)](_0x5a373c){const _0x251643=_0xecb963;if(this[_0x251643(0x234)]<0x2){this[_0x251643(0x31e)]=!0x1;return;}const _0x29a18c=this[_0x251643(0x2cf)](0x2);if((_0x29a18c[0x0]&0x30)!==0x0){const _0x5c6f82=this[_0x251643(0x237)](RangeError,_0x251643(0x2e3),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x5a373c(_0x5c6f82);return;}const _0x8efd46=(_0x29a18c[0x0]&0x40)===0x40;if(_0x8efd46&&!this[_0x251643(0x230)][_0xc6d7d[_0x251643(0x2e8)]]){const _0xacdb1c=this['createError'](RangeError,_0x251643(0x2d9),!0x0,0x3ea,_0x251643(0x24e));_0x5a373c(_0xacdb1c);return;}if(this[_0x251643(0x2f4)]=(_0x29a18c[0x0]&0x80)===0x80,this[_0x251643(0x312)]=_0x29a18c[0x0]&0xf,this[_0x251643(0x2bb)]=_0x29a18c[0x1]&0x7f,this[_0x251643(0x312)]===0x0){if(_0x8efd46){const _0x1c6346=this[_0x251643(0x237)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x251643(0x24e));_0x5a373c(_0x1c6346);return;}if(!this['_fragmented']){const _0x25da86=this['createError'](RangeError,_0x251643(0x2af),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x5a373c(_0x25da86);return;}this[_0x251643(0x312)]=this[_0x251643(0x1e9)];}else{if(this[_0x251643(0x312)]===0x1||this[_0x251643(0x312)]===0x2){if(this[_0x251643(0x1e9)]){const _0xd3ecc5=this[_0x251643(0x237)](RangeError,'invalid\x20opcode\x20'+this[_0x251643(0x312)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x5a373c(_0xd3ecc5);return;}this[_0x251643(0x246)]=_0x8efd46;}else{if(this[_0x251643(0x312)]>0x7&&this[_0x251643(0x312)]<0xb){if(!this['_fin']){const _0x1e5303=this[_0x251643(0x237)](RangeError,_0x251643(0x356),!0x0,0x3ea,_0x251643(0x2ae));_0x5a373c(_0x1e5303);return;}if(_0x8efd46){const _0x53ad97=this[_0x251643(0x237)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x251643(0x24e));_0x5a373c(_0x53ad97);return;}if(this[_0x251643(0x2bb)]>0x7d||this[_0x251643(0x312)]===0x8&&this[_0x251643(0x2bb)]===0x1){const _0x8e8a95=this['createError'](RangeError,'invalid\x20payload\x20length\x20'+this[_0x251643(0x2bb)],!0x0,0x3ea,_0x251643(0x2ee));_0x5a373c(_0x8e8a95);return;}}else{const _0x3f8070=this[_0x251643(0x237)](RangeError,_0x251643(0x2db)+this[_0x251643(0x312)],!0x0,0x3ea,_0x251643(0x258));_0x5a373c(_0x3f8070);return;}}}if(!this[_0x251643(0x2f4)]&&!this[_0x251643(0x1e9)]&&(this[_0x251643(0x1e9)]=this['_opcode']),this[_0x251643(0x23b)]=(_0x29a18c[0x1]&0x80)===0x80,this[_0x251643(0x2fa)]){if(!this[_0x251643(0x23b)]){const _0x5287a5=this[_0x251643(0x237)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x251643(0x26d));_0x5a373c(_0x5287a5);return;}}else{if(this[_0x251643(0x23b)]){const _0x27528b=this['createError'](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x251643(0x27c));_0x5a373c(_0x27528b);return;}}this[_0x251643(0x2bb)]===0x7e?this[_0x251643(0x378)]=_0x265227:this[_0x251643(0x2bb)]===0x7f?this['_state']=_0x3a5971:this[_0x251643(0x341)](_0x5a373c);}[_0xecb963(0x229)](_0x38425d){const _0x3736be=_0xecb963;if(this[_0x3736be(0x234)]<0x2){this['_loop']=!0x1;return;}this['_payloadLength']=this[_0x3736be(0x2cf)](0x2)[_0x3736be(0x2a9)](0x0),this[_0x3736be(0x341)](_0x38425d);}[_0xecb963(0x209)](_0x51b1ed){const _0x190da2=_0xecb963;if(this[_0x190da2(0x234)]<0x8){this[_0x190da2(0x31e)]=!0x1;return;}const _0x392258=this[_0x190da2(0x2cf)](0x8),_0xeb0be1=_0x392258[_0x190da2(0x2f7)](0x0);if(_0xeb0be1>Math[_0x190da2(0x331)](0x2,0x15)-0x1){const _0x1d49d0=this[_0x190da2(0x237)](RangeError,_0x190da2(0x282),!0x1,0x3f1,_0x190da2(0x1dc));_0x51b1ed(_0x1d49d0);return;}this['_payloadLength']=_0xeb0be1*Math[_0x190da2(0x331)](0x2,0x20)+_0x392258['readUInt32BE'](0x4),this['haveLength'](_0x51b1ed);}[_0xecb963(0x341)](_0x5cde17){const _0x2bc64f=_0xecb963;if(this[_0x2bc64f(0x2bb)]&&this[_0x2bc64f(0x312)]<0x8&&(this[_0x2bc64f(0x28b)]+=this[_0x2bc64f(0x2bb)],this['_totalPayloadLength']>this[_0x2bc64f(0x1f1)]&&this[_0x2bc64f(0x1f1)]>0x0)){const _0x38ad05=this['createError'](RangeError,_0x2bc64f(0x247),!0x1,0x3f1,_0x2bc64f(0x347));_0x5cde17(_0x38ad05);return;}this[_0x2bc64f(0x23b)]?this['_state']=_0x31cc2e:this[_0x2bc64f(0x378)]=_0xa9667c;}[_0xecb963(0x351)](){const _0x305572=_0xecb963;if(this[_0x305572(0x234)]<0x4){this[_0x305572(0x31e)]=!0x1;return;}this[_0x305572(0x20d)]=this[_0x305572(0x2cf)](0x4),this[_0x305572(0x378)]=_0xa9667c;}[_0xecb963(0x2ab)](_0x42e5a1){const _0x1b5a63=_0xecb963;let _0x4e3645=_0x582b5c;if(this[_0x1b5a63(0x2bb)]){if(this[_0x1b5a63(0x234)]<this[_0x1b5a63(0x2bb)]){this['_loop']=!0x1;return;}_0x4e3645=this[_0x1b5a63(0x2cf)](this[_0x1b5a63(0x2bb)]),this[_0x1b5a63(0x23b)]&&(this[_0x1b5a63(0x20d)][0x0]|this[_0x1b5a63(0x20d)][0x1]|this[_0x1b5a63(0x20d)][0x2]|this[_0x1b5a63(0x20d)][0x3])!==0x0&&_0x7bcb32(_0x4e3645,this[_0x1b5a63(0x20d)]);}if(this[_0x1b5a63(0x312)]>0x7){this[_0x1b5a63(0x297)](_0x4e3645,_0x42e5a1);return;}if(this['_compressed']){this[_0x1b5a63(0x378)]=_0x253c9d,this[_0x1b5a63(0x257)](_0x4e3645,_0x42e5a1);return;}_0x4e3645[_0x1b5a63(0x2d8)]&&(this[_0x1b5a63(0x35e)]=this[_0x1b5a63(0x28b)],this[_0x1b5a63(0x206)][_0x1b5a63(0x2c4)](_0x4e3645)),this[_0x1b5a63(0x24c)](_0x42e5a1);}[_0xecb963(0x257)](_0x338e1e,_0x323aa1){const _0x40c68e=_0xecb963;this[_0x40c68e(0x230)][_0xc6d7d[_0x40c68e(0x2e8)]][_0x40c68e(0x257)](_0x338e1e,this[_0x40c68e(0x2f4)],(_0x156e3d,_0xfe0854)=>{const _0x656058=_0x40c68e;if(_0x156e3d)return _0x323aa1(_0x156e3d);if(_0xfe0854[_0x656058(0x2d8)]){if(this[_0x656058(0x35e)]+=_0xfe0854[_0x656058(0x2d8)],this[_0x656058(0x35e)]>this[_0x656058(0x1f1)]&&this[_0x656058(0x1f1)]>0x0){const _0x15116e=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x323aa1(_0x15116e);return;}this[_0x656058(0x206)][_0x656058(0x2c4)](_0xfe0854);}this[_0x656058(0x24c)](_0x323aa1),this['_state']===_0x6cd275&&this[_0x656058(0x358)](_0x323aa1);});}[_0xecb963(0x24c)](_0x461c0b){const _0x3f5374=_0xecb963;if(!this['_fin']){this['_state']=_0x6cd275;return;}const _0x29655e=this[_0x3f5374(0x35e)],_0x3d52b8=this[_0x3f5374(0x206)];if(this[_0x3f5374(0x28b)]=0x0,this['_messageLength']=0x0,this[_0x3f5374(0x1e9)]=0x0,this[_0x3f5374(0x206)]=[],this[_0x3f5374(0x312)]===0x2){let _0x490556;this[_0x3f5374(0x31f)]===_0x3f5374(0x2cd)?_0x490556=_0x330478(_0x3d52b8,_0x29655e):this[_0x3f5374(0x31f)]==='arraybuffer'?_0x490556=_0x3f711c(_0x330478(_0x3d52b8,_0x29655e)):this[_0x3f5374(0x31f)]===_0x3f5374(0x1ed)?_0x490556=new Blob(_0x3d52b8):_0x490556=_0x3d52b8,this[_0x3f5374(0x1fb)]?(this[_0x3f5374(0x27f)](_0x3f5374(0x288),_0x490556,!0x0),this[_0x3f5374(0x378)]=_0x6cd275):(this[_0x3f5374(0x378)]=_0x4be28b,setImmediate(()=>{const _0x1cc7c6=_0x3f5374;this[_0x1cc7c6(0x27f)](_0x1cc7c6(0x288),_0x490556,!0x0),this[_0x1cc7c6(0x378)]=_0x6cd275,this[_0x1cc7c6(0x358)](_0x461c0b);}));}else{const _0x51f1ac=_0x330478(_0x3d52b8,_0x29655e);if(!this[_0x3f5374(0x2c0)]&&!_0x34239a(_0x51f1ac)){const _0x405216=this[_0x3f5374(0x237)](Error,_0x3f5374(0x25b),!0x0,0x3ef,_0x3f5374(0x1db));_0x461c0b(_0x405216);return;}this['_state']===_0x253c9d||this['_allowSynchronousEvents']?(this['emit']('message',_0x51f1ac,!0x1),this[_0x3f5374(0x378)]=_0x6cd275):(this['_state']=_0x4be28b,setImmediate(()=>{const _0x12b7ac=_0x3f5374;this[_0x12b7ac(0x27f)](_0x12b7ac(0x288),_0x51f1ac,!0x1),this[_0x12b7ac(0x378)]=_0x6cd275,this['startLoop'](_0x461c0b);}));}}[_0xecb963(0x297)](_0x84d413,_0x530e09){const _0x5a78ba=_0xecb963;if(this[_0x5a78ba(0x312)]===0x8){if(_0x84d413[_0x5a78ba(0x2d8)]===0x0)this['_loop']=!0x1,this[_0x5a78ba(0x27f)](_0x5a78ba(0x1d1),0x3ed,_0x582b5c),this[_0x5a78ba(0x25c)]();else{const _0x3314cf=_0x84d413[_0x5a78ba(0x2a9)](0x0);if(!_0x5d640c(_0x3314cf)){const _0x57b08f=this['createError'](RangeError,'invalid\x20status\x20code\x20'+_0x3314cf,!0x0,0x3ea,_0x5a78ba(0x205));_0x530e09(_0x57b08f);return;}const _0x4eb547=new _0x2e26ac(_0x84d413[_0x5a78ba(0x31a)],_0x84d413[_0x5a78ba(0x2cb)]+0x2,_0x84d413[_0x5a78ba(0x2d8)]-0x2);if(!this[_0x5a78ba(0x2c0)]&&!_0x34239a(_0x4eb547)){const _0x334a24=this[_0x5a78ba(0x237)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x530e09(_0x334a24);return;}this[_0x5a78ba(0x31e)]=!0x1,this[_0x5a78ba(0x27f)]('conclude',_0x3314cf,_0x4eb547),this['end']();}this['_state']=_0x6cd275;return;}this[_0x5a78ba(0x1fb)]?(this[_0x5a78ba(0x27f)](this[_0x5a78ba(0x312)]===0x9?_0x5a78ba(0x240):_0x5a78ba(0x271),_0x84d413),this['_state']=_0x6cd275):(this[_0x5a78ba(0x378)]=_0x4be28b,setImmediate(()=>{const _0x357fc9=_0x5a78ba;this[_0x357fc9(0x27f)](this['_opcode']===0x9?_0x357fc9(0x240):_0x357fc9(0x271),_0x84d413),this[_0x357fc9(0x378)]=_0x6cd275,this[_0x357fc9(0x358)](_0x530e09);}));}[_0xecb963(0x237)](_0x17063f,_0x4a3092,_0x5d6903,_0x4f354c,_0x49c729){const _0x290116=_0xecb963;this['_loop']=!0x1,this[_0x290116(0x270)]=!0x0;const _0x53bf73=new _0x17063f(_0x5d6903?_0x290116(0x324)+_0x4a3092:_0x4a3092);return Error[_0x290116(0x321)](_0x53bf73,this[_0x290116(0x237)]),_0x53bf73['code']=_0x49c729,_0x53bf73[_0x28fdab]=_0x4f354c,_0x53bf73;}}return Se=_0x2677f2,Se;}var Ee,et;function _t(){const _0x4f83f0=_0x260080;if(et)return Ee;et=0x1;const {Duplex:_0x477b69}=_0x1a59cd,{randomFillSync:_0x51547b}=_0x4b695b,_0x1bc92b=he(),{EMPTY_BUFFER:_0x4644dc,kWebSocket:_0xc61cce,NOOP:_0x179361}=V(),{isBlob:_0x12bd6c,isValidStatusCode:_0x2a89f7}=ne(),{mask:_0xcc58b1,toBuffer:_0x5a106a}=ce(),_0x18dbb2=Symbol(_0x4f83f0(0x20c)),_0x20cf74=Buffer[_0x4f83f0(0x30b)](0x4),_0x3c918a=0x8*0x400;let _0xba8b9a,_0x159ad7=_0x3c918a;const _0x586db4=0x0,_0x32987d=0x1,_0x5470e6=0x2;class _0x60b619{constructor(_0x35f72f,_0x1f94d0,_0x4c7ca5){const _0x25b495=_0x4f83f0;this[_0x25b495(0x230)]=_0x1f94d0||{},_0x4c7ca5&&(this[_0x25b495(0x298)]=_0x4c7ca5,this[_0x25b495(0x28d)]=Buffer['alloc'](0x4)),this['_socket']=_0x35f72f,this[_0x25b495(0x248)]=!0x0,this['_compress']=!0x1,this[_0x25b495(0x234)]=0x0,this[_0x25b495(0x1c6)]=[],this[_0x25b495(0x378)]=_0x586db4,this[_0x25b495(0x32e)]=_0x179361,this[_0xc61cce]=void 0x0;}static[_0x4f83f0(0x343)](_0x27921e,_0x1916c6){const _0xedee=_0x4f83f0;let _0x313cf3,_0x1982e5=!0x1,_0x17231a=0x2,_0x8907bd=!0x1;_0x1916c6['mask']&&(_0x313cf3=_0x1916c6['maskBuffer']||_0x20cf74,_0x1916c6[_0xedee(0x29c)]?_0x1916c6[_0xedee(0x29c)](_0x313cf3):(_0x159ad7===_0x3c918a&&(_0xba8b9a===void 0x0&&(_0xba8b9a=Buffer[_0xedee(0x30b)](_0x3c918a)),_0x51547b(_0xba8b9a,0x0,_0x3c918a),_0x159ad7=0x0),_0x313cf3[0x0]=_0xba8b9a[_0x159ad7++],_0x313cf3[0x1]=_0xba8b9a[_0x159ad7++],_0x313cf3[0x2]=_0xba8b9a[_0x159ad7++],_0x313cf3[0x3]=_0xba8b9a[_0x159ad7++]),_0x8907bd=(_0x313cf3[0x0]|_0x313cf3[0x1]|_0x313cf3[0x2]|_0x313cf3[0x3])===0x0,_0x17231a=0x6);let _0xbaff9b;typeof _0x27921e==_0xedee(0x284)?(!_0x1916c6[_0xedee(0x2b2)]||_0x8907bd)&&_0x1916c6[_0x18dbb2]!==void 0x0?_0xbaff9b=_0x1916c6[_0x18dbb2]:(_0x27921e=Buffer[_0xedee(0x2f0)](_0x27921e),_0xbaff9b=_0x27921e[_0xedee(0x2d8)]):(_0xbaff9b=_0x27921e['length'],_0x1982e5=_0x1916c6[_0xedee(0x2b2)]&&_0x1916c6[_0xedee(0x289)]&&!_0x8907bd);let _0x2fa891=_0xbaff9b;_0xbaff9b>=0x10000?(_0x17231a+=0x8,_0x2fa891=0x7f):_0xbaff9b>0x7d&&(_0x17231a+=0x2,_0x2fa891=0x7e);const _0x149f2c=Buffer['allocUnsafe'](_0x1982e5?_0xbaff9b+_0x17231a:_0x17231a);return _0x149f2c[0x0]=_0x1916c6[_0xedee(0x326)]?_0x1916c6[_0xedee(0x20f)]|0x80:_0x1916c6['opcode'],_0x1916c6[_0xedee(0x36f)]&&(_0x149f2c[0x0]|=0x40),_0x149f2c[0x1]=_0x2fa891,_0x2fa891===0x7e?_0x149f2c[_0xedee(0x2bc)](_0xbaff9b,0x2):_0x2fa891===0x7f&&(_0x149f2c[0x2]=_0x149f2c[0x3]=0x0,_0x149f2c['writeUIntBE'](_0xbaff9b,0x4,0x6)),_0x1916c6[_0xedee(0x2b2)]?(_0x149f2c[0x1]|=0x80,_0x149f2c[_0x17231a-0x4]=_0x313cf3[0x0],_0x149f2c[_0x17231a-0x3]=_0x313cf3[0x1],_0x149f2c[_0x17231a-0x2]=_0x313cf3[0x2],_0x149f2c[_0x17231a-0x1]=_0x313cf3[0x3],_0x8907bd?[_0x149f2c,_0x27921e]:_0x1982e5?(_0xcc58b1(_0x27921e,_0x313cf3,_0x149f2c,_0x17231a,_0xbaff9b),[_0x149f2c]):(_0xcc58b1(_0x27921e,_0x313cf3,_0x27921e,0x0,_0xbaff9b),[_0x149f2c,_0x27921e])):[_0x149f2c,_0x27921e];}[_0x4f83f0(0x307)](_0x4a5258,_0xeaf1cb,_0x3e210b,_0x131b89){const _0x47d4c6=_0x4f83f0;let _0x2e9b5f;if(_0x4a5258===void 0x0)_0x2e9b5f=_0x4644dc;else{if(typeof _0x4a5258!=_0x47d4c6(0x2c5)||!_0x2a89f7(_0x4a5258))throw new TypeError(_0x47d4c6(0x28a));if(_0xeaf1cb===void 0x0||!_0xeaf1cb[_0x47d4c6(0x2d8)])_0x2e9b5f=Buffer[_0x47d4c6(0x2f9)](0x2),_0x2e9b5f[_0x47d4c6(0x2bc)](_0x4a5258,0x0);else{const _0x31df60=Buffer[_0x47d4c6(0x1da)](_0xeaf1cb);if(_0x31df60>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x2e9b5f=Buffer[_0x47d4c6(0x2f9)](0x2+_0x31df60),_0x2e9b5f[_0x47d4c6(0x2bc)](_0x4a5258,0x0),typeof _0xeaf1cb==_0x47d4c6(0x284)?_0x2e9b5f[_0x47d4c6(0x1c8)](_0xeaf1cb,0x2):_0x2e9b5f[_0x47d4c6(0x2c7)](_0xeaf1cb,0x2);}}const _0xf9671e={[_0x18dbb2]:_0x2e9b5f[_0x47d4c6(0x2d8)],'fin':!0x0,'generateMask':this[_0x47d4c6(0x298)],'mask':_0x3e210b,'maskBuffer':this[_0x47d4c6(0x28d)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x47d4c6(0x378)]!==_0x586db4?this[_0x47d4c6(0x355)]([this['dispatch'],_0x2e9b5f,!0x1,_0xf9671e,_0x131b89]):this[_0x47d4c6(0x316)](_0x60b619[_0x47d4c6(0x343)](_0x2e9b5f,_0xf9671e),_0x131b89);}[_0x4f83f0(0x240)](_0x9ae83c,_0xb03c44,_0x3a4d2b){const _0x1ee2f9=_0x4f83f0;let _0x57b95b,_0x4b3199;if(typeof _0x9ae83c==_0x1ee2f9(0x284)?(_0x57b95b=Buffer['byteLength'](_0x9ae83c),_0x4b3199=!0x1):_0x12bd6c(_0x9ae83c)?(_0x57b95b=_0x9ae83c[_0x1ee2f9(0x2ac)],_0x4b3199=!0x1):(_0x9ae83c=_0x5a106a(_0x9ae83c),_0x57b95b=_0x9ae83c[_0x1ee2f9(0x2d8)],_0x4b3199=_0x5a106a[_0x1ee2f9(0x289)]),_0x57b95b>0x7d)throw new RangeError(_0x1ee2f9(0x338));const _0xdacaae={[_0x18dbb2]:_0x57b95b,'fin':!0x0,'generateMask':this[_0x1ee2f9(0x298)],'mask':_0xb03c44,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x4b3199,'rsv1':!0x1};_0x12bd6c(_0x9ae83c)?this['_state']!==_0x586db4?this[_0x1ee2f9(0x355)]([this[_0x1ee2f9(0x1f9)],_0x9ae83c,!0x1,_0xdacaae,_0x3a4d2b]):this[_0x1ee2f9(0x1f9)](_0x9ae83c,!0x1,_0xdacaae,_0x3a4d2b):this[_0x1ee2f9(0x378)]!==_0x586db4?this['enqueue']([this[_0x1ee2f9(0x2ff)],_0x9ae83c,!0x1,_0xdacaae,_0x3a4d2b]):this[_0x1ee2f9(0x316)](_0x60b619[_0x1ee2f9(0x343)](_0x9ae83c,_0xdacaae),_0x3a4d2b);}[_0x4f83f0(0x271)](_0x4ecc40,_0x294fb7,_0x1feaa0){const _0x176e54=_0x4f83f0;let _0x19a67c,_0x70e72c;if(typeof _0x4ecc40==_0x176e54(0x284)?(_0x19a67c=Buffer[_0x176e54(0x1da)](_0x4ecc40),_0x70e72c=!0x1):_0x12bd6c(_0x4ecc40)?(_0x19a67c=_0x4ecc40[_0x176e54(0x2ac)],_0x70e72c=!0x1):(_0x4ecc40=_0x5a106a(_0x4ecc40),_0x19a67c=_0x4ecc40[_0x176e54(0x2d8)],_0x70e72c=_0x5a106a[_0x176e54(0x289)]),_0x19a67c>0x7d)throw new RangeError(_0x176e54(0x338));const _0x3ad1ee={[_0x18dbb2]:_0x19a67c,'fin':!0x0,'generateMask':this[_0x176e54(0x298)],'mask':_0x294fb7,'maskBuffer':this[_0x176e54(0x28d)],'opcode':0xa,'readOnly':_0x70e72c,'rsv1':!0x1};_0x12bd6c(_0x4ecc40)?this['_state']!==_0x586db4?this['enqueue']([this[_0x176e54(0x1f9)],_0x4ecc40,!0x1,_0x3ad1ee,_0x1feaa0]):this[_0x176e54(0x1f9)](_0x4ecc40,!0x1,_0x3ad1ee,_0x1feaa0):this['_state']!==_0x586db4?this[_0x176e54(0x355)]([this[_0x176e54(0x2ff)],_0x4ecc40,!0x1,_0x3ad1ee,_0x1feaa0]):this[_0x176e54(0x316)](_0x60b619[_0x176e54(0x343)](_0x4ecc40,_0x3ad1ee),_0x1feaa0);}[_0x4f83f0(0x344)](_0x565021,_0x39de94,_0x5b6681){const _0x49d240=_0x4f83f0,_0x4bd33f=this['_extensions'][_0x1bc92b['extensionName']];let _0xed598b=_0x39de94[_0x49d240(0x27d)]?0x2:0x1,_0x6c5edb=_0x39de94[_0x49d240(0x1d0)],_0x3dc7c6,_0xe639b0;typeof _0x565021==_0x49d240(0x284)?(_0x3dc7c6=Buffer[_0x49d240(0x1da)](_0x565021),_0xe639b0=!0x1):_0x12bd6c(_0x565021)?(_0x3dc7c6=_0x565021[_0x49d240(0x2ac)],_0xe639b0=!0x1):(_0x565021=_0x5a106a(_0x565021),_0x3dc7c6=_0x565021[_0x49d240(0x2d8)],_0xe639b0=_0x5a106a[_0x49d240(0x289)]),this[_0x49d240(0x248)]?(this['_firstFragment']=!0x1,_0x6c5edb&&_0x4bd33f&&_0x4bd33f['params'][_0x4bd33f['_isServer']?'server_no_context_takeover':'client_no_context_takeover']&&(_0x6c5edb=_0x3dc7c6>=_0x4bd33f[_0x49d240(0x35b)]),this[_0x49d240(0x1d6)]=_0x6c5edb):(_0x6c5edb=!0x1,_0xed598b=0x0),_0x39de94['fin']&&(this[_0x49d240(0x248)]=!0x0);const _0x42bed3={[_0x18dbb2]:_0x3dc7c6,'fin':_0x39de94[_0x49d240(0x326)],'generateMask':this['_generateMask'],'mask':_0x39de94[_0x49d240(0x2b2)],'maskBuffer':this[_0x49d240(0x28d)],'opcode':_0xed598b,'readOnly':_0xe639b0,'rsv1':_0x6c5edb};_0x12bd6c(_0x565021)?this[_0x49d240(0x378)]!==_0x586db4?this[_0x49d240(0x355)]([this['getBlobData'],_0x565021,this[_0x49d240(0x1d6)],_0x42bed3,_0x5b6681]):this[_0x49d240(0x1f9)](_0x565021,this['_compress'],_0x42bed3,_0x5b6681):this[_0x49d240(0x378)]!==_0x586db4?this[_0x49d240(0x355)]([this['dispatch'],_0x565021,this[_0x49d240(0x1d6)],_0x42bed3,_0x5b6681]):this[_0x49d240(0x2ff)](_0x565021,this['_compress'],_0x42bed3,_0x5b6681);}[_0x4f83f0(0x1f9)](_0x476bd7,_0x5e06df,_0x14d5f2,_0x1cba61){const _0x223856=_0x4f83f0;this[_0x223856(0x234)]+=_0x14d5f2[_0x18dbb2],this['_state']=_0x5470e6,_0x476bd7[_0x223856(0x1f8)]()[_0x223856(0x1ef)](_0x2dc04f=>{const _0x59e79d=_0x223856;if(this[_0x59e79d(0x317)]['destroyed']){const _0x5c73bb=new Error(_0x59e79d(0x254));process[_0x59e79d(0x314)](_0x4174bf,this,_0x5c73bb,_0x1cba61);return;}this['_bufferedBytes']-=_0x14d5f2[_0x18dbb2];const _0x5dac1d=_0x5a106a(_0x2dc04f);_0x5e06df?this['dispatch'](_0x5dac1d,_0x5e06df,_0x14d5f2,_0x1cba61):(this[_0x59e79d(0x378)]=_0x586db4,this[_0x59e79d(0x316)](_0x60b619['frame'](_0x5dac1d,_0x14d5f2),_0x1cba61),this['dequeue']());})[_0x223856(0x293)](_0x4f54dd=>{process['nextTick'](_0x2d8404,this,_0x4f54dd,_0x1cba61);});}[_0x4f83f0(0x2ff)](_0x1571b3,_0x3675c8,_0x8ca144,_0x53ebca){const _0x47b3f8=_0x4f83f0;if(!_0x3675c8){this[_0x47b3f8(0x316)](_0x60b619[_0x47b3f8(0x343)](_0x1571b3,_0x8ca144),_0x53ebca);return;}const _0x5af4a8=this[_0x47b3f8(0x230)][_0x1bc92b[_0x47b3f8(0x2e8)]];this['_bufferedBytes']+=_0x8ca144[_0x18dbb2],this['_state']=_0x32987d,_0x5af4a8[_0x47b3f8(0x1d0)](_0x1571b3,_0x8ca144[_0x47b3f8(0x326)],(_0x2869d9,_0x2c7c9d)=>{const _0x195114=_0x47b3f8;if(this[_0x195114(0x317)][_0x195114(0x2dc)]){const _0x2aefbb=new Error(_0x195114(0x2b1));_0x4174bf(this,_0x2aefbb,_0x53ebca);return;}this[_0x195114(0x234)]-=_0x8ca144[_0x18dbb2],this[_0x195114(0x378)]=_0x586db4,_0x8ca144[_0x195114(0x289)]=!0x1,this['sendFrame'](_0x60b619[_0x195114(0x343)](_0x2c7c9d,_0x8ca144),_0x53ebca),this[_0x195114(0x220)]();});}[_0x4f83f0(0x220)](){const _0x1b934c=_0x4f83f0;for(;this[_0x1b934c(0x378)]===_0x586db4&&this['_queue'][_0x1b934c(0x2d8)];){const _0xd7d04=this['_queue'][_0x1b934c(0x34b)]();this[_0x1b934c(0x234)]-=_0xd7d04[0x3][_0x18dbb2],Reflect[_0x1b934c(0x2b8)](_0xd7d04[0x0],this,_0xd7d04['slice'](0x1));}}[_0x4f83f0(0x355)](_0x1a8bbb){const _0x5bbb1c=_0x4f83f0;this[_0x5bbb1c(0x234)]+=_0x1a8bbb[0x3][_0x18dbb2],this['_queue'][_0x5bbb1c(0x2c4)](_0x1a8bbb);}[_0x4f83f0(0x316)](_0x445ff0,_0x3c7573){const _0x1b6236=_0x4f83f0;_0x445ff0[_0x1b6236(0x2d8)]===0x2?(this[_0x1b6236(0x317)][_0x1b6236(0x24b)](),this['_socket'][_0x1b6236(0x1c8)](_0x445ff0[0x0]),this['_socket'][_0x1b6236(0x1c8)](_0x445ff0[0x1],_0x3c7573),this[_0x1b6236(0x317)][_0x1b6236(0x332)]()):this[_0x1b6236(0x317)][_0x1b6236(0x1c8)](_0x445ff0[0x0],_0x3c7573);}}Ee=_0x60b619;function _0x4174bf(_0x52961a,_0x27c69c,_0x465f3c){const _0x3c789e=_0x4f83f0;typeof _0x465f3c=='function'&&_0x465f3c(_0x27c69c);for(let _0x325eea=0x0;_0x325eea<_0x52961a[_0x3c789e(0x1c6)]['length'];_0x325eea++){const _0x5c4b39=_0x52961a[_0x3c789e(0x1c6)][_0x325eea],_0x468153=_0x5c4b39[_0x5c4b39[_0x3c789e(0x2d8)]-0x1];typeof _0x468153==_0x3c789e(0x28e)&&_0x468153(_0x27c69c);}}function _0x2d8404(_0x17eca0,_0x154d09,_0x4f5874){const _0x241f5a=_0x4f83f0;_0x4174bf(_0x17eca0,_0x154d09,_0x4f5874),_0x17eca0[_0x241f5a(0x32e)](_0x154d09);}return Ee;}var xe,tt;function Kt(){const _0x55adff=_0x260080;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x569c1f,kListener:_0x3cc56e}=V(),_0x14798f=Symbol(_0x55adff(0x30a)),_0x272a6c=Symbol(_0x55adff(0x369)),_0x1aebf5=Symbol(_0x55adff(0x2e9)),_0x32ca9e=Symbol(_0x55adff(0x26e)),_0x511748=Symbol(_0x55adff(0x269)),_0x3b54f0=Symbol('kTarget'),_0x4946c3=Symbol(_0x55adff(0x36e)),_0x351443=Symbol(_0x55adff(0x2a1));class _0x8d6814{constructor(_0x41d317){this[_0x3b54f0]=null,this[_0x4946c3]=_0x41d317;}get[_0x55adff(0x377)](){return this[_0x3b54f0];}get[_0x55adff(0x2b7)](){return this[_0x4946c3];}}Object[_0x55adff(0x2b0)](_0x8d6814[_0x55adff(0x362)],'target',{'enumerable':!0x0}),Object[_0x55adff(0x2b0)](_0x8d6814[_0x55adff(0x362)],_0x55adff(0x2b7),{'enumerable':!0x0});class _0x9fee82 extends _0x8d6814{constructor(_0x43ecc2,_0x4ef29a={}){const _0x4303fb=_0x55adff;super(_0x43ecc2),this[_0x14798f]=_0x4ef29a['code']===void 0x0?0x0:_0x4ef29a[_0x4303fb(0x212)],this[_0x511748]=_0x4ef29a[_0x4303fb(0x2fe)]===void 0x0?'':_0x4ef29a[_0x4303fb(0x2fe)],this[_0x351443]=_0x4ef29a['wasClean']===void 0x0?!0x1:_0x4ef29a['wasClean'];}get['code'](){return this[_0x14798f];}get['reason'](){return this[_0x511748];}get[_0x55adff(0x2a8)](){return this[_0x351443];}}Object[_0x55adff(0x2b0)](_0x9fee82[_0x55adff(0x362)],'code',{'enumerable':!0x0}),Object[_0x55adff(0x2b0)](_0x9fee82[_0x55adff(0x362)],_0x55adff(0x2fe),{'enumerable':!0x0}),Object[_0x55adff(0x2b0)](_0x9fee82[_0x55adff(0x362)],'wasClean',{'enumerable':!0x0});class _0x46eb44 extends _0x8d6814{constructor(_0xab53b5,_0x384541={}){const _0x39f440=_0x55adff;super(_0xab53b5),this[_0x1aebf5]=_0x384541['error']===void 0x0?null:_0x384541[_0x39f440(0x2a2)],this[_0x32ca9e]=_0x384541[_0x39f440(0x288)]===void 0x0?'':_0x384541[_0x39f440(0x288)];}get[_0x55adff(0x2a2)](){return this[_0x1aebf5];}get[_0x55adff(0x288)](){return this[_0x32ca9e];}}Object['defineProperty'](_0x46eb44[_0x55adff(0x362)],'error',{'enumerable':!0x0}),Object[_0x55adff(0x2b0)](_0x46eb44[_0x55adff(0x362)],_0x55adff(0x288),{'enumerable':!0x0});class _0x36066a extends _0x8d6814{constructor(_0x2639d2,_0x5a2894={}){const _0x2e9f0e=_0x55adff;super(_0x2639d2),this[_0x272a6c]=_0x5a2894[_0x2e9f0e(0x337)]===void 0x0?null:_0x5a2894[_0x2e9f0e(0x337)];}get[_0x55adff(0x337)](){return this[_0x272a6c];}}Object[_0x55adff(0x2b0)](_0x36066a['prototype'],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x9fee82,'ErrorEvent':_0x46eb44,'Event':_0x8d6814,'EventTarget':{'addEventListener'(_0x564c9c,_0x28b10f,_0x25d1b3={}){const _0x1364f2=_0x55adff;for(const _0x58f037 of this[_0x1364f2(0x342)](_0x564c9c))if(!_0x25d1b3[_0x569c1f]&&_0x58f037[_0x3cc56e]===_0x28b10f&&!_0x58f037[_0x569c1f])return;let _0x3186c5;if(_0x564c9c===_0x1364f2(0x288))_0x3186c5=function(_0x3f2b09,_0x5c6b46){const _0x5349d4=_0x1364f2,_0x46d88f=new _0x36066a(_0x5349d4(0x288),{'data':_0x5c6b46?_0x3f2b09:_0x3f2b09['toString']()});_0x46d88f[_0x3b54f0]=this,_0x3b6eb6(_0x28b10f,this,_0x46d88f);};else{if(_0x564c9c===_0x1364f2(0x307))_0x3186c5=function(_0x1bbb88,_0x448343){const _0x68ea25=_0x1364f2,_0x700673=new _0x9fee82(_0x68ea25(0x307),{'code':_0x1bbb88,'reason':_0x448343[_0x68ea25(0x26f)](),'wasClean':this[_0x68ea25(0x250)]&&this[_0x68ea25(0x214)]});_0x700673[_0x3b54f0]=this,_0x3b6eb6(_0x28b10f,this,_0x700673);};else{if(_0x564c9c===_0x1364f2(0x2a2))_0x3186c5=function(_0xc4c77e){const _0x957874=_0x1364f2,_0x587c8a=new _0x46eb44(_0x957874(0x2a2),{'error':_0xc4c77e,'message':_0xc4c77e['message']});_0x587c8a[_0x3b54f0]=this,_0x3b6eb6(_0x28b10f,this,_0x587c8a);};else{if(_0x564c9c===_0x1364f2(0x26a))_0x3186c5=function(){const _0x1f977b=_0x1364f2,_0x5ad470=new _0x8d6814(_0x1f977b(0x26a));_0x5ad470[_0x3b54f0]=this,_0x3b6eb6(_0x28b10f,this,_0x5ad470);};else return;}}}_0x3186c5[_0x569c1f]=!!_0x25d1b3[_0x569c1f],_0x3186c5[_0x3cc56e]=_0x28b10f,_0x25d1b3[_0x1364f2(0x215)]?this['once'](_0x564c9c,_0x3186c5):this['on'](_0x564c9c,_0x3186c5);},'removeEventListener'(_0x4a1335,_0x54dde8){const _0x1fb5a4=_0x55adff;for(const _0x558001 of this[_0x1fb5a4(0x342)](_0x4a1335))if(_0x558001[_0x3cc56e]===_0x54dde8&&!_0x558001[_0x569c1f]){this[_0x1fb5a4(0x2a6)](_0x4a1335,_0x558001);break;}}},'MessageEvent':_0x36066a};function _0x3b6eb6(_0x42d8f3,_0x3b239e,_0x5ced05){const _0x3f30db=_0x55adff;typeof _0x42d8f3==_0x3f30db(0x2e5)&&_0x42d8f3[_0x3f30db(0x1de)]?_0x42d8f3[_0x3f30db(0x1de)]['call'](_0x42d8f3,_0x5ced05):_0x42d8f3[_0x3f30db(0x33e)](_0x3b239e,_0x5ced05);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x51f0d4}=ne();function _0x26baae(_0x1238a3,_0x167cf1,_0x29d013){const _0x18b176=_0x3a46;_0x1238a3[_0x167cf1]===void 0x0?_0x1238a3[_0x167cf1]=[_0x29d013]:_0x1238a3[_0x167cf1][_0x18b176(0x2c4)](_0x29d013);}function _0x58cd25(_0x5a307c){const _0x33e8a5=_0x3a46,_0x3ea731=Object['create'](null);let _0x446230=Object['create'](null),_0xe7a4d3=!0x1,_0x5e04d0=!0x1,_0xdc2444=!0x1,_0x1c2a61,_0x22b77d,_0x3cb68e=-0x1,_0x48fa00=-0x1,_0x2d5787=-0x1,_0xd24de0=0x0;for(;_0xd24de0<_0x5a307c[_0x33e8a5(0x2d8)];_0xd24de0++)if(_0x48fa00=_0x5a307c[_0x33e8a5(0x34a)](_0xd24de0),_0x1c2a61===void 0x0){if(_0x2d5787===-0x1&&_0x51f0d4[_0x48fa00]===0x1)_0x3cb68e===-0x1&&(_0x3cb68e=_0xd24de0);else{if(_0xd24de0!==0x0&&(_0x48fa00===0x20||_0x48fa00===0x9))_0x2d5787===-0x1&&_0x3cb68e!==-0x1&&(_0x2d5787=_0xd24de0);else{if(_0x48fa00===0x3b||_0x48fa00===0x2c){if(_0x3cb68e===-0x1)throw new SyntaxError(_0x33e8a5(0x1ea)+_0xd24de0);_0x2d5787===-0x1&&(_0x2d5787=_0xd24de0);const _0x46f5c0=_0x5a307c[_0x33e8a5(0x333)](_0x3cb68e,_0x2d5787);_0x48fa00===0x2c?(_0x26baae(_0x3ea731,_0x46f5c0,_0x446230),_0x446230=Object[_0x33e8a5(0x200)](null)):_0x1c2a61=_0x46f5c0,_0x3cb68e=_0x2d5787=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xd24de0);}}}else{if(_0x22b77d===void 0x0){if(_0x2d5787===-0x1&&_0x51f0d4[_0x48fa00]===0x1)_0x3cb68e===-0x1&&(_0x3cb68e=_0xd24de0);else{if(_0x48fa00===0x20||_0x48fa00===0x9)_0x2d5787===-0x1&&_0x3cb68e!==-0x1&&(_0x2d5787=_0xd24de0);else{if(_0x48fa00===0x3b||_0x48fa00===0x2c){if(_0x3cb68e===-0x1)throw new SyntaxError(_0x33e8a5(0x1ea)+_0xd24de0);_0x2d5787===-0x1&&(_0x2d5787=_0xd24de0),_0x26baae(_0x446230,_0x5a307c[_0x33e8a5(0x333)](_0x3cb68e,_0x2d5787),!0x0),_0x48fa00===0x2c&&(_0x26baae(_0x3ea731,_0x1c2a61,_0x446230),_0x446230=Object[_0x33e8a5(0x200)](null),_0x1c2a61=void 0x0),_0x3cb68e=_0x2d5787=-0x1;}else{if(_0x48fa00===0x3d&&_0x3cb68e!==-0x1&&_0x2d5787===-0x1)_0x22b77d=_0x5a307c['slice'](_0x3cb68e,_0xd24de0),_0x3cb68e=_0x2d5787=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xd24de0);}}}}else{if(_0x5e04d0){if(_0x51f0d4[_0x48fa00]!==0x1)throw new SyntaxError(_0x33e8a5(0x1ea)+_0xd24de0);_0x3cb68e===-0x1?_0x3cb68e=_0xd24de0:_0xe7a4d3||(_0xe7a4d3=!0x0),_0x5e04d0=!0x1;}else{if(_0xdc2444){if(_0x51f0d4[_0x48fa00]===0x1)_0x3cb68e===-0x1&&(_0x3cb68e=_0xd24de0);else{if(_0x48fa00===0x22&&_0x3cb68e!==-0x1)_0xdc2444=!0x1,_0x2d5787=_0xd24de0;else{if(_0x48fa00===0x5c)_0x5e04d0=!0x0;else throw new SyntaxError(_0x33e8a5(0x1ea)+_0xd24de0);}}}else{if(_0x48fa00===0x22&&_0x5a307c['charCodeAt'](_0xd24de0-0x1)===0x3d)_0xdc2444=!0x0;else{if(_0x2d5787===-0x1&&_0x51f0d4[_0x48fa00]===0x1)_0x3cb68e===-0x1&&(_0x3cb68e=_0xd24de0);else{if(_0x3cb68e!==-0x1&&(_0x48fa00===0x20||_0x48fa00===0x9))_0x2d5787===-0x1&&(_0x2d5787=_0xd24de0);else{if(_0x48fa00===0x3b||_0x48fa00===0x2c){if(_0x3cb68e===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xd24de0);_0x2d5787===-0x1&&(_0x2d5787=_0xd24de0);let _0x37027c=_0x5a307c[_0x33e8a5(0x333)](_0x3cb68e,_0x2d5787);_0xe7a4d3&&(_0x37027c=_0x37027c[_0x33e8a5(0x277)](/\\/g,''),_0xe7a4d3=!0x1),_0x26baae(_0x446230,_0x22b77d,_0x37027c),_0x48fa00===0x2c&&(_0x26baae(_0x3ea731,_0x1c2a61,_0x446230),_0x446230=Object[_0x33e8a5(0x200)](null),_0x1c2a61=void 0x0),_0x22b77d=void 0x0,_0x3cb68e=_0x2d5787=-0x1;}else throw new SyntaxError(_0x33e8a5(0x1ea)+_0xd24de0);}}}}}}}if(_0x3cb68e===-0x1||_0xdc2444||_0x48fa00===0x20||_0x48fa00===0x9)throw new SyntaxError(_0x33e8a5(0x243));_0x2d5787===-0x1&&(_0x2d5787=_0xd24de0);const _0x3ce159=_0x5a307c[_0x33e8a5(0x333)](_0x3cb68e,_0x2d5787);return _0x1c2a61===void 0x0?_0x26baae(_0x3ea731,_0x3ce159,_0x446230):(_0x22b77d===void 0x0?_0x26baae(_0x446230,_0x3ce159,!0x0):_0xe7a4d3?_0x26baae(_0x446230,_0x22b77d,_0x3ce159[_0x33e8a5(0x277)](/\\/g,'')):_0x26baae(_0x446230,_0x22b77d,_0x3ce159),_0x26baae(_0x3ea731,_0x1c2a61,_0x446230)),_0x3ea731;}function _0x5ed847(_0x2b0390){const _0x240a50=_0x3a46;return Object[_0x240a50(0x36d)](_0x2b0390)['map'](_0x4e805b=>{const _0x55117f=_0x240a50;let _0x4bb614=_0x2b0390[_0x4e805b];return Array[_0x55117f(0x327)](_0x4bb614)||(_0x4bb614=[_0x4bb614]),_0x4bb614['map'](_0x237ef8=>[_0x4e805b][_0x55117f(0x1d3)](Object[_0x55117f(0x36d)](_0x237ef8)[_0x55117f(0x210)](_0x140355=>{const _0x3cf4e0=_0x55117f;let _0x3b6018=_0x237ef8[_0x140355];return Array[_0x3cf4e0(0x327)](_0x3b6018)||(_0x3b6018=[_0x3b6018]),_0x3b6018[_0x3cf4e0(0x210)](_0x28633c=>_0x28633c===!0x0?_0x140355:_0x140355+'='+_0x28633c)[_0x3cf4e0(0x1f7)](';\x20');}))[_0x55117f(0x1f7)](';\x20'))['join'](',\x20');})['join'](',\x20');}return be={'format':_0x5ed847,'parse':_0x58cd25},be;}var we,st;function Ie(){const _0x227389=_0x260080;if(st)return we;st=0x1;const _0x41521=_0x5ac337,_0xa5da46=_0xd6b7a8,_0xc0c4f=_0x196a11,_0xfdf637=_0x2f195b,_0x2410f3=_0x362865,{randomBytes:_0x52e497,createHash:_0xc0765c}=_0x4b695b,{Duplex:_0x10cb7b,Readable:_0x90ca5b}=_0x1a59cd,{URL:_0x304e34}=_0x1092e8,_0x39eda9=he(),_0xf90662=dt(),_0x48493e=_t(),{isBlob:_0x492c7b}=ne(),{BINARY_TYPES:_0x1a096b,EMPTY_BUFFER:_0x3a49b9,GUID:_0x26f5ec,kForOnEventAttribute:_0x84bb7e,kListener:_0x35de33,kStatusCode:_0x401dfd,kWebSocket:_0x2592ea,NOOP:_0x1a6095}=V(),{EventTarget:{addEventListener:_0x153672,removeEventListener:_0x2340df}}=Kt(),{format:_0x18c792,parse:_0x1c6c11}=pt(),{toBuffer:_0xffbd92}=ce(),_0x2cdd69=0x1e*0x3e8,_0x158247=Symbol(_0x227389(0x221)),_0x558e80=[0x8,0xd],_0x3d8d6a=[_0x227389(0x260),_0x227389(0x372),_0x227389(0x1e2),_0x227389(0x376)],_0x139348=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x4bc525 extends _0x41521{constructor(_0x43829c,_0x4a9d48,_0x11d1cc){const _0x2dc05b=_0x227389;super(),this[_0x2dc05b(0x31f)]=_0x1a096b[0x0],this[_0x2dc05b(0x36b)]=0x3ee,this[_0x2dc05b(0x250)]=!0x1,this['_closeFrameSent']=!0x1,this[_0x2dc05b(0x281)]=_0x3a49b9,this[_0x2dc05b(0x225)]=null,this[_0x2dc05b(0x1df)]=!0x1,this['_extensions']={},this[_0x2dc05b(0x323)]=!0x1,this[_0x2dc05b(0x1e1)]='',this[_0x2dc05b(0x340)]=_0x4bc525['CONNECTING'],this['_receiver']=null,this[_0x2dc05b(0x302)]=null,this[_0x2dc05b(0x317)]=null,_0x43829c!==null?(this[_0x2dc05b(0x1c9)]=0x0,this[_0x2dc05b(0x2fa)]=!0x1,this[_0x2dc05b(0x24d)]=0x0,_0x4a9d48===void 0x0?_0x4a9d48=[]:Array[_0x2dc05b(0x327)](_0x4a9d48)||(typeof _0x4a9d48==_0x2dc05b(0x2e5)&&_0x4a9d48!==null?(_0x11d1cc=_0x4a9d48,_0x4a9d48=[]):_0x4a9d48=[_0x4a9d48]),_0x39f197(this,_0x43829c,_0x4a9d48,_0x11d1cc)):(this[_0x2dc05b(0x315)]=_0x11d1cc['autoPong'],this['_isServer']=!0x0);}get[_0x227389(0x268)](){return this['_binaryType'];}set[_0x227389(0x268)](_0x236a70){const _0x5863ad=_0x227389;_0x1a096b[_0x5863ad(0x320)](_0x236a70)&&(this['_binaryType']=_0x236a70,this[_0x5863ad(0x345)]&&(this[_0x5863ad(0x345)][_0x5863ad(0x31f)]=_0x236a70));}get[_0x227389(0x36a)](){const _0x5c6492=_0x227389;return this['_socket']?this[_0x5c6492(0x317)][_0x5c6492(0x1e7)][_0x5c6492(0x2d8)]+this[_0x5c6492(0x302)]['_bufferedBytes']:this[_0x5c6492(0x1c9)];}get[_0x227389(0x37e)](){const _0x18f1f9=_0x227389;return Object[_0x18f1f9(0x36d)](this[_0x18f1f9(0x230)])[_0x18f1f9(0x1f7)]();}get['isPaused'](){const _0x15b037=_0x227389;return this[_0x15b037(0x323)];}get[_0x227389(0x2e2)](){return null;}get[_0x227389(0x32e)](){return null;}get[_0x227389(0x33c)](){return null;}get[_0x227389(0x2d2)](){return null;}get[_0x227389(0x263)](){const _0x4a694c=_0x227389;return this[_0x4a694c(0x1e1)];}get[_0x227389(0x36c)](){const _0x1f47e5=_0x227389;return this[_0x1f47e5(0x340)];}get[_0x227389(0x2bd)](){return this['_url'];}[_0x227389(0x27a)](_0x19ef74,_0x124fa2,_0x2d592f){const _0x75c8d0=_0x227389,_0x1d818a=new _0xf90662({'allowSynchronousEvents':_0x2d592f['allowSynchronousEvents'],'binaryType':this[_0x75c8d0(0x268)],'extensions':this[_0x75c8d0(0x230)],'isServer':this['_isServer'],'maxPayload':_0x2d592f['maxPayload'],'skipUTF8Validation':_0x2d592f[_0x75c8d0(0x1cc)]}),_0x346548=new _0x48493e(_0x19ef74,this[_0x75c8d0(0x230)],_0x2d592f[_0x75c8d0(0x29c)]);this[_0x75c8d0(0x345)]=_0x1d818a,this['_sender']=_0x346548,this[_0x75c8d0(0x317)]=_0x19ef74,_0x1d818a[_0x2592ea]=this,_0x346548[_0x2592ea]=this,_0x19ef74[_0x2592ea]=this,_0x1d818a['on'](_0x75c8d0(0x1d1),_0x42184d),_0x1d818a['on'](_0x75c8d0(0x25d),_0x22d0f6),_0x1d818a['on'](_0x75c8d0(0x2a2),_0x8c3c1a),_0x1d818a['on'](_0x75c8d0(0x288),_0x296eea),_0x1d818a['on']('ping',_0x299188),_0x1d818a['on'](_0x75c8d0(0x271),_0xc1fc13),_0x346548['onerror']=_0x523241,_0x19ef74['setTimeout']&&_0x19ef74[_0x75c8d0(0x1ec)](0x0),_0x19ef74[_0x75c8d0(0x32b)]&&_0x19ef74['setNoDelay'](),_0x124fa2[_0x75c8d0(0x2d8)]>0x0&&_0x19ef74[_0x75c8d0(0x1ce)](_0x124fa2),_0x19ef74['on'](_0x75c8d0(0x307),_0x54ab10),_0x19ef74['on'](_0x75c8d0(0x337),_0x3c164b),_0x19ef74['on'](_0x75c8d0(0x25c),_0x3905bd),_0x19ef74['on'](_0x75c8d0(0x2a2),_0x536c46),this[_0x75c8d0(0x340)]=_0x4bc525[_0x75c8d0(0x372)],this[_0x75c8d0(0x27f)]('open');}[_0x227389(0x368)](){const _0x2bdb91=_0x227389;if(!this[_0x2bdb91(0x317)]){this[_0x2bdb91(0x340)]=_0x4bc525[_0x2bdb91(0x376)],this['emit'](_0x2bdb91(0x307),this[_0x2bdb91(0x36b)],this[_0x2bdb91(0x281)]);return;}this[_0x2bdb91(0x230)][_0x39eda9[_0x2bdb91(0x2e8)]]&&this['_extensions'][_0x39eda9[_0x2bdb91(0x2e8)]][_0x2bdb91(0x203)](),this[_0x2bdb91(0x345)][_0x2bdb91(0x2b9)](),this[_0x2bdb91(0x340)]=_0x4bc525[_0x2bdb91(0x376)],this['emit'](_0x2bdb91(0x307),this['_closeCode'],this[_0x2bdb91(0x281)]);}[_0x227389(0x307)](_0x50f100,_0x533d14){const _0x1f2a34=_0x227389;if(this[_0x1f2a34(0x36c)]!==_0x4bc525[_0x1f2a34(0x376)]){if(this[_0x1f2a34(0x36c)]===_0x4bc525[_0x1f2a34(0x260)]){_0x3506ac(this,this[_0x1f2a34(0x216)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this['readyState']===_0x4bc525[_0x1f2a34(0x1e2)]){this['_closeFrameSent']&&(this[_0x1f2a34(0x250)]||this['_receiver'][_0x1f2a34(0x1e7)][_0x1f2a34(0x241)])&&this[_0x1f2a34(0x317)]['end']();return;}this[_0x1f2a34(0x340)]=_0x4bc525[_0x1f2a34(0x1e2)],this[_0x1f2a34(0x302)][_0x1f2a34(0x307)](_0x50f100,_0x533d14,!this[_0x1f2a34(0x2fa)],_0x1cf53d=>{const _0x4127bf=_0x1f2a34;_0x1cf53d||(this['_closeFrameSent']=!0x0,(this['_closeFrameReceived']||this['_receiver'][_0x4127bf(0x1e7)]['errorEmitted'])&&this[_0x4127bf(0x317)]['end']());}),_0x260954(this);}}[_0x227389(0x283)](){const _0x4955f2=_0x227389;this[_0x4955f2(0x36c)]===_0x4bc525['CONNECTING']||this[_0x4955f2(0x36c)]===_0x4bc525[_0x4955f2(0x376)]||(this[_0x4955f2(0x323)]=!0x0,this[_0x4955f2(0x317)][_0x4955f2(0x283)]());}['ping'](_0x35438b,_0x5daa98,_0x2f84ba){const _0x35b702=_0x227389;if(this[_0x35b702(0x36c)]===_0x4bc525[_0x35b702(0x260)])throw new Error(_0x35b702(0x37a));if(typeof _0x35438b==_0x35b702(0x28e)?(_0x2f84ba=_0x35438b,_0x35438b=_0x5daa98=void 0x0):typeof _0x5daa98==_0x35b702(0x28e)&&(_0x2f84ba=_0x5daa98,_0x5daa98=void 0x0),typeof _0x35438b==_0x35b702(0x2c5)&&(_0x35438b=_0x35438b[_0x35b702(0x26f)]()),this[_0x35b702(0x36c)]!==_0x4bc525[_0x35b702(0x372)]){_0x50fa55(this,_0x35438b,_0x2f84ba);return;}_0x5daa98===void 0x0&&(_0x5daa98=!this['_isServer']),this[_0x35b702(0x302)][_0x35b702(0x240)](_0x35438b||_0x3a49b9,_0x5daa98,_0x2f84ba);}[_0x227389(0x271)](_0x42cc56,_0x16b704,_0x3cf506){const _0x20ecde=_0x227389;if(this['readyState']===_0x4bc525[_0x20ecde(0x260)])throw new Error(_0x20ecde(0x37a));if(typeof _0x42cc56=='function'?(_0x3cf506=_0x42cc56,_0x42cc56=_0x16b704=void 0x0):typeof _0x16b704==_0x20ecde(0x28e)&&(_0x3cf506=_0x16b704,_0x16b704=void 0x0),typeof _0x42cc56=='number'&&(_0x42cc56=_0x42cc56[_0x20ecde(0x26f)]()),this[_0x20ecde(0x36c)]!==_0x4bc525[_0x20ecde(0x372)]){_0x50fa55(this,_0x42cc56,_0x3cf506);return;}_0x16b704===void 0x0&&(_0x16b704=!this[_0x20ecde(0x2fa)]),this['_sender'][_0x20ecde(0x271)](_0x42cc56||_0x3a49b9,_0x16b704,_0x3cf506);}['resume'](){const _0x5de773=_0x227389;this['readyState']===_0x4bc525[_0x5de773(0x260)]||this[_0x5de773(0x36c)]===_0x4bc525[_0x5de773(0x376)]||(this[_0x5de773(0x323)]=!0x1,this[_0x5de773(0x345)][_0x5de773(0x1e7)]['needDrain']||this[_0x5de773(0x317)]['resume']());}[_0x227389(0x344)](_0x25f686,_0xaf37a6,_0x2b9110){const _0x2c3fc=_0x227389;if(this['readyState']===_0x4bc525['CONNECTING'])throw new Error(_0x2c3fc(0x37a));if(typeof _0xaf37a6==_0x2c3fc(0x28e)&&(_0x2b9110=_0xaf37a6,_0xaf37a6={}),typeof _0x25f686==_0x2c3fc(0x2c5)&&(_0x25f686=_0x25f686[_0x2c3fc(0x26f)]()),this[_0x2c3fc(0x36c)]!==_0x4bc525[_0x2c3fc(0x372)]){_0x50fa55(this,_0x25f686,_0x2b9110);return;}const _0x39acdd={'binary':typeof _0x25f686!='string','mask':!this[_0x2c3fc(0x2fa)],'compress':!0x0,'fin':!0x0,..._0xaf37a6};this['_extensions'][_0x39eda9[_0x2c3fc(0x2e8)]]||(_0x39acdd[_0x2c3fc(0x1d0)]=!0x1),this['_sender'][_0x2c3fc(0x344)](_0x25f686||_0x3a49b9,_0x39acdd,_0x2b9110);}[_0x227389(0x2ad)](){const _0x4bd98c=_0x227389;if(this['readyState']!==_0x4bc525['CLOSED']){if(this[_0x4bd98c(0x36c)]===_0x4bc525[_0x4bd98c(0x260)]){_0x3506ac(this,this[_0x4bd98c(0x216)],_0x4bd98c(0x2fc));return;}this[_0x4bd98c(0x317)]&&(this[_0x4bd98c(0x340)]=_0x4bc525[_0x4bd98c(0x1e2)],this[_0x4bd98c(0x317)][_0x4bd98c(0x34f)]());}}}Object[_0x227389(0x2b0)](_0x4bc525,_0x227389(0x260),{'enumerable':!0x0,'value':_0x3d8d6a[_0x227389(0x207)](_0x227389(0x260))}),Object['defineProperty'](_0x4bc525[_0x227389(0x362)],_0x227389(0x260),{'enumerable':!0x0,'value':_0x3d8d6a[_0x227389(0x207)](_0x227389(0x260))}),Object[_0x227389(0x2b0)](_0x4bc525,_0x227389(0x372),{'enumerable':!0x0,'value':_0x3d8d6a[_0x227389(0x207)](_0x227389(0x372))}),Object[_0x227389(0x2b0)](_0x4bc525[_0x227389(0x362)],'OPEN',{'enumerable':!0x0,'value':_0x3d8d6a[_0x227389(0x207)](_0x227389(0x372))}),Object[_0x227389(0x2b0)](_0x4bc525,_0x227389(0x1e2),{'enumerable':!0x0,'value':_0x3d8d6a[_0x227389(0x207)](_0x227389(0x1e2))}),Object[_0x227389(0x2b0)](_0x4bc525[_0x227389(0x362)],_0x227389(0x1e2),{'enumerable':!0x0,'value':_0x3d8d6a[_0x227389(0x207)](_0x227389(0x1e2))}),Object['defineProperty'](_0x4bc525,'CLOSED',{'enumerable':!0x0,'value':_0x3d8d6a[_0x227389(0x207)](_0x227389(0x376))}),Object[_0x227389(0x2b0)](_0x4bc525[_0x227389(0x362)],_0x227389(0x376),{'enumerable':!0x0,'value':_0x3d8d6a[_0x227389(0x207)](_0x227389(0x376))}),[_0x227389(0x268),'bufferedAmount',_0x227389(0x37e),'isPaused','protocol',_0x227389(0x36c),_0x227389(0x2bd)][_0x227389(0x233)](_0x13ece4=>{const _0x27d06d=_0x227389;Object[_0x27d06d(0x2b0)](_0x4bc525['prototype'],_0x13ece4,{'enumerable':!0x0});}),['open',_0x227389(0x2a2),_0x227389(0x307),_0x227389(0x288)][_0x227389(0x233)](_0x1680aa=>{const _0x5d611e=_0x227389;Object[_0x5d611e(0x2b0)](_0x4bc525[_0x5d611e(0x362)],'on'+_0x1680aa,{'enumerable':!0x0,'get'(){const _0x5b2118=_0x5d611e;for(const _0x2a833c of this[_0x5b2118(0x342)](_0x1680aa))if(_0x2a833c[_0x84bb7e])return _0x2a833c[_0x35de33];return null;},'set'(_0x53f317){const _0x239c7c=_0x5d611e;for(const _0x55c6f8 of this['listeners'](_0x1680aa))if(_0x55c6f8[_0x84bb7e]){this[_0x239c7c(0x2a6)](_0x1680aa,_0x55c6f8);break;}typeof _0x53f317==_0x239c7c(0x28e)&&this['addEventListener'](_0x1680aa,_0x53f317,{[_0x84bb7e]:!0x0});}});}),_0x4bc525[_0x227389(0x362)]['addEventListener']=_0x153672,_0x4bc525[_0x227389(0x362)][_0x227389(0x1fc)]=_0x2340df,we=_0x4bc525;function _0x39f197(_0x1cd59f,_0x23151a,_0x4b4c76,_0x5c6836){const _0x19f8f1=_0x227389,_0x122e69={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x558e80[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x5c6836,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x19f8f1(0x267),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x1cd59f[_0x19f8f1(0x315)]=_0x122e69[_0x19f8f1(0x2ea)],!_0x558e80[_0x19f8f1(0x320)](_0x122e69['protocolVersion']))throw new RangeError(_0x19f8f1(0x2c6)+_0x122e69[_0x19f8f1(0x204)]+_0x19f8f1(0x22f)+_0x558e80[_0x19f8f1(0x1f7)](',\x20')+')');let _0x529826;if(_0x23151a instanceof _0x304e34)_0x529826=_0x23151a;else try{_0x529826=new _0x304e34(_0x23151a);}catch{throw new SyntaxError(_0x19f8f1(0x33a)+_0x23151a);}_0x529826['protocol']==='http:'?_0x529826[_0x19f8f1(0x263)]=_0x19f8f1(0x2f8):_0x529826['protocol']===_0x19f8f1(0x2f1)&&(_0x529826[_0x19f8f1(0x263)]='wss:'),_0x1cd59f['_url']=_0x529826[_0x19f8f1(0x211)];const _0x4acec4=_0x529826['protocol']===_0x19f8f1(0x300),_0x5f29f8=_0x529826['protocol']===_0x19f8f1(0x2d1);let _0x272ec7;if(_0x529826[_0x19f8f1(0x263)]!==_0x19f8f1(0x2f8)&&!_0x4acec4&&!_0x5f29f8?_0x272ec7='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':_0x5f29f8&&!_0x529826[_0x19f8f1(0x23c)]?_0x272ec7=_0x19f8f1(0x299):_0x529826[_0x19f8f1(0x364)]&&(_0x272ec7=_0x19f8f1(0x2c8)),_0x272ec7){const _0x4587ed=new SyntaxError(_0x272ec7);if(_0x1cd59f[_0x19f8f1(0x24d)]===0x0)throw _0x4587ed;_0xd9f912(_0x1cd59f,_0x4587ed);return;}const _0x38ae50=_0x4acec4?0x1bb:0x50,_0x56d992=_0x52e497(0x10)[_0x19f8f1(0x26f)](_0x19f8f1(0x308)),_0x128af3=_0x4acec4?_0xa5da46[_0x19f8f1(0x1ee)]:_0xc0c4f[_0x19f8f1(0x1ee)],_0x3514c5=new Set();let _0x3efd33;if(_0x122e69['createConnection']=_0x122e69[_0x19f8f1(0x1d8)]||(_0x4acec4?_0x4db9f6:_0x3473e7),_0x122e69[_0x19f8f1(0x310)]=_0x122e69[_0x19f8f1(0x310)]||_0x38ae50,_0x122e69[_0x19f8f1(0x238)]=_0x529826[_0x19f8f1(0x238)]||_0x38ae50,_0x122e69[_0x19f8f1(0x32f)]=_0x529826[_0x19f8f1(0x335)][_0x19f8f1(0x349)]('[')?_0x529826[_0x19f8f1(0x335)][_0x19f8f1(0x333)](0x1,-0x1):_0x529826[_0x19f8f1(0x335)],_0x122e69[_0x19f8f1(0x375)]={..._0x122e69[_0x19f8f1(0x375)],'Sec-WebSocket-Version':_0x122e69[_0x19f8f1(0x204)],'Sec-WebSocket-Key':_0x56d992,'Connection':_0x19f8f1(0x301),'Upgrade':_0x19f8f1(0x29a)},_0x122e69[_0x19f8f1(0x2e7)]=_0x529826[_0x19f8f1(0x23c)]+_0x529826[_0x19f8f1(0x365)],_0x122e69[_0x19f8f1(0x28c)]=_0x122e69[_0x19f8f1(0x223)],_0x122e69[_0x19f8f1(0x2a0)]&&(_0x3efd33=new _0x39eda9(_0x122e69['perMessageDeflate']!==!0x0?_0x122e69[_0x19f8f1(0x2a0)]:{},!0x1,_0x122e69[_0x19f8f1(0x23f)]),_0x122e69[_0x19f8f1(0x375)]['Sec-WebSocket-Extensions']=_0x18c792({[_0x39eda9[_0x19f8f1(0x2e8)]]:_0x3efd33[_0x19f8f1(0x285)]()})),_0x4b4c76[_0x19f8f1(0x2d8)]){for(const _0x35b15c of _0x4b4c76){if(typeof _0x35b15c!=_0x19f8f1(0x284)||!_0x139348['test'](_0x35b15c)||_0x3514c5[_0x19f8f1(0x1f5)](_0x35b15c))throw new SyntaxError(_0x19f8f1(0x306));_0x3514c5[_0x19f8f1(0x350)](_0x35b15c);}_0x122e69['headers'][_0x19f8f1(0x2a7)]=_0x4b4c76['join'](',');}if(_0x122e69['origin']&&(_0x122e69[_0x19f8f1(0x204)]<0xd?_0x122e69[_0x19f8f1(0x375)][_0x19f8f1(0x373)]=_0x122e69['origin']:_0x122e69[_0x19f8f1(0x375)][_0x19f8f1(0x24a)]=_0x122e69[_0x19f8f1(0x2ec)]),(_0x529826[_0x19f8f1(0x32c)]||_0x529826[_0x19f8f1(0x22a)])&&(_0x122e69[_0x19f8f1(0x21f)]=_0x529826['username']+':'+_0x529826[_0x19f8f1(0x22a)]),_0x5f29f8){const _0x26fceb=_0x122e69[_0x19f8f1(0x2e7)][_0x19f8f1(0x2fd)](':');_0x122e69['socketPath']=_0x26fceb[0x0],_0x122e69[_0x19f8f1(0x2e7)]=_0x26fceb[0x1];}let _0x5de7ce;if(_0x122e69[_0x19f8f1(0x292)]){if(_0x1cd59f[_0x19f8f1(0x24d)]===0x0){_0x1cd59f[_0x19f8f1(0x1eb)]=_0x5f29f8,_0x1cd59f['_originalSecure']=_0x4acec4,_0x1cd59f['_originalHostOrSocketPath']=_0x5f29f8?_0x122e69[_0x19f8f1(0x2e6)]:_0x529826[_0x19f8f1(0x32f)];const _0x6cfb18=_0x5c6836&&_0x5c6836[_0x19f8f1(0x375)];if(_0x5c6836={..._0x5c6836,'headers':{}},_0x6cfb18){for(const [_0xfa37bd,_0x12101e]of Object[_0x19f8f1(0x1f3)](_0x6cfb18))_0x5c6836[_0x19f8f1(0x375)][_0xfa37bd[_0x19f8f1(0x2cc)]()]=_0x12101e;}}else{if(_0x1cd59f[_0x19f8f1(0x2a5)](_0x19f8f1(0x37b))===0x0){const _0x460a95=_0x5f29f8?_0x1cd59f[_0x19f8f1(0x1eb)]?_0x122e69[_0x19f8f1(0x2e6)]===_0x1cd59f[_0x19f8f1(0x34d)]:!0x1:_0x1cd59f[_0x19f8f1(0x1eb)]?!0x1:_0x529826[_0x19f8f1(0x32f)]===_0x1cd59f['_originalHostOrSocketPath'];(!_0x460a95||_0x1cd59f['_originalSecure']&&!_0x4acec4)&&(delete _0x122e69[_0x19f8f1(0x375)][_0x19f8f1(0x27e)],delete _0x122e69[_0x19f8f1(0x375)][_0x19f8f1(0x213)],_0x460a95||delete _0x122e69[_0x19f8f1(0x375)][_0x19f8f1(0x32f)],_0x122e69[_0x19f8f1(0x21f)]=void 0x0);}}_0x122e69[_0x19f8f1(0x21f)]&&!_0x5c6836[_0x19f8f1(0x375)][_0x19f8f1(0x27e)]&&(_0x5c6836[_0x19f8f1(0x375)][_0x19f8f1(0x27e)]=_0x19f8f1(0x1fd)+Buffer[_0x19f8f1(0x2f0)](_0x122e69['auth'])[_0x19f8f1(0x26f)](_0x19f8f1(0x308))),_0x5de7ce=_0x1cd59f[_0x19f8f1(0x216)]=_0x128af3(_0x122e69),_0x1cd59f[_0x19f8f1(0x24d)]&&_0x1cd59f[_0x19f8f1(0x27f)]('redirect',_0x1cd59f[_0x19f8f1(0x2bd)],_0x5de7ce);}else _0x5de7ce=_0x1cd59f[_0x19f8f1(0x216)]=_0x128af3(_0x122e69);_0x122e69['timeout']&&_0x5de7ce['on'](_0x19f8f1(0x28c),()=>{const _0x958776=_0x19f8f1;_0x3506ac(_0x1cd59f,_0x5de7ce,_0x958776(0x339));}),_0x5de7ce['on'](_0x19f8f1(0x2a2),_0x731328=>{const _0x5f565a=_0x19f8f1;_0x5de7ce===null||_0x5de7ce[_0x158247]||(_0x5de7ce=_0x1cd59f[_0x5f565a(0x216)]=null,_0xd9f912(_0x1cd59f,_0x731328));}),_0x5de7ce['on'](_0x19f8f1(0x249),_0x5d2490=>{const _0x47af28=_0x19f8f1,_0x5487b4=_0x5d2490[_0x47af28(0x375)][_0x47af28(0x361)],_0x51c5ca=_0x5d2490['statusCode'];if(_0x5487b4&&_0x122e69[_0x47af28(0x292)]&&_0x51c5ca>=0x12c&&_0x51c5ca<0x190){if(++_0x1cd59f['_redirects']>_0x122e69['maxRedirects']){_0x3506ac(_0x1cd59f,_0x5de7ce,_0x47af28(0x251));return;}_0x5de7ce[_0x47af28(0x1cb)]();let _0x24e6f2;try{_0x24e6f2=new _0x304e34(_0x5487b4,_0x23151a);}catch{const _0x9ecde7=new SyntaxError(_0x47af28(0x33a)+_0x5487b4);_0xd9f912(_0x1cd59f,_0x9ecde7);return;}_0x39f197(_0x1cd59f,_0x24e6f2,_0x4b4c76,_0x5c6836);}else _0x1cd59f['emit'](_0x47af28(0x353),_0x5de7ce,_0x5d2490)||_0x3506ac(_0x1cd59f,_0x5de7ce,_0x47af28(0x276)+_0x5d2490[_0x47af28(0x35f)]);}),_0x5de7ce['on'](_0x19f8f1(0x262),(_0x1e685b,_0x250839,_0x467884)=>{const _0xfdf1ed=_0x19f8f1;if(_0x1cd59f[_0xfdf1ed(0x27f)](_0xfdf1ed(0x262),_0x1e685b),_0x1cd59f[_0xfdf1ed(0x36c)]!==_0x4bc525[_0xfdf1ed(0x260)])return;_0x5de7ce=_0x1cd59f[_0xfdf1ed(0x216)]=null;const _0x26516a=_0x1e685b['headers'][_0xfdf1ed(0x262)];if(_0x26516a===void 0x0||_0x26516a[_0xfdf1ed(0x2cc)]()!==_0xfdf1ed(0x29a)){_0x3506ac(_0x1cd59f,_0x250839,_0xfdf1ed(0x255));return;}const _0x520557=_0xc0765c(_0xfdf1ed(0x2d4))[_0xfdf1ed(0x275)](_0x56d992+_0x26f5ec)['digest']('base64');if(_0x1e685b[_0xfdf1ed(0x375)][_0xfdf1ed(0x228)]!==_0x520557){_0x3506ac(_0x1cd59f,_0x250839,_0xfdf1ed(0x2aa));return;}const _0x2dadaf=_0x1e685b['headers'][_0xfdf1ed(0x25f)];let _0xae522e;if(_0x2dadaf!==void 0x0?_0x3514c5[_0xfdf1ed(0x2ac)]?_0x3514c5[_0xfdf1ed(0x1f5)](_0x2dadaf)||(_0xae522e=_0xfdf1ed(0x1ff)):_0xae522e=_0xfdf1ed(0x2b4):_0x3514c5[_0xfdf1ed(0x2ac)]&&(_0xae522e='Server\x20sent\x20no\x20subprotocol'),_0xae522e){_0x3506ac(_0x1cd59f,_0x250839,_0xae522e);return;}_0x2dadaf&&(_0x1cd59f[_0xfdf1ed(0x1e1)]=_0x2dadaf);const _0x2c9344=_0x1e685b[_0xfdf1ed(0x375)][_0xfdf1ed(0x334)];if(_0x2c9344!==void 0x0){if(!_0x3efd33){_0x3506ac(_0x1cd59f,_0x250839,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x4d54d9;try{_0x4d54d9=_0x1c6c11(_0x2c9344);}catch{_0x3506ac(_0x1cd59f,_0x250839,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x21186d=Object[_0xfdf1ed(0x36d)](_0x4d54d9);if(_0x21186d['length']!==0x1||_0x21186d[0x0]!==_0x39eda9[_0xfdf1ed(0x2e8)]){_0x3506ac(_0x1cd59f,_0x250839,_0xfdf1ed(0x218));return;}try{_0x3efd33[_0xfdf1ed(0x1d7)](_0x4d54d9[_0x39eda9[_0xfdf1ed(0x2e8)]]);}catch{_0x3506ac(_0x1cd59f,_0x250839,_0xfdf1ed(0x1e6));return;}_0x1cd59f[_0xfdf1ed(0x230)][_0x39eda9[_0xfdf1ed(0x2e8)]]=_0x3efd33;}_0x1cd59f[_0xfdf1ed(0x27a)](_0x250839,_0x467884,{'allowSynchronousEvents':_0x122e69[_0xfdf1ed(0x25e)],'generateMask':_0x122e69[_0xfdf1ed(0x29c)],'maxPayload':_0x122e69[_0xfdf1ed(0x23f)],'skipUTF8Validation':_0x122e69[_0xfdf1ed(0x1cc)]});}),_0x122e69[_0x19f8f1(0x29d)]?_0x122e69[_0x19f8f1(0x29d)](_0x5de7ce,_0x1cd59f):_0x5de7ce[_0x19f8f1(0x25c)]();}function _0xd9f912(_0x52d04d,_0x2a0de0){const _0x5423f5=_0x227389;_0x52d04d[_0x5423f5(0x340)]=_0x4bc525[_0x5423f5(0x1e2)],_0x52d04d[_0x5423f5(0x1df)]=!0x0,_0x52d04d[_0x5423f5(0x27f)](_0x5423f5(0x2a2),_0x2a0de0),_0x52d04d[_0x5423f5(0x368)]();}function _0x3473e7(_0x4261af){const _0x51ddca=_0x227389;return _0x4261af[_0x51ddca(0x2e7)]=_0x4261af[_0x51ddca(0x2e6)],_0xfdf637[_0x51ddca(0x35a)](_0x4261af);}function _0x4db9f6(_0x4c5fad){const _0x33777b=_0x227389;return _0x4c5fad[_0x33777b(0x2e7)]=void 0x0,!_0x4c5fad['servername']&&_0x4c5fad[_0x33777b(0x252)]!==''&&(_0x4c5fad[_0x33777b(0x252)]=_0xfdf637[_0x33777b(0x311)](_0x4c5fad['host'])?'':_0x4c5fad[_0x33777b(0x32f)]),_0x2410f3[_0x33777b(0x35a)](_0x4c5fad);}function _0x3506ac(_0x2cd610,_0x21f91d,_0x23f6f7){const _0x5b3a86=_0x227389;_0x2cd610[_0x5b3a86(0x340)]=_0x4bc525[_0x5b3a86(0x1e2)];const _0x406c64=new Error(_0x23f6f7);Error[_0x5b3a86(0x321)](_0x406c64,_0x3506ac),_0x21f91d[_0x5b3a86(0x363)]?(_0x21f91d[_0x158247]=!0x0,_0x21f91d[_0x5b3a86(0x1cb)](),_0x21f91d[_0x5b3a86(0x219)]&&!_0x21f91d[_0x5b3a86(0x219)]['destroyed']&&_0x21f91d[_0x5b3a86(0x219)]['destroy'](),process[_0x5b3a86(0x314)](_0xd9f912,_0x2cd610,_0x406c64)):(_0x21f91d[_0x5b3a86(0x34f)](_0x406c64),_0x21f91d[_0x5b3a86(0x215)](_0x5b3a86(0x2a2),_0x2cd610[_0x5b3a86(0x27f)][_0x5b3a86(0x26c)](_0x2cd610,_0x5b3a86(0x2a2))),_0x21f91d[_0x5b3a86(0x215)]('close',_0x2cd610[_0x5b3a86(0x368)]['bind'](_0x2cd610)));}function _0x50fa55(_0x57309e,_0x25f481,_0x5c7bd2){const _0x763751=_0x227389;if(_0x25f481){const _0x3a8954=_0x492c7b(_0x25f481)?_0x25f481[_0x763751(0x2ac)]:_0xffbd92(_0x25f481)['length'];_0x57309e[_0x763751(0x317)]?_0x57309e['_sender']['_bufferedBytes']+=_0x3a8954:_0x57309e['_bufferedAmount']+=_0x3a8954;}if(_0x5c7bd2){const _0x37b3e3=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x57309e[_0x763751(0x36c)]+'\x20('+_0x3d8d6a[_0x57309e[_0x763751(0x36c)]]+')');process[_0x763751(0x314)](_0x5c7bd2,_0x37b3e3);}}function _0x42184d(_0x351c5c,_0x34cbdd){const _0x101d75=_0x227389,_0x54066f=this[_0x2592ea];_0x54066f[_0x101d75(0x250)]=!0x0,_0x54066f[_0x101d75(0x281)]=_0x34cbdd,_0x54066f['_closeCode']=_0x351c5c,_0x54066f[_0x101d75(0x317)][_0x2592ea]!==void 0x0&&(_0x54066f['_socket'][_0x101d75(0x2a6)](_0x101d75(0x337),_0x3c164b),process[_0x101d75(0x314)](_0x36bed2,_0x54066f['_socket']),_0x351c5c===0x3ed?_0x54066f['close']():_0x54066f[_0x101d75(0x307)](_0x351c5c,_0x34cbdd));}function _0x22d0f6(){const _0x56eaff=_0x227389,_0x40743a=this[_0x2592ea];_0x40743a[_0x56eaff(0x30c)]||_0x40743a[_0x56eaff(0x317)]['resume']();}function _0x8c3c1a(_0x2c905b){const _0x3f9968=_0x227389,_0x3302af=this[_0x2592ea];_0x3302af[_0x3f9968(0x317)][_0x2592ea]!==void 0x0&&(_0x3302af[_0x3f9968(0x317)][_0x3f9968(0x2a6)](_0x3f9968(0x337),_0x3c164b),process[_0x3f9968(0x314)](_0x36bed2,_0x3302af['_socket']),_0x3302af[_0x3f9968(0x307)](_0x2c905b[_0x401dfd])),_0x3302af[_0x3f9968(0x1df)]||(_0x3302af['_errorEmitted']=!0x0,_0x3302af['emit']('error',_0x2c905b));}function _0xfd6952(){const _0x442669=_0x227389;this[_0x2592ea][_0x442669(0x368)]();}function _0x296eea(_0x27063b,_0x2e9921){const _0x437b38=_0x227389;this[_0x2592ea][_0x437b38(0x27f)](_0x437b38(0x288),_0x27063b,_0x2e9921);}function _0x299188(_0x126fd3){const _0x3cd505=_0x227389,_0x51b313=this[_0x2592ea];_0x51b313['_autoPong']&&_0x51b313['pong'](_0x126fd3,!this['_isServer'],_0x1a6095),_0x51b313[_0x3cd505(0x27f)](_0x3cd505(0x240),_0x126fd3);}function _0xc1fc13(_0xc966d4){const _0x458c1d=_0x227389;this[_0x2592ea][_0x458c1d(0x27f)](_0x458c1d(0x271),_0xc966d4);}function _0x36bed2(_0x95c4be){const _0x4f7ea1=_0x227389;_0x95c4be[_0x4f7ea1(0x296)]();}function _0x523241(_0x5b44aa){const _0x1079e8=_0x227389,_0x57d5d8=this[_0x2592ea];_0x57d5d8['readyState']!==_0x4bc525['CLOSED']&&(_0x57d5d8['readyState']===_0x4bc525['OPEN']&&(_0x57d5d8[_0x1079e8(0x340)]=_0x4bc525[_0x1079e8(0x1e2)],_0x260954(_0x57d5d8)),this[_0x1079e8(0x317)]['end'](),_0x57d5d8['_errorEmitted']||(_0x57d5d8[_0x1079e8(0x1df)]=!0x0,_0x57d5d8[_0x1079e8(0x27f)](_0x1079e8(0x2a2),_0x5b44aa)));}function _0x260954(_0x4c36aa){const _0x1bcd03=_0x227389;_0x4c36aa[_0x1bcd03(0x225)]=setTimeout(_0x4c36aa[_0x1bcd03(0x317)][_0x1bcd03(0x34f)]['bind'](_0x4c36aa['_socket']),_0x2cdd69);}function _0x54ab10(){const _0x27b693=_0x227389,_0x177a0d=this[_0x2592ea];this['removeListener']('close',_0x54ab10),this['removeListener'](_0x27b693(0x337),_0x3c164b),this[_0x27b693(0x2a6)](_0x27b693(0x25c),_0x3905bd),_0x177a0d[_0x27b693(0x340)]=_0x4bc525[_0x27b693(0x1e2)];let _0x44c71c;!this['_readableState'][_0x27b693(0x20b)]&&!_0x177a0d[_0x27b693(0x250)]&&!_0x177a0d[_0x27b693(0x345)][_0x27b693(0x1e7)][_0x27b693(0x241)]&&(_0x44c71c=_0x177a0d['_socket'][_0x27b693(0x30e)]())!==null&&_0x177a0d[_0x27b693(0x345)][_0x27b693(0x1c8)](_0x44c71c),_0x177a0d[_0x27b693(0x345)][_0x27b693(0x25c)](),this[_0x2592ea]=void 0x0,clearTimeout(_0x177a0d[_0x27b693(0x225)]),_0x177a0d[_0x27b693(0x345)]['_writableState'][_0x27b693(0x26b)]||_0x177a0d[_0x27b693(0x345)][_0x27b693(0x1e7)][_0x27b693(0x241)]?_0x177a0d['emitClose']():(_0x177a0d[_0x27b693(0x345)]['on'](_0x27b693(0x2a2),_0xfd6952),_0x177a0d[_0x27b693(0x345)]['on'](_0x27b693(0x2f2),_0xfd6952));}function _0x3c164b(_0x234a4c){const _0x73bc41=_0x227389;this[_0x2592ea][_0x73bc41(0x345)][_0x73bc41(0x1c8)](_0x234a4c)||this[_0x73bc41(0x283)]();}function _0x3905bd(){const _0x157f60=_0x227389,_0x33642e=this[_0x2592ea];_0x33642e[_0x157f60(0x340)]=_0x4bc525['CLOSING'],_0x33642e[_0x157f60(0x345)]['end'](),this[_0x157f60(0x25c)]();}function _0x536c46(){const _0x3a7f18=_0x227389,_0x52526c=this[_0x2592ea];this[_0x3a7f18(0x2a6)](_0x3a7f18(0x2a2),_0x536c46),this['on']('error',_0x1a6095),_0x52526c&&(_0x52526c[_0x3a7f18(0x340)]=_0x4bc525[_0x3a7f18(0x1e2)],this['destroy']());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x421219}=_0x1a59cd;function _0x57e384(_0x391663){const _0x350fb9=_0x3a46;_0x391663[_0x350fb9(0x27f)](_0x350fb9(0x307));}function _0x5a751d(){const _0xffa1e9=_0x3a46;!this[_0xffa1e9(0x2dc)]&&this['_writableState'][_0xffa1e9(0x26b)]&&this['destroy']();}function _0x2de188(_0x44ccf9){const _0x50ca5b=_0x3a46;this['removeListener'](_0x50ca5b(0x2a2),_0x2de188),this[_0x50ca5b(0x34f)](),this['listenerCount']('error')===0x0&&this[_0x50ca5b(0x27f)](_0x50ca5b(0x2a2),_0x44ccf9);}function _0x380279(_0x1b12d5,_0x5be9f7){const _0x18a097=_0x3a46;let _0xd932d7=!0x0;const _0xc10611=new _0x421219({..._0x5be9f7,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x1b12d5['on']('message',function(_0x142ec8,_0x455a8b){const _0x412ba1=_0x3a46,_0x4de835=!_0x455a8b&&_0xc10611['_readableState'][_0x412ba1(0x29b)]?_0x142ec8[_0x412ba1(0x26f)]():_0x142ec8;_0xc10611['push'](_0x4de835)||_0x1b12d5[_0x412ba1(0x283)]();}),_0x1b12d5[_0x18a097(0x215)](_0x18a097(0x2a2),function(_0x513b62){const _0x3113be=_0x18a097;_0xc10611[_0x3113be(0x2dc)]||(_0xd932d7=!0x1,_0xc10611[_0x3113be(0x34f)](_0x513b62));}),_0x1b12d5[_0x18a097(0x215)]('close',function(){const _0x5b764b=_0x18a097;_0xc10611[_0x5b764b(0x2dc)]||_0xc10611[_0x5b764b(0x2c4)](null);}),_0xc10611[_0x18a097(0x1f4)]=function(_0x30f893,_0x45e7fa){const _0x25fc72=_0x18a097;if(_0x1b12d5[_0x25fc72(0x36c)]===_0x1b12d5['CLOSED']){_0x45e7fa(_0x30f893),process[_0x25fc72(0x314)](_0x57e384,_0xc10611);return;}let _0x1bb0b4=!0x1;_0x1b12d5['once'](_0x25fc72(0x2a2),function(_0x4e6516){_0x1bb0b4=!0x0,_0x45e7fa(_0x4e6516);}),_0x1b12d5[_0x25fc72(0x215)](_0x25fc72(0x307),function(){const _0x319279=_0x25fc72;_0x1bb0b4||_0x45e7fa(_0x30f893),process[_0x319279(0x314)](_0x57e384,_0xc10611);}),_0xd932d7&&_0x1b12d5['terminate']();},_0xc10611['_final']=function(_0x3da73b){const _0x4b97cf=_0x18a097;if(_0x1b12d5[_0x4b97cf(0x36c)]===_0x1b12d5[_0x4b97cf(0x260)]){_0x1b12d5[_0x4b97cf(0x215)](_0x4b97cf(0x26a),function(){const _0x3d261f=_0x4b97cf;_0xc10611[_0x3d261f(0x1d2)](_0x3da73b);});return;}_0x1b12d5['_socket']!==null&&(_0x1b12d5[_0x4b97cf(0x317)][_0x4b97cf(0x1e7)][_0x4b97cf(0x26b)]?(_0x3da73b(),_0xc10611[_0x4b97cf(0x33b)]['endEmitted']&&_0xc10611['destroy']()):(_0x1b12d5['_socket']['once']('finish',function(){_0x3da73b();}),_0x1b12d5[_0x4b97cf(0x307)]()));},_0xc10611[_0x18a097(0x261)]=function(){const _0x1385a6=_0x18a097;_0x1b12d5[_0x1385a6(0x30c)]&&_0x1b12d5[_0x1385a6(0x296)]();},_0xc10611['_write']=function(_0x11f403,_0x3985d3,_0x1a811f){const _0x1a0c1d=_0x18a097;if(_0x1b12d5['readyState']===_0x1b12d5[_0x1a0c1d(0x260)]){_0x1b12d5['once'](_0x1a0c1d(0x26a),function(){_0xc10611['_write'](_0x11f403,_0x3985d3,_0x1a811f);});return;}_0x1b12d5[_0x1a0c1d(0x344)](_0x11f403,_0x1a811f);},_0xc10611['on'](_0x18a097(0x25c),_0x5a751d),_0xc10611['on']('error',_0x2de188),_0xc10611;}return Oe=_0x380279,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x37820}=ne();function _0x175ffe(_0x5b020f){const _0x96000c=_0x3a46,_0x3e2f40=new Set();let _0x2c268f=-0x1,_0x3f793f=-0x1,_0x219a05=0x0;for(_0x219a05;_0x219a05<_0x5b020f[_0x96000c(0x2d8)];_0x219a05++){const _0x3d60df=_0x5b020f['charCodeAt'](_0x219a05);if(_0x3f793f===-0x1&&_0x37820[_0x3d60df]===0x1)_0x2c268f===-0x1&&(_0x2c268f=_0x219a05);else{if(_0x219a05!==0x0&&(_0x3d60df===0x20||_0x3d60df===0x9))_0x3f793f===-0x1&&_0x2c268f!==-0x1&&(_0x3f793f=_0x219a05);else{if(_0x3d60df===0x2c){if(_0x2c268f===-0x1)throw new SyntaxError(_0x96000c(0x1ea)+_0x219a05);_0x3f793f===-0x1&&(_0x3f793f=_0x219a05);const _0x5ea549=_0x5b020f[_0x96000c(0x333)](_0x2c268f,_0x3f793f);if(_0x3e2f40['has'](_0x5ea549))throw new SyntaxError(_0x96000c(0x1fa)+_0x5ea549+'\x22\x20subprotocol\x20is\x20duplicated');_0x3e2f40[_0x96000c(0x350)](_0x5ea549),_0x2c268f=_0x3f793f=-0x1;}else throw new SyntaxError(_0x96000c(0x1ea)+_0x219a05);}}}if(_0x2c268f===-0x1||_0x3f793f!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x4d9665=_0x5b020f['slice'](_0x2c268f,_0x219a05);if(_0x3e2f40['has'](_0x4d9665))throw new SyntaxError(_0x96000c(0x1fa)+_0x4d9665+'\x22\x20subprotocol\x20is\x20duplicated');return _0x3e2f40[_0x96000c(0x350)](_0x4d9665),_0x3e2f40;}return Ce={'parse':_0x175ffe},Ce;}var Te,ot;function er(){const _0xd99548=_0x260080;if(ot)return Te;ot=0x1;const _0x58fbc0=_0x5ac337,_0x5ae062=_0x196a11,{Duplex:_0x6ead69}=_0x1a59cd,{createHash:_0xe42b03}=_0x4b695b,_0x5ae8d6=pt(),_0x30d1ab=he(),_0x2a5b30=Jt(),_0x2f7c66=Ie(),{GUID:_0x38d382,kWebSocket:_0x2866e1}=V(),_0x498720=/^[+/0-9A-Za-z]{22}==$/,_0x524450=0x0,_0x248e48=0x1,_0x9d4350=0x2;class _0x2dc102 extends _0x58fbc0{constructor(_0x5c7b93,_0x1bd4e9){const _0x1a3d02=_0x3a46;if(super(),_0x5c7b93={'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':_0x2f7c66,..._0x5c7b93},_0x5c7b93['port']==null&&!_0x5c7b93[_0x1a3d02(0x34e)]&&!_0x5c7b93[_0x1a3d02(0x2be)]||_0x5c7b93[_0x1a3d02(0x238)]!=null&&(_0x5c7b93['server']||_0x5c7b93[_0x1a3d02(0x2be)])||_0x5c7b93['server']&&_0x5c7b93[_0x1a3d02(0x2be)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x5c7b93[_0x1a3d02(0x238)]!=null?(this[_0x1a3d02(0x259)]=_0x5ae062['createServer']((_0x22d3f2,_0x5220e4)=>{const _0x1b51d4=_0x1a3d02,_0x1163ea=_0x5ae062[_0x1b51d4(0x1d4)][0x1aa];_0x5220e4['writeHead'](0x1aa,{'Content-Length':_0x1163ea[_0x1b51d4(0x2d8)],'Content-Type':_0x1b51d4(0x357)}),_0x5220e4['end'](_0x1163ea);}),this[_0x1a3d02(0x259)][_0x1a3d02(0x2a4)](_0x5c7b93[_0x1a3d02(0x238)],_0x5c7b93[_0x1a3d02(0x32f)],_0x5c7b93[_0x1a3d02(0x359)],_0x1bd4e9)):_0x5c7b93[_0x1a3d02(0x34e)]&&(this[_0x1a3d02(0x259)]=_0x5c7b93[_0x1a3d02(0x34e)]),this[_0x1a3d02(0x259)]){const _0x375dea=this[_0x1a3d02(0x27f)]['bind'](this,_0x1a3d02(0x2c2));this['_removeListeners']=_0x2dc859(this[_0x1a3d02(0x259)],{'listening':this['emit'][_0x1a3d02(0x26c)](this,_0x1a3d02(0x313)),'error':this[_0x1a3d02(0x27f)][_0x1a3d02(0x26c)](this,_0x1a3d02(0x2a2)),'upgrade':(_0xcb64a6,_0x559843,_0x47862e)=>{const _0x2a69b3=_0x1a3d02;this[_0x2a69b3(0x2f5)](_0xcb64a6,_0x559843,_0x47862e,_0x375dea);}});}_0x5c7b93[_0x1a3d02(0x2a0)]===!0x0&&(_0x5c7b93[_0x1a3d02(0x2a0)]={}),_0x5c7b93[_0x1a3d02(0x253)]&&(this[_0x1a3d02(0x2ca)]=new Set(),this[_0x1a3d02(0x2b5)]=!0x1),this['options']=_0x5c7b93,this['_state']=_0x524450;}[_0xd99548(0x33d)](){const _0x25ba47=_0xd99548;if(this['options']['noServer'])throw new Error(_0x25ba47(0x30d));return this['_server']?this[_0x25ba47(0x259)][_0x25ba47(0x33d)]():null;}[_0xd99548(0x307)](_0x40bcaf){const _0x13777d=_0xd99548;if(this[_0x13777d(0x378)]===_0x9d4350){_0x40bcaf&&this['once'](_0x13777d(0x307),()=>{const _0x499d39=_0x13777d;_0x40bcaf(new Error(_0x499d39(0x279)));}),process[_0x13777d(0x314)](_0xf3f21b,this);return;}if(_0x40bcaf&&this[_0x13777d(0x215)](_0x13777d(0x307),_0x40bcaf),this[_0x13777d(0x378)]!==_0x248e48){if(this[_0x13777d(0x378)]=_0x248e48,this['options']['noServer']||this['options']['server'])this[_0x13777d(0x259)]&&(this[_0x13777d(0x1e3)](),this[_0x13777d(0x1e3)]=this[_0x13777d(0x259)]=null),this['clients']?this[_0x13777d(0x2ca)][_0x13777d(0x2ac)]?this[_0x13777d(0x2b5)]=!0x0:process[_0x13777d(0x314)](_0xf3f21b,this):process['nextTick'](_0xf3f21b,this);else{const _0x4e4b18=this[_0x13777d(0x259)];this[_0x13777d(0x1e3)](),this[_0x13777d(0x1e3)]=this[_0x13777d(0x259)]=null,_0x4e4b18['close'](()=>{_0xf3f21b(this);});}}}[_0xd99548(0x2b6)](_0x269927){const _0x50ee2c=_0xd99548;if(this[_0x50ee2c(0x2d5)][_0x50ee2c(0x2e7)]){const _0x209dad=_0x269927[_0x50ee2c(0x2bd)][_0x50ee2c(0x207)]('?');if((_0x209dad!==-0x1?_0x269927[_0x50ee2c(0x2bd)][_0x50ee2c(0x333)](0x0,_0x209dad):_0x269927[_0x50ee2c(0x2bd)])!==this['options'][_0x50ee2c(0x2e7)])return!0x1;}return!0x0;}[_0xd99548(0x2f5)](_0x3a5ad7,_0x51df28,_0x2129d,_0x187840){const _0x42f25f=_0xd99548;_0x51df28['on']('error',_0x21bc3d);const _0x387db7=_0x3a5ad7['headers'][_0x42f25f(0x1e4)],_0x2ce8d1=_0x3a5ad7['headers']['upgrade'],_0x3b939b=+_0x3a5ad7['headers'][_0x42f25f(0x24f)];if(_0x3a5ad7[_0x42f25f(0x1ca)]!==_0x42f25f(0x267)){_0x5986bf(this,_0x3a5ad7,_0x51df28,0x195,_0x42f25f(0x2dd));return;}if(_0x2ce8d1===void 0x0||_0x2ce8d1['toLowerCase']()!==_0x42f25f(0x29a)){_0x5986bf(this,_0x3a5ad7,_0x51df28,0x190,_0x42f25f(0x255));return;}if(_0x387db7===void 0x0||!_0x498720[_0x42f25f(0x346)](_0x387db7)){_0x5986bf(this,_0x3a5ad7,_0x51df28,0x190,_0x42f25f(0x318));return;}if(_0x3b939b!==0x8&&_0x3b939b!==0xd){_0x5986bf(this,_0x3a5ad7,_0x51df28,0x190,_0x42f25f(0x303));return;}if(!this[_0x42f25f(0x2b6)](_0x3a5ad7)){_0x4d4d0a(_0x51df28,0x190);return;}const _0x235a0c=_0x3a5ad7[_0x42f25f(0x375)]['sec-websocket-protocol'];let _0x6d343=new Set();if(_0x235a0c!==void 0x0)try{_0x6d343=_0x2a5b30[_0x42f25f(0x208)](_0x235a0c);}catch{_0x5986bf(this,_0x3a5ad7,_0x51df28,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x4a5688=_0x3a5ad7[_0x42f25f(0x375)]['sec-websocket-extensions'],_0x235509={};if(this[_0x42f25f(0x2d5)][_0x42f25f(0x2a0)]&&_0x4a5688!==void 0x0){const _0xf0c979=new _0x30d1ab(this[_0x42f25f(0x2d5)][_0x42f25f(0x2a0)],!0x0,this[_0x42f25f(0x2d5)]['maxPayload']);try{const _0x418692=_0x5ae8d6[_0x42f25f(0x208)](_0x4a5688);_0x418692[_0x30d1ab[_0x42f25f(0x2e8)]]&&(_0xf0c979[_0x42f25f(0x1d7)](_0x418692[_0x30d1ab[_0x42f25f(0x2e8)]]),_0x235509[_0x30d1ab[_0x42f25f(0x2e8)]]=_0xf0c979);}catch{_0x5986bf(this,_0x3a5ad7,_0x51df28,0x190,_0x42f25f(0x1c7));return;}}if(this[_0x42f25f(0x2d5)]['verifyClient']){const _0x48049e={'origin':_0x3a5ad7['headers'][''+(_0x3b939b===0x8?'sec-websocket-origin':_0x42f25f(0x2ec))],'secure':!!(_0x3a5ad7['socket'][_0x42f25f(0x235)]||_0x3a5ad7[_0x42f25f(0x219)]['encrypted']),'req':_0x3a5ad7};if(this[_0x42f25f(0x2d5)][_0x42f25f(0x2b3)][_0x42f25f(0x2d8)]===0x2){this[_0x42f25f(0x2d5)]['verifyClient'](_0x48049e,(_0x3f3d9e,_0x90e7a7,_0x53909f,_0x4f939d)=>{const _0xfae5f5=_0x42f25f;if(!_0x3f3d9e)return _0x4d4d0a(_0x51df28,_0x90e7a7||0x191,_0x53909f,_0x4f939d);this[_0xfae5f5(0x222)](_0x235509,_0x387db7,_0x6d343,_0x3a5ad7,_0x51df28,_0x2129d,_0x187840);});return;}if(!this[_0x42f25f(0x2d5)][_0x42f25f(0x2b3)](_0x48049e))return _0x4d4d0a(_0x51df28,0x191);}this[_0x42f25f(0x222)](_0x235509,_0x387db7,_0x6d343,_0x3a5ad7,_0x51df28,_0x2129d,_0x187840);}['completeUpgrade'](_0x1d1da2,_0x56650e,_0xa46094,_0x122d03,_0x2e34ce,_0x22f111,_0x3ee4a7){const _0x54c643=_0xd99548;if(!_0x2e34ce['readable']||!_0x2e34ce[_0x54c643(0x37d)])return _0x2e34ce['destroy']();if(_0x2e34ce[_0x2866e1])throw new Error('server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration');if(this['_state']>_0x524450)return _0x4d4d0a(_0x2e34ce,0x1f7);const _0x30861e=[_0x54c643(0x2d0),_0x54c643(0x31b),'Connection:\x20Upgrade','Sec-WebSocket-Accept:\x20'+_0xe42b03(_0x54c643(0x2d4))['update'](_0x56650e+_0x38d382)['digest'](_0x54c643(0x308))],_0x5c39c9=new this[(_0x54c643(0x2d5))][(_0x54c643(0x367))](null,void 0x0,this[_0x54c643(0x2d5)]);if(_0xa46094['size']){const _0x15c72f=this[_0x54c643(0x2d5)][_0x54c643(0x2a3)]?this[_0x54c643(0x2d5)]['handleProtocols'](_0xa46094,_0x122d03):_0xa46094['values']()[_0x54c643(0x21c)]()[_0x54c643(0x287)];_0x15c72f&&(_0x30861e[_0x54c643(0x2c4)](_0x54c643(0x35d)+_0x15c72f),_0x5c39c9[_0x54c643(0x1e1)]=_0x15c72f);}if(_0x1d1da2[_0x30d1ab[_0x54c643(0x2e8)]]){const _0x429109=_0x1d1da2[_0x30d1ab[_0x54c643(0x2e8)]][_0x54c643(0x2f3)],_0x311df3=_0x5ae8d6['format']({[_0x30d1ab[_0x54c643(0x2e8)]]:[_0x429109]});_0x30861e[_0x54c643(0x2c4)](_0x54c643(0x325)+_0x311df3),_0x5c39c9[_0x54c643(0x230)]=_0x1d1da2;}this[_0x54c643(0x27f)](_0x54c643(0x375),_0x30861e,_0x122d03),_0x2e34ce[_0x54c643(0x1c8)](_0x30861e[_0x54c643(0x1d3)]('\x0d\x0a')[_0x54c643(0x1f7)]('\x0d\x0a')),_0x2e34ce['removeListener'](_0x54c643(0x2a2),_0x21bc3d),_0x5c39c9[_0x54c643(0x27a)](_0x2e34ce,_0x22f111,{'allowSynchronousEvents':this['options'][_0x54c643(0x25e)],'maxPayload':this[_0x54c643(0x2d5)][_0x54c643(0x23f)],'skipUTF8Validation':this[_0x54c643(0x2d5)][_0x54c643(0x1cc)]}),this['clients']&&(this[_0x54c643(0x2ca)][_0x54c643(0x350)](_0x5c39c9),_0x5c39c9['on'](_0x54c643(0x307),()=>{const _0x3444da=_0x54c643;this[_0x3444da(0x2ca)][_0x3444da(0x305)](_0x5c39c9),this[_0x3444da(0x2b5)]&&!this[_0x3444da(0x2ca)]['size']&&process[_0x3444da(0x314)](_0xf3f21b,this);})),_0x3ee4a7(_0x5c39c9,_0x122d03);}}Te=_0x2dc102;function _0x2dc859(_0x1ff192,_0x3ddf28){const _0x10b210=_0xd99548;for(const _0x4353d8 of Object[_0x10b210(0x36d)](_0x3ddf28))_0x1ff192['on'](_0x4353d8,_0x3ddf28[_0x4353d8]);return function(){const _0x404d04=_0x10b210;for(const _0x3b30b5 of Object[_0x404d04(0x36d)](_0x3ddf28))_0x1ff192['removeListener'](_0x3b30b5,_0x3ddf28[_0x3b30b5]);};}function _0xf3f21b(_0xaad63f){const _0x179644=_0xd99548;_0xaad63f[_0x179644(0x378)]=_0x9d4350,_0xaad63f[_0x179644(0x27f)](_0x179644(0x307));}function _0x21bc3d(){const _0x586fa8=_0xd99548;this[_0x586fa8(0x34f)]();}function _0x4d4d0a(_0x4abe26,_0x1f0665,_0x3aee98,_0x338823){const _0x4cb92f=_0xd99548;_0x3aee98=_0x3aee98||_0x5ae062[_0x4cb92f(0x1d4)][_0x1f0665],_0x338823={'Connection':_0x4cb92f(0x307),'Content-Type':_0x4cb92f(0x330),'Content-Length':Buffer['byteLength'](_0x3aee98),..._0x338823},_0x4abe26[_0x4cb92f(0x215)](_0x4cb92f(0x2f2),_0x4abe26[_0x4cb92f(0x34f)]),_0x4abe26['end'](_0x4cb92f(0x28f)+_0x1f0665+'\x20'+_0x5ae062['STATUS_CODES'][_0x1f0665]+'\x0d\x0a'+Object[_0x4cb92f(0x36d)](_0x338823)[_0x4cb92f(0x210)](_0x580762=>_0x580762+':\x20'+_0x338823[_0x580762])['join']('\x0d\x0a')+_0x4cb92f(0x352)+_0x3aee98);}function _0x5986bf(_0x2b0fdc,_0x2d73aa,_0x403f3f,_0x441720,_0x35c3f0){const _0x5b8a4f=_0xd99548;if(_0x2b0fdc[_0x5b8a4f(0x2a5)]('wsClientError')){const _0x863b87=new Error(_0x35c3f0);Error[_0x5b8a4f(0x321)](_0x863b87,_0x5986bf),_0x2b0fdc[_0x5b8a4f(0x27f)]('wsClientError',_0x863b87,_0x403f3f,_0x2d73aa);}else _0x4d4d0a(_0x403f3f,_0x441720,_0x35c3f0);}return Te;}er();var tr=Object[_0x260080(0x2c1)],rr=(_0x448028,_0x3e6cd5,_0x1b3a7e,_0xa0b56d)=>{const _0x3b1448=_0x260080;for(var _0x15f16e=_0xa0b56d>0x1?void 0x0:_0xa0b56d?tr(_0x3e6cd5,_0x1b3a7e):_0x3e6cd5,_0x30b58f=_0x448028[_0x3b1448(0x2d8)]-0x1,_0x2c85e5;_0x30b58f>=0x0;_0x30b58f--)(_0x2c85e5=_0x448028[_0x30b58f])&&(_0x15f16e=_0x2c85e5(_0x15f16e)||_0x15f16e);return _0x15f16e;},sr=(_0x4c4b95,_0x1f3e89)=>(_0x39130d,_0x1589cd)=>_0x1f3e89(_0x39130d,_0x1589cd,_0x4c4b95);let Ne=class extends _0x184ad2{constructor(_0x2ca082){const _0x1547ea=_0x260080;super(),this[_0x1547ea(0x295)]=_0x2ca082;}[_0x260080(0x29f)](_0x28f9e6){const _0x125069=_0x260080;var _0x509152;const _0x4056d3=(_0x509152=this[_0x125069(0x295)][_0x125069(0x1e0)](Be))==null?void 0x0:_0x509152[_0x125069(0x217)];try{const _0x1ddc94=new Qt(_0x28f9e6,{'headers':{..._0x4056d3}}),_0x4a03b6=new _0x42170d();return{'URL':_0x28f9e6,'close':(_0xd9363f,_0x233681)=>{const _0x591c66=_0x125069;_0x1ddc94[_0x591c66(0x307)](_0xd9363f,_0x233681),_0x4a03b6[_0x591c66(0x374)]();},'send':_0x1766fc=>{const _0x1b9403=_0x125069;_0x1ddc94[_0x1b9403(0x344)](_0x1766fc);},'open$':new _0x198bae(_0x15cfd2=>{const _0x490be9=_0x125069,_0x2c9c60=_0x47ac4e=>_0x15cfd2['next'](_0x47ac4e);_0x1ddc94[_0x490be9(0x21a)]('open',_0x2c9c60),_0x4a03b6[_0x490be9(0x350)](_0x236a8c(()=>_0x1ddc94[_0x490be9(0x1fc)](_0x490be9(0x26a),_0x2c9c60)));})[_0x125069(0x35c)](_0x5ce1df()),'close$':new _0x198bae(_0x53265b=>{const _0x1f5444=_0x125069,_0x62f527=_0x4ccdc0=>_0x53265b[_0x1f5444(0x21c)](_0x4ccdc0);_0x1ddc94['addEventListener'](_0x1f5444(0x307),_0x62f527),_0x4a03b6[_0x1f5444(0x350)](_0x236a8c(()=>_0x1ddc94[_0x1f5444(0x1fc)](_0x1f5444(0x307),_0x62f527)));})['pipe'](_0x5ce1df()),'error$':new _0x198bae(_0x1cfd5a=>{const _0x23fc5a=_0x125069,_0xf77e52=_0x4fd12b=>_0x1cfd5a[_0x23fc5a(0x21c)](_0x4fd12b);_0x1ddc94[_0x23fc5a(0x21a)]('error',_0xf77e52),_0x4a03b6['add'](_0x236a8c(()=>_0x1ddc94[_0x23fc5a(0x1fc)](_0x23fc5a(0x2a2),_0xf77e52)));})[_0x125069(0x35c)](_0x5ce1df()),'message$':new _0x198bae(_0x31d163=>{const _0xce25f7=_0x125069,_0x101f9e=_0x1f84f2=>_0x31d163[_0xce25f7(0x21c)](_0x1f84f2);_0x1ddc94[_0xce25f7(0x21a)]('message',_0x101f9e),_0x4a03b6[_0xce25f7(0x350)](_0x236a8c(()=>_0x1ddc94[_0xce25f7(0x1fc)]('message',_0x101f9e)));})[_0x125069(0x35c)](_0x5ce1df())};}catch(_0x1bba48){return console['error'](_0x1bba48),null;}}};Ne=rr([sr(0x0,_0x3b9dd3)],Ne);var ir=Object[_0x260080(0x2b0)],nr=Object['getOwnPropertyDescriptor'],or=(_0x140e9a,_0x22ee60,_0xdfdb)=>_0x22ee60 in _0x140e9a?ir(_0x140e9a,_0x22ee60,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xdfdb}):_0x140e9a[_0x22ee60]=_0xdfdb,ar=(_0x54ddfa,_0x473746,_0x17301c,_0x27c34d)=>{for(var _0xad891=_0x27c34d>0x1?void 0x0:_0x27c34d?nr(_0x473746,_0x17301c):_0x473746,_0x5d9efb=_0x54ddfa['length']-0x1,_0x180d8b;_0x5d9efb>=0x0;_0x5d9efb--)(_0x180d8b=_0x54ddfa[_0x5d9efb])&&(_0xad891=_0x180d8b(_0xad891)||_0xad891);return _0xad891;},ke=(_0x1b44e1,_0x1d2058)=>(_0xb64574,_0x247fcf)=>_0x1d2058(_0xb64574,_0x247fcf,_0x1b44e1),lr=(_0x5ab143,_0x1abdea,_0x513e6c)=>or(_0x5ab143,_0x1abdea+'',_0x513e6c);let Pe=class extends _0x3b6321{constructor(_0x5af823=Ft,_0x5d8b8b,_0x2996c8,_0x4cae67){const _0x5bc0be=_0x260080;_0x5af823['customHeaders']||_0x5d8b8b[_0x5bc0be(0x328)](_0x5bc0be(0x1f2)),super(),this['_configService']=_0x2996c8,this[_0x5bc0be(0x336)]=_0x4cae67,this[_0x5bc0be(0x295)][_0x5bc0be(0x291)](Be,_0x5af823);}[_0x260080(0x274)](){const _0x2b5a07=_0x260080;this[_0x2b5a07(0x2d7)]();}[_0x260080(0x2d7)](){const _0x4f8cb8=_0x260080;_0x3f84cc(this[_0x4f8cb8(0x336)],[[_0x3603e0,{'useClass':Ne}]]);}};lr(Pe,_0x260080(0x2d6),_0x260080(0x379)),Pe=ar([_0xbbba9d(_0x31af0f),ke(0x1,_0x30a73d),ke(0x2,_0x3b9dd3),ke(0x3,_0x3d12f1(_0x91e0de))],Pe);var fr=Object['getOwnPropertyDescriptor'],cr=(_0x119492,_0x312a2e,_0xcf4b8e,_0x59eb1c)=>{const _0x458ec0=_0x260080;for(var _0x5137bd=_0x59eb1c>0x1?void 0x0:_0x59eb1c?fr(_0x312a2e,_0xcf4b8e):_0x312a2e,_0x17c9b0=_0x119492[_0x458ec0(0x2d8)]-0x1,_0x58233a;_0x17c9b0>=0x0;_0x17c9b0--)(_0x58233a=_0x119492[_0x17c9b0])&&(_0x5137bd=_0x58233a(_0x5137bd)||_0x5137bd);return _0x5137bd;},se=(_0x517268,_0x2c07db)=>(_0x115849,_0x10fc41)=>_0x2c07db(_0x115849,_0x10fc41,_0x517268);let at=class extends _0x13cdb8{constructor(_0x4b352b,_0x1a3a38,_0x181afe,_0xa223e9,_0x2fd4ec){const _0x1988a2=_0x260080;super(_0x4b352b,_0x1a3a38,_0x181afe,_0xa223e9,_0x2fd4ec);const _0x44e01d=this[_0x1988a2(0x295)][_0x1988a2(0x1e0)](Be);this['_httpService'][_0x1988a2(0x25a)]({'interceptor':(_0x50727e,_0x2be7e0)=>{const _0x29f5f9=_0x1988a2;var _0x3595ec;const _0x3a7c50=_0x50727e['headers'];return(_0x3595ec=_0x44e01d==null?void 0x0:_0x44e01d['customHeaders'])!=null&&_0x3595ec['cookie']&&_0x3a7c50['set']('Cookie',_0x44e01d[_0x29f5f9(0x217)]['cookie']),_0x2be7e0(_0x50727e);}});}async[_0x260080(0x29f)](_0x3c65cf){return this['_doCreateSocket'](_0x3c65cf);}};function _0x26e6(){const _0x146619=['_req','customHeaders','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','socket','addEventListener','flush','next','855882wZipwI','freeze','auth','dequeue','kAborted','completeUpgrade','handshakeTimeout','WS_NO_BUFFER_UTIL','_closeTimer','createInflateRaw','server_max_window_bits','sec-websocket-accept','getPayloadLength16','password','31528sNctvV','concurrencyLimit','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','permessage-deflate','\x20(supported\x20versions:\x20','_extensions','client_max_window_bits','buffers','forEach','_bufferedBytes','authorized','144089oGGjlP','createError','port','total-length','_no_context_takeover','_masked','pathname','_deflate','client','maxPayload','ping','errorEmitted','_options','Unexpected\x20end\x20of\x20input','acceptAsClient','isValidUTF8','_compressed','Max\x20payload\x20size\x20exceeded','_firstFragment','response','Origin','cork','dataMessage','_redirects','WS_ERR_UNEXPECTED_RSV_1','sec-websocket-version','_closeFrameReceived','Maximum\x20redirects\x20exceeded','servername','clientTracking','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','Invalid\x20Upgrade\x20header','40ayliQg','decompress','WS_ERR_INVALID_OPCODE','_server','registerHTTPInterceptor','invalid\x20UTF-8\x20sequence','end','drain','allowSynchronousEvents','sec-websocket-protocol','CONNECTING','_read','upgrade','protocol','clientMaxWindowBits','callback','jobs','GET','binaryType','kReason','open','finished','bind','WS_ERR_EXPECTED_MASK','kMessage','toString','_errored','pong','179645dgLlSt','default','onStarting','update','Unexpected\x20server\x20response:\x20','replace','server_no_context_takeover','The\x20server\x20is\x20not\x20running','setSocket','isBuffer','WS_ERR_UNEXPECTED_MASK','binary','authorization','emit','clientNoContextTakeover','_closeMessage','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','pause','string','offer','\x22:\x20','value','message','readOnly','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','_totalPayloadLength','timeout','_maskBuffer','function','HTTP/1.1\x20','getInfo','setConfig','followRedirects','catch','concurrency','_configService','resume','controlMessage','_generateMask','The\x20URL\x27s\x20pathname\x20is\x20empty','websocket','objectMode','generateMask','finishRequest','kRun','createSocket','perMessageDeflate','kWasClean','error','handleProtocols','listen','listenerCount','removeListener','Sec-WebSocket-Protocol','wasClean','readUInt16BE','Invalid\x20Sec-WebSocket-Accept\x20header','getData','size','terminate','WS_ERR_EXPECTED_FIN','invalid\x20opcode\x200','defineProperty','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','mask','verifyClient','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','_shouldEmitClose','shouldHandle','type','apply','removeAllListeners','reset','_payloadLength','writeUInt16BE','url','noServer','stream','_skipUTF8Validation','getOwnPropertyDescriptor','connection','toStringTag','push','number','Unsupported\x20protocol\x20version:\x20','set','The\x20URL\x20contains\x20a\x20fragment\x20identifier','Z_DEFAULT_WINDOWBITS','clients','byteOffset','toLowerCase','nodebuffer','Module','consume','HTTP/1.1\x20101\x20Switching\x20Protocols','ws+unix:','onmessage','15867ybtAzG','sha1','options','pluginName','_registerDependencies','length','RSV1\x20must\x20be\x20clear','\x22\x20must\x20have\x20only\x20a\x20single\x20value','invalid\x20opcode\x20','destroyed','Invalid\x20HTTP\x20method','acceptAsServer','normalizeParams','collaboration-client-node.config','_decompress','onclose','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','client_no_context_takeover','object','socketPath','path','extensionName','kError','autoPong','exports','origin','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','_inflate','from','https:','finish','params','_fin','handleUpgrade','serverNoContextTakeover','readUInt32BE','ws:','allocUnsafe','_isServer','kListener','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','split','reason','dispatch','wss:','Upgrade','_sender','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','_write','delete','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','close','base64','_buffers','kCode','alloc','isPaused','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','read','_max_window_bits','defaultPort','isIP','_opcode','listening','nextTick','_autoPong','sendFrame','_socket','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','arraybuffer','buffer','Upgrade:\x20websocket','pending','unmask','_loop','_binaryType','includes','captureStackTrace','zlibDeflateOptions','_paused','Invalid\x20WebSocket\x20frame:\x20','Sec-WebSocket-Extensions:\x20','fin','isArray','warn','isView','species','setNoDelay','username','hasOwnProperty','onerror','host','text/html','pow','uncork','slice','sec-websocket-extensions','hostname','_injector','data','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','Opening\x20handshake\x20has\x20timed\x20out','Invalid\x20URL:\x20','_readableState','onopen','address','call','Z_SYNC_FLUSH','_readyState','haveLength','listeners','frame','send','_receiver','test','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','6qIXDux','startsWith','charCodeAt','shift','Blob','_originalHostOrSocketPath','server','destroy','add','getMask','\x0d\x0a\x0d\x0a','unexpected-response','335364isqrlF','enqueue','FIN\x20must\x20be\x20set','text/plain','startLoop','backlog','connect','_threshold','pipe','Sec-WebSocket-Protocol:\x20','_messageLength','statusCode','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','location','prototype','setHeader','hash','search','File','WebSocket','emitClose','kData','bufferedAmount','_closeCode','readyState','keys','kType','rsv1','320rFUQNj','serverMaxWindowBits','OPEN','Sec-WebSocket-Origin','dispose','headers','CLOSED','target','_state','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','redirect','status-code','writable','extensions','_queue','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','write','_bufferedAmount','method','abort','skipUTF8Validation','isInteger','unshift','find','compress','conclude','_final','concat','STATUS_CODES','threshold','_compress','accept','createConnection','2220KThiCa','byteLength','WS_ERR_INVALID_UTF8','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','1579428fRqAbP','handleEvent','_errorEmitted','getConfig','_protocol','CLOSING','_removeListeners','sec-websocket-key','__esModule','Invalid\x20Sec-WebSocket-Extensions\x20header','_writableState','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','_fragmented','Unexpected\x20character\x20at\x20index\x20','_originalIpc','setTimeout','blob','request','then','fragments','_maxPayload','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','entries','_destroy','has','Invalid\x20value\x20for\x20parameter\x20\x22','join','arrayBuffer','getBlobData','The\x20\x22','_allowSynchronousEvents','removeEventListener','Basic\x20','env','Server\x20sent\x20an\x20invalid\x20subprotocol','create','constructor','7uaUHwc','cleanup','protocolVersion','WS_ERR_INVALID_CLOSE_CODE','_fragments','indexOf','parse','getPayloadLength64','WS_NO_UTF_8_VALIDATE','endEmitted','kByteLength','_mask','zlibInflateOptions','opcode','map','href','code','cookie','_closeFrameSent','once'];_0x26e6=function(){return _0x146619;};return _0x26e6();}at=cr([se(0x0,_0x3d12f1(_0x91e0de)),se(0x1,_0x3d12f1(_0x302434)),se(0x2,_0x3b9dd3),se(0x3,_0x30a73d),se(0x4,_0x1c5499)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|
|
1
|
+
const _0x1d0d40=_0x1a11;(function(_0x5d4efa,_0xf94223){const _0x5cb683=_0x1a11,_0x2feb74=_0x5d4efa();while(!![]){try{const _0x1e8c7c=-parseInt(_0x5cb683(0x12a))/0x1+-parseInt(_0x5cb683(0x15d))/0x2+-parseInt(_0x5cb683(0xa3))/0x3*(-parseInt(_0x5cb683(0x179))/0x4)+parseInt(_0x5cb683(0x194))/0x5*(-parseInt(_0x5cb683(0x1fd))/0x6)+-parseInt(_0x5cb683(0x1fb))/0x7*(parseInt(_0x5cb683(0x186))/0x8)+-parseInt(_0x5cb683(0x1ad))/0x9*(parseInt(_0x5cb683(0xec))/0xa)+parseInt(_0x5cb683(0x1cf))/0xb;if(_0x1e8c7c===_0xf94223)break;else _0x2feb74['push'](_0x2feb74['shift']());}catch(_0xcf3ff2){_0x2feb74['push'](_0x2feb74['shift']());}}}(_0xc2d4,0xbb074));import{UniverCollaborationClientPlugin as _0x3e833b,CollaborationSocketService as _0x7c0313}from'@univerjs-pro/collaboration-client';import{Disposable as _0x4a6998,DisposableCollection as _0x27015c,toDisposable as _0x4f485d,IConfigService as _0x5c7e80,DependentOn as _0x5ae147,ILogService as _0x56e68f,Inject as _0x3d6482,Injector as _0x5ab9f0,Plugin as _0x31fef3,registerDependencies as _0x298d41}from'@univerjs/core';import{ISocketService as _0x220a91,HTTPService as _0x2f2c10}from'@univerjs/network';import{Observable as _0x334b8b,share as _0x2f2240}from'rxjs';function _0xc2d4(){const _0x3d4794=['10383261ctVifp','_originalSecure','8684094vRbPKz','verifyClient','shift','isBuffer','_originalHostOrSocketPath','arraybuffer','port','arrayBuffer','concurrencyLimit','_closeFrameReceived','method','byteLength','text/plain','sha1','customHeaders','jobs','_compressed','_closeFrameSent','WS_ERR_UNEXPECTED_RSV_2_3','values','_allowSynchronousEvents','clientMaxWindowBits','_readyState','freeze','construct','statusCode','endEmitted','createSocket','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','stream','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','\x22\x20subprotocol\x20is\x20duplicated','The\x20URL\x27s\x20pathname\x20is\x20empty','websocket','_mask','toLowerCase','getPayloadLength64','slice','Origin','hasOwnProperty','finish','Sec-WebSocket-Extensions','compress','cookie','_closeMessage','captureStackTrace','_req','_loop','invalid\x20UTF-8\x20sequence','getPayloadLength16','create','_removeListeners','get','username','serverNoContextTakeover','_server','buffer','_fragments','Z_DEFAULT_WINDOWBITS','redirect','cork','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','finished','createDeflateRaw','Upgrade','Invalid\x20Sec-WebSocket-Protocol\x20header','abort','socket','hash','The\x20server\x20is\x20not\x20running','onmessage','mask','parse','_compress','rsv1','toStringTag','origin','_maxPayload','callback','base64','_opcode','_registerDependencies','removeEventListener','connection','Invalid\x20value\x20for\x20parameter\x20\x22','Cookie','text/html','getData','_closeTimer','STATUS_CODES','_deflate','sec-websocket-protocol','type','_no_context_takeover','handleUpgrade','constructor','HTTP/1.1\x20','acceptAsServer','3rBThds','authorized','_skipUTF8Validation','errorEmitted','hostname','_bufferedBytes','toString','protocolVersion','Sec-WebSocket-Protocol','auth','path','sec-websocket-key','_options','OPEN','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','\x20(supported\x20versions:\x20','finishRequest','from','nextTick','getOwnPropertyDescriptor','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','isArray','kWasClean','_queue','invalid\x20payload\x20length\x20','_doCreateSocket','getConfig','resume','sec-websocket-accept','function','extensions','server_no_context_takeover','startLoop','_readableState','map','data','headers','decompress','server_max_window_bits','Max\x20payload\x20size\x20exceeded','pluginName','options','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','search','close','exports','password','_fragmented','handleProtocols','bufferedAmount','Maximum\x20redirects\x20exceeded','kType','reason','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','WebSocket\x20is\x20not\x20open:\x20readyState\x20','wss:','autoPong','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','dispatch','getBlobData','byteOffset','isValidUTF8','FIN\x20must\x20be\x20set','pathname','maxRedirects','then','setConfig','_destroy','noServer','_extensions','createServer','kMessage','createError','20pnbLfu','call','replace','__esModule','_paused','WS_ERR_INVALID_OPCODE','_receiver','registerHTTPInterceptor','http:','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','Unexpected\x20server\x20response:\x20','kCode','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','client','sec-websocket-extensions','objectMode','_totalPayloadLength','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','onStarting','address','cleanup','writeHead','writable','kError','_isServer','listeners','push','uncork','maskBuffer','isServer','File','isView','_errorEmitted','readOnly','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','request','_configService','_url','message','Connection:\x20Upgrade','perMessageDeflate','ws:','enqueue','setHeader','concurrency','Invalid\x20URL:\x20','_generateMask','MASK\x20must\x20be\x20clear','invalid\x20opcode\x20','error','dequeue','pending','pow','\x0d\x0a\x0d\x0a','connect','CONNECTING','params','acceptAsClient','binary','WS_ERR_UNEXPECTED_RSV_1','bind','host','1135958dVstIQ','Invalid\x20Sec-WebSocket-Extensions\x20header','\x22\x20must\x20have\x20only\x20a\x20single\x20value','readUInt32BE','dispose','indexOf','_state','addEventListener','setTimeout','open','WS_NO_BUFFER_UTIL','GET','test','pong','opcode','kListener','format','WS_ERR_UNEXPECTED_MASK','Invalid\x20Sec-WebSocket-Accept\x20header','_inflate','kDone','ping','Unexpected\x20character\x20at\x20index\x20','next','kAborted','defineProperty','controlMessage','setNoDelay','allocUnsafe','concat','_socket','_threshold','end','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','extensionName','number','warn','prototype','_originalIpc','pipe','listenerCount','delete','buffers','isIP','reset','Parameter\x20\x22','_closeCode','frame','clientTracking','_injector','27154lviyju','charCodeAt','removeAllListeners','_masked','status-code','WS_ERR_INVALID_CLOSE_CODE','emit','getInfo','_bufferedAmount','WS_ERR_INVALID_UTF8','clients','timeout','unshift','_messageLength','sec-websocket-version','offer','update','alloc','kData','wsClientError','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','kTarget','\x22:\x20','allowSynchronousEvents','HTTP/1.1\x20101\x20Switching\x20Protocols','target','_protocol','completeUpgrade','4681552mkkoSz','total-length','kRun','invalid\x20status\x20code\x20','zlibDeflateOptions','_binaryType','join','_buffers','Sec-WebSocket-Accept:\x20','WS_ERR_EXPECTED_MASK','servername','apply','haveLength','8pRzwXH','_fin','Invalid\x20HTTP\x20method','client_no_context_takeover','Sec-WebSocket-Extensions:\x20','consume','_max_window_bits','has','size','default','unmask','length','maxPayload','shouldHandle','5PigkXc','needDrain','Module','write','upgrade','value','binaryType','socketPath','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','createConnection','serverMaxWindowBits','add','includes','forEach','species','client_max_window_bits','_final','CLOSED','_writableState','flush','Sec-WebSocket-Origin','isPaused','conclude','https:','fin','6853005QxGhuX','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','readyState','onclose','_maskBuffer','accept','href','keys','sec-websocket-origin','dataMessage','response','The\x20URL\x20contains\x20a\x20fragment\x20identifier','skipUTF8Validation','Server\x20sent\x20an\x20invalid\x20subprotocol','_payloadLength','unexpected-response','sendFrame','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','CLOSING','readUInt16BE','_write','threshold','find','_sender','permessage-deflate','destroyed','Invalid\x20Upgrade\x20header','pause','emitClose','followRedirects','WS_NO_UTF_8_VALIDATE','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','isInteger','blob','57186547fMqDEe','env','removeListener','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','_read','wasClean','digest','ws+unix:','_firstFragment','nodebuffer','terminate','once','RSV1\x20must\x20be\x20clear','_shouldEmitClose','code','_autoPong','onerror','authorization','normalizeParams','catch','setSocket','read','writeUIntBE','drain','getMask','_httpService','send','url','generateMask','defaultPort','writeUInt16BE','Basic\x20','The\x20\x22','string','_errored','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','protocol','destroy','set','_redirects','createInflateRaw','server','readable','onopen'];_0xc2d4=function(){return _0x3d4794;};return _0xc2d4();}import _0xe1b3a0 from'events';import _0x313c10 from'https';import _0x568c1a from'http';import _0x5b49c8 from'net';import _0x1c88e6 from'tls';import _0xf23312 from'crypto';import _0x3cb4f8 from'stream';import _0x317e46 from'url';import _0x179d81 from'zlib';import _0x508180 from'buffer';import{ISnapshotServerService as _0x49f1be}from'@univerjs-pro/collaboration';const Be='collaboration-client-node.config',Ft={'customHeaders':{}};function jt(_0x3ff216){const _0x35728b=_0x1a11;return _0x3ff216&&_0x3ff216[_0x35728b(0xef)]&&Object[_0x35728b(0x150)][_0x35728b(0x224)][_0x35728b(0xed)](_0x3ff216,_0x35728b(0x18f))?_0x3ff216[_0x35728b(0x18f)]:_0x3ff216;}function ut(_0x35c12e){const _0xa14804=_0x1a11;if(Object[_0xa14804(0x150)][_0xa14804(0x224)]['call'](_0x35c12e,'__esModule'))return _0x35c12e;var _0x547c8e=_0x35c12e[_0xa14804(0x18f)];if(typeof _0x547c8e==_0xa14804(0xc0)){var _0x11c6d6=function _0x289f40(){const _0x3cdd50=_0xa14804;return this instanceof _0x289f40?Reflect[_0x3cdd50(0x215)](_0x547c8e,arguments,this[_0x3cdd50(0xa0)]):_0x547c8e['apply'](this,arguments);};_0x11c6d6[_0xa14804(0x150)]=_0x547c8e[_0xa14804(0x150)];}else _0x11c6d6={};return Object[_0xa14804(0x143)](_0x11c6d6,_0xa14804(0xef),{'value':!0x0}),Object[_0xa14804(0x1b4)](_0x35c12e)[_0xa14804(0x1a1)](function(_0x4fba2e){const _0x56716c=_0xa14804;var _0x3d190c=Object[_0x56716c(0xb6)](_0x35c12e,_0x4fba2e);Object[_0x56716c(0x143)](_0x11c6d6,_0x4fba2e,_0x3d190c[_0x56716c(0x75)]?_0x3d190c:{'enumerable':!0x0,'get':function(){return _0x35c12e[_0x4fba2e];}});}),_0x11c6d6;}var te={'exports':{}},ge,Ye;function V(){const _0x1e9d5f=_0x1a11;if(Ye)return ge;Ye=0x1;const _0x37ec1c=[_0x1e9d5f(0x1d8),_0x1e9d5f(0x202),'fragments'],_0x50cd31=typeof Blob<'u';return _0x50cd31&&_0x37ec1c['push'](_0x1e9d5f(0x1ce)),ge={'BINARY_TYPES':_0x37ec1c,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x1e9d5f(0x1be),'hasBlob':_0x50cd31,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x1e9d5f(0x139)),'kStatusCode':Symbol(_0x1e9d5f(0x161)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x1d0d40(0x214)](Object['defineProperty']({'__proto__':null,'default':Wt},Symbol[_0x1d0d40(0x8c)],{'value':_0x1d0d40(0x196)})),Vt=ut(Gt);var Ke;function ce(){const _0x7182cb=_0x1d0d40;if(Ke)return te['exports'];Ke=0x1;const {EMPTY_BUFFER:_0x22810e}=V(),_0x165337=Buffer[Symbol[_0x7182cb(0x1a2)]];function _0x513062(_0x2d8778,_0x1b82a9){const _0x52e127=_0x7182cb;if(_0x2d8778['length']===0x0)return _0x22810e;if(_0x2d8778['length']===0x1)return _0x2d8778[0x0];const _0x10a46b=Buffer['allocUnsafe'](_0x1b82a9);let _0x1c1103=0x0;for(let _0x292ed8=0x0;_0x292ed8<_0x2d8778['length'];_0x292ed8++){const _0x1edc2f=_0x2d8778[_0x292ed8];_0x10a46b['set'](_0x1edc2f,_0x1c1103),_0x1c1103+=_0x1edc2f[_0x52e127(0x191)];}return _0x1c1103<_0x1b82a9?new _0x165337(_0x10a46b[_0x52e127(0x79)],_0x10a46b[_0x52e127(0xdf)],_0x1c1103):_0x10a46b;}function _0x4f7620(_0x51ebaf,_0x1cf479,_0x27f4b8,_0x139887,_0x1986e1){for(let _0x29e02f=0x0;_0x29e02f<_0x1986e1;_0x29e02f++)_0x27f4b8[_0x139887+_0x29e02f]=_0x51ebaf[_0x29e02f]^_0x1cf479[_0x29e02f&0x3];}function _0x3ea89d(_0xfe8e71,_0x27f6cf){const _0x4643b1=_0x7182cb;for(let _0xdd335e=0x0;_0xdd335e<_0xfe8e71[_0x4643b1(0x191)];_0xdd335e++)_0xfe8e71[_0xdd335e]^=_0x27f6cf[_0xdd335e&0x3];}function _0x502b65(_0x5b998c){const _0x311dd9=_0x7182cb;return _0x5b998c[_0x311dd9(0x191)]===_0x5b998c[_0x311dd9(0x79)][_0x311dd9(0x208)]?_0x5b998c[_0x311dd9(0x79)]:_0x5b998c[_0x311dd9(0x79)]['slice'](_0x5b998c[_0x311dd9(0xdf)],_0x5b998c[_0x311dd9(0xdf)]+_0x5b998c[_0x311dd9(0x191)]);}function _0x5de93a(_0x1c937e){const _0x330a59=_0x7182cb;if(_0x5de93a['readOnly']=!0x0,Buffer[_0x330a59(0x200)](_0x1c937e))return _0x1c937e;let _0x5cf2c7;return _0x1c937e instanceof ArrayBuffer?_0x5cf2c7=new _0x165337(_0x1c937e):ArrayBuffer[_0x330a59(0x10b)](_0x1c937e)?_0x5cf2c7=new _0x165337(_0x1c937e[_0x330a59(0x79)],_0x1c937e[_0x330a59(0xdf)],_0x1c937e[_0x330a59(0x208)]):(_0x5cf2c7=Buffer['from'](_0x1c937e),_0x5de93a[_0x330a59(0x10d)]=!0x1),_0x5cf2c7;}if(te[_0x7182cb(0xd0)]={'concat':_0x513062,'mask':_0x4f7620,'toArrayBuffer':_0x502b65,'toBuffer':_0x5de93a,'unmask':_0x3ea89d},!process[_0x7182cb(0x1d0)][_0x7182cb(0x134)])try{const _0x47a78a=Vt;te[_0x7182cb(0xd0)][_0x7182cb(0x88)]=function(_0x5ce068,_0x3a0c13,_0x2cf45e,_0x5d5be3,_0x3707cf){_0x3707cf<0x30?_0x4f7620(_0x5ce068,_0x3a0c13,_0x2cf45e,_0x5d5be3,_0x3707cf):_0x47a78a['mask'](_0x5ce068,_0x3a0c13,_0x2cf45e,_0x5d5be3,_0x3707cf);},te['exports']['unmask']=function(_0x5377b2,_0x4c617b){const _0xecc34b=_0x7182cb;_0x5377b2[_0xecc34b(0x191)]<0x20?_0x3ea89d(_0x5377b2,_0x4c617b):_0x47a78a[_0xecc34b(0x190)](_0x5377b2,_0x4c617b);};}catch{}return te[_0x7182cb(0xd0)];}var ye,Xe;function qt(){const _0x5e5e65=_0x1d0d40;if(Xe)return ye;Xe=0x1;const _0x556947=Symbol(_0x5e5e65(0x13e)),_0x23de11=Symbol(_0x5e5e65(0x17b));class _0x251145{constructor(_0x4c16b9){const _0x2a129f=_0x5e5e65;this[_0x556947]=()=>{const _0x5189e2=_0x1a11;this[_0x5189e2(0x11f)]--,this[_0x23de11]();},this[_0x2a129f(0x118)]=_0x4c16b9||0x1/0x0,this[_0x2a129f(0x20c)]=[],this['pending']=0x0;}[_0x5e5e65(0x19f)](_0xd552ed){const _0x4cccb8=_0x5e5e65;this[_0x4cccb8(0x20c)]['push'](_0xd552ed),this[_0x23de11]();}[_0x23de11](){const _0x40d530=_0x5e5e65;if(this[_0x40d530(0x11f)]!==this[_0x40d530(0x118)]&&this[_0x40d530(0x20c)]['length']){const _0x280c19=this[_0x40d530(0x20c)][_0x40d530(0x1ff)]();this['pending']++,_0x280c19(this[_0x556947]);}}}return ye=_0x251145,ye;}var ve,Ze;function he(){const _0x31e61c=_0x1d0d40;if(Ze)return ve;Ze=0x1;const _0x98f88c=_0x179d81,_0x211966=ce(),_0x152875=qt(),{kStatusCode:_0x2161ed}=V(),_0x331f99=Buffer[Symbol[_0x31e61c(0x1a2)]],_0xc17041=Buffer[_0x31e61c(0xb4)]([0x0,0x0,0xff,0xff]),_0x545074=Symbol(_0x31e61c(0x1c5)),_0x490c45=Symbol(_0x31e61c(0x17a)),_0x32f4e3=Symbol(_0x31e61c(0x8f)),_0xb1b31d=Symbol(_0x31e61c(0x155)),_0x3f62d7=Symbol(_0x31e61c(0x11d));let _0xc38fee;class _0x1f2722{constructor(_0x463bc7,_0x27a79f,_0xf547d0){const _0x8691a=_0x31e61c;if(this[_0x8691a(0x8e)]=_0xf547d0|0x0,this[_0x8691a(0xaf)]=_0x463bc7||{},this[_0x8691a(0x149)]=this[_0x8691a(0xaf)]['threshold']!==void 0x0?this[_0x8691a(0xaf)][_0x8691a(0x1c2)]:0x400,this[_0x8691a(0x104)]=!!_0x27a79f,this[_0x8691a(0x9b)]=null,this[_0x8691a(0x13d)]=null,this[_0x8691a(0x124)]=null,!_0xc38fee){const _0x1983c2=this[_0x8691a(0xaf)][_0x8691a(0x205)]!==void 0x0?this['_options'][_0x8691a(0x205)]:0xa;_0xc38fee=new _0x152875(_0x1983c2);}}static get[_0x31e61c(0x14d)](){const _0x1563ef=_0x31e61c;return _0x1563ef(0x1c5);}[_0x31e61c(0x16c)](){const _0x4d321d=_0x31e61c,_0x3068a6={};return this[_0x4d321d(0xaf)]['serverNoContextTakeover']&&(_0x3068a6[_0x4d321d(0xc2)]=!0x0),this[_0x4d321d(0xaf)]['clientNoContextTakeover']&&(_0x3068a6[_0x4d321d(0x189)]=!0x0),this[_0x4d321d(0xaf)]['serverMaxWindowBits']&&(_0x3068a6['server_max_window_bits']=this[_0x4d321d(0xaf)]['serverMaxWindowBits']),this[_0x4d321d(0xaf)][_0x4d321d(0x212)]?_0x3068a6[_0x4d321d(0x1a3)]=this[_0x4d321d(0xaf)][_0x4d321d(0x212)]:this[_0x4d321d(0xaf)][_0x4d321d(0x212)]==null&&(_0x3068a6[_0x4d321d(0x1a3)]=!0x0),_0x3068a6;}[_0x31e61c(0x1b2)](_0x41c6a4){const _0x566b7e=_0x31e61c;return _0x41c6a4=this[_0x566b7e(0x1e1)](_0x41c6a4),this[_0x566b7e(0x124)]=this[_0x566b7e(0x104)]?this[_0x566b7e(0xa2)](_0x41c6a4):this['acceptAsClient'](_0x41c6a4),this[_0x566b7e(0x124)];}[_0x31e61c(0x100)](){const _0x1c5757=_0x31e61c;if(this[_0x1c5757(0x13d)]&&(this[_0x1c5757(0x13d)]['close'](),this[_0x1c5757(0x13d)]=null),this[_0x1c5757(0x9b)]){const _0x469b1c=this[_0x1c5757(0x9b)][_0x32f4e3];this['_deflate'][_0x1c5757(0xcf)](),this[_0x1c5757(0x9b)]=null,_0x469b1c&&_0x469b1c(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}['acceptAsServer'](_0x16b129){const _0x41de1f=_0x31e61c,_0xa1889c=this[_0x41de1f(0xaf)],_0x17fb37=_0x16b129[_0x41de1f(0x1c3)](_0xfca416=>!(_0xa1889c[_0x41de1f(0x77)]===!0x1&&_0xfca416[_0x41de1f(0xc2)]||_0xfca416[_0x41de1f(0xc9)]&&(_0xa1889c[_0x41de1f(0x19e)]===!0x1||typeof _0xa1889c['serverMaxWindowBits']=='number'&&_0xa1889c['serverMaxWindowBits']>_0xfca416[_0x41de1f(0xc9)])||typeof _0xa1889c[_0x41de1f(0x212)]==_0x41de1f(0x14e)&&!_0xfca416[_0x41de1f(0x1a3)]));if(!_0x17fb37)throw new Error(_0x41de1f(0x10e));return _0xa1889c['serverNoContextTakeover']&&(_0x17fb37[_0x41de1f(0xc2)]=!0x0),_0xa1889c['clientNoContextTakeover']&&(_0x17fb37['client_no_context_takeover']=!0x0),typeof _0xa1889c[_0x41de1f(0x19e)]==_0x41de1f(0x14e)&&(_0x17fb37[_0x41de1f(0xc9)]=_0xa1889c[_0x41de1f(0x19e)]),typeof _0xa1889c[_0x41de1f(0x212)]==_0x41de1f(0x14e)?_0x17fb37[_0x41de1f(0x1a3)]=_0xa1889c[_0x41de1f(0x212)]:(_0x17fb37[_0x41de1f(0x1a3)]===!0x0||_0xa1889c[_0x41de1f(0x212)]===!0x1)&&delete _0x17fb37[_0x41de1f(0x1a3)],_0x17fb37;}[_0x31e61c(0x125)](_0x16439a){const _0xb16cd7=_0x31e61c,_0x20abd9=_0x16439a[0x0];if(this[_0xb16cd7(0xaf)]['clientNoContextTakeover']===!0x1&&_0x20abd9[_0xb16cd7(0x189)])throw new Error(_0xb16cd7(0x7e));if(!_0x20abd9[_0xb16cd7(0x1a3)])typeof this[_0xb16cd7(0xaf)][_0xb16cd7(0x212)]==_0xb16cd7(0x14e)&&(_0x20abd9[_0xb16cd7(0x1a3)]=this['_options']['clientMaxWindowBits']);else{if(this[_0xb16cd7(0xaf)][_0xb16cd7(0x212)]===!0x1||typeof this['_options']['clientMaxWindowBits']=='number'&&_0x20abd9[_0xb16cd7(0x1a3)]>this[_0xb16cd7(0xaf)]['clientMaxWindowBits'])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x20abd9;}[_0x31e61c(0x1e1)](_0x347eff){const _0x57c1ca=_0x31e61c;return _0x347eff[_0x57c1ca(0x1a1)](_0x30708b=>{const _0x137972=_0x57c1ca;Object['keys'](_0x30708b)[_0x137972(0x1a1)](_0x13c6b0=>{const _0x414317=_0x137972;let _0x244dcb=_0x30708b[_0x13c6b0];if(_0x244dcb[_0x414317(0x191)]>0x1)throw new Error(_0x414317(0x158)+_0x13c6b0+_0x414317(0x12c));if(_0x244dcb=_0x244dcb[0x0],_0x13c6b0===_0x414317(0x1a3)){if(_0x244dcb!==!0x0){const _0x46c453=+_0x244dcb;if(!Number['isInteger'](_0x46c453)||_0x46c453<0x8||_0x46c453>0xf)throw new TypeError(_0x414317(0x95)+_0x13c6b0+_0x414317(0x173)+_0x244dcb);_0x244dcb=_0x46c453;}else{if(!this[_0x414317(0x104)])throw new TypeError(_0x414317(0x95)+_0x13c6b0+_0x414317(0x173)+_0x244dcb);}}else{if(_0x13c6b0===_0x414317(0xc9)){const _0x4e2b3c=+_0x244dcb;if(!Number[_0x414317(0x1cd)](_0x4e2b3c)||_0x4e2b3c<0x8||_0x4e2b3c>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x13c6b0+_0x414317(0x173)+_0x244dcb);_0x244dcb=_0x4e2b3c;}else{if(_0x13c6b0===_0x414317(0x189)||_0x13c6b0===_0x414317(0xc2)){if(_0x244dcb!==!0x0)throw new TypeError(_0x414317(0x95)+_0x13c6b0+_0x414317(0x173)+_0x244dcb);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x13c6b0+'\x22');}}_0x30708b[_0x13c6b0]=_0x244dcb;});}),_0x347eff;}[_0x31e61c(0xc8)](_0x3c4a06,_0xff1183,_0x577dc8){const _0x1da3ae=_0x31e61c;_0xc38fee[_0x1da3ae(0x19f)](_0x599b40=>{this['_decompress'](_0x3c4a06,_0xff1183,(_0x2e7c85,_0x2d732d)=>{_0x599b40(),_0x577dc8(_0x2e7c85,_0x2d732d);});});}[_0x31e61c(0x227)](_0x4d98ab,_0x408e02,_0x3cb6c0){const _0x26fb0a=_0x31e61c;_0xc38fee[_0x26fb0a(0x19f)](_0x30fe26=>{const _0x5bcc68=_0x26fb0a;this[_0x5bcc68(0x8a)](_0x4d98ab,_0x408e02,(_0x922ef3,_0x584cb5)=>{_0x30fe26(),_0x3cb6c0(_0x922ef3,_0x584cb5);});});}['_decompress'](_0x3fd272,_0x4c08c8,_0x15f93c){const _0x1711c7=_0x31e61c,_0x10b27b=this['_isServer']?_0x1711c7(0xf9):_0x1711c7(0x1f8);if(!this[_0x1711c7(0x13d)]){const _0x15db83=_0x10b27b+'_max_window_bits',_0x173927=typeof this[_0x1711c7(0x124)][_0x15db83]!=_0x1711c7(0x14e)?_0x98f88c[_0x1711c7(0x7b)]:this[_0x1711c7(0x124)][_0x15db83];this[_0x1711c7(0x13d)]=_0x98f88c[_0x1711c7(0x1f7)]({...this[_0x1711c7(0xaf)]['zlibInflateOptions'],'windowBits':_0x173927}),this['_inflate'][_0x545074]=this,this[_0x1711c7(0x13d)][_0x490c45]=0x0,this['_inflate'][_0xb1b31d]=[],this[_0x1711c7(0x13d)]['on'](_0x1711c7(0x11d),_0x1d8940),this[_0x1711c7(0x13d)]['on'](_0x1711c7(0xc6),_0x416c74);}this[_0x1711c7(0x13d)][_0x32f4e3]=_0x15f93c,this[_0x1711c7(0x13d)][_0x1711c7(0x197)](_0x3fd272),_0x4c08c8&&this[_0x1711c7(0x13d)]['write'](_0xc17041),this[_0x1711c7(0x13d)][_0x1711c7(0x1a7)](()=>{const _0x13cd31=_0x1711c7,_0x19b4ef=this['_inflate'][_0x3f62d7];if(_0x19b4ef){this[_0x13cd31(0x13d)][_0x13cd31(0xcf)](),this[_0x13cd31(0x13d)]=null,_0x15f93c(_0x19b4ef);return;}const _0x234a25=_0x211966[_0x13cd31(0x147)](this[_0x13cd31(0x13d)][_0xb1b31d],this[_0x13cd31(0x13d)][_0x490c45]);this[_0x13cd31(0x13d)][_0x13cd31(0xc4)][_0x13cd31(0x217)]?(this[_0x13cd31(0x13d)][_0x13cd31(0xcf)](),this[_0x13cd31(0x13d)]=null):(this['_inflate'][_0x490c45]=0x0,this['_inflate'][_0xb1b31d]=[],_0x4c08c8&&this['params'][_0x10b27b+_0x13cd31(0x9e)]&&this[_0x13cd31(0x13d)][_0x13cd31(0x157)]()),_0x15f93c(null,_0x234a25);});}[_0x31e61c(0x8a)](_0x3a36b0,_0x493773,_0x22c23c){const _0x10aaa8=_0x31e61c,_0x4e2489=this[_0x10aaa8(0x104)]?'server':_0x10aaa8(0xf9);if(!this[_0x10aaa8(0x9b)]){const _0x312c2f=_0x4e2489+_0x10aaa8(0x18c),_0x359cca=typeof this[_0x10aaa8(0x124)][_0x312c2f]!=_0x10aaa8(0x14e)?_0x98f88c[_0x10aaa8(0x7b)]:this[_0x10aaa8(0x124)][_0x312c2f];this[_0x10aaa8(0x9b)]=_0x98f88c[_0x10aaa8(0x80)]({...this[_0x10aaa8(0xaf)][_0x10aaa8(0x17d)],'windowBits':_0x359cca}),this[_0x10aaa8(0x9b)][_0x490c45]=0x0,this[_0x10aaa8(0x9b)][_0xb1b31d]=[],this[_0x10aaa8(0x9b)]['on'](_0x10aaa8(0xc6),_0x290dbb);}this['_deflate'][_0x32f4e3]=_0x22c23c,this[_0x10aaa8(0x9b)]['write'](_0x3a36b0),this[_0x10aaa8(0x9b)]['flush'](_0x98f88c['Z_SYNC_FLUSH'],()=>{const _0x4a6fa1=_0x10aaa8;if(!this[_0x4a6fa1(0x9b)])return;let _0x34c927=_0x211966[_0x4a6fa1(0x147)](this[_0x4a6fa1(0x9b)][_0xb1b31d],this[_0x4a6fa1(0x9b)][_0x490c45]);_0x493773&&(_0x34c927=new _0x331f99(_0x34c927[_0x4a6fa1(0x79)],_0x34c927[_0x4a6fa1(0xdf)],_0x34c927[_0x4a6fa1(0x191)]-0x4)),this[_0x4a6fa1(0x9b)][_0x32f4e3]=null,this[_0x4a6fa1(0x9b)][_0x490c45]=0x0,this[_0x4a6fa1(0x9b)][_0xb1b31d]=[],_0x493773&&this[_0x4a6fa1(0x124)][_0x4e2489+_0x4a6fa1(0x9e)]&&this[_0x4a6fa1(0x9b)]['reset'](),_0x22c23c(null,_0x34c927);});}}ve=_0x1f2722;function _0x290dbb(_0x590c00){const _0x34f2f9=_0x31e61c;this[_0xb1b31d][_0x34f2f9(0x106)](_0x590c00),this[_0x490c45]+=_0x590c00[_0x34f2f9(0x191)];}function _0x416c74(_0x90a93d){const _0x1abb32=_0x31e61c;if(this[_0x490c45]+=_0x90a93d['length'],this[_0x545074]['_maxPayload']<0x1||this[_0x490c45]<=this[_0x545074][_0x1abb32(0x8e)]){this[_0xb1b31d]['push'](_0x90a93d);return;}this[_0x3f62d7]=new RangeError(_0x1abb32(0xca)),this[_0x3f62d7][_0x1abb32(0x1dd)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x3f62d7][_0x2161ed]=0x3f1,this['removeListener'](_0x1abb32(0xc6),_0x416c74),this['reset']();}function _0x1d8940(_0x6e7f67){const _0x3b9190=_0x31e61c;if(this[_0x545074][_0x3b9190(0x13d)]=null,this[_0x3f62d7]){this[_0x32f4e3](this[_0x3f62d7]);return;}_0x6e7f67[_0x2161ed]=0x3ef,this[_0x32f4e3](_0x6e7f67);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x1d0d40(0x214)](Object[_0x1d0d40(0x143)]({'__proto__':null,'default':Ht},Symbol[_0x1d0d40(0x8c)],{'value':_0x1d0d40(0x196)})),Yt=ut(zt);var Qe;function _0x1a11(_0x41d87b,_0x54df78){const _0xc2d4ff=_0xc2d4();return _0x1a11=function(_0x1a11cf,_0x53a505){_0x1a11cf=_0x1a11cf-0x70;let _0x4634d8=_0xc2d4ff[_0x1a11cf];return _0x4634d8;},_0x1a11(_0x41d87b,_0x54df78);}function ne(){const _0x4e458b=_0x1d0d40;if(Qe)return re[_0x4e458b(0xd0)];Qe=0x1;const {isUtf8:_0x36769c}=_0x508180,{hasBlob:_0x36bfb9}=V(),_0x23f15c=[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 _0x4dfef3(_0x1e8d65){return _0x1e8d65>=0x3e8&&_0x1e8d65<=0x3f6&&_0x1e8d65!==0x3ec&&_0x1e8d65!==0x3ed&&_0x1e8d65!==0x3ee||_0x1e8d65>=0xbb8&&_0x1e8d65<=0x1387;}function _0x3bf6da(_0x604413){const _0x4ce4a5=_0x4e458b,_0x188df3=_0x604413[_0x4ce4a5(0x191)];let _0x2b0e69=0x0;for(;_0x2b0e69<_0x188df3;)if((_0x604413[_0x2b0e69]&0x80)===0x0)_0x2b0e69++;else{if((_0x604413[_0x2b0e69]&0xe0)===0xc0){if(_0x2b0e69+0x1===_0x188df3||(_0x604413[_0x2b0e69+0x1]&0xc0)!==0x80||(_0x604413[_0x2b0e69]&0xfe)===0xc0)return!0x1;_0x2b0e69+=0x2;}else{if((_0x604413[_0x2b0e69]&0xf0)===0xe0){if(_0x2b0e69+0x2>=_0x188df3||(_0x604413[_0x2b0e69+0x1]&0xc0)!==0x80||(_0x604413[_0x2b0e69+0x2]&0xc0)!==0x80||_0x604413[_0x2b0e69]===0xe0&&(_0x604413[_0x2b0e69+0x1]&0xe0)===0x80||_0x604413[_0x2b0e69]===0xed&&(_0x604413[_0x2b0e69+0x1]&0xe0)===0xa0)return!0x1;_0x2b0e69+=0x3;}else{if((_0x604413[_0x2b0e69]&0xf8)===0xf0){if(_0x2b0e69+0x3>=_0x188df3||(_0x604413[_0x2b0e69+0x1]&0xc0)!==0x80||(_0x604413[_0x2b0e69+0x2]&0xc0)!==0x80||(_0x604413[_0x2b0e69+0x3]&0xc0)!==0x80||_0x604413[_0x2b0e69]===0xf0&&(_0x604413[_0x2b0e69+0x1]&0xf0)===0x80||_0x604413[_0x2b0e69]===0xf4&&_0x604413[_0x2b0e69+0x1]>0x8f||_0x604413[_0x2b0e69]>0xf4)return!0x1;_0x2b0e69+=0x4;}else return!0x1;}}}return!0x0;}function _0x9b9686(_0x313c97){const _0x46ae56=_0x4e458b;return _0x36bfb9&&typeof _0x313c97=='object'&&typeof _0x313c97[_0x46ae56(0x204)]=='function'&&typeof _0x313c97[_0x46ae56(0x9d)]==_0x46ae56(0x1f0)&&typeof _0x313c97[_0x46ae56(0x21a)]=='function'&&(_0x313c97[Symbol[_0x46ae56(0x8c)]]==='Blob'||_0x313c97[Symbol[_0x46ae56(0x8c)]]===_0x46ae56(0x10a));}if(re[_0x4e458b(0xd0)]={'isBlob':_0x9b9686,'isValidStatusCode':_0x4dfef3,'isValidUTF8':_0x3bf6da,'tokenChars':_0x23f15c},_0x36769c)re[_0x4e458b(0xd0)][_0x4e458b(0xe0)]=function(_0x59fecf){const _0x4e024e=_0x4e458b;return _0x59fecf[_0x4e024e(0x191)]<0x18?_0x3bf6da(_0x59fecf):_0x36769c(_0x59fecf);};else{if(!process[_0x4e458b(0x1d0)][_0x4e458b(0x1cb)])try{const _0x1dc1c3=Yt;re[_0x4e458b(0xd0)][_0x4e458b(0xe0)]=function(_0x42674f){const _0x4a3a9a=_0x4e458b;return _0x42674f[_0x4a3a9a(0x191)]<0x20?_0x3bf6da(_0x42674f):_0x1dc1c3(_0x42674f);};}catch{}}return re[_0x4e458b(0xd0)];}var Se,Je;function dt(){const _0x45f48f=_0x1d0d40;if(Je)return Se;Je=0x1;const {Writable:_0x5c6758}=_0x3cb4f8,_0x2aecf7=he(),{BINARY_TYPES:_0x3a1f3c,EMPTY_BUFFER:_0x5af845,kStatusCode:_0x4f9100,kWebSocket:_0x43b4ad}=V(),{concat:_0x554a39,toArrayBuffer:_0x52ac75,unmask:_0x4c2d9e}=ce(),{isValidStatusCode:_0x22cd39,isValidUTF8:_0x213541}=ne(),_0x723a87=Buffer[Symbol[_0x45f48f(0x1a2)]],_0x5d453a=0x0,_0x527e66=0x1,_0x536470=0x2,_0x1ec473=0x3,_0x2e3a2b=0x4,_0x27f0a8=0x5,_0x249d3a=0x6;class _0x3b540a extends _0x5c6758{constructor(_0x27e6a5={}){const _0x9679b2=_0x45f48f;super(),this[_0x9679b2(0x211)]=_0x27e6a5[_0x9679b2(0x174)]!==void 0x0?_0x27e6a5[_0x9679b2(0x174)]:!0x0,this[_0x9679b2(0x17e)]=_0x27e6a5[_0x9679b2(0x19a)]||_0x3a1f3c[0x0],this[_0x9679b2(0xe8)]=_0x27e6a5[_0x9679b2(0xc1)]||{},this[_0x9679b2(0x104)]=!!_0x27e6a5[_0x9679b2(0x109)],this[_0x9679b2(0x8e)]=_0x27e6a5['maxPayload']|0x0,this[_0x9679b2(0xa5)]=!!_0x27e6a5[_0x9679b2(0x1b9)],this[_0x43b4ad]=void 0x0,this['_bufferedBytes']=0x0,this[_0x9679b2(0x180)]=[],this[_0x9679b2(0x20d)]=!0x1,this['_payloadLength']=0x0,this[_0x9679b2(0x21f)]=void 0x0,this[_0x9679b2(0xd2)]=0x0,this[_0x9679b2(0x160)]=!0x1,this[_0x9679b2(0x187)]=!0x1,this[_0x9679b2(0x91)]=0x0,this['_totalPayloadLength']=0x0,this[_0x9679b2(0x16a)]=0x0,this[_0x9679b2(0x7a)]=[],this[_0x9679b2(0x1f1)]=!0x1,this[_0x9679b2(0x70)]=!0x1,this[_0x9679b2(0x130)]=_0x5d453a;}[_0x45f48f(0x1c1)](_0x448787,_0x13a556,_0xc446be){const _0x5930fb=_0x45f48f;if(this['_opcode']===0x8&&this['_state']==_0x5d453a)return _0xc446be();this[_0x5930fb(0xa8)]+=_0x448787[_0x5930fb(0x191)],this[_0x5930fb(0x180)]['push'](_0x448787),this[_0x5930fb(0xc3)](_0xc446be);}['consume'](_0x37d6e5){const _0x14521a=_0x45f48f;if(this['_bufferedBytes']-=_0x37d6e5,_0x37d6e5===this['_buffers'][0x0][_0x14521a(0x191)])return this[_0x14521a(0x180)]['shift']();if(_0x37d6e5<this[_0x14521a(0x180)][0x0][_0x14521a(0x191)]){const _0x7b70d8=this[_0x14521a(0x180)][0x0];return this[_0x14521a(0x180)][0x0]=new _0x723a87(_0x7b70d8[_0x14521a(0x79)],_0x7b70d8['byteOffset']+_0x37d6e5,_0x7b70d8[_0x14521a(0x191)]-_0x37d6e5),new _0x723a87(_0x7b70d8[_0x14521a(0x79)],_0x7b70d8[_0x14521a(0xdf)],_0x37d6e5);}const _0x4b9376=Buffer[_0x14521a(0x146)](_0x37d6e5);do{const _0x405370=this[_0x14521a(0x180)][0x0],_0x2329ca=_0x4b9376[_0x14521a(0x191)]-_0x37d6e5;_0x37d6e5>=_0x405370[_0x14521a(0x191)]?_0x4b9376[_0x14521a(0x1f5)](this[_0x14521a(0x180)]['shift'](),_0x2329ca):(_0x4b9376['set'](new Uint8Array(_0x405370[_0x14521a(0x79)],_0x405370['byteOffset'],_0x37d6e5),_0x2329ca),this['_buffers'][0x0]=new _0x723a87(_0x405370[_0x14521a(0x79)],_0x405370[_0x14521a(0xdf)]+_0x37d6e5,_0x405370[_0x14521a(0x191)]-_0x37d6e5)),_0x37d6e5-=_0x405370[_0x14521a(0x191)];}while(_0x37d6e5>0x0);return _0x4b9376;}['startLoop'](_0x216146){const _0x431bde=_0x45f48f;this['_loop']=!0x0;do switch(this[_0x431bde(0x130)]){case _0x5d453a:this['getInfo'](_0x216146);break;case _0x527e66:this['getPayloadLength16'](_0x216146);break;case _0x536470:this[_0x431bde(0x221)](_0x216146);break;case _0x1ec473:this['getMask']();break;case _0x2e3a2b:this['getData'](_0x216146);break;case _0x27f0a8:case _0x249d3a:this[_0x431bde(0x70)]=!0x1;return;}while(this[_0x431bde(0x70)]);this[_0x431bde(0x1f1)]||_0x216146();}[_0x45f48f(0x164)](_0x501e43){const _0x51ebee=_0x45f48f;if(this[_0x51ebee(0xa8)]<0x2){this['_loop']=!0x1;return;}const _0x288eb0=this[_0x51ebee(0x18b)](0x2);if((_0x288eb0[0x0]&0x30)!==0x0){const _0x335022=this[_0x51ebee(0xeb)](RangeError,_0x51ebee(0xf8),!0x0,0x3ea,_0x51ebee(0x20f));_0x501e43(_0x335022);return;}const _0x46bb2c=(_0x288eb0[0x0]&0x40)===0x40;if(_0x46bb2c&&!this[_0x51ebee(0xe8)][_0x2aecf7[_0x51ebee(0x14d)]]){const _0x20ee94=this[_0x51ebee(0xeb)](RangeError,_0x51ebee(0x1db),!0x0,0x3ea,_0x51ebee(0x127));_0x501e43(_0x20ee94);return;}if(this['_fin']=(_0x288eb0[0x0]&0x80)===0x80,this[_0x51ebee(0x91)]=_0x288eb0[0x0]&0xf,this[_0x51ebee(0x1bb)]=_0x288eb0[0x1]&0x7f,this[_0x51ebee(0x91)]===0x0){if(_0x46bb2c){const _0x245318=this[_0x51ebee(0xeb)](RangeError,_0x51ebee(0x1db),!0x0,0x3ea,_0x51ebee(0x127));_0x501e43(_0x245318);return;}if(!this['_fragmented']){const _0x26fd04=this['createError'](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x51ebee(0xf1));_0x501e43(_0x26fd04);return;}this[_0x51ebee(0x91)]=this[_0x51ebee(0xd2)];}else{if(this['_opcode']===0x1||this[_0x51ebee(0x91)]===0x2){if(this[_0x51ebee(0xd2)]){const _0x5ab1d8=this[_0x51ebee(0xeb)](RangeError,_0x51ebee(0x11c)+this[_0x51ebee(0x91)],!0x0,0x3ea,_0x51ebee(0xf1));_0x501e43(_0x5ab1d8);return;}this[_0x51ebee(0x20d)]=_0x46bb2c;}else{if(this['_opcode']>0x7&&this['_opcode']<0xb){if(!this['_fin']){const _0x121ec3=this['createError'](RangeError,_0x51ebee(0xe1),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x501e43(_0x121ec3);return;}if(_0x46bb2c){const _0x401e33=this[_0x51ebee(0xeb)](RangeError,_0x51ebee(0x1db),!0x0,0x3ea,_0x51ebee(0x127));_0x501e43(_0x401e33);return;}if(this['_payloadLength']>0x7d||this[_0x51ebee(0x91)]===0x8&&this[_0x51ebee(0x1bb)]===0x1){const _0x1cb6cb=this[_0x51ebee(0xeb)](RangeError,_0x51ebee(0xbb)+this[_0x51ebee(0x1bb)],!0x0,0x3ea,_0x51ebee(0xb1));_0x501e43(_0x1cb6cb);return;}}else{const _0x43cc73=this['createError'](RangeError,_0x51ebee(0x11c)+this[_0x51ebee(0x91)],!0x0,0x3ea,_0x51ebee(0xf1));_0x501e43(_0x43cc73);return;}}}if(!this['_fin']&&!this['_fragmented']&&(this[_0x51ebee(0xd2)]=this[_0x51ebee(0x91)]),this[_0x51ebee(0x160)]=(_0x288eb0[0x1]&0x80)===0x80,this[_0x51ebee(0x104)]){if(!this['_masked']){const _0x500677=this[_0x51ebee(0xeb)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x51ebee(0x182));_0x501e43(_0x500677);return;}}else{if(this['_masked']){const _0x3ea49a=this[_0x51ebee(0xeb)](RangeError,_0x51ebee(0x11b),!0x0,0x3ea,_0x51ebee(0x13b));_0x501e43(_0x3ea49a);return;}}this[_0x51ebee(0x1bb)]===0x7e?this['_state']=_0x527e66:this['_payloadLength']===0x7f?this[_0x51ebee(0x130)]=_0x536470:this[_0x51ebee(0x185)](_0x501e43);}[_0x45f48f(0x72)](_0x158860){const _0x14d4f5=_0x45f48f;if(this['_bufferedBytes']<0x2){this[_0x14d4f5(0x70)]=!0x1;return;}this[_0x14d4f5(0x1bb)]=this[_0x14d4f5(0x18b)](0x2)[_0x14d4f5(0x1c0)](0x0),this[_0x14d4f5(0x185)](_0x158860);}[_0x45f48f(0x221)](_0x435739){const _0x121d2c=_0x45f48f;if(this[_0x121d2c(0xa8)]<0x8){this[_0x121d2c(0x70)]=!0x1;return;}const _0x400a9c=this[_0x121d2c(0x18b)](0x8),_0x5d78c3=_0x400a9c[_0x121d2c(0x12d)](0x0);if(_0x5d78c3>Math[_0x121d2c(0x120)](0x2,0x15)-0x1){const _0x401c98=this['createError'](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x435739(_0x401c98);return;}this[_0x121d2c(0x1bb)]=_0x5d78c3*Math[_0x121d2c(0x120)](0x2,0x20)+_0x400a9c[_0x121d2c(0x12d)](0x4),this[_0x121d2c(0x185)](_0x435739);}['haveLength'](_0x14c7ec){const _0x5a4e39=_0x45f48f;if(this[_0x5a4e39(0x1bb)]&&this[_0x5a4e39(0x91)]<0x8&&(this['_totalPayloadLength']+=this['_payloadLength'],this[_0x5a4e39(0xfc)]>this[_0x5a4e39(0x8e)]&&this[_0x5a4e39(0x8e)]>0x0)){const _0x47cd3a=this[_0x5a4e39(0xeb)](RangeError,_0x5a4e39(0xca),!0x1,0x3f1,_0x5a4e39(0x14b));_0x14c7ec(_0x47cd3a);return;}this[_0x5a4e39(0x160)]?this[_0x5a4e39(0x130)]=_0x1ec473:this['_state']=_0x2e3a2b;}[_0x45f48f(0x1e7)](){const _0x3631e1=_0x45f48f;if(this[_0x3631e1(0xa8)]<0x4){this[_0x3631e1(0x70)]=!0x1;return;}this['_mask']=this[_0x3631e1(0x18b)](0x4),this[_0x3631e1(0x130)]=_0x2e3a2b;}[_0x45f48f(0x98)](_0x1f90cf){const _0x35fbbd=_0x45f48f;let _0x4b4372=_0x5af845;if(this[_0x35fbbd(0x1bb)]){if(this[_0x35fbbd(0xa8)]<this[_0x35fbbd(0x1bb)]){this[_0x35fbbd(0x70)]=!0x1;return;}_0x4b4372=this[_0x35fbbd(0x18b)](this[_0x35fbbd(0x1bb)]),this[_0x35fbbd(0x160)]&&(this[_0x35fbbd(0x21f)][0x0]|this['_mask'][0x1]|this['_mask'][0x2]|this[_0x35fbbd(0x21f)][0x3])!==0x0&&_0x4c2d9e(_0x4b4372,this['_mask']);}if(this[_0x35fbbd(0x91)]>0x7){this[_0x35fbbd(0x144)](_0x4b4372,_0x1f90cf);return;}if(this['_compressed']){this[_0x35fbbd(0x130)]=_0x27f0a8,this[_0x35fbbd(0xc8)](_0x4b4372,_0x1f90cf);return;}_0x4b4372[_0x35fbbd(0x191)]&&(this['_messageLength']=this[_0x35fbbd(0xfc)],this[_0x35fbbd(0x7a)][_0x35fbbd(0x106)](_0x4b4372)),this[_0x35fbbd(0x1b6)](_0x1f90cf);}[_0x45f48f(0xc8)](_0x4b82bb,_0x5507ea){const _0x2e913e=_0x45f48f;this[_0x2e913e(0xe8)][_0x2aecf7[_0x2e913e(0x14d)]][_0x2e913e(0xc8)](_0x4b82bb,this[_0x2e913e(0x187)],(_0xc04dc8,_0x5a4b1c)=>{const _0x2f4edc=_0x2e913e;if(_0xc04dc8)return _0x5507ea(_0xc04dc8);if(_0x5a4b1c[_0x2f4edc(0x191)]){if(this[_0x2f4edc(0x16a)]+=_0x5a4b1c[_0x2f4edc(0x191)],this[_0x2f4edc(0x16a)]>this[_0x2f4edc(0x8e)]&&this['_maxPayload']>0x0){const _0xffe015=this[_0x2f4edc(0xeb)](RangeError,_0x2f4edc(0xca),!0x1,0x3f1,_0x2f4edc(0x14b));_0x5507ea(_0xffe015);return;}this[_0x2f4edc(0x7a)][_0x2f4edc(0x106)](_0x5a4b1c);}this['dataMessage'](_0x5507ea),this[_0x2f4edc(0x130)]===_0x5d453a&&this['startLoop'](_0x5507ea);});}[_0x45f48f(0x1b6)](_0x2e8483){const _0x14568a=_0x45f48f;if(!this['_fin']){this[_0x14568a(0x130)]=_0x5d453a;return;}const _0x1b3022=this[_0x14568a(0x16a)],_0x54441d=this[_0x14568a(0x7a)];if(this[_0x14568a(0xfc)]=0x0,this[_0x14568a(0x16a)]=0x0,this['_fragmented']=0x0,this[_0x14568a(0x7a)]=[],this[_0x14568a(0x91)]===0x2){let _0x1ca5c0;this[_0x14568a(0x17e)]===_0x14568a(0x1d8)?_0x1ca5c0=_0x554a39(_0x54441d,_0x1b3022):this[_0x14568a(0x17e)]===_0x14568a(0x202)?_0x1ca5c0=_0x52ac75(_0x554a39(_0x54441d,_0x1b3022)):this['_binaryType']===_0x14568a(0x1ce)?_0x1ca5c0=new Blob(_0x54441d):_0x1ca5c0=_0x54441d,this['_allowSynchronousEvents']?(this['emit'](_0x14568a(0x112),_0x1ca5c0,!0x0),this['_state']=_0x5d453a):(this[_0x14568a(0x130)]=_0x249d3a,setImmediate(()=>{const _0x57ae0b=_0x14568a;this[_0x57ae0b(0x163)]('message',_0x1ca5c0,!0x0),this[_0x57ae0b(0x130)]=_0x5d453a,this[_0x57ae0b(0xc3)](_0x2e8483);}));}else{const _0x5e62f1=_0x554a39(_0x54441d,_0x1b3022);if(!this[_0x14568a(0xa5)]&&!_0x213541(_0x5e62f1)){const _0x3dbe54=this[_0x14568a(0xeb)](Error,_0x14568a(0x71),!0x0,0x3ef,_0x14568a(0x166));_0x2e8483(_0x3dbe54);return;}this['_state']===_0x27f0a8||this['_allowSynchronousEvents']?(this['emit']('message',_0x5e62f1,!0x1),this[_0x14568a(0x130)]=_0x5d453a):(this[_0x14568a(0x130)]=_0x249d3a,setImmediate(()=>{const _0xa0d330=_0x14568a;this[_0xa0d330(0x163)](_0xa0d330(0x112),_0x5e62f1,!0x1),this['_state']=_0x5d453a,this[_0xa0d330(0xc3)](_0x2e8483);}));}}['controlMessage'](_0x409d59,_0x2ac620){const _0x443ead=_0x45f48f;if(this['_opcode']===0x8){if(_0x409d59['length']===0x0)this[_0x443ead(0x70)]=!0x1,this[_0x443ead(0x163)]('conclude',0x3ed,_0x5af845),this[_0x443ead(0x14a)]();else{const _0x22b6f0=_0x409d59['readUInt16BE'](0x0);if(!_0x22cd39(_0x22b6f0)){const _0x29c96c=this[_0x443ead(0xeb)](RangeError,_0x443ead(0x17c)+_0x22b6f0,!0x0,0x3ea,_0x443ead(0x162));_0x2ac620(_0x29c96c);return;}const _0x384147=new _0x723a87(_0x409d59[_0x443ead(0x79)],_0x409d59[_0x443ead(0xdf)]+0x2,_0x409d59[_0x443ead(0x191)]-0x2);if(!this[_0x443ead(0xa5)]&&!_0x213541(_0x384147)){const _0x3316ce=this['createError'](Error,_0x443ead(0x71),!0x0,0x3ef,_0x443ead(0x166));_0x2ac620(_0x3316ce);return;}this[_0x443ead(0x70)]=!0x1,this[_0x443ead(0x163)]('conclude',_0x22b6f0,_0x384147),this[_0x443ead(0x14a)]();}this['_state']=_0x5d453a;return;}this['_allowSynchronousEvents']?(this[_0x443ead(0x163)](this[_0x443ead(0x91)]===0x9?_0x443ead(0x13f):'pong',_0x409d59),this['_state']=_0x5d453a):(this[_0x443ead(0x130)]=_0x249d3a,setImmediate(()=>{const _0x62cd25=_0x443ead;this[_0x62cd25(0x163)](this[_0x62cd25(0x91)]===0x9?'ping':_0x62cd25(0x137),_0x409d59),this[_0x62cd25(0x130)]=_0x5d453a,this['startLoop'](_0x2ac620);}));}[_0x45f48f(0xeb)](_0x4d971f,_0x1463ea,_0x461f2f,_0x4d68a2,_0x575b16){const _0x45b804=_0x45f48f;this[_0x45b804(0x70)]=!0x1,this[_0x45b804(0x1f1)]=!0x0;const _0x184412=new _0x4d971f(_0x461f2f?'Invalid\x20WebSocket\x20frame:\x20'+_0x1463ea:_0x1463ea);return Error[_0x45b804(0x22a)](_0x184412,this[_0x45b804(0xeb)]),_0x184412['code']=_0x575b16,_0x184412[_0x4f9100]=_0x4d68a2,_0x184412;}}return Se=_0x3b540a,Se;}var Ee,et;function _t(){const _0xf688b5=_0x1d0d40;if(et)return Ee;et=0x1;const {Duplex:_0x202328}=_0x3cb4f8,{randomFillSync:_0x5e14b0}=_0xf23312,_0x18b380=he(),{EMPTY_BUFFER:_0x1d9dd5,kWebSocket:_0x4395a1,NOOP:_0x442c9c}=V(),{isBlob:_0x360060,isValidStatusCode:_0x2d6c07}=ne(),{mask:_0x5a66c3,toBuffer:_0x1244cd}=ce(),_0x6aa4d2=Symbol('kByteLength'),_0x1aaced=Buffer[_0xf688b5(0x16e)](0x4),_0x17d65a=0x8*0x400;let _0x193ded,_0x4040bb=_0x17d65a;const _0x1acb72=0x0,_0x494d01=0x1,_0x1ee900=0x2;class _0x18cc02{constructor(_0x19a942,_0x486e5d,_0x1a2c82){const _0x5dcf3e=_0xf688b5;this[_0x5dcf3e(0xe8)]=_0x486e5d||{},_0x1a2c82&&(this['_generateMask']=_0x1a2c82,this[_0x5dcf3e(0x1b1)]=Buffer[_0x5dcf3e(0x16e)](0x4)),this[_0x5dcf3e(0x148)]=_0x19a942,this['_firstFragment']=!0x0,this[_0x5dcf3e(0x8a)]=!0x1,this[_0x5dcf3e(0xa8)]=0x0,this[_0x5dcf3e(0xba)]=[],this[_0x5dcf3e(0x130)]=_0x1acb72,this[_0x5dcf3e(0x1df)]=_0x442c9c,this[_0x4395a1]=void 0x0;}static[_0xf688b5(0x15a)](_0x4c367e,_0xd98981){const _0x589405=_0xf688b5;let _0x3ea2c2,_0x57c62d=!0x1,_0x1ecef4=0x2,_0x20fb9f=!0x1;_0xd98981[_0x589405(0x88)]&&(_0x3ea2c2=_0xd98981[_0x589405(0x108)]||_0x1aaced,_0xd98981[_0x589405(0x1eb)]?_0xd98981['generateMask'](_0x3ea2c2):(_0x4040bb===_0x17d65a&&(_0x193ded===void 0x0&&(_0x193ded=Buffer['alloc'](_0x17d65a)),_0x5e14b0(_0x193ded,0x0,_0x17d65a),_0x4040bb=0x0),_0x3ea2c2[0x0]=_0x193ded[_0x4040bb++],_0x3ea2c2[0x1]=_0x193ded[_0x4040bb++],_0x3ea2c2[0x2]=_0x193ded[_0x4040bb++],_0x3ea2c2[0x3]=_0x193ded[_0x4040bb++]),_0x20fb9f=(_0x3ea2c2[0x0]|_0x3ea2c2[0x1]|_0x3ea2c2[0x2]|_0x3ea2c2[0x3])===0x0,_0x1ecef4=0x6);let _0x5c88a8;typeof _0x4c367e=='string'?(!_0xd98981['mask']||_0x20fb9f)&&_0xd98981[_0x6aa4d2]!==void 0x0?_0x5c88a8=_0xd98981[_0x6aa4d2]:(_0x4c367e=Buffer[_0x589405(0xb4)](_0x4c367e),_0x5c88a8=_0x4c367e[_0x589405(0x191)]):(_0x5c88a8=_0x4c367e[_0x589405(0x191)],_0x57c62d=_0xd98981[_0x589405(0x88)]&&_0xd98981[_0x589405(0x10d)]&&!_0x20fb9f);let _0x79b8f0=_0x5c88a8;_0x5c88a8>=0x10000?(_0x1ecef4+=0x8,_0x79b8f0=0x7f):_0x5c88a8>0x7d&&(_0x1ecef4+=0x2,_0x79b8f0=0x7e);const _0x931bf=Buffer['allocUnsafe'](_0x57c62d?_0x5c88a8+_0x1ecef4:_0x1ecef4);return _0x931bf[0x0]=_0xd98981['fin']?_0xd98981['opcode']|0x80:_0xd98981[_0x589405(0x138)],_0xd98981[_0x589405(0x8b)]&&(_0x931bf[0x0]|=0x40),_0x931bf[0x1]=_0x79b8f0,_0x79b8f0===0x7e?_0x931bf[_0x589405(0x1ed)](_0x5c88a8,0x2):_0x79b8f0===0x7f&&(_0x931bf[0x2]=_0x931bf[0x3]=0x0,_0x931bf[_0x589405(0x1e5)](_0x5c88a8,0x4,0x6)),_0xd98981[_0x589405(0x88)]?(_0x931bf[0x1]|=0x80,_0x931bf[_0x1ecef4-0x4]=_0x3ea2c2[0x0],_0x931bf[_0x1ecef4-0x3]=_0x3ea2c2[0x1],_0x931bf[_0x1ecef4-0x2]=_0x3ea2c2[0x2],_0x931bf[_0x1ecef4-0x1]=_0x3ea2c2[0x3],_0x20fb9f?[_0x931bf,_0x4c367e]:_0x57c62d?(_0x5a66c3(_0x4c367e,_0x3ea2c2,_0x931bf,_0x1ecef4,_0x5c88a8),[_0x931bf]):(_0x5a66c3(_0x4c367e,_0x3ea2c2,_0x4c367e,0x0,_0x5c88a8),[_0x931bf,_0x4c367e])):[_0x931bf,_0x4c367e];}[_0xf688b5(0xcf)](_0x571935,_0x39f847,_0x3adf97,_0x578900){const _0x4bcb63=_0xf688b5;let _0x1a25ce;if(_0x571935===void 0x0)_0x1a25ce=_0x1d9dd5;else{if(typeof _0x571935!=_0x4bcb63(0x14e)||!_0x2d6c07(_0x571935))throw new TypeError(_0x4bcb63(0x1ae));if(_0x39f847===void 0x0||!_0x39f847[_0x4bcb63(0x191)])_0x1a25ce=Buffer[_0x4bcb63(0x146)](0x2),_0x1a25ce[_0x4bcb63(0x1ed)](_0x571935,0x0);else{const _0x6b5e36=Buffer[_0x4bcb63(0x208)](_0x39f847);if(_0x6b5e36>0x7b)throw new RangeError(_0x4bcb63(0x1f2));_0x1a25ce=Buffer[_0x4bcb63(0x146)](0x2+_0x6b5e36),_0x1a25ce[_0x4bcb63(0x1ed)](_0x571935,0x0),typeof _0x39f847==_0x4bcb63(0x1f0)?_0x1a25ce[_0x4bcb63(0x197)](_0x39f847,0x2):_0x1a25ce[_0x4bcb63(0x1f5)](_0x39f847,0x2);}}const _0x25c9f0={[_0x6aa4d2]:_0x1a25ce[_0x4bcb63(0x191)],'fin':!0x0,'generateMask':this[_0x4bcb63(0x11a)],'mask':_0x3adf97,'maskBuffer':this[_0x4bcb63(0x1b1)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x1acb72?this[_0x4bcb63(0x116)]([this[_0x4bcb63(0xdd)],_0x1a25ce,!0x1,_0x25c9f0,_0x578900]):this[_0x4bcb63(0x1bd)](_0x18cc02[_0x4bcb63(0x15a)](_0x1a25ce,_0x25c9f0),_0x578900);}['ping'](_0x1632e7,_0x44cd19,_0x5db699){const _0x479813=_0xf688b5;let _0xe003fc,_0x2199c7;if(typeof _0x1632e7==_0x479813(0x1f0)?(_0xe003fc=Buffer[_0x479813(0x208)](_0x1632e7),_0x2199c7=!0x1):_0x360060(_0x1632e7)?(_0xe003fc=_0x1632e7[_0x479813(0x18e)],_0x2199c7=!0x1):(_0x1632e7=_0x1244cd(_0x1632e7),_0xe003fc=_0x1632e7['length'],_0x2199c7=_0x1244cd['readOnly']),_0xe003fc>0x7d)throw new RangeError(_0x479813(0xb7));const _0xf3d556={[_0x6aa4d2]:_0xe003fc,'fin':!0x0,'generateMask':this[_0x479813(0x11a)],'mask':_0x44cd19,'maskBuffer':this[_0x479813(0x1b1)],'opcode':0x9,'readOnly':_0x2199c7,'rsv1':!0x1};_0x360060(_0x1632e7)?this[_0x479813(0x130)]!==_0x1acb72?this[_0x479813(0x116)]([this[_0x479813(0xde)],_0x1632e7,!0x1,_0xf3d556,_0x5db699]):this[_0x479813(0xde)](_0x1632e7,!0x1,_0xf3d556,_0x5db699):this['_state']!==_0x1acb72?this[_0x479813(0x116)]([this[_0x479813(0xdd)],_0x1632e7,!0x1,_0xf3d556,_0x5db699]):this['sendFrame'](_0x18cc02[_0x479813(0x15a)](_0x1632e7,_0xf3d556),_0x5db699);}['pong'](_0x30bc78,_0x2ad352,_0x51d37c){const _0x4c809d=_0xf688b5;let _0x10f8d3,_0x13fbc3;if(typeof _0x30bc78==_0x4c809d(0x1f0)?(_0x10f8d3=Buffer['byteLength'](_0x30bc78),_0x13fbc3=!0x1):_0x360060(_0x30bc78)?(_0x10f8d3=_0x30bc78[_0x4c809d(0x18e)],_0x13fbc3=!0x1):(_0x30bc78=_0x1244cd(_0x30bc78),_0x10f8d3=_0x30bc78[_0x4c809d(0x191)],_0x13fbc3=_0x1244cd[_0x4c809d(0x10d)]),_0x10f8d3>0x7d)throw new RangeError(_0x4c809d(0xb7));const _0x202718={[_0x6aa4d2]:_0x10f8d3,'fin':!0x0,'generateMask':this[_0x4c809d(0x11a)],'mask':_0x2ad352,'maskBuffer':this[_0x4c809d(0x1b1)],'opcode':0xa,'readOnly':_0x13fbc3,'rsv1':!0x1};_0x360060(_0x30bc78)?this[_0x4c809d(0x130)]!==_0x1acb72?this[_0x4c809d(0x116)]([this[_0x4c809d(0xde)],_0x30bc78,!0x1,_0x202718,_0x51d37c]):this[_0x4c809d(0xde)](_0x30bc78,!0x1,_0x202718,_0x51d37c):this[_0x4c809d(0x130)]!==_0x1acb72?this[_0x4c809d(0x116)]([this['dispatch'],_0x30bc78,!0x1,_0x202718,_0x51d37c]):this[_0x4c809d(0x1bd)](_0x18cc02[_0x4c809d(0x15a)](_0x30bc78,_0x202718),_0x51d37c);}[_0xf688b5(0x1e9)](_0x568637,_0x28ed6a,_0xc274c6){const _0x5399eb=_0xf688b5,_0x155f83=this[_0x5399eb(0xe8)][_0x18b380[_0x5399eb(0x14d)]];let _0x504a73=_0x28ed6a[_0x5399eb(0x126)]?0x2:0x1,_0x202f38=_0x28ed6a[_0x5399eb(0x227)],_0x39740d,_0x4e81f1;typeof _0x568637==_0x5399eb(0x1f0)?(_0x39740d=Buffer[_0x5399eb(0x208)](_0x568637),_0x4e81f1=!0x1):_0x360060(_0x568637)?(_0x39740d=_0x568637['size'],_0x4e81f1=!0x1):(_0x568637=_0x1244cd(_0x568637),_0x39740d=_0x568637[_0x5399eb(0x191)],_0x4e81f1=_0x1244cd['readOnly']),this[_0x5399eb(0x1d7)]?(this['_firstFragment']=!0x1,_0x202f38&&_0x155f83&&_0x155f83[_0x5399eb(0x124)][_0x155f83['_isServer']?_0x5399eb(0xc2):_0x5399eb(0x189)]&&(_0x202f38=_0x39740d>=_0x155f83['_threshold']),this['_compress']=_0x202f38):(_0x202f38=!0x1,_0x504a73=0x0),_0x28ed6a[_0x5399eb(0x1ac)]&&(this['_firstFragment']=!0x0);const _0x38e9dd={[_0x6aa4d2]:_0x39740d,'fin':_0x28ed6a[_0x5399eb(0x1ac)],'generateMask':this[_0x5399eb(0x11a)],'mask':_0x28ed6a[_0x5399eb(0x88)],'maskBuffer':this[_0x5399eb(0x1b1)],'opcode':_0x504a73,'readOnly':_0x4e81f1,'rsv1':_0x202f38};_0x360060(_0x568637)?this[_0x5399eb(0x130)]!==_0x1acb72?this[_0x5399eb(0x116)]([this['getBlobData'],_0x568637,this[_0x5399eb(0x8a)],_0x38e9dd,_0xc274c6]):this[_0x5399eb(0xde)](_0x568637,this[_0x5399eb(0x8a)],_0x38e9dd,_0xc274c6):this['_state']!==_0x1acb72?this[_0x5399eb(0x116)]([this[_0x5399eb(0xdd)],_0x568637,this[_0x5399eb(0x8a)],_0x38e9dd,_0xc274c6]):this[_0x5399eb(0xdd)](_0x568637,this[_0x5399eb(0x8a)],_0x38e9dd,_0xc274c6);}[_0xf688b5(0xde)](_0x20fcc6,_0x1e8add,_0x5c775c,_0x4df2b3){const _0x58ae95=_0xf688b5;this['_bufferedBytes']+=_0x5c775c[_0x6aa4d2],this[_0x58ae95(0x130)]=_0x1ee900,_0x20fcc6[_0x58ae95(0x204)]()[_0x58ae95(0xe4)](_0x1cdc87=>{const _0x563a3d=_0x58ae95;if(this[_0x563a3d(0x148)][_0x563a3d(0x1c6)]){const _0x14facc=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x563a3d(0xb5)](_0x56c7a7,this,_0x14facc,_0x4df2b3);return;}this[_0x563a3d(0xa8)]-=_0x5c775c[_0x6aa4d2];const _0x2687cc=_0x1244cd(_0x1cdc87);_0x1e8add?this[_0x563a3d(0xdd)](_0x2687cc,_0x1e8add,_0x5c775c,_0x4df2b3):(this[_0x563a3d(0x130)]=_0x1acb72,this[_0x563a3d(0x1bd)](_0x18cc02[_0x563a3d(0x15a)](_0x2687cc,_0x5c775c),_0x4df2b3),this[_0x563a3d(0x11e)]());})[_0x58ae95(0x1e2)](_0x47641f=>{const _0x2c458e=_0x58ae95;process[_0x2c458e(0xb5)](_0x53d51c,this,_0x47641f,_0x4df2b3);});}['dispatch'](_0x106d89,_0x196756,_0x1bac41,_0xef6690){const _0x48503d=_0xf688b5;if(!_0x196756){this['sendFrame'](_0x18cc02['frame'](_0x106d89,_0x1bac41),_0xef6690);return;}const _0x31381f=this[_0x48503d(0xe8)][_0x18b380['extensionName']];this['_bufferedBytes']+=_0x1bac41[_0x6aa4d2],this[_0x48503d(0x130)]=_0x494d01,_0x31381f[_0x48503d(0x227)](_0x106d89,_0x1bac41['fin'],(_0x485f58,_0x5bb27b)=>{const _0x5abd03=_0x48503d;if(this['_socket'][_0x5abd03(0x1c6)]){const _0x3d12e6=new Error(_0x5abd03(0x1d2));_0x56c7a7(this,_0x3d12e6,_0xef6690);return;}this[_0x5abd03(0xa8)]-=_0x1bac41[_0x6aa4d2],this[_0x5abd03(0x130)]=_0x1acb72,_0x1bac41[_0x5abd03(0x10d)]=!0x1,this['sendFrame'](_0x18cc02[_0x5abd03(0x15a)](_0x5bb27b,_0x1bac41),_0xef6690),this[_0x5abd03(0x11e)]();});}[_0xf688b5(0x11e)](){const _0x364b8f=_0xf688b5;for(;this['_state']===_0x1acb72&&this[_0x364b8f(0xba)][_0x364b8f(0x191)];){const _0x473e37=this['_queue'][_0x364b8f(0x1ff)]();this[_0x364b8f(0xa8)]-=_0x473e37[0x3][_0x6aa4d2],Reflect[_0x364b8f(0x184)](_0x473e37[0x0],this,_0x473e37[_0x364b8f(0x222)](0x1));}}[_0xf688b5(0x116)](_0xf5e08d){const _0x59dacb=_0xf688b5;this[_0x59dacb(0xa8)]+=_0xf5e08d[0x3][_0x6aa4d2],this[_0x59dacb(0xba)]['push'](_0xf5e08d);}[_0xf688b5(0x1bd)](_0x47c6c3,_0x7983bd){const _0x5640e3=_0xf688b5;_0x47c6c3[_0x5640e3(0x191)]===0x2?(this['_socket'][_0x5640e3(0x7d)](),this['_socket'][_0x5640e3(0x197)](_0x47c6c3[0x0]),this[_0x5640e3(0x148)][_0x5640e3(0x197)](_0x47c6c3[0x1],_0x7983bd),this[_0x5640e3(0x148)][_0x5640e3(0x107)]()):this[_0x5640e3(0x148)][_0x5640e3(0x197)](_0x47c6c3[0x0],_0x7983bd);}}Ee=_0x18cc02;function _0x56c7a7(_0x5ecbc5,_0x26a16d,_0x2c2bcb){const _0x532580=_0xf688b5;typeof _0x2c2bcb=='function'&&_0x2c2bcb(_0x26a16d);for(let _0x5009a7=0x0;_0x5009a7<_0x5ecbc5[_0x532580(0xba)]['length'];_0x5009a7++){const _0x34a523=_0x5ecbc5['_queue'][_0x5009a7],_0x4b75e9=_0x34a523[_0x34a523[_0x532580(0x191)]-0x1];typeof _0x4b75e9==_0x532580(0xc0)&&_0x4b75e9(_0x26a16d);}}function _0x53d51c(_0x4d4897,_0xa14d85,_0x23825b){const _0x4f105f=_0xf688b5;_0x56c7a7(_0x4d4897,_0xa14d85,_0x23825b),_0x4d4897[_0x4f105f(0x1df)](_0xa14d85);}return Ee;}var xe,tt;function Kt(){const _0x24968a=_0x1d0d40;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x59a192,kListener:_0x5980ae}=V(),_0x6c8677=Symbol(_0x24968a(0xf7)),_0x6d990a=Symbol(_0x24968a(0x16f)),_0x5b0df6=Symbol(_0x24968a(0x103)),_0x24f572=Symbol(_0x24968a(0xea)),_0x142a97=Symbol('kReason'),_0x3d5584=Symbol(_0x24968a(0x172)),_0x188803=Symbol(_0x24968a(0xd6)),_0x2f38c3=Symbol(_0x24968a(0xb9));class _0x3bec36{constructor(_0x34a6ad){this[_0x3d5584]=null,this[_0x188803]=_0x34a6ad;}get['target'](){return this[_0x3d5584];}get[_0x24968a(0x9d)](){return this[_0x188803];}}Object[_0x24968a(0x143)](_0x3bec36['prototype'],_0x24968a(0x176),{'enumerable':!0x0}),Object['defineProperty'](_0x3bec36['prototype'],_0x24968a(0x9d),{'enumerable':!0x0});class _0x28f96b extends _0x3bec36{constructor(_0x2c0559,_0x1d3914={}){const _0xf65adc=_0x24968a;super(_0x2c0559),this[_0x6c8677]=_0x1d3914['code']===void 0x0?0x0:_0x1d3914[_0xf65adc(0x1dd)],this[_0x142a97]=_0x1d3914[_0xf65adc(0xd7)]===void 0x0?'':_0x1d3914[_0xf65adc(0xd7)],this[_0x2f38c3]=_0x1d3914[_0xf65adc(0x1d4)]===void 0x0?!0x1:_0x1d3914[_0xf65adc(0x1d4)];}get[_0x24968a(0x1dd)](){return this[_0x6c8677];}get[_0x24968a(0xd7)](){return this[_0x142a97];}get['wasClean'](){return this[_0x2f38c3];}}Object[_0x24968a(0x143)](_0x28f96b[_0x24968a(0x150)],_0x24968a(0x1dd),{'enumerable':!0x0}),Object[_0x24968a(0x143)](_0x28f96b[_0x24968a(0x150)],_0x24968a(0xd7),{'enumerable':!0x0}),Object[_0x24968a(0x143)](_0x28f96b[_0x24968a(0x150)],_0x24968a(0x1d4),{'enumerable':!0x0});class _0x214776 extends _0x3bec36{constructor(_0x3fff2f,_0x593c5d={}){const _0x3e9c93=_0x24968a;super(_0x3fff2f),this[_0x5b0df6]=_0x593c5d[_0x3e9c93(0x11d)]===void 0x0?null:_0x593c5d[_0x3e9c93(0x11d)],this[_0x24f572]=_0x593c5d[_0x3e9c93(0x112)]===void 0x0?'':_0x593c5d[_0x3e9c93(0x112)];}get[_0x24968a(0x11d)](){return this[_0x5b0df6];}get[_0x24968a(0x112)](){return this[_0x24f572];}}Object[_0x24968a(0x143)](_0x214776[_0x24968a(0x150)],'error',{'enumerable':!0x0}),Object[_0x24968a(0x143)](_0x214776[_0x24968a(0x150)],_0x24968a(0x112),{'enumerable':!0x0});class _0x2bc7c5 extends _0x3bec36{constructor(_0x322d2a,_0x2e8bb2={}){const _0x1ee979=_0x24968a;super(_0x322d2a),this[_0x6d990a]=_0x2e8bb2[_0x1ee979(0xc6)]===void 0x0?null:_0x2e8bb2['data'];}get[_0x24968a(0xc6)](){return this[_0x6d990a];}}Object[_0x24968a(0x143)](_0x2bc7c5[_0x24968a(0x150)],_0x24968a(0xc6),{'enumerable':!0x0}),xe={'CloseEvent':_0x28f96b,'ErrorEvent':_0x214776,'Event':_0x3bec36,'EventTarget':{'addEventListener'(_0x1d283,_0x3a0593,_0x3d28ca={}){const _0xa2598d=_0x24968a;for(const _0x40c72d of this['listeners'](_0x1d283))if(!_0x3d28ca[_0x59a192]&&_0x40c72d[_0x5980ae]===_0x3a0593&&!_0x40c72d[_0x59a192])return;let _0x33ae56;if(_0x1d283===_0xa2598d(0x112))_0x33ae56=function(_0x4a199e,_0x49b670){const _0x269004=_0xa2598d,_0x5a8b96=new _0x2bc7c5(_0x269004(0x112),{'data':_0x49b670?_0x4a199e:_0x4a199e[_0x269004(0xa9)]()});_0x5a8b96[_0x3d5584]=this,_0x1868ad(_0x3a0593,this,_0x5a8b96);};else{if(_0x1d283===_0xa2598d(0xcf))_0x33ae56=function(_0x349b92,_0x4bbbd0){const _0x5382b3=_0xa2598d,_0x159075=new _0x28f96b(_0x5382b3(0xcf),{'code':_0x349b92,'reason':_0x4bbbd0[_0x5382b3(0xa9)](),'wasClean':this[_0x5382b3(0x206)]&&this['_closeFrameSent']});_0x159075[_0x3d5584]=this,_0x1868ad(_0x3a0593,this,_0x159075);};else{if(_0x1d283==='error')_0x33ae56=function(_0x5c1bfc){const _0x51e494=_0xa2598d,_0x49638e=new _0x214776(_0x51e494(0x11d),{'error':_0x5c1bfc,'message':_0x5c1bfc[_0x51e494(0x112)]});_0x49638e[_0x3d5584]=this,_0x1868ad(_0x3a0593,this,_0x49638e);};else{if(_0x1d283===_0xa2598d(0x133))_0x33ae56=function(){const _0x2cd5f6=_0xa2598d,_0x2a30f9=new _0x3bec36(_0x2cd5f6(0x133));_0x2a30f9[_0x3d5584]=this,_0x1868ad(_0x3a0593,this,_0x2a30f9);};else return;}}}_0x33ae56[_0x59a192]=!!_0x3d28ca[_0x59a192],_0x33ae56[_0x5980ae]=_0x3a0593,_0x3d28ca[_0xa2598d(0x1da)]?this['once'](_0x1d283,_0x33ae56):this['on'](_0x1d283,_0x33ae56);},'removeEventListener'(_0x30bf64,_0x3caedb){const _0xb28e9d=_0x24968a;for(const _0x484329 of this[_0xb28e9d(0x105)](_0x30bf64))if(_0x484329[_0x5980ae]===_0x3caedb&&!_0x484329[_0x59a192]){this[_0xb28e9d(0x1d1)](_0x30bf64,_0x484329);break;}}},'MessageEvent':_0x2bc7c5};function _0x1868ad(_0x30e808,_0x234018,_0x40100b){const _0x4aedd8=_0x24968a;typeof _0x30e808=='object'&&_0x30e808['handleEvent']?_0x30e808['handleEvent'][_0x4aedd8(0xed)](_0x30e808,_0x40100b):_0x30e808[_0x4aedd8(0xed)](_0x234018,_0x40100b);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x5f4f7e}=ne();function _0x198436(_0xdc7c1b,_0x40e338,_0x268d3d){const _0xede0c0=_0x1a11;_0xdc7c1b[_0x40e338]===void 0x0?_0xdc7c1b[_0x40e338]=[_0x268d3d]:_0xdc7c1b[_0x40e338][_0xede0c0(0x106)](_0x268d3d);}function _0x3ad814(_0x48d221){const _0x52f261=_0x1a11,_0x284d07=Object[_0x52f261(0x73)](null);let _0x498961=Object['create'](null),_0x194b42=!0x1,_0x2d2bba=!0x1,_0x3119d5=!0x1,_0xf1c7aa,_0x2aa591,_0x28c1e1=-0x1,_0x36e972=-0x1,_0x245a46=-0x1,_0x1672ed=0x0;for(;_0x1672ed<_0x48d221['length'];_0x1672ed++)if(_0x36e972=_0x48d221['charCodeAt'](_0x1672ed),_0xf1c7aa===void 0x0){if(_0x245a46===-0x1&&_0x5f4f7e[_0x36e972]===0x1)_0x28c1e1===-0x1&&(_0x28c1e1=_0x1672ed);else{if(_0x1672ed!==0x0&&(_0x36e972===0x20||_0x36e972===0x9))_0x245a46===-0x1&&_0x28c1e1!==-0x1&&(_0x245a46=_0x1672ed);else{if(_0x36e972===0x3b||_0x36e972===0x2c){if(_0x28c1e1===-0x1)throw new SyntaxError(_0x52f261(0x140)+_0x1672ed);_0x245a46===-0x1&&(_0x245a46=_0x1672ed);const _0x1cd8f8=_0x48d221[_0x52f261(0x222)](_0x28c1e1,_0x245a46);_0x36e972===0x2c?(_0x198436(_0x284d07,_0x1cd8f8,_0x498961),_0x498961=Object['create'](null)):_0xf1c7aa=_0x1cd8f8,_0x28c1e1=_0x245a46=-0x1;}else throw new SyntaxError(_0x52f261(0x140)+_0x1672ed);}}}else{if(_0x2aa591===void 0x0){if(_0x245a46===-0x1&&_0x5f4f7e[_0x36e972]===0x1)_0x28c1e1===-0x1&&(_0x28c1e1=_0x1672ed);else{if(_0x36e972===0x20||_0x36e972===0x9)_0x245a46===-0x1&&_0x28c1e1!==-0x1&&(_0x245a46=_0x1672ed);else{if(_0x36e972===0x3b||_0x36e972===0x2c){if(_0x28c1e1===-0x1)throw new SyntaxError(_0x52f261(0x140)+_0x1672ed);_0x245a46===-0x1&&(_0x245a46=_0x1672ed),_0x198436(_0x498961,_0x48d221[_0x52f261(0x222)](_0x28c1e1,_0x245a46),!0x0),_0x36e972===0x2c&&(_0x198436(_0x284d07,_0xf1c7aa,_0x498961),_0x498961=Object[_0x52f261(0x73)](null),_0xf1c7aa=void 0x0),_0x28c1e1=_0x245a46=-0x1;}else{if(_0x36e972===0x3d&&_0x28c1e1!==-0x1&&_0x245a46===-0x1)_0x2aa591=_0x48d221[_0x52f261(0x222)](_0x28c1e1,_0x1672ed),_0x28c1e1=_0x245a46=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1672ed);}}}}else{if(_0x2d2bba){if(_0x5f4f7e[_0x36e972]!==0x1)throw new SyntaxError(_0x52f261(0x140)+_0x1672ed);_0x28c1e1===-0x1?_0x28c1e1=_0x1672ed:_0x194b42||(_0x194b42=!0x0),_0x2d2bba=!0x1;}else{if(_0x3119d5){if(_0x5f4f7e[_0x36e972]===0x1)_0x28c1e1===-0x1&&(_0x28c1e1=_0x1672ed);else{if(_0x36e972===0x22&&_0x28c1e1!==-0x1)_0x3119d5=!0x1,_0x245a46=_0x1672ed;else{if(_0x36e972===0x5c)_0x2d2bba=!0x0;else throw new SyntaxError(_0x52f261(0x140)+_0x1672ed);}}}else{if(_0x36e972===0x22&&_0x48d221[_0x52f261(0x15e)](_0x1672ed-0x1)===0x3d)_0x3119d5=!0x0;else{if(_0x245a46===-0x1&&_0x5f4f7e[_0x36e972]===0x1)_0x28c1e1===-0x1&&(_0x28c1e1=_0x1672ed);else{if(_0x28c1e1!==-0x1&&(_0x36e972===0x20||_0x36e972===0x9))_0x245a46===-0x1&&(_0x245a46=_0x1672ed);else{if(_0x36e972===0x3b||_0x36e972===0x2c){if(_0x28c1e1===-0x1)throw new SyntaxError(_0x52f261(0x140)+_0x1672ed);_0x245a46===-0x1&&(_0x245a46=_0x1672ed);let _0x32ef40=_0x48d221[_0x52f261(0x222)](_0x28c1e1,_0x245a46);_0x194b42&&(_0x32ef40=_0x32ef40[_0x52f261(0xee)](/\\/g,''),_0x194b42=!0x1),_0x198436(_0x498961,_0x2aa591,_0x32ef40),_0x36e972===0x2c&&(_0x198436(_0x284d07,_0xf1c7aa,_0x498961),_0x498961=Object['create'](null),_0xf1c7aa=void 0x0),_0x2aa591=void 0x0,_0x28c1e1=_0x245a46=-0x1;}else throw new SyntaxError(_0x52f261(0x140)+_0x1672ed);}}}}}}}if(_0x28c1e1===-0x1||_0x3119d5||_0x36e972===0x20||_0x36e972===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x245a46===-0x1&&(_0x245a46=_0x1672ed);const _0x56c3d1=_0x48d221[_0x52f261(0x222)](_0x28c1e1,_0x245a46);return _0xf1c7aa===void 0x0?_0x198436(_0x284d07,_0x56c3d1,_0x498961):(_0x2aa591===void 0x0?_0x198436(_0x498961,_0x56c3d1,!0x0):_0x194b42?_0x198436(_0x498961,_0x2aa591,_0x56c3d1[_0x52f261(0xee)](/\\/g,'')):_0x198436(_0x498961,_0x2aa591,_0x56c3d1),_0x198436(_0x284d07,_0xf1c7aa,_0x498961)),_0x284d07;}function _0x41fc61(_0x1859e1){const _0x5560ff=_0x1a11;return Object[_0x5560ff(0x1b4)](_0x1859e1)[_0x5560ff(0xc5)](_0xda0643=>{const _0x3d1da0=_0x5560ff;let _0x320cb4=_0x1859e1[_0xda0643];return Array[_0x3d1da0(0xb8)](_0x320cb4)||(_0x320cb4=[_0x320cb4]),_0x320cb4[_0x3d1da0(0xc5)](_0x359703=>[_0xda0643][_0x3d1da0(0x147)](Object[_0x3d1da0(0x1b4)](_0x359703)[_0x3d1da0(0xc5)](_0x3c50b5=>{const _0x3f0d00=_0x3d1da0;let _0x1923a1=_0x359703[_0x3c50b5];return Array[_0x3f0d00(0xb8)](_0x1923a1)||(_0x1923a1=[_0x1923a1]),_0x1923a1[_0x3f0d00(0xc5)](_0x10604c=>_0x10604c===!0x0?_0x3c50b5:_0x3c50b5+'='+_0x10604c)[_0x3f0d00(0x17f)](';\x20');}))[_0x3d1da0(0x17f)](';\x20'))[_0x3d1da0(0x17f)](',\x20');})[_0x5560ff(0x17f)](',\x20');}return be={'format':_0x41fc61,'parse':_0x3ad814},be;}var we,st;function Ie(){const _0x2ac88f=_0x1d0d40;if(st)return we;st=0x1;const _0x59282d=_0xe1b3a0,_0x2569bf=_0x313c10,_0x59305a=_0x568c1a,_0x54bfe9=_0x5b49c8,_0x2f38cc=_0x1c88e6,{randomBytes:_0x1dbf0f,createHash:_0x26b2ff}=_0xf23312,{Duplex:_0x51b30b,Readable:_0x26d7ae}=_0x3cb4f8,{URL:_0x3fcb83}=_0x317e46,_0x3fd3f2=he(),_0x5cb8a2=dt(),_0x2aedfb=_t(),{isBlob:_0x5c9b42}=ne(),{BINARY_TYPES:_0x9dbaf5,EMPTY_BUFFER:_0x331d3b,GUID:_0x3de87d,kForOnEventAttribute:_0x380fd4,kListener:_0x19797e,kStatusCode:_0x342ae6,kWebSocket:_0xdc3659,NOOP:_0x4f92e7}=V(),{EventTarget:{addEventListener:_0x2f0b62,removeEventListener:_0x426ca3}}=Kt(),{format:_0x35b3fa,parse:_0x2b7bef}=pt(),{toBuffer:_0x15e3ee}=ce(),_0x3e38e2=0x1e*0x3e8,_0x428bb4=Symbol(_0x2ac88f(0x142)),_0x183e12=[0x8,0xd],_0x1be903=['CONNECTING',_0x2ac88f(0xb0),'CLOSING',_0x2ac88f(0x1a5)],_0x238e55=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x2ec82b extends _0x59282d{constructor(_0x508fe9,_0x23a0a9,_0x25c38e){const _0x2c9007=_0x2ac88f;super(),this[_0x2c9007(0x17e)]=_0x9dbaf5[0x0],this[_0x2c9007(0x159)]=0x3ee,this['_closeFrameReceived']=!0x1,this['_closeFrameSent']=!0x1,this[_0x2c9007(0x229)]=_0x331d3b,this[_0x2c9007(0x99)]=null,this[_0x2c9007(0x10c)]=!0x1,this[_0x2c9007(0xe8)]={},this[_0x2c9007(0xf0)]=!0x1,this['_protocol']='',this['_readyState']=_0x2ec82b[_0x2c9007(0x123)],this['_receiver']=null,this[_0x2c9007(0x1c4)]=null,this[_0x2c9007(0x148)]=null,_0x508fe9!==null?(this['_bufferedAmount']=0x0,this[_0x2c9007(0x104)]=!0x1,this['_redirects']=0x0,_0x23a0a9===void 0x0?_0x23a0a9=[]:Array[_0x2c9007(0xb8)](_0x23a0a9)||(typeof _0x23a0a9=='object'&&_0x23a0a9!==null?(_0x25c38e=_0x23a0a9,_0x23a0a9=[]):_0x23a0a9=[_0x23a0a9]),_0x3e8dfa(this,_0x508fe9,_0x23a0a9,_0x25c38e)):(this[_0x2c9007(0x1de)]=_0x25c38e['autoPong'],this['_isServer']=!0x0);}get[_0x2ac88f(0x19a)](){return this['_binaryType'];}set[_0x2ac88f(0x19a)](_0x2310fb){const _0x2fbd2d=_0x2ac88f;_0x9dbaf5[_0x2fbd2d(0x1a0)](_0x2310fb)&&(this[_0x2fbd2d(0x17e)]=_0x2310fb,this[_0x2fbd2d(0xf2)]&&(this[_0x2fbd2d(0xf2)][_0x2fbd2d(0x17e)]=_0x2310fb));}get[_0x2ac88f(0xd4)](){const _0x79afb2=_0x2ac88f;return this[_0x79afb2(0x148)]?this['_socket'][_0x79afb2(0x1a6)][_0x79afb2(0x191)]+this[_0x79afb2(0x1c4)][_0x79afb2(0xa8)]:this[_0x79afb2(0x165)];}get['extensions'](){const _0x52dbb1=_0x2ac88f;return Object[_0x52dbb1(0x1b4)](this[_0x52dbb1(0xe8)])[_0x52dbb1(0x17f)]();}get[_0x2ac88f(0x1a9)](){const _0x265dd9=_0x2ac88f;return this[_0x265dd9(0xf0)];}get[_0x2ac88f(0x1b0)](){return null;}get[_0x2ac88f(0x1df)](){return null;}get[_0x2ac88f(0x1fa)](){return null;}get[_0x2ac88f(0x87)](){return null;}get[_0x2ac88f(0x1f3)](){const _0x5e86e3=_0x2ac88f;return this[_0x5e86e3(0x177)];}get['readyState'](){const _0x1cf61a=_0x2ac88f;return this[_0x1cf61a(0x213)];}get['url'](){const _0x12039e=_0x2ac88f;return this[_0x12039e(0x111)];}[_0x2ac88f(0x1e3)](_0x4c9b88,_0x17ee18,_0x5356d2){const _0xeb5066=_0x2ac88f,_0x1c76f5=new _0x5cb8a2({'allowSynchronousEvents':_0x5356d2['allowSynchronousEvents'],'binaryType':this['binaryType'],'extensions':this[_0xeb5066(0xe8)],'isServer':this[_0xeb5066(0x104)],'maxPayload':_0x5356d2[_0xeb5066(0x192)],'skipUTF8Validation':_0x5356d2[_0xeb5066(0x1b9)]}),_0x3c8ee5=new _0x2aedfb(_0x4c9b88,this[_0xeb5066(0xe8)],_0x5356d2[_0xeb5066(0x1eb)]);this['_receiver']=_0x1c76f5,this[_0xeb5066(0x1c4)]=_0x3c8ee5,this['_socket']=_0x4c9b88,_0x1c76f5[_0xdc3659]=this,_0x3c8ee5[_0xdc3659]=this,_0x4c9b88[_0xdc3659]=this,_0x1c76f5['on'](_0xeb5066(0x1aa),_0x55809d),_0x1c76f5['on'](_0xeb5066(0x1e6),_0x293c16),_0x1c76f5['on'](_0xeb5066(0x11d),_0x310ffd),_0x1c76f5['on'](_0xeb5066(0x112),_0x54f972),_0x1c76f5['on'](_0xeb5066(0x13f),_0x18e3b5),_0x1c76f5['on']('pong',_0x5da2c9),_0x3c8ee5[_0xeb5066(0x1df)]=_0x4c49a4,_0x4c9b88['setTimeout']&&_0x4c9b88[_0xeb5066(0x132)](0x0),_0x4c9b88[_0xeb5066(0x145)]&&_0x4c9b88[_0xeb5066(0x145)](),_0x17ee18[_0xeb5066(0x191)]>0x0&&_0x4c9b88[_0xeb5066(0x169)](_0x17ee18),_0x4c9b88['on'](_0xeb5066(0xcf),_0x36f62e),_0x4c9b88['on'](_0xeb5066(0xc6),_0x4e4116),_0x4c9b88['on'](_0xeb5066(0x14a),_0x1ab61e),_0x4c9b88['on']('error',_0x471208),this[_0xeb5066(0x213)]=_0x2ec82b[_0xeb5066(0xb0)],this[_0xeb5066(0x163)]('open');}[_0x2ac88f(0x1c9)](){const _0x52c0a8=_0x2ac88f;if(!this[_0x52c0a8(0x148)]){this[_0x52c0a8(0x213)]=_0x2ec82b[_0x52c0a8(0x1a5)],this['emit']('close',this[_0x52c0a8(0x159)],this[_0x52c0a8(0x229)]);return;}this[_0x52c0a8(0xe8)][_0x3fd3f2[_0x52c0a8(0x14d)]]&&this['_extensions'][_0x3fd3f2['extensionName']][_0x52c0a8(0x100)](),this[_0x52c0a8(0xf2)][_0x52c0a8(0x15f)](),this[_0x52c0a8(0x213)]=_0x2ec82b[_0x52c0a8(0x1a5)],this[_0x52c0a8(0x163)](_0x52c0a8(0xcf),this[_0x52c0a8(0x159)],this['_closeMessage']);}['close'](_0x5715df,_0x4da127){const _0x451a18=_0x2ac88f;if(this[_0x451a18(0x1af)]!==_0x2ec82b[_0x451a18(0x1a5)]){if(this[_0x451a18(0x1af)]===_0x2ec82b['CONNECTING']){_0x314399(this,this[_0x451a18(0x22b)],_0x451a18(0xf5));return;}if(this[_0x451a18(0x1af)]===_0x2ec82b[_0x451a18(0x1bf)]){this[_0x451a18(0x20e)]&&(this[_0x451a18(0x206)]||this[_0x451a18(0xf2)][_0x451a18(0x1a6)][_0x451a18(0xa6)])&&this[_0x451a18(0x148)]['end']();return;}this[_0x451a18(0x213)]=_0x2ec82b['CLOSING'],this['_sender'][_0x451a18(0xcf)](_0x5715df,_0x4da127,!this[_0x451a18(0x104)],_0x572c32=>{const _0x30a867=_0x451a18;_0x572c32||(this[_0x30a867(0x20e)]=!0x0,(this['_closeFrameReceived']||this[_0x30a867(0xf2)][_0x30a867(0x1a6)][_0x30a867(0xa6)])&&this[_0x30a867(0x148)]['end']());}),_0x8e7edf(this);}}['pause'](){const _0x1318fd=_0x2ac88f;this[_0x1318fd(0x1af)]===_0x2ec82b['CONNECTING']||this[_0x1318fd(0x1af)]===_0x2ec82b[_0x1318fd(0x1a5)]||(this['_paused']=!0x0,this[_0x1318fd(0x148)][_0x1318fd(0x1c8)]());}[_0x2ac88f(0x13f)](_0x2b0b01,_0x1ade7a,_0x3f006d){const _0x348e6f=_0x2ac88f;if(this[_0x348e6f(0x1af)]===_0x2ec82b[_0x348e6f(0x123)])throw new Error(_0x348e6f(0x219));if(typeof _0x2b0b01==_0x348e6f(0xc0)?(_0x3f006d=_0x2b0b01,_0x2b0b01=_0x1ade7a=void 0x0):typeof _0x1ade7a==_0x348e6f(0xc0)&&(_0x3f006d=_0x1ade7a,_0x1ade7a=void 0x0),typeof _0x2b0b01=='number'&&(_0x2b0b01=_0x2b0b01['toString']()),this['readyState']!==_0x2ec82b[_0x348e6f(0xb0)]){_0x51ed73(this,_0x2b0b01,_0x3f006d);return;}_0x1ade7a===void 0x0&&(_0x1ade7a=!this[_0x348e6f(0x104)]),this[_0x348e6f(0x1c4)][_0x348e6f(0x13f)](_0x2b0b01||_0x331d3b,_0x1ade7a,_0x3f006d);}[_0x2ac88f(0x137)](_0x341451,_0x53fda5,_0x5b05e3){const _0x55b945=_0x2ac88f;if(this[_0x55b945(0x1af)]===_0x2ec82b[_0x55b945(0x123)])throw new Error(_0x55b945(0x219));if(typeof _0x341451==_0x55b945(0xc0)?(_0x5b05e3=_0x341451,_0x341451=_0x53fda5=void 0x0):typeof _0x53fda5=='function'&&(_0x5b05e3=_0x53fda5,_0x53fda5=void 0x0),typeof _0x341451=='number'&&(_0x341451=_0x341451[_0x55b945(0xa9)]()),this[_0x55b945(0x1af)]!==_0x2ec82b[_0x55b945(0xb0)]){_0x51ed73(this,_0x341451,_0x5b05e3);return;}_0x53fda5===void 0x0&&(_0x53fda5=!this['_isServer']),this[_0x55b945(0x1c4)]['pong'](_0x341451||_0x331d3b,_0x53fda5,_0x5b05e3);}[_0x2ac88f(0xbe)](){const _0x1d53ef=_0x2ac88f;this[_0x1d53ef(0x1af)]===_0x2ec82b[_0x1d53ef(0x123)]||this[_0x1d53ef(0x1af)]===_0x2ec82b[_0x1d53ef(0x1a5)]||(this[_0x1d53ef(0xf0)]=!0x1,this[_0x1d53ef(0xf2)][_0x1d53ef(0x1a6)][_0x1d53ef(0x195)]||this[_0x1d53ef(0x148)]['resume']());}[_0x2ac88f(0x1e9)](_0x24277a,_0x106200,_0x945e19){const _0x4761a8=_0x2ac88f;if(this['readyState']===_0x2ec82b['CONNECTING'])throw new Error(_0x4761a8(0x219));if(typeof _0x106200==_0x4761a8(0xc0)&&(_0x945e19=_0x106200,_0x106200={}),typeof _0x24277a==_0x4761a8(0x14e)&&(_0x24277a=_0x24277a['toString']()),this[_0x4761a8(0x1af)]!==_0x2ec82b[_0x4761a8(0xb0)]){_0x51ed73(this,_0x24277a,_0x945e19);return;}const _0x41a65b={'binary':typeof _0x24277a!='string','mask':!this[_0x4761a8(0x104)],'compress':!0x0,'fin':!0x0,..._0x106200};this[_0x4761a8(0xe8)][_0x3fd3f2[_0x4761a8(0x14d)]]||(_0x41a65b[_0x4761a8(0x227)]=!0x1),this['_sender'][_0x4761a8(0x1e9)](_0x24277a||_0x331d3b,_0x41a65b,_0x945e19);}[_0x2ac88f(0x1d9)](){const _0x41daa6=_0x2ac88f;if(this[_0x41daa6(0x1af)]!==_0x2ec82b[_0x41daa6(0x1a5)]){if(this[_0x41daa6(0x1af)]===_0x2ec82b[_0x41daa6(0x123)]){_0x314399(this,this['_req'],_0x41daa6(0xf5));return;}this[_0x41daa6(0x148)]&&(this['_readyState']=_0x2ec82b[_0x41daa6(0x1bf)],this[_0x41daa6(0x148)][_0x41daa6(0x1f4)]());}}}Object['defineProperty'](_0x2ec82b,_0x2ac88f(0x123),{'enumerable':!0x0,'value':_0x1be903[_0x2ac88f(0x12f)](_0x2ac88f(0x123))}),Object['defineProperty'](_0x2ec82b[_0x2ac88f(0x150)],_0x2ac88f(0x123),{'enumerable':!0x0,'value':_0x1be903[_0x2ac88f(0x12f)](_0x2ac88f(0x123))}),Object[_0x2ac88f(0x143)](_0x2ec82b,_0x2ac88f(0xb0),{'enumerable':!0x0,'value':_0x1be903[_0x2ac88f(0x12f)](_0x2ac88f(0xb0))}),Object['defineProperty'](_0x2ec82b[_0x2ac88f(0x150)],_0x2ac88f(0xb0),{'enumerable':!0x0,'value':_0x1be903['indexOf'](_0x2ac88f(0xb0))}),Object[_0x2ac88f(0x143)](_0x2ec82b,'CLOSING',{'enumerable':!0x0,'value':_0x1be903[_0x2ac88f(0x12f)](_0x2ac88f(0x1bf))}),Object['defineProperty'](_0x2ec82b[_0x2ac88f(0x150)],'CLOSING',{'enumerable':!0x0,'value':_0x1be903[_0x2ac88f(0x12f)](_0x2ac88f(0x1bf))}),Object['defineProperty'](_0x2ec82b,_0x2ac88f(0x1a5),{'enumerable':!0x0,'value':_0x1be903[_0x2ac88f(0x12f)](_0x2ac88f(0x1a5))}),Object[_0x2ac88f(0x143)](_0x2ec82b[_0x2ac88f(0x150)],_0x2ac88f(0x1a5),{'enumerable':!0x0,'value':_0x1be903['indexOf'](_0x2ac88f(0x1a5))}),[_0x2ac88f(0x19a),_0x2ac88f(0xd4),_0x2ac88f(0xc1),_0x2ac88f(0x1a9),_0x2ac88f(0x1f3),_0x2ac88f(0x1af),_0x2ac88f(0x1ea)][_0x2ac88f(0x1a1)](_0xcb8b92=>{const _0x23ff19=_0x2ac88f;Object[_0x23ff19(0x143)](_0x2ec82b['prototype'],_0xcb8b92,{'enumerable':!0x0});}),[_0x2ac88f(0x133),_0x2ac88f(0x11d),_0x2ac88f(0xcf),_0x2ac88f(0x112)][_0x2ac88f(0x1a1)](_0x213922=>{const _0xfa8433=_0x2ac88f;Object[_0xfa8433(0x143)](_0x2ec82b[_0xfa8433(0x150)],'on'+_0x213922,{'enumerable':!0x0,'get'(){const _0x34f5bb=_0xfa8433;for(const _0x1fc48e of this[_0x34f5bb(0x105)](_0x213922))if(_0x1fc48e[_0x380fd4])return _0x1fc48e[_0x19797e];return null;},'set'(_0x53eef5){const _0x224ebf=_0xfa8433;for(const _0x271976 of this[_0x224ebf(0x105)](_0x213922))if(_0x271976[_0x380fd4]){this[_0x224ebf(0x1d1)](_0x213922,_0x271976);break;}typeof _0x53eef5==_0x224ebf(0xc0)&&this[_0x224ebf(0x131)](_0x213922,_0x53eef5,{[_0x380fd4]:!0x0});}});}),_0x2ec82b[_0x2ac88f(0x150)]['addEventListener']=_0x2f0b62,_0x2ec82b[_0x2ac88f(0x150)][_0x2ac88f(0x93)]=_0x426ca3,we=_0x2ec82b;function _0x3e8dfa(_0x32edfb,_0x3065bc,_0x265329,_0x1a2f0f){const _0x2d6afd=_0x2ac88f,_0x1ab738={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x183e12[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x1a2f0f,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x2d6afd(0x135),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x32edfb[_0x2d6afd(0x1de)]=_0x1ab738[_0x2d6afd(0xdb)],!_0x183e12[_0x2d6afd(0x1a0)](_0x1ab738[_0x2d6afd(0xaa)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x1ab738['protocolVersion']+_0x2d6afd(0xb2)+_0x183e12[_0x2d6afd(0x17f)](',\x20')+')');let _0x49a035;if(_0x3065bc instanceof _0x3fcb83)_0x49a035=_0x3065bc;else try{_0x49a035=new _0x3fcb83(_0x3065bc);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x3065bc);}_0x49a035[_0x2d6afd(0x1f3)]===_0x2d6afd(0xf4)?_0x49a035['protocol']=_0x2d6afd(0x115):_0x49a035[_0x2d6afd(0x1f3)]===_0x2d6afd(0x1ab)&&(_0x49a035['protocol']=_0x2d6afd(0xda)),_0x32edfb['_url']=_0x49a035[_0x2d6afd(0x1b3)];const _0x352600=_0x49a035[_0x2d6afd(0x1f3)]===_0x2d6afd(0xda),_0x4db894=_0x49a035[_0x2d6afd(0x1f3)]===_0x2d6afd(0x1d6);let _0x3aa5ef;if(_0x49a035['protocol']!=='ws:'&&!_0x352600&&!_0x4db894?_0x3aa5ef='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':_0x4db894&&!_0x49a035[_0x2d6afd(0xe2)]?_0x3aa5ef=_0x2d6afd(0x21d):_0x49a035[_0x2d6afd(0x85)]&&(_0x3aa5ef=_0x2d6afd(0x1b8)),_0x3aa5ef){const _0xded40=new SyntaxError(_0x3aa5ef);if(_0x32edfb[_0x2d6afd(0x1f6)]===0x0)throw _0xded40;_0x431a84(_0x32edfb,_0xded40);return;}const _0x17dca5=_0x352600?0x1bb:0x50,_0x134741=_0x1dbf0f(0x10)[_0x2d6afd(0xa9)](_0x2d6afd(0x90)),_0x249dc8=_0x352600?_0x2569bf[_0x2d6afd(0x10f)]:_0x59305a['request'],_0x538157=new Set();let _0x3f868b;if(_0x1ab738['createConnection']=_0x1ab738[_0x2d6afd(0x19d)]||(_0x352600?_0x569be9:_0x56be0a),_0x1ab738[_0x2d6afd(0x1ec)]=_0x1ab738['defaultPort']||_0x17dca5,_0x1ab738[_0x2d6afd(0x203)]=_0x49a035['port']||_0x17dca5,_0x1ab738[_0x2d6afd(0x129)]=_0x49a035[_0x2d6afd(0xa7)]['startsWith']('[')?_0x49a035['hostname'][_0x2d6afd(0x222)](0x1,-0x1):_0x49a035[_0x2d6afd(0xa7)],_0x1ab738[_0x2d6afd(0xc7)]={..._0x1ab738[_0x2d6afd(0xc7)],'Sec-WebSocket-Version':_0x1ab738[_0x2d6afd(0xaa)],'Sec-WebSocket-Key':_0x134741,'Connection':_0x2d6afd(0x81),'Upgrade':'websocket'},_0x1ab738[_0x2d6afd(0xad)]=_0x49a035[_0x2d6afd(0xe2)]+_0x49a035[_0x2d6afd(0xce)],_0x1ab738[_0x2d6afd(0x168)]=_0x1ab738['handshakeTimeout'],_0x1ab738[_0x2d6afd(0x114)]&&(_0x3f868b=new _0x3fd3f2(_0x1ab738['perMessageDeflate']!==!0x0?_0x1ab738[_0x2d6afd(0x114)]:{},!0x1,_0x1ab738[_0x2d6afd(0x192)]),_0x1ab738[_0x2d6afd(0xc7)][_0x2d6afd(0x226)]=_0x35b3fa({[_0x3fd3f2['extensionName']]:_0x3f868b[_0x2d6afd(0x16c)]()})),_0x265329[_0x2d6afd(0x191)]){for(const _0x5dfe50 of _0x265329){if(typeof _0x5dfe50!=_0x2d6afd(0x1f0)||!_0x238e55[_0x2d6afd(0x136)](_0x5dfe50)||_0x538157[_0x2d6afd(0x18d)](_0x5dfe50))throw new SyntaxError(_0x2d6afd(0xcd));_0x538157[_0x2d6afd(0x19f)](_0x5dfe50);}_0x1ab738['headers'][_0x2d6afd(0xab)]=_0x265329[_0x2d6afd(0x17f)](',');}if(_0x1ab738[_0x2d6afd(0x8d)]&&(_0x1ab738['protocolVersion']<0xd?_0x1ab738[_0x2d6afd(0xc7)][_0x2d6afd(0x1a8)]=_0x1ab738[_0x2d6afd(0x8d)]:_0x1ab738[_0x2d6afd(0xc7)][_0x2d6afd(0x223)]=_0x1ab738['origin']),(_0x49a035[_0x2d6afd(0x76)]||_0x49a035[_0x2d6afd(0xd1)])&&(_0x1ab738[_0x2d6afd(0xac)]=_0x49a035[_0x2d6afd(0x76)]+':'+_0x49a035[_0x2d6afd(0xd1)]),_0x4db894){const _0x5f0e31=_0x1ab738['path']['split'](':');_0x1ab738[_0x2d6afd(0x19b)]=_0x5f0e31[0x0],_0x1ab738['path']=_0x5f0e31[0x1];}let _0x1fcbbd;if(_0x1ab738[_0x2d6afd(0x1ca)]){if(_0x32edfb[_0x2d6afd(0x1f6)]===0x0){_0x32edfb['_originalIpc']=_0x4db894,_0x32edfb[_0x2d6afd(0x1fc)]=_0x352600,_0x32edfb[_0x2d6afd(0x201)]=_0x4db894?_0x1ab738['socketPath']:_0x49a035[_0x2d6afd(0x129)];const _0x4f4239=_0x1a2f0f&&_0x1a2f0f[_0x2d6afd(0xc7)];if(_0x1a2f0f={..._0x1a2f0f,'headers':{}},_0x4f4239){for(const [_0xd0532e,_0x55563e]of Object['entries'](_0x4f4239))_0x1a2f0f[_0x2d6afd(0xc7)][_0xd0532e[_0x2d6afd(0x220)]()]=_0x55563e;}}else{if(_0x32edfb[_0x2d6afd(0x153)](_0x2d6afd(0x7c))===0x0){const _0x5af6f8=_0x4db894?_0x32edfb['_originalIpc']?_0x1ab738[_0x2d6afd(0x19b)]===_0x32edfb[_0x2d6afd(0x201)]:!0x1:_0x32edfb[_0x2d6afd(0x151)]?!0x1:_0x49a035[_0x2d6afd(0x129)]===_0x32edfb[_0x2d6afd(0x201)];(!_0x5af6f8||_0x32edfb[_0x2d6afd(0x1fc)]&&!_0x352600)&&(delete _0x1ab738[_0x2d6afd(0xc7)][_0x2d6afd(0x1e0)],delete _0x1ab738[_0x2d6afd(0xc7)][_0x2d6afd(0x228)],_0x5af6f8||delete _0x1ab738[_0x2d6afd(0xc7)]['host'],_0x1ab738[_0x2d6afd(0xac)]=void 0x0);}}_0x1ab738[_0x2d6afd(0xac)]&&!_0x1a2f0f[_0x2d6afd(0xc7)][_0x2d6afd(0x1e0)]&&(_0x1a2f0f['headers'][_0x2d6afd(0x1e0)]=_0x2d6afd(0x1ee)+Buffer[_0x2d6afd(0xb4)](_0x1ab738['auth'])[_0x2d6afd(0xa9)](_0x2d6afd(0x90))),_0x1fcbbd=_0x32edfb[_0x2d6afd(0x22b)]=_0x249dc8(_0x1ab738),_0x32edfb['_redirects']&&_0x32edfb[_0x2d6afd(0x163)](_0x2d6afd(0x7c),_0x32edfb[_0x2d6afd(0x1ea)],_0x1fcbbd);}else _0x1fcbbd=_0x32edfb[_0x2d6afd(0x22b)]=_0x249dc8(_0x1ab738);_0x1ab738[_0x2d6afd(0x168)]&&_0x1fcbbd['on'](_0x2d6afd(0x168),()=>{_0x314399(_0x32edfb,_0x1fcbbd,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x1fcbbd['on']('error',_0x2dc202=>{const _0x184392=_0x2d6afd;_0x1fcbbd===null||_0x1fcbbd[_0x428bb4]||(_0x1fcbbd=_0x32edfb[_0x184392(0x22b)]=null,_0x431a84(_0x32edfb,_0x2dc202));}),_0x1fcbbd['on'](_0x2d6afd(0x1b7),_0x49ac70=>{const _0x4c0a2b=_0x2d6afd,_0x3862ac=_0x49ac70['headers']['location'],_0x599623=_0x49ac70[_0x4c0a2b(0x216)];if(_0x3862ac&&_0x1ab738['followRedirects']&&_0x599623>=0x12c&&_0x599623<0x190){if(++_0x32edfb[_0x4c0a2b(0x1f6)]>_0x1ab738[_0x4c0a2b(0xe3)]){_0x314399(_0x32edfb,_0x1fcbbd,_0x4c0a2b(0xd5));return;}_0x1fcbbd[_0x4c0a2b(0x83)]();let _0x206164;try{_0x206164=new _0x3fcb83(_0x3862ac,_0x3065bc);}catch{const _0x5963a7=new SyntaxError(_0x4c0a2b(0x119)+_0x3862ac);_0x431a84(_0x32edfb,_0x5963a7);return;}_0x3e8dfa(_0x32edfb,_0x206164,_0x265329,_0x1a2f0f);}else _0x32edfb['emit'](_0x4c0a2b(0x1bc),_0x1fcbbd,_0x49ac70)||_0x314399(_0x32edfb,_0x1fcbbd,_0x4c0a2b(0xf6)+_0x49ac70[_0x4c0a2b(0x216)]);}),_0x1fcbbd['on'](_0x2d6afd(0x198),(_0x3dbf61,_0x306086,_0x2ec415)=>{const _0x25f099=_0x2d6afd;if(_0x32edfb[_0x25f099(0x163)](_0x25f099(0x198),_0x3dbf61),_0x32edfb['readyState']!==_0x2ec82b[_0x25f099(0x123)])return;_0x1fcbbd=_0x32edfb[_0x25f099(0x22b)]=null;const _0x5cb1fd=_0x3dbf61[_0x25f099(0xc7)][_0x25f099(0x198)];if(_0x5cb1fd===void 0x0||_0x5cb1fd[_0x25f099(0x220)]()!==_0x25f099(0x21e)){_0x314399(_0x32edfb,_0x306086,_0x25f099(0x1c7));return;}const _0x4cff62=_0x26b2ff(_0x25f099(0x20a))[_0x25f099(0x16d)](_0x134741+_0x3de87d)[_0x25f099(0x1d5)]('base64');if(_0x3dbf61[_0x25f099(0xc7)][_0x25f099(0xbf)]!==_0x4cff62){_0x314399(_0x32edfb,_0x306086,_0x25f099(0x13c));return;}const _0x1c6548=_0x3dbf61[_0x25f099(0xc7)][_0x25f099(0x9c)];let _0x1f9ff8;if(_0x1c6548!==void 0x0?_0x538157[_0x25f099(0x18e)]?_0x538157[_0x25f099(0x18d)](_0x1c6548)||(_0x1f9ff8=_0x25f099(0x1ba)):_0x1f9ff8='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x538157['size']&&(_0x1f9ff8='Server\x20sent\x20no\x20subprotocol'),_0x1f9ff8){_0x314399(_0x32edfb,_0x306086,_0x1f9ff8);return;}_0x1c6548&&(_0x32edfb[_0x25f099(0x177)]=_0x1c6548);const _0x2ea139=_0x3dbf61[_0x25f099(0xc7)][_0x25f099(0xfa)];if(_0x2ea139!==void 0x0){if(!_0x3f868b){_0x314399(_0x32edfb,_0x306086,_0x25f099(0x14c));return;}let _0x35e0dc;try{_0x35e0dc=_0x2b7bef(_0x2ea139);}catch{_0x314399(_0x32edfb,_0x306086,_0x25f099(0x12b));return;}const _0x4adf98=Object[_0x25f099(0x1b4)](_0x35e0dc);if(_0x4adf98['length']!==0x1||_0x4adf98[0x0]!==_0x3fd3f2['extensionName']){_0x314399(_0x32edfb,_0x306086,_0x25f099(0x19c));return;}try{_0x3f868b[_0x25f099(0x1b2)](_0x35e0dc[_0x3fd3f2['extensionName']]);}catch{_0x314399(_0x32edfb,_0x306086,_0x25f099(0x12b));return;}_0x32edfb['_extensions'][_0x3fd3f2[_0x25f099(0x14d)]]=_0x3f868b;}_0x32edfb[_0x25f099(0x1e3)](_0x306086,_0x2ec415,{'allowSynchronousEvents':_0x1ab738['allowSynchronousEvents'],'generateMask':_0x1ab738[_0x25f099(0x1eb)],'maxPayload':_0x1ab738['maxPayload'],'skipUTF8Validation':_0x1ab738['skipUTF8Validation']});}),_0x1ab738[_0x2d6afd(0xb3)]?_0x1ab738['finishRequest'](_0x1fcbbd,_0x32edfb):_0x1fcbbd[_0x2d6afd(0x14a)]();}function _0x431a84(_0x4b8a1d,_0x41ca26){const _0x348250=_0x2ac88f;_0x4b8a1d[_0x348250(0x213)]=_0x2ec82b[_0x348250(0x1bf)],_0x4b8a1d[_0x348250(0x10c)]=!0x0,_0x4b8a1d[_0x348250(0x163)](_0x348250(0x11d),_0x41ca26),_0x4b8a1d[_0x348250(0x1c9)]();}function _0x56be0a(_0x41ffa1){const _0x1e3063=_0x2ac88f;return _0x41ffa1[_0x1e3063(0xad)]=_0x41ffa1[_0x1e3063(0x19b)],_0x54bfe9[_0x1e3063(0x122)](_0x41ffa1);}function _0x569be9(_0x558060){const _0x2c1b9b=_0x2ac88f;return _0x558060[_0x2c1b9b(0xad)]=void 0x0,!_0x558060['servername']&&_0x558060[_0x2c1b9b(0x183)]!==''&&(_0x558060['servername']=_0x54bfe9[_0x2c1b9b(0x156)](_0x558060[_0x2c1b9b(0x129)])?'':_0x558060[_0x2c1b9b(0x129)]),_0x2f38cc[_0x2c1b9b(0x122)](_0x558060);}function _0x314399(_0x4482d0,_0x37a87d,_0x495a5d){const _0x29e9d0=_0x2ac88f;_0x4482d0[_0x29e9d0(0x213)]=_0x2ec82b[_0x29e9d0(0x1bf)];const _0x2d1541=new Error(_0x495a5d);Error[_0x29e9d0(0x22a)](_0x2d1541,_0x314399),_0x37a87d[_0x29e9d0(0x117)]?(_0x37a87d[_0x428bb4]=!0x0,_0x37a87d[_0x29e9d0(0x83)](),_0x37a87d[_0x29e9d0(0x84)]&&!_0x37a87d[_0x29e9d0(0x84)][_0x29e9d0(0x1c6)]&&_0x37a87d[_0x29e9d0(0x84)][_0x29e9d0(0x1f4)](),process[_0x29e9d0(0xb5)](_0x431a84,_0x4482d0,_0x2d1541)):(_0x37a87d[_0x29e9d0(0x1f4)](_0x2d1541),_0x37a87d[_0x29e9d0(0x1da)]('error',_0x4482d0[_0x29e9d0(0x163)][_0x29e9d0(0x128)](_0x4482d0,_0x29e9d0(0x11d))),_0x37a87d[_0x29e9d0(0x1da)]('close',_0x4482d0['emitClose']['bind'](_0x4482d0)));}function _0x51ed73(_0x532c13,_0x218c83,_0x47835c){const _0xb8bb36=_0x2ac88f;if(_0x218c83){const _0x5789b2=_0x5c9b42(_0x218c83)?_0x218c83[_0xb8bb36(0x18e)]:_0x15e3ee(_0x218c83)[_0xb8bb36(0x191)];_0x532c13['_socket']?_0x532c13[_0xb8bb36(0x1c4)][_0xb8bb36(0xa8)]+=_0x5789b2:_0x532c13[_0xb8bb36(0x165)]+=_0x5789b2;}if(_0x47835c){const _0x307f2b=new Error(_0xb8bb36(0xd9)+_0x532c13[_0xb8bb36(0x1af)]+'\x20('+_0x1be903[_0x532c13['readyState']]+')');process[_0xb8bb36(0xb5)](_0x47835c,_0x307f2b);}}function _0x55809d(_0x19031c,_0x2d319a){const _0x3a241a=_0x2ac88f,_0x497b4c=this[_0xdc3659];_0x497b4c[_0x3a241a(0x206)]=!0x0,_0x497b4c[_0x3a241a(0x229)]=_0x2d319a,_0x497b4c[_0x3a241a(0x159)]=_0x19031c,_0x497b4c[_0x3a241a(0x148)][_0xdc3659]!==void 0x0&&(_0x497b4c['_socket'][_0x3a241a(0x1d1)]('data',_0x4e4116),process[_0x3a241a(0xb5)](_0x5455ce,_0x497b4c[_0x3a241a(0x148)]),_0x19031c===0x3ed?_0x497b4c[_0x3a241a(0xcf)]():_0x497b4c[_0x3a241a(0xcf)](_0x19031c,_0x2d319a));}function _0x293c16(){const _0x142a39=_0x2ac88f,_0x548bdf=this[_0xdc3659];_0x548bdf[_0x142a39(0x1a9)]||_0x548bdf[_0x142a39(0x148)][_0x142a39(0xbe)]();}function _0x310ffd(_0x328754){const _0x4263ae=_0x2ac88f,_0x586030=this[_0xdc3659];_0x586030['_socket'][_0xdc3659]!==void 0x0&&(_0x586030['_socket'][_0x4263ae(0x1d1)](_0x4263ae(0xc6),_0x4e4116),process[_0x4263ae(0xb5)](_0x5455ce,_0x586030[_0x4263ae(0x148)]),_0x586030[_0x4263ae(0xcf)](_0x328754[_0x342ae6])),_0x586030[_0x4263ae(0x10c)]||(_0x586030[_0x4263ae(0x10c)]=!0x0,_0x586030[_0x4263ae(0x163)]('error',_0x328754));}function _0x5312c8(){const _0x412ccc=_0x2ac88f;this[_0xdc3659][_0x412ccc(0x1c9)]();}function _0x54f972(_0x3f9f06,_0x2645d0){const _0xe9c2d=_0x2ac88f;this[_0xdc3659][_0xe9c2d(0x163)](_0xe9c2d(0x112),_0x3f9f06,_0x2645d0);}function _0x18e3b5(_0x53583e){const _0x2269c0=_0x2ac88f,_0x1aac10=this[_0xdc3659];_0x1aac10[_0x2269c0(0x1de)]&&_0x1aac10[_0x2269c0(0x137)](_0x53583e,!this[_0x2269c0(0x104)],_0x4f92e7),_0x1aac10[_0x2269c0(0x163)]('ping',_0x53583e);}function _0x5da2c9(_0x48a168){const _0x15d669=_0x2ac88f;this[_0xdc3659][_0x15d669(0x163)](_0x15d669(0x137),_0x48a168);}function _0x5455ce(_0xc58fb7){_0xc58fb7['resume']();}function _0x4c49a4(_0x6d5aaa){const _0x7f93a1=_0x2ac88f,_0x52837e=this[_0xdc3659];_0x52837e[_0x7f93a1(0x1af)]!==_0x2ec82b['CLOSED']&&(_0x52837e[_0x7f93a1(0x1af)]===_0x2ec82b[_0x7f93a1(0xb0)]&&(_0x52837e[_0x7f93a1(0x213)]=_0x2ec82b[_0x7f93a1(0x1bf)],_0x8e7edf(_0x52837e)),this[_0x7f93a1(0x148)]['end'](),_0x52837e[_0x7f93a1(0x10c)]||(_0x52837e['_errorEmitted']=!0x0,_0x52837e[_0x7f93a1(0x163)]('error',_0x6d5aaa)));}function _0x8e7edf(_0x1cea92){const _0x41b2f0=_0x2ac88f;_0x1cea92[_0x41b2f0(0x99)]=setTimeout(_0x1cea92[_0x41b2f0(0x148)]['destroy'][_0x41b2f0(0x128)](_0x1cea92[_0x41b2f0(0x148)]),_0x3e38e2);}function _0x36f62e(){const _0x3677e2=_0x2ac88f,_0x441590=this[_0xdc3659];this[_0x3677e2(0x1d1)]('close',_0x36f62e),this[_0x3677e2(0x1d1)](_0x3677e2(0xc6),_0x4e4116),this[_0x3677e2(0x1d1)]('end',_0x1ab61e),_0x441590[_0x3677e2(0x213)]=_0x2ec82b[_0x3677e2(0x1bf)];let _0x504a80;!this['_readableState'][_0x3677e2(0x217)]&&!_0x441590[_0x3677e2(0x206)]&&!_0x441590[_0x3677e2(0xf2)][_0x3677e2(0x1a6)][_0x3677e2(0xa6)]&&(_0x504a80=_0x441590['_socket'][_0x3677e2(0x1e4)]())!==null&&_0x441590[_0x3677e2(0xf2)]['write'](_0x504a80),_0x441590[_0x3677e2(0xf2)][_0x3677e2(0x14a)](),this[_0xdc3659]=void 0x0,clearTimeout(_0x441590[_0x3677e2(0x99)]),_0x441590['_receiver'][_0x3677e2(0x1a6)]['finished']||_0x441590['_receiver'][_0x3677e2(0x1a6)]['errorEmitted']?_0x441590[_0x3677e2(0x1c9)]():(_0x441590['_receiver']['on'](_0x3677e2(0x11d),_0x5312c8),_0x441590['_receiver']['on']('finish',_0x5312c8));}function _0x4e4116(_0x494fc3){const _0x240f0a=_0x2ac88f;this[_0xdc3659][_0x240f0a(0xf2)][_0x240f0a(0x197)](_0x494fc3)||this[_0x240f0a(0x1c8)]();}function _0x1ab61e(){const _0x35a62f=_0x2ac88f,_0x4430b4=this[_0xdc3659];_0x4430b4[_0x35a62f(0x213)]=_0x2ec82b['CLOSING'],_0x4430b4[_0x35a62f(0xf2)]['end'](),this[_0x35a62f(0x14a)]();}function _0x471208(){const _0x54bae0=_0x2ac88f,_0x4afc57=this[_0xdc3659];this[_0x54bae0(0x1d1)](_0x54bae0(0x11d),_0x471208),this['on'](_0x54bae0(0x11d),_0x4f92e7),_0x4afc57&&(_0x4afc57['_readyState']=_0x2ec82b[_0x54bae0(0x1bf)],this[_0x54bae0(0x1f4)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x1d4cc9}=_0x3cb4f8;function _0x363415(_0x30fbba){const _0x2785a6=_0x1a11;_0x30fbba[_0x2785a6(0x163)](_0x2785a6(0xcf));}function _0x20a63f(){const _0x503cea=_0x1a11;!this[_0x503cea(0x1c6)]&&this[_0x503cea(0x1a6)][_0x503cea(0x7f)]&&this['destroy']();}function _0x543097(_0x4fba3e){const _0x575096=_0x1a11;this[_0x575096(0x1d1)]('error',_0x543097),this[_0x575096(0x1f4)](),this[_0x575096(0x153)]('error')===0x0&&this['emit']('error',_0x4fba3e);}function _0x591465(_0x38a319,_0x41d2e5){const _0x4856fc=_0x1a11;let _0x38bedd=!0x0;const _0x9cbec5=new _0x1d4cc9({..._0x41d2e5,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x38a319['on'](_0x4856fc(0x112),function(_0x1807fe,_0x322109){const _0x5d81e5=_0x4856fc,_0x3fa5cf=!_0x322109&&_0x9cbec5[_0x5d81e5(0xc4)][_0x5d81e5(0xfb)]?_0x1807fe[_0x5d81e5(0xa9)]():_0x1807fe;_0x9cbec5[_0x5d81e5(0x106)](_0x3fa5cf)||_0x38a319['pause']();}),_0x38a319[_0x4856fc(0x1da)](_0x4856fc(0x11d),function(_0x2d644a){_0x9cbec5['destroyed']||(_0x38bedd=!0x1,_0x9cbec5['destroy'](_0x2d644a));}),_0x38a319[_0x4856fc(0x1da)]('close',function(){const _0x5381f7=_0x4856fc;_0x9cbec5[_0x5381f7(0x1c6)]||_0x9cbec5['push'](null);}),_0x9cbec5[_0x4856fc(0xe6)]=function(_0x339b04,_0x152385){const _0xfa0c00=_0x4856fc;if(_0x38a319[_0xfa0c00(0x1af)]===_0x38a319[_0xfa0c00(0x1a5)]){_0x152385(_0x339b04),process['nextTick'](_0x363415,_0x9cbec5);return;}let _0x89bc43=!0x1;_0x38a319[_0xfa0c00(0x1da)](_0xfa0c00(0x11d),function(_0x38c908){_0x89bc43=!0x0,_0x152385(_0x38c908);}),_0x38a319[_0xfa0c00(0x1da)](_0xfa0c00(0xcf),function(){const _0x493669=_0xfa0c00;_0x89bc43||_0x152385(_0x339b04),process[_0x493669(0xb5)](_0x363415,_0x9cbec5);}),_0x38bedd&&_0x38a319[_0xfa0c00(0x1d9)]();},_0x9cbec5[_0x4856fc(0x1a4)]=function(_0xbc294b){const _0x5973f9=_0x4856fc;if(_0x38a319[_0x5973f9(0x1af)]===_0x38a319['CONNECTING']){_0x38a319[_0x5973f9(0x1da)]('open',function(){const _0x44845c=_0x5973f9;_0x9cbec5[_0x44845c(0x1a4)](_0xbc294b);});return;}_0x38a319[_0x5973f9(0x148)]!==null&&(_0x38a319[_0x5973f9(0x148)][_0x5973f9(0x1a6)][_0x5973f9(0x7f)]?(_0xbc294b(),_0x9cbec5[_0x5973f9(0xc4)][_0x5973f9(0x217)]&&_0x9cbec5[_0x5973f9(0x1f4)]()):(_0x38a319[_0x5973f9(0x148)][_0x5973f9(0x1da)](_0x5973f9(0x225),function(){_0xbc294b();}),_0x38a319['close']()));},_0x9cbec5[_0x4856fc(0x1d3)]=function(){const _0xf8514b=_0x4856fc;_0x38a319['isPaused']&&_0x38a319[_0xf8514b(0xbe)]();},_0x9cbec5[_0x4856fc(0x1c1)]=function(_0x2c6840,_0x3ee0a0,_0x4a5f78){const _0x5d65e2=_0x4856fc;if(_0x38a319[_0x5d65e2(0x1af)]===_0x38a319[_0x5d65e2(0x123)]){_0x38a319[_0x5d65e2(0x1da)](_0x5d65e2(0x133),function(){const _0xca8772=_0x5d65e2;_0x9cbec5[_0xca8772(0x1c1)](_0x2c6840,_0x3ee0a0,_0x4a5f78);});return;}_0x38a319['send'](_0x2c6840,_0x4a5f78);},_0x9cbec5['on'](_0x4856fc(0x14a),_0x20a63f),_0x9cbec5['on'](_0x4856fc(0x11d),_0x543097),_0x9cbec5;}return Oe=_0x591465,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0xb3275e}=ne();function _0xfb63b1(_0x34d31c){const _0x5da243=_0x1a11,_0x5a079d=new Set();let _0x100def=-0x1,_0x2946b8=-0x1,_0x3ca41c=0x0;for(_0x3ca41c;_0x3ca41c<_0x34d31c[_0x5da243(0x191)];_0x3ca41c++){const _0x1e2196=_0x34d31c[_0x5da243(0x15e)](_0x3ca41c);if(_0x2946b8===-0x1&&_0xb3275e[_0x1e2196]===0x1)_0x100def===-0x1&&(_0x100def=_0x3ca41c);else{if(_0x3ca41c!==0x0&&(_0x1e2196===0x20||_0x1e2196===0x9))_0x2946b8===-0x1&&_0x100def!==-0x1&&(_0x2946b8=_0x3ca41c);else{if(_0x1e2196===0x2c){if(_0x100def===-0x1)throw new SyntaxError(_0x5da243(0x140)+_0x3ca41c);_0x2946b8===-0x1&&(_0x2946b8=_0x3ca41c);const _0x12aa10=_0x34d31c['slice'](_0x100def,_0x2946b8);if(_0x5a079d[_0x5da243(0x18d)](_0x12aa10))throw new SyntaxError(_0x5da243(0x1ef)+_0x12aa10+_0x5da243(0x21c));_0x5a079d[_0x5da243(0x19f)](_0x12aa10),_0x100def=_0x2946b8=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3ca41c);}}}if(_0x100def===-0x1||_0x2946b8!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x1164ed=_0x34d31c[_0x5da243(0x222)](_0x100def,_0x3ca41c);if(_0x5a079d[_0x5da243(0x18d)](_0x1164ed))throw new SyntaxError(_0x5da243(0x1ef)+_0x1164ed+'\x22\x20subprotocol\x20is\x20duplicated');return _0x5a079d[_0x5da243(0x19f)](_0x1164ed),_0x5a079d;}return Ce={'parse':_0xfb63b1},Ce;}var Te,ot;function er(){const _0x48bf24=_0x1d0d40;if(ot)return Te;ot=0x1;const _0x5e72a5=_0xe1b3a0,_0x23bafc=_0x568c1a,{Duplex:_0x34e3c9}=_0x3cb4f8,{createHash:_0xdb999b}=_0xf23312,_0x3e9c69=pt(),_0x518230=he(),_0x3681e2=Jt(),_0xeaa77b=Ie(),{GUID:_0x4d7fe6,kWebSocket:_0x374644}=V(),_0x4786e6=/^[+/0-9A-Za-z]{22}==$/,_0x1b506e=0x0,_0x2cb560=0x1,_0x7d9777=0x2;class _0x3e580d extends _0x5e72a5{constructor(_0x16548a,_0x28a372){const _0x3ea859=_0x1a11;if(super(),_0x16548a={'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':_0xeaa77b,..._0x16548a},_0x16548a[_0x3ea859(0x203)]==null&&!_0x16548a[_0x3ea859(0x1f8)]&&!_0x16548a[_0x3ea859(0xe7)]||_0x16548a['port']!=null&&(_0x16548a[_0x3ea859(0x1f8)]||_0x16548a[_0x3ea859(0xe7)])||_0x16548a[_0x3ea859(0x1f8)]&&_0x16548a[_0x3ea859(0xe7)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x16548a[_0x3ea859(0x203)]!=null?(this[_0x3ea859(0x78)]=_0x23bafc[_0x3ea859(0xe9)]((_0x1ea9ef,_0x4114bc)=>{const _0x3ed7dd=_0x3ea859,_0x5a4f7e=_0x23bafc[_0x3ed7dd(0x9a)][0x1aa];_0x4114bc[_0x3ed7dd(0x101)](0x1aa,{'Content-Length':_0x5a4f7e[_0x3ed7dd(0x191)],'Content-Type':_0x3ed7dd(0x209)}),_0x4114bc[_0x3ed7dd(0x14a)](_0x5a4f7e);}),this['_server']['listen'](_0x16548a[_0x3ea859(0x203)],_0x16548a[_0x3ea859(0x129)],_0x16548a['backlog'],_0x28a372)):_0x16548a['server']&&(this[_0x3ea859(0x78)]=_0x16548a[_0x3ea859(0x1f8)]),this[_0x3ea859(0x78)]){const _0x53e910=this[_0x3ea859(0x163)]['bind'](this,_0x3ea859(0x94));this['_removeListeners']=_0x12dd79(this['_server'],{'listening':this[_0x3ea859(0x163)][_0x3ea859(0x128)](this,'listening'),'error':this[_0x3ea859(0x163)]['bind'](this,_0x3ea859(0x11d)),'upgrade':(_0x8dc756,_0x5096db,_0x55d27c)=>{const _0x533d08=_0x3ea859;this[_0x533d08(0x9f)](_0x8dc756,_0x5096db,_0x55d27c,_0x53e910);}});}_0x16548a[_0x3ea859(0x114)]===!0x0&&(_0x16548a[_0x3ea859(0x114)]={}),_0x16548a[_0x3ea859(0x15b)]&&(this[_0x3ea859(0x167)]=new Set(),this[_0x3ea859(0x1dc)]=!0x1),this[_0x3ea859(0xcc)]=_0x16548a,this['_state']=_0x1b506e;}[_0x48bf24(0xff)](){const _0x4752f3=_0x48bf24;if(this[_0x4752f3(0xcc)]['noServer'])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this[_0x4752f3(0x78)]?this['_server'][_0x4752f3(0xff)]():null;}['close'](_0x117c64){const _0x19d485=_0x48bf24;if(this['_state']===_0x7d9777){_0x117c64&&this[_0x19d485(0x1da)](_0x19d485(0xcf),()=>{const _0x4f926e=_0x19d485;_0x117c64(new Error(_0x4f926e(0x86)));}),process['nextTick'](_0x44515f,this);return;}if(_0x117c64&&this['once'](_0x19d485(0xcf),_0x117c64),this[_0x19d485(0x130)]!==_0x2cb560){if(this['_state']=_0x2cb560,this[_0x19d485(0xcc)]['noServer']||this['options'][_0x19d485(0x1f8)])this[_0x19d485(0x78)]&&(this[_0x19d485(0x74)](),this[_0x19d485(0x74)]=this['_server']=null),this['clients']?this[_0x19d485(0x167)][_0x19d485(0x18e)]?this[_0x19d485(0x1dc)]=!0x0:process[_0x19d485(0xb5)](_0x44515f,this):process[_0x19d485(0xb5)](_0x44515f,this);else{const _0x38d623=this[_0x19d485(0x78)];this[_0x19d485(0x74)](),this[_0x19d485(0x74)]=this[_0x19d485(0x78)]=null,_0x38d623['close'](()=>{_0x44515f(this);});}}}[_0x48bf24(0x193)](_0x3c393a){const _0x4824a9=_0x48bf24;if(this[_0x4824a9(0xcc)]['path']){const _0x49f280=_0x3c393a[_0x4824a9(0x1ea)][_0x4824a9(0x12f)]('?');if((_0x49f280!==-0x1?_0x3c393a[_0x4824a9(0x1ea)][_0x4824a9(0x222)](0x0,_0x49f280):_0x3c393a['url'])!==this[_0x4824a9(0xcc)]['path'])return!0x1;}return!0x0;}[_0x48bf24(0x9f)](_0x5eb95d,_0x10db5e,_0x6d46ae,_0x323b3c){const _0x22721a=_0x48bf24;_0x10db5e['on']('error',_0x1a5be5);const _0x238c8b=_0x5eb95d[_0x22721a(0xc7)][_0x22721a(0xae)],_0x39da9a=_0x5eb95d[_0x22721a(0xc7)][_0x22721a(0x198)],_0x6fbf3e=+_0x5eb95d[_0x22721a(0xc7)][_0x22721a(0x16b)];if(_0x5eb95d[_0x22721a(0x207)]!==_0x22721a(0x135)){_0x1d4161(this,_0x5eb95d,_0x10db5e,0x195,_0x22721a(0x188));return;}if(_0x39da9a===void 0x0||_0x39da9a[_0x22721a(0x220)]()!=='websocket'){_0x1d4161(this,_0x5eb95d,_0x10db5e,0x190,_0x22721a(0x1c7));return;}if(_0x238c8b===void 0x0||!_0x4786e6[_0x22721a(0x136)](_0x238c8b)){_0x1d4161(this,_0x5eb95d,_0x10db5e,0x190,_0x22721a(0xdc));return;}if(_0x6fbf3e!==0x8&&_0x6fbf3e!==0xd){_0x1d4161(this,_0x5eb95d,_0x10db5e,0x190,_0x22721a(0x21b));return;}if(!this[_0x22721a(0x193)](_0x5eb95d)){_0x209d2a(_0x10db5e,0x190);return;}const _0x2d6e4a=_0x5eb95d['headers'][_0x22721a(0x9c)];let _0x56b172=new Set();if(_0x2d6e4a!==void 0x0)try{_0x56b172=_0x3681e2[_0x22721a(0x89)](_0x2d6e4a);}catch{_0x1d4161(this,_0x5eb95d,_0x10db5e,0x190,_0x22721a(0x82));return;}const _0x54842b=_0x5eb95d['headers'][_0x22721a(0xfa)],_0x108558={};if(this[_0x22721a(0xcc)][_0x22721a(0x114)]&&_0x54842b!==void 0x0){const _0x20ac10=new _0x518230(this['options']['perMessageDeflate'],!0x0,this[_0x22721a(0xcc)][_0x22721a(0x192)]);try{const _0x5c7e04=_0x3e9c69[_0x22721a(0x89)](_0x54842b);_0x5c7e04[_0x518230[_0x22721a(0x14d)]]&&(_0x20ac10[_0x22721a(0x1b2)](_0x5c7e04[_0x518230[_0x22721a(0x14d)]]),_0x108558[_0x518230[_0x22721a(0x14d)]]=_0x20ac10);}catch{_0x1d4161(this,_0x5eb95d,_0x10db5e,0x190,_0x22721a(0xfd));return;}}if(this[_0x22721a(0xcc)][_0x22721a(0x1fe)]){const _0x30eeee={'origin':_0x5eb95d[_0x22721a(0xc7)][''+(_0x6fbf3e===0x8?_0x22721a(0x1b5):_0x22721a(0x8d))],'secure':!!(_0x5eb95d[_0x22721a(0x84)][_0x22721a(0xa4)]||_0x5eb95d[_0x22721a(0x84)]['encrypted']),'req':_0x5eb95d};if(this[_0x22721a(0xcc)][_0x22721a(0x1fe)][_0x22721a(0x191)]===0x2){this[_0x22721a(0xcc)][_0x22721a(0x1fe)](_0x30eeee,(_0x3f0daf,_0x538924,_0x401cb8,_0x15fc54)=>{const _0x33f4a4=_0x22721a;if(!_0x3f0daf)return _0x209d2a(_0x10db5e,_0x538924||0x191,_0x401cb8,_0x15fc54);this[_0x33f4a4(0x178)](_0x108558,_0x238c8b,_0x56b172,_0x5eb95d,_0x10db5e,_0x6d46ae,_0x323b3c);});return;}if(!this[_0x22721a(0xcc)]['verifyClient'](_0x30eeee))return _0x209d2a(_0x10db5e,0x191);}this['completeUpgrade'](_0x108558,_0x238c8b,_0x56b172,_0x5eb95d,_0x10db5e,_0x6d46ae,_0x323b3c);}[_0x48bf24(0x178)](_0x2a1653,_0x35f7f1,_0x2991e1,_0x215ec1,_0x401ac5,_0x3d0dec,_0x2a9d07){const _0x28548f=_0x48bf24;if(!_0x401ac5[_0x28548f(0x1f9)]||!_0x401ac5[_0x28548f(0x102)])return _0x401ac5[_0x28548f(0x1f4)]();if(_0x401ac5[_0x374644])throw new Error(_0x28548f(0xd8));if(this['_state']>_0x1b506e)return _0x209d2a(_0x401ac5,0x1f7);const _0x12e0a8=[_0x28548f(0x175),'Upgrade:\x20websocket',_0x28548f(0x113),_0x28548f(0x181)+_0xdb999b(_0x28548f(0x20a))['update'](_0x35f7f1+_0x4d7fe6)[_0x28548f(0x1d5)](_0x28548f(0x90))],_0x36aaa0=new this['options']['WebSocket'](null,void 0x0,this[_0x28548f(0xcc)]);if(_0x2991e1[_0x28548f(0x18e)]){const _0x10b6f3=this[_0x28548f(0xcc)]['handleProtocols']?this[_0x28548f(0xcc)][_0x28548f(0xd3)](_0x2991e1,_0x215ec1):_0x2991e1[_0x28548f(0x210)]()['next']()[_0x28548f(0x199)];_0x10b6f3&&(_0x12e0a8[_0x28548f(0x106)]('Sec-WebSocket-Protocol:\x20'+_0x10b6f3),_0x36aaa0[_0x28548f(0x177)]=_0x10b6f3);}if(_0x2a1653[_0x518230[_0x28548f(0x14d)]]){const _0x54b7a9=_0x2a1653[_0x518230[_0x28548f(0x14d)]][_0x28548f(0x124)],_0x43c8b2=_0x3e9c69[_0x28548f(0x13a)]({[_0x518230[_0x28548f(0x14d)]]:[_0x54b7a9]});_0x12e0a8[_0x28548f(0x106)](_0x28548f(0x18a)+_0x43c8b2),_0x36aaa0[_0x28548f(0xe8)]=_0x2a1653;}this[_0x28548f(0x163)]('headers',_0x12e0a8,_0x215ec1),_0x401ac5[_0x28548f(0x197)](_0x12e0a8['concat']('\x0d\x0a')[_0x28548f(0x17f)]('\x0d\x0a')),_0x401ac5[_0x28548f(0x1d1)](_0x28548f(0x11d),_0x1a5be5),_0x36aaa0['setSocket'](_0x401ac5,_0x3d0dec,{'allowSynchronousEvents':this['options'][_0x28548f(0x174)],'maxPayload':this[_0x28548f(0xcc)][_0x28548f(0x192)],'skipUTF8Validation':this[_0x28548f(0xcc)][_0x28548f(0x1b9)]}),this['clients']&&(this[_0x28548f(0x167)][_0x28548f(0x19f)](_0x36aaa0),_0x36aaa0['on'](_0x28548f(0xcf),()=>{const _0x298f4b=_0x28548f;this[_0x298f4b(0x167)][_0x298f4b(0x154)](_0x36aaa0),this[_0x298f4b(0x1dc)]&&!this[_0x298f4b(0x167)][_0x298f4b(0x18e)]&&process[_0x298f4b(0xb5)](_0x44515f,this);})),_0x2a9d07(_0x36aaa0,_0x215ec1);}}Te=_0x3e580d;function _0x12dd79(_0x38dacc,_0x468f01){for(const _0x26f430 of Object['keys'](_0x468f01))_0x38dacc['on'](_0x26f430,_0x468f01[_0x26f430]);return function(){const _0x21c8bc=_0x1a11;for(const _0x447756 of Object[_0x21c8bc(0x1b4)](_0x468f01))_0x38dacc[_0x21c8bc(0x1d1)](_0x447756,_0x468f01[_0x447756]);};}function _0x44515f(_0x2c18bb){const _0x779866=_0x48bf24;_0x2c18bb[_0x779866(0x130)]=_0x7d9777,_0x2c18bb['emit'](_0x779866(0xcf));}function _0x1a5be5(){const _0x43ad94=_0x48bf24;this[_0x43ad94(0x1f4)]();}function _0x209d2a(_0x9dd42a,_0x2a0d17,_0xc0ef0,_0x39b7ae){const _0x1aefae=_0x48bf24;_0xc0ef0=_0xc0ef0||_0x23bafc[_0x1aefae(0x9a)][_0x2a0d17],_0x39b7ae={'Connection':_0x1aefae(0xcf),'Content-Type':_0x1aefae(0x97),'Content-Length':Buffer[_0x1aefae(0x208)](_0xc0ef0),..._0x39b7ae},_0x9dd42a[_0x1aefae(0x1da)](_0x1aefae(0x225),_0x9dd42a[_0x1aefae(0x1f4)]),_0x9dd42a['end'](_0x1aefae(0xa1)+_0x2a0d17+'\x20'+_0x23bafc[_0x1aefae(0x9a)][_0x2a0d17]+'\x0d\x0a'+Object[_0x1aefae(0x1b4)](_0x39b7ae)[_0x1aefae(0xc5)](_0x2d5e83=>_0x2d5e83+':\x20'+_0x39b7ae[_0x2d5e83])[_0x1aefae(0x17f)]('\x0d\x0a')+_0x1aefae(0x121)+_0xc0ef0);}function _0x1d4161(_0x5a2b3b,_0x37c887,_0x17e646,_0x428296,_0x5a1556){const _0x2a5ef1=_0x48bf24;if(_0x5a2b3b[_0x2a5ef1(0x153)](_0x2a5ef1(0x170))){const _0x577713=new Error(_0x5a1556);Error['captureStackTrace'](_0x577713,_0x1d4161),_0x5a2b3b[_0x2a5ef1(0x163)](_0x2a5ef1(0x170),_0x577713,_0x17e646,_0x37c887);}else _0x209d2a(_0x17e646,_0x428296,_0x5a1556);}return Te;}er();var tr=Object[_0x1d0d40(0xb6)],rr=(_0x210d06,_0xef0862,_0x48c194,_0x34dd74)=>{const _0x5421c1=_0x1d0d40;for(var _0x129d41=_0x34dd74>0x1?void 0x0:_0x34dd74?tr(_0xef0862,_0x48c194):_0xef0862,_0x8780d4=_0x210d06[_0x5421c1(0x191)]-0x1,_0x9fa2c5;_0x8780d4>=0x0;_0x8780d4--)(_0x9fa2c5=_0x210d06[_0x8780d4])&&(_0x129d41=_0x9fa2c5(_0x129d41)||_0x129d41);return _0x129d41;},sr=(_0x47d2e0,_0x5679d9)=>(_0x48d844,_0xe55a7a)=>_0x5679d9(_0x48d844,_0xe55a7a,_0x47d2e0);let Ne=class extends _0x4a6998{constructor(_0x5efaaf){super(),this['_configService']=_0x5efaaf;}[_0x1d0d40(0x218)](_0x21edcd){const _0x478ef6=_0x1d0d40;var _0x30b052;const _0x77aa41=(_0x30b052=this[_0x478ef6(0x110)]['getConfig'](Be))==null?void 0x0:_0x30b052[_0x478ef6(0x20b)];try{const _0x69c880=new Qt(_0x21edcd,{'headers':{..._0x77aa41}}),_0x1d237e=new _0x27015c();return{'URL':_0x21edcd,'close':(_0x37d9c3,_0x2dce15)=>{const _0x29d65f=_0x478ef6;_0x69c880[_0x29d65f(0xcf)](_0x37d9c3,_0x2dce15),_0x1d237e[_0x29d65f(0x12e)]();},'send':_0x32f4b9=>{const _0x33eb1e=_0x478ef6;_0x69c880[_0x33eb1e(0x1e9)](_0x32f4b9);},'open$':new _0x334b8b(_0x2a6afd=>{const _0xd58157=_0x478ef6,_0x2867d2=_0x879858=>_0x2a6afd[_0xd58157(0x141)](_0x879858);_0x69c880[_0xd58157(0x131)](_0xd58157(0x133),_0x2867d2),_0x1d237e['add'](_0x4f485d(()=>_0x69c880[_0xd58157(0x93)]('open',_0x2867d2)));})['pipe'](_0x2f2240()),'close$':new _0x334b8b(_0x2a53f5=>{const _0x5a4fdf=_0x478ef6,_0x1c0f7c=_0x3afcf0=>_0x2a53f5[_0x5a4fdf(0x141)](_0x3afcf0);_0x69c880['addEventListener'](_0x5a4fdf(0xcf),_0x1c0f7c),_0x1d237e[_0x5a4fdf(0x19f)](_0x4f485d(()=>_0x69c880[_0x5a4fdf(0x93)](_0x5a4fdf(0xcf),_0x1c0f7c)));})[_0x478ef6(0x152)](_0x2f2240()),'error$':new _0x334b8b(_0x318485=>{const _0x556e3e=_0x478ef6,_0x44c581=_0x3a357c=>_0x318485[_0x556e3e(0x141)](_0x3a357c);_0x69c880[_0x556e3e(0x131)](_0x556e3e(0x11d),_0x44c581),_0x1d237e[_0x556e3e(0x19f)](_0x4f485d(()=>_0x69c880[_0x556e3e(0x93)](_0x556e3e(0x11d),_0x44c581)));})[_0x478ef6(0x152)](_0x2f2240()),'message$':new _0x334b8b(_0x2309be=>{const _0x493353=_0x478ef6,_0x34973b=_0x260a64=>_0x2309be[_0x493353(0x141)](_0x260a64);_0x69c880[_0x493353(0x131)](_0x493353(0x112),_0x34973b),_0x1d237e[_0x493353(0x19f)](_0x4f485d(()=>_0x69c880['removeEventListener']('message',_0x34973b)));})['pipe'](_0x2f2240())};}catch(_0x4d9aee){return console[_0x478ef6(0x11d)](_0x4d9aee),null;}}};Ne=rr([sr(0x0,_0x5c7e80)],Ne);var ir=Object[_0x1d0d40(0x143)],nr=Object[_0x1d0d40(0xb6)],or=(_0x5e7a1b,_0x3e5456,_0x77b11)=>_0x3e5456 in _0x5e7a1b?ir(_0x5e7a1b,_0x3e5456,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x77b11}):_0x5e7a1b[_0x3e5456]=_0x77b11,ar=(_0x57235f,_0x4128b9,_0x5ddebd,_0x2fdeca)=>{const _0x13e439=_0x1d0d40;for(var _0x2af2cf=_0x2fdeca>0x1?void 0x0:_0x2fdeca?nr(_0x4128b9,_0x5ddebd):_0x4128b9,_0x5272ea=_0x57235f[_0x13e439(0x191)]-0x1,_0x1965fe;_0x5272ea>=0x0;_0x5272ea--)(_0x1965fe=_0x57235f[_0x5272ea])&&(_0x2af2cf=_0x1965fe(_0x2af2cf)||_0x2af2cf);return _0x2af2cf;},ke=(_0x440e54,_0x3a1390)=>(_0x12a61b,_0x484de5)=>_0x3a1390(_0x12a61b,_0x484de5,_0x440e54),lr=(_0x18c256,_0x25a2c4,_0x3f7c44)=>or(_0x18c256,_0x25a2c4+'',_0x3f7c44);let Pe=class extends _0x31fef3{constructor(_0x850331=Ft,_0x23190e,_0xeae3df,_0x3cc9a5){const _0x4f6b65=_0x1d0d40;_0x850331[_0x4f6b65(0x20b)]||_0x23190e[_0x4f6b65(0x14f)](_0x4f6b65(0x171)),super(),this[_0x4f6b65(0x110)]=_0xeae3df,this[_0x4f6b65(0x15c)]=_0x3cc9a5,this['_configService'][_0x4f6b65(0xe5)](Be,_0x850331);}[_0x1d0d40(0xfe)](){const _0x133950=_0x1d0d40;this[_0x133950(0x92)]();}[_0x1d0d40(0x92)](){const _0x28f4bd=_0x1d0d40;_0x298d41(this[_0x28f4bd(0x15c)],[[_0x220a91,{'useClass':Ne}]]);}};lr(Pe,_0x1d0d40(0xcb),_0x1d0d40(0x1cc)),Pe=ar([_0x5ae147(_0x3e833b),ke(0x1,_0x56e68f),ke(0x2,_0x5c7e80),ke(0x3,_0x3d6482(_0x5ab9f0))],Pe);var fr=Object[_0x1d0d40(0xb6)],cr=(_0x11ac7f,_0x5c3164,_0x59f442,_0x4924d7)=>{for(var _0x3ab5dd=_0x4924d7>0x1?void 0x0:_0x4924d7?fr(_0x5c3164,_0x59f442):_0x5c3164,_0x30ae7c=_0x11ac7f['length']-0x1,_0x1e032a;_0x30ae7c>=0x0;_0x30ae7c--)(_0x1e032a=_0x11ac7f[_0x30ae7c])&&(_0x3ab5dd=_0x1e032a(_0x3ab5dd)||_0x3ab5dd);return _0x3ab5dd;},se=(_0x1796bb,_0x347c01)=>(_0x352910,_0xfaa713)=>_0x347c01(_0x352910,_0xfaa713,_0x1796bb);let at=class extends _0x7c0313{constructor(_0x477742,_0x42f955,_0x46f4d5,_0x17d31a,_0x34f75a){const _0x564779=_0x1d0d40;super(_0x477742,_0x42f955,_0x46f4d5,_0x17d31a,_0x34f75a);const _0x5bc5b4=this[_0x564779(0x110)][_0x564779(0xbd)](Be);this[_0x564779(0x1e8)][_0x564779(0xf3)]({'interceptor':(_0x128f00,_0xc58220)=>{const _0x2ac4f3=_0x564779;var _0x49568d;const _0x5531ef=_0x128f00[_0x2ac4f3(0xc7)];return(_0x49568d=_0x5bc5b4==null?void 0x0:_0x5bc5b4[_0x2ac4f3(0x20b)])!=null&&_0x49568d[_0x2ac4f3(0x228)]&&_0x5531ef[_0x2ac4f3(0x1f5)](_0x2ac4f3(0x96),_0x5bc5b4['customHeaders'][_0x2ac4f3(0x228)]),_0xc58220(_0x128f00);}});}async[_0x1d0d40(0x218)](_0x2cc55b){const _0x2a9680=_0x1d0d40;return this[_0x2a9680(0xbc)](_0x2cc55b);}};at=cr([se(0x0,_0x3d6482(_0x5ab9f0)),se(0x1,_0x3d6482(_0x2f2c10)),se(0x2,_0x5c7e80),se(0x3,_0x56e68f),se(0x4,_0x49f1be)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|