@univerjs-pro/collaboration-client-node 0.6.10-experimental.20250427-825ae55 → 0.6.10-experimental.20250428-261c0dd
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 +6 -6
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x14a122=_0x5604;(function(_0x348d9a,_0x27a2a4){const _0x4a74a2=_0x5604,_0x87eec=_0x348d9a();while(!![]){try{const _0x1c7b43=-parseInt(_0x4a74a2(0x2a9))/0x1*(-parseInt(_0x4a74a2(0x25f))/0x2)+parseInt(_0x4a74a2(0x31b))/0x3*(-parseInt(_0x4a74a2(0x2c6))/0x4)+-parseInt(_0x4a74a2(0x2e4))/0x5+-parseInt(_0x4a74a2(0x2a0))/0x6*(-parseInt(_0x4a74a2(0x1ed))/0x7)+-parseInt(_0x4a74a2(0x2f6))/0x8*(-parseInt(_0x4a74a2(0x1a1))/0x9)+parseInt(_0x4a74a2(0x18a))/0xa*(-parseInt(_0x4a74a2(0x2d8))/0xb)+-parseInt(_0x4a74a2(0x293))/0xc*(-parseInt(_0x4a74a2(0x31a))/0xd);if(_0x1c7b43===_0x27a2a4)break;else _0x87eec['push'](_0x87eec['shift']());}catch(_0x4c1095){_0x87eec['push'](_0x87eec['shift']());}}}(_0x5038,0xdc726));import{UniverCollaborationClientPlugin as _0x27ac0b,CollaborationSocketService as _0x501b0e}from'@univerjs-pro/collaboration-client';import{Disposable as _0x5bfdea,DisposableCollection as _0x582e0a,toDisposable as _0x2413f4,IConfigService as _0x31ea8d,DependentOn as _0x50821d,ILogService as _0x2280c9,Inject as _0x19b0d9,Injector as _0x603b3a,Plugin as _0x4e0c14,registerDependencies as _0x289661}from'@univerjs/core';import{ISocketService as _0x2b2478,HTTPService as _0x434683}from'@univerjs/network';import{Observable as _0x54031b,share as _0x4e1d3b}from'rxjs';import _0x376dad from'events';import _0xf9f5a from'https';import _0x3dd2a6 from'http';import _0xf58de6 from'net';import _0x2cc067 from'tls';import _0x34ccca from'crypto';import _0x408a08 from'stream';import _0x4653b8 from'url';import _0x3f6127 from'zlib';import _0x40e8f6 from'buffer';import{ISnapshotServerService as _0x362b60}from'@univerjs-pro/collaboration';const Be=_0x14a122(0x2ea),Ft={'customHeaders':{}};function jt(_0x1ffa6d){const _0x1644ee=_0x14a122;return _0x1ffa6d&&_0x1ffa6d[_0x1644ee(0x1cb)]&&Object['prototype']['hasOwnProperty']['call'](_0x1ffa6d,_0x1644ee(0x309))?_0x1ffa6d[_0x1644ee(0x309)]:_0x1ffa6d;}function ut(_0x1a087e){const _0x11991c=_0x14a122;if(Object[_0x11991c(0x2a6)][_0x11991c(0x1b1)][_0x11991c(0x2c5)](_0x1a087e,_0x11991c(0x1cb)))return _0x1a087e;var _0x344baf=_0x1a087e['default'];if(typeof _0x344baf==_0x11991c(0x20f)){var _0x3eecf3=function _0x448355(){const _0x31ba4f=_0x11991c;return this instanceof _0x448355?Reflect['construct'](_0x344baf,arguments,this[_0x31ba4f(0x239)]):_0x344baf['apply'](this,arguments);};_0x3eecf3['prototype']=_0x344baf['prototype'];}else _0x3eecf3={};return Object[_0x11991c(0x321)](_0x3eecf3,_0x11991c(0x1cb),{'value':!0x0}),Object[_0x11991c(0x28d)](_0x1a087e)[_0x11991c(0x215)](function(_0x4cf46f){const _0x54a182=_0x11991c;var _0x1baf2c=Object[_0x54a182(0x1f6)](_0x1a087e,_0x4cf46f);Object[_0x54a182(0x321)](_0x3eecf3,_0x4cf46f,_0x1baf2c[_0x54a182(0x28c)]?_0x1baf2c:{'enumerable':!0x0,'get':function(){return _0x1a087e[_0x4cf46f];}});}),_0x3eecf3;}var te={'exports':{}},ge,Ye;function V(){const _0x421e95=_0x14a122;if(Ye)return ge;Ye=0x1;const _0x3c6643=[_0x421e95(0x22d),'arraybuffer',_0x421e95(0x24b)],_0x517c46=typeof Blob<'u';return _0x517c46&&_0x3c6643[_0x421e95(0x2aa)]('blob'),ge={'BINARY_TYPES':_0x3c6643,'EMPTY_BUFFER':Buffer[_0x421e95(0x1a7)](0x0),'GUID':_0x421e95(0x1da),'hasBlob':_0x517c46,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x421e95(0x1a5)),'kWebSocket':Symbol(_0x421e95(0x2b4)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x14a122(0x289)](Object[_0x14a122(0x321)]({'__proto__':null,'default':Wt},Symbol[_0x14a122(0x22e)],{'value':_0x14a122(0x251)})),Vt=ut(Gt);var Ke;function ce(){const _0x393e58=_0x14a122;if(Ke)return te['exports'];Ke=0x1;const {EMPTY_BUFFER:_0xb4ee9e}=V(),_0x55960f=Buffer[Symbol[_0x393e58(0x2e1)]];function _0x23ed03(_0x2f9650,_0x329761){const _0x3b0bf6=_0x393e58;if(_0x2f9650[_0x3b0bf6(0x1e6)]===0x0)return _0xb4ee9e;if(_0x2f9650[_0x3b0bf6(0x1e6)]===0x1)return _0x2f9650[0x0];const _0x4c2bad=Buffer['allocUnsafe'](_0x329761);let _0x317177=0x0;for(let _0x1af300=0x0;_0x1af300<_0x2f9650['length'];_0x1af300++){const _0x548277=_0x2f9650[_0x1af300];_0x4c2bad[_0x3b0bf6(0x319)](_0x548277,_0x317177),_0x317177+=_0x548277[_0x3b0bf6(0x1e6)];}return _0x317177<_0x329761?new _0x55960f(_0x4c2bad['buffer'],_0x4c2bad[_0x3b0bf6(0x19d)],_0x317177):_0x4c2bad;}function _0xae9544(_0x291ca2,_0x239ad7,_0x5a59a6,_0x2923b5,_0x2012f4){for(let _0x3649dd=0x0;_0x3649dd<_0x2012f4;_0x3649dd++)_0x5a59a6[_0x2923b5+_0x3649dd]=_0x291ca2[_0x3649dd]^_0x239ad7[_0x3649dd&0x3];}function _0x495146(_0x57a468,_0x5d7c44){const _0x4c176e=_0x393e58;for(let _0x2d2ac3=0x0;_0x2d2ac3<_0x57a468[_0x4c176e(0x1e6)];_0x2d2ac3++)_0x57a468[_0x2d2ac3]^=_0x5d7c44[_0x2d2ac3&0x3];}function _0xc1a4be(_0x10adea){const _0x4b3560=_0x393e58;return _0x10adea[_0x4b3560(0x1e6)]===_0x10adea['buffer'][_0x4b3560(0x1de)]?_0x10adea[_0x4b3560(0x29e)]:_0x10adea[_0x4b3560(0x29e)][_0x4b3560(0x193)](_0x10adea[_0x4b3560(0x19d)],_0x10adea[_0x4b3560(0x19d)]+_0x10adea['length']);}function _0xd73f2a(_0x359497){const _0x75dea9=_0x393e58;if(_0xd73f2a[_0x75dea9(0x278)]=!0x0,Buffer[_0x75dea9(0x1b7)](_0x359497))return _0x359497;let _0x149f67;return _0x359497 instanceof ArrayBuffer?_0x149f67=new _0x55960f(_0x359497):ArrayBuffer['isView'](_0x359497)?_0x149f67=new _0x55960f(_0x359497['buffer'],_0x359497['byteOffset'],_0x359497[_0x75dea9(0x1de)]):(_0x149f67=Buffer[_0x75dea9(0x190)](_0x359497),_0xd73f2a[_0x75dea9(0x278)]=!0x1),_0x149f67;}if(te[_0x393e58(0x258)]={'concat':_0x23ed03,'mask':_0xae9544,'toArrayBuffer':_0xc1a4be,'toBuffer':_0xd73f2a,'unmask':_0x495146},!process[_0x393e58(0x18e)][_0x393e58(0x2bc)])try{const _0x2dfed1=Vt;te[_0x393e58(0x258)][_0x393e58(0x320)]=function(_0x3b054b,_0x5d1052,_0x7a7ca5,_0x28afbd,_0xcded9){const _0x256498=_0x393e58;_0xcded9<0x30?_0xae9544(_0x3b054b,_0x5d1052,_0x7a7ca5,_0x28afbd,_0xcded9):_0x2dfed1[_0x256498(0x320)](_0x3b054b,_0x5d1052,_0x7a7ca5,_0x28afbd,_0xcded9);},te[_0x393e58(0x258)]['unmask']=function(_0x3ca3cd,_0x27b681){const _0x160b85=_0x393e58;_0x3ca3cd[_0x160b85(0x1e6)]<0x20?_0x495146(_0x3ca3cd,_0x27b681):_0x2dfed1['unmask'](_0x3ca3cd,_0x27b681);};}catch{}return te[_0x393e58(0x258)];}var ye,Xe;function qt(){const _0x1b7395=_0x14a122;if(Xe)return ye;Xe=0x1;const _0x1502a5=Symbol(_0x1b7395(0x1b4)),_0x449b2a=Symbol('kRun');class _0x1f63ec{constructor(_0x1ab121){const _0x941080=_0x1b7395;this[_0x1502a5]=()=>{const _0x11c0ce=_0x5604;this[_0x11c0ce(0x234)]--,this[_0x449b2a]();},this[_0x941080(0x1fc)]=_0x1ab121||0x1/0x0,this['jobs']=[],this[_0x941080(0x234)]=0x0;}[_0x1b7395(0x29b)](_0x37829e){this['jobs']['push'](_0x37829e),this[_0x449b2a]();}[_0x449b2a](){const _0x49e9c2=_0x1b7395;if(this[_0x49e9c2(0x234)]!==this[_0x49e9c2(0x1fc)]&&this[_0x49e9c2(0x231)]['length']){const _0xde6f90=this[_0x49e9c2(0x231)][_0x49e9c2(0x235)]();this[_0x49e9c2(0x234)]++,_0xde6f90(this[_0x1502a5]);}}}return ye=_0x1f63ec,ye;}var ve,Ze;function he(){const _0x7415ce=_0x14a122;if(Ze)return ve;Ze=0x1;const _0x528679=_0x3f6127,_0x332e37=ce(),_0x5ef8f2=qt(),{kStatusCode:_0x2bc939}=V(),_0x27c73a=Buffer[Symbol[_0x7415ce(0x2e1)]],_0xef779a=Buffer[_0x7415ce(0x190)]([0x0,0x0,0xff,0xff]),_0x2a37f5=Symbol(_0x7415ce(0x197)),_0x1921d3=Symbol(_0x7415ce(0x2d7)),_0x5729a9=Symbol('callback'),_0x1c30dc=Symbol(_0x7415ce(0x1bd)),_0x160c1a=Symbol('error');let _0xb5669b;class _0x1f1da0{constructor(_0x3ee356,_0xb5bbda,_0x5b3fa6){const _0x3e199c=_0x7415ce;if(this[_0x3e199c(0x206)]=_0x5b3fa6|0x0,this[_0x3e199c(0x313)]=_0x3ee356||{},this['_threshold']=this[_0x3e199c(0x313)][_0x3e199c(0x1c0)]!==void 0x0?this['_options'][_0x3e199c(0x1c0)]:0x400,this[_0x3e199c(0x23d)]=!!_0xb5bbda,this[_0x3e199c(0x2ac)]=null,this['_inflate']=null,this[_0x3e199c(0x184)]=null,!_0xb5669b){const _0x23c23b=this['_options'][_0x3e199c(0x21a)]!==void 0x0?this[_0x3e199c(0x313)][_0x3e199c(0x21a)]:0xa;_0xb5669b=new _0x5ef8f2(_0x23c23b);}}static get['extensionName'](){const _0x20926f=_0x7415ce;return _0x20926f(0x197);}[_0x7415ce(0x1f2)](){const _0x35b33b=_0x7415ce,_0x35586d={};return this[_0x35b33b(0x313)][_0x35b33b(0x2c8)]&&(_0x35586d[_0x35b33b(0x1dd)]=!0x0),this['_options'][_0x35b33b(0x199)]&&(_0x35586d['client_no_context_takeover']=!0x0),this['_options']['serverMaxWindowBits']&&(_0x35586d['server_max_window_bits']=this['_options']['serverMaxWindowBits']),this['_options'][_0x35b33b(0x21d)]?_0x35586d[_0x35b33b(0x2cd)]=this[_0x35b33b(0x313)][_0x35b33b(0x21d)]:this['_options'][_0x35b33b(0x21d)]==null&&(_0x35586d[_0x35b33b(0x2cd)]=!0x0),_0x35586d;}[_0x7415ce(0x2b1)](_0x454c93){const _0x63d4ac=_0x7415ce;return _0x454c93=this[_0x63d4ac(0x1d7)](_0x454c93),this[_0x63d4ac(0x184)]=this[_0x63d4ac(0x23d)]?this[_0x63d4ac(0x1c4)](_0x454c93):this[_0x63d4ac(0x1c2)](_0x454c93),this['params'];}[_0x7415ce(0x1ab)](){const _0x1253b8=_0x7415ce;if(this[_0x1253b8(0x20c)]&&(this[_0x1253b8(0x20c)][_0x1253b8(0x202)](),this[_0x1253b8(0x20c)]=null),this[_0x1253b8(0x2ac)]){const _0x1c1038=this[_0x1253b8(0x2ac)][_0x5729a9];this[_0x1253b8(0x2ac)][_0x1253b8(0x202)](),this[_0x1253b8(0x2ac)]=null,_0x1c1038&&_0x1c1038(new Error(_0x1253b8(0x26a)));}}['acceptAsServer'](_0x9d5aad){const _0x2c64e7=_0x7415ce,_0x4a2c8f=this['_options'],_0x12174e=_0x9d5aad[_0x2c64e7(0x1ff)](_0x55101b=>!(_0x4a2c8f['serverNoContextTakeover']===!0x1&&_0x55101b['server_no_context_takeover']||_0x55101b[_0x2c64e7(0x27c)]&&(_0x4a2c8f[_0x2c64e7(0x31c)]===!0x1||typeof _0x4a2c8f['serverMaxWindowBits']=='number'&&_0x4a2c8f[_0x2c64e7(0x31c)]>_0x55101b['server_max_window_bits'])||typeof _0x4a2c8f[_0x2c64e7(0x21d)]=='number'&&!_0x55101b[_0x2c64e7(0x2cd)]));if(!_0x12174e)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x4a2c8f['serverNoContextTakeover']&&(_0x12174e[_0x2c64e7(0x1dd)]=!0x0),_0x4a2c8f['clientNoContextTakeover']&&(_0x12174e[_0x2c64e7(0x205)]=!0x0),typeof _0x4a2c8f[_0x2c64e7(0x31c)]==_0x2c64e7(0x181)&&(_0x12174e[_0x2c64e7(0x27c)]=_0x4a2c8f[_0x2c64e7(0x31c)]),typeof _0x4a2c8f[_0x2c64e7(0x21d)]=='number'?_0x12174e['client_max_window_bits']=_0x4a2c8f[_0x2c64e7(0x21d)]:(_0x12174e[_0x2c64e7(0x2cd)]===!0x0||_0x4a2c8f[_0x2c64e7(0x21d)]===!0x1)&&delete _0x12174e['client_max_window_bits'],_0x12174e;}['acceptAsClient'](_0x51048e){const _0x11972d=_0x7415ce,_0x1eb19a=_0x51048e[0x0];if(this[_0x11972d(0x313)]['clientNoContextTakeover']===!0x1&&_0x1eb19a[_0x11972d(0x205)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x1eb19a[_0x11972d(0x2cd)])typeof this[_0x11972d(0x313)][_0x11972d(0x21d)]==_0x11972d(0x181)&&(_0x1eb19a['client_max_window_bits']=this['_options'][_0x11972d(0x21d)]);else{if(this[_0x11972d(0x313)]['clientMaxWindowBits']===!0x1||typeof this[_0x11972d(0x313)][_0x11972d(0x21d)]==_0x11972d(0x181)&&_0x1eb19a[_0x11972d(0x2cd)]>this[_0x11972d(0x313)]['clientMaxWindowBits'])throw new Error(_0x11972d(0x26b));}return _0x1eb19a;}[_0x7415ce(0x1d7)](_0x4b8353){const _0xae41a=_0x7415ce;return _0x4b8353[_0xae41a(0x215)](_0x30abb1=>{const _0x3f6d68=_0xae41a;Object['keys'](_0x30abb1)[_0x3f6d68(0x215)](_0x54381c=>{const _0x261ceb=_0x3f6d68;let _0x12ca15=_0x30abb1[_0x54381c];if(_0x12ca15[_0x261ceb(0x1e6)]>0x1)throw new Error(_0x261ceb(0x316)+_0x54381c+_0x261ceb(0x232));if(_0x12ca15=_0x12ca15[0x0],_0x54381c===_0x261ceb(0x2cd)){if(_0x12ca15!==!0x0){const _0x286768=+_0x12ca15;if(!Number[_0x261ceb(0x244)](_0x286768)||_0x286768<0x8||_0x286768>0xf)throw new TypeError(_0x261ceb(0x2d1)+_0x54381c+_0x261ceb(0x1a3)+_0x12ca15);_0x12ca15=_0x286768;}else{if(!this[_0x261ceb(0x23d)])throw new TypeError(_0x261ceb(0x2d1)+_0x54381c+_0x261ceb(0x1a3)+_0x12ca15);}}else{if(_0x54381c===_0x261ceb(0x27c)){const _0x212aa5=+_0x12ca15;if(!Number[_0x261ceb(0x244)](_0x212aa5)||_0x212aa5<0x8||_0x212aa5>0xf)throw new TypeError(_0x261ceb(0x2d1)+_0x54381c+'\x22:\x20'+_0x12ca15);_0x12ca15=_0x212aa5;}else{if(_0x54381c==='client_no_context_takeover'||_0x54381c===_0x261ceb(0x1dd)){if(_0x12ca15!==!0x0)throw new TypeError(_0x261ceb(0x2d1)+_0x54381c+'\x22:\x20'+_0x12ca15);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x54381c+'\x22');}}_0x30abb1[_0x54381c]=_0x12ca15;});}),_0x4b8353;}['decompress'](_0x22b970,_0x1c9f1d,_0x1c7218){const _0x551d12=_0x7415ce;_0xb5669b[_0x551d12(0x29b)](_0x323853=>{const _0x260bac=_0x551d12;this[_0x260bac(0x1ec)](_0x22b970,_0x1c9f1d,(_0x531b06,_0x4b32df)=>{_0x323853(),_0x1c7218(_0x531b06,_0x4b32df);});});}[_0x7415ce(0x1c7)](_0x149f9a,_0x11b85d,_0x27493f){const _0x144619=_0x7415ce;_0xb5669b[_0x144619(0x29b)](_0x14a84c=>{const _0x406a4b=_0x144619;this[_0x406a4b(0x174)](_0x149f9a,_0x11b85d,(_0x5b50fe,_0x50a76c)=>{_0x14a84c(),_0x27493f(_0x5b50fe,_0x50a76c);});});}[_0x7415ce(0x1ec)](_0x45aefc,_0xc2b224,_0x123311){const _0x2db9bd=_0x7415ce,_0x370d3e=this[_0x2db9bd(0x23d)]?'client':_0x2db9bd(0x28e);if(!this['_inflate']){const _0x2f492d=_0x370d3e+_0x2db9bd(0x1a8),_0x5e5ac1=typeof this[_0x2db9bd(0x184)][_0x2f492d]!='number'?_0x528679['Z_DEFAULT_WINDOWBITS']:this[_0x2db9bd(0x184)][_0x2f492d];this[_0x2db9bd(0x20c)]=_0x528679[_0x2db9bd(0x31d)]({...this[_0x2db9bd(0x313)][_0x2db9bd(0x1d0)],'windowBits':_0x5e5ac1}),this['_inflate'][_0x2a37f5]=this,this[_0x2db9bd(0x20c)][_0x1921d3]=0x0,this[_0x2db9bd(0x20c)][_0x1c30dc]=[],this[_0x2db9bd(0x20c)]['on'](_0x2db9bd(0x222),_0x8b407e),this[_0x2db9bd(0x20c)]['on'](_0x2db9bd(0x1e9),_0x4e3b1);}this[_0x2db9bd(0x20c)][_0x5729a9]=_0x123311,this[_0x2db9bd(0x20c)][_0x2db9bd(0x1eb)](_0x45aefc),_0xc2b224&&this[_0x2db9bd(0x20c)][_0x2db9bd(0x1eb)](_0xef779a),this['_inflate']['flush'](()=>{const _0x2fd4cd=_0x2db9bd,_0x26cf9c=this[_0x2fd4cd(0x20c)][_0x160c1a];if(_0x26cf9c){this[_0x2fd4cd(0x20c)][_0x2fd4cd(0x202)](),this[_0x2fd4cd(0x20c)]=null,_0x123311(_0x26cf9c);return;}const _0x2ee26b=_0x332e37[_0x2fd4cd(0x2f8)](this[_0x2fd4cd(0x20c)][_0x1c30dc],this[_0x2fd4cd(0x20c)][_0x1921d3]);this[_0x2fd4cd(0x20c)][_0x2fd4cd(0x1f0)][_0x2fd4cd(0x2e8)]?(this[_0x2fd4cd(0x20c)][_0x2fd4cd(0x202)](),this[_0x2fd4cd(0x20c)]=null):(this[_0x2fd4cd(0x20c)][_0x1921d3]=0x0,this['_inflate'][_0x1c30dc]=[],_0xc2b224&&this['params'][_0x370d3e+'_no_context_takeover']&&this[_0x2fd4cd(0x20c)][_0x2fd4cd(0x1ae)]()),_0x123311(null,_0x2ee26b);});}[_0x7415ce(0x174)](_0x2fbd97,_0x19281f,_0x2638c8){const _0x29a38b=_0x7415ce,_0x313677=this[_0x29a38b(0x23d)]?'server':_0x29a38b(0x2ef);if(!this[_0x29a38b(0x2ac)]){const _0x3ea06c=_0x313677+_0x29a38b(0x1a8),_0x46d375=typeof this['params'][_0x3ea06c]!='number'?_0x528679[_0x29a38b(0x252)]:this['params'][_0x3ea06c];this[_0x29a38b(0x2ac)]=_0x528679[_0x29a38b(0x2a8)]({...this[_0x29a38b(0x313)][_0x29a38b(0x207)],'windowBits':_0x46d375}),this[_0x29a38b(0x2ac)][_0x1921d3]=0x0,this['_deflate'][_0x1c30dc]=[],this['_deflate']['on'](_0x29a38b(0x1e9),_0x2458d4);}this[_0x29a38b(0x2ac)][_0x5729a9]=_0x2638c8,this[_0x29a38b(0x2ac)][_0x29a38b(0x1eb)](_0x2fbd97),this[_0x29a38b(0x2ac)][_0x29a38b(0x2a2)](_0x528679[_0x29a38b(0x2ae)],()=>{const _0x21aeca=_0x29a38b;if(!this[_0x21aeca(0x2ac)])return;let _0x13ac73=_0x332e37[_0x21aeca(0x2f8)](this['_deflate'][_0x1c30dc],this[_0x21aeca(0x2ac)][_0x1921d3]);_0x19281f&&(_0x13ac73=new _0x27c73a(_0x13ac73['buffer'],_0x13ac73[_0x21aeca(0x19d)],_0x13ac73[_0x21aeca(0x1e6)]-0x4)),this[_0x21aeca(0x2ac)][_0x5729a9]=null,this['_deflate'][_0x1921d3]=0x0,this['_deflate'][_0x1c30dc]=[],_0x19281f&&this['params'][_0x313677+_0x21aeca(0x19b)]&&this[_0x21aeca(0x2ac)][_0x21aeca(0x1ae)](),_0x2638c8(null,_0x13ac73);});}}ve=_0x1f1da0;function _0x2458d4(_0x3f31e4){const _0x4621ba=_0x7415ce;this[_0x1c30dc]['push'](_0x3f31e4),this[_0x1921d3]+=_0x3f31e4[_0x4621ba(0x1e6)];}function _0x4e3b1(_0x4bc74c){const _0x554e0c=_0x7415ce;if(this[_0x1921d3]+=_0x4bc74c[_0x554e0c(0x1e6)],this[_0x2a37f5][_0x554e0c(0x206)]<0x1||this[_0x1921d3]<=this[_0x2a37f5][_0x554e0c(0x206)]){this[_0x1c30dc]['push'](_0x4bc74c);return;}this[_0x160c1a]=new RangeError(_0x554e0c(0x24d)),this[_0x160c1a][_0x554e0c(0x2fc)]=_0x554e0c(0x2dd),this[_0x160c1a][_0x2bc939]=0x3f1,this[_0x554e0c(0x2e3)](_0x554e0c(0x1e9),_0x4e3b1),this[_0x554e0c(0x1ae)]();}function _0x8b407e(_0x2105e9){const _0x52961d=_0x7415ce;this[_0x2a37f5][_0x52961d(0x20c)]=null,_0x2105e9[_0x2bc939]=0x3ef,this[_0x5729a9](_0x2105e9);}return ve;}function _0x5604(_0x59b9df,_0x82a023){const _0x50383f=_0x5038();return _0x5604=function(_0x560422,_0x100673){_0x560422=_0x560422-0x174;let _0x3642c1=_0x50383f[_0x560422];return _0x3642c1;},_0x5604(_0x59b9df,_0x82a023);}var re={'exports':{}};const Ht={},zt=Object[_0x14a122(0x289)](Object['defineProperty']({'__proto__':null,'default':Ht},Symbol[_0x14a122(0x22e)],{'value':_0x14a122(0x251)})),Yt=ut(zt);var Qe;function ne(){const _0x2dd8b8=_0x14a122;if(Qe)return re[_0x2dd8b8(0x258)];Qe=0x1;const {isUtf8:_0x1e7872}=_0x40e8f6,{hasBlob:_0x5ae855}=V(),_0x13a2ea=[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 _0x521dce(_0x3c3f9f){return _0x3c3f9f>=0x3e8&&_0x3c3f9f<=0x3f6&&_0x3c3f9f!==0x3ec&&_0x3c3f9f!==0x3ed&&_0x3c3f9f!==0x3ee||_0x3c3f9f>=0xbb8&&_0x3c3f9f<=0x1387;}function _0xceffd0(_0xe46cba){const _0x3468f7=_0xe46cba['length'];let _0x48fa92=0x0;for(;_0x48fa92<_0x3468f7;)if((_0xe46cba[_0x48fa92]&0x80)===0x0)_0x48fa92++;else{if((_0xe46cba[_0x48fa92]&0xe0)===0xc0){if(_0x48fa92+0x1===_0x3468f7||(_0xe46cba[_0x48fa92+0x1]&0xc0)!==0x80||(_0xe46cba[_0x48fa92]&0xfe)===0xc0)return!0x1;_0x48fa92+=0x2;}else{if((_0xe46cba[_0x48fa92]&0xf0)===0xe0){if(_0x48fa92+0x2>=_0x3468f7||(_0xe46cba[_0x48fa92+0x1]&0xc0)!==0x80||(_0xe46cba[_0x48fa92+0x2]&0xc0)!==0x80||_0xe46cba[_0x48fa92]===0xe0&&(_0xe46cba[_0x48fa92+0x1]&0xe0)===0x80||_0xe46cba[_0x48fa92]===0xed&&(_0xe46cba[_0x48fa92+0x1]&0xe0)===0xa0)return!0x1;_0x48fa92+=0x3;}else{if((_0xe46cba[_0x48fa92]&0xf8)===0xf0){if(_0x48fa92+0x3>=_0x3468f7||(_0xe46cba[_0x48fa92+0x1]&0xc0)!==0x80||(_0xe46cba[_0x48fa92+0x2]&0xc0)!==0x80||(_0xe46cba[_0x48fa92+0x3]&0xc0)!==0x80||_0xe46cba[_0x48fa92]===0xf0&&(_0xe46cba[_0x48fa92+0x1]&0xf0)===0x80||_0xe46cba[_0x48fa92]===0xf4&&_0xe46cba[_0x48fa92+0x1]>0x8f||_0xe46cba[_0x48fa92]>0xf4)return!0x1;_0x48fa92+=0x4;}else return!0x1;}}}return!0x0;}function _0x38896c(_0x36a386){const _0x129778=_0x2dd8b8;return _0x5ae855&&typeof _0x36a386==_0x129778(0x1a2)&&typeof _0x36a386[_0x129778(0x1fe)]==_0x129778(0x20f)&&typeof _0x36a386['type']=='string'&&typeof _0x36a386[_0x129778(0x250)]==_0x129778(0x20f)&&(_0x36a386[Symbol[_0x129778(0x22e)]]===_0x129778(0x2e2)||_0x36a386[Symbol[_0x129778(0x22e)]]==='File');}if(re[_0x2dd8b8(0x258)]={'isBlob':_0x38896c,'isValidStatusCode':_0x521dce,'isValidUTF8':_0xceffd0,'tokenChars':_0x13a2ea},_0x1e7872)re[_0x2dd8b8(0x258)]['isValidUTF8']=function(_0x50fbad){return _0x50fbad['length']<0x18?_0xceffd0(_0x50fbad):_0x1e7872(_0x50fbad);};else{if(!process[_0x2dd8b8(0x18e)][_0x2dd8b8(0x318)])try{const _0x2e007d=Yt;re['exports'][_0x2dd8b8(0x241)]=function(_0x186d8b){return _0x186d8b['length']<0x20?_0xceffd0(_0x186d8b):_0x2e007d(_0x186d8b);};}catch{}}return re[_0x2dd8b8(0x258)];}var Se,Je;function dt(){const _0x100a02=_0x14a122;if(Je)return Se;Je=0x1;const {Writable:_0x3e7a95}=_0x408a08,_0x38a3e1=he(),{BINARY_TYPES:_0x2b3e2d,EMPTY_BUFFER:_0x185285,kStatusCode:_0x403540,kWebSocket:_0x2aca2d}=V(),{concat:_0x26095e,toArrayBuffer:_0x4437e1,unmask:_0x278b01}=ce(),{isValidStatusCode:_0xddf838,isValidUTF8:_0x415119}=ne(),_0x334605=Buffer[Symbol[_0x100a02(0x2e1)]],_0x1a85a4=0x0,_0xf4df81=0x1,_0x1531a0=0x2,_0x37bc21=0x3,_0x398c58=0x4,_0x26d17d=0x5,_0x203305=0x6;class _0x6d092b extends _0x3e7a95{constructor(_0x185974={}){const _0xf782c1=_0x100a02;super(),this[_0xf782c1(0x267)]=_0x185974['allowSynchronousEvents']!==void 0x0?_0x185974[_0xf782c1(0x1ce)]:!0x0,this[_0xf782c1(0x30e)]=_0x185974[_0xf782c1(0x225)]||_0x2b3e2d[0x0],this['_extensions']=_0x185974['extensions']||{},this['_isServer']=!!_0x185974['isServer'],this['_maxPayload']=_0x185974[_0xf782c1(0x20b)]|0x0,this['_skipUTF8Validation']=!!_0x185974[_0xf782c1(0x2ca)],this[_0x2aca2d]=void 0x0,this[_0xf782c1(0x24c)]=0x0,this[_0xf782c1(0x227)]=[],this[_0xf782c1(0x2df)]=!0x1,this[_0xf782c1(0x243)]=0x0,this['_mask']=void 0x0,this[_0xf782c1(0x19e)]=0x0,this[_0xf782c1(0x30d)]=!0x1,this[_0xf782c1(0x1e8)]=!0x1,this[_0xf782c1(0x18c)]=0x0,this[_0xf782c1(0x229)]=0x0,this['_messageLength']=0x0,this[_0xf782c1(0x307)]=[],this['_errored']=!0x1,this[_0xf782c1(0x19f)]=!0x1,this[_0xf782c1(0x2c7)]=_0x1a85a4;}['_write'](_0x3e7135,_0x2cc9d7,_0x3ef6ba){const _0x4c359b=_0x100a02;if(this[_0x4c359b(0x18c)]===0x8&&this['_state']==_0x1a85a4)return _0x3ef6ba();this[_0x4c359b(0x24c)]+=_0x3e7135[_0x4c359b(0x1e6)],this['_buffers'][_0x4c359b(0x2aa)](_0x3e7135),this['startLoop'](_0x3ef6ba);}[_0x100a02(0x1c3)](_0x5b9927){const _0x1f8694=_0x100a02;if(this['_bufferedBytes']-=_0x5b9927,_0x5b9927===this['_buffers'][0x0][_0x1f8694(0x1e6)])return this[_0x1f8694(0x227)][_0x1f8694(0x235)]();if(_0x5b9927<this[_0x1f8694(0x227)][0x0][_0x1f8694(0x1e6)]){const _0x58d0d3=this[_0x1f8694(0x227)][0x0];return this[_0x1f8694(0x227)][0x0]=new _0x334605(_0x58d0d3['buffer'],_0x58d0d3['byteOffset']+_0x5b9927,_0x58d0d3[_0x1f8694(0x1e6)]-_0x5b9927),new _0x334605(_0x58d0d3['buffer'],_0x58d0d3['byteOffset'],_0x5b9927);}const _0x5f451f=Buffer[_0x1f8694(0x19a)](_0x5b9927);do{const _0x37442b=this[_0x1f8694(0x227)][0x0],_0x359a84=_0x5f451f['length']-_0x5b9927;_0x5b9927>=_0x37442b[_0x1f8694(0x1e6)]?_0x5f451f[_0x1f8694(0x319)](this[_0x1f8694(0x227)][_0x1f8694(0x235)](),_0x359a84):(_0x5f451f[_0x1f8694(0x319)](new Uint8Array(_0x37442b[_0x1f8694(0x29e)],_0x37442b[_0x1f8694(0x19d)],_0x5b9927),_0x359a84),this[_0x1f8694(0x227)][0x0]=new _0x334605(_0x37442b[_0x1f8694(0x29e)],_0x37442b['byteOffset']+_0x5b9927,_0x37442b['length']-_0x5b9927)),_0x5b9927-=_0x37442b[_0x1f8694(0x1e6)];}while(_0x5b9927>0x0);return _0x5f451f;}['startLoop'](_0x4cd473){const _0x2584bd=_0x100a02;this['_loop']=!0x0;do switch(this['_state']){case _0x1a85a4:this[_0x2584bd(0x30a)](_0x4cd473);break;case _0xf4df81:this[_0x2584bd(0x26c)](_0x4cd473);break;case _0x1531a0:this[_0x2584bd(0x185)](_0x4cd473);break;case _0x37bc21:this[_0x2584bd(0x2f1)]();break;case _0x398c58:this['getData'](_0x4cd473);break;case _0x26d17d:case _0x203305:this['_loop']=!0x1;return;}while(this[_0x2584bd(0x19f)]);this['_errored']||_0x4cd473();}['getInfo'](_0x267f3a){const _0x4bdce2=_0x100a02;if(this[_0x4bdce2(0x24c)]<0x2){this[_0x4bdce2(0x19f)]=!0x1;return;}const _0x1111ed=this[_0x4bdce2(0x1c3)](0x2);if((_0x1111ed[0x0]&0x30)!==0x0){const _0x5d2392=this[_0x4bdce2(0x1ee)](RangeError,_0x4bdce2(0x2bd),!0x0,0x3ea,_0x4bdce2(0x311));_0x267f3a(_0x5d2392);return;}const _0x433edc=(_0x1111ed[0x0]&0x40)===0x40;if(_0x433edc&&!this[_0x4bdce2(0x2d4)][_0x38a3e1[_0x4bdce2(0x2cc)]]){const _0x1a8aa1=this['createError'](RangeError,_0x4bdce2(0x21f),!0x0,0x3ea,_0x4bdce2(0x27a));_0x267f3a(_0x1a8aa1);return;}if(this['_fin']=(_0x1111ed[0x0]&0x80)===0x80,this['_opcode']=_0x1111ed[0x0]&0xf,this['_payloadLength']=_0x1111ed[0x1]&0x7f,this[_0x4bdce2(0x18c)]===0x0){if(_0x433edc){const _0x1f30a4=this[_0x4bdce2(0x1ee)](RangeError,_0x4bdce2(0x21f),!0x0,0x3ea,_0x4bdce2(0x27a));_0x267f3a(_0x1f30a4);return;}if(!this['_fragmented']){const _0xda66fd=this['createError'](RangeError,_0x4bdce2(0x2d3),!0x0,0x3ea,_0x4bdce2(0x310));_0x267f3a(_0xda66fd);return;}this[_0x4bdce2(0x18c)]=this[_0x4bdce2(0x19e)];}else{if(this[_0x4bdce2(0x18c)]===0x1||this[_0x4bdce2(0x18c)]===0x2){if(this[_0x4bdce2(0x19e)]){const _0x42aaca=this['createError'](RangeError,_0x4bdce2(0x1e4)+this[_0x4bdce2(0x18c)],!0x0,0x3ea,_0x4bdce2(0x310));_0x267f3a(_0x42aaca);return;}this['_compressed']=_0x433edc;}else{if(this[_0x4bdce2(0x18c)]>0x7&&this[_0x4bdce2(0x18c)]<0xb){if(!this[_0x4bdce2(0x1e8)]){const _0x23e0db=this[_0x4bdce2(0x1ee)](RangeError,_0x4bdce2(0x301),!0x0,0x3ea,_0x4bdce2(0x1e7));_0x267f3a(_0x23e0db);return;}if(_0x433edc){const _0x3cd954=this[_0x4bdce2(0x1ee)](RangeError,_0x4bdce2(0x21f),!0x0,0x3ea,_0x4bdce2(0x27a));_0x267f3a(_0x3cd954);return;}if(this['_payloadLength']>0x7d||this['_opcode']===0x8&&this[_0x4bdce2(0x243)]===0x1){const _0x179b1a=this[_0x4bdce2(0x1ee)](RangeError,_0x4bdce2(0x1ba)+this[_0x4bdce2(0x243)],!0x0,0x3ea,_0x4bdce2(0x268));_0x267f3a(_0x179b1a);return;}}else{const _0x5b858a=this['createError'](RangeError,_0x4bdce2(0x1e4)+this[_0x4bdce2(0x18c)],!0x0,0x3ea,_0x4bdce2(0x310));_0x267f3a(_0x5b858a);return;}}}if(!this['_fin']&&!this[_0x4bdce2(0x19e)]&&(this[_0x4bdce2(0x19e)]=this['_opcode']),this[_0x4bdce2(0x30d)]=(_0x1111ed[0x1]&0x80)===0x80,this[_0x4bdce2(0x23d)]){if(!this[_0x4bdce2(0x30d)]){const _0x455c5c=this[_0x4bdce2(0x1ee)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x267f3a(_0x455c5c);return;}}else{if(this[_0x4bdce2(0x30d)]){const _0x3b726c=this['createError'](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x4bdce2(0x23a));_0x267f3a(_0x3b726c);return;}}this[_0x4bdce2(0x243)]===0x7e?this[_0x4bdce2(0x2c7)]=_0xf4df81:this[_0x4bdce2(0x243)]===0x7f?this[_0x4bdce2(0x2c7)]=_0x1531a0:this[_0x4bdce2(0x2eb)](_0x267f3a);}[_0x100a02(0x26c)](_0x36da9f){const _0x43d2b5=_0x100a02;if(this[_0x43d2b5(0x24c)]<0x2){this['_loop']=!0x1;return;}this[_0x43d2b5(0x243)]=this[_0x43d2b5(0x1c3)](0x2)[_0x43d2b5(0x201)](0x0),this[_0x43d2b5(0x2eb)](_0x36da9f);}[_0x100a02(0x185)](_0x4103b7){const _0x4b442b=_0x100a02;if(this[_0x4b442b(0x24c)]<0x8){this[_0x4b442b(0x19f)]=!0x1;return;}const _0x47b0e0=this['consume'](0x8),_0x5076a6=_0x47b0e0[_0x4b442b(0x288)](0x0);if(_0x5076a6>Math[_0x4b442b(0x196)](0x2,0x15)-0x1){const _0x28d66b=this[_0x4b442b(0x1ee)](RangeError,_0x4b442b(0x17a),!0x1,0x3f1,_0x4b442b(0x271));_0x4103b7(_0x28d66b);return;}this[_0x4b442b(0x243)]=_0x5076a6*Math[_0x4b442b(0x196)](0x2,0x20)+_0x47b0e0[_0x4b442b(0x288)](0x4),this[_0x4b442b(0x2eb)](_0x4103b7);}['haveLength'](_0x5f2b2e){const _0x50a879=_0x100a02;if(this[_0x50a879(0x243)]&&this[_0x50a879(0x18c)]<0x8&&(this[_0x50a879(0x229)]+=this[_0x50a879(0x243)],this[_0x50a879(0x229)]>this[_0x50a879(0x206)]&&this[_0x50a879(0x206)]>0x0)){const _0x4cd4ff=this[_0x50a879(0x1ee)](RangeError,_0x50a879(0x24d),!0x1,0x3f1,_0x50a879(0x2dd));_0x5f2b2e(_0x4cd4ff);return;}this['_masked']?this[_0x50a879(0x2c7)]=_0x37bc21:this[_0x50a879(0x2c7)]=_0x398c58;}['getMask'](){const _0xf2ca7b=_0x100a02;if(this[_0xf2ca7b(0x24c)]<0x4){this[_0xf2ca7b(0x19f)]=!0x1;return;}this[_0xf2ca7b(0x1df)]=this[_0xf2ca7b(0x1c3)](0x4),this[_0xf2ca7b(0x2c7)]=_0x398c58;}['getData'](_0x223507){const _0x11decc=_0x100a02;let _0x4368b8=_0x185285;if(this[_0x11decc(0x243)]){if(this['_bufferedBytes']<this[_0x11decc(0x243)]){this[_0x11decc(0x19f)]=!0x1;return;}_0x4368b8=this['consume'](this[_0x11decc(0x243)]),this['_masked']&&(this[_0x11decc(0x1df)][0x0]|this[_0x11decc(0x1df)][0x1]|this['_mask'][0x2]|this[_0x11decc(0x1df)][0x3])!==0x0&&_0x278b01(_0x4368b8,this[_0x11decc(0x1df)]);}if(this['_opcode']>0x7){this[_0x11decc(0x2ab)](_0x4368b8,_0x223507);return;}if(this[_0x11decc(0x2df)]){this['_state']=_0x26d17d,this[_0x11decc(0x2d9)](_0x4368b8,_0x223507);return;}_0x4368b8[_0x11decc(0x1e6)]&&(this[_0x11decc(0x24f)]=this[_0x11decc(0x229)],this[_0x11decc(0x307)][_0x11decc(0x2aa)](_0x4368b8)),this[_0x11decc(0x257)](_0x223507);}[_0x100a02(0x2d9)](_0x6aa3f5,_0x1d4809){const _0x197b04=_0x100a02;this[_0x197b04(0x2d4)][_0x38a3e1[_0x197b04(0x2cc)]][_0x197b04(0x2d9)](_0x6aa3f5,this[_0x197b04(0x1e8)],(_0x137849,_0x25f165)=>{const _0x3238d1=_0x197b04;if(_0x137849)return _0x1d4809(_0x137849);if(_0x25f165['length']){if(this[_0x3238d1(0x24f)]+=_0x25f165['length'],this[_0x3238d1(0x24f)]>this['_maxPayload']&&this[_0x3238d1(0x206)]>0x0){const _0x5c9803=this[_0x3238d1(0x1ee)](RangeError,_0x3238d1(0x24d),!0x1,0x3f1,_0x3238d1(0x2dd));_0x1d4809(_0x5c9803);return;}this[_0x3238d1(0x307)]['push'](_0x25f165);}this[_0x3238d1(0x257)](_0x1d4809),this[_0x3238d1(0x2c7)]===_0x1a85a4&&this[_0x3238d1(0x27b)](_0x1d4809);});}['dataMessage'](_0x498fe2){const _0x5d8090=_0x100a02;if(!this[_0x5d8090(0x1e8)]){this[_0x5d8090(0x2c7)]=_0x1a85a4;return;}const _0x25b0dc=this[_0x5d8090(0x24f)],_0x59b84a=this['_fragments'];if(this[_0x5d8090(0x229)]=0x0,this[_0x5d8090(0x24f)]=0x0,this[_0x5d8090(0x19e)]=0x0,this[_0x5d8090(0x307)]=[],this[_0x5d8090(0x18c)]===0x2){let _0x278c70;this[_0x5d8090(0x30e)]==='nodebuffer'?_0x278c70=_0x26095e(_0x59b84a,_0x25b0dc):this[_0x5d8090(0x30e)]===_0x5d8090(0x27e)?_0x278c70=_0x4437e1(_0x26095e(_0x59b84a,_0x25b0dc)):this[_0x5d8090(0x30e)]===_0x5d8090(0x1cd)?_0x278c70=new Blob(_0x59b84a):_0x278c70=_0x59b84a,this[_0x5d8090(0x267)]?(this[_0x5d8090(0x294)]('message',_0x278c70,!0x0),this[_0x5d8090(0x2c7)]=_0x1a85a4):(this[_0x5d8090(0x2c7)]=_0x203305,setImmediate(()=>{const _0x125cc1=_0x5d8090;this[_0x125cc1(0x294)](_0x125cc1(0x1a6),_0x278c70,!0x0),this['_state']=_0x1a85a4,this['startLoop'](_0x498fe2);}));}else{const _0x47b1d4=_0x26095e(_0x59b84a,_0x25b0dc);if(!this['_skipUTF8Validation']&&!_0x415119(_0x47b1d4)){const _0x40a08d=this[_0x5d8090(0x1ee)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x498fe2(_0x40a08d);return;}this[_0x5d8090(0x2c7)]===_0x26d17d||this['_allowSynchronousEvents']?(this[_0x5d8090(0x294)](_0x5d8090(0x1a6),_0x47b1d4,!0x1),this['_state']=_0x1a85a4):(this[_0x5d8090(0x2c7)]=_0x203305,setImmediate(()=>{const _0x353baf=_0x5d8090;this[_0x353baf(0x294)](_0x353baf(0x1a6),_0x47b1d4,!0x1),this[_0x353baf(0x2c7)]=_0x1a85a4,this[_0x353baf(0x27b)](_0x498fe2);}));}}[_0x100a02(0x2ab)](_0x5c1f5a,_0x47ae46){const _0x457ab8=_0x100a02;if(this['_opcode']===0x8){if(_0x5c1f5a['length']===0x0)this['_loop']=!0x1,this['emit']('conclude',0x3ed,_0x185285),this[_0x457ab8(0x1ad)]();else{const _0x5d5a62=_0x5c1f5a['readUInt16BE'](0x0);if(!_0xddf838(_0x5d5a62)){const _0x16ffb2=this[_0x457ab8(0x1ee)](RangeError,_0x457ab8(0x188)+_0x5d5a62,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x47ae46(_0x16ffb2);return;}const _0x30fe4f=new _0x334605(_0x5c1f5a[_0x457ab8(0x29e)],_0x5c1f5a['byteOffset']+0x2,_0x5c1f5a['length']-0x2);if(!this[_0x457ab8(0x1a9)]&&!_0x415119(_0x30fe4f)){const _0x4cb51f=this[_0x457ab8(0x1ee)](Error,_0x457ab8(0x2c3),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x47ae46(_0x4cb51f);return;}this[_0x457ab8(0x19f)]=!0x1,this[_0x457ab8(0x294)]('conclude',_0x5d5a62,_0x30fe4f),this[_0x457ab8(0x1ad)]();}this[_0x457ab8(0x2c7)]=_0x1a85a4;return;}this[_0x457ab8(0x267)]?(this[_0x457ab8(0x294)](this[_0x457ab8(0x18c)]===0x9?_0x457ab8(0x1f3):_0x457ab8(0x1d9),_0x5c1f5a),this['_state']=_0x1a85a4):(this['_state']=_0x203305,setImmediate(()=>{const _0x2b999f=_0x457ab8;this[_0x2b999f(0x294)](this[_0x2b999f(0x18c)]===0x9?_0x2b999f(0x1f3):'pong',_0x5c1f5a),this[_0x2b999f(0x2c7)]=_0x1a85a4,this[_0x2b999f(0x27b)](_0x47ae46);}));}[_0x100a02(0x1ee)](_0x468bf7,_0x59e58f,_0x476b98,_0x527d0f,_0x23ac7d){const _0x40c53e=_0x100a02;this[_0x40c53e(0x19f)]=!0x1,this[_0x40c53e(0x29f)]=!0x0;const _0x2085dd=new _0x468bf7(_0x476b98?_0x40c53e(0x1ef)+_0x59e58f:_0x59e58f);return Error[_0x40c53e(0x273)](_0x2085dd,this['createError']),_0x2085dd[_0x40c53e(0x2fc)]=_0x23ac7d,_0x2085dd[_0x403540]=_0x527d0f,_0x2085dd;}}return Se=_0x6d092b,Se;}var Ee,et;function _t(){const _0xa5c0a2=_0x14a122;if(et)return Ee;et=0x1;const {Duplex:_0x30a62e}=_0x408a08,{randomFillSync:_0x43bb37}=_0x34ccca,_0x43d7e4=he(),{EMPTY_BUFFER:_0x56d385,kWebSocket:_0x21cfb7,NOOP:_0xba1990}=V(),{isBlob:_0x2d52fd,isValidStatusCode:_0x54e3d3}=ne(),{mask:_0x256ee6,toBuffer:_0x2c4df7}=ce(),_0x5c4b06=Symbol(_0xa5c0a2(0x1c6)),_0x33b89c=Buffer[_0xa5c0a2(0x1a7)](0x4),_0x52ad96=0x8*0x400;let _0x31118a,_0x404aad=_0x52ad96;const _0x16b350=0x0,_0x3bfd1a=0x1,_0x3626fe=0x2;class _0x3b3770{constructor(_0x583399,_0x26cf7b,_0x376591){const _0x32b0c1=_0xa5c0a2;this[_0x32b0c1(0x2d4)]=_0x26cf7b||{},_0x376591&&(this[_0x32b0c1(0x1fa)]=_0x376591,this[_0x32b0c1(0x277)]=Buffer[_0x32b0c1(0x1a7)](0x4)),this[_0x32b0c1(0x2ed)]=_0x583399,this[_0x32b0c1(0x18d)]=!0x0,this[_0x32b0c1(0x174)]=!0x1,this[_0x32b0c1(0x24c)]=0x0,this[_0x32b0c1(0x247)]=[],this[_0x32b0c1(0x2c7)]=_0x16b350,this[_0x32b0c1(0x26d)]=_0xba1990,this[_0x21cfb7]=void 0x0;}static[_0xa5c0a2(0x187)](_0x1975ef,_0x5687c9){const _0x103111=_0xa5c0a2;let _0x57ff00,_0x50dd51=!0x1,_0x294380=0x2,_0x46f92f=!0x1;_0x5687c9[_0x103111(0x320)]&&(_0x57ff00=_0x5687c9[_0x103111(0x1bc)]||_0x33b89c,_0x5687c9[_0x103111(0x1e2)]?_0x5687c9[_0x103111(0x1e2)](_0x57ff00):(_0x404aad===_0x52ad96&&(_0x31118a===void 0x0&&(_0x31118a=Buffer[_0x103111(0x1a7)](_0x52ad96)),_0x43bb37(_0x31118a,0x0,_0x52ad96),_0x404aad=0x0),_0x57ff00[0x0]=_0x31118a[_0x404aad++],_0x57ff00[0x1]=_0x31118a[_0x404aad++],_0x57ff00[0x2]=_0x31118a[_0x404aad++],_0x57ff00[0x3]=_0x31118a[_0x404aad++]),_0x46f92f=(_0x57ff00[0x0]|_0x57ff00[0x1]|_0x57ff00[0x2]|_0x57ff00[0x3])===0x0,_0x294380=0x6);let _0x3a9e91;typeof _0x1975ef==_0x103111(0x1d5)?(!_0x5687c9['mask']||_0x46f92f)&&_0x5687c9[_0x5c4b06]!==void 0x0?_0x3a9e91=_0x5687c9[_0x5c4b06]:(_0x1975ef=Buffer[_0x103111(0x190)](_0x1975ef),_0x3a9e91=_0x1975ef[_0x103111(0x1e6)]):(_0x3a9e91=_0x1975ef[_0x103111(0x1e6)],_0x50dd51=_0x5687c9[_0x103111(0x320)]&&_0x5687c9[_0x103111(0x278)]&&!_0x46f92f);let _0x414e37=_0x3a9e91;_0x3a9e91>=0x10000?(_0x294380+=0x8,_0x414e37=0x7f):_0x3a9e91>0x7d&&(_0x294380+=0x2,_0x414e37=0x7e);const _0x524fb0=Buffer[_0x103111(0x19a)](_0x50dd51?_0x3a9e91+_0x294380:_0x294380);return _0x524fb0[0x0]=_0x5687c9[_0x103111(0x1aa)]?_0x5687c9[_0x103111(0x255)]|0x80:_0x5687c9['opcode'],_0x5687c9[_0x103111(0x270)]&&(_0x524fb0[0x0]|=0x40),_0x524fb0[0x1]=_0x414e37,_0x414e37===0x7e?_0x524fb0[_0x103111(0x21e)](_0x3a9e91,0x2):_0x414e37===0x7f&&(_0x524fb0[0x2]=_0x524fb0[0x3]=0x0,_0x524fb0['writeUIntBE'](_0x3a9e91,0x4,0x6)),_0x5687c9['mask']?(_0x524fb0[0x1]|=0x80,_0x524fb0[_0x294380-0x4]=_0x57ff00[0x0],_0x524fb0[_0x294380-0x3]=_0x57ff00[0x1],_0x524fb0[_0x294380-0x2]=_0x57ff00[0x2],_0x524fb0[_0x294380-0x1]=_0x57ff00[0x3],_0x46f92f?[_0x524fb0,_0x1975ef]:_0x50dd51?(_0x256ee6(_0x1975ef,_0x57ff00,_0x524fb0,_0x294380,_0x3a9e91),[_0x524fb0]):(_0x256ee6(_0x1975ef,_0x57ff00,_0x1975ef,0x0,_0x3a9e91),[_0x524fb0,_0x1975ef])):[_0x524fb0,_0x1975ef];}['close'](_0x3aa9d0,_0x30b5da,_0xf8c1ce,_0x53744d){const _0x5f43a5=_0xa5c0a2;let _0x546cfb;if(_0x3aa9d0===void 0x0)_0x546cfb=_0x56d385;else{if(typeof _0x3aa9d0!=_0x5f43a5(0x181)||!_0x54e3d3(_0x3aa9d0))throw new TypeError(_0x5f43a5(0x269));if(_0x30b5da===void 0x0||!_0x30b5da['length'])_0x546cfb=Buffer[_0x5f43a5(0x19a)](0x2),_0x546cfb[_0x5f43a5(0x21e)](_0x3aa9d0,0x0);else{const _0x63b360=Buffer[_0x5f43a5(0x1de)](_0x30b5da);if(_0x63b360>0x7b)throw new RangeError(_0x5f43a5(0x29a));_0x546cfb=Buffer[_0x5f43a5(0x19a)](0x2+_0x63b360),_0x546cfb['writeUInt16BE'](_0x3aa9d0,0x0),typeof _0x30b5da==_0x5f43a5(0x1d5)?_0x546cfb[_0x5f43a5(0x1eb)](_0x30b5da,0x2):_0x546cfb['set'](_0x30b5da,0x2);}}const _0x265cc1={[_0x5c4b06]:_0x546cfb[_0x5f43a5(0x1e6)],'fin':!0x0,'generateMask':this[_0x5f43a5(0x1fa)],'mask':_0xf8c1ce,'maskBuffer':this[_0x5f43a5(0x277)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x5f43a5(0x2c7)]!==_0x16b350?this[_0x5f43a5(0x279)]([this[_0x5f43a5(0x31f)],_0x546cfb,!0x1,_0x265cc1,_0x53744d]):this[_0x5f43a5(0x217)](_0x3b3770[_0x5f43a5(0x187)](_0x546cfb,_0x265cc1),_0x53744d);}[_0xa5c0a2(0x1f3)](_0x108d3e,_0x555e5f,_0x5d3a8d){const _0x44ea9a=_0xa5c0a2;let _0x2eba78,_0x20aa1;if(typeof _0x108d3e==_0x44ea9a(0x1d5)?(_0x2eba78=Buffer['byteLength'](_0x108d3e),_0x20aa1=!0x1):_0x2d52fd(_0x108d3e)?(_0x2eba78=_0x108d3e['size'],_0x20aa1=!0x1):(_0x108d3e=_0x2c4df7(_0x108d3e),_0x2eba78=_0x108d3e[_0x44ea9a(0x1e6)],_0x20aa1=_0x2c4df7[_0x44ea9a(0x278)]),_0x2eba78>0x7d)throw new RangeError(_0x44ea9a(0x2ce));const _0x6f6e87={[_0x5c4b06]:_0x2eba78,'fin':!0x0,'generateMask':this[_0x44ea9a(0x1fa)],'mask':_0x555e5f,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x20aa1,'rsv1':!0x1};_0x2d52fd(_0x108d3e)?this[_0x44ea9a(0x2c7)]!==_0x16b350?this['enqueue']([this[_0x44ea9a(0x17c)],_0x108d3e,!0x1,_0x6f6e87,_0x5d3a8d]):this[_0x44ea9a(0x17c)](_0x108d3e,!0x1,_0x6f6e87,_0x5d3a8d):this[_0x44ea9a(0x2c7)]!==_0x16b350?this[_0x44ea9a(0x279)]([this[_0x44ea9a(0x31f)],_0x108d3e,!0x1,_0x6f6e87,_0x5d3a8d]):this['sendFrame'](_0x3b3770['frame'](_0x108d3e,_0x6f6e87),_0x5d3a8d);}[_0xa5c0a2(0x1d9)](_0x1590e1,_0x206c6f,_0x1a054c){const _0x5f0d81=_0xa5c0a2;let _0xd16db6,_0x23d86c;if(typeof _0x1590e1==_0x5f0d81(0x1d5)?(_0xd16db6=Buffer['byteLength'](_0x1590e1),_0x23d86c=!0x1):_0x2d52fd(_0x1590e1)?(_0xd16db6=_0x1590e1[_0x5f0d81(0x1e3)],_0x23d86c=!0x1):(_0x1590e1=_0x2c4df7(_0x1590e1),_0xd16db6=_0x1590e1['length'],_0x23d86c=_0x2c4df7[_0x5f0d81(0x278)]),_0xd16db6>0x7d)throw new RangeError(_0x5f0d81(0x2ce));const _0x15d9ce={[_0x5c4b06]:_0xd16db6,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x206c6f,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x23d86c,'rsv1':!0x1};_0x2d52fd(_0x1590e1)?this[_0x5f0d81(0x2c7)]!==_0x16b350?this[_0x5f0d81(0x279)]([this[_0x5f0d81(0x17c)],_0x1590e1,!0x1,_0x15d9ce,_0x1a054c]):this['getBlobData'](_0x1590e1,!0x1,_0x15d9ce,_0x1a054c):this[_0x5f0d81(0x2c7)]!==_0x16b350?this['enqueue']([this[_0x5f0d81(0x31f)],_0x1590e1,!0x1,_0x15d9ce,_0x1a054c]):this[_0x5f0d81(0x217)](_0x3b3770['frame'](_0x1590e1,_0x15d9ce),_0x1a054c);}[_0xa5c0a2(0x2d6)](_0x1f06f7,_0x548e94,_0x41bdc6){const _0x8dc2e=_0xa5c0a2,_0x3b36b1=this[_0x8dc2e(0x2d4)][_0x43d7e4['extensionName']];let _0x2dee5c=_0x548e94[_0x8dc2e(0x261)]?0x2:0x1,_0x29590a=_0x548e94[_0x8dc2e(0x1c7)],_0x46aaf5,_0x14dc78;typeof _0x1f06f7==_0x8dc2e(0x1d5)?(_0x46aaf5=Buffer[_0x8dc2e(0x1de)](_0x1f06f7),_0x14dc78=!0x1):_0x2d52fd(_0x1f06f7)?(_0x46aaf5=_0x1f06f7[_0x8dc2e(0x1e3)],_0x14dc78=!0x1):(_0x1f06f7=_0x2c4df7(_0x1f06f7),_0x46aaf5=_0x1f06f7[_0x8dc2e(0x1e6)],_0x14dc78=_0x2c4df7[_0x8dc2e(0x278)]),this[_0x8dc2e(0x18d)]?(this[_0x8dc2e(0x18d)]=!0x1,_0x29590a&&_0x3b36b1&&_0x3b36b1[_0x8dc2e(0x184)][_0x3b36b1[_0x8dc2e(0x23d)]?_0x8dc2e(0x1dd):'client_no_context_takeover']&&(_0x29590a=_0x46aaf5>=_0x3b36b1[_0x8dc2e(0x1dc)]),this[_0x8dc2e(0x174)]=_0x29590a):(_0x29590a=!0x1,_0x2dee5c=0x0),_0x548e94[_0x8dc2e(0x1aa)]&&(this['_firstFragment']=!0x0);const _0x1c48ab={[_0x5c4b06]:_0x46aaf5,'fin':_0x548e94[_0x8dc2e(0x1aa)],'generateMask':this['_generateMask'],'mask':_0x548e94[_0x8dc2e(0x320)],'maskBuffer':this[_0x8dc2e(0x277)],'opcode':_0x2dee5c,'readOnly':_0x14dc78,'rsv1':_0x29590a};_0x2d52fd(_0x1f06f7)?this[_0x8dc2e(0x2c7)]!==_0x16b350?this[_0x8dc2e(0x279)]([this[_0x8dc2e(0x17c)],_0x1f06f7,this[_0x8dc2e(0x174)],_0x1c48ab,_0x41bdc6]):this[_0x8dc2e(0x17c)](_0x1f06f7,this[_0x8dc2e(0x174)],_0x1c48ab,_0x41bdc6):this[_0x8dc2e(0x2c7)]!==_0x16b350?this[_0x8dc2e(0x279)]([this[_0x8dc2e(0x31f)],_0x1f06f7,this[_0x8dc2e(0x174)],_0x1c48ab,_0x41bdc6]):this[_0x8dc2e(0x31f)](_0x1f06f7,this[_0x8dc2e(0x174)],_0x1c48ab,_0x41bdc6);}[_0xa5c0a2(0x17c)](_0x41febc,_0x5c2b3c,_0x17ffe2,_0x38b288){const _0x20fbf9=_0xa5c0a2;this[_0x20fbf9(0x24c)]+=_0x17ffe2[_0x5c4b06],this['_state']=_0x3626fe,_0x41febc[_0x20fbf9(0x1fe)]()[_0x20fbf9(0x275)](_0x4706a9=>{const _0x59de1d=_0x20fbf9;if(this[_0x59de1d(0x2ed)][_0x59de1d(0x2f5)]){const _0x5ac938=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process['nextTick'](_0x59afa8,this,_0x5ac938,_0x38b288);return;}this[_0x59de1d(0x24c)]-=_0x17ffe2[_0x5c4b06];const _0x20b73f=_0x2c4df7(_0x4706a9);_0x5c2b3c?this[_0x59de1d(0x31f)](_0x20b73f,_0x5c2b3c,_0x17ffe2,_0x38b288):(this[_0x59de1d(0x2c7)]=_0x16b350,this[_0x59de1d(0x217)](_0x3b3770[_0x59de1d(0x187)](_0x20b73f,_0x17ffe2),_0x38b288),this['dequeue']());})['catch'](_0x5a804d=>{const _0x3918da=_0x20fbf9;process[_0x3918da(0x192)](_0x183144,this,_0x5a804d,_0x38b288);});}[_0xa5c0a2(0x31f)](_0x37242d,_0x51212a,_0x250e45,_0xd5563a){const _0x5002f0=_0xa5c0a2;if(!_0x51212a){this['sendFrame'](_0x3b3770[_0x5002f0(0x187)](_0x37242d,_0x250e45),_0xd5563a);return;}const _0x54439b=this['_extensions'][_0x43d7e4[_0x5002f0(0x2cc)]];this[_0x5002f0(0x24c)]+=_0x250e45[_0x5c4b06],this[_0x5002f0(0x2c7)]=_0x3bfd1a,_0x54439b[_0x5002f0(0x1c7)](_0x37242d,_0x250e45[_0x5002f0(0x1aa)],(_0x4637f2,_0x3b21de)=>{const _0x551078=_0x5002f0;if(this[_0x551078(0x2ed)][_0x551078(0x2f5)]){const _0x372b8d=new Error(_0x551078(0x17b));_0x59afa8(this,_0x372b8d,_0xd5563a);return;}this[_0x551078(0x24c)]-=_0x250e45[_0x5c4b06],this['_state']=_0x16b350,_0x250e45['readOnly']=!0x1,this[_0x551078(0x217)](_0x3b3770[_0x551078(0x187)](_0x3b21de,_0x250e45),_0xd5563a),this[_0x551078(0x274)]();});}['dequeue'](){const _0xca431c=_0xa5c0a2;for(;this[_0xca431c(0x2c7)]===_0x16b350&&this[_0xca431c(0x247)][_0xca431c(0x1e6)];){const _0x4a7023=this[_0xca431c(0x247)][_0xca431c(0x235)]();this[_0xca431c(0x24c)]-=_0x4a7023[0x3][_0x5c4b06],Reflect['apply'](_0x4a7023[0x0],this,_0x4a7023['slice'](0x1));}}['enqueue'](_0x23e47b){const _0x41411c=_0xa5c0a2;this[_0x41411c(0x24c)]+=_0x23e47b[0x3][_0x5c4b06],this[_0x41411c(0x247)][_0x41411c(0x2aa)](_0x23e47b);}[_0xa5c0a2(0x217)](_0x21592e,_0x5c4809){const _0x3cfa6e=_0xa5c0a2;_0x21592e['length']===0x2?(this[_0x3cfa6e(0x2ed)]['cork'](),this[_0x3cfa6e(0x2ed)]['write'](_0x21592e[0x0]),this['_socket'][_0x3cfa6e(0x1eb)](_0x21592e[0x1],_0x5c4809),this[_0x3cfa6e(0x2ed)]['uncork']()):this['_socket']['write'](_0x21592e[0x0],_0x5c4809);}}Ee=_0x3b3770;function _0x59afa8(_0x325164,_0x59c505,_0x406a95){const _0x1f986b=_0xa5c0a2;typeof _0x406a95==_0x1f986b(0x20f)&&_0x406a95(_0x59c505);for(let _0x38f011=0x0;_0x38f011<_0x325164[_0x1f986b(0x247)][_0x1f986b(0x1e6)];_0x38f011++){const _0x347a64=_0x325164[_0x1f986b(0x247)][_0x38f011],_0x33d2bf=_0x347a64[_0x347a64['length']-0x1];typeof _0x33d2bf==_0x1f986b(0x20f)&&_0x33d2bf(_0x59c505);}}function _0x183144(_0x4f2606,_0x1f9278,_0x21456d){const _0x2fbea9=_0xa5c0a2;_0x59afa8(_0x4f2606,_0x1f9278,_0x21456d),_0x4f2606[_0x2fbea9(0x26d)](_0x1f9278);}return Ee;}var xe,tt;function Kt(){const _0x43d6ee=_0x14a122;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x4f612a,kListener:_0x1f89f4}=V(),_0x53f871=Symbol(_0x43d6ee(0x176)),_0x38a408=Symbol('kData'),_0xe83cad=Symbol(_0x43d6ee(0x200)),_0x395ad8=Symbol(_0x43d6ee(0x2b3)),_0x25421c=Symbol('kReason'),_0x33e12f=Symbol(_0x43d6ee(0x28a)),_0x5a8e84=Symbol(_0x43d6ee(0x22f)),_0x9a12d7=Symbol(_0x43d6ee(0x186));class _0x1e22c7{constructor(_0x410d54){this[_0x33e12f]=null,this[_0x5a8e84]=_0x410d54;}get[_0x43d6ee(0x1fd)](){return this[_0x33e12f];}get[_0x43d6ee(0x2f9)](){return this[_0x5a8e84];}}Object[_0x43d6ee(0x321)](_0x1e22c7[_0x43d6ee(0x2a6)],_0x43d6ee(0x1fd),{'enumerable':!0x0}),Object[_0x43d6ee(0x321)](_0x1e22c7['prototype'],_0x43d6ee(0x2f9),{'enumerable':!0x0});class _0x38c970 extends _0x1e22c7{constructor(_0x548b5d,_0x2c30de={}){const _0x274369=_0x43d6ee;super(_0x548b5d),this[_0x53f871]=_0x2c30de[_0x274369(0x2fc)]===void 0x0?0x0:_0x2c30de[_0x274369(0x2fc)],this[_0x25421c]=_0x2c30de[_0x274369(0x236)]===void 0x0?'':_0x2c30de[_0x274369(0x236)],this[_0x9a12d7]=_0x2c30de[_0x274369(0x20a)]===void 0x0?!0x1:_0x2c30de[_0x274369(0x20a)];}get['code'](){return this[_0x53f871];}get[_0x43d6ee(0x236)](){return this[_0x25421c];}get[_0x43d6ee(0x20a)](){return this[_0x9a12d7];}}Object[_0x43d6ee(0x321)](_0x38c970[_0x43d6ee(0x2a6)],_0x43d6ee(0x2fc),{'enumerable':!0x0}),Object[_0x43d6ee(0x321)](_0x38c970[_0x43d6ee(0x2a6)],_0x43d6ee(0x236),{'enumerable':!0x0}),Object['defineProperty'](_0x38c970[_0x43d6ee(0x2a6)],_0x43d6ee(0x20a),{'enumerable':!0x0});class _0x4196f0 extends _0x1e22c7{constructor(_0x177738,_0x24089e={}){const _0x1341c5=_0x43d6ee;super(_0x177738),this[_0xe83cad]=_0x24089e[_0x1341c5(0x222)]===void 0x0?null:_0x24089e[_0x1341c5(0x222)],this[_0x395ad8]=_0x24089e[_0x1341c5(0x1a6)]===void 0x0?'':_0x24089e[_0x1341c5(0x1a6)];}get[_0x43d6ee(0x222)](){return this[_0xe83cad];}get[_0x43d6ee(0x1a6)](){return this[_0x395ad8];}}Object[_0x43d6ee(0x321)](_0x4196f0[_0x43d6ee(0x2a6)],_0x43d6ee(0x222),{'enumerable':!0x0}),Object[_0x43d6ee(0x321)](_0x4196f0[_0x43d6ee(0x2a6)],_0x43d6ee(0x1a6),{'enumerable':!0x0});class _0xde8e8a extends _0x1e22c7{constructor(_0x1c68be,_0x13221e={}){const _0x2c4ca3=_0x43d6ee;super(_0x1c68be),this[_0x38a408]=_0x13221e['data']===void 0x0?null:_0x13221e[_0x2c4ca3(0x1e9)];}get[_0x43d6ee(0x1e9)](){return this[_0x38a408];}}Object[_0x43d6ee(0x321)](_0xde8e8a[_0x43d6ee(0x2a6)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x38c970,'ErrorEvent':_0x4196f0,'Event':_0x1e22c7,'EventTarget':{'addEventListener'(_0x350a5d,_0x21fe47,_0x5e5033={}){const _0x1930ab=_0x43d6ee;for(const _0x1e63d7 of this[_0x1930ab(0x1cf)](_0x350a5d))if(!_0x5e5033[_0x4f612a]&&_0x1e63d7[_0x1f89f4]===_0x21fe47&&!_0x1e63d7[_0x4f612a])return;let _0xb9d654;if(_0x350a5d===_0x1930ab(0x1a6))_0xb9d654=function(_0x17a456,_0x24ca76){const _0x177ab6=_0x1930ab,_0x5e3747=new _0xde8e8a(_0x177ab6(0x1a6),{'data':_0x24ca76?_0x17a456:_0x17a456[_0x177ab6(0x287)]()});_0x5e3747[_0x33e12f]=this,_0x42f16c(_0x21fe47,this,_0x5e3747);};else{if(_0x350a5d===_0x1930ab(0x202))_0xb9d654=function(_0x51e8dc,_0x488510){const _0x5e5cb1=_0x1930ab,_0x5d4dd6=new _0x38c970(_0x5e5cb1(0x202),{'code':_0x51e8dc,'reason':_0x488510[_0x5e5cb1(0x287)](),'wasClean':this[_0x5e5cb1(0x2cf)]&&this[_0x5e5cb1(0x314)]});_0x5d4dd6[_0x33e12f]=this,_0x42f16c(_0x21fe47,this,_0x5d4dd6);};else{if(_0x350a5d===_0x1930ab(0x222))_0xb9d654=function(_0x417283){const _0x132682=_0x1930ab,_0x4cd3ca=new _0x4196f0(_0x132682(0x222),{'error':_0x417283,'message':_0x417283[_0x132682(0x1a6)]});_0x4cd3ca[_0x33e12f]=this,_0x42f16c(_0x21fe47,this,_0x4cd3ca);};else{if(_0x350a5d===_0x1930ab(0x2d2))_0xb9d654=function(){const _0x13c39e=_0x1930ab,_0x5b5c5e=new _0x1e22c7(_0x13c39e(0x2d2));_0x5b5c5e[_0x33e12f]=this,_0x42f16c(_0x21fe47,this,_0x5b5c5e);};else return;}}}_0xb9d654[_0x4f612a]=!!_0x5e5033[_0x4f612a],_0xb9d654[_0x1f89f4]=_0x21fe47,_0x5e5033[_0x1930ab(0x230)]?this[_0x1930ab(0x230)](_0x350a5d,_0xb9d654):this['on'](_0x350a5d,_0xb9d654);},'removeEventListener'(_0x577795,_0x1d61f0){const _0x36c71b=_0x43d6ee;for(const _0x4e4d40 of this[_0x36c71b(0x1cf)](_0x577795))if(_0x4e4d40[_0x1f89f4]===_0x1d61f0&&!_0x4e4d40[_0x4f612a]){this[_0x36c71b(0x2e3)](_0x577795,_0x4e4d40);break;}}},'MessageEvent':_0xde8e8a};function _0x42f16c(_0xdc9fe8,_0x41a3e0,_0xdc4ec8){const _0x1cc2c2=_0x43d6ee;typeof _0xdc9fe8==_0x1cc2c2(0x1a2)&&_0xdc9fe8[_0x1cc2c2(0x2af)]?_0xdc9fe8[_0x1cc2c2(0x2af)][_0x1cc2c2(0x2c5)](_0xdc9fe8,_0xdc4ec8):_0xdc9fe8[_0x1cc2c2(0x2c5)](_0x41a3e0,_0xdc4ec8);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x22b43a}=ne();function _0x56bfad(_0x19b394,_0x4bc536,_0xd3aa65){_0x19b394[_0x4bc536]===void 0x0?_0x19b394[_0x4bc536]=[_0xd3aa65]:_0x19b394[_0x4bc536]['push'](_0xd3aa65);}function _0x1b1393(_0x96a7a7){const _0x225919=_0x5604,_0x52d36f=Object[_0x225919(0x1b5)](null);let _0x4ac63e=Object[_0x225919(0x1b5)](null),_0x16c488=!0x1,_0x3ccaf0=!0x1,_0x1964ae=!0x1,_0x1de8f4,_0x438885,_0x30f4c8=-0x1,_0x128f2f=-0x1,_0x460535=-0x1,_0x5f4426=0x0;for(;_0x5f4426<_0x96a7a7['length'];_0x5f4426++)if(_0x128f2f=_0x96a7a7[_0x225919(0x233)](_0x5f4426),_0x1de8f4===void 0x0){if(_0x460535===-0x1&&_0x22b43a[_0x128f2f]===0x1)_0x30f4c8===-0x1&&(_0x30f4c8=_0x5f4426);else{if(_0x5f4426!==0x0&&(_0x128f2f===0x20||_0x128f2f===0x9))_0x460535===-0x1&&_0x30f4c8!==-0x1&&(_0x460535=_0x5f4426);else{if(_0x128f2f===0x3b||_0x128f2f===0x2c){if(_0x30f4c8===-0x1)throw new SyntaxError(_0x225919(0x317)+_0x5f4426);_0x460535===-0x1&&(_0x460535=_0x5f4426);const _0x2f635c=_0x96a7a7[_0x225919(0x193)](_0x30f4c8,_0x460535);_0x128f2f===0x2c?(_0x56bfad(_0x52d36f,_0x2f635c,_0x4ac63e),_0x4ac63e=Object['create'](null)):_0x1de8f4=_0x2f635c,_0x30f4c8=_0x460535=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x5f4426);}}}else{if(_0x438885===void 0x0){if(_0x460535===-0x1&&_0x22b43a[_0x128f2f]===0x1)_0x30f4c8===-0x1&&(_0x30f4c8=_0x5f4426);else{if(_0x128f2f===0x20||_0x128f2f===0x9)_0x460535===-0x1&&_0x30f4c8!==-0x1&&(_0x460535=_0x5f4426);else{if(_0x128f2f===0x3b||_0x128f2f===0x2c){if(_0x30f4c8===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x5f4426);_0x460535===-0x1&&(_0x460535=_0x5f4426),_0x56bfad(_0x4ac63e,_0x96a7a7[_0x225919(0x193)](_0x30f4c8,_0x460535),!0x0),_0x128f2f===0x2c&&(_0x56bfad(_0x52d36f,_0x1de8f4,_0x4ac63e),_0x4ac63e=Object[_0x225919(0x1b5)](null),_0x1de8f4=void 0x0),_0x30f4c8=_0x460535=-0x1;}else{if(_0x128f2f===0x3d&&_0x30f4c8!==-0x1&&_0x460535===-0x1)_0x438885=_0x96a7a7['slice'](_0x30f4c8,_0x5f4426),_0x30f4c8=_0x460535=-0x1;else throw new SyntaxError(_0x225919(0x317)+_0x5f4426);}}}}else{if(_0x3ccaf0){if(_0x22b43a[_0x128f2f]!==0x1)throw new SyntaxError(_0x225919(0x317)+_0x5f4426);_0x30f4c8===-0x1?_0x30f4c8=_0x5f4426:_0x16c488||(_0x16c488=!0x0),_0x3ccaf0=!0x1;}else{if(_0x1964ae){if(_0x22b43a[_0x128f2f]===0x1)_0x30f4c8===-0x1&&(_0x30f4c8=_0x5f4426);else{if(_0x128f2f===0x22&&_0x30f4c8!==-0x1)_0x1964ae=!0x1,_0x460535=_0x5f4426;else{if(_0x128f2f===0x5c)_0x3ccaf0=!0x0;else throw new SyntaxError(_0x225919(0x317)+_0x5f4426);}}}else{if(_0x128f2f===0x22&&_0x96a7a7[_0x225919(0x233)](_0x5f4426-0x1)===0x3d)_0x1964ae=!0x0;else{if(_0x460535===-0x1&&_0x22b43a[_0x128f2f]===0x1)_0x30f4c8===-0x1&&(_0x30f4c8=_0x5f4426);else{if(_0x30f4c8!==-0x1&&(_0x128f2f===0x20||_0x128f2f===0x9))_0x460535===-0x1&&(_0x460535=_0x5f4426);else{if(_0x128f2f===0x3b||_0x128f2f===0x2c){if(_0x30f4c8===-0x1)throw new SyntaxError(_0x225919(0x317)+_0x5f4426);_0x460535===-0x1&&(_0x460535=_0x5f4426);let _0x1849a9=_0x96a7a7['slice'](_0x30f4c8,_0x460535);_0x16c488&&(_0x1849a9=_0x1849a9[_0x225919(0x21c)](/\\/g,''),_0x16c488=!0x1),_0x56bfad(_0x4ac63e,_0x438885,_0x1849a9),_0x128f2f===0x2c&&(_0x56bfad(_0x52d36f,_0x1de8f4,_0x4ac63e),_0x4ac63e=Object[_0x225919(0x1b5)](null),_0x1de8f4=void 0x0),_0x438885=void 0x0,_0x30f4c8=_0x460535=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x5f4426);}}}}}}}if(_0x30f4c8===-0x1||_0x1964ae||_0x128f2f===0x20||_0x128f2f===0x9)throw new SyntaxError(_0x225919(0x26e));_0x460535===-0x1&&(_0x460535=_0x5f4426);const _0x55e63e=_0x96a7a7[_0x225919(0x193)](_0x30f4c8,_0x460535);return _0x1de8f4===void 0x0?_0x56bfad(_0x52d36f,_0x55e63e,_0x4ac63e):(_0x438885===void 0x0?_0x56bfad(_0x4ac63e,_0x55e63e,!0x0):_0x16c488?_0x56bfad(_0x4ac63e,_0x438885,_0x55e63e[_0x225919(0x21c)](/\\/g,'')):_0x56bfad(_0x4ac63e,_0x438885,_0x55e63e),_0x56bfad(_0x52d36f,_0x1de8f4,_0x4ac63e)),_0x52d36f;}function _0x435332(_0x39524b){const _0x449f36=_0x5604;return Object[_0x449f36(0x28d)](_0x39524b)['map'](_0x16a1eb=>{const _0xc86a31=_0x449f36;let _0x3ebf34=_0x39524b[_0x16a1eb];return Array[_0xc86a31(0x2c4)](_0x3ebf34)||(_0x3ebf34=[_0x3ebf34]),_0x3ebf34['map'](_0x1baa58=>[_0x16a1eb][_0xc86a31(0x2f8)](Object[_0xc86a31(0x28d)](_0x1baa58)[_0xc86a31(0x1c9)](_0x7aaf63=>{const _0x1e4eb3=_0xc86a31;let _0x784de9=_0x1baa58[_0x7aaf63];return Array['isArray'](_0x784de9)||(_0x784de9=[_0x784de9]),_0x784de9['map'](_0x49da81=>_0x49da81===!0x0?_0x7aaf63:_0x7aaf63+'='+_0x49da81)[_0x1e4eb3(0x209)](';\x20');}))[_0xc86a31(0x209)](';\x20'))[_0xc86a31(0x209)](',\x20');})[_0x449f36(0x209)](',\x20');}return be={'format':_0x435332,'parse':_0x1b1393},be;}var we,st;function Ie(){const _0x45e7bd=_0x14a122;if(st)return we;st=0x1;const _0x44d863=_0x376dad,_0x396a56=_0xf9f5a,_0x5694bd=_0x3dd2a6,_0x1b9a35=_0xf58de6,_0xe14f0=_0x2cc067,{randomBytes:_0x438a50,createHash:_0x3615a6}=_0x34ccca,{Duplex:_0x5c021a,Readable:_0x472f06}=_0x408a08,{URL:_0x4bf54a}=_0x4653b8,_0x3d0be3=he(),_0x949e9d=dt(),_0x79564c=_t(),{isBlob:_0x15ffb4}=ne(),{BINARY_TYPES:_0x323647,EMPTY_BUFFER:_0x3435c9,GUID:_0x13cdd7,kForOnEventAttribute:_0x29e636,kListener:_0x1f96c1,kStatusCode:_0x113e0e,kWebSocket:_0x3f5122,NOOP:_0x39921a}=V(),{EventTarget:{addEventListener:_0x10fe64,removeEventListener:_0x1d9953}}=Kt(),{format:_0x1db358,parse:_0xe09783}=pt(),{toBuffer:_0x32bfd5}=ce(),_0x54259f=0x1e*0x3e8,_0x59cbeb=Symbol('kAborted'),_0x4c922b=[0x8,0xd],_0x355003=['CONNECTING',_0x45e7bd(0x2b2),_0x45e7bd(0x1d4),'CLOSED'],_0x2d9bed=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0xd1de3a extends _0x44d863{constructor(_0x4df15c,_0x44cedb,_0x1e38fc){const _0x171771=_0x45e7bd;super(),this[_0x171771(0x30e)]=_0x323647[0x0],this['_closeCode']=0x3ee,this[_0x171771(0x2cf)]=!0x1,this['_closeFrameSent']=!0x1,this[_0x171771(0x22a)]=_0x3435c9,this[_0x171771(0x1b2)]=null,this[_0x171771(0x216)]=!0x1,this[_0x171771(0x2d4)]={},this[_0x171771(0x259)]=!0x1,this[_0x171771(0x264)]='',this[_0x171771(0x262)]=_0xd1de3a[_0x171771(0x180)],this[_0x171771(0x211)]=null,this[_0x171771(0x28f)]=null,this[_0x171771(0x2ed)]=null,_0x4df15c!==null?(this[_0x171771(0x182)]=0x0,this['_isServer']=!0x1,this[_0x171771(0x276)]=0x0,_0x44cedb===void 0x0?_0x44cedb=[]:Array[_0x171771(0x2c4)](_0x44cedb)||(typeof _0x44cedb==_0x171771(0x1a2)&&_0x44cedb!==null?(_0x1e38fc=_0x44cedb,_0x44cedb=[]):_0x44cedb=[_0x44cedb]),_0x3501f6(this,_0x4df15c,_0x44cedb,_0x1e38fc)):(this[_0x171771(0x23c)]=_0x1e38fc['autoPong'],this[_0x171771(0x23d)]=!0x0);}get[_0x45e7bd(0x225)](){return this['_binaryType'];}set[_0x45e7bd(0x225)](_0x429c41){const _0x5919cd=_0x45e7bd;_0x323647[_0x5919cd(0x18f)](_0x429c41)&&(this[_0x5919cd(0x30e)]=_0x429c41,this['_receiver']&&(this[_0x5919cd(0x211)]['_binaryType']=_0x429c41));}get[_0x45e7bd(0x183)](){const _0x5ac06c=_0x45e7bd;return this[_0x5ac06c(0x2ed)]?this['_socket']['_writableState'][_0x5ac06c(0x1e6)]+this[_0x5ac06c(0x28f)][_0x5ac06c(0x24c)]:this['_bufferedAmount'];}get['extensions'](){const _0x587b83=_0x45e7bd;return Object['keys'](this[_0x587b83(0x2d4)])['join']();}get['isPaused'](){const _0x58f82a=_0x45e7bd;return this[_0x58f82a(0x259)];}get[_0x45e7bd(0x285)](){return null;}get[_0x45e7bd(0x26d)](){return null;}get[_0x45e7bd(0x1a4)](){return null;}get[_0x45e7bd(0x23f)](){return null;}get[_0x45e7bd(0x249)](){return this['_protocol'];}get['readyState'](){const _0x260fdf=_0x45e7bd;return this[_0x260fdf(0x262)];}get[_0x45e7bd(0x1be)](){return this['_url'];}['setSocket'](_0x4fef4f,_0x420581,_0x5a9745){const _0x1373fb=_0x45e7bd,_0x5e3442=new _0x949e9d({'allowSynchronousEvents':_0x5a9745['allowSynchronousEvents'],'binaryType':this[_0x1373fb(0x225)],'extensions':this[_0x1373fb(0x2d4)],'isServer':this[_0x1373fb(0x23d)],'maxPayload':_0x5a9745[_0x1373fb(0x20b)],'skipUTF8Validation':_0x5a9745[_0x1373fb(0x2ca)]}),_0xc47945=new _0x79564c(_0x4fef4f,this[_0x1373fb(0x2d4)],_0x5a9745[_0x1373fb(0x1e2)]);this[_0x1373fb(0x211)]=_0x5e3442,this[_0x1373fb(0x28f)]=_0xc47945,this[_0x1373fb(0x2ed)]=_0x4fef4f,_0x5e3442[_0x3f5122]=this,_0xc47945[_0x3f5122]=this,_0x4fef4f[_0x3f5122]=this,_0x5e3442['on'](_0x1373fb(0x2f3),_0x2db5d2),_0x5e3442['on']('drain',_0x169ba3),_0x5e3442['on'](_0x1373fb(0x222),_0xd4825),_0x5e3442['on'](_0x1373fb(0x1a6),_0x6b446f),_0x5e3442['on']('ping',_0xbd86e0),_0x5e3442['on']('pong',_0x48a165),_0xc47945[_0x1373fb(0x26d)]=_0xec406e,_0x4fef4f[_0x1373fb(0x296)]&&_0x4fef4f[_0x1373fb(0x296)](0x0),_0x4fef4f[_0x1373fb(0x203)]&&_0x4fef4f[_0x1373fb(0x203)](),_0x420581[_0x1373fb(0x1e6)]>0x0&&_0x4fef4f[_0x1373fb(0x29d)](_0x420581),_0x4fef4f['on']('close',_0x496a55),_0x4fef4f['on'](_0x1373fb(0x1e9),_0x3091e7),_0x4fef4f['on']('end',_0x4ffc3a),_0x4fef4f['on'](_0x1373fb(0x222),_0x4f02b1),this[_0x1373fb(0x262)]=_0xd1de3a[_0x1373fb(0x2b2)],this[_0x1373fb(0x294)](_0x1373fb(0x2d2));}['emitClose'](){const _0x3a98e5=_0x45e7bd;if(!this[_0x3a98e5(0x2ed)]){this[_0x3a98e5(0x262)]=_0xd1de3a[_0x3a98e5(0x1ac)],this[_0x3a98e5(0x294)](_0x3a98e5(0x202),this[_0x3a98e5(0x17f)],this[_0x3a98e5(0x22a)]);return;}this['_extensions'][_0x3d0be3[_0x3a98e5(0x2cc)]]&&this[_0x3a98e5(0x2d4)][_0x3d0be3[_0x3a98e5(0x2cc)]][_0x3a98e5(0x1ab)](),this[_0x3a98e5(0x211)][_0x3a98e5(0x177)](),this['_readyState']=_0xd1de3a[_0x3a98e5(0x1ac)],this[_0x3a98e5(0x294)](_0x3a98e5(0x202),this[_0x3a98e5(0x17f)],this[_0x3a98e5(0x22a)]);}['close'](_0x626f59,_0xea8f0d){const _0x10b233=_0x45e7bd;if(this['readyState']!==_0xd1de3a[_0x10b233(0x1ac)]){if(this[_0x10b233(0x204)]===_0xd1de3a['CONNECTING']){_0x57da79(this,this[_0x10b233(0x2ec)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x10b233(0x204)]===_0xd1de3a[_0x10b233(0x1d4)]){this['_closeFrameSent']&&(this[_0x10b233(0x2cf)]||this['_receiver'][_0x10b233(0x2b0)][_0x10b233(0x179)])&&this[_0x10b233(0x2ed)][_0x10b233(0x1ad)]();return;}this[_0x10b233(0x262)]=_0xd1de3a[_0x10b233(0x1d4)],this[_0x10b233(0x28f)][_0x10b233(0x202)](_0x626f59,_0xea8f0d,!this[_0x10b233(0x23d)],_0x19d423=>{const _0x889c96=_0x10b233;_0x19d423||(this[_0x889c96(0x314)]=!0x0,(this[_0x889c96(0x2cf)]||this['_receiver'][_0x889c96(0x2b0)][_0x889c96(0x179)])&&this['_socket']['end']());}),_0x1a550e(this);}}[_0x45e7bd(0x1a0)](){const _0x18385c=_0x45e7bd;this[_0x18385c(0x204)]===_0xd1de3a['CONNECTING']||this[_0x18385c(0x204)]===_0xd1de3a[_0x18385c(0x1ac)]||(this[_0x18385c(0x259)]=!0x0,this[_0x18385c(0x2ed)]['pause']());}[_0x45e7bd(0x1f3)](_0x4b0741,_0x16611f,_0x6ebed6){const _0xdf846a=_0x45e7bd;if(this[_0xdf846a(0x204)]===_0xd1de3a[_0xdf846a(0x180)])throw new Error(_0xdf846a(0x1b3));if(typeof _0x4b0741=='function'?(_0x6ebed6=_0x4b0741,_0x4b0741=_0x16611f=void 0x0):typeof _0x16611f==_0xdf846a(0x20f)&&(_0x6ebed6=_0x16611f,_0x16611f=void 0x0),typeof _0x4b0741==_0xdf846a(0x181)&&(_0x4b0741=_0x4b0741[_0xdf846a(0x287)]()),this[_0xdf846a(0x204)]!==_0xd1de3a[_0xdf846a(0x2b2)]){_0x31b63f(this,_0x4b0741,_0x6ebed6);return;}_0x16611f===void 0x0&&(_0x16611f=!this[_0xdf846a(0x23d)]),this[_0xdf846a(0x28f)]['ping'](_0x4b0741||_0x3435c9,_0x16611f,_0x6ebed6);}[_0x45e7bd(0x1d9)](_0x32655c,_0xc3bce8,_0x53c16d){const _0x4563e7=_0x45e7bd;if(this['readyState']===_0xd1de3a[_0x4563e7(0x180)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x32655c==_0x4563e7(0x20f)?(_0x53c16d=_0x32655c,_0x32655c=_0xc3bce8=void 0x0):typeof _0xc3bce8==_0x4563e7(0x20f)&&(_0x53c16d=_0xc3bce8,_0xc3bce8=void 0x0),typeof _0x32655c==_0x4563e7(0x181)&&(_0x32655c=_0x32655c['toString']()),this[_0x4563e7(0x204)]!==_0xd1de3a[_0x4563e7(0x2b2)]){_0x31b63f(this,_0x32655c,_0x53c16d);return;}_0xc3bce8===void 0x0&&(_0xc3bce8=!this[_0x4563e7(0x23d)]),this[_0x4563e7(0x28f)]['pong'](_0x32655c||_0x3435c9,_0xc3bce8,_0x53c16d);}[_0x45e7bd(0x22c)](){const _0x242111=_0x45e7bd;this[_0x242111(0x204)]===_0xd1de3a[_0x242111(0x180)]||this[_0x242111(0x204)]===_0xd1de3a[_0x242111(0x1ac)]||(this['_paused']=!0x1,this[_0x242111(0x211)][_0x242111(0x2b0)][_0x242111(0x299)]||this[_0x242111(0x2ed)][_0x242111(0x22c)]());}[_0x45e7bd(0x2d6)](_0x4f37fd,_0x37bef1,_0x5e75c9){const _0x52ce6b=_0x45e7bd;if(this[_0x52ce6b(0x204)]===_0xd1de3a['CONNECTING'])throw new Error(_0x52ce6b(0x1b3));if(typeof _0x37bef1==_0x52ce6b(0x20f)&&(_0x5e75c9=_0x37bef1,_0x37bef1={}),typeof _0x4f37fd=='number'&&(_0x4f37fd=_0x4f37fd[_0x52ce6b(0x287)]()),this[_0x52ce6b(0x204)]!==_0xd1de3a['OPEN']){_0x31b63f(this,_0x4f37fd,_0x5e75c9);return;}const _0x182cc1={'binary':typeof _0x4f37fd!=_0x52ce6b(0x1d5),'mask':!this[_0x52ce6b(0x23d)],'compress':!0x0,'fin':!0x0,..._0x37bef1};this['_extensions'][_0x3d0be3[_0x52ce6b(0x2cc)]]||(_0x182cc1[_0x52ce6b(0x1c7)]=!0x1),this[_0x52ce6b(0x28f)][_0x52ce6b(0x2d6)](_0x4f37fd||_0x3435c9,_0x182cc1,_0x5e75c9);}[_0x45e7bd(0x2a7)](){const _0x1b5c4b=_0x45e7bd;if(this[_0x1b5c4b(0x204)]!==_0xd1de3a['CLOSED']){if(this['readyState']===_0xd1de3a[_0x1b5c4b(0x180)]){_0x57da79(this,this[_0x1b5c4b(0x2ec)],_0x1b5c4b(0x25c));return;}this[_0x1b5c4b(0x2ed)]&&(this['_readyState']=_0xd1de3a[_0x1b5c4b(0x1d4)],this[_0x1b5c4b(0x2ed)][_0x1b5c4b(0x26f)]());}}}Object[_0x45e7bd(0x321)](_0xd1de3a,'CONNECTING',{'enumerable':!0x0,'value':_0x355003[_0x45e7bd(0x25a)]('CONNECTING')}),Object['defineProperty'](_0xd1de3a[_0x45e7bd(0x2a6)],_0x45e7bd(0x180),{'enumerable':!0x0,'value':_0x355003['indexOf']('CONNECTING')}),Object[_0x45e7bd(0x321)](_0xd1de3a,_0x45e7bd(0x2b2),{'enumerable':!0x0,'value':_0x355003[_0x45e7bd(0x25a)](_0x45e7bd(0x2b2))}),Object[_0x45e7bd(0x321)](_0xd1de3a[_0x45e7bd(0x2a6)],_0x45e7bd(0x2b2),{'enumerable':!0x0,'value':_0x355003[_0x45e7bd(0x25a)](_0x45e7bd(0x2b2))}),Object['defineProperty'](_0xd1de3a,_0x45e7bd(0x1d4),{'enumerable':!0x0,'value':_0x355003[_0x45e7bd(0x25a)](_0x45e7bd(0x1d4))}),Object['defineProperty'](_0xd1de3a[_0x45e7bd(0x2a6)],'CLOSING',{'enumerable':!0x0,'value':_0x355003[_0x45e7bd(0x25a)](_0x45e7bd(0x1d4))}),Object[_0x45e7bd(0x321)](_0xd1de3a,_0x45e7bd(0x1ac),{'enumerable':!0x0,'value':_0x355003[_0x45e7bd(0x25a)](_0x45e7bd(0x1ac))}),Object['defineProperty'](_0xd1de3a[_0x45e7bd(0x2a6)],_0x45e7bd(0x1ac),{'enumerable':!0x0,'value':_0x355003[_0x45e7bd(0x25a)]('CLOSED')}),[_0x45e7bd(0x225),_0x45e7bd(0x183),_0x45e7bd(0x2a4),_0x45e7bd(0x220),_0x45e7bd(0x249),_0x45e7bd(0x204),'url']['forEach'](_0x2684e8=>{const _0x1df08c=_0x45e7bd;Object[_0x1df08c(0x321)](_0xd1de3a[_0x1df08c(0x2a6)],_0x2684e8,{'enumerable':!0x0});}),[_0x45e7bd(0x2d2),'error',_0x45e7bd(0x202),_0x45e7bd(0x1a6)][_0x45e7bd(0x215)](_0x3b76b5=>{const _0x7e1ed9=_0x45e7bd;Object[_0x7e1ed9(0x321)](_0xd1de3a['prototype'],'on'+_0x3b76b5,{'enumerable':!0x0,'get'(){for(const _0x4d5f02 of this['listeners'](_0x3b76b5))if(_0x4d5f02[_0x29e636])return _0x4d5f02[_0x1f96c1];return null;},'set'(_0x16db73){const _0x37b452=_0x7e1ed9;for(const _0x23b4c0 of this['listeners'](_0x3b76b5))if(_0x23b4c0[_0x29e636]){this['removeListener'](_0x3b76b5,_0x23b4c0);break;}typeof _0x16db73==_0x37b452(0x20f)&&this[_0x37b452(0x2ad)](_0x3b76b5,_0x16db73,{[_0x29e636]:!0x0});}});}),_0xd1de3a['prototype'][_0x45e7bd(0x2ad)]=_0x10fe64,_0xd1de3a[_0x45e7bd(0x2a6)]['removeEventListener']=_0x1d9953,we=_0xd1de3a;function _0x3501f6(_0x1e6d20,_0x1d1ae8,_0x2c6c28,_0x3d0df2){const _0x1d94ee=_0x45e7bd,_0x252b81={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x4c922b[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x3d0df2,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x1d94ee(0x282),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x1e6d20[_0x1d94ee(0x23c)]=_0x252b81[_0x1d94ee(0x1b9)],!_0x4c922b[_0x1d94ee(0x18f)](_0x252b81[_0x1d94ee(0x31e)]))throw new RangeError(_0x1d94ee(0x23b)+_0x252b81[_0x1d94ee(0x31e)]+_0x1d94ee(0x2e0)+_0x4c922b[_0x1d94ee(0x209)](',\x20')+')');let _0x509824;if(_0x1d1ae8 instanceof _0x4bf54a)_0x509824=_0x1d1ae8;else try{_0x509824=new _0x4bf54a(_0x1d1ae8);}catch{throw new SyntaxError(_0x1d94ee(0x2a3)+_0x1d1ae8);}_0x509824['protocol']===_0x1d94ee(0x212)?_0x509824['protocol']=_0x1d94ee(0x1bf):_0x509824[_0x1d94ee(0x249)]==='https:'&&(_0x509824[_0x1d94ee(0x249)]=_0x1d94ee(0x284)),_0x1e6d20[_0x1d94ee(0x1d3)]=_0x509824[_0x1d94ee(0x2e6)];const _0x682017=_0x509824[_0x1d94ee(0x249)]==='wss:',_0x48f734=_0x509824[_0x1d94ee(0x249)]==='ws+unix:';let _0x1b101c;if(_0x509824['protocol']!==_0x1d94ee(0x1bf)&&!_0x682017&&!_0x48f734?_0x1b101c=_0x1d94ee(0x27f):_0x48f734&&!_0x509824[_0x1d94ee(0x21b)]?_0x1b101c=_0x1d94ee(0x25d):_0x509824['hash']&&(_0x1b101c=_0x1d94ee(0x25e)),_0x1b101c){const _0x21330e=new SyntaxError(_0x1b101c);if(_0x1e6d20[_0x1d94ee(0x276)]===0x0)throw _0x21330e;_0x498fcd(_0x1e6d20,_0x21330e);return;}const _0x23c42e=_0x682017?0x1bb:0x50,_0x5268c8=_0x438a50(0x10)[_0x1d94ee(0x287)](_0x1d94ee(0x17e)),_0x466b64=_0x682017?_0x396a56[_0x1d94ee(0x281)]:_0x5694bd[_0x1d94ee(0x281)],_0x48e8cc=new Set();let _0x2ba9d0;if(_0x252b81['createConnection']=_0x252b81[_0x1d94ee(0x210)]||(_0x682017?_0x19d4a4:_0x30a16c),_0x252b81[_0x1d94ee(0x228)]=_0x252b81[_0x1d94ee(0x228)]||_0x23c42e,_0x252b81[_0x1d94ee(0x272)]=_0x509824[_0x1d94ee(0x272)]||_0x23c42e,_0x252b81[_0x1d94ee(0x23e)]=_0x509824['hostname'][_0x1d94ee(0x256)]('[')?_0x509824[_0x1d94ee(0x1cc)][_0x1d94ee(0x193)](0x1,-0x1):_0x509824[_0x1d94ee(0x1cc)],_0x252b81[_0x1d94ee(0x283)]={..._0x252b81[_0x1d94ee(0x283)],'Sec-WebSocket-Version':_0x252b81[_0x1d94ee(0x31e)],'Sec-WebSocket-Key':_0x5268c8,'Connection':_0x1d94ee(0x2fb),'Upgrade':_0x1d94ee(0x2b4)},_0x252b81[_0x1d94ee(0x2c1)]=_0x509824[_0x1d94ee(0x21b)]+_0x509824[_0x1d94ee(0x242)],_0x252b81['timeout']=_0x252b81[_0x1d94ee(0x2b8)],_0x252b81['perMessageDeflate']&&(_0x2ba9d0=new _0x3d0be3(_0x252b81[_0x1d94ee(0x2f4)]!==!0x0?_0x252b81['perMessageDeflate']:{},!0x1,_0x252b81[_0x1d94ee(0x20b)]),_0x252b81['headers'][_0x1d94ee(0x18b)]=_0x1db358({[_0x3d0be3[_0x1d94ee(0x2cc)]]:_0x2ba9d0['offer']()})),_0x2c6c28[_0x1d94ee(0x1e6)]){for(const _0x5e81c0 of _0x2c6c28){if(typeof _0x5e81c0!=_0x1d94ee(0x1d5)||!_0x2d9bed[_0x1d94ee(0x2ee)](_0x5e81c0)||_0x48e8cc[_0x1d94ee(0x2fd)](_0x5e81c0))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x48e8cc['add'](_0x5e81c0);}_0x252b81[_0x1d94ee(0x283)][_0x1d94ee(0x29c)]=_0x2c6c28['join'](',');}if(_0x252b81[_0x1d94ee(0x2f7)]&&(_0x252b81[_0x1d94ee(0x31e)]<0xd?_0x252b81[_0x1d94ee(0x283)]['Sec-WebSocket-Origin']=_0x252b81[_0x1d94ee(0x2f7)]:_0x252b81[_0x1d94ee(0x283)]['Origin']=_0x252b81[_0x1d94ee(0x2f7)]),(_0x509824['username']||_0x509824[_0x1d94ee(0x237)])&&(_0x252b81[_0x1d94ee(0x1d2)]=_0x509824[_0x1d94ee(0x191)]+':'+_0x509824['password']),_0x48f734){const _0x2c6e63=_0x252b81['path'][_0x1d94ee(0x292)](':');_0x252b81['socketPath']=_0x2c6e63[0x0],_0x252b81[_0x1d94ee(0x2c1)]=_0x2c6e63[0x1];}let _0x50563c;if(_0x252b81[_0x1d94ee(0x2da)]){if(_0x1e6d20['_redirects']===0x0){_0x1e6d20['_originalIpc']=_0x48f734,_0x1e6d20[_0x1d94ee(0x198)]=_0x682017,_0x1e6d20[_0x1d94ee(0x1fb)]=_0x48f734?_0x252b81[_0x1d94ee(0x1c1)]:_0x509824[_0x1d94ee(0x23e)];const _0x22720c=_0x3d0df2&&_0x3d0df2[_0x1d94ee(0x283)];if(_0x3d0df2={..._0x3d0df2,'headers':{}},_0x22720c){for(const [_0x51b9eb,_0xa0fa64]of Object[_0x1d94ee(0x208)](_0x22720c))_0x3d0df2[_0x1d94ee(0x283)][_0x51b9eb['toLowerCase']()]=_0xa0fa64;}}else{if(_0x1e6d20[_0x1d94ee(0x312)](_0x1d94ee(0x1b6))===0x0){const _0x3a4e42=_0x48f734?_0x1e6d20[_0x1d94ee(0x265)]?_0x252b81[_0x1d94ee(0x1c1)]===_0x1e6d20[_0x1d94ee(0x1fb)]:!0x1:_0x1e6d20[_0x1d94ee(0x265)]?!0x1:_0x509824['host']===_0x1e6d20[_0x1d94ee(0x1fb)];(!_0x3a4e42||_0x1e6d20[_0x1d94ee(0x198)]&&!_0x682017)&&(delete _0x252b81[_0x1d94ee(0x283)][_0x1d94ee(0x30f)],delete _0x252b81[_0x1d94ee(0x283)][_0x1d94ee(0x2b5)],_0x3a4e42||delete _0x252b81[_0x1d94ee(0x283)][_0x1d94ee(0x23e)],_0x252b81[_0x1d94ee(0x1d2)]=void 0x0);}}_0x252b81[_0x1d94ee(0x1d2)]&&!_0x3d0df2[_0x1d94ee(0x283)][_0x1d94ee(0x30f)]&&(_0x3d0df2['headers'][_0x1d94ee(0x30f)]=_0x1d94ee(0x1d6)+Buffer['from'](_0x252b81[_0x1d94ee(0x1d2)])[_0x1d94ee(0x287)](_0x1d94ee(0x17e))),_0x50563c=_0x1e6d20[_0x1d94ee(0x2ec)]=_0x466b64(_0x252b81),_0x1e6d20[_0x1d94ee(0x276)]&&_0x1e6d20[_0x1d94ee(0x294)]('redirect',_0x1e6d20[_0x1d94ee(0x1be)],_0x50563c);}else _0x50563c=_0x1e6d20[_0x1d94ee(0x2ec)]=_0x466b64(_0x252b81);_0x252b81[_0x1d94ee(0x305)]&&_0x50563c['on']('timeout',()=>{const _0x438278=_0x1d94ee;_0x57da79(_0x1e6d20,_0x50563c,_0x438278(0x213));}),_0x50563c['on'](_0x1d94ee(0x222),_0xac0ba0=>{const _0x54f0b0=_0x1d94ee;_0x50563c===null||_0x50563c[_0x59cbeb]||(_0x50563c=_0x1e6d20[_0x54f0b0(0x2ec)]=null,_0x498fcd(_0x1e6d20,_0xac0ba0));}),_0x50563c['on']('response',_0x5299b5=>{const _0x17add8=_0x1d94ee,_0x31e46a=_0x5299b5[_0x17add8(0x283)][_0x17add8(0x254)],_0x354c12=_0x5299b5[_0x17add8(0x218)];if(_0x31e46a&&_0x252b81[_0x17add8(0x2da)]&&_0x354c12>=0x12c&&_0x354c12<0x190){if(++_0x1e6d20[_0x17add8(0x276)]>_0x252b81[_0x17add8(0x295)]){_0x57da79(_0x1e6d20,_0x50563c,'Maximum\x20redirects\x20exceeded');return;}_0x50563c[_0x17add8(0x30b)]();let _0x5ef8f8;try{_0x5ef8f8=new _0x4bf54a(_0x31e46a,_0x1d1ae8);}catch{const _0x2c49af=new SyntaxError(_0x17add8(0x2a3)+_0x31e46a);_0x498fcd(_0x1e6d20,_0x2c49af);return;}_0x3501f6(_0x1e6d20,_0x5ef8f8,_0x2c6c28,_0x3d0df2);}else _0x1e6d20['emit'](_0x17add8(0x194),_0x50563c,_0x5299b5)||_0x57da79(_0x1e6d20,_0x50563c,'Unexpected\x20server\x20response:\x20'+_0x5299b5[_0x17add8(0x218)]);}),_0x50563c['on']('upgrade',(_0x49b8fd,_0x2b795d,_0x41af12)=>{const _0x1e4a51=_0x1d94ee;if(_0x1e6d20['emit'](_0x1e4a51(0x245),_0x49b8fd),_0x1e6d20['readyState']!==_0xd1de3a[_0x1e4a51(0x180)])return;_0x50563c=_0x1e6d20[_0x1e4a51(0x2ec)]=null;const _0x9ae23d=_0x49b8fd[_0x1e4a51(0x283)][_0x1e4a51(0x245)];if(_0x9ae23d===void 0x0||_0x9ae23d['toLowerCase']()!==_0x1e4a51(0x2b4)){_0x57da79(_0x1e6d20,_0x2b795d,_0x1e4a51(0x1ea));return;}const _0x3834d2=_0x3615a6(_0x1e4a51(0x28b))[_0x1e4a51(0x2f2)](_0x5268c8+_0x13cdd7)[_0x1e4a51(0x1b8)](_0x1e4a51(0x17e));if(_0x49b8fd[_0x1e4a51(0x283)]['sec-websocket-accept']!==_0x3834d2){_0x57da79(_0x1e6d20,_0x2b795d,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x16a4d8=_0x49b8fd[_0x1e4a51(0x283)]['sec-websocket-protocol'];let _0xd57d6c;if(_0x16a4d8!==void 0x0?_0x48e8cc['size']?_0x48e8cc[_0x1e4a51(0x2fd)](_0x16a4d8)||(_0xd57d6c=_0x1e4a51(0x195)):_0xd57d6c='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x48e8cc['size']&&(_0xd57d6c=_0x1e4a51(0x27d)),_0xd57d6c){_0x57da79(_0x1e6d20,_0x2b795d,_0xd57d6c);return;}_0x16a4d8&&(_0x1e6d20[_0x1e4a51(0x264)]=_0x16a4d8);const _0x224e52=_0x49b8fd[_0x1e4a51(0x283)]['sec-websocket-extensions'];if(_0x224e52!==void 0x0){if(!_0x2ba9d0){_0x57da79(_0x1e6d20,_0x2b795d,_0x1e4a51(0x248));return;}let _0x487174;try{_0x487174=_0xe09783(_0x224e52);}catch{_0x57da79(_0x1e6d20,_0x2b795d,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0xac80e5=Object[_0x1e4a51(0x28d)](_0x487174);if(_0xac80e5[_0x1e4a51(0x1e6)]!==0x1||_0xac80e5[0x0]!==_0x3d0be3[_0x1e4a51(0x2cc)]){_0x57da79(_0x1e6d20,_0x2b795d,_0x1e4a51(0x298));return;}try{_0x2ba9d0[_0x1e4a51(0x2b1)](_0x487174[_0x3d0be3[_0x1e4a51(0x2cc)]]);}catch{_0x57da79(_0x1e6d20,_0x2b795d,_0x1e4a51(0x1f1));return;}_0x1e6d20[_0x1e4a51(0x2d4)][_0x3d0be3[_0x1e4a51(0x2cc)]]=_0x2ba9d0;}_0x1e6d20[_0x1e4a51(0x17d)](_0x2b795d,_0x41af12,{'allowSynchronousEvents':_0x252b81['allowSynchronousEvents'],'generateMask':_0x252b81[_0x1e4a51(0x1e2)],'maxPayload':_0x252b81['maxPayload'],'skipUTF8Validation':_0x252b81[_0x1e4a51(0x2ca)]});}),_0x252b81[_0x1d94ee(0x178)]?_0x252b81[_0x1d94ee(0x178)](_0x50563c,_0x1e6d20):_0x50563c[_0x1d94ee(0x1ad)]();}function _0x498fcd(_0x23d97d,_0x520268){const _0x5d636c=_0x45e7bd;_0x23d97d[_0x5d636c(0x262)]=_0xd1de3a[_0x5d636c(0x1d4)],_0x23d97d[_0x5d636c(0x216)]=!0x0,_0x23d97d['emit'](_0x5d636c(0x222),_0x520268),_0x23d97d[_0x5d636c(0x280)]();}function _0x30a16c(_0x52f702){const _0x2d3a34=_0x45e7bd;return _0x52f702[_0x2d3a34(0x2c1)]=_0x52f702[_0x2d3a34(0x1c1)],_0x1b9a35[_0x2d3a34(0x290)](_0x52f702);}function _0x19d4a4(_0x374a53){const _0x165842=_0x45e7bd;return _0x374a53[_0x165842(0x2c1)]=void 0x0,!_0x374a53[_0x165842(0x2a1)]&&_0x374a53[_0x165842(0x2a1)]!==''&&(_0x374a53['servername']=_0x1b9a35[_0x165842(0x2b6)](_0x374a53[_0x165842(0x23e)])?'':_0x374a53[_0x165842(0x23e)]),_0xe14f0[_0x165842(0x290)](_0x374a53);}function _0x57da79(_0x331bd2,_0x2cbb69,_0x495366){const _0x22acd9=_0x45e7bd;_0x331bd2['_readyState']=_0xd1de3a[_0x22acd9(0x1d4)];const _0x2d05af=new Error(_0x495366);Error[_0x22acd9(0x273)](_0x2d05af,_0x57da79),_0x2cbb69[_0x22acd9(0x2c0)]?(_0x2cbb69[_0x59cbeb]=!0x0,_0x2cbb69[_0x22acd9(0x30b)](),_0x2cbb69[_0x22acd9(0x2db)]&&!_0x2cbb69[_0x22acd9(0x2db)][_0x22acd9(0x2f5)]&&_0x2cbb69['socket'][_0x22acd9(0x26f)](),process[_0x22acd9(0x192)](_0x498fcd,_0x331bd2,_0x2d05af)):(_0x2cbb69[_0x22acd9(0x26f)](_0x2d05af),_0x2cbb69[_0x22acd9(0x230)](_0x22acd9(0x222),_0x331bd2[_0x22acd9(0x294)][_0x22acd9(0x253)](_0x331bd2,_0x22acd9(0x222))),_0x2cbb69[_0x22acd9(0x230)]('close',_0x331bd2[_0x22acd9(0x280)][_0x22acd9(0x253)](_0x331bd2)));}function _0x31b63f(_0x3391fe,_0xcfbc8c,_0x36332f){const _0x4388f3=_0x45e7bd;if(_0xcfbc8c){const _0x39fc8f=_0x15ffb4(_0xcfbc8c)?_0xcfbc8c[_0x4388f3(0x1e3)]:_0x32bfd5(_0xcfbc8c)['length'];_0x3391fe[_0x4388f3(0x2ed)]?_0x3391fe[_0x4388f3(0x28f)][_0x4388f3(0x24c)]+=_0x39fc8f:_0x3391fe[_0x4388f3(0x182)]+=_0x39fc8f;}if(_0x36332f){const _0x20eab6=new Error(_0x4388f3(0x22b)+_0x3391fe[_0x4388f3(0x204)]+'\x20('+_0x355003[_0x3391fe['readyState']]+')');process['nextTick'](_0x36332f,_0x20eab6);}}function _0x2db5d2(_0x50b948,_0xf5507c){const _0x39b94b=_0x45e7bd,_0x5b2fcd=this[_0x3f5122];_0x5b2fcd['_closeFrameReceived']=!0x0,_0x5b2fcd[_0x39b94b(0x22a)]=_0xf5507c,_0x5b2fcd['_closeCode']=_0x50b948,_0x5b2fcd[_0x39b94b(0x2ed)][_0x3f5122]!==void 0x0&&(_0x5b2fcd[_0x39b94b(0x2ed)][_0x39b94b(0x2e3)]('data',_0x3091e7),process[_0x39b94b(0x192)](_0x4edf2a,_0x5b2fcd[_0x39b94b(0x2ed)]),_0x50b948===0x3ed?_0x5b2fcd['close']():_0x5b2fcd[_0x39b94b(0x202)](_0x50b948,_0xf5507c));}function _0x169ba3(){const _0x1ca793=_0x45e7bd,_0x535420=this[_0x3f5122];_0x535420[_0x1ca793(0x220)]||_0x535420[_0x1ca793(0x2ed)][_0x1ca793(0x22c)]();}function _0xd4825(_0x1b392b){const _0x240932=_0x45e7bd,_0x24ed17=this[_0x3f5122];_0x24ed17['_socket'][_0x3f5122]!==void 0x0&&(_0x24ed17[_0x240932(0x2ed)][_0x240932(0x2e3)](_0x240932(0x1e9),_0x3091e7),process[_0x240932(0x192)](_0x4edf2a,_0x24ed17['_socket']),_0x24ed17[_0x240932(0x202)](_0x1b392b[_0x113e0e])),_0x24ed17[_0x240932(0x216)]||(_0x24ed17[_0x240932(0x216)]=!0x0,_0x24ed17[_0x240932(0x294)](_0x240932(0x222),_0x1b392b));}function _0x51778f(){this[_0x3f5122]['emitClose']();}function _0x6b446f(_0x2fd9e9,_0x55a2da){const _0x1563e2=_0x45e7bd;this[_0x3f5122][_0x1563e2(0x294)]('message',_0x2fd9e9,_0x55a2da);}function _0xbd86e0(_0x4274bd){const _0x1bed0c=_0x45e7bd,_0xcd9b16=this[_0x3f5122];_0xcd9b16[_0x1bed0c(0x23c)]&&_0xcd9b16[_0x1bed0c(0x1d9)](_0x4274bd,!this['_isServer'],_0x39921a),_0xcd9b16[_0x1bed0c(0x294)](_0x1bed0c(0x1f3),_0x4274bd);}function _0x48a165(_0x124ebd){const _0x2cbaec=_0x45e7bd;this[_0x3f5122]['emit'](_0x2cbaec(0x1d9),_0x124ebd);}function _0x4edf2a(_0x455ab0){const _0x224dcd=_0x45e7bd;_0x455ab0[_0x224dcd(0x22c)]();}function _0xec406e(_0x289787){const _0x402cef=_0x45e7bd,_0x4a70db=this[_0x3f5122];_0x4a70db['readyState']!==_0xd1de3a[_0x402cef(0x1ac)]&&(_0x4a70db['readyState']===_0xd1de3a[_0x402cef(0x2b2)]&&(_0x4a70db[_0x402cef(0x262)]=_0xd1de3a['CLOSING'],_0x1a550e(_0x4a70db)),this[_0x402cef(0x2ed)][_0x402cef(0x1ad)](),_0x4a70db[_0x402cef(0x216)]||(_0x4a70db[_0x402cef(0x216)]=!0x0,_0x4a70db['emit']('error',_0x289787)));}function _0x1a550e(_0x50d4e1){const _0x3e6adf=_0x45e7bd;_0x50d4e1[_0x3e6adf(0x1b2)]=setTimeout(_0x50d4e1['_socket'][_0x3e6adf(0x26f)][_0x3e6adf(0x253)](_0x50d4e1[_0x3e6adf(0x2ed)]),_0x54259f);}function _0x496a55(){const _0x4a55a0=_0x45e7bd,_0x4f8c9a=this[_0x3f5122];this['removeListener']('close',_0x496a55),this[_0x4a55a0(0x2e3)](_0x4a55a0(0x1e9),_0x3091e7),this['removeListener'](_0x4a55a0(0x1ad),_0x4ffc3a),_0x4f8c9a[_0x4a55a0(0x262)]=_0xd1de3a[_0x4a55a0(0x1d4)];let _0x3ff807;!this[_0x4a55a0(0x1f0)][_0x4a55a0(0x2e8)]&&!_0x4f8c9a['_closeFrameReceived']&&!_0x4f8c9a[_0x4a55a0(0x211)][_0x4a55a0(0x2b0)]['errorEmitted']&&(_0x3ff807=_0x4f8c9a[_0x4a55a0(0x2ed)]['read']())!==null&&_0x4f8c9a[_0x4a55a0(0x211)]['write'](_0x3ff807),_0x4f8c9a[_0x4a55a0(0x211)]['end'](),this[_0x3f5122]=void 0x0,clearTimeout(_0x4f8c9a['_closeTimer']),_0x4f8c9a['_receiver'][_0x4a55a0(0x2b0)][_0x4a55a0(0x308)]||_0x4f8c9a[_0x4a55a0(0x211)]['_writableState'][_0x4a55a0(0x179)]?_0x4f8c9a['emitClose']():(_0x4f8c9a['_receiver']['on']('error',_0x51778f),_0x4f8c9a[_0x4a55a0(0x211)]['on'](_0x4a55a0(0x1ca),_0x51778f));}function _0x3091e7(_0x37f151){const _0x411c4c=_0x45e7bd;this[_0x3f5122][_0x411c4c(0x211)][_0x411c4c(0x1eb)](_0x37f151)||this[_0x411c4c(0x1a0)]();}function _0x4ffc3a(){const _0x3ed4b0=_0x45e7bd,_0x4b7f35=this[_0x3f5122];_0x4b7f35[_0x3ed4b0(0x262)]=_0xd1de3a[_0x3ed4b0(0x1d4)],_0x4b7f35[_0x3ed4b0(0x211)][_0x3ed4b0(0x1ad)](),this['end']();}function _0x4f02b1(){const _0x11ebc5=_0x45e7bd,_0x15b974=this[_0x3f5122];this[_0x11ebc5(0x2e3)]('error',_0x4f02b1),this['on'](_0x11ebc5(0x222),_0x39921a),_0x15b974&&(_0x15b974[_0x11ebc5(0x262)]=_0xd1de3a[_0x11ebc5(0x1d4)],this[_0x11ebc5(0x26f)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x8a6681}=_0x408a08;function _0x1e895d(_0x21fda9){const _0x165608=_0x5604;_0x21fda9[_0x165608(0x294)](_0x165608(0x202));}function _0xb90749(){const _0x1b37e2=_0x5604;!this[_0x1b37e2(0x2f5)]&&this[_0x1b37e2(0x2b0)][_0x1b37e2(0x308)]&&this[_0x1b37e2(0x26f)]();}function _0x45b949(_0x31e984){const _0x3c7e6a=_0x5604;this[_0x3c7e6a(0x2e3)](_0x3c7e6a(0x222),_0x45b949),this['destroy'](),this[_0x3c7e6a(0x312)](_0x3c7e6a(0x222))===0x0&&this[_0x3c7e6a(0x294)](_0x3c7e6a(0x222),_0x31e984);}function _0x486804(_0x354813,_0x2d7a60){const _0x49e1f1=_0x5604;let _0x5950cc=!0x0;const _0xb0a158=new _0x8a6681({..._0x2d7a60,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x354813['on'](_0x49e1f1(0x1a6),function(_0x562fcd,_0x313f67){const _0xba0e7a=_0x49e1f1,_0x3bc1b3=!_0x313f67&&_0xb0a158['_readableState'][_0xba0e7a(0x20e)]?_0x562fcd[_0xba0e7a(0x287)]():_0x562fcd;_0xb0a158[_0xba0e7a(0x2aa)](_0x3bc1b3)||_0x354813['pause']();}),_0x354813['once'](_0x49e1f1(0x222),function(_0x5f011a){const _0xca3c86=_0x49e1f1;_0xb0a158[_0xca3c86(0x2f5)]||(_0x5950cc=!0x1,_0xb0a158[_0xca3c86(0x26f)](_0x5f011a));}),_0x354813['once'](_0x49e1f1(0x202),function(){const _0x3d4010=_0x49e1f1;_0xb0a158[_0x3d4010(0x2f5)]||_0xb0a158[_0x3d4010(0x2aa)](null);}),_0xb0a158['_destroy']=function(_0x4c326e,_0x77d5fa){const _0x302ff3=_0x49e1f1;if(_0x354813[_0x302ff3(0x204)]===_0x354813[_0x302ff3(0x1ac)]){_0x77d5fa(_0x4c326e),process[_0x302ff3(0x192)](_0x1e895d,_0xb0a158);return;}let _0x440f3d=!0x1;_0x354813[_0x302ff3(0x230)](_0x302ff3(0x222),function(_0x55c707){_0x440f3d=!0x0,_0x77d5fa(_0x55c707);}),_0x354813[_0x302ff3(0x230)](_0x302ff3(0x202),function(){_0x440f3d||_0x77d5fa(_0x4c326e),process['nextTick'](_0x1e895d,_0xb0a158);}),_0x5950cc&&_0x354813[_0x302ff3(0x2a7)]();},_0xb0a158['_final']=function(_0x3c68aa){const _0x4f9810=_0x49e1f1;if(_0x354813[_0x4f9810(0x204)]===_0x354813[_0x4f9810(0x180)]){_0x354813[_0x4f9810(0x230)](_0x4f9810(0x2d2),function(){const _0x57bc9f=_0x4f9810;_0xb0a158[_0x57bc9f(0x221)](_0x3c68aa);});return;}_0x354813[_0x4f9810(0x2ed)]!==null&&(_0x354813[_0x4f9810(0x2ed)][_0x4f9810(0x2b0)][_0x4f9810(0x308)]?(_0x3c68aa(),_0xb0a158['_readableState']['endEmitted']&&_0xb0a158['destroy']()):(_0x354813[_0x4f9810(0x2ed)][_0x4f9810(0x230)]('finish',function(){_0x3c68aa();}),_0x354813[_0x4f9810(0x202)]()));},_0xb0a158['_read']=function(){const _0x992768=_0x49e1f1;_0x354813[_0x992768(0x220)]&&_0x354813[_0x992768(0x22c)]();},_0xb0a158[_0x49e1f1(0x260)]=function(_0x3f7618,_0x442625,_0x30d14c){const _0x1388f5=_0x49e1f1;if(_0x354813[_0x1388f5(0x204)]===_0x354813[_0x1388f5(0x180)]){_0x354813[_0x1388f5(0x230)]('open',function(){_0xb0a158['_write'](_0x3f7618,_0x442625,_0x30d14c);});return;}_0x354813[_0x1388f5(0x2d6)](_0x3f7618,_0x30d14c);},_0xb0a158['on'](_0x49e1f1(0x1ad),_0xb90749),_0xb0a158['on'](_0x49e1f1(0x222),_0x45b949),_0xb0a158;}return Oe=_0x486804,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x45e538}=ne();function _0x249d56(_0x59e13c){const _0x88d966=_0x5604,_0x56fbc7=new Set();let _0x5d4889=-0x1,_0x273b14=-0x1,_0x3f7f04=0x0;for(_0x3f7f04;_0x3f7f04<_0x59e13c['length'];_0x3f7f04++){const _0x1b49a6=_0x59e13c[_0x88d966(0x233)](_0x3f7f04);if(_0x273b14===-0x1&&_0x45e538[_0x1b49a6]===0x1)_0x5d4889===-0x1&&(_0x5d4889=_0x3f7f04);else{if(_0x3f7f04!==0x0&&(_0x1b49a6===0x20||_0x1b49a6===0x9))_0x273b14===-0x1&&_0x5d4889!==-0x1&&(_0x273b14=_0x3f7f04);else{if(_0x1b49a6===0x2c){if(_0x5d4889===-0x1)throw new SyntaxError(_0x88d966(0x317)+_0x3f7f04);_0x273b14===-0x1&&(_0x273b14=_0x3f7f04);const _0x3ab0ed=_0x59e13c[_0x88d966(0x193)](_0x5d4889,_0x273b14);if(_0x56fbc7[_0x88d966(0x2fd)](_0x3ab0ed))throw new SyntaxError('The\x20\x22'+_0x3ab0ed+_0x88d966(0x2b7));_0x56fbc7['add'](_0x3ab0ed),_0x5d4889=_0x273b14=-0x1;}else throw new SyntaxError(_0x88d966(0x317)+_0x3f7f04);}}}if(_0x5d4889===-0x1||_0x273b14!==-0x1)throw new SyntaxError(_0x88d966(0x26e));const _0x1a1e2d=_0x59e13c[_0x88d966(0x193)](_0x5d4889,_0x3f7f04);if(_0x56fbc7[_0x88d966(0x2fd)](_0x1a1e2d))throw new SyntaxError('The\x20\x22'+_0x1a1e2d+_0x88d966(0x2b7));return _0x56fbc7['add'](_0x1a1e2d),_0x56fbc7;}return Ce={'parse':_0x249d56},Ce;}var Te,ot;function er(){const _0x42b7b3=_0x14a122;if(ot)return Te;ot=0x1;const _0x212d3d=_0x376dad,_0x487ece=_0x3dd2a6,{Duplex:_0x34be66}=_0x408a08,{createHash:_0xd2678c}=_0x34ccca,_0x5595c9=pt(),_0x58aa96=he(),_0xe4897b=Jt(),_0x121559=Ie(),{GUID:_0x5506d5,kWebSocket:_0x1259b9}=V(),_0x153520=/^[+/0-9A-Za-z]{22}==$/,_0x53e359=0x0,_0xf967e2=0x1,_0x43e1b6=0x2;class _0x42a030 extends _0x212d3d{constructor(_0x146e6e,_0x4a0623){const _0x4605f4=_0x5604;if(super(),_0x146e6e={'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':_0x121559,..._0x146e6e},_0x146e6e[_0x4605f4(0x272)]==null&&!_0x146e6e[_0x4605f4(0x28e)]&&!_0x146e6e['noServer']||_0x146e6e[_0x4605f4(0x272)]!=null&&(_0x146e6e[_0x4605f4(0x28e)]||_0x146e6e[_0x4605f4(0x224)])||_0x146e6e['server']&&_0x146e6e[_0x4605f4(0x224)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x146e6e['port']!=null?(this[_0x4605f4(0x24a)]=_0x487ece[_0x4605f4(0x2f0)]((_0x20f8ae,_0xf43041)=>{const _0x429445=_0x4605f4,_0x168def=_0x487ece['STATUS_CODES'][0x1aa];_0xf43041[_0x429445(0x2fe)](0x1aa,{'Content-Length':_0x168def[_0x429445(0x1e6)],'Content-Type':'text/plain'}),_0xf43041[_0x429445(0x1ad)](_0x168def);}),this[_0x4605f4(0x24a)][_0x4605f4(0x304)](_0x146e6e[_0x4605f4(0x272)],_0x146e6e[_0x4605f4(0x23e)],_0x146e6e[_0x4605f4(0x2bb)],_0x4a0623)):_0x146e6e[_0x4605f4(0x28e)]&&(this[_0x4605f4(0x24a)]=_0x146e6e['server']),this[_0x4605f4(0x24a)]){const _0xca6e34=this['emit'][_0x4605f4(0x253)](this,_0x4605f4(0x1af));this[_0x4605f4(0x2e7)]=_0x25c4c5(this[_0x4605f4(0x24a)],{'listening':this[_0x4605f4(0x294)]['bind'](this,_0x4605f4(0x1f5)),'error':this['emit'][_0x4605f4(0x253)](this,'error'),'upgrade':(_0x203104,_0x52ff35,_0xdf4d77)=>{const _0x16a89b=_0x4605f4;this[_0x16a89b(0x266)](_0x203104,_0x52ff35,_0xdf4d77,_0xca6e34);}});}_0x146e6e[_0x4605f4(0x2f4)]===!0x0&&(_0x146e6e[_0x4605f4(0x2f4)]={}),_0x146e6e[_0x4605f4(0x286)]&&(this[_0x4605f4(0x2d0)]=new Set(),this[_0x4605f4(0x175)]=!0x1),this[_0x4605f4(0x263)]=_0x146e6e,this['_state']=_0x53e359;}[_0x42b7b3(0x1f7)](){const _0x465cd6=_0x42b7b3;if(this['options'][_0x465cd6(0x224)])throw new Error(_0x465cd6(0x1e5));return this['_server']?this['_server'][_0x465cd6(0x1f7)]():null;}[_0x42b7b3(0x202)](_0x296d0b){const _0x3f19d1=_0x42b7b3;if(this[_0x3f19d1(0x2c7)]===_0x43e1b6){_0x296d0b&&this[_0x3f19d1(0x230)](_0x3f19d1(0x202),()=>{const _0x25f39d=_0x3f19d1;_0x296d0b(new Error(_0x25f39d(0x214)));}),process[_0x3f19d1(0x192)](_0x44f6b7,this);return;}if(_0x296d0b&&this[_0x3f19d1(0x230)](_0x3f19d1(0x202),_0x296d0b),this[_0x3f19d1(0x2c7)]!==_0xf967e2){if(this[_0x3f19d1(0x2c7)]=_0xf967e2,this['options'][_0x3f19d1(0x224)]||this['options'][_0x3f19d1(0x28e)])this[_0x3f19d1(0x24a)]&&(this[_0x3f19d1(0x2e7)](),this[_0x3f19d1(0x2e7)]=this[_0x3f19d1(0x24a)]=null),this[_0x3f19d1(0x2d0)]?this['clients'][_0x3f19d1(0x1e3)]?this['_shouldEmitClose']=!0x0:process[_0x3f19d1(0x192)](_0x44f6b7,this):process[_0x3f19d1(0x192)](_0x44f6b7,this);else{const _0xa1d987=this[_0x3f19d1(0x24a)];this[_0x3f19d1(0x2e7)](),this['_removeListeners']=this[_0x3f19d1(0x24a)]=null,_0xa1d987[_0x3f19d1(0x202)](()=>{_0x44f6b7(this);});}}}[_0x42b7b3(0x2dc)](_0x37da91){const _0x22271a=_0x42b7b3;if(this[_0x22271a(0x263)]['path']){const _0x9ef3da=_0x37da91[_0x22271a(0x1be)][_0x22271a(0x25a)]('?');if((_0x9ef3da!==-0x1?_0x37da91['url'][_0x22271a(0x193)](0x0,_0x9ef3da):_0x37da91[_0x22271a(0x1be)])!==this[_0x22271a(0x263)][_0x22271a(0x2c1)])return!0x1;}return!0x0;}[_0x42b7b3(0x266)](_0x37da56,_0x2d59d2,_0x213729,_0x582660){const _0x4f21de=_0x42b7b3;_0x2d59d2['on'](_0x4f21de(0x222),_0x19675b);const _0x2b89cb=_0x37da56[_0x4f21de(0x283)]['sec-websocket-key'],_0x56816f=_0x37da56['headers'][_0x4f21de(0x245)],_0x19a1ce=+_0x37da56[_0x4f21de(0x283)][_0x4f21de(0x30c)];if(_0x37da56[_0x4f21de(0x25b)]!=='GET'){_0x4534e5(this,_0x37da56,_0x2d59d2,0x195,_0x4f21de(0x1bb));return;}if(_0x56816f===void 0x0||_0x56816f[_0x4f21de(0x302)]()!==_0x4f21de(0x2b4)){_0x4534e5(this,_0x37da56,_0x2d59d2,0x190,_0x4f21de(0x1ea));return;}if(_0x2b89cb===void 0x0||!_0x153520[_0x4f21de(0x2ee)](_0x2b89cb)){_0x4534e5(this,_0x37da56,_0x2d59d2,0x190,_0x4f21de(0x2b9));return;}if(_0x19a1ce!==0x8&&_0x19a1ce!==0xd){_0x4534e5(this,_0x37da56,_0x2d59d2,0x190,_0x4f21de(0x1b0));return;}if(!this['shouldHandle'](_0x37da56)){_0x570e76(_0x2d59d2,0x190);return;}const _0x3b2bbe=_0x37da56['headers']['sec-websocket-protocol'];let _0x5e8483=new Set();if(_0x3b2bbe!==void 0x0)try{_0x5e8483=_0xe4897b['parse'](_0x3b2bbe);}catch{_0x4534e5(this,_0x37da56,_0x2d59d2,0x190,_0x4f21de(0x238));return;}const _0x30d26f=_0x37da56['headers'][_0x4f21de(0x1d1)],_0x11a92c={};if(this[_0x4f21de(0x263)][_0x4f21de(0x2f4)]&&_0x30d26f!==void 0x0){const _0x47070f=new _0x58aa96(this['options']['perMessageDeflate'],!0x0,this[_0x4f21de(0x263)][_0x4f21de(0x20b)]);try{const _0x483b66=_0x5595c9['parse'](_0x30d26f);_0x483b66[_0x58aa96[_0x4f21de(0x2cc)]]&&(_0x47070f[_0x4f21de(0x2b1)](_0x483b66[_0x58aa96[_0x4f21de(0x2cc)]]),_0x11a92c[_0x58aa96[_0x4f21de(0x2cc)]]=_0x47070f);}catch{_0x4534e5(this,_0x37da56,_0x2d59d2,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x4f21de(0x263)][_0x4f21de(0x219)]){const _0xdd74d4={'origin':_0x37da56['headers'][''+(_0x19a1ce===0x8?_0x4f21de(0x1f4):_0x4f21de(0x2f7))],'secure':!!(_0x37da56['socket'][_0x4f21de(0x2cb)]||_0x37da56[_0x4f21de(0x2db)][_0x4f21de(0x246)]),'req':_0x37da56};if(this[_0x4f21de(0x263)][_0x4f21de(0x219)][_0x4f21de(0x1e6)]===0x2){this['options'][_0x4f21de(0x219)](_0xdd74d4,(_0x344f4f,_0xe8d09c,_0x4aeb83,_0x5106e9)=>{const _0x535b05=_0x4f21de;if(!_0x344f4f)return _0x570e76(_0x2d59d2,_0xe8d09c||0x191,_0x4aeb83,_0x5106e9);this[_0x535b05(0x223)](_0x11a92c,_0x2b89cb,_0x5e8483,_0x37da56,_0x2d59d2,_0x213729,_0x582660);});return;}if(!this[_0x4f21de(0x263)][_0x4f21de(0x219)](_0xdd74d4))return _0x570e76(_0x2d59d2,0x191);}this[_0x4f21de(0x223)](_0x11a92c,_0x2b89cb,_0x5e8483,_0x37da56,_0x2d59d2,_0x213729,_0x582660);}[_0x42b7b3(0x223)](_0x1bfef2,_0x527d89,_0x18818c,_0x2420f5,_0x5ced4d,_0x4c0c5c,_0x2c4899){const _0x97679d=_0x42b7b3;if(!_0x5ced4d[_0x97679d(0x2be)]||!_0x5ced4d[_0x97679d(0x189)])return _0x5ced4d[_0x97679d(0x26f)]();if(_0x5ced4d[_0x1259b9])throw new Error(_0x97679d(0x297));if(this[_0x97679d(0x2c7)]>_0x53e359)return _0x570e76(_0x5ced4d,0x1f7);const _0x9563fa=[_0x97679d(0x1e1),_0x97679d(0x2fa),_0x97679d(0x291),_0x97679d(0x315)+_0xd2678c('sha1')[_0x97679d(0x2f2)](_0x527d89+_0x5506d5)[_0x97679d(0x1b8)]('base64')],_0x357197=new this[(_0x97679d(0x263))]['WebSocket'](null,void 0x0,this[_0x97679d(0x263)]);if(_0x18818c[_0x97679d(0x1e3)]){const _0xbdb50a=this[_0x97679d(0x263)]['handleProtocols']?this[_0x97679d(0x263)]['handleProtocols'](_0x18818c,_0x2420f5):_0x18818c[_0x97679d(0x2e9)]()[_0x97679d(0x2a5)]()[_0x97679d(0x2d5)];_0xbdb50a&&(_0x9563fa['push']('Sec-WebSocket-Protocol:\x20'+_0xbdb50a),_0x357197[_0x97679d(0x264)]=_0xbdb50a);}if(_0x1bfef2[_0x58aa96[_0x97679d(0x2cc)]]){const _0x49b9f7=_0x1bfef2[_0x58aa96[_0x97679d(0x2cc)]][_0x97679d(0x184)],_0x16a0a6=_0x5595c9[_0x97679d(0x2c2)]({[_0x58aa96['extensionName']]:[_0x49b9f7]});_0x9563fa[_0x97679d(0x2aa)]('Sec-WebSocket-Extensions:\x20'+_0x16a0a6),_0x357197[_0x97679d(0x2d4)]=_0x1bfef2;}this['emit'](_0x97679d(0x283),_0x9563fa,_0x2420f5),_0x5ced4d[_0x97679d(0x1eb)](_0x9563fa[_0x97679d(0x2f8)]('\x0d\x0a')['join']('\x0d\x0a')),_0x5ced4d[_0x97679d(0x2e3)](_0x97679d(0x222),_0x19675b),_0x357197[_0x97679d(0x17d)](_0x5ced4d,_0x4c0c5c,{'allowSynchronousEvents':this[_0x97679d(0x263)][_0x97679d(0x1ce)],'maxPayload':this[_0x97679d(0x263)][_0x97679d(0x20b)],'skipUTF8Validation':this[_0x97679d(0x263)]['skipUTF8Validation']}),this[_0x97679d(0x2d0)]&&(this[_0x97679d(0x2d0)]['add'](_0x357197),_0x357197['on'](_0x97679d(0x202),()=>{const _0x397a95=_0x97679d;this[_0x397a95(0x2d0)][_0x397a95(0x19c)](_0x357197),this[_0x397a95(0x175)]&&!this[_0x397a95(0x2d0)]['size']&&process[_0x397a95(0x192)](_0x44f6b7,this);})),_0x2c4899(_0x357197,_0x2420f5);}}Te=_0x42a030;function _0x25c4c5(_0x557fa5,_0x4ee4d3){const _0x51fa23=_0x42b7b3;for(const _0x681628 of Object[_0x51fa23(0x28d)](_0x4ee4d3))_0x557fa5['on'](_0x681628,_0x4ee4d3[_0x681628]);return function(){const _0x9326b2=_0x51fa23;for(const _0x31cba9 of Object['keys'](_0x4ee4d3))_0x557fa5[_0x9326b2(0x2e3)](_0x31cba9,_0x4ee4d3[_0x31cba9]);};}function _0x44f6b7(_0x5f4c68){const _0x279b4a=_0x42b7b3;_0x5f4c68[_0x279b4a(0x2c7)]=_0x43e1b6,_0x5f4c68[_0x279b4a(0x294)]('close');}function _0x19675b(){const _0x4d4b01=_0x42b7b3;this[_0x4d4b01(0x26f)]();}function _0x570e76(_0x54fb73,_0xb640fc,_0x2c0525,_0x16ca5e){const _0x16fdca=_0x42b7b3;_0x2c0525=_0x2c0525||_0x487ece[_0x16fdca(0x1d8)][_0xb640fc],_0x16ca5e={'Connection':_0x16fdca(0x202),'Content-Type':'text/html','Content-Length':Buffer[_0x16fdca(0x1de)](_0x2c0525),..._0x16ca5e},_0x54fb73[_0x16fdca(0x230)](_0x16fdca(0x1ca),_0x54fb73[_0x16fdca(0x26f)]),_0x54fb73['end'](_0x16fdca(0x240)+_0xb640fc+'\x20'+_0x487ece[_0x16fdca(0x1d8)][_0xb640fc]+'\x0d\x0a'+Object[_0x16fdca(0x28d)](_0x16ca5e)[_0x16fdca(0x1c9)](_0x151e7=>_0x151e7+':\x20'+_0x16ca5e[_0x151e7])[_0x16fdca(0x209)]('\x0d\x0a')+_0x16fdca(0x300)+_0x2c0525);}function _0x4534e5(_0x36cb5b,_0x44988b,_0x1b7bbd,_0xa1dbc0,_0x5526c6){const _0x2aa4e3=_0x42b7b3;if(_0x36cb5b[_0x2aa4e3(0x312)](_0x2aa4e3(0x1c8))){const _0x12a1c1=new Error(_0x5526c6);Error[_0x2aa4e3(0x273)](_0x12a1c1,_0x4534e5),_0x36cb5b['emit'](_0x2aa4e3(0x1c8),_0x12a1c1,_0x1b7bbd,_0x44988b);}else _0x570e76(_0x1b7bbd,_0xa1dbc0,_0x5526c6);}return Te;}er();var tr=Object[_0x14a122(0x1f6)],rr=(_0x9f62ee,_0x172ae0,_0x243e23,_0x4d4dae)=>{const _0x5dc662=_0x14a122;for(var _0x1d18a1=_0x4d4dae>0x1?void 0x0:_0x4d4dae?tr(_0x172ae0,_0x243e23):_0x172ae0,_0x420d25=_0x9f62ee[_0x5dc662(0x1e6)]-0x1,_0x53002d;_0x420d25>=0x0;_0x420d25--)(_0x53002d=_0x9f62ee[_0x420d25])&&(_0x1d18a1=_0x53002d(_0x1d18a1)||_0x1d18a1);return _0x1d18a1;},sr=(_0x45b4ba,_0x3a906e)=>(_0x241658,_0x46c990)=>_0x3a906e(_0x241658,_0x46c990,_0x45b4ba);let Ne=class extends _0x5bfdea{constructor(_0x6f4c64){const _0x509352=_0x14a122;super(),this[_0x509352(0x1f8)]=_0x6f4c64;}[_0x14a122(0x2ff)](_0x18b073){const _0x21ebd1=_0x14a122;var _0x3bd896;const _0x225422=(_0x3bd896=this[_0x21ebd1(0x1f8)]['getConfig'](Be))==null?void 0x0:_0x3bd896[_0x21ebd1(0x1f9)];try{const _0x44e48a=new Qt(_0x18b073,{'headers':{..._0x225422}}),_0x5bfdf6=new _0x582e0a();return{'URL':_0x18b073,'close':(_0x4db8bf,_0x391338)=>{const _0xf40b00=_0x21ebd1;_0x44e48a[_0xf40b00(0x202)](_0x4db8bf,_0x391338),_0x5bfdf6[_0xf40b00(0x2c9)]();},'send':_0x5b722a=>{const _0x59da68=_0x21ebd1;_0x44e48a[_0x59da68(0x2d6)](_0x5b722a);},'open$':new _0x54031b(_0x403e6e=>{const _0x1bff4e=_0x21ebd1,_0x506a52=_0x12ef23=>_0x403e6e[_0x1bff4e(0x2a5)](_0x12ef23);_0x44e48a['addEventListener'](_0x1bff4e(0x2d2),_0x506a52),_0x5bfdf6['add'](_0x2413f4(()=>_0x44e48a['removeEventListener']('open',_0x506a52)));})[_0x21ebd1(0x2ba)](_0x4e1d3b()),'close$':new _0x54031b(_0x708903=>{const _0x22ddc0=_0x21ebd1,_0x46744c=_0x1ba86c=>_0x708903['next'](_0x1ba86c);_0x44e48a[_0x22ddc0(0x2ad)]('close',_0x46744c),_0x5bfdf6[_0x22ddc0(0x29b)](_0x2413f4(()=>_0x44e48a[_0x22ddc0(0x2bf)](_0x22ddc0(0x202),_0x46744c)));})[_0x21ebd1(0x2ba)](_0x4e1d3b()),'error$':new _0x54031b(_0x81202a=>{const _0x1fa55e=_0x21ebd1,_0x234ec5=_0x158bce=>_0x81202a[_0x1fa55e(0x2a5)](_0x158bce);_0x44e48a[_0x1fa55e(0x2ad)](_0x1fa55e(0x222),_0x234ec5),_0x5bfdf6[_0x1fa55e(0x29b)](_0x2413f4(()=>_0x44e48a['removeEventListener']('error',_0x234ec5)));})[_0x21ebd1(0x2ba)](_0x4e1d3b()),'message$':new _0x54031b(_0x7100d7=>{const _0xb9d4af=_0x21ebd1,_0x58fece=_0x2ebb6c=>_0x7100d7[_0xb9d4af(0x2a5)](_0x2ebb6c);_0x44e48a[_0xb9d4af(0x2ad)](_0xb9d4af(0x1a6),_0x58fece),_0x5bfdf6['add'](_0x2413f4(()=>_0x44e48a[_0xb9d4af(0x2bf)]('message',_0x58fece)));})[_0x21ebd1(0x2ba)](_0x4e1d3b())};}catch(_0x3dbf8f){return console[_0x21ebd1(0x222)](_0x3dbf8f),null;}}};Ne=rr([sr(0x0,_0x31ea8d)],Ne);var ir=Object[_0x14a122(0x321)],nr=Object[_0x14a122(0x1f6)],or=(_0x434e7e,_0x3cd29e,_0x1300ae)=>_0x3cd29e in _0x434e7e?ir(_0x434e7e,_0x3cd29e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1300ae}):_0x434e7e[_0x3cd29e]=_0x1300ae,ar=(_0x3b2905,_0x8e24e,_0x8fdf77,_0x27a4c2)=>{for(var _0x246ff4=_0x27a4c2>0x1?void 0x0:_0x27a4c2?nr(_0x8e24e,_0x8fdf77):_0x8e24e,_0x38e13a=_0x3b2905['length']-0x1,_0x3bde3d;_0x38e13a>=0x0;_0x38e13a--)(_0x3bde3d=_0x3b2905[_0x38e13a])&&(_0x246ff4=_0x3bde3d(_0x246ff4)||_0x246ff4);return _0x246ff4;},ke=(_0x5951c2,_0x581e76)=>(_0x209718,_0x2467f2)=>_0x581e76(_0x209718,_0x2467f2,_0x5951c2),lr=(_0x5db0ae,_0x32503f,_0x8601e6)=>or(_0x5db0ae,_0x32503f+'',_0x8601e6);let Pe=class extends _0x4e0c14{constructor(_0x84f594=Ft,_0x3be24b,_0x504c6d,_0xb62768){const _0x2295db=_0x14a122;_0x84f594['customHeaders']||_0x3be24b[_0x2295db(0x226)](_0x2295db(0x24e)),super(),this[_0x2295db(0x1f8)]=_0x504c6d,this['_injector']=_0xb62768,this['_configService'][_0x2295db(0x20d)](Be,_0x84f594);}['onStarting'](){const _0x800fe6=_0x14a122;this[_0x800fe6(0x1e0)]();}[_0x14a122(0x1e0)](){const _0x3c765b=_0x14a122;_0x289661(this[_0x3c765b(0x306)],[[_0x2b2478,{'useClass':Ne}]]);}};lr(Pe,_0x14a122(0x303),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),Pe=ar([_0x50821d(_0x27ac0b),ke(0x1,_0x2280c9),ke(0x2,_0x31ea8d),ke(0x3,_0x19b0d9(_0x603b3a))],Pe);var fr=Object[_0x14a122(0x1f6)],cr=(_0x1faf3d,_0x412c7f,_0x4b3f50,_0x55d748)=>{for(var _0x1d9f6c=_0x55d748>0x1?void 0x0:_0x55d748?fr(_0x412c7f,_0x4b3f50):_0x412c7f,_0x53687b=_0x1faf3d['length']-0x1,_0x1b6543;_0x53687b>=0x0;_0x53687b--)(_0x1b6543=_0x1faf3d[_0x53687b])&&(_0x1d9f6c=_0x1b6543(_0x1d9f6c)||_0x1d9f6c);return _0x1d9f6c;},se=(_0x387e29,_0x2f8547)=>(_0x299682,_0x260f2c)=>_0x2f8547(_0x299682,_0x260f2c,_0x387e29);let at=class extends _0x501b0e{constructor(_0x5efa83,_0x10bf90,_0x708b55,_0x370577,_0x157235){const _0xc91626=_0x14a122;super(_0x5efa83,_0x10bf90,_0x708b55,_0x370577,_0x157235);const _0x1d11b1=this['_configService'][_0xc91626(0x2de)](Be);this[_0xc91626(0x1db)][_0xc91626(0x1c5)]({'interceptor':(_0x14ba41,_0x50e750)=>{const _0x3dd214=_0xc91626;var _0x31928b;const _0x129444=_0x14ba41['headers'];return(_0x31928b=_0x1d11b1==null?void 0x0:_0x1d11b1[_0x3dd214(0x1f9)])!=null&&_0x31928b[_0x3dd214(0x2b5)]&&_0x129444[_0x3dd214(0x319)](_0x3dd214(0x2e5),_0x1d11b1[_0x3dd214(0x1f9)][_0x3dd214(0x2b5)]),_0x50e750(_0x14ba41);}});}async[_0x14a122(0x2ff)](_0x31534e){return this['_doCreateSocket'](_0x31534e);}};at=cr([se(0x0,_0x19b0d9(_0x603b3a)),se(0x1,_0x19b0d9(_0x434683)),se(0x2,_0x31ea8d),se(0x3,_0x2280c9),se(0x4,_0x362b60)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};function _0x5038(){const _0x3f7c1b=['bufferedAmount','params','getPayloadLength64','kWasClean','frame','invalid\x20status\x20code\x20','writable','7180NlwFJV','Sec-WebSocket-Extensions','_opcode','_firstFragment','env','includes','from','username','nextTick','slice','unexpected-response','Server\x20sent\x20an\x20invalid\x20subprotocol','pow','permessage-deflate','_originalSecure','clientNoContextTakeover','allocUnsafe','_no_context_takeover','delete','byteOffset','_fragmented','_loop','pause','657xYgYHf','object','\x22:\x20','onopen','status-code','message','alloc','_max_window_bits','_skipUTF8Validation','fin','cleanup','CLOSED','end','reset','connection','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','hasOwnProperty','_closeTimer','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','kDone','create','redirect','isBuffer','digest','autoPong','invalid\x20payload\x20length\x20','Invalid\x20HTTP\x20method','maskBuffer','buffers','url','ws:','threshold','socketPath','acceptAsClient','consume','acceptAsServer','registerHTTPInterceptor','kByteLength','compress','wsClientError','map','finish','__esModule','hostname','blob','allowSynchronousEvents','listeners','zlibInflateOptions','sec-websocket-extensions','auth','_url','CLOSING','string','Basic\x20','normalizeParams','STATUS_CODES','pong','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','_httpService','_threshold','server_no_context_takeover','byteLength','_mask','_registerDependencies','HTTP/1.1\x20101\x20Switching\x20Protocols','generateMask','size','invalid\x20opcode\x20','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','length','WS_ERR_EXPECTED_FIN','_fin','data','Invalid\x20Upgrade\x20header','write','_decompress','6918632VJLTKB','createError','Invalid\x20WebSocket\x20frame:\x20','_readableState','Invalid\x20Sec-WebSocket-Extensions\x20header','offer','ping','sec-websocket-origin','listening','getOwnPropertyDescriptor','address','_configService','customHeaders','_generateMask','_originalHostOrSocketPath','concurrency','target','arrayBuffer','find','kError','readUInt16BE','close','setNoDelay','readyState','client_no_context_takeover','_maxPayload','zlibDeflateOptions','entries','join','wasClean','maxPayload','_inflate','setConfig','objectMode','function','createConnection','_receiver','http:','Opening\x20handshake\x20has\x20timed\x20out','The\x20server\x20is\x20not\x20running','forEach','_errorEmitted','sendFrame','statusCode','verifyClient','concurrencyLimit','pathname','replace','clientMaxWindowBits','writeUInt16BE','RSV1\x20must\x20be\x20clear','isPaused','_final','error','completeUpgrade','noServer','binaryType','warn','_buffers','defaultPort','_totalPayloadLength','_closeMessage','WebSocket\x20is\x20not\x20open:\x20readyState\x20','resume','nodebuffer','toStringTag','kType','once','jobs','\x22\x20must\x20have\x20only\x20a\x20single\x20value','charCodeAt','pending','shift','reason','password','Invalid\x20Sec-WebSocket-Protocol\x20header','constructor','WS_ERR_UNEXPECTED_MASK','Unsupported\x20protocol\x20version:\x20','_autoPong','_isServer','host','onmessage','HTTP/1.1\x20','isValidUTF8','search','_payloadLength','isInteger','upgrade','encrypted','_queue','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','protocol','_server','fragments','_bufferedBytes','Max\x20payload\x20size\x20exceeded','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','_messageLength','stream','Module','Z_DEFAULT_WINDOWBITS','bind','location','opcode','startsWith','dataMessage','exports','_paused','indexOf','method','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','The\x20URL\x27s\x20pathname\x20is\x20empty','The\x20URL\x20contains\x20a\x20fragment\x20identifier','2oFXZjg','_write','binary','_readyState','options','_protocol','_originalIpc','handleUpgrade','_allowSynchronousEvents','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','getPayloadLength16','onerror','Unexpected\x20end\x20of\x20input','destroy','rsv1','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','port','captureStackTrace','dequeue','then','_redirects','_maskBuffer','readOnly','enqueue','WS_ERR_UNEXPECTED_RSV_1','startLoop','server_max_window_bits','Server\x20sent\x20no\x20subprotocol','arraybuffer','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','emitClose','request','GET','headers','wss:','onclose','clientTracking','toString','readUInt32BE','freeze','kTarget','sha1','get','keys','server','_sender','connect','Connection:\x20Upgrade','split','1601064OiOJOr','emit','maxRedirects','setTimeout','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','needDrain','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','add','Sec-WebSocket-Protocol','unshift','buffer','_errored','6WHzVmM','servername','flush','Invalid\x20URL:\x20','extensions','next','prototype','terminate','createDeflateRaw','812033sjozHv','push','controlMessage','_deflate','addEventListener','Z_SYNC_FLUSH','handleEvent','_writableState','accept','OPEN','kMessage','websocket','cookie','isIP','\x22\x20subprotocol\x20is\x20duplicated','handshakeTimeout','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','pipe','backlog','WS_NO_BUFFER_UTIL','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','readable','removeEventListener','setHeader','path','format','invalid\x20UTF-8\x20sequence','isArray','call','12CzSCKs','_state','serverNoContextTakeover','dispose','skipUTF8Validation','authorized','extensionName','client_max_window_bits','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','_closeFrameReceived','clients','Invalid\x20value\x20for\x20parameter\x20\x22','open','invalid\x20opcode\x200','_extensions','value','send','total-length','9383BsJmfO','decompress','followRedirects','socket','shouldHandle','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','getConfig','_compressed','\x20(supported\x20versions:\x20','species','Blob','removeListener','1749095wqdhgd','Cookie','href','_removeListeners','endEmitted','values','collaboration-client-node.config','haveLength','_req','_socket','test','client','createServer','getMask','update','conclude','perMessageDeflate','destroyed','184696ovXRhq','origin','concat','type','Upgrade:\x20websocket','Upgrade','code','has','writeHead','createSocket','\x0d\x0a\x0d\x0a','FIN\x20must\x20be\x20set','toLowerCase','pluginName','listen','timeout','_injector','_fragments','finished','default','getInfo','abort','sec-websocket-version','_masked','_binaryType','authorization','WS_ERR_INVALID_OPCODE','WS_ERR_UNEXPECTED_RSV_2_3','listenerCount','_options','_closeFrameSent','Sec-WebSocket-Accept:\x20','Parameter\x20\x22','Unexpected\x20character\x20at\x20index\x20','WS_NO_UTF_8_VALIDATE','set','13UOojUk','1753959VnnduK','serverMaxWindowBits','createInflateRaw','protocolVersion','dispatch','mask','defineProperty','_compress','_shouldEmitClose','kCode','removeAllListeners','finishRequest','errorEmitted','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','getBlobData','setSocket','base64','_closeCode','CONNECTING','number','_bufferedAmount'];_0x5038=function(){return _0x3f7c1b;};return _0x5038();}
|
|
1
|
+
const _0x21d35a=_0x2516;(function(_0x19555d,_0x2b4e93){const _0x63d335=_0x2516,_0x33d851=_0x19555d();while(!![]){try{const _0x3d12b4=parseInt(_0x63d335(0x1e5))/0x1+parseInt(_0x63d335(0x331))/0x2*(-parseInt(_0x63d335(0x362))/0x3)+parseInt(_0x63d335(0x1de))/0x4+-parseInt(_0x63d335(0x278))/0x5*(-parseInt(_0x63d335(0x316))/0x6)+-parseInt(_0x63d335(0x2f0))/0x7+-parseInt(_0x63d335(0x2e9))/0x8+-parseInt(_0x63d335(0x292))/0x9*(-parseInt(_0x63d335(0x2a4))/0xa);if(_0x3d12b4===_0x2b4e93)break;else _0x33d851['push'](_0x33d851['shift']());}catch(_0x425cd2){_0x33d851['push'](_0x33d851['shift']());}}}(_0x2bb6,0x557db));import{UniverCollaborationClientPlugin as _0x73c3ef,CollaborationSocketService as _0x4182bb}from'@univerjs-pro/collaboration-client';function _0x2bb6(){const _0x262902=['has','_mask','callback','_removeListeners','rsv1','once','haveLength','_url','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','_originalIpc','construct','Z_DEFAULT_WINDOWBITS','The\x20server\x20is\x20not\x20running','kType','wasClean','getConfig','server','set','Server\x20sent\x20an\x20invalid\x20subprotocol','cleanup','exports','normalizeParams','shift','Sec-WebSocket-Extensions:\x20','sec-websocket-protocol','listenerCount','Invalid\x20Sec-WebSocket-Extensions\x20header','username','Invalid\x20HTTP\x20method','ping','kData','nextTick','clients','setConfig','removeEventListener','Invalid\x20WebSocket\x20frame:\x20','_writableState','handleUpgrade','code','getOwnPropertyDescriptor','send','uncork','kByteLength','string','unshift','GET','maxPayload','_bufferedAmount','sendFrame','_buffers','4359952fKThJz','WS_ERR_UNEXPECTED_MASK','createSocket','pending','stream','_readableState','The\x20URL\x27s\x20pathname\x20is\x20empty','3734591xelUVd','dispose','env','sec-websocket-version','map','jobs','pause','endEmitted','_skipUTF8Validation','sec-websocket-origin','Upgrade:\x20websocket','Cookie','kError','isView','enqueue','_originalHostOrSocketPath','_bufferedBytes','errorEmitted','RSV1\x20must\x20be\x20clear','_compressed','opcode','connect','completeUpgrade','next','isServer','number','verifyClient','update','_maskBuffer','allowSynchronousEvents','_fragments','WS_NO_UTF_8_VALIDATE','destroy','_masked','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','species','_inflate','keys','1228434DLedLE','frame','OPEN','toString','_generateMask','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','replace','concurrency','join','Opening\x20handshake\x20has\x20timed\x20out','handleEvent','binaryType','finish','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','Sec-WebSocket-Protocol','MASK\x20must\x20be\x20clear','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','setSocket','_final','server_no_context_takeover','getData','registerHTTPInterceptor','onmessage','clientTracking','setNoDelay','_state','kAborted','34674dBBNMq','headers','origin','onopen','WS_ERR_INVALID_UTF8','finishRequest','_max_window_bits','bind','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','Unknown\x20parameter\x20\x22','Sec-WebSocket-Origin','push','_messageLength','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','Invalid\x20Upgrade\x20header','params','_extensions','message','protocolVersion','_closeFrameSent','needDrain','onerror','WS_ERR_EXPECTED_FIN','WS_ERR_INVALID_OPCODE','kIsForOnEventAttribute','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','_isServer','startLoop','data','warn','apply','protocol','call','length','captureStackTrace','onclose','WS_ERR_INVALID_CLOSE_CODE','servername','authorized','clientNoContextTakeover','defaultPort','Sec-WebSocket-Accept:\x20','createConnection','acceptAsServer','hostname','readyState','unmask','options','decompress','99WgQeaD','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','dequeue','getPayloadLength64','dataMessage','Upgrade','isBuffer','FIN\x20must\x20be\x20set','noServer','object','Invalid\x20Sec-WebSocket-Protocol\x20header','socketPath','_closeTimer','_firstFragment','_redirects','url','https:','CLOSED','catch','_deflate','getInfo','Maximum\x20redirects\x20exceeded','write','from','alloc','_allowSynchronousEvents','_shouldEmitClose','total-length','entries','_payloadLength','_compress','Unexpected\x20character\x20at\x20index\x20','location','Origin','password','address','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','generateMask','target','__esModule','followRedirects','_options','statusCode','toLowerCase','pong','Unexpected\x20end\x20of\x20input','function','websocket','2309324EHZbLH','_injector','defineProperty','authorization','\x22\x20must\x20have\x20only\x20a\x20single\x20value','error','startsWith','532992lilBEm','WS_ERR_EXPECTED_MASK','charCodeAt','byteOffset','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','then','kWasClean','find','concat','server_max_window_bits','emit','\x22:\x20','Max\x20payload\x20size\x20exceeded','conclude','Sec-WebSocket-Protocol:\x20','hash','fin','auth','nodebuffer','STATUS_CODES','_loop','_write','pathname','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','writeUInt16BE','_totalPayloadLength','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','ws:','controlMessage','constructor','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','_sender','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','WS_ERR_UNEXPECTED_RSV_1','_paused','kReason','socket','removeAllListeners','blob','createDeflateRaw','response','destroyed','delete','wss:','extensions','consume','client','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','threshold','handleProtocols','includes','_autoPong','encrypted','_no_context_takeover','invalid\x20opcode\x20','writeUIntBE','test','bufferedAmount','prototype','permessage-deflate','accept','_closeMessage','setTimeout','offer','_closeCode','Blob','Basic\x20','terminate','_server','cookie','_errored','perMessageDeflate','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','Invalid\x20URL:\x20','request','sha1','open','zlibInflateOptions','parse','_binaryType','split','reset','_queue','wsClientError','_opcode','pluginName','sec-websocket-extensions','addEventListener','serverMaxWindowBits','extensionName','fragments','_req','getMask','Parameter\x20\x22','client_max_window_bits','byteLength','pipe','\x20(supported\x20versions:\x20','buffers','type','allocUnsafe','default','text/html','invalid\x20UTF-8\x20sequence','kListener','_registerDependencies','_errorEmitted','createError','customHeaders','_readyState','HTTP/1.1\x20','_receiver','listening','compress','digest','objectMode','getPayloadLength16','readUInt16BE','value','WebSocket','clientMaxWindowBits','invalid\x20status\x20code\x20','autoPong','unexpected-response','indexOf','kCode','_maxPayload','arrayBuffer','maxRedirects','emitClose','WS_NO_BUFFER_UTIL','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','drain','flush','isIP','timeout','isValidUTF8','_read','slice','_closeFrameReceived','WS_ERR_UNEXPECTED_RSV_2_3','isInteger','The\x20\x22','getBlobData','size','buffer','readOnly','5VjeONE','dispatch','mask','abort','href','kTarget','skipUTF8Validation','isPaused','host','_threshold','listen','freeze','_decompress','forEach','path','serverNoContextTakeover','_socket','_originalSecure','reason','_fragmented','removeListener','\x22\x20subprotocol\x20is\x20duplicated','readUInt32BE','client_no_context_takeover','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','create','1053LFiBYW','backlog','Z_SYNC_FLUSH','File','_configService','hasOwnProperty','acceptAsClient','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','CLOSING','pow','setHeader','arraybuffer','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','end','\x0d\x0a\x0d\x0a','_protocol','status-code','redirect','58610LoesfT','toStringTag','search','resume','close','finished','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','Invalid\x20value\x20for\x20parameter\x20\x22','handshakeTimeout','base64','add','CONNECTING','concurrencyLimit','method','_fin','port','binary','upgrade','ws+unix:'];_0x2bb6=function(){return _0x262902;};return _0x2bb6();}import{Disposable as _0x4a40fe,DisposableCollection as _0x31ecbc,toDisposable as _0x1815e3,IConfigService as _0xf36e0c,DependentOn as _0x2066fe,ILogService as _0x5c59b7,Inject as _0x4400ae,Injector as _0x11a9c4,Plugin as _0x44fe10,registerDependencies as _0x42021e}from'@univerjs/core';import{ISocketService as _0xfb5ba6,HTTPService as _0x18fa51}from'@univerjs/network';import{Observable as _0x12c114,share as _0x17d4e5}from'rxjs';import _0x455b83 from'events';import _0x4441cb from'https';import _0x13b8ac from'http';import _0x430911 from'net';import _0x4f8da5 from'tls';import _0x276912 from'crypto';function _0x2516(_0x4f297b,_0x62d1fb){const _0x2bb6f1=_0x2bb6();return _0x2516=function(_0x251641,_0x48449b){_0x251641=_0x251641-0x1b5;let _0x2622fa=_0x2bb6f1[_0x251641];return _0x2622fa;},_0x2516(_0x4f297b,_0x62d1fb);}import _0x454b47 from'stream';import _0x2750c6 from'url';import _0x58a5af from'zlib';import _0x1bbed2 from'buffer';import{ISnapshotServerService as _0xe201a4}from'@univerjs-pro/collaboration';const Be='collaboration-client-node.config',Ft={'customHeaders':{}};function jt(_0x1670fa){const _0x5bbda0=_0x2516;return _0x1670fa&&_0x1670fa[_0x5bbda0(0x1d5)]&&Object[_0x5bbda0(0x21f)][_0x5bbda0(0x297)]['call'](_0x1670fa,_0x5bbda0(0x24a))?_0x1670fa[_0x5bbda0(0x24a)]:_0x1670fa;}function ut(_0x2623d1){const _0x3167cd=_0x2516;if(Object[_0x3167cd(0x21f)][_0x3167cd(0x297)]['call'](_0x2623d1,_0x3167cd(0x1d5)))return _0x2623d1;var _0x1e4d92=_0x2623d1[_0x3167cd(0x24a)];if(typeof _0x1e4d92==_0x3167cd(0x1dc)){var _0x2d410d=function _0x28947c(){const _0x14143b=_0x3167cd;return this instanceof _0x28947c?Reflect[_0x14143b(0x2c1)](_0x1e4d92,arguments,this[_0x14143b(0x202)]):_0x1e4d92[_0x14143b(0x34f)](this,arguments);};_0x2d410d[_0x3167cd(0x21f)]=_0x1e4d92[_0x3167cd(0x21f)];}else _0x2d410d={};return Object[_0x3167cd(0x1e0)](_0x2d410d,_0x3167cd(0x1d5),{'value':!0x0}),Object[_0x3167cd(0x315)](_0x2623d1)[_0x3167cd(0x285)](function(_0x3f814b){const _0x2d1603=_0x3167cd;var _0x324508=Object['getOwnPropertyDescriptor'](_0x2623d1,_0x3f814b);Object[_0x2d1603(0x1e0)](_0x2d410d,_0x3f814b,_0x324508['get']?_0x324508:{'enumerable':!0x0,'get':function(){return _0x2623d1[_0x3f814b];}});}),_0x2d410d;}var te={'exports':{}},ge,Ye;function V(){const _0x4e9d23=_0x2516;if(Ye)return ge;Ye=0x1;const _0x3a6557=[_0x4e9d23(0x1f7),'arraybuffer',_0x4e9d23(0x23f)],_0x36cf75=typeof Blob<'u';return _0x36cf75&&_0x3a6557[_0x4e9d23(0x33c)]('blob'),ge={'BINARY_TYPES':_0x3a6557,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x36cf75,'kForOnEventAttribute':Symbol(_0x4e9d23(0x349)),'kListener':Symbol(_0x4e9d23(0x24d)),'kStatusCode':Symbol(_0x4e9d23(0x2a2)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x21d35a(0x283)](Object[_0x21d35a(0x1e0)]({'__proto__':null,'default':Wt},Symbol[_0x21d35a(0x2a5)],{'value':'Module'})),Vt=ut(Gt);var Ke;function ce(){const _0x50e5df=_0x21d35a;if(Ke)return te[_0x50e5df(0x2cb)];Ke=0x1;const {EMPTY_BUFFER:_0x136fbf}=V(),_0xa31771=Buffer[Symbol[_0x50e5df(0x313)]];function _0x1d95d4(_0x2b4768,_0x506359){const _0xc6d84f=_0x50e5df;if(_0x2b4768[_0xc6d84f(0x352)]===0x0)return _0x136fbf;if(_0x2b4768[_0xc6d84f(0x352)]===0x1)return _0x2b4768[0x0];const _0x379b21=Buffer[_0xc6d84f(0x249)](_0x506359);let _0x1255bf=0x0;for(let _0x34cf67=0x0;_0x34cf67<_0x2b4768['length'];_0x34cf67++){const _0x2d4444=_0x2b4768[_0x34cf67];_0x379b21[_0xc6d84f(0x2c8)](_0x2d4444,_0x1255bf),_0x1255bf+=_0x2d4444[_0xc6d84f(0x352)];}return _0x1255bf<_0x506359?new _0xa31771(_0x379b21[_0xc6d84f(0x276)],_0x379b21[_0xc6d84f(0x1e8)],_0x1255bf):_0x379b21;}function _0x17879d(_0x53c8f3,_0x2c1d73,_0x44dd27,_0x1dd113,_0x1b42d7){for(let _0x294aed=0x0;_0x294aed<_0x1b42d7;_0x294aed++)_0x44dd27[_0x1dd113+_0x294aed]=_0x53c8f3[_0x294aed]^_0x2c1d73[_0x294aed&0x3];}function _0x3d3e51(_0x29b35c,_0x27e346){const _0x1cfdaa=_0x50e5df;for(let _0x50669a=0x0;_0x50669a<_0x29b35c[_0x1cfdaa(0x352)];_0x50669a++)_0x29b35c[_0x50669a]^=_0x27e346[_0x50669a&0x3];}function _0x1c6044(_0x5cb8fb){const _0x333b7d=_0x50e5df;return _0x5cb8fb['length']===_0x5cb8fb[_0x333b7d(0x276)][_0x333b7d(0x244)]?_0x5cb8fb['buffer']:_0x5cb8fb[_0x333b7d(0x276)][_0x333b7d(0x26f)](_0x5cb8fb[_0x333b7d(0x1e8)],_0x5cb8fb['byteOffset']+_0x5cb8fb['length']);}function _0x2654a2(_0x12d1cd){const _0x4c59c3=_0x50e5df;if(_0x2654a2[_0x4c59c3(0x277)]=!0x0,Buffer[_0x4c59c3(0x368)](_0x12d1cd))return _0x12d1cd;let _0x467875;return _0x12d1cd instanceof ArrayBuffer?_0x467875=new _0xa31771(_0x12d1cd):ArrayBuffer[_0x4c59c3(0x2fd)](_0x12d1cd)?_0x467875=new _0xa31771(_0x12d1cd[_0x4c59c3(0x276)],_0x12d1cd[_0x4c59c3(0x1e8)],_0x12d1cd[_0x4c59c3(0x244)]):(_0x467875=Buffer[_0x4c59c3(0x1c5)](_0x12d1cd),_0x2654a2[_0x4c59c3(0x277)]=!0x1),_0x467875;}if(te[_0x50e5df(0x2cb)]={'concat':_0x1d95d4,'mask':_0x17879d,'toArrayBuffer':_0x1c6044,'toBuffer':_0x2654a2,'unmask':_0x3d3e51},!process['env'][_0x50e5df(0x267)])try{const _0x4650b8=Vt;te[_0x50e5df(0x2cb)]['mask']=function(_0x254e0f,_0x423b54,_0x17bb89,_0x4809e2,_0x2f98bc){const _0x3d7294=_0x50e5df;_0x2f98bc<0x30?_0x17879d(_0x254e0f,_0x423b54,_0x17bb89,_0x4809e2,_0x2f98bc):_0x4650b8[_0x3d7294(0x27a)](_0x254e0f,_0x423b54,_0x17bb89,_0x4809e2,_0x2f98bc);},te[_0x50e5df(0x2cb)][_0x50e5df(0x35f)]=function(_0x457874,_0x5fd8e3){const _0x1077c1=_0x50e5df;_0x457874[_0x1077c1(0x352)]<0x20?_0x3d3e51(_0x457874,_0x5fd8e3):_0x4650b8['unmask'](_0x457874,_0x5fd8e3);};}catch{}return te[_0x50e5df(0x2cb)];}var ye,Xe;function qt(){const _0x569ef5=_0x21d35a;if(Xe)return ye;Xe=0x1;const _0x1c9030=Symbol('kDone'),_0xf7fb6d=Symbol('kRun');class _0xe87091{constructor(_0x3934a8){const _0x70d45e=_0x2516;this[_0x1c9030]=()=>{const _0x5bdda7=_0x2516;this[_0x5bdda7(0x2ec)]--,this[_0xf7fb6d]();},this[_0x70d45e(0x31d)]=_0x3934a8||0x1/0x0,this['jobs']=[],this[_0x70d45e(0x2ec)]=0x0;}[_0x569ef5(0x2ae)](_0x480a8a){const _0x251409=_0x569ef5;this[_0x251409(0x2f5)]['push'](_0x480a8a),this[_0xf7fb6d]();}[_0xf7fb6d](){const _0x5d6ff1=_0x569ef5;if(this[_0x5d6ff1(0x2ec)]!==this[_0x5d6ff1(0x31d)]&&this[_0x5d6ff1(0x2f5)][_0x5d6ff1(0x352)]){const _0x5a5960=this[_0x5d6ff1(0x2f5)][_0x5d6ff1(0x2cd)]();this[_0x5d6ff1(0x2ec)]++,_0x5a5960(this[_0x1c9030]);}}}return ye=_0xe87091,ye;}var ve,Ze;function he(){const _0x396bfc=_0x21d35a;if(Ze)return ve;Ze=0x1;const _0x1c6dcd=_0x58a5af,_0x3ad365=ce(),_0x2ff27d=qt(),{kStatusCode:_0xb95ba9}=V(),_0x1fc9d1=Buffer[Symbol[_0x396bfc(0x313)]],_0x222a6f=Buffer[_0x396bfc(0x1c5)]([0x0,0x0,0xff,0xff]),_0x5e9e36=Symbol(_0x396bfc(0x220)),_0x547ccf=Symbol(_0x396bfc(0x1c9)),_0x4355e6=Symbol(_0x396bfc(0x2b9)),_0x50b2b2=Symbol(_0x396bfc(0x247)),_0x26a7e9=Symbol(_0x396bfc(0x1e3));let _0x5f22d3;class _0x3f3865{constructor(_0x54ec5f,_0x3e7f2c,_0x33dc13){const _0x1c90b8=_0x396bfc;if(this[_0x1c90b8(0x263)]=_0x33dc13|0x0,this['_options']=_0x54ec5f||{},this[_0x1c90b8(0x281)]=this[_0x1c90b8(0x1d7)]['threshold']!==void 0x0?this['_options'][_0x1c90b8(0x215)]:0x400,this[_0x1c90b8(0x34b)]=!!_0x3e7f2c,this[_0x1c90b8(0x1c1)]=null,this[_0x1c90b8(0x314)]=null,this[_0x1c90b8(0x340)]=null,!_0x5f22d3){const _0x5dae33=this[_0x1c90b8(0x1d7)][_0x1c90b8(0x2b0)]!==void 0x0?this[_0x1c90b8(0x1d7)][_0x1c90b8(0x2b0)]:0xa;_0x5f22d3=new _0x2ff27d(_0x5dae33);}}static get[_0x396bfc(0x23e)](){const _0x4a26c6=_0x396bfc;return _0x4a26c6(0x220);}[_0x396bfc(0x224)](){const _0x81150b=_0x396bfc,_0xfddd8e={};return this['_options'][_0x81150b(0x287)]&&(_0xfddd8e[_0x81150b(0x329)]=!0x0),this['_options'][_0x81150b(0x358)]&&(_0xfddd8e[_0x81150b(0x28f)]=!0x0),this[_0x81150b(0x1d7)][_0x81150b(0x23d)]&&(_0xfddd8e['server_max_window_bits']=this[_0x81150b(0x1d7)][_0x81150b(0x23d)]),this['_options'][_0x81150b(0x25d)]?_0xfddd8e[_0x81150b(0x243)]=this[_0x81150b(0x1d7)][_0x81150b(0x25d)]:this['_options']['clientMaxWindowBits']==null&&(_0xfddd8e[_0x81150b(0x243)]=!0x0),_0xfddd8e;}[_0x396bfc(0x221)](_0x3462c7){const _0x197b6f=_0x396bfc;return _0x3462c7=this['normalizeParams'](_0x3462c7),this[_0x197b6f(0x340)]=this['_isServer']?this[_0x197b6f(0x35c)](_0x3462c7):this['acceptAsClient'](_0x3462c7),this['params'];}[_0x396bfc(0x2ca)](){const _0x4f5e0b=_0x396bfc;if(this[_0x4f5e0b(0x314)]&&(this[_0x4f5e0b(0x314)][_0x4f5e0b(0x2a8)](),this[_0x4f5e0b(0x314)]=null),this['_deflate']){const _0xa21887=this[_0x4f5e0b(0x1c1)][_0x4355e6];this[_0x4f5e0b(0x1c1)][_0x4f5e0b(0x2a8)](),this[_0x4f5e0b(0x1c1)]=null,_0xa21887&&_0xa21887(new Error(_0x4f5e0b(0x1fc)));}}['acceptAsServer'](_0x1fb44e){const _0x593f1a=_0x396bfc,_0xd0d374=this['_options'],_0x3f7d0a=_0x1fb44e[_0x593f1a(0x1ec)](_0x4c14fc=>!(_0xd0d374[_0x593f1a(0x287)]===!0x1&&_0x4c14fc[_0x593f1a(0x329)]||_0x4c14fc['server_max_window_bits']&&(_0xd0d374[_0x593f1a(0x23d)]===!0x1||typeof _0xd0d374['serverMaxWindowBits']=='number'&&_0xd0d374[_0x593f1a(0x23d)]>_0x4c14fc[_0x593f1a(0x1ee)])||typeof _0xd0d374[_0x593f1a(0x25d)]==_0x593f1a(0x309)&&!_0x4c14fc[_0x593f1a(0x243)]));if(!_0x3f7d0a)throw new Error(_0x593f1a(0x1ff));return _0xd0d374[_0x593f1a(0x287)]&&(_0x3f7d0a['server_no_context_takeover']=!0x0),_0xd0d374['clientNoContextTakeover']&&(_0x3f7d0a['client_no_context_takeover']=!0x0),typeof _0xd0d374['serverMaxWindowBits']=='number'&&(_0x3f7d0a[_0x593f1a(0x1ee)]=_0xd0d374[_0x593f1a(0x23d)]),typeof _0xd0d374[_0x593f1a(0x25d)]==_0x593f1a(0x309)?_0x3f7d0a['client_max_window_bits']=_0xd0d374[_0x593f1a(0x25d)]:(_0x3f7d0a[_0x593f1a(0x243)]===!0x0||_0xd0d374['clientMaxWindowBits']===!0x1)&&delete _0x3f7d0a[_0x593f1a(0x243)],_0x3f7d0a;}[_0x396bfc(0x298)](_0x1c8950){const _0x289ec7=_0x396bfc,_0x494cb1=_0x1c8950[0x0];if(this[_0x289ec7(0x1d7)]['clientNoContextTakeover']===!0x1&&_0x494cb1[_0x289ec7(0x28f)])throw new Error(_0x289ec7(0x323));if(!_0x494cb1[_0x289ec7(0x243)])typeof this[_0x289ec7(0x1d7)][_0x289ec7(0x25d)]=='number'&&(_0x494cb1[_0x289ec7(0x243)]=this[_0x289ec7(0x1d7)][_0x289ec7(0x25d)]);else{if(this[_0x289ec7(0x1d7)][_0x289ec7(0x25d)]===!0x1||typeof this[_0x289ec7(0x1d7)][_0x289ec7(0x25d)]=='number'&&_0x494cb1[_0x289ec7(0x243)]>this[_0x289ec7(0x1d7)][_0x289ec7(0x25d)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x494cb1;}[_0x396bfc(0x2cc)](_0x4864ec){return _0x4864ec['forEach'](_0x2aabe6=>{const _0x5beb6f=_0x2516;Object[_0x5beb6f(0x315)](_0x2aabe6)[_0x5beb6f(0x285)](_0x2cfcd7=>{const _0x29cf00=_0x5beb6f;let _0x584e0b=_0x2aabe6[_0x2cfcd7];if(_0x584e0b['length']>0x1)throw new Error(_0x29cf00(0x242)+_0x2cfcd7+_0x29cf00(0x1e2));if(_0x584e0b=_0x584e0b[0x0],_0x2cfcd7===_0x29cf00(0x243)){if(_0x584e0b!==!0x0){const _0xa9fac=+_0x584e0b;if(!Number[_0x29cf00(0x272)](_0xa9fac)||_0xa9fac<0x8||_0xa9fac>0xf)throw new TypeError(_0x29cf00(0x2ab)+_0x2cfcd7+_0x29cf00(0x1f0)+_0x584e0b);_0x584e0b=_0xa9fac;}else{if(!this[_0x29cf00(0x34b)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x2cfcd7+_0x29cf00(0x1f0)+_0x584e0b);}}else{if(_0x2cfcd7==='server_max_window_bits'){const _0x13b703=+_0x584e0b;if(!Number[_0x29cf00(0x272)](_0x13b703)||_0x13b703<0x8||_0x13b703>0xf)throw new TypeError(_0x29cf00(0x2ab)+_0x2cfcd7+'\x22:\x20'+_0x584e0b);_0x584e0b=_0x13b703;}else{if(_0x2cfcd7===_0x29cf00(0x28f)||_0x2cfcd7===_0x29cf00(0x329)){if(_0x584e0b!==!0x0)throw new TypeError(_0x29cf00(0x2ab)+_0x2cfcd7+_0x29cf00(0x1f0)+_0x584e0b);}else throw new Error(_0x29cf00(0x33a)+_0x2cfcd7+'\x22');}}_0x2aabe6[_0x2cfcd7]=_0x584e0b;});}),_0x4864ec;}[_0x396bfc(0x361)](_0x50d4c6,_0x290e30,_0x5780b2){const _0x2f8ea8=_0x396bfc;_0x5f22d3[_0x2f8ea8(0x2ae)](_0x3ed927=>{const _0x2e1e81=_0x2f8ea8;this[_0x2e1e81(0x284)](_0x50d4c6,_0x290e30,(_0x2d9c89,_0x57ed05)=>{_0x3ed927(),_0x5780b2(_0x2d9c89,_0x57ed05);});});}['compress'](_0x238921,_0x1f5026,_0xd6effc){const _0x257e21=_0x396bfc;_0x5f22d3[_0x257e21(0x2ae)](_0x42c7e3=>{const _0x58f8fe=_0x257e21;this[_0x58f8fe(0x1cc)](_0x238921,_0x1f5026,(_0x9cd1b8,_0x176de6)=>{_0x42c7e3(),_0xd6effc(_0x9cd1b8,_0x176de6);});});}['_decompress'](_0x3bda89,_0x37ca1c,_0x3e7c9b){const _0x33a3f2=_0x396bfc,_0x4300b9=this[_0x33a3f2(0x34b)]?_0x33a3f2(0x213):_0x33a3f2(0x2c7);if(!this['_inflate']){const _0x30154b=_0x4300b9+'_max_window_bits',_0x57a06e=typeof this[_0x33a3f2(0x340)][_0x30154b]!=_0x33a3f2(0x309)?_0x1c6dcd[_0x33a3f2(0x2c2)]:this[_0x33a3f2(0x340)][_0x30154b];this[_0x33a3f2(0x314)]=_0x1c6dcd['createInflateRaw']({...this[_0x33a3f2(0x1d7)][_0x33a3f2(0x232)],'windowBits':_0x57a06e}),this[_0x33a3f2(0x314)][_0x5e9e36]=this,this['_inflate'][_0x547ccf]=0x0,this[_0x33a3f2(0x314)][_0x50b2b2]=[],this[_0x33a3f2(0x314)]['on']('error',_0x30d103),this['_inflate']['on']('data',_0x26b590);}this['_inflate'][_0x4355e6]=_0x3e7c9b,this['_inflate'][_0x33a3f2(0x1c4)](_0x3bda89),_0x37ca1c&&this[_0x33a3f2(0x314)][_0x33a3f2(0x1c4)](_0x222a6f),this['_inflate'][_0x33a3f2(0x26a)](()=>{const _0x5d4415=_0x33a3f2,_0x3fbd22=this[_0x5d4415(0x314)][_0x26a7e9];if(_0x3fbd22){this[_0x5d4415(0x314)][_0x5d4415(0x2a8)](),this[_0x5d4415(0x314)]=null,_0x3e7c9b(_0x3fbd22);return;}const _0x316bef=_0x3ad365['concat'](this['_inflate'][_0x50b2b2],this['_inflate'][_0x547ccf]);this[_0x5d4415(0x314)][_0x5d4415(0x2ee)][_0x5d4415(0x2f7)]?(this['_inflate'][_0x5d4415(0x2a8)](),this[_0x5d4415(0x314)]=null):(this[_0x5d4415(0x314)][_0x547ccf]=0x0,this[_0x5d4415(0x314)][_0x50b2b2]=[],_0x37ca1c&&this[_0x5d4415(0x340)][_0x4300b9+_0x5d4415(0x21a)]&&this[_0x5d4415(0x314)]['reset']()),_0x3e7c9b(null,_0x316bef);});}[_0x396bfc(0x1cc)](_0x558cde,_0x4514be,_0x5a9655){const _0x549b25=_0x396bfc,_0x1a75e0=this[_0x549b25(0x34b)]?'server':_0x549b25(0x213);if(!this[_0x549b25(0x1c1)]){const _0x448397=_0x1a75e0+_0x549b25(0x337),_0xed7036=typeof this[_0x549b25(0x340)][_0x448397]!=_0x549b25(0x309)?_0x1c6dcd[_0x549b25(0x2c2)]:this['params'][_0x448397];this[_0x549b25(0x1c1)]=_0x1c6dcd[_0x549b25(0x20c)]({...this['_options']['zlibDeflateOptions'],'windowBits':_0xed7036}),this[_0x549b25(0x1c1)][_0x547ccf]=0x0,this['_deflate'][_0x50b2b2]=[],this[_0x549b25(0x1c1)]['on']('data',_0x3bed61);}this['_deflate'][_0x4355e6]=_0x5a9655,this[_0x549b25(0x1c1)][_0x549b25(0x1c4)](_0x558cde),this[_0x549b25(0x1c1)]['flush'](_0x1c6dcd[_0x549b25(0x294)],()=>{const _0xfd7c02=_0x549b25;if(!this[_0xfd7c02(0x1c1)])return;let _0x5bfc3b=_0x3ad365[_0xfd7c02(0x1ed)](this[_0xfd7c02(0x1c1)][_0x50b2b2],this[_0xfd7c02(0x1c1)][_0x547ccf]);_0x4514be&&(_0x5bfc3b=new _0x1fc9d1(_0x5bfc3b[_0xfd7c02(0x276)],_0x5bfc3b[_0xfd7c02(0x1e8)],_0x5bfc3b[_0xfd7c02(0x352)]-0x4)),this[_0xfd7c02(0x1c1)][_0x4355e6]=null,this[_0xfd7c02(0x1c1)][_0x547ccf]=0x0,this[_0xfd7c02(0x1c1)][_0x50b2b2]=[],_0x4514be&&this[_0xfd7c02(0x340)][_0x1a75e0+_0xfd7c02(0x21a)]&&this[_0xfd7c02(0x1c1)][_0xfd7c02(0x236)](),_0x5a9655(null,_0x5bfc3b);});}}ve=_0x3f3865;function _0x3bed61(_0x366c71){const _0x243141=_0x396bfc;this[_0x50b2b2][_0x243141(0x33c)](_0x366c71),this[_0x547ccf]+=_0x366c71[_0x243141(0x352)];}function _0x26b590(_0x198b77){const _0x619cf3=_0x396bfc;if(this[_0x547ccf]+=_0x198b77['length'],this[_0x5e9e36][_0x619cf3(0x263)]<0x1||this[_0x547ccf]<=this[_0x5e9e36][_0x619cf3(0x263)]){this[_0x50b2b2][_0x619cf3(0x33c)](_0x198b77);return;}this[_0x26a7e9]=new RangeError(_0x619cf3(0x1f1)),this[_0x26a7e9][_0x619cf3(0x2dd)]=_0x619cf3(0x1d2),this[_0x26a7e9][_0xb95ba9]=0x3f1,this[_0x619cf3(0x28c)](_0x619cf3(0x34d),_0x26b590),this[_0x619cf3(0x236)]();}function _0x30d103(_0x25017e){const _0x44d416=_0x396bfc;this[_0x5e9e36][_0x44d416(0x314)]=null,_0x25017e[_0xb95ba9]=0x3ef,this[_0x4355e6](_0x25017e);}return ve;}var re={'exports':{}};const Ht={},zt=Object['freeze'](Object[_0x21d35a(0x1e0)]({'__proto__':null,'default':Ht},Symbol[_0x21d35a(0x2a5)],{'value':'Module'})),Yt=ut(zt);var Qe;function ne(){const _0x289cf6=_0x21d35a;if(Qe)return re[_0x289cf6(0x2cb)];Qe=0x1;const {isUtf8:_0x222d7e}=_0x1bbed2,{hasBlob:_0x44e31a}=V(),_0x2ad1c0=[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 _0x2b403d(_0x1d55a2){return _0x1d55a2>=0x3e8&&_0x1d55a2<=0x3f6&&_0x1d55a2!==0x3ec&&_0x1d55a2!==0x3ed&&_0x1d55a2!==0x3ee||_0x1d55a2>=0xbb8&&_0x1d55a2<=0x1387;}function _0x30c3cd(_0x1e0a6e){const _0x4124ca=_0x289cf6,_0x19c301=_0x1e0a6e[_0x4124ca(0x352)];let _0x4c99ae=0x0;for(;_0x4c99ae<_0x19c301;)if((_0x1e0a6e[_0x4c99ae]&0x80)===0x0)_0x4c99ae++;else{if((_0x1e0a6e[_0x4c99ae]&0xe0)===0xc0){if(_0x4c99ae+0x1===_0x19c301||(_0x1e0a6e[_0x4c99ae+0x1]&0xc0)!==0x80||(_0x1e0a6e[_0x4c99ae]&0xfe)===0xc0)return!0x1;_0x4c99ae+=0x2;}else{if((_0x1e0a6e[_0x4c99ae]&0xf0)===0xe0){if(_0x4c99ae+0x2>=_0x19c301||(_0x1e0a6e[_0x4c99ae+0x1]&0xc0)!==0x80||(_0x1e0a6e[_0x4c99ae+0x2]&0xc0)!==0x80||_0x1e0a6e[_0x4c99ae]===0xe0&&(_0x1e0a6e[_0x4c99ae+0x1]&0xe0)===0x80||_0x1e0a6e[_0x4c99ae]===0xed&&(_0x1e0a6e[_0x4c99ae+0x1]&0xe0)===0xa0)return!0x1;_0x4c99ae+=0x3;}else{if((_0x1e0a6e[_0x4c99ae]&0xf8)===0xf0){if(_0x4c99ae+0x3>=_0x19c301||(_0x1e0a6e[_0x4c99ae+0x1]&0xc0)!==0x80||(_0x1e0a6e[_0x4c99ae+0x2]&0xc0)!==0x80||(_0x1e0a6e[_0x4c99ae+0x3]&0xc0)!==0x80||_0x1e0a6e[_0x4c99ae]===0xf0&&(_0x1e0a6e[_0x4c99ae+0x1]&0xf0)===0x80||_0x1e0a6e[_0x4c99ae]===0xf4&&_0x1e0a6e[_0x4c99ae+0x1]>0x8f||_0x1e0a6e[_0x4c99ae]>0xf4)return!0x1;_0x4c99ae+=0x4;}else return!0x1;}}}return!0x0;}function _0x3ff4db(_0x44f3c8){const _0x37e421=_0x289cf6;return _0x44e31a&&typeof _0x44f3c8==_0x37e421(0x1b7)&&typeof _0x44f3c8[_0x37e421(0x264)]==_0x37e421(0x1dc)&&typeof _0x44f3c8['type']=='string'&&typeof _0x44f3c8[_0x37e421(0x2ed)]==_0x37e421(0x1dc)&&(_0x44f3c8[Symbol[_0x37e421(0x2a5)]]===_0x37e421(0x226)||_0x44f3c8[Symbol[_0x37e421(0x2a5)]]===_0x37e421(0x295));}if(re[_0x289cf6(0x2cb)]={'isBlob':_0x3ff4db,'isValidStatusCode':_0x2b403d,'isValidUTF8':_0x30c3cd,'tokenChars':_0x2ad1c0},_0x222d7e)re[_0x289cf6(0x2cb)][_0x289cf6(0x26d)]=function(_0x454b2d){const _0x209228=_0x289cf6;return _0x454b2d[_0x209228(0x352)]<0x18?_0x30c3cd(_0x454b2d):_0x222d7e(_0x454b2d);};else{if(!process[_0x289cf6(0x2f2)][_0x289cf6(0x30f)])try{const _0x439992=Yt;re[_0x289cf6(0x2cb)]['isValidUTF8']=function(_0x51b23b){return _0x51b23b['length']<0x20?_0x30c3cd(_0x51b23b):_0x439992(_0x51b23b);};}catch{}}return re[_0x289cf6(0x2cb)];}var Se,Je;function dt(){const _0x4666bd=_0x21d35a;if(Je)return Se;Je=0x1;const {Writable:_0x4ed2c1}=_0x454b47,_0x2decd4=he(),{BINARY_TYPES:_0x507de8,EMPTY_BUFFER:_0x145018,kStatusCode:_0x1e90c2,kWebSocket:_0x38cdb7}=V(),{concat:_0x4528a4,toArrayBuffer:_0x51acb4,unmask:_0x5283d6}=ce(),{isValidStatusCode:_0x19662f,isValidUTF8:_0x201c46}=ne(),_0x46ef3b=Buffer[Symbol[_0x4666bd(0x313)]],_0x29ad5f=0x0,_0x26c4b2=0x1,_0x4ff925=0x2,_0x1b7250=0x3,_0x529018=0x4,_0x455ca4=0x5,_0xb90152=0x6;class _0x367c5c extends _0x4ed2c1{constructor(_0xd03bdf={}){const _0x3a7596=_0x4666bd;super(),this[_0x3a7596(0x1c7)]=_0xd03bdf[_0x3a7596(0x30d)]!==void 0x0?_0xd03bdf[_0x3a7596(0x30d)]:!0x0,this[_0x3a7596(0x234)]=_0xd03bdf[_0x3a7596(0x321)]||_0x507de8[0x0],this[_0x3a7596(0x341)]=_0xd03bdf[_0x3a7596(0x211)]||{},this[_0x3a7596(0x34b)]=!!_0xd03bdf[_0x3a7596(0x308)],this['_maxPayload']=_0xd03bdf[_0x3a7596(0x2e5)]|0x0,this[_0x3a7596(0x2f8)]=!!_0xd03bdf[_0x3a7596(0x27e)],this[_0x38cdb7]=void 0x0,this['_bufferedBytes']=0x0,this[_0x3a7596(0x2e8)]=[],this[_0x3a7596(0x303)]=!0x1,this[_0x3a7596(0x1cb)]=0x0,this[_0x3a7596(0x2b8)]=void 0x0,this[_0x3a7596(0x28b)]=0x0,this[_0x3a7596(0x311)]=!0x1,this[_0x3a7596(0x2b2)]=!0x1,this[_0x3a7596(0x239)]=0x0,this[_0x3a7596(0x1fe)]=0x0,this['_messageLength']=0x0,this[_0x3a7596(0x30e)]=[],this['_errored']=!0x1,this['_loop']=!0x1,this[_0x3a7596(0x32f)]=_0x29ad5f;}[_0x4666bd(0x1fa)](_0x3431ff,_0x422fd6,_0x1c6185){const _0x42faca=_0x4666bd;if(this[_0x42faca(0x239)]===0x8&&this[_0x42faca(0x32f)]==_0x29ad5f)return _0x1c6185();this[_0x42faca(0x300)]+=_0x3431ff[_0x42faca(0x352)],this[_0x42faca(0x2e8)][_0x42faca(0x33c)](_0x3431ff),this['startLoop'](_0x1c6185);}['consume'](_0x3644ce){const _0x202db7=_0x4666bd;if(this[_0x202db7(0x300)]-=_0x3644ce,_0x3644ce===this['_buffers'][0x0][_0x202db7(0x352)])return this['_buffers'][_0x202db7(0x2cd)]();if(_0x3644ce<this[_0x202db7(0x2e8)][0x0]['length']){const _0x410cf8=this['_buffers'][0x0];return this[_0x202db7(0x2e8)][0x0]=new _0x46ef3b(_0x410cf8[_0x202db7(0x276)],_0x410cf8[_0x202db7(0x1e8)]+_0x3644ce,_0x410cf8[_0x202db7(0x352)]-_0x3644ce),new _0x46ef3b(_0x410cf8[_0x202db7(0x276)],_0x410cf8[_0x202db7(0x1e8)],_0x3644ce);}const _0x3b404e=Buffer[_0x202db7(0x249)](_0x3644ce);do{const _0x56c1f4=this[_0x202db7(0x2e8)][0x0],_0x276619=_0x3b404e[_0x202db7(0x352)]-_0x3644ce;_0x3644ce>=_0x56c1f4[_0x202db7(0x352)]?_0x3b404e[_0x202db7(0x2c8)](this[_0x202db7(0x2e8)]['shift'](),_0x276619):(_0x3b404e[_0x202db7(0x2c8)](new Uint8Array(_0x56c1f4[_0x202db7(0x276)],_0x56c1f4[_0x202db7(0x1e8)],_0x3644ce),_0x276619),this[_0x202db7(0x2e8)][0x0]=new _0x46ef3b(_0x56c1f4['buffer'],_0x56c1f4[_0x202db7(0x1e8)]+_0x3644ce,_0x56c1f4[_0x202db7(0x352)]-_0x3644ce)),_0x3644ce-=_0x56c1f4[_0x202db7(0x352)];}while(_0x3644ce>0x0);return _0x3b404e;}[_0x4666bd(0x34c)](_0x278397){const _0x3f42d1=_0x4666bd;this[_0x3f42d1(0x1f9)]=!0x0;do switch(this['_state']){case _0x29ad5f:this[_0x3f42d1(0x1c2)](_0x278397);break;case _0x26c4b2:this[_0x3f42d1(0x259)](_0x278397);break;case _0x4ff925:this[_0x3f42d1(0x365)](_0x278397);break;case _0x1b7250:this[_0x3f42d1(0x241)]();break;case _0x529018:this[_0x3f42d1(0x32a)](_0x278397);break;case _0x455ca4:case _0xb90152:this['_loop']=!0x1;return;}while(this['_loop']);this[_0x3f42d1(0x22b)]||_0x278397();}['getInfo'](_0x1d4146){const _0x4c192e=_0x4666bd;if(this[_0x4c192e(0x300)]<0x2){this['_loop']=!0x1;return;}const _0x10c466=this[_0x4c192e(0x212)](0x2);if((_0x10c466[0x0]&0x30)!==0x0){const _0x5f3af8=this[_0x4c192e(0x250)](RangeError,_0x4c192e(0x203),!0x0,0x3ea,_0x4c192e(0x271));_0x1d4146(_0x5f3af8);return;}const _0x59652e=(_0x10c466[0x0]&0x40)===0x40;if(_0x59652e&&!this[_0x4c192e(0x341)][_0x2decd4[_0x4c192e(0x23e)]]){const _0xec4661=this[_0x4c192e(0x250)](RangeError,_0x4c192e(0x302),!0x0,0x3ea,_0x4c192e(0x206));_0x1d4146(_0xec4661);return;}if(this['_fin']=(_0x10c466[0x0]&0x80)===0x80,this['_opcode']=_0x10c466[0x0]&0xf,this['_payloadLength']=_0x10c466[0x1]&0x7f,this['_opcode']===0x0){if(_0x59652e){const _0x3280ef=this['createError'](RangeError,_0x4c192e(0x302),!0x0,0x3ea,_0x4c192e(0x206));_0x1d4146(_0x3280ef);return;}if(!this['_fragmented']){const _0x411bdb=this[_0x4c192e(0x250)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x1d4146(_0x411bdb);return;}this[_0x4c192e(0x239)]=this[_0x4c192e(0x28b)];}else{if(this[_0x4c192e(0x239)]===0x1||this[_0x4c192e(0x239)]===0x2){if(this[_0x4c192e(0x28b)]){const _0xa3e2a5=this[_0x4c192e(0x250)](RangeError,_0x4c192e(0x21b)+this[_0x4c192e(0x239)],!0x0,0x3ea,_0x4c192e(0x348));_0x1d4146(_0xa3e2a5);return;}this['_compressed']=_0x59652e;}else{if(this['_opcode']>0x7&&this[_0x4c192e(0x239)]<0xb){if(!this[_0x4c192e(0x2b2)]){const _0x5ce854=this[_0x4c192e(0x250)](RangeError,_0x4c192e(0x1b5),!0x0,0x3ea,_0x4c192e(0x347));_0x1d4146(_0x5ce854);return;}if(_0x59652e){const _0x293228=this[_0x4c192e(0x250)](RangeError,_0x4c192e(0x302),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x1d4146(_0x293228);return;}if(this[_0x4c192e(0x1cb)]>0x7d||this['_opcode']===0x8&&this['_payloadLength']===0x1){const _0x13a54b=this['createError'](RangeError,'invalid\x20payload\x20length\x20'+this[_0x4c192e(0x1cb)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x1d4146(_0x13a54b);return;}}else{const _0xfd0162=this['createError'](RangeError,_0x4c192e(0x21b)+this[_0x4c192e(0x239)],!0x0,0x3ea,_0x4c192e(0x348));_0x1d4146(_0xfd0162);return;}}}if(!this['_fin']&&!this[_0x4c192e(0x28b)]&&(this[_0x4c192e(0x28b)]=this['_opcode']),this[_0x4c192e(0x311)]=(_0x10c466[0x1]&0x80)===0x80,this[_0x4c192e(0x34b)]){if(!this[_0x4c192e(0x311)]){const _0x11394d=this[_0x4c192e(0x250)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x4c192e(0x1e6));_0x1d4146(_0x11394d);return;}}else{if(this[_0x4c192e(0x311)]){const _0x1a40e0=this[_0x4c192e(0x250)](RangeError,_0x4c192e(0x325),!0x0,0x3ea,_0x4c192e(0x2ea));_0x1d4146(_0x1a40e0);return;}}this[_0x4c192e(0x1cb)]===0x7e?this[_0x4c192e(0x32f)]=_0x26c4b2:this['_payloadLength']===0x7f?this['_state']=_0x4ff925:this[_0x4c192e(0x2bd)](_0x1d4146);}[_0x4666bd(0x259)](_0x4125ab){const _0xf82379=_0x4666bd;if(this['_bufferedBytes']<0x2){this[_0xf82379(0x1f9)]=!0x1;return;}this['_payloadLength']=this['consume'](0x2)['readUInt16BE'](0x0),this[_0xf82379(0x2bd)](_0x4125ab);}[_0x4666bd(0x365)](_0x323881){const _0x3bbf7f=_0x4666bd;if(this[_0x3bbf7f(0x300)]<0x8){this[_0x3bbf7f(0x1f9)]=!0x1;return;}const _0x4aeaf7=this[_0x3bbf7f(0x212)](0x8),_0x1a1315=_0x4aeaf7[_0x3bbf7f(0x28e)](0x0);if(_0x1a1315>Math[_0x3bbf7f(0x29b)](0x2,0x15)-0x1){const _0xbbbd95=this[_0x3bbf7f(0x250)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0x3bbf7f(0x33e));_0x323881(_0xbbbd95);return;}this[_0x3bbf7f(0x1cb)]=_0x1a1315*Math[_0x3bbf7f(0x29b)](0x2,0x20)+_0x4aeaf7[_0x3bbf7f(0x28e)](0x4),this['haveLength'](_0x323881);}[_0x4666bd(0x2bd)](_0x175d77){const _0x3ee79a=_0x4666bd;if(this[_0x3ee79a(0x1cb)]&&this['_opcode']<0x8&&(this[_0x3ee79a(0x1fe)]+=this[_0x3ee79a(0x1cb)],this['_totalPayloadLength']>this['_maxPayload']&&this[_0x3ee79a(0x263)]>0x0)){const _0x22e2db=this[_0x3ee79a(0x250)](RangeError,_0x3ee79a(0x1f1),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x175d77(_0x22e2db);return;}this[_0x3ee79a(0x311)]?this[_0x3ee79a(0x32f)]=_0x1b7250:this[_0x3ee79a(0x32f)]=_0x529018;}[_0x4666bd(0x241)](){const _0x2c6449=_0x4666bd;if(this[_0x2c6449(0x300)]<0x4){this[_0x2c6449(0x1f9)]=!0x1;return;}this[_0x2c6449(0x2b8)]=this[_0x2c6449(0x212)](0x4),this[_0x2c6449(0x32f)]=_0x529018;}[_0x4666bd(0x32a)](_0x3c78a2){const _0x53e8c1=_0x4666bd;let _0x283325=_0x145018;if(this['_payloadLength']){if(this[_0x53e8c1(0x300)]<this['_payloadLength']){this[_0x53e8c1(0x1f9)]=!0x1;return;}_0x283325=this[_0x53e8c1(0x212)](this[_0x53e8c1(0x1cb)]),this[_0x53e8c1(0x311)]&&(this[_0x53e8c1(0x2b8)][0x0]|this[_0x53e8c1(0x2b8)][0x1]|this[_0x53e8c1(0x2b8)][0x2]|this[_0x53e8c1(0x2b8)][0x3])!==0x0&&_0x5283d6(_0x283325,this[_0x53e8c1(0x2b8)]);}if(this['_opcode']>0x7){this[_0x53e8c1(0x201)](_0x283325,_0x3c78a2);return;}if(this[_0x53e8c1(0x303)]){this['_state']=_0x455ca4,this[_0x53e8c1(0x361)](_0x283325,_0x3c78a2);return;}_0x283325[_0x53e8c1(0x352)]&&(this[_0x53e8c1(0x33d)]=this['_totalPayloadLength'],this[_0x53e8c1(0x30e)][_0x53e8c1(0x33c)](_0x283325)),this['dataMessage'](_0x3c78a2);}[_0x4666bd(0x361)](_0x457cef,_0x9278d1){const _0x58baf3=_0x4666bd;this[_0x58baf3(0x341)][_0x2decd4[_0x58baf3(0x23e)]][_0x58baf3(0x361)](_0x457cef,this[_0x58baf3(0x2b2)],(_0x5a7383,_0x3078a6)=>{const _0xd923f1=_0x58baf3;if(_0x5a7383)return _0x9278d1(_0x5a7383);if(_0x3078a6[_0xd923f1(0x352)]){if(this['_messageLength']+=_0x3078a6[_0xd923f1(0x352)],this[_0xd923f1(0x33d)]>this['_maxPayload']&&this[_0xd923f1(0x263)]>0x0){const _0x35cce7=this[_0xd923f1(0x250)](RangeError,_0xd923f1(0x1f1),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x9278d1(_0x35cce7);return;}this['_fragments'][_0xd923f1(0x33c)](_0x3078a6);}this[_0xd923f1(0x366)](_0x9278d1),this[_0xd923f1(0x32f)]===_0x29ad5f&&this[_0xd923f1(0x34c)](_0x9278d1);});}[_0x4666bd(0x366)](_0x459442){const _0xb1d0db=_0x4666bd;if(!this[_0xb1d0db(0x2b2)]){this[_0xb1d0db(0x32f)]=_0x29ad5f;return;}const _0x389aa6=this['_messageLength'],_0x3ac6bf=this[_0xb1d0db(0x30e)];if(this[_0xb1d0db(0x1fe)]=0x0,this[_0xb1d0db(0x33d)]=0x0,this['_fragmented']=0x0,this['_fragments']=[],this[_0xb1d0db(0x239)]===0x2){let _0x3a6062;this['_binaryType']==='nodebuffer'?_0x3a6062=_0x4528a4(_0x3ac6bf,_0x389aa6):this[_0xb1d0db(0x234)]===_0xb1d0db(0x29d)?_0x3a6062=_0x51acb4(_0x4528a4(_0x3ac6bf,_0x389aa6)):this[_0xb1d0db(0x234)]===_0xb1d0db(0x20b)?_0x3a6062=new Blob(_0x3ac6bf):_0x3a6062=_0x3ac6bf,this['_allowSynchronousEvents']?(this['emit'](_0xb1d0db(0x342),_0x3a6062,!0x0),this['_state']=_0x29ad5f):(this[_0xb1d0db(0x32f)]=_0xb90152,setImmediate(()=>{const _0x587210=_0xb1d0db;this[_0x587210(0x1ef)]('message',_0x3a6062,!0x0),this[_0x587210(0x32f)]=_0x29ad5f,this[_0x587210(0x34c)](_0x459442);}));}else{const _0x29f342=_0x4528a4(_0x3ac6bf,_0x389aa6);if(!this[_0xb1d0db(0x2f8)]&&!_0x201c46(_0x29f342)){const _0x3f669e=this[_0xb1d0db(0x250)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0xb1d0db(0x335));_0x459442(_0x3f669e);return;}this['_state']===_0x455ca4||this[_0xb1d0db(0x1c7)]?(this[_0xb1d0db(0x1ef)]('message',_0x29f342,!0x1),this[_0xb1d0db(0x32f)]=_0x29ad5f):(this[_0xb1d0db(0x32f)]=_0xb90152,setImmediate(()=>{const _0x271c9b=_0xb1d0db;this['emit']('message',_0x29f342,!0x1),this[_0x271c9b(0x32f)]=_0x29ad5f,this['startLoop'](_0x459442);}));}}[_0x4666bd(0x201)](_0x5d2578,_0x168051){const _0x57a2f7=_0x4666bd;if(this[_0x57a2f7(0x239)]===0x8){if(_0x5d2578['length']===0x0)this[_0x57a2f7(0x1f9)]=!0x1,this[_0x57a2f7(0x1ef)](_0x57a2f7(0x1f2),0x3ed,_0x145018),this[_0x57a2f7(0x29f)]();else{const _0x2b174c=_0x5d2578[_0x57a2f7(0x25a)](0x0);if(!_0x19662f(_0x2b174c)){const _0x255584=this['createError'](RangeError,_0x57a2f7(0x25e)+_0x2b174c,!0x0,0x3ea,_0x57a2f7(0x355));_0x168051(_0x255584);return;}const _0x695864=new _0x46ef3b(_0x5d2578[_0x57a2f7(0x276)],_0x5d2578[_0x57a2f7(0x1e8)]+0x2,_0x5d2578[_0x57a2f7(0x352)]-0x2);if(!this[_0x57a2f7(0x2f8)]&&!_0x201c46(_0x695864)){const _0x398001=this['createError'](Error,_0x57a2f7(0x24c),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x168051(_0x398001);return;}this[_0x57a2f7(0x1f9)]=!0x1,this['emit'](_0x57a2f7(0x1f2),_0x2b174c,_0x695864),this[_0x57a2f7(0x29f)]();}this[_0x57a2f7(0x32f)]=_0x29ad5f;return;}this['_allowSynchronousEvents']?(this[_0x57a2f7(0x1ef)](this[_0x57a2f7(0x239)]===0x9?_0x57a2f7(0x2d4):'pong',_0x5d2578),this[_0x57a2f7(0x32f)]=_0x29ad5f):(this[_0x57a2f7(0x32f)]=_0xb90152,setImmediate(()=>{const _0x32e504=_0x57a2f7;this[_0x32e504(0x1ef)](this[_0x32e504(0x239)]===0x9?'ping':'pong',_0x5d2578),this[_0x32e504(0x32f)]=_0x29ad5f,this[_0x32e504(0x34c)](_0x168051);}));}[_0x4666bd(0x250)](_0x3ff212,_0x337501,_0x32db06,_0x3747f4,_0x26fab0){const _0xff5c77=_0x4666bd;this[_0xff5c77(0x1f9)]=!0x1,this['_errored']=!0x0;const _0x1c4fb3=new _0x3ff212(_0x32db06?_0xff5c77(0x2da)+_0x337501:_0x337501);return Error[_0xff5c77(0x353)](_0x1c4fb3,this[_0xff5c77(0x250)]),_0x1c4fb3['code']=_0x26fab0,_0x1c4fb3[_0x1e90c2]=_0x3747f4,_0x1c4fb3;}}return Se=_0x367c5c,Se;}var Ee,et;function _t(){const _0x143171=_0x21d35a;if(et)return Ee;et=0x1;const {Duplex:_0x150ba2}=_0x454b47,{randomFillSync:_0x1dd406}=_0x276912,_0x278568=he(),{EMPTY_BUFFER:_0x5786b6,kWebSocket:_0x286b0b,NOOP:_0x5223b8}=V(),{isBlob:_0xc9cc71,isValidStatusCode:_0x470473}=ne(),{mask:_0x27b24b,toBuffer:_0x1a598a}=ce(),_0x44f25f=Symbol(_0x143171(0x2e1)),_0x2968be=Buffer[_0x143171(0x1c6)](0x4),_0x5595a5=0x8*0x400;let _0x5d4175,_0x3afd82=_0x5595a5;const _0x518550=0x0,_0x273eac=0x1,_0x4935e4=0x2;class _0xb0a68d{constructor(_0x1bb629,_0x358d79,_0x2950a2){const _0x5bd3ee=_0x143171;this[_0x5bd3ee(0x341)]=_0x358d79||{},_0x2950a2&&(this['_generateMask']=_0x2950a2,this[_0x5bd3ee(0x30c)]=Buffer[_0x5bd3ee(0x1c6)](0x4)),this[_0x5bd3ee(0x288)]=_0x1bb629,this[_0x5bd3ee(0x1bb)]=!0x0,this[_0x5bd3ee(0x1cc)]=!0x1,this[_0x5bd3ee(0x300)]=0x0,this[_0x5bd3ee(0x237)]=[],this[_0x5bd3ee(0x32f)]=_0x518550,this[_0x5bd3ee(0x346)]=_0x5223b8,this[_0x286b0b]=void 0x0;}static[_0x143171(0x317)](_0x213237,_0xafdd3){const _0x2ee9a6=_0x143171;let _0x3f8f84,_0x5ac186=!0x1,_0x24e393=0x2,_0x4f2816=!0x1;_0xafdd3[_0x2ee9a6(0x27a)]&&(_0x3f8f84=_0xafdd3['maskBuffer']||_0x2968be,_0xafdd3['generateMask']?_0xafdd3[_0x2ee9a6(0x1d3)](_0x3f8f84):(_0x3afd82===_0x5595a5&&(_0x5d4175===void 0x0&&(_0x5d4175=Buffer[_0x2ee9a6(0x1c6)](_0x5595a5)),_0x1dd406(_0x5d4175,0x0,_0x5595a5),_0x3afd82=0x0),_0x3f8f84[0x0]=_0x5d4175[_0x3afd82++],_0x3f8f84[0x1]=_0x5d4175[_0x3afd82++],_0x3f8f84[0x2]=_0x5d4175[_0x3afd82++],_0x3f8f84[0x3]=_0x5d4175[_0x3afd82++]),_0x4f2816=(_0x3f8f84[0x0]|_0x3f8f84[0x1]|_0x3f8f84[0x2]|_0x3f8f84[0x3])===0x0,_0x24e393=0x6);let _0x4d03c7;typeof _0x213237=='string'?(!_0xafdd3[_0x2ee9a6(0x27a)]||_0x4f2816)&&_0xafdd3[_0x44f25f]!==void 0x0?_0x4d03c7=_0xafdd3[_0x44f25f]:(_0x213237=Buffer[_0x2ee9a6(0x1c5)](_0x213237),_0x4d03c7=_0x213237[_0x2ee9a6(0x352)]):(_0x4d03c7=_0x213237[_0x2ee9a6(0x352)],_0x5ac186=_0xafdd3['mask']&&_0xafdd3[_0x2ee9a6(0x277)]&&!_0x4f2816);let _0x5246f4=_0x4d03c7;_0x4d03c7>=0x10000?(_0x24e393+=0x8,_0x5246f4=0x7f):_0x4d03c7>0x7d&&(_0x24e393+=0x2,_0x5246f4=0x7e);const _0x242998=Buffer[_0x2ee9a6(0x249)](_0x5ac186?_0x4d03c7+_0x24e393:_0x24e393);return _0x242998[0x0]=_0xafdd3[_0x2ee9a6(0x1f5)]?_0xafdd3[_0x2ee9a6(0x304)]|0x80:_0xafdd3['opcode'],_0xafdd3[_0x2ee9a6(0x2bb)]&&(_0x242998[0x0]|=0x40),_0x242998[0x1]=_0x5246f4,_0x5246f4===0x7e?_0x242998[_0x2ee9a6(0x1fd)](_0x4d03c7,0x2):_0x5246f4===0x7f&&(_0x242998[0x2]=_0x242998[0x3]=0x0,_0x242998[_0x2ee9a6(0x21c)](_0x4d03c7,0x4,0x6)),_0xafdd3['mask']?(_0x242998[0x1]|=0x80,_0x242998[_0x24e393-0x4]=_0x3f8f84[0x0],_0x242998[_0x24e393-0x3]=_0x3f8f84[0x1],_0x242998[_0x24e393-0x2]=_0x3f8f84[0x2],_0x242998[_0x24e393-0x1]=_0x3f8f84[0x3],_0x4f2816?[_0x242998,_0x213237]:_0x5ac186?(_0x27b24b(_0x213237,_0x3f8f84,_0x242998,_0x24e393,_0x4d03c7),[_0x242998]):(_0x27b24b(_0x213237,_0x3f8f84,_0x213237,0x0,_0x4d03c7),[_0x242998,_0x213237])):[_0x242998,_0x213237];}[_0x143171(0x2a8)](_0x5daff7,_0x2e6edc,_0x2905bf,_0x3a190c){const _0x391890=_0x143171;let _0x10fa19;if(_0x5daff7===void 0x0)_0x10fa19=_0x5786b6;else{if(typeof _0x5daff7!=_0x391890(0x309)||!_0x470473(_0x5daff7))throw new TypeError(_0x391890(0x326));if(_0x2e6edc===void 0x0||!_0x2e6edc[_0x391890(0x352)])_0x10fa19=Buffer['allocUnsafe'](0x2),_0x10fa19[_0x391890(0x1fd)](_0x5daff7,0x0);else{const _0x256384=Buffer['byteLength'](_0x2e6edc);if(_0x256384>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x10fa19=Buffer['allocUnsafe'](0x2+_0x256384),_0x10fa19[_0x391890(0x1fd)](_0x5daff7,0x0),typeof _0x2e6edc=='string'?_0x10fa19[_0x391890(0x1c4)](_0x2e6edc,0x2):_0x10fa19['set'](_0x2e6edc,0x2);}}const _0x596a98={[_0x44f25f]:_0x10fa19['length'],'fin':!0x0,'generateMask':this[_0x391890(0x31a)],'mask':_0x2905bf,'maskBuffer':this[_0x391890(0x30c)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x391890(0x32f)]!==_0x518550?this[_0x391890(0x2fe)]([this[_0x391890(0x279)],_0x10fa19,!0x1,_0x596a98,_0x3a190c]):this['sendFrame'](_0xb0a68d['frame'](_0x10fa19,_0x596a98),_0x3a190c);}[_0x143171(0x2d4)](_0x55474f,_0x15d365,_0x10e0b7){const _0xeae65a=_0x143171;let _0x3a25ad,_0x3cfe99;if(typeof _0x55474f=='string'?(_0x3a25ad=Buffer[_0xeae65a(0x244)](_0x55474f),_0x3cfe99=!0x1):_0xc9cc71(_0x55474f)?(_0x3a25ad=_0x55474f[_0xeae65a(0x275)],_0x3cfe99=!0x1):(_0x55474f=_0x1a598a(_0x55474f),_0x3a25ad=_0x55474f[_0xeae65a(0x352)],_0x3cfe99=_0x1a598a[_0xeae65a(0x277)]),_0x3a25ad>0x7d)throw new RangeError(_0xeae65a(0x312));const _0x539ce4={[_0x44f25f]:_0x3a25ad,'fin':!0x0,'generateMask':this[_0xeae65a(0x31a)],'mask':_0x15d365,'maskBuffer':this[_0xeae65a(0x30c)],'opcode':0x9,'readOnly':_0x3cfe99,'rsv1':!0x1};_0xc9cc71(_0x55474f)?this[_0xeae65a(0x32f)]!==_0x518550?this[_0xeae65a(0x2fe)]([this['getBlobData'],_0x55474f,!0x1,_0x539ce4,_0x10e0b7]):this[_0xeae65a(0x274)](_0x55474f,!0x1,_0x539ce4,_0x10e0b7):this[_0xeae65a(0x32f)]!==_0x518550?this[_0xeae65a(0x2fe)]([this[_0xeae65a(0x279)],_0x55474f,!0x1,_0x539ce4,_0x10e0b7]):this[_0xeae65a(0x2e7)](_0xb0a68d[_0xeae65a(0x317)](_0x55474f,_0x539ce4),_0x10e0b7);}[_0x143171(0x1da)](_0x762abe,_0x2e5741,_0x448d5f){const _0x3fa47a=_0x143171;let _0x5e3a2a,_0x13b6ce;if(typeof _0x762abe=='string'?(_0x5e3a2a=Buffer[_0x3fa47a(0x244)](_0x762abe),_0x13b6ce=!0x1):_0xc9cc71(_0x762abe)?(_0x5e3a2a=_0x762abe[_0x3fa47a(0x275)],_0x13b6ce=!0x1):(_0x762abe=_0x1a598a(_0x762abe),_0x5e3a2a=_0x762abe[_0x3fa47a(0x352)],_0x13b6ce=_0x1a598a[_0x3fa47a(0x277)]),_0x5e3a2a>0x7d)throw new RangeError(_0x3fa47a(0x312));const _0x37701b={[_0x44f25f]:_0x5e3a2a,'fin':!0x0,'generateMask':this[_0x3fa47a(0x31a)],'mask':_0x2e5741,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x13b6ce,'rsv1':!0x1};_0xc9cc71(_0x762abe)?this['_state']!==_0x518550?this[_0x3fa47a(0x2fe)]([this['getBlobData'],_0x762abe,!0x1,_0x37701b,_0x448d5f]):this[_0x3fa47a(0x274)](_0x762abe,!0x1,_0x37701b,_0x448d5f):this[_0x3fa47a(0x32f)]!==_0x518550?this['enqueue']([this['dispatch'],_0x762abe,!0x1,_0x37701b,_0x448d5f]):this[_0x3fa47a(0x2e7)](_0xb0a68d['frame'](_0x762abe,_0x37701b),_0x448d5f);}[_0x143171(0x2df)](_0x41fa64,_0xa273a,_0x19a619){const _0x2b1542=_0x143171,_0x5198bb=this[_0x2b1542(0x341)][_0x278568[_0x2b1542(0x23e)]];let _0x20bac1=_0xa273a[_0x2b1542(0x2b4)]?0x2:0x1,_0x31626a=_0xa273a[_0x2b1542(0x256)],_0x14062e,_0x3574e2;typeof _0x41fa64=='string'?(_0x14062e=Buffer['byteLength'](_0x41fa64),_0x3574e2=!0x1):_0xc9cc71(_0x41fa64)?(_0x14062e=_0x41fa64[_0x2b1542(0x275)],_0x3574e2=!0x1):(_0x41fa64=_0x1a598a(_0x41fa64),_0x14062e=_0x41fa64[_0x2b1542(0x352)],_0x3574e2=_0x1a598a[_0x2b1542(0x277)]),this['_firstFragment']?(this['_firstFragment']=!0x1,_0x31626a&&_0x5198bb&&_0x5198bb[_0x2b1542(0x340)][_0x5198bb[_0x2b1542(0x34b)]?_0x2b1542(0x329):_0x2b1542(0x28f)]&&(_0x31626a=_0x14062e>=_0x5198bb['_threshold']),this[_0x2b1542(0x1cc)]=_0x31626a):(_0x31626a=!0x1,_0x20bac1=0x0),_0xa273a[_0x2b1542(0x1f5)]&&(this[_0x2b1542(0x1bb)]=!0x0);const _0x7b852b={[_0x44f25f]:_0x14062e,'fin':_0xa273a['fin'],'generateMask':this[_0x2b1542(0x31a)],'mask':_0xa273a['mask'],'maskBuffer':this['_maskBuffer'],'opcode':_0x20bac1,'readOnly':_0x3574e2,'rsv1':_0x31626a};_0xc9cc71(_0x41fa64)?this[_0x2b1542(0x32f)]!==_0x518550?this[_0x2b1542(0x2fe)]([this['getBlobData'],_0x41fa64,this['_compress'],_0x7b852b,_0x19a619]):this[_0x2b1542(0x274)](_0x41fa64,this[_0x2b1542(0x1cc)],_0x7b852b,_0x19a619):this[_0x2b1542(0x32f)]!==_0x518550?this[_0x2b1542(0x2fe)]([this['dispatch'],_0x41fa64,this[_0x2b1542(0x1cc)],_0x7b852b,_0x19a619]):this[_0x2b1542(0x279)](_0x41fa64,this['_compress'],_0x7b852b,_0x19a619);}[_0x143171(0x274)](_0x34a532,_0x318fac,_0x28b4a4,_0x5edbe4){const _0x368772=_0x143171;this[_0x368772(0x300)]+=_0x28b4a4[_0x44f25f],this[_0x368772(0x32f)]=_0x4935e4,_0x34a532['arrayBuffer']()[_0x368772(0x1ea)](_0x186bc5=>{const _0x459593=_0x368772;if(this[_0x459593(0x288)][_0x459593(0x20e)]){const _0x337f2e=new Error(_0x459593(0x31b));process[_0x459593(0x2d6)](_0x173e3f,this,_0x337f2e,_0x5edbe4);return;}this[_0x459593(0x300)]-=_0x28b4a4[_0x44f25f];const _0x268b66=_0x1a598a(_0x186bc5);_0x318fac?this[_0x459593(0x279)](_0x268b66,_0x318fac,_0x28b4a4,_0x5edbe4):(this[_0x459593(0x32f)]=_0x518550,this[_0x459593(0x2e7)](_0xb0a68d[_0x459593(0x317)](_0x268b66,_0x28b4a4),_0x5edbe4),this[_0x459593(0x364)]());})[_0x368772(0x1c0)](_0x293d2f=>{const _0x1ea23e=_0x368772;process[_0x1ea23e(0x2d6)](_0x2a5967,this,_0x293d2f,_0x5edbe4);});}[_0x143171(0x279)](_0x517f39,_0x4fdecd,_0x422663,_0x28cb51){const _0x406888=_0x143171;if(!_0x4fdecd){this[_0x406888(0x2e7)](_0xb0a68d[_0x406888(0x317)](_0x517f39,_0x422663),_0x28cb51);return;}const _0x1f5839=this[_0x406888(0x341)][_0x278568[_0x406888(0x23e)]];this['_bufferedBytes']+=_0x422663[_0x44f25f],this[_0x406888(0x32f)]=_0x273eac,_0x1f5839['compress'](_0x517f39,_0x422663[_0x406888(0x1f5)],(_0x117c70,_0x5907d5)=>{const _0x4777e9=_0x406888;if(this[_0x4777e9(0x288)][_0x4777e9(0x20e)]){const _0x2d7b39=new Error(_0x4777e9(0x339));_0x173e3f(this,_0x2d7b39,_0x28cb51);return;}this[_0x4777e9(0x300)]-=_0x422663[_0x44f25f],this[_0x4777e9(0x32f)]=_0x518550,_0x422663[_0x4777e9(0x277)]=!0x1,this[_0x4777e9(0x2e7)](_0xb0a68d[_0x4777e9(0x317)](_0x5907d5,_0x422663),_0x28cb51),this['dequeue']();});}[_0x143171(0x364)](){const _0x23967d=_0x143171;for(;this[_0x23967d(0x32f)]===_0x518550&&this[_0x23967d(0x237)][_0x23967d(0x352)];){const _0x5afae4=this['_queue'][_0x23967d(0x2cd)]();this[_0x23967d(0x300)]-=_0x5afae4[0x3][_0x44f25f],Reflect['apply'](_0x5afae4[0x0],this,_0x5afae4[_0x23967d(0x26f)](0x1));}}[_0x143171(0x2fe)](_0x2a0680){const _0x59c417=_0x143171;this[_0x59c417(0x300)]+=_0x2a0680[0x3][_0x44f25f],this[_0x59c417(0x237)][_0x59c417(0x33c)](_0x2a0680);}['sendFrame'](_0x566e7d,_0xf52f28){const _0x47b93e=_0x143171;_0x566e7d[_0x47b93e(0x352)]===0x2?(this[_0x47b93e(0x288)]['cork'](),this['_socket'][_0x47b93e(0x1c4)](_0x566e7d[0x0]),this[_0x47b93e(0x288)][_0x47b93e(0x1c4)](_0x566e7d[0x1],_0xf52f28),this['_socket'][_0x47b93e(0x2e0)]()):this[_0x47b93e(0x288)][_0x47b93e(0x1c4)](_0x566e7d[0x0],_0xf52f28);}}Ee=_0xb0a68d;function _0x173e3f(_0xb87825,_0x585c35,_0x1e509e){const _0x11c4df=_0x143171;typeof _0x1e509e==_0x11c4df(0x1dc)&&_0x1e509e(_0x585c35);for(let _0x194bf1=0x0;_0x194bf1<_0xb87825[_0x11c4df(0x237)][_0x11c4df(0x352)];_0x194bf1++){const _0x505452=_0xb87825['_queue'][_0x194bf1],_0x583e16=_0x505452[_0x505452[_0x11c4df(0x352)]-0x1];typeof _0x583e16==_0x11c4df(0x1dc)&&_0x583e16(_0x585c35);}}function _0x2a5967(_0x8b25b,_0x24d715,_0x1ca7c0){_0x173e3f(_0x8b25b,_0x24d715,_0x1ca7c0),_0x8b25b['onerror'](_0x24d715);}return Ee;}var xe,tt;function Kt(){const _0xe20ef9=_0x21d35a;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x5ab192,kListener:_0x99410a}=V(),_0x41ec3e=Symbol(_0xe20ef9(0x262)),_0x4a0525=Symbol(_0xe20ef9(0x2d5)),_0x3cfca9=Symbol(_0xe20ef9(0x2fc)),_0x79d3a2=Symbol('kMessage'),_0x430497=Symbol(_0xe20ef9(0x208)),_0x3e18dc=Symbol(_0xe20ef9(0x27d)),_0x54c914=Symbol(_0xe20ef9(0x2c4)),_0x3f58bf=Symbol(_0xe20ef9(0x1eb));class _0x4094f2{constructor(_0x2d2b02){this[_0x3e18dc]=null,this[_0x54c914]=_0x2d2b02;}get[_0xe20ef9(0x1d4)](){return this[_0x3e18dc];}get[_0xe20ef9(0x248)](){return this[_0x54c914];}}Object[_0xe20ef9(0x1e0)](_0x4094f2[_0xe20ef9(0x21f)],_0xe20ef9(0x1d4),{'enumerable':!0x0}),Object['defineProperty'](_0x4094f2[_0xe20ef9(0x21f)],_0xe20ef9(0x248),{'enumerable':!0x0});class _0x1c7a57 extends _0x4094f2{constructor(_0x654f97,_0x41d264={}){const _0x5b783d=_0xe20ef9;super(_0x654f97),this[_0x41ec3e]=_0x41d264[_0x5b783d(0x2dd)]===void 0x0?0x0:_0x41d264[_0x5b783d(0x2dd)],this[_0x430497]=_0x41d264['reason']===void 0x0?'':_0x41d264[_0x5b783d(0x28a)],this[_0x3f58bf]=_0x41d264[_0x5b783d(0x2c5)]===void 0x0?!0x1:_0x41d264['wasClean'];}get[_0xe20ef9(0x2dd)](){return this[_0x41ec3e];}get[_0xe20ef9(0x28a)](){return this[_0x430497];}get[_0xe20ef9(0x2c5)](){return this[_0x3f58bf];}}Object['defineProperty'](_0x1c7a57['prototype'],_0xe20ef9(0x2dd),{'enumerable':!0x0}),Object['defineProperty'](_0x1c7a57[_0xe20ef9(0x21f)],'reason',{'enumerable':!0x0}),Object['defineProperty'](_0x1c7a57[_0xe20ef9(0x21f)],_0xe20ef9(0x2c5),{'enumerable':!0x0});class _0x5caf23 extends _0x4094f2{constructor(_0x1720c,_0x1603b2={}){const _0x33c755=_0xe20ef9;super(_0x1720c),this[_0x3cfca9]=_0x1603b2[_0x33c755(0x1e3)]===void 0x0?null:_0x1603b2[_0x33c755(0x1e3)],this[_0x79d3a2]=_0x1603b2['message']===void 0x0?'':_0x1603b2['message'];}get['error'](){return this[_0x3cfca9];}get['message'](){return this[_0x79d3a2];}}Object[_0xe20ef9(0x1e0)](_0x5caf23['prototype'],'error',{'enumerable':!0x0}),Object[_0xe20ef9(0x1e0)](_0x5caf23[_0xe20ef9(0x21f)],_0xe20ef9(0x342),{'enumerable':!0x0});class _0x33025d extends _0x4094f2{constructor(_0x25ab1c,_0x499615={}){super(_0x25ab1c),this[_0x4a0525]=_0x499615['data']===void 0x0?null:_0x499615['data'];}get[_0xe20ef9(0x34d)](){return this[_0x4a0525];}}Object[_0xe20ef9(0x1e0)](_0x33025d[_0xe20ef9(0x21f)],_0xe20ef9(0x34d),{'enumerable':!0x0}),xe={'CloseEvent':_0x1c7a57,'ErrorEvent':_0x5caf23,'Event':_0x4094f2,'EventTarget':{'addEventListener'(_0x1f237e,_0x4b3c6b,_0x4d5a9e={}){const _0x3e3bd8=_0xe20ef9;for(const _0x20ce0a of this['listeners'](_0x1f237e))if(!_0x4d5a9e[_0x5ab192]&&_0x20ce0a[_0x99410a]===_0x4b3c6b&&!_0x20ce0a[_0x5ab192])return;let _0x112de1;if(_0x1f237e===_0x3e3bd8(0x342))_0x112de1=function(_0x20447f,_0x580a5a){const _0x4bd61f=_0x3e3bd8,_0x2b1427=new _0x33025d(_0x4bd61f(0x342),{'data':_0x580a5a?_0x20447f:_0x20447f[_0x4bd61f(0x319)]()});_0x2b1427[_0x3e18dc]=this,_0x15facc(_0x4b3c6b,this,_0x2b1427);};else{if(_0x1f237e===_0x3e3bd8(0x2a8))_0x112de1=function(_0x187888,_0x3ac836){const _0x25d5d2=_0x3e3bd8,_0x552f3a=new _0x1c7a57(_0x25d5d2(0x2a8),{'code':_0x187888,'reason':_0x3ac836['toString'](),'wasClean':this[_0x25d5d2(0x270)]&&this[_0x25d5d2(0x344)]});_0x552f3a[_0x3e18dc]=this,_0x15facc(_0x4b3c6b,this,_0x552f3a);};else{if(_0x1f237e===_0x3e3bd8(0x1e3))_0x112de1=function(_0x24568a){const _0x31953e=_0x3e3bd8,_0x548ad1=new _0x5caf23(_0x31953e(0x1e3),{'error':_0x24568a,'message':_0x24568a[_0x31953e(0x342)]});_0x548ad1[_0x3e18dc]=this,_0x15facc(_0x4b3c6b,this,_0x548ad1);};else{if(_0x1f237e===_0x3e3bd8(0x231))_0x112de1=function(){const _0x5ca60d=new _0x4094f2('open');_0x5ca60d[_0x3e18dc]=this,_0x15facc(_0x4b3c6b,this,_0x5ca60d);};else return;}}}_0x112de1[_0x5ab192]=!!_0x4d5a9e[_0x5ab192],_0x112de1[_0x99410a]=_0x4b3c6b,_0x4d5a9e[_0x3e3bd8(0x2bc)]?this[_0x3e3bd8(0x2bc)](_0x1f237e,_0x112de1):this['on'](_0x1f237e,_0x112de1);},'removeEventListener'(_0xf8cf80,_0x323291){const _0x8e0208=_0xe20ef9;for(const _0x261840 of this['listeners'](_0xf8cf80))if(_0x261840[_0x99410a]===_0x323291&&!_0x261840[_0x5ab192]){this[_0x8e0208(0x28c)](_0xf8cf80,_0x261840);break;}}},'MessageEvent':_0x33025d};function _0x15facc(_0x214b98,_0x5ec413,_0x3bb196){const _0x2eedd4=_0xe20ef9;typeof _0x214b98==_0x2eedd4(0x1b7)&&_0x214b98[_0x2eedd4(0x320)]?_0x214b98[_0x2eedd4(0x320)][_0x2eedd4(0x351)](_0x214b98,_0x3bb196):_0x214b98[_0x2eedd4(0x351)](_0x5ec413,_0x3bb196);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x18894a}=ne();function _0x29f7c5(_0x611b01,_0x17fd47,_0xf7e1d9){const _0x415a77=_0x2516;_0x611b01[_0x17fd47]===void 0x0?_0x611b01[_0x17fd47]=[_0xf7e1d9]:_0x611b01[_0x17fd47][_0x415a77(0x33c)](_0xf7e1d9);}function _0xbab5f4(_0x27423b){const _0x3cc2cc=_0x2516,_0x17cb89=Object[_0x3cc2cc(0x291)](null);let _0x18220d=Object[_0x3cc2cc(0x291)](null),_0x2a220e=!0x1,_0x116ecd=!0x1,_0x1b3958=!0x1,_0x2e2756,_0x4d7b79,_0x46043c=-0x1,_0x4919db=-0x1,_0x2142ba=-0x1,_0x58c6e7=0x0;for(;_0x58c6e7<_0x27423b[_0x3cc2cc(0x352)];_0x58c6e7++)if(_0x4919db=_0x27423b[_0x3cc2cc(0x1e7)](_0x58c6e7),_0x2e2756===void 0x0){if(_0x2142ba===-0x1&&_0x18894a[_0x4919db]===0x1)_0x46043c===-0x1&&(_0x46043c=_0x58c6e7);else{if(_0x58c6e7!==0x0&&(_0x4919db===0x20||_0x4919db===0x9))_0x2142ba===-0x1&&_0x46043c!==-0x1&&(_0x2142ba=_0x58c6e7);else{if(_0x4919db===0x3b||_0x4919db===0x2c){if(_0x46043c===-0x1)throw new SyntaxError(_0x3cc2cc(0x1cd)+_0x58c6e7);_0x2142ba===-0x1&&(_0x2142ba=_0x58c6e7);const _0x54c9da=_0x27423b[_0x3cc2cc(0x26f)](_0x46043c,_0x2142ba);_0x4919db===0x2c?(_0x29f7c5(_0x17cb89,_0x54c9da,_0x18220d),_0x18220d=Object[_0x3cc2cc(0x291)](null)):_0x2e2756=_0x54c9da,_0x46043c=_0x2142ba=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x58c6e7);}}}else{if(_0x4d7b79===void 0x0){if(_0x2142ba===-0x1&&_0x18894a[_0x4919db]===0x1)_0x46043c===-0x1&&(_0x46043c=_0x58c6e7);else{if(_0x4919db===0x20||_0x4919db===0x9)_0x2142ba===-0x1&&_0x46043c!==-0x1&&(_0x2142ba=_0x58c6e7);else{if(_0x4919db===0x3b||_0x4919db===0x2c){if(_0x46043c===-0x1)throw new SyntaxError(_0x3cc2cc(0x1cd)+_0x58c6e7);_0x2142ba===-0x1&&(_0x2142ba=_0x58c6e7),_0x29f7c5(_0x18220d,_0x27423b[_0x3cc2cc(0x26f)](_0x46043c,_0x2142ba),!0x0),_0x4919db===0x2c&&(_0x29f7c5(_0x17cb89,_0x2e2756,_0x18220d),_0x18220d=Object[_0x3cc2cc(0x291)](null),_0x2e2756=void 0x0),_0x46043c=_0x2142ba=-0x1;}else{if(_0x4919db===0x3d&&_0x46043c!==-0x1&&_0x2142ba===-0x1)_0x4d7b79=_0x27423b[_0x3cc2cc(0x26f)](_0x46043c,_0x58c6e7),_0x46043c=_0x2142ba=-0x1;else throw new SyntaxError(_0x3cc2cc(0x1cd)+_0x58c6e7);}}}}else{if(_0x116ecd){if(_0x18894a[_0x4919db]!==0x1)throw new SyntaxError(_0x3cc2cc(0x1cd)+_0x58c6e7);_0x46043c===-0x1?_0x46043c=_0x58c6e7:_0x2a220e||(_0x2a220e=!0x0),_0x116ecd=!0x1;}else{if(_0x1b3958){if(_0x18894a[_0x4919db]===0x1)_0x46043c===-0x1&&(_0x46043c=_0x58c6e7);else{if(_0x4919db===0x22&&_0x46043c!==-0x1)_0x1b3958=!0x1,_0x2142ba=_0x58c6e7;else{if(_0x4919db===0x5c)_0x116ecd=!0x0;else throw new SyntaxError(_0x3cc2cc(0x1cd)+_0x58c6e7);}}}else{if(_0x4919db===0x22&&_0x27423b[_0x3cc2cc(0x1e7)](_0x58c6e7-0x1)===0x3d)_0x1b3958=!0x0;else{if(_0x2142ba===-0x1&&_0x18894a[_0x4919db]===0x1)_0x46043c===-0x1&&(_0x46043c=_0x58c6e7);else{if(_0x46043c!==-0x1&&(_0x4919db===0x20||_0x4919db===0x9))_0x2142ba===-0x1&&(_0x2142ba=_0x58c6e7);else{if(_0x4919db===0x3b||_0x4919db===0x2c){if(_0x46043c===-0x1)throw new SyntaxError(_0x3cc2cc(0x1cd)+_0x58c6e7);_0x2142ba===-0x1&&(_0x2142ba=_0x58c6e7);let _0x30835d=_0x27423b[_0x3cc2cc(0x26f)](_0x46043c,_0x2142ba);_0x2a220e&&(_0x30835d=_0x30835d['replace'](/\\/g,''),_0x2a220e=!0x1),_0x29f7c5(_0x18220d,_0x4d7b79,_0x30835d),_0x4919db===0x2c&&(_0x29f7c5(_0x17cb89,_0x2e2756,_0x18220d),_0x18220d=Object[_0x3cc2cc(0x291)](null),_0x2e2756=void 0x0),_0x4d7b79=void 0x0,_0x46043c=_0x2142ba=-0x1;}else throw new SyntaxError(_0x3cc2cc(0x1cd)+_0x58c6e7);}}}}}}}if(_0x46043c===-0x1||_0x1b3958||_0x4919db===0x20||_0x4919db===0x9)throw new SyntaxError(_0x3cc2cc(0x1db));_0x2142ba===-0x1&&(_0x2142ba=_0x58c6e7);const _0x5eccf7=_0x27423b[_0x3cc2cc(0x26f)](_0x46043c,_0x2142ba);return _0x2e2756===void 0x0?_0x29f7c5(_0x17cb89,_0x5eccf7,_0x18220d):(_0x4d7b79===void 0x0?_0x29f7c5(_0x18220d,_0x5eccf7,!0x0):_0x2a220e?_0x29f7c5(_0x18220d,_0x4d7b79,_0x5eccf7[_0x3cc2cc(0x31c)](/\\/g,'')):_0x29f7c5(_0x18220d,_0x4d7b79,_0x5eccf7),_0x29f7c5(_0x17cb89,_0x2e2756,_0x18220d)),_0x17cb89;}function _0xa66034(_0x587421){const _0x1c4b0a=_0x2516;return Object[_0x1c4b0a(0x315)](_0x587421)[_0x1c4b0a(0x2f4)](_0x5dbe13=>{const _0x3cf03f=_0x1c4b0a;let _0x53f4f0=_0x587421[_0x5dbe13];return Array['isArray'](_0x53f4f0)||(_0x53f4f0=[_0x53f4f0]),_0x53f4f0[_0x3cf03f(0x2f4)](_0x310951=>[_0x5dbe13][_0x3cf03f(0x1ed)](Object[_0x3cf03f(0x315)](_0x310951)[_0x3cf03f(0x2f4)](_0xfb238f=>{const _0x1a9d8f=_0x3cf03f;let _0x11c0b4=_0x310951[_0xfb238f];return Array['isArray'](_0x11c0b4)||(_0x11c0b4=[_0x11c0b4]),_0x11c0b4[_0x1a9d8f(0x2f4)](_0x392b01=>_0x392b01===!0x0?_0xfb238f:_0xfb238f+'='+_0x392b01)[_0x1a9d8f(0x31e)](';\x20');}))[_0x3cf03f(0x31e)](';\x20'))[_0x3cf03f(0x31e)](',\x20');})[_0x1c4b0a(0x31e)](',\x20');}return be={'format':_0xa66034,'parse':_0xbab5f4},be;}var we,st;function Ie(){const _0x3ddab1=_0x21d35a;if(st)return we;st=0x1;const _0x265d5a=_0x455b83,_0x5a59d4=_0x4441cb,_0x56f21c=_0x13b8ac,_0x4b068f=_0x430911,_0x308810=_0x4f8da5,{randomBytes:_0x4c3be2,createHash:_0x4732d3}=_0x276912,{Duplex:_0x472f39,Readable:_0x44a033}=_0x454b47,{URL:_0x51eaac}=_0x2750c6,_0x1ba237=he(),_0x3270e8=dt(),_0xb284b3=_t(),{isBlob:_0x45b877}=ne(),{BINARY_TYPES:_0x5f3be1,EMPTY_BUFFER:_0x596243,GUID:_0x24e9d6,kForOnEventAttribute:_0x2141e2,kListener:_0x39c238,kStatusCode:_0x3ba659,kWebSocket:_0xbec8d5,NOOP:_0x5aaba8}=V(),{EventTarget:{addEventListener:_0x1a90f6,removeEventListener:_0x28962e}}=Kt(),{format:_0x29af2a,parse:_0x351381}=pt(),{toBuffer:_0x592971}=ce(),_0x6bd1d4=0x1e*0x3e8,_0x4d3cac=Symbol(_0x3ddab1(0x330)),_0x2b1da6=[0x8,0xd],_0x37c098=[_0x3ddab1(0x2af),_0x3ddab1(0x318),_0x3ddab1(0x29a),_0x3ddab1(0x1bf)],_0x501b0d=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x269ff6 extends _0x265d5a{constructor(_0x33a70f,_0x5a5f7c,_0x2ab64b){const _0x4c53aa=_0x3ddab1;super(),this['_binaryType']=_0x5f3be1[0x0],this['_closeCode']=0x3ee,this['_closeFrameReceived']=!0x1,this[_0x4c53aa(0x344)]=!0x1,this['_closeMessage']=_0x596243,this[_0x4c53aa(0x1ba)]=null,this[_0x4c53aa(0x24f)]=!0x1,this['_extensions']={},this[_0x4c53aa(0x207)]=!0x1,this[_0x4c53aa(0x2a1)]='',this['_readyState']=_0x269ff6['CONNECTING'],this[_0x4c53aa(0x254)]=null,this['_sender']=null,this[_0x4c53aa(0x288)]=null,_0x33a70f!==null?(this[_0x4c53aa(0x2e6)]=0x0,this[_0x4c53aa(0x34b)]=!0x1,this[_0x4c53aa(0x1bc)]=0x0,_0x5a5f7c===void 0x0?_0x5a5f7c=[]:Array['isArray'](_0x5a5f7c)||(typeof _0x5a5f7c==_0x4c53aa(0x1b7)&&_0x5a5f7c!==null?(_0x2ab64b=_0x5a5f7c,_0x5a5f7c=[]):_0x5a5f7c=[_0x5a5f7c]),_0xe28f1e(this,_0x33a70f,_0x5a5f7c,_0x2ab64b)):(this['_autoPong']=_0x2ab64b[_0x4c53aa(0x25f)],this[_0x4c53aa(0x34b)]=!0x0);}get[_0x3ddab1(0x321)](){const _0x42184=_0x3ddab1;return this[_0x42184(0x234)];}set['binaryType'](_0xd5c924){const _0x43a396=_0x3ddab1;_0x5f3be1[_0x43a396(0x217)](_0xd5c924)&&(this[_0x43a396(0x234)]=_0xd5c924,this[_0x43a396(0x254)]&&(this['_receiver'][_0x43a396(0x234)]=_0xd5c924));}get[_0x3ddab1(0x21e)](){const _0x3e8152=_0x3ddab1;return this[_0x3e8152(0x288)]?this['_socket'][_0x3e8152(0x2db)][_0x3e8152(0x352)]+this['_sender'][_0x3e8152(0x300)]:this[_0x3e8152(0x2e6)];}get[_0x3ddab1(0x211)](){const _0x4e03b2=_0x3ddab1;return Object[_0x4e03b2(0x315)](this[_0x4e03b2(0x341)])[_0x4e03b2(0x31e)]();}get['isPaused'](){const _0x3fb589=_0x3ddab1;return this[_0x3fb589(0x207)];}get[_0x3ddab1(0x354)](){return null;}get[_0x3ddab1(0x346)](){return null;}get[_0x3ddab1(0x334)](){return null;}get[_0x3ddab1(0x32c)](){return null;}get[_0x3ddab1(0x350)](){const _0xc646b0=_0x3ddab1;return this[_0xc646b0(0x2a1)];}get[_0x3ddab1(0x35e)](){const _0x30ca2b=_0x3ddab1;return this[_0x30ca2b(0x252)];}get[_0x3ddab1(0x1bd)](){return this['_url'];}['setSocket'](_0x4e7d09,_0x4b3ffd,_0x5309a5){const _0x59008a=_0x3ddab1,_0x55e623=new _0x3270e8({'allowSynchronousEvents':_0x5309a5['allowSynchronousEvents'],'binaryType':this[_0x59008a(0x321)],'extensions':this[_0x59008a(0x341)],'isServer':this[_0x59008a(0x34b)],'maxPayload':_0x5309a5['maxPayload'],'skipUTF8Validation':_0x5309a5[_0x59008a(0x27e)]}),_0x2aba26=new _0xb284b3(_0x4e7d09,this[_0x59008a(0x341)],_0x5309a5[_0x59008a(0x1d3)]);this[_0x59008a(0x254)]=_0x55e623,this[_0x59008a(0x204)]=_0x2aba26,this[_0x59008a(0x288)]=_0x4e7d09,_0x55e623[_0xbec8d5]=this,_0x2aba26[_0xbec8d5]=this,_0x4e7d09[_0xbec8d5]=this,_0x55e623['on'](_0x59008a(0x1f2),_0x4c7e45),_0x55e623['on'](_0x59008a(0x269),_0x5d1290),_0x55e623['on'](_0x59008a(0x1e3),_0x2b6a40),_0x55e623['on'](_0x59008a(0x342),_0x47da85),_0x55e623['on']('ping',_0x3bef1b),_0x55e623['on'](_0x59008a(0x1da),_0x1c5da3),_0x2aba26['onerror']=_0x45686d,_0x4e7d09[_0x59008a(0x223)]&&_0x4e7d09[_0x59008a(0x223)](0x0),_0x4e7d09[_0x59008a(0x32e)]&&_0x4e7d09[_0x59008a(0x32e)](),_0x4b3ffd[_0x59008a(0x352)]>0x0&&_0x4e7d09[_0x59008a(0x2e3)](_0x4b3ffd),_0x4e7d09['on'](_0x59008a(0x2a8),_0x5d5748),_0x4e7d09['on'](_0x59008a(0x34d),_0xb16180),_0x4e7d09['on'](_0x59008a(0x29f),_0x29f06b),_0x4e7d09['on']('error',_0x4f6cb0),this['_readyState']=_0x269ff6['OPEN'],this['emit'](_0x59008a(0x231));}['emitClose'](){const _0x1e2c63=_0x3ddab1;if(!this[_0x1e2c63(0x288)]){this['_readyState']=_0x269ff6['CLOSED'],this[_0x1e2c63(0x1ef)](_0x1e2c63(0x2a8),this[_0x1e2c63(0x225)],this['_closeMessage']);return;}this['_extensions'][_0x1ba237[_0x1e2c63(0x23e)]]&&this['_extensions'][_0x1ba237[_0x1e2c63(0x23e)]][_0x1e2c63(0x2ca)](),this['_receiver'][_0x1e2c63(0x20a)](),this[_0x1e2c63(0x252)]=_0x269ff6[_0x1e2c63(0x1bf)],this[_0x1e2c63(0x1ef)](_0x1e2c63(0x2a8),this[_0x1e2c63(0x225)],this[_0x1e2c63(0x222)]);}['close'](_0xd97407,_0x2ed10d){const _0x3a0a6d=_0x3ddab1;if(this[_0x3a0a6d(0x35e)]!==_0x269ff6[_0x3a0a6d(0x1bf)]){if(this[_0x3a0a6d(0x35e)]===_0x269ff6[_0x3a0a6d(0x2af)]){_0x1ba965(this,this['_req'],_0x3a0a6d(0x214));return;}if(this[_0x3a0a6d(0x35e)]===_0x269ff6[_0x3a0a6d(0x29a)]){this['_closeFrameSent']&&(this[_0x3a0a6d(0x270)]||this[_0x3a0a6d(0x254)][_0x3a0a6d(0x2db)][_0x3a0a6d(0x301)])&&this['_socket'][_0x3a0a6d(0x29f)]();return;}this[_0x3a0a6d(0x252)]=_0x269ff6[_0x3a0a6d(0x29a)],this['_sender'][_0x3a0a6d(0x2a8)](_0xd97407,_0x2ed10d,!this[_0x3a0a6d(0x34b)],_0xe0a73c=>{const _0xb09ddf=_0x3a0a6d;_0xe0a73c||(this[_0xb09ddf(0x344)]=!0x0,(this['_closeFrameReceived']||this[_0xb09ddf(0x254)]['_writableState'][_0xb09ddf(0x301)])&&this[_0xb09ddf(0x288)][_0xb09ddf(0x29f)]());}),_0x539107(this);}}[_0x3ddab1(0x2f6)](){const _0x2ef55e=_0x3ddab1;this[_0x2ef55e(0x35e)]===_0x269ff6[_0x2ef55e(0x2af)]||this[_0x2ef55e(0x35e)]===_0x269ff6[_0x2ef55e(0x1bf)]||(this['_paused']=!0x0,this[_0x2ef55e(0x288)][_0x2ef55e(0x2f6)]());}[_0x3ddab1(0x2d4)](_0x4360d4,_0x32ee1f,_0xfb5540){const _0x5b0731=_0x3ddab1;if(this[_0x5b0731(0x35e)]===_0x269ff6[_0x5b0731(0x2af)])throw new Error(_0x5b0731(0x268));if(typeof _0x4360d4==_0x5b0731(0x1dc)?(_0xfb5540=_0x4360d4,_0x4360d4=_0x32ee1f=void 0x0):typeof _0x32ee1f==_0x5b0731(0x1dc)&&(_0xfb5540=_0x32ee1f,_0x32ee1f=void 0x0),typeof _0x4360d4==_0x5b0731(0x309)&&(_0x4360d4=_0x4360d4[_0x5b0731(0x319)]()),this['readyState']!==_0x269ff6[_0x5b0731(0x318)]){_0x615c6a(this,_0x4360d4,_0xfb5540);return;}_0x32ee1f===void 0x0&&(_0x32ee1f=!this['_isServer']),this[_0x5b0731(0x204)][_0x5b0731(0x2d4)](_0x4360d4||_0x596243,_0x32ee1f,_0xfb5540);}[_0x3ddab1(0x1da)](_0x13732a,_0x2df8b2,_0x5da28b){const _0x5c7a49=_0x3ddab1;if(this[_0x5c7a49(0x35e)]===_0x269ff6['CONNECTING'])throw new Error(_0x5c7a49(0x268));if(typeof _0x13732a==_0x5c7a49(0x1dc)?(_0x5da28b=_0x13732a,_0x13732a=_0x2df8b2=void 0x0):typeof _0x2df8b2=='function'&&(_0x5da28b=_0x2df8b2,_0x2df8b2=void 0x0),typeof _0x13732a==_0x5c7a49(0x309)&&(_0x13732a=_0x13732a[_0x5c7a49(0x319)]()),this[_0x5c7a49(0x35e)]!==_0x269ff6['OPEN']){_0x615c6a(this,_0x13732a,_0x5da28b);return;}_0x2df8b2===void 0x0&&(_0x2df8b2=!this[_0x5c7a49(0x34b)]),this[_0x5c7a49(0x204)]['pong'](_0x13732a||_0x596243,_0x2df8b2,_0x5da28b);}[_0x3ddab1(0x2a7)](){const _0x5984a6=_0x3ddab1;this['readyState']===_0x269ff6[_0x5984a6(0x2af)]||this['readyState']===_0x269ff6['CLOSED']||(this['_paused']=!0x1,this['_receiver'][_0x5984a6(0x2db)][_0x5984a6(0x345)]||this[_0x5984a6(0x288)][_0x5984a6(0x2a7)]());}['send'](_0x1e6649,_0x2e9256,_0x4c82ba){const _0x24667a=_0x3ddab1;if(this[_0x24667a(0x35e)]===_0x269ff6[_0x24667a(0x2af)])throw new Error(_0x24667a(0x268));if(typeof _0x2e9256==_0x24667a(0x1dc)&&(_0x4c82ba=_0x2e9256,_0x2e9256={}),typeof _0x1e6649==_0x24667a(0x309)&&(_0x1e6649=_0x1e6649[_0x24667a(0x319)]()),this[_0x24667a(0x35e)]!==_0x269ff6[_0x24667a(0x318)]){_0x615c6a(this,_0x1e6649,_0x4c82ba);return;}const _0x2f0151={'binary':typeof _0x1e6649!=_0x24667a(0x2e2),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x2e9256};this['_extensions'][_0x1ba237[_0x24667a(0x23e)]]||(_0x2f0151[_0x24667a(0x256)]=!0x1),this[_0x24667a(0x204)][_0x24667a(0x2df)](_0x1e6649||_0x596243,_0x2f0151,_0x4c82ba);}[_0x3ddab1(0x228)](){const _0x34f749=_0x3ddab1;if(this[_0x34f749(0x35e)]!==_0x269ff6['CLOSED']){if(this[_0x34f749(0x35e)]===_0x269ff6[_0x34f749(0x2af)]){_0x1ba965(this,this[_0x34f749(0x240)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this['_socket']&&(this['_readyState']=_0x269ff6[_0x34f749(0x29a)],this[_0x34f749(0x288)][_0x34f749(0x310)]());}}}Object[_0x3ddab1(0x1e0)](_0x269ff6,_0x3ddab1(0x2af),{'enumerable':!0x0,'value':_0x37c098[_0x3ddab1(0x261)](_0x3ddab1(0x2af))}),Object['defineProperty'](_0x269ff6['prototype'],_0x3ddab1(0x2af),{'enumerable':!0x0,'value':_0x37c098[_0x3ddab1(0x261)](_0x3ddab1(0x2af))}),Object[_0x3ddab1(0x1e0)](_0x269ff6,_0x3ddab1(0x318),{'enumerable':!0x0,'value':_0x37c098['indexOf'](_0x3ddab1(0x318))}),Object[_0x3ddab1(0x1e0)](_0x269ff6[_0x3ddab1(0x21f)],_0x3ddab1(0x318),{'enumerable':!0x0,'value':_0x37c098[_0x3ddab1(0x261)]('OPEN')}),Object[_0x3ddab1(0x1e0)](_0x269ff6,_0x3ddab1(0x29a),{'enumerable':!0x0,'value':_0x37c098[_0x3ddab1(0x261)](_0x3ddab1(0x29a))}),Object[_0x3ddab1(0x1e0)](_0x269ff6[_0x3ddab1(0x21f)],_0x3ddab1(0x29a),{'enumerable':!0x0,'value':_0x37c098[_0x3ddab1(0x261)](_0x3ddab1(0x29a))}),Object[_0x3ddab1(0x1e0)](_0x269ff6,_0x3ddab1(0x1bf),{'enumerable':!0x0,'value':_0x37c098[_0x3ddab1(0x261)](_0x3ddab1(0x1bf))}),Object[_0x3ddab1(0x1e0)](_0x269ff6['prototype'],_0x3ddab1(0x1bf),{'enumerable':!0x0,'value':_0x37c098[_0x3ddab1(0x261)]('CLOSED')}),['binaryType',_0x3ddab1(0x21e),'extensions',_0x3ddab1(0x27f),'protocol','readyState',_0x3ddab1(0x1bd)][_0x3ddab1(0x285)](_0x2f4fd3=>{Object['defineProperty'](_0x269ff6['prototype'],_0x2f4fd3,{'enumerable':!0x0});}),['open',_0x3ddab1(0x1e3),_0x3ddab1(0x2a8),'message']['forEach'](_0x495926=>{Object['defineProperty'](_0x269ff6['prototype'],'on'+_0x495926,{'enumerable':!0x0,'get'(){for(const _0x1ce050 of this['listeners'](_0x495926))if(_0x1ce050[_0x2141e2])return _0x1ce050[_0x39c238];return null;},'set'(_0x47d534){const _0x352be=_0x2516;for(const _0x4efb69 of this['listeners'](_0x495926))if(_0x4efb69[_0x2141e2]){this['removeListener'](_0x495926,_0x4efb69);break;}typeof _0x47d534==_0x352be(0x1dc)&&this['addEventListener'](_0x495926,_0x47d534,{[_0x2141e2]:!0x0});}});}),_0x269ff6[_0x3ddab1(0x21f)]['addEventListener']=_0x1a90f6,_0x269ff6[_0x3ddab1(0x21f)][_0x3ddab1(0x2d9)]=_0x28962e,we=_0x269ff6;function _0xe28f1e(_0x412306,_0xa13f8,_0x5d4893,_0x587579){const _0x3ef533=_0x3ddab1,_0x109ae1={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x2b1da6[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x587579,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x3ef533(0x2e4),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x412306['_autoPong']=_0x109ae1[_0x3ef533(0x25f)],!_0x2b1da6[_0x3ef533(0x217)](_0x109ae1[_0x3ef533(0x343)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x109ae1['protocolVersion']+_0x3ef533(0x246)+_0x2b1da6[_0x3ef533(0x31e)](',\x20')+')');let _0x331d1c;if(_0xa13f8 instanceof _0x51eaac)_0x331d1c=_0xa13f8;else try{_0x331d1c=new _0x51eaac(_0xa13f8);}catch{throw new SyntaxError(_0x3ef533(0x22e)+_0xa13f8);}_0x331d1c[_0x3ef533(0x350)]==='http:'?_0x331d1c[_0x3ef533(0x350)]=_0x3ef533(0x200):_0x331d1c[_0x3ef533(0x350)]===_0x3ef533(0x1be)&&(_0x331d1c[_0x3ef533(0x350)]='wss:'),_0x412306[_0x3ef533(0x2be)]=_0x331d1c[_0x3ef533(0x27c)];const _0x2d9c15=_0x331d1c[_0x3ef533(0x350)]===_0x3ef533(0x210),_0x4366db=_0x331d1c[_0x3ef533(0x350)]===_0x3ef533(0x2b6);let _0x139671;if(_0x331d1c['protocol']!==_0x3ef533(0x200)&&!_0x2d9c15&&!_0x4366db?_0x139671='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':_0x4366db&&!_0x331d1c[_0x3ef533(0x1fb)]?_0x139671=_0x3ef533(0x2ef):_0x331d1c[_0x3ef533(0x1f4)]&&(_0x139671='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x139671){const _0x1e3e15=new SyntaxError(_0x139671);if(_0x412306[_0x3ef533(0x1bc)]===0x0)throw _0x1e3e15;_0x500cba(_0x412306,_0x1e3e15);return;}const _0x940c69=_0x2d9c15?0x1bb:0x50,_0x312dcd=_0x4c3be2(0x10)['toString'](_0x3ef533(0x2ad)),_0x50bc12=_0x2d9c15?_0x5a59d4[_0x3ef533(0x22f)]:_0x56f21c[_0x3ef533(0x22f)],_0x1dba54=new Set();let _0x5a177f;if(_0x109ae1[_0x3ef533(0x35b)]=_0x109ae1[_0x3ef533(0x35b)]||(_0x2d9c15?_0x25cf61:_0x550c55),_0x109ae1[_0x3ef533(0x359)]=_0x109ae1[_0x3ef533(0x359)]||_0x940c69,_0x109ae1[_0x3ef533(0x2b3)]=_0x331d1c[_0x3ef533(0x2b3)]||_0x940c69,_0x109ae1[_0x3ef533(0x280)]=_0x331d1c[_0x3ef533(0x35d)][_0x3ef533(0x1e4)]('[')?_0x331d1c[_0x3ef533(0x35d)][_0x3ef533(0x26f)](0x1,-0x1):_0x331d1c[_0x3ef533(0x35d)],_0x109ae1['headers']={..._0x109ae1[_0x3ef533(0x332)],'Sec-WebSocket-Version':_0x109ae1[_0x3ef533(0x343)],'Sec-WebSocket-Key':_0x312dcd,'Connection':_0x3ef533(0x367),'Upgrade':_0x3ef533(0x1dd)},_0x109ae1['path']=_0x331d1c[_0x3ef533(0x1fb)]+_0x331d1c[_0x3ef533(0x2a6)],_0x109ae1[_0x3ef533(0x26c)]=_0x109ae1[_0x3ef533(0x2ac)],_0x109ae1[_0x3ef533(0x22c)]&&(_0x5a177f=new _0x1ba237(_0x109ae1['perMessageDeflate']!==!0x0?_0x109ae1[_0x3ef533(0x22c)]:{},!0x1,_0x109ae1[_0x3ef533(0x2e5)]),_0x109ae1['headers']['Sec-WebSocket-Extensions']=_0x29af2a({[_0x1ba237[_0x3ef533(0x23e)]]:_0x5a177f[_0x3ef533(0x224)]()})),_0x5d4893['length']){for(const _0x13dc39 of _0x5d4893){if(typeof _0x13dc39!='string'||!_0x501b0d['test'](_0x13dc39)||_0x1dba54[_0x3ef533(0x2b7)](_0x13dc39))throw new SyntaxError(_0x3ef533(0x22d));_0x1dba54[_0x3ef533(0x2ae)](_0x13dc39);}_0x109ae1[_0x3ef533(0x332)][_0x3ef533(0x324)]=_0x5d4893['join'](',');}if(_0x109ae1[_0x3ef533(0x333)]&&(_0x109ae1[_0x3ef533(0x343)]<0xd?_0x109ae1[_0x3ef533(0x332)][_0x3ef533(0x33b)]=_0x109ae1[_0x3ef533(0x333)]:_0x109ae1['headers'][_0x3ef533(0x1cf)]=_0x109ae1[_0x3ef533(0x333)]),(_0x331d1c[_0x3ef533(0x2d2)]||_0x331d1c[_0x3ef533(0x1d0)])&&(_0x109ae1[_0x3ef533(0x1f6)]=_0x331d1c[_0x3ef533(0x2d2)]+':'+_0x331d1c[_0x3ef533(0x1d0)]),_0x4366db){const _0x5ac604=_0x109ae1[_0x3ef533(0x286)][_0x3ef533(0x235)](':');_0x109ae1[_0x3ef533(0x1b9)]=_0x5ac604[0x0],_0x109ae1['path']=_0x5ac604[0x1];}let _0x188029;if(_0x109ae1[_0x3ef533(0x1d6)]){if(_0x412306[_0x3ef533(0x1bc)]===0x0){_0x412306['_originalIpc']=_0x4366db,_0x412306[_0x3ef533(0x289)]=_0x2d9c15,_0x412306[_0x3ef533(0x2ff)]=_0x4366db?_0x109ae1[_0x3ef533(0x1b9)]:_0x331d1c[_0x3ef533(0x280)];const _0x2457c3=_0x587579&&_0x587579[_0x3ef533(0x332)];if(_0x587579={..._0x587579,'headers':{}},_0x2457c3){for(const [_0x2583d0,_0x89ef60]of Object[_0x3ef533(0x1ca)](_0x2457c3))_0x587579[_0x3ef533(0x332)][_0x2583d0[_0x3ef533(0x1d9)]()]=_0x89ef60;}}else{if(_0x412306[_0x3ef533(0x2d0)](_0x3ef533(0x2a3))===0x0){const _0x2dc298=_0x4366db?_0x412306[_0x3ef533(0x2c0)]?_0x109ae1['socketPath']===_0x412306[_0x3ef533(0x2ff)]:!0x1:_0x412306[_0x3ef533(0x2c0)]?!0x1:_0x331d1c[_0x3ef533(0x280)]===_0x412306[_0x3ef533(0x2ff)];(!_0x2dc298||_0x412306[_0x3ef533(0x289)]&&!_0x2d9c15)&&(delete _0x109ae1[_0x3ef533(0x332)][_0x3ef533(0x1e1)],delete _0x109ae1[_0x3ef533(0x332)][_0x3ef533(0x22a)],_0x2dc298||delete _0x109ae1['headers']['host'],_0x109ae1[_0x3ef533(0x1f6)]=void 0x0);}}_0x109ae1[_0x3ef533(0x1f6)]&&!_0x587579[_0x3ef533(0x332)]['authorization']&&(_0x587579[_0x3ef533(0x332)][_0x3ef533(0x1e1)]=_0x3ef533(0x227)+Buffer[_0x3ef533(0x1c5)](_0x109ae1['auth'])[_0x3ef533(0x319)]('base64')),_0x188029=_0x412306['_req']=_0x50bc12(_0x109ae1),_0x412306[_0x3ef533(0x1bc)]&&_0x412306['emit'](_0x3ef533(0x2a3),_0x412306[_0x3ef533(0x1bd)],_0x188029);}else _0x188029=_0x412306[_0x3ef533(0x240)]=_0x50bc12(_0x109ae1);_0x109ae1[_0x3ef533(0x26c)]&&_0x188029['on']('timeout',()=>{const _0x48c1af=_0x3ef533;_0x1ba965(_0x412306,_0x188029,_0x48c1af(0x31f));}),_0x188029['on']('error',_0x6530a8=>{const _0x29bc35=_0x3ef533;_0x188029===null||_0x188029[_0x4d3cac]||(_0x188029=_0x412306[_0x29bc35(0x240)]=null,_0x500cba(_0x412306,_0x6530a8));}),_0x188029['on'](_0x3ef533(0x20d),_0x160ce7=>{const _0x24f5aa=_0x3ef533,_0x50ed58=_0x160ce7['headers'][_0x24f5aa(0x1ce)],_0x2b73b0=_0x160ce7[_0x24f5aa(0x1d8)];if(_0x50ed58&&_0x109ae1[_0x24f5aa(0x1d6)]&&_0x2b73b0>=0x12c&&_0x2b73b0<0x190){if(++_0x412306[_0x24f5aa(0x1bc)]>_0x109ae1[_0x24f5aa(0x265)]){_0x1ba965(_0x412306,_0x188029,_0x24f5aa(0x1c3));return;}_0x188029[_0x24f5aa(0x27b)]();let _0x4c014a;try{_0x4c014a=new _0x51eaac(_0x50ed58,_0xa13f8);}catch{const _0x4aac1e=new SyntaxError('Invalid\x20URL:\x20'+_0x50ed58);_0x500cba(_0x412306,_0x4aac1e);return;}_0xe28f1e(_0x412306,_0x4c014a,_0x5d4893,_0x587579);}else _0x412306[_0x24f5aa(0x1ef)](_0x24f5aa(0x260),_0x188029,_0x160ce7)||_0x1ba965(_0x412306,_0x188029,'Unexpected\x20server\x20response:\x20'+_0x160ce7[_0x24f5aa(0x1d8)]);}),_0x188029['on'](_0x3ef533(0x2b5),(_0x3d7056,_0x1e66cc,_0x2216b7)=>{const _0x49d0a5=_0x3ef533;if(_0x412306[_0x49d0a5(0x1ef)](_0x49d0a5(0x2b5),_0x3d7056),_0x412306['readyState']!==_0x269ff6[_0x49d0a5(0x2af)])return;_0x188029=_0x412306[_0x49d0a5(0x240)]=null;const _0x20aeba=_0x3d7056['headers']['upgrade'];if(_0x20aeba===void 0x0||_0x20aeba['toLowerCase']()!==_0x49d0a5(0x1dd)){_0x1ba965(_0x412306,_0x1e66cc,_0x49d0a5(0x33f));return;}const _0x265c5d=_0x4732d3(_0x49d0a5(0x230))[_0x49d0a5(0x30b)](_0x312dcd+_0x24e9d6)[_0x49d0a5(0x257)]('base64');if(_0x3d7056['headers']['sec-websocket-accept']!==_0x265c5d){_0x1ba965(_0x412306,_0x1e66cc,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x440052=_0x3d7056['headers'][_0x49d0a5(0x2cf)];let _0x54abdf;if(_0x440052!==void 0x0?_0x1dba54[_0x49d0a5(0x275)]?_0x1dba54[_0x49d0a5(0x2b7)](_0x440052)||(_0x54abdf=_0x49d0a5(0x2c9)):_0x54abdf=_0x49d0a5(0x29e):_0x1dba54[_0x49d0a5(0x275)]&&(_0x54abdf='Server\x20sent\x20no\x20subprotocol'),_0x54abdf){_0x1ba965(_0x412306,_0x1e66cc,_0x54abdf);return;}_0x440052&&(_0x412306['_protocol']=_0x440052);const _0x413032=_0x3d7056[_0x49d0a5(0x332)][_0x49d0a5(0x23b)];if(_0x413032!==void 0x0){if(!_0x5a177f){_0x1ba965(_0x412306,_0x1e66cc,_0x49d0a5(0x205));return;}let _0x3459e2;try{_0x3459e2=_0x351381(_0x413032);}catch{_0x1ba965(_0x412306,_0x1e66cc,_0x49d0a5(0x2d1));return;}const _0x43a84d=Object[_0x49d0a5(0x315)](_0x3459e2);if(_0x43a84d['length']!==0x1||_0x43a84d[0x0]!==_0x1ba237[_0x49d0a5(0x23e)]){_0x1ba965(_0x412306,_0x1e66cc,_0x49d0a5(0x2aa));return;}try{_0x5a177f['accept'](_0x3459e2[_0x1ba237[_0x49d0a5(0x23e)]]);}catch{_0x1ba965(_0x412306,_0x1e66cc,_0x49d0a5(0x2d1));return;}_0x412306['_extensions'][_0x1ba237[_0x49d0a5(0x23e)]]=_0x5a177f;}_0x412306[_0x49d0a5(0x327)](_0x1e66cc,_0x2216b7,{'allowSynchronousEvents':_0x109ae1[_0x49d0a5(0x30d)],'generateMask':_0x109ae1[_0x49d0a5(0x1d3)],'maxPayload':_0x109ae1[_0x49d0a5(0x2e5)],'skipUTF8Validation':_0x109ae1[_0x49d0a5(0x27e)]});}),_0x109ae1[_0x3ef533(0x336)]?_0x109ae1[_0x3ef533(0x336)](_0x188029,_0x412306):_0x188029[_0x3ef533(0x29f)]();}function _0x500cba(_0xee5404,_0x2c465c){const _0x2ad3ee=_0x3ddab1;_0xee5404[_0x2ad3ee(0x252)]=_0x269ff6[_0x2ad3ee(0x29a)],_0xee5404[_0x2ad3ee(0x24f)]=!0x0,_0xee5404[_0x2ad3ee(0x1ef)](_0x2ad3ee(0x1e3),_0x2c465c),_0xee5404['emitClose']();}function _0x550c55(_0x1125aa){const _0x2b960c=_0x3ddab1;return _0x1125aa[_0x2b960c(0x286)]=_0x1125aa[_0x2b960c(0x1b9)],_0x4b068f[_0x2b960c(0x305)](_0x1125aa);}function _0x25cf61(_0x9f3dd1){const _0x26cf20=_0x3ddab1;return _0x9f3dd1['path']=void 0x0,!_0x9f3dd1[_0x26cf20(0x356)]&&_0x9f3dd1[_0x26cf20(0x356)]!==''&&(_0x9f3dd1[_0x26cf20(0x356)]=_0x4b068f[_0x26cf20(0x26b)](_0x9f3dd1[_0x26cf20(0x280)])?'':_0x9f3dd1[_0x26cf20(0x280)]),_0x308810[_0x26cf20(0x305)](_0x9f3dd1);}function _0x1ba965(_0x27ae03,_0x3a2082,_0x1a3fb6){const _0x3120a2=_0x3ddab1;_0x27ae03[_0x3120a2(0x252)]=_0x269ff6[_0x3120a2(0x29a)];const _0x1714ca=new Error(_0x1a3fb6);Error[_0x3120a2(0x353)](_0x1714ca,_0x1ba965),_0x3a2082[_0x3120a2(0x29c)]?(_0x3a2082[_0x4d3cac]=!0x0,_0x3a2082[_0x3120a2(0x27b)](),_0x3a2082[_0x3120a2(0x209)]&&!_0x3a2082['socket'][_0x3120a2(0x20e)]&&_0x3a2082[_0x3120a2(0x209)][_0x3120a2(0x310)](),process['nextTick'](_0x500cba,_0x27ae03,_0x1714ca)):(_0x3a2082[_0x3120a2(0x310)](_0x1714ca),_0x3a2082[_0x3120a2(0x2bc)](_0x3120a2(0x1e3),_0x27ae03[_0x3120a2(0x1ef)][_0x3120a2(0x338)](_0x27ae03,_0x3120a2(0x1e3))),_0x3a2082[_0x3120a2(0x2bc)](_0x3120a2(0x2a8),_0x27ae03[_0x3120a2(0x266)][_0x3120a2(0x338)](_0x27ae03)));}function _0x615c6a(_0xfe9c94,_0xefa8,_0x412231){const _0x3ee249=_0x3ddab1;if(_0xefa8){const _0x59bab7=_0x45b877(_0xefa8)?_0xefa8['size']:_0x592971(_0xefa8)[_0x3ee249(0x352)];_0xfe9c94[_0x3ee249(0x288)]?_0xfe9c94[_0x3ee249(0x204)][_0x3ee249(0x300)]+=_0x59bab7:_0xfe9c94[_0x3ee249(0x2e6)]+=_0x59bab7;}if(_0x412231){const _0x22933a=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0xfe9c94['readyState']+'\x20('+_0x37c098[_0xfe9c94['readyState']]+')');process[_0x3ee249(0x2d6)](_0x412231,_0x22933a);}}function _0x4c7e45(_0x315d32,_0x2aed17){const _0xc8869=_0x3ddab1,_0x2539c7=this[_0xbec8d5];_0x2539c7['_closeFrameReceived']=!0x0,_0x2539c7[_0xc8869(0x222)]=_0x2aed17,_0x2539c7[_0xc8869(0x225)]=_0x315d32,_0x2539c7['_socket'][_0xbec8d5]!==void 0x0&&(_0x2539c7['_socket'][_0xc8869(0x28c)](_0xc8869(0x34d),_0xb16180),process[_0xc8869(0x2d6)](_0x14955d,_0x2539c7[_0xc8869(0x288)]),_0x315d32===0x3ed?_0x2539c7[_0xc8869(0x2a8)]():_0x2539c7[_0xc8869(0x2a8)](_0x315d32,_0x2aed17));}function _0x5d1290(){const _0x157780=_0x3ddab1,_0xaf5d5c=this[_0xbec8d5];_0xaf5d5c[_0x157780(0x27f)]||_0xaf5d5c[_0x157780(0x288)][_0x157780(0x2a7)]();}function _0x2b6a40(_0x527275){const _0x130342=_0x3ddab1,_0x4a45bc=this[_0xbec8d5];_0x4a45bc[_0x130342(0x288)][_0xbec8d5]!==void 0x0&&(_0x4a45bc['_socket'][_0x130342(0x28c)]('data',_0xb16180),process[_0x130342(0x2d6)](_0x14955d,_0x4a45bc['_socket']),_0x4a45bc[_0x130342(0x2a8)](_0x527275[_0x3ba659])),_0x4a45bc['_errorEmitted']||(_0x4a45bc[_0x130342(0x24f)]=!0x0,_0x4a45bc[_0x130342(0x1ef)](_0x130342(0x1e3),_0x527275));}function _0x18ab23(){const _0x4b59b3=_0x3ddab1;this[_0xbec8d5][_0x4b59b3(0x266)]();}function _0x47da85(_0x247803,_0x3d6ff0){const _0x5843c7=_0x3ddab1;this[_0xbec8d5]['emit'](_0x5843c7(0x342),_0x247803,_0x3d6ff0);}function _0x3bef1b(_0x347b98){const _0x28acc8=_0x3ddab1,_0x3a8c08=this[_0xbec8d5];_0x3a8c08[_0x28acc8(0x218)]&&_0x3a8c08[_0x28acc8(0x1da)](_0x347b98,!this[_0x28acc8(0x34b)],_0x5aaba8),_0x3a8c08[_0x28acc8(0x1ef)](_0x28acc8(0x2d4),_0x347b98);}function _0x1c5da3(_0x1c9ad8){const _0xf665dc=_0x3ddab1;this[_0xbec8d5][_0xf665dc(0x1ef)]('pong',_0x1c9ad8);}function _0x14955d(_0x44abad){const _0x4bc020=_0x3ddab1;_0x44abad[_0x4bc020(0x2a7)]();}function _0x45686d(_0x136760){const _0x263493=_0x3ddab1,_0x4b9981=this[_0xbec8d5];_0x4b9981[_0x263493(0x35e)]!==_0x269ff6[_0x263493(0x1bf)]&&(_0x4b9981[_0x263493(0x35e)]===_0x269ff6[_0x263493(0x318)]&&(_0x4b9981['_readyState']=_0x269ff6[_0x263493(0x29a)],_0x539107(_0x4b9981)),this[_0x263493(0x288)][_0x263493(0x29f)](),_0x4b9981[_0x263493(0x24f)]||(_0x4b9981['_errorEmitted']=!0x0,_0x4b9981[_0x263493(0x1ef)](_0x263493(0x1e3),_0x136760)));}function _0x539107(_0xd9a2bd){const _0x4a0955=_0x3ddab1;_0xd9a2bd[_0x4a0955(0x1ba)]=setTimeout(_0xd9a2bd[_0x4a0955(0x288)][_0x4a0955(0x310)][_0x4a0955(0x338)](_0xd9a2bd[_0x4a0955(0x288)]),_0x6bd1d4);}function _0x5d5748(){const _0x426823=_0x3ddab1,_0xdb5ef5=this[_0xbec8d5];this[_0x426823(0x28c)](_0x426823(0x2a8),_0x5d5748),this['removeListener'](_0x426823(0x34d),_0xb16180),this['removeListener'](_0x426823(0x29f),_0x29f06b),_0xdb5ef5[_0x426823(0x252)]=_0x269ff6[_0x426823(0x29a)];let _0x18ba6a;!this['_readableState'][_0x426823(0x2f7)]&&!_0xdb5ef5['_closeFrameReceived']&&!_0xdb5ef5[_0x426823(0x254)][_0x426823(0x2db)]['errorEmitted']&&(_0x18ba6a=_0xdb5ef5[_0x426823(0x288)]['read']())!==null&&_0xdb5ef5['_receiver'][_0x426823(0x1c4)](_0x18ba6a),_0xdb5ef5[_0x426823(0x254)][_0x426823(0x29f)](),this[_0xbec8d5]=void 0x0,clearTimeout(_0xdb5ef5['_closeTimer']),_0xdb5ef5[_0x426823(0x254)][_0x426823(0x2db)]['finished']||_0xdb5ef5[_0x426823(0x254)][_0x426823(0x2db)][_0x426823(0x301)]?_0xdb5ef5[_0x426823(0x266)]():(_0xdb5ef5[_0x426823(0x254)]['on'](_0x426823(0x1e3),_0x18ab23),_0xdb5ef5['_receiver']['on'](_0x426823(0x322),_0x18ab23));}function _0xb16180(_0x37d23e){const _0x5592c0=_0x3ddab1;this[_0xbec8d5][_0x5592c0(0x254)][_0x5592c0(0x1c4)](_0x37d23e)||this[_0x5592c0(0x2f6)]();}function _0x29f06b(){const _0x3787ab=_0x3ddab1,_0x14e325=this[_0xbec8d5];_0x14e325['_readyState']=_0x269ff6['CLOSING'],_0x14e325['_receiver'][_0x3787ab(0x29f)](),this[_0x3787ab(0x29f)]();}function _0x4f6cb0(){const _0x48a193=_0x3ddab1,_0x4842b7=this[_0xbec8d5];this[_0x48a193(0x28c)]('error',_0x4f6cb0),this['on'](_0x48a193(0x1e3),_0x5aaba8),_0x4842b7&&(_0x4842b7[_0x48a193(0x252)]=_0x269ff6[_0x48a193(0x29a)],this[_0x48a193(0x310)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x35aaff}=_0x454b47;function _0x7bb0f8(_0x130770){_0x130770['emit']('close');}function _0x1ead16(){const _0x12986b=_0x2516;!this[_0x12986b(0x20e)]&&this['_writableState'][_0x12986b(0x2a9)]&&this[_0x12986b(0x310)]();}function _0x543384(_0x2d6def){const _0x3352ad=_0x2516;this[_0x3352ad(0x28c)](_0x3352ad(0x1e3),_0x543384),this[_0x3352ad(0x310)](),this[_0x3352ad(0x2d0)]('error')===0x0&&this['emit'](_0x3352ad(0x1e3),_0x2d6def);}function _0xc1946f(_0x525bfb,_0x97a7bc){const _0x41993a=_0x2516;let _0xe54b79=!0x0;const _0x25cd8b=new _0x35aaff({..._0x97a7bc,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x525bfb['on'](_0x41993a(0x342),function(_0x4236ff,_0x412163){const _0x196d7b=_0x41993a,_0x20ba8e=!_0x412163&&_0x25cd8b['_readableState'][_0x196d7b(0x258)]?_0x4236ff['toString']():_0x4236ff;_0x25cd8b[_0x196d7b(0x33c)](_0x20ba8e)||_0x525bfb[_0x196d7b(0x2f6)]();}),_0x525bfb[_0x41993a(0x2bc)]('error',function(_0x48f0de){const _0x2a73a3=_0x41993a;_0x25cd8b[_0x2a73a3(0x20e)]||(_0xe54b79=!0x1,_0x25cd8b[_0x2a73a3(0x310)](_0x48f0de));}),_0x525bfb[_0x41993a(0x2bc)](_0x41993a(0x2a8),function(){const _0x1af991=_0x41993a;_0x25cd8b[_0x1af991(0x20e)]||_0x25cd8b[_0x1af991(0x33c)](null);}),_0x25cd8b['_destroy']=function(_0x1ef4b6,_0x5f5a1a){const _0x1ac4f3=_0x41993a;if(_0x525bfb[_0x1ac4f3(0x35e)]===_0x525bfb['CLOSED']){_0x5f5a1a(_0x1ef4b6),process['nextTick'](_0x7bb0f8,_0x25cd8b);return;}let _0x1d1a62=!0x1;_0x525bfb[_0x1ac4f3(0x2bc)](_0x1ac4f3(0x1e3),function(_0x456e53){_0x1d1a62=!0x0,_0x5f5a1a(_0x456e53);}),_0x525bfb[_0x1ac4f3(0x2bc)](_0x1ac4f3(0x2a8),function(){const _0x46d17b=_0x1ac4f3;_0x1d1a62||_0x5f5a1a(_0x1ef4b6),process[_0x46d17b(0x2d6)](_0x7bb0f8,_0x25cd8b);}),_0xe54b79&&_0x525bfb[_0x1ac4f3(0x228)]();},_0x25cd8b[_0x41993a(0x328)]=function(_0xfe23c5){const _0x2a5564=_0x41993a;if(_0x525bfb[_0x2a5564(0x35e)]===_0x525bfb[_0x2a5564(0x2af)]){_0x525bfb['once'](_0x2a5564(0x231),function(){const _0x5090ba=_0x2a5564;_0x25cd8b[_0x5090ba(0x328)](_0xfe23c5);});return;}_0x525bfb[_0x2a5564(0x288)]!==null&&(_0x525bfb[_0x2a5564(0x288)][_0x2a5564(0x2db)][_0x2a5564(0x2a9)]?(_0xfe23c5(),_0x25cd8b['_readableState'][_0x2a5564(0x2f7)]&&_0x25cd8b[_0x2a5564(0x310)]()):(_0x525bfb[_0x2a5564(0x288)]['once']('finish',function(){_0xfe23c5();}),_0x525bfb[_0x2a5564(0x2a8)]()));},_0x25cd8b[_0x41993a(0x26e)]=function(){const _0x3aaed5=_0x41993a;_0x525bfb[_0x3aaed5(0x27f)]&&_0x525bfb[_0x3aaed5(0x2a7)]();},_0x25cd8b['_write']=function(_0x20744b,_0x15ede7,_0x33da2e){const _0x1d37b5=_0x41993a;if(_0x525bfb[_0x1d37b5(0x35e)]===_0x525bfb[_0x1d37b5(0x2af)]){_0x525bfb[_0x1d37b5(0x2bc)](_0x1d37b5(0x231),function(){_0x25cd8b['_write'](_0x20744b,_0x15ede7,_0x33da2e);});return;}_0x525bfb['send'](_0x20744b,_0x33da2e);},_0x25cd8b['on']('end',_0x1ead16),_0x25cd8b['on'](_0x41993a(0x1e3),_0x543384),_0x25cd8b;}return Oe=_0xc1946f,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x8061ee}=ne();function _0x31e461(_0xfed42b){const _0x4af7c1=_0x2516,_0xfa0b48=new Set();let _0x526834=-0x1,_0x431d31=-0x1,_0x303423=0x0;for(_0x303423;_0x303423<_0xfed42b[_0x4af7c1(0x352)];_0x303423++){const _0x16c84a=_0xfed42b[_0x4af7c1(0x1e7)](_0x303423);if(_0x431d31===-0x1&&_0x8061ee[_0x16c84a]===0x1)_0x526834===-0x1&&(_0x526834=_0x303423);else{if(_0x303423!==0x0&&(_0x16c84a===0x20||_0x16c84a===0x9))_0x431d31===-0x1&&_0x526834!==-0x1&&(_0x431d31=_0x303423);else{if(_0x16c84a===0x2c){if(_0x526834===-0x1)throw new SyntaxError(_0x4af7c1(0x1cd)+_0x303423);_0x431d31===-0x1&&(_0x431d31=_0x303423);const _0x52a984=_0xfed42b[_0x4af7c1(0x26f)](_0x526834,_0x431d31);if(_0xfa0b48['has'](_0x52a984))throw new SyntaxError('The\x20\x22'+_0x52a984+'\x22\x20subprotocol\x20is\x20duplicated');_0xfa0b48[_0x4af7c1(0x2ae)](_0x52a984),_0x526834=_0x431d31=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x303423);}}}if(_0x526834===-0x1||_0x431d31!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x49bbf9=_0xfed42b[_0x4af7c1(0x26f)](_0x526834,_0x303423);if(_0xfa0b48[_0x4af7c1(0x2b7)](_0x49bbf9))throw new SyntaxError(_0x4af7c1(0x273)+_0x49bbf9+_0x4af7c1(0x28d));return _0xfa0b48[_0x4af7c1(0x2ae)](_0x49bbf9),_0xfa0b48;}return Ce={'parse':_0x31e461},Ce;}var Te,ot;function er(){const _0x226c95=_0x21d35a;if(ot)return Te;ot=0x1;const _0x531b38=_0x455b83,_0x485631=_0x13b8ac,{Duplex:_0x3670bd}=_0x454b47,{createHash:_0x3cf593}=_0x276912,_0x195eca=pt(),_0x2cdb36=he(),_0x30b983=Jt(),_0x1cb9ff=Ie(),{GUID:_0x22125d,kWebSocket:_0x2ce89d}=V(),_0x215489=/^[+/0-9A-Za-z]{22}==$/,_0x22a704=0x0,_0x543e00=0x1,_0x3379ff=0x2;class _0x11cee4 extends _0x531b38{constructor(_0x6e44b0,_0x87388a){const _0x3e7b09=_0x2516;if(super(),_0x6e44b0={'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':_0x1cb9ff,..._0x6e44b0},_0x6e44b0[_0x3e7b09(0x2b3)]==null&&!_0x6e44b0['server']&&!_0x6e44b0['noServer']||_0x6e44b0[_0x3e7b09(0x2b3)]!=null&&(_0x6e44b0['server']||_0x6e44b0[_0x3e7b09(0x1b6)])||_0x6e44b0[_0x3e7b09(0x2c7)]&&_0x6e44b0[_0x3e7b09(0x1b6)])throw new TypeError(_0x3e7b09(0x1e9));if(_0x6e44b0['port']!=null?(this[_0x3e7b09(0x229)]=_0x485631['createServer']((_0x1e88a4,_0x183e59)=>{const _0x468578=_0x3e7b09,_0x4b2fbd=_0x485631[_0x468578(0x1f8)][0x1aa];_0x183e59['writeHead'](0x1aa,{'Content-Length':_0x4b2fbd[_0x468578(0x352)],'Content-Type':'text/plain'}),_0x183e59['end'](_0x4b2fbd);}),this['_server'][_0x3e7b09(0x282)](_0x6e44b0['port'],_0x6e44b0['host'],_0x6e44b0[_0x3e7b09(0x293)],_0x87388a)):_0x6e44b0[_0x3e7b09(0x2c7)]&&(this[_0x3e7b09(0x229)]=_0x6e44b0[_0x3e7b09(0x2c7)]),this[_0x3e7b09(0x229)]){const _0x3cf1b0=this[_0x3e7b09(0x1ef)][_0x3e7b09(0x338)](this,'connection');this[_0x3e7b09(0x2ba)]=_0x2231b4(this[_0x3e7b09(0x229)],{'listening':this[_0x3e7b09(0x1ef)][_0x3e7b09(0x338)](this,_0x3e7b09(0x255)),'error':this[_0x3e7b09(0x1ef)]['bind'](this,_0x3e7b09(0x1e3)),'upgrade':(_0x4d4cfe,_0x58a57a,_0x1c2e1c)=>{const _0x361059=_0x3e7b09;this[_0x361059(0x2dc)](_0x4d4cfe,_0x58a57a,_0x1c2e1c,_0x3cf1b0);}});}_0x6e44b0[_0x3e7b09(0x22c)]===!0x0&&(_0x6e44b0[_0x3e7b09(0x22c)]={}),_0x6e44b0[_0x3e7b09(0x32d)]&&(this[_0x3e7b09(0x2d7)]=new Set(),this['_shouldEmitClose']=!0x1),this['options']=_0x6e44b0,this['_state']=_0x22a704;}[_0x226c95(0x1d1)](){const _0x56d08c=_0x226c95;if(this['options']['noServer'])throw new Error(_0x56d08c(0x2bf));return this['_server']?this[_0x56d08c(0x229)][_0x56d08c(0x1d1)]():null;}[_0x226c95(0x2a8)](_0x5084bc){const _0x23f592=_0x226c95;if(this[_0x23f592(0x32f)]===_0x3379ff){_0x5084bc&&this[_0x23f592(0x2bc)](_0x23f592(0x2a8),()=>{const _0x1baa18=_0x23f592;_0x5084bc(new Error(_0x1baa18(0x2c3)));}),process['nextTick'](_0x5d3d22,this);return;}if(_0x5084bc&&this[_0x23f592(0x2bc)]('close',_0x5084bc),this[_0x23f592(0x32f)]!==_0x543e00){if(this[_0x23f592(0x32f)]=_0x543e00,this[_0x23f592(0x360)][_0x23f592(0x1b6)]||this['options'][_0x23f592(0x2c7)])this[_0x23f592(0x229)]&&(this['_removeListeners'](),this[_0x23f592(0x2ba)]=this[_0x23f592(0x229)]=null),this[_0x23f592(0x2d7)]?this['clients'][_0x23f592(0x275)]?this[_0x23f592(0x1c8)]=!0x0:process[_0x23f592(0x2d6)](_0x5d3d22,this):process[_0x23f592(0x2d6)](_0x5d3d22,this);else{const _0x4f0c65=this[_0x23f592(0x229)];this[_0x23f592(0x2ba)](),this['_removeListeners']=this['_server']=null,_0x4f0c65[_0x23f592(0x2a8)](()=>{_0x5d3d22(this);});}}}['shouldHandle'](_0xcf432a){const _0x1983d9=_0x226c95;if(this[_0x1983d9(0x360)][_0x1983d9(0x286)]){const _0x30b0da=_0xcf432a[_0x1983d9(0x1bd)][_0x1983d9(0x261)]('?');if((_0x30b0da!==-0x1?_0xcf432a[_0x1983d9(0x1bd)][_0x1983d9(0x26f)](0x0,_0x30b0da):_0xcf432a[_0x1983d9(0x1bd)])!==this['options'][_0x1983d9(0x286)])return!0x1;}return!0x0;}[_0x226c95(0x2dc)](_0x2cfaf0,_0x4540d1,_0x4fd901,_0x1a8662){const _0x443e28=_0x226c95;_0x4540d1['on'](_0x443e28(0x1e3),_0x31bbf3);const _0x226bc4=_0x2cfaf0[_0x443e28(0x332)]['sec-websocket-key'],_0x266b3b=_0x2cfaf0['headers']['upgrade'],_0x54d157=+_0x2cfaf0['headers'][_0x443e28(0x2f3)];if(_0x2cfaf0[_0x443e28(0x2b1)]!==_0x443e28(0x2e4)){_0x284251(this,_0x2cfaf0,_0x4540d1,0x195,_0x443e28(0x2d3));return;}if(_0x266b3b===void 0x0||_0x266b3b[_0x443e28(0x1d9)]()!==_0x443e28(0x1dd)){_0x284251(this,_0x2cfaf0,_0x4540d1,0x190,_0x443e28(0x33f));return;}if(_0x226bc4===void 0x0||!_0x215489[_0x443e28(0x21d)](_0x226bc4)){_0x284251(this,_0x2cfaf0,_0x4540d1,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x54d157!==0x8&&_0x54d157!==0xd){_0x284251(this,_0x2cfaf0,_0x4540d1,0x190,_0x443e28(0x290));return;}if(!this['shouldHandle'](_0x2cfaf0)){_0x564fc1(_0x4540d1,0x190);return;}const _0x10cf01=_0x2cfaf0['headers'][_0x443e28(0x2cf)];let _0x5ad045=new Set();if(_0x10cf01!==void 0x0)try{_0x5ad045=_0x30b983[_0x443e28(0x233)](_0x10cf01);}catch{_0x284251(this,_0x2cfaf0,_0x4540d1,0x190,_0x443e28(0x1b8));return;}const _0x1a7859=_0x2cfaf0[_0x443e28(0x332)][_0x443e28(0x23b)],_0x4c1669={};if(this[_0x443e28(0x360)][_0x443e28(0x22c)]&&_0x1a7859!==void 0x0){const _0x204ae2=new _0x2cdb36(this['options'][_0x443e28(0x22c)],!0x0,this[_0x443e28(0x360)][_0x443e28(0x2e5)]);try{const _0x192b12=_0x195eca[_0x443e28(0x233)](_0x1a7859);_0x192b12[_0x2cdb36['extensionName']]&&(_0x204ae2[_0x443e28(0x221)](_0x192b12[_0x2cdb36[_0x443e28(0x23e)]]),_0x4c1669[_0x2cdb36[_0x443e28(0x23e)]]=_0x204ae2);}catch{_0x284251(this,_0x2cfaf0,_0x4540d1,0x190,_0x443e28(0x299));return;}}if(this[_0x443e28(0x360)][_0x443e28(0x30a)]){const _0x3f0bb2={'origin':_0x2cfaf0[_0x443e28(0x332)][''+(_0x54d157===0x8?_0x443e28(0x2f9):_0x443e28(0x333))],'secure':!!(_0x2cfaf0[_0x443e28(0x209)][_0x443e28(0x357)]||_0x2cfaf0['socket'][_0x443e28(0x219)]),'req':_0x2cfaf0};if(this[_0x443e28(0x360)][_0x443e28(0x30a)]['length']===0x2){this[_0x443e28(0x360)][_0x443e28(0x30a)](_0x3f0bb2,(_0x6208d8,_0x367379,_0x16a718,_0x4083a0)=>{if(!_0x6208d8)return _0x564fc1(_0x4540d1,_0x367379||0x191,_0x16a718,_0x4083a0);this['completeUpgrade'](_0x4c1669,_0x226bc4,_0x5ad045,_0x2cfaf0,_0x4540d1,_0x4fd901,_0x1a8662);});return;}if(!this['options'][_0x443e28(0x30a)](_0x3f0bb2))return _0x564fc1(_0x4540d1,0x191);}this[_0x443e28(0x306)](_0x4c1669,_0x226bc4,_0x5ad045,_0x2cfaf0,_0x4540d1,_0x4fd901,_0x1a8662);}[_0x226c95(0x306)](_0x2f3b7a,_0x49ee15,_0x1c2926,_0x23fa57,_0x493895,_0x159911,_0x52df8e){const _0x348e1c=_0x226c95;if(!_0x493895['readable']||!_0x493895['writable'])return _0x493895['destroy']();if(_0x493895[_0x2ce89d])throw new Error(_0x348e1c(0x34a));if(this[_0x348e1c(0x32f)]>_0x22a704)return _0x564fc1(_0x493895,0x1f7);const _0x4ce325=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x348e1c(0x2fa),'Connection:\x20Upgrade',_0x348e1c(0x35a)+_0x3cf593(_0x348e1c(0x230))[_0x348e1c(0x30b)](_0x49ee15+_0x22125d)[_0x348e1c(0x257)](_0x348e1c(0x2ad))],_0x239ca4=new this[(_0x348e1c(0x360))][(_0x348e1c(0x25c))](null,void 0x0,this[_0x348e1c(0x360)]);if(_0x1c2926['size']){const _0x3750ad=this['options'][_0x348e1c(0x216)]?this[_0x348e1c(0x360)][_0x348e1c(0x216)](_0x1c2926,_0x23fa57):_0x1c2926['values']()['next']()[_0x348e1c(0x25b)];_0x3750ad&&(_0x4ce325[_0x348e1c(0x33c)](_0x348e1c(0x1f3)+_0x3750ad),_0x239ca4['_protocol']=_0x3750ad);}if(_0x2f3b7a[_0x2cdb36[_0x348e1c(0x23e)]]){const _0x5e23f5=_0x2f3b7a[_0x2cdb36[_0x348e1c(0x23e)]][_0x348e1c(0x340)],_0x6ae830=_0x195eca['format']({[_0x2cdb36[_0x348e1c(0x23e)]]:[_0x5e23f5]});_0x4ce325[_0x348e1c(0x33c)](_0x348e1c(0x2ce)+_0x6ae830),_0x239ca4[_0x348e1c(0x341)]=_0x2f3b7a;}this[_0x348e1c(0x1ef)]('headers',_0x4ce325,_0x23fa57),_0x493895['write'](_0x4ce325[_0x348e1c(0x1ed)]('\x0d\x0a')[_0x348e1c(0x31e)]('\x0d\x0a')),_0x493895[_0x348e1c(0x28c)](_0x348e1c(0x1e3),_0x31bbf3),_0x239ca4[_0x348e1c(0x327)](_0x493895,_0x159911,{'allowSynchronousEvents':this[_0x348e1c(0x360)]['allowSynchronousEvents'],'maxPayload':this[_0x348e1c(0x360)][_0x348e1c(0x2e5)],'skipUTF8Validation':this[_0x348e1c(0x360)][_0x348e1c(0x27e)]}),this['clients']&&(this[_0x348e1c(0x2d7)][_0x348e1c(0x2ae)](_0x239ca4),_0x239ca4['on']('close',()=>{const _0x1f30d6=_0x348e1c;this['clients'][_0x1f30d6(0x20f)](_0x239ca4),this[_0x1f30d6(0x1c8)]&&!this[_0x1f30d6(0x2d7)]['size']&&process['nextTick'](_0x5d3d22,this);})),_0x52df8e(_0x239ca4,_0x23fa57);}}Te=_0x11cee4;function _0x2231b4(_0x50e0f1,_0x289eb4){const _0x289177=_0x226c95;for(const _0x11cfa6 of Object[_0x289177(0x315)](_0x289eb4))_0x50e0f1['on'](_0x11cfa6,_0x289eb4[_0x11cfa6]);return function(){const _0x2c09b4=_0x289177;for(const _0x449995 of Object[_0x2c09b4(0x315)](_0x289eb4))_0x50e0f1[_0x2c09b4(0x28c)](_0x449995,_0x289eb4[_0x449995]);};}function _0x5d3d22(_0xf32814){const _0x40e06b=_0x226c95;_0xf32814[_0x40e06b(0x32f)]=_0x3379ff,_0xf32814['emit']('close');}function _0x31bbf3(){const _0x1a9c82=_0x226c95;this[_0x1a9c82(0x310)]();}function _0x564fc1(_0x584905,_0x32771b,_0x317f68,_0x459fb7){const _0x3bd4e1=_0x226c95;_0x317f68=_0x317f68||_0x485631[_0x3bd4e1(0x1f8)][_0x32771b],_0x459fb7={'Connection':_0x3bd4e1(0x2a8),'Content-Type':_0x3bd4e1(0x24b),'Content-Length':Buffer[_0x3bd4e1(0x244)](_0x317f68),..._0x459fb7},_0x584905[_0x3bd4e1(0x2bc)]('finish',_0x584905['destroy']),_0x584905[_0x3bd4e1(0x29f)](_0x3bd4e1(0x253)+_0x32771b+'\x20'+_0x485631['STATUS_CODES'][_0x32771b]+'\x0d\x0a'+Object['keys'](_0x459fb7)[_0x3bd4e1(0x2f4)](_0x4459d3=>_0x4459d3+':\x20'+_0x459fb7[_0x4459d3])[_0x3bd4e1(0x31e)]('\x0d\x0a')+_0x3bd4e1(0x2a0)+_0x317f68);}function _0x284251(_0x2e5076,_0x47dee5,_0x2e6c6c,_0x526394,_0x3d5a81){const _0x1da892=_0x226c95;if(_0x2e5076[_0x1da892(0x2d0)]('wsClientError')){const _0x43c354=new Error(_0x3d5a81);Error[_0x1da892(0x353)](_0x43c354,_0x284251),_0x2e5076[_0x1da892(0x1ef)](_0x1da892(0x238),_0x43c354,_0x2e6c6c,_0x47dee5);}else _0x564fc1(_0x2e6c6c,_0x526394,_0x3d5a81);}return Te;}er();var tr=Object[_0x21d35a(0x2de)],rr=(_0x41792e,_0x25c952,_0xcff6d9,_0x5b2306)=>{const _0x27e0b4=_0x21d35a;for(var _0x23be6a=_0x5b2306>0x1?void 0x0:_0x5b2306?tr(_0x25c952,_0xcff6d9):_0x25c952,_0x36a9b4=_0x41792e[_0x27e0b4(0x352)]-0x1,_0x37e834;_0x36a9b4>=0x0;_0x36a9b4--)(_0x37e834=_0x41792e[_0x36a9b4])&&(_0x23be6a=_0x37e834(_0x23be6a)||_0x23be6a);return _0x23be6a;},sr=(_0x20f054,_0x24decb)=>(_0x560db7,_0x4a0965)=>_0x24decb(_0x560db7,_0x4a0965,_0x20f054);let Ne=class extends _0x4a40fe{constructor(_0x46e159){const _0x1cb373=_0x21d35a;super(),this[_0x1cb373(0x296)]=_0x46e159;}[_0x21d35a(0x2eb)](_0x1259dc){const _0x179fb3=_0x21d35a;var _0x345aac;const _0x27ab3a=(_0x345aac=this[_0x179fb3(0x296)][_0x179fb3(0x2c6)](Be))==null?void 0x0:_0x345aac[_0x179fb3(0x251)];try{const _0x2ed455=new Qt(_0x1259dc,{'headers':{..._0x27ab3a}}),_0x18dbff=new _0x31ecbc();return{'URL':_0x1259dc,'close':(_0x46b9cf,_0x40aac3)=>{const _0x55fffd=_0x179fb3;_0x2ed455[_0x55fffd(0x2a8)](_0x46b9cf,_0x40aac3),_0x18dbff[_0x55fffd(0x2f1)]();},'send':_0x2b0c98=>{const _0x3fecaa=_0x179fb3;_0x2ed455[_0x3fecaa(0x2df)](_0x2b0c98);},'open$':new _0x12c114(_0x21f9ee=>{const _0x2dd21a=_0x179fb3,_0x33a759=_0x2a31d4=>_0x21f9ee['next'](_0x2a31d4);_0x2ed455[_0x2dd21a(0x23c)](_0x2dd21a(0x231),_0x33a759),_0x18dbff['add'](_0x1815e3(()=>_0x2ed455[_0x2dd21a(0x2d9)](_0x2dd21a(0x231),_0x33a759)));})['pipe'](_0x17d4e5()),'close$':new _0x12c114(_0x275a55=>{const _0x356933=_0x179fb3,_0xfbb745=_0x1b3d7b=>_0x275a55['next'](_0x1b3d7b);_0x2ed455[_0x356933(0x23c)](_0x356933(0x2a8),_0xfbb745),_0x18dbff[_0x356933(0x2ae)](_0x1815e3(()=>_0x2ed455[_0x356933(0x2d9)](_0x356933(0x2a8),_0xfbb745)));})[_0x179fb3(0x245)](_0x17d4e5()),'error$':new _0x12c114(_0x13ab4e=>{const _0x58747e=_0x179fb3,_0x4eb260=_0x30e3d8=>_0x13ab4e[_0x58747e(0x307)](_0x30e3d8);_0x2ed455[_0x58747e(0x23c)]('error',_0x4eb260),_0x18dbff[_0x58747e(0x2ae)](_0x1815e3(()=>_0x2ed455[_0x58747e(0x2d9)](_0x58747e(0x1e3),_0x4eb260)));})['pipe'](_0x17d4e5()),'message$':new _0x12c114(_0x25b7e9=>{const _0x8f45f=_0x179fb3,_0x508082=_0x58bad1=>_0x25b7e9[_0x8f45f(0x307)](_0x58bad1);_0x2ed455[_0x8f45f(0x23c)](_0x8f45f(0x342),_0x508082),_0x18dbff[_0x8f45f(0x2ae)](_0x1815e3(()=>_0x2ed455[_0x8f45f(0x2d9)](_0x8f45f(0x342),_0x508082)));})[_0x179fb3(0x245)](_0x17d4e5())};}catch(_0x3674d5){return console['error'](_0x3674d5),null;}}};Ne=rr([sr(0x0,_0xf36e0c)],Ne);var ir=Object[_0x21d35a(0x1e0)],nr=Object[_0x21d35a(0x2de)],or=(_0x8d0b85,_0x50e0d1,_0x8a8e78)=>_0x50e0d1 in _0x8d0b85?ir(_0x8d0b85,_0x50e0d1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x8a8e78}):_0x8d0b85[_0x50e0d1]=_0x8a8e78,ar=(_0x30e0d9,_0x16db22,_0x270fae,_0xc49e9d)=>{const _0x3acaa9=_0x21d35a;for(var _0x1fe353=_0xc49e9d>0x1?void 0x0:_0xc49e9d?nr(_0x16db22,_0x270fae):_0x16db22,_0x4c5fec=_0x30e0d9[_0x3acaa9(0x352)]-0x1,_0x4472a7;_0x4c5fec>=0x0;_0x4c5fec--)(_0x4472a7=_0x30e0d9[_0x4c5fec])&&(_0x1fe353=_0x4472a7(_0x1fe353)||_0x1fe353);return _0x1fe353;},ke=(_0x313a91,_0x55e256)=>(_0x1f1739,_0x418a95)=>_0x55e256(_0x1f1739,_0x418a95,_0x313a91),lr=(_0x17907d,_0x27cf1c,_0x326ad0)=>or(_0x17907d,_0x27cf1c+'',_0x326ad0);let Pe=class extends _0x44fe10{constructor(_0x1c5531=Ft,_0x3a2e14,_0x2283a2,_0x3d9c73){const _0x2b28b2=_0x21d35a;_0x1c5531[_0x2b28b2(0x251)]||_0x3a2e14[_0x2b28b2(0x34e)](_0x2b28b2(0x363)),super(),this[_0x2b28b2(0x296)]=_0x2283a2,this[_0x2b28b2(0x1df)]=_0x3d9c73,this['_configService'][_0x2b28b2(0x2d8)](Be,_0x1c5531);}['onStarting'](){const _0x826cba=_0x21d35a;this[_0x826cba(0x24e)]();}[_0x21d35a(0x24e)](){const _0x34a058=_0x21d35a;_0x42021e(this[_0x34a058(0x1df)],[[_0xfb5ba6,{'useClass':Ne}]]);}};lr(Pe,_0x21d35a(0x23a),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),Pe=ar([_0x2066fe(_0x73c3ef),ke(0x1,_0x5c59b7),ke(0x2,_0xf36e0c),ke(0x3,_0x4400ae(_0x11a9c4))],Pe);var fr=Object[_0x21d35a(0x2de)],cr=(_0x5cb3d3,_0x15ba43,_0x2dcfc4,_0x5581c5)=>{for(var _0x3ff942=_0x5581c5>0x1?void 0x0:_0x5581c5?fr(_0x15ba43,_0x2dcfc4):_0x15ba43,_0x42e54e=_0x5cb3d3['length']-0x1,_0x462007;_0x42e54e>=0x0;_0x42e54e--)(_0x462007=_0x5cb3d3[_0x42e54e])&&(_0x3ff942=_0x462007(_0x3ff942)||_0x3ff942);return _0x3ff942;},se=(_0x296bb9,_0xb7d9c5)=>(_0xa1916b,_0x47ddaa)=>_0xb7d9c5(_0xa1916b,_0x47ddaa,_0x296bb9);let at=class extends _0x4182bb{constructor(_0x2e387b,_0x35b8ef,_0x5d63f6,_0x2fed9e,_0x3d0fb4){const _0x157acb=_0x21d35a;super(_0x2e387b,_0x35b8ef,_0x5d63f6,_0x2fed9e,_0x3d0fb4);const _0xba2c7f=this[_0x157acb(0x296)][_0x157acb(0x2c6)](Be);this['_httpService'][_0x157acb(0x32b)]({'interceptor':(_0x31303f,_0x315789)=>{const _0x480e5d=_0x157acb;var _0x2b6b7b;const _0x4e315f=_0x31303f['headers'];return(_0x2b6b7b=_0xba2c7f==null?void 0x0:_0xba2c7f[_0x480e5d(0x251)])!=null&&_0x2b6b7b[_0x480e5d(0x22a)]&&_0x4e315f[_0x480e5d(0x2c8)](_0x480e5d(0x2fb),_0xba2c7f['customHeaders'][_0x480e5d(0x22a)]),_0x315789(_0x31303f);}});}async[_0x21d35a(0x2eb)](_0x38bb07){return this['_doCreateSocket'](_0x38bb07);}};at=cr([se(0x0,_0x4400ae(_0x11a9c4)),se(0x1,_0x4400ae(_0x18fa51)),se(0x2,_0xf36e0c),se(0x3,_0x5c59b7),se(0x4,_0xe201a4)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|