@univerjs-pro/collaboration-client-node 0.6.9-experimental.20250408-bc98dfc → 0.6.9-experimental.20250408-786b00e

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/index.js CHANGED
@@ -1 +1 @@
1
- const _0x33ab43=_0x2054;(function(_0x470f96,_0x594b72){const _0x5293d6=_0x2054,_0x1ce247=_0x470f96();while(!![]){try{const _0x432689=parseInt(_0x5293d6(0x258))/0x1*(-parseInt(_0x5293d6(0x109))/0x2)+-parseInt(_0x5293d6(0xec))/0x3+parseInt(_0x5293d6(0x11d))/0x4*(-parseInt(_0x5293d6(0x18f))/0x5)+-parseInt(_0x5293d6(0x1af))/0x6+parseInt(_0x5293d6(0xde))/0x7*(parseInt(_0x5293d6(0x17d))/0x8)+parseInt(_0x5293d6(0x18a))/0x9*(-parseInt(_0x5293d6(0x119))/0xa)+-parseInt(_0x5293d6(0x18c))/0xb*(-parseInt(_0x5293d6(0x190))/0xc);if(_0x432689===_0x594b72)break;else _0x1ce247['push'](_0x1ce247['shift']());}catch(_0x427a02){_0x1ce247['push'](_0x1ce247['shift']());}}}(_0x42a5,0x21211));import{UniverCollaborationClientPlugin as _0x2d9fe8,CollaborationSocketService as _0x14397b}from'@univerjs-pro/collaboration-client';import{Disposable as _0x350538,DisposableCollection as _0x1e281e,toDisposable as _0x405e17,IConfigService as _0x21d270,DependentOn as _0xafe28b,ILogService as _0x67f65e,Inject as _0x236ab8,Injector as _0x1a7c69,Plugin as _0x8de084,registerDependencies as _0x6ee5eb}from'@univerjs/core';import{ISocketService as _0x2bcee1,HTTPService as _0x1ec246}from'@univerjs/network';import{Observable as _0x2380d4,share as _0x19de9d}from'rxjs';import _0x2eab57 from'events';import _0x3b487e from'https';function _0x2054(_0xb43dea,_0x523569){const _0x42a559=_0x42a5();return _0x2054=function(_0x2054a6,_0x2e1205){_0x2054a6=_0x2054a6-0xd1;let _0x542f6d=_0x42a559[_0x2054a6];return _0x542f6d;},_0x2054(_0xb43dea,_0x523569);}import _0x8a3c0f from'http';import _0x2eadbb from'net';import _0x24abc0 from'tls';import _0x34b0ca from'crypto';import _0x458181 from'stream';import _0xf4152d from'url';import _0x2cb3af from'zlib';import _0x371c00 from'buffer';import{ISnapshotServerService as _0xc603f2}from'@univerjs-pro/collaboration';const Be=_0x33ab43(0x213),Ft={'customHeaders':{}};function jt(_0x3fc990){const _0x335c29=_0x33ab43;return _0x3fc990&&_0x3fc990[_0x335c29(0x1fe)]&&Object[_0x335c29(0x124)][_0x335c29(0x22d)][_0x335c29(0x1dc)](_0x3fc990,_0x335c29(0x17b))?_0x3fc990['default']:_0x3fc990;}function ut(_0x1fc564){const _0x486d64=_0x33ab43;if(Object[_0x486d64(0x124)]['hasOwnProperty'][_0x486d64(0x1dc)](_0x1fc564,_0x486d64(0x1fe)))return _0x1fc564;var _0x4b25f0=_0x1fc564[_0x486d64(0x17b)];if(typeof _0x4b25f0==_0x486d64(0x136)){var _0x3cf1bc=function _0x5e2ecf(){const _0xfdbca8=_0x486d64;return this instanceof _0x5e2ecf?Reflect['construct'](_0x4b25f0,arguments,this['constructor']):_0x4b25f0[_0xfdbca8(0x251)](this,arguments);};_0x3cf1bc[_0x486d64(0x124)]=_0x4b25f0[_0x486d64(0x124)];}else _0x3cf1bc={};return Object[_0x486d64(0x233)](_0x3cf1bc,'__esModule',{'value':!0x0}),Object[_0x486d64(0x19b)](_0x1fc564)[_0x486d64(0x20c)](function(_0x20e147){const _0x3e218e=_0x486d64;var _0x3fa745=Object[_0x3e218e(0x118)](_0x1fc564,_0x20e147);Object[_0x3e218e(0x233)](_0x3cf1bc,_0x20e147,_0x3fa745['get']?_0x3fa745:{'enumerable':!0x0,'get':function(){return _0x1fc564[_0x20e147];}});}),_0x3cf1bc;}var te={'exports':{}},ge,Ye;function V(){const _0x143b1b=_0x33ab43;if(Ye)return ge;Ye=0x1;const _0x291c31=[_0x143b1b(0x11f),_0x143b1b(0x1ee),_0x143b1b(0x123)],_0x4bc9e4=typeof Blob<'u';return _0x4bc9e4&&_0x291c31[_0x143b1b(0x177)]('blob'),ge={'BINARY_TYPES':_0x291c31,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':_0x143b1b(0x24f),'hasBlob':_0x4bc9e4,'kForOnEventAttribute':Symbol(_0x143b1b(0x172)),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x143b1b(0xda)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x33ab43(0x112)](Object[_0x33ab43(0x233)]({'__proto__':null,'default':Wt},Symbol['toStringTag'],{'value':_0x33ab43(0x15c)})),Vt=ut(Gt);var Ke;function ce(){const _0x457f86=_0x33ab43;if(Ke)return te[_0x457f86(0x1c8)];Ke=0x1;const {EMPTY_BUFFER:_0x771a0b}=V(),_0x349043=Buffer[Symbol['species']];function _0x1e3234(_0x396d99,_0x554fb8){const _0x4e2b5e=_0x457f86;if(_0x396d99[_0x4e2b5e(0x134)]===0x0)return _0x771a0b;if(_0x396d99[_0x4e2b5e(0x134)]===0x1)return _0x396d99[0x0];const _0x3e8316=Buffer[_0x4e2b5e(0xe0)](_0x554fb8);let _0x40d101=0x0;for(let _0x1dccda=0x0;_0x1dccda<_0x396d99[_0x4e2b5e(0x134)];_0x1dccda++){const _0xa1565f=_0x396d99[_0x1dccda];_0x3e8316[_0x4e2b5e(0x15b)](_0xa1565f,_0x40d101),_0x40d101+=_0xa1565f[_0x4e2b5e(0x134)];}return _0x40d101<_0x554fb8?new _0x349043(_0x3e8316[_0x4e2b5e(0x23d)],_0x3e8316['byteOffset'],_0x40d101):_0x3e8316;}function _0x32548e(_0x454074,_0x36cfe6,_0x340454,_0x5f253a,_0x4f5d38){for(let _0x1fdfc5=0x0;_0x1fdfc5<_0x4f5d38;_0x1fdfc5++)_0x340454[_0x5f253a+_0x1fdfc5]=_0x454074[_0x1fdfc5]^_0x36cfe6[_0x1fdfc5&0x3];}function _0x1084f6(_0x3a7794,_0x210351){const _0x4c2591=_0x457f86;for(let _0x242ef9=0x0;_0x242ef9<_0x3a7794[_0x4c2591(0x134)];_0x242ef9++)_0x3a7794[_0x242ef9]^=_0x210351[_0x242ef9&0x3];}function _0x2e7e42(_0x58deb5){const _0xe51d18=_0x457f86;return _0x58deb5['length']===_0x58deb5['buffer']['byteLength']?_0x58deb5['buffer']:_0x58deb5[_0xe51d18(0x23d)]['slice'](_0x58deb5['byteOffset'],_0x58deb5['byteOffset']+_0x58deb5['length']);}function _0x1abfd9(_0x233979){const _0xc30a14=_0x457f86;if(_0x1abfd9[_0xc30a14(0xe6)]=!0x0,Buffer[_0xc30a14(0x19d)](_0x233979))return _0x233979;let _0x176e5f;return _0x233979 instanceof ArrayBuffer?_0x176e5f=new _0x349043(_0x233979):ArrayBuffer[_0xc30a14(0x20f)](_0x233979)?_0x176e5f=new _0x349043(_0x233979[_0xc30a14(0x23d)],_0x233979[_0xc30a14(0x158)],_0x233979['byteLength']):(_0x176e5f=Buffer[_0xc30a14(0x165)](_0x233979),_0x1abfd9[_0xc30a14(0xe6)]=!0x1),_0x176e5f;}if(te[_0x457f86(0x1c8)]={'concat':_0x1e3234,'mask':_0x32548e,'toArrayBuffer':_0x2e7e42,'toBuffer':_0x1abfd9,'unmask':_0x1084f6},!process[_0x457f86(0x1d8)]['WS_NO_BUFFER_UTIL'])try{const _0x404d63=Vt;te[_0x457f86(0x1c8)][_0x457f86(0x204)]=function(_0x399d31,_0x4496cd,_0x18f4e9,_0x51fa47,_0x29c70b){const _0xef7d3f=_0x457f86;_0x29c70b<0x30?_0x32548e(_0x399d31,_0x4496cd,_0x18f4e9,_0x51fa47,_0x29c70b):_0x404d63[_0xef7d3f(0x204)](_0x399d31,_0x4496cd,_0x18f4e9,_0x51fa47,_0x29c70b);},te[_0x457f86(0x1c8)][_0x457f86(0xe3)]=function(_0x25044f,_0x506874){const _0x439fed=_0x457f86;_0x25044f[_0x439fed(0x134)]<0x20?_0x1084f6(_0x25044f,_0x506874):_0x404d63[_0x439fed(0xe3)](_0x25044f,_0x506874);};}catch{}return te[_0x457f86(0x1c8)];}var ye,Xe;function qt(){const _0xa5e585=_0x33ab43;if(Xe)return ye;Xe=0x1;const _0x164a9a=Symbol('kDone'),_0x3de556=Symbol(_0xa5e585(0x27a));class _0x4be6f7{constructor(_0x5bb9d9){const _0x520e84=_0xa5e585;this[_0x164a9a]=()=>{this['pending']--,this[_0x3de556]();},this[_0x520e84(0x1fd)]=_0x5bb9d9||0x1/0x0,this[_0x520e84(0x214)]=[],this[_0x520e84(0x19f)]=0x0;}['add'](_0x81d3b5){const _0x27071c=_0xa5e585;this[_0x27071c(0x214)][_0x27071c(0x177)](_0x81d3b5),this[_0x3de556]();}[_0x3de556](){const _0x2a263b=_0xa5e585;if(this['pending']!==this['concurrency']&&this[_0x2a263b(0x214)][_0x2a263b(0x134)]){const _0x1f3589=this[_0x2a263b(0x214)][_0x2a263b(0x22c)]();this[_0x2a263b(0x19f)]++,_0x1f3589(this[_0x164a9a]);}}}return ye=_0x4be6f7,ye;}var ve,Ze;function he(){const _0x678cf0=_0x33ab43;if(Ze)return ve;Ze=0x1;const _0x52ae86=_0x2cb3af,_0x5aa737=ce(),_0x5983ec=qt(),{kStatusCode:_0x1d3e02}=V(),_0x5c1237=Buffer[Symbol[_0x678cf0(0xfe)]],_0x42eec7=Buffer[_0x678cf0(0x165)]([0x0,0x0,0xff,0xff]),_0x1caab2=Symbol('permessage-deflate'),_0x24400a=Symbol(_0x678cf0(0x1b5)),_0x49965c=Symbol(_0x678cf0(0x1b3)),_0x2fdc87=Symbol(_0x678cf0(0x1e0)),_0x5f327f=Symbol(_0x678cf0(0x197));let _0x596b5e;class _0x5dae62{constructor(_0x1c1f54,_0x50bb62,_0xba27e1){const _0x5110b2=_0x678cf0;if(this['_maxPayload']=_0xba27e1|0x0,this[_0x5110b2(0x27f)]=_0x1c1f54||{},this[_0x5110b2(0x225)]=this[_0x5110b2(0x27f)]['threshold']!==void 0x0?this[_0x5110b2(0x27f)][_0x5110b2(0xef)]:0x400,this['_isServer']=!!_0x50bb62,this[_0x5110b2(0x211)]=null,this[_0x5110b2(0x188)]=null,this[_0x5110b2(0x206)]=null,!_0x596b5e){const _0x3cafbc=this['_options'][_0x5110b2(0xd9)]!==void 0x0?this['_options'][_0x5110b2(0xd9)]:0xa;_0x596b5e=new _0x5983ec(_0x3cafbc);}}static get[_0x678cf0(0x22b)](){const _0xc0a5b4=_0x678cf0;return _0xc0a5b4(0x201);}[_0x678cf0(0xf8)](){const _0x12bc86=_0x678cf0,_0x49a382={};return this['_options']['serverNoContextTakeover']&&(_0x49a382[_0x12bc86(0x23f)]=!0x0),this[_0x12bc86(0x27f)][_0x12bc86(0x114)]&&(_0x49a382[_0x12bc86(0xe1)]=!0x0),this['_options'][_0x12bc86(0x166)]&&(_0x49a382[_0x12bc86(0x252)]=this[_0x12bc86(0x27f)][_0x12bc86(0x166)]),this['_options'][_0x12bc86(0x10a)]?_0x49a382['client_max_window_bits']=this[_0x12bc86(0x27f)][_0x12bc86(0x10a)]:this[_0x12bc86(0x27f)]['clientMaxWindowBits']==null&&(_0x49a382['client_max_window_bits']=!0x0),_0x49a382;}[_0x678cf0(0x10e)](_0x504e0d){const _0x3021e7=_0x678cf0;return _0x504e0d=this[_0x3021e7(0x234)](_0x504e0d),this[_0x3021e7(0x206)]=this[_0x3021e7(0x270)]?this[_0x3021e7(0x286)](_0x504e0d):this['acceptAsClient'](_0x504e0d),this[_0x3021e7(0x206)];}[_0x678cf0(0x24d)](){const _0x21e88e=_0x678cf0;if(this['_inflate']&&(this[_0x21e88e(0x188)][_0x21e88e(0x15f)](),this[_0x21e88e(0x188)]=null),this['_deflate']){const _0x40893b=this['_deflate'][_0x49965c];this[_0x21e88e(0x211)][_0x21e88e(0x15f)](),this[_0x21e88e(0x211)]=null,_0x40893b&&_0x40893b(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}['acceptAsServer'](_0x4c84a4){const _0x4d1ddd=_0x678cf0,_0x2fff75=this['_options'],_0x223998=_0x4c84a4['find'](_0x3fe5ea=>!(_0x2fff75[_0x4d1ddd(0x20e)]===!0x1&&_0x3fe5ea[_0x4d1ddd(0x23f)]||_0x3fe5ea[_0x4d1ddd(0x252)]&&(_0x2fff75[_0x4d1ddd(0x166)]===!0x1||typeof _0x2fff75[_0x4d1ddd(0x166)]==_0x4d1ddd(0x1b8)&&_0x2fff75[_0x4d1ddd(0x166)]>_0x3fe5ea['server_max_window_bits'])||typeof _0x2fff75[_0x4d1ddd(0x10a)]==_0x4d1ddd(0x1b8)&&!_0x3fe5ea[_0x4d1ddd(0x1c3)]));if(!_0x223998)throw new Error('None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted');return _0x2fff75[_0x4d1ddd(0x20e)]&&(_0x223998[_0x4d1ddd(0x23f)]=!0x0),_0x2fff75[_0x4d1ddd(0x114)]&&(_0x223998[_0x4d1ddd(0xe1)]=!0x0),typeof _0x2fff75[_0x4d1ddd(0x166)]==_0x4d1ddd(0x1b8)&&(_0x223998['server_max_window_bits']=_0x2fff75[_0x4d1ddd(0x166)]),typeof _0x2fff75[_0x4d1ddd(0x10a)]==_0x4d1ddd(0x1b8)?_0x223998[_0x4d1ddd(0x1c3)]=_0x2fff75[_0x4d1ddd(0x10a)]:(_0x223998[_0x4d1ddd(0x1c3)]===!0x0||_0x2fff75['clientMaxWindowBits']===!0x1)&&delete _0x223998['client_max_window_bits'],_0x223998;}['acceptAsClient'](_0x4e54eb){const _0x5bd2be=_0x678cf0,_0xeab87b=_0x4e54eb[0x0];if(this['_options'][_0x5bd2be(0x114)]===!0x1&&_0xeab87b[_0x5bd2be(0xe1)])throw new Error('Unexpected\x20parameter\x20\x22client_no_context_takeover\x22');if(!_0xeab87b[_0x5bd2be(0x1c3)])typeof this[_0x5bd2be(0x27f)][_0x5bd2be(0x10a)]==_0x5bd2be(0x1b8)&&(_0xeab87b['client_max_window_bits']=this[_0x5bd2be(0x27f)]['clientMaxWindowBits']);else{if(this[_0x5bd2be(0x27f)]['clientMaxWindowBits']===!0x1||typeof this[_0x5bd2be(0x27f)]['clientMaxWindowBits']==_0x5bd2be(0x1b8)&&_0xeab87b[_0x5bd2be(0x1c3)]>this['_options']['clientMaxWindowBits'])throw new Error(_0x5bd2be(0x116));}return _0xeab87b;}[_0x678cf0(0x234)](_0x26511d){const _0x2e0992=_0x678cf0;return _0x26511d[_0x2e0992(0x20c)](_0x53b635=>{const _0x388441=_0x2e0992;Object[_0x388441(0x19b)](_0x53b635)[_0x388441(0x20c)](_0x1ba0ec=>{const _0x34da5f=_0x388441;let _0x1b159e=_0x53b635[_0x1ba0ec];if(_0x1b159e[_0x34da5f(0x134)]>0x1)throw new Error(_0x34da5f(0x266)+_0x1ba0ec+_0x34da5f(0x140));if(_0x1b159e=_0x1b159e[0x0],_0x1ba0ec==='client_max_window_bits'){if(_0x1b159e!==!0x0){const _0x249b32=+_0x1b159e;if(!Number[_0x34da5f(0xfd)](_0x249b32)||_0x249b32<0x8||_0x249b32>0xf)throw new TypeError(_0x34da5f(0x217)+_0x1ba0ec+_0x34da5f(0x1be)+_0x1b159e);_0x1b159e=_0x249b32;}else{if(!this['_isServer'])throw new TypeError(_0x34da5f(0x217)+_0x1ba0ec+'\x22:\x20'+_0x1b159e);}}else{if(_0x1ba0ec===_0x34da5f(0x252)){const _0x2f7397=+_0x1b159e;if(!Number[_0x34da5f(0xfd)](_0x2f7397)||_0x2f7397<0x8||_0x2f7397>0xf)throw new TypeError(_0x34da5f(0x217)+_0x1ba0ec+_0x34da5f(0x1be)+_0x1b159e);_0x1b159e=_0x2f7397;}else{if(_0x1ba0ec==='client_no_context_takeover'||_0x1ba0ec==='server_no_context_takeover'){if(_0x1b159e!==!0x0)throw new TypeError(_0x34da5f(0x217)+_0x1ba0ec+_0x34da5f(0x1be)+_0x1b159e);}else throw new Error('Unknown\x20parameter\x20\x22'+_0x1ba0ec+'\x22');}}_0x53b635[_0x1ba0ec]=_0x1b159e;});}),_0x26511d;}[_0x678cf0(0x21a)](_0x3cdd39,_0x21c404,_0x143912){const _0x4318bf=_0x678cf0;_0x596b5e[_0x4318bf(0x210)](_0x1dbd42=>{const _0x5d44d4=_0x4318bf;this[_0x5d44d4(0x113)](_0x3cdd39,_0x21c404,(_0x2343d3,_0x5823a1)=>{_0x1dbd42(),_0x143912(_0x2343d3,_0x5823a1);});});}['compress'](_0x92b33,_0x3a8a06,_0x3228a4){_0x596b5e['add'](_0x15972a=>{const _0x41666c=_0x2054;this[_0x41666c(0x18e)](_0x92b33,_0x3a8a06,(_0x26b83b,_0x490729)=>{_0x15972a(),_0x3228a4(_0x26b83b,_0x490729);});});}[_0x678cf0(0x113)](_0x230dff,_0x573512,_0x552b85){const _0x1d6de9=_0x678cf0,_0x5e34bf=this[_0x1d6de9(0x270)]?_0x1d6de9(0x152):_0x1d6de9(0xea);if(!this['_inflate']){const _0x4084b0=_0x5e34bf+'_max_window_bits',_0x5e26b1=typeof this[_0x1d6de9(0x206)][_0x4084b0]!=_0x1d6de9(0x1b8)?_0x52ae86[_0x1d6de9(0x1a7)]:this['params'][_0x4084b0];this[_0x1d6de9(0x188)]=_0x52ae86[_0x1d6de9(0x223)]({...this[_0x1d6de9(0x27f)][_0x1d6de9(0x1ef)],'windowBits':_0x5e26b1}),this[_0x1d6de9(0x188)][_0x1caab2]=this,this['_inflate'][_0x24400a]=0x0,this[_0x1d6de9(0x188)][_0x2fdc87]=[],this[_0x1d6de9(0x188)]['on'](_0x1d6de9(0x197),_0xcd9adf),this[_0x1d6de9(0x188)]['on']('data',_0x879bad);}this['_inflate'][_0x49965c]=_0x552b85,this[_0x1d6de9(0x188)][_0x1d6de9(0x22a)](_0x230dff),_0x573512&&this[_0x1d6de9(0x188)][_0x1d6de9(0x22a)](_0x42eec7),this[_0x1d6de9(0x188)]['flush'](()=>{const _0x5b1151=_0x1d6de9,_0x2556d7=this[_0x5b1151(0x188)][_0x5f327f];if(_0x2556d7){this['_inflate'][_0x5b1151(0x15f)](),this['_inflate']=null,_0x552b85(_0x2556d7);return;}const _0x5f2a74=_0x5aa737[_0x5b1151(0x23b)](this[_0x5b1151(0x188)][_0x2fdc87],this['_inflate'][_0x24400a]);this[_0x5b1151(0x188)][_0x5b1151(0x1cb)][_0x5b1151(0x235)]?(this['_inflate'][_0x5b1151(0x15f)](),this[_0x5b1151(0x188)]=null):(this[_0x5b1151(0x188)][_0x24400a]=0x0,this[_0x5b1151(0x188)][_0x2fdc87]=[],_0x573512&&this[_0x5b1151(0x206)][_0x5e34bf+'_no_context_takeover']&&this[_0x5b1151(0x188)]['reset']()),_0x552b85(null,_0x5f2a74);});}[_0x678cf0(0x18e)](_0x1652ba,_0x1193b1,_0x51eb8e){const _0x86018=_0x678cf0,_0x529d1c=this[_0x86018(0x270)]?'server':_0x86018(0x152);if(!this['_deflate']){const _0x327793=_0x529d1c+_0x86018(0x24e),_0xc2440e=typeof this[_0x86018(0x206)][_0x327793]!='number'?_0x52ae86['Z_DEFAULT_WINDOWBITS']:this[_0x86018(0x206)][_0x327793];this[_0x86018(0x211)]=_0x52ae86['createDeflateRaw']({...this[_0x86018(0x27f)][_0x86018(0x1b2)],'windowBits':_0xc2440e}),this[_0x86018(0x211)][_0x24400a]=0x0,this['_deflate'][_0x2fdc87]=[],this[_0x86018(0x211)]['on'](_0x86018(0x10c),_0xbe3e7e);}this[_0x86018(0x211)][_0x49965c]=_0x51eb8e,this[_0x86018(0x211)][_0x86018(0x22a)](_0x1652ba),this[_0x86018(0x211)][_0x86018(0x19c)](_0x52ae86[_0x86018(0x1fc)],()=>{const _0x1d3aeb=_0x86018;if(!this[_0x1d3aeb(0x211)])return;let _0xd28eee=_0x5aa737[_0x1d3aeb(0x23b)](this[_0x1d3aeb(0x211)][_0x2fdc87],this[_0x1d3aeb(0x211)][_0x24400a]);_0x1193b1&&(_0xd28eee=new _0x5c1237(_0xd28eee[_0x1d3aeb(0x23d)],_0xd28eee[_0x1d3aeb(0x158)],_0xd28eee[_0x1d3aeb(0x134)]-0x4)),this[_0x1d3aeb(0x211)][_0x49965c]=null,this[_0x1d3aeb(0x211)][_0x24400a]=0x0,this[_0x1d3aeb(0x211)][_0x2fdc87]=[],_0x1193b1&&this[_0x1d3aeb(0x206)][_0x529d1c+_0x1d3aeb(0x27d)]&&this[_0x1d3aeb(0x211)][_0x1d3aeb(0x230)](),_0x51eb8e(null,_0xd28eee);});}}ve=_0x5dae62;function _0xbe3e7e(_0x7943e6){const _0x331004=_0x678cf0;this[_0x2fdc87][_0x331004(0x177)](_0x7943e6),this[_0x24400a]+=_0x7943e6[_0x331004(0x134)];}function _0x879bad(_0x457c9a){const _0x5a865d=_0x678cf0;if(this[_0x24400a]+=_0x457c9a[_0x5a865d(0x134)],this[_0x1caab2]['_maxPayload']<0x1||this[_0x24400a]<=this[_0x1caab2][_0x5a865d(0x167)]){this[_0x2fdc87][_0x5a865d(0x177)](_0x457c9a);return;}this[_0x5f327f]=new RangeError(_0x5a865d(0x200)),this[_0x5f327f][_0x5a865d(0xeb)]=_0x5a865d(0x23e),this[_0x5f327f][_0x1d3e02]=0x3f1,this[_0x5a865d(0xdd)](_0x5a865d(0x10c),_0x879bad),this[_0x5a865d(0x230)]();}function _0xcd9adf(_0x5448b3){const _0x258c8c=_0x678cf0;this[_0x1caab2][_0x258c8c(0x188)]=null,_0x5448b3[_0x1d3e02]=0x3ef,this[_0x49965c](_0x5448b3);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x33ab43(0x112)](Object[_0x33ab43(0x233)]({'__proto__':null,'default':Ht},Symbol[_0x33ab43(0x202)],{'value':_0x33ab43(0x15c)})),Yt=ut(zt);var Qe;function ne(){const _0x3e0010=_0x33ab43;if(Qe)return re['exports'];Qe=0x1;const {isUtf8:_0x351f1d}=_0x371c00,{hasBlob:_0x23179b}=V(),_0x56b1fb=[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 _0x341201(_0x877df0){return _0x877df0>=0x3e8&&_0x877df0<=0x3f6&&_0x877df0!==0x3ec&&_0x877df0!==0x3ed&&_0x877df0!==0x3ee||_0x877df0>=0xbb8&&_0x877df0<=0x1387;}function _0x41e71d(_0x1e69a9){const _0x389ae6=_0x2054,_0x5a49bd=_0x1e69a9[_0x389ae6(0x134)];let _0x3209ad=0x0;for(;_0x3209ad<_0x5a49bd;)if((_0x1e69a9[_0x3209ad]&0x80)===0x0)_0x3209ad++;else{if((_0x1e69a9[_0x3209ad]&0xe0)===0xc0){if(_0x3209ad+0x1===_0x5a49bd||(_0x1e69a9[_0x3209ad+0x1]&0xc0)!==0x80||(_0x1e69a9[_0x3209ad]&0xfe)===0xc0)return!0x1;_0x3209ad+=0x2;}else{if((_0x1e69a9[_0x3209ad]&0xf0)===0xe0){if(_0x3209ad+0x2>=_0x5a49bd||(_0x1e69a9[_0x3209ad+0x1]&0xc0)!==0x80||(_0x1e69a9[_0x3209ad+0x2]&0xc0)!==0x80||_0x1e69a9[_0x3209ad]===0xe0&&(_0x1e69a9[_0x3209ad+0x1]&0xe0)===0x80||_0x1e69a9[_0x3209ad]===0xed&&(_0x1e69a9[_0x3209ad+0x1]&0xe0)===0xa0)return!0x1;_0x3209ad+=0x3;}else{if((_0x1e69a9[_0x3209ad]&0xf8)===0xf0){if(_0x3209ad+0x3>=_0x5a49bd||(_0x1e69a9[_0x3209ad+0x1]&0xc0)!==0x80||(_0x1e69a9[_0x3209ad+0x2]&0xc0)!==0x80||(_0x1e69a9[_0x3209ad+0x3]&0xc0)!==0x80||_0x1e69a9[_0x3209ad]===0xf0&&(_0x1e69a9[_0x3209ad+0x1]&0xf0)===0x80||_0x1e69a9[_0x3209ad]===0xf4&&_0x1e69a9[_0x3209ad+0x1]>0x8f||_0x1e69a9[_0x3209ad]>0xf4)return!0x1;_0x3209ad+=0x4;}else return!0x1;}}}return!0x0;}function _0x3d8f14(_0xb84d62){const _0xeb65ac=_0x2054;return _0x23179b&&typeof _0xb84d62==_0xeb65ac(0x1bf)&&typeof _0xb84d62['arrayBuffer']=='function'&&typeof _0xb84d62['type']=='string'&&typeof _0xb84d62[_0xeb65ac(0xf5)]==_0xeb65ac(0x136)&&(_0xb84d62[Symbol[_0xeb65ac(0x202)]]===_0xeb65ac(0xd6)||_0xb84d62[Symbol['toStringTag']]===_0xeb65ac(0x139));}if(re[_0x3e0010(0x1c8)]={'isBlob':_0x3d8f14,'isValidStatusCode':_0x341201,'isValidUTF8':_0x41e71d,'tokenChars':_0x56b1fb},_0x351f1d)re[_0x3e0010(0x1c8)]['isValidUTF8']=function(_0x50d3fa){const _0x52b3bd=_0x3e0010;return _0x50d3fa[_0x52b3bd(0x134)]<0x18?_0x41e71d(_0x50d3fa):_0x351f1d(_0x50d3fa);};else{if(!process[_0x3e0010(0x1d8)][_0x3e0010(0x11a)])try{const _0x329cb9=Yt;re[_0x3e0010(0x1c8)]['isValidUTF8']=function(_0x51af70){const _0x2eee2d=_0x3e0010;return _0x51af70[_0x2eee2d(0x134)]<0x20?_0x41e71d(_0x51af70):_0x329cb9(_0x51af70);};}catch{}}return re['exports'];}var Se,Je;function dt(){const _0x4fafaa=_0x33ab43;if(Je)return Se;Je=0x1;const {Writable:_0x28fc59}=_0x458181,_0x246b6e=he(),{BINARY_TYPES:_0x3562dd,EMPTY_BUFFER:_0xfb4790,kStatusCode:_0x5324a3,kWebSocket:_0x34e085}=V(),{concat:_0x1e8864,toArrayBuffer:_0x44f050,unmask:_0x2ba845}=ce(),{isValidStatusCode:_0x125c28,isValidUTF8:_0xa260a8}=ne(),_0x40af1e=Buffer[Symbol[_0x4fafaa(0xfe)]],_0xc57771=0x0,_0x5de35f=0x1,_0x2cd415=0x2,_0x5747b2=0x3,_0x11d9f0=0x4,_0x1a2877=0x5,_0x4df703=0x6;class _0x226d3a extends _0x28fc59{constructor(_0x55e82b={}){const _0x157fc1=_0x4fafaa;super(),this[_0x157fc1(0x1c5)]=_0x55e82b[_0x157fc1(0x14c)]!==void 0x0?_0x55e82b[_0x157fc1(0x14c)]:!0x0,this[_0x157fc1(0x17f)]=_0x55e82b[_0x157fc1(0x269)]||_0x3562dd[0x0],this[_0x157fc1(0x22e)]=_0x55e82b[_0x157fc1(0x1a0)]||{},this['_isServer']=!!_0x55e82b[_0x157fc1(0x1e7)],this['_maxPayload']=_0x55e82b['maxPayload']|0x0,this[_0x157fc1(0x256)]=!!_0x55e82b[_0x157fc1(0x1a5)],this[_0x34e085]=void 0x0,this[_0x157fc1(0x254)]=0x0,this[_0x157fc1(0x17e)]=[],this[_0x157fc1(0x265)]=!0x1,this[_0x157fc1(0x248)]=0x0,this['_mask']=void 0x0,this['_fragmented']=0x0,this['_masked']=!0x1,this[_0x157fc1(0x244)]=!0x1,this[_0x157fc1(0x178)]=0x0,this[_0x157fc1(0x170)]=0x0,this[_0x157fc1(0xd2)]=0x0,this[_0x157fc1(0x1a8)]=[],this[_0x157fc1(0x148)]=!0x1,this[_0x157fc1(0xf6)]=!0x1,this[_0x157fc1(0x274)]=_0xc57771;}[_0x4fafaa(0x179)](_0xaeb26b,_0x13011e,_0x345871){const _0x504fe2=_0x4fafaa;if(this[_0x504fe2(0x178)]===0x8&&this[_0x504fe2(0x274)]==_0xc57771)return _0x345871();this[_0x504fe2(0x254)]+=_0xaeb26b[_0x504fe2(0x134)],this[_0x504fe2(0x17e)][_0x504fe2(0x177)](_0xaeb26b),this[_0x504fe2(0x259)](_0x345871);}[_0x4fafaa(0x1f8)](_0x432de3){const _0x52c8a2=_0x4fafaa;if(this[_0x52c8a2(0x254)]-=_0x432de3,_0x432de3===this[_0x52c8a2(0x17e)][0x0]['length'])return this[_0x52c8a2(0x17e)][_0x52c8a2(0x22c)]();if(_0x432de3<this[_0x52c8a2(0x17e)][0x0]['length']){const _0xd37a7=this[_0x52c8a2(0x17e)][0x0];return this[_0x52c8a2(0x17e)][0x0]=new _0x40af1e(_0xd37a7[_0x52c8a2(0x23d)],_0xd37a7[_0x52c8a2(0x158)]+_0x432de3,_0xd37a7[_0x52c8a2(0x134)]-_0x432de3),new _0x40af1e(_0xd37a7[_0x52c8a2(0x23d)],_0xd37a7[_0x52c8a2(0x158)],_0x432de3);}const _0x104582=Buffer[_0x52c8a2(0xe0)](_0x432de3);do{const _0x4c7027=this[_0x52c8a2(0x17e)][0x0],_0x4c0a9b=_0x104582['length']-_0x432de3;_0x432de3>=_0x4c7027[_0x52c8a2(0x134)]?_0x104582[_0x52c8a2(0x15b)](this[_0x52c8a2(0x17e)][_0x52c8a2(0x22c)](),_0x4c0a9b):(_0x104582[_0x52c8a2(0x15b)](new Uint8Array(_0x4c7027[_0x52c8a2(0x23d)],_0x4c7027[_0x52c8a2(0x158)],_0x432de3),_0x4c0a9b),this[_0x52c8a2(0x17e)][0x0]=new _0x40af1e(_0x4c7027[_0x52c8a2(0x23d)],_0x4c7027[_0x52c8a2(0x158)]+_0x432de3,_0x4c7027[_0x52c8a2(0x134)]-_0x432de3)),_0x432de3-=_0x4c7027['length'];}while(_0x432de3>0x0);return _0x104582;}[_0x4fafaa(0x259)](_0x3306ed){const _0x3087aa=_0x4fafaa;this[_0x3087aa(0xf6)]=!0x0;do switch(this['_state']){case _0xc57771:this[_0x3087aa(0xdf)](_0x3306ed);break;case _0x5de35f:this[_0x3087aa(0x153)](_0x3306ed);break;case _0x2cd415:this[_0x3087aa(0x135)](_0x3306ed);break;case _0x5747b2:this[_0x3087aa(0x1c4)]();break;case _0x11d9f0:this[_0x3087aa(0x163)](_0x3306ed);break;case _0x1a2877:case _0x4df703:this[_0x3087aa(0xf6)]=!0x1;return;}while(this[_0x3087aa(0xf6)]);this[_0x3087aa(0x148)]||_0x3306ed();}[_0x4fafaa(0xdf)](_0x1859d2){const _0x3664e6=_0x4fafaa;if(this[_0x3664e6(0x254)]<0x2){this[_0x3664e6(0xf6)]=!0x1;return;}const _0x44eaa8=this[_0x3664e6(0x1f8)](0x2);if((_0x44eaa8[0x0]&0x30)!==0x0){const _0x14415c=this[_0x3664e6(0x122)](RangeError,_0x3664e6(0x1d2),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x1859d2(_0x14415c);return;}const _0x18b6fd=(_0x44eaa8[0x0]&0x40)===0x40;if(_0x18b6fd&&!this[_0x3664e6(0x22e)][_0x246b6e['extensionName']]){const _0xf3c7bd=this['createError'](RangeError,_0x3664e6(0x12d),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x1859d2(_0xf3c7bd);return;}if(this[_0x3664e6(0x244)]=(_0x44eaa8[0x0]&0x80)===0x80,this[_0x3664e6(0x178)]=_0x44eaa8[0x0]&0xf,this[_0x3664e6(0x248)]=_0x44eaa8[0x1]&0x7f,this['_opcode']===0x0){if(_0x18b6fd){const _0x5bc68e=this[_0x3664e6(0x122)](RangeError,_0x3664e6(0x12d),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x1859d2(_0x5bc68e);return;}if(!this[_0x3664e6(0x283)]){const _0x228ebd=this[_0x3664e6(0x122)](RangeError,_0x3664e6(0x1e1),!0x0,0x3ea,_0x3664e6(0x203));_0x1859d2(_0x228ebd);return;}this['_opcode']=this[_0x3664e6(0x283)];}else{if(this['_opcode']===0x1||this[_0x3664e6(0x178)]===0x2){if(this['_fragmented']){const _0x558b98=this[_0x3664e6(0x122)](RangeError,_0x3664e6(0x1f5)+this[_0x3664e6(0x178)],!0x0,0x3ea,_0x3664e6(0x203));_0x1859d2(_0x558b98);return;}this[_0x3664e6(0x265)]=_0x18b6fd;}else{if(this[_0x3664e6(0x178)]>0x7&&this[_0x3664e6(0x178)]<0xb){if(!this[_0x3664e6(0x244)]){const _0x55605d=this[_0x3664e6(0x122)](RangeError,_0x3664e6(0x1ea),!0x0,0x3ea,_0x3664e6(0xe4));_0x1859d2(_0x55605d);return;}if(_0x18b6fd){const _0x150582=this[_0x3664e6(0x122)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x3664e6(0x1f1));_0x1859d2(_0x150582);return;}if(this[_0x3664e6(0x248)]>0x7d||this[_0x3664e6(0x178)]===0x8&&this[_0x3664e6(0x248)]===0x1){const _0x22c7ea=this[_0x3664e6(0x122)](RangeError,_0x3664e6(0x26f)+this[_0x3664e6(0x248)],!0x0,0x3ea,'WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH');_0x1859d2(_0x22c7ea);return;}}else{const _0x552611=this[_0x3664e6(0x122)](RangeError,_0x3664e6(0x1f5)+this[_0x3664e6(0x178)],!0x0,0x3ea,_0x3664e6(0x203));_0x1859d2(_0x552611);return;}}}if(!this[_0x3664e6(0x244)]&&!this[_0x3664e6(0x283)]&&(this[_0x3664e6(0x283)]=this['_opcode']),this[_0x3664e6(0x1d5)]=(_0x44eaa8[0x1]&0x80)===0x80,this[_0x3664e6(0x270)]){if(!this[_0x3664e6(0x1d5)]){const _0x402833=this['createError'](RangeError,_0x3664e6(0xdc),!0x0,0x3ea,_0x3664e6(0x1ae));_0x1859d2(_0x402833);return;}}else{if(this[_0x3664e6(0x1d5)]){const _0x28389c=this[_0x3664e6(0x122)](RangeError,_0x3664e6(0x1d6),!0x0,0x3ea,_0x3664e6(0xee));_0x1859d2(_0x28389c);return;}}this[_0x3664e6(0x248)]===0x7e?this[_0x3664e6(0x274)]=_0x5de35f:this[_0x3664e6(0x248)]===0x7f?this[_0x3664e6(0x274)]=_0x2cd415:this[_0x3664e6(0x26e)](_0x1859d2);}['getPayloadLength16'](_0x53e746){const _0x207211=_0x4fafaa;if(this['_bufferedBytes']<0x2){this[_0x207211(0xf6)]=!0x1;return;}this[_0x207211(0x248)]=this['consume'](0x2)[_0x207211(0xdb)](0x0),this[_0x207211(0x26e)](_0x53e746);}['getPayloadLength64'](_0x41243d){const _0x537065=_0x4fafaa;if(this['_bufferedBytes']<0x8){this[_0x537065(0xf6)]=!0x1;return;}const _0x531ba1=this[_0x537065(0x1f8)](0x8),_0x76efb3=_0x531ba1[_0x537065(0x1d7)](0x0);if(_0x76efb3>Math['pow'](0x2,0x15)-0x1){const _0x977b6b=this[_0x537065(0x122)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x41243d(_0x977b6b);return;}this[_0x537065(0x248)]=_0x76efb3*Math[_0x537065(0x279)](0x2,0x20)+_0x531ba1[_0x537065(0x1d7)](0x4),this[_0x537065(0x26e)](_0x41243d);}[_0x4fafaa(0x26e)](_0x5870d2){const _0x301851=_0x4fafaa;if(this['_payloadLength']&&this[_0x301851(0x178)]<0x8&&(this[_0x301851(0x170)]+=this[_0x301851(0x248)],this[_0x301851(0x170)]>this[_0x301851(0x167)]&&this[_0x301851(0x167)]>0x0)){const _0x86fe78=this['createError'](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x301851(0x23e));_0x5870d2(_0x86fe78);return;}this[_0x301851(0x1d5)]?this[_0x301851(0x274)]=_0x5747b2:this[_0x301851(0x274)]=_0x11d9f0;}['getMask'](){const _0x2861af=_0x4fafaa;if(this[_0x2861af(0x254)]<0x4){this[_0x2861af(0xf6)]=!0x1;return;}this['_mask']=this[_0x2861af(0x1f8)](0x4),this['_state']=_0x11d9f0;}[_0x4fafaa(0x163)](_0x5db596){const _0x1b4421=_0x4fafaa;let _0x59c464=_0xfb4790;if(this[_0x1b4421(0x248)]){if(this[_0x1b4421(0x254)]<this[_0x1b4421(0x248)]){this['_loop']=!0x1;return;}_0x59c464=this[_0x1b4421(0x1f8)](this[_0x1b4421(0x248)]),this[_0x1b4421(0x1d5)]&&(this[_0x1b4421(0x1f7)][0x0]|this[_0x1b4421(0x1f7)][0x1]|this[_0x1b4421(0x1f7)][0x2]|this[_0x1b4421(0x1f7)][0x3])!==0x0&&_0x2ba845(_0x59c464,this['_mask']);}if(this[_0x1b4421(0x178)]>0x7){this['controlMessage'](_0x59c464,_0x5db596);return;}if(this[_0x1b4421(0x265)]){this[_0x1b4421(0x274)]=_0x1a2877,this[_0x1b4421(0x21a)](_0x59c464,_0x5db596);return;}_0x59c464[_0x1b4421(0x134)]&&(this[_0x1b4421(0xd2)]=this[_0x1b4421(0x170)],this[_0x1b4421(0x1a8)]['push'](_0x59c464)),this['dataMessage'](_0x5db596);}[_0x4fafaa(0x21a)](_0x3ae52a,_0x2a332f){const _0x10b5d3=_0x4fafaa;this[_0x10b5d3(0x22e)][_0x246b6e[_0x10b5d3(0x22b)]]['decompress'](_0x3ae52a,this[_0x10b5d3(0x244)],(_0x1bf8d6,_0xa79e26)=>{const _0x6f9515=_0x10b5d3;if(_0x1bf8d6)return _0x2a332f(_0x1bf8d6);if(_0xa79e26[_0x6f9515(0x134)]){if(this['_messageLength']+=_0xa79e26[_0x6f9515(0x134)],this['_messageLength']>this[_0x6f9515(0x167)]&&this[_0x6f9515(0x167)]>0x0){const _0x1951fa=this[_0x6f9515(0x122)](RangeError,_0x6f9515(0x200),!0x1,0x3f1,_0x6f9515(0x23e));_0x2a332f(_0x1951fa);return;}this['_fragments']['push'](_0xa79e26);}this[_0x6f9515(0x231)](_0x2a332f),this[_0x6f9515(0x274)]===_0xc57771&&this[_0x6f9515(0x259)](_0x2a332f);});}['dataMessage'](_0x148cdf){const _0x39fab4=_0x4fafaa;if(!this[_0x39fab4(0x244)]){this[_0x39fab4(0x274)]=_0xc57771;return;}const _0x251a44=this[_0x39fab4(0xd2)],_0x13e41c=this[_0x39fab4(0x1a8)];if(this[_0x39fab4(0x170)]=0x0,this[_0x39fab4(0xd2)]=0x0,this['_fragmented']=0x0,this['_fragments']=[],this[_0x39fab4(0x178)]===0x2){let _0x3e7165;this['_binaryType']==='nodebuffer'?_0x3e7165=_0x1e8864(_0x13e41c,_0x251a44):this[_0x39fab4(0x17f)]===_0x39fab4(0x1ee)?_0x3e7165=_0x44f050(_0x1e8864(_0x13e41c,_0x251a44)):this[_0x39fab4(0x17f)]===_0x39fab4(0x12b)?_0x3e7165=new Blob(_0x13e41c):_0x3e7165=_0x13e41c,this[_0x39fab4(0x1c5)]?(this[_0x39fab4(0x185)](_0x39fab4(0x14a),_0x3e7165,!0x0),this[_0x39fab4(0x274)]=_0xc57771):(this['_state']=_0x4df703,setImmediate(()=>{const _0xa9952d=_0x39fab4;this[_0xa9952d(0x185)]('message',_0x3e7165,!0x0),this['_state']=_0xc57771,this[_0xa9952d(0x259)](_0x148cdf);}));}else{const _0x249492=_0x1e8864(_0x13e41c,_0x251a44);if(!this[_0x39fab4(0x256)]&&!_0xa260a8(_0x249492)){const _0x2caa8f=this[_0x39fab4(0x122)](Error,_0x39fab4(0x195),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x148cdf(_0x2caa8f);return;}this[_0x39fab4(0x274)]===_0x1a2877||this['_allowSynchronousEvents']?(this['emit'](_0x39fab4(0x14a),_0x249492,!0x1),this[_0x39fab4(0x274)]=_0xc57771):(this['_state']=_0x4df703,setImmediate(()=>{const _0x36b9d7=_0x39fab4;this[_0x36b9d7(0x185)](_0x36b9d7(0x14a),_0x249492,!0x1),this[_0x36b9d7(0x274)]=_0xc57771,this['startLoop'](_0x148cdf);}));}}[_0x4fafaa(0xe2)](_0x310c1a,_0x1222b5){const _0x39e53e=_0x4fafaa;if(this[_0x39e53e(0x178)]===0x8){if(_0x310c1a[_0x39e53e(0x134)]===0x0)this[_0x39e53e(0xf6)]=!0x1,this[_0x39e53e(0x185)](_0x39e53e(0x1ab),0x3ed,_0xfb4790),this[_0x39e53e(0x175)]();else{const _0x550e90=_0x310c1a[_0x39e53e(0xdb)](0x0);if(!_0x125c28(_0x550e90)){const _0x2315bc=this['createError'](RangeError,_0x39e53e(0x26b)+_0x550e90,!0x0,0x3ea,_0x39e53e(0x1b7));_0x1222b5(_0x2315bc);return;}const _0x492a20=new _0x40af1e(_0x310c1a[_0x39e53e(0x23d)],_0x310c1a[_0x39e53e(0x158)]+0x2,_0x310c1a['length']-0x2);if(!this[_0x39e53e(0x256)]&&!_0xa260a8(_0x492a20)){const _0x3430ff=this[_0x39e53e(0x122)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x39e53e(0x1cc));_0x1222b5(_0x3430ff);return;}this[_0x39e53e(0xf6)]=!0x1,this[_0x39e53e(0x185)]('conclude',_0x550e90,_0x492a20),this[_0x39e53e(0x175)]();}this[_0x39e53e(0x274)]=_0xc57771;return;}this[_0x39e53e(0x1c5)]?(this[_0x39e53e(0x185)](this[_0x39e53e(0x178)]===0x9?_0x39e53e(0x268):_0x39e53e(0x132),_0x310c1a),this[_0x39e53e(0x274)]=_0xc57771):(this[_0x39e53e(0x274)]=_0x4df703,setImmediate(()=>{const _0x5a38af=_0x39e53e;this[_0x5a38af(0x185)](this[_0x5a38af(0x178)]===0x9?_0x5a38af(0x268):_0x5a38af(0x132),_0x310c1a),this[_0x5a38af(0x274)]=_0xc57771,this[_0x5a38af(0x259)](_0x1222b5);}));}['createError'](_0x1703d2,_0x3dea5a,_0x383b48,_0x1c8ac4,_0x564950){const _0x2525fc=_0x4fafaa;this[_0x2525fc(0xf6)]=!0x1,this[_0x2525fc(0x148)]=!0x0;const _0x4f51fd=new _0x1703d2(_0x383b48?_0x2525fc(0x111)+_0x3dea5a:_0x3dea5a);return Error[_0x2525fc(0x17a)](_0x4f51fd,this[_0x2525fc(0x122)]),_0x4f51fd[_0x2525fc(0xeb)]=_0x564950,_0x4f51fd[_0x5324a3]=_0x1c8ac4,_0x4f51fd;}}return Se=_0x226d3a,Se;}var Ee,et;function _t(){const _0x2f8428=_0x33ab43;if(et)return Ee;et=0x1;const {Duplex:_0x3e8a20}=_0x458181,{randomFillSync:_0x36eb64}=_0x34b0ca,_0x529743=he(),{EMPTY_BUFFER:_0xf7041b,kWebSocket:_0x4fb78f,NOOP:_0x29359c}=V(),{isBlob:_0x14323a,isValidStatusCode:_0x3a3e82}=ne(),{mask:_0x2d16e3,toBuffer:_0x4c4102}=ce(),_0x16b086=Symbol('kByteLength'),_0x36a47a=Buffer[_0x2f8428(0x151)](0x4),_0x489db6=0x8*0x400;let _0x15c34a,_0x4a4a02=_0x489db6;const _0xf32f6a=0x0,_0x18c9c7=0x1,_0x29e4ed=0x2;class _0x1558b1{constructor(_0x4f6a0e,_0x54ad41,_0x2e4d28){const _0x2e8d02=_0x2f8428;this['_extensions']=_0x54ad41||{},_0x2e4d28&&(this[_0x2e8d02(0x127)]=_0x2e4d28,this[_0x2e8d02(0x21f)]=Buffer[_0x2e8d02(0x151)](0x4)),this[_0x2e8d02(0x1cd)]=_0x4f6a0e,this[_0x2e8d02(0x11b)]=!0x0,this[_0x2e8d02(0x18e)]=!0x1,this[_0x2e8d02(0x254)]=0x0,this['_queue']=[],this[_0x2e8d02(0x274)]=_0xf32f6a,this[_0x2e8d02(0x102)]=_0x29359c,this[_0x4fb78f]=void 0x0;}static[_0x2f8428(0x131)](_0x7c990c,_0x38213d){const _0x4df7c7=_0x2f8428;let _0x17fe10,_0x4c1a2a=!0x1,_0x29a8a8=0x2,_0x7e1657=!0x1;_0x38213d[_0x4df7c7(0x204)]&&(_0x17fe10=_0x38213d[_0x4df7c7(0x21d)]||_0x36a47a,_0x38213d[_0x4df7c7(0x194)]?_0x38213d[_0x4df7c7(0x194)](_0x17fe10):(_0x4a4a02===_0x489db6&&(_0x15c34a===void 0x0&&(_0x15c34a=Buffer[_0x4df7c7(0x151)](_0x489db6)),_0x36eb64(_0x15c34a,0x0,_0x489db6),_0x4a4a02=0x0),_0x17fe10[0x0]=_0x15c34a[_0x4a4a02++],_0x17fe10[0x1]=_0x15c34a[_0x4a4a02++],_0x17fe10[0x2]=_0x15c34a[_0x4a4a02++],_0x17fe10[0x3]=_0x15c34a[_0x4a4a02++]),_0x7e1657=(_0x17fe10[0x0]|_0x17fe10[0x1]|_0x17fe10[0x2]|_0x17fe10[0x3])===0x0,_0x29a8a8=0x6);let _0x55e400;typeof _0x7c990c==_0x4df7c7(0x1a9)?(!_0x38213d[_0x4df7c7(0x204)]||_0x7e1657)&&_0x38213d[_0x16b086]!==void 0x0?_0x55e400=_0x38213d[_0x16b086]:(_0x7c990c=Buffer[_0x4df7c7(0x165)](_0x7c990c),_0x55e400=_0x7c990c[_0x4df7c7(0x134)]):(_0x55e400=_0x7c990c[_0x4df7c7(0x134)],_0x4c1a2a=_0x38213d[_0x4df7c7(0x204)]&&_0x38213d[_0x4df7c7(0xe6)]&&!_0x7e1657);let _0x3fea2f=_0x55e400;_0x55e400>=0x10000?(_0x29a8a8+=0x8,_0x3fea2f=0x7f):_0x55e400>0x7d&&(_0x29a8a8+=0x2,_0x3fea2f=0x7e);const _0x15e4a1=Buffer['allocUnsafe'](_0x4c1a2a?_0x55e400+_0x29a8a8:_0x29a8a8);return _0x15e4a1[0x0]=_0x38213d[_0x4df7c7(0x16e)]?_0x38213d[_0x4df7c7(0x25e)]|0x80:_0x38213d[_0x4df7c7(0x25e)],_0x38213d['rsv1']&&(_0x15e4a1[0x0]|=0x40),_0x15e4a1[0x1]=_0x3fea2f,_0x3fea2f===0x7e?_0x15e4a1['writeUInt16BE'](_0x55e400,0x2):_0x3fea2f===0x7f&&(_0x15e4a1[0x2]=_0x15e4a1[0x3]=0x0,_0x15e4a1[_0x4df7c7(0xf1)](_0x55e400,0x4,0x6)),_0x38213d[_0x4df7c7(0x204)]?(_0x15e4a1[0x1]|=0x80,_0x15e4a1[_0x29a8a8-0x4]=_0x17fe10[0x0],_0x15e4a1[_0x29a8a8-0x3]=_0x17fe10[0x1],_0x15e4a1[_0x29a8a8-0x2]=_0x17fe10[0x2],_0x15e4a1[_0x29a8a8-0x1]=_0x17fe10[0x3],_0x7e1657?[_0x15e4a1,_0x7c990c]:_0x4c1a2a?(_0x2d16e3(_0x7c990c,_0x17fe10,_0x15e4a1,_0x29a8a8,_0x55e400),[_0x15e4a1]):(_0x2d16e3(_0x7c990c,_0x17fe10,_0x7c990c,0x0,_0x55e400),[_0x15e4a1,_0x7c990c])):[_0x15e4a1,_0x7c990c];}[_0x2f8428(0x15f)](_0x1260e7,_0x2220ff,_0xd02206,_0x275764){const _0x643a6d=_0x2f8428;let _0x4e51be;if(_0x1260e7===void 0x0)_0x4e51be=_0xf7041b;else{if(typeof _0x1260e7!=_0x643a6d(0x1b8)||!_0x3a3e82(_0x1260e7))throw new TypeError(_0x643a6d(0xd4));if(_0x2220ff===void 0x0||!_0x2220ff[_0x643a6d(0x134)])_0x4e51be=Buffer[_0x643a6d(0xe0)](0x2),_0x4e51be[_0x643a6d(0xfc)](_0x1260e7,0x0);else{const _0x5d2d97=Buffer['byteLength'](_0x2220ff);if(_0x5d2d97>0x7b)throw new RangeError(_0x643a6d(0x186));_0x4e51be=Buffer[_0x643a6d(0xe0)](0x2+_0x5d2d97),_0x4e51be[_0x643a6d(0xfc)](_0x1260e7,0x0),typeof _0x2220ff==_0x643a6d(0x1a9)?_0x4e51be['write'](_0x2220ff,0x2):_0x4e51be[_0x643a6d(0x15b)](_0x2220ff,0x2);}}const _0x37f2db={[_0x16b086]:_0x4e51be[_0x643a6d(0x134)],'fin':!0x0,'generateMask':this[_0x643a6d(0x127)],'mask':_0xd02206,'maskBuffer':this[_0x643a6d(0x21f)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x643a6d(0x274)]!==_0xf32f6a?this[_0x643a6d(0x108)]([this[_0x643a6d(0x1aa)],_0x4e51be,!0x1,_0x37f2db,_0x275764]):this['sendFrame'](_0x1558b1[_0x643a6d(0x131)](_0x4e51be,_0x37f2db),_0x275764);}[_0x2f8428(0x268)](_0x25e708,_0x395358,_0x471942){const _0x282ea6=_0x2f8428;let _0x5c0392,_0x217813;if(typeof _0x25e708==_0x282ea6(0x1a9)?(_0x5c0392=Buffer[_0x282ea6(0x1c0)](_0x25e708),_0x217813=!0x1):_0x14323a(_0x25e708)?(_0x5c0392=_0x25e708[_0x282ea6(0x117)],_0x217813=!0x1):(_0x25e708=_0x4c4102(_0x25e708),_0x5c0392=_0x25e708[_0x282ea6(0x134)],_0x217813=_0x4c4102[_0x282ea6(0xe6)]),_0x5c0392>0x7d)throw new RangeError(_0x282ea6(0x161));const _0x4f251b={[_0x16b086]:_0x5c0392,'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x395358,'maskBuffer':this[_0x282ea6(0x21f)],'opcode':0x9,'readOnly':_0x217813,'rsv1':!0x1};_0x14323a(_0x25e708)?this[_0x282ea6(0x274)]!==_0xf32f6a?this[_0x282ea6(0x108)]([this[_0x282ea6(0x12c)],_0x25e708,!0x1,_0x4f251b,_0x471942]):this[_0x282ea6(0x12c)](_0x25e708,!0x1,_0x4f251b,_0x471942):this['_state']!==_0xf32f6a?this[_0x282ea6(0x108)]([this[_0x282ea6(0x1aa)],_0x25e708,!0x1,_0x4f251b,_0x471942]):this[_0x282ea6(0x191)](_0x1558b1['frame'](_0x25e708,_0x4f251b),_0x471942);}[_0x2f8428(0x132)](_0x47b853,_0x50e3a2,_0x5b73f1){const _0x3c66fc=_0x2f8428;let _0x35fd7f,_0x11574c;if(typeof _0x47b853==_0x3c66fc(0x1a9)?(_0x35fd7f=Buffer[_0x3c66fc(0x1c0)](_0x47b853),_0x11574c=!0x1):_0x14323a(_0x47b853)?(_0x35fd7f=_0x47b853[_0x3c66fc(0x117)],_0x11574c=!0x1):(_0x47b853=_0x4c4102(_0x47b853),_0x35fd7f=_0x47b853[_0x3c66fc(0x134)],_0x11574c=_0x4c4102[_0x3c66fc(0xe6)]),_0x35fd7f>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x436410={[_0x16b086]:_0x35fd7f,'fin':!0x0,'generateMask':this[_0x3c66fc(0x127)],'mask':_0x50e3a2,'maskBuffer':this[_0x3c66fc(0x21f)],'opcode':0xa,'readOnly':_0x11574c,'rsv1':!0x1};_0x14323a(_0x47b853)?this[_0x3c66fc(0x274)]!==_0xf32f6a?this[_0x3c66fc(0x108)]([this['getBlobData'],_0x47b853,!0x1,_0x436410,_0x5b73f1]):this['getBlobData'](_0x47b853,!0x1,_0x436410,_0x5b73f1):this[_0x3c66fc(0x274)]!==_0xf32f6a?this[_0x3c66fc(0x108)]([this[_0x3c66fc(0x1aa)],_0x47b853,!0x1,_0x436410,_0x5b73f1]):this[_0x3c66fc(0x191)](_0x1558b1[_0x3c66fc(0x131)](_0x47b853,_0x436410),_0x5b73f1);}[_0x2f8428(0xd8)](_0x32025b,_0x18ffa2,_0x4a3295){const _0xda2f07=_0x2f8428,_0x19f021=this[_0xda2f07(0x22e)][_0x529743[_0xda2f07(0x22b)]];let _0x555efb=_0x18ffa2[_0xda2f07(0x1f4)]?0x2:0x1,_0x9fd8b2=_0x18ffa2[_0xda2f07(0xf9)],_0x5bd054,_0x50ebfe;typeof _0x32025b==_0xda2f07(0x1a9)?(_0x5bd054=Buffer[_0xda2f07(0x1c0)](_0x32025b),_0x50ebfe=!0x1):_0x14323a(_0x32025b)?(_0x5bd054=_0x32025b[_0xda2f07(0x117)],_0x50ebfe=!0x1):(_0x32025b=_0x4c4102(_0x32025b),_0x5bd054=_0x32025b['length'],_0x50ebfe=_0x4c4102[_0xda2f07(0xe6)]),this[_0xda2f07(0x11b)]?(this[_0xda2f07(0x11b)]=!0x1,_0x9fd8b2&&_0x19f021&&_0x19f021['params'][_0x19f021[_0xda2f07(0x270)]?_0xda2f07(0x23f):_0xda2f07(0xe1)]&&(_0x9fd8b2=_0x5bd054>=_0x19f021[_0xda2f07(0x225)]),this[_0xda2f07(0x18e)]=_0x9fd8b2):(_0x9fd8b2=!0x1,_0x555efb=0x0),_0x18ffa2[_0xda2f07(0x16e)]&&(this[_0xda2f07(0x11b)]=!0x0);const _0xceae06={[_0x16b086]:_0x5bd054,'fin':_0x18ffa2[_0xda2f07(0x16e)],'generateMask':this[_0xda2f07(0x127)],'mask':_0x18ffa2['mask'],'maskBuffer':this[_0xda2f07(0x21f)],'opcode':_0x555efb,'readOnly':_0x50ebfe,'rsv1':_0x9fd8b2};_0x14323a(_0x32025b)?this[_0xda2f07(0x274)]!==_0xf32f6a?this[_0xda2f07(0x108)]([this[_0xda2f07(0x12c)],_0x32025b,this['_compress'],_0xceae06,_0x4a3295]):this[_0xda2f07(0x12c)](_0x32025b,this[_0xda2f07(0x18e)],_0xceae06,_0x4a3295):this[_0xda2f07(0x274)]!==_0xf32f6a?this[_0xda2f07(0x108)]([this['dispatch'],_0x32025b,this[_0xda2f07(0x18e)],_0xceae06,_0x4a3295]):this[_0xda2f07(0x1aa)](_0x32025b,this['_compress'],_0xceae06,_0x4a3295);}[_0x2f8428(0x12c)](_0xe30c8d,_0x462023,_0x476666,_0x48c930){const _0x2d7f97=_0x2f8428;this['_bufferedBytes']+=_0x476666[_0x16b086],this[_0x2d7f97(0x274)]=_0x29e4ed,_0xe30c8d[_0x2d7f97(0x271)]()['then'](_0x5686e4=>{const _0x4352b0=_0x2d7f97;if(this['_socket'][_0x4352b0(0x1d1)]){const _0x2f6603=new Error(_0x4352b0(0x1f9));process[_0x4352b0(0xe9)](_0x1350ff,this,_0x2f6603,_0x48c930);return;}this[_0x4352b0(0x254)]-=_0x476666[_0x16b086];const _0x47ce7b=_0x4c4102(_0x5686e4);_0x462023?this[_0x4352b0(0x1aa)](_0x47ce7b,_0x462023,_0x476666,_0x48c930):(this[_0x4352b0(0x274)]=_0xf32f6a,this[_0x4352b0(0x191)](_0x1558b1['frame'](_0x47ce7b,_0x476666),_0x48c930),this[_0x4352b0(0x1a3)]());})[_0x2d7f97(0x1a6)](_0x506b65=>{const _0x12af72=_0x2d7f97;process[_0x12af72(0xe9)](_0x30dd9c,this,_0x506b65,_0x48c930);});}['dispatch'](_0x3fc526,_0x28d6bf,_0x34e169,_0x85d867){const _0x5c6a04=_0x2f8428;if(!_0x28d6bf){this[_0x5c6a04(0x191)](_0x1558b1[_0x5c6a04(0x131)](_0x3fc526,_0x34e169),_0x85d867);return;}const _0x41ef68=this[_0x5c6a04(0x22e)][_0x529743['extensionName']];this[_0x5c6a04(0x254)]+=_0x34e169[_0x16b086],this[_0x5c6a04(0x274)]=_0x18c9c7,_0x41ef68['compress'](_0x3fc526,_0x34e169[_0x5c6a04(0x16e)],(_0x4758bc,_0x422264)=>{const _0x38e7d6=_0x5c6a04;if(this[_0x38e7d6(0x1cd)][_0x38e7d6(0x1d1)]){const _0xf7ed85=new Error(_0x38e7d6(0x1d9));_0x1350ff(this,_0xf7ed85,_0x85d867);return;}this[_0x38e7d6(0x254)]-=_0x34e169[_0x16b086],this[_0x38e7d6(0x274)]=_0xf32f6a,_0x34e169[_0x38e7d6(0xe6)]=!0x1,this[_0x38e7d6(0x191)](_0x1558b1['frame'](_0x422264,_0x34e169),_0x85d867),this[_0x38e7d6(0x1a3)]();});}[_0x2f8428(0x1a3)](){const _0x2834d7=_0x2f8428;for(;this[_0x2834d7(0x274)]===_0xf32f6a&&this[_0x2834d7(0xd5)][_0x2834d7(0x134)];){const _0x430e5c=this[_0x2834d7(0xd5)][_0x2834d7(0x22c)]();this[_0x2834d7(0x254)]-=_0x430e5c[0x3][_0x16b086],Reflect[_0x2834d7(0x251)](_0x430e5c[0x0],this,_0x430e5c[_0x2834d7(0x1a1)](0x1));}}[_0x2f8428(0x108)](_0x5033f4){const _0x5cad5d=_0x2f8428;this[_0x5cad5d(0x254)]+=_0x5033f4[0x3][_0x16b086],this[_0x5cad5d(0xd5)][_0x5cad5d(0x177)](_0x5033f4);}[_0x2f8428(0x191)](_0x43b41e,_0x591429){const _0x36282a=_0x2f8428;_0x43b41e[_0x36282a(0x134)]===0x2?(this[_0x36282a(0x1cd)][_0x36282a(0x1ca)](),this[_0x36282a(0x1cd)]['write'](_0x43b41e[0x0]),this[_0x36282a(0x1cd)][_0x36282a(0x22a)](_0x43b41e[0x1],_0x591429),this[_0x36282a(0x1cd)][_0x36282a(0x205)]()):this['_socket'][_0x36282a(0x22a)](_0x43b41e[0x0],_0x591429);}}Ee=_0x1558b1;function _0x1350ff(_0x34bee2,_0x3cc282,_0x4d8cc8){const _0x3f949b=_0x2f8428;typeof _0x4d8cc8==_0x3f949b(0x136)&&_0x4d8cc8(_0x3cc282);for(let _0x196407=0x0;_0x196407<_0x34bee2[_0x3f949b(0xd5)]['length'];_0x196407++){const _0x2cdded=_0x34bee2[_0x3f949b(0xd5)][_0x196407],_0x397b5e=_0x2cdded[_0x2cdded[_0x3f949b(0x134)]-0x1];typeof _0x397b5e==_0x3f949b(0x136)&&_0x397b5e(_0x3cc282);}}function _0x30dd9c(_0x53f433,_0x597c52,_0x5a314c){const _0x23fe52=_0x2f8428;_0x1350ff(_0x53f433,_0x597c52,_0x5a314c),_0x53f433[_0x23fe52(0x102)](_0x597c52);}return Ee;}var xe,tt;function Kt(){const _0x2b117f=_0x33ab43;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x1843ec,kListener:_0x21293f}=V(),_0x3c4c21=Symbol('kCode'),_0x5cb6ed=Symbol(_0x2b117f(0x25f)),_0x55ed35=Symbol('kError'),_0x565d04=Symbol(_0x2b117f(0x1d3)),_0x36f4e1=Symbol(_0x2b117f(0x105)),_0xf20404=Symbol('kTarget'),_0x40f455=Symbol(_0x2b117f(0x221)),_0x5e5bd2=Symbol(_0x2b117f(0x18b));class _0x27b07f{constructor(_0x50a3e4){this[_0xf20404]=null,this[_0x40f455]=_0x50a3e4;}get[_0x2b117f(0x129)](){return this[_0xf20404];}get['type'](){return this[_0x40f455];}}Object[_0x2b117f(0x233)](_0x27b07f[_0x2b117f(0x124)],'target',{'enumerable':!0x0}),Object['defineProperty'](_0x27b07f[_0x2b117f(0x124)],_0x2b117f(0x272),{'enumerable':!0x0});class _0x5ba11c extends _0x27b07f{constructor(_0xf416e8,_0x518878={}){const _0x374916=_0x2b117f;super(_0xf416e8),this[_0x3c4c21]=_0x518878[_0x374916(0xeb)]===void 0x0?0x0:_0x518878[_0x374916(0xeb)],this[_0x36f4e1]=_0x518878[_0x374916(0x1f3)]===void 0x0?'':_0x518878['reason'],this[_0x5e5bd2]=_0x518878[_0x374916(0x1e2)]===void 0x0?!0x1:_0x518878[_0x374916(0x1e2)];}get[_0x2b117f(0xeb)](){return this[_0x3c4c21];}get[_0x2b117f(0x1f3)](){return this[_0x36f4e1];}get[_0x2b117f(0x1e2)](){return this[_0x5e5bd2];}}Object[_0x2b117f(0x233)](_0x5ba11c[_0x2b117f(0x124)],_0x2b117f(0xeb),{'enumerable':!0x0}),Object[_0x2b117f(0x233)](_0x5ba11c[_0x2b117f(0x124)],'reason',{'enumerable':!0x0}),Object['defineProperty'](_0x5ba11c[_0x2b117f(0x124)],'wasClean',{'enumerable':!0x0});class _0x3e1f41 extends _0x27b07f{constructor(_0x8f3d37,_0x7c6838={}){const _0x1d9007=_0x2b117f;super(_0x8f3d37),this[_0x55ed35]=_0x7c6838[_0x1d9007(0x197)]===void 0x0?null:_0x7c6838[_0x1d9007(0x197)],this[_0x565d04]=_0x7c6838[_0x1d9007(0x14a)]===void 0x0?'':_0x7c6838['message'];}get[_0x2b117f(0x197)](){return this[_0x55ed35];}get[_0x2b117f(0x14a)](){return this[_0x565d04];}}Object['defineProperty'](_0x3e1f41[_0x2b117f(0x124)],_0x2b117f(0x197),{'enumerable':!0x0}),Object[_0x2b117f(0x233)](_0x3e1f41['prototype'],_0x2b117f(0x14a),{'enumerable':!0x0});class _0x129d7b extends _0x27b07f{constructor(_0x4adf04,_0x5ebc9d={}){const _0x485ef4=_0x2b117f;super(_0x4adf04),this[_0x5cb6ed]=_0x5ebc9d[_0x485ef4(0x10c)]===void 0x0?null:_0x5ebc9d['data'];}get[_0x2b117f(0x10c)](){return this[_0x5cb6ed];}}Object[_0x2b117f(0x233)](_0x129d7b[_0x2b117f(0x124)],_0x2b117f(0x10c),{'enumerable':!0x0}),xe={'CloseEvent':_0x5ba11c,'ErrorEvent':_0x3e1f41,'Event':_0x27b07f,'EventTarget':{'addEventListener'(_0x317383,_0x5580c5,_0x17445f={}){const _0x32a1fa=_0x2b117f;for(const _0x4b344e of this['listeners'](_0x317383))if(!_0x17445f[_0x1843ec]&&_0x4b344e[_0x21293f]===_0x5580c5&&!_0x4b344e[_0x1843ec])return;let _0x529f0a;if(_0x317383==='message')_0x529f0a=function(_0x5d52c8,_0x4b538f){const _0x56dee4=_0x2054,_0x4f4ae8=new _0x129d7b(_0x56dee4(0x14a),{'data':_0x4b538f?_0x5d52c8:_0x5d52c8[_0x56dee4(0x1e9)]()});_0x4f4ae8[_0xf20404]=this,_0x7bacee(_0x5580c5,this,_0x4f4ae8);};else{if(_0x317383==='close')_0x529f0a=function(_0x335e58,_0x28d48d){const _0x380f00=_0x2054,_0x5537c1=new _0x5ba11c(_0x380f00(0x15f),{'code':_0x335e58,'reason':_0x28d48d['toString'](),'wasClean':this[_0x380f00(0x1f2)]&&this[_0x380f00(0x20a)]});_0x5537c1[_0xf20404]=this,_0x7bacee(_0x5580c5,this,_0x5537c1);};else{if(_0x317383===_0x32a1fa(0x197))_0x529f0a=function(_0x4a28ba){const _0x110e77=_0x32a1fa,_0x17cc47=new _0x3e1f41(_0x110e77(0x197),{'error':_0x4a28ba,'message':_0x4a28ba[_0x110e77(0x14a)]});_0x17cc47[_0xf20404]=this,_0x7bacee(_0x5580c5,this,_0x17cc47);};else{if(_0x317383==='open')_0x529f0a=function(){const _0x2b37c4=_0x32a1fa,_0x412327=new _0x27b07f(_0x2b37c4(0x1c2));_0x412327[_0xf20404]=this,_0x7bacee(_0x5580c5,this,_0x412327);};else return;}}}_0x529f0a[_0x1843ec]=!!_0x17445f[_0x1843ec],_0x529f0a[_0x21293f]=_0x5580c5,_0x17445f['once']?this[_0x32a1fa(0x14b)](_0x317383,_0x529f0a):this['on'](_0x317383,_0x529f0a);},'removeEventListener'(_0x5d019f,_0xebe0e8){const _0x4f3d83=_0x2b117f;for(const _0x9cf9f3 of this[_0x4f3d83(0x10f)](_0x5d019f))if(_0x9cf9f3[_0x21293f]===_0xebe0e8&&!_0x9cf9f3[_0x1843ec]){this[_0x4f3d83(0xdd)](_0x5d019f,_0x9cf9f3);break;}}},'MessageEvent':_0x129d7b};function _0x7bacee(_0x7452b,_0x321706,_0x16a0cb){const _0xe93680=_0x2b117f;typeof _0x7452b=='object'&&_0x7452b[_0xe93680(0x26c)]?_0x7452b[_0xe93680(0x26c)][_0xe93680(0x1dc)](_0x7452b,_0x16a0cb):_0x7452b[_0xe93680(0x1dc)](_0x321706,_0x16a0cb);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x5e8dd5}=ne();function _0x1d4e1d(_0x1b336e,_0xd5a56c,_0x1a8d5f){const _0x5e28ce=_0x2054;_0x1b336e[_0xd5a56c]===void 0x0?_0x1b336e[_0xd5a56c]=[_0x1a8d5f]:_0x1b336e[_0xd5a56c][_0x5e28ce(0x177)](_0x1a8d5f);}function _0x38c324(_0x371779){const _0x29676f=_0x2054,_0x74855d=Object[_0x29676f(0x168)](null);let _0xf94cad=Object[_0x29676f(0x168)](null),_0x266134=!0x1,_0x17396e=!0x1,_0x165eb3=!0x1,_0xe89473,_0x36e75b,_0x3ec1fc=-0x1,_0x4e3cf9=-0x1,_0x4fdaa5=-0x1,_0x2521ed=0x0;for(;_0x2521ed<_0x371779['length'];_0x2521ed++)if(_0x4e3cf9=_0x371779['charCodeAt'](_0x2521ed),_0xe89473===void 0x0){if(_0x4fdaa5===-0x1&&_0x5e8dd5[_0x4e3cf9]===0x1)_0x3ec1fc===-0x1&&(_0x3ec1fc=_0x2521ed);else{if(_0x2521ed!==0x0&&(_0x4e3cf9===0x20||_0x4e3cf9===0x9))_0x4fdaa5===-0x1&&_0x3ec1fc!==-0x1&&(_0x4fdaa5=_0x2521ed);else{if(_0x4e3cf9===0x3b||_0x4e3cf9===0x2c){if(_0x3ec1fc===-0x1)throw new SyntaxError(_0x29676f(0x157)+_0x2521ed);_0x4fdaa5===-0x1&&(_0x4fdaa5=_0x2521ed);const _0x1ef735=_0x371779[_0x29676f(0x1a1)](_0x3ec1fc,_0x4fdaa5);_0x4e3cf9===0x2c?(_0x1d4e1d(_0x74855d,_0x1ef735,_0xf94cad),_0xf94cad=Object['create'](null)):_0xe89473=_0x1ef735,_0x3ec1fc=_0x4fdaa5=-0x1;}else throw new SyntaxError(_0x29676f(0x157)+_0x2521ed);}}}else{if(_0x36e75b===void 0x0){if(_0x4fdaa5===-0x1&&_0x5e8dd5[_0x4e3cf9]===0x1)_0x3ec1fc===-0x1&&(_0x3ec1fc=_0x2521ed);else{if(_0x4e3cf9===0x20||_0x4e3cf9===0x9)_0x4fdaa5===-0x1&&_0x3ec1fc!==-0x1&&(_0x4fdaa5=_0x2521ed);else{if(_0x4e3cf9===0x3b||_0x4e3cf9===0x2c){if(_0x3ec1fc===-0x1)throw new SyntaxError(_0x29676f(0x157)+_0x2521ed);_0x4fdaa5===-0x1&&(_0x4fdaa5=_0x2521ed),_0x1d4e1d(_0xf94cad,_0x371779[_0x29676f(0x1a1)](_0x3ec1fc,_0x4fdaa5),!0x0),_0x4e3cf9===0x2c&&(_0x1d4e1d(_0x74855d,_0xe89473,_0xf94cad),_0xf94cad=Object[_0x29676f(0x168)](null),_0xe89473=void 0x0),_0x3ec1fc=_0x4fdaa5=-0x1;}else{if(_0x4e3cf9===0x3d&&_0x3ec1fc!==-0x1&&_0x4fdaa5===-0x1)_0x36e75b=_0x371779[_0x29676f(0x1a1)](_0x3ec1fc,_0x2521ed),_0x3ec1fc=_0x4fdaa5=-0x1;else throw new SyntaxError(_0x29676f(0x157)+_0x2521ed);}}}}else{if(_0x17396e){if(_0x5e8dd5[_0x4e3cf9]!==0x1)throw new SyntaxError(_0x29676f(0x157)+_0x2521ed);_0x3ec1fc===-0x1?_0x3ec1fc=_0x2521ed:_0x266134||(_0x266134=!0x0),_0x17396e=!0x1;}else{if(_0x165eb3){if(_0x5e8dd5[_0x4e3cf9]===0x1)_0x3ec1fc===-0x1&&(_0x3ec1fc=_0x2521ed);else{if(_0x4e3cf9===0x22&&_0x3ec1fc!==-0x1)_0x165eb3=!0x1,_0x4fdaa5=_0x2521ed;else{if(_0x4e3cf9===0x5c)_0x17396e=!0x0;else throw new SyntaxError(_0x29676f(0x157)+_0x2521ed);}}}else{if(_0x4e3cf9===0x22&&_0x371779['charCodeAt'](_0x2521ed-0x1)===0x3d)_0x165eb3=!0x0;else{if(_0x4fdaa5===-0x1&&_0x5e8dd5[_0x4e3cf9]===0x1)_0x3ec1fc===-0x1&&(_0x3ec1fc=_0x2521ed);else{if(_0x3ec1fc!==-0x1&&(_0x4e3cf9===0x20||_0x4e3cf9===0x9))_0x4fdaa5===-0x1&&(_0x4fdaa5=_0x2521ed);else{if(_0x4e3cf9===0x3b||_0x4e3cf9===0x2c){if(_0x3ec1fc===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x2521ed);_0x4fdaa5===-0x1&&(_0x4fdaa5=_0x2521ed);let _0x590ba4=_0x371779[_0x29676f(0x1a1)](_0x3ec1fc,_0x4fdaa5);_0x266134&&(_0x590ba4=_0x590ba4['replace'](/\\/g,''),_0x266134=!0x1),_0x1d4e1d(_0xf94cad,_0x36e75b,_0x590ba4),_0x4e3cf9===0x2c&&(_0x1d4e1d(_0x74855d,_0xe89473,_0xf94cad),_0xf94cad=Object[_0x29676f(0x168)](null),_0xe89473=void 0x0),_0x36e75b=void 0x0,_0x3ec1fc=_0x4fdaa5=-0x1;}else throw new SyntaxError(_0x29676f(0x157)+_0x2521ed);}}}}}}}if(_0x3ec1fc===-0x1||_0x165eb3||_0x4e3cf9===0x20||_0x4e3cf9===0x9)throw new SyntaxError(_0x29676f(0x182));_0x4fdaa5===-0x1&&(_0x4fdaa5=_0x2521ed);const _0x404f15=_0x371779['slice'](_0x3ec1fc,_0x4fdaa5);return _0xe89473===void 0x0?_0x1d4e1d(_0x74855d,_0x404f15,_0xf94cad):(_0x36e75b===void 0x0?_0x1d4e1d(_0xf94cad,_0x404f15,!0x0):_0x266134?_0x1d4e1d(_0xf94cad,_0x36e75b,_0x404f15[_0x29676f(0x171)](/\\/g,'')):_0x1d4e1d(_0xf94cad,_0x36e75b,_0x404f15),_0x1d4e1d(_0x74855d,_0xe89473,_0xf94cad)),_0x74855d;}function _0x9d19c1(_0x366091){const _0x15570d=_0x2054;return Object[_0x15570d(0x19b)](_0x366091)[_0x15570d(0x1db)](_0x1807eb=>{const _0x2b6400=_0x15570d;let _0x5f52f5=_0x366091[_0x1807eb];return Array[_0x2b6400(0xd1)](_0x5f52f5)||(_0x5f52f5=[_0x5f52f5]),_0x5f52f5[_0x2b6400(0x1db)](_0x3a09=>[_0x1807eb][_0x2b6400(0x23b)](Object[_0x2b6400(0x19b)](_0x3a09)[_0x2b6400(0x1db)](_0x48c7da=>{const _0x5a242b=_0x2b6400;let _0xf91730=_0x3a09[_0x48c7da];return Array[_0x5a242b(0xd1)](_0xf91730)||(_0xf91730=[_0xf91730]),_0xf91730[_0x5a242b(0x1db)](_0x3714e2=>_0x3714e2===!0x0?_0x48c7da:_0x48c7da+'='+_0x3714e2)['join'](';\x20');}))[_0x2b6400(0x20b)](';\x20'))['join'](',\x20');})[_0x15570d(0x20b)](',\x20');}return be={'format':_0x9d19c1,'parse':_0x38c324},be;}var we,st;function Ie(){const _0x15e538=_0x33ab43;if(st)return we;st=0x1;const _0x2495b1=_0x2eab57,_0x29f410=_0x3b487e,_0x10508a=_0x8a3c0f,_0x17304d=_0x2eadbb,_0x1d3515=_0x24abc0,{randomBytes:_0x15d64c,createHash:_0x2aa3d6}=_0x34b0ca,{Duplex:_0x14ef9e,Readable:_0x392fff}=_0x458181,{URL:_0x526bc0}=_0xf4152d,_0x297c3d=he(),_0x8d840=dt(),_0x4fcd15=_t(),{isBlob:_0x33ece2}=ne(),{BINARY_TYPES:_0x132243,EMPTY_BUFFER:_0x2bb54c,GUID:_0x502662,kForOnEventAttribute:_0x2e9cc8,kListener:_0x4ba46b,kStatusCode:_0x4d4607,kWebSocket:_0x4ff3f7,NOOP:_0x43c8ff}=V(),{EventTarget:{addEventListener:_0x134c4f,removeEventListener:_0x1c7cb1}}=Kt(),{format:_0x2fdde6,parse:_0x120673}=pt(),{toBuffer:_0x444eaa}=ce(),_0x3d3fb0=0x1e*0x3e8,_0x3316b1=Symbol(_0x15e538(0x1bb)),_0x3f6c9c=[0x8,0xd],_0x3cf8e2=[_0x15e538(0x11e),_0x15e538(0x1b9),_0x15e538(0x1d4),_0x15e538(0xd3)],_0x2bd98a=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x3e4d9a extends _0x2495b1{constructor(_0x3b3c4e,_0x5e78a2,_0x1931eb){const _0x57f2df=_0x15e538;super(),this[_0x57f2df(0x17f)]=_0x132243[0x0],this[_0x57f2df(0x281)]=0x3ee,this[_0x57f2df(0x1f2)]=!0x1,this[_0x57f2df(0x20a)]=!0x1,this[_0x57f2df(0x1e5)]=_0x2bb54c,this[_0x57f2df(0x1fa)]=null,this[_0x57f2df(0x149)]=!0x1,this['_extensions']={},this[_0x57f2df(0x15d)]=!0x1,this['_protocol']='',this[_0x57f2df(0x218)]=_0x3e4d9a['CONNECTING'],this[_0x57f2df(0x250)]=null,this[_0x57f2df(0x115)]=null,this['_socket']=null,_0x3b3c4e!==null?(this['_bufferedAmount']=0x0,this['_isServer']=!0x1,this[_0x57f2df(0x1e8)]=0x0,_0x5e78a2===void 0x0?_0x5e78a2=[]:Array[_0x57f2df(0xd1)](_0x5e78a2)||(typeof _0x5e78a2=='object'&&_0x5e78a2!==null?(_0x1931eb=_0x5e78a2,_0x5e78a2=[]):_0x5e78a2=[_0x5e78a2]),_0x5bfdab(this,_0x3b3c4e,_0x5e78a2,_0x1931eb)):(this[_0x57f2df(0x125)]=_0x1931eb[_0x57f2df(0x180)],this[_0x57f2df(0x270)]=!0x0);}get['binaryType'](){const _0x3cdd6b=_0x15e538;return this[_0x3cdd6b(0x17f)];}set['binaryType'](_0x293f92){const _0x23cfbb=_0x15e538;_0x132243['includes'](_0x293f92)&&(this[_0x23cfbb(0x17f)]=_0x293f92,this[_0x23cfbb(0x250)]&&(this[_0x23cfbb(0x250)]['_binaryType']=_0x293f92));}get[_0x15e538(0x107)](){const _0x261985=_0x15e538;return this[_0x261985(0x1cd)]?this['_socket'][_0x261985(0x1ce)][_0x261985(0x134)]+this[_0x261985(0x115)][_0x261985(0x254)]:this['_bufferedAmount'];}get[_0x15e538(0x1a0)](){const _0xe1e0f0=_0x15e538;return Object[_0xe1e0f0(0x19b)](this['_extensions'])[_0xe1e0f0(0x20b)]();}get[_0x15e538(0x226)](){const _0x359a4b=_0x15e538;return this[_0x359a4b(0x15d)];}get['onclose'](){return null;}get[_0x15e538(0x102)](){return null;}get[_0x15e538(0x224)](){return null;}get[_0x15e538(0x1e3)](){return null;}get[_0x15e538(0x106)](){return this['_protocol'];}get[_0x15e538(0xf3)](){const _0x4e9eec=_0x15e538;return this[_0x4e9eec(0x218)];}get['url'](){return this['_url'];}['setSocket'](_0x3f022b,_0x1f1da7,_0x34e2b3){const _0x5133a1=_0x15e538,_0x562952=new _0x8d840({'allowSynchronousEvents':_0x34e2b3['allowSynchronousEvents'],'binaryType':this[_0x5133a1(0x269)],'extensions':this[_0x5133a1(0x22e)],'isServer':this[_0x5133a1(0x270)],'maxPayload':_0x34e2b3[_0x5133a1(0x239)],'skipUTF8Validation':_0x34e2b3['skipUTF8Validation']}),_0x8ab35d=new _0x4fcd15(_0x3f022b,this[_0x5133a1(0x22e)],_0x34e2b3[_0x5133a1(0x194)]);this[_0x5133a1(0x250)]=_0x562952,this[_0x5133a1(0x115)]=_0x8ab35d,this[_0x5133a1(0x1cd)]=_0x3f022b,_0x562952[_0x4ff3f7]=this,_0x8ab35d[_0x4ff3f7]=this,_0x3f022b[_0x4ff3f7]=this,_0x562952['on'](_0x5133a1(0x1ab),_0x1a2a4a),_0x562952['on'](_0x5133a1(0x246),_0x1e7901),_0x562952['on'](_0x5133a1(0x197),_0xf85673),_0x562952['on'](_0x5133a1(0x14a),_0x1a9c71),_0x562952['on']('ping',_0x1b50de),_0x562952['on'](_0x5133a1(0x132),_0x41b368),_0x8ab35d[_0x5133a1(0x102)]=_0x366acb,_0x3f022b[_0x5133a1(0x27b)]&&_0x3f022b[_0x5133a1(0x27b)](0x0),_0x3f022b[_0x5133a1(0x1c9)]&&_0x3f022b[_0x5133a1(0x1c9)](),_0x1f1da7[_0x5133a1(0x134)]>0x0&&_0x3f022b['unshift'](_0x1f1da7),_0x3f022b['on'](_0x5133a1(0x15f),_0x385e62),_0x3f022b['on'](_0x5133a1(0x10c),_0x4a6e8c),_0x3f022b['on'](_0x5133a1(0x175),_0x3395d2),_0x3f022b['on'](_0x5133a1(0x197),_0x12f1b1),this[_0x5133a1(0x218)]=_0x3e4d9a[_0x5133a1(0x1b9)],this[_0x5133a1(0x185)](_0x5133a1(0x1c2));}[_0x15e538(0x121)](){const _0x4bed0a=_0x15e538;if(!this['_socket']){this[_0x4bed0a(0x218)]=_0x3e4d9a[_0x4bed0a(0xd3)],this[_0x4bed0a(0x185)]('close',this[_0x4bed0a(0x281)],this['_closeMessage']);return;}this[_0x4bed0a(0x22e)][_0x297c3d[_0x4bed0a(0x22b)]]&&this[_0x4bed0a(0x22e)][_0x297c3d[_0x4bed0a(0x22b)]][_0x4bed0a(0x24d)](),this[_0x4bed0a(0x250)][_0x4bed0a(0x104)](),this[_0x4bed0a(0x218)]=_0x3e4d9a['CLOSED'],this[_0x4bed0a(0x185)](_0x4bed0a(0x15f),this[_0x4bed0a(0x281)],this['_closeMessage']);}[_0x15e538(0x15f)](_0x4a1537,_0x5aa6ec){const _0x122651=_0x15e538;if(this[_0x122651(0xf3)]!==_0x3e4d9a[_0x122651(0xd3)]){if(this[_0x122651(0xf3)]===_0x3e4d9a[_0x122651(0x11e)]){_0x955873(this,this[_0x122651(0x160)],_0x122651(0x215));return;}if(this[_0x122651(0xf3)]===_0x3e4d9a[_0x122651(0x1d4)]){this[_0x122651(0x20a)]&&(this[_0x122651(0x1f2)]||this[_0x122651(0x250)][_0x122651(0x1ce)][_0x122651(0x278)])&&this[_0x122651(0x1cd)][_0x122651(0x175)]();return;}this[_0x122651(0x218)]=_0x3e4d9a[_0x122651(0x1d4)],this[_0x122651(0x115)][_0x122651(0x15f)](_0x4a1537,_0x5aa6ec,!this[_0x122651(0x270)],_0x585a06=>{const _0x517c04=_0x122651;_0x585a06||(this[_0x517c04(0x20a)]=!0x0,(this[_0x517c04(0x1f2)]||this['_receiver'][_0x517c04(0x1ce)]['errorEmitted'])&&this[_0x517c04(0x1cd)]['end']());}),_0x193b82(this);}}[_0x15e538(0x227)](){const _0x826a4f=_0x15e538;this['readyState']===_0x3e4d9a[_0x826a4f(0x11e)]||this[_0x826a4f(0xf3)]===_0x3e4d9a[_0x826a4f(0xd3)]||(this[_0x826a4f(0x15d)]=!0x0,this[_0x826a4f(0x1cd)][_0x826a4f(0x227)]());}[_0x15e538(0x268)](_0x5592ce,_0x4f2fe9,_0x3a27f3){const _0x11e913=_0x15e538;if(this[_0x11e913(0xf3)]===_0x3e4d9a[_0x11e913(0x11e)])throw new Error(_0x11e913(0x137));if(typeof _0x5592ce==_0x11e913(0x136)?(_0x3a27f3=_0x5592ce,_0x5592ce=_0x4f2fe9=void 0x0):typeof _0x4f2fe9==_0x11e913(0x136)&&(_0x3a27f3=_0x4f2fe9,_0x4f2fe9=void 0x0),typeof _0x5592ce==_0x11e913(0x1b8)&&(_0x5592ce=_0x5592ce[_0x11e913(0x1e9)]()),this['readyState']!==_0x3e4d9a[_0x11e913(0x1b9)]){_0x13f523(this,_0x5592ce,_0x3a27f3);return;}_0x4f2fe9===void 0x0&&(_0x4f2fe9=!this[_0x11e913(0x270)]),this[_0x11e913(0x115)][_0x11e913(0x268)](_0x5592ce||_0x2bb54c,_0x4f2fe9,_0x3a27f3);}['pong'](_0x27e83d,_0x50ef40,_0x317187){const _0x51de13=_0x15e538;if(this[_0x51de13(0xf3)]===_0x3e4d9a[_0x51de13(0x11e)])throw new Error(_0x51de13(0x137));if(typeof _0x27e83d==_0x51de13(0x136)?(_0x317187=_0x27e83d,_0x27e83d=_0x50ef40=void 0x0):typeof _0x50ef40==_0x51de13(0x136)&&(_0x317187=_0x50ef40,_0x50ef40=void 0x0),typeof _0x27e83d==_0x51de13(0x1b8)&&(_0x27e83d=_0x27e83d[_0x51de13(0x1e9)]()),this[_0x51de13(0xf3)]!==_0x3e4d9a['OPEN']){_0x13f523(this,_0x27e83d,_0x317187);return;}_0x50ef40===void 0x0&&(_0x50ef40=!this[_0x51de13(0x270)]),this[_0x51de13(0x115)][_0x51de13(0x132)](_0x27e83d||_0x2bb54c,_0x50ef40,_0x317187);}[_0x15e538(0x187)](){const _0x4f4a11=_0x15e538;this['readyState']===_0x3e4d9a['CONNECTING']||this[_0x4f4a11(0xf3)]===_0x3e4d9a[_0x4f4a11(0xd3)]||(this[_0x4f4a11(0x15d)]=!0x1,this[_0x4f4a11(0x250)][_0x4f4a11(0x1ce)]['needDrain']||this[_0x4f4a11(0x1cd)][_0x4f4a11(0x187)]());}[_0x15e538(0xd8)](_0x54e788,_0x3d507b,_0x3e4c35){const _0x3e6355=_0x15e538;if(this[_0x3e6355(0xf3)]===_0x3e4d9a[_0x3e6355(0x11e)])throw new Error(_0x3e6355(0x137));if(typeof _0x3d507b==_0x3e6355(0x136)&&(_0x3e4c35=_0x3d507b,_0x3d507b={}),typeof _0x54e788==_0x3e6355(0x1b8)&&(_0x54e788=_0x54e788['toString']()),this['readyState']!==_0x3e4d9a[_0x3e6355(0x1b9)]){_0x13f523(this,_0x54e788,_0x3e4c35);return;}const _0x5af03c={'binary':typeof _0x54e788!=_0x3e6355(0x1a9),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x3d507b};this[_0x3e6355(0x22e)][_0x297c3d[_0x3e6355(0x22b)]]||(_0x5af03c[_0x3e6355(0xf9)]=!0x1),this[_0x3e6355(0x115)][_0x3e6355(0xd8)](_0x54e788||_0x2bb54c,_0x5af03c,_0x3e4c35);}[_0x15e538(0x130)](){const _0x434514=_0x15e538;if(this[_0x434514(0xf3)]!==_0x3e4d9a['CLOSED']){if(this[_0x434514(0xf3)]===_0x3e4d9a['CONNECTING']){_0x955873(this,this[_0x434514(0x160)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x434514(0x1cd)]&&(this[_0x434514(0x218)]=_0x3e4d9a['CLOSING'],this[_0x434514(0x1cd)][_0x434514(0xf0)]());}}}Object[_0x15e538(0x233)](_0x3e4d9a,'CONNECTING',{'enumerable':!0x0,'value':_0x3cf8e2[_0x15e538(0x17c)](_0x15e538(0x11e))}),Object[_0x15e538(0x233)](_0x3e4d9a[_0x15e538(0x124)],'CONNECTING',{'enumerable':!0x0,'value':_0x3cf8e2[_0x15e538(0x17c)]('CONNECTING')}),Object[_0x15e538(0x233)](_0x3e4d9a,_0x15e538(0x1b9),{'enumerable':!0x0,'value':_0x3cf8e2[_0x15e538(0x17c)](_0x15e538(0x1b9))}),Object['defineProperty'](_0x3e4d9a[_0x15e538(0x124)],_0x15e538(0x1b9),{'enumerable':!0x0,'value':_0x3cf8e2[_0x15e538(0x17c)](_0x15e538(0x1b9))}),Object[_0x15e538(0x233)](_0x3e4d9a,'CLOSING',{'enumerable':!0x0,'value':_0x3cf8e2['indexOf'](_0x15e538(0x1d4))}),Object[_0x15e538(0x233)](_0x3e4d9a[_0x15e538(0x124)],_0x15e538(0x1d4),{'enumerable':!0x0,'value':_0x3cf8e2[_0x15e538(0x17c)](_0x15e538(0x1d4))}),Object[_0x15e538(0x233)](_0x3e4d9a,_0x15e538(0xd3),{'enumerable':!0x0,'value':_0x3cf8e2['indexOf'](_0x15e538(0xd3))}),Object[_0x15e538(0x233)](_0x3e4d9a[_0x15e538(0x124)],_0x15e538(0xd3),{'enumerable':!0x0,'value':_0x3cf8e2[_0x15e538(0x17c)](_0x15e538(0xd3))}),[_0x15e538(0x269),'bufferedAmount',_0x15e538(0x1a0),_0x15e538(0x226),'protocol',_0x15e538(0xf3),_0x15e538(0x275)][_0x15e538(0x20c)](_0x26d734=>{Object['defineProperty'](_0x3e4d9a['prototype'],_0x26d734,{'enumerable':!0x0});}),['open',_0x15e538(0x197),_0x15e538(0x15f),'message'][_0x15e538(0x20c)](_0x182d16=>{const _0x2759f1=_0x15e538;Object[_0x2759f1(0x233)](_0x3e4d9a[_0x2759f1(0x124)],'on'+_0x182d16,{'enumerable':!0x0,'get'(){const _0x32015f=_0x2759f1;for(const _0x2212a3 of this[_0x32015f(0x10f)](_0x182d16))if(_0x2212a3[_0x2e9cc8])return _0x2212a3[_0x4ba46b];return null;},'set'(_0x4bb120){const _0x2bba34=_0x2759f1;for(const _0x38872c of this[_0x2bba34(0x10f)](_0x182d16))if(_0x38872c[_0x2e9cc8]){this[_0x2bba34(0xdd)](_0x182d16,_0x38872c);break;}typeof _0x4bb120==_0x2bba34(0x136)&&this[_0x2bba34(0x273)](_0x182d16,_0x4bb120,{[_0x2e9cc8]:!0x0});}});}),_0x3e4d9a[_0x15e538(0x124)][_0x15e538(0x273)]=_0x134c4f,_0x3e4d9a[_0x15e538(0x124)]['removeEventListener']=_0x1c7cb1,we=_0x3e4d9a;function _0x5bfdab(_0x4bfebb,_0x426486,_0x1a6697,_0x2f8109){const _0x3100b3=_0x15e538,_0x4578cf={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x3f6c9c[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x2f8109,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x4bfebb[_0x3100b3(0x125)]=_0x4578cf[_0x3100b3(0x180)],!_0x3f6c9c[_0x3100b3(0x24b)](_0x4578cf[_0x3100b3(0xf4)]))throw new RangeError(_0x3100b3(0x1a2)+_0x4578cf[_0x3100b3(0xf4)]+'\x20(supported\x20versions:\x20'+_0x3f6c9c['join'](',\x20')+')');let _0x26877b;if(_0x426486 instanceof _0x526bc0)_0x26877b=_0x426486;else try{_0x26877b=new _0x526bc0(_0x426486);}catch{throw new SyntaxError(_0x3100b3(0x1b1)+_0x426486);}_0x26877b['protocol']===_0x3100b3(0x262)?_0x26877b[_0x3100b3(0x106)]='ws:':_0x26877b[_0x3100b3(0x106)]===_0x3100b3(0x222)&&(_0x26877b[_0x3100b3(0x106)]='wss:'),_0x4bfebb['_url']=_0x26877b[_0x3100b3(0x21b)];const _0x3b30b3=_0x26877b[_0x3100b3(0x106)]===_0x3100b3(0x199),_0x2b9a16=_0x26877b[_0x3100b3(0x106)]===_0x3100b3(0x19e);let _0x173f10;if(_0x26877b[_0x3100b3(0x106)]!==_0x3100b3(0x15e)&&!_0x3b30b3&&!_0x2b9a16?_0x173f10='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':_0x2b9a16&&!_0x26877b[_0x3100b3(0x150)]?_0x173f10='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x26877b[_0x3100b3(0x1bc)]&&(_0x173f10='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x173f10){const _0x342990=new SyntaxError(_0x173f10);if(_0x4bfebb[_0x3100b3(0x1e8)]===0x0)throw _0x342990;_0x3664e2(_0x4bfebb,_0x342990);return;}const _0x4883d8=_0x3b30b3?0x1bb:0x50,_0x562e16=_0x15d64c(0x10)[_0x3100b3(0x1e9)](_0x3100b3(0x209)),_0x5cad9b=_0x3b30b3?_0x29f410[_0x3100b3(0x264)]:_0x10508a['request'],_0x523356=new Set();let _0x1c09b4;if(_0x4578cf[_0x3100b3(0x280)]=_0x4578cf[_0x3100b3(0x280)]||(_0x3b30b3?_0x11b6b7:_0x2cfc29),_0x4578cf[_0x3100b3(0x1d0)]=_0x4578cf[_0x3100b3(0x1d0)]||_0x4883d8,_0x4578cf[_0x3100b3(0xf2)]=_0x26877b['port']||_0x4883d8,_0x4578cf['host']=_0x26877b[_0x3100b3(0x13c)]['startsWith']('[')?_0x26877b[_0x3100b3(0x13c)]['slice'](0x1,-0x1):_0x26877b['hostname'],_0x4578cf[_0x3100b3(0x237)]={..._0x4578cf[_0x3100b3(0x237)],'Sec-WebSocket-Version':_0x4578cf[_0x3100b3(0xf4)],'Sec-WebSocket-Key':_0x562e16,'Connection':_0x3100b3(0x103),'Upgrade':_0x3100b3(0x241)},_0x4578cf['path']=_0x26877b[_0x3100b3(0x150)]+_0x26877b['search'],_0x4578cf['timeout']=_0x4578cf[_0x3100b3(0x156)],_0x4578cf[_0x3100b3(0x143)]&&(_0x1c09b4=new _0x297c3d(_0x4578cf[_0x3100b3(0x143)]!==!0x0?_0x4578cf[_0x3100b3(0x143)]:{},!0x1,_0x4578cf[_0x3100b3(0x239)]),_0x4578cf[_0x3100b3(0x237)]['Sec-WebSocket-Extensions']=_0x2fdde6({[_0x297c3d[_0x3100b3(0x22b)]]:_0x1c09b4[_0x3100b3(0xf8)]()})),_0x1a6697[_0x3100b3(0x134)]){for(const _0x4d3b7d of _0x1a6697){if(typeof _0x4d3b7d!='string'||!_0x2bd98a[_0x3100b3(0x253)](_0x4d3b7d)||_0x523356[_0x3100b3(0x110)](_0x4d3b7d))throw new SyntaxError(_0x3100b3(0xf7));_0x523356['add'](_0x4d3b7d);}_0x4578cf['headers']['Sec-WebSocket-Protocol']=_0x1a6697[_0x3100b3(0x20b)](',');}if(_0x4578cf['origin']&&(_0x4578cf[_0x3100b3(0xf4)]<0xd?_0x4578cf[_0x3100b3(0x237)]['Sec-WebSocket-Origin']=_0x4578cf[_0x3100b3(0x120)]:_0x4578cf['headers'][_0x3100b3(0x1b6)]=_0x4578cf[_0x3100b3(0x120)]),(_0x26877b[_0x3100b3(0x26a)]||_0x26877b[_0x3100b3(0x229)])&&(_0x4578cf[_0x3100b3(0x13d)]=_0x26877b[_0x3100b3(0x26a)]+':'+_0x26877b['password']),_0x2b9a16){const _0x543327=_0x4578cf[_0x3100b3(0x1b0)][_0x3100b3(0x193)](':');_0x4578cf[_0x3100b3(0x14d)]=_0x543327[0x0],_0x4578cf['path']=_0x543327[0x1];}let _0xb0fab4;if(_0x4578cf['followRedirects']){if(_0x4bfebb[_0x3100b3(0x1e8)]===0x0){_0x4bfebb[_0x3100b3(0x27c)]=_0x2b9a16,_0x4bfebb['_originalSecure']=_0x3b30b3,_0x4bfebb[_0x3100b3(0x1f6)]=_0x2b9a16?_0x4578cf['socketPath']:_0x26877b['host'];const _0x504bf3=_0x2f8109&&_0x2f8109[_0x3100b3(0x237)];if(_0x2f8109={..._0x2f8109,'headers':{}},_0x504bf3){for(const [_0x42d349,_0x472a19]of Object[_0x3100b3(0x162)](_0x504bf3))_0x2f8109['headers'][_0x42d349[_0x3100b3(0x245)]()]=_0x472a19;}}else{if(_0x4bfebb['listenerCount'](_0x3100b3(0x126))===0x0){const _0x32c9d5=_0x2b9a16?_0x4bfebb[_0x3100b3(0x27c)]?_0x4578cf['socketPath']===_0x4bfebb[_0x3100b3(0x1f6)]:!0x1:_0x4bfebb[_0x3100b3(0x27c)]?!0x1:_0x26877b[_0x3100b3(0x263)]===_0x4bfebb['_originalHostOrSocketPath'];(!_0x32c9d5||_0x4bfebb[_0x3100b3(0x19a)]&&!_0x3b30b3)&&(delete _0x4578cf[_0x3100b3(0x237)][_0x3100b3(0xed)],delete _0x4578cf[_0x3100b3(0x237)][_0x3100b3(0x198)],_0x32c9d5||delete _0x4578cf[_0x3100b3(0x237)][_0x3100b3(0x263)],_0x4578cf[_0x3100b3(0x13d)]=void 0x0);}}_0x4578cf[_0x3100b3(0x13d)]&&!_0x2f8109[_0x3100b3(0x237)][_0x3100b3(0xed)]&&(_0x2f8109['headers'][_0x3100b3(0xed)]=_0x3100b3(0x242)+Buffer[_0x3100b3(0x165)](_0x4578cf['auth'])[_0x3100b3(0x1e9)](_0x3100b3(0x209))),_0xb0fab4=_0x4bfebb[_0x3100b3(0x160)]=_0x5cad9b(_0x4578cf),_0x4bfebb[_0x3100b3(0x1e8)]&&_0x4bfebb[_0x3100b3(0x185)]('redirect',_0x4bfebb['url'],_0xb0fab4);}else _0xb0fab4=_0x4bfebb[_0x3100b3(0x160)]=_0x5cad9b(_0x4578cf);_0x4578cf[_0x3100b3(0x23c)]&&_0xb0fab4['on']('timeout',()=>{const _0x523486=_0x3100b3;_0x955873(_0x4bfebb,_0xb0fab4,_0x523486(0x232));}),_0xb0fab4['on']('error',_0x52a473=>{const _0x1ca708=_0x3100b3;_0xb0fab4===null||_0xb0fab4[_0x3316b1]||(_0xb0fab4=_0x4bfebb[_0x1ca708(0x160)]=null,_0x3664e2(_0x4bfebb,_0x52a473));}),_0xb0fab4['on'](_0x3100b3(0x1ad),_0xf16c64=>{const _0xe15cfa=_0x3100b3,_0x4acb65=_0xf16c64[_0xe15cfa(0x237)][_0xe15cfa(0x20d)],_0x1436f7=_0xf16c64['statusCode'];if(_0x4acb65&&_0x4578cf[_0xe15cfa(0x277)]&&_0x1436f7>=0x12c&&_0x1436f7<0x190){if(++_0x4bfebb[_0xe15cfa(0x1e8)]>_0x4578cf[_0xe15cfa(0x14e)]){_0x955873(_0x4bfebb,_0xb0fab4,_0xe15cfa(0x26d));return;}_0xb0fab4[_0xe15cfa(0x25b)]();let _0x48ad70;try{_0x48ad70=new _0x526bc0(_0x4acb65,_0x426486);}catch{const _0x35a182=new SyntaxError(_0xe15cfa(0x1b1)+_0x4acb65);_0x3664e2(_0x4bfebb,_0x35a182);return;}_0x5bfdab(_0x4bfebb,_0x48ad70,_0x1a6697,_0x2f8109);}else _0x4bfebb[_0xe15cfa(0x185)]('unexpected-response',_0xb0fab4,_0xf16c64)||_0x955873(_0x4bfebb,_0xb0fab4,_0xe15cfa(0x12e)+_0xf16c64[_0xe15cfa(0x285)]);}),_0xb0fab4['on'](_0x3100b3(0x238),(_0x18dd7c,_0x43042e,_0x1531a6)=>{const _0x4cf849=_0x3100b3;if(_0x4bfebb[_0x4cf849(0x185)](_0x4cf849(0x238),_0x18dd7c),_0x4bfebb['readyState']!==_0x3e4d9a[_0x4cf849(0x11e)])return;_0xb0fab4=_0x4bfebb['_req']=null;const _0x14c7e5=_0x18dd7c[_0x4cf849(0x237)]['upgrade'];if(_0x14c7e5===void 0x0||_0x14c7e5[_0x4cf849(0x245)]()!==_0x4cf849(0x241)){_0x955873(_0x4bfebb,_0x43042e,'Invalid\x20Upgrade\x20header');return;}const _0x573b26=_0x2aa3d6(_0x4cf849(0x196))['update'](_0x562e16+_0x502662)[_0x4cf849(0x10b)](_0x4cf849(0x209));if(_0x18dd7c['headers'][_0x4cf849(0x1ec)]!==_0x573b26){_0x955873(_0x4bfebb,_0x43042e,_0x4cf849(0x228));return;}const _0x4d5e31=_0x18dd7c[_0x4cf849(0x237)][_0x4cf849(0x25d)];let _0x562104;if(_0x4d5e31!==void 0x0?_0x523356[_0x4cf849(0x117)]?_0x523356[_0x4cf849(0x110)](_0x4d5e31)||(_0x562104=_0x4cf849(0x255)):_0x562104=_0x4cf849(0x13a):_0x523356['size']&&(_0x562104=_0x4cf849(0x1e6)),_0x562104){_0x955873(_0x4bfebb,_0x43042e,_0x562104);return;}_0x4d5e31&&(_0x4bfebb[_0x4cf849(0x1bd)]=_0x4d5e31);const _0x260d12=_0x18dd7c['headers'][_0x4cf849(0x267)];if(_0x260d12!==void 0x0){if(!_0x1c09b4){_0x955873(_0x4bfebb,_0x43042e,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x1bce43;try{_0x1bce43=_0x120673(_0x260d12);}catch{_0x955873(_0x4bfebb,_0x43042e,_0x4cf849(0x1da));return;}const _0x5c3824=Object[_0x4cf849(0x19b)](_0x1bce43);if(_0x5c3824[_0x4cf849(0x134)]!==0x1||_0x5c3824[0x0]!==_0x297c3d['extensionName']){_0x955873(_0x4bfebb,_0x43042e,_0x4cf849(0x243));return;}try{_0x1c09b4['accept'](_0x1bce43[_0x297c3d[_0x4cf849(0x22b)]]);}catch{_0x955873(_0x4bfebb,_0x43042e,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x4bfebb['_extensions'][_0x297c3d[_0x4cf849(0x22b)]]=_0x1c09b4;}_0x4bfebb['setSocket'](_0x43042e,_0x1531a6,{'allowSynchronousEvents':_0x4578cf[_0x4cf849(0x14c)],'generateMask':_0x4578cf[_0x4cf849(0x194)],'maxPayload':_0x4578cf[_0x4cf849(0x239)],'skipUTF8Validation':_0x4578cf[_0x4cf849(0x1a5)]});}),_0x4578cf[_0x3100b3(0x212)]?_0x4578cf[_0x3100b3(0x212)](_0xb0fab4,_0x4bfebb):_0xb0fab4[_0x3100b3(0x175)]();}function _0x3664e2(_0x2a992e,_0x3ea383){const _0x1ba798=_0x15e538;_0x2a992e[_0x1ba798(0x218)]=_0x3e4d9a[_0x1ba798(0x1d4)],_0x2a992e['_errorEmitted']=!0x0,_0x2a992e['emit'](_0x1ba798(0x197),_0x3ea383),_0x2a992e[_0x1ba798(0x121)]();}function _0x2cfc29(_0x2f5760){const _0x1ba892=_0x15e538;return _0x2f5760[_0x1ba892(0x1b0)]=_0x2f5760[_0x1ba892(0x14d)],_0x17304d[_0x1ba892(0x247)](_0x2f5760);}function _0x11b6b7(_0x58afa0){const _0x57e787=_0x15e538;return _0x58afa0[_0x57e787(0x1b0)]=void 0x0,!_0x58afa0[_0x57e787(0x142)]&&_0x58afa0[_0x57e787(0x142)]!==''&&(_0x58afa0[_0x57e787(0x142)]=_0x17304d[_0x57e787(0x169)](_0x58afa0[_0x57e787(0x263)])?'':_0x58afa0[_0x57e787(0x263)]),_0x1d3515[_0x57e787(0x247)](_0x58afa0);}function _0x955873(_0x493df7,_0x255f44,_0x4d6cc6){const _0x5d026d=_0x15e538;_0x493df7['_readyState']=_0x3e4d9a[_0x5d026d(0x1d4)];const _0x220dbc=new Error(_0x4d6cc6);Error[_0x5d026d(0x17a)](_0x220dbc,_0x955873),_0x255f44[_0x5d026d(0x1c1)]?(_0x255f44[_0x3316b1]=!0x0,_0x255f44[_0x5d026d(0x25b)](),_0x255f44[_0x5d026d(0x240)]&&!_0x255f44[_0x5d026d(0x240)][_0x5d026d(0x1d1)]&&_0x255f44['socket'][_0x5d026d(0xf0)](),process['nextTick'](_0x3664e2,_0x493df7,_0x220dbc)):(_0x255f44[_0x5d026d(0xf0)](_0x220dbc),_0x255f44[_0x5d026d(0x14b)]('error',_0x493df7['emit'][_0x5d026d(0x1ff)](_0x493df7,'error')),_0x255f44['once']('close',_0x493df7[_0x5d026d(0x121)][_0x5d026d(0x1ff)](_0x493df7)));}function _0x13f523(_0x33663e,_0x1a468e,_0x686dd5){const _0x2e0cbf=_0x15e538;if(_0x1a468e){const _0x3fec84=_0x33ece2(_0x1a468e)?_0x1a468e[_0x2e0cbf(0x117)]:_0x444eaa(_0x1a468e)[_0x2e0cbf(0x134)];_0x33663e['_socket']?_0x33663e[_0x2e0cbf(0x115)][_0x2e0cbf(0x254)]+=_0x3fec84:_0x33663e[_0x2e0cbf(0x13b)]+=_0x3fec84;}if(_0x686dd5){const _0x5df9ee=new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x20'+_0x33663e[_0x2e0cbf(0xf3)]+'\x20('+_0x3cf8e2[_0x33663e[_0x2e0cbf(0xf3)]]+')');process[_0x2e0cbf(0xe9)](_0x686dd5,_0x5df9ee);}}function _0x1a2a4a(_0x2c5cd9,_0x4c6f88){const _0x3d4a98=_0x15e538,_0xf85a08=this[_0x4ff3f7];_0xf85a08[_0x3d4a98(0x1f2)]=!0x0,_0xf85a08[_0x3d4a98(0x1e5)]=_0x4c6f88,_0xf85a08[_0x3d4a98(0x281)]=_0x2c5cd9,_0xf85a08[_0x3d4a98(0x1cd)][_0x4ff3f7]!==void 0x0&&(_0xf85a08[_0x3d4a98(0x1cd)][_0x3d4a98(0xdd)](_0x3d4a98(0x10c),_0x4a6e8c),process['nextTick'](_0x1472d5,_0xf85a08[_0x3d4a98(0x1cd)]),_0x2c5cd9===0x3ed?_0xf85a08[_0x3d4a98(0x15f)]():_0xf85a08[_0x3d4a98(0x15f)](_0x2c5cd9,_0x4c6f88));}function _0x1e7901(){const _0x5d2529=_0x15e538,_0x1f4e16=this[_0x4ff3f7];_0x1f4e16[_0x5d2529(0x226)]||_0x1f4e16[_0x5d2529(0x1cd)]['resume']();}function _0xf85673(_0x3e0e84){const _0x3c8887=_0x15e538,_0x5a125e=this[_0x4ff3f7];_0x5a125e['_socket'][_0x4ff3f7]!==void 0x0&&(_0x5a125e['_socket'][_0x3c8887(0xdd)](_0x3c8887(0x10c),_0x4a6e8c),process[_0x3c8887(0xe9)](_0x1472d5,_0x5a125e[_0x3c8887(0x1cd)]),_0x5a125e[_0x3c8887(0x15f)](_0x3e0e84[_0x4d4607])),_0x5a125e[_0x3c8887(0x149)]||(_0x5a125e[_0x3c8887(0x149)]=!0x0,_0x5a125e['emit'](_0x3c8887(0x197),_0x3e0e84));}function _0x5ecf2d(){const _0x543998=_0x15e538;this[_0x4ff3f7][_0x543998(0x121)]();}function _0x1a9c71(_0x2d91c7,_0x22f37e){const _0x1ab466=_0x15e538;this[_0x4ff3f7][_0x1ab466(0x185)](_0x1ab466(0x14a),_0x2d91c7,_0x22f37e);}function _0x1b50de(_0x104704){const _0x12caa7=_0x15e538,_0x1b71eb=this[_0x4ff3f7];_0x1b71eb[_0x12caa7(0x125)]&&_0x1b71eb['pong'](_0x104704,!this['_isServer'],_0x43c8ff),_0x1b71eb['emit']('ping',_0x104704);}function _0x41b368(_0x349d78){const _0x503153=_0x15e538;this[_0x4ff3f7][_0x503153(0x185)](_0x503153(0x132),_0x349d78);}function _0x1472d5(_0x178585){const _0x188bf1=_0x15e538;_0x178585[_0x188bf1(0x187)]();}function _0x366acb(_0x45bcfb){const _0x477aa8=_0x15e538,_0x164d42=this[_0x4ff3f7];_0x164d42['readyState']!==_0x3e4d9a[_0x477aa8(0xd3)]&&(_0x164d42[_0x477aa8(0xf3)]===_0x3e4d9a[_0x477aa8(0x1b9)]&&(_0x164d42['_readyState']=_0x3e4d9a[_0x477aa8(0x1d4)],_0x193b82(_0x164d42)),this[_0x477aa8(0x1cd)][_0x477aa8(0x175)](),_0x164d42[_0x477aa8(0x149)]||(_0x164d42[_0x477aa8(0x149)]=!0x0,_0x164d42[_0x477aa8(0x185)](_0x477aa8(0x197),_0x45bcfb)));}function _0x193b82(_0x4e4a59){const _0x4fd276=_0x15e538;_0x4e4a59[_0x4fd276(0x1fa)]=setTimeout(_0x4e4a59[_0x4fd276(0x1cd)][_0x4fd276(0xf0)]['bind'](_0x4e4a59[_0x4fd276(0x1cd)]),_0x3d3fb0);}function _0x385e62(){const _0x2b5071=_0x15e538,_0x5803cf=this[_0x4ff3f7];this[_0x2b5071(0xdd)]('close',_0x385e62),this[_0x2b5071(0xdd)](_0x2b5071(0x10c),_0x4a6e8c),this[_0x2b5071(0xdd)](_0x2b5071(0x175),_0x3395d2),_0x5803cf[_0x2b5071(0x218)]=_0x3e4d9a[_0x2b5071(0x1d4)];let _0x3266a1;!this[_0x2b5071(0x1cb)][_0x2b5071(0x235)]&&!_0x5803cf[_0x2b5071(0x1f2)]&&!_0x5803cf[_0x2b5071(0x250)][_0x2b5071(0x1ce)][_0x2b5071(0x278)]&&(_0x3266a1=_0x5803cf[_0x2b5071(0x1cd)][_0x2b5071(0x133)]())!==null&&_0x5803cf[_0x2b5071(0x250)][_0x2b5071(0x22a)](_0x3266a1),_0x5803cf['_receiver'][_0x2b5071(0x175)](),this[_0x4ff3f7]=void 0x0,clearTimeout(_0x5803cf[_0x2b5071(0x1fa)]),_0x5803cf[_0x2b5071(0x250)][_0x2b5071(0x1ce)][_0x2b5071(0xfa)]||_0x5803cf[_0x2b5071(0x250)]['_writableState'][_0x2b5071(0x278)]?_0x5803cf[_0x2b5071(0x121)]():(_0x5803cf[_0x2b5071(0x250)]['on'](_0x2b5071(0x197),_0x5ecf2d),_0x5803cf[_0x2b5071(0x250)]['on'](_0x2b5071(0x173),_0x5ecf2d));}function _0x4a6e8c(_0x1949cd){const _0x56cd48=_0x15e538;this[_0x4ff3f7][_0x56cd48(0x250)]['write'](_0x1949cd)||this[_0x56cd48(0x227)]();}function _0x3395d2(){const _0x391852=_0x15e538,_0xc7fc7a=this[_0x4ff3f7];_0xc7fc7a[_0x391852(0x218)]=_0x3e4d9a[_0x391852(0x1d4)],_0xc7fc7a[_0x391852(0x250)][_0x391852(0x175)](),this[_0x391852(0x175)]();}function _0x12f1b1(){const _0x14eff4=_0x15e538,_0x22e6a9=this[_0x4ff3f7];this[_0x14eff4(0xdd)]('error',_0x12f1b1),this['on'](_0x14eff4(0x197),_0x43c8ff),_0x22e6a9&&(_0x22e6a9[_0x14eff4(0x218)]=_0x3e4d9a['CLOSING'],this[_0x14eff4(0xf0)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x1019a8}=_0x458181;function _0x27d624(_0x2a34b9){const _0x1bd434=_0x2054;_0x2a34b9['emit'](_0x1bd434(0x15f));}function _0x23d36c(){const _0x2de93b=_0x2054;!this[_0x2de93b(0x1d1)]&&this[_0x2de93b(0x1ce)][_0x2de93b(0xfa)]&&this[_0x2de93b(0xf0)]();}function _0x10d259(_0x4412f7){const _0x527a28=_0x2054;this[_0x527a28(0xdd)]('error',_0x10d259),this[_0x527a28(0xf0)](),this[_0x527a28(0x16f)](_0x527a28(0x197))===0x0&&this['emit'](_0x527a28(0x197),_0x4412f7);}function _0xe461(_0x219049,_0x4b18bc){const _0x5ebccf=_0x2054;let _0x19d393=!0x0;const _0x4c58c7=new _0x1019a8({..._0x4b18bc,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x219049['on'](_0x5ebccf(0x14a),function(_0x36462,_0xb5cf09){const _0x5b8a86=_0x5ebccf,_0xf4c78c=!_0xb5cf09&&_0x4c58c7['_readableState'][_0x5b8a86(0x282)]?_0x36462['toString']():_0x36462;_0x4c58c7[_0x5b8a86(0x177)](_0xf4c78c)||_0x219049['pause']();}),_0x219049['once']('error',function(_0x5e6387){const _0x1affe8=_0x5ebccf;_0x4c58c7['destroyed']||(_0x19d393=!0x1,_0x4c58c7[_0x1affe8(0xf0)](_0x5e6387));}),_0x219049[_0x5ebccf(0x14b)]('close',function(){const _0x511a94=_0x5ebccf;_0x4c58c7['destroyed']||_0x4c58c7[_0x511a94(0x177)](null);}),_0x4c58c7[_0x5ebccf(0x216)]=function(_0x581d6e,_0x5994bc){const _0x3132d5=_0x5ebccf;if(_0x219049[_0x3132d5(0xf3)]===_0x219049[_0x3132d5(0xd3)]){_0x5994bc(_0x581d6e),process['nextTick'](_0x27d624,_0x4c58c7);return;}let _0x517da7=!0x1;_0x219049[_0x3132d5(0x14b)](_0x3132d5(0x197),function(_0x4fcccc){_0x517da7=!0x0,_0x5994bc(_0x4fcccc);}),_0x219049[_0x3132d5(0x14b)](_0x3132d5(0x15f),function(){const _0x32be00=_0x3132d5;_0x517da7||_0x5994bc(_0x581d6e),process[_0x32be00(0xe9)](_0x27d624,_0x4c58c7);}),_0x19d393&&_0x219049[_0x3132d5(0x130)]();},_0x4c58c7[_0x5ebccf(0x24c)]=function(_0x6e6b9d){const _0xf358f2=_0x5ebccf;if(_0x219049[_0xf358f2(0xf3)]===_0x219049['CONNECTING']){_0x219049['once'](_0xf358f2(0x1c2),function(){const _0x43991d=_0xf358f2;_0x4c58c7[_0x43991d(0x24c)](_0x6e6b9d);});return;}_0x219049['_socket']!==null&&(_0x219049[_0xf358f2(0x1cd)][_0xf358f2(0x1ce)][_0xf358f2(0xfa)]?(_0x6e6b9d(),_0x4c58c7[_0xf358f2(0x1cb)][_0xf358f2(0x235)]&&_0x4c58c7[_0xf358f2(0xf0)]()):(_0x219049[_0xf358f2(0x1cd)][_0xf358f2(0x14b)](_0xf358f2(0x173),function(){_0x6e6b9d();}),_0x219049[_0xf358f2(0x15f)]()));},_0x4c58c7[_0x5ebccf(0x22f)]=function(){const _0x1bd050=_0x5ebccf;_0x219049[_0x1bd050(0x226)]&&_0x219049[_0x1bd050(0x187)]();},_0x4c58c7[_0x5ebccf(0x179)]=function(_0x387f24,_0x5051b0,_0x50b141){const _0x181ffe=_0x5ebccf;if(_0x219049['readyState']===_0x219049[_0x181ffe(0x11e)]){_0x219049['once']('open',function(){const _0x2b1e9a=_0x181ffe;_0x4c58c7[_0x2b1e9a(0x179)](_0x387f24,_0x5051b0,_0x50b141);});return;}_0x219049['send'](_0x387f24,_0x50b141);},_0x4c58c7['on']('end',_0x23d36c),_0x4c58c7['on']('error',_0x10d259),_0x4c58c7;}return Oe=_0xe461,Oe;}Xt(),dt(),_t();var Zt=Ie();function _0x42a5(){const _0x3c8747=['_opcode','_write','captureStackTrace','default','indexOf','8uWnYUn','_buffers','_binaryType','autoPong','charCodeAt','Unexpected\x20end\x20of\x20input','\x22\x20subprotocol\x20is\x20duplicated','authorized','emit','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','resume','_inflate','address','27YLKIkG','kWasClean','618893KDjCoq','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','_compress','87055xYeBUz','84sjUWNP','sendFrame','HTTP/1.1\x20101\x20Switching\x20Protocols','split','generateMask','invalid\x20UTF-8\x20sequence','sha1','error','cookie','wss:','_originalSecure','keys','flush','isBuffer','ws+unix:','pending','extensions','slice','Unsupported\x20protocol\x20version:\x20','dequeue','customHeaders','skipUTF8Validation','catch','Z_DEFAULT_WINDOWBITS','_fragments','string','dispatch','conclude','Cookie','response','WS_ERR_EXPECTED_MASK','625134CwBGjc','path','Invalid\x20URL:\x20','zlibDeflateOptions','callback','backlog','total-length','Origin','WS_ERR_INVALID_CLOSE_CODE','number','OPEN','pipe','kAborted','hash','_protocol','\x22:\x20','object','byteLength','setHeader','open','client_max_window_bits','getMask','_allowSynchronousEvents','The\x20server\x20is\x20not\x20running','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','exports','setNoDelay','cork','_readableState','WS_ERR_INVALID_UTF8','_socket','_writableState','writable','defaultPort','destroyed','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','kMessage','CLOSING','_masked','MASK\x20must\x20be\x20clear','readUInt32BE','env','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','Invalid\x20Sec-WebSocket-Extensions\x20header','map','call','value','listening','Connection:\x20Upgrade','buffers','invalid\x20opcode\x200','wasClean','onmessage','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','_closeMessage','Server\x20sent\x20no\x20subprotocol','isServer','_redirects','toString','FIN\x20must\x20be\x20set','removeEventListener','sec-websocket-accept','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','arraybuffer','zlibInflateOptions','createSocket','WS_ERR_UNEXPECTED_RSV_1','_closeFrameReceived','reason','binary','invalid\x20opcode\x20','_originalHostOrSocketPath','_mask','consume','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','_closeTimer','pluginName','Z_SYNC_FLUSH','concurrency','__esModule','bind','Max\x20payload\x20size\x20exceeded','permessage-deflate','toStringTag','WS_ERR_INVALID_OPCODE','mask','uncork','params','readable','clientTracking','base64','_closeFrameSent','join','forEach','location','serverNoContextTakeover','isView','add','_deflate','finishRequest','collaboration-client-node.config','jobs','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','_destroy','Invalid\x20value\x20for\x20parameter\x20\x22','_readyState','_shouldEmitClose','decompress','href','_registerDependencies','maskBuffer','verifyClient','_maskBuffer','_configService','kType','https:','createInflateRaw','onopen','_threshold','isPaused','pause','Invalid\x20Sec-WebSocket-Accept\x20header','password','write','extensionName','shift','hasOwnProperty','_extensions','_read','reset','dataMessage','Opening\x20handshake\x20has\x20timed\x20out','defineProperty','normalizeParams','endEmitted','Sec-WebSocket-Extensions:\x20','headers','upgrade','maxPayload','The\x20\x22','concat','timeout','buffer','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','server_no_context_takeover','socket','websocket','Basic\x20','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','_fin','toLowerCase','drain','connect','_payloadLength','wsClientError','getConfig','includes','_final','cleanup','_max_window_bits','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','_receiver','apply','server_max_window_bits','test','_bufferedBytes','Server\x20sent\x20an\x20invalid\x20subprotocol','_skipUTF8Validation','_injector','845TRjAkM','startLoop','setConfig','abort','sec-websocket-key','sec-websocket-protocol','opcode','kData','next','Sec-WebSocket-Accept:\x20','http:','host','request','_compressed','Parameter\x20\x22','sec-websocket-extensions','ping','binaryType','username','invalid\x20status\x20code\x20','handleEvent','Maximum\x20redirects\x20exceeded','haveLength','invalid\x20payload\x20length\x20','_isServer','arrayBuffer','type','addEventListener','_state','url','warn','followRedirects','errorEmitted','pow','kRun','setTimeout','_originalIpc','_no_context_takeover','writeHead','_options','createConnection','_closeCode','objectMode','_fragmented','Invalid\x20Sec-WebSocket-Protocol\x20header','statusCode','acceptAsServer','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','isArray','_messageLength','CLOSED','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','_queue','Blob','parse','send','concurrencyLimit','status-code','readUInt16BE','MASK\x20must\x20be\x20set','removeListener','1592122RjQSAh','getInfo','allocUnsafe','client_no_context_takeover','controlMessage','unmask','WS_ERR_EXPECTED_FIN','\x0d\x0a\x0d\x0a','readOnly','options','completeUpgrade','nextTick','server','code','115332wPAxzh','authorization','WS_ERR_UNEXPECTED_MASK','threshold','destroy','writeUIntBE','port','readyState','protocolVersion','stream','_loop','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','offer','compress','finished','createServer','writeUInt16BE','isInteger','species','handleUpgrade','clients','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','onerror','Upgrade','removeAllListeners','kReason','protocol','bufferedAmount','enqueue','262bnoDgp','clientMaxWindowBits','digest','data','registerHTTPInterceptor','accept','listeners','has','Invalid\x20WebSocket\x20frame:\x20','freeze','_decompress','clientNoContextTakeover','_sender','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','size','getOwnPropertyDescriptor','19730oBQtUY','WS_NO_UTF_8_VALIDATE','_firstFragment','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','52YQGSMW','CONNECTING','nodebuffer','origin','emitClose','createError','fragments','prototype','_autoPong','redirect','_generateMask','encrypted','target','WebSocket','blob','getBlobData','RSV1\x20must\x20be\x20clear','Unexpected\x20server\x20response:\x20','method','terminate','frame','pong','read','length','getPayloadLength64','function','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','_server','File','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','_bufferedAmount','hostname','auth','_removeListeners','listen','\x22\x20must\x20have\x20only\x20a\x20single\x20value','connection','servername','perMessageDeflate','shouldHandle','Invalid\x20Upgrade\x20header','Sec-WebSocket-Protocol:\x20','sec-websocket-version','_errored','_errorEmitted','message','once','allowSynchronousEvents','socketPath','maxRedirects','values','pathname','alloc','client','getPayloadLength16','noServer','_doCreateSocket','handshakeTimeout','Unexpected\x20character\x20at\x20index\x20','byteOffset','text/html','handleProtocols','set','Module','_paused','ws:','close','_req','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','entries','getData','onStarting','from','serverMaxWindowBits','_maxPayload','create','isIP','text/plain','setSocket','STATUS_CODES','sec-websocket-origin','fin','listenerCount','_totalPayloadLength','replace','kIsForOnEventAttribute','finish','GET','end','update','push'];_0x42a5=function(){return _0x3c8747;};return _0x42a5();}const Qt=jt(Zt);var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x494dd3}=ne();function _0x3a4ad1(_0x4f8fa0){const _0x2f8f0b=_0x2054,_0x6b6b33=new Set();let _0x2f0ac7=-0x1,_0x2d96eb=-0x1,_0x6ba099=0x0;for(_0x6ba099;_0x6ba099<_0x4f8fa0[_0x2f8f0b(0x134)];_0x6ba099++){const _0x1401f1=_0x4f8fa0[_0x2f8f0b(0x181)](_0x6ba099);if(_0x2d96eb===-0x1&&_0x494dd3[_0x1401f1]===0x1)_0x2f0ac7===-0x1&&(_0x2f0ac7=_0x6ba099);else{if(_0x6ba099!==0x0&&(_0x1401f1===0x20||_0x1401f1===0x9))_0x2d96eb===-0x1&&_0x2f0ac7!==-0x1&&(_0x2d96eb=_0x6ba099);else{if(_0x1401f1===0x2c){if(_0x2f0ac7===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x6ba099);_0x2d96eb===-0x1&&(_0x2d96eb=_0x6ba099);const _0x5586fb=_0x4f8fa0['slice'](_0x2f0ac7,_0x2d96eb);if(_0x6b6b33[_0x2f8f0b(0x110)](_0x5586fb))throw new SyntaxError('The\x20\x22'+_0x5586fb+_0x2f8f0b(0x183));_0x6b6b33[_0x2f8f0b(0x210)](_0x5586fb),_0x2f0ac7=_0x2d96eb=-0x1;}else throw new SyntaxError(_0x2f8f0b(0x157)+_0x6ba099);}}}if(_0x2f0ac7===-0x1||_0x2d96eb!==-0x1)throw new SyntaxError(_0x2f8f0b(0x182));const _0x5e2c99=_0x4f8fa0['slice'](_0x2f0ac7,_0x6ba099);if(_0x6b6b33[_0x2f8f0b(0x110)](_0x5e2c99))throw new SyntaxError(_0x2f8f0b(0x23a)+_0x5e2c99+_0x2f8f0b(0x183));return _0x6b6b33[_0x2f8f0b(0x210)](_0x5e2c99),_0x6b6b33;}return Ce={'parse':_0x3a4ad1},Ce;}var Te,ot;function er(){const _0x3d9d55=_0x33ab43;if(ot)return Te;ot=0x1;const _0x11c85d=_0x2eab57,_0x584ebb=_0x8a3c0f,{Duplex:_0x24e8ad}=_0x458181,{createHash:_0x22b4d9}=_0x34b0ca,_0x24fef2=pt(),_0x4ebc4d=he(),_0x290e6e=Jt(),_0x2db009=Ie(),{GUID:_0x541ed5,kWebSocket:_0x166829}=V(),_0x2eaf4c=/^[+/0-9A-Za-z]{22}==$/,_0x2460f1=0x0,_0x1dab71=0x1,_0x5233e6=0x2;class _0x32758c extends _0x11c85d{constructor(_0x33f959,_0x4e6fce){const _0x109c52=_0x2054;if(super(),_0x33f959={'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':_0x2db009,..._0x33f959},_0x33f959[_0x109c52(0xf2)]==null&&!_0x33f959[_0x109c52(0xea)]&&!_0x33f959['noServer']||_0x33f959[_0x109c52(0xf2)]!=null&&(_0x33f959[_0x109c52(0xea)]||_0x33f959[_0x109c52(0x154)])||_0x33f959[_0x109c52(0xea)]&&_0x33f959[_0x109c52(0x154)])throw new TypeError(_0x109c52(0x101));if(_0x33f959['port']!=null?(this[_0x109c52(0x138)]=_0x584ebb[_0x109c52(0xfb)]((_0x438c6a,_0x570358)=>{const _0x37e945=_0x109c52,_0xdbe0b4=_0x584ebb['STATUS_CODES'][0x1aa];_0x570358[_0x37e945(0x27e)](0x1aa,{'Content-Length':_0xdbe0b4[_0x37e945(0x134)],'Content-Type':_0x37e945(0x16a)}),_0x570358['end'](_0xdbe0b4);}),this[_0x109c52(0x138)][_0x109c52(0x13f)](_0x33f959[_0x109c52(0xf2)],_0x33f959[_0x109c52(0x263)],_0x33f959[_0x109c52(0x1b4)],_0x4e6fce)):_0x33f959[_0x109c52(0xea)]&&(this[_0x109c52(0x138)]=_0x33f959['server']),this[_0x109c52(0x138)]){const _0xebeb06=this['emit'][_0x109c52(0x1ff)](this,_0x109c52(0x141));this[_0x109c52(0x13e)]=_0xae770(this['_server'],{'listening':this[_0x109c52(0x185)]['bind'](this,_0x109c52(0x1de)),'error':this['emit'][_0x109c52(0x1ff)](this,_0x109c52(0x197)),'upgrade':(_0x5b027,_0x255767,_0x569211)=>{this['handleUpgrade'](_0x5b027,_0x255767,_0x569211,_0xebeb06);}});}_0x33f959['perMessageDeflate']===!0x0&&(_0x33f959[_0x109c52(0x143)]={}),_0x33f959[_0x109c52(0x208)]&&(this['clients']=new Set(),this[_0x109c52(0x219)]=!0x1),this['options']=_0x33f959,this[_0x109c52(0x274)]=_0x2460f1;}[_0x3d9d55(0x189)](){const _0x38bf4e=_0x3d9d55;if(this[_0x38bf4e(0xe7)][_0x38bf4e(0x154)])throw new Error(_0x38bf4e(0x1c7));return this[_0x38bf4e(0x138)]?this[_0x38bf4e(0x138)][_0x38bf4e(0x189)]():null;}[_0x3d9d55(0x15f)](_0x46138f){const _0x51c21d=_0x3d9d55;if(this['_state']===_0x5233e6){_0x46138f&&this['once'](_0x51c21d(0x15f),()=>{const _0x2e0cba=_0x51c21d;_0x46138f(new Error(_0x2e0cba(0x1c6)));}),process[_0x51c21d(0xe9)](_0x5e7561,this);return;}if(_0x46138f&&this[_0x51c21d(0x14b)]('close',_0x46138f),this[_0x51c21d(0x274)]!==_0x1dab71){if(this[_0x51c21d(0x274)]=_0x1dab71,this[_0x51c21d(0xe7)][_0x51c21d(0x154)]||this[_0x51c21d(0xe7)]['server'])this[_0x51c21d(0x138)]&&(this[_0x51c21d(0x13e)](),this[_0x51c21d(0x13e)]=this[_0x51c21d(0x138)]=null),this[_0x51c21d(0x100)]?this['clients'][_0x51c21d(0x117)]?this[_0x51c21d(0x219)]=!0x0:process[_0x51c21d(0xe9)](_0x5e7561,this):process[_0x51c21d(0xe9)](_0x5e7561,this);else{const _0x421967=this[_0x51c21d(0x138)];this[_0x51c21d(0x13e)](),this['_removeListeners']=this['_server']=null,_0x421967[_0x51c21d(0x15f)](()=>{_0x5e7561(this);});}}}[_0x3d9d55(0x144)](_0xd6bdc7){const _0x16c7f8=_0x3d9d55;if(this[_0x16c7f8(0xe7)]['path']){const _0x499c44=_0xd6bdc7[_0x16c7f8(0x275)]['indexOf']('?');if((_0x499c44!==-0x1?_0xd6bdc7[_0x16c7f8(0x275)][_0x16c7f8(0x1a1)](0x0,_0x499c44):_0xd6bdc7[_0x16c7f8(0x275)])!==this[_0x16c7f8(0xe7)][_0x16c7f8(0x1b0)])return!0x1;}return!0x0;}[_0x3d9d55(0xff)](_0x20f899,_0x1c2eee,_0x21d6b3,_0x406cae){const _0x18f5bd=_0x3d9d55;_0x1c2eee['on'](_0x18f5bd(0x197),_0x383661);const _0x309558=_0x20f899['headers'][_0x18f5bd(0x25c)],_0x71bb80=_0x20f899['headers'][_0x18f5bd(0x238)],_0x1c5c07=+_0x20f899[_0x18f5bd(0x237)][_0x18f5bd(0x147)];if(_0x20f899[_0x18f5bd(0x12f)]!==_0x18f5bd(0x174)){_0x5853a8(this,_0x20f899,_0x1c2eee,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x71bb80===void 0x0||_0x71bb80[_0x18f5bd(0x245)]()!=='websocket'){_0x5853a8(this,_0x20f899,_0x1c2eee,0x190,_0x18f5bd(0x145));return;}if(_0x309558===void 0x0||!_0x2eaf4c[_0x18f5bd(0x253)](_0x309558)){_0x5853a8(this,_0x20f899,_0x1c2eee,0x190,_0x18f5bd(0x18d));return;}if(_0x1c5c07!==0x8&&_0x1c5c07!==0xd){_0x5853a8(this,_0x20f899,_0x1c2eee,0x190,_0x18f5bd(0x287));return;}if(!this[_0x18f5bd(0x144)](_0x20f899)){_0x2020f6(_0x1c2eee,0x190);return;}const _0x1db99c=_0x20f899[_0x18f5bd(0x237)][_0x18f5bd(0x25d)];let _0xb76173=new Set();if(_0x1db99c!==void 0x0)try{_0xb76173=_0x290e6e[_0x18f5bd(0xd7)](_0x1db99c);}catch{_0x5853a8(this,_0x20f899,_0x1c2eee,0x190,_0x18f5bd(0x284));return;}const _0x32d3aa=_0x20f899[_0x18f5bd(0x237)]['sec-websocket-extensions'],_0x6dadcf={};if(this[_0x18f5bd(0xe7)]['perMessageDeflate']&&_0x32d3aa!==void 0x0){const _0x4189e7=new _0x4ebc4d(this[_0x18f5bd(0xe7)][_0x18f5bd(0x143)],!0x0,this[_0x18f5bd(0xe7)][_0x18f5bd(0x239)]);try{const _0x2b6e09=_0x24fef2['parse'](_0x32d3aa);_0x2b6e09[_0x4ebc4d[_0x18f5bd(0x22b)]]&&(_0x4189e7['accept'](_0x2b6e09[_0x4ebc4d[_0x18f5bd(0x22b)]]),_0x6dadcf[_0x4ebc4d[_0x18f5bd(0x22b)]]=_0x4189e7);}catch{_0x5853a8(this,_0x20f899,_0x1c2eee,0x190,_0x18f5bd(0x11c));return;}}if(this[_0x18f5bd(0xe7)][_0x18f5bd(0x21e)]){const _0x1d570f={'origin':_0x20f899['headers'][''+(_0x1c5c07===0x8?_0x18f5bd(0x16d):_0x18f5bd(0x120))],'secure':!!(_0x20f899['socket'][_0x18f5bd(0x184)]||_0x20f899[_0x18f5bd(0x240)][_0x18f5bd(0x128)]),'req':_0x20f899};if(this['options']['verifyClient'][_0x18f5bd(0x134)]===0x2){this[_0x18f5bd(0xe7)][_0x18f5bd(0x21e)](_0x1d570f,(_0x1b6f7d,_0x1e7d4c,_0x19ec32,_0x32c0fa)=>{const _0x41eb64=_0x18f5bd;if(!_0x1b6f7d)return _0x2020f6(_0x1c2eee,_0x1e7d4c||0x191,_0x19ec32,_0x32c0fa);this[_0x41eb64(0xe8)](_0x6dadcf,_0x309558,_0xb76173,_0x20f899,_0x1c2eee,_0x21d6b3,_0x406cae);});return;}if(!this[_0x18f5bd(0xe7)][_0x18f5bd(0x21e)](_0x1d570f))return _0x2020f6(_0x1c2eee,0x191);}this[_0x18f5bd(0xe8)](_0x6dadcf,_0x309558,_0xb76173,_0x20f899,_0x1c2eee,_0x21d6b3,_0x406cae);}[_0x3d9d55(0xe8)](_0x5e2617,_0x528eaf,_0x3c666c,_0x2b1559,_0x50e6de,_0x504872,_0x14db2d){const _0x21a029=_0x3d9d55;if(!_0x50e6de[_0x21a029(0x207)]||!_0x50e6de[_0x21a029(0x1cf)])return _0x50e6de[_0x21a029(0xf0)]();if(_0x50e6de[_0x166829])throw new Error(_0x21a029(0x1ed));if(this[_0x21a029(0x274)]>_0x2460f1)return _0x2020f6(_0x50e6de,0x1f7);const _0x1d7246=[_0x21a029(0x192),'Upgrade:\x20websocket',_0x21a029(0x1df),_0x21a029(0x261)+_0x22b4d9(_0x21a029(0x196))[_0x21a029(0x176)](_0x528eaf+_0x541ed5)['digest'](_0x21a029(0x209))],_0x8e4b07=new this[(_0x21a029(0xe7))][(_0x21a029(0x12a))](null,void 0x0,this[_0x21a029(0xe7)]);if(_0x3c666c[_0x21a029(0x117)]){const _0x589447=this[_0x21a029(0xe7)][_0x21a029(0x15a)]?this['options']['handleProtocols'](_0x3c666c,_0x2b1559):_0x3c666c[_0x21a029(0x14f)]()['next']()[_0x21a029(0x1dd)];_0x589447&&(_0x1d7246['push'](_0x21a029(0x146)+_0x589447),_0x8e4b07[_0x21a029(0x1bd)]=_0x589447);}if(_0x5e2617[_0x4ebc4d[_0x21a029(0x22b)]]){const _0x310ed0=_0x5e2617[_0x4ebc4d[_0x21a029(0x22b)]][_0x21a029(0x206)],_0x4a5bb2=_0x24fef2['format']({[_0x4ebc4d[_0x21a029(0x22b)]]:[_0x310ed0]});_0x1d7246['push'](_0x21a029(0x236)+_0x4a5bb2),_0x8e4b07[_0x21a029(0x22e)]=_0x5e2617;}this[_0x21a029(0x185)](_0x21a029(0x237),_0x1d7246,_0x2b1559),_0x50e6de[_0x21a029(0x22a)](_0x1d7246[_0x21a029(0x23b)]('\x0d\x0a')[_0x21a029(0x20b)]('\x0d\x0a')),_0x50e6de[_0x21a029(0xdd)]('error',_0x383661),_0x8e4b07[_0x21a029(0x16b)](_0x50e6de,_0x504872,{'allowSynchronousEvents':this[_0x21a029(0xe7)]['allowSynchronousEvents'],'maxPayload':this[_0x21a029(0xe7)]['maxPayload'],'skipUTF8Validation':this[_0x21a029(0xe7)][_0x21a029(0x1a5)]}),this['clients']&&(this['clients']['add'](_0x8e4b07),_0x8e4b07['on'](_0x21a029(0x15f),()=>{const _0x13edb2=_0x21a029;this[_0x13edb2(0x100)]['delete'](_0x8e4b07),this['_shouldEmitClose']&&!this[_0x13edb2(0x100)][_0x13edb2(0x117)]&&process[_0x13edb2(0xe9)](_0x5e7561,this);})),_0x14db2d(_0x8e4b07,_0x2b1559);}}Te=_0x32758c;function _0xae770(_0x1e7b0f,_0x6eab22){for(const _0x51ddac of Object['keys'](_0x6eab22))_0x1e7b0f['on'](_0x51ddac,_0x6eab22[_0x51ddac]);return function(){const _0x386972=_0x2054;for(const _0x2fb02b of Object[_0x386972(0x19b)](_0x6eab22))_0x1e7b0f[_0x386972(0xdd)](_0x2fb02b,_0x6eab22[_0x2fb02b]);};}function _0x5e7561(_0x402b0e){const _0x45f449=_0x3d9d55;_0x402b0e['_state']=_0x5233e6,_0x402b0e[_0x45f449(0x185)](_0x45f449(0x15f));}function _0x383661(){this['destroy']();}function _0x2020f6(_0x472fff,_0x760cd1,_0x4cc8b7,_0x27bc90){const _0x356ccf=_0x3d9d55;_0x4cc8b7=_0x4cc8b7||_0x584ebb['STATUS_CODES'][_0x760cd1],_0x27bc90={'Connection':_0x356ccf(0x15f),'Content-Type':_0x356ccf(0x159),'Content-Length':Buffer[_0x356ccf(0x1c0)](_0x4cc8b7),..._0x27bc90},_0x472fff['once'](_0x356ccf(0x173),_0x472fff[_0x356ccf(0xf0)]),_0x472fff['end']('HTTP/1.1\x20'+_0x760cd1+'\x20'+_0x584ebb[_0x356ccf(0x16c)][_0x760cd1]+'\x0d\x0a'+Object[_0x356ccf(0x19b)](_0x27bc90)[_0x356ccf(0x1db)](_0x34b157=>_0x34b157+':\x20'+_0x27bc90[_0x34b157])['join']('\x0d\x0a')+_0x356ccf(0xe5)+_0x4cc8b7);}function _0x5853a8(_0x5aed5f,_0x48ac77,_0x2ab7de,_0x3309aa,_0x183d56){const _0x30ad84=_0x3d9d55;if(_0x5aed5f[_0x30ad84(0x16f)](_0x30ad84(0x249))){const _0x21b849=new Error(_0x183d56);Error[_0x30ad84(0x17a)](_0x21b849,_0x5853a8),_0x5aed5f[_0x30ad84(0x185)](_0x30ad84(0x249),_0x21b849,_0x2ab7de,_0x48ac77);}else _0x2020f6(_0x2ab7de,_0x3309aa,_0x183d56);}return Te;}er();var tr=Object['getOwnPropertyDescriptor'],rr=(_0x4bfa22,_0x137d3a,_0x546cc5,_0x2a19e8)=>{for(var _0x588421=_0x2a19e8>0x1?void 0x0:_0x2a19e8?tr(_0x137d3a,_0x546cc5):_0x137d3a,_0x4f4998=_0x4bfa22['length']-0x1,_0x2e13a3;_0x4f4998>=0x0;_0x4f4998--)(_0x2e13a3=_0x4bfa22[_0x4f4998])&&(_0x588421=_0x2e13a3(_0x588421)||_0x588421);return _0x588421;},sr=(_0x3ca3b9,_0x119b64)=>(_0x5a95a4,_0x41094a)=>_0x119b64(_0x5a95a4,_0x41094a,_0x3ca3b9);let Ne=class extends _0x350538{constructor(_0x59a3ac){const _0x273116=_0x33ab43;super(),this[_0x273116(0x220)]=_0x59a3ac;}[_0x33ab43(0x1f0)](_0x1d203f){const _0x4693fb=_0x33ab43;var _0x4abc6f;const _0x27ec81=(_0x4abc6f=this[_0x4693fb(0x220)][_0x4693fb(0x24a)](Be))==null?void 0x0:_0x4abc6f[_0x4693fb(0x1a4)];try{const _0x488379=new Qt(_0x1d203f,{'headers':{..._0x27ec81}}),_0x289cc7=new _0x1e281e();return{'URL':_0x1d203f,'close':(_0x5673b9,_0x3edbd5)=>{const _0x1e6477=_0x4693fb;_0x488379[_0x1e6477(0x15f)](_0x5673b9,_0x3edbd5),_0x289cc7['dispose']();},'send':_0x29bde8=>{const _0x2bfeb3=_0x4693fb;_0x488379[_0x2bfeb3(0xd8)](_0x29bde8);},'open$':new _0x2380d4(_0x344081=>{const _0x2cff7e=_0x4693fb,_0x479ce0=_0x290162=>_0x344081['next'](_0x290162);_0x488379[_0x2cff7e(0x273)](_0x2cff7e(0x1c2),_0x479ce0),_0x289cc7[_0x2cff7e(0x210)](_0x405e17(()=>_0x488379[_0x2cff7e(0x1eb)](_0x2cff7e(0x1c2),_0x479ce0)));})[_0x4693fb(0x1ba)](_0x19de9d()),'close$':new _0x2380d4(_0x4bcae1=>{const _0x3dcc41=_0x4693fb,_0x5beb94=_0x42a3a3=>_0x4bcae1[_0x3dcc41(0x260)](_0x42a3a3);_0x488379[_0x3dcc41(0x273)](_0x3dcc41(0x15f),_0x5beb94),_0x289cc7[_0x3dcc41(0x210)](_0x405e17(()=>_0x488379[_0x3dcc41(0x1eb)](_0x3dcc41(0x15f),_0x5beb94)));})[_0x4693fb(0x1ba)](_0x19de9d()),'error$':new _0x2380d4(_0x33f353=>{const _0x356fe1=_0x4693fb,_0x38b051=_0x1a18de=>_0x33f353[_0x356fe1(0x260)](_0x1a18de);_0x488379[_0x356fe1(0x273)](_0x356fe1(0x197),_0x38b051),_0x289cc7[_0x356fe1(0x210)](_0x405e17(()=>_0x488379[_0x356fe1(0x1eb)](_0x356fe1(0x197),_0x38b051)));})[_0x4693fb(0x1ba)](_0x19de9d()),'message$':new _0x2380d4(_0x1bff1d=>{const _0x5c1380=_0x4693fb,_0x3f18c2=_0x122246=>_0x1bff1d['next'](_0x122246);_0x488379['addEventListener']('message',_0x3f18c2),_0x289cc7[_0x5c1380(0x210)](_0x405e17(()=>_0x488379['removeEventListener']('message',_0x3f18c2)));})['pipe'](_0x19de9d())};}catch(_0x296b8e){return console[_0x4693fb(0x197)](_0x296b8e),null;}}};Ne=rr([sr(0x0,_0x21d270)],Ne);var ir=Object[_0x33ab43(0x233)],nr=Object[_0x33ab43(0x118)],or=(_0x58b42f,_0x207453,_0x349be4)=>_0x207453 in _0x58b42f?ir(_0x58b42f,_0x207453,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x349be4}):_0x58b42f[_0x207453]=_0x349be4,ar=(_0x441e65,_0x5cf0e8,_0x3dde5e,_0x3f7fc0)=>{const _0x59ee53=_0x33ab43;for(var _0xc7e06d=_0x3f7fc0>0x1?void 0x0:_0x3f7fc0?nr(_0x5cf0e8,_0x3dde5e):_0x5cf0e8,_0x4c8091=_0x441e65[_0x59ee53(0x134)]-0x1,_0x1d99af;_0x4c8091>=0x0;_0x4c8091--)(_0x1d99af=_0x441e65[_0x4c8091])&&(_0xc7e06d=_0x1d99af(_0xc7e06d)||_0xc7e06d);return _0xc7e06d;},ke=(_0x5247f7,_0x42e83b)=>(_0x54d416,_0xf00198)=>_0x42e83b(_0x54d416,_0xf00198,_0x5247f7),lr=(_0x56d392,_0x12af87,_0x2743ab)=>or(_0x56d392,_0x12af87+'',_0x2743ab);let Pe=class extends _0x8de084{constructor(_0x45f1b9=Ft,_0x191c07,_0x687cae,_0x4b11a3){const _0x49a352=_0x33ab43;_0x45f1b9[_0x49a352(0x1a4)]||_0x191c07[_0x49a352(0x276)]('[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.'),super(),this[_0x49a352(0x220)]=_0x687cae,this[_0x49a352(0x257)]=_0x4b11a3,this[_0x49a352(0x220)][_0x49a352(0x25a)](Be,_0x45f1b9);}[_0x33ab43(0x164)](){this['_registerDependencies']();}[_0x33ab43(0x21c)](){_0x6ee5eb(this['_injector'],[[_0x2bcee1,{'useClass':Ne}]]);}};lr(Pe,_0x33ab43(0x1fb),_0x33ab43(0x1e4)),Pe=ar([_0xafe28b(_0x2d9fe8),ke(0x1,_0x67f65e),ke(0x2,_0x21d270),ke(0x3,_0x236ab8(_0x1a7c69))],Pe);var fr=Object[_0x33ab43(0x118)],cr=(_0x4b4c22,_0x1dd7cb,_0x204c0e,_0x370df0)=>{for(var _0x4d58b5=_0x370df0>0x1?void 0x0:_0x370df0?fr(_0x1dd7cb,_0x204c0e):_0x1dd7cb,_0x207672=_0x4b4c22['length']-0x1,_0x5e25f2;_0x207672>=0x0;_0x207672--)(_0x5e25f2=_0x4b4c22[_0x207672])&&(_0x4d58b5=_0x5e25f2(_0x4d58b5)||_0x4d58b5);return _0x4d58b5;},se=(_0x4d06e1,_0xfb5e4a)=>(_0xca56ae,_0xe84159)=>_0xfb5e4a(_0xca56ae,_0xe84159,_0x4d06e1);let at=class extends _0x14397b{constructor(_0x4197b2,_0x273a38,_0x5d3737,_0x241fa8,_0x552d2d){const _0x37c978=_0x33ab43;super(_0x4197b2,_0x273a38,_0x5d3737,_0x241fa8,_0x552d2d);const _0x9f0540=this[_0x37c978(0x220)]['getConfig'](Be);this['_httpService'][_0x37c978(0x10d)]({'interceptor':(_0x1f2e3e,_0x4f2654)=>{const _0x3a9ce8=_0x37c978;var _0x373f9f;const _0x3fd638=_0x1f2e3e[_0x3a9ce8(0x237)];return(_0x373f9f=_0x9f0540==null?void 0x0:_0x9f0540['customHeaders'])!=null&&_0x373f9f['cookie']&&_0x3fd638[_0x3a9ce8(0x15b)](_0x3a9ce8(0x1ac),_0x9f0540[_0x3a9ce8(0x1a4)]['cookie']),_0x4f2654(_0x1f2e3e);}});}async[_0x33ab43(0x1f0)](_0x1c7e0b){const _0x59cab5=_0x33ab43;return this[_0x59cab5(0x155)](_0x1c7e0b);}};at=cr([se(0x0,_0x236ab8(_0x1a7c69)),se(0x1,_0x236ab8(_0x1ec246)),se(0x2,_0x21d270),se(0x3,_0x67f65e),se(0x4,_0xc603f2)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};
1
+ const _0x585172=_0x4511;(function(_0x4ed968,_0x2f7cc7){const _0x203328=_0x4511,_0x572f56=_0x4ed968();while(!![]){try{const _0x2bb4e5=-parseInt(_0x203328(0x147))/0x1+parseInt(_0x203328(0x1e6))/0x2*(-parseInt(_0x203328(0x12b))/0x3)+parseInt(_0x203328(0x21d))/0x4+-parseInt(_0x203328(0x238))/0x5+-parseInt(_0x203328(0x162))/0x6*(-parseInt(_0x203328(0x15c))/0x7)+-parseInt(_0x203328(0x9c))/0x8+parseInt(_0x203328(0x20a))/0x9*(parseInt(_0x203328(0x1f4))/0xa);if(_0x2bb4e5===_0x2f7cc7)break;else _0x572f56['push'](_0x572f56['shift']());}catch(_0x3b9ae9){_0x572f56['push'](_0x572f56['shift']());}}}(_0x1d9a,0xdd0a8));import{UniverCollaborationClientPlugin as _0x2ebb85,CollaborationSocketService as _0x1e8009}from'@univerjs-pro/collaboration-client';import{Disposable as _0x356f75,DisposableCollection as _0x3257f8,toDisposable as _0x3e7eff,IConfigService as _0x129f20,DependentOn as _0x3abdaf,ILogService as _0x2e6a15,Inject as _0x43cba4,Injector as _0x1482b4,Plugin as _0x2be788,registerDependencies as _0x56d066}from'@univerjs/core';function _0x1d9a(){const _0x5814dc=['sec-websocket-extensions','WebSocket\x20is\x20not\x20open:\x20readyState\x20','threshold','CLOSED','byteOffset','Z_DEFAULT_WINDOWBITS','drain','replace','_destroy','values','maxPayload','authorized','end','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','_read','setConfig','createServer','fragments','kError','\x22:\x20','generateMask','finish','236780ESwvfF','noServer','verifyClient','keys','split','_maxPayload','serverMaxWindowBits','sec-websocket-version','socket','getPayloadLength64','_writableState','destroy','invalid\x20opcode\x200','_bufferedAmount','10oaGxID','_compress','Invalid\x20Upgrade\x20header','ping','_fragmented','invalid\x20payload\x20length\x20','_loop','WS_NO_UTF_8_VALIDATE','dataMessage','clientMaxWindowBits','set','readyState','maskBuffer','flush','compress','slice','timeout','terminate','sendFrame','createError','alloc','setHeader','8096877ZJAIWK','removeAllListeners','kAborted','Blob','_deflate','http:','WS_ERR_EXPECTED_MASK','getData','next','isPaused','exports','RSV1\x20must\x20be\x20clear','errorEmitted','offer','send','Invalid\x20Sec-WebSocket-Accept\x20header','onopen','prototype','acceptAsServer','3579140GxTIJK','reason','address','\x22\x20must\x20have\x20only\x20a\x20single\x20value','registerHTTPInterceptor','Z_SYNC_FLUSH','pow','dequeue','_closeMessage','env','writeUIntBE','kType','create','_shouldEmitClose','websocket','server','unshift','enqueue','bufferedAmount','writable','defineProperty','pathname','readOnly','Basic\x20','add','constructor','_firstFragment','1100175azGaad','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','controlMessage','Server\x20sent\x20no\x20subprotocol','maxRedirects','Sec-WebSocket-Protocol','_binaryType','_payloadLength','message','fin','request','once','arrayBuffer','removeListener','Invalid\x20Sec-WebSocket-Extensions\x20header','serverNoContextTakeover','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','Origin','toString','kRun','url','WebSocket','blob','_write','write','onmessage','code','_closeFrameSent','File','10017280EoRSQo','origin','needDrain','ws:','WS_ERR_UNEXPECTED_RSV_2_3','bind','arraybuffer','_isServer','location','pluginName','isServer','_inflate','OPEN','params','__esModule','endEmitted','extensionName','join','readUInt16BE','shouldHandle','consume','_errorEmitted','open','Connection:\x20Upgrade','backlog','Unexpected\x20server\x20response:\x20','writeUInt16BE','_registerDependencies','kIsForOnEventAttribute','_options','includes','wss:','server_no_context_takeover','number','onerror','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','acceptAsClient','Unexpected\x20end\x20of\x20input','Unexpected\x20character\x20at\x20index\x20','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','autoPong','WS_NO_BUFFER_UTIL','addEventListener','_masked','redirect','completeUpgrade','customHeaders','_maskBuffer','update','CONNECTING','close','getConfig','map','The\x20\x22','socketPath','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','Maximum\x20redirects\x20exceeded','cookie','followRedirects','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','kListener','concurrencyLimit','haveLength','encrypted','_originalHostOrSocketPath','_generateMask','path','finishRequest','clientTracking','Sec-WebSocket-Extensions:\x20','clients','data','binary','binaryType','Sec-WebSocket-Accept:\x20','_socket','species','getOwnPropertyDescriptor','WS_ERR_INVALID_UTF8','_totalPayloadLength','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','onStarting','destroyed','permessage-deflate','_bufferedBytes','base64','opcode','CLOSING','mask','pipe','concurrency','_closeCode','toStringTag','Invalid\x20WebSocket\x20frame:\x20','setTimeout','reset','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','_mask','read','WS_ERR_UNEXPECTED_RSV_1','warn','Module','hash','indexOf','getPayloadLength16','_readyState','allowSynchronousEvents','FIN\x20must\x20be\x20set','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','pending','createConnection','digest','ws+unix:','sec-websocket-protocol','WS_ERR_EXPECTED_FIN','accept','_buffers','handleProtocols','client','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','nextTick','Sec-WebSocket-Extensions','readUInt32BE','resume','Sec-WebSocket-Protocol:\x20','invalid\x20UTF-8\x20sequence','parse','then','_readableState','Parameter\x20\x22','stream','statusCode','_fin','getBlobData','startsWith','hostname','decompress','object','unmask','onclose','response','wsClientError','_allowSynchronousEvents','12qCjPqq','cork','callback','GET','_redirects','hasOwnProperty','dispatch','apply','_closeFrameReceived','captureStackTrace','handshakeTimeout','cleanup','listen','_req','buffer','server_max_window_bits','STATUS_CODES','Max\x20payload\x20size\x20exceeded','upgrade','type','_compressed','connect','default','_no_context_takeover','_state','toLowerCase','defaultPort','protocolVersion','30932bnqGYe','error','_max_window_bits','total-length','_originalSecure','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','_fragments','client_no_context_takeover','handleEvent','perMessageDeflate','delete','has','listenerCount','_decompress','setNoDelay','_removeListeners','format','_threshold','startLoop','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','isIP','31591DyyoaG','text/html','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','port','call','_queue','1446MCgrXO','emit','listeners','_extensions','WS_ERR_UNEXPECTED_MASK','WS_ERR_INVALID_OPCODE','_final','password','concat','_paused','host','_skipUTF8Validation','kCode','_receiver','sha1','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','writeHead','sec-websocket-origin','clientNoContextTakeover','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','username','conclude','removeEventListener','authorization','dispose','protocol','readable','normalizeParams','setSocket','emitClose','Upgrade','_messageLength','pong','length','shift','kReason','_closeTimer','_configService','isInteger','frame','kWasClean','Server\x20sent\x20an\x20invalid\x20subprotocol','from','status-code','createSocket','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','wasClean','objectMode','auth','charCodeAt','pause','freeze','byteLength','_protocol','finished','getMask','The\x20URL\x20contains\x20a\x20fragment\x20identifier','_errored','target','sec-websocket-key','Unknown\x20parameter\x20\x22','Upgrade:\x20websocket','Invalid\x20URL:\x20','find','construct','servername','rsv1','kMessage','skipUTF8Validation','_url','zlibDeflateOptions','_httpService','test','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','\x22\x20subprotocol\x20is\x20duplicated','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','https:','_server','_sender','push','_originalIpc','href','_autoPong','createDeflateRaw','string','Invalid\x20value\x20for\x20parameter\x20\x22','headers','unexpected-response','forEach','allocUnsafe','isArray','size','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','kByteLength','kData','isView','entries','extensions','_opcode','createInflateRaw','text/plain','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','jobs','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','client_max_window_bits','_injector','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','options','function'];_0x1d9a=function(){return _0x5814dc;};return _0x1d9a();}import{ISocketService as _0x7188b2,HTTPService as _0x546a1b}from'@univerjs/network';import{Observable as _0x90d62b,share as _0x4aacc2}from'rxjs';import _0x3c867a from'events';import _0x5e47b3 from'https';import _0x4a8559 from'http';import _0x14239d from'net';import _0x11118b from'tls';import _0x461bbd from'crypto';import _0x3f6333 from'stream';import _0x17ba72 from'url';import _0x1ce7d0 from'zlib';import _0x21ac4c from'buffer';import{ISnapshotServerService as _0x382062}from'@univerjs-pro/collaboration';const Be='collaboration-client-node.config',Ft={'customHeaders':{}};function jt(_0x1a0314){const _0xe7bbd7=_0x4511;return _0x1a0314&&_0x1a0314[_0xe7bbd7(0xaa)]&&Object[_0xe7bbd7(0x21b)][_0xe7bbd7(0x130)][_0xe7bbd7(0x160)](_0x1a0314,_0xe7bbd7(0x141))?_0x1a0314[_0xe7bbd7(0x141)]:_0x1a0314;}function ut(_0x337bbf){const _0xfaf0eb=_0x4511;if(Object[_0xfaf0eb(0x21b)][_0xfaf0eb(0x130)][_0xfaf0eb(0x160)](_0x337bbf,_0xfaf0eb(0xaa)))return _0x337bbf;var _0x3c5835=_0x337bbf[_0xfaf0eb(0x141)];if(typeof _0x3c5835==_0xfaf0eb(0x1ce)){var _0x20c7e7=function _0x11f7fe(){const _0xf08bb6=_0xfaf0eb;return this instanceof _0x11f7fe?Reflect[_0xf08bb6(0x1a2)](_0x3c5835,arguments,this[_0xf08bb6(0x236)]):_0x3c5835[_0xf08bb6(0x132)](this,arguments);};_0x20c7e7[_0xfaf0eb(0x21b)]=_0x3c5835[_0xfaf0eb(0x21b)];}else _0x20c7e7={};return Object[_0xfaf0eb(0x231)](_0x20c7e7,'__esModule',{'value':!0x0}),Object[_0xfaf0eb(0x1e9)](_0x337bbf)[_0xfaf0eb(0x1ba)](function(_0x59b744){var _0xc04541=Object['getOwnPropertyDescriptor'](_0x337bbf,_0x59b744);Object['defineProperty'](_0x20c7e7,_0x59b744,_0xc04541['get']?_0xc04541:{'enumerable':!0x0,'get':function(){return _0x337bbf[_0x59b744];}});}),_0x20c7e7;}var te={'exports':{}},ge,Ye;function V(){const _0x17d8d8=_0x4511;if(Ye)return ge;Ye=0x1;const _0x24900a=['nodebuffer',_0x17d8d8(0xa2),_0x17d8d8(0x1e1)],_0x30c295=typeof Blob<'u';return _0x30c295&&_0x24900a['push']('blob'),ge={'BINARY_TYPES':_0x24900a,'EMPTY_BUFFER':Buffer[_0x17d8d8(0x208)](0x0),'GUID':_0x17d8d8(0xfc),'hasBlob':_0x30c295,'kForOnEventAttribute':Symbol(_0x17d8d8(0xb8)),'kListener':Symbol(_0x17d8d8(0xd8)),'kStatusCode':Symbol(_0x17d8d8(0x18d)),'kWebSocket':Symbol(_0x17d8d8(0x22b)),'NOOP':()=>{}},ge;}const Wt={},Gt=Object[_0x585172(0x195)](Object[_0x585172(0x231)]({'__proto__':null,'default':Wt},Symbol[_0x585172(0xf8)],{'value':_0x585172(0x101)})),Vt=ut(Gt);var Ke;function ce(){const _0x1b08af=_0x585172;if(Ke)return te['exports'];Ke=0x1;const {EMPTY_BUFFER:_0x1442c3}=V(),_0x59ab10=Buffer[Symbol[_0x1b08af(0xe8)]];function _0x2dcb5b(_0x5d13f7,_0x297614){const _0x4f58ef=_0x1b08af;if(_0x5d13f7[_0x4f58ef(0x183)]===0x0)return _0x1442c3;if(_0x5d13f7[_0x4f58ef(0x183)]===0x1)return _0x5d13f7[0x0];const _0xa8e573=Buffer[_0x4f58ef(0x1bb)](_0x297614);let _0x4b6e6e=0x0;for(let _0x585619=0x0;_0x585619<_0x5d13f7['length'];_0x585619++){const _0x5f1d59=_0x5d13f7[_0x585619];_0xa8e573[_0x4f58ef(0x1fe)](_0x5f1d59,_0x4b6e6e),_0x4b6e6e+=_0x5f1d59['length'];}return _0x4b6e6e<_0x297614?new _0x59ab10(_0xa8e573['buffer'],_0xa8e573[_0x4f58ef(0x1d3)],_0x4b6e6e):_0xa8e573;}function _0xdc0433(_0x53ea65,_0x349ce1,_0x4a83bb,_0x46980d,_0x48ff9f){for(let _0x236103=0x0;_0x236103<_0x48ff9f;_0x236103++)_0x4a83bb[_0x46980d+_0x236103]=_0x53ea65[_0x236103]^_0x349ce1[_0x236103&0x3];}function _0x496248(_0x3bb88b,_0x12de40){const _0x2cb50d=_0x1b08af;for(let _0x299a0a=0x0;_0x299a0a<_0x3bb88b[_0x2cb50d(0x183)];_0x299a0a++)_0x3bb88b[_0x299a0a]^=_0x12de40[_0x299a0a&0x3];}function _0x1d3e7e(_0x3dd3bd){const _0x5316ae=_0x1b08af;return _0x3dd3bd[_0x5316ae(0x183)]===_0x3dd3bd['buffer'][_0x5316ae(0x196)]?_0x3dd3bd[_0x5316ae(0x139)]:_0x3dd3bd[_0x5316ae(0x139)][_0x5316ae(0x203)](_0x3dd3bd[_0x5316ae(0x1d3)],_0x3dd3bd[_0x5316ae(0x1d3)]+_0x3dd3bd[_0x5316ae(0x183)]);}function _0x2bfebe(_0x3034a4){const _0x44e5bc=_0x1b08af;if(_0x2bfebe[_0x44e5bc(0x233)]=!0x0,Buffer['isBuffer'](_0x3034a4))return _0x3034a4;let _0x2ad1c1;return _0x3034a4 instanceof ArrayBuffer?_0x2ad1c1=new _0x59ab10(_0x3034a4):ArrayBuffer[_0x44e5bc(0x1c1)](_0x3034a4)?_0x2ad1c1=new _0x59ab10(_0x3034a4['buffer'],_0x3034a4['byteOffset'],_0x3034a4[_0x44e5bc(0x196)]):(_0x2ad1c1=Buffer[_0x44e5bc(0x18c)](_0x3034a4),_0x2bfebe[_0x44e5bc(0x233)]=!0x1),_0x2ad1c1;}if(te['exports']={'concat':_0x2dcb5b,'mask':_0xdc0433,'toArrayBuffer':_0x1d3e7e,'toBuffer':_0x2bfebe,'unmask':_0x496248},!process[_0x1b08af(0x226)][_0x1b08af(0xc5)])try{const _0x4b6d3c=Vt;te[_0x1b08af(0x214)][_0x1b08af(0xf4)]=function(_0x1c4bb7,_0x4dab1a,_0x4d46ad,_0x19e341,_0x3f8910){const _0x1f92d7=_0x1b08af;_0x3f8910<0x30?_0xdc0433(_0x1c4bb7,_0x4dab1a,_0x4d46ad,_0x19e341,_0x3f8910):_0x4b6d3c[_0x1f92d7(0xf4)](_0x1c4bb7,_0x4dab1a,_0x4d46ad,_0x19e341,_0x3f8910);},te[_0x1b08af(0x214)][_0x1b08af(0x126)]=function(_0xd408e5,_0x582128){const _0x4378ce=_0x1b08af;_0xd408e5[_0x4378ce(0x183)]<0x20?_0x496248(_0xd408e5,_0x582128):_0x4b6d3c[_0x4378ce(0x126)](_0xd408e5,_0x582128);};}catch{}return te[_0x1b08af(0x214)];}var ye,Xe;function qt(){const _0x5988d7=_0x585172;if(Xe)return ye;Xe=0x1;const _0x5cc2b8=Symbol('kDone'),_0x38a98b=Symbol(_0x5988d7(0x92));class _0x4a863f{constructor(_0x2ea3be){const _0x23181d=_0x5988d7;this[_0x5cc2b8]=()=>{const _0x2eddae=_0x4511;this[_0x2eddae(0x109)]--,this[_0x38a98b]();},this['concurrency']=_0x2ea3be||0x1/0x0,this[_0x23181d(0x1c8)]=[],this['pending']=0x0;}['add'](_0x143c8d){this['jobs']['push'](_0x143c8d),this[_0x38a98b]();}[_0x38a98b](){const _0x56258f=_0x5988d7;if(this[_0x56258f(0x109)]!==this[_0x56258f(0xf6)]&&this['jobs']['length']){const _0x31de31=this[_0x56258f(0x1c8)][_0x56258f(0x184)]();this['pending']++,_0x31de31(this[_0x5cc2b8]);}}}return ye=_0x4a863f,ye;}var ve,Ze;function he(){const _0x5b6153=_0x585172;if(Ze)return ve;Ze=0x1;const _0x2fce32=_0x1ce7d0,_0x2f8685=ce(),_0x75b431=qt(),{kStatusCode:_0x23ab33}=V(),_0x289798=Buffer[Symbol[_0x5b6153(0xe8)]],_0x52fa9c=Buffer[_0x5b6153(0x18c)]([0x0,0x0,0xff,0xff]),_0x436420=Symbol('permessage-deflate'),_0x78dea5=Symbol(_0x5b6153(0x14a)),_0x5e4ff9=Symbol(_0x5b6153(0x12d)),_0x48258c=Symbol('buffers'),_0x3d785b=Symbol('error');let _0x49c62d;class _0x2878a9{constructor(_0x4648a2,_0xc75c1,_0x1e70a6){const _0x51095f=_0x5b6153;if(this[_0x51095f(0x1eb)]=_0x1e70a6|0x0,this['_options']=_0x4648a2||{},this[_0x51095f(0x158)]=this['_options'][_0x51095f(0x1d1)]!==void 0x0?this['_options'][_0x51095f(0x1d1)]:0x400,this[_0x51095f(0xa3)]=!!_0xc75c1,this[_0x51095f(0x20e)]=null,this[_0x51095f(0xa7)]=null,this['params']=null,!_0x49c62d){const _0x3d7f37=this['_options']['concurrencyLimit']!==void 0x0?this[_0x51095f(0xb9)][_0x51095f(0xd9)]:0xa;_0x49c62d=new _0x75b431(_0x3d7f37);}}static get['extensionName'](){const _0xb7843a=_0x5b6153;return _0xb7843a(0xef);}[_0x5b6153(0x217)](){const _0x154ad9=_0x5b6153,_0x180bd2={};return this[_0x154ad9(0xb9)][_0x154ad9(0x8e)]&&(_0x180bd2[_0x154ad9(0xbc)]=!0x0),this[_0x154ad9(0xb9)][_0x154ad9(0x174)]&&(_0x180bd2[_0x154ad9(0x14e)]=!0x0),this[_0x154ad9(0xb9)]['serverMaxWindowBits']&&(_0x180bd2['server_max_window_bits']=this[_0x154ad9(0xb9)][_0x154ad9(0x1ec)]),this['_options'][_0x154ad9(0x1fd)]?_0x180bd2[_0x154ad9(0x1ca)]=this['_options'][_0x154ad9(0x1fd)]:this['_options'][_0x154ad9(0x1fd)]==null&&(_0x180bd2['client_max_window_bits']=!0x0),_0x180bd2;}[_0x5b6153(0x10f)](_0x143fc4){const _0x2a66cb=_0x5b6153;return _0x143fc4=this[_0x2a66cb(0x17d)](_0x143fc4),this['params']=this['_isServer']?this['acceptAsServer'](_0x143fc4):this[_0x2a66cb(0xc0)](_0x143fc4),this['params'];}['cleanup'](){const _0x395198=_0x5b6153;if(this['_inflate']&&(this['_inflate']['close'](),this[_0x395198(0xa7)]=null),this[_0x395198(0x20e)]){const _0x5a53d2=this[_0x395198(0x20e)][_0x5e4ff9];this[_0x395198(0x20e)][_0x395198(0xce)](),this[_0x395198(0x20e)]=null,_0x5a53d2&&_0x5a53d2(new Error(_0x395198(0xd7)));}}[_0x5b6153(0x21c)](_0x2ddc31){const _0x16c3f2=_0x5b6153,_0x1bf3af=this[_0x16c3f2(0xb9)],_0x408334=_0x2ddc31[_0x16c3f2(0x1a1)](_0x33f744=>!(_0x1bf3af[_0x16c3f2(0x8e)]===!0x1&&_0x33f744['server_no_context_takeover']||_0x33f744[_0x16c3f2(0x13a)]&&(_0x1bf3af['serverMaxWindowBits']===!0x1||typeof _0x1bf3af[_0x16c3f2(0x1ec)]==_0x16c3f2(0xbd)&&_0x1bf3af[_0x16c3f2(0x1ec)]>_0x33f744[_0x16c3f2(0x13a)])||typeof _0x1bf3af['clientMaxWindowBits']==_0x16c3f2(0xbd)&&!_0x33f744['client_max_window_bits']));if(!_0x408334)throw new Error(_0x16c3f2(0x1ad));return _0x1bf3af[_0x16c3f2(0x8e)]&&(_0x408334[_0x16c3f2(0xbc)]=!0x0),_0x1bf3af[_0x16c3f2(0x174)]&&(_0x408334[_0x16c3f2(0x14e)]=!0x0),typeof _0x1bf3af[_0x16c3f2(0x1ec)]==_0x16c3f2(0xbd)&&(_0x408334[_0x16c3f2(0x13a)]=_0x1bf3af[_0x16c3f2(0x1ec)]),typeof _0x1bf3af[_0x16c3f2(0x1fd)]==_0x16c3f2(0xbd)?_0x408334['client_max_window_bits']=_0x1bf3af[_0x16c3f2(0x1fd)]:(_0x408334[_0x16c3f2(0x1ca)]===!0x0||_0x1bf3af[_0x16c3f2(0x1fd)]===!0x1)&&delete _0x408334['client_max_window_bits'],_0x408334;}[_0x5b6153(0xc0)](_0x247794){const _0x1fb3ed=_0x5b6153,_0x572e13=_0x247794[0x0];if(this[_0x1fb3ed(0xb9)]['clientNoContextTakeover']===!0x1&&_0x572e13[_0x1fb3ed(0x14e)])throw new Error(_0x1fb3ed(0xec));if(!_0x572e13[_0x1fb3ed(0x1ca)])typeof this[_0x1fb3ed(0xb9)][_0x1fb3ed(0x1fd)]==_0x1fb3ed(0xbd)&&(_0x572e13[_0x1fb3ed(0x1ca)]=this[_0x1fb3ed(0xb9)][_0x1fb3ed(0x1fd)]);else{if(this['_options'][_0x1fb3ed(0x1fd)]===!0x1||typeof this[_0x1fb3ed(0xb9)][_0x1fb3ed(0x1fd)]==_0x1fb3ed(0xbd)&&_0x572e13[_0x1fb3ed(0x1ca)]>this[_0x1fb3ed(0xb9)][_0x1fb3ed(0x1fd)])throw new Error(_0x1fb3ed(0x1c9));}return _0x572e13;}['normalizeParams'](_0x33195a){return _0x33195a['forEach'](_0x4368fa=>{const _0x4fd1af=_0x4511;Object['keys'](_0x4368fa)[_0x4fd1af(0x1ba)](_0x3fb3d7=>{const _0x34b261=_0x4fd1af;let _0x5381f7=_0x4368fa[_0x3fb3d7];if(_0x5381f7[_0x34b261(0x183)]>0x1)throw new Error(_0x34b261(0x11d)+_0x3fb3d7+_0x34b261(0x220));if(_0x5381f7=_0x5381f7[0x0],_0x3fb3d7===_0x34b261(0x1ca)){if(_0x5381f7!==!0x0){const _0xc9fa9c=+_0x5381f7;if(!Number['isInteger'](_0xc9fa9c)||_0xc9fa9c<0x8||_0xc9fa9c>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x3fb3d7+_0x34b261(0x1e3)+_0x5381f7);_0x5381f7=_0xc9fa9c;}else{if(!this[_0x34b261(0xa3)])throw new TypeError(_0x34b261(0x1b7)+_0x3fb3d7+_0x34b261(0x1e3)+_0x5381f7);}}else{if(_0x3fb3d7===_0x34b261(0x13a)){const _0x319132=+_0x5381f7;if(!Number[_0x34b261(0x188)](_0x319132)||_0x319132<0x8||_0x319132>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x3fb3d7+_0x34b261(0x1e3)+_0x5381f7);_0x5381f7=_0x319132;}else{if(_0x3fb3d7===_0x34b261(0x14e)||_0x3fb3d7===_0x34b261(0xbc)){if(_0x5381f7!==!0x0)throw new TypeError(_0x34b261(0x1b7)+_0x3fb3d7+_0x34b261(0x1e3)+_0x5381f7);}else throw new Error(_0x34b261(0x19e)+_0x3fb3d7+'\x22');}}_0x4368fa[_0x3fb3d7]=_0x5381f7;});}),_0x33195a;}[_0x5b6153(0x124)](_0x388739,_0x4a275f,_0x20b36b){const _0x4825e5=_0x5b6153;_0x49c62d[_0x4825e5(0x235)](_0x5a4e63=>{const _0x106c77=_0x4825e5;this[_0x106c77(0x154)](_0x388739,_0x4a275f,(_0x308a1c,_0x4980b0)=>{_0x5a4e63(),_0x20b36b(_0x308a1c,_0x4980b0);});});}[_0x5b6153(0x202)](_0x3303ff,_0x14be9e,_0x30115b){const _0x399159=_0x5b6153;_0x49c62d[_0x399159(0x235)](_0x42d6da=>{const _0xc2684c=_0x399159;this[_0xc2684c(0x1f5)](_0x3303ff,_0x14be9e,(_0x1f6886,_0x5b7716)=>{_0x42d6da(),_0x30115b(_0x1f6886,_0x5b7716);});});}['_decompress'](_0x5f87f3,_0x1dccdf,_0x28b504){const _0x1a78ef=_0x5b6153,_0x38980b=this['_isServer']?_0x1a78ef(0x112):'server';if(!this[_0x1a78ef(0xa7)]){const _0x4d3e3e=_0x38980b+_0x1a78ef(0x149),_0x1a485c=typeof this[_0x1a78ef(0xa9)][_0x4d3e3e]!=_0x1a78ef(0xbd)?_0x2fce32[_0x1a78ef(0x1d4)]:this[_0x1a78ef(0xa9)][_0x4d3e3e];this[_0x1a78ef(0xa7)]=_0x2fce32[_0x1a78ef(0x1c5)]({...this[_0x1a78ef(0xb9)]['zlibInflateOptions'],'windowBits':_0x1a485c}),this[_0x1a78ef(0xa7)][_0x436420]=this,this[_0x1a78ef(0xa7)][_0x78dea5]=0x0,this[_0x1a78ef(0xa7)][_0x48258c]=[],this[_0x1a78ef(0xa7)]['on'](_0x1a78ef(0x148),_0x42baa8),this[_0x1a78ef(0xa7)]['on']('data',_0x37f6bf);}this[_0x1a78ef(0xa7)][_0x5e4ff9]=_0x28b504,this[_0x1a78ef(0xa7)]['write'](_0x5f87f3),_0x1dccdf&&this[_0x1a78ef(0xa7)]['write'](_0x52fa9c),this[_0x1a78ef(0xa7)][_0x1a78ef(0x201)](()=>{const _0x54e121=_0x1a78ef,_0x3fb019=this['_inflate'][_0x3d785b];if(_0x3fb019){this[_0x54e121(0xa7)][_0x54e121(0xce)](),this[_0x54e121(0xa7)]=null,_0x28b504(_0x3fb019);return;}const _0x31d3d7=_0x2f8685[_0x54e121(0x16a)](this[_0x54e121(0xa7)][_0x48258c],this[_0x54e121(0xa7)][_0x78dea5]);this['_inflate'][_0x54e121(0x11c)][_0x54e121(0xab)]?(this[_0x54e121(0xa7)][_0x54e121(0xce)](),this[_0x54e121(0xa7)]=null):(this[_0x54e121(0xa7)][_0x78dea5]=0x0,this['_inflate'][_0x48258c]=[],_0x1dccdf&&this[_0x54e121(0xa9)][_0x38980b+_0x54e121(0x142)]&&this['_inflate']['reset']()),_0x28b504(null,_0x31d3d7);});}['_compress'](_0x146c54,_0x1bee2a,_0x25dc64){const _0x332db2=_0x5b6153,_0x52ca8c=this[_0x332db2(0xa3)]?_0x332db2(0x22c):'client';if(!this[_0x332db2(0x20e)]){const _0x129b3e=_0x52ca8c+_0x332db2(0x149),_0x483998=typeof this[_0x332db2(0xa9)][_0x129b3e]!=_0x332db2(0xbd)?_0x2fce32[_0x332db2(0x1d4)]:this[_0x332db2(0xa9)][_0x129b3e];this[_0x332db2(0x20e)]=_0x2fce32[_0x332db2(0x1b5)]({...this[_0x332db2(0xb9)][_0x332db2(0x1a8)],'windowBits':_0x483998}),this[_0x332db2(0x20e)][_0x78dea5]=0x0,this['_deflate'][_0x48258c]=[],this[_0x332db2(0x20e)]['on'](_0x332db2(0xe3),_0x14353f);}this[_0x332db2(0x20e)][_0x5e4ff9]=_0x25dc64,this[_0x332db2(0x20e)][_0x332db2(0x97)](_0x146c54),this['_deflate'][_0x332db2(0x201)](_0x2fce32[_0x332db2(0x222)],()=>{const _0x561965=_0x332db2;if(!this[_0x561965(0x20e)])return;let _0x49f1fb=_0x2f8685[_0x561965(0x16a)](this[_0x561965(0x20e)][_0x48258c],this[_0x561965(0x20e)][_0x78dea5]);_0x1bee2a&&(_0x49f1fb=new _0x289798(_0x49f1fb[_0x561965(0x139)],_0x49f1fb[_0x561965(0x1d3)],_0x49f1fb[_0x561965(0x183)]-0x4)),this[_0x561965(0x20e)][_0x5e4ff9]=null,this['_deflate'][_0x78dea5]=0x0,this[_0x561965(0x20e)][_0x48258c]=[],_0x1bee2a&&this['params'][_0x52ca8c+_0x561965(0x142)]&&this[_0x561965(0x20e)][_0x561965(0xfb)](),_0x25dc64(null,_0x49f1fb);});}}ve=_0x2878a9;function _0x14353f(_0x3fea29){const _0x68ff12=_0x5b6153;this[_0x48258c][_0x68ff12(0x1b1)](_0x3fea29),this[_0x78dea5]+=_0x3fea29[_0x68ff12(0x183)];}function _0x37f6bf(_0x2763dd){const _0x2f4f3e=_0x5b6153;if(this[_0x78dea5]+=_0x2763dd[_0x2f4f3e(0x183)],this[_0x436420][_0x2f4f3e(0x1eb)]<0x1||this[_0x78dea5]<=this[_0x436420][_0x2f4f3e(0x1eb)]){this[_0x48258c][_0x2f4f3e(0x1b1)](_0x2763dd);return;}this[_0x3d785b]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x3d785b][_0x2f4f3e(0x99)]=_0x2f4f3e(0x1be),this[_0x3d785b][_0x23ab33]=0x3f1,this['removeListener'](_0x2f4f3e(0xe3),_0x37f6bf),this[_0x2f4f3e(0xfb)]();}function _0x42baa8(_0x2743fa){this[_0x436420]['_inflate']=null,_0x2743fa[_0x23ab33]=0x3ef,this[_0x5e4ff9](_0x2743fa);}return ve;}var re={'exports':{}};const Ht={},zt=Object[_0x585172(0x195)](Object[_0x585172(0x231)]({'__proto__':null,'default':Ht},Symbol['toStringTag'],{'value':_0x585172(0x101)})),Yt=ut(zt);var Qe;function ne(){const _0x3f9b28=_0x585172;if(Qe)return re[_0x3f9b28(0x214)];Qe=0x1;const {isUtf8:_0x5c0eae}=_0x21ac4c,{hasBlob:_0x5be979}=V(),_0xab08c4=[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 _0x50cbc3(_0x6bb45f){return _0x6bb45f>=0x3e8&&_0x6bb45f<=0x3f6&&_0x6bb45f!==0x3ec&&_0x6bb45f!==0x3ed&&_0x6bb45f!==0x3ee||_0x6bb45f>=0xbb8&&_0x6bb45f<=0x1387;}function _0x55e013(_0x3dd697){const _0x12deda=_0x3f9b28,_0x113a89=_0x3dd697[_0x12deda(0x183)];let _0x6888cc=0x0;for(;_0x6888cc<_0x113a89;)if((_0x3dd697[_0x6888cc]&0x80)===0x0)_0x6888cc++;else{if((_0x3dd697[_0x6888cc]&0xe0)===0xc0){if(_0x6888cc+0x1===_0x113a89||(_0x3dd697[_0x6888cc+0x1]&0xc0)!==0x80||(_0x3dd697[_0x6888cc]&0xfe)===0xc0)return!0x1;_0x6888cc+=0x2;}else{if((_0x3dd697[_0x6888cc]&0xf0)===0xe0){if(_0x6888cc+0x2>=_0x113a89||(_0x3dd697[_0x6888cc+0x1]&0xc0)!==0x80||(_0x3dd697[_0x6888cc+0x2]&0xc0)!==0x80||_0x3dd697[_0x6888cc]===0xe0&&(_0x3dd697[_0x6888cc+0x1]&0xe0)===0x80||_0x3dd697[_0x6888cc]===0xed&&(_0x3dd697[_0x6888cc+0x1]&0xe0)===0xa0)return!0x1;_0x6888cc+=0x3;}else{if((_0x3dd697[_0x6888cc]&0xf8)===0xf0){if(_0x6888cc+0x3>=_0x113a89||(_0x3dd697[_0x6888cc+0x1]&0xc0)!==0x80||(_0x3dd697[_0x6888cc+0x2]&0xc0)!==0x80||(_0x3dd697[_0x6888cc+0x3]&0xc0)!==0x80||_0x3dd697[_0x6888cc]===0xf0&&(_0x3dd697[_0x6888cc+0x1]&0xf0)===0x80||_0x3dd697[_0x6888cc]===0xf4&&_0x3dd697[_0x6888cc+0x1]>0x8f||_0x3dd697[_0x6888cc]>0xf4)return!0x1;_0x6888cc+=0x4;}else return!0x1;}}}return!0x0;}function _0x10757d(_0x52e27e){const _0x2b016f=_0x3f9b28;return _0x5be979&&typeof _0x52e27e==_0x2b016f(0x125)&&typeof _0x52e27e[_0x2b016f(0x244)]==_0x2b016f(0x1ce)&&typeof _0x52e27e[_0x2b016f(0x13e)]==_0x2b016f(0x1b6)&&typeof _0x52e27e[_0x2b016f(0x11e)]==_0x2b016f(0x1ce)&&(_0x52e27e[Symbol[_0x2b016f(0xf8)]]===_0x2b016f(0x20d)||_0x52e27e[Symbol['toStringTag']]===_0x2b016f(0x9b));}if(re[_0x3f9b28(0x214)]={'isBlob':_0x10757d,'isValidStatusCode':_0x50cbc3,'isValidUTF8':_0x55e013,'tokenChars':_0xab08c4},_0x5c0eae)re[_0x3f9b28(0x214)]['isValidUTF8']=function(_0x426d87){return _0x426d87['length']<0x18?_0x55e013(_0x426d87):_0x5c0eae(_0x426d87);};else{if(!process[_0x3f9b28(0x226)][_0x3f9b28(0x1fb)])try{const _0x593cad=Yt;re[_0x3f9b28(0x214)]['isValidUTF8']=function(_0x2b856a){const _0x460322=_0x3f9b28;return _0x2b856a[_0x460322(0x183)]<0x20?_0x55e013(_0x2b856a):_0x593cad(_0x2b856a);};}catch{}}return re[_0x3f9b28(0x214)];}var Se,Je;function dt(){const _0xc3c3e3=_0x585172;if(Je)return Se;Je=0x1;const {Writable:_0x1cb83b}=_0x3f6333,_0x23509c=he(),{BINARY_TYPES:_0x56df51,EMPTY_BUFFER:_0x2c9b0e,kStatusCode:_0x236780,kWebSocket:_0x5a69b8}=V(),{concat:_0x3dfbe6,toArrayBuffer:_0x592996,unmask:_0x2a58e4}=ce(),{isValidStatusCode:_0x2f51c2,isValidUTF8:_0x52f2eb}=ne(),_0x2acf02=Buffer[Symbol['species']],_0x553085=0x0,_0x36fa85=0x1,_0x1bf0f1=0x2,_0x104a22=0x3,_0x472a48=0x4,_0x415eea=0x5,_0x2cc19a=0x6;class _0x3b982b extends _0x1cb83b{constructor(_0x279600={}){const _0x3d593f=_0x4511;super(),this['_allowSynchronousEvents']=_0x279600['allowSynchronousEvents']!==void 0x0?_0x279600['allowSynchronousEvents']:!0x0,this[_0x3d593f(0x23e)]=_0x279600[_0x3d593f(0xe5)]||_0x56df51[0x0],this[_0x3d593f(0x165)]=_0x279600['extensions']||{},this[_0x3d593f(0xa3)]=!!_0x279600[_0x3d593f(0xa6)],this[_0x3d593f(0x1eb)]=_0x279600['maxPayload']|0x0,this[_0x3d593f(0x16d)]=!!_0x279600[_0x3d593f(0x1a6)],this[_0x5a69b8]=void 0x0,this[_0x3d593f(0xf0)]=0x0,this['_buffers']=[],this['_compressed']=!0x1,this['_payloadLength']=0x0,this[_0x3d593f(0xfd)]=void 0x0,this[_0x3d593f(0x1f8)]=0x0,this[_0x3d593f(0xc7)]=!0x1,this['_fin']=!0x1,this['_opcode']=0x0,this[_0x3d593f(0xeb)]=0x0,this[_0x3d593f(0x181)]=0x0,this[_0x3d593f(0x14d)]=[],this['_errored']=!0x1,this['_loop']=!0x1,this[_0x3d593f(0x143)]=_0x553085;}['_write'](_0x1f8622,_0x1cc2e1,_0x4e7193){const _0x2d234b=_0x4511;if(this[_0x2d234b(0x1c4)]===0x8&&this[_0x2d234b(0x143)]==_0x553085)return _0x4e7193();this[_0x2d234b(0xf0)]+=_0x1f8622['length'],this[_0x2d234b(0x110)]['push'](_0x1f8622),this[_0x2d234b(0x159)](_0x4e7193);}[_0xc3c3e3(0xb0)](_0x26c386){const _0x2f88ae=_0xc3c3e3;if(this[_0x2f88ae(0xf0)]-=_0x26c386,_0x26c386===this[_0x2f88ae(0x110)][0x0]['length'])return this[_0x2f88ae(0x110)][_0x2f88ae(0x184)]();if(_0x26c386<this['_buffers'][0x0][_0x2f88ae(0x183)]){const _0x3addd1=this[_0x2f88ae(0x110)][0x0];return this[_0x2f88ae(0x110)][0x0]=new _0x2acf02(_0x3addd1[_0x2f88ae(0x139)],_0x3addd1[_0x2f88ae(0x1d3)]+_0x26c386,_0x3addd1['length']-_0x26c386),new _0x2acf02(_0x3addd1[_0x2f88ae(0x139)],_0x3addd1[_0x2f88ae(0x1d3)],_0x26c386);}const _0x5c3b8a=Buffer['allocUnsafe'](_0x26c386);do{const _0x481116=this[_0x2f88ae(0x110)][0x0],_0x573a05=_0x5c3b8a[_0x2f88ae(0x183)]-_0x26c386;_0x26c386>=_0x481116[_0x2f88ae(0x183)]?_0x5c3b8a[_0x2f88ae(0x1fe)](this['_buffers'][_0x2f88ae(0x184)](),_0x573a05):(_0x5c3b8a['set'](new Uint8Array(_0x481116[_0x2f88ae(0x139)],_0x481116[_0x2f88ae(0x1d3)],_0x26c386),_0x573a05),this[_0x2f88ae(0x110)][0x0]=new _0x2acf02(_0x481116[_0x2f88ae(0x139)],_0x481116[_0x2f88ae(0x1d3)]+_0x26c386,_0x481116[_0x2f88ae(0x183)]-_0x26c386)),_0x26c386-=_0x481116[_0x2f88ae(0x183)];}while(_0x26c386>0x0);return _0x5c3b8a;}[_0xc3c3e3(0x159)](_0x55dea4){const _0x1a8947=_0xc3c3e3;this[_0x1a8947(0x1fa)]=!0x0;do switch(this[_0x1a8947(0x143)]){case _0x553085:this['getInfo'](_0x55dea4);break;case _0x36fa85:this[_0x1a8947(0x104)](_0x55dea4);break;case _0x1bf0f1:this[_0x1a8947(0x1ef)](_0x55dea4);break;case _0x104a22:this[_0x1a8947(0x199)]();break;case _0x472a48:this[_0x1a8947(0x211)](_0x55dea4);break;case _0x415eea:case _0x2cc19a:this['_loop']=!0x1;return;}while(this[_0x1a8947(0x1fa)]);this[_0x1a8947(0x19b)]||_0x55dea4();}['getInfo'](_0x418283){const _0x6c8b2f=_0xc3c3e3;if(this['_bufferedBytes']<0x2){this['_loop']=!0x1;return;}const _0xf94416=this['consume'](0x2);if((_0xf94416[0x0]&0x30)!==0x0){const _0x1e62d8=this[_0x6c8b2f(0x207)](RangeError,_0x6c8b2f(0x239),!0x0,0x3ea,_0x6c8b2f(0xa0));_0x418283(_0x1e62d8);return;}const _0x1ef329=(_0xf94416[0x0]&0x40)===0x40;if(_0x1ef329&&!this['_extensions'][_0x23509c[_0x6c8b2f(0xac)]]){const _0x221b13=this[_0x6c8b2f(0x207)](RangeError,_0x6c8b2f(0x215),!0x0,0x3ea,_0x6c8b2f(0xff));_0x418283(_0x221b13);return;}if(this[_0x6c8b2f(0x120)]=(_0xf94416[0x0]&0x80)===0x80,this[_0x6c8b2f(0x1c4)]=_0xf94416[0x0]&0xf,this['_payloadLength']=_0xf94416[0x1]&0x7f,this[_0x6c8b2f(0x1c4)]===0x0){if(_0x1ef329){const _0x1013f3=this[_0x6c8b2f(0x207)](RangeError,_0x6c8b2f(0x215),!0x0,0x3ea,_0x6c8b2f(0xff));_0x418283(_0x1013f3);return;}if(!this['_fragmented']){const _0x45f06f=this[_0x6c8b2f(0x207)](RangeError,_0x6c8b2f(0x1f2),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x418283(_0x45f06f);return;}this[_0x6c8b2f(0x1c4)]=this[_0x6c8b2f(0x1f8)];}else{if(this[_0x6c8b2f(0x1c4)]===0x1||this[_0x6c8b2f(0x1c4)]===0x2){if(this[_0x6c8b2f(0x1f8)]){const _0x480f9a=this[_0x6c8b2f(0x207)](RangeError,'invalid\x20opcode\x20'+this[_0x6c8b2f(0x1c4)],!0x0,0x3ea,_0x6c8b2f(0x167));_0x418283(_0x480f9a);return;}this['_compressed']=_0x1ef329;}else{if(this[_0x6c8b2f(0x1c4)]>0x7&&this[_0x6c8b2f(0x1c4)]<0xb){if(!this['_fin']){const _0x50af83=this[_0x6c8b2f(0x207)](RangeError,_0x6c8b2f(0x107),!0x0,0x3ea,_0x6c8b2f(0x10e));_0x418283(_0x50af83);return;}if(_0x1ef329){const _0x72ecb0=this['createError'](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x418283(_0x72ecb0);return;}if(this['_payloadLength']>0x7d||this[_0x6c8b2f(0x1c4)]===0x8&&this['_payloadLength']===0x1){const _0x103e1d=this[_0x6c8b2f(0x207)](RangeError,_0x6c8b2f(0x1f9)+this[_0x6c8b2f(0x23f)],!0x0,0x3ea,_0x6c8b2f(0x1cc));_0x418283(_0x103e1d);return;}}else{const _0x39b699=this['createError'](RangeError,'invalid\x20opcode\x20'+this[_0x6c8b2f(0x1c4)],!0x0,0x3ea,_0x6c8b2f(0x167));_0x418283(_0x39b699);return;}}}if(!this[_0x6c8b2f(0x120)]&&!this[_0x6c8b2f(0x1f8)]&&(this[_0x6c8b2f(0x1f8)]=this['_opcode']),this[_0x6c8b2f(0xc7)]=(_0xf94416[0x1]&0x80)===0x80,this[_0x6c8b2f(0xa3)]){if(!this[_0x6c8b2f(0xc7)]){const _0x2c73c9=this['createError'](RangeError,'MASK\x20must\x20be\x20set',!0x0,0x3ea,_0x6c8b2f(0x210));_0x418283(_0x2c73c9);return;}}else{if(this[_0x6c8b2f(0xc7)]){const _0x53ff1a=this[_0x6c8b2f(0x207)](RangeError,'MASK\x20must\x20be\x20clear',!0x0,0x3ea,_0x6c8b2f(0x166));_0x418283(_0x53ff1a);return;}}this[_0x6c8b2f(0x23f)]===0x7e?this[_0x6c8b2f(0x143)]=_0x36fa85:this[_0x6c8b2f(0x23f)]===0x7f?this['_state']=_0x1bf0f1:this[_0x6c8b2f(0xda)](_0x418283);}[_0xc3c3e3(0x104)](_0x3709ae){const _0x1582d2=_0xc3c3e3;if(this[_0x1582d2(0xf0)]<0x2){this['_loop']=!0x1;return;}this['_payloadLength']=this[_0x1582d2(0xb0)](0x2)[_0x1582d2(0xae)](0x0),this[_0x1582d2(0xda)](_0x3709ae);}[_0xc3c3e3(0x1ef)](_0x7a8aa7){const _0xb5c65a=_0xc3c3e3;if(this[_0xb5c65a(0xf0)]<0x8){this['_loop']=!0x1;return;}const _0x2abe7c=this[_0xb5c65a(0xb0)](0x8),_0x12bafe=_0x2abe7c[_0xb5c65a(0x116)](0x0);if(_0x12bafe>Math[_0xb5c65a(0x223)](0x2,0x15)-0x1){const _0x1c4375=this[_0xb5c65a(0x207)](RangeError,'Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201',!0x1,0x3f1,'WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH');_0x7a8aa7(_0x1c4375);return;}this[_0xb5c65a(0x23f)]=_0x12bafe*Math[_0xb5c65a(0x223)](0x2,0x20)+_0x2abe7c['readUInt32BE'](0x4),this[_0xb5c65a(0xda)](_0x7a8aa7);}[_0xc3c3e3(0xda)](_0xa79e4){const _0x408174=_0xc3c3e3;if(this[_0x408174(0x23f)]&&this['_opcode']<0x8&&(this[_0x408174(0xeb)]+=this[_0x408174(0x23f)],this[_0x408174(0xeb)]>this[_0x408174(0x1eb)]&&this[_0x408174(0x1eb)]>0x0)){const _0x8dcc1e=this[_0x408174(0x207)](RangeError,_0x408174(0x13c),!0x1,0x3f1,_0x408174(0x1be));_0xa79e4(_0x8dcc1e);return;}this[_0x408174(0xc7)]?this[_0x408174(0x143)]=_0x104a22:this[_0x408174(0x143)]=_0x472a48;}[_0xc3c3e3(0x199)](){const _0x5e6a76=_0xc3c3e3;if(this[_0x5e6a76(0xf0)]<0x4){this[_0x5e6a76(0x1fa)]=!0x1;return;}this[_0x5e6a76(0xfd)]=this[_0x5e6a76(0xb0)](0x4),this[_0x5e6a76(0x143)]=_0x472a48;}[_0xc3c3e3(0x211)](_0x1a12cd){const _0xe317ed=_0xc3c3e3;let _0x577af4=_0x2c9b0e;if(this[_0xe317ed(0x23f)]){if(this[_0xe317ed(0xf0)]<this[_0xe317ed(0x23f)]){this[_0xe317ed(0x1fa)]=!0x1;return;}_0x577af4=this[_0xe317ed(0xb0)](this['_payloadLength']),this[_0xe317ed(0xc7)]&&(this[_0xe317ed(0xfd)][0x0]|this[_0xe317ed(0xfd)][0x1]|this[_0xe317ed(0xfd)][0x2]|this['_mask'][0x3])!==0x0&&_0x2a58e4(_0x577af4,this[_0xe317ed(0xfd)]);}if(this[_0xe317ed(0x1c4)]>0x7){this[_0xe317ed(0x23a)](_0x577af4,_0x1a12cd);return;}if(this[_0xe317ed(0x13f)]){this['_state']=_0x415eea,this[_0xe317ed(0x124)](_0x577af4,_0x1a12cd);return;}_0x577af4[_0xe317ed(0x183)]&&(this['_messageLength']=this[_0xe317ed(0xeb)],this['_fragments'][_0xe317ed(0x1b1)](_0x577af4)),this[_0xe317ed(0x1fc)](_0x1a12cd);}[_0xc3c3e3(0x124)](_0x2a2b27,_0x3dff0d){const _0xd93049=_0xc3c3e3;this[_0xd93049(0x165)][_0x23509c[_0xd93049(0xac)]][_0xd93049(0x124)](_0x2a2b27,this[_0xd93049(0x120)],(_0x4907a6,_0xdd8395)=>{const _0x43b62f=_0xd93049;if(_0x4907a6)return _0x3dff0d(_0x4907a6);if(_0xdd8395[_0x43b62f(0x183)]){if(this[_0x43b62f(0x181)]+=_0xdd8395[_0x43b62f(0x183)],this[_0x43b62f(0x181)]>this['_maxPayload']&&this['_maxPayload']>0x0){const _0x65f65=this[_0x43b62f(0x207)](RangeError,'Max\x20payload\x20size\x20exceeded',!0x1,0x3f1,_0x43b62f(0x1be));_0x3dff0d(_0x65f65);return;}this[_0x43b62f(0x14d)][_0x43b62f(0x1b1)](_0xdd8395);}this[_0x43b62f(0x1fc)](_0x3dff0d),this[_0x43b62f(0x143)]===_0x553085&&this[_0x43b62f(0x159)](_0x3dff0d);});}[_0xc3c3e3(0x1fc)](_0x12378b){const _0x1ccf11=_0xc3c3e3;if(!this[_0x1ccf11(0x120)]){this[_0x1ccf11(0x143)]=_0x553085;return;}const _0x215e33=this['_messageLength'],_0x5621c1=this[_0x1ccf11(0x14d)];if(this['_totalPayloadLength']=0x0,this[_0x1ccf11(0x181)]=0x0,this[_0x1ccf11(0x1f8)]=0x0,this['_fragments']=[],this[_0x1ccf11(0x1c4)]===0x2){let _0x19def3;this[_0x1ccf11(0x23e)]==='nodebuffer'?_0x19def3=_0x3dfbe6(_0x5621c1,_0x215e33):this[_0x1ccf11(0x23e)]===_0x1ccf11(0xa2)?_0x19def3=_0x592996(_0x3dfbe6(_0x5621c1,_0x215e33)):this[_0x1ccf11(0x23e)]===_0x1ccf11(0x95)?_0x19def3=new Blob(_0x5621c1):_0x19def3=_0x5621c1,this[_0x1ccf11(0x12a)]?(this[_0x1ccf11(0x163)](_0x1ccf11(0x240),_0x19def3,!0x0),this[_0x1ccf11(0x143)]=_0x553085):(this[_0x1ccf11(0x143)]=_0x2cc19a,setImmediate(()=>{const _0x2e9f12=_0x1ccf11;this[_0x2e9f12(0x163)]('message',_0x19def3,!0x0),this[_0x2e9f12(0x143)]=_0x553085,this['startLoop'](_0x12378b);}));}else{const _0x5cb35e=_0x3dfbe6(_0x5621c1,_0x215e33);if(!this[_0x1ccf11(0x16d)]&&!_0x52f2eb(_0x5cb35e)){const _0x409206=this[_0x1ccf11(0x207)](Error,_0x1ccf11(0x119),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x12378b(_0x409206);return;}this[_0x1ccf11(0x143)]===_0x415eea||this[_0x1ccf11(0x12a)]?(this[_0x1ccf11(0x163)](_0x1ccf11(0x240),_0x5cb35e,!0x1),this[_0x1ccf11(0x143)]=_0x553085):(this['_state']=_0x2cc19a,setImmediate(()=>{const _0x175f18=_0x1ccf11;this['emit'](_0x175f18(0x240),_0x5cb35e,!0x1),this[_0x175f18(0x143)]=_0x553085,this[_0x175f18(0x159)](_0x12378b);}));}}['controlMessage'](_0x185da4,_0x21be2f){const _0x3961cf=_0xc3c3e3;if(this[_0x3961cf(0x1c4)]===0x8){if(_0x185da4['length']===0x0)this['_loop']=!0x1,this[_0x3961cf(0x163)](_0x3961cf(0x177),0x3ed,_0x2c9b0e),this[_0x3961cf(0x1db)]();else{const _0x2278aa=_0x185da4[_0x3961cf(0xae)](0x0);if(!_0x2f51c2(_0x2278aa)){const _0xa1278a=this[_0x3961cf(0x207)](RangeError,'invalid\x20status\x20code\x20'+_0x2278aa,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x21be2f(_0xa1278a);return;}const _0x1b2b38=new _0x2acf02(_0x185da4['buffer'],_0x185da4[_0x3961cf(0x1d3)]+0x2,_0x185da4[_0x3961cf(0x183)]-0x2);if(!this[_0x3961cf(0x16d)]&&!_0x52f2eb(_0x1b2b38)){const _0x56310d=this[_0x3961cf(0x207)](Error,'invalid\x20UTF-8\x20sequence',!0x0,0x3ef,_0x3961cf(0xea));_0x21be2f(_0x56310d);return;}this['_loop']=!0x1,this['emit'](_0x3961cf(0x177),_0x2278aa,_0x1b2b38),this[_0x3961cf(0x1db)]();}this[_0x3961cf(0x143)]=_0x553085;return;}this[_0x3961cf(0x12a)]?(this[_0x3961cf(0x163)](this[_0x3961cf(0x1c4)]===0x9?_0x3961cf(0x1f7):_0x3961cf(0x182),_0x185da4),this[_0x3961cf(0x143)]=_0x553085):(this[_0x3961cf(0x143)]=_0x2cc19a,setImmediate(()=>{const _0x42bff0=_0x3961cf;this[_0x42bff0(0x163)](this['_opcode']===0x9?_0x42bff0(0x1f7):_0x42bff0(0x182),_0x185da4),this[_0x42bff0(0x143)]=_0x553085,this[_0x42bff0(0x159)](_0x21be2f);}));}[_0xc3c3e3(0x207)](_0x28b9c5,_0x46dbe8,_0x2b756d,_0x3e96e6,_0x2d9e6a){const _0x221291=_0xc3c3e3;this[_0x221291(0x1fa)]=!0x1,this[_0x221291(0x19b)]=!0x0;const _0x56e413=new _0x28b9c5(_0x2b756d?_0x221291(0xf9)+_0x46dbe8:_0x46dbe8);return Error[_0x221291(0x134)](_0x56e413,this['createError']),_0x56e413[_0x221291(0x99)]=_0x2d9e6a,_0x56e413[_0x236780]=_0x3e96e6,_0x56e413;}}return Se=_0x3b982b,Se;}var Ee,et;function _t(){const _0xb86d8=_0x585172;if(et)return Ee;et=0x1;const {Duplex:_0x2acb2b}=_0x3f6333,{randomFillSync:_0x4afa58}=_0x461bbd,_0x312f67=he(),{EMPTY_BUFFER:_0x256bf2,kWebSocket:_0x3011e0,NOOP:_0x4578d0}=V(),{isBlob:_0x4d8562,isValidStatusCode:_0x395dc8}=ne(),{mask:_0x58b200,toBuffer:_0x35330}=ce(),_0x4db535=Symbol(_0xb86d8(0x1bf)),_0x2a4a98=Buffer[_0xb86d8(0x208)](0x4),_0xb4dc4a=0x8*0x400;let _0x2f3291,_0x37e6a2=_0xb4dc4a;const _0x215a91=0x0,_0x15c055=0x1,_0x5ebe9b=0x2;class _0x568e49{constructor(_0x1d724e,_0x44c605,_0x286fdd){const _0x30c87a=_0xb86d8;this[_0x30c87a(0x165)]=_0x44c605||{},_0x286fdd&&(this[_0x30c87a(0xdd)]=_0x286fdd,this[_0x30c87a(0xcb)]=Buffer[_0x30c87a(0x208)](0x4)),this['_socket']=_0x1d724e,this['_firstFragment']=!0x0,this[_0x30c87a(0x1f5)]=!0x1,this[_0x30c87a(0xf0)]=0x0,this[_0x30c87a(0x161)]=[],this[_0x30c87a(0x143)]=_0x215a91,this[_0x30c87a(0xbe)]=_0x4578d0,this[_0x3011e0]=void 0x0;}static[_0xb86d8(0x189)](_0x3dcea5,_0x2176ce){const _0x187cd0=_0xb86d8;let _0x4e06e9,_0x544eff=!0x1,_0x23ed39=0x2,_0x3dd330=!0x1;_0x2176ce[_0x187cd0(0xf4)]&&(_0x4e06e9=_0x2176ce[_0x187cd0(0x200)]||_0x2a4a98,_0x2176ce[_0x187cd0(0x1e4)]?_0x2176ce[_0x187cd0(0x1e4)](_0x4e06e9):(_0x37e6a2===_0xb4dc4a&&(_0x2f3291===void 0x0&&(_0x2f3291=Buffer[_0x187cd0(0x208)](_0xb4dc4a)),_0x4afa58(_0x2f3291,0x0,_0xb4dc4a),_0x37e6a2=0x0),_0x4e06e9[0x0]=_0x2f3291[_0x37e6a2++],_0x4e06e9[0x1]=_0x2f3291[_0x37e6a2++],_0x4e06e9[0x2]=_0x2f3291[_0x37e6a2++],_0x4e06e9[0x3]=_0x2f3291[_0x37e6a2++]),_0x3dd330=(_0x4e06e9[0x0]|_0x4e06e9[0x1]|_0x4e06e9[0x2]|_0x4e06e9[0x3])===0x0,_0x23ed39=0x6);let _0x27fa82;typeof _0x3dcea5=='string'?(!_0x2176ce['mask']||_0x3dd330)&&_0x2176ce[_0x4db535]!==void 0x0?_0x27fa82=_0x2176ce[_0x4db535]:(_0x3dcea5=Buffer[_0x187cd0(0x18c)](_0x3dcea5),_0x27fa82=_0x3dcea5[_0x187cd0(0x183)]):(_0x27fa82=_0x3dcea5[_0x187cd0(0x183)],_0x544eff=_0x2176ce[_0x187cd0(0xf4)]&&_0x2176ce['readOnly']&&!_0x3dd330);let _0x530c3d=_0x27fa82;_0x27fa82>=0x10000?(_0x23ed39+=0x8,_0x530c3d=0x7f):_0x27fa82>0x7d&&(_0x23ed39+=0x2,_0x530c3d=0x7e);const _0x45f780=Buffer[_0x187cd0(0x1bb)](_0x544eff?_0x27fa82+_0x23ed39:_0x23ed39);return _0x45f780[0x0]=_0x2176ce[_0x187cd0(0x241)]?_0x2176ce[_0x187cd0(0xf2)]|0x80:_0x2176ce[_0x187cd0(0xf2)],_0x2176ce[_0x187cd0(0x1a4)]&&(_0x45f780[0x0]|=0x40),_0x45f780[0x1]=_0x530c3d,_0x530c3d===0x7e?_0x45f780[_0x187cd0(0xb6)](_0x27fa82,0x2):_0x530c3d===0x7f&&(_0x45f780[0x2]=_0x45f780[0x3]=0x0,_0x45f780[_0x187cd0(0x227)](_0x27fa82,0x4,0x6)),_0x2176ce[_0x187cd0(0xf4)]?(_0x45f780[0x1]|=0x80,_0x45f780[_0x23ed39-0x4]=_0x4e06e9[0x0],_0x45f780[_0x23ed39-0x3]=_0x4e06e9[0x1],_0x45f780[_0x23ed39-0x2]=_0x4e06e9[0x2],_0x45f780[_0x23ed39-0x1]=_0x4e06e9[0x3],_0x3dd330?[_0x45f780,_0x3dcea5]:_0x544eff?(_0x58b200(_0x3dcea5,_0x4e06e9,_0x45f780,_0x23ed39,_0x27fa82),[_0x45f780]):(_0x58b200(_0x3dcea5,_0x4e06e9,_0x3dcea5,0x0,_0x27fa82),[_0x45f780,_0x3dcea5])):[_0x45f780,_0x3dcea5];}[_0xb86d8(0xce)](_0x3ad254,_0x511c87,_0xdee73f,_0x182c59){const _0xea61a1=_0xb86d8;let _0xe3204;if(_0x3ad254===void 0x0)_0xe3204=_0x256bf2;else{if(typeof _0x3ad254!=_0xea61a1(0xbd)||!_0x395dc8(_0x3ad254))throw new TypeError(_0xea61a1(0x108));if(_0x511c87===void 0x0||!_0x511c87[_0xea61a1(0x183)])_0xe3204=Buffer[_0xea61a1(0x1bb)](0x2),_0xe3204['writeUInt16BE'](_0x3ad254,0x0);else{const _0x248ac6=Buffer['byteLength'](_0x511c87);if(_0x248ac6>0x7b)throw new RangeError(_0xea61a1(0x1c7));_0xe3204=Buffer[_0xea61a1(0x1bb)](0x2+_0x248ac6),_0xe3204['writeUInt16BE'](_0x3ad254,0x0),typeof _0x511c87==_0xea61a1(0x1b6)?_0xe3204['write'](_0x511c87,0x2):_0xe3204[_0xea61a1(0x1fe)](_0x511c87,0x2);}}const _0x1f17e0={[_0x4db535]:_0xe3204['length'],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0xdee73f,'maskBuffer':this[_0xea61a1(0xcb)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x215a91?this['enqueue']([this[_0xea61a1(0x131)],_0xe3204,!0x1,_0x1f17e0,_0x182c59]):this[_0xea61a1(0x206)](_0x568e49['frame'](_0xe3204,_0x1f17e0),_0x182c59);}['ping'](_0x3d244d,_0x5eb846,_0x5d89f2){const _0x4b34df=_0xb86d8;let _0x53eaf1,_0x330175;if(typeof _0x3d244d==_0x4b34df(0x1b6)?(_0x53eaf1=Buffer[_0x4b34df(0x196)](_0x3d244d),_0x330175=!0x1):_0x4d8562(_0x3d244d)?(_0x53eaf1=_0x3d244d['size'],_0x330175=!0x1):(_0x3d244d=_0x35330(_0x3d244d),_0x53eaf1=_0x3d244d['length'],_0x330175=_0x35330[_0x4b34df(0x233)]),_0x53eaf1>0x7d)throw new RangeError(_0x4b34df(0x175));const _0x57c6bc={[_0x4db535]:_0x53eaf1,'fin':!0x0,'generateMask':this[_0x4b34df(0xdd)],'mask':_0x5eb846,'maskBuffer':this[_0x4b34df(0xcb)],'opcode':0x9,'readOnly':_0x330175,'rsv1':!0x1};_0x4d8562(_0x3d244d)?this[_0x4b34df(0x143)]!==_0x215a91?this[_0x4b34df(0x22e)]([this[_0x4b34df(0x121)],_0x3d244d,!0x1,_0x57c6bc,_0x5d89f2]):this['getBlobData'](_0x3d244d,!0x1,_0x57c6bc,_0x5d89f2):this[_0x4b34df(0x143)]!==_0x215a91?this['enqueue']([this[_0x4b34df(0x131)],_0x3d244d,!0x1,_0x57c6bc,_0x5d89f2]):this[_0x4b34df(0x206)](_0x568e49[_0x4b34df(0x189)](_0x3d244d,_0x57c6bc),_0x5d89f2);}['pong'](_0x4e7077,_0x2ffe18,_0x245dc4){const _0x40ea32=_0xb86d8;let _0x578a62,_0x18e5df;if(typeof _0x4e7077==_0x40ea32(0x1b6)?(_0x578a62=Buffer[_0x40ea32(0x196)](_0x4e7077),_0x18e5df=!0x1):_0x4d8562(_0x4e7077)?(_0x578a62=_0x4e7077[_0x40ea32(0x1bd)],_0x18e5df=!0x1):(_0x4e7077=_0x35330(_0x4e7077),_0x578a62=_0x4e7077[_0x40ea32(0x183)],_0x18e5df=_0x35330[_0x40ea32(0x233)]),_0x578a62>0x7d)throw new RangeError(_0x40ea32(0x175));const _0x5c427b={[_0x4db535]:_0x578a62,'fin':!0x0,'generateMask':this[_0x40ea32(0xdd)],'mask':_0x2ffe18,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x18e5df,'rsv1':!0x1};_0x4d8562(_0x4e7077)?this[_0x40ea32(0x143)]!==_0x215a91?this['enqueue']([this['getBlobData'],_0x4e7077,!0x1,_0x5c427b,_0x245dc4]):this['getBlobData'](_0x4e7077,!0x1,_0x5c427b,_0x245dc4):this['_state']!==_0x215a91?this[_0x40ea32(0x22e)]([this['dispatch'],_0x4e7077,!0x1,_0x5c427b,_0x245dc4]):this['sendFrame'](_0x568e49[_0x40ea32(0x189)](_0x4e7077,_0x5c427b),_0x245dc4);}['send'](_0x1cc73a,_0x2d528e,_0x193001){const _0x3801fc=_0xb86d8,_0x1b80b2=this[_0x3801fc(0x165)][_0x312f67[_0x3801fc(0xac)]];let _0x722640=_0x2d528e[_0x3801fc(0xe4)]?0x2:0x1,_0x3d5b4d=_0x2d528e[_0x3801fc(0x202)],_0x4944c6,_0xe4d83d;typeof _0x1cc73a=='string'?(_0x4944c6=Buffer['byteLength'](_0x1cc73a),_0xe4d83d=!0x1):_0x4d8562(_0x1cc73a)?(_0x4944c6=_0x1cc73a[_0x3801fc(0x1bd)],_0xe4d83d=!0x1):(_0x1cc73a=_0x35330(_0x1cc73a),_0x4944c6=_0x1cc73a[_0x3801fc(0x183)],_0xe4d83d=_0x35330[_0x3801fc(0x233)]),this[_0x3801fc(0x237)]?(this['_firstFragment']=!0x1,_0x3d5b4d&&_0x1b80b2&&_0x1b80b2[_0x3801fc(0xa9)][_0x1b80b2['_isServer']?_0x3801fc(0xbc):_0x3801fc(0x14e)]&&(_0x3d5b4d=_0x4944c6>=_0x1b80b2[_0x3801fc(0x158)]),this['_compress']=_0x3d5b4d):(_0x3d5b4d=!0x1,_0x722640=0x0),_0x2d528e[_0x3801fc(0x241)]&&(this[_0x3801fc(0x237)]=!0x0);const _0x12683d={[_0x4db535]:_0x4944c6,'fin':_0x2d528e['fin'],'generateMask':this[_0x3801fc(0xdd)],'mask':_0x2d528e[_0x3801fc(0xf4)],'maskBuffer':this[_0x3801fc(0xcb)],'opcode':_0x722640,'readOnly':_0xe4d83d,'rsv1':_0x3d5b4d};_0x4d8562(_0x1cc73a)?this['_state']!==_0x215a91?this[_0x3801fc(0x22e)]([this[_0x3801fc(0x121)],_0x1cc73a,this[_0x3801fc(0x1f5)],_0x12683d,_0x193001]):this[_0x3801fc(0x121)](_0x1cc73a,this[_0x3801fc(0x1f5)],_0x12683d,_0x193001):this[_0x3801fc(0x143)]!==_0x215a91?this['enqueue']([this[_0x3801fc(0x131)],_0x1cc73a,this[_0x3801fc(0x1f5)],_0x12683d,_0x193001]):this[_0x3801fc(0x131)](_0x1cc73a,this[_0x3801fc(0x1f5)],_0x12683d,_0x193001);}[_0xb86d8(0x121)](_0x3b81ee,_0x1e3bd5,_0x2ba795,_0x24d467){const _0x1b98a9=_0xb86d8;this[_0x1b98a9(0xf0)]+=_0x2ba795[_0x4db535],this[_0x1b98a9(0x143)]=_0x5ebe9b,_0x3b81ee[_0x1b98a9(0x244)]()[_0x1b98a9(0x11b)](_0x241ea9=>{const _0x74f304=_0x1b98a9;if(this['_socket'][_0x74f304(0xee)]){const _0x2ffbfd=new Error(_0x74f304(0x1ab));process['nextTick'](_0x54a7d6,this,_0x2ffbfd,_0x24d467);return;}this[_0x74f304(0xf0)]-=_0x2ba795[_0x4db535];const _0x411bdb=_0x35330(_0x241ea9);_0x1e3bd5?this[_0x74f304(0x131)](_0x411bdb,_0x1e3bd5,_0x2ba795,_0x24d467):(this['_state']=_0x215a91,this[_0x74f304(0x206)](_0x568e49[_0x74f304(0x189)](_0x411bdb,_0x2ba795),_0x24d467),this[_0x74f304(0x224)]());})['catch'](_0x47acf0=>{const _0x2bf57d=_0x1b98a9;process[_0x2bf57d(0x114)](_0xf5e49,this,_0x47acf0,_0x24d467);});}[_0xb86d8(0x131)](_0x28bea8,_0x518b14,_0x23f003,_0x546f6){const _0x34296a=_0xb86d8;if(!_0x518b14){this[_0x34296a(0x206)](_0x568e49['frame'](_0x28bea8,_0x23f003),_0x546f6);return;}const _0x3d47a4=this['_extensions'][_0x312f67[_0x34296a(0xac)]];this[_0x34296a(0xf0)]+=_0x23f003[_0x4db535],this['_state']=_0x15c055,_0x3d47a4[_0x34296a(0x202)](_0x28bea8,_0x23f003[_0x34296a(0x241)],(_0xc58957,_0x2a498f)=>{const _0x1dcd2f=_0x34296a;if(this[_0x1dcd2f(0xe7)][_0x1dcd2f(0xee)]){const _0x408a0a=new Error(_0x1dcd2f(0x15e));_0x54a7d6(this,_0x408a0a,_0x546f6);return;}this[_0x1dcd2f(0xf0)]-=_0x23f003[_0x4db535],this[_0x1dcd2f(0x143)]=_0x215a91,_0x23f003[_0x1dcd2f(0x233)]=!0x1,this['sendFrame'](_0x568e49['frame'](_0x2a498f,_0x23f003),_0x546f6),this[_0x1dcd2f(0x224)]();});}['dequeue'](){const _0x442f43=_0xb86d8;for(;this['_state']===_0x215a91&&this[_0x442f43(0x161)][_0x442f43(0x183)];){const _0x1bbae6=this['_queue']['shift']();this[_0x442f43(0xf0)]-=_0x1bbae6[0x3][_0x4db535],Reflect[_0x442f43(0x132)](_0x1bbae6[0x0],this,_0x1bbae6[_0x442f43(0x203)](0x1));}}[_0xb86d8(0x22e)](_0x5231c8){const _0x439f38=_0xb86d8;this['_bufferedBytes']+=_0x5231c8[0x3][_0x4db535],this[_0x439f38(0x161)][_0x439f38(0x1b1)](_0x5231c8);}[_0xb86d8(0x206)](_0x4381c9,_0x5dbe4a){const _0x42a22f=_0xb86d8;_0x4381c9[_0x42a22f(0x183)]===0x2?(this['_socket'][_0x42a22f(0x12c)](),this['_socket']['write'](_0x4381c9[0x0]),this[_0x42a22f(0xe7)][_0x42a22f(0x97)](_0x4381c9[0x1],_0x5dbe4a),this[_0x42a22f(0xe7)]['uncork']()):this['_socket'][_0x42a22f(0x97)](_0x4381c9[0x0],_0x5dbe4a);}}Ee=_0x568e49;function _0x54a7d6(_0x1fbc0f,_0x27a48b,_0x441428){const _0x8c3ea9=_0xb86d8;typeof _0x441428=='function'&&_0x441428(_0x27a48b);for(let _0x6d67ed=0x0;_0x6d67ed<_0x1fbc0f['_queue']['length'];_0x6d67ed++){const _0x174353=_0x1fbc0f[_0x8c3ea9(0x161)][_0x6d67ed],_0x645eff=_0x174353[_0x174353['length']-0x1];typeof _0x645eff==_0x8c3ea9(0x1ce)&&_0x645eff(_0x27a48b);}}function _0xf5e49(_0xfde6c3,_0x4f3e9f,_0x391c64){const _0x5e17c9=_0xb86d8;_0x54a7d6(_0xfde6c3,_0x4f3e9f,_0x391c64),_0xfde6c3[_0x5e17c9(0xbe)](_0x4f3e9f);}return Ee;}var xe,tt;function Kt(){const _0x2c3b57=_0x585172;if(tt)return xe;tt=0x1;const {kForOnEventAttribute:_0x39d82c,kListener:_0x5b9ddb}=V(),_0x44ee98=Symbol(_0x2c3b57(0x16e)),_0x1b707f=Symbol(_0x2c3b57(0x1c0)),_0x1ef0f7=Symbol(_0x2c3b57(0x1e2)),_0x58b32e=Symbol(_0x2c3b57(0x1a5)),_0x4cd11e=Symbol(_0x2c3b57(0x185)),_0x2651bc=Symbol('kTarget'),_0x435ce9=Symbol(_0x2c3b57(0x228)),_0x11b17d=Symbol(_0x2c3b57(0x18a));class _0x14bd82{constructor(_0x41a1ee){this[_0x2651bc]=null,this[_0x435ce9]=_0x41a1ee;}get[_0x2c3b57(0x19c)](){return this[_0x2651bc];}get[_0x2c3b57(0x13e)](){return this[_0x435ce9];}}Object[_0x2c3b57(0x231)](_0x14bd82[_0x2c3b57(0x21b)],'target',{'enumerable':!0x0}),Object[_0x2c3b57(0x231)](_0x14bd82['prototype'],'type',{'enumerable':!0x0});class _0x31b4ee extends _0x14bd82{constructor(_0x39ab14,_0x28cc30={}){const _0x3aa084=_0x2c3b57;super(_0x39ab14),this[_0x44ee98]=_0x28cc30[_0x3aa084(0x99)]===void 0x0?0x0:_0x28cc30[_0x3aa084(0x99)],this[_0x4cd11e]=_0x28cc30[_0x3aa084(0x21e)]===void 0x0?'':_0x28cc30[_0x3aa084(0x21e)],this[_0x11b17d]=_0x28cc30[_0x3aa084(0x190)]===void 0x0?!0x1:_0x28cc30[_0x3aa084(0x190)];}get[_0x2c3b57(0x99)](){return this[_0x44ee98];}get[_0x2c3b57(0x21e)](){return this[_0x4cd11e];}get[_0x2c3b57(0x190)](){return this[_0x11b17d];}}Object[_0x2c3b57(0x231)](_0x31b4ee[_0x2c3b57(0x21b)],_0x2c3b57(0x99),{'enumerable':!0x0}),Object[_0x2c3b57(0x231)](_0x31b4ee[_0x2c3b57(0x21b)],_0x2c3b57(0x21e),{'enumerable':!0x0}),Object[_0x2c3b57(0x231)](_0x31b4ee['prototype'],_0x2c3b57(0x190),{'enumerable':!0x0});class _0x539586 extends _0x14bd82{constructor(_0x298d00,_0x825c8a={}){const _0x5f08b9=_0x2c3b57;super(_0x298d00),this[_0x1ef0f7]=_0x825c8a[_0x5f08b9(0x148)]===void 0x0?null:_0x825c8a['error'],this[_0x58b32e]=_0x825c8a[_0x5f08b9(0x240)]===void 0x0?'':_0x825c8a[_0x5f08b9(0x240)];}get[_0x2c3b57(0x148)](){return this[_0x1ef0f7];}get[_0x2c3b57(0x240)](){return this[_0x58b32e];}}Object['defineProperty'](_0x539586[_0x2c3b57(0x21b)],_0x2c3b57(0x148),{'enumerable':!0x0}),Object['defineProperty'](_0x539586['prototype'],'message',{'enumerable':!0x0});class _0x10bd6a extends _0x14bd82{constructor(_0x47d052,_0x464199={}){const _0x2527e4=_0x2c3b57;super(_0x47d052),this[_0x1b707f]=_0x464199[_0x2527e4(0xe3)]===void 0x0?null:_0x464199['data'];}get[_0x2c3b57(0xe3)](){return this[_0x1b707f];}}Object[_0x2c3b57(0x231)](_0x10bd6a['prototype'],_0x2c3b57(0xe3),{'enumerable':!0x0}),xe={'CloseEvent':_0x31b4ee,'ErrorEvent':_0x539586,'Event':_0x14bd82,'EventTarget':{'addEventListener'(_0xdb57c9,_0x1f3ec8,_0x5ba66f={}){const _0x291ef5=_0x2c3b57;for(const _0x588c61 of this['listeners'](_0xdb57c9))if(!_0x5ba66f[_0x39d82c]&&_0x588c61[_0x5b9ddb]===_0x1f3ec8&&!_0x588c61[_0x39d82c])return;let _0x1d517e;if(_0xdb57c9===_0x291ef5(0x240))_0x1d517e=function(_0x44b6c6,_0x27f5bf){const _0x21c66d=_0x291ef5,_0x2a3ca6=new _0x10bd6a(_0x21c66d(0x240),{'data':_0x27f5bf?_0x44b6c6:_0x44b6c6[_0x21c66d(0x91)]()});_0x2a3ca6[_0x2651bc]=this,_0x19af05(_0x1f3ec8,this,_0x2a3ca6);};else{if(_0xdb57c9===_0x291ef5(0xce))_0x1d517e=function(_0x12f7c5,_0x4b3d8f){const _0x287f36=_0x291ef5,_0xcfa221=new _0x31b4ee(_0x287f36(0xce),{'code':_0x12f7c5,'reason':_0x4b3d8f[_0x287f36(0x91)](),'wasClean':this[_0x287f36(0x133)]&&this['_closeFrameSent']});_0xcfa221[_0x2651bc]=this,_0x19af05(_0x1f3ec8,this,_0xcfa221);};else{if(_0xdb57c9===_0x291ef5(0x148))_0x1d517e=function(_0x3bbd88){const _0x178b55=_0x291ef5,_0x2ba747=new _0x539586(_0x178b55(0x148),{'error':_0x3bbd88,'message':_0x3bbd88[_0x178b55(0x240)]});_0x2ba747[_0x2651bc]=this,_0x19af05(_0x1f3ec8,this,_0x2ba747);};else{if(_0xdb57c9===_0x291ef5(0xb2))_0x1d517e=function(){const _0x350085=_0x291ef5,_0x2405dd=new _0x14bd82(_0x350085(0xb2));_0x2405dd[_0x2651bc]=this,_0x19af05(_0x1f3ec8,this,_0x2405dd);};else return;}}}_0x1d517e[_0x39d82c]=!!_0x5ba66f[_0x39d82c],_0x1d517e[_0x5b9ddb]=_0x1f3ec8,_0x5ba66f[_0x291ef5(0x243)]?this['once'](_0xdb57c9,_0x1d517e):this['on'](_0xdb57c9,_0x1d517e);},'removeEventListener'(_0x5db3a5,_0x3fc264){for(const _0x1ef32c of this['listeners'](_0x5db3a5))if(_0x1ef32c[_0x5b9ddb]===_0x3fc264&&!_0x1ef32c[_0x39d82c]){this['removeListener'](_0x5db3a5,_0x1ef32c);break;}}},'MessageEvent':_0x10bd6a};function _0x19af05(_0x1211df,_0x691d22,_0x310118){const _0x1930a3=_0x2c3b57;typeof _0x1211df==_0x1930a3(0x125)&&_0x1211df[_0x1930a3(0x14f)]?_0x1211df[_0x1930a3(0x14f)][_0x1930a3(0x160)](_0x1211df,_0x310118):_0x1211df['call'](_0x691d22,_0x310118);}return xe;}var be,rt;function pt(){if(rt)return be;rt=0x1;const {tokenChars:_0x447e53}=ne();function _0x36c705(_0x19d4b0,_0x51f461,_0x679209){const _0x379154=_0x4511;_0x19d4b0[_0x51f461]===void 0x0?_0x19d4b0[_0x51f461]=[_0x679209]:_0x19d4b0[_0x51f461][_0x379154(0x1b1)](_0x679209);}function _0x347575(_0x584f72){const _0x96e896=_0x4511,_0x98ae1e=Object[_0x96e896(0x229)](null);let _0x4386b9=Object['create'](null),_0x3c9652=!0x1,_0x2fbaea=!0x1,_0x58e922=!0x1,_0x137ccb,_0x17f250,_0x4b0389=-0x1,_0x13612b=-0x1,_0x2c2820=-0x1,_0x59d42f=0x0;for(;_0x59d42f<_0x584f72[_0x96e896(0x183)];_0x59d42f++)if(_0x13612b=_0x584f72['charCodeAt'](_0x59d42f),_0x137ccb===void 0x0){if(_0x2c2820===-0x1&&_0x447e53[_0x13612b]===0x1)_0x4b0389===-0x1&&(_0x4b0389=_0x59d42f);else{if(_0x59d42f!==0x0&&(_0x13612b===0x20||_0x13612b===0x9))_0x2c2820===-0x1&&_0x4b0389!==-0x1&&(_0x2c2820=_0x59d42f);else{if(_0x13612b===0x3b||_0x13612b===0x2c){if(_0x4b0389===-0x1)throw new SyntaxError(_0x96e896(0xc2)+_0x59d42f);_0x2c2820===-0x1&&(_0x2c2820=_0x59d42f);const _0x35b94c=_0x584f72[_0x96e896(0x203)](_0x4b0389,_0x2c2820);_0x13612b===0x2c?(_0x36c705(_0x98ae1e,_0x35b94c,_0x4386b9),_0x4386b9=Object[_0x96e896(0x229)](null)):_0x137ccb=_0x35b94c,_0x4b0389=_0x2c2820=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x59d42f);}}}else{if(_0x17f250===void 0x0){if(_0x2c2820===-0x1&&_0x447e53[_0x13612b]===0x1)_0x4b0389===-0x1&&(_0x4b0389=_0x59d42f);else{if(_0x13612b===0x20||_0x13612b===0x9)_0x2c2820===-0x1&&_0x4b0389!==-0x1&&(_0x2c2820=_0x59d42f);else{if(_0x13612b===0x3b||_0x13612b===0x2c){if(_0x4b0389===-0x1)throw new SyntaxError(_0x96e896(0xc2)+_0x59d42f);_0x2c2820===-0x1&&(_0x2c2820=_0x59d42f),_0x36c705(_0x4386b9,_0x584f72['slice'](_0x4b0389,_0x2c2820),!0x0),_0x13612b===0x2c&&(_0x36c705(_0x98ae1e,_0x137ccb,_0x4386b9),_0x4386b9=Object[_0x96e896(0x229)](null),_0x137ccb=void 0x0),_0x4b0389=_0x2c2820=-0x1;}else{if(_0x13612b===0x3d&&_0x4b0389!==-0x1&&_0x2c2820===-0x1)_0x17f250=_0x584f72['slice'](_0x4b0389,_0x59d42f),_0x4b0389=_0x2c2820=-0x1;else throw new SyntaxError(_0x96e896(0xc2)+_0x59d42f);}}}}else{if(_0x2fbaea){if(_0x447e53[_0x13612b]!==0x1)throw new SyntaxError(_0x96e896(0xc2)+_0x59d42f);_0x4b0389===-0x1?_0x4b0389=_0x59d42f:_0x3c9652||(_0x3c9652=!0x0),_0x2fbaea=!0x1;}else{if(_0x58e922){if(_0x447e53[_0x13612b]===0x1)_0x4b0389===-0x1&&(_0x4b0389=_0x59d42f);else{if(_0x13612b===0x22&&_0x4b0389!==-0x1)_0x58e922=!0x1,_0x2c2820=_0x59d42f;else{if(_0x13612b===0x5c)_0x2fbaea=!0x0;else throw new SyntaxError(_0x96e896(0xc2)+_0x59d42f);}}}else{if(_0x13612b===0x22&&_0x584f72['charCodeAt'](_0x59d42f-0x1)===0x3d)_0x58e922=!0x0;else{if(_0x2c2820===-0x1&&_0x447e53[_0x13612b]===0x1)_0x4b0389===-0x1&&(_0x4b0389=_0x59d42f);else{if(_0x4b0389!==-0x1&&(_0x13612b===0x20||_0x13612b===0x9))_0x2c2820===-0x1&&(_0x2c2820=_0x59d42f);else{if(_0x13612b===0x3b||_0x13612b===0x2c){if(_0x4b0389===-0x1)throw new SyntaxError(_0x96e896(0xc2)+_0x59d42f);_0x2c2820===-0x1&&(_0x2c2820=_0x59d42f);let _0x887dbf=_0x584f72[_0x96e896(0x203)](_0x4b0389,_0x2c2820);_0x3c9652&&(_0x887dbf=_0x887dbf[_0x96e896(0x1d6)](/\\/g,''),_0x3c9652=!0x1),_0x36c705(_0x4386b9,_0x17f250,_0x887dbf),_0x13612b===0x2c&&(_0x36c705(_0x98ae1e,_0x137ccb,_0x4386b9),_0x4386b9=Object[_0x96e896(0x229)](null),_0x137ccb=void 0x0),_0x17f250=void 0x0,_0x4b0389=_0x2c2820=-0x1;}else throw new SyntaxError(_0x96e896(0xc2)+_0x59d42f);}}}}}}}if(_0x4b0389===-0x1||_0x58e922||_0x13612b===0x20||_0x13612b===0x9)throw new SyntaxError(_0x96e896(0xc1));_0x2c2820===-0x1&&(_0x2c2820=_0x59d42f);const _0x44da1a=_0x584f72['slice'](_0x4b0389,_0x2c2820);return _0x137ccb===void 0x0?_0x36c705(_0x98ae1e,_0x44da1a,_0x4386b9):(_0x17f250===void 0x0?_0x36c705(_0x4386b9,_0x44da1a,!0x0):_0x3c9652?_0x36c705(_0x4386b9,_0x17f250,_0x44da1a[_0x96e896(0x1d6)](/\\/g,'')):_0x36c705(_0x4386b9,_0x17f250,_0x44da1a),_0x36c705(_0x98ae1e,_0x137ccb,_0x4386b9)),_0x98ae1e;}function _0x2d95f7(_0x1d6560){const _0x245ea3=_0x4511;return Object[_0x245ea3(0x1e9)](_0x1d6560)['map'](_0x407e43=>{const _0x1280c0=_0x245ea3;let _0x3663be=_0x1d6560[_0x407e43];return Array[_0x1280c0(0x1bc)](_0x3663be)||(_0x3663be=[_0x3663be]),_0x3663be[_0x1280c0(0xd0)](_0x1f846c=>[_0x407e43]['concat'](Object[_0x1280c0(0x1e9)](_0x1f846c)[_0x1280c0(0xd0)](_0x32bb7f=>{const _0xc0fee7=_0x1280c0;let _0x2f05b7=_0x1f846c[_0x32bb7f];return Array[_0xc0fee7(0x1bc)](_0x2f05b7)||(_0x2f05b7=[_0x2f05b7]),_0x2f05b7['map'](_0xa6f8ce=>_0xa6f8ce===!0x0?_0x32bb7f:_0x32bb7f+'='+_0xa6f8ce)[_0xc0fee7(0xad)](';\x20');}))[_0x1280c0(0xad)](';\x20'))[_0x1280c0(0xad)](',\x20');})['join'](',\x20');}return be={'format':_0x2d95f7,'parse':_0x347575},be;}var we,st;function Ie(){const _0x4c5cf0=_0x585172;if(st)return we;st=0x1;const _0x5ae4b1=_0x3c867a,_0x25863e=_0x5e47b3,_0x188c93=_0x4a8559,_0x26bbc3=_0x14239d,_0x133680=_0x11118b,{randomBytes:_0xf59b58,createHash:_0x4b2103}=_0x461bbd,{Duplex:_0x40f679,Readable:_0x367ff1}=_0x3f6333,{URL:_0x3e4eeb}=_0x17ba72,_0x58148f=he(),_0x111f1b=dt(),_0x4f97d6=_t(),{isBlob:_0x1bd9e6}=ne(),{BINARY_TYPES:_0x3ca73d,EMPTY_BUFFER:_0x572db3,GUID:_0x51a065,kForOnEventAttribute:_0x169897,kListener:_0xa750b8,kStatusCode:_0x1e58dd,kWebSocket:_0x37ee62,NOOP:_0x531aa2}=V(),{EventTarget:{addEventListener:_0x5720d5,removeEventListener:_0x110d2f}}=Kt(),{format:_0x44b495,parse:_0x24237a}=pt(),{toBuffer:_0x58c119}=ce(),_0x1c68e5=0x1e*0x3e8,_0x203fa4=Symbol(_0x4c5cf0(0x20c)),_0x32d1af=[0x8,0xd],_0x285896=[_0x4c5cf0(0xcd),_0x4c5cf0(0xa8),_0x4c5cf0(0xf3),'CLOSED'],_0x21178b=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x4db7eb extends _0x5ae4b1{constructor(_0x2ca52e,_0x11960c,_0x22950c){const _0x2ac9fb=_0x4c5cf0;super(),this['_binaryType']=_0x3ca73d[0x0],this[_0x2ac9fb(0xf7)]=0x3ee,this[_0x2ac9fb(0x133)]=!0x1,this['_closeFrameSent']=!0x1,this[_0x2ac9fb(0x225)]=_0x572db3,this[_0x2ac9fb(0x186)]=null,this[_0x2ac9fb(0xb1)]=!0x1,this[_0x2ac9fb(0x165)]={},this['_paused']=!0x1,this[_0x2ac9fb(0x197)]='',this[_0x2ac9fb(0x105)]=_0x4db7eb['CONNECTING'],this[_0x2ac9fb(0x16f)]=null,this[_0x2ac9fb(0x1b0)]=null,this[_0x2ac9fb(0xe7)]=null,_0x2ca52e!==null?(this['_bufferedAmount']=0x0,this[_0x2ac9fb(0xa3)]=!0x1,this[_0x2ac9fb(0x12f)]=0x0,_0x11960c===void 0x0?_0x11960c=[]:Array['isArray'](_0x11960c)||(typeof _0x11960c==_0x2ac9fb(0x125)&&_0x11960c!==null?(_0x22950c=_0x11960c,_0x11960c=[]):_0x11960c=[_0x11960c]),_0xcab7ae(this,_0x2ca52e,_0x11960c,_0x22950c)):(this['_autoPong']=_0x22950c[_0x2ac9fb(0xc4)],this[_0x2ac9fb(0xa3)]=!0x0);}get[_0x4c5cf0(0xe5)](){return this['_binaryType'];}set['binaryType'](_0x2db18c){const _0x4fa4fe=_0x4c5cf0;_0x3ca73d[_0x4fa4fe(0xba)](_0x2db18c)&&(this[_0x4fa4fe(0x23e)]=_0x2db18c,this[_0x4fa4fe(0x16f)]&&(this[_0x4fa4fe(0x16f)][_0x4fa4fe(0x23e)]=_0x2db18c));}get[_0x4c5cf0(0x22f)](){const _0x2cc3f2=_0x4c5cf0;return this[_0x2cc3f2(0xe7)]?this[_0x2cc3f2(0xe7)][_0x2cc3f2(0x1f0)][_0x2cc3f2(0x183)]+this['_sender'][_0x2cc3f2(0xf0)]:this[_0x2cc3f2(0x1f3)];}get[_0x4c5cf0(0x1c3)](){const _0xb04068=_0x4c5cf0;return Object[_0xb04068(0x1e9)](this[_0xb04068(0x165)])[_0xb04068(0xad)]();}get[_0x4c5cf0(0x213)](){const _0x534d8a=_0x4c5cf0;return this[_0x534d8a(0x16b)];}get[_0x4c5cf0(0x127)](){return null;}get[_0x4c5cf0(0xbe)](){return null;}get[_0x4c5cf0(0x21a)](){return null;}get[_0x4c5cf0(0x98)](){return null;}get[_0x4c5cf0(0x17b)](){const _0x1bfdae=_0x4c5cf0;return this[_0x1bfdae(0x197)];}get['readyState'](){const _0x1592eb=_0x4c5cf0;return this[_0x1592eb(0x105)];}get['url'](){const _0x1a1dd8=_0x4c5cf0;return this[_0x1a1dd8(0x1a7)];}['setSocket'](_0x388d1d,_0x417725,_0x5acaaf){const _0x42349a=_0x4c5cf0,_0x36f17f=new _0x111f1b({'allowSynchronousEvents':_0x5acaaf['allowSynchronousEvents'],'binaryType':this[_0x42349a(0xe5)],'extensions':this[_0x42349a(0x165)],'isServer':this[_0x42349a(0xa3)],'maxPayload':_0x5acaaf[_0x42349a(0x1d9)],'skipUTF8Validation':_0x5acaaf[_0x42349a(0x1a6)]}),_0x4106e3=new _0x4f97d6(_0x388d1d,this['_extensions'],_0x5acaaf[_0x42349a(0x1e4)]);this['_receiver']=_0x36f17f,this[_0x42349a(0x1b0)]=_0x4106e3,this[_0x42349a(0xe7)]=_0x388d1d,_0x36f17f[_0x37ee62]=this,_0x4106e3[_0x37ee62]=this,_0x388d1d[_0x37ee62]=this,_0x36f17f['on'](_0x42349a(0x177),_0x51f588),_0x36f17f['on'](_0x42349a(0x1d5),_0x4411e9),_0x36f17f['on']('error',_0x1f94a9),_0x36f17f['on']('message',_0x2ffeb3),_0x36f17f['on']('ping',_0x4fb3ec),_0x36f17f['on'](_0x42349a(0x182),_0x5bddad),_0x4106e3[_0x42349a(0xbe)]=_0x4385c3,_0x388d1d[_0x42349a(0xfa)]&&_0x388d1d[_0x42349a(0xfa)](0x0),_0x388d1d['setNoDelay']&&_0x388d1d[_0x42349a(0x155)](),_0x417725[_0x42349a(0x183)]>0x0&&_0x388d1d[_0x42349a(0x22d)](_0x417725),_0x388d1d['on'](_0x42349a(0xce),_0x507866),_0x388d1d['on'](_0x42349a(0xe3),_0x1c42fe),_0x388d1d['on'](_0x42349a(0x1db),_0xbfacb1),_0x388d1d['on'](_0x42349a(0x148),_0xd79204),this[_0x42349a(0x105)]=_0x4db7eb[_0x42349a(0xa8)],this['emit'](_0x42349a(0xb2));}[_0x4c5cf0(0x17f)](){const _0x2c138e=_0x4c5cf0;if(!this[_0x2c138e(0xe7)]){this[_0x2c138e(0x105)]=_0x4db7eb[_0x2c138e(0x1d2)],this[_0x2c138e(0x163)](_0x2c138e(0xce),this[_0x2c138e(0xf7)],this[_0x2c138e(0x225)]);return;}this['_extensions'][_0x58148f[_0x2c138e(0xac)]]&&this[_0x2c138e(0x165)][_0x58148f['extensionName']][_0x2c138e(0x136)](),this[_0x2c138e(0x16f)][_0x2c138e(0x20b)](),this['_readyState']=_0x4db7eb[_0x2c138e(0x1d2)],this['emit']('close',this[_0x2c138e(0xf7)],this[_0x2c138e(0x225)]);}[_0x4c5cf0(0xce)](_0x4c7bba,_0x562fea){const _0x15798a=_0x4c5cf0;if(this[_0x15798a(0x1ff)]!==_0x4db7eb[_0x15798a(0x1d2)]){if(this[_0x15798a(0x1ff)]===_0x4db7eb['CONNECTING']){_0x1d218b(this,this[_0x15798a(0x138)],_0x15798a(0xbf));return;}if(this[_0x15798a(0x1ff)]===_0x4db7eb[_0x15798a(0xf3)]){this[_0x15798a(0x9a)]&&(this[_0x15798a(0x133)]||this[_0x15798a(0x16f)][_0x15798a(0x1f0)][_0x15798a(0x216)])&&this[_0x15798a(0xe7)][_0x15798a(0x1db)]();return;}this['_readyState']=_0x4db7eb[_0x15798a(0xf3)],this[_0x15798a(0x1b0)][_0x15798a(0xce)](_0x4c7bba,_0x562fea,!this['_isServer'],_0x3d1d46=>{const _0x3a80a8=_0x15798a;_0x3d1d46||(this[_0x3a80a8(0x9a)]=!0x0,(this[_0x3a80a8(0x133)]||this[_0x3a80a8(0x16f)][_0x3a80a8(0x1f0)]['errorEmitted'])&&this[_0x3a80a8(0xe7)][_0x3a80a8(0x1db)]());}),_0x1d64e4(this);}}['pause'](){const _0x447ac2=_0x4c5cf0;this[_0x447ac2(0x1ff)]===_0x4db7eb[_0x447ac2(0xcd)]||this[_0x447ac2(0x1ff)]===_0x4db7eb[_0x447ac2(0x1d2)]||(this[_0x447ac2(0x16b)]=!0x0,this[_0x447ac2(0xe7)][_0x447ac2(0x194)]());}[_0x4c5cf0(0x1f7)](_0x30210b,_0x3d2501,_0x2bc2df){const _0x246453=_0x4c5cf0;if(this[_0x246453(0x1ff)]===_0x4db7eb['CONNECTING'])throw new Error(_0x246453(0xd3));if(typeof _0x30210b==_0x246453(0x1ce)?(_0x2bc2df=_0x30210b,_0x30210b=_0x3d2501=void 0x0):typeof _0x3d2501==_0x246453(0x1ce)&&(_0x2bc2df=_0x3d2501,_0x3d2501=void 0x0),typeof _0x30210b==_0x246453(0xbd)&&(_0x30210b=_0x30210b['toString']()),this[_0x246453(0x1ff)]!==_0x4db7eb[_0x246453(0xa8)]){_0x26287e(this,_0x30210b,_0x2bc2df);return;}_0x3d2501===void 0x0&&(_0x3d2501=!this[_0x246453(0xa3)]),this[_0x246453(0x1b0)][_0x246453(0x1f7)](_0x30210b||_0x572db3,_0x3d2501,_0x2bc2df);}[_0x4c5cf0(0x182)](_0x1ab651,_0x2e20f1,_0x2a6321){const _0x4d0d2a=_0x4c5cf0;if(this[_0x4d0d2a(0x1ff)]===_0x4db7eb[_0x4d0d2a(0xcd)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x1ab651=='function'?(_0x2a6321=_0x1ab651,_0x1ab651=_0x2e20f1=void 0x0):typeof _0x2e20f1==_0x4d0d2a(0x1ce)&&(_0x2a6321=_0x2e20f1,_0x2e20f1=void 0x0),typeof _0x1ab651==_0x4d0d2a(0xbd)&&(_0x1ab651=_0x1ab651['toString']()),this[_0x4d0d2a(0x1ff)]!==_0x4db7eb[_0x4d0d2a(0xa8)]){_0x26287e(this,_0x1ab651,_0x2a6321);return;}_0x2e20f1===void 0x0&&(_0x2e20f1=!this['_isServer']),this['_sender'][_0x4d0d2a(0x182)](_0x1ab651||_0x572db3,_0x2e20f1,_0x2a6321);}[_0x4c5cf0(0x117)](){const _0x39502c=_0x4c5cf0;this[_0x39502c(0x1ff)]===_0x4db7eb['CONNECTING']||this[_0x39502c(0x1ff)]===_0x4db7eb[_0x39502c(0x1d2)]||(this['_paused']=!0x1,this[_0x39502c(0x16f)][_0x39502c(0x1f0)][_0x39502c(0x9e)]||this[_0x39502c(0xe7)][_0x39502c(0x117)]());}[_0x4c5cf0(0x218)](_0x335255,_0x4bf416,_0x3c9a76){const _0x5b6e05=_0x4c5cf0;if(this[_0x5b6e05(0x1ff)]===_0x4db7eb[_0x5b6e05(0xcd)])throw new Error(_0x5b6e05(0xd3));if(typeof _0x4bf416=='function'&&(_0x3c9a76=_0x4bf416,_0x4bf416={}),typeof _0x335255==_0x5b6e05(0xbd)&&(_0x335255=_0x335255[_0x5b6e05(0x91)]()),this['readyState']!==_0x4db7eb['OPEN']){_0x26287e(this,_0x335255,_0x3c9a76);return;}const _0x21152e={'binary':typeof _0x335255!=_0x5b6e05(0x1b6),'mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x4bf416};this[_0x5b6e05(0x165)][_0x58148f[_0x5b6e05(0xac)]]||(_0x21152e[_0x5b6e05(0x202)]=!0x1),this[_0x5b6e05(0x1b0)]['send'](_0x335255||_0x572db3,_0x21152e,_0x3c9a76);}[_0x4c5cf0(0x205)](){const _0x5216f8=_0x4c5cf0;if(this[_0x5216f8(0x1ff)]!==_0x4db7eb[_0x5216f8(0x1d2)]){if(this['readyState']===_0x4db7eb[_0x5216f8(0xcd)]){_0x1d218b(this,this[_0x5216f8(0x138)],_0x5216f8(0xbf));return;}this[_0x5216f8(0xe7)]&&(this[_0x5216f8(0x105)]=_0x4db7eb[_0x5216f8(0xf3)],this[_0x5216f8(0xe7)][_0x5216f8(0x1f1)]());}}}Object[_0x4c5cf0(0x231)](_0x4db7eb,_0x4c5cf0(0xcd),{'enumerable':!0x0,'value':_0x285896[_0x4c5cf0(0x103)](_0x4c5cf0(0xcd))}),Object[_0x4c5cf0(0x231)](_0x4db7eb[_0x4c5cf0(0x21b)],_0x4c5cf0(0xcd),{'enumerable':!0x0,'value':_0x285896[_0x4c5cf0(0x103)](_0x4c5cf0(0xcd))}),Object[_0x4c5cf0(0x231)](_0x4db7eb,_0x4c5cf0(0xa8),{'enumerable':!0x0,'value':_0x285896['indexOf']('OPEN')}),Object[_0x4c5cf0(0x231)](_0x4db7eb[_0x4c5cf0(0x21b)],_0x4c5cf0(0xa8),{'enumerable':!0x0,'value':_0x285896[_0x4c5cf0(0x103)](_0x4c5cf0(0xa8))}),Object[_0x4c5cf0(0x231)](_0x4db7eb,'CLOSING',{'enumerable':!0x0,'value':_0x285896[_0x4c5cf0(0x103)](_0x4c5cf0(0xf3))}),Object[_0x4c5cf0(0x231)](_0x4db7eb['prototype'],_0x4c5cf0(0xf3),{'enumerable':!0x0,'value':_0x285896[_0x4c5cf0(0x103)](_0x4c5cf0(0xf3))}),Object['defineProperty'](_0x4db7eb,_0x4c5cf0(0x1d2),{'enumerable':!0x0,'value':_0x285896[_0x4c5cf0(0x103)](_0x4c5cf0(0x1d2))}),Object[_0x4c5cf0(0x231)](_0x4db7eb[_0x4c5cf0(0x21b)],_0x4c5cf0(0x1d2),{'enumerable':!0x0,'value':_0x285896[_0x4c5cf0(0x103)](_0x4c5cf0(0x1d2))}),['binaryType','bufferedAmount','extensions',_0x4c5cf0(0x213),_0x4c5cf0(0x17b),_0x4c5cf0(0x1ff),_0x4c5cf0(0x93)][_0x4c5cf0(0x1ba)](_0x4d79dd=>{const _0x2a5abe=_0x4c5cf0;Object['defineProperty'](_0x4db7eb[_0x2a5abe(0x21b)],_0x4d79dd,{'enumerable':!0x0});}),['open',_0x4c5cf0(0x148),_0x4c5cf0(0xce),'message'][_0x4c5cf0(0x1ba)](_0x32225d=>{const _0x544fe0=_0x4c5cf0;Object['defineProperty'](_0x4db7eb[_0x544fe0(0x21b)],'on'+_0x32225d,{'enumerable':!0x0,'get'(){const _0x1c7672=_0x544fe0;for(const _0x22f130 of this[_0x1c7672(0x164)](_0x32225d))if(_0x22f130[_0x169897])return _0x22f130[_0xa750b8];return null;},'set'(_0x48a766){const _0x4b875a=_0x544fe0;for(const _0x93f97b of this[_0x4b875a(0x164)](_0x32225d))if(_0x93f97b[_0x169897]){this[_0x4b875a(0x245)](_0x32225d,_0x93f97b);break;}typeof _0x48a766==_0x4b875a(0x1ce)&&this['addEventListener'](_0x32225d,_0x48a766,{[_0x169897]:!0x0});}});}),_0x4db7eb[_0x4c5cf0(0x21b)][_0x4c5cf0(0xc6)]=_0x5720d5,_0x4db7eb[_0x4c5cf0(0x21b)][_0x4c5cf0(0x178)]=_0x110d2f,we=_0x4db7eb;function _0xcab7ae(_0x1c11f8,_0x19216,_0x39426e,_0x595530){const _0x307c03=_0x4c5cf0,_0x5e3bac={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x32d1af[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x595530,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x307c03(0x12e),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x1c11f8[_0x307c03(0x1b4)]=_0x5e3bac['autoPong'],!_0x32d1af[_0x307c03(0xba)](_0x5e3bac[_0x307c03(0x146)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x5e3bac[_0x307c03(0x146)]+'\x20(supported\x20versions:\x20'+_0x32d1af[_0x307c03(0xad)](',\x20')+')');let _0x34627b;if(_0x19216 instanceof _0x3e4eeb)_0x34627b=_0x19216;else try{_0x34627b=new _0x3e4eeb(_0x19216);}catch{throw new SyntaxError(_0x307c03(0x1a0)+_0x19216);}_0x34627b[_0x307c03(0x17b)]===_0x307c03(0x20f)?_0x34627b['protocol']=_0x307c03(0x9f):_0x34627b[_0x307c03(0x17b)]===_0x307c03(0x1ae)&&(_0x34627b[_0x307c03(0x17b)]=_0x307c03(0xbb)),_0x1c11f8['_url']=_0x34627b[_0x307c03(0x1b3)];const _0x102eb2=_0x34627b['protocol']===_0x307c03(0xbb),_0x4c2e6e=_0x34627b[_0x307c03(0x17b)]===_0x307c03(0x10c);let _0x5d210f;if(_0x34627b['protocol']!==_0x307c03(0x9f)&&!_0x102eb2&&!_0x4c2e6e?_0x5d210f=_0x307c03(0xc3):_0x4c2e6e&&!_0x34627b[_0x307c03(0x232)]?_0x5d210f='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x34627b[_0x307c03(0x102)]&&(_0x5d210f=_0x307c03(0x19a)),_0x5d210f){const _0xafa7e=new SyntaxError(_0x5d210f);if(_0x1c11f8[_0x307c03(0x12f)]===0x0)throw _0xafa7e;_0x24b94a(_0x1c11f8,_0xafa7e);return;}const _0x35bf09=_0x102eb2?0x1bb:0x50,_0x34713c=_0xf59b58(0x10)[_0x307c03(0x91)](_0x307c03(0xf1)),_0xda0a7=_0x102eb2?_0x25863e[_0x307c03(0x242)]:_0x188c93[_0x307c03(0x242)],_0x404a4f=new Set();let _0x166367;if(_0x5e3bac[_0x307c03(0x10a)]=_0x5e3bac[_0x307c03(0x10a)]||(_0x102eb2?_0x2df8c2:_0x138abb),_0x5e3bac['defaultPort']=_0x5e3bac[_0x307c03(0x145)]||_0x35bf09,_0x5e3bac['port']=_0x34627b[_0x307c03(0x15f)]||_0x35bf09,_0x5e3bac[_0x307c03(0x16c)]=_0x34627b[_0x307c03(0x123)][_0x307c03(0x122)]('[')?_0x34627b[_0x307c03(0x123)]['slice'](0x1,-0x1):_0x34627b['hostname'],_0x5e3bac[_0x307c03(0x1b8)]={..._0x5e3bac[_0x307c03(0x1b8)],'Sec-WebSocket-Version':_0x5e3bac[_0x307c03(0x146)],'Sec-WebSocket-Key':_0x34713c,'Connection':_0x307c03(0x180),'Upgrade':_0x307c03(0x22b)},_0x5e3bac[_0x307c03(0xde)]=_0x34627b['pathname']+_0x34627b['search'],_0x5e3bac['timeout']=_0x5e3bac[_0x307c03(0x135)],_0x5e3bac['perMessageDeflate']&&(_0x166367=new _0x58148f(_0x5e3bac[_0x307c03(0x150)]!==!0x0?_0x5e3bac[_0x307c03(0x150)]:{},!0x1,_0x5e3bac['maxPayload']),_0x5e3bac[_0x307c03(0x1b8)][_0x307c03(0x115)]=_0x44b495({[_0x58148f[_0x307c03(0xac)]]:_0x166367[_0x307c03(0x217)]()})),_0x39426e[_0x307c03(0x183)]){for(const _0x2b78e6 of _0x39426e){if(typeof _0x2b78e6!=_0x307c03(0x1b6)||!_0x21178b[_0x307c03(0x1aa)](_0x2b78e6)||_0x404a4f[_0x307c03(0x152)](_0x2b78e6))throw new SyntaxError(_0x307c03(0x14c));_0x404a4f[_0x307c03(0x235)](_0x2b78e6);}_0x5e3bac['headers'][_0x307c03(0x23d)]=_0x39426e['join'](',');}if(_0x5e3bac[_0x307c03(0x9d)]&&(_0x5e3bac[_0x307c03(0x146)]<0xd?_0x5e3bac[_0x307c03(0x1b8)]['Sec-WebSocket-Origin']=_0x5e3bac[_0x307c03(0x9d)]:_0x5e3bac['headers'][_0x307c03(0x90)]=_0x5e3bac[_0x307c03(0x9d)]),(_0x34627b['username']||_0x34627b[_0x307c03(0x169)])&&(_0x5e3bac[_0x307c03(0x192)]=_0x34627b[_0x307c03(0x176)]+':'+_0x34627b['password']),_0x4c2e6e){const _0x35a3e4=_0x5e3bac[_0x307c03(0xde)][_0x307c03(0x1ea)](':');_0x5e3bac['socketPath']=_0x35a3e4[0x0],_0x5e3bac[_0x307c03(0xde)]=_0x35a3e4[0x1];}let _0x1f1329;if(_0x5e3bac[_0x307c03(0xd6)]){if(_0x1c11f8['_redirects']===0x0){_0x1c11f8[_0x307c03(0x1b2)]=_0x4c2e6e,_0x1c11f8['_originalSecure']=_0x102eb2,_0x1c11f8[_0x307c03(0xdc)]=_0x4c2e6e?_0x5e3bac[_0x307c03(0xd2)]:_0x34627b[_0x307c03(0x16c)];const _0x2d1fff=_0x595530&&_0x595530[_0x307c03(0x1b8)];if(_0x595530={..._0x595530,'headers':{}},_0x2d1fff){for(const [_0x102db4,_0x48d291]of Object[_0x307c03(0x1c2)](_0x2d1fff))_0x595530[_0x307c03(0x1b8)][_0x102db4[_0x307c03(0x144)]()]=_0x48d291;}}else{if(_0x1c11f8['listenerCount'](_0x307c03(0xc8))===0x0){const _0x27f877=_0x4c2e6e?_0x1c11f8[_0x307c03(0x1b2)]?_0x5e3bac['socketPath']===_0x1c11f8['_originalHostOrSocketPath']:!0x1:_0x1c11f8[_0x307c03(0x1b2)]?!0x1:_0x34627b[_0x307c03(0x16c)]===_0x1c11f8[_0x307c03(0xdc)];(!_0x27f877||_0x1c11f8[_0x307c03(0x14b)]&&!_0x102eb2)&&(delete _0x5e3bac[_0x307c03(0x1b8)][_0x307c03(0x179)],delete _0x5e3bac[_0x307c03(0x1b8)]['cookie'],_0x27f877||delete _0x5e3bac[_0x307c03(0x1b8)][_0x307c03(0x16c)],_0x5e3bac['auth']=void 0x0);}}_0x5e3bac[_0x307c03(0x192)]&&!_0x595530[_0x307c03(0x1b8)]['authorization']&&(_0x595530[_0x307c03(0x1b8)][_0x307c03(0x179)]=_0x307c03(0x234)+Buffer[_0x307c03(0x18c)](_0x5e3bac[_0x307c03(0x192)])[_0x307c03(0x91)](_0x307c03(0xf1))),_0x1f1329=_0x1c11f8[_0x307c03(0x138)]=_0xda0a7(_0x5e3bac),_0x1c11f8[_0x307c03(0x12f)]&&_0x1c11f8[_0x307c03(0x163)](_0x307c03(0xc8),_0x1c11f8['url'],_0x1f1329);}else _0x1f1329=_0x1c11f8[_0x307c03(0x138)]=_0xda0a7(_0x5e3bac);_0x5e3bac[_0x307c03(0x204)]&&_0x1f1329['on'](_0x307c03(0x204),()=>{_0x1d218b(_0x1c11f8,_0x1f1329,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x1f1329['on'](_0x307c03(0x148),_0x2a140c=>{const _0x129746=_0x307c03;_0x1f1329===null||_0x1f1329[_0x203fa4]||(_0x1f1329=_0x1c11f8[_0x129746(0x138)]=null,_0x24b94a(_0x1c11f8,_0x2a140c));}),_0x1f1329['on'](_0x307c03(0x128),_0x2944d3=>{const _0x2327b6=_0x307c03,_0x48e7ff=_0x2944d3[_0x2327b6(0x1b8)][_0x2327b6(0xa4)],_0x3a0fd2=_0x2944d3[_0x2327b6(0x11f)];if(_0x48e7ff&&_0x5e3bac[_0x2327b6(0xd6)]&&_0x3a0fd2>=0x12c&&_0x3a0fd2<0x190){if(++_0x1c11f8[_0x2327b6(0x12f)]>_0x5e3bac[_0x2327b6(0x23c)]){_0x1d218b(_0x1c11f8,_0x1f1329,_0x2327b6(0xd4));return;}_0x1f1329['abort']();let _0x8a1032;try{_0x8a1032=new _0x3e4eeb(_0x48e7ff,_0x19216);}catch{const _0x37a4b7=new SyntaxError(_0x2327b6(0x1a0)+_0x48e7ff);_0x24b94a(_0x1c11f8,_0x37a4b7);return;}_0xcab7ae(_0x1c11f8,_0x8a1032,_0x39426e,_0x595530);}else _0x1c11f8['emit'](_0x2327b6(0x1b9),_0x1f1329,_0x2944d3)||_0x1d218b(_0x1c11f8,_0x1f1329,_0x2327b6(0xb5)+_0x2944d3[_0x2327b6(0x11f)]);}),_0x1f1329['on'](_0x307c03(0x13d),(_0x124290,_0x523d07,_0x4e70a5)=>{const _0x2fbd76=_0x307c03;if(_0x1c11f8[_0x2fbd76(0x163)]('upgrade',_0x124290),_0x1c11f8['readyState']!==_0x4db7eb['CONNECTING'])return;_0x1f1329=_0x1c11f8[_0x2fbd76(0x138)]=null;const _0x440240=_0x124290[_0x2fbd76(0x1b8)][_0x2fbd76(0x13d)];if(_0x440240===void 0x0||_0x440240['toLowerCase']()!=='websocket'){_0x1d218b(_0x1c11f8,_0x523d07,'Invalid\x20Upgrade\x20header');return;}const _0x5b5f63=_0x4b2103(_0x2fbd76(0x170))[_0x2fbd76(0xcc)](_0x34713c+_0x51a065)[_0x2fbd76(0x10b)](_0x2fbd76(0xf1));if(_0x124290[_0x2fbd76(0x1b8)]['sec-websocket-accept']!==_0x5b5f63){_0x1d218b(_0x1c11f8,_0x523d07,_0x2fbd76(0x219));return;}const _0x32e9cb=_0x124290[_0x2fbd76(0x1b8)][_0x2fbd76(0x10d)];let _0xd688c3;if(_0x32e9cb!==void 0x0?_0x404a4f[_0x2fbd76(0x1bd)]?_0x404a4f['has'](_0x32e9cb)||(_0xd688c3=_0x2fbd76(0x18b)):_0xd688c3=_0x2fbd76(0x15a):_0x404a4f[_0x2fbd76(0x1bd)]&&(_0xd688c3=_0x2fbd76(0x23b)),_0xd688c3){_0x1d218b(_0x1c11f8,_0x523d07,_0xd688c3);return;}_0x32e9cb&&(_0x1c11f8[_0x2fbd76(0x197)]=_0x32e9cb);const _0x4a9687=_0x124290['headers']['sec-websocket-extensions'];if(_0x4a9687!==void 0x0){if(!_0x166367){_0x1d218b(_0x1c11f8,_0x523d07,_0x2fbd76(0x113));return;}let _0x5d5970;try{_0x5d5970=_0x24237a(_0x4a9687);}catch{_0x1d218b(_0x1c11f8,_0x523d07,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}const _0xb85d4b=Object[_0x2fbd76(0x1e9)](_0x5d5970);if(_0xb85d4b[_0x2fbd76(0x183)]!==0x1||_0xb85d4b[0x0]!==_0x58148f[_0x2fbd76(0xac)]){_0x1d218b(_0x1c11f8,_0x523d07,_0x2fbd76(0x171));return;}try{_0x166367[_0x2fbd76(0x10f)](_0x5d5970[_0x58148f[_0x2fbd76(0xac)]]);}catch{_0x1d218b(_0x1c11f8,_0x523d07,_0x2fbd76(0x246));return;}_0x1c11f8[_0x2fbd76(0x165)][_0x58148f['extensionName']]=_0x166367;}_0x1c11f8['setSocket'](_0x523d07,_0x4e70a5,{'allowSynchronousEvents':_0x5e3bac[_0x2fbd76(0x106)],'generateMask':_0x5e3bac[_0x2fbd76(0x1e4)],'maxPayload':_0x5e3bac[_0x2fbd76(0x1d9)],'skipUTF8Validation':_0x5e3bac[_0x2fbd76(0x1a6)]});}),_0x5e3bac['finishRequest']?_0x5e3bac[_0x307c03(0xdf)](_0x1f1329,_0x1c11f8):_0x1f1329[_0x307c03(0x1db)]();}function _0x24b94a(_0x589a8e,_0x2465b4){const _0xdac26d=_0x4c5cf0;_0x589a8e['_readyState']=_0x4db7eb['CLOSING'],_0x589a8e[_0xdac26d(0xb1)]=!0x0,_0x589a8e[_0xdac26d(0x163)](_0xdac26d(0x148),_0x2465b4),_0x589a8e[_0xdac26d(0x17f)]();}function _0x138abb(_0x3d941b){const _0x1cce57=_0x4c5cf0;return _0x3d941b[_0x1cce57(0xde)]=_0x3d941b[_0x1cce57(0xd2)],_0x26bbc3[_0x1cce57(0x140)](_0x3d941b);}function _0x2df8c2(_0x56340b){const _0x5ba8af=_0x4c5cf0;return _0x56340b[_0x5ba8af(0xde)]=void 0x0,!_0x56340b[_0x5ba8af(0x1a3)]&&_0x56340b[_0x5ba8af(0x1a3)]!==''&&(_0x56340b[_0x5ba8af(0x1a3)]=_0x26bbc3[_0x5ba8af(0x15b)](_0x56340b['host'])?'':_0x56340b[_0x5ba8af(0x16c)]),_0x133680[_0x5ba8af(0x140)](_0x56340b);}function _0x1d218b(_0x45a837,_0x504935,_0xe83107){const _0x5c2404=_0x4c5cf0;_0x45a837['_readyState']=_0x4db7eb[_0x5c2404(0xf3)];const _0x5b4cae=new Error(_0xe83107);Error['captureStackTrace'](_0x5b4cae,_0x1d218b),_0x504935[_0x5c2404(0x209)]?(_0x504935[_0x203fa4]=!0x0,_0x504935['abort'](),_0x504935[_0x5c2404(0x1ee)]&&!_0x504935['socket']['destroyed']&&_0x504935[_0x5c2404(0x1ee)][_0x5c2404(0x1f1)](),process[_0x5c2404(0x114)](_0x24b94a,_0x45a837,_0x5b4cae)):(_0x504935[_0x5c2404(0x1f1)](_0x5b4cae),_0x504935[_0x5c2404(0x243)](_0x5c2404(0x148),_0x45a837[_0x5c2404(0x163)][_0x5c2404(0xa1)](_0x45a837,_0x5c2404(0x148))),_0x504935[_0x5c2404(0x243)](_0x5c2404(0xce),_0x45a837[_0x5c2404(0x17f)]['bind'](_0x45a837)));}function _0x26287e(_0x5723d0,_0x15ecf0,_0x1ff5bb){const _0x4bc9d1=_0x4c5cf0;if(_0x15ecf0){const _0x416efb=_0x1bd9e6(_0x15ecf0)?_0x15ecf0[_0x4bc9d1(0x1bd)]:_0x58c119(_0x15ecf0)[_0x4bc9d1(0x183)];_0x5723d0[_0x4bc9d1(0xe7)]?_0x5723d0[_0x4bc9d1(0x1b0)][_0x4bc9d1(0xf0)]+=_0x416efb:_0x5723d0[_0x4bc9d1(0x1f3)]+=_0x416efb;}if(_0x1ff5bb){const _0x39e94c=new Error(_0x4bc9d1(0x1d0)+_0x5723d0[_0x4bc9d1(0x1ff)]+'\x20('+_0x285896[_0x5723d0[_0x4bc9d1(0x1ff)]]+')');process[_0x4bc9d1(0x114)](_0x1ff5bb,_0x39e94c);}}function _0x51f588(_0x2451d7,_0x5c481b){const _0x3eb12b=_0x4c5cf0,_0x1253d9=this[_0x37ee62];_0x1253d9[_0x3eb12b(0x133)]=!0x0,_0x1253d9['_closeMessage']=_0x5c481b,_0x1253d9[_0x3eb12b(0xf7)]=_0x2451d7,_0x1253d9[_0x3eb12b(0xe7)][_0x37ee62]!==void 0x0&&(_0x1253d9[_0x3eb12b(0xe7)]['removeListener'](_0x3eb12b(0xe3),_0x1c42fe),process[_0x3eb12b(0x114)](_0x33c135,_0x1253d9[_0x3eb12b(0xe7)]),_0x2451d7===0x3ed?_0x1253d9[_0x3eb12b(0xce)]():_0x1253d9['close'](_0x2451d7,_0x5c481b));}function _0x4411e9(){const _0x83b065=_0x4c5cf0,_0x4c709b=this[_0x37ee62];_0x4c709b[_0x83b065(0x213)]||_0x4c709b[_0x83b065(0xe7)][_0x83b065(0x117)]();}function _0x1f94a9(_0x5b97f2){const _0x5cf47b=_0x4c5cf0,_0x304668=this[_0x37ee62];_0x304668[_0x5cf47b(0xe7)][_0x37ee62]!==void 0x0&&(_0x304668[_0x5cf47b(0xe7)][_0x5cf47b(0x245)]('data',_0x1c42fe),process['nextTick'](_0x33c135,_0x304668[_0x5cf47b(0xe7)]),_0x304668['close'](_0x5b97f2[_0x1e58dd])),_0x304668[_0x5cf47b(0xb1)]||(_0x304668[_0x5cf47b(0xb1)]=!0x0,_0x304668[_0x5cf47b(0x163)](_0x5cf47b(0x148),_0x5b97f2));}function _0x11aad4(){const _0x234c3d=_0x4c5cf0;this[_0x37ee62][_0x234c3d(0x17f)]();}function _0x2ffeb3(_0x2f8505,_0x310c4e){const _0x2efb67=_0x4c5cf0;this[_0x37ee62][_0x2efb67(0x163)]('message',_0x2f8505,_0x310c4e);}function _0x4fb3ec(_0x18a94d){const _0x3dff0a=_0x4c5cf0,_0x531ba2=this[_0x37ee62];_0x531ba2[_0x3dff0a(0x1b4)]&&_0x531ba2['pong'](_0x18a94d,!this[_0x3dff0a(0xa3)],_0x531aa2),_0x531ba2[_0x3dff0a(0x163)]('ping',_0x18a94d);}function _0x5bddad(_0x28088d){const _0x330667=_0x4c5cf0;this[_0x37ee62][_0x330667(0x163)](_0x330667(0x182),_0x28088d);}function _0x33c135(_0x7cd786){const _0x50059f=_0x4c5cf0;_0x7cd786[_0x50059f(0x117)]();}function _0x4385c3(_0x49d21e){const _0x29509b=_0x4c5cf0,_0x168fb1=this[_0x37ee62];_0x168fb1['readyState']!==_0x4db7eb[_0x29509b(0x1d2)]&&(_0x168fb1[_0x29509b(0x1ff)]===_0x4db7eb['OPEN']&&(_0x168fb1[_0x29509b(0x105)]=_0x4db7eb['CLOSING'],_0x1d64e4(_0x168fb1)),this['_socket'][_0x29509b(0x1db)](),_0x168fb1[_0x29509b(0xb1)]||(_0x168fb1[_0x29509b(0xb1)]=!0x0,_0x168fb1[_0x29509b(0x163)](_0x29509b(0x148),_0x49d21e)));}function _0x1d64e4(_0x3d1dba){const _0x141ab0=_0x4c5cf0;_0x3d1dba[_0x141ab0(0x186)]=setTimeout(_0x3d1dba[_0x141ab0(0xe7)][_0x141ab0(0x1f1)][_0x141ab0(0xa1)](_0x3d1dba[_0x141ab0(0xe7)]),_0x1c68e5);}function _0x507866(){const _0x512fd1=_0x4c5cf0,_0x577e6c=this[_0x37ee62];this[_0x512fd1(0x245)](_0x512fd1(0xce),_0x507866),this[_0x512fd1(0x245)]('data',_0x1c42fe),this[_0x512fd1(0x245)]('end',_0xbfacb1),_0x577e6c[_0x512fd1(0x105)]=_0x4db7eb[_0x512fd1(0xf3)];let _0x49e6df;!this[_0x512fd1(0x11c)][_0x512fd1(0xab)]&&!_0x577e6c[_0x512fd1(0x133)]&&!_0x577e6c[_0x512fd1(0x16f)][_0x512fd1(0x1f0)][_0x512fd1(0x216)]&&(_0x49e6df=_0x577e6c[_0x512fd1(0xe7)][_0x512fd1(0xfe)]())!==null&&_0x577e6c[_0x512fd1(0x16f)]['write'](_0x49e6df),_0x577e6c[_0x512fd1(0x16f)]['end'](),this[_0x37ee62]=void 0x0,clearTimeout(_0x577e6c['_closeTimer']),_0x577e6c[_0x512fd1(0x16f)][_0x512fd1(0x1f0)][_0x512fd1(0x198)]||_0x577e6c[_0x512fd1(0x16f)][_0x512fd1(0x1f0)][_0x512fd1(0x216)]?_0x577e6c[_0x512fd1(0x17f)]():(_0x577e6c['_receiver']['on'](_0x512fd1(0x148),_0x11aad4),_0x577e6c[_0x512fd1(0x16f)]['on'](_0x512fd1(0x1e5),_0x11aad4));}function _0x1c42fe(_0xdfe16e){const _0x4a535a=_0x4c5cf0;this[_0x37ee62][_0x4a535a(0x16f)]['write'](_0xdfe16e)||this['pause']();}function _0xbfacb1(){const _0x50383c=_0x4c5cf0,_0x170f3e=this[_0x37ee62];_0x170f3e[_0x50383c(0x105)]=_0x4db7eb[_0x50383c(0xf3)],_0x170f3e[_0x50383c(0x16f)][_0x50383c(0x1db)](),this[_0x50383c(0x1db)]();}function _0xd79204(){const _0x1498e1=_0x4c5cf0,_0x47147b=this[_0x37ee62];this[_0x1498e1(0x245)](_0x1498e1(0x148),_0xd79204),this['on'](_0x1498e1(0x148),_0x531aa2),_0x47147b&&(_0x47147b[_0x1498e1(0x105)]=_0x4db7eb[_0x1498e1(0xf3)],this[_0x1498e1(0x1f1)]());}return we;}var Oe,it;function Xt(){if(it)return Oe;it=0x1,Ie();const {Duplex:_0x47f599}=_0x3f6333;function _0x13771a(_0x1f2b86){const _0x25ed0c=_0x4511;_0x1f2b86[_0x25ed0c(0x163)](_0x25ed0c(0xce));}function _0x161608(){const _0x8aff9=_0x4511;!this[_0x8aff9(0xee)]&&this[_0x8aff9(0x1f0)][_0x8aff9(0x198)]&&this[_0x8aff9(0x1f1)]();}function _0x4d8ec2(_0x2a424c){const _0x1d97b1=_0x4511;this[_0x1d97b1(0x245)]('error',_0x4d8ec2),this['destroy'](),this[_0x1d97b1(0x153)](_0x1d97b1(0x148))===0x0&&this[_0x1d97b1(0x163)](_0x1d97b1(0x148),_0x2a424c);}function _0x2d3323(_0x47d086,_0x1fa1ce){const _0x3318fa=_0x4511;let _0x103567=!0x0;const _0x2d722c=new _0x47f599({..._0x1fa1ce,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x47d086['on'](_0x3318fa(0x240),function(_0x5f2a7a,_0x2d58b7){const _0x32a445=_0x3318fa,_0x2d974c=!_0x2d58b7&&_0x2d722c[_0x32a445(0x11c)][_0x32a445(0x191)]?_0x5f2a7a[_0x32a445(0x91)]():_0x5f2a7a;_0x2d722c['push'](_0x2d974c)||_0x47d086[_0x32a445(0x194)]();}),_0x47d086[_0x3318fa(0x243)](_0x3318fa(0x148),function(_0x5a7008){const _0x2078e4=_0x3318fa;_0x2d722c[_0x2078e4(0xee)]||(_0x103567=!0x1,_0x2d722c[_0x2078e4(0x1f1)](_0x5a7008));}),_0x47d086[_0x3318fa(0x243)](_0x3318fa(0xce),function(){const _0x3fbb75=_0x3318fa;_0x2d722c[_0x3fbb75(0xee)]||_0x2d722c['push'](null);}),_0x2d722c[_0x3318fa(0x1d7)]=function(_0x3345a3,_0x26d557){const _0x74ec71=_0x3318fa;if(_0x47d086['readyState']===_0x47d086[_0x74ec71(0x1d2)]){_0x26d557(_0x3345a3),process[_0x74ec71(0x114)](_0x13771a,_0x2d722c);return;}let _0x59ab48=!0x1;_0x47d086[_0x74ec71(0x243)](_0x74ec71(0x148),function(_0x594b4a){_0x59ab48=!0x0,_0x26d557(_0x594b4a);}),_0x47d086[_0x74ec71(0x243)](_0x74ec71(0xce),function(){_0x59ab48||_0x26d557(_0x3345a3),process['nextTick'](_0x13771a,_0x2d722c);}),_0x103567&&_0x47d086['terminate']();},_0x2d722c[_0x3318fa(0x168)]=function(_0x4ac426){const _0x73956c=_0x3318fa;if(_0x47d086['readyState']===_0x47d086[_0x73956c(0xcd)]){_0x47d086['once']('open',function(){const _0x321881=_0x73956c;_0x2d722c[_0x321881(0x168)](_0x4ac426);});return;}_0x47d086['_socket']!==null&&(_0x47d086['_socket'][_0x73956c(0x1f0)][_0x73956c(0x198)]?(_0x4ac426(),_0x2d722c[_0x73956c(0x11c)][_0x73956c(0xab)]&&_0x2d722c[_0x73956c(0x1f1)]()):(_0x47d086[_0x73956c(0xe7)][_0x73956c(0x243)](_0x73956c(0x1e5),function(){_0x4ac426();}),_0x47d086['close']()));},_0x2d722c[_0x3318fa(0x1de)]=function(){const _0x47978e=_0x3318fa;_0x47d086[_0x47978e(0x213)]&&_0x47d086[_0x47978e(0x117)]();},_0x2d722c['_write']=function(_0x3ec913,_0x3984ab,_0xe041f4){const _0x13cc71=_0x3318fa;if(_0x47d086[_0x13cc71(0x1ff)]===_0x47d086[_0x13cc71(0xcd)]){_0x47d086[_0x13cc71(0x243)]('open',function(){const _0x18760e=_0x13cc71;_0x2d722c[_0x18760e(0x96)](_0x3ec913,_0x3984ab,_0xe041f4);});return;}_0x47d086['send'](_0x3ec913,_0xe041f4);},_0x2d722c['on'](_0x3318fa(0x1db),_0x161608),_0x2d722c['on']('error',_0x4d8ec2),_0x2d722c;}return Oe=_0x2d3323,Oe;}Xt(),dt(),_t();var Zt=Ie();const Qt=jt(Zt);function _0x4511(_0x59cdf4,_0x39c727){const _0x1d9a48=_0x1d9a();return _0x4511=function(_0x4511ad,_0x123ea8){_0x4511ad=_0x4511ad-0x8e;let _0x598407=_0x1d9a48[_0x4511ad];return _0x598407;},_0x4511(_0x59cdf4,_0x39c727);}var Ce,nt;function Jt(){if(nt)return Ce;nt=0x1;const {tokenChars:_0x1fef16}=ne();function _0x1ee99b(_0x1ee0c8){const _0x5294b0=_0x4511,_0x3fc72c=new Set();let _0x581863=-0x1,_0x8deaa0=-0x1,_0x2faf4d=0x0;for(_0x2faf4d;_0x2faf4d<_0x1ee0c8[_0x5294b0(0x183)];_0x2faf4d++){const _0x216ede=_0x1ee0c8[_0x5294b0(0x193)](_0x2faf4d);if(_0x8deaa0===-0x1&&_0x1fef16[_0x216ede]===0x1)_0x581863===-0x1&&(_0x581863=_0x2faf4d);else{if(_0x2faf4d!==0x0&&(_0x216ede===0x20||_0x216ede===0x9))_0x8deaa0===-0x1&&_0x581863!==-0x1&&(_0x8deaa0=_0x2faf4d);else{if(_0x216ede===0x2c){if(_0x581863===-0x1)throw new SyntaxError(_0x5294b0(0xc2)+_0x2faf4d);_0x8deaa0===-0x1&&(_0x8deaa0=_0x2faf4d);const _0x299687=_0x1ee0c8[_0x5294b0(0x203)](_0x581863,_0x8deaa0);if(_0x3fc72c[_0x5294b0(0x152)](_0x299687))throw new SyntaxError(_0x5294b0(0xd1)+_0x299687+_0x5294b0(0x1ac));_0x3fc72c[_0x5294b0(0x235)](_0x299687),_0x581863=_0x8deaa0=-0x1;}else throw new SyntaxError(_0x5294b0(0xc2)+_0x2faf4d);}}}if(_0x581863===-0x1||_0x8deaa0!==-0x1)throw new SyntaxError(_0x5294b0(0xc1));const _0xd4a409=_0x1ee0c8['slice'](_0x581863,_0x2faf4d);if(_0x3fc72c[_0x5294b0(0x152)](_0xd4a409))throw new SyntaxError(_0x5294b0(0xd1)+_0xd4a409+_0x5294b0(0x1ac));return _0x3fc72c[_0x5294b0(0x235)](_0xd4a409),_0x3fc72c;}return Ce={'parse':_0x1ee99b},Ce;}var Te,ot;function er(){const _0x400e17=_0x585172;if(ot)return Te;ot=0x1;const _0x1109c9=_0x3c867a,_0x31c7d2=_0x4a8559,{Duplex:_0x242f06}=_0x3f6333,{createHash:_0x366040}=_0x461bbd,_0x151d12=pt(),_0x498d4e=he(),_0x24760c=Jt(),_0x3da08f=Ie(),{GUID:_0x3949f2,kWebSocket:_0x54a9cd}=V(),_0x152b77=/^[+/0-9A-Za-z]{22}==$/,_0x3e305c=0x0,_0x946c68=0x1,_0x3becec=0x2;class _0x5aafed extends _0x1109c9{constructor(_0xefa351,_0x1dda1d){const _0x21664a=_0x4511;if(super(),_0xefa351={'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':_0x3da08f,..._0xefa351},_0xefa351[_0x21664a(0x15f)]==null&&!_0xefa351[_0x21664a(0x22c)]&&!_0xefa351[_0x21664a(0x1e7)]||_0xefa351[_0x21664a(0x15f)]!=null&&(_0xefa351[_0x21664a(0x22c)]||_0xefa351[_0x21664a(0x1e7)])||_0xefa351[_0x21664a(0x22c)]&&_0xefa351['noServer'])throw new TypeError(_0x21664a(0x1dc));if(_0xefa351['port']!=null?(this[_0x21664a(0x1af)]=_0x31c7d2[_0x21664a(0x1e0)]((_0x1f9da7,_0x490dbb)=>{const _0x3bc3fb=_0x21664a,_0x2284cc=_0x31c7d2['STATUS_CODES'][0x1aa];_0x490dbb[_0x3bc3fb(0x172)](0x1aa,{'Content-Length':_0x2284cc[_0x3bc3fb(0x183)],'Content-Type':_0x3bc3fb(0x1c6)}),_0x490dbb[_0x3bc3fb(0x1db)](_0x2284cc);}),this[_0x21664a(0x1af)][_0x21664a(0x137)](_0xefa351['port'],_0xefa351['host'],_0xefa351[_0x21664a(0xb4)],_0x1dda1d)):_0xefa351[_0x21664a(0x22c)]&&(this['_server']=_0xefa351['server']),this[_0x21664a(0x1af)]){const _0x5ccf67=this['emit'][_0x21664a(0xa1)](this,'connection');this[_0x21664a(0x156)]=_0x2ca746(this[_0x21664a(0x1af)],{'listening':this[_0x21664a(0x163)][_0x21664a(0xa1)](this,'listening'),'error':this['emit']['bind'](this,_0x21664a(0x148)),'upgrade':(_0x47004e,_0x379b49,_0x1e7cca)=>{this['handleUpgrade'](_0x47004e,_0x379b49,_0x1e7cca,_0x5ccf67);}});}_0xefa351[_0x21664a(0x150)]===!0x0&&(_0xefa351[_0x21664a(0x150)]={}),_0xefa351[_0x21664a(0xe0)]&&(this[_0x21664a(0xe2)]=new Set(),this[_0x21664a(0x22a)]=!0x1),this[_0x21664a(0x1cd)]=_0xefa351,this[_0x21664a(0x143)]=_0x3e305c;}[_0x400e17(0x21f)](){const _0x3d83b6=_0x400e17;if(this[_0x3d83b6(0x1cd)][_0x3d83b6(0x1e7)])throw new Error(_0x3d83b6(0x8f));return this[_0x3d83b6(0x1af)]?this[_0x3d83b6(0x1af)][_0x3d83b6(0x21f)]():null;}[_0x400e17(0xce)](_0x4d233a){const _0x4e463e=_0x400e17;if(this[_0x4e463e(0x143)]===_0x3becec){_0x4d233a&&this['once']('close',()=>{_0x4d233a(new Error('The\x20server\x20is\x20not\x20running'));}),process[_0x4e463e(0x114)](_0x250364,this);return;}if(_0x4d233a&&this[_0x4e463e(0x243)](_0x4e463e(0xce),_0x4d233a),this[_0x4e463e(0x143)]!==_0x946c68){if(this[_0x4e463e(0x143)]=_0x946c68,this[_0x4e463e(0x1cd)][_0x4e463e(0x1e7)]||this[_0x4e463e(0x1cd)][_0x4e463e(0x22c)])this[_0x4e463e(0x1af)]&&(this[_0x4e463e(0x156)](),this['_removeListeners']=this[_0x4e463e(0x1af)]=null),this['clients']?this[_0x4e463e(0xe2)][_0x4e463e(0x1bd)]?this[_0x4e463e(0x22a)]=!0x0:process[_0x4e463e(0x114)](_0x250364,this):process[_0x4e463e(0x114)](_0x250364,this);else{const _0x42eb6a=this[_0x4e463e(0x1af)];this[_0x4e463e(0x156)](),this[_0x4e463e(0x156)]=this['_server']=null,_0x42eb6a['close'](()=>{_0x250364(this);});}}}[_0x400e17(0xaf)](_0x142864){const _0x43a1a8=_0x400e17;if(this['options']['path']){const _0x8e8e48=_0x142864[_0x43a1a8(0x93)][_0x43a1a8(0x103)]('?');if((_0x8e8e48!==-0x1?_0x142864[_0x43a1a8(0x93)][_0x43a1a8(0x203)](0x0,_0x8e8e48):_0x142864[_0x43a1a8(0x93)])!==this[_0x43a1a8(0x1cd)][_0x43a1a8(0xde)])return!0x1;}return!0x0;}['handleUpgrade'](_0x1199fd,_0x56a531,_0x57e1a4,_0x26f331){const _0x1116e4=_0x400e17;_0x56a531['on'](_0x1116e4(0x148),_0x1414a1);const _0x37dd8e=_0x1199fd[_0x1116e4(0x1b8)][_0x1116e4(0x19d)],_0x2079a3=_0x1199fd[_0x1116e4(0x1b8)][_0x1116e4(0x13d)],_0x5e89e7=+_0x1199fd[_0x1116e4(0x1b8)][_0x1116e4(0x1ed)];if(_0x1199fd['method']!==_0x1116e4(0x12e)){_0x57f280(this,_0x1199fd,_0x56a531,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x2079a3===void 0x0||_0x2079a3[_0x1116e4(0x144)]()!=='websocket'){_0x57f280(this,_0x1199fd,_0x56a531,0x190,_0x1116e4(0x1f6));return;}if(_0x37dd8e===void 0x0||!_0x152b77[_0x1116e4(0x1aa)](_0x37dd8e)){_0x57f280(this,_0x1199fd,_0x56a531,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header');return;}if(_0x5e89e7!==0x8&&_0x5e89e7!==0xd){_0x57f280(this,_0x1199fd,_0x56a531,0x190,'Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header');return;}if(!this[_0x1116e4(0xaf)](_0x1199fd)){_0x1aeb5d(_0x56a531,0x190);return;}const _0x55ad5b=_0x1199fd[_0x1116e4(0x1b8)][_0x1116e4(0x10d)];let _0x731fdb=new Set();if(_0x55ad5b!==void 0x0)try{_0x731fdb=_0x24760c[_0x1116e4(0x11a)](_0x55ad5b);}catch{_0x57f280(this,_0x1199fd,_0x56a531,0x190,'Invalid\x20Sec-WebSocket-Protocol\x20header');return;}const _0x141feb=_0x1199fd[_0x1116e4(0x1b8)][_0x1116e4(0x1cf)],_0x453080={};if(this[_0x1116e4(0x1cd)]['perMessageDeflate']&&_0x141feb!==void 0x0){const _0x4fe1c8=new _0x498d4e(this[_0x1116e4(0x1cd)]['perMessageDeflate'],!0x0,this['options']['maxPayload']);try{const _0x273bbb=_0x151d12[_0x1116e4(0x11a)](_0x141feb);_0x273bbb[_0x498d4e['extensionName']]&&(_0x4fe1c8['accept'](_0x273bbb[_0x498d4e[_0x1116e4(0xac)]]),_0x453080[_0x498d4e[_0x1116e4(0xac)]]=_0x4fe1c8);}catch{_0x57f280(this,_0x1199fd,_0x56a531,0x190,'Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header');return;}}if(this[_0x1116e4(0x1cd)]['verifyClient']){const _0x4badfd={'origin':_0x1199fd['headers'][''+(_0x5e89e7===0x8?_0x1116e4(0x173):_0x1116e4(0x9d))],'secure':!!(_0x1199fd[_0x1116e4(0x1ee)][_0x1116e4(0x1da)]||_0x1199fd[_0x1116e4(0x1ee)][_0x1116e4(0xdb)]),'req':_0x1199fd};if(this[_0x1116e4(0x1cd)]['verifyClient'][_0x1116e4(0x183)]===0x2){this[_0x1116e4(0x1cd)][_0x1116e4(0x1e8)](_0x4badfd,(_0x2d6b8d,_0x3e1ee6,_0x580d76,_0x1b58e3)=>{const _0x1d309d=_0x1116e4;if(!_0x2d6b8d)return _0x1aeb5d(_0x56a531,_0x3e1ee6||0x191,_0x580d76,_0x1b58e3);this[_0x1d309d(0xc9)](_0x453080,_0x37dd8e,_0x731fdb,_0x1199fd,_0x56a531,_0x57e1a4,_0x26f331);});return;}if(!this[_0x1116e4(0x1cd)]['verifyClient'](_0x4badfd))return _0x1aeb5d(_0x56a531,0x191);}this['completeUpgrade'](_0x453080,_0x37dd8e,_0x731fdb,_0x1199fd,_0x56a531,_0x57e1a4,_0x26f331);}['completeUpgrade'](_0x13738d,_0x4d765f,_0x8e7bd4,_0x22a76,_0x565dc7,_0x1af9a4,_0x238d7e){const _0x166504=_0x400e17;if(!_0x565dc7[_0x166504(0x17c)]||!_0x565dc7[_0x166504(0x230)])return _0x565dc7['destroy']();if(_0x565dc7[_0x54a9cd])throw new Error(_0x166504(0x18f));if(this[_0x166504(0x143)]>_0x3e305c)return _0x1aeb5d(_0x565dc7,0x1f7);const _0x19a31a=['HTTP/1.1\x20101\x20Switching\x20Protocols',_0x166504(0x19f),_0x166504(0xb3),_0x166504(0xe6)+_0x366040(_0x166504(0x170))['update'](_0x4d765f+_0x3949f2)[_0x166504(0x10b)](_0x166504(0xf1))],_0x17b907=new this[(_0x166504(0x1cd))][(_0x166504(0x94))](null,void 0x0,this['options']);if(_0x8e7bd4[_0x166504(0x1bd)]){const _0xec0750=this['options'][_0x166504(0x111)]?this[_0x166504(0x1cd)]['handleProtocols'](_0x8e7bd4,_0x22a76):_0x8e7bd4[_0x166504(0x1d8)]()[_0x166504(0x212)]()['value'];_0xec0750&&(_0x19a31a['push'](_0x166504(0x118)+_0xec0750),_0x17b907[_0x166504(0x197)]=_0xec0750);}if(_0x13738d[_0x498d4e[_0x166504(0xac)]]){const _0x2883ab=_0x13738d[_0x498d4e['extensionName']]['params'],_0x2bfcc2=_0x151d12[_0x166504(0x157)]({[_0x498d4e[_0x166504(0xac)]]:[_0x2883ab]});_0x19a31a['push'](_0x166504(0xe1)+_0x2bfcc2),_0x17b907[_0x166504(0x165)]=_0x13738d;}this[_0x166504(0x163)]('headers',_0x19a31a,_0x22a76),_0x565dc7[_0x166504(0x97)](_0x19a31a[_0x166504(0x16a)]('\x0d\x0a')[_0x166504(0xad)]('\x0d\x0a')),_0x565dc7[_0x166504(0x245)](_0x166504(0x148),_0x1414a1),_0x17b907[_0x166504(0x17e)](_0x565dc7,_0x1af9a4,{'allowSynchronousEvents':this['options'][_0x166504(0x106)],'maxPayload':this[_0x166504(0x1cd)][_0x166504(0x1d9)],'skipUTF8Validation':this['options']['skipUTF8Validation']}),this[_0x166504(0xe2)]&&(this[_0x166504(0xe2)][_0x166504(0x235)](_0x17b907),_0x17b907['on'](_0x166504(0xce),()=>{const _0x43382c=_0x166504;this['clients'][_0x43382c(0x151)](_0x17b907),this[_0x43382c(0x22a)]&&!this[_0x43382c(0xe2)][_0x43382c(0x1bd)]&&process[_0x43382c(0x114)](_0x250364,this);})),_0x238d7e(_0x17b907,_0x22a76);}}Te=_0x5aafed;function _0x2ca746(_0x52ef14,_0x3b8fc0){for(const _0x376931 of Object['keys'](_0x3b8fc0))_0x52ef14['on'](_0x376931,_0x3b8fc0[_0x376931]);return function(){const _0x328b88=_0x4511;for(const _0x286c52 of Object['keys'](_0x3b8fc0))_0x52ef14[_0x328b88(0x245)](_0x286c52,_0x3b8fc0[_0x286c52]);};}function _0x250364(_0x57bf5f){const _0x4a92a6=_0x400e17;_0x57bf5f['_state']=_0x3becec,_0x57bf5f['emit'](_0x4a92a6(0xce));}function _0x1414a1(){const _0xa7305a=_0x400e17;this[_0xa7305a(0x1f1)]();}function _0x1aeb5d(_0x363465,_0x33f8a6,_0x75d871,_0x55adf9){const _0x3eaa87=_0x400e17;_0x75d871=_0x75d871||_0x31c7d2[_0x3eaa87(0x13b)][_0x33f8a6],_0x55adf9={'Connection':_0x3eaa87(0xce),'Content-Type':_0x3eaa87(0x15d),'Content-Length':Buffer[_0x3eaa87(0x196)](_0x75d871),..._0x55adf9},_0x363465[_0x3eaa87(0x243)]('finish',_0x363465[_0x3eaa87(0x1f1)]),_0x363465[_0x3eaa87(0x1db)]('HTTP/1.1\x20'+_0x33f8a6+'\x20'+_0x31c7d2[_0x3eaa87(0x13b)][_0x33f8a6]+'\x0d\x0a'+Object[_0x3eaa87(0x1e9)](_0x55adf9)[_0x3eaa87(0xd0)](_0x3a01e1=>_0x3a01e1+':\x20'+_0x55adf9[_0x3a01e1])['join']('\x0d\x0a')+'\x0d\x0a\x0d\x0a'+_0x75d871);}function _0x57f280(_0xf2d19e,_0x1cae50,_0x55f7cc,_0xb5c4f3,_0x17f2ef){const _0x42b1b0=_0x400e17;if(_0xf2d19e[_0x42b1b0(0x153)](_0x42b1b0(0x129))){const _0x2250f3=new Error(_0x17f2ef);Error[_0x42b1b0(0x134)](_0x2250f3,_0x57f280),_0xf2d19e[_0x42b1b0(0x163)]('wsClientError',_0x2250f3,_0x55f7cc,_0x1cae50);}else _0x1aeb5d(_0x55f7cc,_0xb5c4f3,_0x17f2ef);}return Te;}er();var tr=Object['getOwnPropertyDescriptor'],rr=(_0x113ac9,_0x2fe687,_0x2b4b63,_0x44e4d0)=>{const _0x1943fe=_0x585172;for(var _0x1f9d66=_0x44e4d0>0x1?void 0x0:_0x44e4d0?tr(_0x2fe687,_0x2b4b63):_0x2fe687,_0x539d43=_0x113ac9[_0x1943fe(0x183)]-0x1,_0x159fbf;_0x539d43>=0x0;_0x539d43--)(_0x159fbf=_0x113ac9[_0x539d43])&&(_0x1f9d66=_0x159fbf(_0x1f9d66)||_0x1f9d66);return _0x1f9d66;},sr=(_0x4f6299,_0x2c4377)=>(_0x526696,_0x1ca3e8)=>_0x2c4377(_0x526696,_0x1ca3e8,_0x4f6299);let Ne=class extends _0x356f75{constructor(_0x5313c8){const _0x54c300=_0x585172;super(),this[_0x54c300(0x187)]=_0x5313c8;}['createSocket'](_0x2d67a6){const _0x5d03d3=_0x585172;var _0x36c32e;const _0x1a860c=(_0x36c32e=this[_0x5d03d3(0x187)]['getConfig'](Be))==null?void 0x0:_0x36c32e['customHeaders'];try{const _0x4f033e=new Qt(_0x2d67a6,{'headers':{..._0x1a860c}}),_0x5889f8=new _0x3257f8();return{'URL':_0x2d67a6,'close':(_0x443a8e,_0x47f25c)=>{const _0x4926dc=_0x5d03d3;_0x4f033e[_0x4926dc(0xce)](_0x443a8e,_0x47f25c),_0x5889f8[_0x4926dc(0x17a)]();},'send':_0x3f76be=>{const _0x4513e0=_0x5d03d3;_0x4f033e[_0x4513e0(0x218)](_0x3f76be);},'open$':new _0x90d62b(_0x81e7a=>{const _0x258568=_0x5d03d3,_0x120dce=_0x272053=>_0x81e7a[_0x258568(0x212)](_0x272053);_0x4f033e['addEventListener'](_0x258568(0xb2),_0x120dce),_0x5889f8[_0x258568(0x235)](_0x3e7eff(()=>_0x4f033e[_0x258568(0x178)]('open',_0x120dce)));})[_0x5d03d3(0xf5)](_0x4aacc2()),'close$':new _0x90d62b(_0x200be6=>{const _0x7d0f6b=_0x5d03d3,_0x163313=_0x5e2ccd=>_0x200be6['next'](_0x5e2ccd);_0x4f033e[_0x7d0f6b(0xc6)](_0x7d0f6b(0xce),_0x163313),_0x5889f8['add'](_0x3e7eff(()=>_0x4f033e['removeEventListener'](_0x7d0f6b(0xce),_0x163313)));})['pipe'](_0x4aacc2()),'error$':new _0x90d62b(_0xb1af4d=>{const _0x2af0ef=_0x5d03d3,_0x2b6644=_0x9923b8=>_0xb1af4d[_0x2af0ef(0x212)](_0x9923b8);_0x4f033e[_0x2af0ef(0xc6)]('error',_0x2b6644),_0x5889f8[_0x2af0ef(0x235)](_0x3e7eff(()=>_0x4f033e[_0x2af0ef(0x178)](_0x2af0ef(0x148),_0x2b6644)));})[_0x5d03d3(0xf5)](_0x4aacc2()),'message$':new _0x90d62b(_0x2c15a5=>{const _0x1cc579=_0x5d03d3,_0x4e25b7=_0x5c6675=>_0x2c15a5[_0x1cc579(0x212)](_0x5c6675);_0x4f033e[_0x1cc579(0xc6)](_0x1cc579(0x240),_0x4e25b7),_0x5889f8[_0x1cc579(0x235)](_0x3e7eff(()=>_0x4f033e['removeEventListener'](_0x1cc579(0x240),_0x4e25b7)));})[_0x5d03d3(0xf5)](_0x4aacc2())};}catch(_0x1d646a){return console[_0x5d03d3(0x148)](_0x1d646a),null;}}};Ne=rr([sr(0x0,_0x129f20)],Ne);var ir=Object[_0x585172(0x231)],nr=Object[_0x585172(0xe9)],or=(_0x5eaadb,_0x2949fa,_0x167c03)=>_0x2949fa in _0x5eaadb?ir(_0x5eaadb,_0x2949fa,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x167c03}):_0x5eaadb[_0x2949fa]=_0x167c03,ar=(_0x556cb3,_0x3d3c7b,_0x4c676f,_0xc5c67d)=>{const _0x38ca41=_0x585172;for(var _0x467175=_0xc5c67d>0x1?void 0x0:_0xc5c67d?nr(_0x3d3c7b,_0x4c676f):_0x3d3c7b,_0x1dd778=_0x556cb3[_0x38ca41(0x183)]-0x1,_0x2bae0e;_0x1dd778>=0x0;_0x1dd778--)(_0x2bae0e=_0x556cb3[_0x1dd778])&&(_0x467175=_0x2bae0e(_0x467175)||_0x467175);return _0x467175;},ke=(_0x11bb95,_0x20b197)=>(_0x1ad421,_0x5c067a)=>_0x20b197(_0x1ad421,_0x5c067a,_0x11bb95),lr=(_0x24c95a,_0x46c338,_0x44ef60)=>or(_0x24c95a,_0x46c338+'',_0x44ef60);let Pe=class extends _0x2be788{constructor(_0x548f25=Ft,_0x594c28,_0xd2aadf,_0x31f083){const _0x31ba1c=_0x585172;_0x548f25['customHeaders']||_0x594c28[_0x31ba1c(0x100)](_0x31ba1c(0x1dd)),super(),this[_0x31ba1c(0x187)]=_0xd2aadf,this[_0x31ba1c(0x1cb)]=_0x31f083,this[_0x31ba1c(0x187)][_0x31ba1c(0x1df)](Be,_0x548f25);}[_0x585172(0xed)](){const _0xa43be5=_0x585172;this[_0xa43be5(0xb7)]();}['_registerDependencies'](){const _0x15c864=_0x585172;_0x56d066(this[_0x15c864(0x1cb)],[[_0x7188b2,{'useClass':Ne}]]);}};lr(Pe,_0x585172(0xa5),'UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN'),Pe=ar([_0x3abdaf(_0x2ebb85),ke(0x1,_0x2e6a15),ke(0x2,_0x129f20),ke(0x3,_0x43cba4(_0x1482b4))],Pe);var fr=Object['getOwnPropertyDescriptor'],cr=(_0x332cb6,_0x26644e,_0x2d159d,_0x1f4cb1)=>{const _0x3751c7=_0x585172;for(var _0x4cdd77=_0x1f4cb1>0x1?void 0x0:_0x1f4cb1?fr(_0x26644e,_0x2d159d):_0x26644e,_0x472417=_0x332cb6[_0x3751c7(0x183)]-0x1,_0x3dbe9a;_0x472417>=0x0;_0x472417--)(_0x3dbe9a=_0x332cb6[_0x472417])&&(_0x4cdd77=_0x3dbe9a(_0x4cdd77)||_0x4cdd77);return _0x4cdd77;},se=(_0x16dcc0,_0x20a147)=>(_0x2e8e21,_0xc7bc8a)=>_0x20a147(_0x2e8e21,_0xc7bc8a,_0x16dcc0);let at=class extends _0x1e8009{constructor(_0x11b9c6,_0x52ffae,_0x2cdebe,_0x1f893c,_0x35480f){const _0x199227=_0x585172;super(_0x11b9c6,_0x52ffae,_0x2cdebe,_0x1f893c,_0x35480f);const _0x11aacf=this['_configService'][_0x199227(0xcf)](Be);this[_0x199227(0x1a9)][_0x199227(0x221)]({'interceptor':(_0x538b83,_0x484aa6)=>{const _0x586a43=_0x199227;var _0x5a4cab;const _0x2d3314=_0x538b83[_0x586a43(0x1b8)];return(_0x5a4cab=_0x11aacf==null?void 0x0:_0x11aacf[_0x586a43(0xca)])!=null&&_0x5a4cab[_0x586a43(0xd5)]&&_0x2d3314[_0x586a43(0x1fe)]('Cookie',_0x11aacf[_0x586a43(0xca)]['cookie']),_0x484aa6(_0x538b83);}});}async[_0x585172(0x18e)](_0x23490b){return this['_doCreateSocket'](_0x23490b);}};at=cr([se(0x0,_0x43cba4(_0x1482b4)),se(0x1,_0x43cba4(_0x546a1b)),se(0x2,_0x129f20),se(0x3,_0x2e6a15),se(0x4,_0x382062)],at);export{Be as COLLABORATION_CLIENT_NODE_CONFIG_KEY,at as NodeCollaborationSocketService,Pe as UniverCollaborationClientNodePlugin};