@univerjs-pro/collaboration-client-node 0.6.10-experimental.20250427-89a0949 → 0.6.10-experimental.20250427-825ae55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +6 -6
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x204d8e=_0x26e0;(function(_0x4bb15f,_0x177304){const _0x2e908c=_0x26e0,_0x3f06cf=_0x4bb15f();while(!![]){try{const _0x226a66=parseInt(_0x2e908c(0x303))/0x1*(parseInt(_0x2e908c(0x36b))/0x2)+-parseInt(_0x2e908c(0x270))/0x3*(-parseInt(_0x2e908c(0x30b))/0x4)+parseInt(_0x2e908c(0x1da))/0x5*(-parseInt(_0x2e908c(0x216))/0x6)+-parseInt(_0x2e908c(0x1af))/0x7*(parseInt(_0x2e908c(0x1ad))/0x8)+-parseInt(_0x2e908c(0x1a9))/0x9*(-parseInt(_0x2e908c(0x233))/0xa)+-parseInt(_0x2e908c(0x25d))/0xb*(-parseInt(_0x2e908c(0x291))/0xc)+parseInt(_0x2e908c(0x28c))/0xd*(parseInt(_0x2e908c(0x248))/0xe);if(_0x226a66===_0x177304)break;else _0x3f06cf['push'](_0x3f06cf['shift']());}catch(_0x1f7e7b){_0x3f06cf['push'](_0x3f06cf['shift']());}}}(_0x27df,0x26235));Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x204d8e(0x2a4)});const st=require(_0x204d8e(0x1ab)),A=require(_0x204d8e(0x2db)),it=require(_0x204d8e(0x25c)),V=require(_0x204d8e(0x27c)),nt=require(_0x204d8e(0x34d)),vt=require(_0x204d8e(0x1d6)),ot=require('http'),St=require('net'),Et=require('tls'),Le=require(_0x204d8e(0x298)),oe=require('stream'),xt=require('url'),bt=require(_0x204d8e(0x230)),wt=require(_0x204d8e(0x34b)),Ot=require(_0x204d8e(0x36e)),fe=_0x204d8e(0x239),Ct={'customHeaders':{}};function Tt(_0x608400){const _0x6a362c=_0x204d8e;return _0x608400&&_0x608400[_0x6a362c(0x1dd)]&&Object[_0x6a362c(0x1a7)][_0x6a362c(0x34e)]['call'](_0x608400,_0x6a362c(0x258))?_0x608400[_0x6a362c(0x258)]:_0x608400;}function at(_0x5003f7){const _0x4d7e18=_0x204d8e;if(Object[_0x4d7e18(0x1a7)][_0x4d7e18(0x34e)][_0x4d7e18(0x1b3)](_0x5003f7,'__esModule'))return _0x5003f7;var _0x42316b=_0x5003f7[_0x4d7e18(0x258)];if(typeof _0x42316b==_0x4d7e18(0x324)){var _0x5fe63e=function _0x1aa1a0(){const _0x423f7b=_0x4d7e18;return this instanceof _0x1aa1a0?Reflect[_0x423f7b(0x340)](_0x42316b,arguments,this[_0x423f7b(0x316)]):_0x42316b[_0x423f7b(0x1c8)](this,arguments);};_0x5fe63e[_0x4d7e18(0x1a7)]=_0x42316b['prototype'];}else _0x5fe63e={};return Object[_0x4d7e18(0x23d)](_0x5fe63e,_0x4d7e18(0x1dd),{'value':!0x0}),Object['keys'](_0x5003f7)[_0x4d7e18(0x2c7)](function(_0x26cf0b){const _0x2ea14b=_0x4d7e18;var _0x50bf18=Object[_0x2ea14b(0x332)](_0x5003f7,_0x26cf0b);Object[_0x2ea14b(0x23d)](_0x5fe63e,_0x26cf0b,_0x50bf18[_0x2ea14b(0x2e1)]?_0x50bf18:{'enumerable':!0x0,'get':function(){return _0x5003f7[_0x26cf0b];}});}),_0x5fe63e;}var se={'exports':{}},ge,Ge;function H(){const _0x6a49c7=_0x204d8e;if(Ge)return ge;Ge=0x1;const _0xfeba5b=[_0x6a49c7(0x1f6),'arraybuffer',_0x6a49c7(0x25a)],_0x33ee98=typeof Blob<'u';return _0x33ee98&&_0xfeba5b[_0x6a49c7(0x20d)](_0x6a49c7(0x29d)),ge={'BINARY_TYPES':_0xfeba5b,'EMPTY_BUFFER':Buffer[_0x6a49c7(0x296)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x33ee98,'kForOnEventAttribute':Symbol(_0x6a49c7(0x2b4)),'kListener':Symbol(_0x6a49c7(0x349)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x204d8e(0x1ee)](Object['defineProperty']({'__proto__':null,'default':Nt},Symbol['toStringTag'],{'value':_0x204d8e(0x2a4)})),Lt=at(kt);var Ve;function ce(){const _0x3df6f5=_0x204d8e;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0xccc41}=H(),_0x1ce5c0=Buffer[Symbol[_0x3df6f5(0x2cc)]];function _0x3be872(_0x24d444,_0x595826){const _0x15a948=_0x3df6f5;if(_0x24d444[_0x15a948(0x2ad)]===0x0)return _0xccc41;if(_0x24d444['length']===0x1)return _0x24d444[0x0];const _0x5d617a=Buffer[_0x15a948(0x2e6)](_0x595826);let _0x5510a3=0x0;for(let _0x326697=0x0;_0x326697<_0x24d444['length'];_0x326697++){const _0x2b0e85=_0x24d444[_0x326697];_0x5d617a[_0x15a948(0x35f)](_0x2b0e85,_0x5510a3),_0x5510a3+=_0x2b0e85[_0x15a948(0x2ad)];}return _0x5510a3<_0x595826?new _0x1ce5c0(_0x5d617a[_0x15a948(0x34b)],_0x5d617a[_0x15a948(0x27b)],_0x5510a3):_0x5d617a;}function _0x20e0cc(_0x3e6166,_0x5acd24,_0x35cbfb,_0x4b09fb,_0x112941){for(let _0x2fbe93=0x0;_0x2fbe93<_0x112941;_0x2fbe93++)_0x35cbfb[_0x4b09fb+_0x2fbe93]=_0x3e6166[_0x2fbe93]^_0x5acd24[_0x2fbe93&0x3];}function _0x4d7d9a(_0x4d3f96,_0x72be8b){const _0x1faac0=_0x3df6f5;for(let _0x577a48=0x0;_0x577a48<_0x4d3f96[_0x1faac0(0x2ad)];_0x577a48++)_0x4d3f96[_0x577a48]^=_0x72be8b[_0x577a48&0x3];}function _0x293bee(_0x44119f){const _0x396a09=_0x3df6f5;return _0x44119f['length']===_0x44119f[_0x396a09(0x34b)][_0x396a09(0x320)]?_0x44119f[_0x396a09(0x34b)]:_0x44119f[_0x396a09(0x34b)]['slice'](_0x44119f[_0x396a09(0x27b)],_0x44119f[_0x396a09(0x27b)]+_0x44119f['length']);}function _0xc1f1aa(_0x5ab2d2){const _0x2f5507=_0x3df6f5;if(_0xc1f1aa[_0x2f5507(0x29f)]=!0x0,Buffer[_0x2f5507(0x352)](_0x5ab2d2))return _0x5ab2d2;let _0x43980e;return _0x5ab2d2 instanceof ArrayBuffer?_0x43980e=new _0x1ce5c0(_0x5ab2d2):ArrayBuffer[_0x2f5507(0x26c)](_0x5ab2d2)?_0x43980e=new _0x1ce5c0(_0x5ab2d2[_0x2f5507(0x34b)],_0x5ab2d2[_0x2f5507(0x27b)],_0x5ab2d2[_0x2f5507(0x320)]):(_0x43980e=Buffer['from'](_0x5ab2d2),_0xc1f1aa[_0x2f5507(0x29f)]=!0x1),_0x43980e;}if(se[_0x3df6f5(0x335)]={'concat':_0x3be872,'mask':_0x20e0cc,'toArrayBuffer':_0x293bee,'toBuffer':_0xc1f1aa,'unmask':_0x4d7d9a},!process[_0x3df6f5(0x2a0)][_0x3df6f5(0x2c6)])try{const _0x4ae522=Lt;se[_0x3df6f5(0x335)][_0x3df6f5(0x269)]=function(_0x1ed79a,_0x753f10,_0x91e686,_0x175d65,_0x19c92b){const _0x55100a=_0x3df6f5;_0x19c92b<0x30?_0x20e0cc(_0x1ed79a,_0x753f10,_0x91e686,_0x175d65,_0x19c92b):_0x4ae522[_0x55100a(0x269)](_0x1ed79a,_0x753f10,_0x91e686,_0x175d65,_0x19c92b);},se[_0x3df6f5(0x335)][_0x3df6f5(0x367)]=function(_0x4e9fc5,_0x53a410){const _0x1c14c8=_0x3df6f5;_0x4e9fc5[_0x1c14c8(0x2ad)]<0x20?_0x4d7d9a(_0x4e9fc5,_0x53a410):_0x4ae522[_0x1c14c8(0x367)](_0x4e9fc5,_0x53a410);};}catch{}return se[_0x3df6f5(0x335)];}var ye,He;function Pt(){const _0x51fc74=_0x204d8e;if(He)return ye;He=0x1;const _0x374da2=Symbol(_0x51fc74(0x22f)),_0x1fb32a=Symbol(_0x51fc74(0x2f3));class _0x5f0937{constructor(_0x3ea620){const _0x1e3f62=_0x51fc74;this[_0x374da2]=()=>{this['pending']--,this[_0x1fb32a]();},this[_0x1e3f62(0x207)]=_0x3ea620||0x1/0x0,this[_0x1e3f62(0x2d1)]=[],this[_0x1e3f62(0x24d)]=0x0;}[_0x51fc74(0x234)](_0x2310b3){const _0x547202=_0x51fc74;this[_0x547202(0x2d1)][_0x547202(0x20d)](_0x2310b3),this[_0x1fb32a]();}[_0x1fb32a](){const _0x3ace6b=_0x51fc74;if(this[_0x3ace6b(0x24d)]!==this['concurrency']&&this['jobs'][_0x3ace6b(0x2ad)]){const _0x71f88c=this[_0x3ace6b(0x2d1)]['shift']();this['pending']++,_0x71f88c(this[_0x374da2]);}}}return ye=_0x5f0937,ye;}var ve,ze;function he(){const _0x2fc3c7=_0x204d8e;if(ze)return ve;ze=0x1;const _0x5de6f6=bt,_0x252694=ce(),_0x37ae19=Pt(),{kStatusCode:_0x1cd146}=H(),_0x486fb9=Buffer[Symbol[_0x2fc3c7(0x2cc)]],_0x29ad38=Buffer['from']([0x0,0x0,0xff,0xff]),_0x542f43=Symbol(_0x2fc3c7(0x1eb)),_0x559ec5=Symbol(_0x2fc3c7(0x19b)),_0x557a25=Symbol('callback'),_0x133501=Symbol(_0x2fc3c7(0x1aa)),_0x5ea7a0=Symbol(_0x2fc3c7(0x31f));let _0x2943a5;class _0x4d530c{constructor(_0x188aa1,_0x13a769,_0x41e71a){const _0x1de4e7=_0x2fc3c7;if(this[_0x1de4e7(0x309)]=_0x41e71a|0x0,this[_0x1de4e7(0x2b3)]=_0x188aa1||{},this[_0x1de4e7(0x19a)]=this[_0x1de4e7(0x2b3)][_0x1de4e7(0x2ec)]!==void 0x0?this[_0x1de4e7(0x2b3)][_0x1de4e7(0x2ec)]:0x400,this['_isServer']=!!_0x13a769,this['_deflate']=null,this['_inflate']=null,this['params']=null,!_0x2943a5){const _0x2a20a1=this['_options'][_0x1de4e7(0x2c5)]!==void 0x0?this[_0x1de4e7(0x2b3)][_0x1de4e7(0x2c5)]:0xa;_0x2943a5=new _0x37ae19(_0x2a20a1);}}static get[_0x2fc3c7(0x1c9)](){const _0x464439=_0x2fc3c7;return _0x464439(0x1eb);}[_0x2fc3c7(0x36c)](){const _0x45e40a=_0x2fc3c7,_0x364ae4={};return this[_0x45e40a(0x2b3)][_0x45e40a(0x22c)]&&(_0x364ae4[_0x45e40a(0x249)]=!0x0),this[_0x45e40a(0x2b3)][_0x45e40a(0x19d)]&&(_0x364ae4['client_no_context_takeover']=!0x0),this[_0x45e40a(0x2b3)][_0x45e40a(0x305)]&&(_0x364ae4[_0x45e40a(0x330)]=this['_options'][_0x45e40a(0x305)]),this[_0x45e40a(0x2b3)]['clientMaxWindowBits']?_0x364ae4[_0x45e40a(0x1d9)]=this[_0x45e40a(0x2b3)][_0x45e40a(0x2ea)]:this[_0x45e40a(0x2b3)][_0x45e40a(0x2ea)]==null&&(_0x364ae4[_0x45e40a(0x1d9)]=!0x0),_0x364ae4;}['accept'](_0x1fb29e){const _0x423c37=_0x2fc3c7;return _0x1fb29e=this['normalizeParams'](_0x1fb29e),this[_0x423c37(0x1bc)]=this[_0x423c37(0x240)]?this['acceptAsServer'](_0x1fb29e):this['acceptAsClient'](_0x1fb29e),this[_0x423c37(0x1bc)];}[_0x2fc3c7(0x2f0)](){const _0x35c09c=_0x2fc3c7;if(this[_0x35c09c(0x211)]&&(this[_0x35c09c(0x211)][_0x35c09c(0x36a)](),this[_0x35c09c(0x211)]=null),this[_0x35c09c(0x31c)]){const _0x18707e=this['_deflate'][_0x557a25];this[_0x35c09c(0x31c)][_0x35c09c(0x36a)](),this[_0x35c09c(0x31c)]=null,_0x18707e&&_0x18707e(new Error(_0x35c09c(0x26b)));}}['acceptAsServer'](_0x206bc6){const _0x4f81fd=_0x2fc3c7,_0x34f79f=this[_0x4f81fd(0x2b3)],_0x5c51e0=_0x206bc6[_0x4f81fd(0x2b1)](_0x251da1=>!(_0x34f79f['serverNoContextTakeover']===!0x1&&_0x251da1[_0x4f81fd(0x249)]||_0x251da1['server_max_window_bits']&&(_0x34f79f[_0x4f81fd(0x305)]===!0x1||typeof _0x34f79f[_0x4f81fd(0x305)]==_0x4f81fd(0x275)&&_0x34f79f[_0x4f81fd(0x305)]>_0x251da1[_0x4f81fd(0x330)])||typeof _0x34f79f['clientMaxWindowBits']==_0x4f81fd(0x275)&&!_0x251da1[_0x4f81fd(0x1d9)]));if(!_0x5c51e0)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x34f79f[_0x4f81fd(0x22c)]&&(_0x5c51e0[_0x4f81fd(0x249)]=!0x0),_0x34f79f[_0x4f81fd(0x19d)]&&(_0x5c51e0[_0x4f81fd(0x28b)]=!0x0),typeof _0x34f79f[_0x4f81fd(0x305)]==_0x4f81fd(0x275)&&(_0x5c51e0[_0x4f81fd(0x330)]=_0x34f79f[_0x4f81fd(0x305)]),typeof _0x34f79f['clientMaxWindowBits']=='number'?_0x5c51e0[_0x4f81fd(0x1d9)]=_0x34f79f[_0x4f81fd(0x2ea)]:(_0x5c51e0[_0x4f81fd(0x1d9)]===!0x0||_0x34f79f['clientMaxWindowBits']===!0x1)&&delete _0x5c51e0['client_max_window_bits'],_0x5c51e0;}[_0x2fc3c7(0x23f)](_0x342095){const _0x3483b0=_0x2fc3c7,_0x4ae585=_0x342095[0x0];if(this[_0x3483b0(0x2b3)][_0x3483b0(0x19d)]===!0x1&&_0x4ae585[_0x3483b0(0x28b)])throw new Error(_0x3483b0(0x1cc));if(!_0x4ae585[_0x3483b0(0x1d9)])typeof this[_0x3483b0(0x2b3)]['clientMaxWindowBits']==_0x3483b0(0x275)&&(_0x4ae585['client_max_window_bits']=this[_0x3483b0(0x2b3)][_0x3483b0(0x2ea)]);else{if(this['_options'][_0x3483b0(0x2ea)]===!0x1||typeof this[_0x3483b0(0x2b3)][_0x3483b0(0x2ea)]==_0x3483b0(0x275)&&_0x4ae585[_0x3483b0(0x1d9)]>this[_0x3483b0(0x2b3)][_0x3483b0(0x2ea)])throw new Error(_0x3483b0(0x353));}return _0x4ae585;}[_0x2fc3c7(0x304)](_0x3dac72){const _0xd2c170=_0x2fc3c7;return _0x3dac72[_0xd2c170(0x2c7)](_0x275b11=>{const _0x592ae2=_0xd2c170;Object[_0x592ae2(0x2d4)](_0x275b11)[_0x592ae2(0x2c7)](_0x4366d8=>{const _0x2ecf6e=_0x592ae2;let _0x259386=_0x275b11[_0x4366d8];if(_0x259386['length']>0x1)throw new Error(_0x2ecf6e(0x222)+_0x4366d8+_0x2ecf6e(0x2fd));if(_0x259386=_0x259386[0x0],_0x4366d8===_0x2ecf6e(0x1d9)){if(_0x259386!==!0x0){const _0x5efa21=+_0x259386;if(!Number['isInteger'](_0x5efa21)||_0x5efa21<0x8||_0x5efa21>0xf)throw new TypeError(_0x2ecf6e(0x2e3)+_0x4366d8+'\x22:\x20'+_0x259386);_0x259386=_0x5efa21;}else{if(!this[_0x2ecf6e(0x240)])throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x4366d8+_0x2ecf6e(0x328)+_0x259386);}}else{if(_0x4366d8===_0x2ecf6e(0x330)){const _0x3e7ef3=+_0x259386;if(!Number['isInteger'](_0x3e7ef3)||_0x3e7ef3<0x8||_0x3e7ef3>0xf)throw new TypeError(_0x2ecf6e(0x2e3)+_0x4366d8+_0x2ecf6e(0x328)+_0x259386);_0x259386=_0x3e7ef3;}else{if(_0x4366d8==='client_no_context_takeover'||_0x4366d8===_0x2ecf6e(0x249)){if(_0x259386!==!0x0)throw new TypeError(_0x2ecf6e(0x2e3)+_0x4366d8+_0x2ecf6e(0x328)+_0x259386);}else throw new Error(_0x2ecf6e(0x33a)+_0x4366d8+'\x22');}}_0x275b11[_0x4366d8]=_0x259386;});}),_0x3dac72;}[_0x2fc3c7(0x253)](_0x16e6e4,_0x4c434a,_0x2a15fd){const _0x2e6618=_0x2fc3c7;_0x2943a5[_0x2e6618(0x234)](_0x15e4eb=>{const _0x552bca=_0x2e6618;this[_0x552bca(0x215)](_0x16e6e4,_0x4c434a,(_0x239cf2,_0x1727ec)=>{_0x15e4eb(),_0x2a15fd(_0x239cf2,_0x1727ec);});});}[_0x2fc3c7(0x2f8)](_0x1e4a64,_0x31816f,_0x3e4db4){const _0x267d60=_0x2fc3c7;_0x2943a5[_0x267d60(0x234)](_0x492de7=>{this['_compress'](_0x1e4a64,_0x31816f,(_0x16603a,_0x1762cc)=>{_0x492de7(),_0x3e4db4(_0x16603a,_0x1762cc);});});}[_0x2fc3c7(0x215)](_0x3bce79,_0x3007ff,_0x481d69){const _0x497e21=_0x2fc3c7,_0x514c36=this['_isServer']?_0x497e21(0x322):_0x497e21(0x293);if(!this[_0x497e21(0x211)]){const _0x5a9300=_0x514c36+'_max_window_bits',_0x33a163=typeof this[_0x497e21(0x1bc)][_0x5a9300]!=_0x497e21(0x275)?_0x5de6f6[_0x497e21(0x235)]:this[_0x497e21(0x1bc)][_0x5a9300];this[_0x497e21(0x211)]=_0x5de6f6['createInflateRaw']({...this[_0x497e21(0x2b3)][_0x497e21(0x264)],'windowBits':_0x33a163}),this[_0x497e21(0x211)][_0x542f43]=this,this[_0x497e21(0x211)][_0x559ec5]=0x0,this[_0x497e21(0x211)][_0x133501]=[],this['_inflate']['on'](_0x497e21(0x31f),_0x1a815b),this['_inflate']['on'](_0x497e21(0x2a7),_0x268b2a);}this[_0x497e21(0x211)][_0x557a25]=_0x481d69,this['_inflate'][_0x497e21(0x314)](_0x3bce79),_0x3007ff&&this[_0x497e21(0x211)][_0x497e21(0x314)](_0x29ad38),this[_0x497e21(0x211)][_0x497e21(0x2f7)](()=>{const _0x1ce519=_0x497e21,_0x1f460a=this[_0x1ce519(0x211)][_0x5ea7a0];if(_0x1f460a){this[_0x1ce519(0x211)][_0x1ce519(0x36a)](),this[_0x1ce519(0x211)]=null,_0x481d69(_0x1f460a);return;}const _0x49a881=_0x252694[_0x1ce519(0x214)](this[_0x1ce519(0x211)][_0x133501],this['_inflate'][_0x559ec5]);this[_0x1ce519(0x211)][_0x1ce519(0x2d8)][_0x1ce519(0x212)]?(this['_inflate'][_0x1ce519(0x36a)](),this[_0x1ce519(0x211)]=null):(this[_0x1ce519(0x211)][_0x559ec5]=0x0,this[_0x1ce519(0x211)][_0x133501]=[],_0x3007ff&&this[_0x1ce519(0x1bc)][_0x514c36+_0x1ce519(0x346)]&&this['_inflate'][_0x1ce519(0x2b2)]()),_0x481d69(null,_0x49a881);});}[_0x2fc3c7(0x244)](_0x2b6836,_0x22d03f,_0x2be81d){const _0x6ceaaf=_0x2fc3c7,_0xc7e863=this[_0x6ceaaf(0x240)]?_0x6ceaaf(0x293):_0x6ceaaf(0x322);if(!this[_0x6ceaaf(0x31c)]){const _0x1c5391=_0xc7e863+_0x6ceaaf(0x272),_0x572a71=typeof this[_0x6ceaaf(0x1bc)][_0x1c5391]!=_0x6ceaaf(0x275)?_0x5de6f6['Z_DEFAULT_WINDOWBITS']:this[_0x6ceaaf(0x1bc)][_0x1c5391];this[_0x6ceaaf(0x31c)]=_0x5de6f6['createDeflateRaw']({...this[_0x6ceaaf(0x2b3)][_0x6ceaaf(0x345)],'windowBits':_0x572a71}),this[_0x6ceaaf(0x31c)][_0x559ec5]=0x0,this[_0x6ceaaf(0x31c)][_0x133501]=[],this['_deflate']['on']('data',_0x136491);}this[_0x6ceaaf(0x31c)][_0x557a25]=_0x2be81d,this[_0x6ceaaf(0x31c)]['write'](_0x2b6836),this[_0x6ceaaf(0x31c)][_0x6ceaaf(0x2f7)](_0x5de6f6[_0x6ceaaf(0x2a9)],()=>{const _0x1e1246=_0x6ceaaf;if(!this['_deflate'])return;let _0xef28ef=_0x252694[_0x1e1246(0x214)](this[_0x1e1246(0x31c)][_0x133501],this[_0x1e1246(0x31c)][_0x559ec5]);_0x22d03f&&(_0xef28ef=new _0x486fb9(_0xef28ef['buffer'],_0xef28ef[_0x1e1246(0x27b)],_0xef28ef[_0x1e1246(0x2ad)]-0x4)),this[_0x1e1246(0x31c)][_0x557a25]=null,this[_0x1e1246(0x31c)][_0x559ec5]=0x0,this[_0x1e1246(0x31c)][_0x133501]=[],_0x22d03f&&this['params'][_0xc7e863+_0x1e1246(0x346)]&&this[_0x1e1246(0x31c)]['reset'](),_0x2be81d(null,_0xef28ef);});}}ve=_0x4d530c;function _0x136491(_0xccb7be){const _0x562608=_0x2fc3c7;this[_0x133501][_0x562608(0x20d)](_0xccb7be),this[_0x559ec5]+=_0xccb7be[_0x562608(0x2ad)];}function _0x268b2a(_0x581364){const _0x2eb282=_0x2fc3c7;if(this[_0x559ec5]+=_0x581364[_0x2eb282(0x2ad)],this[_0x542f43][_0x2eb282(0x309)]<0x1||this[_0x559ec5]<=this[_0x542f43][_0x2eb282(0x309)]){this[_0x133501]['push'](_0x581364);return;}this[_0x5ea7a0]=new RangeError(_0x2eb282(0x1db)),this[_0x5ea7a0][_0x2eb282(0x1f8)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x5ea7a0][_0x1cd146]=0x3f1,this['removeListener']('data',_0x268b2a),this[_0x2eb282(0x2b2)]();}function _0x1a815b(_0x344dc2){const _0x5710ec=_0x2fc3c7;this[_0x542f43][_0x5710ec(0x211)]=null,_0x344dc2[_0x1cd146]=0x3ef,this[_0x557a25](_0x344dc2);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x204d8e(0x1ee)](Object[_0x204d8e(0x23d)]({'__proto__':null,'default':Dt},Symbol['toStringTag'],{'value':_0x204d8e(0x2a4)})),Bt=at(Rt);var Ye;function ae(){const _0x4eef08=_0x204d8e;if(Ye)return ie[_0x4eef08(0x335)];Ye=0x1;const {isUtf8:_0xb7e5da}=wt,{hasBlob:_0x5db60c}=H(),_0x3a9638=[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 _0x10a247(_0x45a180){return _0x45a180>=0x3e8&&_0x45a180<=0x3f6&&_0x45a180!==0x3ec&&_0x45a180!==0x3ed&&_0x45a180!==0x3ee||_0x45a180>=0xbb8&&_0x45a180<=0x1387;}function _0x51977a(_0x6b7b6a){const _0x379953=_0x4eef08,_0xf03660=_0x6b7b6a[_0x379953(0x2ad)];let _0xe1563d=0x0;for(;_0xe1563d<_0xf03660;)if((_0x6b7b6a[_0xe1563d]&0x80)===0x0)_0xe1563d++;else{if((_0x6b7b6a[_0xe1563d]&0xe0)===0xc0){if(_0xe1563d+0x1===_0xf03660||(_0x6b7b6a[_0xe1563d+0x1]&0xc0)!==0x80||(_0x6b7b6a[_0xe1563d]&0xfe)===0xc0)return!0x1;_0xe1563d+=0x2;}else{if((_0x6b7b6a[_0xe1563d]&0xf0)===0xe0){if(_0xe1563d+0x2>=_0xf03660||(_0x6b7b6a[_0xe1563d+0x1]&0xc0)!==0x80||(_0x6b7b6a[_0xe1563d+0x2]&0xc0)!==0x80||_0x6b7b6a[_0xe1563d]===0xe0&&(_0x6b7b6a[_0xe1563d+0x1]&0xe0)===0x80||_0x6b7b6a[_0xe1563d]===0xed&&(_0x6b7b6a[_0xe1563d+0x1]&0xe0)===0xa0)return!0x1;_0xe1563d+=0x3;}else{if((_0x6b7b6a[_0xe1563d]&0xf8)===0xf0){if(_0xe1563d+0x3>=_0xf03660||(_0x6b7b6a[_0xe1563d+0x1]&0xc0)!==0x80||(_0x6b7b6a[_0xe1563d+0x2]&0xc0)!==0x80||(_0x6b7b6a[_0xe1563d+0x3]&0xc0)!==0x80||_0x6b7b6a[_0xe1563d]===0xf0&&(_0x6b7b6a[_0xe1563d+0x1]&0xf0)===0x80||_0x6b7b6a[_0xe1563d]===0xf4&&_0x6b7b6a[_0xe1563d+0x1]>0x8f||_0x6b7b6a[_0xe1563d]>0xf4)return!0x1;_0xe1563d+=0x4;}else return!0x1;}}}return!0x0;}function _0x3e436e(_0x78e6d5){const _0x174a12=_0x4eef08;return _0x5db60c&&typeof _0x78e6d5==_0x174a12(0x1b0)&&typeof _0x78e6d5[_0x174a12(0x280)]=='function'&&typeof _0x78e6d5[_0x174a12(0x2cb)]==_0x174a12(0x2be)&&typeof _0x78e6d5[_0x174a12(0x21e)]==_0x174a12(0x324)&&(_0x78e6d5[Symbol[_0x174a12(0x2d0)]]===_0x174a12(0x1ef)||_0x78e6d5[Symbol[_0x174a12(0x2d0)]]==='File');}if(ie[_0x4eef08(0x335)]={'isBlob':_0x3e436e,'isValidStatusCode':_0x10a247,'isValidUTF8':_0x51977a,'tokenChars':_0x3a9638},_0xb7e5da)ie[_0x4eef08(0x335)][_0x4eef08(0x262)]=function(_0x452779){return _0x452779['length']<0x18?_0x51977a(_0x452779):_0xb7e5da(_0x452779);};else{if(!process[_0x4eef08(0x2a0)]['WS_NO_UTF_8_VALIDATE'])try{const _0xcb19ea=Bt;ie[_0x4eef08(0x335)][_0x4eef08(0x262)]=function(_0x7f345f){const _0x2bf94f=_0x4eef08;return _0x7f345f[_0x2bf94f(0x2ad)]<0x20?_0x51977a(_0x7f345f):_0xcb19ea(_0x7f345f);};}catch{}}return ie['exports'];}var Se,Ke;function lt(){const _0x25336e=_0x204d8e;if(Ke)return Se;Ke=0x1;const {Writable:_0x444ebf}=oe,_0x2c7f04=he(),{BINARY_TYPES:_0x40a249,EMPTY_BUFFER:_0x2b095a,kStatusCode:_0x355629,kWebSocket:_0x4e7c9f}=H(),{concat:_0x4d0031,toArrayBuffer:_0x45f711,unmask:_0x118064}=ce(),{isValidStatusCode:_0x34d463,isValidUTF8:_0x4ff20e}=ae(),_0x40f8a4=Buffer[Symbol[_0x25336e(0x2cc)]],_0x2fc35f=0x0,_0x2ed09b=0x1,_0x38ac9b=0x2,_0x2bf0f1=0x3,_0x2f251a=0x4,_0x24395c=0x5,_0x32d210=0x6;class _0x496feb extends _0x444ebf{constructor(_0x4a4f81={}){const _0x4424e2=_0x25336e;super(),this[_0x4424e2(0x261)]=_0x4a4f81[_0x4424e2(0x342)]!==void 0x0?_0x4a4f81[_0x4424e2(0x342)]:!0x0,this[_0x4424e2(0x266)]=_0x4a4f81['binaryType']||_0x40a249[0x0],this['_extensions']=_0x4a4f81[_0x4424e2(0x282)]||{},this[_0x4424e2(0x240)]=!!_0x4a4f81[_0x4424e2(0x2b7)],this[_0x4424e2(0x309)]=_0x4a4f81[_0x4424e2(0x286)]|0x0,this[_0x4424e2(0x2f4)]=!!_0x4a4f81['skipUTF8Validation'],this[_0x4e7c9f]=void 0x0,this[_0x4424e2(0x2f2)]=0x0,this[_0x4424e2(0x1d8)]=[],this[_0x4424e2(0x1a3)]=!0x1,this[_0x4424e2(0x1dc)]=0x0,this['_mask']=void 0x0,this[_0x4424e2(0x279)]=0x0,this['_masked']=!0x1,this[_0x4424e2(0x274)]=!0x1,this['_opcode']=0x0,this[_0x4424e2(0x20c)]=0x0,this['_messageLength']=0x0,this['_fragments']=[],this['_errored']=!0x1,this['_loop']=!0x1,this[_0x4424e2(0x2fa)]=_0x2fc35f;}[_0x25336e(0x2dc)](_0x73d9c2,_0x37ba7e,_0x3c3be1){const _0x22abfa=_0x25336e;if(this[_0x22abfa(0x2a3)]===0x8&&this[_0x22abfa(0x2fa)]==_0x2fc35f)return _0x3c3be1();this[_0x22abfa(0x2f2)]+=_0x73d9c2['length'],this['_buffers'][_0x22abfa(0x20d)](_0x73d9c2),this['startLoop'](_0x3c3be1);}[_0x25336e(0x356)](_0x9d7efe){const _0x544907=_0x25336e;if(this[_0x544907(0x2f2)]-=_0x9d7efe,_0x9d7efe===this[_0x544907(0x1d8)][0x0][_0x544907(0x2ad)])return this[_0x544907(0x1d8)][_0x544907(0x1b7)]();if(_0x9d7efe<this[_0x544907(0x1d8)][0x0][_0x544907(0x2ad)]){const _0x23441c=this[_0x544907(0x1d8)][0x0];return this['_buffers'][0x0]=new _0x40f8a4(_0x23441c[_0x544907(0x34b)],_0x23441c[_0x544907(0x27b)]+_0x9d7efe,_0x23441c[_0x544907(0x2ad)]-_0x9d7efe),new _0x40f8a4(_0x23441c[_0x544907(0x34b)],_0x23441c['byteOffset'],_0x9d7efe);}const _0x4b040e=Buffer['allocUnsafe'](_0x9d7efe);do{const _0x5d6b68=this['_buffers'][0x0],_0x33a507=_0x4b040e[_0x544907(0x2ad)]-_0x9d7efe;_0x9d7efe>=_0x5d6b68[_0x544907(0x2ad)]?_0x4b040e[_0x544907(0x35f)](this[_0x544907(0x1d8)][_0x544907(0x1b7)](),_0x33a507):(_0x4b040e[_0x544907(0x35f)](new Uint8Array(_0x5d6b68[_0x544907(0x34b)],_0x5d6b68['byteOffset'],_0x9d7efe),_0x33a507),this['_buffers'][0x0]=new _0x40f8a4(_0x5d6b68['buffer'],_0x5d6b68['byteOffset']+_0x9d7efe,_0x5d6b68[_0x544907(0x2ad)]-_0x9d7efe)),_0x9d7efe-=_0x5d6b68[_0x544907(0x2ad)];}while(_0x9d7efe>0x0);return _0x4b040e;}[_0x25336e(0x1f3)](_0x4b2ea4){const _0x429a46=_0x25336e;this[_0x429a46(0x26d)]=!0x0;do switch(this[_0x429a46(0x2fa)]){case _0x2fc35f:this[_0x429a46(0x32b)](_0x4b2ea4);break;case _0x2ed09b:this['getPayloadLength16'](_0x4b2ea4);break;case _0x38ac9b:this[_0x429a46(0x2e8)](_0x4b2ea4);break;case _0x2bf0f1:this[_0x429a46(0x2aa)]();break;case _0x2f251a:this[_0x429a46(0x355)](_0x4b2ea4);break;case _0x24395c:case _0x32d210:this[_0x429a46(0x26d)]=!0x1;return;}while(this['_loop']);this['_errored']||_0x4b2ea4();}[_0x25336e(0x32b)](_0x552e39){const _0x247eb5=_0x25336e;if(this[_0x247eb5(0x2f2)]<0x2){this[_0x247eb5(0x26d)]=!0x1;return;}const _0x16794e=this[_0x247eb5(0x356)](0x2);if((_0x16794e[0x0]&0x30)!==0x0){const _0x25e8b9=this[_0x247eb5(0x1b9)](RangeError,_0x247eb5(0x347),!0x0,0x3ea,_0x247eb5(0x1e1));_0x552e39(_0x25e8b9);return;}const _0x52f80d=(_0x16794e[0x0]&0x40)===0x40;if(_0x52f80d&&!this[_0x247eb5(0x2dd)][_0x2c7f04['extensionName']]){const _0x24d937=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x247eb5(0x33b));_0x552e39(_0x24d937);return;}if(this[_0x247eb5(0x274)]=(_0x16794e[0x0]&0x80)===0x80,this[_0x247eb5(0x2a3)]=_0x16794e[0x0]&0xf,this['_payloadLength']=_0x16794e[0x1]&0x7f,this[_0x247eb5(0x2a3)]===0x0){if(_0x52f80d){const _0xe31110=this[_0x247eb5(0x1b9)](RangeError,_0x247eb5(0x2cd),!0x0,0x3ea,_0x247eb5(0x33b));_0x552e39(_0xe31110);return;}if(!this[_0x247eb5(0x279)]){const _0x3951fc=this[_0x247eb5(0x1b9)](RangeError,_0x247eb5(0x241),!0x0,0x3ea,_0x247eb5(0x364));_0x552e39(_0x3951fc);return;}this[_0x247eb5(0x2a3)]=this['_fragmented'];}else{if(this['_opcode']===0x1||this[_0x247eb5(0x2a3)]===0x2){if(this[_0x247eb5(0x279)]){const _0x7a05cc=this[_0x247eb5(0x1b9)](RangeError,_0x247eb5(0x366)+this['_opcode'],!0x0,0x3ea,_0x247eb5(0x364));_0x552e39(_0x7a05cc);return;}this[_0x247eb5(0x1a3)]=_0x52f80d;}else{if(this[_0x247eb5(0x2a3)]>0x7&&this[_0x247eb5(0x2a3)]<0xb){if(!this[_0x247eb5(0x274)]){const _0xaf039a=this['createError'](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x552e39(_0xaf039a);return;}if(_0x52f80d){const _0x2b3bf1=this[_0x247eb5(0x1b9)](RangeError,_0x247eb5(0x2cd),!0x0,0x3ea,_0x247eb5(0x33b));_0x552e39(_0x2b3bf1);return;}if(this[_0x247eb5(0x1dc)]>0x7d||this['_opcode']===0x8&&this[_0x247eb5(0x1dc)]===0x1){const _0x99dabf=this[_0x247eb5(0x1b9)](RangeError,_0x247eb5(0x268)+this['_payloadLength'],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x552e39(_0x99dabf);return;}}else{const _0x5cc797=this[_0x247eb5(0x1b9)](RangeError,_0x247eb5(0x366)+this[_0x247eb5(0x2a3)],!0x0,0x3ea,_0x247eb5(0x364));_0x552e39(_0x5cc797);return;}}}if(!this[_0x247eb5(0x274)]&&!this[_0x247eb5(0x279)]&&(this['_fragmented']=this[_0x247eb5(0x2a3)]),this[_0x247eb5(0x318)]=(_0x16794e[0x1]&0x80)===0x80,this[_0x247eb5(0x240)]){if(!this['_masked']){const _0x44bfb4=this[_0x247eb5(0x1b9)](RangeError,_0x247eb5(0x1a6),!0x0,0x3ea,_0x247eb5(0x2c0));_0x552e39(_0x44bfb4);return;}}else{if(this['_masked']){const _0x2607d6=this[_0x247eb5(0x1b9)](RangeError,_0x247eb5(0x2bd),!0x0,0x3ea,_0x247eb5(0x1fb));_0x552e39(_0x2607d6);return;}}this[_0x247eb5(0x1dc)]===0x7e?this['_state']=_0x2ed09b:this['_payloadLength']===0x7f?this[_0x247eb5(0x2fa)]=_0x38ac9b:this[_0x247eb5(0x2fb)](_0x552e39);}[_0x25336e(0x27a)](_0x2611a9){const _0x13f2d6=_0x25336e;if(this[_0x13f2d6(0x2f2)]<0x2){this[_0x13f2d6(0x26d)]=!0x1;return;}this['_payloadLength']=this['consume'](0x2)['readUInt16BE'](0x0),this[_0x13f2d6(0x2fb)](_0x2611a9);}['getPayloadLength64'](_0x31ae4c){const _0xe73ea4=_0x25336e;if(this[_0xe73ea4(0x2f2)]<0x8){this[_0xe73ea4(0x26d)]=!0x1;return;}const _0x10d60c=this['consume'](0x8),_0xc63a25=_0x10d60c[_0xe73ea4(0x28a)](0x0);if(_0xc63a25>Math[_0xe73ea4(0x1b5)](0x2,0x15)-0x1){const _0x4db8ed=this[_0xe73ea4(0x1b9)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0xe73ea4(0x226));_0x31ae4c(_0x4db8ed);return;}this[_0xe73ea4(0x1dc)]=_0xc63a25*Math[_0xe73ea4(0x1b5)](0x2,0x20)+_0x10d60c[_0xe73ea4(0x28a)](0x4),this[_0xe73ea4(0x2fb)](_0x31ae4c);}[_0x25336e(0x2fb)](_0x421c04){const _0x123613=_0x25336e;if(this[_0x123613(0x1dc)]&&this['_opcode']<0x8&&(this[_0x123613(0x20c)]+=this[_0x123613(0x1dc)],this['_totalPayloadLength']>this[_0x123613(0x309)]&&this[_0x123613(0x309)]>0x0)){const _0x35f3f5=this['createError'](RangeError,_0x123613(0x1db),!0x1,0x3f1,_0x123613(0x21b));_0x421c04(_0x35f3f5);return;}this[_0x123613(0x318)]?this['_state']=_0x2bf0f1:this[_0x123613(0x2fa)]=_0x2f251a;}[_0x25336e(0x2aa)](){const _0xe6ee24=_0x25336e;if(this[_0xe6ee24(0x2f2)]<0x4){this[_0xe6ee24(0x26d)]=!0x1;return;}this[_0xe6ee24(0x313)]=this['consume'](0x4),this['_state']=_0x2f251a;}[_0x25336e(0x355)](_0x329fdf){const _0x3d0904=_0x25336e;let _0x103b51=_0x2b095a;if(this['_payloadLength']){if(this['_bufferedBytes']<this[_0x3d0904(0x1dc)]){this['_loop']=!0x1;return;}_0x103b51=this[_0x3d0904(0x356)](this['_payloadLength']),this[_0x3d0904(0x318)]&&(this[_0x3d0904(0x313)][0x0]|this['_mask'][0x1]|this['_mask'][0x2]|this[_0x3d0904(0x313)][0x3])!==0x0&&_0x118064(_0x103b51,this[_0x3d0904(0x313)]);}if(this[_0x3d0904(0x2a3)]>0x7){this[_0x3d0904(0x363)](_0x103b51,_0x329fdf);return;}if(this['_compressed']){this['_state']=_0x24395c,this[_0x3d0904(0x253)](_0x103b51,_0x329fdf);return;}_0x103b51[_0x3d0904(0x2ad)]&&(this[_0x3d0904(0x1cf)]=this[_0x3d0904(0x20c)],this['_fragments'][_0x3d0904(0x20d)](_0x103b51)),this[_0x3d0904(0x1bd)](_0x329fdf);}[_0x25336e(0x253)](_0x1e940e,_0x15adcf){const _0x26114c=_0x25336e;this[_0x26114c(0x2dd)][_0x2c7f04[_0x26114c(0x1c9)]][_0x26114c(0x253)](_0x1e940e,this[_0x26114c(0x274)],(_0x3b3523,_0x52d19f)=>{const _0x257b96=_0x26114c;if(_0x3b3523)return _0x15adcf(_0x3b3523);if(_0x52d19f['length']){if(this[_0x257b96(0x1cf)]+=_0x52d19f[_0x257b96(0x2ad)],this[_0x257b96(0x1cf)]>this[_0x257b96(0x309)]&&this[_0x257b96(0x309)]>0x0){const _0x170226=this[_0x257b96(0x1b9)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x257b96(0x21b));_0x15adcf(_0x170226);return;}this[_0x257b96(0x26a)][_0x257b96(0x20d)](_0x52d19f);}this[_0x257b96(0x1bd)](_0x15adcf),this['_state']===_0x2fc35f&&this[_0x257b96(0x1f3)](_0x15adcf);});}[_0x25336e(0x1bd)](_0x3044cb){const _0x22a8b8=_0x25336e;if(!this[_0x22a8b8(0x274)]){this[_0x22a8b8(0x2fa)]=_0x2fc35f;return;}const _0x55746a=this['_messageLength'],_0x12f92f=this[_0x22a8b8(0x26a)];if(this[_0x22a8b8(0x20c)]=0x0,this['_messageLength']=0x0,this[_0x22a8b8(0x279)]=0x0,this[_0x22a8b8(0x26a)]=[],this[_0x22a8b8(0x2a3)]===0x2){let _0x30a38f;this['_binaryType']===_0x22a8b8(0x1f6)?_0x30a38f=_0x4d0031(_0x12f92f,_0x55746a):this['_binaryType']===_0x22a8b8(0x25b)?_0x30a38f=_0x45f711(_0x4d0031(_0x12f92f,_0x55746a)):this['_binaryType']===_0x22a8b8(0x29d)?_0x30a38f=new Blob(_0x12f92f):_0x30a38f=_0x12f92f,this[_0x22a8b8(0x261)]?(this[_0x22a8b8(0x277)](_0x22a8b8(0x2bc),_0x30a38f,!0x0),this[_0x22a8b8(0x2fa)]=_0x2fc35f):(this[_0x22a8b8(0x2fa)]=_0x32d210,setImmediate(()=>{const _0x2bd377=_0x22a8b8;this['emit'](_0x2bd377(0x2bc),_0x30a38f,!0x0),this[_0x2bd377(0x2fa)]=_0x2fc35f,this[_0x2bd377(0x1f3)](_0x3044cb);}));}else{const _0xbce32b=_0x4d0031(_0x12f92f,_0x55746a);if(!this[_0x22a8b8(0x2f4)]&&!_0x4ff20e(_0xbce32b)){const _0x40699c=this[_0x22a8b8(0x1b9)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x22a8b8(0x1c7));_0x3044cb(_0x40699c);return;}this[_0x22a8b8(0x2fa)]===_0x24395c||this[_0x22a8b8(0x261)]?(this[_0x22a8b8(0x277)](_0x22a8b8(0x2bc),_0xbce32b,!0x1),this['_state']=_0x2fc35f):(this[_0x22a8b8(0x2fa)]=_0x32d210,setImmediate(()=>{const _0x2545a7=_0x22a8b8;this[_0x2545a7(0x277)]('message',_0xbce32b,!0x1),this[_0x2545a7(0x2fa)]=_0x2fc35f,this[_0x2545a7(0x1f3)](_0x3044cb);}));}}[_0x25336e(0x363)](_0x49ff47,_0x4f304a){const _0xf29d43=_0x25336e;if(this['_opcode']===0x8){if(_0x49ff47['length']===0x0)this[_0xf29d43(0x26d)]=!0x1,this[_0xf29d43(0x277)]('conclude',0x3ed,_0x2b095a),this[_0xf29d43(0x19c)]();else{const _0x1a6b32=_0x49ff47[_0xf29d43(0x31d)](0x0);if(!_0x34d463(_0x1a6b32)){const _0x2387fd=this[_0xf29d43(0x1b9)](RangeError,_0xf29d43(0x35c)+_0x1a6b32,!0x0,0x3ea,_0xf29d43(0x1ff));_0x4f304a(_0x2387fd);return;}const _0x4852a6=new _0x40f8a4(_0x49ff47[_0xf29d43(0x34b)],_0x49ff47['byteOffset']+0x2,_0x49ff47[_0xf29d43(0x2ad)]-0x2);if(!this[_0xf29d43(0x2f4)]&&!_0x4ff20e(_0x4852a6)){const _0x1aa116=this['createError'](Error,_0xf29d43(0x198),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x4f304a(_0x1aa116);return;}this[_0xf29d43(0x26d)]=!0x1,this[_0xf29d43(0x277)](_0xf29d43(0x33e),_0x1a6b32,_0x4852a6),this[_0xf29d43(0x19c)]();}this[_0xf29d43(0x2fa)]=_0x2fc35f;return;}this[_0xf29d43(0x261)]?(this['emit'](this[_0xf29d43(0x2a3)]===0x9?_0xf29d43(0x1b6):'pong',_0x49ff47),this['_state']=_0x2fc35f):(this[_0xf29d43(0x2fa)]=_0x32d210,setImmediate(()=>{const _0x27a97a=_0xf29d43;this[_0x27a97a(0x277)](this[_0x27a97a(0x2a3)]===0x9?_0x27a97a(0x1b6):'pong',_0x49ff47),this['_state']=_0x2fc35f,this[_0x27a97a(0x1f3)](_0x4f304a);}));}[_0x25336e(0x1b9)](_0x536dd3,_0x2ba104,_0x1c58ce,_0x15994,_0x165ced){const _0x50dd02=_0x25336e;this['_loop']=!0x1,this[_0x50dd02(0x27f)]=!0x0;const _0x575dde=new _0x536dd3(_0x1c58ce?'Invalid\x20WebSocket\x20frame:\x20'+_0x2ba104:_0x2ba104);return Error['captureStackTrace'](_0x575dde,this['createError']),_0x575dde[_0x50dd02(0x1f8)]=_0x165ced,_0x575dde[_0x355629]=_0x15994,_0x575dde;}}return Se=_0x496feb,Se;}var Ee,Xe;function ft(){const _0xf0721a=_0x204d8e;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x2c668c}=oe,{randomFillSync:_0x28565d}=Le,_0x499460=he(),{EMPTY_BUFFER:_0xb7586b,kWebSocket:_0x2fe316,NOOP:_0x2884cd}=H(),{isBlob:_0x2d7d38,isValidStatusCode:_0xfd1953}=ae(),{mask:_0x5dcda2,toBuffer:_0x4f61d1}=ce(),_0x233747=Symbol('kByteLength'),_0xac0e=Buffer[_0xf0721a(0x296)](0x4),_0x2f3958=0x8*0x400;let _0x5a0be1,_0x2cfb43=_0x2f3958;const _0x459f7d=0x0,_0xf55d5a=0x1,_0x29bdac=0x2;class _0x57dcaf{constructor(_0x5b8db9,_0x19bbe5,_0x52bd91){const _0x4c07fb=_0xf0721a;this[_0x4c07fb(0x2dd)]=_0x19bbe5||{},_0x52bd91&&(this['_generateMask']=_0x52bd91,this['_maskBuffer']=Buffer['alloc'](0x4)),this[_0x4c07fb(0x2ca)]=_0x5b8db9,this['_firstFragment']=!0x0,this[_0x4c07fb(0x244)]=!0x1,this[_0x4c07fb(0x2f2)]=0x0,this['_queue']=[],this[_0x4c07fb(0x2fa)]=_0x459f7d,this[_0x4c07fb(0x315)]=_0x2884cd,this[_0x2fe316]=void 0x0;}static[_0xf0721a(0x2d5)](_0x3840f2,_0x4887a8){const _0x561346=_0xf0721a;let _0x31e8e6,_0x336da3=!0x1,_0x45cf0c=0x2,_0x2d7628=!0x1;_0x4887a8[_0x561346(0x269)]&&(_0x31e8e6=_0x4887a8[_0x561346(0x210)]||_0xac0e,_0x4887a8[_0x561346(0x2d3)]?_0x4887a8[_0x561346(0x2d3)](_0x31e8e6):(_0x2cfb43===_0x2f3958&&(_0x5a0be1===void 0x0&&(_0x5a0be1=Buffer[_0x561346(0x296)](_0x2f3958)),_0x28565d(_0x5a0be1,0x0,_0x2f3958),_0x2cfb43=0x0),_0x31e8e6[0x0]=_0x5a0be1[_0x2cfb43++],_0x31e8e6[0x1]=_0x5a0be1[_0x2cfb43++],_0x31e8e6[0x2]=_0x5a0be1[_0x2cfb43++],_0x31e8e6[0x3]=_0x5a0be1[_0x2cfb43++]),_0x2d7628=(_0x31e8e6[0x0]|_0x31e8e6[0x1]|_0x31e8e6[0x2]|_0x31e8e6[0x3])===0x0,_0x45cf0c=0x6);let _0xbf4999;typeof _0x3840f2=='string'?(!_0x4887a8['mask']||_0x2d7628)&&_0x4887a8[_0x233747]!==void 0x0?_0xbf4999=_0x4887a8[_0x233747]:(_0x3840f2=Buffer['from'](_0x3840f2),_0xbf4999=_0x3840f2[_0x561346(0x2ad)]):(_0xbf4999=_0x3840f2['length'],_0x336da3=_0x4887a8[_0x561346(0x269)]&&_0x4887a8[_0x561346(0x29f)]&&!_0x2d7628);let _0x39b86f=_0xbf4999;_0xbf4999>=0x10000?(_0x45cf0c+=0x8,_0x39b86f=0x7f):_0xbf4999>0x7d&&(_0x45cf0c+=0x2,_0x39b86f=0x7e);const _0x3b9455=Buffer[_0x561346(0x2e6)](_0x336da3?_0xbf4999+_0x45cf0c:_0x45cf0c);return _0x3b9455[0x0]=_0x4887a8[_0x561346(0x287)]?_0x4887a8['opcode']|0x80:_0x4887a8[_0x561346(0x308)],_0x4887a8['rsv1']&&(_0x3b9455[0x0]|=0x40),_0x3b9455[0x1]=_0x39b86f,_0x39b86f===0x7e?_0x3b9455[_0x561346(0x1d4)](_0xbf4999,0x2):_0x39b86f===0x7f&&(_0x3b9455[0x2]=_0x3b9455[0x3]=0x0,_0x3b9455[_0x561346(0x1e4)](_0xbf4999,0x4,0x6)),_0x4887a8[_0x561346(0x269)]?(_0x3b9455[0x1]|=0x80,_0x3b9455[_0x45cf0c-0x4]=_0x31e8e6[0x0],_0x3b9455[_0x45cf0c-0x3]=_0x31e8e6[0x1],_0x3b9455[_0x45cf0c-0x2]=_0x31e8e6[0x2],_0x3b9455[_0x45cf0c-0x1]=_0x31e8e6[0x3],_0x2d7628?[_0x3b9455,_0x3840f2]:_0x336da3?(_0x5dcda2(_0x3840f2,_0x31e8e6,_0x3b9455,_0x45cf0c,_0xbf4999),[_0x3b9455]):(_0x5dcda2(_0x3840f2,_0x31e8e6,_0x3840f2,0x0,_0xbf4999),[_0x3b9455,_0x3840f2])):[_0x3b9455,_0x3840f2];}[_0xf0721a(0x36a)](_0x3d5e50,_0x35a76c,_0x2c799b,_0x1a95a6){const _0x38625a=_0xf0721a;let _0x5daf36;if(_0x3d5e50===void 0x0)_0x5daf36=_0xb7586b;else{if(typeof _0x3d5e50!=_0x38625a(0x275)||!_0xfd1953(_0x3d5e50))throw new TypeError(_0x38625a(0x236));if(_0x35a76c===void 0x0||!_0x35a76c['length'])_0x5daf36=Buffer[_0x38625a(0x2e6)](0x2),_0x5daf36[_0x38625a(0x1d4)](_0x3d5e50,0x0);else{const _0x4dc015=Buffer[_0x38625a(0x320)](_0x35a76c);if(_0x4dc015>0x7b)throw new RangeError(_0x38625a(0x221));_0x5daf36=Buffer[_0x38625a(0x2e6)](0x2+_0x4dc015),_0x5daf36[_0x38625a(0x1d4)](_0x3d5e50,0x0),typeof _0x35a76c==_0x38625a(0x2be)?_0x5daf36['write'](_0x35a76c,0x2):_0x5daf36['set'](_0x35a76c,0x2);}}const _0x4b2ae2={[_0x233747]:_0x5daf36[_0x38625a(0x2ad)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x2c799b,'maskBuffer':this[_0x38625a(0x35d)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x38625a(0x2fa)]!==_0x459f7d?this['enqueue']([this[_0x38625a(0x255)],_0x5daf36,!0x1,_0x4b2ae2,_0x1a95a6]):this['sendFrame'](_0x57dcaf[_0x38625a(0x2d5)](_0x5daf36,_0x4b2ae2),_0x1a95a6);}['ping'](_0x138252,_0x2d476f,_0x5e1ad7){const _0x322bdb=_0xf0721a;let _0x53363e,_0x572642;if(typeof _0x138252==_0x322bdb(0x2be)?(_0x53363e=Buffer[_0x322bdb(0x320)](_0x138252),_0x572642=!0x1):_0x2d7d38(_0x138252)?(_0x53363e=_0x138252['size'],_0x572642=!0x1):(_0x138252=_0x4f61d1(_0x138252),_0x53363e=_0x138252['length'],_0x572642=_0x4f61d1[_0x322bdb(0x29f)]),_0x53363e>0x7d)throw new RangeError(_0x322bdb(0x1e0));const _0xb76bfe={[_0x233747]:_0x53363e,'fin':!0x0,'generateMask':this[_0x322bdb(0x32d)],'mask':_0x2d476f,'maskBuffer':this['_maskBuffer'],'opcode':0x9,'readOnly':_0x572642,'rsv1':!0x1};_0x2d7d38(_0x138252)?this[_0x322bdb(0x2fa)]!==_0x459f7d?this[_0x322bdb(0x365)]([this['getBlobData'],_0x138252,!0x1,_0xb76bfe,_0x5e1ad7]):this[_0x322bdb(0x2d2)](_0x138252,!0x1,_0xb76bfe,_0x5e1ad7):this[_0x322bdb(0x2fa)]!==_0x459f7d?this[_0x322bdb(0x365)]([this[_0x322bdb(0x255)],_0x138252,!0x1,_0xb76bfe,_0x5e1ad7]):this['sendFrame'](_0x57dcaf[_0x322bdb(0x2d5)](_0x138252,_0xb76bfe),_0x5e1ad7);}[_0xf0721a(0x271)](_0x5eb809,_0x44b5c1,_0x4f5cc7){const _0x5ead64=_0xf0721a;let _0x17b1f8,_0x1a2aca;if(typeof _0x5eb809==_0x5ead64(0x2be)?(_0x17b1f8=Buffer[_0x5ead64(0x320)](_0x5eb809),_0x1a2aca=!0x1):_0x2d7d38(_0x5eb809)?(_0x17b1f8=_0x5eb809[_0x5ead64(0x217)],_0x1a2aca=!0x1):(_0x5eb809=_0x4f61d1(_0x5eb809),_0x17b1f8=_0x5eb809[_0x5ead64(0x2ad)],_0x1a2aca=_0x4f61d1['readOnly']),_0x17b1f8>0x7d)throw new RangeError(_0x5ead64(0x1e0));const _0x16d5ae={[_0x233747]:_0x17b1f8,'fin':!0x0,'generateMask':this[_0x5ead64(0x32d)],'mask':_0x44b5c1,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x1a2aca,'rsv1':!0x1};_0x2d7d38(_0x5eb809)?this[_0x5ead64(0x2fa)]!==_0x459f7d?this[_0x5ead64(0x365)]([this[_0x5ead64(0x2d2)],_0x5eb809,!0x1,_0x16d5ae,_0x4f5cc7]):this[_0x5ead64(0x2d2)](_0x5eb809,!0x1,_0x16d5ae,_0x4f5cc7):this[_0x5ead64(0x2fa)]!==_0x459f7d?this['enqueue']([this['dispatch'],_0x5eb809,!0x1,_0x16d5ae,_0x4f5cc7]):this[_0x5ead64(0x358)](_0x57dcaf[_0x5ead64(0x2d5)](_0x5eb809,_0x16d5ae),_0x4f5cc7);}['send'](_0x174084,_0xc8f334,_0xc5aa6b){const _0x33f283=_0xf0721a,_0x10d922=this[_0x33f283(0x2dd)][_0x499460[_0x33f283(0x1c9)]];let _0x14e35b=_0xc8f334[_0x33f283(0x22d)]?0x2:0x1,_0x423e0b=_0xc8f334['compress'],_0x449a8e,_0x5087d3;typeof _0x174084==_0x33f283(0x2be)?(_0x449a8e=Buffer['byteLength'](_0x174084),_0x5087d3=!0x1):_0x2d7d38(_0x174084)?(_0x449a8e=_0x174084['size'],_0x5087d3=!0x1):(_0x174084=_0x4f61d1(_0x174084),_0x449a8e=_0x174084[_0x33f283(0x2ad)],_0x5087d3=_0x4f61d1['readOnly']),this[_0x33f283(0x2ab)]?(this[_0x33f283(0x2ab)]=!0x1,_0x423e0b&&_0x10d922&&_0x10d922[_0x33f283(0x1bc)][_0x10d922[_0x33f283(0x240)]?_0x33f283(0x249):'client_no_context_takeover']&&(_0x423e0b=_0x449a8e>=_0x10d922[_0x33f283(0x19a)]),this[_0x33f283(0x244)]=_0x423e0b):(_0x423e0b=!0x1,_0x14e35b=0x0),_0xc8f334[_0x33f283(0x287)]&&(this[_0x33f283(0x2ab)]=!0x0);const _0x33f156={[_0x233747]:_0x449a8e,'fin':_0xc8f334[_0x33f283(0x287)],'generateMask':this[_0x33f283(0x32d)],'mask':_0xc8f334[_0x33f283(0x269)],'maskBuffer':this[_0x33f283(0x35d)],'opcode':_0x14e35b,'readOnly':_0x5087d3,'rsv1':_0x423e0b};_0x2d7d38(_0x174084)?this[_0x33f283(0x2fa)]!==_0x459f7d?this[_0x33f283(0x365)]([this[_0x33f283(0x2d2)],_0x174084,this[_0x33f283(0x244)],_0x33f156,_0xc5aa6b]):this[_0x33f283(0x2d2)](_0x174084,this[_0x33f283(0x244)],_0x33f156,_0xc5aa6b):this[_0x33f283(0x2fa)]!==_0x459f7d?this[_0x33f283(0x365)]([this[_0x33f283(0x255)],_0x174084,this[_0x33f283(0x244)],_0x33f156,_0xc5aa6b]):this[_0x33f283(0x255)](_0x174084,this[_0x33f283(0x244)],_0x33f156,_0xc5aa6b);}[_0xf0721a(0x2d2)](_0x4ca227,_0x1b7e10,_0x1d6505,_0x20d6b3){const _0x3f8bc9=_0xf0721a;this[_0x3f8bc9(0x2f2)]+=_0x1d6505[_0x233747],this[_0x3f8bc9(0x2fa)]=_0x29bdac,_0x4ca227[_0x3f8bc9(0x280)]()[_0x3f8bc9(0x242)](_0x4bb3d8=>{const _0xfa8654=_0x3f8bc9;if(this[_0xfa8654(0x2ca)][_0xfa8654(0x1de)]){const _0x446def=new Error(_0xfa8654(0x1c6));process[_0xfa8654(0x1df)](_0x535402,this,_0x446def,_0x20d6b3);return;}this['_bufferedBytes']-=_0x1d6505[_0x233747];const _0x5cebc7=_0x4f61d1(_0x4bb3d8);_0x1b7e10?this[_0xfa8654(0x255)](_0x5cebc7,_0x1b7e10,_0x1d6505,_0x20d6b3):(this[_0xfa8654(0x2fa)]=_0x459f7d,this[_0xfa8654(0x358)](_0x57dcaf['frame'](_0x5cebc7,_0x1d6505),_0x20d6b3),this[_0xfa8654(0x32f)]());})[_0x3f8bc9(0x199)](_0x10efbd=>{const _0x195a8f=_0x3f8bc9;process[_0x195a8f(0x1df)](_0x1d309a,this,_0x10efbd,_0x20d6b3);});}[_0xf0721a(0x255)](_0x213b4e,_0x2138ea,_0x406c9b,_0x18f55e){const _0x4ec2b3=_0xf0721a;if(!_0x2138ea){this['sendFrame'](_0x57dcaf[_0x4ec2b3(0x2d5)](_0x213b4e,_0x406c9b),_0x18f55e);return;}const _0xd0640c=this[_0x4ec2b3(0x2dd)][_0x499460['extensionName']];this[_0x4ec2b3(0x2f2)]+=_0x406c9b[_0x233747],this[_0x4ec2b3(0x2fa)]=_0xf55d5a,_0xd0640c['compress'](_0x213b4e,_0x406c9b[_0x4ec2b3(0x287)],(_0x4ed7d8,_0x230a99)=>{const _0x195538=_0x4ec2b3;if(this[_0x195538(0x2ca)]['destroyed']){const _0x51ce05=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x535402(this,_0x51ce05,_0x18f55e);return;}this[_0x195538(0x2f2)]-=_0x406c9b[_0x233747],this[_0x195538(0x2fa)]=_0x459f7d,_0x406c9b[_0x195538(0x29f)]=!0x1,this[_0x195538(0x358)](_0x57dcaf[_0x195538(0x2d5)](_0x230a99,_0x406c9b),_0x18f55e),this[_0x195538(0x32f)]();});}['dequeue'](){const _0x4d5e91=_0xf0721a;for(;this[_0x4d5e91(0x2fa)]===_0x459f7d&&this['_queue'][_0x4d5e91(0x2ad)];){const _0x3e86f3=this[_0x4d5e91(0x317)][_0x4d5e91(0x1b7)]();this['_bufferedBytes']-=_0x3e86f3[0x3][_0x233747],Reflect[_0x4d5e91(0x1c8)](_0x3e86f3[0x0],this,_0x3e86f3[_0x4d5e91(0x30f)](0x1));}}['enqueue'](_0x1d4f93){const _0xc55aa5=_0xf0721a;this[_0xc55aa5(0x2f2)]+=_0x1d4f93[0x3][_0x233747],this[_0xc55aa5(0x317)][_0xc55aa5(0x20d)](_0x1d4f93);}['sendFrame'](_0x463384,_0x51efe1){const _0x36d12f=_0xf0721a;_0x463384[_0x36d12f(0x2ad)]===0x2?(this[_0x36d12f(0x2ca)][_0x36d12f(0x24a)](),this[_0x36d12f(0x2ca)]['write'](_0x463384[0x0]),this[_0x36d12f(0x2ca)][_0x36d12f(0x314)](_0x463384[0x1],_0x51efe1),this[_0x36d12f(0x2ca)]['uncork']()):this[_0x36d12f(0x2ca)][_0x36d12f(0x314)](_0x463384[0x0],_0x51efe1);}}Ee=_0x57dcaf;function _0x535402(_0x1302fb,_0x4cae32,_0x29036b){const _0x48e32f=_0xf0721a;typeof _0x29036b==_0x48e32f(0x324)&&_0x29036b(_0x4cae32);for(let _0x564aab=0x0;_0x564aab<_0x1302fb['_queue'][_0x48e32f(0x2ad)];_0x564aab++){const _0x340728=_0x1302fb['_queue'][_0x564aab],_0x362b5b=_0x340728[_0x340728[_0x48e32f(0x2ad)]-0x1];typeof _0x362b5b==_0x48e32f(0x324)&&_0x362b5b(_0x4cae32);}}function _0x1d309a(_0x1c7cbe,_0x2a35c8,_0x67e0b5){_0x535402(_0x1c7cbe,_0x2a35c8,_0x67e0b5),_0x1c7cbe['onerror'](_0x2a35c8);}return Ee;}var xe,Ze;function It(){const _0x59920d=_0x204d8e;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x56848d,kListener:_0x306417}=H(),_0x4aaed1=Symbol(_0x59920d(0x24c)),_0x5d53d9=Symbol(_0x59920d(0x1ea)),_0x31aa70=Symbol(_0x59920d(0x24b)),_0x175be3=Symbol(_0x59920d(0x26f)),_0x288fb7=Symbol(_0x59920d(0x2bf)),_0x15c0a7=Symbol(_0x59920d(0x25f)),_0x393fd9=Symbol(_0x59920d(0x1f0)),_0x40b7d4=Symbol('kWasClean');class _0x28c9d7{constructor(_0x24bf3e){this[_0x15c0a7]=null,this[_0x393fd9]=_0x24bf3e;}get['target'](){return this[_0x15c0a7];}get['type'](){return this[_0x393fd9];}}Object['defineProperty'](_0x28c9d7['prototype'],_0x59920d(0x219),{'enumerable':!0x0}),Object[_0x59920d(0x23d)](_0x28c9d7[_0x59920d(0x1a7)],_0x59920d(0x2cb),{'enumerable':!0x0});class _0x4b3148 extends _0x28c9d7{constructor(_0x5c864c,_0x263db0={}){const _0x461d8b=_0x59920d;super(_0x5c864c),this[_0x4aaed1]=_0x263db0[_0x461d8b(0x1f8)]===void 0x0?0x0:_0x263db0[_0x461d8b(0x1f8)],this[_0x288fb7]=_0x263db0[_0x461d8b(0x343)]===void 0x0?'':_0x263db0[_0x461d8b(0x343)],this[_0x40b7d4]=_0x263db0[_0x461d8b(0x23a)]===void 0x0?!0x1:_0x263db0[_0x461d8b(0x23a)];}get[_0x59920d(0x1f8)](){return this[_0x4aaed1];}get[_0x59920d(0x343)](){return this[_0x288fb7];}get[_0x59920d(0x23a)](){return this[_0x40b7d4];}}Object[_0x59920d(0x23d)](_0x4b3148['prototype'],'code',{'enumerable':!0x0}),Object['defineProperty'](_0x4b3148[_0x59920d(0x1a7)],_0x59920d(0x343),{'enumerable':!0x0}),Object[_0x59920d(0x23d)](_0x4b3148[_0x59920d(0x1a7)],_0x59920d(0x23a),{'enumerable':!0x0});class _0xfc68fe extends _0x28c9d7{constructor(_0x14d9cc,_0x5ac0f4={}){const _0x119886=_0x59920d;super(_0x14d9cc),this[_0x31aa70]=_0x5ac0f4['error']===void 0x0?null:_0x5ac0f4[_0x119886(0x31f)],this[_0x175be3]=_0x5ac0f4[_0x119886(0x2bc)]===void 0x0?'':_0x5ac0f4[_0x119886(0x2bc)];}get[_0x59920d(0x31f)](){return this[_0x31aa70];}get[_0x59920d(0x2bc)](){return this[_0x175be3];}}Object[_0x59920d(0x23d)](_0xfc68fe[_0x59920d(0x1a7)],'error',{'enumerable':!0x0}),Object[_0x59920d(0x23d)](_0xfc68fe[_0x59920d(0x1a7)],'message',{'enumerable':!0x0});class _0x2797c9 extends _0x28c9d7{constructor(_0x397104,_0x4fbe7d={}){const _0x2053a7=_0x59920d;super(_0x397104),this[_0x5d53d9]=_0x4fbe7d[_0x2053a7(0x2a7)]===void 0x0?null:_0x4fbe7d[_0x2053a7(0x2a7)];}get[_0x59920d(0x2a7)](){return this[_0x5d53d9];}}Object[_0x59920d(0x23d)](_0x2797c9[_0x59920d(0x1a7)],_0x59920d(0x2a7),{'enumerable':!0x0}),xe={'CloseEvent':_0x4b3148,'ErrorEvent':_0xfc68fe,'Event':_0x28c9d7,'EventTarget':{'addEventListener'(_0x149ac1,_0xdcdcf2,_0x16d4f1={}){const _0x46ac04=_0x59920d;for(const _0x44d17c of this[_0x46ac04(0x1cd)](_0x149ac1))if(!_0x16d4f1[_0x56848d]&&_0x44d17c[_0x306417]===_0xdcdcf2&&!_0x44d17c[_0x56848d])return;let _0x1f27c6;if(_0x149ac1===_0x46ac04(0x2bc))_0x1f27c6=function(_0x4edc43,_0x1d43e2){const _0x3808cd=new _0x2797c9('message',{'data':_0x1d43e2?_0x4edc43:_0x4edc43['toString']()});_0x3808cd[_0x15c0a7]=this,_0x3b7833(_0xdcdcf2,this,_0x3808cd);};else{if(_0x149ac1===_0x46ac04(0x36a))_0x1f27c6=function(_0x5c56b7,_0x2d538c){const _0x3622fd=_0x46ac04,_0x5a5f40=new _0x4b3148(_0x3622fd(0x36a),{'code':_0x5c56b7,'reason':_0x2d538c[_0x3622fd(0x267)](),'wasClean':this['_closeFrameReceived']&&this[_0x3622fd(0x1fd)]});_0x5a5f40[_0x15c0a7]=this,_0x3b7833(_0xdcdcf2,this,_0x5a5f40);};else{if(_0x149ac1===_0x46ac04(0x31f))_0x1f27c6=function(_0x19a3a9){const _0x3d34c2=_0x46ac04,_0x7eb09e=new _0xfc68fe('error',{'error':_0x19a3a9,'message':_0x19a3a9[_0x3d34c2(0x2bc)]});_0x7eb09e[_0x15c0a7]=this,_0x3b7833(_0xdcdcf2,this,_0x7eb09e);};else{if(_0x149ac1==='open')_0x1f27c6=function(){const _0x2944fb=_0x46ac04,_0x58560f=new _0x28c9d7(_0x2944fb(0x26e));_0x58560f[_0x15c0a7]=this,_0x3b7833(_0xdcdcf2,this,_0x58560f);};else return;}}}_0x1f27c6[_0x56848d]=!!_0x16d4f1[_0x56848d],_0x1f27c6[_0x306417]=_0xdcdcf2,_0x16d4f1[_0x46ac04(0x1c4)]?this['once'](_0x149ac1,_0x1f27c6):this['on'](_0x149ac1,_0x1f27c6);},'removeEventListener'(_0x4ebda1,_0x466722){const _0x4fb8ab=_0x59920d;for(const _0x4135bb of this[_0x4fb8ab(0x1cd)](_0x4ebda1))if(_0x4135bb[_0x306417]===_0x466722&&!_0x4135bb[_0x56848d]){this['removeListener'](_0x4ebda1,_0x4135bb);break;}}},'MessageEvent':_0x2797c9};function _0x3b7833(_0x32320a,_0x2c8bd4,_0x83d924){const _0x4be68e=_0x59920d;typeof _0x32320a==_0x4be68e(0x1b0)&&_0x32320a[_0x4be68e(0x29c)]?_0x32320a[_0x4be68e(0x29c)][_0x4be68e(0x1b3)](_0x32320a,_0x83d924):_0x32320a['call'](_0x2c8bd4,_0x83d924);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x19ba6b}=ae();function _0xfbd000(_0x286efd,_0x23cd1d,_0x5f22b4){const _0x5f3d59=_0x26e0;_0x286efd[_0x23cd1d]===void 0x0?_0x286efd[_0x23cd1d]=[_0x5f22b4]:_0x286efd[_0x23cd1d][_0x5f3d59(0x20d)](_0x5f22b4);}function _0x4c13c0(_0x57d92c){const _0x317428=_0x26e0,_0x23ee5f=Object[_0x317428(0x20b)](null);let _0x387c57=Object[_0x317428(0x20b)](null),_0x4c4e52=!0x1,_0x15f7e8=!0x1,_0x49f9c1=!0x1,_0x25601e,_0x1bf3bb,_0x361758=-0x1,_0xf98c8a=-0x1,_0x542914=-0x1,_0x621b77=0x0;for(;_0x621b77<_0x57d92c[_0x317428(0x2ad)];_0x621b77++)if(_0xf98c8a=_0x57d92c[_0x317428(0x2e0)](_0x621b77),_0x25601e===void 0x0){if(_0x542914===-0x1&&_0x19ba6b[_0xf98c8a]===0x1)_0x361758===-0x1&&(_0x361758=_0x621b77);else{if(_0x621b77!==0x0&&(_0xf98c8a===0x20||_0xf98c8a===0x9))_0x542914===-0x1&&_0x361758!==-0x1&&(_0x542914=_0x621b77);else{if(_0xf98c8a===0x3b||_0xf98c8a===0x2c){if(_0x361758===-0x1)throw new SyntaxError(_0x317428(0x319)+_0x621b77);_0x542914===-0x1&&(_0x542914=_0x621b77);const _0x22e556=_0x57d92c[_0x317428(0x30f)](_0x361758,_0x542914);_0xf98c8a===0x2c?(_0xfbd000(_0x23ee5f,_0x22e556,_0x387c57),_0x387c57=Object[_0x317428(0x20b)](null)):_0x25601e=_0x22e556,_0x361758=_0x542914=-0x1;}else throw new SyntaxError(_0x317428(0x319)+_0x621b77);}}}else{if(_0x1bf3bb===void 0x0){if(_0x542914===-0x1&&_0x19ba6b[_0xf98c8a]===0x1)_0x361758===-0x1&&(_0x361758=_0x621b77);else{if(_0xf98c8a===0x20||_0xf98c8a===0x9)_0x542914===-0x1&&_0x361758!==-0x1&&(_0x542914=_0x621b77);else{if(_0xf98c8a===0x3b||_0xf98c8a===0x2c){if(_0x361758===-0x1)throw new SyntaxError(_0x317428(0x319)+_0x621b77);_0x542914===-0x1&&(_0x542914=_0x621b77),_0xfbd000(_0x387c57,_0x57d92c['slice'](_0x361758,_0x542914),!0x0),_0xf98c8a===0x2c&&(_0xfbd000(_0x23ee5f,_0x25601e,_0x387c57),_0x387c57=Object['create'](null),_0x25601e=void 0x0),_0x361758=_0x542914=-0x1;}else{if(_0xf98c8a===0x3d&&_0x361758!==-0x1&&_0x542914===-0x1)_0x1bf3bb=_0x57d92c[_0x317428(0x30f)](_0x361758,_0x621b77),_0x361758=_0x542914=-0x1;else throw new SyntaxError(_0x317428(0x319)+_0x621b77);}}}}else{if(_0x15f7e8){if(_0x19ba6b[_0xf98c8a]!==0x1)throw new SyntaxError(_0x317428(0x319)+_0x621b77);_0x361758===-0x1?_0x361758=_0x621b77:_0x4c4e52||(_0x4c4e52=!0x0),_0x15f7e8=!0x1;}else{if(_0x49f9c1){if(_0x19ba6b[_0xf98c8a]===0x1)_0x361758===-0x1&&(_0x361758=_0x621b77);else{if(_0xf98c8a===0x22&&_0x361758!==-0x1)_0x49f9c1=!0x1,_0x542914=_0x621b77;else{if(_0xf98c8a===0x5c)_0x15f7e8=!0x0;else throw new SyntaxError(_0x317428(0x319)+_0x621b77);}}}else{if(_0xf98c8a===0x22&&_0x57d92c[_0x317428(0x2e0)](_0x621b77-0x1)===0x3d)_0x49f9c1=!0x0;else{if(_0x542914===-0x1&&_0x19ba6b[_0xf98c8a]===0x1)_0x361758===-0x1&&(_0x361758=_0x621b77);else{if(_0x361758!==-0x1&&(_0xf98c8a===0x20||_0xf98c8a===0x9))_0x542914===-0x1&&(_0x542914=_0x621b77);else{if(_0xf98c8a===0x3b||_0xf98c8a===0x2c){if(_0x361758===-0x1)throw new SyntaxError(_0x317428(0x319)+_0x621b77);_0x542914===-0x1&&(_0x542914=_0x621b77);let _0x5349fc=_0x57d92c['slice'](_0x361758,_0x542914);_0x4c4e52&&(_0x5349fc=_0x5349fc[_0x317428(0x1e5)](/\\/g,''),_0x4c4e52=!0x1),_0xfbd000(_0x387c57,_0x1bf3bb,_0x5349fc),_0xf98c8a===0x2c&&(_0xfbd000(_0x23ee5f,_0x25601e,_0x387c57),_0x387c57=Object['create'](null),_0x25601e=void 0x0),_0x1bf3bb=void 0x0,_0x361758=_0x542914=-0x1;}else throw new SyntaxError(_0x317428(0x319)+_0x621b77);}}}}}}}if(_0x361758===-0x1||_0x49f9c1||_0xf98c8a===0x20||_0xf98c8a===0x9)throw new SyntaxError(_0x317428(0x1b2));_0x542914===-0x1&&(_0x542914=_0x621b77);const _0x1c3b3d=_0x57d92c[_0x317428(0x30f)](_0x361758,_0x542914);return _0x25601e===void 0x0?_0xfbd000(_0x23ee5f,_0x1c3b3d,_0x387c57):(_0x1bf3bb===void 0x0?_0xfbd000(_0x387c57,_0x1c3b3d,!0x0):_0x4c4e52?_0xfbd000(_0x387c57,_0x1bf3bb,_0x1c3b3d[_0x317428(0x1e5)](/\\/g,'')):_0xfbd000(_0x387c57,_0x1bf3bb,_0x1c3b3d),_0xfbd000(_0x23ee5f,_0x25601e,_0x387c57)),_0x23ee5f;}function _0x522407(_0x107ac7){const _0x32201a=_0x26e0;return Object[_0x32201a(0x2d4)](_0x107ac7)[_0x32201a(0x323)](_0x39697f=>{const _0x5bab57=_0x32201a;let _0x27500a=_0x107ac7[_0x39697f];return Array[_0x5bab57(0x23e)](_0x27500a)||(_0x27500a=[_0x27500a]),_0x27500a[_0x5bab57(0x323)](_0x18aaea=>[_0x39697f]['concat'](Object[_0x5bab57(0x2d4)](_0x18aaea)[_0x5bab57(0x323)](_0x5d937f=>{const _0x5921ae=_0x5bab57;let _0x33e66d=_0x18aaea[_0x5d937f];return Array['isArray'](_0x33e66d)||(_0x33e66d=[_0x33e66d]),_0x33e66d['map'](_0x50b675=>_0x50b675===!0x0?_0x5d937f:_0x5d937f+'='+_0x50b675)[_0x5921ae(0x228)](';\x20');}))[_0x5bab57(0x228)](';\x20'))['join'](',\x20');})[_0x32201a(0x228)](',\x20');}return be={'format':_0x522407,'parse':_0x4c13c0},be;}var we,Je;function Pe(){const _0x5e6ae4=_0x204d8e;if(Je)return we;Je=0x1;const _0x403a3e=nt,_0x2d3d2e=vt,_0x49bbd6=ot,_0x697db7=St,_0x238a61=Et,{randomBytes:_0x4c7699,createHash:_0x55796f}=Le,{Duplex:_0x1580c5,Readable:_0x4c572c}=oe,{URL:_0x33f89f}=xt,_0x49c509=he(),_0x22671b=lt(),_0x3deeda=ft(),{isBlob:_0xf79d0}=ae(),{BINARY_TYPES:_0xec56df,EMPTY_BUFFER:_0x687a03,GUID:_0x7f418,kForOnEventAttribute:_0xf55c70,kListener:_0x205a63,kStatusCode:_0x5478ad,kWebSocket:_0x24d13e,NOOP:_0x4ca148}=H(),{EventTarget:{addEventListener:_0x84dd3a,removeEventListener:_0x39a21a}}=It(),{format:_0x2ca38a,parse:_0x1aa03f}=ct(),{toBuffer:_0x425bdc}=ce(),_0x3c442b=0x1e*0x3e8,_0x2eb17c=Symbol(_0x5e6ae4(0x254)),_0x5703ab=[0x8,0xd],_0x10f8f6=[_0x5e6ae4(0x1f4),_0x5e6ae4(0x307),_0x5e6ae4(0x2ee),'CLOSED'],_0xaee64c=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x4c95dc extends _0x403a3e{constructor(_0x35160f,_0x550767,_0x24d479){const _0x5cbd27=_0x5e6ae4;super(),this['_binaryType']=_0xec56df[0x0],this[_0x5cbd27(0x273)]=0x3ee,this[_0x5cbd27(0x371)]=!0x1,this['_closeFrameSent']=!0x1,this[_0x5cbd27(0x2af)]=_0x687a03,this[_0x5cbd27(0x288)]=null,this[_0x5cbd27(0x1fa)]=!0x1,this['_extensions']={},this['_paused']=!0x1,this[_0x5cbd27(0x2ba)]='',this[_0x5cbd27(0x22e)]=_0x4c95dc[_0x5cbd27(0x1f4)],this[_0x5cbd27(0x2a5)]=null,this[_0x5cbd27(0x2c4)]=null,this[_0x5cbd27(0x2ca)]=null,_0x35160f!==null?(this[_0x5cbd27(0x2da)]=0x0,this['_isServer']=!0x1,this[_0x5cbd27(0x348)]=0x0,_0x550767===void 0x0?_0x550767=[]:Array[_0x5cbd27(0x23e)](_0x550767)||(typeof _0x550767=='object'&&_0x550767!==null?(_0x24d479=_0x550767,_0x550767=[]):_0x550767=[_0x550767]),_0x19f8cb(this,_0x35160f,_0x550767,_0x24d479)):(this['_autoPong']=_0x24d479[_0x5cbd27(0x227)],this[_0x5cbd27(0x240)]=!0x0);}get[_0x5e6ae4(0x1e9)](){const _0x543ddc=_0x5e6ae4;return this[_0x543ddc(0x266)];}set[_0x5e6ae4(0x1e9)](_0x22b176){const _0x3afb53=_0x5e6ae4;_0xec56df[_0x3afb53(0x29b)](_0x22b176)&&(this['_binaryType']=_0x22b176,this[_0x3afb53(0x2a5)]&&(this['_receiver']['_binaryType']=_0x22b176));}get[_0x5e6ae4(0x251)](){const _0x55b58d=_0x5e6ae4;return this[_0x55b58d(0x2ca)]?this[_0x55b58d(0x2ca)][_0x55b58d(0x1d5)]['length']+this[_0x55b58d(0x2c4)][_0x55b58d(0x2f2)]:this[_0x55b58d(0x2da)];}get[_0x5e6ae4(0x282)](){const _0x28e4cf=_0x5e6ae4;return Object[_0x28e4cf(0x2d4)](this[_0x28e4cf(0x2dd)])[_0x28e4cf(0x228)]();}get['isPaused'](){return this['_paused'];}get[_0x5e6ae4(0x20f)](){return null;}get['onerror'](){return null;}get[_0x5e6ae4(0x2f5)](){return null;}get[_0x5e6ae4(0x208)](){return null;}get[_0x5e6ae4(0x24f)](){return this['_protocol'];}get['readyState'](){return this['_readyState'];}get[_0x5e6ae4(0x284)](){const _0x376966=_0x5e6ae4;return this[_0x376966(0x2ed)];}['setSocket'](_0x4be941,_0x20bfd4,_0x1e2ba5){const _0x563063=_0x5e6ae4,_0x41ed9c=new _0x22671b({'allowSynchronousEvents':_0x1e2ba5[_0x563063(0x342)],'binaryType':this[_0x563063(0x1e9)],'extensions':this[_0x563063(0x2dd)],'isServer':this['_isServer'],'maxPayload':_0x1e2ba5['maxPayload'],'skipUTF8Validation':_0x1e2ba5[_0x563063(0x2bb)]}),_0x17ddcf=new _0x3deeda(_0x4be941,this[_0x563063(0x2dd)],_0x1e2ba5[_0x563063(0x2d3)]);this['_receiver']=_0x41ed9c,this[_0x563063(0x2c4)]=_0x17ddcf,this[_0x563063(0x2ca)]=_0x4be941,_0x41ed9c[_0x24d13e]=this,_0x17ddcf[_0x24d13e]=this,_0x4be941[_0x24d13e]=this,_0x41ed9c['on'](_0x563063(0x33e),_0x2fd264),_0x41ed9c['on'](_0x563063(0x1a4),_0x45748d),_0x41ed9c['on']('error',_0x59f7e8),_0x41ed9c['on']('message',_0x2da732),_0x41ed9c['on'](_0x563063(0x1b6),_0x535e60),_0x41ed9c['on'](_0x563063(0x271),_0x260f6e),_0x17ddcf['onerror']=_0x33e5a3,_0x4be941[_0x563063(0x205)]&&_0x4be941[_0x563063(0x205)](0x0),_0x4be941[_0x563063(0x223)]&&_0x4be941[_0x563063(0x223)](),_0x20bfd4[_0x563063(0x2ad)]>0x0&&_0x4be941[_0x563063(0x325)](_0x20bfd4),_0x4be941['on'](_0x563063(0x36a),_0x5aff1c),_0x4be941['on'](_0x563063(0x2a7),_0x5d0e46),_0x4be941['on']('end',_0x20eceb),_0x4be941['on'](_0x563063(0x31f),_0x512c07),this[_0x563063(0x22e)]=_0x4c95dc[_0x563063(0x307)],this['emit'](_0x563063(0x26e));}['emitClose'](){const _0x542785=_0x5e6ae4;if(!this['_socket']){this[_0x542785(0x22e)]=_0x4c95dc[_0x542785(0x306)],this[_0x542785(0x277)]('close',this[_0x542785(0x273)],this[_0x542785(0x2af)]);return;}this[_0x542785(0x2dd)][_0x49c509[_0x542785(0x1c9)]]&&this[_0x542785(0x2dd)][_0x49c509['extensionName']]['cleanup'](),this[_0x542785(0x2a5)][_0x542785(0x238)](),this['_readyState']=_0x4c95dc[_0x542785(0x306)],this[_0x542785(0x277)](_0x542785(0x36a),this[_0x542785(0x273)],this['_closeMessage']);}[_0x5e6ae4(0x36a)](_0x589584,_0x48c465){const _0x356aca=_0x5e6ae4;if(this['readyState']!==_0x4c95dc['CLOSED']){if(this['readyState']===_0x4c95dc[_0x356aca(0x1f4)]){_0x3b586a(this,this[_0x356aca(0x310)],_0x356aca(0x1d2));return;}if(this[_0x356aca(0x354)]===_0x4c95dc[_0x356aca(0x2ee)]){this[_0x356aca(0x1fd)]&&(this['_closeFrameReceived']||this[_0x356aca(0x2a5)][_0x356aca(0x1d5)]['errorEmitted'])&&this['_socket'][_0x356aca(0x19c)]();return;}this['_readyState']=_0x4c95dc['CLOSING'],this[_0x356aca(0x2c4)][_0x356aca(0x36a)](_0x589584,_0x48c465,!this['_isServer'],_0x34cb1d=>{const _0x2c107b=_0x356aca;_0x34cb1d||(this[_0x2c107b(0x1fd)]=!0x0,(this['_closeFrameReceived']||this[_0x2c107b(0x2a5)]['_writableState']['errorEmitted'])&&this[_0x2c107b(0x2ca)][_0x2c107b(0x19c)]());}),_0x122040(this);}}['pause'](){const _0x23aea4=_0x5e6ae4;this[_0x23aea4(0x354)]===_0x4c95dc['CONNECTING']||this['readyState']===_0x4c95dc[_0x23aea4(0x306)]||(this[_0x23aea4(0x2ef)]=!0x0,this[_0x23aea4(0x2ca)][_0x23aea4(0x25e)]());}[_0x5e6ae4(0x1b6)](_0x38c36a,_0x4d8c25,_0x19025d){const _0x223495=_0x5e6ae4;if(this[_0x223495(0x354)]===_0x4c95dc[_0x223495(0x1f4)])throw new Error(_0x223495(0x2d6));if(typeof _0x38c36a==_0x223495(0x324)?(_0x19025d=_0x38c36a,_0x38c36a=_0x4d8c25=void 0x0):typeof _0x4d8c25==_0x223495(0x324)&&(_0x19025d=_0x4d8c25,_0x4d8c25=void 0x0),typeof _0x38c36a==_0x223495(0x275)&&(_0x38c36a=_0x38c36a[_0x223495(0x267)]()),this[_0x223495(0x354)]!==_0x4c95dc[_0x223495(0x307)]){_0x402785(this,_0x38c36a,_0x19025d);return;}_0x4d8c25===void 0x0&&(_0x4d8c25=!this[_0x223495(0x240)]),this[_0x223495(0x2c4)][_0x223495(0x1b6)](_0x38c36a||_0x687a03,_0x4d8c25,_0x19025d);}['pong'](_0x307011,_0x104f8c,_0x1fe4a2){const _0x55952e=_0x5e6ae4;if(this[_0x55952e(0x354)]===_0x4c95dc[_0x55952e(0x1f4)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x307011==_0x55952e(0x324)?(_0x1fe4a2=_0x307011,_0x307011=_0x104f8c=void 0x0):typeof _0x104f8c==_0x55952e(0x324)&&(_0x1fe4a2=_0x104f8c,_0x104f8c=void 0x0),typeof _0x307011==_0x55952e(0x275)&&(_0x307011=_0x307011['toString']()),this[_0x55952e(0x354)]!==_0x4c95dc['OPEN']){_0x402785(this,_0x307011,_0x1fe4a2);return;}_0x104f8c===void 0x0&&(_0x104f8c=!this['_isServer']),this[_0x55952e(0x2c4)][_0x55952e(0x271)](_0x307011||_0x687a03,_0x104f8c,_0x1fe4a2);}['resume'](){const _0x20fb80=_0x5e6ae4;this['readyState']===_0x4c95dc['CONNECTING']||this[_0x20fb80(0x354)]===_0x4c95dc[_0x20fb80(0x306)]||(this['_paused']=!0x1,this['_receiver'][_0x20fb80(0x1d5)]['needDrain']||this[_0x20fb80(0x2ca)]['resume']());}[_0x5e6ae4(0x36f)](_0x8fd2c0,_0x3b64db,_0x44a55c){const _0x22aaa6=_0x5e6ae4;if(this[_0x22aaa6(0x354)]===_0x4c95dc['CONNECTING'])throw new Error(_0x22aaa6(0x2d6));if(typeof _0x3b64db==_0x22aaa6(0x324)&&(_0x44a55c=_0x3b64db,_0x3b64db={}),typeof _0x8fd2c0==_0x22aaa6(0x275)&&(_0x8fd2c0=_0x8fd2c0[_0x22aaa6(0x267)]()),this['readyState']!==_0x4c95dc['OPEN']){_0x402785(this,_0x8fd2c0,_0x44a55c);return;}const _0x361f32={'binary':typeof _0x8fd2c0!=_0x22aaa6(0x2be),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x3b64db};this[_0x22aaa6(0x2dd)][_0x49c509['extensionName']]||(_0x361f32[_0x22aaa6(0x2f8)]=!0x1),this[_0x22aaa6(0x2c4)]['send'](_0x8fd2c0||_0x687a03,_0x361f32,_0x44a55c);}[_0x5e6ae4(0x2ac)](){const _0x31a1cd=_0x5e6ae4;if(this[_0x31a1cd(0x354)]!==_0x4c95dc[_0x31a1cd(0x306)]){if(this[_0x31a1cd(0x354)]===_0x4c95dc[_0x31a1cd(0x1f4)]){_0x3b586a(this,this[_0x31a1cd(0x310)],_0x31a1cd(0x1d2));return;}this[_0x31a1cd(0x2ca)]&&(this['_readyState']=_0x4c95dc['CLOSING'],this[_0x31a1cd(0x2ca)]['destroy']());}}}Object[_0x5e6ae4(0x23d)](_0x4c95dc,_0x5e6ae4(0x1f4),{'enumerable':!0x0,'value':_0x10f8f6['indexOf']('CONNECTING')}),Object[_0x5e6ae4(0x23d)](_0x4c95dc[_0x5e6ae4(0x1a7)],_0x5e6ae4(0x1f4),{'enumerable':!0x0,'value':_0x10f8f6[_0x5e6ae4(0x260)](_0x5e6ae4(0x1f4))}),Object['defineProperty'](_0x4c95dc,_0x5e6ae4(0x307),{'enumerable':!0x0,'value':_0x10f8f6[_0x5e6ae4(0x260)](_0x5e6ae4(0x307))}),Object['defineProperty'](_0x4c95dc[_0x5e6ae4(0x1a7)],_0x5e6ae4(0x307),{'enumerable':!0x0,'value':_0x10f8f6['indexOf'](_0x5e6ae4(0x307))}),Object[_0x5e6ae4(0x23d)](_0x4c95dc,_0x5e6ae4(0x2ee),{'enumerable':!0x0,'value':_0x10f8f6['indexOf'](_0x5e6ae4(0x2ee))}),Object[_0x5e6ae4(0x23d)](_0x4c95dc['prototype'],_0x5e6ae4(0x2ee),{'enumerable':!0x0,'value':_0x10f8f6[_0x5e6ae4(0x260)]('CLOSING')}),Object[_0x5e6ae4(0x23d)](_0x4c95dc,_0x5e6ae4(0x306),{'enumerable':!0x0,'value':_0x10f8f6[_0x5e6ae4(0x260)]('CLOSED')}),Object['defineProperty'](_0x4c95dc['prototype'],'CLOSED',{'enumerable':!0x0,'value':_0x10f8f6[_0x5e6ae4(0x260)]('CLOSED')}),[_0x5e6ae4(0x1e9),'bufferedAmount',_0x5e6ae4(0x282),_0x5e6ae4(0x22a),_0x5e6ae4(0x24f),_0x5e6ae4(0x354),_0x5e6ae4(0x284)][_0x5e6ae4(0x2c7)](_0x3f0c69=>{const _0x4d6c42=_0x5e6ae4;Object[_0x4d6c42(0x23d)](_0x4c95dc[_0x4d6c42(0x1a7)],_0x3f0c69,{'enumerable':!0x0});}),['open','error',_0x5e6ae4(0x36a),_0x5e6ae4(0x2bc)][_0x5e6ae4(0x2c7)](_0x981c49=>{const _0x14362c=_0x5e6ae4;Object[_0x14362c(0x23d)](_0x4c95dc['prototype'],'on'+_0x981c49,{'enumerable':!0x0,'get'(){const _0x13366c=_0x14362c;for(const _0x177bd2 of this[_0x13366c(0x1cd)](_0x981c49))if(_0x177bd2[_0xf55c70])return _0x177bd2[_0x205a63];return null;},'set'(_0x92de5a){const _0x48b728=_0x14362c;for(const _0x587746 of this['listeners'](_0x981c49))if(_0x587746[_0xf55c70]){this[_0x48b728(0x1d3)](_0x981c49,_0x587746);break;}typeof _0x92de5a==_0x48b728(0x324)&&this[_0x48b728(0x344)](_0x981c49,_0x92de5a,{[_0xf55c70]:!0x0});}});}),_0x4c95dc[_0x5e6ae4(0x1a7)][_0x5e6ae4(0x344)]=_0x84dd3a,_0x4c95dc[_0x5e6ae4(0x1a7)][_0x5e6ae4(0x1a2)]=_0x39a21a,we=_0x4c95dc;function _0x19f8cb(_0x1aa011,_0x118359,_0x26162c,_0x457eeb){const _0x20524d=_0x5e6ae4,_0x1d21a1={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x5703ab[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x457eeb,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x20524d(0x220),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x1aa011[_0x20524d(0x21c)]=_0x1d21a1[_0x20524d(0x227)],!_0x5703ab['includes'](_0x1d21a1[_0x20524d(0x2b5)]))throw new RangeError(_0x20524d(0x206)+_0x1d21a1[_0x20524d(0x2b5)]+_0x20524d(0x35b)+_0x5703ab['join'](',\x20')+')');let _0x92e89b;if(_0x118359 instanceof _0x33f89f)_0x92e89b=_0x118359;else try{_0x92e89b=new _0x33f89f(_0x118359);}catch{throw new SyntaxError(_0x20524d(0x341)+_0x118359);}_0x92e89b['protocol']===_0x20524d(0x2a1)?_0x92e89b[_0x20524d(0x24f)]='ws:':_0x92e89b['protocol']===_0x20524d(0x21d)&&(_0x92e89b[_0x20524d(0x24f)]='wss:'),_0x1aa011[_0x20524d(0x2ed)]=_0x92e89b[_0x20524d(0x2f9)];const _0x1038aa=_0x92e89b['protocol']===_0x20524d(0x2a6),_0x1ac9ba=_0x92e89b['protocol']==='ws+unix:';let _0x5924b1;if(_0x92e89b[_0x20524d(0x24f)]!==_0x20524d(0x1ca)&&!_0x1038aa&&!_0x1ac9ba?_0x5924b1=_0x20524d(0x2c8):_0x1ac9ba&&!_0x92e89b[_0x20524d(0x1b8)]?_0x5924b1=_0x20524d(0x1cb):_0x92e89b['hash']&&(_0x5924b1=_0x20524d(0x1ec)),_0x5924b1){const _0x3c920a=new SyntaxError(_0x5924b1);if(_0x1aa011[_0x20524d(0x348)]===0x0)throw _0x3c920a;_0x5678f9(_0x1aa011,_0x3c920a);return;}const _0x3d712b=_0x1038aa?0x1bb:0x50,_0x190173=_0x4c7699(0x10)[_0x20524d(0x267)](_0x20524d(0x28e)),_0x461949=_0x1038aa?_0x2d3d2e[_0x20524d(0x1d1)]:_0x49bbd6[_0x20524d(0x1d1)],_0xc861c4=new Set();let _0x4bdeb8;if(_0x1d21a1['createConnection']=_0x1d21a1[_0x20524d(0x30e)]||(_0x1038aa?_0x2f0838:_0x527641),_0x1d21a1[_0x20524d(0x34a)]=_0x1d21a1[_0x20524d(0x34a)]||_0x3d712b,_0x1d21a1[_0x20524d(0x302)]=_0x92e89b[_0x20524d(0x302)]||_0x3d712b,_0x1d21a1[_0x20524d(0x327)]=_0x92e89b[_0x20524d(0x21f)][_0x20524d(0x21a)]('[')?_0x92e89b[_0x20524d(0x21f)][_0x20524d(0x30f)](0x1,-0x1):_0x92e89b[_0x20524d(0x21f)],_0x1d21a1[_0x20524d(0x361)]={..._0x1d21a1['headers'],'Sec-WebSocket-Version':_0x1d21a1[_0x20524d(0x2b5)],'Sec-WebSocket-Key':_0x190173,'Connection':_0x20524d(0x33f),'Upgrade':_0x20524d(0x1c0)},_0x1d21a1[_0x20524d(0x23b)]=_0x92e89b[_0x20524d(0x1b8)]+_0x92e89b[_0x20524d(0x2ae)],_0x1d21a1['timeout']=_0x1d21a1[_0x20524d(0x1e3)],_0x1d21a1[_0x20524d(0x28d)]&&(_0x4bdeb8=new _0x49c509(_0x1d21a1['perMessageDeflate']!==!0x0?_0x1d21a1['perMessageDeflate']:{},!0x1,_0x1d21a1['maxPayload']),_0x1d21a1[_0x20524d(0x361)]['Sec-WebSocket-Extensions']=_0x2ca38a({[_0x49c509[_0x20524d(0x1c9)]]:_0x4bdeb8['offer']()})),_0x26162c[_0x20524d(0x2ad)]){for(const _0x5a6ac5 of _0x26162c){if(typeof _0x5a6ac5!=_0x20524d(0x2be)||!_0xaee64c[_0x20524d(0x237)](_0x5a6ac5)||_0xc861c4[_0x20524d(0x27d)](_0x5a6ac5))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0xc861c4['add'](_0x5a6ac5);}_0x1d21a1['headers'][_0x20524d(0x294)]=_0x26162c[_0x20524d(0x228)](',');}if(_0x1d21a1['origin']&&(_0x1d21a1['protocolVersion']<0xd?_0x1d21a1[_0x20524d(0x361)]['Sec-WebSocket-Origin']=_0x1d21a1[_0x20524d(0x1ed)]:_0x1d21a1[_0x20524d(0x361)][_0x20524d(0x257)]=_0x1d21a1[_0x20524d(0x1ed)]),(_0x92e89b[_0x20524d(0x201)]||_0x92e89b[_0x20524d(0x1ac)])&&(_0x1d21a1[_0x20524d(0x24e)]=_0x92e89b['username']+':'+_0x92e89b[_0x20524d(0x1ac)]),_0x1ac9ba){const _0x1e38be=_0x1d21a1['path'][_0x20524d(0x370)](':');_0x1d21a1['socketPath']=_0x1e38be[0x0],_0x1d21a1['path']=_0x1e38be[0x1];}let _0x3ae05f;if(_0x1d21a1[_0x20524d(0x36d)]){if(_0x1aa011[_0x20524d(0x348)]===0x0){_0x1aa011[_0x20524d(0x2d7)]=_0x1ac9ba,_0x1aa011['_originalSecure']=_0x1038aa,_0x1aa011[_0x20524d(0x300)]=_0x1ac9ba?_0x1d21a1[_0x20524d(0x1e7)]:_0x92e89b[_0x20524d(0x327)];const _0x4b5509=_0x457eeb&&_0x457eeb['headers'];if(_0x457eeb={..._0x457eeb,'headers':{}},_0x4b5509){for(const [_0x194a7b,_0x54f545]of Object['entries'](_0x4b5509))_0x457eeb[_0x20524d(0x361)][_0x194a7b[_0x20524d(0x29a)]()]=_0x54f545;}}else{if(_0x1aa011[_0x20524d(0x1fe)](_0x20524d(0x31a))===0x0){const _0x3db11d=_0x1ac9ba?_0x1aa011[_0x20524d(0x2d7)]?_0x1d21a1['socketPath']===_0x1aa011[_0x20524d(0x300)]:!0x1:_0x1aa011[_0x20524d(0x2d7)]?!0x1:_0x92e89b['host']===_0x1aa011['_originalHostOrSocketPath'];(!_0x3db11d||_0x1aa011[_0x20524d(0x337)]&&!_0x1038aa)&&(delete _0x1d21a1[_0x20524d(0x361)][_0x20524d(0x326)],delete _0x1d21a1[_0x20524d(0x361)][_0x20524d(0x1ba)],_0x3db11d||delete _0x1d21a1[_0x20524d(0x361)][_0x20524d(0x327)],_0x1d21a1[_0x20524d(0x24e)]=void 0x0);}}_0x1d21a1[_0x20524d(0x24e)]&&!_0x457eeb['headers'][_0x20524d(0x326)]&&(_0x457eeb[_0x20524d(0x361)]['authorization']=_0x20524d(0x2ff)+Buffer[_0x20524d(0x311)](_0x1d21a1[_0x20524d(0x24e)])[_0x20524d(0x267)]('base64')),_0x3ae05f=_0x1aa011[_0x20524d(0x310)]=_0x461949(_0x1d21a1),_0x1aa011['_redirects']&&_0x1aa011[_0x20524d(0x277)](_0x20524d(0x31a),_0x1aa011[_0x20524d(0x284)],_0x3ae05f);}else _0x3ae05f=_0x1aa011[_0x20524d(0x310)]=_0x461949(_0x1d21a1);_0x1d21a1['timeout']&&_0x3ae05f['on'](_0x20524d(0x1f7),()=>{const _0x3ac793=_0x20524d;_0x3b586a(_0x1aa011,_0x3ae05f,_0x3ac793(0x2a2));}),_0x3ae05f['on'](_0x20524d(0x31f),_0x22ac74=>{const _0x4ade77=_0x20524d;_0x3ae05f===null||_0x3ae05f[_0x2eb17c]||(_0x3ae05f=_0x1aa011[_0x4ade77(0x310)]=null,_0x5678f9(_0x1aa011,_0x22ac74));}),_0x3ae05f['on'](_0x20524d(0x2d9),_0x2ea8e5=>{const _0x10b505=_0x20524d,_0x33229e=_0x2ea8e5[_0x10b505(0x361)]['location'],_0x425dde=_0x2ea8e5[_0x10b505(0x312)];if(_0x33229e&&_0x1d21a1[_0x10b505(0x36d)]&&_0x425dde>=0x12c&&_0x425dde<0x190){if(++_0x1aa011[_0x10b505(0x348)]>_0x1d21a1['maxRedirects']){_0x3b586a(_0x1aa011,_0x3ae05f,_0x10b505(0x256));return;}_0x3ae05f[_0x10b505(0x247)]();let _0x1668d8;try{_0x1668d8=new _0x33f89f(_0x33229e,_0x118359);}catch{const _0x5a9826=new SyntaxError('Invalid\x20URL:\x20'+_0x33229e);_0x5678f9(_0x1aa011,_0x5a9826);return;}_0x19f8cb(_0x1aa011,_0x1668d8,_0x26162c,_0x457eeb);}else _0x1aa011['emit']('unexpected-response',_0x3ae05f,_0x2ea8e5)||_0x3b586a(_0x1aa011,_0x3ae05f,_0x10b505(0x1f1)+_0x2ea8e5[_0x10b505(0x312)]);}),_0x3ae05f['on'](_0x20524d(0x281),(_0x116315,_0x345f2f,_0x4105f8)=>{const _0x45d279=_0x20524d;if(_0x1aa011['emit'](_0x45d279(0x281),_0x116315),_0x1aa011[_0x45d279(0x354)]!==_0x4c95dc[_0x45d279(0x1f4)])return;_0x3ae05f=_0x1aa011[_0x45d279(0x310)]=null;const _0x8d136d=_0x116315[_0x45d279(0x361)]['upgrade'];if(_0x8d136d===void 0x0||_0x8d136d[_0x45d279(0x29a)]()!==_0x45d279(0x1c0)){_0x3b586a(_0x1aa011,_0x345f2f,_0x45d279(0x297));return;}const _0x5dcd3c=_0x55796f(_0x45d279(0x19e))[_0x45d279(0x2ce)](_0x190173+_0x7f418)[_0x45d279(0x203)](_0x45d279(0x28e));if(_0x116315[_0x45d279(0x361)][_0x45d279(0x1bf)]!==_0x5dcd3c){_0x3b586a(_0x1aa011,_0x345f2f,_0x45d279(0x2c1));return;}const _0x40e733=_0x116315[_0x45d279(0x361)][_0x45d279(0x321)];let _0x2eb24f;if(_0x40e733!==void 0x0?_0xc861c4[_0x45d279(0x217)]?_0xc861c4[_0x45d279(0x27d)](_0x40e733)||(_0x2eb24f='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x2eb24f=_0x45d279(0x229):_0xc861c4[_0x45d279(0x217)]&&(_0x2eb24f=_0x45d279(0x331)),_0x2eb24f){_0x3b586a(_0x1aa011,_0x345f2f,_0x2eb24f);return;}_0x40e733&&(_0x1aa011['_protocol']=_0x40e733);const _0x47ec5b=_0x116315[_0x45d279(0x361)][_0x45d279(0x1a0)];if(_0x47ec5b!==void 0x0){if(!_0x4bdeb8){_0x3b586a(_0x1aa011,_0x345f2f,_0x45d279(0x1c1));return;}let _0x49bfca;try{_0x49bfca=_0x1aa03f(_0x47ec5b);}catch{_0x3b586a(_0x1aa011,_0x345f2f,_0x45d279(0x2b9));return;}const _0x3ff75c=Object['keys'](_0x49bfca);if(_0x3ff75c[_0x45d279(0x2ad)]!==0x1||_0x3ff75c[0x0]!==_0x49c509[_0x45d279(0x1c9)]){_0x3b586a(_0x1aa011,_0x345f2f,_0x45d279(0x34c));return;}try{_0x4bdeb8[_0x45d279(0x259)](_0x49bfca[_0x49c509[_0x45d279(0x1c9)]]);}catch{_0x3b586a(_0x1aa011,_0x345f2f,_0x45d279(0x2b9));return;}_0x1aa011[_0x45d279(0x2dd)][_0x49c509[_0x45d279(0x1c9)]]=_0x4bdeb8;}_0x1aa011[_0x45d279(0x209)](_0x345f2f,_0x4105f8,{'allowSynchronousEvents':_0x1d21a1[_0x45d279(0x342)],'generateMask':_0x1d21a1[_0x45d279(0x2d3)],'maxPayload':_0x1d21a1[_0x45d279(0x286)],'skipUTF8Validation':_0x1d21a1[_0x45d279(0x2bb)]});}),_0x1d21a1[_0x20524d(0x1a1)]?_0x1d21a1[_0x20524d(0x1a1)](_0x3ae05f,_0x1aa011):_0x3ae05f[_0x20524d(0x19c)]();}function _0x5678f9(_0x252bf6,_0x2a17e1){const _0x3e2d78=_0x5e6ae4;_0x252bf6[_0x3e2d78(0x22e)]=_0x4c95dc[_0x3e2d78(0x2ee)],_0x252bf6[_0x3e2d78(0x1fa)]=!0x0,_0x252bf6[_0x3e2d78(0x277)](_0x3e2d78(0x31f),_0x2a17e1),_0x252bf6[_0x3e2d78(0x252)]();}function _0x527641(_0x26f42b){const _0x5946bc=_0x5e6ae4;return _0x26f42b[_0x5946bc(0x23b)]=_0x26f42b[_0x5946bc(0x1e7)],_0x697db7[_0x5946bc(0x1f5)](_0x26f42b);}function _0x2f0838(_0x27c877){const _0x29e2fe=_0x5e6ae4;return _0x27c877['path']=void 0x0,!_0x27c877['servername']&&_0x27c877[_0x29e2fe(0x31e)]!==''&&(_0x27c877[_0x29e2fe(0x31e)]=_0x697db7[_0x29e2fe(0x29e)](_0x27c877[_0x29e2fe(0x327)])?'':_0x27c877[_0x29e2fe(0x327)]),_0x238a61[_0x29e2fe(0x1f5)](_0x27c877);}function _0x3b586a(_0x2b4b31,_0x4f7f42,_0x5be308){const _0x2f9c09=_0x5e6ae4;_0x2b4b31[_0x2f9c09(0x22e)]=_0x4c95dc[_0x2f9c09(0x2ee)];const _0xeb84c4=new Error(_0x5be308);Error[_0x2f9c09(0x32c)](_0xeb84c4,_0x3b586a),_0x4f7f42['setHeader']?(_0x4f7f42[_0x2eb17c]=!0x0,_0x4f7f42['abort'](),_0x4f7f42['socket']&&!_0x4f7f42[_0x2f9c09(0x1d7)]['destroyed']&&_0x4f7f42[_0x2f9c09(0x1d7)][_0x2f9c09(0x362)](),process[_0x2f9c09(0x1df)](_0x5678f9,_0x2b4b31,_0xeb84c4)):(_0x4f7f42[_0x2f9c09(0x362)](_0xeb84c4),_0x4f7f42[_0x2f9c09(0x1c4)](_0x2f9c09(0x31f),_0x2b4b31[_0x2f9c09(0x277)][_0x2f9c09(0x329)](_0x2b4b31,_0x2f9c09(0x31f))),_0x4f7f42[_0x2f9c09(0x1c4)](_0x2f9c09(0x36a),_0x2b4b31['emitClose'][_0x2f9c09(0x329)](_0x2b4b31)));}function _0x402785(_0x1f3580,_0x4683e8,_0x1a495a){const _0x1f1557=_0x5e6ae4;if(_0x4683e8){const _0x12f789=_0xf79d0(_0x4683e8)?_0x4683e8['size']:_0x425bdc(_0x4683e8)[_0x1f1557(0x2ad)];_0x1f3580[_0x1f1557(0x2ca)]?_0x1f3580[_0x1f1557(0x2c4)][_0x1f1557(0x2f2)]+=_0x12f789:_0x1f3580[_0x1f1557(0x2da)]+=_0x12f789;}if(_0x1a495a){const _0x21c267=new Error(_0x1f1557(0x1c3)+_0x1f3580[_0x1f1557(0x354)]+'\x20('+_0x10f8f6[_0x1f3580[_0x1f1557(0x354)]]+')');process[_0x1f1557(0x1df)](_0x1a495a,_0x21c267);}}function _0x2fd264(_0x47a08d,_0x5341be){const _0x21cfd0=_0x5e6ae4,_0x22d0e6=this[_0x24d13e];_0x22d0e6[_0x21cfd0(0x371)]=!0x0,_0x22d0e6['_closeMessage']=_0x5341be,_0x22d0e6[_0x21cfd0(0x273)]=_0x47a08d,_0x22d0e6['_socket'][_0x24d13e]!==void 0x0&&(_0x22d0e6[_0x21cfd0(0x2ca)][_0x21cfd0(0x1d3)]('data',_0x5d0e46),process[_0x21cfd0(0x1df)](_0x320d9c,_0x22d0e6[_0x21cfd0(0x2ca)]),_0x47a08d===0x3ed?_0x22d0e6[_0x21cfd0(0x36a)]():_0x22d0e6['close'](_0x47a08d,_0x5341be));}function _0x45748d(){const _0x27f70c=_0x5e6ae4,_0x293139=this[_0x24d13e];_0x293139[_0x27f70c(0x22a)]||_0x293139[_0x27f70c(0x2ca)][_0x27f70c(0x2eb)]();}function _0x59f7e8(_0x4e99d9){const _0x3a4ee9=_0x5e6ae4,_0x897af=this[_0x24d13e];_0x897af[_0x3a4ee9(0x2ca)][_0x24d13e]!==void 0x0&&(_0x897af[_0x3a4ee9(0x2ca)][_0x3a4ee9(0x1d3)](_0x3a4ee9(0x2a7),_0x5d0e46),process['nextTick'](_0x320d9c,_0x897af[_0x3a4ee9(0x2ca)]),_0x897af[_0x3a4ee9(0x36a)](_0x4e99d9[_0x5478ad])),_0x897af['_errorEmitted']||(_0x897af[_0x3a4ee9(0x1fa)]=!0x0,_0x897af[_0x3a4ee9(0x277)]('error',_0x4e99d9));}function _0x445ba9(){this[_0x24d13e]['emitClose']();}function _0x2da732(_0x3415e3,_0x176344){const _0x111016=_0x5e6ae4;this[_0x24d13e][_0x111016(0x277)](_0x111016(0x2bc),_0x3415e3,_0x176344);}function _0x535e60(_0x189062){const _0x2c70de=_0x5e6ae4,_0x21443c=this[_0x24d13e];_0x21443c[_0x2c70de(0x21c)]&&_0x21443c['pong'](_0x189062,!this[_0x2c70de(0x240)],_0x4ca148),_0x21443c['emit'](_0x2c70de(0x1b6),_0x189062);}function _0x260f6e(_0xc06e9c){const _0x3d3426=_0x5e6ae4;this[_0x24d13e][_0x3d3426(0x277)]('pong',_0xc06e9c);}function _0x320d9c(_0x5e3c28){const _0xd0d5b3=_0x5e6ae4;_0x5e3c28[_0xd0d5b3(0x2eb)]();}function _0x33e5a3(_0x3b3ac5){const _0x56ef26=_0x5e6ae4,_0x4f3ee=this[_0x24d13e];_0x4f3ee[_0x56ef26(0x354)]!==_0x4c95dc[_0x56ef26(0x306)]&&(_0x4f3ee[_0x56ef26(0x354)]===_0x4c95dc[_0x56ef26(0x307)]&&(_0x4f3ee['_readyState']=_0x4c95dc[_0x56ef26(0x2ee)],_0x122040(_0x4f3ee)),this[_0x56ef26(0x2ca)][_0x56ef26(0x19c)](),_0x4f3ee[_0x56ef26(0x1fa)]||(_0x4f3ee['_errorEmitted']=!0x0,_0x4f3ee[_0x56ef26(0x277)](_0x56ef26(0x31f),_0x3b3ac5)));}function _0x122040(_0x341c5b){const _0x31eacc=_0x5e6ae4;_0x341c5b[_0x31eacc(0x288)]=setTimeout(_0x341c5b[_0x31eacc(0x2ca)][_0x31eacc(0x362)][_0x31eacc(0x329)](_0x341c5b[_0x31eacc(0x2ca)]),_0x3c442b);}function _0x5aff1c(){const _0x1838b5=_0x5e6ae4,_0x4298a0=this[_0x24d13e];this[_0x1838b5(0x1d3)]('close',_0x5aff1c),this['removeListener'](_0x1838b5(0x2a7),_0x5d0e46),this[_0x1838b5(0x1d3)](_0x1838b5(0x19c),_0x20eceb),_0x4298a0[_0x1838b5(0x22e)]=_0x4c95dc[_0x1838b5(0x2ee)];let _0x5dd297;!this[_0x1838b5(0x2d8)][_0x1838b5(0x212)]&&!_0x4298a0[_0x1838b5(0x371)]&&!_0x4298a0['_receiver'][_0x1838b5(0x1d5)][_0x1838b5(0x2a8)]&&(_0x5dd297=_0x4298a0[_0x1838b5(0x2ca)][_0x1838b5(0x2df)]())!==null&&_0x4298a0[_0x1838b5(0x2a5)][_0x1838b5(0x314)](_0x5dd297),_0x4298a0[_0x1838b5(0x2a5)][_0x1838b5(0x19c)](),this[_0x24d13e]=void 0x0,clearTimeout(_0x4298a0['_closeTimer']),_0x4298a0['_receiver'][_0x1838b5(0x1d5)][_0x1838b5(0x263)]||_0x4298a0[_0x1838b5(0x2a5)][_0x1838b5(0x1d5)][_0x1838b5(0x2a8)]?_0x4298a0[_0x1838b5(0x252)]():(_0x4298a0['_receiver']['on'](_0x1838b5(0x31f),_0x445ba9),_0x4298a0['_receiver']['on'](_0x1838b5(0x1f9),_0x445ba9));}function _0x5d0e46(_0x56010d){const _0x25f316=_0x5e6ae4;this[_0x24d13e][_0x25f316(0x2a5)][_0x25f316(0x314)](_0x56010d)||this['pause']();}function _0x20eceb(){const _0x42c6b3=_0x5e6ae4,_0x598280=this[_0x24d13e];_0x598280[_0x42c6b3(0x22e)]=_0x4c95dc[_0x42c6b3(0x2ee)],_0x598280['_receiver'][_0x42c6b3(0x19c)](),this[_0x42c6b3(0x19c)]();}function _0x512c07(){const _0x41d67f=_0x5e6ae4,_0x58a7f9=this[_0x24d13e];this[_0x41d67f(0x1d3)](_0x41d67f(0x31f),_0x512c07),this['on'](_0x41d67f(0x31f),_0x4ca148),_0x58a7f9&&(_0x58a7f9[_0x41d67f(0x22e)]=_0x4c95dc['CLOSING'],this['destroy']());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x5199f6}=oe;function _0x2dbdcf(_0x532e03){const _0xb4d724=_0x26e0;_0x532e03[_0xb4d724(0x277)](_0xb4d724(0x36a));}function _0x400928(){const _0x1ce5d7=_0x26e0;!this['destroyed']&&this[_0x1ce5d7(0x1d5)][_0x1ce5d7(0x263)]&&this[_0x1ce5d7(0x362)]();}function _0x2148f0(_0x39a227){const _0x3b6c68=_0x26e0;this[_0x3b6c68(0x1d3)](_0x3b6c68(0x31f),_0x2148f0),this[_0x3b6c68(0x362)](),this[_0x3b6c68(0x1fe)](_0x3b6c68(0x31f))===0x0&&this[_0x3b6c68(0x277)]('error',_0x39a227);}function _0x416dca(_0x5444fb,_0x4e597e){const _0x24fe17=_0x26e0;let _0x30dbf7=!0x0;const _0x19c5ca=new _0x5199f6({..._0x4e597e,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x5444fb['on'](_0x24fe17(0x2bc),function(_0x5460d1,_0x233fb8){const _0x315743=_0x24fe17,_0x3f38c9=!_0x233fb8&&_0x19c5ca[_0x315743(0x2d8)]['objectMode']?_0x5460d1[_0x315743(0x267)]():_0x5460d1;_0x19c5ca[_0x315743(0x20d)](_0x3f38c9)||_0x5444fb[_0x315743(0x25e)]();}),_0x5444fb[_0x24fe17(0x1c4)]('error',function(_0x2fd496){const _0x4d63f5=_0x24fe17;_0x19c5ca[_0x4d63f5(0x1de)]||(_0x30dbf7=!0x1,_0x19c5ca[_0x4d63f5(0x362)](_0x2fd496));}),_0x5444fb['once'](_0x24fe17(0x36a),function(){const _0x4f7a3f=_0x24fe17;_0x19c5ca[_0x4f7a3f(0x1de)]||_0x19c5ca[_0x4f7a3f(0x20d)](null);}),_0x19c5ca['_destroy']=function(_0x46744a,_0x3c4eeb){const _0x5648bb=_0x24fe17;if(_0x5444fb[_0x5648bb(0x354)]===_0x5444fb[_0x5648bb(0x306)]){_0x3c4eeb(_0x46744a),process[_0x5648bb(0x1df)](_0x2dbdcf,_0x19c5ca);return;}let _0x368b1d=!0x1;_0x5444fb[_0x5648bb(0x1c4)]('error',function(_0x1652ea){_0x368b1d=!0x0,_0x3c4eeb(_0x1652ea);}),_0x5444fb[_0x5648bb(0x1c4)](_0x5648bb(0x36a),function(){const _0x54dd67=_0x5648bb;_0x368b1d||_0x3c4eeb(_0x46744a),process[_0x54dd67(0x1df)](_0x2dbdcf,_0x19c5ca);}),_0x30dbf7&&_0x5444fb[_0x5648bb(0x2ac)]();},_0x19c5ca[_0x24fe17(0x225)]=function(_0x22a54c){const _0xa9765a=_0x24fe17;if(_0x5444fb[_0xa9765a(0x354)]===_0x5444fb[_0xa9765a(0x1f4)]){_0x5444fb[_0xa9765a(0x1c4)](_0xa9765a(0x26e),function(){_0x19c5ca['_final'](_0x22a54c);});return;}_0x5444fb[_0xa9765a(0x2ca)]!==null&&(_0x5444fb[_0xa9765a(0x2ca)]['_writableState'][_0xa9765a(0x263)]?(_0x22a54c(),_0x19c5ca[_0xa9765a(0x2d8)][_0xa9765a(0x212)]&&_0x19c5ca['destroy']()):(_0x5444fb[_0xa9765a(0x2ca)][_0xa9765a(0x1c4)]('finish',function(){_0x22a54c();}),_0x5444fb[_0xa9765a(0x36a)]()));},_0x19c5ca[_0x24fe17(0x250)]=function(){const _0x5c1e3d=_0x24fe17;_0x5444fb['isPaused']&&_0x5444fb[_0x5c1e3d(0x2eb)]();},_0x19c5ca[_0x24fe17(0x2dc)]=function(_0x33c1fa,_0x589f3a,_0x38f347){const _0x37d1bb=_0x24fe17;if(_0x5444fb[_0x37d1bb(0x354)]===_0x5444fb[_0x37d1bb(0x1f4)]){_0x5444fb[_0x37d1bb(0x1c4)](_0x37d1bb(0x26e),function(){const _0x334411=_0x37d1bb;_0x19c5ca[_0x334411(0x2dc)](_0x33c1fa,_0x589f3a,_0x38f347);});return;}_0x5444fb[_0x37d1bb(0x36f)](_0x33c1fa,_0x38f347);},_0x19c5ca['on'](_0x24fe17(0x19c),_0x400928),_0x19c5ca['on']('error',_0x2148f0),_0x19c5ca;}return Oe=_0x416dca,Oe;}Ut(),lt(),ft();function _0x27df(){const _0x28a8f8=['code','finish','_errorEmitted','WS_ERR_UNEXPECTED_MASK','listening','_closeFrameSent','listenerCount','WS_ERR_INVALID_CLOSE_CODE','HTTP/1.1\x20','username','text/html','digest','address','setTimeout','Unsupported\x20protocol\x20version:\x20','concurrency','onmessage','setSocket','handleUpgrade','create','_totalPayloadLength','push','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','onclose','maskBuffer','_inflate','endEmitted','delete','concat','_decompress','6awOTpW','size','next','target','startsWith','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_autoPong','https:','stream','hostname','GET','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','Parameter\x20\x22','setNoDelay','Plugin','_final','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','autoPong','join','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','isPaused','value','serverNoContextTakeover','binary','_readyState','kDone','zlib','UniverCollaborationClientPlugin','_registerDependencies','10cgxnkq','add','Z_DEFAULT_WINDOWBITS','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','test','removeAllListeners','collaboration-client-node.config','wasClean','path','noServer','defineProperty','isArray','acceptAsClient','_isServer','invalid\x20opcode\x200','then','UniverCollaborationClientNodePlugin','_compress','ISnapshotServerService','handleProtocols','abort','14840SbiizF','server_no_context_takeover','cork','kError','kCode','pending','auth','protocol','_read','bufferedAmount','emitClose','decompress','kAborted','dispatch','Maximum\x20redirects\x20exceeded','Origin','default','accept','fragments','arraybuffer','@univerjs/network','242cdONYf','pause','kTarget','indexOf','_allowSynchronousEvents','isValidUTF8','finished','zlibInflateOptions','HTTPService','_binaryType','toString','invalid\x20payload\x20length\x20','mask','_fragments','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','isView','_loop','open','kMessage','12AtYmfj','pong','_max_window_bits','_closeCode','_fin','number','ISocketService','emit','parse','_fragmented','getPayloadLength16','byteOffset','rxjs','has','COLLABORATION_CLIENT_NODE_CONFIG_KEY','_errored','arrayBuffer','upgrade','extensions','\x22\x20subprotocol\x20is\x20duplicated','url','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','maxPayload','fin','_closeTimer','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','readUInt32BE','client_no_context_takeover','234wATAah','perMessageDeflate','base64','setConfig','clients','86316LMyWTL','wsClientError','server','Sec-WebSocket-Protocol','getConfig','alloc','Invalid\x20Upgrade\x20header','crypto','Invalid\x20HTTP\x20method','toLowerCase','includes','handleEvent','blob','isIP','readOnly','env','http:','Opening\x20handshake\x20has\x20timed\x20out','_opcode','Module','_receiver','wss:','data','errorEmitted','Z_SYNC_FLUSH','getMask','_firstFragment','terminate','length','search','_closeMessage','Injector','find','reset','_options','kIsForOnEventAttribute','protocolVersion','NodeCollaborationSocketService','isServer','createSocket','Invalid\x20Sec-WebSocket-Extensions\x20header','_protocol','skipUTF8Validation','message','MASK\x20must\x20be\x20clear','string','kReason','WS_ERR_EXPECTED_MASK','Invalid\x20Sec-WebSocket-Accept\x20header','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','toDisposable','_sender','concurrencyLimit','WS_NO_BUFFER_UTIL','forEach','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','Upgrade:\x20websocket','_socket','type','species','RSV1\x20must\x20be\x20clear','update','sec-websocket-version','toStringTag','jobs','getBlobData','generateMask','keys','frame','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','_originalIpc','_readableState','response','_bufferedAmount','@univerjs/core','_write','_extensions','_httpService','read','charCodeAt','get','pluginName','Invalid\x20value\x20for\x20parameter\x20\x22','Sec-WebSocket-Extensions:\x20','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','allocUnsafe','DependentOn','getPayloadLength64','Invalid\x20Sec-WebSocket-Protocol\x20header','clientMaxWindowBits','resume','threshold','_url','CLOSING','_paused','cleanup','Sec-WebSocket-Protocol:\x20','_bufferedBytes','kRun','_skipUTF8Validation','onopen','_shouldEmitClose','flush','compress','href','_state','haveLength','_configService','\x22\x20must\x20have\x20only\x20a\x20single\x20value','registerDependencies','Basic\x20','_originalHostOrSocketPath','share','port','6UshxzD','normalizeParams','serverMaxWindowBits','CLOSED','OPEN','opcode','_maxPayload','readable','192008ChTrbQ','onStarting','_removeListeners','createConnection','slice','_req','from','statusCode','_mask','write','onerror','constructor','_queue','_masked','Unexpected\x20character\x20at\x20index\x20','redirect','sec-websocket-key','_deflate','readUInt16BE','servername','error','byteLength','sec-websocket-protocol','client','map','function','unshift','authorization','host','\x22:\x20','bind','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','getInfo','captureStackTrace','_generateMask','authorized','dequeue','server_max_window_bits','Server\x20sent\x20no\x20subprotocol','getOwnPropertyDescriptor','verifyClient','writeHead','exports','HTTP/1.1\x20101\x20Switching\x20Protocols','_originalSecure','customHeaders','options','Unknown\x20parameter\x20\x22','WS_ERR_UNEXPECTED_RSV_1','STATUS_CODES','connection','conclude','Upgrade','construct','Invalid\x20URL:\x20','allowSynchronousEvents','reason','addEventListener','zlibDeflateOptions','_no_context_takeover','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','_redirects','kListener','defaultPort','buffer','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','events','hasOwnProperty','Sec-WebSocket-Accept:\x20','format','clientTracking','isBuffer','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','readyState','getData','consume','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','sendFrame','The\x20server\x20is\x20not\x20running','completeUpgrade','\x20(supported\x20versions:\x20','invalid\x20status\x20code\x20','_maskBuffer','The\x20\x22','set','values','headers','destroy','controlMessage','WS_ERR_INVALID_OPCODE','enqueue','invalid\x20opcode\x20','unmask','\x0d\x0a\x0d\x0a','warn','close','31200JWHuPP','offer','followRedirects','@univerjs-pro/collaboration','send','split','_closeFrameReceived','invalid\x20UTF-8\x20sequence','catch','_threshold','total-length','end','clientNoContextTakeover','sha1','WebSocket','sec-websocket-extensions','finishRequest','removeEventListener','_compressed','drain','Connection:\x20Upgrade','MASK\x20must\x20be\x20set','prototype','DisposableCollection','1451763gpCXdV','buffers','@univerjs-pro/collaboration-client','password','8RSuXig','createServer','2076809iZccKq','object','IConfigService','Unexpected\x20end\x20of\x20input','call','backlog','pow','ping','shift','pathname','createError','cookie','ILogService','params','dataMessage','shouldHandle','sec-websocket-accept','websocket','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','encrypted','WebSocket\x20is\x20not\x20open:\x20readyState\x20','once','pipe','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','WS_ERR_INVALID_UTF8','apply','extensionName','ws:','The\x20URL\x27s\x20pathname\x20is\x20empty','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','listeners','Observable','_messageLength','_injector','request','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','removeListener','writeUInt16BE','_writableState','https','socket','_buffers','client_max_window_bits','856705GwtELp','Max\x20payload\x20size\x20exceeded','_payloadLength','__esModule','destroyed','nextTick','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','WS_ERR_UNEXPECTED_RSV_2_3','Disposable','handshakeTimeout','writeUIntBE','replace','sec-websocket-origin','socketPath','_server','binaryType','kData','permessage-deflate','The\x20URL\x20contains\x20a\x20fragment\x20identifier','origin','freeze','Blob','kType','Unexpected\x20server\x20response:\x20','method','startLoop','CONNECTING','connect','nodebuffer','timeout'];_0x27df=function(){return _0x28a8f8;};return _0x27df();}var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x4d5646}=ae();function _0x41c570(_0x495bf1){const _0x1c4082=_0x26e0,_0x3ad349=new Set();let _0x3169da=-0x1,_0x20c34f=-0x1,_0x2e1a9a=0x0;for(_0x2e1a9a;_0x2e1a9a<_0x495bf1[_0x1c4082(0x2ad)];_0x2e1a9a++){const _0x4d3c17=_0x495bf1[_0x1c4082(0x2e0)](_0x2e1a9a);if(_0x20c34f===-0x1&&_0x4d5646[_0x4d3c17]===0x1)_0x3169da===-0x1&&(_0x3169da=_0x2e1a9a);else{if(_0x2e1a9a!==0x0&&(_0x4d3c17===0x20||_0x4d3c17===0x9))_0x20c34f===-0x1&&_0x3169da!==-0x1&&(_0x20c34f=_0x2e1a9a);else{if(_0x4d3c17===0x2c){if(_0x3169da===-0x1)throw new SyntaxError(_0x1c4082(0x319)+_0x2e1a9a);_0x20c34f===-0x1&&(_0x20c34f=_0x2e1a9a);const _0x52ee78=_0x495bf1[_0x1c4082(0x30f)](_0x3169da,_0x20c34f);if(_0x3ad349[_0x1c4082(0x27d)](_0x52ee78))throw new SyntaxError(_0x1c4082(0x35e)+_0x52ee78+_0x1c4082(0x283));_0x3ad349[_0x1c4082(0x234)](_0x52ee78),_0x3169da=_0x20c34f=-0x1;}else throw new SyntaxError(_0x1c4082(0x319)+_0x2e1a9a);}}}if(_0x3169da===-0x1||_0x20c34f!==-0x1)throw new SyntaxError(_0x1c4082(0x1b2));const _0x57b0d4=_0x495bf1[_0x1c4082(0x30f)](_0x3169da,_0x2e1a9a);if(_0x3ad349['has'](_0x57b0d4))throw new SyntaxError(_0x1c4082(0x35e)+_0x57b0d4+_0x1c4082(0x283));return _0x3ad349['add'](_0x57b0d4),_0x3ad349;}return Ce={'parse':_0x41c570},Ce;}var Te,rt;function Ft(){const _0x35594f=_0x204d8e;if(rt)return Te;rt=0x1;const _0x1a9a50=nt,_0x2d8f2f=ot,{Duplex:_0x142e6d}=oe,{createHash:_0x1d45c8}=Le,_0x4e3dc3=ct(),_0x1051fd=he(),_0x3d4113=At(),_0x589a74=Pe(),{GUID:_0x5756fa,kWebSocket:_0x43b562}=H(),_0x2d24b7=/^[+/0-9A-Za-z]{22}==$/,_0xf182f9=0x0,_0xd7fad4=0x1,_0x13a8c8=0x2;class _0x190bc3 extends _0x1a9a50{constructor(_0x2cec8c,_0x47d499){const _0xd6af18=_0x26e0;if(super(),_0x2cec8c={'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':_0x589a74,..._0x2cec8c},_0x2cec8c[_0xd6af18(0x302)]==null&&!_0x2cec8c[_0xd6af18(0x293)]&&!_0x2cec8c[_0xd6af18(0x23c)]||_0x2cec8c[_0xd6af18(0x302)]!=null&&(_0x2cec8c[_0xd6af18(0x293)]||_0x2cec8c[_0xd6af18(0x23c)])||_0x2cec8c[_0xd6af18(0x293)]&&_0x2cec8c[_0xd6af18(0x23c)])throw new TypeError(_0xd6af18(0x357));if(_0x2cec8c[_0xd6af18(0x302)]!=null?(this[_0xd6af18(0x1e8)]=_0x2d8f2f[_0xd6af18(0x1ae)]((_0x42b780,_0x29cbe3)=>{const _0x3a2d67=_0xd6af18,_0x1aa78b=_0x2d8f2f[_0x3a2d67(0x33c)][0x1aa];_0x29cbe3[_0x3a2d67(0x334)](0x1aa,{'Content-Length':_0x1aa78b[_0x3a2d67(0x2ad)],'Content-Type':'text/plain'}),_0x29cbe3[_0x3a2d67(0x19c)](_0x1aa78b);}),this[_0xd6af18(0x1e8)]['listen'](_0x2cec8c[_0xd6af18(0x302)],_0x2cec8c[_0xd6af18(0x327)],_0x2cec8c[_0xd6af18(0x1b4)],_0x47d499)):_0x2cec8c[_0xd6af18(0x293)]&&(this['_server']=_0x2cec8c[_0xd6af18(0x293)]),this[_0xd6af18(0x1e8)]){const _0x4ba66a=this[_0xd6af18(0x277)][_0xd6af18(0x329)](this,_0xd6af18(0x33d));this[_0xd6af18(0x30d)]=_0x299784(this[_0xd6af18(0x1e8)],{'listening':this[_0xd6af18(0x277)][_0xd6af18(0x329)](this,_0xd6af18(0x1fc)),'error':this[_0xd6af18(0x277)][_0xd6af18(0x329)](this,_0xd6af18(0x31f)),'upgrade':(_0x5bc191,_0x4e15f8,_0x1da8b3)=>{const _0x465ce8=_0xd6af18;this[_0x465ce8(0x20a)](_0x5bc191,_0x4e15f8,_0x1da8b3,_0x4ba66a);}});}_0x2cec8c[_0xd6af18(0x28d)]===!0x0&&(_0x2cec8c[_0xd6af18(0x28d)]={}),_0x2cec8c[_0xd6af18(0x351)]&&(this[_0xd6af18(0x290)]=new Set(),this[_0xd6af18(0x2f6)]=!0x1),this[_0xd6af18(0x339)]=_0x2cec8c,this[_0xd6af18(0x2fa)]=_0xf182f9;}['address'](){const _0x5cefab=_0x26e0;if(this[_0x5cefab(0x339)][_0x5cefab(0x23c)])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this['_server']?this[_0x5cefab(0x1e8)][_0x5cefab(0x204)]():null;}[_0x35594f(0x36a)](_0x15b936){const _0x164d15=_0x35594f;if(this[_0x164d15(0x2fa)]===_0x13a8c8){_0x15b936&&this['once']('close',()=>{const _0x3396d5=_0x164d15;_0x15b936(new Error(_0x3396d5(0x359)));}),process[_0x164d15(0x1df)](_0x5842db,this);return;}if(_0x15b936&&this[_0x164d15(0x1c4)](_0x164d15(0x36a),_0x15b936),this[_0x164d15(0x2fa)]!==_0xd7fad4){if(this[_0x164d15(0x2fa)]=_0xd7fad4,this['options'][_0x164d15(0x23c)]||this[_0x164d15(0x339)][_0x164d15(0x293)])this[_0x164d15(0x1e8)]&&(this[_0x164d15(0x30d)](),this[_0x164d15(0x30d)]=this[_0x164d15(0x1e8)]=null),this[_0x164d15(0x290)]?this['clients'][_0x164d15(0x217)]?this['_shouldEmitClose']=!0x0:process['nextTick'](_0x5842db,this):process['nextTick'](_0x5842db,this);else{const _0x34c858=this['_server'];this['_removeListeners'](),this[_0x164d15(0x30d)]=this[_0x164d15(0x1e8)]=null,_0x34c858['close'](()=>{_0x5842db(this);});}}}[_0x35594f(0x1be)](_0x412522){const _0x5708aa=_0x35594f;if(this['options'][_0x5708aa(0x23b)]){const _0x283691=_0x412522['url']['indexOf']('?');if((_0x283691!==-0x1?_0x412522['url'][_0x5708aa(0x30f)](0x0,_0x283691):_0x412522[_0x5708aa(0x284)])!==this[_0x5708aa(0x339)][_0x5708aa(0x23b)])return!0x1;}return!0x0;}['handleUpgrade'](_0x335c50,_0x49b34c,_0x5c55f2,_0x4e37ea){const _0x3eb8cd=_0x35594f;_0x49b34c['on'](_0x3eb8cd(0x31f),_0x63c959);const _0x1c7376=_0x335c50[_0x3eb8cd(0x361)][_0x3eb8cd(0x31b)],_0xfa8f2d=_0x335c50[_0x3eb8cd(0x361)][_0x3eb8cd(0x281)],_0x3f143c=+_0x335c50['headers'][_0x3eb8cd(0x2cf)];if(_0x335c50[_0x3eb8cd(0x1f2)]!==_0x3eb8cd(0x220)){_0xa7bf19(this,_0x335c50,_0x49b34c,0x195,_0x3eb8cd(0x299));return;}if(_0xfa8f2d===void 0x0||_0xfa8f2d[_0x3eb8cd(0x29a)]()!==_0x3eb8cd(0x1c0)){_0xa7bf19(this,_0x335c50,_0x49b34c,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x1c7376===void 0x0||!_0x2d24b7['test'](_0x1c7376)){_0xa7bf19(this,_0x335c50,_0x49b34c,0x190,_0x3eb8cd(0x32a));return;}if(_0x3f143c!==0x8&&_0x3f143c!==0xd){_0xa7bf19(this,_0x335c50,_0x49b34c,0x190,_0x3eb8cd(0x285));return;}if(!this['shouldHandle'](_0x335c50)){_0xdaf632(_0x49b34c,0x190);return;}const _0x40ba01=_0x335c50['headers'][_0x3eb8cd(0x321)];let _0x19e57b=new Set();if(_0x40ba01!==void 0x0)try{_0x19e57b=_0x3d4113[_0x3eb8cd(0x278)](_0x40ba01);}catch{_0xa7bf19(this,_0x335c50,_0x49b34c,0x190,_0x3eb8cd(0x2e9));return;}const _0xa38788=_0x335c50[_0x3eb8cd(0x361)][_0x3eb8cd(0x1a0)],_0x486d50={};if(this[_0x3eb8cd(0x339)][_0x3eb8cd(0x28d)]&&_0xa38788!==void 0x0){const _0x555b46=new _0x1051fd(this[_0x3eb8cd(0x339)][_0x3eb8cd(0x28d)],!0x0,this[_0x3eb8cd(0x339)][_0x3eb8cd(0x286)]);try{const _0x5abb8f=_0x4e3dc3['parse'](_0xa38788);_0x5abb8f[_0x1051fd['extensionName']]&&(_0x555b46[_0x3eb8cd(0x259)](_0x5abb8f[_0x1051fd[_0x3eb8cd(0x1c9)]]),_0x486d50[_0x1051fd[_0x3eb8cd(0x1c9)]]=_0x555b46);}catch{_0xa7bf19(this,_0x335c50,_0x49b34c,0x190,_0x3eb8cd(0x20e));return;}}if(this[_0x3eb8cd(0x339)][_0x3eb8cd(0x333)]){const _0x19d5a9={'origin':_0x335c50[_0x3eb8cd(0x361)][''+(_0x3f143c===0x8?_0x3eb8cd(0x1e6):_0x3eb8cd(0x1ed))],'secure':!!(_0x335c50[_0x3eb8cd(0x1d7)][_0x3eb8cd(0x32e)]||_0x335c50[_0x3eb8cd(0x1d7)][_0x3eb8cd(0x1c2)]),'req':_0x335c50};if(this[_0x3eb8cd(0x339)][_0x3eb8cd(0x333)][_0x3eb8cd(0x2ad)]===0x2){this['options'][_0x3eb8cd(0x333)](_0x19d5a9,(_0xa18686,_0x922065,_0x444413,_0x144094)=>{if(!_0xa18686)return _0xdaf632(_0x49b34c,_0x922065||0x191,_0x444413,_0x144094);this['completeUpgrade'](_0x486d50,_0x1c7376,_0x19e57b,_0x335c50,_0x49b34c,_0x5c55f2,_0x4e37ea);});return;}if(!this[_0x3eb8cd(0x339)][_0x3eb8cd(0x333)](_0x19d5a9))return _0xdaf632(_0x49b34c,0x191);}this['completeUpgrade'](_0x486d50,_0x1c7376,_0x19e57b,_0x335c50,_0x49b34c,_0x5c55f2,_0x4e37ea);}[_0x35594f(0x35a)](_0x55b44f,_0x23110d,_0x193456,_0x5a57b1,_0x532e7a,_0x5205f5,_0x5405dc){const _0x4e96d9=_0x35594f;if(!_0x532e7a[_0x4e96d9(0x30a)]||!_0x532e7a['writable'])return _0x532e7a[_0x4e96d9(0x362)]();if(_0x532e7a[_0x43b562])throw new Error(_0x4e96d9(0x2c2));if(this[_0x4e96d9(0x2fa)]>_0xf182f9)return _0xdaf632(_0x532e7a,0x1f7);const _0xb66102=[_0x4e96d9(0x336),_0x4e96d9(0x2c9),_0x4e96d9(0x1a5),_0x4e96d9(0x34f)+_0x1d45c8('sha1')['update'](_0x23110d+_0x5756fa)[_0x4e96d9(0x203)]('base64')],_0x52699a=new this[(_0x4e96d9(0x339))][(_0x4e96d9(0x19f))](null,void 0x0,this['options']);if(_0x193456[_0x4e96d9(0x217)]){const _0x4f43fc=this[_0x4e96d9(0x339)][_0x4e96d9(0x246)]?this[_0x4e96d9(0x339)]['handleProtocols'](_0x193456,_0x5a57b1):_0x193456[_0x4e96d9(0x360)]()[_0x4e96d9(0x218)]()[_0x4e96d9(0x22b)];_0x4f43fc&&(_0xb66102[_0x4e96d9(0x20d)](_0x4e96d9(0x2f1)+_0x4f43fc),_0x52699a['_protocol']=_0x4f43fc);}if(_0x55b44f[_0x1051fd['extensionName']]){const _0x38c1a9=_0x55b44f[_0x1051fd['extensionName']][_0x4e96d9(0x1bc)],_0x1f7a2b=_0x4e3dc3[_0x4e96d9(0x350)]({[_0x1051fd['extensionName']]:[_0x38c1a9]});_0xb66102['push'](_0x4e96d9(0x2e4)+_0x1f7a2b),_0x52699a[_0x4e96d9(0x2dd)]=_0x55b44f;}this[_0x4e96d9(0x277)](_0x4e96d9(0x361),_0xb66102,_0x5a57b1),_0x532e7a[_0x4e96d9(0x314)](_0xb66102[_0x4e96d9(0x214)]('\x0d\x0a')[_0x4e96d9(0x228)]('\x0d\x0a')),_0x532e7a[_0x4e96d9(0x1d3)](_0x4e96d9(0x31f),_0x63c959),_0x52699a[_0x4e96d9(0x209)](_0x532e7a,_0x5205f5,{'allowSynchronousEvents':this['options']['allowSynchronousEvents'],'maxPayload':this[_0x4e96d9(0x339)][_0x4e96d9(0x286)],'skipUTF8Validation':this[_0x4e96d9(0x339)][_0x4e96d9(0x2bb)]}),this[_0x4e96d9(0x290)]&&(this[_0x4e96d9(0x290)][_0x4e96d9(0x234)](_0x52699a),_0x52699a['on'](_0x4e96d9(0x36a),()=>{const _0x55fe14=_0x4e96d9;this[_0x55fe14(0x290)][_0x55fe14(0x213)](_0x52699a),this[_0x55fe14(0x2f6)]&&!this[_0x55fe14(0x290)][_0x55fe14(0x217)]&&process[_0x55fe14(0x1df)](_0x5842db,this);})),_0x5405dc(_0x52699a,_0x5a57b1);}}Te=_0x190bc3;function _0x299784(_0x3a1cce,_0x257161){const _0x216ac3=_0x35594f;for(const _0x527571 of Object[_0x216ac3(0x2d4)](_0x257161))_0x3a1cce['on'](_0x527571,_0x257161[_0x527571]);return function(){const _0x2c6ac6=_0x216ac3;for(const _0x1ecf64 of Object[_0x2c6ac6(0x2d4)](_0x257161))_0x3a1cce[_0x2c6ac6(0x1d3)](_0x1ecf64,_0x257161[_0x1ecf64]);};}function _0x5842db(_0x5df49d){const _0x3725b2=_0x35594f;_0x5df49d[_0x3725b2(0x2fa)]=_0x13a8c8,_0x5df49d[_0x3725b2(0x277)](_0x3725b2(0x36a));}function _0x63c959(){const _0x39b54d=_0x35594f;this[_0x39b54d(0x362)]();}function _0xdaf632(_0x36c072,_0x117b3b,_0x52df87,_0x51ea39){const _0x112ca8=_0x35594f;_0x52df87=_0x52df87||_0x2d8f2f[_0x112ca8(0x33c)][_0x117b3b],_0x51ea39={'Connection':_0x112ca8(0x36a),'Content-Type':_0x112ca8(0x202),'Content-Length':Buffer['byteLength'](_0x52df87),..._0x51ea39},_0x36c072[_0x112ca8(0x1c4)](_0x112ca8(0x1f9),_0x36c072[_0x112ca8(0x362)]),_0x36c072[_0x112ca8(0x19c)](_0x112ca8(0x200)+_0x117b3b+'\x20'+_0x2d8f2f[_0x112ca8(0x33c)][_0x117b3b]+'\x0d\x0a'+Object[_0x112ca8(0x2d4)](_0x51ea39)['map'](_0x43162e=>_0x43162e+':\x20'+_0x51ea39[_0x43162e])[_0x112ca8(0x228)]('\x0d\x0a')+_0x112ca8(0x368)+_0x52df87);}function _0xa7bf19(_0x2fe420,_0x5aa366,_0x418ddc,_0xa6ee8e,_0x5b404c){const _0x4c193e=_0x35594f;if(_0x2fe420[_0x4c193e(0x1fe)](_0x4c193e(0x292))){const _0x4fdd45=new Error(_0x5b404c);Error[_0x4c193e(0x32c)](_0x4fdd45,_0xa7bf19),_0x2fe420[_0x4c193e(0x277)](_0x4c193e(0x292),_0x4fdd45,_0x418ddc,_0x5aa366);}else _0xdaf632(_0x418ddc,_0xa6ee8e,_0x5b404c);}return Te;}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0x11d4ef,_0x2ed0ea,_0x4120e3,_0x4ba829)=>{const _0x12b275=_0x204d8e;for(var _0x5300fd=_0x4ba829>0x1?void 0x0:_0x4ba829?jt(_0x2ed0ea,_0x4120e3):_0x2ed0ea,_0xbd2bf4=_0x11d4ef[_0x12b275(0x2ad)]-0x1,_0x2df876;_0xbd2bf4>=0x0;_0xbd2bf4--)(_0x2df876=_0x11d4ef[_0xbd2bf4])&&(_0x5300fd=_0x2df876(_0x5300fd)||_0x5300fd);return _0x5300fd;},qt=(_0x11039a,_0x383f0e)=>(_0x2f510d,_0x175d29)=>_0x383f0e(_0x2f510d,_0x175d29,_0x11039a);let ke=class extends A[_0x204d8e(0x1e2)]{constructor(_0x411c4c){const _0x471a5a=_0x204d8e;super(),this[_0x471a5a(0x2fc)]=_0x411c4c;}[_0x204d8e(0x2b8)](_0x3c37bd){const _0x388f2b=_0x204d8e;var _0x4791e2;const _0x694853=(_0x4791e2=this[_0x388f2b(0x2fc)][_0x388f2b(0x295)](fe))==null?void 0x0:_0x4791e2[_0x388f2b(0x338)];try{const _0xf09645=new $t(_0x3c37bd,{'headers':{..._0x694853}}),_0x4e0056=new A[(_0x388f2b(0x1a8))]();return{'URL':_0x3c37bd,'close':(_0x1f32a9,_0x21faef)=>{const _0x1d2822=_0x388f2b;_0xf09645[_0x1d2822(0x36a)](_0x1f32a9,_0x21faef),_0x4e0056['dispose']();},'send':_0x436804=>{const _0x93ccf1=_0x388f2b;_0xf09645[_0x93ccf1(0x36f)](_0x436804);},'open$':new V['Observable'](_0x4e17c5=>{const _0x189f12=_0x388f2b,_0x1467c6=_0x771e32=>_0x4e17c5[_0x189f12(0x218)](_0x771e32);_0xf09645[_0x189f12(0x344)]('open',_0x1467c6),_0x4e0056[_0x189f12(0x234)](A['toDisposable'](()=>_0xf09645[_0x189f12(0x1a2)](_0x189f12(0x26e),_0x1467c6)));})[_0x388f2b(0x1c5)](V['share']()),'close$':new V[(_0x388f2b(0x1ce))](_0x12c2bb=>{const _0x552ccf=_0x388f2b,_0x59bb44=_0x359f60=>_0x12c2bb[_0x552ccf(0x218)](_0x359f60);_0xf09645['addEventListener'](_0x552ccf(0x36a),_0x59bb44),_0x4e0056['add'](A[_0x552ccf(0x2c3)](()=>_0xf09645[_0x552ccf(0x1a2)](_0x552ccf(0x36a),_0x59bb44)));})['pipe'](V[_0x388f2b(0x301)]()),'error$':new V[(_0x388f2b(0x1ce))](_0x2d14ec=>{const _0x31f39c=_0x388f2b,_0x5a8a2d=_0x1dc3b1=>_0x2d14ec[_0x31f39c(0x218)](_0x1dc3b1);_0xf09645[_0x31f39c(0x344)]('error',_0x5a8a2d),_0x4e0056[_0x31f39c(0x234)](A[_0x31f39c(0x2c3)](()=>_0xf09645[_0x31f39c(0x1a2)](_0x31f39c(0x31f),_0x5a8a2d)));})[_0x388f2b(0x1c5)](V[_0x388f2b(0x301)]()),'message$':new V[(_0x388f2b(0x1ce))](_0x17e0f2=>{const _0x4338f1=_0x388f2b,_0x54877f=_0x388488=>_0x17e0f2['next'](_0x388488);_0xf09645['addEventListener'](_0x4338f1(0x2bc),_0x54877f),_0x4e0056['add'](A[_0x4338f1(0x2c3)](()=>_0xf09645[_0x4338f1(0x1a2)](_0x4338f1(0x2bc),_0x54877f)));})['pipe'](V['share']())};}catch(_0x2622d6){return console['error'](_0x2622d6),null;}}};ke=Wt([qt(0x0,A[_0x204d8e(0x1b1)])],ke);function _0x26e0(_0x5384b2,_0x561b8a){const _0x27dff4=_0x27df();return _0x26e0=function(_0x26e094,_0x54cbe6){_0x26e094=_0x26e094-0x198;let _0x18236b=_0x27dff4[_0x26e094];return _0x18236b;},_0x26e0(_0x5384b2,_0x561b8a);}var Gt=Object['defineProperty'],Vt=Object[_0x204d8e(0x332)],Ht=(_0x4a67ab,_0x2659d6,_0x13e33e)=>_0x2659d6 in _0x4a67ab?Gt(_0x4a67ab,_0x2659d6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x13e33e}):_0x4a67ab[_0x2659d6]=_0x13e33e,zt=(_0x12e2a7,_0x4daeae,_0xc083e8,_0x122f5b)=>{const _0x42f8cc=_0x204d8e;for(var _0x374959=_0x122f5b>0x1?void 0x0:_0x122f5b?Vt(_0x4daeae,_0xc083e8):_0x4daeae,_0x2d6747=_0x12e2a7[_0x42f8cc(0x2ad)]-0x1,_0x333703;_0x2d6747>=0x0;_0x2d6747--)(_0x333703=_0x12e2a7[_0x2d6747])&&(_0x374959=_0x333703(_0x374959)||_0x374959);return _0x374959;},Ne=(_0x1c6c3c,_0x20edc3)=>(_0xe2e8d2,_0x5a51e7)=>_0x20edc3(_0xe2e8d2,_0x5a51e7,_0x1c6c3c),Yt=(_0x3e0298,_0x428b47,_0x1efa32)=>Ht(_0x3e0298,_0x428b47+'',_0x1efa32);exports[_0x204d8e(0x243)]=class extends A[_0x204d8e(0x224)]{constructor(_0x18a592=Ct,_0x220c85,_0x5a0464,_0x335e14){const _0x64e248=_0x204d8e;_0x18a592[_0x64e248(0x338)]||_0x220c85[_0x64e248(0x369)](_0x64e248(0x2e5)),super(),this[_0x64e248(0x2fc)]=_0x5a0464,this[_0x64e248(0x1d0)]=_0x335e14,this[_0x64e248(0x2fc)][_0x64e248(0x28f)](fe,_0x18a592);}[_0x204d8e(0x30c)](){const _0x4ead0f=_0x204d8e;this[_0x4ead0f(0x232)]();}[_0x204d8e(0x232)](){const _0x18f4f4=_0x204d8e;A[_0x18f4f4(0x2fe)](this['_injector'],[[it[_0x18f4f4(0x276)],{'useClass':ke}]]);}},Yt(exports[_0x204d8e(0x243)],_0x204d8e(0x2e2),_0x204d8e(0x289)),exports['UniverCollaborationClientNodePlugin']=zt([A[_0x204d8e(0x2e7)](st[_0x204d8e(0x231)]),Ne(0x1,A[_0x204d8e(0x1bb)]),Ne(0x2,A[_0x204d8e(0x1b1)]),Ne(0x3,A['Inject'](A['Injector']))],exports['UniverCollaborationClientNodePlugin']);var Kt=Object[_0x204d8e(0x332)],Xt=(_0x54b141,_0x1b2532,_0x291621,_0xc455f4)=>{const _0x392485=_0x204d8e;for(var _0x326c12=_0xc455f4>0x1?void 0x0:_0xc455f4?Kt(_0x1b2532,_0x291621):_0x1b2532,_0x5955e3=_0x54b141[_0x392485(0x2ad)]-0x1,_0x78d932;_0x5955e3>=0x0;_0x5955e3--)(_0x78d932=_0x54b141[_0x5955e3])&&(_0x326c12=_0x78d932(_0x326c12)||_0x326c12);return _0x326c12;},ne=(_0x299a1f,_0x435a35)=>(_0x2a18bf,_0x488fd9)=>_0x435a35(_0x2a18bf,_0x488fd9,_0x299a1f);exports[_0x204d8e(0x2b6)]=class extends st['CollaborationSocketService']{constructor(_0x12add4,_0xc10f98,_0x326ca6,_0x40ab5e,_0x5dfe4c){const _0xf09c6a=_0x204d8e;super(_0x12add4,_0xc10f98,_0x326ca6,_0x40ab5e,_0x5dfe4c);const _0x388088=this[_0xf09c6a(0x2fc)][_0xf09c6a(0x295)](fe);this[_0xf09c6a(0x2de)]['registerHTTPInterceptor']({'interceptor':(_0x49eda0,_0x20551e)=>{const _0x49450c=_0xf09c6a;var _0x462362;const _0x2c12bd=_0x49eda0[_0x49450c(0x361)];return(_0x462362=_0x388088==null?void 0x0:_0x388088[_0x49450c(0x338)])!=null&&_0x462362[_0x49450c(0x1ba)]&&_0x2c12bd[_0x49450c(0x35f)]('Cookie',_0x388088[_0x49450c(0x338)]['cookie']),_0x20551e(_0x49eda0);}});}async['createSocket'](_0x6e4e3f){return this['_doCreateSocket'](_0x6e4e3f);}},exports[_0x204d8e(0x2b6)]=Xt([ne(0x0,A['Inject'](A[_0x204d8e(0x2b0)])),ne(0x1,A['Inject'](it[_0x204d8e(0x265)])),ne(0x2,A[_0x204d8e(0x1b1)]),ne(0x3,A[_0x204d8e(0x1bb)]),ne(0x4,Ot[_0x204d8e(0x245)])],exports[_0x204d8e(0x2b6)]),exports[_0x204d8e(0x27e)]=fe;
|
|
1
|
+
'use strict';const _0x54e386=_0x15a8;(function(_0x3fa752,_0x4a384b){const _0x2dad43=_0x15a8,_0x3c462d=_0x3fa752();while(!![]){try{const _0x5ee850=parseInt(_0x2dad43(0x110))/0x1+-parseInt(_0x2dad43(0x1aa))/0x2+-parseInt(_0x2dad43(0x13f))/0x3*(-parseInt(_0x2dad43(0xf0))/0x4)+parseInt(_0x2dad43(0x1d2))/0x5*(-parseInt(_0x2dad43(0xf6))/0x6)+parseInt(_0x2dad43(0x17f))/0x7*(-parseInt(_0x2dad43(0xfc))/0x8)+parseInt(_0x2dad43(0x193))/0x9+parseInt(_0x2dad43(0x15f))/0xa*(-parseInt(_0x2dad43(0x228))/0xb);if(_0x5ee850===_0x4a384b)break;else _0x3c462d['push'](_0x3c462d['shift']());}catch(_0x3ef91d){_0x3c462d['push'](_0x3c462d['shift']());}}}(_0x1d4b,0x9dbc2));Object[_0x54e386(0x146)](exports,Symbol[_0x54e386(0x13b)],{'value':_0x54e386(0x27f)});const st=require(_0x54e386(0x284)),A=require(_0x54e386(0x272)),it=require('@univerjs/network'),V=require(_0x54e386(0x10b)),nt=require(_0x54e386(0x1d4)),vt=require('https'),ot=require('http'),St=require(_0x54e386(0x169)),Et=require(_0x54e386(0x22f)),Le=require('crypto'),oe=require(_0x54e386(0x260)),xt=require('url'),bt=require(_0x54e386(0x1e1)),wt=require(_0x54e386(0x1d3)),Ot=require('@univerjs-pro/collaboration'),fe=_0x54e386(0x26b),Ct={'customHeaders':{}};function Tt(_0x21699c){const _0x30324d=_0x54e386;return _0x21699c&&_0x21699c['__esModule']&&Object['prototype'][_0x30324d(0x119)]['call'](_0x21699c,_0x30324d(0x275))?_0x21699c[_0x30324d(0x275)]:_0x21699c;}function at(_0x23e23b){const _0x1c8934=_0x54e386;if(Object[_0x1c8934(0x132)][_0x1c8934(0x119)][_0x1c8934(0x1f2)](_0x23e23b,_0x1c8934(0x155)))return _0x23e23b;var _0x1272db=_0x23e23b[_0x1c8934(0x275)];if(typeof _0x1272db==_0x1c8934(0x16b)){var _0x33741a=function _0x3d4bba(){const _0x228e55=_0x1c8934;return this instanceof _0x3d4bba?Reflect[_0x228e55(0x10d)](_0x1272db,arguments,this[_0x228e55(0x179)]):_0x1272db[_0x228e55(0x1f5)](this,arguments);};_0x33741a['prototype']=_0x1272db[_0x1c8934(0x132)];}else _0x33741a={};return Object[_0x1c8934(0x146)](_0x33741a,_0x1c8934(0x155),{'value':!0x0}),Object[_0x1c8934(0x1e5)](_0x23e23b)['forEach'](function(_0x5008f6){const _0x20a4ce=_0x1c8934;var _0x381a48=Object['getOwnPropertyDescriptor'](_0x23e23b,_0x5008f6);Object[_0x20a4ce(0x146)](_0x33741a,_0x5008f6,_0x381a48[_0x20a4ce(0x1ad)]?_0x381a48:{'enumerable':!0x0,'get':function(){return _0x23e23b[_0x5008f6];}});}),_0x33741a;}var se={'exports':{}},ge,Ge;function H(){const _0x46cbe8=_0x54e386;if(Ge)return ge;Ge=0x1;const _0x2a5d9d=[_0x46cbe8(0x202),_0x46cbe8(0x17b),_0x46cbe8(0x14a)],_0x2e05fd=typeof Blob<'u';return _0x2e05fd&&_0x2a5d9d['push'](_0x46cbe8(0x24b)),ge={'BINARY_TYPES':_0x2a5d9d,'EMPTY_BUFFER':Buffer[_0x46cbe8(0x23f)](0x0),'GUID':_0x46cbe8(0x1e2),'hasBlob':_0x2e05fd,'kForOnEventAttribute':Symbol(_0x46cbe8(0x25c)),'kListener':Symbol(_0x46cbe8(0x258)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0x46cbe8(0x187)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x54e386(0x198)](Object[_0x54e386(0x146)]({'__proto__':null,'default':Nt},Symbol['toStringTag'],{'value':_0x54e386(0x27f)})),Lt=at(kt);var Ve;function ce(){const _0x3cf1a6=_0x54e386;if(Ve)return se[_0x3cf1a6(0x268)];Ve=0x1;const {EMPTY_BUFFER:_0x562c51}=H(),_0x1a72a8=Buffer[Symbol[_0x3cf1a6(0xee)]];function _0x46936f(_0x28793a,_0x351bf4){const _0x4c519c=_0x3cf1a6;if(_0x28793a[_0x4c519c(0x1bf)]===0x0)return _0x562c51;if(_0x28793a['length']===0x1)return _0x28793a[0x0];const _0x2ce169=Buffer[_0x4c519c(0x199)](_0x351bf4);let _0x47ea2c=0x0;for(let _0x434999=0x0;_0x434999<_0x28793a[_0x4c519c(0x1bf)];_0x434999++){const _0x1dc24c=_0x28793a[_0x434999];_0x2ce169[_0x4c519c(0x1c9)](_0x1dc24c,_0x47ea2c),_0x47ea2c+=_0x1dc24c[_0x4c519c(0x1bf)];}return _0x47ea2c<_0x351bf4?new _0x1a72a8(_0x2ce169[_0x4c519c(0x1d3)],_0x2ce169[_0x4c519c(0x1fa)],_0x47ea2c):_0x2ce169;}function _0x2d90a1(_0x29640e,_0x5aa0f2,_0x228740,_0x516183,_0x56fc25){for(let _0xabf734=0x0;_0xabf734<_0x56fc25;_0xabf734++)_0x228740[_0x516183+_0xabf734]=_0x29640e[_0xabf734]^_0x5aa0f2[_0xabf734&0x3];}function _0xd66aed(_0x556164,_0x399902){for(let _0x51e0dc=0x0;_0x51e0dc<_0x556164['length'];_0x51e0dc++)_0x556164[_0x51e0dc]^=_0x399902[_0x51e0dc&0x3];}function _0x21fdb9(_0x2b2f38){const _0x466376=_0x3cf1a6;return _0x2b2f38[_0x466376(0x1bf)]===_0x2b2f38[_0x466376(0x1d3)]['byteLength']?_0x2b2f38[_0x466376(0x1d3)]:_0x2b2f38[_0x466376(0x1d3)]['slice'](_0x2b2f38[_0x466376(0x1fa)],_0x2b2f38[_0x466376(0x1fa)]+_0x2b2f38[_0x466376(0x1bf)]);}function _0x10ff1f(_0x371876){const _0x501923=_0x3cf1a6;if(_0x10ff1f[_0x501923(0x1b9)]=!0x0,Buffer[_0x501923(0x1e0)](_0x371876))return _0x371876;let _0x4648db;return _0x371876 instanceof ArrayBuffer?_0x4648db=new _0x1a72a8(_0x371876):ArrayBuffer[_0x501923(0x174)](_0x371876)?_0x4648db=new _0x1a72a8(_0x371876[_0x501923(0x1d3)],_0x371876['byteOffset'],_0x371876['byteLength']):(_0x4648db=Buffer[_0x501923(0x237)](_0x371876),_0x10ff1f[_0x501923(0x1b9)]=!0x1),_0x4648db;}if(se[_0x3cf1a6(0x268)]={'concat':_0x46936f,'mask':_0x2d90a1,'toArrayBuffer':_0x21fdb9,'toBuffer':_0x10ff1f,'unmask':_0xd66aed},!process[_0x3cf1a6(0x26c)][_0x3cf1a6(0x1c4)])try{const _0x467812=Lt;se[_0x3cf1a6(0x268)]['mask']=function(_0x3ca62,_0x4478b2,_0x38a11d,_0x3088ae,_0x195bb5){const _0x101ffa=_0x3cf1a6;_0x195bb5<0x30?_0x2d90a1(_0x3ca62,_0x4478b2,_0x38a11d,_0x3088ae,_0x195bb5):_0x467812[_0x101ffa(0x1bb)](_0x3ca62,_0x4478b2,_0x38a11d,_0x3088ae,_0x195bb5);},se[_0x3cf1a6(0x268)]['unmask']=function(_0x563db8,_0x93a7c7){const _0x10b1ef=_0x3cf1a6;_0x563db8[_0x10b1ef(0x1bf)]<0x20?_0xd66aed(_0x563db8,_0x93a7c7):_0x467812[_0x10b1ef(0x1c1)](_0x563db8,_0x93a7c7);};}catch{}return se[_0x3cf1a6(0x268)];}var ye,He;function Pt(){const _0x4c0b86=_0x54e386;if(He)return ye;He=0x1;const _0x1dadba=Symbol(_0x4c0b86(0x282)),_0x19419a=Symbol(_0x4c0b86(0x19c));class _0x1e8421{constructor(_0x2a23b6){const _0x507e1d=_0x4c0b86;this[_0x1dadba]=()=>{const _0x31a63b=_0x15a8;this[_0x31a63b(0x24e)]--,this[_0x19419a]();},this[_0x507e1d(0x23b)]=_0x2a23b6||0x1/0x0,this[_0x507e1d(0x11b)]=[],this[_0x507e1d(0x24e)]=0x0;}[_0x4c0b86(0x149)](_0x22b4d3){const _0x3a8f39=_0x4c0b86;this['jobs'][_0x3a8f39(0x12c)](_0x22b4d3),this[_0x19419a]();}[_0x19419a](){const _0x145f76=_0x4c0b86;if(this['pending']!==this['concurrency']&&this[_0x145f76(0x11b)][_0x145f76(0x1bf)]){const _0x516a66=this['jobs'][_0x145f76(0x100)]();this[_0x145f76(0x24e)]++,_0x516a66(this[_0x1dadba]);}}}return ye=_0x1e8421,ye;}var ve,ze;function he(){const _0x5dfe0a=_0x54e386;if(ze)return ve;ze=0x1;const _0x49c3d1=bt,_0xe3a645=ce(),_0x449341=Pt(),{kStatusCode:_0x363694}=H(),_0x5b97e1=Buffer[Symbol['species']],_0x21d3ff=Buffer[_0x5dfe0a(0x237)]([0x0,0x0,0xff,0xff]),_0x478205=Symbol(_0x5dfe0a(0xde)),_0x5b3119=Symbol('total-length'),_0x3af5f8=Symbol(_0x5dfe0a(0x114)),_0x22a87d=Symbol(_0x5dfe0a(0xce)),_0x53a8e2=Symbol('error');let _0xdbaa60;class _0x3dbf7a{constructor(_0x2ba1b0,_0xd06a0d,_0x15e5af){const _0x417288=_0x5dfe0a;if(this[_0x417288(0x27c)]=_0x15e5af|0x0,this[_0x417288(0x17a)]=_0x2ba1b0||{},this['_threshold']=this[_0x417288(0x17a)][_0x417288(0x18b)]!==void 0x0?this[_0x417288(0x17a)][_0x417288(0x18b)]:0x400,this[_0x417288(0x1a7)]=!!_0xd06a0d,this[_0x417288(0x1fd)]=null,this[_0x417288(0x19f)]=null,this[_0x417288(0x158)]=null,!_0xdbaa60){const _0x56394b=this[_0x417288(0x17a)][_0x417288(0x263)]!==void 0x0?this[_0x417288(0x17a)][_0x417288(0x263)]:0xa;_0xdbaa60=new _0x449341(_0x56394b);}}static get[_0x5dfe0a(0xbc)](){const _0x5f0f1c=_0x5dfe0a;return _0x5f0f1c(0xde);}[_0x5dfe0a(0x203)](){const _0x126893=_0x5dfe0a,_0x3e863e={};return this[_0x126893(0x17a)][_0x126893(0xff)]&&(_0x3e863e[_0x126893(0x207)]=!0x0),this[_0x126893(0x17a)][_0x126893(0xb9)]&&(_0x3e863e[_0x126893(0x21f)]=!0x0),this[_0x126893(0x17a)][_0x126893(0xbf)]&&(_0x3e863e[_0x126893(0x188)]=this[_0x126893(0x17a)][_0x126893(0xbf)]),this[_0x126893(0x17a)]['clientMaxWindowBits']?_0x3e863e[_0x126893(0xf5)]=this['_options'][_0x126893(0x14d)]:this[_0x126893(0x17a)][_0x126893(0x14d)]==null&&(_0x3e863e[_0x126893(0xf5)]=!0x0),_0x3e863e;}[_0x5dfe0a(0xc4)](_0x2f23be){const _0x5bd5c2=_0x5dfe0a;return _0x2f23be=this[_0x5bd5c2(0x159)](_0x2f23be),this[_0x5bd5c2(0x158)]=this[_0x5bd5c2(0x1a7)]?this[_0x5bd5c2(0x25d)](_0x2f23be):this['acceptAsClient'](_0x2f23be),this[_0x5bd5c2(0x158)];}['cleanup'](){const _0x1fe034=_0x5dfe0a;if(this[_0x1fe034(0x19f)]&&(this[_0x1fe034(0x19f)][_0x1fe034(0x172)](),this['_inflate']=null),this[_0x1fe034(0x1fd)]){const _0x54a1fe=this['_deflate'][_0x3af5f8];this[_0x1fe034(0x1fd)][_0x1fe034(0x172)](),this[_0x1fe034(0x1fd)]=null,_0x54a1fe&&_0x54a1fe(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x5dfe0a(0x25d)](_0x38e5dd){const _0x2ec095=_0x5dfe0a,_0x22401b=this[_0x2ec095(0x17a)],_0x1abc21=_0x38e5dd[_0x2ec095(0x135)](_0x4b984d=>!(_0x22401b[_0x2ec095(0xff)]===!0x1&&_0x4b984d[_0x2ec095(0x207)]||_0x4b984d[_0x2ec095(0x188)]&&(_0x22401b[_0x2ec095(0xbf)]===!0x1||typeof _0x22401b[_0x2ec095(0xbf)]==_0x2ec095(0x14e)&&_0x22401b[_0x2ec095(0xbf)]>_0x4b984d['server_max_window_bits'])||typeof _0x22401b[_0x2ec095(0x14d)]==_0x2ec095(0x14e)&&!_0x4b984d['client_max_window_bits']));if(!_0x1abc21)throw new Error(_0x2ec095(0x140));return _0x22401b[_0x2ec095(0xff)]&&(_0x1abc21[_0x2ec095(0x207)]=!0x0),_0x22401b[_0x2ec095(0xb9)]&&(_0x1abc21[_0x2ec095(0x21f)]=!0x0),typeof _0x22401b[_0x2ec095(0xbf)]==_0x2ec095(0x14e)&&(_0x1abc21[_0x2ec095(0x188)]=_0x22401b[_0x2ec095(0xbf)]),typeof _0x22401b[_0x2ec095(0x14d)]==_0x2ec095(0x14e)?_0x1abc21['client_max_window_bits']=_0x22401b['clientMaxWindowBits']:(_0x1abc21[_0x2ec095(0xf5)]===!0x0||_0x22401b[_0x2ec095(0x14d)]===!0x1)&&delete _0x1abc21[_0x2ec095(0xf5)],_0x1abc21;}[_0x5dfe0a(0xcd)](_0x4d8469){const _0x1526a6=_0x5dfe0a,_0x176266=_0x4d8469[0x0];if(this['_options'][_0x1526a6(0xb9)]===!0x1&&_0x176266[_0x1526a6(0x21f)])throw new Error(_0x1526a6(0x141));if(!_0x176266[_0x1526a6(0xf5)])typeof this[_0x1526a6(0x17a)][_0x1526a6(0x14d)]==_0x1526a6(0x14e)&&(_0x176266[_0x1526a6(0xf5)]=this[_0x1526a6(0x17a)][_0x1526a6(0x14d)]);else{if(this['_options'][_0x1526a6(0x14d)]===!0x1||typeof this[_0x1526a6(0x17a)][_0x1526a6(0x14d)]==_0x1526a6(0x14e)&&_0x176266[_0x1526a6(0xf5)]>this[_0x1526a6(0x17a)][_0x1526a6(0x14d)])throw new Error(_0x1526a6(0xdd));}return _0x176266;}[_0x5dfe0a(0x159)](_0x5ed3e0){return _0x5ed3e0['forEach'](_0x26483b=>{const _0x10350b=_0x15a8;Object[_0x10350b(0x1e5)](_0x26483b)[_0x10350b(0x105)](_0x552a21=>{const _0x5a3f18=_0x10350b;let _0x3df1b3=_0x26483b[_0x552a21];if(_0x3df1b3[_0x5a3f18(0x1bf)]>0x1)throw new Error('Parameter\x20\x22'+_0x552a21+_0x5a3f18(0x11f));if(_0x3df1b3=_0x3df1b3[0x0],_0x552a21===_0x5a3f18(0xf5)){if(_0x3df1b3!==!0x0){const _0x367fd8=+_0x3df1b3;if(!Number[_0x5a3f18(0x23a)](_0x367fd8)||_0x367fd8<0x8||_0x367fd8>0xf)throw new TypeError(_0x5a3f18(0x182)+_0x552a21+'\x22:\x20'+_0x3df1b3);_0x3df1b3=_0x367fd8;}else{if(!this[_0x5a3f18(0x1a7)])throw new TypeError(_0x5a3f18(0x182)+_0x552a21+_0x5a3f18(0x239)+_0x3df1b3);}}else{if(_0x552a21==='server_max_window_bits'){const _0x1fa9ca=+_0x3df1b3;if(!Number[_0x5a3f18(0x23a)](_0x1fa9ca)||_0x1fa9ca<0x8||_0x1fa9ca>0xf)throw new TypeError(_0x5a3f18(0x182)+_0x552a21+_0x5a3f18(0x239)+_0x3df1b3);_0x3df1b3=_0x1fa9ca;}else{if(_0x552a21===_0x5a3f18(0x21f)||_0x552a21===_0x5a3f18(0x207)){if(_0x3df1b3!==!0x0)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x552a21+'\x22:\x20'+_0x3df1b3);}else throw new Error(_0x5a3f18(0x148)+_0x552a21+'\x22');}}_0x26483b[_0x552a21]=_0x3df1b3;});}),_0x5ed3e0;}[_0x5dfe0a(0x191)](_0x1be86c,_0x9e0e5f,_0x1d09d5){const _0x334068=_0x5dfe0a;_0xdbaa60[_0x334068(0x149)](_0x3d8d71=>{const _0x3fad28=_0x334068;this[_0x3fad28(0x189)](_0x1be86c,_0x9e0e5f,(_0x5f3600,_0x37f3fc)=>{_0x3d8d71(),_0x1d09d5(_0x5f3600,_0x37f3fc);});});}['compress'](_0x31e1dd,_0x37d5c1,_0xb4e3a3){const _0x2df885=_0x5dfe0a;_0xdbaa60[_0x2df885(0x149)](_0x24a0b7=>{const _0x29fb3b=_0x2df885;this[_0x29fb3b(0xeb)](_0x31e1dd,_0x37d5c1,(_0x4be860,_0x3183d6)=>{_0x24a0b7(),_0xb4e3a3(_0x4be860,_0x3183d6);});});}['_decompress'](_0x2b4975,_0x358a40,_0x3ae30f){const _0xf5a86c=_0x5dfe0a,_0x522da2=this[_0xf5a86c(0x1a7)]?_0xf5a86c(0xf8):'server';if(!this[_0xf5a86c(0x19f)]){const _0x203422=_0x522da2+'_max_window_bits',_0x5c7e92=typeof this[_0xf5a86c(0x158)][_0x203422]!=_0xf5a86c(0x14e)?_0x49c3d1[_0xf5a86c(0x22d)]:this[_0xf5a86c(0x158)][_0x203422];this[_0xf5a86c(0x19f)]=_0x49c3d1[_0xf5a86c(0x1a3)]({...this[_0xf5a86c(0x17a)][_0xf5a86c(0x283)],'windowBits':_0x5c7e92}),this['_inflate'][_0x478205]=this,this[_0xf5a86c(0x19f)][_0x5b3119]=0x0,this[_0xf5a86c(0x19f)][_0x22a87d]=[],this[_0xf5a86c(0x19f)]['on']('error',_0xd9223f),this[_0xf5a86c(0x19f)]['on']('data',_0x4b88ed);}this[_0xf5a86c(0x19f)][_0x3af5f8]=_0x3ae30f,this[_0xf5a86c(0x19f)]['write'](_0x2b4975),_0x358a40&&this[_0xf5a86c(0x19f)][_0xf5a86c(0x1b3)](_0x21d3ff),this['_inflate'][_0xf5a86c(0x20b)](()=>{const _0x560ef3=_0xf5a86c,_0x11ee69=this['_inflate'][_0x53a8e2];if(_0x11ee69){this['_inflate'][_0x560ef3(0x172)](),this[_0x560ef3(0x19f)]=null,_0x3ae30f(_0x11ee69);return;}const _0x1bfd0c=_0xe3a645[_0x560ef3(0xe6)](this[_0x560ef3(0x19f)][_0x22a87d],this['_inflate'][_0x5b3119]);this[_0x560ef3(0x19f)]['_readableState'][_0x560ef3(0x211)]?(this[_0x560ef3(0x19f)][_0x560ef3(0x172)](),this[_0x560ef3(0x19f)]=null):(this[_0x560ef3(0x19f)][_0x5b3119]=0x0,this[_0x560ef3(0x19f)][_0x22a87d]=[],_0x358a40&&this[_0x560ef3(0x158)][_0x522da2+_0x560ef3(0xd0)]&&this[_0x560ef3(0x19f)]['reset']()),_0x3ae30f(null,_0x1bfd0c);});}['_compress'](_0x234740,_0x27c4af,_0x2a66ad){const _0x29f1d4=_0x5dfe0a,_0x350164=this[_0x29f1d4(0x1a7)]?_0x29f1d4(0x13d):'client';if(!this[_0x29f1d4(0x1fd)]){const _0x36d5e3=_0x350164+_0x29f1d4(0xd3),_0x4e0baf=typeof this[_0x29f1d4(0x158)][_0x36d5e3]!='number'?_0x49c3d1['Z_DEFAULT_WINDOWBITS']:this[_0x29f1d4(0x158)][_0x36d5e3];this[_0x29f1d4(0x1fd)]=_0x49c3d1[_0x29f1d4(0xd6)]({...this[_0x29f1d4(0x17a)][_0x29f1d4(0x170)],'windowBits':_0x4e0baf}),this[_0x29f1d4(0x1fd)][_0x5b3119]=0x0,this[_0x29f1d4(0x1fd)][_0x22a87d]=[],this['_deflate']['on'](_0x29f1d4(0x165),_0x1c4d19);}this['_deflate'][_0x3af5f8]=_0x2a66ad,this[_0x29f1d4(0x1fd)][_0x29f1d4(0x1b3)](_0x234740),this[_0x29f1d4(0x1fd)][_0x29f1d4(0x20b)](_0x49c3d1[_0x29f1d4(0xca)],()=>{const _0x2af993=_0x29f1d4;if(!this[_0x2af993(0x1fd)])return;let _0x533842=_0xe3a645[_0x2af993(0xe6)](this[_0x2af993(0x1fd)][_0x22a87d],this[_0x2af993(0x1fd)][_0x5b3119]);_0x27c4af&&(_0x533842=new _0x5b97e1(_0x533842[_0x2af993(0x1d3)],_0x533842[_0x2af993(0x1fa)],_0x533842['length']-0x4)),this[_0x2af993(0x1fd)][_0x3af5f8]=null,this[_0x2af993(0x1fd)][_0x5b3119]=0x0,this[_0x2af993(0x1fd)][_0x22a87d]=[],_0x27c4af&&this[_0x2af993(0x158)][_0x350164+_0x2af993(0xd0)]&&this[_0x2af993(0x1fd)]['reset'](),_0x2a66ad(null,_0x533842);});}}ve=_0x3dbf7a;function _0x1c4d19(_0x5d7632){const _0x4148b8=_0x5dfe0a;this[_0x22a87d][_0x4148b8(0x12c)](_0x5d7632),this[_0x5b3119]+=_0x5d7632[_0x4148b8(0x1bf)];}function _0x4b88ed(_0xce7306){const _0x429495=_0x5dfe0a;if(this[_0x5b3119]+=_0xce7306[_0x429495(0x1bf)],this[_0x478205][_0x429495(0x27c)]<0x1||this[_0x5b3119]<=this[_0x478205]['_maxPayload']){this[_0x22a87d]['push'](_0xce7306);return;}this[_0x53a8e2]=new RangeError(_0x429495(0x1a4)),this[_0x53a8e2]['code']=_0x429495(0x134),this[_0x53a8e2][_0x363694]=0x3f1,this[_0x429495(0x21b)](_0x429495(0x165),_0x4b88ed),this[_0x429495(0x13a)]();}function _0xd9223f(_0x4ed5c5){this[_0x478205]['_inflate']=null,_0x4ed5c5[_0x363694]=0x3ef,this[_0x3af5f8](_0x4ed5c5);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x54e386(0x198)](Object['defineProperty']({'__proto__':null,'default':Dt},Symbol[_0x54e386(0x13b)],{'value':_0x54e386(0x27f)})),Bt=at(Rt);var Ye;function ae(){const _0x2e2954=_0x54e386;if(Ye)return ie[_0x2e2954(0x268)];Ye=0x1;const {isUtf8:_0x51c439}=wt,{hasBlob:_0x5c9fb5}=H(),_0x2646d1=[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 _0x5ccbb1(_0x514f13){return _0x514f13>=0x3e8&&_0x514f13<=0x3f6&&_0x514f13!==0x3ec&&_0x514f13!==0x3ed&&_0x514f13!==0x3ee||_0x514f13>=0xbb8&&_0x514f13<=0x1387;}function _0x204926(_0x367ff5){const _0x54fbdd=_0x2e2954,_0x5da1c5=_0x367ff5[_0x54fbdd(0x1bf)];let _0xf35b3d=0x0;for(;_0xf35b3d<_0x5da1c5;)if((_0x367ff5[_0xf35b3d]&0x80)===0x0)_0xf35b3d++;else{if((_0x367ff5[_0xf35b3d]&0xe0)===0xc0){if(_0xf35b3d+0x1===_0x5da1c5||(_0x367ff5[_0xf35b3d+0x1]&0xc0)!==0x80||(_0x367ff5[_0xf35b3d]&0xfe)===0xc0)return!0x1;_0xf35b3d+=0x2;}else{if((_0x367ff5[_0xf35b3d]&0xf0)===0xe0){if(_0xf35b3d+0x2>=_0x5da1c5||(_0x367ff5[_0xf35b3d+0x1]&0xc0)!==0x80||(_0x367ff5[_0xf35b3d+0x2]&0xc0)!==0x80||_0x367ff5[_0xf35b3d]===0xe0&&(_0x367ff5[_0xf35b3d+0x1]&0xe0)===0x80||_0x367ff5[_0xf35b3d]===0xed&&(_0x367ff5[_0xf35b3d+0x1]&0xe0)===0xa0)return!0x1;_0xf35b3d+=0x3;}else{if((_0x367ff5[_0xf35b3d]&0xf8)===0xf0){if(_0xf35b3d+0x3>=_0x5da1c5||(_0x367ff5[_0xf35b3d+0x1]&0xc0)!==0x80||(_0x367ff5[_0xf35b3d+0x2]&0xc0)!==0x80||(_0x367ff5[_0xf35b3d+0x3]&0xc0)!==0x80||_0x367ff5[_0xf35b3d]===0xf0&&(_0x367ff5[_0xf35b3d+0x1]&0xf0)===0x80||_0x367ff5[_0xf35b3d]===0xf4&&_0x367ff5[_0xf35b3d+0x1]>0x8f||_0x367ff5[_0xf35b3d]>0xf4)return!0x1;_0xf35b3d+=0x4;}else return!0x1;}}}return!0x0;}function _0x3570e2(_0x5db116){const _0x2fd542=_0x2e2954;return _0x5c9fb5&&typeof _0x5db116==_0x2fd542(0x138)&&typeof _0x5db116[_0x2fd542(0xe7)]==_0x2fd542(0x16b)&&typeof _0x5db116[_0x2fd542(0x1f4)]==_0x2fd542(0x153)&&typeof _0x5db116[_0x2fd542(0x260)]==_0x2fd542(0x16b)&&(_0x5db116[Symbol['toStringTag']]===_0x2fd542(0x232)||_0x5db116[Symbol[_0x2fd542(0x13b)]]===_0x2fd542(0xe2));}if(ie['exports']={'isBlob':_0x3570e2,'isValidStatusCode':_0x5ccbb1,'isValidUTF8':_0x204926,'tokenChars':_0x2646d1},_0x51c439)ie[_0x2e2954(0x268)][_0x2e2954(0x22e)]=function(_0x441c5f){const _0x1d4224=_0x2e2954;return _0x441c5f[_0x1d4224(0x1bf)]<0x18?_0x204926(_0x441c5f):_0x51c439(_0x441c5f);};else{if(!process['env'][_0x2e2954(0x206)])try{const _0x538f1f=Bt;ie['exports'][_0x2e2954(0x22e)]=function(_0x575987){return _0x575987['length']<0x20?_0x204926(_0x575987):_0x538f1f(_0x575987);};}catch{}}return ie[_0x2e2954(0x268)];}var Se,Ke;function lt(){const _0x4aa832=_0x54e386;if(Ke)return Se;Ke=0x1;const {Writable:_0x5d384d}=oe,_0xe02f1d=he(),{BINARY_TYPES:_0x146a71,EMPTY_BUFFER:_0x2759cf,kStatusCode:_0x2b567f,kWebSocket:_0x598a57}=H(),{concat:_0x42a400,toArrayBuffer:_0x2fbcb3,unmask:_0x5731e2}=ce(),{isValidStatusCode:_0x274c2d,isValidUTF8:_0x36f337}=ae(),_0x4e8ed3=Buffer[Symbol['species']],_0x34bf38=0x0,_0x2f3906=0x1,_0x4f86ea=0x2,_0x1a974f=0x3,_0x330d72=0x4,_0x5215b4=0x5,_0x587089=0x6;class _0x44601b extends _0x5d384d{constructor(_0x130164={}){const _0x439845=_0x15a8;super(),this[_0x439845(0x233)]=_0x130164[_0x439845(0x224)]!==void 0x0?_0x130164[_0x439845(0x224)]:!0x0,this[_0x439845(0x14f)]=_0x130164[_0x439845(0x225)]||_0x146a71[0x0],this[_0x439845(0x243)]=_0x130164[_0x439845(0x259)]||{},this[_0x439845(0x1a7)]=!!_0x130164[_0x439845(0x23d)],this[_0x439845(0x27c)]=_0x130164[_0x439845(0x241)]|0x0,this[_0x439845(0x235)]=!!_0x130164[_0x439845(0x161)],this[_0x598a57]=void 0x0,this[_0x439845(0x217)]=0x0,this['_buffers']=[],this['_compressed']=!0x1,this[_0x439845(0x278)]=0x0,this[_0x439845(0x1d1)]=void 0x0,this[_0x439845(0x1d7)]=0x0,this[_0x439845(0x1dc)]=!0x1,this[_0x439845(0x1d6)]=!0x1,this[_0x439845(0xd5)]=0x0,this[_0x439845(0x25e)]=0x0,this[_0x439845(0x1ee)]=0x0,this[_0x439845(0x1be)]=[],this['_errored']=!0x1,this['_loop']=!0x1,this['_state']=_0x34bf38;}[_0x4aa832(0xe9)](_0x2ebf0d,_0x2b7669,_0x79294c){const _0xb31129=_0x4aa832;if(this[_0xb31129(0xd5)]===0x8&&this[_0xb31129(0x15a)]==_0x34bf38)return _0x79294c();this[_0xb31129(0x217)]+=_0x2ebf0d['length'],this[_0xb31129(0x154)][_0xb31129(0x12c)](_0x2ebf0d),this[_0xb31129(0xbd)](_0x79294c);}[_0x4aa832(0x1e9)](_0x192c2f){const _0x6a74bd=_0x4aa832;if(this[_0x6a74bd(0x217)]-=_0x192c2f,_0x192c2f===this['_buffers'][0x0][_0x6a74bd(0x1bf)])return this[_0x6a74bd(0x154)][_0x6a74bd(0x100)]();if(_0x192c2f<this[_0x6a74bd(0x154)][0x0]['length']){const _0x4a166c=this['_buffers'][0x0];return this[_0x6a74bd(0x154)][0x0]=new _0x4e8ed3(_0x4a166c[_0x6a74bd(0x1d3)],_0x4a166c[_0x6a74bd(0x1fa)]+_0x192c2f,_0x4a166c[_0x6a74bd(0x1bf)]-_0x192c2f),new _0x4e8ed3(_0x4a166c[_0x6a74bd(0x1d3)],_0x4a166c[_0x6a74bd(0x1fa)],_0x192c2f);}const _0x486d22=Buffer[_0x6a74bd(0x199)](_0x192c2f);do{const _0x1bd34d=this[_0x6a74bd(0x154)][0x0],_0x47705d=_0x486d22[_0x6a74bd(0x1bf)]-_0x192c2f;_0x192c2f>=_0x1bd34d[_0x6a74bd(0x1bf)]?_0x486d22[_0x6a74bd(0x1c9)](this[_0x6a74bd(0x154)][_0x6a74bd(0x100)](),_0x47705d):(_0x486d22[_0x6a74bd(0x1c9)](new Uint8Array(_0x1bd34d[_0x6a74bd(0x1d3)],_0x1bd34d['byteOffset'],_0x192c2f),_0x47705d),this[_0x6a74bd(0x154)][0x0]=new _0x4e8ed3(_0x1bd34d['buffer'],_0x1bd34d[_0x6a74bd(0x1fa)]+_0x192c2f,_0x1bd34d[_0x6a74bd(0x1bf)]-_0x192c2f)),_0x192c2f-=_0x1bd34d[_0x6a74bd(0x1bf)];}while(_0x192c2f>0x0);return _0x486d22;}[_0x4aa832(0xbd)](_0x4a65d6){const _0x442a59=_0x4aa832;this[_0x442a59(0xc1)]=!0x0;do switch(this['_state']){case _0x34bf38:this['getInfo'](_0x4a65d6);break;case _0x2f3906:this[_0x442a59(0x103)](_0x4a65d6);break;case _0x4f86ea:this[_0x442a59(0x145)](_0x4a65d6);break;case _0x1a974f:this[_0x442a59(0x17c)]();break;case _0x330d72:this[_0x442a59(0xf9)](_0x4a65d6);break;case _0x5215b4:case _0x587089:this[_0x442a59(0xc1)]=!0x1;return;}while(this['_loop']);this[_0x442a59(0xd9)]||_0x4a65d6();}['getInfo'](_0x3d60ed){const _0x3728ef=_0x4aa832;if(this[_0x3728ef(0x217)]<0x2){this['_loop']=!0x1;return;}const _0x231714=this['consume'](0x2);if((_0x231714[0x0]&0x30)!==0x0){const _0x2b8ee7=this['createError'](RangeError,_0x3728ef(0x152),!0x0,0x3ea,_0x3728ef(0x21c));_0x3d60ed(_0x2b8ee7);return;}const _0x5c55a6=(_0x231714[0x0]&0x40)===0x40;if(_0x5c55a6&&!this[_0x3728ef(0x243)][_0xe02f1d['extensionName']]){const _0x460631=this[_0x3728ef(0x19b)](RangeError,_0x3728ef(0x24c),!0x0,0x3ea,_0x3728ef(0x192));_0x3d60ed(_0x460631);return;}if(this['_fin']=(_0x231714[0x0]&0x80)===0x80,this[_0x3728ef(0xd5)]=_0x231714[0x0]&0xf,this['_payloadLength']=_0x231714[0x1]&0x7f,this['_opcode']===0x0){if(_0x5c55a6){const _0x4ac725=this[_0x3728ef(0x19b)](RangeError,_0x3728ef(0x24c),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x3d60ed(_0x4ac725);return;}if(!this[_0x3728ef(0x1d7)]){const _0x1ed338=this[_0x3728ef(0x19b)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x3728ef(0x24d));_0x3d60ed(_0x1ed338);return;}this['_opcode']=this[_0x3728ef(0x1d7)];}else{if(this[_0x3728ef(0xd5)]===0x1||this['_opcode']===0x2){if(this[_0x3728ef(0x1d7)]){const _0x20c3bc=this['createError'](RangeError,_0x3728ef(0x115)+this[_0x3728ef(0xd5)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x3d60ed(_0x20c3bc);return;}this['_compressed']=_0x5c55a6;}else{if(this[_0x3728ef(0xd5)]>0x7&&this[_0x3728ef(0xd5)]<0xb){if(!this[_0x3728ef(0x1d6)]){const _0x3fc9eb=this['createError'](RangeError,_0x3728ef(0xfd),!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x3d60ed(_0x3fc9eb);return;}if(_0x5c55a6){const _0x1d82af=this[_0x3728ef(0x19b)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x3d60ed(_0x1d82af);return;}if(this[_0x3728ef(0x278)]>0x7d||this['_opcode']===0x8&&this[_0x3728ef(0x278)]===0x1){const _0x2dcfdc=this[_0x3728ef(0x19b)](RangeError,_0x3728ef(0x123)+this[_0x3728ef(0x278)],!0x0,0x3ea,_0x3728ef(0x1b2));_0x3d60ed(_0x2dcfdc);return;}}else{const _0x8f503e=this[_0x3728ef(0x19b)](RangeError,'invalid\x20opcode\x20'+this[_0x3728ef(0xd5)],!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x3d60ed(_0x8f503e);return;}}}if(!this[_0x3728ef(0x1d6)]&&!this[_0x3728ef(0x1d7)]&&(this[_0x3728ef(0x1d7)]=this['_opcode']),this[_0x3728ef(0x1dc)]=(_0x231714[0x1]&0x80)===0x80,this[_0x3728ef(0x1a7)]){if(!this[_0x3728ef(0x1dc)]){const _0x5d2042=this['createError'](RangeError,_0x3728ef(0x1e6),!0x0,0x3ea,_0x3728ef(0x1ef));_0x3d60ed(_0x5d2042);return;}}else{if(this[_0x3728ef(0x1dc)]){const _0xf6837a=this[_0x3728ef(0x19b)](RangeError,_0x3728ef(0x264),!0x0,0x3ea,_0x3728ef(0x175));_0x3d60ed(_0xf6837a);return;}}this[_0x3728ef(0x278)]===0x7e?this['_state']=_0x2f3906:this['_payloadLength']===0x7f?this[_0x3728ef(0x15a)]=_0x4f86ea:this[_0x3728ef(0x142)](_0x3d60ed);}['getPayloadLength16'](_0x364967){const _0x21833b=_0x4aa832;if(this[_0x21833b(0x217)]<0x2){this['_loop']=!0x1;return;}this[_0x21833b(0x278)]=this[_0x21833b(0x1e9)](0x2)[_0x21833b(0x1a2)](0x0),this[_0x21833b(0x142)](_0x364967);}[_0x4aa832(0x145)](_0x4322a7){const _0x22526c=_0x4aa832;if(this['_bufferedBytes']<0x8){this[_0x22526c(0xc1)]=!0x1;return;}const _0x9454cb=this[_0x22526c(0x1e9)](0x8),_0x1e444a=_0x9454cb[_0x22526c(0xdb)](0x0);if(_0x1e444a>Math[_0x22526c(0x1fc)](0x2,0x15)-0x1){const _0x1a60ab=this['createError'](RangeError,_0x22526c(0x212),!0x1,0x3f1,_0x22526c(0xdf));_0x4322a7(_0x1a60ab);return;}this[_0x22526c(0x278)]=_0x1e444a*Math['pow'](0x2,0x20)+_0x9454cb[_0x22526c(0xdb)](0x4),this[_0x22526c(0x142)](_0x4322a7);}[_0x4aa832(0x142)](_0x43e2d0){const _0x5243aa=_0x4aa832;if(this[_0x5243aa(0x278)]&&this[_0x5243aa(0xd5)]<0x8&&(this[_0x5243aa(0x25e)]+=this[_0x5243aa(0x278)],this['_totalPayloadLength']>this[_0x5243aa(0x27c)]&&this[_0x5243aa(0x27c)]>0x0)){const _0x4f59cf=this[_0x5243aa(0x19b)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x43e2d0(_0x4f59cf);return;}this['_masked']?this['_state']=_0x1a974f:this[_0x5243aa(0x15a)]=_0x330d72;}[_0x4aa832(0x17c)](){const _0x5210e0=_0x4aa832;if(this[_0x5210e0(0x217)]<0x4){this[_0x5210e0(0xc1)]=!0x1;return;}this['_mask']=this[_0x5210e0(0x1e9)](0x4),this[_0x5210e0(0x15a)]=_0x330d72;}['getData'](_0x3a5e77){const _0x3e8917=_0x4aa832;let _0x10494c=_0x2759cf;if(this[_0x3e8917(0x278)]){if(this[_0x3e8917(0x217)]<this[_0x3e8917(0x278)]){this[_0x3e8917(0xc1)]=!0x1;return;}_0x10494c=this[_0x3e8917(0x1e9)](this[_0x3e8917(0x278)]),this[_0x3e8917(0x1dc)]&&(this[_0x3e8917(0x1d1)][0x0]|this['_mask'][0x1]|this[_0x3e8917(0x1d1)][0x2]|this[_0x3e8917(0x1d1)][0x3])!==0x0&&_0x5731e2(_0x10494c,this[_0x3e8917(0x1d1)]);}if(this['_opcode']>0x7){this[_0x3e8917(0x1ce)](_0x10494c,_0x3a5e77);return;}if(this[_0x3e8917(0x234)]){this['_state']=_0x5215b4,this[_0x3e8917(0x191)](_0x10494c,_0x3a5e77);return;}_0x10494c[_0x3e8917(0x1bf)]&&(this[_0x3e8917(0x1ee)]=this[_0x3e8917(0x25e)],this[_0x3e8917(0x1be)][_0x3e8917(0x12c)](_0x10494c)),this['dataMessage'](_0x3a5e77);}['decompress'](_0x47db37,_0xd40bc8){const _0x213ba3=_0x4aa832;this['_extensions'][_0xe02f1d[_0x213ba3(0xbc)]][_0x213ba3(0x191)](_0x47db37,this[_0x213ba3(0x1d6)],(_0x5179f5,_0x34999f)=>{const _0x53d35c=_0x213ba3;if(_0x5179f5)return _0xd40bc8(_0x5179f5);if(_0x34999f[_0x53d35c(0x1bf)]){if(this[_0x53d35c(0x1ee)]+=_0x34999f['length'],this[_0x53d35c(0x1ee)]>this[_0x53d35c(0x27c)]&&this[_0x53d35c(0x27c)]>0x0){const _0x4a102c=this[_0x53d35c(0x19b)](RangeError,_0x53d35c(0x1a4),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0xd40bc8(_0x4a102c);return;}this[_0x53d35c(0x1be)]['push'](_0x34999f);}this[_0x53d35c(0x197)](_0xd40bc8),this[_0x53d35c(0x15a)]===_0x34bf38&&this[_0x53d35c(0xbd)](_0xd40bc8);});}[_0x4aa832(0x197)](_0x3bc4b7){const _0x125425=_0x4aa832;if(!this['_fin']){this[_0x125425(0x15a)]=_0x34bf38;return;}const _0x52235b=this['_messageLength'],_0x3ff7a1=this[_0x125425(0x1be)];if(this['_totalPayloadLength']=0x0,this[_0x125425(0x1ee)]=0x0,this[_0x125425(0x1d7)]=0x0,this[_0x125425(0x1be)]=[],this[_0x125425(0xd5)]===0x2){let _0x1343f4;this['_binaryType']===_0x125425(0x202)?_0x1343f4=_0x42a400(_0x3ff7a1,_0x52235b):this[_0x125425(0x14f)]===_0x125425(0x17b)?_0x1343f4=_0x2fbcb3(_0x42a400(_0x3ff7a1,_0x52235b)):this[_0x125425(0x14f)]===_0x125425(0x24b)?_0x1343f4=new Blob(_0x3ff7a1):_0x1343f4=_0x3ff7a1,this[_0x125425(0x233)]?(this[_0x125425(0x1b8)](_0x125425(0x1d5),_0x1343f4,!0x0),this[_0x125425(0x15a)]=_0x34bf38):(this[_0x125425(0x15a)]=_0x587089,setImmediate(()=>{const _0xfaf820=_0x125425;this[_0xfaf820(0x1b8)](_0xfaf820(0x1d5),_0x1343f4,!0x0),this['_state']=_0x34bf38,this[_0xfaf820(0xbd)](_0x3bc4b7);}));}else{const _0x3ab92e=_0x42a400(_0x3ff7a1,_0x52235b);if(!this['_skipUTF8Validation']&&!_0x36f337(_0x3ab92e)){const _0xe0d9f7=this['createError'](Error,_0x125425(0x178),!0x0,0x3ef,_0x125425(0x168));_0x3bc4b7(_0xe0d9f7);return;}this['_state']===_0x5215b4||this['_allowSynchronousEvents']?(this['emit'](_0x125425(0x1d5),_0x3ab92e,!0x1),this[_0x125425(0x15a)]=_0x34bf38):(this[_0x125425(0x15a)]=_0x587089,setImmediate(()=>{const _0x2526b9=_0x125425;this['emit'](_0x2526b9(0x1d5),_0x3ab92e,!0x1),this[_0x2526b9(0x15a)]=_0x34bf38,this['startLoop'](_0x3bc4b7);}));}}[_0x4aa832(0x1ce)](_0x47aaa5,_0x5b697d){const _0x9c314f=_0x4aa832;if(this[_0x9c314f(0xd5)]===0x8){if(_0x47aaa5['length']===0x0)this[_0x9c314f(0xc1)]=!0x1,this[_0x9c314f(0x1b8)](_0x9c314f(0x106),0x3ed,_0x2759cf),this[_0x9c314f(0x130)]();else{const _0x2a9705=_0x47aaa5['readUInt16BE'](0x0);if(!_0x274c2d(_0x2a9705)){const _0x161927=this[_0x9c314f(0x19b)](RangeError,_0x9c314f(0xbe)+_0x2a9705,!0x0,0x3ea,_0x9c314f(0x19e));_0x5b697d(_0x161927);return;}const _0xd212c0=new _0x4e8ed3(_0x47aaa5[_0x9c314f(0x1d3)],_0x47aaa5[_0x9c314f(0x1fa)]+0x2,_0x47aaa5[_0x9c314f(0x1bf)]-0x2);if(!this[_0x9c314f(0x235)]&&!_0x36f337(_0xd212c0)){const _0x180859=this[_0x9c314f(0x19b)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x9c314f(0x168));_0x5b697d(_0x180859);return;}this[_0x9c314f(0xc1)]=!0x1,this[_0x9c314f(0x1b8)](_0x9c314f(0x106),_0x2a9705,_0xd212c0),this['end']();}this['_state']=_0x34bf38;return;}this['_allowSynchronousEvents']?(this[_0x9c314f(0x1b8)](this[_0x9c314f(0xd5)]===0x9?_0x9c314f(0x270):_0x9c314f(0x245),_0x47aaa5),this[_0x9c314f(0x15a)]=_0x34bf38):(this['_state']=_0x587089,setImmediate(()=>{const _0x263379=_0x9c314f;this[_0x263379(0x1b8)](this['_opcode']===0x9?_0x263379(0x270):'pong',_0x47aaa5),this['_state']=_0x34bf38,this[_0x263379(0xbd)](_0x5b697d);}));}[_0x4aa832(0x19b)](_0x37b8e3,_0xa34199,_0x1fcba0,_0x26a468,_0x2e6cb4){const _0x433a0d=_0x4aa832;this[_0x433a0d(0xc1)]=!0x1,this['_errored']=!0x0;const _0x44cd24=new _0x37b8e3(_0x1fcba0?_0x433a0d(0x262)+_0xa34199:_0xa34199);return Error[_0x433a0d(0x160)](_0x44cd24,this[_0x433a0d(0x19b)]),_0x44cd24[_0x433a0d(0x11a)]=_0x2e6cb4,_0x44cd24[_0x2b567f]=_0x26a468,_0x44cd24;}}return Se=_0x44601b,Se;}var Ee,Xe;function ft(){const _0x324671=_0x54e386;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x37edfe}=oe,{randomFillSync:_0x3f84ce}=Le,_0x3f15a5=he(),{EMPTY_BUFFER:_0xaf1559,kWebSocket:_0x185cb9,NOOP:_0x5b7db2}=H(),{isBlob:_0x15516c,isValidStatusCode:_0x1dc901}=ae(),{mask:_0x70edfe,toBuffer:_0xf6374}=ce(),_0x2f67ae=Symbol(_0x324671(0x210)),_0x9b3c22=Buffer[_0x324671(0x23f)](0x4),_0x200d77=0x8*0x400;let _0x42814e,_0x486447=_0x200d77;const _0x2cfa4e=0x0,_0x3fb04c=0x1,_0x5f1607=0x2;class _0x9388f9{constructor(_0x361327,_0x4a0696,_0x225b1f){const _0x508fe6=_0x324671;this[_0x508fe6(0x243)]=_0x4a0696||{},_0x225b1f&&(this['_generateMask']=_0x225b1f,this['_maskBuffer']=Buffer[_0x508fe6(0x23f)](0x4)),this['_socket']=_0x361327,this[_0x508fe6(0x166)]=!0x0,this[_0x508fe6(0xeb)]=!0x1,this[_0x508fe6(0x217)]=0x0,this[_0x508fe6(0x1f3)]=[],this[_0x508fe6(0x15a)]=_0x2cfa4e,this[_0x508fe6(0x177)]=_0x5b7db2,this[_0x185cb9]=void 0x0;}static['frame'](_0x9f0eb5,_0x532430){const _0x3e3ae3=_0x324671;let _0x52acd4,_0x2d1825=!0x1,_0x501c8e=0x2,_0x109e55=!0x1;_0x532430[_0x3e3ae3(0x1bb)]&&(_0x52acd4=_0x532430[_0x3e3ae3(0x223)]||_0x9b3c22,_0x532430['generateMask']?_0x532430[_0x3e3ae3(0x1fb)](_0x52acd4):(_0x486447===_0x200d77&&(_0x42814e===void 0x0&&(_0x42814e=Buffer['alloc'](_0x200d77)),_0x3f84ce(_0x42814e,0x0,_0x200d77),_0x486447=0x0),_0x52acd4[0x0]=_0x42814e[_0x486447++],_0x52acd4[0x1]=_0x42814e[_0x486447++],_0x52acd4[0x2]=_0x42814e[_0x486447++],_0x52acd4[0x3]=_0x42814e[_0x486447++]),_0x109e55=(_0x52acd4[0x0]|_0x52acd4[0x1]|_0x52acd4[0x2]|_0x52acd4[0x3])===0x0,_0x501c8e=0x6);let _0x1a9ee7;typeof _0x9f0eb5=='string'?(!_0x532430[_0x3e3ae3(0x1bb)]||_0x109e55)&&_0x532430[_0x2f67ae]!==void 0x0?_0x1a9ee7=_0x532430[_0x2f67ae]:(_0x9f0eb5=Buffer[_0x3e3ae3(0x237)](_0x9f0eb5),_0x1a9ee7=_0x9f0eb5[_0x3e3ae3(0x1bf)]):(_0x1a9ee7=_0x9f0eb5['length'],_0x2d1825=_0x532430[_0x3e3ae3(0x1bb)]&&_0x532430[_0x3e3ae3(0x1b9)]&&!_0x109e55);let _0x4e42e0=_0x1a9ee7;_0x1a9ee7>=0x10000?(_0x501c8e+=0x8,_0x4e42e0=0x7f):_0x1a9ee7>0x7d&&(_0x501c8e+=0x2,_0x4e42e0=0x7e);const _0x364164=Buffer[_0x3e3ae3(0x199)](_0x2d1825?_0x1a9ee7+_0x501c8e:_0x501c8e);return _0x364164[0x0]=_0x532430['fin']?_0x532430[_0x3e3ae3(0xfe)]|0x80:_0x532430['opcode'],_0x532430[_0x3e3ae3(0x269)]&&(_0x364164[0x0]|=0x40),_0x364164[0x1]=_0x4e42e0,_0x4e42e0===0x7e?_0x364164[_0x3e3ae3(0x16e)](_0x1a9ee7,0x2):_0x4e42e0===0x7f&&(_0x364164[0x2]=_0x364164[0x3]=0x0,_0x364164['writeUIntBE'](_0x1a9ee7,0x4,0x6)),_0x532430['mask']?(_0x364164[0x1]|=0x80,_0x364164[_0x501c8e-0x4]=_0x52acd4[0x0],_0x364164[_0x501c8e-0x3]=_0x52acd4[0x1],_0x364164[_0x501c8e-0x2]=_0x52acd4[0x2],_0x364164[_0x501c8e-0x1]=_0x52acd4[0x3],_0x109e55?[_0x364164,_0x9f0eb5]:_0x2d1825?(_0x70edfe(_0x9f0eb5,_0x52acd4,_0x364164,_0x501c8e,_0x1a9ee7),[_0x364164]):(_0x70edfe(_0x9f0eb5,_0x52acd4,_0x9f0eb5,0x0,_0x1a9ee7),[_0x364164,_0x9f0eb5])):[_0x364164,_0x9f0eb5];}[_0x324671(0x172)](_0x3b018e,_0x5dc1f0,_0x4544cd,_0x1741b3){const _0x1cfdd9=_0x324671;let _0x29f3d3;if(_0x3b018e===void 0x0)_0x29f3d3=_0xaf1559;else{if(typeof _0x3b018e!=_0x1cfdd9(0x14e)||!_0x1dc901(_0x3b018e))throw new TypeError(_0x1cfdd9(0x162));if(_0x5dc1f0===void 0x0||!_0x5dc1f0[_0x1cfdd9(0x1bf)])_0x29f3d3=Buffer['allocUnsafe'](0x2),_0x29f3d3[_0x1cfdd9(0x16e)](_0x3b018e,0x0);else{const _0x268804=Buffer[_0x1cfdd9(0x15e)](_0x5dc1f0);if(_0x268804>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0x29f3d3=Buffer[_0x1cfdd9(0x199)](0x2+_0x268804),_0x29f3d3['writeUInt16BE'](_0x3b018e,0x0),typeof _0x5dc1f0==_0x1cfdd9(0x153)?_0x29f3d3[_0x1cfdd9(0x1b3)](_0x5dc1f0,0x2):_0x29f3d3[_0x1cfdd9(0x1c9)](_0x5dc1f0,0x2);}}const _0x5617af={[_0x2f67ae]:_0x29f3d3['length'],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x4544cd,'maskBuffer':this[_0x1cfdd9(0x209)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x1cfdd9(0x15a)]!==_0x2cfa4e?this[_0x1cfdd9(0x1f6)]([this[_0x1cfdd9(0x1fe)],_0x29f3d3,!0x1,_0x5617af,_0x1741b3]):this[_0x1cfdd9(0xbb)](_0x9388f9[_0x1cfdd9(0xda)](_0x29f3d3,_0x5617af),_0x1741b3);}[_0x324671(0x270)](_0x1b142a,_0x165aa8,_0x2a8a4e){const _0x51067a=_0x324671;let _0x27b13d,_0x48d633;if(typeof _0x1b142a==_0x51067a(0x153)?(_0x27b13d=Buffer[_0x51067a(0x15e)](_0x1b142a),_0x48d633=!0x1):_0x15516c(_0x1b142a)?(_0x27b13d=_0x1b142a[_0x51067a(0x1ba)],_0x48d633=!0x1):(_0x1b142a=_0xf6374(_0x1b142a),_0x27b13d=_0x1b142a[_0x51067a(0x1bf)],_0x48d633=_0xf6374[_0x51067a(0x1b9)]),_0x27b13d>0x7d)throw new RangeError(_0x51067a(0xc5));const _0x566297={[_0x2f67ae]:_0x27b13d,'fin':!0x0,'generateMask':this[_0x51067a(0x21d)],'mask':_0x165aa8,'maskBuffer':this[_0x51067a(0x209)],'opcode':0x9,'readOnly':_0x48d633,'rsv1':!0x1};_0x15516c(_0x1b142a)?this[_0x51067a(0x15a)]!==_0x2cfa4e?this[_0x51067a(0x1f6)]([this['getBlobData'],_0x1b142a,!0x1,_0x566297,_0x2a8a4e]):this[_0x51067a(0xba)](_0x1b142a,!0x1,_0x566297,_0x2a8a4e):this['_state']!==_0x2cfa4e?this[_0x51067a(0x1f6)]([this[_0x51067a(0x1fe)],_0x1b142a,!0x1,_0x566297,_0x2a8a4e]):this[_0x51067a(0xbb)](_0x9388f9['frame'](_0x1b142a,_0x566297),_0x2a8a4e);}['pong'](_0x579572,_0x1c3eca,_0x4b9e71){const _0x9cc6de=_0x324671;let _0x440074,_0x246896;if(typeof _0x579572=='string'?(_0x440074=Buffer[_0x9cc6de(0x15e)](_0x579572),_0x246896=!0x1):_0x15516c(_0x579572)?(_0x440074=_0x579572[_0x9cc6de(0x1ba)],_0x246896=!0x1):(_0x579572=_0xf6374(_0x579572),_0x440074=_0x579572[_0x9cc6de(0x1bf)],_0x246896=_0xf6374[_0x9cc6de(0x1b9)]),_0x440074>0x7d)throw new RangeError(_0x9cc6de(0xc5));const _0x7253c8={[_0x2f67ae]:_0x440074,'fin':!0x0,'generateMask':this[_0x9cc6de(0x21d)],'mask':_0x1c3eca,'maskBuffer':this[_0x9cc6de(0x209)],'opcode':0xa,'readOnly':_0x246896,'rsv1':!0x1};_0x15516c(_0x579572)?this[_0x9cc6de(0x15a)]!==_0x2cfa4e?this[_0x9cc6de(0x1f6)]([this[_0x9cc6de(0xba)],_0x579572,!0x1,_0x7253c8,_0x4b9e71]):this[_0x9cc6de(0xba)](_0x579572,!0x1,_0x7253c8,_0x4b9e71):this[_0x9cc6de(0x15a)]!==_0x2cfa4e?this[_0x9cc6de(0x1f6)]([this['dispatch'],_0x579572,!0x1,_0x7253c8,_0x4b9e71]):this[_0x9cc6de(0xbb)](_0x9388f9[_0x9cc6de(0xda)](_0x579572,_0x7253c8),_0x4b9e71);}[_0x324671(0x23e)](_0x444de9,_0x17641e,_0x4766d6){const _0x4532a7=_0x324671,_0x527304=this[_0x4532a7(0x243)][_0x3f15a5[_0x4532a7(0xbc)]];let _0x11819e=_0x17641e[_0x4532a7(0x163)]?0x2:0x1,_0x4228b5=_0x17641e[_0x4532a7(0xd7)],_0x17ac95,_0x52802d;typeof _0x444de9==_0x4532a7(0x153)?(_0x17ac95=Buffer[_0x4532a7(0x15e)](_0x444de9),_0x52802d=!0x1):_0x15516c(_0x444de9)?(_0x17ac95=_0x444de9[_0x4532a7(0x1ba)],_0x52802d=!0x1):(_0x444de9=_0xf6374(_0x444de9),_0x17ac95=_0x444de9[_0x4532a7(0x1bf)],_0x52802d=_0xf6374[_0x4532a7(0x1b9)]),this[_0x4532a7(0x166)]?(this[_0x4532a7(0x166)]=!0x1,_0x4228b5&&_0x527304&&_0x527304[_0x4532a7(0x158)][_0x527304[_0x4532a7(0x1a7)]?'server_no_context_takeover':_0x4532a7(0x21f)]&&(_0x4228b5=_0x17ac95>=_0x527304['_threshold']),this[_0x4532a7(0xeb)]=_0x4228b5):(_0x4228b5=!0x1,_0x11819e=0x0),_0x17641e[_0x4532a7(0x1cf)]&&(this['_firstFragment']=!0x0);const _0x1068ab={[_0x2f67ae]:_0x17ac95,'fin':_0x17641e['fin'],'generateMask':this[_0x4532a7(0x21d)],'mask':_0x17641e[_0x4532a7(0x1bb)],'maskBuffer':this[_0x4532a7(0x209)],'opcode':_0x11819e,'readOnly':_0x52802d,'rsv1':_0x4228b5};_0x15516c(_0x444de9)?this[_0x4532a7(0x15a)]!==_0x2cfa4e?this['enqueue']([this[_0x4532a7(0xba)],_0x444de9,this['_compress'],_0x1068ab,_0x4766d6]):this['getBlobData'](_0x444de9,this[_0x4532a7(0xeb)],_0x1068ab,_0x4766d6):this['_state']!==_0x2cfa4e?this['enqueue']([this[_0x4532a7(0x1fe)],_0x444de9,this[_0x4532a7(0xeb)],_0x1068ab,_0x4766d6]):this[_0x4532a7(0x1fe)](_0x444de9,this[_0x4532a7(0xeb)],_0x1068ab,_0x4766d6);}[_0x324671(0xba)](_0x1f9090,_0x25270d,_0x38a420,_0x48ea79){const _0x1137cb=_0x324671;this[_0x1137cb(0x217)]+=_0x38a420[_0x2f67ae],this[_0x1137cb(0x15a)]=_0x5f1607,_0x1f9090['arrayBuffer']()['then'](_0x4844e9=>{const _0x4a5bef=_0x1137cb;if(this['_socket']['destroyed']){const _0x483f40=new Error('The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read');process[_0x4a5bef(0x13c)](_0x3381d2,this,_0x483f40,_0x48ea79);return;}this['_bufferedBytes']-=_0x38a420[_0x2f67ae];const _0x29f0d4=_0xf6374(_0x4844e9);_0x25270d?this['dispatch'](_0x29f0d4,_0x25270d,_0x38a420,_0x48ea79):(this[_0x4a5bef(0x15a)]=_0x2cfa4e,this['sendFrame'](_0x9388f9[_0x4a5bef(0xda)](_0x29f0d4,_0x38a420),_0x48ea79),this['dequeue']());})['catch'](_0x382876=>{const _0x33f2c8=_0x1137cb;process[_0x33f2c8(0x13c)](_0x195f25,this,_0x382876,_0x48ea79);});}['dispatch'](_0x30e95a,_0x359a1a,_0x2bd85d,_0x595e64){const _0x4e54dd=_0x324671;if(!_0x359a1a){this[_0x4e54dd(0xbb)](_0x9388f9[_0x4e54dd(0xda)](_0x30e95a,_0x2bd85d),_0x595e64);return;}const _0x1e866a=this['_extensions'][_0x3f15a5[_0x4e54dd(0xbc)]];this[_0x4e54dd(0x217)]+=_0x2bd85d[_0x2f67ae],this[_0x4e54dd(0x15a)]=_0x3fb04c,_0x1e866a[_0x4e54dd(0xd7)](_0x30e95a,_0x2bd85d[_0x4e54dd(0x1cf)],(_0x4f9b5e,_0x3ca79e)=>{const _0x1869d0=_0x4e54dd;if(this['_socket'][_0x1869d0(0x222)]){const _0x8d2f90=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x3381d2(this,_0x8d2f90,_0x595e64);return;}this['_bufferedBytes']-=_0x2bd85d[_0x2f67ae],this[_0x1869d0(0x15a)]=_0x2cfa4e,_0x2bd85d[_0x1869d0(0x1b9)]=!0x1,this[_0x1869d0(0xbb)](_0x9388f9[_0x1869d0(0xda)](_0x3ca79e,_0x2bd85d),_0x595e64),this['dequeue']();});}[_0x324671(0x208)](){const _0x3e5240=_0x324671;for(;this[_0x3e5240(0x15a)]===_0x2cfa4e&&this['_queue']['length'];){const _0x40d690=this[_0x3e5240(0x1f3)][_0x3e5240(0x100)]();this['_bufferedBytes']-=_0x40d690[0x3][_0x2f67ae],Reflect[_0x3e5240(0x1f5)](_0x40d690[0x0],this,_0x40d690['slice'](0x1));}}[_0x324671(0x1f6)](_0x557630){const _0x5d744e=_0x324671;this[_0x5d744e(0x217)]+=_0x557630[0x3][_0x2f67ae],this['_queue']['push'](_0x557630);}[_0x324671(0xbb)](_0x5e5015,_0x3da51a){const _0x52f23a=_0x324671;_0x5e5015[_0x52f23a(0x1bf)]===0x2?(this[_0x52f23a(0x184)]['cork'](),this[_0x52f23a(0x184)][_0x52f23a(0x1b3)](_0x5e5015[0x0]),this['_socket'][_0x52f23a(0x1b3)](_0x5e5015[0x1],_0x3da51a),this[_0x52f23a(0x184)]['uncork']()):this[_0x52f23a(0x184)]['write'](_0x5e5015[0x0],_0x3da51a);}}Ee=_0x9388f9;function _0x3381d2(_0x13bb5e,_0x185b11,_0x4d5c3f){const _0x144b69=_0x324671;typeof _0x4d5c3f==_0x144b69(0x16b)&&_0x4d5c3f(_0x185b11);for(let _0x104662=0x0;_0x104662<_0x13bb5e[_0x144b69(0x1f3)][_0x144b69(0x1bf)];_0x104662++){const _0xfc45c4=_0x13bb5e[_0x144b69(0x1f3)][_0x104662],_0x3ada2b=_0xfc45c4[_0xfc45c4[_0x144b69(0x1bf)]-0x1];typeof _0x3ada2b==_0x144b69(0x16b)&&_0x3ada2b(_0x185b11);}}function _0x195f25(_0x247ac7,_0x3ad609,_0x5be113){const _0x40a612=_0x324671;_0x3381d2(_0x247ac7,_0x3ad609,_0x5be113),_0x247ac7[_0x40a612(0x177)](_0x3ad609);}return Ee;}var xe,Ze;function _0x1d4b(){const _0x2c0fec=['sec-websocket-extensions','https:','createSocket','Z_SYNC_FLUSH','drain','registerHTTPInterceptor','acceptAsClient','buffers','clientTracking','_no_context_takeover','OPEN','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','_max_window_bits','WebSocket\x20is\x20not\x20open:\x20readyState\x20','_opcode','createDeflateRaw','compress','_originalIpc','_errored','frame','readUInt32BE','_read','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','permessage-deflate','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','options','toDisposable','File','Sec-WebSocket-Accept:\x20','CLOSED','Sec-WebSocket-Protocol','concat','arrayBuffer','Server\x20sent\x20no\x20subprotocol','_write','digest','_compress','next','_closeFrameSent','species','Invalid\x20Sec-WebSocket-Extensions\x20header','4JGZxhQ','_registerDependencies','UniverCollaborationClientNodePlugin','kAborted','maxRedirects','client_max_window_bits','6XARGle','socketPath','client','getData','resume','create','1317424FFuNjO','FIN\x20must\x20be\x20set','opcode','serverNoContextTakeover','shift','Injector','Invalid\x20URL:\x20','getPayloadLength16','_sender','forEach','conclude','toLowerCase','verifyClient','upgrade','connect','rxjs','headers','construct','join','onopen','954275DRRHSR','errorEmitted','parse','wsClientError','callback','invalid\x20opcode\x20','completeUpgrade','kWasClean','test','hasOwnProperty','code','jobs','Sec-WebSocket-Protocol:\x20','Disposable','handleProtocols','\x22\x20must\x20have\x20only\x20a\x20single\x20value','pathname','_originalSecure','Unexpected\x20server\x20response:\x20','invalid\x20payload\x20length\x20','encrypted','finish','map','_errorEmitted','Sec-WebSocket-Extensions','unexpected-response','_protocol','kData','push','finishRequest','kType','Sec-WebSocket-Origin','end','hash','prototype','_httpService','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','find','listening','Unsupported\x20protocol\x20version:\x20','object','setTimeout','reset','toStringTag','nextTick','server','path','40611zJlXce','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','haveLength','host','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','getPayloadLength64','defineProperty','createServer','Unknown\x20parameter\x20\x22','add','fragments','has','slice','clientMaxWindowBits','number','_binaryType','charCodeAt','format','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','string','_buffers','__esModule','HTTP/1.1\x20','autoPong','params','normalizeParams','_state','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','read','toString','byteLength','5540AudqSo','captureStackTrace','skipUTF8Validation','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','binary','indexOf','data','_firstFragment','_readableState','WS_ERR_INVALID_UTF8','net','kMessage','function','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','bufferedAmount','writeUInt16BE','Inject','zlibDeflateOptions','bind','close','_bufferedAmount','isView','WS_ERR_UNEXPECTED_MASK','_redirects','onerror','invalid\x20UTF-8\x20sequence','constructor','_options','arraybuffer','getMask','protocolVersion','kReason','7eqnPaC','readyState','ILogService','Invalid\x20value\x20for\x20parameter\x20\x22','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','_socket','startsWith','text/plain','websocket','server_max_window_bits','_decompress','abort','threshold','needDrain','ISnapshotServerService','Observable','writable','setHeader','decompress','WS_ERR_UNEXPECTED_RSV_1','2730285IMMEDX','timeout','removeAllListeners','_removeListeners','dataMessage','freeze','allocUnsafe','_req','createError','kRun','removeEventListener','WS_ERR_INVALID_CLOSE_CODE','_inflate','sec-websocket-protocol','authorization','readUInt16BE','createInflateRaw','Max\x20payload\x20size\x20exceeded','getConfig','addEventListener','_isServer','handleEvent','STATUS_CODES','692816kibqAj','includes','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','get','Unexpected\x20end\x20of\x20input','ws+unix:','Invalid\x20HTTP\x20method','redirect','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','write','The\x20server\x20is\x20not\x20running','_closeMessage','listen','text/html','emit','readOnly','size','mask','_autoPong','request','_fragments','length','share','unmask','followRedirects','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','WS_NO_BUFFER_UTIL','socket','open','connection','Opening\x20handshake\x20has\x20timed\x20out','set','ws:','wss:','pipe','_configService','controlMessage','fin','replace','_mask','381685ScytBh','buffer','events','message','_fin','_fragmented','split','destroy','password','onmessage','_masked','customHeaders','_closeCode','backlog','isBuffer','zlib','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','port','values','keys','MASK\x20must\x20be\x20set','search','_readyState','consume','emitClose','getOwnPropertyDescriptor','\x22\x20subprotocol\x20is\x20duplicated','DisposableCollection','_messageLength','WS_ERR_EXPECTED_MASK','servername','reason','call','_queue','type','apply','enqueue','Cookie','_paused','DependentOn','byteOffset','generateMask','pow','_deflate','dispatch','_server','terminate','onclose','nodebuffer','offer','entries','kCode','WS_NO_UTF_8_VALIDATE','server_no_context_takeover','dequeue','_maskBuffer','_originalHostOrSocketPath','flush','\x20(supported\x20versions:\x20','listenerCount','base64','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','kByteLength','endEmitted','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','IConfigService','createConnection','_writableState','wasClean','_bufferedBytes','finished','auth','origin','removeListener','WS_ERR_UNEXPECTED_RSV_2_3','_generateMask','method','client_no_context_takeover','CLOSING','isPaused','destroyed','maskBuffer','allowSynchronousEvents','binaryType','onStarting','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','748uZRGtg','_shouldEmitClose','CONNECTING','setNoDelay','Upgrade:\x20websocket','Z_DEFAULT_WINDOWBITS','isValidUTF8','tls','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','perMessageDeflate','Blob','_allowSynchronousEvents','_compressed','_skipUTF8Validation','_doCreateSocket','from','warn','\x22:\x20','isInteger','concurrency','username','isServer','send','alloc','href','maxPayload','authorized','_extensions','objectMode','pong','Unexpected\x20character\x20at\x20index\x20','clients','shouldHandle','_injector','registerDependencies','blob','RSV1\x20must\x20be\x20clear','WS_ERR_INVALID_OPCODE','pending','_closeFrameReceived','sec-websocket-key','cleanup','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','sha1','noServer','_url','Invalid\x20Upgrade\x20header','GET','kListener','extensions','Upgrade','readable','kIsForOnEventAttribute','acceptAsServer','_totalPayloadLength','update','stream','writeHead','Invalid\x20WebSocket\x20frame:\x20','concurrencyLimit','MASK\x20must\x20be\x20clear','hostname','error','kTarget','exports','rsv1','protocol','collaboration-client-node.config','env','address','Plugin','_closeTimer','ping','_receiver','@univerjs/core','cookie','NodeCollaborationSocketService','default','Basic\x20','_final','_payloadLength','setSocket','once','Origin','_maxPayload','ISocketService','target','Module','pause','Invalid\x20Sec-WebSocket-Accept\x20header','kDone','zlibInflateOptions','@univerjs-pro/collaboration-client','isArray','clientNoContextTakeover','getBlobData','sendFrame','extensionName','startLoop','invalid\x20status\x20code\x20','serverMaxWindowBits','listeners','_loop','dispose','pluginName','accept','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','url'];_0x1d4b=function(){return _0x2c0fec;};return _0x1d4b();}function It(){const _0x230026=_0x54e386;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x12f76c,kListener:_0x464767}=H(),_0x3e931e=Symbol(_0x230026(0x205)),_0x3c36aa=Symbol(_0x230026(0x12b)),_0x25f0a0=Symbol('kError'),_0x206793=Symbol(_0x230026(0x16a)),_0x14ee78=Symbol(_0x230026(0x17e)),_0x2ce5a7=Symbol(_0x230026(0x267)),_0x1092de=Symbol(_0x230026(0x12e)),_0x28d2d5=Symbol(_0x230026(0x117));class _0x3317c2{constructor(_0x1f81c9){this[_0x2ce5a7]=null,this[_0x1092de]=_0x1f81c9;}get[_0x230026(0x27e)](){return this[_0x2ce5a7];}get[_0x230026(0x1f4)](){return this[_0x1092de];}}Object[_0x230026(0x146)](_0x3317c2[_0x230026(0x132)],_0x230026(0x27e),{'enumerable':!0x0}),Object[_0x230026(0x146)](_0x3317c2[_0x230026(0x132)],_0x230026(0x1f4),{'enumerable':!0x0});class _0x54b9a2 extends _0x3317c2{constructor(_0x1ce2a3,_0x255f6c={}){const _0x141a17=_0x230026;super(_0x1ce2a3),this[_0x3e931e]=_0x255f6c['code']===void 0x0?0x0:_0x255f6c[_0x141a17(0x11a)],this[_0x14ee78]=_0x255f6c[_0x141a17(0x1f1)]===void 0x0?'':_0x255f6c['reason'],this[_0x28d2d5]=_0x255f6c[_0x141a17(0x216)]===void 0x0?!0x1:_0x255f6c[_0x141a17(0x216)];}get['code'](){return this[_0x3e931e];}get[_0x230026(0x1f1)](){return this[_0x14ee78];}get[_0x230026(0x216)](){return this[_0x28d2d5];}}Object[_0x230026(0x146)](_0x54b9a2[_0x230026(0x132)],_0x230026(0x11a),{'enumerable':!0x0}),Object['defineProperty'](_0x54b9a2['prototype'],_0x230026(0x1f1),{'enumerable':!0x0}),Object[_0x230026(0x146)](_0x54b9a2['prototype'],'wasClean',{'enumerable':!0x0});class _0x1616c2 extends _0x3317c2{constructor(_0x1ef370,_0x5de80b={}){const _0x6c5ce3=_0x230026;super(_0x1ef370),this[_0x25f0a0]=_0x5de80b[_0x6c5ce3(0x266)]===void 0x0?null:_0x5de80b['error'],this[_0x206793]=_0x5de80b[_0x6c5ce3(0x1d5)]===void 0x0?'':_0x5de80b['message'];}get[_0x230026(0x266)](){return this[_0x25f0a0];}get[_0x230026(0x1d5)](){return this[_0x206793];}}Object[_0x230026(0x146)](_0x1616c2['prototype'],'error',{'enumerable':!0x0}),Object[_0x230026(0x146)](_0x1616c2[_0x230026(0x132)],_0x230026(0x1d5),{'enumerable':!0x0});class _0x32b32d extends _0x3317c2{constructor(_0x39609f,_0x2c935f={}){super(_0x39609f),this[_0x3c36aa]=_0x2c935f['data']===void 0x0?null:_0x2c935f['data'];}get[_0x230026(0x165)](){return this[_0x3c36aa];}}Object[_0x230026(0x146)](_0x32b32d[_0x230026(0x132)],_0x230026(0x165),{'enumerable':!0x0}),xe={'CloseEvent':_0x54b9a2,'ErrorEvent':_0x1616c2,'Event':_0x3317c2,'EventTarget':{'addEventListener'(_0x35b8c8,_0x544604,_0x5ea799={}){const _0x555b94=_0x230026;for(const _0x2678e2 of this[_0x555b94(0xc0)](_0x35b8c8))if(!_0x5ea799[_0x12f76c]&&_0x2678e2[_0x464767]===_0x544604&&!_0x2678e2[_0x12f76c])return;let _0xb7a3d;if(_0x35b8c8===_0x555b94(0x1d5))_0xb7a3d=function(_0x55f95c,_0x3fe635){const _0x51b792=_0x555b94,_0x4296f7=new _0x32b32d(_0x51b792(0x1d5),{'data':_0x3fe635?_0x55f95c:_0x55f95c[_0x51b792(0x15d)]()});_0x4296f7[_0x2ce5a7]=this,_0x46c8e3(_0x544604,this,_0x4296f7);};else{if(_0x35b8c8===_0x555b94(0x172))_0xb7a3d=function(_0x5c31f8,_0x275945){const _0x50e970=_0x555b94,_0x1261fc=new _0x54b9a2(_0x50e970(0x172),{'code':_0x5c31f8,'reason':_0x275945[_0x50e970(0x15d)](),'wasClean':this['_closeFrameReceived']&&this[_0x50e970(0xed)]});_0x1261fc[_0x2ce5a7]=this,_0x46c8e3(_0x544604,this,_0x1261fc);};else{if(_0x35b8c8===_0x555b94(0x266))_0xb7a3d=function(_0xf29ea4){const _0x18286d=_0x555b94,_0x1c4865=new _0x1616c2(_0x18286d(0x266),{'error':_0xf29ea4,'message':_0xf29ea4[_0x18286d(0x1d5)]});_0x1c4865[_0x2ce5a7]=this,_0x46c8e3(_0x544604,this,_0x1c4865);};else{if(_0x35b8c8===_0x555b94(0x1c6))_0xb7a3d=function(){const _0x1f69da=_0x555b94,_0x520c8d=new _0x3317c2(_0x1f69da(0x1c6));_0x520c8d[_0x2ce5a7]=this,_0x46c8e3(_0x544604,this,_0x520c8d);};else return;}}}_0xb7a3d[_0x12f76c]=!!_0x5ea799[_0x12f76c],_0xb7a3d[_0x464767]=_0x544604,_0x5ea799[_0x555b94(0x27a)]?this[_0x555b94(0x27a)](_0x35b8c8,_0xb7a3d):this['on'](_0x35b8c8,_0xb7a3d);},'removeEventListener'(_0x25bc93,_0x50f4d6){const _0x2905ac=_0x230026;for(const _0x3479d7 of this[_0x2905ac(0xc0)](_0x25bc93))if(_0x3479d7[_0x464767]===_0x50f4d6&&!_0x3479d7[_0x12f76c]){this['removeListener'](_0x25bc93,_0x3479d7);break;}}},'MessageEvent':_0x32b32d};function _0x46c8e3(_0x5c17b0,_0x1625fd,_0x54d13c){const _0x265217=_0x230026;typeof _0x5c17b0==_0x265217(0x138)&&_0x5c17b0[_0x265217(0x1a8)]?_0x5c17b0[_0x265217(0x1a8)][_0x265217(0x1f2)](_0x5c17b0,_0x54d13c):_0x5c17b0['call'](_0x1625fd,_0x54d13c);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x30629c}=ae();function _0x1dbbe0(_0x4fe273,_0x325200,_0x5d6cc3){const _0x2ddfe4=_0x15a8;_0x4fe273[_0x325200]===void 0x0?_0x4fe273[_0x325200]=[_0x5d6cc3]:_0x4fe273[_0x325200][_0x2ddfe4(0x12c)](_0x5d6cc3);}function _0x1701f4(_0x38c7bd){const _0xebe5e1=_0x15a8,_0x44e195=Object['create'](null);let _0x337f2d=Object[_0xebe5e1(0xfb)](null),_0x4eb154=!0x1,_0x1df508=!0x1,_0x5ec533=!0x1,_0x595d88,_0x54bd67,_0x61874=-0x1,_0x5edd90=-0x1,_0x3e6f3d=-0x1,_0x3d53e9=0x0;for(;_0x3d53e9<_0x38c7bd[_0xebe5e1(0x1bf)];_0x3d53e9++)if(_0x5edd90=_0x38c7bd[_0xebe5e1(0x150)](_0x3d53e9),_0x595d88===void 0x0){if(_0x3e6f3d===-0x1&&_0x30629c[_0x5edd90]===0x1)_0x61874===-0x1&&(_0x61874=_0x3d53e9);else{if(_0x3d53e9!==0x0&&(_0x5edd90===0x20||_0x5edd90===0x9))_0x3e6f3d===-0x1&&_0x61874!==-0x1&&(_0x3e6f3d=_0x3d53e9);else{if(_0x5edd90===0x3b||_0x5edd90===0x2c){if(_0x61874===-0x1)throw new SyntaxError(_0xebe5e1(0x246)+_0x3d53e9);_0x3e6f3d===-0x1&&(_0x3e6f3d=_0x3d53e9);const _0x405cef=_0x38c7bd[_0xebe5e1(0x14c)](_0x61874,_0x3e6f3d);_0x5edd90===0x2c?(_0x1dbbe0(_0x44e195,_0x405cef,_0x337f2d),_0x337f2d=Object[_0xebe5e1(0xfb)](null)):_0x595d88=_0x405cef,_0x61874=_0x3e6f3d=-0x1;}else throw new SyntaxError(_0xebe5e1(0x246)+_0x3d53e9);}}}else{if(_0x54bd67===void 0x0){if(_0x3e6f3d===-0x1&&_0x30629c[_0x5edd90]===0x1)_0x61874===-0x1&&(_0x61874=_0x3d53e9);else{if(_0x5edd90===0x20||_0x5edd90===0x9)_0x3e6f3d===-0x1&&_0x61874!==-0x1&&(_0x3e6f3d=_0x3d53e9);else{if(_0x5edd90===0x3b||_0x5edd90===0x2c){if(_0x61874===-0x1)throw new SyntaxError(_0xebe5e1(0x246)+_0x3d53e9);_0x3e6f3d===-0x1&&(_0x3e6f3d=_0x3d53e9),_0x1dbbe0(_0x337f2d,_0x38c7bd[_0xebe5e1(0x14c)](_0x61874,_0x3e6f3d),!0x0),_0x5edd90===0x2c&&(_0x1dbbe0(_0x44e195,_0x595d88,_0x337f2d),_0x337f2d=Object[_0xebe5e1(0xfb)](null),_0x595d88=void 0x0),_0x61874=_0x3e6f3d=-0x1;}else{if(_0x5edd90===0x3d&&_0x61874!==-0x1&&_0x3e6f3d===-0x1)_0x54bd67=_0x38c7bd[_0xebe5e1(0x14c)](_0x61874,_0x3d53e9),_0x61874=_0x3e6f3d=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3d53e9);}}}}else{if(_0x1df508){if(_0x30629c[_0x5edd90]!==0x1)throw new SyntaxError(_0xebe5e1(0x246)+_0x3d53e9);_0x61874===-0x1?_0x61874=_0x3d53e9:_0x4eb154||(_0x4eb154=!0x0),_0x1df508=!0x1;}else{if(_0x5ec533){if(_0x30629c[_0x5edd90]===0x1)_0x61874===-0x1&&(_0x61874=_0x3d53e9);else{if(_0x5edd90===0x22&&_0x61874!==-0x1)_0x5ec533=!0x1,_0x3e6f3d=_0x3d53e9;else{if(_0x5edd90===0x5c)_0x1df508=!0x0;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3d53e9);}}}else{if(_0x5edd90===0x22&&_0x38c7bd[_0xebe5e1(0x150)](_0x3d53e9-0x1)===0x3d)_0x5ec533=!0x0;else{if(_0x3e6f3d===-0x1&&_0x30629c[_0x5edd90]===0x1)_0x61874===-0x1&&(_0x61874=_0x3d53e9);else{if(_0x61874!==-0x1&&(_0x5edd90===0x20||_0x5edd90===0x9))_0x3e6f3d===-0x1&&(_0x3e6f3d=_0x3d53e9);else{if(_0x5edd90===0x3b||_0x5edd90===0x2c){if(_0x61874===-0x1)throw new SyntaxError(_0xebe5e1(0x246)+_0x3d53e9);_0x3e6f3d===-0x1&&(_0x3e6f3d=_0x3d53e9);let _0x537e8e=_0x38c7bd[_0xebe5e1(0x14c)](_0x61874,_0x3e6f3d);_0x4eb154&&(_0x537e8e=_0x537e8e[_0xebe5e1(0x1d0)](/\\/g,''),_0x4eb154=!0x1),_0x1dbbe0(_0x337f2d,_0x54bd67,_0x537e8e),_0x5edd90===0x2c&&(_0x1dbbe0(_0x44e195,_0x595d88,_0x337f2d),_0x337f2d=Object[_0xebe5e1(0xfb)](null),_0x595d88=void 0x0),_0x54bd67=void 0x0,_0x61874=_0x3e6f3d=-0x1;}else throw new SyntaxError(_0xebe5e1(0x246)+_0x3d53e9);}}}}}}}if(_0x61874===-0x1||_0x5ec533||_0x5edd90===0x20||_0x5edd90===0x9)throw new SyntaxError(_0xebe5e1(0x1ae));_0x3e6f3d===-0x1&&(_0x3e6f3d=_0x3d53e9);const _0x386805=_0x38c7bd[_0xebe5e1(0x14c)](_0x61874,_0x3e6f3d);return _0x595d88===void 0x0?_0x1dbbe0(_0x44e195,_0x386805,_0x337f2d):(_0x54bd67===void 0x0?_0x1dbbe0(_0x337f2d,_0x386805,!0x0):_0x4eb154?_0x1dbbe0(_0x337f2d,_0x54bd67,_0x386805[_0xebe5e1(0x1d0)](/\\/g,'')):_0x1dbbe0(_0x337f2d,_0x54bd67,_0x386805),_0x1dbbe0(_0x44e195,_0x595d88,_0x337f2d)),_0x44e195;}function _0x36e8b3(_0x1cc436){const _0x3a37e0=_0x15a8;return Object[_0x3a37e0(0x1e5)](_0x1cc436)[_0x3a37e0(0x126)](_0x20ffcd=>{const _0x12978d=_0x3a37e0;let _0x423b3e=_0x1cc436[_0x20ffcd];return Array[_0x12978d(0x285)](_0x423b3e)||(_0x423b3e=[_0x423b3e]),_0x423b3e[_0x12978d(0x126)](_0x4bf2e6=>[_0x20ffcd]['concat'](Object[_0x12978d(0x1e5)](_0x4bf2e6)[_0x12978d(0x126)](_0x16f3b0=>{const _0x5f8fc7=_0x12978d;let _0x178c08=_0x4bf2e6[_0x16f3b0];return Array[_0x5f8fc7(0x285)](_0x178c08)||(_0x178c08=[_0x178c08]),_0x178c08['map'](_0x5ac82f=>_0x5ac82f===!0x0?_0x16f3b0:_0x16f3b0+'='+_0x5ac82f)[_0x5f8fc7(0x10e)](';\x20');}))[_0x12978d(0x10e)](';\x20'))[_0x12978d(0x10e)](',\x20');})['join'](',\x20');}return be={'format':_0x36e8b3,'parse':_0x1701f4},be;}var we,Je;function Pe(){const _0x39b070=_0x54e386;if(Je)return we;Je=0x1;const _0x594fba=nt,_0x2ea2c4=vt,_0x5a17c2=ot,_0x1bb870=St,_0x36dacf=Et,{randomBytes:_0x5c8f67,createHash:_0x5afc48}=Le,{Duplex:_0x4433b6,Readable:_0x5adca8}=oe,{URL:_0x241fc5}=xt,_0x1330e4=he(),_0x33d9cb=lt(),_0xf9da8=ft(),{isBlob:_0x421743}=ae(),{BINARY_TYPES:_0x25e03d,EMPTY_BUFFER:_0x4b8b9a,GUID:_0x5a7a23,kForOnEventAttribute:_0x41433d,kListener:_0x42a405,kStatusCode:_0x141933,kWebSocket:_0x5c84b3,NOOP:_0x3d4e9f}=H(),{EventTarget:{addEventListener:_0x3dac02,removeEventListener:_0xbad771}}=It(),{format:_0x2ebfa3,parse:_0x15e445}=ct(),{toBuffer:_0x5b3cf4}=ce(),_0x5a0f6d=0x1e*0x3e8,_0x44df77=Symbol(_0x39b070(0xf3)),_0x2ed8e8=[0x8,0xd],_0x4b059d=['CONNECTING',_0x39b070(0xd1),_0x39b070(0x220),'CLOSED'],_0x348500=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x53f249 extends _0x594fba{constructor(_0x847a2c,_0x78b527,_0x287bf3){const _0x153062=_0x39b070;super(),this[_0x153062(0x14f)]=_0x25e03d[0x0],this[_0x153062(0x1de)]=0x3ee,this[_0x153062(0x24f)]=!0x1,this['_closeFrameSent']=!0x1,this[_0x153062(0x1b5)]=_0x4b8b9a,this[_0x153062(0x26f)]=null,this[_0x153062(0x127)]=!0x1,this[_0x153062(0x243)]={},this[_0x153062(0x1f8)]=!0x1,this['_protocol']='',this['_readyState']=_0x53f249[_0x153062(0x22a)],this['_receiver']=null,this['_sender']=null,this[_0x153062(0x184)]=null,_0x847a2c!==null?(this[_0x153062(0x173)]=0x0,this[_0x153062(0x1a7)]=!0x1,this[_0x153062(0x176)]=0x0,_0x78b527===void 0x0?_0x78b527=[]:Array[_0x153062(0x285)](_0x78b527)||(typeof _0x78b527=='object'&&_0x78b527!==null?(_0x287bf3=_0x78b527,_0x78b527=[]):_0x78b527=[_0x78b527]),_0x29c907(this,_0x847a2c,_0x78b527,_0x287bf3)):(this[_0x153062(0x1bc)]=_0x287bf3[_0x153062(0x157)],this[_0x153062(0x1a7)]=!0x0);}get['binaryType'](){return this['_binaryType'];}set[_0x39b070(0x225)](_0xacc6ad){const _0x590c93=_0x39b070;_0x25e03d['includes'](_0xacc6ad)&&(this['_binaryType']=_0xacc6ad,this[_0x590c93(0x271)]&&(this[_0x590c93(0x271)][_0x590c93(0x14f)]=_0xacc6ad));}get['bufferedAmount'](){const _0x7ad36f=_0x39b070;return this[_0x7ad36f(0x184)]?this[_0x7ad36f(0x184)][_0x7ad36f(0x215)][_0x7ad36f(0x1bf)]+this[_0x7ad36f(0x104)]['_bufferedBytes']:this[_0x7ad36f(0x173)];}get[_0x39b070(0x259)](){const _0x4fc89e=_0x39b070;return Object[_0x4fc89e(0x1e5)](this[_0x4fc89e(0x243)])['join']();}get[_0x39b070(0x221)](){const _0xa60f77=_0x39b070;return this[_0xa60f77(0x1f8)];}get[_0x39b070(0x201)](){return null;}get['onerror'](){return null;}get[_0x39b070(0x10f)](){return null;}get[_0x39b070(0x1db)](){return null;}get[_0x39b070(0x26a)](){const _0x8c821e=_0x39b070;return this[_0x8c821e(0x12a)];}get[_0x39b070(0x180)](){const _0x3125bb=_0x39b070;return this[_0x3125bb(0x1e8)];}get[_0x39b070(0xc6)](){const _0x53775a=_0x39b070;return this[_0x53775a(0x255)];}['setSocket'](_0x5d9e78,_0x427222,_0x57b4f2){const _0x36dc1c=_0x39b070,_0x38af6d=new _0x33d9cb({'allowSynchronousEvents':_0x57b4f2[_0x36dc1c(0x224)],'binaryType':this[_0x36dc1c(0x225)],'extensions':this['_extensions'],'isServer':this[_0x36dc1c(0x1a7)],'maxPayload':_0x57b4f2[_0x36dc1c(0x241)],'skipUTF8Validation':_0x57b4f2[_0x36dc1c(0x161)]}),_0x3a2cde=new _0xf9da8(_0x5d9e78,this['_extensions'],_0x57b4f2[_0x36dc1c(0x1fb)]);this[_0x36dc1c(0x271)]=_0x38af6d,this[_0x36dc1c(0x104)]=_0x3a2cde,this[_0x36dc1c(0x184)]=_0x5d9e78,_0x38af6d[_0x5c84b3]=this,_0x3a2cde[_0x5c84b3]=this,_0x5d9e78[_0x5c84b3]=this,_0x38af6d['on'](_0x36dc1c(0x106),_0x4996dd),_0x38af6d['on'](_0x36dc1c(0xcb),_0x58a529),_0x38af6d['on'](_0x36dc1c(0x266),_0x1efd22),_0x38af6d['on'](_0x36dc1c(0x1d5),_0x552c8d),_0x38af6d['on'](_0x36dc1c(0x270),_0xfd9d2e),_0x38af6d['on'](_0x36dc1c(0x245),_0x45d7b8),_0x3a2cde[_0x36dc1c(0x177)]=_0x2015d8,_0x5d9e78[_0x36dc1c(0x139)]&&_0x5d9e78[_0x36dc1c(0x139)](0x0),_0x5d9e78[_0x36dc1c(0x22b)]&&_0x5d9e78[_0x36dc1c(0x22b)](),_0x427222[_0x36dc1c(0x1bf)]>0x0&&_0x5d9e78['unshift'](_0x427222),_0x5d9e78['on'](_0x36dc1c(0x172),_0x140071),_0x5d9e78['on'](_0x36dc1c(0x165),_0x47366a),_0x5d9e78['on'](_0x36dc1c(0x130),_0x3fd490),_0x5d9e78['on'](_0x36dc1c(0x266),_0x5629e6),this['_readyState']=_0x53f249[_0x36dc1c(0xd1)],this[_0x36dc1c(0x1b8)]('open');}[_0x39b070(0x1ea)](){const _0x2583cf=_0x39b070;if(!this[_0x2583cf(0x184)]){this[_0x2583cf(0x1e8)]=_0x53f249[_0x2583cf(0xe4)],this[_0x2583cf(0x1b8)](_0x2583cf(0x172),this[_0x2583cf(0x1de)],this[_0x2583cf(0x1b5)]);return;}this[_0x2583cf(0x243)][_0x1330e4[_0x2583cf(0xbc)]]&&this[_0x2583cf(0x243)][_0x1330e4[_0x2583cf(0xbc)]][_0x2583cf(0x251)](),this[_0x2583cf(0x271)][_0x2583cf(0x195)](),this['_readyState']=_0x53f249[_0x2583cf(0xe4)],this[_0x2583cf(0x1b8)](_0x2583cf(0x172),this['_closeCode'],this[_0x2583cf(0x1b5)]);}[_0x39b070(0x172)](_0x58574f,_0x4d00f9){const _0x41e717=_0x39b070;if(this[_0x41e717(0x180)]!==_0x53f249[_0x41e717(0xe4)]){if(this[_0x41e717(0x180)]===_0x53f249[_0x41e717(0x22a)]){_0x49b538(this,this[_0x41e717(0x19a)],_0x41e717(0x183));return;}if(this[_0x41e717(0x180)]===_0x53f249['CLOSING']){this[_0x41e717(0xed)]&&(this[_0x41e717(0x24f)]||this[_0x41e717(0x271)][_0x41e717(0x215)][_0x41e717(0x111)])&&this['_socket'][_0x41e717(0x130)]();return;}this['_readyState']=_0x53f249[_0x41e717(0x220)],this[_0x41e717(0x104)][_0x41e717(0x172)](_0x58574f,_0x4d00f9,!this[_0x41e717(0x1a7)],_0x236480=>{const _0x40d2bb=_0x41e717;_0x236480||(this[_0x40d2bb(0xed)]=!0x0,(this[_0x40d2bb(0x24f)]||this[_0x40d2bb(0x271)]['_writableState'][_0x40d2bb(0x111)])&&this['_socket'][_0x40d2bb(0x130)]());}),_0x5e7b04(this);}}[_0x39b070(0x280)](){const _0x2b6036=_0x39b070;this[_0x2b6036(0x180)]===_0x53f249[_0x2b6036(0x22a)]||this[_0x2b6036(0x180)]===_0x53f249['CLOSED']||(this[_0x2b6036(0x1f8)]=!0x0,this['_socket'][_0x2b6036(0x280)]());}['ping'](_0x5bf66e,_0x450420,_0x933770){const _0x1caf36=_0x39b070;if(this[_0x1caf36(0x180)]===_0x53f249[_0x1caf36(0x22a)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x5bf66e==_0x1caf36(0x16b)?(_0x933770=_0x5bf66e,_0x5bf66e=_0x450420=void 0x0):typeof _0x450420==_0x1caf36(0x16b)&&(_0x933770=_0x450420,_0x450420=void 0x0),typeof _0x5bf66e==_0x1caf36(0x14e)&&(_0x5bf66e=_0x5bf66e[_0x1caf36(0x15d)]()),this['readyState']!==_0x53f249[_0x1caf36(0xd1)]){_0x4e0d84(this,_0x5bf66e,_0x933770);return;}_0x450420===void 0x0&&(_0x450420=!this['_isServer']),this['_sender'][_0x1caf36(0x270)](_0x5bf66e||_0x4b8b9a,_0x450420,_0x933770);}[_0x39b070(0x245)](_0x2226a1,_0x14c557,_0xb875f1){const _0x39b602=_0x39b070;if(this['readyState']===_0x53f249['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x2226a1=='function'?(_0xb875f1=_0x2226a1,_0x2226a1=_0x14c557=void 0x0):typeof _0x14c557==_0x39b602(0x16b)&&(_0xb875f1=_0x14c557,_0x14c557=void 0x0),typeof _0x2226a1==_0x39b602(0x14e)&&(_0x2226a1=_0x2226a1[_0x39b602(0x15d)]()),this[_0x39b602(0x180)]!==_0x53f249[_0x39b602(0xd1)]){_0x4e0d84(this,_0x2226a1,_0xb875f1);return;}_0x14c557===void 0x0&&(_0x14c557=!this['_isServer']),this[_0x39b602(0x104)]['pong'](_0x2226a1||_0x4b8b9a,_0x14c557,_0xb875f1);}[_0x39b070(0xfa)](){const _0x5b93b8=_0x39b070;this[_0x5b93b8(0x180)]===_0x53f249[_0x5b93b8(0x22a)]||this[_0x5b93b8(0x180)]===_0x53f249[_0x5b93b8(0xe4)]||(this[_0x5b93b8(0x1f8)]=!0x1,this[_0x5b93b8(0x271)][_0x5b93b8(0x215)][_0x5b93b8(0x18c)]||this[_0x5b93b8(0x184)][_0x5b93b8(0xfa)]());}['send'](_0x5c04b5,_0x834918,_0xfbfb26){const _0xaa8d34=_0x39b070;if(this[_0xaa8d34(0x180)]===_0x53f249[_0xaa8d34(0x22a)])throw new Error(_0xaa8d34(0x252));if(typeof _0x834918==_0xaa8d34(0x16b)&&(_0xfbfb26=_0x834918,_0x834918={}),typeof _0x5c04b5==_0xaa8d34(0x14e)&&(_0x5c04b5=_0x5c04b5[_0xaa8d34(0x15d)]()),this[_0xaa8d34(0x180)]!==_0x53f249[_0xaa8d34(0xd1)]){_0x4e0d84(this,_0x5c04b5,_0xfbfb26);return;}const _0x4ec69c={'binary':typeof _0x5c04b5!=_0xaa8d34(0x153),'mask':!this[_0xaa8d34(0x1a7)],'compress':!0x0,'fin':!0x0,..._0x834918};this[_0xaa8d34(0x243)][_0x1330e4['extensionName']]||(_0x4ec69c[_0xaa8d34(0xd7)]=!0x1),this['_sender'][_0xaa8d34(0x23e)](_0x5c04b5||_0x4b8b9a,_0x4ec69c,_0xfbfb26);}[_0x39b070(0x200)](){const _0x269751=_0x39b070;if(this[_0x269751(0x180)]!==_0x53f249[_0x269751(0xe4)]){if(this[_0x269751(0x180)]===_0x53f249[_0x269751(0x22a)]){_0x49b538(this,this[_0x269751(0x19a)],_0x269751(0x183));return;}this['_socket']&&(this['_readyState']=_0x53f249[_0x269751(0x220)],this[_0x269751(0x184)][_0x269751(0x1d9)]());}}}Object[_0x39b070(0x146)](_0x53f249,'CONNECTING',{'enumerable':!0x0,'value':_0x4b059d[_0x39b070(0x164)](_0x39b070(0x22a))}),Object[_0x39b070(0x146)](_0x53f249[_0x39b070(0x132)],'CONNECTING',{'enumerable':!0x0,'value':_0x4b059d[_0x39b070(0x164)](_0x39b070(0x22a))}),Object[_0x39b070(0x146)](_0x53f249,_0x39b070(0xd1),{'enumerable':!0x0,'value':_0x4b059d[_0x39b070(0x164)](_0x39b070(0xd1))}),Object[_0x39b070(0x146)](_0x53f249['prototype'],'OPEN',{'enumerable':!0x0,'value':_0x4b059d[_0x39b070(0x164)](_0x39b070(0xd1))}),Object[_0x39b070(0x146)](_0x53f249,_0x39b070(0x220),{'enumerable':!0x0,'value':_0x4b059d[_0x39b070(0x164)](_0x39b070(0x220))}),Object['defineProperty'](_0x53f249[_0x39b070(0x132)],_0x39b070(0x220),{'enumerable':!0x0,'value':_0x4b059d[_0x39b070(0x164)](_0x39b070(0x220))}),Object[_0x39b070(0x146)](_0x53f249,_0x39b070(0xe4),{'enumerable':!0x0,'value':_0x4b059d['indexOf'](_0x39b070(0xe4))}),Object[_0x39b070(0x146)](_0x53f249[_0x39b070(0x132)],_0x39b070(0xe4),{'enumerable':!0x0,'value':_0x4b059d[_0x39b070(0x164)](_0x39b070(0xe4))}),[_0x39b070(0x225),_0x39b070(0x16d),_0x39b070(0x259),_0x39b070(0x221),_0x39b070(0x26a),'readyState',_0x39b070(0xc6)][_0x39b070(0x105)](_0x5c50ee=>{const _0x5e9a69=_0x39b070;Object[_0x5e9a69(0x146)](_0x53f249[_0x5e9a69(0x132)],_0x5c50ee,{'enumerable':!0x0});}),[_0x39b070(0x1c6),'error',_0x39b070(0x172),'message']['forEach'](_0x188cda=>{const _0x3d09f6=_0x39b070;Object[_0x3d09f6(0x146)](_0x53f249[_0x3d09f6(0x132)],'on'+_0x188cda,{'enumerable':!0x0,'get'(){const _0x4c3d96=_0x3d09f6;for(const _0x32dd45 of this[_0x4c3d96(0xc0)](_0x188cda))if(_0x32dd45[_0x41433d])return _0x32dd45[_0x42a405];return null;},'set'(_0x3fe9d3){const _0x28f4eb=_0x3d09f6;for(const _0x31b0b0 of this[_0x28f4eb(0xc0)](_0x188cda))if(_0x31b0b0[_0x41433d]){this[_0x28f4eb(0x21b)](_0x188cda,_0x31b0b0);break;}typeof _0x3fe9d3==_0x28f4eb(0x16b)&&this[_0x28f4eb(0x1a6)](_0x188cda,_0x3fe9d3,{[_0x41433d]:!0x0});}});}),_0x53f249['prototype'][_0x39b070(0x1a6)]=_0x3dac02,_0x53f249['prototype'][_0x39b070(0x19d)]=_0xbad771,we=_0x53f249;function _0x29c907(_0x153d23,_0x59264a,_0x226ba9,_0x4bdb21){const _0x50d662=_0x39b070,_0x210dd4={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x2ed8e8[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x4bdb21,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x50d662(0x257),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x153d23[_0x50d662(0x1bc)]=_0x210dd4[_0x50d662(0x157)],!_0x2ed8e8[_0x50d662(0x1ab)](_0x210dd4['protocolVersion']))throw new RangeError(_0x50d662(0x137)+_0x210dd4[_0x50d662(0x17d)]+_0x50d662(0x20c)+_0x2ed8e8[_0x50d662(0x10e)](',\x20')+')');let _0x37aeaf;if(_0x59264a instanceof _0x241fc5)_0x37aeaf=_0x59264a;else try{_0x37aeaf=new _0x241fc5(_0x59264a);}catch{throw new SyntaxError(_0x50d662(0x102)+_0x59264a);}_0x37aeaf[_0x50d662(0x26a)]==='http:'?_0x37aeaf[_0x50d662(0x26a)]=_0x50d662(0x1ca):_0x37aeaf[_0x50d662(0x26a)]===_0x50d662(0xc8)&&(_0x37aeaf[_0x50d662(0x26a)]=_0x50d662(0x1cb)),_0x153d23[_0x50d662(0x255)]=_0x37aeaf[_0x50d662(0x240)];const _0x457e89=_0x37aeaf[_0x50d662(0x26a)]===_0x50d662(0x1cb),_0x36ffc3=_0x37aeaf[_0x50d662(0x26a)]===_0x50d662(0x1af);let _0x541978;if(_0x37aeaf['protocol']!==_0x50d662(0x1ca)&&!_0x457e89&&!_0x36ffc3?_0x541978=_0x50d662(0x1ac):_0x36ffc3&&!_0x37aeaf[_0x50d662(0x120)]?_0x541978='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x37aeaf[_0x50d662(0x131)]&&(_0x541978='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x541978){const _0x1c7cc9=new SyntaxError(_0x541978);if(_0x153d23[_0x50d662(0x176)]===0x0)throw _0x1c7cc9;_0x54bb6e(_0x153d23,_0x1c7cc9);return;}const _0xa74275=_0x457e89?0x1bb:0x50,_0x23fac6=_0x5c8f67(0x10)['toString'](_0x50d662(0x20e)),_0x564b3c=_0x457e89?_0x2ea2c4[_0x50d662(0x1bd)]:_0x5a17c2['request'],_0x52ef9b=new Set();let _0x1e5acf;if(_0x210dd4['createConnection']=_0x210dd4[_0x50d662(0x214)]||(_0x457e89?_0x57ab26:_0x48d379),_0x210dd4['defaultPort']=_0x210dd4['defaultPort']||_0xa74275,_0x210dd4[_0x50d662(0x1e3)]=_0x37aeaf[_0x50d662(0x1e3)]||_0xa74275,_0x210dd4[_0x50d662(0x143)]=_0x37aeaf[_0x50d662(0x265)][_0x50d662(0x185)]('[')?_0x37aeaf[_0x50d662(0x265)][_0x50d662(0x14c)](0x1,-0x1):_0x37aeaf[_0x50d662(0x265)],_0x210dd4[_0x50d662(0x10c)]={..._0x210dd4[_0x50d662(0x10c)],'Sec-WebSocket-Version':_0x210dd4['protocolVersion'],'Sec-WebSocket-Key':_0x23fac6,'Connection':_0x50d662(0x25a),'Upgrade':_0x50d662(0x187)},_0x210dd4[_0x50d662(0x13e)]=_0x37aeaf[_0x50d662(0x120)]+_0x37aeaf[_0x50d662(0x1e7)],_0x210dd4[_0x50d662(0x194)]=_0x210dd4['handshakeTimeout'],_0x210dd4['perMessageDeflate']&&(_0x1e5acf=new _0x1330e4(_0x210dd4[_0x50d662(0x231)]!==!0x0?_0x210dd4[_0x50d662(0x231)]:{},!0x1,_0x210dd4['maxPayload']),_0x210dd4['headers'][_0x50d662(0x128)]=_0x2ebfa3({[_0x1330e4[_0x50d662(0xbc)]]:_0x1e5acf[_0x50d662(0x203)]()})),_0x226ba9[_0x50d662(0x1bf)]){for(const _0x1f9ff5 of _0x226ba9){if(typeof _0x1f9ff5!=_0x50d662(0x153)||!_0x348500[_0x50d662(0x118)](_0x1f9ff5)||_0x52ef9b[_0x50d662(0x14b)](_0x1f9ff5))throw new SyntaxError(_0x50d662(0xd2));_0x52ef9b[_0x50d662(0x149)](_0x1f9ff5);}_0x210dd4[_0x50d662(0x10c)][_0x50d662(0xe5)]=_0x226ba9[_0x50d662(0x10e)](',');}if(_0x210dd4['origin']&&(_0x210dd4[_0x50d662(0x17d)]<0xd?_0x210dd4[_0x50d662(0x10c)][_0x50d662(0x12f)]=_0x210dd4[_0x50d662(0x21a)]:_0x210dd4['headers'][_0x50d662(0x27b)]=_0x210dd4[_0x50d662(0x21a)]),(_0x37aeaf['username']||_0x37aeaf['password'])&&(_0x210dd4[_0x50d662(0x219)]=_0x37aeaf[_0x50d662(0x23c)]+':'+_0x37aeaf[_0x50d662(0x1da)]),_0x36ffc3){const _0x39ff90=_0x210dd4['path'][_0x50d662(0x1d8)](':');_0x210dd4[_0x50d662(0xf7)]=_0x39ff90[0x0],_0x210dd4[_0x50d662(0x13e)]=_0x39ff90[0x1];}let _0x55a6d1;if(_0x210dd4[_0x50d662(0x1c2)]){if(_0x153d23[_0x50d662(0x176)]===0x0){_0x153d23[_0x50d662(0xd8)]=_0x36ffc3,_0x153d23[_0x50d662(0x121)]=_0x457e89,_0x153d23['_originalHostOrSocketPath']=_0x36ffc3?_0x210dd4[_0x50d662(0xf7)]:_0x37aeaf['host'];const _0x34dc82=_0x4bdb21&&_0x4bdb21['headers'];if(_0x4bdb21={..._0x4bdb21,'headers':{}},_0x34dc82){for(const [_0x47154e,_0x291a0c]of Object[_0x50d662(0x204)](_0x34dc82))_0x4bdb21[_0x50d662(0x10c)][_0x47154e[_0x50d662(0x107)]()]=_0x291a0c;}}else{if(_0x153d23['listenerCount']('redirect')===0x0){const _0x546c16=_0x36ffc3?_0x153d23[_0x50d662(0xd8)]?_0x210dd4[_0x50d662(0xf7)]===_0x153d23[_0x50d662(0x20a)]:!0x1:_0x153d23[_0x50d662(0xd8)]?!0x1:_0x37aeaf[_0x50d662(0x143)]===_0x153d23[_0x50d662(0x20a)];(!_0x546c16||_0x153d23[_0x50d662(0x121)]&&!_0x457e89)&&(delete _0x210dd4[_0x50d662(0x10c)][_0x50d662(0x1a1)],delete _0x210dd4['headers'][_0x50d662(0x273)],_0x546c16||delete _0x210dd4[_0x50d662(0x10c)]['host'],_0x210dd4[_0x50d662(0x219)]=void 0x0);}}_0x210dd4['auth']&&!_0x4bdb21[_0x50d662(0x10c)][_0x50d662(0x1a1)]&&(_0x4bdb21[_0x50d662(0x10c)]['authorization']=_0x50d662(0x276)+Buffer[_0x50d662(0x237)](_0x210dd4[_0x50d662(0x219)])[_0x50d662(0x15d)](_0x50d662(0x20e))),_0x55a6d1=_0x153d23[_0x50d662(0x19a)]=_0x564b3c(_0x210dd4),_0x153d23[_0x50d662(0x176)]&&_0x153d23[_0x50d662(0x1b8)](_0x50d662(0x1b1),_0x153d23['url'],_0x55a6d1);}else _0x55a6d1=_0x153d23[_0x50d662(0x19a)]=_0x564b3c(_0x210dd4);_0x210dd4['timeout']&&_0x55a6d1['on'](_0x50d662(0x194),()=>{const _0x4e1286=_0x50d662;_0x49b538(_0x153d23,_0x55a6d1,_0x4e1286(0x1c8));}),_0x55a6d1['on'](_0x50d662(0x266),_0x3dcddd=>{const _0x1bef4a=_0x50d662;_0x55a6d1===null||_0x55a6d1[_0x44df77]||(_0x55a6d1=_0x153d23[_0x1bef4a(0x19a)]=null,_0x54bb6e(_0x153d23,_0x3dcddd));}),_0x55a6d1['on']('response',_0x48e01a=>{const _0xd61ec1=_0x50d662,_0x5c9a98=_0x48e01a['headers']['location'],_0x30f3bf=_0x48e01a['statusCode'];if(_0x5c9a98&&_0x210dd4[_0xd61ec1(0x1c2)]&&_0x30f3bf>=0x12c&&_0x30f3bf<0x190){if(++_0x153d23[_0xd61ec1(0x176)]>_0x210dd4[_0xd61ec1(0xf4)]){_0x49b538(_0x153d23,_0x55a6d1,'Maximum\x20redirects\x20exceeded');return;}_0x55a6d1[_0xd61ec1(0x18a)]();let _0x5eeb5e;try{_0x5eeb5e=new _0x241fc5(_0x5c9a98,_0x59264a);}catch{const _0x5b6251=new SyntaxError(_0xd61ec1(0x102)+_0x5c9a98);_0x54bb6e(_0x153d23,_0x5b6251);return;}_0x29c907(_0x153d23,_0x5eeb5e,_0x226ba9,_0x4bdb21);}else _0x153d23[_0xd61ec1(0x1b8)](_0xd61ec1(0x129),_0x55a6d1,_0x48e01a)||_0x49b538(_0x153d23,_0x55a6d1,_0xd61ec1(0x122)+_0x48e01a['statusCode']);}),_0x55a6d1['on'](_0x50d662(0x109),(_0x36c74e,_0x11c334,_0x3b91f8)=>{const _0x4ed9fd=_0x50d662;if(_0x153d23[_0x4ed9fd(0x1b8)](_0x4ed9fd(0x109),_0x36c74e),_0x153d23[_0x4ed9fd(0x180)]!==_0x53f249[_0x4ed9fd(0x22a)])return;_0x55a6d1=_0x153d23['_req']=null;const _0x1206b4=_0x36c74e['headers'][_0x4ed9fd(0x109)];if(_0x1206b4===void 0x0||_0x1206b4[_0x4ed9fd(0x107)]()!=='websocket'){_0x49b538(_0x153d23,_0x11c334,_0x4ed9fd(0x256));return;}const _0x83686b=_0x5afc48('sha1')[_0x4ed9fd(0x25f)](_0x23fac6+_0x5a7a23)[_0x4ed9fd(0xea)](_0x4ed9fd(0x20e));if(_0x36c74e[_0x4ed9fd(0x10c)]['sec-websocket-accept']!==_0x83686b){_0x49b538(_0x153d23,_0x11c334,_0x4ed9fd(0x281));return;}const _0x3c9bc4=_0x36c74e[_0x4ed9fd(0x10c)][_0x4ed9fd(0x1a0)];let _0x1175ac;if(_0x3c9bc4!==void 0x0?_0x52ef9b['size']?_0x52ef9b[_0x4ed9fd(0x14b)](_0x3c9bc4)||(_0x1175ac='Server\x20sent\x20an\x20invalid\x20subprotocol'):_0x1175ac=_0x4ed9fd(0x1c3):_0x52ef9b[_0x4ed9fd(0x1ba)]&&(_0x1175ac=_0x4ed9fd(0xe8)),_0x1175ac){_0x49b538(_0x153d23,_0x11c334,_0x1175ac);return;}_0x3c9bc4&&(_0x153d23['_protocol']=_0x3c9bc4);const _0x31eda1=_0x36c74e[_0x4ed9fd(0x10c)][_0x4ed9fd(0xc7)];if(_0x31eda1!==void 0x0){if(!_0x1e5acf){_0x49b538(_0x153d23,_0x11c334,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x2f7fd1;try{_0x2f7fd1=_0x15e445(_0x31eda1);}catch{_0x49b538(_0x153d23,_0x11c334,_0x4ed9fd(0xef));return;}const _0x29d6ea=Object['keys'](_0x2f7fd1);if(_0x29d6ea['length']!==0x1||_0x29d6ea[0x0]!==_0x1330e4[_0x4ed9fd(0xbc)]){_0x49b538(_0x153d23,_0x11c334,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x1e5acf[_0x4ed9fd(0xc4)](_0x2f7fd1[_0x1330e4['extensionName']]);}catch{_0x49b538(_0x153d23,_0x11c334,_0x4ed9fd(0xef));return;}_0x153d23['_extensions'][_0x1330e4[_0x4ed9fd(0xbc)]]=_0x1e5acf;}_0x153d23[_0x4ed9fd(0x279)](_0x11c334,_0x3b91f8,{'allowSynchronousEvents':_0x210dd4[_0x4ed9fd(0x224)],'generateMask':_0x210dd4['generateMask'],'maxPayload':_0x210dd4['maxPayload'],'skipUTF8Validation':_0x210dd4['skipUTF8Validation']});}),_0x210dd4[_0x50d662(0x12d)]?_0x210dd4['finishRequest'](_0x55a6d1,_0x153d23):_0x55a6d1[_0x50d662(0x130)]();}function _0x54bb6e(_0x26308b,_0x290baa){const _0x5ae89e=_0x39b070;_0x26308b[_0x5ae89e(0x1e8)]=_0x53f249[_0x5ae89e(0x220)],_0x26308b[_0x5ae89e(0x127)]=!0x0,_0x26308b['emit']('error',_0x290baa),_0x26308b['emitClose']();}function _0x48d379(_0x215fab){const _0x1ced77=_0x39b070;return _0x215fab[_0x1ced77(0x13e)]=_0x215fab['socketPath'],_0x1bb870[_0x1ced77(0x10a)](_0x215fab);}function _0x57ab26(_0x31de7b){const _0x45cfa4=_0x39b070;return _0x31de7b[_0x45cfa4(0x13e)]=void 0x0,!_0x31de7b[_0x45cfa4(0x1f0)]&&_0x31de7b[_0x45cfa4(0x1f0)]!==''&&(_0x31de7b['servername']=_0x1bb870['isIP'](_0x31de7b[_0x45cfa4(0x143)])?'':_0x31de7b[_0x45cfa4(0x143)]),_0x36dacf['connect'](_0x31de7b);}function _0x49b538(_0x1b2784,_0x375487,_0x397316){const _0x950302=_0x39b070;_0x1b2784[_0x950302(0x1e8)]=_0x53f249[_0x950302(0x220)];const _0x13a690=new Error(_0x397316);Error[_0x950302(0x160)](_0x13a690,_0x49b538),_0x375487[_0x950302(0x190)]?(_0x375487[_0x44df77]=!0x0,_0x375487['abort'](),_0x375487['socket']&&!_0x375487[_0x950302(0x1c5)][_0x950302(0x222)]&&_0x375487[_0x950302(0x1c5)][_0x950302(0x1d9)](),process[_0x950302(0x13c)](_0x54bb6e,_0x1b2784,_0x13a690)):(_0x375487['destroy'](_0x13a690),_0x375487['once'](_0x950302(0x266),_0x1b2784[_0x950302(0x1b8)][_0x950302(0x171)](_0x1b2784,_0x950302(0x266))),_0x375487[_0x950302(0x27a)]('close',_0x1b2784['emitClose']['bind'](_0x1b2784)));}function _0x4e0d84(_0x23b2c9,_0x4bd5ed,_0x51808){const _0x3b8290=_0x39b070;if(_0x4bd5ed){const _0x3f83c1=_0x421743(_0x4bd5ed)?_0x4bd5ed[_0x3b8290(0x1ba)]:_0x5b3cf4(_0x4bd5ed)[_0x3b8290(0x1bf)];_0x23b2c9['_socket']?_0x23b2c9[_0x3b8290(0x104)][_0x3b8290(0x217)]+=_0x3f83c1:_0x23b2c9[_0x3b8290(0x173)]+=_0x3f83c1;}if(_0x51808){const _0x5d91d6=new Error(_0x3b8290(0xd4)+_0x23b2c9[_0x3b8290(0x180)]+'\x20('+_0x4b059d[_0x23b2c9[_0x3b8290(0x180)]]+')');process[_0x3b8290(0x13c)](_0x51808,_0x5d91d6);}}function _0x4996dd(_0x4caf6c,_0x4554e0){const _0x1ef2c8=_0x39b070,_0x26fb1b=this[_0x5c84b3];_0x26fb1b[_0x1ef2c8(0x24f)]=!0x0,_0x26fb1b[_0x1ef2c8(0x1b5)]=_0x4554e0,_0x26fb1b[_0x1ef2c8(0x1de)]=_0x4caf6c,_0x26fb1b[_0x1ef2c8(0x184)][_0x5c84b3]!==void 0x0&&(_0x26fb1b['_socket'][_0x1ef2c8(0x21b)](_0x1ef2c8(0x165),_0x47366a),process['nextTick'](_0x39e769,_0x26fb1b[_0x1ef2c8(0x184)]),_0x4caf6c===0x3ed?_0x26fb1b[_0x1ef2c8(0x172)]():_0x26fb1b[_0x1ef2c8(0x172)](_0x4caf6c,_0x4554e0));}function _0x58a529(){const _0x594a64=_0x39b070,_0x31c2d2=this[_0x5c84b3];_0x31c2d2[_0x594a64(0x221)]||_0x31c2d2[_0x594a64(0x184)][_0x594a64(0xfa)]();}function _0x1efd22(_0x153d0f){const _0x3acae9=_0x39b070,_0x2cdd6b=this[_0x5c84b3];_0x2cdd6b[_0x3acae9(0x184)][_0x5c84b3]!==void 0x0&&(_0x2cdd6b[_0x3acae9(0x184)][_0x3acae9(0x21b)]('data',_0x47366a),process[_0x3acae9(0x13c)](_0x39e769,_0x2cdd6b[_0x3acae9(0x184)]),_0x2cdd6b['close'](_0x153d0f[_0x141933])),_0x2cdd6b[_0x3acae9(0x127)]||(_0x2cdd6b['_errorEmitted']=!0x0,_0x2cdd6b['emit'](_0x3acae9(0x266),_0x153d0f));}function _0x1b31ce(){const _0x1e8ac2=_0x39b070;this[_0x5c84b3][_0x1e8ac2(0x1ea)]();}function _0x552c8d(_0x792075,_0x5f8504){const _0xc509f5=_0x39b070;this[_0x5c84b3]['emit'](_0xc509f5(0x1d5),_0x792075,_0x5f8504);}function _0xfd9d2e(_0x1311a0){const _0xb5e1d1=_0x39b070,_0x5c9742=this[_0x5c84b3];_0x5c9742['_autoPong']&&_0x5c9742[_0xb5e1d1(0x245)](_0x1311a0,!this['_isServer'],_0x3d4e9f),_0x5c9742[_0xb5e1d1(0x1b8)]('ping',_0x1311a0);}function _0x45d7b8(_0x596ed4){const _0x46f65d=_0x39b070;this[_0x5c84b3][_0x46f65d(0x1b8)](_0x46f65d(0x245),_0x596ed4);}function _0x39e769(_0x2aeec6){const _0x46771b=_0x39b070;_0x2aeec6[_0x46771b(0xfa)]();}function _0x2015d8(_0x5ab0cf){const _0x1465dd=_0x39b070,_0x25db21=this[_0x5c84b3];_0x25db21['readyState']!==_0x53f249[_0x1465dd(0xe4)]&&(_0x25db21[_0x1465dd(0x180)]===_0x53f249[_0x1465dd(0xd1)]&&(_0x25db21[_0x1465dd(0x1e8)]=_0x53f249['CLOSING'],_0x5e7b04(_0x25db21)),this[_0x1465dd(0x184)][_0x1465dd(0x130)](),_0x25db21['_errorEmitted']||(_0x25db21[_0x1465dd(0x127)]=!0x0,_0x25db21[_0x1465dd(0x1b8)](_0x1465dd(0x266),_0x5ab0cf)));}function _0x5e7b04(_0x35c4c2){const _0x1465cf=_0x39b070;_0x35c4c2['_closeTimer']=setTimeout(_0x35c4c2['_socket']['destroy'][_0x1465cf(0x171)](_0x35c4c2['_socket']),_0x5a0f6d);}function _0x140071(){const _0x1d5d55=_0x39b070,_0xf12280=this[_0x5c84b3];this[_0x1d5d55(0x21b)](_0x1d5d55(0x172),_0x140071),this[_0x1d5d55(0x21b)](_0x1d5d55(0x165),_0x47366a),this[_0x1d5d55(0x21b)]('end',_0x3fd490),_0xf12280[_0x1d5d55(0x1e8)]=_0x53f249[_0x1d5d55(0x220)];let _0x5514eb;!this[_0x1d5d55(0x167)]['endEmitted']&&!_0xf12280['_closeFrameReceived']&&!_0xf12280[_0x1d5d55(0x271)]['_writableState'][_0x1d5d55(0x111)]&&(_0x5514eb=_0xf12280['_socket'][_0x1d5d55(0x15c)]())!==null&&_0xf12280['_receiver']['write'](_0x5514eb),_0xf12280[_0x1d5d55(0x271)]['end'](),this[_0x5c84b3]=void 0x0,clearTimeout(_0xf12280[_0x1d5d55(0x26f)]),_0xf12280[_0x1d5d55(0x271)]['_writableState'][_0x1d5d55(0x218)]||_0xf12280[_0x1d5d55(0x271)][_0x1d5d55(0x215)]['errorEmitted']?_0xf12280[_0x1d5d55(0x1ea)]():(_0xf12280['_receiver']['on'](_0x1d5d55(0x266),_0x1b31ce),_0xf12280[_0x1d5d55(0x271)]['on'](_0x1d5d55(0x125),_0x1b31ce));}function _0x47366a(_0x5b8f83){const _0x1358ee=_0x39b070;this[_0x5c84b3][_0x1358ee(0x271)][_0x1358ee(0x1b3)](_0x5b8f83)||this[_0x1358ee(0x280)]();}function _0x3fd490(){const _0x366ab1=_0x39b070,_0x1effbd=this[_0x5c84b3];_0x1effbd['_readyState']=_0x53f249[_0x366ab1(0x220)],_0x1effbd[_0x366ab1(0x271)]['end'](),this[_0x366ab1(0x130)]();}function _0x5629e6(){const _0x5898e0=_0x39b070,_0xd8e00d=this[_0x5c84b3];this[_0x5898e0(0x21b)](_0x5898e0(0x266),_0x5629e6),this['on']('error',_0x3d4e9f),_0xd8e00d&&(_0xd8e00d['_readyState']=_0x53f249['CLOSING'],this['destroy']());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x4fffbb}=oe;function _0xbe1c60(_0x13e8ac){const _0x4f8797=_0x15a8;_0x13e8ac[_0x4f8797(0x1b8)](_0x4f8797(0x172));}function _0x262424(){const _0x1b52fa=_0x15a8;!this[_0x1b52fa(0x222)]&&this[_0x1b52fa(0x215)]['finished']&&this['destroy']();}function _0x418eeb(_0x51ceb9){const _0x141b07=_0x15a8;this[_0x141b07(0x21b)](_0x141b07(0x266),_0x418eeb),this['destroy'](),this['listenerCount'](_0x141b07(0x266))===0x0&&this[_0x141b07(0x1b8)](_0x141b07(0x266),_0x51ceb9);}function _0x443614(_0x30dd00,_0x258d9c){const _0x20c621=_0x15a8;let _0x572ac=!0x0;const _0x43fb5a=new _0x4fffbb({..._0x258d9c,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x30dd00['on']('message',function(_0x3142f8,_0x4ef67a){const _0x5c4879=_0x15a8,_0x39a89d=!_0x4ef67a&&_0x43fb5a[_0x5c4879(0x167)][_0x5c4879(0x244)]?_0x3142f8['toString']():_0x3142f8;_0x43fb5a[_0x5c4879(0x12c)](_0x39a89d)||_0x30dd00[_0x5c4879(0x280)]();}),_0x30dd00[_0x20c621(0x27a)]('error',function(_0x2883be){const _0x5e2e23=_0x20c621;_0x43fb5a[_0x5e2e23(0x222)]||(_0x572ac=!0x1,_0x43fb5a['destroy'](_0x2883be));}),_0x30dd00[_0x20c621(0x27a)](_0x20c621(0x172),function(){const _0xf4c9e3=_0x20c621;_0x43fb5a['destroyed']||_0x43fb5a[_0xf4c9e3(0x12c)](null);}),_0x43fb5a['_destroy']=function(_0x396738,_0x2dc386){const _0x488a0a=_0x20c621;if(_0x30dd00[_0x488a0a(0x180)]===_0x30dd00['CLOSED']){_0x2dc386(_0x396738),process[_0x488a0a(0x13c)](_0xbe1c60,_0x43fb5a);return;}let _0x50187d=!0x1;_0x30dd00[_0x488a0a(0x27a)](_0x488a0a(0x266),function(_0x348d28){_0x50187d=!0x0,_0x2dc386(_0x348d28);}),_0x30dd00[_0x488a0a(0x27a)](_0x488a0a(0x172),function(){const _0x26b4b5=_0x488a0a;_0x50187d||_0x2dc386(_0x396738),process[_0x26b4b5(0x13c)](_0xbe1c60,_0x43fb5a);}),_0x572ac&&_0x30dd00[_0x488a0a(0x200)]();},_0x43fb5a['_final']=function(_0x17edf5){const _0x47f2e0=_0x20c621;if(_0x30dd00['readyState']===_0x30dd00[_0x47f2e0(0x22a)]){_0x30dd00[_0x47f2e0(0x27a)](_0x47f2e0(0x1c6),function(){const _0x3e1e42=_0x47f2e0;_0x43fb5a[_0x3e1e42(0x277)](_0x17edf5);});return;}_0x30dd00['_socket']!==null&&(_0x30dd00['_socket'][_0x47f2e0(0x215)][_0x47f2e0(0x218)]?(_0x17edf5(),_0x43fb5a[_0x47f2e0(0x167)][_0x47f2e0(0x211)]&&_0x43fb5a['destroy']()):(_0x30dd00['_socket'][_0x47f2e0(0x27a)](_0x47f2e0(0x125),function(){_0x17edf5();}),_0x30dd00[_0x47f2e0(0x172)]()));},_0x43fb5a[_0x20c621(0xdc)]=function(){const _0x3ed3a8=_0x20c621;_0x30dd00[_0x3ed3a8(0x221)]&&_0x30dd00['resume']();},_0x43fb5a[_0x20c621(0xe9)]=function(_0x540fdb,_0x4121e0,_0x48e8b0){const _0x4e6c97=_0x20c621;if(_0x30dd00[_0x4e6c97(0x180)]===_0x30dd00[_0x4e6c97(0x22a)]){_0x30dd00[_0x4e6c97(0x27a)](_0x4e6c97(0x1c6),function(){_0x43fb5a['_write'](_0x540fdb,_0x4121e0,_0x48e8b0);});return;}_0x30dd00[_0x4e6c97(0x23e)](_0x540fdb,_0x48e8b0);},_0x43fb5a['on'](_0x20c621(0x130),_0x262424),_0x43fb5a['on'](_0x20c621(0x266),_0x418eeb),_0x43fb5a;}return Oe=_0x443614,Oe;}function _0x15a8(_0x15fab1,_0x1b7ce9){const _0x1d4ba6=_0x1d4b();return _0x15a8=function(_0x15a877,_0xa4ae30){_0x15a877=_0x15a877-0xb9;let _0x33ffc6=_0x1d4ba6[_0x15a877];return _0x33ffc6;},_0x15a8(_0x15fab1,_0x1b7ce9);}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x42d1ab}=ae();function _0x1af5b9(_0xc15f6c){const _0x3b7775=_0x15a8,_0x2edae1=new Set();let _0x474eb2=-0x1,_0x39cbdb=-0x1,_0x4db414=0x0;for(_0x4db414;_0x4db414<_0xc15f6c['length'];_0x4db414++){const _0x50ce1d=_0xc15f6c[_0x3b7775(0x150)](_0x4db414);if(_0x39cbdb===-0x1&&_0x42d1ab[_0x50ce1d]===0x1)_0x474eb2===-0x1&&(_0x474eb2=_0x4db414);else{if(_0x4db414!==0x0&&(_0x50ce1d===0x20||_0x50ce1d===0x9))_0x39cbdb===-0x1&&_0x474eb2!==-0x1&&(_0x39cbdb=_0x4db414);else{if(_0x50ce1d===0x2c){if(_0x474eb2===-0x1)throw new SyntaxError(_0x3b7775(0x246)+_0x4db414);_0x39cbdb===-0x1&&(_0x39cbdb=_0x4db414);const _0x51190c=_0xc15f6c['slice'](_0x474eb2,_0x39cbdb);if(_0x2edae1[_0x3b7775(0x14b)](_0x51190c))throw new SyntaxError('The\x20\x22'+_0x51190c+'\x22\x20subprotocol\x20is\x20duplicated');_0x2edae1[_0x3b7775(0x149)](_0x51190c),_0x474eb2=_0x39cbdb=-0x1;}else throw new SyntaxError(_0x3b7775(0x246)+_0x4db414);}}}if(_0x474eb2===-0x1||_0x39cbdb!==-0x1)throw new SyntaxError(_0x3b7775(0x1ae));const _0x43446b=_0xc15f6c['slice'](_0x474eb2,_0x4db414);if(_0x2edae1[_0x3b7775(0x14b)](_0x43446b))throw new SyntaxError('The\x20\x22'+_0x43446b+_0x3b7775(0x1ec));return _0x2edae1['add'](_0x43446b),_0x2edae1;}return Ce={'parse':_0x1af5b9},Ce;}var Te,rt;function Ft(){const _0x5b9138=_0x54e386;if(rt)return Te;rt=0x1;const _0x1c9c4e=nt,_0x9e5e58=ot,{Duplex:_0x4d626a}=oe,{createHash:_0x36943e}=Le,_0x552397=ct(),_0x2e4184=he(),_0x2fb19c=At(),_0x3087f3=Pe(),{GUID:_0x258f4d,kWebSocket:_0x14afe6}=H(),_0x152e11=/^[+/0-9A-Za-z]{22}==$/,_0x4fa72b=0x0,_0x29a1ed=0x1,_0xf6fcd=0x2;class _0x460821 extends _0x1c9c4e{constructor(_0x4c5064,_0xbbbd99){const _0x4f771a=_0x15a8;if(super(),_0x4c5064={'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':_0x3087f3,..._0x4c5064},_0x4c5064['port']==null&&!_0x4c5064[_0x4f771a(0x13d)]&&!_0x4c5064[_0x4f771a(0x254)]||_0x4c5064[_0x4f771a(0x1e3)]!=null&&(_0x4c5064[_0x4f771a(0x13d)]||_0x4c5064['noServer'])||_0x4c5064['server']&&_0x4c5064[_0x4f771a(0x254)])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x4c5064[_0x4f771a(0x1e3)]!=null?(this[_0x4f771a(0x1ff)]=_0x9e5e58[_0x4f771a(0x147)]((_0x453beb,_0x28cb0a)=>{const _0xd7337f=_0x4f771a,_0x5f323e=_0x9e5e58[_0xd7337f(0x1a9)][0x1aa];_0x28cb0a[_0xd7337f(0x261)](0x1aa,{'Content-Length':_0x5f323e[_0xd7337f(0x1bf)],'Content-Type':_0xd7337f(0x186)}),_0x28cb0a['end'](_0x5f323e);}),this[_0x4f771a(0x1ff)][_0x4f771a(0x1b6)](_0x4c5064[_0x4f771a(0x1e3)],_0x4c5064['host'],_0x4c5064[_0x4f771a(0x1df)],_0xbbbd99)):_0x4c5064['server']&&(this[_0x4f771a(0x1ff)]=_0x4c5064[_0x4f771a(0x13d)]),this[_0x4f771a(0x1ff)]){const _0x53bf4a=this['emit'][_0x4f771a(0x171)](this,_0x4f771a(0x1c7));this['_removeListeners']=_0x56b9bc(this[_0x4f771a(0x1ff)],{'listening':this['emit']['bind'](this,_0x4f771a(0x136)),'error':this[_0x4f771a(0x1b8)]['bind'](this,_0x4f771a(0x266)),'upgrade':(_0x5cd691,_0x4469e0,_0x412d66)=>{this['handleUpgrade'](_0x5cd691,_0x4469e0,_0x412d66,_0x53bf4a);}});}_0x4c5064[_0x4f771a(0x231)]===!0x0&&(_0x4c5064[_0x4f771a(0x231)]={}),_0x4c5064[_0x4f771a(0xcf)]&&(this[_0x4f771a(0x247)]=new Set(),this[_0x4f771a(0x229)]=!0x1),this[_0x4f771a(0xe0)]=_0x4c5064,this[_0x4f771a(0x15a)]=_0x4fa72b;}[_0x5b9138(0x26d)](){const _0x23d99a=_0x5b9138;if(this[_0x23d99a(0xe0)][_0x23d99a(0x254)])throw new Error(_0x23d99a(0x144));return this[_0x23d99a(0x1ff)]?this[_0x23d99a(0x1ff)][_0x23d99a(0x26d)]():null;}[_0x5b9138(0x172)](_0x3440b1){const _0xc5da9a=_0x5b9138;if(this[_0xc5da9a(0x15a)]===_0xf6fcd){_0x3440b1&&this['once'](_0xc5da9a(0x172),()=>{const _0x4866fd=_0xc5da9a;_0x3440b1(new Error(_0x4866fd(0x1b4)));}),process['nextTick'](_0x1c1cdc,this);return;}if(_0x3440b1&&this[_0xc5da9a(0x27a)]('close',_0x3440b1),this['_state']!==_0x29a1ed){if(this[_0xc5da9a(0x15a)]=_0x29a1ed,this[_0xc5da9a(0xe0)]['noServer']||this['options'][_0xc5da9a(0x13d)])this[_0xc5da9a(0x1ff)]&&(this[_0xc5da9a(0x196)](),this[_0xc5da9a(0x196)]=this[_0xc5da9a(0x1ff)]=null),this[_0xc5da9a(0x247)]?this[_0xc5da9a(0x247)][_0xc5da9a(0x1ba)]?this['_shouldEmitClose']=!0x0:process['nextTick'](_0x1c1cdc,this):process[_0xc5da9a(0x13c)](_0x1c1cdc,this);else{const _0x2d8a55=this[_0xc5da9a(0x1ff)];this[_0xc5da9a(0x196)](),this[_0xc5da9a(0x196)]=this[_0xc5da9a(0x1ff)]=null,_0x2d8a55[_0xc5da9a(0x172)](()=>{_0x1c1cdc(this);});}}}[_0x5b9138(0x248)](_0x425856){const _0x53f9fc=_0x5b9138;if(this[_0x53f9fc(0xe0)][_0x53f9fc(0x13e)]){const _0x7e6ea=_0x425856[_0x53f9fc(0xc6)]['indexOf']('?');if((_0x7e6ea!==-0x1?_0x425856[_0x53f9fc(0xc6)]['slice'](0x0,_0x7e6ea):_0x425856[_0x53f9fc(0xc6)])!==this[_0x53f9fc(0xe0)][_0x53f9fc(0x13e)])return!0x1;}return!0x0;}['handleUpgrade'](_0x512890,_0xd87aca,_0x49ec6d,_0x3567a8){const _0x4fc645=_0x5b9138;_0xd87aca['on']('error',_0x33ba35);const _0x400429=_0x512890['headers'][_0x4fc645(0x250)],_0x5ba2fe=_0x512890[_0x4fc645(0x10c)][_0x4fc645(0x109)],_0x419bbb=+_0x512890[_0x4fc645(0x10c)]['sec-websocket-version'];if(_0x512890[_0x4fc645(0x21e)]!==_0x4fc645(0x257)){_0x491b74(this,_0x512890,_0xd87aca,0x195,_0x4fc645(0x1b0));return;}if(_0x5ba2fe===void 0x0||_0x5ba2fe[_0x4fc645(0x107)]()!=='websocket'){_0x491b74(this,_0x512890,_0xd87aca,0x190,_0x4fc645(0x256));return;}if(_0x400429===void 0x0||!_0x152e11['test'](_0x400429)){_0x491b74(this,_0x512890,_0xd87aca,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x419bbb!==0x8&&_0x419bbb!==0xd){_0x491b74(this,_0x512890,_0xd87aca,0x190,_0x4fc645(0x15b));return;}if(!this[_0x4fc645(0x248)](_0x512890)){_0x285c29(_0xd87aca,0x190);return;}const _0x2126a4=_0x512890['headers']['sec-websocket-protocol'];let _0x3755e4=new Set();if(_0x2126a4!==void 0x0)try{_0x3755e4=_0x2fb19c[_0x4fc645(0x112)](_0x2126a4);}catch{_0x491b74(this,_0x512890,_0xd87aca,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x10c2ec=_0x512890['headers'][_0x4fc645(0xc7)],_0x39b9e6={};if(this[_0x4fc645(0xe0)]['perMessageDeflate']&&_0x10c2ec!==void 0x0){const _0x1ceae1=new _0x2e4184(this[_0x4fc645(0xe0)][_0x4fc645(0x231)],!0x0,this[_0x4fc645(0xe0)][_0x4fc645(0x241)]);try{const _0x564d11=_0x552397[_0x4fc645(0x112)](_0x10c2ec);_0x564d11[_0x2e4184[_0x4fc645(0xbc)]]&&(_0x1ceae1[_0x4fc645(0xc4)](_0x564d11[_0x2e4184[_0x4fc645(0xbc)]]),_0x39b9e6[_0x2e4184['extensionName']]=_0x1ceae1);}catch{_0x491b74(this,_0x512890,_0xd87aca,0x190,_0x4fc645(0x230));return;}}if(this['options'][_0x4fc645(0x108)]){const _0x3f39b4={'origin':_0x512890['headers'][''+(_0x419bbb===0x8?'sec-websocket-origin':'origin')],'secure':!!(_0x512890[_0x4fc645(0x1c5)][_0x4fc645(0x242)]||_0x512890[_0x4fc645(0x1c5)][_0x4fc645(0x124)]),'req':_0x512890};if(this[_0x4fc645(0xe0)]['verifyClient']['length']===0x2){this['options']['verifyClient'](_0x3f39b4,(_0x37df20,_0x1532f8,_0x507661,_0x21ec7e)=>{const _0x5ea674=_0x4fc645;if(!_0x37df20)return _0x285c29(_0xd87aca,_0x1532f8||0x191,_0x507661,_0x21ec7e);this[_0x5ea674(0x116)](_0x39b9e6,_0x400429,_0x3755e4,_0x512890,_0xd87aca,_0x49ec6d,_0x3567a8);});return;}if(!this[_0x4fc645(0xe0)][_0x4fc645(0x108)](_0x3f39b4))return _0x285c29(_0xd87aca,0x191);}this['completeUpgrade'](_0x39b9e6,_0x400429,_0x3755e4,_0x512890,_0xd87aca,_0x49ec6d,_0x3567a8);}[_0x5b9138(0x116)](_0x85630c,_0x5883be,_0x504c4c,_0x3901b4,_0x34b2de,_0x51e361,_0x53c8c1){const _0x7036de=_0x5b9138;if(!_0x34b2de[_0x7036de(0x25b)]||!_0x34b2de[_0x7036de(0x18f)])return _0x34b2de['destroy']();if(_0x34b2de[_0x14afe6])throw new Error(_0x7036de(0x20f));if(this[_0x7036de(0x15a)]>_0x4fa72b)return _0x285c29(_0x34b2de,0x1f7);const _0x5b1bce=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x7036de(0x22c),'Connection:\x20Upgrade',_0x7036de(0xe3)+_0x36943e(_0x7036de(0x253))['update'](_0x5883be+_0x258f4d)[_0x7036de(0xea)](_0x7036de(0x20e))],_0x59a9f7=new this['options']['WebSocket'](null,void 0x0,this[_0x7036de(0xe0)]);if(_0x504c4c['size']){const _0x1dedc2=this[_0x7036de(0xe0)]['handleProtocols']?this[_0x7036de(0xe0)][_0x7036de(0x11e)](_0x504c4c,_0x3901b4):_0x504c4c[_0x7036de(0x1e4)]()['next']()['value'];_0x1dedc2&&(_0x5b1bce['push'](_0x7036de(0x11c)+_0x1dedc2),_0x59a9f7[_0x7036de(0x12a)]=_0x1dedc2);}if(_0x85630c[_0x2e4184['extensionName']]){const _0x5c635c=_0x85630c[_0x2e4184[_0x7036de(0xbc)]][_0x7036de(0x158)],_0x193286=_0x552397[_0x7036de(0x151)]({[_0x2e4184[_0x7036de(0xbc)]]:[_0x5c635c]});_0x5b1bce['push']('Sec-WebSocket-Extensions:\x20'+_0x193286),_0x59a9f7[_0x7036de(0x243)]=_0x85630c;}this[_0x7036de(0x1b8)]('headers',_0x5b1bce,_0x3901b4),_0x34b2de['write'](_0x5b1bce[_0x7036de(0xe6)]('\x0d\x0a')[_0x7036de(0x10e)]('\x0d\x0a')),_0x34b2de['removeListener'](_0x7036de(0x266),_0x33ba35),_0x59a9f7['setSocket'](_0x34b2de,_0x51e361,{'allowSynchronousEvents':this[_0x7036de(0xe0)][_0x7036de(0x224)],'maxPayload':this[_0x7036de(0xe0)][_0x7036de(0x241)],'skipUTF8Validation':this[_0x7036de(0xe0)][_0x7036de(0x161)]}),this[_0x7036de(0x247)]&&(this[_0x7036de(0x247)][_0x7036de(0x149)](_0x59a9f7),_0x59a9f7['on']('close',()=>{const _0x265e82=_0x7036de;this['clients']['delete'](_0x59a9f7),this[_0x265e82(0x229)]&&!this['clients'][_0x265e82(0x1ba)]&&process[_0x265e82(0x13c)](_0x1c1cdc,this);})),_0x53c8c1(_0x59a9f7,_0x3901b4);}}Te=_0x460821;function _0x56b9bc(_0x159f77,_0x2006b2){for(const _0x48bb52 of Object['keys'](_0x2006b2))_0x159f77['on'](_0x48bb52,_0x2006b2[_0x48bb52]);return function(){const _0x5489e9=_0x15a8;for(const _0x320482 of Object[_0x5489e9(0x1e5)](_0x2006b2))_0x159f77[_0x5489e9(0x21b)](_0x320482,_0x2006b2[_0x320482]);};}function _0x1c1cdc(_0x47f2e6){const _0x3916eb=_0x5b9138;_0x47f2e6[_0x3916eb(0x15a)]=_0xf6fcd,_0x47f2e6[_0x3916eb(0x1b8)](_0x3916eb(0x172));}function _0x33ba35(){this['destroy']();}function _0x285c29(_0x6fb199,_0x7b7799,_0x2531c8,_0x3d8cc1){const _0x4db2aa=_0x5b9138;_0x2531c8=_0x2531c8||_0x9e5e58[_0x4db2aa(0x1a9)][_0x7b7799],_0x3d8cc1={'Connection':_0x4db2aa(0x172),'Content-Type':_0x4db2aa(0x1b7),'Content-Length':Buffer[_0x4db2aa(0x15e)](_0x2531c8),..._0x3d8cc1},_0x6fb199[_0x4db2aa(0x27a)](_0x4db2aa(0x125),_0x6fb199[_0x4db2aa(0x1d9)]),_0x6fb199['end'](_0x4db2aa(0x156)+_0x7b7799+'\x20'+_0x9e5e58[_0x4db2aa(0x1a9)][_0x7b7799]+'\x0d\x0a'+Object[_0x4db2aa(0x1e5)](_0x3d8cc1)['map'](_0x104c53=>_0x104c53+':\x20'+_0x3d8cc1[_0x104c53])[_0x4db2aa(0x10e)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x2531c8);}function _0x491b74(_0x525b0b,_0x1801bf,_0x470408,_0x3549f6,_0xfaef70){const _0x49eb38=_0x5b9138;if(_0x525b0b[_0x49eb38(0x20d)](_0x49eb38(0x113))){const _0x304779=new Error(_0xfaef70);Error['captureStackTrace'](_0x304779,_0x491b74),_0x525b0b[_0x49eb38(0x1b8)](_0x49eb38(0x113),_0x304779,_0x470408,_0x1801bf);}else _0x285c29(_0x470408,_0x3549f6,_0xfaef70);}return Te;}Ft();var jt=Object[_0x54e386(0x1eb)],Wt=(_0x3e5607,_0x555bc8,_0x210f1a,_0x48a521)=>{const _0x537178=_0x54e386;for(var _0x2bbd5c=_0x48a521>0x1?void 0x0:_0x48a521?jt(_0x555bc8,_0x210f1a):_0x555bc8,_0x5a6f0d=_0x3e5607[_0x537178(0x1bf)]-0x1,_0x111185;_0x5a6f0d>=0x0;_0x5a6f0d--)(_0x111185=_0x3e5607[_0x5a6f0d])&&(_0x2bbd5c=_0x111185(_0x2bbd5c)||_0x2bbd5c);return _0x2bbd5c;},qt=(_0x3345ce,_0x378674)=>(_0x1519f2,_0x40c553)=>_0x378674(_0x1519f2,_0x40c553,_0x3345ce);let ke=class extends A[_0x54e386(0x11d)]{constructor(_0x3b9347){const _0x5851bc=_0x54e386;super(),this[_0x5851bc(0x1cd)]=_0x3b9347;}[_0x54e386(0xc9)](_0xc6e98){const _0x314e4a=_0x54e386;var _0x181ccc;const _0x5a7386=(_0x181ccc=this['_configService'][_0x314e4a(0x1a5)](fe))==null?void 0x0:_0x181ccc[_0x314e4a(0x1dd)];try{const _0x2ecdd5=new $t(_0xc6e98,{'headers':{..._0x5a7386}}),_0x48c5b1=new A[(_0x314e4a(0x1ed))]();return{'URL':_0xc6e98,'close':(_0x459586,_0x1473fd)=>{const _0x3af74d=_0x314e4a;_0x2ecdd5[_0x3af74d(0x172)](_0x459586,_0x1473fd),_0x48c5b1[_0x3af74d(0xc2)]();},'send':_0x1b5f65=>{const _0x328547=_0x314e4a;_0x2ecdd5[_0x328547(0x23e)](_0x1b5f65);},'open$':new V['Observable'](_0x428837=>{const _0x230570=_0x314e4a,_0x5ef3db=_0x25bdce=>_0x428837[_0x230570(0xec)](_0x25bdce);_0x2ecdd5['addEventListener'](_0x230570(0x1c6),_0x5ef3db),_0x48c5b1['add'](A['toDisposable'](()=>_0x2ecdd5[_0x230570(0x19d)](_0x230570(0x1c6),_0x5ef3db)));})['pipe'](V[_0x314e4a(0x1c0)]()),'close$':new V[(_0x314e4a(0x18e))](_0x2e8d0a=>{const _0x30ec44=_0x314e4a,_0x4ff876=_0x4b0cec=>_0x2e8d0a['next'](_0x4b0cec);_0x2ecdd5['addEventListener']('close',_0x4ff876),_0x48c5b1[_0x30ec44(0x149)](A[_0x30ec44(0xe1)](()=>_0x2ecdd5[_0x30ec44(0x19d)](_0x30ec44(0x172),_0x4ff876)));})[_0x314e4a(0x1cc)](V[_0x314e4a(0x1c0)]()),'error$':new V[(_0x314e4a(0x18e))](_0x2459c0=>{const _0xd5f54f=_0x314e4a,_0x4c2a70=_0x4773a8=>_0x2459c0[_0xd5f54f(0xec)](_0x4773a8);_0x2ecdd5['addEventListener'](_0xd5f54f(0x266),_0x4c2a70),_0x48c5b1[_0xd5f54f(0x149)](A['toDisposable'](()=>_0x2ecdd5[_0xd5f54f(0x19d)](_0xd5f54f(0x266),_0x4c2a70)));})[_0x314e4a(0x1cc)](V[_0x314e4a(0x1c0)]()),'message$':new V[(_0x314e4a(0x18e))](_0x1b7948=>{const _0x2a8a1a=_0x314e4a,_0x4c8800=_0x34ca90=>_0x1b7948['next'](_0x34ca90);_0x2ecdd5[_0x2a8a1a(0x1a6)](_0x2a8a1a(0x1d5),_0x4c8800),_0x48c5b1[_0x2a8a1a(0x149)](A[_0x2a8a1a(0xe1)](()=>_0x2ecdd5['removeEventListener'](_0x2a8a1a(0x1d5),_0x4c8800)));})[_0x314e4a(0x1cc)](V[_0x314e4a(0x1c0)]())};}catch(_0x5e4973){return console[_0x314e4a(0x266)](_0x5e4973),null;}}};ke=Wt([qt(0x0,A['IConfigService'])],ke);var Gt=Object[_0x54e386(0x146)],Vt=Object[_0x54e386(0x1eb)],Ht=(_0x9286e5,_0xa900b2,_0x45cc89)=>_0xa900b2 in _0x9286e5?Gt(_0x9286e5,_0xa900b2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x45cc89}):_0x9286e5[_0xa900b2]=_0x45cc89,zt=(_0x1843f3,_0x51f53c,_0x1e47e3,_0x5a1533)=>{const _0x34d456=_0x54e386;for(var _0x5a3376=_0x5a1533>0x1?void 0x0:_0x5a1533?Vt(_0x51f53c,_0x1e47e3):_0x51f53c,_0x1dbc00=_0x1843f3[_0x34d456(0x1bf)]-0x1,_0x5dabd5;_0x1dbc00>=0x0;_0x1dbc00--)(_0x5dabd5=_0x1843f3[_0x1dbc00])&&(_0x5a3376=_0x5dabd5(_0x5a3376)||_0x5a3376);return _0x5a3376;},Ne=(_0x17a613,_0x443a7f)=>(_0x5a5e56,_0x3fe46d)=>_0x443a7f(_0x5a5e56,_0x3fe46d,_0x17a613),Yt=(_0x48c62c,_0x59aff7,_0x4a6475)=>Ht(_0x48c62c,_0x59aff7+'',_0x4a6475);exports['UniverCollaborationClientNodePlugin']=class extends A[_0x54e386(0x26e)]{constructor(_0x288c3e=Ct,_0x5ed806,_0x477d6d,_0x3f705c){const _0x5a981e=_0x54e386;_0x288c3e[_0x5a981e(0x1dd)]||_0x5ed806[_0x5a981e(0x238)](_0x5a981e(0x227)),super(),this[_0x5a981e(0x1cd)]=_0x477d6d,this[_0x5a981e(0x249)]=_0x3f705c,this[_0x5a981e(0x1cd)]['setConfig'](fe,_0x288c3e);}[_0x54e386(0x226)](){const _0xdcf1fa=_0x54e386;this[_0xdcf1fa(0xf1)]();}['_registerDependencies'](){const _0x10406d=_0x54e386;A[_0x10406d(0x24a)](this[_0x10406d(0x249)],[[it[_0x10406d(0x27d)],{'useClass':ke}]]);}},Yt(exports[_0x54e386(0xf2)],_0x54e386(0xc3),_0x54e386(0x16c)),exports[_0x54e386(0xf2)]=zt([A[_0x54e386(0x1f9)](st['UniverCollaborationClientPlugin']),Ne(0x1,A[_0x54e386(0x181)]),Ne(0x2,A[_0x54e386(0x213)]),Ne(0x3,A['Inject'](A[_0x54e386(0x101)]))],exports[_0x54e386(0xf2)]);var Kt=Object[_0x54e386(0x1eb)],Xt=(_0x24a97a,_0x3ca80c,_0x2086c7,_0x1147d4)=>{const _0x2412ef=_0x54e386;for(var _0x59f6dc=_0x1147d4>0x1?void 0x0:_0x1147d4?Kt(_0x3ca80c,_0x2086c7):_0x3ca80c,_0x228fcf=_0x24a97a[_0x2412ef(0x1bf)]-0x1,_0x3f529f;_0x228fcf>=0x0;_0x228fcf--)(_0x3f529f=_0x24a97a[_0x228fcf])&&(_0x59f6dc=_0x3f529f(_0x59f6dc)||_0x59f6dc);return _0x59f6dc;},ne=(_0x4ab35b,_0x58751d)=>(_0x50f96b,_0x5a1dc4)=>_0x58751d(_0x50f96b,_0x5a1dc4,_0x4ab35b);exports[_0x54e386(0x274)]=class extends st['CollaborationSocketService']{constructor(_0x3cee68,_0x5d2e31,_0x1d6e92,_0x57ffa2,_0x16710f){const _0x535941=_0x54e386;super(_0x3cee68,_0x5d2e31,_0x1d6e92,_0x57ffa2,_0x16710f);const _0x48cc35=this[_0x535941(0x1cd)][_0x535941(0x1a5)](fe);this[_0x535941(0x133)][_0x535941(0xcc)]({'interceptor':(_0x12816a,_0x397dab)=>{const _0x4625fd=_0x535941;var _0x4d69c5;const _0x152d65=_0x12816a[_0x4625fd(0x10c)];return(_0x4d69c5=_0x48cc35==null?void 0x0:_0x48cc35[_0x4625fd(0x1dd)])!=null&&_0x4d69c5[_0x4625fd(0x273)]&&_0x152d65[_0x4625fd(0x1c9)](_0x4625fd(0x1f7),_0x48cc35[_0x4625fd(0x1dd)][_0x4625fd(0x273)]),_0x397dab(_0x12816a);}});}async[_0x54e386(0xc9)](_0x1488da){const _0x1d3ebc=_0x54e386;return this[_0x1d3ebc(0x236)](_0x1488da);}},exports[_0x54e386(0x274)]=Xt([ne(0x0,A[_0x54e386(0x16f)](A[_0x54e386(0x101)])),ne(0x1,A['Inject'](it['HTTPService'])),ne(0x2,A[_0x54e386(0x213)]),ne(0x3,A[_0x54e386(0x181)]),ne(0x4,Ot[_0x54e386(0x18d)])],exports['NodeCollaborationSocketService']),exports['COLLABORATION_CLIENT_NODE_CONFIG_KEY']=fe;
|