@anncic-api/event 3.7.0 → 3.7.1

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_0x49f790=a0_0x4a2c;(function(_0x247dc3,_0xb693c3){var _0x55552a=a0_0x4a2c,_0x194e5a=_0x247dc3();while(!![]){try{var _0x3f3b4e=-parseInt(_0x55552a(0x181))/0x1*(parseInt(_0x55552a(0x187))/0x2)+-parseInt(_0x55552a(0x193))/0x3+-parseInt(_0x55552a(0x185))/0x4*(parseInt(_0x55552a(0x196))/0x5)+-parseInt(_0x55552a(0x197))/0x6*(-parseInt(_0x55552a(0x19c))/0x7)+parseInt(_0x55552a(0x17f))/0x8*(-parseInt(_0x55552a(0x189))/0x9)+parseInt(_0x55552a(0x184))/0xa+parseInt(_0x55552a(0x198))/0xb;if(_0x3f3b4e===_0xb693c3)break;else _0x194e5a['push'](_0x194e5a['shift']());}catch(_0x16f814){_0x194e5a['push'](_0x194e5a['shift']());}}}(a0_0x3b0e,0xed2fa));function a0_0x4a2c(_0x153685,_0x3a334c){var _0x50cb11=a0_0x3b0e();return a0_0x4a2c=function(_0x374145,_0x4bd65b){_0x374145=_0x374145-0x17e;var _0x3b0e06=_0x50cb11[_0x374145];return _0x3b0e06;},a0_0x4a2c(_0x153685,_0x3a334c);}var a0_0x4bd65b=(function(){var _0x1da658=!![];return function(_0x7f4580,_0xe23e49){var _0x5ae171=_0x1da658?function(){var _0x1d8b8e=a0_0x4a2c;if(_0xe23e49){var _0x4bf1d7=_0xe23e49[_0x1d8b8e(0x19e)](_0x7f4580,arguments);return _0xe23e49=null,_0x4bf1d7;}}:function(){};return _0x1da658=![],_0x5ae171;};}()),a0_0x374145=a0_0x4bd65b(this,function(){var _0x1c8a03=a0_0x4a2c;return a0_0x374145['toString']()[_0x1c8a03(0x194)](_0x1c8a03(0x18b))['toString']()[_0x1c8a03(0x192)](a0_0x374145)['search'](_0x1c8a03(0x18b));});a0_0x374145();'use strict';var __decorate=this&&this[a0_0x49f790(0x182)]||function(_0x66fbbb,_0x3cf1a4,_0x59c0e5,_0x1feba1){var _0x3d2e7b=a0_0x49f790,_0xeff6de=arguments['length'],_0x1e847f=_0xeff6de<0x3?_0x3cf1a4:_0x1feba1===null?_0x1feba1=Object['getOwnPropertyDescriptor'](_0x3cf1a4,_0x59c0e5):_0x1feba1,_0x7ad329;if(typeof Reflect==='object'&&typeof Reflect[_0x3d2e7b(0x199)]===_0x3d2e7b(0x188))_0x1e847f=Reflect['decorate'](_0x66fbbb,_0x3cf1a4,_0x59c0e5,_0x1feba1);else{for(var _0x150058=_0x66fbbb['length']-0x1;_0x150058>=0x0;_0x150058--)if(_0x7ad329=_0x66fbbb[_0x150058])_0x1e847f=(_0xeff6de<0x3?_0x7ad329(_0x1e847f):_0xeff6de>0x3?_0x7ad329(_0x3cf1a4,_0x59c0e5,_0x1e847f):_0x7ad329(_0x3cf1a4,_0x59c0e5))||_0x1e847f;}return _0xeff6de>0x3&&_0x1e847f&&Object[_0x3d2e7b(0x18a)](_0x3cf1a4,_0x59c0e5,_0x1e847f),_0x1e847f;},__metadata=this&&this[a0_0x49f790(0x180)]||function(_0x1de51b,_0x48f8ed){var _0xf8eeb0=a0_0x49f790;if(typeof Reflect===_0xf8eeb0(0x18e)&&typeof Reflect['metadata']==='function')return Reflect[_0xf8eeb0(0x195)](_0x1de51b,_0x48f8ed);};function a0_0x3b0e(){var _0x4fa0ed=['search','metadata','19465DVVqsf','15294uFjVmE','8325383cTtknf','decorate','__esModule','@midwayjs/core','4837EvUPyN','MidwayDecoratorService','apply','Inject','prototype','960328CKAsAt','__metadata','216401QXUVaA','__decorate','anncic-api:event','13632050amYdFO','20lIKiJM','design:type','4SGlTVT','function','108lnLRlq','defineProperty','(((.+)+)+)+$','MidwayConfigService','CustomConfiguration','object','decorator','config','Configuration','constructor','3051432kvGATC'];a0_0x3b0e=function(){return _0x4fa0ed;};return a0_0x3b0e();}Object[a0_0x49f790(0x18a)](exports,a0_0x49f790(0x19a),{'value':!![]}),exports['CustomConfiguration']=void 0x0;const core_1=require('@midwayjs/core'),core_2=require(a0_0x49f790(0x19b));let CustomConfiguration=class CustomConfiguration{async['onReady'](){}};exports[a0_0x49f790(0x18d)]=CustomConfiguration,__decorate([(0x0,core_1[a0_0x49f790(0x19f)])(),__metadata('design:type',core_2[a0_0x49f790(0x18c)])],CustomConfiguration[a0_0x49f790(0x17e)],a0_0x49f790(0x190),void 0x0),__decorate([(0x0,core_1[a0_0x49f790(0x19f)])(),__metadata(a0_0x49f790(0x186),core_2[a0_0x49f790(0x19d)])],CustomConfiguration[a0_0x49f790(0x17e)],a0_0x49f790(0x18f),void 0x0),exports[a0_0x49f790(0x18d)]=CustomConfiguration=__decorate([(0x0,core_1[a0_0x49f790(0x191)])({'conflictCheck':![],'namespace':a0_0x49f790(0x183)})],CustomConfiguration);
1
+ var a0_0x105fdf=a0_0x2b05;function a0_0x27d5(){var _0x1581fd=['Inject','@midwayjs/core','CustomConfiguration','getOwnPropertyDescriptor','constructor','metadata','6201387TnMjEM','prototype','335TlaeGt','defineProperty','(((.+)+)+)+$','2101680kIGGUq','1750941wnqvGK','decorate','config','2730189tIehgv','927ijAwIb','484nxkKFY','function','design:type','anncic-api:event','search','object','8JfdeGB','Configuration','__metadata','MidwayConfigService','length','29016GlDFXz','__decorate','__esModule','toString','2438840TxKOvp'];a0_0x27d5=function(){return _0x1581fd;};return a0_0x27d5();}(function(_0xd1b923,_0x1fa831){var _0x4bf4e5=a0_0x2b05,_0xde8784=_0xd1b923();while(!![]){try{var _0x2ee18c=parseInt(_0x4bf4e5(0x16e))/0x1*(-parseInt(_0x4bf4e5(0x16f))/0x2)+parseInt(_0x4bf4e5(0x16a))/0x3+-parseInt(_0x4bf4e5(0x169))/0x4+-parseInt(_0x4bf4e5(0x166))/0x5*(parseInt(_0x4bf4e5(0x17a))/0x6)+parseInt(_0x4bf4e5(0x16d))/0x7+parseInt(_0x4bf4e5(0x175))/0x8*(parseInt(_0x4bf4e5(0x164))/0x9)+-parseInt(_0x4bf4e5(0x17e))/0xa;if(_0x2ee18c===_0x1fa831)break;else _0xde8784['push'](_0xde8784['shift']());}catch(_0x210b18){_0xde8784['push'](_0xde8784['shift']());}}}(a0_0x27d5,0x543eb));var a0_0x309e45=(function(){var _0x54184e=!![];return function(_0x21295d,_0x5e27d2){var _0x637772=_0x54184e?function(){if(_0x5e27d2){var _0x22c72e=_0x5e27d2['apply'](_0x21295d,arguments);return _0x5e27d2=null,_0x22c72e;}}:function(){};return _0x54184e=![],_0x637772;};}()),a0_0x20c5f3=a0_0x309e45(this,function(){var _0x36ab68=a0_0x2b05;return a0_0x20c5f3['toString']()[_0x36ab68(0x173)](_0x36ab68(0x168))[_0x36ab68(0x17d)]()[_0x36ab68(0x183)](a0_0x20c5f3)[_0x36ab68(0x173)](_0x36ab68(0x168));});a0_0x20c5f3();'use strict';var __decorate=this&&this[a0_0x105fdf(0x17b)]||function(_0x295e3c,_0xb4a1b8,_0x1766c3,_0x1ec9c5){var _0x4371a9=a0_0x105fdf,_0x1788a0=arguments[_0x4371a9(0x179)],_0x311be8=_0x1788a0<0x3?_0xb4a1b8:_0x1ec9c5===null?_0x1ec9c5=Object[_0x4371a9(0x182)](_0xb4a1b8,_0x1766c3):_0x1ec9c5,_0x13b2fc;if(typeof Reflect===_0x4371a9(0x174)&&typeof Reflect[_0x4371a9(0x16b)]===_0x4371a9(0x170))_0x311be8=Reflect[_0x4371a9(0x16b)](_0x295e3c,_0xb4a1b8,_0x1766c3,_0x1ec9c5);else{for(var _0x471ec9=_0x295e3c['length']-0x1;_0x471ec9>=0x0;_0x471ec9--)if(_0x13b2fc=_0x295e3c[_0x471ec9])_0x311be8=(_0x1788a0<0x3?_0x13b2fc(_0x311be8):_0x1788a0>0x3?_0x13b2fc(_0xb4a1b8,_0x1766c3,_0x311be8):_0x13b2fc(_0xb4a1b8,_0x1766c3))||_0x311be8;}return _0x1788a0>0x3&&_0x311be8&&Object[_0x4371a9(0x167)](_0xb4a1b8,_0x1766c3,_0x311be8),_0x311be8;},__metadata=this&&this[a0_0x105fdf(0x177)]||function(_0x419c2b,_0xd4ffd2){var _0x37f527=a0_0x105fdf;if(typeof Reflect===_0x37f527(0x174)&&typeof Reflect[_0x37f527(0x163)]===_0x37f527(0x170))return Reflect[_0x37f527(0x163)](_0x419c2b,_0xd4ffd2);};Object['defineProperty'](exports,a0_0x105fdf(0x17c),{'value':!![]}),exports[a0_0x105fdf(0x181)]=void 0x0;const core_1=require('@midwayjs/core'),core_2=require(a0_0x105fdf(0x180));function a0_0x2b05(_0x4ab2b8,_0xf3b45e){var _0x2afcea=a0_0x27d5();return a0_0x2b05=function(_0x20c5f3,_0x309e45){_0x20c5f3=_0x20c5f3-0x163;var _0x27d5a6=_0x2afcea[_0x20c5f3];return _0x27d5a6;},a0_0x2b05(_0x4ab2b8,_0xf3b45e);}let CustomConfiguration=class CustomConfiguration{async['onReady'](){}};exports[a0_0x105fdf(0x181)]=CustomConfiguration,__decorate([(0x0,core_1[a0_0x105fdf(0x17f)])(),__metadata(a0_0x105fdf(0x171),core_2[a0_0x105fdf(0x178)])],CustomConfiguration[a0_0x105fdf(0x165)],a0_0x105fdf(0x16c),void 0x0),__decorate([(0x0,core_1[a0_0x105fdf(0x17f)])(),__metadata(a0_0x105fdf(0x171),core_2['MidwayDecoratorService'])],CustomConfiguration[a0_0x105fdf(0x165)],'decorator',void 0x0),exports[a0_0x105fdf(0x181)]=CustomConfiguration=__decorate([(0x0,core_1[a0_0x105fdf(0x176)])({'conflictCheck':![],'namespace':a0_0x105fdf(0x172)})],CustomConfiguration);
@@ -1 +1 @@
1
- const a1_0x406fd6=a1_0x1afd;(function(_0x515071,_0x440f7d){const _0x1b3189=a1_0x1afd,_0x2f7b5a=_0x515071();while(!![]){try{const _0x21ad16=-parseInt(_0x1b3189(0x108))/0x1*(parseInt(_0x1b3189(0x109))/0x2)+parseInt(_0x1b3189(0x116))/0x3+parseInt(_0x1b3189(0x10f))/0x4*(parseInt(_0x1b3189(0x117))/0x5)+parseInt(_0x1b3189(0x107))/0x6+parseInt(_0x1b3189(0x10b))/0x7+parseInt(_0x1b3189(0x113))/0x8*(-parseInt(_0x1b3189(0x110))/0x9)+-parseInt(_0x1b3189(0x11b))/0xa*(parseInt(_0x1b3189(0x10d))/0xb);if(_0x21ad16===_0x440f7d)break;else _0x2f7b5a['push'](_0x2f7b5a['shift']());}catch(_0x5a67ba){_0x2f7b5a['push'](_0x2f7b5a['shift']());}}}(a1_0x114b,0x27fd0));function a1_0x114b(){const _0x40c7e4=['209560lEUjzJ','saveModule','@midwayjs/core','1771554FCVaFI','6NLEJgq','86752UAIexk','Provide','65072lQVKwB','Request','121Nrjmbf','Event','4NHRjIH','234jCPAIW','Scope','../interface','8560nECUhz','apply','search','782100ZdKbHI','585645meIDxB','(((.+)+)+)+$','__esModule','toString'];a1_0x114b=function(){return _0x40c7e4;};return a1_0x114b();}const a1_0x2ecabf=(function(){let _0x1552f4=!![];return function(_0x220e9f,_0x32abee){const _0x3f0d26=_0x1552f4?function(){const _0x57bf9c=a1_0x1afd;if(_0x32abee){const _0x5d7468=_0x32abee[_0x57bf9c(0x114)](_0x220e9f,arguments);return _0x32abee=null,_0x5d7468;}}:function(){};return _0x1552f4=![],_0x3f0d26;};}()),a1_0x49788e=a1_0x2ecabf(this,function(){const _0x48fb1a=a1_0x1afd;return a1_0x49788e[_0x48fb1a(0x11a)]()[_0x48fb1a(0x115)](_0x48fb1a(0x118))['toString']()['constructor'](a1_0x49788e)[_0x48fb1a(0x115)](_0x48fb1a(0x118));});a1_0x49788e();'use strict';Object['defineProperty'](exports,a1_0x406fd6(0x119),{'value':!![]}),exports[a1_0x406fd6(0x10e)]=Event;const core_1=require(a1_0x406fd6(0x106)),interface_1=require(a1_0x406fd6(0x112));function a1_0x1afd(_0x25fa7d,_0x58577a){const _0x110717=a1_0x114b();return a1_0x1afd=function(_0x49788e,_0x2ecabf){_0x49788e=_0x49788e-0x105;let _0x114bef=_0x110717[_0x49788e];return _0x114bef;},a1_0x1afd(_0x25fa7d,_0x58577a);}function Event(){return _0x134c3d=>{const _0x156317=a1_0x1afd;(0x0,core_1[_0x156317(0x10a)])()(_0x134c3d),(0x0,core_1[_0x156317(0x105)])(interface_1['EVENT_KEY'],_0x134c3d),(0x0,core_1[_0x156317(0x111)])(core_1['ScopeEnum'][_0x156317(0x10c)],{'allowDowngrade':!![]})(_0x134c3d);};}Event['On']=function(_0x524e69,_0x54c107=0x0,_0x185624=0x1f4){return(_0x45d224,_0x4a3ab2,_0x49c1ad)=>{return(0x0,core_1['attachClassMetadata'])(interface_1['EVENT_ON_KEY'],{'name':_0x524e69,'priority':_0x54c107,'propertyKey':_0x4a3ab2,'descriptor':_0x49c1ad,'throttle':_0x185624},_0x45d224),_0x49c1ad;};};
1
+ const a1_0x3472d4=a1_0x59ff;(function(_0x1d287e,_0x15941d){const _0x2d842c=a1_0x59ff,_0xb028a=_0x1d287e();while(!![]){try{const _0x43e081=-parseInt(_0x2d842c(0x1ad))/0x1+parseInt(_0x2d842c(0x1b3))/0x2*(parseInt(_0x2d842c(0x1b9))/0x3)+parseInt(_0x2d842c(0x1c0))/0x4*(parseInt(_0x2d842c(0x1b7))/0x5)+parseInt(_0x2d842c(0x1b1))/0x6*(parseInt(_0x2d842c(0x1bc))/0x7)+-parseInt(_0x2d842c(0x1ba))/0x8*(-parseInt(_0x2d842c(0x1be))/0x9)+parseInt(_0x2d842c(0x1bf))/0xa+-parseInt(_0x2d842c(0x1bd))/0xb;if(_0x43e081===_0x15941d)break;else _0xb028a['push'](_0xb028a['shift']());}catch(_0x1e27fb){_0xb028a['push'](_0xb028a['shift']());}}}(a1_0x4edb,0x75295));const a1_0x53a3b2=(function(){let _0x58b124=!![];return function(_0x767d07,_0x292508){const _0x3a801c=_0x58b124?function(){if(_0x292508){const _0x218b3c=_0x292508['apply'](_0x767d07,arguments);return _0x292508=null,_0x218b3c;}}:function(){};return _0x58b124=![],_0x3a801c;};}()),a1_0x2ab630=a1_0x53a3b2(this,function(){const _0x589916=a1_0x59ff;return a1_0x2ab630[_0x589916(0x1ab)]()[_0x589916(0x1b0)](_0x589916(0x1b2))[_0x589916(0x1ab)]()['constructor'](a1_0x2ab630)[_0x589916(0x1b0)](_0x589916(0x1b2));});function a1_0x59ff(_0x251a5d,_0x17b41c){const _0x28b6f8=a1_0x4edb();return a1_0x59ff=function(_0x2ab630,_0x53a3b2){_0x2ab630=_0x2ab630-0x1ab;let _0x4edb64=_0x28b6f8[_0x2ab630];return _0x4edb64;},a1_0x59ff(_0x251a5d,_0x17b41c);}a1_0x2ab630();'use strict';Object[a1_0x3472d4(0x1bb)](exports,a1_0x3472d4(0x1b8),{'value':!![]}),exports[a1_0x3472d4(0x1c2)]=Event;function a1_0x4edb(){const _0x4d50be=['(((.+)+)+)+$','148zjzUis','ScopeEnum','Request','Scope','1255JBbvmt','__esModule','34167nJYRgr','4216OGqNyw','defineProperty','7wVFovB','19144334BBQCiT','2781xAXuuj','7419270uUDZAj','12868MExfsR','EVENT_KEY','Event','toString','attachClassMetadata','649075apQOdJ','@midwayjs/core','Provide','search','1886034BTCQDB'];a1_0x4edb=function(){return _0x4d50be;};return a1_0x4edb();}const core_1=require(a1_0x3472d4(0x1ae)),interface_1=require('../interface');function Event(){return _0xf8ae10=>{const _0x123f60=a1_0x59ff;(0x0,core_1[_0x123f60(0x1af)])()(_0xf8ae10),(0x0,core_1['saveModule'])(interface_1[_0x123f60(0x1c1)],_0xf8ae10),(0x0,core_1[_0x123f60(0x1b6)])(core_1[_0x123f60(0x1b4)][_0x123f60(0x1b5)],{'allowDowngrade':!![]})(_0xf8ae10);};}Event['On']=function(_0xdd11e1,_0x3cd78a=0x0,_0x1710b2=0x1f4){return(_0x260596,_0x2873be,_0x2d9e35)=>{const _0x3a988a=a1_0x59ff;return(0x0,core_1[_0x3a988a(0x1ac)])(interface_1['EVENT_ON_KEY'],{'name':_0xdd11e1,'priority':_0x3cd78a,'propertyKey':_0x2873be,'descriptor':_0x2d9e35,'throttle':_0x1710b2},_0x260596),_0x2d9e35;};};
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- var a2_0x1e861f=a2_0x4984;(function(_0x48fea0,_0xa5af4e){var _0x2208f6=a2_0x4984,_0x1c514f=_0x48fea0();while(!![]){try{var _0x540960=parseInt(_0x2208f6(0x168))/0x1+parseInt(_0x2208f6(0x164))/0x2+-parseInt(_0x2208f6(0x158))/0x3+-parseInt(_0x2208f6(0x16b))/0x4*(-parseInt(_0x2208f6(0x165))/0x5)+parseInt(_0x2208f6(0x169))/0x6*(parseInt(_0x2208f6(0x15f))/0x7)+parseInt(_0x2208f6(0x167))/0x8+-parseInt(_0x2208f6(0x16a))/0x9;if(_0x540960===_0xa5af4e)break;else _0x1c514f['push'](_0x1c514f['shift']());}catch(_0x1f63b5){_0x1c514f['push'](_0x1c514f['shift']());}}}(a2_0x1bdd,0x3f2e5));function a2_0x4984(_0x1da088,_0x17b092){var _0x4ad669=a2_0x1bdd();return a2_0x4984=function(_0xa76baf,_0xfc3e4b){_0xa76baf=_0xa76baf-0x157;var _0x1bdd50=_0x4ad669[_0xa76baf];return _0x1bdd50;},a2_0x4984(_0x1da088,_0x17b092);}var a2_0xfc3e4b=(function(){var _0x3c92d5=!![];return function(_0x44b1cb,_0x23286e){var _0x91a4cb=_0x3c92d5?function(){var _0x42f2d7=a2_0x4984;if(_0x23286e){var _0x1204b4=_0x23286e[_0x42f2d7(0x15c)](_0x44b1cb,arguments);return _0x23286e=null,_0x1204b4;}}:function(){};return _0x3c92d5=![],_0x91a4cb;};}()),a2_0xa76baf=a2_0xfc3e4b(this,function(){var _0x2e648=a2_0x4984;return a2_0xa76baf[_0x2e648(0x161)]()[_0x2e648(0x157)]('(((.+)+)+)+$')[_0x2e648(0x161)]()[_0x2e648(0x160)](a2_0xa76baf)[_0x2e648(0x157)](_0x2e648(0x162));});function a2_0x1bdd(){var _0x2b9b92=['8708994cfjPQX','1780436NnklZN','search','1446045XwAxIs','defineProperty','Configuration','./service/EventService','apply','Event','CustomConfiguration','3166751xOLtjK','constructor','toString','(((.+)+)+)+$','EventService','877524YqmItq','5TbyeLM','./decorator/Event','1637936FFvIbA','167464uuySYy','6CEGCOj'];a2_0x1bdd=function(){return _0x2b9b92;};return a2_0x1bdd();}a2_0xa76baf();'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a2_0x1e861f(0x15a)]=exports[a2_0x1e861f(0x163)]=exports[a2_0x1e861f(0x15d)]=void 0x0;var Event_1=require(a2_0x1e861f(0x166));Object['defineProperty'](exports,'Event',{'enumerable':!![],'get':function(){var _0xb8719d=a2_0x1e861f;return Event_1[_0xb8719d(0x15d)];}});var EventService_1=require(a2_0x1e861f(0x15b));Object['defineProperty'](exports,'EventService',{'enumerable':!![],'get':function(){var _0x4cd65a=a2_0x1e861f;return EventService_1[_0x4cd65a(0x163)];}});var configuration_1=require('./configuration');Object[a2_0x1e861f(0x159)](exports,a2_0x1e861f(0x15a),{'enumerable':!![],'get':function(){var _0x6aa613=a2_0x1e861f;return configuration_1[_0x6aa613(0x15e)];}});
1
+ var a2_0x4a5572=a2_0x3407;(function(_0x488f28,_0x5d2d62){var _0x48a271=a2_0x3407,_0x36bb82=_0x488f28();while(!![]){try{var _0x5d4352=-parseInt(_0x48a271(0x92))/0x1+-parseInt(_0x48a271(0x9c))/0x2*(-parseInt(_0x48a271(0xa0))/0x3)+-parseInt(_0x48a271(0x93))/0x4*(parseInt(_0x48a271(0x9e))/0x5)+-parseInt(_0x48a271(0x9f))/0x6*(parseInt(_0x48a271(0x95))/0x7)+parseInt(_0x48a271(0x9b))/0x8+parseInt(_0x48a271(0xa3))/0x9+parseInt(_0x48a271(0x90))/0xa;if(_0x5d4352===_0x5d2d62)break;else _0x36bb82['push'](_0x36bb82['shift']());}catch(_0x2610ff){_0x36bb82['push'](_0x36bb82['shift']());}}}(a2_0x153e,0xc875a));var a2_0x16f06a=(function(){var _0xb99922=!![];return function(_0x39e89f,_0xf95154){var _0x5189b7=_0xb99922?function(){var _0xd95b27=a2_0x3407;if(_0xf95154){var _0x2c5ffe=_0xf95154[_0xd95b27(0x9a)](_0x39e89f,arguments);return _0xf95154=null,_0x2c5ffe;}}:function(){};return _0xb99922=![],_0x5189b7;};}()),a2_0x100650=a2_0x16f06a(this,function(){var _0x2bcdcd=a2_0x3407;return a2_0x100650['toString']()['search'](_0x2bcdcd(0x99))[_0x2bcdcd(0x94)]()[_0x2bcdcd(0x8f)](a2_0x100650)[_0x2bcdcd(0x97)](_0x2bcdcd(0x99));});a2_0x100650();'use strict';Object[a2_0x4a5572(0xa1)](exports,a2_0x4a5572(0x96),{'value':!![]}),exports[a2_0x4a5572(0x91)]=exports[a2_0x4a5572(0x98)]=exports[a2_0x4a5572(0x9d)]=void 0x0;function a2_0x153e(){var _0xbf40bf=['__esModule','search','EventService','(((.+)+)+)+$','apply','7978592MMCMfS','4mbVBGQ','Event','266650BGsHcy','5898zTREIo','1843053wQEZgI','defineProperty','./service/EventService','10493334QMxPHa','constructor','180170kcybsC','Configuration','977448sUXade','100lDqdHo','toString','1981TrXyPj'];a2_0x153e=function(){return _0xbf40bf;};return a2_0x153e();}var Event_1=require('./decorator/Event');Object[a2_0x4a5572(0xa1)](exports,a2_0x4a5572(0x9d),{'enumerable':!![],'get':function(){return Event_1['Event'];}});var EventService_1=require(a2_0x4a5572(0xa2));function a2_0x3407(_0x3d5a84,_0x3708b7){var _0xe48d3=a2_0x153e();return a2_0x3407=function(_0x100650,_0x16f06a){_0x100650=_0x100650-0x8f;var _0x153e9=_0xe48d3[_0x100650];return _0x153e9;},a2_0x3407(_0x3d5a84,_0x3708b7);}Object[a2_0x4a5572(0xa1)](exports,a2_0x4a5572(0x98),{'enumerable':!![],'get':function(){var _0x2169b3=a2_0x4a5572;return EventService_1[_0x2169b3(0x98)];}});var configuration_1=require('./configuration');Object[a2_0x4a5572(0xa1)](exports,a2_0x4a5572(0x91),{'enumerable':!![],'get':function(){return configuration_1['CustomConfiguration'];}});
package/dist/interface.js CHANGED
@@ -1 +1 @@
1
- var a3_0x3aa06f=a3_0x68cc;(function(_0x86fc60,_0x3e2c50){var _0x1ca7d9=a3_0x68cc,_0x57daf8=_0x86fc60();while(!![]){try{var _0x5075b5=-parseInt(_0x1ca7d9(0x152))/0x1+parseInt(_0x1ca7d9(0x158))/0x2*(-parseInt(_0x1ca7d9(0x154))/0x3)+-parseInt(_0x1ca7d9(0x159))/0x4+parseInt(_0x1ca7d9(0x14e))/0x5+-parseInt(_0x1ca7d9(0x15b))/0x6*(parseInt(_0x1ca7d9(0x153))/0x7)+-parseInt(_0x1ca7d9(0x15e))/0x8*(parseInt(_0x1ca7d9(0x157))/0x9)+parseInt(_0x1ca7d9(0x15c))/0xa;if(_0x5075b5===_0x3e2c50)break;else _0x57daf8['push'](_0x57daf8['shift']());}catch(_0x20dd73){_0x57daf8['push'](_0x57daf8['shift']());}}}(a3_0x4902,0xc6659));var a3_0x28e744=(function(){var _0x5655ef=!![];return function(_0x4182e0,_0x1daea1){var _0x349fad=_0x5655ef?function(){var _0x68d558=a3_0x68cc;if(_0x1daea1){var _0x4a4a91=_0x1daea1[_0x68d558(0x15d)](_0x4182e0,arguments);return _0x1daea1=null,_0x4a4a91;}}:function(){};return _0x5655ef=![],_0x349fad;};}()),a3_0x17da65=a3_0x28e744(this,function(){var _0x165e3e=a3_0x68cc;return a3_0x17da65['toString']()[_0x165e3e(0x151)](_0x165e3e(0x15f))['toString']()[_0x165e3e(0x14f)](a3_0x17da65)[_0x165e3e(0x151)](_0x165e3e(0x15f));});a3_0x17da65();function a3_0x4902(){var _0x4ae170=['7329565uHYIBe','constructor','anncic-api:event','search','955241sPzMyV','273dtWDjK','98535GaIdfq','__esModule','defineProperty','9pNBpkX','62BKKmZK','4067264AFCwbJ','EVENT_ON_KEY','99486dulcNr','39490080FwelZp','apply','7723016wuVUCc','(((.+)+)+)+$','EVENT_KEY','anncic-api:event:on'];a3_0x4902=function(){return _0x4ae170;};return a3_0x4902();}function a3_0x68cc(_0x360f0f,_0x5bbea1){var _0x5a60d9=a3_0x4902();return a3_0x68cc=function(_0x17da65,_0x28e744){_0x17da65=_0x17da65-0x14d;var _0x490205=_0x5a60d9[_0x17da65];return _0x490205;},a3_0x68cc(_0x360f0f,_0x5bbea1);}'use strict';Object[a3_0x3aa06f(0x156)](exports,a3_0x3aa06f(0x155),{'value':!![]}),exports[a3_0x3aa06f(0x15a)]=exports[a3_0x3aa06f(0x160)]=void 0x0,exports[a3_0x3aa06f(0x160)]=a3_0x3aa06f(0x150),exports[a3_0x3aa06f(0x15a)]=a3_0x3aa06f(0x14d);
1
+ var a3_0x23ef46=a3_0x2747;(function(_0x395c8e,_0x5865a1){var _0x2db8ec=a3_0x2747,_0x2c5d88=_0x395c8e();while(!![]){try{var _0x31be7a=-parseInt(_0x2db8ec(0xbb))/0x1*(-parseInt(_0x2db8ec(0xc8))/0x2)+-parseInt(_0x2db8ec(0xc0))/0x3*(-parseInt(_0x2db8ec(0xc2))/0x4)+-parseInt(_0x2db8ec(0xc5))/0x5*(parseInt(_0x2db8ec(0xb5))/0x6)+-parseInt(_0x2db8ec(0xc4))/0x7+parseInt(_0x2db8ec(0xc6))/0x8+-parseInt(_0x2db8ec(0xbd))/0x9*(parseInt(_0x2db8ec(0xc7))/0xa)+parseInt(_0x2db8ec(0xb6))/0xb;if(_0x31be7a===_0x5865a1)break;else _0x2c5d88['push'](_0x2c5d88['shift']());}catch(_0x148edd){_0x2c5d88['push'](_0x2c5d88['shift']());}}}(a3_0x2c23,0x8969e));var a3_0x4033c3=(function(){var _0x36553a=!![];return function(_0x50f291,_0x34b77a){var _0xaa7e1f=_0x36553a?function(){var _0x1f5c5d=a3_0x2747;if(_0x34b77a){var _0x7412d4=_0x34b77a[_0x1f5c5d(0xb9)](_0x50f291,arguments);return _0x34b77a=null,_0x7412d4;}}:function(){};return _0x36553a=![],_0xaa7e1f;};}()),a3_0x2754c5=a3_0x4033c3(this,function(){var _0x367991=a3_0x2747;return a3_0x2754c5[_0x367991(0xc3)]()[_0x367991(0xbf)]('(((.+)+)+)+$')[_0x367991(0xc3)]()[_0x367991(0xbe)](a3_0x2754c5)['search'](_0x367991(0xc1));});function a3_0x2c23(){var _0x3e5a9c=['3145869vZHRkO','constructor','search','531492CHWBjW','(((.+)+)+)+$','4ILYqPf','toString','7277361yNxQdW','561755HvDdDx','1256728ObTyBX','30ndeZhV','1852QogdYA','EVENT_KEY','18DmEeaL','26432384MUXufF','__esModule','EVENT_ON_KEY','apply','anncic-api:event','271PkaeWa','defineProperty'];a3_0x2c23=function(){return _0x3e5a9c;};return a3_0x2c23();}a3_0x2754c5();function a3_0x2747(_0xae2ab,_0x4da62c){var _0x5d3e9e=a3_0x2c23();return a3_0x2747=function(_0x2754c5,_0x4033c3){_0x2754c5=_0x2754c5-0xb4;var _0x2c234e=_0x5d3e9e[_0x2754c5];return _0x2c234e;},a3_0x2747(_0xae2ab,_0x4da62c);}'use strict';Object[a3_0x23ef46(0xbc)](exports,a3_0x23ef46(0xb7),{'value':!![]}),exports[a3_0x23ef46(0xb8)]=exports[a3_0x23ef46(0xb4)]=void 0x0,exports[a3_0x23ef46(0xb4)]=a3_0x23ef46(0xba),exports[a3_0x23ef46(0xb8)]='anncic-api:event:on';
@@ -1 +1 @@
1
- const a4_0x7a27c=a4_0x207b;(function(_0x9f460a,_0x5d3ecf){const _0x199da7=a4_0x207b,_0x2d3d4d=_0x9f460a();while(!![]){try{const _0x569c17=-parseInt(_0x199da7(0xb6))/0x1*(parseInt(_0x199da7(0xd6))/0x2)+parseInt(_0x199da7(0xe8))/0x3*(parseInt(_0x199da7(0xb1))/0x4)+-parseInt(_0x199da7(0xcb))/0x5*(parseInt(_0x199da7(0xb4))/0x6)+-parseInt(_0x199da7(0xdf))/0x7*(-parseInt(_0x199da7(0xbc))/0x8)+parseInt(_0x199da7(0xca))/0x9+parseInt(_0x199da7(0xc3))/0xa*(parseInt(_0x199da7(0xe0))/0xb)+-parseInt(_0x199da7(0xde))/0xc*(-parseInt(_0x199da7(0xd8))/0xd);if(_0x569c17===_0x5d3ecf)break;else _0x2d3d4d['push'](_0x2d3d4d['shift']());}catch(_0x415564){_0x2d3d4d['push'](_0x2d3d4d['shift']());}}}(a4_0x1a8e,0xa25c2));const a4_0x2287e5=(function(){let _0x7afc15=!![];return function(_0x5dbd34,_0x2b51da){const _0x22b237=_0x7afc15?function(){const _0x32ca67=a4_0x207b;if(_0x2b51da){const _0x59edc9=_0x2b51da[_0x32ca67(0xd2)](_0x5dbd34,arguments);return _0x2b51da=null,_0x59edc9;}}:function(){};return _0x7afc15=![],_0x22b237;};}()),a4_0x2bf85f=a4_0x2287e5(this,function(){const _0x839d3a=a4_0x207b;return a4_0x2bf85f['toString']()[_0x839d3a(0xe4)](_0x839d3a(0xdd))['toString']()[_0x839d3a(0xd5)](a4_0x2bf85f)[_0x839d3a(0xe4)](_0x839d3a(0xdd));});a4_0x2bf85f();'use strict';var __decorate=this&&this['__decorate']||function(_0x398449,_0xf75d22,_0x500096,_0x866bd9){const _0x597085=a4_0x207b;var _0x78a140=arguments[_0x597085(0xcd)],_0x2365eb=_0x78a140<0x3?_0xf75d22:_0x866bd9===null?_0x866bd9=Object['getOwnPropertyDescriptor'](_0xf75d22,_0x500096):_0x866bd9,_0x12497a;if(typeof Reflect===_0x597085(0xb8)&&typeof Reflect[_0x597085(0xbf)]===_0x597085(0xe6))_0x2365eb=Reflect['decorate'](_0x398449,_0xf75d22,_0x500096,_0x866bd9);else{for(var _0x65b6de=_0x398449['length']-0x1;_0x65b6de>=0x0;_0x65b6de--)if(_0x12497a=_0x398449[_0x65b6de])_0x2365eb=(_0x78a140<0x3?_0x12497a(_0x2365eb):_0x78a140>0x3?_0x12497a(_0xf75d22,_0x500096,_0x2365eb):_0x12497a(_0xf75d22,_0x500096))||_0x2365eb;}return _0x78a140>0x3&&_0x2365eb&&Object[_0x597085(0xb9)](_0xf75d22,_0x500096,_0x2365eb),_0x2365eb;},__metadata=this&&this[a4_0x7a27c(0xb7)]||function(_0x500672,_0xe85c41){const _0x5c8832=a4_0x7a27c;if(typeof Reflect===_0x5c8832(0xb8)&&typeof Reflect[_0x5c8832(0xce)]===_0x5c8832(0xe6))return Reflect[_0x5c8832(0xce)](_0x500672,_0xe85c41);};function a4_0x1a8e(){const _0x638938=['__metadata','object','defineProperty','design:type','Singleton','8rtlzKV','Provide','getListevent','decorate','App','now','name','164270HefpBA','resolve','stringify','EVENT_ON_KEY','getApplicationContext','collect.js','off','2218518foGqjg','125MHroFw','once','length','metadata','emit','EVENT_KEY','prototype','apply','EventService','ScopeEnum','constructor','112022HHQEiM','event','117JDqVMj','listevent','push','listevent_throttle','sortByDesc','(((.+)+)+)+$','1287924hmrBlo','533897bjrUpm','11AiHloO','propertyKey','getClassMetadata','app','search','priority','function','default','15nigvVH','throttle','init','listModule','645196YXREIu','__esModule','bind','118662ChtPQE','Scope','17ntGXnm'];a4_0x1a8e=function(){return _0x638938;};return a4_0x1a8e();}Object[a4_0x7a27c(0xb9)](exports,a4_0x7a27c(0xb2),{'value':!![]}),exports[a4_0x7a27c(0xd3)]=void 0x0;const collect_js_1=require(a4_0x7a27c(0xc8)),core_1=require('@midwayjs/core'),interface_1=require('../interface');let EventService=class EventService{constructor(){const _0x464de4=a4_0x7a27c;this[_0x464de4(0xea)]=![];}async[a4_0x7a27c(0xbe)](_0x2238a8){const _0x3887de=a4_0x7a27c;if(!this[_0x3887de(0xea)]){this[_0x3887de(0xea)]=!![],this[_0x3887de(0xd9)]={};for(const _0x28e4df of(0x0,core_1[_0x3887de(0xeb)])(interface_1[_0x3887de(0xd0)])||[]){const _0x4720e4=await this[_0x3887de(0xe3)][_0x3887de(0xc7)]()['getAsync'](_0x28e4df);for(const _0x474454 of(0x0,core_1[_0x3887de(0xe2)])(interface_1[_0x3887de(0xc6)],_0x28e4df)||[]){typeof(_0x4720e4[_0x474454[_0x3887de(0xe1)]]==_0x3887de(0xe6))&&(!this[_0x3887de(0xd9)][_0x474454[_0x3887de(0xc2)]]&&(this[_0x3887de(0xd9)][_0x474454[_0x3887de(0xc2)]]=[]),this[_0x3887de(0xd9)][_0x474454[_0x3887de(0xc2)]][_0x3887de(0xda)]({'priority':(_0x474454===null||_0x474454===void 0x0?void 0x0:_0x474454[_0x3887de(0xe5)])||0x0,'throttle':(_0x474454===null||_0x474454===void 0x0?void 0x0:_0x474454[_0x3887de(0xe9)])||0x1f4,'resolve':_0x4720e4[_0x474454['propertyKey']][_0x3887de(0xb3)](_0x4720e4),'propertyKey':_0x28e4df['name']+'@'+_0x474454['propertyKey']}));}}for(const _0x10634a in this[_0x3887de(0xd9)]){this[_0x3887de(0xd9)][_0x10634a]=(0x0,collect_js_1[_0x3887de(0xe7)])(this[_0x3887de(0xd9)][_0x10634a])[_0x3887de(0xdc)](_0x3887de(0xe5))['all']();}}return _0x2238a8?this['listevent'][_0x2238a8]||[]:this['listevent'];}async[a4_0x7a27c(0xcf)](_0x51efe5,..._0x438e07){const _0x4f057b=a4_0x7a27c;var _0x7c1088,_0x192310,_0x5ea710,_0x4f250a,_0x2cf5a4;const _0x1b2cfd=''+JSON[_0x4f057b(0xc5)](_0x438e07),_0x32bf25=Date[_0x4f057b(0xc1)]();await this['getListevent']();for(let _0x2939e2 in this[_0x4f057b(0xdb)]){this['listevent_throttle'][_0x2939e2]<_0x32bf25&&delete this[_0x4f057b(0xdb)][_0x2939e2];}for(let _0x3a4621 in(_0x7c1088=this[_0x4f057b(0xd9)])===null||_0x7c1088===void 0x0?void 0x0:_0x7c1088[_0x51efe5]){if(((_0x192310=this['listevent'][_0x51efe5])===null||_0x192310===void 0x0?void 0x0:_0x192310[_0x3a4621])&&typeof((_0x4f250a=(_0x5ea710=this[_0x4f057b(0xd9)][_0x51efe5])===null||_0x5ea710===void 0x0?void 0x0:_0x5ea710[_0x3a4621])===null||_0x4f250a===void 0x0?void 0x0:_0x4f250a[_0x4f057b(0xc4)])==_0x4f057b(0xe6)){const _0x4f8519=_0x51efe5+'_'+_0x3a4621+'@'+_0x1b2cfd;(!this[_0x4f057b(0xdb)]||this[_0x4f057b(0xdb)][_0x4f8519]<_0x32bf25)&&(this[_0x4f057b(0xdb)][_0x4f8519]=_0x32bf25+(((_0x2cf5a4=this[_0x4f057b(0xd9)][_0x51efe5][_0x3a4621])===null||_0x2cf5a4===void 0x0?void 0x0:_0x2cf5a4[_0x4f057b(0xe9)])||0x1f4),await this[_0x4f057b(0xd9)][_0x51efe5][_0x3a4621][_0x4f057b(0xc4)](..._0x438e07));}}}async[a4_0x7a27c(0xcc)](_0x485302,..._0x4535b0){return await this['getListevent'](),await this['emit'](_0x485302,..._0x4535b0),this['off'](_0x485302);}async[a4_0x7a27c(0xc9)](_0x4bcefc){const _0x52c55b=a4_0x7a27c;return await this['getListevent'](),this['listevent'][_0x4bcefc]&&delete this[_0x52c55b(0xd9)][_0x4bcefc],!!this[_0x52c55b(0xd9)][_0x4bcefc];}};function a4_0x207b(_0x559af6,_0x5699b4){const _0x4d8758=a4_0x1a8e();return a4_0x207b=function(_0x2bf85f,_0x2287e5){_0x2bf85f=_0x2bf85f-0xb1;let _0x1a8e57=_0x4d8758[_0x2bf85f];return _0x1a8e57;},a4_0x207b(_0x559af6,_0x5699b4);}exports[a4_0x7a27c(0xd3)]=EventService,__decorate([(0x0,core_1[a4_0x7a27c(0xc0)])(),__metadata(a4_0x7a27c(0xba),Object)],EventService[a4_0x7a27c(0xd1)],'app',void 0x0),exports[a4_0x7a27c(0xd3)]=EventService=__decorate([(0x0,core_1[a4_0x7a27c(0xbd)])(a4_0x7a27c(0xd7)),(0x0,core_1[a4_0x7a27c(0xb5)])(core_1[a4_0x7a27c(0xd4)][a4_0x7a27c(0xbb)])],EventService);
1
+ const a4_0x3ab2e8=a4_0x5286;(function(_0x41e8ef,_0x34862e){const _0x33008f=a4_0x5286,_0x38bd22=_0x41e8ef();while(!![]){try{const _0x327aaf=-parseInt(_0x33008f(0x85))/0x1+-parseInt(_0x33008f(0x95))/0x2+-parseInt(_0x33008f(0x8a))/0x3*(-parseInt(_0x33008f(0xa5))/0x4)+parseInt(_0x33008f(0x93))/0x5+parseInt(_0x33008f(0x88))/0x6*(parseInt(_0x33008f(0x8b))/0x7)+-parseInt(_0x33008f(0xa4))/0x8+parseInt(_0x33008f(0x76))/0x9*(parseInt(_0x33008f(0xa6))/0xa);if(_0x327aaf===_0x34862e)break;else _0x38bd22['push'](_0x38bd22['shift']());}catch(_0x1f1645){_0x38bd22['push'](_0x38bd22['shift']());}}}(a4_0x2f01,0x541c3));const a4_0x4f5be0=(function(){let _0x252a3c=!![];return function(_0x23f65a,_0x3746a5){const _0x319ada=_0x252a3c?function(){const _0x403793=a4_0x5286;if(_0x3746a5){const _0xd80850=_0x3746a5[_0x403793(0xa7)](_0x23f65a,arguments);return _0x3746a5=null,_0xd80850;}}:function(){};return _0x252a3c=![],_0x319ada;};}()),a4_0x258cde=a4_0x4f5be0(this,function(){const _0x4a6f96=a4_0x5286;return a4_0x258cde[_0x4a6f96(0x79)]()['search'](_0x4a6f96(0xa0))['toString']()[_0x4a6f96(0x99)](a4_0x258cde)['search']('(((.+)+)+)+$');});a4_0x258cde();'use strict';function a4_0x5286(_0x10c511,_0xc285b5){const _0x3e7876=a4_0x2f01();return a4_0x5286=function(_0x258cde,_0x4f5be0){_0x258cde=_0x258cde-0x73;let _0x2f0136=_0x3e7876[_0x258cde];return _0x2f0136;},a4_0x5286(_0x10c511,_0xc285b5);}var __decorate=this&&this[a4_0x3ab2e8(0x8f)]||function(_0x2be0c6,_0x26b691,_0x412430,_0x476d59){const _0x3cec6b=a4_0x3ab2e8;var _0xaa5af5=arguments[_0x3cec6b(0x90)],_0x5d2ddf=_0xaa5af5<0x3?_0x26b691:_0x476d59===null?_0x476d59=Object[_0x3cec6b(0x77)](_0x26b691,_0x412430):_0x476d59,_0x4ba963;if(typeof Reflect===_0x3cec6b(0xa3)&&typeof Reflect[_0x3cec6b(0x84)]===_0x3cec6b(0x98))_0x5d2ddf=Reflect[_0x3cec6b(0x84)](_0x2be0c6,_0x26b691,_0x412430,_0x476d59);else{for(var _0x203015=_0x2be0c6[_0x3cec6b(0x90)]-0x1;_0x203015>=0x0;_0x203015--)if(_0x4ba963=_0x2be0c6[_0x203015])_0x5d2ddf=(_0xaa5af5<0x3?_0x4ba963(_0x5d2ddf):_0xaa5af5>0x3?_0x4ba963(_0x26b691,_0x412430,_0x5d2ddf):_0x4ba963(_0x26b691,_0x412430))||_0x5d2ddf;}return _0xaa5af5>0x3&&_0x5d2ddf&&Object[_0x3cec6b(0x9c)](_0x26b691,_0x412430,_0x5d2ddf),_0x5d2ddf;},__metadata=this&&this[a4_0x3ab2e8(0x8e)]||function(_0x8d41fd,_0x2871d0){const _0x17da85=a4_0x3ab2e8;if(typeof Reflect===_0x17da85(0xa3)&&typeof Reflect[_0x17da85(0x96)]==='function')return Reflect[_0x17da85(0x96)](_0x8d41fd,_0x2871d0);};Object['defineProperty'](exports,a4_0x3ab2e8(0x7f),{'value':!![]}),exports[a4_0x3ab2e8(0x7e)]=void 0x0;const collect_js_1=require('collect.js'),core_1=require(a4_0x3ab2e8(0x9b)),interface_1=require(a4_0x3ab2e8(0x87));function a4_0x2f01(){const _0x416dfa=['function','constructor','now','@midwayjs/core','defineProperty','listevent_throttle','Singleton','default','(((.+)+)+)+$','resolve','once','object','566160WwIdVn','4sHqMzl','30TDwPFz','apply','App','listevent','propertyKey','774315zRrwvY','getOwnPropertyDescriptor','getListevent','toString','all','event','EVENT_KEY','EVENT_ON_KEY','EventService','__esModule','app','stringify','getClassMetadata','getApplicationContext','decorate','632816WLtjHI','throttle','../interface','30AqsjxV','Scope','888117yoFKtl','777259DwUNUN','name','off','__metadata','__decorate','length','priority','push','2037370GHFLEU','Provide','937404LlDMfL','metadata','init'];a4_0x2f01=function(){return _0x416dfa;};return a4_0x2f01();}let EventService=class EventService{constructor(){const _0x37b346=a4_0x3ab2e8;this[_0x37b346(0x97)]=![];}async[a4_0x3ab2e8(0x78)](_0x29775c){const _0x4233f8=a4_0x3ab2e8;if(!this[_0x4233f8(0x97)]){this[_0x4233f8(0x97)]=!![],this[_0x4233f8(0x74)]={};for(const _0x4b5977 of(0x0,core_1['listModule'])(interface_1[_0x4233f8(0x7c)])||[]){const _0x888a04=await this[_0x4233f8(0x80)][_0x4233f8(0x83)]()['getAsync'](_0x4b5977);for(const _0x316f20 of(0x0,core_1[_0x4233f8(0x82)])(interface_1[_0x4233f8(0x7d)],_0x4b5977)||[]){typeof(_0x888a04[_0x316f20[_0x4233f8(0x75)]]=='function')&&(!this[_0x4233f8(0x74)][_0x316f20[_0x4233f8(0x8c)]]&&(this[_0x4233f8(0x74)][_0x316f20[_0x4233f8(0x8c)]]=[]),this['listevent'][_0x316f20[_0x4233f8(0x8c)]][_0x4233f8(0x92)]({'priority':(_0x316f20===null||_0x316f20===void 0x0?void 0x0:_0x316f20['priority'])||0x0,'throttle':(_0x316f20===null||_0x316f20===void 0x0?void 0x0:_0x316f20[_0x4233f8(0x86)])||0x1f4,'resolve':_0x888a04[_0x316f20[_0x4233f8(0x75)]]['bind'](_0x888a04),'propertyKey':_0x4b5977[_0x4233f8(0x8c)]+'@'+_0x316f20[_0x4233f8(0x75)]}));}}for(const _0x3d85a7 in this[_0x4233f8(0x74)]){this[_0x4233f8(0x74)][_0x3d85a7]=(0x0,collect_js_1[_0x4233f8(0x9f)])(this[_0x4233f8(0x74)][_0x3d85a7])['sortByDesc'](_0x4233f8(0x91))[_0x4233f8(0x7a)]();}}return _0x29775c?this[_0x4233f8(0x74)][_0x29775c]||[]:this[_0x4233f8(0x74)];}async['emit'](_0x4e0682,..._0x3f1e5f){const _0x31628a=a4_0x3ab2e8;var _0x175c54,_0xab71b8,_0x283060,_0x462654,_0x70f040;const _0x305148=''+JSON[_0x31628a(0x81)](_0x3f1e5f),_0x12202e=Date[_0x31628a(0x9a)]();await this['getListevent']();for(let _0x530bd3 in this[_0x31628a(0x9d)]){this['listevent_throttle'][_0x530bd3]<_0x12202e&&delete this['listevent_throttle'][_0x530bd3];}for(let _0x54348f in(_0x175c54=this['listevent'])===null||_0x175c54===void 0x0?void 0x0:_0x175c54[_0x4e0682]){if(((_0xab71b8=this[_0x31628a(0x74)][_0x4e0682])===null||_0xab71b8===void 0x0?void 0x0:_0xab71b8[_0x54348f])&&typeof((_0x462654=(_0x283060=this[_0x31628a(0x74)][_0x4e0682])===null||_0x283060===void 0x0?void 0x0:_0x283060[_0x54348f])===null||_0x462654===void 0x0?void 0x0:_0x462654[_0x31628a(0xa1)])==_0x31628a(0x98)){const _0xbaa925=_0x4e0682+'_'+_0x54348f+'@'+_0x305148;(!this[_0x31628a(0x9d)]||this[_0x31628a(0x9d)][_0xbaa925]<_0x12202e)&&(this[_0x31628a(0x9d)][_0xbaa925]=_0x12202e+(((_0x70f040=this['listevent'][_0x4e0682][_0x54348f])===null||_0x70f040===void 0x0?void 0x0:_0x70f040['throttle'])||0x1f4),await this['listevent'][_0x4e0682][_0x54348f]['resolve'](..._0x3f1e5f));}}}async[a4_0x3ab2e8(0xa2)](_0xb80489,..._0x479189){const _0x3d3eaf=a4_0x3ab2e8;return await this['getListevent'](),await this['emit'](_0xb80489,..._0x479189),this[_0x3d3eaf(0x8d)](_0xb80489);}async['off'](_0x317cf0){const _0x4f4b85=a4_0x3ab2e8;return await this['getListevent'](),this[_0x4f4b85(0x74)][_0x317cf0]&&delete this[_0x4f4b85(0x74)][_0x317cf0],!!this[_0x4f4b85(0x74)][_0x317cf0];}};exports[a4_0x3ab2e8(0x7e)]=EventService,__decorate([(0x0,core_1[a4_0x3ab2e8(0x73)])(),__metadata('design:type',Object)],EventService['prototype'],a4_0x3ab2e8(0x80),void 0x0),exports[a4_0x3ab2e8(0x7e)]=EventService=__decorate([(0x0,core_1[a4_0x3ab2e8(0x94)])(a4_0x3ab2e8(0x7b)),(0x0,core_1[a4_0x3ab2e8(0x89)])(core_1['ScopeEnum'][a4_0x3ab2e8(0x9e)])],EventService);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anncic-api/event",
3
- "version": "3.7.0",
3
+ "version": "3.7.1",
4
4
  "main": "./dist/index.js",
5
5
  "license": "MIT",
6
6
  "files": [
@@ -22,5 +22,5 @@
22
22
  "javascript-obfuscator": "^4.0.2",
23
23
  "typescript": "^5.5.4"
24
24
  },
25
- "gitHead": "725020d29dd02779df3b02bbc24e3347c44b9e9c"
25
+ "gitHead": "30df2b7b6022bfce39cc59a1e77207baaafc898d"
26
26
  }