@gugananuvem/aws-local-simulator 1.0.7 → 1.0.8

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,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- (function(_0x4fd666,_0xaa7f9c){const _0x5eeb72=_0x4fd666();function _0x2c9194(_0x4ba1ac,_0x57f240){return _0x4bd1(_0x4ba1ac- -0x9c,_0x57f240);}while(!![]){try{const _0x43d2dd=parseInt(_0x2c9194(0x1b,0xe))/0x1*(-parseInt(_0x2c9194(0x1e,0x2a))/0x2)+-parseInt(_0x2c9194(0x25,0x1d))/0x3+parseInt(_0x2c9194(0x16,0x21))/0x4*(-parseInt(_0x2c9194(0x21,0x26))/0x5)+parseInt(_0x2c9194(0x1c,0x1f))/0x6+-parseInt(_0x2c9194(0x28,0x27))/0x7+parseInt(_0x2c9194(0x12,0xf))/0x8*(-parseInt(_0x2c9194(0x13,0x1a))/0x9)+-parseInt(_0x2c9194(0x1d,0x1b))/0xa*(-parseInt(_0x2c9194(0x27,0x23))/0xb);if(_0x43d2dd===_0xaa7f9c)break;else _0x5eeb72['push'](_0x5eeb72['shift']());}catch(_0x261701){_0x5eeb72['push'](_0x5eeb72['shift']());}}}(_0x515d,0x64de2));const {AWSLocalSimulator}=require(_0x50e2ed(-0x2a1,-0x296));function _0x50e2ed(_0x3714b6,_0x9c09d3){return _0x4bd1(_0x9c09d3- -0x34b,_0x3714b6);}function _0x4bd1(_0x2ec010,_0xf15ab8){_0x2ec010=_0x2ec010-0xad;const _0x515d5b=_0x515d();let _0x4bd126=_0x515d5b[_0x2ec010];return _0x4bd126;}const logger=require('../src/utils/logger'),path=require(_0x50e2ed(-0x287,-0x286)),command=process['argv'][0x2],configPath=process['argv'][0x3],simulator=new AWSLocalSimulator({'configPath':configPath?path['resolve'](process[_0x50e2ed(-0x292,-0x295)](),configPath):undefined});async function main(){function _0x16f605(_0x448ddd,_0x119725){return _0x50e2ed(_0x119725,_0x448ddd- -0x5d);}switch(command){case'start':await simulator[_0x16f605(-0x2ea,-0x2f4)]();break;case _0x16f605(-0x2fb,-0x300):await simulator[_0x16f605(-0x2fb,-0x2f9)]();break;case _0x16f605(-0x2f5,-0x2fe):await simulator[_0x16f605(-0x2f5,-0x301)]();break;case _0x16f605(-0x2e6,-0x2de):await simulator[_0x16f605(-0x2e6,-0x2df)]();break;case'status':const _0x33a381=simulator['getStatus']();console['log'](JSON[_0x16f605(-0x2f4,-0x2fb)](_0x33a381,null,0x2));break;case _0x16f605(-0x2ec,-0x2f2):default:console[_0x16f605(-0x2ed,-0x2f2)](_0x16f605(-0x2e8,-0x2e5));break;}}main()[_0x50e2ed(-0x291,-0x285)](_0xa1d446=>{logger[_0x3bc8ca(0x1f9,0x1fd)](_0x3bc8ca(0x1fa,0x1f5),_0xa1d446);function _0x3bc8ca(_0x4c6fbf,_0x237718){return _0x50e2ed(_0x237718,_0x4c6fbf-0x494);}process[_0x3bc8ca(0x208,0x215)](0x1);});function _0x515d(){const _0x427f43=['stop','209952GIgIpb','270OqRGrp','error','Erro:','4wPryJU','restart','stringify','../src/index','cwd','34158jTceBc','3087138AMaSJu','7917820dJQcJu','10AuGNuw','log','help','3414715cgTRJQ','start','exit','\x0aAWS\x20Local\x20Simulator\x20-\x20CLI\x20Commands:\x0a\x20\x20start\x20[configPath]\x20\x20-\x20Inicia\x20o\x20simulador\x0a\x20\x20stop\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-\x20Para\x20o\x20simulador\x0a\x20\x20restart\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-\x20Reinicia\x20o\x20simulador\x0a\x20\x20reset\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-\x20Reseta\x20todos\x20os\x20dados\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-\x20Mostra\x20status\x20dos\x20serviços\x0a\x20\x20help\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-\x20Mostra\x20esta\x20ajuda\x0a\x0aExemplos:\x0a\x20\x20npx\x20aws-local-simulator\x20start\x0a\x20\x20npx\x20aws-local-simulator\x20start\x20./my-config.json\x0a\x20\x20AWS_LOCAL_SIMULATOR_LOG=verboso\x20npx\x20aws-local-simulator\x20start\x0a\x20\x20\x20\x20\x20\x20','1469478vSTwYZ','reset','33fDYySA','2420852CkjLcR','path','catch'];_0x515d=function(){return _0x427f43;};return _0x515d();}
3
+ (function(_0x1806d8,_0x213cfd){function _0x21d08c(_0x6c77c6,_0x425b51){return _0x5446(_0x425b51-0x53,_0x6c77c6);}const _0x566036=_0x1806d8();while(!![]){try{const _0x55cd2b=-parseInt(_0x21d08c(0x1c4,0x1b9))/0x1+parseInt(_0x21d08c(0x1bb,0x1b4))/0x2+-parseInt(_0x21d08c(0x1a9,0x1a2))/0x3*(-parseInt(_0x21d08c(0x1ab,0x1a3))/0x4)+-parseInt(_0x21d08c(0x1bf,0x1b8))/0x5*(parseInt(_0x21d08c(0x1a6,0x1a8))/0x6)+parseInt(_0x21d08c(0x1aa,0x1a7))/0x7+parseInt(_0x21d08c(0x1ad,0x1b6))/0x8+-parseInt(_0x21d08c(0x1ae,0x1a9))/0x9;if(_0x55cd2b===_0x213cfd)break;else _0x566036['push'](_0x566036['shift']());}catch(_0xb76872){_0x566036['push'](_0x566036['shift']());}}}(_0x29e7,0xbe531));function _0x5446(_0x43728d,_0x3090ef){_0x43728d=_0x43728d-0x14f;const _0x29e789=_0x29e7();let _0x5446c5=_0x29e789[_0x43728d];return _0x5446c5;}const {AWSLocalSimulator}=require(_0x5b2cfc(0x4ed,0x4f9));function _0x29e7(){const _0x5850a7=['catch','Erro:','log','5193608nMgeOD','697164AYBvBD','2610306HLTuYk','reset','stringify','restart','\x0aAWS\x20Local\x20Simulator\x20-\x20CLI\x20Commands:\x0a\x20\x20start\x20[configPath]\x20\x20-\x20Inicia\x20o\x20simulador\x0a\x20\x20stop\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-\x20Para\x20o\x20simulador\x0a\x20\x20restart\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-\x20Reinicia\x20o\x20simulador\x0a\x20\x20reset\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-\x20Reseta\x20todos\x20os\x20dados\x0a\x20\x20status\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-\x20Mostra\x20status\x20dos\x20serviços\x0a\x20\x20help\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-\x20Mostra\x20esta\x20ajuda\x0a\x0aExemplos:\x0a\x20\x20npx\x20aws-local-simulator\x20start\x0a\x20\x20npx\x20aws-local-simulator\x20start\x20./my-config.json\x0a\x20\x20AWS_LOCAL_SIMULATOR_LOG=verboso\x20npx\x20aws-local-simulator\x20start\x0a\x20\x20\x20\x20\x20\x20','getStatus','start','cwd','exit','stop','path','1611254ZmUIbu','argv','4315048VSZSEW','../src/index','65qqfscz','1000745OVtyBn','2240877HpqKQg','8vUjbFl'];_0x29e7=function(){return _0x5850a7;};return _0x29e7();}function _0x5b2cfc(_0x16ecfa,_0x4b679c){return _0x5446(_0x4b679c-0x395,_0x16ecfa);}const logger=require('../src/utils/logger'),path=require(_0x5b2cfc(0x4fb,0x4f5)),command=process[_0x5b2cfc(0x503,0x4f7)][0x2],configPath=process[_0x5b2cfc(0x4fe,0x4f7)][0x3],simulator=new AWSLocalSimulator({'configPath':configPath?path['resolve'](process[_0x5b2cfc(0x4f0,0x4f2)](),configPath):undefined});async function main(){function _0x344dd5(_0x342def,_0x2bcdfe){return _0x5b2cfc(_0x342def,_0x2bcdfe- -0x306);}switch(command){case'start':await simulator[_0x344dd5(0x1f2,0x1eb)]();break;case'stop':await simulator[_0x344dd5(0x1f2,0x1ee)]();break;case _0x344dd5(0x1f2,0x1e8):await simulator['restart']();break;case _0x344dd5(0x1eb,0x1e6):await simulator['reset']();break;case'status':const _0x34576f=simulator[_0x344dd5(0x1ec,0x1ea)]();console[_0x344dd5(0x1e8,0x1e2)](JSON[_0x344dd5(0x1f2,0x1e7)](_0x34576f,null,0x2));break;case'help':default:console[_0x344dd5(0x1ea,0x1e2)](_0x344dd5(0x1ef,0x1e9));break;}}main()[_0x5b2cfc(0x4e7,0x4e6)](_0x4a613c=>{function _0x255ebf(_0x45f7ce,_0x25da30){return _0x5b2cfc(_0x25da30,_0x45f7ce- -0x5a4);}logger['error'](_0x255ebf(-0xbd,-0xb1),_0x4a613c),process[_0x255ebf(-0xb1,-0xbb)](0x1);});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gugananuvem/aws-local-simulator",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "Simulador local completo para serviços AWS",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -107,5 +107,5 @@
107
107
  "start": "node bin/aws-local-simulator.js start"
