@anveroapi/event 3.0.0 → 3.0.2

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_0xd7848=a0_0x7b47;(function(_0x2c4fc4,_0x310831){var _0x24bb26=a0_0x7b47,_0x2d3b38=_0x2c4fc4();while(!![]){try{var _0x5ec0cb=parseInt(_0x24bb26(0x1f6))/0x1*(-parseInt(_0x24bb26(0x20f))/0x2)+parseInt(_0x24bb26(0x20e))/0x3+-parseInt(_0x24bb26(0x1ff))/0x4*(parseInt(_0x24bb26(0x1f8))/0x5)+parseInt(_0x24bb26(0x201))/0x6+-parseInt(_0x24bb26(0x208))/0x7+-parseInt(_0x24bb26(0x202))/0x8+parseInt(_0x24bb26(0x203))/0x9;if(_0x5ec0cb===_0x310831)break;else _0x2d3b38['push'](_0x2d3b38['shift']());}catch(_0x4bab5d){_0x2d3b38['push'](_0x2d3b38['shift']());}}}(a0_0x65c7,0x60f5d));var a0_0x295a90=(function(){var _0x4fb52f=!![];return function(_0x507c59,_0x513eda){var _0x481228=_0x4fb52f?function(){if(_0x513eda){var _0x1aa61a=_0x513eda['apply'](_0x507c59,arguments);return _0x513eda=null,_0x1aa61a;}}:function(){};return _0x4fb52f=![],_0x481228;};}()),a0_0x19a0b4=a0_0x295a90(this,function(){var _0x2473fa=a0_0x7b47;return a0_0x19a0b4[_0x2473fa(0x1fe)]()['search'](_0x2473fa(0x209))['toString']()[_0x2473fa(0x211)](a0_0x19a0b4)[_0x2473fa(0x1f9)](_0x2473fa(0x209));});a0_0x19a0b4();function a0_0x65c7(){var _0x4b5b5f=['17042922WUURRm','anvero-api:event','design:type','Inject','defineProperty','928466aGRaRf','(((.+)+)+)+$','decorator','MidwayConfigService','__metadata','decorate','282309IskHcq','1427986tLNvpL','function','constructor','prototype','Configuration','onReady','__esModule','1ZIfrZV','@midwayjs/core','2878175vnRjoH','search','object','CustomConfiguration','MidwayDecoratorService','getOwnPropertyDescriptor','toString','4SoQGNl','length','17376aZruyc','1369936eFKafF'];a0_0x65c7=function(){return _0x4b5b5f;};return a0_0x65c7();}function a0_0x7b47(_0x2d453d,_0x559369){_0x2d453d=_0x2d453d-0x1f3;var _0x3ee4e6=a0_0x65c7();var _0x19a0b4=_0x3ee4e6[_0x2d453d];return _0x19a0b4;}'use strict';var __decorate=this&&this['__decorate']||function(_0x52b8e0,_0x262ef7,_0x40d5c7,_0x2cb25f){var _0x96dfb2=a0_0x7b47,_0x41d27a=arguments[_0x96dfb2(0x200)],_0x5d4408=_0x41d27a<0x3?_0x262ef7:_0x2cb25f===null?_0x2cb25f=Object[_0x96dfb2(0x1fd)](_0x262ef7,_0x40d5c7):_0x2cb25f,_0x25bb81;if(typeof Reflect===_0x96dfb2(0x1fa)&&typeof Reflect['decorate']===_0x96dfb2(0x210))_0x5d4408=Reflect[_0x96dfb2(0x20d)](_0x52b8e0,_0x262ef7,_0x40d5c7,_0x2cb25f);else{for(var _0x3ec8ea=_0x52b8e0[_0x96dfb2(0x200)]-0x1;_0x3ec8ea>=0x0;_0x3ec8ea--)if(_0x25bb81=_0x52b8e0[_0x3ec8ea])_0x5d4408=(_0x41d27a<0x3?_0x25bb81(_0x5d4408):_0x41d27a>0x3?_0x25bb81(_0x262ef7,_0x40d5c7,_0x5d4408):_0x25bb81(_0x262ef7,_0x40d5c7))||_0x5d4408;}return _0x41d27a>0x3&&_0x5d4408&&Object[_0x96dfb2(0x207)](_0x262ef7,_0x40d5c7,_0x5d4408),_0x5d4408;},__metadata=this&&this[a0_0xd7848(0x20c)]||function(_0x9b582a,_0x408b75){var _0xe52787=a0_0xd7848;if(typeof Reflect===_0xe52787(0x1fa)&&typeof Reflect['metadata']==='function')return Reflect['metadata'](_0x9b582a,_0x408b75);};Object[a0_0xd7848(0x207)](exports,a0_0xd7848(0x1f5),{'value':!![]}),exports['CustomConfiguration']=void 0x0;const core_1=require(a0_0xd7848(0x1f7)),core_2=require(a0_0xd7848(0x1f7));let CustomConfiguration=class CustomConfiguration{async[a0_0xd7848(0x1f4)](){}};exports['CustomConfiguration']=CustomConfiguration,__decorate([(0x0,core_1[a0_0xd7848(0x206)])(),__metadata(a0_0xd7848(0x205),core_2[a0_0xd7848(0x20b)])],CustomConfiguration[a0_0xd7848(0x212)],'config',void 0x0),__decorate([(0x0,core_1[a0_0xd7848(0x206)])(),__metadata(a0_0xd7848(0x205),core_2[a0_0xd7848(0x1fc)])],CustomConfiguration['prototype'],a0_0xd7848(0x20a),void 0x0),exports[a0_0xd7848(0x1fb)]=CustomConfiguration=__decorate([(0x0,core_1[a0_0xd7848(0x1f3)])({'conflictCheck':![],'namespace':a0_0xd7848(0x204)})],CustomConfiguration);
1
+ var a0_0xd3e8eb=a0_0x500e;function a0_0x1651(){var _0x29d861=['1178491LshVWq','prototype','__decorate','__esModule','5654955NnKMeU','@midwayjs/core','5692482lEQrcp','Configuration','defineProperty','toString','metadata','decorator','getOwnPropertyDescriptor','32YCoKMm','(((.+)+)+)+$','onReady','design:type','MidwayConfigService','constructor','7652528ZcgUCN','526830WowAKL','function','anvero-api:event','1140980aLYare','search','config','__metadata','63LBfhfF','apply','CustomConfiguration','MidwayDecoratorService','Inject','decorate','object','685302DTybGl'];a0_0x1651=function(){return _0x29d861;};return a0_0x1651();}(function(_0x4f7ff1,_0x225e38){var _0x160822=a0_0x500e,_0x35565d=_0x4f7ff1();while(!![]){try{var _0x4a1736=parseInt(_0x160822(0x17f))/0x1+-parseInt(_0x160822(0x173))/0x2+parseInt(_0x160822(0x170))/0x3*(-parseInt(_0x160822(0x169))/0x4)+parseInt(_0x160822(0x160))/0x5+-parseInt(_0x160822(0x17e))/0x6*(parseInt(_0x160822(0x177))/0x7)+parseInt(_0x160822(0x16f))/0x8+parseInt(_0x160822(0x162))/0x9;if(_0x4a1736===_0x225e38)break;else _0x35565d['push'](_0x35565d['shift']());}catch(_0x220f95){_0x35565d['push'](_0x35565d['shift']());}}}(a0_0x1651,0xda8f7));var a0_0x556ec3=(function(){var _0x23b536=!![];return function(_0x39754e,_0x50d6b2){var _0x571b5c=_0x23b536?function(){var _0x15a182=a0_0x500e;if(_0x50d6b2){var _0x4fa46d=_0x50d6b2[_0x15a182(0x178)](_0x39754e,arguments);return _0x50d6b2=null,_0x4fa46d;}}:function(){};return _0x23b536=![],_0x571b5c;};}()),a0_0x59faff=a0_0x556ec3(this,function(){var _0x1c60be=a0_0x500e;return a0_0x59faff['toString']()[_0x1c60be(0x174)](_0x1c60be(0x16a))[_0x1c60be(0x165)]()[_0x1c60be(0x16e)](a0_0x59faff)[_0x1c60be(0x174)](_0x1c60be(0x16a));});a0_0x59faff();'use strict';var __decorate=this&&this[a0_0xd3e8eb(0x15e)]||function(_0xf2aa5a,_0x37a79e,_0x334efd,_0x391855){var _0x13fcf5=a0_0xd3e8eb,_0x121aaf=arguments['length'],_0xba515f=_0x121aaf<0x3?_0x37a79e:_0x391855===null?_0x391855=Object[_0x13fcf5(0x168)](_0x37a79e,_0x334efd):_0x391855,_0x3604b1;if(typeof Reflect===_0x13fcf5(0x17d)&&typeof Reflect['decorate']==='function')_0xba515f=Reflect[_0x13fcf5(0x17c)](_0xf2aa5a,_0x37a79e,_0x334efd,_0x391855);else{for(var _0x505d64=_0xf2aa5a['length']-0x1;_0x505d64>=0x0;_0x505d64--)if(_0x3604b1=_0xf2aa5a[_0x505d64])_0xba515f=(_0x121aaf<0x3?_0x3604b1(_0xba515f):_0x121aaf>0x3?_0x3604b1(_0x37a79e,_0x334efd,_0xba515f):_0x3604b1(_0x37a79e,_0x334efd))||_0xba515f;}return _0x121aaf>0x3&&_0xba515f&&Object[_0x13fcf5(0x164)](_0x37a79e,_0x334efd,_0xba515f),_0xba515f;},__metadata=this&&this[a0_0xd3e8eb(0x176)]||function(_0x7b7bc6,_0x75870d){var _0x3f90af=a0_0xd3e8eb;if(typeof Reflect===_0x3f90af(0x17d)&&typeof Reflect[_0x3f90af(0x166)]===_0x3f90af(0x171))return Reflect[_0x3f90af(0x166)](_0x7b7bc6,_0x75870d);};Object[a0_0xd3e8eb(0x164)](exports,a0_0xd3e8eb(0x15f),{'value':!![]}),exports[a0_0xd3e8eb(0x179)]=void 0x0;const core_1=require(a0_0xd3e8eb(0x161)),core_2=require(a0_0xd3e8eb(0x161));let CustomConfiguration=class CustomConfiguration{async[a0_0xd3e8eb(0x16b)](){}};function a0_0x500e(_0x13728a,_0x47ae27){_0x13728a=_0x13728a-0x15e;var _0x10fadb=a0_0x1651();var _0x59faff=_0x10fadb[_0x13728a];return _0x59faff;}exports[a0_0xd3e8eb(0x179)]=CustomConfiguration,__decorate([(0x0,core_1[a0_0xd3e8eb(0x17b)])(),__metadata(a0_0xd3e8eb(0x16c),core_2[a0_0xd3e8eb(0x16d)])],CustomConfiguration[a0_0xd3e8eb(0x180)],a0_0xd3e8eb(0x175),void 0x0),__decorate([(0x0,core_1[a0_0xd3e8eb(0x17b)])(),__metadata(a0_0xd3e8eb(0x16c),core_2[a0_0xd3e8eb(0x17a)])],CustomConfiguration['prototype'],a0_0xd3e8eb(0x167),void 0x0),exports[a0_0xd3e8eb(0x179)]=CustomConfiguration=__decorate([(0x0,core_1[a0_0xd3e8eb(0x163)])({'conflictCheck':![],'namespace':a0_0xd3e8eb(0x172)})],CustomConfiguration);
@@ -1 +1 @@
1
- const a1_0xb84d4=a1_0x5aa1;function a1_0x5aa1(_0x23bd0b,_0x44c853){_0x23bd0b=_0x23bd0b-0x141;const _0x4c03bd=a1_0xb0b7();let _0x538647=_0x4c03bd[_0x23bd0b];return _0x538647;}(function(_0x2a2d44,_0x3c0bdd){const _0x40db77=a1_0x5aa1,_0x52f221=_0x2a2d44();while(!![]){try{const _0x1295da=-parseInt(_0x40db77(0x14a))/0x1+parseInt(_0x40db77(0x145))/0x2+-parseInt(_0x40db77(0x157))/0x3*(-parseInt(_0x40db77(0x149))/0x4)+parseInt(_0x40db77(0x153))/0x5+parseInt(_0x40db77(0x14b))/0x6*(-parseInt(_0x40db77(0x156))/0x7)+parseInt(_0x40db77(0x14c))/0x8+-parseInt(_0x40db77(0x14d))/0x9*(parseInt(_0x40db77(0x147))/0xa);if(_0x1295da===_0x3c0bdd)break;else _0x52f221['push'](_0x52f221['shift']());}catch(_0x19eace){_0x52f221['push'](_0x52f221['shift']());}}}(a1_0xb0b7,0x98939));const a1_0x434552=(function(){let _0x521e1b=!![];return function(_0x17201b,_0x26926b){const _0xdb4977=_0x521e1b?function(){if(_0x26926b){const _0x34269f=_0x26926b['apply'](_0x17201b,arguments);return _0x26926b=null,_0x34269f;}}:function(){};return _0x521e1b=![],_0xdb4977;};}()),a1_0x538647=a1_0x434552(this,function(){const _0x57da1d=a1_0x5aa1;return a1_0x538647[_0x57da1d(0x155)]()[_0x57da1d(0x14f)](_0x57da1d(0x144))['toString']()[_0x57da1d(0x154)](a1_0x538647)[_0x57da1d(0x14f)](_0x57da1d(0x144));});a1_0x538647();function a1_0xb0b7(){const _0xe89d32=['1144917rfQIbL','18EmeXzE','7680840baAGAk','274203hHrttw','../interface','search','ScopeEnum','EVENT_KEY','Provide','5053445VpLsHE','constructor','toString','908782BsNGDn','21zRHmLo','Scope','Request','EVENT_ON_KEY','@midwayjs/core','(((.+)+)+)+$','2352006GwYDOI','saveModule','470VUDyqk','__esModule','254000GVERrW'];a1_0xb0b7=function(){return _0xe89d32;};return a1_0xb0b7();}'use strict';Object['defineProperty'](exports,a1_0xb84d4(0x148),{'value':!![]}),exports['Event']=Event;const core_1=require(a1_0xb84d4(0x143)),interface_1=require(a1_0xb84d4(0x14e));function Event(){return _0x22a8b5=>{const _0x4c20df=a1_0x5aa1;(0x0,core_1[_0x4c20df(0x152)])()(_0x22a8b5),(0x0,core_1[_0x4c20df(0x146)])(interface_1[_0x4c20df(0x151)],_0x22a8b5),(0x0,core_1[_0x4c20df(0x158)])(core_1[_0x4c20df(0x150)][_0x4c20df(0x141)],{'allowDowngrade':!![]})(_0x22a8b5);};}Event['On']=function(_0x1e03e5,_0xba870a=0x0,_0x18f6db=0x1f4){return(_0x2c340b,_0x3ec609,_0x3ab6c5)=>{const _0x110a58=a1_0x5aa1;return(0x0,core_1['attachClassMetadata'])(interface_1[_0x110a58(0x142)],{'name':_0x1e03e5,'priority':_0xba870a,'propertyKey':_0x3ec609,'descriptor':_0x3ab6c5,'throttle':_0x18f6db},_0x2c340b),_0x3ab6c5;};};
1
+ const a1_0x1dd598=a1_0x373b;(function(_0x25ca43,_0x19ff71){const _0x188f5e=a1_0x373b,_0x457a34=_0x25ca43();while(!![]){try{const _0x28e19b=-parseInt(_0x188f5e(0x1f8))/0x1+-parseInt(_0x188f5e(0x1ff))/0x2+-parseInt(_0x188f5e(0x202))/0x3+parseInt(_0x188f5e(0x1f5))/0x4*(parseInt(_0x188f5e(0x208))/0x5)+parseInt(_0x188f5e(0x205))/0x6*(-parseInt(_0x188f5e(0x203))/0x7)+-parseInt(_0x188f5e(0x201))/0x8+parseInt(_0x188f5e(0x1fd))/0x9*(parseInt(_0x188f5e(0x209))/0xa);if(_0x28e19b===_0x19ff71)break;else _0x457a34['push'](_0x457a34['shift']());}catch(_0xda749e){_0x457a34['push'](_0x457a34['shift']());}}}(a1_0x529a,0x9fe22));const a1_0x15d50c=(function(){let _0x5f58c6=!![];return function(_0x2e1f41,_0x34ffa7){const _0x175eba=_0x5f58c6?function(){const _0x2c43fe=a1_0x373b;if(_0x34ffa7){const _0x5d485c=_0x34ffa7[_0x2c43fe(0x1f7)](_0x2e1f41,arguments);return _0x34ffa7=null,_0x5d485c;}}:function(){};return _0x5f58c6=![],_0x175eba;};}()),a1_0x43dee8=a1_0x15d50c(this,function(){const _0x40a566=a1_0x373b;return a1_0x43dee8[_0x40a566(0x1f9)]()[_0x40a566(0x1f6)](_0x40a566(0x1fe))[_0x40a566(0x1f9)]()['constructor'](a1_0x43dee8)[_0x40a566(0x1f6)]('(((.+)+)+)+$');});a1_0x43dee8();function a1_0x529a(){const _0x143460=['1356vVQhEa','__esModule','defineProperty','2120bHXxWI','8810rKoAtP','Event','@midwayjs/core','EVENT_KEY','Provide','7404OteDyL','search','apply','478676kqxXim','toString','attachClassMetadata','saveModule','ScopeEnum','39249bvZDij','(((.+)+)+)+$','2603092OIeHDc','EVENT_ON_KEY','5925960NxbHMp','946776nXpKZD','35168xIKyDf','../interface'];a1_0x529a=function(){return _0x143460;};return a1_0x529a();}'use strict';Object[a1_0x1dd598(0x207)](exports,a1_0x1dd598(0x206),{'value':!![]}),exports[a1_0x1dd598(0x20a)]=Event;const core_1=require(a1_0x1dd598(0x1f2)),interface_1=require(a1_0x1dd598(0x204));function Event(){return _0x55fbe7=>{const _0x3815c4=a1_0x373b;(0x0,core_1[_0x3815c4(0x1f4)])()(_0x55fbe7),(0x0,core_1[_0x3815c4(0x1fb)])(interface_1[_0x3815c4(0x1f3)],_0x55fbe7),(0x0,core_1['Scope'])(core_1[_0x3815c4(0x1fc)]['Request'],{'allowDowngrade':!![]})(_0x55fbe7);};}function a1_0x373b(_0x2b5f3e,_0x445eaf){_0x2b5f3e=_0x2b5f3e-0x1f2;const _0x5f1395=a1_0x529a();let _0x43dee8=_0x5f1395[_0x2b5f3e];return _0x43dee8;}Event['On']=function(_0xa59b37,_0x22d50d=0x0,_0x542ea1=0x1f4){return(_0x5d46c8,_0x45e56d,_0x45b337)=>{const _0x1aa647=a1_0x373b;return(0x0,core_1[_0x1aa647(0x1fa)])(interface_1[_0x1aa647(0x200)],{'name':_0xa59b37,'priority':_0x22d50d,'propertyKey':_0x45e56d,'descriptor':_0x45b337,'throttle':_0x542ea1},_0x5d46c8),_0x45b337;};};
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- var a2_0x4f4b51=a2_0x4d31;(function(_0x4300da,_0x40dcdd){var _0x100eb0=a2_0x4d31,_0x422fa7=_0x4300da();while(!![]){try{var _0x374902=parseInt(_0x100eb0(0x7f))/0x1*(-parseInt(_0x100eb0(0x7e))/0x2)+-parseInt(_0x100eb0(0x7a))/0x3+-parseInt(_0x100eb0(0x76))/0x4*(-parseInt(_0x100eb0(0x6c))/0x5)+parseInt(_0x100eb0(0x73))/0x6+parseInt(_0x100eb0(0x80))/0x7+parseInt(_0x100eb0(0x78))/0x8*(-parseInt(_0x100eb0(0x77))/0x9)+-parseInt(_0x100eb0(0x75))/0xa;if(_0x374902===_0x40dcdd)break;else _0x422fa7['push'](_0x422fa7['shift']());}catch(_0x3e71a1){_0x422fa7['push'](_0x422fa7['shift']());}}}(a2_0x2049,0x7217b));var a2_0x23c4e5=(function(){var _0x5d8992=!![];return function(_0x416741,_0x5ce47a){var _0x5c4a50=_0x5d8992?function(){if(_0x5ce47a){var _0x495669=_0x5ce47a['apply'](_0x416741,arguments);return _0x5ce47a=null,_0x495669;}}:function(){};return _0x5d8992=![],_0x5c4a50;};}()),a2_0x4dca57=a2_0x23c4e5(this,function(){var _0x3dc153=a2_0x4d31;return a2_0x4dca57[_0x3dc153(0x74)]()['search']('(((.+)+)+)+$')[_0x3dc153(0x74)]()['constructor'](a2_0x4dca57)[_0x3dc153(0x7b)]('(((.+)+)+)+$');});a2_0x4dca57();'use strict';function a2_0x4d31(_0x25b84a,_0x4e8eae){_0x25b84a=_0x25b84a-0x6c;var _0x2da44e=a2_0x2049();var _0x4dca57=_0x2da44e[_0x25b84a];return _0x4dca57;}Object['defineProperty'](exports,a2_0x4f4b51(0x6e),{'value':!![]}),exports[a2_0x4f4b51(0x79)]=exports['EventService']=exports['Event']=void 0x0;function a2_0x2049(){var _0x918955=['defineProperty','CustomConfiguration','./service/EventService','./decorator/Event','4551060CVhZpv','toString','1426990nDdsFT','348XvlJWI','154332kojOZn','312JsGuYb','Configuration','659616tLONUL','search','Event','./configuration','28170WoKdWa','3HFImKW','1995224hUuvNY','28585rWvfbz','EventService','__esModule'];a2_0x2049=function(){return _0x918955;};return a2_0x2049();}var Event_1=require(a2_0x4f4b51(0x72));Object[a2_0x4f4b51(0x6f)](exports,a2_0x4f4b51(0x7c),{'enumerable':!![],'get':function(){var _0x34bbda=a2_0x4f4b51;return Event_1[_0x34bbda(0x7c)];}});var EventService_1=require(a2_0x4f4b51(0x71));Object['defineProperty'](exports,'EventService',{'enumerable':!![],'get':function(){var _0x961165=a2_0x4f4b51;return EventService_1[_0x961165(0x6d)];}});var configuration_1=require(a2_0x4f4b51(0x7d));Object[a2_0x4f4b51(0x6f)](exports,'Configuration',{'enumerable':!![],'get':function(){var _0x429452=a2_0x4f4b51;return configuration_1[_0x429452(0x70)];}});
1
+ var a2_0x42aeb6=a2_0x2f9d;function a2_0x5af5(){var _0x39c8e4=['./service/EventService','1073798cqxcll','Event','996TtEhMR','__esModule','Configuration','787440FCTMbx','./decorator/Event','4306020rPHsdM','apply','8vLZlsD','search','toString','40nAXUFr','./configuration','1hkgeZT','EventService','2435flzAoW','defineProperty','constructor','10054JwyhpL','2644362JDfbmm','28nhXyxQ','776037SnRjDk'];a2_0x5af5=function(){return _0x39c8e4;};return a2_0x5af5();}(function(_0x5e3ae4,_0x5be2e3){var _0xb4bd48=a2_0x2f9d,_0x1887d0=_0x5e3ae4();while(!![]){try{var _0x8614af=-parseInt(_0xb4bd48(0xed))/0x1*(parseInt(_0xb4bd48(0xda))/0x2)+parseInt(_0xb4bd48(0xdd))/0x3+parseInt(_0xb4bd48(0xe1))/0x4*(parseInt(_0xb4bd48(0xd7))/0x5)+parseInt(_0xb4bd48(0xe4))/0x6*(parseInt(_0xb4bd48(0xdc))/0x7)+-parseInt(_0xb4bd48(0xe8))/0x8*(-parseInt(_0xb4bd48(0xdb))/0x9)+parseInt(_0xb4bd48(0xeb))/0xa*(-parseInt(_0xb4bd48(0xdf))/0xb)+-parseInt(_0xb4bd48(0xe6))/0xc;if(_0x8614af===_0x5be2e3)break;else _0x1887d0['push'](_0x1887d0['shift']());}catch(_0xf3ecfc){_0x1887d0['push'](_0x1887d0['shift']());}}}(a2_0x5af5,0x6c7e2));var a2_0x4e83e5=(function(){var _0x1065d4=!![];return function(_0x20d163,_0x1be1fb){var _0x45ea9d=_0x1065d4?function(){var _0x3ae65c=a2_0x2f9d;if(_0x1be1fb){var _0x3a8390=_0x1be1fb[_0x3ae65c(0xe7)](_0x20d163,arguments);return _0x1be1fb=null,_0x3a8390;}}:function(){};return _0x1065d4=![],_0x45ea9d;};}()),a2_0x2b4781=a2_0x4e83e5(this,function(){var _0x4204a6=a2_0x2f9d;return a2_0x2b4781[_0x4204a6(0xea)]()[_0x4204a6(0xe9)]('(((.+)+)+)+$')[_0x4204a6(0xea)]()[_0x4204a6(0xd9)](a2_0x2b4781)[_0x4204a6(0xe9)]('(((.+)+)+)+$');});a2_0x2b4781();'use strict';Object[a2_0x42aeb6(0xd8)](exports,a2_0x42aeb6(0xe2),{'value':!![]}),exports[a2_0x42aeb6(0xe3)]=exports['EventService']=exports[a2_0x42aeb6(0xe0)]=void 0x0;var Event_1=require(a2_0x42aeb6(0xe5));function a2_0x2f9d(_0x2dc394,_0x5bf88b){_0x2dc394=_0x2dc394-0xd7;var _0x1b01a8=a2_0x5af5();var _0x2b4781=_0x1b01a8[_0x2dc394];return _0x2b4781;}Object[a2_0x42aeb6(0xd8)](exports,a2_0x42aeb6(0xe0),{'enumerable':!![],'get':function(){var _0x48a5d8=a2_0x42aeb6;return Event_1[_0x48a5d8(0xe0)];}});var EventService_1=require(a2_0x42aeb6(0xde));Object[a2_0x42aeb6(0xd8)](exports,a2_0x42aeb6(0xee),{'enumerable':!![],'get':function(){var _0x1ed621=a2_0x42aeb6;return EventService_1[_0x1ed621(0xee)];}});var configuration_1=require(a2_0x42aeb6(0xec));Object[a2_0x42aeb6(0xd8)](exports,a2_0x42aeb6(0xe3),{'enumerable':!![],'get':function(){return configuration_1['CustomConfiguration'];}});
package/dist/interface.js CHANGED
@@ -1 +1 @@
1
- function a3_0x4b4f(){var _0x5b2d95=['constructor','411650uocWJj','8QcCldK','5905kbScTR','EVENT_KEY','EVENT_ON_KEY','(((.+)+)+)+$','613131nQfxfI','defineProperty','anvero-api:event','3501864ezpKjX','__esModule','4LhHcPl','464606XKoULw','107779pnYlUM','toString','anvero-api:event:on','search','apply','1900998XcshYM'];a3_0x4b4f=function(){return _0x5b2d95;};return a3_0x4b4f();}var a3_0xfc10ab=a3_0xc847;(function(_0x506360,_0x5e26de){var _0x2e345b=a3_0xc847,_0xa067e9=_0x506360();while(!![]){try{var _0x5b6024=-parseInt(_0x2e345b(0x156))/0x1+-parseInt(_0x2e345b(0x160))/0x2+parseInt(_0x2e345b(0x15a))/0x3*(-parseInt(_0x2e345b(0x15f))/0x4)+-parseInt(_0x2e345b(0x154))/0x5+parseInt(_0x2e345b(0x152))/0x6+-parseInt(_0x2e345b(0x161))/0x7*(parseInt(_0x2e345b(0x155))/0x8)+parseInt(_0x2e345b(0x15d))/0x9;if(_0x5b6024===_0x5e26de)break;else _0xa067e9['push'](_0xa067e9['shift']());}catch(_0x349fc5){_0xa067e9['push'](_0xa067e9['shift']());}}}(a3_0x4b4f,0x286f1));var a3_0x2c7f62=(function(){var _0xbdd7a5=!![];return function(_0x5ec514,_0x33294d){var _0x928f5b=_0xbdd7a5?function(){var _0x6b89a8=a3_0xc847;if(_0x33294d){var _0x1afe2a=_0x33294d[_0x6b89a8(0x151)](_0x5ec514,arguments);return _0x33294d=null,_0x1afe2a;}}:function(){};return _0xbdd7a5=![],_0x928f5b;};}()),a3_0x3a7a3f=a3_0x2c7f62(this,function(){var _0x6585d8=a3_0xc847;return a3_0x3a7a3f[_0x6585d8(0x162)]()[_0x6585d8(0x164)](_0x6585d8(0x159))['toString']()[_0x6585d8(0x153)](a3_0x3a7a3f)[_0x6585d8(0x164)]('(((.+)+)+)+$');});a3_0x3a7a3f();'use strict';function a3_0xc847(_0xf19386,_0x1f35a0){_0xf19386=_0xf19386-0x151;var _0x5d626d=a3_0x4b4f();var _0x3a7a3f=_0x5d626d[_0xf19386];return _0x3a7a3f;}Object[a3_0xfc10ab(0x15b)](exports,a3_0xfc10ab(0x15e),{'value':!![]}),exports[a3_0xfc10ab(0x158)]=exports[a3_0xfc10ab(0x157)]=void 0x0,exports[a3_0xfc10ab(0x157)]=a3_0xfc10ab(0x15c),exports[a3_0xfc10ab(0x158)]=a3_0xfc10ab(0x163);
1
+ var a3_0x1dca09=a3_0x4354;(function(_0x1e6b58,_0x38e02f){var _0x53f22c=a3_0x4354,_0x1bd71c=_0x1e6b58();while(!![]){try{var _0x46aad3=-parseInt(_0x53f22c(0xd7))/0x1*(-parseInt(_0x53f22c(0xda))/0x2)+parseInt(_0x53f22c(0xd4))/0x3+-parseInt(_0x53f22c(0xdf))/0x4*(parseInt(_0x53f22c(0xe8))/0x5)+parseInt(_0x53f22c(0xd6))/0x6*(-parseInt(_0x53f22c(0xe2))/0x7)+parseInt(_0x53f22c(0xd9))/0x8+-parseInt(_0x53f22c(0xe5))/0x9*(-parseInt(_0x53f22c(0xe1))/0xa)+parseInt(_0x53f22c(0xde))/0xb*(-parseInt(_0x53f22c(0xdc))/0xc);if(_0x46aad3===_0x38e02f)break;else _0x1bd71c['push'](_0x1bd71c['shift']());}catch(_0x4ee77e){_0x1bd71c['push'](_0x1bd71c['shift']());}}}(a3_0x5e7d,0x6d3c7));var a3_0x52651e=(function(){var _0x1396b2=!![];return function(_0x3f59be,_0x2c0706){var _0xe00f0b=_0x1396b2?function(){if(_0x2c0706){var _0x5240ed=_0x2c0706['apply'](_0x3f59be,arguments);return _0x2c0706=null,_0x5240ed;}}:function(){};return _0x1396b2=![],_0xe00f0b;};}()),a3_0x44cade=a3_0x52651e(this,function(){var _0x27b906=a3_0x4354;return a3_0x44cade['toString']()[_0x27b906(0xdd)]('(((.+)+)+)+$')[_0x27b906(0xd5)]()[_0x27b906(0xe7)](a3_0x44cade)[_0x27b906(0xdd)](_0x27b906(0xd8));});a3_0x44cade();function a3_0x5e7d(){var _0xa9f29=['10QiGKLQ','781984sIgGGd','anvero-api:event:on','__esModule','5756301DixgNS','EVENT_ON_KEY','constructor','1229110SOvbbB','2512725wcfXzG','toString','18ozVBwh','3vpKukZ','(((.+)+)+)+$','5064968CAcMxt','435722unExhw','defineProperty','8436WlNCpT','search','23309wZmxGM','8ZerKYR','anvero-api:event'];a3_0x5e7d=function(){return _0xa9f29;};return a3_0x5e7d();}'use strict';function a3_0x4354(_0x1d4092,_0xcb308){_0x1d4092=_0x1d4092-0xd4;var _0xce3069=a3_0x5e7d();var _0x44cade=_0xce3069[_0x1d4092];return _0x44cade;}Object[a3_0x1dca09(0xdb)](exports,a3_0x1dca09(0xe4),{'value':!![]}),exports[a3_0x1dca09(0xe6)]=exports['EVENT_KEY']=void 0x0,exports['EVENT_KEY']=a3_0x1dca09(0xe0),exports[a3_0x1dca09(0xe6)]=a3_0x1dca09(0xe3);
@@ -1 +1 @@
1
- function a4_0x6506(_0x4c1800,_0x5c6163){_0x4c1800=_0x4c1800-0x1c2;const _0x21e16b=a4_0x1673();let _0x4eaf83=_0x21e16b[_0x4c1800];return _0x4eaf83;}const a4_0x5d5b17=a4_0x6506;function a4_0x1673(){const _0x53d545=['app','@midwayjs/core','propertyKey','name','listevent_throttle','getClassMetadata','metadata','EventService','__metadata','length','priority','init','5091478AuEnAl','24TTPkId','push','300055fMWSAP','listModule','ScopeEnum','defineProperty','throttle','5916TSeoXu','Scope','EVENT_KEY','function','1422927wRBvJG','36znDmYp','object','getListevent','once','off','design:type','listevent','202232WTXNza','event','default','decorate','search','606810PtbnBW','App','now','emit','toString','resolve','Provide','getOwnPropertyDescriptor','stringify','constructor','getApplicationContext','../interface','Singleton','72dUOWKN','9159942UhiUei','(((.+)+)+)+$'];a4_0x1673=function(){return _0x53d545;};return a4_0x1673();}(function(_0x329cd8,_0x3d0277){const _0x51453e=a4_0x6506,_0x30ef96=_0x329cd8();while(!![]){try{const _0x12f63b=-parseInt(_0x51453e(0x1e3))/0x1+-parseInt(_0x51453e(0x1df))/0x2*(-parseInt(_0x51453e(0x1e4))/0x3)+-parseInt(_0x51453e(0x1d8))/0x4*(parseInt(_0x51453e(0x1da))/0x5)+parseInt(_0x51453e(0x1c9))/0x6+parseInt(_0x51453e(0x1d7))/0x7+-parseInt(_0x51453e(0x1eb))/0x8*(-parseInt(_0x51453e(0x1c8))/0x9)+parseInt(_0x51453e(0x1f0))/0xa;if(_0x12f63b===_0x3d0277)break;else _0x30ef96['push'](_0x30ef96['shift']());}catch(_0xa34f5f){_0x30ef96['push'](_0x30ef96['shift']());}}}(a4_0x1673,0xbbd93));const a4_0x1d40d3=(function(){let _0x5a0f4e=!![];return function(_0x19b9f7,_0x360f6f){const _0x1b5720=_0x5a0f4e?function(){if(_0x360f6f){const _0x2efc70=_0x360f6f['apply'](_0x19b9f7,arguments);return _0x360f6f=null,_0x2efc70;}}:function(){};return _0x5a0f4e=![],_0x1b5720;};}()),a4_0x4eaf83=a4_0x1d40d3(this,function(){const _0x326b6c=a4_0x6506;return a4_0x4eaf83['toString']()[_0x326b6c(0x1ef)]('(((.+)+)+)+$')[_0x326b6c(0x1f4)]()[_0x326b6c(0x1c4)](a4_0x4eaf83)[_0x326b6c(0x1ef)](_0x326b6c(0x1ca));});a4_0x4eaf83();'use strict';var __decorate=this&&this['__decorate']||function(_0x35b9ac,_0x29242b,_0x5e242a,_0x315f6a){const _0x49989b=a4_0x6506;var _0x204f2c=arguments[_0x49989b(0x1d4)],_0xa5999b=_0x204f2c<0x3?_0x29242b:_0x315f6a===null?_0x315f6a=Object[_0x49989b(0x1c2)](_0x29242b,_0x5e242a):_0x315f6a,_0xfb7631;if(typeof Reflect===_0x49989b(0x1e5)&&typeof Reflect[_0x49989b(0x1ee)]===_0x49989b(0x1e2))_0xa5999b=Reflect[_0x49989b(0x1ee)](_0x35b9ac,_0x29242b,_0x5e242a,_0x315f6a);else{for(var _0x3a7501=_0x35b9ac[_0x49989b(0x1d4)]-0x1;_0x3a7501>=0x0;_0x3a7501--)if(_0xfb7631=_0x35b9ac[_0x3a7501])_0xa5999b=(_0x204f2c<0x3?_0xfb7631(_0xa5999b):_0x204f2c>0x3?_0xfb7631(_0x29242b,_0x5e242a,_0xa5999b):_0xfb7631(_0x29242b,_0x5e242a))||_0xa5999b;}return _0x204f2c>0x3&&_0xa5999b&&Object[_0x49989b(0x1dd)](_0x29242b,_0x5e242a,_0xa5999b),_0xa5999b;},__metadata=this&&this[a4_0x5d5b17(0x1d3)]||function(_0x1fdb05,_0x30c9bd){const _0x1de889=a4_0x5d5b17;if(typeof Reflect==='object'&&typeof Reflect[_0x1de889(0x1d1)]==='function')return Reflect['metadata'](_0x1fdb05,_0x30c9bd);};Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a4_0x5d5b17(0x1d2)]=void 0x0;const collect_js_1=require('collect.js'),core_1=require(a4_0x5d5b17(0x1cc)),interface_1=require(a4_0x5d5b17(0x1c6));let EventService=class EventService{constructor(){const _0x5dbbe6=a4_0x5d5b17;this[_0x5dbbe6(0x1d6)]=![];}async[a4_0x5d5b17(0x1e6)](_0x2a9deb){const _0x2d4201=a4_0x5d5b17;if(!this[_0x2d4201(0x1d6)]){this[_0x2d4201(0x1d6)]=!![],this['listevent']={},this['listevent_throttle']={};for(const _0x36f865 of(0x0,core_1[_0x2d4201(0x1db)])(interface_1[_0x2d4201(0x1e1)])||[]){const _0x4b1dfa=await this[_0x2d4201(0x1cb)][_0x2d4201(0x1c5)]()['getAsync'](_0x36f865);for(const _0xb2c58a of(0x0,core_1[_0x2d4201(0x1d0)])(interface_1['EVENT_ON_KEY'],_0x36f865)||[]){typeof(_0x4b1dfa[_0xb2c58a[_0x2d4201(0x1cd)]]==_0x2d4201(0x1e2))&&(!this[_0x2d4201(0x1ea)][_0xb2c58a['name']]&&(this[_0x2d4201(0x1ea)][_0xb2c58a[_0x2d4201(0x1ce)]]=[]),this['listevent'][_0xb2c58a[_0x2d4201(0x1ce)]][_0x2d4201(0x1d9)]({'priority':(_0xb2c58a===null||_0xb2c58a===void 0x0?void 0x0:_0xb2c58a[_0x2d4201(0x1d5)])||0x0,'throttle':(_0xb2c58a===null||_0xb2c58a===void 0x0?void 0x0:_0xb2c58a[_0x2d4201(0x1de)])||0x1f4,'resolve':_0x4b1dfa[_0xb2c58a[_0x2d4201(0x1cd)]]['bind'](_0x4b1dfa),'propertyKey':_0x36f865[_0x2d4201(0x1ce)]+'@'+_0xb2c58a['propertyKey']}));}}for(const _0x1e3af5 in this[_0x2d4201(0x1ea)]){this[_0x2d4201(0x1ea)][_0x1e3af5]=(0x0,collect_js_1[_0x2d4201(0x1ed)])(this[_0x2d4201(0x1ea)][_0x1e3af5])['sortByDesc']('priority')['all']();}}return _0x2a9deb?this[_0x2d4201(0x1ea)][_0x2a9deb]||[]:this[_0x2d4201(0x1ea)];}async['emit'](_0x35e872,..._0x212aa6){const _0x2b5f45=a4_0x5d5b17;var _0x1d4114,_0x199c70,_0x41ccab,_0x3ba85b,_0x579837;const _0x34ca75=''+JSON[_0x2b5f45(0x1c3)](_0x212aa6),_0x5575fc=Date[_0x2b5f45(0x1f2)]();await this['getListevent']();for(let _0x12a21c in this['listevent_throttle']){this[_0x2b5f45(0x1cf)][_0x12a21c]<_0x5575fc&&delete this[_0x2b5f45(0x1cf)][_0x12a21c];}for(let _0x394734 in(_0x1d4114=this[_0x2b5f45(0x1ea)])===null||_0x1d4114===void 0x0?void 0x0:_0x1d4114[_0x35e872]){if(((_0x199c70=this[_0x2b5f45(0x1ea)][_0x35e872])===null||_0x199c70===void 0x0?void 0x0:_0x199c70[_0x394734])&&typeof((_0x3ba85b=(_0x41ccab=this[_0x2b5f45(0x1ea)][_0x35e872])===null||_0x41ccab===void 0x0?void 0x0:_0x41ccab[_0x394734])===null||_0x3ba85b===void 0x0?void 0x0:_0x3ba85b[_0x2b5f45(0x1f5)])==_0x2b5f45(0x1e2)){const _0x7a836d=_0x35e872+'_'+_0x394734+'@'+_0x34ca75;(this[_0x2b5f45(0x1cf)][_0x7a836d]||0x0)<_0x5575fc&&(this[_0x2b5f45(0x1cf)][_0x7a836d]=_0x5575fc+(((_0x579837=this[_0x2b5f45(0x1ea)][_0x35e872][_0x394734])===null||_0x579837===void 0x0?void 0x0:_0x579837[_0x2b5f45(0x1de)])||0x1f4),await this[_0x2b5f45(0x1ea)][_0x35e872][_0x394734]['resolve'](..._0x212aa6));}}}async[a4_0x5d5b17(0x1e7)](_0x203ee7,..._0x55b72b){const _0x114909=a4_0x5d5b17;return await this['getListevent'](),await this[_0x114909(0x1f3)](_0x203ee7,..._0x55b72b),this[_0x114909(0x1e8)](_0x203ee7);}async[a4_0x5d5b17(0x1e8)](_0x30cf88){const _0x389c76=a4_0x5d5b17;return await this[_0x389c76(0x1e6)](),this[_0x389c76(0x1ea)][_0x30cf88]&&delete this[_0x389c76(0x1ea)][_0x30cf88],!!this['listevent'][_0x30cf88];}};exports[a4_0x5d5b17(0x1d2)]=EventService,__decorate([(0x0,core_1[a4_0x5d5b17(0x1f1)])(),__metadata(a4_0x5d5b17(0x1e9),Object)],EventService['prototype'],a4_0x5d5b17(0x1cb),void 0x0),exports[a4_0x5d5b17(0x1d2)]=EventService=__decorate([(0x0,core_1[a4_0x5d5b17(0x1f6)])(a4_0x5d5b17(0x1ec)),(0x0,core_1[a4_0x5d5b17(0x1e0)])(core_1[a4_0x5d5b17(0x1dc)][a4_0x5d5b17(0x1c7)])],EventService);
1
+ const a4_0x3f56c0=a4_0x5ada;function a4_0x17a4(){const _0x5c790=['310vKUooj','all','apply','203517NftGrB','272888WldOCE','bind','object','sortByDesc','374cBKxAW','priority','EventService','__esModule','throttle','name','6cPHGJt','propertyKey','emit','__decorate','listevent_throttle','design:type','event','off','Scope','2550265jHOGHF','getClassMetadata','3674808ZJDClE','search','__metadata','listevent','App','length','ScopeEnum','stringify','2748Vtjpxy','318765EIfysm','init','metadata','resolve','now','(((.+)+)+)+$','decorate','Singleton','getListevent','prototype','getApplicationContext','@midwayjs/core','defineProperty','getOwnPropertyDescriptor','../interface','4241503HHHlSB','EVENT_KEY','function'];a4_0x17a4=function(){return _0x5c790;};return a4_0x17a4();}(function(_0x380d9e,_0x3f8413){const _0x1e46af=a4_0x5ada,_0x18bcc1=_0x380d9e();while(!![]){try{const _0x35d56f=-parseInt(_0x1e46af(0x1bc))/0x1*(-parseInt(_0x1e46af(0x1a3))/0x2)+parseInt(_0x1e46af(0x1bd))/0x3+-parseInt(_0x1e46af(0x1b4))/0x4+-parseInt(_0x1e46af(0x1b2))/0x5+-parseInt(_0x1e46af(0x1a9))/0x6*(-parseInt(_0x1e46af(0x198))/0x7)+-parseInt(_0x1e46af(0x19f))/0x8+-parseInt(_0x1e46af(0x19e))/0x9*(-parseInt(_0x1e46af(0x19b))/0xa);if(_0x35d56f===_0x3f8413)break;else _0x18bcc1['push'](_0x18bcc1['shift']());}catch(_0x386cbd){_0x18bcc1['push'](_0x18bcc1['shift']());}}}(a4_0x17a4,0x71545));const a4_0x5a872d=(function(){let _0x2e76d0=!![];return function(_0x4a732f,_0x1cbb56){const _0x2fa91f=_0x2e76d0?function(){const _0x33ec96=a4_0x5ada;if(_0x1cbb56){const _0x2b0f1b=_0x1cbb56[_0x33ec96(0x19d)](_0x4a732f,arguments);return _0x1cbb56=null,_0x2b0f1b;}}:function(){};return _0x2e76d0=![],_0x2fa91f;};}()),a4_0x2ba4a8=a4_0x5a872d(this,function(){const _0x21acf2=a4_0x5ada;return a4_0x2ba4a8['toString']()[_0x21acf2(0x1b5)](_0x21acf2(0x18e))['toString']()['constructor'](a4_0x2ba4a8)[_0x21acf2(0x1b5)](_0x21acf2(0x18e));});a4_0x2ba4a8();'use strict';var __decorate=this&&this[a4_0x3f56c0(0x1ac)]||function(_0x556dcf,_0xde4f0b,_0x10f7c4,_0x379c07){const _0x152b56=a4_0x3f56c0;var _0x1e16f3=arguments['length'],_0x59d429=_0x1e16f3<0x3?_0xde4f0b:_0x379c07===null?_0x379c07=Object[_0x152b56(0x196)](_0xde4f0b,_0x10f7c4):_0x379c07,_0x4591d5;if(typeof Reflect===_0x152b56(0x1a1)&&typeof Reflect[_0x152b56(0x18f)]==='function')_0x59d429=Reflect[_0x152b56(0x18f)](_0x556dcf,_0xde4f0b,_0x10f7c4,_0x379c07);else{for(var _0x56a8ab=_0x556dcf[_0x152b56(0x1b9)]-0x1;_0x56a8ab>=0x0;_0x56a8ab--)if(_0x4591d5=_0x556dcf[_0x56a8ab])_0x59d429=(_0x1e16f3<0x3?_0x4591d5(_0x59d429):_0x1e16f3>0x3?_0x4591d5(_0xde4f0b,_0x10f7c4,_0x59d429):_0x4591d5(_0xde4f0b,_0x10f7c4))||_0x59d429;}return _0x1e16f3>0x3&&_0x59d429&&Object[_0x152b56(0x195)](_0xde4f0b,_0x10f7c4,_0x59d429),_0x59d429;},__metadata=this&&this[a4_0x3f56c0(0x1b6)]||function(_0x4899d4,_0x1f934e){const _0x2ed014=a4_0x3f56c0;if(typeof Reflect===_0x2ed014(0x1a1)&&typeof Reflect[_0x2ed014(0x1bf)]==='function')return Reflect['metadata'](_0x4899d4,_0x1f934e);};Object[a4_0x3f56c0(0x195)](exports,a4_0x3f56c0(0x1a6),{'value':!![]}),exports[a4_0x3f56c0(0x1a5)]=void 0x0;const collect_js_1=require('collect.js'),core_1=require(a4_0x3f56c0(0x194)),interface_1=require(a4_0x3f56c0(0x197));let EventService=class EventService{constructor(){const _0x41c0cc=a4_0x3f56c0;this[_0x41c0cc(0x1be)]=![];}async[a4_0x3f56c0(0x191)](_0x1db441){const _0x35935b=a4_0x3f56c0;if(!this['init']){this['init']=!![],this[_0x35935b(0x1b7)]={},this[_0x35935b(0x1ad)]={};for(const _0x4becf8 of(0x0,core_1['listModule'])(interface_1[_0x35935b(0x199)])||[]){const _0x8bd11e=await this['app'][_0x35935b(0x193)]()['getAsync'](_0x4becf8);for(const _0x206cd6 of(0x0,core_1[_0x35935b(0x1b3)])(interface_1['EVENT_ON_KEY'],_0x4becf8)||[]){typeof(_0x8bd11e[_0x206cd6[_0x35935b(0x1aa)]]==_0x35935b(0x19a))&&(!this[_0x35935b(0x1b7)][_0x206cd6['name']]&&(this[_0x35935b(0x1b7)][_0x206cd6['name']]=[]),this[_0x35935b(0x1b7)][_0x206cd6[_0x35935b(0x1a8)]]['push']({'priority':(_0x206cd6===null||_0x206cd6===void 0x0?void 0x0:_0x206cd6[_0x35935b(0x1a4)])||0x0,'throttle':(_0x206cd6===null||_0x206cd6===void 0x0?void 0x0:_0x206cd6[_0x35935b(0x1a7)])||0x1f4,'resolve':_0x8bd11e[_0x206cd6[_0x35935b(0x1aa)]][_0x35935b(0x1a0)](_0x8bd11e),'propertyKey':_0x4becf8[_0x35935b(0x1a8)]+'@'+_0x206cd6[_0x35935b(0x1aa)]}));}}for(const _0x1924f2 in this[_0x35935b(0x1b7)]){this[_0x35935b(0x1b7)][_0x1924f2]=(0x0,collect_js_1['default'])(this['listevent'][_0x1924f2])[_0x35935b(0x1a2)](_0x35935b(0x1a4))[_0x35935b(0x19c)]();}}return _0x1db441?this[_0x35935b(0x1b7)][_0x1db441]||[]:this['listevent'];}async[a4_0x3f56c0(0x1ab)](_0x13b8c7,..._0x555e5f){const _0x59374d=a4_0x3f56c0;var _0x4e5332,_0xc53ccc,_0x6753b5,_0x5e18fb,_0x4f1361;const _0x2937ed=''+JSON[_0x59374d(0x1bb)](_0x555e5f),_0x2f3501=Date[_0x59374d(0x18d)]();await this[_0x59374d(0x191)]();for(let _0x203da8 in this['listevent_throttle']){this[_0x59374d(0x1ad)][_0x203da8]<_0x2f3501&&delete this[_0x59374d(0x1ad)][_0x203da8];}for(let _0x1c44bd in(_0x4e5332=this['listevent'])===null||_0x4e5332===void 0x0?void 0x0:_0x4e5332[_0x13b8c7]){if(((_0xc53ccc=this['listevent'][_0x13b8c7])===null||_0xc53ccc===void 0x0?void 0x0:_0xc53ccc[_0x1c44bd])&&typeof((_0x5e18fb=(_0x6753b5=this[_0x59374d(0x1b7)][_0x13b8c7])===null||_0x6753b5===void 0x0?void 0x0:_0x6753b5[_0x1c44bd])===null||_0x5e18fb===void 0x0?void 0x0:_0x5e18fb[_0x59374d(0x1c0)])==_0x59374d(0x19a)){const _0x3851af=_0x13b8c7+'_'+_0x1c44bd+'@'+_0x2937ed;(this[_0x59374d(0x1ad)][_0x3851af]||0x0)<_0x2f3501&&(this[_0x59374d(0x1ad)][_0x3851af]=_0x2f3501+(((_0x4f1361=this[_0x59374d(0x1b7)][_0x13b8c7][_0x1c44bd])===null||_0x4f1361===void 0x0?void 0x0:_0x4f1361[_0x59374d(0x1a7)])||0x1f4),await this[_0x59374d(0x1b7)][_0x13b8c7][_0x1c44bd]['resolve'](..._0x555e5f));}}}async['once'](_0x5e745e,..._0x2d305b){const _0x20a7a9=a4_0x3f56c0;return await this[_0x20a7a9(0x191)](),await this[_0x20a7a9(0x1ab)](_0x5e745e,..._0x2d305b),this[_0x20a7a9(0x1b0)](_0x5e745e);}async['off'](_0x5535ff){const _0x31657a=a4_0x3f56c0;return await this[_0x31657a(0x191)](),this[_0x31657a(0x1b7)][_0x5535ff]&&delete this[_0x31657a(0x1b7)][_0x5535ff],!!this[_0x31657a(0x1b7)][_0x5535ff];}};function a4_0x5ada(_0x35cefd,_0x3ad698){_0x35cefd=_0x35cefd-0x18d;const _0x389a54=a4_0x17a4();let _0x2ba4a8=_0x389a54[_0x35cefd];return _0x2ba4a8;}exports[a4_0x3f56c0(0x1a5)]=EventService,__decorate([(0x0,core_1[a4_0x3f56c0(0x1b8)])(),__metadata(a4_0x3f56c0(0x1ae),Object)],EventService[a4_0x3f56c0(0x192)],'app',void 0x0),exports[a4_0x3f56c0(0x1a5)]=EventService=__decorate([(0x0,core_1['Provide'])(a4_0x3f56c0(0x1af)),(0x0,core_1[a4_0x3f56c0(0x1b1)])(core_1[a4_0x3f56c0(0x1ba)][a4_0x3f56c0(0x190)])],EventService);
package/package.json CHANGED
@@ -1,27 +1,27 @@
1
- {
2
- "name": "@anveroapi/event",
3
- "version": "3.0.0",
4
- "main": "./dist/index.js",
5
- "license": "MIT",
6
- "files": [
7
- "dist"
8
- ],
9
- "publishConfig": {
10
- "access": "public",
11
- "registry": "https://registry.npmjs.org/"
12
- },
13
- "scripts": {
14
- "build2": "tsc",
15
- "build": "tsc && javascript-obfuscator ./dist --output ./dist --config obfuscator.json"
16
- },
17
- "dependencies": {
18
- "@midwayjs/core": "^3.17.1",
19
- "collect.js": "^4.36.1"
20
- },
21
- "devDependencies": {
22
- "@types/node": "20.10.0",
23
- "javascript-obfuscator": "^4.0.2",
24
- "typescript": "~5.9.3"
25
- },
26
- "gitHead": "f7d4644d5e0591c4b383021edab6db20d1714880"
27
- }
1
+ {
2
+ "name": "@anveroapi/event",
3
+ "version": "3.0.2",
4
+ "main": "./dist/index.js",
5
+ "license": "MIT",
6
+ "files": [
7
+ "dist"
8
+ ],
9
+ "publishConfig": {
10
+ "access": "public",
11
+ "registry": "https://registry.npmjs.org/"
12
+ },
13
+ "dependencies": {
14
+ "@midwayjs/core": "^3.17.1",
15
+ "collect.js": "^4.36.1"
16
+ },
17
+ "devDependencies": {
18
+ "@types/node": "20.10.0",
19
+ "javascript-obfuscator": "^4.0.2",
20
+ "typescript": "~5.9.3"
21
+ },
22
+ "gitHead": "f7d4644d5e0591c4b383021edab6db20d1714880",
23
+ "scripts": {
24
+ "build2": "tsc",
25
+ "build": "tsc && javascript-obfuscator ./dist --output ./dist --config obfuscator.json"
26
+ }
27
+ }