@anncic-api/event 3.4.81 → 3.4.83

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.
@@ -1 +1 @@
1
- var a0_0x8e7c38=a0_0x2eef;(function(_0x5e8620,_0x1a85e3){var _0x21f2fe=a0_0x2eef,_0xdd363c=_0x5e8620();while(!![]){try{var _0x127435=-parseInt(_0x21f2fe(0x151))/0x1+-parseInt(_0x21f2fe(0x152))/0x2*(parseInt(_0x21f2fe(0x168))/0x3)+parseInt(_0x21f2fe(0x15b))/0x4+-parseInt(_0x21f2fe(0x14f))/0x5+-parseInt(_0x21f2fe(0x165))/0x6+-parseInt(_0x21f2fe(0x14d))/0x7+parseInt(_0x21f2fe(0x163))/0x8;if(_0x127435===_0x1a85e3)break;else _0xdd363c['push'](_0xdd363c['shift']());}catch(_0x9bb6a4){_0xdd363c['push'](_0xdd363c['shift']());}}}(a0_0x53ae,0x70e2f));var a0_0x484b82=(function(){var _0x47fb99=!![];return function(_0x4f4dc2,_0x335263){var _0x2322a8=_0x47fb99?function(){var _0x32a8bc=a0_0x2eef;if(_0x335263){var _0x235f27=_0x335263[_0x32a8bc(0x16a)](_0x4f4dc2,arguments);return _0x335263=null,_0x235f27;}}:function(){};return _0x47fb99=![],_0x2322a8;};}()),a0_0x37ea8c=a0_0x484b82(this,function(){var _0x2ffe1a=a0_0x2eef;return a0_0x37ea8c[_0x2ffe1a(0x164)]()['search'](_0x2ffe1a(0x166))['toString']()['constructor'](a0_0x37ea8c)[_0x2ffe1a(0x156)](_0x2ffe1a(0x166));});function a0_0x2eef(_0x188c1a,_0x3ae8ff){var _0x18f43a=a0_0x53ae();return a0_0x2eef=function(_0x37ea8c,_0x484b82){_0x37ea8c=_0x37ea8c-0x14d;var _0x53aec9=_0x18f43a[_0x37ea8c];return _0x53aec9;},a0_0x2eef(_0x188c1a,_0x3ae8ff);}a0_0x37ea8c();'use strict';var __decorate=this&&this[a0_0x8e7c38(0x169)]||function(_0x2adad3,_0x35b321,_0x27c188,_0x3223ae){var _0x4e8d0e=a0_0x8e7c38,_0x38782d=arguments[_0x4e8d0e(0x15a)],_0x4d16de=_0x38782d<0x3?_0x35b321:_0x3223ae===null?_0x3223ae=Object['getOwnPropertyDescriptor'](_0x35b321,_0x27c188):_0x3223ae,_0x2171e0;if(typeof Reflect===_0x4e8d0e(0x167)&&typeof Reflect[_0x4e8d0e(0x162)]==='function')_0x4d16de=Reflect[_0x4e8d0e(0x162)](_0x2adad3,_0x35b321,_0x27c188,_0x3223ae);else{for(var _0x35f807=_0x2adad3[_0x4e8d0e(0x15a)]-0x1;_0x35f807>=0x0;_0x35f807--)if(_0x2171e0=_0x2adad3[_0x35f807])_0x4d16de=(_0x38782d<0x3?_0x2171e0(_0x4d16de):_0x38782d>0x3?_0x2171e0(_0x35b321,_0x27c188,_0x4d16de):_0x2171e0(_0x35b321,_0x27c188))||_0x4d16de;}return _0x38782d>0x3&&_0x4d16de&&Object['defineProperty'](_0x35b321,_0x27c188,_0x4d16de),_0x4d16de;},__metadata=this&&this[a0_0x8e7c38(0x150)]||function(_0x47a9e8,_0x2f7064){var _0x50515c=a0_0x8e7c38;if(typeof Reflect===_0x50515c(0x167)&&typeof Reflect[_0x50515c(0x15c)]===_0x50515c(0x160))return Reflect[_0x50515c(0x15c)](_0x47a9e8,_0x2f7064);};Object[a0_0x8e7c38(0x157)](exports,a0_0x8e7c38(0x158),{'value':!![]}),exports['CustomConfiguration']=void 0x0;function a0_0x53ae(){var _0x2a0c87=['metadata','config','CustomConfiguration','decorator','function','anncic-api:event','decorate','13620992lFQnRe','toString','2442552JcRLaD','(((.+)+)+)+$','object','12dwgnKh','__decorate','apply','prototype','5354762ywvwhr','Configuration','3099615KvESWv','__metadata','13319ZnCYly','79574bYlGkQ','Inject','design:type','MidwayConfigService','search','defineProperty','__esModule','MidwayDecoratorService','length','2896828OOJLFR'];a0_0x53ae=function(){return _0x2a0c87;};return a0_0x53ae();}const core_1=require('@midwayjs/core'),core_2=require('@midwayjs/core');let CustomConfiguration=class CustomConfiguration{async['onReady'](){}};exports[a0_0x8e7c38(0x15e)]=CustomConfiguration,__decorate([(0x0,core_1[a0_0x8e7c38(0x153)])(),__metadata(a0_0x8e7c38(0x154),core_2[a0_0x8e7c38(0x155)])],CustomConfiguration[a0_0x8e7c38(0x16b)],a0_0x8e7c38(0x15d),void 0x0),__decorate([(0x0,core_1[a0_0x8e7c38(0x153)])(),__metadata(a0_0x8e7c38(0x154),core_2[a0_0x8e7c38(0x159)])],CustomConfiguration[a0_0x8e7c38(0x16b)],a0_0x8e7c38(0x15f),void 0x0),exports['CustomConfiguration']=CustomConfiguration=__decorate([(0x0,core_1[a0_0x8e7c38(0x14e)])({'conflictCheck':![],'namespace':a0_0x8e7c38(0x161)})],CustomConfiguration);
1
+ var a0_0x1d5404=a0_0x4440;(function(_0x10d936,_0x3b80ae){var _0x4b1fac=a0_0x4440,_0x5db840=_0x10d936();while(!![]){try{var _0x2bdd9a=parseInt(_0x4b1fac(0xef))/0x1+parseInt(_0x4b1fac(0xdb))/0x2+-parseInt(_0x4b1fac(0xe6))/0x3+parseInt(_0x4b1fac(0xe8))/0x4*(parseInt(_0x4b1fac(0xee))/0x5)+-parseInt(_0x4b1fac(0xd5))/0x6*(parseInt(_0x4b1fac(0xd6))/0x7)+parseInt(_0x4b1fac(0xd9))/0x8*(-parseInt(_0x4b1fac(0xdf))/0x9)+-parseInt(_0x4b1fac(0xd4))/0xa*(-parseInt(_0x4b1fac(0xda))/0xb);if(_0x2bdd9a===_0x3b80ae)break;else _0x5db840['push'](_0x5db840['shift']());}catch(_0x1b727f){_0x5db840['push'](_0x5db840['shift']());}}}(a0_0x5870,0x1ac4f));function a0_0x4440(_0x340d0e,_0x2e1a41){var _0x12fe80=a0_0x5870();return a0_0x4440=function(_0x414fbc,_0x41a9a5){_0x414fbc=_0x414fbc-0xce;var _0x58703e=_0x12fe80[_0x414fbc];return _0x58703e;},a0_0x4440(_0x340d0e,_0x2e1a41);}var a0_0x41a9a5=(function(){var _0x24aeb5=!![];return function(_0x42cd73,_0x54f4b6){var _0x18648b=_0x24aeb5?function(){var _0x406434=a0_0x4440;if(_0x54f4b6){var _0x5e68c4=_0x54f4b6[_0x406434(0xe3)](_0x42cd73,arguments);return _0x54f4b6=null,_0x5e68c4;}}:function(){};return _0x24aeb5=![],_0x18648b;};}()),a0_0x414fbc=a0_0x41a9a5(this,function(){var _0x396db0=a0_0x4440;return a0_0x414fbc[_0x396db0(0xd0)]()['search'](_0x396db0(0xe9))[_0x396db0(0xd0)]()[_0x396db0(0xd2)](a0_0x414fbc)[_0x396db0(0xeb)](_0x396db0(0xe9));});a0_0x414fbc();'use strict';var __decorate=this&&this['__decorate']||function(_0x124283,_0x47b0dd,_0x17d726,_0x3c582d){var _0x51259b=a0_0x4440,_0x24a5be=arguments['length'],_0x1268f5=_0x24a5be<0x3?_0x47b0dd:_0x3c582d===null?_0x3c582d=Object['getOwnPropertyDescriptor'](_0x47b0dd,_0x17d726):_0x3c582d,_0x3536c2;if(typeof Reflect===_0x51259b(0xea)&&typeof Reflect['decorate']===_0x51259b(0xed))_0x1268f5=Reflect[_0x51259b(0xd8)](_0x124283,_0x47b0dd,_0x17d726,_0x3c582d);else{for(var _0x4f7d44=_0x124283[_0x51259b(0xec)]-0x1;_0x4f7d44>=0x0;_0x4f7d44--)if(_0x3536c2=_0x124283[_0x4f7d44])_0x1268f5=(_0x24a5be<0x3?_0x3536c2(_0x1268f5):_0x24a5be>0x3?_0x3536c2(_0x47b0dd,_0x17d726,_0x1268f5):_0x3536c2(_0x47b0dd,_0x17d726))||_0x1268f5;}return _0x24a5be>0x3&&_0x1268f5&&Object[_0x51259b(0xdd)](_0x47b0dd,_0x17d726,_0x1268f5),_0x1268f5;},__metadata=this&&this[a0_0x1d5404(0xe5)]||function(_0x434437,_0x1c78a2){var _0x1ee13=a0_0x1d5404;if(typeof Reflect===_0x1ee13(0xea)&&typeof Reflect[_0x1ee13(0xcf)]===_0x1ee13(0xed))return Reflect['metadata'](_0x434437,_0x1c78a2);};Object[a0_0x1d5404(0xdd)](exports,'__esModule',{'value':!![]}),exports[a0_0x1d5404(0xd3)]=void 0x0;const core_1=require(a0_0x1d5404(0xd1)),core_2=require(a0_0x1d5404(0xd1));let CustomConfiguration=class CustomConfiguration{async[a0_0x1d5404(0xdc)](){}};exports[a0_0x1d5404(0xd3)]=CustomConfiguration,__decorate([(0x0,core_1[a0_0x1d5404(0xde)])(),__metadata('design:type',core_2[a0_0x1d5404(0xe1)])],CustomConfiguration[a0_0x1d5404(0xd7)],'config',void 0x0),__decorate([(0x0,core_1[a0_0x1d5404(0xde)])(),__metadata(a0_0x1d5404(0xe2),core_2[a0_0x1d5404(0xe7)])],CustomConfiguration[a0_0x1d5404(0xd7)],a0_0x1d5404(0xce),void 0x0),exports[a0_0x1d5404(0xd3)]=CustomConfiguration=__decorate([(0x0,core_1[a0_0x1d5404(0xe4)])({'conflictCheck':![],'namespace':a0_0x1d5404(0xe0)})],CustomConfiguration);function a0_0x5870(){var _0x44d6df=['113409zhZJoa','anncic-api:event','MidwayConfigService','design:type','apply','Configuration','__metadata','651393HEyCGY','MidwayDecoratorService','54060iYVFbd','(((.+)+)+)+$','object','search','length','function','5xZpYGB','179262mlVUbo','decorator','metadata','toString','@midwayjs/core','constructor','CustomConfiguration','8780SMruEx','30sfhXaT','240191cGyccR','prototype','decorate','72kXsVBm','4356PPCtwt','142574rQxwDN','onReady','defineProperty','Inject'];a0_0x5870=function(){return _0x44d6df;};return a0_0x5870();}
@@ -1,4 +1,4 @@
1
1
  export declare function Event(): ClassDecorator;
