@anncic-api/event 3.4.84 → 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_0x13fb08=a0_0x4bc6;function a0_0x3124(){var _0x53ea9a=['12AAvaxa','16455PkkHik','8614265EotMXk','anncic-api:event','@midwayjs/core','5392610HVkcJL','(((.+)+)+)+$','10605582kSdYva','design:type','24YcqkMh','Inject','object','constructor','defineProperty','toString','MidwayDecoratorService','2vFRSZX','MidwayConfigService','56UQaJWU','51702QejXRO','prototype','__metadata','search','apply','onReady','getOwnPropertyDescriptor','CustomConfiguration','metadata','95umxdhS','531100ITnvlV','function','length','693LdGovp','decorator','37704dLyDJi','decorate','config','Configuration','18XtEbma'];a0_0x3124=function(){return _0x53ea9a;};return a0_0x3124();}(function(_0x4c4216,_0x971689){var _0x10a417=a0_0x4bc6,_0x261aa1=_0x4c4216();while(!![]){try{var _0x27875e=-parseInt(_0x10a417(0x95))/0x1*(parseInt(_0x10a417(0xa2))/0x2)+-parseInt(_0x10a417(0xad))/0x3*(-parseInt(_0x10a417(0x8e))/0x4)+-parseInt(_0x10a417(0xa1))/0x5*(-parseInt(_0x10a417(0x98))/0x6)+-parseInt(_0x10a417(0xa5))/0x7*(parseInt(_0x10a417(0xa7))/0x8)+parseInt(_0x10a417(0xab))/0x9*(-parseInt(_0x10a417(0xb1))/0xa)+-parseInt(_0x10a417(0xae))/0xb*(parseInt(_0x10a417(0xac))/0xc)+-parseInt(_0x10a417(0xb3))/0xd*(-parseInt(_0x10a417(0x97))/0xe);if(_0x27875e===_0x971689)break;else _0x261aa1['push'](_0x261aa1['shift']());}catch(_0x2d699c){_0x261aa1['push'](_0x261aa1['shift']());}}}(a0_0x3124,0x929f5));var a0_0x15ceef=(function(){var _0x15d440=!![];return function(_0x375d9f,_0x3d8005){var _0x9b0947=_0x15d440?function(){var _0x112a81=a0_0x4bc6;if(_0x3d8005){var _0x3b14b8=_0x3d8005[_0x112a81(0x9c)](_0x375d9f,arguments);return _0x3d8005=null,_0x3b14b8;}}:function(){};return _0x15d440=![],_0x9b0947;};}()),a0_0x3a0969=a0_0x15ceef(this,function(){var _0x374dba=a0_0x4bc6;return a0_0x3a0969[_0x374dba(0x93)]()[_0x374dba(0x9b)](_0x374dba(0xb2))[_0x374dba(0x93)]()[_0x374dba(0x91)](a0_0x3a0969)[_0x374dba(0x9b)](_0x374dba(0xb2));});a0_0x3a0969();'use strict';var __decorate=this&&this['__decorate']||function(_0x5878eb,_0x537b53,_0x494363,_0x3a2aa3){var _0x5f3232=a0_0x4bc6,_0x4856f1=arguments[_0x5f3232(0xa4)],_0x4efce6=_0x4856f1<0x3?_0x537b53:_0x3a2aa3===null?_0x3a2aa3=Object[_0x5f3232(0x9e)](_0x537b53,_0x494363):_0x3a2aa3,_0x51a582;if(typeof Reflect===_0x5f3232(0x90)&&typeof Reflect[_0x5f3232(0xa8)]===_0x5f3232(0xa3))_0x4efce6=Reflect[_0x5f3232(0xa8)](_0x5878eb,_0x537b53,_0x494363,_0x3a2aa3);else{for(var _0x50fb77=_0x5878eb['length']-0x1;_0x50fb77>=0x0;_0x50fb77--)if(_0x51a582=_0x5878eb[_0x50fb77])_0x4efce6=(_0x4856f1<0x3?_0x51a582(_0x4efce6):_0x4856f1>0x3?_0x51a582(_0x537b53,_0x494363,_0x4efce6):_0x51a582(_0x537b53,_0x494363))||_0x4efce6;}return _0x4856f1>0x3&&_0x4efce6&&Object[_0x5f3232(0x92)](_0x537b53,_0x494363,_0x4efce6),_0x4efce6;},__metadata=this&&this[a0_0x13fb08(0x9a)]||function(_0x5f2f89,_0x3f647e){var _0x313ab1=a0_0x13fb08;if(typeof Reflect===_0x313ab1(0x90)&&typeof Reflect[_0x313ab1(0xa0)]===_0x313ab1(0xa3))return Reflect['metadata'](_0x5f2f89,_0x3f647e);};Object[a0_0x13fb08(0x92)](exports,'__esModule',{'value':!![]}),exports['CustomConfiguration']=void 0x0;const core_1=require(a0_0x13fb08(0xb0)),core_2=require('@midwayjs/core');function a0_0x4bc6(_0xb40d48,_0x161f70){var _0x37745f=a0_0x3124();return a0_0x4bc6=function(_0x3a0969,_0x15ceef){_0x3a0969=_0x3a0969-0x8d;var _0x312402=_0x37745f[_0x3a0969];return _0x312402;},a0_0x4bc6(_0xb40d48,_0x161f70);}let CustomConfiguration=class CustomConfiguration{async[a0_0x13fb08(0x9d)](){}};exports[a0_0x13fb08(0x9f)]=CustomConfiguration,__decorate([(0x0,core_1[a0_0x13fb08(0x8f)])(),__metadata(a0_0x13fb08(0x8d),core_2[a0_0x13fb08(0x96)])],CustomConfiguration[a0_0x13fb08(0x99)],a0_0x13fb08(0xa9),void 0x0),__decorate([(0x0,core_1['Inject'])(),__metadata(a0_0x13fb08(0x8d),core_2[a0_0x13fb08(0x94)])],CustomConfiguration['prototype'],a0_0x13fb08(0xa6),void 0x0),exports['CustomConfiguration']=CustomConfiguration=__decorate([(0x0,core_1[a0_0x13fb08(0xaa)])({'conflictCheck':![],'namespace':a0_0x13fb08(0xaf)})],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
- function a1_0x4372(){const _0x1787b7=['1810977JMSSSG','Request','Scope','Provide','search','10820fUIdrU','7388280UaWvPg','toString','579fjhMES','apply','saveModule','EVENT_ON_KEY','@midwayjs/core','14441312wwWuPP','575092bnSEnF','6763778yzOXEa','(((.+)+)+)+$','attachClassMetadata','3455052IXrXJJ','__esModule'];a1_0x4372=function(){return _0x1787b7;};return a1_0x4372();}const a1_0x2d7931=a1_0x59da;(function(_0x88931f,_0x47dd6a){const _0x5b0021=a1_0x59da,_0x328747=_0x88931f();while(!![]){try{const _0x264012=parseInt(_0x5b0021(0xd7))/0x1+-parseInt(_0x5b0021(0xdc))/0x2*(parseInt(_0x5b0021(0xdf))/0x3)+parseInt(_0x5b0021(0xe5))/0x4+parseInt(_0x5b0021(0xdd))/0x5+-parseInt(_0x5b0021(0xd5))/0x6+parseInt(_0x5b0021(0xe6))/0x7+-parseInt(_0x5b0021(0xe4))/0x8;if(_0x264012===_0x47dd6a)break;else _0x328747['push'](_0x328747['shift']());}catch(_0x3992ed){_0x328747['push'](_0x328747['shift']());}}}(a1_0x4372,0xedad4));const a1_0x1f13ec=(function(){let _0x50d06e=!![];return function(_0x1b732c,_0x2be3cd){const _0x293524=_0x50d06e?function(){const _0x54c406=a1_0x59da;if(_0x2be3cd){const _0x1598cc=_0x2be3cd[_0x54c406(0xe0)](_0x1b732c,arguments);return _0x2be3cd=null,_0x1598cc;}}:function(){};return _0x50d06e=![],_0x293524;};}()),a1_0x72d3ef=a1_0x1f13ec(this,function(){const _0x1afe81=a1_0x59da;return a1_0x72d3ef[_0x1afe81(0xde)]()['search'](_0x1afe81(0xd3))['toString']()['constructor'](a1_0x72d3ef)[_0x1afe81(0xdb)]('(((.+)+)+)+$');});a1_0x72d3ef();'use strict';Object['defineProperty'](exports,a1_0x2d7931(0xd6),{'value':!![]}),exports['Event']=Event;const core_1=require(a1_0x2d7931(0xe3)),interface_1=require('../interface');function Event(){return _0x44402e=>{const _0x735fc8=a1_0x59da;(0x0,core_1[_0x735fc8(0xda)])()(_0x44402e),(0x0,core_1[_0x735fc8(0xe1)])(interface_1['EVENT_KEY'],_0x44402e),(0x0,core_1[_0x735fc8(0xd9)])(core_1['ScopeEnum'][_0x735fc8(0xd8)],{'allowDowngrade':!![]})(_0x44402e);};}function a1_0x59da(_0x2848ec,_0x5a97c1){const _0x1c7468=a1_0x4372();return a1_0x59da=function(_0x72d3ef,_0x1f13ec){_0x72d3ef=_0x72d3ef-0xd3;let _0x437251=_0x1c7468[_0x72d3ef];return _0x437251;},a1_0x59da(_0x2848ec,_0x5a97c1);}Event['On']=function(_0x443d2c,_0x170eba=0x0,_0x5460af=0x1f4){return(_0x4a3344,_0x48d327,_0x458a4f)=>{const _0x2f6877=a1_0x59da;return(0x0,core_1[_0x2f6877(0xd4)])(interface_1[_0x2f6877(0xe2)],{'name':_0x443d2c,'priority':_0x170eba,'propertyKey':_0x48d327,'descriptor':_0x458a4f,'throttle':_0x5460af},_0x4a3344),_0x458a4f;};};
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_0x37c577=a2_0x1027;(function(_0x4852db,_0x30c1e9){var _0x209a4d=a2_0x1027,_0x33af7f=_0x4852db();while(!![]){try{var _0x3bcee4=-parseInt(_0x209a4d(0x1d6))/0x1+-parseInt(_0x209a4d(0x1de))/0x2*(-parseInt(_0x209a4d(0x1e3))/0x3)+parseInt(_0x209a4d(0x1d9))/0x4*(-parseInt(_0x209a4d(0x1df))/0x5)+-parseInt(_0x209a4d(0x1e2))/0x6+parseInt(_0x209a4d(0x1dd))/0x7*(parseInt(_0x209a4d(0x1d5))/0x8)+parseInt(_0x209a4d(0x1e1))/0x9*(-parseInt(_0x209a4d(0x1da))/0xa)+parseInt(_0x209a4d(0x1e0))/0xb;if(_0x3bcee4===_0x30c1e9)break;else _0x33af7f['push'](_0x33af7f['shift']());}catch(_0x13c959){_0x33af7f['push'](_0x33af7f['shift']());}}}(a2_0x4980,0xab35d));var a2_0x145087=(function(){var _0x578a00=!![];return function(_0x23df7f,_0x41baa6){var _0x5a99fd=_0x578a00?function(){var _0x26e8e2=a2_0x1027;if(_0x41baa6){var _0x57c330=_0x41baa6[_0x26e8e2(0x1dc)](_0x23df7f,arguments);return _0x41baa6=null,_0x57c330;}}:function(){};return _0x578a00=![],_0x5a99fd;};}()),a2_0x14349a=a2_0x145087(this,function(){var _0x4b74fb=a2_0x1027;return a2_0x14349a[_0x4b74fb(0x1e5)]()[_0x4b74fb(0x1e6)](_0x4b74fb(0x1e8))[_0x4b74fb(0x1e5)]()['constructor'](a2_0x14349a)[_0x4b74fb(0x1e6)](_0x4b74fb(0x1e8));});function a2_0x1027(_0x31ae7b,_0x219478){var _0x1cbf93=a2_0x4980();return a2_0x1027=function(_0x14349a,_0x145087){_0x14349a=_0x14349a-0x1d4;var _0x4980ae=_0x1cbf93[_0x14349a];return _0x4980ae;},a2_0x1027(_0x31ae7b,_0x219478);}a2_0x14349a();'use strict';Object[a2_0x37c577(0x1d4)](exports,'__esModule',{'value':!![]}),exports[a2_0x37c577(0x1db)]=exports['EventService']=exports['Event']=void 0x0;var Event_1=require(a2_0x37c577(0x1e4));Object[a2_0x37c577(0x1d4)](exports,a2_0x37c577(0x1e9),{'enumerable':!![],'get':function(){var _0x151d35=a2_0x37c577;return Event_1[_0x151d35(0x1e9)];}});var EventService_1=require(a2_0x37c577(0x1d8));Object[a2_0x37c577(0x1d4)](exports,'EventService',{'enumerable':!![],'get':function(){var _0x52960a=a2_0x37c577;return EventService_1[_0x52960a(0x1ea)];}});var configuration_1=require(a2_0x37c577(0x1e7));function a2_0x4980(){var _0x3f1d03=['13915044zRIOUs','89892gxizZq','2416950kBcHSD','27ZLpxUM','./decorator/Event','toString','search','./configuration','(((.+)+)+)+$','Event','EventService','defineProperty','11105008fSocKA','330251FBuNXG','CustomConfiguration','./service/EventService','4pvgnEE','1190DRNBTB','Configuration','apply','7difesS','189536FOjVzL','4415585EfvXTM'];a2_0x4980=function(){return _0x3f1d03;};return a2_0x4980();}Object[a2_0x37c577(0x1d4)](exports,a2_0x37c577(0x1db),{'enumerable':!![],'get':function(){var _0x1e3ff0=a2_0x37c577;return configuration_1[_0x1e3ff0(0x1d7)];}});
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_0x4bb70d=a3_0x48e7;(function(_0xf3aa27,_0x22f9b3){var _0x11a451=a3_0x48e7,_0x1a801f=_0xf3aa27();while(!![]){try{var _0x46e1b2=-parseInt(_0x11a451(0x1ba))/0x1+parseInt(_0x11a451(0x1b8))/0x2*(parseInt(_0x11a451(0x1bc))/0x3)+parseInt(_0x11a451(0x1c0))/0x4+-parseInt(_0x11a451(0x1b2))/0x5+parseInt(_0x11a451(0x1af))/0x6+parseInt(_0x11a451(0x1b4))/0x7+-parseInt(_0x11a451(0x1bb))/0x8;if(_0x46e1b2===_0x22f9b3)break;else _0x1a801f['push'](_0x1a801f['shift']());}catch(_0x1ea6d3){_0x1a801f['push'](_0x1a801f['shift']());}}}(a3_0x35d2,0x5f468));function a3_0x48e7(_0x2e7f70,_0x2629ef){var _0x593e0d=a3_0x35d2();return a3_0x48e7=function(_0x524bf0,_0x15d6fc){_0x524bf0=_0x524bf0-0x1af;var _0x35d215=_0x593e0d[_0x524bf0];return _0x35d215;},a3_0x48e7(_0x2e7f70,_0x2629ef);}var a3_0x15d6fc=(function(){var _0x22c11b=!![];return function(_0x19d33c,_0x1e05cb){var _0x46bc5a=_0x22c11b?function(){var _0x4f95de=a3_0x48e7;if(_0x1e05cb){var _0x51d280=_0x1e05cb[_0x4f95de(0x1b1)](_0x19d33c,arguments);return _0x1e05cb=null,_0x51d280;}}:function(){};return _0x22c11b=![],_0x46bc5a;};}()),a3_0x524bf0=a3_0x15d6fc(this,function(){var _0x11edb6=a3_0x48e7;return a3_0x524bf0[_0x11edb6(0x1be)]()[_0x11edb6(0x1b5)](_0x11edb6(0x1b6))[_0x11edb6(0x1be)]()[_0x11edb6(0x1b7)](a3_0x524bf0)[_0x11edb6(0x1b5)](_0x11edb6(0x1b6));});function a3_0x35d2(){var _0x187a6b=['1674564URFSUF','anncic-api:event:on','354048XbLnqO','EVENT_ON_KEY','apply','559520NvlfWa','EVENT_KEY','2842007CvtcHR','search','(((.+)+)+)+$','constructor','40TtagJx','__esModule','402860HGIBIT','4810064tEswnh','93393wvNImN','anncic-api:event','toString','defineProperty'];a3_0x35d2=function(){return _0x187a6b;};return a3_0x35d2();}a3_0x524bf0();'use strict';Object[a3_0x4bb70d(0x1bf)](exports,a3_0x4bb70d(0x1b9),{'value':!![]}),exports[a3_0x4bb70d(0x1b0)]=exports[a3_0x4bb70d(0x1b3)]=void 0x0,exports[a3_0x4bb70d(0x1b3)]=a3_0x4bb70d(0x1bd),exports[a3_0x4bb70d(0x1b0)]=a3_0x4bb70d(0x1c1);
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_0x429ede=a4_0x2b87;(function(_0x5044ee,_0x2b2c1a){const _0x544dc7=a4_0x2b87,_0x22f64b=_0x5044ee();while(!![]){try{const _0x389ff5=parseInt(_0x544dc7(0x1a4))/0x1*(parseInt(_0x544dc7(0x19e))/0x2)+-parseInt(_0x544dc7(0x193))/0x3*(parseInt(_0x544dc7(0x19c))/0x4)+-parseInt(_0x544dc7(0x1b3))/0x5+-parseInt(_0x544dc7(0x19d))/0x6*(-parseInt(_0x544dc7(0x1ad))/0x7)+parseInt(_0x544dc7(0x1a9))/0x8+parseInt(_0x544dc7(0x1bc))/0x9*(parseInt(_0x544dc7(0x1a1))/0xa)+parseInt(_0x544dc7(0x1bf))/0xb*(parseInt(_0x544dc7(0x1b1))/0xc);if(_0x389ff5===_0x2b2c1a)break;else _0x22f64b['push'](_0x22f64b['shift']());}catch(_0x390cc6){_0x22f64b['push'](_0x22f64b['shift']());}}}(a4_0x43a8,0x4f25e));const a4_0x764b2a=(function(){let _0x404e21=!![];return function(_0x4cd622,_0x5a24ec){const _0x38f8bd=_0x404e21?function(){const _0x206159=a4_0x2b87;if(_0x5a24ec){const _0x165636=_0x5a24ec[_0x206159(0x1b6)](_0x4cd622,arguments);return _0x5a24ec=null,_0x165636;}}:function(){};return _0x404e21=![],_0x38f8bd;};}()),a4_0x4edb2=a4_0x764b2a(this,function(){const _0x1e0f58=a4_0x2b87;return a4_0x4edb2[_0x1e0f58(0x1a0)]()[_0x1e0f58(0x188)](_0x1e0f58(0x19a))[_0x1e0f58(0x1a0)]()[_0x1e0f58(0x196)](a4_0x4edb2)[_0x1e0f58(0x188)](_0x1e0f58(0x19a));});a4_0x4edb2();'use strict';var __decorate=this&&this['__decorate']||function(_0x417784,_0x6012c4,_0x2125f5,_0x2d9df2){const _0xe5353e=a4_0x2b87;var _0x544fe6=arguments[_0xe5353e(0x1b5)],_0x165b85=_0x544fe6<0x3?_0x6012c4:_0x2d9df2===null?_0x2d9df2=Object[_0xe5353e(0x18f)](_0x6012c4,_0x2125f5):_0x2d9df2,_0x324efb;if(typeof Reflect==='object'&&typeof Reflect[_0xe5353e(0x19f)]===_0xe5353e(0x1bb))_0x165b85=Reflect['decorate'](_0x417784,_0x6012c4,_0x2125f5,_0x2d9df2);else{for(var _0x40df25=_0x417784['length']-0x1;_0x40df25>=0x0;_0x40df25--)if(_0x324efb=_0x417784[_0x40df25])_0x165b85=(_0x544fe6<0x3?_0x324efb(_0x165b85):_0x544fe6>0x3?_0x324efb(_0x6012c4,_0x2125f5,_0x165b85):_0x324efb(_0x6012c4,_0x2125f5))||_0x165b85;}return _0x544fe6>0x3&&_0x165b85&&Object[_0xe5353e(0x198)](_0x6012c4,_0x2125f5,_0x165b85),_0x165b85;},__metadata=this&&this[a4_0x429ede(0x18b)]||function(_0xbcebe3,_0x32b3a2){const _0x2039b7=a4_0x429ede;if(typeof Reflect===_0x2039b7(0x1ab)&&typeof Reflect[_0x2039b7(0x197)]===_0x2039b7(0x1bb))return Reflect['metadata'](_0xbcebe3,_0x32b3a2);};Object[a4_0x429ede(0x198)](exports,'__esModule',{'value':!![]}),exports[a4_0x429ede(0x1a6)]=void 0x0;const collect_js_1=require(a4_0x429ede(0x18c)),core_1=require(a4_0x429ede(0x19b)),interface_1=require(a4_0x429ede(0x18d));let EventService=class EventService{constructor(){const _0x16111a=a4_0x429ede;this[_0x16111a(0x1a3)]=![];}async[a4_0x429ede(0x1be)](_0x1abf2a){const _0x3df051=a4_0x429ede;if(!this[_0x3df051(0x1a3)]){this['init']=!![],this[_0x3df051(0x1bd)]={};for(const _0x1440e8 of(0x0,core_1['listModule'])(interface_1['EVENT_KEY'])||[]){const _0x35e664=await this[_0x3df051(0x1b9)][_0x3df051(0x1ac)]()[_0x3df051(0x1ae)](_0x1440e8);for(const _0x4c1e05 of(0x0,core_1[_0x3df051(0x18a)])(interface_1[_0x3df051(0x191)],_0x1440e8)||[]){typeof(_0x35e664[_0x4c1e05[_0x3df051(0x187)]]=='function')&&(!this[_0x3df051(0x1bd)][_0x4c1e05[_0x3df051(0x1a7)]]&&(this['listevent'][_0x4c1e05[_0x3df051(0x1a7)]]=[]),this[_0x3df051(0x1bd)][_0x4c1e05[_0x3df051(0x1a7)]]['push']({'priority':(_0x4c1e05===null||_0x4c1e05===void 0x0?void 0x0:_0x4c1e05['priority'])||0x0,'throttle':(_0x4c1e05===null||_0x4c1e05===void 0x0?void 0x0:_0x4c1e05[_0x3df051(0x1af)])||0x1f4,'resolve':_0x35e664[_0x4c1e05['propertyKey']][_0x3df051(0x189)](_0x35e664),'propertyKey':_0x1440e8[_0x3df051(0x1a7)]+'@'+_0x4c1e05['propertyKey']}));}}for(const _0x21307e in this[_0x3df051(0x1bd)]){this[_0x3df051(0x1bd)][_0x21307e]=(0x0,collect_js_1['default'])(this[_0x3df051(0x1bd)][_0x21307e])[_0x3df051(0x1b0)](_0x3df051(0x1ba))[_0x3df051(0x1b4)]();}}return _0x1abf2a?this['listevent'][_0x1abf2a]||[]:this[_0x3df051(0x1bd)];}async[a4_0x429ede(0x1a5)](_0x52d573,..._0x2ecbf6){const _0x5f22f0=a4_0x429ede;var _0x4bcc2d,_0x23914f,_0x410951,_0x2d2b89,_0xfe0d0a;const _0x11fc4f=''+JSON[_0x5f22f0(0x190)](_0x2ecbf6),_0x5a65fb=Date[_0x5f22f0(0x194)]();await this[_0x5f22f0(0x1be)]();for(let _0x34470f in this[_0x5f22f0(0x1b8)]){this[_0x5f22f0(0x1b8)][_0x34470f]<_0x5a65fb&&delete this[_0x5f22f0(0x1b8)][_0x34470f];}for(let _0x4b7de4 in(_0x4bcc2d=this['listevent'])===null||_0x4bcc2d===void 0x0?void 0x0:_0x4bcc2d[_0x52d573]){if(((_0x23914f=this['listevent'][_0x52d573])===null||_0x23914f===void 0x0?void 0x0:_0x23914f[_0x4b7de4])&&typeof((_0x2d2b89=(_0x410951=this[_0x5f22f0(0x1bd)][_0x52d573])===null||_0x410951===void 0x0?void 0x0:_0x410951[_0x4b7de4])===null||_0x2d2b89===void 0x0?void 0x0:_0x2d2b89[_0x5f22f0(0x1aa)])=='function'){const _0x188902=_0x52d573+'_'+_0x4b7de4+'@'+_0x11fc4f;(!this[_0x5f22f0(0x1b8)]||this[_0x5f22f0(0x1b8)][_0x188902]<_0x5a65fb)&&(this[_0x5f22f0(0x1b8)][_0x188902]=_0x5a65fb+(((_0xfe0d0a=this['listevent'][_0x52d573][_0x4b7de4])===null||_0xfe0d0a===void 0x0?void 0x0:_0xfe0d0a[_0x5f22f0(0x1af)])||0x1f4),await this[_0x5f22f0(0x1bd)][_0x52d573][_0x4b7de4][_0x5f22f0(0x1aa)](..._0x2ecbf6));}}}async[a4_0x429ede(0x1a2)](_0xce7f72,..._0x4ee581){const _0x50a694=a4_0x429ede;return await this[_0x50a694(0x1be)](),await this[_0x50a694(0x1a5)](_0xce7f72,..._0x4ee581),this['off'](_0xce7f72);}async[a4_0x429ede(0x199)](_0x21e31e){const _0x4cd6fa=a4_0x429ede;return await this[_0x4cd6fa(0x1be)](),this['listevent'][_0x21e31e]&&delete this[_0x4cd6fa(0x1bd)][_0x21e31e],!!this['listevent'][_0x21e31e];}};exports[a4_0x429ede(0x1a6)]=EventService,__decorate([(0x0,core_1[a4_0x429ede(0x1b2)])(),__metadata(a4_0x429ede(0x192),Object)],EventService[a4_0x429ede(0x18e)],a4_0x429ede(0x1b9),void 0x0),exports['EventService']=EventService=__decorate([(0x0,core_1['Provide'])(a4_0x429ede(0x195)),(0x0,core_1[a4_0x429ede(0x1b7)])(core_1['ScopeEnum'][a4_0x429ede(0x1a8)])],EventService);function a4_0x2b87(_0x4833bc,_0x252711){const _0x1cab88=a4_0x43a8();return a4_0x2b87=function(_0x4edb2,_0x764b2a){_0x4edb2=_0x4edb2-0x187;let _0x43a89c=_0x1cab88[_0x4edb2];return _0x43a89c;},a4_0x2b87(_0x4833bc,_0x252711);}function a4_0x43a8(){const _0x1762af=['length','apply','Scope','listevent_throttle','app','priority','function','612NSrSCV','listevent','getListevent','39633TAEBGj','propertyKey','search','bind','getClassMetadata','__metadata','collect.js','../interface','prototype','getOwnPropertyDescriptor','stringify','EVENT_ON_KEY','design:type','3LfrTzh','now','event','constructor','metadata','defineProperty','off','(((.+)+)+)+$','@midwayjs/core','191452zUBbuh','6HZAqZn','20joVLSC','decorate','toString','54130pEEumA','once','init','22751UtVRIn','emit','EventService','name','Singleton','297960EqHsLj','resolve','object','getApplicationContext','1468502XaeNNM','getAsync','throttle','sortByDesc','72BePISz','App','2460950GBWdRy','all'];a4_0x43a8=function(){return _0x1762af;};return a4_0x43a8();}
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.84",
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": "d647355a81db5d807fc909c180c741b46f312286"
24
+ "gitHead": "9ef338430bcefc3d4264e26a5c46ed8bb3f4f06a"
25
25
  }