@univerjs-pro/collaboration-client-node 0.12.4-experimental.20251208-c4b8a44 → 0.12.4-experimental.20251210-d708bff
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +7 -7
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x5b07ab=_0x3fd2;(function(_0xce5136,_0x35a8dd){const _0x262e2f=_0x3fd2,_0x430365=_0xce5136();while(!![]){try{const _0x120176=parseInt(_0x262e2f(0x17f))/0x1+parseInt(_0x262e2f(0x26f))/0x2+parseInt(_0x262e2f(0x29f))/0x3+parseInt(_0x262e2f(0x1d7))/0x4*(parseInt(_0x262e2f(0x1d3))/0x5)+-parseInt(_0x262e2f(0x1a4))/0x6+parseInt(_0x262e2f(0x1d8))/0x7*(-parseInt(_0x262e2f(0x1aa))/0x8)+-parseInt(_0x262e2f(0x2df))/0x9;if(_0x120176===_0x35a8dd)break;else _0x430365['push'](_0x430365['shift']());}catch(_0x472104){_0x430365['push'](_0x430365['shift']());}}}(_0x1f52,0x753f2));import{UniverCollaborationClientPlugin as _0xff60eb,CollaborationSocketService as _0x4e9240}from'@univerjs-pro/collaboration-client';import{Disposable as _0x6f5ab6,DisposableCollection as _0x392950,toDisposable as _0x23c9ca,IConfigService as _0x3885a7,DependentOn as _0xa79765,ILogService as _0x7106f5,Inject as _0x1e8752,Injector as _0xdd63d8,Plugin as _0x4c52e8,registerDependencies as _0x3eb2a2}from'@univerjs/core';import{ISocketService as _0x1eb00d,HTTPService as _0x2e2594}from'@univerjs/network';import{Observable as _0x49d34e,share as _0x2252ea}from'rxjs';import _0xf6f358 from'events';import _0x288ab7 from'https';import _0xc4ddb2 from'http';import _0x12d9f1 from'net';import _0xfd5329 from'tls';import _0x413edd from'crypto';import _0x531033 from'stream';import _0x51cc46 from'url';import _0x454279 from'zlib';import _0x26abba from'buffer';import{ISnapshotServerService as _0x4141fe}from'@univerjs-pro/collaboration';const Be=_0x5b07ab(0x2c7),Ft={'customHeaders':{}};function Wt(_0x3aa65e){const _0x5492a6=_0x5b07ab;return _0x3aa65e&&_0x3aa65e[_0x5492a6(0x18d)]&&Object[_0x5492a6(0x1bf)][_0x5492a6(0x187)][_0x5492a6(0x277)](_0x3aa65e,_0x5492a6(0x202))?_0x3aa65e[_0x5492a6(0x202)]:_0x3aa65e;}function ut(_0x1cf535){const _0x169d29=_0x5b07ab;if(Object[_0x169d29(0x1bf)][_0x169d29(0x187)]['call'](_0x1cf535,_0x169d29(0x18d)))return _0x1cf535;var _0x4a456e=_0x1cf535[_0x169d29(0x202)];if(typeof _0x4a456e=='function'){var _0x143740=function _0x2aba95(){const _0x206310=_0x169d29;var _0x1ced08=!0x1;try{_0x1ced08=this instanceof _0x2aba95;}catch{}return _0x1ced08?Reflect[_0x206310(0x310)](_0x4a456e,arguments,this[_0x206310(0x2d9)]):_0x4a456e['apply'](this,arguments);};_0x143740[_0x169d29(0x1bf)]=_0x4a456e[_0x169d29(0x1bf)];}else _0x143740={};return Object[_0x169d29(0x27f)](_0x143740,_0x169d29(0x18d),{'value':!0x0}),Object[_0x169d29(0x208)](_0x1cf535)[_0x169d29(0x1ee)](function(_0x4f8d04){const _0x24e1a5=_0x169d29;var _0x228892=Object[_0x24e1a5(0x1a6)](_0x1cf535,_0x4f8d04);Object[_0x24e1a5(0x27f)](_0x143740,_0x4f8d04,_0x228892[_0x24e1a5(0x1e6)]?_0x228892:{'enumerable':!0x0,'get':function(){return _0x1cf535[_0x4f8d04];}});}),_0x143740;}var te={'exports':{}},ge,Ye;function V(){const _0x484dbd=_0x5b07ab;if(Ye)return ge;Ye=0x1;const _0x41bf99=[_0x484dbd(0x2b9),_0x484dbd(0x198),'fragments'],_0x524862=typeof Blob<'u';return _0x524862&&_0x41bf99['push'](_0x484dbd(0x212)),ge={'BINARY_TYPES':_0x41bf99,'EMPTY_BUFFER':Buffer[_0x484dbd(0x1df)](0x0),'GUID':_0x484dbd(0x19d),'hasBlob':_0x524862,'kForOnEventAttribute':Symbol(_0x484dbd(0x265)),'kListener':Symbol(_0x484dbd(0x2cd)),'kStatusCode':Symbol(_0x484dbd(0x17d)),'kWebSocket':Symbol(_0x484dbd(0x1ec)),'NOOP':()=>{}},ge;}const jt={},Gt=Object['freeze'](Object[_0x5b07ab(0x27f)]({'__proto__':null,'default':jt},Symbol[_0x5b07ab(0x16e)],{'value':_0x5b07ab(0x195)})),Vt=ut(Gt);var Ke;function ce(){const _0x5ab831=_0x5b07ab;if(Ke)return te['exports'];Ke=0x1;const {EMPTY_BUFFER:_0x4f93ed}=V(),_0x2aaddc=Buffer[Symbol[_0x5ab831(0x29b)]];function _0x30215b(_0x4dc0c5,_0x13d81c){const _0x463b6e=_0x5ab831;if(_0x4dc0c5[_0x463b6e(0x1d4)]===0x0)return _0x4f93ed;if(_0x4dc0c5[_0x463b6e(0x1d4)]===0x1)return _0x4dc0c5[0x0];const _0x5e4239=Buffer['allocUnsafe'](_0x13d81c);let _0x54ce46=0x0;for(let _0x598e60=0x0;_0x598e60<_0x4dc0c5[_0x463b6e(0x1d4)];_0x598e60++){const _0x1a2a0c=_0x4dc0c5[_0x598e60];_0x5e4239[_0x463b6e(0x20f)](_0x1a2a0c,_0x54ce46),_0x54ce46+=_0x1a2a0c[_0x463b6e(0x1d4)];}return _0x54ce46<_0x13d81c?new _0x2aaddc(_0x5e4239[_0x463b6e(0x196)],_0x5e4239[_0x463b6e(0x16b)],_0x54ce46):_0x5e4239;}function _0xc62a3a(_0x1448d2,_0x123402,_0x2845e0,_0x49e33c,_0x1277a7){for(let _0x46d727=0x0;_0x46d727<_0x1277a7;_0x46d727++)_0x2845e0[_0x49e33c+_0x46d727]=_0x1448d2[_0x46d727]^_0x123402[_0x46d727&0x3];}function _0x4c420a(_0x14d8ac,_0x5088e8){for(let _0x316aab=0x0;_0x316aab<_0x14d8ac['length'];_0x316aab++)_0x14d8ac[_0x316aab]^=_0x5088e8[_0x316aab&0x3];}function _0xf41536(_0x5902c9){const _0x24e899=_0x5ab831;return _0x5902c9[_0x24e899(0x1d4)]===_0x5902c9[_0x24e899(0x196)][_0x24e899(0x1f8)]?_0x5902c9[_0x24e899(0x196)]:_0x5902c9[_0x24e899(0x196)][_0x24e899(0x1c7)](_0x5902c9['byteOffset'],_0x5902c9[_0x24e899(0x16b)]+_0x5902c9[_0x24e899(0x1d4)]);}function _0x29b3de(_0x527a9b){const _0x5355d5=_0x5ab831;if(_0x29b3de[_0x5355d5(0x1cb)]=!0x0,Buffer['isBuffer'](_0x527a9b))return _0x527a9b;let _0x407b42;return _0x527a9b instanceof ArrayBuffer?_0x407b42=new _0x2aaddc(_0x527a9b):ArrayBuffer[_0x5355d5(0x295)](_0x527a9b)?_0x407b42=new _0x2aaddc(_0x527a9b[_0x5355d5(0x196)],_0x527a9b['byteOffset'],_0x527a9b[_0x5355d5(0x1f8)]):(_0x407b42=Buffer[_0x5355d5(0x181)](_0x527a9b),_0x29b3de[_0x5355d5(0x1cb)]=!0x1),_0x407b42;}if(te[_0x5ab831(0x168)]={'concat':_0x30215b,'mask':_0xc62a3a,'toArrayBuffer':_0xf41536,'toBuffer':_0x29b3de,'unmask':_0x4c420a},!process[_0x5ab831(0x23d)]['WS_NO_BUFFER_UTIL'])try{const _0x1506be=Vt;te['exports'][_0x5ab831(0x285)]=function(_0x455f54,_0x24ed88,_0x228934,_0x5af497,_0x47ddef){const _0x5d8ef9=_0x5ab831;_0x47ddef<0x30?_0xc62a3a(_0x455f54,_0x24ed88,_0x228934,_0x5af497,_0x47ddef):_0x1506be[_0x5d8ef9(0x285)](_0x455f54,_0x24ed88,_0x228934,_0x5af497,_0x47ddef);},te[_0x5ab831(0x168)][_0x5ab831(0x222)]=function(_0x356ba4,_0x2ebf1f){const _0x283e60=_0x5ab831;_0x356ba4[_0x283e60(0x1d4)]<0x20?_0x4c420a(_0x356ba4,_0x2ebf1f):_0x1506be[_0x283e60(0x222)](_0x356ba4,_0x2ebf1f);};}catch{}return te[_0x5ab831(0x168)];}var ye,Xe;function qt(){const _0x1f79f0=_0x5b07ab;if(Xe)return ye;Xe=0x1;const _0x3c55df=Symbol(_0x1f79f0(0x2d1)),_0x120e5a=Symbol(_0x1f79f0(0x199));class _0xf26df4{constructor(_0x4c9ea7){const _0x2ca6fb=_0x1f79f0;this[_0x3c55df]=()=>{const _0x15cf6f=_0x3fd2;this[_0x15cf6f(0x221)]--,this[_0x120e5a]();},this[_0x2ca6fb(0x284)]=_0x4c9ea7||0x1/0x0,this[_0x2ca6fb(0x1a9)]=[],this[_0x2ca6fb(0x221)]=0x0;}[_0x1f79f0(0x300)](_0x4c5919){const _0x16069a=_0x1f79f0;this[_0x16069a(0x1a9)][_0x16069a(0x19c)](_0x4c5919),this[_0x120e5a]();}[_0x120e5a](){const _0x473f40=_0x1f79f0;if(this[_0x473f40(0x221)]!==this[_0x473f40(0x284)]&&this[_0x473f40(0x1a9)][_0x473f40(0x1d4)]){const _0x441e45=this[_0x473f40(0x1a9)][_0x473f40(0x2db)]();this[_0x473f40(0x221)]++,_0x441e45(this[_0x3c55df]);}}}return ye=_0xf26df4,ye;}var ve,Ze;function he(){const _0x56e6ca=_0x5b07ab;if(Ze)return ve;Ze=0x1;const _0x290529=_0x454279,_0x1727b2=ce(),_0x58bbf4=qt(),{kStatusCode:_0xf14fee}=V(),_0x569913=Buffer[Symbol[_0x56e6ca(0x29b)]],_0x6e1054=Buffer[_0x56e6ca(0x181)]([0x0,0x0,0xff,0xff]),_0x4cd5dd=Symbol(_0x56e6ca(0x275)),_0x573102=Symbol('total-length'),_0x16e098=Symbol(_0x56e6ca(0x203)),_0x4515d1=Symbol(_0x56e6ca(0x1d9)),_0x41bcce=Symbol('error');let _0xb15622;class _0x4896b6{constructor(_0x319444,_0x5d1697,_0x51d486){const _0x4b2e20=_0x56e6ca;if(this[_0x4b2e20(0x296)]=_0x51d486|0x0,this['_options']=_0x319444||{},this[_0x4b2e20(0x27b)]=this[_0x4b2e20(0x2ad)][_0x4b2e20(0x26b)]!==void 0x0?this[_0x4b2e20(0x2ad)][_0x4b2e20(0x26b)]:0x400,this[_0x4b2e20(0x2c6)]=!!_0x5d1697,this[_0x4b2e20(0x186)]=null,this[_0x4b2e20(0x1f5)]=null,this[_0x4b2e20(0x232)]=null,!_0xb15622){const _0xfb89ad=this[_0x4b2e20(0x2ad)][_0x4b2e20(0x207)]!==void 0x0?this[_0x4b2e20(0x2ad)]['concurrencyLimit']:0xa;_0xb15622=new _0x58bbf4(_0xfb89ad);}}static get[_0x56e6ca(0x219)](){const _0x2b4c83=_0x56e6ca;return _0x2b4c83(0x275);}['offer'](){const _0x54468f=_0x56e6ca,_0x1904b1={};return this[_0x54468f(0x2ad)][_0x54468f(0x2a6)]&&(_0x1904b1['server_no_context_takeover']=!0x0),this['_options'][_0x54468f(0x22e)]&&(_0x1904b1[_0x54468f(0x2b4)]=!0x0),this[_0x54468f(0x2ad)][_0x54468f(0x1af)]&&(_0x1904b1[_0x54468f(0x293)]=this['_options'][_0x54468f(0x1af)]),this[_0x54468f(0x2ad)][_0x54468f(0x1bc)]?_0x1904b1[_0x54468f(0x2dd)]=this[_0x54468f(0x2ad)]['clientMaxWindowBits']:this['_options'][_0x54468f(0x1bc)]==null&&(_0x1904b1['client_max_window_bits']=!0x0),_0x1904b1;}[_0x56e6ca(0x305)](_0x57cdab){const _0x55c9aa=_0x56e6ca;return _0x57cdab=this[_0x55c9aa(0x1f6)](_0x57cdab),this[_0x55c9aa(0x232)]=this[_0x55c9aa(0x2c6)]?this[_0x55c9aa(0x227)](_0x57cdab):this[_0x55c9aa(0x182)](_0x57cdab),this[_0x55c9aa(0x232)];}['cleanup'](){const _0x40237e=_0x56e6ca;if(this[_0x40237e(0x1f5)]&&(this[_0x40237e(0x1f5)][_0x40237e(0x165)](),this[_0x40237e(0x1f5)]=null),this[_0x40237e(0x186)]){const _0x5db523=this[_0x40237e(0x186)][_0x16e098];this[_0x40237e(0x186)][_0x40237e(0x165)](),this[_0x40237e(0x186)]=null,_0x5db523&&_0x5db523(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}['acceptAsServer'](_0x4b67a1){const _0x1d440d=_0x56e6ca,_0x547b09=this[_0x1d440d(0x2ad)],_0x4c2f19=_0x4b67a1[_0x1d440d(0x26c)](_0x15735f=>!(_0x547b09['serverNoContextTakeover']===!0x1&&_0x15735f['server_no_context_takeover']||_0x15735f['server_max_window_bits']&&(_0x547b09[_0x1d440d(0x1af)]===!0x1||typeof _0x547b09[_0x1d440d(0x1af)]=='number'&&_0x547b09[_0x1d440d(0x1af)]>_0x15735f[_0x1d440d(0x293)])||typeof _0x547b09[_0x1d440d(0x1bc)]==_0x1d440d(0x2b1)&&!_0x15735f['client_max_window_bits']));if(!_0x4c2f19)throw new Error(_0x1d440d(0x20b));return _0x547b09[_0x1d440d(0x2a6)]&&(_0x4c2f19[_0x1d440d(0x1dc)]=!0x0),_0x547b09[_0x1d440d(0x22e)]&&(_0x4c2f19[_0x1d440d(0x2b4)]=!0x0),typeof _0x547b09[_0x1d440d(0x1af)]==_0x1d440d(0x2b1)&&(_0x4c2f19['server_max_window_bits']=_0x547b09['serverMaxWindowBits']),typeof _0x547b09[_0x1d440d(0x1bc)]==_0x1d440d(0x2b1)?_0x4c2f19[_0x1d440d(0x2dd)]=_0x547b09['clientMaxWindowBits']:(_0x4c2f19['client_max_window_bits']===!0x0||_0x547b09['clientMaxWindowBits']===!0x1)&&delete _0x4c2f19['client_max_window_bits'],_0x4c2f19;}[_0x56e6ca(0x182)](_0x4096dc){const _0x445d43=_0x56e6ca,_0x571499=_0x4096dc[0x0];if(this['_options'][_0x445d43(0x22e)]===!0x1&&_0x571499[_0x445d43(0x2b4)])throw new Error(_0x445d43(0x20c));if(!_0x571499['client_max_window_bits'])typeof this['_options'][_0x445d43(0x1bc)]==_0x445d43(0x2b1)&&(_0x571499['client_max_window_bits']=this[_0x445d43(0x2ad)][_0x445d43(0x1bc)]);else{if(this[_0x445d43(0x2ad)][_0x445d43(0x1bc)]===!0x1||typeof this['_options'][_0x445d43(0x1bc)]==_0x445d43(0x2b1)&&_0x571499[_0x445d43(0x2dd)]>this[_0x445d43(0x2ad)][_0x445d43(0x1bc)])throw new Error(_0x445d43(0x229));}return _0x571499;}['normalizeParams'](_0x15d74a){return _0x15d74a['forEach'](_0x4e3f5e=>{const _0x94334f=_0x3fd2;Object[_0x94334f(0x208)](_0x4e3f5e)[_0x94334f(0x1ee)](_0x3c0ec2=>{const _0x7430e9=_0x94334f;let _0x386644=_0x4e3f5e[_0x3c0ec2];if(_0x386644[_0x7430e9(0x1d4)]>0x1)throw new Error(_0x7430e9(0x22a)+_0x3c0ec2+_0x7430e9(0x2d7));if(_0x386644=_0x386644[0x0],_0x3c0ec2===_0x7430e9(0x2dd)){if(_0x386644!==!0x0){const _0x5358d9=+_0x386644;if(!Number[_0x7430e9(0x1d0)](_0x5358d9)||_0x5358d9<0x8||_0x5358d9>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x3c0ec2+_0x7430e9(0x1d5)+_0x386644);_0x386644=_0x5358d9;}else{if(!this[_0x7430e9(0x2c6)])throw new TypeError(_0x7430e9(0x283)+_0x3c0ec2+_0x7430e9(0x1d5)+_0x386644);}}else{if(_0x3c0ec2===_0x7430e9(0x293)){const _0x541a77=+_0x386644;if(!Number[_0x7430e9(0x1d0)](_0x541a77)||_0x541a77<0x8||_0x541a77>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x3c0ec2+'\x22:\x20'+_0x386644);_0x386644=_0x541a77;}else{if(_0x3c0ec2==='client_no_context_takeover'||_0x3c0ec2===_0x7430e9(0x1dc)){if(_0x386644!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x3c0ec2+_0x7430e9(0x1d5)+_0x386644);}else throw new Error(_0x7430e9(0x21d)+_0x3c0ec2+'\x22');}}_0x4e3f5e[_0x3c0ec2]=_0x386644;});}),_0x15d74a;}[_0x56e6ca(0x1e2)](_0x4e3b2f,_0x39cbe0,_0x3c7ff5){const _0x24e4ba=_0x56e6ca;_0xb15622[_0x24e4ba(0x300)](_0x7ff612=>{const _0xd9edbd=_0x24e4ba;this[_0xd9edbd(0x23f)](_0x4e3b2f,_0x39cbe0,(_0x5df373,_0x244645)=>{_0x7ff612(),_0x3c7ff5(_0x5df373,_0x244645);});});}[_0x56e6ca(0x243)](_0x4adf2a,_0x3c7d3e,_0x4a2ce4){const _0x5d0992=_0x56e6ca;_0xb15622[_0x5d0992(0x300)](_0x4f9439=>{this['_compress'](_0x4adf2a,_0x3c7d3e,(_0x475833,_0x487a45)=>{_0x4f9439(),_0x4a2ce4(_0x475833,_0x487a45);});});}['_decompress'](_0x2e7349,_0x1d5b9c,_0x55042a){const _0x90d829=_0x56e6ca,_0x3c14df=this['_isServer']?_0x90d829(0x230):_0x90d829(0x1e8);if(!this[_0x90d829(0x1f5)]){const _0x2c8293=_0x3c14df+'_max_window_bits',_0x50376f=typeof this[_0x90d829(0x232)][_0x2c8293]!=_0x90d829(0x2b1)?_0x290529['Z_DEFAULT_WINDOWBITS']:this[_0x90d829(0x232)][_0x2c8293];this[_0x90d829(0x1f5)]=_0x290529[_0x90d829(0x2fd)]({...this[_0x90d829(0x2ad)][_0x90d829(0x213)],'windowBits':_0x50376f}),this[_0x90d829(0x1f5)][_0x4cd5dd]=this,this['_inflate'][_0x573102]=0x0,this[_0x90d829(0x1f5)][_0x4515d1]=[],this[_0x90d829(0x1f5)]['on'](_0x90d829(0x313),_0x3d4b3d),this[_0x90d829(0x1f5)]['on'](_0x90d829(0x1e3),_0x1b357d);}this[_0x90d829(0x1f5)][_0x16e098]=_0x55042a,this['_inflate'][_0x90d829(0x1e0)](_0x2e7349),_0x1d5b9c&&this[_0x90d829(0x1f5)][_0x90d829(0x1e0)](_0x6e1054),this[_0x90d829(0x1f5)][_0x90d829(0x16a)](()=>{const _0x3d9c01=_0x90d829,_0x15167a=this[_0x3d9c01(0x1f5)][_0x41bcce];if(_0x15167a){this[_0x3d9c01(0x1f5)][_0x3d9c01(0x165)](),this[_0x3d9c01(0x1f5)]=null,_0x55042a(_0x15167a);return;}const _0x381cb7=_0x1727b2[_0x3d9c01(0x2c9)](this[_0x3d9c01(0x1f5)][_0x4515d1],this[_0x3d9c01(0x1f5)][_0x573102]);this[_0x3d9c01(0x1f5)][_0x3d9c01(0x27e)]['endEmitted']?(this[_0x3d9c01(0x1f5)][_0x3d9c01(0x165)](),this['_inflate']=null):(this['_inflate'][_0x573102]=0x0,this[_0x3d9c01(0x1f5)][_0x4515d1]=[],_0x1d5b9c&&this['params'][_0x3c14df+_0x3d9c01(0x2b0)]&&this['_inflate'][_0x3d9c01(0x30c)]()),_0x55042a(null,_0x381cb7);});}[_0x56e6ca(0x2f7)](_0x1828ff,_0x123335,_0x1ad274){const _0x599c97=_0x56e6ca,_0x38e8f0=this['_isServer']?_0x599c97(0x1e8):_0x599c97(0x230);if(!this[_0x599c97(0x186)]){const _0x49ce9b=_0x38e8f0+_0x599c97(0x2ba),_0x3dd57e=typeof this[_0x599c97(0x232)][_0x49ce9b]!=_0x599c97(0x2b1)?_0x290529['Z_DEFAULT_WINDOWBITS']:this[_0x599c97(0x232)][_0x49ce9b];this[_0x599c97(0x186)]=_0x290529['createDeflateRaw']({...this[_0x599c97(0x2ad)][_0x599c97(0x1b8)],'windowBits':_0x3dd57e}),this['_deflate'][_0x573102]=0x0,this[_0x599c97(0x186)][_0x4515d1]=[],this[_0x599c97(0x186)]['on'](_0x599c97(0x1e3),_0x5d1c76);}this[_0x599c97(0x186)][_0x16e098]=_0x1ad274,this[_0x599c97(0x186)]['write'](_0x1828ff),this[_0x599c97(0x186)]['flush'](_0x290529['Z_SYNC_FLUSH'],()=>{const _0x2fae6c=_0x599c97;if(!this[_0x2fae6c(0x186)])return;let _0x19ae39=_0x1727b2[_0x2fae6c(0x2c9)](this[_0x2fae6c(0x186)][_0x4515d1],this[_0x2fae6c(0x186)][_0x573102]);_0x123335&&(_0x19ae39=new _0x569913(_0x19ae39[_0x2fae6c(0x196)],_0x19ae39[_0x2fae6c(0x16b)],_0x19ae39['length']-0x4)),this['_deflate'][_0x16e098]=null,this['_deflate'][_0x573102]=0x0,this[_0x2fae6c(0x186)][_0x4515d1]=[],_0x123335&&this[_0x2fae6c(0x232)][_0x38e8f0+'_no_context_takeover']&&this['_deflate'][_0x2fae6c(0x30c)](),_0x1ad274(null,_0x19ae39);});}}ve=_0x4896b6;function _0x5d1c76(_0x281ee0){const _0x287fbf=_0x56e6ca;this[_0x4515d1][_0x287fbf(0x19c)](_0x281ee0),this[_0x573102]+=_0x281ee0['length'];}function _0x1b357d(_0x2501c9){const _0x3f95fb=_0x56e6ca;if(this[_0x573102]+=_0x2501c9[_0x3f95fb(0x1d4)],this[_0x4cd5dd]['_maxPayload']<0x1||this[_0x573102]<=this[_0x4cd5dd]['_maxPayload']){this[_0x4515d1]['push'](_0x2501c9);return;}this[_0x41bcce]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x41bcce]['code']=_0x3f95fb(0x1c1),this[_0x41bcce][_0xf14fee]=0x3f1,this[_0x3f95fb(0x184)](_0x3f95fb(0x1e3),_0x1b357d),this[_0x3f95fb(0x30c)]();}function _0x3d4b3d(_0x2256db){const _0x51963c=_0x56e6ca;if(this[_0x4cd5dd][_0x51963c(0x1f5)]=null,this[_0x41bcce]){this[_0x16e098](this[_0x41bcce]);return;}_0x2256db[_0xf14fee]=0x3ef,this[_0x16e098](_0x2256db);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x5b07ab(0x224)](Object[_0x5b07ab(0x27f)]({'__proto__':null,'default':Ht},Symbol[_0x5b07ab(0x16e)],{'value':'Module'})),Yt=ut(zt);var Qe;function ne(){const _0x423714=_0x5b07ab;if(Qe)return re[_0x423714(0x168)];Qe=0x1;const {isUtf8:_0xaea0bd}=_0x26abba,{hasBlob:_0x4f7365}=V(),_0x2213d6=[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 _0x5881f0(_0x2e429e){return _0x2e429e>=0x3e8&&_0x2e429e<=0x3f6&&_0x2e429e!==0x3ec&&_0x2e429e!==0x3ed&&_0x2e429e!==0x3ee||_0x2e429e>=0xbb8&&_0x2e429e<=0x1387;}function _0x29033f(_0x407e71){const _0x502e1d=_0x423714,_0x3c58a4=_0x407e71[_0x502e1d(0x1d4)];let _0x2a0680=0x0;for(;_0x2a0680<_0x3c58a4;)if((_0x407e71[_0x2a0680]&0x80)===0x0)_0x2a0680++;else{if((_0x407e71[_0x2a0680]&0xe0)===0xc0){if(_0x2a0680+0x1===_0x3c58a4||(_0x407e71[_0x2a0680+0x1]&0xc0)!==0x80||(_0x407e71[_0x2a0680]&0xfe)===0xc0)return!0x1;_0x2a0680+=0x2;}else{if((_0x407e71[_0x2a0680]&0xf0)===0xe0){if(_0x2a0680+0x2>=_0x3c58a4||(_0x407e71[_0x2a0680+0x1]&0xc0)!==0x80||(_0x407e71[_0x2a0680+0x2]&0xc0)!==0x80||_0x407e71[_0x2a0680]===0xe0&&(_0x407e71[_0x2a0680+0x1]&0xe0)===0x80||_0x407e71[_0x2a0680]===0xed&&(_0x407e71[_0x2a0680+0x1]&0xe0)===0xa0)return!0x1;_0x2a0680+=0x3;}else{if((_0x407e71[_0x2a0680]&0xf8)===0xf0){if(_0x2a0680+0x3>=_0x3c58a4||(_0x407e71[_0x2a0680+0x1]&0xc0)!==0x80||(_0x407e71[_0x2a0680+0x2]&0xc0)!==0x80||(_0x407e71[_0x2a0680+0x3]&0xc0)!==0x80||_0x407e71[_0x2a0680]===0xf0&&(_0x407e71[_0x2a0680+0x1]&0xf0)===0x80||_0x407e71[_0x2a0680]===0xf4&&_0x407e71[_0x2a0680+0x1]>0x8f||_0x407e71[_0x2a0680]>0xf4)return!0x1;_0x2a0680+=0x4;}else return!0x1;}}}return!0x0;}function _0x5a762c(_0x27e655){const _0x2e9083=_0x423714;return _0x4f7365&&typeof _0x27e655==_0x2e9083(0x2a0)&&typeof _0x27e655[_0x2e9083(0x1ce)]==_0x2e9083(0x2d0)&&typeof _0x27e655[_0x2e9083(0x234)]==_0x2e9083(0x2af)&&typeof _0x27e655[_0x2e9083(0x1e4)]==_0x2e9083(0x2d0)&&(_0x27e655[Symbol[_0x2e9083(0x16e)]]===_0x2e9083(0x2c1)||_0x27e655[Symbol[_0x2e9083(0x16e)]]===_0x2e9083(0x1c9));}if(re[_0x423714(0x168)]={'isBlob':_0x5a762c,'isValidStatusCode':_0x5881f0,'isValidUTF8':_0x29033f,'tokenChars':_0x2213d6},_0xaea0bd)re[_0x423714(0x168)][_0x423714(0x28d)]=function(_0x28e0d3){const _0x2a3340=_0x423714;return _0x28e0d3[_0x2a3340(0x1d4)]<0x18?_0x29033f(_0x28e0d3):_0xaea0bd(_0x28e0d3);};else{if(!process[_0x423714(0x23d)][_0x423714(0x17c)])try{const _0x3e12e1=Yt;re[_0x423714(0x168)][_0x423714(0x28d)]=function(_0x1c8903){const _0x2135bd=_0x423714;return _0x1c8903[_0x2135bd(0x1d4)]<0x20?_0x29033f(_0x1c8903):_0x3e12e1(_0x1c8903);};}catch{}}return re[_0x423714(0x168)];}var Se,Je;function dt(){const _0x2b6300=_0x5b07ab;if(Je)return Se;Je=0x1;const {Writable:_0x376f4e}=_0x531033,_0x2b6415=he(),{BINARY_TYPES:_0x4def64,EMPTY_BUFFER:_0x34209b,kStatusCode:_0x59f40e,kWebSocket:_0x15855f}=V(),{concat:_0x16ebf0,toArrayBuffer:_0xa80d76,unmask:_0x142ee5}=ce(),{isValidStatusCode:_0x2e5f61,isValidUTF8:_0x2cc7d5}=ne(),_0x325f29=Buffer[Symbol[_0x2b6300(0x29b)]],_0x2e375c=0x0,_0x52dace=0x1,_0x12f91e=0x2,_0x259f2a=0x3,_0x2c7b12=0x4,_0x1b5d7d=0x5,_0x3db119=0x6;class _0x1d1c08 extends _0x376f4e{constructor(_0x2412d5={}){const _0xb11222=_0x2b6300;super(),this[_0xb11222(0x2b2)]=_0x2412d5[_0xb11222(0x21b)]!==void 0x0?_0x2412d5[_0xb11222(0x21b)]:!0x0,this[_0xb11222(0x246)]=_0x2412d5[_0xb11222(0x2f4)]||_0x4def64[0x0],this['_extensions']=_0x2412d5[_0xb11222(0x2f0)]||{},this[_0xb11222(0x2c6)]=!!_0x2412d5[_0xb11222(0x286)],this[_0xb11222(0x296)]=_0x2412d5[_0xb11222(0x22f)]|0x0,this['_skipUTF8Validation']=!!_0x2412d5['skipUTF8Validation'],this[_0x15855f]=void 0x0,this[_0xb11222(0x2d3)]=0x0,this[_0xb11222(0x271)]=[],this[_0xb11222(0x1a2)]=!0x1,this[_0xb11222(0x214)]=0x0,this[_0xb11222(0x241)]=void 0x0,this[_0xb11222(0x1ad)]=0x0,this['_masked']=!0x1,this['_fin']=!0x1,this[_0xb11222(0x287)]=0x0,this['_totalPayloadLength']=0x0,this[_0xb11222(0x21e)]=0x0,this['_fragments']=[],this[_0xb11222(0x1ac)]=!0x1,this[_0xb11222(0x226)]=!0x1,this[_0xb11222(0x248)]=_0x2e375c;}[_0x2b6300(0x1bd)](_0x3ce072,_0x539721,_0x3a48d8){const _0x553c1e=_0x2b6300;if(this[_0x553c1e(0x287)]===0x8&&this[_0x553c1e(0x248)]==_0x2e375c)return _0x3a48d8();this['_bufferedBytes']+=_0x3ce072[_0x553c1e(0x1d4)],this['_buffers'][_0x553c1e(0x19c)](_0x3ce072),this['startLoop'](_0x3a48d8);}[_0x2b6300(0x30d)](_0x2d25d7){const _0x34e0d5=_0x2b6300;if(this['_bufferedBytes']-=_0x2d25d7,_0x2d25d7===this['_buffers'][0x0][_0x34e0d5(0x1d4)])return this['_buffers'][_0x34e0d5(0x2db)]();if(_0x2d25d7<this[_0x34e0d5(0x271)][0x0][_0x34e0d5(0x1d4)]){const _0x5913a4=this[_0x34e0d5(0x271)][0x0];return this[_0x34e0d5(0x271)][0x0]=new _0x325f29(_0x5913a4[_0x34e0d5(0x196)],_0x5913a4[_0x34e0d5(0x16b)]+_0x2d25d7,_0x5913a4[_0x34e0d5(0x1d4)]-_0x2d25d7),new _0x325f29(_0x5913a4[_0x34e0d5(0x196)],_0x5913a4[_0x34e0d5(0x16b)],_0x2d25d7);}const _0x273191=Buffer['allocUnsafe'](_0x2d25d7);do{const _0xf93aaa=this['_buffers'][0x0],_0x5e5dca=_0x273191[_0x34e0d5(0x1d4)]-_0x2d25d7;_0x2d25d7>=_0xf93aaa[_0x34e0d5(0x1d4)]?_0x273191[_0x34e0d5(0x20f)](this[_0x34e0d5(0x271)][_0x34e0d5(0x2db)](),_0x5e5dca):(_0x273191[_0x34e0d5(0x20f)](new Uint8Array(_0xf93aaa[_0x34e0d5(0x196)],_0xf93aaa[_0x34e0d5(0x16b)],_0x2d25d7),_0x5e5dca),this[_0x34e0d5(0x271)][0x0]=new _0x325f29(_0xf93aaa[_0x34e0d5(0x196)],_0xf93aaa[_0x34e0d5(0x16b)]+_0x2d25d7,_0xf93aaa[_0x34e0d5(0x1d4)]-_0x2d25d7)),_0x2d25d7-=_0xf93aaa['length'];}while(_0x2d25d7>0x0);return _0x273191;}[_0x2b6300(0x18e)](_0x54f84f){const _0x13903e=_0x2b6300;this[_0x13903e(0x226)]=!0x0;do switch(this[_0x13903e(0x248)]){case _0x2e375c:this[_0x13903e(0x2c0)](_0x54f84f);break;case _0x52dace:this[_0x13903e(0x1b4)](_0x54f84f);break;case _0x12f91e:this[_0x13903e(0x2c8)](_0x54f84f);break;case _0x259f2a:this[_0x13903e(0x1c0)]();break;case _0x2c7b12:this[_0x13903e(0x27a)](_0x54f84f);break;case _0x1b5d7d:case _0x3db119:this[_0x13903e(0x226)]=!0x1;return;}while(this[_0x13903e(0x226)]);this[_0x13903e(0x1ac)]||_0x54f84f();}[_0x2b6300(0x2c0)](_0x4d4709){const _0x2dd898=_0x2b6300;if(this[_0x2dd898(0x2d3)]<0x2){this[_0x2dd898(0x226)]=!0x1;return;}const _0x160cad=this[_0x2dd898(0x30d)](0x2);if((_0x160cad[0x0]&0x30)!==0x0){const _0x510804=this[_0x2dd898(0x20a)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x2dd898(0x179));_0x4d4709(_0x510804);return;}const _0x26a7ed=(_0x160cad[0x0]&0x40)===0x40;if(_0x26a7ed&&!this[_0x2dd898(0x173)][_0x2b6415[_0x2dd898(0x219)]]){const _0x4d2a21=this['createError'](RangeError,_0x2dd898(0x259),!0x0,0x3ea,_0x2dd898(0x25a));_0x4d4709(_0x4d2a21);return;}if(this[_0x2dd898(0x274)]=(_0x160cad[0x0]&0x80)===0x80,this[_0x2dd898(0x287)]=_0x160cad[0x0]&0xf,this[_0x2dd898(0x214)]=_0x160cad[0x1]&0x7f,this[_0x2dd898(0x287)]===0x0){if(_0x26a7ed){const _0x333969=this[_0x2dd898(0x20a)](RangeError,_0x2dd898(0x259),!0x0,0x3ea,_0x2dd898(0x25a));_0x4d4709(_0x333969);return;}if(!this[_0x2dd898(0x1ad)]){const _0x42f89a=this[_0x2dd898(0x20a)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x2dd898(0x1b2));_0x4d4709(_0x42f89a);return;}this['_opcode']=this[_0x2dd898(0x1ad)];}else{if(this[_0x2dd898(0x287)]===0x1||this[_0x2dd898(0x287)]===0x2){if(this[_0x2dd898(0x1ad)]){const _0x3d9fb9=this[_0x2dd898(0x20a)](RangeError,_0x2dd898(0x2e0)+this[_0x2dd898(0x287)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x4d4709(_0x3d9fb9);return;}this[_0x2dd898(0x1a2)]=_0x26a7ed;}else{if(this[_0x2dd898(0x287)]>0x7&&this['_opcode']<0xb){if(!this[_0x2dd898(0x274)]){const _0x1d05b2=this['createError'](RangeError,_0x2dd898(0x1ab),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x4d4709(_0x1d05b2);return;}if(_0x26a7ed){const _0x1623a7=this['createError'](RangeError,_0x2dd898(0x259),!0x0,0x3ea,_0x2dd898(0x25a));_0x4d4709(_0x1623a7);return;}if(this['_payloadLength']>0x7d||this[_0x2dd898(0x287)]===0x8&&this[_0x2dd898(0x214)]===0x1){const _0x2832ed=this[_0x2dd898(0x20a)](RangeError,_0x2dd898(0x269)+this['_payloadLength'],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x4d4709(_0x2832ed);return;}}else{const _0x1f7db5=this[_0x2dd898(0x20a)](RangeError,_0x2dd898(0x2e0)+this[_0x2dd898(0x287)],!0x0,0x3ea,_0x2dd898(0x1b2));_0x4d4709(_0x1f7db5);return;}}}if(!this[_0x2dd898(0x274)]&&!this[_0x2dd898(0x1ad)]&&(this[_0x2dd898(0x1ad)]=this[_0x2dd898(0x287)]),this['_masked']=(_0x160cad[0x1]&0x80)===0x80,this[_0x2dd898(0x2c6)]){if(!this[_0x2dd898(0x1a0)]){const _0x77eb28=this[_0x2dd898(0x20a)](RangeError,_0x2dd898(0x21c),!0x0,0x3ea,_0x2dd898(0x206));_0x4d4709(_0x77eb28);return;}}else{if(this[_0x2dd898(0x1a0)]){const _0x3bec0d=this[_0x2dd898(0x20a)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x2dd898(0x28f));_0x4d4709(_0x3bec0d);return;}}this[_0x2dd898(0x214)]===0x7e?this[_0x2dd898(0x248)]=_0x52dace:this[_0x2dd898(0x214)]===0x7f?this[_0x2dd898(0x248)]=_0x12f91e:this[_0x2dd898(0x247)](_0x4d4709);}['getPayloadLength16'](_0x29726e){const _0x4213ff=_0x2b6300;if(this[_0x4213ff(0x2d3)]<0x2){this[_0x4213ff(0x226)]=!0x1;return;}this[_0x4213ff(0x214)]=this['consume'](0x2)[_0x4213ff(0x2a8)](0x0),this[_0x4213ff(0x247)](_0x29726e);}[_0x2b6300(0x2c8)](_0x18688b){const _0x5560c9=_0x2b6300;if(this[_0x5560c9(0x2d3)]<0x8){this[_0x5560c9(0x226)]=!0x1;return;}const _0xb9eedb=this[_0x5560c9(0x30d)](0x8),_0x515143=_0xb9eedb[_0x5560c9(0x263)](0x0);if(_0x515143>Math[_0x5560c9(0x278)](0x2,0x15)-0x1){const _0x455782=this[_0x5560c9(0x20a)](RangeError,_0x5560c9(0x19a),!0x1,0x3f1,_0x5560c9(0x261));_0x18688b(_0x455782);return;}this['_payloadLength']=_0x515143*Math[_0x5560c9(0x278)](0x2,0x20)+_0xb9eedb['readUInt32BE'](0x4),this[_0x5560c9(0x247)](_0x18688b);}[_0x2b6300(0x247)](_0x66a1e0){const _0x9442ae=_0x2b6300;if(this[_0x9442ae(0x214)]&&this[_0x9442ae(0x287)]<0x8&&(this[_0x9442ae(0x30b)]+=this[_0x9442ae(0x214)],this[_0x9442ae(0x30b)]>this[_0x9442ae(0x296)]&&this[_0x9442ae(0x296)]>0x0)){const _0x243928=this['createError'](RangeError,_0x9442ae(0x297),!0x1,0x3f1,_0x9442ae(0x1c1));_0x66a1e0(_0x243928);return;}this[_0x9442ae(0x1a0)]?this[_0x9442ae(0x248)]=_0x259f2a:this[_0x9442ae(0x248)]=_0x2c7b12;}[_0x2b6300(0x1c0)](){const _0x681ef8=_0x2b6300;if(this['_bufferedBytes']<0x4){this['_loop']=!0x1;return;}this[_0x681ef8(0x241)]=this[_0x681ef8(0x30d)](0x4),this[_0x681ef8(0x248)]=_0x2c7b12;}[_0x2b6300(0x27a)](_0x4920ff){const _0x1a141b=_0x2b6300;let _0x51b9ae=_0x34209b;if(this['_payloadLength']){if(this[_0x1a141b(0x2d3)]<this[_0x1a141b(0x214)]){this[_0x1a141b(0x226)]=!0x1;return;}_0x51b9ae=this['consume'](this[_0x1a141b(0x214)]),this[_0x1a141b(0x1a0)]&&(this['_mask'][0x0]|this[_0x1a141b(0x241)][0x1]|this[_0x1a141b(0x241)][0x2]|this[_0x1a141b(0x241)][0x3])!==0x0&&_0x142ee5(_0x51b9ae,this[_0x1a141b(0x241)]);}if(this[_0x1a141b(0x287)]>0x7){this[_0x1a141b(0x294)](_0x51b9ae,_0x4920ff);return;}if(this[_0x1a141b(0x1a2)]){this['_state']=_0x1b5d7d,this[_0x1a141b(0x1e2)](_0x51b9ae,_0x4920ff);return;}_0x51b9ae[_0x1a141b(0x1d4)]&&(this[_0x1a141b(0x21e)]=this[_0x1a141b(0x30b)],this[_0x1a141b(0x1ef)][_0x1a141b(0x19c)](_0x51b9ae)),this[_0x1a141b(0x30e)](_0x4920ff);}[_0x2b6300(0x1e2)](_0x2e133e,_0xc10972){const _0x533dc6=_0x2b6300;this[_0x533dc6(0x173)][_0x2b6415[_0x533dc6(0x219)]][_0x533dc6(0x1e2)](_0x2e133e,this[_0x533dc6(0x274)],(_0x211dd6,_0x2d85b4)=>{const _0x98e8ff=_0x533dc6;if(_0x211dd6)return _0xc10972(_0x211dd6);if(_0x2d85b4['length']){if(this[_0x98e8ff(0x21e)]+=_0x2d85b4[_0x98e8ff(0x1d4)],this['_messageLength']>this['_maxPayload']&&this[_0x98e8ff(0x296)]>0x0){const _0x26384a=this[_0x98e8ff(0x20a)](RangeError,_0x98e8ff(0x297),!0x1,0x3f1,_0x98e8ff(0x1c1));_0xc10972(_0x26384a);return;}this[_0x98e8ff(0x1ef)][_0x98e8ff(0x19c)](_0x2d85b4);}this[_0x98e8ff(0x30e)](_0xc10972),this[_0x98e8ff(0x248)]===_0x2e375c&&this[_0x98e8ff(0x18e)](_0xc10972);});}[_0x2b6300(0x30e)](_0xb7d326){const _0x2ef987=_0x2b6300;if(!this[_0x2ef987(0x274)]){this['_state']=_0x2e375c;return;}const _0x52b802=this[_0x2ef987(0x21e)],_0xaa1c1a=this['_fragments'];if(this[_0x2ef987(0x30b)]=0x0,this['_messageLength']=0x0,this[_0x2ef987(0x1ad)]=0x0,this[_0x2ef987(0x1ef)]=[],this[_0x2ef987(0x287)]===0x2){let _0x39ceb6;this[_0x2ef987(0x246)]===_0x2ef987(0x2b9)?_0x39ceb6=_0x16ebf0(_0xaa1c1a,_0x52b802):this['_binaryType']===_0x2ef987(0x198)?_0x39ceb6=_0xa80d76(_0x16ebf0(_0xaa1c1a,_0x52b802)):this['_binaryType']==='blob'?_0x39ceb6=new Blob(_0xaa1c1a):_0x39ceb6=_0xaa1c1a,this[_0x2ef987(0x2b2)]?(this[_0x2ef987(0x2e1)](_0x2ef987(0x16c),_0x39ceb6,!0x0),this[_0x2ef987(0x248)]=_0x2e375c):(this[_0x2ef987(0x248)]=_0x3db119,setImmediate(()=>{const _0x27c0a3=_0x2ef987;this['emit']('message',_0x39ceb6,!0x0),this[_0x27c0a3(0x248)]=_0x2e375c,this[_0x27c0a3(0x18e)](_0xb7d326);}));}else{const _0x50a89b=_0x16ebf0(_0xaa1c1a,_0x52b802);if(!this[_0x2ef987(0x205)]&&!_0x2cc7d5(_0x50a89b)){const _0x331683=this['createError'](Error,_0x2ef987(0x282),!0x0,0x3ef,_0x2ef987(0x1f1));_0xb7d326(_0x331683);return;}this[_0x2ef987(0x248)]===_0x1b5d7d||this['_allowSynchronousEvents']?(this['emit']('message',_0x50a89b,!0x1),this[_0x2ef987(0x248)]=_0x2e375c):(this[_0x2ef987(0x248)]=_0x3db119,setImmediate(()=>{const _0x56061c=_0x2ef987;this[_0x56061c(0x2e1)](_0x56061c(0x16c),_0x50a89b,!0x1),this[_0x56061c(0x248)]=_0x2e375c,this[_0x56061c(0x18e)](_0xb7d326);}));}}[_0x2b6300(0x294)](_0x2f6461,_0x593904){const _0x314461=_0x2b6300;if(this[_0x314461(0x287)]===0x8){if(_0x2f6461[_0x314461(0x1d4)]===0x0)this[_0x314461(0x226)]=!0x1,this['emit']('conclude',0x3ed,_0x34209b),this['end']();else{const _0x40d075=_0x2f6461[_0x314461(0x2a8)](0x0);if(!_0x2e5f61(_0x40d075)){const _0x2daf90=this[_0x314461(0x20a)](RangeError,_0x314461(0x1b5)+_0x40d075,!0x0,0x3ea,_0x314461(0x231));_0x593904(_0x2daf90);return;}const _0x3059c6=new _0x325f29(_0x2f6461[_0x314461(0x196)],_0x2f6461[_0x314461(0x16b)]+0x2,_0x2f6461[_0x314461(0x1d4)]-0x2);if(!this['_skipUTF8Validation']&&!_0x2cc7d5(_0x3059c6)){const _0x519db3=this[_0x314461(0x20a)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x593904(_0x519db3);return;}this['_loop']=!0x1,this[_0x314461(0x2e1)](_0x314461(0x18a),_0x40d075,_0x3059c6),this[_0x314461(0x302)]();}this['_state']=_0x2e375c;return;}this[_0x314461(0x2b2)]?(this['emit'](this[_0x314461(0x287)]===0x9?_0x314461(0x197):_0x314461(0x2a9),_0x2f6461),this[_0x314461(0x248)]=_0x2e375c):(this[_0x314461(0x248)]=_0x3db119,setImmediate(()=>{const _0x3b4dc3=_0x314461;this[_0x3b4dc3(0x2e1)](this[_0x3b4dc3(0x287)]===0x9?_0x3b4dc3(0x197):_0x3b4dc3(0x2a9),_0x2f6461),this[_0x3b4dc3(0x248)]=_0x2e375c,this[_0x3b4dc3(0x18e)](_0x593904);}));}['createError'](_0x2e65f1,_0x3f3eed,_0x28ee05,_0x64f09d,_0x335561){const _0xf80f71=_0x2b6300;this[_0xf80f71(0x226)]=!0x1,this[_0xf80f71(0x1ac)]=!0x0;const _0x279013=new _0x2e65f1(_0x28ee05?_0xf80f71(0x175)+_0x3f3eed:_0x3f3eed);return Error[_0xf80f71(0x291)](_0x279013,this[_0xf80f71(0x20a)]),_0x279013[_0xf80f71(0x23c)]=_0x335561,_0x279013[_0x59f40e]=_0x64f09d,_0x279013;}}return Se=_0x1d1c08,Se;}var Ee,et;function _t(){const _0x52bca4=_0x5b07ab;if(et)return Ee;et=0x1;const {Duplex:_0x1629cf}=_0x531033,{randomFillSync:_0x4b3bc7}=_0x413edd,_0x547fe6=he(),{EMPTY_BUFFER:_0x599644,kWebSocket:_0x21e0ba,NOOP:_0x3410ce}=V(),{isBlob:_0x279db1,isValidStatusCode:_0xb4b070}=ne(),{mask:_0x5679f0,toBuffer:_0x70f939}=ce(),_0x20ce85=Symbol(_0x52bca4(0x1f3)),_0x3502c3=Buffer[_0x52bca4(0x1df)](0x4),_0x512a96=0x8*0x400;let _0x80d146,_0x37fd70=_0x512a96;const _0x902e11=0x0,_0x4b484d=0x1,_0x628c36=0x2;class _0x1b5fdb{constructor(_0x5d4d46,_0x3d0fbf,_0x1e0aa0){const _0x236cee=_0x52bca4;this['_extensions']=_0x3d0fbf||{},_0x1e0aa0&&(this['_generateMask']=_0x1e0aa0,this[_0x236cee(0x189)]=Buffer[_0x236cee(0x1df)](0x4)),this['_socket']=_0x5d4d46,this['_firstFragment']=!0x0,this[_0x236cee(0x2f7)]=!0x1,this[_0x236cee(0x2d3)]=0x0,this[_0x236cee(0x16d)]=[],this['_state']=_0x902e11,this[_0x236cee(0x2e3)]=_0x3410ce,this[_0x21e0ba]=void 0x0;}static['frame'](_0x579eed,_0x3d0ac1){const _0x23a6c1=_0x52bca4;let _0x5680fe,_0x54b3ea=!0x1,_0x187fb4=0x2,_0x286a0e=!0x1;_0x3d0ac1[_0x23a6c1(0x285)]&&(_0x5680fe=_0x3d0ac1[_0x23a6c1(0x240)]||_0x3502c3,_0x3d0ac1[_0x23a6c1(0x25f)]?_0x3d0ac1['generateMask'](_0x5680fe):(_0x37fd70===_0x512a96&&(_0x80d146===void 0x0&&(_0x80d146=Buffer[_0x23a6c1(0x1df)](_0x512a96)),_0x4b3bc7(_0x80d146,0x0,_0x512a96),_0x37fd70=0x0),_0x5680fe[0x0]=_0x80d146[_0x37fd70++],_0x5680fe[0x1]=_0x80d146[_0x37fd70++],_0x5680fe[0x2]=_0x80d146[_0x37fd70++],_0x5680fe[0x3]=_0x80d146[_0x37fd70++]),_0x286a0e=(_0x5680fe[0x0]|_0x5680fe[0x1]|_0x5680fe[0x2]|_0x5680fe[0x3])===0x0,_0x187fb4=0x6);let _0x11de69;typeof _0x579eed==_0x23a6c1(0x2af)?(!_0x3d0ac1[_0x23a6c1(0x285)]||_0x286a0e)&&_0x3d0ac1[_0x20ce85]!==void 0x0?_0x11de69=_0x3d0ac1[_0x20ce85]:(_0x579eed=Buffer[_0x23a6c1(0x181)](_0x579eed),_0x11de69=_0x579eed[_0x23a6c1(0x1d4)]):(_0x11de69=_0x579eed['length'],_0x54b3ea=_0x3d0ac1[_0x23a6c1(0x285)]&&_0x3d0ac1[_0x23a6c1(0x1cb)]&&!_0x286a0e);let _0x51f4e2=_0x11de69;_0x11de69>=0x10000?(_0x187fb4+=0x8,_0x51f4e2=0x7f):_0x11de69>0x7d&&(_0x187fb4+=0x2,_0x51f4e2=0x7e);const _0x2fe1bc=Buffer['allocUnsafe'](_0x54b3ea?_0x11de69+_0x187fb4:_0x187fb4);return _0x2fe1bc[0x0]=_0x3d0ac1['fin']?_0x3d0ac1[_0x23a6c1(0x18c)]|0x80:_0x3d0ac1[_0x23a6c1(0x18c)],_0x3d0ac1[_0x23a6c1(0x216)]&&(_0x2fe1bc[0x0]|=0x40),_0x2fe1bc[0x1]=_0x51f4e2,_0x51f4e2===0x7e?_0x2fe1bc['writeUInt16BE'](_0x11de69,0x2):_0x51f4e2===0x7f&&(_0x2fe1bc[0x2]=_0x2fe1bc[0x3]=0x0,_0x2fe1bc[_0x23a6c1(0x201)](_0x11de69,0x4,0x6)),_0x3d0ac1[_0x23a6c1(0x285)]?(_0x2fe1bc[0x1]|=0x80,_0x2fe1bc[_0x187fb4-0x4]=_0x5680fe[0x0],_0x2fe1bc[_0x187fb4-0x3]=_0x5680fe[0x1],_0x2fe1bc[_0x187fb4-0x2]=_0x5680fe[0x2],_0x2fe1bc[_0x187fb4-0x1]=_0x5680fe[0x3],_0x286a0e?[_0x2fe1bc,_0x579eed]:_0x54b3ea?(_0x5679f0(_0x579eed,_0x5680fe,_0x2fe1bc,_0x187fb4,_0x11de69),[_0x2fe1bc]):(_0x5679f0(_0x579eed,_0x5680fe,_0x579eed,0x0,_0x11de69),[_0x2fe1bc,_0x579eed])):[_0x2fe1bc,_0x579eed];}['close'](_0x488560,_0x2207f2,_0x11b95d,_0x59c94f){const _0x262a66=_0x52bca4;let _0xc0c588;if(_0x488560===void 0x0)_0xc0c588=_0x599644;else{if(typeof _0x488560!=_0x262a66(0x2b1)||!_0xb4b070(_0x488560))throw new TypeError('First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number');if(_0x2207f2===void 0x0||!_0x2207f2[_0x262a66(0x1d4)])_0xc0c588=Buffer[_0x262a66(0x2a2)](0x2),_0xc0c588[_0x262a66(0x315)](_0x488560,0x0);else{const _0x5d40d5=Buffer[_0x262a66(0x1f8)](_0x2207f2);if(_0x5d40d5>0x7b)throw new RangeError(_0x262a66(0x22b));_0xc0c588=Buffer[_0x262a66(0x2a2)](0x2+_0x5d40d5),_0xc0c588['writeUInt16BE'](_0x488560,0x0),typeof _0x2207f2=='string'?_0xc0c588['write'](_0x2207f2,0x2):_0xc0c588[_0x262a66(0x20f)](_0x2207f2,0x2);}}const _0x39029a={[_0x20ce85]:_0xc0c588[_0x262a66(0x1d4)],'fin':!0x0,'generateMask':this[_0x262a66(0x255)],'mask':_0x11b95d,'maskBuffer':this[_0x262a66(0x189)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x262a66(0x248)]!==_0x902e11?this['enqueue']([this[_0x262a66(0x2ee)],_0xc0c588,!0x1,_0x39029a,_0x59c94f]):this[_0x262a66(0x2bc)](_0x1b5fdb['frame'](_0xc0c588,_0x39029a),_0x59c94f);}[_0x52bca4(0x197)](_0x5288b3,_0x7dc4bb,_0x6367ab){const _0x1082af=_0x52bca4;let _0xa41cba,_0x51bfd8;if(typeof _0x5288b3==_0x1082af(0x2af)?(_0xa41cba=Buffer[_0x1082af(0x1f8)](_0x5288b3),_0x51bfd8=!0x1):_0x279db1(_0x5288b3)?(_0xa41cba=_0x5288b3[_0x1082af(0x2ae)],_0x51bfd8=!0x1):(_0x5288b3=_0x70f939(_0x5288b3),_0xa41cba=_0x5288b3['length'],_0x51bfd8=_0x70f939[_0x1082af(0x1cb)]),_0xa41cba>0x7d)throw new RangeError(_0x1082af(0x1db));const _0x2f5b5c={[_0x20ce85]:_0xa41cba,'fin':!0x0,'generateMask':this[_0x1082af(0x255)],'mask':_0x7dc4bb,'maskBuffer':this[_0x1082af(0x189)],'opcode':0x9,'readOnly':_0x51bfd8,'rsv1':!0x1};_0x279db1(_0x5288b3)?this[_0x1082af(0x248)]!==_0x902e11?this[_0x1082af(0x2fe)]([this['getBlobData'],_0x5288b3,!0x1,_0x2f5b5c,_0x6367ab]):this[_0x1082af(0x177)](_0x5288b3,!0x1,_0x2f5b5c,_0x6367ab):this['_state']!==_0x902e11?this[_0x1082af(0x2fe)]([this['dispatch'],_0x5288b3,!0x1,_0x2f5b5c,_0x6367ab]):this[_0x1082af(0x2bc)](_0x1b5fdb[_0x1082af(0x25c)](_0x5288b3,_0x2f5b5c),_0x6367ab);}[_0x52bca4(0x2a9)](_0x656fa4,_0x502f25,_0x187b6d){const _0x455ef3=_0x52bca4;let _0x59e0ba,_0x29e8a7;if(typeof _0x656fa4==_0x455ef3(0x2af)?(_0x59e0ba=Buffer[_0x455ef3(0x1f8)](_0x656fa4),_0x29e8a7=!0x1):_0x279db1(_0x656fa4)?(_0x59e0ba=_0x656fa4[_0x455ef3(0x2ae)],_0x29e8a7=!0x1):(_0x656fa4=_0x70f939(_0x656fa4),_0x59e0ba=_0x656fa4[_0x455ef3(0x1d4)],_0x29e8a7=_0x70f939[_0x455ef3(0x1cb)]),_0x59e0ba>0x7d)throw new RangeError(_0x455ef3(0x1db));const _0x542d2c={[_0x20ce85]:_0x59e0ba,'fin':!0x0,'generateMask':this[_0x455ef3(0x255)],'mask':_0x502f25,'maskBuffer':this[_0x455ef3(0x189)],'opcode':0xa,'readOnly':_0x29e8a7,'rsv1':!0x1};_0x279db1(_0x656fa4)?this[_0x455ef3(0x248)]!==_0x902e11?this[_0x455ef3(0x2fe)]([this[_0x455ef3(0x177)],_0x656fa4,!0x1,_0x542d2c,_0x187b6d]):this[_0x455ef3(0x177)](_0x656fa4,!0x1,_0x542d2c,_0x187b6d):this[_0x455ef3(0x248)]!==_0x902e11?this[_0x455ef3(0x2fe)]([this[_0x455ef3(0x2ee)],_0x656fa4,!0x1,_0x542d2c,_0x187b6d]):this[_0x455ef3(0x2bc)](_0x1b5fdb['frame'](_0x656fa4,_0x542d2c),_0x187b6d);}[_0x52bca4(0x2f6)](_0x1e45ba,_0x138108,_0x5cac02){const _0x2731f1=_0x52bca4,_0x4027a8=this[_0x2731f1(0x173)][_0x547fe6[_0x2731f1(0x219)]];let _0x5c2ae7=_0x138108[_0x2731f1(0x2a7)]?0x2:0x1,_0x4782c1=_0x138108[_0x2731f1(0x243)],_0x34aedf,_0x3e99ee;typeof _0x1e45ba==_0x2731f1(0x2af)?(_0x34aedf=Buffer[_0x2731f1(0x1f8)](_0x1e45ba),_0x3e99ee=!0x1):_0x279db1(_0x1e45ba)?(_0x34aedf=_0x1e45ba[_0x2731f1(0x2ae)],_0x3e99ee=!0x1):(_0x1e45ba=_0x70f939(_0x1e45ba),_0x34aedf=_0x1e45ba['length'],_0x3e99ee=_0x70f939[_0x2731f1(0x1cb)]),this['_firstFragment']?(this['_firstFragment']=!0x1,_0x4782c1&&_0x4027a8&&_0x4027a8[_0x2731f1(0x232)][_0x4027a8['_isServer']?_0x2731f1(0x1dc):_0x2731f1(0x2b4)]&&(_0x4782c1=_0x34aedf>=_0x4027a8['_threshold']),this[_0x2731f1(0x2f7)]=_0x4782c1):(_0x4782c1=!0x1,_0x5c2ae7=0x0),_0x138108[_0x2731f1(0x1fd)]&&(this[_0x2731f1(0x2f2)]=!0x0);const _0x5063ff={[_0x20ce85]:_0x34aedf,'fin':_0x138108[_0x2731f1(0x1fd)],'generateMask':this[_0x2731f1(0x255)],'mask':_0x138108[_0x2731f1(0x285)],'maskBuffer':this[_0x2731f1(0x189)],'opcode':_0x5c2ae7,'readOnly':_0x3e99ee,'rsv1':_0x4782c1};_0x279db1(_0x1e45ba)?this['_state']!==_0x902e11?this['enqueue']([this[_0x2731f1(0x177)],_0x1e45ba,this[_0x2731f1(0x2f7)],_0x5063ff,_0x5cac02]):this[_0x2731f1(0x177)](_0x1e45ba,this[_0x2731f1(0x2f7)],_0x5063ff,_0x5cac02):this[_0x2731f1(0x248)]!==_0x902e11?this[_0x2731f1(0x2fe)]([this[_0x2731f1(0x2ee)],_0x1e45ba,this[_0x2731f1(0x2f7)],_0x5063ff,_0x5cac02]):this[_0x2731f1(0x2ee)](_0x1e45ba,this['_compress'],_0x5063ff,_0x5cac02);}[_0x52bca4(0x177)](_0x148a9e,_0x2f4361,_0x1fa6fa,_0x3afadd){const _0x56f905=_0x52bca4;this['_bufferedBytes']+=_0x1fa6fa[_0x20ce85],this[_0x56f905(0x248)]=_0x628c36,_0x148a9e[_0x56f905(0x1ce)]()[_0x56f905(0x244)](_0x384626=>{const _0x4b070c=_0x56f905;if(this[_0x4b070c(0x24f)]['destroyed']){const _0xb16908=new Error(_0x4b070c(0x1cf));process[_0x4b070c(0x1d6)](_0x3fe972,this,_0xb16908,_0x3afadd);return;}this[_0x4b070c(0x2d3)]-=_0x1fa6fa[_0x20ce85];const _0x4e2110=_0x70f939(_0x384626);_0x2f4361?this[_0x4b070c(0x2ee)](_0x4e2110,_0x2f4361,_0x1fa6fa,_0x3afadd):(this[_0x4b070c(0x248)]=_0x902e11,this[_0x4b070c(0x2bc)](_0x1b5fdb[_0x4b070c(0x25c)](_0x4e2110,_0x1fa6fa),_0x3afadd),this[_0x4b070c(0x170)]());})[_0x56f905(0x2c5)](_0x3f509f=>{const _0x3be4b9=_0x56f905;process[_0x3be4b9(0x1d6)](_0xb9d74f,this,_0x3f509f,_0x3afadd);});}[_0x52bca4(0x2ee)](_0xffaadc,_0x36d290,_0x36d9eb,_0x111dd9){const _0x587db6=_0x52bca4;if(!_0x36d290){this['sendFrame'](_0x1b5fdb[_0x587db6(0x25c)](_0xffaadc,_0x36d9eb),_0x111dd9);return;}const _0x1dc62e=this['_extensions'][_0x547fe6[_0x587db6(0x219)]];this[_0x587db6(0x2d3)]+=_0x36d9eb[_0x20ce85],this[_0x587db6(0x248)]=_0x4b484d,_0x1dc62e[_0x587db6(0x243)](_0xffaadc,_0x36d9eb[_0x587db6(0x1fd)],(_0x2436c2,_0x3053fd)=>{const _0x4cf6f1=_0x587db6;if(this[_0x4cf6f1(0x24f)][_0x4cf6f1(0x1b6)]){const _0x295b59=new Error(_0x4cf6f1(0x2bf));_0x3fe972(this,_0x295b59,_0x111dd9);return;}this['_bufferedBytes']-=_0x36d9eb[_0x20ce85],this[_0x4cf6f1(0x248)]=_0x902e11,_0x36d9eb[_0x4cf6f1(0x1cb)]=!0x1,this[_0x4cf6f1(0x2bc)](_0x1b5fdb[_0x4cf6f1(0x25c)](_0x3053fd,_0x36d9eb),_0x111dd9),this[_0x4cf6f1(0x170)]();});}[_0x52bca4(0x170)](){const _0x30f33b=_0x52bca4;for(;this[_0x30f33b(0x248)]===_0x902e11&&this[_0x30f33b(0x16d)]['length'];){const _0x43af66=this[_0x30f33b(0x16d)][_0x30f33b(0x2db)]();this[_0x30f33b(0x2d3)]-=_0x43af66[0x3][_0x20ce85],Reflect[_0x30f33b(0x301)](_0x43af66[0x0],this,_0x43af66[_0x30f33b(0x1c7)](0x1));}}[_0x52bca4(0x2fe)](_0xa356da){const _0x3344e7=_0x52bca4;this[_0x3344e7(0x2d3)]+=_0xa356da[0x3][_0x20ce85],this[_0x3344e7(0x16d)]['push'](_0xa356da);}[_0x52bca4(0x2bc)](_0x4cba08,_0x440520){const _0x4fd25d=_0x52bca4;_0x4cba08['length']===0x2?(this[_0x4fd25d(0x24f)][_0x4fd25d(0x223)](),this[_0x4fd25d(0x24f)][_0x4fd25d(0x1e0)](_0x4cba08[0x0]),this[_0x4fd25d(0x24f)][_0x4fd25d(0x1e0)](_0x4cba08[0x1],_0x440520),this['_socket'][_0x4fd25d(0x281)]()):this[_0x4fd25d(0x24f)][_0x4fd25d(0x1e0)](_0x4cba08[0x0],_0x440520);}}Ee=_0x1b5fdb;function _0x3fe972(_0x2f04c5,_0x3727fd,_0x16a84b){const _0x1cdd48=_0x52bca4;typeof _0x16a84b=='function'&&_0x16a84b(_0x3727fd);for(let _0x4ce603=0x0;_0x4ce603<_0x2f04c5[_0x1cdd48(0x16d)]['length'];_0x4ce603++){const _0x3c3cf2=_0x2f04c5['_queue'][_0x4ce603],_0x207256=_0x3c3cf2[_0x3c3cf2['length']-0x1];typeof _0x207256==_0x1cdd48(0x2d0)&&_0x207256(_0x3727fd);}}function _0xb9d74f(_0x2624db,_0x2b67ea,_0x4bcfd1){const _0x16957d=_0x52bca4;_0x3fe972(_0x2624db,_0x2b67ea,_0x4bcfd1),_0x2624db[_0x16957d(0x2e3)](_0x2b67ea);}return Ee;}var xe,tt;function Kt(){const _0x37c243=_0x5b07ab;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x2e7c69,kListener:_0x4cd532}=V(),_0x3b6202=Symbol(_0x37c243(0x2a1)),_0x9a4bde=Symbol(_0x37c243(0x2fb)),_0x307e2f=Symbol(_0x37c243(0x303)),_0x316517=Symbol(_0x37c243(0x25b)),_0x5dfd24=Symbol('kReason'),_0x497c6d=Symbol('kTarget'),_0xdd5d21=Symbol(_0x37c243(0x28e)),_0x149746=Symbol(_0x37c243(0x1ed));class _0xe6942d{constructor(_0x742f7d){this[_0x497c6d]=null,this[_0xdd5d21]=_0x742f7d;}get[_0x37c243(0x16f)](){return this[_0x497c6d];}get['type'](){return this[_0xdd5d21];}}Object[_0x37c243(0x27f)](_0xe6942d['prototype'],_0x37c243(0x16f),{'enumerable':!0x0}),Object[_0x37c243(0x27f)](_0xe6942d[_0x37c243(0x1bf)],_0x37c243(0x234),{'enumerable':!0x0});class _0x561f50 extends _0xe6942d{constructor(_0x474cad,_0x1af271={}){const _0x4c743f=_0x37c243;super(_0x474cad),this[_0x3b6202]=_0x1af271['code']===void 0x0?0x0:_0x1af271[_0x4c743f(0x23c)],this[_0x5dfd24]=_0x1af271[_0x4c743f(0x258)]===void 0x0?'':_0x1af271['reason'],this[_0x149746]=_0x1af271[_0x4c743f(0x266)]===void 0x0?!0x1:_0x1af271[_0x4c743f(0x266)];}get[_0x37c243(0x23c)](){return this[_0x3b6202];}get[_0x37c243(0x258)](){return this[_0x5dfd24];}get['wasClean'](){return this[_0x149746];}}Object['defineProperty'](_0x561f50[_0x37c243(0x1bf)],_0x37c243(0x23c),{'enumerable':!0x0}),Object[_0x37c243(0x27f)](_0x561f50['prototype'],'reason',{'enumerable':!0x0}),Object[_0x37c243(0x27f)](_0x561f50[_0x37c243(0x1bf)],_0x37c243(0x266),{'enumerable':!0x0});class _0x13c6a3 extends _0xe6942d{constructor(_0x56bf48,_0x397dc6={}){const _0xf935bd=_0x37c243;super(_0x56bf48),this[_0x307e2f]=_0x397dc6[_0xf935bd(0x313)]===void 0x0?null:_0x397dc6[_0xf935bd(0x313)],this[_0x316517]=_0x397dc6[_0xf935bd(0x16c)]===void 0x0?'':_0x397dc6[_0xf935bd(0x16c)];}get[_0x37c243(0x313)](){return this[_0x307e2f];}get['message'](){return this[_0x316517];}}Object[_0x37c243(0x27f)](_0x13c6a3[_0x37c243(0x1bf)],_0x37c243(0x313),{'enumerable':!0x0}),Object[_0x37c243(0x27f)](_0x13c6a3[_0x37c243(0x1bf)],_0x37c243(0x16c),{'enumerable':!0x0});class _0x465399 extends _0xe6942d{constructor(_0x213347,_0x121b57={}){const _0x5aeeea=_0x37c243;super(_0x213347),this[_0x9a4bde]=_0x121b57['data']===void 0x0?null:_0x121b57[_0x5aeeea(0x1e3)];}get['data'](){return this[_0x9a4bde];}}Object[_0x37c243(0x27f)](_0x465399[_0x37c243(0x1bf)],_0x37c243(0x1e3),{'enumerable':!0x0}),xe={'CloseEvent':_0x561f50,'ErrorEvent':_0x13c6a3,'Event':_0xe6942d,'EventTarget':{'addEventListener'(_0x1b4161,_0x33e90d,_0x3bafa3={}){const _0x2d123d=_0x37c243;for(const _0xaf27e7 of this['listeners'](_0x1b4161))if(!_0x3bafa3[_0x2e7c69]&&_0xaf27e7[_0x4cd532]===_0x33e90d&&!_0xaf27e7[_0x2e7c69])return;let _0x438fdf;if(_0x1b4161==='message')_0x438fdf=function(_0x487a3e,_0x1aceac){const _0x1f8b6f=_0x3fd2,_0xc9a4a0=new _0x465399(_0x1f8b6f(0x16c),{'data':_0x1aceac?_0x487a3e:_0x487a3e[_0x1f8b6f(0x2e5)]()});_0xc9a4a0[_0x497c6d]=this,_0x6dd11d(_0x33e90d,this,_0xc9a4a0);};else{if(_0x1b4161===_0x2d123d(0x165))_0x438fdf=function(_0x12bcd6,_0x5db818){const _0x3eb4bb=_0x2d123d,_0xc9ce0f=new _0x561f50(_0x3eb4bb(0x165),{'code':_0x12bcd6,'reason':_0x5db818[_0x3eb4bb(0x2e5)](),'wasClean':this[_0x3eb4bb(0x1c3)]&&this[_0x3eb4bb(0x2f1)]});_0xc9ce0f[_0x497c6d]=this,_0x6dd11d(_0x33e90d,this,_0xc9ce0f);};else{if(_0x1b4161===_0x2d123d(0x313))_0x438fdf=function(_0x330272){const _0xc5c75d=_0x2d123d,_0x36d86c=new _0x13c6a3(_0xc5c75d(0x313),{'error':_0x330272,'message':_0x330272[_0xc5c75d(0x16c)]});_0x36d86c[_0x497c6d]=this,_0x6dd11d(_0x33e90d,this,_0x36d86c);};else{if(_0x1b4161===_0x2d123d(0x251))_0x438fdf=function(){const _0xb63af7=_0x2d123d,_0x3aeaed=new _0xe6942d(_0xb63af7(0x251));_0x3aeaed[_0x497c6d]=this,_0x6dd11d(_0x33e90d,this,_0x3aeaed);};else return;}}}_0x438fdf[_0x2e7c69]=!!_0x3bafa3[_0x2e7c69],_0x438fdf[_0x4cd532]=_0x33e90d,_0x3bafa3['once']?this['once'](_0x1b4161,_0x438fdf):this['on'](_0x1b4161,_0x438fdf);},'removeEventListener'(_0x4831df,_0x4b407c){const _0x1be007=_0x37c243;for(const _0x5565ae of this['listeners'](_0x4831df))if(_0x5565ae[_0x4cd532]===_0x4b407c&&!_0x5565ae[_0x2e7c69]){this[_0x1be007(0x184)](_0x4831df,_0x5565ae);break;}}},'MessageEvent':_0x465399};function _0x6dd11d(_0x4496e0,_0x4d5534,_0x1e4076){const _0x416325=_0x37c243;typeof _0x4496e0==_0x416325(0x2a0)&&_0x4496e0[_0x416325(0x2e7)]?_0x4496e0[_0x416325(0x2e7)]['call'](_0x4496e0,_0x1e4076):_0x4496e0['call'](_0x4d5534,_0x1e4076);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x564aff}=ne();function _0x343629(_0x5c7ae0,_0x33d21b,_0x209455){_0x5c7ae0[_0x33d21b]===void 0x0?_0x5c7ae0[_0x33d21b]=[_0x209455]:_0x5c7ae0[_0x33d21b]['push'](_0x209455);}function _0x244ffa(_0x13699b){const _0x3327ff=_0x3fd2,_0x7caa6e=Object[_0x3327ff(0x2d5)](null);let _0x50c8aa=Object['create'](null),_0x270427=!0x1,_0x61a5d5=!0x1,_0x1e10f9=!0x1,_0x99faa4,_0x3f662f,_0x1e4a8a=-0x1,_0x25ac33=-0x1,_0x37e44c=-0x1,_0xec8444=0x0;for(;_0xec8444<_0x13699b[_0x3327ff(0x1d4)];_0xec8444++)if(_0x25ac33=_0x13699b[_0x3327ff(0x306)](_0xec8444),_0x99faa4===void 0x0){if(_0x37e44c===-0x1&&_0x564aff[_0x25ac33]===0x1)_0x1e4a8a===-0x1&&(_0x1e4a8a=_0xec8444);else{if(_0xec8444!==0x0&&(_0x25ac33===0x20||_0x25ac33===0x9))_0x37e44c===-0x1&&_0x1e4a8a!==-0x1&&(_0x37e44c=_0xec8444);else{if(_0x25ac33===0x3b||_0x25ac33===0x2c){if(_0x1e4a8a===-0x1)throw new SyntaxError(_0x3327ff(0x319)+_0xec8444);_0x37e44c===-0x1&&(_0x37e44c=_0xec8444);const _0xc2f91=_0x13699b[_0x3327ff(0x1c7)](_0x1e4a8a,_0x37e44c);_0x25ac33===0x2c?(_0x343629(_0x7caa6e,_0xc2f91,_0x50c8aa),_0x50c8aa=Object[_0x3327ff(0x2d5)](null)):_0x99faa4=_0xc2f91,_0x1e4a8a=_0x37e44c=-0x1;}else throw new SyntaxError(_0x3327ff(0x319)+_0xec8444);}}}else{if(_0x3f662f===void 0x0){if(_0x37e44c===-0x1&&_0x564aff[_0x25ac33]===0x1)_0x1e4a8a===-0x1&&(_0x1e4a8a=_0xec8444);else{if(_0x25ac33===0x20||_0x25ac33===0x9)_0x37e44c===-0x1&&_0x1e4a8a!==-0x1&&(_0x37e44c=_0xec8444);else{if(_0x25ac33===0x3b||_0x25ac33===0x2c){if(_0x1e4a8a===-0x1)throw new SyntaxError(_0x3327ff(0x319)+_0xec8444);_0x37e44c===-0x1&&(_0x37e44c=_0xec8444),_0x343629(_0x50c8aa,_0x13699b['slice'](_0x1e4a8a,_0x37e44c),!0x0),_0x25ac33===0x2c&&(_0x343629(_0x7caa6e,_0x99faa4,_0x50c8aa),_0x50c8aa=Object[_0x3327ff(0x2d5)](null),_0x99faa4=void 0x0),_0x1e4a8a=_0x37e44c=-0x1;}else{if(_0x25ac33===0x3d&&_0x1e4a8a!==-0x1&&_0x37e44c===-0x1)_0x3f662f=_0x13699b[_0x3327ff(0x1c7)](_0x1e4a8a,_0xec8444),_0x1e4a8a=_0x37e44c=-0x1;else throw new SyntaxError(_0x3327ff(0x319)+_0xec8444);}}}}else{if(_0x61a5d5){if(_0x564aff[_0x25ac33]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xec8444);_0x1e4a8a===-0x1?_0x1e4a8a=_0xec8444:_0x270427||(_0x270427=!0x0),_0x61a5d5=!0x1;}else{if(_0x1e10f9){if(_0x564aff[_0x25ac33]===0x1)_0x1e4a8a===-0x1&&(_0x1e4a8a=_0xec8444);else{if(_0x25ac33===0x22&&_0x1e4a8a!==-0x1)_0x1e10f9=!0x1,_0x37e44c=_0xec8444;else{if(_0x25ac33===0x5c)_0x61a5d5=!0x0;else throw new SyntaxError(_0x3327ff(0x319)+_0xec8444);}}}else{if(_0x25ac33===0x22&&_0x13699b['charCodeAt'](_0xec8444-0x1)===0x3d)_0x1e10f9=!0x0;else{if(_0x37e44c===-0x1&&_0x564aff[_0x25ac33]===0x1)_0x1e4a8a===-0x1&&(_0x1e4a8a=_0xec8444);else{if(_0x1e4a8a!==-0x1&&(_0x25ac33===0x20||_0x25ac33===0x9))_0x37e44c===-0x1&&(_0x37e44c=_0xec8444);else{if(_0x25ac33===0x3b||_0x25ac33===0x2c){if(_0x1e4a8a===-0x1)throw new SyntaxError(_0x3327ff(0x319)+_0xec8444);_0x37e44c===-0x1&&(_0x37e44c=_0xec8444);let _0xc51fb7=_0x13699b[_0x3327ff(0x1c7)](_0x1e4a8a,_0x37e44c);_0x270427&&(_0xc51fb7=_0xc51fb7[_0x3327ff(0x27c)](/\\/g,''),_0x270427=!0x1),_0x343629(_0x50c8aa,_0x3f662f,_0xc51fb7),_0x25ac33===0x2c&&(_0x343629(_0x7caa6e,_0x99faa4,_0x50c8aa),_0x50c8aa=Object[_0x3327ff(0x2d5)](null),_0x99faa4=void 0x0),_0x3f662f=void 0x0,_0x1e4a8a=_0x37e44c=-0x1;}else throw new SyntaxError(_0x3327ff(0x319)+_0xec8444);}}}}}}}if(_0x1e4a8a===-0x1||_0x1e10f9||_0x25ac33===0x20||_0x25ac33===0x9)throw new SyntaxError(_0x3327ff(0x1ca));_0x37e44c===-0x1&&(_0x37e44c=_0xec8444);const _0x239c37=_0x13699b[_0x3327ff(0x1c7)](_0x1e4a8a,_0x37e44c);return _0x99faa4===void 0x0?_0x343629(_0x7caa6e,_0x239c37,_0x50c8aa):(_0x3f662f===void 0x0?_0x343629(_0x50c8aa,_0x239c37,!0x0):_0x270427?_0x343629(_0x50c8aa,_0x3f662f,_0x239c37['replace'](/\\/g,'')):_0x343629(_0x50c8aa,_0x3f662f,_0x239c37),_0x343629(_0x7caa6e,_0x99faa4,_0x50c8aa)),_0x7caa6e;}function _0x406aa1(_0x50312d){const _0x313847=_0x3fd2;return Object[_0x313847(0x208)](_0x50312d)[_0x313847(0x2f3)](_0x2816eb=>{const _0x284d75=_0x313847;let _0x38e76a=_0x50312d[_0x2816eb];return Array[_0x284d75(0x1f2)](_0x38e76a)||(_0x38e76a=[_0x38e76a]),_0x38e76a[_0x284d75(0x2f3)](_0x34b709=>[_0x2816eb][_0x284d75(0x2c9)](Object[_0x284d75(0x208)](_0x34b709)[_0x284d75(0x2f3)](_0x248be6=>{const _0xc48864=_0x284d75;let _0xda7d8=_0x34b709[_0x248be6];return Array[_0xc48864(0x1f2)](_0xda7d8)||(_0xda7d8=[_0xda7d8]),_0xda7d8['map'](_0x4972fb=>_0x4972fb===!0x0?_0x248be6:_0x248be6+'='+_0x4972fb)[_0xc48864(0x17e)](';\x20');}))['join'](';\x20'))[_0x284d75(0x17e)](',\x20');})[_0x313847(0x17e)](',\x20');}return be={'format':_0x406aa1,'parse':_0x244ffa},be;}var we,st;function Ie(){const _0x1d0df8=_0x5b07ab;if(st)return we;st=0x1;const _0x342e64=_0xf6f358,_0x483c6d=_0x288ab7,_0x15e27b=_0xc4ddb2,_0x570d0a=_0x12d9f1,_0x3d72b7=_0xfd5329,{randomBytes:_0x104f0d,createHash:_0x51d9a4}=_0x413edd,{Duplex:_0x2e7382,Readable:_0xfca68f}=_0x531033,{URL:_0x24c131}=_0x51cc46,_0x9cb017=he(),_0x510895=dt(),_0x3f5306=_t(),{isBlob:_0xa08c64}=ne(),{BINARY_TYPES:_0x489bbd,EMPTY_BUFFER:_0x569910,GUID:_0x2e7bf9,kForOnEventAttribute:_0x3e1b27,kListener:_0x235c41,kStatusCode:_0xe0d843,kWebSocket:_0x26b504,NOOP:_0x5bb37e}=V(),{EventTarget:{addEventListener:_0x3d3dda,removeEventListener:_0x305c38}}=Kt(),{format:_0x39fd12,parse:_0x7e1cef}=pt(),{toBuffer:_0x2cb731}=ce(),_0x3f7163=0x1e*0x3e8,_0x459689=Symbol('kAborted'),_0x514c03=[0x8,0xd],_0xb97495=[_0x1d0df8(0x2e8),'OPEN',_0x1d0df8(0x2cf),_0x1d0df8(0x2b6)],_0x116fc8=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x57531f extends _0x342e64{constructor(_0x44df9b,_0x303cd0,_0x22f66d){const _0x3f40d2=_0x1d0df8;super(),this[_0x3f40d2(0x246)]=_0x489bbd[0x0],this[_0x3f40d2(0x1c6)]=0x3ee,this['_closeFrameReceived']=!0x1,this['_closeFrameSent']=!0x1,this[_0x3f40d2(0x1ea)]=_0x569910,this[_0x3f40d2(0x192)]=null,this[_0x3f40d2(0x2d6)]=!0x1,this[_0x3f40d2(0x173)]={},this[_0x3f40d2(0x211)]=!0x1,this[_0x3f40d2(0x288)]='',this[_0x3f40d2(0x20e)]=_0x57531f[_0x3f40d2(0x2e8)],this[_0x3f40d2(0x228)]=null,this[_0x3f40d2(0x2ea)]=null,this['_socket']=null,_0x44df9b!==null?(this[_0x3f40d2(0x191)]=0x0,this[_0x3f40d2(0x2c6)]=!0x1,this['_redirects']=0x0,_0x303cd0===void 0x0?_0x303cd0=[]:Array[_0x3f40d2(0x1f2)](_0x303cd0)||(typeof _0x303cd0==_0x3f40d2(0x2a0)&&_0x303cd0!==null?(_0x22f66d=_0x303cd0,_0x303cd0=[]):_0x303cd0=[_0x303cd0]),_0x30f5f4(this,_0x44df9b,_0x303cd0,_0x22f66d)):(this['_autoPong']=_0x22f66d['autoPong'],this[_0x3f40d2(0x2c6)]=!0x0);}get['binaryType'](){const _0x571fef=_0x1d0df8;return this[_0x571fef(0x246)];}set[_0x1d0df8(0x2f4)](_0x302a43){const _0x140567=_0x1d0df8;_0x489bbd['includes'](_0x302a43)&&(this[_0x140567(0x246)]=_0x302a43,this['_receiver']&&(this[_0x140567(0x228)][_0x140567(0x246)]=_0x302a43));}get[_0x1d0df8(0x1a7)](){const _0x39ab91=_0x1d0df8;return this['_socket']?this['_socket'][_0x39ab91(0x19b)]['length']+this[_0x39ab91(0x2ea)][_0x39ab91(0x2d3)]:this[_0x39ab91(0x191)];}get[_0x1d0df8(0x2f0)](){const _0x1bc4a6=_0x1d0df8;return Object['keys'](this[_0x1bc4a6(0x173)])[_0x1bc4a6(0x17e)]();}get[_0x1d0df8(0x23a)](){const _0x5df1d6=_0x1d0df8;return this[_0x5df1d6(0x211)];}get['onclose'](){return null;}get[_0x1d0df8(0x2e3)](){return null;}get['onopen'](){return null;}get['onmessage'](){return null;}get[_0x1d0df8(0x1a5)](){const _0x278daa=_0x1d0df8;return this[_0x278daa(0x288)];}get[_0x1d0df8(0x1ae)](){const _0x11635d=_0x1d0df8;return this[_0x11635d(0x20e)];}get[_0x1d0df8(0x1f4)](){const _0x173a09=_0x1d0df8;return this[_0x173a09(0x29d)];}[_0x1d0df8(0x204)](_0x19f6a9,_0x7c8cb0,_0x5152dd){const _0xf5af03=_0x1d0df8,_0x41ead1=new _0x510895({'allowSynchronousEvents':_0x5152dd[_0xf5af03(0x21b)],'binaryType':this[_0xf5af03(0x2f4)],'extensions':this['_extensions'],'isServer':this[_0xf5af03(0x2c6)],'maxPayload':_0x5152dd['maxPayload'],'skipUTF8Validation':_0x5152dd[_0xf5af03(0x317)]}),_0xb36ed2=new _0x3f5306(_0x19f6a9,this['_extensions'],_0x5152dd['generateMask']);this[_0xf5af03(0x228)]=_0x41ead1,this['_sender']=_0xb36ed2,this[_0xf5af03(0x24f)]=_0x19f6a9,_0x41ead1[_0x26b504]=this,_0xb36ed2[_0x26b504]=this,_0x19f6a9[_0x26b504]=this,_0x41ead1['on'](_0xf5af03(0x18a),_0x17a8a9),_0x41ead1['on'](_0xf5af03(0x1d1),_0x188281),_0x41ead1['on']('error',_0x15c422),_0x41ead1['on'](_0xf5af03(0x16c),_0xc143f4),_0x41ead1['on'](_0xf5af03(0x197),_0x520684),_0x41ead1['on'](_0xf5af03(0x2a9),_0x2f77d6),_0xb36ed2[_0xf5af03(0x2e3)]=_0x343ca0,_0x19f6a9[_0xf5af03(0x1a1)]&&_0x19f6a9[_0xf5af03(0x1a1)](0x0),_0x19f6a9[_0xf5af03(0x2e9)]&&_0x19f6a9[_0xf5af03(0x2e9)](),_0x7c8cb0['length']>0x0&&_0x19f6a9[_0xf5af03(0x24a)](_0x7c8cb0),_0x19f6a9['on']('close',_0x384924),_0x19f6a9['on'](_0xf5af03(0x1e3),_0x4608d2),_0x19f6a9['on']('end',_0x3af135),_0x19f6a9['on'](_0xf5af03(0x313),_0x4007ea),this[_0xf5af03(0x20e)]=_0x57531f[_0xf5af03(0x2de)],this[_0xf5af03(0x2e1)](_0xf5af03(0x251));}['emitClose'](){const _0x4e0978=_0x1d0df8;if(!this[_0x4e0978(0x24f)]){this[_0x4e0978(0x20e)]=_0x57531f[_0x4e0978(0x2b6)],this[_0x4e0978(0x2e1)](_0x4e0978(0x165),this[_0x4e0978(0x1c6)],this[_0x4e0978(0x1ea)]);return;}this[_0x4e0978(0x173)][_0x9cb017[_0x4e0978(0x219)]]&&this[_0x4e0978(0x173)][_0x9cb017[_0x4e0978(0x219)]][_0x4e0978(0x299)](),this[_0x4e0978(0x228)][_0x4e0978(0x29a)](),this[_0x4e0978(0x20e)]=_0x57531f[_0x4e0978(0x2b6)],this[_0x4e0978(0x2e1)](_0x4e0978(0x165),this['_closeCode'],this['_closeMessage']);}['close'](_0x49de6d,_0x39a33f){const _0x5a5a0b=_0x1d0df8;if(this[_0x5a5a0b(0x1ae)]!==_0x57531f['CLOSED']){if(this['readyState']===_0x57531f[_0x5a5a0b(0x2e8)]){_0x812482(this,this['_req'],_0x5a5a0b(0x1bb));return;}if(this[_0x5a5a0b(0x1ae)]===_0x57531f[_0x5a5a0b(0x2cf)]){this[_0x5a5a0b(0x2f1)]&&(this[_0x5a5a0b(0x1c3)]||this['_receiver'][_0x5a5a0b(0x19b)][_0x5a5a0b(0x292)])&&this[_0x5a5a0b(0x24f)]['end']();return;}this[_0x5a5a0b(0x20e)]=_0x57531f[_0x5a5a0b(0x2cf)],this[_0x5a5a0b(0x2ea)][_0x5a5a0b(0x165)](_0x49de6d,_0x39a33f,!this['_isServer'],_0x23b35e=>{const _0x4b061b=_0x5a5a0b;_0x23b35e||(this[_0x4b061b(0x2f1)]=!0x0,(this['_closeFrameReceived']||this[_0x4b061b(0x228)][_0x4b061b(0x19b)][_0x4b061b(0x292)])&&this['_socket'][_0x4b061b(0x302)]());}),_0xf1d989(this);}}[_0x1d0df8(0x260)](){const _0x1f65fb=_0x1d0df8;this[_0x1f65fb(0x1ae)]===_0x57531f['CONNECTING']||this[_0x1f65fb(0x1ae)]===_0x57531f[_0x1f65fb(0x2b6)]||(this[_0x1f65fb(0x211)]=!0x0,this[_0x1f65fb(0x24f)]['pause']());}[_0x1d0df8(0x197)](_0x3ecca1,_0x9b2a8e,_0x1d3934){const _0x1da771=_0x1d0df8;if(this[_0x1da771(0x1ae)]===_0x57531f[_0x1da771(0x2e8)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x3ecca1=='function'?(_0x1d3934=_0x3ecca1,_0x3ecca1=_0x9b2a8e=void 0x0):typeof _0x9b2a8e==_0x1da771(0x2d0)&&(_0x1d3934=_0x9b2a8e,_0x9b2a8e=void 0x0),typeof _0x3ecca1=='number'&&(_0x3ecca1=_0x3ecca1[_0x1da771(0x2e5)]()),this['readyState']!==_0x57531f[_0x1da771(0x2de)]){_0x2ab6b0(this,_0x3ecca1,_0x1d3934);return;}_0x9b2a8e===void 0x0&&(_0x9b2a8e=!this[_0x1da771(0x2c6)]),this[_0x1da771(0x2ea)][_0x1da771(0x197)](_0x3ecca1||_0x569910,_0x9b2a8e,_0x1d3934);}[_0x1d0df8(0x2a9)](_0x58962c,_0x20c437,_0x59dc6a){const _0x1a1372=_0x1d0df8;if(this[_0x1a1372(0x1ae)]===_0x57531f[_0x1a1372(0x2e8)])throw new Error(_0x1a1372(0x1ff));if(typeof _0x58962c==_0x1a1372(0x2d0)?(_0x59dc6a=_0x58962c,_0x58962c=_0x20c437=void 0x0):typeof _0x20c437==_0x1a1372(0x2d0)&&(_0x59dc6a=_0x20c437,_0x20c437=void 0x0),typeof _0x58962c==_0x1a1372(0x2b1)&&(_0x58962c=_0x58962c['toString']()),this[_0x1a1372(0x1ae)]!==_0x57531f[_0x1a1372(0x2de)]){_0x2ab6b0(this,_0x58962c,_0x59dc6a);return;}_0x20c437===void 0x0&&(_0x20c437=!this[_0x1a1372(0x2c6)]),this['_sender']['pong'](_0x58962c||_0x569910,_0x20c437,_0x59dc6a);}['resume'](){const _0x2fb756=_0x1d0df8;this['readyState']===_0x57531f['CONNECTING']||this[_0x2fb756(0x1ae)]===_0x57531f[_0x2fb756(0x2b6)]||(this[_0x2fb756(0x211)]=!0x1,this[_0x2fb756(0x228)][_0x2fb756(0x19b)][_0x2fb756(0x171)]||this['_socket'][_0x2fb756(0x1c8)]());}[_0x1d0df8(0x2f6)](_0x5338ab,_0x16d12e,_0x37f975){const _0x11a3bc=_0x1d0df8;if(this['readyState']===_0x57531f[_0x11a3bc(0x2e8)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x16d12e=='function'&&(_0x37f975=_0x16d12e,_0x16d12e={}),typeof _0x5338ab==_0x11a3bc(0x2b1)&&(_0x5338ab=_0x5338ab[_0x11a3bc(0x2e5)]()),this[_0x11a3bc(0x1ae)]!==_0x57531f[_0x11a3bc(0x2de)]){_0x2ab6b0(this,_0x5338ab,_0x37f975);return;}const _0x31dabe={'binary':typeof _0x5338ab!=_0x11a3bc(0x2af),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x16d12e};this[_0x11a3bc(0x173)][_0x9cb017[_0x11a3bc(0x219)]]||(_0x31dabe[_0x11a3bc(0x243)]=!0x1),this['_sender'][_0x11a3bc(0x2f6)](_0x5338ab||_0x569910,_0x31dabe,_0x37f975);}[_0x1d0df8(0x2a4)](){const _0x172b28=_0x1d0df8;if(this[_0x172b28(0x1ae)]!==_0x57531f['CLOSED']){if(this[_0x172b28(0x1ae)]===_0x57531f['CONNECTING']){_0x812482(this,this[_0x172b28(0x21a)],_0x172b28(0x1bb));return;}this['_socket']&&(this['_readyState']=_0x57531f['CLOSING'],this[_0x172b28(0x24f)]['destroy']());}}}Object[_0x1d0df8(0x27f)](_0x57531f,_0x1d0df8(0x2e8),{'enumerable':!0x0,'value':_0xb97495[_0x1d0df8(0x2a5)](_0x1d0df8(0x2e8))}),Object[_0x1d0df8(0x27f)](_0x57531f[_0x1d0df8(0x1bf)],_0x1d0df8(0x2e8),{'enumerable':!0x0,'value':_0xb97495[_0x1d0df8(0x2a5)](_0x1d0df8(0x2e8))}),Object[_0x1d0df8(0x27f)](_0x57531f,_0x1d0df8(0x2de),{'enumerable':!0x0,'value':_0xb97495[_0x1d0df8(0x2a5)](_0x1d0df8(0x2de))}),Object['defineProperty'](_0x57531f[_0x1d0df8(0x1bf)],_0x1d0df8(0x2de),{'enumerable':!0x0,'value':_0xb97495[_0x1d0df8(0x2a5)]('OPEN')}),Object['defineProperty'](_0x57531f,_0x1d0df8(0x2cf),{'enumerable':!0x0,'value':_0xb97495['indexOf'](_0x1d0df8(0x2cf))}),Object[_0x1d0df8(0x27f)](_0x57531f['prototype'],'CLOSING',{'enumerable':!0x0,'value':_0xb97495[_0x1d0df8(0x2a5)](_0x1d0df8(0x2cf))}),Object[_0x1d0df8(0x27f)](_0x57531f,'CLOSED',{'enumerable':!0x0,'value':_0xb97495[_0x1d0df8(0x2a5)](_0x1d0df8(0x2b6))}),Object['defineProperty'](_0x57531f['prototype'],_0x1d0df8(0x2b6),{'enumerable':!0x0,'value':_0xb97495[_0x1d0df8(0x2a5)]('CLOSED')}),[_0x1d0df8(0x2f4),_0x1d0df8(0x1a7),_0x1d0df8(0x2f0),_0x1d0df8(0x23a),_0x1d0df8(0x1a5),_0x1d0df8(0x1ae),_0x1d0df8(0x1f4)][_0x1d0df8(0x1ee)](_0x5f647=>{const _0x389827=_0x1d0df8;Object[_0x389827(0x27f)](_0x57531f[_0x389827(0x1bf)],_0x5f647,{'enumerable':!0x0});}),[_0x1d0df8(0x251),'error','close','message']['forEach'](_0x167f9a=>{const _0x4ccd03=_0x1d0df8;Object[_0x4ccd03(0x27f)](_0x57531f[_0x4ccd03(0x1bf)],'on'+_0x167f9a,{'enumerable':!0x0,'get'(){const _0xb5c253=_0x4ccd03;for(const _0x44c972 of this[_0xb5c253(0x1a8)](_0x167f9a))if(_0x44c972[_0x3e1b27])return _0x44c972[_0x235c41];return null;},'set'(_0xb7f2dc){const _0x38eb72=_0x4ccd03;for(const _0x51e8f0 of this['listeners'](_0x167f9a))if(_0x51e8f0[_0x3e1b27]){this['removeListener'](_0x167f9a,_0x51e8f0);break;}typeof _0xb7f2dc==_0x38eb72(0x2d0)&&this[_0x38eb72(0x1b0)](_0x167f9a,_0xb7f2dc,{[_0x3e1b27]:!0x0});}});}),_0x57531f['prototype'][_0x1d0df8(0x1b0)]=_0x3d3dda,_0x57531f['prototype'][_0x1d0df8(0x24c)]=_0x305c38,we=_0x57531f;function _0x30f5f4(_0x588602,_0x45f194,_0x36d43e,_0x589dc9){const _0x32cded=_0x1d0df8,_0x5d09e5={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x514c03[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x589dc9,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x32cded(0x25e),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x588602[_0x32cded(0x1e7)]=_0x5d09e5[_0x32cded(0x1fa)],!_0x514c03[_0x32cded(0x178)](_0x5d09e5[_0x32cded(0x26d)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x5d09e5[_0x32cded(0x26d)]+_0x32cded(0x1f9)+_0x514c03[_0x32cded(0x17e)](',\x20')+')');let _0x2bf08d;if(_0x45f194 instanceof _0x24c131)_0x2bf08d=_0x45f194;else try{_0x2bf08d=new _0x24c131(_0x45f194);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x45f194);}_0x2bf08d[_0x32cded(0x1a5)]===_0x32cded(0x2e6)?_0x2bf08d['protocol']=_0x32cded(0x28c):_0x2bf08d['protocol']===_0x32cded(0x1f0)&&(_0x2bf08d['protocol']=_0x32cded(0x2d4)),_0x588602[_0x32cded(0x29d)]=_0x2bf08d['href'];const _0x2ff88a=_0x2bf08d['protocol']===_0x32cded(0x2d4),_0x2e0cc6=_0x2bf08d[_0x32cded(0x1a5)]===_0x32cded(0x28a);let _0x290bd9;if(_0x2bf08d[_0x32cded(0x1a5)]!==_0x32cded(0x28c)&&!_0x2ff88a&&!_0x2e0cc6?_0x290bd9=_0x32cded(0x2eb):_0x2e0cc6&&!_0x2bf08d[_0x32cded(0x2aa)]?_0x290bd9=_0x32cded(0x257):_0x2bf08d['hash']&&(_0x290bd9=_0x32cded(0x312)),_0x290bd9){const _0x17efac=new SyntaxError(_0x290bd9);if(_0x588602[_0x32cded(0x180)]===0x0)throw _0x17efac;_0x5b038f(_0x588602,_0x17efac);return;}const _0x225e96=_0x2ff88a?0x1bb:0x50,_0x52734e=_0x104f0d(0x10)[_0x32cded(0x2e5)]('base64'),_0xcbe004=_0x2ff88a?_0x483c6d['request']:_0x15e27b['request'],_0x4079ea=new Set();let _0x57f1cd;if(_0x5d09e5[_0x32cded(0x23e)]=_0x5d09e5[_0x32cded(0x23e)]||(_0x2ff88a?_0x3ef2fd:_0xa9933e),_0x5d09e5[_0x32cded(0x253)]=_0x5d09e5[_0x32cded(0x253)]||_0x225e96,_0x5d09e5[_0x32cded(0x1cc)]=_0x2bf08d[_0x32cded(0x1cc)]||_0x225e96,_0x5d09e5[_0x32cded(0x2b7)]=_0x2bf08d[_0x32cded(0x314)]['startsWith']('[')?_0x2bf08d[_0x32cded(0x314)]['slice'](0x1,-0x1):_0x2bf08d[_0x32cded(0x314)],_0x5d09e5[_0x32cded(0x27d)]={..._0x5d09e5[_0x32cded(0x27d)],'Sec-WebSocket-Version':_0x5d09e5['protocolVersion'],'Sec-WebSocket-Key':_0x52734e,'Connection':'Upgrade','Upgrade':_0x32cded(0x1ec)},_0x5d09e5[_0x32cded(0x19e)]=_0x2bf08d[_0x32cded(0x2aa)]+_0x2bf08d[_0x32cded(0x2d2)],_0x5d09e5['timeout']=_0x5d09e5[_0x32cded(0x307)],_0x5d09e5[_0x32cded(0x2b3)]&&(_0x57f1cd=new _0x9cb017(_0x5d09e5[_0x32cded(0x2b3)]!==!0x0?_0x5d09e5[_0x32cded(0x2b3)]:{},!0x1,_0x5d09e5['maxPayload']),_0x5d09e5[_0x32cded(0x27d)][_0x32cded(0x262)]=_0x39fd12({[_0x9cb017[_0x32cded(0x219)]]:_0x57f1cd[_0x32cded(0x2e2)]()})),_0x36d43e[_0x32cded(0x1d4)]){for(const _0x4e5cc5 of _0x36d43e){if(typeof _0x4e5cc5!='string'||!_0x116fc8[_0x32cded(0x2fc)](_0x4e5cc5)||_0x4079ea[_0x32cded(0x1e9)](_0x4e5cc5))throw new SyntaxError(_0x32cded(0x194));_0x4079ea[_0x32cded(0x300)](_0x4e5cc5);}_0x5d09e5['headers'][_0x32cded(0x225)]=_0x36d43e[_0x32cded(0x17e)](',');}if(_0x5d09e5['origin']&&(_0x5d09e5[_0x32cded(0x26d)]<0xd?_0x5d09e5[_0x32cded(0x27d)]['Sec-WebSocket-Origin']=_0x5d09e5[_0x32cded(0x22d)]:_0x5d09e5[_0x32cded(0x27d)]['Origin']=_0x5d09e5[_0x32cded(0x22d)]),(_0x2bf08d[_0x32cded(0x250)]||_0x2bf08d[_0x32cded(0x2c4)])&&(_0x5d09e5[_0x32cded(0x2ff)]=_0x2bf08d[_0x32cded(0x250)]+':'+_0x2bf08d[_0x32cded(0x2c4)]),_0x2e0cc6){const _0x222ad9=_0x5d09e5[_0x32cded(0x19e)][_0x32cded(0x2cb)](':');_0x5d09e5[_0x32cded(0x169)]=_0x222ad9[0x0],_0x5d09e5[_0x32cded(0x19e)]=_0x222ad9[0x1];}let _0x378ff5;if(_0x5d09e5['followRedirects']){if(_0x588602['_redirects']===0x0){_0x588602['_originalIpc']=_0x2e0cc6,_0x588602[_0x32cded(0x1b9)]=_0x2ff88a,_0x588602[_0x32cded(0x30f)]=_0x2e0cc6?_0x5d09e5['socketPath']:_0x2bf08d[_0x32cded(0x2b7)];const _0x2fb774=_0x589dc9&&_0x589dc9[_0x32cded(0x27d)];if(_0x589dc9={..._0x589dc9,'headers':{}},_0x2fb774){for(const [_0x2ab7b7,_0x4e9130]of Object['entries'](_0x2fb774))_0x589dc9['headers'][_0x2ab7b7[_0x32cded(0x17b)]()]=_0x4e9130;}}else{if(_0x588602[_0x32cded(0x235)]('redirect')===0x0){const _0xe49129=_0x2e0cc6?_0x588602[_0x32cded(0x210)]?_0x5d09e5[_0x32cded(0x169)]===_0x588602[_0x32cded(0x30f)]:!0x1:_0x588602[_0x32cded(0x210)]?!0x1:_0x2bf08d['host']===_0x588602[_0x32cded(0x30f)];(!_0xe49129||_0x588602[_0x32cded(0x1b9)]&&!_0x2ff88a)&&(delete _0x5d09e5['headers'][_0x32cded(0x24d)],delete _0x5d09e5[_0x32cded(0x27d)]['cookie'],_0xe49129||delete _0x5d09e5[_0x32cded(0x27d)]['host'],_0x5d09e5[_0x32cded(0x2ff)]=void 0x0);}}_0x5d09e5[_0x32cded(0x2ff)]&&!_0x589dc9[_0x32cded(0x27d)][_0x32cded(0x24d)]&&(_0x589dc9['headers'][_0x32cded(0x24d)]=_0x32cded(0x174)+Buffer[_0x32cded(0x181)](_0x5d09e5[_0x32cded(0x2ff)])[_0x32cded(0x2e5)](_0x32cded(0x1e5))),_0x378ff5=_0x588602['_req']=_0xcbe004(_0x5d09e5),_0x588602[_0x32cded(0x180)]&&_0x588602['emit'](_0x32cded(0x2dc),_0x588602[_0x32cded(0x1f4)],_0x378ff5);}else _0x378ff5=_0x588602['_req']=_0xcbe004(_0x5d09e5);_0x5d09e5[_0x32cded(0x2bb)]&&_0x378ff5['on'](_0x32cded(0x2bb),()=>{const _0x520aa2=_0x32cded;_0x812482(_0x588602,_0x378ff5,_0x520aa2(0x188));}),_0x378ff5['on'](_0x32cded(0x313),_0xc6a033=>{_0x378ff5===null||_0x378ff5[_0x459689]||(_0x378ff5=_0x588602['_req']=null,_0x5b038f(_0x588602,_0xc6a033));}),_0x378ff5['on'](_0x32cded(0x1b7),_0x5686e4=>{const _0x50aaa9=_0x32cded,_0x4ea737=_0x5686e4['headers'][_0x50aaa9(0x318)],_0x45b3fa=_0x5686e4[_0x50aaa9(0x2b5)];if(_0x4ea737&&_0x5d09e5[_0x50aaa9(0x267)]&&_0x45b3fa>=0x12c&&_0x45b3fa<0x190){if(++_0x588602[_0x50aaa9(0x180)]>_0x5d09e5['maxRedirects']){_0x812482(_0x588602,_0x378ff5,'Maximum\x20redirects\x20exceeded');return;}_0x378ff5[_0x50aaa9(0x2f8)]();let _0xc8eea7;try{_0xc8eea7=new _0x24c131(_0x4ea737,_0x45f194);}catch{const _0x22558e=new SyntaxError('Invalid\x20URL:\x20'+_0x4ea737);_0x5b038f(_0x588602,_0x22558e);return;}_0x30f5f4(_0x588602,_0xc8eea7,_0x36d43e,_0x589dc9);}else _0x588602[_0x50aaa9(0x2e1)](_0x50aaa9(0x2cc),_0x378ff5,_0x5686e4)||_0x812482(_0x588602,_0x378ff5,'Unexpected\x20server\x20response:\x20'+_0x5686e4[_0x50aaa9(0x2b5)]);}),_0x378ff5['on']('upgrade',(_0x59308f,_0x28c41f,_0x40f2d7)=>{const _0x12d308=_0x32cded;if(_0x588602['emit']('upgrade',_0x59308f),_0x588602[_0x12d308(0x1ae)]!==_0x57531f[_0x12d308(0x2e8)])return;_0x378ff5=_0x588602[_0x12d308(0x21a)]=null;const _0xfbd9a3=_0x59308f[_0x12d308(0x27d)][_0x12d308(0x290)];if(_0xfbd9a3===void 0x0||_0xfbd9a3['toLowerCase']()!==_0x12d308(0x1ec)){_0x812482(_0x588602,_0x28c41f,_0x12d308(0x22c));return;}const _0x4e05d2=_0x51d9a4(_0x12d308(0x1da))[_0x12d308(0x1de)](_0x52734e+_0x2e7bf9)[_0x12d308(0x19f)]('base64');if(_0x59308f['headers']['sec-websocket-accept']!==_0x4e05d2){_0x812482(_0x588602,_0x28c41f,_0x12d308(0x25d));return;}const _0x4bdad6=_0x59308f[_0x12d308(0x27d)][_0x12d308(0x2fa)];let _0x5e8b28;if(_0x4bdad6!==void 0x0?_0x4079ea['size']?_0x4079ea['has'](_0x4bdad6)||(_0x5e8b28=_0x12d308(0x298)):_0x5e8b28=_0x12d308(0x1fc):_0x4079ea[_0x12d308(0x2ae)]&&(_0x5e8b28=_0x12d308(0x304)),_0x5e8b28){_0x812482(_0x588602,_0x28c41f,_0x5e8b28);return;}_0x4bdad6&&(_0x588602['_protocol']=_0x4bdad6);const _0x478aec=_0x59308f[_0x12d308(0x27d)][_0x12d308(0x176)];if(_0x478aec!==void 0x0){if(!_0x57f1cd){_0x812482(_0x588602,_0x28c41f,_0x12d308(0x252));return;}let _0x1f204c;try{_0x1f204c=_0x7e1cef(_0x478aec);}catch{_0x812482(_0x588602,_0x28c41f,_0x12d308(0x238));return;}const _0x45132b=Object[_0x12d308(0x208)](_0x1f204c);if(_0x45132b[_0x12d308(0x1d4)]!==0x1||_0x45132b[0x0]!==_0x9cb017['extensionName']){_0x812482(_0x588602,_0x28c41f,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x57f1cd['accept'](_0x1f204c[_0x9cb017['extensionName']]);}catch{_0x812482(_0x588602,_0x28c41f,_0x12d308(0x238));return;}_0x588602['_extensions'][_0x9cb017[_0x12d308(0x219)]]=_0x57f1cd;}_0x588602[_0x12d308(0x204)](_0x28c41f,_0x40f2d7,{'allowSynchronousEvents':_0x5d09e5['allowSynchronousEvents'],'generateMask':_0x5d09e5[_0x12d308(0x25f)],'maxPayload':_0x5d09e5[_0x12d308(0x22f)],'skipUTF8Validation':_0x5d09e5[_0x12d308(0x317)]});}),_0x5d09e5[_0x32cded(0x29c)]?_0x5d09e5['finishRequest'](_0x378ff5,_0x588602):_0x378ff5['end']();}function _0x5b038f(_0x55482c,_0x367f98){const _0x576ac3=_0x1d0df8;_0x55482c['_readyState']=_0x57531f[_0x576ac3(0x2cf)],_0x55482c[_0x576ac3(0x2d6)]=!0x0,_0x55482c[_0x576ac3(0x2e1)](_0x576ac3(0x313),_0x367f98),_0x55482c[_0x576ac3(0x2ed)]();}function _0xa9933e(_0x17566e){const _0x22f711=_0x1d0df8;return _0x17566e[_0x22f711(0x19e)]=_0x17566e[_0x22f711(0x169)],_0x570d0a[_0x22f711(0x2be)](_0x17566e);}function _0x3ef2fd(_0x115620){const _0xe4c71d=_0x1d0df8;return _0x115620[_0xe4c71d(0x19e)]=void 0x0,!_0x115620[_0xe4c71d(0x2ab)]&&_0x115620[_0xe4c71d(0x2ab)]!==''&&(_0x115620[_0xe4c71d(0x2ab)]=_0x570d0a[_0xe4c71d(0x1fe)](_0x115620['host'])?'':_0x115620[_0xe4c71d(0x2b7)]),_0x3d72b7[_0xe4c71d(0x2be)](_0x115620);}function _0x812482(_0x53d6e7,_0x54cc46,_0x27897b){const _0x5b0133=_0x1d0df8;_0x53d6e7[_0x5b0133(0x20e)]=_0x57531f['CLOSING'];const _0x5c3363=new Error(_0x27897b);Error['captureStackTrace'](_0x5c3363,_0x812482),_0x54cc46[_0x5b0133(0x2ac)]?(_0x54cc46[_0x459689]=!0x0,_0x54cc46['abort'](),_0x54cc46['socket']&&!_0x54cc46['socket']['destroyed']&&_0x54cc46[_0x5b0133(0x2e4)][_0x5b0133(0x17a)](),process[_0x5b0133(0x1d6)](_0x5b038f,_0x53d6e7,_0x5c3363)):(_0x54cc46['destroy'](_0x5c3363),_0x54cc46[_0x5b0133(0x276)](_0x5b0133(0x313),_0x53d6e7[_0x5b0133(0x2e1)][_0x5b0133(0x26e)](_0x53d6e7,_0x5b0133(0x313))),_0x54cc46['once'](_0x5b0133(0x165),_0x53d6e7[_0x5b0133(0x2ed)]['bind'](_0x53d6e7)));}function _0x2ab6b0(_0x5b5242,_0x513595,_0x448a21){const _0x51029b=_0x1d0df8;if(_0x513595){const _0x56867f=_0xa08c64(_0x513595)?_0x513595[_0x51029b(0x2ae)]:_0x2cb731(_0x513595)[_0x51029b(0x1d4)];_0x5b5242[_0x51029b(0x24f)]?_0x5b5242[_0x51029b(0x2ea)][_0x51029b(0x2d3)]+=_0x56867f:_0x5b5242[_0x51029b(0x191)]+=_0x56867f;}if(_0x448a21){const _0x1500bd=new Error(_0x51029b(0x220)+_0x5b5242[_0x51029b(0x1ae)]+'\x20('+_0xb97495[_0x5b5242[_0x51029b(0x1ae)]]+')');process[_0x51029b(0x1d6)](_0x448a21,_0x1500bd);}}function _0x17a8a9(_0x3abc9f,_0x3b2024){const _0x698e84=_0x1d0df8,_0x153edb=this[_0x26b504];_0x153edb[_0x698e84(0x1c3)]=!0x0,_0x153edb[_0x698e84(0x1ea)]=_0x3b2024,_0x153edb['_closeCode']=_0x3abc9f,_0x153edb[_0x698e84(0x24f)][_0x26b504]!==void 0x0&&(_0x153edb[_0x698e84(0x24f)][_0x698e84(0x184)](_0x698e84(0x1e3),_0x4608d2),process[_0x698e84(0x1d6)](_0x34cde0,_0x153edb['_socket']),_0x3abc9f===0x3ed?_0x153edb['close']():_0x153edb['close'](_0x3abc9f,_0x3b2024));}function _0x188281(){const _0x50db1a=_0x1d0df8,_0x169e8c=this[_0x26b504];_0x169e8c[_0x50db1a(0x23a)]||_0x169e8c[_0x50db1a(0x24f)][_0x50db1a(0x1c8)]();}function _0x15c422(_0x26bc36){const _0x37a426=_0x1d0df8,_0x3a0646=this[_0x26b504];_0x3a0646[_0x37a426(0x24f)][_0x26b504]!==void 0x0&&(_0x3a0646[_0x37a426(0x24f)][_0x37a426(0x184)](_0x37a426(0x1e3),_0x4608d2),process[_0x37a426(0x1d6)](_0x34cde0,_0x3a0646[_0x37a426(0x24f)]),_0x3a0646[_0x37a426(0x165)](_0x26bc36[_0xe0d843])),_0x3a0646[_0x37a426(0x2d6)]||(_0x3a0646['_errorEmitted']=!0x0,_0x3a0646[_0x37a426(0x2e1)]('error',_0x26bc36));}function _0x5e453a(){const _0x15dbc7=_0x1d0df8;this[_0x26b504][_0x15dbc7(0x2ed)]();}function _0xc143f4(_0x4a05be,_0x120b37){const _0x5144cc=_0x1d0df8;this[_0x26b504][_0x5144cc(0x2e1)](_0x5144cc(0x16c),_0x4a05be,_0x120b37);}function _0x520684(_0xfa7cae){const _0x425379=_0x1d0df8,_0x4054dc=this[_0x26b504];_0x4054dc[_0x425379(0x1e7)]&&_0x4054dc['pong'](_0xfa7cae,!this[_0x425379(0x2c6)],_0x5bb37e),_0x4054dc[_0x425379(0x2e1)](_0x425379(0x197),_0xfa7cae);}function _0x2f77d6(_0x433401){const _0x571525=_0x1d0df8;this[_0x26b504][_0x571525(0x2e1)](_0x571525(0x2a9),_0x433401);}function _0x34cde0(_0x30ebf9){const _0x216d41=_0x1d0df8;_0x30ebf9[_0x216d41(0x1c8)]();}function _0x343ca0(_0x20229b){const _0x1d43be=_0x1d0df8,_0x575486=this[_0x26b504];_0x575486[_0x1d43be(0x1ae)]!==_0x57531f[_0x1d43be(0x2b6)]&&(_0x575486[_0x1d43be(0x1ae)]===_0x57531f[_0x1d43be(0x2de)]&&(_0x575486[_0x1d43be(0x20e)]=_0x57531f[_0x1d43be(0x2cf)],_0xf1d989(_0x575486)),this['_socket'][_0x1d43be(0x302)](),_0x575486[_0x1d43be(0x2d6)]||(_0x575486[_0x1d43be(0x2d6)]=!0x0,_0x575486[_0x1d43be(0x2e1)](_0x1d43be(0x313),_0x20229b)));}function _0xf1d989(_0x5c8a0a){const _0x54c997=_0x1d0df8;_0x5c8a0a[_0x54c997(0x192)]=setTimeout(_0x5c8a0a['_socket'][_0x54c997(0x17a)][_0x54c997(0x26e)](_0x5c8a0a[_0x54c997(0x24f)]),_0x3f7163);}function _0x384924(){const _0x564b6c=_0x1d0df8,_0x44e638=this[_0x26b504];this[_0x564b6c(0x184)](_0x564b6c(0x165),_0x384924),this['removeListener'](_0x564b6c(0x1e3),_0x4608d2),this['removeListener'](_0x564b6c(0x302),_0x3af135),_0x44e638[_0x564b6c(0x20e)]=_0x57531f[_0x564b6c(0x2cf)];let _0x56c2e3;!this[_0x564b6c(0x27e)][_0x564b6c(0x1e1)]&&!_0x44e638[_0x564b6c(0x1c3)]&&!_0x44e638[_0x564b6c(0x228)][_0x564b6c(0x19b)]['errorEmitted']&&(_0x56c2e3=_0x44e638[_0x564b6c(0x24f)]['read']())!==null&&_0x44e638['_receiver'][_0x564b6c(0x1e0)](_0x56c2e3),_0x44e638[_0x564b6c(0x228)]['end'](),this[_0x26b504]=void 0x0,clearTimeout(_0x44e638[_0x564b6c(0x192)]),_0x44e638[_0x564b6c(0x228)]['_writableState'][_0x564b6c(0x172)]||_0x44e638[_0x564b6c(0x228)][_0x564b6c(0x19b)][_0x564b6c(0x292)]?_0x44e638[_0x564b6c(0x2ed)]():(_0x44e638[_0x564b6c(0x228)]['on'](_0x564b6c(0x313),_0x5e453a),_0x44e638[_0x564b6c(0x228)]['on']('finish',_0x5e453a));}function _0x4608d2(_0x33e2a8){const _0x20c259=_0x1d0df8;this[_0x26b504][_0x20c259(0x228)][_0x20c259(0x1e0)](_0x33e2a8)||this[_0x20c259(0x260)]();}function _0x3af135(){const _0x3a441b=_0x1d0df8,_0x689068=this[_0x26b504];_0x689068[_0x3a441b(0x20e)]=_0x57531f[_0x3a441b(0x2cf)],_0x689068[_0x3a441b(0x228)]['end'](),this[_0x3a441b(0x302)]();}function _0x4007ea(){const _0x514b98=_0x1d0df8,_0xc7415e=this[_0x26b504];this[_0x514b98(0x184)](_0x514b98(0x313),_0x4007ea),this['on'](_0x514b98(0x313),_0x5bb37e),_0xc7415e&&(_0xc7415e[_0x514b98(0x20e)]=_0x57531f[_0x514b98(0x2cf)],this[_0x514b98(0x17a)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x29ae96}=_0x531033;function _0x2152c6(_0xa98f01){const _0x49f56d=_0x3fd2;_0xa98f01[_0x49f56d(0x2e1)](_0x49f56d(0x165));}function _0xd545ed(){const _0x184403=_0x3fd2;!this[_0x184403(0x1b6)]&&this[_0x184403(0x19b)][_0x184403(0x172)]&&this[_0x184403(0x17a)]();}function _0x565f6d(_0x18f25d){const _0x5ede50=_0x3fd2;this[_0x5ede50(0x184)](_0x5ede50(0x313),_0x565f6d),this[_0x5ede50(0x17a)](),this[_0x5ede50(0x235)](_0x5ede50(0x313))===0x0&&this['emit']('error',_0x18f25d);}function _0x3a46f4(_0x3140f4,_0x132157){const _0x4b8eb9=_0x3fd2;let _0x2b1099=!0x0;const _0x11ae2d=new _0x29ae96({..._0x132157,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x3140f4['on'](_0x4b8eb9(0x16c),function(_0x51b186,_0x586c10){const _0x2902b2=_0x4b8eb9,_0x2dd2d8=!_0x586c10&&_0x11ae2d[_0x2902b2(0x27e)][_0x2902b2(0x1f7)]?_0x51b186[_0x2902b2(0x2e5)]():_0x51b186;_0x11ae2d[_0x2902b2(0x19c)](_0x2dd2d8)||_0x3140f4[_0x2902b2(0x260)]();}),_0x3140f4[_0x4b8eb9(0x276)](_0x4b8eb9(0x313),function(_0x4715ba){const _0x1dc114=_0x4b8eb9;_0x11ae2d[_0x1dc114(0x1b6)]||(_0x2b1099=!0x1,_0x11ae2d['destroy'](_0x4715ba));}),_0x3140f4['once'](_0x4b8eb9(0x165),function(){const _0x1ad2b4=_0x4b8eb9;_0x11ae2d[_0x1ad2b4(0x1b6)]||_0x11ae2d[_0x1ad2b4(0x19c)](null);}),_0x11ae2d['_destroy']=function(_0x29206e,_0x38791d){const _0x2ee4b1=_0x4b8eb9;if(_0x3140f4[_0x2ee4b1(0x1ae)]===_0x3140f4['CLOSED']){_0x38791d(_0x29206e),process['nextTick'](_0x2152c6,_0x11ae2d);return;}let _0x308363=!0x1;_0x3140f4[_0x2ee4b1(0x276)](_0x2ee4b1(0x313),function(_0x13479f){_0x308363=!0x0,_0x38791d(_0x13479f);}),_0x3140f4['once'](_0x2ee4b1(0x165),function(){const _0x1d5396=_0x2ee4b1;_0x308363||_0x38791d(_0x29206e),process[_0x1d5396(0x1d6)](_0x2152c6,_0x11ae2d);}),_0x2b1099&&_0x3140f4['terminate']();},_0x11ae2d[_0x4b8eb9(0x245)]=function(_0x2d904a){const _0x4a43b3=_0x4b8eb9;if(_0x3140f4[_0x4a43b3(0x1ae)]===_0x3140f4[_0x4a43b3(0x2e8)]){_0x3140f4[_0x4a43b3(0x276)](_0x4a43b3(0x251),function(){const _0x27ce58=_0x4a43b3;_0x11ae2d[_0x27ce58(0x245)](_0x2d904a);});return;}_0x3140f4[_0x4a43b3(0x24f)]!==null&&(_0x3140f4[_0x4a43b3(0x24f)]['_writableState'][_0x4a43b3(0x172)]?(_0x2d904a(),_0x11ae2d[_0x4a43b3(0x27e)][_0x4a43b3(0x1e1)]&&_0x11ae2d[_0x4a43b3(0x17a)]()):(_0x3140f4[_0x4a43b3(0x24f)]['once'](_0x4a43b3(0x1ba),function(){_0x2d904a();}),_0x3140f4[_0x4a43b3(0x165)]()));},_0x11ae2d[_0x4b8eb9(0x2ca)]=function(){const _0x3df4cf=_0x4b8eb9;_0x3140f4[_0x3df4cf(0x23a)]&&_0x3140f4[_0x3df4cf(0x1c8)]();},_0x11ae2d['_write']=function(_0x40eb25,_0x591ca5,_0x239131){const _0x4609ec=_0x4b8eb9;if(_0x3140f4['readyState']===_0x3140f4[_0x4609ec(0x2e8)]){_0x3140f4[_0x4609ec(0x276)]('open',function(){const _0x15424e=_0x4609ec;_0x11ae2d[_0x15424e(0x1bd)](_0x40eb25,_0x591ca5,_0x239131);});return;}_0x3140f4[_0x4609ec(0x2f6)](_0x40eb25,_0x239131);},_0x11ae2d['on'](_0x4b8eb9(0x302),_0xd545ed),_0x11ae2d['on']('error',_0x565f6d),_0x11ae2d;}return Oe=_0x3a46f4,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x1684f1}=ne();function _0x1395d1(_0x53a503){const _0x1289ae=_0x3fd2,_0x4448ef=new Set();let _0x55fad8=-0x1,_0x45dcd4=-0x1,_0x3c315c=0x0;for(_0x3c315c;_0x3c315c<_0x53a503[_0x1289ae(0x1d4)];_0x3c315c++){const _0x2dc3cf=_0x53a503[_0x1289ae(0x306)](_0x3c315c);if(_0x45dcd4===-0x1&&_0x1684f1[_0x2dc3cf]===0x1)_0x55fad8===-0x1&&(_0x55fad8=_0x3c315c);else{if(_0x3c315c!==0x0&&(_0x2dc3cf===0x20||_0x2dc3cf===0x9))_0x45dcd4===-0x1&&_0x55fad8!==-0x1&&(_0x45dcd4=_0x3c315c);else{if(_0x2dc3cf===0x2c){if(_0x55fad8===-0x1)throw new SyntaxError(_0x1289ae(0x319)+_0x3c315c);_0x45dcd4===-0x1&&(_0x45dcd4=_0x3c315c);const _0x2f5321=_0x53a503[_0x1289ae(0x1c7)](_0x55fad8,_0x45dcd4);if(_0x4448ef[_0x1289ae(0x1e9)](_0x2f5321))throw new SyntaxError('The\x20\x22'+_0x2f5321+_0x1289ae(0x2d8));_0x4448ef[_0x1289ae(0x300)](_0x2f5321),_0x55fad8=_0x45dcd4=-0x1;}else throw new SyntaxError(_0x1289ae(0x319)+_0x3c315c);}}}if(_0x55fad8===-0x1||_0x45dcd4!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x5b502f=_0x53a503[_0x1289ae(0x1c7)](_0x55fad8,_0x3c315c);if(_0x4448ef[_0x1289ae(0x1e9)](_0x5b502f))throw new SyntaxError(_0x1289ae(0x239)+_0x5b502f+_0x1289ae(0x2d8));return _0x4448ef[_0x1289ae(0x300)](_0x5b502f),_0x4448ef;}return Ce={'parse':_0x1395d1},Ce;}var Te,ot;function _0x3fd2(_0x3afb00,_0x1ffc36){_0x3afb00=_0x3afb00-0x165;const _0x1f5255=_0x1f52();let _0x3fd276=_0x1f5255[_0x3afb00];return _0x3fd276;}function er(){const _0x49f4c9=_0x5b07ab;if(ot)return Te;ot=0x1;const _0xc822a4=_0xf6f358,_0x4defb5=_0xc4ddb2,{Duplex:_0x277442}=_0x531033,{createHash:_0x101898}=_0x413edd,_0x37d068=pt(),_0x263568=he(),_0x102a40=Jt(),_0x54d8c5=Ie(),{GUID:_0x4bc745,kWebSocket:_0x2946cb}=V(),_0x2f3d53=/^[+/0-9A-Za-z]{22}==$/,_0x14962c=0x0,_0x8b19fd=0x1,_0x3ae19c=0x2;class _0x19022f extends _0xc822a4{constructor(_0x5d65c0,_0x2c800b){const _0x2c6295=_0x3fd2;if(super(),_0x5d65c0={'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':_0x54d8c5,..._0x5d65c0},_0x5d65c0[_0x2c6295(0x1cc)]==null&&!_0x5d65c0['server']&&!_0x5d65c0[_0x2c6295(0x1fb)]||_0x5d65c0[_0x2c6295(0x1cc)]!=null&&(_0x5d65c0[_0x2c6295(0x1e8)]||_0x5d65c0[_0x2c6295(0x1fb)])||_0x5d65c0['server']&&_0x5d65c0[_0x2c6295(0x1fb)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x5d65c0[_0x2c6295(0x1cc)]!=null?(this[_0x2c6295(0x309)]=_0x4defb5['createServer']((_0x4da9c5,_0x13d856)=>{const _0x58f6b0=_0x2c6295,_0xdadc32=_0x4defb5[_0x58f6b0(0x1c5)][0x1aa];_0x13d856[_0x58f6b0(0x18f)](0x1aa,{'Content-Length':_0xdadc32[_0x58f6b0(0x1d4)],'Content-Type':_0x58f6b0(0x185)}),_0x13d856[_0x58f6b0(0x302)](_0xdadc32);}),this[_0x2c6295(0x309)]['listen'](_0x5d65c0[_0x2c6295(0x1cc)],_0x5d65c0[_0x2c6295(0x2b7)],_0x5d65c0[_0x2c6295(0x268)],_0x2c800b)):_0x5d65c0['server']&&(this[_0x2c6295(0x309)]=_0x5d65c0[_0x2c6295(0x1e8)]),this['_server']){const _0x27e7fb=this[_0x2c6295(0x2e1)]['bind'](this,'connection');this[_0x2c6295(0x167)]=_0x9f8420(this[_0x2c6295(0x309)],{'listening':this['emit'][_0x2c6295(0x26e)](this,_0x2c6295(0x1c4)),'error':this['emit'][_0x2c6295(0x26e)](this,'error'),'upgrade':(_0x58d045,_0x44e6c0,_0x23cec4)=>{const _0x3bd44e=_0x2c6295;this[_0x3bd44e(0x308)](_0x58d045,_0x44e6c0,_0x23cec4,_0x27e7fb);}});}_0x5d65c0['perMessageDeflate']===!0x0&&(_0x5d65c0[_0x2c6295(0x2b3)]={}),_0x5d65c0[_0x2c6295(0x237)]&&(this[_0x2c6295(0x1a3)]=new Set(),this[_0x2c6295(0x289)]=!0x1),this[_0x2c6295(0x2ef)]=_0x5d65c0,this[_0x2c6295(0x248)]=_0x14962c;}[_0x49f4c9(0x21f)](){const _0x4e131d=_0x49f4c9;if(this[_0x4e131d(0x2ef)][_0x4e131d(0x1fb)])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this['_server']?this['_server'][_0x4e131d(0x21f)]():null;}[_0x49f4c9(0x165)](_0x5d850b){const _0x3c5074=_0x49f4c9;if(this['_state']===_0x3ae19c){_0x5d850b&&this[_0x3c5074(0x276)](_0x3c5074(0x165),()=>{const _0x3f9e9d=_0x3c5074;_0x5d850b(new Error(_0x3f9e9d(0x316)));}),process['nextTick'](_0x26424a,this);return;}if(_0x5d850b&&this['once'](_0x3c5074(0x165),_0x5d850b),this[_0x3c5074(0x248)]!==_0x8b19fd){if(this['_state']=_0x8b19fd,this['options'][_0x3c5074(0x1fb)]||this[_0x3c5074(0x2ef)][_0x3c5074(0x1e8)])this[_0x3c5074(0x309)]&&(this[_0x3c5074(0x167)](),this['_removeListeners']=this[_0x3c5074(0x309)]=null),this[_0x3c5074(0x1a3)]?this[_0x3c5074(0x1a3)][_0x3c5074(0x2ae)]?this['_shouldEmitClose']=!0x0:process[_0x3c5074(0x1d6)](_0x26424a,this):process[_0x3c5074(0x1d6)](_0x26424a,this);else{const _0x5999a9=this['_server'];this[_0x3c5074(0x167)](),this[_0x3c5074(0x167)]=this['_server']=null,_0x5999a9['close'](()=>{_0x26424a(this);});}}}[_0x49f4c9(0x2da)](_0x3091a5){const _0x450f37=_0x49f4c9;if(this[_0x450f37(0x2ef)][_0x450f37(0x19e)]){const _0xbf0fb2=_0x3091a5[_0x450f37(0x1f4)][_0x450f37(0x2a5)]('?');if((_0xbf0fb2!==-0x1?_0x3091a5[_0x450f37(0x1f4)][_0x450f37(0x1c7)](0x0,_0xbf0fb2):_0x3091a5[_0x450f37(0x1f4)])!==this['options']['path'])return!0x1;}return!0x0;}[_0x49f4c9(0x308)](_0xb3b5bd,_0x168834,_0x11c2b1,_0x2f73fc){const _0x4cee0f=_0x49f4c9;_0x168834['on'](_0x4cee0f(0x313),_0x4e6c5);const _0x1507ef=_0xb3b5bd[_0x4cee0f(0x27d)][_0x4cee0f(0x30a)],_0x3c5dd9=_0xb3b5bd[_0x4cee0f(0x27d)][_0x4cee0f(0x290)],_0x271224=+_0xb3b5bd['headers'][_0x4cee0f(0x242)];if(_0xb3b5bd[_0x4cee0f(0x20d)]!==_0x4cee0f(0x25e)){_0x1669d6(this,_0xb3b5bd,_0x168834,0x195,_0x4cee0f(0x272));return;}if(_0x3c5dd9===void 0x0||_0x3c5dd9[_0x4cee0f(0x17b)]()!==_0x4cee0f(0x1ec)){_0x1669d6(this,_0xb3b5bd,_0x168834,0x190,_0x4cee0f(0x22c));return;}if(_0x1507ef===void 0x0||!_0x2f3d53[_0x4cee0f(0x2fc)](_0x1507ef)){_0x1669d6(this,_0xb3b5bd,_0x168834,0x190,_0x4cee0f(0x215));return;}if(_0x271224!==0xd&&_0x271224!==0x8){_0x1669d6(this,_0xb3b5bd,_0x168834,0x190,_0x4cee0f(0x183),{'Sec-WebSocket-Version':_0x4cee0f(0x29e)});return;}if(!this[_0x4cee0f(0x2da)](_0xb3b5bd)){_0x3be7f8(_0x168834,0x190);return;}const _0x12ef55=_0xb3b5bd[_0x4cee0f(0x27d)][_0x4cee0f(0x2fa)];let _0x5dbd86=new Set();if(_0x12ef55!==void 0x0)try{_0x5dbd86=_0x102a40[_0x4cee0f(0x311)](_0x12ef55);}catch{_0x1669d6(this,_0xb3b5bd,_0x168834,0x190,_0x4cee0f(0x24b));return;}const _0x17e1fc=_0xb3b5bd[_0x4cee0f(0x27d)][_0x4cee0f(0x176)],_0x1fd2f6={};if(this['options'][_0x4cee0f(0x2b3)]&&_0x17e1fc!==void 0x0){const _0x4a030d=new _0x263568(this[_0x4cee0f(0x2ef)][_0x4cee0f(0x2b3)],!0x0,this[_0x4cee0f(0x2ef)][_0x4cee0f(0x22f)]);try{const _0x197f38=_0x37d068[_0x4cee0f(0x311)](_0x17e1fc);_0x197f38[_0x263568['extensionName']]&&(_0x4a030d[_0x4cee0f(0x305)](_0x197f38[_0x263568[_0x4cee0f(0x219)]]),_0x1fd2f6[_0x263568[_0x4cee0f(0x219)]]=_0x4a030d);}catch{_0x1669d6(this,_0xb3b5bd,_0x168834,0x190,_0x4cee0f(0x273));return;}}if(this[_0x4cee0f(0x2ef)][_0x4cee0f(0x26a)]){const _0x4c7764={'origin':_0xb3b5bd[_0x4cee0f(0x27d)][''+(_0x271224===0x8?_0x4cee0f(0x193):_0x4cee0f(0x22d))],'secure':!!(_0xb3b5bd[_0x4cee0f(0x2e4)][_0x4cee0f(0x1eb)]||_0xb3b5bd[_0x4cee0f(0x2e4)][_0x4cee0f(0x166)]),'req':_0xb3b5bd};if(this[_0x4cee0f(0x2ef)][_0x4cee0f(0x26a)][_0x4cee0f(0x1d4)]===0x2){this[_0x4cee0f(0x2ef)]['verifyClient'](_0x4c7764,(_0x3fbb06,_0x2019d3,_0x158841,_0x217c58)=>{const _0x394e09=_0x4cee0f;if(!_0x3fbb06)return _0x3be7f8(_0x168834,_0x2019d3||0x191,_0x158841,_0x217c58);this[_0x394e09(0x209)](_0x1fd2f6,_0x1507ef,_0x5dbd86,_0xb3b5bd,_0x168834,_0x11c2b1,_0x2f73fc);});return;}if(!this[_0x4cee0f(0x2ef)][_0x4cee0f(0x26a)](_0x4c7764))return _0x3be7f8(_0x168834,0x191);}this[_0x4cee0f(0x209)](_0x1fd2f6,_0x1507ef,_0x5dbd86,_0xb3b5bd,_0x168834,_0x11c2b1,_0x2f73fc);}[_0x49f4c9(0x209)](_0x1b2766,_0x586a25,_0x288e4c,_0x50ef0f,_0x540a22,_0x43bdbb,_0x4e4e5d){const _0x30f9e9=_0x49f4c9;if(!_0x540a22[_0x30f9e9(0x2a3)]||!_0x540a22[_0x30f9e9(0x31a)])return _0x540a22[_0x30f9e9(0x17a)]();if(_0x540a22[_0x2946cb])throw new Error(_0x30f9e9(0x280));if(this['_state']>_0x14962c)return _0x3be7f8(_0x540a22,0x1f7);const _0x15d49b=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x30f9e9(0x256),'Connection:\x20Upgrade',_0x30f9e9(0x270)+_0x101898(_0x30f9e9(0x1da))['update'](_0x586a25+_0x4bc745)['digest'](_0x30f9e9(0x1e5))],_0x4b551b=new this['options'][(_0x30f9e9(0x1b3))](null,void 0x0,this[_0x30f9e9(0x2ef)]);if(_0x288e4c[_0x30f9e9(0x2ae)]){const _0x10f613=this['options'][_0x30f9e9(0x236)]?this['options'][_0x30f9e9(0x236)](_0x288e4c,_0x50ef0f):_0x288e4c[_0x30f9e9(0x2c3)]()['next']()[_0x30f9e9(0x1dd)];_0x10f613&&(_0x15d49b[_0x30f9e9(0x19c)](_0x30f9e9(0x279)+_0x10f613),_0x4b551b['_protocol']=_0x10f613);}if(_0x1b2766[_0x263568[_0x30f9e9(0x219)]]){const _0x1eda71=_0x1b2766[_0x263568[_0x30f9e9(0x219)]][_0x30f9e9(0x232)],_0x514196=_0x37d068[_0x30f9e9(0x2bd)]({[_0x263568[_0x30f9e9(0x219)]]:[_0x1eda71]});_0x15d49b[_0x30f9e9(0x19c)](_0x30f9e9(0x190)+_0x514196),_0x4b551b['_extensions']=_0x1b2766;}this['emit'](_0x30f9e9(0x27d),_0x15d49b,_0x50ef0f),_0x540a22['write'](_0x15d49b['concat']('\x0d\x0a')[_0x30f9e9(0x17e)]('\x0d\x0a')),_0x540a22['removeListener']('error',_0x4e6c5),_0x4b551b[_0x30f9e9(0x204)](_0x540a22,_0x43bdbb,{'allowSynchronousEvents':this[_0x30f9e9(0x2ef)][_0x30f9e9(0x21b)],'maxPayload':this[_0x30f9e9(0x2ef)][_0x30f9e9(0x22f)],'skipUTF8Validation':this[_0x30f9e9(0x2ef)][_0x30f9e9(0x317)]}),this[_0x30f9e9(0x1a3)]&&(this['clients']['add'](_0x4b551b),_0x4b551b['on'](_0x30f9e9(0x165),()=>{const _0x297b73=_0x30f9e9;this[_0x297b73(0x1a3)][_0x297b73(0x28b)](_0x4b551b),this[_0x297b73(0x289)]&&!this[_0x297b73(0x1a3)][_0x297b73(0x2ae)]&&process['nextTick'](_0x26424a,this);})),_0x4e4e5d(_0x4b551b,_0x50ef0f);}}Te=_0x19022f;function _0x9f8420(_0x139516,_0x292dd0){const _0x21884c=_0x49f4c9;for(const _0x3b9f68 of Object[_0x21884c(0x208)](_0x292dd0))_0x139516['on'](_0x3b9f68,_0x292dd0[_0x3b9f68]);return function(){const _0x5436d9=_0x21884c;for(const _0x10b2a5 of Object['keys'](_0x292dd0))_0x139516[_0x5436d9(0x184)](_0x10b2a5,_0x292dd0[_0x10b2a5]);};}function _0x26424a(_0x8a9bc2){const _0x489917=_0x49f4c9;_0x8a9bc2[_0x489917(0x248)]=_0x3ae19c,_0x8a9bc2[_0x489917(0x2e1)]('close');}function _0x4e6c5(){const _0x149036=_0x49f4c9;this[_0x149036(0x17a)]();}function _0x3be7f8(_0x1d4c56,_0x57eab1,_0x3674e2,_0x56b494){const _0x3c0816=_0x49f4c9;_0x3674e2=_0x3674e2||_0x4defb5[_0x3c0816(0x1c5)][_0x57eab1],_0x56b494={'Connection':_0x3c0816(0x165),'Content-Type':'text/html','Content-Length':Buffer[_0x3c0816(0x1f8)](_0x3674e2),..._0x56b494},_0x1d4c56['once'](_0x3c0816(0x1ba),_0x1d4c56[_0x3c0816(0x17a)]),_0x1d4c56[_0x3c0816(0x302)](_0x3c0816(0x233)+_0x57eab1+'\x20'+_0x4defb5[_0x3c0816(0x1c5)][_0x57eab1]+'\x0d\x0a'+Object[_0x3c0816(0x208)](_0x56b494)[_0x3c0816(0x2f3)](_0x47f122=>_0x47f122+':\x20'+_0x56b494[_0x47f122])[_0x3c0816(0x17e)]('\x0d\x0a')+_0x3c0816(0x1c2)+_0x3674e2);}function _0x1669d6(_0x3d4927,_0x5becbc,_0x48b198,_0x1759e3,_0x1a6479,_0x218a2b){const _0x475860=_0x49f4c9;if(_0x3d4927[_0x475860(0x235)](_0x475860(0x1b1))){const _0x2faf47=new Error(_0x1a6479);Error[_0x475860(0x291)](_0x2faf47,_0x1669d6),_0x3d4927['emit'](_0x475860(0x1b1),_0x2faf47,_0x48b198,_0x5becbc);}else _0x3be7f8(_0x48b198,_0x1759e3,_0x1a6479,_0x218a2b);}return Te;}er();function _0x1f52(){const _0x53ef4b=['permessage-deflate','once','call','pow','Sec-WebSocket-Protocol:\x20','getData','_threshold','replace','headers','_readableState','defineProperty','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','uncork','invalid\x20UTF-8\x20sequence','Invalid\x20value\x20for\x20parameter\x20\x22','concurrency','mask','isServer','_opcode','_protocol','_shouldEmitClose','ws+unix:','delete','ws:','isValidUTF8','kType','WS_ERR_UNEXPECTED_MASK','upgrade','captureStackTrace','errorEmitted','server_max_window_bits','controlMessage','isView','_maxPayload','Max\x20payload\x20size\x20exceeded','Server\x20sent\x20an\x20invalid\x20subprotocol','cleanup','removeAllListeners','species','finishRequest','_url','13,\x208','387405VmiVDh','object','kCode','allocUnsafe','readable','terminate','indexOf','serverNoContextTakeover','binary','readUInt16BE','pong','pathname','servername','setHeader','_options','size','string','_no_context_takeover','number','_allowSynchronousEvents','perMessageDeflate','client_no_context_takeover','statusCode','CLOSED','host','onStarting','nodebuffer','_max_window_bits','timeout','sendFrame','format','connect','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','getInfo','Blob','_registerDependencies','values','password','catch','_isServer','collaboration-client-node.config','getPayloadLength64','concat','_read','split','unexpected-response','kListener','createSocket','CLOSING','function','kDone','search','_bufferedBytes','wss:','create','_errorEmitted','\x22\x20must\x20have\x20only\x20a\x20single\x20value','\x22\x20subprotocol\x20is\x20duplicated','constructor','shouldHandle','shift','redirect','client_max_window_bits','OPEN','1533735FaxCao','invalid\x20opcode\x20','emit','offer','onerror','socket','toString','http:','handleEvent','CONNECTING','setNoDelay','_sender','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','next','emitClose','dispatch','options','extensions','_closeFrameSent','_firstFragment','map','binaryType','_doCreateSocket','send','_compress','abort','pipe','sec-websocket-protocol','kData','test','createInflateRaw','enqueue','auth','add','apply','end','kError','Server\x20sent\x20no\x20subprotocol','accept','charCodeAt','handshakeTimeout','handleUpgrade','_server','sec-websocket-key','_totalPayloadLength','reset','consume','dataMessage','_originalHostOrSocketPath','construct','parse','The\x20URL\x20contains\x20a\x20fragment\x20identifier','error','hostname','writeUInt16BE','The\x20server\x20is\x20not\x20running','skipUTF8Validation','location','Unexpected\x20character\x20at\x20index\x20','writable','close','encrypted','_removeListeners','exports','socketPath','flush','byteOffset','message','_queue','toStringTag','target','dequeue','needDrain','finished','_extensions','Basic\x20','Invalid\x20WebSocket\x20frame:\x20','sec-websocket-extensions','getBlobData','includes','WS_ERR_UNEXPECTED_RSV_2_3','destroy','toLowerCase','WS_NO_UTF_8_VALIDATE','status-code','join','879159KnNTup','_redirects','from','acceptAsClient','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','removeListener','text/plain','_deflate','hasOwnProperty','Opening\x20handshake\x20has\x20timed\x20out','_maskBuffer','conclude','cookie','opcode','__esModule','startLoop','writeHead','Sec-WebSocket-Extensions:\x20','_bufferedAmount','_closeTimer','sec-websocket-origin','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','Module','buffer','ping','arraybuffer','kRun','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','_writableState','push','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','path','digest','_masked','setTimeout','_compressed','clients','4425852xfesDy','protocol','getOwnPropertyDescriptor','bufferedAmount','listeners','jobs','8TLtHZP','FIN\x20must\x20be\x20set','_errored','_fragmented','readyState','serverMaxWindowBits','addEventListener','wsClientError','WS_ERR_INVALID_OPCODE','WebSocket','getPayloadLength16','invalid\x20status\x20code\x20','destroyed','response','zlibDeflateOptions','_originalSecure','finish','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','clientMaxWindowBits','_write','warn','prototype','getMask','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','\x0d\x0a\x0d\x0a','_closeFrameReceived','listening','STATUS_CODES','_closeCode','slice','resume','File','Unexpected\x20end\x20of\x20input','readOnly','port','getConfig','arrayBuffer','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','isInteger','drain','_httpService','155nuFjdw','length','\x22:\x20','nextTick','87052VNCiSm','4483738ctaGHF','buffers','sha1','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','server_no_context_takeover','value','update','alloc','write','endEmitted','decompress','data','stream','base64','get','_autoPong','server','has','_closeMessage','authorized','websocket','kWasClean','forEach','_fragments','https:','WS_ERR_INVALID_UTF8','isArray','kByteLength','url','_inflate','normalizeParams','objectMode','byteLength','\x20(supported\x20versions:\x20','autoPong','noServer','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','fin','isIP','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','setConfig','writeUIntBE','default','callback','setSocket','_skipUTF8Validation','WS_ERR_EXPECTED_MASK','concurrencyLimit','keys','completeUpgrade','createError','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','method','_readyState','set','_originalIpc','_paused','blob','zlibInflateOptions','_payloadLength','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','rsv1','registerHTTPInterceptor','Cookie','extensionName','_req','allowSynchronousEvents','MASK\x20must\x20be\x20set','Unknown\x20parameter\x20\x22','_messageLength','address','WebSocket\x20is\x20not\x20open:\x20readyState\x20','pending','unmask','cork','freeze','Sec-WebSocket-Protocol','_loop','acceptAsServer','_receiver','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','Parameter\x20\x22','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','Invalid\x20Upgrade\x20header','origin','clientNoContextTakeover','maxPayload','client','WS_ERR_INVALID_CLOSE_CODE','params','HTTP/1.1\x20','type','listenerCount','handleProtocols','clientTracking','Invalid\x20Sec-WebSocket-Extensions\x20header','The\x20\x22','isPaused','_configService','code','env','createConnection','_decompress','maskBuffer','_mask','sec-websocket-version','compress','then','_final','_binaryType','haveLength','_state','customHeaders','unshift','Invalid\x20Sec-WebSocket-Protocol\x20header','removeEventListener','authorization','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','_socket','username','open','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','defaultPort','_injector','_generateMask','Upgrade:\x20websocket','The\x20URL\x27s\x20pathname\x20is\x20empty','reason','RSV1\x20must\x20be\x20clear','WS_ERR_UNEXPECTED_RSV_1','kMessage','frame','Invalid\x20Sec-WebSocket-Accept\x20header','GET','generateMask','pause','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','Sec-WebSocket-Extensions','readUInt32BE','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','kIsForOnEventAttribute','wasClean','followRedirects','backlog','invalid\x20payload\x20length\x20','verifyClient','threshold','find','protocolVersion','bind','691772UfogBP','Sec-WebSocket-Accept:\x20','_buffers','Invalid\x20HTTP\x20method','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','_fin'];_0x1f52=function(){return _0x53ef4b;};return _0x1f52();}var tr=Object[_0x5b07ab(0x1a6)],rr=(_0x399afa,_0x8b90d3,_0x21c25b,_0x3c8c67)=>{const _0x223fa6=_0x5b07ab;for(var _0xdd4e00=_0x3c8c67>0x1?void 0x0:_0x3c8c67?tr(_0x8b90d3,_0x21c25b):_0x8b90d3,_0x37ff5f=_0x399afa[_0x223fa6(0x1d4)]-0x1,_0x2de5c9;_0x37ff5f>=0x0;_0x37ff5f--)(_0x2de5c9=_0x399afa[_0x37ff5f])&&(_0xdd4e00=_0x2de5c9(_0xdd4e00)||_0xdd4e00);return _0xdd4e00;},sr=(_0x214851,_0x1aa4e6)=>(_0x2250ef,_0x48a874)=>_0x1aa4e6(_0x2250ef,_0x48a874,_0x214851);let Ne=class extends _0x6f5ab6{constructor(_0x2d9cf7){const _0x3dcf41=_0x5b07ab;super(),this[_0x3dcf41(0x23b)]=_0x2d9cf7;}['createSocket'](_0x376662){const _0x2fbf48=_0x5b07ab;var _0x10000d;const _0x2554ff=(_0x10000d=this[_0x2fbf48(0x23b)]['getConfig'](Be))==null?void 0x0:_0x10000d[_0x2fbf48(0x249)];try{const _0x4eee7a=new Qt(_0x376662,{'headers':{..._0x2554ff}}),_0x4c520a=new _0x392950();return{'URL':_0x376662,'close':(_0x44ee25,_0x238935)=>{_0x4eee7a['close'](_0x44ee25,_0x238935),_0x4c520a['dispose']();},'send':_0x44958a=>{const _0x5734fd=_0x2fbf48;_0x4eee7a[_0x5734fd(0x2f6)](_0x44958a);},'open$':new _0x49d34e(_0x1c184b=>{const _0x854915=_0x2fbf48,_0x5859bd=_0x4d614f=>_0x1c184b[_0x854915(0x2ec)](_0x4d614f);_0x4eee7a[_0x854915(0x1b0)](_0x854915(0x251),_0x5859bd),_0x4c520a[_0x854915(0x300)](_0x23c9ca(()=>_0x4eee7a['removeEventListener']('open',_0x5859bd)));})[_0x2fbf48(0x2f9)](_0x2252ea()),'close$':new _0x49d34e(_0x225a2f=>{const _0x5bd3db=_0x2fbf48,_0x3e7560=_0x5cad1a=>_0x225a2f[_0x5bd3db(0x2ec)](_0x5cad1a);_0x4eee7a['addEventListener'](_0x5bd3db(0x165),_0x3e7560),_0x4c520a[_0x5bd3db(0x300)](_0x23c9ca(()=>_0x4eee7a[_0x5bd3db(0x24c)](_0x5bd3db(0x165),_0x3e7560)));})[_0x2fbf48(0x2f9)](_0x2252ea()),'error$':new _0x49d34e(_0x59e4c8=>{const _0x5881f1=_0x2fbf48,_0x1634d8=_0x442d5b=>_0x59e4c8[_0x5881f1(0x2ec)](_0x442d5b);_0x4eee7a[_0x5881f1(0x1b0)](_0x5881f1(0x313),_0x1634d8),_0x4c520a[_0x5881f1(0x300)](_0x23c9ca(()=>_0x4eee7a['removeEventListener'](_0x5881f1(0x313),_0x1634d8)));})[_0x2fbf48(0x2f9)](_0x2252ea()),'message$':new _0x49d34e(_0x12314f=>{const _0x392ccb=_0x2fbf48,_0x47f176=_0x3f55f7=>_0x12314f['next'](_0x3f55f7);_0x4eee7a['addEventListener'](_0x392ccb(0x16c),_0x47f176),_0x4c520a[_0x392ccb(0x300)](_0x23c9ca(()=>_0x4eee7a[_0x392ccb(0x24c)](_0x392ccb(0x16c),_0x47f176)));})[_0x2fbf48(0x2f9)](_0x2252ea())};}catch(_0x5f7a34){return console[_0x2fbf48(0x313)](_0x5f7a34),null;}}};Ne=rr([sr(0x0,_0x3885a7)],Ne);var ir=Object[_0x5b07ab(0x27f)],nr=Object['getOwnPropertyDescriptor'],or=(_0x53dad0,_0x2059c8,_0x153f0f)=>_0x2059c8 in _0x53dad0?ir(_0x53dad0,_0x2059c8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x153f0f}):_0x53dad0[_0x2059c8]=_0x153f0f,ar=(_0x3e1069,_0xc2413f,_0x2cfab3,_0x37da42)=>{const _0xb383b1=_0x5b07ab;for(var _0x1934bf=_0x37da42>0x1?void 0x0:_0x37da42?nr(_0xc2413f,_0x2cfab3):_0xc2413f,_0x5632a1=_0x3e1069[_0xb383b1(0x1d4)]-0x1,_0x477732;_0x5632a1>=0x0;_0x5632a1--)(_0x477732=_0x3e1069[_0x5632a1])&&(_0x1934bf=_0x477732(_0x1934bf)||_0x1934bf);return _0x1934bf;},ke=(_0x263553,_0x37ecd9)=>(_0x6d6029,_0x344063)=>_0x37ecd9(_0x6d6029,_0x344063,_0x263553),lr=(_0x1b5439,_0x3e6243,_0x18c125)=>or(_0x1b5439,_0x3e6243+'',_0x18c125);let Pe=class extends _0x4c52e8{constructor(_0x1ba721=Ft,_0x327a9c,_0x431d79,_0x276a69){const _0x232ad6=_0x5b07ab;_0x1ba721[_0x232ad6(0x249)]||_0x327a9c[_0x232ad6(0x1be)](_0x232ad6(0x24e)),super(),this['_configService']=_0x431d79,this[_0x232ad6(0x254)]=_0x276a69,this[_0x232ad6(0x23b)][_0x232ad6(0x200)](Be,_0x1ba721);}[_0x5b07ab(0x2b8)](){const _0x5361fa=_0x5b07ab;this[_0x5361fa(0x2c2)]();}[_0x5b07ab(0x2c2)](){const _0x427c06=_0x5b07ab;_0x3eb2a2(this[_0x427c06(0x254)],[[_0x1eb00d,{'useClass':Ne}]]);}};lr(Pe,'pluginName',_0x5b07ab(0x264)),Pe=ar([_0xa79765(_0xff60eb),ke(0x1,_0x7106f5),ke(0x2,_0x3885a7),ke(0x3,_0x1e8752(_0xdd63d8))],Pe);var fr=Object[_0x5b07ab(0x1a6)],cr=(_0x56a03c,_0x590171,_0x103ac4,_0x3721be)=>{const _0x5cd5da=_0x5b07ab;for(var _0x4bb6f7=_0x3721be>0x1?void 0x0:_0x3721be?fr(_0x590171,_0x103ac4):_0x590171,_0xca4f47=_0x56a03c[_0x5cd5da(0x1d4)]-0x1,_0x5c69d0;_0xca4f47>=0x0;_0xca4f47--)(_0x5c69d0=_0x56a03c[_0xca4f47])&&(_0x4bb6f7=_0x5c69d0(_0x4bb6f7)||_0x4bb6f7);return _0x4bb6f7;},se=(_0xbf60d2,_0x503d1c)=>(_0x4bfc97,_0x5d8c97)=>_0x503d1c(_0x4bfc97,_0x5d8c97,_0xbf60d2);let at=class extends _0x4e9240{constructor(_0x498cc6,_0x35cfcf,_0x4aac3b,_0x5394cd,_0x234f72){const _0x1843d5=_0x5b07ab;super(_0x498cc6,_0x35cfcf,_0x4aac3b,_0x5394cd,_0x234f72);const _0x22b638=this[_0x1843d5(0x23b)][_0x1843d5(0x1cd)](Be);this[_0x1843d5(0x1d2)][_0x1843d5(0x217)]({'interceptor':(_0x547a2d,_0x526d59)=>{const _0x103e8a=_0x1843d5;var _0x344da8;const _0x52105c=_0x547a2d['headers'];return(_0x344da8=_0x22b638==null?void 0x0:_0x22b638[_0x103e8a(0x249)])!=null&&_0x344da8['cookie']&&_0x52105c[_0x103e8a(0x20f)](_0x103e8a(0x218),_0x22b638[_0x103e8a(0x249)][_0x103e8a(0x18b)]),_0x526d59(_0x547a2d);}});}async[_0x5b07ab(0x2ce)](_0x552aeb){const _0x597926=_0x5b07ab;return this[_0x597926(0x2f5)](_0x552aeb);}};at=cr([se(0x0,_0x1e8752(_0xdd63d8)),se(0x1,_0x1e8752(_0x2e2594)),se(0x2,_0x3885a7),se(0x3,_0x7106f5),se(0x4,_0x4141fe)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|
|
1
|
+
const _0x56ade3=_0x2f18;(function(_0x331d21,_0x36ed1b){const _0x5cabc2=_0x2f18,_0x28c744=_0x331d21();while(!![]){try{const _0x1eb1f9=-parseInt(_0x5cabc2(0x27c))/0x1+parseInt(_0x5cabc2(0x28b))/0x2*(parseInt(_0x5cabc2(0x2d7))/0x3)+parseInt(_0x5cabc2(0x194))/0x4*(-parseInt(_0x5cabc2(0x320))/0x5)+parseInt(_0x5cabc2(0x30f))/0x6*(-parseInt(_0x5cabc2(0x1c0))/0x7)+-parseInt(_0x5cabc2(0x25f))/0x8*(parseInt(_0x5cabc2(0x1f0))/0x9)+-parseInt(_0x5cabc2(0x29f))/0xa*(parseInt(_0x5cabc2(0x28a))/0xb)+parseInt(_0x5cabc2(0x201))/0xc;if(_0x1eb1f9===_0x36ed1b)break;else _0x28c744['push'](_0x28c744['shift']());}catch(_0x5b47dd){_0x28c744['push'](_0x28c744['shift']());}}}(_0x3e5d,0x66446));import{UniverCollaborationClientPlugin as _0x48316f,CollaborationSocketService as _0x3e889e}from'@univerjs-pro/collaboration-client';import{Disposable as _0x2b1850,DisposableCollection as _0x350fbb,toDisposable as _0x3e5826,IConfigService as _0x4f6291,DependentOn as _0x30b01b,ILogService as _0xe544ef,Inject as _0x2c3e1c,Injector as _0x473f38,Plugin as _0x5879a0,registerDependencies as _0xbdc34d}from'@univerjs/core';import{ISocketService as _0x22431b,HTTPService as _0x3daff5}from'@univerjs/network';import{Observable as _0x5afbe1,share as _0x3b438f}from'rxjs';import _0x123739 from'events';import _0x214fd6 from'https';import _0x54e74c from'http';import _0x3b835c from'net';import _0x27e596 from'tls';import _0x3fe3c4 from'crypto';import _0x33dc7b from'stream';import _0x43fa88 from'url';function _0x3e5d(){const _0x24c78f=['cork','_payloadLength','createError','_url','Unsupported\x20protocol\x20version:\x20','clientMaxWindowBits','kIsForOnEventAttribute','number','protocol','handshakeTimeout','RSV1\x20must\x20be\x20clear','_originalHostOrSocketPath','endEmitted','_opcode','https:','isBuffer','http:','4237Pgswqm','isInteger','serverMaxWindowBits','writable','WS_ERR_INVALID_OPCODE','cleanup','statusCode','removeListener','pow','Parameter\x20\x22','split','target','shouldHandle','reason','3610442wJhuoW','122158EnKCnU','isPaused','call','apply','WS_ERR_EXPECTED_MASK','setSocket','timeout','_no_context_takeover','getBlobData','WS_NO_UTF_8_VALIDATE','bind','Sec-WebSocket-Extensions','Z_SYNC_FLUSH','binary','The\x20URL\x27s\x20pathname\x20is\x20empty','__esModule','authorization','Sec-WebSocket-Accept:\x20','_allowSynchronousEvents','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','10FRKwDa','createInflateRaw','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','writeUInt16BE','acceptAsClient','MASK\x20must\x20be\x20clear','update','options','upgrade','onStarting','isServer','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','_destroy','_loop','createServer','getPayloadLength16','needDrain','Unexpected\x20character\x20at\x20index\x20','toLowerCase','haveLength','port','values','send','concurrency','captureStackTrace','_httpService','alloc','kListener','sha1','emit','_closeTimer','getConfig','hostname','zlibDeflateOptions','allowSynchronousEvents','next','_injector','pause','kDone','keys','skipUTF8Validation','finished','WS_ERR_INVALID_UTF8','_shouldEmitClose','GET','mask','once','text/plain','password','Invalid\x20value\x20for\x20parameter\x20\x22','extensions','href','callback','_deflate','compress','message','9UphpHK','\x0d\x0a\x0d\x0a','toString','wss:','_max_window_bits','startLoop','write','flush','slice','setConfig','entries','wsClientError','completeUpgrade','host','readOnly','arraybuffer','maskBuffer','accept','sec-websocket-key','Invalid\x20URL:\x20','Invalid\x20Sec-WebSocket-Extensions\x20header','setNoDelay','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','size','delete','_mask','clientNoContextTakeover','_isServer','HTTP/1.1\x20101\x20Switching\x20Protocols','method','warn','File','_extensions','end','fin','construct','data','string','13,\x208','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','params','_errored','perMessageDeflate','length','_originalIpc','onopen','handleEvent','clients','byteLength','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','errorEmitted','WS_ERR_UNEXPECTED_MASK','finishRequest','client_no_context_takeover','unshift','6EUyQwF','Upgrade:\x20websocket','Upgrade','_bufferedBytes','WS_ERR_UNEXPECTED_RSV_2_3','byteOffset','WebSocket\x20is\x20not\x20open:\x20readyState\x20','ws+unix:','constructor','set','env','setTimeout','redirect','location','_maxPayload','from','hash','3710aGhpYG','allocUnsafe','kRun','writeHead','handleUpgrade','rsv1','opcode','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','resume','socket','terminate','has','_bufferedAmount','removeEventListener','sec-websocket-protocol','test','_socket','enqueue','dequeue','client','_firstFragment','onerror','_autoPong','_closeCode','replace','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','open','isValidUTF8','connect','finish','concurrencyLimit','indexOf','normalizeParams','dispatch','244ZJTwGu','_receiver','buffers','servername','arrayBuffer','_registerDependencies','digest','_maskBuffer','websocket','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','response','base64','_queue','Sec-WebSocket-Origin','error','_fragmented','username','fragments','consume','dispose','_buffers','client_max_window_bits','_compress','zlibInflateOptions','kMessage','charCodeAt','_write','followRedirects','kReason','_binaryType','invalid\x20opcode\x20','hasOwnProperty','pending','prototype','\x22\x20must\x20have\x20only\x20a\x20single\x20value','pipe','OPEN','getInfo','close','Sec-WebSocket-Protocol:\x20','socketPath','toStringTag','type','object','1650131HFXNFV','Unexpected\x20end\x20of\x20input','noServer','bufferedAmount','controlMessage','read','sec-websocket-extensions','authorized','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','isView','createSocket','extensionName','Invalid\x20HTTP\x20method','_state','kData','map','_removeListeners','invalid\x20UTF-8\x20sequence','_closeFrameReceived','_read','reset','The\x20\x22','_options','create','default','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','\x22\x20subprotocol\x20is\x20duplicated','origin','_req','code','frame','acceptAsServer','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','destroy','_protocol','generateMask','_server','destroyed','Sec-WebSocket-Protocol','FIN\x20must\x20be\x20set','_fragments','_closeMessage','auth','_masked','clientTracking','decompress','_final','_fin','350334LKAqtW','then','getMask','nextTick','CLOSING','kError','listening','path','isArray','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','Basic\x20','CLOSED','headers','get','addEventListener','conclude','request','11590572nyyhec','createDeflateRaw','kTarget','The\x20server\x20is\x20not\x20running','species','stream','_decompress','add','listeners','unmask','Module','exports','\x20(supported\x20versions:\x20','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','startsWith','readUInt32BE','pong','_readableState','_originalSecure','_errorEmitted','unexpected-response','concat','Maximum\x20redirects\x20exceeded','handleProtocols','nodebuffer','kWasClean','sendFrame','\x22:\x20','jobs','shift','freeze','forEach','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','_compressed','readyState','binaryType','_configService','pathname','protocolVersion','blob','ws:','permessage-deflate','STATUS_CODES','customHeaders','catch','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','getOwnPropertyDescriptor','push','buffer','cookie','ping','defineProperty','WS_ERR_UNEXPECTED_RSV_1','backlog','includes','Sec-WebSocket-Extensions:\x20','Max\x20payload\x20size\x20exceeded','join','_readyState','sec-websocket-version','verifyClient','_sender','Server\x20sent\x20no\x20subprotocol','maxPayload','encrypted','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','_totalPayloadLength','The\x20URL\x20contains\x20a\x20fragment\x20identifier','drain','_closeFrameSent','Z_DEFAULT_WINDOWBITS','sec-websocket-accept','Invalid\x20Upgrade\x20header','autoPong','pluginName','_paused','wasClean','WS_ERR_INVALID_CLOSE_CODE','url','abort','_skipUTF8Validation','server','kAborted','serverNoContextTakeover','Blob','offer','server_no_context_takeover','dataMessage','server_max_window_bits','function','_inflate','_redirects','_writableState','CONNECTING','24LSDPGH','listenerCount','Unexpected\x20server\x20response:\x20','createConnection','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','emitClose','getData','_generateMask','address','_messageLength','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','invalid\x20status\x20code\x20'];_0x3e5d=function(){return _0x24c78f;};return _0x3e5d();}import _0x1b27a1 from'zlib';import _0x3c8257 from'buffer';import{ISnapshotServerService as _0xef8f97}from'@univerjs-pro/collaboration';const Be='collaboration-client-node.config',Ft={'customHeaders':{}};function _0x2f18(_0x12962d,_0x291862){_0x12962d=_0x12962d-0x183;const _0x3e5d50=_0x3e5d();let _0x2f18ca=_0x3e5d50[_0x12962d];return _0x2f18ca;}function Wt(_0x1b93ba){const _0x28025d=_0x2f18;return _0x1b93ba&&_0x1b93ba['__esModule']&&Object['prototype'][_0x28025d(0x1b3)][_0x28025d(0x28d)](_0x1b93ba,_0x28025d(0x1d8))?_0x1b93ba[_0x28025d(0x1d8)]:_0x1b93ba;}function ut(_0x35ceb4){const _0x188bed=_0x2f18;if(Object[_0x188bed(0x1b5)]['hasOwnProperty'][_0x188bed(0x28d)](_0x35ceb4,_0x188bed(0x29a)))return _0x35ceb4;var _0x4eead5=_0x35ceb4[_0x188bed(0x1d8)];if(typeof _0x4eead5==_0x188bed(0x25a)){var _0x1419bf=function _0xf83765(){const _0x2ff024=_0x188bed;var _0x16b068=!0x1;try{_0x16b068=this instanceof _0xf83765;}catch{}return _0x16b068?Reflect[_0x2ff024(0x2fa)](_0x4eead5,arguments,this[_0x2ff024(0x317)]):_0x4eead5[_0x2ff024(0x28e)](this,arguments);};_0x1419bf[_0x188bed(0x1b5)]=_0x4eead5[_0x188bed(0x1b5)];}else _0x1419bf={};return Object[_0x188bed(0x234)](_0x1419bf,'__esModule',{'value':!0x0}),Object[_0x188bed(0x2c6)](_0x35ceb4)[_0x188bed(0x220)](function(_0x116dab){const _0x1e922c=_0x188bed;var _0x2c9cfd=Object['getOwnPropertyDescriptor'](_0x35ceb4,_0x116dab);Object['defineProperty'](_0x1419bf,_0x116dab,_0x2c9cfd[_0x1e922c(0x1fd)]?_0x2c9cfd:{'enumerable':!0x0,'get':function(){return _0x35ceb4[_0x116dab];}});}),_0x1419bf;}var te={'exports':{}},ge,Ye;function V(){const _0x247eca=_0x2f18;if(Ye)return ge;Ye=0x1;const _0x3b4926=[_0x247eca(0x219),_0x247eca(0x2e6),_0x247eca(0x1a5)],_0x22712e=typeof Blob<'u';return _0x22712e&&_0x3b4926[_0x247eca(0x230)](_0x247eca(0x228)),ge={'BINARY_TYPES':_0x3b4926,'EMPTY_BUFFER':Buffer[_0x247eca(0x2b9)](0x0),'GUID':_0x247eca(0x242),'hasBlob':_0x22712e,'kForOnEventAttribute':Symbol(_0x247eca(0x271)),'kListener':Symbol(_0x247eca(0x2ba)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0x247eca(0x19c)),'NOOP':()=>{}},ge;}const jt={},Gt=Object['freeze'](Object[_0x56ade3(0x234)]({'__proto__':null,'default':jt},Symbol[_0x56ade3(0x1bd)],{'value':'Module'})),Vt=ut(Gt);var Ke;function ce(){const _0x48d10e=_0x56ade3;if(Ke)return te[_0x48d10e(0x20c)];Ke=0x1;const {EMPTY_BUFFER:_0x42dd60}=V(),_0x23d86c=Buffer[Symbol[_0x48d10e(0x205)]];function _0x38a6d3(_0x532d01,_0x18cdba){const _0xdcb188=_0x48d10e;if(_0x532d01['length']===0x0)return _0x42dd60;if(_0x532d01[_0xdcb188(0x303)]===0x1)return _0x532d01[0x0];const _0x514604=Buffer['allocUnsafe'](_0x18cdba);let _0xfcfc21=0x0;for(let _0x22558d=0x0;_0x22558d<_0x532d01[_0xdcb188(0x303)];_0x22558d++){const _0x32ddff=_0x532d01[_0x22558d];_0x514604[_0xdcb188(0x318)](_0x32ddff,_0xfcfc21),_0xfcfc21+=_0x32ddff['length'];}return _0xfcfc21<_0x18cdba?new _0x23d86c(_0x514604['buffer'],_0x514604[_0xdcb188(0x314)],_0xfcfc21):_0x514604;}function _0x312164(_0x434e4a,_0x5cb058,_0x4d15a2,_0x9e2fe4,_0x2790b8){for(let _0x2fff45=0x0;_0x2fff45<_0x2790b8;_0x2fff45++)_0x4d15a2[_0x9e2fe4+_0x2fff45]=_0x434e4a[_0x2fff45]^_0x5cb058[_0x2fff45&0x3];}function _0x1de69f(_0x2fb977,_0xacd7cb){const _0x377a86=_0x48d10e;for(let _0x20a69f=0x0;_0x20a69f<_0x2fb977[_0x377a86(0x303)];_0x20a69f++)_0x2fb977[_0x20a69f]^=_0xacd7cb[_0x20a69f&0x3];}function _0x11c584(_0x23015e){const _0x2e4da5=_0x48d10e;return _0x23015e[_0x2e4da5(0x303)]===_0x23015e[_0x2e4da5(0x231)][_0x2e4da5(0x308)]?_0x23015e[_0x2e4da5(0x231)]:_0x23015e['buffer'][_0x2e4da5(0x2df)](_0x23015e['byteOffset'],_0x23015e[_0x2e4da5(0x314)]+_0x23015e[_0x2e4da5(0x303)]);}function _0xea2ad8(_0x1b0c62){const _0x4d0f79=_0x48d10e;if(_0xea2ad8[_0x4d0f79(0x2e5)]=!0x0,Buffer[_0x4d0f79(0x27a)](_0x1b0c62))return _0x1b0c62;let _0x57207a;return _0x1b0c62 instanceof ArrayBuffer?_0x57207a=new _0x23d86c(_0x1b0c62):ArrayBuffer[_0x4d0f79(0x1c9)](_0x1b0c62)?_0x57207a=new _0x23d86c(_0x1b0c62[_0x4d0f79(0x231)],_0x1b0c62[_0x4d0f79(0x314)],_0x1b0c62[_0x4d0f79(0x308)]):(_0x57207a=Buffer['from'](_0x1b0c62),_0xea2ad8['readOnly']=!0x1),_0x57207a;}if(te[_0x48d10e(0x20c)]={'concat':_0x38a6d3,'mask':_0x312164,'toArrayBuffer':_0x11c584,'toBuffer':_0xea2ad8,'unmask':_0x1de69f},!process[_0x48d10e(0x319)]['WS_NO_BUFFER_UTIL'])try{const _0x546bd3=Vt;te[_0x48d10e(0x20c)]['mask']=function(_0x5ed17,_0x935d16,_0x1cb0d3,_0x5bbcb2,_0x41f57a){_0x41f57a<0x30?_0x312164(_0x5ed17,_0x935d16,_0x1cb0d3,_0x5bbcb2,_0x41f57a):_0x546bd3['mask'](_0x5ed17,_0x935d16,_0x1cb0d3,_0x5bbcb2,_0x41f57a);},te[_0x48d10e(0x20c)][_0x48d10e(0x20a)]=function(_0x1d7fea,_0x9b0080){const _0x51e3e1=_0x48d10e;_0x1d7fea[_0x51e3e1(0x303)]<0x20?_0x1de69f(_0x1d7fea,_0x9b0080):_0x546bd3[_0x51e3e1(0x20a)](_0x1d7fea,_0x9b0080);};}catch{}return te['exports'];}var ye,Xe;function qt(){const _0x5a150e=_0x56ade3;if(Xe)return ye;Xe=0x1;const _0x4bc5dd=Symbol(_0x5a150e(0x2c5)),_0x3445fd=Symbol(_0x5a150e(0x322));class _0x21310a{constructor(_0x45602a){const _0x16f561=_0x5a150e;this[_0x4bc5dd]=()=>{const _0x89c7c7=_0x2f18;this[_0x89c7c7(0x1b4)]--,this[_0x3445fd]();},this[_0x16f561(0x2b6)]=_0x45602a||0x1/0x0,this['jobs']=[],this[_0x16f561(0x1b4)]=0x0;}[_0x5a150e(0x208)](_0x3712e3){const _0x92b97a=_0x5a150e;this[_0x92b97a(0x21d)][_0x92b97a(0x230)](_0x3712e3),this[_0x3445fd]();}[_0x3445fd](){const _0x36868c=_0x5a150e;if(this[_0x36868c(0x1b4)]!==this['concurrency']&&this['jobs'][_0x36868c(0x303)]){const _0x226623=this['jobs']['shift']();this[_0x36868c(0x1b4)]++,_0x226623(this[_0x4bc5dd]);}}}return ye=_0x21310a,ye;}var ve,Ze;function he(){const _0x4715ec=_0x56ade3;if(Ze)return ve;Ze=0x1;const _0x58b009=_0x1b27a1,_0x49c580=ce(),_0x3f73b9=qt(),{kStatusCode:_0x3d6a11}=V(),_0x43abf5=Buffer[Symbol['species']],_0x403e6d=Buffer[_0x4715ec(0x31e)]([0x0,0x0,0xff,0xff]),_0x104c41=Symbol(_0x4715ec(0x22a)),_0x524f45=Symbol('total-length'),_0x167601=Symbol(_0x4715ec(0x2d3)),_0x42480d=Symbol(_0x4715ec(0x196)),_0x1a3c5f=Symbol(_0x4715ec(0x1a2));let _0x70cf07;class _0x2cdfd9{constructor(_0x223df6,_0x393efe,_0xd0aceb){const _0x2228bc=_0x4715ec;if(this[_0x2228bc(0x31d)]=_0xd0aceb|0x0,this[_0x2228bc(0x1d6)]=_0x223df6||{},this['_threshold']=this['_options']['threshold']!==void 0x0?this[_0x2228bc(0x1d6)]['threshold']:0x400,this['_isServer']=!!_0x393efe,this[_0x2228bc(0x2d4)]=null,this['_inflate']=null,this[_0x2228bc(0x300)]=null,!_0x70cf07){const _0x252bf0=this['_options']['concurrencyLimit']!==void 0x0?this[_0x2228bc(0x1d6)][_0x2228bc(0x190)]:0xa;_0x70cf07=new _0x3f73b9(_0x252bf0);}}static get[_0x4715ec(0x1cb)](){return'permessage-deflate';}[_0x4715ec(0x256)](){const _0x40f8ab=_0x4715ec,_0x21ae0d={};return this[_0x40f8ab(0x1d6)][_0x40f8ab(0x254)]&&(_0x21ae0d['server_no_context_takeover']=!0x0),this['_options'][_0x40f8ab(0x2f1)]&&(_0x21ae0d[_0x40f8ab(0x30d)]=!0x0),this[_0x40f8ab(0x1d6)][_0x40f8ab(0x27e)]&&(_0x21ae0d[_0x40f8ab(0x259)]=this['_options'][_0x40f8ab(0x27e)]),this[_0x40f8ab(0x1d6)][_0x40f8ab(0x270)]?_0x21ae0d[_0x40f8ab(0x1a9)]=this[_0x40f8ab(0x1d6)]['clientMaxWindowBits']:this['_options']['clientMaxWindowBits']==null&&(_0x21ae0d[_0x40f8ab(0x1a9)]=!0x0),_0x21ae0d;}[_0x4715ec(0x2e8)](_0x5a50a5){const _0x2548a6=_0x4715ec;return _0x5a50a5=this[_0x2548a6(0x192)](_0x5a50a5),this[_0x2548a6(0x300)]=this['_isServer']?this['acceptAsServer'](_0x5a50a5):this[_0x2548a6(0x2a3)](_0x5a50a5),this[_0x2548a6(0x300)];}[_0x4715ec(0x281)](){const _0x44b319=_0x4715ec;if(this[_0x44b319(0x25b)]&&(this[_0x44b319(0x25b)][_0x44b319(0x1ba)](),this['_inflate']=null),this[_0x44b319(0x2d4)]){const _0x18effd=this[_0x44b319(0x2d4)][_0x167601];this[_0x44b319(0x2d4)]['close'](),this[_0x44b319(0x2d4)]=null,_0x18effd&&_0x18effd(new Error(_0x44b319(0x2ed)));}}[_0x4715ec(0x1df)](_0xc3b1f8){const _0x54c12d=_0x4715ec,_0x30e44c=this[_0x54c12d(0x1d6)],_0x37465b=_0xc3b1f8['find'](_0x110433=>!(_0x30e44c['serverNoContextTakeover']===!0x1&&_0x110433[_0x54c12d(0x257)]||_0x110433[_0x54c12d(0x259)]&&(_0x30e44c[_0x54c12d(0x27e)]===!0x1||typeof _0x30e44c[_0x54c12d(0x27e)]==_0x54c12d(0x272)&&_0x30e44c[_0x54c12d(0x27e)]>_0x110433[_0x54c12d(0x259)])||typeof _0x30e44c[_0x54c12d(0x270)]==_0x54c12d(0x272)&&!_0x110433[_0x54c12d(0x1a9)]));if(!_0x37465b)throw new Error(_0x54c12d(0x1f9));return _0x30e44c[_0x54c12d(0x254)]&&(_0x37465b['server_no_context_takeover']=!0x0),_0x30e44c['clientNoContextTakeover']&&(_0x37465b[_0x54c12d(0x30d)]=!0x0),typeof _0x30e44c['serverMaxWindowBits']==_0x54c12d(0x272)&&(_0x37465b[_0x54c12d(0x259)]=_0x30e44c[_0x54c12d(0x27e)]),typeof _0x30e44c['clientMaxWindowBits']==_0x54c12d(0x272)?_0x37465b[_0x54c12d(0x1a9)]=_0x30e44c[_0x54c12d(0x270)]:(_0x37465b[_0x54c12d(0x1a9)]===!0x0||_0x30e44c[_0x54c12d(0x270)]===!0x1)&&delete _0x37465b[_0x54c12d(0x1a9)],_0x37465b;}[_0x4715ec(0x2a3)](_0x2a035b){const _0x567ce6=_0x4715ec,_0x34ea80=_0x2a035b[0x0];if(this['_options'][_0x567ce6(0x2f1)]===!0x1&&_0x34ea80[_0x567ce6(0x30d)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0x34ea80[_0x567ce6(0x1a9)])typeof this[_0x567ce6(0x1d6)][_0x567ce6(0x270)]==_0x567ce6(0x272)&&(_0x34ea80[_0x567ce6(0x1a9)]=this[_0x567ce6(0x1d6)][_0x567ce6(0x270)]);else{if(this[_0x567ce6(0x1d6)][_0x567ce6(0x270)]===!0x1||typeof this[_0x567ce6(0x1d6)][_0x567ce6(0x270)]=='number'&&_0x34ea80[_0x567ce6(0x1a9)]>this['_options'][_0x567ce6(0x270)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x34ea80;}['normalizeParams'](_0x33e942){return _0x33e942['forEach'](_0x27ca43=>{const _0x3f6da3=_0x2f18;Object[_0x3f6da3(0x2c6)](_0x27ca43)[_0x3f6da3(0x220)](_0x562798=>{const _0x4c67a4=_0x3f6da3;let _0x1537c8=_0x27ca43[_0x562798];if(_0x1537c8[_0x4c67a4(0x303)]>0x1)throw new Error(_0x4c67a4(0x285)+_0x562798+_0x4c67a4(0x1b6));if(_0x1537c8=_0x1537c8[0x0],_0x562798===_0x4c67a4(0x1a9)){if(_0x1537c8!==!0x0){const _0x4d47f7=+_0x1537c8;if(!Number['isInteger'](_0x4d47f7)||_0x4d47f7<0x8||_0x4d47f7>0xf)throw new TypeError(_0x4c67a4(0x2d0)+_0x562798+_0x4c67a4(0x21c)+_0x1537c8);_0x1537c8=_0x4d47f7;}else{if(!this[_0x4c67a4(0x2f2)])throw new TypeError(_0x4c67a4(0x2d0)+_0x562798+_0x4c67a4(0x21c)+_0x1537c8);}}else{if(_0x562798===_0x4c67a4(0x259)){const _0x2389c8=+_0x1537c8;if(!Number[_0x4c67a4(0x27d)](_0x2389c8)||_0x2389c8<0x8||_0x2389c8>0xf)throw new TypeError(_0x4c67a4(0x2d0)+_0x562798+_0x4c67a4(0x21c)+_0x1537c8);_0x1537c8=_0x2389c8;}else{if(_0x562798===_0x4c67a4(0x30d)||_0x562798===_0x4c67a4(0x257)){if(_0x1537c8!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x562798+_0x4c67a4(0x21c)+_0x1537c8);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x562798+'\x22');}}_0x27ca43[_0x562798]=_0x1537c8;});}),_0x33e942;}[_0x4715ec(0x1ed)](_0x320433,_0x1eee8e,_0x4e7e21){const _0x17cdfa=_0x4715ec;_0x70cf07[_0x17cdfa(0x208)](_0x21f954=>{const _0x1a806f=_0x17cdfa;this[_0x1a806f(0x207)](_0x320433,_0x1eee8e,(_0x40b69c,_0x5db817)=>{_0x21f954(),_0x4e7e21(_0x40b69c,_0x5db817);});});}[_0x4715ec(0x2d5)](_0x352f0f,_0x10eeb1,_0x51b7c1){const _0x3d10ef=_0x4715ec;_0x70cf07[_0x3d10ef(0x208)](_0x278a2e=>{this['_compress'](_0x352f0f,_0x10eeb1,(_0x2ae680,_0x2aa6a2)=>{_0x278a2e(),_0x51b7c1(_0x2ae680,_0x2aa6a2);});});}[_0x4715ec(0x207)](_0x4703ef,_0x3be7b9,_0x55cf3f){const _0x5d2b7c=_0x4715ec,_0x2ed950=this['_isServer']?'client':_0x5d2b7c(0x252);if(!this[_0x5d2b7c(0x25b)]){const _0x4858be=_0x2ed950+_0x5d2b7c(0x2db),_0x275a16=typeof this[_0x5d2b7c(0x300)][_0x4858be]!='number'?_0x58b009[_0x5d2b7c(0x247)]:this['params'][_0x4858be];this[_0x5d2b7c(0x25b)]=_0x58b009[_0x5d2b7c(0x2a0)]({...this['_options'][_0x5d2b7c(0x1ab)],'windowBits':_0x275a16}),this[_0x5d2b7c(0x25b)][_0x104c41]=this,this['_inflate'][_0x524f45]=0x0,this[_0x5d2b7c(0x25b)][_0x42480d]=[],this[_0x5d2b7c(0x25b)]['on'](_0x5d2b7c(0x1a2),_0x161431),this[_0x5d2b7c(0x25b)]['on']('data',_0x321364);}this[_0x5d2b7c(0x25b)][_0x167601]=_0x55cf3f,this[_0x5d2b7c(0x25b)][_0x5d2b7c(0x2dd)](_0x4703ef),_0x3be7b9&&this[_0x5d2b7c(0x25b)]['write'](_0x403e6d),this[_0x5d2b7c(0x25b)][_0x5d2b7c(0x2de)](()=>{const _0x5cc655=_0x5d2b7c,_0x289794=this[_0x5cc655(0x25b)][_0x1a3c5f];if(_0x289794){this['_inflate']['close'](),this[_0x5cc655(0x25b)]=null,_0x55cf3f(_0x289794);return;}const _0x574e90=_0x49c580[_0x5cc655(0x216)](this[_0x5cc655(0x25b)][_0x42480d],this['_inflate'][_0x524f45]);this[_0x5cc655(0x25b)][_0x5cc655(0x212)][_0x5cc655(0x277)]?(this['_inflate'][_0x5cc655(0x1ba)](),this[_0x5cc655(0x25b)]=null):(this[_0x5cc655(0x25b)][_0x524f45]=0x0,this[_0x5cc655(0x25b)][_0x42480d]=[],_0x3be7b9&&this[_0x5cc655(0x300)][_0x2ed950+_0x5cc655(0x292)]&&this['_inflate']['reset']()),_0x55cf3f(null,_0x574e90);});}[_0x4715ec(0x1aa)](_0xa42d1,_0x2c2415,_0x5f103d){const _0x5bf724=_0x4715ec,_0x461727=this['_isServer']?_0x5bf724(0x252):_0x5bf724(0x185);if(!this[_0x5bf724(0x2d4)]){const _0x8e6f0a=_0x461727+'_max_window_bits',_0x5d82e6=typeof this[_0x5bf724(0x300)][_0x8e6f0a]!=_0x5bf724(0x272)?_0x58b009[_0x5bf724(0x247)]:this[_0x5bf724(0x300)][_0x8e6f0a];this[_0x5bf724(0x2d4)]=_0x58b009[_0x5bf724(0x202)]({...this[_0x5bf724(0x1d6)][_0x5bf724(0x2c0)],'windowBits':_0x5d82e6}),this['_deflate'][_0x524f45]=0x0,this['_deflate'][_0x42480d]=[],this[_0x5bf724(0x2d4)]['on'](_0x5bf724(0x2fb),_0x21f2a0);}this[_0x5bf724(0x2d4)][_0x167601]=_0x5f103d,this[_0x5bf724(0x2d4)]['write'](_0xa42d1),this[_0x5bf724(0x2d4)]['flush'](_0x58b009[_0x5bf724(0x297)],()=>{const _0x141073=_0x5bf724;if(!this['_deflate'])return;let _0x11d774=_0x49c580[_0x141073(0x216)](this[_0x141073(0x2d4)][_0x42480d],this[_0x141073(0x2d4)][_0x524f45]);_0x2c2415&&(_0x11d774=new _0x43abf5(_0x11d774['buffer'],_0x11d774['byteOffset'],_0x11d774[_0x141073(0x303)]-0x4)),this[_0x141073(0x2d4)][_0x167601]=null,this['_deflate'][_0x524f45]=0x0,this['_deflate'][_0x42480d]=[],_0x2c2415&&this[_0x141073(0x300)][_0x461727+_0x141073(0x292)]&&this[_0x141073(0x2d4)][_0x141073(0x1d4)](),_0x5f103d(null,_0x11d774);});}}ve=_0x2cdfd9;function _0x21f2a0(_0x13dadc){const _0x1bece9=_0x4715ec;this[_0x42480d][_0x1bece9(0x230)](_0x13dadc),this[_0x524f45]+=_0x13dadc[_0x1bece9(0x303)];}function _0x321364(_0x5e9f4c){const _0x5a95db=_0x4715ec;if(this[_0x524f45]+=_0x5e9f4c[_0x5a95db(0x303)],this[_0x104c41]['_maxPayload']<0x1||this[_0x524f45]<=this[_0x104c41][_0x5a95db(0x31d)]){this[_0x42480d][_0x5a95db(0x230)](_0x5e9f4c);return;}this[_0x1a3c5f]=new RangeError(_0x5a95db(0x239)),this[_0x1a3c5f]['code']=_0x5a95db(0x18b),this[_0x1a3c5f][_0x3d6a11]=0x3f1,this[_0x5a95db(0x283)](_0x5a95db(0x2fb),_0x321364),this[_0x5a95db(0x1d4)]();}function _0x161431(_0xf55523){const _0xbcdc5d=_0x4715ec;if(this[_0x104c41][_0xbcdc5d(0x25b)]=null,this[_0x1a3c5f]){this[_0x167601](this[_0x1a3c5f]);return;}_0xf55523[_0x3d6a11]=0x3ef,this[_0x167601](_0xf55523);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x56ade3(0x21f)](Object['defineProperty']({'__proto__':null,'default':Ht},Symbol['toStringTag'],{'value':_0x56ade3(0x20b)})),Yt=ut(zt);var Qe;function ne(){const _0x4c429a=_0x56ade3;if(Qe)return re[_0x4c429a(0x20c)];Qe=0x1;const {isUtf8:_0x795ca0}=_0x3c8257,{hasBlob:_0x33b7d1}=V(),_0x3613b6=[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 _0x5688ae(_0x325f4d){return _0x325f4d>=0x3e8&&_0x325f4d<=0x3f6&&_0x325f4d!==0x3ec&&_0x325f4d!==0x3ed&&_0x325f4d!==0x3ee||_0x325f4d>=0xbb8&&_0x325f4d<=0x1387;}function _0x192607(_0x19d700){const _0x3aa969=_0x4c429a,_0x21059d=_0x19d700[_0x3aa969(0x303)];let _0x4bca97=0x0;for(;_0x4bca97<_0x21059d;)if((_0x19d700[_0x4bca97]&0x80)===0x0)_0x4bca97++;else{if((_0x19d700[_0x4bca97]&0xe0)===0xc0){if(_0x4bca97+0x1===_0x21059d||(_0x19d700[_0x4bca97+0x1]&0xc0)!==0x80||(_0x19d700[_0x4bca97]&0xfe)===0xc0)return!0x1;_0x4bca97+=0x2;}else{if((_0x19d700[_0x4bca97]&0xf0)===0xe0){if(_0x4bca97+0x2>=_0x21059d||(_0x19d700[_0x4bca97+0x1]&0xc0)!==0x80||(_0x19d700[_0x4bca97+0x2]&0xc0)!==0x80||_0x19d700[_0x4bca97]===0xe0&&(_0x19d700[_0x4bca97+0x1]&0xe0)===0x80||_0x19d700[_0x4bca97]===0xed&&(_0x19d700[_0x4bca97+0x1]&0xe0)===0xa0)return!0x1;_0x4bca97+=0x3;}else{if((_0x19d700[_0x4bca97]&0xf8)===0xf0){if(_0x4bca97+0x3>=_0x21059d||(_0x19d700[_0x4bca97+0x1]&0xc0)!==0x80||(_0x19d700[_0x4bca97+0x2]&0xc0)!==0x80||(_0x19d700[_0x4bca97+0x3]&0xc0)!==0x80||_0x19d700[_0x4bca97]===0xf0&&(_0x19d700[_0x4bca97+0x1]&0xf0)===0x80||_0x19d700[_0x4bca97]===0xf4&&_0x19d700[_0x4bca97+0x1]>0x8f||_0x19d700[_0x4bca97]>0xf4)return!0x1;_0x4bca97+=0x4;}else return!0x1;}}}return!0x0;}function _0x90eb17(_0x214d9e){const _0x4a6bab=_0x4c429a;return _0x33b7d1&&typeof _0x214d9e==_0x4a6bab(0x1bf)&&typeof _0x214d9e[_0x4a6bab(0x198)]==_0x4a6bab(0x25a)&&typeof _0x214d9e[_0x4a6bab(0x1be)]==_0x4a6bab(0x2fc)&&typeof _0x214d9e[_0x4a6bab(0x206)]==_0x4a6bab(0x25a)&&(_0x214d9e[Symbol[_0x4a6bab(0x1bd)]]===_0x4a6bab(0x255)||_0x214d9e[Symbol['toStringTag']]===_0x4a6bab(0x2f6));}if(re[_0x4c429a(0x20c)]={'isBlob':_0x90eb17,'isValidStatusCode':_0x5688ae,'isValidUTF8':_0x192607,'tokenChars':_0x3613b6},_0x795ca0)re[_0x4c429a(0x20c)][_0x4c429a(0x18d)]=function(_0x234e3f){const _0x4a5e19=_0x4c429a;return _0x234e3f[_0x4a5e19(0x303)]<0x18?_0x192607(_0x234e3f):_0x795ca0(_0x234e3f);};else{if(!process[_0x4c429a(0x319)][_0x4c429a(0x294)])try{const _0x3f45ea=Yt;re[_0x4c429a(0x20c)][_0x4c429a(0x18d)]=function(_0x57c44f){const _0x107192=_0x4c429a;return _0x57c44f[_0x107192(0x303)]<0x20?_0x192607(_0x57c44f):_0x3f45ea(_0x57c44f);};}catch{}}return re[_0x4c429a(0x20c)];}var Se,Je;function dt(){const _0x17302c=_0x56ade3;if(Je)return Se;Je=0x1;const {Writable:_0x5d2dd6}=_0x33dc7b,_0x383293=he(),{BINARY_TYPES:_0x32ffae,EMPTY_BUFFER:_0x4a3a7,kStatusCode:_0x6ec647,kWebSocket:_0x2f7f3c}=V(),{concat:_0x3b20ca,toArrayBuffer:_0x26e27d,unmask:_0x506d53}=ce(),{isValidStatusCode:_0x5cddcb,isValidUTF8:_0x239293}=ne(),_0x276d19=Buffer[Symbol['species']],_0x1ea32c=0x0,_0x5d6934=0x1,_0x5a7521=0x2,_0x4de1cc=0x3,_0x5c5779=0x4,_0x2b6a65=0x5,_0xe0e11f=0x6;class _0x50fefb extends _0x5d2dd6{constructor(_0x40a7fe={}){const _0x1a687b=_0x2f18;super(),this[_0x1a687b(0x29d)]=_0x40a7fe[_0x1a687b(0x2c1)]!==void 0x0?_0x40a7fe[_0x1a687b(0x2c1)]:!0x0,this[_0x1a687b(0x1b1)]=_0x40a7fe[_0x1a687b(0x224)]||_0x32ffae[0x0],this[_0x1a687b(0x2f7)]=_0x40a7fe['extensions']||{},this[_0x1a687b(0x2f2)]=!!_0x40a7fe[_0x1a687b(0x2a9)],this[_0x1a687b(0x31d)]=_0x40a7fe[_0x1a687b(0x240)]|0x0,this[_0x1a687b(0x251)]=!!_0x40a7fe[_0x1a687b(0x2c7)],this[_0x2f7f3c]=void 0x0,this[_0x1a687b(0x312)]=0x0,this[_0x1a687b(0x1a8)]=[],this[_0x1a687b(0x222)]=!0x1,this[_0x1a687b(0x26c)]=0x0,this[_0x1a687b(0x2f0)]=void 0x0,this['_fragmented']=0x0,this[_0x1a687b(0x1eb)]=!0x1,this['_fin']=!0x1,this['_opcode']=0x0,this[_0x1a687b(0x243)]=0x0,this[_0x1a687b(0x268)]=0x0,this['_fragments']=[],this[_0x1a687b(0x301)]=!0x1,this['_loop']=!0x1,this['_state']=_0x1ea32c;}[_0x17302c(0x1ae)](_0x56db89,_0x3b9acc,_0x3efdcf){const _0x400a65=_0x17302c;if(this[_0x400a65(0x278)]===0x8&&this[_0x400a65(0x1cd)]==_0x1ea32c)return _0x3efdcf();this[_0x400a65(0x312)]+=_0x56db89[_0x400a65(0x303)],this[_0x400a65(0x1a8)]['push'](_0x56db89),this[_0x400a65(0x2dc)](_0x3efdcf);}['consume'](_0x2331b4){const _0x29dd28=_0x17302c;if(this[_0x29dd28(0x312)]-=_0x2331b4,_0x2331b4===this[_0x29dd28(0x1a8)][0x0][_0x29dd28(0x303)])return this[_0x29dd28(0x1a8)][_0x29dd28(0x21e)]();if(_0x2331b4<this[_0x29dd28(0x1a8)][0x0][_0x29dd28(0x303)]){const _0x27c78d=this[_0x29dd28(0x1a8)][0x0];return this[_0x29dd28(0x1a8)][0x0]=new _0x276d19(_0x27c78d[_0x29dd28(0x231)],_0x27c78d[_0x29dd28(0x314)]+_0x2331b4,_0x27c78d[_0x29dd28(0x303)]-_0x2331b4),new _0x276d19(_0x27c78d[_0x29dd28(0x231)],_0x27c78d[_0x29dd28(0x314)],_0x2331b4);}const _0x1b5247=Buffer[_0x29dd28(0x321)](_0x2331b4);do{const _0x2118ca=this[_0x29dd28(0x1a8)][0x0],_0x18fd92=_0x1b5247[_0x29dd28(0x303)]-_0x2331b4;_0x2331b4>=_0x2118ca[_0x29dd28(0x303)]?_0x1b5247[_0x29dd28(0x318)](this['_buffers'][_0x29dd28(0x21e)](),_0x18fd92):(_0x1b5247[_0x29dd28(0x318)](new Uint8Array(_0x2118ca[_0x29dd28(0x231)],_0x2118ca['byteOffset'],_0x2331b4),_0x18fd92),this[_0x29dd28(0x1a8)][0x0]=new _0x276d19(_0x2118ca[_0x29dd28(0x231)],_0x2118ca[_0x29dd28(0x314)]+_0x2331b4,_0x2118ca['length']-_0x2331b4)),_0x2331b4-=_0x2118ca[_0x29dd28(0x303)];}while(_0x2331b4>0x0);return _0x1b5247;}[_0x17302c(0x2dc)](_0x52a63c){const _0x1716ca=_0x17302c;this['_loop']=!0x0;do switch(this[_0x1716ca(0x1cd)]){case _0x1ea32c:this[_0x1716ca(0x1b9)](_0x52a63c);break;case _0x5d6934:this[_0x1716ca(0x2ae)](_0x52a63c);break;case _0x5a7521:this['getPayloadLength64'](_0x52a63c);break;case _0x4de1cc:this[_0x1716ca(0x1f2)]();break;case _0x5c5779:this[_0x1716ca(0x265)](_0x52a63c);break;case _0x2b6a65:case _0xe0e11f:this[_0x1716ca(0x2ac)]=!0x1;return;}while(this[_0x1716ca(0x2ac)]);this[_0x1716ca(0x301)]||_0x52a63c();}[_0x17302c(0x1b9)](_0x1100c7){const _0x390623=_0x17302c;if(this['_bufferedBytes']<0x2){this['_loop']=!0x1;return;}const _0x58c65a=this[_0x390623(0x1a6)](0x2);if((_0x58c65a[0x0]&0x30)!==0x0){const _0x5c3eed=this[_0x390623(0x26d)](RangeError,'RSV2\x20and\x20RSV3\x20must\x20be\x20clear',!0x0,0x3ea,_0x390623(0x313));_0x1100c7(_0x5c3eed);return;}const _0x7dbbdf=(_0x58c65a[0x0]&0x40)===0x40;if(_0x7dbbdf&&!this[_0x390623(0x2f7)][_0x383293['extensionName']]){const _0x28c220=this[_0x390623(0x26d)](RangeError,_0x390623(0x275),!0x0,0x3ea,_0x390623(0x235));_0x1100c7(_0x28c220);return;}if(this[_0x390623(0x1ef)]=(_0x58c65a[0x0]&0x80)===0x80,this[_0x390623(0x278)]=_0x58c65a[0x0]&0xf,this[_0x390623(0x26c)]=_0x58c65a[0x1]&0x7f,this['_opcode']===0x0){if(_0x7dbbdf){const _0x4f71b5=this[_0x390623(0x26d)](RangeError,_0x390623(0x275),!0x0,0x3ea,_0x390623(0x235));_0x1100c7(_0x4f71b5);return;}if(!this[_0x390623(0x1a3)]){const _0x495c29=this['createError'](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x390623(0x280));_0x1100c7(_0x495c29);return;}this['_opcode']=this[_0x390623(0x1a3)];}else{if(this['_opcode']===0x1||this[_0x390623(0x278)]===0x2){if(this['_fragmented']){const _0x228f9e=this[_0x390623(0x26d)](RangeError,_0x390623(0x1b2)+this[_0x390623(0x278)],!0x0,0x3ea,_0x390623(0x280));_0x1100c7(_0x228f9e);return;}this[_0x390623(0x222)]=_0x7dbbdf;}else{if(this[_0x390623(0x278)]>0x7&&this[_0x390623(0x278)]<0xb){if(!this[_0x390623(0x1ef)]){const _0x5df637=this[_0x390623(0x26d)](RangeError,_0x390623(0x1e7),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x1100c7(_0x5df637);return;}if(_0x7dbbdf){const _0x22fd09=this[_0x390623(0x26d)](RangeError,_0x390623(0x275),!0x0,0x3ea,_0x390623(0x235));_0x1100c7(_0x22fd09);return;}if(this['_payloadLength']>0x7d||this[_0x390623(0x278)]===0x8&&this[_0x390623(0x26c)]===0x1){const _0x3e0f93=this[_0x390623(0x26d)](RangeError,'invalid\x20payload\x20length\x20'+this['_payloadLength'],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x1100c7(_0x3e0f93);return;}}else{const _0x22fbf3=this[_0x390623(0x26d)](RangeError,_0x390623(0x1b2)+this[_0x390623(0x278)],!0x0,0x3ea,_0x390623(0x280));_0x1100c7(_0x22fbf3);return;}}}if(!this['_fin']&&!this['_fragmented']&&(this['_fragmented']=this[_0x390623(0x278)]),this['_masked']=(_0x58c65a[0x1]&0x80)===0x80,this[_0x390623(0x2f2)]){if(!this[_0x390623(0x1eb)]){const _0x3e30d6=this[_0x390623(0x26d)](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x390623(0x28f));_0x1100c7(_0x3e30d6);return;}}else{if(this[_0x390623(0x1eb)]){const _0x4aa95c=this['createError'](RangeError,_0x390623(0x2a4),!0x0,0x3ea,_0x390623(0x30b));_0x1100c7(_0x4aa95c);return;}}this['_payloadLength']===0x7e?this[_0x390623(0x1cd)]=_0x5d6934:this[_0x390623(0x26c)]===0x7f?this['_state']=_0x5a7521:this[_0x390623(0x2b2)](_0x1100c7);}[_0x17302c(0x2ae)](_0x431cbe){const _0x7bb34d=_0x17302c;if(this['_bufferedBytes']<0x2){this[_0x7bb34d(0x2ac)]=!0x1;return;}this['_payloadLength']=this[_0x7bb34d(0x1a6)](0x2)['readUInt16BE'](0x0),this[_0x7bb34d(0x2b2)](_0x431cbe);}['getPayloadLength64'](_0x50f356){const _0x36fd7b=_0x17302c;if(this[_0x36fd7b(0x312)]<0x8){this[_0x36fd7b(0x2ac)]=!0x1;return;}const _0x11b25d=this[_0x36fd7b(0x1a6)](0x8),_0x5cd8fa=_0x11b25d['readUInt32BE'](0x0);if(_0x5cd8fa>Math[_0x36fd7b(0x284)](0x2,0x15)-0x1){const _0x454898=this[_0x36fd7b(0x26d)](RangeError,_0x36fd7b(0x263),!0x1,0x3f1,_0x36fd7b(0x221));_0x50f356(_0x454898);return;}this[_0x36fd7b(0x26c)]=_0x5cd8fa*Math[_0x36fd7b(0x284)](0x2,0x20)+_0x11b25d[_0x36fd7b(0x210)](0x4),this[_0x36fd7b(0x2b2)](_0x50f356);}[_0x17302c(0x2b2)](_0x18fa57){const _0x4e5181=_0x17302c;if(this[_0x4e5181(0x26c)]&&this['_opcode']<0x8&&(this[_0x4e5181(0x243)]+=this[_0x4e5181(0x26c)],this[_0x4e5181(0x243)]>this[_0x4e5181(0x31d)]&&this['_maxPayload']>0x0)){const _0x3ffa81=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x4e5181(0x18b));_0x18fa57(_0x3ffa81);return;}this['_masked']?this[_0x4e5181(0x1cd)]=_0x4de1cc:this[_0x4e5181(0x1cd)]=_0x5c5779;}['getMask'](){const _0x42f5c9=_0x17302c;if(this[_0x42f5c9(0x312)]<0x4){this['_loop']=!0x1;return;}this['_mask']=this['consume'](0x4),this['_state']=_0x5c5779;}[_0x17302c(0x265)](_0x5bbbde){const _0x418152=_0x17302c;let _0x5ef35a=_0x4a3a7;if(this[_0x418152(0x26c)]){if(this['_bufferedBytes']<this[_0x418152(0x26c)]){this[_0x418152(0x2ac)]=!0x1;return;}_0x5ef35a=this['consume'](this[_0x418152(0x26c)]),this[_0x418152(0x1eb)]&&(this[_0x418152(0x2f0)][0x0]|this['_mask'][0x1]|this['_mask'][0x2]|this['_mask'][0x3])!==0x0&&_0x506d53(_0x5ef35a,this[_0x418152(0x2f0)]);}if(this[_0x418152(0x278)]>0x7){this[_0x418152(0x1c4)](_0x5ef35a,_0x5bbbde);return;}if(this['_compressed']){this[_0x418152(0x1cd)]=_0x2b6a65,this[_0x418152(0x1ed)](_0x5ef35a,_0x5bbbde);return;}_0x5ef35a[_0x418152(0x303)]&&(this[_0x418152(0x268)]=this['_totalPayloadLength'],this[_0x418152(0x1e8)][_0x418152(0x230)](_0x5ef35a)),this[_0x418152(0x258)](_0x5bbbde);}[_0x17302c(0x1ed)](_0x548a6b,_0x414d70){const _0x42caa7=_0x17302c;this['_extensions'][_0x383293[_0x42caa7(0x1cb)]][_0x42caa7(0x1ed)](_0x548a6b,this[_0x42caa7(0x1ef)],(_0x5eea32,_0x297f4b)=>{const _0x22479c=_0x42caa7;if(_0x5eea32)return _0x414d70(_0x5eea32);if(_0x297f4b['length']){if(this[_0x22479c(0x268)]+=_0x297f4b[_0x22479c(0x303)],this[_0x22479c(0x268)]>this[_0x22479c(0x31d)]&&this['_maxPayload']>0x0){const _0x4ad2ab=this[_0x22479c(0x26d)](RangeError,_0x22479c(0x239),!0x1,0x3f1,_0x22479c(0x18b));_0x414d70(_0x4ad2ab);return;}this[_0x22479c(0x1e8)][_0x22479c(0x230)](_0x297f4b);}this[_0x22479c(0x258)](_0x414d70),this[_0x22479c(0x1cd)]===_0x1ea32c&&this[_0x22479c(0x2dc)](_0x414d70);});}[_0x17302c(0x258)](_0x34f8a8){const _0x558c3a=_0x17302c;if(!this[_0x558c3a(0x1ef)]){this[_0x558c3a(0x1cd)]=_0x1ea32c;return;}const _0x723e75=this[_0x558c3a(0x268)],_0x5e2d2a=this['_fragments'];if(this[_0x558c3a(0x243)]=0x0,this[_0x558c3a(0x268)]=0x0,this[_0x558c3a(0x1a3)]=0x0,this[_0x558c3a(0x1e8)]=[],this[_0x558c3a(0x278)]===0x2){let _0x45eb2d;this[_0x558c3a(0x1b1)]===_0x558c3a(0x219)?_0x45eb2d=_0x3b20ca(_0x5e2d2a,_0x723e75):this[_0x558c3a(0x1b1)]===_0x558c3a(0x2e6)?_0x45eb2d=_0x26e27d(_0x3b20ca(_0x5e2d2a,_0x723e75)):this[_0x558c3a(0x1b1)]==='blob'?_0x45eb2d=new Blob(_0x5e2d2a):_0x45eb2d=_0x5e2d2a,this['_allowSynchronousEvents']?(this[_0x558c3a(0x2bc)](_0x558c3a(0x2d6),_0x45eb2d,!0x0),this[_0x558c3a(0x1cd)]=_0x1ea32c):(this['_state']=_0xe0e11f,setImmediate(()=>{const _0x190195=_0x558c3a;this['emit'](_0x190195(0x2d6),_0x45eb2d,!0x0),this[_0x190195(0x1cd)]=_0x1ea32c,this['startLoop'](_0x34f8a8);}));}else{const _0x1c1233=_0x3b20ca(_0x5e2d2a,_0x723e75);if(!this[_0x558c3a(0x251)]&&!_0x239293(_0x1c1233)){const _0x40ecc1=this[_0x558c3a(0x26d)](Error,_0x558c3a(0x1d1),!0x0,0x3ef,_0x558c3a(0x2c9));_0x34f8a8(_0x40ecc1);return;}this['_state']===_0x2b6a65||this['_allowSynchronousEvents']?(this[_0x558c3a(0x2bc)](_0x558c3a(0x2d6),_0x1c1233,!0x1),this[_0x558c3a(0x1cd)]=_0x1ea32c):(this[_0x558c3a(0x1cd)]=_0xe0e11f,setImmediate(()=>{const _0x14b8d0=_0x558c3a;this[_0x14b8d0(0x2bc)]('message',_0x1c1233,!0x1),this[_0x14b8d0(0x1cd)]=_0x1ea32c,this[_0x14b8d0(0x2dc)](_0x34f8a8);}));}}[_0x17302c(0x1c4)](_0xe171a3,_0x559876){const _0x4da71e=_0x17302c;if(this[_0x4da71e(0x278)]===0x8){if(_0xe171a3[_0x4da71e(0x303)]===0x0)this['_loop']=!0x1,this[_0x4da71e(0x2bc)](_0x4da71e(0x1ff),0x3ed,_0x4a3a7),this[_0x4da71e(0x2f8)]();else{const _0xf6d7ef=_0xe171a3['readUInt16BE'](0x0);if(!_0x5cddcb(_0xf6d7ef)){const _0x2b7841=this['createError'](RangeError,_0x4da71e(0x26a)+_0xf6d7ef,!0x0,0x3ea,_0x4da71e(0x24e));_0x559876(_0x2b7841);return;}const _0x59b797=new _0x276d19(_0xe171a3[_0x4da71e(0x231)],_0xe171a3['byteOffset']+0x2,_0xe171a3[_0x4da71e(0x303)]-0x2);if(!this[_0x4da71e(0x251)]&&!_0x239293(_0x59b797)){const _0x383bf4=this[_0x4da71e(0x26d)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x559876(_0x383bf4);return;}this[_0x4da71e(0x2ac)]=!0x1,this['emit'](_0x4da71e(0x1ff),_0xf6d7ef,_0x59b797),this['end']();}this[_0x4da71e(0x1cd)]=_0x1ea32c;return;}this[_0x4da71e(0x29d)]?(this[_0x4da71e(0x2bc)](this[_0x4da71e(0x278)]===0x9?_0x4da71e(0x233):_0x4da71e(0x211),_0xe171a3),this['_state']=_0x1ea32c):(this[_0x4da71e(0x1cd)]=_0xe0e11f,setImmediate(()=>{const _0x3f0346=_0x4da71e;this[_0x3f0346(0x2bc)](this['_opcode']===0x9?_0x3f0346(0x233):_0x3f0346(0x211),_0xe171a3),this[_0x3f0346(0x1cd)]=_0x1ea32c,this[_0x3f0346(0x2dc)](_0x559876);}));}[_0x17302c(0x26d)](_0x11eb34,_0x2dc23d,_0x4534de,_0x9d02e9,_0x474cbd){const _0x419482=_0x17302c;this[_0x419482(0x2ac)]=!0x1,this[_0x419482(0x301)]=!0x0;const _0x330e41=new _0x11eb34(_0x4534de?'Invalid\x20WebSocket\x20frame:\x20'+_0x2dc23d:_0x2dc23d);return Error[_0x419482(0x2b7)](_0x330e41,this[_0x419482(0x26d)]),_0x330e41[_0x419482(0x1dd)]=_0x474cbd,_0x330e41[_0x6ec647]=_0x9d02e9,_0x330e41;}}return Se=_0x50fefb,Se;}var Ee,et;function _t(){const _0x5032b9=_0x56ade3;if(et)return Ee;et=0x1;const {Duplex:_0x589f14}=_0x33dc7b,{randomFillSync:_0x459aba}=_0x3fe3c4,_0x546940=he(),{EMPTY_BUFFER:_0x48f206,kWebSocket:_0x22de2e,NOOP:_0xb97118}=V(),{isBlob:_0x1fc357,isValidStatusCode:_0x538aa0}=ne(),{mask:_0x50c49e,toBuffer:_0x3f9439}=ce(),_0x8265bd=Symbol('kByteLength'),_0x56ccbc=Buffer['alloc'](0x4),_0x13a957=0x8*0x400;let _0x5cd84b,_0x71e3ff=_0x13a957;const _0x736499=0x0,_0x30d656=0x1,_0x24ea29=0x2;class _0x18c47b{constructor(_0x54c9a5,_0x21b69d,_0x3249cc){const _0x421daa=_0x2f18;this[_0x421daa(0x2f7)]=_0x21b69d||{},_0x3249cc&&(this['_generateMask']=_0x3249cc,this[_0x421daa(0x19b)]=Buffer[_0x421daa(0x2b9)](0x4)),this[_0x421daa(0x330)]=_0x54c9a5,this[_0x421daa(0x186)]=!0x0,this[_0x421daa(0x1aa)]=!0x1,this['_bufferedBytes']=0x0,this[_0x421daa(0x1a0)]=[],this['_state']=_0x736499,this[_0x421daa(0x187)]=_0xb97118,this[_0x22de2e]=void 0x0;}static['frame'](_0x235143,_0x140e5c){const _0x33925e=_0x2f18;let _0x2ca6a6,_0x5e02a2=!0x1,_0x379692=0x2,_0x4a9665=!0x1;_0x140e5c[_0x33925e(0x2cc)]&&(_0x2ca6a6=_0x140e5c[_0x33925e(0x2e7)]||_0x56ccbc,_0x140e5c[_0x33925e(0x1e3)]?_0x140e5c['generateMask'](_0x2ca6a6):(_0x71e3ff===_0x13a957&&(_0x5cd84b===void 0x0&&(_0x5cd84b=Buffer[_0x33925e(0x2b9)](_0x13a957)),_0x459aba(_0x5cd84b,0x0,_0x13a957),_0x71e3ff=0x0),_0x2ca6a6[0x0]=_0x5cd84b[_0x71e3ff++],_0x2ca6a6[0x1]=_0x5cd84b[_0x71e3ff++],_0x2ca6a6[0x2]=_0x5cd84b[_0x71e3ff++],_0x2ca6a6[0x3]=_0x5cd84b[_0x71e3ff++]),_0x4a9665=(_0x2ca6a6[0x0]|_0x2ca6a6[0x1]|_0x2ca6a6[0x2]|_0x2ca6a6[0x3])===0x0,_0x379692=0x6);let _0x359dea;typeof _0x235143==_0x33925e(0x2fc)?(!_0x140e5c['mask']||_0x4a9665)&&_0x140e5c[_0x8265bd]!==void 0x0?_0x359dea=_0x140e5c[_0x8265bd]:(_0x235143=Buffer[_0x33925e(0x31e)](_0x235143),_0x359dea=_0x235143['length']):(_0x359dea=_0x235143[_0x33925e(0x303)],_0x5e02a2=_0x140e5c[_0x33925e(0x2cc)]&&_0x140e5c['readOnly']&&!_0x4a9665);let _0x29fc63=_0x359dea;_0x359dea>=0x10000?(_0x379692+=0x8,_0x29fc63=0x7f):_0x359dea>0x7d&&(_0x379692+=0x2,_0x29fc63=0x7e);const _0x1b877f=Buffer[_0x33925e(0x321)](_0x5e02a2?_0x359dea+_0x379692:_0x379692);return _0x1b877f[0x0]=_0x140e5c['fin']?_0x140e5c['opcode']|0x80:_0x140e5c[_0x33925e(0x326)],_0x140e5c[_0x33925e(0x325)]&&(_0x1b877f[0x0]|=0x40),_0x1b877f[0x1]=_0x29fc63,_0x29fc63===0x7e?_0x1b877f[_0x33925e(0x2a2)](_0x359dea,0x2):_0x29fc63===0x7f&&(_0x1b877f[0x2]=_0x1b877f[0x3]=0x0,_0x1b877f['writeUIntBE'](_0x359dea,0x4,0x6)),_0x140e5c['mask']?(_0x1b877f[0x1]|=0x80,_0x1b877f[_0x379692-0x4]=_0x2ca6a6[0x0],_0x1b877f[_0x379692-0x3]=_0x2ca6a6[0x1],_0x1b877f[_0x379692-0x2]=_0x2ca6a6[0x2],_0x1b877f[_0x379692-0x1]=_0x2ca6a6[0x3],_0x4a9665?[_0x1b877f,_0x235143]:_0x5e02a2?(_0x50c49e(_0x235143,_0x2ca6a6,_0x1b877f,_0x379692,_0x359dea),[_0x1b877f]):(_0x50c49e(_0x235143,_0x2ca6a6,_0x235143,0x0,_0x359dea),[_0x1b877f,_0x235143])):[_0x1b877f,_0x235143];}[_0x5032b9(0x1ba)](_0x41bb96,_0xc61bb9,_0x24160c,_0x5a508c){const _0x38aea4=_0x5032b9;let _0x408d52;if(_0x41bb96===void 0x0)_0x408d52=_0x48f206;else{if(typeof _0x41bb96!='number'||!_0x538aa0(_0x41bb96))throw new TypeError(_0x38aea4(0x22e));if(_0xc61bb9===void 0x0||!_0xc61bb9[_0x38aea4(0x303)])_0x408d52=Buffer['allocUnsafe'](0x2),_0x408d52[_0x38aea4(0x2a2)](_0x41bb96,0x0);else{const _0x170f75=Buffer[_0x38aea4(0x308)](_0xc61bb9);if(_0x170f75>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x408d52=Buffer[_0x38aea4(0x321)](0x2+_0x170f75),_0x408d52[_0x38aea4(0x2a2)](_0x41bb96,0x0),typeof _0xc61bb9==_0x38aea4(0x2fc)?_0x408d52[_0x38aea4(0x2dd)](_0xc61bb9,0x2):_0x408d52[_0x38aea4(0x318)](_0xc61bb9,0x2);}}const _0x34f14a={[_0x8265bd]:_0x408d52[_0x38aea4(0x303)],'fin':!0x0,'generateMask':this[_0x38aea4(0x266)],'mask':_0x24160c,'maskBuffer':this[_0x38aea4(0x19b)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x736499?this[_0x38aea4(0x183)]([this[_0x38aea4(0x193)],_0x408d52,!0x1,_0x34f14a,_0x5a508c]):this[_0x38aea4(0x21b)](_0x18c47b[_0x38aea4(0x1de)](_0x408d52,_0x34f14a),_0x5a508c);}['ping'](_0x572e9a,_0x1fbbee,_0x54509b){const _0x25b567=_0x5032b9;let _0x4ed8c7,_0x35bd58;if(typeof _0x572e9a==_0x25b567(0x2fc)?(_0x4ed8c7=Buffer['byteLength'](_0x572e9a),_0x35bd58=!0x1):_0x1fc357(_0x572e9a)?(_0x4ed8c7=_0x572e9a[_0x25b567(0x2ee)],_0x35bd58=!0x1):(_0x572e9a=_0x3f9439(_0x572e9a),_0x4ed8c7=_0x572e9a[_0x25b567(0x303)],_0x35bd58=_0x3f9439[_0x25b567(0x2e5)]),_0x4ed8c7>0x7d)throw new RangeError(_0x25b567(0x327));const _0x15a0c8={[_0x8265bd]:_0x4ed8c7,'fin':!0x0,'generateMask':this[_0x25b567(0x266)],'mask':_0x1fbbee,'maskBuffer':this[_0x25b567(0x19b)],'opcode':0x9,'readOnly':_0x35bd58,'rsv1':!0x1};_0x1fc357(_0x572e9a)?this[_0x25b567(0x1cd)]!==_0x736499?this[_0x25b567(0x183)]([this['getBlobData'],_0x572e9a,!0x1,_0x15a0c8,_0x54509b]):this['getBlobData'](_0x572e9a,!0x1,_0x15a0c8,_0x54509b):this['_state']!==_0x736499?this[_0x25b567(0x183)]([this[_0x25b567(0x193)],_0x572e9a,!0x1,_0x15a0c8,_0x54509b]):this['sendFrame'](_0x18c47b[_0x25b567(0x1de)](_0x572e9a,_0x15a0c8),_0x54509b);}[_0x5032b9(0x211)](_0x16f2d9,_0x2b4a1d,_0x3c4f86){const _0x2b27b5=_0x5032b9;let _0x2c470f,_0x5e9d43;if(typeof _0x16f2d9==_0x2b27b5(0x2fc)?(_0x2c470f=Buffer['byteLength'](_0x16f2d9),_0x5e9d43=!0x1):_0x1fc357(_0x16f2d9)?(_0x2c470f=_0x16f2d9[_0x2b27b5(0x2ee)],_0x5e9d43=!0x1):(_0x16f2d9=_0x3f9439(_0x16f2d9),_0x2c470f=_0x16f2d9['length'],_0x5e9d43=_0x3f9439[_0x2b27b5(0x2e5)]),_0x2c470f>0x7d)throw new RangeError(_0x2b27b5(0x327));const _0x1f101e={[_0x8265bd]:_0x2c470f,'fin':!0x0,'generateMask':this[_0x2b27b5(0x266)],'mask':_0x2b4a1d,'maskBuffer':this[_0x2b27b5(0x19b)],'opcode':0xa,'readOnly':_0x5e9d43,'rsv1':!0x1};_0x1fc357(_0x16f2d9)?this[_0x2b27b5(0x1cd)]!==_0x736499?this['enqueue']([this[_0x2b27b5(0x293)],_0x16f2d9,!0x1,_0x1f101e,_0x3c4f86]):this[_0x2b27b5(0x293)](_0x16f2d9,!0x1,_0x1f101e,_0x3c4f86):this[_0x2b27b5(0x1cd)]!==_0x736499?this['enqueue']([this['dispatch'],_0x16f2d9,!0x1,_0x1f101e,_0x3c4f86]):this[_0x2b27b5(0x21b)](_0x18c47b[_0x2b27b5(0x1de)](_0x16f2d9,_0x1f101e),_0x3c4f86);}['send'](_0x5a4e33,_0x2c6147,_0x461891){const _0x6cad73=_0x5032b9,_0x32c095=this[_0x6cad73(0x2f7)][_0x546940[_0x6cad73(0x1cb)]];let _0x4014b8=_0x2c6147[_0x6cad73(0x298)]?0x2:0x1,_0x132084=_0x2c6147['compress'],_0x1d7909,_0x2e1135;typeof _0x5a4e33==_0x6cad73(0x2fc)?(_0x1d7909=Buffer['byteLength'](_0x5a4e33),_0x2e1135=!0x1):_0x1fc357(_0x5a4e33)?(_0x1d7909=_0x5a4e33['size'],_0x2e1135=!0x1):(_0x5a4e33=_0x3f9439(_0x5a4e33),_0x1d7909=_0x5a4e33['length'],_0x2e1135=_0x3f9439[_0x6cad73(0x2e5)]),this['_firstFragment']?(this[_0x6cad73(0x186)]=!0x1,_0x132084&&_0x32c095&&_0x32c095[_0x6cad73(0x300)][_0x32c095['_isServer']?_0x6cad73(0x257):'client_no_context_takeover']&&(_0x132084=_0x1d7909>=_0x32c095['_threshold']),this[_0x6cad73(0x1aa)]=_0x132084):(_0x132084=!0x1,_0x4014b8=0x0),_0x2c6147[_0x6cad73(0x2f9)]&&(this[_0x6cad73(0x186)]=!0x0);const _0x65ebb5={[_0x8265bd]:_0x1d7909,'fin':_0x2c6147[_0x6cad73(0x2f9)],'generateMask':this['_generateMask'],'mask':_0x2c6147[_0x6cad73(0x2cc)],'maskBuffer':this[_0x6cad73(0x19b)],'opcode':_0x4014b8,'readOnly':_0x2e1135,'rsv1':_0x132084};_0x1fc357(_0x5a4e33)?this['_state']!==_0x736499?this['enqueue']([this[_0x6cad73(0x293)],_0x5a4e33,this['_compress'],_0x65ebb5,_0x461891]):this[_0x6cad73(0x293)](_0x5a4e33,this[_0x6cad73(0x1aa)],_0x65ebb5,_0x461891):this[_0x6cad73(0x1cd)]!==_0x736499?this['enqueue']([this['dispatch'],_0x5a4e33,this['_compress'],_0x65ebb5,_0x461891]):this[_0x6cad73(0x193)](_0x5a4e33,this[_0x6cad73(0x1aa)],_0x65ebb5,_0x461891);}[_0x5032b9(0x293)](_0x1bc68a,_0x3e0306,_0x14b3c4,_0x227e8a){const _0x3c8540=_0x5032b9;this[_0x3c8540(0x312)]+=_0x14b3c4[_0x8265bd],this['_state']=_0x24ea29,_0x1bc68a['arrayBuffer']()[_0x3c8540(0x1f1)](_0x92eedc=>{const _0x919abd=_0x3c8540;if(this[_0x919abd(0x330)][_0x919abd(0x1e5)]){const _0x5c3f60=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process['nextTick'](_0x5464cd,this,_0x5c3f60,_0x227e8a);return;}this[_0x919abd(0x312)]-=_0x14b3c4[_0x8265bd];const _0x3f2c77=_0x3f9439(_0x92eedc);_0x3e0306?this[_0x919abd(0x193)](_0x3f2c77,_0x3e0306,_0x14b3c4,_0x227e8a):(this[_0x919abd(0x1cd)]=_0x736499,this[_0x919abd(0x21b)](_0x18c47b['frame'](_0x3f2c77,_0x14b3c4),_0x227e8a),this[_0x919abd(0x184)]());})[_0x3c8540(0x22d)](_0x1fb917=>{process['nextTick'](_0x4ac33e,this,_0x1fb917,_0x227e8a);});}[_0x5032b9(0x193)](_0x15118f,_0x3f5b4a,_0xb6fe,_0x166ff6){const _0x59bf69=_0x5032b9;if(!_0x3f5b4a){this[_0x59bf69(0x21b)](_0x18c47b[_0x59bf69(0x1de)](_0x15118f,_0xb6fe),_0x166ff6);return;}const _0x3c27bd=this['_extensions'][_0x546940[_0x59bf69(0x1cb)]];this[_0x59bf69(0x312)]+=_0xb6fe[_0x8265bd],this[_0x59bf69(0x1cd)]=_0x30d656,_0x3c27bd[_0x59bf69(0x2d5)](_0x15118f,_0xb6fe[_0x59bf69(0x2f9)],(_0x474ba7,_0x559826)=>{const _0x154b8c=_0x59bf69;if(this[_0x154b8c(0x330)][_0x154b8c(0x1e5)]){const _0x17af3c=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x5464cd(this,_0x17af3c,_0x166ff6);return;}this['_bufferedBytes']-=_0xb6fe[_0x8265bd],this[_0x154b8c(0x1cd)]=_0x736499,_0xb6fe[_0x154b8c(0x2e5)]=!0x1,this[_0x154b8c(0x21b)](_0x18c47b[_0x154b8c(0x1de)](_0x559826,_0xb6fe),_0x166ff6),this[_0x154b8c(0x184)]();});}[_0x5032b9(0x184)](){const _0x28cd71=_0x5032b9;for(;this[_0x28cd71(0x1cd)]===_0x736499&&this[_0x28cd71(0x1a0)]['length'];){const _0x16acd5=this[_0x28cd71(0x1a0)][_0x28cd71(0x21e)]();this[_0x28cd71(0x312)]-=_0x16acd5[0x3][_0x8265bd],Reflect['apply'](_0x16acd5[0x0],this,_0x16acd5[_0x28cd71(0x2df)](0x1));}}[_0x5032b9(0x183)](_0x5e6297){const _0x2592a3=_0x5032b9;this[_0x2592a3(0x312)]+=_0x5e6297[0x3][_0x8265bd],this[_0x2592a3(0x1a0)][_0x2592a3(0x230)](_0x5e6297);}['sendFrame'](_0x23dc57,_0x47a220){const _0x3835bc=_0x5032b9;_0x23dc57[_0x3835bc(0x303)]===0x2?(this[_0x3835bc(0x330)][_0x3835bc(0x26b)](),this[_0x3835bc(0x330)]['write'](_0x23dc57[0x0]),this[_0x3835bc(0x330)][_0x3835bc(0x2dd)](_0x23dc57[0x1],_0x47a220),this[_0x3835bc(0x330)]['uncork']()):this[_0x3835bc(0x330)]['write'](_0x23dc57[0x0],_0x47a220);}}Ee=_0x18c47b;function _0x5464cd(_0x25c73c,_0x9eed3d,_0x51162b){const _0x5a59e4=_0x5032b9;typeof _0x51162b=='function'&&_0x51162b(_0x9eed3d);for(let _0x509e33=0x0;_0x509e33<_0x25c73c[_0x5a59e4(0x1a0)]['length'];_0x509e33++){const _0x387c93=_0x25c73c['_queue'][_0x509e33],_0x508c4e=_0x387c93[_0x387c93[_0x5a59e4(0x303)]-0x1];typeof _0x508c4e=='function'&&_0x508c4e(_0x9eed3d);}}function _0x4ac33e(_0x4d0e64,_0x56ee46,_0x5c6c2b){const _0x155340=_0x5032b9;_0x5464cd(_0x4d0e64,_0x56ee46,_0x5c6c2b),_0x4d0e64[_0x155340(0x187)](_0x56ee46);}return Ee;}var xe,tt;function Kt(){const _0x11aa83=_0x56ade3;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0xb02216,kListener:_0xbfee5a}=V(),_0x5d6be3=Symbol('kCode'),_0x621e00=Symbol(_0x11aa83(0x1ce)),_0x2d7fc3=Symbol(_0x11aa83(0x1f5)),_0x327824=Symbol(_0x11aa83(0x1ac)),_0x2c14d7=Symbol(_0x11aa83(0x1b0)),_0x7a4fc9=Symbol(_0x11aa83(0x203)),_0x1337eb=Symbol('kType'),_0x3aeaa5=Symbol(_0x11aa83(0x21a));class _0x1714bc{constructor(_0xdd197d){this[_0x7a4fc9]=null,this[_0x1337eb]=_0xdd197d;}get[_0x11aa83(0x287)](){return this[_0x7a4fc9];}get['type'](){return this[_0x1337eb];}}Object[_0x11aa83(0x234)](_0x1714bc[_0x11aa83(0x1b5)],_0x11aa83(0x287),{'enumerable':!0x0}),Object['defineProperty'](_0x1714bc[_0x11aa83(0x1b5)],_0x11aa83(0x1be),{'enumerable':!0x0});class _0x4d1d4c extends _0x1714bc{constructor(_0x4bbf2c,_0x162dfb={}){const _0x1e7d88=_0x11aa83;super(_0x4bbf2c),this[_0x5d6be3]=_0x162dfb[_0x1e7d88(0x1dd)]===void 0x0?0x0:_0x162dfb[_0x1e7d88(0x1dd)],this[_0x2c14d7]=_0x162dfb[_0x1e7d88(0x289)]===void 0x0?'':_0x162dfb['reason'],this[_0x3aeaa5]=_0x162dfb[_0x1e7d88(0x24d)]===void 0x0?!0x1:_0x162dfb[_0x1e7d88(0x24d)];}get[_0x11aa83(0x1dd)](){return this[_0x5d6be3];}get[_0x11aa83(0x289)](){return this[_0x2c14d7];}get[_0x11aa83(0x24d)](){return this[_0x3aeaa5];}}Object['defineProperty'](_0x4d1d4c[_0x11aa83(0x1b5)],'code',{'enumerable':!0x0}),Object[_0x11aa83(0x234)](_0x4d1d4c[_0x11aa83(0x1b5)],_0x11aa83(0x289),{'enumerable':!0x0}),Object[_0x11aa83(0x234)](_0x4d1d4c['prototype'],_0x11aa83(0x24d),{'enumerable':!0x0});class _0x2afb5a extends _0x1714bc{constructor(_0x9b5654,_0x418cb5={}){const _0xe10ea0=_0x11aa83;super(_0x9b5654),this[_0x2d7fc3]=_0x418cb5[_0xe10ea0(0x1a2)]===void 0x0?null:_0x418cb5[_0xe10ea0(0x1a2)],this[_0x327824]=_0x418cb5['message']===void 0x0?'':_0x418cb5['message'];}get[_0x11aa83(0x1a2)](){return this[_0x2d7fc3];}get['message'](){return this[_0x327824];}}Object['defineProperty'](_0x2afb5a[_0x11aa83(0x1b5)],_0x11aa83(0x1a2),{'enumerable':!0x0}),Object[_0x11aa83(0x234)](_0x2afb5a[_0x11aa83(0x1b5)],'message',{'enumerable':!0x0});class _0x4ca96f extends _0x1714bc{constructor(_0x33e4a0,_0x4ff7cd={}){super(_0x33e4a0),this[_0x621e00]=_0x4ff7cd['data']===void 0x0?null:_0x4ff7cd['data'];}get['data'](){return this[_0x621e00];}}Object[_0x11aa83(0x234)](_0x4ca96f[_0x11aa83(0x1b5)],_0x11aa83(0x2fb),{'enumerable':!0x0}),xe={'CloseEvent':_0x4d1d4c,'ErrorEvent':_0x2afb5a,'Event':_0x1714bc,'EventTarget':{'addEventListener'(_0x45f9fa,_0x1f77ee,_0x254953={}){const _0x185620=_0x11aa83;for(const _0x77f8e2 of this[_0x185620(0x209)](_0x45f9fa))if(!_0x254953[_0xb02216]&&_0x77f8e2[_0xbfee5a]===_0x1f77ee&&!_0x77f8e2[_0xb02216])return;let _0x16ceff;if(_0x45f9fa==='message')_0x16ceff=function(_0x106de5,_0x14b726){const _0x789192=_0x185620,_0x40125b=new _0x4ca96f('message',{'data':_0x14b726?_0x106de5:_0x106de5[_0x789192(0x2d9)]()});_0x40125b[_0x7a4fc9]=this,_0x44b88c(_0x1f77ee,this,_0x40125b);};else{if(_0x45f9fa===_0x185620(0x1ba))_0x16ceff=function(_0x1763ff,_0x42ab24){const _0x352ea9=_0x185620,_0x2459f1=new _0x4d1d4c(_0x352ea9(0x1ba),{'code':_0x1763ff,'reason':_0x42ab24[_0x352ea9(0x2d9)](),'wasClean':this['_closeFrameReceived']&&this[_0x352ea9(0x246)]});_0x2459f1[_0x7a4fc9]=this,_0x44b88c(_0x1f77ee,this,_0x2459f1);};else{if(_0x45f9fa===_0x185620(0x1a2))_0x16ceff=function(_0x4eba82){const _0x4ac388=_0x185620,_0x49544d=new _0x2afb5a('error',{'error':_0x4eba82,'message':_0x4eba82[_0x4ac388(0x2d6)]});_0x49544d[_0x7a4fc9]=this,_0x44b88c(_0x1f77ee,this,_0x49544d);};else{if(_0x45f9fa==='open')_0x16ceff=function(){const _0x2115c9=new _0x1714bc('open');_0x2115c9[_0x7a4fc9]=this,_0x44b88c(_0x1f77ee,this,_0x2115c9);};else return;}}}_0x16ceff[_0xb02216]=!!_0x254953[_0xb02216],_0x16ceff[_0xbfee5a]=_0x1f77ee,_0x254953[_0x185620(0x2cd)]?this['once'](_0x45f9fa,_0x16ceff):this['on'](_0x45f9fa,_0x16ceff);},'removeEventListener'(_0x1daad0,_0x3c1b0a){const _0x5cd66a=_0x11aa83;for(const _0x2f1b9e of this['listeners'](_0x1daad0))if(_0x2f1b9e[_0xbfee5a]===_0x3c1b0a&&!_0x2f1b9e[_0xb02216]){this[_0x5cd66a(0x283)](_0x1daad0,_0x2f1b9e);break;}}},'MessageEvent':_0x4ca96f};function _0x44b88c(_0x36fdf5,_0x50776e,_0xc68d6b){const _0x5140d4=_0x11aa83;typeof _0x36fdf5==_0x5140d4(0x1bf)&&_0x36fdf5[_0x5140d4(0x306)]?_0x36fdf5[_0x5140d4(0x306)][_0x5140d4(0x28d)](_0x36fdf5,_0xc68d6b):_0x36fdf5[_0x5140d4(0x28d)](_0x50776e,_0xc68d6b);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x5436b4}=ne();function _0x48fe04(_0x5990ac,_0x4de8a5,_0xaff84a){const _0x5953b5=_0x2f18;_0x5990ac[_0x4de8a5]===void 0x0?_0x5990ac[_0x4de8a5]=[_0xaff84a]:_0x5990ac[_0x4de8a5][_0x5953b5(0x230)](_0xaff84a);}function _0x35694b(_0x134052){const _0x4cc7a9=_0x2f18,_0x772b55=Object['create'](null);let _0x16dec0=Object[_0x4cc7a9(0x1d7)](null),_0x4d090f=!0x1,_0x539627=!0x1,_0x43a3f6=!0x1,_0x4649a7,_0x293270,_0x37a6de=-0x1,_0x348760=-0x1,_0x5ad232=-0x1,_0x584e12=0x0;for(;_0x584e12<_0x134052[_0x4cc7a9(0x303)];_0x584e12++)if(_0x348760=_0x134052['charCodeAt'](_0x584e12),_0x4649a7===void 0x0){if(_0x5ad232===-0x1&&_0x5436b4[_0x348760]===0x1)_0x37a6de===-0x1&&(_0x37a6de=_0x584e12);else{if(_0x584e12!==0x0&&(_0x348760===0x20||_0x348760===0x9))_0x5ad232===-0x1&&_0x37a6de!==-0x1&&(_0x5ad232=_0x584e12);else{if(_0x348760===0x3b||_0x348760===0x2c){if(_0x37a6de===-0x1)throw new SyntaxError(_0x4cc7a9(0x2b0)+_0x584e12);_0x5ad232===-0x1&&(_0x5ad232=_0x584e12);const _0x1fd46f=_0x134052[_0x4cc7a9(0x2df)](_0x37a6de,_0x5ad232);_0x348760===0x2c?(_0x48fe04(_0x772b55,_0x1fd46f,_0x16dec0),_0x16dec0=Object['create'](null)):_0x4649a7=_0x1fd46f,_0x37a6de=_0x5ad232=-0x1;}else throw new SyntaxError(_0x4cc7a9(0x2b0)+_0x584e12);}}}else{if(_0x293270===void 0x0){if(_0x5ad232===-0x1&&_0x5436b4[_0x348760]===0x1)_0x37a6de===-0x1&&(_0x37a6de=_0x584e12);else{if(_0x348760===0x20||_0x348760===0x9)_0x5ad232===-0x1&&_0x37a6de!==-0x1&&(_0x5ad232=_0x584e12);else{if(_0x348760===0x3b||_0x348760===0x2c){if(_0x37a6de===-0x1)throw new SyntaxError(_0x4cc7a9(0x2b0)+_0x584e12);_0x5ad232===-0x1&&(_0x5ad232=_0x584e12),_0x48fe04(_0x16dec0,_0x134052[_0x4cc7a9(0x2df)](_0x37a6de,_0x5ad232),!0x0),_0x348760===0x2c&&(_0x48fe04(_0x772b55,_0x4649a7,_0x16dec0),_0x16dec0=Object['create'](null),_0x4649a7=void 0x0),_0x37a6de=_0x5ad232=-0x1;}else{if(_0x348760===0x3d&&_0x37a6de!==-0x1&&_0x5ad232===-0x1)_0x293270=_0x134052[_0x4cc7a9(0x2df)](_0x37a6de,_0x584e12),_0x37a6de=_0x5ad232=-0x1;else throw new SyntaxError(_0x4cc7a9(0x2b0)+_0x584e12);}}}}else{if(_0x539627){if(_0x5436b4[_0x348760]!==0x1)throw new SyntaxError(_0x4cc7a9(0x2b0)+_0x584e12);_0x37a6de===-0x1?_0x37a6de=_0x584e12:_0x4d090f||(_0x4d090f=!0x0),_0x539627=!0x1;}else{if(_0x43a3f6){if(_0x5436b4[_0x348760]===0x1)_0x37a6de===-0x1&&(_0x37a6de=_0x584e12);else{if(_0x348760===0x22&&_0x37a6de!==-0x1)_0x43a3f6=!0x1,_0x5ad232=_0x584e12;else{if(_0x348760===0x5c)_0x539627=!0x0;else throw new SyntaxError(_0x4cc7a9(0x2b0)+_0x584e12);}}}else{if(_0x348760===0x22&&_0x134052[_0x4cc7a9(0x1ad)](_0x584e12-0x1)===0x3d)_0x43a3f6=!0x0;else{if(_0x5ad232===-0x1&&_0x5436b4[_0x348760]===0x1)_0x37a6de===-0x1&&(_0x37a6de=_0x584e12);else{if(_0x37a6de!==-0x1&&(_0x348760===0x20||_0x348760===0x9))_0x5ad232===-0x1&&(_0x5ad232=_0x584e12);else{if(_0x348760===0x3b||_0x348760===0x2c){if(_0x37a6de===-0x1)throw new SyntaxError(_0x4cc7a9(0x2b0)+_0x584e12);_0x5ad232===-0x1&&(_0x5ad232=_0x584e12);let _0x4fedaf=_0x134052[_0x4cc7a9(0x2df)](_0x37a6de,_0x5ad232);_0x4d090f&&(_0x4fedaf=_0x4fedaf[_0x4cc7a9(0x18a)](/\\/g,''),_0x4d090f=!0x1),_0x48fe04(_0x16dec0,_0x293270,_0x4fedaf),_0x348760===0x2c&&(_0x48fe04(_0x772b55,_0x4649a7,_0x16dec0),_0x16dec0=Object['create'](null),_0x4649a7=void 0x0),_0x293270=void 0x0,_0x37a6de=_0x5ad232=-0x1;}else throw new SyntaxError(_0x4cc7a9(0x2b0)+_0x584e12);}}}}}}}if(_0x37a6de===-0x1||_0x43a3f6||_0x348760===0x20||_0x348760===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x5ad232===-0x1&&(_0x5ad232=_0x584e12);const _0x2a4113=_0x134052['slice'](_0x37a6de,_0x5ad232);return _0x4649a7===void 0x0?_0x48fe04(_0x772b55,_0x2a4113,_0x16dec0):(_0x293270===void 0x0?_0x48fe04(_0x16dec0,_0x2a4113,!0x0):_0x4d090f?_0x48fe04(_0x16dec0,_0x293270,_0x2a4113[_0x4cc7a9(0x18a)](/\\/g,'')):_0x48fe04(_0x16dec0,_0x293270,_0x2a4113),_0x48fe04(_0x772b55,_0x4649a7,_0x16dec0)),_0x772b55;}function _0x118130(_0x4c2658){const _0x54641e=_0x2f18;return Object[_0x54641e(0x2c6)](_0x4c2658)[_0x54641e(0x1cf)](_0x585614=>{const _0x1613f5=_0x54641e;let _0x1556e1=_0x4c2658[_0x585614];return Array['isArray'](_0x1556e1)||(_0x1556e1=[_0x1556e1]),_0x1556e1[_0x1613f5(0x1cf)](_0x8e5b90=>[_0x585614][_0x1613f5(0x216)](Object[_0x1613f5(0x2c6)](_0x8e5b90)[_0x1613f5(0x1cf)](_0x446e10=>{const _0x1eb725=_0x1613f5;let _0x1fd3de=_0x8e5b90[_0x446e10];return Array[_0x1eb725(0x1f8)](_0x1fd3de)||(_0x1fd3de=[_0x1fd3de]),_0x1fd3de[_0x1eb725(0x1cf)](_0x5ba486=>_0x5ba486===!0x0?_0x446e10:_0x446e10+'='+_0x5ba486)['join'](';\x20');}))[_0x1613f5(0x23a)](';\x20'))[_0x1613f5(0x23a)](',\x20');})[_0x54641e(0x23a)](',\x20');}return be={'format':_0x118130,'parse':_0x35694b},be;}var we,st;function Ie(){const _0x5732c9=_0x56ade3;if(st)return we;st=0x1;const _0x2afe69=_0x123739,_0x553c24=_0x214fd6,_0x3b3265=_0x54e74c,_0x7efa71=_0x3b835c,_0x24e67d=_0x27e596,{randomBytes:_0x5adaab,createHash:_0x3ff448}=_0x3fe3c4,{Duplex:_0x3f4039,Readable:_0x5b6467}=_0x33dc7b,{URL:_0xd718e7}=_0x43fa88,_0x4f2c40=he(),_0x38ba88=dt(),_0x500398=_t(),{isBlob:_0x1cbafe}=ne(),{BINARY_TYPES:_0x5c534e,EMPTY_BUFFER:_0x150cc7,GUID:_0x385f6c,kForOnEventAttribute:_0x162cee,kListener:_0x52451d,kStatusCode:_0x46cd5a,kWebSocket:_0x56b629,NOOP:_0x1c1f11}=V(),{EventTarget:{addEventListener:_0x2f1c36,removeEventListener:_0x551ee8}}=Kt(),{format:_0x3b4745,parse:_0x3a0385}=pt(),{toBuffer:_0x4ee6e1}=ce(),_0x2349d2=0x1e*0x3e8,_0x3fc4e7=Symbol(_0x5732c9(0x253)),_0x420af2=[0x8,0xd],_0x18c061=[_0x5732c9(0x25e),'OPEN',_0x5732c9(0x1f4),_0x5732c9(0x1fb)],_0x74a58c=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x2445b7 extends _0x2afe69{constructor(_0x2f38cb,_0x279351,_0xcd78b8){const _0x2c58d9=_0x5732c9;super(),this[_0x2c58d9(0x1b1)]=_0x5c534e[0x0],this['_closeCode']=0x3ee,this[_0x2c58d9(0x1d2)]=!0x1,this['_closeFrameSent']=!0x1,this[_0x2c58d9(0x1e9)]=_0x150cc7,this[_0x2c58d9(0x2bd)]=null,this[_0x2c58d9(0x214)]=!0x1,this[_0x2c58d9(0x2f7)]={},this['_paused']=!0x1,this['_protocol']='',this[_0x2c58d9(0x23b)]=_0x2445b7[_0x2c58d9(0x25e)],this[_0x2c58d9(0x195)]=null,this[_0x2c58d9(0x23e)]=null,this['_socket']=null,_0x2f38cb!==null?(this[_0x2c58d9(0x32c)]=0x0,this[_0x2c58d9(0x2f2)]=!0x1,this[_0x2c58d9(0x25c)]=0x0,_0x279351===void 0x0?_0x279351=[]:Array[_0x2c58d9(0x1f8)](_0x279351)||(typeof _0x279351=='object'&&_0x279351!==null?(_0xcd78b8=_0x279351,_0x279351=[]):_0x279351=[_0x279351]),_0x417606(this,_0x2f38cb,_0x279351,_0xcd78b8)):(this[_0x2c58d9(0x188)]=_0xcd78b8[_0x2c58d9(0x24a)],this[_0x2c58d9(0x2f2)]=!0x0);}get['binaryType'](){const _0x32ebc7=_0x5732c9;return this[_0x32ebc7(0x1b1)];}set[_0x5732c9(0x224)](_0x3cec55){const _0x2bac6a=_0x5732c9;_0x5c534e['includes'](_0x3cec55)&&(this[_0x2bac6a(0x1b1)]=_0x3cec55,this[_0x2bac6a(0x195)]&&(this['_receiver'][_0x2bac6a(0x1b1)]=_0x3cec55));}get[_0x5732c9(0x1c3)](){const _0xaab2fb=_0x5732c9;return this[_0xaab2fb(0x330)]?this[_0xaab2fb(0x330)][_0xaab2fb(0x25d)][_0xaab2fb(0x303)]+this['_sender'][_0xaab2fb(0x312)]:this[_0xaab2fb(0x32c)];}get[_0x5732c9(0x2d1)](){const _0x5babfe=_0x5732c9;return Object[_0x5babfe(0x2c6)](this[_0x5babfe(0x2f7)])[_0x5babfe(0x23a)]();}get[_0x5732c9(0x28c)](){const _0x311502=_0x5732c9;return this[_0x311502(0x24c)];}get['onclose'](){return null;}get[_0x5732c9(0x187)](){return null;}get[_0x5732c9(0x305)](){return null;}get['onmessage'](){return null;}get[_0x5732c9(0x273)](){const _0x444fa4=_0x5732c9;return this[_0x444fa4(0x1e2)];}get[_0x5732c9(0x223)](){const _0x2ff9b5=_0x5732c9;return this[_0x2ff9b5(0x23b)];}get[_0x5732c9(0x24f)](){const _0x285abd=_0x5732c9;return this[_0x285abd(0x26e)];}[_0x5732c9(0x290)](_0x4ceb13,_0x356ce5,_0x2e9722){const _0x41f935=_0x5732c9,_0x27f873=new _0x38ba88({'allowSynchronousEvents':_0x2e9722[_0x41f935(0x2c1)],'binaryType':this[_0x41f935(0x224)],'extensions':this[_0x41f935(0x2f7)],'isServer':this[_0x41f935(0x2f2)],'maxPayload':_0x2e9722[_0x41f935(0x240)],'skipUTF8Validation':_0x2e9722['skipUTF8Validation']}),_0xce4ae6=new _0x500398(_0x4ceb13,this[_0x41f935(0x2f7)],_0x2e9722['generateMask']);this['_receiver']=_0x27f873,this[_0x41f935(0x23e)]=_0xce4ae6,this[_0x41f935(0x330)]=_0x4ceb13,_0x27f873[_0x56b629]=this,_0xce4ae6[_0x56b629]=this,_0x4ceb13[_0x56b629]=this,_0x27f873['on'](_0x41f935(0x1ff),_0x372c9f),_0x27f873['on'](_0x41f935(0x245),_0x369c24),_0x27f873['on'](_0x41f935(0x1a2),_0x19cc9a),_0x27f873['on'](_0x41f935(0x2d6),_0x3d4903),_0x27f873['on']('ping',_0x21bfad),_0x27f873['on'](_0x41f935(0x211),_0x554bbb),_0xce4ae6['onerror']=_0x354450,_0x4ceb13[_0x41f935(0x31a)]&&_0x4ceb13['setTimeout'](0x0),_0x4ceb13[_0x41f935(0x2ec)]&&_0x4ceb13[_0x41f935(0x2ec)](),_0x356ce5[_0x41f935(0x303)]>0x0&&_0x4ceb13[_0x41f935(0x30e)](_0x356ce5),_0x4ceb13['on'](_0x41f935(0x1ba),_0x28ce3d),_0x4ceb13['on'](_0x41f935(0x2fb),_0x1b8eda),_0x4ceb13['on'](_0x41f935(0x2f8),_0xb57a22),_0x4ceb13['on'](_0x41f935(0x1a2),_0x9f8107),this[_0x41f935(0x23b)]=_0x2445b7[_0x41f935(0x1b8)],this[_0x41f935(0x2bc)](_0x41f935(0x18c));}['emitClose'](){const _0x1dca99=_0x5732c9;if(!this[_0x1dca99(0x330)]){this['_readyState']=_0x2445b7[_0x1dca99(0x1fb)],this[_0x1dca99(0x2bc)](_0x1dca99(0x1ba),this['_closeCode'],this[_0x1dca99(0x1e9)]);return;}this[_0x1dca99(0x2f7)][_0x4f2c40[_0x1dca99(0x1cb)]]&&this['_extensions'][_0x4f2c40[_0x1dca99(0x1cb)]]['cleanup'](),this[_0x1dca99(0x195)]['removeAllListeners'](),this['_readyState']=_0x2445b7[_0x1dca99(0x1fb)],this['emit'](_0x1dca99(0x1ba),this[_0x1dca99(0x189)],this['_closeMessage']);}[_0x5732c9(0x1ba)](_0xef9d76,_0x3789ff){const _0x1244bb=_0x5732c9;if(this[_0x1244bb(0x223)]!==_0x2445b7[_0x1244bb(0x1fb)]){if(this[_0x1244bb(0x223)]===_0x2445b7[_0x1244bb(0x25e)]){_0x1da1a0(this,this['_req'],_0x1244bb(0x19d));return;}if(this[_0x1244bb(0x223)]===_0x2445b7[_0x1244bb(0x1f4)]){this['_closeFrameSent']&&(this[_0x1244bb(0x1d2)]||this[_0x1244bb(0x195)][_0x1244bb(0x25d)]['errorEmitted'])&&this[_0x1244bb(0x330)]['end']();return;}this[_0x1244bb(0x23b)]=_0x2445b7[_0x1244bb(0x1f4)],this['_sender'][_0x1244bb(0x1ba)](_0xef9d76,_0x3789ff,!this[_0x1244bb(0x2f2)],_0x2a4c40=>{const _0x1f4c7a=_0x1244bb;_0x2a4c40||(this['_closeFrameSent']=!0x0,(this[_0x1f4c7a(0x1d2)]||this[_0x1f4c7a(0x195)]['_writableState'][_0x1f4c7a(0x30a)])&&this[_0x1f4c7a(0x330)][_0x1f4c7a(0x2f8)]());}),_0x4bb7c9(this);}}[_0x5732c9(0x2c4)](){const _0x52eee9=_0x5732c9;this['readyState']===_0x2445b7[_0x52eee9(0x25e)]||this[_0x52eee9(0x223)]===_0x2445b7[_0x52eee9(0x1fb)]||(this[_0x52eee9(0x24c)]=!0x0,this[_0x52eee9(0x330)]['pause']());}[_0x5732c9(0x233)](_0x583f18,_0x216179,_0x407928){const _0x151eb7=_0x5732c9;if(this[_0x151eb7(0x223)]===_0x2445b7['CONNECTING'])throw new Error(_0x151eb7(0x2fe));if(typeof _0x583f18==_0x151eb7(0x25a)?(_0x407928=_0x583f18,_0x583f18=_0x216179=void 0x0):typeof _0x216179==_0x151eb7(0x25a)&&(_0x407928=_0x216179,_0x216179=void 0x0),typeof _0x583f18=='number'&&(_0x583f18=_0x583f18[_0x151eb7(0x2d9)]()),this[_0x151eb7(0x223)]!==_0x2445b7[_0x151eb7(0x1b8)]){_0x48211b(this,_0x583f18,_0x407928);return;}_0x216179===void 0x0&&(_0x216179=!this[_0x151eb7(0x2f2)]),this[_0x151eb7(0x23e)][_0x151eb7(0x233)](_0x583f18||_0x150cc7,_0x216179,_0x407928);}['pong'](_0xa896da,_0x58ebc8,_0x57e1a4){const _0x2f7c10=_0x5732c9;if(this[_0x2f7c10(0x223)]===_0x2445b7[_0x2f7c10(0x25e)])throw new Error(_0x2f7c10(0x2fe));if(typeof _0xa896da==_0x2f7c10(0x25a)?(_0x57e1a4=_0xa896da,_0xa896da=_0x58ebc8=void 0x0):typeof _0x58ebc8==_0x2f7c10(0x25a)&&(_0x57e1a4=_0x58ebc8,_0x58ebc8=void 0x0),typeof _0xa896da==_0x2f7c10(0x272)&&(_0xa896da=_0xa896da['toString']()),this[_0x2f7c10(0x223)]!==_0x2445b7[_0x2f7c10(0x1b8)]){_0x48211b(this,_0xa896da,_0x57e1a4);return;}_0x58ebc8===void 0x0&&(_0x58ebc8=!this[_0x2f7c10(0x2f2)]),this[_0x2f7c10(0x23e)][_0x2f7c10(0x211)](_0xa896da||_0x150cc7,_0x58ebc8,_0x57e1a4);}[_0x5732c9(0x328)](){const _0x922f3b=_0x5732c9;this['readyState']===_0x2445b7[_0x922f3b(0x25e)]||this['readyState']===_0x2445b7['CLOSED']||(this[_0x922f3b(0x24c)]=!0x1,this[_0x922f3b(0x195)][_0x922f3b(0x25d)][_0x922f3b(0x2af)]||this[_0x922f3b(0x330)]['resume']());}['send'](_0x15d113,_0x573da1,_0x5965fc){const _0x360ff5=_0x5732c9;if(this[_0x360ff5(0x223)]===_0x2445b7[_0x360ff5(0x25e)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x573da1=='function'&&(_0x5965fc=_0x573da1,_0x573da1={}),typeof _0x15d113=='number'&&(_0x15d113=_0x15d113[_0x360ff5(0x2d9)]()),this[_0x360ff5(0x223)]!==_0x2445b7[_0x360ff5(0x1b8)]){_0x48211b(this,_0x15d113,_0x5965fc);return;}const _0x486d85={'binary':typeof _0x15d113!=_0x360ff5(0x2fc),'mask':!this[_0x360ff5(0x2f2)],'compress':!0x0,'fin':!0x0,..._0x573da1};this[_0x360ff5(0x2f7)][_0x4f2c40[_0x360ff5(0x1cb)]]||(_0x486d85[_0x360ff5(0x2d5)]=!0x1),this[_0x360ff5(0x23e)][_0x360ff5(0x2b5)](_0x15d113||_0x150cc7,_0x486d85,_0x5965fc);}[_0x5732c9(0x32a)](){const _0x6c9b3d=_0x5732c9;if(this[_0x6c9b3d(0x223)]!==_0x2445b7[_0x6c9b3d(0x1fb)]){if(this['readyState']===_0x2445b7['CONNECTING']){_0x1da1a0(this,this[_0x6c9b3d(0x1dc)],_0x6c9b3d(0x19d));return;}this[_0x6c9b3d(0x330)]&&(this[_0x6c9b3d(0x23b)]=_0x2445b7['CLOSING'],this['_socket'][_0x6c9b3d(0x1e1)]());}}}Object[_0x5732c9(0x234)](_0x2445b7,_0x5732c9(0x25e),{'enumerable':!0x0,'value':_0x18c061[_0x5732c9(0x191)]('CONNECTING')}),Object[_0x5732c9(0x234)](_0x2445b7[_0x5732c9(0x1b5)],_0x5732c9(0x25e),{'enumerable':!0x0,'value':_0x18c061[_0x5732c9(0x191)]('CONNECTING')}),Object['defineProperty'](_0x2445b7,_0x5732c9(0x1b8),{'enumerable':!0x0,'value':_0x18c061[_0x5732c9(0x191)](_0x5732c9(0x1b8))}),Object[_0x5732c9(0x234)](_0x2445b7[_0x5732c9(0x1b5)],_0x5732c9(0x1b8),{'enumerable':!0x0,'value':_0x18c061[_0x5732c9(0x191)]('OPEN')}),Object[_0x5732c9(0x234)](_0x2445b7,_0x5732c9(0x1f4),{'enumerable':!0x0,'value':_0x18c061[_0x5732c9(0x191)](_0x5732c9(0x1f4))}),Object[_0x5732c9(0x234)](_0x2445b7[_0x5732c9(0x1b5)],_0x5732c9(0x1f4),{'enumerable':!0x0,'value':_0x18c061['indexOf'](_0x5732c9(0x1f4))}),Object['defineProperty'](_0x2445b7,_0x5732c9(0x1fb),{'enumerable':!0x0,'value':_0x18c061[_0x5732c9(0x191)](_0x5732c9(0x1fb))}),Object[_0x5732c9(0x234)](_0x2445b7[_0x5732c9(0x1b5)],_0x5732c9(0x1fb),{'enumerable':!0x0,'value':_0x18c061['indexOf'](_0x5732c9(0x1fb))}),['binaryType',_0x5732c9(0x1c3),_0x5732c9(0x2d1),_0x5732c9(0x28c),_0x5732c9(0x273),'readyState','url'][_0x5732c9(0x220)](_0x29665e=>{const _0x59c213=_0x5732c9;Object[_0x59c213(0x234)](_0x2445b7[_0x59c213(0x1b5)],_0x29665e,{'enumerable':!0x0});}),[_0x5732c9(0x18c),'error',_0x5732c9(0x1ba),_0x5732c9(0x2d6)]['forEach'](_0x2461b2=>{const _0x1fdef7=_0x5732c9;Object[_0x1fdef7(0x234)](_0x2445b7[_0x1fdef7(0x1b5)],'on'+_0x2461b2,{'enumerable':!0x0,'get'(){const _0x7e805c=_0x1fdef7;for(const _0x2a3b2a of this[_0x7e805c(0x209)](_0x2461b2))if(_0x2a3b2a[_0x162cee])return _0x2a3b2a[_0x52451d];return null;},'set'(_0x36d352){const _0x2ac67c=_0x1fdef7;for(const _0x4919fd of this[_0x2ac67c(0x209)](_0x2461b2))if(_0x4919fd[_0x162cee]){this['removeListener'](_0x2461b2,_0x4919fd);break;}typeof _0x36d352==_0x2ac67c(0x25a)&&this[_0x2ac67c(0x1fe)](_0x2461b2,_0x36d352,{[_0x162cee]:!0x0});}});}),_0x2445b7['prototype'][_0x5732c9(0x1fe)]=_0x2f1c36,_0x2445b7['prototype'][_0x5732c9(0x32d)]=_0x551ee8,we=_0x2445b7;function _0x417606(_0x3f3c97,_0x2df4fa,_0x5ad6ef,_0x475e4b){const _0x31e21e=_0x5732c9,_0x51b5e5={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x420af2[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x475e4b,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x3f3c97[_0x31e21e(0x188)]=_0x51b5e5['autoPong'],!_0x420af2[_0x31e21e(0x237)](_0x51b5e5[_0x31e21e(0x227)]))throw new RangeError(_0x31e21e(0x26f)+_0x51b5e5[_0x31e21e(0x227)]+_0x31e21e(0x20d)+_0x420af2[_0x31e21e(0x23a)](',\x20')+')');let _0xbc83d7;if(_0x2df4fa instanceof _0xd718e7)_0xbc83d7=_0x2df4fa;else try{_0xbc83d7=new _0xd718e7(_0x2df4fa);}catch{throw new SyntaxError('Invalid\x20URL:\x20'+_0x2df4fa);}_0xbc83d7['protocol']===_0x31e21e(0x27b)?_0xbc83d7['protocol']=_0x31e21e(0x229):_0xbc83d7[_0x31e21e(0x273)]===_0x31e21e(0x279)&&(_0xbc83d7[_0x31e21e(0x273)]='wss:'),_0x3f3c97[_0x31e21e(0x26e)]=_0xbc83d7[_0x31e21e(0x2d2)];const _0x12a3a9=_0xbc83d7[_0x31e21e(0x273)]===_0x31e21e(0x2da),_0x33db11=_0xbc83d7[_0x31e21e(0x273)]===_0x31e21e(0x316);let _0x5f3c26;if(_0xbc83d7['protocol']!==_0x31e21e(0x229)&&!_0x12a3a9&&!_0x33db11?_0x5f3c26=_0x31e21e(0x309):_0x33db11&&!_0xbc83d7['pathname']?_0x5f3c26=_0x31e21e(0x299):_0xbc83d7[_0x31e21e(0x31f)]&&(_0x5f3c26=_0x31e21e(0x244)),_0x5f3c26){const _0x1ab1ac=new SyntaxError(_0x5f3c26);if(_0x3f3c97['_redirects']===0x0)throw _0x1ab1ac;_0x37fb7e(_0x3f3c97,_0x1ab1ac);return;}const _0x2cbd6d=_0x12a3a9?0x1bb:0x50,_0x1b9360=_0x5adaab(0x10)[_0x31e21e(0x2d9)](_0x31e21e(0x19f)),_0x5d0bd6=_0x12a3a9?_0x553c24[_0x31e21e(0x200)]:_0x3b3265[_0x31e21e(0x200)],_0x404f06=new Set();let _0xb4f6c0;if(_0x51b5e5[_0x31e21e(0x262)]=_0x51b5e5['createConnection']||(_0x12a3a9?_0x2c4fb6:_0x273978),_0x51b5e5['defaultPort']=_0x51b5e5['defaultPort']||_0x2cbd6d,_0x51b5e5['port']=_0xbc83d7[_0x31e21e(0x2b3)]||_0x2cbd6d,_0x51b5e5[_0x31e21e(0x2e4)]=_0xbc83d7[_0x31e21e(0x2bf)][_0x31e21e(0x20f)]('[')?_0xbc83d7['hostname'][_0x31e21e(0x2df)](0x1,-0x1):_0xbc83d7['hostname'],_0x51b5e5[_0x31e21e(0x1fc)]={..._0x51b5e5[_0x31e21e(0x1fc)],'Sec-WebSocket-Version':_0x51b5e5[_0x31e21e(0x227)],'Sec-WebSocket-Key':_0x1b9360,'Connection':_0x31e21e(0x311),'Upgrade':_0x31e21e(0x19c)},_0x51b5e5['path']=_0xbc83d7[_0x31e21e(0x226)]+_0xbc83d7['search'],_0x51b5e5[_0x31e21e(0x291)]=_0x51b5e5[_0x31e21e(0x274)],_0x51b5e5[_0x31e21e(0x302)]&&(_0xb4f6c0=new _0x4f2c40(_0x51b5e5[_0x31e21e(0x302)]!==!0x0?_0x51b5e5[_0x31e21e(0x302)]:{},!0x1,_0x51b5e5[_0x31e21e(0x240)]),_0x51b5e5[_0x31e21e(0x1fc)][_0x31e21e(0x296)]=_0x3b4745({[_0x4f2c40[_0x31e21e(0x1cb)]]:_0xb4f6c0[_0x31e21e(0x256)]()})),_0x5ad6ef['length']){for(const _0x704ce9 of _0x5ad6ef){if(typeof _0x704ce9!='string'||!_0x74a58c[_0x31e21e(0x32f)](_0x704ce9)||_0x404f06[_0x31e21e(0x32b)](_0x704ce9))throw new SyntaxError(_0x31e21e(0x1c8));_0x404f06[_0x31e21e(0x208)](_0x704ce9);}_0x51b5e5[_0x31e21e(0x1fc)][_0x31e21e(0x1e6)]=_0x5ad6ef[_0x31e21e(0x23a)](',');}if(_0x51b5e5[_0x31e21e(0x1db)]&&(_0x51b5e5['protocolVersion']<0xd?_0x51b5e5[_0x31e21e(0x1fc)][_0x31e21e(0x1a1)]=_0x51b5e5['origin']:_0x51b5e5['headers']['Origin']=_0x51b5e5[_0x31e21e(0x1db)]),(_0xbc83d7[_0x31e21e(0x1a4)]||_0xbc83d7[_0x31e21e(0x2cf)])&&(_0x51b5e5[_0x31e21e(0x1ea)]=_0xbc83d7[_0x31e21e(0x1a4)]+':'+_0xbc83d7['password']),_0x33db11){const _0x5c68b7=_0x51b5e5['path'][_0x31e21e(0x286)](':');_0x51b5e5[_0x31e21e(0x1bc)]=_0x5c68b7[0x0],_0x51b5e5[_0x31e21e(0x1f7)]=_0x5c68b7[0x1];}let _0x1b54b6;if(_0x51b5e5[_0x31e21e(0x1af)]){if(_0x3f3c97[_0x31e21e(0x25c)]===0x0){_0x3f3c97[_0x31e21e(0x304)]=_0x33db11,_0x3f3c97[_0x31e21e(0x213)]=_0x12a3a9,_0x3f3c97['_originalHostOrSocketPath']=_0x33db11?_0x51b5e5[_0x31e21e(0x1bc)]:_0xbc83d7[_0x31e21e(0x2e4)];const _0x4df192=_0x475e4b&&_0x475e4b[_0x31e21e(0x1fc)];if(_0x475e4b={..._0x475e4b,'headers':{}},_0x4df192){for(const [_0x29de7b,_0x1f81b0]of Object[_0x31e21e(0x2e1)](_0x4df192))_0x475e4b[_0x31e21e(0x1fc)][_0x29de7b[_0x31e21e(0x2b1)]()]=_0x1f81b0;}}else{if(_0x3f3c97[_0x31e21e(0x260)](_0x31e21e(0x31b))===0x0){const _0x254e57=_0x33db11?_0x3f3c97['_originalIpc']?_0x51b5e5[_0x31e21e(0x1bc)]===_0x3f3c97[_0x31e21e(0x276)]:!0x1:_0x3f3c97[_0x31e21e(0x304)]?!0x1:_0xbc83d7['host']===_0x3f3c97[_0x31e21e(0x276)];(!_0x254e57||_0x3f3c97[_0x31e21e(0x213)]&&!_0x12a3a9)&&(delete _0x51b5e5[_0x31e21e(0x1fc)][_0x31e21e(0x29b)],delete _0x51b5e5[_0x31e21e(0x1fc)][_0x31e21e(0x232)],_0x254e57||delete _0x51b5e5[_0x31e21e(0x1fc)]['host'],_0x51b5e5['auth']=void 0x0);}}_0x51b5e5['auth']&&!_0x475e4b[_0x31e21e(0x1fc)]['authorization']&&(_0x475e4b[_0x31e21e(0x1fc)][_0x31e21e(0x29b)]=_0x31e21e(0x1fa)+Buffer[_0x31e21e(0x31e)](_0x51b5e5[_0x31e21e(0x1ea)])[_0x31e21e(0x2d9)](_0x31e21e(0x19f))),_0x1b54b6=_0x3f3c97[_0x31e21e(0x1dc)]=_0x5d0bd6(_0x51b5e5),_0x3f3c97[_0x31e21e(0x25c)]&&_0x3f3c97[_0x31e21e(0x2bc)](_0x31e21e(0x31b),_0x3f3c97[_0x31e21e(0x24f)],_0x1b54b6);}else _0x1b54b6=_0x3f3c97[_0x31e21e(0x1dc)]=_0x5d0bd6(_0x51b5e5);_0x51b5e5[_0x31e21e(0x291)]&&_0x1b54b6['on']('timeout',()=>{_0x1da1a0(_0x3f3c97,_0x1b54b6,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x1b54b6['on'](_0x31e21e(0x1a2),_0x2c03ed=>{const _0x122dbd=_0x31e21e;_0x1b54b6===null||_0x1b54b6[_0x3fc4e7]||(_0x1b54b6=_0x3f3c97[_0x122dbd(0x1dc)]=null,_0x37fb7e(_0x3f3c97,_0x2c03ed));}),_0x1b54b6['on'](_0x31e21e(0x19e),_0x7c4c7b=>{const _0x87bdb7=_0x31e21e,_0x356b76=_0x7c4c7b[_0x87bdb7(0x1fc)][_0x87bdb7(0x31c)],_0x3deef0=_0x7c4c7b[_0x87bdb7(0x282)];if(_0x356b76&&_0x51b5e5['followRedirects']&&_0x3deef0>=0x12c&&_0x3deef0<0x190){if(++_0x3f3c97[_0x87bdb7(0x25c)]>_0x51b5e5['maxRedirects']){_0x1da1a0(_0x3f3c97,_0x1b54b6,_0x87bdb7(0x217));return;}_0x1b54b6[_0x87bdb7(0x250)]();let _0x599726;try{_0x599726=new _0xd718e7(_0x356b76,_0x2df4fa);}catch{const _0x467015=new SyntaxError(_0x87bdb7(0x2ea)+_0x356b76);_0x37fb7e(_0x3f3c97,_0x467015);return;}_0x417606(_0x3f3c97,_0x599726,_0x5ad6ef,_0x475e4b);}else _0x3f3c97[_0x87bdb7(0x2bc)](_0x87bdb7(0x215),_0x1b54b6,_0x7c4c7b)||_0x1da1a0(_0x3f3c97,_0x1b54b6,_0x87bdb7(0x261)+_0x7c4c7b[_0x87bdb7(0x282)]);}),_0x1b54b6['on'](_0x31e21e(0x2a7),(_0x5c6f12,_0x254225,_0x384938)=>{const _0x5526f4=_0x31e21e;if(_0x3f3c97[_0x5526f4(0x2bc)](_0x5526f4(0x2a7),_0x5c6f12),_0x3f3c97[_0x5526f4(0x223)]!==_0x2445b7[_0x5526f4(0x25e)])return;_0x1b54b6=_0x3f3c97[_0x5526f4(0x1dc)]=null;const _0x3734d7=_0x5c6f12[_0x5526f4(0x1fc)][_0x5526f4(0x2a7)];if(_0x3734d7===void 0x0||_0x3734d7[_0x5526f4(0x2b1)]()!==_0x5526f4(0x19c)){_0x1da1a0(_0x3f3c97,_0x254225,'Invalid\x20Upgrade\x20header');return;}const _0x30f48d=_0x3ff448('sha1')[_0x5526f4(0x2a5)](_0x1b9360+_0x385f6c)[_0x5526f4(0x19a)](_0x5526f4(0x19f));if(_0x5c6f12[_0x5526f4(0x1fc)][_0x5526f4(0x248)]!==_0x30f48d){_0x1da1a0(_0x3f3c97,_0x254225,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x52c160=_0x5c6f12[_0x5526f4(0x1fc)][_0x5526f4(0x32e)];let _0x1d26bb;if(_0x52c160!==void 0x0?_0x404f06[_0x5526f4(0x2ee)]?_0x404f06[_0x5526f4(0x32b)](_0x52c160)||(_0x1d26bb='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x1d26bb=_0x5526f4(0x1e0):_0x404f06[_0x5526f4(0x2ee)]&&(_0x1d26bb=_0x5526f4(0x23f)),_0x1d26bb){_0x1da1a0(_0x3f3c97,_0x254225,_0x1d26bb);return;}_0x52c160&&(_0x3f3c97[_0x5526f4(0x1e2)]=_0x52c160);const _0x38ef53=_0x5c6f12['headers'][_0x5526f4(0x1c6)];if(_0x38ef53!==void 0x0){if(!_0xb4f6c0){_0x1da1a0(_0x3f3c97,_0x254225,_0x5526f4(0x29e));return;}let _0x2e31ee;try{_0x2e31ee=_0x3a0385(_0x38ef53);}catch{_0x1da1a0(_0x3f3c97,_0x254225,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0x277060=Object[_0x5526f4(0x2c6)](_0x2e31ee);if(_0x277060[_0x5526f4(0x303)]!==0x1||_0x277060[0x0]!==_0x4f2c40[_0x5526f4(0x1cb)]){_0x1da1a0(_0x3f3c97,_0x254225,_0x5526f4(0x2aa));return;}try{_0xb4f6c0[_0x5526f4(0x2e8)](_0x2e31ee[_0x4f2c40[_0x5526f4(0x1cb)]]);}catch{_0x1da1a0(_0x3f3c97,_0x254225,_0x5526f4(0x2eb));return;}_0x3f3c97[_0x5526f4(0x2f7)][_0x4f2c40[_0x5526f4(0x1cb)]]=_0xb4f6c0;}_0x3f3c97[_0x5526f4(0x290)](_0x254225,_0x384938,{'allowSynchronousEvents':_0x51b5e5['allowSynchronousEvents'],'generateMask':_0x51b5e5[_0x5526f4(0x1e3)],'maxPayload':_0x51b5e5['maxPayload'],'skipUTF8Validation':_0x51b5e5[_0x5526f4(0x2c7)]});}),_0x51b5e5[_0x31e21e(0x30c)]?_0x51b5e5[_0x31e21e(0x30c)](_0x1b54b6,_0x3f3c97):_0x1b54b6[_0x31e21e(0x2f8)]();}function _0x37fb7e(_0x445829,_0x108177){const _0x5987da=_0x5732c9;_0x445829[_0x5987da(0x23b)]=_0x2445b7[_0x5987da(0x1f4)],_0x445829[_0x5987da(0x214)]=!0x0,_0x445829[_0x5987da(0x2bc)](_0x5987da(0x1a2),_0x108177),_0x445829[_0x5987da(0x264)]();}function _0x273978(_0x37d409){const _0xb52a80=_0x5732c9;return _0x37d409[_0xb52a80(0x1f7)]=_0x37d409[_0xb52a80(0x1bc)],_0x7efa71[_0xb52a80(0x18e)](_0x37d409);}function _0x2c4fb6(_0xe4a476){const _0x25a328=_0x5732c9;return _0xe4a476[_0x25a328(0x1f7)]=void 0x0,!_0xe4a476['servername']&&_0xe4a476['servername']!==''&&(_0xe4a476[_0x25a328(0x197)]=_0x7efa71['isIP'](_0xe4a476['host'])?'':_0xe4a476[_0x25a328(0x2e4)]),_0x24e67d[_0x25a328(0x18e)](_0xe4a476);}function _0x1da1a0(_0x274931,_0x5f15f8,_0x3e2d31){const _0xc6baa6=_0x5732c9;_0x274931[_0xc6baa6(0x23b)]=_0x2445b7[_0xc6baa6(0x1f4)];const _0x5ec75e=new Error(_0x3e2d31);Error['captureStackTrace'](_0x5ec75e,_0x1da1a0),_0x5f15f8['setHeader']?(_0x5f15f8[_0x3fc4e7]=!0x0,_0x5f15f8[_0xc6baa6(0x250)](),_0x5f15f8[_0xc6baa6(0x329)]&&!_0x5f15f8[_0xc6baa6(0x329)][_0xc6baa6(0x1e5)]&&_0x5f15f8['socket'][_0xc6baa6(0x1e1)](),process[_0xc6baa6(0x1f3)](_0x37fb7e,_0x274931,_0x5ec75e)):(_0x5f15f8['destroy'](_0x5ec75e),_0x5f15f8[_0xc6baa6(0x2cd)](_0xc6baa6(0x1a2),_0x274931[_0xc6baa6(0x2bc)]['bind'](_0x274931,_0xc6baa6(0x1a2))),_0x5f15f8['once'](_0xc6baa6(0x1ba),_0x274931[_0xc6baa6(0x264)][_0xc6baa6(0x295)](_0x274931)));}function _0x48211b(_0x521f90,_0x1b0acf,_0x18322b){const _0x46b61b=_0x5732c9;if(_0x1b0acf){const _0x2b3c65=_0x1cbafe(_0x1b0acf)?_0x1b0acf[_0x46b61b(0x2ee)]:_0x4ee6e1(_0x1b0acf)['length'];_0x521f90['_socket']?_0x521f90[_0x46b61b(0x23e)][_0x46b61b(0x312)]+=_0x2b3c65:_0x521f90[_0x46b61b(0x32c)]+=_0x2b3c65;}if(_0x18322b){const _0x2f50fe=new Error(_0x46b61b(0x315)+_0x521f90[_0x46b61b(0x223)]+'\x20('+_0x18c061[_0x521f90[_0x46b61b(0x223)]]+')');process[_0x46b61b(0x1f3)](_0x18322b,_0x2f50fe);}}function _0x372c9f(_0x16aa4f,_0x4ef6f1){const _0x5aa021=_0x5732c9,_0x391067=this[_0x56b629];_0x391067[_0x5aa021(0x1d2)]=!0x0,_0x391067[_0x5aa021(0x1e9)]=_0x4ef6f1,_0x391067[_0x5aa021(0x189)]=_0x16aa4f,_0x391067[_0x5aa021(0x330)][_0x56b629]!==void 0x0&&(_0x391067[_0x5aa021(0x330)][_0x5aa021(0x283)](_0x5aa021(0x2fb),_0x1b8eda),process['nextTick'](_0xde9f5e,_0x391067[_0x5aa021(0x330)]),_0x16aa4f===0x3ed?_0x391067[_0x5aa021(0x1ba)]():_0x391067[_0x5aa021(0x1ba)](_0x16aa4f,_0x4ef6f1));}function _0x369c24(){const _0x4e6ce5=_0x5732c9,_0x475f33=this[_0x56b629];_0x475f33[_0x4e6ce5(0x28c)]||_0x475f33[_0x4e6ce5(0x330)][_0x4e6ce5(0x328)]();}function _0x19cc9a(_0x229d36){const _0x25baab=_0x5732c9,_0x52e454=this[_0x56b629];_0x52e454[_0x25baab(0x330)][_0x56b629]!==void 0x0&&(_0x52e454[_0x25baab(0x330)]['removeListener'](_0x25baab(0x2fb),_0x1b8eda),process[_0x25baab(0x1f3)](_0xde9f5e,_0x52e454[_0x25baab(0x330)]),_0x52e454['close'](_0x229d36[_0x46cd5a])),_0x52e454[_0x25baab(0x214)]||(_0x52e454[_0x25baab(0x214)]=!0x0,_0x52e454['emit'](_0x25baab(0x1a2),_0x229d36));}function _0xf3be4e(){const _0x3d9bfb=_0x5732c9;this[_0x56b629][_0x3d9bfb(0x264)]();}function _0x3d4903(_0x6321ad,_0x5bfc58){const _0x5c1002=_0x5732c9;this[_0x56b629][_0x5c1002(0x2bc)](_0x5c1002(0x2d6),_0x6321ad,_0x5bfc58);}function _0x21bfad(_0x285f14){const _0x3bd863=_0x5732c9,_0x3bc5a4=this[_0x56b629];_0x3bc5a4[_0x3bd863(0x188)]&&_0x3bc5a4[_0x3bd863(0x211)](_0x285f14,!this['_isServer'],_0x1c1f11),_0x3bc5a4['emit'](_0x3bd863(0x233),_0x285f14);}function _0x554bbb(_0x549a78){const _0x3771a1=_0x5732c9;this[_0x56b629][_0x3771a1(0x2bc)](_0x3771a1(0x211),_0x549a78);}function _0xde9f5e(_0x3badee){const _0x108b39=_0x5732c9;_0x3badee[_0x108b39(0x328)]();}function _0x354450(_0x59926b){const _0x3e9e83=_0x5732c9,_0xdc6cea=this[_0x56b629];_0xdc6cea[_0x3e9e83(0x223)]!==_0x2445b7['CLOSED']&&(_0xdc6cea[_0x3e9e83(0x223)]===_0x2445b7['OPEN']&&(_0xdc6cea[_0x3e9e83(0x23b)]=_0x2445b7[_0x3e9e83(0x1f4)],_0x4bb7c9(_0xdc6cea)),this[_0x3e9e83(0x330)][_0x3e9e83(0x2f8)](),_0xdc6cea['_errorEmitted']||(_0xdc6cea['_errorEmitted']=!0x0,_0xdc6cea[_0x3e9e83(0x2bc)](_0x3e9e83(0x1a2),_0x59926b)));}function _0x4bb7c9(_0x355f79){const _0x1b8843=_0x5732c9;_0x355f79[_0x1b8843(0x2bd)]=setTimeout(_0x355f79[_0x1b8843(0x330)][_0x1b8843(0x1e1)]['bind'](_0x355f79[_0x1b8843(0x330)]),_0x2349d2);}function _0x28ce3d(){const _0x1acc89=_0x5732c9,_0x1802e9=this[_0x56b629];this[_0x1acc89(0x283)](_0x1acc89(0x1ba),_0x28ce3d),this[_0x1acc89(0x283)]('data',_0x1b8eda),this[_0x1acc89(0x283)]('end',_0xb57a22),_0x1802e9[_0x1acc89(0x23b)]=_0x2445b7[_0x1acc89(0x1f4)];let _0x132388;!this['_readableState'][_0x1acc89(0x277)]&&!_0x1802e9[_0x1acc89(0x1d2)]&&!_0x1802e9[_0x1acc89(0x195)]['_writableState'][_0x1acc89(0x30a)]&&(_0x132388=_0x1802e9[_0x1acc89(0x330)][_0x1acc89(0x1c5)]())!==null&&_0x1802e9[_0x1acc89(0x195)][_0x1acc89(0x2dd)](_0x132388),_0x1802e9[_0x1acc89(0x195)]['end'](),this[_0x56b629]=void 0x0,clearTimeout(_0x1802e9[_0x1acc89(0x2bd)]),_0x1802e9[_0x1acc89(0x195)]['_writableState']['finished']||_0x1802e9['_receiver'][_0x1acc89(0x25d)][_0x1acc89(0x30a)]?_0x1802e9[_0x1acc89(0x264)]():(_0x1802e9[_0x1acc89(0x195)]['on'](_0x1acc89(0x1a2),_0xf3be4e),_0x1802e9['_receiver']['on'](_0x1acc89(0x18f),_0xf3be4e));}function _0x1b8eda(_0x4f3603){const _0x3b8f3c=_0x5732c9;this[_0x56b629][_0x3b8f3c(0x195)]['write'](_0x4f3603)||this[_0x3b8f3c(0x2c4)]();}function _0xb57a22(){const _0x1df8ea=_0x5732c9,_0x5099f8=this[_0x56b629];_0x5099f8[_0x1df8ea(0x23b)]=_0x2445b7[_0x1df8ea(0x1f4)],_0x5099f8['_receiver']['end'](),this[_0x1df8ea(0x2f8)]();}function _0x9f8107(){const _0x54679c=_0x5732c9,_0xc8497b=this[_0x56b629];this['removeListener']('error',_0x9f8107),this['on']('error',_0x1c1f11),_0xc8497b&&(_0xc8497b[_0x54679c(0x23b)]=_0x2445b7[_0x54679c(0x1f4)],this[_0x54679c(0x1e1)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x1ab760}=_0x33dc7b;function _0x51dbc4(_0xfc1761){const _0x9b0a71=_0x2f18;_0xfc1761[_0x9b0a71(0x2bc)]('close');}function _0x9b8a50(){const _0xe0644=_0x2f18;!this[_0xe0644(0x1e5)]&&this[_0xe0644(0x25d)]['finished']&&this[_0xe0644(0x1e1)]();}function _0x4d3c7b(_0x1ace93){const _0x353c3a=_0x2f18;this[_0x353c3a(0x283)](_0x353c3a(0x1a2),_0x4d3c7b),this[_0x353c3a(0x1e1)](),this[_0x353c3a(0x260)](_0x353c3a(0x1a2))===0x0&&this['emit'](_0x353c3a(0x1a2),_0x1ace93);}function _0x1cfd39(_0x407d30,_0x56088c){const _0x3db7ef=_0x2f18;let _0x5aa936=!0x0;const _0xd6e1d0=new _0x1ab760({..._0x56088c,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x407d30['on'](_0x3db7ef(0x2d6),function(_0x2160aa,_0x278087){const _0x5c3a1b=_0x3db7ef,_0x56cc0b=!_0x278087&&_0xd6e1d0['_readableState']['objectMode']?_0x2160aa[_0x5c3a1b(0x2d9)]():_0x2160aa;_0xd6e1d0[_0x5c3a1b(0x230)](_0x56cc0b)||_0x407d30['pause']();}),_0x407d30[_0x3db7ef(0x2cd)](_0x3db7ef(0x1a2),function(_0x4a55dd){const _0x4e650e=_0x3db7ef;_0xd6e1d0[_0x4e650e(0x1e5)]||(_0x5aa936=!0x1,_0xd6e1d0[_0x4e650e(0x1e1)](_0x4a55dd));}),_0x407d30[_0x3db7ef(0x2cd)](_0x3db7ef(0x1ba),function(){_0xd6e1d0['destroyed']||_0xd6e1d0['push'](null);}),_0xd6e1d0[_0x3db7ef(0x2ab)]=function(_0x4a594b,_0x4a04bc){const _0x5bf862=_0x3db7ef;if(_0x407d30[_0x5bf862(0x223)]===_0x407d30[_0x5bf862(0x1fb)]){_0x4a04bc(_0x4a594b),process[_0x5bf862(0x1f3)](_0x51dbc4,_0xd6e1d0);return;}let _0x1ca5fa=!0x1;_0x407d30['once'](_0x5bf862(0x1a2),function(_0x3c22a4){_0x1ca5fa=!0x0,_0x4a04bc(_0x3c22a4);}),_0x407d30[_0x5bf862(0x2cd)](_0x5bf862(0x1ba),function(){_0x1ca5fa||_0x4a04bc(_0x4a594b),process['nextTick'](_0x51dbc4,_0xd6e1d0);}),_0x5aa936&&_0x407d30['terminate']();},_0xd6e1d0[_0x3db7ef(0x1ee)]=function(_0x5784ac){const _0x168796=_0x3db7ef;if(_0x407d30[_0x168796(0x223)]===_0x407d30[_0x168796(0x25e)]){_0x407d30[_0x168796(0x2cd)](_0x168796(0x18c),function(){const _0x1b16da=_0x168796;_0xd6e1d0[_0x1b16da(0x1ee)](_0x5784ac);});return;}_0x407d30[_0x168796(0x330)]!==null&&(_0x407d30['_socket'][_0x168796(0x25d)][_0x168796(0x2c8)]?(_0x5784ac(),_0xd6e1d0[_0x168796(0x212)][_0x168796(0x277)]&&_0xd6e1d0[_0x168796(0x1e1)]()):(_0x407d30[_0x168796(0x330)][_0x168796(0x2cd)](_0x168796(0x18f),function(){_0x5784ac();}),_0x407d30[_0x168796(0x1ba)]()));},_0xd6e1d0[_0x3db7ef(0x1d3)]=function(){const _0x1ade3b=_0x3db7ef;_0x407d30[_0x1ade3b(0x28c)]&&_0x407d30[_0x1ade3b(0x328)]();},_0xd6e1d0[_0x3db7ef(0x1ae)]=function(_0x4154ba,_0xf1ec60,_0x449532){const _0x1d7640=_0x3db7ef;if(_0x407d30[_0x1d7640(0x223)]===_0x407d30[_0x1d7640(0x25e)]){_0x407d30[_0x1d7640(0x2cd)]('open',function(){_0xd6e1d0['_write'](_0x4154ba,_0xf1ec60,_0x449532);});return;}_0x407d30['send'](_0x4154ba,_0x449532);},_0xd6e1d0['on'](_0x3db7ef(0x2f8),_0x9b8a50),_0xd6e1d0['on']('error',_0x4d3c7b),_0xd6e1d0;}return Oe=_0x1cfd39,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=Wt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x1d5825}=ne();function _0x6336a0(_0x44674c){const _0x34a14e=_0x2f18,_0x3a798b=new Set();let _0x141a3f=-0x1,_0x37862a=-0x1,_0x366cc1=0x0;for(_0x366cc1;_0x366cc1<_0x44674c[_0x34a14e(0x303)];_0x366cc1++){const _0x5141cc=_0x44674c['charCodeAt'](_0x366cc1);if(_0x37862a===-0x1&&_0x1d5825[_0x5141cc]===0x1)_0x141a3f===-0x1&&(_0x141a3f=_0x366cc1);else{if(_0x366cc1!==0x0&&(_0x5141cc===0x20||_0x5141cc===0x9))_0x37862a===-0x1&&_0x141a3f!==-0x1&&(_0x37862a=_0x366cc1);else{if(_0x5141cc===0x2c){if(_0x141a3f===-0x1)throw new SyntaxError(_0x34a14e(0x2b0)+_0x366cc1);_0x37862a===-0x1&&(_0x37862a=_0x366cc1);const _0x42f075=_0x44674c[_0x34a14e(0x2df)](_0x141a3f,_0x37862a);if(_0x3a798b[_0x34a14e(0x32b)](_0x42f075))throw new SyntaxError(_0x34a14e(0x1d5)+_0x42f075+_0x34a14e(0x1da));_0x3a798b[_0x34a14e(0x208)](_0x42f075),_0x141a3f=_0x37862a=-0x1;}else throw new SyntaxError(_0x34a14e(0x2b0)+_0x366cc1);}}}if(_0x141a3f===-0x1||_0x37862a!==-0x1)throw new SyntaxError(_0x34a14e(0x1c1));const _0x2c1fc4=_0x44674c[_0x34a14e(0x2df)](_0x141a3f,_0x366cc1);if(_0x3a798b[_0x34a14e(0x32b)](_0x2c1fc4))throw new SyntaxError('The\x20\x22'+_0x2c1fc4+_0x34a14e(0x1da));return _0x3a798b['add'](_0x2c1fc4),_0x3a798b;}return Ce={'parse':_0x6336a0},Ce;}var Te,ot;function er(){const _0x32fda6=_0x56ade3;if(ot)return Te;ot=0x1;const _0x4060c5=_0x123739,_0x1c420f=_0x54e74c,{Duplex:_0x1b802e}=_0x33dc7b,{createHash:_0x5c8355}=_0x3fe3c4,_0x2eb8df=pt(),_0x42fc3f=he(),_0x479ff4=Jt(),_0x5aed3c=Ie(),{GUID:_0x153117,kWebSocket:_0x26f381}=V(),_0x31ec9a=/^[+/0-9A-Za-z]{22}==$/,_0x24ebb8=0x0,_0x4a168a=0x1,_0x979670=0x2;class _0x39ad33 extends _0x4060c5{constructor(_0x20f549,_0x5a67eb){const _0x5efeb3=_0x2f18;if(super(),_0x20f549={'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':_0x5aed3c,..._0x20f549},_0x20f549[_0x5efeb3(0x2b3)]==null&&!_0x20f549[_0x5efeb3(0x252)]&&!_0x20f549[_0x5efeb3(0x1c2)]||_0x20f549['port']!=null&&(_0x20f549[_0x5efeb3(0x252)]||_0x20f549[_0x5efeb3(0x1c2)])||_0x20f549[_0x5efeb3(0x252)]&&_0x20f549[_0x5efeb3(0x1c2)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x20f549[_0x5efeb3(0x2b3)]!=null?(this[_0x5efeb3(0x1e4)]=_0x1c420f[_0x5efeb3(0x2ad)]((_0x372c76,_0x31c6b2)=>{const _0x267132=_0x5efeb3,_0x33fd0=_0x1c420f[_0x267132(0x22b)][0x1aa];_0x31c6b2[_0x267132(0x323)](0x1aa,{'Content-Length':_0x33fd0['length'],'Content-Type':_0x267132(0x2ce)}),_0x31c6b2['end'](_0x33fd0);}),this['_server']['listen'](_0x20f549[_0x5efeb3(0x2b3)],_0x20f549[_0x5efeb3(0x2e4)],_0x20f549[_0x5efeb3(0x236)],_0x5a67eb)):_0x20f549[_0x5efeb3(0x252)]&&(this['_server']=_0x20f549[_0x5efeb3(0x252)]),this['_server']){const _0x8034f1=this[_0x5efeb3(0x2bc)][_0x5efeb3(0x295)](this,'connection');this['_removeListeners']=_0x512046(this[_0x5efeb3(0x1e4)],{'listening':this[_0x5efeb3(0x2bc)][_0x5efeb3(0x295)](this,_0x5efeb3(0x1f6)),'error':this[_0x5efeb3(0x2bc)]['bind'](this,_0x5efeb3(0x1a2)),'upgrade':(_0x5b82c1,_0x5c861f,_0x1d8475)=>{const _0x5dcd4e=_0x5efeb3;this[_0x5dcd4e(0x324)](_0x5b82c1,_0x5c861f,_0x1d8475,_0x8034f1);}});}_0x20f549[_0x5efeb3(0x302)]===!0x0&&(_0x20f549[_0x5efeb3(0x302)]={}),_0x20f549[_0x5efeb3(0x1ec)]&&(this[_0x5efeb3(0x307)]=new Set(),this[_0x5efeb3(0x2ca)]=!0x1),this[_0x5efeb3(0x2a6)]=_0x20f549,this[_0x5efeb3(0x1cd)]=_0x24ebb8;}[_0x32fda6(0x267)](){const _0x4fc5a1=_0x32fda6;if(this[_0x4fc5a1(0x2a6)]['noServer'])throw new Error(_0x4fc5a1(0x2a1));return this['_server']?this['_server'][_0x4fc5a1(0x267)]():null;}['close'](_0x329ff6){const _0x168131=_0x32fda6;if(this[_0x168131(0x1cd)]===_0x979670){_0x329ff6&&this['once'](_0x168131(0x1ba),()=>{const _0xd4c3c2=_0x168131;_0x329ff6(new Error(_0xd4c3c2(0x204)));}),process[_0x168131(0x1f3)](_0x242fac,this);return;}if(_0x329ff6&&this[_0x168131(0x2cd)](_0x168131(0x1ba),_0x329ff6),this[_0x168131(0x1cd)]!==_0x4a168a){if(this['_state']=_0x4a168a,this[_0x168131(0x2a6)][_0x168131(0x1c2)]||this[_0x168131(0x2a6)][_0x168131(0x252)])this[_0x168131(0x1e4)]&&(this[_0x168131(0x1d0)](),this[_0x168131(0x1d0)]=this[_0x168131(0x1e4)]=null),this[_0x168131(0x307)]?this[_0x168131(0x307)]['size']?this[_0x168131(0x2ca)]=!0x0:process[_0x168131(0x1f3)](_0x242fac,this):process[_0x168131(0x1f3)](_0x242fac,this);else{const _0x3fdbe9=this[_0x168131(0x1e4)];this[_0x168131(0x1d0)](),this[_0x168131(0x1d0)]=this[_0x168131(0x1e4)]=null,_0x3fdbe9['close'](()=>{_0x242fac(this);});}}}[_0x32fda6(0x288)](_0x18bda6){const _0x342697=_0x32fda6;if(this[_0x342697(0x2a6)][_0x342697(0x1f7)]){const _0x201cc6=_0x18bda6[_0x342697(0x24f)]['indexOf']('?');if((_0x201cc6!==-0x1?_0x18bda6[_0x342697(0x24f)][_0x342697(0x2df)](0x0,_0x201cc6):_0x18bda6[_0x342697(0x24f)])!==this[_0x342697(0x2a6)][_0x342697(0x1f7)])return!0x1;}return!0x0;}[_0x32fda6(0x324)](_0x3e311d,_0x32a35b,_0x37d587,_0x4bf22e){const _0x507647=_0x32fda6;_0x32a35b['on']('error',_0x4d1dd6);const _0x16f545=_0x3e311d['headers'][_0x507647(0x2e9)],_0x4c23c5=_0x3e311d[_0x507647(0x1fc)][_0x507647(0x2a7)],_0x22b772=+_0x3e311d[_0x507647(0x1fc)][_0x507647(0x23c)];if(_0x3e311d[_0x507647(0x2f4)]!==_0x507647(0x2cb)){_0x1c27df(this,_0x3e311d,_0x32a35b,0x195,_0x507647(0x1cc));return;}if(_0x4c23c5===void 0x0||_0x4c23c5[_0x507647(0x2b1)]()!==_0x507647(0x19c)){_0x1c27df(this,_0x3e311d,_0x32a35b,0x190,_0x507647(0x249));return;}if(_0x16f545===void 0x0||!_0x31ec9a[_0x507647(0x32f)](_0x16f545)){_0x1c27df(this,_0x3e311d,_0x32a35b,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x22b772!==0xd&&_0x22b772!==0x8){_0x1c27df(this,_0x3e311d,_0x32a35b,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header',{'Sec-WebSocket-Version':_0x507647(0x2fd)});return;}if(!this['shouldHandle'](_0x3e311d)){_0x232d63(_0x32a35b,0x190);return;}const _0x310120=_0x3e311d[_0x507647(0x1fc)][_0x507647(0x32e)];let _0x5730d5=new Set();if(_0x310120!==void 0x0)try{_0x5730d5=_0x479ff4['parse'](_0x310120);}catch{_0x1c27df(this,_0x3e311d,_0x32a35b,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x48396c=_0x3e311d[_0x507647(0x1fc)]['sec-websocket-extensions'],_0x345f44={};if(this['options'][_0x507647(0x302)]&&_0x48396c!==void 0x0){const _0x33eacb=new _0x42fc3f(this[_0x507647(0x2a6)]['perMessageDeflate'],!0x0,this[_0x507647(0x2a6)][_0x507647(0x240)]);try{const _0x3d1520=_0x2eb8df['parse'](_0x48396c);_0x3d1520[_0x42fc3f[_0x507647(0x1cb)]]&&(_0x33eacb[_0x507647(0x2e8)](_0x3d1520[_0x42fc3f[_0x507647(0x1cb)]]),_0x345f44[_0x42fc3f[_0x507647(0x1cb)]]=_0x33eacb);}catch{_0x1c27df(this,_0x3e311d,_0x32a35b,0x190,_0x507647(0x20e));return;}}if(this[_0x507647(0x2a6)][_0x507647(0x23d)]){const _0x5ae08a={'origin':_0x3e311d['headers'][''+(_0x22b772===0x8?'sec-websocket-origin':'origin')],'secure':!!(_0x3e311d['socket'][_0x507647(0x1c7)]||_0x3e311d[_0x507647(0x329)][_0x507647(0x241)]),'req':_0x3e311d};if(this[_0x507647(0x2a6)][_0x507647(0x23d)][_0x507647(0x303)]===0x2){this[_0x507647(0x2a6)][_0x507647(0x23d)](_0x5ae08a,(_0x1c9e6,_0x581970,_0x71e036,_0x845bf5)=>{const _0x2e6274=_0x507647;if(!_0x1c9e6)return _0x232d63(_0x32a35b,_0x581970||0x191,_0x71e036,_0x845bf5);this[_0x2e6274(0x2e3)](_0x345f44,_0x16f545,_0x5730d5,_0x3e311d,_0x32a35b,_0x37d587,_0x4bf22e);});return;}if(!this[_0x507647(0x2a6)][_0x507647(0x23d)](_0x5ae08a))return _0x232d63(_0x32a35b,0x191);}this[_0x507647(0x2e3)](_0x345f44,_0x16f545,_0x5730d5,_0x3e311d,_0x32a35b,_0x37d587,_0x4bf22e);}[_0x32fda6(0x2e3)](_0x7cde4e,_0x574651,_0x3a399c,_0x54badc,_0x172cd4,_0x520e62,_0x5b5f47){const _0x1dc20e=_0x32fda6;if(!_0x172cd4['readable']||!_0x172cd4[_0x1dc20e(0x27f)])return _0x172cd4[_0x1dc20e(0x1e1)]();if(_0x172cd4[_0x26f381])throw new Error(_0x1dc20e(0x2ff));if(this[_0x1dc20e(0x1cd)]>_0x24ebb8)return _0x232d63(_0x172cd4,0x1f7);const _0x25f51b=[_0x1dc20e(0x2f3),_0x1dc20e(0x310),'Connection:\x20Upgrade',_0x1dc20e(0x29c)+_0x5c8355(_0x1dc20e(0x2bb))['update'](_0x574651+_0x153117)[_0x1dc20e(0x19a)](_0x1dc20e(0x19f))],_0x30fccd=new this[(_0x1dc20e(0x2a6))]['WebSocket'](null,void 0x0,this['options']);if(_0x3a399c[_0x1dc20e(0x2ee)]){const _0x20f69a=this[_0x1dc20e(0x2a6)]['handleProtocols']?this['options'][_0x1dc20e(0x218)](_0x3a399c,_0x54badc):_0x3a399c[_0x1dc20e(0x2b4)]()[_0x1dc20e(0x2c2)]()['value'];_0x20f69a&&(_0x25f51b['push'](_0x1dc20e(0x1bb)+_0x20f69a),_0x30fccd[_0x1dc20e(0x1e2)]=_0x20f69a);}if(_0x7cde4e[_0x42fc3f['extensionName']]){const _0x2fdddb=_0x7cde4e[_0x42fc3f['extensionName']]['params'],_0x85c758=_0x2eb8df['format']({[_0x42fc3f[_0x1dc20e(0x1cb)]]:[_0x2fdddb]});_0x25f51b[_0x1dc20e(0x230)](_0x1dc20e(0x238)+_0x85c758),_0x30fccd[_0x1dc20e(0x2f7)]=_0x7cde4e;}this[_0x1dc20e(0x2bc)](_0x1dc20e(0x1fc),_0x25f51b,_0x54badc),_0x172cd4[_0x1dc20e(0x2dd)](_0x25f51b[_0x1dc20e(0x216)]('\x0d\x0a')[_0x1dc20e(0x23a)]('\x0d\x0a')),_0x172cd4[_0x1dc20e(0x283)](_0x1dc20e(0x1a2),_0x4d1dd6),_0x30fccd[_0x1dc20e(0x290)](_0x172cd4,_0x520e62,{'allowSynchronousEvents':this[_0x1dc20e(0x2a6)][_0x1dc20e(0x2c1)],'maxPayload':this[_0x1dc20e(0x2a6)]['maxPayload'],'skipUTF8Validation':this[_0x1dc20e(0x2a6)][_0x1dc20e(0x2c7)]}),this['clients']&&(this[_0x1dc20e(0x307)]['add'](_0x30fccd),_0x30fccd['on']('close',()=>{const _0x23b150=_0x1dc20e;this[_0x23b150(0x307)][_0x23b150(0x2ef)](_0x30fccd),this[_0x23b150(0x2ca)]&&!this[_0x23b150(0x307)][_0x23b150(0x2ee)]&&process[_0x23b150(0x1f3)](_0x242fac,this);})),_0x5b5f47(_0x30fccd,_0x54badc);}}Te=_0x39ad33;function _0x512046(_0x2f6d0d,_0x3a0d44){for(const _0x249296 of Object['keys'](_0x3a0d44))_0x2f6d0d['on'](_0x249296,_0x3a0d44[_0x249296]);return function(){const _0x293aab=_0x2f18;for(const _0x408f1c of Object[_0x293aab(0x2c6)](_0x3a0d44))_0x2f6d0d[_0x293aab(0x283)](_0x408f1c,_0x3a0d44[_0x408f1c]);};}function _0x242fac(_0xd7cf98){const _0x97dcbd=_0x32fda6;_0xd7cf98[_0x97dcbd(0x1cd)]=_0x979670,_0xd7cf98['emit'](_0x97dcbd(0x1ba));}function _0x4d1dd6(){this['destroy']();}function _0x232d63(_0x1248d2,_0x199fac,_0x33ff6e,_0x495287){const _0x4dfac7=_0x32fda6;_0x33ff6e=_0x33ff6e||_0x1c420f[_0x4dfac7(0x22b)][_0x199fac],_0x495287={'Connection':_0x4dfac7(0x1ba),'Content-Type':'text/html','Content-Length':Buffer['byteLength'](_0x33ff6e),..._0x495287},_0x1248d2['once'](_0x4dfac7(0x18f),_0x1248d2[_0x4dfac7(0x1e1)]),_0x1248d2[_0x4dfac7(0x2f8)]('HTTP/1.1\x20'+_0x199fac+'\x20'+_0x1c420f[_0x4dfac7(0x22b)][_0x199fac]+'\x0d\x0a'+Object['keys'](_0x495287)[_0x4dfac7(0x1cf)](_0x76ac6c=>_0x76ac6c+':\x20'+_0x495287[_0x76ac6c])[_0x4dfac7(0x23a)]('\x0d\x0a')+_0x4dfac7(0x2d8)+_0x33ff6e);}function _0x1c27df(_0x3aa8a5,_0x37fde0,_0x35faac,_0x56bb03,_0x509d55,_0x5d5615){const _0x2176ba=_0x32fda6;if(_0x3aa8a5[_0x2176ba(0x260)](_0x2176ba(0x2e2))){const _0x1bb71c=new Error(_0x509d55);Error[_0x2176ba(0x2b7)](_0x1bb71c,_0x1c27df),_0x3aa8a5[_0x2176ba(0x2bc)](_0x2176ba(0x2e2),_0x1bb71c,_0x35faac,_0x37fde0);}else _0x232d63(_0x35faac,_0x56bb03,_0x509d55,_0x5d5615);}return Te;}er();var tr=Object[_0x56ade3(0x22f)],rr=(_0x37cbc2,_0x21aa0b,_0x393342,_0x264b97)=>{const _0x24615a=_0x56ade3;for(var _0x463968=_0x264b97>0x1?void 0x0:_0x264b97?tr(_0x21aa0b,_0x393342):_0x21aa0b,_0x7339d=_0x37cbc2[_0x24615a(0x303)]-0x1,_0x2ed286;_0x7339d>=0x0;_0x7339d--)(_0x2ed286=_0x37cbc2[_0x7339d])&&(_0x463968=_0x2ed286(_0x463968)||_0x463968);return _0x463968;},sr=(_0x291937,_0x59d390)=>(_0x10fd00,_0x192393)=>_0x59d390(_0x10fd00,_0x192393,_0x291937);let Ne=class extends _0x2b1850{constructor(_0x27f68f){const _0x1d1eab=_0x56ade3;super(),this[_0x1d1eab(0x225)]=_0x27f68f;}[_0x56ade3(0x1ca)](_0x50316a){const _0x5097ed=_0x56ade3;var _0x1cb817;const _0x4dfab1=(_0x1cb817=this[_0x5097ed(0x225)]['getConfig'](Be))==null?void 0x0:_0x1cb817[_0x5097ed(0x22c)];try{const _0x4e60bb=new Qt(_0x50316a,{'headers':{..._0x4dfab1}}),_0x5e6faf=new _0x350fbb();return{'URL':_0x50316a,'close':(_0x36e882,_0x10d594)=>{const _0x447c13=_0x5097ed;_0x4e60bb[_0x447c13(0x1ba)](_0x36e882,_0x10d594),_0x5e6faf[_0x447c13(0x1a7)]();},'send':_0x8a9f5c=>{_0x4e60bb['send'](_0x8a9f5c);},'open$':new _0x5afbe1(_0x335b63=>{const _0x2203c9=_0x5097ed,_0x2d4e0e=_0x501f1e=>_0x335b63[_0x2203c9(0x2c2)](_0x501f1e);_0x4e60bb['addEventListener'](_0x2203c9(0x18c),_0x2d4e0e),_0x5e6faf[_0x2203c9(0x208)](_0x3e5826(()=>_0x4e60bb[_0x2203c9(0x32d)](_0x2203c9(0x18c),_0x2d4e0e)));})[_0x5097ed(0x1b7)](_0x3b438f()),'close$':new _0x5afbe1(_0x44d20f=>{const _0x47db18=_0x5097ed,_0xe47779=_0x123183=>_0x44d20f[_0x47db18(0x2c2)](_0x123183);_0x4e60bb[_0x47db18(0x1fe)](_0x47db18(0x1ba),_0xe47779),_0x5e6faf['add'](_0x3e5826(()=>_0x4e60bb[_0x47db18(0x32d)]('close',_0xe47779)));})[_0x5097ed(0x1b7)](_0x3b438f()),'error$':new _0x5afbe1(_0x48fd83=>{const _0x1161d4=_0x5097ed,_0x3ade3e=_0x3d0b3b=>_0x48fd83['next'](_0x3d0b3b);_0x4e60bb[_0x1161d4(0x1fe)]('error',_0x3ade3e),_0x5e6faf[_0x1161d4(0x208)](_0x3e5826(()=>_0x4e60bb['removeEventListener'](_0x1161d4(0x1a2),_0x3ade3e)));})['pipe'](_0x3b438f()),'message$':new _0x5afbe1(_0x4b6bc9=>{const _0x480387=_0x5097ed,_0x45af28=_0x148657=>_0x4b6bc9[_0x480387(0x2c2)](_0x148657);_0x4e60bb[_0x480387(0x1fe)](_0x480387(0x2d6),_0x45af28),_0x5e6faf[_0x480387(0x208)](_0x3e5826(()=>_0x4e60bb['removeEventListener'](_0x480387(0x2d6),_0x45af28)));})[_0x5097ed(0x1b7)](_0x3b438f())};}catch(_0x453784){return console[_0x5097ed(0x1a2)](_0x453784),null;}}};Ne=rr([sr(0x0,_0x4f6291)],Ne);var ir=Object['defineProperty'],nr=Object[_0x56ade3(0x22f)],or=(_0x40e455,_0x4ea4c6,_0x741ff1)=>_0x4ea4c6 in _0x40e455?ir(_0x40e455,_0x4ea4c6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x741ff1}):_0x40e455[_0x4ea4c6]=_0x741ff1,ar=(_0x5cdeb1,_0x135ebe,_0x5ebd2b,_0x5a28ef)=>{const _0x5be5d5=_0x56ade3;for(var _0x13ed33=_0x5a28ef>0x1?void 0x0:_0x5a28ef?nr(_0x135ebe,_0x5ebd2b):_0x135ebe,_0x548341=_0x5cdeb1[_0x5be5d5(0x303)]-0x1,_0x2578fd;_0x548341>=0x0;_0x548341--)(_0x2578fd=_0x5cdeb1[_0x548341])&&(_0x13ed33=_0x2578fd(_0x13ed33)||_0x13ed33);return _0x13ed33;},ke=(_0x2564ec,_0x11e218)=>(_0x4ff2a1,_0xa38a7e)=>_0x11e218(_0x4ff2a1,_0xa38a7e,_0x2564ec),lr=(_0x4ecdef,_0x2b2b53,_0x5ca8dd)=>or(_0x4ecdef,_0x2b2b53+'',_0x5ca8dd);let Pe=class extends _0x5879a0{constructor(_0x2faf4b=Ft,_0x3c09c3,_0x220a3e,_0x157666){const _0x2f8d88=_0x56ade3;_0x2faf4b[_0x2f8d88(0x22c)]||_0x3c09c3[_0x2f8d88(0x2f5)](_0x2f8d88(0x269)),super(),this[_0x2f8d88(0x225)]=_0x220a3e,this[_0x2f8d88(0x2c3)]=_0x157666,this['_configService'][_0x2f8d88(0x2e0)](Be,_0x2faf4b);}[_0x56ade3(0x2a8)](){const _0x508911=_0x56ade3;this[_0x508911(0x199)]();}[_0x56ade3(0x199)](){const _0x349be4=_0x56ade3;_0xbdc34d(this[_0x349be4(0x2c3)],[[_0x22431b,{'useClass':Ne}]]);}};lr(Pe,_0x56ade3(0x24b),_0x56ade3(0x1d9)),Pe=ar([_0x30b01b(_0x48316f),ke(0x1,_0xe544ef),ke(0x2,_0x4f6291),ke(0x3,_0x2c3e1c(_0x473f38))],Pe);var fr=Object[_0x56ade3(0x22f)],cr=(_0x870337,_0x381746,_0x245a1a,_0x3f8579)=>{const _0x49a82a=_0x56ade3;for(var _0x1fe589=_0x3f8579>0x1?void 0x0:_0x3f8579?fr(_0x381746,_0x245a1a):_0x381746,_0x4418ee=_0x870337[_0x49a82a(0x303)]-0x1,_0x46e6ca;_0x4418ee>=0x0;_0x4418ee--)(_0x46e6ca=_0x870337[_0x4418ee])&&(_0x1fe589=_0x46e6ca(_0x1fe589)||_0x1fe589);return _0x1fe589;},se=(_0x1c7bc2,_0x1ef0fa)=>(_0x2eae96,_0x2e6458)=>_0x1ef0fa(_0x2eae96,_0x2e6458,_0x1c7bc2);let at=class extends _0x3e889e{constructor(_0x64a8cb,_0x384302,_0xf3a7d0,_0x20507c,_0x5c8ffb){const _0x3ae5fd=_0x56ade3;super(_0x64a8cb,_0x384302,_0xf3a7d0,_0x20507c,_0x5c8ffb);const _0x126f95=this[_0x3ae5fd(0x225)][_0x3ae5fd(0x2be)](Be);this[_0x3ae5fd(0x2b8)]['registerHTTPInterceptor']({'interceptor':(_0x62e556,_0xe299d8)=>{const _0x1decd7=_0x3ae5fd;var _0x2d3df4;const _0x4e1b6c=_0x62e556['headers'];return(_0x2d3df4=_0x126f95==null?void 0x0:_0x126f95[_0x1decd7(0x22c)])!=null&&_0x2d3df4['cookie']&&_0x4e1b6c[_0x1decd7(0x318)]('Cookie',_0x126f95['customHeaders']['cookie']),_0xe299d8(_0x62e556);}});}async[_0x56ade3(0x1ca)](_0x8c6cd9){return this['_doCreateSocket'](_0x8c6cd9);}};at=cr([se(0x0,_0x2c3e1c(_0x473f38)),se(0x1,_0x2c3e1c(_0x3daff5)),se(0x2,_0x4f6291),se(0x3,_0xe544ef),se(0x4,_0xef8f97)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
|