@univerjs-pro/collaboration-client-node 0.11.0 → 0.12.0-nightly.202511220628

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x4a4417=_0x42f1;function _0x42f1(_0x37b609,_0x5ed1b5){const _0x3deae4=_0x3dea();return _0x42f1=function(_0x42f195,_0x402a3f){_0x42f195=_0x42f195-0x165;let _0x1d8fca=_0x3deae4[_0x42f195];return _0x1d8fca;},_0x42f1(_0x37b609,_0x5ed1b5);}(function(_0x5c86c7,_0x20340e){const _0x49e879=_0x42f1,_0x4ff1b4=_0x5c86c7();while(!![]){try{const _0x273aa3=parseInt(_0x49e879(0x1fd))/0x1*(-parseInt(_0x49e879(0x2ed))/0x2)+parseInt(_0x49e879(0x2fe))/0x3+parseInt(_0x49e879(0x27b))/0x4*(-parseInt(_0x49e879(0x1d6))/0x5)+-parseInt(_0x49e879(0x239))/0x6+parseInt(_0x49e879(0x1cb))/0x7+-parseInt(_0x49e879(0x263))/0x8+-parseInt(_0x49e879(0x19d))/0x9*(-parseInt(_0x49e879(0x2f4))/0xa);if(_0x273aa3===_0x20340e)break;else _0x4ff1b4['push'](_0x4ff1b4['shift']());}catch(_0x386547){_0x4ff1b4['push'](_0x4ff1b4['shift']());}}}(_0x3dea,0xe6ff2));Object[_0x4a4417(0x2e7)](exports,Symbol['toStringTag'],{'value':_0x4a4417(0x324)});const st=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),it=require('@univerjs/network'),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require('http'),St=require('net'),Et=require('tls'),Le=require('crypto'),oe=require('stream'),xt=require('url'),bt=require('zlib'),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe=_0x4a4417(0x24d),Ct={'customHeaders':{}};function Tt(_0xe809f6){const _0x596f7b=_0x4a4417;return _0xe809f6&&_0xe809f6[_0x596f7b(0x1a4)]&&Object[_0x596f7b(0x2d7)][_0x596f7b(0x169)][_0x596f7b(0x20a)](_0xe809f6,_0x596f7b(0x1ec))?_0xe809f6[_0x596f7b(0x1ec)]:_0xe809f6;}function at(_0xed7f37){const _0x582db1=_0x4a4417;if(Object['prototype'][_0x582db1(0x169)]['call'](_0xed7f37,_0x582db1(0x1a4)))return _0xed7f37;var _0x32483a=_0xed7f37[_0x582db1(0x1ec)];if(typeof _0x32483a==_0x582db1(0x2d9)){var _0x56535e=function _0x5b046c(){const _0x82436c=_0x582db1;var _0x156f2b=!0x1;try{_0x156f2b=this instanceof _0x5b046c;}catch{}return _0x156f2b?Reflect[_0x82436c(0x1e6)](_0x32483a,arguments,this[_0x82436c(0x168)]):_0x32483a[_0x82436c(0x177)](this,arguments);};_0x56535e['prototype']=_0x32483a[_0x582db1(0x2d7)];}else _0x56535e={};return Object['defineProperty'](_0x56535e,_0x582db1(0x1a4),{'value':!0x0}),Object[_0x582db1(0x252)](_0xed7f37)['forEach'](function(_0x1a457b){const _0x38c089=_0x582db1;var _0x1d0290=Object[_0x38c089(0x1ea)](_0xed7f37,_0x1a457b);Object[_0x38c089(0x2e7)](_0x56535e,_0x1a457b,_0x1d0290[_0x38c089(0x185)]?_0x1d0290:{'enumerable':!0x0,'get':function(){return _0xed7f37[_0x1a457b];}});}),_0x56535e;}var se={'exports':{}},ge,Ge;function H(){const _0x232e8f=_0x4a4417;if(Ge)return ge;Ge=0x1;const _0x1aebcc=[_0x232e8f(0x211),'arraybuffer',_0x232e8f(0x315)],_0x5eafe1=typeof Blob<'u';return _0x5eafe1&&_0x1aebcc['push'](_0x232e8f(0x26f)),ge={'BINARY_TYPES':_0x1aebcc,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x5eafe1,'kForOnEventAttribute':Symbol(_0x232e8f(0x1e2)),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x232e8f(0x26d)),'kWebSocket':Symbol(_0x232e8f(0x235)),'NOOP':()=>{}},ge;}const Nt={},kt=Object['freeze'](Object['defineProperty']({'__proto__':null,'default':Nt},Symbol[_0x4a4417(0x285)],{'value':_0x4a4417(0x324)})),Lt=at(kt);var Ve;function ce(){const _0x1479f4=_0x4a4417;if(Ve)return se[_0x1479f4(0x2e3)];Ve=0x1;const {EMPTY_BUFFER:_0x39785b}=H(),_0x51bd8b=Buffer[Symbol[_0x1479f4(0x297)]];function _0x55e883(_0x4f7d8d,_0x4a0ed9){const _0x1f3793=_0x1479f4;if(_0x4f7d8d[_0x1f3793(0x17b)]===0x0)return _0x39785b;if(_0x4f7d8d[_0x1f3793(0x17b)]===0x1)return _0x4f7d8d[0x0];const _0x494606=Buffer['allocUnsafe'](_0x4a0ed9);let _0x199bc5=0x0;for(let _0x1d5489=0x0;_0x1d5489<_0x4f7d8d[_0x1f3793(0x17b)];_0x1d5489++){const _0x4d0bb4=_0x4f7d8d[_0x1d5489];_0x494606[_0x1f3793(0x1b8)](_0x4d0bb4,_0x199bc5),_0x199bc5+=_0x4d0bb4[_0x1f3793(0x17b)];}return _0x199bc5<_0x4a0ed9?new _0x51bd8b(_0x494606['buffer'],_0x494606['byteOffset'],_0x199bc5):_0x494606;}function _0x545a4a(_0x1b3469,_0x229968,_0x2bda65,_0x136c53,_0x311219){for(let _0x689315=0x0;_0x689315<_0x311219;_0x689315++)_0x2bda65[_0x136c53+_0x689315]=_0x1b3469[_0x689315]^_0x229968[_0x689315&0x3];}function _0xd60ef1(_0x40813a,_0x512c2a){const _0x16fc0f=_0x1479f4;for(let _0xaac25b=0x0;_0xaac25b<_0x40813a[_0x16fc0f(0x17b)];_0xaac25b++)_0x40813a[_0xaac25b]^=_0x512c2a[_0xaac25b&0x3];}function _0x6a8895(_0x314e9a){const _0x263cdc=_0x1479f4;return _0x314e9a[_0x263cdc(0x17b)]===_0x314e9a[_0x263cdc(0x296)][_0x263cdc(0x2bb)]?_0x314e9a[_0x263cdc(0x296)]:_0x314e9a[_0x263cdc(0x296)]['slice'](_0x314e9a[_0x263cdc(0x218)],_0x314e9a[_0x263cdc(0x218)]+_0x314e9a[_0x263cdc(0x17b)]);}function _0x39dd4e(_0x343e06){const _0x435a51=_0x1479f4;if(_0x39dd4e[_0x435a51(0x2c2)]=!0x0,Buffer[_0x435a51(0x1c8)](_0x343e06))return _0x343e06;let _0x6ff48;return _0x343e06 instanceof ArrayBuffer?_0x6ff48=new _0x51bd8b(_0x343e06):ArrayBuffer[_0x435a51(0x2e1)](_0x343e06)?_0x6ff48=new _0x51bd8b(_0x343e06[_0x435a51(0x296)],_0x343e06[_0x435a51(0x218)],_0x343e06['byteLength']):(_0x6ff48=Buffer[_0x435a51(0x1b4)](_0x343e06),_0x39dd4e[_0x435a51(0x2c2)]=!0x1),_0x6ff48;}if(se[_0x1479f4(0x2e3)]={'concat':_0x55e883,'mask':_0x545a4a,'toArrayBuffer':_0x6a8895,'toBuffer':_0x39dd4e,'unmask':_0xd60ef1},!process[_0x1479f4(0x227)][_0x1479f4(0x172)])try{const _0x4f1cb5=Lt;se[_0x1479f4(0x2e3)][_0x1479f4(0x201)]=function(_0x4a5e4a,_0x7ce4ed,_0x28da98,_0x264506,_0x17446c){const _0xb5fe3a=_0x1479f4;_0x17446c<0x30?_0x545a4a(_0x4a5e4a,_0x7ce4ed,_0x28da98,_0x264506,_0x17446c):_0x4f1cb5[_0xb5fe3a(0x201)](_0x4a5e4a,_0x7ce4ed,_0x28da98,_0x264506,_0x17446c);},se[_0x1479f4(0x2e3)][_0x1479f4(0x256)]=function(_0x58fb60,_0x12360d){const _0x38bce3=_0x1479f4;_0x58fb60['length']<0x20?_0xd60ef1(_0x58fb60,_0x12360d):_0x4f1cb5[_0x38bce3(0x256)](_0x58fb60,_0x12360d);};}catch{}return se[_0x1479f4(0x2e3)];}var ye,He;function Pt(){const _0x3380e6=_0x4a4417;if(He)return ye;He=0x1;const _0x4d530c=Symbol(_0x3380e6(0x176)),_0x11b097=Symbol('kRun');class _0x33978c{constructor(_0x14e385){const _0x5b4398=_0x3380e6;this[_0x4d530c]=()=>{this['pending']--,this[_0x11b097]();},this[_0x5b4398(0x2b9)]=_0x14e385||0x1/0x0,this['jobs']=[],this['pending']=0x0;}[_0x3380e6(0x2d1)](_0x72b69b){const _0x9a477f=_0x3380e6;this[_0x9a477f(0x1de)][_0x9a477f(0x29c)](_0x72b69b),this[_0x11b097]();}[_0x11b097](){const _0x3e1c8b=_0x3380e6;if(this['pending']!==this[_0x3e1c8b(0x2b9)]&&this[_0x3e1c8b(0x1de)][_0x3e1c8b(0x17b)]){const _0x14130d=this[_0x3e1c8b(0x1de)][_0x3e1c8b(0x18c)]();this[_0x3e1c8b(0x231)]++,_0x14130d(this[_0x4d530c]);}}}return ye=_0x33978c,ye;}var ve,ze;function he(){const _0x37d8ce=_0x4a4417;if(ze)return ve;ze=0x1;const _0x5f476e=bt,_0x10feea=ce(),_0x490dd6=Pt(),{kStatusCode:_0x4d785e}=H(),_0x4e78ca=Buffer[Symbol[_0x37d8ce(0x297)]],_0x2a1879=Buffer[_0x37d8ce(0x1b4)]([0x0,0x0,0xff,0xff]),_0x255512=Symbol(_0x37d8ce(0x1f7)),_0x23d86a=Symbol(_0x37d8ce(0x30f)),_0xf23fc6=Symbol(_0x37d8ce(0x2ec)),_0x378214=Symbol('buffers'),_0x1e50fd=Symbol(_0x37d8ce(0x2a1));let _0xb196e4;class _0x34fe70{constructor(_0x5bb86b,_0x3cb339,_0x52ca7f){const _0x3f4a3c=_0x37d8ce;if(this[_0x3f4a3c(0x2c9)]=_0x52ca7f|0x0,this[_0x3f4a3c(0x1c0)]=_0x5bb86b||{},this[_0x3f4a3c(0x2a4)]=this[_0x3f4a3c(0x1c0)][_0x3f4a3c(0x1af)]!==void 0x0?this[_0x3f4a3c(0x1c0)][_0x3f4a3c(0x1af)]:0x400,this['_isServer']=!!_0x3cb339,this[_0x3f4a3c(0x253)]=null,this['_inflate']=null,this[_0x3f4a3c(0x1fb)]=null,!_0xb196e4){const _0x3027f9=this[_0x3f4a3c(0x1c0)][_0x3f4a3c(0x1fe)]!==void 0x0?this[_0x3f4a3c(0x1c0)][_0x3f4a3c(0x1fe)]:0xa;_0xb196e4=new _0x490dd6(_0x3027f9);}}static get['extensionName'](){const _0x251a32=_0x37d8ce;return _0x251a32(0x1f7);}[_0x37d8ce(0x1c2)](){const _0x1126f3=_0x37d8ce,_0x1d7f49={};return this[_0x1126f3(0x1c0)][_0x1126f3(0x2c1)]&&(_0x1d7f49[_0x1126f3(0x1d2)]=!0x0),this[_0x1126f3(0x1c0)][_0x1126f3(0x303)]&&(_0x1d7f49[_0x1126f3(0x21a)]=!0x0),this[_0x1126f3(0x1c0)][_0x1126f3(0x222)]&&(_0x1d7f49[_0x1126f3(0x189)]=this[_0x1126f3(0x1c0)][_0x1126f3(0x222)]),this['_options'][_0x1126f3(0x18b)]?_0x1d7f49['client_max_window_bits']=this[_0x1126f3(0x1c0)][_0x1126f3(0x18b)]:this[_0x1126f3(0x1c0)]['clientMaxWindowBits']==null&&(_0x1d7f49[_0x1126f3(0x2c5)]=!0x0),_0x1d7f49;}[_0x37d8ce(0x23c)](_0x479fad){const _0x49c325=_0x37d8ce;return _0x479fad=this[_0x49c325(0x1df)](_0x479fad),this[_0x49c325(0x1fb)]=this[_0x49c325(0x27d)]?this[_0x49c325(0x301)](_0x479fad):this[_0x49c325(0x278)](_0x479fad),this[_0x49c325(0x1fb)];}[_0x37d8ce(0x1ed)](){const _0x3a9d4e=_0x37d8ce;if(this[_0x3a9d4e(0x2f7)]&&(this[_0x3a9d4e(0x2f7)]['close'](),this[_0x3a9d4e(0x2f7)]=null),this['_deflate']){const _0x7d9f9d=this['_deflate'][_0xf23fc6];this[_0x3a9d4e(0x253)][_0x3a9d4e(0x1a1)](),this['_deflate']=null,_0x7d9f9d&&_0x7d9f9d(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x37d8ce(0x301)](_0x48b729){const _0x44c247=_0x37d8ce,_0x354371=this[_0x44c247(0x1c0)],_0x4f2021=_0x48b729['find'](_0x48d4c1=>!(_0x354371[_0x44c247(0x2c1)]===!0x1&&_0x48d4c1[_0x44c247(0x1d2)]||_0x48d4c1[_0x44c247(0x189)]&&(_0x354371['serverMaxWindowBits']===!0x1||typeof _0x354371[_0x44c247(0x222)]==_0x44c247(0x2b7)&&_0x354371['serverMaxWindowBits']>_0x48d4c1[_0x44c247(0x189)])||typeof _0x354371[_0x44c247(0x18b)]==_0x44c247(0x2b7)&&!_0x48d4c1[_0x44c247(0x2c5)]));if(!_0x4f2021)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x354371[_0x44c247(0x2c1)]&&(_0x4f2021[_0x44c247(0x1d2)]=!0x0),_0x354371['clientNoContextTakeover']&&(_0x4f2021[_0x44c247(0x21a)]=!0x0),typeof _0x354371[_0x44c247(0x222)]==_0x44c247(0x2b7)&&(_0x4f2021['server_max_window_bits']=_0x354371[_0x44c247(0x222)]),typeof _0x354371['clientMaxWindowBits']==_0x44c247(0x2b7)?_0x4f2021['client_max_window_bits']=_0x354371[_0x44c247(0x18b)]:(_0x4f2021[_0x44c247(0x2c5)]===!0x0||_0x354371['clientMaxWindowBits']===!0x1)&&delete _0x4f2021[_0x44c247(0x2c5)],_0x4f2021;}['acceptAsClient'](_0xf16177){const _0x5f406e=_0x37d8ce,_0x46f6a5=_0xf16177[0x0];if(this[_0x5f406e(0x1c0)]['clientNoContextTakeover']===!0x1&&_0x46f6a5['client_no_context_takeover'])throw new Error(_0x5f406e(0x2a8));if(!_0x46f6a5[_0x5f406e(0x2c5)])typeof this[_0x5f406e(0x1c0)][_0x5f406e(0x18b)]==_0x5f406e(0x2b7)&&(_0x46f6a5['client_max_window_bits']=this[_0x5f406e(0x1c0)][_0x5f406e(0x18b)]);else{if(this['_options'][_0x5f406e(0x18b)]===!0x1||typeof this['_options'][_0x5f406e(0x18b)]=='number'&&_0x46f6a5[_0x5f406e(0x2c5)]>this['_options'][_0x5f406e(0x18b)])throw new Error('Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22');}return _0x46f6a5;}['normalizeParams'](_0x40ec04){const _0x13b9e1=_0x37d8ce;return _0x40ec04[_0x13b9e1(0x1a2)](_0x582ba2=>{const _0x4f91b1=_0x13b9e1;Object['keys'](_0x582ba2)[_0x4f91b1(0x1a2)](_0x384e94=>{const _0x40d708=_0x4f91b1;let _0x3568d3=_0x582ba2[_0x384e94];if(_0x3568d3[_0x40d708(0x17b)]>0x1)throw new Error(_0x40d708(0x19a)+_0x384e94+'\x22\x20must\x20have\x20only\x20a\x20single\x20value');if(_0x3568d3=_0x3568d3[0x0],_0x384e94===_0x40d708(0x2c5)){if(_0x3568d3!==!0x0){const _0x42d9da=+_0x3568d3;if(!Number['isInteger'](_0x42d9da)||_0x42d9da<0x8||_0x42d9da>0xf)throw new TypeError(_0x40d708(0x1ac)+_0x384e94+_0x40d708(0x2dc)+_0x3568d3);_0x3568d3=_0x42d9da;}else{if(!this[_0x40d708(0x27d)])throw new TypeError(_0x40d708(0x1ac)+_0x384e94+_0x40d708(0x2dc)+_0x3568d3);}}else{if(_0x384e94===_0x40d708(0x189)){const _0x5d58c6=+_0x3568d3;if(!Number[_0x40d708(0x1b9)](_0x5d58c6)||_0x5d58c6<0x8||_0x5d58c6>0xf)throw new TypeError(_0x40d708(0x1ac)+_0x384e94+_0x40d708(0x2dc)+_0x3568d3);_0x3568d3=_0x5d58c6;}else{if(_0x384e94===_0x40d708(0x21a)||_0x384e94===_0x40d708(0x1d2)){if(_0x3568d3!==!0x0)throw new TypeError(_0x40d708(0x1ac)+_0x384e94+_0x40d708(0x2dc)+_0x3568d3);}else throw new Error(_0x40d708(0x29d)+_0x384e94+'\x22');}}_0x582ba2[_0x384e94]=_0x3568d3;});}),_0x40ec04;}['decompress'](_0x4c847c,_0x36db2a,_0xa276f){const _0x8e17a6=_0x37d8ce;_0xb196e4[_0x8e17a6(0x2d1)](_0x2e9331=>{const _0x425728=_0x8e17a6;this[_0x425728(0x24b)](_0x4c847c,_0x36db2a,(_0x462742,_0x1d42b8)=>{_0x2e9331(),_0xa276f(_0x462742,_0x1d42b8);});});}[_0x37d8ce(0x26b)](_0x48321d,_0x1cd975,_0x595111){const _0x50de21=_0x37d8ce;_0xb196e4[_0x50de21(0x2d1)](_0x4f075a=>{const _0x5b08a7=_0x50de21;this[_0x5b08a7(0x2ee)](_0x48321d,_0x1cd975,(_0x374004,_0x28cb0f)=>{_0x4f075a(),_0x595111(_0x374004,_0x28cb0f);});});}[_0x37d8ce(0x24b)](_0x5a7f43,_0x17f9fe,_0x5de5bb){const _0x2cfbb7=_0x37d8ce,_0x510bab=this['_isServer']?_0x2cfbb7(0x1cd):_0x2cfbb7(0x243);if(!this[_0x2cfbb7(0x2f7)]){const _0xd6fd6=_0x510bab+_0x2cfbb7(0x19b),_0x3e1de5=typeof this[_0x2cfbb7(0x1fb)][_0xd6fd6]!=_0x2cfbb7(0x2b7)?_0x5f476e[_0x2cfbb7(0x323)]:this[_0x2cfbb7(0x1fb)][_0xd6fd6];this[_0x2cfbb7(0x2f7)]=_0x5f476e[_0x2cfbb7(0x265)]({...this[_0x2cfbb7(0x1c0)][_0x2cfbb7(0x304)],'windowBits':_0x3e1de5}),this[_0x2cfbb7(0x2f7)][_0x255512]=this,this['_inflate'][_0x23d86a]=0x0,this[_0x2cfbb7(0x2f7)][_0x378214]=[],this[_0x2cfbb7(0x2f7)]['on']('error',_0x338a2b),this[_0x2cfbb7(0x2f7)]['on'](_0x2cfbb7(0x232),_0x3f3935);}this['_inflate'][_0xf23fc6]=_0x5de5bb,this['_inflate'][_0x2cfbb7(0x190)](_0x5a7f43),_0x17f9fe&&this['_inflate'][_0x2cfbb7(0x190)](_0x2a1879),this[_0x2cfbb7(0x2f7)][_0x2cfbb7(0x20f)](()=>{const _0x1ebf5e=_0x2cfbb7,_0xa999d=this[_0x1ebf5e(0x2f7)][_0x1e50fd];if(_0xa999d){this[_0x1ebf5e(0x2f7)][_0x1ebf5e(0x1a1)](),this[_0x1ebf5e(0x2f7)]=null,_0x5de5bb(_0xa999d);return;}const _0xeeaad1=_0x10feea[_0x1ebf5e(0x277)](this[_0x1ebf5e(0x2f7)][_0x378214],this[_0x1ebf5e(0x2f7)][_0x23d86a]);this[_0x1ebf5e(0x2f7)]['_readableState'][_0x1ebf5e(0x1db)]?(this[_0x1ebf5e(0x2f7)][_0x1ebf5e(0x1a1)](),this[_0x1ebf5e(0x2f7)]=null):(this[_0x1ebf5e(0x2f7)][_0x23d86a]=0x0,this[_0x1ebf5e(0x2f7)][_0x378214]=[],_0x17f9fe&&this[_0x1ebf5e(0x1fb)][_0x510bab+_0x1ebf5e(0x312)]&&this[_0x1ebf5e(0x2f7)][_0x1ebf5e(0x2ad)]()),_0x5de5bb(null,_0xeeaad1);});}['_compress'](_0x17fb9b,_0x38b5f1,_0x5d7a8e){const _0x2c43e1=_0x37d8ce,_0x36b09c=this[_0x2c43e1(0x27d)]?_0x2c43e1(0x243):_0x2c43e1(0x1cd);if(!this[_0x2c43e1(0x253)]){const _0xf42e89=_0x36b09c+'_max_window_bits',_0x5046b=typeof this[_0x2c43e1(0x1fb)][_0xf42e89]!=_0x2c43e1(0x2b7)?_0x5f476e[_0x2c43e1(0x323)]:this[_0x2c43e1(0x1fb)][_0xf42e89];this[_0x2c43e1(0x253)]=_0x5f476e[_0x2c43e1(0x212)]({...this[_0x2c43e1(0x1c0)][_0x2c43e1(0x274)],'windowBits':_0x5046b}),this[_0x2c43e1(0x253)][_0x23d86a]=0x0,this[_0x2c43e1(0x253)][_0x378214]=[],this['_deflate']['on'](_0x2c43e1(0x232),_0x521987);}this[_0x2c43e1(0x253)][_0xf23fc6]=_0x5d7a8e,this[_0x2c43e1(0x253)]['write'](_0x17fb9b),this[_0x2c43e1(0x253)][_0x2c43e1(0x20f)](_0x5f476e[_0x2c43e1(0x27f)],()=>{const _0x55801a=_0x2c43e1;if(!this[_0x55801a(0x253)])return;let _0x5b3900=_0x10feea[_0x55801a(0x277)](this[_0x55801a(0x253)][_0x378214],this[_0x55801a(0x253)][_0x23d86a]);_0x38b5f1&&(_0x5b3900=new _0x4e78ca(_0x5b3900[_0x55801a(0x296)],_0x5b3900[_0x55801a(0x218)],_0x5b3900[_0x55801a(0x17b)]-0x4)),this['_deflate'][_0xf23fc6]=null,this[_0x55801a(0x253)][_0x23d86a]=0x0,this[_0x55801a(0x253)][_0x378214]=[],_0x38b5f1&&this[_0x55801a(0x1fb)][_0x36b09c+'_no_context_takeover']&&this[_0x55801a(0x253)][_0x55801a(0x2ad)](),_0x5d7a8e(null,_0x5b3900);});}}ve=_0x34fe70;function _0x521987(_0x3b8203){const _0x396056=_0x37d8ce;this[_0x378214]['push'](_0x3b8203),this[_0x23d86a]+=_0x3b8203[_0x396056(0x17b)];}function _0x3f3935(_0x5dfa41){const _0x4e83a3=_0x37d8ce;if(this[_0x23d86a]+=_0x5dfa41['length'],this[_0x255512]['_maxPayload']<0x1||this[_0x23d86a]<=this[_0x255512][_0x4e83a3(0x2c9)]){this[_0x378214][_0x4e83a3(0x29c)](_0x5dfa41);return;}this[_0x1e50fd]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x1e50fd][_0x4e83a3(0x1a3)]=_0x4e83a3(0x216),this[_0x1e50fd][_0x4d785e]=0x3f1,this[_0x4e83a3(0x264)](_0x4e83a3(0x232),_0x3f3935),this[_0x4e83a3(0x2ad)]();}function _0x338a2b(_0x165235){const _0x5e5281=_0x37d8ce;if(this[_0x255512][_0x5e5281(0x2f7)]=null,this[_0x1e50fd]){this[_0xf23fc6](this[_0x1e50fd]);return;}_0x165235[_0x4d785e]=0x3ef,this[_0xf23fc6](_0x165235);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object['freeze'](Object[_0x4a4417(0x2e7)]({'__proto__':null,'default':Dt},Symbol[_0x4a4417(0x285)],{'value':_0x4a4417(0x324)})),Bt=at(Rt);var Ye;function ae(){const _0x57a6cf=_0x4a4417;if(Ye)return ie[_0x57a6cf(0x2e3)];Ye=0x1;const {isUtf8:_0x96fa3c}=wt,{hasBlob:_0x2ca8c4}=H(),_0xf98df9=[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 _0x72fd24(_0xd6c34f){return _0xd6c34f>=0x3e8&&_0xd6c34f<=0x3f6&&_0xd6c34f!==0x3ec&&_0xd6c34f!==0x3ed&&_0xd6c34f!==0x3ee||_0xd6c34f>=0xbb8&&_0xd6c34f<=0x1387;}function _0x503642(_0x264d97){const _0x361cc4=_0x57a6cf,_0x3209d4=_0x264d97[_0x361cc4(0x17b)];let _0x10663f=0x0;for(;_0x10663f<_0x3209d4;)if((_0x264d97[_0x10663f]&0x80)===0x0)_0x10663f++;else{if((_0x264d97[_0x10663f]&0xe0)===0xc0){if(_0x10663f+0x1===_0x3209d4||(_0x264d97[_0x10663f+0x1]&0xc0)!==0x80||(_0x264d97[_0x10663f]&0xfe)===0xc0)return!0x1;_0x10663f+=0x2;}else{if((_0x264d97[_0x10663f]&0xf0)===0xe0){if(_0x10663f+0x2>=_0x3209d4||(_0x264d97[_0x10663f+0x1]&0xc0)!==0x80||(_0x264d97[_0x10663f+0x2]&0xc0)!==0x80||_0x264d97[_0x10663f]===0xe0&&(_0x264d97[_0x10663f+0x1]&0xe0)===0x80||_0x264d97[_0x10663f]===0xed&&(_0x264d97[_0x10663f+0x1]&0xe0)===0xa0)return!0x1;_0x10663f+=0x3;}else{if((_0x264d97[_0x10663f]&0xf8)===0xf0){if(_0x10663f+0x3>=_0x3209d4||(_0x264d97[_0x10663f+0x1]&0xc0)!==0x80||(_0x264d97[_0x10663f+0x2]&0xc0)!==0x80||(_0x264d97[_0x10663f+0x3]&0xc0)!==0x80||_0x264d97[_0x10663f]===0xf0&&(_0x264d97[_0x10663f+0x1]&0xf0)===0x80||_0x264d97[_0x10663f]===0xf4&&_0x264d97[_0x10663f+0x1]>0x8f||_0x264d97[_0x10663f]>0xf4)return!0x1;_0x10663f+=0x4;}else return!0x1;}}}return!0x0;}function _0x5dc8a2(_0x218a45){const _0x5f04c6=_0x57a6cf;return _0x2ca8c4&&typeof _0x218a45==_0x5f04c6(0x2c6)&&typeof _0x218a45[_0x5f04c6(0x205)]==_0x5f04c6(0x2d9)&&typeof _0x218a45['type']==_0x5f04c6(0x2da)&&typeof _0x218a45[_0x5f04c6(0x23a)]==_0x5f04c6(0x2d9)&&(_0x218a45[Symbol[_0x5f04c6(0x285)]]===_0x5f04c6(0x194)||_0x218a45[Symbol[_0x5f04c6(0x285)]]==='File');}if(ie['exports']={'isBlob':_0x5dc8a2,'isValidStatusCode':_0x72fd24,'isValidUTF8':_0x503642,'tokenChars':_0xf98df9},_0x96fa3c)ie[_0x57a6cf(0x2e3)][_0x57a6cf(0x2d8)]=function(_0x2d8bee){const _0xe04876=_0x57a6cf;return _0x2d8bee[_0xe04876(0x17b)]<0x18?_0x503642(_0x2d8bee):_0x96fa3c(_0x2d8bee);};else{if(!process['env']['WS_NO_UTF_8_VALIDATE'])try{const _0x9ddc6a=Bt;ie[_0x57a6cf(0x2e3)][_0x57a6cf(0x2d8)]=function(_0x29d17c){const _0x458e65=_0x57a6cf;return _0x29d17c[_0x458e65(0x17b)]<0x20?_0x503642(_0x29d17c):_0x9ddc6a(_0x29d17c);};}catch{}}return ie[_0x57a6cf(0x2e3)];}var Se,Ke;function lt(){const _0x44e51b=_0x4a4417;if(Ke)return Se;Ke=0x1;const {Writable:_0x25a2e0}=oe,_0x5bfe7c=he(),{BINARY_TYPES:_0xf82077,EMPTY_BUFFER:_0x4b1913,kStatusCode:_0x10f2be,kWebSocket:_0x39e28c}=H(),{concat:_0x3c9d9c,toArrayBuffer:_0x503557,unmask:_0x837258}=ce(),{isValidStatusCode:_0x433e22,isValidUTF8:_0x1a1841}=ae(),_0x4bf8e4=Buffer[Symbol['species']],_0xdc86fe=0x0,_0x2eb54e=0x1,_0x12780a=0x2,_0x5c0c9d=0x3,_0x25f323=0x4,_0x58e0c9=0x5,_0x3c5db2=0x6;class _0x3388c9 extends _0x25a2e0{constructor(_0x3451f8={}){const _0x3c33ca=_0x42f1;super(),this[_0x3c33ca(0x20e)]=_0x3451f8[_0x3c33ca(0x1c7)]!==void 0x0?_0x3451f8[_0x3c33ca(0x1c7)]:!0x0,this[_0x3c33ca(0x229)]=_0x3451f8[_0x3c33ca(0x293)]||_0xf82077[0x0],this[_0x3c33ca(0x1a8)]=_0x3451f8[_0x3c33ca(0x22a)]||{},this[_0x3c33ca(0x27d)]=!!_0x3451f8[_0x3c33ca(0x25f)],this[_0x3c33ca(0x2c9)]=_0x3451f8[_0x3c33ca(0x273)]|0x0,this[_0x3c33ca(0x1eb)]=!!_0x3451f8['skipUTF8Validation'],this[_0x39e28c]=void 0x0,this[_0x3c33ca(0x31b)]=0x0,this['_buffers']=[],this[_0x3c33ca(0x2e5)]=!0x1,this['_payloadLength']=0x0,this[_0x3c33ca(0x2cf)]=void 0x0,this[_0x3c33ca(0x1c3)]=0x0,this[_0x3c33ca(0x309)]=!0x1,this['_fin']=!0x1,this[_0x3c33ca(0x2b3)]=0x0,this['_totalPayloadLength']=0x0,this[_0x3c33ca(0x1d3)]=0x0,this[_0x3c33ca(0x18a)]=[],this[_0x3c33ca(0x2fb)]=!0x1,this[_0x3c33ca(0x209)]=!0x1,this[_0x3c33ca(0x1a6)]=_0xdc86fe;}['_write'](_0x34df9c,_0x33d121,_0x12e220){const _0x1e61a6=_0x42f1;if(this[_0x1e61a6(0x2b3)]===0x8&&this['_state']==_0xdc86fe)return _0x12e220();this[_0x1e61a6(0x31b)]+=_0x34df9c[_0x1e61a6(0x17b)],this['_buffers'][_0x1e61a6(0x29c)](_0x34df9c),this[_0x1e61a6(0x1ad)](_0x12e220);}[_0x44e51b(0x268)](_0x1b7bce){const _0x36231a=_0x44e51b;if(this['_bufferedBytes']-=_0x1b7bce,_0x1b7bce===this[_0x36231a(0x1ca)][0x0][_0x36231a(0x17b)])return this[_0x36231a(0x1ca)]['shift']();if(_0x1b7bce<this[_0x36231a(0x1ca)][0x0]['length']){const _0x1a26e5=this[_0x36231a(0x1ca)][0x0];return this[_0x36231a(0x1ca)][0x0]=new _0x4bf8e4(_0x1a26e5[_0x36231a(0x296)],_0x1a26e5[_0x36231a(0x218)]+_0x1b7bce,_0x1a26e5['length']-_0x1b7bce),new _0x4bf8e4(_0x1a26e5[_0x36231a(0x296)],_0x1a26e5['byteOffset'],_0x1b7bce);}const _0x2b6fc8=Buffer['allocUnsafe'](_0x1b7bce);do{const _0x1ebb2e=this[_0x36231a(0x1ca)][0x0],_0x551afb=_0x2b6fc8[_0x36231a(0x17b)]-_0x1b7bce;_0x1b7bce>=_0x1ebb2e[_0x36231a(0x17b)]?_0x2b6fc8[_0x36231a(0x1b8)](this[_0x36231a(0x1ca)][_0x36231a(0x18c)](),_0x551afb):(_0x2b6fc8['set'](new Uint8Array(_0x1ebb2e['buffer'],_0x1ebb2e[_0x36231a(0x218)],_0x1b7bce),_0x551afb),this['_buffers'][0x0]=new _0x4bf8e4(_0x1ebb2e[_0x36231a(0x296)],_0x1ebb2e['byteOffset']+_0x1b7bce,_0x1ebb2e[_0x36231a(0x17b)]-_0x1b7bce)),_0x1b7bce-=_0x1ebb2e[_0x36231a(0x17b)];}while(_0x1b7bce>0x0);return _0x2b6fc8;}[_0x44e51b(0x1ad)](_0x7c35e7){const _0x5ace78=_0x44e51b;this[_0x5ace78(0x209)]=!0x0;do switch(this[_0x5ace78(0x1a6)]){case _0xdc86fe:this[_0x5ace78(0x28d)](_0x7c35e7);break;case _0x2eb54e:this[_0x5ace78(0x284)](_0x7c35e7);break;case _0x12780a:this[_0x5ace78(0x282)](_0x7c35e7);break;case _0x5c0c9d:this[_0x5ace78(0x21b)]();break;case _0x25f323:this[_0x5ace78(0x271)](_0x7c35e7);break;case _0x58e0c9:case _0x3c5db2:this[_0x5ace78(0x209)]=!0x1;return;}while(this['_loop']);this[_0x5ace78(0x2fb)]||_0x7c35e7();}[_0x44e51b(0x28d)](_0x48abd8){const _0x48f4b2=_0x44e51b;if(this[_0x48f4b2(0x31b)]<0x2){this[_0x48f4b2(0x209)]=!0x1;return;}const _0x1b02b7=this['consume'](0x2);if((_0x1b02b7[0x0]&0x30)!==0x0){const _0x6facbc=this[_0x48f4b2(0x1e7)](RangeError,_0x48f4b2(0x292),!0x0,0x3ea,_0x48f4b2(0x2b1));_0x48abd8(_0x6facbc);return;}const _0x111f6f=(_0x1b02b7[0x0]&0x40)===0x40;if(_0x111f6f&&!this[_0x48f4b2(0x1a8)][_0x5bfe7c['extensionName']]){const _0x343b97=this[_0x48f4b2(0x1e7)](RangeError,_0x48f4b2(0x183),!0x0,0x3ea,_0x48f4b2(0x208));_0x48abd8(_0x343b97);return;}if(this['_fin']=(_0x1b02b7[0x0]&0x80)===0x80,this[_0x48f4b2(0x2b3)]=_0x1b02b7[0x0]&0xf,this['_payloadLength']=_0x1b02b7[0x1]&0x7f,this[_0x48f4b2(0x2b3)]===0x0){if(_0x111f6f){const _0x1a1fd1=this[_0x48f4b2(0x1e7)](RangeError,_0x48f4b2(0x183),!0x0,0x3ea,_0x48f4b2(0x208));_0x48abd8(_0x1a1fd1);return;}if(!this[_0x48f4b2(0x1c3)]){const _0x96282f=this['createError'](RangeError,_0x48f4b2(0x175),!0x0,0x3ea,_0x48f4b2(0x2be));_0x48abd8(_0x96282f);return;}this[_0x48f4b2(0x2b3)]=this[_0x48f4b2(0x1c3)];}else{if(this['_opcode']===0x1||this['_opcode']===0x2){if(this[_0x48f4b2(0x1c3)]){const _0x291d49=this[_0x48f4b2(0x1e7)](RangeError,_0x48f4b2(0x240)+this[_0x48f4b2(0x2b3)],!0x0,0x3ea,_0x48f4b2(0x2be));_0x48abd8(_0x291d49);return;}this[_0x48f4b2(0x2e5)]=_0x111f6f;}else{if(this[_0x48f4b2(0x2b3)]>0x7&&this['_opcode']<0xb){if(!this[_0x48f4b2(0x2c0)]){const _0x5420b2=this[_0x48f4b2(0x1e7)](RangeError,_0x48f4b2(0x179),!0x0,0x3ea,_0x48f4b2(0x234));_0x48abd8(_0x5420b2);return;}if(_0x111f6f){const _0x41bb58=this[_0x48f4b2(0x1e7)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x48f4b2(0x208));_0x48abd8(_0x41bb58);return;}if(this[_0x48f4b2(0x2fa)]>0x7d||this[_0x48f4b2(0x2b3)]===0x8&&this[_0x48f4b2(0x2fa)]===0x1){const _0x1bf1fe=this[_0x48f4b2(0x1e7)](RangeError,'invalid\x20payload\x20length\x20'+this[_0x48f4b2(0x2fa)],!0x0,0x3ea,_0x48f4b2(0x249));_0x48abd8(_0x1bf1fe);return;}}else{const _0x5f5132=this[_0x48f4b2(0x1e7)](RangeError,_0x48f4b2(0x240)+this['_opcode'],!0x0,0x3ea,_0x48f4b2(0x2be));_0x48abd8(_0x5f5132);return;}}}if(!this['_fin']&&!this['_fragmented']&&(this[_0x48f4b2(0x1c3)]=this[_0x48f4b2(0x2b3)]),this['_masked']=(_0x1b02b7[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x48f4b2(0x309)]){const _0x1c9761=this[_0x48f4b2(0x1e7)](RangeError,_0x48f4b2(0x21d),!0x0,0x3ea,_0x48f4b2(0x1f1));_0x48abd8(_0x1c9761);return;}}else{if(this[_0x48f4b2(0x309)]){const _0x10aa1c=this[_0x48f4b2(0x1e7)](RangeError,_0x48f4b2(0x1f3),!0x0,0x3ea,_0x48f4b2(0x279));_0x48abd8(_0x10aa1c);return;}}this['_payloadLength']===0x7e?this['_state']=_0x2eb54e:this['_payloadLength']===0x7f?this[_0x48f4b2(0x1a6)]=_0x12780a:this['haveLength'](_0x48abd8);}[_0x44e51b(0x284)](_0x41a51d){const _0x128e39=_0x44e51b;if(this[_0x128e39(0x31b)]<0x2){this[_0x128e39(0x209)]=!0x1;return;}this[_0x128e39(0x2fa)]=this['consume'](0x2)[_0x128e39(0x25d)](0x0),this[_0x128e39(0x2a7)](_0x41a51d);}[_0x44e51b(0x282)](_0x43a8ff){const _0xe96a62=_0x44e51b;if(this['_bufferedBytes']<0x8){this[_0xe96a62(0x209)]=!0x1;return;}const _0x108296=this[_0xe96a62(0x268)](0x8),_0x2e70de=_0x108296[_0xe96a62(0x29f)](0x0);if(_0x2e70de>Math[_0xe96a62(0x2db)](0x2,0x15)-0x1){const _0x3ddd59=this[_0xe96a62(0x1e7)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,_0xe96a62(0x29a));_0x43a8ff(_0x3ddd59);return;}this[_0xe96a62(0x2fa)]=_0x2e70de*Math[_0xe96a62(0x2db)](0x2,0x20)+_0x108296[_0xe96a62(0x29f)](0x4),this['haveLength'](_0x43a8ff);}['haveLength'](_0x4a0260){const _0xf46b9b=_0x44e51b;if(this[_0xf46b9b(0x2fa)]&&this[_0xf46b9b(0x2b3)]<0x8&&(this[_0xf46b9b(0x275)]+=this[_0xf46b9b(0x2fa)],this[_0xf46b9b(0x275)]>this['_maxPayload']&&this[_0xf46b9b(0x2c9)]>0x0)){const _0xf08e9d=this[_0xf46b9b(0x1e7)](RangeError,_0xf46b9b(0x2a2),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x4a0260(_0xf08e9d);return;}this[_0xf46b9b(0x309)]?this[_0xf46b9b(0x1a6)]=_0x5c0c9d:this[_0xf46b9b(0x1a6)]=_0x25f323;}[_0x44e51b(0x21b)](){const _0x29a300=_0x44e51b;if(this[_0x29a300(0x31b)]<0x4){this[_0x29a300(0x209)]=!0x1;return;}this[_0x29a300(0x2cf)]=this[_0x29a300(0x268)](0x4),this[_0x29a300(0x1a6)]=_0x25f323;}['getData'](_0x5dab95){const _0x216a2b=_0x44e51b;let _0x3a2c13=_0x4b1913;if(this[_0x216a2b(0x2fa)]){if(this['_bufferedBytes']<this[_0x216a2b(0x2fa)]){this[_0x216a2b(0x209)]=!0x1;return;}_0x3a2c13=this['consume'](this[_0x216a2b(0x2fa)]),this[_0x216a2b(0x309)]&&(this[_0x216a2b(0x2cf)][0x0]|this[_0x216a2b(0x2cf)][0x1]|this[_0x216a2b(0x2cf)][0x2]|this[_0x216a2b(0x2cf)][0x3])!==0x0&&_0x837258(_0x3a2c13,this['_mask']);}if(this[_0x216a2b(0x2b3)]>0x7){this[_0x216a2b(0x16a)](_0x3a2c13,_0x5dab95);return;}if(this['_compressed']){this['_state']=_0x58e0c9,this['decompress'](_0x3a2c13,_0x5dab95);return;}_0x3a2c13[_0x216a2b(0x17b)]&&(this[_0x216a2b(0x1d3)]=this[_0x216a2b(0x275)],this[_0x216a2b(0x18a)][_0x216a2b(0x29c)](_0x3a2c13)),this[_0x216a2b(0x16e)](_0x5dab95);}['decompress'](_0x405d09,_0x359890){const _0x3d7bfe=_0x44e51b;this[_0x3d7bfe(0x1a8)][_0x5bfe7c[_0x3d7bfe(0x242)]][_0x3d7bfe(0x1e8)](_0x405d09,this['_fin'],(_0x10f0a4,_0x4a17c3)=>{const _0x541203=_0x3d7bfe;if(_0x10f0a4)return _0x359890(_0x10f0a4);if(_0x4a17c3['length']){if(this[_0x541203(0x1d3)]+=_0x4a17c3[_0x541203(0x17b)],this[_0x541203(0x1d3)]>this[_0x541203(0x2c9)]&&this[_0x541203(0x2c9)]>0x0){const _0x44d7ae=this['createError'](RangeError,_0x541203(0x2a2),!0x1,0x3f1,_0x541203(0x216));_0x359890(_0x44d7ae);return;}this['_fragments'][_0x541203(0x29c)](_0x4a17c3);}this['dataMessage'](_0x359890),this[_0x541203(0x1a6)]===_0xdc86fe&&this[_0x541203(0x1ad)](_0x359890);});}[_0x44e51b(0x16e)](_0x564ed8){const _0x381325=_0x44e51b;if(!this[_0x381325(0x2c0)]){this[_0x381325(0x1a6)]=_0xdc86fe;return;}const _0x44ee93=this['_messageLength'],_0x1b3c01=this[_0x381325(0x18a)];if(this[_0x381325(0x275)]=0x0,this[_0x381325(0x1d3)]=0x0,this[_0x381325(0x1c3)]=0x0,this[_0x381325(0x18a)]=[],this[_0x381325(0x2b3)]===0x2){let _0x38219e;this[_0x381325(0x229)]===_0x381325(0x211)?_0x38219e=_0x3c9d9c(_0x1b3c01,_0x44ee93):this[_0x381325(0x229)]===_0x381325(0x281)?_0x38219e=_0x503557(_0x3c9d9c(_0x1b3c01,_0x44ee93)):this[_0x381325(0x229)]===_0x381325(0x26f)?_0x38219e=new Blob(_0x1b3c01):_0x38219e=_0x1b3c01,this['_allowSynchronousEvents']?(this[_0x381325(0x21c)]('message',_0x38219e,!0x0),this[_0x381325(0x1a6)]=_0xdc86fe):(this[_0x381325(0x1a6)]=_0x3c5db2,setImmediate(()=>{const _0x12f2db=_0x381325;this['emit'](_0x12f2db(0x24f),_0x38219e,!0x0),this[_0x12f2db(0x1a6)]=_0xdc86fe,this[_0x12f2db(0x1ad)](_0x564ed8);}));}else{const _0x1a4347=_0x3c9d9c(_0x1b3c01,_0x44ee93);if(!this[_0x381325(0x1eb)]&&!_0x1a1841(_0x1a4347)){const _0x196403=this[_0x381325(0x1e7)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x381325(0x30e));_0x564ed8(_0x196403);return;}this[_0x381325(0x1a6)]===_0x58e0c9||this[_0x381325(0x20e)]?(this[_0x381325(0x21c)](_0x381325(0x24f),_0x1a4347,!0x1),this[_0x381325(0x1a6)]=_0xdc86fe):(this[_0x381325(0x1a6)]=_0x3c5db2,setImmediate(()=>{const _0x42c6b4=_0x381325;this['emit'](_0x42c6b4(0x24f),_0x1a4347,!0x1),this['_state']=_0xdc86fe,this[_0x42c6b4(0x1ad)](_0x564ed8);}));}}[_0x44e51b(0x16a)](_0xbdc747,_0x3d7180){const _0x1474a6=_0x44e51b;if(this[_0x1474a6(0x2b3)]===0x8){if(_0xbdc747[_0x1474a6(0x17b)]===0x0)this['_loop']=!0x1,this['emit']('conclude',0x3ed,_0x4b1913),this['end']();else{const _0x4dca25=_0xbdc747[_0x1474a6(0x25d)](0x0);if(!_0x433e22(_0x4dca25)){const _0x153e58=this[_0x1474a6(0x1e7)](RangeError,_0x1474a6(0x203)+_0x4dca25,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x3d7180(_0x153e58);return;}const _0x161757=new _0x4bf8e4(_0xbdc747[_0x1474a6(0x296)],_0xbdc747[_0x1474a6(0x218)]+0x2,_0xbdc747[_0x1474a6(0x17b)]-0x2);if(!this['_skipUTF8Validation']&&!_0x1a1841(_0x161757)){const _0x58671c=this['createError'](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x1474a6(0x30e));_0x3d7180(_0x58671c);return;}this[_0x1474a6(0x209)]=!0x1,this['emit'](_0x1474a6(0x1fa),_0x4dca25,_0x161757),this[_0x1474a6(0x2ea)]();}this[_0x1474a6(0x1a6)]=_0xdc86fe;return;}this[_0x1474a6(0x20e)]?(this['emit'](this[_0x1474a6(0x2b3)]===0x9?_0x1474a6(0x17d):_0x1474a6(0x20d),_0xbdc747),this[_0x1474a6(0x1a6)]=_0xdc86fe):(this[_0x1474a6(0x1a6)]=_0x3c5db2,setImmediate(()=>{const _0x2ff4d8=_0x1474a6;this['emit'](this['_opcode']===0x9?_0x2ff4d8(0x17d):_0x2ff4d8(0x20d),_0xbdc747),this[_0x2ff4d8(0x1a6)]=_0xdc86fe,this[_0x2ff4d8(0x1ad)](_0x3d7180);}));}[_0x44e51b(0x1e7)](_0x483fc6,_0x180271,_0x3291b9,_0xbb43db,_0x3ae502){const _0x2a001f=_0x44e51b;this[_0x2a001f(0x209)]=!0x1,this[_0x2a001f(0x2fb)]=!0x0;const _0x269115=new _0x483fc6(_0x3291b9?_0x2a001f(0x270)+_0x180271:_0x180271);return Error[_0x2a001f(0x250)](_0x269115,this[_0x2a001f(0x1e7)]),_0x269115[_0x2a001f(0x1a3)]=_0x3ae502,_0x269115[_0x10f2be]=_0xbb43db,_0x269115;}}return Se=_0x3388c9,Se;}var Ee,Xe;function ft(){const _0x33d55a=_0x4a4417;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x212a88}=oe,{randomFillSync:_0x44bd0e}=Le,_0x545108=he(),{EMPTY_BUFFER:_0x3fea62,kWebSocket:_0x30940a,NOOP:_0x3c456a}=H(),{isBlob:_0x1bbec2,isValidStatusCode:_0x4f30db}=ae(),{mask:_0x332555,toBuffer:_0x4dd924}=ce(),_0x57214a=Symbol(_0x33d55a(0x27e)),_0xc28bbc=Buffer[_0x33d55a(0x1e9)](0x4),_0x27b68c=0x8*0x400;let _0x9f2178,_0x1ccd82=_0x27b68c;const _0x30488f=0x0,_0x30b55e=0x1,_0x242f7e=0x2;class _0x215b93{constructor(_0x320671,_0x7b189e,_0xd4c1c0){const _0x4580fc=_0x33d55a;this[_0x4580fc(0x1a8)]=_0x7b189e||{},_0xd4c1c0&&(this[_0x4580fc(0x262)]=_0xd4c1c0,this[_0x4580fc(0x2a6)]=Buffer[_0x4580fc(0x1e9)](0x4)),this['_socket']=_0x320671,this['_firstFragment']=!0x0,this[_0x4580fc(0x2ee)]=!0x1,this[_0x4580fc(0x31b)]=0x0,this[_0x4580fc(0x214)]=[],this[_0x4580fc(0x1a6)]=_0x30488f,this[_0x4580fc(0x221)]=_0x3c456a,this[_0x30940a]=void 0x0;}static[_0x33d55a(0x255)](_0x48b99c,_0x4d7d6f){const _0xd6047f=_0x33d55a;let _0x22d246,_0x1cd0dd=!0x1,_0x56cbd5=0x2,_0x3642d9=!0x1;_0x4d7d6f[_0xd6047f(0x201)]&&(_0x22d246=_0x4d7d6f[_0xd6047f(0x276)]||_0xc28bbc,_0x4d7d6f[_0xd6047f(0x2aa)]?_0x4d7d6f[_0xd6047f(0x2aa)](_0x22d246):(_0x1ccd82===_0x27b68c&&(_0x9f2178===void 0x0&&(_0x9f2178=Buffer['alloc'](_0x27b68c)),_0x44bd0e(_0x9f2178,0x0,_0x27b68c),_0x1ccd82=0x0),_0x22d246[0x0]=_0x9f2178[_0x1ccd82++],_0x22d246[0x1]=_0x9f2178[_0x1ccd82++],_0x22d246[0x2]=_0x9f2178[_0x1ccd82++],_0x22d246[0x3]=_0x9f2178[_0x1ccd82++]),_0x3642d9=(_0x22d246[0x0]|_0x22d246[0x1]|_0x22d246[0x2]|_0x22d246[0x3])===0x0,_0x56cbd5=0x6);let _0x3eeddd;typeof _0x48b99c==_0xd6047f(0x2da)?(!_0x4d7d6f['mask']||_0x3642d9)&&_0x4d7d6f[_0x57214a]!==void 0x0?_0x3eeddd=_0x4d7d6f[_0x57214a]:(_0x48b99c=Buffer[_0xd6047f(0x1b4)](_0x48b99c),_0x3eeddd=_0x48b99c[_0xd6047f(0x17b)]):(_0x3eeddd=_0x48b99c[_0xd6047f(0x17b)],_0x1cd0dd=_0x4d7d6f[_0xd6047f(0x201)]&&_0x4d7d6f['readOnly']&&!_0x3642d9);let _0x30359c=_0x3eeddd;_0x3eeddd>=0x10000?(_0x56cbd5+=0x8,_0x30359c=0x7f):_0x3eeddd>0x7d&&(_0x56cbd5+=0x2,_0x30359c=0x7e);const _0x48fb2b=Buffer[_0xd6047f(0x2ae)](_0x1cd0dd?_0x3eeddd+_0x56cbd5:_0x56cbd5);return _0x48fb2b[0x0]=_0x4d7d6f[_0xd6047f(0x17c)]?_0x4d7d6f[_0xd6047f(0x1f4)]|0x80:_0x4d7d6f[_0xd6047f(0x1f4)],_0x4d7d6f[_0xd6047f(0x2a5)]&&(_0x48fb2b[0x0]|=0x40),_0x48fb2b[0x1]=_0x30359c,_0x30359c===0x7e?_0x48fb2b[_0xd6047f(0x225)](_0x3eeddd,0x2):_0x30359c===0x7f&&(_0x48fb2b[0x2]=_0x48fb2b[0x3]=0x0,_0x48fb2b[_0xd6047f(0x213)](_0x3eeddd,0x4,0x6)),_0x4d7d6f[_0xd6047f(0x201)]?(_0x48fb2b[0x1]|=0x80,_0x48fb2b[_0x56cbd5-0x4]=_0x22d246[0x0],_0x48fb2b[_0x56cbd5-0x3]=_0x22d246[0x1],_0x48fb2b[_0x56cbd5-0x2]=_0x22d246[0x2],_0x48fb2b[_0x56cbd5-0x1]=_0x22d246[0x3],_0x3642d9?[_0x48fb2b,_0x48b99c]:_0x1cd0dd?(_0x332555(_0x48b99c,_0x22d246,_0x48fb2b,_0x56cbd5,_0x3eeddd),[_0x48fb2b]):(_0x332555(_0x48b99c,_0x22d246,_0x48b99c,0x0,_0x3eeddd),[_0x48fb2b,_0x48b99c])):[_0x48fb2b,_0x48b99c];}[_0x33d55a(0x1a1)](_0x444a3f,_0x5c8716,_0x41b685,_0x30e7b0){const _0x4fbb4d=_0x33d55a;let _0x30d5a4;if(_0x444a3f===void 0x0)_0x30d5a4=_0x3fea62;else{if(typeof _0x444a3f!='number'||!_0x4f30db(_0x444a3f))throw new TypeError(_0x4fbb4d(0x2e0));if(_0x5c8716===void 0x0||!_0x5c8716['length'])_0x30d5a4=Buffer[_0x4fbb4d(0x2ae)](0x2),_0x30d5a4['writeUInt16BE'](_0x444a3f,0x0);else{const _0x5a3b8c=Buffer['byteLength'](_0x5c8716);if(_0x5a3b8c>0x7b)throw new RangeError(_0x4fbb4d(0x2c7));_0x30d5a4=Buffer[_0x4fbb4d(0x2ae)](0x2+_0x5a3b8c),_0x30d5a4[_0x4fbb4d(0x225)](_0x444a3f,0x0),typeof _0x5c8716==_0x4fbb4d(0x2da)?_0x30d5a4[_0x4fbb4d(0x190)](_0x5c8716,0x2):_0x30d5a4[_0x4fbb4d(0x1b8)](_0x5c8716,0x2);}}const _0x54e2c7={[_0x57214a]:_0x30d5a4[_0x4fbb4d(0x17b)],'fin':!0x0,'generateMask':this[_0x4fbb4d(0x262)],'mask':_0x41b685,'maskBuffer':this[_0x4fbb4d(0x2a6)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x4fbb4d(0x1a6)]!==_0x30488f?this[_0x4fbb4d(0x2b2)]([this[_0x4fbb4d(0x261)],_0x30d5a4,!0x1,_0x54e2c7,_0x30e7b0]):this[_0x4fbb4d(0x258)](_0x215b93[_0x4fbb4d(0x255)](_0x30d5a4,_0x54e2c7),_0x30e7b0);}[_0x33d55a(0x17d)](_0x18e93f,_0x5713e1,_0x3e8599){const _0x390f02=_0x33d55a;let _0x1a4390,_0x2ec379;if(typeof _0x18e93f==_0x390f02(0x2da)?(_0x1a4390=Buffer[_0x390f02(0x2bb)](_0x18e93f),_0x2ec379=!0x1):_0x1bbec2(_0x18e93f)?(_0x1a4390=_0x18e93f['size'],_0x2ec379=!0x1):(_0x18e93f=_0x4dd924(_0x18e93f),_0x1a4390=_0x18e93f[_0x390f02(0x17b)],_0x2ec379=_0x4dd924[_0x390f02(0x2c2)]),_0x1a4390>0x7d)throw new RangeError(_0x390f02(0x21f));const _0x49878b={[_0x57214a]:_0x1a4390,'fin':!0x0,'generateMask':this[_0x390f02(0x262)],'mask':_0x5713e1,'maskBuffer':this[_0x390f02(0x2a6)],'opcode':0x9,'readOnly':_0x2ec379,'rsv1':!0x1};_0x1bbec2(_0x18e93f)?this[_0x390f02(0x1a6)]!==_0x30488f?this[_0x390f02(0x2b2)]([this['getBlobData'],_0x18e93f,!0x1,_0x49878b,_0x3e8599]):this[_0x390f02(0x288)](_0x18e93f,!0x1,_0x49878b,_0x3e8599):this[_0x390f02(0x1a6)]!==_0x30488f?this[_0x390f02(0x2b2)]([this['dispatch'],_0x18e93f,!0x1,_0x49878b,_0x3e8599]):this[_0x390f02(0x258)](_0x215b93[_0x390f02(0x255)](_0x18e93f,_0x49878b),_0x3e8599);}[_0x33d55a(0x20d)](_0x30396a,_0x42f524,_0x2a3073){const _0xa071c9=_0x33d55a;let _0x184206,_0x26eb5;if(typeof _0x30396a=='string'?(_0x184206=Buffer[_0xa071c9(0x2bb)](_0x30396a),_0x26eb5=!0x1):_0x1bbec2(_0x30396a)?(_0x184206=_0x30396a[_0xa071c9(0x1b7)],_0x26eb5=!0x1):(_0x30396a=_0x4dd924(_0x30396a),_0x184206=_0x30396a[_0xa071c9(0x17b)],_0x26eb5=_0x4dd924[_0xa071c9(0x2c2)]),_0x184206>0x7d)throw new RangeError(_0xa071c9(0x21f));const _0x1cfcc5={[_0x57214a]:_0x184206,'fin':!0x0,'generateMask':this[_0xa071c9(0x262)],'mask':_0x42f524,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x26eb5,'rsv1':!0x1};_0x1bbec2(_0x30396a)?this[_0xa071c9(0x1a6)]!==_0x30488f?this[_0xa071c9(0x2b2)]([this['getBlobData'],_0x30396a,!0x1,_0x1cfcc5,_0x2a3073]):this[_0xa071c9(0x288)](_0x30396a,!0x1,_0x1cfcc5,_0x2a3073):this[_0xa071c9(0x1a6)]!==_0x30488f?this[_0xa071c9(0x2b2)]([this['dispatch'],_0x30396a,!0x1,_0x1cfcc5,_0x2a3073]):this[_0xa071c9(0x258)](_0x215b93[_0xa071c9(0x255)](_0x30396a,_0x1cfcc5),_0x2a3073);}[_0x33d55a(0x307)](_0x34d10d,_0x1a48a4,_0xe1c29b){const _0x344a10=_0x33d55a,_0x332b86=this['_extensions'][_0x545108[_0x344a10(0x242)]];let _0x53292c=_0x1a48a4['binary']?0x2:0x1,_0x48a8c6=_0x1a48a4['compress'],_0x2e3948,_0xcf4420;typeof _0x34d10d==_0x344a10(0x2da)?(_0x2e3948=Buffer[_0x344a10(0x2bb)](_0x34d10d),_0xcf4420=!0x1):_0x1bbec2(_0x34d10d)?(_0x2e3948=_0x34d10d[_0x344a10(0x1b7)],_0xcf4420=!0x1):(_0x34d10d=_0x4dd924(_0x34d10d),_0x2e3948=_0x34d10d['length'],_0xcf4420=_0x4dd924['readOnly']),this['_firstFragment']?(this[_0x344a10(0x1f9)]=!0x1,_0x48a8c6&&_0x332b86&&_0x332b86[_0x344a10(0x1fb)][_0x332b86[_0x344a10(0x27d)]?_0x344a10(0x1d2):_0x344a10(0x21a)]&&(_0x48a8c6=_0x2e3948>=_0x332b86[_0x344a10(0x2a4)]),this[_0x344a10(0x2ee)]=_0x48a8c6):(_0x48a8c6=!0x1,_0x53292c=0x0),_0x1a48a4[_0x344a10(0x17c)]&&(this[_0x344a10(0x1f9)]=!0x0);const _0x39d7e1={[_0x57214a]:_0x2e3948,'fin':_0x1a48a4[_0x344a10(0x17c)],'generateMask':this[_0x344a10(0x262)],'mask':_0x1a48a4['mask'],'maskBuffer':this[_0x344a10(0x2a6)],'opcode':_0x53292c,'readOnly':_0xcf4420,'rsv1':_0x48a8c6};_0x1bbec2(_0x34d10d)?this[_0x344a10(0x1a6)]!==_0x30488f?this[_0x344a10(0x2b2)]([this[_0x344a10(0x288)],_0x34d10d,this[_0x344a10(0x2ee)],_0x39d7e1,_0xe1c29b]):this['getBlobData'](_0x34d10d,this['_compress'],_0x39d7e1,_0xe1c29b):this[_0x344a10(0x1a6)]!==_0x30488f?this[_0x344a10(0x2b2)]([this[_0x344a10(0x261)],_0x34d10d,this[_0x344a10(0x2ee)],_0x39d7e1,_0xe1c29b]):this[_0x344a10(0x261)](_0x34d10d,this[_0x344a10(0x2ee)],_0x39d7e1,_0xe1c29b);}[_0x33d55a(0x288)](_0x207149,_0x1fd51c,_0x3f9230,_0x10d9ed){const _0x4a1f1a=_0x33d55a;this['_bufferedBytes']+=_0x3f9230[_0x57214a],this[_0x4a1f1a(0x1a6)]=_0x242f7e,_0x207149[_0x4a1f1a(0x205)]()[_0x4a1f1a(0x238)](_0xca53=>{const _0x5c05fe=_0x4a1f1a;if(this[_0x5c05fe(0x22d)][_0x5c05fe(0x283)]){const _0x529e6b=new Error(_0x5c05fe(0x295));process[_0x5c05fe(0x294)](_0x4832f9,this,_0x529e6b,_0x10d9ed);return;}this['_bufferedBytes']-=_0x3f9230[_0x57214a];const _0x56b50e=_0x4dd924(_0xca53);_0x1fd51c?this['dispatch'](_0x56b50e,_0x1fd51c,_0x3f9230,_0x10d9ed):(this['_state']=_0x30488f,this['sendFrame'](_0x215b93[_0x5c05fe(0x255)](_0x56b50e,_0x3f9230),_0x10d9ed),this[_0x5c05fe(0x1f2)]());})['catch'](_0x432fb7=>{process['nextTick'](_0x795c88,this,_0x432fb7,_0x10d9ed);});}['dispatch'](_0x23b464,_0x36ea2f,_0x1c502a,_0x1c05a6){const _0x4d4120=_0x33d55a;if(!_0x36ea2f){this[_0x4d4120(0x258)](_0x215b93['frame'](_0x23b464,_0x1c502a),_0x1c05a6);return;}const _0x202bcf=this[_0x4d4120(0x1a8)][_0x545108[_0x4d4120(0x242)]];this[_0x4d4120(0x31b)]+=_0x1c502a[_0x57214a],this[_0x4d4120(0x1a6)]=_0x30b55e,_0x202bcf[_0x4d4120(0x26b)](_0x23b464,_0x1c502a[_0x4d4120(0x17c)],(_0x2dfe0a,_0x265ced)=>{const _0x2c007e=_0x4d4120;if(this[_0x2c007e(0x22d)][_0x2c007e(0x283)]){const _0x32d2f1=new Error('The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed');_0x4832f9(this,_0x32d2f1,_0x1c05a6);return;}this[_0x2c007e(0x31b)]-=_0x1c502a[_0x57214a],this[_0x2c007e(0x1a6)]=_0x30488f,_0x1c502a[_0x2c007e(0x2c2)]=!0x1,this[_0x2c007e(0x258)](_0x215b93[_0x2c007e(0x255)](_0x265ced,_0x1c502a),_0x1c05a6),this['dequeue']();});}[_0x33d55a(0x1f2)](){const _0x31f5d8=_0x33d55a;for(;this[_0x31f5d8(0x1a6)]===_0x30488f&&this[_0x31f5d8(0x214)]['length'];){const _0x3c80f7=this[_0x31f5d8(0x214)][_0x31f5d8(0x18c)]();this[_0x31f5d8(0x31b)]-=_0x3c80f7[0x3][_0x57214a],Reflect[_0x31f5d8(0x177)](_0x3c80f7[0x0],this,_0x3c80f7[_0x31f5d8(0x25e)](0x1));}}[_0x33d55a(0x2b2)](_0x2c5a65){const _0x8841b5=_0x33d55a;this['_bufferedBytes']+=_0x2c5a65[0x3][_0x57214a],this[_0x8841b5(0x214)]['push'](_0x2c5a65);}['sendFrame'](_0x126e98,_0xfb6a3){const _0x32e086=_0x33d55a;_0x126e98[_0x32e086(0x17b)]===0x2?(this[_0x32e086(0x22d)][_0x32e086(0x2bc)](),this[_0x32e086(0x22d)][_0x32e086(0x190)](_0x126e98[0x0]),this['_socket'][_0x32e086(0x190)](_0x126e98[0x1],_0xfb6a3),this[_0x32e086(0x22d)]['uncork']()):this['_socket'][_0x32e086(0x190)](_0x126e98[0x0],_0xfb6a3);}}Ee=_0x215b93;function _0x4832f9(_0x290372,_0x3caf56,_0x1e3c0b){const _0x40334b=_0x33d55a;typeof _0x1e3c0b==_0x40334b(0x2d9)&&_0x1e3c0b(_0x3caf56);for(let _0x15c9e4=0x0;_0x15c9e4<_0x290372['_queue'][_0x40334b(0x17b)];_0x15c9e4++){const _0x2d2ab6=_0x290372[_0x40334b(0x214)][_0x15c9e4],_0x30e245=_0x2d2ab6[_0x2d2ab6['length']-0x1];typeof _0x30e245==_0x40334b(0x2d9)&&_0x30e245(_0x3caf56);}}function _0x795c88(_0xda7c86,_0x47daa3,_0x5eafd9){const _0xa3c57=_0x33d55a;_0x4832f9(_0xda7c86,_0x47daa3,_0x5eafd9),_0xda7c86[_0xa3c57(0x221)](_0x47daa3);}return Ee;}function _0x3dea(){const _0x53a738=['blob','Invalid\x20WebSocket\x20frame:\x20','getData','Injector','maxPayload','zlibDeflateOptions','_totalPayloadLength','maskBuffer','concat','acceptAsClient','WS_ERR_UNEXPECTED_MASK','emitClose','8FopcBy','create','_isServer','kByteLength','Z_SYNC_FLUSH','Origin','arraybuffer','getPayloadLength64','destroyed','getPayloadLength16','toStringTag','toString','_closeFrameSent','getBlobData','read','shouldHandle','_req','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','getInfo','timeout','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','onmessage','bind','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','binaryType','nextTick','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','buffer','species','indexOf','clientTracking','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','unshift','push','Unknown\x20parameter\x20\x22','charCodeAt','readUInt32BE','pipe','error','Max\x20payload\x20size\x20exceeded','wasClean','_threshold','rsv1','_maskBuffer','haveLength','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','unexpected-response','generateMask','text/html','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','reset','allocUnsafe','location','Invalid\x20Upgrade\x20header','WS_ERR_UNEXPECTED_RSV_2_3','enqueue','_opcode','_originalSecure','reason','kCode','number','\x20(supported\x20versions:\x20','concurrency','method','byteLength','cork','parse','WS_ERR_INVALID_OPCODE','getConfig','_fin','serverNoContextTakeover','readOnly','warn','_url','client_max_window_bits','object','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','errorEmitted','_maxPayload','13,\x208','Maximum\x20redirects\x20exceeded','kData','HTTPService','host','_mask','authorized','add','delete','The\x20URL\x27s\x20pathname\x20is\x20empty','bufferedAmount','handleEvent','kError','prototype','isValidUTF8','function','string','pow','\x22:\x20','_closeMessage','_receiver','_bufferedAmount','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','isView','digest','exports','sha1','_compressed','https:','defineProperty','clients','_httpService','end','open','callback','100816TGelwH','_compress','Sec-WebSocket-Accept:\x20','_read','_doCreateSocket','url','setSocket','37578410gFSRaE','Unsupported\x20protocol\x20version:\x20','request','_inflate','startsWith','The\x20URL\x20contains\x20a\x20fragment\x20identifier','_payloadLength','_errored','_paused','Invalid\x20Sec-WebSocket-Extensions\x20header','3239169vtxXpQ','verifyClient','protocol','acceptAsServer','next','clientNoContextTakeover','zlibInflateOptions','_redirects','_sender','send','once','_masked','origin','removeEventListener','toDisposable','sec-websocket-key','WS_ERR_INVALID_UTF8','total-length','removeAllListeners','upgrade','_no_context_takeover','listeners','value','fragments','listen','resume','_final','_autoPong','pathname','_bufferedBytes','search','addEventListener','followRedirects','ISocketService','includes','noServer','connection','Z_DEFAULT_WINDOWBITS','Module','cookie','skipUTF8Validation','setConfig','_errorEmitted','sec-websocket-protocol','options','constructor','hasOwnProperty','controlMessage','_originalHostOrSocketPath','pause','kTarget','dataMessage','format','map','_closeCode','WS_NO_BUFFER_UTIL','HTTP/1.1\x20','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','invalid\x20opcode\x200','kDone','apply','CLOSED','FIN\x20must\x20be\x20set','onopen','length','fin','ping','_destroy','UniverCollaborationClientNodePlugin','destroy','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','Plugin','RSV1\x20must\x20be\x20clear','sec-websocket-origin','get','test','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','maxRedirects','server_max_window_bits','_fragments','clientMaxWindowBits','shift','auth','username','port','write','_injector','abort','wss:','Blob','customHeaders','Invalid\x20HTTP\x20method','share','COLLABORATION_CLIENT_NODE_CONFIG_KEY','_server','Parameter\x20\x22','_max_window_bits','Cookie','9DDiihg','Opening\x20handshake\x20has\x20timed\x20out','listenerCount','registerHTTPInterceptor','close','forEach','code','__esModule','pluginName','_state','wsClientError','_extensions','needDrain','handleUpgrade','finishRequest','Invalid\x20value\x20for\x20parameter\x20\x22','startLoop','authorization','threshold','dispose','headers','kType','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','from','sec-websocket-extensions','WebSocket','size','set','isInteger','socket','replace','connect','readable','createConnection','servername','_options','setTimeout','offer','_fragmented','listening','ws:','isPaused','allowSynchronousEvents','isBuffer','target','_buffers','7577892ZcvxZu','_closeFrameReceived','client','Server\x20sent\x20an\x20invalid\x20subprotocol','GET','_registerDependencies','Observable','server_no_context_takeover','_messageLength','_removeListeners','completeUpgrade','4631590DZuPgQ','Unexpected\x20character\x20at\x20index\x20','response','readyState','createSocket','endEmitted','CLOSING','_writableState','jobs','normalizeParams','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','Upgrade','kIsForOnEventAttribute','IConfigService','UniverCollaborationClientPlugin','_readyState','construct','createError','decompress','alloc','getOwnPropertyDescriptor','_skipUTF8Validation','default','cleanup','toLowerCase','hostname','Sec-WebSocket-Origin','WS_ERR_EXPECTED_MASK','dequeue','MASK\x20must\x20be\x20clear','opcode','setNoDelay','kReason','permessage-deflate','_originalIpc','_firstFragment','conclude','params','Unexpected\x20server\x20response:\x20','31ktCBAO','concurrencyLimit','kMessage','has','mask','defaultPort','invalid\x20status\x20code\x20','_write','arrayBuffer','objectMode','CollaborationSocketService','WS_ERR_UNEXPECTED_RSV_1','_loop','call','address','href','pong','_allowSynchronousEvents','flush','path','nodebuffer','createDeflateRaw','writeUIntBE','_queue','Basic\x20','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','isIP','byteOffset','join','client_no_context_takeover','getMask','emit','MASK\x20must\x20be\x20set','Connection:\x20Upgrade','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','protocolVersion','onerror','serverMaxWindowBits','NodeCollaborationSocketService','OPEN','writeUInt16BE','password','env','kWasClean','_binaryType','extensions','finished','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','_socket','_protocol','update','Inject','pending','data','socketPath','WS_ERR_EXPECTED_FIN','websocket','values','DependentOn','then','8856642osJFUl','stream','Invalid\x20URL:\x20','accept','isArray','hash','perMessageDeflate','invalid\x20opcode\x20','Server\x20sent\x20no\x20subprotocol','extensionName','server','_closeTimer','_shouldEmitClose','registerDependencies','Unexpected\x20end\x20of\x20input','base64','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','handleProtocols','_decompress','sec-websocket-accept','collaboration-client-node.config','_readableState','message','captureStackTrace','DisposableCollection','keys','_deflate','terminate','frame','unmask','finish','sendFrame','Sec-WebSocket-Protocol:\x20','ISnapshotServerService','split','onStarting','readUInt16BE','slice','isServer','CONNECTING','dispatch','_generateMask','660536SUkcIY','removeListener','createInflateRaw','ILogService','Sec-WebSocket-Extensions:\x20','consume','\x22\x20subprotocol\x20is\x20duplicated','sec-websocket-version','compress','_configService','status-code','Sec-WebSocket-Protocol'];_0x3dea=function(){return _0x53a738;};return _0x3dea();}var xe,Ze;function It(){const _0x40fe19=_0x4a4417;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x3217fd,kListener:_0xe7e5e7}=H(),_0x5b687e=Symbol(_0x40fe19(0x2b6)),_0x4a55a4=Symbol(_0x40fe19(0x2cc)),_0x12cdb3=Symbol(_0x40fe19(0x2d6)),_0x435b65=Symbol(_0x40fe19(0x1ff)),_0x378800=Symbol(_0x40fe19(0x1f6)),_0x463b55=Symbol(_0x40fe19(0x16d)),_0x1fe536=Symbol(_0x40fe19(0x1b2)),_0x235f43=Symbol(_0x40fe19(0x228));class _0xda4802{constructor(_0x5528f8){this[_0x463b55]=null,this[_0x1fe536]=_0x5528f8;}get[_0x40fe19(0x1c9)](){return this[_0x463b55];}get['type'](){return this[_0x1fe536];}}Object[_0x40fe19(0x2e7)](_0xda4802['prototype'],_0x40fe19(0x1c9),{'enumerable':!0x0}),Object[_0x40fe19(0x2e7)](_0xda4802[_0x40fe19(0x2d7)],'type',{'enumerable':!0x0});class _0x264e62 extends _0xda4802{constructor(_0x30a245,_0x588c04={}){const _0x4033f0=_0x40fe19;super(_0x30a245),this[_0x5b687e]=_0x588c04['code']===void 0x0?0x0:_0x588c04[_0x4033f0(0x1a3)],this[_0x378800]=_0x588c04[_0x4033f0(0x2b5)]===void 0x0?'':_0x588c04[_0x4033f0(0x2b5)],this[_0x235f43]=_0x588c04[_0x4033f0(0x2a3)]===void 0x0?!0x1:_0x588c04['wasClean'];}get['code'](){return this[_0x5b687e];}get[_0x40fe19(0x2b5)](){return this[_0x378800];}get[_0x40fe19(0x2a3)](){return this[_0x235f43];}}Object[_0x40fe19(0x2e7)](_0x264e62[_0x40fe19(0x2d7)],'code',{'enumerable':!0x0}),Object[_0x40fe19(0x2e7)](_0x264e62['prototype'],_0x40fe19(0x2b5),{'enumerable':!0x0}),Object[_0x40fe19(0x2e7)](_0x264e62[_0x40fe19(0x2d7)],_0x40fe19(0x2a3),{'enumerable':!0x0});class _0x1ba00e extends _0xda4802{constructor(_0x3a8b3f,_0x589c0c={}){const _0x664e3e=_0x40fe19;super(_0x3a8b3f),this[_0x12cdb3]=_0x589c0c[_0x664e3e(0x2a1)]===void 0x0?null:_0x589c0c['error'],this[_0x435b65]=_0x589c0c['message']===void 0x0?'':_0x589c0c[_0x664e3e(0x24f)];}get[_0x40fe19(0x2a1)](){return this[_0x12cdb3];}get[_0x40fe19(0x24f)](){return this[_0x435b65];}}Object[_0x40fe19(0x2e7)](_0x1ba00e[_0x40fe19(0x2d7)],_0x40fe19(0x2a1),{'enumerable':!0x0}),Object[_0x40fe19(0x2e7)](_0x1ba00e[_0x40fe19(0x2d7)],_0x40fe19(0x24f),{'enumerable':!0x0});class _0x152a65 extends _0xda4802{constructor(_0x23c169,_0x3c5df9={}){const _0x426e58=_0x40fe19;super(_0x23c169),this[_0x4a55a4]=_0x3c5df9[_0x426e58(0x232)]===void 0x0?null:_0x3c5df9[_0x426e58(0x232)];}get[_0x40fe19(0x232)](){return this[_0x4a55a4];}}Object[_0x40fe19(0x2e7)](_0x152a65[_0x40fe19(0x2d7)],_0x40fe19(0x232),{'enumerable':!0x0}),xe={'CloseEvent':_0x264e62,'ErrorEvent':_0x1ba00e,'Event':_0xda4802,'EventTarget':{'addEventListener'(_0x4c7a9d,_0x440309,_0x2fba19={}){const _0xc35225=_0x40fe19;for(const _0x1e8750 of this[_0xc35225(0x313)](_0x4c7a9d))if(!_0x2fba19[_0x3217fd]&&_0x1e8750[_0xe7e5e7]===_0x440309&&!_0x1e8750[_0x3217fd])return;let _0x27cf87;if(_0x4c7a9d===_0xc35225(0x24f))_0x27cf87=function(_0x1b3e75,_0x3c068d){const _0x2ae035=_0xc35225,_0x183c88=new _0x152a65('message',{'data':_0x3c068d?_0x1b3e75:_0x1b3e75[_0x2ae035(0x286)]()});_0x183c88[_0x463b55]=this,_0x3eb338(_0x440309,this,_0x183c88);};else{if(_0x4c7a9d===_0xc35225(0x1a1))_0x27cf87=function(_0x14cad2,_0x9d197d){const _0x48c788=_0xc35225,_0x50fd64=new _0x264e62('close',{'code':_0x14cad2,'reason':_0x9d197d[_0x48c788(0x286)](),'wasClean':this[_0x48c788(0x1cc)]&&this['_closeFrameSent']});_0x50fd64[_0x463b55]=this,_0x3eb338(_0x440309,this,_0x50fd64);};else{if(_0x4c7a9d===_0xc35225(0x2a1))_0x27cf87=function(_0x20e654){const _0x4150b9=_0xc35225,_0x238a14=new _0x1ba00e(_0x4150b9(0x2a1),{'error':_0x20e654,'message':_0x20e654['message']});_0x238a14[_0x463b55]=this,_0x3eb338(_0x440309,this,_0x238a14);};else{if(_0x4c7a9d==='open')_0x27cf87=function(){const _0x3f1e07=_0xc35225,_0x24e305=new _0xda4802(_0x3f1e07(0x2eb));_0x24e305[_0x463b55]=this,_0x3eb338(_0x440309,this,_0x24e305);};else return;}}}_0x27cf87[_0x3217fd]=!!_0x2fba19[_0x3217fd],_0x27cf87[_0xe7e5e7]=_0x440309,_0x2fba19['once']?this[_0xc35225(0x308)](_0x4c7a9d,_0x27cf87):this['on'](_0x4c7a9d,_0x27cf87);},'removeEventListener'(_0x3d8554,_0x4aca6e){const _0xa31dd4=_0x40fe19;for(const _0x338504 of this['listeners'](_0x3d8554))if(_0x338504[_0xe7e5e7]===_0x4aca6e&&!_0x338504[_0x3217fd]){this[_0xa31dd4(0x264)](_0x3d8554,_0x338504);break;}}},'MessageEvent':_0x152a65};function _0x3eb338(_0x30a4d4,_0x44f0d2,_0x864aaa){const _0x48b873=_0x40fe19;typeof _0x30a4d4==_0x48b873(0x2c6)&&_0x30a4d4[_0x48b873(0x2d5)]?_0x30a4d4[_0x48b873(0x2d5)][_0x48b873(0x20a)](_0x30a4d4,_0x864aaa):_0x30a4d4[_0x48b873(0x20a)](_0x44f0d2,_0x864aaa);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0xb2ed13}=ae();function _0x105686(_0x21ddb3,_0x12e6f7,_0x197246){const _0x2b6184=_0x42f1;_0x21ddb3[_0x12e6f7]===void 0x0?_0x21ddb3[_0x12e6f7]=[_0x197246]:_0x21ddb3[_0x12e6f7][_0x2b6184(0x29c)](_0x197246);}function _0x1fcc5d(_0x151d04){const _0x5a5c14=_0x42f1,_0x264a23=Object[_0x5a5c14(0x27c)](null);let _0x1767bf=Object[_0x5a5c14(0x27c)](null),_0x27871f=!0x1,_0x52150d=!0x1,_0x6cf1f8=!0x1,_0x5917d9,_0x3b297f,_0x16e32f=-0x1,_0x1b3809=-0x1,_0x67e5b3=-0x1,_0x36b701=0x0;for(;_0x36b701<_0x151d04[_0x5a5c14(0x17b)];_0x36b701++)if(_0x1b3809=_0x151d04[_0x5a5c14(0x29e)](_0x36b701),_0x5917d9===void 0x0){if(_0x67e5b3===-0x1&&_0xb2ed13[_0x1b3809]===0x1)_0x16e32f===-0x1&&(_0x16e32f=_0x36b701);else{if(_0x36b701!==0x0&&(_0x1b3809===0x20||_0x1b3809===0x9))_0x67e5b3===-0x1&&_0x16e32f!==-0x1&&(_0x67e5b3=_0x36b701);else{if(_0x1b3809===0x3b||_0x1b3809===0x2c){if(_0x16e32f===-0x1)throw new SyntaxError(_0x5a5c14(0x1d7)+_0x36b701);_0x67e5b3===-0x1&&(_0x67e5b3=_0x36b701);const _0x21d8c0=_0x151d04['slice'](_0x16e32f,_0x67e5b3);_0x1b3809===0x2c?(_0x105686(_0x264a23,_0x21d8c0,_0x1767bf),_0x1767bf=Object[_0x5a5c14(0x27c)](null)):_0x5917d9=_0x21d8c0,_0x16e32f=_0x67e5b3=-0x1;}else throw new SyntaxError(_0x5a5c14(0x1d7)+_0x36b701);}}}else{if(_0x3b297f===void 0x0){if(_0x67e5b3===-0x1&&_0xb2ed13[_0x1b3809]===0x1)_0x16e32f===-0x1&&(_0x16e32f=_0x36b701);else{if(_0x1b3809===0x20||_0x1b3809===0x9)_0x67e5b3===-0x1&&_0x16e32f!==-0x1&&(_0x67e5b3=_0x36b701);else{if(_0x1b3809===0x3b||_0x1b3809===0x2c){if(_0x16e32f===-0x1)throw new SyntaxError(_0x5a5c14(0x1d7)+_0x36b701);_0x67e5b3===-0x1&&(_0x67e5b3=_0x36b701),_0x105686(_0x1767bf,_0x151d04['slice'](_0x16e32f,_0x67e5b3),!0x0),_0x1b3809===0x2c&&(_0x105686(_0x264a23,_0x5917d9,_0x1767bf),_0x1767bf=Object[_0x5a5c14(0x27c)](null),_0x5917d9=void 0x0),_0x16e32f=_0x67e5b3=-0x1;}else{if(_0x1b3809===0x3d&&_0x16e32f!==-0x1&&_0x67e5b3===-0x1)_0x3b297f=_0x151d04['slice'](_0x16e32f,_0x36b701),_0x16e32f=_0x67e5b3=-0x1;else throw new SyntaxError(_0x5a5c14(0x1d7)+_0x36b701);}}}}else{if(_0x52150d){if(_0xb2ed13[_0x1b3809]!==0x1)throw new SyntaxError(_0x5a5c14(0x1d7)+_0x36b701);_0x16e32f===-0x1?_0x16e32f=_0x36b701:_0x27871f||(_0x27871f=!0x0),_0x52150d=!0x1;}else{if(_0x6cf1f8){if(_0xb2ed13[_0x1b3809]===0x1)_0x16e32f===-0x1&&(_0x16e32f=_0x36b701);else{if(_0x1b3809===0x22&&_0x16e32f!==-0x1)_0x6cf1f8=!0x1,_0x67e5b3=_0x36b701;else{if(_0x1b3809===0x5c)_0x52150d=!0x0;else throw new SyntaxError(_0x5a5c14(0x1d7)+_0x36b701);}}}else{if(_0x1b3809===0x22&&_0x151d04['charCodeAt'](_0x36b701-0x1)===0x3d)_0x6cf1f8=!0x0;else{if(_0x67e5b3===-0x1&&_0xb2ed13[_0x1b3809]===0x1)_0x16e32f===-0x1&&(_0x16e32f=_0x36b701);else{if(_0x16e32f!==-0x1&&(_0x1b3809===0x20||_0x1b3809===0x9))_0x67e5b3===-0x1&&(_0x67e5b3=_0x36b701);else{if(_0x1b3809===0x3b||_0x1b3809===0x2c){if(_0x16e32f===-0x1)throw new SyntaxError(_0x5a5c14(0x1d7)+_0x36b701);_0x67e5b3===-0x1&&(_0x67e5b3=_0x36b701);let _0x218a36=_0x151d04[_0x5a5c14(0x25e)](_0x16e32f,_0x67e5b3);_0x27871f&&(_0x218a36=_0x218a36[_0x5a5c14(0x1bb)](/\\/g,''),_0x27871f=!0x1),_0x105686(_0x1767bf,_0x3b297f,_0x218a36),_0x1b3809===0x2c&&(_0x105686(_0x264a23,_0x5917d9,_0x1767bf),_0x1767bf=Object['create'](null),_0x5917d9=void 0x0),_0x3b297f=void 0x0,_0x16e32f=_0x67e5b3=-0x1;}else throw new SyntaxError(_0x5a5c14(0x1d7)+_0x36b701);}}}}}}}if(_0x16e32f===-0x1||_0x6cf1f8||_0x1b3809===0x20||_0x1b3809===0x9)throw new SyntaxError(_0x5a5c14(0x247));_0x67e5b3===-0x1&&(_0x67e5b3=_0x36b701);const _0x1ff911=_0x151d04['slice'](_0x16e32f,_0x67e5b3);return _0x5917d9===void 0x0?_0x105686(_0x264a23,_0x1ff911,_0x1767bf):(_0x3b297f===void 0x0?_0x105686(_0x1767bf,_0x1ff911,!0x0):_0x27871f?_0x105686(_0x1767bf,_0x3b297f,_0x1ff911[_0x5a5c14(0x1bb)](/\\/g,'')):_0x105686(_0x1767bf,_0x3b297f,_0x1ff911),_0x105686(_0x264a23,_0x5917d9,_0x1767bf)),_0x264a23;}function _0x383f95(_0x24a53f){const _0x457655=_0x42f1;return Object[_0x457655(0x252)](_0x24a53f)[_0x457655(0x170)](_0xf5d94e=>{const _0x1f28af=_0x457655;let _0xa19189=_0x24a53f[_0xf5d94e];return Array[_0x1f28af(0x23d)](_0xa19189)||(_0xa19189=[_0xa19189]),_0xa19189[_0x1f28af(0x170)](_0xea70b=>[_0xf5d94e][_0x1f28af(0x277)](Object['keys'](_0xea70b)[_0x1f28af(0x170)](_0x349d6f=>{const _0x3ef229=_0x1f28af;let _0x538054=_0xea70b[_0x349d6f];return Array['isArray'](_0x538054)||(_0x538054=[_0x538054]),_0x538054[_0x3ef229(0x170)](_0x4c6a32=>_0x4c6a32===!0x0?_0x349d6f:_0x349d6f+'='+_0x4c6a32)[_0x3ef229(0x219)](';\x20');}))[_0x1f28af(0x219)](';\x20'))['join'](',\x20');})[_0x457655(0x219)](',\x20');}return be={'format':_0x383f95,'parse':_0x1fcc5d},be;}var we,Je;function Pe(){const _0x719f7f=_0x4a4417;if(Je)return we;Je=0x1;const _0x5d8ca0=nt,_0x396485=vt,_0x811451=ot,_0x56e00b=St,_0x190bca=Et,{randomBytes:_0x3548f7,createHash:_0x3bf2df}=Le,{Duplex:_0x3a953f,Readable:_0x223c04}=oe,{URL:_0x36fae7}=xt,_0x1537ab=he(),_0x27e61a=lt(),_0x2f7fc9=ft(),{isBlob:_0x3847cc}=ae(),{BINARY_TYPES:_0x263cb2,EMPTY_BUFFER:_0x1c1011,GUID:_0xd8f8da,kForOnEventAttribute:_0x598ffa,kListener:_0x103da5,kStatusCode:_0x4b1133,kWebSocket:_0x17a33e,NOOP:_0x495d59}=H(),{EventTarget:{addEventListener:_0x452e98,removeEventListener:_0x139a4c}}=It(),{format:_0x223275,parse:_0x48d412}=ct(),{toBuffer:_0x47079a}=ce(),_0x3e2c55=0x1e*0x3e8,_0x2c54a1=Symbol('kAborted'),_0x3a02fa=[0x8,0xd],_0xb7f94=[_0x719f7f(0x260),'OPEN',_0x719f7f(0x1dc),_0x719f7f(0x178)],_0x121eb5=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x3b875e extends _0x5d8ca0{constructor(_0x316597,_0x451c77,_0x4d6198){const _0x2bbbb7=_0x719f7f;super(),this['_binaryType']=_0x263cb2[0x0],this[_0x2bbbb7(0x171)]=0x3ee,this[_0x2bbbb7(0x1cc)]=!0x1,this[_0x2bbbb7(0x287)]=!0x1,this[_0x2bbbb7(0x2dd)]=_0x1c1011,this[_0x2bbbb7(0x244)]=null,this[_0x2bbbb7(0x165)]=!0x1,this[_0x2bbbb7(0x1a8)]={},this[_0x2bbbb7(0x2fc)]=!0x1,this[_0x2bbbb7(0x22e)]='',this[_0x2bbbb7(0x1e5)]=_0x3b875e[_0x2bbbb7(0x260)],this[_0x2bbbb7(0x2de)]=null,this[_0x2bbbb7(0x306)]=null,this[_0x2bbbb7(0x22d)]=null,_0x316597!==null?(this['_bufferedAmount']=0x0,this[_0x2bbbb7(0x27d)]=!0x1,this[_0x2bbbb7(0x305)]=0x0,_0x451c77===void 0x0?_0x451c77=[]:Array[_0x2bbbb7(0x23d)](_0x451c77)||(typeof _0x451c77=='object'&&_0x451c77!==null?(_0x4d6198=_0x451c77,_0x451c77=[]):_0x451c77=[_0x451c77]),_0x23fcd6(this,_0x316597,_0x451c77,_0x4d6198)):(this[_0x2bbbb7(0x319)]=_0x4d6198['autoPong'],this[_0x2bbbb7(0x27d)]=!0x0);}get[_0x719f7f(0x293)](){const _0x77f10b=_0x719f7f;return this[_0x77f10b(0x229)];}set[_0x719f7f(0x293)](_0x54044b){const _0x31c198=_0x719f7f;_0x263cb2[_0x31c198(0x320)](_0x54044b)&&(this[_0x31c198(0x229)]=_0x54044b,this[_0x31c198(0x2de)]&&(this[_0x31c198(0x2de)][_0x31c198(0x229)]=_0x54044b));}get['bufferedAmount'](){const _0x6f21f1=_0x719f7f;return this[_0x6f21f1(0x22d)]?this[_0x6f21f1(0x22d)][_0x6f21f1(0x1dd)][_0x6f21f1(0x17b)]+this['_sender'][_0x6f21f1(0x31b)]:this['_bufferedAmount'];}get[_0x719f7f(0x22a)](){const _0xc72366=_0x719f7f;return Object[_0xc72366(0x252)](this['_extensions'])[_0xc72366(0x219)]();}get[_0x719f7f(0x1c6)](){const _0x106126=_0x719f7f;return this[_0x106126(0x2fc)];}get['onclose'](){return null;}get['onerror'](){return null;}get[_0x719f7f(0x17a)](){return null;}get[_0x719f7f(0x290)](){return null;}get[_0x719f7f(0x300)](){return this['_protocol'];}get['readyState'](){const _0x14214e=_0x719f7f;return this[_0x14214e(0x1e5)];}get[_0x719f7f(0x2f2)](){const _0x3f34e7=_0x719f7f;return this[_0x3f34e7(0x2c4)];}['setSocket'](_0xc749c,_0x5e9f21,_0x9692a7){const _0x1d1953=_0x719f7f,_0x5d25ba=new _0x27e61a({'allowSynchronousEvents':_0x9692a7[_0x1d1953(0x1c7)],'binaryType':this[_0x1d1953(0x293)],'extensions':this[_0x1d1953(0x1a8)],'isServer':this[_0x1d1953(0x27d)],'maxPayload':_0x9692a7[_0x1d1953(0x273)],'skipUTF8Validation':_0x9692a7[_0x1d1953(0x326)]}),_0x5d3666=new _0x2f7fc9(_0xc749c,this['_extensions'],_0x9692a7['generateMask']);this[_0x1d1953(0x2de)]=_0x5d25ba,this[_0x1d1953(0x306)]=_0x5d3666,this[_0x1d1953(0x22d)]=_0xc749c,_0x5d25ba[_0x17a33e]=this,_0x5d3666[_0x17a33e]=this,_0xc749c[_0x17a33e]=this,_0x5d25ba['on'](_0x1d1953(0x1fa),_0x28320f),_0x5d25ba['on']('drain',_0x2c2b8b),_0x5d25ba['on'](_0x1d1953(0x2a1),_0xfc02a8),_0x5d25ba['on']('message',_0x264edd),_0x5d25ba['on'](_0x1d1953(0x17d),_0x3658da),_0x5d25ba['on'](_0x1d1953(0x20d),_0x262414),_0x5d3666[_0x1d1953(0x221)]=_0x47c70c,_0xc749c[_0x1d1953(0x1c1)]&&_0xc749c['setTimeout'](0x0),_0xc749c['setNoDelay']&&_0xc749c[_0x1d1953(0x1f5)](),_0x5e9f21[_0x1d1953(0x17b)]>0x0&&_0xc749c[_0x1d1953(0x29b)](_0x5e9f21),_0xc749c['on'](_0x1d1953(0x1a1),_0x38b812),_0xc749c['on']('data',_0x474505),_0xc749c['on'](_0x1d1953(0x2ea),_0x213abd),_0xc749c['on'](_0x1d1953(0x2a1),_0x38bd09),this['_readyState']=_0x3b875e[_0x1d1953(0x224)],this[_0x1d1953(0x21c)](_0x1d1953(0x2eb));}[_0x719f7f(0x27a)](){const _0x57b31f=_0x719f7f;if(!this[_0x57b31f(0x22d)]){this['_readyState']=_0x3b875e[_0x57b31f(0x178)],this[_0x57b31f(0x21c)](_0x57b31f(0x1a1),this['_closeCode'],this[_0x57b31f(0x2dd)]);return;}this[_0x57b31f(0x1a8)][_0x1537ab[_0x57b31f(0x242)]]&&this[_0x57b31f(0x1a8)][_0x1537ab[_0x57b31f(0x242)]][_0x57b31f(0x1ed)](),this[_0x57b31f(0x2de)][_0x57b31f(0x310)](),this[_0x57b31f(0x1e5)]=_0x3b875e[_0x57b31f(0x178)],this['emit'](_0x57b31f(0x1a1),this[_0x57b31f(0x171)],this[_0x57b31f(0x2dd)]);}['close'](_0x1f872b,_0x50e1ac){const _0x5c7a82=_0x719f7f;if(this[_0x5c7a82(0x1d9)]!==_0x3b875e['CLOSED']){if(this[_0x5c7a82(0x1d9)]===_0x3b875e[_0x5c7a82(0x260)]){_0x35c8eb(this,this[_0x5c7a82(0x28b)],_0x5c7a82(0x174));return;}if(this[_0x5c7a82(0x1d9)]===_0x3b875e[_0x5c7a82(0x1dc)]){this[_0x5c7a82(0x287)]&&(this[_0x5c7a82(0x1cc)]||this[_0x5c7a82(0x2de)]['_writableState'][_0x5c7a82(0x2c8)])&&this[_0x5c7a82(0x22d)][_0x5c7a82(0x2ea)]();return;}this[_0x5c7a82(0x1e5)]=_0x3b875e[_0x5c7a82(0x1dc)],this['_sender'][_0x5c7a82(0x1a1)](_0x1f872b,_0x50e1ac,!this[_0x5c7a82(0x27d)],_0x4d409c=>{const _0x572bee=_0x5c7a82;_0x4d409c||(this[_0x572bee(0x287)]=!0x0,(this[_0x572bee(0x1cc)]||this[_0x572bee(0x2de)][_0x572bee(0x1dd)][_0x572bee(0x2c8)])&&this[_0x572bee(0x22d)][_0x572bee(0x2ea)]());}),_0x10741d(this);}}[_0x719f7f(0x16c)](){const _0x2d10de=_0x719f7f;this['readyState']===_0x3b875e[_0x2d10de(0x260)]||this['readyState']===_0x3b875e[_0x2d10de(0x178)]||(this[_0x2d10de(0x2fc)]=!0x0,this[_0x2d10de(0x22d)][_0x2d10de(0x16c)]());}[_0x719f7f(0x17d)](_0xc39881,_0x56d243,_0x465c92){const _0x47a2d0=_0x719f7f;if(this[_0x47a2d0(0x1d9)]===_0x3b875e[_0x47a2d0(0x260)])throw new Error(_0x47a2d0(0x187));if(typeof _0xc39881==_0x47a2d0(0x2d9)?(_0x465c92=_0xc39881,_0xc39881=_0x56d243=void 0x0):typeof _0x56d243==_0x47a2d0(0x2d9)&&(_0x465c92=_0x56d243,_0x56d243=void 0x0),typeof _0xc39881==_0x47a2d0(0x2b7)&&(_0xc39881=_0xc39881[_0x47a2d0(0x286)]()),this[_0x47a2d0(0x1d9)]!==_0x3b875e[_0x47a2d0(0x224)]){_0x5e7e55(this,_0xc39881,_0x465c92);return;}_0x56d243===void 0x0&&(_0x56d243=!this['_isServer']),this[_0x47a2d0(0x306)][_0x47a2d0(0x17d)](_0xc39881||_0x1c1011,_0x56d243,_0x465c92);}[_0x719f7f(0x20d)](_0x144670,_0x5f1940,_0x50fa88){const _0x35ea84=_0x719f7f;if(this['readyState']===_0x3b875e['CONNECTING'])throw new Error(_0x35ea84(0x187));if(typeof _0x144670==_0x35ea84(0x2d9)?(_0x50fa88=_0x144670,_0x144670=_0x5f1940=void 0x0):typeof _0x5f1940==_0x35ea84(0x2d9)&&(_0x50fa88=_0x5f1940,_0x5f1940=void 0x0),typeof _0x144670=='number'&&(_0x144670=_0x144670['toString']()),this['readyState']!==_0x3b875e[_0x35ea84(0x224)]){_0x5e7e55(this,_0x144670,_0x50fa88);return;}_0x5f1940===void 0x0&&(_0x5f1940=!this[_0x35ea84(0x27d)]),this[_0x35ea84(0x306)][_0x35ea84(0x20d)](_0x144670||_0x1c1011,_0x5f1940,_0x50fa88);}['resume'](){const _0x35ce2b=_0x719f7f;this[_0x35ce2b(0x1d9)]===_0x3b875e['CONNECTING']||this['readyState']===_0x3b875e[_0x35ce2b(0x178)]||(this['_paused']=!0x1,this[_0x35ce2b(0x2de)][_0x35ce2b(0x1dd)][_0x35ce2b(0x1a9)]||this[_0x35ce2b(0x22d)][_0x35ce2b(0x317)]());}[_0x719f7f(0x307)](_0x10f97b,_0x3a5c05,_0x391ae4){const _0x4e2deb=_0x719f7f;if(this['readyState']===_0x3b875e[_0x4e2deb(0x260)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x3a5c05=='function'&&(_0x391ae4=_0x3a5c05,_0x3a5c05={}),typeof _0x10f97b=='number'&&(_0x10f97b=_0x10f97b['toString']()),this[_0x4e2deb(0x1d9)]!==_0x3b875e['OPEN']){_0x5e7e55(this,_0x10f97b,_0x391ae4);return;}const _0x2ec30d={'binary':typeof _0x10f97b!='string','mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x3a5c05};this['_extensions'][_0x1537ab[_0x4e2deb(0x242)]]||(_0x2ec30d[_0x4e2deb(0x26b)]=!0x1),this[_0x4e2deb(0x306)]['send'](_0x10f97b||_0x1c1011,_0x2ec30d,_0x391ae4);}[_0x719f7f(0x254)](){const _0x47725f=_0x719f7f;if(this['readyState']!==_0x3b875e[_0x47725f(0x178)]){if(this[_0x47725f(0x1d9)]===_0x3b875e[_0x47725f(0x260)]){_0x35c8eb(this,this[_0x47725f(0x28b)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x47725f(0x22d)]&&(this[_0x47725f(0x1e5)]=_0x3b875e[_0x47725f(0x1dc)],this[_0x47725f(0x22d)][_0x47725f(0x180)]());}}}Object[_0x719f7f(0x2e7)](_0x3b875e,_0x719f7f(0x260),{'enumerable':!0x0,'value':_0xb7f94[_0x719f7f(0x298)](_0x719f7f(0x260))}),Object['defineProperty'](_0x3b875e[_0x719f7f(0x2d7)],_0x719f7f(0x260),{'enumerable':!0x0,'value':_0xb7f94[_0x719f7f(0x298)]('CONNECTING')}),Object[_0x719f7f(0x2e7)](_0x3b875e,_0x719f7f(0x224),{'enumerable':!0x0,'value':_0xb7f94[_0x719f7f(0x298)](_0x719f7f(0x224))}),Object['defineProperty'](_0x3b875e['prototype'],_0x719f7f(0x224),{'enumerable':!0x0,'value':_0xb7f94[_0x719f7f(0x298)](_0x719f7f(0x224))}),Object[_0x719f7f(0x2e7)](_0x3b875e,_0x719f7f(0x1dc),{'enumerable':!0x0,'value':_0xb7f94[_0x719f7f(0x298)]('CLOSING')}),Object[_0x719f7f(0x2e7)](_0x3b875e['prototype'],'CLOSING',{'enumerable':!0x0,'value':_0xb7f94[_0x719f7f(0x298)](_0x719f7f(0x1dc))}),Object[_0x719f7f(0x2e7)](_0x3b875e,_0x719f7f(0x178),{'enumerable':!0x0,'value':_0xb7f94[_0x719f7f(0x298)](_0x719f7f(0x178))}),Object[_0x719f7f(0x2e7)](_0x3b875e['prototype'],_0x719f7f(0x178),{'enumerable':!0x0,'value':_0xb7f94[_0x719f7f(0x298)]('CLOSED')}),[_0x719f7f(0x293),_0x719f7f(0x2d4),'extensions',_0x719f7f(0x1c6),'protocol','readyState',_0x719f7f(0x2f2)][_0x719f7f(0x1a2)](_0x3e31a9=>{const _0x542663=_0x719f7f;Object[_0x542663(0x2e7)](_0x3b875e['prototype'],_0x3e31a9,{'enumerable':!0x0});}),[_0x719f7f(0x2eb),'error','close',_0x719f7f(0x24f)][_0x719f7f(0x1a2)](_0x3cd6fe=>{const _0x307375=_0x719f7f;Object[_0x307375(0x2e7)](_0x3b875e[_0x307375(0x2d7)],'on'+_0x3cd6fe,{'enumerable':!0x0,'get'(){const _0x49fc9f=_0x307375;for(const _0x44b3a7 of this[_0x49fc9f(0x313)](_0x3cd6fe))if(_0x44b3a7[_0x598ffa])return _0x44b3a7[_0x103da5];return null;},'set'(_0x1f795c){const _0x39e4f7=_0x307375;for(const _0x132710 of this[_0x39e4f7(0x313)](_0x3cd6fe))if(_0x132710[_0x598ffa]){this[_0x39e4f7(0x264)](_0x3cd6fe,_0x132710);break;}typeof _0x1f795c==_0x39e4f7(0x2d9)&&this[_0x39e4f7(0x31d)](_0x3cd6fe,_0x1f795c,{[_0x598ffa]:!0x0});}});}),_0x3b875e['prototype'][_0x719f7f(0x31d)]=_0x452e98,_0x3b875e[_0x719f7f(0x2d7)][_0x719f7f(0x30b)]=_0x139a4c,we=_0x3b875e;function _0x23fcd6(_0xc1ff56,_0x210803,_0x48c4a3,_0x42c900){const _0x27577a=_0x719f7f,_0x4352f3={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x3a02fa[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x42c900,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x27577a(0x1cf),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0xc1ff56[_0x27577a(0x319)]=_0x4352f3['autoPong'],!_0x3a02fa['includes'](_0x4352f3['protocolVersion']))throw new RangeError(_0x27577a(0x2f5)+_0x4352f3[_0x27577a(0x220)]+_0x27577a(0x2b8)+_0x3a02fa[_0x27577a(0x219)](',\x20')+')');let _0x3ce9d4;if(_0x210803 instanceof _0x36fae7)_0x3ce9d4=_0x210803;else try{_0x3ce9d4=new _0x36fae7(_0x210803);}catch{throw new SyntaxError(_0x27577a(0x23b)+_0x210803);}_0x3ce9d4['protocol']==='http:'?_0x3ce9d4[_0x27577a(0x300)]=_0x27577a(0x1c5):_0x3ce9d4[_0x27577a(0x300)]===_0x27577a(0x2e6)&&(_0x3ce9d4[_0x27577a(0x300)]=_0x27577a(0x193)),_0xc1ff56['_url']=_0x3ce9d4[_0x27577a(0x20c)];const _0x20d9da=_0x3ce9d4[_0x27577a(0x300)]==='wss:',_0x456c18=_0x3ce9d4['protocol']==='ws+unix:';let _0x4a5ae8;if(_0x3ce9d4[_0x27577a(0x300)]!==_0x27577a(0x1c5)&&!_0x20d9da&&!_0x456c18?_0x4a5ae8='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':_0x456c18&&!_0x3ce9d4['pathname']?_0x4a5ae8=_0x27577a(0x2d3):_0x3ce9d4[_0x27577a(0x23e)]&&(_0x4a5ae8=_0x27577a(0x2f9)),_0x4a5ae8){const _0x622d14=new SyntaxError(_0x4a5ae8);if(_0xc1ff56[_0x27577a(0x305)]===0x0)throw _0x622d14;_0x24d687(_0xc1ff56,_0x622d14);return;}const _0x46fa59=_0x20d9da?0x1bb:0x50,_0xb0c5a2=_0x3548f7(0x10)[_0x27577a(0x286)](_0x27577a(0x248)),_0x1b47af=_0x20d9da?_0x396485[_0x27577a(0x2f6)]:_0x811451[_0x27577a(0x2f6)],_0x135e8f=new Set();let _0x24fc77;if(_0x4352f3[_0x27577a(0x1be)]=_0x4352f3[_0x27577a(0x1be)]||(_0x20d9da?_0x51fb5d:_0x86a2ba),_0x4352f3[_0x27577a(0x202)]=_0x4352f3['defaultPort']||_0x46fa59,_0x4352f3['port']=_0x3ce9d4[_0x27577a(0x18f)]||_0x46fa59,_0x4352f3[_0x27577a(0x2ce)]=_0x3ce9d4[_0x27577a(0x1ef)][_0x27577a(0x2f8)]('[')?_0x3ce9d4[_0x27577a(0x1ef)]['slice'](0x1,-0x1):_0x3ce9d4[_0x27577a(0x1ef)],_0x4352f3[_0x27577a(0x1b1)]={..._0x4352f3[_0x27577a(0x1b1)],'Sec-WebSocket-Version':_0x4352f3[_0x27577a(0x220)],'Sec-WebSocket-Key':_0xb0c5a2,'Connection':_0x27577a(0x1e1),'Upgrade':_0x27577a(0x235)},_0x4352f3[_0x27577a(0x210)]=_0x3ce9d4[_0x27577a(0x31a)]+_0x3ce9d4[_0x27577a(0x31c)],_0x4352f3[_0x27577a(0x28e)]=_0x4352f3['handshakeTimeout'],_0x4352f3[_0x27577a(0x23f)]&&(_0x24fc77=new _0x1537ab(_0x4352f3[_0x27577a(0x23f)]!==!0x0?_0x4352f3[_0x27577a(0x23f)]:{},!0x1,_0x4352f3[_0x27577a(0x273)]),_0x4352f3[_0x27577a(0x1b1)]['Sec-WebSocket-Extensions']=_0x223275({[_0x1537ab[_0x27577a(0x242)]]:_0x24fc77[_0x27577a(0x1c2)]()})),_0x48c4a3[_0x27577a(0x17b)]){for(const _0x4c345a of _0x48c4a3){if(typeof _0x4c345a!='string'||!_0x121eb5['test'](_0x4c345a)||_0x135e8f[_0x27577a(0x200)](_0x4c345a))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x135e8f[_0x27577a(0x2d1)](_0x4c345a);}_0x4352f3['headers'][_0x27577a(0x26e)]=_0x48c4a3[_0x27577a(0x219)](',');}if(_0x4352f3[_0x27577a(0x30a)]&&(_0x4352f3[_0x27577a(0x220)]<0xd?_0x4352f3[_0x27577a(0x1b1)][_0x27577a(0x1f0)]=_0x4352f3[_0x27577a(0x30a)]:_0x4352f3[_0x27577a(0x1b1)][_0x27577a(0x280)]=_0x4352f3[_0x27577a(0x30a)]),(_0x3ce9d4['username']||_0x3ce9d4['password'])&&(_0x4352f3[_0x27577a(0x18d)]=_0x3ce9d4[_0x27577a(0x18e)]+':'+_0x3ce9d4[_0x27577a(0x226)]),_0x456c18){const _0x366b3b=_0x4352f3['path'][_0x27577a(0x25b)](':');_0x4352f3[_0x27577a(0x233)]=_0x366b3b[0x0],_0x4352f3[_0x27577a(0x210)]=_0x366b3b[0x1];}let _0x179541;if(_0x4352f3[_0x27577a(0x31e)]){if(_0xc1ff56[_0x27577a(0x305)]===0x0){_0xc1ff56[_0x27577a(0x1f8)]=_0x456c18,_0xc1ff56['_originalSecure']=_0x20d9da,_0xc1ff56[_0x27577a(0x16b)]=_0x456c18?_0x4352f3['socketPath']:_0x3ce9d4[_0x27577a(0x2ce)];const _0x25178d=_0x42c900&&_0x42c900[_0x27577a(0x1b1)];if(_0x42c900={..._0x42c900,'headers':{}},_0x25178d){for(const [_0x4c9e09,_0x497c00]of Object['entries'](_0x25178d))_0x42c900['headers'][_0x4c9e09['toLowerCase']()]=_0x497c00;}}else{if(_0xc1ff56[_0x27577a(0x19f)]('redirect')===0x0){const _0x5074e8=_0x456c18?_0xc1ff56[_0x27577a(0x1f8)]?_0x4352f3[_0x27577a(0x233)]===_0xc1ff56[_0x27577a(0x16b)]:!0x1:_0xc1ff56[_0x27577a(0x1f8)]?!0x1:_0x3ce9d4[_0x27577a(0x2ce)]===_0xc1ff56['_originalHostOrSocketPath'];(!_0x5074e8||_0xc1ff56[_0x27577a(0x2b4)]&&!_0x20d9da)&&(delete _0x4352f3[_0x27577a(0x1b1)][_0x27577a(0x1ae)],delete _0x4352f3[_0x27577a(0x1b1)][_0x27577a(0x325)],_0x5074e8||delete _0x4352f3[_0x27577a(0x1b1)]['host'],_0x4352f3['auth']=void 0x0);}}_0x4352f3[_0x27577a(0x18d)]&&!_0x42c900[_0x27577a(0x1b1)][_0x27577a(0x1ae)]&&(_0x42c900[_0x27577a(0x1b1)]['authorization']=_0x27577a(0x215)+Buffer['from'](_0x4352f3[_0x27577a(0x18d)])['toString']('base64')),_0x179541=_0xc1ff56[_0x27577a(0x28b)]=_0x1b47af(_0x4352f3),_0xc1ff56[_0x27577a(0x305)]&&_0xc1ff56[_0x27577a(0x21c)]('redirect',_0xc1ff56[_0x27577a(0x2f2)],_0x179541);}else _0x179541=_0xc1ff56[_0x27577a(0x28b)]=_0x1b47af(_0x4352f3);_0x4352f3['timeout']&&_0x179541['on'](_0x27577a(0x28e),()=>{const _0x18a4d4=_0x27577a;_0x35c8eb(_0xc1ff56,_0x179541,_0x18a4d4(0x19e));}),_0x179541['on'](_0x27577a(0x2a1),_0x357e33=>{const _0xf3596f=_0x27577a;_0x179541===null||_0x179541[_0x2c54a1]||(_0x179541=_0xc1ff56[_0xf3596f(0x28b)]=null,_0x24d687(_0xc1ff56,_0x357e33));}),_0x179541['on'](_0x27577a(0x1d8),_0x44899c=>{const _0x2d4a0d=_0x27577a,_0x288e02=_0x44899c[_0x2d4a0d(0x1b1)][_0x2d4a0d(0x2af)],_0x15cf7d=_0x44899c['statusCode'];if(_0x288e02&&_0x4352f3['followRedirects']&&_0x15cf7d>=0x12c&&_0x15cf7d<0x190){if(++_0xc1ff56[_0x2d4a0d(0x305)]>_0x4352f3[_0x2d4a0d(0x188)]){_0x35c8eb(_0xc1ff56,_0x179541,_0x2d4a0d(0x2cb));return;}_0x179541[_0x2d4a0d(0x192)]();let _0x5539a0;try{_0x5539a0=new _0x36fae7(_0x288e02,_0x210803);}catch{const _0x43cc0a=new SyntaxError('Invalid\x20URL:\x20'+_0x288e02);_0x24d687(_0xc1ff56,_0x43cc0a);return;}_0x23fcd6(_0xc1ff56,_0x5539a0,_0x48c4a3,_0x42c900);}else _0xc1ff56['emit'](_0x2d4a0d(0x2a9),_0x179541,_0x44899c)||_0x35c8eb(_0xc1ff56,_0x179541,_0x2d4a0d(0x1fc)+_0x44899c['statusCode']);}),_0x179541['on'](_0x27577a(0x311),(_0xcef594,_0x15ad65,_0x1ab0e1)=>{const _0x1fb057=_0x27577a;if(_0xc1ff56['emit'](_0x1fb057(0x311),_0xcef594),_0xc1ff56[_0x1fb057(0x1d9)]!==_0x3b875e[_0x1fb057(0x260)])return;_0x179541=_0xc1ff56[_0x1fb057(0x28b)]=null;const _0x20be3f=_0xcef594['headers'][_0x1fb057(0x311)];if(_0x20be3f===void 0x0||_0x20be3f[_0x1fb057(0x1ee)]()!=='websocket'){_0x35c8eb(_0xc1ff56,_0x15ad65,_0x1fb057(0x2b0));return;}const _0x3abb5a=_0x3bf2df(_0x1fb057(0x2e4))[_0x1fb057(0x22f)](_0xb0c5a2+_0xd8f8da)[_0x1fb057(0x2e2)](_0x1fb057(0x248));if(_0xcef594[_0x1fb057(0x1b1)][_0x1fb057(0x24c)]!==_0x3abb5a){_0x35c8eb(_0xc1ff56,_0x15ad65,'Invalid\x20Sec-WebSocket-Accept\x20header');return;}const _0x522c36=_0xcef594[_0x1fb057(0x1b1)][_0x1fb057(0x166)];let _0x548e2b;if(_0x522c36!==void 0x0?_0x135e8f[_0x1fb057(0x1b7)]?_0x135e8f[_0x1fb057(0x200)](_0x522c36)||(_0x548e2b=_0x1fb057(0x1ce)):_0x548e2b='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x135e8f[_0x1fb057(0x1b7)]&&(_0x548e2b=_0x1fb057(0x241)),_0x548e2b){_0x35c8eb(_0xc1ff56,_0x15ad65,_0x548e2b);return;}_0x522c36&&(_0xc1ff56[_0x1fb057(0x22e)]=_0x522c36);const _0x51bf75=_0xcef594[_0x1fb057(0x1b1)]['sec-websocket-extensions'];if(_0x51bf75!==void 0x0){if(!_0x24fc77){_0x35c8eb(_0xc1ff56,_0x15ad65,_0x1fb057(0x22c));return;}let _0x4ae21c;try{_0x4ae21c=_0x48d412(_0x51bf75);}catch{_0x35c8eb(_0xc1ff56,_0x15ad65,_0x1fb057(0x2fd));return;}const _0x57a505=Object[_0x1fb057(0x252)](_0x4ae21c);if(_0x57a505['length']!==0x1||_0x57a505[0x0]!==_0x1537ab[_0x1fb057(0x242)]){_0x35c8eb(_0xc1ff56,_0x15ad65,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0x24fc77[_0x1fb057(0x23c)](_0x4ae21c[_0x1537ab[_0x1fb057(0x242)]]);}catch{_0x35c8eb(_0xc1ff56,_0x15ad65,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0xc1ff56[_0x1fb057(0x1a8)][_0x1537ab[_0x1fb057(0x242)]]=_0x24fc77;}_0xc1ff56[_0x1fb057(0x2f3)](_0x15ad65,_0x1ab0e1,{'allowSynchronousEvents':_0x4352f3[_0x1fb057(0x1c7)],'generateMask':_0x4352f3['generateMask'],'maxPayload':_0x4352f3[_0x1fb057(0x273)],'skipUTF8Validation':_0x4352f3[_0x1fb057(0x326)]});}),_0x4352f3[_0x27577a(0x1ab)]?_0x4352f3[_0x27577a(0x1ab)](_0x179541,_0xc1ff56):_0x179541[_0x27577a(0x2ea)]();}function _0x24d687(_0x30f9d5,_0x1abfe9){const _0x1deb22=_0x719f7f;_0x30f9d5[_0x1deb22(0x1e5)]=_0x3b875e[_0x1deb22(0x1dc)],_0x30f9d5[_0x1deb22(0x165)]=!0x0,_0x30f9d5[_0x1deb22(0x21c)]('error',_0x1abfe9),_0x30f9d5[_0x1deb22(0x27a)]();}function _0x86a2ba(_0x3a2310){const _0x1378c8=_0x719f7f;return _0x3a2310[_0x1378c8(0x210)]=_0x3a2310[_0x1378c8(0x233)],_0x56e00b[_0x1378c8(0x1bc)](_0x3a2310);}function _0x51fb5d(_0x30f990){const _0x4f6173=_0x719f7f;return _0x30f990[_0x4f6173(0x210)]=void 0x0,!_0x30f990[_0x4f6173(0x1bf)]&&_0x30f990[_0x4f6173(0x1bf)]!==''&&(_0x30f990['servername']=_0x56e00b[_0x4f6173(0x217)](_0x30f990[_0x4f6173(0x2ce)])?'':_0x30f990['host']),_0x190bca[_0x4f6173(0x1bc)](_0x30f990);}function _0x35c8eb(_0xdb7082,_0x4b66a8,_0x5a1d40){const _0x44aa37=_0x719f7f;_0xdb7082['_readyState']=_0x3b875e['CLOSING'];const _0x2d3100=new Error(_0x5a1d40);Error[_0x44aa37(0x250)](_0x2d3100,_0x35c8eb),_0x4b66a8['setHeader']?(_0x4b66a8[_0x2c54a1]=!0x0,_0x4b66a8[_0x44aa37(0x192)](),_0x4b66a8[_0x44aa37(0x1ba)]&&!_0x4b66a8[_0x44aa37(0x1ba)][_0x44aa37(0x283)]&&_0x4b66a8[_0x44aa37(0x1ba)][_0x44aa37(0x180)](),process[_0x44aa37(0x294)](_0x24d687,_0xdb7082,_0x2d3100)):(_0x4b66a8['destroy'](_0x2d3100),_0x4b66a8[_0x44aa37(0x308)](_0x44aa37(0x2a1),_0xdb7082[_0x44aa37(0x21c)][_0x44aa37(0x291)](_0xdb7082,_0x44aa37(0x2a1))),_0x4b66a8[_0x44aa37(0x308)]('close',_0xdb7082[_0x44aa37(0x27a)]['bind'](_0xdb7082)));}function _0x5e7e55(_0x5d72c5,_0x5ad669,_0x4518e8){const _0x213d47=_0x719f7f;if(_0x5ad669){const _0x2e23f6=_0x3847cc(_0x5ad669)?_0x5ad669[_0x213d47(0x1b7)]:_0x47079a(_0x5ad669)['length'];_0x5d72c5[_0x213d47(0x22d)]?_0x5d72c5[_0x213d47(0x306)][_0x213d47(0x31b)]+=_0x2e23f6:_0x5d72c5[_0x213d47(0x2df)]+=_0x2e23f6;}if(_0x4518e8){const _0x248e59=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x5d72c5['readyState']+'\x20('+_0xb7f94[_0x5d72c5[_0x213d47(0x1d9)]]+')');process['nextTick'](_0x4518e8,_0x248e59);}}function _0x28320f(_0x4dc1d2,_0x4cc4bc){const _0x5bcdf6=_0x719f7f,_0x512ca6=this[_0x17a33e];_0x512ca6[_0x5bcdf6(0x1cc)]=!0x0,_0x512ca6[_0x5bcdf6(0x2dd)]=_0x4cc4bc,_0x512ca6['_closeCode']=_0x4dc1d2,_0x512ca6[_0x5bcdf6(0x22d)][_0x17a33e]!==void 0x0&&(_0x512ca6[_0x5bcdf6(0x22d)][_0x5bcdf6(0x264)](_0x5bcdf6(0x232),_0x474505),process[_0x5bcdf6(0x294)](_0x4cc6cc,_0x512ca6[_0x5bcdf6(0x22d)]),_0x4dc1d2===0x3ed?_0x512ca6[_0x5bcdf6(0x1a1)]():_0x512ca6['close'](_0x4dc1d2,_0x4cc4bc));}function _0x2c2b8b(){const _0x12ad46=_0x719f7f,_0x477102=this[_0x17a33e];_0x477102['isPaused']||_0x477102[_0x12ad46(0x22d)]['resume']();}function _0xfc02a8(_0x5713ea){const _0x4ba3ec=_0x719f7f,_0x5e7246=this[_0x17a33e];_0x5e7246[_0x4ba3ec(0x22d)][_0x17a33e]!==void 0x0&&(_0x5e7246[_0x4ba3ec(0x22d)][_0x4ba3ec(0x264)]('data',_0x474505),process[_0x4ba3ec(0x294)](_0x4cc6cc,_0x5e7246[_0x4ba3ec(0x22d)]),_0x5e7246[_0x4ba3ec(0x1a1)](_0x5713ea[_0x4b1133])),_0x5e7246[_0x4ba3ec(0x165)]||(_0x5e7246[_0x4ba3ec(0x165)]=!0x0,_0x5e7246['emit'](_0x4ba3ec(0x2a1),_0x5713ea));}function _0x2ef5bc(){const _0x1e54e6=_0x719f7f;this[_0x17a33e][_0x1e54e6(0x27a)]();}function _0x264edd(_0x10b90c,_0x19f92c){const _0x2c265e=_0x719f7f;this[_0x17a33e]['emit'](_0x2c265e(0x24f),_0x10b90c,_0x19f92c);}function _0x3658da(_0x5e289a){const _0x296682=_0x719f7f,_0x4768a5=this[_0x17a33e];_0x4768a5['_autoPong']&&_0x4768a5[_0x296682(0x20d)](_0x5e289a,!this[_0x296682(0x27d)],_0x495d59),_0x4768a5[_0x296682(0x21c)](_0x296682(0x17d),_0x5e289a);}function _0x262414(_0x11b45b){const _0xd92f2d=_0x719f7f;this[_0x17a33e][_0xd92f2d(0x21c)](_0xd92f2d(0x20d),_0x11b45b);}function _0x4cc6cc(_0x4c7ce3){const _0x4ade12=_0x719f7f;_0x4c7ce3[_0x4ade12(0x317)]();}function _0x47c70c(_0xe1f239){const _0x93516f=_0x719f7f,_0x838c42=this[_0x17a33e];_0x838c42[_0x93516f(0x1d9)]!==_0x3b875e['CLOSED']&&(_0x838c42[_0x93516f(0x1d9)]===_0x3b875e[_0x93516f(0x224)]&&(_0x838c42[_0x93516f(0x1e5)]=_0x3b875e[_0x93516f(0x1dc)],_0x10741d(_0x838c42)),this['_socket'][_0x93516f(0x2ea)](),_0x838c42[_0x93516f(0x165)]||(_0x838c42[_0x93516f(0x165)]=!0x0,_0x838c42['emit'](_0x93516f(0x2a1),_0xe1f239)));}function _0x10741d(_0x7b1f0){const _0x5e9217=_0x719f7f;_0x7b1f0[_0x5e9217(0x244)]=setTimeout(_0x7b1f0['_socket'][_0x5e9217(0x180)][_0x5e9217(0x291)](_0x7b1f0[_0x5e9217(0x22d)]),_0x3e2c55);}function _0x38b812(){const _0x5709be=_0x719f7f,_0x52f07e=this[_0x17a33e];this['removeListener'](_0x5709be(0x1a1),_0x38b812),this[_0x5709be(0x264)](_0x5709be(0x232),_0x474505),this[_0x5709be(0x264)]('end',_0x213abd),_0x52f07e['_readyState']=_0x3b875e[_0x5709be(0x1dc)];let _0x43d275;!this[_0x5709be(0x24e)][_0x5709be(0x1db)]&&!_0x52f07e[_0x5709be(0x1cc)]&&!_0x52f07e['_receiver'][_0x5709be(0x1dd)][_0x5709be(0x2c8)]&&(_0x43d275=_0x52f07e[_0x5709be(0x22d)][_0x5709be(0x289)]())!==null&&_0x52f07e[_0x5709be(0x2de)][_0x5709be(0x190)](_0x43d275),_0x52f07e['_receiver'][_0x5709be(0x2ea)](),this[_0x17a33e]=void 0x0,clearTimeout(_0x52f07e[_0x5709be(0x244)]),_0x52f07e[_0x5709be(0x2de)][_0x5709be(0x1dd)][_0x5709be(0x22b)]||_0x52f07e['_receiver'][_0x5709be(0x1dd)]['errorEmitted']?_0x52f07e[_0x5709be(0x27a)]():(_0x52f07e[_0x5709be(0x2de)]['on'](_0x5709be(0x2a1),_0x2ef5bc),_0x52f07e[_0x5709be(0x2de)]['on'](_0x5709be(0x257),_0x2ef5bc));}function _0x474505(_0x2051ac){const _0x3a9eac=_0x719f7f;this[_0x17a33e]['_receiver'][_0x3a9eac(0x190)](_0x2051ac)||this['pause']();}function _0x213abd(){const _0x283b6d=_0x719f7f,_0x1efd9e=this[_0x17a33e];_0x1efd9e[_0x283b6d(0x1e5)]=_0x3b875e[_0x283b6d(0x1dc)],_0x1efd9e['_receiver']['end'](),this[_0x283b6d(0x2ea)]();}function _0x38bd09(){const _0x4f975c=_0x719f7f,_0xac18d9=this[_0x17a33e];this[_0x4f975c(0x264)](_0x4f975c(0x2a1),_0x38bd09),this['on'](_0x4f975c(0x2a1),_0x495d59),_0xac18d9&&(_0xac18d9[_0x4f975c(0x1e5)]=_0x3b875e[_0x4f975c(0x1dc)],this[_0x4f975c(0x180)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x62f5ae}=oe;function _0x54e9e8(_0x34e0e9){const _0x150736=_0x42f1;_0x34e0e9[_0x150736(0x21c)]('close');}function _0x1719a6(){const _0xe90f6d=_0x42f1;!this[_0xe90f6d(0x283)]&&this[_0xe90f6d(0x1dd)][_0xe90f6d(0x22b)]&&this['destroy']();}function _0x357def(_0x1a391d){const _0x3d8e6e=_0x42f1;this[_0x3d8e6e(0x264)](_0x3d8e6e(0x2a1),_0x357def),this[_0x3d8e6e(0x180)](),this[_0x3d8e6e(0x19f)](_0x3d8e6e(0x2a1))===0x0&&this[_0x3d8e6e(0x21c)](_0x3d8e6e(0x2a1),_0x1a391d);}function _0x522a9d(_0x95cc66,_0x317d23){const _0x11ab4e=_0x42f1;let _0xc79084=!0x0;const _0x54dd38=new _0x62f5ae({..._0x317d23,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x95cc66['on']('message',function(_0x2fb80e,_0x5357a3){const _0x4eac54=_0x42f1,_0x4c0cde=!_0x5357a3&&_0x54dd38['_readableState'][_0x4eac54(0x206)]?_0x2fb80e['toString']():_0x2fb80e;_0x54dd38[_0x4eac54(0x29c)](_0x4c0cde)||_0x95cc66[_0x4eac54(0x16c)]();}),_0x95cc66[_0x11ab4e(0x308)](_0x11ab4e(0x2a1),function(_0x5654b4){const _0x16fa1c=_0x11ab4e;_0x54dd38[_0x16fa1c(0x283)]||(_0xc79084=!0x1,_0x54dd38[_0x16fa1c(0x180)](_0x5654b4));}),_0x95cc66[_0x11ab4e(0x308)]('close',function(){const _0x21c84f=_0x11ab4e;_0x54dd38[_0x21c84f(0x283)]||_0x54dd38[_0x21c84f(0x29c)](null);}),_0x54dd38[_0x11ab4e(0x17e)]=function(_0x4724c7,_0x5b001a){const _0x4dd0ea=_0x11ab4e;if(_0x95cc66[_0x4dd0ea(0x1d9)]===_0x95cc66[_0x4dd0ea(0x178)]){_0x5b001a(_0x4724c7),process[_0x4dd0ea(0x294)](_0x54e9e8,_0x54dd38);return;}let _0x1e8494=!0x1;_0x95cc66[_0x4dd0ea(0x308)]('error',function(_0x568438){_0x1e8494=!0x0,_0x5b001a(_0x568438);}),_0x95cc66[_0x4dd0ea(0x308)](_0x4dd0ea(0x1a1),function(){const _0xc7bc72=_0x4dd0ea;_0x1e8494||_0x5b001a(_0x4724c7),process[_0xc7bc72(0x294)](_0x54e9e8,_0x54dd38);}),_0xc79084&&_0x95cc66['terminate']();},_0x54dd38['_final']=function(_0x32f56a){const _0xbccdec=_0x11ab4e;if(_0x95cc66[_0xbccdec(0x1d9)]===_0x95cc66['CONNECTING']){_0x95cc66['once']('open',function(){const _0x4a545e=_0xbccdec;_0x54dd38[_0x4a545e(0x318)](_0x32f56a);});return;}_0x95cc66[_0xbccdec(0x22d)]!==null&&(_0x95cc66[_0xbccdec(0x22d)][_0xbccdec(0x1dd)][_0xbccdec(0x22b)]?(_0x32f56a(),_0x54dd38[_0xbccdec(0x24e)][_0xbccdec(0x1db)]&&_0x54dd38[_0xbccdec(0x180)]()):(_0x95cc66[_0xbccdec(0x22d)][_0xbccdec(0x308)]('finish',function(){_0x32f56a();}),_0x95cc66['close']()));},_0x54dd38[_0x11ab4e(0x2f0)]=function(){_0x95cc66['isPaused']&&_0x95cc66['resume']();},_0x54dd38[_0x11ab4e(0x204)]=function(_0x241a7b,_0xcdc9f8,_0x5532fc){const _0x5890d8=_0x11ab4e;if(_0x95cc66['readyState']===_0x95cc66[_0x5890d8(0x260)]){_0x95cc66[_0x5890d8(0x308)](_0x5890d8(0x2eb),function(){const _0x3fb4f0=_0x5890d8;_0x54dd38[_0x3fb4f0(0x204)](_0x241a7b,_0xcdc9f8,_0x5532fc);});return;}_0x95cc66[_0x5890d8(0x307)](_0x241a7b,_0x5532fc);},_0x54dd38['on'](_0x11ab4e(0x2ea),_0x1719a6),_0x54dd38['on'](_0x11ab4e(0x2a1),_0x357def),_0x54dd38;}return Oe=_0x522a9d,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x32acd0}=ae();function _0x15e325(_0x3448dc){const _0x19e28c=_0x42f1,_0x348027=new Set();let _0x4b0a71=-0x1,_0x8f6eb4=-0x1,_0xbfa353=0x0;for(_0xbfa353;_0xbfa353<_0x3448dc[_0x19e28c(0x17b)];_0xbfa353++){const _0x306de6=_0x3448dc[_0x19e28c(0x29e)](_0xbfa353);if(_0x8f6eb4===-0x1&&_0x32acd0[_0x306de6]===0x1)_0x4b0a71===-0x1&&(_0x4b0a71=_0xbfa353);else{if(_0xbfa353!==0x0&&(_0x306de6===0x20||_0x306de6===0x9))_0x8f6eb4===-0x1&&_0x4b0a71!==-0x1&&(_0x8f6eb4=_0xbfa353);else{if(_0x306de6===0x2c){if(_0x4b0a71===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0xbfa353);_0x8f6eb4===-0x1&&(_0x8f6eb4=_0xbfa353);const _0x127004=_0x3448dc['slice'](_0x4b0a71,_0x8f6eb4);if(_0x348027[_0x19e28c(0x200)](_0x127004))throw new SyntaxError('The\x20\x22'+_0x127004+'\x22\x20subprotocol\x20is\x20duplicated');_0x348027[_0x19e28c(0x2d1)](_0x127004),_0x4b0a71=_0x8f6eb4=-0x1;}else throw new SyntaxError(_0x19e28c(0x1d7)+_0xbfa353);}}}if(_0x4b0a71===-0x1||_0x8f6eb4!==-0x1)throw new SyntaxError(_0x19e28c(0x247));const _0x5c3ce8=_0x3448dc[_0x19e28c(0x25e)](_0x4b0a71,_0xbfa353);if(_0x348027[_0x19e28c(0x200)](_0x5c3ce8))throw new SyntaxError('The\x20\x22'+_0x5c3ce8+_0x19e28c(0x269));return _0x348027[_0x19e28c(0x2d1)](_0x5c3ce8),_0x348027;}return Ce={'parse':_0x15e325},Ce;}var Te,rt;function Ft(){const _0x28f62a=_0x4a4417;if(rt)return Te;rt=0x1;const _0x491a52=nt,_0x11d21d=ot,{Duplex:_0x19f55e}=oe,{createHash:_0x5cfdd2}=Le,_0x3a37b8=ct(),_0x6f7f6=he(),_0x5645a7=At(),_0x48f087=Pe(),{GUID:_0x549785,kWebSocket:_0x290f31}=H(),_0x1877e7=/^[+/0-9A-Za-z]{22}==$/,_0x4135e0=0x0,_0x429f18=0x1,_0x269d90=0x2;class _0x4df7f6 extends _0x491a52{constructor(_0x14e003,_0xe276b4){const _0x10f274=_0x42f1;if(super(),_0x14e003={'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':_0x48f087,..._0x14e003},_0x14e003[_0x10f274(0x18f)]==null&&!_0x14e003[_0x10f274(0x243)]&&!_0x14e003[_0x10f274(0x321)]||_0x14e003[_0x10f274(0x18f)]!=null&&(_0x14e003[_0x10f274(0x243)]||_0x14e003['noServer'])||_0x14e003[_0x10f274(0x243)]&&_0x14e003[_0x10f274(0x321)])throw new TypeError(_0x10f274(0x28c));if(_0x14e003[_0x10f274(0x18f)]!=null?(this[_0x10f274(0x199)]=_0x11d21d['createServer']((_0xdba7ef,_0x2ebdef)=>{const _0xfcdc26=_0x10f274,_0x42581d=_0x11d21d['STATUS_CODES'][0x1aa];_0x2ebdef['writeHead'](0x1aa,{'Content-Length':_0x42581d[_0xfcdc26(0x17b)],'Content-Type':'text/plain'}),_0x2ebdef[_0xfcdc26(0x2ea)](_0x42581d);}),this[_0x10f274(0x199)][_0x10f274(0x316)](_0x14e003['port'],_0x14e003[_0x10f274(0x2ce)],_0x14e003['backlog'],_0xe276b4)):_0x14e003[_0x10f274(0x243)]&&(this[_0x10f274(0x199)]=_0x14e003[_0x10f274(0x243)]),this[_0x10f274(0x199)]){const _0x4d7954=this[_0x10f274(0x21c)]['bind'](this,_0x10f274(0x322));this[_0x10f274(0x1d4)]=_0x158b63(this['_server'],{'listening':this[_0x10f274(0x21c)][_0x10f274(0x291)](this,_0x10f274(0x1c4)),'error':this[_0x10f274(0x21c)][_0x10f274(0x291)](this,_0x10f274(0x2a1)),'upgrade':(_0x49e91e,_0x1e491c,_0x5f2ed1)=>{this['handleUpgrade'](_0x49e91e,_0x1e491c,_0x5f2ed1,_0x4d7954);}});}_0x14e003['perMessageDeflate']===!0x0&&(_0x14e003['perMessageDeflate']={}),_0x14e003[_0x10f274(0x299)]&&(this[_0x10f274(0x2e8)]=new Set(),this[_0x10f274(0x245)]=!0x1),this[_0x10f274(0x167)]=_0x14e003,this[_0x10f274(0x1a6)]=_0x4135e0;}[_0x28f62a(0x20b)](){const _0x7b728f=_0x28f62a;if(this['options'][_0x7b728f(0x321)])throw new Error(_0x7b728f(0x2ac));return this['_server']?this[_0x7b728f(0x199)][_0x7b728f(0x20b)]():null;}['close'](_0x49fde1){const _0x2f3eb4=_0x28f62a;if(this['_state']===_0x269d90){_0x49fde1&&this[_0x2f3eb4(0x308)](_0x2f3eb4(0x1a1),()=>{_0x49fde1(new Error('The\x20server\x20is\x20not\x20running'));}),process['nextTick'](_0x3fa7c8,this);return;}if(_0x49fde1&&this[_0x2f3eb4(0x308)](_0x2f3eb4(0x1a1),_0x49fde1),this[_0x2f3eb4(0x1a6)]!==_0x429f18){if(this[_0x2f3eb4(0x1a6)]=_0x429f18,this['options'][_0x2f3eb4(0x321)]||this[_0x2f3eb4(0x167)][_0x2f3eb4(0x243)])this[_0x2f3eb4(0x199)]&&(this[_0x2f3eb4(0x1d4)](),this['_removeListeners']=this[_0x2f3eb4(0x199)]=null),this[_0x2f3eb4(0x2e8)]?this[_0x2f3eb4(0x2e8)][_0x2f3eb4(0x1b7)]?this[_0x2f3eb4(0x245)]=!0x0:process['nextTick'](_0x3fa7c8,this):process[_0x2f3eb4(0x294)](_0x3fa7c8,this);else{const _0x4b7762=this[_0x2f3eb4(0x199)];this[_0x2f3eb4(0x1d4)](),this[_0x2f3eb4(0x1d4)]=this[_0x2f3eb4(0x199)]=null,_0x4b7762[_0x2f3eb4(0x1a1)](()=>{_0x3fa7c8(this);});}}}[_0x28f62a(0x28a)](_0x414dbc){const _0xa3cb78=_0x28f62a;if(this[_0xa3cb78(0x167)][_0xa3cb78(0x210)]){const _0x3cdd5e=_0x414dbc['url'][_0xa3cb78(0x298)]('?');if((_0x3cdd5e!==-0x1?_0x414dbc['url'][_0xa3cb78(0x25e)](0x0,_0x3cdd5e):_0x414dbc[_0xa3cb78(0x2f2)])!==this[_0xa3cb78(0x167)][_0xa3cb78(0x210)])return!0x1;}return!0x0;}[_0x28f62a(0x1aa)](_0x57280e,_0x3707b5,_0x1f3048,_0x19a282){const _0x58ed77=_0x28f62a;_0x3707b5['on'](_0x58ed77(0x2a1),_0x360d98);const _0x2bd4a0=_0x57280e['headers'][_0x58ed77(0x30d)],_0x57d0a7=_0x57280e[_0x58ed77(0x1b1)][_0x58ed77(0x311)],_0x32ebbb=+_0x57280e[_0x58ed77(0x1b1)][_0x58ed77(0x26a)];if(_0x57280e[_0x58ed77(0x2ba)]!==_0x58ed77(0x1cf)){_0x4cf3c4(this,_0x57280e,_0x3707b5,0x195,_0x58ed77(0x196));return;}if(_0x57d0a7===void 0x0||_0x57d0a7[_0x58ed77(0x1ee)]()!==_0x58ed77(0x235)){_0x4cf3c4(this,_0x57280e,_0x3707b5,0x190,'Invalid\x20Upgrade\x20header');return;}if(_0x2bd4a0===void 0x0||!_0x1877e7[_0x58ed77(0x186)](_0x2bd4a0)){_0x4cf3c4(this,_0x57280e,_0x3707b5,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x32ebbb!==0xd&&_0x32ebbb!==0x8){_0x4cf3c4(this,_0x57280e,_0x3707b5,0x190,_0x58ed77(0x1b3),{'Sec-WebSocket-Version':_0x58ed77(0x2ca)});return;}if(!this[_0x58ed77(0x28a)](_0x57280e)){_0x3c10fb(_0x3707b5,0x190);return;}const _0x4d1937=_0x57280e[_0x58ed77(0x1b1)][_0x58ed77(0x166)];let _0x40b615=new Set();if(_0x4d1937!==void 0x0)try{_0x40b615=_0x5645a7['parse'](_0x4d1937);}catch{_0x4cf3c4(this,_0x57280e,_0x3707b5,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x3c4362=_0x57280e[_0x58ed77(0x1b1)][_0x58ed77(0x1b5)],_0x338cdb={};if(this[_0x58ed77(0x167)][_0x58ed77(0x23f)]&&_0x3c4362!==void 0x0){const _0x289080=new _0x6f7f6(this['options'][_0x58ed77(0x23f)],!0x0,this[_0x58ed77(0x167)][_0x58ed77(0x273)]);try{const _0x505c73=_0x3a37b8[_0x58ed77(0x2bd)](_0x3c4362);_0x505c73[_0x6f7f6[_0x58ed77(0x242)]]&&(_0x289080[_0x58ed77(0x23c)](_0x505c73[_0x6f7f6[_0x58ed77(0x242)]]),_0x338cdb[_0x6f7f6[_0x58ed77(0x242)]]=_0x289080);}catch{_0x4cf3c4(this,_0x57280e,_0x3707b5,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this['options']['verifyClient']){const _0x5eca03={'origin':_0x57280e[_0x58ed77(0x1b1)][''+(_0x32ebbb===0x8?_0x58ed77(0x184):_0x58ed77(0x30a))],'secure':!!(_0x57280e['socket'][_0x58ed77(0x2d0)]||_0x57280e['socket']['encrypted']),'req':_0x57280e};if(this['options'][_0x58ed77(0x2ff)][_0x58ed77(0x17b)]===0x2){this[_0x58ed77(0x167)][_0x58ed77(0x2ff)](_0x5eca03,(_0x233873,_0x1b18e8,_0x149db3,_0xa1cec0)=>{const _0x3c0750=_0x58ed77;if(!_0x233873)return _0x3c10fb(_0x3707b5,_0x1b18e8||0x191,_0x149db3,_0xa1cec0);this[_0x3c0750(0x1d5)](_0x338cdb,_0x2bd4a0,_0x40b615,_0x57280e,_0x3707b5,_0x1f3048,_0x19a282);});return;}if(!this[_0x58ed77(0x167)]['verifyClient'](_0x5eca03))return _0x3c10fb(_0x3707b5,0x191);}this[_0x58ed77(0x1d5)](_0x338cdb,_0x2bd4a0,_0x40b615,_0x57280e,_0x3707b5,_0x1f3048,_0x19a282);}['completeUpgrade'](_0x420fdc,_0x81b6d2,_0x298a6c,_0x2e063c,_0x55df06,_0x22e5a1,_0x2d9fe5){const _0x5ec839=_0x28f62a;if(!_0x55df06[_0x5ec839(0x1bd)]||!_0x55df06['writable'])return _0x55df06['destroy']();if(_0x55df06[_0x290f31])throw new Error(_0x5ec839(0x1e0));if(this[_0x5ec839(0x1a6)]>_0x4135e0)return _0x3c10fb(_0x55df06,0x1f7);const _0x36ce31=['HTTP/1.1\x20101\x20Switching\x20Protocols','Upgrade:\x20websocket',_0x5ec839(0x21e),_0x5ec839(0x2ef)+_0x5cfdd2(_0x5ec839(0x2e4))[_0x5ec839(0x22f)](_0x81b6d2+_0x549785)['digest'](_0x5ec839(0x248))],_0x4a8c3d=new this[(_0x5ec839(0x167))][(_0x5ec839(0x1b6))](null,void 0x0,this[_0x5ec839(0x167)]);if(_0x298a6c['size']){const _0x22e731=this[_0x5ec839(0x167)][_0x5ec839(0x24a)]?this[_0x5ec839(0x167)]['handleProtocols'](_0x298a6c,_0x2e063c):_0x298a6c[_0x5ec839(0x236)]()['next']()[_0x5ec839(0x314)];_0x22e731&&(_0x36ce31[_0x5ec839(0x29c)](_0x5ec839(0x259)+_0x22e731),_0x4a8c3d['_protocol']=_0x22e731);}if(_0x420fdc[_0x6f7f6[_0x5ec839(0x242)]]){const _0x5e43be=_0x420fdc[_0x6f7f6[_0x5ec839(0x242)]][_0x5ec839(0x1fb)],_0x177adb=_0x3a37b8[_0x5ec839(0x16f)]({[_0x6f7f6[_0x5ec839(0x242)]]:[_0x5e43be]});_0x36ce31['push'](_0x5ec839(0x267)+_0x177adb),_0x4a8c3d[_0x5ec839(0x1a8)]=_0x420fdc;}this[_0x5ec839(0x21c)](_0x5ec839(0x1b1),_0x36ce31,_0x2e063c),_0x55df06[_0x5ec839(0x190)](_0x36ce31[_0x5ec839(0x277)]('\x0d\x0a')['join']('\x0d\x0a')),_0x55df06[_0x5ec839(0x264)](_0x5ec839(0x2a1),_0x360d98),_0x4a8c3d[_0x5ec839(0x2f3)](_0x55df06,_0x22e5a1,{'allowSynchronousEvents':this[_0x5ec839(0x167)][_0x5ec839(0x1c7)],'maxPayload':this[_0x5ec839(0x167)]['maxPayload'],'skipUTF8Validation':this['options'][_0x5ec839(0x326)]}),this[_0x5ec839(0x2e8)]&&(this[_0x5ec839(0x2e8)][_0x5ec839(0x2d1)](_0x4a8c3d),_0x4a8c3d['on'](_0x5ec839(0x1a1),()=>{const _0x265edd=_0x5ec839;this[_0x265edd(0x2e8)][_0x265edd(0x2d2)](_0x4a8c3d),this['_shouldEmitClose']&&!this[_0x265edd(0x2e8)][_0x265edd(0x1b7)]&&process['nextTick'](_0x3fa7c8,this);})),_0x2d9fe5(_0x4a8c3d,_0x2e063c);}}Te=_0x4df7f6;function _0x158b63(_0x2802c6,_0x2ea0ac){const _0x2954d3=_0x28f62a;for(const _0x2ffb05 of Object[_0x2954d3(0x252)](_0x2ea0ac))_0x2802c6['on'](_0x2ffb05,_0x2ea0ac[_0x2ffb05]);return function(){const _0x5396df=_0x2954d3;for(const _0x1edb35 of Object['keys'](_0x2ea0ac))_0x2802c6[_0x5396df(0x264)](_0x1edb35,_0x2ea0ac[_0x1edb35]);};}function _0x3fa7c8(_0x819141){const _0x3455f8=_0x28f62a;_0x819141['_state']=_0x269d90,_0x819141[_0x3455f8(0x21c)](_0x3455f8(0x1a1));}function _0x360d98(){const _0x7e04ab=_0x28f62a;this[_0x7e04ab(0x180)]();}function _0x3c10fb(_0x49c924,_0x1366bf,_0x4e9528,_0x273f7d){const _0x1b6ffb=_0x28f62a;_0x4e9528=_0x4e9528||_0x11d21d['STATUS_CODES'][_0x1366bf],_0x273f7d={'Connection':_0x1b6ffb(0x1a1),'Content-Type':_0x1b6ffb(0x2ab),'Content-Length':Buffer[_0x1b6ffb(0x2bb)](_0x4e9528),..._0x273f7d},_0x49c924['once'](_0x1b6ffb(0x257),_0x49c924['destroy']),_0x49c924[_0x1b6ffb(0x2ea)](_0x1b6ffb(0x173)+_0x1366bf+'\x20'+_0x11d21d['STATUS_CODES'][_0x1366bf]+'\x0d\x0a'+Object[_0x1b6ffb(0x252)](_0x273f7d)['map'](_0x58bc2e=>_0x58bc2e+':\x20'+_0x273f7d[_0x58bc2e])[_0x1b6ffb(0x219)]('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x4e9528);}function _0x4cf3c4(_0x40146e,_0x92c590,_0x468bb1,_0x18296a,_0x5d8b6f,_0x113b7c){const _0x2df1b1=_0x28f62a;if(_0x40146e['listenerCount'](_0x2df1b1(0x1a7))){const _0x2bbe99=new Error(_0x5d8b6f);Error[_0x2df1b1(0x250)](_0x2bbe99,_0x4cf3c4),_0x40146e[_0x2df1b1(0x21c)](_0x2df1b1(0x1a7),_0x2bbe99,_0x468bb1,_0x92c590);}else _0x3c10fb(_0x468bb1,_0x18296a,_0x5d8b6f,_0x113b7c);}return Te;}Ft();var jt=Object[_0x4a4417(0x1ea)],Wt=(_0x5633fe,_0x36884c,_0x5a4b71,_0x4adeb4)=>{const _0x7405fd=_0x4a4417;for(var _0x42e942=_0x4adeb4>0x1?void 0x0:_0x4adeb4?jt(_0x36884c,_0x5a4b71):_0x36884c,_0xf3c7ed=_0x5633fe[_0x7405fd(0x17b)]-0x1,_0x2328fc;_0xf3c7ed>=0x0;_0xf3c7ed--)(_0x2328fc=_0x5633fe[_0xf3c7ed])&&(_0x42e942=_0x2328fc(_0x42e942)||_0x42e942);return _0x42e942;},qt=(_0xdfcd4d,_0x2e2177)=>(_0x30e6fd,_0x4f6c77)=>_0x2e2177(_0x30e6fd,_0x4f6c77,_0xdfcd4d);let ke=class extends A['Disposable']{constructor(_0x128374){const _0x4db25e=_0x4a4417;super(),this[_0x4db25e(0x26c)]=_0x128374;}[_0x4a4417(0x1da)](_0x111a5b){const _0x57c464=_0x4a4417;var _0x4254c7;const _0x4679f2=(_0x4254c7=this[_0x57c464(0x26c)][_0x57c464(0x2bf)](fe))==null?void 0x0:_0x4254c7['customHeaders'];try{const _0x13e63b=new $t(_0x111a5b,{'headers':{..._0x4679f2}}),_0x4bc8a2=new A[(_0x57c464(0x251))]();return{'URL':_0x111a5b,'close':(_0x4eb8f5,_0x143212)=>{const _0x42b572=_0x57c464;_0x13e63b[_0x42b572(0x1a1)](_0x4eb8f5,_0x143212),_0x4bc8a2[_0x42b572(0x1b0)]();},'send':_0x3e6791=>{const _0x181ae9=_0x57c464;_0x13e63b[_0x181ae9(0x307)](_0x3e6791);},'open$':new V['Observable'](_0x3d2d7c=>{const _0xacbeb4=_0x57c464,_0x21649e=_0x5ec7ac=>_0x3d2d7c[_0xacbeb4(0x302)](_0x5ec7ac);_0x13e63b[_0xacbeb4(0x31d)](_0xacbeb4(0x2eb),_0x21649e),_0x4bc8a2[_0xacbeb4(0x2d1)](A['toDisposable'](()=>_0x13e63b[_0xacbeb4(0x30b)](_0xacbeb4(0x2eb),_0x21649e)));})['pipe'](V['share']()),'close$':new V[(_0x57c464(0x1d1))](_0xef5cc5=>{const _0x1600d3=_0x57c464,_0x46bae3=_0x6a75b4=>_0xef5cc5[_0x1600d3(0x302)](_0x6a75b4);_0x13e63b['addEventListener'](_0x1600d3(0x1a1),_0x46bae3),_0x4bc8a2[_0x1600d3(0x2d1)](A[_0x1600d3(0x30c)](()=>_0x13e63b[_0x1600d3(0x30b)]('close',_0x46bae3)));})['pipe'](V['share']()),'error$':new V['Observable'](_0x141c7d=>{const _0x4b2025=_0x57c464,_0x370bb6=_0x4a94ee=>_0x141c7d[_0x4b2025(0x302)](_0x4a94ee);_0x13e63b[_0x4b2025(0x31d)](_0x4b2025(0x2a1),_0x370bb6),_0x4bc8a2[_0x4b2025(0x2d1)](A[_0x4b2025(0x30c)](()=>_0x13e63b[_0x4b2025(0x30b)](_0x4b2025(0x2a1),_0x370bb6)));})[_0x57c464(0x2a0)](V[_0x57c464(0x197)]()),'message$':new V['Observable'](_0x2122f9=>{const _0x21bd75=_0x57c464,_0x39187c=_0x59c89d=>_0x2122f9[_0x21bd75(0x302)](_0x59c89d);_0x13e63b['addEventListener'](_0x21bd75(0x24f),_0x39187c),_0x4bc8a2[_0x21bd75(0x2d1)](A[_0x21bd75(0x30c)](()=>_0x13e63b[_0x21bd75(0x30b)](_0x21bd75(0x24f),_0x39187c)));})[_0x57c464(0x2a0)](V[_0x57c464(0x197)]())};}catch(_0x3eb6ba){return console[_0x57c464(0x2a1)](_0x3eb6ba),null;}}};ke=Wt([qt(0x0,A[_0x4a4417(0x1e3)])],ke);var Gt=Object[_0x4a4417(0x2e7)],Vt=Object[_0x4a4417(0x1ea)],Ht=(_0x4b0567,_0x2bcd7f,_0x5ead42)=>_0x2bcd7f in _0x4b0567?Gt(_0x4b0567,_0x2bcd7f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5ead42}):_0x4b0567[_0x2bcd7f]=_0x5ead42,zt=(_0x276a9b,_0x228bd9,_0x561ad3,_0x46b820)=>{const _0x3b1a2e=_0x4a4417;for(var _0x2682c0=_0x46b820>0x1?void 0x0:_0x46b820?Vt(_0x228bd9,_0x561ad3):_0x228bd9,_0xc62160=_0x276a9b[_0x3b1a2e(0x17b)]-0x1,_0x6043b9;_0xc62160>=0x0;_0xc62160--)(_0x6043b9=_0x276a9b[_0xc62160])&&(_0x2682c0=_0x6043b9(_0x2682c0)||_0x2682c0);return _0x2682c0;},Ne=(_0x1a33cf,_0x1ccf99)=>(_0x2ff1ba,_0x2e919b)=>_0x1ccf99(_0x2ff1ba,_0x2e919b,_0x1a33cf),Yt=(_0x3efe83,_0x2d9b90,_0x452a93)=>Ht(_0x3efe83,_0x2d9b90+'',_0x452a93);exports[_0x4a4417(0x17f)]=class extends A[_0x4a4417(0x182)]{constructor(_0x1b681a=Ct,_0x1f443f,_0x3d42ce,_0x19f40f){const _0xfff306=_0x4a4417;_0x1b681a['customHeaders']||_0x1f443f[_0xfff306(0x2c3)](_0xfff306(0x181)),super(),this[_0xfff306(0x26c)]=_0x3d42ce,this[_0xfff306(0x191)]=_0x19f40f,this[_0xfff306(0x26c)][_0xfff306(0x327)](fe,_0x1b681a);}[_0x4a4417(0x25c)](){const _0x2de2ee=_0x4a4417;this[_0x2de2ee(0x1d0)]();}[_0x4a4417(0x1d0)](){const _0x47b514=_0x4a4417;A[_0x47b514(0x246)](this[_0x47b514(0x191)],[[it[_0x47b514(0x31f)],{'useClass':ke}]]);}},Yt(exports['UniverCollaborationClientNodePlugin'],_0x4a4417(0x1a5),_0x4a4417(0x28f)),exports['UniverCollaborationClientNodePlugin']=zt([A[_0x4a4417(0x237)](st[_0x4a4417(0x1e4)]),Ne(0x1,A['ILogService']),Ne(0x2,A[_0x4a4417(0x1e3)]),Ne(0x3,A[_0x4a4417(0x230)](A['Injector']))],exports['UniverCollaborationClientNodePlugin']);var Kt=Object[_0x4a4417(0x1ea)],Xt=(_0x186f5f,_0x231807,_0xac7f5f,_0x41e406)=>{const _0x34d160=_0x4a4417;for(var _0x155e8a=_0x41e406>0x1?void 0x0:_0x41e406?Kt(_0x231807,_0xac7f5f):_0x231807,_0xc11d6b=_0x186f5f[_0x34d160(0x17b)]-0x1,_0x30b124;_0xc11d6b>=0x0;_0xc11d6b--)(_0x30b124=_0x186f5f[_0xc11d6b])&&(_0x155e8a=_0x30b124(_0x155e8a)||_0x155e8a);return _0x155e8a;},ne=(_0x5ef223,_0x4ae87d)=>(_0x3a1a97,_0x17d396)=>_0x4ae87d(_0x3a1a97,_0x17d396,_0x5ef223);exports['NodeCollaborationSocketService']=class extends st[_0x4a4417(0x207)]{constructor(_0x1ef6a7,_0x15057c,_0x43560e,_0x58daff,_0x3f0fd3){const _0x2a961b=_0x4a4417;super(_0x1ef6a7,_0x15057c,_0x43560e,_0x58daff,_0x3f0fd3);const _0x1e93a8=this[_0x2a961b(0x26c)]['getConfig'](fe);this[_0x2a961b(0x2e9)][_0x2a961b(0x1a0)]({'interceptor':(_0x4e20eb,_0x2a036f)=>{const _0x54cf80=_0x2a961b;var _0x75f31;const _0x56ce99=_0x4e20eb[_0x54cf80(0x1b1)];return(_0x75f31=_0x1e93a8==null?void 0x0:_0x1e93a8['customHeaders'])!=null&&_0x75f31[_0x54cf80(0x325)]&&_0x56ce99[_0x54cf80(0x1b8)](_0x54cf80(0x19c),_0x1e93a8[_0x54cf80(0x195)][_0x54cf80(0x325)]),_0x2a036f(_0x4e20eb);}});}async['createSocket'](_0x232378){const _0x419378=_0x4a4417;return this[_0x419378(0x2f1)](_0x232378);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A[_0x4a4417(0x230)](A[_0x4a4417(0x272)])),ne(0x1,A['Inject'](it[_0x4a4417(0x2cd)])),ne(0x2,A[_0x4a4417(0x1e3)]),ne(0x3,A[_0x4a4417(0x266)]),ne(0x4,Ot[_0x4a4417(0x25a)])],exports[_0x4a4417(0x223)]),exports[_0x4a4417(0x198)]=fe;
1
+ 'use strict';const _0x1715bb=_0x254c;(function(_0x1005a3,_0x2ff4a0){const _0xd08319=_0x254c,_0x399a1b=_0x1005a3();while(!![]){try{const _0x2aedc0=-parseInt(_0xd08319(0xc8))/0x1*(parseInt(_0xd08319(0x106))/0x2)+parseInt(_0xd08319(0x1b5))/0x3+parseInt(_0xd08319(0xe1))/0x4*(-parseInt(_0xd08319(0xc6))/0x5)+parseInt(_0xd08319(0x239))/0x6*(parseInt(_0xd08319(0x1ee))/0x7)+parseInt(_0xd08319(0xb1))/0x8+-parseInt(_0xd08319(0x9c))/0x9*(-parseInt(_0xd08319(0x1bf))/0xa)+parseInt(_0xd08319(0xa4))/0xb*(-parseInt(_0xd08319(0x15b))/0xc);if(_0x2aedc0===_0x2ff4a0)break;else _0x399a1b['push'](_0x399a1b['shift']());}catch(_0x5bc915){_0x399a1b['push'](_0x399a1b['shift']());}}}(_0xbf3f,0x49cfe));Object[_0x1715bb(0xc3)](exports,Symbol[_0x1715bb(0x1e3)],{'value':_0x1715bb(0x220)});const st=require('@univerjs-pro/collaboration-client'),A=require('@univerjs/core'),it=require('@univerjs/network'),V=require('rxjs'),nt=require('events'),vt=require('https'),ot=require('http'),St=require('net'),Et=require('tls'),Le=require('crypto'),oe=require('stream'),xt=require('url'),bt=require('zlib'),wt=require('buffer'),Ot=require('@univerjs-pro/collaboration'),fe='collaboration-client-node.config',Ct={'customHeaders':{}};function Tt(_0x187e9f){const _0x3ff309=_0x1715bb;return _0x187e9f&&_0x187e9f[_0x3ff309(0x87)]&&Object[_0x3ff309(0x91)][_0x3ff309(0x223)][_0x3ff309(0x189)](_0x187e9f,'default')?_0x187e9f[_0x3ff309(0xcb)]:_0x187e9f;}function at(_0x5e7810){const _0x2578d6=_0x1715bb;if(Object['prototype']['hasOwnProperty'][_0x2578d6(0x189)](_0x5e7810,_0x2578d6(0x87)))return _0x5e7810;var _0x307966=_0x5e7810['default'];if(typeof _0x307966=='function'){var _0x2ff2ec=function _0x4fcc47(){const _0x1afe9a=_0x2578d6;var _0xdcb3cb=!0x1;try{_0xdcb3cb=this instanceof _0x4fcc47;}catch{}return _0xdcb3cb?Reflect[_0x1afe9a(0x1b2)](_0x307966,arguments,this[_0x1afe9a(0x22c)]):_0x307966['apply'](this,arguments);};_0x2ff2ec[_0x2578d6(0x91)]=_0x307966['prototype'];}else _0x2ff2ec={};return Object[_0x2578d6(0xc3)](_0x2ff2ec,'__esModule',{'value':!0x0}),Object[_0x2578d6(0x20c)](_0x5e7810)['forEach'](function(_0x320645){const _0x187077=_0x2578d6;var _0x19e41c=Object[_0x187077(0x1ca)](_0x5e7810,_0x320645);Object['defineProperty'](_0x2ff2ec,_0x320645,_0x19e41c[_0x187077(0x14d)]?_0x19e41c:{'enumerable':!0x0,'get':function(){return _0x5e7810[_0x320645];}});}),_0x2ff2ec;}var se={'exports':{}},ge,Ge;function H(){const _0x985df9=_0x1715bb;if(Ge)return ge;Ge=0x1;const _0x4e5f63=[_0x985df9(0xcc),_0x985df9(0x225),_0x985df9(0x1fe)],_0x3e35b2=typeof Blob<'u';return _0x3e35b2&&_0x4e5f63[_0x985df9(0x1eb)]('blob'),ge={'BINARY_TYPES':_0x4e5f63,'EMPTY_BUFFER':Buffer[_0x985df9(0x19c)](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x3e35b2,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x985df9(0x1e4)),'kStatusCode':Symbol('status-code'),'kWebSocket':Symbol(_0x985df9(0x172)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x1715bb(0x1d0)](Object[_0x1715bb(0xc3)]({'__proto__':null,'default':Nt},Symbol[_0x1715bb(0x1e3)],{'value':_0x1715bb(0x220)})),Lt=at(kt);var Ve;function ce(){const _0x55fab7=_0x1715bb;if(Ve)return se['exports'];Ve=0x1;const {EMPTY_BUFFER:_0x6161a6}=H(),_0x18b9a6=Buffer[Symbol[_0x55fab7(0x22d)]];function _0x3bebe7(_0x4f4bc4,_0x553cf2){const _0x17976e=_0x55fab7;if(_0x4f4bc4[_0x17976e(0x8f)]===0x0)return _0x6161a6;if(_0x4f4bc4['length']===0x1)return _0x4f4bc4[0x0];const _0x3edd66=Buffer['allocUnsafe'](_0x553cf2);let _0x36612b=0x0;for(let _0x490171=0x0;_0x490171<_0x4f4bc4[_0x17976e(0x8f)];_0x490171++){const _0x345bea=_0x4f4bc4[_0x490171];_0x3edd66[_0x17976e(0x155)](_0x345bea,_0x36612b),_0x36612b+=_0x345bea[_0x17976e(0x8f)];}return _0x36612b<_0x553cf2?new _0x18b9a6(_0x3edd66[_0x17976e(0x141)],_0x3edd66['byteOffset'],_0x36612b):_0x3edd66;}function _0xa70eac(_0x196866,_0x64434a,_0x2df2da,_0xfe3677,_0x34a1c9){for(let _0x51f4b3=0x0;_0x51f4b3<_0x34a1c9;_0x51f4b3++)_0x2df2da[_0xfe3677+_0x51f4b3]=_0x196866[_0x51f4b3]^_0x64434a[_0x51f4b3&0x3];}function _0x265104(_0x1cbe38,_0x2f8311){for(let _0x270c41=0x0;_0x270c41<_0x1cbe38['length'];_0x270c41++)_0x1cbe38[_0x270c41]^=_0x2f8311[_0x270c41&0x3];}function _0x47e515(_0x2a5585){const _0x109bfc=_0x55fab7;return _0x2a5585[_0x109bfc(0x8f)]===_0x2a5585[_0x109bfc(0x141)][_0x109bfc(0x177)]?_0x2a5585[_0x109bfc(0x141)]:_0x2a5585['buffer']['slice'](_0x2a5585[_0x109bfc(0x123)],_0x2a5585['byteOffset']+_0x2a5585[_0x109bfc(0x8f)]);}function _0x4a5702(_0x2a6232){const _0x434e10=_0x55fab7;if(_0x4a5702[_0x434e10(0x1a9)]=!0x0,Buffer[_0x434e10(0x21d)](_0x2a6232))return _0x2a6232;let _0x3caf1f;return _0x2a6232 instanceof ArrayBuffer?_0x3caf1f=new _0x18b9a6(_0x2a6232):ArrayBuffer[_0x434e10(0x8d)](_0x2a6232)?_0x3caf1f=new _0x18b9a6(_0x2a6232[_0x434e10(0x141)],_0x2a6232[_0x434e10(0x123)],_0x2a6232[_0x434e10(0x177)]):(_0x3caf1f=Buffer['from'](_0x2a6232),_0x4a5702[_0x434e10(0x1a9)]=!0x1),_0x3caf1f;}if(se['exports']={'concat':_0x3bebe7,'mask':_0xa70eac,'toArrayBuffer':_0x47e515,'toBuffer':_0x4a5702,'unmask':_0x265104},!process['env']['WS_NO_BUFFER_UTIL'])try{const _0x58edae=Lt;se[_0x55fab7(0x8e)][_0x55fab7(0xe2)]=function(_0x371041,_0x4c5aec,_0x2d50ea,_0x315067,_0x17f697){const _0x2ea5e3=_0x55fab7;_0x17f697<0x30?_0xa70eac(_0x371041,_0x4c5aec,_0x2d50ea,_0x315067,_0x17f697):_0x58edae[_0x2ea5e3(0xe2)](_0x371041,_0x4c5aec,_0x2d50ea,_0x315067,_0x17f697);},se[_0x55fab7(0x8e)][_0x55fab7(0xe8)]=function(_0x4ccb58,_0x387957){_0x4ccb58['length']<0x20?_0x265104(_0x4ccb58,_0x387957):_0x58edae['unmask'](_0x4ccb58,_0x387957);};}catch{}return se[_0x55fab7(0x8e)];}var ye,He;function Pt(){const _0x161f20=_0x1715bb;if(He)return ye;He=0x1;const _0x57cdf1=Symbol('kDone'),_0x4f456c=Symbol('kRun');class _0x52f08c{constructor(_0x501e77){const _0x47dc69=_0x254c;this[_0x57cdf1]=()=>{const _0x255b53=_0x254c;this[_0x255b53(0x120)]--,this[_0x4f456c]();},this[_0x47dc69(0x12d)]=_0x501e77||0x1/0x0,this['jobs']=[],this[_0x47dc69(0x120)]=0x0;}[_0x161f20(0x174)](_0x251044){this['jobs']['push'](_0x251044),this[_0x4f456c]();}[_0x4f456c](){const _0xf1bed3=_0x161f20;if(this[_0xf1bed3(0x120)]!==this[_0xf1bed3(0x12d)]&&this[_0xf1bed3(0x127)]['length']){const _0x87527f=this['jobs'][_0xf1bed3(0x1d8)]();this[_0xf1bed3(0x120)]++,_0x87527f(this[_0x57cdf1]);}}}return ye=_0x52f08c,ye;}var ve,ze;function he(){const _0x52b310=_0x1715bb;if(ze)return ve;ze=0x1;const _0x34d30=bt,_0x4aed44=ce(),_0x3c5779=Pt(),{kStatusCode:_0x25431d}=H(),_0x4253fd=Buffer[Symbol['species']],_0x4b557f=Buffer[_0x52b310(0x191)]([0x0,0x0,0xff,0xff]),_0x122e7e=Symbol('permessage-deflate'),_0x376f32=Symbol(_0x52b310(0x1aa)),_0x70f1d8=Symbol(_0x52b310(0xdf)),_0x4d0be3=Symbol(_0x52b310(0xc7)),_0x2ad34d=Symbol(_0x52b310(0x107));let _0x30f383;class _0x3abb45{constructor(_0x3b78f0,_0x516478,_0x2b6eaa){const _0x464d5f=_0x52b310;if(this[_0x464d5f(0x1cf)]=_0x2b6eaa|0x0,this[_0x464d5f(0x129)]=_0x3b78f0||{},this[_0x464d5f(0x1b0)]=this['_options'][_0x464d5f(0x9a)]!==void 0x0?this[_0x464d5f(0x129)][_0x464d5f(0x9a)]:0x400,this[_0x464d5f(0x103)]=!!_0x516478,this[_0x464d5f(0x10d)]=null,this[_0x464d5f(0xdd)]=null,this[_0x464d5f(0x1b8)]=null,!_0x30f383){const _0x35474e=this[_0x464d5f(0x129)][_0x464d5f(0x22f)]!==void 0x0?this[_0x464d5f(0x129)][_0x464d5f(0x22f)]:0xa;_0x30f383=new _0x3c5779(_0x35474e);}}static get['extensionName'](){const _0x393f8e=_0x52b310;return _0x393f8e(0x86);}[_0x52b310(0x149)](){const _0x1b4f9e=_0x52b310,_0x427901={};return this[_0x1b4f9e(0x129)][_0x1b4f9e(0x21c)]&&(_0x427901['server_no_context_takeover']=!0x0),this[_0x1b4f9e(0x129)]['clientNoContextTakeover']&&(_0x427901['client_no_context_takeover']=!0x0),this[_0x1b4f9e(0x129)]['serverMaxWindowBits']&&(_0x427901[_0x1b4f9e(0x1dc)]=this[_0x1b4f9e(0x129)][_0x1b4f9e(0x137)]),this[_0x1b4f9e(0x129)][_0x1b4f9e(0xa3)]?_0x427901[_0x1b4f9e(0x20e)]=this[_0x1b4f9e(0x129)]['clientMaxWindowBits']:this[_0x1b4f9e(0x129)]['clientMaxWindowBits']==null&&(_0x427901[_0x1b4f9e(0x20e)]=!0x0),_0x427901;}['accept'](_0x45a80e){const _0x1bb6d4=_0x52b310;return _0x45a80e=this[_0x1bb6d4(0x1ed)](_0x45a80e),this[_0x1bb6d4(0x1b8)]=this['_isServer']?this[_0x1bb6d4(0x115)](_0x45a80e):this[_0x1bb6d4(0xa6)](_0x45a80e),this[_0x1bb6d4(0x1b8)];}['cleanup'](){const _0x3ee0cd=_0x52b310;if(this[_0x3ee0cd(0xdd)]&&(this[_0x3ee0cd(0xdd)][_0x3ee0cd(0x187)](),this[_0x3ee0cd(0xdd)]=null),this[_0x3ee0cd(0x10d)]){const _0x2362fa=this[_0x3ee0cd(0x10d)][_0x70f1d8];this[_0x3ee0cd(0x10d)][_0x3ee0cd(0x187)](),this['_deflate']=null,_0x2362fa&&_0x2362fa(new Error(_0x3ee0cd(0x17a)));}}[_0x52b310(0x115)](_0x49c675){const _0x2062a1=_0x52b310,_0x50fed3=this[_0x2062a1(0x129)],_0x48bc95=_0x49c675[_0x2062a1(0x1e9)](_0x4f8c36=>!(_0x50fed3[_0x2062a1(0x21c)]===!0x1&&_0x4f8c36['server_no_context_takeover']||_0x4f8c36[_0x2062a1(0x1dc)]&&(_0x50fed3[_0x2062a1(0x137)]===!0x1||typeof _0x50fed3[_0x2062a1(0x137)]==_0x2062a1(0xed)&&_0x50fed3[_0x2062a1(0x137)]>_0x4f8c36[_0x2062a1(0x1dc)])||typeof _0x50fed3[_0x2062a1(0xa3)]=='number'&&!_0x4f8c36[_0x2062a1(0x20e)]));if(!_0x48bc95)throw new Error(_0x2062a1(0x1c7));return _0x50fed3[_0x2062a1(0x21c)]&&(_0x48bc95[_0x2062a1(0x122)]=!0x0),_0x50fed3[_0x2062a1(0x9d)]&&(_0x48bc95[_0x2062a1(0x217)]=!0x0),typeof _0x50fed3[_0x2062a1(0x137)]=='number'&&(_0x48bc95[_0x2062a1(0x1dc)]=_0x50fed3[_0x2062a1(0x137)]),typeof _0x50fed3[_0x2062a1(0xa3)]=='number'?_0x48bc95[_0x2062a1(0x20e)]=_0x50fed3[_0x2062a1(0xa3)]:(_0x48bc95[_0x2062a1(0x20e)]===!0x0||_0x50fed3[_0x2062a1(0xa3)]===!0x1)&&delete _0x48bc95[_0x2062a1(0x20e)],_0x48bc95;}[_0x52b310(0xa6)](_0xa2d5d4){const _0x46596c=_0x52b310,_0x84c07d=_0xa2d5d4[0x0];if(this[_0x46596c(0x129)]['clientNoContextTakeover']===!0x1&&_0x84c07d[_0x46596c(0x217)])throw new Error(_0x46596c(0x140));if(!_0x84c07d[_0x46596c(0x20e)])typeof this[_0x46596c(0x129)][_0x46596c(0xa3)]==_0x46596c(0xed)&&(_0x84c07d[_0x46596c(0x20e)]=this[_0x46596c(0x129)][_0x46596c(0xa3)]);else{if(this['_options'][_0x46596c(0xa3)]===!0x1||typeof this['_options']['clientMaxWindowBits']==_0x46596c(0xed)&&_0x84c07d[_0x46596c(0x20e)]>this['_options'][_0x46596c(0xa3)])throw new Error(_0x46596c(0x134));}return _0x84c07d;}[_0x52b310(0x1ed)](_0x39816e){const _0x5af8a0=_0x52b310;return _0x39816e[_0x5af8a0(0x216)](_0x26ff6c=>{const _0x256edf=_0x5af8a0;Object[_0x256edf(0x20c)](_0x26ff6c)[_0x256edf(0x216)](_0x4e7f4a=>{const _0x3b4023=_0x256edf;let _0x59e370=_0x26ff6c[_0x4e7f4a];if(_0x59e370[_0x3b4023(0x8f)]>0x1)throw new Error(_0x3b4023(0x20f)+_0x4e7f4a+_0x3b4023(0x1bb));if(_0x59e370=_0x59e370[0x0],_0x4e7f4a===_0x3b4023(0x20e)){if(_0x59e370!==!0x0){const _0x3d83c8=+_0x59e370;if(!Number['isInteger'](_0x3d83c8)||_0x3d83c8<0x8||_0x3d83c8>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x4e7f4a+_0x3b4023(0x1e5)+_0x59e370);_0x59e370=_0x3d83c8;}else{if(!this[_0x3b4023(0x103)])throw new TypeError(_0x3b4023(0x1a8)+_0x4e7f4a+_0x3b4023(0x1e5)+_0x59e370);}}else{if(_0x4e7f4a===_0x3b4023(0x1dc)){const _0x2dce25=+_0x59e370;if(!Number[_0x3b4023(0x222)](_0x2dce25)||_0x2dce25<0x8||_0x2dce25>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x4e7f4a+_0x3b4023(0x1e5)+_0x59e370);_0x59e370=_0x2dce25;}else{if(_0x4e7f4a==='client_no_context_takeover'||_0x4e7f4a===_0x3b4023(0x122)){if(_0x59e370!==!0x0)throw new TypeError(_0x3b4023(0x1a8)+_0x4e7f4a+_0x3b4023(0x1e5)+_0x59e370);}else throw new Error(_0x3b4023(0x1ba)+_0x4e7f4a+'\x22');}}_0x26ff6c[_0x4e7f4a]=_0x59e370;});}),_0x39816e;}[_0x52b310(0x208)](_0x576274,_0xbbb5a6,_0x1ae8b0){const _0x3bf988=_0x52b310;_0x30f383[_0x3bf988(0x174)](_0x473723=>{const _0x2f490a=_0x3bf988;this[_0x2f490a(0x228)](_0x576274,_0xbbb5a6,(_0x385215,_0x4f0417)=>{_0x473723(),_0x1ae8b0(_0x385215,_0x4f0417);});});}[_0x52b310(0x234)](_0x46b012,_0x262ed0,_0x5e6635){const _0x47ff61=_0x52b310;_0x30f383[_0x47ff61(0x174)](_0x4a274c=>{const _0x2a06a4=_0x47ff61;this[_0x2a06a4(0x1b3)](_0x46b012,_0x262ed0,(_0x4e1bef,_0x1eb71c)=>{_0x4a274c(),_0x5e6635(_0x4e1bef,_0x1eb71c);});});}['_decompress'](_0x267ee0,_0x978547,_0x35700d){const _0x272448=_0x52b310,_0x35bc1c=this[_0x272448(0x103)]?_0x272448(0x90):'server';if(!this[_0x272448(0xdd)]){const _0x3894e3=_0x35bc1c+_0x272448(0x224),_0x597455=typeof this[_0x272448(0x1b8)][_0x3894e3]!='number'?_0x34d30[_0x272448(0xa8)]:this['params'][_0x3894e3];this['_inflate']=_0x34d30[_0x272448(0xba)]({...this['_options'][_0x272448(0x18e)],'windowBits':_0x597455}),this[_0x272448(0xdd)][_0x122e7e]=this,this[_0x272448(0xdd)][_0x376f32]=0x0,this[_0x272448(0xdd)][_0x4d0be3]=[],this[_0x272448(0xdd)]['on'](_0x272448(0x107),_0x15edf),this['_inflate']['on'](_0x272448(0x21e),_0xaac08e);}this[_0x272448(0xdd)][_0x70f1d8]=_0x35700d,this[_0x272448(0xdd)][_0x272448(0x1a2)](_0x267ee0),_0x978547&&this[_0x272448(0xdd)][_0x272448(0x1a2)](_0x4b557f),this[_0x272448(0xdd)]['flush'](()=>{const _0x166c1c=_0x272448,_0x281354=this['_inflate'][_0x2ad34d];if(_0x281354){this[_0x166c1c(0xdd)][_0x166c1c(0x187)](),this['_inflate']=null,_0x35700d(_0x281354);return;}const _0x429b35=_0x4aed44[_0x166c1c(0xd5)](this[_0x166c1c(0xdd)][_0x4d0be3],this[_0x166c1c(0xdd)][_0x376f32]);this['_inflate'][_0x166c1c(0x151)]['endEmitted']?(this[_0x166c1c(0xdd)]['close'](),this[_0x166c1c(0xdd)]=null):(this[_0x166c1c(0xdd)][_0x376f32]=0x0,this[_0x166c1c(0xdd)][_0x4d0be3]=[],_0x978547&&this[_0x166c1c(0x1b8)][_0x35bc1c+_0x166c1c(0x19d)]&&this['_inflate'][_0x166c1c(0x1d1)]()),_0x35700d(null,_0x429b35);});}['_compress'](_0x5d6c1b,_0x247bf0,_0x103076){const _0x484dc3=_0x52b310,_0x23a56c=this['_isServer']?_0x484dc3(0x109):_0x484dc3(0x90);if(!this['_deflate']){const _0x598fd8=_0x23a56c+_0x484dc3(0x224),_0x4809fe=typeof this[_0x484dc3(0x1b8)][_0x598fd8]!=_0x484dc3(0xed)?_0x34d30[_0x484dc3(0xa8)]:this['params'][_0x598fd8];this[_0x484dc3(0x10d)]=_0x34d30['createDeflateRaw']({...this[_0x484dc3(0x129)][_0x484dc3(0xef)],'windowBits':_0x4809fe}),this['_deflate'][_0x376f32]=0x0,this[_0x484dc3(0x10d)][_0x4d0be3]=[],this['_deflate']['on'](_0x484dc3(0x21e),_0x6b9fa9);}this['_deflate'][_0x70f1d8]=_0x103076,this[_0x484dc3(0x10d)]['write'](_0x5d6c1b),this[_0x484dc3(0x10d)][_0x484dc3(0x1af)](_0x34d30['Z_SYNC_FLUSH'],()=>{const _0x2a32d9=_0x484dc3;if(!this[_0x2a32d9(0x10d)])return;let _0x168590=_0x4aed44['concat'](this[_0x2a32d9(0x10d)][_0x4d0be3],this[_0x2a32d9(0x10d)][_0x376f32]);_0x247bf0&&(_0x168590=new _0x4253fd(_0x168590[_0x2a32d9(0x141)],_0x168590['byteOffset'],_0x168590[_0x2a32d9(0x8f)]-0x4)),this[_0x2a32d9(0x10d)][_0x70f1d8]=null,this[_0x2a32d9(0x10d)][_0x376f32]=0x0,this['_deflate'][_0x4d0be3]=[],_0x247bf0&&this['params'][_0x23a56c+_0x2a32d9(0x19d)]&&this['_deflate']['reset'](),_0x103076(null,_0x168590);});}}ve=_0x3abb45;function _0x6b9fa9(_0x1b180a){const _0x7dd4d6=_0x52b310;this[_0x4d0be3][_0x7dd4d6(0x1eb)](_0x1b180a),this[_0x376f32]+=_0x1b180a[_0x7dd4d6(0x8f)];}function _0xaac08e(_0x56acb1){const _0x4e7f45=_0x52b310;if(this[_0x376f32]+=_0x56acb1[_0x4e7f45(0x8f)],this[_0x122e7e]['_maxPayload']<0x1||this[_0x376f32]<=this[_0x122e7e][_0x4e7f45(0x1cf)]){this[_0x4d0be3][_0x4e7f45(0x1eb)](_0x56acb1);return;}this[_0x2ad34d]=new RangeError(_0x4e7f45(0x1c8)),this[_0x2ad34d][_0x4e7f45(0xa5)]=_0x4e7f45(0x244),this[_0x2ad34d][_0x25431d]=0x3f1,this['removeListener'](_0x4e7f45(0x21e),_0xaac08e),this[_0x4e7f45(0x1d1)]();}function _0x15edf(_0x4b4740){const _0x53f227=_0x52b310;if(this[_0x122e7e][_0x53f227(0xdd)]=null,this[_0x2ad34d]){this[_0x70f1d8](this[_0x2ad34d]);return;}_0x4b4740[_0x25431d]=0x3ef,this[_0x70f1d8](_0x4b4740);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x1715bb(0x1d0)](Object[_0x1715bb(0xc3)]({'__proto__':null,'default':Dt},Symbol['toStringTag'],{'value':_0x1715bb(0x220)})),Bt=at(Rt);var Ye;function ae(){const _0x3332d9=_0x1715bb;if(Ye)return ie[_0x3332d9(0x8e)];Ye=0x1;const {isUtf8:_0x4479eb}=wt,{hasBlob:_0x5e6c47}=H(),_0x2e0d01=[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 _0x598e09(_0x2b6822){return _0x2b6822>=0x3e8&&_0x2b6822<=0x3f6&&_0x2b6822!==0x3ec&&_0x2b6822!==0x3ed&&_0x2b6822!==0x3ee||_0x2b6822>=0xbb8&&_0x2b6822<=0x1387;}function _0xcb158d(_0x2bc90d){const _0x5a2fa3=_0x3332d9,_0x274e8d=_0x2bc90d[_0x5a2fa3(0x8f)];let _0x40347d=0x0;for(;_0x40347d<_0x274e8d;)if((_0x2bc90d[_0x40347d]&0x80)===0x0)_0x40347d++;else{if((_0x2bc90d[_0x40347d]&0xe0)===0xc0){if(_0x40347d+0x1===_0x274e8d||(_0x2bc90d[_0x40347d+0x1]&0xc0)!==0x80||(_0x2bc90d[_0x40347d]&0xfe)===0xc0)return!0x1;_0x40347d+=0x2;}else{if((_0x2bc90d[_0x40347d]&0xf0)===0xe0){if(_0x40347d+0x2>=_0x274e8d||(_0x2bc90d[_0x40347d+0x1]&0xc0)!==0x80||(_0x2bc90d[_0x40347d+0x2]&0xc0)!==0x80||_0x2bc90d[_0x40347d]===0xe0&&(_0x2bc90d[_0x40347d+0x1]&0xe0)===0x80||_0x2bc90d[_0x40347d]===0xed&&(_0x2bc90d[_0x40347d+0x1]&0xe0)===0xa0)return!0x1;_0x40347d+=0x3;}else{if((_0x2bc90d[_0x40347d]&0xf8)===0xf0){if(_0x40347d+0x3>=_0x274e8d||(_0x2bc90d[_0x40347d+0x1]&0xc0)!==0x80||(_0x2bc90d[_0x40347d+0x2]&0xc0)!==0x80||(_0x2bc90d[_0x40347d+0x3]&0xc0)!==0x80||_0x2bc90d[_0x40347d]===0xf0&&(_0x2bc90d[_0x40347d+0x1]&0xf0)===0x80||_0x2bc90d[_0x40347d]===0xf4&&_0x2bc90d[_0x40347d+0x1]>0x8f||_0x2bc90d[_0x40347d]>0xf4)return!0x1;_0x40347d+=0x4;}else return!0x1;}}}return!0x0;}function _0x59dfbc(_0x32f6d5){const _0x40a8f2=_0x3332d9;return _0x5e6c47&&typeof _0x32f6d5==_0x40a8f2(0x11e)&&typeof _0x32f6d5[_0x40a8f2(0x10c)]==_0x40a8f2(0x212)&&typeof _0x32f6d5[_0x40a8f2(0x196)]==_0x40a8f2(0x1ab)&&typeof _0x32f6d5[_0x40a8f2(0x194)]==_0x40a8f2(0x212)&&(_0x32f6d5[Symbol[_0x40a8f2(0x1e3)]]===_0x40a8f2(0x23d)||_0x32f6d5[Symbol[_0x40a8f2(0x1e3)]]==='File');}if(ie[_0x3332d9(0x8e)]={'isBlob':_0x59dfbc,'isValidStatusCode':_0x598e09,'isValidUTF8':_0xcb158d,'tokenChars':_0x2e0d01},_0x4479eb)ie[_0x3332d9(0x8e)][_0x3332d9(0x1a3)]=function(_0x22c6d1){const _0x1bb9ac=_0x3332d9;return _0x22c6d1[_0x1bb9ac(0x8f)]<0x18?_0xcb158d(_0x22c6d1):_0x4479eb(_0x22c6d1);};else{if(!process['env'][_0x3332d9(0x135)])try{const _0x258317=Bt;ie[_0x3332d9(0x8e)][_0x3332d9(0x1a3)]=function(_0x40dc50){const _0x50119d=_0x3332d9;return _0x40dc50[_0x50119d(0x8f)]<0x20?_0xcb158d(_0x40dc50):_0x258317(_0x40dc50);};}catch{}}return ie[_0x3332d9(0x8e)];}var Se,Ke;function lt(){const _0x516de7=_0x1715bb;if(Ke)return Se;Ke=0x1;const {Writable:_0x2136ce}=oe,_0x4ce01f=he(),{BINARY_TYPES:_0x2b07d8,EMPTY_BUFFER:_0x20f9d8,kStatusCode:_0x2c1f41,kWebSocket:_0x299a6a}=H(),{concat:_0x20da0e,toArrayBuffer:_0x72961c,unmask:_0x49cca6}=ce(),{isValidStatusCode:_0x408857,isValidUTF8:_0x440e4e}=ae(),_0x1498aa=Buffer[Symbol[_0x516de7(0x22d)]],_0x54583c=0x0,_0x3969c1=0x1,_0x1ab6ea=0x2,_0x4bac9d=0x3,_0x13108b=0x4,_0x23bee3=0x5,_0x2b6aad=0x6;class _0x43659d extends _0x2136ce{constructor(_0x2200cb={}){const _0x32fd73=_0x516de7;super(),this[_0x32fd73(0xdc)]=_0x2200cb[_0x32fd73(0x1ea)]!==void 0x0?_0x2200cb[_0x32fd73(0x1ea)]:!0x0,this['_binaryType']=_0x2200cb[_0x32fd73(0x175)]||_0x2b07d8[0x0],this[_0x32fd73(0x17f)]=_0x2200cb[_0x32fd73(0xaf)]||{},this[_0x32fd73(0x103)]=!!_0x2200cb[_0x32fd73(0x1f2)],this[_0x32fd73(0x1cf)]=_0x2200cb[_0x32fd73(0xbf)]|0x0,this[_0x32fd73(0x1e0)]=!!_0x2200cb[_0x32fd73(0x197)],this[_0x299a6a]=void 0x0,this['_bufferedBytes']=0x0,this[_0x32fd73(0x12c)]=[],this['_compressed']=!0x1,this[_0x32fd73(0x23a)]=0x0,this[_0x32fd73(0x1bd)]=void 0x0,this[_0x32fd73(0x242)]=0x0,this[_0x32fd73(0x233)]=!0x1,this[_0x32fd73(0x219)]=!0x1,this[_0x32fd73(0xf3)]=0x0,this['_totalPayloadLength']=0x0,this[_0x32fd73(0x226)]=0x0,this[_0x32fd73(0xee)]=[],this[_0x32fd73(0x1e6)]=!0x1,this[_0x32fd73(0x1a7)]=!0x1,this[_0x32fd73(0x22a)]=_0x54583c;}[_0x516de7(0x11d)](_0x495371,_0x41bea3,_0x17cd88){const _0x1a450b=_0x516de7;if(this[_0x1a450b(0xf3)]===0x8&&this[_0x1a450b(0x22a)]==_0x54583c)return _0x17cd88();this[_0x1a450b(0x159)]+=_0x495371[_0x1a450b(0x8f)],this[_0x1a450b(0x12c)][_0x1a450b(0x1eb)](_0x495371),this[_0x1a450b(0x113)](_0x17cd88);}['consume'](_0x4a6be7){const _0x3b0c30=_0x516de7;if(this['_bufferedBytes']-=_0x4a6be7,_0x4a6be7===this[_0x3b0c30(0x12c)][0x0][_0x3b0c30(0x8f)])return this[_0x3b0c30(0x12c)][_0x3b0c30(0x1d8)]();if(_0x4a6be7<this[_0x3b0c30(0x12c)][0x0][_0x3b0c30(0x8f)]){const _0x2fddc=this[_0x3b0c30(0x12c)][0x0];return this[_0x3b0c30(0x12c)][0x0]=new _0x1498aa(_0x2fddc[_0x3b0c30(0x141)],_0x2fddc[_0x3b0c30(0x123)]+_0x4a6be7,_0x2fddc[_0x3b0c30(0x8f)]-_0x4a6be7),new _0x1498aa(_0x2fddc['buffer'],_0x2fddc[_0x3b0c30(0x123)],_0x4a6be7);}const _0x8cef63=Buffer[_0x3b0c30(0xbe)](_0x4a6be7);do{const _0x1b6a17=this[_0x3b0c30(0x12c)][0x0],_0x42d9c0=_0x8cef63[_0x3b0c30(0x8f)]-_0x4a6be7;_0x4a6be7>=_0x1b6a17[_0x3b0c30(0x8f)]?_0x8cef63[_0x3b0c30(0x155)](this[_0x3b0c30(0x12c)][_0x3b0c30(0x1d8)](),_0x42d9c0):(_0x8cef63['set'](new Uint8Array(_0x1b6a17[_0x3b0c30(0x141)],_0x1b6a17[_0x3b0c30(0x123)],_0x4a6be7),_0x42d9c0),this[_0x3b0c30(0x12c)][0x0]=new _0x1498aa(_0x1b6a17[_0x3b0c30(0x141)],_0x1b6a17[_0x3b0c30(0x123)]+_0x4a6be7,_0x1b6a17[_0x3b0c30(0x8f)]-_0x4a6be7)),_0x4a6be7-=_0x1b6a17['length'];}while(_0x4a6be7>0x0);return _0x8cef63;}[_0x516de7(0x113)](_0x23c693){const _0x5854d6=_0x516de7;this['_loop']=!0x0;do switch(this[_0x5854d6(0x22a)]){case _0x54583c:this[_0x5854d6(0x210)](_0x23c693);break;case _0x3969c1:this[_0x5854d6(0xb2)](_0x23c693);break;case _0x1ab6ea:this[_0x5854d6(0x169)](_0x23c693);break;case _0x4bac9d:this[_0x5854d6(0x1cc)]();break;case _0x13108b:this[_0x5854d6(0x1d3)](_0x23c693);break;case _0x23bee3:case _0x2b6aad:this['_loop']=!0x1;return;}while(this[_0x5854d6(0x1a7)]);this['_errored']||_0x23c693();}[_0x516de7(0x210)](_0x592f48){const _0x3955e7=_0x516de7;if(this[_0x3955e7(0x159)]<0x2){this[_0x3955e7(0x1a7)]=!0x1;return;}const _0x5ebfc9=this[_0x3955e7(0x144)](0x2);if((_0x5ebfc9[0x0]&0x30)!==0x0){const _0x529ed3=this[_0x3955e7(0x14b)](RangeError,_0x3955e7(0x100),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x592f48(_0x529ed3);return;}const _0xd3f3f8=(_0x5ebfc9[0x0]&0x40)===0x40;if(_0xd3f3f8&&!this[_0x3955e7(0x17f)][_0x4ce01f['extensionName']]){const _0x4a9d3f=this[_0x3955e7(0x14b)](RangeError,_0x3955e7(0x112),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x592f48(_0x4a9d3f);return;}if(this[_0x3955e7(0x219)]=(_0x5ebfc9[0x0]&0x80)===0x80,this[_0x3955e7(0xf3)]=_0x5ebfc9[0x0]&0xf,this[_0x3955e7(0x23a)]=_0x5ebfc9[0x1]&0x7f,this[_0x3955e7(0xf3)]===0x0){if(_0xd3f3f8){const _0x4dd10c=this[_0x3955e7(0x14b)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x3955e7(0x1c2));_0x592f48(_0x4dd10c);return;}if(!this['_fragmented']){const _0x2a01a9=this[_0x3955e7(0x14b)](RangeError,'invalid\x20opcode\x200',!0x0,0x3ea,_0x3955e7(0xeb));_0x592f48(_0x2a01a9);return;}this[_0x3955e7(0xf3)]=this[_0x3955e7(0x242)];}else{if(this[_0x3955e7(0xf3)]===0x1||this[_0x3955e7(0xf3)]===0x2){if(this[_0x3955e7(0x242)]){const _0x2ba0a3=this['createError'](RangeError,'invalid\x20opcode\x20'+this[_0x3955e7(0xf3)],!0x0,0x3ea,_0x3955e7(0xeb));_0x592f48(_0x2ba0a3);return;}this[_0x3955e7(0xa7)]=_0xd3f3f8;}else{if(this[_0x3955e7(0xf3)]>0x7&&this[_0x3955e7(0xf3)]<0xb){if(!this['_fin']){const _0x3c304e=this[_0x3955e7(0x14b)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,'WS_ERR_EXPECTED_FIN');_0x592f48(_0x3c304e);return;}if(_0xd3f3f8){const _0x592239=this[_0x3955e7(0x14b)](RangeError,_0x3955e7(0x112),!0x0,0x3ea,_0x3955e7(0x1c2));_0x592f48(_0x592239);return;}if(this['_payloadLength']>0x7d||this[_0x3955e7(0xf3)]===0x8&&this[_0x3955e7(0x23a)]===0x1){const _0x3d2f0a=this[_0x3955e7(0x14b)](RangeError,_0x3955e7(0xb4)+this['_payloadLength'],!0x0,0x3ea,_0x3955e7(0x227));_0x592f48(_0x3d2f0a);return;}}else{const _0x2ce340=this[_0x3955e7(0x14b)](RangeError,_0x3955e7(0x13f)+this['_opcode'],!0x0,0x3ea,_0x3955e7(0xeb));_0x592f48(_0x2ce340);return;}}}if(!this['_fin']&&!this[_0x3955e7(0x242)]&&(this['_fragmented']=this[_0x3955e7(0xf3)]),this[_0x3955e7(0x233)]=(_0x5ebfc9[0x1]&0x80)===0x80,this[_0x3955e7(0x103)]){if(!this[_0x3955e7(0x233)]){const _0x2e5ae1=this[_0x3955e7(0x14b)](RangeError,_0x3955e7(0x231),!0x0,0x3ea,_0x3955e7(0x1fc));_0x592f48(_0x2e5ae1);return;}}else{if(this['_masked']){const _0x3dea1c=this[_0x3955e7(0x14b)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x3955e7(0x7f));_0x592f48(_0x3dea1c);return;}}this[_0x3955e7(0x23a)]===0x7e?this[_0x3955e7(0x22a)]=_0x3969c1:this[_0x3955e7(0x23a)]===0x7f?this['_state']=_0x1ab6ea:this[_0x3955e7(0x111)](_0x592f48);}[_0x516de7(0xb2)](_0x2fa522){const _0x234c25=_0x516de7;if(this[_0x234c25(0x159)]<0x2){this[_0x234c25(0x1a7)]=!0x1;return;}this[_0x234c25(0x23a)]=this[_0x234c25(0x144)](0x2)['readUInt16BE'](0x0),this[_0x234c25(0x111)](_0x2fa522);}[_0x516de7(0x169)](_0x16566b){const _0x2fc40d=_0x516de7;if(this[_0x2fc40d(0x159)]<0x8){this[_0x2fc40d(0x1a7)]=!0x1;return;}const _0x102b31=this[_0x2fc40d(0x144)](0x8),_0x10db3e=_0x102b31[_0x2fc40d(0xf8)](0x0);if(_0x10db3e>Math[_0x2fc40d(0xd6)](0x2,0x15)-0x1){const _0x367d20=this[_0x2fc40d(0x14b)](RangeError,_0x2fc40d(0xac),!0x1,0x3f1,_0x2fc40d(0xf9));_0x16566b(_0x367d20);return;}this[_0x2fc40d(0x23a)]=_0x10db3e*Math[_0x2fc40d(0xd6)](0x2,0x20)+_0x102b31[_0x2fc40d(0xf8)](0x4),this[_0x2fc40d(0x111)](_0x16566b);}[_0x516de7(0x111)](_0x15504a){const _0x881380=_0x516de7;if(this['_payloadLength']&&this[_0x881380(0xf3)]<0x8&&(this['_totalPayloadLength']+=this[_0x881380(0x23a)],this[_0x881380(0x14f)]>this[_0x881380(0x1cf)]&&this['_maxPayload']>0x0)){const _0x206b72=this[_0x881380(0x14b)](RangeError,_0x881380(0x1c8),!0x1,0x3f1,'WS_ERR_UNSUPPORTED_MESSAGE_LENGTH');_0x15504a(_0x206b72);return;}this[_0x881380(0x233)]?this[_0x881380(0x22a)]=_0x4bac9d:this[_0x881380(0x22a)]=_0x13108b;}['getMask'](){const _0x1bb635=_0x516de7;if(this[_0x1bb635(0x159)]<0x4){this[_0x1bb635(0x1a7)]=!0x1;return;}this['_mask']=this[_0x1bb635(0x144)](0x4),this['_state']=_0x13108b;}['getData'](_0x3fdb3c){const _0x33a720=_0x516de7;let _0x495f9e=_0x20f9d8;if(this[_0x33a720(0x23a)]){if(this[_0x33a720(0x159)]<this[_0x33a720(0x23a)]){this[_0x33a720(0x1a7)]=!0x1;return;}_0x495f9e=this['consume'](this['_payloadLength']),this['_masked']&&(this['_mask'][0x0]|this[_0x33a720(0x1bd)][0x1]|this[_0x33a720(0x1bd)][0x2]|this[_0x33a720(0x1bd)][0x3])!==0x0&&_0x49cca6(_0x495f9e,this[_0x33a720(0x1bd)]);}if(this['_opcode']>0x7){this[_0x33a720(0x1b6)](_0x495f9e,_0x3fdb3c);return;}if(this[_0x33a720(0xa7)]){this[_0x33a720(0x22a)]=_0x23bee3,this['decompress'](_0x495f9e,_0x3fdb3c);return;}_0x495f9e[_0x33a720(0x8f)]&&(this['_messageLength']=this['_totalPayloadLength'],this[_0x33a720(0xee)][_0x33a720(0x1eb)](_0x495f9e)),this[_0x33a720(0x1dd)](_0x3fdb3c);}[_0x516de7(0x208)](_0x505b5d,_0x2cd593){const _0x11af35=_0x516de7;this[_0x11af35(0x17f)][_0x4ce01f[_0x11af35(0xd1)]]['decompress'](_0x505b5d,this['_fin'],(_0x14d418,_0x4be694)=>{const _0x1967fa=_0x11af35;if(_0x14d418)return _0x2cd593(_0x14d418);if(_0x4be694[_0x1967fa(0x8f)]){if(this['_messageLength']+=_0x4be694[_0x1967fa(0x8f)],this['_messageLength']>this[_0x1967fa(0x1cf)]&&this['_maxPayload']>0x0){const _0xca7742=this[_0x1967fa(0x14b)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x1967fa(0x244));_0x2cd593(_0xca7742);return;}this[_0x1967fa(0xee)][_0x1967fa(0x1eb)](_0x4be694);}this[_0x1967fa(0x1dd)](_0x2cd593),this[_0x1967fa(0x22a)]===_0x54583c&&this[_0x1967fa(0x113)](_0x2cd593);});}[_0x516de7(0x1dd)](_0x8ce2ba){const _0x2048bd=_0x516de7;if(!this[_0x2048bd(0x219)]){this[_0x2048bd(0x22a)]=_0x54583c;return;}const _0x43b8b9=this[_0x2048bd(0x226)],_0x439d6f=this['_fragments'];if(this[_0x2048bd(0x14f)]=0x0,this[_0x2048bd(0x226)]=0x0,this['_fragmented']=0x0,this[_0x2048bd(0xee)]=[],this[_0x2048bd(0xf3)]===0x2){let _0x308ad2;this[_0x2048bd(0x19b)]===_0x2048bd(0xcc)?_0x308ad2=_0x20da0e(_0x439d6f,_0x43b8b9):this[_0x2048bd(0x19b)]==='arraybuffer'?_0x308ad2=_0x72961c(_0x20da0e(_0x439d6f,_0x43b8b9)):this[_0x2048bd(0x19b)]===_0x2048bd(0x18b)?_0x308ad2=new Blob(_0x439d6f):_0x308ad2=_0x439d6f,this['_allowSynchronousEvents']?(this['emit'](_0x2048bd(0xd9),_0x308ad2,!0x0),this[_0x2048bd(0x22a)]=_0x54583c):(this['_state']=_0x2b6aad,setImmediate(()=>{const _0x52bc0d=_0x2048bd;this[_0x52bc0d(0x94)]('message',_0x308ad2,!0x0),this['_state']=_0x54583c,this[_0x52bc0d(0x113)](_0x8ce2ba);}));}else{const _0xd0622f=_0x20da0e(_0x439d6f,_0x43b8b9);if(!this[_0x2048bd(0x1e0)]&&!_0x440e4e(_0xd0622f)){const _0x584666=this['createError'](Error,_0x2048bd(0x9e),!0x0,0x3ef,_0x2048bd(0xde));_0x8ce2ba(_0x584666);return;}this[_0x2048bd(0x22a)]===_0x23bee3||this[_0x2048bd(0xdc)]?(this['emit'](_0x2048bd(0xd9),_0xd0622f,!0x1),this[_0x2048bd(0x22a)]=_0x54583c):(this[_0x2048bd(0x22a)]=_0x2b6aad,setImmediate(()=>{const _0x1c20e7=_0x2048bd;this[_0x1c20e7(0x94)](_0x1c20e7(0xd9),_0xd0622f,!0x1),this[_0x1c20e7(0x22a)]=_0x54583c,this[_0x1c20e7(0x113)](_0x8ce2ba);}));}}['controlMessage'](_0x30ea2f,_0x4632b1){const _0x526cf6=_0x516de7;if(this[_0x526cf6(0xf3)]===0x8){if(_0x30ea2f[_0x526cf6(0x8f)]===0x0)this[_0x526cf6(0x1a7)]=!0x1,this['emit'](_0x526cf6(0x116),0x3ed,_0x20f9d8),this[_0x526cf6(0x182)]();else{const _0x5022b0=_0x30ea2f[_0x526cf6(0x211)](0x0);if(!_0x408857(_0x5022b0)){const _0x50772e=this[_0x526cf6(0x14b)](RangeError,_0x526cf6(0x1db)+_0x5022b0,!0x0,0x3ea,_0x526cf6(0x128));_0x4632b1(_0x50772e);return;}const _0x574fca=new _0x1498aa(_0x30ea2f['buffer'],_0x30ea2f[_0x526cf6(0x123)]+0x2,_0x30ea2f['length']-0x2);if(!this[_0x526cf6(0x1e0)]&&!_0x440e4e(_0x574fca)){const _0xd0727c=this[_0x526cf6(0x14b)](Error,_0x526cf6(0x9e),!0x0,0x3ef,_0x526cf6(0xde));_0x4632b1(_0xd0727c);return;}this['_loop']=!0x1,this[_0x526cf6(0x94)](_0x526cf6(0x116),_0x5022b0,_0x574fca),this[_0x526cf6(0x182)]();}this[_0x526cf6(0x22a)]=_0x54583c;return;}this['_allowSynchronousEvents']?(this['emit'](this[_0x526cf6(0xf3)]===0x9?_0x526cf6(0x110):_0x526cf6(0xdb),_0x30ea2f),this[_0x526cf6(0x22a)]=_0x54583c):(this[_0x526cf6(0x22a)]=_0x2b6aad,setImmediate(()=>{const _0x48bab1=_0x526cf6;this[_0x48bab1(0x94)](this[_0x48bab1(0xf3)]===0x9?_0x48bab1(0x110):_0x48bab1(0xdb),_0x30ea2f),this[_0x48bab1(0x22a)]=_0x54583c,this[_0x48bab1(0x113)](_0x4632b1);}));}['createError'](_0x230b49,_0x281ca6,_0x3af18d,_0x291153,_0xacea9){const _0x2a174f=_0x516de7;this['_loop']=!0x1,this['_errored']=!0x0;const _0x3390f6=new _0x230b49(_0x3af18d?_0x2a174f(0xe3)+_0x281ca6:_0x281ca6);return Error[_0x2a174f(0x19e)](_0x3390f6,this[_0x2a174f(0x14b)]),_0x3390f6['code']=_0xacea9,_0x3390f6[_0x2c1f41]=_0x291153,_0x3390f6;}}return Se=_0x43659d,Se;}var Ee,Xe;function ft(){const _0x2d0ace=_0x1715bb;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x5286b8}=oe,{randomFillSync:_0x20af70}=Le,_0xa2924e=he(),{EMPTY_BUFFER:_0x3175c3,kWebSocket:_0x2746e1,NOOP:_0x203248}=H(),{isBlob:_0x715296,isValidStatusCode:_0x4244dc}=ae(),{mask:_0xbe9238,toBuffer:_0x14d57f}=ce(),_0x5102a0=Symbol(_0x2d0ace(0x1fd)),_0x4ce3b6=Buffer[_0x2d0ace(0x19c)](0x4),_0x358b11=0x8*0x400;let _0x1af3c7,_0x25389a=_0x358b11;const _0xb1651b=0x0,_0x3f9420=0x1,_0x25b766=0x2;class _0x5174c5{constructor(_0x5b82cd,_0x24f854,_0x51f3ce){const _0x2e7117=_0x2d0ace;this['_extensions']=_0x24f854||{},_0x51f3ce&&(this[_0x2e7117(0x21a)]=_0x51f3ce,this['_maskBuffer']=Buffer['alloc'](0x4)),this[_0x2e7117(0xc1)]=_0x5b82cd,this['_firstFragment']=!0x0,this['_compress']=!0x1,this[_0x2e7117(0x159)]=0x0,this[_0x2e7117(0x206)]=[],this['_state']=_0xb1651b,this['onerror']=_0x203248,this[_0x2746e1]=void 0x0;}static[_0x2d0ace(0x85)](_0x4e7677,_0x2c1feb){const _0xceaa9f=_0x2d0ace;let _0x365bd9,_0x5e8cdf=!0x1,_0x5ada01=0x2,_0x451eed=!0x1;_0x2c1feb['mask']&&(_0x365bd9=_0x2c1feb[_0xceaa9f(0x12f)]||_0x4ce3b6,_0x2c1feb[_0xceaa9f(0x104)]?_0x2c1feb[_0xceaa9f(0x104)](_0x365bd9):(_0x25389a===_0x358b11&&(_0x1af3c7===void 0x0&&(_0x1af3c7=Buffer[_0xceaa9f(0x19c)](_0x358b11)),_0x20af70(_0x1af3c7,0x0,_0x358b11),_0x25389a=0x0),_0x365bd9[0x0]=_0x1af3c7[_0x25389a++],_0x365bd9[0x1]=_0x1af3c7[_0x25389a++],_0x365bd9[0x2]=_0x1af3c7[_0x25389a++],_0x365bd9[0x3]=_0x1af3c7[_0x25389a++]),_0x451eed=(_0x365bd9[0x0]|_0x365bd9[0x1]|_0x365bd9[0x2]|_0x365bd9[0x3])===0x0,_0x5ada01=0x6);let _0x584e21;typeof _0x4e7677==_0xceaa9f(0x1ab)?(!_0x2c1feb[_0xceaa9f(0xe2)]||_0x451eed)&&_0x2c1feb[_0x5102a0]!==void 0x0?_0x584e21=_0x2c1feb[_0x5102a0]:(_0x4e7677=Buffer['from'](_0x4e7677),_0x584e21=_0x4e7677[_0xceaa9f(0x8f)]):(_0x584e21=_0x4e7677['length'],_0x5e8cdf=_0x2c1feb[_0xceaa9f(0xe2)]&&_0x2c1feb[_0xceaa9f(0x1a9)]&&!_0x451eed);let _0x561b45=_0x584e21;_0x584e21>=0x10000?(_0x5ada01+=0x8,_0x561b45=0x7f):_0x584e21>0x7d&&(_0x5ada01+=0x2,_0x561b45=0x7e);const _0x5c30d2=Buffer[_0xceaa9f(0xbe)](_0x5e8cdf?_0x584e21+_0x5ada01:_0x5ada01);return _0x5c30d2[0x0]=_0x2c1feb[_0xceaa9f(0x15e)]?_0x2c1feb[_0xceaa9f(0x150)]|0x80:_0x2c1feb[_0xceaa9f(0x150)],_0x2c1feb[_0xceaa9f(0x16a)]&&(_0x5c30d2[0x0]|=0x40),_0x5c30d2[0x1]=_0x561b45,_0x561b45===0x7e?_0x5c30d2[_0xceaa9f(0x11b)](_0x584e21,0x2):_0x561b45===0x7f&&(_0x5c30d2[0x2]=_0x5c30d2[0x3]=0x0,_0x5c30d2[_0xceaa9f(0xe0)](_0x584e21,0x4,0x6)),_0x2c1feb['mask']?(_0x5c30d2[0x1]|=0x80,_0x5c30d2[_0x5ada01-0x4]=_0x365bd9[0x0],_0x5c30d2[_0x5ada01-0x3]=_0x365bd9[0x1],_0x5c30d2[_0x5ada01-0x2]=_0x365bd9[0x2],_0x5c30d2[_0x5ada01-0x1]=_0x365bd9[0x3],_0x451eed?[_0x5c30d2,_0x4e7677]:_0x5e8cdf?(_0xbe9238(_0x4e7677,_0x365bd9,_0x5c30d2,_0x5ada01,_0x584e21),[_0x5c30d2]):(_0xbe9238(_0x4e7677,_0x365bd9,_0x4e7677,0x0,_0x584e21),[_0x5c30d2,_0x4e7677])):[_0x5c30d2,_0x4e7677];}[_0x2d0ace(0x187)](_0x242dbc,_0x4a7861,_0x393645,_0x5642b3){const _0x151851=_0x2d0ace;let _0x3c2924;if(_0x242dbc===void 0x0)_0x3c2924=_0x3175c3;else{if(typeof _0x242dbc!=_0x151851(0xed)||!_0x4244dc(_0x242dbc))throw new TypeError(_0x151851(0xfe));if(_0x4a7861===void 0x0||!_0x4a7861[_0x151851(0x8f)])_0x3c2924=Buffer[_0x151851(0xbe)](0x2),_0x3c2924[_0x151851(0x11b)](_0x242dbc,0x0);else{const _0x48e3bc=Buffer[_0x151851(0x177)](_0x4a7861);if(_0x48e3bc>0x7b)throw new RangeError(_0x151851(0xec));_0x3c2924=Buffer[_0x151851(0xbe)](0x2+_0x48e3bc),_0x3c2924[_0x151851(0x11b)](_0x242dbc,0x0),typeof _0x4a7861==_0x151851(0x1ab)?_0x3c2924['write'](_0x4a7861,0x2):_0x3c2924['set'](_0x4a7861,0x2);}}const _0x53cc7c={[_0x5102a0]:_0x3c2924[_0x151851(0x8f)],'fin':!0x0,'generateMask':this[_0x151851(0x21a)],'mask':_0x393645,'maskBuffer':this[_0x151851(0x14c)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x151851(0x22a)]!==_0xb1651b?this[_0x151851(0x158)]([this[_0x151851(0x243)],_0x3c2924,!0x1,_0x53cc7c,_0x5642b3]):this[_0x151851(0x95)](_0x5174c5[_0x151851(0x85)](_0x3c2924,_0x53cc7c),_0x5642b3);}['ping'](_0x450462,_0x3eac5d,_0x23205b){const _0x571339=_0x2d0ace;let _0xa08446,_0x4cdcbf;if(typeof _0x450462==_0x571339(0x1ab)?(_0xa08446=Buffer['byteLength'](_0x450462),_0x4cdcbf=!0x1):_0x715296(_0x450462)?(_0xa08446=_0x450462[_0x571339(0x108)],_0x4cdcbf=!0x1):(_0x450462=_0x14d57f(_0x450462),_0xa08446=_0x450462[_0x571339(0x8f)],_0x4cdcbf=_0x14d57f[_0x571339(0x1a9)]),_0xa08446>0x7d)throw new RangeError(_0x571339(0x166));const _0x2ade71={[_0x5102a0]:_0xa08446,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x3eac5d,'maskBuffer':this[_0x571339(0x14c)],'opcode':0x9,'readOnly':_0x4cdcbf,'rsv1':!0x1};_0x715296(_0x450462)?this['_state']!==_0xb1651b?this[_0x571339(0x158)]([this[_0x571339(0xd8)],_0x450462,!0x1,_0x2ade71,_0x23205b]):this[_0x571339(0xd8)](_0x450462,!0x1,_0x2ade71,_0x23205b):this['_state']!==_0xb1651b?this[_0x571339(0x158)]([this[_0x571339(0x243)],_0x450462,!0x1,_0x2ade71,_0x23205b]):this[_0x571339(0x95)](_0x5174c5[_0x571339(0x85)](_0x450462,_0x2ade71),_0x23205b);}['pong'](_0x1f1e3e,_0x5707a8,_0x20af84){const _0x494a0b=_0x2d0ace;let _0x5affd8,_0x345cf7;if(typeof _0x1f1e3e==_0x494a0b(0x1ab)?(_0x5affd8=Buffer[_0x494a0b(0x177)](_0x1f1e3e),_0x345cf7=!0x1):_0x715296(_0x1f1e3e)?(_0x5affd8=_0x1f1e3e['size'],_0x345cf7=!0x1):(_0x1f1e3e=_0x14d57f(_0x1f1e3e),_0x5affd8=_0x1f1e3e['length'],_0x345cf7=_0x14d57f['readOnly']),_0x5affd8>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x3504e0={[_0x5102a0]:_0x5affd8,'fin':!0x0,'generateMask':this[_0x494a0b(0x21a)],'mask':_0x5707a8,'maskBuffer':this[_0x494a0b(0x14c)],'opcode':0xa,'readOnly':_0x345cf7,'rsv1':!0x1};_0x715296(_0x1f1e3e)?this[_0x494a0b(0x22a)]!==_0xb1651b?this[_0x494a0b(0x158)]([this[_0x494a0b(0xd8)],_0x1f1e3e,!0x1,_0x3504e0,_0x20af84]):this['getBlobData'](_0x1f1e3e,!0x1,_0x3504e0,_0x20af84):this[_0x494a0b(0x22a)]!==_0xb1651b?this[_0x494a0b(0x158)]([this[_0x494a0b(0x243)],_0x1f1e3e,!0x1,_0x3504e0,_0x20af84]):this[_0x494a0b(0x95)](_0x5174c5[_0x494a0b(0x85)](_0x1f1e3e,_0x3504e0),_0x20af84);}[_0x2d0ace(0x1df)](_0x297b93,_0x403026,_0x34245c){const _0x255739=_0x2d0ace,_0x3cf972=this[_0x255739(0x17f)][_0xa2924e[_0x255739(0xd1)]];let _0x4626cf=_0x403026[_0x255739(0xf5)]?0x2:0x1,_0x2a892e=_0x403026['compress'],_0x3f39dc,_0x4d831e;typeof _0x297b93==_0x255739(0x1ab)?(_0x3f39dc=Buffer[_0x255739(0x177)](_0x297b93),_0x4d831e=!0x1):_0x715296(_0x297b93)?(_0x3f39dc=_0x297b93[_0x255739(0x108)],_0x4d831e=!0x1):(_0x297b93=_0x14d57f(_0x297b93),_0x3f39dc=_0x297b93[_0x255739(0x8f)],_0x4d831e=_0x14d57f['readOnly']),this[_0x255739(0xd0)]?(this[_0x255739(0xd0)]=!0x1,_0x2a892e&&_0x3cf972&&_0x3cf972[_0x255739(0x1b8)][_0x3cf972[_0x255739(0x103)]?_0x255739(0x122):_0x255739(0x217)]&&(_0x2a892e=_0x3f39dc>=_0x3cf972[_0x255739(0x1b0)]),this[_0x255739(0x1b3)]=_0x2a892e):(_0x2a892e=!0x1,_0x4626cf=0x0),_0x403026[_0x255739(0x15e)]&&(this[_0x255739(0xd0)]=!0x0);const _0x73c725={[_0x5102a0]:_0x3f39dc,'fin':_0x403026[_0x255739(0x15e)],'generateMask':this[_0x255739(0x21a)],'mask':_0x403026[_0x255739(0xe2)],'maskBuffer':this[_0x255739(0x14c)],'opcode':_0x4626cf,'readOnly':_0x4d831e,'rsv1':_0x2a892e};_0x715296(_0x297b93)?this[_0x255739(0x22a)]!==_0xb1651b?this[_0x255739(0x158)]([this['getBlobData'],_0x297b93,this['_compress'],_0x73c725,_0x34245c]):this[_0x255739(0xd8)](_0x297b93,this[_0x255739(0x1b3)],_0x73c725,_0x34245c):this[_0x255739(0x22a)]!==_0xb1651b?this[_0x255739(0x158)]([this['dispatch'],_0x297b93,this[_0x255739(0x1b3)],_0x73c725,_0x34245c]):this[_0x255739(0x243)](_0x297b93,this[_0x255739(0x1b3)],_0x73c725,_0x34245c);}['getBlobData'](_0x34121e,_0x5b52b5,_0x59977d,_0x307473){const _0x53ba84=_0x2d0ace;this['_bufferedBytes']+=_0x59977d[_0x5102a0],this[_0x53ba84(0x22a)]=_0x25b766,_0x34121e[_0x53ba84(0x10c)]()[_0x53ba84(0x240)](_0x182ece=>{const _0x119e3c=_0x53ba84;if(this[_0x119e3c(0xc1)][_0x119e3c(0x114)]){const _0x54d2e9=new Error(_0x119e3c(0x15f));process[_0x119e3c(0x163)](_0x1efcf9,this,_0x54d2e9,_0x307473);return;}this[_0x119e3c(0x159)]-=_0x59977d[_0x5102a0];const _0x28c4b3=_0x14d57f(_0x182ece);_0x5b52b5?this['dispatch'](_0x28c4b3,_0x5b52b5,_0x59977d,_0x307473):(this['_state']=_0xb1651b,this[_0x119e3c(0x95)](_0x5174c5[_0x119e3c(0x85)](_0x28c4b3,_0x59977d),_0x307473),this[_0x119e3c(0x93)]());})[_0x53ba84(0xb8)](_0x458d1f=>{const _0x157d4d=_0x53ba84;process[_0x157d4d(0x163)](_0x3a93e9,this,_0x458d1f,_0x307473);});}['dispatch'](_0x27834f,_0x2a9d1f,_0x4794f2,_0x2550c6){const _0x47e093=_0x2d0ace;if(!_0x2a9d1f){this['sendFrame'](_0x5174c5[_0x47e093(0x85)](_0x27834f,_0x4794f2),_0x2550c6);return;}const _0x4b0063=this[_0x47e093(0x17f)][_0xa2924e['extensionName']];this['_bufferedBytes']+=_0x4794f2[_0x5102a0],this['_state']=_0x3f9420,_0x4b0063['compress'](_0x27834f,_0x4794f2[_0x47e093(0x15e)],(_0x338403,_0x5d3961)=>{const _0x484e32=_0x47e093;if(this[_0x484e32(0xc1)][_0x484e32(0x114)]){const _0x3e168f=new Error(_0x484e32(0xd2));_0x1efcf9(this,_0x3e168f,_0x2550c6);return;}this[_0x484e32(0x159)]-=_0x4794f2[_0x5102a0],this[_0x484e32(0x22a)]=_0xb1651b,_0x4794f2[_0x484e32(0x1a9)]=!0x1,this['sendFrame'](_0x5174c5[_0x484e32(0x85)](_0x5d3961,_0x4794f2),_0x2550c6),this[_0x484e32(0x93)]();});}[_0x2d0ace(0x93)](){const _0xbc8f34=_0x2d0ace;for(;this[_0xbc8f34(0x22a)]===_0xb1651b&&this[_0xbc8f34(0x206)][_0xbc8f34(0x8f)];){const _0x1900f7=this[_0xbc8f34(0x206)]['shift']();this[_0xbc8f34(0x159)]-=_0x1900f7[0x3][_0x5102a0],Reflect['apply'](_0x1900f7[0x0],this,_0x1900f7[_0xbc8f34(0xd4)](0x1));}}[_0x2d0ace(0x158)](_0x23263e){const _0x14bd8a=_0x2d0ace;this[_0x14bd8a(0x159)]+=_0x23263e[0x3][_0x5102a0],this[_0x14bd8a(0x206)][_0x14bd8a(0x1eb)](_0x23263e);}[_0x2d0ace(0x95)](_0x11859f,_0x2411cd){const _0x168583=_0x2d0ace;_0x11859f['length']===0x2?(this['_socket'][_0x168583(0x236)](),this[_0x168583(0xc1)][_0x168583(0x1a2)](_0x11859f[0x0]),this[_0x168583(0xc1)][_0x168583(0x1a2)](_0x11859f[0x1],_0x2411cd),this['_socket'][_0x168583(0x167)]()):this[_0x168583(0xc1)][_0x168583(0x1a2)](_0x11859f[0x0],_0x2411cd);}}Ee=_0x5174c5;function _0x1efcf9(_0x2577d1,_0x21c670,_0xaa7ec9){const _0x42e40a=_0x2d0ace;typeof _0xaa7ec9=='function'&&_0xaa7ec9(_0x21c670);for(let _0xa4f92b=0x0;_0xa4f92b<_0x2577d1[_0x42e40a(0x206)][_0x42e40a(0x8f)];_0xa4f92b++){const _0x1ca892=_0x2577d1[_0x42e40a(0x206)][_0xa4f92b],_0x4ead70=_0x1ca892[_0x1ca892[_0x42e40a(0x8f)]-0x1];typeof _0x4ead70==_0x42e40a(0x212)&&_0x4ead70(_0x21c670);}}function _0x3a93e9(_0x1af162,_0x461c2c,_0x5e0a74){const _0x31f229=_0x2d0ace;_0x1efcf9(_0x1af162,_0x461c2c,_0x5e0a74),_0x1af162[_0x31f229(0xbd)](_0x461c2c);}return Ee;}var xe,Ze;function It(){const _0x229687=_0x1715bb;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x1116bd,kListener:_0x472ed7}=H(),_0x5bf420=Symbol(_0x229687(0x1f7)),_0x5de265=Symbol(_0x229687(0x152)),_0x539aa1=Symbol(_0x229687(0xcf)),_0x3271f9=Symbol('kMessage'),_0x4835e2=Symbol('kReason'),_0x2dfc0d=Symbol(_0x229687(0x1fb)),_0x164515=Symbol(_0x229687(0x1b4)),_0x47561d=Symbol('kWasClean');class _0x5351d2{constructor(_0x505b9d){this[_0x2dfc0d]=null,this[_0x164515]=_0x505b9d;}get[_0x229687(0xa1)](){return this[_0x2dfc0d];}get[_0x229687(0x196)](){return this[_0x164515];}}Object['defineProperty'](_0x5351d2[_0x229687(0x91)],'target',{'enumerable':!0x0}),Object[_0x229687(0xc3)](_0x5351d2[_0x229687(0x91)],_0x229687(0x196),{'enumerable':!0x0});class _0x477351 extends _0x5351d2{constructor(_0x4faa92,_0x2e52b4={}){const _0x52c850=_0x229687;super(_0x4faa92),this[_0x5bf420]=_0x2e52b4[_0x52c850(0xa5)]===void 0x0?0x0:_0x2e52b4[_0x52c850(0xa5)],this[_0x4835e2]=_0x2e52b4[_0x52c850(0xb7)]===void 0x0?'':_0x2e52b4[_0x52c850(0xb7)],this[_0x47561d]=_0x2e52b4['wasClean']===void 0x0?!0x1:_0x2e52b4[_0x52c850(0x156)];}get[_0x229687(0xa5)](){return this[_0x5bf420];}get[_0x229687(0xb7)](){return this[_0x4835e2];}get[_0x229687(0x156)](){return this[_0x47561d];}}Object[_0x229687(0xc3)](_0x477351[_0x229687(0x91)],_0x229687(0xa5),{'enumerable':!0x0}),Object[_0x229687(0xc3)](_0x477351[_0x229687(0x91)],_0x229687(0xb7),{'enumerable':!0x0}),Object[_0x229687(0xc3)](_0x477351[_0x229687(0x91)],'wasClean',{'enumerable':!0x0});class _0x2edc22 extends _0x5351d2{constructor(_0x5d61c0,_0x249db1={}){const _0x2c99d0=_0x229687;super(_0x5d61c0),this[_0x539aa1]=_0x249db1[_0x2c99d0(0x107)]===void 0x0?null:_0x249db1[_0x2c99d0(0x107)],this[_0x3271f9]=_0x249db1['message']===void 0x0?'':_0x249db1[_0x2c99d0(0xd9)];}get[_0x229687(0x107)](){return this[_0x539aa1];}get[_0x229687(0xd9)](){return this[_0x3271f9];}}Object[_0x229687(0xc3)](_0x2edc22[_0x229687(0x91)],_0x229687(0x107),{'enumerable':!0x0}),Object[_0x229687(0xc3)](_0x2edc22[_0x229687(0x91)],'message',{'enumerable':!0x0});class _0x5a31ce extends _0x5351d2{constructor(_0xa54bb6,_0xf62717={}){const _0x482a50=_0x229687;super(_0xa54bb6),this[_0x5de265]=_0xf62717[_0x482a50(0x21e)]===void 0x0?null:_0xf62717[_0x482a50(0x21e)];}get[_0x229687(0x21e)](){return this[_0x5de265];}}Object['defineProperty'](_0x5a31ce[_0x229687(0x91)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x477351,'ErrorEvent':_0x2edc22,'Event':_0x5351d2,'EventTarget':{'addEventListener'(_0x52544d,_0x4022bd,_0x537e28={}){const _0x53fbbf=_0x229687;for(const _0x4b9e39 of this['listeners'](_0x52544d))if(!_0x537e28[_0x1116bd]&&_0x4b9e39[_0x472ed7]===_0x4022bd&&!_0x4b9e39[_0x1116bd])return;let _0x52ac7d;if(_0x52544d===_0x53fbbf(0xd9))_0x52ac7d=function(_0x16d258,_0x408a1f){const _0x3e856f=_0x53fbbf,_0x5ed6ec=new _0x5a31ce(_0x3e856f(0xd9),{'data':_0x408a1f?_0x16d258:_0x16d258['toString']()});_0x5ed6ec[_0x2dfc0d]=this,_0x2e47ba(_0x4022bd,this,_0x5ed6ec);};else{if(_0x52544d===_0x53fbbf(0x187))_0x52ac7d=function(_0x28646e,_0x38c4b8){const _0x4d2e3d=_0x53fbbf,_0x6c55ed=new _0x477351(_0x4d2e3d(0x187),{'code':_0x28646e,'reason':_0x38c4b8[_0x4d2e3d(0x132)](),'wasClean':this[_0x4d2e3d(0x16b)]&&this[_0x4d2e3d(0x1d2)]});_0x6c55ed[_0x2dfc0d]=this,_0x2e47ba(_0x4022bd,this,_0x6c55ed);};else{if(_0x52544d==='error')_0x52ac7d=function(_0x3f9f06){const _0x231da7=_0x53fbbf,_0x24d97c=new _0x2edc22(_0x231da7(0x107),{'error':_0x3f9f06,'message':_0x3f9f06[_0x231da7(0xd9)]});_0x24d97c[_0x2dfc0d]=this,_0x2e47ba(_0x4022bd,this,_0x24d97c);};else{if(_0x52544d===_0x53fbbf(0x21f))_0x52ac7d=function(){const _0x444461=_0x53fbbf,_0x5c47c3=new _0x5351d2(_0x444461(0x21f));_0x5c47c3[_0x2dfc0d]=this,_0x2e47ba(_0x4022bd,this,_0x5c47c3);};else return;}}}_0x52ac7d[_0x1116bd]=!!_0x537e28[_0x1116bd],_0x52ac7d[_0x472ed7]=_0x4022bd,_0x537e28[_0x53fbbf(0x18f)]?this[_0x53fbbf(0x18f)](_0x52544d,_0x52ac7d):this['on'](_0x52544d,_0x52ac7d);},'removeEventListener'(_0x526caf,_0x4e075b){for(const _0x334f37 of this['listeners'](_0x526caf))if(_0x334f37[_0x472ed7]===_0x4e075b&&!_0x334f37[_0x1116bd]){this['removeListener'](_0x526caf,_0x334f37);break;}}},'MessageEvent':_0x5a31ce};function _0x2e47ba(_0x2f810a,_0x25b6d8,_0x1a28eb){const _0x5d8570=_0x229687;typeof _0x2f810a==_0x5d8570(0x11e)&&_0x2f810a[_0x5d8570(0x1a6)]?_0x2f810a['handleEvent']['call'](_0x2f810a,_0x1a28eb):_0x2f810a[_0x5d8570(0x189)](_0x25b6d8,_0x1a28eb);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x103f42}=ae();function _0x151bb7(_0x5b565c,_0x124faf,_0xa55d79){const _0x3d297d=_0x254c;_0x5b565c[_0x124faf]===void 0x0?_0x5b565c[_0x124faf]=[_0xa55d79]:_0x5b565c[_0x124faf][_0x3d297d(0x1eb)](_0xa55d79);}function _0x6eac16(_0xa2d9ef){const _0x50febf=_0x254c,_0x5a617f=Object[_0x50febf(0x1be)](null);let _0x3d7ff9=Object[_0x50febf(0x1be)](null),_0x48b36f=!0x1,_0x1388b7=!0x1,_0x31b10b=!0x1,_0x55e687,_0xe42e9f,_0x53e67a=-0x1,_0x289dd7=-0x1,_0x3769f4=-0x1,_0x3a7837=0x0;for(;_0x3a7837<_0xa2d9ef['length'];_0x3a7837++)if(_0x289dd7=_0xa2d9ef[_0x50febf(0x96)](_0x3a7837),_0x55e687===void 0x0){if(_0x3769f4===-0x1&&_0x103f42[_0x289dd7]===0x1)_0x53e67a===-0x1&&(_0x53e67a=_0x3a7837);else{if(_0x3a7837!==0x0&&(_0x289dd7===0x20||_0x289dd7===0x9))_0x3769f4===-0x1&&_0x53e67a!==-0x1&&(_0x3769f4=_0x3a7837);else{if(_0x289dd7===0x3b||_0x289dd7===0x2c){if(_0x53e67a===-0x1)throw new SyntaxError(_0x50febf(0x1f3)+_0x3a7837);_0x3769f4===-0x1&&(_0x3769f4=_0x3a7837);const _0x34f33a=_0xa2d9ef[_0x50febf(0xd4)](_0x53e67a,_0x3769f4);_0x289dd7===0x2c?(_0x151bb7(_0x5a617f,_0x34f33a,_0x3d7ff9),_0x3d7ff9=Object[_0x50febf(0x1be)](null)):_0x55e687=_0x34f33a,_0x53e67a=_0x3769f4=-0x1;}else throw new SyntaxError(_0x50febf(0x1f3)+_0x3a7837);}}}else{if(_0xe42e9f===void 0x0){if(_0x3769f4===-0x1&&_0x103f42[_0x289dd7]===0x1)_0x53e67a===-0x1&&(_0x53e67a=_0x3a7837);else{if(_0x289dd7===0x20||_0x289dd7===0x9)_0x3769f4===-0x1&&_0x53e67a!==-0x1&&(_0x3769f4=_0x3a7837);else{if(_0x289dd7===0x3b||_0x289dd7===0x2c){if(_0x53e67a===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3a7837);_0x3769f4===-0x1&&(_0x3769f4=_0x3a7837),_0x151bb7(_0x3d7ff9,_0xa2d9ef[_0x50febf(0xd4)](_0x53e67a,_0x3769f4),!0x0),_0x289dd7===0x2c&&(_0x151bb7(_0x5a617f,_0x55e687,_0x3d7ff9),_0x3d7ff9=Object['create'](null),_0x55e687=void 0x0),_0x53e67a=_0x3769f4=-0x1;}else{if(_0x289dd7===0x3d&&_0x53e67a!==-0x1&&_0x3769f4===-0x1)_0xe42e9f=_0xa2d9ef[_0x50febf(0xd4)](_0x53e67a,_0x3a7837),_0x53e67a=_0x3769f4=-0x1;else throw new SyntaxError(_0x50febf(0x1f3)+_0x3a7837);}}}}else{if(_0x1388b7){if(_0x103f42[_0x289dd7]!==0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x3a7837);_0x53e67a===-0x1?_0x53e67a=_0x3a7837:_0x48b36f||(_0x48b36f=!0x0),_0x1388b7=!0x1;}else{if(_0x31b10b){if(_0x103f42[_0x289dd7]===0x1)_0x53e67a===-0x1&&(_0x53e67a=_0x3a7837);else{if(_0x289dd7===0x22&&_0x53e67a!==-0x1)_0x31b10b=!0x1,_0x3769f4=_0x3a7837;else{if(_0x289dd7===0x5c)_0x1388b7=!0x0;else throw new SyntaxError(_0x50febf(0x1f3)+_0x3a7837);}}}else{if(_0x289dd7===0x22&&_0xa2d9ef['charCodeAt'](_0x3a7837-0x1)===0x3d)_0x31b10b=!0x0;else{if(_0x3769f4===-0x1&&_0x103f42[_0x289dd7]===0x1)_0x53e67a===-0x1&&(_0x53e67a=_0x3a7837);else{if(_0x53e67a!==-0x1&&(_0x289dd7===0x20||_0x289dd7===0x9))_0x3769f4===-0x1&&(_0x3769f4=_0x3a7837);else{if(_0x289dd7===0x3b||_0x289dd7===0x2c){if(_0x53e67a===-0x1)throw new SyntaxError(_0x50febf(0x1f3)+_0x3a7837);_0x3769f4===-0x1&&(_0x3769f4=_0x3a7837);let _0x2abf7a=_0xa2d9ef['slice'](_0x53e67a,_0x3769f4);_0x48b36f&&(_0x2abf7a=_0x2abf7a[_0x50febf(0xfa)](/\\/g,''),_0x48b36f=!0x1),_0x151bb7(_0x3d7ff9,_0xe42e9f,_0x2abf7a),_0x289dd7===0x2c&&(_0x151bb7(_0x5a617f,_0x55e687,_0x3d7ff9),_0x3d7ff9=Object[_0x50febf(0x1be)](null),_0x55e687=void 0x0),_0xe42e9f=void 0x0,_0x53e67a=_0x3769f4=-0x1;}else throw new SyntaxError(_0x50febf(0x1f3)+_0x3a7837);}}}}}}}if(_0x53e67a===-0x1||_0x31b10b||_0x289dd7===0x20||_0x289dd7===0x9)throw new SyntaxError(_0x50febf(0x15d));_0x3769f4===-0x1&&(_0x3769f4=_0x3a7837);const _0x5001ec=_0xa2d9ef[_0x50febf(0xd4)](_0x53e67a,_0x3769f4);return _0x55e687===void 0x0?_0x151bb7(_0x5a617f,_0x5001ec,_0x3d7ff9):(_0xe42e9f===void 0x0?_0x151bb7(_0x3d7ff9,_0x5001ec,!0x0):_0x48b36f?_0x151bb7(_0x3d7ff9,_0xe42e9f,_0x5001ec[_0x50febf(0xfa)](/\\/g,'')):_0x151bb7(_0x3d7ff9,_0xe42e9f,_0x5001ec),_0x151bb7(_0x5a617f,_0x55e687,_0x3d7ff9)),_0x5a617f;}function _0xf203fd(_0x9b897c){const _0x14c5d9=_0x254c;return Object[_0x14c5d9(0x20c)](_0x9b897c)['map'](_0x1e9116=>{const _0x2ed705=_0x14c5d9;let _0x1eb76=_0x9b897c[_0x1e9116];return Array[_0x2ed705(0x161)](_0x1eb76)||(_0x1eb76=[_0x1eb76]),_0x1eb76[_0x2ed705(0xae)](_0x2dab33=>[_0x1e9116][_0x2ed705(0xd5)](Object['keys'](_0x2dab33)['map'](_0x505a85=>{const _0x5930f9=_0x2ed705;let _0x44f3a7=_0x2dab33[_0x505a85];return Array[_0x5930f9(0x161)](_0x44f3a7)||(_0x44f3a7=[_0x44f3a7]),_0x44f3a7[_0x5930f9(0xae)](_0x2ad6b0=>_0x2ad6b0===!0x0?_0x505a85:_0x505a85+'='+_0x2ad6b0)[_0x5930f9(0x14a)](';\x20');}))[_0x2ed705(0x14a)](';\x20'))[_0x2ed705(0x14a)](',\x20');})['join'](',\x20');}return be={'format':_0xf203fd,'parse':_0x6eac16},be;}var we,Je;function Pe(){const _0x55e7f0=_0x1715bb;if(Je)return we;Je=0x1;const _0x3d72c8=nt,_0x53547d=vt,_0x5cba17=ot,_0x5afa95=St,_0x596c15=Et,{randomBytes:_0x36ac2c,createHash:_0x5cfc14}=Le,{Duplex:_0x253b90,Readable:_0x65f355}=oe,{URL:_0x4ec24c}=xt,_0x4b85c7=he(),_0x47b24a=lt(),_0x5b248a=ft(),{isBlob:_0x2ebb33}=ae(),{BINARY_TYPES:_0x34772e,EMPTY_BUFFER:_0x5491de,GUID:_0x5cb665,kForOnEventAttribute:_0xd92d5c,kListener:_0x31fcd7,kStatusCode:_0x133454,kWebSocket:_0x899bc7,NOOP:_0xe504ea}=H(),{EventTarget:{addEventListener:_0x1d29de,removeEventListener:_0x32e786}}=It(),{format:_0x5e6ea1,parse:_0x921d39}=ct(),{toBuffer:_0x383228}=ce(),_0x141e9f=0x1e*0x3e8,_0x1bfc65=Symbol(_0x55e7f0(0x209)),_0x26cff8=[0x8,0xd],_0x19355c=['CONNECTING',_0x55e7f0(0x7e),_0x55e7f0(0xf2),_0x55e7f0(0xe7)],_0x427097=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x109843 extends _0x3d72c8{constructor(_0x1bbc91,_0x32ef36,_0x39d54e){const _0x236cd7=_0x55e7f0;super(),this[_0x236cd7(0x19b)]=_0x34772e[0x0],this['_closeCode']=0x3ee,this[_0x236cd7(0x16b)]=!0x1,this['_closeFrameSent']=!0x1,this[_0x236cd7(0x170)]=_0x5491de,this[_0x236cd7(0x16d)]=null,this[_0x236cd7(0xea)]=!0x1,this[_0x236cd7(0x17f)]={},this[_0x236cd7(0x214)]=!0x1,this[_0x236cd7(0x133)]='',this[_0x236cd7(0x201)]=_0x109843[_0x236cd7(0x198)],this['_receiver']=null,this[_0x236cd7(0x1bc)]=null,this['_socket']=null,_0x1bbc91!==null?(this[_0x236cd7(0x9b)]=0x0,this[_0x236cd7(0x103)]=!0x1,this[_0x236cd7(0x13b)]=0x0,_0x32ef36===void 0x0?_0x32ef36=[]:Array[_0x236cd7(0x161)](_0x32ef36)||(typeof _0x32ef36==_0x236cd7(0x11e)&&_0x32ef36!==null?(_0x39d54e=_0x32ef36,_0x32ef36=[]):_0x32ef36=[_0x32ef36]),_0x4d483a(this,_0x1bbc91,_0x32ef36,_0x39d54e)):(this[_0x236cd7(0x20b)]=_0x39d54e[_0x236cd7(0x1ce)],this[_0x236cd7(0x103)]=!0x0);}get[_0x55e7f0(0x175)](){return this['_binaryType'];}set[_0x55e7f0(0x175)](_0x479ce9){const _0x3bbbba=_0x55e7f0;_0x34772e[_0x3bbbba(0xf6)](_0x479ce9)&&(this['_binaryType']=_0x479ce9,this[_0x3bbbba(0x1c1)]&&(this[_0x3bbbba(0x1c1)][_0x3bbbba(0x19b)]=_0x479ce9));}get[_0x55e7f0(0xd7)](){const _0x2f6c58=_0x55e7f0;return this[_0x2f6c58(0xc1)]?this[_0x2f6c58(0xc1)][_0x2f6c58(0x188)][_0x2f6c58(0x8f)]+this[_0x2f6c58(0x1bc)][_0x2f6c58(0x159)]:this[_0x2f6c58(0x9b)];}get[_0x55e7f0(0xaf)](){const _0x4ffa72=_0x55e7f0;return Object[_0x4ffa72(0x20c)](this[_0x4ffa72(0x17f)])['join']();}get[_0x55e7f0(0x1e2)](){const _0x1d4019=_0x55e7f0;return this[_0x1d4019(0x214)];}get[_0x55e7f0(0x97)](){return null;}get[_0x55e7f0(0xbd)](){return null;}get[_0x55e7f0(0xc4)](){return null;}get['onmessage'](){return null;}get[_0x55e7f0(0x105)](){const _0x3b1d4c=_0x55e7f0;return this[_0x3b1d4c(0x133)];}get['readyState'](){return this['_readyState'];}get[_0x55e7f0(0x23c)](){const _0x7a10c=_0x55e7f0;return this[_0x7a10c(0x18d)];}[_0x55e7f0(0x117)](_0x250f4f,_0x15d9ce,_0xbd4a1){const _0x150620=_0x55e7f0,_0x2e262c=new _0x47b24a({'allowSynchronousEvents':_0xbd4a1[_0x150620(0x1ea)],'binaryType':this[_0x150620(0x175)],'extensions':this['_extensions'],'isServer':this['_isServer'],'maxPayload':_0xbd4a1[_0x150620(0xbf)],'skipUTF8Validation':_0xbd4a1['skipUTF8Validation']}),_0x3fb6b1=new _0x5b248a(_0x250f4f,this['_extensions'],_0xbd4a1[_0x150620(0x104)]);this[_0x150620(0x1c1)]=_0x2e262c,this[_0x150620(0x1bc)]=_0x3fb6b1,this[_0x150620(0xc1)]=_0x250f4f,_0x2e262c[_0x899bc7]=this,_0x3fb6b1[_0x899bc7]=this,_0x250f4f[_0x899bc7]=this,_0x2e262c['on']('conclude',_0xe15dfa),_0x2e262c['on'](_0x150620(0xda),_0x312963),_0x2e262c['on'](_0x150620(0x107),_0x12c7e6),_0x2e262c['on'](_0x150620(0xd9),_0x2cd977),_0x2e262c['on']('ping',_0x36e5fd),_0x2e262c['on']('pong',_0xe15457),_0x3fb6b1[_0x150620(0xbd)]=_0x389229,_0x250f4f[_0x150620(0x1f6)]&&_0x250f4f[_0x150620(0x1f6)](0x0),_0x250f4f[_0x150620(0x82)]&&_0x250f4f[_0x150620(0x82)](),_0x15d9ce['length']>0x0&&_0x250f4f[_0x150620(0x92)](_0x15d9ce),_0x250f4f['on'](_0x150620(0x187),_0x3396c4),_0x250f4f['on'](_0x150620(0x21e),_0x5e6974),_0x250f4f['on'](_0x150620(0x182),_0x2da46b),_0x250f4f['on']('error',_0x5caf1e),this[_0x150620(0x201)]=_0x109843['OPEN'],this[_0x150620(0x94)]('open');}[_0x55e7f0(0x1c5)](){const _0x26a14d=_0x55e7f0;if(!this[_0x26a14d(0xc1)]){this[_0x26a14d(0x201)]=_0x109843[_0x26a14d(0xe7)],this[_0x26a14d(0x94)](_0x26a14d(0x187),this[_0x26a14d(0xb0)],this[_0x26a14d(0x170)]);return;}this['_extensions'][_0x4b85c7[_0x26a14d(0xd1)]]&&this[_0x26a14d(0x17f)][_0x4b85c7[_0x26a14d(0xd1)]][_0x26a14d(0x154)](),this[_0x26a14d(0x1c1)]['removeAllListeners'](),this[_0x26a14d(0x201)]=_0x109843['CLOSED'],this['emit'](_0x26a14d(0x187),this[_0x26a14d(0xb0)],this[_0x26a14d(0x170)]);}[_0x55e7f0(0x187)](_0x23cba9,_0x293865){const _0x3e42ba=_0x55e7f0;if(this[_0x3e42ba(0x185)]!==_0x109843[_0x3e42ba(0xe7)]){if(this['readyState']===_0x109843[_0x3e42ba(0x198)]){_0x43af87(this,this[_0x3e42ba(0xb6)],_0x3e42ba(0xf0));return;}if(this['readyState']===_0x109843[_0x3e42ba(0xf2)]){this[_0x3e42ba(0x1d2)]&&(this[_0x3e42ba(0x16b)]||this['_receiver'][_0x3e42ba(0x188)][_0x3e42ba(0x229)])&&this[_0x3e42ba(0xc1)][_0x3e42ba(0x182)]();return;}this[_0x3e42ba(0x201)]=_0x109843[_0x3e42ba(0xf2)],this[_0x3e42ba(0x1bc)][_0x3e42ba(0x187)](_0x23cba9,_0x293865,!this[_0x3e42ba(0x103)],_0xe16157=>{const _0x292ad9=_0x3e42ba;_0xe16157||(this[_0x292ad9(0x1d2)]=!0x0,(this[_0x292ad9(0x16b)]||this['_receiver']['_writableState']['errorEmitted'])&&this[_0x292ad9(0xc1)]['end']());}),_0x2ecd9e(this);}}[_0x55e7f0(0x1ef)](){const _0x424e63=_0x55e7f0;this[_0x424e63(0x185)]===_0x109843[_0x424e63(0x198)]||this['readyState']===_0x109843[_0x424e63(0xe7)]||(this[_0x424e63(0x214)]=!0x0,this[_0x424e63(0xc1)][_0x424e63(0x1ef)]());}[_0x55e7f0(0x110)](_0x456462,_0x9d2d54,_0x1f4ee5){const _0x2c145a=_0x55e7f0;if(this[_0x2c145a(0x185)]===_0x109843[_0x2c145a(0x198)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x456462==_0x2c145a(0x212)?(_0x1f4ee5=_0x456462,_0x456462=_0x9d2d54=void 0x0):typeof _0x9d2d54==_0x2c145a(0x212)&&(_0x1f4ee5=_0x9d2d54,_0x9d2d54=void 0x0),typeof _0x456462=='number'&&(_0x456462=_0x456462[_0x2c145a(0x132)]()),this[_0x2c145a(0x185)]!==_0x109843[_0x2c145a(0x7e)]){_0x1a04e5(this,_0x456462,_0x1f4ee5);return;}_0x9d2d54===void 0x0&&(_0x9d2d54=!this[_0x2c145a(0x103)]),this[_0x2c145a(0x1bc)][_0x2c145a(0x110)](_0x456462||_0x5491de,_0x9d2d54,_0x1f4ee5);}[_0x55e7f0(0xdb)](_0x1b6203,_0xb9f21c,_0x33a5bd){const _0x244146=_0x55e7f0;if(this[_0x244146(0x185)]===_0x109843[_0x244146(0x198)])throw new Error(_0x244146(0x15c));if(typeof _0x1b6203==_0x244146(0x212)?(_0x33a5bd=_0x1b6203,_0x1b6203=_0xb9f21c=void 0x0):typeof _0xb9f21c==_0x244146(0x212)&&(_0x33a5bd=_0xb9f21c,_0xb9f21c=void 0x0),typeof _0x1b6203==_0x244146(0xed)&&(_0x1b6203=_0x1b6203[_0x244146(0x132)]()),this[_0x244146(0x185)]!==_0x109843[_0x244146(0x7e)]){_0x1a04e5(this,_0x1b6203,_0x33a5bd);return;}_0xb9f21c===void 0x0&&(_0xb9f21c=!this[_0x244146(0x103)]),this[_0x244146(0x1bc)][_0x244146(0xdb)](_0x1b6203||_0x5491de,_0xb9f21c,_0x33a5bd);}[_0x55e7f0(0x23e)](){const _0x522dd3=_0x55e7f0;this[_0x522dd3(0x185)]===_0x109843[_0x522dd3(0x198)]||this[_0x522dd3(0x185)]===_0x109843[_0x522dd3(0xe7)]||(this['_paused']=!0x1,this[_0x522dd3(0x1c1)][_0x522dd3(0x188)][_0x522dd3(0x13a)]||this[_0x522dd3(0xc1)][_0x522dd3(0x23e)]());}[_0x55e7f0(0x1df)](_0x144a10,_0x3e49fe,_0x298059){const _0x4eecb6=_0x55e7f0;if(this[_0x4eecb6(0x185)]===_0x109843[_0x4eecb6(0x198)])throw new Error(_0x4eecb6(0x15c));if(typeof _0x3e49fe==_0x4eecb6(0x212)&&(_0x298059=_0x3e49fe,_0x3e49fe={}),typeof _0x144a10==_0x4eecb6(0xed)&&(_0x144a10=_0x144a10[_0x4eecb6(0x132)]()),this[_0x4eecb6(0x185)]!==_0x109843[_0x4eecb6(0x7e)]){_0x1a04e5(this,_0x144a10,_0x298059);return;}const _0x2d2e1d={'binary':typeof _0x144a10!=_0x4eecb6(0x1ab),'mask':!this[_0x4eecb6(0x103)],'compress':!0x0,'fin':!0x0,..._0x3e49fe};this[_0x4eecb6(0x17f)][_0x4b85c7[_0x4eecb6(0xd1)]]||(_0x2d2e1d['compress']=!0x1),this[_0x4eecb6(0x1bc)][_0x4eecb6(0x1df)](_0x144a10||_0x5491de,_0x2d2e1d,_0x298059);}['terminate'](){const _0x128534=_0x55e7f0;if(this['readyState']!==_0x109843[_0x128534(0xe7)]){if(this['readyState']===_0x109843['CONNECTING']){_0x43af87(this,this[_0x128534(0xb6)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x128534(0xc1)]&&(this[_0x128534(0x201)]=_0x109843[_0x128534(0xf2)],this[_0x128534(0xc1)][_0x128534(0x176)]());}}}Object[_0x55e7f0(0xc3)](_0x109843,_0x55e7f0(0x198),{'enumerable':!0x0,'value':_0x19355c[_0x55e7f0(0x1b7)](_0x55e7f0(0x198))}),Object[_0x55e7f0(0xc3)](_0x109843[_0x55e7f0(0x91)],_0x55e7f0(0x198),{'enumerable':!0x0,'value':_0x19355c[_0x55e7f0(0x1b7)](_0x55e7f0(0x198))}),Object[_0x55e7f0(0xc3)](_0x109843,'OPEN',{'enumerable':!0x0,'value':_0x19355c['indexOf']('OPEN')}),Object[_0x55e7f0(0xc3)](_0x109843[_0x55e7f0(0x91)],_0x55e7f0(0x7e),{'enumerable':!0x0,'value':_0x19355c[_0x55e7f0(0x1b7)](_0x55e7f0(0x7e))}),Object[_0x55e7f0(0xc3)](_0x109843,_0x55e7f0(0xf2),{'enumerable':!0x0,'value':_0x19355c[_0x55e7f0(0x1b7)]('CLOSING')}),Object[_0x55e7f0(0xc3)](_0x109843['prototype'],'CLOSING',{'enumerable':!0x0,'value':_0x19355c['indexOf'](_0x55e7f0(0xf2))}),Object[_0x55e7f0(0xc3)](_0x109843,'CLOSED',{'enumerable':!0x0,'value':_0x19355c[_0x55e7f0(0x1b7)](_0x55e7f0(0xe7))}),Object[_0x55e7f0(0xc3)](_0x109843[_0x55e7f0(0x91)],'CLOSED',{'enumerable':!0x0,'value':_0x19355c[_0x55e7f0(0x1b7)](_0x55e7f0(0xe7))}),[_0x55e7f0(0x175),_0x55e7f0(0xd7),_0x55e7f0(0xaf),_0x55e7f0(0x1e2),_0x55e7f0(0x105),_0x55e7f0(0x185),_0x55e7f0(0x23c)][_0x55e7f0(0x216)](_0x4cb5a3=>{Object['defineProperty'](_0x109843['prototype'],_0x4cb5a3,{'enumerable':!0x0});}),[_0x55e7f0(0x21f),'error',_0x55e7f0(0x187),_0x55e7f0(0xd9)][_0x55e7f0(0x216)](_0x39870e=>{const _0x6b71c9=_0x55e7f0;Object['defineProperty'](_0x109843[_0x6b71c9(0x91)],'on'+_0x39870e,{'enumerable':!0x0,'get'(){for(const _0x362bb2 of this['listeners'](_0x39870e))if(_0x362bb2[_0xd92d5c])return _0x362bb2[_0x31fcd7];return null;},'set'(_0x5debb2){const _0x169337=_0x6b71c9;for(const _0xb4e09c of this[_0x169337(0x164)](_0x39870e))if(_0xb4e09c[_0xd92d5c]){this[_0x169337(0xcd)](_0x39870e,_0xb4e09c);break;}typeof _0x5debb2==_0x169337(0x212)&&this[_0x169337(0x1f4)](_0x39870e,_0x5debb2,{[_0xd92d5c]:!0x0});}});}),_0x109843['prototype'][_0x55e7f0(0x1f4)]=_0x1d29de,_0x109843['prototype'][_0x55e7f0(0x245)]=_0x32e786,we=_0x109843;function _0x4d483a(_0xb2cc93,_0x430868,_0x4a0ae7,_0x2959c1){const _0x25f432=_0x55e7f0,_0x47723a={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x26cff8[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x2959c1,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0xb2cc93[_0x25f432(0x20b)]=_0x47723a[_0x25f432(0x1ce)],!_0x26cff8[_0x25f432(0xf6)](_0x47723a[_0x25f432(0x126)]))throw new RangeError(_0x25f432(0x146)+_0x47723a['protocolVersion']+_0x25f432(0x237)+_0x26cff8[_0x25f432(0x14a)](',\x20')+')');let _0x3afc2a;if(_0x430868 instanceof _0x4ec24c)_0x3afc2a=_0x430868;else try{_0x3afc2a=new _0x4ec24c(_0x430868);}catch{throw new SyntaxError(_0x25f432(0x138)+_0x430868);}_0x3afc2a['protocol']===_0x25f432(0x200)?_0x3afc2a['protocol']=_0x25f432(0x8b):_0x3afc2a[_0x25f432(0x105)]===_0x25f432(0xa9)&&(_0x3afc2a[_0x25f432(0x105)]=_0x25f432(0x1a5)),_0xb2cc93[_0x25f432(0x18d)]=_0x3afc2a[_0x25f432(0x143)];const _0x449327=_0x3afc2a['protocol']===_0x25f432(0x1a5),_0x103dfb=_0x3afc2a['protocol']===_0x25f432(0x12e);let _0x3975fe;if(_0x3afc2a[_0x25f432(0x105)]!==_0x25f432(0x8b)&&!_0x449327&&!_0x103dfb?_0x3975fe=_0x25f432(0xf7):_0x103dfb&&!_0x3afc2a['pathname']?_0x3975fe=_0x25f432(0x215):_0x3afc2a[_0x25f432(0x153)]&&(_0x3975fe=_0x25f432(0xff)),_0x3975fe){const _0x13fba8=new SyntaxError(_0x3975fe);if(_0xb2cc93[_0x25f432(0x13b)]===0x0)throw _0x13fba8;_0x1a7fd2(_0xb2cc93,_0x13fba8);return;}const _0x3fa1cb=_0x449327?0x1bb:0x50,_0x2a3842=_0x36ac2c(0x10)[_0x25f432(0x132)](_0x25f432(0x238)),_0x1e3972=_0x449327?_0x53547d[_0x25f432(0xca)]:_0x5cba17[_0x25f432(0xca)],_0x4d4d92=new Set();let _0xc1780f;if(_0x47723a[_0x25f432(0x12a)]=_0x47723a[_0x25f432(0x12a)]||(_0x449327?_0x27e4d8:_0x480fb9),_0x47723a[_0x25f432(0x147)]=_0x47723a[_0x25f432(0x147)]||_0x3fa1cb,_0x47723a[_0x25f432(0x1d4)]=_0x3afc2a[_0x25f432(0x1d4)]||_0x3fa1cb,_0x47723a[_0x25f432(0x1f0)]=_0x3afc2a[_0x25f432(0x18c)][_0x25f432(0x1c4)]('[')?_0x3afc2a[_0x25f432(0x18c)][_0x25f432(0xd4)](0x1,-0x1):_0x3afc2a[_0x25f432(0x18c)],_0x47723a[_0x25f432(0x20a)]={..._0x47723a['headers'],'Sec-WebSocket-Version':_0x47723a[_0x25f432(0x126)],'Sec-WebSocket-Key':_0x2a3842,'Connection':_0x25f432(0xbc),'Upgrade':_0x25f432(0x172)},_0x47723a['path']=_0x3afc2a[_0x25f432(0x13d)]+_0x3afc2a['search'],_0x47723a[_0x25f432(0xaa)]=_0x47723a[_0x25f432(0x10b)],_0x47723a['perMessageDeflate']&&(_0xc1780f=new _0x4b85c7(_0x47723a[_0x25f432(0x8c)]!==!0x0?_0x47723a[_0x25f432(0x8c)]:{},!0x1,_0x47723a['maxPayload']),_0x47723a[_0x25f432(0x20a)][_0x25f432(0x1d5)]=_0x5e6ea1({[_0x4b85c7[_0x25f432(0xd1)]]:_0xc1780f[_0x25f432(0x149)]()})),_0x4a0ae7[_0x25f432(0x8f)]){for(const _0x108d50 of _0x4a0ae7){if(typeof _0x108d50!=_0x25f432(0x1ab)||!_0x427097[_0x25f432(0x131)](_0x108d50)||_0x4d4d92[_0x25f432(0x88)](_0x108d50))throw new SyntaxError(_0x25f432(0x186));_0x4d4d92['add'](_0x108d50);}_0x47723a[_0x25f432(0x20a)][_0x25f432(0x22e)]=_0x4a0ae7['join'](',');}if(_0x47723a[_0x25f432(0x192)]&&(_0x47723a[_0x25f432(0x126)]<0xd?_0x47723a[_0x25f432(0x20a)][_0x25f432(0xf4)]=_0x47723a['origin']:_0x47723a[_0x25f432(0x20a)][_0x25f432(0xb5)]=_0x47723a[_0x25f432(0x192)]),(_0x3afc2a[_0x25f432(0x124)]||_0x3afc2a['password'])&&(_0x47723a[_0x25f432(0x1f5)]=_0x3afc2a[_0x25f432(0x124)]+':'+_0x3afc2a[_0x25f432(0x1e8)]),_0x103dfb){const _0x323e91=_0x47723a[_0x25f432(0x168)][_0x25f432(0x165)](':');_0x47723a['socketPath']=_0x323e91[0x0],_0x47723a['path']=_0x323e91[0x1];}let _0x4d85ec;if(_0x47723a['followRedirects']){if(_0xb2cc93[_0x25f432(0x13b)]===0x0){_0xb2cc93['_originalIpc']=_0x103dfb,_0xb2cc93[_0x25f432(0xce)]=_0x449327,_0xb2cc93[_0x25f432(0x1ec)]=_0x103dfb?_0x47723a[_0x25f432(0x1fa)]:_0x3afc2a[_0x25f432(0x1f0)];const _0x53c0f8=_0x2959c1&&_0x2959c1[_0x25f432(0x20a)];if(_0x2959c1={..._0x2959c1,'headers':{}},_0x53c0f8){for(const [_0x4aad5b,_0x43e0f3]of Object[_0x25f432(0xfb)](_0x53c0f8))_0x2959c1['headers'][_0x4aad5b['toLowerCase']()]=_0x43e0f3;}}else{if(_0xb2cc93[_0x25f432(0x1c3)](_0x25f432(0x125))===0x0){const _0x41166d=_0x103dfb?_0xb2cc93[_0x25f432(0x98)]?_0x47723a[_0x25f432(0x1fa)]===_0xb2cc93[_0x25f432(0x1ec)]:!0x1:_0xb2cc93['_originalIpc']?!0x1:_0x3afc2a[_0x25f432(0x1f0)]===_0xb2cc93['_originalHostOrSocketPath'];(!_0x41166d||_0xb2cc93[_0x25f432(0xce)]&&!_0x449327)&&(delete _0x47723a[_0x25f432(0x20a)][_0x25f432(0xa2)],delete _0x47723a[_0x25f432(0x20a)][_0x25f432(0x232)],_0x41166d||delete _0x47723a[_0x25f432(0x20a)][_0x25f432(0x1f0)],_0x47723a[_0x25f432(0x1f5)]=void 0x0);}}_0x47723a[_0x25f432(0x1f5)]&&!_0x2959c1[_0x25f432(0x20a)]['authorization']&&(_0x2959c1[_0x25f432(0x20a)][_0x25f432(0xa2)]=_0x25f432(0x213)+Buffer[_0x25f432(0x191)](_0x47723a['auth'])[_0x25f432(0x132)](_0x25f432(0x238))),_0x4d85ec=_0xb2cc93[_0x25f432(0xb6)]=_0x1e3972(_0x47723a),_0xb2cc93[_0x25f432(0x13b)]&&_0xb2cc93[_0x25f432(0x94)]('redirect',_0xb2cc93[_0x25f432(0x23c)],_0x4d85ec);}else _0x4d85ec=_0xb2cc93['_req']=_0x1e3972(_0x47723a);_0x47723a[_0x25f432(0xaa)]&&_0x4d85ec['on'](_0x25f432(0xaa),()=>{_0x43af87(_0xb2cc93,_0x4d85ec,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x4d85ec['on'](_0x25f432(0x107),_0x400b5=>{const _0x4be5f1=_0x25f432;_0x4d85ec===null||_0x4d85ec[_0x1bfc65]||(_0x4d85ec=_0xb2cc93[_0x4be5f1(0xb6)]=null,_0x1a7fd2(_0xb2cc93,_0x400b5));}),_0x4d85ec['on'](_0x25f432(0x16e),_0xd46300=>{const _0x24481c=_0x25f432,_0x1e8a99=_0xd46300[_0x24481c(0x20a)]['location'],_0x3569c9=_0xd46300[_0x24481c(0x118)];if(_0x1e8a99&&_0x47723a[_0x24481c(0x13e)]&&_0x3569c9>=0x12c&&_0x3569c9<0x190){if(++_0xb2cc93[_0x24481c(0x13b)]>_0x47723a[_0x24481c(0x203)]){_0x43af87(_0xb2cc93,_0x4d85ec,'Maximum\x20redirects\x20exceeded');return;}_0x4d85ec['abort']();let _0x16de03;try{_0x16de03=new _0x4ec24c(_0x1e8a99,_0x430868);}catch{const _0x29dabd=new SyntaxError('Invalid\x20URL:\x20'+_0x1e8a99);_0x1a7fd2(_0xb2cc93,_0x29dabd);return;}_0x4d483a(_0xb2cc93,_0x16de03,_0x4a0ae7,_0x2959c1);}else _0xb2cc93[_0x24481c(0x94)](_0x24481c(0x179),_0x4d85ec,_0xd46300)||_0x43af87(_0xb2cc93,_0x4d85ec,_0x24481c(0x230)+_0xd46300[_0x24481c(0x118)]);}),_0x4d85ec['on'](_0x25f432(0x162),(_0x4b689b,_0x30b417,_0x1c365c)=>{const _0x31acd7=_0x25f432;if(_0xb2cc93[_0x31acd7(0x94)]('upgrade',_0x4b689b),_0xb2cc93[_0x31acd7(0x185)]!==_0x109843[_0x31acd7(0x198)])return;_0x4d85ec=_0xb2cc93[_0x31acd7(0xb6)]=null;const _0x41c99b=_0x4b689b[_0x31acd7(0x20a)][_0x31acd7(0x162)];if(_0x41c99b===void 0x0||_0x41c99b[_0x31acd7(0x23b)]()!==_0x31acd7(0x172)){_0x43af87(_0xb2cc93,_0x30b417,_0x31acd7(0x19f));return;}const _0x5255c3=_0x5cfc14(_0x31acd7(0x17d))[_0x31acd7(0x241)](_0x2a3842+_0x5cb665)[_0x31acd7(0x7d)](_0x31acd7(0x238));if(_0x4b689b[_0x31acd7(0x20a)][_0x31acd7(0x17c)]!==_0x5255c3){_0x43af87(_0xb2cc93,_0x30b417,_0x31acd7(0x8a));return;}const _0x2a0739=_0x4b689b[_0x31acd7(0x20a)][_0x31acd7(0x21b)];let _0x2317d2;if(_0x2a0739!==void 0x0?_0x4d4d92['size']?_0x4d4d92[_0x31acd7(0x88)](_0x2a0739)||(_0x2317d2=_0x31acd7(0x1a4)):_0x2317d2=_0x31acd7(0x16f):_0x4d4d92[_0x31acd7(0x108)]&&(_0x2317d2=_0x31acd7(0x14e)),_0x2317d2){_0x43af87(_0xb2cc93,_0x30b417,_0x2317d2);return;}_0x2a0739&&(_0xb2cc93[_0x31acd7(0x133)]=_0x2a0739);const _0x49f818=_0x4b689b[_0x31acd7(0x20a)]['sec-websocket-extensions'];if(_0x49f818!==void 0x0){if(!_0xc1780f){_0x43af87(_0xb2cc93,_0x30b417,_0x31acd7(0x173));return;}let _0x5c5c15;try{_0x5c5c15=_0x921d39(_0x49f818);}catch{_0x43af87(_0xb2cc93,_0x30b417,_0x31acd7(0x81));return;}const _0xdff7d5=Object[_0x31acd7(0x20c)](_0x5c5c15);if(_0xdff7d5[_0x31acd7(0x8f)]!==0x1||_0xdff7d5[0x0]!==_0x4b85c7[_0x31acd7(0xd1)]){_0x43af87(_0xb2cc93,_0x30b417,'Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested');return;}try{_0xc1780f[_0x31acd7(0xbb)](_0x5c5c15[_0x4b85c7['extensionName']]);}catch{_0x43af87(_0xb2cc93,_0x30b417,_0x31acd7(0x81));return;}_0xb2cc93[_0x31acd7(0x17f)][_0x4b85c7[_0x31acd7(0xd1)]]=_0xc1780f;}_0xb2cc93['setSocket'](_0x30b417,_0x1c365c,{'allowSynchronousEvents':_0x47723a[_0x31acd7(0x1ea)],'generateMask':_0x47723a[_0x31acd7(0x104)],'maxPayload':_0x47723a[_0x31acd7(0xbf)],'skipUTF8Validation':_0x47723a[_0x31acd7(0x197)]});}),_0x47723a[_0x25f432(0x1ff)]?_0x47723a[_0x25f432(0x1ff)](_0x4d85ec,_0xb2cc93):_0x4d85ec['end']();}function _0x1a7fd2(_0x32460a,_0x2a90b3){const _0x30f777=_0x55e7f0;_0x32460a['_readyState']=_0x109843[_0x30f777(0xf2)],_0x32460a[_0x30f777(0xea)]=!0x0,_0x32460a[_0x30f777(0x94)](_0x30f777(0x107),_0x2a90b3),_0x32460a[_0x30f777(0x1c5)]();}function _0x480fb9(_0x2c3327){const _0xaba591=_0x55e7f0;return _0x2c3327[_0xaba591(0x168)]=_0x2c3327['socketPath'],_0x5afa95['connect'](_0x2c3327);}function _0x27e4d8(_0x21994b){const _0x1eb0a8=_0x55e7f0;return _0x21994b[_0x1eb0a8(0x168)]=void 0x0,!_0x21994b[_0x1eb0a8(0x20d)]&&_0x21994b[_0x1eb0a8(0x20d)]!==''&&(_0x21994b[_0x1eb0a8(0x20d)]=_0x5afa95['isIP'](_0x21994b[_0x1eb0a8(0x1f0)])?'':_0x21994b[_0x1eb0a8(0x1f0)]),_0x596c15[_0x1eb0a8(0x1e7)](_0x21994b);}function _0x43af87(_0x5319ec,_0x1f5cc0,_0x1302a5){const _0x5f0d16=_0x55e7f0;_0x5319ec['_readyState']=_0x109843[_0x5f0d16(0xf2)];const _0x78bac8=new Error(_0x1302a5);Error[_0x5f0d16(0x19e)](_0x78bac8,_0x43af87),_0x1f5cc0[_0x5f0d16(0x15a)]?(_0x1f5cc0[_0x1bfc65]=!0x0,_0x1f5cc0[_0x5f0d16(0x142)](),_0x1f5cc0['socket']&&!_0x1f5cc0[_0x5f0d16(0x1ad)][_0x5f0d16(0x114)]&&_0x1f5cc0['socket']['destroy'](),process[_0x5f0d16(0x163)](_0x1a7fd2,_0x5319ec,_0x78bac8)):(_0x1f5cc0[_0x5f0d16(0x176)](_0x78bac8),_0x1f5cc0[_0x5f0d16(0x18f)]('error',_0x5319ec[_0x5f0d16(0x94)][_0x5f0d16(0x130)](_0x5319ec,_0x5f0d16(0x107))),_0x1f5cc0[_0x5f0d16(0x18f)](_0x5f0d16(0x187),_0x5319ec['emitClose']['bind'](_0x5319ec)));}function _0x1a04e5(_0x1448e2,_0x38a343,_0x3775dd){const _0x36ab27=_0x55e7f0;if(_0x38a343){const _0xb3c4e0=_0x2ebb33(_0x38a343)?_0x38a343[_0x36ab27(0x108)]:_0x383228(_0x38a343)['length'];_0x1448e2[_0x36ab27(0xc1)]?_0x1448e2[_0x36ab27(0x1bc)][_0x36ab27(0x159)]+=_0xb3c4e0:_0x1448e2['_bufferedAmount']+=_0xb3c4e0;}if(_0x3775dd){const _0x53fb1b=new Error(_0x36ab27(0x10a)+_0x1448e2[_0x36ab27(0x185)]+'\x20('+_0x19355c[_0x1448e2[_0x36ab27(0x185)]]+')');process[_0x36ab27(0x163)](_0x3775dd,_0x53fb1b);}}function _0xe15dfa(_0x4a8857,_0x45fc57){const _0x5d9b66=_0x55e7f0,_0x583083=this[_0x899bc7];_0x583083[_0x5d9b66(0x16b)]=!0x0,_0x583083[_0x5d9b66(0x170)]=_0x45fc57,_0x583083[_0x5d9b66(0xb0)]=_0x4a8857,_0x583083['_socket'][_0x899bc7]!==void 0x0&&(_0x583083[_0x5d9b66(0xc1)][_0x5d9b66(0xcd)]('data',_0x5e6974),process['nextTick'](_0x4f7e04,_0x583083['_socket']),_0x4a8857===0x3ed?_0x583083[_0x5d9b66(0x187)]():_0x583083['close'](_0x4a8857,_0x45fc57));}function _0x312963(){const _0x198e51=_0x55e7f0,_0x35f405=this[_0x899bc7];_0x35f405[_0x198e51(0x1e2)]||_0x35f405[_0x198e51(0xc1)]['resume']();}function _0x12c7e6(_0x23e340){const _0x3b23d5=_0x55e7f0,_0x5b89c9=this[_0x899bc7];_0x5b89c9[_0x3b23d5(0xc1)][_0x899bc7]!==void 0x0&&(_0x5b89c9[_0x3b23d5(0xc1)][_0x3b23d5(0xcd)](_0x3b23d5(0x21e),_0x5e6974),process['nextTick'](_0x4f7e04,_0x5b89c9[_0x3b23d5(0xc1)]),_0x5b89c9['close'](_0x23e340[_0x133454])),_0x5b89c9['_errorEmitted']||(_0x5b89c9[_0x3b23d5(0xea)]=!0x0,_0x5b89c9['emit']('error',_0x23e340));}function _0x1d9a30(){const _0x45ca57=_0x55e7f0;this[_0x899bc7][_0x45ca57(0x1c5)]();}function _0x2cd977(_0x5be08b,_0x2e9777){const _0x15b0d4=_0x55e7f0;this[_0x899bc7][_0x15b0d4(0x94)](_0x15b0d4(0xd9),_0x5be08b,_0x2e9777);}function _0x36e5fd(_0x1d2a79){const _0x156992=_0x55e7f0,_0x277ccf=this[_0x899bc7];_0x277ccf[_0x156992(0x20b)]&&_0x277ccf['pong'](_0x1d2a79,!this[_0x156992(0x103)],_0xe504ea),_0x277ccf['emit'](_0x156992(0x110),_0x1d2a79);}function _0xe15457(_0x46886f){const _0x626f24=_0x55e7f0;this[_0x899bc7][_0x626f24(0x94)](_0x626f24(0xdb),_0x46886f);}function _0x4f7e04(_0xc2511b){_0xc2511b['resume']();}function _0x389229(_0x340452){const _0x304e93=_0x55e7f0,_0x56948b=this[_0x899bc7];_0x56948b['readyState']!==_0x109843['CLOSED']&&(_0x56948b[_0x304e93(0x185)]===_0x109843[_0x304e93(0x7e)]&&(_0x56948b[_0x304e93(0x201)]=_0x109843[_0x304e93(0xf2)],_0x2ecd9e(_0x56948b)),this[_0x304e93(0xc1)]['end'](),_0x56948b[_0x304e93(0xea)]||(_0x56948b[_0x304e93(0xea)]=!0x0,_0x56948b[_0x304e93(0x94)](_0x304e93(0x107),_0x340452)));}function _0x2ecd9e(_0x3c67fb){const _0x3213c8=_0x55e7f0;_0x3c67fb[_0x3213c8(0x16d)]=setTimeout(_0x3c67fb['_socket'][_0x3213c8(0x176)][_0x3213c8(0x130)](_0x3c67fb[_0x3213c8(0xc1)]),_0x141e9f);}function _0x3396c4(){const _0x4035bb=_0x55e7f0,_0x3fbe80=this[_0x899bc7];this[_0x4035bb(0xcd)](_0x4035bb(0x187),_0x3396c4),this[_0x4035bb(0xcd)](_0x4035bb(0x21e),_0x5e6974),this['removeListener'](_0x4035bb(0x182),_0x2da46b),_0x3fbe80[_0x4035bb(0x201)]=_0x109843[_0x4035bb(0xf2)];let _0x16b12b;!this[_0x4035bb(0x151)]['endEmitted']&&!_0x3fbe80[_0x4035bb(0x16b)]&&!_0x3fbe80[_0x4035bb(0x1c1)][_0x4035bb(0x188)][_0x4035bb(0x229)]&&(_0x16b12b=_0x3fbe80[_0x4035bb(0xc1)][_0x4035bb(0x218)]())!==null&&_0x3fbe80['_receiver']['write'](_0x16b12b),_0x3fbe80['_receiver'][_0x4035bb(0x182)](),this[_0x899bc7]=void 0x0,clearTimeout(_0x3fbe80[_0x4035bb(0x16d)]),_0x3fbe80[_0x4035bb(0x1c1)][_0x4035bb(0x188)][_0x4035bb(0x139)]||_0x3fbe80['_receiver'][_0x4035bb(0x188)]['errorEmitted']?_0x3fbe80[_0x4035bb(0x1c5)]():(_0x3fbe80[_0x4035bb(0x1c1)]['on'](_0x4035bb(0x107),_0x1d9a30),_0x3fbe80[_0x4035bb(0x1c1)]['on'](_0x4035bb(0x102),_0x1d9a30));}function _0x5e6974(_0x1eb9e6){const _0x40e443=_0x55e7f0;this[_0x899bc7][_0x40e443(0x1c1)][_0x40e443(0x1a2)](_0x1eb9e6)||this['pause']();}function _0x2da46b(){const _0x9c4fdc=_0x55e7f0,_0x18d69d=this[_0x899bc7];_0x18d69d[_0x9c4fdc(0x201)]=_0x109843[_0x9c4fdc(0xf2)],_0x18d69d[_0x9c4fdc(0x1c1)][_0x9c4fdc(0x182)](),this['end']();}function _0x5caf1e(){const _0xb3d1f8=_0x55e7f0,_0x51447f=this[_0x899bc7];this[_0xb3d1f8(0xcd)](_0xb3d1f8(0x107),_0x5caf1e),this['on'](_0xb3d1f8(0x107),_0xe504ea),_0x51447f&&(_0x51447f[_0xb3d1f8(0x201)]=_0x109843[_0xb3d1f8(0xf2)],this['destroy']());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x49a2a8}=oe;function _0x60e884(_0x1ea9b2){const _0x4c9fb3=_0x254c;_0x1ea9b2[_0x4c9fb3(0x94)]('close');}function _0x26e6d2(){const _0x5cf4a4=_0x254c;!this['destroyed']&&this[_0x5cf4a4(0x188)][_0x5cf4a4(0x139)]&&this[_0x5cf4a4(0x176)]();}function _0x31f6ee(_0x299da3){const _0xcfac3e=_0x254c;this['removeListener'](_0xcfac3e(0x107),_0x31f6ee),this['destroy'](),this[_0xcfac3e(0x1c3)](_0xcfac3e(0x107))===0x0&&this[_0xcfac3e(0x94)](_0xcfac3e(0x107),_0x299da3);}function _0x3fa723(_0x2c83c0,_0x4df16f){const _0x35da6d=_0x254c;let _0x106859=!0x0;const _0x353cb2=new _0x49a2a8({..._0x4df16f,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x2c83c0['on'](_0x35da6d(0xd9),function(_0xf3b238,_0x2aa434){const _0x1c6d7f=_0x35da6d,_0x517286=!_0x2aa434&&_0x353cb2[_0x1c6d7f(0x151)][_0x1c6d7f(0xc9)]?_0xf3b238[_0x1c6d7f(0x132)]():_0xf3b238;_0x353cb2[_0x1c6d7f(0x1eb)](_0x517286)||_0x2c83c0[_0x1c6d7f(0x1ef)]();}),_0x2c83c0['once']('error',function(_0x3cc0b0){const _0x51bce7=_0x35da6d;_0x353cb2[_0x51bce7(0x114)]||(_0x106859=!0x1,_0x353cb2[_0x51bce7(0x176)](_0x3cc0b0));}),_0x2c83c0[_0x35da6d(0x18f)](_0x35da6d(0x187),function(){const _0x36690b=_0x35da6d;_0x353cb2[_0x36690b(0x114)]||_0x353cb2['push'](null);}),_0x353cb2['_destroy']=function(_0xb32992,_0x1b29f9){const _0x4f2915=_0x35da6d;if(_0x2c83c0[_0x4f2915(0x185)]===_0x2c83c0['CLOSED']){_0x1b29f9(_0xb32992),process[_0x4f2915(0x163)](_0x60e884,_0x353cb2);return;}let _0xf0ebd2=!0x1;_0x2c83c0[_0x4f2915(0x18f)](_0x4f2915(0x107),function(_0x1b2d3e){_0xf0ebd2=!0x0,_0x1b29f9(_0x1b2d3e);}),_0x2c83c0['once']('close',function(){const _0x5c9d89=_0x4f2915;_0xf0ebd2||_0x1b29f9(_0xb32992),process[_0x5c9d89(0x163)](_0x60e884,_0x353cb2);}),_0x106859&&_0x2c83c0[_0x4f2915(0x1de)]();},_0x353cb2[_0x35da6d(0x1d6)]=function(_0x36aec5){const _0x4dad61=_0x35da6d;if(_0x2c83c0[_0x4dad61(0x185)]===_0x2c83c0[_0x4dad61(0x198)]){_0x2c83c0[_0x4dad61(0x18f)](_0x4dad61(0x21f),function(){const _0x295803=_0x4dad61;_0x353cb2[_0x295803(0x1d6)](_0x36aec5);});return;}_0x2c83c0['_socket']!==null&&(_0x2c83c0['_socket'][_0x4dad61(0x188)]['finished']?(_0x36aec5(),_0x353cb2[_0x4dad61(0x151)][_0x4dad61(0x11f)]&&_0x353cb2[_0x4dad61(0x176)]()):(_0x2c83c0[_0x4dad61(0xc1)]['once'](_0x4dad61(0x102),function(){_0x36aec5();}),_0x2c83c0['close']()));},_0x353cb2[_0x35da6d(0x205)]=function(){const _0x2fe7b0=_0x35da6d;_0x2c83c0[_0x2fe7b0(0x1e2)]&&_0x2c83c0[_0x2fe7b0(0x23e)]();},_0x353cb2[_0x35da6d(0x11d)]=function(_0x2a3b73,_0x5171c3,_0x12fbf4){const _0x192677=_0x35da6d;if(_0x2c83c0[_0x192677(0x185)]===_0x2c83c0[_0x192677(0x198)]){_0x2c83c0['once'](_0x192677(0x21f),function(){const _0x2e325b=_0x192677;_0x353cb2[_0x2e325b(0x11d)](_0x2a3b73,_0x5171c3,_0x12fbf4);});return;}_0x2c83c0[_0x192677(0x1df)](_0x2a3b73,_0x12fbf4);},_0x353cb2['on']('end',_0x26e6d2),_0x353cb2['on'](_0x35da6d(0x107),_0x31f6ee),_0x353cb2;}return Oe=_0x3fa723,Oe;}Ut(),lt(),ft();function _0xbf3f(){const _0x3e2a6a=['Blob','resume','ISocketService','then','update','_fragmented','dispatch','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','removeEventListener','digest','OPEN','WS_ERR_UNEXPECTED_MASK','Connection:\x20Upgrade','Invalid\x20Sec-WebSocket-Extensions\x20header','setNoDelay','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','connection','frame','permessage-deflate','__esModule','has','backlog','Invalid\x20Sec-WebSocket-Accept\x20header','ws:','perMessageDeflate','isView','exports','length','client','prototype','unshift','dequeue','emit','sendFrame','charCodeAt','onclose','_originalIpc','ISnapshotServerService','threshold','_bufferedAmount','962289kzEDuA','clientNoContextTakeover','invalid\x20UTF-8\x20sequence','completeUpgrade','writable','target','authorization','clientMaxWindowBits','649ZdATls','code','acceptAsClient','_compressed','Z_DEFAULT_WINDOWBITS','https:','timeout','readable','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','handleUpgrade','map','extensions','_closeCode','2410968JKvPRS','getPayloadLength16','text/html','invalid\x20payload\x20length\x20','Origin','_req','reason','catch','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','createInflateRaw','accept','Upgrade','onerror','allocUnsafe','maxPayload','clientTracking','_socket','sec-websocket-origin','defineProperty','onopen','pipe','171260wIedIh','buffers','547VIJkMQ','objectMode','request','default','nodebuffer','removeListener','_originalSecure','kError','_firstFragment','extensionName','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','verifyClient','slice','concat','pow','bufferedAmount','getBlobData','message','drain','pong','_allowSynchronousEvents','_inflate','WS_ERR_INVALID_UTF8','callback','writeUIntBE','20YLXoaQ','mask','Invalid\x20WebSocket\x20frame:\x20','HTTP/1.1\x20101\x20Switching\x20Protocols','authorized','Sec-WebSocket-Protocol:\x20','CLOSED','unmask','DependentOn','_errorEmitted','WS_ERR_INVALID_OPCODE','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','number','_fragments','zlibDeflateOptions','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','method','CLOSING','_opcode','Sec-WebSocket-Origin','binary','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','readUInt32BE','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','replace','entries','registerDependencies','sec-websocket-extensions','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','The\x20URL\x20contains\x20a\x20fragment\x20identifier','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','GET','finish','_isServer','generateMask','protocol','1910yzHfIu','error','size','server','WebSocket\x20is\x20not\x20open:\x20readyState\x20','handshakeTimeout','arrayBuffer','_deflate','Cookie','_shouldEmitClose','ping','haveLength','RSV1\x20must\x20be\x20clear','startLoop','destroyed','acceptAsServer','conclude','setSocket','statusCode','pluginName','_removeListeners','writeUInt16BE','_httpService','_write','object','endEmitted','pending','Sec-WebSocket-Accept:\x20','server_no_context_takeover','byteOffset','username','redirect','protocolVersion','jobs','WS_ERR_INVALID_CLOSE_CODE','_options','createConnection','Observable','_buffers','concurrency','ws+unix:','maskBuffer','bind','test','toString','_protocol','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','WS_NO_UTF_8_VALIDATE','sec-websocket-key','serverMaxWindowBits','Invalid\x20URL:\x20','finished','needDrain','_redirects','noServer','pathname','followRedirects','invalid\x20opcode\x20','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','buffer','abort','href','consume','WebSocket','Unsupported\x20protocol\x20version:\x20','defaultPort','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','offer','join','createError','_maskBuffer','get','Server\x20sent\x20no\x20subprotocol','_totalPayloadLength','opcode','_readableState','kData','hash','cleanup','set','wasClean','Invalid\x20HTTP\x20method','enqueue','_bufferedBytes','setHeader','147300JDFFoH','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','Unexpected\x20end\x20of\x20input','fin','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','encrypted','isArray','upgrade','nextTick','listeners','split','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','uncork','path','getPayloadLength64','rsv1','_closeFrameReceived','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','_closeTimer','response','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','_closeMessage','share','websocket','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','add','binaryType','destroy','byteLength','customHeaders','unexpected-response','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','values','sec-websocket-accept','sha1','_configService','_extensions','_server','next','end','options','DisposableCollection','readyState','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','close','_writableState','call','Plugin','blob','hostname','_url','zlibInflateOptions','once','parse','from','origin','listen','stream','COLLABORATION_CLIENT_NODE_CONFIG_KEY','type','skipUTF8Validation','CONNECTING','clients','_injector','_binaryType','alloc','_no_context_takeover','captureStackTrace','Invalid\x20Upgrade\x20header','ILogService','STATUS_CODES','write','isValidUTF8','Server\x20sent\x20an\x20invalid\x20subprotocol','wss:','handleEvent','_loop','Invalid\x20value\x20for\x20parameter\x20\x22','readOnly','total-length','string','toDisposable','socket','Inject','flush','_threshold','The\x20server\x20is\x20not\x20running','construct','_compress','kType','1561554ddLnnX','controlMessage','indexOf','params','CollaborationSocketService','Unknown\x20parameter\x20\x22','\x22\x20must\x20have\x20only\x20a\x20single\x20value','_sender','_mask','create','50TWzqyX','wsClientError','_receiver','WS_ERR_UNEXPECTED_RSV_1','listenerCount','startsWith','emitClose','address','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','Max\x20payload\x20size\x20exceeded','The\x20\x22','getOwnPropertyDescriptor','format','getMask','UniverCollaborationClientNodePlugin','autoPong','_maxPayload','freeze','reset','_closeFrameSent','getData','port','Sec-WebSocket-Extensions','_final','IConfigService','shift','NodeCollaborationSocketService','listening','invalid\x20status\x20code\x20','server_max_window_bits','dataMessage','terminate','send','_skipUTF8Validation','writeHead','isPaused','toStringTag','kListener','\x22:\x20','_errored','connect','password','find','allowSynchronousEvents','push','_originalHostOrSocketPath','normalizeParams','509194qqOaSV','pause','host','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','isServer','Unexpected\x20character\x20at\x20index\x20','addEventListener','auth','setTimeout','kCode','_registerDependencies','getConfig','socketPath','kTarget','WS_ERR_EXPECTED_MASK','kByteLength','fragments','finishRequest','http:','_readyState','Injector','maxRedirects','setConfig','_read','_queue','createSocket','decompress','kAborted','headers','_autoPong','keys','servername','client_max_window_bits','Parameter\x20\x22','getInfo','readUInt16BE','function','Basic\x20','_paused','The\x20URL\x27s\x20pathname\x20is\x20empty','forEach','client_no_context_takeover','read','_fin','_generateMask','sec-websocket-protocol','serverNoContextTakeover','isBuffer','data','open','Module','shouldHandle','isInteger','hasOwnProperty','_max_window_bits','arraybuffer','_messageLength','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','_decompress','errorEmitted','_state','\x22\x20subprotocol\x20is\x20duplicated','constructor','species','Sec-WebSocket-Protocol','concurrencyLimit','Unexpected\x20server\x20response:\x20','MASK\x20must\x20be\x20set','cookie','_masked','compress','UniverCollaborationClientPlugin','cork','\x20(supported\x20versions:\x20','base64','30IAMgmq','_payloadLength','toLowerCase','url'];_0xbf3f=function(){return _0x3e2a6a;};return _0xbf3f();}var Mt=Pe();function _0x254c(_0x149ec4,_0x5afc55){const _0xbf3f8f=_0xbf3f();return _0x254c=function(_0x254cef,_0x3da01d){_0x254cef=_0x254cef-0x7d;let _0x321955=_0xbf3f8f[_0x254cef];return _0x321955;},_0x254c(_0x149ec4,_0x5afc55);}const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x284798}=ae();function _0x58da1d(_0x32dc9c){const _0x14e0a7=_0x254c,_0x5eeadd=new Set();let _0x3e349d=-0x1,_0x15bb03=-0x1,_0x346c4a=0x0;for(_0x346c4a;_0x346c4a<_0x32dc9c[_0x14e0a7(0x8f)];_0x346c4a++){const _0x512876=_0x32dc9c[_0x14e0a7(0x96)](_0x346c4a);if(_0x15bb03===-0x1&&_0x284798[_0x512876]===0x1)_0x3e349d===-0x1&&(_0x3e349d=_0x346c4a);else{if(_0x346c4a!==0x0&&(_0x512876===0x20||_0x512876===0x9))_0x15bb03===-0x1&&_0x3e349d!==-0x1&&(_0x15bb03=_0x346c4a);else{if(_0x512876===0x2c){if(_0x3e349d===-0x1)throw new SyntaxError(_0x14e0a7(0x1f3)+_0x346c4a);_0x15bb03===-0x1&&(_0x15bb03=_0x346c4a);const _0x4574e3=_0x32dc9c['slice'](_0x3e349d,_0x15bb03);if(_0x5eeadd['has'](_0x4574e3))throw new SyntaxError(_0x14e0a7(0x1c9)+_0x4574e3+_0x14e0a7(0x22b));_0x5eeadd[_0x14e0a7(0x174)](_0x4574e3),_0x3e349d=_0x15bb03=-0x1;}else throw new SyntaxError(_0x14e0a7(0x1f3)+_0x346c4a);}}}if(_0x3e349d===-0x1||_0x15bb03!==-0x1)throw new SyntaxError(_0x14e0a7(0x15d));const _0x2d709d=_0x32dc9c['slice'](_0x3e349d,_0x346c4a);if(_0x5eeadd[_0x14e0a7(0x88)](_0x2d709d))throw new SyntaxError(_0x14e0a7(0x1c9)+_0x2d709d+_0x14e0a7(0x22b));return _0x5eeadd[_0x14e0a7(0x174)](_0x2d709d),_0x5eeadd;}return Ce={'parse':_0x58da1d},Ce;}var Te,rt;function Ft(){const _0x3dc0a3=_0x1715bb;if(rt)return Te;rt=0x1;const _0x5e434a=nt,_0x3fc2bd=ot,{Duplex:_0x152fa6}=oe,{createHash:_0x5a0cb1}=Le,_0x242a63=ct(),_0x31f15f=he(),_0x1dfac2=At(),_0x4dd11b=Pe(),{GUID:_0x43d0ec,kWebSocket:_0x4176f2}=H(),_0x5969c0=/^[+/0-9A-Za-z]{22}==$/,_0x33e62e=0x0,_0x5303bb=0x1,_0x16d1b7=0x2;class _0x142fc9 extends _0x5e434a{constructor(_0x37ac7c,_0x3f4877){const _0x1db3ea=_0x254c;if(super(),_0x37ac7c={'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':_0x4dd11b,..._0x37ac7c},_0x37ac7c[_0x1db3ea(0x1d4)]==null&&!_0x37ac7c[_0x1db3ea(0x109)]&&!_0x37ac7c[_0x1db3ea(0x13c)]||_0x37ac7c[_0x1db3ea(0x1d4)]!=null&&(_0x37ac7c[_0x1db3ea(0x109)]||_0x37ac7c[_0x1db3ea(0x13c)])||_0x37ac7c['server']&&_0x37ac7c['noServer'])throw new TypeError(_0x1db3ea(0x148));if(_0x37ac7c[_0x1db3ea(0x1d4)]!=null?(this[_0x1db3ea(0x180)]=_0x3fc2bd['createServer']((_0x54d08e,_0xbefed)=>{const _0x9e3104=_0x1db3ea,_0xce594=_0x3fc2bd[_0x9e3104(0x1a1)][0x1aa];_0xbefed[_0x9e3104(0x1e1)](0x1aa,{'Content-Length':_0xce594['length'],'Content-Type':'text/plain'}),_0xbefed[_0x9e3104(0x182)](_0xce594);}),this[_0x1db3ea(0x180)][_0x1db3ea(0x193)](_0x37ac7c['port'],_0x37ac7c['host'],_0x37ac7c[_0x1db3ea(0x89)],_0x3f4877)):_0x37ac7c[_0x1db3ea(0x109)]&&(this[_0x1db3ea(0x180)]=_0x37ac7c[_0x1db3ea(0x109)]),this[_0x1db3ea(0x180)]){const _0x42050e=this['emit'][_0x1db3ea(0x130)](this,_0x1db3ea(0x84));this['_removeListeners']=_0x28bc4e(this[_0x1db3ea(0x180)],{'listening':this[_0x1db3ea(0x94)]['bind'](this,_0x1db3ea(0x1da)),'error':this[_0x1db3ea(0x94)][_0x1db3ea(0x130)](this,_0x1db3ea(0x107)),'upgrade':(_0x41db31,_0x5bb6e0,_0x1c0b75)=>{this['handleUpgrade'](_0x41db31,_0x5bb6e0,_0x1c0b75,_0x42050e);}});}_0x37ac7c['perMessageDeflate']===!0x0&&(_0x37ac7c[_0x1db3ea(0x8c)]={}),_0x37ac7c[_0x1db3ea(0xc0)]&&(this['clients']=new Set(),this[_0x1db3ea(0x10f)]=!0x1),this[_0x1db3ea(0x183)]=_0x37ac7c,this['_state']=_0x33e62e;}[_0x3dc0a3(0x1c6)](){const _0x4d4533=_0x3dc0a3;if(this['options'][_0x4d4533(0x13c)])throw new Error('The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode');return this[_0x4d4533(0x180)]?this[_0x4d4533(0x180)]['address']():null;}[_0x3dc0a3(0x187)](_0x48b273){const _0x4c783f=_0x3dc0a3;if(this[_0x4c783f(0x22a)]===_0x16d1b7){_0x48b273&&this['once'](_0x4c783f(0x187),()=>{const _0x2afa82=_0x4c783f;_0x48b273(new Error(_0x2afa82(0x1b1)));}),process[_0x4c783f(0x163)](_0x265ba8,this);return;}if(_0x48b273&&this[_0x4c783f(0x18f)]('close',_0x48b273),this[_0x4c783f(0x22a)]!==_0x5303bb){if(this[_0x4c783f(0x22a)]=_0x5303bb,this[_0x4c783f(0x183)][_0x4c783f(0x13c)]||this[_0x4c783f(0x183)][_0x4c783f(0x109)])this['_server']&&(this[_0x4c783f(0x11a)](),this[_0x4c783f(0x11a)]=this[_0x4c783f(0x180)]=null),this[_0x4c783f(0x199)]?this[_0x4c783f(0x199)][_0x4c783f(0x108)]?this['_shouldEmitClose']=!0x0:process[_0x4c783f(0x163)](_0x265ba8,this):process[_0x4c783f(0x163)](_0x265ba8,this);else{const _0x2be223=this[_0x4c783f(0x180)];this[_0x4c783f(0x11a)](),this['_removeListeners']=this[_0x4c783f(0x180)]=null,_0x2be223['close'](()=>{_0x265ba8(this);});}}}[_0x3dc0a3(0x221)](_0x2c580e){const _0x185ff3=_0x3dc0a3;if(this[_0x185ff3(0x183)]['path']){const _0x43cb0c=_0x2c580e['url']['indexOf']('?');if((_0x43cb0c!==-0x1?_0x2c580e[_0x185ff3(0x23c)][_0x185ff3(0xd4)](0x0,_0x43cb0c):_0x2c580e['url'])!==this[_0x185ff3(0x183)][_0x185ff3(0x168)])return!0x1;}return!0x0;}[_0x3dc0a3(0xad)](_0x13cde3,_0x29d2ab,_0x5e6d62,_0x3a33ba){const _0x2e11e6=_0x3dc0a3;_0x29d2ab['on'](_0x2e11e6(0x107),_0x158657);const _0x1dedfc=_0x13cde3[_0x2e11e6(0x20a)][_0x2e11e6(0x136)],_0x27cdff=_0x13cde3[_0x2e11e6(0x20a)][_0x2e11e6(0x162)],_0x4c6342=+_0x13cde3[_0x2e11e6(0x20a)]['sec-websocket-version'];if(_0x13cde3[_0x2e11e6(0xf1)]!==_0x2e11e6(0x101)){_0x24f9d4(this,_0x13cde3,_0x29d2ab,0x195,_0x2e11e6(0x157));return;}if(_0x27cdff===void 0x0||_0x27cdff[_0x2e11e6(0x23b)]()!==_0x2e11e6(0x172)){_0x24f9d4(this,_0x13cde3,_0x29d2ab,0x190,_0x2e11e6(0x19f));return;}if(_0x1dedfc===void 0x0||!_0x5969c0['test'](_0x1dedfc)){_0x24f9d4(this,_0x13cde3,_0x29d2ab,0x190,_0x2e11e6(0x1f1));return;}if(_0x4c6342!==0xd&&_0x4c6342!==0x8){_0x24f9d4(this,_0x13cde3,_0x29d2ab,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header',{'Sec-WebSocket-Version':'13,\x208'});return;}if(!this[_0x2e11e6(0x221)](_0x13cde3)){_0xc6fca8(_0x29d2ab,0x190);return;}const _0x19776f=_0x13cde3['headers'][_0x2e11e6(0x21b)];let _0x3cfad5=new Set();if(_0x19776f!==void 0x0)try{_0x3cfad5=_0x1dfac2[_0x2e11e6(0x190)](_0x19776f);}catch{_0x24f9d4(this,_0x13cde3,_0x29d2ab,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x44be97=_0x13cde3[_0x2e11e6(0x20a)][_0x2e11e6(0xfd)],_0x782cbd={};if(this[_0x2e11e6(0x183)][_0x2e11e6(0x8c)]&&_0x44be97!==void 0x0){const _0x47c24c=new _0x31f15f(this[_0x2e11e6(0x183)][_0x2e11e6(0x8c)],!0x0,this[_0x2e11e6(0x183)]['maxPayload']);try{const _0x3377b8=_0x242a63[_0x2e11e6(0x190)](_0x44be97);_0x3377b8[_0x31f15f[_0x2e11e6(0xd1)]]&&(_0x47c24c[_0x2e11e6(0xbb)](_0x3377b8[_0x31f15f[_0x2e11e6(0xd1)]]),_0x782cbd[_0x31f15f[_0x2e11e6(0xd1)]]=_0x47c24c);}catch{_0x24f9d4(this,_0x13cde3,_0x29d2ab,0x190,_0x2e11e6(0xb9));return;}}if(this[_0x2e11e6(0x183)][_0x2e11e6(0xd3)]){const _0xc343a5={'origin':_0x13cde3[_0x2e11e6(0x20a)][''+(_0x4c6342===0x8?_0x2e11e6(0xc2):_0x2e11e6(0x192))],'secure':!!(_0x13cde3[_0x2e11e6(0x1ad)][_0x2e11e6(0xe5)]||_0x13cde3[_0x2e11e6(0x1ad)][_0x2e11e6(0x160)]),'req':_0x13cde3};if(this[_0x2e11e6(0x183)]['verifyClient'][_0x2e11e6(0x8f)]===0x2){this['options'][_0x2e11e6(0xd3)](_0xc343a5,(_0x48cef3,_0x54cdbe,_0x41e338,_0x5d0550)=>{const _0xc91c5e=_0x2e11e6;if(!_0x48cef3)return _0xc6fca8(_0x29d2ab,_0x54cdbe||0x191,_0x41e338,_0x5d0550);this[_0xc91c5e(0x9f)](_0x782cbd,_0x1dedfc,_0x3cfad5,_0x13cde3,_0x29d2ab,_0x5e6d62,_0x3a33ba);});return;}if(!this[_0x2e11e6(0x183)][_0x2e11e6(0xd3)](_0xc343a5))return _0xc6fca8(_0x29d2ab,0x191);}this[_0x2e11e6(0x9f)](_0x782cbd,_0x1dedfc,_0x3cfad5,_0x13cde3,_0x29d2ab,_0x5e6d62,_0x3a33ba);}['completeUpgrade'](_0x4e71ea,_0x4ca39d,_0x3ffc3b,_0x11dc53,_0x4ad83b,_0x2e89fe,_0x337d18){const _0x4153c4=_0x3dc0a3;if(!_0x4ad83b[_0x4153c4(0xab)]||!_0x4ad83b[_0x4153c4(0xa0)])return _0x4ad83b[_0x4153c4(0x176)]();if(_0x4ad83b[_0x4176f2])throw new Error(_0x4153c4(0x16c));if(this[_0x4153c4(0x22a)]>_0x33e62e)return _0xc6fca8(_0x4ad83b,0x1f7);const _0x3f9550=[_0x4153c4(0xe4),'Upgrade:\x20websocket',_0x4153c4(0x80),_0x4153c4(0x121)+_0x5a0cb1('sha1')[_0x4153c4(0x241)](_0x4ca39d+_0x43d0ec)['digest'](_0x4153c4(0x238))],_0x1e0690=new this['options'][(_0x4153c4(0x145))](null,void 0x0,this['options']);if(_0x3ffc3b[_0x4153c4(0x108)]){const _0x328e12=this[_0x4153c4(0x183)]['handleProtocols']?this['options']['handleProtocols'](_0x3ffc3b,_0x11dc53):_0x3ffc3b[_0x4153c4(0x17b)]()[_0x4153c4(0x181)]()['value'];_0x328e12&&(_0x3f9550['push'](_0x4153c4(0xe6)+_0x328e12),_0x1e0690[_0x4153c4(0x133)]=_0x328e12);}if(_0x4e71ea[_0x31f15f[_0x4153c4(0xd1)]]){const _0x2244cc=_0x4e71ea[_0x31f15f[_0x4153c4(0xd1)]][_0x4153c4(0x1b8)],_0x179945=_0x242a63[_0x4153c4(0x1cb)]({[_0x31f15f[_0x4153c4(0xd1)]]:[_0x2244cc]});_0x3f9550[_0x4153c4(0x1eb)]('Sec-WebSocket-Extensions:\x20'+_0x179945),_0x1e0690['_extensions']=_0x4e71ea;}this[_0x4153c4(0x94)](_0x4153c4(0x20a),_0x3f9550,_0x11dc53),_0x4ad83b[_0x4153c4(0x1a2)](_0x3f9550[_0x4153c4(0xd5)]('\x0d\x0a')['join']('\x0d\x0a')),_0x4ad83b[_0x4153c4(0xcd)](_0x4153c4(0x107),_0x158657),_0x1e0690[_0x4153c4(0x117)](_0x4ad83b,_0x2e89fe,{'allowSynchronousEvents':this[_0x4153c4(0x183)][_0x4153c4(0x1ea)],'maxPayload':this['options']['maxPayload'],'skipUTF8Validation':this['options']['skipUTF8Validation']}),this[_0x4153c4(0x199)]&&(this[_0x4153c4(0x199)]['add'](_0x1e0690),_0x1e0690['on'](_0x4153c4(0x187),()=>{const _0xed206d=_0x4153c4;this[_0xed206d(0x199)]['delete'](_0x1e0690),this[_0xed206d(0x10f)]&&!this[_0xed206d(0x199)][_0xed206d(0x108)]&&process[_0xed206d(0x163)](_0x265ba8,this);})),_0x337d18(_0x1e0690,_0x11dc53);}}Te=_0x142fc9;function _0x28bc4e(_0x12af00,_0x595966){const _0x3d585b=_0x3dc0a3;for(const _0x23b107 of Object[_0x3d585b(0x20c)](_0x595966))_0x12af00['on'](_0x23b107,_0x595966[_0x23b107]);return function(){const _0x2e449e=_0x3d585b;for(const _0x457dd3 of Object['keys'](_0x595966))_0x12af00[_0x2e449e(0xcd)](_0x457dd3,_0x595966[_0x457dd3]);};}function _0x265ba8(_0x3a19a0){const _0x28b515=_0x3dc0a3;_0x3a19a0['_state']=_0x16d1b7,_0x3a19a0[_0x28b515(0x94)]('close');}function _0x158657(){const _0x413f4f=_0x3dc0a3;this[_0x413f4f(0x176)]();}function _0xc6fca8(_0x2ec438,_0x1eaea2,_0x58a732,_0x5b216a){const _0x488ce1=_0x3dc0a3;_0x58a732=_0x58a732||_0x3fc2bd['STATUS_CODES'][_0x1eaea2],_0x5b216a={'Connection':'close','Content-Type':_0x488ce1(0xb3),'Content-Length':Buffer[_0x488ce1(0x177)](_0x58a732),..._0x5b216a},_0x2ec438[_0x488ce1(0x18f)](_0x488ce1(0x102),_0x2ec438[_0x488ce1(0x176)]),_0x2ec438['end']('HTTP/1.1\x20'+_0x1eaea2+'\x20'+_0x3fc2bd[_0x488ce1(0x1a1)][_0x1eaea2]+'\x0d\x0a'+Object['keys'](_0x5b216a)[_0x488ce1(0xae)](_0x33f944=>_0x33f944+':\x20'+_0x5b216a[_0x33f944])['join']('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x58a732);}function _0x24f9d4(_0x4b0cb6,_0x37b2fc,_0x4a3410,_0x5836e8,_0x4af0e3,_0xe7395c){const _0x54e51e=_0x3dc0a3;if(_0x4b0cb6['listenerCount'](_0x54e51e(0x1c0))){const _0x256a79=new Error(_0x4af0e3);Error[_0x54e51e(0x19e)](_0x256a79,_0x24f9d4),_0x4b0cb6[_0x54e51e(0x94)](_0x54e51e(0x1c0),_0x256a79,_0x4a3410,_0x37b2fc);}else _0xc6fca8(_0x4a3410,_0x5836e8,_0x4af0e3,_0xe7395c);}return Te;}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0x5241c0,_0x46ffec,_0x206fe9,_0x8ff864)=>{const _0x58439b=_0x1715bb;for(var _0x2872d3=_0x8ff864>0x1?void 0x0:_0x8ff864?jt(_0x46ffec,_0x206fe9):_0x46ffec,_0x1c12a8=_0x5241c0[_0x58439b(0x8f)]-0x1,_0x14f885;_0x1c12a8>=0x0;_0x1c12a8--)(_0x14f885=_0x5241c0[_0x1c12a8])&&(_0x2872d3=_0x14f885(_0x2872d3)||_0x2872d3);return _0x2872d3;},qt=(_0x3e0681,_0x433196)=>(_0x5b5799,_0x2f9407)=>_0x433196(_0x5b5799,_0x2f9407,_0x3e0681);let ke=class extends A['Disposable']{constructor(_0x2bc089){const _0x2ca9f7=_0x1715bb;super(),this[_0x2ca9f7(0x17e)]=_0x2bc089;}[_0x1715bb(0x207)](_0x275dde){const _0xd5b61c=_0x1715bb;var _0x56f66c;const _0x277762=(_0x56f66c=this[_0xd5b61c(0x17e)]['getConfig'](fe))==null?void 0x0:_0x56f66c[_0xd5b61c(0x178)];try{const _0x53fde4=new $t(_0x275dde,{'headers':{..._0x277762}}),_0x51f53a=new A[(_0xd5b61c(0x184))]();return{'URL':_0x275dde,'close':(_0x1d2a7b,_0x5a5bda)=>{const _0x158e03=_0xd5b61c;_0x53fde4[_0x158e03(0x187)](_0x1d2a7b,_0x5a5bda),_0x51f53a['dispose']();},'send':_0xabbc88=>{const _0x404387=_0xd5b61c;_0x53fde4[_0x404387(0x1df)](_0xabbc88);},'open$':new V['Observable'](_0x474bd2=>{const _0x51fbb2=_0xd5b61c,_0x460873=_0x536f74=>_0x474bd2['next'](_0x536f74);_0x53fde4[_0x51fbb2(0x1f4)]('open',_0x460873),_0x51f53a[_0x51fbb2(0x174)](A[_0x51fbb2(0x1ac)](()=>_0x53fde4[_0x51fbb2(0x245)]('open',_0x460873)));})[_0xd5b61c(0xc5)](V[_0xd5b61c(0x171)]()),'close$':new V[(_0xd5b61c(0x12b))](_0x5c658b=>{const _0x3360f7=_0xd5b61c,_0xbbb8f3=_0x6c3683=>_0x5c658b['next'](_0x6c3683);_0x53fde4['addEventListener'](_0x3360f7(0x187),_0xbbb8f3),_0x51f53a['add'](A['toDisposable'](()=>_0x53fde4[_0x3360f7(0x245)](_0x3360f7(0x187),_0xbbb8f3)));})[_0xd5b61c(0xc5)](V[_0xd5b61c(0x171)]()),'error$':new V[(_0xd5b61c(0x12b))](_0x2e1651=>{const _0x53cd7f=_0xd5b61c,_0x2ba48d=_0x4a5f5e=>_0x2e1651['next'](_0x4a5f5e);_0x53fde4['addEventListener'](_0x53cd7f(0x107),_0x2ba48d),_0x51f53a[_0x53cd7f(0x174)](A['toDisposable'](()=>_0x53fde4[_0x53cd7f(0x245)](_0x53cd7f(0x107),_0x2ba48d)));})[_0xd5b61c(0xc5)](V[_0xd5b61c(0x171)]()),'message$':new V[(_0xd5b61c(0x12b))](_0x5f2e11=>{const _0x48f6ff=_0xd5b61c,_0x15fa13=_0x3114f0=>_0x5f2e11[_0x48f6ff(0x181)](_0x3114f0);_0x53fde4['addEventListener']('message',_0x15fa13),_0x51f53a[_0x48f6ff(0x174)](A[_0x48f6ff(0x1ac)](()=>_0x53fde4['removeEventListener'](_0x48f6ff(0xd9),_0x15fa13)));})[_0xd5b61c(0xc5)](V[_0xd5b61c(0x171)]())};}catch(_0x5b5db2){return console[_0xd5b61c(0x107)](_0x5b5db2),null;}}};ke=Wt([qt(0x0,A['IConfigService'])],ke);var Gt=Object[_0x1715bb(0xc3)],Vt=Object[_0x1715bb(0x1ca)],Ht=(_0x338852,_0x209d3b,_0x31c88f)=>_0x209d3b in _0x338852?Gt(_0x338852,_0x209d3b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x31c88f}):_0x338852[_0x209d3b]=_0x31c88f,zt=(_0x2a4491,_0x354ffb,_0x2ff10a,_0x1d43c5)=>{for(var _0x2784d2=_0x1d43c5>0x1?void 0x0:_0x1d43c5?Vt(_0x354ffb,_0x2ff10a):_0x354ffb,_0x328073=_0x2a4491['length']-0x1,_0x2b9acb;_0x328073>=0x0;_0x328073--)(_0x2b9acb=_0x2a4491[_0x328073])&&(_0x2784d2=_0x2b9acb(_0x2784d2)||_0x2784d2);return _0x2784d2;},Ne=(_0x157b9d,_0x3edeec)=>(_0x36692b,_0x21ece0)=>_0x3edeec(_0x36692b,_0x21ece0,_0x157b9d),Yt=(_0x4ca903,_0xf9192,_0x57ed2f)=>Ht(_0x4ca903,_0xf9192+'',_0x57ed2f);exports['UniverCollaborationClientNodePlugin']=class extends A[_0x1715bb(0x18a)]{constructor(_0x507600=Ct,_0x6816ce,_0x331641,_0x31f80a){const _0x32ab0d=_0x1715bb;_0x507600[_0x32ab0d(0x178)]||_0x6816ce['warn'](_0x32ab0d(0x83)),super(),this['_configService']=_0x331641,this[_0x32ab0d(0x19a)]=_0x31f80a,this[_0x32ab0d(0x17e)][_0x32ab0d(0x204)](fe,_0x507600);}['onStarting'](){const _0x58975a=_0x1715bb;this[_0x58975a(0x1f8)]();}['_registerDependencies'](){const _0x1fdec1=_0x1715bb;A[_0x1fdec1(0xfc)](this[_0x1fdec1(0x19a)],[[it[_0x1fdec1(0x23f)],{'useClass':ke}]]);}},Yt(exports[_0x1715bb(0x1cd)],_0x1715bb(0x119),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),exports[_0x1715bb(0x1cd)]=zt([A[_0x1715bb(0xe9)](st[_0x1715bb(0x235)]),Ne(0x1,A[_0x1715bb(0x1a0)]),Ne(0x2,A[_0x1715bb(0x1d7)]),Ne(0x3,A[_0x1715bb(0x1ae)](A[_0x1715bb(0x202)]))],exports[_0x1715bb(0x1cd)]);var Kt=Object[_0x1715bb(0x1ca)],Xt=(_0x1b662e,_0x2f3417,_0x2d46aa,_0xccd1dc)=>{for(var _0x298aa9=_0xccd1dc>0x1?void 0x0:_0xccd1dc?Kt(_0x2f3417,_0x2d46aa):_0x2f3417,_0x590764=_0x1b662e['length']-0x1,_0x5b2cdc;_0x590764>=0x0;_0x590764--)(_0x5b2cdc=_0x1b662e[_0x590764])&&(_0x298aa9=_0x5b2cdc(_0x298aa9)||_0x298aa9);return _0x298aa9;},ne=(_0x1f2fa4,_0x1cc731)=>(_0x1e02dd,_0x53a2b2)=>_0x1cc731(_0x1e02dd,_0x53a2b2,_0x1f2fa4);exports[_0x1715bb(0x1d9)]=class extends st[_0x1715bb(0x1b9)]{constructor(_0x3e4cfb,_0x5713ab,_0x335049,_0x5adca5,_0x416e9a){const _0x2be697=_0x1715bb;super(_0x3e4cfb,_0x5713ab,_0x335049,_0x5adca5,_0x416e9a);const _0xe5aed7=this[_0x2be697(0x17e)][_0x2be697(0x1f9)](fe);this[_0x2be697(0x11c)]['registerHTTPInterceptor']({'interceptor':(_0x540481,_0x4434f4)=>{const _0x11337d=_0x2be697;var _0x41a13c;const _0x109519=_0x540481[_0x11337d(0x20a)];return(_0x41a13c=_0xe5aed7==null?void 0x0:_0xe5aed7[_0x11337d(0x178)])!=null&&_0x41a13c[_0x11337d(0x232)]&&_0x109519['set'](_0x11337d(0x10e),_0xe5aed7[_0x11337d(0x178)][_0x11337d(0x232)]),_0x4434f4(_0x540481);}});}async[_0x1715bb(0x207)](_0x20ce1e){return this['_doCreateSocket'](_0x20ce1e);}},exports['NodeCollaborationSocketService']=Xt([ne(0x0,A['Inject'](A[_0x1715bb(0x202)])),ne(0x1,A[_0x1715bb(0x1ae)](it['HTTPService'])),ne(0x2,A[_0x1715bb(0x1d7)]),ne(0x3,A['ILogService']),ne(0x4,Ot[_0x1715bb(0x99)])],exports[_0x1715bb(0x1d9)]),exports[_0x1715bb(0x195)]=fe;