@univerjs-pro/collaboration-client-node 0.6.7-experimental.20250331-fa407d3 → 0.6.7-experimental.20250401-40103f6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x51ee62=_0x1237;(function(_0x435ca6,_0x53c232){const _0x57cb82=_0x1237,_0x29f90f=_0x435ca6();while(!![]){try{const _0x297ade=-parseInt(_0x57cb82(0x2e9))/0x1+parseInt(_0x57cb82(0x206))/0x2*(parseInt(_0x57cb82(0x254))/0x3)+parseInt(_0x57cb82(0x30f))/0x4+-parseInt(_0x57cb82(0x2b4))/0x5+parseInt(_0x57cb82(0x20d))/0x6*(-parseInt(_0x57cb82(0x25e))/0x7)+-parseInt(_0x57cb82(0x30c))/0x8*(-parseInt(_0x57cb82(0x2f1))/0x9)+parseInt(_0x57cb82(0x283))/0xa*(parseInt(_0x57cb82(0x29f))/0xb);if(_0x297ade===_0x53c232)break;else _0x29f90f['push'](_0x29f90f['shift']());}catch(_0x1f559e){_0x29f90f['push'](_0x29f90f['shift']());}}}(_0x1c48,0x2ebf5));Object[_0x51ee62(0x1a4)](exports,Symbol[_0x51ee62(0x2ce)],{'value':_0x51ee62(0x1c5)});const st=require('@univerjs-pro/collaboration-client'),A=require(_0x51ee62(0x1d7)),it=require('@univerjs/network'),V=require('rxjs'),nt=require(_0x51ee62(0x178)),vt=require(_0x51ee62(0x287)),ot=require('http'),St=require('net'),Et=require(_0x51ee62(0x31a)),Le=require(_0x51ee62(0x1c1)),oe=require('stream'),xt=require(_0x51ee62(0x240)),bt=require(_0x51ee62(0x173)),wt=require(_0x51ee62(0x1f8)),Ot=require(_0x51ee62(0x1cc)),fe=_0x51ee62(0x2f5),Ct={'customHeaders':{}};function _0x1237(_0x1cf99e,_0x3d574f){const _0x1c483f=_0x1c48();return _0x1237=function(_0x12377c,_0x1b14f5){_0x12377c=_0x12377c-0x171;let _0x31668d=_0x1c483f[_0x12377c];return _0x31668d;},_0x1237(_0x1cf99e,_0x3d574f);}function Tt(_0xa79211){const _0x2657f9=_0x51ee62;return _0xa79211&&_0xa79211[_0x2657f9(0x2ac)]&&Object[_0x2657f9(0x205)][_0x2657f9(0x2e5)][_0x2657f9(0x1ea)](_0xa79211,_0x2657f9(0x2fe))?_0xa79211[_0x2657f9(0x2fe)]:_0xa79211;}function at(_0x2d7ddc){const _0x428aad=_0x51ee62;if(Object[_0x428aad(0x205)]['hasOwnProperty'][_0x428aad(0x1ea)](_0x2d7ddc,'__esModule'))return _0x2d7ddc;var _0x21ee7a=_0x2d7ddc[_0x428aad(0x2fe)];if(typeof _0x21ee7a==_0x428aad(0x29a)){var _0x29d54b=function _0x28021b(){const _0x3a644a=_0x428aad;return this instanceof _0x28021b?Reflect['construct'](_0x21ee7a,arguments,this[_0x3a644a(0x1c9)]):_0x21ee7a[_0x3a644a(0x338)](this,arguments);};_0x29d54b[_0x428aad(0x205)]=_0x21ee7a[_0x428aad(0x205)];}else _0x29d54b={};return Object[_0x428aad(0x1a4)](_0x29d54b,_0x428aad(0x2ac),{'value':!0x0}),Object[_0x428aad(0x33f)](_0x2d7ddc)['forEach'](function(_0x3af6f5){const _0x1b58d3=_0x428aad;var _0x1e0525=Object['getOwnPropertyDescriptor'](_0x2d7ddc,_0x3af6f5);Object['defineProperty'](_0x29d54b,_0x3af6f5,_0x1e0525[_0x1b58d3(0x198)]?_0x1e0525:{'enumerable':!0x0,'get':function(){return _0x2d7ddc[_0x3af6f5];}});}),_0x29d54b;}var se={'exports':{}},ge,Ge;function H(){const _0x2d4e6d=_0x51ee62;if(Ge)return ge;Ge=0x1;const _0x137b3e=[_0x2d4e6d(0x2bb),_0x2d4e6d(0x1cd),_0x2d4e6d(0x2dc)],_0x19ec72=typeof Blob<'u';return _0x19ec72&&_0x137b3e['push']('blob'),ge={'BINARY_TYPES':_0x137b3e,'EMPTY_BUFFER':Buffer['alloc'](0x0),'GUID':'258EAFA5-E914-47DA-95CA-C5AB0DC85B11','hasBlob':_0x19ec72,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol(_0x2d4e6d(0x2c2)),'kStatusCode':Symbol(_0x2d4e6d(0x281)),'kWebSocket':Symbol(_0x2d4e6d(0x270)),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x51ee62(0x2eb)](Object['defineProperty']({'__proto__':null,'default':Nt},Symbol[_0x51ee62(0x2ce)],{'value':_0x51ee62(0x1c5)})),Lt=at(kt);var Ve;function ce(){const _0xcf20f5=_0x51ee62;if(Ve)return se[_0xcf20f5(0x25a)];Ve=0x1;const {EMPTY_BUFFER:_0x2f4d62}=H(),_0x517cdb=Buffer[Symbol[_0xcf20f5(0x1e8)]];function _0xf40f37(_0x74c8f2,_0x1accb0){const _0x3c2d39=_0xcf20f5;if(_0x74c8f2[_0x3c2d39(0x2a1)]===0x0)return _0x2f4d62;if(_0x74c8f2[_0x3c2d39(0x2a1)]===0x1)return _0x74c8f2[0x0];const _0x1e59ad=Buffer['allocUnsafe'](_0x1accb0);let _0x3ce14e=0x0;for(let _0x2e6edd=0x0;_0x2e6edd<_0x74c8f2[_0x3c2d39(0x2a1)];_0x2e6edd++){const _0x2786e8=_0x74c8f2[_0x2e6edd];_0x1e59ad['set'](_0x2786e8,_0x3ce14e),_0x3ce14e+=_0x2786e8[_0x3c2d39(0x2a1)];}return _0x3ce14e<_0x1accb0?new _0x517cdb(_0x1e59ad[_0x3c2d39(0x1f8)],_0x1e59ad[_0x3c2d39(0x1b6)],_0x3ce14e):_0x1e59ad;}function _0x23d708(_0x486fa5,_0x4d4e86,_0x32f697,_0x39c361,_0x455ab8){for(let _0x5e51c2=0x0;_0x5e51c2<_0x455ab8;_0x5e51c2++)_0x32f697[_0x39c361+_0x5e51c2]=_0x486fa5[_0x5e51c2]^_0x4d4e86[_0x5e51c2&0x3];}function _0x4a15b3(_0x3e9f83,_0x4415b4){for(let _0xb35472=0x0;_0xb35472<_0x3e9f83['length'];_0xb35472++)_0x3e9f83[_0xb35472]^=_0x4415b4[_0xb35472&0x3];}function _0x9a550c(_0x598970){const _0x3ac45d=_0xcf20f5;return _0x598970[_0x3ac45d(0x2a1)]===_0x598970['buffer'][_0x3ac45d(0x1bb)]?_0x598970[_0x3ac45d(0x1f8)]:_0x598970[_0x3ac45d(0x1f8)]['slice'](_0x598970[_0x3ac45d(0x1b6)],_0x598970[_0x3ac45d(0x1b6)]+_0x598970[_0x3ac45d(0x2a1)]);}function _0x17fa87(_0xebdce5){const _0xd8f10d=_0xcf20f5;if(_0x17fa87[_0xd8f10d(0x228)]=!0x0,Buffer[_0xd8f10d(0x290)](_0xebdce5))return _0xebdce5;let _0x1c02c6;return _0xebdce5 instanceof ArrayBuffer?_0x1c02c6=new _0x517cdb(_0xebdce5):ArrayBuffer['isView'](_0xebdce5)?_0x1c02c6=new _0x517cdb(_0xebdce5[_0xd8f10d(0x1f8)],_0xebdce5[_0xd8f10d(0x1b6)],_0xebdce5[_0xd8f10d(0x1bb)]):(_0x1c02c6=Buffer['from'](_0xebdce5),_0x17fa87[_0xd8f10d(0x228)]=!0x1),_0x1c02c6;}if(se[_0xcf20f5(0x25a)]={'concat':_0xf40f37,'mask':_0x23d708,'toArrayBuffer':_0x9a550c,'toBuffer':_0x17fa87,'unmask':_0x4a15b3},!process[_0xcf20f5(0x323)][_0xcf20f5(0x212)])try{const _0x19192b=Lt;se['exports'][_0xcf20f5(0x202)]=function(_0xbf96f3,_0x3e8efa,_0x3c3c10,_0x6855bc,_0x4bd426){const _0xca3be2=_0xcf20f5;_0x4bd426<0x30?_0x23d708(_0xbf96f3,_0x3e8efa,_0x3c3c10,_0x6855bc,_0x4bd426):_0x19192b[_0xca3be2(0x202)](_0xbf96f3,_0x3e8efa,_0x3c3c10,_0x6855bc,_0x4bd426);},se[_0xcf20f5(0x25a)][_0xcf20f5(0x242)]=function(_0x37aeaf,_0x1a04d1){const _0xf6cd22=_0xcf20f5;_0x37aeaf[_0xf6cd22(0x2a1)]<0x20?_0x4a15b3(_0x37aeaf,_0x1a04d1):_0x19192b['unmask'](_0x37aeaf,_0x1a04d1);};}catch{}return se[_0xcf20f5(0x25a)];}var ye,He;function Pt(){const _0x52f4e9=_0x51ee62;if(He)return ye;He=0x1;const _0x5e223d=Symbol(_0x52f4e9(0x296)),_0x51f8a5=Symbol(_0x52f4e9(0x32c));class _0xb82531{constructor(_0x16abe5){const _0x11844a=_0x52f4e9;this[_0x5e223d]=()=>{const _0x4de000=_0x1237;this[_0x4de000(0x255)]--,this[_0x51f8a5]();},this[_0x11844a(0x308)]=_0x16abe5||0x1/0x0,this[_0x11844a(0x26b)]=[],this[_0x11844a(0x255)]=0x0;}[_0x52f4e9(0x2d9)](_0x5e1bab){const _0x172a2b=_0x52f4e9;this['jobs'][_0x172a2b(0x2d0)](_0x5e1bab),this[_0x51f8a5]();}[_0x51f8a5](){const _0x516817=_0x52f4e9;if(this[_0x516817(0x255)]!==this[_0x516817(0x308)]&&this[_0x516817(0x26b)][_0x516817(0x2a1)]){const _0x8e62b9=this[_0x516817(0x26b)]['shift']();this[_0x516817(0x255)]++,_0x8e62b9(this[_0x5e223d]);}}}return ye=_0xb82531,ye;}var ve,ze;function he(){const _0x34acd9=_0x51ee62;if(ze)return ve;ze=0x1;const _0x24f511=bt,_0xafe7c4=ce(),_0x5905a0=Pt(),{kStatusCode:_0x470e80}=H(),_0x3983d5=Buffer[Symbol[_0x34acd9(0x1e8)]],_0x22310e=Buffer[_0x34acd9(0x248)]([0x0,0x0,0xff,0xff]),_0x2e8b87=Symbol(_0x34acd9(0x28c)),_0x3ca2dd=Symbol(_0x34acd9(0x23d)),_0x14647c=Symbol(_0x34acd9(0x24e)),_0x1520c7=Symbol('buffers'),_0xe2caaa=Symbol('error');let _0xbeb675;class _0x2da46c{constructor(_0x574f5b,_0x2e82e1,_0x25fc6f){const _0x519940=_0x34acd9;if(this['_maxPayload']=_0x25fc6f|0x0,this[_0x519940(0x31e)]=_0x574f5b||{},this[_0x519940(0x201)]=this['_options'][_0x519940(0x22a)]!==void 0x0?this[_0x519940(0x31e)][_0x519940(0x22a)]:0x400,this[_0x519940(0x30a)]=!!_0x2e82e1,this[_0x519940(0x1d5)]=null,this[_0x519940(0x340)]=null,this[_0x519940(0x1d8)]=null,!_0xbeb675){const _0x441bd6=this[_0x519940(0x31e)]['concurrencyLimit']!==void 0x0?this[_0x519940(0x31e)][_0x519940(0x2cb)]:0xa;_0xbeb675=new _0x5905a0(_0x441bd6);}}static get['extensionName'](){const _0x29558b=_0x34acd9;return _0x29558b(0x28c);}['offer'](){const _0x3609dd=_0x34acd9,_0x48540e={};return this[_0x3609dd(0x31e)]['serverNoContextTakeover']&&(_0x48540e[_0x3609dd(0x339)]=!0x0),this[_0x3609dd(0x31e)][_0x3609dd(0x1d1)]&&(_0x48540e[_0x3609dd(0x2ae)]=!0x0),this[_0x3609dd(0x31e)][_0x3609dd(0x253)]&&(_0x48540e[_0x3609dd(0x2dd)]=this[_0x3609dd(0x31e)][_0x3609dd(0x253)]),this[_0x3609dd(0x31e)][_0x3609dd(0x199)]?_0x48540e[_0x3609dd(0x33e)]=this[_0x3609dd(0x31e)][_0x3609dd(0x199)]:this['_options'][_0x3609dd(0x199)]==null&&(_0x48540e[_0x3609dd(0x33e)]=!0x0),_0x48540e;}[_0x34acd9(0x1ef)](_0x5c460f){const _0xb3dc7f=_0x34acd9;return _0x5c460f=this[_0xb3dc7f(0x331)](_0x5c460f),this[_0xb3dc7f(0x1d8)]=this[_0xb3dc7f(0x30a)]?this[_0xb3dc7f(0x1b8)](_0x5c460f):this[_0xb3dc7f(0x17b)](_0x5c460f),this[_0xb3dc7f(0x1d8)];}[_0x34acd9(0x195)](){const _0x154148=_0x34acd9;if(this['_inflate']&&(this[_0x154148(0x340)][_0x154148(0x197)](),this[_0x154148(0x340)]=null),this[_0x154148(0x1d5)]){const _0x52f233=this['_deflate'][_0x14647c];this[_0x154148(0x1d5)][_0x154148(0x197)](),this[_0x154148(0x1d5)]=null,_0x52f233&&_0x52f233(new Error('The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed'));}}[_0x34acd9(0x1b8)](_0x198493){const _0x886a10=_0x34acd9,_0x4bfbdc=this[_0x886a10(0x31e)],_0x1d91fa=_0x198493[_0x886a10(0x189)](_0x494d2d=>!(_0x4bfbdc[_0x886a10(0x1fb)]===!0x1&&_0x494d2d[_0x886a10(0x339)]||_0x494d2d[_0x886a10(0x2dd)]&&(_0x4bfbdc[_0x886a10(0x253)]===!0x1||typeof _0x4bfbdc[_0x886a10(0x253)]==_0x886a10(0x2e1)&&_0x4bfbdc[_0x886a10(0x253)]>_0x494d2d[_0x886a10(0x2dd)])||typeof _0x4bfbdc[_0x886a10(0x199)]==_0x886a10(0x2e1)&&!_0x494d2d[_0x886a10(0x33e)]));if(!_0x1d91fa)throw new Error(_0x886a10(0x203));return _0x4bfbdc[_0x886a10(0x1fb)]&&(_0x1d91fa['server_no_context_takeover']=!0x0),_0x4bfbdc[_0x886a10(0x1d1)]&&(_0x1d91fa['client_no_context_takeover']=!0x0),typeof _0x4bfbdc[_0x886a10(0x253)]=='number'&&(_0x1d91fa['server_max_window_bits']=_0x4bfbdc[_0x886a10(0x253)]),typeof _0x4bfbdc['clientMaxWindowBits']=='number'?_0x1d91fa['client_max_window_bits']=_0x4bfbdc[_0x886a10(0x199)]:(_0x1d91fa['client_max_window_bits']===!0x0||_0x4bfbdc[_0x886a10(0x199)]===!0x1)&&delete _0x1d91fa[_0x886a10(0x33e)],_0x1d91fa;}[_0x34acd9(0x17b)](_0x564116){const _0x1f56f9=_0x34acd9,_0x216ee0=_0x564116[0x0];if(this['_options'][_0x1f56f9(0x1d1)]===!0x1&&_0x216ee0[_0x1f56f9(0x2ae)])throw new Error(_0x1f56f9(0x22c));if(!_0x216ee0[_0x1f56f9(0x33e)])typeof this[_0x1f56f9(0x31e)][_0x1f56f9(0x199)]==_0x1f56f9(0x2e1)&&(_0x216ee0['client_max_window_bits']=this[_0x1f56f9(0x31e)][_0x1f56f9(0x199)]);else{if(this[_0x1f56f9(0x31e)][_0x1f56f9(0x199)]===!0x1||typeof this['_options'][_0x1f56f9(0x199)]=='number'&&_0x216ee0[_0x1f56f9(0x33e)]>this[_0x1f56f9(0x31e)]['clientMaxWindowBits'])throw new Error(_0x1f56f9(0x2ec));}return _0x216ee0;}[_0x34acd9(0x331)](_0x48bb9c){const _0x458c97=_0x34acd9;return _0x48bb9c[_0x458c97(0x21f)](_0x281cd7=>{const _0x1f7a2e=_0x458c97;Object[_0x1f7a2e(0x33f)](_0x281cd7)[_0x1f7a2e(0x21f)](_0x578c0b=>{const _0x499a38=_0x1f7a2e;let _0x3240ee=_0x281cd7[_0x578c0b];if(_0x3240ee[_0x499a38(0x2a1)]>0x1)throw new Error(_0x499a38(0x313)+_0x578c0b+_0x499a38(0x182));if(_0x3240ee=_0x3240ee[0x0],_0x578c0b===_0x499a38(0x33e)){if(_0x3240ee!==!0x0){const _0x580376=+_0x3240ee;if(!Number[_0x499a38(0x1a5)](_0x580376)||_0x580376<0x8||_0x580376>0xf)throw new TypeError(_0x499a38(0x28d)+_0x578c0b+_0x499a38(0x1f5)+_0x3240ee);_0x3240ee=_0x580376;}else{if(!this[_0x499a38(0x30a)])throw new TypeError(_0x499a38(0x28d)+_0x578c0b+_0x499a38(0x1f5)+_0x3240ee);}}else{if(_0x578c0b===_0x499a38(0x2dd)){const _0x264f4e=+_0x3240ee;if(!Number['isInteger'](_0x264f4e)||_0x264f4e<0x8||_0x264f4e>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x578c0b+'\x22:\x20'+_0x3240ee);_0x3240ee=_0x264f4e;}else{if(_0x578c0b===_0x499a38(0x2ae)||_0x578c0b==='server_no_context_takeover'){if(_0x3240ee!==!0x0)throw new TypeError(_0x499a38(0x28d)+_0x578c0b+_0x499a38(0x1f5)+_0x3240ee);}else throw new Error(_0x499a38(0x2d4)+_0x578c0b+'\x22');}}_0x281cd7[_0x578c0b]=_0x3240ee;});}),_0x48bb9c;}['decompress'](_0x1230f5,_0x1ce1a3,_0x39f0e8){const _0xd3fb07=_0x34acd9;_0xbeb675[_0xd3fb07(0x2d9)](_0x10f099=>{const _0x4ac5bb=_0xd3fb07;this[_0x4ac5bb(0x1ad)](_0x1230f5,_0x1ce1a3,(_0x143ea7,_0x3cf562)=>{_0x10f099(),_0x39f0e8(_0x143ea7,_0x3cf562);});});}[_0x34acd9(0x1fc)](_0x5682e8,_0x4e6300,_0x17be91){const _0x27189d=_0x34acd9;_0xbeb675[_0x27189d(0x2d9)](_0x205e93=>{this['_compress'](_0x5682e8,_0x4e6300,(_0x4737f3,_0x2ebd12)=>{_0x205e93(),_0x17be91(_0x4737f3,_0x2ebd12);});});}[_0x34acd9(0x1ad)](_0x575e84,_0x558f41,_0x5320a4){const _0xd711f3=_0x34acd9,_0x1cd4bb=this[_0xd711f3(0x30a)]?_0xd711f3(0x1cb):_0xd711f3(0x2ed);if(!this[_0xd711f3(0x340)]){const _0x1e281e=_0x1cd4bb+_0xd711f3(0x1b2),_0x89d71=typeof this['params'][_0x1e281e]!=_0xd711f3(0x2e1)?_0x24f511[_0xd711f3(0x284)]:this['params'][_0x1e281e];this[_0xd711f3(0x340)]=_0x24f511[_0xd711f3(0x172)]({...this['_options'][_0xd711f3(0x1be)],'windowBits':_0x89d71}),this['_inflate'][_0x2e8b87]=this,this['_inflate'][_0x3ca2dd]=0x0,this[_0xd711f3(0x340)][_0x1520c7]=[],this[_0xd711f3(0x340)]['on']('error',_0x4fbfc2),this[_0xd711f3(0x340)]['on'](_0xd711f3(0x278),_0x56e634);}this[_0xd711f3(0x340)][_0x14647c]=_0x5320a4,this[_0xd711f3(0x340)]['write'](_0x575e84),_0x558f41&&this['_inflate'][_0xd711f3(0x29b)](_0x22310e),this['_inflate']['flush'](()=>{const _0x155564=_0xd711f3,_0x43948b=this[_0x155564(0x340)][_0xe2caaa];if(_0x43948b){this[_0x155564(0x340)]['close'](),this[_0x155564(0x340)]=null,_0x5320a4(_0x43948b);return;}const _0x42bfb1=_0xafe7c4[_0x155564(0x2e8)](this[_0x155564(0x340)][_0x1520c7],this[_0x155564(0x340)][_0x3ca2dd]);this[_0x155564(0x340)][_0x155564(0x191)]['endEmitted']?(this[_0x155564(0x340)][_0x155564(0x197)](),this[_0x155564(0x340)]=null):(this[_0x155564(0x340)][_0x3ca2dd]=0x0,this['_inflate'][_0x1520c7]=[],_0x558f41&&this[_0x155564(0x1d8)][_0x1cd4bb+_0x155564(0x243)]&&this['_inflate'][_0x155564(0x1bd)]()),_0x5320a4(null,_0x42bfb1);});}[_0x34acd9(0x336)](_0x396469,_0x323781,_0x344c93){const _0x38152c=_0x34acd9,_0x55b270=this['_isServer']?_0x38152c(0x2ed):_0x38152c(0x1cb);if(!this[_0x38152c(0x1d5)]){const _0x3358bd=_0x55b270+_0x38152c(0x1b2),_0x432a95=typeof this['params'][_0x3358bd]!=_0x38152c(0x2e1)?_0x24f511[_0x38152c(0x284)]:this[_0x38152c(0x1d8)][_0x3358bd];this[_0x38152c(0x1d5)]=_0x24f511[_0x38152c(0x291)]({...this['_options'][_0x38152c(0x1e4)],'windowBits':_0x432a95}),this[_0x38152c(0x1d5)][_0x3ca2dd]=0x0,this[_0x38152c(0x1d5)][_0x1520c7]=[],this[_0x38152c(0x1d5)]['on'](_0x38152c(0x278),_0x46bfc2);}this['_deflate'][_0x14647c]=_0x344c93,this[_0x38152c(0x1d5)][_0x38152c(0x29b)](_0x396469),this[_0x38152c(0x1d5)]['flush'](_0x24f511[_0x38152c(0x1fd)],()=>{const _0x354ea5=_0x38152c;if(!this[_0x354ea5(0x1d5)])return;let _0x159737=_0xafe7c4[_0x354ea5(0x2e8)](this[_0x354ea5(0x1d5)][_0x1520c7],this['_deflate'][_0x3ca2dd]);_0x323781&&(_0x159737=new _0x3983d5(_0x159737[_0x354ea5(0x1f8)],_0x159737[_0x354ea5(0x1b6)],_0x159737[_0x354ea5(0x2a1)]-0x4)),this['_deflate'][_0x14647c]=null,this['_deflate'][_0x3ca2dd]=0x0,this[_0x354ea5(0x1d5)][_0x1520c7]=[],_0x323781&&this[_0x354ea5(0x1d8)][_0x55b270+_0x354ea5(0x243)]&&this[_0x354ea5(0x1d5)][_0x354ea5(0x1bd)](),_0x344c93(null,_0x159737);});}}ve=_0x2da46c;function _0x46bfc2(_0xafb841){const _0xd6458e=_0x34acd9;this[_0x1520c7][_0xd6458e(0x2d0)](_0xafb841),this[_0x3ca2dd]+=_0xafb841[_0xd6458e(0x2a1)];}function _0x56e634(_0x258ffa){const _0x5676f5=_0x34acd9;if(this[_0x3ca2dd]+=_0x258ffa[_0x5676f5(0x2a1)],this[_0x2e8b87][_0x5676f5(0x2f8)]<0x1||this[_0x3ca2dd]<=this[_0x2e8b87][_0x5676f5(0x2f8)]){this[_0x1520c7][_0x5676f5(0x2d0)](_0x258ffa);return;}this[_0xe2caaa]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0xe2caaa][_0x5676f5(0x31b)]=_0x5676f5(0x224),this[_0xe2caaa][_0x470e80]=0x3f1,this[_0x5676f5(0x279)](_0x5676f5(0x278),_0x56e634),this[_0x5676f5(0x1bd)]();}function _0x4fbfc2(_0x1686bb){const _0x1c9f32=_0x34acd9;this[_0x2e8b87][_0x1c9f32(0x340)]=null,_0x1686bb[_0x470e80]=0x3ef,this[_0x14647c](_0x1686bb);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x51ee62(0x2eb)](Object[_0x51ee62(0x1a4)]({'__proto__':null,'default':Dt},Symbol['toStringTag'],{'value':_0x51ee62(0x1c5)})),Bt=at(Rt);var Ye;function ae(){const _0x19a2f1=_0x51ee62;if(Ye)return ie[_0x19a2f1(0x25a)];Ye=0x1;const {isUtf8:_0x427201}=wt,{hasBlob:_0x16fc28}=H(),_0x2ebc2f=[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 _0x2bcd10(_0x1be15f){return _0x1be15f>=0x3e8&&_0x1be15f<=0x3f6&&_0x1be15f!==0x3ec&&_0x1be15f!==0x3ed&&_0x1be15f!==0x3ee||_0x1be15f>=0xbb8&&_0x1be15f<=0x1387;}function _0x4f012d(_0x43bab8){const _0x3d6770=_0x19a2f1,_0x305b24=_0x43bab8[_0x3d6770(0x2a1)];let _0x461943=0x0;for(;_0x461943<_0x305b24;)if((_0x43bab8[_0x461943]&0x80)===0x0)_0x461943++;else{if((_0x43bab8[_0x461943]&0xe0)===0xc0){if(_0x461943+0x1===_0x305b24||(_0x43bab8[_0x461943+0x1]&0xc0)!==0x80||(_0x43bab8[_0x461943]&0xfe)===0xc0)return!0x1;_0x461943+=0x2;}else{if((_0x43bab8[_0x461943]&0xf0)===0xe0){if(_0x461943+0x2>=_0x305b24||(_0x43bab8[_0x461943+0x1]&0xc0)!==0x80||(_0x43bab8[_0x461943+0x2]&0xc0)!==0x80||_0x43bab8[_0x461943]===0xe0&&(_0x43bab8[_0x461943+0x1]&0xe0)===0x80||_0x43bab8[_0x461943]===0xed&&(_0x43bab8[_0x461943+0x1]&0xe0)===0xa0)return!0x1;_0x461943+=0x3;}else{if((_0x43bab8[_0x461943]&0xf8)===0xf0){if(_0x461943+0x3>=_0x305b24||(_0x43bab8[_0x461943+0x1]&0xc0)!==0x80||(_0x43bab8[_0x461943+0x2]&0xc0)!==0x80||(_0x43bab8[_0x461943+0x3]&0xc0)!==0x80||_0x43bab8[_0x461943]===0xf0&&(_0x43bab8[_0x461943+0x1]&0xf0)===0x80||_0x43bab8[_0x461943]===0xf4&&_0x43bab8[_0x461943+0x1]>0x8f||_0x43bab8[_0x461943]>0xf4)return!0x1;_0x461943+=0x4;}else return!0x1;}}}return!0x0;}function _0x2fc9c3(_0x1d1108){const _0x4dcd7b=_0x19a2f1;return _0x16fc28&&typeof _0x1d1108==_0x4dcd7b(0x1f7)&&typeof _0x1d1108[_0x4dcd7b(0x239)]==_0x4dcd7b(0x29a)&&typeof _0x1d1108['type']==_0x4dcd7b(0x184)&&typeof _0x1d1108[_0x4dcd7b(0x2e6)]==_0x4dcd7b(0x29a)&&(_0x1d1108[Symbol[_0x4dcd7b(0x2ce)]]===_0x4dcd7b(0x2f7)||_0x1d1108[Symbol[_0x4dcd7b(0x2ce)]]===_0x4dcd7b(0x28f));}if(ie[_0x19a2f1(0x25a)]={'isBlob':_0x2fc9c3,'isValidStatusCode':_0x2bcd10,'isValidUTF8':_0x4f012d,'tokenChars':_0x2ebc2f},_0x427201)ie[_0x19a2f1(0x25a)][_0x19a2f1(0x1b3)]=function(_0x1cf202){const _0x5137df=_0x19a2f1;return _0x1cf202[_0x5137df(0x2a1)]<0x18?_0x4f012d(_0x1cf202):_0x427201(_0x1cf202);};else{if(!process['env'][_0x19a2f1(0x297)])try{const _0x29232e=Bt;ie[_0x19a2f1(0x25a)][_0x19a2f1(0x1b3)]=function(_0x34c746){const _0x2b790e=_0x19a2f1;return _0x34c746[_0x2b790e(0x2a1)]<0x20?_0x4f012d(_0x34c746):_0x29232e(_0x34c746);};}catch{}}return ie[_0x19a2f1(0x25a)];}var Se,Ke;function lt(){const _0xcd96bd=_0x51ee62;if(Ke)return Se;Ke=0x1;const {Writable:_0x56df43}=oe,_0x3831a8=he(),{BINARY_TYPES:_0x555d26,EMPTY_BUFFER:_0x12ee3a,kStatusCode:_0x1b3dcd,kWebSocket:_0x1d6f0}=H(),{concat:_0xf9ce80,toArrayBuffer:_0x363b24,unmask:_0x5797b2}=ce(),{isValidStatusCode:_0xfee813,isValidUTF8:_0x2fd517}=ae(),_0x36853f=Buffer[Symbol[_0xcd96bd(0x1e8)]],_0x123f9e=0x0,_0x6f2f73=0x1,_0x265635=0x2,_0x5c01f0=0x3,_0x8198e6=0x4,_0x241ab6=0x5,_0x1a4b64=0x6;class _0x1f5c11 extends _0x56df43{constructor(_0x2e0161={}){const _0x1ece4a=_0xcd96bd;super(),this[_0x1ece4a(0x2da)]=_0x2e0161['allowSynchronousEvents']!==void 0x0?_0x2e0161['allowSynchronousEvents']:!0x0,this[_0x1ece4a(0x31f)]=_0x2e0161['binaryType']||_0x555d26[0x0],this[_0x1ece4a(0x1eb)]=_0x2e0161[_0x1ece4a(0x21b)]||{},this['_isServer']=!!_0x2e0161[_0x1ece4a(0x306)],this[_0x1ece4a(0x2f8)]=_0x2e0161[_0x1ece4a(0x1b9)]|0x0,this[_0x1ece4a(0x2f9)]=!!_0x2e0161[_0x1ece4a(0x19c)],this[_0x1d6f0]=void 0x0,this[_0x1ece4a(0x2b0)]=0x0,this[_0x1ece4a(0x19b)]=[],this[_0x1ece4a(0x2cd)]=!0x1,this['_payloadLength']=0x0,this[_0x1ece4a(0x1aa)]=void 0x0,this[_0x1ece4a(0x282)]=0x0,this[_0x1ece4a(0x2be)]=!0x1,this[_0x1ece4a(0x1d4)]=!0x1,this[_0x1ece4a(0x2b3)]=0x0,this[_0x1ece4a(0x21c)]=0x0,this[_0x1ece4a(0x181)]=0x0,this['_fragments']=[],this['_errored']=!0x1,this['_loop']=!0x1,this[_0x1ece4a(0x221)]=_0x123f9e;}[_0xcd96bd(0x174)](_0x3328ae,_0x419cd7,_0x67711a){const _0x7569e0=_0xcd96bd;if(this[_0x7569e0(0x2b3)]===0x8&&this[_0x7569e0(0x221)]==_0x123f9e)return _0x67711a();this[_0x7569e0(0x2b0)]+=_0x3328ae[_0x7569e0(0x2a1)],this[_0x7569e0(0x19b)][_0x7569e0(0x2d0)](_0x3328ae),this[_0x7569e0(0x277)](_0x67711a);}[_0xcd96bd(0x286)](_0x4bb942){const _0x3b5800=_0xcd96bd;if(this[_0x3b5800(0x2b0)]-=_0x4bb942,_0x4bb942===this['_buffers'][0x0]['length'])return this[_0x3b5800(0x19b)][_0x3b5800(0x180)]();if(_0x4bb942<this[_0x3b5800(0x19b)][0x0][_0x3b5800(0x2a1)]){const _0x27384a=this[_0x3b5800(0x19b)][0x0];return this[_0x3b5800(0x19b)][0x0]=new _0x36853f(_0x27384a['buffer'],_0x27384a[_0x3b5800(0x1b6)]+_0x4bb942,_0x27384a[_0x3b5800(0x2a1)]-_0x4bb942),new _0x36853f(_0x27384a[_0x3b5800(0x1f8)],_0x27384a[_0x3b5800(0x1b6)],_0x4bb942);}const _0x31e652=Buffer[_0x3b5800(0x2fa)](_0x4bb942);do{const _0x589784=this[_0x3b5800(0x19b)][0x0],_0x407d8c=_0x31e652[_0x3b5800(0x2a1)]-_0x4bb942;_0x4bb942>=_0x589784[_0x3b5800(0x2a1)]?_0x31e652[_0x3b5800(0x1a3)](this[_0x3b5800(0x19b)][_0x3b5800(0x180)](),_0x407d8c):(_0x31e652[_0x3b5800(0x1a3)](new Uint8Array(_0x589784['buffer'],_0x589784[_0x3b5800(0x1b6)],_0x4bb942),_0x407d8c),this[_0x3b5800(0x19b)][0x0]=new _0x36853f(_0x589784[_0x3b5800(0x1f8)],_0x589784['byteOffset']+_0x4bb942,_0x589784[_0x3b5800(0x2a1)]-_0x4bb942)),_0x4bb942-=_0x589784[_0x3b5800(0x2a1)];}while(_0x4bb942>0x0);return _0x31e652;}[_0xcd96bd(0x277)](_0x1f6701){const _0x7a2be4=_0xcd96bd;this[_0x7a2be4(0x2c5)]=!0x0;do switch(this[_0x7a2be4(0x221)]){case _0x123f9e:this[_0x7a2be4(0x190)](_0x1f6701);break;case _0x6f2f73:this[_0x7a2be4(0x26a)](_0x1f6701);break;case _0x265635:this[_0x7a2be4(0x2b1)](_0x1f6701);break;case _0x5c01f0:this['getMask']();break;case _0x8198e6:this[_0x7a2be4(0x30e)](_0x1f6701);break;case _0x241ab6:case _0x1a4b64:this[_0x7a2be4(0x2c5)]=!0x1;return;}while(this[_0x7a2be4(0x2c5)]);this[_0x7a2be4(0x2a8)]||_0x1f6701();}[_0xcd96bd(0x190)](_0x51ddfb){const _0x48d7d6=_0xcd96bd;if(this[_0x48d7d6(0x2b0)]<0x2){this[_0x48d7d6(0x2c5)]=!0x1;return;}const _0x5a3df7=this[_0x48d7d6(0x286)](0x2);if((_0x5a3df7[0x0]&0x30)!==0x0){const _0x5440b2=this['createError'](RangeError,_0x48d7d6(0x185),!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_2_3');_0x51ddfb(_0x5440b2);return;}const _0x564403=(_0x5a3df7[0x0]&0x40)===0x40;if(_0x564403&&!this[_0x48d7d6(0x1eb)][_0x3831a8[_0x48d7d6(0x2b8)]]){const _0x37cc79=this['createError'](RangeError,_0x48d7d6(0x216),!0x0,0x3ea,_0x48d7d6(0x22e));_0x51ddfb(_0x37cc79);return;}if(this[_0x48d7d6(0x1d4)]=(_0x5a3df7[0x0]&0x80)===0x80,this[_0x48d7d6(0x2b3)]=_0x5a3df7[0x0]&0xf,this['_payloadLength']=_0x5a3df7[0x1]&0x7f,this[_0x48d7d6(0x2b3)]===0x0){if(_0x564403){const _0x2b1b09=this[_0x48d7d6(0x2f2)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x48d7d6(0x22e));_0x51ddfb(_0x2b1b09);return;}if(!this[_0x48d7d6(0x282)]){const _0x411968=this['createError'](RangeError,_0x48d7d6(0x24a),!0x0,0x3ea,_0x48d7d6(0x25d));_0x51ddfb(_0x411968);return;}this[_0x48d7d6(0x2b3)]=this[_0x48d7d6(0x282)];}else{if(this[_0x48d7d6(0x2b3)]===0x1||this['_opcode']===0x2){if(this['_fragmented']){const _0x48dc01=this[_0x48d7d6(0x2f2)](RangeError,_0x48d7d6(0x27d)+this[_0x48d7d6(0x2b3)],!0x0,0x3ea,_0x48d7d6(0x25d));_0x51ddfb(_0x48dc01);return;}this['_compressed']=_0x564403;}else{if(this[_0x48d7d6(0x2b3)]>0x7&&this[_0x48d7d6(0x2b3)]<0xb){if(!this[_0x48d7d6(0x1d4)]){const _0x5ab0ba=this[_0x48d7d6(0x2f2)](RangeError,'FIN\x20must\x20be\x20set',!0x0,0x3ea,_0x48d7d6(0x2c8));_0x51ddfb(_0x5ab0ba);return;}if(_0x564403){const _0x5e4e6e=this[_0x48d7d6(0x2f2)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,'WS_ERR_UNEXPECTED_RSV_1');_0x51ddfb(_0x5e4e6e);return;}if(this[_0x48d7d6(0x18a)]>0x7d||this[_0x48d7d6(0x2b3)]===0x8&&this[_0x48d7d6(0x18a)]===0x1){const _0x4e77c5=this[_0x48d7d6(0x2f2)](RangeError,_0x48d7d6(0x318)+this[_0x48d7d6(0x18a)],!0x0,0x3ea,_0x48d7d6(0x1b5));_0x51ddfb(_0x4e77c5);return;}}else{const _0x182996=this[_0x48d7d6(0x2f2)](RangeError,_0x48d7d6(0x27d)+this[_0x48d7d6(0x2b3)],!0x0,0x3ea,_0x48d7d6(0x25d));_0x51ddfb(_0x182996);return;}}}if(!this[_0x48d7d6(0x1d4)]&&!this['_fragmented']&&(this['_fragmented']=this[_0x48d7d6(0x2b3)]),this[_0x48d7d6(0x2be)]=(_0x5a3df7[0x1]&0x80)===0x80,this['_isServer']){if(!this[_0x48d7d6(0x2be)]){const _0x25d304=this['createError'](RangeError,_0x48d7d6(0x214),!0x0,0x3ea,_0x48d7d6(0x2b6));_0x51ddfb(_0x25d304);return;}}else{if(this[_0x48d7d6(0x2be)]){const _0x257664=this[_0x48d7d6(0x2f2)](RangeError,_0x48d7d6(0x310),!0x0,0x3ea,_0x48d7d6(0x17a));_0x51ddfb(_0x257664);return;}}this['_payloadLength']===0x7e?this[_0x48d7d6(0x221)]=_0x6f2f73:this['_payloadLength']===0x7f?this['_state']=_0x265635:this['haveLength'](_0x51ddfb);}[_0xcd96bd(0x26a)](_0x384eea){const _0x8ff49c=_0xcd96bd;if(this[_0x8ff49c(0x2b0)]<0x2){this[_0x8ff49c(0x2c5)]=!0x1;return;}this[_0x8ff49c(0x18a)]=this[_0x8ff49c(0x286)](0x2)[_0x8ff49c(0x32f)](0x0),this[_0x8ff49c(0x24b)](_0x384eea);}['getPayloadLength64'](_0x3e12bb){const _0x148280=_0xcd96bd;if(this[_0x148280(0x2b0)]<0x8){this[_0x148280(0x2c5)]=!0x1;return;}const _0x235056=this[_0x148280(0x286)](0x8),_0x29dde1=_0x235056[_0x148280(0x233)](0x0);if(_0x29dde1>Math[_0x148280(0x273)](0x2,0x15)-0x1){const _0x1042bc=this[_0x148280(0x2f2)](RangeError,_0x148280(0x2a4),!0x1,0x3f1,_0x148280(0x30d));_0x3e12bb(_0x1042bc);return;}this[_0x148280(0x18a)]=_0x29dde1*Math[_0x148280(0x273)](0x2,0x20)+_0x235056['readUInt32BE'](0x4),this[_0x148280(0x24b)](_0x3e12bb);}[_0xcd96bd(0x24b)](_0x212726){const _0x547f58=_0xcd96bd;if(this['_payloadLength']&&this[_0x547f58(0x2b3)]<0x8&&(this[_0x547f58(0x21c)]+=this[_0x547f58(0x18a)],this[_0x547f58(0x21c)]>this[_0x547f58(0x2f8)]&&this[_0x547f58(0x2f8)]>0x0)){const _0x3e6776=this[_0x547f58(0x2f2)](RangeError,_0x547f58(0x2a2),!0x1,0x3f1,_0x547f58(0x224));_0x212726(_0x3e6776);return;}this[_0x547f58(0x2be)]?this[_0x547f58(0x221)]=_0x5c01f0:this['_state']=_0x8198e6;}[_0xcd96bd(0x23a)](){const _0x4eae22=_0xcd96bd;if(this['_bufferedBytes']<0x4){this['_loop']=!0x1;return;}this['_mask']=this[_0x4eae22(0x286)](0x4),this['_state']=_0x8198e6;}[_0xcd96bd(0x30e)](_0x465eee){const _0x3d91d0=_0xcd96bd;let _0x21eb62=_0x12ee3a;if(this[_0x3d91d0(0x18a)]){if(this[_0x3d91d0(0x2b0)]<this[_0x3d91d0(0x18a)]){this[_0x3d91d0(0x2c5)]=!0x1;return;}_0x21eb62=this[_0x3d91d0(0x286)](this[_0x3d91d0(0x18a)]),this[_0x3d91d0(0x2be)]&&(this[_0x3d91d0(0x1aa)][0x0]|this[_0x3d91d0(0x1aa)][0x1]|this[_0x3d91d0(0x1aa)][0x2]|this[_0x3d91d0(0x1aa)][0x3])!==0x0&&_0x5797b2(_0x21eb62,this['_mask']);}if(this[_0x3d91d0(0x2b3)]>0x7){this[_0x3d91d0(0x271)](_0x21eb62,_0x465eee);return;}if(this['_compressed']){this[_0x3d91d0(0x221)]=_0x241ab6,this[_0x3d91d0(0x326)](_0x21eb62,_0x465eee);return;}_0x21eb62[_0x3d91d0(0x2a1)]&&(this[_0x3d91d0(0x181)]=this[_0x3d91d0(0x21c)],this['_fragments'][_0x3d91d0(0x2d0)](_0x21eb62)),this[_0x3d91d0(0x2db)](_0x465eee);}['decompress'](_0x2f7f0c,_0x1d73ab){const _0x5e5d91=_0xcd96bd;this[_0x5e5d91(0x1eb)][_0x3831a8[_0x5e5d91(0x2b8)]][_0x5e5d91(0x326)](_0x2f7f0c,this[_0x5e5d91(0x1d4)],(_0x324c38,_0x270144)=>{const _0x21b44f=_0x5e5d91;if(_0x324c38)return _0x1d73ab(_0x324c38);if(_0x270144[_0x21b44f(0x2a1)]){if(this[_0x21b44f(0x181)]+=_0x270144[_0x21b44f(0x2a1)],this['_messageLength']>this[_0x21b44f(0x2f8)]&&this[_0x21b44f(0x2f8)]>0x0){const _0x4fa69f=this[_0x21b44f(0x2f2)](RangeError,_0x21b44f(0x2a2),!0x1,0x3f1,_0x21b44f(0x224));_0x1d73ab(_0x4fa69f);return;}this[_0x21b44f(0x1c3)]['push'](_0x270144);}this[_0x21b44f(0x2db)](_0x1d73ab),this['_state']===_0x123f9e&&this[_0x21b44f(0x277)](_0x1d73ab);});}['dataMessage'](_0x2994b2){const _0x36307b=_0xcd96bd;if(!this['_fin']){this[_0x36307b(0x221)]=_0x123f9e;return;}const _0x1483d2=this[_0x36307b(0x181)],_0xe20685=this[_0x36307b(0x1c3)];if(this[_0x36307b(0x21c)]=0x0,this[_0x36307b(0x181)]=0x0,this[_0x36307b(0x282)]=0x0,this['_fragments']=[],this['_opcode']===0x2){let _0x4830f2;this['_binaryType']==='nodebuffer'?_0x4830f2=_0xf9ce80(_0xe20685,_0x1483d2):this[_0x36307b(0x31f)]===_0x36307b(0x1cd)?_0x4830f2=_0x363b24(_0xf9ce80(_0xe20685,_0x1483d2)):this[_0x36307b(0x31f)]===_0x36307b(0x21d)?_0x4830f2=new Blob(_0xe20685):_0x4830f2=_0xe20685,this['_allowSynchronousEvents']?(this[_0x36307b(0x1e1)](_0x36307b(0x23e),_0x4830f2,!0x0),this[_0x36307b(0x221)]=_0x123f9e):(this[_0x36307b(0x221)]=_0x1a4b64,setImmediate(()=>{const _0x320d16=_0x36307b;this[_0x320d16(0x1e1)]('message',_0x4830f2,!0x0),this[_0x320d16(0x221)]=_0x123f9e,this[_0x320d16(0x277)](_0x2994b2);}));}else{const _0x193fe4=_0xf9ce80(_0xe20685,_0x1483d2);if(!this[_0x36307b(0x2f9)]&&!_0x2fd517(_0x193fe4)){const _0x46d419=this['createError'](Error,_0x36307b(0x2c0),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x2994b2(_0x46d419);return;}this[_0x36307b(0x221)]===_0x241ab6||this[_0x36307b(0x2da)]?(this[_0x36307b(0x1e1)](_0x36307b(0x23e),_0x193fe4,!0x1),this[_0x36307b(0x221)]=_0x123f9e):(this[_0x36307b(0x221)]=_0x1a4b64,setImmediate(()=>{const _0x4cf88e=_0x36307b;this['emit'](_0x4cf88e(0x23e),_0x193fe4,!0x1),this[_0x4cf88e(0x221)]=_0x123f9e,this[_0x4cf88e(0x277)](_0x2994b2);}));}}[_0xcd96bd(0x271)](_0x33d620,_0x1fabf7){const _0x1a45d3=_0xcd96bd;if(this[_0x1a45d3(0x2b3)]===0x8){if(_0x33d620[_0x1a45d3(0x2a1)]===0x0)this['_loop']=!0x1,this[_0x1a45d3(0x1e1)](_0x1a45d3(0x26d),0x3ed,_0x12ee3a),this[_0x1a45d3(0x246)]();else{const _0x4ccfef=_0x33d620[_0x1a45d3(0x32f)](0x0);if(!_0xfee813(_0x4ccfef)){const _0x5519a6=this['createError'](RangeError,'invalid\x20status\x20code\x20'+_0x4ccfef,!0x0,0x3ea,'WS_ERR_INVALID_CLOSE_CODE');_0x1fabf7(_0x5519a6);return;}const _0x2d5c45=new _0x36853f(_0x33d620[_0x1a45d3(0x1f8)],_0x33d620[_0x1a45d3(0x1b6)]+0x2,_0x33d620[_0x1a45d3(0x2a1)]-0x2);if(!this[_0x1a45d3(0x2f9)]&&!_0x2fd517(_0x2d5c45)){const _0x5a99e2=this[_0x1a45d3(0x2f2)](Error,_0x1a45d3(0x2c0),!0x0,0x3ef,'WS_ERR_INVALID_UTF8');_0x1fabf7(_0x5a99e2);return;}this[_0x1a45d3(0x2c5)]=!0x1,this[_0x1a45d3(0x1e1)](_0x1a45d3(0x26d),_0x4ccfef,_0x2d5c45),this[_0x1a45d3(0x246)]();}this['_state']=_0x123f9e;return;}this[_0x1a45d3(0x2da)]?(this[_0x1a45d3(0x1e1)](this['_opcode']===0x9?_0x1a45d3(0x2f4):_0x1a45d3(0x295),_0x33d620),this[_0x1a45d3(0x221)]=_0x123f9e):(this[_0x1a45d3(0x221)]=_0x1a4b64,setImmediate(()=>{const _0x3854cd=_0x1a45d3;this[_0x3854cd(0x1e1)](this[_0x3854cd(0x2b3)]===0x9?_0x3854cd(0x2f4):_0x3854cd(0x295),_0x33d620),this[_0x3854cd(0x221)]=_0x123f9e,this[_0x3854cd(0x277)](_0x1fabf7);}));}[_0xcd96bd(0x2f2)](_0x16dadc,_0x474240,_0x4d2934,_0x4e57fa,_0x17e0e4){const _0x6dbd48=_0xcd96bd;this[_0x6dbd48(0x2c5)]=!0x1,this[_0x6dbd48(0x2a8)]=!0x0;const _0x15d63c=new _0x16dadc(_0x4d2934?_0x6dbd48(0x341)+_0x474240:_0x474240);return Error[_0x6dbd48(0x249)](_0x15d63c,this[_0x6dbd48(0x2f2)]),_0x15d63c[_0x6dbd48(0x31b)]=_0x17e0e4,_0x15d63c[_0x1b3dcd]=_0x4e57fa,_0x15d63c;}}return Se=_0x1f5c11,Se;}var Ee,Xe;function ft(){const _0x541870=_0x51ee62;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x1e645a}=oe,{randomFillSync:_0x19226d}=Le,_0x5e7b73=he(),{EMPTY_BUFFER:_0x2aee7e,kWebSocket:_0x5b9aaf,NOOP:_0x8efac6}=H(),{isBlob:_0x3f3b7e,isValidStatusCode:_0x59e85d}=ae(),{mask:_0x10d89c,toBuffer:_0x14f6b3}=ce(),_0x3016ee=Symbol(_0x541870(0x1c7)),_0x516a57=Buffer[_0x541870(0x171)](0x4),_0x3e3b98=0x8*0x400;let _0x5f57a8,_0x338da7=_0x3e3b98;const _0x322bb7=0x0,_0x85f239=0x1,_0x4b14ca=0x2;class _0x1524b7{constructor(_0x295278,_0x3e9f0b,_0x587e9b){const _0x831cf7=_0x541870;this[_0x831cf7(0x1eb)]=_0x3e9f0b||{},_0x587e9b&&(this['_generateMask']=_0x587e9b,this[_0x831cf7(0x24f)]=Buffer[_0x831cf7(0x171)](0x4)),this[_0x831cf7(0x179)]=_0x295278,this['_firstFragment']=!0x0,this['_compress']=!0x1,this[_0x831cf7(0x2b0)]=0x0,this[_0x831cf7(0x337)]=[],this[_0x831cf7(0x221)]=_0x322bb7,this['onerror']=_0x8efac6,this[_0x5b9aaf]=void 0x0;}static['frame'](_0x3f4b62,_0x22eb25){const _0x743a48=_0x541870;let _0x4eec23,_0x1e4c8c=!0x1,_0x17d315=0x2,_0x239c70=!0x1;_0x22eb25[_0x743a48(0x202)]&&(_0x4eec23=_0x22eb25['maskBuffer']||_0x516a57,_0x22eb25['generateMask']?_0x22eb25[_0x743a48(0x1a8)](_0x4eec23):(_0x338da7===_0x3e3b98&&(_0x5f57a8===void 0x0&&(_0x5f57a8=Buffer[_0x743a48(0x171)](_0x3e3b98)),_0x19226d(_0x5f57a8,0x0,_0x3e3b98),_0x338da7=0x0),_0x4eec23[0x0]=_0x5f57a8[_0x338da7++],_0x4eec23[0x1]=_0x5f57a8[_0x338da7++],_0x4eec23[0x2]=_0x5f57a8[_0x338da7++],_0x4eec23[0x3]=_0x5f57a8[_0x338da7++]),_0x239c70=(_0x4eec23[0x0]|_0x4eec23[0x1]|_0x4eec23[0x2]|_0x4eec23[0x3])===0x0,_0x17d315=0x6);let _0x53f205;typeof _0x3f4b62==_0x743a48(0x184)?(!_0x22eb25[_0x743a48(0x202)]||_0x239c70)&&_0x22eb25[_0x3016ee]!==void 0x0?_0x53f205=_0x22eb25[_0x3016ee]:(_0x3f4b62=Buffer['from'](_0x3f4b62),_0x53f205=_0x3f4b62[_0x743a48(0x2a1)]):(_0x53f205=_0x3f4b62[_0x743a48(0x2a1)],_0x1e4c8c=_0x22eb25[_0x743a48(0x202)]&&_0x22eb25[_0x743a48(0x228)]&&!_0x239c70);let _0x5534e6=_0x53f205;_0x53f205>=0x10000?(_0x17d315+=0x8,_0x5534e6=0x7f):_0x53f205>0x7d&&(_0x17d315+=0x2,_0x5534e6=0x7e);const _0x44b2d8=Buffer[_0x743a48(0x2fa)](_0x1e4c8c?_0x53f205+_0x17d315:_0x17d315);return _0x44b2d8[0x0]=_0x22eb25[_0x743a48(0x175)]?_0x22eb25[_0x743a48(0x177)]|0x80:_0x22eb25[_0x743a48(0x177)],_0x22eb25[_0x743a48(0x267)]&&(_0x44b2d8[0x0]|=0x40),_0x44b2d8[0x1]=_0x5534e6,_0x5534e6===0x7e?_0x44b2d8[_0x743a48(0x2de)](_0x53f205,0x2):_0x5534e6===0x7f&&(_0x44b2d8[0x2]=_0x44b2d8[0x3]=0x0,_0x44b2d8[_0x743a48(0x21a)](_0x53f205,0x4,0x6)),_0x22eb25[_0x743a48(0x202)]?(_0x44b2d8[0x1]|=0x80,_0x44b2d8[_0x17d315-0x4]=_0x4eec23[0x0],_0x44b2d8[_0x17d315-0x3]=_0x4eec23[0x1],_0x44b2d8[_0x17d315-0x2]=_0x4eec23[0x2],_0x44b2d8[_0x17d315-0x1]=_0x4eec23[0x3],_0x239c70?[_0x44b2d8,_0x3f4b62]:_0x1e4c8c?(_0x10d89c(_0x3f4b62,_0x4eec23,_0x44b2d8,_0x17d315,_0x53f205),[_0x44b2d8]):(_0x10d89c(_0x3f4b62,_0x4eec23,_0x3f4b62,0x0,_0x53f205),[_0x44b2d8,_0x3f4b62])):[_0x44b2d8,_0x3f4b62];}[_0x541870(0x197)](_0x3a3a64,_0x427c2b,_0x419778,_0x2c5181){const _0x267350=_0x541870;let _0xbabc6c;if(_0x3a3a64===void 0x0)_0xbabc6c=_0x2aee7e;else{if(typeof _0x3a3a64!='number'||!_0x59e85d(_0x3a3a64))throw new TypeError(_0x267350(0x1ae));if(_0x427c2b===void 0x0||!_0x427c2b[_0x267350(0x2a1)])_0xbabc6c=Buffer[_0x267350(0x2fa)](0x2),_0xbabc6c[_0x267350(0x2de)](_0x3a3a64,0x0);else{const _0x3ff251=Buffer[_0x267350(0x1bb)](_0x427c2b);if(_0x3ff251>0x7b)throw new RangeError('The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes');_0xbabc6c=Buffer[_0x267350(0x2fa)](0x2+_0x3ff251),_0xbabc6c[_0x267350(0x2de)](_0x3a3a64,0x0),typeof _0x427c2b=='string'?_0xbabc6c['write'](_0x427c2b,0x2):_0xbabc6c[_0x267350(0x1a3)](_0x427c2b,0x2);}}const _0x171b1a={[_0x3016ee]:_0xbabc6c[_0x267350(0x2a1)],'fin':!0x0,'generateMask':this[_0x267350(0x192)],'mask':_0x419778,'maskBuffer':this[_0x267350(0x24f)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this[_0x267350(0x221)]!==_0x322bb7?this[_0x267350(0x26e)]([this[_0x267350(0x2f0)],_0xbabc6c,!0x1,_0x171b1a,_0x2c5181]):this[_0x267350(0x250)](_0x1524b7[_0x267350(0x20c)](_0xbabc6c,_0x171b1a),_0x2c5181);}['ping'](_0x358678,_0x13bb99,_0x39af01){const _0xa5e72a=_0x541870;let _0x538abe,_0x44c909;if(typeof _0x358678=='string'?(_0x538abe=Buffer[_0xa5e72a(0x1bb)](_0x358678),_0x44c909=!0x1):_0x3f3b7e(_0x358678)?(_0x538abe=_0x358678[_0xa5e72a(0x1a7)],_0x44c909=!0x1):(_0x358678=_0x14f6b3(_0x358678),_0x538abe=_0x358678['length'],_0x44c909=_0x14f6b3[_0xa5e72a(0x228)]),_0x538abe>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x3aec2d={[_0x3016ee]:_0x538abe,'fin':!0x0,'generateMask':this[_0xa5e72a(0x192)],'mask':_0x13bb99,'maskBuffer':this[_0xa5e72a(0x24f)],'opcode':0x9,'readOnly':_0x44c909,'rsv1':!0x1};_0x3f3b7e(_0x358678)?this['_state']!==_0x322bb7?this[_0xa5e72a(0x26e)]([this['getBlobData'],_0x358678,!0x1,_0x3aec2d,_0x39af01]):this[_0xa5e72a(0x302)](_0x358678,!0x1,_0x3aec2d,_0x39af01):this['_state']!==_0x322bb7?this['enqueue']([this[_0xa5e72a(0x2f0)],_0x358678,!0x1,_0x3aec2d,_0x39af01]):this[_0xa5e72a(0x250)](_0x1524b7['frame'](_0x358678,_0x3aec2d),_0x39af01);}[_0x541870(0x295)](_0x42af6b,_0x43d08b,_0x55f2a5){const _0xcaf101=_0x541870;let _0x25f19b,_0x360c5c;if(typeof _0x42af6b==_0xcaf101(0x184)?(_0x25f19b=Buffer[_0xcaf101(0x1bb)](_0x42af6b),_0x360c5c=!0x1):_0x3f3b7e(_0x42af6b)?(_0x25f19b=_0x42af6b['size'],_0x360c5c=!0x1):(_0x42af6b=_0x14f6b3(_0x42af6b),_0x25f19b=_0x42af6b['length'],_0x360c5c=_0x14f6b3[_0xcaf101(0x228)]),_0x25f19b>0x7d)throw new RangeError(_0xcaf101(0x1af));const _0x270018={[_0x3016ee]:_0x25f19b,'fin':!0x0,'generateMask':this[_0xcaf101(0x192)],'mask':_0x43d08b,'maskBuffer':this[_0xcaf101(0x24f)],'opcode':0xa,'readOnly':_0x360c5c,'rsv1':!0x1};_0x3f3b7e(_0x42af6b)?this[_0xcaf101(0x221)]!==_0x322bb7?this[_0xcaf101(0x26e)]([this[_0xcaf101(0x302)],_0x42af6b,!0x1,_0x270018,_0x55f2a5]):this[_0xcaf101(0x302)](_0x42af6b,!0x1,_0x270018,_0x55f2a5):this[_0xcaf101(0x221)]!==_0x322bb7?this['enqueue']([this['dispatch'],_0x42af6b,!0x1,_0x270018,_0x55f2a5]):this[_0xcaf101(0x250)](_0x1524b7['frame'](_0x42af6b,_0x270018),_0x55f2a5);}[_0x541870(0x1c0)](_0x3586b6,_0x52d1a6,_0x265bb9){const _0x4bc26e=_0x541870,_0x16ec95=this[_0x4bc26e(0x1eb)][_0x5e7b73[_0x4bc26e(0x2b8)]];let _0x59faa3=_0x52d1a6['binary']?0x2:0x1,_0x4837d5=_0x52d1a6[_0x4bc26e(0x1fc)],_0x852bfd,_0x3b1a82;typeof _0x3586b6=='string'?(_0x852bfd=Buffer[_0x4bc26e(0x1bb)](_0x3586b6),_0x3b1a82=!0x1):_0x3f3b7e(_0x3586b6)?(_0x852bfd=_0x3586b6[_0x4bc26e(0x1a7)],_0x3b1a82=!0x1):(_0x3586b6=_0x14f6b3(_0x3586b6),_0x852bfd=_0x3586b6['length'],_0x3b1a82=_0x14f6b3[_0x4bc26e(0x228)]),this[_0x4bc26e(0x2fb)]?(this[_0x4bc26e(0x2fb)]=!0x1,_0x4837d5&&_0x16ec95&&_0x16ec95[_0x4bc26e(0x1d8)][_0x16ec95['_isServer']?'server_no_context_takeover':_0x4bc26e(0x2ae)]&&(_0x4837d5=_0x852bfd>=_0x16ec95['_threshold']),this[_0x4bc26e(0x336)]=_0x4837d5):(_0x4837d5=!0x1,_0x59faa3=0x0),_0x52d1a6[_0x4bc26e(0x175)]&&(this['_firstFragment']=!0x0);const _0x4b2218={[_0x3016ee]:_0x852bfd,'fin':_0x52d1a6[_0x4bc26e(0x175)],'generateMask':this['_generateMask'],'mask':_0x52d1a6[_0x4bc26e(0x202)],'maskBuffer':this['_maskBuffer'],'opcode':_0x59faa3,'readOnly':_0x3b1a82,'rsv1':_0x4837d5};_0x3f3b7e(_0x3586b6)?this[_0x4bc26e(0x221)]!==_0x322bb7?this['enqueue']([this['getBlobData'],_0x3586b6,this[_0x4bc26e(0x336)],_0x4b2218,_0x265bb9]):this[_0x4bc26e(0x302)](_0x3586b6,this[_0x4bc26e(0x336)],_0x4b2218,_0x265bb9):this[_0x4bc26e(0x221)]!==_0x322bb7?this[_0x4bc26e(0x26e)]([this[_0x4bc26e(0x2f0)],_0x3586b6,this[_0x4bc26e(0x336)],_0x4b2218,_0x265bb9]):this['dispatch'](_0x3586b6,this[_0x4bc26e(0x336)],_0x4b2218,_0x265bb9);}[_0x541870(0x302)](_0x216e35,_0x26433f,_0x5bc89a,_0x528012){const _0x45394d=_0x541870;this[_0x45394d(0x2b0)]+=_0x5bc89a[_0x3016ee],this[_0x45394d(0x221)]=_0x4b14ca,_0x216e35[_0x45394d(0x239)]()[_0x45394d(0x186)](_0xdbe025=>{const _0x4df4af=_0x45394d;if(this['_socket'][_0x4df4af(0x2ef)]){const _0x223583=new Error(_0x4df4af(0x28e));process[_0x4df4af(0x1f0)](_0x54379d,this,_0x223583,_0x528012);return;}this[_0x4df4af(0x2b0)]-=_0x5bc89a[_0x3016ee];const _0x1a9684=_0x14f6b3(_0xdbe025);_0x26433f?this['dispatch'](_0x1a9684,_0x26433f,_0x5bc89a,_0x528012):(this[_0x4df4af(0x221)]=_0x322bb7,this[_0x4df4af(0x250)](_0x1524b7[_0x4df4af(0x20c)](_0x1a9684,_0x5bc89a),_0x528012),this[_0x4df4af(0x27f)]());})[_0x45394d(0x1e0)](_0x5812ac=>{const _0x20e81b=_0x45394d;process[_0x20e81b(0x1f0)](_0x56136e,this,_0x5812ac,_0x528012);});}['dispatch'](_0x21779f,_0x10e208,_0x126cfa,_0x20d236){const _0xc04893=_0x541870;if(!_0x10e208){this[_0xc04893(0x250)](_0x1524b7[_0xc04893(0x20c)](_0x21779f,_0x126cfa),_0x20d236);return;}const _0x480f27=this[_0xc04893(0x1eb)][_0x5e7b73[_0xc04893(0x2b8)]];this[_0xc04893(0x2b0)]+=_0x126cfa[_0x3016ee],this[_0xc04893(0x221)]=_0x85f239,_0x480f27['compress'](_0x21779f,_0x126cfa[_0xc04893(0x175)],(_0x1afa81,_0x34183d)=>{const _0x1f8b45=_0xc04893;if(this[_0x1f8b45(0x179)][_0x1f8b45(0x2ef)]){const _0x45a1b4=new Error(_0x1f8b45(0x26f));_0x54379d(this,_0x45a1b4,_0x20d236);return;}this[_0x1f8b45(0x2b0)]-=_0x126cfa[_0x3016ee],this[_0x1f8b45(0x221)]=_0x322bb7,_0x126cfa[_0x1f8b45(0x228)]=!0x1,this[_0x1f8b45(0x250)](_0x1524b7['frame'](_0x34183d,_0x126cfa),_0x20d236),this['dequeue']();});}['dequeue'](){const _0x3df9a3=_0x541870;for(;this[_0x3df9a3(0x221)]===_0x322bb7&&this[_0x3df9a3(0x337)]['length'];){const _0x38eedb=this[_0x3df9a3(0x337)]['shift']();this['_bufferedBytes']-=_0x38eedb[0x3][_0x3016ee],Reflect[_0x3df9a3(0x338)](_0x38eedb[0x0],this,_0x38eedb[_0x3df9a3(0x1ce)](0x1));}}['enqueue'](_0x7daef6){const _0x5c983e=_0x541870;this[_0x5c983e(0x2b0)]+=_0x7daef6[0x3][_0x3016ee],this[_0x5c983e(0x337)][_0x5c983e(0x2d0)](_0x7daef6);}[_0x541870(0x250)](_0x120c2b,_0x107e7f){const _0x506abc=_0x541870;_0x120c2b['length']===0x2?(this[_0x506abc(0x179)][_0x506abc(0x1e7)](),this[_0x506abc(0x179)][_0x506abc(0x29b)](_0x120c2b[0x0]),this[_0x506abc(0x179)][_0x506abc(0x29b)](_0x120c2b[0x1],_0x107e7f),this['_socket'][_0x506abc(0x2c3)]()):this[_0x506abc(0x179)]['write'](_0x120c2b[0x0],_0x107e7f);}}Ee=_0x1524b7;function _0x54379d(_0xf7ab02,_0x1278bf,_0x4bf093){const _0x51fd7b=_0x541870;typeof _0x4bf093==_0x51fd7b(0x29a)&&_0x4bf093(_0x1278bf);for(let _0x5b6f30=0x0;_0x5b6f30<_0xf7ab02[_0x51fd7b(0x337)][_0x51fd7b(0x2a1)];_0x5b6f30++){const _0xfdea3c=_0xf7ab02['_queue'][_0x5b6f30],_0x21ebd1=_0xfdea3c[_0xfdea3c[_0x51fd7b(0x2a1)]-0x1];typeof _0x21ebd1==_0x51fd7b(0x29a)&&_0x21ebd1(_0x1278bf);}}function _0x56136e(_0x574b75,_0x34d72a,_0x3986af){const _0x5f04e8=_0x541870;_0x54379d(_0x574b75,_0x34d72a,_0x3986af),_0x574b75[_0x5f04e8(0x307)](_0x34d72a);}return Ee;}var xe,Ze;function It(){const _0x67aacc=_0x51ee62;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x2870a0,kListener:_0x58137d}=H(),_0x572090=Symbol(_0x67aacc(0x31c)),_0x3e1011=Symbol(_0x67aacc(0x324)),_0x3bef97=Symbol(_0x67aacc(0x1e2)),_0x3e12c7=Symbol(_0x67aacc(0x1c8)),_0x16bc92=Symbol('kReason'),_0x3191dd=Symbol('kTarget'),_0x5912bb=Symbol(_0x67aacc(0x17e)),_0x476eca=Symbol(_0x67aacc(0x1ca));class _0x2b8e24{constructor(_0x42d285){this[_0x3191dd]=null,this[_0x5912bb]=_0x42d285;}get[_0x67aacc(0x235)](){return this[_0x3191dd];}get[_0x67aacc(0x18b)](){return this[_0x5912bb];}}Object['defineProperty'](_0x2b8e24['prototype'],_0x67aacc(0x235),{'enumerable':!0x0}),Object[_0x67aacc(0x1a4)](_0x2b8e24['prototype'],'type',{'enumerable':!0x0});class _0x15f5fc extends _0x2b8e24{constructor(_0x5a8e7b,_0x554f2a={}){const _0x582f48=_0x67aacc;super(_0x5a8e7b),this[_0x572090]=_0x554f2a[_0x582f48(0x31b)]===void 0x0?0x0:_0x554f2a['code'],this[_0x16bc92]=_0x554f2a[_0x582f48(0x30b)]===void 0x0?'':_0x554f2a[_0x582f48(0x30b)],this[_0x476eca]=_0x554f2a[_0x582f48(0x2ca)]===void 0x0?!0x1:_0x554f2a[_0x582f48(0x2ca)];}get[_0x67aacc(0x31b)](){return this[_0x572090];}get[_0x67aacc(0x30b)](){return this[_0x16bc92];}get[_0x67aacc(0x2ca)](){return this[_0x476eca];}}Object[_0x67aacc(0x1a4)](_0x15f5fc[_0x67aacc(0x205)],_0x67aacc(0x31b),{'enumerable':!0x0}),Object[_0x67aacc(0x1a4)](_0x15f5fc[_0x67aacc(0x205)],_0x67aacc(0x30b),{'enumerable':!0x0}),Object['defineProperty'](_0x15f5fc['prototype'],'wasClean',{'enumerable':!0x0});class _0x5a773c extends _0x2b8e24{constructor(_0x428da9,_0x5805dd={}){const _0x1ca994=_0x67aacc;super(_0x428da9),this[_0x3bef97]=_0x5805dd[_0x1ca994(0x322)]===void 0x0?null:_0x5805dd[_0x1ca994(0x322)],this[_0x3e12c7]=_0x5805dd[_0x1ca994(0x23e)]===void 0x0?'':_0x5805dd[_0x1ca994(0x23e)];}get['error'](){return this[_0x3bef97];}get[_0x67aacc(0x23e)](){return this[_0x3e12c7];}}Object[_0x67aacc(0x1a4)](_0x5a773c['prototype'],_0x67aacc(0x322),{'enumerable':!0x0}),Object['defineProperty'](_0x5a773c[_0x67aacc(0x205)],_0x67aacc(0x23e),{'enumerable':!0x0});class _0x52c534 extends _0x2b8e24{constructor(_0x2f28c0,_0x4abefc={}){const _0x3f5398=_0x67aacc;super(_0x2f28c0),this[_0x3e1011]=_0x4abefc[_0x3f5398(0x278)]===void 0x0?null:_0x4abefc['data'];}get[_0x67aacc(0x278)](){return this[_0x3e1011];}}Object[_0x67aacc(0x1a4)](_0x52c534[_0x67aacc(0x205)],_0x67aacc(0x278),{'enumerable':!0x0}),xe={'CloseEvent':_0x15f5fc,'ErrorEvent':_0x5a773c,'Event':_0x2b8e24,'EventTarget':{'addEventListener'(_0x2fdeb9,_0x4d9e12,_0x83bfc3={}){const _0x9f5dd3=_0x67aacc;for(const _0x2c7491 of this[_0x9f5dd3(0x1c6)](_0x2fdeb9))if(!_0x83bfc3[_0x2870a0]&&_0x2c7491[_0x58137d]===_0x4d9e12&&!_0x2c7491[_0x2870a0])return;let _0xe3dfd8;if(_0x2fdeb9===_0x9f5dd3(0x23e))_0xe3dfd8=function(_0x50036e,_0x37c454){const _0x5d093a=_0x9f5dd3,_0x482b3f=new _0x52c534(_0x5d093a(0x23e),{'data':_0x37c454?_0x50036e:_0x50036e[_0x5d093a(0x33a)]()});_0x482b3f[_0x3191dd]=this,_0x65a5a6(_0x4d9e12,this,_0x482b3f);};else{if(_0x2fdeb9==='close')_0xe3dfd8=function(_0x3257e7,_0x475d5e){const _0x4afab7=_0x9f5dd3,_0x31d156=new _0x15f5fc(_0x4afab7(0x197),{'code':_0x3257e7,'reason':_0x475d5e[_0x4afab7(0x33a)](),'wasClean':this[_0x4afab7(0x317)]&&this[_0x4afab7(0x2df)]});_0x31d156[_0x3191dd]=this,_0x65a5a6(_0x4d9e12,this,_0x31d156);};else{if(_0x2fdeb9==='error')_0xe3dfd8=function(_0x4645d7){const _0x5532f7=_0x9f5dd3,_0x100f4f=new _0x5a773c(_0x5532f7(0x322),{'error':_0x4645d7,'message':_0x4645d7['message']});_0x100f4f[_0x3191dd]=this,_0x65a5a6(_0x4d9e12,this,_0x100f4f);};else{if(_0x2fdeb9===_0x9f5dd3(0x2e2))_0xe3dfd8=function(){const _0x106f56=_0x9f5dd3,_0x2c6405=new _0x2b8e24(_0x106f56(0x2e2));_0x2c6405[_0x3191dd]=this,_0x65a5a6(_0x4d9e12,this,_0x2c6405);};else return;}}}_0xe3dfd8[_0x2870a0]=!!_0x83bfc3[_0x2870a0],_0xe3dfd8[_0x58137d]=_0x4d9e12,_0x83bfc3[_0x9f5dd3(0x304)]?this[_0x9f5dd3(0x304)](_0x2fdeb9,_0xe3dfd8):this['on'](_0x2fdeb9,_0xe3dfd8);},'removeEventListener'(_0xddc03e,_0x591d47){const _0x2513e3=_0x67aacc;for(const _0x298feb of this[_0x2513e3(0x1c6)](_0xddc03e))if(_0x298feb[_0x58137d]===_0x591d47&&!_0x298feb[_0x2870a0]){this[_0x2513e3(0x279)](_0xddc03e,_0x298feb);break;}}},'MessageEvent':_0x52c534};function _0x65a5a6(_0x39e496,_0x281ecb,_0x2f18a0){const _0x58adb0=_0x67aacc;typeof _0x39e496=='object'&&_0x39e496[_0x58adb0(0x261)]?_0x39e496[_0x58adb0(0x261)][_0x58adb0(0x1ea)](_0x39e496,_0x2f18a0):_0x39e496[_0x58adb0(0x1ea)](_0x281ecb,_0x2f18a0);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x4e88ae}=ae();function _0x56055c(_0x366bb1,_0x33d204,_0x563784){const _0x1c8efb=_0x1237;_0x366bb1[_0x33d204]===void 0x0?_0x366bb1[_0x33d204]=[_0x563784]:_0x366bb1[_0x33d204][_0x1c8efb(0x2d0)](_0x563784);}function _0x142cd1(_0x4f8e2d){const _0x3253b6=_0x1237,_0x3477bf=Object['create'](null);let _0x2a8c48=Object[_0x3253b6(0x187)](null),_0x2b31c3=!0x1,_0x42d27f=!0x1,_0x14a963=!0x1,_0xa0df84,_0x28f2f1,_0x3dae54=-0x1,_0x51a635=-0x1,_0x4e2403=-0x1,_0x31a5ac=0x0;for(;_0x31a5ac<_0x4f8e2d[_0x3253b6(0x2a1)];_0x31a5ac++)if(_0x51a635=_0x4f8e2d[_0x3253b6(0x236)](_0x31a5ac),_0xa0df84===void 0x0){if(_0x4e2403===-0x1&&_0x4e88ae[_0x51a635]===0x1)_0x3dae54===-0x1&&(_0x3dae54=_0x31a5ac);else{if(_0x31a5ac!==0x0&&(_0x51a635===0x20||_0x51a635===0x9))_0x4e2403===-0x1&&_0x3dae54!==-0x1&&(_0x4e2403=_0x31a5ac);else{if(_0x51a635===0x3b||_0x51a635===0x2c){if(_0x3dae54===-0x1)throw new SyntaxError(_0x3253b6(0x223)+_0x31a5ac);_0x4e2403===-0x1&&(_0x4e2403=_0x31a5ac);const _0x220728=_0x4f8e2d[_0x3253b6(0x1ce)](_0x3dae54,_0x4e2403);_0x51a635===0x2c?(_0x56055c(_0x3477bf,_0x220728,_0x2a8c48),_0x2a8c48=Object[_0x3253b6(0x187)](null)):_0xa0df84=_0x220728,_0x3dae54=_0x4e2403=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x31a5ac);}}}else{if(_0x28f2f1===void 0x0){if(_0x4e2403===-0x1&&_0x4e88ae[_0x51a635]===0x1)_0x3dae54===-0x1&&(_0x3dae54=_0x31a5ac);else{if(_0x51a635===0x20||_0x51a635===0x9)_0x4e2403===-0x1&&_0x3dae54!==-0x1&&(_0x4e2403=_0x31a5ac);else{if(_0x51a635===0x3b||_0x51a635===0x2c){if(_0x3dae54===-0x1)throw new SyntaxError(_0x3253b6(0x223)+_0x31a5ac);_0x4e2403===-0x1&&(_0x4e2403=_0x31a5ac),_0x56055c(_0x2a8c48,_0x4f8e2d['slice'](_0x3dae54,_0x4e2403),!0x0),_0x51a635===0x2c&&(_0x56055c(_0x3477bf,_0xa0df84,_0x2a8c48),_0x2a8c48=Object[_0x3253b6(0x187)](null),_0xa0df84=void 0x0),_0x3dae54=_0x4e2403=-0x1;}else{if(_0x51a635===0x3d&&_0x3dae54!==-0x1&&_0x4e2403===-0x1)_0x28f2f1=_0x4f8e2d[_0x3253b6(0x1ce)](_0x3dae54,_0x31a5ac),_0x3dae54=_0x4e2403=-0x1;else throw new SyntaxError(_0x3253b6(0x223)+_0x31a5ac);}}}}else{if(_0x42d27f){if(_0x4e88ae[_0x51a635]!==0x1)throw new SyntaxError(_0x3253b6(0x223)+_0x31a5ac);_0x3dae54===-0x1?_0x3dae54=_0x31a5ac:_0x2b31c3||(_0x2b31c3=!0x0),_0x42d27f=!0x1;}else{if(_0x14a963){if(_0x4e88ae[_0x51a635]===0x1)_0x3dae54===-0x1&&(_0x3dae54=_0x31a5ac);else{if(_0x51a635===0x22&&_0x3dae54!==-0x1)_0x14a963=!0x1,_0x4e2403=_0x31a5ac;else{if(_0x51a635===0x5c)_0x42d27f=!0x0;else throw new SyntaxError(_0x3253b6(0x223)+_0x31a5ac);}}}else{if(_0x51a635===0x22&&_0x4f8e2d[_0x3253b6(0x236)](_0x31a5ac-0x1)===0x3d)_0x14a963=!0x0;else{if(_0x4e2403===-0x1&&_0x4e88ae[_0x51a635]===0x1)_0x3dae54===-0x1&&(_0x3dae54=_0x31a5ac);else{if(_0x3dae54!==-0x1&&(_0x51a635===0x20||_0x51a635===0x9))_0x4e2403===-0x1&&(_0x4e2403=_0x31a5ac);else{if(_0x51a635===0x3b||_0x51a635===0x2c){if(_0x3dae54===-0x1)throw new SyntaxError(_0x3253b6(0x223)+_0x31a5ac);_0x4e2403===-0x1&&(_0x4e2403=_0x31a5ac);let _0x2c2fbf=_0x4f8e2d['slice'](_0x3dae54,_0x4e2403);_0x2b31c3&&(_0x2c2fbf=_0x2c2fbf[_0x3253b6(0x2d3)](/\\/g,''),_0x2b31c3=!0x1),_0x56055c(_0x2a8c48,_0x28f2f1,_0x2c2fbf),_0x51a635===0x2c&&(_0x56055c(_0x3477bf,_0xa0df84,_0x2a8c48),_0x2a8c48=Object[_0x3253b6(0x187)](null),_0xa0df84=void 0x0),_0x28f2f1=void 0x0,_0x3dae54=_0x4e2403=-0x1;}else throw new SyntaxError(_0x3253b6(0x223)+_0x31a5ac);}}}}}}}if(_0x3dae54===-0x1||_0x14a963||_0x51a635===0x20||_0x51a635===0x9)throw new SyntaxError('Unexpected\x20end\x20of\x20input');_0x4e2403===-0x1&&(_0x4e2403=_0x31a5ac);const _0x4268d6=_0x4f8e2d[_0x3253b6(0x1ce)](_0x3dae54,_0x4e2403);return _0xa0df84===void 0x0?_0x56055c(_0x3477bf,_0x4268d6,_0x2a8c48):(_0x28f2f1===void 0x0?_0x56055c(_0x2a8c48,_0x4268d6,!0x0):_0x2b31c3?_0x56055c(_0x2a8c48,_0x28f2f1,_0x4268d6[_0x3253b6(0x2d3)](/\\/g,'')):_0x56055c(_0x2a8c48,_0x28f2f1,_0x4268d6),_0x56055c(_0x3477bf,_0xa0df84,_0x2a8c48)),_0x3477bf;}function _0x2066d9(_0x44fba6){const _0x151016=_0x1237;return Object[_0x151016(0x33f)](_0x44fba6)[_0x151016(0x2e4)](_0x3acfc1=>{const _0x55a1d9=_0x151016;let _0x5e0962=_0x44fba6[_0x3acfc1];return Array[_0x55a1d9(0x29e)](_0x5e0962)||(_0x5e0962=[_0x5e0962]),_0x5e0962[_0x55a1d9(0x2e4)](_0x464246=>[_0x3acfc1][_0x55a1d9(0x2e8)](Object[_0x55a1d9(0x33f)](_0x464246)[_0x55a1d9(0x2e4)](_0x55c5ec=>{const _0x59973f=_0x55a1d9;let _0x51eff5=_0x464246[_0x55c5ec];return Array['isArray'](_0x51eff5)||(_0x51eff5=[_0x51eff5]),_0x51eff5[_0x59973f(0x2e4)](_0x385715=>_0x385715===!0x0?_0x55c5ec:_0x55c5ec+'='+_0x385715)['join'](';\x20');}))[_0x55a1d9(0x335)](';\x20'))['join'](',\x20');})[_0x151016(0x335)](',\x20');}return be={'format':_0x2066d9,'parse':_0x142cd1},be;}var we,Je;function Pe(){const _0x58d42f=_0x51ee62;if(Je)return we;Je=0x1;const _0x13bc0a=nt,_0x1af075=vt,_0x31f360=ot,_0x585e17=St,_0x38a016=Et,{randomBytes:_0x12dafe,createHash:_0x25ebe9}=Le,{Duplex:_0x2ade5d,Readable:_0x420753}=oe,{URL:_0x5462ab}=xt,_0x2af188=he(),_0x1b2e62=lt(),_0x308c5e=ft(),{isBlob:_0x163aa3}=ae(),{BINARY_TYPES:_0x5a8dd5,EMPTY_BUFFER:_0x5843e5,GUID:_0xdedf16,kForOnEventAttribute:_0xe33044,kListener:_0x101622,kStatusCode:_0x4ad9d1,kWebSocket:_0x21911c,NOOP:_0x1aa8bc}=H(),{EventTarget:{addEventListener:_0x1d5e5f,removeEventListener:_0x2a9961}}=It(),{format:_0x5850e1,parse:_0x63669b}=ct(),{toBuffer:_0x2f1888}=ce(),_0x452f6c=0x1e*0x3e8,_0x5686ba=Symbol(_0x58d42f(0x31d)),_0x348368=[0x8,0xd],_0x2375cc=[_0x58d42f(0x1bc),'OPEN',_0x58d42f(0x196),_0x58d42f(0x27a)],_0x389092=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x40ba3d extends _0x13bc0a{constructor(_0x5d3cdf,_0x44677d,_0x2d4c81){const _0x197e27=_0x58d42f;super(),this[_0x197e27(0x31f)]=_0x5a8dd5[0x0],this[_0x197e27(0x2ee)]=0x3ee,this[_0x197e27(0x317)]=!0x1,this[_0x197e27(0x2df)]=!0x1,this[_0x197e27(0x18e)]=_0x5843e5,this['_closeTimer']=null,this[_0x197e27(0x275)]=!0x1,this[_0x197e27(0x1eb)]={},this[_0x197e27(0x1e5)]=!0x1,this[_0x197e27(0x2d7)]='',this[_0x197e27(0x27e)]=_0x40ba3d[_0x197e27(0x1bc)],this[_0x197e27(0x1b1)]=null,this[_0x197e27(0x24c)]=null,this[_0x197e27(0x179)]=null,_0x5d3cdf!==null?(this['_bufferedAmount']=0x0,this[_0x197e27(0x30a)]=!0x1,this[_0x197e27(0x1e3)]=0x0,_0x44677d===void 0x0?_0x44677d=[]:Array[_0x197e27(0x29e)](_0x44677d)||(typeof _0x44677d==_0x197e27(0x1f7)&&_0x44677d!==null?(_0x2d4c81=_0x44677d,_0x44677d=[]):_0x44677d=[_0x44677d]),_0x5c674e(this,_0x5d3cdf,_0x44677d,_0x2d4c81)):(this[_0x197e27(0x262)]=_0x2d4c81[_0x197e27(0x26c)],this[_0x197e27(0x30a)]=!0x0);}get[_0x58d42f(0x1a6)](){return this['_binaryType'];}set['binaryType'](_0x531465){const _0x5774f2=_0x58d42f;_0x5a8dd5['includes'](_0x531465)&&(this['_binaryType']=_0x531465,this[_0x5774f2(0x1b1)]&&(this[_0x5774f2(0x1b1)][_0x5774f2(0x31f)]=_0x531465));}get['bufferedAmount'](){const _0x5d4e1d=_0x58d42f;return this['_socket']?this['_socket'][_0x5d4e1d(0x325)][_0x5d4e1d(0x2a1)]+this[_0x5d4e1d(0x24c)][_0x5d4e1d(0x2b0)]:this[_0x5d4e1d(0x330)];}get[_0x58d42f(0x21b)](){const _0x28ab7d=_0x58d42f;return Object[_0x28ab7d(0x33f)](this[_0x28ab7d(0x1eb)])[_0x28ab7d(0x335)]();}get[_0x58d42f(0x2d5)](){return this['_paused'];}get[_0x58d42f(0x260)](){return null;}get['onerror'](){return null;}get[_0x58d42f(0x2bd)](){return null;}get[_0x58d42f(0x311)](){return null;}get[_0x58d42f(0x1b7)](){const _0x1baf95=_0x58d42f;return this[_0x1baf95(0x2d7)];}get[_0x58d42f(0x2a7)](){const _0x59cfaa=_0x58d42f;return this[_0x59cfaa(0x27e)];}get[_0x58d42f(0x240)](){const _0x2ea3fc=_0x58d42f;return this[_0x2ea3fc(0x188)];}['setSocket'](_0x71a510,_0x4ad431,_0x20f5a7){const _0xed22d2=_0x58d42f,_0x23ef2e=new _0x1b2e62({'allowSynchronousEvents':_0x20f5a7[_0xed22d2(0x1ec)],'binaryType':this[_0xed22d2(0x1a6)],'extensions':this[_0xed22d2(0x1eb)],'isServer':this[_0xed22d2(0x30a)],'maxPayload':_0x20f5a7[_0xed22d2(0x1b9)],'skipUTF8Validation':_0x20f5a7['skipUTF8Validation']}),_0x8e48d6=new _0x308c5e(_0x71a510,this[_0xed22d2(0x1eb)],_0x20f5a7[_0xed22d2(0x1a8)]);this['_receiver']=_0x23ef2e,this[_0xed22d2(0x24c)]=_0x8e48d6,this[_0xed22d2(0x179)]=_0x71a510,_0x23ef2e[_0x21911c]=this,_0x8e48d6[_0x21911c]=this,_0x71a510[_0x21911c]=this,_0x23ef2e['on']('conclude',_0x3b760f),_0x23ef2e['on'](_0xed22d2(0x1ac),_0x3ec21b),_0x23ef2e['on']('error',_0x4b8a6b),_0x23ef2e['on'](_0xed22d2(0x23e),_0x5b1461),_0x23ef2e['on'](_0xed22d2(0x2f4),_0x13acc8),_0x23ef2e['on'](_0xed22d2(0x295),_0x26b083),_0x8e48d6[_0xed22d2(0x307)]=_0x58010f,_0x71a510[_0xed22d2(0x274)]&&_0x71a510[_0xed22d2(0x274)](0x0),_0x71a510['setNoDelay']&&_0x71a510[_0xed22d2(0x251)](),_0x4ad431[_0xed22d2(0x2a1)]>0x0&&_0x71a510[_0xed22d2(0x252)](_0x4ad431),_0x71a510['on'](_0xed22d2(0x197),_0x5ed15a),_0x71a510['on'](_0xed22d2(0x278),_0x4e5e1c),_0x71a510['on'](_0xed22d2(0x246),_0x19229b),_0x71a510['on']('error',_0x42cbb0),this[_0xed22d2(0x27e)]=_0x40ba3d[_0xed22d2(0x25c)],this[_0xed22d2(0x1e1)](_0xed22d2(0x2e2));}[_0x58d42f(0x264)](){const _0x3e45b9=_0x58d42f;if(!this['_socket']){this[_0x3e45b9(0x27e)]=_0x40ba3d[_0x3e45b9(0x27a)],this['emit']('close',this[_0x3e45b9(0x2ee)],this[_0x3e45b9(0x18e)]);return;}this[_0x3e45b9(0x1eb)][_0x2af188[_0x3e45b9(0x2b8)]]&&this[_0x3e45b9(0x1eb)][_0x2af188[_0x3e45b9(0x2b8)]][_0x3e45b9(0x195)](),this[_0x3e45b9(0x1b1)][_0x3e45b9(0x314)](),this[_0x3e45b9(0x27e)]=_0x40ba3d[_0x3e45b9(0x27a)],this[_0x3e45b9(0x1e1)](_0x3e45b9(0x197),this[_0x3e45b9(0x2ee)],this['_closeMessage']);}[_0x58d42f(0x197)](_0x19ce8e,_0x3e6353){const _0x4b3321=_0x58d42f;if(this[_0x4b3321(0x2a7)]!==_0x40ba3d['CLOSED']){if(this[_0x4b3321(0x2a7)]===_0x40ba3d[_0x4b3321(0x1bc)]){_0x384238(this,this['_req'],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this[_0x4b3321(0x2a7)]===_0x40ba3d['CLOSING']){this['_closeFrameSent']&&(this['_closeFrameReceived']||this[_0x4b3321(0x1b1)]['_writableState'][_0x4b3321(0x1ed)])&&this[_0x4b3321(0x179)][_0x4b3321(0x246)]();return;}this[_0x4b3321(0x27e)]=_0x40ba3d[_0x4b3321(0x196)],this[_0x4b3321(0x24c)][_0x4b3321(0x197)](_0x19ce8e,_0x3e6353,!this['_isServer'],_0x10a6bd=>{const _0x32b205=_0x4b3321;_0x10a6bd||(this[_0x32b205(0x2df)]=!0x0,(this['_closeFrameReceived']||this[_0x32b205(0x1b1)][_0x32b205(0x325)][_0x32b205(0x1ed)])&&this[_0x32b205(0x179)][_0x32b205(0x246)]());}),_0x55a814(this);}}[_0x58d42f(0x17c)](){const _0x12b1db=_0x58d42f;this[_0x12b1db(0x2a7)]===_0x40ba3d['CONNECTING']||this['readyState']===_0x40ba3d[_0x12b1db(0x27a)]||(this[_0x12b1db(0x1e5)]=!0x0,this[_0x12b1db(0x179)]['pause']());}['ping'](_0x1804a9,_0x4a34bc,_0x28fd5b){const _0x2656c7=_0x58d42f;if(this[_0x2656c7(0x2a7)]===_0x40ba3d[_0x2656c7(0x1bc)])throw new Error(_0x2656c7(0x309));if(typeof _0x1804a9==_0x2656c7(0x29a)?(_0x28fd5b=_0x1804a9,_0x1804a9=_0x4a34bc=void 0x0):typeof _0x4a34bc==_0x2656c7(0x29a)&&(_0x28fd5b=_0x4a34bc,_0x4a34bc=void 0x0),typeof _0x1804a9==_0x2656c7(0x2e1)&&(_0x1804a9=_0x1804a9['toString']()),this[_0x2656c7(0x2a7)]!==_0x40ba3d[_0x2656c7(0x25c)]){_0x3ba30d(this,_0x1804a9,_0x28fd5b);return;}_0x4a34bc===void 0x0&&(_0x4a34bc=!this[_0x2656c7(0x30a)]),this[_0x2656c7(0x24c)][_0x2656c7(0x2f4)](_0x1804a9||_0x5843e5,_0x4a34bc,_0x28fd5b);}[_0x58d42f(0x295)](_0x2b2900,_0x206140,_0x5de764){const _0x114e59=_0x58d42f;if(this[_0x114e59(0x2a7)]===_0x40ba3d['CONNECTING'])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x2b2900==_0x114e59(0x29a)?(_0x5de764=_0x2b2900,_0x2b2900=_0x206140=void 0x0):typeof _0x206140=='function'&&(_0x5de764=_0x206140,_0x206140=void 0x0),typeof _0x2b2900==_0x114e59(0x2e1)&&(_0x2b2900=_0x2b2900[_0x114e59(0x33a)]()),this[_0x114e59(0x2a7)]!==_0x40ba3d[_0x114e59(0x25c)]){_0x3ba30d(this,_0x2b2900,_0x5de764);return;}_0x206140===void 0x0&&(_0x206140=!this[_0x114e59(0x30a)]),this[_0x114e59(0x24c)]['pong'](_0x2b2900||_0x5843e5,_0x206140,_0x5de764);}[_0x58d42f(0x321)](){const _0x17b793=_0x58d42f;this[_0x17b793(0x2a7)]===_0x40ba3d[_0x17b793(0x1bc)]||this['readyState']===_0x40ba3d[_0x17b793(0x27a)]||(this['_paused']=!0x1,this[_0x17b793(0x1b1)][_0x17b793(0x325)][_0x17b793(0x299)]||this[_0x17b793(0x179)]['resume']());}['send'](_0x1a0e59,_0x43e2b7,_0x2cdd48){const _0x4e3d7a=_0x58d42f;if(this[_0x4e3d7a(0x2a7)]===_0x40ba3d[_0x4e3d7a(0x1bc)])throw new Error(_0x4e3d7a(0x309));if(typeof _0x43e2b7==_0x4e3d7a(0x29a)&&(_0x2cdd48=_0x43e2b7,_0x43e2b7={}),typeof _0x1a0e59=='number'&&(_0x1a0e59=_0x1a0e59['toString']()),this[_0x4e3d7a(0x2a7)]!==_0x40ba3d[_0x4e3d7a(0x25c)]){_0x3ba30d(this,_0x1a0e59,_0x2cdd48);return;}const _0x18691f={'binary':typeof _0x1a0e59!='string','mask':!this['_isServer'],'compress':!0x0,'fin':!0x0,..._0x43e2b7};this['_extensions'][_0x2af188['extensionName']]||(_0x18691f[_0x4e3d7a(0x1fc)]=!0x1),this[_0x4e3d7a(0x24c)]['send'](_0x1a0e59||_0x5843e5,_0x18691f,_0x2cdd48);}[_0x58d42f(0x1fa)](){const _0x22e0d2=_0x58d42f;if(this[_0x22e0d2(0x2a7)]!==_0x40ba3d[_0x22e0d2(0x27a)]){if(this[_0x22e0d2(0x2a7)]===_0x40ba3d[_0x22e0d2(0x1bc)]){_0x384238(this,this['_req'],_0x22e0d2(0x312));return;}this[_0x22e0d2(0x179)]&&(this['_readyState']=_0x40ba3d[_0x22e0d2(0x196)],this[_0x22e0d2(0x179)][_0x22e0d2(0x231)]());}}}Object[_0x58d42f(0x1a4)](_0x40ba3d,'CONNECTING',{'enumerable':!0x0,'value':_0x2375cc[_0x58d42f(0x2d1)]('CONNECTING')}),Object[_0x58d42f(0x1a4)](_0x40ba3d[_0x58d42f(0x205)],_0x58d42f(0x1bc),{'enumerable':!0x0,'value':_0x2375cc[_0x58d42f(0x2d1)](_0x58d42f(0x1bc))}),Object[_0x58d42f(0x1a4)](_0x40ba3d,'OPEN',{'enumerable':!0x0,'value':_0x2375cc[_0x58d42f(0x2d1)](_0x58d42f(0x25c))}),Object[_0x58d42f(0x1a4)](_0x40ba3d['prototype'],_0x58d42f(0x25c),{'enumerable':!0x0,'value':_0x2375cc['indexOf'](_0x58d42f(0x25c))}),Object['defineProperty'](_0x40ba3d,_0x58d42f(0x196),{'enumerable':!0x0,'value':_0x2375cc['indexOf'](_0x58d42f(0x196))}),Object[_0x58d42f(0x1a4)](_0x40ba3d['prototype'],_0x58d42f(0x196),{'enumerable':!0x0,'value':_0x2375cc['indexOf'](_0x58d42f(0x196))}),Object[_0x58d42f(0x1a4)](_0x40ba3d,_0x58d42f(0x27a),{'enumerable':!0x0,'value':_0x2375cc[_0x58d42f(0x2d1)](_0x58d42f(0x27a))}),Object[_0x58d42f(0x1a4)](_0x40ba3d[_0x58d42f(0x205)],_0x58d42f(0x27a),{'enumerable':!0x0,'value':_0x2375cc[_0x58d42f(0x2d1)](_0x58d42f(0x27a))}),['binaryType',_0x58d42f(0x1fe),'extensions',_0x58d42f(0x2d5),_0x58d42f(0x1b7),_0x58d42f(0x2a7),_0x58d42f(0x240)]['forEach'](_0x5f20dd=>{const _0x2263fa=_0x58d42f;Object[_0x2263fa(0x1a4)](_0x40ba3d[_0x2263fa(0x205)],_0x5f20dd,{'enumerable':!0x0});}),[_0x58d42f(0x2e2),'error','close',_0x58d42f(0x23e)][_0x58d42f(0x21f)](_0x12e94a=>{const _0x5c4540=_0x58d42f;Object[_0x5c4540(0x1a4)](_0x40ba3d[_0x5c4540(0x205)],'on'+_0x12e94a,{'enumerable':!0x0,'get'(){for(const _0x2cbb7b of this['listeners'](_0x12e94a))if(_0x2cbb7b[_0xe33044])return _0x2cbb7b[_0x101622];return null;},'set'(_0x54b697){const _0x4057e3=_0x5c4540;for(const _0x4752ca of this[_0x4057e3(0x1c6)](_0x12e94a))if(_0x4752ca[_0xe33044]){this[_0x4057e3(0x279)](_0x12e94a,_0x4752ca);break;}typeof _0x54b697==_0x4057e3(0x29a)&&this[_0x4057e3(0x20a)](_0x12e94a,_0x54b697,{[_0xe33044]:!0x0});}});}),_0x40ba3d[_0x58d42f(0x205)]['addEventListener']=_0x1d5e5f,_0x40ba3d[_0x58d42f(0x205)][_0x58d42f(0x232)]=_0x2a9961,we=_0x40ba3d;function _0x5c674e(_0x4ad82d,_0x4ee81d,_0x461fb1,_0x21079b){const _0x25abf0=_0x58d42f,_0x521b5d={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x348368[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x21079b,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':_0x25abf0(0x334),'host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x4ad82d[_0x25abf0(0x262)]=_0x521b5d[_0x25abf0(0x26c)],!_0x348368[_0x25abf0(0x2e7)](_0x521b5d['protocolVersion']))throw new RangeError(_0x25abf0(0x2b5)+_0x521b5d[_0x25abf0(0x276)]+_0x25abf0(0x219)+_0x348368['join'](',\x20')+')');let _0x2226bb;if(_0x4ee81d instanceof _0x5462ab)_0x2226bb=_0x4ee81d;else try{_0x2226bb=new _0x5462ab(_0x4ee81d);}catch{throw new SyntaxError(_0x25abf0(0x245)+_0x4ee81d);}_0x2226bb['protocol']==='http:'?_0x2226bb[_0x25abf0(0x1b7)]=_0x25abf0(0x2a6):_0x2226bb[_0x25abf0(0x1b7)]===_0x25abf0(0x17f)&&(_0x2226bb[_0x25abf0(0x1b7)]=_0x25abf0(0x298)),_0x4ad82d[_0x25abf0(0x188)]=_0x2226bb['href'];const _0x72e698=_0x2226bb[_0x25abf0(0x1b7)]===_0x25abf0(0x298),_0x39c4c3=_0x2226bb['protocol']===_0x25abf0(0x20e);let _0x3a6459;if(_0x2226bb[_0x25abf0(0x1b7)]!==_0x25abf0(0x2a6)&&!_0x72e698&&!_0x39c4c3?_0x3a6459=_0x25abf0(0x292):_0x39c4c3&&!_0x2226bb[_0x25abf0(0x210)]?_0x3a6459='The\x20URL\x27s\x20pathname\x20is\x20empty':_0x2226bb[_0x25abf0(0x1db)]&&(_0x3a6459=_0x25abf0(0x19a)),_0x3a6459){const _0x379802=new SyntaxError(_0x3a6459);if(_0x4ad82d[_0x25abf0(0x1e3)]===0x0)throw _0x379802;_0x5b4676(_0x4ad82d,_0x379802);return;}const _0x1f08fb=_0x72e698?0x1bb:0x50,_0x1b8ccf=_0x12dafe(0x10)[_0x25abf0(0x33a)](_0x25abf0(0x225)),_0x43178b=_0x72e698?_0x1af075['request']:_0x31f360[_0x25abf0(0x266)],_0x17a770=new Set();let _0x1e7b8e;if(_0x521b5d[_0x25abf0(0x28a)]=_0x521b5d['createConnection']||(_0x72e698?_0x1cd3ea:_0x589c79),_0x521b5d[_0x25abf0(0x288)]=_0x521b5d['defaultPort']||_0x1f08fb,_0x521b5d['port']=_0x2226bb[_0x25abf0(0x272)]||_0x1f08fb,_0x521b5d['host']=_0x2226bb[_0x25abf0(0x265)][_0x25abf0(0x289)]('[')?_0x2226bb[_0x25abf0(0x265)][_0x25abf0(0x1ce)](0x1,-0x1):_0x2226bb[_0x25abf0(0x265)],_0x521b5d['headers']={..._0x521b5d[_0x25abf0(0x19d)],'Sec-WebSocket-Version':_0x521b5d[_0x25abf0(0x276)],'Sec-WebSocket-Key':_0x1b8ccf,'Connection':_0x25abf0(0x2d8),'Upgrade':'websocket'},_0x521b5d[_0x25abf0(0x2ea)]=_0x2226bb[_0x25abf0(0x210)]+_0x2226bb[_0x25abf0(0x33b)],_0x521b5d[_0x25abf0(0x23b)]=_0x521b5d[_0x25abf0(0x1e6)],_0x521b5d['perMessageDeflate']&&(_0x1e7b8e=new _0x2af188(_0x521b5d[_0x25abf0(0x241)]!==!0x0?_0x521b5d['perMessageDeflate']:{},!0x1,_0x521b5d[_0x25abf0(0x1b9)]),_0x521b5d[_0x25abf0(0x19d)][_0x25abf0(0x194)]=_0x5850e1({[_0x2af188['extensionName']]:_0x1e7b8e['offer']()})),_0x461fb1[_0x25abf0(0x2a1)]){for(const _0x2dfef5 of _0x461fb1){if(typeof _0x2dfef5!=_0x25abf0(0x184)||!_0x389092[_0x25abf0(0x2ad)](_0x2dfef5)||_0x17a770[_0x25abf0(0x237)](_0x2dfef5))throw new SyntaxError(_0x25abf0(0x1ba));_0x17a770[_0x25abf0(0x2d9)](_0x2dfef5);}_0x521b5d['headers']['Sec-WebSocket-Protocol']=_0x461fb1[_0x25abf0(0x335)](',');}if(_0x521b5d['origin']&&(_0x521b5d['protocolVersion']<0xd?_0x521b5d[_0x25abf0(0x19d)][_0x25abf0(0x328)]=_0x521b5d[_0x25abf0(0x1c4)]:_0x521b5d[_0x25abf0(0x19d)][_0x25abf0(0x257)]=_0x521b5d[_0x25abf0(0x1c4)]),(_0x2226bb[_0x25abf0(0x1d3)]||_0x2226bb['password'])&&(_0x521b5d[_0x25abf0(0x27b)]=_0x2226bb[_0x25abf0(0x1d3)]+':'+_0x2226bb[_0x25abf0(0x33c)]),_0x39c4c3){const _0x3b3aa1=_0x521b5d[_0x25abf0(0x2ea)][_0x25abf0(0x2bc)](':');_0x521b5d[_0x25abf0(0x247)]=_0x3b3aa1[0x0],_0x521b5d['path']=_0x3b3aa1[0x1];}let _0x57d1e1;if(_0x521b5d[_0x25abf0(0x1d2)]){if(_0x4ad82d[_0x25abf0(0x1e3)]===0x0){_0x4ad82d['_originalIpc']=_0x39c4c3,_0x4ad82d[_0x25abf0(0x1f6)]=_0x72e698,_0x4ad82d[_0x25abf0(0x2b7)]=_0x39c4c3?_0x521b5d[_0x25abf0(0x247)]:_0x2226bb[_0x25abf0(0x218)];const _0x1bad8d=_0x21079b&&_0x21079b[_0x25abf0(0x19d)];if(_0x21079b={..._0x21079b,'headers':{}},_0x1bad8d){for(const [_0x493d17,_0x5d31a5]of Object[_0x25abf0(0x1ab)](_0x1bad8d))_0x21079b['headers'][_0x493d17[_0x25abf0(0x1a1)]()]=_0x5d31a5;}}else{if(_0x4ad82d[_0x25abf0(0x20f)]('redirect')===0x0){const _0x1d9430=_0x39c4c3?_0x4ad82d[_0x25abf0(0x27c)]?_0x521b5d[_0x25abf0(0x247)]===_0x4ad82d['_originalHostOrSocketPath']:!0x1:_0x4ad82d[_0x25abf0(0x27c)]?!0x1:_0x2226bb['host']===_0x4ad82d[_0x25abf0(0x2b7)];(!_0x1d9430||_0x4ad82d['_originalSecure']&&!_0x72e698)&&(delete _0x521b5d[_0x25abf0(0x19d)][_0x25abf0(0x2d6)],delete _0x521b5d[_0x25abf0(0x19d)][_0x25abf0(0x2bf)],_0x1d9430||delete _0x521b5d[_0x25abf0(0x19d)][_0x25abf0(0x218)],_0x521b5d['auth']=void 0x0);}}_0x521b5d[_0x25abf0(0x27b)]&&!_0x21079b[_0x25abf0(0x19d)][_0x25abf0(0x2d6)]&&(_0x21079b[_0x25abf0(0x19d)][_0x25abf0(0x2d6)]='Basic\x20'+Buffer['from'](_0x521b5d[_0x25abf0(0x27b)])[_0x25abf0(0x33a)](_0x25abf0(0x225))),_0x57d1e1=_0x4ad82d[_0x25abf0(0x20b)]=_0x43178b(_0x521b5d),_0x4ad82d[_0x25abf0(0x1e3)]&&_0x4ad82d[_0x25abf0(0x1e1)]('redirect',_0x4ad82d[_0x25abf0(0x240)],_0x57d1e1);}else _0x57d1e1=_0x4ad82d[_0x25abf0(0x20b)]=_0x43178b(_0x521b5d);_0x521b5d[_0x25abf0(0x23b)]&&_0x57d1e1['on'](_0x25abf0(0x23b),()=>{const _0x4fef6e=_0x25abf0;_0x384238(_0x4ad82d,_0x57d1e1,_0x4fef6e(0x1f3));}),_0x57d1e1['on'](_0x25abf0(0x322),_0x23c443=>{const _0x27c1bd=_0x25abf0;_0x57d1e1===null||_0x57d1e1[_0x5686ba]||(_0x57d1e1=_0x4ad82d[_0x27c1bd(0x20b)]=null,_0x5b4676(_0x4ad82d,_0x23c443));}),_0x57d1e1['on'](_0x25abf0(0x2fd),_0x54afc9=>{const _0x1a0f4f=_0x25abf0,_0x1c0951=_0x54afc9['headers']['location'],_0x49ac33=_0x54afc9[_0x1a0f4f(0x1bf)];if(_0x1c0951&&_0x521b5d[_0x1a0f4f(0x1d2)]&&_0x49ac33>=0x12c&&_0x49ac33<0x190){if(++_0x4ad82d['_redirects']>_0x521b5d[_0x1a0f4f(0x222)]){_0x384238(_0x4ad82d,_0x57d1e1,_0x1a0f4f(0x1b0));return;}_0x57d1e1['abort']();let _0x3b8231;try{_0x3b8231=new _0x5462ab(_0x1c0951,_0x4ee81d);}catch{const _0x206f30=new SyntaxError(_0x1a0f4f(0x245)+_0x1c0951);_0x5b4676(_0x4ad82d,_0x206f30);return;}_0x5c674e(_0x4ad82d,_0x3b8231,_0x461fb1,_0x21079b);}else _0x4ad82d[_0x1a0f4f(0x1e1)]('unexpected-response',_0x57d1e1,_0x54afc9)||_0x384238(_0x4ad82d,_0x57d1e1,'Unexpected\x20server\x20response:\x20'+_0x54afc9['statusCode']);}),_0x57d1e1['on'](_0x25abf0(0x32d),(_0x114e76,_0x4a0c66,_0x11eeec)=>{const _0xbf85bf=_0x25abf0;if(_0x4ad82d[_0xbf85bf(0x1e1)](_0xbf85bf(0x32d),_0x114e76),_0x4ad82d[_0xbf85bf(0x2a7)]!==_0x40ba3d[_0xbf85bf(0x1bc)])return;_0x57d1e1=_0x4ad82d[_0xbf85bf(0x20b)]=null;const _0x1d5196=_0x114e76[_0xbf85bf(0x19d)][_0xbf85bf(0x32d)];if(_0x1d5196===void 0x0||_0x1d5196['toLowerCase']()!==_0xbf85bf(0x270)){_0x384238(_0x4ad82d,_0x4a0c66,_0xbf85bf(0x2f6));return;}const _0x24e67f=_0x25ebe9(_0xbf85bf(0x33d))['update'](_0x1b8ccf+_0xdedf16)[_0xbf85bf(0x1f1)]('base64');if(_0x114e76[_0xbf85bf(0x19d)]['sec-websocket-accept']!==_0x24e67f){_0x384238(_0x4ad82d,_0x4a0c66,_0xbf85bf(0x215));return;}const _0xfcc0f8=_0x114e76['headers']['sec-websocket-protocol'];let _0x55165b;if(_0xfcc0f8!==void 0x0?_0x17a770['size']?_0x17a770[_0xbf85bf(0x237)](_0xfcc0f8)||(_0x55165b=_0xbf85bf(0x329)):_0x55165b=_0xbf85bf(0x2ba):_0x17a770[_0xbf85bf(0x1a7)]&&(_0x55165b='Server\x20sent\x20no\x20subprotocol'),_0x55165b){_0x384238(_0x4ad82d,_0x4a0c66,_0x55165b);return;}_0xfcc0f8&&(_0x4ad82d[_0xbf85bf(0x2d7)]=_0xfcc0f8);const _0x34761c=_0x114e76['headers'][_0xbf85bf(0x1ff)];if(_0x34761c!==void 0x0){if(!_0x1e7b8e){_0x384238(_0x4ad82d,_0x4a0c66,_0xbf85bf(0x183));return;}let _0x3dd2a3;try{_0x3dd2a3=_0x63669b(_0x34761c);}catch{_0x384238(_0x4ad82d,_0x4a0c66,_0xbf85bf(0x230));return;}const _0x31d779=Object[_0xbf85bf(0x33f)](_0x3dd2a3);if(_0x31d779[_0xbf85bf(0x2a1)]!==0x1||_0x31d779[0x0]!==_0x2af188[_0xbf85bf(0x2b8)]){_0x384238(_0x4ad82d,_0x4a0c66,_0xbf85bf(0x1dc));return;}try{_0x1e7b8e['accept'](_0x3dd2a3[_0x2af188['extensionName']]);}catch{_0x384238(_0x4ad82d,_0x4a0c66,'Invalid\x20Sec-WebSocket-Extensions\x20header');return;}_0x4ad82d[_0xbf85bf(0x1eb)][_0x2af188[_0xbf85bf(0x2b8)]]=_0x1e7b8e;}_0x4ad82d['setSocket'](_0x4a0c66,_0x11eeec,{'allowSynchronousEvents':_0x521b5d[_0xbf85bf(0x1ec)],'generateMask':_0x521b5d[_0xbf85bf(0x1a8)],'maxPayload':_0x521b5d[_0xbf85bf(0x1b9)],'skipUTF8Validation':_0x521b5d[_0xbf85bf(0x19c)]});}),_0x521b5d[_0x25abf0(0x293)]?_0x521b5d[_0x25abf0(0x293)](_0x57d1e1,_0x4ad82d):_0x57d1e1[_0x25abf0(0x246)]();}function _0x5b4676(_0x4be3a6,_0x48c8f9){const _0x1b2ce4=_0x58d42f;_0x4be3a6[_0x1b2ce4(0x27e)]=_0x40ba3d['CLOSING'],_0x4be3a6[_0x1b2ce4(0x275)]=!0x0,_0x4be3a6[_0x1b2ce4(0x1e1)]('error',_0x48c8f9),_0x4be3a6[_0x1b2ce4(0x264)]();}function _0x589c79(_0x578050){const _0x173839=_0x58d42f;return _0x578050[_0x173839(0x2ea)]=_0x578050[_0x173839(0x247)],_0x585e17['connect'](_0x578050);}function _0x1cd3ea(_0x368711){const _0x4dd19c=_0x58d42f;return _0x368711[_0x4dd19c(0x2ea)]=void 0x0,!_0x368711[_0x4dd19c(0x2c1)]&&_0x368711['servername']!==''&&(_0x368711['servername']=_0x585e17[_0x4dd19c(0x25b)](_0x368711['host'])?'':_0x368711[_0x4dd19c(0x218)]),_0x38a016['connect'](_0x368711);}function _0x384238(_0x4a12a0,_0x1f9d78,_0x39add5){const _0x1d2813=_0x58d42f;_0x4a12a0[_0x1d2813(0x27e)]=_0x40ba3d[_0x1d2813(0x196)];const _0xa8177c=new Error(_0x39add5);Error[_0x1d2813(0x249)](_0xa8177c,_0x384238),_0x1f9d78[_0x1d2813(0x2b2)]?(_0x1f9d78[_0x5686ba]=!0x0,_0x1f9d78[_0x1d2813(0x2ab)](),_0x1f9d78['socket']&&!_0x1f9d78[_0x1d2813(0x1b4)][_0x1d2813(0x2ef)]&&_0x1f9d78[_0x1d2813(0x1b4)][_0x1d2813(0x231)](),process[_0x1d2813(0x1f0)](_0x5b4676,_0x4a12a0,_0xa8177c)):(_0x1f9d78[_0x1d2813(0x231)](_0xa8177c),_0x1f9d78[_0x1d2813(0x304)](_0x1d2813(0x322),_0x4a12a0[_0x1d2813(0x1e1)][_0x1d2813(0x2f3)](_0x4a12a0,_0x1d2813(0x322))),_0x1f9d78['once'](_0x1d2813(0x197),_0x4a12a0['emitClose'][_0x1d2813(0x2f3)](_0x4a12a0)));}function _0x3ba30d(_0xdff035,_0x2635f2,_0x13e993){const _0x382264=_0x58d42f;if(_0x2635f2){const _0x5eacf6=_0x163aa3(_0x2635f2)?_0x2635f2[_0x382264(0x1a7)]:_0x2f1888(_0x2635f2)[_0x382264(0x2a1)];_0xdff035[_0x382264(0x179)]?_0xdff035['_sender'][_0x382264(0x2b0)]+=_0x5eacf6:_0xdff035[_0x382264(0x330)]+=_0x5eacf6;}if(_0x13e993){const _0x25cbc7=new Error(_0x382264(0x229)+_0xdff035[_0x382264(0x2a7)]+'\x20('+_0x2375cc[_0xdff035[_0x382264(0x2a7)]]+')');process[_0x382264(0x1f0)](_0x13e993,_0x25cbc7);}}function _0x3b760f(_0x263551,_0x58fc8c){const _0x447473=_0x58d42f,_0x42abd7=this[_0x21911c];_0x42abd7['_closeFrameReceived']=!0x0,_0x42abd7[_0x447473(0x18e)]=_0x58fc8c,_0x42abd7[_0x447473(0x2ee)]=_0x263551,_0x42abd7[_0x447473(0x179)][_0x21911c]!==void 0x0&&(_0x42abd7[_0x447473(0x179)][_0x447473(0x279)](_0x447473(0x278),_0x4e5e1c),process['nextTick'](_0x116e5b,_0x42abd7[_0x447473(0x179)]),_0x263551===0x3ed?_0x42abd7[_0x447473(0x197)]():_0x42abd7[_0x447473(0x197)](_0x263551,_0x58fc8c));}function _0x3ec21b(){const _0x4b6b3f=_0x58d42f,_0x3e26f9=this[_0x21911c];_0x3e26f9[_0x4b6b3f(0x2d5)]||_0x3e26f9[_0x4b6b3f(0x179)][_0x4b6b3f(0x321)]();}function _0x4b8a6b(_0x10fb16){const _0x4d62b9=_0x58d42f,_0x1abd26=this[_0x21911c];_0x1abd26[_0x4d62b9(0x179)][_0x21911c]!==void 0x0&&(_0x1abd26['_socket'][_0x4d62b9(0x279)](_0x4d62b9(0x278),_0x4e5e1c),process['nextTick'](_0x116e5b,_0x1abd26[_0x4d62b9(0x179)]),_0x1abd26[_0x4d62b9(0x197)](_0x10fb16[_0x4ad9d1])),_0x1abd26[_0x4d62b9(0x275)]||(_0x1abd26[_0x4d62b9(0x275)]=!0x0,_0x1abd26[_0x4d62b9(0x1e1)](_0x4d62b9(0x322),_0x10fb16));}function _0x213b36(){const _0x5e0511=_0x58d42f;this[_0x21911c][_0x5e0511(0x264)]();}function _0x5b1461(_0x2d61c7,_0x473ccb){const _0x39e0d6=_0x58d42f;this[_0x21911c][_0x39e0d6(0x1e1)](_0x39e0d6(0x23e),_0x2d61c7,_0x473ccb);}function _0x13acc8(_0xcbadd9){const _0x21ab33=_0x58d42f,_0x264025=this[_0x21911c];_0x264025['_autoPong']&&_0x264025[_0x21ab33(0x295)](_0xcbadd9,!this[_0x21ab33(0x30a)],_0x1aa8bc),_0x264025[_0x21ab33(0x1e1)](_0x21ab33(0x2f4),_0xcbadd9);}function _0x26b083(_0x481f2f){const _0x2b60a9=_0x58d42f;this[_0x21911c]['emit'](_0x2b60a9(0x295),_0x481f2f);}function _0x116e5b(_0x31cabf){const _0x2618ed=_0x58d42f;_0x31cabf[_0x2618ed(0x321)]();}function _0x58010f(_0x7b50b1){const _0x2324eb=_0x58d42f,_0x3c6add=this[_0x21911c];_0x3c6add[_0x2324eb(0x2a7)]!==_0x40ba3d[_0x2324eb(0x27a)]&&(_0x3c6add[_0x2324eb(0x2a7)]===_0x40ba3d['OPEN']&&(_0x3c6add['_readyState']=_0x40ba3d[_0x2324eb(0x196)],_0x55a814(_0x3c6add)),this[_0x2324eb(0x179)]['end'](),_0x3c6add[_0x2324eb(0x275)]||(_0x3c6add[_0x2324eb(0x275)]=!0x0,_0x3c6add['emit']('error',_0x7b50b1)));}function _0x55a814(_0x5b91c1){const _0x1b2577=_0x58d42f;_0x5b91c1['_closeTimer']=setTimeout(_0x5b91c1[_0x1b2577(0x179)]['destroy']['bind'](_0x5b91c1[_0x1b2577(0x179)]),_0x452f6c);}function _0x5ed15a(){const _0x4a5768=_0x58d42f,_0x273a7c=this[_0x21911c];this[_0x4a5768(0x279)](_0x4a5768(0x197),_0x5ed15a),this['removeListener']('data',_0x4e5e1c),this[_0x4a5768(0x279)]('end',_0x19229b),_0x273a7c[_0x4a5768(0x27e)]=_0x40ba3d[_0x4a5768(0x196)];let _0x15bdc9;!this['_readableState'][_0x4a5768(0x234)]&&!_0x273a7c[_0x4a5768(0x317)]&&!_0x273a7c[_0x4a5768(0x1b1)][_0x4a5768(0x325)]['errorEmitted']&&(_0x15bdc9=_0x273a7c['_socket'][_0x4a5768(0x1d6)]())!==null&&_0x273a7c[_0x4a5768(0x1b1)][_0x4a5768(0x29b)](_0x15bdc9),_0x273a7c[_0x4a5768(0x1b1)][_0x4a5768(0x246)](),this[_0x21911c]=void 0x0,clearTimeout(_0x273a7c['_closeTimer']),_0x273a7c[_0x4a5768(0x1b1)][_0x4a5768(0x325)][_0x4a5768(0x1a0)]||_0x273a7c['_receiver'][_0x4a5768(0x325)][_0x4a5768(0x1ed)]?_0x273a7c['emitClose']():(_0x273a7c['_receiver']['on'](_0x4a5768(0x322),_0x213b36),_0x273a7c[_0x4a5768(0x1b1)]['on']('finish',_0x213b36));}function _0x4e5e1c(_0x23a577){const _0x22d3e6=_0x58d42f;this[_0x21911c][_0x22d3e6(0x1b1)][_0x22d3e6(0x29b)](_0x23a577)||this[_0x22d3e6(0x17c)]();}function _0x19229b(){const _0x57d4ae=_0x58d42f,_0x429d4d=this[_0x21911c];_0x429d4d[_0x57d4ae(0x27e)]=_0x40ba3d['CLOSING'],_0x429d4d[_0x57d4ae(0x1b1)][_0x57d4ae(0x246)](),this[_0x57d4ae(0x246)]();}function _0x42cbb0(){const _0x3db336=_0x58d42f,_0x2ac069=this[_0x21911c];this[_0x3db336(0x279)](_0x3db336(0x322),_0x42cbb0),this['on'](_0x3db336(0x322),_0x1aa8bc),_0x2ac069&&(_0x2ac069[_0x3db336(0x27e)]=_0x40ba3d['CLOSING'],this['destroy']());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x4b2eb0}=oe;function _0x5454d0(_0x39d053){const _0x446a7c=_0x1237;_0x39d053[_0x446a7c(0x1e1)](_0x446a7c(0x197));}function _0x127c1c(){const _0xfdd576=_0x1237;!this['destroyed']&&this['_writableState'][_0xfdd576(0x1a0)]&&this['destroy']();}function _0xcbe110(_0x1eefb2){const _0x389aab=_0x1237;this[_0x389aab(0x279)](_0x389aab(0x322),_0xcbe110),this[_0x389aab(0x231)](),this[_0x389aab(0x20f)](_0x389aab(0x322))===0x0&&this[_0x389aab(0x1e1)](_0x389aab(0x322),_0x1eefb2);}function _0x19ef18(_0x3e53ad,_0x40dc11){const _0xe23694=_0x1237;let _0x41b2b1=!0x0;const _0x51a8e7=new _0x4b2eb0({..._0x40dc11,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x3e53ad['on'](_0xe23694(0x23e),function(_0x2f495d,_0x241eb0){const _0x44207f=_0xe23694,_0x2f67d5=!_0x241eb0&&_0x51a8e7[_0x44207f(0x191)]['objectMode']?_0x2f495d[_0x44207f(0x33a)]():_0x2f495d;_0x51a8e7[_0x44207f(0x2d0)](_0x2f67d5)||_0x3e53ad[_0x44207f(0x17c)]();}),_0x3e53ad[_0xe23694(0x304)](_0xe23694(0x322),function(_0x10fb29){const _0x32faf1=_0xe23694;_0x51a8e7[_0x32faf1(0x2ef)]||(_0x41b2b1=!0x1,_0x51a8e7[_0x32faf1(0x231)](_0x10fb29));}),_0x3e53ad['once'](_0xe23694(0x197),function(){const _0x3f480d=_0xe23694;_0x51a8e7['destroyed']||_0x51a8e7[_0x3f480d(0x2d0)](null);}),_0x51a8e7[_0xe23694(0x207)]=function(_0x1fd65d,_0x1cb876){const _0x7b95ea=_0xe23694;if(_0x3e53ad['readyState']===_0x3e53ad[_0x7b95ea(0x27a)]){_0x1cb876(_0x1fd65d),process[_0x7b95ea(0x1f0)](_0x5454d0,_0x51a8e7);return;}let _0x2efa57=!0x1;_0x3e53ad[_0x7b95ea(0x304)](_0x7b95ea(0x322),function(_0x3da590){_0x2efa57=!0x0,_0x1cb876(_0x3da590);}),_0x3e53ad[_0x7b95ea(0x304)](_0x7b95ea(0x197),function(){const _0x2accee=_0x7b95ea;_0x2efa57||_0x1cb876(_0x1fd65d),process[_0x2accee(0x1f0)](_0x5454d0,_0x51a8e7);}),_0x41b2b1&&_0x3e53ad[_0x7b95ea(0x1fa)]();},_0x51a8e7[_0xe23694(0x238)]=function(_0x1e08bc){const _0x1f78e9=_0xe23694;if(_0x3e53ad['readyState']===_0x3e53ad[_0x1f78e9(0x1bc)]){_0x3e53ad[_0x1f78e9(0x304)](_0x1f78e9(0x2e2),function(){_0x51a8e7['_final'](_0x1e08bc);});return;}_0x3e53ad['_socket']!==null&&(_0x3e53ad[_0x1f78e9(0x179)][_0x1f78e9(0x325)][_0x1f78e9(0x1a0)]?(_0x1e08bc(),_0x51a8e7[_0x1f78e9(0x191)][_0x1f78e9(0x234)]&&_0x51a8e7[_0x1f78e9(0x231)]()):(_0x3e53ad['_socket'][_0x1f78e9(0x304)](_0x1f78e9(0x1da),function(){_0x1e08bc();}),_0x3e53ad[_0x1f78e9(0x197)]()));},_0x51a8e7[_0xe23694(0x193)]=function(){const _0x451f86=_0xe23694;_0x3e53ad[_0x451f86(0x2d5)]&&_0x3e53ad['resume']();},_0x51a8e7[_0xe23694(0x174)]=function(_0x3f1bf4,_0x129e90,_0x249437){const _0x37d722=_0xe23694;if(_0x3e53ad['readyState']===_0x3e53ad[_0x37d722(0x1bc)]){_0x3e53ad[_0x37d722(0x304)](_0x37d722(0x2e2),function(){const _0x12aa26=_0x37d722;_0x51a8e7[_0x12aa26(0x174)](_0x3f1bf4,_0x129e90,_0x249437);});return;}_0x3e53ad[_0x37d722(0x1c0)](_0x3f1bf4,_0x249437);},_0x51a8e7['on']('end',_0x127c1c),_0x51a8e7['on'](_0xe23694(0x322),_0xcbe110),_0x51a8e7;}return Oe=_0x19ef18,Oe;}Ut(),lt(),ft();var Mt=Pe();const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x1029c3}=ae();function _0x4ab9bc(_0x137645){const _0xa8fc39=_0x1237,_0x5b0bb7=new Set();let _0x16f3d7=-0x1,_0x51c568=-0x1,_0x5d4a10=0x0;for(_0x5d4a10;_0x5d4a10<_0x137645[_0xa8fc39(0x2a1)];_0x5d4a10++){const _0x28e459=_0x137645['charCodeAt'](_0x5d4a10);if(_0x51c568===-0x1&&_0x1029c3[_0x28e459]===0x1)_0x16f3d7===-0x1&&(_0x16f3d7=_0x5d4a10);else{if(_0x5d4a10!==0x0&&(_0x28e459===0x20||_0x28e459===0x9))_0x51c568===-0x1&&_0x16f3d7!==-0x1&&(_0x51c568=_0x5d4a10);else{if(_0x28e459===0x2c){if(_0x16f3d7===-0x1)throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x5d4a10);_0x51c568===-0x1&&(_0x51c568=_0x5d4a10);const _0x8437e6=_0x137645['slice'](_0x16f3d7,_0x51c568);if(_0x5b0bb7[_0xa8fc39(0x237)](_0x8437e6))throw new SyntaxError(_0xa8fc39(0x303)+_0x8437e6+_0xa8fc39(0x263));_0x5b0bb7[_0xa8fc39(0x2d9)](_0x8437e6),_0x16f3d7=_0x51c568=-0x1;}else throw new SyntaxError(_0xa8fc39(0x223)+_0x5d4a10);}}}if(_0x16f3d7===-0x1||_0x51c568!==-0x1)throw new SyntaxError(_0xa8fc39(0x1cf));const _0x3bfbcf=_0x137645[_0xa8fc39(0x1ce)](_0x16f3d7,_0x5d4a10);if(_0x5b0bb7[_0xa8fc39(0x237)](_0x3bfbcf))throw new SyntaxError(_0xa8fc39(0x303)+_0x3bfbcf+_0xa8fc39(0x263));return _0x5b0bb7[_0xa8fc39(0x2d9)](_0x3bfbcf),_0x5b0bb7;}return Ce={'parse':_0x4ab9bc},Ce;}var Te,rt;function _0x1c48(){const _0x4b2048=['charCodeAt','has','_final','arrayBuffer','getMask','timeout','noServer','total-length','message','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','url','perMessageDeflate','unmask','_no_context_takeover','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','Invalid\x20URL:\x20','end','socketPath','from','captureStackTrace','invalid\x20opcode\x200','haveLength','_sender','clients','callback','_maskBuffer','sendFrame','setNoDelay','unshift','serverMaxWindowBits','80781VVxHdk','pending','_configService','Origin','ISocketService','registerHTTPInterceptor','exports','isIP','OPEN','WS_ERR_INVALID_OPCODE','7MkmMxs','NodeCollaborationSocketService','onclose','handleEvent','_autoPong','\x22\x20subprotocol\x20is\x20duplicated','emitClose','hostname','request','rsv1','address','connection','getPayloadLength16','jobs','autoPong','conclude','enqueue','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','websocket','controlMessage','port','pow','setTimeout','_errorEmitted','protocolVersion','startLoop','data','removeListener','CLOSED','auth','_originalIpc','invalid\x20opcode\x20','_readyState','dequeue','Sec-WebSocket-Accept:\x20','status-code','_fragmented','10paEmln','Z_DEFAULT_WINDOWBITS','The\x20server\x20is\x20not\x20running','consume','https','defaultPort','startsWith','createConnection','update','permessage-deflate','Invalid\x20value\x20for\x20parameter\x20\x22','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','File','isBuffer','createDeflateRaw','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','finishRequest','_shouldEmitClose','pong','kDone','WS_NO_UTF_8_VALIDATE','wss:','needDrain','function','write','getConfig','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','isArray','4874771cDxdic','CollaborationSocketService','length','Max\x20payload\x20size\x20exceeded','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','\x0d\x0a\x0d\x0a','ws:','readyState','_errored','IConfigService','_registerDependencies','abort','__esModule','test','client_no_context_takeover','HTTP/1.1\x20','_bufferedBytes','getPayloadLength64','setHeader','_opcode','336725iDbvLt','Unsupported\x20protocol\x20version:\x20','WS_ERR_EXPECTED_MASK','_originalHostOrSocketPath','extensionName','getOwnPropertyDescriptor','Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested','nodebuffer','split','onopen','_masked','cookie','invalid\x20UTF-8\x20sequence','servername','kListener','uncork','STATUS_CODES','_loop','sec-websocket-protocol','_injector','WS_ERR_EXPECTED_FIN','_removeListeners','wasClean','concurrencyLimit','method','_compressed','toStringTag','Cookie','push','indexOf','listen','replace','Unknown\x20parameter\x20\x22','isPaused','authorization','_protocol','Upgrade','add','_allowSynchronousEvents','dataMessage','fragments','server_max_window_bits','writeUInt16BE','_closeFrameSent','registerDependencies','number','open','options','map','hasOwnProperty','stream','includes','concat','333777VAzkUN','path','freeze','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','server','_closeCode','destroyed','dispatch','1619271ctHasx','createError','bind','ping','collaboration-client-node.config','Invalid\x20Upgrade\x20header','Blob','_maxPayload','_skipUTF8Validation','allocUnsafe','_firstFragment','createServer','response','default','Observable','createSocket','handleProtocols','getBlobData','The\x20\x22','once','text/plain','isServer','onerror','concurrency','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','_isServer','reason','8CrmQoS','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','getData','399812HogaJx','MASK\x20must\x20be\x20clear','onmessage','WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established','Parameter\x20\x22','removeAllListeners','handleUpgrade','verifyClient','_closeFrameReceived','invalid\x20payload\x20length\x20','Upgrade:\x20websocket','tls','code','kCode','kAborted','_options','_binaryType','onStarting','resume','error','env','kData','_writableState','decompress','completeUpgrade','Sec-WebSocket-Origin','Server\x20sent\x20an\x20invalid\x20subprotocol','shouldHandle','ILogService','kRun','upgrade','next','readUInt16BE','_bufferedAmount','normalizeParams','HTTP/1.1\x20101\x20Switching\x20Protocols','Invalid\x20Sec-WebSocket-Protocol\x20header','GET','join','_compress','_queue','apply','server_no_context_takeover','toString','search','password','sha1','client_max_window_bits','keys','_inflate','Invalid\x20WebSocket\x20frame:\x20','alloc','createInflateRaw','zlib','_write','fin','UniverCollaborationClientNodePlugin','opcode','events','_socket','WS_ERR_UNEXPECTED_MASK','acceptAsClient','pause','parse','kType','https:','shift','_messageLength','\x22\x20must\x20have\x20only\x20a\x20single\x20value','Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested','string','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','then','create','_url','find','_payloadLength','type','UniverCollaborationClientPlugin','_server','_closeMessage','HTTPService','getInfo','_readableState','_generateMask','_read','Sec-WebSocket-Extensions','cleanup','CLOSING','close','get','clientMaxWindowBits','The\x20URL\x20contains\x20a\x20fragment\x20identifier','_buffers','skipUTF8Validation','headers','Inject','Connection:\x20Upgrade','finished','toLowerCase','setSocket','set','defineProperty','isInteger','binaryType','size','generateMask','values','_mask','entries','drain','_decompress','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','Maximum\x20redirects\x20exceeded','_receiver','_max_window_bits','isValidUTF8','socket','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','byteOffset','protocol','acceptAsServer','maxPayload','An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified','byteLength','CONNECTING','reset','zlibInflateOptions','statusCode','send','crypto','share','_fragments','origin','Module','listeners','kByteLength','kMessage','constructor','kWasClean','client','@univerjs-pro/collaboration','arraybuffer','slice','Unexpected\x20end\x20of\x20input','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','clientNoContextTakeover','followRedirects','username','_fin','_deflate','read','@univerjs/core','params','COLLABORATION_CLIENT_NODE_CONFIG_KEY','finish','hash','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','text/html','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','value','catch','emit','kError','_redirects','zlibDeflateOptions','_paused','handshakeTimeout','cork','species','authorized','call','_extensions','allowSynchronousEvents','errorEmitted','sec-websocket-key','accept','nextTick','digest','pipe','Opening\x20handshake\x20has\x20timed\x20out','One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified','\x22:\x20','_originalSecure','object','buffer','Disposable','terminate','serverNoContextTakeover','compress','Z_SYNC_FLUSH','bufferedAmount','sec-websocket-extensions','wsClientError','_threshold','mask','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','setConfig','prototype','10RQrtFN','_destroy','dispose','sec-websocket-version','addEventListener','_req','frame','1590414PUxBee','ws+unix:','listenerCount','pathname','DependentOn','WS_NO_BUFFER_UTIL','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','MASK\x20must\x20be\x20set','Invalid\x20Sec-WebSocket-Accept\x20header','RSV1\x20must\x20be\x20clear','_httpService','host','\x20(supported\x20versions:\x20','writeUIntBE','extensions','_totalPayloadLength','blob','toDisposable','forEach','sec-websocket-origin','_state','maxRedirects','Unexpected\x20character\x20at\x20index\x20','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','base64','customHeaders','pluginName','readOnly','WebSocket\x20is\x20not\x20open:\x20readyState\x20','threshold','writable','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','readable','WS_ERR_UNEXPECTED_RSV_1','clientTracking','Invalid\x20Sec-WebSocket-Extensions\x20header','destroy','removeEventListener','readUInt32BE','endEmitted','target'];_0x1c48=function(){return _0x4b2048;};return _0x1c48();}function Ft(){const _0x15d012=_0x51ee62;if(rt)return Te;rt=0x1;const _0xe669e8=nt,_0x5e190c=ot,{Duplex:_0xe852ed}=oe,{createHash:_0x3807df}=Le,_0x20732c=ct(),_0x137270=he(),_0xdca764=At(),_0x337310=Pe(),{GUID:_0x284b5e,kWebSocket:_0x4199d1}=H(),_0x19b368=/^[+/0-9A-Za-z]{22}==$/,_0x8c6a72=0x0,_0x12ed9d=0x1,_0x7ebd36=0x2;class _0xc5b65e extends _0xe669e8{constructor(_0x1d10c7,_0x37d39c){const _0x1778b8=_0x1237;if(super(),_0x1d10c7={'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':_0x337310,..._0x1d10c7},_0x1d10c7['port']==null&&!_0x1d10c7[_0x1778b8(0x2ed)]&&!_0x1d10c7['noServer']||_0x1d10c7[_0x1778b8(0x272)]!=null&&(_0x1d10c7[_0x1778b8(0x2ed)]||_0x1d10c7[_0x1778b8(0x23c)])||_0x1d10c7[_0x1778b8(0x2ed)]&&_0x1d10c7[_0x1778b8(0x23c)])throw new TypeError(_0x1778b8(0x1f4));if(_0x1d10c7[_0x1778b8(0x272)]!=null?(this['_server']=_0x5e190c[_0x1778b8(0x2fc)]((_0x1ec775,_0x4134c2)=>{const _0x2c8891=_0x1778b8,_0x1f6d8f=_0x5e190c['STATUS_CODES'][0x1aa];_0x4134c2['writeHead'](0x1aa,{'Content-Length':_0x1f6d8f['length'],'Content-Type':_0x2c8891(0x305)}),_0x4134c2['end'](_0x1f6d8f);}),this[_0x1778b8(0x18d)][_0x1778b8(0x2d2)](_0x1d10c7[_0x1778b8(0x272)],_0x1d10c7[_0x1778b8(0x218)],_0x1d10c7['backlog'],_0x37d39c)):_0x1d10c7[_0x1778b8(0x2ed)]&&(this[_0x1778b8(0x18d)]=_0x1d10c7[_0x1778b8(0x2ed)]),this['_server']){const _0x44e5ac=this[_0x1778b8(0x1e1)][_0x1778b8(0x2f3)](this,_0x1778b8(0x269));this[_0x1778b8(0x2c9)]=_0x3a7956(this['_server'],{'listening':this[_0x1778b8(0x1e1)][_0x1778b8(0x2f3)](this,'listening'),'error':this[_0x1778b8(0x1e1)]['bind'](this,_0x1778b8(0x322)),'upgrade':(_0x16f9bb,_0x376c48,_0x3c2f92)=>{const _0x384d7a=_0x1778b8;this[_0x384d7a(0x315)](_0x16f9bb,_0x376c48,_0x3c2f92,_0x44e5ac);}});}_0x1d10c7['perMessageDeflate']===!0x0&&(_0x1d10c7[_0x1778b8(0x241)]={}),_0x1d10c7[_0x1778b8(0x22f)]&&(this[_0x1778b8(0x24d)]=new Set(),this[_0x1778b8(0x294)]=!0x1),this[_0x1778b8(0x2e3)]=_0x1d10c7,this[_0x1778b8(0x221)]=_0x8c6a72;}[_0x15d012(0x268)](){const _0x2dcbdb=_0x15d012;if(this['options'][_0x2dcbdb(0x23c)])throw new Error(_0x2dcbdb(0x2a3));return this[_0x2dcbdb(0x18d)]?this['_server'][_0x2dcbdb(0x268)]():null;}[_0x15d012(0x197)](_0x31ac35){const _0x56bd48=_0x15d012;if(this['_state']===_0x7ebd36){_0x31ac35&&this[_0x56bd48(0x304)](_0x56bd48(0x197),()=>{const _0x3dd274=_0x56bd48;_0x31ac35(new Error(_0x3dd274(0x285)));}),process[_0x56bd48(0x1f0)](_0x35e3ac,this);return;}if(_0x31ac35&&this[_0x56bd48(0x304)](_0x56bd48(0x197),_0x31ac35),this['_state']!==_0x12ed9d){if(this['_state']=_0x12ed9d,this[_0x56bd48(0x2e3)][_0x56bd48(0x23c)]||this[_0x56bd48(0x2e3)][_0x56bd48(0x2ed)])this[_0x56bd48(0x18d)]&&(this[_0x56bd48(0x2c9)](),this[_0x56bd48(0x2c9)]=this[_0x56bd48(0x18d)]=null),this[_0x56bd48(0x24d)]?this[_0x56bd48(0x24d)][_0x56bd48(0x1a7)]?this[_0x56bd48(0x294)]=!0x0:process[_0x56bd48(0x1f0)](_0x35e3ac,this):process['nextTick'](_0x35e3ac,this);else{const _0x12c4e8=this[_0x56bd48(0x18d)];this[_0x56bd48(0x2c9)](),this[_0x56bd48(0x2c9)]=this[_0x56bd48(0x18d)]=null,_0x12c4e8['close'](()=>{_0x35e3ac(this);});}}}[_0x15d012(0x32a)](_0x54ca69){const _0x30841c=_0x15d012;if(this[_0x30841c(0x2e3)][_0x30841c(0x2ea)]){const _0x3bcc61=_0x54ca69[_0x30841c(0x240)][_0x30841c(0x2d1)]('?');if((_0x3bcc61!==-0x1?_0x54ca69['url'][_0x30841c(0x1ce)](0x0,_0x3bcc61):_0x54ca69[_0x30841c(0x240)])!==this[_0x30841c(0x2e3)]['path'])return!0x1;}return!0x0;}['handleUpgrade'](_0xe58a5,_0x55fa61,_0x4ac707,_0xc07622){const _0x5074d4=_0x15d012;_0x55fa61['on']('error',_0x260e85);const _0x385c05=_0xe58a5[_0x5074d4(0x19d)][_0x5074d4(0x1ee)],_0x16ece9=_0xe58a5['headers'][_0x5074d4(0x32d)],_0x254fe3=+_0xe58a5[_0x5074d4(0x19d)][_0x5074d4(0x209)];if(_0xe58a5[_0x5074d4(0x2cc)]!==_0x5074d4(0x334)){_0x148749(this,_0xe58a5,_0x55fa61,0x195,'Invalid\x20HTTP\x20method');return;}if(_0x16ece9===void 0x0||_0x16ece9[_0x5074d4(0x1a1)]()!==_0x5074d4(0x270)){_0x148749(this,_0xe58a5,_0x55fa61,0x190,_0x5074d4(0x2f6));return;}if(_0x385c05===void 0x0||!_0x19b368[_0x5074d4(0x2ad)](_0x385c05)){_0x148749(this,_0xe58a5,_0x55fa61,0x190,_0x5074d4(0x23f));return;}if(_0x254fe3!==0x8&&_0x254fe3!==0xd){_0x148749(this,_0xe58a5,_0x55fa61,0x190,_0x5074d4(0x1d0));return;}if(!this[_0x5074d4(0x32a)](_0xe58a5)){_0x5588d2(_0x55fa61,0x190);return;}const _0x17291e=_0xe58a5[_0x5074d4(0x19d)][_0x5074d4(0x2c6)];let _0x32767f=new Set();if(_0x17291e!==void 0x0)try{_0x32767f=_0xdca764[_0x5074d4(0x17d)](_0x17291e);}catch{_0x148749(this,_0xe58a5,_0x55fa61,0x190,_0x5074d4(0x333));return;}const _0x47a11c=_0xe58a5[_0x5074d4(0x19d)][_0x5074d4(0x1ff)],_0x1025f5={};if(this[_0x5074d4(0x2e3)][_0x5074d4(0x241)]&&_0x47a11c!==void 0x0){const _0x2dd3c3=new _0x137270(this[_0x5074d4(0x2e3)][_0x5074d4(0x241)],!0x0,this[_0x5074d4(0x2e3)][_0x5074d4(0x1b9)]);try{const _0x1b2e7d=_0x20732c['parse'](_0x47a11c);_0x1b2e7d[_0x137270[_0x5074d4(0x2b8)]]&&(_0x2dd3c3['accept'](_0x1b2e7d[_0x137270[_0x5074d4(0x2b8)]]),_0x1025f5[_0x137270['extensionName']]=_0x2dd3c3);}catch{_0x148749(this,_0xe58a5,_0x55fa61,0x190,_0x5074d4(0x1de));return;}}if(this['options'][_0x5074d4(0x316)]){const _0x17045c={'origin':_0xe58a5[_0x5074d4(0x19d)][''+(_0x254fe3===0x8?_0x5074d4(0x220):'origin')],'secure':!!(_0xe58a5[_0x5074d4(0x1b4)][_0x5074d4(0x1e9)]||_0xe58a5[_0x5074d4(0x1b4)]['encrypted']),'req':_0xe58a5};if(this[_0x5074d4(0x2e3)]['verifyClient'][_0x5074d4(0x2a1)]===0x2){this[_0x5074d4(0x2e3)][_0x5074d4(0x316)](_0x17045c,(_0x63e230,_0xd09db3,_0x1dc9f8,_0x4424f1)=>{const _0x4fc648=_0x5074d4;if(!_0x63e230)return _0x5588d2(_0x55fa61,_0xd09db3||0x191,_0x1dc9f8,_0x4424f1);this[_0x4fc648(0x327)](_0x1025f5,_0x385c05,_0x32767f,_0xe58a5,_0x55fa61,_0x4ac707,_0xc07622);});return;}if(!this[_0x5074d4(0x2e3)][_0x5074d4(0x316)](_0x17045c))return _0x5588d2(_0x55fa61,0x191);}this[_0x5074d4(0x327)](_0x1025f5,_0x385c05,_0x32767f,_0xe58a5,_0x55fa61,_0x4ac707,_0xc07622);}['completeUpgrade'](_0x1bf223,_0x2ee6c9,_0x140d80,_0xe4350c,_0x33d1b0,_0x47535c,_0x4a93c2){const _0x572f5d=_0x15d012;if(!_0x33d1b0[_0x572f5d(0x22d)]||!_0x33d1b0[_0x572f5d(0x22b)])return _0x33d1b0[_0x572f5d(0x231)]();if(_0x33d1b0[_0x4199d1])throw new Error(_0x572f5d(0x29d));if(this[_0x572f5d(0x221)]>_0x8c6a72)return _0x5588d2(_0x33d1b0,0x1f7);const _0x48aea6=[_0x572f5d(0x332),_0x572f5d(0x319),_0x572f5d(0x19f),_0x572f5d(0x280)+_0x3807df(_0x572f5d(0x33d))[_0x572f5d(0x28b)](_0x2ee6c9+_0x284b5e)[_0x572f5d(0x1f1)](_0x572f5d(0x225))],_0x241d16=new this[(_0x572f5d(0x2e3))]['WebSocket'](null,void 0x0,this[_0x572f5d(0x2e3)]);if(_0x140d80[_0x572f5d(0x1a7)]){const _0x2cc2c7=this[_0x572f5d(0x2e3)][_0x572f5d(0x301)]?this[_0x572f5d(0x2e3)][_0x572f5d(0x301)](_0x140d80,_0xe4350c):_0x140d80[_0x572f5d(0x1a9)]()[_0x572f5d(0x32e)]()[_0x572f5d(0x1df)];_0x2cc2c7&&(_0x48aea6[_0x572f5d(0x2d0)]('Sec-WebSocket-Protocol:\x20'+_0x2cc2c7),_0x241d16['_protocol']=_0x2cc2c7);}if(_0x1bf223[_0x137270[_0x572f5d(0x2b8)]]){const _0x4654b9=_0x1bf223[_0x137270[_0x572f5d(0x2b8)]]['params'],_0x425de7=_0x20732c['format']({[_0x137270['extensionName']]:[_0x4654b9]});_0x48aea6[_0x572f5d(0x2d0)]('Sec-WebSocket-Extensions:\x20'+_0x425de7),_0x241d16[_0x572f5d(0x1eb)]=_0x1bf223;}this[_0x572f5d(0x1e1)](_0x572f5d(0x19d),_0x48aea6,_0xe4350c),_0x33d1b0[_0x572f5d(0x29b)](_0x48aea6[_0x572f5d(0x2e8)]('\x0d\x0a')[_0x572f5d(0x335)]('\x0d\x0a')),_0x33d1b0['removeListener'](_0x572f5d(0x322),_0x260e85),_0x241d16[_0x572f5d(0x1a2)](_0x33d1b0,_0x47535c,{'allowSynchronousEvents':this['options']['allowSynchronousEvents'],'maxPayload':this[_0x572f5d(0x2e3)][_0x572f5d(0x1b9)],'skipUTF8Validation':this['options'][_0x572f5d(0x19c)]}),this[_0x572f5d(0x24d)]&&(this[_0x572f5d(0x24d)][_0x572f5d(0x2d9)](_0x241d16),_0x241d16['on'](_0x572f5d(0x197),()=>{const _0x26f70f=_0x572f5d;this['clients']['delete'](_0x241d16),this['_shouldEmitClose']&&!this[_0x26f70f(0x24d)]['size']&&process['nextTick'](_0x35e3ac,this);})),_0x4a93c2(_0x241d16,_0xe4350c);}}Te=_0xc5b65e;function _0x3a7956(_0x304736,_0x315b6f){const _0x1d5588=_0x15d012;for(const _0xf17e39 of Object[_0x1d5588(0x33f)](_0x315b6f))_0x304736['on'](_0xf17e39,_0x315b6f[_0xf17e39]);return function(){const _0x155836=_0x1d5588;for(const _0x43770e of Object[_0x155836(0x33f)](_0x315b6f))_0x304736[_0x155836(0x279)](_0x43770e,_0x315b6f[_0x43770e]);};}function _0x35e3ac(_0x296823){const _0x3222c1=_0x15d012;_0x296823[_0x3222c1(0x221)]=_0x7ebd36,_0x296823[_0x3222c1(0x1e1)]('close');}function _0x260e85(){const _0x567cf8=_0x15d012;this[_0x567cf8(0x231)]();}function _0x5588d2(_0x14b56b,_0x4bf438,_0x583fa5,_0x21a9c4){const _0x41655c=_0x15d012;_0x583fa5=_0x583fa5||_0x5e190c[_0x41655c(0x2c4)][_0x4bf438],_0x21a9c4={'Connection':_0x41655c(0x197),'Content-Type':_0x41655c(0x1dd),'Content-Length':Buffer['byteLength'](_0x583fa5),..._0x21a9c4},_0x14b56b[_0x41655c(0x304)]('finish',_0x14b56b[_0x41655c(0x231)]),_0x14b56b['end'](_0x41655c(0x2af)+_0x4bf438+'\x20'+_0x5e190c[_0x41655c(0x2c4)][_0x4bf438]+'\x0d\x0a'+Object[_0x41655c(0x33f)](_0x21a9c4)[_0x41655c(0x2e4)](_0x580e61=>_0x580e61+':\x20'+_0x21a9c4[_0x580e61])[_0x41655c(0x335)]('\x0d\x0a')+_0x41655c(0x2a5)+_0x583fa5);}function _0x148749(_0x3b42b7,_0x2c5dda,_0x21aff7,_0x48590f,_0x1e3436){const _0x1b5448=_0x15d012;if(_0x3b42b7[_0x1b5448(0x20f)](_0x1b5448(0x200))){const _0x24bcc3=new Error(_0x1e3436);Error[_0x1b5448(0x249)](_0x24bcc3,_0x148749),_0x3b42b7['emit'](_0x1b5448(0x200),_0x24bcc3,_0x21aff7,_0x2c5dda);}else _0x5588d2(_0x21aff7,_0x48590f,_0x1e3436);}return Te;}Ft();var jt=Object['getOwnPropertyDescriptor'],Wt=(_0x3b908c,_0x48c849,_0x239671,_0x59847c)=>{const _0x34f795=_0x51ee62;for(var _0x1f7aee=_0x59847c>0x1?void 0x0:_0x59847c?jt(_0x48c849,_0x239671):_0x48c849,_0x4e8d58=_0x3b908c[_0x34f795(0x2a1)]-0x1,_0x4a02d8;_0x4e8d58>=0x0;_0x4e8d58--)(_0x4a02d8=_0x3b908c[_0x4e8d58])&&(_0x1f7aee=_0x4a02d8(_0x1f7aee)||_0x1f7aee);return _0x1f7aee;},qt=(_0x41440d,_0x5ce737)=>(_0x4b752a,_0x541945)=>_0x5ce737(_0x4b752a,_0x541945,_0x41440d);let ke=class extends A[_0x51ee62(0x1f9)]{constructor(_0x29a790){const _0x1e8865=_0x51ee62;super(),this[_0x1e8865(0x256)]=_0x29a790;}[_0x51ee62(0x300)](_0x334498){const _0x611dda=_0x51ee62;var _0x4703fc;const _0x2cdcf0=(_0x4703fc=this[_0x611dda(0x256)][_0x611dda(0x29c)](fe))==null?void 0x0:_0x4703fc[_0x611dda(0x226)];try{const _0x4d278b=new $t(_0x334498,{'headers':{..._0x2cdcf0}}),_0x17025a=new A['DisposableCollection']();return{'URL':_0x334498,'close':(_0x29bd6f,_0x9ea6b4)=>{const _0x44b743=_0x611dda;_0x4d278b[_0x44b743(0x197)](_0x29bd6f,_0x9ea6b4),_0x17025a[_0x44b743(0x208)]();},'send':_0x518fac=>{const _0x239cb5=_0x611dda;_0x4d278b[_0x239cb5(0x1c0)](_0x518fac);},'open$':new V[(_0x611dda(0x2ff))](_0x5effb8=>{const _0x15d718=_0x611dda,_0x5a800f=_0x3498e5=>_0x5effb8['next'](_0x3498e5);_0x4d278b[_0x15d718(0x20a)](_0x15d718(0x2e2),_0x5a800f),_0x17025a['add'](A[_0x15d718(0x21e)](()=>_0x4d278b['removeEventListener'](_0x15d718(0x2e2),_0x5a800f)));})[_0x611dda(0x1f2)](V[_0x611dda(0x1c2)]()),'close$':new V['Observable'](_0x2216eb=>{const _0x41f9ab=_0x611dda,_0x3fac3c=_0x3e6060=>_0x2216eb[_0x41f9ab(0x32e)](_0x3e6060);_0x4d278b[_0x41f9ab(0x20a)](_0x41f9ab(0x197),_0x3fac3c),_0x17025a[_0x41f9ab(0x2d9)](A[_0x41f9ab(0x21e)](()=>_0x4d278b[_0x41f9ab(0x232)](_0x41f9ab(0x197),_0x3fac3c)));})[_0x611dda(0x1f2)](V[_0x611dda(0x1c2)]()),'error$':new V[(_0x611dda(0x2ff))](_0x25b8a9=>{const _0x1f10bd=_0x611dda,_0x5e52c9=_0x25b682=>_0x25b8a9['next'](_0x25b682);_0x4d278b[_0x1f10bd(0x20a)]('error',_0x5e52c9),_0x17025a[_0x1f10bd(0x2d9)](A['toDisposable'](()=>_0x4d278b['removeEventListener']('error',_0x5e52c9)));})[_0x611dda(0x1f2)](V[_0x611dda(0x1c2)]()),'message$':new V['Observable'](_0x182a99=>{const _0x23f4ab=_0x611dda,_0x548e3c=_0x599439=>_0x182a99[_0x23f4ab(0x32e)](_0x599439);_0x4d278b[_0x23f4ab(0x20a)](_0x23f4ab(0x23e),_0x548e3c),_0x17025a[_0x23f4ab(0x2d9)](A['toDisposable'](()=>_0x4d278b[_0x23f4ab(0x232)](_0x23f4ab(0x23e),_0x548e3c)));})[_0x611dda(0x1f2)](V[_0x611dda(0x1c2)]())};}catch(_0x299f62){return console[_0x611dda(0x322)](_0x299f62),null;}}};ke=Wt([qt(0x0,A[_0x51ee62(0x2a9)])],ke);var Gt=Object[_0x51ee62(0x1a4)],Vt=Object[_0x51ee62(0x2b9)],Ht=(_0xc5acdb,_0x17cfb5,_0xd68c72)=>_0x17cfb5 in _0xc5acdb?Gt(_0xc5acdb,_0x17cfb5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xd68c72}):_0xc5acdb[_0x17cfb5]=_0xd68c72,zt=(_0x1fc751,_0x53fa96,_0x4ec390,_0x5df05f)=>{for(var _0x2f79c7=_0x5df05f>0x1?void 0x0:_0x5df05f?Vt(_0x53fa96,_0x4ec390):_0x53fa96,_0x4d5cf2=_0x1fc751['length']-0x1,_0x25c274;_0x4d5cf2>=0x0;_0x4d5cf2--)(_0x25c274=_0x1fc751[_0x4d5cf2])&&(_0x2f79c7=_0x25c274(_0x2f79c7)||_0x2f79c7);return _0x2f79c7;},Ne=(_0x417393,_0x23ddcb)=>(_0x1e408a,_0x1f8f08)=>_0x23ddcb(_0x1e408a,_0x1f8f08,_0x417393),Yt=(_0x535b59,_0x38c140,_0x55e17d)=>Ht(_0x535b59,_0x38c140+'',_0x55e17d);exports[_0x51ee62(0x176)]=class extends A['Plugin']{constructor(_0x48f7be=Ct,_0x2580be,_0x345e96,_0x254658){const _0x5ef9c8=_0x51ee62;_0x48f7be[_0x5ef9c8(0x226)]||_0x2580be['warn'](_0x5ef9c8(0x244)),super(),this[_0x5ef9c8(0x256)]=_0x345e96,this[_0x5ef9c8(0x2c7)]=_0x254658,this[_0x5ef9c8(0x256)][_0x5ef9c8(0x204)](fe,_0x48f7be);}[_0x51ee62(0x320)](){const _0x5add47=_0x51ee62;this[_0x5add47(0x2aa)]();}[_0x51ee62(0x2aa)](){const _0x57034e=_0x51ee62;A[_0x57034e(0x2e0)](this['_injector'],[[it[_0x57034e(0x258)],{'useClass':ke}]]);}},Yt(exports[_0x51ee62(0x176)],_0x51ee62(0x227),_0x51ee62(0x213)),exports['UniverCollaborationClientNodePlugin']=zt([A[_0x51ee62(0x211)](st[_0x51ee62(0x18c)]),Ne(0x1,A['ILogService']),Ne(0x2,A[_0x51ee62(0x2a9)]),Ne(0x3,A['Inject'](A['Injector']))],exports[_0x51ee62(0x176)]);var Kt=Object[_0x51ee62(0x2b9)],Xt=(_0x36b02a,_0x3882e1,_0x4360ff,_0x40ffdf)=>{for(var _0xa3a604=_0x40ffdf>0x1?void 0x0:_0x40ffdf?Kt(_0x3882e1,_0x4360ff):_0x3882e1,_0x47965b=_0x36b02a['length']-0x1,_0x43efda;_0x47965b>=0x0;_0x47965b--)(_0x43efda=_0x36b02a[_0x47965b])&&(_0xa3a604=_0x43efda(_0xa3a604)||_0xa3a604);return _0xa3a604;},ne=(_0x1248f6,_0x1b4d43)=>(_0xd40376,_0xeda5c5)=>_0x1b4d43(_0xd40376,_0xeda5c5,_0x1248f6);exports[_0x51ee62(0x25f)]=class extends st[_0x51ee62(0x2a0)]{constructor(_0x305e56,_0x2cb04,_0x11e6f2,_0x101079,_0x1c457e){const _0x5cd6c9=_0x51ee62;super(_0x305e56,_0x2cb04,_0x11e6f2,_0x101079,_0x1c457e);const _0x1891cb=this[_0x5cd6c9(0x256)][_0x5cd6c9(0x29c)](fe);this[_0x5cd6c9(0x217)][_0x5cd6c9(0x259)]({'interceptor':(_0x3414e6,_0x1e8d90)=>{const _0xf6aa82=_0x5cd6c9;var _0x2340e8;const _0x3251e5=_0x3414e6[_0xf6aa82(0x19d)];return(_0x2340e8=_0x1891cb==null?void 0x0:_0x1891cb['customHeaders'])!=null&&_0x2340e8['cookie']&&_0x3251e5[_0xf6aa82(0x1a3)](_0xf6aa82(0x2cf),_0x1891cb[_0xf6aa82(0x226)][_0xf6aa82(0x2bf)]),_0x1e8d90(_0x3414e6);}});}async[_0x51ee62(0x300)](_0x2a6fff){return this['_doCreateSocket'](_0x2a6fff);}},exports[_0x51ee62(0x25f)]=Xt([ne(0x0,A['Inject'](A['Injector'])),ne(0x1,A[_0x51ee62(0x19e)](it[_0x51ee62(0x18f)])),ne(0x2,A['IConfigService']),ne(0x3,A[_0x51ee62(0x32b)]),ne(0x4,Ot['ISnapshotServerService'])],exports['NodeCollaborationSocketService']),exports[_0x51ee62(0x1d9)]=fe;
1
+ 'use strict';const _0x105f75=_0x2e1c;(function(_0x4d1ecc,_0x2a95fd){const _0x2a9532=_0x2e1c,_0x36d1d9=_0x4d1ecc();while(!![]){try{const _0x50e106=-parseInt(_0x2a9532(0x96))/0x1*(parseInt(_0x2a9532(0x1e2))/0x2)+parseInt(_0x2a9532(0x228))/0x3*(-parseInt(_0x2a9532(0xa1))/0x4)+-parseInt(_0x2a9532(0x8e))/0x5+-parseInt(_0x2a9532(0x9a))/0x6+parseInt(_0x2a9532(0xa2))/0x7+parseInt(_0x2a9532(0x12f))/0x8+parseInt(_0x2a9532(0x217))/0x9;if(_0x50e106===_0x2a95fd)break;else _0x36d1d9['push'](_0x36d1d9['shift']());}catch(_0x41ef13){_0x36d1d9['push'](_0x36d1d9['shift']());}}}(_0x1a16,0x49d71));function _0x1a16(){const _0x4bd248=['isView','fin','The\x20socket\x20was\x20closed\x20while\x20data\x20was\x20being\x20compressed','_paused','_threshold','set','permessage-deflate','WS_NO_BUFFER_UTIL','Z_SYNC_FLUSH','MASK\x20must\x20be\x20set','pluginName','createServer','options','Injector','cork','readyState','port','sec-websocket-key','Maximum\x20redirects\x20exceeded','_loop','_redirects','UniverCollaborationClientPlugin','pow','WS_NO_UTF_8_VALIDATE','Sec-WebSocket-Protocol','_server','_req','_closeMessage','clientTracking','clients','encrypted','Server\x20indicated\x20an\x20extension\x20that\x20was\x20not\x20requested','[UniverCollaborationClientNodePlugin]:\x20you\x20should\x20set\x20customHeaders\x20for\x20authentication\x20in\x20UniverCollaborationClientNodePlugin\x27s\x20config.','emit','accept','Missing\x20or\x20invalid\x20Sec-WebSocket-Key\x20header','registerDependencies','onerror','server','Unexpected\x20character\x20at\x20index\x20','_inflate','ISocketService','open','cookie','_max_window_bits','websocket','_configService','sec-websocket-extensions','Invalid\x20URL:\x20','_httpService','freeze','add','map','toStringTag','destroy','reset','request','password','readable','Module','sec-websocket-accept','path','verifyClient','getInfo','Unknown\x20parameter\x20\x22','Inject','unshift','unmask','sha1','https:','byteOffset','kData','forEach','getOwnPropertyDescriptor','function','clientNoContextTakeover','Unexpected\x20parameter\x20\x22client_no_context_takeover\x22','_no_context_takeover','kByteLength','_totalPayloadLength','pathname','_state','readOnly','WS_ERR_UNSUPPORTED_MESSAGE_LENGTH','_isServer','status-code','dispatch','_errored','RSV1\x20must\x20be\x20clear','None\x20of\x20the\x20extension\x20offers\x20can\x20be\x20accepted','uncork','Origin','ping','hostname','removeEventListener','RSV2\x20and\x20RSV3\x20must\x20be\x20clear','createInflateRaw','dispose','once','consume','cleanup','env','_compressed','crypto','OPEN','type','4400144nCLWuS','onclose','invalid\x20opcode\x200','auth','href','_sender','customHeaders','_closeFrameSent','Invalid\x20or\x20unacceptable\x20Sec-WebSocket-Extensions\x20header','allocUnsafe','arraybuffer','isServer','kMessage','mask','_errorEmitted','_buffers','File','server_max_window_bits','First\x20argument\x20must\x20be\x20a\x20valid\x20error\x20code\x20number','__esModule','isInteger','Sec-WebSocket-Extensions','ILogService','Max\x20payload\x20size\x20exceeded','pause','isPaused','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','sec-websocket-version','origin','_options','_protocol','Z_DEFAULT_WINDOWBITS','_url','_fragmented','base64','_final','The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes','setTimeout','_closeFrameReceived','Invalid\x20WebSocket\x20frame:\x20','socket','_messageLength','push','prototype','_destroy','wasClean','client','species','_registerDependencies','acceptAsClient','readUInt32BE','socketPath','_shouldEmitClose','The\x20server\x20is\x20not\x20running','threshold','_maskBuffer','Disposable','\x22:\x20','code','isValidUTF8','removeAllListeners','_generateMask','message','skipUTF8Validation','sendFrame','authorization','replace','getMask','url','dataMessage','Basic\x20','autoPong','errorEmitted','registerHTTPInterceptor','_originalIpc','_allowSynchronousEvents','writeHead','maxRedirects','_fin','events','toLowerCase','call','concurrency','address','maskBuffer','writeUInt16BE','normalizeParams','test','_bufferedBytes','getData','getConfig','pong','extensionName','apply','statusCode','binaryType','_write','server.handleUpgrade()\x20was\x20called\x20more\x20than\x20once\x20with\x20the\x20same\x20socket,\x20possibly\x20due\x20to\x20a\x20misconfiguration','_opcode','connection','removeListener','search','_masked','setSocket','destroyed','location','server_no_context_takeover','Invalid\x20value\x20for\x20parameter\x20\x22','Sec-WebSocket-Extensions:\x20','WebSocket\x20is\x20not\x20open:\x20readyState\x20','end','ISnapshotServerService','ws+unix:','zlibInflateOptions','_bufferedAmount','Blob','offer','invalid\x20UTF-8\x20sequence','callback','perMessageDeflate','terminate','opcode','_readableState','client_no_context_takeover','allowSynchronousEvents','rsv1','_mask','concurrencyLimit','frame','Observable','includes','username','WS_ERR_EXPECTED_FIN','createError','shift','WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH','maxPayload','WS_ERR_INVALID_CLOSE_CODE','defaultPort','delete','entries','object','\x0d\x0a\x0d\x0a','Unexpected\x20or\x20invalid\x20parameter\x20\x22client_max_window_bits\x22','WS_ERR_UNEXPECTED_RSV_1','@univerjs-pro/collaboration-client','from','_readyState','handleUpgrade','\x22\x20must\x20have\x20only\x20a\x20single\x20value','@univerjs-pro/collaboration','Missing\x20or\x20invalid\x20Sec-WebSocket-Version\x20header','extensions','nodebuffer','error','fragments','charCodeAt','arrayBuffer','redirect','next','captureStackTrace','_removeListeners','_closeTimer','onmessage','_originalSecure','_injector','data','wss:','default','_originalHostOrSocketPath','net','_queue','emitClose','Upgrade:\x20websocket','completeUpgrade','hash','finish','MASK\x20must\x20be\x20clear','CONNECTING','59414NbUptA','WebSocket','serverMaxWindowBits','tls','kTarget','The\x20URL\x27s\x20pathname\x20is\x20empty','authorized','serverNoContextTakeover','indexOf','WS_ERR_INVALID_UTF8','concat','method','createDeflateRaw','connect','controlMessage','HTTPService','The\x20message\x20must\x20not\x20be\x20greater\x20than\x20123\x20bytes','headers','http:','_socket','DisposableCollection','exports','stream','digest','zlib','handleProtocols','startLoop','clientMaxWindowBits','The\x20deflate\x20stream\x20was\x20closed\x20while\x20data\x20was\x20being\x20processed','get','protocol','NodeCollaborationSocketService','compress','params','handshakeTimeout','format','FIN\x20must\x20be\x20set','create','hasOwnProperty','readUInt16BE','defineProperty','Parameter\x20\x22','abort','_extensions','has','reason','dequeue','Invalid\x20HTTP\x20method','CLOSED','_receiver','toDisposable','collaboration-client-node.config','onopen','9510228iFhzdc','WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)','needDrain','write','resume','Unexpected\x20server\x20response:\x20','Invalid\x20Sec-WebSocket-Accept\x20header','slice','invalid\x20status\x20code\x20','objectMode','kCode','setNoDelay','upgrade','CLOSING','_payloadLength','kAborted','GET','1309629xuuGnx','value','then','Invalid\x20Sec-WebSocket-Extensions\x20header','host','nextTick','acceptAsServer','handleEvent','protocolVersion','_compress','generateMask','timeout','WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH','IConfigService','_autoPong','byteLength','WS_ERR_INVALID_OPCODE','ws:','DependentOn','servername','kDone','wsClientError','createSocket','pipe','isIP','_binaryType','_decompress','Invalid\x20Sec-WebSocket-Protocol\x20header','conclude','createConnection','enqueue','send','258EAFA5-E914-47DA-95CA-C5AB0DC85B11','The\x20socket\x20was\x20closed\x20while\x20the\x20blob\x20was\x20being\x20read','\x22\x20subprotocol\x20is\x20duplicated','buffer','toString','join','Invalid\x20Upgrade\x20header','shouldHandle','haveLength','zlibDeflateOptions','number','size','getPayloadLength16','_maxPayload','keys','listeners','CollaborationSocketService','1676160lAfPYT','_fragments','_deflate','UNIVER_COLLABORATION_CLIENT_NODE_PLUGIN','Unexpected\x20end\x20of\x20input','invalid\x20payload\x20length\x20','Unsupported\x20WebSocket\x20frame:\x20payload\x20length\x20>\x202^53\x20-\x201','bind','19yQMFre','listen','string','_skipUTF8Validation','816978sSYoUQ','close','addEventListener','jobs','setConfig','WS_ERR_UNEXPECTED_RSV_2_3','@univerjs/core','4bfWiCM','1176770uAjSuq','alloc','length','The\x20server\x20is\x20operating\x20in\x20\x22noServer\x22\x20mode','text/plain','Server\x20sent\x20an\x20invalid\x20subprotocol','share','getBlobData','endEmitted','writeUIntBE','finishRequest','followRedirects','_firstFragment','noServer','update','UniverCollaborationClientNodePlugin','Sec-WebSocket-Protocol:\x20','sec-websocket-protocol','HTTP/1.1\x20101\x20Switching\x20Protocols','_writableState','STATUS_CODES','bufferedAmount','_closeCode','warn','pending','blob','client_max_window_bits','listenerCount','unexpected-response','finished','decompress','isArray','drain','invalid\x20opcode\x20','flush'];_0x1a16=function(){return _0x4bd248;};return _0x1a16();}Object[_0x105f75(0x20a)](exports,Symbol['toStringTag'],{'value':_0x105f75(0x100)});const st=require(_0x105f75(0x1c0)),A=require(_0x105f75(0xa0)),it=require('@univerjs/network'),V=require('rxjs'),nt=require(_0x105f75(0x17e)),vt=require('https'),ot=require('http'),St=require(_0x105f75(0x1d9)),Et=require(_0x105f75(0x1e5)),Le=require(_0x105f75(0x12c)),oe=require(_0x105f75(0x1f8)),xt=require('url'),bt=require(_0x105f75(0x1fa)),wt=require('buffer'),Ot=require(_0x105f75(0x1c5)),fe=_0x105f75(0x215),Ct={'customHeaders':{}};function Tt(_0x35b971){const _0x22c7ec=_0x105f75;return _0x35b971&&_0x35b971[_0x22c7ec(0x142)]&&Object['prototype']['hasOwnProperty']['call'](_0x35b971,_0x22c7ec(0x1d7))?_0x35b971[_0x22c7ec(0x1d7)]:_0x35b971;}function at(_0x526f1e){const _0x28a1b7=_0x105f75;if(Object['prototype'][_0x28a1b7(0x208)][_0x28a1b7(0x180)](_0x526f1e,'__esModule'))return _0x526f1e;var _0x42f17b=_0x526f1e[_0x28a1b7(0x1d7)];if(typeof _0x42f17b==_0x28a1b7(0x10f)){var _0x4cf00e=function _0x5ca4aa(){const _0x24779a=_0x28a1b7;return this instanceof _0x5ca4aa?Reflect['construct'](_0x42f17b,arguments,this['constructor']):_0x42f17b[_0x24779a(0x18c)](this,arguments);};_0x4cf00e[_0x28a1b7(0x15a)]=_0x42f17b['prototype'];}else _0x4cf00e={};return Object[_0x28a1b7(0x20a)](_0x4cf00e,_0x28a1b7(0x142),{'value':!0x0}),Object[_0x28a1b7(0x8b)](_0x526f1e)['forEach'](function(_0x318fab){const _0x354218=_0x28a1b7;var _0x4e4f1f=Object[_0x354218(0x10e)](_0x526f1e,_0x318fab);Object['defineProperty'](_0x4cf00e,_0x318fab,_0x4e4f1f[_0x354218(0x1ff)]?_0x4e4f1f:{'enumerable':!0x0,'get':function(){return _0x526f1e[_0x318fab];}});}),_0x4cf00e;}var se={'exports':{}},ge,Ge;function H(){const _0x4db41f=_0x105f75;if(Ge)return ge;Ge=0x1;const _0x1a6bd4=[_0x4db41f(0x1c8),_0x4db41f(0x139),_0x4db41f(0x1ca)],_0x4e9d41=typeof Blob<'u';return _0x4e9d41&&_0x1a6bd4['push'](_0x4db41f(0xbb)),ge={'BINARY_TYPES':_0x1a6bd4,'EMPTY_BUFFER':Buffer[_0x4db41f(0xa3)](0x0),'GUID':_0x4db41f(0x7d),'hasBlob':_0x4e9d41,'kForOnEventAttribute':Symbol('kIsForOnEventAttribute'),'kListener':Symbol('kListener'),'kStatusCode':Symbol(_0x4db41f(0x11a)),'kWebSocket':Symbol('websocket'),'NOOP':()=>{}},ge;}const Nt={},kt=Object[_0x105f75(0xf7)](Object['defineProperty']({'__proto__':null,'default':Nt},Symbol[_0x105f75(0xfa)],{'value':_0x105f75(0x100)})),Lt=at(kt);var Ve;function ce(){const _0x20e4af=_0x105f75;if(Ve)return se[_0x20e4af(0x1f7)];Ve=0x1;const {EMPTY_BUFFER:_0x4bf746}=H(),_0x337d1c=Buffer[Symbol['species']];function _0x544503(_0x5e9839,_0x104566){const _0x1a1b0f=_0x20e4af;if(_0x5e9839[_0x1a1b0f(0xa4)]===0x0)return _0x4bf746;if(_0x5e9839[_0x1a1b0f(0xa4)]===0x1)return _0x5e9839[0x0];const _0x4f750e=Buffer[_0x1a1b0f(0x138)](_0x104566);let _0x21f7a9=0x0;for(let _0x48ee87=0x0;_0x48ee87<_0x5e9839[_0x1a1b0f(0xa4)];_0x48ee87++){const _0x8f676c=_0x5e9839[_0x48ee87];_0x4f750e[_0x1a1b0f(0xca)](_0x8f676c,_0x21f7a9),_0x21f7a9+=_0x8f676c[_0x1a1b0f(0xa4)];}return _0x21f7a9<_0x104566?new _0x337d1c(_0x4f750e[_0x1a1b0f(0x80)],_0x4f750e['byteOffset'],_0x21f7a9):_0x4f750e;}function _0x2608c3(_0x5fdc71,_0x412df9,_0x22b31e,_0x5a5891,_0x7bc0ca){for(let _0x56c7ab=0x0;_0x56c7ab<_0x7bc0ca;_0x56c7ab++)_0x22b31e[_0x5a5891+_0x56c7ab]=_0x5fdc71[_0x56c7ab]^_0x412df9[_0x56c7ab&0x3];}function _0x53b8f8(_0x2b4bfb,_0x1b63c2){for(let _0x513924=0x0;_0x513924<_0x2b4bfb['length'];_0x513924++)_0x2b4bfb[_0x513924]^=_0x1b63c2[_0x513924&0x3];}function _0x4b0569(_0x5edd30){const _0x319bf8=_0x20e4af;return _0x5edd30[_0x319bf8(0xa4)]===_0x5edd30[_0x319bf8(0x80)][_0x319bf8(0x237)]?_0x5edd30[_0x319bf8(0x80)]:_0x5edd30[_0x319bf8(0x80)][_0x319bf8(0x21e)](_0x5edd30[_0x319bf8(0x10b)],_0x5edd30[_0x319bf8(0x10b)]+_0x5edd30[_0x319bf8(0xa4)]);}function _0x227d1d(_0x5adbba){const _0x498b86=_0x20e4af;if(_0x227d1d[_0x498b86(0x117)]=!0x0,Buffer['isBuffer'](_0x5adbba))return _0x5adbba;let _0x5d8e64;return _0x5adbba instanceof ArrayBuffer?_0x5d8e64=new _0x337d1c(_0x5adbba):ArrayBuffer[_0x498b86(0xc5)](_0x5adbba)?_0x5d8e64=new _0x337d1c(_0x5adbba[_0x498b86(0x80)],_0x5adbba['byteOffset'],_0x5adbba[_0x498b86(0x237)]):(_0x5d8e64=Buffer['from'](_0x5adbba),_0x227d1d[_0x498b86(0x117)]=!0x1),_0x5d8e64;}if(se[_0x20e4af(0x1f7)]={'concat':_0x544503,'mask':_0x2608c3,'toArrayBuffer':_0x4b0569,'toBuffer':_0x227d1d,'unmask':_0x53b8f8},!process[_0x20e4af(0x12a)][_0x20e4af(0xcc)])try{const _0x2e61b5=Lt;se[_0x20e4af(0x1f7)]['mask']=function(_0x26f19f,_0x1478d5,_0x50a9a5,_0x5a5468,_0x10a98f){_0x10a98f<0x30?_0x2608c3(_0x26f19f,_0x1478d5,_0x50a9a5,_0x5a5468,_0x10a98f):_0x2e61b5['mask'](_0x26f19f,_0x1478d5,_0x50a9a5,_0x5a5468,_0x10a98f);},se['exports'][_0x20e4af(0x108)]=function(_0x20955c,_0x5d37c2){const _0x3ee8e3=_0x20e4af;_0x20955c[_0x3ee8e3(0xa4)]<0x20?_0x53b8f8(_0x20955c,_0x5d37c2):_0x2e61b5[_0x3ee8e3(0x108)](_0x20955c,_0x5d37c2);};}catch{}return se[_0x20e4af(0x1f7)];}var ye,He;function Pt(){const _0x427732=_0x105f75;if(He)return ye;He=0x1;const _0x470ce6=Symbol(_0x427732(0x23c)),_0xf78142=Symbol('kRun');class _0x44391e{constructor(_0x4dc917){const _0x334a83=_0x427732;this[_0x470ce6]=()=>{const _0x3ac48e=_0x2e1c;this[_0x3ac48e(0xba)]--,this[_0xf78142]();},this[_0x334a83(0x181)]=_0x4dc917||0x1/0x0,this[_0x334a83(0x9d)]=[],this[_0x334a83(0xba)]=0x0;}['add'](_0x43b23f){const _0x30e5cf=_0x427732;this[_0x30e5cf(0x9d)][_0x30e5cf(0x159)](_0x43b23f),this[_0xf78142]();}[_0xf78142](){const _0x5283b0=_0x427732;if(this['pending']!==this[_0x5283b0(0x181)]&&this[_0x5283b0(0x9d)][_0x5283b0(0xa4)]){const _0x3705ce=this[_0x5283b0(0x9d)][_0x5283b0(0x1b5)]();this[_0x5283b0(0xba)]++,_0x3705ce(this[_0x470ce6]);}}}return ye=_0x44391e,ye;}var ve,ze;function he(){const _0x1c7a92=_0x105f75;if(ze)return ve;ze=0x1;const _0x6a101=bt,_0x6c4152=ce(),_0x2209f5=Pt(),{kStatusCode:_0x23a1b8}=H(),_0x3b5a8a=Buffer[Symbol['species']],_0x480388=Buffer[_0x1c7a92(0x1c1)]([0x0,0x0,0xff,0xff]),_0x2467ee=Symbol(_0x1c7a92(0xcb)),_0x1159ba=Symbol('total-length'),_0x15d15c=Symbol(_0x1c7a92(0x1a5)),_0x42f6a3=Symbol('buffers'),_0x3662c9=Symbol('error');let _0x465b58;class _0x10709f{constructor(_0x5c3860,_0x7305a7,_0x327bf2){const _0xeab7a4=_0x1c7a92;if(this[_0xeab7a4(0x8a)]=_0x327bf2|0x0,this[_0xeab7a4(0x14c)]=_0x5c3860||{},this[_0xeab7a4(0xc9)]=this['_options'][_0xeab7a4(0x165)]!==void 0x0?this[_0xeab7a4(0x14c)][_0xeab7a4(0x165)]:0x400,this[_0xeab7a4(0x119)]=!!_0x7305a7,this['_deflate']=null,this['_inflate']=null,this[_0xeab7a4(0x203)]=null,!_0x465b58){const _0x17ab9e=this[_0xeab7a4(0x14c)][_0xeab7a4(0x1ae)]!==void 0x0?this[_0xeab7a4(0x14c)][_0xeab7a4(0x1ae)]:0xa;_0x465b58=new _0x2209f5(_0x17ab9e);}}static get[_0x1c7a92(0x18b)](){const _0x48ba86=_0x1c7a92;return _0x48ba86(0xcb);}[_0x1c7a92(0x1a3)](){const _0x57b8fa=_0x1c7a92,_0x5f59aa={};return this[_0x57b8fa(0x14c)][_0x57b8fa(0x1e9)]&&(_0x5f59aa[_0x57b8fa(0x199)]=!0x0),this[_0x57b8fa(0x14c)]['clientNoContextTakeover']&&(_0x5f59aa[_0x57b8fa(0x1aa)]=!0x0),this[_0x57b8fa(0x14c)][_0x57b8fa(0x1e4)]&&(_0x5f59aa[_0x57b8fa(0x140)]=this['_options'][_0x57b8fa(0x1e4)]),this[_0x57b8fa(0x14c)][_0x57b8fa(0x1fd)]?_0x5f59aa[_0x57b8fa(0xbc)]=this[_0x57b8fa(0x14c)][_0x57b8fa(0x1fd)]:this[_0x57b8fa(0x14c)][_0x57b8fa(0x1fd)]==null&&(_0x5f59aa['client_max_window_bits']=!0x0),_0x5f59aa;}[_0x1c7a92(0xe7)](_0x1e05da){const _0x2f2ee7=_0x1c7a92;return _0x1e05da=this[_0x2f2ee7(0x185)](_0x1e05da),this[_0x2f2ee7(0x203)]=this[_0x2f2ee7(0x119)]?this[_0x2f2ee7(0x22e)](_0x1e05da):this[_0x2f2ee7(0x160)](_0x1e05da),this[_0x2f2ee7(0x203)];}[_0x1c7a92(0x129)](){const _0x4f02bc=_0x1c7a92;if(this[_0x4f02bc(0xed)]&&(this[_0x4f02bc(0xed)][_0x4f02bc(0x9b)](),this[_0x4f02bc(0xed)]=null),this[_0x4f02bc(0x90)]){const _0x3beb73=this[_0x4f02bc(0x90)][_0x15d15c];this[_0x4f02bc(0x90)][_0x4f02bc(0x9b)](),this[_0x4f02bc(0x90)]=null,_0x3beb73&&_0x3beb73(new Error(_0x4f02bc(0x1fe)));}}[_0x1c7a92(0x22e)](_0x84ecfc){const _0x2c454c=_0x1c7a92,_0x4009a7=this[_0x2c454c(0x14c)],_0x360a9c=_0x84ecfc['find'](_0x31ad70=>!(_0x4009a7[_0x2c454c(0x1e9)]===!0x1&&_0x31ad70[_0x2c454c(0x199)]||_0x31ad70[_0x2c454c(0x140)]&&(_0x4009a7['serverMaxWindowBits']===!0x1||typeof _0x4009a7[_0x2c454c(0x1e4)]==_0x2c454c(0x87)&&_0x4009a7[_0x2c454c(0x1e4)]>_0x31ad70[_0x2c454c(0x140)])||typeof _0x4009a7[_0x2c454c(0x1fd)]=='number'&&!_0x31ad70[_0x2c454c(0xbc)]));if(!_0x360a9c)throw new Error(_0x2c454c(0x11e));return _0x4009a7[_0x2c454c(0x1e9)]&&(_0x360a9c[_0x2c454c(0x199)]=!0x0),_0x4009a7[_0x2c454c(0x110)]&&(_0x360a9c[_0x2c454c(0x1aa)]=!0x0),typeof _0x4009a7[_0x2c454c(0x1e4)]==_0x2c454c(0x87)&&(_0x360a9c['server_max_window_bits']=_0x4009a7[_0x2c454c(0x1e4)]),typeof _0x4009a7[_0x2c454c(0x1fd)]=='number'?_0x360a9c[_0x2c454c(0xbc)]=_0x4009a7[_0x2c454c(0x1fd)]:(_0x360a9c[_0x2c454c(0xbc)]===!0x0||_0x4009a7['clientMaxWindowBits']===!0x1)&&delete _0x360a9c[_0x2c454c(0xbc)],_0x360a9c;}[_0x1c7a92(0x160)](_0x24c687){const _0x106227=_0x1c7a92,_0x21bace=_0x24c687[0x0];if(this[_0x106227(0x14c)][_0x106227(0x110)]===!0x1&&_0x21bace['client_no_context_takeover'])throw new Error(_0x106227(0x111));if(!_0x21bace[_0x106227(0xbc)])typeof this[_0x106227(0x14c)]['clientMaxWindowBits']=='number'&&(_0x21bace['client_max_window_bits']=this[_0x106227(0x14c)]['clientMaxWindowBits']);else{if(this[_0x106227(0x14c)][_0x106227(0x1fd)]===!0x1||typeof this[_0x106227(0x14c)][_0x106227(0x1fd)]==_0x106227(0x87)&&_0x21bace[_0x106227(0xbc)]>this['_options'][_0x106227(0x1fd)])throw new Error(_0x106227(0x1be));}return _0x21bace;}[_0x1c7a92(0x185)](_0x3fba46){const _0x3c663d=_0x1c7a92;return _0x3fba46[_0x3c663d(0x10d)](_0x3a80c3=>{const _0x2adeb3=_0x3c663d;Object[_0x2adeb3(0x8b)](_0x3a80c3)[_0x2adeb3(0x10d)](_0x3aea18=>{const _0x84c56f=_0x2adeb3;let _0x4b409d=_0x3a80c3[_0x3aea18];if(_0x4b409d[_0x84c56f(0xa4)]>0x1)throw new Error(_0x84c56f(0x20b)+_0x3aea18+_0x84c56f(0x1c4));if(_0x4b409d=_0x4b409d[0x0],_0x3aea18===_0x84c56f(0xbc)){if(_0x4b409d!==!0x0){const _0x137447=+_0x4b409d;if(!Number[_0x84c56f(0x143)](_0x137447)||_0x137447<0x8||_0x137447>0xf)throw new TypeError('Invalid\x20value\x20for\x20parameter\x20\x22'+_0x3aea18+_0x84c56f(0x168)+_0x4b409d);_0x4b409d=_0x137447;}else{if(!this['_isServer'])throw new TypeError(_0x84c56f(0x19a)+_0x3aea18+'\x22:\x20'+_0x4b409d);}}else{if(_0x3aea18==='server_max_window_bits'){const _0x5b163b=+_0x4b409d;if(!Number['isInteger'](_0x5b163b)||_0x5b163b<0x8||_0x5b163b>0xf)throw new TypeError(_0x84c56f(0x19a)+_0x3aea18+_0x84c56f(0x168)+_0x4b409d);_0x4b409d=_0x5b163b;}else{if(_0x3aea18===_0x84c56f(0x1aa)||_0x3aea18===_0x84c56f(0x199)){if(_0x4b409d!==!0x0)throw new TypeError(_0x84c56f(0x19a)+_0x3aea18+_0x84c56f(0x168)+_0x4b409d);}else throw new Error(_0x84c56f(0x105)+_0x3aea18+'\x22');}}_0x3a80c3[_0x3aea18]=_0x4b409d;});}),_0x3fba46;}[_0x1c7a92(0xc0)](_0x3c45d0,_0x452e16,_0x393b54){const _0x5826db=_0x1c7a92;_0x465b58[_0x5826db(0xf8)](_0x2108e6=>{const _0x31a6e8=_0x5826db;this[_0x31a6e8(0x242)](_0x3c45d0,_0x452e16,(_0x5cfa8d,_0x108e6e)=>{_0x2108e6(),_0x393b54(_0x5cfa8d,_0x108e6e);});});}[_0x1c7a92(0x202)](_0x480e8b,_0x99c26,_0x57571b){const _0x4518e5=_0x1c7a92;_0x465b58[_0x4518e5(0xf8)](_0x475df4=>{const _0x33592e=_0x4518e5;this[_0x33592e(0x231)](_0x480e8b,_0x99c26,(_0xfe6463,_0x33acd7)=>{_0x475df4(),_0x57571b(_0xfe6463,_0x33acd7);});});}['_decompress'](_0x56d6b5,_0x17b82c,_0x2fa92b){const _0x1762b2=_0x1c7a92,_0x248bb9=this[_0x1762b2(0x119)]?'client':'server';if(!this[_0x1762b2(0xed)]){const _0x2f552c=_0x248bb9+_0x1762b2(0xf1),_0x2a71dc=typeof this[_0x1762b2(0x203)][_0x2f552c]!=_0x1762b2(0x87)?_0x6a101[_0x1762b2(0x14e)]:this[_0x1762b2(0x203)][_0x2f552c];this[_0x1762b2(0xed)]=_0x6a101[_0x1762b2(0x125)]({...this['_options'][_0x1762b2(0x1a0)],'windowBits':_0x2a71dc}),this[_0x1762b2(0xed)][_0x2467ee]=this,this['_inflate'][_0x1159ba]=0x0,this[_0x1762b2(0xed)][_0x42f6a3]=[],this['_inflate']['on']('error',_0x4c2ee0),this[_0x1762b2(0xed)]['on']('data',_0x4109a1);}this['_inflate'][_0x15d15c]=_0x2fa92b,this['_inflate'][_0x1762b2(0x21a)](_0x56d6b5),_0x17b82c&&this[_0x1762b2(0xed)]['write'](_0x480388),this[_0x1762b2(0xed)][_0x1762b2(0xc4)](()=>{const _0x5bc794=_0x1762b2,_0x1fb5d0=this[_0x5bc794(0xed)][_0x3662c9];if(_0x1fb5d0){this['_inflate'][_0x5bc794(0x9b)](),this[_0x5bc794(0xed)]=null,_0x2fa92b(_0x1fb5d0);return;}const _0x21fa3e=_0x6c4152['concat'](this[_0x5bc794(0xed)][_0x42f6a3],this['_inflate'][_0x1159ba]);this['_inflate'][_0x5bc794(0x1a9)][_0x5bc794(0xaa)]?(this[_0x5bc794(0xed)][_0x5bc794(0x9b)](),this[_0x5bc794(0xed)]=null):(this[_0x5bc794(0xed)][_0x1159ba]=0x0,this[_0x5bc794(0xed)][_0x42f6a3]=[],_0x17b82c&&this[_0x5bc794(0x203)][_0x248bb9+'_no_context_takeover']&&this[_0x5bc794(0xed)][_0x5bc794(0xfc)]()),_0x2fa92b(null,_0x21fa3e);});}[_0x1c7a92(0x231)](_0x3182a2,_0x321e34,_0x207139){const _0x14569c=_0x1c7a92,_0x1ee40b=this['_isServer']?_0x14569c(0xeb):_0x14569c(0x15d);if(!this['_deflate']){const _0x276196=_0x1ee40b+_0x14569c(0xf1),_0x291eb6=typeof this['params'][_0x276196]!='number'?_0x6a101['Z_DEFAULT_WINDOWBITS']:this['params'][_0x276196];this[_0x14569c(0x90)]=_0x6a101[_0x14569c(0x1ee)]({...this[_0x14569c(0x14c)][_0x14569c(0x86)],'windowBits':_0x291eb6}),this[_0x14569c(0x90)][_0x1159ba]=0x0,this[_0x14569c(0x90)][_0x42f6a3]=[],this['_deflate']['on'](_0x14569c(0x1d5),_0x4135d1);}this['_deflate'][_0x15d15c]=_0x207139,this[_0x14569c(0x90)][_0x14569c(0x21a)](_0x3182a2),this[_0x14569c(0x90)]['flush'](_0x6a101[_0x14569c(0xcd)],()=>{const _0x590847=_0x14569c;if(!this[_0x590847(0x90)])return;let _0x44ec8e=_0x6c4152[_0x590847(0x1ec)](this[_0x590847(0x90)][_0x42f6a3],this[_0x590847(0x90)][_0x1159ba]);_0x321e34&&(_0x44ec8e=new _0x3b5a8a(_0x44ec8e[_0x590847(0x80)],_0x44ec8e[_0x590847(0x10b)],_0x44ec8e[_0x590847(0xa4)]-0x4)),this[_0x590847(0x90)][_0x15d15c]=null,this['_deflate'][_0x1159ba]=0x0,this[_0x590847(0x90)][_0x42f6a3]=[],_0x321e34&&this['params'][_0x1ee40b+_0x590847(0x112)]&&this[_0x590847(0x90)][_0x590847(0xfc)](),_0x207139(null,_0x44ec8e);});}}ve=_0x10709f;function _0x4135d1(_0x2a482c){const _0x5806d6=_0x1c7a92;this[_0x42f6a3]['push'](_0x2a482c),this[_0x1159ba]+=_0x2a482c[_0x5806d6(0xa4)];}function _0x4109a1(_0x5a0679){const _0x40424a=_0x1c7a92;if(this[_0x1159ba]+=_0x5a0679[_0x40424a(0xa4)],this[_0x2467ee]['_maxPayload']<0x1||this[_0x1159ba]<=this[_0x2467ee][_0x40424a(0x8a)]){this[_0x42f6a3]['push'](_0x5a0679);return;}this[_0x3662c9]=new RangeError('Max\x20payload\x20size\x20exceeded'),this[_0x3662c9][_0x40424a(0x169)]='WS_ERR_UNSUPPORTED_MESSAGE_LENGTH',this[_0x3662c9][_0x23a1b8]=0x3f1,this[_0x40424a(0x193)](_0x40424a(0x1d5),_0x4109a1),this[_0x40424a(0xfc)]();}function _0x4c2ee0(_0x2ff332){const _0x2dd397=_0x1c7a92;this[_0x2467ee][_0x2dd397(0xed)]=null,_0x2ff332[_0x23a1b8]=0x3ef,this[_0x15d15c](_0x2ff332);}return ve;}var ie={'exports':{}};const Dt={},Rt=Object[_0x105f75(0xf7)](Object[_0x105f75(0x20a)]({'__proto__':null,'default':Dt},Symbol[_0x105f75(0xfa)],{'value':_0x105f75(0x100)})),Bt=at(Rt);var Ye;function ae(){const _0x2b99cd=_0x105f75;if(Ye)return ie[_0x2b99cd(0x1f7)];Ye=0x1;const {isUtf8:_0x3aa9e7}=wt,{hasBlob:_0x5f15c4}=H(),_0x16b88b=[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 _0x57fafa(_0x2bc2cf){return _0x2bc2cf>=0x3e8&&_0x2bc2cf<=0x3f6&&_0x2bc2cf!==0x3ec&&_0x2bc2cf!==0x3ed&&_0x2bc2cf!==0x3ee||_0x2bc2cf>=0xbb8&&_0x2bc2cf<=0x1387;}function _0x23ee40(_0x149a4a){const _0x54b817=_0x2b99cd,_0x493221=_0x149a4a[_0x54b817(0xa4)];let _0x3a2093=0x0;for(;_0x3a2093<_0x493221;)if((_0x149a4a[_0x3a2093]&0x80)===0x0)_0x3a2093++;else{if((_0x149a4a[_0x3a2093]&0xe0)===0xc0){if(_0x3a2093+0x1===_0x493221||(_0x149a4a[_0x3a2093+0x1]&0xc0)!==0x80||(_0x149a4a[_0x3a2093]&0xfe)===0xc0)return!0x1;_0x3a2093+=0x2;}else{if((_0x149a4a[_0x3a2093]&0xf0)===0xe0){if(_0x3a2093+0x2>=_0x493221||(_0x149a4a[_0x3a2093+0x1]&0xc0)!==0x80||(_0x149a4a[_0x3a2093+0x2]&0xc0)!==0x80||_0x149a4a[_0x3a2093]===0xe0&&(_0x149a4a[_0x3a2093+0x1]&0xe0)===0x80||_0x149a4a[_0x3a2093]===0xed&&(_0x149a4a[_0x3a2093+0x1]&0xe0)===0xa0)return!0x1;_0x3a2093+=0x3;}else{if((_0x149a4a[_0x3a2093]&0xf8)===0xf0){if(_0x3a2093+0x3>=_0x493221||(_0x149a4a[_0x3a2093+0x1]&0xc0)!==0x80||(_0x149a4a[_0x3a2093+0x2]&0xc0)!==0x80||(_0x149a4a[_0x3a2093+0x3]&0xc0)!==0x80||_0x149a4a[_0x3a2093]===0xf0&&(_0x149a4a[_0x3a2093+0x1]&0xf0)===0x80||_0x149a4a[_0x3a2093]===0xf4&&_0x149a4a[_0x3a2093+0x1]>0x8f||_0x149a4a[_0x3a2093]>0xf4)return!0x1;_0x3a2093+=0x4;}else return!0x1;}}}return!0x0;}function _0x2f3ff5(_0x318fe0){const _0xab8a79=_0x2b99cd;return _0x5f15c4&&typeof _0x318fe0=='object'&&typeof _0x318fe0[_0xab8a79(0x1cc)]==_0xab8a79(0x10f)&&typeof _0x318fe0[_0xab8a79(0x12e)]==_0xab8a79(0x98)&&typeof _0x318fe0[_0xab8a79(0x1f8)]=='function'&&(_0x318fe0[Symbol[_0xab8a79(0xfa)]]===_0xab8a79(0x1a2)||_0x318fe0[Symbol[_0xab8a79(0xfa)]]===_0xab8a79(0x13f));}if(ie[_0x2b99cd(0x1f7)]={'isBlob':_0x2f3ff5,'isValidStatusCode':_0x57fafa,'isValidUTF8':_0x23ee40,'tokenChars':_0x16b88b},_0x3aa9e7)ie[_0x2b99cd(0x1f7)]['isValidUTF8']=function(_0x19062f){return _0x19062f['length']<0x18?_0x23ee40(_0x19062f):_0x3aa9e7(_0x19062f);};else{if(!process['env'][_0x2b99cd(0xdc)])try{const _0x17a34d=Bt;ie[_0x2b99cd(0x1f7)][_0x2b99cd(0x16a)]=function(_0x5e961a){const _0x5b5fd0=_0x2b99cd;return _0x5e961a[_0x5b5fd0(0xa4)]<0x20?_0x23ee40(_0x5e961a):_0x17a34d(_0x5e961a);};}catch{}}return ie[_0x2b99cd(0x1f7)];}var Se,Ke;function lt(){const _0x297f32=_0x105f75;if(Ke)return Se;Ke=0x1;const {Writable:_0x2e054e}=oe,_0x17d2cf=he(),{BINARY_TYPES:_0x56b086,EMPTY_BUFFER:_0x37aaa1,kStatusCode:_0x419abf,kWebSocket:_0x4f895c}=H(),{concat:_0xef2ae,toArrayBuffer:_0xf6dfd7,unmask:_0x437122}=ce(),{isValidStatusCode:_0x2a7aef,isValidUTF8:_0xbcfbe7}=ae(),_0xaa316a=Buffer[Symbol[_0x297f32(0x15e)]],_0x546be7=0x0,_0x12918b=0x1,_0x51787c=0x2,_0x2a3c93=0x3,_0x5ab0b5=0x4,_0x124a68=0x5,_0x20db43=0x6;class _0x2fb4a4 extends _0x2e054e{constructor(_0x4f4b1c={}){const _0x2f73ca=_0x297f32;super(),this[_0x2f73ca(0x17a)]=_0x4f4b1c[_0x2f73ca(0x1ab)]!==void 0x0?_0x4f4b1c[_0x2f73ca(0x1ab)]:!0x0,this['_binaryType']=_0x4f4b1c[_0x2f73ca(0x18e)]||_0x56b086[0x0],this[_0x2f73ca(0x20d)]=_0x4f4b1c[_0x2f73ca(0x1c7)]||{},this[_0x2f73ca(0x119)]=!!_0x4f4b1c[_0x2f73ca(0x13a)],this[_0x2f73ca(0x8a)]=_0x4f4b1c[_0x2f73ca(0x1b7)]|0x0,this[_0x2f73ca(0x99)]=!!_0x4f4b1c['skipUTF8Validation'],this[_0x4f895c]=void 0x0,this[_0x2f73ca(0x187)]=0x0,this[_0x2f73ca(0x13e)]=[],this[_0x2f73ca(0x12b)]=!0x1,this['_payloadLength']=0x0,this[_0x2f73ca(0x1ad)]=void 0x0,this[_0x2f73ca(0x150)]=0x0,this[_0x2f73ca(0x195)]=!0x1,this[_0x2f73ca(0x17d)]=!0x1,this['_opcode']=0x0,this[_0x2f73ca(0x114)]=0x0,this[_0x2f73ca(0x158)]=0x0,this[_0x2f73ca(0x8f)]=[],this[_0x2f73ca(0x11c)]=!0x1,this[_0x2f73ca(0xd8)]=!0x1,this['_state']=_0x546be7;}[_0x297f32(0x18f)](_0xa1a256,_0x9171c7,_0x48b446){const _0x210cb1=_0x297f32;if(this[_0x210cb1(0x191)]===0x8&&this[_0x210cb1(0x116)]==_0x546be7)return _0x48b446();this[_0x210cb1(0x187)]+=_0xa1a256[_0x210cb1(0xa4)],this['_buffers'][_0x210cb1(0x159)](_0xa1a256),this[_0x210cb1(0x1fc)](_0x48b446);}[_0x297f32(0x128)](_0x39cbb1){const _0x29ad38=_0x297f32;if(this[_0x29ad38(0x187)]-=_0x39cbb1,_0x39cbb1===this[_0x29ad38(0x13e)][0x0][_0x29ad38(0xa4)])return this['_buffers']['shift']();if(_0x39cbb1<this['_buffers'][0x0][_0x29ad38(0xa4)]){const _0x3db482=this[_0x29ad38(0x13e)][0x0];return this['_buffers'][0x0]=new _0xaa316a(_0x3db482[_0x29ad38(0x80)],_0x3db482[_0x29ad38(0x10b)]+_0x39cbb1,_0x3db482['length']-_0x39cbb1),new _0xaa316a(_0x3db482[_0x29ad38(0x80)],_0x3db482['byteOffset'],_0x39cbb1);}const _0x5e0ca5=Buffer[_0x29ad38(0x138)](_0x39cbb1);do{const _0x5c7557=this[_0x29ad38(0x13e)][0x0],_0x3b2bc0=_0x5e0ca5[_0x29ad38(0xa4)]-_0x39cbb1;_0x39cbb1>=_0x5c7557[_0x29ad38(0xa4)]?_0x5e0ca5[_0x29ad38(0xca)](this[_0x29ad38(0x13e)][_0x29ad38(0x1b5)](),_0x3b2bc0):(_0x5e0ca5[_0x29ad38(0xca)](new Uint8Array(_0x5c7557[_0x29ad38(0x80)],_0x5c7557[_0x29ad38(0x10b)],_0x39cbb1),_0x3b2bc0),this[_0x29ad38(0x13e)][0x0]=new _0xaa316a(_0x5c7557[_0x29ad38(0x80)],_0x5c7557['byteOffset']+_0x39cbb1,_0x5c7557['length']-_0x39cbb1)),_0x39cbb1-=_0x5c7557['length'];}while(_0x39cbb1>0x0);return _0x5e0ca5;}['startLoop'](_0x30f5fe){const _0x115c4c=_0x297f32;this[_0x115c4c(0xd8)]=!0x0;do switch(this[_0x115c4c(0x116)]){case _0x546be7:this[_0x115c4c(0x104)](_0x30f5fe);break;case _0x12918b:this[_0x115c4c(0x89)](_0x30f5fe);break;case _0x51787c:this['getPayloadLength64'](_0x30f5fe);break;case _0x2a3c93:this[_0x115c4c(0x172)]();break;case _0x5ab0b5:this[_0x115c4c(0x188)](_0x30f5fe);break;case _0x124a68:case _0x20db43:this[_0x115c4c(0xd8)]=!0x1;return;}while(this[_0x115c4c(0xd8)]);this[_0x115c4c(0x11c)]||_0x30f5fe();}[_0x297f32(0x104)](_0x3b9789){const _0x496220=_0x297f32;if(this[_0x496220(0x187)]<0x2){this[_0x496220(0xd8)]=!0x1;return;}const _0x1ce56a=this[_0x496220(0x128)](0x2);if((_0x1ce56a[0x0]&0x30)!==0x0){const _0x4cc752=this[_0x496220(0x1b4)](RangeError,_0x496220(0x124),!0x0,0x3ea,_0x496220(0x9f));_0x3b9789(_0x4cc752);return;}const _0x229d45=(_0x1ce56a[0x0]&0x40)===0x40;if(_0x229d45&&!this[_0x496220(0x20d)][_0x17d2cf[_0x496220(0x18b)]]){const _0x1ab959=this[_0x496220(0x1b4)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x496220(0x1bf));_0x3b9789(_0x1ab959);return;}if(this[_0x496220(0x17d)]=(_0x1ce56a[0x0]&0x80)===0x80,this[_0x496220(0x191)]=_0x1ce56a[0x0]&0xf,this[_0x496220(0x225)]=_0x1ce56a[0x1]&0x7f,this[_0x496220(0x191)]===0x0){if(_0x229d45){const _0x14b7c3=this[_0x496220(0x1b4)](RangeError,_0x496220(0x11d),!0x0,0x3ea,_0x496220(0x1bf));_0x3b9789(_0x14b7c3);return;}if(!this[_0x496220(0x150)]){const _0x5d6ac2=this[_0x496220(0x1b4)](RangeError,_0x496220(0x131),!0x0,0x3ea,'WS_ERR_INVALID_OPCODE');_0x3b9789(_0x5d6ac2);return;}this['_opcode']=this['_fragmented'];}else{if(this[_0x496220(0x191)]===0x1||this[_0x496220(0x191)]===0x2){if(this[_0x496220(0x150)]){const _0x40abe4=this[_0x496220(0x1b4)](RangeError,_0x496220(0xc3)+this[_0x496220(0x191)],!0x0,0x3ea,_0x496220(0x238));_0x3b9789(_0x40abe4);return;}this['_compressed']=_0x229d45;}else{if(this['_opcode']>0x7&&this[_0x496220(0x191)]<0xb){if(!this[_0x496220(0x17d)]){const _0x43a6e6=this['createError'](RangeError,_0x496220(0x206),!0x0,0x3ea,_0x496220(0x1b3));_0x3b9789(_0x43a6e6);return;}if(_0x229d45){const _0x5acb4a=this[_0x496220(0x1b4)](RangeError,'RSV1\x20must\x20be\x20clear',!0x0,0x3ea,_0x496220(0x1bf));_0x3b9789(_0x5acb4a);return;}if(this['_payloadLength']>0x7d||this['_opcode']===0x8&&this[_0x496220(0x225)]===0x1){const _0x4671a7=this['createError'](RangeError,_0x496220(0x93)+this[_0x496220(0x225)],!0x0,0x3ea,_0x496220(0x1b6));_0x3b9789(_0x4671a7);return;}}else{const _0x6fc160=this[_0x496220(0x1b4)](RangeError,_0x496220(0xc3)+this[_0x496220(0x191)],!0x0,0x3ea,_0x496220(0x238));_0x3b9789(_0x6fc160);return;}}}if(!this[_0x496220(0x17d)]&&!this[_0x496220(0x150)]&&(this[_0x496220(0x150)]=this[_0x496220(0x191)]),this[_0x496220(0x195)]=(_0x1ce56a[0x1]&0x80)===0x80,this[_0x496220(0x119)]){if(!this[_0x496220(0x195)]){const _0x1b6bb6=this[_0x496220(0x1b4)](RangeError,_0x496220(0xce),!0x0,0x3ea,'WS_ERR_EXPECTED_MASK');_0x3b9789(_0x1b6bb6);return;}}else{if(this['_masked']){const _0x15c151=this[_0x496220(0x1b4)](RangeError,_0x496220(0x1e0),!0x0,0x3ea,'WS_ERR_UNEXPECTED_MASK');_0x3b9789(_0x15c151);return;}}this[_0x496220(0x225)]===0x7e?this[_0x496220(0x116)]=_0x12918b:this['_payloadLength']===0x7f?this[_0x496220(0x116)]=_0x51787c:this[_0x496220(0x85)](_0x3b9789);}['getPayloadLength16'](_0xa40028){const _0x1446aa=_0x297f32;if(this[_0x1446aa(0x187)]<0x2){this['_loop']=!0x1;return;}this['_payloadLength']=this['consume'](0x2)['readUInt16BE'](0x0),this[_0x1446aa(0x85)](_0xa40028);}['getPayloadLength64'](_0x18c419){const _0xcb7e59=_0x297f32;if(this[_0xcb7e59(0x187)]<0x8){this[_0xcb7e59(0xd8)]=!0x1;return;}const _0x32d126=this[_0xcb7e59(0x128)](0x8),_0x18a207=_0x32d126[_0xcb7e59(0x161)](0x0);if(_0x18a207>Math['pow'](0x2,0x15)-0x1){const _0x238a78=this[_0xcb7e59(0x1b4)](RangeError,_0xcb7e59(0x94),!0x1,0x3f1,_0xcb7e59(0x234));_0x18c419(_0x238a78);return;}this['_payloadLength']=_0x18a207*Math[_0xcb7e59(0xdb)](0x2,0x20)+_0x32d126['readUInt32BE'](0x4),this[_0xcb7e59(0x85)](_0x18c419);}[_0x297f32(0x85)](_0x103d85){const _0x322c54=_0x297f32;if(this[_0x322c54(0x225)]&&this['_opcode']<0x8&&(this[_0x322c54(0x114)]+=this['_payloadLength'],this[_0x322c54(0x114)]>this[_0x322c54(0x8a)]&&this['_maxPayload']>0x0)){const _0x8cc3ea=this[_0x322c54(0x1b4)](RangeError,_0x322c54(0x146),!0x1,0x3f1,_0x322c54(0x118));_0x103d85(_0x8cc3ea);return;}this[_0x322c54(0x195)]?this[_0x322c54(0x116)]=_0x2a3c93:this[_0x322c54(0x116)]=_0x5ab0b5;}['getMask'](){const _0x44037c=_0x297f32;if(this[_0x44037c(0x187)]<0x4){this[_0x44037c(0xd8)]=!0x1;return;}this[_0x44037c(0x1ad)]=this[_0x44037c(0x128)](0x4),this['_state']=_0x5ab0b5;}[_0x297f32(0x188)](_0x1ebb36){const _0x562598=_0x297f32;let _0x37fd2c=_0x37aaa1;if(this[_0x562598(0x225)]){if(this[_0x562598(0x187)]<this[_0x562598(0x225)]){this[_0x562598(0xd8)]=!0x1;return;}_0x37fd2c=this[_0x562598(0x128)](this[_0x562598(0x225)]),this[_0x562598(0x195)]&&(this[_0x562598(0x1ad)][0x0]|this[_0x562598(0x1ad)][0x1]|this['_mask'][0x2]|this[_0x562598(0x1ad)][0x3])!==0x0&&_0x437122(_0x37fd2c,this[_0x562598(0x1ad)]);}if(this['_opcode']>0x7){this[_0x562598(0x1f0)](_0x37fd2c,_0x1ebb36);return;}if(this[_0x562598(0x12b)]){this[_0x562598(0x116)]=_0x124a68,this[_0x562598(0xc0)](_0x37fd2c,_0x1ebb36);return;}_0x37fd2c[_0x562598(0xa4)]&&(this[_0x562598(0x158)]=this[_0x562598(0x114)],this[_0x562598(0x8f)][_0x562598(0x159)](_0x37fd2c)),this[_0x562598(0x174)](_0x1ebb36);}['decompress'](_0x3c61a5,_0x492e4c){const _0x578886=_0x297f32;this['_extensions'][_0x17d2cf[_0x578886(0x18b)]][_0x578886(0xc0)](_0x3c61a5,this[_0x578886(0x17d)],(_0xb6ffba,_0x42ce1e)=>{const _0x52ebcb=_0x578886;if(_0xb6ffba)return _0x492e4c(_0xb6ffba);if(_0x42ce1e[_0x52ebcb(0xa4)]){if(this[_0x52ebcb(0x158)]+=_0x42ce1e['length'],this[_0x52ebcb(0x158)]>this[_0x52ebcb(0x8a)]&&this[_0x52ebcb(0x8a)]>0x0){const _0x5283eb=this[_0x52ebcb(0x1b4)](RangeError,_0x52ebcb(0x146),!0x1,0x3f1,_0x52ebcb(0x118));_0x492e4c(_0x5283eb);return;}this[_0x52ebcb(0x8f)][_0x52ebcb(0x159)](_0x42ce1e);}this['dataMessage'](_0x492e4c),this[_0x52ebcb(0x116)]===_0x546be7&&this[_0x52ebcb(0x1fc)](_0x492e4c);});}[_0x297f32(0x174)](_0x3e29e1){const _0x55a99e=_0x297f32;if(!this['_fin']){this['_state']=_0x546be7;return;}const _0x3eb66d=this[_0x55a99e(0x158)],_0x5affd9=this[_0x55a99e(0x8f)];if(this[_0x55a99e(0x114)]=0x0,this[_0x55a99e(0x158)]=0x0,this[_0x55a99e(0x150)]=0x0,this[_0x55a99e(0x8f)]=[],this[_0x55a99e(0x191)]===0x2){let _0x204560;this[_0x55a99e(0x241)]===_0x55a99e(0x1c8)?_0x204560=_0xef2ae(_0x5affd9,_0x3eb66d):this['_binaryType']===_0x55a99e(0x139)?_0x204560=_0xf6dfd7(_0xef2ae(_0x5affd9,_0x3eb66d)):this[_0x55a99e(0x241)]===_0x55a99e(0xbb)?_0x204560=new Blob(_0x5affd9):_0x204560=_0x5affd9,this[_0x55a99e(0x17a)]?(this[_0x55a99e(0xe6)](_0x55a99e(0x16d),_0x204560,!0x0),this[_0x55a99e(0x116)]=_0x546be7):(this[_0x55a99e(0x116)]=_0x20db43,setImmediate(()=>{const _0x27ae93=_0x55a99e;this[_0x27ae93(0xe6)](_0x27ae93(0x16d),_0x204560,!0x0),this['_state']=_0x546be7,this['startLoop'](_0x3e29e1);}));}else{const _0x6a75e2=_0xef2ae(_0x5affd9,_0x3eb66d);if(!this['_skipUTF8Validation']&&!_0xbcfbe7(_0x6a75e2)){const _0x53162b=this[_0x55a99e(0x1b4)](Error,_0x55a99e(0x1a4),!0x0,0x3ef,_0x55a99e(0x1eb));_0x3e29e1(_0x53162b);return;}this[_0x55a99e(0x116)]===_0x124a68||this[_0x55a99e(0x17a)]?(this[_0x55a99e(0xe6)](_0x55a99e(0x16d),_0x6a75e2,!0x1),this[_0x55a99e(0x116)]=_0x546be7):(this[_0x55a99e(0x116)]=_0x20db43,setImmediate(()=>{const _0x5935da=_0x55a99e;this['emit'](_0x5935da(0x16d),_0x6a75e2,!0x1),this[_0x5935da(0x116)]=_0x546be7,this['startLoop'](_0x3e29e1);}));}}[_0x297f32(0x1f0)](_0x300d36,_0x4db18a){const _0x5271b0=_0x297f32;if(this[_0x5271b0(0x191)]===0x8){if(_0x300d36[_0x5271b0(0xa4)]===0x0)this[_0x5271b0(0xd8)]=!0x1,this[_0x5271b0(0xe6)](_0x5271b0(0x244),0x3ed,_0x37aaa1),this[_0x5271b0(0x19d)]();else{const _0x24bd47=_0x300d36[_0x5271b0(0x209)](0x0);if(!_0x2a7aef(_0x24bd47)){const _0x1b24fa=this['createError'](RangeError,_0x5271b0(0x21f)+_0x24bd47,!0x0,0x3ea,_0x5271b0(0x1b8));_0x4db18a(_0x1b24fa);return;}const _0x5c7bba=new _0xaa316a(_0x300d36[_0x5271b0(0x80)],_0x300d36['byteOffset']+0x2,_0x300d36[_0x5271b0(0xa4)]-0x2);if(!this['_skipUTF8Validation']&&!_0xbcfbe7(_0x5c7bba)){const _0x27163d=this['createError'](Error,_0x5271b0(0x1a4),!0x0,0x3ef,_0x5271b0(0x1eb));_0x4db18a(_0x27163d);return;}this['_loop']=!0x1,this[_0x5271b0(0xe6)](_0x5271b0(0x244),_0x24bd47,_0x5c7bba),this[_0x5271b0(0x19d)]();}this[_0x5271b0(0x116)]=_0x546be7;return;}this[_0x5271b0(0x17a)]?(this[_0x5271b0(0xe6)](this[_0x5271b0(0x191)]===0x9?_0x5271b0(0x121):_0x5271b0(0x18a),_0x300d36),this['_state']=_0x546be7):(this[_0x5271b0(0x116)]=_0x20db43,setImmediate(()=>{const _0x362a7e=_0x5271b0;this['emit'](this[_0x362a7e(0x191)]===0x9?_0x362a7e(0x121):'pong',_0x300d36),this[_0x362a7e(0x116)]=_0x546be7,this['startLoop'](_0x4db18a);}));}[_0x297f32(0x1b4)](_0x4c61cb,_0xd850b6,_0x1fcb00,_0xf31ebd,_0xa5179c){const _0x46073d=_0x297f32;this[_0x46073d(0xd8)]=!0x1,this['_errored']=!0x0;const _0x4db97e=new _0x4c61cb(_0x1fcb00?_0x46073d(0x156)+_0xd850b6:_0xd850b6);return Error[_0x46073d(0x1cf)](_0x4db97e,this[_0x46073d(0x1b4)]),_0x4db97e[_0x46073d(0x169)]=_0xa5179c,_0x4db97e[_0x419abf]=_0xf31ebd,_0x4db97e;}}return Se=_0x2fb4a4,Se;}var Ee,Xe;function ft(){const _0x55a8be=_0x105f75;if(Xe)return Ee;Xe=0x1;const {Duplex:_0x2d9345}=oe,{randomFillSync:_0x522c48}=Le,_0x2f734b=he(),{EMPTY_BUFFER:_0x233fa6,kWebSocket:_0x43223a,NOOP:_0x1527f6}=H(),{isBlob:_0x4dbd63,isValidStatusCode:_0x59f429}=ae(),{mask:_0x647536,toBuffer:_0x2bf8b7}=ce(),_0x480bf1=Symbol(_0x55a8be(0x113)),_0xbbea89=Buffer[_0x55a8be(0xa3)](0x4),_0x324045=0x8*0x400;let _0x311236,_0x93f5aa=_0x324045;const _0x344932=0x0,_0x5ba4bf=0x1,_0x1b1d56=0x2;class _0x407413{constructor(_0x2f284e,_0x3dd57d,_0x5ebcdc){const _0x489609=_0x55a8be;this['_extensions']=_0x3dd57d||{},_0x5ebcdc&&(this[_0x489609(0x16c)]=_0x5ebcdc,this['_maskBuffer']=Buffer[_0x489609(0xa3)](0x4)),this[_0x489609(0x1f5)]=_0x2f284e,this[_0x489609(0xae)]=!0x0,this[_0x489609(0x231)]=!0x1,this[_0x489609(0x187)]=0x0,this[_0x489609(0x1da)]=[],this['_state']=_0x344932,this[_0x489609(0xea)]=_0x1527f6,this[_0x43223a]=void 0x0;}static[_0x55a8be(0x1af)](_0x2383e5,_0xeb83f5){const _0x3f4d93=_0x55a8be;let _0x34923b,_0x189ad6=!0x1,_0x61ac65=0x2,_0x2250de=!0x1;_0xeb83f5[_0x3f4d93(0x13c)]&&(_0x34923b=_0xeb83f5[_0x3f4d93(0x183)]||_0xbbea89,_0xeb83f5['generateMask']?_0xeb83f5[_0x3f4d93(0x232)](_0x34923b):(_0x93f5aa===_0x324045&&(_0x311236===void 0x0&&(_0x311236=Buffer[_0x3f4d93(0xa3)](_0x324045)),_0x522c48(_0x311236,0x0,_0x324045),_0x93f5aa=0x0),_0x34923b[0x0]=_0x311236[_0x93f5aa++],_0x34923b[0x1]=_0x311236[_0x93f5aa++],_0x34923b[0x2]=_0x311236[_0x93f5aa++],_0x34923b[0x3]=_0x311236[_0x93f5aa++]),_0x2250de=(_0x34923b[0x0]|_0x34923b[0x1]|_0x34923b[0x2]|_0x34923b[0x3])===0x0,_0x61ac65=0x6);let _0x46ba04;typeof _0x2383e5==_0x3f4d93(0x98)?(!_0xeb83f5[_0x3f4d93(0x13c)]||_0x2250de)&&_0xeb83f5[_0x480bf1]!==void 0x0?_0x46ba04=_0xeb83f5[_0x480bf1]:(_0x2383e5=Buffer[_0x3f4d93(0x1c1)](_0x2383e5),_0x46ba04=_0x2383e5[_0x3f4d93(0xa4)]):(_0x46ba04=_0x2383e5[_0x3f4d93(0xa4)],_0x189ad6=_0xeb83f5[_0x3f4d93(0x13c)]&&_0xeb83f5['readOnly']&&!_0x2250de);let _0x33ba0c=_0x46ba04;_0x46ba04>=0x10000?(_0x61ac65+=0x8,_0x33ba0c=0x7f):_0x46ba04>0x7d&&(_0x61ac65+=0x2,_0x33ba0c=0x7e);const _0x34096b=Buffer[_0x3f4d93(0x138)](_0x189ad6?_0x46ba04+_0x61ac65:_0x61ac65);return _0x34096b[0x0]=_0xeb83f5['fin']?_0xeb83f5[_0x3f4d93(0x1a8)]|0x80:_0xeb83f5[_0x3f4d93(0x1a8)],_0xeb83f5[_0x3f4d93(0x1ac)]&&(_0x34096b[0x0]|=0x40),_0x34096b[0x1]=_0x33ba0c,_0x33ba0c===0x7e?_0x34096b[_0x3f4d93(0x184)](_0x46ba04,0x2):_0x33ba0c===0x7f&&(_0x34096b[0x2]=_0x34096b[0x3]=0x0,_0x34096b[_0x3f4d93(0xab)](_0x46ba04,0x4,0x6)),_0xeb83f5[_0x3f4d93(0x13c)]?(_0x34096b[0x1]|=0x80,_0x34096b[_0x61ac65-0x4]=_0x34923b[0x0],_0x34096b[_0x61ac65-0x3]=_0x34923b[0x1],_0x34096b[_0x61ac65-0x2]=_0x34923b[0x2],_0x34096b[_0x61ac65-0x1]=_0x34923b[0x3],_0x2250de?[_0x34096b,_0x2383e5]:_0x189ad6?(_0x647536(_0x2383e5,_0x34923b,_0x34096b,_0x61ac65,_0x46ba04),[_0x34096b]):(_0x647536(_0x2383e5,_0x34923b,_0x2383e5,0x0,_0x46ba04),[_0x34096b,_0x2383e5])):[_0x34096b,_0x2383e5];}[_0x55a8be(0x9b)](_0x44a927,_0x476fe2,_0x4e2391,_0x10a81d){const _0x18a8ba=_0x55a8be;let _0x3d6660;if(_0x44a927===void 0x0)_0x3d6660=_0x233fa6;else{if(typeof _0x44a927!='number'||!_0x59f429(_0x44a927))throw new TypeError(_0x18a8ba(0x141));if(_0x476fe2===void 0x0||!_0x476fe2['length'])_0x3d6660=Buffer[_0x18a8ba(0x138)](0x2),_0x3d6660[_0x18a8ba(0x184)](_0x44a927,0x0);else{const _0x51abb4=Buffer[_0x18a8ba(0x237)](_0x476fe2);if(_0x51abb4>0x7b)throw new RangeError(_0x18a8ba(0x1f2));_0x3d6660=Buffer[_0x18a8ba(0x138)](0x2+_0x51abb4),_0x3d6660['writeUInt16BE'](_0x44a927,0x0),typeof _0x476fe2==_0x18a8ba(0x98)?_0x3d6660[_0x18a8ba(0x21a)](_0x476fe2,0x2):_0x3d6660[_0x18a8ba(0xca)](_0x476fe2,0x2);}}const _0x1110e3={[_0x480bf1]:_0x3d6660[_0x18a8ba(0xa4)],'fin':!0x0,'generateMask':this['_generateMask'],'mask':_0x4e2391,'maskBuffer':this[_0x18a8ba(0x166)],'opcode':0x8,'readOnly':!0x1,'rsv1':!0x1};this['_state']!==_0x344932?this[_0x18a8ba(0x246)]([this['dispatch'],_0x3d6660,!0x1,_0x1110e3,_0x10a81d]):this['sendFrame'](_0x407413['frame'](_0x3d6660,_0x1110e3),_0x10a81d);}[_0x55a8be(0x121)](_0x52fd00,_0x101ef2,_0x4930bd){const _0x622a75=_0x55a8be;let _0x4d6e9e,_0x480c5a;if(typeof _0x52fd00==_0x622a75(0x98)?(_0x4d6e9e=Buffer[_0x622a75(0x237)](_0x52fd00),_0x480c5a=!0x1):_0x4dbd63(_0x52fd00)?(_0x4d6e9e=_0x52fd00[_0x622a75(0x88)],_0x480c5a=!0x1):(_0x52fd00=_0x2bf8b7(_0x52fd00),_0x4d6e9e=_0x52fd00['length'],_0x480c5a=_0x2bf8b7[_0x622a75(0x117)]),_0x4d6e9e>0x7d)throw new RangeError(_0x622a75(0x153));const _0x4e2406={[_0x480bf1]:_0x4d6e9e,'fin':!0x0,'generateMask':this[_0x622a75(0x16c)],'mask':_0x101ef2,'maskBuffer':this[_0x622a75(0x166)],'opcode':0x9,'readOnly':_0x480c5a,'rsv1':!0x1};_0x4dbd63(_0x52fd00)?this[_0x622a75(0x116)]!==_0x344932?this[_0x622a75(0x246)]([this[_0x622a75(0xa9)],_0x52fd00,!0x1,_0x4e2406,_0x4930bd]):this[_0x622a75(0xa9)](_0x52fd00,!0x1,_0x4e2406,_0x4930bd):this['_state']!==_0x344932?this[_0x622a75(0x246)]([this[_0x622a75(0x11b)],_0x52fd00,!0x1,_0x4e2406,_0x4930bd]):this[_0x622a75(0x16f)](_0x407413[_0x622a75(0x1af)](_0x52fd00,_0x4e2406),_0x4930bd);}['pong'](_0x1b096c,_0x3752d7,_0x5bd35b){const _0xfb09cb=_0x55a8be;let _0x587a4a,_0x46e511;if(typeof _0x1b096c==_0xfb09cb(0x98)?(_0x587a4a=Buffer[_0xfb09cb(0x237)](_0x1b096c),_0x46e511=!0x1):_0x4dbd63(_0x1b096c)?(_0x587a4a=_0x1b096c[_0xfb09cb(0x88)],_0x46e511=!0x1):(_0x1b096c=_0x2bf8b7(_0x1b096c),_0x587a4a=_0x1b096c[_0xfb09cb(0xa4)],_0x46e511=_0x2bf8b7[_0xfb09cb(0x117)]),_0x587a4a>0x7d)throw new RangeError('The\x20data\x20size\x20must\x20not\x20be\x20greater\x20than\x20125\x20bytes');const _0x24bd43={[_0x480bf1]:_0x587a4a,'fin':!0x0,'generateMask':this[_0xfb09cb(0x16c)],'mask':_0x3752d7,'maskBuffer':this['_maskBuffer'],'opcode':0xa,'readOnly':_0x46e511,'rsv1':!0x1};_0x4dbd63(_0x1b096c)?this[_0xfb09cb(0x116)]!==_0x344932?this[_0xfb09cb(0x246)]([this['getBlobData'],_0x1b096c,!0x1,_0x24bd43,_0x5bd35b]):this[_0xfb09cb(0xa9)](_0x1b096c,!0x1,_0x24bd43,_0x5bd35b):this['_state']!==_0x344932?this[_0xfb09cb(0x246)]([this['dispatch'],_0x1b096c,!0x1,_0x24bd43,_0x5bd35b]):this[_0xfb09cb(0x16f)](_0x407413[_0xfb09cb(0x1af)](_0x1b096c,_0x24bd43),_0x5bd35b);}[_0x55a8be(0x247)](_0x1f03f6,_0x13c79e,_0x4c6e80){const _0x16233a=_0x55a8be,_0x5c56c2=this[_0x16233a(0x20d)][_0x2f734b[_0x16233a(0x18b)]];let _0x14a401=_0x13c79e['binary']?0x2:0x1,_0x7b7350=_0x13c79e[_0x16233a(0x202)],_0x3444d6,_0x4877cf;typeof _0x1f03f6==_0x16233a(0x98)?(_0x3444d6=Buffer[_0x16233a(0x237)](_0x1f03f6),_0x4877cf=!0x1):_0x4dbd63(_0x1f03f6)?(_0x3444d6=_0x1f03f6[_0x16233a(0x88)],_0x4877cf=!0x1):(_0x1f03f6=_0x2bf8b7(_0x1f03f6),_0x3444d6=_0x1f03f6[_0x16233a(0xa4)],_0x4877cf=_0x2bf8b7[_0x16233a(0x117)]),this[_0x16233a(0xae)]?(this[_0x16233a(0xae)]=!0x1,_0x7b7350&&_0x5c56c2&&_0x5c56c2[_0x16233a(0x203)][_0x5c56c2['_isServer']?_0x16233a(0x199):_0x16233a(0x1aa)]&&(_0x7b7350=_0x3444d6>=_0x5c56c2[_0x16233a(0xc9)]),this['_compress']=_0x7b7350):(_0x7b7350=!0x1,_0x14a401=0x0),_0x13c79e[_0x16233a(0xc6)]&&(this[_0x16233a(0xae)]=!0x0);const _0x45a07f={[_0x480bf1]:_0x3444d6,'fin':_0x13c79e[_0x16233a(0xc6)],'generateMask':this[_0x16233a(0x16c)],'mask':_0x13c79e[_0x16233a(0x13c)],'maskBuffer':this[_0x16233a(0x166)],'opcode':_0x14a401,'readOnly':_0x4877cf,'rsv1':_0x7b7350};_0x4dbd63(_0x1f03f6)?this[_0x16233a(0x116)]!==_0x344932?this[_0x16233a(0x246)]([this[_0x16233a(0xa9)],_0x1f03f6,this['_compress'],_0x45a07f,_0x4c6e80]):this['getBlobData'](_0x1f03f6,this[_0x16233a(0x231)],_0x45a07f,_0x4c6e80):this['_state']!==_0x344932?this['enqueue']([this['dispatch'],_0x1f03f6,this[_0x16233a(0x231)],_0x45a07f,_0x4c6e80]):this[_0x16233a(0x11b)](_0x1f03f6,this[_0x16233a(0x231)],_0x45a07f,_0x4c6e80);}[_0x55a8be(0xa9)](_0x5bf2c1,_0x16ce67,_0x1e2425,_0x1c5635){const _0x961b8e=_0x55a8be;this['_bufferedBytes']+=_0x1e2425[_0x480bf1],this[_0x961b8e(0x116)]=_0x1b1d56,_0x5bf2c1[_0x961b8e(0x1cc)]()[_0x961b8e(0x22a)](_0x4d253a=>{const _0x1c0d35=_0x961b8e;if(this[_0x1c0d35(0x1f5)][_0x1c0d35(0x197)]){const _0x422bcb=new Error(_0x1c0d35(0x7e));process['nextTick'](_0x35dc32,this,_0x422bcb,_0x1c5635);return;}this['_bufferedBytes']-=_0x1e2425[_0x480bf1];const _0x5a3f76=_0x2bf8b7(_0x4d253a);_0x16ce67?this[_0x1c0d35(0x11b)](_0x5a3f76,_0x16ce67,_0x1e2425,_0x1c5635):(this[_0x1c0d35(0x116)]=_0x344932,this[_0x1c0d35(0x16f)](_0x407413[_0x1c0d35(0x1af)](_0x5a3f76,_0x1e2425),_0x1c5635),this[_0x1c0d35(0x210)]());})['catch'](_0x479424=>{const _0x54cfe6=_0x961b8e;process[_0x54cfe6(0x22d)](_0x3e6f33,this,_0x479424,_0x1c5635);});}['dispatch'](_0x526068,_0x4d8e20,_0x503ed1,_0x50a589){const _0x594f56=_0x55a8be;if(!_0x4d8e20){this[_0x594f56(0x16f)](_0x407413[_0x594f56(0x1af)](_0x526068,_0x503ed1),_0x50a589);return;}const _0x2467f=this[_0x594f56(0x20d)][_0x2f734b[_0x594f56(0x18b)]];this['_bufferedBytes']+=_0x503ed1[_0x480bf1],this[_0x594f56(0x116)]=_0x5ba4bf,_0x2467f[_0x594f56(0x202)](_0x526068,_0x503ed1[_0x594f56(0xc6)],(_0x1f66e9,_0x680695)=>{const _0x22d5fb=_0x594f56;if(this[_0x22d5fb(0x1f5)][_0x22d5fb(0x197)]){const _0x2af988=new Error(_0x22d5fb(0xc7));_0x35dc32(this,_0x2af988,_0x50a589);return;}this[_0x22d5fb(0x187)]-=_0x503ed1[_0x480bf1],this[_0x22d5fb(0x116)]=_0x344932,_0x503ed1['readOnly']=!0x1,this['sendFrame'](_0x407413[_0x22d5fb(0x1af)](_0x680695,_0x503ed1),_0x50a589),this[_0x22d5fb(0x210)]();});}['dequeue'](){const _0x1d6a09=_0x55a8be;for(;this['_state']===_0x344932&&this['_queue'][_0x1d6a09(0xa4)];){const _0x50b56c=this[_0x1d6a09(0x1da)][_0x1d6a09(0x1b5)]();this[_0x1d6a09(0x187)]-=_0x50b56c[0x3][_0x480bf1],Reflect[_0x1d6a09(0x18c)](_0x50b56c[0x0],this,_0x50b56c['slice'](0x1));}}['enqueue'](_0x39415b){this['_bufferedBytes']+=_0x39415b[0x3][_0x480bf1],this['_queue']['push'](_0x39415b);}[_0x55a8be(0x16f)](_0x160d62,_0x404e98){const _0x5e2b39=_0x55a8be;_0x160d62[_0x5e2b39(0xa4)]===0x2?(this[_0x5e2b39(0x1f5)][_0x5e2b39(0xd3)](),this[_0x5e2b39(0x1f5)][_0x5e2b39(0x21a)](_0x160d62[0x0]),this['_socket'][_0x5e2b39(0x21a)](_0x160d62[0x1],_0x404e98),this[_0x5e2b39(0x1f5)][_0x5e2b39(0x11f)]()):this[_0x5e2b39(0x1f5)][_0x5e2b39(0x21a)](_0x160d62[0x0],_0x404e98);}}Ee=_0x407413;function _0x35dc32(_0x5874dd,_0x32bd9d,_0xde8d83){const _0x523bda=_0x55a8be;typeof _0xde8d83==_0x523bda(0x10f)&&_0xde8d83(_0x32bd9d);for(let _0x1be2d9=0x0;_0x1be2d9<_0x5874dd['_queue']['length'];_0x1be2d9++){const _0x4eb33a=_0x5874dd['_queue'][_0x1be2d9],_0x2c64fe=_0x4eb33a[_0x4eb33a[_0x523bda(0xa4)]-0x1];typeof _0x2c64fe==_0x523bda(0x10f)&&_0x2c64fe(_0x32bd9d);}}function _0x3e6f33(_0x57b22b,_0x1ddd5a,_0x5cc72f){const _0x456d2d=_0x55a8be;_0x35dc32(_0x57b22b,_0x1ddd5a,_0x5cc72f),_0x57b22b[_0x456d2d(0xea)](_0x1ddd5a);}return Ee;}var xe,Ze;function It(){const _0x3363e4=_0x105f75;if(Ze)return xe;Ze=0x1;const {kForOnEventAttribute:_0x216fa9,kListener:_0x29d5b2}=H(),_0x3411ff=Symbol(_0x3363e4(0x221)),_0x49dcc6=Symbol(_0x3363e4(0x10c)),_0x1597a2=Symbol('kError'),_0x1c5b32=Symbol(_0x3363e4(0x13b)),_0x216ca7=Symbol('kReason'),_0x5c6754=Symbol(_0x3363e4(0x1e6)),_0x4ba64f=Symbol('kType'),_0x16f5b9=Symbol('kWasClean');class _0x48b31b{constructor(_0x183932){this[_0x5c6754]=null,this[_0x4ba64f]=_0x183932;}get['target'](){return this[_0x5c6754];}get['type'](){return this[_0x4ba64f];}}Object[_0x3363e4(0x20a)](_0x48b31b[_0x3363e4(0x15a)],'target',{'enumerable':!0x0}),Object[_0x3363e4(0x20a)](_0x48b31b[_0x3363e4(0x15a)],_0x3363e4(0x12e),{'enumerable':!0x0});class _0x2ab846 extends _0x48b31b{constructor(_0x53969d,_0x52f5f2={}){const _0x295906=_0x3363e4;super(_0x53969d),this[_0x3411ff]=_0x52f5f2[_0x295906(0x169)]===void 0x0?0x0:_0x52f5f2[_0x295906(0x169)],this[_0x216ca7]=_0x52f5f2['reason']===void 0x0?'':_0x52f5f2[_0x295906(0x20f)],this[_0x16f5b9]=_0x52f5f2[_0x295906(0x15c)]===void 0x0?!0x1:_0x52f5f2[_0x295906(0x15c)];}get['code'](){return this[_0x3411ff];}get['reason'](){return this[_0x216ca7];}get['wasClean'](){return this[_0x16f5b9];}}Object['defineProperty'](_0x2ab846[_0x3363e4(0x15a)],_0x3363e4(0x169),{'enumerable':!0x0}),Object[_0x3363e4(0x20a)](_0x2ab846[_0x3363e4(0x15a)],_0x3363e4(0x20f),{'enumerable':!0x0}),Object[_0x3363e4(0x20a)](_0x2ab846[_0x3363e4(0x15a)],_0x3363e4(0x15c),{'enumerable':!0x0});class _0x485a98 extends _0x48b31b{constructor(_0x2ad02f,_0x542854={}){const _0x4d62e4=_0x3363e4;super(_0x2ad02f),this[_0x1597a2]=_0x542854[_0x4d62e4(0x1c9)]===void 0x0?null:_0x542854['error'],this[_0x1c5b32]=_0x542854['message']===void 0x0?'':_0x542854[_0x4d62e4(0x16d)];}get[_0x3363e4(0x1c9)](){return this[_0x1597a2];}get[_0x3363e4(0x16d)](){return this[_0x1c5b32];}}Object[_0x3363e4(0x20a)](_0x485a98[_0x3363e4(0x15a)],_0x3363e4(0x1c9),{'enumerable':!0x0}),Object[_0x3363e4(0x20a)](_0x485a98[_0x3363e4(0x15a)],'message',{'enumerable':!0x0});class _0x188592 extends _0x48b31b{constructor(_0x5e8798,_0xb97025={}){const _0x5eaf3b=_0x3363e4;super(_0x5e8798),this[_0x49dcc6]=_0xb97025[_0x5eaf3b(0x1d5)]===void 0x0?null:_0xb97025[_0x5eaf3b(0x1d5)];}get[_0x3363e4(0x1d5)](){return this[_0x49dcc6];}}Object['defineProperty'](_0x188592[_0x3363e4(0x15a)],'data',{'enumerable':!0x0}),xe={'CloseEvent':_0x2ab846,'ErrorEvent':_0x485a98,'Event':_0x48b31b,'EventTarget':{'addEventListener'(_0x30134d,_0x346c46,_0x3def15={}){const _0x5af819=_0x3363e4;for(const _0x1bf638 of this[_0x5af819(0x8c)](_0x30134d))if(!_0x3def15[_0x216fa9]&&_0x1bf638[_0x29d5b2]===_0x346c46&&!_0x1bf638[_0x216fa9])return;let _0x3291c3;if(_0x30134d===_0x5af819(0x16d))_0x3291c3=function(_0x567c40,_0x448c7f){const _0x161e90=_0x5af819,_0x547d32=new _0x188592(_0x161e90(0x16d),{'data':_0x448c7f?_0x567c40:_0x567c40[_0x161e90(0x81)]()});_0x547d32[_0x5c6754]=this,_0x32c2af(_0x346c46,this,_0x547d32);};else{if(_0x30134d==='close')_0x3291c3=function(_0x497a7c,_0x52e930){const _0x2c463a=_0x5af819,_0x21710e=new _0x2ab846('close',{'code':_0x497a7c,'reason':_0x52e930[_0x2c463a(0x81)](),'wasClean':this['_closeFrameReceived']&&this[_0x2c463a(0x136)]});_0x21710e[_0x5c6754]=this,_0x32c2af(_0x346c46,this,_0x21710e);};else{if(_0x30134d==='error')_0x3291c3=function(_0x4ff187){const _0x5d7c2b=_0x5af819,_0x46320b=new _0x485a98(_0x5d7c2b(0x1c9),{'error':_0x4ff187,'message':_0x4ff187[_0x5d7c2b(0x16d)]});_0x46320b[_0x5c6754]=this,_0x32c2af(_0x346c46,this,_0x46320b);};else{if(_0x30134d===_0x5af819(0xef))_0x3291c3=function(){const _0x413cd0=_0x5af819,_0x3026eb=new _0x48b31b(_0x413cd0(0xef));_0x3026eb[_0x5c6754]=this,_0x32c2af(_0x346c46,this,_0x3026eb);};else return;}}}_0x3291c3[_0x216fa9]=!!_0x3def15[_0x216fa9],_0x3291c3[_0x29d5b2]=_0x346c46,_0x3def15[_0x5af819(0x127)]?this[_0x5af819(0x127)](_0x30134d,_0x3291c3):this['on'](_0x30134d,_0x3291c3);},'removeEventListener'(_0x4cd9a1,_0x3084dc){const _0x235629=_0x3363e4;for(const _0x5ab0a2 of this[_0x235629(0x8c)](_0x4cd9a1))if(_0x5ab0a2[_0x29d5b2]===_0x3084dc&&!_0x5ab0a2[_0x216fa9]){this[_0x235629(0x193)](_0x4cd9a1,_0x5ab0a2);break;}}},'MessageEvent':_0x188592};function _0x32c2af(_0x351809,_0x1e0352,_0x5746be){const _0x511fb8=_0x3363e4;typeof _0x351809==_0x511fb8(0x1bc)&&_0x351809[_0x511fb8(0x22f)]?_0x351809[_0x511fb8(0x22f)]['call'](_0x351809,_0x5746be):_0x351809[_0x511fb8(0x180)](_0x1e0352,_0x5746be);}return xe;}var be,Qe;function ct(){if(Qe)return be;Qe=0x1;const {tokenChars:_0x4cba83}=ae();function _0x73ab37(_0x421e4e,_0x2c3eb6,_0x240354){const _0x13fcfb=_0x2e1c;_0x421e4e[_0x2c3eb6]===void 0x0?_0x421e4e[_0x2c3eb6]=[_0x240354]:_0x421e4e[_0x2c3eb6][_0x13fcfb(0x159)](_0x240354);}function _0x4d8d1a(_0x3c7bf4){const _0x3ad4d8=_0x2e1c,_0x31cf1c=Object[_0x3ad4d8(0x207)](null);let _0x430ec6=Object[_0x3ad4d8(0x207)](null),_0x542712=!0x1,_0x23f9e0=!0x1,_0x5daac1=!0x1,_0x217143,_0x404e43,_0x48d846=-0x1,_0x20ec47=-0x1,_0xbec91c=-0x1,_0x1adc68=0x0;for(;_0x1adc68<_0x3c7bf4[_0x3ad4d8(0xa4)];_0x1adc68++)if(_0x20ec47=_0x3c7bf4[_0x3ad4d8(0x1cb)](_0x1adc68),_0x217143===void 0x0){if(_0xbec91c===-0x1&&_0x4cba83[_0x20ec47]===0x1)_0x48d846===-0x1&&(_0x48d846=_0x1adc68);else{if(_0x1adc68!==0x0&&(_0x20ec47===0x20||_0x20ec47===0x9))_0xbec91c===-0x1&&_0x48d846!==-0x1&&(_0xbec91c=_0x1adc68);else{if(_0x20ec47===0x3b||_0x20ec47===0x2c){if(_0x48d846===-0x1)throw new SyntaxError(_0x3ad4d8(0xec)+_0x1adc68);_0xbec91c===-0x1&&(_0xbec91c=_0x1adc68);const _0x1f7686=_0x3c7bf4['slice'](_0x48d846,_0xbec91c);_0x20ec47===0x2c?(_0x73ab37(_0x31cf1c,_0x1f7686,_0x430ec6),_0x430ec6=Object[_0x3ad4d8(0x207)](null)):_0x217143=_0x1f7686,_0x48d846=_0xbec91c=-0x1;}else throw new SyntaxError(_0x3ad4d8(0xec)+_0x1adc68);}}}else{if(_0x404e43===void 0x0){if(_0xbec91c===-0x1&&_0x4cba83[_0x20ec47]===0x1)_0x48d846===-0x1&&(_0x48d846=_0x1adc68);else{if(_0x20ec47===0x20||_0x20ec47===0x9)_0xbec91c===-0x1&&_0x48d846!==-0x1&&(_0xbec91c=_0x1adc68);else{if(_0x20ec47===0x3b||_0x20ec47===0x2c){if(_0x48d846===-0x1)throw new SyntaxError(_0x3ad4d8(0xec)+_0x1adc68);_0xbec91c===-0x1&&(_0xbec91c=_0x1adc68),_0x73ab37(_0x430ec6,_0x3c7bf4[_0x3ad4d8(0x21e)](_0x48d846,_0xbec91c),!0x0),_0x20ec47===0x2c&&(_0x73ab37(_0x31cf1c,_0x217143,_0x430ec6),_0x430ec6=Object[_0x3ad4d8(0x207)](null),_0x217143=void 0x0),_0x48d846=_0xbec91c=-0x1;}else{if(_0x20ec47===0x3d&&_0x48d846!==-0x1&&_0xbec91c===-0x1)_0x404e43=_0x3c7bf4['slice'](_0x48d846,_0x1adc68),_0x48d846=_0xbec91c=-0x1;else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x1adc68);}}}}else{if(_0x23f9e0){if(_0x4cba83[_0x20ec47]!==0x1)throw new SyntaxError(_0x3ad4d8(0xec)+_0x1adc68);_0x48d846===-0x1?_0x48d846=_0x1adc68:_0x542712||(_0x542712=!0x0),_0x23f9e0=!0x1;}else{if(_0x5daac1){if(_0x4cba83[_0x20ec47]===0x1)_0x48d846===-0x1&&(_0x48d846=_0x1adc68);else{if(_0x20ec47===0x22&&_0x48d846!==-0x1)_0x5daac1=!0x1,_0xbec91c=_0x1adc68;else{if(_0x20ec47===0x5c)_0x23f9e0=!0x0;else throw new SyntaxError(_0x3ad4d8(0xec)+_0x1adc68);}}}else{if(_0x20ec47===0x22&&_0x3c7bf4[_0x3ad4d8(0x1cb)](_0x1adc68-0x1)===0x3d)_0x5daac1=!0x0;else{if(_0xbec91c===-0x1&&_0x4cba83[_0x20ec47]===0x1)_0x48d846===-0x1&&(_0x48d846=_0x1adc68);else{if(_0x48d846!==-0x1&&(_0x20ec47===0x20||_0x20ec47===0x9))_0xbec91c===-0x1&&(_0xbec91c=_0x1adc68);else{if(_0x20ec47===0x3b||_0x20ec47===0x2c){if(_0x48d846===-0x1)throw new SyntaxError(_0x3ad4d8(0xec)+_0x1adc68);_0xbec91c===-0x1&&(_0xbec91c=_0x1adc68);let _0x1502ce=_0x3c7bf4[_0x3ad4d8(0x21e)](_0x48d846,_0xbec91c);_0x542712&&(_0x1502ce=_0x1502ce[_0x3ad4d8(0x171)](/\\/g,''),_0x542712=!0x1),_0x73ab37(_0x430ec6,_0x404e43,_0x1502ce),_0x20ec47===0x2c&&(_0x73ab37(_0x31cf1c,_0x217143,_0x430ec6),_0x430ec6=Object[_0x3ad4d8(0x207)](null),_0x217143=void 0x0),_0x404e43=void 0x0,_0x48d846=_0xbec91c=-0x1;}else throw new SyntaxError(_0x3ad4d8(0xec)+_0x1adc68);}}}}}}}if(_0x48d846===-0x1||_0x5daac1||_0x20ec47===0x20||_0x20ec47===0x9)throw new SyntaxError(_0x3ad4d8(0x92));_0xbec91c===-0x1&&(_0xbec91c=_0x1adc68);const _0x2d1100=_0x3c7bf4['slice'](_0x48d846,_0xbec91c);return _0x217143===void 0x0?_0x73ab37(_0x31cf1c,_0x2d1100,_0x430ec6):(_0x404e43===void 0x0?_0x73ab37(_0x430ec6,_0x2d1100,!0x0):_0x542712?_0x73ab37(_0x430ec6,_0x404e43,_0x2d1100['replace'](/\\/g,'')):_0x73ab37(_0x430ec6,_0x404e43,_0x2d1100),_0x73ab37(_0x31cf1c,_0x217143,_0x430ec6)),_0x31cf1c;}function _0x13e3fb(_0x160fc5){const _0x39fe28=_0x2e1c;return Object[_0x39fe28(0x8b)](_0x160fc5)[_0x39fe28(0xf9)](_0x4831eb=>{const _0x34703a=_0x39fe28;let _0x1b0db3=_0x160fc5[_0x4831eb];return Array[_0x34703a(0xc1)](_0x1b0db3)||(_0x1b0db3=[_0x1b0db3]),_0x1b0db3[_0x34703a(0xf9)](_0x35f494=>[_0x4831eb][_0x34703a(0x1ec)](Object[_0x34703a(0x8b)](_0x35f494)[_0x34703a(0xf9)](_0x43571b=>{const _0x10d835=_0x34703a;let _0xc50525=_0x35f494[_0x43571b];return Array[_0x10d835(0xc1)](_0xc50525)||(_0xc50525=[_0xc50525]),_0xc50525['map'](_0x2e1867=>_0x2e1867===!0x0?_0x43571b:_0x43571b+'='+_0x2e1867)[_0x10d835(0x82)](';\x20');}))[_0x34703a(0x82)](';\x20'))[_0x34703a(0x82)](',\x20');})[_0x39fe28(0x82)](',\x20');}return be={'format':_0x13e3fb,'parse':_0x4d8d1a},be;}var we,Je;function Pe(){const _0x2f87d3=_0x105f75;if(Je)return we;Je=0x1;const _0x3c1ccd=nt,_0x495829=vt,_0x4224bf=ot,_0xfb4a9b=St,_0x3af5aa=Et,{randomBytes:_0x14563f,createHash:_0x370225}=Le,{Duplex:_0x193c9f,Readable:_0x142dfb}=oe,{URL:_0x6f67c7}=xt,_0x3084e1=he(),_0x1acb17=lt(),_0x108ec7=ft(),{isBlob:_0xae8325}=ae(),{BINARY_TYPES:_0x30574c,EMPTY_BUFFER:_0x221cd4,GUID:_0x330e23,kForOnEventAttribute:_0xe3a5a7,kListener:_0x2d4b36,kStatusCode:_0x471345,kWebSocket:_0x28c110,NOOP:_0x2e6f64}=H(),{EventTarget:{addEventListener:_0x5b17f1,removeEventListener:_0x138efb}}=It(),{format:_0x5e0261,parse:_0x2e3457}=ct(),{toBuffer:_0x2b1c55}=ce(),_0x48edcc=0x1e*0x3e8,_0x4775f9=Symbol(_0x2f87d3(0x226)),_0x124619=[0x8,0xd],_0x38e41b=[_0x2f87d3(0x1e1),_0x2f87d3(0x12d),_0x2f87d3(0x224),_0x2f87d3(0x212)],_0x30e8ac=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class _0x361d0a extends _0x3c1ccd{constructor(_0x10fb1b,_0x236101,_0x112485){const _0x11e553=_0x2f87d3;super(),this[_0x11e553(0x241)]=_0x30574c[0x0],this[_0x11e553(0xb8)]=0x3ee,this[_0x11e553(0x155)]=!0x1,this[_0x11e553(0x136)]=!0x1,this[_0x11e553(0xe0)]=_0x221cd4,this[_0x11e553(0x1d1)]=null,this[_0x11e553(0x13d)]=!0x1,this['_extensions']={},this[_0x11e553(0xc8)]=!0x1,this[_0x11e553(0x14d)]='',this[_0x11e553(0x1c2)]=_0x361d0a[_0x11e553(0x1e1)],this['_receiver']=null,this[_0x11e553(0x134)]=null,this[_0x11e553(0x1f5)]=null,_0x10fb1b!==null?(this[_0x11e553(0x1a1)]=0x0,this[_0x11e553(0x119)]=!0x1,this[_0x11e553(0xd9)]=0x0,_0x236101===void 0x0?_0x236101=[]:Array[_0x11e553(0xc1)](_0x236101)||(typeof _0x236101==_0x11e553(0x1bc)&&_0x236101!==null?(_0x112485=_0x236101,_0x236101=[]):_0x236101=[_0x236101]),_0x4b9452(this,_0x10fb1b,_0x236101,_0x112485)):(this[_0x11e553(0x236)]=_0x112485[_0x11e553(0x176)],this[_0x11e553(0x119)]=!0x0);}get[_0x2f87d3(0x18e)](){const _0x48a6da=_0x2f87d3;return this[_0x48a6da(0x241)];}set[_0x2f87d3(0x18e)](_0x102100){const _0xfbbd93=_0x2f87d3;_0x30574c[_0xfbbd93(0x1b1)](_0x102100)&&(this[_0xfbbd93(0x241)]=_0x102100,this['_receiver']&&(this['_receiver']['_binaryType']=_0x102100));}get[_0x2f87d3(0xb7)](){const _0x51741f=_0x2f87d3;return this['_socket']?this['_socket'][_0x51741f(0xb5)][_0x51741f(0xa4)]+this[_0x51741f(0x134)][_0x51741f(0x187)]:this['_bufferedAmount'];}get[_0x2f87d3(0x1c7)](){const _0x25c94f=_0x2f87d3;return Object[_0x25c94f(0x8b)](this['_extensions'])[_0x25c94f(0x82)]();}get[_0x2f87d3(0x148)](){const _0x23ecd4=_0x2f87d3;return this[_0x23ecd4(0xc8)];}get[_0x2f87d3(0x130)](){return null;}get[_0x2f87d3(0xea)](){return null;}get[_0x2f87d3(0x216)](){return null;}get[_0x2f87d3(0x1d2)](){return null;}get[_0x2f87d3(0x200)](){const _0x2096f0=_0x2f87d3;return this[_0x2096f0(0x14d)];}get[_0x2f87d3(0xd4)](){const _0x3b6e7c=_0x2f87d3;return this[_0x3b6e7c(0x1c2)];}get['url'](){const _0x836f69=_0x2f87d3;return this[_0x836f69(0x14f)];}[_0x2f87d3(0x196)](_0x3cf698,_0x9cd292,_0x5d14a9){const _0x4c5c34=_0x2f87d3,_0x20be1e=new _0x1acb17({'allowSynchronousEvents':_0x5d14a9[_0x4c5c34(0x1ab)],'binaryType':this[_0x4c5c34(0x18e)],'extensions':this[_0x4c5c34(0x20d)],'isServer':this[_0x4c5c34(0x119)],'maxPayload':_0x5d14a9[_0x4c5c34(0x1b7)],'skipUTF8Validation':_0x5d14a9['skipUTF8Validation']}),_0x532a58=new _0x108ec7(_0x3cf698,this[_0x4c5c34(0x20d)],_0x5d14a9[_0x4c5c34(0x232)]);this[_0x4c5c34(0x213)]=_0x20be1e,this[_0x4c5c34(0x134)]=_0x532a58,this[_0x4c5c34(0x1f5)]=_0x3cf698,_0x20be1e[_0x28c110]=this,_0x532a58[_0x28c110]=this,_0x3cf698[_0x28c110]=this,_0x20be1e['on'](_0x4c5c34(0x244),_0x262e75),_0x20be1e['on'](_0x4c5c34(0xc2),_0x134187),_0x20be1e['on']('error',_0x45e62f),_0x20be1e['on'](_0x4c5c34(0x16d),_0x4e39b5),_0x20be1e['on'](_0x4c5c34(0x121),_0x2565cb),_0x20be1e['on'](_0x4c5c34(0x18a),_0x295dc9),_0x532a58[_0x4c5c34(0xea)]=_0x5a89df,_0x3cf698[_0x4c5c34(0x154)]&&_0x3cf698[_0x4c5c34(0x154)](0x0),_0x3cf698[_0x4c5c34(0x222)]&&_0x3cf698['setNoDelay'](),_0x9cd292[_0x4c5c34(0xa4)]>0x0&&_0x3cf698[_0x4c5c34(0x107)](_0x9cd292),_0x3cf698['on'](_0x4c5c34(0x9b),_0xe21231),_0x3cf698['on'](_0x4c5c34(0x1d5),_0x3994d8),_0x3cf698['on'](_0x4c5c34(0x19d),_0x5e227d),_0x3cf698['on'](_0x4c5c34(0x1c9),_0x506af7),this[_0x4c5c34(0x1c2)]=_0x361d0a['OPEN'],this[_0x4c5c34(0xe6)](_0x4c5c34(0xef));}[_0x2f87d3(0x1db)](){const _0x2c3bd7=_0x2f87d3;if(!this[_0x2c3bd7(0x1f5)]){this[_0x2c3bd7(0x1c2)]=_0x361d0a[_0x2c3bd7(0x212)],this['emit'](_0x2c3bd7(0x9b),this[_0x2c3bd7(0xb8)],this[_0x2c3bd7(0xe0)]);return;}this[_0x2c3bd7(0x20d)][_0x3084e1[_0x2c3bd7(0x18b)]]&&this[_0x2c3bd7(0x20d)][_0x3084e1[_0x2c3bd7(0x18b)]][_0x2c3bd7(0x129)](),this[_0x2c3bd7(0x213)][_0x2c3bd7(0x16b)](),this[_0x2c3bd7(0x1c2)]=_0x361d0a[_0x2c3bd7(0x212)],this[_0x2c3bd7(0xe6)](_0x2c3bd7(0x9b),this[_0x2c3bd7(0xb8)],this[_0x2c3bd7(0xe0)]);}[_0x2f87d3(0x9b)](_0x4c2d96,_0x35b23a){const _0x41a483=_0x2f87d3;if(this[_0x41a483(0xd4)]!==_0x361d0a['CLOSED']){if(this[_0x41a483(0xd4)]===_0x361d0a['CONNECTING']){_0x34c8fb(this,this[_0x41a483(0xdf)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}if(this['readyState']===_0x361d0a[_0x41a483(0x224)]){this[_0x41a483(0x136)]&&(this[_0x41a483(0x155)]||this[_0x41a483(0x213)][_0x41a483(0xb5)]['errorEmitted'])&&this['_socket'][_0x41a483(0x19d)]();return;}this[_0x41a483(0x1c2)]=_0x361d0a['CLOSING'],this['_sender'][_0x41a483(0x9b)](_0x4c2d96,_0x35b23a,!this[_0x41a483(0x119)],_0x4451b4=>{const _0x638b01=_0x41a483;_0x4451b4||(this['_closeFrameSent']=!0x0,(this[_0x638b01(0x155)]||this['_receiver']['_writableState'][_0x638b01(0x177)])&&this[_0x638b01(0x1f5)][_0x638b01(0x19d)]());}),_0x4c58af(this);}}[_0x2f87d3(0x147)](){const _0x365b4a=_0x2f87d3;this[_0x365b4a(0xd4)]===_0x361d0a[_0x365b4a(0x1e1)]||this[_0x365b4a(0xd4)]===_0x361d0a[_0x365b4a(0x212)]||(this['_paused']=!0x0,this['_socket'][_0x365b4a(0x147)]());}[_0x2f87d3(0x121)](_0x37c884,_0x50c38c,_0x4870ea){const _0x487369=_0x2f87d3;if(this[_0x487369(0xd4)]===_0x361d0a[_0x487369(0x1e1)])throw new Error(_0x487369(0x218));if(typeof _0x37c884==_0x487369(0x10f)?(_0x4870ea=_0x37c884,_0x37c884=_0x50c38c=void 0x0):typeof _0x50c38c==_0x487369(0x10f)&&(_0x4870ea=_0x50c38c,_0x50c38c=void 0x0),typeof _0x37c884==_0x487369(0x87)&&(_0x37c884=_0x37c884[_0x487369(0x81)]()),this[_0x487369(0xd4)]!==_0x361d0a[_0x487369(0x12d)]){_0xd3a7a3(this,_0x37c884,_0x4870ea);return;}_0x50c38c===void 0x0&&(_0x50c38c=!this[_0x487369(0x119)]),this[_0x487369(0x134)][_0x487369(0x121)](_0x37c884||_0x221cd4,_0x50c38c,_0x4870ea);}[_0x2f87d3(0x18a)](_0x929936,_0x55892b,_0x1dacb1){const _0x3b5c2f=_0x2f87d3;if(this['readyState']===_0x361d0a[_0x3b5c2f(0x1e1)])throw new Error('WebSocket\x20is\x20not\x20open:\x20readyState\x200\x20(CONNECTING)');if(typeof _0x929936==_0x3b5c2f(0x10f)?(_0x1dacb1=_0x929936,_0x929936=_0x55892b=void 0x0):typeof _0x55892b==_0x3b5c2f(0x10f)&&(_0x1dacb1=_0x55892b,_0x55892b=void 0x0),typeof _0x929936==_0x3b5c2f(0x87)&&(_0x929936=_0x929936[_0x3b5c2f(0x81)]()),this[_0x3b5c2f(0xd4)]!==_0x361d0a[_0x3b5c2f(0x12d)]){_0xd3a7a3(this,_0x929936,_0x1dacb1);return;}_0x55892b===void 0x0&&(_0x55892b=!this[_0x3b5c2f(0x119)]),this['_sender'][_0x3b5c2f(0x18a)](_0x929936||_0x221cd4,_0x55892b,_0x1dacb1);}[_0x2f87d3(0x21b)](){const _0x136100=_0x2f87d3;this['readyState']===_0x361d0a[_0x136100(0x1e1)]||this[_0x136100(0xd4)]===_0x361d0a[_0x136100(0x212)]||(this[_0x136100(0xc8)]=!0x1,this[_0x136100(0x213)][_0x136100(0xb5)][_0x136100(0x219)]||this[_0x136100(0x1f5)][_0x136100(0x21b)]());}[_0x2f87d3(0x247)](_0x35e60b,_0x421f4e,_0x8f61e){const _0xbd2757=_0x2f87d3;if(this[_0xbd2757(0xd4)]===_0x361d0a[_0xbd2757(0x1e1)])throw new Error(_0xbd2757(0x218));if(typeof _0x421f4e==_0xbd2757(0x10f)&&(_0x8f61e=_0x421f4e,_0x421f4e={}),typeof _0x35e60b==_0xbd2757(0x87)&&(_0x35e60b=_0x35e60b[_0xbd2757(0x81)]()),this['readyState']!==_0x361d0a[_0xbd2757(0x12d)]){_0xd3a7a3(this,_0x35e60b,_0x8f61e);return;}const _0x8625b0={'binary':typeof _0x35e60b!='string','mask':!this[_0xbd2757(0x119)],'compress':!0x0,'fin':!0x0,..._0x421f4e};this[_0xbd2757(0x20d)][_0x3084e1[_0xbd2757(0x18b)]]||(_0x8625b0[_0xbd2757(0x202)]=!0x1),this[_0xbd2757(0x134)][_0xbd2757(0x247)](_0x35e60b||_0x221cd4,_0x8625b0,_0x8f61e);}[_0x2f87d3(0x1a7)](){const _0x26c25c=_0x2f87d3;if(this[_0x26c25c(0xd4)]!==_0x361d0a['CLOSED']){if(this[_0x26c25c(0xd4)]===_0x361d0a[_0x26c25c(0x1e1)]){_0x34c8fb(this,this[_0x26c25c(0xdf)],'WebSocket\x20was\x20closed\x20before\x20the\x20connection\x20was\x20established');return;}this[_0x26c25c(0x1f5)]&&(this[_0x26c25c(0x1c2)]=_0x361d0a[_0x26c25c(0x224)],this[_0x26c25c(0x1f5)][_0x26c25c(0xfb)]());}}}Object[_0x2f87d3(0x20a)](_0x361d0a,_0x2f87d3(0x1e1),{'enumerable':!0x0,'value':_0x38e41b[_0x2f87d3(0x1ea)](_0x2f87d3(0x1e1))}),Object[_0x2f87d3(0x20a)](_0x361d0a[_0x2f87d3(0x15a)],_0x2f87d3(0x1e1),{'enumerable':!0x0,'value':_0x38e41b[_0x2f87d3(0x1ea)](_0x2f87d3(0x1e1))}),Object['defineProperty'](_0x361d0a,_0x2f87d3(0x12d),{'enumerable':!0x0,'value':_0x38e41b[_0x2f87d3(0x1ea)](_0x2f87d3(0x12d))}),Object['defineProperty'](_0x361d0a[_0x2f87d3(0x15a)],_0x2f87d3(0x12d),{'enumerable':!0x0,'value':_0x38e41b['indexOf'](_0x2f87d3(0x12d))}),Object[_0x2f87d3(0x20a)](_0x361d0a,_0x2f87d3(0x224),{'enumerable':!0x0,'value':_0x38e41b[_0x2f87d3(0x1ea)](_0x2f87d3(0x224))}),Object[_0x2f87d3(0x20a)](_0x361d0a[_0x2f87d3(0x15a)],_0x2f87d3(0x224),{'enumerable':!0x0,'value':_0x38e41b[_0x2f87d3(0x1ea)]('CLOSING')}),Object[_0x2f87d3(0x20a)](_0x361d0a,'CLOSED',{'enumerable':!0x0,'value':_0x38e41b[_0x2f87d3(0x1ea)](_0x2f87d3(0x212))}),Object[_0x2f87d3(0x20a)](_0x361d0a[_0x2f87d3(0x15a)],_0x2f87d3(0x212),{'enumerable':!0x0,'value':_0x38e41b[_0x2f87d3(0x1ea)](_0x2f87d3(0x212))}),[_0x2f87d3(0x18e),_0x2f87d3(0xb7),'extensions',_0x2f87d3(0x148),_0x2f87d3(0x200),_0x2f87d3(0xd4),_0x2f87d3(0x173)][_0x2f87d3(0x10d)](_0x4a4202=>{const _0x134a80=_0x2f87d3;Object[_0x134a80(0x20a)](_0x361d0a[_0x134a80(0x15a)],_0x4a4202,{'enumerable':!0x0});}),[_0x2f87d3(0xef),_0x2f87d3(0x1c9),'close','message']['forEach'](_0x5850f1=>{const _0x2f5f9a=_0x2f87d3;Object[_0x2f5f9a(0x20a)](_0x361d0a['prototype'],'on'+_0x5850f1,{'enumerable':!0x0,'get'(){for(const _0x278910 of this['listeners'](_0x5850f1))if(_0x278910[_0xe3a5a7])return _0x278910[_0x2d4b36];return null;},'set'(_0x51362b){const _0xc9470=_0x2f5f9a;for(const _0x2d09c7 of this[_0xc9470(0x8c)](_0x5850f1))if(_0x2d09c7[_0xe3a5a7]){this[_0xc9470(0x193)](_0x5850f1,_0x2d09c7);break;}typeof _0x51362b==_0xc9470(0x10f)&&this[_0xc9470(0x9c)](_0x5850f1,_0x51362b,{[_0xe3a5a7]:!0x0});}});}),_0x361d0a[_0x2f87d3(0x15a)][_0x2f87d3(0x9c)]=_0x5b17f1,_0x361d0a[_0x2f87d3(0x15a)][_0x2f87d3(0x123)]=_0x138efb,we=_0x361d0a;function _0x4b9452(_0x502187,_0x32f25d,_0x80e6da,_0x2bc643){const _0x5eddac=_0x2f87d3,_0x54dfcf={'allowSynchronousEvents':!0x0,'autoPong':!0x0,'protocolVersion':_0x124619[0x1],'maxPayload':0x6400000,'skipUTF8Validation':!0x1,'perMessageDeflate':!0x0,'followRedirects':!0x1,'maxRedirects':0xa,..._0x2bc643,'socketPath':void 0x0,'hostname':void 0x0,'protocol':void 0x0,'timeout':void 0x0,'method':'GET','host':void 0x0,'path':void 0x0,'port':void 0x0};if(_0x502187[_0x5eddac(0x236)]=_0x54dfcf[_0x5eddac(0x176)],!_0x124619[_0x5eddac(0x1b1)](_0x54dfcf[_0x5eddac(0x230)]))throw new RangeError('Unsupported\x20protocol\x20version:\x20'+_0x54dfcf[_0x5eddac(0x230)]+'\x20(supported\x20versions:\x20'+_0x124619['join'](',\x20')+')');let _0x1097c6;if(_0x32f25d instanceof _0x6f67c7)_0x1097c6=_0x32f25d;else try{_0x1097c6=new _0x6f67c7(_0x32f25d);}catch{throw new SyntaxError(_0x5eddac(0xf5)+_0x32f25d);}_0x1097c6['protocol']===_0x5eddac(0x1f4)?_0x1097c6[_0x5eddac(0x200)]=_0x5eddac(0x239):_0x1097c6[_0x5eddac(0x200)]===_0x5eddac(0x10a)&&(_0x1097c6[_0x5eddac(0x200)]=_0x5eddac(0x1d6)),_0x502187[_0x5eddac(0x14f)]=_0x1097c6[_0x5eddac(0x133)];const _0x15d47c=_0x1097c6[_0x5eddac(0x200)]===_0x5eddac(0x1d6),_0x1943e8=_0x1097c6[_0x5eddac(0x200)]===_0x5eddac(0x19f);let _0x40d582;if(_0x1097c6[_0x5eddac(0x200)]!==_0x5eddac(0x239)&&!_0x15d47c&&!_0x1943e8?_0x40d582=_0x5eddac(0x149):_0x1943e8&&!_0x1097c6[_0x5eddac(0x115)]?_0x40d582=_0x5eddac(0x1e7):_0x1097c6[_0x5eddac(0x1de)]&&(_0x40d582='The\x20URL\x20contains\x20a\x20fragment\x20identifier'),_0x40d582){const _0x1fa1b2=new SyntaxError(_0x40d582);if(_0x502187['_redirects']===0x0)throw _0x1fa1b2;_0x2abba0(_0x502187,_0x1fa1b2);return;}const _0x21c1a3=_0x15d47c?0x1bb:0x50,_0x44cc5a=_0x14563f(0x10)[_0x5eddac(0x81)]('base64'),_0xe60632=_0x15d47c?_0x495829['request']:_0x4224bf[_0x5eddac(0xfd)],_0x4af5cd=new Set();let _0x1b1c36;if(_0x54dfcf[_0x5eddac(0x245)]=_0x54dfcf[_0x5eddac(0x245)]||(_0x15d47c?_0x249dee:_0x4ee7e4),_0x54dfcf[_0x5eddac(0x1b9)]=_0x54dfcf[_0x5eddac(0x1b9)]||_0x21c1a3,_0x54dfcf[_0x5eddac(0xd5)]=_0x1097c6[_0x5eddac(0xd5)]||_0x21c1a3,_0x54dfcf[_0x5eddac(0x22c)]=_0x1097c6[_0x5eddac(0x122)]['startsWith']('[')?_0x1097c6[_0x5eddac(0x122)][_0x5eddac(0x21e)](0x1,-0x1):_0x1097c6[_0x5eddac(0x122)],_0x54dfcf[_0x5eddac(0x1f3)]={..._0x54dfcf[_0x5eddac(0x1f3)],'Sec-WebSocket-Version':_0x54dfcf[_0x5eddac(0x230)],'Sec-WebSocket-Key':_0x44cc5a,'Connection':'Upgrade','Upgrade':_0x5eddac(0xf2)},_0x54dfcf[_0x5eddac(0x102)]=_0x1097c6[_0x5eddac(0x115)]+_0x1097c6[_0x5eddac(0x194)],_0x54dfcf[_0x5eddac(0x233)]=_0x54dfcf[_0x5eddac(0x204)],_0x54dfcf[_0x5eddac(0x1a6)]&&(_0x1b1c36=new _0x3084e1(_0x54dfcf[_0x5eddac(0x1a6)]!==!0x0?_0x54dfcf[_0x5eddac(0x1a6)]:{},!0x1,_0x54dfcf['maxPayload']),_0x54dfcf[_0x5eddac(0x1f3)][_0x5eddac(0x144)]=_0x5e0261({[_0x3084e1[_0x5eddac(0x18b)]]:_0x1b1c36[_0x5eddac(0x1a3)]()})),_0x80e6da[_0x5eddac(0xa4)]){for(const _0x32eda8 of _0x80e6da){if(typeof _0x32eda8!='string'||!_0x30e8ac[_0x5eddac(0x186)](_0x32eda8)||_0x4af5cd[_0x5eddac(0x20e)](_0x32eda8))throw new SyntaxError('An\x20invalid\x20or\x20duplicated\x20subprotocol\x20was\x20specified');_0x4af5cd[_0x5eddac(0xf8)](_0x32eda8);}_0x54dfcf[_0x5eddac(0x1f3)][_0x5eddac(0xdd)]=_0x80e6da[_0x5eddac(0x82)](',');}if(_0x54dfcf['origin']&&(_0x54dfcf[_0x5eddac(0x230)]<0xd?_0x54dfcf['headers']['Sec-WebSocket-Origin']=_0x54dfcf[_0x5eddac(0x14b)]:_0x54dfcf[_0x5eddac(0x1f3)][_0x5eddac(0x120)]=_0x54dfcf[_0x5eddac(0x14b)]),(_0x1097c6[_0x5eddac(0x1b2)]||_0x1097c6['password'])&&(_0x54dfcf[_0x5eddac(0x132)]=_0x1097c6[_0x5eddac(0x1b2)]+':'+_0x1097c6[_0x5eddac(0xfe)]),_0x1943e8){const _0x4d3f10=_0x54dfcf[_0x5eddac(0x102)]['split'](':');_0x54dfcf[_0x5eddac(0x162)]=_0x4d3f10[0x0],_0x54dfcf[_0x5eddac(0x102)]=_0x4d3f10[0x1];}let _0x2c3201;if(_0x54dfcf[_0x5eddac(0xad)]){if(_0x502187[_0x5eddac(0xd9)]===0x0){_0x502187[_0x5eddac(0x179)]=_0x1943e8,_0x502187[_0x5eddac(0x1d3)]=_0x15d47c,_0x502187[_0x5eddac(0x1d8)]=_0x1943e8?_0x54dfcf[_0x5eddac(0x162)]:_0x1097c6[_0x5eddac(0x22c)];const _0x4533f5=_0x2bc643&&_0x2bc643[_0x5eddac(0x1f3)];if(_0x2bc643={..._0x2bc643,'headers':{}},_0x4533f5){for(const [_0x59f5c9,_0x47d66c]of Object[_0x5eddac(0x1bb)](_0x4533f5))_0x2bc643[_0x5eddac(0x1f3)][_0x59f5c9[_0x5eddac(0x17f)]()]=_0x47d66c;}}else{if(_0x502187[_0x5eddac(0xbd)](_0x5eddac(0x1cd))===0x0){const _0x1501eb=_0x1943e8?_0x502187[_0x5eddac(0x179)]?_0x54dfcf['socketPath']===_0x502187['_originalHostOrSocketPath']:!0x1:_0x502187[_0x5eddac(0x179)]?!0x1:_0x1097c6[_0x5eddac(0x22c)]===_0x502187['_originalHostOrSocketPath'];(!_0x1501eb||_0x502187['_originalSecure']&&!_0x15d47c)&&(delete _0x54dfcf['headers'][_0x5eddac(0x170)],delete _0x54dfcf['headers'][_0x5eddac(0xf0)],_0x1501eb||delete _0x54dfcf[_0x5eddac(0x1f3)]['host'],_0x54dfcf['auth']=void 0x0);}}_0x54dfcf[_0x5eddac(0x132)]&&!_0x2bc643[_0x5eddac(0x1f3)][_0x5eddac(0x170)]&&(_0x2bc643[_0x5eddac(0x1f3)]['authorization']=_0x5eddac(0x175)+Buffer[_0x5eddac(0x1c1)](_0x54dfcf['auth'])[_0x5eddac(0x81)](_0x5eddac(0x151))),_0x2c3201=_0x502187[_0x5eddac(0xdf)]=_0xe60632(_0x54dfcf),_0x502187[_0x5eddac(0xd9)]&&_0x502187[_0x5eddac(0xe6)](_0x5eddac(0x1cd),_0x502187[_0x5eddac(0x173)],_0x2c3201);}else _0x2c3201=_0x502187[_0x5eddac(0xdf)]=_0xe60632(_0x54dfcf);_0x54dfcf[_0x5eddac(0x233)]&&_0x2c3201['on'](_0x5eddac(0x233),()=>{_0x34c8fb(_0x502187,_0x2c3201,'Opening\x20handshake\x20has\x20timed\x20out');}),_0x2c3201['on'](_0x5eddac(0x1c9),_0x39a154=>{const _0x17e489=_0x5eddac;_0x2c3201===null||_0x2c3201[_0x4775f9]||(_0x2c3201=_0x502187[_0x17e489(0xdf)]=null,_0x2abba0(_0x502187,_0x39a154));}),_0x2c3201['on']('response',_0x180582=>{const _0x3990d9=_0x5eddac,_0x53764f=_0x180582['headers'][_0x3990d9(0x198)],_0x37d486=_0x180582[_0x3990d9(0x18d)];if(_0x53764f&&_0x54dfcf[_0x3990d9(0xad)]&&_0x37d486>=0x12c&&_0x37d486<0x190){if(++_0x502187[_0x3990d9(0xd9)]>_0x54dfcf[_0x3990d9(0x17c)]){_0x34c8fb(_0x502187,_0x2c3201,_0x3990d9(0xd7));return;}_0x2c3201[_0x3990d9(0x20c)]();let _0x5a5ba1;try{_0x5a5ba1=new _0x6f67c7(_0x53764f,_0x32f25d);}catch{const _0x8440e4=new SyntaxError(_0x3990d9(0xf5)+_0x53764f);_0x2abba0(_0x502187,_0x8440e4);return;}_0x4b9452(_0x502187,_0x5a5ba1,_0x80e6da,_0x2bc643);}else _0x502187[_0x3990d9(0xe6)](_0x3990d9(0xbe),_0x2c3201,_0x180582)||_0x34c8fb(_0x502187,_0x2c3201,_0x3990d9(0x21c)+_0x180582[_0x3990d9(0x18d)]);}),_0x2c3201['on'](_0x5eddac(0x223),(_0x3c36b3,_0x548cd6,_0x2c65e9)=>{const _0x2bee6f=_0x5eddac;if(_0x502187['emit']('upgrade',_0x3c36b3),_0x502187[_0x2bee6f(0xd4)]!==_0x361d0a[_0x2bee6f(0x1e1)])return;_0x2c3201=_0x502187['_req']=null;const _0x31c7e0=_0x3c36b3[_0x2bee6f(0x1f3)][_0x2bee6f(0x223)];if(_0x31c7e0===void 0x0||_0x31c7e0['toLowerCase']()!==_0x2bee6f(0xf2)){_0x34c8fb(_0x502187,_0x548cd6,_0x2bee6f(0x83));return;}const _0x1a3bb2=_0x370225(_0x2bee6f(0x109))['update'](_0x44cc5a+_0x330e23)[_0x2bee6f(0x1f9)](_0x2bee6f(0x151));if(_0x3c36b3[_0x2bee6f(0x1f3)][_0x2bee6f(0x101)]!==_0x1a3bb2){_0x34c8fb(_0x502187,_0x548cd6,_0x2bee6f(0x21d));return;}const _0x279ae5=_0x3c36b3[_0x2bee6f(0x1f3)][_0x2bee6f(0xb3)];let _0x264e75;if(_0x279ae5!==void 0x0?_0x4af5cd[_0x2bee6f(0x88)]?_0x4af5cd['has'](_0x279ae5)||(_0x264e75=_0x2bee6f(0xa7)):_0x264e75='Server\x20sent\x20a\x20subprotocol\x20but\x20none\x20was\x20requested':_0x4af5cd[_0x2bee6f(0x88)]&&(_0x264e75='Server\x20sent\x20no\x20subprotocol'),_0x264e75){_0x34c8fb(_0x502187,_0x548cd6,_0x264e75);return;}_0x279ae5&&(_0x502187[_0x2bee6f(0x14d)]=_0x279ae5);const _0x10a3d0=_0x3c36b3[_0x2bee6f(0x1f3)][_0x2bee6f(0xf4)];if(_0x10a3d0!==void 0x0){if(!_0x1b1c36){_0x34c8fb(_0x502187,_0x548cd6,'Server\x20sent\x20a\x20Sec-WebSocket-Extensions\x20header\x20but\x20no\x20extension\x20was\x20requested');return;}let _0x1d1eb7;try{_0x1d1eb7=_0x2e3457(_0x10a3d0);}catch{_0x34c8fb(_0x502187,_0x548cd6,_0x2bee6f(0x22b));return;}const _0x5ab8a4=Object[_0x2bee6f(0x8b)](_0x1d1eb7);if(_0x5ab8a4['length']!==0x1||_0x5ab8a4[0x0]!==_0x3084e1[_0x2bee6f(0x18b)]){_0x34c8fb(_0x502187,_0x548cd6,_0x2bee6f(0xe4));return;}try{_0x1b1c36['accept'](_0x1d1eb7[_0x3084e1[_0x2bee6f(0x18b)]]);}catch{_0x34c8fb(_0x502187,_0x548cd6,_0x2bee6f(0x22b));return;}_0x502187[_0x2bee6f(0x20d)][_0x3084e1[_0x2bee6f(0x18b)]]=_0x1b1c36;}_0x502187[_0x2bee6f(0x196)](_0x548cd6,_0x2c65e9,{'allowSynchronousEvents':_0x54dfcf['allowSynchronousEvents'],'generateMask':_0x54dfcf[_0x2bee6f(0x232)],'maxPayload':_0x54dfcf[_0x2bee6f(0x1b7)],'skipUTF8Validation':_0x54dfcf[_0x2bee6f(0x16e)]});}),_0x54dfcf[_0x5eddac(0xac)]?_0x54dfcf[_0x5eddac(0xac)](_0x2c3201,_0x502187):_0x2c3201[_0x5eddac(0x19d)]();}function _0x2abba0(_0x558ed3,_0x3a8960){const _0x303053=_0x2f87d3;_0x558ed3['_readyState']=_0x361d0a['CLOSING'],_0x558ed3['_errorEmitted']=!0x0,_0x558ed3[_0x303053(0xe6)]('error',_0x3a8960),_0x558ed3[_0x303053(0x1db)]();}function _0x4ee7e4(_0x4656d5){const _0x378675=_0x2f87d3;return _0x4656d5[_0x378675(0x102)]=_0x4656d5['socketPath'],_0xfb4a9b[_0x378675(0x1ef)](_0x4656d5);}function _0x249dee(_0x5b9a0c){const _0x38e252=_0x2f87d3;return _0x5b9a0c[_0x38e252(0x102)]=void 0x0,!_0x5b9a0c['servername']&&_0x5b9a0c['servername']!==''&&(_0x5b9a0c[_0x38e252(0x23b)]=_0xfb4a9b[_0x38e252(0x240)](_0x5b9a0c[_0x38e252(0x22c)])?'':_0x5b9a0c['host']),_0x3af5aa['connect'](_0x5b9a0c);}function _0x34c8fb(_0x32f463,_0x462b17,_0x14cabc){const _0xe9b2b3=_0x2f87d3;_0x32f463[_0xe9b2b3(0x1c2)]=_0x361d0a['CLOSING'];const _0x445669=new Error(_0x14cabc);Error[_0xe9b2b3(0x1cf)](_0x445669,_0x34c8fb),_0x462b17['setHeader']?(_0x462b17[_0x4775f9]=!0x0,_0x462b17['abort'](),_0x462b17[_0xe9b2b3(0x157)]&&!_0x462b17[_0xe9b2b3(0x157)][_0xe9b2b3(0x197)]&&_0x462b17['socket'][_0xe9b2b3(0xfb)](),process[_0xe9b2b3(0x22d)](_0x2abba0,_0x32f463,_0x445669)):(_0x462b17[_0xe9b2b3(0xfb)](_0x445669),_0x462b17[_0xe9b2b3(0x127)]('error',_0x32f463[_0xe9b2b3(0xe6)][_0xe9b2b3(0x95)](_0x32f463,_0xe9b2b3(0x1c9))),_0x462b17['once'](_0xe9b2b3(0x9b),_0x32f463[_0xe9b2b3(0x1db)]['bind'](_0x32f463)));}function _0xd3a7a3(_0x515556,_0x7a8d2b,_0x563b73){const _0x5379f7=_0x2f87d3;if(_0x7a8d2b){const _0x5d4c3f=_0xae8325(_0x7a8d2b)?_0x7a8d2b[_0x5379f7(0x88)]:_0x2b1c55(_0x7a8d2b)[_0x5379f7(0xa4)];_0x515556[_0x5379f7(0x1f5)]?_0x515556[_0x5379f7(0x134)]['_bufferedBytes']+=_0x5d4c3f:_0x515556[_0x5379f7(0x1a1)]+=_0x5d4c3f;}if(_0x563b73){const _0x26d721=new Error(_0x5379f7(0x19c)+_0x515556[_0x5379f7(0xd4)]+'\x20('+_0x38e41b[_0x515556[_0x5379f7(0xd4)]]+')');process[_0x5379f7(0x22d)](_0x563b73,_0x26d721);}}function _0x262e75(_0x444cf4,_0x201a7c){const _0x59cb65=_0x2f87d3,_0x4cfca4=this[_0x28c110];_0x4cfca4[_0x59cb65(0x155)]=!0x0,_0x4cfca4[_0x59cb65(0xe0)]=_0x201a7c,_0x4cfca4['_closeCode']=_0x444cf4,_0x4cfca4[_0x59cb65(0x1f5)][_0x28c110]!==void 0x0&&(_0x4cfca4['_socket'][_0x59cb65(0x193)](_0x59cb65(0x1d5),_0x3994d8),process[_0x59cb65(0x22d)](_0x52d1e5,_0x4cfca4[_0x59cb65(0x1f5)]),_0x444cf4===0x3ed?_0x4cfca4['close']():_0x4cfca4[_0x59cb65(0x9b)](_0x444cf4,_0x201a7c));}function _0x134187(){const _0x258b7f=_0x2f87d3,_0x4cf1b9=this[_0x28c110];_0x4cf1b9[_0x258b7f(0x148)]||_0x4cf1b9['_socket'][_0x258b7f(0x21b)]();}function _0x45e62f(_0x36aa7c){const _0x2b1c33=_0x2f87d3,_0x2c0c2a=this[_0x28c110];_0x2c0c2a[_0x2b1c33(0x1f5)][_0x28c110]!==void 0x0&&(_0x2c0c2a[_0x2b1c33(0x1f5)][_0x2b1c33(0x193)](_0x2b1c33(0x1d5),_0x3994d8),process[_0x2b1c33(0x22d)](_0x52d1e5,_0x2c0c2a[_0x2b1c33(0x1f5)]),_0x2c0c2a[_0x2b1c33(0x9b)](_0x36aa7c[_0x471345])),_0x2c0c2a[_0x2b1c33(0x13d)]||(_0x2c0c2a['_errorEmitted']=!0x0,_0x2c0c2a[_0x2b1c33(0xe6)](_0x2b1c33(0x1c9),_0x36aa7c));}function _0x3ce2a5(){const _0x2fe6e3=_0x2f87d3;this[_0x28c110][_0x2fe6e3(0x1db)]();}function _0x4e39b5(_0x46ab2b,_0x23d656){const _0x478d18=_0x2f87d3;this[_0x28c110][_0x478d18(0xe6)](_0x478d18(0x16d),_0x46ab2b,_0x23d656);}function _0x2565cb(_0x32d8a1){const _0x343753=_0x2f87d3,_0x15428a=this[_0x28c110];_0x15428a['_autoPong']&&_0x15428a[_0x343753(0x18a)](_0x32d8a1,!this['_isServer'],_0x2e6f64),_0x15428a[_0x343753(0xe6)]('ping',_0x32d8a1);}function _0x295dc9(_0x3a4cf5){const _0x48b05b=_0x2f87d3;this[_0x28c110][_0x48b05b(0xe6)](_0x48b05b(0x18a),_0x3a4cf5);}function _0x52d1e5(_0x1bd489){const _0x4c2612=_0x2f87d3;_0x1bd489[_0x4c2612(0x21b)]();}function _0x5a89df(_0x40d75d){const _0x58caf5=_0x2f87d3,_0xdcc37f=this[_0x28c110];_0xdcc37f['readyState']!==_0x361d0a[_0x58caf5(0x212)]&&(_0xdcc37f[_0x58caf5(0xd4)]===_0x361d0a[_0x58caf5(0x12d)]&&(_0xdcc37f[_0x58caf5(0x1c2)]=_0x361d0a[_0x58caf5(0x224)],_0x4c58af(_0xdcc37f)),this[_0x58caf5(0x1f5)][_0x58caf5(0x19d)](),_0xdcc37f['_errorEmitted']||(_0xdcc37f[_0x58caf5(0x13d)]=!0x0,_0xdcc37f[_0x58caf5(0xe6)](_0x58caf5(0x1c9),_0x40d75d)));}function _0x4c58af(_0x428cb0){const _0x1ac4b3=_0x2f87d3;_0x428cb0['_closeTimer']=setTimeout(_0x428cb0[_0x1ac4b3(0x1f5)][_0x1ac4b3(0xfb)]['bind'](_0x428cb0['_socket']),_0x48edcc);}function _0xe21231(){const _0x44e02e=_0x2f87d3,_0x458fa7=this[_0x28c110];this[_0x44e02e(0x193)]('close',_0xe21231),this['removeListener']('data',_0x3994d8),this[_0x44e02e(0x193)]('end',_0x5e227d),_0x458fa7['_readyState']=_0x361d0a[_0x44e02e(0x224)];let _0x5da21f;!this[_0x44e02e(0x1a9)][_0x44e02e(0xaa)]&&!_0x458fa7[_0x44e02e(0x155)]&&!_0x458fa7[_0x44e02e(0x213)][_0x44e02e(0xb5)][_0x44e02e(0x177)]&&(_0x5da21f=_0x458fa7[_0x44e02e(0x1f5)]['read']())!==null&&_0x458fa7[_0x44e02e(0x213)][_0x44e02e(0x21a)](_0x5da21f),_0x458fa7[_0x44e02e(0x213)][_0x44e02e(0x19d)](),this[_0x28c110]=void 0x0,clearTimeout(_0x458fa7['_closeTimer']),_0x458fa7[_0x44e02e(0x213)][_0x44e02e(0xb5)][_0x44e02e(0xbf)]||_0x458fa7[_0x44e02e(0x213)][_0x44e02e(0xb5)]['errorEmitted']?_0x458fa7[_0x44e02e(0x1db)]():(_0x458fa7['_receiver']['on'](_0x44e02e(0x1c9),_0x3ce2a5),_0x458fa7[_0x44e02e(0x213)]['on'](_0x44e02e(0x1df),_0x3ce2a5));}function _0x3994d8(_0x5ea62d){const _0x240d35=_0x2f87d3;this[_0x28c110]['_receiver'][_0x240d35(0x21a)](_0x5ea62d)||this['pause']();}function _0x5e227d(){const _0x4ca1ac=_0x2f87d3,_0x2f0b71=this[_0x28c110];_0x2f0b71['_readyState']=_0x361d0a[_0x4ca1ac(0x224)],_0x2f0b71[_0x4ca1ac(0x213)][_0x4ca1ac(0x19d)](),this[_0x4ca1ac(0x19d)]();}function _0x506af7(){const _0x2e55b6=_0x2f87d3,_0x216d4d=this[_0x28c110];this['removeListener'](_0x2e55b6(0x1c9),_0x506af7),this['on']('error',_0x2e6f64),_0x216d4d&&(_0x216d4d['_readyState']=_0x361d0a['CLOSING'],this[_0x2e55b6(0xfb)]());}return we;}var Oe,et;function Ut(){if(et)return Oe;et=0x1,Pe();const {Duplex:_0x39bfd8}=oe;function _0x1ab338(_0x3490ed){const _0x37351b=_0x2e1c;_0x3490ed['emit'](_0x37351b(0x9b));}function _0x5a35dd(){const _0x4b9a1d=_0x2e1c;!this[_0x4b9a1d(0x197)]&&this['_writableState']['finished']&&this['destroy']();}function _0x2a4469(_0x239de9){const _0x2dfaa2=_0x2e1c;this[_0x2dfaa2(0x193)](_0x2dfaa2(0x1c9),_0x2a4469),this[_0x2dfaa2(0xfb)](),this['listenerCount'](_0x2dfaa2(0x1c9))===0x0&&this['emit'](_0x2dfaa2(0x1c9),_0x239de9);}function _0x22f852(_0x8ab137,_0x138b59){const _0x374876=_0x2e1c;let _0x1988e0=!0x0;const _0x51bd74=new _0x39bfd8({..._0x138b59,'autoDestroy':!0x1,'emitClose':!0x1,'objectMode':!0x1,'writableObjectMode':!0x1});return _0x8ab137['on'](_0x374876(0x16d),function(_0x4372e5,_0x39ce07){const _0x1cc49f=_0x374876,_0x457cde=!_0x39ce07&&_0x51bd74[_0x1cc49f(0x1a9)][_0x1cc49f(0x220)]?_0x4372e5[_0x1cc49f(0x81)]():_0x4372e5;_0x51bd74[_0x1cc49f(0x159)](_0x457cde)||_0x8ab137[_0x1cc49f(0x147)]();}),_0x8ab137[_0x374876(0x127)](_0x374876(0x1c9),function(_0x204c97){const _0x3216c6=_0x374876;_0x51bd74[_0x3216c6(0x197)]||(_0x1988e0=!0x1,_0x51bd74[_0x3216c6(0xfb)](_0x204c97));}),_0x8ab137['once'](_0x374876(0x9b),function(){const _0x82e2ef=_0x374876;_0x51bd74[_0x82e2ef(0x197)]||_0x51bd74[_0x82e2ef(0x159)](null);}),_0x51bd74[_0x374876(0x15b)]=function(_0xf4e80b,_0xf936f5){const _0x2656b7=_0x374876;if(_0x8ab137[_0x2656b7(0xd4)]===_0x8ab137['CLOSED']){_0xf936f5(_0xf4e80b),process[_0x2656b7(0x22d)](_0x1ab338,_0x51bd74);return;}let _0x150939=!0x1;_0x8ab137[_0x2656b7(0x127)](_0x2656b7(0x1c9),function(_0x18c04b){_0x150939=!0x0,_0xf936f5(_0x18c04b);}),_0x8ab137[_0x2656b7(0x127)]('close',function(){const _0x22eeab=_0x2656b7;_0x150939||_0xf936f5(_0xf4e80b),process[_0x22eeab(0x22d)](_0x1ab338,_0x51bd74);}),_0x1988e0&&_0x8ab137['terminate']();},_0x51bd74[_0x374876(0x152)]=function(_0x2258f9){const _0x52ff0b=_0x374876;if(_0x8ab137['readyState']===_0x8ab137[_0x52ff0b(0x1e1)]){_0x8ab137['once']('open',function(){_0x51bd74['_final'](_0x2258f9);});return;}_0x8ab137[_0x52ff0b(0x1f5)]!==null&&(_0x8ab137[_0x52ff0b(0x1f5)][_0x52ff0b(0xb5)]['finished']?(_0x2258f9(),_0x51bd74['_readableState']['endEmitted']&&_0x51bd74[_0x52ff0b(0xfb)]()):(_0x8ab137['_socket'][_0x52ff0b(0x127)](_0x52ff0b(0x1df),function(){_0x2258f9();}),_0x8ab137[_0x52ff0b(0x9b)]()));},_0x51bd74['_read']=function(){const _0x1187ea=_0x374876;_0x8ab137['isPaused']&&_0x8ab137[_0x1187ea(0x21b)]();},_0x51bd74[_0x374876(0x18f)]=function(_0x290109,_0x1240a9,_0x10610f){const _0x235f60=_0x374876;if(_0x8ab137[_0x235f60(0xd4)]===_0x8ab137['CONNECTING']){_0x8ab137[_0x235f60(0x127)](_0x235f60(0xef),function(){const _0x217ef2=_0x235f60;_0x51bd74[_0x217ef2(0x18f)](_0x290109,_0x1240a9,_0x10610f);});return;}_0x8ab137['send'](_0x290109,_0x10610f);},_0x51bd74['on'](_0x374876(0x19d),_0x5a35dd),_0x51bd74['on'](_0x374876(0x1c9),_0x2a4469),_0x51bd74;}return Oe=_0x22f852,Oe;}Ut(),lt(),ft();var Mt=Pe();function _0x2e1c(_0x58949b,_0x3f8b50){const _0x1a16cc=_0x1a16();return _0x2e1c=function(_0x2e1cbc,_0x3bc197){_0x2e1cbc=_0x2e1cbc-0x7d;let _0x3cf96b=_0x1a16cc[_0x2e1cbc];return _0x3cf96b;},_0x2e1c(_0x58949b,_0x3f8b50);}const $t=Tt(Mt);var Ce,tt;function At(){if(tt)return Ce;tt=0x1;const {tokenChars:_0x464631}=ae();function _0x4707db(_0x1b3e49){const _0x679ecc=_0x2e1c,_0x3626a1=new Set();let _0x7b76cd=-0x1,_0x7a8fd0=-0x1,_0x824b0d=0x0;for(_0x824b0d;_0x824b0d<_0x1b3e49[_0x679ecc(0xa4)];_0x824b0d++){const _0x31e5b5=_0x1b3e49[_0x679ecc(0x1cb)](_0x824b0d);if(_0x7a8fd0===-0x1&&_0x464631[_0x31e5b5]===0x1)_0x7b76cd===-0x1&&(_0x7b76cd=_0x824b0d);else{if(_0x824b0d!==0x0&&(_0x31e5b5===0x20||_0x31e5b5===0x9))_0x7a8fd0===-0x1&&_0x7b76cd!==-0x1&&(_0x7a8fd0=_0x824b0d);else{if(_0x31e5b5===0x2c){if(_0x7b76cd===-0x1)throw new SyntaxError(_0x679ecc(0xec)+_0x824b0d);_0x7a8fd0===-0x1&&(_0x7a8fd0=_0x824b0d);const _0x12bc65=_0x1b3e49[_0x679ecc(0x21e)](_0x7b76cd,_0x7a8fd0);if(_0x3626a1[_0x679ecc(0x20e)](_0x12bc65))throw new SyntaxError('The\x20\x22'+_0x12bc65+_0x679ecc(0x7f));_0x3626a1[_0x679ecc(0xf8)](_0x12bc65),_0x7b76cd=_0x7a8fd0=-0x1;}else throw new SyntaxError('Unexpected\x20character\x20at\x20index\x20'+_0x824b0d);}}}if(_0x7b76cd===-0x1||_0x7a8fd0!==-0x1)throw new SyntaxError('Unexpected\x20end\x20of\x20input');const _0x7888ae=_0x1b3e49[_0x679ecc(0x21e)](_0x7b76cd,_0x824b0d);if(_0x3626a1[_0x679ecc(0x20e)](_0x7888ae))throw new SyntaxError('The\x20\x22'+_0x7888ae+_0x679ecc(0x7f));return _0x3626a1['add'](_0x7888ae),_0x3626a1;}return Ce={'parse':_0x4707db},Ce;}var Te,rt;function Ft(){const _0x9310c6=_0x105f75;if(rt)return Te;rt=0x1;const _0x8075f7=nt,_0x72e505=ot,{Duplex:_0x263838}=oe,{createHash:_0xf785e7}=Le,_0xb22a59=ct(),_0x2249ce=he(),_0x5219d1=At(),_0x14eb8a=Pe(),{GUID:_0x1d7e7e,kWebSocket:_0xb17673}=H(),_0xc5d29c=/^[+/0-9A-Za-z]{22}==$/,_0x44189a=0x0,_0x4af3f0=0x1,_0xf34e42=0x2;class _0x53d9fe extends _0x8075f7{constructor(_0x415362,_0x4f573a){const _0x47f98a=_0x2e1c;if(super(),_0x415362={'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':_0x14eb8a,..._0x415362},_0x415362[_0x47f98a(0xd5)]==null&&!_0x415362[_0x47f98a(0xeb)]&&!_0x415362[_0x47f98a(0xaf)]||_0x415362[_0x47f98a(0xd5)]!=null&&(_0x415362['server']||_0x415362[_0x47f98a(0xaf)])||_0x415362[_0x47f98a(0xeb)]&&_0x415362['noServer'])throw new TypeError('One\x20and\x20only\x20one\x20of\x20the\x20\x22port\x22,\x20\x22server\x22,\x20or\x20\x22noServer\x22\x20options\x20must\x20be\x20specified');if(_0x415362[_0x47f98a(0xd5)]!=null?(this[_0x47f98a(0xde)]=_0x72e505[_0x47f98a(0xd0)]((_0x3cef25,_0x1e759b)=>{const _0x93b8c6=_0x47f98a,_0x4028a5=_0x72e505['STATUS_CODES'][0x1aa];_0x1e759b[_0x93b8c6(0x17b)](0x1aa,{'Content-Length':_0x4028a5[_0x93b8c6(0xa4)],'Content-Type':_0x93b8c6(0xa6)}),_0x1e759b[_0x93b8c6(0x19d)](_0x4028a5);}),this[_0x47f98a(0xde)][_0x47f98a(0x97)](_0x415362['port'],_0x415362[_0x47f98a(0x22c)],_0x415362['backlog'],_0x4f573a)):_0x415362['server']&&(this[_0x47f98a(0xde)]=_0x415362[_0x47f98a(0xeb)]),this[_0x47f98a(0xde)]){const _0x32da99=this[_0x47f98a(0xe6)]['bind'](this,_0x47f98a(0x192));this['_removeListeners']=_0x517ea4(this[_0x47f98a(0xde)],{'listening':this['emit'][_0x47f98a(0x95)](this,'listening'),'error':this['emit'][_0x47f98a(0x95)](this,_0x47f98a(0x1c9)),'upgrade':(_0x39d694,_0x17afeb,_0x5c4f82)=>{this['handleUpgrade'](_0x39d694,_0x17afeb,_0x5c4f82,_0x32da99);}});}_0x415362[_0x47f98a(0x1a6)]===!0x0&&(_0x415362[_0x47f98a(0x1a6)]={}),_0x415362[_0x47f98a(0xe1)]&&(this[_0x47f98a(0xe2)]=new Set(),this[_0x47f98a(0x163)]=!0x1),this[_0x47f98a(0xd1)]=_0x415362,this[_0x47f98a(0x116)]=_0x44189a;}[_0x9310c6(0x182)](){const _0x1cc4d0=_0x9310c6;if(this[_0x1cc4d0(0xd1)][_0x1cc4d0(0xaf)])throw new Error(_0x1cc4d0(0xa5));return this['_server']?this[_0x1cc4d0(0xde)][_0x1cc4d0(0x182)]():null;}['close'](_0x15e087){const _0xe02683=_0x9310c6;if(this[_0xe02683(0x116)]===_0xf34e42){_0x15e087&&this[_0xe02683(0x127)]('close',()=>{const _0x156cf7=_0xe02683;_0x15e087(new Error(_0x156cf7(0x164)));}),process[_0xe02683(0x22d)](_0x31220b,this);return;}if(_0x15e087&&this[_0xe02683(0x127)](_0xe02683(0x9b),_0x15e087),this[_0xe02683(0x116)]!==_0x4af3f0){if(this[_0xe02683(0x116)]=_0x4af3f0,this[_0xe02683(0xd1)]['noServer']||this['options'][_0xe02683(0xeb)])this[_0xe02683(0xde)]&&(this[_0xe02683(0x1d0)](),this[_0xe02683(0x1d0)]=this[_0xe02683(0xde)]=null),this['clients']?this['clients'][_0xe02683(0x88)]?this[_0xe02683(0x163)]=!0x0:process[_0xe02683(0x22d)](_0x31220b,this):process['nextTick'](_0x31220b,this);else{const _0x283229=this[_0xe02683(0xde)];this[_0xe02683(0x1d0)](),this[_0xe02683(0x1d0)]=this[_0xe02683(0xde)]=null,_0x283229['close'](()=>{_0x31220b(this);});}}}[_0x9310c6(0x84)](_0x1f13fb){const _0x2e48b5=_0x9310c6;if(this[_0x2e48b5(0xd1)][_0x2e48b5(0x102)]){const _0xb8293b=_0x1f13fb[_0x2e48b5(0x173)][_0x2e48b5(0x1ea)]('?');if((_0xb8293b!==-0x1?_0x1f13fb[_0x2e48b5(0x173)][_0x2e48b5(0x21e)](0x0,_0xb8293b):_0x1f13fb[_0x2e48b5(0x173)])!==this[_0x2e48b5(0xd1)][_0x2e48b5(0x102)])return!0x1;}return!0x0;}[_0x9310c6(0x1c3)](_0x2feb06,_0x4fa7ff,_0x4dccac,_0x4be1e9){const _0x525b50=_0x9310c6;_0x4fa7ff['on'](_0x525b50(0x1c9),_0x18ff96);const _0x153e00=_0x2feb06['headers'][_0x525b50(0xd6)],_0x56a622=_0x2feb06[_0x525b50(0x1f3)][_0x525b50(0x223)],_0x10e2f5=+_0x2feb06[_0x525b50(0x1f3)][_0x525b50(0x14a)];if(_0x2feb06[_0x525b50(0x1ed)]!==_0x525b50(0x227)){_0x1515c3(this,_0x2feb06,_0x4fa7ff,0x195,_0x525b50(0x211));return;}if(_0x56a622===void 0x0||_0x56a622[_0x525b50(0x17f)]()!==_0x525b50(0xf2)){_0x1515c3(this,_0x2feb06,_0x4fa7ff,0x190,_0x525b50(0x83));return;}if(_0x153e00===void 0x0||!_0xc5d29c[_0x525b50(0x186)](_0x153e00)){_0x1515c3(this,_0x2feb06,_0x4fa7ff,0x190,_0x525b50(0xe8));return;}if(_0x10e2f5!==0x8&&_0x10e2f5!==0xd){_0x1515c3(this,_0x2feb06,_0x4fa7ff,0x190,_0x525b50(0x1c6));return;}if(!this[_0x525b50(0x84)](_0x2feb06)){_0x4bf96b(_0x4fa7ff,0x190);return;}const _0x3d5b6e=_0x2feb06['headers'][_0x525b50(0xb3)];let _0xb9d803=new Set();if(_0x3d5b6e!==void 0x0)try{_0xb9d803=_0x5219d1['parse'](_0x3d5b6e);}catch{_0x1515c3(this,_0x2feb06,_0x4fa7ff,0x190,_0x525b50(0x243));return;}const _0x178999=_0x2feb06['headers']['sec-websocket-extensions'],_0x320646={};if(this[_0x525b50(0xd1)][_0x525b50(0x1a6)]&&_0x178999!==void 0x0){const _0x10419b=new _0x2249ce(this['options'][_0x525b50(0x1a6)],!0x0,this[_0x525b50(0xd1)][_0x525b50(0x1b7)]);try{const _0x15fbe1=_0xb22a59['parse'](_0x178999);_0x15fbe1[_0x2249ce[_0x525b50(0x18b)]]&&(_0x10419b['accept'](_0x15fbe1[_0x2249ce[_0x525b50(0x18b)]]),_0x320646[_0x2249ce[_0x525b50(0x18b)]]=_0x10419b);}catch{_0x1515c3(this,_0x2feb06,_0x4fa7ff,0x190,_0x525b50(0x137));return;}}if(this[_0x525b50(0xd1)]['verifyClient']){const _0x5cdccd={'origin':_0x2feb06[_0x525b50(0x1f3)][''+(_0x10e2f5===0x8?'sec-websocket-origin':_0x525b50(0x14b))],'secure':!!(_0x2feb06[_0x525b50(0x157)][_0x525b50(0x1e8)]||_0x2feb06[_0x525b50(0x157)][_0x525b50(0xe3)]),'req':_0x2feb06};if(this[_0x525b50(0xd1)][_0x525b50(0x103)][_0x525b50(0xa4)]===0x2){this['options']['verifyClient'](_0x5cdccd,(_0x953d16,_0x4bf405,_0x223456,_0x5087e3)=>{const _0x12f680=_0x525b50;if(!_0x953d16)return _0x4bf96b(_0x4fa7ff,_0x4bf405||0x191,_0x223456,_0x5087e3);this[_0x12f680(0x1dd)](_0x320646,_0x153e00,_0xb9d803,_0x2feb06,_0x4fa7ff,_0x4dccac,_0x4be1e9);});return;}if(!this['options']['verifyClient'](_0x5cdccd))return _0x4bf96b(_0x4fa7ff,0x191);}this['completeUpgrade'](_0x320646,_0x153e00,_0xb9d803,_0x2feb06,_0x4fa7ff,_0x4dccac,_0x4be1e9);}[_0x9310c6(0x1dd)](_0x33538c,_0x359a86,_0x1b504e,_0x107b00,_0x58620e,_0x54fa7d,_0x510024){const _0x549d53=_0x9310c6;if(!_0x58620e[_0x549d53(0xff)]||!_0x58620e['writable'])return _0x58620e[_0x549d53(0xfb)]();if(_0x58620e[_0xb17673])throw new Error(_0x549d53(0x190));if(this[_0x549d53(0x116)]>_0x44189a)return _0x4bf96b(_0x58620e,0x1f7);const _0x380b0d=[_0x549d53(0xb4),_0x549d53(0x1dc),'Connection:\x20Upgrade','Sec-WebSocket-Accept:\x20'+_0xf785e7(_0x549d53(0x109))[_0x549d53(0xb0)](_0x359a86+_0x1d7e7e)['digest']('base64')],_0x1b5da9=new this[(_0x549d53(0xd1))][(_0x549d53(0x1e3))](null,void 0x0,this[_0x549d53(0xd1)]);if(_0x1b504e[_0x549d53(0x88)]){const _0x47c807=this[_0x549d53(0xd1)][_0x549d53(0x1fb)]?this[_0x549d53(0xd1)]['handleProtocols'](_0x1b504e,_0x107b00):_0x1b504e['values']()[_0x549d53(0x1ce)]()[_0x549d53(0x229)];_0x47c807&&(_0x380b0d[_0x549d53(0x159)](_0x549d53(0xb2)+_0x47c807),_0x1b5da9[_0x549d53(0x14d)]=_0x47c807);}if(_0x33538c[_0x2249ce[_0x549d53(0x18b)]]){const _0x2929cb=_0x33538c[_0x2249ce['extensionName']][_0x549d53(0x203)],_0x56931c=_0xb22a59[_0x549d53(0x205)]({[_0x2249ce[_0x549d53(0x18b)]]:[_0x2929cb]});_0x380b0d[_0x549d53(0x159)](_0x549d53(0x19b)+_0x56931c),_0x1b5da9[_0x549d53(0x20d)]=_0x33538c;}this[_0x549d53(0xe6)](_0x549d53(0x1f3),_0x380b0d,_0x107b00),_0x58620e[_0x549d53(0x21a)](_0x380b0d['concat']('\x0d\x0a')[_0x549d53(0x82)]('\x0d\x0a')),_0x58620e[_0x549d53(0x193)](_0x549d53(0x1c9),_0x18ff96),_0x1b5da9[_0x549d53(0x196)](_0x58620e,_0x54fa7d,{'allowSynchronousEvents':this[_0x549d53(0xd1)][_0x549d53(0x1ab)],'maxPayload':this[_0x549d53(0xd1)][_0x549d53(0x1b7)],'skipUTF8Validation':this[_0x549d53(0xd1)][_0x549d53(0x16e)]}),this[_0x549d53(0xe2)]&&(this['clients']['add'](_0x1b5da9),_0x1b5da9['on']('close',()=>{const _0x29ae51=_0x549d53;this[_0x29ae51(0xe2)][_0x29ae51(0x1ba)](_0x1b5da9),this[_0x29ae51(0x163)]&&!this[_0x29ae51(0xe2)]['size']&&process['nextTick'](_0x31220b,this);})),_0x510024(_0x1b5da9,_0x107b00);}}Te=_0x53d9fe;function _0x517ea4(_0x2f0df3,_0x541307){const _0xaf4e1c=_0x9310c6;for(const _0x5bd6d9 of Object[_0xaf4e1c(0x8b)](_0x541307))_0x2f0df3['on'](_0x5bd6d9,_0x541307[_0x5bd6d9]);return function(){const _0x220329=_0xaf4e1c;for(const _0x1cf489 of Object[_0x220329(0x8b)](_0x541307))_0x2f0df3[_0x220329(0x193)](_0x1cf489,_0x541307[_0x1cf489]);};}function _0x31220b(_0x1e52b8){const _0x11ad47=_0x9310c6;_0x1e52b8[_0x11ad47(0x116)]=_0xf34e42,_0x1e52b8[_0x11ad47(0xe6)]('close');}function _0x18ff96(){const _0x2d80f4=_0x9310c6;this[_0x2d80f4(0xfb)]();}function _0x4bf96b(_0x2ff07b,_0x47ba5c,_0x3aa4c7,_0x245d43){const _0x216916=_0x9310c6;_0x3aa4c7=_0x3aa4c7||_0x72e505['STATUS_CODES'][_0x47ba5c],_0x245d43={'Connection':_0x216916(0x9b),'Content-Type':'text/html','Content-Length':Buffer[_0x216916(0x237)](_0x3aa4c7),..._0x245d43},_0x2ff07b[_0x216916(0x127)]('finish',_0x2ff07b[_0x216916(0xfb)]),_0x2ff07b['end']('HTTP/1.1\x20'+_0x47ba5c+'\x20'+_0x72e505[_0x216916(0xb6)][_0x47ba5c]+'\x0d\x0a'+Object[_0x216916(0x8b)](_0x245d43)[_0x216916(0xf9)](_0x38b51d=>_0x38b51d+':\x20'+_0x245d43[_0x38b51d])[_0x216916(0x82)]('\x0d\x0a')+_0x216916(0x1bd)+_0x3aa4c7);}function _0x1515c3(_0x311a28,_0x352463,_0x4e2015,_0x1886c9,_0x9b62cd){const _0x6b9a60=_0x9310c6;if(_0x311a28['listenerCount']('wsClientError')){const _0x1ab618=new Error(_0x9b62cd);Error[_0x6b9a60(0x1cf)](_0x1ab618,_0x1515c3),_0x311a28[_0x6b9a60(0xe6)](_0x6b9a60(0x23d),_0x1ab618,_0x4e2015,_0x352463);}else _0x4bf96b(_0x4e2015,_0x1886c9,_0x9b62cd);}return Te;}Ft();var jt=Object[_0x105f75(0x10e)],Wt=(_0x35cfef,_0x2044ab,_0x3c37cd,_0xeedfa4)=>{const _0x2c54bc=_0x105f75;for(var _0x501c10=_0xeedfa4>0x1?void 0x0:_0xeedfa4?jt(_0x2044ab,_0x3c37cd):_0x2044ab,_0xb51da=_0x35cfef[_0x2c54bc(0xa4)]-0x1,_0xc6800e;_0xb51da>=0x0;_0xb51da--)(_0xc6800e=_0x35cfef[_0xb51da])&&(_0x501c10=_0xc6800e(_0x501c10)||_0x501c10);return _0x501c10;},qt=(_0x4e6814,_0x3dc5e1)=>(_0x129c9e,_0x1f0800)=>_0x3dc5e1(_0x129c9e,_0x1f0800,_0x4e6814);let ke=class extends A[_0x105f75(0x167)]{constructor(_0x4fddab){super(),this['_configService']=_0x4fddab;}[_0x105f75(0x23e)](_0x3121ca){const _0x4a0716=_0x105f75;var _0x25501d;const _0x401c89=(_0x25501d=this[_0x4a0716(0xf3)][_0x4a0716(0x189)](fe))==null?void 0x0:_0x25501d[_0x4a0716(0x135)];try{const _0x448277=new $t(_0x3121ca,{'headers':{..._0x401c89}}),_0x1e8967=new A[(_0x4a0716(0x1f6))]();return{'URL':_0x3121ca,'close':(_0x30a26c,_0x467a29)=>{const _0x1807a2=_0x4a0716;_0x448277[_0x1807a2(0x9b)](_0x30a26c,_0x467a29),_0x1e8967[_0x1807a2(0x126)]();},'send':_0x5d23be=>{const _0x3e6dac=_0x4a0716;_0x448277[_0x3e6dac(0x247)](_0x5d23be);},'open$':new V[(_0x4a0716(0x1b0))](_0xa37f96=>{const _0xcc8c05=_0x4a0716,_0x48340c=_0x332082=>_0xa37f96[_0xcc8c05(0x1ce)](_0x332082);_0x448277[_0xcc8c05(0x9c)](_0xcc8c05(0xef),_0x48340c),_0x1e8967[_0xcc8c05(0xf8)](A[_0xcc8c05(0x214)](()=>_0x448277['removeEventListener'](_0xcc8c05(0xef),_0x48340c)));})[_0x4a0716(0x23f)](V['share']()),'close$':new V['Observable'](_0x27d50c=>{const _0x417cfc=_0x4a0716,_0x18ba24=_0x47a61d=>_0x27d50c['next'](_0x47a61d);_0x448277[_0x417cfc(0x9c)](_0x417cfc(0x9b),_0x18ba24),_0x1e8967[_0x417cfc(0xf8)](A[_0x417cfc(0x214)](()=>_0x448277[_0x417cfc(0x123)](_0x417cfc(0x9b),_0x18ba24)));})[_0x4a0716(0x23f)](V[_0x4a0716(0xa8)]()),'error$':new V[(_0x4a0716(0x1b0))](_0x4d24d6=>{const _0x35eff0=_0x4a0716,_0x495a15=_0x25df38=>_0x4d24d6['next'](_0x25df38);_0x448277[_0x35eff0(0x9c)]('error',_0x495a15),_0x1e8967['add'](A[_0x35eff0(0x214)](()=>_0x448277[_0x35eff0(0x123)]('error',_0x495a15)));})[_0x4a0716(0x23f)](V[_0x4a0716(0xa8)]()),'message$':new V[(_0x4a0716(0x1b0))](_0x23db34=>{const _0x3d978b=_0x4a0716,_0x27500f=_0x28d013=>_0x23db34[_0x3d978b(0x1ce)](_0x28d013);_0x448277['addEventListener'](_0x3d978b(0x16d),_0x27500f),_0x1e8967[_0x3d978b(0xf8)](A[_0x3d978b(0x214)](()=>_0x448277[_0x3d978b(0x123)](_0x3d978b(0x16d),_0x27500f)));})['pipe'](V[_0x4a0716(0xa8)]())};}catch(_0x498514){return console[_0x4a0716(0x1c9)](_0x498514),null;}}};ke=Wt([qt(0x0,A['IConfigService'])],ke);var Gt=Object[_0x105f75(0x20a)],Vt=Object[_0x105f75(0x10e)],Ht=(_0x7d8dc6,_0x487a1a,_0x2077a2)=>_0x487a1a in _0x7d8dc6?Gt(_0x7d8dc6,_0x487a1a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2077a2}):_0x7d8dc6[_0x487a1a]=_0x2077a2,zt=(_0x2b6e10,_0x3e3145,_0x66f480,_0x2023ae)=>{const _0x4f4982=_0x105f75;for(var _0xfe2f14=_0x2023ae>0x1?void 0x0:_0x2023ae?Vt(_0x3e3145,_0x66f480):_0x3e3145,_0x476549=_0x2b6e10[_0x4f4982(0xa4)]-0x1,_0x26aef9;_0x476549>=0x0;_0x476549--)(_0x26aef9=_0x2b6e10[_0x476549])&&(_0xfe2f14=_0x26aef9(_0xfe2f14)||_0xfe2f14);return _0xfe2f14;},Ne=(_0x55c633,_0x15fcd9)=>(_0x94043b,_0xe0941d)=>_0x15fcd9(_0x94043b,_0xe0941d,_0x55c633),Yt=(_0x20d05e,_0x57f54c,_0x2258ca)=>Ht(_0x20d05e,_0x57f54c+'',_0x2258ca);exports[_0x105f75(0xb1)]=class extends A['Plugin']{constructor(_0x40f490=Ct,_0x2032c9,_0x212137,_0x2c1625){const _0x216fe2=_0x105f75;_0x40f490[_0x216fe2(0x135)]||_0x2032c9[_0x216fe2(0xb9)](_0x216fe2(0xe5)),super(),this[_0x216fe2(0xf3)]=_0x212137,this[_0x216fe2(0x1d4)]=_0x2c1625,this[_0x216fe2(0xf3)][_0x216fe2(0x9e)](fe,_0x40f490);}['onStarting'](){const _0x2c9031=_0x105f75;this[_0x2c9031(0x15f)]();}[_0x105f75(0x15f)](){const _0x57fa20=_0x105f75;A[_0x57fa20(0xe9)](this[_0x57fa20(0x1d4)],[[it[_0x57fa20(0xee)],{'useClass':ke}]]);}},Yt(exports[_0x105f75(0xb1)],_0x105f75(0xcf),_0x105f75(0x91)),exports[_0x105f75(0xb1)]=zt([A[_0x105f75(0x23a)](st[_0x105f75(0xda)]),Ne(0x1,A['ILogService']),Ne(0x2,A[_0x105f75(0x235)]),Ne(0x3,A[_0x105f75(0x106)](A['Injector']))],exports[_0x105f75(0xb1)]);var Kt=Object[_0x105f75(0x10e)],Xt=(_0x1b86f4,_0x5c1d4f,_0x20188f,_0x34096d)=>{const _0x3447a2=_0x105f75;for(var _0x3ceb1f=_0x34096d>0x1?void 0x0:_0x34096d?Kt(_0x5c1d4f,_0x20188f):_0x5c1d4f,_0x44e952=_0x1b86f4[_0x3447a2(0xa4)]-0x1,_0x42e791;_0x44e952>=0x0;_0x44e952--)(_0x42e791=_0x1b86f4[_0x44e952])&&(_0x3ceb1f=_0x42e791(_0x3ceb1f)||_0x3ceb1f);return _0x3ceb1f;},ne=(_0x1a1494,_0x59fcac)=>(_0x10e634,_0x12bdde)=>_0x59fcac(_0x10e634,_0x12bdde,_0x1a1494);exports[_0x105f75(0x201)]=class extends st[_0x105f75(0x8d)]{constructor(_0x1004b4,_0x409f42,_0xcecdb3,_0x5c4de5,_0x1dc469){const _0x40f7b4=_0x105f75;super(_0x1004b4,_0x409f42,_0xcecdb3,_0x5c4de5,_0x1dc469);const _0x2e6a1d=this['_configService'][_0x40f7b4(0x189)](fe);this[_0x40f7b4(0xf6)][_0x40f7b4(0x178)]({'interceptor':(_0x29fea6,_0x5dedaf)=>{const _0x43694c=_0x40f7b4;var _0x2f5372;const _0x5d58ec=_0x29fea6[_0x43694c(0x1f3)];return(_0x2f5372=_0x2e6a1d==null?void 0x0:_0x2e6a1d[_0x43694c(0x135)])!=null&&_0x2f5372[_0x43694c(0xf0)]&&_0x5d58ec['set']('Cookie',_0x2e6a1d[_0x43694c(0x135)][_0x43694c(0xf0)]),_0x5dedaf(_0x29fea6);}});}async[_0x105f75(0x23e)](_0x2463c1){return this['_doCreateSocket'](_0x2463c1);}},exports[_0x105f75(0x201)]=Xt([ne(0x0,A[_0x105f75(0x106)](A[_0x105f75(0xd2)])),ne(0x1,A[_0x105f75(0x106)](it[_0x105f75(0x1f1)])),ne(0x2,A[_0x105f75(0x235)]),ne(0x3,A[_0x105f75(0x145)]),ne(0x4,Ot[_0x105f75(0x19e)])],exports[_0x105f75(0x201)]),exports['COLLABORATION_CLIENT_NODE_CONFIG_KEY']=fe;