const _0x4d7c69=_0x2349;(function(_0x4613e3,_0x1d32fb){const _0x150d00=_0x2349,_0x3cd8ce=_0x4613e3();while(!![]){try{const _0x5f0fa7=parseInt(_0x150d00(0xb2))/0x1*(-parseInt(_0x150d00(0xa0))/0x2)+parseInt(_0x150d00(0xa1))/0x3+-parseInt(_0x150d00(0xa6))/0x4+-parseInt(_0x150d00(0xb3))/0x5*(-parseInt(_0x150d00(0xaf))/0x6)+-parseInt(_0x150d00(0xb1))/0x7*(parseInt(_0x150d00(0xb0))/0x8)+parseInt(_0x150d00(0x9e))/0x9*(parseInt(_0x150d00(0xac))/0xa)+parseInt(_0x150d00(0xa9))/0xb;if(_0x5f0fa7===_0x1d32fb)break;else _0x3cd8ce['push'](_0x3cd8ce['shift']());}catch(_0xf8dd45){_0x3cd8ce['push'](_0x3cd8ce['shift']());}}}(_0x4406,0x4a9aa));function _0x4406(){const _0x4bf369=['853083vWcHmM','attempted\x20to\x20','value','call','get','1582608WzzCdD','length','has','4458938tqbeEz','\x20private\x20field\x20on\x20non-instance','disconnect','482420ynuNoQ','func','Cannot\x20initialize\x20the\x20same\x20private\x20elements\x20twice\x20on\x20an\x20object','48mxsxKl','40eLqnmQ','541478YKzxfx','1NEjLQi','130840WjgLgr','45NYGtWN','emit','104546gpGgUs'];_0x4406=function(){return _0x4bf369;};return _0x4406();}function _checkPrivateRedeclaration(_0x5cbc23,_0x58fd95){const _0x2aee88=_0x2349;if(_0x58fd95[_0x2aee88(0xa8)](_0x5cbc23))throw new TypeError(_0x2aee88(0xae));}function _classApplyDescriptorGet(_0x3c890e,_0x3d148e){const _0x56765b=_0x2349;if(_0x3d148e[_0x56765b(0xa5)])return _0x3d148e['get'][_0x56765b(0xa4)](_0x3c890e);return _0x3d148e[_0x56765b(0xa3)];}function _classExtractFieldDescriptor(_0x5cc01c,_0x36ce45,_0xaeedee){const _0x3587b4=_0x2349;if(!_0x36ce45['has'](_0x5cc01c))throw new TypeError(_0x3587b4(0xa2)+_0xaeedee+_0x3587b4(0xaa));return _0x36ce45[_0x3587b4(0xa5)](_0x5cc01c);}function _classPrivateFieldGet(_0x54e53c,_0x5e14da){const _0x83a927=_0x2349;var _0x1e70bc=_classExtractFieldDescriptor(_0x54e53c,_0x5e14da,_0x83a927(0xa5));return _classApplyDescriptorGet(_0x54e53c,_0x1e70bc);}function _0x2349(_0x1e9c27,_0x186b06){const _0x4406d3=_0x4406();return _0x2349=function(_0x2349a6,_0x2a22e0){_0x2349a6=_0x2349a6-0x9e;let _0x38d68e=_0x4406d3[_0x2349a6];return _0x38d68e;},_0x2349(_0x1e9c27,_0x186b06);}function _classPrivateFieldInit(_0x1d0b67,_0x33e9f4,_0x13cf6e){_checkPrivateRedeclaration(_0x1d0b67,_0x33e9f4),_0x33e9f4['set'](_0x1d0b67,_0x13cf6e);}let listenerId=0x0;var _listeners=new WeakMap(),_eventListeners=new WeakMap();export class EventManager{['on'](_0x50be5e,_0x26cf60,_0x42bc0c=0x0){const _0x9b2357=_0x2349,_0x4b2493=listenerId++,_0x8c704=''+_0x4b2493;_classPrivateFieldGet(this,_listeners)[_0x8c704]={'func':_0x26cf60,'event':_0x50be5e,'priority':_0x42bc0c};if(!_classPrivateFieldGet(this,_eventListeners)[_0x50be5e])_classPrivateFieldGet(this,_eventListeners)[_0x50be5e]=[];for(let _0x349597=0x0;_0x349597<_classPrivateFieldGet(this,_eventListeners)[_0x50be5e][_0x9b2357(0xa7)]+0x1;_0x349597++){const _0xd1f14b=_classPrivateFieldGet(this,_eventListeners)[_0x50be5e][_0x349597];if(!_0xd1f14b||_classPrivateFieldGet(this,_listeners)[_0xd1f14b]['priority']>_0x42bc0c){_classPrivateFieldGet(this,_eventListeners)[_0x50be5e]['splice'](_0x349597,0x0,_0x8c704);break;}}return _0x4b2493;}[_0x4d7c69(0x9f)](_0x37171f,..._0x2c26cf){const _0x7e9b90=_0x4d7c69,_0x1be696=_classPrivateFieldGet(this,_eventListeners)[_0x37171f];if(!_0x1be696)return;for(let _0x375b7f=0x0;_0x375b7f<_0x1be696[_0x7e9b90(0xa7)];_0x375b7f++){const _0x150744=_classPrivateFieldGet(this,_listeners)[_0x1be696[_0x375b7f]];_0x150744[_0x7e9b90(0xad)](..._0x2c26cf);}}[_0x4d7c69(0xab)](_0x3851b2){const _0x4d8975=''+_0x3851b2,_0x55cc42=_classPrivateFieldGet(this,_listeners)[_0x4d8975];if(!_0x55cc42)return;_classPrivateFieldGet(this,_eventListeners)[_0x55cc42['event']]['remove'](_0x4d8975),delete _classPrivateFieldGet(this,_listeners)[_0x4d8975];}constructor(){_classPrivateFieldInit(this,_listeners,{'writable':!![],'value':{}}),_classPrivateFieldInit(this,_eventListeners,{'writable':!![],'value':{}});}}