@anncic-api/event 3.7.27 → 3.7.37

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_0x3c297e=a0_0x68a1;(function(_0xd867fc,_0x31c927){var _0x3eafab=a0_0x68a1,_0x408667=_0xd867fc();while(!![]){try{var _0x2c7531=parseInt(_0x3eafab(0xbe))/0x1*(parseInt(_0x3eafab(0xc9))/0x2)+-parseInt(_0x3eafab(0xcf))/0x3*(-parseInt(_0x3eafab(0xb8))/0x4)+-parseInt(_0x3eafab(0xb3))/0x5*(parseInt(_0x3eafab(0xcb))/0x6)+parseInt(_0x3eafab(0xac))/0x7+-parseInt(_0x3eafab(0xb5))/0x8*(-parseInt(_0x3eafab(0xbf))/0x9)+-parseInt(_0x3eafab(0xcd))/0xa+-parseInt(_0x3eafab(0xca))/0xb*(parseInt(_0x3eafab(0xad))/0xc);if(_0x2c7531===_0x31c927)break;else _0x408667['push'](_0x408667['shift']());}catch(_0x28310d){_0x408667['push'](_0x408667['shift']());}}}(a0_0x39dd,0xcb5a3));var a0_0x3c06ae=(function(){var _0x2e66de=!![];return function(_0x6bab3c,_0x39fdd7){var _0x1acaa8=_0x2e66de?function(){if(_0x39fdd7){var _0x2cffbc=_0x39fdd7['apply'](_0x6bab3c,arguments);return _0x39fdd7=null,_0x2cffbc;}}:function(){};return _0x2e66de=![],_0x1acaa8;};}()),a0_0x49dc6f=a0_0x3c06ae(this,function(){var _0x264c10=a0_0x68a1;return a0_0x49dc6f[_0x264c10(0xb0)]()[_0x264c10(0xc0)](_0x264c10(0xbb))[_0x264c10(0xb0)]()['constructor'](a0_0x49dc6f)[_0x264c10(0xc0)](_0x264c10(0xbb));});a0_0x49dc6f();'use strict';function a0_0x39dd(){var _0x4c544a=['search','design:type','object','decorate','__esModule','CustomConfiguration','config','Configuration','decorator','2ZvOAdp','11OoBaCC','936102TQKvrI','onReady','2378870MQPVqP','MidwayConfigService','140421WHaaQV','8957417UepqPG','20201928zujHZa','@midwayjs/core','prototype','toString','Inject','__metadata','45BCcpCi','metadata','32CiOlYd','function','length','60sFQJWv','MidwayDecoratorService','anncic-api:event','(((.+)+)+)+$','__decorate','getOwnPropertyDescriptor','1643237FcImVS','1200357HxjPpN'];a0_0x39dd=function(){return _0x4c544a;};return a0_0x39dd();}var __decorate=this&&this[a0_0x3c297e(0xbc)]||function(_0x52248f,_0x5db840,_0x51375f,_0x25f928){var _0x983742=a0_0x3c297e,_0x29e1d3=arguments[_0x983742(0xb7)],_0xbd994=_0x29e1d3<0x3?_0x5db840:_0x25f928===null?_0x25f928=Object[_0x983742(0xbd)](_0x5db840,_0x51375f):_0x25f928,_0x4da38a;if(typeof Reflect===_0x983742(0xc2)&&typeof Reflect[_0x983742(0xc3)]===_0x983742(0xb6))_0xbd994=Reflect[_0x983742(0xc3)](_0x52248f,_0x5db840,_0x51375f,_0x25f928);else{for(var _0x11d5ab=_0x52248f[_0x983742(0xb7)]-0x1;_0x11d5ab>=0x0;_0x11d5ab--)if(_0x4da38a=_0x52248f[_0x11d5ab])_0xbd994=(_0x29e1d3<0x3?_0x4da38a(_0xbd994):_0x29e1d3>0x3?_0x4da38a(_0x5db840,_0x51375f,_0xbd994):_0x4da38a(_0x5db840,_0x51375f))||_0xbd994;}return _0x29e1d3>0x3&&_0xbd994&&Object['defineProperty'](_0x5db840,_0x51375f,_0xbd994),_0xbd994;},__metadata=this&&this[a0_0x3c297e(0xb2)]||function(_0x58f217,_0x381fd0){var _0x284b13=a0_0x3c297e;if(typeof Reflect===_0x284b13(0xc2)&&typeof Reflect[_0x284b13(0xb4)]===_0x284b13(0xb6))return Reflect[_0x284b13(0xb4)](_0x58f217,_0x381fd0);};Object['defineProperty'](exports,a0_0x3c297e(0xc4),{'value':!![]}),exports[a0_0x3c297e(0xc5)]=void 0x0;const core_1=require('@midwayjs/core'),core_2=require(a0_0x3c297e(0xae));let CustomConfiguration=class CustomConfiguration{async[a0_0x3c297e(0xcc)](){}};function a0_0x68a1(_0x2e2e7b,_0x34e498){var _0x1c5a99=a0_0x39dd();return a0_0x68a1=function(_0x49dc6f,_0x3c06ae){_0x49dc6f=_0x49dc6f-0xac;var _0x39dd91=_0x1c5a99[_0x49dc6f];return _0x39dd91;},a0_0x68a1(_0x2e2e7b,_0x34e498);}__decorate([(0x0,core_1[a0_0x3c297e(0xb1)])(),__metadata(a0_0x3c297e(0xc1),core_2[a0_0x3c297e(0xce)])],CustomConfiguration[a0_0x3c297e(0xaf)],a0_0x3c297e(0xc6),void 0x0),__decorate([(0x0,core_1[a0_0x3c297e(0xb1)])(),__metadata(a0_0x3c297e(0xc1),core_2[a0_0x3c297e(0xb9)])],CustomConfiguration[a0_0x3c297e(0xaf)],a0_0x3c297e(0xc8),void 0x0),CustomConfiguration=__decorate([(0x0,core_1[a0_0x3c297e(0xc7)])({'conflictCheck':![],'namespace':a0_0x3c297e(0xba)})],CustomConfiguration),exports['CustomConfiguration']=CustomConfiguration;
1
+ var a0_0x27e4e8=a0_0x3c77;(function(_0x1fe7a9,_0x369ac7){var _0x45cb65=a0_0x3c77,_0x3cb718=_0x1fe7a9();while(!![]){try{var _0x573b50=-parseInt(_0x45cb65(0xe1))/0x1*(-parseInt(_0x45cb65(0xca))/0x2)+-parseInt(_0x45cb65(0xe4))/0x3*(parseInt(_0x45cb65(0xc2))/0x4)+parseInt(_0x45cb65(0xd0))/0x5*(-parseInt(_0x45cb65(0xda))/0x6)+parseInt(_0x45cb65(0xdf))/0x7*(-parseInt(_0x45cb65(0xe0))/0x8)+-parseInt(_0x45cb65(0xe6))/0x9+-parseInt(_0x45cb65(0xdb))/0xa+parseInt(_0x45cb65(0xe5))/0xb*(parseInt(_0x45cb65(0xc4))/0xc);if(_0x573b50===_0x369ac7)break;else _0x3cb718['push'](_0x3cb718['shift']());}catch(_0xfc87d1){_0x3cb718['push'](_0x3cb718['shift']());}}}(a0_0x29db,0xc4d2d));var a0_0xcced9e=(function(){var _0x25507e=!![];return function(_0x43709d,_0x2a9804){var _0x415c30=_0x25507e?function(){var _0x338707=a0_0x3c77;if(_0x2a9804){var _0x33726b=_0x2a9804[_0x338707(0xd2)](_0x43709d,arguments);return _0x2a9804=null,_0x33726b;}}:function(){};return _0x25507e=![],_0x415c30;};}()),a0_0x5d3638=a0_0xcced9e(this,function(){var _0x2ca8a6=a0_0x3c77;return a0_0x5d3638[_0x2ca8a6(0xdd)]()[_0x2ca8a6(0xe3)](_0x2ca8a6(0xd3))[_0x2ca8a6(0xdd)]()[_0x2ca8a6(0xc3)](a0_0x5d3638)[_0x2ca8a6(0xe3)](_0x2ca8a6(0xd3));});a0_0x5d3638();function a0_0x3c77(_0x2800a8,_0x12ff23){var _0x44c550=a0_0x29db();return a0_0x3c77=function(_0x5d3638,_0xcced9e){_0x5d3638=_0x5d3638-0xc2;var _0x29dbf7=_0x44c550[_0x5d3638];return _0x29dbf7;},a0_0x3c77(_0x2800a8,_0x12ff23);}'use strict';var __decorate=this&&this[a0_0x27e4e8(0xc9)]||function(_0x50f57f,_0x1f5fb6,_0x31c61b,_0xc54c1c){var _0x43e7a5=a0_0x27e4e8,_0x303ed5=arguments[_0x43e7a5(0xdc)],_0x5b89c5=_0x303ed5<0x3?_0x1f5fb6:_0xc54c1c===null?_0xc54c1c=Object[_0x43e7a5(0xd1)](_0x1f5fb6,_0x31c61b):_0xc54c1c,_0x424e8d;if(typeof Reflect===_0x43e7a5(0xd8)&&typeof Reflect[_0x43e7a5(0xcd)]===_0x43e7a5(0xcc))_0x5b89c5=Reflect[_0x43e7a5(0xcd)](_0x50f57f,_0x1f5fb6,_0x31c61b,_0xc54c1c);else{for(var _0x52a2d8=_0x50f57f[_0x43e7a5(0xdc)]-0x1;_0x52a2d8>=0x0;_0x52a2d8--)if(_0x424e8d=_0x50f57f[_0x52a2d8])_0x5b89c5=(_0x303ed5<0x3?_0x424e8d(_0x5b89c5):_0x303ed5>0x3?_0x424e8d(_0x1f5fb6,_0x31c61b,_0x5b89c5):_0x424e8d(_0x1f5fb6,_0x31c61b))||_0x5b89c5;}return _0x303ed5>0x3&&_0x5b89c5&&Object[_0x43e7a5(0xce)](_0x1f5fb6,_0x31c61b,_0x5b89c5),_0x5b89c5;},__metadata=this&&this[a0_0x27e4e8(0xd6)]||function(_0x23534a,_0x2b983b){var _0x4abd35=a0_0x27e4e8;if(typeof Reflect==='object'&&typeof Reflect[_0x4abd35(0xd7)]===_0x4abd35(0xcc))return Reflect['metadata'](_0x23534a,_0x2b983b);};Object['defineProperty'](exports,a0_0x27e4e8(0xc6),{'value':!![]}),exports[a0_0x27e4e8(0xd4)]=void 0x0;const core_1=require('@midwayjs/core'),core_2=require(a0_0x27e4e8(0xc5));let CustomConfiguration=class CustomConfiguration{async[a0_0x27e4e8(0xd5)](){}};function a0_0x29db(){var _0x3bfa07=['1382920WnlBYK','26GBoORJ','decorator','search','12UbcbAN','46949738FKKsOx','14415597fupmlE','MidwayDecoratorService','246632xmCMZA','constructor','12TbhuYE','@midwayjs/core','__esModule','config','prototype','__decorate','11554IAUOjm','design:type','function','decorate','defineProperty','Inject','4443745gQzcDa','getOwnPropertyDescriptor','apply','(((.+)+)+)+$','CustomConfiguration','onReady','__metadata','metadata','object','MidwayConfigService','6NMSCgj','107320HRgwsF','length','toString','anncic-api:event','35cfVtOo'];a0_0x29db=function(){return _0x3bfa07;};return a0_0x29db();}__decorate([(0x0,core_1[a0_0x27e4e8(0xcf)])(),__metadata(a0_0x27e4e8(0xcb),core_2[a0_0x27e4e8(0xd9)])],CustomConfiguration[a0_0x27e4e8(0xc8)],a0_0x27e4e8(0xc7),void 0x0),__decorate([(0x0,core_1[a0_0x27e4e8(0xcf)])(),__metadata('design:type',core_2[a0_0x27e4e8(0xe7)])],CustomConfiguration[a0_0x27e4e8(0xc8)],a0_0x27e4e8(0xe2),void 0x0),CustomConfiguration=__decorate([(0x0,core_1['Configuration'])({'conflictCheck':![],'namespace':a0_0x27e4e8(0xde)})],CustomConfiguration),exports[a0_0x27e4e8(0xd4)]=CustomConfiguration;
@@ -1 +1 @@
1
- const a1_0x5ae460=a1_0x2697;function a1_0x2697(_0x208c76,_0x198d4c){const _0xe789c0=a1_0xa653();return a1_0x2697=function(_0xd1798f,_0x316ee5){_0xd1798f=_0xd1798f-0xe8;let _0xa6539f=_0xe789c0[_0xd1798f];return _0xa6539f;},a1_0x2697(_0x208c76,_0x198d4c);}(function(_0x436a8,_0x5eac7a){const _0x3f7e30=a1_0x2697,_0x35e4d7=_0x436a8();while(!![]){try{const _0x4a2c84=-parseInt(_0x3f7e30(0xf0))/0x1*(parseInt(_0x3f7e30(0xef))/0x2)+parseInt(_0x3f7e30(0xff))/0x3+parseInt(_0x3f7e30(0xf1))/0x4*(-parseInt(_0x3f7e30(0xf2))/0x5)+-parseInt(_0x3f7e30(0xfd))/0x6*(parseInt(_0x3f7e30(0xfc))/0x7)+-parseInt(_0x3f7e30(0xfa))/0x8*(parseInt(_0x3f7e30(0xf8))/0x9)+parseInt(_0x3f7e30(0xee))/0xa+-parseInt(_0x3f7e30(0xfe))/0xb*(-parseInt(_0x3f7e30(0xf3))/0xc);if(_0x4a2c84===_0x5eac7a)break;else _0x35e4d7['push'](_0x35e4d7['shift']());}catch(_0x2539a1){_0x35e4d7['push'](_0x35e4d7['shift']());}}}(a1_0xa653,0x30de5));const a1_0x316ee5=(function(){let _0x2eda61=!![];return function(_0x529b5a,_0x3c6fca){const _0x53e4fb=_0x2eda61?function(){const _0x346f64=a1_0x2697;if(_0x3c6fca){const _0x48e14f=_0x3c6fca[_0x346f64(0xf6)](_0x529b5a,arguments);return _0x3c6fca=null,_0x48e14f;}}:function(){};return _0x2eda61=![],_0x53e4fb;};}()),a1_0xd1798f=a1_0x316ee5(this,function(){const _0x43d846=a1_0x2697;return a1_0xd1798f[_0x43d846(0x102)]()[_0x43d846(0xf5)](_0x43d846(0x100))[_0x43d846(0x102)]()[_0x43d846(0xe9)](a1_0xd1798f)[_0x43d846(0xf5)](_0x43d846(0x100));});a1_0xd1798f();'use strict';Object[a1_0x5ae460(0xed)](exports,a1_0x5ae460(0xfb),{'value':!![]}),exports[a1_0x5ae460(0xf4)]=void 0x0;const core_1=require('@midwayjs/core'),interface_1=require(a1_0x5ae460(0xea));function a1_0xa653(){const _0x2f7fb5=['Provide','constructor','../interface','Scope','Request','defineProperty','1848520FLMfsR','2OfDDhi','255256ajfrkt','7676WBndeY','1005VjJGIT','24WhDcJa','Event','search','apply','ScopeEnum','345483SqjLzi','EVENT_ON_KEY','16qPGziC','__esModule','2280229fzNQpk','6NuFjhG','4146461HGZEpr','914721aYGkIY','(((.+)+)+)+$','saveModule','toString'];a1_0xa653=function(){return _0x2f7fb5;};return a1_0xa653();}function Event(){return _0xa12248=>{const _0x5c461e=a1_0x2697;(0x0,core_1[_0x5c461e(0xe8)])()(_0xa12248),(0x0,core_1[_0x5c461e(0x101)])(interface_1['EVENT_KEY'],_0xa12248),(0x0,core_1[_0x5c461e(0xeb)])(core_1[_0x5c461e(0xf7)][_0x5c461e(0xec)],{'allowDowngrade':!![]})(_0xa12248);};}exports[a1_0x5ae460(0xf4)]=Event,Event['On']=function(_0x50a607,_0x1d43c5=0x0,_0x1e4777=0x1f4){return(_0x718cd3,_0x2acc4c,_0x34b353)=>{const _0x9c78ea=a1_0x2697;return(0x0,core_1['attachClassMetadata'])(interface_1[_0x9c78ea(0xf9)],{'name':_0x50a607,'priority':_0x1d43c5,'propertyKey':_0x2acc4c,'descriptor':_0x34b353,'throttle':_0x1e4777},_0x718cd3),_0x34b353;};};
1
+ function a1_0x25b4(_0x1dadf9,_0x45aac0){const _0x230b3a=a1_0x2fed();return a1_0x25b4=function(_0x5252b5,_0x569b51){_0x5252b5=_0x5252b5-0x101;let _0x2fedfb=_0x230b3a[_0x5252b5];return _0x2fedfb;},a1_0x25b4(_0x1dadf9,_0x45aac0);}function a1_0x2fed(){const _0x4ec550=['Scope','104630LzrPTB','948325BDCvjr','saveModule','6613902IgBlms','EVENT_ON_KEY','attachClassMetadata','ScopeEnum','search','8zdNkim','2802056yyJmwo','1980950iyfiux','Event','toString','defineProperty','Provide','6vYjjxk','2CAlBlw','(((.+)+)+)+$','820266amLpuf','3730377TWVxSl','@midwayjs/core'];a1_0x2fed=function(){return _0x4ec550;};return a1_0x2fed();}const a1_0x5c04ec=a1_0x25b4;(function(_0x34191f,_0x2fe334){const _0x373647=a1_0x25b4,_0x2a9916=_0x34191f();while(!![]){try{const _0x1744c8=-parseInt(_0x373647(0x116))/0x1*(-parseInt(_0x373647(0x110))/0x2)+parseInt(_0x373647(0x112))/0x3+-parseInt(_0x373647(0x109))/0x4+-parseInt(_0x373647(0x101))/0x5+-parseInt(_0x373647(0x10f))/0x6*(-parseInt(_0x373647(0x113))/0x7)+parseInt(_0x373647(0x108))/0x8*(parseInt(_0x373647(0x103))/0x9)+-parseInt(_0x373647(0x10a))/0xa;if(_0x1744c8===_0x2fe334)break;else _0x2a9916['push'](_0x2a9916['shift']());}catch(_0x53d597){_0x2a9916['push'](_0x2a9916['shift']());}}}(a1_0x2fed,0x881ff));const a1_0x569b51=(function(){let _0x76c282=!![];return function(_0x341396,_0x2750f0){const _0x541be5=_0x76c282?function(){if(_0x2750f0){const _0x27eec8=_0x2750f0['apply'](_0x341396,arguments);return _0x2750f0=null,_0x27eec8;}}:function(){};return _0x76c282=![],_0x541be5;};}()),a1_0x5252b5=a1_0x569b51(this,function(){const _0x468c96=a1_0x25b4;return a1_0x5252b5[_0x468c96(0x10c)]()[_0x468c96(0x107)](_0x468c96(0x111))[_0x468c96(0x10c)]()['constructor'](a1_0x5252b5)['search'](_0x468c96(0x111));});a1_0x5252b5();'use strict';Object[a1_0x5c04ec(0x10d)](exports,'__esModule',{'value':!![]}),exports['Event']=void 0x0;const core_1=require(a1_0x5c04ec(0x114)),interface_1=require('../interface');function Event(){return _0x30d235=>{const _0x4de4c2=a1_0x25b4;(0x0,core_1[_0x4de4c2(0x10e)])()(_0x30d235),(0x0,core_1[_0x4de4c2(0x102)])(interface_1['EVENT_KEY'],_0x30d235),(0x0,core_1[_0x4de4c2(0x115)])(core_1[_0x4de4c2(0x106)]['Request'],{'allowDowngrade':!![]})(_0x30d235);};}exports[a1_0x5c04ec(0x10b)]=Event,Event['On']=function(_0x5c5443,_0x20db15=0x0,_0x5a8a59=0x1f4){return(_0x49b52f,_0x45dc50,_0x574d2f)=>{const _0x3b8cde=a1_0x25b4;return(0x0,core_1[_0x3b8cde(0x105)])(interface_1[_0x3b8cde(0x104)],{'name':_0x5c5443,'priority':_0x20db15,'propertyKey':_0x45dc50,'descriptor':_0x574d2f,'throttle':_0x5a8a59},_0x49b52f),_0x574d2f;};};
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- var a2_0x28db89=a2_0x2ccc;(function(_0xf6d9c3,_0x372a7c){var _0x130b6e=a2_0x2ccc,_0x47cdff=_0xf6d9c3();while(!![]){try{var _0x351f18=-parseInt(_0x130b6e(0xdc))/0x1+parseInt(_0x130b6e(0xe1))/0x2+parseInt(_0x130b6e(0xed))/0x3+parseInt(_0x130b6e(0xe7))/0x4+parseInt(_0x130b6e(0xdf))/0x5*(parseInt(_0x130b6e(0xec))/0x6)+parseInt(_0x130b6e(0xe3))/0x7*(parseInt(_0x130b6e(0xde))/0x8)+-parseInt(_0x130b6e(0xf0))/0x9*(parseInt(_0x130b6e(0xe5))/0xa);if(_0x351f18===_0x372a7c)break;else _0x47cdff['push'](_0x47cdff['shift']());}catch(_0x94d474){_0x47cdff['push'](_0x47cdff['shift']());}}}(a2_0x2606,0x4ff66));var a2_0x10e0d3=(function(){var _0x3604bd=!![];return function(_0x4bbdb4,_0x3b3759){var _0x445e0e=_0x3604bd?function(){var _0x563adb=a2_0x2ccc;if(_0x3b3759){var _0x5c863d=_0x3b3759[_0x563adb(0xef)](_0x4bbdb4,arguments);return _0x3b3759=null,_0x5c863d;}}:function(){};return _0x3604bd=![],_0x445e0e;};}()),a2_0x3bb143=a2_0x10e0d3(this,function(){var _0x45e56b=a2_0x2ccc;return a2_0x3bb143[_0x45e56b(0xeb)]()['search'](_0x45e56b(0xe2))[_0x45e56b(0xeb)]()[_0x45e56b(0xe0)](a2_0x3bb143)[_0x45e56b(0xf2)](_0x45e56b(0xe2));});a2_0x3bb143();'use strict';Object[a2_0x28db89(0xe9)](exports,a2_0x28db89(0xe6),{'value':!![]}),exports['Configuration']=exports['EventService']=exports[a2_0x28db89(0xee)]=void 0x0;var Event_1=require(a2_0x28db89(0xdd));Object[a2_0x28db89(0xe9)](exports,a2_0x28db89(0xee),{'enumerable':!![],'get':function(){var _0x147296=a2_0x28db89;return Event_1[_0x147296(0xee)];}});var EventService_1=require(a2_0x28db89(0xf1));Object[a2_0x28db89(0xe9)](exports,a2_0x28db89(0xea),{'enumerable':!![],'get':function(){return EventService_1['EventService'];}});function a2_0x2ccc(_0x12c054,_0x5c9dae){var _0x85a6a8=a2_0x2606();return a2_0x2ccc=function(_0x3bb143,_0x10e0d3){_0x3bb143=_0x3bb143-0xdc;var _0x2606ed=_0x85a6a8[_0x3bb143];return _0x2606ed;},a2_0x2ccc(_0x12c054,_0x5c9dae);}function a2_0x2606(){var _0x361e65=['apply','1001511LtAZNT','./service/EventService','search','534363OSwwsQ','./decorator/Event','4199848lCnrHg','25lWhxfI','constructor','1054204tGZwxY','(((.+)+)+)+$','7fdnowi','CustomConfiguration','130XlRFoS','__esModule','1945652VBJjBi','Configuration','defineProperty','EventService','toString','636366aNYnCa','719145WswSjO','Event'];a2_0x2606=function(){return _0x361e65;};return a2_0x2606();}var configuration_1=require('./configuration');Object[a2_0x28db89(0xe9)](exports,a2_0x28db89(0xe8),{'enumerable':!![],'get':function(){var _0x2576be=a2_0x28db89;return configuration_1[_0x2576be(0xe4)];}});
1
+ var a2_0x418a7b=a2_0x3953;(function(_0x2df48c,_0x561f77){var _0x508783=a2_0x3953,_0x40dc1b=_0x2df48c();while(!![]){try{var _0x5e5bce=parseInt(_0x508783(0xba))/0x1+parseInt(_0x508783(0xb5))/0x2+-parseInt(_0x508783(0xb1))/0x3+-parseInt(_0x508783(0xb6))/0x4+-parseInt(_0x508783(0xb3))/0x5+parseInt(_0x508783(0xb4))/0x6*(parseInt(_0x508783(0xad))/0x7)+parseInt(_0x508783(0xac))/0x8*(parseInt(_0x508783(0xab))/0x9);if(_0x5e5bce===_0x561f77)break;else _0x40dc1b['push'](_0x40dc1b['shift']());}catch(_0x521db1){_0x40dc1b['push'](_0x40dc1b['shift']());}}}(a2_0x4c0c,0xf3c18));var a2_0x3af261=(function(){var _0x1d8246=!![];return function(_0x1de93d,_0x5e5887){var _0x18c149=_0x1d8246?function(){var _0x6bb334=a2_0x3953;if(_0x5e5887){var _0x4e6e78=_0x5e5887[_0x6bb334(0xae)](_0x1de93d,arguments);return _0x5e5887=null,_0x4e6e78;}}:function(){};return _0x1d8246=![],_0x18c149;};}()),a2_0x47f7b1=a2_0x3af261(this,function(){var _0x33a9e6=a2_0x3953;return a2_0x47f7b1[_0x33a9e6(0xb2)]()[_0x33a9e6(0xb9)]('(((.+)+)+)+$')[_0x33a9e6(0xb2)]()['constructor'](a2_0x47f7b1)[_0x33a9e6(0xb9)]('(((.+)+)+)+$');});a2_0x47f7b1();'use strict';function a2_0x4c0c(){var _0x2f686e=['45594lkAGSM','./configuration','./service/EventService','CustomConfiguration','defineProperty','21393ypTOKI','5464KUCoCV','5698DtTklA','apply','Configuration','Event','5032440ibiJMl','toString','3261495fgxMrg','7698qtriFj','2442600hXgmCU','2426176LLXZGo','EventService','./decorator/Event','search'];a2_0x4c0c=function(){return _0x2f686e;};return a2_0x4c0c();}Object[a2_0x418a7b(0xaa)](exports,'__esModule',{'value':!![]}),exports[a2_0x418a7b(0xaf)]=exports[a2_0x418a7b(0xb7)]=exports['Event']=void 0x0;function a2_0x3953(_0x495f89,_0x59962c){var _0x5aacff=a2_0x4c0c();return a2_0x3953=function(_0x47f7b1,_0x3af261){_0x47f7b1=_0x47f7b1-0xa8;var _0x4c0cf6=_0x5aacff[_0x47f7b1];return _0x4c0cf6;},a2_0x3953(_0x495f89,_0x59962c);}var Event_1=require(a2_0x418a7b(0xb8));Object['defineProperty'](exports,a2_0x418a7b(0xb0),{'enumerable':!![],'get':function(){var _0xa70cf3=a2_0x418a7b;return Event_1[_0xa70cf3(0xb0)];}});var EventService_1=require(a2_0x418a7b(0xa8));Object['defineProperty'](exports,a2_0x418a7b(0xb7),{'enumerable':!![],'get':function(){return EventService_1['EventService'];}});var configuration_1=require(a2_0x418a7b(0xbb));Object[a2_0x418a7b(0xaa)](exports,a2_0x418a7b(0xaf),{'enumerable':!![],'get':function(){var _0x51f9d3=a2_0x418a7b;return configuration_1[_0x51f9d3(0xa9)];}});
package/dist/interface.js CHANGED
@@ -1 +1 @@
1
- var a3_0xe750ca=a3_0x5982;(function(_0x4bd802,_0x27ac1b){var _0xc0ff0b=a3_0x5982,_0x4f03ed=_0x4bd802();while(!![]){try{var _0x36bfbb=-parseInt(_0xc0ff0b(0xeb))/0x1*(parseInt(_0xc0ff0b(0xf1))/0x2)+parseInt(_0xc0ff0b(0xf3))/0x3*(parseInt(_0xc0ff0b(0xf7))/0x4)+-parseInt(_0xc0ff0b(0xf0))/0x5+-parseInt(_0xc0ff0b(0xee))/0x6*(-parseInt(_0xc0ff0b(0xed))/0x7)+-parseInt(_0xc0ff0b(0xf8))/0x8*(parseInt(_0xc0ff0b(0xf6))/0x9)+-parseInt(_0xc0ff0b(0xf2))/0xa*(-parseInt(_0xc0ff0b(0xe9))/0xb)+-parseInt(_0xc0ff0b(0xfb))/0xc;if(_0x36bfbb===_0x27ac1b)break;else _0x4f03ed['push'](_0x4f03ed['shift']());}catch(_0x14057b){_0x4f03ed['push'](_0x4f03ed['shift']());}}}(a3_0x1dd9,0x97400));var a3_0x31003b=(function(){var _0x193fb4=!![];return function(_0x5a8e95,_0x3c6887){var _0x155fc2=_0x193fb4?function(){var _0x5648da=a3_0x5982;if(_0x3c6887){var _0x141c30=_0x3c6887[_0x5648da(0xea)](_0x5a8e95,arguments);return _0x3c6887=null,_0x141c30;}}:function(){};return _0x193fb4=![],_0x155fc2;};}()),a3_0xbbc9cc=a3_0x31003b(this,function(){var _0x353b25=a3_0x5982;return a3_0xbbc9cc[_0x353b25(0xf4)]()['search']('(((.+)+)+)+$')['toString']()['constructor'](a3_0xbbc9cc)[_0x353b25(0xfa)]('(((.+)+)+)+$');});function a3_0x1dd9(){var _0x521ec2=['2130292AVMFBY','15880ySEVQG','5361OdAFaS','toString','EVENT_ON_KEY','414uUnSin','1940oJriKv','52376cpmdkX','__esModule','search','27744WYLdUb','defineProperty','4972NtxwYg','apply','1vHfqax','anncic-api:event:on','35ssQewm','1284444wLZdkW','EVENT_KEY','3333505DiOJHc'];a3_0x1dd9=function(){return _0x521ec2;};return a3_0x1dd9();}a3_0xbbc9cc();function a3_0x5982(_0x5c5981,_0x3247cb){var _0x436e18=a3_0x1dd9();return a3_0x5982=function(_0xbbc9cc,_0x31003b){_0xbbc9cc=_0xbbc9cc-0xe8;var _0x1dd904=_0x436e18[_0xbbc9cc];return _0x1dd904;},a3_0x5982(_0x5c5981,_0x3247cb);}'use strict';Object[a3_0xe750ca(0xe8)](exports,a3_0xe750ca(0xf9),{'value':!![]}),exports[a3_0xe750ca(0xf5)]=exports[a3_0xe750ca(0xef)]=void 0x0,exports['EVENT_KEY']='anncic-api:event',exports[a3_0xe750ca(0xf5)]=a3_0xe750ca(0xec);
1
+ function a3_0x3f89(){var _0x288242=['72KsbwvK','216FJxaST','1452038fEYKoK','EVENT_ON_KEY','74693WjymDe','EVENT_KEY','defineProperty','13263yyvMEm','constructor','1950652GVcJBy','61390ycQouE','anncic-api:event:on','(((.+)+)+)+$','apply','424265WzcZGf','search','407832bYOSom','__esModule','anncic-api:event','toString','8LNHkPx','2BSmLKe'];a3_0x3f89=function(){return _0x288242;};return a3_0x3f89();}function a3_0x5460(_0x5a8d7c,_0x412dbb){var _0x51fa03=a3_0x3f89();return a3_0x5460=function(_0x2004f4,_0x18a613){_0x2004f4=_0x2004f4-0x7d;var _0x3f8968=_0x51fa03[_0x2004f4];return _0x3f8968;},a3_0x5460(_0x5a8d7c,_0x412dbb);}var a3_0x40e4fe=a3_0x5460;(function(_0x432e97,_0x343aba){var _0x5d6711=a3_0x5460,_0x34bb11=_0x432e97();while(!![]){try{var _0xcdea93=-parseInt(_0x5d6711(0x80))/0x1*(-parseInt(_0x5d6711(0x91))/0x2)+-parseInt(_0x5d6711(0x83))/0x3*(-parseInt(_0x5d6711(0x7d))/0x4)+-parseInt(_0x5d6711(0x8a))/0x5+-parseInt(_0x5d6711(0x8c))/0x6+parseInt(_0x5d6711(0x7e))/0x7*(parseInt(_0x5d6711(0x90))/0x8)+parseInt(_0x5d6711(0x92))/0x9*(-parseInt(_0x5d6711(0x86))/0xa)+-parseInt(_0x5d6711(0x85))/0xb;if(_0xcdea93===_0x343aba)break;else _0x34bb11['push'](_0x34bb11['shift']());}catch(_0x153a92){_0x34bb11['push'](_0x34bb11['shift']());}}}(a3_0x3f89,0x22918));var a3_0x18a613=(function(){var _0x4484e3=!![];return function(_0x219a5f,_0x3c3cb6){var _0x3c053f=_0x4484e3?function(){var _0x3d1644=a3_0x5460;if(_0x3c3cb6){var _0x494e24=_0x3c3cb6[_0x3d1644(0x89)](_0x219a5f,arguments);return _0x3c3cb6=null,_0x494e24;}}:function(){};return _0x4484e3=![],_0x3c053f;};}()),a3_0x2004f4=a3_0x18a613(this,function(){var _0x19f145=a3_0x5460;return a3_0x2004f4[_0x19f145(0x8f)]()['search'](_0x19f145(0x88))[_0x19f145(0x8f)]()[_0x19f145(0x84)](a3_0x2004f4)[_0x19f145(0x8b)](_0x19f145(0x88));});a3_0x2004f4();'use strict';Object[a3_0x40e4fe(0x82)](exports,a3_0x40e4fe(0x8d),{'value':!![]}),exports[a3_0x40e4fe(0x7f)]=exports[a3_0x40e4fe(0x81)]=void 0x0,exports[a3_0x40e4fe(0x81)]=a3_0x40e4fe(0x8e),exports['EVENT_ON_KEY']=a3_0x40e4fe(0x87);
@@ -1 +1 @@
1
- const a4_0xe35b7b=a4_0x56b3;(function(_0x2bc9d9,_0x5113d9){const _0x5e1a86=a4_0x56b3,_0x357881=_0x2bc9d9();while(!![]){try{const _0x3a81b5=parseInt(_0x5e1a86(0x1ee))/0x1*(parseInt(_0x5e1a86(0x214))/0x2)+parseInt(_0x5e1a86(0x1e0))/0x3+parseInt(_0x5e1a86(0x1ec))/0x4+-parseInt(_0x5e1a86(0x1e9))/0x5+-parseInt(_0x5e1a86(0x20d))/0x6+-parseInt(_0x5e1a86(0x1e2))/0x7*(-parseInt(_0x5e1a86(0x215))/0x8)+-parseInt(_0x5e1a86(0x206))/0x9;if(_0x3a81b5===_0x5113d9)break;else _0x357881['push'](_0x357881['shift']());}catch(_0x412bf2){_0x357881['push'](_0x357881['shift']());}}}(a4_0x2ef9,0x76fac));const a4_0x121cb8=(function(){let _0x1a0125=!![];return function(_0x38ab7c,_0x2e6258){const _0x79dd51=_0x1a0125?function(){const _0x11ac5a=a4_0x56b3;if(_0x2e6258){const _0x36aa74=_0x2e6258[_0x11ac5a(0x1ea)](_0x38ab7c,arguments);return _0x2e6258=null,_0x36aa74;}}:function(){};return _0x1a0125=![],_0x79dd51;};}()),a4_0x4b2e1c=a4_0x121cb8(this,function(){const _0x18a62f=a4_0x56b3;return a4_0x4b2e1c[_0x18a62f(0x1e5)]()[_0x18a62f(0x212)]('(((.+)+)+)+$')[_0x18a62f(0x1e5)]()[_0x18a62f(0x1fc)](a4_0x4b2e1c)[_0x18a62f(0x212)](_0x18a62f(0x1de));});function a4_0x56b3(_0x7ad619,_0x1094ba){const _0x1e4290=a4_0x2ef9();return a4_0x56b3=function(_0x4b2e1c,_0x121cb8){_0x4b2e1c=_0x4b2e1c-0x1de;let _0x2ef92e=_0x1e4290[_0x4b2e1c];return _0x2ef92e;},a4_0x56b3(_0x7ad619,_0x1094ba);}a4_0x4b2e1c();'use strict';var __decorate=this&&this[a4_0xe35b7b(0x209)]||function(_0x20bdaa,_0x122145,_0x265dfb,_0x1f8c43){const _0x2b1f2c=a4_0xe35b7b;var _0x542df6=arguments['length'],_0x58a6fb=_0x542df6<0x3?_0x122145:_0x1f8c43===null?_0x1f8c43=Object[_0x2b1f2c(0x1f2)](_0x122145,_0x265dfb):_0x1f8c43,_0x3dd015;if(typeof Reflect===_0x2b1f2c(0x1e1)&&typeof Reflect[_0x2b1f2c(0x1e4)]===_0x2b1f2c(0x202))_0x58a6fb=Reflect[_0x2b1f2c(0x1e4)](_0x20bdaa,_0x122145,_0x265dfb,_0x1f8c43);else{for(var _0x724205=_0x20bdaa[_0x2b1f2c(0x1fb)]-0x1;_0x724205>=0x0;_0x724205--)if(_0x3dd015=_0x20bdaa[_0x724205])_0x58a6fb=(_0x542df6<0x3?_0x3dd015(_0x58a6fb):_0x542df6>0x3?_0x3dd015(_0x122145,_0x265dfb,_0x58a6fb):_0x3dd015(_0x122145,_0x265dfb))||_0x58a6fb;}return _0x542df6>0x3&&_0x58a6fb&&Object['defineProperty'](_0x122145,_0x265dfb,_0x58a6fb),_0x58a6fb;},__metadata=this&&this[a4_0xe35b7b(0x1fd)]||function(_0x2416e0,_0x1cb82b){const _0x38056a=a4_0xe35b7b;if(typeof Reflect===_0x38056a(0x1e1)&&typeof Reflect['metadata']===_0x38056a(0x202))return Reflect[_0x38056a(0x20b)](_0x2416e0,_0x1cb82b);};Object['defineProperty'](exports,a4_0xe35b7b(0x20e),{'value':!![]}),exports[a4_0xe35b7b(0x1fe)]=void 0x0;const collect_js_1=require(a4_0xe35b7b(0x204)),core_1=require(a4_0xe35b7b(0x20a)),interface_1=require(a4_0xe35b7b(0x1f3));let EventService=class EventService{constructor(){const _0x30cf47=a4_0xe35b7b;this[_0x30cf47(0x203)]=![];}async[a4_0xe35b7b(0x213)](_0x47906b){const _0x5c308f=a4_0xe35b7b;if(!this[_0x5c308f(0x203)]){this[_0x5c308f(0x203)]=!![],this[_0x5c308f(0x211)]={};for(const _0x5e04a8 of(0x0,core_1[_0x5c308f(0x207)])(interface_1['EVENT_KEY'])||[]){const _0x158e2e=await this[_0x5c308f(0x1f7)]['getApplicationContext']()[_0x5c308f(0x1f4)](_0x5e04a8);for(const _0x1541f6 of(0x0,core_1[_0x5c308f(0x1e7)])(interface_1['EVENT_ON_KEY'],_0x5e04a8)||[]){typeof(_0x158e2e[_0x1541f6[_0x5c308f(0x1f8)]]==_0x5c308f(0x202))&&(!this[_0x5c308f(0x211)][_0x1541f6[_0x5c308f(0x20c)]]&&(this[_0x5c308f(0x211)][_0x1541f6[_0x5c308f(0x20c)]]=[]),this[_0x5c308f(0x211)][_0x1541f6[_0x5c308f(0x20c)]][_0x5c308f(0x208)]({'priority':(_0x1541f6===null||_0x1541f6===void 0x0?void 0x0:_0x1541f6[_0x5c308f(0x1f0)])||0x0,'throttle':(_0x1541f6===null||_0x1541f6===void 0x0?void 0x0:_0x1541f6['throttle'])||0x1f4,'resolve':_0x158e2e[_0x1541f6[_0x5c308f(0x1f8)]][_0x5c308f(0x1f1)](_0x158e2e),'propertyKey':_0x5e04a8[_0x5c308f(0x20c)]+'@'+_0x1541f6[_0x5c308f(0x1f8)]}));}}for(const _0x290b74 in this['listevent']){this[_0x5c308f(0x211)][_0x290b74]=(0x0,collect_js_1[_0x5c308f(0x205)])(this[_0x5c308f(0x211)][_0x290b74])[_0x5c308f(0x1f9)](_0x5c308f(0x1f0))[_0x5c308f(0x210)]();}}return _0x47906b?this['listevent'][_0x47906b]||[]:this[_0x5c308f(0x211)];}async[a4_0xe35b7b(0x1f5)](_0x182a82,..._0x247f80){const _0x361bf0=a4_0xe35b7b;var _0x207077,_0xc1bebd,_0x40a359,_0x530240,_0x4e4972;const _0x7757db=''+JSON['stringify'](_0x247f80),_0x39621a=Date[_0x361bf0(0x1ef)]();await this[_0x361bf0(0x213)]();for(let _0x3be42e in this[_0x361bf0(0x200)]){this[_0x361bf0(0x200)][_0x3be42e]<_0x39621a&&delete this[_0x361bf0(0x200)][_0x3be42e];}for(let _0x27036b in(_0x207077=this[_0x361bf0(0x211)])===null||_0x207077===void 0x0?void 0x0:_0x207077[_0x182a82]){if(((_0xc1bebd=this[_0x361bf0(0x211)][_0x182a82])===null||_0xc1bebd===void 0x0?void 0x0:_0xc1bebd[_0x27036b])&&typeof((_0x530240=(_0x40a359=this[_0x361bf0(0x211)][_0x182a82])===null||_0x40a359===void 0x0?void 0x0:_0x40a359[_0x27036b])===null||_0x530240===void 0x0?void 0x0:_0x530240[_0x361bf0(0x1e3)])==_0x361bf0(0x202)){const _0x2dbfd7=_0x182a82+'_'+_0x27036b+'@'+_0x7757db;(!this[_0x361bf0(0x200)]||this['listevent_throttle'][_0x2dbfd7]<_0x39621a)&&(this[_0x361bf0(0x200)][_0x2dbfd7]=_0x39621a+(((_0x4e4972=this['listevent'][_0x182a82][_0x27036b])===null||_0x4e4972===void 0x0?void 0x0:_0x4e4972['throttle'])||0x1f4),await this[_0x361bf0(0x211)][_0x182a82][_0x27036b][_0x361bf0(0x1e3)](..._0x247f80));}}}async[a4_0xe35b7b(0x201)](_0x4a2d99,..._0x1e8f24){const _0x24a59d=a4_0xe35b7b;return await this['getListevent'](),await this['emit'](_0x4a2d99,..._0x1e8f24),this[_0x24a59d(0x1fa)](_0x4a2d99);}async[a4_0xe35b7b(0x1fa)](_0xcd7850){const _0x5bf062=a4_0xe35b7b;return await this[_0x5bf062(0x213)](),this[_0x5bf062(0x211)][_0xcd7850]&&delete this[_0x5bf062(0x211)][_0xcd7850],!!this['listevent'][_0xcd7850];}};__decorate([(0x0,core_1[a4_0xe35b7b(0x1ff)])(),__metadata(a4_0xe35b7b(0x1df),Object)],EventService[a4_0xe35b7b(0x1e6)],'app',void 0x0),EventService=__decorate([(0x0,core_1[a4_0xe35b7b(0x1f6)])(a4_0xe35b7b(0x1eb)),(0x0,core_1[a4_0xe35b7b(0x1ed)])(core_1[a4_0xe35b7b(0x1e8)][a4_0xe35b7b(0x20f)])],EventService),exports[a4_0xe35b7b(0x1fe)]=EventService;function a4_0x2ef9(){const _0x5f2228=['6615486VjhEYW','listModule','push','__decorate','@midwayjs/core','metadata','name','3314328BDytSh','__esModule','Singleton','all','listevent','search','getListevent','51850bohnLF','24bcuEfP','(((.+)+)+)+$','design:type','566289JNopTd','object','1909040VZBUGo','resolve','decorate','toString','prototype','getClassMetadata','ScopeEnum','1772495OkzMWw','apply','event','3141332ByCXNs','Scope','13OOTKGc','now','priority','bind','getOwnPropertyDescriptor','../interface','getAsync','emit','Provide','app','propertyKey','sortByDesc','off','length','constructor','__metadata','EventService','App','listevent_throttle','once','function','init','collect.js','default'];a4_0x2ef9=function(){return _0x5f2228;};return a4_0x2ef9();}
1
+ const a4_0x476be0=a4_0x80df;(function(_0x363afc,_0x49a59c){const _0x272103=a4_0x80df,_0x2ecbfa=_0x363afc();while(!![]){try{const _0x2e94ed=-parseInt(_0x272103(0xda))/0x1+parseInt(_0x272103(0xff))/0x2+parseInt(_0x272103(0xfb))/0x3*(parseInt(_0x272103(0xf5))/0x4)+-parseInt(_0x272103(0xf6))/0x5*(-parseInt(_0x272103(0xfd))/0x6)+parseInt(_0x272103(0xdf))/0x7*(parseInt(_0x272103(0xf4))/0x8)+-parseInt(_0x272103(0xf9))/0x9+-parseInt(_0x272103(0xf3))/0xa;if(_0x2e94ed===_0x49a59c)break;else _0x2ecbfa['push'](_0x2ecbfa['shift']());}catch(_0x555331){_0x2ecbfa['push'](_0x2ecbfa['shift']());}}}(a4_0x5d80,0x6349d));const a4_0x106d6c=(function(){let _0x32c1f9=!![];return function(_0x1b14c9,_0x440d31){const _0x595364=_0x32c1f9?function(){const _0xf17784=a4_0x80df;if(_0x440d31){const _0x27780c=_0x440d31[_0xf17784(0xd8)](_0x1b14c9,arguments);return _0x440d31=null,_0x27780c;}}:function(){};return _0x32c1f9=![],_0x595364;};}()),a4_0x195c11=a4_0x106d6c(this,function(){const _0x56ac89=a4_0x80df;return a4_0x195c11[_0x56ac89(0xf7)]()[_0x56ac89(0x108)](_0x56ac89(0xf0))[_0x56ac89(0xf7)]()[_0x56ac89(0x105)](a4_0x195c11)['search'](_0x56ac89(0xf0));});a4_0x195c11();function a4_0x80df(_0x34cdcd,_0x23322e){const _0xf0446e=a4_0x5d80();return a4_0x80df=function(_0x195c11,_0x106d6c){_0x195c11=_0x195c11-0xd8;let _0x5d809d=_0xf0446e[_0x195c11];return _0x5d809d;},a4_0x80df(_0x34cdcd,_0x23322e);}'use strict';var __decorate=this&&this[a4_0x476be0(0x104)]||function(_0x1e90ad,_0x3d1087,_0x28a6d7,_0x1fe28f){const _0x3f6857=a4_0x476be0;var _0x3a1bfb=arguments[_0x3f6857(0xf8)],_0x17e93b=_0x3a1bfb<0x3?_0x3d1087:_0x1fe28f===null?_0x1fe28f=Object['getOwnPropertyDescriptor'](_0x3d1087,_0x28a6d7):_0x1fe28f,_0x29e006;if(typeof Reflect===_0x3f6857(0xdc)&&typeof Reflect[_0x3f6857(0x100)]===_0x3f6857(0xe5))_0x17e93b=Reflect[_0x3f6857(0x100)](_0x1e90ad,_0x3d1087,_0x28a6d7,_0x1fe28f);else{for(var _0x4fbfe2=_0x1e90ad[_0x3f6857(0xf8)]-0x1;_0x4fbfe2>=0x0;_0x4fbfe2--)if(_0x29e006=_0x1e90ad[_0x4fbfe2])_0x17e93b=(_0x3a1bfb<0x3?_0x29e006(_0x17e93b):_0x3a1bfb>0x3?_0x29e006(_0x3d1087,_0x28a6d7,_0x17e93b):_0x29e006(_0x3d1087,_0x28a6d7))||_0x17e93b;}return _0x3a1bfb>0x3&&_0x17e93b&&Object['defineProperty'](_0x3d1087,_0x28a6d7,_0x17e93b),_0x17e93b;},__metadata=this&&this['__metadata']||function(_0x1b2508,_0x3c6254){const _0x5a7857=a4_0x476be0;if(typeof Reflect==='object'&&typeof Reflect['metadata']===_0x5a7857(0xe5))return Reflect[_0x5a7857(0x101)](_0x1b2508,_0x3c6254);};Object[a4_0x476be0(0xe6)](exports,a4_0x476be0(0xea),{'value':!![]}),exports[a4_0x476be0(0xe4)]=void 0x0;const collect_js_1=require(a4_0x476be0(0xe3)),core_1=require(a4_0x476be0(0x103)),interface_1=require(a4_0x476be0(0x10b));let EventService=class EventService{constructor(){this['init']=![];}async[a4_0x476be0(0x107)](_0x1b682e){const _0x1108b3=a4_0x476be0;if(!this['init']){this[_0x1108b3(0x109)]=!![],this['listevent']={};for(const _0x410709 of(0x0,core_1['listModule'])(interface_1['EVENT_KEY'])||[]){const _0x295c8c=await this[_0x1108b3(0xe9)][_0x1108b3(0xe7)]()[_0x1108b3(0x102)](_0x410709);for(const _0x3889c3 of(0x0,core_1[_0x1108b3(0xde)])(interface_1[_0x1108b3(0xed)],_0x410709)||[]){typeof(_0x295c8c[_0x3889c3['propertyKey']]==_0x1108b3(0xe5))&&(!this[_0x1108b3(0xe1)][_0x3889c3['name']]&&(this[_0x1108b3(0xe1)][_0x3889c3[_0x1108b3(0xf2)]]=[]),this[_0x1108b3(0xe1)][_0x3889c3[_0x1108b3(0xf2)]][_0x1108b3(0x106)]({'priority':(_0x3889c3===null||_0x3889c3===void 0x0?void 0x0:_0x3889c3['priority'])||0x0,'throttle':(_0x3889c3===null||_0x3889c3===void 0x0?void 0x0:_0x3889c3[_0x1108b3(0xeb)])||0x1f4,'resolve':_0x295c8c[_0x3889c3[_0x1108b3(0xe8)]]['bind'](_0x295c8c),'propertyKey':_0x410709[_0x1108b3(0xf2)]+'@'+_0x3889c3[_0x1108b3(0xe8)]}));}}for(const _0x4009e6 in this[_0x1108b3(0xe1)]){this[_0x1108b3(0xe1)][_0x4009e6]=(0x0,collect_js_1['default'])(this[_0x1108b3(0xe1)][_0x4009e6])[_0x1108b3(0xfc)](_0x1108b3(0xf1))[_0x1108b3(0x10a)]();}}return _0x1b682e?this[_0x1108b3(0xe1)][_0x1b682e]||[]:this[_0x1108b3(0xe1)];}async['emit'](_0x118d06,..._0x518981){const _0x481c59=a4_0x476be0;var _0x4a2886,_0x3b2332,_0x1dbfe2,_0x54882,_0x3d3bb7;const _0x5bfcb3=''+JSON[_0x481c59(0xfa)](_0x518981),_0x1a04c9=Date['now']();await this[_0x481c59(0x107)]();for(let _0x48909d in this[_0x481c59(0xec)]){this['listevent_throttle'][_0x48909d]<_0x1a04c9&&delete this[_0x481c59(0xec)][_0x48909d];}for(let _0x3ceadf in(_0x4a2886=this[_0x481c59(0xe1)])===null||_0x4a2886===void 0x0?void 0x0:_0x4a2886[_0x118d06]){if(((_0x3b2332=this[_0x481c59(0xe1)][_0x118d06])===null||_0x3b2332===void 0x0?void 0x0:_0x3b2332[_0x3ceadf])&&typeof((_0x54882=(_0x1dbfe2=this[_0x481c59(0xe1)][_0x118d06])===null||_0x1dbfe2===void 0x0?void 0x0:_0x1dbfe2[_0x3ceadf])===null||_0x54882===void 0x0?void 0x0:_0x54882[_0x481c59(0xe0)])==_0x481c59(0xe5)){const _0x1b38e8=_0x118d06+'_'+_0x3ceadf+'@'+_0x5bfcb3;(!this[_0x481c59(0xec)]||this[_0x481c59(0xec)][_0x1b38e8]<_0x1a04c9)&&(this[_0x481c59(0xec)][_0x1b38e8]=_0x1a04c9+(((_0x3d3bb7=this[_0x481c59(0xe1)][_0x118d06][_0x3ceadf])===null||_0x3d3bb7===void 0x0?void 0x0:_0x3d3bb7[_0x481c59(0xeb)])||0x1f4),await this[_0x481c59(0xe1)][_0x118d06][_0x3ceadf]['resolve'](..._0x518981));}}}async['once'](_0x16fe47,..._0xe54aa2){const _0x5a8d66=a4_0x476be0;return await this['getListevent'](),await this['emit'](_0x16fe47,..._0xe54aa2),this[_0x5a8d66(0xee)](_0x16fe47);}async['off'](_0x442f97){const _0x3c795d=a4_0x476be0;return await this[_0x3c795d(0x107)](),this[_0x3c795d(0xe1)][_0x442f97]&&delete this[_0x3c795d(0xe1)][_0x442f97],!!this[_0x3c795d(0xe1)][_0x442f97];}};function a4_0x5d80(){const _0x4052f7=['EventService','function','defineProperty','getApplicationContext','propertyKey','app','__esModule','throttle','listevent_throttle','EVENT_ON_KEY','off','event','(((.+)+)+)+$','priority','name','1662640oImvsM','5460448iuVPKn','325492XMdxYp','1565SdGsTK','toString','length','6893838JPSTCB','stringify','6JaUUOl','sortByDesc','2916YLWbqr','design:type','1403910NFpXVV','decorate','metadata','getAsync','@midwayjs/core','__decorate','constructor','push','getListevent','search','init','all','../interface','apply','prototype','360444fnwhVh','Singleton','object','ScopeEnum','getClassMetadata','7iEfvbS','resolve','listevent','Provide','collect.js'];a4_0x5d80=function(){return _0x4052f7;};return a4_0x5d80();}__decorate([(0x0,core_1['App'])(),__metadata(a4_0x476be0(0xfe),Object)],EventService[a4_0x476be0(0xd9)],a4_0x476be0(0xe9),void 0x0),EventService=__decorate([(0x0,core_1[a4_0x476be0(0xe2)])(a4_0x476be0(0xef)),(0x0,core_1['Scope'])(core_1[a4_0x476be0(0xdd)][a4_0x476be0(0xdb)])],EventService),exports['EventService']=EventService;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anncic-api/event",
3
- "version": "3.7.27",
3
+ "version": "3.7.37",
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": "^4.9.5"
24
24
  },
25
- "gitHead": "5b2e3f2d4f8ba373d2a78042072f20e7aa373b67"
25
+ "gitHead": "6d882f4af0be9e897d072dcf5bcb8149c549af6c"
26
26
  }