@anncic-api/event 3.4.85 → 3.4.86

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_0x98c981=a0_0x283a;(function(_0x143cbb,_0x529a15){var _0x3e1ad3=a0_0x283a,_0x6e74df=_0x143cbb();while(!![]){try{var _0x6de5b8=parseInt(_0x3e1ad3(0x17d))/0x1*(parseInt(_0x3e1ad3(0x197))/0x2)+-parseInt(_0x3e1ad3(0x17f))/0x3*(-parseInt(_0x3e1ad3(0x17c))/0x4)+parseInt(_0x3e1ad3(0x18f))/0x5+parseInt(_0x3e1ad3(0x19b))/0x6*(-parseInt(_0x3e1ad3(0x192))/0x7)+-parseInt(_0x3e1ad3(0x187))/0x8+parseInt(_0x3e1ad3(0x18e))/0x9*(-parseInt(_0x3e1ad3(0x19a))/0xa)+-parseInt(_0x3e1ad3(0x183))/0xb*(-parseInt(_0x3e1ad3(0x180))/0xc);if(_0x6de5b8===_0x529a15)break;else _0x6e74df['push'](_0x6e74df['shift']());}catch(_0x47e101){_0x6e74df['push'](_0x6e74df['shift']());}}}(a0_0x1dd7,0x943ca));var a0_0xe74a61=(function(){var _0x41e8c3=!![];return function(_0x259158,_0x1260a2){var _0x3d36ff=_0x41e8c3?function(){var _0x28e280=a0_0x283a;if(_0x1260a2){var _0x3636ee=_0x1260a2[_0x28e280(0x17e)](_0x259158,arguments);return _0x1260a2=null,_0x3636ee;}}:function(){};return _0x41e8c3=![],_0x3d36ff;};}()),a0_0x2f2f0d=a0_0xe74a61(this,function(){var _0x5e7531=a0_0x283a;return a0_0x2f2f0d[_0x5e7531(0x186)]()[_0x5e7531(0x184)](_0x5e7531(0x189))[_0x5e7531(0x186)]()['constructor'](a0_0x2f2f0d)[_0x5e7531(0x184)](_0x5e7531(0x189));});function a0_0x1dd7(){var _0x5891b6=['8596qhBpZt','1NaOFdn','apply','1041hWcnOr','12SHjcfy','Inject','object','20322907GKZRDQ','search','defineProperty','toString','6291312WFFgbE','__decorate','(((.+)+)+)+$','Configuration','__metadata','decorator','design:type','1773jZoZtH','767425cmgcXE','config','onReady','7303177NNBCVd','decorate','CustomConfiguration','getOwnPropertyDescriptor','metadata','1022548lkitvA','@midwayjs/core','__esModule','41680JmJDge','6FkYhWz','prototype'];a0_0x1dd7=function(){return _0x5891b6;};return a0_0x1dd7();}a0_0x2f2f0d();'use strict';var __decorate=this&&this[a0_0x98c981(0x188)]||function(_0x28c6c9,_0x2a2d56,_0x1b4e9f,_0x12601f){var _0x4869af=a0_0x98c981,_0xb6b919=arguments['length'],_0x97e02=_0xb6b919<0x3?_0x2a2d56:_0x12601f===null?_0x12601f=Object[_0x4869af(0x195)](_0x2a2d56,_0x1b4e9f):_0x12601f,_0x2e3ed7;if(typeof Reflect===_0x4869af(0x182)&&typeof Reflect['decorate']==='function')_0x97e02=Reflect[_0x4869af(0x193)](_0x28c6c9,_0x2a2d56,_0x1b4e9f,_0x12601f);else{for(var _0x18dc6c=_0x28c6c9['length']-0x1;_0x18dc6c>=0x0;_0x18dc6c--)if(_0x2e3ed7=_0x28c6c9[_0x18dc6c])_0x97e02=(_0xb6b919<0x3?_0x2e3ed7(_0x97e02):_0xb6b919>0x3?_0x2e3ed7(_0x2a2d56,_0x1b4e9f,_0x97e02):_0x2e3ed7(_0x2a2d56,_0x1b4e9f))||_0x97e02;}return _0xb6b919>0x3&&_0x97e02&&Object[_0x4869af(0x185)](_0x2a2d56,_0x1b4e9f,_0x97e02),_0x97e02;},__metadata=this&&this[a0_0x98c981(0x18b)]||function(_0x369ec8,_0x1d02e7){var _0x2b836d=a0_0x98c981;if(typeof Reflect===_0x2b836d(0x182)&&typeof Reflect[_0x2b836d(0x196)]==='function')return Reflect[_0x2b836d(0x196)](_0x369ec8,_0x1d02e7);};Object[a0_0x98c981(0x185)](exports,a0_0x98c981(0x199),{'value':!![]}),exports[a0_0x98c981(0x194)]=void 0x0;const core_1=require(a0_0x98c981(0x198)),core_2=require(a0_0x98c981(0x198));let CustomConfiguration=class CustomConfiguration{async[a0_0x98c981(0x191)](){}};function a0_0x283a(_0x2cd785,_0x1222bf){var _0x30da30=a0_0x1dd7();return a0_0x283a=function(_0x2f2f0d,_0xe74a61){_0x2f2f0d=_0x2f2f0d-0x17b;var _0x1dd715=_0x30da30[_0x2f2f0d];return _0x1dd715;},a0_0x283a(_0x2cd785,_0x1222bf);}exports[a0_0x98c981(0x194)]=CustomConfiguration,__decorate([(0x0,core_1[a0_0x98c981(0x181)])(),__metadata(a0_0x98c981(0x18d),core_2['MidwayConfigService'])],CustomConfiguration[a0_0x98c981(0x17b)],a0_0x98c981(0x190),void 0x0),__decorate([(0x0,core_1[a0_0x98c981(0x181)])(),__metadata('design:type',core_2['MidwayDecoratorService'])],CustomConfiguration['prototype'],a0_0x98c981(0x18c),void 0x0),exports['CustomConfiguration']=CustomConfiguration=__decorate([(0x0,core_1[a0_0x98c981(0x18a)])({'conflictCheck':![],'namespace':'anncic-api:event'})],CustomConfiguration);
1
+ var a0_0x4cfadd=a0_0x299d;(function(_0x5ea196,_0x203077){var _0x3136d9=a0_0x299d,_0x477664=_0x5ea196();while(!![]){try{var _0x4f7c0f=parseInt(_0x3136d9(0xeb))/0x1+parseInt(_0x3136d9(0xf4))/0x2*(parseInt(_0x3136d9(0xe3))/0x3)+-parseInt(_0x3136d9(0xf1))/0x4+parseInt(_0x3136d9(0xf5))/0x5*(parseInt(_0x3136d9(0xd6))/0x6)+parseInt(_0x3136d9(0xd8))/0x7*(-parseInt(_0x3136d9(0xf3))/0x8)+parseInt(_0x3136d9(0xf9))/0x9+parseInt(_0x3136d9(0xda))/0xa*(-parseInt(_0x3136d9(0xe0))/0xb);if(_0x4f7c0f===_0x203077)break;else _0x477664['push'](_0x477664['shift']());}catch(_0xc7c386){_0x477664['push'](_0x477664['shift']());}}}(a0_0x5008,0x84a64));var a0_0x141a9e=(function(){var _0x18ffa3=!![];return function(_0x288885,_0x530bba){var _0x16840f=_0x18ffa3?function(){var _0x2d21fc=a0_0x299d;if(_0x530bba){var _0x417b3c=_0x530bba[_0x2d21fc(0xf0)](_0x288885,arguments);return _0x530bba=null,_0x417b3c;}}:function(){};return _0x18ffa3=![],_0x16840f;};}()),a0_0x58dbd2=a0_0x141a9e(this,function(){var _0x15086a=a0_0x299d;return a0_0x58dbd2['toString']()[_0x15086a(0xed)]('(((.+)+)+)+$')['toString']()[_0x15086a(0xe5)](a0_0x58dbd2)['search'](_0x15086a(0xe9));});function a0_0x299d(_0x39ab16,_0x336da0){var _0x27a22d=a0_0x5008();return a0_0x299d=function(_0x58dbd2,_0x141a9e){_0x58dbd2=_0x58dbd2-0xd6;var _0x500874=_0x27a22d[_0x58dbd2];return _0x500874;},a0_0x299d(_0x39ab16,_0x336da0);}a0_0x58dbd2();'use strict';var __decorate=this&&this['__decorate']||function(_0x216c5a,_0x2af804,_0x41c53c,_0x267a13){var _0x404183=a0_0x299d,_0x2c0b5c=arguments[_0x404183(0xf8)],_0x4fdf3e=_0x2c0b5c<0x3?_0x2af804:_0x267a13===null?_0x267a13=Object[_0x404183(0xe7)](_0x2af804,_0x41c53c):_0x267a13,_0x498b6c;if(typeof Reflect===_0x404183(0xf7)&&typeof Reflect[_0x404183(0xdc)]===_0x404183(0xec))_0x4fdf3e=Reflect[_0x404183(0xdc)](_0x216c5a,_0x2af804,_0x41c53c,_0x267a13);else{for(var _0xc10420=_0x216c5a[_0x404183(0xf8)]-0x1;_0xc10420>=0x0;_0xc10420--)if(_0x498b6c=_0x216c5a[_0xc10420])_0x4fdf3e=(_0x2c0b5c<0x3?_0x498b6c(_0x4fdf3e):_0x2c0b5c>0x3?_0x498b6c(_0x2af804,_0x41c53c,_0x4fdf3e):_0x498b6c(_0x2af804,_0x41c53c))||_0x4fdf3e;}return _0x2c0b5c>0x3&&_0x4fdf3e&&Object[_0x404183(0xe2)](_0x2af804,_0x41c53c,_0x4fdf3e),_0x4fdf3e;},__metadata=this&&this[a0_0x4cfadd(0xe6)]||function(_0x35b995,_0x1c0eaf){var _0x534db8=a0_0x4cfadd;if(typeof Reflect===_0x534db8(0xf7)&&typeof Reflect[_0x534db8(0xdf)]==='function')return Reflect[_0x534db8(0xdf)](_0x35b995,_0x1c0eaf);};function a0_0x5008(){var _0x3a0969=['CustomConfiguration','object','length','8429013YqtfJX','1422192FuzIIf','MidwayConfigService','56UGtQdY','decorator','30YLfvUN','@midwayjs/core','decorate','MidwayDecoratorService','__esModule','metadata','2662759XkIkHS','design:type','defineProperty','3OJREit','Configuration','constructor','__metadata','getOwnPropertyDescriptor','onReady','(((.+)+)+)+$','Inject','272551KSpigJ','function','search','prototype','config','apply','676860OFnRos','anncic-api:event','437032JpDTVD','385228DFuHtn','10UgePhA'];a0_0x5008=function(){return _0x3a0969;};return a0_0x5008();}Object['defineProperty'](exports,a0_0x4cfadd(0xde),{'value':!![]}),exports[a0_0x4cfadd(0xf6)]=void 0x0;const core_1=require(a0_0x4cfadd(0xdb)),core_2=require(a0_0x4cfadd(0xdb));let CustomConfiguration=class CustomConfiguration{async[a0_0x4cfadd(0xe8)](){}};exports['CustomConfiguration']=CustomConfiguration,__decorate([(0x0,core_1[a0_0x4cfadd(0xea)])(),__metadata(a0_0x4cfadd(0xe1),core_2[a0_0x4cfadd(0xd7)])],CustomConfiguration[a0_0x4cfadd(0xee)],a0_0x4cfadd(0xef),void 0x0),__decorate([(0x0,core_1[a0_0x4cfadd(0xea)])(),__metadata(a0_0x4cfadd(0xe1),core_2[a0_0x4cfadd(0xdd)])],CustomConfiguration[a0_0x4cfadd(0xee)],a0_0x4cfadd(0xd9),void 0x0),exports[a0_0x4cfadd(0xf6)]=CustomConfiguration=__decorate([(0x0,core_1[a0_0x4cfadd(0xe4)])({'conflictCheck':![],'namespace':a0_0x4cfadd(0xf2)})],CustomConfiguration);
@@ -1 +1 @@
1
- const a1_0x40c63e=a1_0x4294;(function(_0x28e091,_0x514f8f){const _0x34e0e1=a1_0x4294,_0x548ead=_0x28e091();while(!![]){try{const _0x20fd57=parseInt(_0x34e0e1(0x1f4))/0x1*(parseInt(_0x34e0e1(0x1ff))/0x2)+-parseInt(_0x34e0e1(0x1fd))/0x3+-parseInt(_0x34e0e1(0x1fe))/0x4+parseInt(_0x34e0e1(0x1f3))/0x5+parseInt(_0x34e0e1(0x201))/0x6*(parseInt(_0x34e0e1(0x1ed))/0x7)+-parseInt(_0x34e0e1(0x1f6))/0x8*(-parseInt(_0x34e0e1(0x1ee))/0x9)+-parseInt(_0x34e0e1(0x1ef))/0xa;if(_0x20fd57===_0x514f8f)break;else _0x548ead['push'](_0x548ead['shift']());}catch(_0x1674eb){_0x548ead['push'](_0x548ead['shift']());}}}(a1_0x9153,0x63987));function a1_0x4294(_0x32209d,_0x5ae073){const _0x3f0cf2=a1_0x9153();return a1_0x4294=function(_0x451810,_0x33b3c1){_0x451810=_0x451810-0x1ed;let _0x915314=_0x3f0cf2[_0x451810];return _0x915314;},a1_0x4294(_0x32209d,_0x5ae073);}const a1_0x33b3c1=(function(){let _0x4d6c29=!![];return function(_0x8819e8,_0x232382){const _0x4f4adf=_0x4d6c29?function(){const _0x3e21ec=a1_0x4294;if(_0x232382){const _0x57ed35=_0x232382[_0x3e21ec(0x1f8)](_0x8819e8,arguments);return _0x232382=null,_0x57ed35;}}:function(){};return _0x4d6c29=![],_0x4f4adf;};}()),a1_0x451810=a1_0x33b3c1(this,function(){const _0x1a396c=a1_0x4294;return a1_0x451810[_0x1a396c(0x1f9)]()[_0x1a396c(0x1fc)](_0x1a396c(0x1f1))[_0x1a396c(0x1f9)]()[_0x1a396c(0x202)](a1_0x451810)[_0x1a396c(0x1fc)](_0x1a396c(0x1f1));});a1_0x451810();'use strict';function a1_0x9153(){const _0x336b8d=['(((.+)+)+)+$','Provide','2738595QIRLHM','17ofLQCA','attachClassMetadata','129136tkamsz','saveModule','apply','toString','EVENT_KEY','EVENT_ON_KEY','search','1026516pwuYew','1567116MErLOD','3038KDSYaO','../interface','60318FqczCq','constructor','196yhQQsz','369JjmBLf','3749540BRQgpA','ScopeEnum'];a1_0x9153=function(){return _0x336b8d;};return a1_0x9153();}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['Event']=Event;const core_1=require('@midwayjs/core'),interface_1=require(a1_0x40c63e(0x200));function Event(){return _0x393645=>{const _0x119453=a1_0x4294;(0x0,core_1[_0x119453(0x1f2)])()(_0x393645),(0x0,core_1[_0x119453(0x1f7)])(interface_1[_0x119453(0x1fa)],_0x393645),(0x0,core_1['Scope'])(core_1[_0x119453(0x1f0)]['Request'],{'allowDowngrade':!![]})(_0x393645);};}Event['On']=function(_0x9c598a,_0xdafba3=0x0,_0x27b25=0x1f4){return(_0x78b7ec,_0x491418,_0x59e457)=>{const _0x4a7f36=a1_0x4294;return(0x0,core_1[_0x4a7f36(0x1f5)])(interface_1[_0x4a7f36(0x1fb)],{'name':_0x9c598a,'priority':_0xdafba3,'propertyKey':_0x491418,'descriptor':_0x59e457,'throttle':_0x27b25},_0x78b7ec),_0x59e457;};};
1
+ function a1_0x5b38(_0x55b03e,_0x304eb1){const _0x5f4cc4=a1_0x2698();return a1_0x5b38=function(_0x373b98,_0x4bd632){_0x373b98=_0x373b98-0x1d2;let _0x2698af=_0x5f4cc4[_0x373b98];return _0x2698af;},a1_0x5b38(_0x55b03e,_0x304eb1);}const a1_0x3823d7=a1_0x5b38;(function(_0x2f5450,_0x1ced9f){const _0x48ece1=a1_0x5b38,_0x1534c3=_0x2f5450();while(!![]){try{const _0x37004c=parseInt(_0x48ece1(0x1e4))/0x1*(-parseInt(_0x48ece1(0x1d6))/0x2)+-parseInt(_0x48ece1(0x1d2))/0x3+parseInt(_0x48ece1(0x1d9))/0x4+parseInt(_0x48ece1(0x1d8))/0x5+parseInt(_0x48ece1(0x1dc))/0x6+parseInt(_0x48ece1(0x1d7))/0x7*(parseInt(_0x48ece1(0x1e1))/0x8)+-parseInt(_0x48ece1(0x1e8))/0x9*(parseInt(_0x48ece1(0x1e2))/0xa);if(_0x37004c===_0x1ced9f)break;else _0x1534c3['push'](_0x1534c3['shift']());}catch(_0x54b905){_0x1534c3['push'](_0x1534c3['shift']());}}}(a1_0x2698,0xa3c36));const a1_0x4bd632=(function(){let _0x2f24bf=!![];return function(_0x331603,_0x11259f){const _0x11994e=_0x2f24bf?function(){if(_0x11259f){const _0x15f298=_0x11259f['apply'](_0x331603,arguments);return _0x11259f=null,_0x15f298;}}:function(){};return _0x2f24bf=![],_0x11994e;};}()),a1_0x373b98=a1_0x4bd632(this,function(){const _0xb9caa2=a1_0x5b38;return a1_0x373b98[_0xb9caa2(0x1de)]()[_0xb9caa2(0x1d3)](_0xb9caa2(0x1db))[_0xb9caa2(0x1de)]()[_0xb9caa2(0x1d5)](a1_0x373b98)['search'](_0xb9caa2(0x1db));});a1_0x373b98();'use strict';Object[a1_0x3823d7(0x1e5)](exports,a1_0x3823d7(0x1d4),{'value':!![]}),exports[a1_0x3823d7(0x1e0)]=Event;const core_1=require(a1_0x3823d7(0x1e3)),interface_1=require('../interface');function Event(){return _0x1b50e1=>{const _0x1ee60d=a1_0x5b38;(0x0,core_1['Provide'])()(_0x1b50e1),(0x0,core_1[_0x1ee60d(0x1e7)])(interface_1['EVENT_KEY'],_0x1b50e1),(0x0,core_1[_0x1ee60d(0x1da)])(core_1[_0x1ee60d(0x1e6)][_0x1ee60d(0x1df)],{'allowDowngrade':!![]})(_0x1b50e1);};}function a1_0x2698(){const _0x5d3786=['ScopeEnum','saveModule','7713oRmKSb','1490415hHiOzd','search','__esModule','constructor','2548318MObzms','7mzfdJF','5678075FUqpUL','3338832wfJlSG','Scope','(((.+)+)+)+$','4811928ombIYk','EVENT_ON_KEY','toString','Request','Event','5733448tzZFyl','12220nyEvCt','@midwayjs/core','1FQRTVH','defineProperty'];a1_0x2698=function(){return _0x5d3786;};return a1_0x2698();}Event['On']=function(_0x2c48ed,_0x4a7baf=0x0,_0x2277f7=0x1f4){return(_0x2cf66b,_0x2a7c7a,_0x377ec3)=>{const _0x1caecd=a1_0x5b38;return(0x0,core_1['attachClassMetadata'])(interface_1[_0x1caecd(0x1dd)],{'name':_0x2c48ed,'priority':_0x4a7baf,'propertyKey':_0x2a7c7a,'descriptor':_0x377ec3,'throttle':_0x2277f7},_0x2cf66b),_0x377ec3;};};
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- var a2_0x50707b=a2_0x4e6d;(function(_0x8b49f3,_0x17acdb){var _0x232a75=a2_0x4e6d,_0x2c4e0c=_0x8b49f3();while(!![]){try{var _0x222556=-parseInt(_0x232a75(0x7e))/0x1+-parseInt(_0x232a75(0x7f))/0x2*(parseInt(_0x232a75(0x82))/0x3)+parseInt(_0x232a75(0x7b))/0x4+parseInt(_0x232a75(0x80))/0x5*(-parseInt(_0x232a75(0x71))/0x6)+parseInt(_0x232a75(0x83))/0x7*(-parseInt(_0x232a75(0x7d))/0x8)+parseInt(_0x232a75(0x7c))/0x9+-parseInt(_0x232a75(0x79))/0xa*(-parseInt(_0x232a75(0x75))/0xb);if(_0x222556===_0x17acdb)break;else _0x2c4e0c['push'](_0x2c4e0c['shift']());}catch(_0x560f61){_0x2c4e0c['push'](_0x2c4e0c['shift']());}}}(a2_0x5b0f,0xc74be));function a2_0x5b0f(){var _0x3f5ba4=['toString','defineProperty','11XRSKGu','(((.+)+)+)+$','constructor','EventService','42540640FOELsm','search','5441708eizLbP','4765770UQAfrA','3056yifnjI','1449264XHrCRT','2579744YeTESs','5nwbOXH','Configuration','3vOAsAz','22239cUpkWk','./configuration','Event','8249718hiFALY','./decorator/Event'];a2_0x5b0f=function(){return _0x3f5ba4;};return a2_0x5b0f();}function a2_0x4e6d(_0x3b70dc,_0x469b36){var _0x5ee480=a2_0x5b0f();return a2_0x4e6d=function(_0x4de77e,_0x484635){_0x4de77e=_0x4de77e-0x71;var _0x5b0f4e=_0x5ee480[_0x4de77e];return _0x5b0f4e;},a2_0x4e6d(_0x3b70dc,_0x469b36);}var a2_0x484635=(function(){var _0x1d960d=!![];return function(_0x362939,_0x1f2a79){var _0x48005c=_0x1d960d?function(){if(_0x1f2a79){var _0x1efb7e=_0x1f2a79['apply'](_0x362939,arguments);return _0x1f2a79=null,_0x1efb7e;}}:function(){};return _0x1d960d=![],_0x48005c;};}()),a2_0x4de77e=a2_0x484635(this,function(){var _0x1217bd=a2_0x4e6d;return a2_0x4de77e[_0x1217bd(0x73)]()['search'](_0x1217bd(0x76))['toString']()[_0x1217bd(0x77)](a2_0x4de77e)[_0x1217bd(0x7a)](_0x1217bd(0x76));});a2_0x4de77e();'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a2_0x50707b(0x81)]=exports[a2_0x50707b(0x78)]=exports[a2_0x50707b(0x85)]=void 0x0;var Event_1=require(a2_0x50707b(0x72));Object['defineProperty'](exports,'Event',{'enumerable':!![],'get':function(){var _0x43159c=a2_0x50707b;return Event_1[_0x43159c(0x85)];}});var EventService_1=require('./service/EventService');Object[a2_0x50707b(0x74)](exports,a2_0x50707b(0x78),{'enumerable':!![],'get':function(){var _0x25cab5=a2_0x50707b;return EventService_1[_0x25cab5(0x78)];}});var configuration_1=require(a2_0x50707b(0x84));Object[a2_0x50707b(0x74)](exports,a2_0x50707b(0x81),{'enumerable':!![],'get':function(){return configuration_1['CustomConfiguration'];}});
1
+ var a2_0x412ed7=a2_0x1221;(function(_0xe9dded,_0x5172a9){var _0x7502e0=a2_0x1221,_0x151bb6=_0xe9dded();while(!![]){try{var _0x2eec27=parseInt(_0x7502e0(0x1ac))/0x1+parseInt(_0x7502e0(0x1b9))/0x2*(parseInt(_0x7502e0(0x1b2))/0x3)+parseInt(_0x7502e0(0x1b8))/0x4+-parseInt(_0x7502e0(0x1b1))/0x5*(parseInt(_0x7502e0(0x1a7))/0x6)+parseInt(_0x7502e0(0x1af))/0x7+parseInt(_0x7502e0(0x1b0))/0x8*(-parseInt(_0x7502e0(0x1ad))/0x9)+-parseInt(_0x7502e0(0x1a9))/0xa*(parseInt(_0x7502e0(0x1ab))/0xb);if(_0x2eec27===_0x5172a9)break;else _0x151bb6['push'](_0x151bb6['shift']());}catch(_0x34696e){_0x151bb6['push'](_0x151bb6['shift']());}}}(a2_0x5e46,0x732ad));var a2_0x205b93=(function(){var _0x5cb644=!![];return function(_0x286ae8,_0x384814){var _0x19b201=_0x5cb644?function(){var _0x4fda96=a2_0x1221;if(_0x384814){var _0x346007=_0x384814[_0x4fda96(0x1b5)](_0x286ae8,arguments);return _0x384814=null,_0x346007;}}:function(){};return _0x5cb644=![],_0x19b201;};}()),a2_0x451398=a2_0x205b93(this,function(){var _0x24b8d7=a2_0x1221;return a2_0x451398[_0x24b8d7(0x1b7)]()[_0x24b8d7(0x1ba)](_0x24b8d7(0x1a6))[_0x24b8d7(0x1b7)]()[_0x24b8d7(0x1b6)](a2_0x451398)[_0x24b8d7(0x1ba)](_0x24b8d7(0x1a6));});a2_0x451398();'use strict';function a2_0x5e46(){var _0x46e2ec=['1211504zTCrhr','571720sECqua','search','EventService','defineProperty','(((.+)+)+)+$','6wJdYIp','./decorator/Event','47650oEosmZ','__esModule','1914cesmZx','797389HvHkIv','1674747wFqLjs','Event','6287141EjTLzI','16dGFbYM','3056435pwoPTu','3LEEucd','Configuration','CustomConfiguration','apply','constructor','toString'];a2_0x5e46=function(){return _0x46e2ec;};return a2_0x5e46();}Object[a2_0x412ed7(0x1a5)](exports,a2_0x412ed7(0x1aa),{'value':!![]}),exports[a2_0x412ed7(0x1b3)]=exports[a2_0x412ed7(0x1a4)]=exports[a2_0x412ed7(0x1ae)]=void 0x0;var Event_1=require(a2_0x412ed7(0x1a8));Object['defineProperty'](exports,'Event',{'enumerable':!![],'get':function(){var _0x26a331=a2_0x412ed7;return Event_1[_0x26a331(0x1ae)];}});var EventService_1=require('./service/EventService');Object[a2_0x412ed7(0x1a5)](exports,a2_0x412ed7(0x1a4),{'enumerable':!![],'get':function(){var _0x32a62e=a2_0x412ed7;return EventService_1[_0x32a62e(0x1a4)];}});var configuration_1=require('./configuration');function a2_0x1221(_0x47fdb8,_0x5c8f53){var _0x1e9e78=a2_0x5e46();return a2_0x1221=function(_0x451398,_0x205b93){_0x451398=_0x451398-0x1a4;var _0x5e466e=_0x1e9e78[_0x451398];return _0x5e466e;},a2_0x1221(_0x47fdb8,_0x5c8f53);}Object['defineProperty'](exports,'Configuration',{'enumerable':!![],'get':function(){var _0xb3359b=a2_0x412ed7;return configuration_1[_0xb3359b(0x1b4)];}});
package/dist/interface.js CHANGED
@@ -1 +1 @@
1
- var a3_0x38c128=a3_0x4323;(function(_0x7cf5a0,_0x4322af){var _0x2645af=a3_0x4323,_0x5d943f=_0x7cf5a0();while(!![]){try{var _0x30a0e0=parseInt(_0x2645af(0xf5))/0x1+-parseInt(_0x2645af(0xf2))/0x2+-parseInt(_0x2645af(0xec))/0x3+parseInt(_0x2645af(0xf7))/0x4+parseInt(_0x2645af(0xf4))/0x5+parseInt(_0x2645af(0xe9))/0x6+-parseInt(_0x2645af(0xf0))/0x7;if(_0x30a0e0===_0x4322af)break;else _0x5d943f['push'](_0x5d943f['shift']());}catch(_0x102a40){_0x5d943f['push'](_0x5d943f['shift']());}}}(a3_0xa9e2,0x1ced5));function a3_0x4323(_0x527f0e,_0x35cc91){var _0x454e48=a3_0xa9e2();return a3_0x4323=function(_0x85b019,_0x3d579f){_0x85b019=_0x85b019-0xe7;var _0xa9e236=_0x454e48[_0x85b019];return _0xa9e236;},a3_0x4323(_0x527f0e,_0x35cc91);}var a3_0x3d579f=(function(){var _0x4f9606=!![];return function(_0x2940c3,_0xa9cb1f){var _0x1e82a0=_0x4f9606?function(){var _0x462ff2=a3_0x4323;if(_0xa9cb1f){var _0x1f2ab0=_0xa9cb1f[_0x462ff2(0xea)](_0x2940c3,arguments);return _0xa9cb1f=null,_0x1f2ab0;}}:function(){};return _0x4f9606=![],_0x1e82a0;};}()),a3_0x85b019=a3_0x3d579f(this,function(){var _0x39d7da=a3_0x4323;return a3_0x85b019[_0x39d7da(0xee)]()[_0x39d7da(0xef)](_0x39d7da(0xeb))[_0x39d7da(0xee)]()[_0x39d7da(0xed)](a3_0x85b019)[_0x39d7da(0xef)]('(((.+)+)+)+$');});a3_0x85b019();'use strict';Object[a3_0x38c128(0xe8)](exports,a3_0x38c128(0xf3),{'value':!![]}),exports[a3_0x38c128(0xe7)]=exports[a3_0x38c128(0xf6)]=void 0x0,exports[a3_0x38c128(0xf6)]='anncic-api:event',exports[a3_0x38c128(0xe7)]=a3_0x38c128(0xf1);function a3_0xa9e2(){var _0x410da9=['(((.+)+)+)+$','89481hNHzor','constructor','toString','search','1821645PNucIo','anncic-api:event:on','166060iADjLX','__esModule','812235AoTomv','102016tBLsZI','EVENT_KEY','373948TlJbcs','EVENT_ON_KEY','defineProperty','801762VbUtyS','apply'];a3_0xa9e2=function(){return _0x410da9;};return a3_0xa9e2();}
1
+ var a3_0x4fdc04=a3_0x5132;function a3_0x34a5(){var _0x119841=['__esModule','735DfvXnN','1224346zHItuK','search','toString','866920qbQljE','anncic-api:event:on','27858oQhJFf','80kNKjak','defineProperty','(((.+)+)+)+$','1014327FmDVOe','apply','EVENT_ON_KEY','29502vAMLQq','2025399UfOYHA','anncic-api:event','49HHWIEi','124744TNGEVG','EVENT_KEY','constructor'];a3_0x34a5=function(){return _0x119841;};return a3_0x34a5();}(function(_0x440dcf,_0x27d7fe){var _0x56f980=a3_0x5132,_0x1b4b1a=_0x440dcf();while(!![]){try{var _0x2846d9=-parseInt(_0x56f980(0xd4))/0x1+parseInt(_0x56f980(0xdd))/0x2+-parseInt(_0x56f980(0xd5))/0x3+-parseInt(_0x56f980(0xd8))/0x4+parseInt(_0x56f980(0xdc))/0x5*(parseInt(_0x56f980(0xe2))/0x6)+-parseInt(_0x56f980(0xd7))/0x7*(-parseInt(_0x56f980(0xe0))/0x8)+-parseInt(_0x56f980(0xe6))/0x9*(parseInt(_0x56f980(0xe3))/0xa);if(_0x2846d9===_0x27d7fe)break;else _0x1b4b1a['push'](_0x1b4b1a['shift']());}catch(_0x4129d0){_0x1b4b1a['push'](_0x1b4b1a['shift']());}}}(a3_0x34a5,0x6583c));function a3_0x5132(_0x2a519f,_0xad84c6){var _0x17b2ef=a3_0x34a5();return a3_0x5132=function(_0x4bb39e,_0x11a156){_0x4bb39e=_0x4bb39e-0xd4;var _0x34a523=_0x17b2ef[_0x4bb39e];return _0x34a523;},a3_0x5132(_0x2a519f,_0xad84c6);}var a3_0x11a156=(function(){var _0x17a36b=!![];return function(_0x3f1a0e,_0x278fa2){var _0x17dc77=_0x17a36b?function(){var _0x440642=a3_0x5132;if(_0x278fa2){var _0x44f95e=_0x278fa2[_0x440642(0xe7)](_0x3f1a0e,arguments);return _0x278fa2=null,_0x44f95e;}}:function(){};return _0x17a36b=![],_0x17dc77;};}()),a3_0x4bb39e=a3_0x11a156(this,function(){var _0x5c8ecc=a3_0x5132;return a3_0x4bb39e[_0x5c8ecc(0xdf)]()['search'](_0x5c8ecc(0xe5))[_0x5c8ecc(0xdf)]()[_0x5c8ecc(0xda)](a3_0x4bb39e)[_0x5c8ecc(0xde)]('(((.+)+)+)+$');});a3_0x4bb39e();'use strict';Object[a3_0x4fdc04(0xe4)](exports,a3_0x4fdc04(0xdb),{'value':!![]}),exports[a3_0x4fdc04(0xe8)]=exports[a3_0x4fdc04(0xd9)]=void 0x0,exports[a3_0x4fdc04(0xd9)]=a3_0x4fdc04(0xd6),exports['EVENT_ON_KEY']=a3_0x4fdc04(0xe1);
@@ -1 +1 @@
1
- const a4_0x554d33=a4_0x3e43;(function(_0xbbd1ef,_0x3625a){const _0x1825ba=a4_0x3e43,_0x444501=_0xbbd1ef();while(!![]){try{const _0x1ee373=-parseInt(_0x1825ba(0x19d))/0x1+parseInt(_0x1825ba(0x1aa))/0x2+-parseInt(_0x1825ba(0x193))/0x3*(parseInt(_0x1825ba(0x192))/0x4)+parseInt(_0x1825ba(0x1a5))/0x5*(-parseInt(_0x1825ba(0x1a6))/0x6)+-parseInt(_0x1825ba(0x19f))/0x7+-parseInt(_0x1825ba(0x196))/0x8+parseInt(_0x1825ba(0x1b2))/0x9;if(_0x1ee373===_0x3625a)break;else _0x444501['push'](_0x444501['shift']());}catch(_0x405990){_0x444501['push'](_0x444501['shift']());}}}(a4_0xef35,0xd4e1b));const a4_0x461caa=(function(){let _0x408276=!![];return function(_0x51d150,_0x471d2c){const _0x201125=_0x408276?function(){if(_0x471d2c){const _0x19330a=_0x471d2c['apply'](_0x51d150,arguments);return _0x471d2c=null,_0x19330a;}}:function(){};return _0x408276=![],_0x201125;};}()),a4_0x21c2e1=a4_0x461caa(this,function(){const _0x10d434=a4_0x3e43;return a4_0x21c2e1[_0x10d434(0x18d)]()[_0x10d434(0x19c)](_0x10d434(0x188))[_0x10d434(0x18d)]()['constructor'](a4_0x21c2e1)[_0x10d434(0x19c)](_0x10d434(0x188));});a4_0x21c2e1();'use strict';var __decorate=this&&this[a4_0x554d33(0x1af)]||function(_0x2106dc,_0x1f9dfc,_0x5b7cc6,_0x33b5a3){const _0x2427c2=a4_0x554d33;var _0x5de763=arguments[_0x2427c2(0x1a8)],_0x32fe40=_0x5de763<0x3?_0x1f9dfc:_0x33b5a3===null?_0x33b5a3=Object[_0x2427c2(0x1b7)](_0x1f9dfc,_0x5b7cc6):_0x33b5a3,_0x1ee2d0;if(typeof Reflect===_0x2427c2(0x19b)&&typeof Reflect[_0x2427c2(0x191)]==='function')_0x32fe40=Reflect[_0x2427c2(0x191)](_0x2106dc,_0x1f9dfc,_0x5b7cc6,_0x33b5a3);else{for(var _0x182f05=_0x2106dc[_0x2427c2(0x1a8)]-0x1;_0x182f05>=0x0;_0x182f05--)if(_0x1ee2d0=_0x2106dc[_0x182f05])_0x32fe40=(_0x5de763<0x3?_0x1ee2d0(_0x32fe40):_0x5de763>0x3?_0x1ee2d0(_0x1f9dfc,_0x5b7cc6,_0x32fe40):_0x1ee2d0(_0x1f9dfc,_0x5b7cc6))||_0x32fe40;}return _0x5de763>0x3&&_0x32fe40&&Object[_0x2427c2(0x1ae)](_0x1f9dfc,_0x5b7cc6,_0x32fe40),_0x32fe40;},__metadata=this&&this[a4_0x554d33(0x1a3)]||function(_0x60ec80,_0x1c0d18){const _0x2a8318=a4_0x554d33;if(typeof Reflect===_0x2a8318(0x19b)&&typeof Reflect[_0x2a8318(0x18a)]===_0x2a8318(0x1b0))return Reflect['metadata'](_0x60ec80,_0x1c0d18);};Object[a4_0x554d33(0x1ae)](exports,a4_0x554d33(0x19a),{'value':!![]}),exports[a4_0x554d33(0x1a1)]=void 0x0;function a4_0xef35(){const _0x5618dd=['propertyKey','__metadata','priority','2385KMVgOO','16044rptXVB','ScopeEnum','length','event','2425464SCsQOe','getListevent','once','app','defineProperty','__decorate','function','push','42977295TvaBOu','name','EVENT_KEY','listevent_throttle','init','getOwnPropertyDescriptor','App','listevent','stringify','all','(((.+)+)+)+$','throttle','metadata','design:type','sortByDesc','toString','getApplicationContext','emit','Provide','decorate','1064CDQCXI','7836QXzPwB','getClassMetadata','resolve','5749616lFRwfq','off','now','../interface','__esModule','object','search','1401329pHhExX','listModule','7179921rbdRQH','prototype','EventService'];a4_0xef35=function(){return _0x5618dd;};return a4_0xef35();}const collect_js_1=require('collect.js'),core_1=require('@midwayjs/core'),interface_1=require(a4_0x554d33(0x199));function a4_0x3e43(_0x26e5c8,_0x5400e8){const _0x4505b3=a4_0xef35();return a4_0x3e43=function(_0x21c2e1,_0x461caa){_0x21c2e1=_0x21c2e1-0x188;let _0xef35b0=_0x4505b3[_0x21c2e1];return _0xef35b0;},a4_0x3e43(_0x26e5c8,_0x5400e8);}let EventService=class EventService{constructor(){const _0x5dddf2=a4_0x554d33;this[_0x5dddf2(0x1b6)]=![];}async['getListevent'](_0x28afdd){const _0xeed4c1=a4_0x554d33;if(!this[_0xeed4c1(0x1b6)]){this[_0xeed4c1(0x1b6)]=!![],this['listevent']={};for(const _0x43a637 of(0x0,core_1[_0xeed4c1(0x19e)])(interface_1[_0xeed4c1(0x1b4)])||[]){const _0x3ff40b=await this['app'][_0xeed4c1(0x18e)]()['getAsync'](_0x43a637);for(const _0x26a80a of(0x0,core_1[_0xeed4c1(0x194)])(interface_1['EVENT_ON_KEY'],_0x43a637)||[]){typeof(_0x3ff40b[_0x26a80a[_0xeed4c1(0x1a2)]]=='function')&&(!this[_0xeed4c1(0x1b9)][_0x26a80a['name']]&&(this[_0xeed4c1(0x1b9)][_0x26a80a['name']]=[]),this[_0xeed4c1(0x1b9)][_0x26a80a[_0xeed4c1(0x1b3)]][_0xeed4c1(0x1b1)]({'priority':(_0x26a80a===null||_0x26a80a===void 0x0?void 0x0:_0x26a80a[_0xeed4c1(0x1a4)])||0x0,'throttle':(_0x26a80a===null||_0x26a80a===void 0x0?void 0x0:_0x26a80a[_0xeed4c1(0x189)])||0x1f4,'resolve':_0x3ff40b[_0x26a80a[_0xeed4c1(0x1a2)]]['bind'](_0x3ff40b),'propertyKey':_0x43a637[_0xeed4c1(0x1b3)]+'@'+_0x26a80a[_0xeed4c1(0x1a2)]}));}}for(const _0x33ee26 in this['listevent']){this[_0xeed4c1(0x1b9)][_0x33ee26]=(0x0,collect_js_1['default'])(this['listevent'][_0x33ee26])[_0xeed4c1(0x18c)](_0xeed4c1(0x1a4))[_0xeed4c1(0x1bb)]();}}return _0x28afdd?this[_0xeed4c1(0x1b9)][_0x28afdd]||[]:this[_0xeed4c1(0x1b9)];}async[a4_0x554d33(0x18f)](_0x2304b0,..._0x1a8c76){const _0x2ae712=a4_0x554d33;var _0x2db567,_0x7ba855,_0x579089,_0x2a445d,_0x2b399b;const _0xf57cba=''+JSON[_0x2ae712(0x1ba)](_0x1a8c76),_0x2f9819=Date[_0x2ae712(0x198)]();await this[_0x2ae712(0x1ab)]();for(let _0x5d0b60 in this[_0x2ae712(0x1b5)]){this[_0x2ae712(0x1b5)][_0x5d0b60]<_0x2f9819&&delete this[_0x2ae712(0x1b5)][_0x5d0b60];}for(let _0x40b1ea in(_0x2db567=this[_0x2ae712(0x1b9)])===null||_0x2db567===void 0x0?void 0x0:_0x2db567[_0x2304b0]){if(((_0x7ba855=this['listevent'][_0x2304b0])===null||_0x7ba855===void 0x0?void 0x0:_0x7ba855[_0x40b1ea])&&typeof((_0x2a445d=(_0x579089=this[_0x2ae712(0x1b9)][_0x2304b0])===null||_0x579089===void 0x0?void 0x0:_0x579089[_0x40b1ea])===null||_0x2a445d===void 0x0?void 0x0:_0x2a445d[_0x2ae712(0x195)])==_0x2ae712(0x1b0)){const _0x59b1cc=_0x2304b0+'_'+_0x40b1ea+'@'+_0xf57cba;(!this[_0x2ae712(0x1b5)]||this[_0x2ae712(0x1b5)][_0x59b1cc]<_0x2f9819)&&(this[_0x2ae712(0x1b5)][_0x59b1cc]=_0x2f9819+(((_0x2b399b=this[_0x2ae712(0x1b9)][_0x2304b0][_0x40b1ea])===null||_0x2b399b===void 0x0?void 0x0:_0x2b399b['throttle'])||0x1f4),await this[_0x2ae712(0x1b9)][_0x2304b0][_0x40b1ea][_0x2ae712(0x195)](..._0x1a8c76));}}}async[a4_0x554d33(0x1ac)](_0x3233c3,..._0x33df07){const _0x70e0ef=a4_0x554d33;return await this['getListevent'](),await this['emit'](_0x3233c3,..._0x33df07),this[_0x70e0ef(0x197)](_0x3233c3);}async[a4_0x554d33(0x197)](_0x265f9c){const _0x310acd=a4_0x554d33;return await this[_0x310acd(0x1ab)](),this['listevent'][_0x265f9c]&&delete this[_0x310acd(0x1b9)][_0x265f9c],!!this[_0x310acd(0x1b9)][_0x265f9c];}};exports[a4_0x554d33(0x1a1)]=EventService,__decorate([(0x0,core_1[a4_0x554d33(0x1b8)])(),__metadata(a4_0x554d33(0x18b),Object)],EventService[a4_0x554d33(0x1a0)],a4_0x554d33(0x1ad),void 0x0),exports[a4_0x554d33(0x1a1)]=EventService=__decorate([(0x0,core_1[a4_0x554d33(0x190)])(a4_0x554d33(0x1a9)),(0x0,core_1['Scope'])(core_1[a4_0x554d33(0x1a7)]['Singleton'])],EventService);
1
+ const a4_0x44791f=a4_0x24ab;(function(_0x2b309f,_0xa6ca5){const _0x27e459=a4_0x24ab,_0x37875f=_0x2b309f();while(!![]){try{const _0x53d24e=parseInt(_0x27e459(0x1ab))/0x1+-parseInt(_0x27e459(0x1a1))/0x2+-parseInt(_0x27e459(0x1b3))/0x3+parseInt(_0x27e459(0x192))/0x4+parseInt(_0x27e459(0x19d))/0x5+parseInt(_0x27e459(0x1b1))/0x6+-parseInt(_0x27e459(0x19b))/0x7;if(_0x53d24e===_0xa6ca5)break;else _0x37875f['push'](_0x37875f['shift']());}catch(_0x2849be){_0x37875f['push'](_0x37875f['shift']());}}}(a4_0xdbe0,0x23444));const a4_0x3d6d3c=(function(){let _0x3af4e1=!![];return function(_0x568a75,_0x90bd90){const _0x39db35=_0x3af4e1?function(){if(_0x90bd90){const _0x2021fd=_0x90bd90['apply'](_0x568a75,arguments);return _0x90bd90=null,_0x2021fd;}}:function(){};return _0x3af4e1=![],_0x39db35;};}()),a4_0x574da6=a4_0x3d6d3c(this,function(){const _0xe7ea29=a4_0x24ab;return a4_0x574da6[_0xe7ea29(0x190)]()[_0xe7ea29(0x191)](_0xe7ea29(0x1b8))[_0xe7ea29(0x190)]()[_0xe7ea29(0x197)](a4_0x574da6)['search'](_0xe7ea29(0x1b8));});a4_0x574da6();'use strict';var __decorate=this&&this[a4_0x44791f(0x19a)]||function(_0x52ea82,_0x25dd3a,_0x339b19,_0x7a0448){const _0x5679d7=a4_0x44791f;var _0x237495=arguments[_0x5679d7(0x1b6)],_0x1d8d9e=_0x237495<0x3?_0x25dd3a:_0x7a0448===null?_0x7a0448=Object[_0x5679d7(0x18a)](_0x25dd3a,_0x339b19):_0x7a0448,_0x313625;if(typeof Reflect===_0x5679d7(0x18f)&&typeof Reflect[_0x5679d7(0x1ae)]===_0x5679d7(0x1b2))_0x1d8d9e=Reflect[_0x5679d7(0x1ae)](_0x52ea82,_0x25dd3a,_0x339b19,_0x7a0448);else{for(var _0x182e0d=_0x52ea82[_0x5679d7(0x1b6)]-0x1;_0x182e0d>=0x0;_0x182e0d--)if(_0x313625=_0x52ea82[_0x182e0d])_0x1d8d9e=(_0x237495<0x3?_0x313625(_0x1d8d9e):_0x237495>0x3?_0x313625(_0x25dd3a,_0x339b19,_0x1d8d9e):_0x313625(_0x25dd3a,_0x339b19))||_0x1d8d9e;}return _0x237495>0x3&&_0x1d8d9e&&Object['defineProperty'](_0x25dd3a,_0x339b19,_0x1d8d9e),_0x1d8d9e;},__metadata=this&&this['__metadata']||function(_0x5a3931,_0x283867){const _0x553d84=a4_0x44791f;if(typeof Reflect===_0x553d84(0x18f)&&typeof Reflect[_0x553d84(0x1a9)]===_0x553d84(0x1b2))return Reflect['metadata'](_0x5a3931,_0x283867);};function a4_0xdbe0(){const _0x14e33a=['off','prototype','propertyKey','design:type','object','toString','search','447168Bdlofs','__esModule','getAsync','push','EVENT_KEY','constructor','getListevent','ScopeEnum','__decorate','636489eVVWwQ','listevent_throttle','594605QDoYHN','emit','bind','resolve','28324hIRhTi','all','throttle','once','App','EVENT_ON_KEY','getApplicationContext','app','metadata','listevent','102071zkdNqv','listModule','Scope','decorate','EventService','priority','924780CmRuSi','function','712119iEEJWA','now','name','length','Provide','(((.+)+)+)+$','defineProperty','init','sortByDesc','getOwnPropertyDescriptor'];a4_0xdbe0=function(){return _0x14e33a;};return a4_0xdbe0();}Object[a4_0x44791f(0x187)](exports,a4_0x44791f(0x193),{'value':!![]}),exports[a4_0x44791f(0x1af)]=void 0x0;function a4_0x24ab(_0x2d54c7,_0x5981df){const _0x4c8b0d=a4_0xdbe0();return a4_0x24ab=function(_0x574da6,_0x3d6d3c){_0x574da6=_0x574da6-0x187;let _0xdbe0b5=_0x4c8b0d[_0x574da6];return _0xdbe0b5;},a4_0x24ab(_0x2d54c7,_0x5981df);}const collect_js_1=require('collect.js'),core_1=require('@midwayjs/core'),interface_1=require('../interface');let EventService=class EventService{constructor(){const _0x5953a9=a4_0x44791f;this[_0x5953a9(0x188)]=![];}async[a4_0x44791f(0x198)](_0x2c75d9){const _0x5a59c1=a4_0x44791f;if(!this[_0x5a59c1(0x188)]){this['init']=!![],this[_0x5a59c1(0x1aa)]={};for(const _0x427060 of(0x0,core_1[_0x5a59c1(0x1ac)])(interface_1[_0x5a59c1(0x196)])||[]){const _0x3d7e06=await this[_0x5a59c1(0x1a8)][_0x5a59c1(0x1a7)]()[_0x5a59c1(0x194)](_0x427060);for(const _0x1036d8 of(0x0,core_1['getClassMetadata'])(interface_1[_0x5a59c1(0x1a6)],_0x427060)||[]){typeof(_0x3d7e06[_0x1036d8[_0x5a59c1(0x18d)]]==_0x5a59c1(0x1b2))&&(!this[_0x5a59c1(0x1aa)][_0x1036d8[_0x5a59c1(0x1b5)]]&&(this[_0x5a59c1(0x1aa)][_0x1036d8['name']]=[]),this['listevent'][_0x1036d8['name']][_0x5a59c1(0x195)]({'priority':(_0x1036d8===null||_0x1036d8===void 0x0?void 0x0:_0x1036d8[_0x5a59c1(0x1b0)])||0x0,'throttle':(_0x1036d8===null||_0x1036d8===void 0x0?void 0x0:_0x1036d8[_0x5a59c1(0x1a3)])||0x1f4,'resolve':_0x3d7e06[_0x1036d8['propertyKey']][_0x5a59c1(0x19f)](_0x3d7e06),'propertyKey':_0x427060[_0x5a59c1(0x1b5)]+'@'+_0x1036d8['propertyKey']}));}}for(const _0x3e8054 in this['listevent']){this['listevent'][_0x3e8054]=(0x0,collect_js_1['default'])(this['listevent'][_0x3e8054])[_0x5a59c1(0x189)](_0x5a59c1(0x1b0))[_0x5a59c1(0x1a2)]();}}return _0x2c75d9?this[_0x5a59c1(0x1aa)][_0x2c75d9]||[]:this[_0x5a59c1(0x1aa)];}async['emit'](_0x2e20a0,..._0x21aefe){const _0x17b60f=a4_0x44791f;var _0x4ff246,_0x1dd36b,_0x5e9562,_0x24638f,_0x9d0fc3;const _0x31a50b=''+JSON['stringify'](_0x21aefe),_0x376c69=Date[_0x17b60f(0x1b4)]();await this[_0x17b60f(0x198)]();for(let _0x1bf981 in this['listevent_throttle']){this['listevent_throttle'][_0x1bf981]<_0x376c69&&delete this['listevent_throttle'][_0x1bf981];}for(let _0x5e5bd9 in(_0x4ff246=this[_0x17b60f(0x1aa)])===null||_0x4ff246===void 0x0?void 0x0:_0x4ff246[_0x2e20a0]){if(((_0x1dd36b=this[_0x17b60f(0x1aa)][_0x2e20a0])===null||_0x1dd36b===void 0x0?void 0x0:_0x1dd36b[_0x5e5bd9])&&typeof((_0x24638f=(_0x5e9562=this['listevent'][_0x2e20a0])===null||_0x5e9562===void 0x0?void 0x0:_0x5e9562[_0x5e5bd9])===null||_0x24638f===void 0x0?void 0x0:_0x24638f[_0x17b60f(0x1a0)])==_0x17b60f(0x1b2)){const _0x2bb13e=_0x2e20a0+'_'+_0x5e5bd9+'@'+_0x31a50b;(!this[_0x17b60f(0x19c)]||this[_0x17b60f(0x19c)][_0x2bb13e]<_0x376c69)&&(this[_0x17b60f(0x19c)][_0x2bb13e]=_0x376c69+(((_0x9d0fc3=this[_0x17b60f(0x1aa)][_0x2e20a0][_0x5e5bd9])===null||_0x9d0fc3===void 0x0?void 0x0:_0x9d0fc3[_0x17b60f(0x1a3)])||0x1f4),await this['listevent'][_0x2e20a0][_0x5e5bd9]['resolve'](..._0x21aefe));}}}async[a4_0x44791f(0x1a4)](_0x3ce1df,..._0x1084ba){const _0x3eec53=a4_0x44791f;return await this[_0x3eec53(0x198)](),await this[_0x3eec53(0x19e)](_0x3ce1df,..._0x1084ba),this[_0x3eec53(0x18b)](_0x3ce1df);}async[a4_0x44791f(0x18b)](_0x22f228){const _0x2b69d1=a4_0x44791f;return await this[_0x2b69d1(0x198)](),this[_0x2b69d1(0x1aa)][_0x22f228]&&delete this[_0x2b69d1(0x1aa)][_0x22f228],!!this[_0x2b69d1(0x1aa)][_0x22f228];}};exports[a4_0x44791f(0x1af)]=EventService,__decorate([(0x0,core_1[a4_0x44791f(0x1a5)])(),__metadata(a4_0x44791f(0x18e),Object)],EventService[a4_0x44791f(0x18c)],a4_0x44791f(0x1a8),void 0x0),exports[a4_0x44791f(0x1af)]=EventService=__decorate([(0x0,core_1[a4_0x44791f(0x1b7)])('event'),(0x0,core_1[a4_0x44791f(0x1ad)])(core_1[a4_0x44791f(0x199)]['Singleton'])],EventService);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anncic-api/event",
3
- "version": "3.4.85",
3
+ "version": "3.4.86",
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": "24a449656e4a53bcbc15ae578c0760df1030e730"
24
+ "gitHead": "9ef338430bcefc3d4264e26a5c46ed8bb3f4f06a"
25
25
  }