2
2
  export declare namespace Event {
3
- var On: (name: string, priority?: number) => MethodDecorator;
3
+ var On: (name: string, priority?: number, throttle?: number) => MethodDecorator;
4
4
  }
@@ -1 +1 @@
1
- function a1_0x41fe(_0x457d7c,_0x5f521e){const _0x1a2194=a1_0x1d58();return a1_0x41fe=function(_0x56f29,_0x19afd9){_0x56f29=_0x56f29-0xea;let _0x1d58b3=_0x1a2194[_0x56f29];return _0x1d58b3;},a1_0x41fe(_0x457d7c,_0x5f521e);}const a1_0x4e32ca=a1_0x41fe;(function(_0x239ac7,_0x15d8b7){const _0x28be70=a1_0x41fe,_0x587afe=_0x239ac7();while(!![]){try{const _0x586fc8=parseInt(_0x28be70(0xf0))/0x1+parseInt(_0x28be70(0xf8))/0x2*(parseInt(_0x28be70(0xec))/0x3)+parseInt(_0x28be70(0xf4))/0x4+parseInt(_0x28be70(0x102))/0x5*(-parseInt(_0x28be70(0xee))/0x6)+parseInt(_0x28be70(0x104))/0x7+parseInt(_0x28be70(0xef))/0x8*(-parseInt(_0x28be70(0xea))/0x9)+-parseInt(_0x28be70(0xfd))/0xa*(parseInt(_0x28be70(0xed))/0xb);if(_0x586fc8===_0x15d8b7)break;else _0x587afe['push'](_0x587afe['shift']());}catch(_0x8ecd37){_0x587afe['push'](_0x587afe['shift']());}}}(a1_0x1d58,0x5469b));const a1_0x19afd9=(function(){let _0x546c04=!![];return function(_0x470c1c,_0x2090db){const _0x4e5ed4=_0x546c04?function(){const _0x4d1257=a1_0x41fe;if(_0x2090db){const _0xb494a8=_0x2090db[_0x4d1257(0xeb)](_0x470c1c,arguments);return _0x2090db=null,_0xb494a8;}}:function(){};return _0x546c04=![],_0x4e5ed4;};}()),a1_0x56f29=a1_0x19afd9(this,function(){const _0xf45c6c=a1_0x41fe;return a1_0x56f29[_0xf45c6c(0xfe)]()[_0xf45c6c(0xfc)](_0xf45c6c(0x105))[_0xf45c6c(0xfe)]()['constructor'](a1_0x56f29)[_0xf45c6c(0xfc)](_0xf45c6c(0x105));});a1_0x56f29();'use strict';function a1_0x1d58(){const _0x1eaad5=['toString','defineProperty','Scope','__esModule','395qHrxqm','saveModule','3105445tfdFDW','(((.+)+)+)+$','3267FJersd','apply','30hevnSz','1720081TpiPJS','15954oqWhmS','7256PsaMna','466949TlyfmZ','EVENT_ON_KEY','../interface','ScopeEnum','1240784tRLZJF','Provide','Event','Request','26678kkpxvZ','attachClassMetadata','EVENT_KEY','@midwayjs/core','search','30RbVTme'];a1_0x1d58=function(){return _0x1eaad5;};return a1_0x1d58();}Object[a1_0x4e32ca(0xff)](exports,a1_0x4e32ca(0x101),{'value':!![]}),exports[a1_0x4e32ca(0xf6)]=Event;const core_1=require(a1_0x4e32ca(0xfb)),interface_1=require(a1_0x4e32ca(0xf2));function Event(){return _0x48eacf=>{const _0x255c3f=a1_0x41fe;(0x0,core_1[_0x255c3f(0xf5)])()(_0x48eacf),(0x0,core_1[_0x255c3f(0x103)])(interface_1[_0x255c3f(0xfa)],_0x48eacf),(0x0,core_1[_0x255c3f(0x100)])(core_1[_0x255c3f(0xf3)][_0x255c3f(0xf7)],{'allowDowngrade':!![]})(_0x48eacf);};}Event['On']=function(_0x4fe04b,_0x173ba3=0x0){return(_0x2c6c31,_0x244a2e,_0x57808e)=>{const _0x4ee4ba=a1_0x41fe;return(0x0,core_1[_0x4ee4ba(0xf9)])(interface_1[_0x4ee4ba(0xf1)],{'name':_0x4fe04b,'priority':_0x173ba3,'propertyKey':_0x244a2e,'descriptor':_0x57808e},_0x2c6c31),_0x57808e;};};
1
+ const a1_0x487367=a1_0x47aa;(function(_0x1571aa,_0x59fadc){const _0xe2011e=a1_0x47aa,_0x517c5a=_0x1571aa();while(!![]){try{const _0x103a94=parseInt(_0xe2011e(0xb1))/0x1+-parseInt(_0xe2011e(0xc0))/0x2*(parseInt(_0xe2011e(0xbc))/0x3)+-parseInt(_0xe2011e(0xb4))/0x4+parseInt(_0xe2011e(0xc4))/0x5*(-parseInt(_0xe2011e(0xb6))/0x6)+-parseInt(_0xe2011e(0xb2))/0x7+parseInt(_0xe2011e(0xc3))/0x8*(parseInt(_0xe2011e(0xb9))/0x9)+-parseInt(_0xe2011e(0xc5))/0xa*(-parseInt(_0xe2011e(0xae))/0xb);if(_0x103a94===_0x59fadc)break;else _0x517c5a['push'](_0x517c5a['shift']());}catch(_0x59ecb8){_0x517c5a['push'](_0x517c5a['shift']());}}}(a1_0x1d9f,0x97797));const a1_0x399e61=(function(){let _0x1ffce5=!![];return function(_0x131aa7,_0x54fcf4){const _0x4c4a04=_0x1ffce5?function(){if(_0x54fcf4){const _0x240ec7=_0x54fcf4['apply'](_0x131aa7,arguments);return _0x54fcf4=null,_0x240ec7;}}:function(){};return _0x1ffce5=![],_0x4c4a04;};}()),a1_0x5d83ec=a1_0x399e61(this,function(){const _0x8f5681=a1_0x47aa;return a1_0x5d83ec[_0x8f5681(0xb5)]()[_0x8f5681(0xb0)](_0x8f5681(0xbb))[_0x8f5681(0xb5)]()[_0x8f5681(0xba)](a1_0x5d83ec)[_0x8f5681(0xb0)](_0x8f5681(0xbb));});a1_0x5d83ec();function a1_0x47aa(_0x26f813,_0x53a6ff){const _0x4baf74=a1_0x1d9f();return a1_0x47aa=function(_0x5d83ec,_0x399e61){_0x5d83ec=_0x5d83ec-0xae;let _0x1d9fea=_0x4baf74[_0x5d83ec];return _0x1d9fea;},a1_0x47aa(_0x26f813,_0x53a6ff);}function a1_0x1d9f(){const _0x28b62f=['@midwayjs/core','EVENT_ON_KEY','1102446ptJfuP','constructor','(((.+)+)+)+$','690579dWsIMJ','__esModule','Request','EVENT_KEY','10JlwQMa','Event','ScopeEnum','16enhobi','20595YJGUGO','3811910hXqqOs','77SxpDfn','Scope','search','487873LSkCAX','557060rpQRpv','attachClassMetadata','2065380LXPxSZ','toString','1506TXYKMV'];a1_0x1d9f=function(){return _0x28b62f;};return a1_0x1d9f();}'use strict';Object['defineProperty'](exports,a1_0x487367(0xbd),{'value':!![]}),exports[a1_0x487367(0xc1)]=Event;const core_1=require(a1_0x487367(0xb7)),interface_1=require('../interface');function Event(){return _0x1c5106=>{const _0x3f8ca4=a1_0x47aa;(0x0,core_1['Provide'])()(_0x1c5106),(0x0,core_1['saveModule'])(interface_1[_0x3f8ca4(0xbf)],_0x1c5106),(0x0,core_1[_0x3f8ca4(0xaf)])(core_1[_0x3f8ca4(0xc2)][_0x3f8ca4(0xbe)],{'allowDowngrade':!![]})(_0x1c5106);};}Event['On']=function(_0x4ccebc,_0x1a0a1f=0x0,_0x7713aa=0x1f4){return(_0x2bc1ea,_0x72a557,_0x378647)=>{const _0x34a31a=a1_0x47aa;return(0x0,core_1[_0x34a31a(0xb3)])(interface_1[_0x34a31a(0xb8)],{'name':_0x4ccebc,'priority':_0x1a0a1f,'propertyKey':_0x72a557,'descriptor':_0x378647,'throttle':_0x7713aa},_0x2bc1ea),_0x378647;};};
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- var a2_0x546e5c=a2_0x777a;(function(_0x37c5be,_0x54552d){var _0x2de1fc=a2_0x777a,_0xa84a0a=_0x37c5be();while(!![]){try{var _0xbe194=parseInt(_0x2de1fc(0x18f))/0x1*(-parseInt(_0x2de1fc(0x17c))/0x2)+parseInt(_0x2de1fc(0x18c))/0x3*(parseInt(_0x2de1fc(0x192))/0x4)+parseInt(_0x2de1fc(0x18e))/0x5*(-parseInt(_0x2de1fc(0x17f))/0x6)+-parseInt(_0x2de1fc(0x191))/0x7*(-parseInt(_0x2de1fc(0x18b))/0x8)+-parseInt(_0x2de1fc(0x18d))/0x9+parseInt(_0x2de1fc(0x189))/0xa*(-parseInt(_0x2de1fc(0x184))/0xb)+parseInt(_0x2de1fc(0x186))/0xc;if(_0xbe194===_0x54552d)break;else _0xa84a0a['push'](_0xa84a0a['shift']());}catch(_0x29ac93){_0xa84a0a['push'](_0xa84a0a['shift']());}}}(a2_0x595c,0x4bb54));var a2_0x2fc48d=(function(){var _0x2c6303=!![];return function(_0x1952a1,_0xbfabd6){var _0x14d735=_0x2c6303?function(){var _0x5b6217=a2_0x777a;if(_0xbfabd6){var _0x3467f8=_0xbfabd6[_0x5b6217(0x190)](_0x1952a1,arguments);return _0xbfabd6=null,_0x3467f8;}}:function(){};return _0x2c6303=![],_0x14d735;};}()),a2_0x3caa37=a2_0x2fc48d(this,function(){var _0x57588a=a2_0x777a;return a2_0x3caa37['toString']()['search']('(((.+)+)+)+$')[_0x57588a(0x182)]()[_0x57588a(0x183)](a2_0x3caa37)[_0x57588a(0x180)](_0x57588a(0x185));});a2_0x3caa37();'use strict';Object[a2_0x546e5c(0x18a)](exports,a2_0x546e5c(0x188),{'value':!![]}),exports['Configuration']=exports[a2_0x546e5c(0x17b)]=exports['Event']=void 0x0;var Event_1=require('./decorator/Event');Object['defineProperty'](exports,a2_0x546e5c(0x187),{'enumerable':!![],'get':function(){var _0x550264=a2_0x546e5c;return Event_1[_0x550264(0x187)];}});var EventService_1=require('./service/EventService');function a2_0x595c(){var _0x372b3d=['73555jZAAgd','95322QlcZxU','apply','15036lzkiwJ','60wkvjtH','EventService','2sVeYJV','Configuration','CustomConfiguration','246tHmkXd','search','./configuration','toString','constructor','22frUDdl','(((.+)+)+)+$','18227220oUfEaJ','Event','__esModule','2750290FFtXIo','defineProperty','872SIGhaw','63513tQxYyi','4608009PhiGaO'];a2_0x595c=function(){return _0x372b3d;};return a2_0x595c();}Object[a2_0x546e5c(0x18a)](exports,a2_0x546e5c(0x17b),{'enumerable':!![],'get':function(){return EventService_1['EventService'];}});var configuration_1=require(a2_0x546e5c(0x181));function a2_0x777a(_0x445886,_0x35c9a6){var _0x5e708b=a2_0x595c();return a2_0x777a=function(_0x3caa37,_0x2fc48d){_0x3caa37=_0x3caa37-0x17b;var _0x595c8e=_0x5e708b[_0x3caa37];return _0x595c8e;},a2_0x777a(_0x445886,_0x35c9a6);}Object[a2_0x546e5c(0x18a)](exports,a2_0x546e5c(0x17d),{'enumerable':!![],'get':function(){var _0x116b40=a2_0x546e5c;return configuration_1[_0x116b40(0x17e)];}});
1
+ var a2_0x49d2f4=a2_0x5b9c;(function(_0xc3a105,_0x2fda2f){var _0x59d2cf=a2_0x5b9c,_0x5d9018=_0xc3a105();while(!![]){try{var _0x27cf74=parseInt(_0x59d2cf(0xe2))/0x1*(-parseInt(_0x59d2cf(0xe4))/0x2)+parseInt(_0x59d2cf(0xe0))/0x3*(-parseInt(_0x59d2cf(0xf0))/0x4)+-parseInt(_0x59d2cf(0xf5))/0x5+parseInt(_0x59d2cf(0xde))/0x6*(parseInt(_0x59d2cf(0xeb))/0x7)+-parseInt(_0x59d2cf(0xed))/0x8+parseInt(_0x59d2cf(0xec))/0x9*(-parseInt(_0x59d2cf(0xe8))/0xa)+parseInt(_0x59d2cf(0xf3))/0xb*(parseInt(_0x59d2cf(0xe6))/0xc);if(_0x27cf74===_0x2fda2f)break;else _0x5d9018['push'](_0x5d9018['shift']());}catch(_0x53ac5b){_0x5d9018['push'](_0x5d9018['shift']());}}}(a2_0x2a62,0x98ff5));var a2_0x57fd9b=(function(){var _0xc87725=!![];return function(_0x5d993e,_0x2b1dc9){var _0x1549ad=_0xc87725?function(){if(_0x2b1dc9){var _0x2dbc9e=_0x2b1dc9['apply'](_0x5d993e,arguments);return _0x2b1dc9=null,_0x2dbc9e;}}:function(){};return _0xc87725=![],_0x1549ad;};}()),a2_0x2cc46d=a2_0x57fd9b(this,function(){var _0xc24d13=a2_0x5b9c;return a2_0x2cc46d[_0xc24d13(0xf4)]()[_0xc24d13(0xe3)](_0xc24d13(0xea))[_0xc24d13(0xf4)]()[_0xc24d13(0xf2)](a2_0x2cc46d)[_0xc24d13(0xe3)](_0xc24d13(0xea));});a2_0x2cc46d();'use strict';Object[a2_0x49d2f4(0xdf)](exports,a2_0x49d2f4(0xef),{'value':!![]}),exports[a2_0x49d2f4(0xe5)]=exports['EventService']=exports[a2_0x49d2f4(0xe7)]=void 0x0;var Event_1=require(a2_0x49d2f4(0xe1));Object[a2_0x49d2f4(0xdf)](exports,a2_0x49d2f4(0xe7),{'enumerable':!![],'get':function(){var _0x73b5f4=a2_0x49d2f4;return Event_1[_0x73b5f4(0xe7)];}});function a2_0x5b9c(_0x2718a0,_0x293155){var _0x5de6a7=a2_0x2a62();return a2_0x5b9c=function(_0x2cc46d,_0x57fd9b){_0x2cc46d=_0x2cc46d-0xde;var _0x2a62a1=_0x5de6a7[_0x2cc46d];return _0x2a62a1;},a2_0x5b9c(_0x2718a0,_0x293155);}var EventService_1=require(a2_0x49d2f4(0xee));Object['defineProperty'](exports,a2_0x49d2f4(0xf1),{'enumerable':!![],'get':function(){var _0xf59041=a2_0x49d2f4;return EventService_1[_0xf59041(0xf1)];}});function a2_0x2a62(){var _0xae100e=['12061874rVRFXc','toString','6235510gNeVPt','./configuration','717702mnaaPb','defineProperty','36849lVoikJ','./decorator/Event','1cPRPGU','search','2017286lCBwhg','Configuration','36tMgbrI','Event','2430EDKIgd','CustomConfiguration','(((.+)+)+)+$','70ENZhxc','11511OdfBjx','9849104vvljUC','./service/EventService','__esModule','20atAiMp','EventService','constructor'];a2_0x2a62=function(){return _0xae100e;};return a2_0x2a62();}var configuration_1=require(a2_0x49d2f4(0xf6));Object['defineProperty'](exports,'Configuration',{'enumerable':!![],'get':function(){var _0x11cb95=a2_0x49d2f4;return configuration_1[_0x11cb95(0xe9)];}});
package/dist/interface.js CHANGED
@@ -1 +1 @@
1
- function a3_0x16b1(_0x13a451,_0x109573){var _0x4b9dc8=a3_0x3ee5();return a3_0x16b1=function(_0x2dd2bc,_0x211a4f){_0x2dd2bc=_0x2dd2bc-0x99;var _0x3ee5a0=_0x4b9dc8[_0x2dd2bc];return _0x3ee5a0;},a3_0x16b1(_0x13a451,_0x109573);}var a3_0x2a7359=a3_0x16b1;(function(_0x3445e9,_0x211259){var _0x2a8dfb=a3_0x16b1,_0x198374=_0x3445e9();while(!![]){try{var _0x24d553=-parseInt(_0x2a8dfb(0xa2))/0x1*(parseInt(_0x2a8dfb(0xa1))/0x2)+-parseInt(_0x2a8dfb(0xa0))/0x3*(-parseInt(_0x2a8dfb(0x9d))/0x4)+-parseInt(_0x2a8dfb(0xa4))/0x5*(-parseInt(_0x2a8dfb(0xa9))/0x6)+-parseInt(_0x2a8dfb(0x9e))/0x7+-parseInt(_0x2a8dfb(0x9c))/0x8+-parseInt(_0x2a8dfb(0xaa))/0x9+parseInt(_0x2a8dfb(0xac))/0xa*(parseInt(_0x2a8dfb(0xa8))/0xb);if(_0x24d553===_0x211259)break;else _0x198374['push'](_0x198374['shift']());}catch(_0x31403f){_0x198374['push'](_0x198374['shift']());}}}(a3_0x3ee5,0xecefd));function a3_0x3ee5(){var _0x13fc97=['12948064IkHxba','46664KDwGJY','4529336CBsIGn','__esModule','234LWzFSw','46rSvTni','34516BeHFvl','anncic-api:event','3125dbTFma','toString','defineProperty','constructor','3668302sfCYOY','15954DIJDpG','7886520TUhdoi','search','70jigyDZ','apply','EVENT_ON_KEY','anncic-api:event:on','EVENT_KEY','(((.+)+)+)+$'];a3_0x3ee5=function(){return _0x13fc97;};return a3_0x3ee5();}var a3_0x211a4f=(function(){var _0x484dfa=!![];return function(_0x1fa1f4,_0x1e536b){var _0x1f3004=_0x484dfa?function(){var _0x246275=a3_0x16b1;if(_0x1e536b){var _0x455057=_0x1e536b[_0x246275(0xad)](_0x1fa1f4,arguments);return _0x1e536b=null,_0x455057;}}:function(){};return _0x484dfa=![],_0x1f3004;};}()),a3_0x2dd2bc=a3_0x211a4f(this,function(){var _0x53c08b=a3_0x16b1;return a3_0x2dd2bc[_0x53c08b(0xa5)]()[_0x53c08b(0xab)]('(((.+)+)+)+$')[_0x53c08b(0xa5)]()[_0x53c08b(0xa7)](a3_0x2dd2bc)['search'](_0x53c08b(0x9b));});a3_0x2dd2bc();'use strict';Object[a3_0x2a7359(0xa6)](exports,a3_0x2a7359(0x9f),{'value':!![]}),exports[a3_0x2a7359(0xae)]=exports[a3_0x2a7359(0x9a)]=void 0x0,exports[a3_0x2a7359(0x9a)]=a3_0x2a7359(0xa3),exports[a3_0x2a7359(0xae)]=a3_0x2a7359(0x99);
1
+ var a3_0x4143c0=a3_0x4e8a;(function(_0x145d86,_0x5dc440){var _0x26f999=a3_0x4e8a,_0x6aac7d=_0x145d86();while(!![]){try{var _0xb359fb=-parseInt(_0x26f999(0xdc))/0x1*(-parseInt(_0x26f999(0xda))/0x2)+parseInt(_0x26f999(0xe4))/0x3+-parseInt(_0x26f999(0xdd))/0x4*(parseInt(_0x26f999(0xe8))/0x5)+parseInt(_0x26f999(0xed))/0x6+-parseInt(_0x26f999(0xe9))/0x7+-parseInt(_0x26f999(0xe6))/0x8*(-parseInt(_0x26f999(0xe0))/0x9)+parseInt(_0x26f999(0xe1))/0xa*(parseInt(_0x26f999(0xe3))/0xb);if(_0xb359fb===_0x5dc440)break;else _0x6aac7d['push'](_0x6aac7d['shift']());}catch(_0x4fa350){_0x6aac7d['push'](_0x6aac7d['shift']());}}}(a3_0x14eb,0x63305));function a3_0x4e8a(_0x14f6a2,_0x116007){var _0x1f9f91=a3_0x14eb();return a3_0x4e8a=function(_0x526050,_0xdf58a0){_0x526050=_0x526050-0xda;var _0x14eb88=_0x1f9f91[_0x526050];return _0x14eb88;},a3_0x4e8a(_0x14f6a2,_0x116007);}var a3_0xdf58a0=(function(){var _0x2be084=!![];return function(_0x26114e,_0x33d8be){var _0xdfe076=_0x2be084?function(){var _0x426ed6=a3_0x4e8a;if(_0x33d8be){var _0x526c98=_0x33d8be[_0x426ed6(0xea)](_0x26114e,arguments);return _0x33d8be=null,_0x526c98;}}:function(){};return _0x2be084=![],_0xdfe076;};}()),a3_0x526050=a3_0xdf58a0(this,function(){var _0x4e7a34=a3_0x4e8a;return a3_0x526050['toString']()[_0x4e7a34(0xdf)](_0x4e7a34(0xde))[_0x4e7a34(0xec)]()['constructor'](a3_0x526050)[_0x4e7a34(0xdf)](_0x4e7a34(0xde));});a3_0x526050();function a3_0x14eb(){var _0x2fb1ff=['2212425kvDdCg','anncic-api:event','270768BdPMQO','EVENT_ON_KEY','5rigrJW','5358885sdzWOa','apply','EVENT_KEY','toString','2180676HjgDWO','70CAhCiK','__esModule','9309SilLBz','2415372NhvqEk','(((.+)+)+)+$','search','18uMnUqr','11670yJhmnd','defineProperty','2651dALaLo'];a3_0x14eb=function(){return _0x2fb1ff;};return a3_0x14eb();}'use strict';Object[a3_0x4143c0(0xe2)](exports,a3_0x4143c0(0xdb),{'value':!![]}),exports[a3_0x4143c0(0xe7)]=exports[a3_0x4143c0(0xeb)]=void 0x0,exports[a3_0x4143c0(0xeb)]=a3_0x4143c0(0xe5),exports[a3_0x4143c0(0xe7)]='anncic-api:event:on';
@@ -5,18 +5,24 @@ export declare class EventService {
5
5
  protected listevent: {
6
6
  [key: string]: {
7
7
  priority: number;
8
+ throttle: number;
8
9
  resolve: Function;
9
10
  propertyKey: string;
10
11
  }[];
11
12
  };
13
+ protected listevent_throttle: {
14
+ [key: string]: number;
15
+ };
12
16
  getListevent(name?: string): Promise<{
13
17
  [key: string]: {
14
18
  priority: number;
19
+ throttle: number;
15
20
  resolve: Function;
16
21
  propertyKey: string;
17
22
  }[];
18
23
  } | {
19
24
  priority: number;
25
+ throttle: number;
20
26
  resolve: Function;
21
27
  propertyKey: string;
22
28
  }[]>;
@@ -1 +1 @@
1
- const a4_0x382145=a4_0x530d;(function(_0x5019dc,_0x45ad9e){const _0x2c0a43=a4_0x530d,_0x274f72=_0x5019dc();while(!![]){try{const _0x1e9ec5=-parseInt(_0x2c0a43(0x107))/0x1*(-parseInt(_0x2c0a43(0x111))/0x2)+-parseInt(_0x2c0a43(0x12d))/0x3+parseInt(_0x2c0a43(0x119))/0x4+parseInt(_0x2c0a43(0x10d))/0x5*(parseInt(_0x2c0a43(0x134))/0x6)+parseInt(_0x2c0a43(0x130))/0x7*(-parseInt(_0x2c0a43(0x139))/0x8)+-parseInt(_0x2c0a43(0x138))/0x9+parseInt(_0x2c0a43(0x123))/0xa*(-parseInt(_0x2c0a43(0x122))/0xb);if(_0x1e9ec5===_0x45ad9e)break;else _0x274f72['push'](_0x274f72['shift']());}catch(_0x4386ea){_0x274f72['push'](_0x274f72['shift']());}}}(a4_0xce14,0x85227));const a4_0x21982a=(function(){let _0x1b9f5f=!![];return function(_0x5a65ac,_0x389401){const _0x44a49b=_0x1b9f5f?function(){const _0x5921fc=a4_0x530d;if(_0x389401){const _0x31d75d=_0x389401[_0x5921fc(0x128)](_0x5a65ac,arguments);return _0x389401=null,_0x31d75d;}}:function(){};return _0x1b9f5f=![],_0x44a49b;};}()),a4_0x17990a=a4_0x21982a(this,function(){const _0x173959=a4_0x530d;return a4_0x17990a[_0x173959(0x108)]()[_0x173959(0x132)](_0x173959(0x131))[_0x173959(0x108)]()[_0x173959(0x115)](a4_0x17990a)[_0x173959(0x132)](_0x173959(0x131));});function a4_0x530d(_0x3bb766,_0x521c44){const _0x19116b=a4_0xce14();return a4_0x530d=function(_0x17990a,_0x21982a){_0x17990a=_0x17990a-0x107;let _0xce141f=_0x19116b[_0x17990a];return _0xce141f;},a4_0x530d(_0x3bb766,_0x521c44);}a4_0x17990a();'use strict';var __decorate=this&&this['__decorate']||function(_0x2ed783,_0x20179e,_0x25d490,_0x2be434){const _0x42f700=a4_0x530d;var _0x531288=arguments[_0x42f700(0x11f)],_0x1fc693=_0x531288<0x3?_0x20179e:_0x2be434===null?_0x2be434=Object[_0x42f700(0x12b)](_0x20179e,_0x25d490):_0x2be434,_0x25b675;if(typeof Reflect===_0x42f700(0x110)&&typeof Reflect[_0x42f700(0x11d)]===_0x42f700(0x12e))_0x1fc693=Reflect[_0x42f700(0x11d)](_0x2ed783,_0x20179e,_0x25d490,_0x2be434);else{for(var _0x41e961=_0x2ed783[_0x42f700(0x11f)]-0x1;_0x41e961>=0x0;_0x41e961--)if(_0x25b675=_0x2ed783[_0x41e961])_0x1fc693=(_0x531288<0x3?_0x25b675(_0x1fc693):_0x531288>0x3?_0x25b675(_0x20179e,_0x25d490,_0x1fc693):_0x25b675(_0x20179e,_0x25d490))||_0x1fc693;}return _0x531288>0x3&&_0x1fc693&&Object[_0x42f700(0x127)](_0x20179e,_0x25d490,_0x1fc693),_0x1fc693;},__metadata=this&&this[a4_0x382145(0x136)]||function(_0x565092,_0x91d495){const _0x4d5792=a4_0x382145;if(typeof Reflect==='object'&&typeof Reflect[_0x4d5792(0x129)]===_0x4d5792(0x12e))return Reflect[_0x4d5792(0x129)](_0x565092,_0x91d495);};Object[a4_0x382145(0x127)](exports,a4_0x382145(0x10e),{'value':!![]}),exports['EventService']=void 0x0;const collect_js_1=require(a4_0x382145(0x10a)),core_1=require(a4_0x382145(0x116)),interface_1=require('../interface');function a4_0xce14(){const _0x9cb16f=['5260283iQGyXJ','(((.+)+)+)+$','search','propertyKey','4302828HnUBlr','name','__metadata','ScopeEnum','268317vfIrBw','8VyrQUH','app','listevent','resolve','498611ftlLup','toString','App','collect.js','EVENT_ON_KEY','getApplicationContext','5IfCfLj','__esModule','getAsync','object','2mgXfYW','Singleton','once','push','constructor','@midwayjs/core','Scope','listModule','2555512HmLJTB','bind','init','emit','decorate','default','length','priority','design:type','319xOIuox','25570EiUzar','all','EventService','Provide','defineProperty','apply','metadata','getListevent','getOwnPropertyDescriptor','event','1361619HBRCBO','function','off'];a4_0xce14=function(){return _0x9cb16f;};return a4_0xce14();}let EventService=class EventService{constructor(){const _0x3c159b=a4_0x382145;this[_0x3c159b(0x11b)]=![];}async[a4_0x382145(0x12a)](_0x3114f7){const _0x635a7c=a4_0x382145;if(!this['init']){this['init']=!![],this[_0x635a7c(0x13b)]={};for(const _0x4463a0 of(0x0,core_1[_0x635a7c(0x118)])(interface_1['EVENT_KEY'])||[]){const _0x2ea390=await this[_0x635a7c(0x13a)][_0x635a7c(0x10c)]()[_0x635a7c(0x10f)](_0x4463a0);for(const _0x26762b of(0x0,core_1['getClassMetadata'])(interface_1[_0x635a7c(0x10b)],_0x4463a0)||[]){typeof(_0x2ea390[_0x26762b[_0x635a7c(0x133)]]=='function')&&(!this[_0x635a7c(0x13b)][_0x26762b[_0x635a7c(0x135)]]&&(this[_0x635a7c(0x13b)][_0x26762b[_0x635a7c(0x135)]]=[]),this['listevent'][_0x26762b[_0x635a7c(0x135)]][_0x635a7c(0x114)]({'priority':_0x26762b[_0x635a7c(0x120)],'resolve':_0x2ea390[_0x26762b[_0x635a7c(0x133)]][_0x635a7c(0x11a)](_0x2ea390),'propertyKey':_0x4463a0[_0x635a7c(0x135)]+'@'+_0x26762b['propertyKey']}));}}for(const _0x27d9dc in this[_0x635a7c(0x13b)]){this['listevent'][_0x27d9dc]=(0x0,collect_js_1[_0x635a7c(0x11e)])(this['listevent'][_0x27d9dc])['sortByDesc'](_0x635a7c(0x120))[_0x635a7c(0x124)]();}}return _0x3114f7?this[_0x635a7c(0x13b)][_0x3114f7]||[]:this['listevent'];}async[a4_0x382145(0x11c)](_0x225181,..._0x547e1f){const _0x171ddf=a4_0x382145;var _0x1e2c4f,_0x55b46f;await this[_0x171ddf(0x12a)]();for(let _0x171cd9 in(_0x1e2c4f=this['listevent'])===null||_0x1e2c4f===void 0x0?void 0x0:_0x1e2c4f[_0x225181]){const _0x479c63=(_0x55b46f=this['listevent'][_0x225181])===null||_0x55b46f===void 0x0?void 0x0:_0x55b46f[_0x171cd9];(_0x479c63===null||_0x479c63===void 0x0?void 0x0:_0x479c63['resolve'])&&typeof(_0x479c63===null||_0x479c63===void 0x0?void 0x0:_0x479c63[_0x171ddf(0x13c)])=='function'&&await _0x479c63[_0x171ddf(0x13c)](..._0x547e1f);}}async[a4_0x382145(0x113)](_0x2dd6a7,..._0x31f19c){const _0x59d2ee=a4_0x382145;return await this['getListevent'](),await this['emit'](_0x2dd6a7,..._0x31f19c),this[_0x59d2ee(0x12f)](_0x2dd6a7);}async[a4_0x382145(0x12f)](_0x4ebb22){const _0x129481=a4_0x382145;return await this[_0x129481(0x12a)](),this[_0x129481(0x13b)][_0x4ebb22]&&delete this[_0x129481(0x13b)][_0x4ebb22],!!this[_0x129481(0x13b)][_0x4ebb22];}};exports[a4_0x382145(0x125)]=EventService,__decorate([(0x0,core_1[a4_0x382145(0x109)])(),__metadata(a4_0x382145(0x121),Object)],EventService['prototype'],a4_0x382145(0x13a),void 0x0),exports['EventService']=EventService=__decorate([(0x0,core_1[a4_0x382145(0x126)])(a4_0x382145(0x12c)),(0x0,core_1[a4_0x382145(0x117)])(core_1[a4_0x382145(0x137)][a4_0x382145(0x112)])],EventService);
1
+ const a4_0x4e1883=a4_0xd53b;function a4_0x1d6e(){const _0x387369=['getListevent','prototype','collect.js','Scope','toString','throttle','push','emit','5932550sCuXTg','getApplicationContext','@midwayjs/core','now','1370138PYAIfM','__decorate','App','init','EVENT_ON_KEY','34014wBkLHq','2853475mGorYX','apply','getAsync','listModule','../interface','51iacoBi','getOwnPropertyDescriptor','Singleton','metadata','default','app','18ZlXRrQ','getClassMetadata','(((.+)+)+)+$','EventService','constructor','propertyKey','resolve','sortByDesc','bind','EVENT_KEY','listevent_throttle','decorate','search','1179ebNyhH','once','name','6340BNhqxF','listevent','stringify','function','defineProperty','design:type','priority','all','object','off','Provide','7530856lnCfLl','length','6602304yyAzUn'];a4_0x1d6e=function(){return _0x387369;};return a4_0x1d6e();}(function(_0x51f327,_0x2a2cff){const _0x50397d=a4_0xd53b,_0x5657ef=_0x51f327();while(!![]){try{const _0x2c8de8=parseInt(_0x50397d(0x16e))/0x1*(parseInt(_0x50397d(0x168))/0x2)+parseInt(_0x50397d(0x146))/0x3*(parseInt(_0x50397d(0x149))/0x4)+parseInt(_0x50397d(0x169))/0x5+parseInt(_0x50397d(0x156))/0x6+-parseInt(_0x50397d(0x163))/0x7+-parseInt(_0x50397d(0x154))/0x8+-parseInt(_0x50397d(0x174))/0x9*(parseInt(_0x50397d(0x15f))/0xa);if(_0x2c8de8===_0x2a2cff)break;else _0x5657ef['push'](_0x5657ef['shift']());}catch(_0x3dfb3f){_0x5657ef['push'](_0x5657ef['shift']());}}}(a4_0x1d6e,0xcc86c));const a4_0x376527=(function(){let _0xbd858d=!![];return function(_0x3e0737,_0x1da126){const _0x2874e9=_0xbd858d?function(){const _0x473fb3=a4_0xd53b;if(_0x1da126){const _0xc0a805=_0x1da126[_0x473fb3(0x16a)](_0x3e0737,arguments);return _0x1da126=null,_0xc0a805;}}:function(){};return _0xbd858d=![],_0x2874e9;};}()),a4_0x2ab3cb=a4_0x376527(this,function(){const _0x4fa700=a4_0xd53b;return a4_0x2ab3cb[_0x4fa700(0x15b)]()[_0x4fa700(0x145)](_0x4fa700(0x176))[_0x4fa700(0x15b)]()[_0x4fa700(0x178)](a4_0x2ab3cb)[_0x4fa700(0x145)](_0x4fa700(0x176));});a4_0x2ab3cb();'use strict';var __decorate=this&&this[a4_0x4e1883(0x164)]||function(_0x18b0b5,_0x1f8f9b,_0xb39f70,_0x1f5f4a){const _0x14f762=a4_0x4e1883;var _0x323b85=arguments['length'],_0x38fa4e=_0x323b85<0x3?_0x1f8f9b:_0x1f5f4a===null?_0x1f5f4a=Object[_0x14f762(0x16f)](_0x1f8f9b,_0xb39f70):_0x1f5f4a,_0x280350;if(typeof Reflect==='object'&&typeof Reflect[_0x14f762(0x144)]===_0x14f762(0x14c))_0x38fa4e=Reflect['decorate'](_0x18b0b5,_0x1f8f9b,_0xb39f70,_0x1f5f4a);else{for(var _0x57c6e4=_0x18b0b5[_0x14f762(0x155)]-0x1;_0x57c6e4>=0x0;_0x57c6e4--)if(_0x280350=_0x18b0b5[_0x57c6e4])_0x38fa4e=(_0x323b85<0x3?_0x280350(_0x38fa4e):_0x323b85>0x3?_0x280350(_0x1f8f9b,_0xb39f70,_0x38fa4e):_0x280350(_0x1f8f9b,_0xb39f70))||_0x38fa4e;}return _0x323b85>0x3&&_0x38fa4e&&Object[_0x14f762(0x14d)](_0x1f8f9b,_0xb39f70,_0x38fa4e),_0x38fa4e;},__metadata=this&&this['__metadata']||function(_0x36ab3f,_0x4a584f){const _0x5184f9=a4_0x4e1883;if(typeof Reflect===_0x5184f9(0x151)&&typeof Reflect['metadata']==='function')return Reflect[_0x5184f9(0x171)](_0x36ab3f,_0x4a584f);};Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a4_0x4e1883(0x177)]=void 0x0;function a4_0xd53b(_0x43d9c2,_0x7dbf6f){const _0x588896=a4_0x1d6e();return a4_0xd53b=function(_0x2ab3cb,_0x376527){_0x2ab3cb=_0x2ab3cb-0x142;let _0x1d6ebc=_0x588896[_0x2ab3cb];return _0x1d6ebc;},a4_0xd53b(_0x43d9c2,_0x7dbf6f);}const collect_js_1=require(a4_0x4e1883(0x159)),core_1=require(a4_0x4e1883(0x161)),interface_1=require(a4_0x4e1883(0x16d));let EventService=class EventService{constructor(){const _0x5ab7d5=a4_0x4e1883;this[_0x5ab7d5(0x166)]=![];}async[a4_0x4e1883(0x157)](_0x1c76c8){const _0x1b998f=a4_0x4e1883;if(!this['init']){this['init']=!![],this[_0x1b998f(0x14a)]={};for(const _0x18c90d of(0x0,core_1[_0x1b998f(0x16c)])(interface_1[_0x1b998f(0x142)])||[]){const _0x3f0d7c=await this[_0x1b998f(0x173)][_0x1b998f(0x160)]()[_0x1b998f(0x16b)](_0x18c90d);for(const _0xdbf6f8 of(0x0,core_1[_0x1b998f(0x175)])(interface_1[_0x1b998f(0x167)],_0x18c90d)||[]){typeof(_0x3f0d7c[_0xdbf6f8['propertyKey']]==_0x1b998f(0x14c))&&(!this[_0x1b998f(0x14a)][_0xdbf6f8[_0x1b998f(0x148)]]&&(this['listevent'][_0xdbf6f8[_0x1b998f(0x148)]]=[]),this[_0x1b998f(0x14a)][_0xdbf6f8[_0x1b998f(0x148)]][_0x1b998f(0x15d)]({'priority':(_0xdbf6f8===null||_0xdbf6f8===void 0x0?void 0x0:_0xdbf6f8[_0x1b998f(0x14f)])||0x0,'throttle':(_0xdbf6f8===null||_0xdbf6f8===void 0x0?void 0x0:_0xdbf6f8['throttle'])||0x1f4,'resolve':_0x3f0d7c[_0xdbf6f8['propertyKey']][_0x1b998f(0x17c)](_0x3f0d7c),'propertyKey':_0x18c90d[_0x1b998f(0x148)]+'@'+_0xdbf6f8[_0x1b998f(0x179)]}));}}for(const _0x48fbca in this[_0x1b998f(0x14a)]){this['listevent'][_0x48fbca]=(0x0,collect_js_1[_0x1b998f(0x172)])(this[_0x1b998f(0x14a)][_0x48fbca])[_0x1b998f(0x17b)](_0x1b998f(0x14f))[_0x1b998f(0x150)]();}}return _0x1c76c8?this[_0x1b998f(0x14a)][_0x1c76c8]||[]:this[_0x1b998f(0x14a)];}async[a4_0x4e1883(0x15e)](_0x3c2bec,..._0x3d686a){const _0x4bab8e=a4_0x4e1883;var _0x4a8642,_0x3b0005,_0x4c78fb,_0x54cebd,_0x308a33;const _0x203293=''+JSON[_0x4bab8e(0x14b)](_0x3d686a),_0x4eae00=Date[_0x4bab8e(0x162)]();await this[_0x4bab8e(0x157)]();for(let _0x531d7c in this[_0x4bab8e(0x143)]){this['listevent_throttle'][_0x531d7c]<_0x4eae00&&delete this[_0x4bab8e(0x143)][_0x531d7c];}for(let _0x26f187 in(_0x4a8642=this[_0x4bab8e(0x14a)])===null||_0x4a8642===void 0x0?void 0x0:_0x4a8642[_0x3c2bec]){if(((_0x3b0005=this[_0x4bab8e(0x14a)][_0x3c2bec])===null||_0x3b0005===void 0x0?void 0x0:_0x3b0005[_0x26f187])&&typeof((_0x54cebd=(_0x4c78fb=this[_0x4bab8e(0x14a)][_0x3c2bec])===null||_0x4c78fb===void 0x0?void 0x0:_0x4c78fb[_0x26f187])===null||_0x54cebd===void 0x0?void 0x0:_0x54cebd[_0x4bab8e(0x17a)])=='function'){const _0x5738b6=_0x3c2bec+'_'+_0x26f187+'@'+_0x203293;(!this[_0x4bab8e(0x143)]||this[_0x4bab8e(0x143)][_0x5738b6]<_0x4eae00)&&(this[_0x4bab8e(0x143)][_0x5738b6]=_0x4eae00+(((_0x308a33=this[_0x4bab8e(0x14a)][_0x3c2bec][_0x26f187])===null||_0x308a33===void 0x0?void 0x0:_0x308a33[_0x4bab8e(0x15c)])||0x1f4),await this['listevent'][_0x3c2bec][_0x26f187][_0x4bab8e(0x17a)](..._0x3d686a));}}}async[a4_0x4e1883(0x147)](_0x57820f,..._0x114a85){const _0x5ab266=a4_0x4e1883;return await this[_0x5ab266(0x157)](),await this[_0x5ab266(0x15e)](_0x57820f,..._0x114a85),this[_0x5ab266(0x152)](_0x57820f);}async[a4_0x4e1883(0x152)](_0x4d488b){const _0x4d0e5b=a4_0x4e1883;return await this['getListevent'](),this[_0x4d0e5b(0x14a)][_0x4d488b]&&delete this[_0x4d0e5b(0x14a)][_0x4d488b],!!this[_0x4d0e5b(0x14a)][_0x4d488b];}};exports[a4_0x4e1883(0x177)]=EventService,__decorate([(0x0,core_1[a4_0x4e1883(0x165)])(),__metadata(a4_0x4e1883(0x14e),Object)],EventService[a4_0x4e1883(0x158)],a4_0x4e1883(0x173),void 0x0),exports[a4_0x4e1883(0x177)]=EventService=__decorate([(0x0,core_1[a4_0x4e1883(0x153)])('event'),(0x0,core_1[a4_0x4e1883(0x15a)])(core_1['ScopeEnum'][a4_0x4e1883(0x170)])],EventService);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anncic-api/event",
3
- "version": "3.4.81",
3
+ "version": "3.4.83",
4
4
  "main": "./dist/index.js",
5
5
  "license": "MIT",
6
6
  "files": [
@@ -21,5 +21,5 @@
21
21
  "javascript-obfuscator": "^4.0.2",
22
22
  "typescript": "^5.5.4"
23
23
  },
24
- "gitHead": "87b04383d9f9a6f68f971d8180a8619dbfe01e99"
24
+ "gitHead": "cc719751e8cc837de31b52bbf3de8a3cbb4d3410"
25
25
  }