@anncic-api/validator 1.0.11 → 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.
@@ -2,19 +2,14 @@ import * as Joi from "joi";
2
2
  import { MidwayI18nServiceSingleton } from '@midwayjs/i18n';
3
3
  export declare class ValidatorService {
4
4
  protected i18nConfig: any;
5
- protected validateConfig: any;
5
+ protected validatorConfig: any;
6
6
  protected i18nService: MidwayI18nServiceSingleton;
7
7
  protected messages: {};
8
- function(): Promise<void>;
8
+ init(): Promise<void>;
9
9
  getSchema<T extends new (...args: any[]) => any>(ClzType: T): Joi.ObjectSchema<any> | undefined;
10
- validateWithSchema<T>(schema: Joi.ObjectSchema<any>, value: any, options?: {
11
- locale?: string;
12
- errorStatus?: number;
13
- validationOptions?: Joi.ValidationOptions;
14
- }): any | undefined;
15
- validate<T extends new (...args: any[]) => any>(ClzType: T, value: any, options?: {
10
+ validator<T extends new (...args: any[]) => any>(ClzType: T | Joi.ObjectSchema<any>, value: any, options?: {
16
11
  errorStatus?: number;
17
12
  locale?: string;
18
13
  validationOptions?: Joi.ValidationOptions;
19
- }): any | undefined;
14
+ }): any;
20
15
  }
