function _0x4bc8(){const _0x212f5c=['length','disconnect','4312026iesnvy','1IUIVRh','emit','6694510ANCEoF','37458780pNpJqw','get','72oXsfTa','attempted\x20to\x20','100onwRjl','priority','46377cWSlWq','13461iMuqmB','remove','has','call','8231784mzAzgQ','\x20private\x20field\x20on\x20non-instance','191326PmGwUa'];_0x4bc8=function(){return _0x212f5c;};return _0x4bc8();}const _0x16ad3d=_0x29a9;(function(_0xfe4fba,_0x1c15d8){const _0x19c531=_0x29a9,_0x3b65be=_0xfe4fba();while(!![]){try{const _0x303055=-parseInt(_0x19c531(0xcd))/0x1*(parseInt(_0x19c531(0xdd))/0x2)+-parseInt(_0x19c531(0xd6))/0x3*(-parseInt(_0x19c531(0xd4))/0x4)+-parseInt(_0x19c531(0xcf))/0x5+-parseInt(_0x19c531(0xdb))/0x6+-parseInt(_0x19c531(0xd7))/0x7*(parseInt(_0x19c531(0xd2))/0x8)+-parseInt(_0x19c531(0xe0))/0x9+parseInt(_0x19c531(0xd0))/0xa;if(_0x303055===_0x1c15d8)break;else _0x3b65be['push'](_0x3b65be['shift']());}catch(_0x3d7bde){_0x3b65be['push'](_0x3b65be['shift']());}}}(_0x4bc8,0xca7db));function _checkPrivateRedeclaration(_0x3cbc81,_0x304d71){const _0x411260=_0x29a9;if(_0x304d71[_0x411260(0xd9)](_0x3cbc81))throw new TypeError('Cannot\x20initialize\x20the\x20same\x20private\x20elements\x20twice\x20on\x20an\x20object');}function _classApplyDescriptorGet(_0x1d031e,_0x45f54f){const _0x3e5535=_0x29a9;if(_0x45f54f[_0x3e5535(0xd1)])return _0x45f54f[_0x3e5535(0xd1)][_0x3e5535(0xda)](_0x1d031e);return _0x45f54f['value'];}function _classExtractFieldDescriptor(_0x3cd149,_0x39cdb5,_0x3cc3f3){const _0x5e1adb=_0x29a9;if(!_0x39cdb5[_0x5e1adb(0xd9)](_0x3cd149))throw new TypeError(_0x5e1adb(0xd3)+_0x3cc3f3+_0x5e1adb(0xdc));return _0x39cdb5['get'](_0x3cd149);}function _0x29a9(_0x5d0fc3,_0x451476){const _0x4bc876=_0x4bc8();return _0x29a9=function(_0x29a98d,_0x513437){_0x29a98d=_0x29a98d-0xcd;let _0x270959=_0x4bc876[_0x29a98d];return _0x270959;},_0x29a9(_0x5d0fc3,_0x451476);}function _classPrivateFieldGet(_0x5db403,_0x5a8260){const _0x1d9379=_0x29a9;var _0x192120=_classExtractFieldDescriptor(_0x5db403,_0x5a8260,_0x1d9379(0xd1));return _classApplyDescriptorGet(_0x5db403,_0x192120);}function _classPrivateFieldInit(_0x33c3b6,_0x48ab3b,_0x17ed30){_checkPrivateRedeclaration(_0x33c3b6,_0x48ab3b),_0x48ab3b['set'](_0x33c3b6,_0x17ed30);}let listenerId=0x0;var _listeners=new WeakMap(),_eventListeners=new WeakMap();export class EventManager{['on'](_0x31ce79,_0x5732df,_0x6a032=0x0){const _0x475297=_0x29a9,_0x59e1e0=listenerId++,_0x51ec39=''+_0x59e1e0;_classPrivateFieldGet(this,_listeners)[_0x51ec39]={'func':_0x5732df,'event':_0x31ce79,'priority':_0x6a032};if(!_classPrivateFieldGet(this,_eventListeners)[_0x31ce79])_classPrivateFieldGet(this,_eventListeners)[_0x31ce79]=[];for(let _0x235a68=0x0;_0x235a68<_classPrivateFieldGet(this,_eventListeners)[_0x31ce79][_0x475297(0xde)]+0x1;_0x235a68++){const _0x11400d=_classPrivateFieldGet(this,_eventListeners)[_0x31ce79][_0x235a68];if(!_0x11400d||_classPrivateFieldGet(this,_listeners)[_0x11400d][_0x475297(0xd5)]>_0x6a032){_classPrivateFieldGet(this,_eventListeners)[_0x31ce79]['splice'](_0x235a68,0x0,_0x51ec39);break;}}return _0x59e1e0;}[_0x16ad3d(0xce)](_0x208634,..._0x57dda6){const _0x2317f1=_0x16ad3d,_0x1de2ee=_classPrivateFieldGet(this,_eventListeners)[_0x208634];if(!_0x1de2ee)return;for(let _0x423ff8=0x0;_0x423ff8<_0x1de2ee[_0x2317f1(0xde)];_0x423ff8++){const _0x48d0b2=_classPrivateFieldGet(this,_listeners)[_0x1de2ee[_0x423ff8]];_0x48d0b2['func'](..._0x57dda6);}}[_0x16ad3d(0xdf)](_0x3e6851){const _0x9c4138=_0x16ad3d,_0x4d52af=''+_0x3e6851,_0x20285d=_classPrivateFieldGet(this,_listeners)[_0x4d52af];if(!_0x20285d)return;_classPrivateFieldGet(this,_eventListeners)[_0x20285d['event']][_0x9c4138(0xd8)](_0x4d52af),delete _classPrivateFieldGet(this,_listeners)[_0x4d52af];}constructor(){_classPrivateFieldInit(this,_listeners,{'writable':!![],'value':{}}),_classPrivateFieldInit(this,_eventListeners,{'writable':!![],'value':{}});}}