@anncic-api/validator 1.0.6 → 1.0.7

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';function a10_0x468b(_0x57cde3,_0xb3eefc){const _0x56c0c3=a10_0x56c0();return a10_0x468b=function(_0x468b6b,_0x565823){_0x468b6b=_0x468b6b-0x189;let _0x1ee046=_0x56c0c3[_0x468b6b];return _0x1ee046;},a10_0x468b(_0x57cde3,_0xb3eefc);}const a10_0x2f2653=a10_0x468b;function a10_0x56c0(){const _0x328d0f=['value','schema','Singleton','length','11495840bHYQBO','PARAMS','format','Config','ValidatorError','i18nService','function','language','__esModule','validate','date','_flags','decorate','forEach','i18nConfig','1130967pCklfI','ValidatorService','defaultLocale','joi','1747jtDgrC','prototype','6961527daSHoS','14311TmFeZf','messages','keys','Inject','ScopeEnum','@midwayjs/decorator','metadata','2316zqbBKN','6PqvGBV','validateWithSchema','YYYY-MM-DD\x20HH:mm:ss','Init','getSchema','8547qlvElm','fromEntries','@midwayjs/i18n','Provide','formatLocale','getLocaleMapping','error','1096jfBOdG','localeTable','getAvailableLocale','2456FibSLS','$_terms','key','errors','getClassExtendedMetadata','object','getOwnPropertyDescriptor','i18n','design:type','MidwayI18nServiceSingleton','5715365SfhAII','RULES_KEY','validateConfig','locale','4AVClYQ','defineProperty','validationOptions','../exception/ValidatorError'];a10_0x56c0=function(){return _0x328d0f;};return a10_0x56c0();}(function(_0xa3ce11,_0x5551f4){const _0x2460b9=a10_0x468b,_0x541476=_0xa3ce11();while(!![]){try{const _0x1b191a=parseInt(_0x2460b9(0x19c))/0x1*(parseInt(_0x2460b9(0x1b3))/0x2)+parseInt(_0x2460b9(0x198))/0x3*(parseInt(_0x2460b9(0x1c4))/0x4)+-parseInt(_0x2460b9(0x1c0))/0x5*(parseInt(_0x2460b9(0x1a7))/0x6)+-parseInt(_0x2460b9(0x1ac))/0x7*(-parseInt(_0x2460b9(0x1b6))/0x8)+-parseInt(_0x2460b9(0x19e))/0x9+parseInt(_0x2460b9(0x189))/0xa+-parseInt(_0x2460b9(0x19f))/0xb*(parseInt(_0x2460b9(0x1a6))/0xc);if(_0x1b191a===_0x5551f4)break;else _0x541476['push'](_0x541476['shift']());}catch(_0x2cd849){_0x541476['push'](_0x541476['shift']());}}}(a10_0x56c0,0xa8ba3));var __decorate=this&&this['__decorate']||function(_0x431d52,_0x2e370a,_0x44a409,_0x200d96){const _0xa95668=a10_0x468b;var _0x5e87b9=arguments['length'],_0x8a9bc0=_0x5e87b9<0x3?_0x2e370a:_0x200d96===null?_0x200d96=Object[_0xa95668(0x1bc)](_0x2e370a,_0x44a409):_0x200d96,_0x6b78fe;if(typeof Reflect===_0xa95668(0x1bb)&&typeof Reflect[_0xa95668(0x195)]==='function')_0x8a9bc0=Reflect['decorate'](_0x431d52,_0x2e370a,_0x44a409,_0x200d96);else{for(var _0xe7e3d1=_0x431d52[_0xa95668(0x1cb)]-0x1;_0xe7e3d1>=0x0;_0xe7e3d1--)if(_0x6b78fe=_0x431d52[_0xe7e3d1])_0x8a9bc0=(_0x5e87b9<0x3?_0x6b78fe(_0x8a9bc0):_0x5e87b9>0x3?_0x6b78fe(_0x2e370a,_0x44a409,_0x8a9bc0):_0x6b78fe(_0x2e370a,_0x44a409))||_0x8a9bc0;}return _0x5e87b9>0x3&&_0x8a9bc0&&Object[_0xa95668(0x1c5)](_0x2e370a,_0x44a409,_0x8a9bc0),_0x8a9bc0;},__metadata=this&&this['__metadata']||function(_0x47b8bd,_0x305ace){const _0x50af11=a10_0x468b;if(typeof Reflect===_0x50af11(0x1bb)&&typeof Reflect[_0x50af11(0x1a5)]===_0x50af11(0x18f))return Reflect[_0x50af11(0x1a5)](_0x47b8bd,_0x305ace);};Object[a10_0x2f2653(0x1c5)](exports,a10_0x2f2653(0x191),{'value':!![]}),exports['ValidatorService']=void 0x0;const Joi=require(a10_0x2f2653(0x19b)),i18n_1=require(a10_0x2f2653(0x1ae)),decorator_1=require(a10_0x2f2653(0x1a4)),interface_1=require('../interface'),ValidatorError_1=require(a10_0x2f2653(0x1c7));let ValidatorService=class ValidatorService{constructor(){const _0x20c46d=a10_0x2f2653;this[_0x20c46d(0x1a0)]={};}async['function'](){const _0x3aa7a0=a10_0x2f2653,_0x462a50=Object['keys'](this[_0x3aa7a0(0x197)][_0x3aa7a0(0x1b4)]);_0x462a50[_0x3aa7a0(0x196)](_0x23cf21=>{const _0x480702=_0x3aa7a0;this[_0x480702(0x1a0)][(0x0,i18n_1[_0x480702(0x1b0)])(_0x23cf21)]=Object[_0x480702(0x1ad)](this[_0x480702(0x18e)][_0x480702(0x1b1)](_0x23cf21,'validate'));});}[a10_0x2f2653(0x1ab)](_0x24bcea){const _0x45f8c3=a10_0x2f2653,_0x357afe=(0x0,decorator_1[_0x45f8c3(0x1ba)])(interface_1[_0x45f8c3(0x1c1)],_0x24bcea);return _0x357afe?Joi['object'](_0x357afe):undefined;}['validateWithSchema'](_0x5daad9,_0x1905f5,_0xca633c={}){const _0x53de52=a10_0x2f2653;var _0x2cca28,_0x191d7f;_0xca633c['validationOptions']=Object['assign']((_0x2cca28=this[_0x53de52(0x1c2)][_0x53de52(0x1c6)])!==null&&_0x2cca28!==void 0x0?_0x2cca28:{},{'messages':this[_0x53de52(0x1a0)]},_0xca633c['validationOptions']||{}),_0xca633c[_0x53de52(0x1c6)][_0x53de52(0x1b9)]=_0xca633c[_0x53de52(0x1c6)][_0x53de52(0x1b9)]||{},_0xca633c['validationOptions'][_0x53de52(0x1b9)][_0x53de52(0x190)]=(0x0,i18n_1[_0x53de52(0x1b0)])(this[_0x53de52(0x18e)][_0x53de52(0x1b5)](_0xca633c[_0x53de52(0x1c6)]['errors'][_0x53de52(0x190)]||_0xca633c[_0x53de52(0x1c3)]||this['i18nConfig'][_0x53de52(0x19a)],_0x53de52(0x192)));const _0x3de7b3=_0x5daad9['validate'](_0x1905f5,_0xca633c['validationOptions']);if(_0x3de7b3===null||_0x3de7b3===void 0x0?void 0x0:_0x3de7b3[_0x53de52(0x1b2)])throw new AnnError(ValidatorError_1[_0x53de52(0x18d)][_0x53de52(0x18a)],{'validator':_0x3de7b3[_0x53de52(0x1b2)]});else{if(_0x3de7b3===null||_0x3de7b3===void 0x0?void 0x0:_0x3de7b3['value']){const _0x519d5d=(_0x191d7f=_0x5daad9===null||_0x5daad9===void 0x0?void 0x0:_0x5daad9[_0x53de52(0x1b7)])===null||_0x191d7f===void 0x0?void 0x0:_0x191d7f[_0x53de52(0x1a1)],_0x4b7282=function(_0x5c64d1,_0x433ad0){const _0x7fee4d=_0x53de52;var _0x15f209,_0x4ceb9f,_0x53eeef,_0x20894f,_0x23cb8e,_0xd476d4,_0x1934d5,_0x1df597,_0xfccd28,_0x45943b,_0x872b44;for(let _0x6187fb in _0x5c64d1){if(_0x433ad0[(_0x15f209=_0x5c64d1[_0x6187fb])===null||_0x15f209===void 0x0?void 0x0:_0x15f209[_0x7fee4d(0x1b8)]]&&((_0x53eeef=(_0x4ceb9f=_0x5c64d1[_0x6187fb])===null||_0x4ceb9f===void 0x0?void 0x0:_0x4ceb9f[_0x7fee4d(0x1c9)])===null||_0x53eeef===void 0x0?void 0x0:_0x53eeef['type'])){if(((_0x23cb8e=(_0x20894f=_0x5c64d1[_0x6187fb])===null||_0x20894f===void 0x0?void 0x0:_0x20894f[_0x7fee4d(0x1c9)])===null||_0x23cb8e===void 0x0?void 0x0:_0x23cb8e['type'])=='object')_0x433ad0[_0x5c64d1[_0x6187fb][_0x7fee4d(0x1b8)]]=_0x4b7282((_0x1934d5=(_0xd476d4=_0x5c64d1[_0x6187fb])===null||_0xd476d4===void 0x0?void 0x0:_0xd476d4[_0x7fee4d(0x1c9)]['$_terms'])===null||_0x1934d5===void 0x0?void 0x0:_0x1934d5[_0x7fee4d(0x1a1)],_0x433ad0[_0x5c64d1[_0x6187fb]['key']]);else{if(_0x5c64d1[_0x6187fb]['schema']['type']==_0x7fee4d(0x193)&&_0x3de7b3[_0x7fee4d(0x1c8)][(_0x1df597=_0x5c64d1[_0x6187fb])===null||_0x1df597===void 0x0?void 0x0:_0x1df597[_0x7fee4d(0x1b8)]]){const _0x52610b=((_0x872b44=(_0x45943b=(_0xfccd28=_0x5c64d1[_0x6187fb])===null||_0xfccd28===void 0x0?void 0x0:_0xfccd28[_0x7fee4d(0x1c9)])===null||_0x45943b===void 0x0?void 0x0:_0x45943b[_0x7fee4d(0x194)])===null||_0x872b44===void 0x0?void 0x0:_0x872b44['format'])||_0x7fee4d(0x1a9);_0x433ad0[_0x5c64d1[_0x6187fb][_0x7fee4d(0x1b8)]]=dayjs(_0x3de7b3[_0x7fee4d(0x1c8)][_0x5c64d1[_0x6187fb][_0x7fee4d(0x1b8)]])[_0x7fee4d(0x18b)](_0x52610b);}}}}return _0x433ad0;};return _0x4b7282(_0x519d5d,_0x3de7b3[_0x53de52(0x1c8)]);}}return undefined;}['validate'](_0x3d1e27,_0x2c25f5,_0x3df02a={}){const _0x7dd97=a10_0x2f2653,_0x3d93c3=this[_0x7dd97(0x1ab)](_0x3d1e27);return _0x3d93c3?this[_0x7dd97(0x1a8)](_0x3d93c3,_0x2c25f5,_0x3df02a):undefined;}};__decorate([(0x0,decorator_1['Config'])(a10_0x2f2653(0x1bd)),__metadata('design:type',Object)],ValidatorService['prototype'],a10_0x2f2653(0x197),void 0x0),__decorate([(0x0,decorator_1[a10_0x2f2653(0x18c)])('validate'),__metadata(a10_0x2f2653(0x1be),Object)],ValidatorService[a10_0x2f2653(0x19d)],a10_0x2f2653(0x1c2),void 0x0),__decorate([(0x0,decorator_1[a10_0x2f2653(0x1a2)])(),__metadata(a10_0x2f2653(0x1be),i18n_1[a10_0x2f2653(0x1bf)])],ValidatorService[a10_0x2f2653(0x19d)],'i18nService',void 0x0),__decorate([(0x0,decorator_1[a10_0x2f2653(0x1aa)])(),__metadata('design:type',Function),__metadata('design:paramtypes',[]),__metadata('design:returntype',Promise)],ValidatorService[a10_0x2f2653(0x19d)],a10_0x2f2653(0x18f),null),ValidatorService=__decorate([(0x0,decorator_1[a10_0x2f2653(0x1af)])(a10_0x2f2653(0x192)),(0x0,decorator_1['Scope'])(decorator_1[a10_0x2f2653(0x1a3)][a10_0x2f2653(0x1ca)])],ValidatorService),exports[a10_0x2f2653(0x199)]=ValidatorService;
1
+ 'use strict';const a10_0x441494=a10_0x3d3b;(function(_0x600181,_0x38f848){const _0x3c0e15=a10_0x3d3b,_0x5210cf=_0x600181();while(!![]){try{const _0x246b09=parseInt(_0x3c0e15(0x15c))/0x1+parseInt(_0x3c0e15(0x192))/0x2*(parseInt(_0x3c0e15(0x171))/0x3)+parseInt(_0x3c0e15(0x16b))/0x4+-parseInt(_0x3c0e15(0x180))/0x5+parseInt(_0x3c0e15(0x165))/0x6*(parseInt(_0x3c0e15(0x170))/0x7)+-parseInt(_0x3c0e15(0x17a))/0x8+-parseInt(_0x3c0e15(0x173))/0x9*(parseInt(_0x3c0e15(0x161))/0xa);if(_0x246b09===_0x38f848)break;else _0x5210cf['push'](_0x5210cf['shift']());}catch(_0x54a9ed){_0x5210cf['push'](_0x5210cf['shift']());}}}(a10_0x3d5c,0xaab69));var __decorate=this&&this[a10_0x441494(0x16d)]||function(_0x16dca9,_0x20ebe9,_0x114e5e,_0x2f1ae5){const _0x4c0a8f=a10_0x441494;var _0x1a158c=arguments['length'],_0x3b9220=_0x1a158c<0x3?_0x20ebe9:_0x2f1ae5===null?_0x2f1ae5=Object['getOwnPropertyDescriptor'](_0x20ebe9,_0x114e5e):_0x2f1ae5,_0x3a09d6;if(typeof Reflect===_0x4c0a8f(0x174)&&typeof Reflect[_0x4c0a8f(0x167)]===_0x4c0a8f(0x158))_0x3b9220=Reflect[_0x4c0a8f(0x167)](_0x16dca9,_0x20ebe9,_0x114e5e,_0x2f1ae5);else{for(var _0x12588d=_0x16dca9[_0x4c0a8f(0x18c)]-0x1;_0x12588d>=0x0;_0x12588d--)if(_0x3a09d6=_0x16dca9[_0x12588d])_0x3b9220=(_0x1a158c<0x3?_0x3a09d6(_0x3b9220):_0x1a158c>0x3?_0x3a09d6(_0x20ebe9,_0x114e5e,_0x3b9220):_0x3a09d6(_0x20ebe9,_0x114e5e))||_0x3b9220;}return _0x1a158c>0x3&&_0x3b9220&&Object['defineProperty'](_0x20ebe9,_0x114e5e,_0x3b9220),_0x3b9220;},__metadata=this&&this['__metadata']||function(_0x267afb,_0xf58030){const _0x493f0d=a10_0x441494;if(typeof Reflect===_0x493f0d(0x174)&&typeof Reflect[_0x493f0d(0x187)]===_0x493f0d(0x158))return Reflect['metadata'](_0x267afb,_0xf58030);};Object[a10_0x441494(0x16e)](exports,a10_0x441494(0x157),{'value':!![]}),exports[a10_0x441494(0x163)]=void 0x0;const Joi=require(a10_0x441494(0x18a)),i18n_1=require('@midwayjs/i18n'),decorator_1=require(a10_0x441494(0x15f)),interface_1=require('../interface'),ValidatorError_1=require('../exception/ValidatorError');function a10_0x3d3b(_0x546f97,_0xab6dc3){const _0x3d5cf8=a10_0x3d5c();return a10_0x3d3b=function(_0x3d3bd4,_0x1b9fac){_0x3d3bd4=_0x3d3bd4-0x157;let _0x5be51a=_0x3d5cf8[_0x3d3bd4];return _0x5be51a;},a10_0x3d3b(_0x546f97,_0xab6dc3);}function a10_0x3d5c(){const _0x455673=['schema','Provide','keys','Scope','6688970OZLDdp','YYYY-MM-DD\x20HH:mm:ss','design:returntype','Config','language','design:paramtypes','defaultLocale','metadata','getClassExtendedMetadata','format','joi','i18nConfig','length','validateWithSchema','getAvailableLocale','Singleton','MidwayI18nServiceSingleton','RULES_KEY','260536zPdZkj','getLocaleMapping','assign','forEach','__esModule','function','localeTable','prototype','validate','1179373cykmqx','validateConfig','design:type','@midwayjs/decorator','errors','433190JusgsG','Init','ValidatorService','value','4381548IRiOed','getSchema','decorate','validationOptions','Inject','type','4135732eMJUqK','messages','__decorate','defineProperty','i18nService','7eGXoAW','6MlRQtG','formatLocale','9JAhEqW','object','_flags','error','key','ScopeEnum','PARAMS','8989968mxdHBM','$_terms'];a10_0x3d5c=function(){return _0x455673;};return a10_0x3d5c();}let ValidatorService=class ValidatorService{constructor(){const _0x5970d1=a10_0x441494;this[_0x5970d1(0x16c)]={};}async[a10_0x441494(0x158)](){const _0xccc18e=a10_0x441494,_0x292da9=Object['keys'](this[_0xccc18e(0x18b)][_0xccc18e(0x159)]);_0x292da9[_0xccc18e(0x195)](_0x215248=>{const _0x486c1b=_0xccc18e;this[_0x486c1b(0x16c)][(0x0,i18n_1[_0x486c1b(0x172)])(_0x215248)]=Object['fromEntries'](this[_0x486c1b(0x16f)][_0x486c1b(0x193)](_0x215248,_0x486c1b(0x15b)));});}[a10_0x441494(0x166)](_0x1bcd0e){const _0x4b2d61=a10_0x441494,_0x535312=(0x0,decorator_1[_0x4b2d61(0x188)])(interface_1[_0x4b2d61(0x191)],_0x1bcd0e);return _0x535312?Joi[_0x4b2d61(0x174)](_0x535312):undefined;}[a10_0x441494(0x18d)](_0x5f3d5d,_0x9c1b7e,_0x39be3a={}){const _0x37fe11=a10_0x441494;var _0x252ba3,_0x22ce08;_0x39be3a[_0x37fe11(0x168)]=Object[_0x37fe11(0x194)]((_0x252ba3=this['validateConfig']['validationOptions'])!==null&&_0x252ba3!==void 0x0?_0x252ba3:{},{'messages':this['messages']},_0x39be3a[_0x37fe11(0x168)]||{}),_0x39be3a[_0x37fe11(0x168)]['errors']=_0x39be3a[_0x37fe11(0x168)]['errors']||{},_0x39be3a['validationOptions']['errors']['language']=(0x0,i18n_1[_0x37fe11(0x172)])(this['i18nService'][_0x37fe11(0x18e)](_0x39be3a['validationOptions'][_0x37fe11(0x160)][_0x37fe11(0x184)]||_0x39be3a['locale']||this[_0x37fe11(0x18b)][_0x37fe11(0x186)],'validate'));const _0x583651=_0x5f3d5d[_0x37fe11(0x15b)](_0x9c1b7e,_0x39be3a['validationOptions']);if(_0x583651===null||_0x583651===void 0x0?void 0x0:_0x583651[_0x37fe11(0x176)])throw new AnnError(ValidatorError_1['ValidatorError'][_0x37fe11(0x179)],{'validator':_0x583651[_0x37fe11(0x176)]});else{if(_0x583651===null||_0x583651===void 0x0?void 0x0:_0x583651['value']){const _0x11c543=(_0x22ce08=_0x5f3d5d===null||_0x5f3d5d===void 0x0?void 0x0:_0x5f3d5d[_0x37fe11(0x17b)])===null||_0x22ce08===void 0x0?void 0x0:_0x22ce08[_0x37fe11(0x17e)],_0x198dff=function(_0x238fc6,_0x348751){const _0x488c7b=_0x37fe11;var _0x2bcb11,_0x3f5ee6,_0x550aff,_0x2214fc,_0x4202ae,_0x55b0b0,_0x44defc,_0x2adddd,_0x2d3ca8,_0x177ec0,_0x465a27;for(let _0x258355 in _0x238fc6){if(_0x348751[(_0x2bcb11=_0x238fc6[_0x258355])===null||_0x2bcb11===void 0x0?void 0x0:_0x2bcb11[_0x488c7b(0x177)]]&&((_0x550aff=(_0x3f5ee6=_0x238fc6[_0x258355])===null||_0x3f5ee6===void 0x0?void 0x0:_0x3f5ee6[_0x488c7b(0x17c)])===null||_0x550aff===void 0x0?void 0x0:_0x550aff[_0x488c7b(0x16a)])){if(((_0x4202ae=(_0x2214fc=_0x238fc6[_0x258355])===null||_0x2214fc===void 0x0?void 0x0:_0x2214fc[_0x488c7b(0x17c)])===null||_0x4202ae===void 0x0?void 0x0:_0x4202ae[_0x488c7b(0x16a)])==_0x488c7b(0x174))_0x348751[_0x238fc6[_0x258355][_0x488c7b(0x177)]]=_0x198dff((_0x44defc=(_0x55b0b0=_0x238fc6[_0x258355])===null||_0x55b0b0===void 0x0?void 0x0:_0x55b0b0[_0x488c7b(0x17c)][_0x488c7b(0x17b)])===null||_0x44defc===void 0x0?void 0x0:_0x44defc[_0x488c7b(0x17e)],_0x348751[_0x238fc6[_0x258355][_0x488c7b(0x177)]]);else{if(_0x238fc6[_0x258355][_0x488c7b(0x17c)][_0x488c7b(0x16a)]=='date'&&_0x583651[_0x488c7b(0x164)][(_0x2adddd=_0x238fc6[_0x258355])===null||_0x2adddd===void 0x0?void 0x0:_0x2adddd[_0x488c7b(0x177)]]){const _0x627fff=((_0x465a27=(_0x177ec0=(_0x2d3ca8=_0x238fc6[_0x258355])===null||_0x2d3ca8===void 0x0?void 0x0:_0x2d3ca8[_0x488c7b(0x17c)])===null||_0x177ec0===void 0x0?void 0x0:_0x177ec0[_0x488c7b(0x175)])===null||_0x465a27===void 0x0?void 0x0:_0x465a27[_0x488c7b(0x189)])||_0x488c7b(0x181);_0x348751[_0x238fc6[_0x258355][_0x488c7b(0x177)]]=dayjs(_0x583651['value'][_0x238fc6[_0x258355][_0x488c7b(0x177)]])[_0x488c7b(0x189)](_0x627fff);}}}}return _0x348751;};return _0x198dff(_0x11c543,_0x583651[_0x37fe11(0x164)]);}}return undefined;}[a10_0x441494(0x15b)](_0x3ef4c7,_0x33db32,_0x4a13ac={}){const _0x19da62=a10_0x441494,_0x18a375=this[_0x19da62(0x166)](_0x3ef4c7);return _0x18a375?this[_0x19da62(0x18d)](_0x18a375,_0x33db32,_0x4a13ac):undefined;}};__decorate([(0x0,decorator_1[a10_0x441494(0x183)])('i18n'),__metadata('design:type',Object)],ValidatorService['prototype'],a10_0x441494(0x18b),void 0x0),__decorate([(0x0,decorator_1['Config'])(a10_0x441494(0x15b)),__metadata('design:type',Object)],ValidatorService[a10_0x441494(0x15a)],a10_0x441494(0x15d),void 0x0),__decorate([(0x0,decorator_1[a10_0x441494(0x169)])(),__metadata('design:type',i18n_1[a10_0x441494(0x190)])],ValidatorService[a10_0x441494(0x15a)],a10_0x441494(0x16f),void 0x0),__decorate([(0x0,decorator_1[a10_0x441494(0x162)])(),__metadata(a10_0x441494(0x15e),Function),__metadata(a10_0x441494(0x185),[]),__metadata(a10_0x441494(0x182),Promise)],ValidatorService[a10_0x441494(0x15a)],a10_0x441494(0x158),null),ValidatorService=__decorate([(0x0,decorator_1[a10_0x441494(0x17d)])(a10_0x441494(0x15b)),(0x0,decorator_1[a10_0x441494(0x17f)])(decorator_1[a10_0x441494(0x178)][a10_0x441494(0x18f)])],ValidatorService),exports['ValidatorService']=ValidatorService;