@@ -1 +1 @@
1
- 'use strict';const a10_0x4b07bd=a10_0x27fb;(function(_0x34ad56,_0x48fd55){const _0xc8cb54=a10_0x27fb,_0x207008=_0x34ad56();while(!![]){try{const _0x130095=-parseInt(_0xc8cb54(0x1b3))/0x1*(-parseInt(_0xc8cb54(0x1da))/0x2)+parseInt(_0xc8cb54(0x1aa))/0x3+-parseInt(_0xc8cb54(0x1c8))/0x4*(-parseInt(_0xc8cb54(0x1dd))/0x5)+parseInt(_0xc8cb54(0x1c4))/0x6*(parseInt(_0xc8cb54(0x1d0))/0x7)+parseInt(_0xc8cb54(0x1b9))/0x8*(-parseInt(_0xc8cb54(0x1cb))/0x9)+-parseInt(_0xc8cb54(0x1af))/0xa*(-parseInt(_0xc8cb54(0x1a8))/0xb)+-parseInt(_0xc8cb54(0x1b5))/0xc;if(_0x130095===_0x48fd55)break;else _0x207008['push'](_0x207008['shift']());}catch(_0x224693){_0x207008['push'](_0x207008['shift']());}}}(a10_0x3523,0x42c24));var __decorate=this&&this[a10_0x4b07bd(0x1d1)]||function(_0x560215,_0x2a958a,_0x3df4b9,_0x110447){const _0x15773b=a10_0x4b07bd;var _0x58da40=arguments[_0x15773b(0x1cc)],_0x129334=_0x58da40<0x3?_0x2a958a:_0x110447===null?_0x110447=Object[_0x15773b(0x1ca)](_0x2a958a,_0x3df4b9):_0x110447,_0x55e813;if(typeof Reflect===_0x15773b(0x1b7)&&typeof Reflect[_0x15773b(0x1df)]==='function')_0x129334=Reflect[_0x15773b(0x1df)](_0x560215,_0x2a958a,_0x3df4b9,_0x110447);else{for(var _0x5a1d09=_0x560215[_0x15773b(0x1cc)]-0x1;_0x5a1d09>=0x0;_0x5a1d09--)if(_0x55e813=_0x560215[_0x5a1d09])_0x129334=(_0x58da40<0x3?_0x55e813(_0x129334):_0x58da40>0x3?_0x55e813(_0x2a958a,_0x3df4b9,_0x129334):_0x55e813(_0x2a958a,_0x3df4b9))||_0x129334;}return _0x58da40>0x3&&_0x129334&&Object['defineProperty'](_0x2a958a,_0x3df4b9,_0x129334),_0x129334;},__metadata=this&&this['__metadata']||function(_0x3af5c1,_0x179a3e){const _0x3f049e=a10_0x4b07bd;if(typeof Reflect==='object'&&typeof Reflect[_0x3f049e(0x1d3)]==='function')return Reflect['metadata'](_0x3af5c1,_0x179a3e);};function a10_0x3523(){const _0x52529e=['getAvailableLocale','validateWithSchema','fromEntries','defaultLocale','$_terms','6Biusvl','i18nService','messages','assign','29948MFGbmC','formatLocale','getOwnPropertyDescriptor','18dbHFsE','length','ValidatorService','../interface','defineProperty','1699530QTSYmr','__decorate','__esModule','metadata','function','type','MidwayI18nServiceSingleton','prototype','schema','key','237492aJRRhO','getSchema','locale','145wKXQSJ','Inject','decorate','Singleton','joi','language','design:type','value','i18n','errors','keys','_flags','validate','203797iLxrUH','../exception/ValidatorError','897654tCkxTi','YYYY-MM-DD\x20HH:mm:ss','Provide','Config','RULES_KEY','30qcfyKa','Scope','@midwayjs/decorator','validateConfig','2isITux','Init','2877552PnNTHJ','design:paramtypes','object','format','2155856aSoAJp','i18nConfig','@midwayjs/i18n','localeTable','validationOptions','PARAMS'];a10_0x3523=function(){return _0x52529e;};return a10_0x3523();}Object[a10_0x4b07bd(0x1cf)](exports,a10_0x4b07bd(0x1d2),{'value':!![]}),exports[a10_0x4b07bd(0x1cd)]=void 0x0;const Joi=require(a10_0x4b07bd(0x1e1)),i18n_1=require(a10_0x4b07bd(0x1bb)),decorator_1=require(a10_0x4b07bd(0x1b1)),interface_1=require(a10_0x4b07bd(0x1ce)),ValidatorError_1=require(a10_0x4b07bd(0x1a9));function a10_0x27fb(_0x41095b,_0xaffa36){const _0x35232e=a10_0x3523();return a10_0x27fb=function(_0x27fb51,_0x458862){_0x27fb51=_0x27fb51-0x1a3;let _0xae6ad7=_0x35232e[_0x27fb51];return _0xae6ad7;},a10_0x27fb(_0x41095b,_0xaffa36);}let ValidatorService=class ValidatorService{constructor(){this['messages']={};}async[a10_0x4b07bd(0x1d4)](){const _0x4555f9=a10_0x4b07bd,_0xae04eb=Object['keys'](this[_0x4555f9(0x1ba)][_0x4555f9(0x1bc)]);_0xae04eb['forEach'](_0x173775=>{const _0x4b0f3f=_0x4555f9;this['messages'][(0x0,i18n_1['formatLocale'])(_0x173775)]=Object[_0x4b0f3f(0x1c1)](this[_0x4b0f3f(0x1c5)]['getLocaleMapping'](_0x173775,'validate'));});}[a10_0x4b07bd(0x1db)](_0x338dca){const _0x2ef37b=a10_0x4b07bd,_0x4c05db=(0x0,decorator_1['getClassExtendedMetadata'])(interface_1[_0x2ef37b(0x1ae)],_0x338dca);return _0x4c05db?Joi[_0x2ef37b(0x1b7)](_0x4c05db):undefined;}[a10_0x4b07bd(0x1c0)](_0x5a9f11,_0x5dd6e2,_0x3dbc95={}){const _0x396b45=a10_0x4b07bd;var _0x4a3472,_0x456c54;_0x3dbc95[_0x396b45(0x1bd)]=Object[_0x396b45(0x1c7)]((_0x4a3472=this['validateConfig'][_0x396b45(0x1bd)])!==null&&_0x4a3472!==void 0x0?_0x4a3472:{},{'messages':this[_0x396b45(0x1c6)]},_0x3dbc95['validationOptions']||{}),_0x3dbc95[_0x396b45(0x1bd)]['errors']=_0x3dbc95[_0x396b45(0x1bd)][_0x396b45(0x1a4)]||{},_0x3dbc95[_0x396b45(0x1bd)][_0x396b45(0x1a4)]['language']=(0x0,i18n_1[_0x396b45(0x1c9)])(this[_0x396b45(0x1c5)][_0x396b45(0x1bf)](_0x3dbc95[_0x396b45(0x1bd)]['errors'][_0x396b45(0x1e2)]||_0x3dbc95[_0x396b45(0x1dc)]||this[_0x396b45(0x1ba)][_0x396b45(0x1c2)],_0x396b45(0x1a7)));const _0x234d96=_0x5a9f11[_0x396b45(0x1a7)](_0x5dd6e2,_0x3dbc95[_0x396b45(0x1bd)]);if(_0x234d96===null||_0x234d96===void 0x0?void 0x0:_0x234d96['error'])throw new AnnError(ValidatorError_1['ValidatorError'][_0x396b45(0x1be)],{'validator':_0x234d96['error']});else{if(_0x234d96===null||_0x234d96===void 0x0?void 0x0:_0x234d96['value']){const _0x35fd6a=(_0x456c54=_0x5a9f11===null||_0x5a9f11===void 0x0?void 0x0:_0x5a9f11[_0x396b45(0x1c3)])===null||_0x456c54===void 0x0?void 0x0:_0x456c54[_0x396b45(0x1a5)],_0x46370d=function(_0x2bdfbd,_0x4450a1){const _0x3c7d1e=_0x396b45;var _0x363616,_0xccfffa,_0x34ebb1,_0x1c5695,_0x2c4676,_0x371698,_0x4b4baf,_0x518e82,_0x4634db,_0x4b4158,_0x5d9a14;for(let _0x434a85 in _0x2bdfbd){if(_0x4450a1[(_0x363616=_0x2bdfbd[_0x434a85])===null||_0x363616===void 0x0?void 0x0:_0x363616['key']]&&((_0x34ebb1=(_0xccfffa=_0x2bdfbd[_0x434a85])===null||_0xccfffa===void 0x0?void 0x0:_0xccfffa[_0x3c7d1e(0x1d8)])===null||_0x34ebb1===void 0x0?void 0x0:_0x34ebb1[_0x3c7d1e(0x1d5)])){if(((_0x2c4676=(_0x1c5695=_0x2bdfbd[_0x434a85])===null||_0x1c5695===void 0x0?void 0x0:_0x1c5695[_0x3c7d1e(0x1d8)])===null||_0x2c4676===void 0x0?void 0x0:_0x2c4676[_0x3c7d1e(0x1d5)])==_0x3c7d1e(0x1b7))_0x4450a1[_0x2bdfbd[_0x434a85][_0x3c7d1e(0x1d9)]]=_0x46370d((_0x4b4baf=(_0x371698=_0x2bdfbd[_0x434a85])===null||_0x371698===void 0x0?void 0x0:_0x371698[_0x3c7d1e(0x1d8)][_0x3c7d1e(0x1c3)])===null||_0x4b4baf===void 0x0?void 0x0:_0x4b4baf['keys'],_0x4450a1[_0x2bdfbd[_0x434a85]['key']]);else{if(_0x2bdfbd[_0x434a85][_0x3c7d1e(0x1d8)][_0x3c7d1e(0x1d5)]=='date'&&_0x234d96[_0x3c7d1e(0x1e4)][(_0x518e82=_0x2bdfbd[_0x434a85])===null||_0x518e82===void 0x0?void 0x0:_0x518e82[_0x3c7d1e(0x1d9)]]){const _0x1be987=((_0x5d9a14=(_0x4b4158=(_0x4634db=_0x2bdfbd[_0x434a85])===null||_0x4634db===void 0x0?void 0x0:_0x4634db[_0x3c7d1e(0x1d8)])===null||_0x4b4158===void 0x0?void 0x0:_0x4b4158[_0x3c7d1e(0x1a6)])===null||_0x5d9a14===void 0x0?void 0x0:_0x5d9a14[_0x3c7d1e(0x1b8)])||_0x3c7d1e(0x1ab);_0x4450a1[_0x2bdfbd[_0x434a85][_0x3c7d1e(0x1d9)]]=dayjs(_0x234d96[_0x3c7d1e(0x1e4)][_0x2bdfbd[_0x434a85]['key']])[_0x3c7d1e(0x1b8)](_0x1be987);}}}}return _0x4450a1;};return _0x46370d(_0x35fd6a,_0x234d96[_0x396b45(0x1e4)]);}}return undefined;}['validate'](_0x568d08,_0x5a9f0f,_0x2f2f01={}){const _0x7f48c6=a10_0x4b07bd,_0x25d35c=this[_0x7f48c6(0x1db)](_0x568d08);return _0x25d35c?this[_0x7f48c6(0x1c0)](_0x25d35c,_0x5a9f0f,_0x2f2f01):undefined;}};__decorate([(0x0,decorator_1['Config'])(a10_0x4b07bd(0x1a3)),__metadata(a10_0x4b07bd(0x1e3),Object)],ValidatorService[a10_0x4b07bd(0x1d7)],'i18nConfig',void 0x0),__decorate([(0x0,decorator_1[a10_0x4b07bd(0x1ad)])(a10_0x4b07bd(0x1a7)),__metadata(a10_0x4b07bd(0x1e3),Object)],ValidatorService[a10_0x4b07bd(0x1d7)],a10_0x4b07bd(0x1b2),void 0x0),__decorate([(0x0,decorator_1[a10_0x4b07bd(0x1de)])(),__metadata('design:type',i18n_1[a10_0x4b07bd(0x1d6)])],ValidatorService[a10_0x4b07bd(0x1d7)],a10_0x4b07bd(0x1c5),void 0x0),__decorate([(0x0,decorator_1[a10_0x4b07bd(0x1b4)])(),__metadata('design:type',Function),__metadata(a10_0x4b07bd(0x1b6),[]),__metadata('design:returntype',Promise)],ValidatorService['prototype'],a10_0x4b07bd(0x1d4),null),ValidatorService=__decorate([(0x0,decorator_1[a10_0x4b07bd(0x1ac)])(a10_0x4b07bd(0x1a7)),(0x0,decorator_1[a10_0x4b07bd(0x1b0)])(decorator_1['ScopeEnum'][a10_0x4b07bd(0x1e0)])],ValidatorService),exports[a10_0x4b07bd(0x1cd)]=ValidatorService;
1
+ 'use strict';const a10_0x1fc544=a10_0x5071;function a10_0x5071(_0x50acec,_0x349089){const _0x10aaed=a10_0x10aa();return a10_0x5071=function(_0x5071d0,_0x1b2bfc){_0x5071d0=_0x5071d0-0xbf;let _0x4b2099=_0x10aaed[_0x5071d0];return _0x4b2099;},a10_0x5071(_0x50acec,_0x349089);}(function(_0x3b6e64,_0x306a7d){const _0x21d6b9=a10_0x5071,_0x2f9317=_0x3b6e64();while(!![]){try{const _0x3ecdd5=-parseInt(_0x21d6b9(0xf8))/0x1+parseInt(_0x21d6b9(0xdf))/0x2+-parseInt(_0x21d6b9(0xd5))/0x3+-parseInt(_0x21d6b9(0xd2))/0x4+-parseInt(_0x21d6b9(0xfa))/0x5*(parseInt(_0x21d6b9(0xfb))/0x6)+parseInt(_0x21d6b9(0xeb))/0x7*(-parseInt(_0x21d6b9(0xee))/0x8)+parseInt(_0x21d6b9(0xcf))/0x9;if(_0x3ecdd5===_0x306a7d)break;else _0x2f9317['push'](_0x2f9317['shift']());}catch(_0x170177){_0x2f9317['push'](_0x2f9317['shift']());}}}(a10_0x10aa,0xb59b2));function a10_0x10aa(){const _0x2afc41=['PARAMS','26612010lcPJOJ','YYYY-MM-DD\x20HH:mm:ss','$_terms','1452004eKRWwO','forEach','function','2083290CnCNrN','validator','key','../interface','fromEntries','_flags','localeTable','i18nConfig','ScopeEnum','validate','393220MKeoeA','design:returntype','@midwayjs/decorator','__decorate','getAvailableLocale','validatorConfig','object','language','Provide','keys','defaultLocale','NOFIND_SCHEMA','154HrNlpP','design:type','value','17848EERqdv','MidwayI18nServiceSingleton','RULES_KEY','formatLocale','error','ValidatorError','assign','joi','getClassExtendedMetadata','getSchema','1130984HVhfNg','defineProperty','172145sIKvsx','30NYrFXL','design:paramtypes','type','ValidatorService','metadata','isSchema','length','../exception/ValidatorError','getLocaleMapping','Init','messages','schema','i18nService','@midwayjs/i18n','Config','Singleton','prototype','decorate','__metadata','validationOptions'];a10_0x10aa=function(){return _0x2afc41;};return a10_0x10aa();}var __decorate=this&&this[a10_0x1fc544(0xe2)]||function(_0x554985,_0x3ead6b,_0x73373b,_0x4dfd0b){const _0x373fef=a10_0x1fc544;var _0x26c544=arguments[_0x373fef(0xc0)],_0x24c511=_0x26c544<0x3?_0x3ead6b:_0x4dfd0b===null?_0x4dfd0b=Object['getOwnPropertyDescriptor'](_0x3ead6b,_0x73373b):_0x4dfd0b,_0x55884f;if(typeof Reflect===_0x373fef(0xe5)&&typeof Reflect['decorate']===_0x373fef(0xd4))_0x24c511=Reflect[_0x373fef(0xcb)](_0x554985,_0x3ead6b,_0x73373b,_0x4dfd0b);else{for(var _0x326661=_0x554985[_0x373fef(0xc0)]-0x1;_0x326661>=0x0;_0x326661--)if(_0x55884f=_0x554985[_0x326661])_0x24c511=(_0x26c544<0x3?_0x55884f(_0x24c511):_0x26c544>0x3?_0x55884f(_0x3ead6b,_0x73373b,_0x24c511):_0x55884f(_0x3ead6b,_0x73373b))||_0x24c511;}return _0x26c544>0x3&&_0x24c511&&Object[_0x373fef(0xf9)](_0x3ead6b,_0x73373b,_0x24c511),_0x24c511;},__metadata=this&&this[a10_0x1fc544(0xcc)]||function(_0x4a8b7b,_0x20d1ff){const _0x2b0cce=a10_0x1fc544;if(typeof Reflect===_0x2b0cce(0xe5)&&typeof Reflect[_0x2b0cce(0xff)]===_0x2b0cce(0xd4))return Reflect['metadata'](_0x4a8b7b,_0x20d1ff);};Object[a10_0x1fc544(0xf9)](exports,'__esModule',{'value':!![]}),exports[a10_0x1fc544(0xfe)]=void 0x0;const Joi=require(a10_0x1fc544(0xf5)),i18n_1=require(a10_0x1fc544(0xc7)),decorator_1=require(a10_0x1fc544(0xe1)),interface_1=require(a10_0x1fc544(0xd8)),ValidatorError_1=require(a10_0x1fc544(0xc1));let ValidatorService=class ValidatorService{constructor(){const _0x30b413=a10_0x1fc544;this[_0x30b413(0xc4)]={};}async['init'](){const _0x2b7c09=a10_0x1fc544,_0x8a5f5c=Object['keys'](this[_0x2b7c09(0xdc)][_0x2b7c09(0xdb)]);_0x8a5f5c[_0x2b7c09(0xd3)](_0x404682=>{const _0x15f7ae=_0x2b7c09;this['messages'][(0x0,i18n_1[_0x15f7ae(0xf1)])(_0x404682)]=Object[_0x15f7ae(0xd9)](this[_0x15f7ae(0xc6)][_0x15f7ae(0xc2)](_0x404682,_0x15f7ae(0xd6)));});}[a10_0x1fc544(0xf7)](_0xc32111){const _0x5036e2=a10_0x1fc544,_0x392de7=(0x0,decorator_1[_0x5036e2(0xf6)])(interface_1[_0x5036e2(0xf0)],_0xc32111);return _0x392de7?Joi['object'](_0x392de7):undefined;}[a10_0x1fc544(0xd6)](_0x235061,_0x20953e,_0x683d71={}){const _0x494e63=a10_0x1fc544;var _0x4b0b30,_0x15537b;const _0x25a0d8=Joi[_0x494e63(0xbf)](_0x235061)?_0x235061:this[_0x494e63(0xf7)](_0x235061);if(!_0x25a0d8)throw new AnnError(ValidatorError_1[_0x494e63(0xf3)][_0x494e63(0xea)]);_0x683d71[_0x494e63(0xcd)]=Object[_0x494e63(0xf4)]((_0x4b0b30=this[_0x494e63(0xe4)][_0x494e63(0xcd)])!==null&&_0x4b0b30!==void 0x0?_0x4b0b30:{},{'messages':this['messages']},_0x683d71[_0x494e63(0xcd)]||{}),_0x683d71[_0x494e63(0xcd)]['errors']=_0x683d71[_0x494e63(0xcd)]['errors']||{},_0x683d71[_0x494e63(0xcd)]['errors']['language']=(0x0,i18n_1[_0x494e63(0xf1)])(this[_0x494e63(0xc6)][_0x494e63(0xe3)](_0x683d71[_0x494e63(0xcd)]['errors'][_0x494e63(0xe6)]||_0x683d71['locale']||this['i18nConfig'][_0x494e63(0xe9)],_0x494e63(0xd6)));const _0x6f5a0e=_0x25a0d8[_0x494e63(0xde)](_0x20953e,_0x683d71[_0x494e63(0xcd)]);if(_0x6f5a0e===null||_0x6f5a0e===void 0x0?void 0x0:_0x6f5a0e[_0x494e63(0xf2)])throw new AnnError(ValidatorError_1[_0x494e63(0xf3)][_0x494e63(0xce)],{'validator':_0x6f5a0e['error']});if(_0x6f5a0e===null||_0x6f5a0e===void 0x0?void 0x0:_0x6f5a0e[_0x494e63(0xed)]){const _0x352dde=(_0x15537b=_0x25a0d8===null||_0x25a0d8===void 0x0?void 0x0:_0x25a0d8[_0x494e63(0xd1)])===null||_0x15537b===void 0x0?void 0x0:_0x15537b[_0x494e63(0xe8)],_0x448967=function(_0x1e8453,_0x16ed14){const _0x5ce06e=_0x494e63;var _0x411fca,_0x5dbbb9,_0x216880,_0x2c9769,_0x43767e,_0x3729c0,_0x344eeb,_0x345631,_0xb407d3,_0x13e853,_0x4bae44;for(let _0xa8ae18 in _0x1e8453){if(_0x16ed14[(_0x411fca=_0x1e8453[_0xa8ae18])===null||_0x411fca===void 0x0?void 0x0:_0x411fca[_0x5ce06e(0xd7)]]&&((_0x216880=(_0x5dbbb9=_0x1e8453[_0xa8ae18])===null||_0x5dbbb9===void 0x0?void 0x0:_0x5dbbb9[_0x5ce06e(0xc5)])===null||_0x216880===void 0x0?void 0x0:_0x216880['type'])){if(((_0x43767e=(_0x2c9769=_0x1e8453[_0xa8ae18])===null||_0x2c9769===void 0x0?void 0x0:_0x2c9769['schema'])===null||_0x43767e===void 0x0?void 0x0:_0x43767e['type'])==_0x5ce06e(0xe5))_0x16ed14[_0x1e8453[_0xa8ae18][_0x5ce06e(0xd7)]]=_0x448967((_0x344eeb=(_0x3729c0=_0x1e8453[_0xa8ae18])===null||_0x3729c0===void 0x0?void 0x0:_0x3729c0[_0x5ce06e(0xc5)][_0x5ce06e(0xd1)])===null||_0x344eeb===void 0x0?void 0x0:_0x344eeb[_0x5ce06e(0xe8)],_0x16ed14[_0x1e8453[_0xa8ae18][_0x5ce06e(0xd7)]]);else{if(_0x1e8453[_0xa8ae18][_0x5ce06e(0xc5)][_0x5ce06e(0xfd)]=='date'&&_0x6f5a0e[_0x5ce06e(0xed)][(_0x345631=_0x1e8453[_0xa8ae18])===null||_0x345631===void 0x0?void 0x0:_0x345631[_0x5ce06e(0xd7)]]){const _0x2b4640=((_0x4bae44=(_0x13e853=(_0xb407d3=_0x1e8453[_0xa8ae18])===null||_0xb407d3===void 0x0?void 0x0:_0xb407d3[_0x5ce06e(0xc5)])===null||_0x13e853===void 0x0?void 0x0:_0x13e853[_0x5ce06e(0xda)])===null||_0x4bae44===void 0x0?void 0x0:_0x4bae44['format'])||_0x5ce06e(0xd0);_0x16ed14[_0x1e8453[_0xa8ae18]['key']]=dayjs(_0x6f5a0e['value'][_0x1e8453[_0xa8ae18][_0x5ce06e(0xd7)]])['format'](_0x2b4640);}}}}return _0x16ed14;};return _0x448967(_0x352dde,_0x6f5a0e[_0x494e63(0xed)]);}throw new AnnError(ValidatorError_1[_0x494e63(0xf3)][_0x494e63(0xce)]);}};__decorate([(0x0,decorator_1['Config'])('i18n'),__metadata(a10_0x1fc544(0xec),Object)],ValidatorService[a10_0x1fc544(0xca)],a10_0x1fc544(0xdc),void 0x0),__decorate([(0x0,decorator_1[a10_0x1fc544(0xc8)])(a10_0x1fc544(0xd6)),__metadata(a10_0x1fc544(0xec),Object)],ValidatorService[a10_0x1fc544(0xca)],'validatorConfig',void 0x0),__decorate([(0x0,decorator_1['Inject'])(),__metadata(a10_0x1fc544(0xec),i18n_1[a10_0x1fc544(0xef)])],ValidatorService[a10_0x1fc544(0xca)],a10_0x1fc544(0xc6),void 0x0),__decorate([(0x0,decorator_1[a10_0x1fc544(0xc3)])(),__metadata('design:type',Function),__metadata(a10_0x1fc544(0xfc),[]),__metadata(a10_0x1fc544(0xe0),Promise)],ValidatorService[a10_0x1fc544(0xca)],'init',null),ValidatorService=__decorate([(0x0,decorator_1[a10_0x1fc544(0xe7)])(a10_0x1fc544(0xd6)),(0x0,decorator_1['Scope'])(decorator_1[a10_0x1fc544(0xdd)][a10_0x1fc544(0xc9)])],ValidatorService),exports['ValidatorService']=ValidatorService;