108
108
  },
109
109
  "obfuscated": true,
110
- "obfuscatedAt": "2026-03-29T02:30:15.982Z"
110
+ "obfuscatedAt": "2026-03-29T02:34:32.163Z"
111
111
  }
package/src/index.js CHANGED
@@ -1 +1 @@
1
- function _0x1193(){const _0x20168e=['2219152QcPPRb','Simulador\x20não\x20está\x20rodando','default','7253334pBbkyr','❌\x20Erro\x20ao\x20iniciar\x20simulador:','6411678KrpmyL','getService','3961260ezUIDh','./services/sqs','3579829StFGQU','lambda','./services/sns','error','🗑️\x20Todos\x20os\x20dados\x20foram\x20resetados','./services/dynamodb','getDynamoDB','options','10BjxRCq','./services/lambda','getS3','./server','./services/lambda/handler-loader','start','getStatus','getLambda','🛑\x20AWS\x20Local\x20Simulator\x20parado','isRunning','info','sqs','❌\x20Erro\x20ao\x20parar\x20simulador:','603492kUBFqv','3632065TTFDbo','stop','4DwScGk','Simulador\x20já\x20está\x20rodando','./services/lambda/route-registry','36qEZRjH','server','success','1guropP','warn','getSimulator','exports','reset'];_0x1193=function(){return _0x20168e;};return _0x1193();}(function(_0x272ae9,_0x280b1c){const _0x1fed10=_0x272ae9();function _0x5c9f99(_0x35fad8,_0x2e67b7){return _0x4912(_0x2e67b7-0x137,_0x35fad8);}while(!![]){try{const _0x240945=-parseInt(_0x5c9f99(0x1b6,0x1be))/0x1*(parseInt(_0x5c9f99(0x1a0,0x1b5))/0x2)+parseInt(_0x5c9f99(0x1c4,0x1ca))/0x3+parseInt(_0x5c9f99(0x1aa,0x1b8))/0x4*(parseInt(_0x5c9f99(0x1ab,0x1b6))/0x5)+-parseInt(_0x5c9f99(0x1d7,0x1c6))/0x6+parseInt(_0x5c9f99(0x1cf,0x1c8))/0x7+parseInt(_0x5c9f99(0x1d9,0x1c3))/0x8*(-parseInt(_0x5c9f99(0x1b8,0x1bb))/0x9)+-parseInt(_0x5c9f99(0x1e5,0x1d4))/0xa*(-parseInt(_0x5c9f99(0x1ce,0x1cc))/0xb);if(_0x240945===_0x280b1c)break;else _0x1fed10['push'](_0x1fed10['shift']());}catch(_0x16f05b){_0x1fed10['push'](_0x1fed10['shift']());}}}(_0x1193,0xa316f));const Server=require(_0x2e5924(-0x248,-0x253)),{loadConfig}=require('./config/config-loader'),logger=require('./utils/logger'),DynamoDBService=require(_0x2e5924(-0x24e,-0x259)),S3Service=require('./services/s3'),SQSService=require(_0x2e5924(-0x266,-0x25f)),LambdaService=require(_0x2e5924(-0x258,-0x255)),SNSService=require(_0x2e5924(-0x255,-0x25c)),EventBridgeService=require('./services/eventbridge'),LocalStore=require('./utils/local-store'),HandlerLoader=require(_0x2e5924(-0x266,-0x252)),RouteRegistry=require(_0x2e5924(-0x261,-0x270));class AWSLocalSimulator{constructor(_0x2df883={}){function _0x42747e(_0x5be709,_0x228570){return _0x2e5924(_0x5be709,_0x228570-0x2b0);}this[_0x42747e(0x61,0x59)]=_0x2df883,this[_0x42747e(0x34,0x42)]=null,this[_0x42747e(0x6e,0x63)]=![];}async[_0x2e5924(-0x25e,-0x251)](){function _0x4d134b(_0x1d700a,_0x3cb8f7){return _0x2e5924(_0x1d700a,_0x3cb8f7-0x5ee);}if(this[_0x4d134b(0x3a0,0x3a1)])return logger[_0x4d134b(0x37e,0x383)](_0x4d134b(0x388,0x37d)),this;try{const _0x589fe5=await loadConfig(this[_0x4d134b(0x399,0x397)]['configPath']);return this['server']=new Server(_0x589fe5),await this[_0x4d134b(0x386,0x380)][_0x4d134b(0x39b,0x39d)](),this[_0x4d134b(0x399,0x3a1)]=!![],logger[_0x4d134b(0x393,0x381)]('✅\x20AWS\x20Local\x20Simulator\x20iniciado\x20com\x20sucesso'),this;}catch(_0x1be4e6){logger['error'](_0x4d134b(0x38a,0x38b),_0x1be4e6);throw _0x1be4e6;}}async['stop'](){function _0x8e8b28(_0x339d35,_0xf7f09){return _0x2e5924(_0x339d35,_0xf7f09-0x32c);}if(!this[_0x8e8b28(0xcf,0xdf)]||!this[_0x8e8b28(0xb9,0xbe)])return logger[_0x8e8b28(0xcf,0xc1)](_0x8e8b28(0xdc,0xc6)),this;try{return await this[_0x8e8b28(0xae,0xbe)][_0x8e8b28(0xc4,0xb9)](),this['isRunning']=![],logger[_0x8e8b28(0xf0,0xe0)](_0x8e8b28(0xf4,0xde)),this;}catch(_0x4fcb43){logger[_0x8e8b28(0xdc,0xd1)](_0x8e8b28(0xe3,0xe2),_0x4fcb43);throw _0x4fcb43;}}async['restart'](){await this[_0x2c0b71(0x1ea,0x1d7)](),await this[_0x2c0b71(0x20c,0x207)]();function _0x2c0b71(_0x3b25a2,_0x48b056){return _0x2e5924(_0x48b056,_0x3b25a2-0x45d);}return this;}async[_0x2e5924(-0x274,-0x268)](){function _0x19d357(_0x3c6468,_0xb92841){return _0x2e5924(_0xb92841,_0x3c6468- -0x68);}if(!this[_0x19d357(-0x2d6,-0x2df)])throw new Error('Simulador\x20não\x20iniciado');return await this[_0x19d357(-0x2d6,-0x2d4)][_0x19d357(-0x2d0,-0x2d5)](),logger[_0x19d357(-0x2d5,-0x2d2)](_0x19d357(-0x2c2,-0x2b4)),this;}['getStatus'](){if(!this['server'])return{'running':![]};function _0x4a0922(_0x510b0d,_0x27c665){return _0x2e5924(_0x27c665,_0x510b0d-0x409);}return{'running':this[_0x4a0922(0x1bc,0x1b9)],'services':this['server'][_0x4a0922(0x1b9,0x1b0)]()};}[_0x2e5924(-0x272,-0x261)](_0x40714e){function _0x238ffe(_0x194027,_0x396a71){return _0x2e5924(_0x194027,_0x396a71-0x61a);}if(!this[_0x238ffe(0x3ac,0x3ac)])return null;return this[_0x238ffe(0x3a1,0x3ac)][_0x238ffe(0x3c8,0x3b9)](_0x40714e);}[_0x2e5924(-0x262,-0x258)](){function _0x188c42(_0x2a27c8,_0x4746ed){return _0x2e5924(_0x4746ed,_0x2a27c8-0x4b6);}return this[_0x188c42(0x255,0x258)]('dynamodb')?.[_0x188c42(0x24c,0x23e)]();}[_0x2e5924(-0x248,-0x254)](){function _0x4cdec5(_0x39080f,_0x519e6f){return _0x2e5924(_0x39080f,_0x519e6f-0x1df);}return this[_0x4cdec5(-0x90,-0x82)]('s3')?.[_0x4cdec5(-0x8d,-0x8b)]();}['getSQS'](){function _0x375cfb(_0x46b8df,_0x2a52e3){return _0x2e5924(_0x2a52e3,_0x46b8df- -0xbc);}return this[_0x375cfb(-0x31d,-0x31a)](_0x375cfb(-0x307,-0x308))?.['getSimulator']();}[_0x2e5924(-0x244,-0x24f)](){function _0x49ce2f(_0x2267c8,_0x3807c5){return _0x2e5924(_0x3807c5,_0x2267c8-0x333);}return this['getService'](_0x49ce2f(0xd6,0xe8))?.[_0x49ce2f(0xc9,0xda)]();}}function _0x4912(_0x128771,_0x5a497c){_0x128771=_0x128771-0x7e;const _0x11930c=_0x1193();let _0x4912da=_0x11930c[_0x128771];return _0x4912da;}function _0x2e5924(_0x34f134,_0x15ac9a){return _0x4912(_0x15ac9a- -0x2f3,_0x34f134);}module['exports']={'AWSLocalSimulator':AWSLocalSimulator,'Server':Server,'DynamoDBService':DynamoDBService,'S3Service':S3Service,'SQSService':SQSService,'LambdaService':LambdaService,'SNSService':SNSService,'EventBridgeService':EventBridgeService,'LocalStore':LocalStore,'HandlerLoader':HandlerLoader,'RouteRegistry':RouteRegistry},module[_0x2e5924(-0x27c,-0x269)][_0x2e5924(-0x277,-0x265)]=AWSLocalSimulator;
1
+ function _0x3c6e(){const _0x267fa4=['3667699EdwGTD','1913860DGyRaC','dynamodb','./services/sns','./services/s3','configPath','getStatus','default','getLambda','getService','start','./services/lambda/route-registry','./services/sqs','3155872WshjSv','error','reset','3484602cYDLHv','isRunning','warn','exports','./services/lambda/handler-loader','./utils/logger','❌\x20Erro\x20ao\x20iniciar\x20simulador:','options','864603JLPxOd','stop','restart','2322aZMexD','getS3','✅\x20AWS\x20Local\x20Simulator\x20iniciado\x20com\x20sucesso','974244HpguIW','lambda','success','getSQS','🗑️\x20Todos\x20os\x20dados\x20foram\x20resetados','2162OGKWFU','./config/config-loader','getDynamoDB','❌\x20Erro\x20ao\x20parar\x20simulador:','10nRArVF','getSimulator','server','🛑\x20AWS\x20Local\x20Simulator\x20parado'];_0x3c6e=function(){return _0x267fa4;};return _0x3c6e();}(function(_0x4a0c2d,_0xff59ce){const _0x20fb27=_0x4a0c2d();function _0x5a60f9(_0x53963f,_0x2bde90){return _0x4f28(_0x2bde90- -0x30a,_0x53963f);}while(!![]){try{const _0x249898=-parseInt(_0x5a60f9(-0x1b0,-0x1b5))/0x1+-parseInt(_0x5a60f9(-0x1af,-0x1aa))/0x2*(-parseInt(_0x5a60f9(-0x1a3,-0x1b2))/0x3)+-parseInt(_0x5a60f9(-0x1a4,-0x1a1))/0x4+-parseInt(_0x5a60f9(-0x1a4,-0x1a6))/0x5*(parseInt(_0x5a60f9(-0x19b,-0x1af))/0x6)+parseInt(_0x5a60f9(-0x195,-0x1a2))/0x7+parseInt(_0x5a60f9(-0x1a7,-0x195))/0x8+parseInt(_0x5a60f9(-0x198,-0x192))/0x9;if(_0x249898===_0xff59ce)break;else _0x20fb27['push'](_0x20fb27['shift']());}catch(_0x484db7){_0x20fb27['push'](_0x20fb27['shift']());}}}(_0x3c6e,0x73d81));function _0x4f28(_0x5daf5c,_0x4a0a48){_0x5daf5c=_0x5daf5c-0x14e;const _0x3c6e41=_0x3c6e();let _0x4f28d4=_0x3c6e41[_0x5daf5c];return _0x4f28d4;}const Server=require('./server'),{loadConfig}=require(_0x255a6e(0x449,0x455)),logger=require(_0x255a6e(0x43a,0x436)),DynamoDBService=require('./services/dynamodb'),S3Service=require(_0x255a6e(0x454,0x447)),SQSService=require(_0x255a6e(0x45c,0x466)),LambdaService=require('./services/lambda'),SNSService=require(_0x255a6e(0x453,0x44e)),EventBridgeService=require('./services/eventbridge');function _0x255a6e(_0x3976c1,_0x4db590){return _0x4f28(_0x3976c1-0x2e8,_0x4db590);}const LocalStore=require('./utils/local-store'),HandlerLoader=require(_0x255a6e(0x439,0x43f)),RouteRegistry=require(_0x255a6e(0x45b,0x453));class AWSLocalSimulator{constructor(_0x55e30e={}){function _0x25d1ea(_0x62d8ed,_0x3e4dff){return _0x255a6e(_0x3e4dff-0x59,_0x62d8ed);}this[_0x25d1ea(0x4a4,0x495)]=_0x55e30e,this['server']=null,this['isRunning']=![];}async[_0x255a6e(0x45a,0x447)](){function _0x11214a(_0x22d13f,_0x4c5fc1){return _0x255a6e(_0x4c5fc1- -0x37,_0x22d13f);}if(this['isRunning'])return logger[_0x11214a(0x409,0x400)]('Simulador\x20já\x20está\x20rodando'),this;try{const _0x1f07ba=await loadConfig(this[_0x11214a(0x40d,0x405)][_0x11214a(0x421,0x41e)]);return this[_0x11214a(0x40c,0x417)]=new Server(_0x1f07ba),await this[_0x11214a(0x420,0x417)][_0x11214a(0x435,0x423)](),this[_0x11214a(0x40d,0x3ff)]=!![],logger[_0x11214a(0x3ff,0x40e)](_0x11214a(0x40c,0x40b)),this;}catch(_0x2d397d){logger[_0x11214a(0x43c,0x427)](_0x11214a(0x40d,0x404),_0x2d397d);throw _0x2d397d;}}async['stop'](){if(!this['isRunning']||!this[_0xaff410(0x3a7,0x3b6)])return logger[_0xaff410(0x390,0x38c)]('Simulador\x20não\x20está\x20rodando'),this;function _0xaff410(_0x4b13ba,_0xb219b9){return _0x255a6e(_0x4b13ba- -0xa7,_0xb219b9);}try{return await this[_0xaff410(0x3a7,0x3b6)][_0xaff410(0x397,0x38b)](),this[_0xaff410(0x38f,0x389)]=![],logger['info'](_0xaff410(0x3a8,0x3aa)),this;}catch(_0x163692){logger[_0xaff410(0x3b7,0x3a6)](_0xaff410(0x3a4,0x3b0),_0x163692);throw _0x163692;}}async[_0x255a6e(0x43f,0x435)](){await this[_0x427f33(0x53,0x40)]();function _0x427f33(_0x522dd6,_0x4a1838){return _0x255a6e(_0x522dd6- -0x3eb,_0x4a1838);}return await this[_0x427f33(0x6f,0x70)](),this;}async[_0x255a6e(0x45f,0x465)](){function _0x4d9747(_0x36ee96,_0x44874d){return _0x255a6e(_0x36ee96- -0x152,_0x44874d);}if(!this[_0x4d9747(0x2fc,0x30d)])throw new Error('Simulador\x20não\x20iniciado');return await this[_0x4d9747(0x2fc,0x2ef)][_0x4d9747(0x30d,0x313)](),logger[_0x4d9747(0x2f3,0x2f1)](_0x4d9747(0x2f5,0x2f0)),this;}[_0x255a6e(0x456,0x44e)](){if(!this[_0x4ad5a4(0x14,0x1f)])return{'running':![]};function _0x4ad5a4(_0x244a31,_0xaa5681){return _0x255a6e(_0x244a31- -0x43a,_0xaa5681);}return{'running':this['isRunning'],'services':this[_0x4ad5a4(0x14,0x5)][_0x4ad5a4(0x1c,0xc)]()};}['getService'](_0x5845df){function _0x4aeb90(_0x27ab3b,_0x43520e){return _0x255a6e(_0x43520e- -0x1a6,_0x27ab3b);}if(!this[_0x4aeb90(0x2b6,0x2a8)])return null;return this[_0x4aeb90(0x2a8,0x2a8)][_0x4aeb90(0x2a0,0x2b3)](_0x5845df);}[_0x255a6e(0x44a,0x443)](){function _0x446ce2(_0x3a8ca7,_0x3a3704){return _0x255a6e(_0x3a3704- -0x3cd,_0x3a8ca7);}return this[_0x446ce2(0x97,0x8c)](_0x446ce2(0x98,0x85))?.[_0x446ce2(0x70,0x80)]();}[_0x255a6e(0x441,0x451)](){function _0x1abf5c(_0x236fea,_0x46b8eb){return _0x255a6e(_0x236fea- -0x16d,_0x46b8eb);}return this[_0x1abf5c(0x2ec,0x2eb)]('s3')?.[_0x1abf5c(0x2e0,0x2ea)]();}[_0x255a6e(0x446,0x455)](){function _0x33e45d(_0xad40df,_0x3e2b44){return _0x255a6e(_0xad40df- -0x2bb,_0x3e2b44);}return this[_0x33e45d(0x19e,0x1ac)]('sqs')?.[_0x33e45d(0x192,0x19c)]();}[_0x255a6e(0x458,0x45f)](){function _0x4abf8a(_0x43b4a2,_0x321257){return _0x255a6e(_0x43b4a2- -0x31a,_0x321257);}return this[_0x4abf8a(0x13f,0x152)](_0x4abf8a(0x12a,0x134))?.['getSimulator']();}}module[_0x255a6e(0x438,0x43b)]={'AWSLocalSimulator':AWSLocalSimulator,'Server':Server,'DynamoDBService':DynamoDBService,'S3Service':S3Service,'SQSService':SQSService,'LambdaService':LambdaService,'SNSService':SNSService,'EventBridgeService':EventBridgeService,'LocalStore':LocalStore,'HandlerLoader':HandlerLoader,'RouteRegistry':RouteRegistry},module['exports'][_0x255a6e(0x457,0x445)]=AWSLocalSimulator;