anncic-api 3.0.4 → 3.0.5

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
- function a0_0x3d11(){var _0x56fd1f=['search','name','__esModule','332490BuGiET','4885083pRAqCx','344Rqvslz','70VDosRY','xml','apply','2307736fnBPUa','1769756MjXCvB','(((.+)+)+)+$','toString','/runtime/.upload','text','default','20mb','215895bxPNkL','json','zhiulanuiy7892387985hnoi','dhauo1234420123gg3234901','constructor','1709442XSvMxN','3698pxwGXs','defineProperty'];a0_0x3d11=function(){return _0x56fd1f;};return a0_0x3d11();}var a0_0x5dbdf3=a0_0x3b9f;(function(_0x255379,_0x46048b){var _0xf46b2d=a0_0x3b9f,_0x365231=_0x255379();while(!![]){try{var _0x2dea53=-parseInt(_0xf46b2d(0x131))/0x1*(parseInt(_0xf46b2d(0x12a))/0x2)+-parseInt(_0xf46b2d(0x124))/0x3+-parseInt(_0xf46b2d(0x136))/0x4+parseInt(_0xf46b2d(0x132))/0x5*(parseInt(_0xf46b2d(0x12f))/0x6)+parseInt(_0xf46b2d(0x130))/0x7+parseInt(_0xf46b2d(0x135))/0x8+-parseInt(_0xf46b2d(0x129))/0x9;if(_0x2dea53===_0x46048b)break;else _0x365231['push'](_0x365231['shift']());}catch(_0xb8c000){_0x365231['push'](_0x365231['shift']());}}}(a0_0x3d11,0x66f74));var a0_0x45aa1f=(function(){var _0x16a2d7=!![];return function(_0x58da66,_0x11802f){var _0x54c13e=_0x16a2d7?function(){var _0x33d5c5=a0_0x3b9f;if(_0x11802f){var _0x3a1057=_0x11802f[_0x33d5c5(0x134)](_0x58da66,arguments);return _0x11802f=null,_0x3a1057;}}:function(){};return _0x16a2d7=![],_0x54c13e;};}()),a0_0x3d6412=a0_0x45aa1f(this,function(){var _0x1282e0=a0_0x3b9f;return a0_0x3d6412[_0x1282e0(0x11f)]()[_0x1282e0(0x12c)](_0x1282e0(0x11e))[_0x1282e0(0x11f)]()[_0x1282e0(0x128)](a0_0x3d6412)['search'](_0x1282e0(0x11e));});a0_0x3d6412();'use strict';function a0_0x3b9f(_0x5346e0,_0xec8765){var _0x120491=a0_0x3d11();return a0_0x3b9f=function(_0x3d6412,_0x45aa1f){_0x3d6412=_0x3d6412-0x11e;var _0x3d1124=_0x120491[_0x3d6412];return _0x3d1124;},a0_0x3b9f(_0x5346e0,_0xec8765);}Object[a0_0x5dbdf3(0x12b)](exports,a0_0x5dbdf3(0x12e),{'value':!![]}),exports[a0_0x5dbdf3(0x122)]=_0x53daad=>{var _0x459def=a0_0x5dbdf3;return{'apitest':!![],'keys':_0x53daad[_0x459def(0x12d)],'anncicapi':{'password':_0x459def(0x126),'devices':{'DEFAULT':{'secret':'dhauo1234420123gg3234901','checkcode':_0x459def(0x127)}}},'bodyParser':{'enableTypes':[_0x459def(0x125),'form',_0x459def(0x121),_0x459def(0x133)],'formLimit':_0x459def(0x123),'jsonLimit':_0x459def(0x123),'textLimit':'20mb','xmlLimit':_0x459def(0x123)},'upload':{'tmpdir':_0x53daad['appDir']+_0x459def(0x120),'cleanTimeout':0x5265c00}};};
1
+ var a0_0x1919ac=a0_0x5c81;function a0_0x5c81(_0x381453,_0x2776e1){var _0x41cded=a0_0x3cbe();return a0_0x5c81=function(_0x1a4822,_0x24df06){_0x1a4822=_0x1a4822-0xeb;var _0x3cbef1=_0x41cded[_0x1a4822];return _0x3cbef1;},a0_0x5c81(_0x381453,_0x2776e1);}(function(_0x3daf1a,_0x448c37){var _0x409e2c=a0_0x5c81,_0x231808=_0x3daf1a();while(!![]){try{var _0x5f116c=-parseInt(_0x409e2c(0xf6))/0x1*(-parseInt(_0x409e2c(0xf5))/0x2)+-parseInt(_0x409e2c(0xf3))/0x3*(parseInt(_0x409e2c(0xec))/0x4)+parseInt(_0x409e2c(0xf8))/0x5+-parseInt(_0x409e2c(0xee))/0x6+-parseInt(_0x409e2c(0xf2))/0x7+parseInt(_0x409e2c(0xf9))/0x8+parseInt(_0x409e2c(0xed))/0x9*(parseInt(_0x409e2c(0x100))/0xa);if(_0x5f116c===_0x448c37)break;else _0x231808['push'](_0x231808['shift']());}catch(_0x4e5994){_0x231808['push'](_0x231808['shift']());}}}(a0_0x3cbe,0xd5aa4));var a0_0x24df06=(function(){var _0x277944=!![];return function(_0x1322a3,_0x17145a){var _0x547458=_0x277944?function(){var _0x364ba9=a0_0x5c81;if(_0x17145a){var _0x5ba87c=_0x17145a[_0x364ba9(0xef)](_0x1322a3,arguments);return _0x17145a=null,_0x5ba87c;}}:function(){};return _0x277944=![],_0x547458;};}()),a0_0x1a4822=a0_0x24df06(this,function(){var _0x2acb0b=a0_0x5c81;return a0_0x1a4822[_0x2acb0b(0xf4)]()[_0x2acb0b(0xf7)](_0x2acb0b(0xfd))[_0x2acb0b(0xf4)]()[_0x2acb0b(0xfb)](a0_0x1a4822)['search'](_0x2acb0b(0xfd));});a0_0x1a4822();'use strict';function a0_0x3cbe(){var _0x332302=['__esModule','(((.+)+)+)+$','json','default','10jxsReM','dhauo1234420123gg3234901','name','484NuNsPj','24698241zhuhNv','7852326qMpWen','apply','appDir','/runtime/.upload','11011749WxpeVd','30837cGKbcI','toString','1582910HQnETT','1mrfpVG','search','3521735sVNXkN','6085664ZnLUuo','20mb','constructor'];a0_0x3cbe=function(){return _0x332302;};return a0_0x3cbe();}Object['defineProperty'](exports,a0_0x1919ac(0xfc),{'value':!![]}),exports[a0_0x1919ac(0xff)]=_0x54b4e6=>{var _0xb9d0b4=a0_0x1919ac;return{'apitest':!![],'keys':_0x54b4e6[_0xb9d0b4(0xeb)],'anncicapi':{'password':'zhiulanuiy7892387985hnoi','devices':{'DEFAULT':{'secret':'dhauo1234420123gg3234901','checkcode':_0xb9d0b4(0x101)}}},'bodyParser':{'enableTypes':[_0xb9d0b4(0xfe),'form','text','xml'],'formLimit':_0xb9d0b4(0xfa),'jsonLimit':_0xb9d0b4(0xfa),'textLimit':'20mb','xmlLimit':_0xb9d0b4(0xfa)},'upload':{'tmpdir':_0x54b4e6[_0xb9d0b4(0xf0)]+_0xb9d0b4(0xf1),'cleanTimeout':0x5265c00}};};
@@ -1 +1 @@
1
- function a1_0x3ffd(){var _0x4a2af4=['4960907gwqypW','4219340kDyrtW','5627448AXczPk','85227PGsFKW','968428nFjvCr','2115675NBIxjc','default','search','2QlVXcR','36lDHgSp','4361048FRhOsw','toString','44cNNEdt','constructor','(((.+)+)+)+$','apply'];a1_0x3ffd=function(){return _0x4a2af4;};return a1_0x3ffd();}var a1_0x2a5323=a1_0x7774;(function(_0x441a2,_0x4bb9c3){var _0x4e7676=a1_0x7774,_0x103d2b=_0x441a2();while(!![]){try{var _0x4755b5=-parseInt(_0x4e7676(0x1ed))/0x1*(-parseInt(_0x4e7676(0x1e9))/0x2)+parseInt(_0x4e7676(0x1e8))/0x3*(-parseInt(_0x4e7676(0x1f1))/0x4)+parseInt(_0x4e7676(0x1ea))/0x5+parseInt(_0x4e7676(0x1e7))/0x6+parseInt(_0x4e7676(0x1e5))/0x7+-parseInt(_0x4e7676(0x1ef))/0x8+parseInt(_0x4e7676(0x1ee))/0x9*(-parseInt(_0x4e7676(0x1e6))/0xa);if(_0x4755b5===_0x4bb9c3)break;else _0x103d2b['push'](_0x103d2b['shift']());}catch(_0x21f6aa){_0x103d2b['push'](_0x103d2b['shift']());}}}(a1_0x3ffd,0x78506));function a1_0x7774(_0x439888,_0x30d22e){var _0x1282a2=a1_0x3ffd();return a1_0x7774=function(_0x289200,_0x43579c){_0x289200=_0x289200-0x1e4;var _0x3ffda7=_0x1282a2[_0x289200];return _0x3ffda7;},a1_0x7774(_0x439888,_0x30d22e);}var a1_0x43579c=(function(){var _0x21648e=!![];return function(_0x4f25a4,_0x1a795b){var _0x16b2f9=_0x21648e?function(){var _0x172fe5=a1_0x7774;if(_0x1a795b){var _0x37053e=_0x1a795b[_0x172fe5(0x1e4)](_0x4f25a4,arguments);return _0x1a795b=null,_0x37053e;}}:function(){};return _0x21648e=![],_0x16b2f9;};}()),a1_0x289200=a1_0x43579c(this,function(){var _0x4eb231=a1_0x7774;return a1_0x289200['toString']()[_0x4eb231(0x1ec)](_0x4eb231(0x1f3))[_0x4eb231(0x1f0)]()[_0x4eb231(0x1f2)](a1_0x289200)['search'](_0x4eb231(0x1f3));});a1_0x289200();'use strict';Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a1_0x2a5323(0x1eb)]={'apitest':![],'anncicapi':{}};
1
+ var a1_0x1f9d53=a1_0x512d;(function(_0xbd053c,_0x3f526b){var _0x336657=a1_0x512d,_0x54c924=_0xbd053c();while(!![]){try{var _0x21a843=-parseInt(_0x336657(0x17a))/0x1*(parseInt(_0x336657(0x170))/0x2)+parseInt(_0x336657(0x17d))/0x3*(-parseInt(_0x336657(0x17c))/0x4)+parseInt(_0x336657(0x16f))/0x5+parseInt(_0x336657(0x179))/0x6+-parseInt(_0x336657(0x175))/0x7+-parseInt(_0x336657(0x16e))/0x8+parseInt(_0x336657(0x17b))/0x9;if(_0x21a843===_0x3f526b)break;else _0x54c924['push'](_0x54c924['shift']());}catch(_0x24e02a){_0x54c924['push'](_0x54c924['shift']());}}}(a1_0x51e9,0x6fa0e));var a1_0x5b448e=(function(){var _0x15f4b2=!![];return function(_0x2d05be,_0x23c74f){var _0x2daa90=_0x15f4b2?function(){var _0x5443b4=a1_0x512d;if(_0x23c74f){var _0x4fd2e2=_0x23c74f[_0x5443b4(0x176)](_0x2d05be,arguments);return _0x23c74f=null,_0x4fd2e2;}}:function(){};return _0x15f4b2=![],_0x2daa90;};}()),a1_0x41ae59=a1_0x5b448e(this,function(){var _0x22c53e=a1_0x512d;return a1_0x41ae59[_0x22c53e(0x172)]()['search']('(((.+)+)+)+$')[_0x22c53e(0x172)]()[_0x22c53e(0x177)](a1_0x41ae59)[_0x22c53e(0x17e)](_0x22c53e(0x174));});a1_0x41ae59();'use strict';function a1_0x51e9(){var _0x38df42=['toString','default','(((.+)+)+)+$','3315949dLrwGp','apply','constructor','__esModule','2623908LXlFDo','38SnWPwd','9749709tGCRHN','4oijVIg','2192316FNYyAU','search','543512GDohjC','2232075iYyISA','12494dCkkPF','defineProperty'];a1_0x51e9=function(){return _0x38df42;};return a1_0x51e9();}function a1_0x512d(_0x5c460e,_0x4e7502){var _0xa5e5aa=a1_0x51e9();return a1_0x512d=function(_0x41ae59,_0x5b448e){_0x41ae59=_0x41ae59-0x16e;var _0x51e9dd=_0xa5e5aa[_0x41ae59];return _0x51e9dd;},a1_0x512d(_0x5c460e,_0x4e7502);}Object[a1_0x1f9d53(0x171)](exports,a1_0x1f9d53(0x178),{'value':!![]}),exports[a1_0x1f9d53(0x173)]={'apitest':![],'anncicapi':{}};
@@ -1 +1 @@
1
- const a2_0x2718e8=a2_0x10f6;(function(_0x1045f6,_0x1daf64){const _0x4f64d6=a2_0x10f6,_0x4f20e7=_0x1045f6();while(!![]){try{const _0x8604bc=-parseInt(_0x4f64d6(0x15a))/0x1*(-parseInt(_0x4f64d6(0xe3))/0x2)+parseInt(_0x4f64d6(0x113))/0x3*(-parseInt(_0x4f64d6(0x123))/0x4)+-parseInt(_0x4f64d6(0xe4))/0x5+-parseInt(_0x4f64d6(0xf7))/0x6+parseInt(_0x4f64d6(0x154))/0x7*(parseInt(_0x4f64d6(0xf2))/0x8)+parseInt(_0x4f64d6(0x140))/0x9+parseInt(_0x4f64d6(0x109))/0xa*(parseInt(_0x4f64d6(0x13d))/0xb);if(_0x8604bc===_0x1daf64)break;else _0x4f20e7['push'](_0x4f20e7['shift']());}catch(_0x5f2388){_0x4f20e7['push'](_0x4f20e7['shift']());}}}(a2_0x3f9b,0x224e3));const a2_0x1e87e2=(function(){let _0x3b6b9d=!![];return function(_0x35bca3,_0x51fde7){const _0x46afb5=_0x3b6b9d?function(){const _0x3ad35e=a2_0x10f6;if(_0x51fde7){const _0x1718f7=_0x51fde7[_0x3ad35e(0xfb)](_0x35bca3,arguments);return _0x51fde7=null,_0x1718f7;}}:function(){};return _0x3b6b9d=![],_0x46afb5;};}()),a2_0x20545e=a2_0x1e87e2(this,function(){const _0x11c2e6=a2_0x10f6;return a2_0x20545e[_0x11c2e6(0x120)]()['search'](_0x11c2e6(0x129))[_0x11c2e6(0x120)]()[_0x11c2e6(0x135)](a2_0x20545e)['search'](_0x11c2e6(0x129));});a2_0x20545e();function a2_0x3f9b(){const _0x45b217=['@midwayjs/static-file','request','filterConfig','upload','method','386eoaPTH','getClassMetadata','args','@midwayjs/core','input','232rQugXw','846385TlQqoi','log','isClass','handlerActionRoute','undefined','MidwayApplicationManager','devices','@anncic-api/cache','decorator','object','midwayLogger','koa-send','dir','__esModule','145856dyhykD','@midwayjs/i18n','isDirectory','proceed','defineProperty','904926yqnrEC','./service/ApiService','decorate','registerMethodHandler','apply','defaultsDeep','Types','environment','statSync','checkConfigKeys','.log','/runtime','toLowerCase','@anncic-api/typeorm','./config/config.default','/apps','./types/intercept','design:type','21520XmvpEc','getApplications','HEADERS_SIGNATURE','CustomConfiguration','MidwayDecoratorService','anncic-apihelper','__metadata','isArray','isString','@anncic-api/validator','58755pQaJFZ','MidwayEnvironmentService','string','headers','./types/action','Inject','./config/config.production','@midwayjs/cross-domain','REQUEST_OBJ_CTX_KEY','anncicapi','mkdirSync','forEach','staticFile','toString','DEFAULT','body','52MLwcBf','context','query','ApiService','key','hanlderApplications','(((.+)+)+)+$','@anncic-api/core','@midwayjs/upload','isFunction','koa','getAsync','app','getAppDir','prototype','defineProperties','getConfiguration','_matchedRoute','constructor','config','get','handler','getBaseDir','keys','__decorate','loggerConfig','1727NHFkVP','clients','checksign','2172762jyNxvo','@midwayjs/koa','existsSync','getOwnPropertyDescriptor','tmpdir','length','/apps/','-log','@anncic-api/event','dirs','device','ApiError','match','application','isDevelopmentEnvironment','apimit','isNull','metadata','function','intercept','35vRkfnl'];a2_0x3f9b=function(){return _0x45b217;};return a2_0x3f9b();}'use strict';var __decorate=this&&this[a2_0x2718e8(0x13b)]||function(_0x2f7b8b,_0x57c3db,_0x41a33a,_0x18c55f){const _0x29daec=a2_0x2718e8;var _0x18c23a=arguments[_0x29daec(0x145)],_0xcd6e07=_0x18c23a<0x3?_0x57c3db:_0x18c55f===null?_0x18c55f=Object[_0x29daec(0x143)](_0x57c3db,_0x41a33a):_0x18c55f,_0x46c807;if(typeof Reflect===_0x29daec(0xed)&&typeof Reflect[_0x29daec(0xf9)]===_0x29daec(0x152))_0xcd6e07=Reflect[_0x29daec(0xf9)](_0x2f7b8b,_0x57c3db,_0x41a33a,_0x18c55f);else{for(var _0x3c829c=_0x2f7b8b[_0x29daec(0x145)]-0x1;_0x3c829c>=0x0;_0x3c829c--)if(_0x46c807=_0x2f7b8b[_0x3c829c])_0xcd6e07=(_0x18c23a<0x3?_0x46c807(_0xcd6e07):_0x18c23a>0x3?_0x46c807(_0x57c3db,_0x41a33a,_0xcd6e07):_0x46c807(_0x57c3db,_0x41a33a))||_0xcd6e07;}return _0x18c23a>0x3&&_0xcd6e07&&Object[_0x29daec(0xf6)](_0x57c3db,_0x41a33a,_0xcd6e07),_0xcd6e07;},__metadata=this&&this[a2_0x2718e8(0x10f)]||function(_0x1c5988,_0x52af8a){if(typeof Reflect==='object'&&typeof Reflect['metadata']==='function')return Reflect['metadata'](_0x1c5988,_0x52af8a);};function a2_0x10f6(_0x483a1a,_0x23ce50){const _0x398459=a2_0x3f9b();return a2_0x10f6=function(_0x20545e,_0x1e87e2){_0x20545e=_0x20545e-0xe3;let _0x3f9b3b=_0x398459[_0x20545e];return _0x3f9b3b;},a2_0x10f6(_0x483a1a,_0x23ce50);}Object['defineProperty'](exports,a2_0x2718e8(0xf1),{'value':!![]}),exports['CustomConfiguration']=void 0x0;const core_1=require(a2_0x2718e8(0x15d)),core_2=require(a2_0x2718e8(0x15d)),ApiError_1=require('./exception/ApiError'),ApiService_1=require(a2_0x2718e8(0xf8)),action_1=require(a2_0x2718e8(0x117)),intercept_1=require(a2_0x2718e8(0x107)),fs=require('fs'),koasend=require(a2_0x2718e8(0xef)),koa=require(a2_0x2718e8(0x141)),i18n=require(a2_0x2718e8(0xf3)),upload=require(a2_0x2718e8(0x12b)),staticFile=require(a2_0x2718e8(0x155)),crossDomain=require(a2_0x2718e8(0x11a)),ConfigDefault=require(a2_0x2718e8(0x105)),ConfigProduction=require(a2_0x2718e8(0x119)),anncic=require(a2_0x2718e8(0x12a)),anncicCache=require(a2_0x2718e8(0xeb)),anncicEvent=require(a2_0x2718e8(0x148)),anncicTypeorm=require(a2_0x2718e8(0x104)),anncicValidator=require(a2_0x2718e8(0x112)),anncicHelper=require(a2_0x2718e8(0x10e));let CustomConfiguration=class CustomConfiguration{async['onReady'](){const _0x20ac29=a2_0x2718e8;await this[_0x20ac29(0x157)](),await this[_0x20ac29(0x13c)](),await this[_0x20ac29(0x100)](),await this[_0x20ac29(0xe7)](),await this['hanlderApplications']();}async['checkConfigKeys'](){}async[a2_0x2718e8(0xe7)](){const _0x42b057=a2_0x2718e8,_0x65be13=(0x0,core_1[_0x42b057(0x15b)])(intercept_1['INTERCEPT_KEY'],intercept_1['InterceptTargetTmp'])||{};this[_0x42b057(0xec)][_0x42b057(0xfa)](action_1['ACTION_ROUTE_KEY'],_0x2324c5=>{const _0x1db92f=_0x42b057,_0x28bd8d=_0x2324c5[_0x1db92f(0x151)];return{'before':async _0xe34476=>{const _0x950a80=_0x1db92f;var _0x53161d,_0x4208bb;const _0xe80849=(_0x53161d=_0xe34476===null||_0xe34476===void 0x0?void 0x0:_0xe34476['target'])===null||_0x53161d===void 0x0?void 0x0:_0x53161d[core_2[_0x950a80(0x11b)]];if(_0xe80849&&(_0x28bd8d===null||_0x28bd8d===void 0x0?void 0x0:_0x28bd8d[_0x950a80(0x14f)])){if(!this[_0x950a80(0x126)][_0x950a80(0x13f)]((_0x4208bb=_0xe80849===null||_0xe80849===void 0x0?void 0x0:_0xe80849[_0x950a80(0x156)])===null||_0x4208bb===void 0x0?void 0x0:_0x4208bb[_0x950a80(0x116)]))throw new AnnError(ApiError_1[_0x950a80(0x14b)][_0x950a80(0x10b)]);}},'around':async _0x54e72f=>{const _0xa7ed84=_0x1db92f;var _0x3a7dda,_0x38e7f7,_0x2b39ec;const _0x2e4242=(_0x3a7dda=_0x54e72f===null||_0x54e72f===void 0x0?void 0x0:_0x54e72f['target'])===null||_0x3a7dda===void 0x0?void 0x0:_0x3a7dda[core_2[_0xa7ed84(0x11b)]];if(_0x2e4242&&(_0x28bd8d===null||_0x28bd8d===void 0x0?void 0x0:_0x28bd8d['apimit'])&&((_0x28bd8d===null||_0x28bd8d===void 0x0?void 0x0:_0x28bd8d[_0xa7ed84(0x153)])||typeof(_0x28bd8d===null||_0x28bd8d===void 0x0?void 0x0:_0x28bd8d[_0xa7ed84(0x153)])==_0xa7ed84(0xe8))){if(((_0x38e7f7=_0x2e4242[_0xa7ed84(0x116)])===null||_0x38e7f7===void 0x0?void 0x0:_0x38e7f7['device'])&&((_0x2b39ec=_0x65be13===null||_0x65be13===void 0x0?void 0x0:_0x65be13[_0x2e4242[_0xa7ed84(0x116)][_0xa7ed84(0x14a)]])===null||_0x2b39ec===void 0x0?void 0x0:_0x2b39ec[_0xa7ed84(0x145)])>0x0)for(const _0x2d3493 of _0x65be13[_0x2e4242[_0xa7ed84(0x116)]['device']]||[]){if(core_1[_0xa7ed84(0xfd)][_0xa7ed84(0xe6)](_0x2d3493)){const _0x137ac1=await _0x2e4242['requestContext'][_0xa7ed84(0x12e)](_0x2d3493);typeof(_0x137ac1===null||_0x137ac1===void 0x0?void 0x0:_0x137ac1[_0xa7ed84(0x14c)])=='function'?await _0x137ac1[_0xa7ed84(0x14c)](_0x2e4242,typeof(_0x2e4242===null||_0x2e4242===void 0x0?void 0x0:_0x2e4242['method'])==_0xa7ed84(0x115)&&(_0x2e4242===null||_0x2e4242===void 0x0?void 0x0:_0x2e4242[_0xa7ed84(0x134)])?_0x2e4242['method']['toLowerCase']()+'@'+(_0x2e4242===null||_0x2e4242===void 0x0?void 0x0:_0x2e4242[_0xa7ed84(0x134)]):undefined,_0x28bd8d)&&await _0x137ac1['handler'](_0x2e4242,typeof(_0x2e4242===null||_0x2e4242===void 0x0?void 0x0:_0x2e4242[_0xa7ed84(0x159)])==_0xa7ed84(0x115)&&(_0x2e4242===null||_0x2e4242===void 0x0?void 0x0:_0x2e4242[_0xa7ed84(0x134)])?_0x2e4242[_0xa7ed84(0x159)][_0xa7ed84(0x103)]()+'@'+(_0x2e4242===null||_0x2e4242===void 0x0?void 0x0:_0x2e4242['_matchedRoute']):undefined,_0x28bd8d):await _0x137ac1[_0xa7ed84(0x138)](_0x2e4242,typeof(_0x2e4242===null||_0x2e4242===void 0x0?void 0x0:_0x2e4242[_0xa7ed84(0x159)])==_0xa7ed84(0x115)&&(_0x2e4242===null||_0x2e4242===void 0x0?void 0x0:_0x2e4242[_0xa7ed84(0x134)])?_0x2e4242[_0xa7ed84(0x159)]['toLowerCase']()+'@'+(_0x2e4242===null||_0x2e4242===void 0x0?void 0x0:_0x2e4242[_0xa7ed84(0x134)]):undefined,_0x28bd8d);}else core_1['Types'][_0xa7ed84(0x12c)](_0x2d3493)&&await _0x2d3493(_0x2e4242,typeof(_0x2e4242===null||_0x2e4242===void 0x0?void 0x0:_0x2e4242[_0xa7ed84(0x159)])==_0xa7ed84(0x115)&&(_0x2e4242===null||_0x2e4242===void 0x0?void 0x0:_0x2e4242[_0xa7ed84(0x134)])?_0x2e4242[_0xa7ed84(0x159)][_0xa7ed84(0x103)]()+'@'+(_0x2e4242===null||_0x2e4242===void 0x0?void 0x0:_0x2e4242['_matchedRoute']):undefined,_0x28bd8d);}}return await _0x54e72f[_0xa7ed84(0xf5)](..._0x54e72f[_0xa7ed84(0x15c)]);},'afterThrow':(_0x278d0a,_0x49da19)=>{throw _0x49da19;}};});}async[a2_0x2718e8(0x128)](){const _0x3a447c=a2_0x2718e8;this[_0x3a447c(0x14d)][_0x3a447c(0x10a)]([_0x3a447c(0x12d)])[_0x3a447c(0x11e)](_0x517f93=>{const _0x5e010f=_0x3a447c;(_0x517f93===null||_0x517f93===void 0x0?void 0x0:_0x517f93['context'])&&Object[_0x5e010f(0x132)](_0x517f93[_0x5e010f(0x124)],{'ok':{'value':function(_0x18cb20,_0x4d9cb8,_0x2e43a0=0x0){return{'code':_0x2e43a0,'data':_0x18cb20,'extra':_0x4d9cb8};}},'input':{'value':function(_0x3c1e43,_0x34e254){const _0x657e09=_0x5e010f;var _0x2621bf;const _0xae0232=lodash[_0x657e09(0xfc)]({},this[_0x657e09(0x156)][_0x657e09(0x122)]||this[_0x657e09(0x156)][((_0x2621bf=config===null||config===void 0x0?void 0x0:config['bodyXml'])===null||_0x2621bf===void 0x0?void 0x0:_0x2621bf[_0x657e09(0x127)])||_0x657e09(0x122)]||{},this[_0x657e09(0x156)][_0x657e09(0x125)]||{});return _0x3c1e43?lodash[_0x657e09(0x137)](_0xae0232,_0x3c1e43,_0x34e254):_0xae0232;}},'when':{'value':async function(_0x5dd5b8,_0x3b0b7c){const _0x342ec7=_0x5e010f,_0x4b6033=this[_0x342ec7(0x15e)](_0x5dd5b8,null);if(!lodash[_0x342ec7(0x150)](_0x4b6033))return await _0x3b0b7c(_0x4b6033);}},'only':{'value':function(_0x561942){const _0x5a018d=_0x5e010f,_0x494a62={};for(let _0x15b39a=0x0;_0x15b39a<_0x561942['length'];_0x15b39a++){lodash[_0x5a018d(0x110)](_0x561942[_0x15b39a])&&_0x561942[_0x15b39a][_0x5a018d(0x145)]>0x0&&lodash[_0x5a018d(0x111)](_0x561942[_0x15b39a][0x0])&&(_0x494a62[_0x561942[_0x15b39a][0x0]]=this[_0x5a018d(0x15e)](_0x561942[_0x15b39a][0x0],_0x561942[_0x15b39a][_0x5a018d(0x145)]>0x1?_0x561942[_0x15b39a][0x1]:null));}return _0x494a62;}},'koasend':{'value':function(_0x1e0fbc,_0x567942){const _0x57eb73=_0x5e010f;if(!fs['existsSync'](this[_0x57eb73(0x12f)][_0x57eb73(0x130)]()+'/'+_0x1e0fbc))return'文件不存在';return this['attachment'](_0x567942||_0x1e0fbc),koasend(this,_0x1e0fbc);}}});});}async[a2_0x2718e8(0x13c)](){const _0x48faf0=a2_0x2718e8;var _0x21e654,_0x3db9c8;if(fs['existsSync'](this['app'][_0x48faf0(0x139)]()+_0x48faf0(0x106))&&fs[_0x48faf0(0xff)](this[_0x48faf0(0x12f)][_0x48faf0(0x139)]()+_0x48faf0(0x106))['isDirectory']()){const _0x5065e1=this[_0x48faf0(0x136)][_0x48faf0(0x133)](),_0x585489=((_0x21e654=_0x5065e1===null||_0x5065e1===void 0x0?void 0x0:_0x5065e1[_0x48faf0(0xee)])===null||_0x21e654===void 0x0?void 0x0:_0x21e654[_0x48faf0(0x13e)])||{};for(const _0x4053e5 of fs['readdirSync'](this[_0x48faf0(0x12f)][_0x48faf0(0x139)]()+_0x48faf0(0x106))){if(!fs[_0x48faf0(0xff)](this[_0x48faf0(0x12f)][_0x48faf0(0x139)]()+_0x48faf0(0x146)+_0x4053e5)[_0x48faf0(0xf4)]())continue;if(_0x585489===null||_0x585489===void 0x0?void 0x0:_0x585489[_0x4053e5])continue;_0x585489[_0x4053e5]=Object['assign']({},((_0x3db9c8=_0x5065e1===null||_0x5065e1===void 0x0?void 0x0:_0x5065e1[_0x48faf0(0xee)])===null||_0x3db9c8===void 0x0?void 0x0:_0x3db9c8['default'])||{'maxSize':'1m','dir':this[_0x48faf0(0x12f)][_0x48faf0(0x130)]()+_0x48faf0(0x102)},{'enableJSON':!![],'enableConsole':this[_0x48faf0(0xfe)][_0x48faf0(0x14e)](),'fileLogName':_0x4053e5+_0x48faf0(0x101),'dir':this[_0x48faf0(0x12f)]['getAppDir']()+'/runtime/apps-'+_0x4053e5+_0x48faf0(0x147)});}Object[_0x48faf0(0x13a)](_0x585489)[_0x48faf0(0x145)]>0x0&&(!_0x5065e1[_0x48faf0(0xee)]&&(_0x5065e1[_0x48faf0(0xee)]={'default':{'maxSize':'1m','dir':this[_0x48faf0(0x12f)][_0x48faf0(0x130)]()+_0x48faf0(0x102)}}),_0x5065e1[_0x48faf0(0xee)]['clients']=_0x585489),this['config']['addObject'](_0x5065e1);}}async[a2_0x2718e8(0x157)](){const _0x3b21b7=a2_0x2718e8;var _0x2aa716,_0x31eea2,_0xf0f6c6,_0x324950,_0x26532b,_0x42766b;const _0x118bda=this[_0x3b21b7(0x136)][_0x3b21b7(0x133)]();((_0x31eea2=(_0x2aa716=_0x118bda===null||_0x118bda===void 0x0?void 0x0:_0x118bda[_0x3b21b7(0x11c)])===null||_0x2aa716===void 0x0?void 0x0:_0x2aa716[_0x3b21b7(0xea)])===null||_0x31eea2===void 0x0?void 0x0:_0x31eea2[_0x3b21b7(0x121)])&&Object[_0x3b21b7(0x13a)](_0x118bda['anncicapi'][_0x3b21b7(0xea)])[_0x3b21b7(0x145)]>0x1&&delete _0x118bda[_0x3b21b7(0x11c)][_0x3b21b7(0xea)][_0x3b21b7(0x121)];if((_0xf0f6c6=_0x118bda===null||_0x118bda===void 0x0?void 0x0:_0x118bda[_0x3b21b7(0x11f)])===null||_0xf0f6c6===void 0x0?void 0x0:_0xf0f6c6[_0x3b21b7(0x149)])for(const _0x3e9786 in _0x118bda[_0x3b21b7(0x11f)][_0x3b21b7(0x149)]){((_0x324950=_0x118bda[_0x3b21b7(0x11f)][_0x3b21b7(0x149)][_0x3e9786])===null||_0x324950===void 0x0?void 0x0:_0x324950[_0x3b21b7(0xf0)])&&typeof((_0x26532b=_0x118bda[_0x3b21b7(0x11f)]['dirs'][_0x3e9786])===null||_0x26532b===void 0x0?void 0x0:_0x26532b['dir'])==_0x3b21b7(0x115)&&!fs[_0x3b21b7(0x142)](_0x118bda[_0x3b21b7(0x11f)][_0x3b21b7(0x149)][_0x3e9786][_0x3b21b7(0xf0)])&&(fs[_0x3b21b7(0x11d)](_0x118bda[_0x3b21b7(0x11f)][_0x3b21b7(0x149)][_0x3e9786][_0x3b21b7(0xf0)],{'recursive':!![]}),console[_0x3b21b7(0xe5)]('Anncic-api\x20static-file\x20:\x20mkdir\x20'+_0x118bda[_0x3b21b7(0x11f)][_0x3b21b7(0x149)][_0x3e9786][_0x3b21b7(0xf0)]));}((_0x42766b=_0x118bda===null||_0x118bda===void 0x0?void 0x0:_0x118bda['upload'])===null||_0x42766b===void 0x0?void 0x0:_0x42766b['tmpdir'])&&!fs['existsSync'](_0x118bda['upload'][_0x3b21b7(0x144)])&&(fs['mkdirSync'](_0x118bda['upload'][_0x3b21b7(0x144)],{'recursive':!![]}),console[_0x3b21b7(0xe5)]('Anncic-api\x20upload-tmpdir\x20:\x20mkdir\x20'+_0x118bda[_0x3b21b7(0x158)][_0x3b21b7(0x144)])),this[_0x3b21b7(0x136)]['addObject'](_0x118bda);}};__decorate([(0x0,core_1['App'])(),__metadata(a2_0x2718e8(0x108),Object)],CustomConfiguration[a2_0x2718e8(0x131)],a2_0x2718e8(0x12f),void 0x0),__decorate([(0x0,core_1[a2_0x2718e8(0x118)])(),__metadata(a2_0x2718e8(0x108),core_2['MidwayConfigService'])],CustomConfiguration['prototype'],a2_0x2718e8(0x136),void 0x0),__decorate([(0x0,core_1[a2_0x2718e8(0x118)])(),__metadata('design:type',core_2[a2_0x2718e8(0x10d)])],CustomConfiguration['prototype'],a2_0x2718e8(0xec),void 0x0),__decorate([(0x0,core_1['Inject'])(),__metadata(a2_0x2718e8(0x108),core_2[a2_0x2718e8(0xe9)])],CustomConfiguration['prototype'],a2_0x2718e8(0x14d),void 0x0),__decorate([(0x0,core_1[a2_0x2718e8(0x118)])(),__metadata(a2_0x2718e8(0x108),core_2[a2_0x2718e8(0x114)])],CustomConfiguration[a2_0x2718e8(0x131)],'environment',void 0x0),__decorate([(0x0,core_1[a2_0x2718e8(0x118)])(),__metadata(a2_0x2718e8(0x108),ApiService_1[a2_0x2718e8(0x126)])],CustomConfiguration['prototype'],a2_0x2718e8(0x126),void 0x0),CustomConfiguration=__decorate([(0x0,core_1['Configuration'])({'imports':[koa,i18n,upload,staticFile,crossDomain,anncic,anncicCache,anncicEvent,anncicTypeorm,anncicValidator,anncicHelper],'namespace':'anncic-api','conflictCheck':![],'importConfigs':[{'default':ConfigDefault,'production':ConfigProduction}]})],CustomConfiguration),exports[a2_0x2718e8(0x10c)]=CustomConfiguration;
1
+ const a2_0x4fd92f=a2_0x45ef;function a2_0x45ef(_0x22e08f,_0x2429a6){const _0x284144=a2_0x4f4e();return a2_0x45ef=function(_0x2be2d0,_0x59cbbf){_0x2be2d0=_0x2be2d0-0x1c2;let _0x4f4e68=_0x284144[_0x2be2d0];return _0x4f4e68;},a2_0x45ef(_0x22e08f,_0x2429a6);}function a2_0x4f4e(){const _0x165ccd=['koa-send','handler','anncic-api','length','./config/config.production','registerMethodHandler','文件不存在','758720dKQmus','toLowerCase','log','(((.+)+)+)+$','DEFAULT','filterConfig','requestContext','statSync','getClassMetadata','./exception/ApiError','@midwayjs/cross-domain','isClass','isString','1379975JPeUWk','onReady','koa','__decorate','App','INTERCEPT_KEY','get','checksign','search','input','application','955734vdiGUy','prototype','14snAgPE','Inject','defaultsDeep','keys','assign','-log','proceed','.log','query','design:type','@midwayjs/core','MidwayApplicationManager','getOwnPropertyDescriptor','decorator','getBaseDir','@anncic-api/event','__esModule','@anncic-api/typeorm','MidwayEnvironmentService','request','@midwayjs/i18n','@anncic-api/core','handlerActionRoute','./types/action','dirs','@midwayjs/static-file','checkConfigKeys','decorate','object','headers','CustomConfiguration','app','defineProperty','apimit','1585998oMgNWZ','function','intercept','Configuration','isDevelopmentEnvironment','devices','body','__metadata','upload','278184oCsCYG','isDirectory','hanlderApplications','environment','match','Anncic-api\x20static-file\x20:\x20mkdir\x20','string','anncic-apihelper','40HsOlKr','ACTION_ROUTE_KEY','target','bodyXml','addObject','/runtime','tmpdir','MidwayConfigService','isNull','@midwayjs/koa','getAsync','dir','clients','metadata','@midwayjs/upload','ApiService','1507792olStvA','getAppDir','existsSync','loggerConfig','getConfiguration','/apps','Types','midwayLogger','REQUEST_OBJ_CTX_KEY','constructor','_matchedRoute','31824120RHHTNf','./service/ApiService','MidwayDecoratorService','undefined','toString','staticFile','isFunction','method','./types/intercept','/runtime/apps-','config','ApiError','context','36aoGRxZ'];a2_0x4f4e=function(){return _0x165ccd;};return a2_0x4f4e();}(function(_0x2fd91d,_0x24df4d){const _0x2c3bf8=a2_0x45ef,_0x2087cb=_0x2fd91d();while(!![]){try{const _0x5f4d10=parseInt(_0x2c3bf8(0x1ea))/0x1+parseInt(_0x2c3bf8(0x22f))/0x2*(-parseInt(_0x2c3bf8(0x1e2))/0x3)+-parseInt(_0x2c3bf8(0x1ca))/0x4+parseInt(_0x2c3bf8(0x1f7))/0x5+parseInt(_0x2c3bf8(0x202))/0x6*(-parseInt(_0x2c3bf8(0x204))/0x7)+-parseInt(_0x2c3bf8(0x237))/0x8*(parseInt(_0x2c3bf8(0x226))/0x9)+parseInt(_0x2c3bf8(0x1d5))/0xa;if(_0x5f4d10===_0x24df4d)break;else _0x2087cb['push'](_0x2087cb['shift']());}catch(_0x329244){_0x2087cb['push'](_0x2087cb['shift']());}}}(a2_0x4f4e,0xed27b));const a2_0x59cbbf=(function(){let _0x4f1be4=!![];return function(_0x539b6b,_0x47f807){const _0x2ea9e1=_0x4f1be4?function(){if(_0x47f807){const _0x4a3130=_0x47f807['apply'](_0x539b6b,arguments);return _0x47f807=null,_0x4a3130;}}:function(){};return _0x4f1be4=![],_0x2ea9e1;};}()),a2_0x2be2d0=a2_0x59cbbf(this,function(){const _0x216005=a2_0x45ef;return a2_0x2be2d0[_0x216005(0x1d9)]()[_0x216005(0x1ff)](_0x216005(0x1ed))[_0x216005(0x1d9)]()[_0x216005(0x1d3)](a2_0x2be2d0)['search'](_0x216005(0x1ed));});a2_0x2be2d0();'use strict';var __decorate=this&&this[a2_0x4fd92f(0x1fa)]||function(_0x3e55b6,_0x330d30,_0x133750,_0x93e78a){const _0x4268fb=a2_0x4fd92f;var _0x4bbd07=arguments[_0x4268fb(0x1e6)],_0x444349=_0x4bbd07<0x3?_0x330d30:_0x93e78a===null?_0x93e78a=Object[_0x4268fb(0x210)](_0x330d30,_0x133750):_0x93e78a,_0x167393;if(typeof Reflect===_0x4268fb(0x220)&&typeof Reflect['decorate']===_0x4268fb(0x227))_0x444349=Reflect[_0x4268fb(0x21f)](_0x3e55b6,_0x330d30,_0x133750,_0x93e78a);else{for(var _0x4948c9=_0x3e55b6[_0x4268fb(0x1e6)]-0x1;_0x4948c9>=0x0;_0x4948c9--)if(_0x167393=_0x3e55b6[_0x4948c9])_0x444349=(_0x4bbd07<0x3?_0x167393(_0x444349):_0x4bbd07>0x3?_0x167393(_0x330d30,_0x133750,_0x444349):_0x167393(_0x330d30,_0x133750))||_0x444349;}return _0x4bbd07>0x3&&_0x444349&&Object['defineProperty'](_0x330d30,_0x133750,_0x444349),_0x444349;},__metadata=this&&this[a2_0x4fd92f(0x22d)]||function(_0x217ab4,_0xddbdb4){const _0x1804cf=a2_0x4fd92f;if(typeof Reflect===_0x1804cf(0x220)&&typeof Reflect['metadata']===_0x1804cf(0x227))return Reflect[_0x1804cf(0x1c7)](_0x217ab4,_0xddbdb4);};Object[a2_0x4fd92f(0x224)](exports,a2_0x4fd92f(0x214),{'value':!![]}),exports[a2_0x4fd92f(0x222)]=void 0x0;const core_1=require(a2_0x4fd92f(0x20e)),core_2=require('@midwayjs/core'),ApiError_1=require(a2_0x4fd92f(0x1f3)),ApiService_1=require(a2_0x4fd92f(0x1d6)),action_1=require(a2_0x4fd92f(0x21b)),intercept_1=require(a2_0x4fd92f(0x1dd)),fs=require('fs'),koasend=require(a2_0x4fd92f(0x1e3)),koa=require(a2_0x4fd92f(0x1c3)),i18n=require(a2_0x4fd92f(0x218)),upload=require(a2_0x4fd92f(0x1c8)),staticFile=require(a2_0x4fd92f(0x21d)),crossDomain=require(a2_0x4fd92f(0x1f4)),ConfigDefault=require('./config/config.default'),ConfigProduction=require(a2_0x4fd92f(0x1e7)),anncic=require(a2_0x4fd92f(0x219)),anncicCache=require('@anncic-api/cache'),anncicEvent=require(a2_0x4fd92f(0x213)),anncicTypeorm=require(a2_0x4fd92f(0x215)),anncicValidator=require('@anncic-api/validator'),anncicHelper=require(a2_0x4fd92f(0x236));let CustomConfiguration=class CustomConfiguration{async[a2_0x4fd92f(0x1f8)](){const _0x14b125=a2_0x4fd92f;await this[_0x14b125(0x1ef)](),await this[_0x14b125(0x1cd)](),await this[_0x14b125(0x21e)](),await this[_0x14b125(0x21a)](),await this[_0x14b125(0x231)]();}async[a2_0x4fd92f(0x21e)](){}async['handlerActionRoute'](){const _0x451d03=a2_0x4fd92f,_0x556b69=(0x0,core_1[_0x451d03(0x1f2)])(intercept_1[_0x451d03(0x1fc)],intercept_1['InterceptTargetTmp'])||{};this[_0x451d03(0x211)][_0x451d03(0x1e8)](action_1[_0x451d03(0x238)],_0x31e3c3=>{const _0x5c46fc=_0x451d03,_0x2b74d9=_0x31e3c3[_0x5c46fc(0x1c7)];return{'before':async _0x5d21d0=>{const _0x3c5b07=_0x5c46fc;var _0x57ea82,_0xae98b9;const _0x26ac9d=(_0x57ea82=_0x5d21d0===null||_0x5d21d0===void 0x0?void 0x0:_0x5d21d0[_0x3c5b07(0x239)])===null||_0x57ea82===void 0x0?void 0x0:_0x57ea82[core_2[_0x3c5b07(0x1d2)]];if(_0x26ac9d&&(_0x2b74d9===null||_0x2b74d9===void 0x0?void 0x0:_0x2b74d9[_0x3c5b07(0x225)])){if(!this[_0x3c5b07(0x1c9)][_0x3c5b07(0x1fe)]((_0xae98b9=_0x26ac9d===null||_0x26ac9d===void 0x0?void 0x0:_0x26ac9d[_0x3c5b07(0x217)])===null||_0xae98b9===void 0x0?void 0x0:_0xae98b9[_0x3c5b07(0x221)]))throw new AnnError(ApiError_1[_0x3c5b07(0x1e0)]['HEADERS_SIGNATURE']);}},'around':async _0x43b93a=>{const _0x164459=_0x5c46fc;var _0x390f29,_0x109fe6,_0x1271af;const _0x4b50d8=(_0x390f29=_0x43b93a===null||_0x43b93a===void 0x0?void 0x0:_0x43b93a[_0x164459(0x239)])===null||_0x390f29===void 0x0?void 0x0:_0x390f29[core_2[_0x164459(0x1d2)]];if(_0x4b50d8&&(_0x2b74d9===null||_0x2b74d9===void 0x0?void 0x0:_0x2b74d9[_0x164459(0x225)])&&((_0x2b74d9===null||_0x2b74d9===void 0x0?void 0x0:_0x2b74d9['intercept'])||typeof(_0x2b74d9===null||_0x2b74d9===void 0x0?void 0x0:_0x2b74d9[_0x164459(0x228)])==_0x164459(0x1d8))){if(((_0x109fe6=_0x4b50d8[_0x164459(0x221)])===null||_0x109fe6===void 0x0?void 0x0:_0x109fe6['device'])&&((_0x1271af=_0x556b69===null||_0x556b69===void 0x0?void 0x0:_0x556b69[_0x4b50d8[_0x164459(0x221)]['device']])===null||_0x1271af===void 0x0?void 0x0:_0x1271af[_0x164459(0x1e6)])>0x0)for(const _0x24fac9 of _0x556b69[_0x4b50d8[_0x164459(0x221)]['device']]||[]){if(core_1[_0x164459(0x1d0)][_0x164459(0x1f5)](_0x24fac9)){const _0x1c93f8=await _0x4b50d8[_0x164459(0x1f0)][_0x164459(0x1c4)](_0x24fac9);typeof(_0x1c93f8===null||_0x1c93f8===void 0x0?void 0x0:_0x1c93f8['match'])=='function'?await _0x1c93f8[_0x164459(0x233)](_0x4b50d8,typeof(_0x4b50d8===null||_0x4b50d8===void 0x0?void 0x0:_0x4b50d8[_0x164459(0x1dc)])=='string'&&(_0x4b50d8===null||_0x4b50d8===void 0x0?void 0x0:_0x4b50d8[_0x164459(0x1d4)])?_0x4b50d8[_0x164459(0x1dc)]['toLowerCase']()+'@'+(_0x4b50d8===null||_0x4b50d8===void 0x0?void 0x0:_0x4b50d8[_0x164459(0x1d4)]):undefined,_0x2b74d9)&&await _0x1c93f8['handler'](_0x4b50d8,typeof(_0x4b50d8===null||_0x4b50d8===void 0x0?void 0x0:_0x4b50d8[_0x164459(0x1dc)])==_0x164459(0x235)&&(_0x4b50d8===null||_0x4b50d8===void 0x0?void 0x0:_0x4b50d8[_0x164459(0x1d4)])?_0x4b50d8['method']['toLowerCase']()+'@'+(_0x4b50d8===null||_0x4b50d8===void 0x0?void 0x0:_0x4b50d8[_0x164459(0x1d4)]):undefined,_0x2b74d9):await _0x1c93f8[_0x164459(0x1e4)](_0x4b50d8,typeof(_0x4b50d8===null||_0x4b50d8===void 0x0?void 0x0:_0x4b50d8[_0x164459(0x1dc)])==_0x164459(0x235)&&(_0x4b50d8===null||_0x4b50d8===void 0x0?void 0x0:_0x4b50d8[_0x164459(0x1d4)])?_0x4b50d8[_0x164459(0x1dc)][_0x164459(0x1eb)]()+'@'+(_0x4b50d8===null||_0x4b50d8===void 0x0?void 0x0:_0x4b50d8[_0x164459(0x1d4)]):undefined,_0x2b74d9);}else core_1['Types'][_0x164459(0x1db)](_0x24fac9)&&await _0x24fac9(_0x4b50d8,typeof(_0x4b50d8===null||_0x4b50d8===void 0x0?void 0x0:_0x4b50d8[_0x164459(0x1dc)])==_0x164459(0x235)&&(_0x4b50d8===null||_0x4b50d8===void 0x0?void 0x0:_0x4b50d8[_0x164459(0x1d4)])?_0x4b50d8[_0x164459(0x1dc)][_0x164459(0x1eb)]()+'@'+(_0x4b50d8===null||_0x4b50d8===void 0x0?void 0x0:_0x4b50d8[_0x164459(0x1d4)]):undefined,_0x2b74d9);}}return await _0x43b93a[_0x164459(0x20a)](..._0x43b93a['args']);},'afterThrow':(_0x23d3ad,_0x2f7cad)=>{throw _0x2f7cad;}};});}async[a2_0x4fd92f(0x231)](){const _0x2fbdfe=a2_0x4fd92f;this[_0x2fbdfe(0x201)]['getApplications']([_0x2fbdfe(0x1f9)])['forEach'](_0x1e8e87=>{const _0x2a31a1=_0x2fbdfe;(_0x1e8e87===null||_0x1e8e87===void 0x0?void 0x0:_0x1e8e87[_0x2a31a1(0x1e1)])&&Object['defineProperties'](_0x1e8e87[_0x2a31a1(0x1e1)],{'ok':{'value':function(_0x519732,_0x3863a0,_0x440b37=0x0){return{'code':_0x440b37,'data':_0x519732,'extra':_0x3863a0};}},'input':{'value':function(_0x33368e,_0x513c5a){const _0x43e3d7=_0x2a31a1;var _0x13bd36;const _0x4b1684=lodash[_0x43e3d7(0x206)]({},this[_0x43e3d7(0x217)][_0x43e3d7(0x22c)]||this[_0x43e3d7(0x217)][((_0x13bd36=config===null||config===void 0x0?void 0x0:config[_0x43e3d7(0x23a)])===null||_0x13bd36===void 0x0?void 0x0:_0x13bd36['key'])||'body']||{},this[_0x43e3d7(0x217)][_0x43e3d7(0x20c)]||{});return _0x33368e?lodash[_0x43e3d7(0x1fd)](_0x4b1684,_0x33368e,_0x513c5a):_0x4b1684;}},'when':{'value':async function(_0x18d290,_0x1725fe){const _0x33fc1a=_0x2a31a1,_0x226c10=this[_0x33fc1a(0x200)](_0x18d290,null);if(!lodash[_0x33fc1a(0x1c2)](_0x226c10))return await _0x1725fe(_0x226c10);}},'only':{'value':function(_0x187340){const _0x380b6e=_0x2a31a1,_0x329095={};for(let _0xbebc10=0x0;_0xbebc10<_0x187340[_0x380b6e(0x1e6)];_0xbebc10++){lodash['isArray'](_0x187340[_0xbebc10])&&_0x187340[_0xbebc10]['length']>0x0&&lodash[_0x380b6e(0x1f6)](_0x187340[_0xbebc10][0x0])&&(_0x329095[_0x187340[_0xbebc10][0x0]]=this[_0x380b6e(0x200)](_0x187340[_0xbebc10][0x0],_0x187340[_0xbebc10][_0x380b6e(0x1e6)]>0x1?_0x187340[_0xbebc10][0x1]:null));}return _0x329095;}},'koasend':{'value':function(_0x2a62fc,_0x507b1b){const _0x3f219b=_0x2a31a1;if(!fs[_0x3f219b(0x1cc)](this[_0x3f219b(0x223)][_0x3f219b(0x1cb)]()+'/'+_0x2a62fc))return _0x3f219b(0x1e9);return this['attachment'](_0x507b1b||_0x2a62fc),koasend(this,_0x2a62fc);}}});});}async[a2_0x4fd92f(0x1cd)](){const _0x57dce6=a2_0x4fd92f;var _0x3b3dd5,_0x465d87;if(fs[_0x57dce6(0x1cc)](this[_0x57dce6(0x223)][_0x57dce6(0x212)]()+_0x57dce6(0x1cf))&&fs[_0x57dce6(0x1f1)](this['app'][_0x57dce6(0x212)]()+_0x57dce6(0x1cf))[_0x57dce6(0x230)]()){const _0x5d5361=this['config'][_0x57dce6(0x1ce)](),_0x4e92aa=((_0x3b3dd5=_0x5d5361===null||_0x5d5361===void 0x0?void 0x0:_0x5d5361['midwayLogger'])===null||_0x3b3dd5===void 0x0?void 0x0:_0x3b3dd5[_0x57dce6(0x1c6)])||{};for(const _0x122444 of fs['readdirSync'](this[_0x57dce6(0x223)][_0x57dce6(0x212)]()+_0x57dce6(0x1cf))){if(!fs['statSync'](this[_0x57dce6(0x223)][_0x57dce6(0x212)]()+'/apps/'+_0x122444)[_0x57dce6(0x230)]())continue;if(_0x4e92aa===null||_0x4e92aa===void 0x0?void 0x0:_0x4e92aa[_0x122444])continue;_0x4e92aa[_0x122444]=Object[_0x57dce6(0x208)]({},((_0x465d87=_0x5d5361===null||_0x5d5361===void 0x0?void 0x0:_0x5d5361[_0x57dce6(0x1d1)])===null||_0x465d87===void 0x0?void 0x0:_0x465d87['default'])||{'maxSize':'1m','dir':this[_0x57dce6(0x223)][_0x57dce6(0x1cb)]()+_0x57dce6(0x23c)},{'enableJSON':!![],'enableConsole':this[_0x57dce6(0x232)][_0x57dce6(0x22a)](),'fileLogName':_0x122444+_0x57dce6(0x20b),'dir':this[_0x57dce6(0x223)][_0x57dce6(0x1cb)]()+_0x57dce6(0x1de)+_0x122444+_0x57dce6(0x209)});}Object[_0x57dce6(0x207)](_0x4e92aa)[_0x57dce6(0x1e6)]>0x0&&(!_0x5d5361[_0x57dce6(0x1d1)]&&(_0x5d5361[_0x57dce6(0x1d1)]={'default':{'maxSize':'1m','dir':this[_0x57dce6(0x223)][_0x57dce6(0x1cb)]()+'/runtime'}}),_0x5d5361['midwayLogger'][_0x57dce6(0x1c6)]=_0x4e92aa),this[_0x57dce6(0x1df)][_0x57dce6(0x23b)](_0x5d5361);}}async['filterConfig'](){const _0x1e60e8=a2_0x4fd92f;var _0x82afca,_0x27c519,_0x58d4e0,_0x754bf7,_0x29700e,_0xcb83dd;const _0x177b79=this[_0x1e60e8(0x1df)]['getConfiguration']();((_0x27c519=(_0x82afca=_0x177b79===null||_0x177b79===void 0x0?void 0x0:_0x177b79['anncicapi'])===null||_0x82afca===void 0x0?void 0x0:_0x82afca[_0x1e60e8(0x22b)])===null||_0x27c519===void 0x0?void 0x0:_0x27c519[_0x1e60e8(0x1ee)])&&Object[_0x1e60e8(0x207)](_0x177b79['anncicapi'][_0x1e60e8(0x22b)])['length']>0x1&&delete _0x177b79['anncicapi']['devices']['DEFAULT'];if((_0x58d4e0=_0x177b79===null||_0x177b79===void 0x0?void 0x0:_0x177b79[_0x1e60e8(0x1da)])===null||_0x58d4e0===void 0x0?void 0x0:_0x58d4e0['dirs'])for(const _0x2e5a73 in _0x177b79['staticFile'][_0x1e60e8(0x21c)]){((_0x754bf7=_0x177b79['staticFile'][_0x1e60e8(0x21c)][_0x2e5a73])===null||_0x754bf7===void 0x0?void 0x0:_0x754bf7[_0x1e60e8(0x1c5)])&&typeof((_0x29700e=_0x177b79['staticFile'][_0x1e60e8(0x21c)][_0x2e5a73])===null||_0x29700e===void 0x0?void 0x0:_0x29700e['dir'])==_0x1e60e8(0x235)&&!fs[_0x1e60e8(0x1cc)](_0x177b79[_0x1e60e8(0x1da)][_0x1e60e8(0x21c)][_0x2e5a73][_0x1e60e8(0x1c5)])&&(fs['mkdirSync'](_0x177b79['staticFile'][_0x1e60e8(0x21c)][_0x2e5a73][_0x1e60e8(0x1c5)],{'recursive':!![]}),console[_0x1e60e8(0x1ec)](_0x1e60e8(0x234)+_0x177b79[_0x1e60e8(0x1da)][_0x1e60e8(0x21c)][_0x2e5a73][_0x1e60e8(0x1c5)]));}((_0xcb83dd=_0x177b79===null||_0x177b79===void 0x0?void 0x0:_0x177b79['upload'])===null||_0xcb83dd===void 0x0?void 0x0:_0xcb83dd[_0x1e60e8(0x23d)])&&!fs[_0x1e60e8(0x1cc)](_0x177b79['upload']['tmpdir'])&&(fs['mkdirSync'](_0x177b79[_0x1e60e8(0x22e)][_0x1e60e8(0x23d)],{'recursive':!![]}),console[_0x1e60e8(0x1ec)]('Anncic-api\x20upload-tmpdir\x20:\x20mkdir\x20'+_0x177b79[_0x1e60e8(0x22e)][_0x1e60e8(0x23d)])),this[_0x1e60e8(0x1df)][_0x1e60e8(0x23b)](_0x177b79);}};__decorate([(0x0,core_1[a2_0x4fd92f(0x1fb)])(),__metadata(a2_0x4fd92f(0x20d),Object)],CustomConfiguration['prototype'],'app',void 0x0),__decorate([(0x0,core_1['Inject'])(),__metadata('design:type',core_2[a2_0x4fd92f(0x23e)])],CustomConfiguration['prototype'],a2_0x4fd92f(0x1df),void 0x0),__decorate([(0x0,core_1[a2_0x4fd92f(0x205)])(),__metadata('design:type',core_2[a2_0x4fd92f(0x1d7)])],CustomConfiguration['prototype'],a2_0x4fd92f(0x211),void 0x0),__decorate([(0x0,core_1[a2_0x4fd92f(0x205)])(),__metadata('design:type',core_2[a2_0x4fd92f(0x20f)])],CustomConfiguration['prototype'],a2_0x4fd92f(0x201),void 0x0),__decorate([(0x0,core_1[a2_0x4fd92f(0x205)])(),__metadata(a2_0x4fd92f(0x20d),core_2[a2_0x4fd92f(0x216)])],CustomConfiguration[a2_0x4fd92f(0x203)],a2_0x4fd92f(0x232),void 0x0),__decorate([(0x0,core_1['Inject'])(),__metadata(a2_0x4fd92f(0x20d),ApiService_1['ApiService'])],CustomConfiguration['prototype'],a2_0x4fd92f(0x1c9),void 0x0),CustomConfiguration=__decorate([(0x0,core_1[a2_0x4fd92f(0x229)])({'imports':[koa,i18n,upload,staticFile,crossDomain,anncic,anncicCache,anncicEvent,anncicTypeorm,anncicValidator,anncicHelper],'namespace':a2_0x4fd92f(0x1e5),'conflictCheck':![],'importConfigs':[{'default':ConfigDefault,'production':ConfigProduction}]})],CustomConfiguration),exports[a2_0x4fd92f(0x222)]=CustomConfiguration;
@@ -1 +1 @@
1
- const a3_0x242cab=a3_0x313b;(function(_0x2f48ac,_0x2efdf5){const _0x31683f=a3_0x313b,_0x362e1f=_0x2f48ac();while(!![]){try{const _0x274cf5=parseInt(_0x31683f(0x1c0))/0x1*(-parseInt(_0x31683f(0x192))/0x2)+parseInt(_0x31683f(0x1a7))/0x3+-parseInt(_0x31683f(0x19e))/0x4*(-parseInt(_0x31683f(0x1b9))/0x5)+-parseInt(_0x31683f(0x1d2))/0x6*(-parseInt(_0x31683f(0x1b0))/0x7)+-parseInt(_0x31683f(0x1b6))/0x8*(parseInt(_0x31683f(0x193))/0x9)+parseInt(_0x31683f(0x1d0))/0xa*(-parseInt(_0x31683f(0x1d8))/0xb)+parseInt(_0x31683f(0x1d1))/0xc*(parseInt(_0x31683f(0x1bc))/0xd);if(_0x274cf5===_0x2efdf5)break;else _0x362e1f['push'](_0x362e1f['shift']());}catch(_0x408bf7){_0x362e1f['push'](_0x362e1f['shift']());}}}(a3_0x154e,0x5bd29));const a3_0x3d431f=(function(){let _0x331330=!![];return function(_0x5b949f,_0x5cf00d){const _0x283397=_0x331330?function(){const _0x43837b=a3_0x313b;if(_0x5cf00d){const _0x424ad6=_0x5cf00d[_0x43837b(0x1ce)](_0x5b949f,arguments);return _0x5cf00d=null,_0x424ad6;}}:function(){};return _0x331330=![],_0x283397;};}()),a3_0x591a41=a3_0x3d431f(this,function(){const _0x146ef5=a3_0x313b;return a3_0x591a41[_0x146ef5(0x1a4)]()[_0x146ef5(0x1b7)](_0x146ef5(0x18b))['toString']()[_0x146ef5(0x19f)](a3_0x591a41)[_0x146ef5(0x1b7)](_0x146ef5(0x18b));});a3_0x591a41();'use strict';Object[a3_0x242cab(0x1ac)](exports,a3_0x242cab(0x1ab),{'value':!![]}),exports[a3_0x242cab(0x1d4)]=exports['ActionApi']=exports[a3_0x242cab(0x1ca)]=void 0x0;const fs=require('fs'),validator_1=require(a3_0x242cab(0x1d7)),core_1=require('@midwayjs/core'),core_2=require('@midwayjs/core'),action_1=require(a3_0x242cab(0x1a3));function a3_0x313b(_0x4c226c,_0x5592da){const _0x25fa2c=a3_0x154e();return a3_0x313b=function(_0x591a41,_0x3d431f){_0x591a41=_0x591a41-0x18b;let _0x154e1c=_0x25fa2c[_0x591a41];return _0x154e1c;},a3_0x313b(_0x4c226c,_0x5592da);}function Action(_0x26f98c,_0x597dd8,_0x471bf6={'middleware':[],'sensitive':!![]}){return _0x129381=>{const _0x219949=a3_0x313b;var _0x599132;_0x471bf6[_0x219949(0x1a5)]=_0x597dd8;const _0x1ad791=parseRoute(_0x26f98c);if(_0x1ad791['module']){_0x471bf6['prefix']=_0x471bf6[_0x219949(0x18c)]?'/'+_0x1ad791[_0x219949(0x1c3)]+'/'+_0x471bf6[_0x219949(0x18c)]:'/'+_0x1ad791['route'];_0x1ad791['prefix']&&(_0x471bf6['prefix']='/'+_0x1ad791[_0x219949(0x18c)]+'/'+_0x471bf6[_0x219949(0x18c)]);if(fs['existsSync'](_0x1ad791[_0x219949(0x18e)]+_0x219949(0x190)+_0x1ad791[_0x219949(0x1c3)]+_0x219949(0x195)+(lodash[_0x219949(0x19b)](_0x1ad791[_0x219949(0x1b3)],'ts')?'ts':'js'))){const _0x206ecc=include(_0x1ad791[_0x219949(0x18e)]+'/apps/'+_0x1ad791[_0x219949(0x1c3)]+_0x219949(0x195)+(lodash[_0x219949(0x19b)](_0x1ad791[_0x219949(0x1b3)],'ts')?'ts':'js'));if(_0x206ecc[_0x219949(0x1cc)]&&lodash[_0x219949(0x1c7)](_0x206ecc[_0x219949(0x1cc)])&&_0x206ecc['middleware']['length']>0x0)for(let _0x1a6e3c in _0x206ecc[_0x219949(0x1cc)]){if(((_0x599132=_0x206ecc===null||_0x206ecc===void 0x0?void 0x0:_0x206ecc[_0x219949(0x1cd)])===null||_0x599132===void 0x0?void 0x0:_0x599132[_0x219949(0x1a0)])>0x0&&_0x206ecc[_0x219949(0x1cd)][_0x219949(0x1cb)](_0x206ecc[_0x219949(0x1cc)][_0x1a6e3c])!=-0x1)continue;_0x471bf6[_0x219949(0x1cc)][_0x219949(0x1d6)](_0x206ecc[_0x219949(0x1cc)][_0x1a6e3c]);}const _0x43ef90=(0x0,core_1[_0x219949(0x199)])(action_1[_0x219949(0x19d)],action_1[_0x219949(0x19a)])||{};_0x43ef90[''+_0x1ad791[_0x219949(0x1c3)]]=_0x206ecc,(0x0,core_1[_0x219949(0x1bb)])(action_1[_0x219949(0x19d)],_0x43ef90,action_1['AppsConfigTmp']);}_0x471bf6['prefix']=_0x471bf6[_0x219949(0x18c)][_0x219949(0x18f)]()[_0x219949(0x1c1)](/\/{2,}/g,'/'),(0x0,core_1[_0x219949(0x198)])(action_1[_0x219949(0x1cf)],_0x129381),(0x0,core_1[_0x219949(0x18d)])(_0x471bf6[_0x219949(0x18c)],_0x471bf6)(_0x129381),(0x0,core_1['saveClassMetadata'])(action_1[_0x219949(0x1cf)],{'prefix':_0x471bf6[_0x219949(0x18c)],'pprefix':_0x1ad791[_0x219949(0x18c)],'module':_0x1ad791[_0x219949(0x1c3)],'filepath':_0x1ad791[_0x219949(0x1b3)],'routerOptions':_0x471bf6},_0x129381);}else _0x471bf6['prefix']=_0x471bf6['prefix']?'/'+_0x471bf6[_0x219949(0x18c)]:'/'+_0x1ad791[_0x219949(0x1b1)],_0x1ad791['prefix']&&(_0x471bf6[_0x219949(0x18c)]='/'+_0x1ad791[_0x219949(0x18c)]+'/'+_0x471bf6[_0x219949(0x18c)]),_0x471bf6[_0x219949(0x18c)]=_0x471bf6[_0x219949(0x18c)][_0x219949(0x18f)]()[_0x219949(0x1c1)](/\/{2,}/g,'/'),(0x0,core_1[_0x219949(0x198)])(action_1[_0x219949(0x1cf)],_0x129381),(0x0,core_1[_0x219949(0x18d)])(_0x471bf6['prefix'],_0x471bf6)(_0x129381),(0x0,core_1[_0x219949(0x1bb)])(action_1[_0x219949(0x1cf)],{'prefix':_0x471bf6[_0x219949(0x18c)],'module':_0x1ad791[_0x219949(0x1c3)],'pprefix':_0x1ad791[_0x219949(0x18c)],'filepath':_0x1ad791['filepath'],'routerOptions':_0x471bf6},_0x129381);};}exports[a3_0x242cab(0x1ca)]=Action,Action[a3_0x242cab(0x1d3)]=function(_0x7f5579,_0x51609b='/',_0x1962bd={'apimit':!![],'intercept':!![],'validate':{},'middleware':[],'middlewareIgnore':[]}){return(_0x41d670,_0x12520c,_0x57227a)=>{const _0xc86622=a3_0x313b;ActionApi(_0x7f5579,_0xc86622(0x1d3),_0x51609b,_0x1962bd)(_0x41d670,_0x12520c,_0x57227a);};},Action[a3_0x242cab(0x197)]=function(_0x5d6cd7,_0xae7f4b='/',_0x546138={'apimit':!![],'intercept':!![],'validate':{},'middleware':[],'middlewareIgnore':[]}){return(_0x4f2013,_0x29d73e,_0x432c69)=>{const _0x1f831c=a3_0x313b;ActionApi(_0x5d6cd7,_0x1f831c(0x197),_0xae7f4b,_0x546138)(_0x4f2013,_0x29d73e,_0x432c69);};};function ActionApi(_0x4d35cd,_0x32a5fe='get',_0x37bd4a='/',_0x4f8e1f={'apimit':!![],'intercept':!![],'validate':{},'middleware':[],'middlewareIgnore':[]}){return(_0x5eb925,_0x1687fd,_0x49a3db)=>{const _0x5b0e8a=a3_0x313b;var _0x3ae88a,_0x45f26e,_0x104c0a;!_0x4f8e1f[_0x5b0e8a(0x1cc)]&&(_0x4f8e1f['middleware']=[]);!((_0x3ae88a=_0x4f8e1f===null||_0x4f8e1f===void 0x0?void 0x0:_0x4f8e1f[_0x5b0e8a(0x1af)])===null||_0x3ae88a===void 0x0?void 0x0:_0x3ae88a[_0x5b0e8a(0x191)])&&(_0x4f8e1f['validate']={'validationOptions':{'allowUnknown':!![],'stripUnknown':!![],'dateFormat':'string'}});if(!_0x37bd4a)_0x37bd4a='/';else typeof _0x37bd4a=='string'&&!_0x37bd4a[_0x5b0e8a(0x1be)]('/')&&(_0x37bd4a='/'+_0x37bd4a);typeof _0x4f8e1f[_0x5b0e8a(0x1bd)]==_0x5b0e8a(0x1b4)&&(_0x4f8e1f[_0x5b0e8a(0x1bd)]=!![]);if(((_0x45f26e=_0x4f8e1f===null||_0x4f8e1f===void 0x0?void 0x0:_0x4f8e1f[_0x5b0e8a(0x1cc)])===null||_0x45f26e===void 0x0?void 0x0:_0x45f26e[_0x5b0e8a(0x1a0)])>0x0&&((_0x104c0a=_0x4f8e1f===null||_0x4f8e1f===void 0x0?void 0x0:_0x4f8e1f[_0x5b0e8a(0x1cd)])===null||_0x104c0a===void 0x0?void 0x0:_0x104c0a[_0x5b0e8a(0x1a0)])>0x0)for(let _0x45759e in _0x4f8e1f[_0x5b0e8a(0x1cc)]){_0x4f8e1f[_0x5b0e8a(0x1cd)][_0x5b0e8a(0x1cb)](_0x4f8e1f[_0x5b0e8a(0x1cc)][_0x45759e])!==-0x1&&(_0x4f8e1f[_0x5b0e8a(0x1cc)][_0x45759e]=null);}_0x4f8e1f[_0x5b0e8a(0x1bf)]=_0x4d35cd,(0x0,validator_1[_0x5b0e8a(0x1a9)])(_0x4f8e1f['validate'])(_0x5eb925,_0x1687fd,_0x49a3db),(0x0,core_2['RequestMapping'])(Object[_0x5b0e8a(0x196)](_0x4f8e1f,{'path':_0x37bd4a,'requestMethod':(_0x32a5fe||'get')['toLowerCase']()}))(_0x5eb925,_0x1687fd,_0x49a3db),(0x0,core_2['attachClassMetadata'])(action_1[_0x5b0e8a(0x1a8)],{'path':_0x37bd4a,'method':_0x1687fd,'apimit':_0x4f8e1f[_0x5b0e8a(0x1bd)],'intercept':_0x4f8e1f[_0x5b0e8a(0x19c)],'routerName':_0x4f8e1f[_0x5b0e8a(0x1bf)],'description':_0x4f8e1f[_0x5b0e8a(0x1c8)],'middleware':(_0x4f8e1f[_0x5b0e8a(0x1cc)]||[])[_0x5b0e8a(0x1a1)](_0x1a278f=>!!_0x1a278f),'requestMethod':(_0x32a5fe||_0x5b0e8a(0x1d3))[_0x5b0e8a(0x18f)]()},_0x5eb925),(0x0,core_2[_0x5b0e8a(0x1a6)])(action_1[_0x5b0e8a(0x1a8)],{'path':_0x37bd4a,'method':_0x1687fd,'apimit':_0x4f8e1f[_0x5b0e8a(0x1bd)],'intercept':_0x4f8e1f[_0x5b0e8a(0x19c)],'routerName':_0x4f8e1f['routerName'],'description':_0x4f8e1f[_0x5b0e8a(0x1c8)],'middleware':(_0x4f8e1f[_0x5b0e8a(0x1cc)]||[])['filter'](_0x5f41fc=>!!_0x5f41fc),'requestMethod':(_0x32a5fe||_0x5b0e8a(0x1d3))[_0x5b0e8a(0x18f)]()})(_0x5eb925,_0x1687fd,_0x49a3db);};}exports[a3_0x242cab(0x1ba)]=ActionApi;function parseRoute(_0x2cf63d){const _0x1f2e47=a3_0x242cab;_0x2cf63d=_0x2cf63d[_0x1f2e47(0x1c1)](/(\\|\/)/g,'/');const _0x20d36f=process['cwd']()[_0x1f2e47(0x1c1)](/(\\|\/)/g,'/'),_0x40e71f=_0x2cf63d[_0x1f2e47(0x1ad)](0x0,_0x20d36f[_0x1f2e47(0x1a0)]+_0x2cf63d[_0x1f2e47(0x1ad)](_0x20d36f[_0x1f2e47(0x1a0)]+0x1)[_0x1f2e47(0x1cb)]('/')+0x1),_0x571fb6=_0x2cf63d[_0x1f2e47(0x1ad)](_0x40e71f[_0x1f2e47(0x1a0)]+0x1)['replace'](/(\\|\/)/g,'/'),_0x2c9611={'route':'','prefix':![],'module':![],'rootpath':_0x40e71f,'filepath':_0x571fb6};if(_0x571fb6[_0x1f2e47(0x1be)](_0x1f2e47(0x194))||_0x571fb6[_0x1f2e47(0x1be)]('basic/controller/')){const _0x44ac58=_0x571fb6['substring']((_0x571fb6[_0x1f2e47(0x1be)](_0x1f2e47(0x194))?_0x1f2e47(0x194):_0x1f2e47(0x1d5))[_0x1f2e47(0x1a0)])['split']('/')[_0x1f2e47(0x1a1)](_0x45c171=>_0x45c171&&_0x45c171['trim']());return _0x44ac58[_0x1f2e47(0x1a0)]>0x1&&(_0x2c9611[_0x1f2e47(0x18c)]=_0x44ac58[0x0][_0x1f2e47(0x18f)](),_0x44ac58['splice'](0x0,0x1)),_0x2c9611['route']=('/'+_0x44ac58[_0x1f2e47(0x1c2)]('/'))[_0x1f2e47(0x1c1)](/(\.ts|\.js)$/,'')[_0x1f2e47(0x1c1)](/\/{2,}/g,'/')[_0x1f2e47(0x1b5)](/[\/|A-Z]*[^A-Z]+/g)[_0x1f2e47(0x1c2)]('-')['toLowerCase']()[_0x1f2e47(0x1c1)](/\/\-/g,'/'),_0x2c9611['route'][_0x1f2e47(0x19b)]('-action')&&(_0x2c9611[_0x1f2e47(0x1b1)]=_0x2c9611[_0x1f2e47(0x1b1)][_0x1f2e47(0x1ad)](0x0,_0x2c9611[_0x1f2e47(0x1b1)]['length']-0x7)),_0x2c9611[_0x1f2e47(0x1b1)][_0x1f2e47(0x19b)](_0x1f2e47(0x1c4))&&(_0x2c9611[_0x1f2e47(0x1b1)]=_0x2c9611['route'][_0x1f2e47(0x1ad)](0x0,_0x2c9611[_0x1f2e47(0x1b1)][_0x1f2e47(0x1a0)]-0xb)),_0x2c9611;}else{if(_0x571fb6['startsWith'](_0x1f2e47(0x1a2))){const _0x3f3925=_0x571fb6[_0x1f2e47(0x1ad)](0x0,_0x571fb6['indexOf']('/apps/')+0x5),_0x504f5e=_0x571fb6[_0x1f2e47(0x1ad)](_0x3f3925[_0x1f2e47(0x1a0)]+0x1)['replace'](/(\\|\/)/g,'/')[_0x1f2e47(0x1c9)]('/')[0x0];if(_0x571fb6['startsWith']('apps/'+_0x504f5e+_0x1f2e47(0x1c6))){const _0x1a08b6=_0x571fb6[_0x1f2e47(0x1ad)]((_0x3f3925+'/'+_0x504f5e+_0x1f2e47(0x1c6))['length'])[_0x1f2e47(0x1c9)]('/')[_0x1f2e47(0x1a1)](_0x558654=>_0x558654&&_0x558654[_0x1f2e47(0x1ae)]());return _0x1a08b6[_0x1f2e47(0x1a0)]>0x1&&(_0x2c9611['prefix']=_0x1a08b6[0x0][_0x1f2e47(0x18f)](),_0x1a08b6[_0x1f2e47(0x1c5)](0x0,0x1)),_0x2c9611[_0x1f2e47(0x1c3)]=_0x504f5e,_0x2c9611[_0x1f2e47(0x1b1)]=('/'+_0x504f5e+'/'+_0x1a08b6[_0x1f2e47(0x1c2)]('/'))[_0x1f2e47(0x1c1)](/(\.ts|\.js)$/,'')['replace'](/\/{2,}/g,'/')[_0x1f2e47(0x1b5)](/[\/|A-Z]*[^A-Z]+/g)['join']('-')[_0x1f2e47(0x18f)]()['replace'](/\/\-/g,'/'),_0x2c9611[_0x1f2e47(0x1b1)][_0x1f2e47(0x19b)](_0x1f2e47(0x1aa))&&(_0x2c9611[_0x1f2e47(0x1b1)]=_0x2c9611[_0x1f2e47(0x1b1)][_0x1f2e47(0x1ad)](0x0,_0x2c9611[_0x1f2e47(0x1b1)]['length']-0x7)),_0x2c9611['route'][_0x1f2e47(0x19b)](_0x1f2e47(0x1c4))&&(_0x2c9611[_0x1f2e47(0x1b1)]=_0x2c9611[_0x1f2e47(0x1b1)][_0x1f2e47(0x1ad)](0x0,_0x2c9611['route']['length']-0xb)),_0x2c9611;}throw new Error(_0x571fb6+'\x20文件请放在apps/'+_0x504f5e+_0x1f2e47(0x1b2));}}throw new Error(_0x571fb6+_0x1f2e47(0x1b8));}exports[a3_0x242cab(0x1d4)]=parseRoute;function a3_0x154e(){const _0x5f341e=['551649vSrfux','ACTION_ROUTE_KEY','Validator','-action','__esModule','defineProperty','substring','trim','validate','1258278WgKXhn','route','/controller/文件下','filepath','undefined','match','136872NkMmGs','search','\x20文件请放在app/controller/文件下','3588205Iiifou','ActionApi','saveClassMetadata','13vUuBVH','apimit','startsWith','routerName','237UHLMZh','replace','join','module','-controller','splice','/controller/','isArray','description','split','Action','indexOf','middleware','middlewareIgnore','apply','ACTION_KEY','80gkpomK','7252932WYaOnO','6gbgbvR','get','parseRoute','basic/controller/','push','@anncic-api/validator','359865NpnLiG','(((.+)+)+)+$','prefix','Controller','rootpath','toLowerCase','/apps/','validationOptions','5522KthZXj','207bKgHYA','app/controller/','/config.','assign','post','saveModule','getClassMetadata','AppsConfigTmp','endsWith','intercept','APPSCONFIG_KEY','4mzghnw','constructor','length','filter','apps/','../types/action','toString','tagName','createCustomMethodDecorator'];a3_0x154e=function(){return _0x5f341e;};return a3_0x154e();}
1
+ const a3_0x5e0630=a3_0x33c0;(function(_0xd5b311,_0x37f1b7){const _0x59ea66=a3_0x33c0,_0x2939af=_0xd5b311();while(!![]){try{const _0x99fb56=parseInt(_0x59ea66(0x13d))/0x1+-parseInt(_0x59ea66(0x136))/0x2*(-parseInt(_0x59ea66(0x148))/0x3)+parseInt(_0x59ea66(0x11f))/0x4+parseInt(_0x59ea66(0x160))/0x5*(-parseInt(_0x59ea66(0x12d))/0x6)+-parseInt(_0x59ea66(0x130))/0x7+-parseInt(_0x59ea66(0x153))/0x8+-parseInt(_0x59ea66(0x128))/0x9;if(_0x99fb56===_0x37f1b7)break;else _0x2939af['push'](_0x2939af['shift']());}catch(_0x12858f){_0x2939af['push'](_0x2939af['shift']());}}}(a3_0x38e8,0x481af));function a3_0x33c0(_0x3e4a6b,_0x52bb5f){const _0x1f000a=a3_0x38e8();return a3_0x33c0=function(_0x3f8eaa,_0x583a03){_0x3f8eaa=_0x3f8eaa-0x11c;let _0x38e8bb=_0x1f000a[_0x3f8eaa];return _0x38e8bb;},a3_0x33c0(_0x3e4a6b,_0x52bb5f);}const a3_0x583a03=(function(){let _0x2660d8=!![];return function(_0x34fbf4,_0x425561){const _0x579e79=_0x2660d8?function(){const _0x1f7ab6=a3_0x33c0;if(_0x425561){const _0x7d7825=_0x425561[_0x1f7ab6(0x155)](_0x34fbf4,arguments);return _0x425561=null,_0x7d7825;}}:function(){};return _0x2660d8=![],_0x579e79;};}()),a3_0x3f8eaa=a3_0x583a03(this,function(){const _0x45b6e8=a3_0x33c0;return a3_0x3f8eaa[_0x45b6e8(0x142)]()['search'](_0x45b6e8(0x152))[_0x45b6e8(0x142)]()['constructor'](a3_0x3f8eaa)[_0x45b6e8(0x126)]('(((.+)+)+)+$');});a3_0x3f8eaa();'use strict';Object[a3_0x5e0630(0x149)](exports,a3_0x5e0630(0x156),{'value':!![]}),exports[a3_0x5e0630(0x13b)]=exports[a3_0x5e0630(0x163)]=exports[a3_0x5e0630(0x12b)]=void 0x0;const fs=require('fs'),validator_1=require(a3_0x5e0630(0x129)),core_1=require(a3_0x5e0630(0x159)),core_2=require(a3_0x5e0630(0x159)),action_1=require(a3_0x5e0630(0x12e));function Action(_0x10e038,_0x3005ca,_0x5bc5ae={'middleware':[],'sensitive':!![]}){return _0x5a1ab9=>{const _0x467503=a3_0x33c0;var _0x2903c4;_0x5bc5ae[_0x467503(0x133)]=_0x3005ca;const _0x4a5941=parseRoute(_0x10e038);if(_0x4a5941[_0x467503(0x151)]){_0x5bc5ae[_0x467503(0x124)]=_0x5bc5ae[_0x467503(0x124)]?'/'+_0x4a5941[_0x467503(0x151)]+'/'+_0x5bc5ae[_0x467503(0x124)]:'/'+_0x4a5941[_0x467503(0x164)];_0x4a5941[_0x467503(0x124)]&&(_0x5bc5ae[_0x467503(0x124)]='/'+_0x4a5941['prefix']+'/'+_0x5bc5ae[_0x467503(0x124)]);if(fs[_0x467503(0x137)](_0x4a5941[_0x467503(0x144)]+'/apps/'+_0x4a5941['module']+'/config.'+(lodash[_0x467503(0x140)](_0x4a5941['filepath'],'ts')?'ts':'js'))){const _0x3d0db5=include(_0x4a5941['rootpath']+'/apps/'+_0x4a5941[_0x467503(0x151)]+_0x467503(0x165)+(lodash['endsWith'](_0x4a5941[_0x467503(0x13f)],'ts')?'ts':'js'));if(_0x3d0db5['middleware']&&lodash[_0x467503(0x12c)](_0x3d0db5[_0x467503(0x14a)])&&_0x3d0db5[_0x467503(0x14a)][_0x467503(0x13a)]>0x0)for(let _0x3aed27 in _0x3d0db5[_0x467503(0x14a)]){if(((_0x2903c4=_0x3d0db5===null||_0x3d0db5===void 0x0?void 0x0:_0x3d0db5['middlewareIgnore'])===null||_0x2903c4===void 0x0?void 0x0:_0x2903c4['length'])>0x0&&_0x3d0db5['middlewareIgnore'][_0x467503(0x13e)](_0x3d0db5[_0x467503(0x14a)][_0x3aed27])!=-0x1)continue;_0x5bc5ae[_0x467503(0x14a)][_0x467503(0x14f)](_0x3d0db5[_0x467503(0x14a)][_0x3aed27]);}const _0x4f6200=(0x0,core_1[_0x467503(0x139)])(action_1['APPSCONFIG_KEY'],action_1[_0x467503(0x134)])||{};_0x4f6200[''+_0x4a5941[_0x467503(0x151)]]=_0x3d0db5,(0x0,core_1[_0x467503(0x11d)])(action_1[_0x467503(0x11c)],_0x4f6200,action_1['AppsConfigTmp']);}_0x5bc5ae[_0x467503(0x124)]=_0x5bc5ae[_0x467503(0x124)][_0x467503(0x154)]()[_0x467503(0x122)](/\/{2,}/g,'/'),(0x0,core_1[_0x467503(0x166)])(action_1[_0x467503(0x120)],_0x5a1ab9),(0x0,core_1[_0x467503(0x15e)])(_0x5bc5ae[_0x467503(0x124)],_0x5bc5ae)(_0x5a1ab9),(0x0,core_1[_0x467503(0x11d)])(action_1[_0x467503(0x120)],{'prefix':_0x5bc5ae[_0x467503(0x124)],'pprefix':_0x4a5941['prefix'],'module':_0x4a5941[_0x467503(0x151)],'filepath':_0x4a5941[_0x467503(0x13f)],'routerOptions':_0x5bc5ae},_0x5a1ab9);}else _0x5bc5ae[_0x467503(0x124)]=_0x5bc5ae[_0x467503(0x124)]?'/'+_0x5bc5ae['prefix']:'/'+_0x4a5941[_0x467503(0x164)],_0x4a5941[_0x467503(0x124)]&&(_0x5bc5ae[_0x467503(0x124)]='/'+_0x4a5941[_0x467503(0x124)]+'/'+_0x5bc5ae['prefix']),_0x5bc5ae[_0x467503(0x124)]=_0x5bc5ae[_0x467503(0x124)]['toLowerCase']()['replace'](/\/{2,}/g,'/'),(0x0,core_1[_0x467503(0x166)])(action_1['ACTION_KEY'],_0x5a1ab9),(0x0,core_1[_0x467503(0x15e)])(_0x5bc5ae['prefix'],_0x5bc5ae)(_0x5a1ab9),(0x0,core_1['saveClassMetadata'])(action_1['ACTION_KEY'],{'prefix':_0x5bc5ae[_0x467503(0x124)],'module':_0x4a5941['module'],'pprefix':_0x4a5941[_0x467503(0x124)],'filepath':_0x4a5941[_0x467503(0x13f)],'routerOptions':_0x5bc5ae},_0x5a1ab9);};}exports['Action']=Action,Action[a3_0x5e0630(0x13c)]=function(_0x1262ae,_0x1d810b='/',_0x37f227={'apimit':!![],'intercept':!![],'validate':{},'middleware':[],'middlewareIgnore':[]}){return(_0x3bb576,_0x33495e,_0x4d1a08)=>{const _0x400f6a=a3_0x33c0;ActionApi(_0x1262ae,_0x400f6a(0x13c),_0x1d810b,_0x37f227)(_0x3bb576,_0x33495e,_0x4d1a08);};},Action[a3_0x5e0630(0x147)]=function(_0x599233,_0x28564f='/',_0x15667f={'apimit':!![],'intercept':!![],'validate':{},'middleware':[],'middlewareIgnore':[]}){return(_0x59cb06,_0x1c8083,_0x2f1090)=>{const _0x3c4b20=a3_0x33c0;ActionApi(_0x599233,_0x3c4b20(0x147),_0x28564f,_0x15667f)(_0x59cb06,_0x1c8083,_0x2f1090);};};function ActionApi(_0x4e1356,_0x451908=a3_0x5e0630(0x13c),_0x2f6e72='/',_0x349172={'apimit':!![],'intercept':!![],'validate':{},'middleware':[],'middlewareIgnore':[]}){return(_0x536f82,_0x5a9673,_0xfb9fb5)=>{const _0x4425cc=a3_0x33c0;var _0x3636e6,_0xb28b5,_0xa71ec6;!_0x349172[_0x4425cc(0x14a)]&&(_0x349172['middleware']=[]);!((_0x3636e6=_0x349172===null||_0x349172===void 0x0?void 0x0:_0x349172[_0x4425cc(0x167)])===null||_0x3636e6===void 0x0?void 0x0:_0x3636e6[_0x4425cc(0x14c)])&&(_0x349172[_0x4425cc(0x167)]={'validationOptions':{'allowUnknown':!![],'stripUnknown':!![],'dateFormat':_0x4425cc(0x15a)}});if(!_0x2f6e72)_0x2f6e72='/';else typeof _0x2f6e72==_0x4425cc(0x15a)&&(!_0x2f6e72['startsWith']('/')&&!_0x2f6e72[_0x4425cc(0x162)]('-')&&(_0x2f6e72='/'+_0x2f6e72));typeof _0x349172['apimit']==_0x4425cc(0x12a)&&(_0x349172[_0x4425cc(0x15b)]=!![]);if(((_0xb28b5=_0x349172===null||_0x349172===void 0x0?void 0x0:_0x349172[_0x4425cc(0x14a)])===null||_0xb28b5===void 0x0?void 0x0:_0xb28b5[_0x4425cc(0x13a)])>0x0&&((_0xa71ec6=_0x349172===null||_0x349172===void 0x0?void 0x0:_0x349172['middlewareIgnore'])===null||_0xa71ec6===void 0x0?void 0x0:_0xa71ec6[_0x4425cc(0x13a)])>0x0)for(let _0x2d9dfb in _0x349172[_0x4425cc(0x14a)]){_0x349172[_0x4425cc(0x125)][_0x4425cc(0x13e)](_0x349172[_0x4425cc(0x14a)][_0x2d9dfb])!==-0x1&&(_0x349172[_0x4425cc(0x14a)][_0x2d9dfb]=null);}_0x349172[_0x4425cc(0x11e)]=_0x4e1356,(0x0,validator_1['Validator'])(_0x349172['validate'])(_0x536f82,_0x5a9673,_0xfb9fb5),(0x0,core_2[_0x4425cc(0x157)])(Object[_0x4425cc(0x135)](_0x349172,{'path':_0x2f6e72,'requestMethod':(_0x451908||_0x4425cc(0x13c))['toLowerCase']()}))(_0x536f82,_0x5a9673,_0xfb9fb5),(0x0,core_2[_0x4425cc(0x15d)])(action_1[_0x4425cc(0x14e)],{'path':_0x2f6e72,'method':_0x5a9673,'apimit':_0x349172['apimit'],'intercept':_0x349172[_0x4425cc(0x143)],'routerName':_0x349172['routerName'],'description':_0x349172[_0x4425cc(0x168)],'middleware':(_0x349172[_0x4425cc(0x14a)]||[])[_0x4425cc(0x150)](_0x451533=>!!_0x451533),'requestMethod':(_0x451908||_0x4425cc(0x13c))[_0x4425cc(0x154)]()},_0x536f82),(0x0,core_2[_0x4425cc(0x121)])(action_1['ACTION_ROUTE_KEY'],{'path':_0x2f6e72,'method':_0x5a9673,'apimit':_0x349172[_0x4425cc(0x15b)],'intercept':_0x349172[_0x4425cc(0x143)],'routerName':_0x349172[_0x4425cc(0x11e)],'description':_0x349172[_0x4425cc(0x168)],'middleware':(_0x349172[_0x4425cc(0x14a)]||[])[_0x4425cc(0x150)](_0x2c0d70=>!!_0x2c0d70),'requestMethod':(_0x451908||_0x4425cc(0x13c))[_0x4425cc(0x154)]()})(_0x536f82,_0x5a9673,_0xfb9fb5);};}function a3_0x38e8(){const _0x427fda=['APPSCONFIG_KEY','saveClassMetadata','routerName','1384812LoAfXp','ACTION_KEY','createCustomMethodDecorator','replace','/apps/','prefix','middlewareIgnore','search','cwd','5766516VvKtQo','@anncic-api/validator','undefined','Action','isArray','473934IEsiZH','../types/action','basic/controller/','1090369UCnAzG','match','substring','tagName','AppsConfigTmp','assign','17452YgCYhW','existsSync','splice','getClassMetadata','length','parseRoute','get','445963ufkZIr','indexOf','filepath','endsWith','/controller/文件下','toString','intercept','rootpath','split','\x20文件请放在apps/','post','141LfxAjP','defineProperty','middleware','/controller/','validationOptions','apps/','ACTION_ROUTE_KEY','push','filter','module','(((.+)+)+)+$','251720oWFVjA','toLowerCase','apply','__esModule','RequestMapping','-controller','@midwayjs/core','string','apimit','trim','attachClassMetadata','Controller','\x20文件请放在app/controller/文件下','5yKHkOa','join','startsWith','ActionApi','route','/config.','saveModule','validate','description'];a3_0x38e8=function(){return _0x427fda;};return a3_0x38e8();}exports[a3_0x5e0630(0x163)]=ActionApi;function parseRoute(_0x5830af){const _0x2b0e7b=a3_0x5e0630;_0x5830af=_0x5830af[_0x2b0e7b(0x122)](/(\\|\/)/g,'/');const _0x8a5915=process[_0x2b0e7b(0x127)]()['replace'](/(\\|\/)/g,'/'),_0x119bbf=_0x5830af[_0x2b0e7b(0x132)](0x0,_0x8a5915['length']+_0x5830af[_0x2b0e7b(0x132)](_0x8a5915[_0x2b0e7b(0x13a)]+0x1)[_0x2b0e7b(0x13e)]('/')+0x1),_0x542030=_0x5830af['substring'](_0x119bbf[_0x2b0e7b(0x13a)]+0x1)[_0x2b0e7b(0x122)](/(\\|\/)/g,'/'),_0x92515b={'route':'','prefix':![],'module':![],'rootpath':_0x119bbf,'filepath':_0x542030};if(_0x542030[_0x2b0e7b(0x162)]('app/controller/')||_0x542030[_0x2b0e7b(0x162)](_0x2b0e7b(0x12f))){const _0x5e4064=_0x542030[_0x2b0e7b(0x132)]((_0x542030[_0x2b0e7b(0x162)]('app/controller/')?'app/controller/':_0x2b0e7b(0x12f))[_0x2b0e7b(0x13a)])['split']('/')['filter'](_0x2d288d=>_0x2d288d&&_0x2d288d[_0x2b0e7b(0x15c)]());return _0x5e4064[_0x2b0e7b(0x13a)]>0x1&&(_0x92515b[_0x2b0e7b(0x124)]=_0x5e4064[0x0]['toLowerCase'](),_0x5e4064[_0x2b0e7b(0x138)](0x0,0x1)),_0x92515b[_0x2b0e7b(0x164)]=('/'+_0x5e4064[_0x2b0e7b(0x161)]('/'))[_0x2b0e7b(0x122)](/(\.ts|\.js)$/,'')[_0x2b0e7b(0x122)](/\/{2,}/g,'/')[_0x2b0e7b(0x131)](/[\/|A-Z]*[^A-Z]+/g)[_0x2b0e7b(0x161)]('-')[_0x2b0e7b(0x154)]()[_0x2b0e7b(0x122)](/\/\-/g,'/'),_0x92515b['route'][_0x2b0e7b(0x140)]('-action')&&(_0x92515b[_0x2b0e7b(0x164)]=_0x92515b[_0x2b0e7b(0x164)][_0x2b0e7b(0x132)](0x0,_0x92515b[_0x2b0e7b(0x164)][_0x2b0e7b(0x13a)]-0x7)),_0x92515b[_0x2b0e7b(0x164)][_0x2b0e7b(0x140)](_0x2b0e7b(0x158))&&(_0x92515b[_0x2b0e7b(0x164)]=_0x92515b[_0x2b0e7b(0x164)]['substring'](0x0,_0x92515b[_0x2b0e7b(0x164)]['length']-0xb)),_0x92515b;}else{if(_0x542030[_0x2b0e7b(0x162)](_0x2b0e7b(0x14d))){const _0x53f489=_0x542030[_0x2b0e7b(0x132)](0x0,_0x542030['indexOf'](_0x2b0e7b(0x123))+0x5),_0x358242=_0x542030[_0x2b0e7b(0x132)](_0x53f489[_0x2b0e7b(0x13a)]+0x1)[_0x2b0e7b(0x122)](/(\\|\/)/g,'/')[_0x2b0e7b(0x145)]('/')[0x0];if(_0x542030['startsWith'](_0x2b0e7b(0x14d)+_0x358242+_0x2b0e7b(0x14b))){const _0x49c63a=_0x542030[_0x2b0e7b(0x132)]((_0x53f489+'/'+_0x358242+_0x2b0e7b(0x14b))['length'])[_0x2b0e7b(0x145)]('/')['filter'](_0xacecc4=>_0xacecc4&&_0xacecc4['trim']());return _0x49c63a[_0x2b0e7b(0x13a)]>0x1&&(_0x92515b['prefix']=_0x49c63a[0x0][_0x2b0e7b(0x154)](),_0x49c63a[_0x2b0e7b(0x138)](0x0,0x1)),_0x92515b['module']=_0x358242,_0x92515b[_0x2b0e7b(0x164)]=('/'+_0x358242+'/'+_0x49c63a['join']('/'))[_0x2b0e7b(0x122)](/(\.ts|\.js)$/,'')['replace'](/\/{2,}/g,'/')[_0x2b0e7b(0x131)](/[\/|A-Z]*[^A-Z]+/g)[_0x2b0e7b(0x161)]('-')[_0x2b0e7b(0x154)]()['replace'](/\/\-/g,'/'),_0x92515b[_0x2b0e7b(0x164)][_0x2b0e7b(0x140)]('-action')&&(_0x92515b[_0x2b0e7b(0x164)]=_0x92515b[_0x2b0e7b(0x164)]['substring'](0x0,_0x92515b[_0x2b0e7b(0x164)][_0x2b0e7b(0x13a)]-0x7)),_0x92515b['route']['endsWith'](_0x2b0e7b(0x158))&&(_0x92515b[_0x2b0e7b(0x164)]=_0x92515b[_0x2b0e7b(0x164)][_0x2b0e7b(0x132)](0x0,_0x92515b['route'][_0x2b0e7b(0x13a)]-0xb)),_0x92515b;}throw new Error(_0x542030+_0x2b0e7b(0x146)+_0x358242+_0x2b0e7b(0x141));}}throw new Error(_0x542030+_0x2b0e7b(0x15f));}exports[a3_0x5e0630(0x13b)]=parseRoute;