@anncic-api/cache 1.0.9 → 1.0.12

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
- 'use strict';const a0_0x4cd9db=a0_0x439f;(function(_0x539afa,_0x100d9a){const _0x46bd3e=a0_0x439f,_0x4a46bb=_0x539afa();while(!![]){try{const _0x4a3c7e=parseInt(_0x46bd3e(0x17d))/0x1*(parseInt(_0x46bd3e(0x184))/0x2)+-parseInt(_0x46bd3e(0x17f))/0x3+-parseInt(_0x46bd3e(0x185))/0x4+-parseInt(_0x46bd3e(0x18b))/0x5*(parseInt(_0x46bd3e(0x188))/0x6)+parseInt(_0x46bd3e(0x18d))/0x7+-parseInt(_0x46bd3e(0x182))/0x8*(-parseInt(_0x46bd3e(0x18f))/0x9)+-parseInt(_0x46bd3e(0x187))/0xa*(-parseInt(_0x46bd3e(0x18c))/0xb);if(_0x4a3c7e===_0x100d9a)break;else _0x4a46bb['push'](_0x4a46bb['shift']());}catch(_0x295db5){_0x4a46bb['push'](_0x4a46bb['shift']());}}}(a0_0x461d,0x8a3b2));function a0_0x461d(){const _0x35735a=['435405hDUTFb','4169KWMTsG','3486686nGaWFi','__esModule','64206AmNZoq','127.0.0.1','17548uwNofO','cache-manager-ioredis','1321164BTtuTx','appDir','default','1016PlpqOu','/runtime/.cache','42dUNFJN','346152VGyciK','cache-manager-fs-hash','2750NIGkrk','54SJdOEz','file','memory'];a0_0x461d=function(){return _0x35735a;};return a0_0x461d();}Object['defineProperty'](exports,a0_0x4cd9db(0x18e),{'value':!![]});const fsStore=require(a0_0x4cd9db(0x186)),redisStore=require(a0_0x4cd9db(0x17e));function a0_0x439f(_0x1ab921,_0x180707){const _0x461d80=a0_0x461d();return a0_0x439f=function(_0x439f94,_0x159a43){_0x439f94=_0x439f94-0x17c;let _0x510e02=_0x461d80[_0x439f94];return _0x510e02;},a0_0x439f(_0x1ab921,_0x180707);}exports[a0_0x4cd9db(0x181)]=_0xa9e2fb=>{const _0x3e89fc=a0_0x4cd9db;return{'cache':{'default':_0x3e89fc(0x189),'stores':{'file':{'store':fsStore,'options':{'ttl':0x1e13380,'subdirs':![],'path':_0xa9e2fb[_0x3e89fc(0x180)]+_0x3e89fc(0x183)}},'redis':{'store':redisStore,'options':{'port':0x18eb,'host':_0x3e89fc(0x17c),'password':'','ttl':0x1e13380,'keyPrefix':_0xa9e2fb['name']+':'}},'memory':{'store':_0x3e89fc(0x18a),'options':{'max':0x64,'ttl':0x1e13380}}}}};};
1
+ 'use strict';function a0_0x1b12(){const _0x5782bc=['1071682KoCBOe','127.0.0.1','522130RHIJwB','5196MIVpCG','appDir','/runtime/.cache','12xKwJrL','4589560eNGOJL','24LkZRPs','defineProperty','default','__esModule','12649EjaKsd','9886822xhUIfp','470150jhNVTU','99Bcvrxz','memory','3SifFhc','cache-manager-fs-hash','file','15WlziYx','name'];a0_0x1b12=function(){return _0x5782bc;};return a0_0x1b12();}function a0_0x24e1(_0x29d44c,_0x5094ce){const _0x1b127c=a0_0x1b12();return a0_0x24e1=function(_0x24e1ec,_0x61fdb4){_0x24e1ec=_0x24e1ec-0x1e2;let _0x3fc8d5=_0x1b127c[_0x24e1ec];return _0x3fc8d5;},a0_0x24e1(_0x29d44c,_0x5094ce);}const a0_0x5f2080=a0_0x24e1;(function(_0x5354d0,_0x53f66e){const _0x45e17c=a0_0x24e1,_0x189f64=_0x5354d0();while(!![]){try{const _0x5a2101=-parseInt(_0x45e17c(0x1f2))/0x1+-parseInt(_0x45e17c(0x1e4))/0x2*(-parseInt(_0x45e17c(0x1f5))/0x3)+-parseInt(_0x45e17c(0x1e7))/0x4*(parseInt(_0x45e17c(0x1e2))/0x5)+-parseInt(_0x45e17c(0x1ec))/0x6*(parseInt(_0x45e17c(0x1f0))/0x7)+parseInt(_0x45e17c(0x1eb))/0x8+parseInt(_0x45e17c(0x1f3))/0x9*(parseInt(_0x45e17c(0x1e6))/0xa)+parseInt(_0x45e17c(0x1f1))/0xb*(-parseInt(_0x45e17c(0x1ea))/0xc);if(_0x5a2101===_0x53f66e)break;else _0x189f64['push'](_0x189f64['shift']());}catch(_0x308b23){_0x189f64['push'](_0x189f64['shift']());}}}(a0_0x1b12,0x4a2ba));Object[a0_0x5f2080(0x1ed)](exports,a0_0x5f2080(0x1ef),{'value':!![]});const fsStore=require(a0_0x5f2080(0x1f6)),redisStore=require('cache-manager-ioredis');exports[a0_0x5f2080(0x1ee)]=_0x33336d=>{const _0x2925ef=a0_0x5f2080;return{'cache':{'default':_0x2925ef(0x1f7),'stores':{'file':{'store':fsStore,'options':{'ttl':0x1e13380,'subdirs':![],'path':_0x33336d[_0x2925ef(0x1e8)]+_0x2925ef(0x1e9)}},'redis':{'store':redisStore,'options':{'port':0x18eb,'host':_0x2925ef(0x1e5),'password':'','ttl':0x1e13380,'keyPrefix':_0x33336d[_0x2925ef(0x1e3)]+':'}},'memory':{'store':_0x2925ef(0x1f4),'options':{'max':0x64,'ttl':0x1e13380}}}}};};
@@ -1 +1 @@
1
- 'use strict';var a1_0x37c41f=a1_0x1447;(function(_0x18fec1,_0xc54560){var _0x212456=a1_0x1447,_0x19f5fc=_0x18fec1();while(!![]){try{var _0x1c29d0=parseInt(_0x212456(0xd5))/0x1*(-parseInt(_0x212456(0xcb))/0x2)+-parseInt(_0x212456(0xcf))/0x3*(parseInt(_0x212456(0xe1))/0x4)+parseInt(_0x212456(0xe0))/0x5*(-parseInt(_0x212456(0xdf))/0x6)+-parseInt(_0x212456(0xd6))/0x7+-parseInt(_0x212456(0xcc))/0x8+parseInt(_0x212456(0xcd))/0x9+parseInt(_0x212456(0xda))/0xa;if(_0x1c29d0===_0xc54560)break;else _0x19f5fc['push'](_0x19f5fc['shift']());}catch(_0x326e1e){_0x19f5fc['push'](_0x19f5fc['shift']());}}}(a1_0x1b0c,0xb515d));var __decorate=this&&this[a1_0x37c41f(0xdd)]||function(_0x5dca32,_0x1021cb,_0x3f4cde,_0x13e812){var _0x36b9eb=a1_0x37c41f,_0x2bcc6f=arguments[_0x36b9eb(0xdc)],_0x12113d=_0x2bcc6f<0x3?_0x1021cb:_0x13e812===null?_0x13e812=Object[_0x36b9eb(0xd9)](_0x1021cb,_0x3f4cde):_0x13e812,_0x4900dc;if(typeof Reflect===_0x36b9eb(0xde)&&typeof Reflect[_0x36b9eb(0xd1)]===_0x36b9eb(0xd8))_0x12113d=Reflect[_0x36b9eb(0xd1)](_0x5dca32,_0x1021cb,_0x3f4cde,_0x13e812);else{for(var _0x5d07bd=_0x5dca32[_0x36b9eb(0xdc)]-0x1;_0x5d07bd>=0x0;_0x5d07bd--)if(_0x4900dc=_0x5dca32[_0x5d07bd])_0x12113d=(_0x2bcc6f<0x3?_0x4900dc(_0x12113d):_0x2bcc6f>0x3?_0x4900dc(_0x1021cb,_0x3f4cde,_0x12113d):_0x4900dc(_0x1021cb,_0x3f4cde))||_0x12113d;}return _0x2bcc6f>0x3&&_0x12113d&&Object[_0x36b9eb(0xdb)](_0x1021cb,_0x3f4cde,_0x12113d),_0x12113d;};function a1_0x1447(_0x27135b,_0x99252a){var _0x1b0ce4=a1_0x1b0c();return a1_0x1447=function(_0x1447d4,_0x4531d1){_0x1447d4=_0x1447d4-0xcb;var _0x158d94=_0x1b0ce4[_0x1447d4];return _0x158d94;},a1_0x1447(_0x27135b,_0x99252a);}Object['defineProperty'](exports,a1_0x37c41f(0xd3),{'value':!![]}),exports[a1_0x37c41f(0xd2)]=void 0x0;const decorator_1=require(a1_0x37c41f(0xd0)),ConfigDefault=require(a1_0x37c41f(0xd7));function a1_0x1b0c(){var _0x290056=['defineProperty','length','__decorate','object','594vbYOwC','26310tQsKhK','4999364UQIzNd','423066KHLTwZ','5834376QWKQlW','11313918efMpAa','anncic-api:cache','3qUoLIn','@midwayjs/decorator','decorate','CustomConfiguration','__esModule','Configuration','1zuHZeT','6633592EpzCKP','./config/config.default','function','getOwnPropertyDescriptor','31438880GOmKmf'];a1_0x1b0c=function(){return _0x290056;};return a1_0x1b0c();}let CustomConfiguration=class CustomConfiguration{};CustomConfiguration=__decorate([(0x0,decorator_1[a1_0x37c41f(0xd4)])({'conflictCheck':![],'namespace':a1_0x37c41f(0xce),'importConfigs':[{'default':ConfigDefault}]})],CustomConfiguration),exports[a1_0x37c41f(0xd2)]=CustomConfiguration;
1
+ 'use strict';var a1_0x42904e=a1_0x1a70;function a1_0x1a70(_0x4ad841,_0x33b0ad){var _0x65f822=a1_0x65f8();return a1_0x1a70=function(_0x1a70c8,_0x80d94f){_0x1a70c8=_0x1a70c8-0x90;var _0x50fced=_0x65f822[_0x1a70c8];return _0x50fced;},a1_0x1a70(_0x4ad841,_0x33b0ad);}function a1_0x65f8(){var _0x5802f6=['3682674HfSvvj','2522751SGimvr','3450VDZlec','2256VCePLC','anncic-api:cache','1355XtpmHY','67036bbwcMI','length','__esModule','973chVgqX','173251ZOozaa','CustomConfiguration','function','defineProperty','2790159sVCteb','4tiAiip','5CsBAYS','decorate','10RBDqwJ','53992SLWXVX','object'];a1_0x65f8=function(){return _0x5802f6;};return a1_0x65f8();}(function(_0x3abbb3,_0x5be576){var _0x348b42=a1_0x1a70,_0x19fb21=_0x3abbb3();while(!![]){try{var _0x3fde65=-parseInt(_0x348b42(0xa4))/0x1*(-parseInt(_0x348b42(0x9a))/0x2)+-parseInt(_0x348b42(0xa2))/0x3*(parseInt(_0x348b42(0xa3))/0x4)+parseInt(_0x348b42(0x99))/0x5*(-parseInt(_0x348b42(0x96))/0x6)+-parseInt(_0x348b42(0x9d))/0x7*(parseInt(_0x348b42(0x92))/0x8)+parseInt(_0x348b42(0x94))/0x9*(-parseInt(_0x348b42(0x91))/0xa)+parseInt(_0x348b42(0x95))/0xb+parseInt(_0x348b42(0x97))/0xc*(parseInt(_0x348b42(0x9e))/0xd);if(_0x3fde65===_0x5be576)break;else _0x19fb21['push'](_0x19fb21['shift']());}catch(_0x5f27c1){_0x19fb21['push'](_0x19fb21['shift']());}}}(a1_0x65f8,0x728f0));var __decorate=this&&this['__decorate']||function(_0xbe829e,_0x5a6a67,_0x52aad0,_0x1df75b){var _0x5d531f=a1_0x1a70,_0x3c60ea=arguments[_0x5d531f(0x9b)],_0x345998=_0x3c60ea<0x3?_0x5a6a67:_0x1df75b===null?_0x1df75b=Object['getOwnPropertyDescriptor'](_0x5a6a67,_0x52aad0):_0x1df75b,_0x1a7376;if(typeof Reflect===_0x5d531f(0x93)&&typeof Reflect[_0x5d531f(0x90)]===_0x5d531f(0xa0))_0x345998=Reflect[_0x5d531f(0x90)](_0xbe829e,_0x5a6a67,_0x52aad0,_0x1df75b);else{for(var _0x38b8c3=_0xbe829e[_0x5d531f(0x9b)]-0x1;_0x38b8c3>=0x0;_0x38b8c3--)if(_0x1a7376=_0xbe829e[_0x38b8c3])_0x345998=(_0x3c60ea<0x3?_0x1a7376(_0x345998):_0x3c60ea>0x3?_0x1a7376(_0x5a6a67,_0x52aad0,_0x345998):_0x1a7376(_0x5a6a67,_0x52aad0))||_0x345998;}return _0x3c60ea>0x3&&_0x345998&&Object[_0x5d531f(0xa1)](_0x5a6a67,_0x52aad0,_0x345998),_0x345998;};Object[a1_0x42904e(0xa1)](exports,a1_0x42904e(0x9c),{'value':!![]}),exports[a1_0x42904e(0x9f)]=void 0x0;const decorator_1=require('@midwayjs/decorator'),ConfigDefault=require('./config/config.default');let CustomConfiguration=class CustomConfiguration{};CustomConfiguration=__decorate([(0x0,decorator_1['Configuration'])({'conflictCheck':![],'namespace':a1_0x42904e(0x98),'importConfigs':[{'default':ConfigDefault}]})],CustomConfiguration),exports[a1_0x42904e(0x9f)]=CustomConfiguration;
@@ -1 +1 @@
1
- 'use strict';const a2_0x5a08cb=a2_0x5bf4;function a2_0x5bf4(_0x103550,_0x21993f){const _0x8ae63f=a2_0x8ae6();return a2_0x5bf4=function(_0x5bf4c4,_0x460609){_0x5bf4c4=_0x5bf4c4-0x14d;let _0x3a417a=_0x8ae63f[_0x5bf4c4];return _0x3a417a;},a2_0x5bf4(_0x103550,_0x21993f);}(function(_0x1cd4d7,_0x3949f9){const _0x4dab4a=a2_0x5bf4,_0x11a029=_0x1cd4d7();while(!![]){try{const _0xf27d5c=-parseInt(_0x4dab4a(0x151))/0x1+-parseInt(_0x4dab4a(0x15a))/0x2*(parseInt(_0x4dab4a(0x150))/0x3)+parseInt(_0x4dab4a(0x162))/0x4+-parseInt(_0x4dab4a(0x161))/0x5*(parseInt(_0x4dab4a(0x14f))/0x6)+-parseInt(_0x4dab4a(0x163))/0x7+parseInt(_0x4dab4a(0x14e))/0x8+parseInt(_0x4dab4a(0x164))/0x9;if(_0xf27d5c===_0x3949f9)break;else _0x11a029['push'](_0x11a029['shift']());}catch(_0x1a35af){_0x11a029['push'](_0x11a029['shift']());}}}(a2_0x8ae6,0xc92df));function a2_0x8ae6(){const _0x102918=['8642416VBJkdG','78XDdtga','15YFbqEi','538937DXBBsC','parse','toString','getAsync','use','getApplicationContext','defineProperty','get','app','409646OXAScc','../service/CacheService','stringify','MethodDecorator','Cache','apply','__esModule','21765MXSBfQ','3485660MCGRgG','6654165FAxiQB','12982950FfnhHt','MD5','REQUEST_OBJ_CTX_KEY','value'];a2_0x8ae6=function(){return _0x102918;};return a2_0x8ae6();}Object[a2_0x5a08cb(0x157)](exports,a2_0x5a08cb(0x160),{'value':!![]}),exports[a2_0x5a08cb(0x15e)]=void 0x0;const crypto_js_1=require('crypto-js'),CacheService_1=require(a2_0x5a08cb(0x15b)),core_1=require('@midwayjs/core');function Cache(_0x5357c3,_0x5d2ff7){return(_0x3a8689,_0x1c7db3,_0x3d5660)=>{const _0x2cbfeb=a2_0x5bf4,_0x2a8010=_0x3d5660[_0x2cbfeb(0x14d)];return _0x3d5660[_0x2cbfeb(0x14d)]=async function(..._0xbc7a1c){const _0x1d6b79=_0x2cbfeb;!_0x5357c3&&(_0x5357c3=(0x0,crypto_js_1[_0x1d6b79(0x165)])(JSON[_0x1d6b79(0x15c)](_0xbc7a1c))[_0x1d6b79(0x153)]());let _0x142102=await this[core_1[_0x1d6b79(0x166)]][_0x1d6b79(0x159)][_0x1d6b79(0x156)]()[_0x1d6b79(0x154)](CacheService_1['CacheService']),_0x135e2b=await _0x142102[_0x1d6b79(0x155)](_0x1d6b79(0x15d))[_0x1d6b79(0x158)](_0x5357c3);if(_0x135e2b)return JSON[_0x1d6b79(0x152)](_0x135e2b);else _0x135e2b=await _0x2a8010[_0x1d6b79(0x15f)](this,[..._0xbc7a1c]),await _0x142102[_0x1d6b79(0x155)](_0x1d6b79(0x15d))['set'](_0x5357c3,JSON['stringify'](_0x135e2b),_0x5d2ff7);return _0x135e2b;},_0x3d5660;};}exports['Cache']=Cache;
1
+ 'use strict';const a2_0x4efeb1=a2_0x5b26;(function(_0x2b2f98,_0x8dfb17){const _0x4cc624=a2_0x5b26,_0x218563=_0x2b2f98();while(!![]){try{const _0x501892=parseInt(_0x4cc624(0xbf))/0x1+-parseInt(_0x4cc624(0xbb))/0x2+-parseInt(_0x4cc624(0xb4))/0x3*(parseInt(_0x4cc624(0xb3))/0x4)+-parseInt(_0x4cc624(0xc3))/0x5*(-parseInt(_0x4cc624(0xbc))/0x6)+-parseInt(_0x4cc624(0xba))/0x7+-parseInt(_0x4cc624(0xbd))/0x8*(parseInt(_0x4cc624(0xb2))/0x9)+-parseInt(_0x4cc624(0xae))/0xa*(-parseInt(_0x4cc624(0xc6))/0xb);if(_0x501892===_0x8dfb17)break;else _0x218563['push'](_0x218563['shift']());}catch(_0x45b1fd){_0x218563['push'](_0x218563['shift']());}}}(a2_0x5995,0xaefe6));Object['defineProperty'](exports,a2_0x4efeb1(0xb6),{'value':!![]}),exports['Cache']=void 0x0;const crypto_js_1=require('crypto-js'),CacheService_1=require(a2_0x4efeb1(0xb9)),core_1=require('@midwayjs/core');function a2_0x5995(){const _0x4e1b2d=['1378666iycywC','Cache','toString','apply','45sMWGIc','CacheService','use','10239218shIsCy','getAsync','REQUEST_OBJ_CTX_KEY','20XrEQhm','app','value','parse','2637wqFCIB','12ZRJumq','521739bDlnpy','stringify','__esModule','getApplicationContext','get','../service/CacheService','2884000hqyooK','2617546eFTHDG','399606yNcTeN','24040HzyDdG','MethodDecorator'];a2_0x5995=function(){return _0x4e1b2d;};return a2_0x5995();}function a2_0x5b26(_0x20fa73,_0x33c0ee){const _0x5995ec=a2_0x5995();return a2_0x5b26=function(_0x5b269b,_0x31d01a){_0x5b269b=_0x5b269b-0xae;let _0x575997=_0x5995ec[_0x5b269b];return _0x575997;},a2_0x5b26(_0x20fa73,_0x33c0ee);}function Cache(_0x4befdc,_0x90bb28){return(_0x272978,_0x176602,_0x5a1606)=>{const _0x4f955f=a2_0x5b26,_0x5023c4=_0x5a1606[_0x4f955f(0xb0)];return _0x5a1606['value']=async function(..._0x2b5eb0){const _0x3b020e=_0x4f955f;!_0x4befdc&&(_0x4befdc=(0x0,crypto_js_1['MD5'])(JSON[_0x3b020e(0xb5)](_0x2b5eb0))[_0x3b020e(0xc1)]());let _0xc14eda=await this[core_1[_0x3b020e(0xc8)]][_0x3b020e(0xaf)][_0x3b020e(0xb7)]()[_0x3b020e(0xc7)](CacheService_1[_0x3b020e(0xc4)]),_0x5cff99=await _0xc14eda[_0x3b020e(0xc5)](_0x3b020e(0xbe))[_0x3b020e(0xb8)](_0x4befdc);if(_0x5cff99)return JSON[_0x3b020e(0xb1)](_0x5cff99);else _0x5cff99=await _0x5023c4[_0x3b020e(0xc2)](this,[..._0x2b5eb0]),await _0xc14eda[_0x3b020e(0xc5)]('MethodDecorator')['set'](_0x4befdc,JSON[_0x3b020e(0xb5)](_0x5cff99),_0x90bb28);return _0x5cff99;},_0x5a1606;};}exports[a2_0x4efeb1(0xc0)]=Cache;
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function a3_0x587b(_0x4233f7,_0x2ddd2f){var _0x228dc1=a3_0x228d();return a3_0x587b=function(_0x587bf8,_0x29496e){_0x587bf8=_0x587bf8-0x13f;var _0x2a39d1=_0x228dc1[_0x587bf8];return _0x2a39d1;},a3_0x587b(_0x4233f7,_0x2ddd2f);}var a3_0x590539=a3_0x587b;(function(_0x562c1a,_0x29710f){var _0x4e6d90=a3_0x587b,_0x292537=_0x562c1a();while(!![]){try{var _0x397246=-parseInt(_0x4e6d90(0x143))/0x1*(-parseInt(_0x4e6d90(0x142))/0x2)+parseInt(_0x4e6d90(0x144))/0x3*(-parseInt(_0x4e6d90(0x14a))/0x4)+parseInt(_0x4e6d90(0x140))/0x5*(parseInt(_0x4e6d90(0x13f))/0x6)+-parseInt(_0x4e6d90(0x14b))/0x7*(parseInt(_0x4e6d90(0x14c))/0x8)+parseInt(_0x4e6d90(0x14f))/0x9+parseInt(_0x4e6d90(0x14d))/0xa+parseInt(_0x4e6d90(0x149))/0xb;if(_0x397246===_0x29710f)break;else _0x292537['push'](_0x292537['shift']());}catch(_0x5e9cea){_0x292537['push'](_0x292537['shift']());}}}(a3_0x228d,0xa6d87));Object[a3_0x590539(0x150)](exports,a3_0x590539(0x141),{'value':!![]}),exports['CacheService']=exports['Cache']=exports[a3_0x590539(0x14e)]=void 0x0;var configuration_1=require('./configuration');Object['defineProperty'](exports,a3_0x590539(0x14e),{'enumerable':!![],'get':function(){var _0x5c9743=a3_0x590539;return configuration_1[_0x5c9743(0x145)];}});var Cache_1=require(a3_0x590539(0x146));Object['defineProperty'](exports,a3_0x590539(0x148),{'enumerable':!![],'get':function(){var _0x2d3e7e=a3_0x590539;return Cache_1[_0x2d3e7e(0x148)];}});function a3_0x228d(){var _0x359ff0=['49079qdsfwt','3043911KbCfHE','CustomConfiguration','./decorator/Cache','CacheService','Cache','6515773ygvKPw','4yrkdXU','12642CxlkHH','3208ZiyrHC','3041410ncOUQT','Configuration','3679578YVNNaY','defineProperty','6138JmYUpH','3540SThNpX','__esModule','16MKQhJB'];a3_0x228d=function(){return _0x359ff0;};return a3_0x228d();}var CacheService_1=require('./service/CacheService');Object[a3_0x590539(0x150)](exports,a3_0x590539(0x147),{'enumerable':!![],'get':function(){return CacheService_1['CacheService'];}});
1
+ 'use strict';var a3_0x2d973f=a3_0x4907;(function(_0x5be702,_0x59f879){var _0x139f98=a3_0x4907,_0x5d7638=_0x5be702();while(!![]){try{var _0x5562e2=parseInt(_0x139f98(0xb2))/0x1*(-parseInt(_0x139f98(0xb1))/0x2)+-parseInt(_0x139f98(0xb0))/0x3*(parseInt(_0x139f98(0xad))/0x4)+-parseInt(_0x139f98(0xa5))/0x5*(parseInt(_0x139f98(0xaa))/0x6)+-parseInt(_0x139f98(0xa6))/0x7+-parseInt(_0x139f98(0xae))/0x8+-parseInt(_0x139f98(0xa9))/0x9+parseInt(_0x139f98(0xb3))/0xa;if(_0x5562e2===_0x59f879)break;else _0x5d7638['push'](_0x5d7638['shift']());}catch(_0x5f20f5){_0x5d7638['push'](_0x5d7638['shift']());}}}(a3_0x143d,0xb386e));Object[a3_0x2d973f(0xab)](exports,a3_0x2d973f(0xa7),{'value':!![]}),exports['CacheService']=exports[a3_0x2d973f(0xac)]=exports['Configuration']=void 0x0;var configuration_1=require(a3_0x2d973f(0xaf));function a3_0x143d(){var _0x34b2a6=['./service/CacheService','CustomConfiguration','3085vVlSdg','1162616GjRHtn','__esModule','./decorator/Cache','4157262yWyrko','348NpVwII','defineProperty','Cache','4CRvNnG','4370688WxFkhY','./configuration','2650722JHHJLI','476okazkc','3761UGZTbU','37241620UFptiu'];a3_0x143d=function(){return _0x34b2a6;};return a3_0x143d();}Object[a3_0x2d973f(0xab)](exports,'Configuration',{'enumerable':!![],'get':function(){var _0x4ce152=a3_0x2d973f;return configuration_1[_0x4ce152(0xa4)];}});var Cache_1=require(a3_0x2d973f(0xa8));Object[a3_0x2d973f(0xab)](exports,a3_0x2d973f(0xac),{'enumerable':!![],'get':function(){return Cache_1['Cache'];}});function a3_0x4907(_0x254178,_0x5b0158){var _0x143d08=a3_0x143d();return a3_0x4907=function(_0x49070c,_0x3493a0){_0x49070c=_0x49070c-0xa3;var _0x425ed6=_0x143d08[_0x49070c];return _0x425ed6;},a3_0x4907(_0x254178,_0x5b0158);}var CacheService_1=require(a3_0x2d973f(0xa3));Object['defineProperty'](exports,'CacheService',{'enumerable':!![],'get':function(){return CacheService_1['CacheService'];}});
@@ -1 +1 @@
1
- 'use strict';var a4_0x10a906=a4_0x3d8e;(function(_0x1f3474,_0x5368e5){var _0x401a13=a4_0x3d8e,_0x3d6c5e=_0x1f3474();while(!![]){try{var _0x2c635c=parseInt(_0x401a13(0x15f))/0x1+parseInt(_0x401a13(0x14d))/0x2*(parseInt(_0x401a13(0x159))/0x3)+-parseInt(_0x401a13(0x146))/0x4*(-parseInt(_0x401a13(0x165))/0x5)+parseInt(_0x401a13(0x171))/0x6*(-parseInt(_0x401a13(0x169))/0x7)+parseInt(_0x401a13(0x149))/0x8*(-parseInt(_0x401a13(0x16c))/0x9)+parseInt(_0x401a13(0x164))/0xa+-parseInt(_0x401a13(0x15e))/0xb*(parseInt(_0x401a13(0x15a))/0xc);if(_0x2c635c===_0x5368e5)break;else _0x3d6c5e['push'](_0x3d6c5e['shift']());}catch(_0x553167){_0x3d6c5e['push'](_0x3d6c5e['shift']());}}}(a4_0x2353,0x96d22));var __decorate=this&&this['__decorate']||function(_0x2197ca,_0x599ff3,_0x496630,_0x1c1ee3){var _0x3d6008=a4_0x3d8e,_0x1846ba=arguments[_0x3d6008(0x151)],_0x20f217=_0x1846ba<0x3?_0x599ff3:_0x1c1ee3===null?_0x1c1ee3=Object[_0x3d6008(0x162)](_0x599ff3,_0x496630):_0x1c1ee3,_0x588a4b;if(typeof Reflect===_0x3d6008(0x153)&&typeof Reflect[_0x3d6008(0x154)]===_0x3d6008(0x15b))_0x20f217=Reflect[_0x3d6008(0x154)](_0x2197ca,_0x599ff3,_0x496630,_0x1c1ee3);else{for(var _0x5c676c=_0x2197ca[_0x3d6008(0x151)]-0x1;_0x5c676c>=0x0;_0x5c676c--)if(_0x588a4b=_0x2197ca[_0x5c676c])_0x20f217=(_0x1846ba<0x3?_0x588a4b(_0x20f217):_0x1846ba>0x3?_0x588a4b(_0x599ff3,_0x496630,_0x20f217):_0x588a4b(_0x599ff3,_0x496630))||_0x20f217;}return _0x1846ba>0x3&&_0x20f217&&Object[_0x3d6008(0x14c)](_0x599ff3,_0x496630,_0x20f217),_0x20f217;},__metadata=this&&this[a4_0x10a906(0x16d)]||function(_0x44b9f9,_0x4d09f0){var _0x103d70=a4_0x10a906;if(typeof Reflect==='object'&&typeof Reflect[_0x103d70(0x16a)]==='function')return Reflect[_0x103d70(0x16a)](_0x44b9f9,_0x4d09f0);};Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[a4_0x10a906(0x15d)]=void 0x0;function a4_0x3d8e(_0x5da603,_0x51623c){var _0x2353d9=a4_0x2353();return a4_0x3d8e=function(_0x3d8ed9,_0x464ef7){_0x3d8ed9=_0x3d8ed9-0x145;var _0x3829c3=_0x2353d9[_0x3d8ed9];return _0x3829c3;},a4_0x3d8e(_0x5da603,_0x51623c);}function a4_0x2353(){var _0x37c5b8=['hget','ScopeEnum','length','set','object','decorate','prototype','get','hset','design:type','3009VifvEi','109068QDXjqU','function','prefix','CacheService','1529VyYMxH','1088726NRMfyy','cache','reset','getOwnPropertyDescriptor','Singleton','1497230TxbhXV','55hVEwKP','Config','Scope','stores','7LcImjN','metadata','cache-manager','2526705zPvjMh','__metadata','@midwayjs/decorator','default','use','2702514rMZYem','caching','224212NDiZmA','options','config','8VlOMSA','del','hdel','defineProperty','1510IhMrpr','clients'];a4_0x2353=function(){return _0x37c5b8;};return a4_0x2353();}const cacheManager=require(a4_0x10a906(0x16b)),decorator_1=require(a4_0x10a906(0x16e));let CacheService=class CacheService{constructor(){var _0x2512c8=a4_0x10a906;this[_0x2512c8(0x160)]=undefined,this[_0x2512c8(0x14e)]=new Map();}[a4_0x10a906(0x170)](_0x532876){var _0x6b85f5=a4_0x10a906,_0x584e0d,_0x584cc7;if(!this[_0x6b85f5(0x160)]){const _0x3a4056=((_0x584e0d=this[_0x6b85f5(0x148)][_0x6b85f5(0x168)])===null||_0x584e0d===void 0x0?void 0x0:_0x584e0d[(_0x584cc7=this[_0x6b85f5(0x148)][_0x6b85f5(0x160)])===null||_0x584cc7===void 0x0?void 0x0:_0x584cc7[_0x6b85f5(0x16f)]])||this[_0x6b85f5(0x148)][_0x6b85f5(0x168)]['file'];this['cache']=cacheManager[_0x6b85f5(0x145)]({..._0x3a4056[_0x6b85f5(0x147)],'store':_0x3a4056['store']});}return!this[_0x6b85f5(0x14e)]['has'](_0x532876)&&this['clients'][_0x6b85f5(0x152)](_0x532876,new CacheHandler(_0x532876,this[_0x6b85f5(0x160)])),this['clients'][_0x6b85f5(0x156)](_0x532876);}async['reset'](){var _0x2d03bf=a4_0x10a906;return await this[_0x2d03bf(0x160)][_0x2d03bf(0x161)]();}};__decorate([(0x0,decorator_1[a4_0x10a906(0x166)])(a4_0x10a906(0x160)),__metadata(a4_0x10a906(0x158),Object)],CacheService[a4_0x10a906(0x155)],'config',void 0x0),CacheService=__decorate([(0x0,decorator_1['Provide'])(),(0x0,decorator_1[a4_0x10a906(0x167)])(decorator_1[a4_0x10a906(0x150)][a4_0x10a906(0x163)])],CacheService),exports[a4_0x10a906(0x15d)]=CacheService;class CacheHandler{constructor(_0x78bc30,_0x4013f5){var _0xdb9110=a4_0x10a906;this[_0xdb9110(0x160)]=_0x4013f5,this['prefix']=_0x78bc30;}async[a4_0x10a906(0x14a)](_0x3367df){var _0x5b9ea1=a4_0x10a906;return await this['cache']['del'](this[_0x5b9ea1(0x15c)]+':'+_0x3367df);}async[a4_0x10a906(0x152)](_0x9d5bcf,_0x348b73,_0x366fdd){var _0x187d28=a4_0x10a906;return await this[_0x187d28(0x160)][_0x187d28(0x152)](this['prefix']+':'+_0x9d5bcf,_0x348b73,_0x366fdd);}async[a4_0x10a906(0x156)](_0x1a1d17,_0x357a58){return new Promise((_0x25c257,_0x396650)=>{var _0xdb0214=a4_0x3d8e;this[_0xdb0214(0x160)][_0xdb0214(0x156)](this[_0xdb0214(0x15c)]+':'+_0x1a1d17,(_0x349756,_0x31b2bb)=>{_0x349756?_0x396650(_0x349756):_0x25c257(_0x31b2bb||_0x357a58);});});}async[a4_0x10a906(0x14b)](_0x339a53,_0x66b6e0){return await this['del'](_0x339a53+'-'+_0x66b6e0);}async[a4_0x10a906(0x157)](_0x264362,_0x437f45,_0x561d4f,_0x387098){var _0x5051a8=a4_0x10a906;return await this[_0x5051a8(0x152)](_0x264362+'-'+_0x437f45,_0x561d4f,_0x387098);}async[a4_0x10a906(0x14f)](_0x2cdec1,_0x1b5ed4,_0x3ff199){var _0x4e9af1=a4_0x10a906;return await this[_0x4e9af1(0x156)](_0x2cdec1+'-'+_0x1b5ed4,_0x3ff199);}}
1
+ 'use strict';function a4_0xa8fd(_0x2a8157,_0x1322d2){var _0x562389=a4_0x5623();return a4_0xa8fd=function(_0xa8fdc9,_0x268d84){_0xa8fdc9=_0xa8fdc9-0x173;var _0x1b0615=_0x562389[_0xa8fdc9];return _0x1b0615;},a4_0xa8fd(_0x2a8157,_0x1322d2);}var a4_0x76c570=a4_0xa8fd;(function(_0x290530,_0x43e583){var _0x232335=a4_0xa8fd,_0x50a721=_0x290530();while(!![]){try{var _0x9c1a37=parseInt(_0x232335(0x195))/0x1*(-parseInt(_0x232335(0x17a))/0x2)+-parseInt(_0x232335(0x18d))/0x3*(parseInt(_0x232335(0x194))/0x4)+-parseInt(_0x232335(0x186))/0x5+parseInt(_0x232335(0x19d))/0x6+-parseInt(_0x232335(0x197))/0x7*(parseInt(_0x232335(0x19e))/0x8)+-parseInt(_0x232335(0x192))/0x9*(parseInt(_0x232335(0x187))/0xa)+-parseInt(_0x232335(0x19c))/0xb*(-parseInt(_0x232335(0x18f))/0xc);if(_0x9c1a37===_0x43e583)break;else _0x50a721['push'](_0x50a721['shift']());}catch(_0xe4a24d){_0x50a721['push'](_0x50a721['shift']());}}}(a4_0x5623,0xdd2dc));function a4_0x5623(){var _0x47140c=['defineProperty','set','264105SfwusC','reset','334388ldvSsX','4MOOaQY','prefix','274267HYIykI','@midwayjs/decorator','del','file','function','374XFDraM','10673796scEweZ','8PBDTde','default','cache','__decorate','metadata','object','CacheService','caching','702440LWdhZK','Scope','__metadata','hset','config','use','Singleton','store','clients','design:type','__esModule','hdel','3003760NujZzD','170PGIEZA','stores','cache-manager','Provide','decorate','has','12ZMSClx','get','707664eisoEG'];a4_0x5623=function(){return _0x47140c;};return a4_0x5623();}var __decorate=this&&this[a4_0x76c570(0x175)]||function(_0x5e1afa,_0x457299,_0x446b28,_0x598631){var _0x3f1502=a4_0x76c570,_0x1a1d02=arguments['length'],_0x58122d=_0x1a1d02<0x3?_0x457299:_0x598631===null?_0x598631=Object['getOwnPropertyDescriptor'](_0x457299,_0x446b28):_0x598631,_0xfe140c;if(typeof Reflect===_0x3f1502(0x177)&&typeof Reflect[_0x3f1502(0x18b)]===_0x3f1502(0x19b))_0x58122d=Reflect[_0x3f1502(0x18b)](_0x5e1afa,_0x457299,_0x446b28,_0x598631);else{for(var _0x3e895b=_0x5e1afa['length']-0x1;_0x3e895b>=0x0;_0x3e895b--)if(_0xfe140c=_0x5e1afa[_0x3e895b])_0x58122d=(_0x1a1d02<0x3?_0xfe140c(_0x58122d):_0x1a1d02>0x3?_0xfe140c(_0x457299,_0x446b28,_0x58122d):_0xfe140c(_0x457299,_0x446b28))||_0x58122d;}return _0x1a1d02>0x3&&_0x58122d&&Object[_0x3f1502(0x190)](_0x457299,_0x446b28,_0x58122d),_0x58122d;},__metadata=this&&this[a4_0x76c570(0x17c)]||function(_0x3dd78b,_0x32946e){var _0x54baf4=a4_0x76c570;if(typeof Reflect===_0x54baf4(0x177)&&typeof Reflect[_0x54baf4(0x176)]===_0x54baf4(0x19b))return Reflect['metadata'](_0x3dd78b,_0x32946e);};Object['defineProperty'](exports,a4_0x76c570(0x184),{'value':!![]}),exports[a4_0x76c570(0x178)]=void 0x0;const cacheManager=require(a4_0x76c570(0x189)),decorator_1=require(a4_0x76c570(0x198));let CacheService=class CacheService{constructor(){var _0x4be356=a4_0x76c570;this[_0x4be356(0x174)]=undefined,this['clients']=new Map();}[a4_0x76c570(0x17f)](_0x4bfe2d){var _0x14c310=a4_0x76c570,_0xfeddfa,_0x13ef82;if(!this[_0x14c310(0x174)]){const _0x344ee1=((_0xfeddfa=this['config'][_0x14c310(0x188)])===null||_0xfeddfa===void 0x0?void 0x0:_0xfeddfa[(_0x13ef82=this[_0x14c310(0x17e)][_0x14c310(0x174)])===null||_0x13ef82===void 0x0?void 0x0:_0x13ef82[_0x14c310(0x173)]])||this[_0x14c310(0x17e)][_0x14c310(0x188)][_0x14c310(0x19a)];this[_0x14c310(0x174)]=cacheManager[_0x14c310(0x179)]({..._0x344ee1['options'],'store':_0x344ee1[_0x14c310(0x181)]});}return!this[_0x14c310(0x182)][_0x14c310(0x18c)](_0x4bfe2d)&&this[_0x14c310(0x182)]['set'](_0x4bfe2d,new CacheHandler(_0x4bfe2d,this[_0x14c310(0x174)])),this['clients'][_0x14c310(0x18e)](_0x4bfe2d);}async[a4_0x76c570(0x193)](){var _0x4f09da=a4_0x76c570;return await this[_0x4f09da(0x174)][_0x4f09da(0x193)]();}};__decorate([(0x0,decorator_1['Config'])('cache'),__metadata(a4_0x76c570(0x183),Object)],CacheService['prototype'],a4_0x76c570(0x17e),void 0x0),CacheService=__decorate([(0x0,decorator_1[a4_0x76c570(0x18a)])(),(0x0,decorator_1[a4_0x76c570(0x17b)])(decorator_1['ScopeEnum'][a4_0x76c570(0x180)])],CacheService),exports[a4_0x76c570(0x178)]=CacheService;class CacheHandler{constructor(_0x5b04bc,_0x482511){var _0x324e77=a4_0x76c570;this[_0x324e77(0x174)]=_0x482511,this[_0x324e77(0x196)]=_0x5b04bc;}async['del'](_0xfc3846){var _0x46911d=a4_0x76c570;return await this['cache'][_0x46911d(0x199)](this[_0x46911d(0x196)]+':'+_0xfc3846);}async[a4_0x76c570(0x191)](_0x113719,_0x547a33,_0xc7b2ef){var _0x500fb1=a4_0x76c570;return await this[_0x500fb1(0x174)][_0x500fb1(0x191)](this[_0x500fb1(0x196)]+':'+_0x113719,_0x547a33,_0xc7b2ef);}async['get'](_0x4fc77d,_0x129aa3){return new Promise((_0x2b1fc0,_0x278fe1)=>{var _0x4428fc=a4_0xa8fd;this[_0x4428fc(0x174)][_0x4428fc(0x18e)](this[_0x4428fc(0x196)]+':'+_0x4fc77d,(_0x341af4,_0x6a8cbd)=>{_0x341af4?_0x278fe1(_0x341af4):_0x2b1fc0(_0x6a8cbd||_0x129aa3);});});}async[a4_0x76c570(0x185)](_0x3e2a79,_0x5bef64){var _0x3fec88=a4_0x76c570;return await this[_0x3fec88(0x199)](_0x3e2a79+'-'+_0x5bef64);}async[a4_0x76c570(0x17d)](_0x57099a,_0x3627bb,_0x4e3949,_0x19a34d){return await this['set'](_0x57099a+'-'+_0x3627bb,_0x4e3949,_0x19a34d);}async['hget'](_0x118ad2,_0xcbabee,_0x55e601){var _0x205886=a4_0x76c570;return await this[_0x205886(0x18e)](_0x118ad2+'-'+_0xcbabee,_0x55e601);}}