@maka/maka-cli 4.12.21 → 4.12.23

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.
Files changed (159) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/build/_index.js +1 -1
  23. package/bundle/obf/src/commands/build/build.js +1 -1
  24. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  25. package/bundle/obf/src/commands/create.js +1 -1
  26. package/bundle/obf/src/commands/debug.js +1 -1
  27. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  28. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  29. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/game/_index.js +1 -1
  32. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/game/play.command.js +1 -1
  34. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  68. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/generate.js +1 -1
  72. package/bundle/obf/src/commands/get/_index.js +1 -1
  73. package/bundle/obf/src/commands/get/get.command.js +1 -1
  74. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  75. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  77. package/bundle/obf/src/commands/help.js +1 -1
  78. package/bundle/obf/src/commands/install.js +1 -1
  79. package/bundle/obf/src/commands/jsdoc.js +1 -1
  80. package/bundle/obf/src/commands/lint.js +1 -1
  81. package/bundle/obf/src/commands/login.js +1 -1
  82. package/bundle/obf/src/commands/logout.js +1 -1
  83. package/bundle/obf/src/commands/logs.js +1 -1
  84. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  85. package/bundle/obf/src/commands/murder.js +1 -1
  86. package/bundle/obf/src/commands/patreon.js +1 -1
  87. package/bundle/obf/src/commands/profile.js +1 -1
  88. package/bundle/obf/src/commands/proxy.js +1 -1
  89. package/bundle/obf/src/commands/reconfig.js +1 -1
  90. package/bundle/obf/src/commands/register.js +1 -1
  91. package/bundle/obf/src/commands/run/_index.js +1 -1
  92. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  93. package/bundle/obf/src/commands/run/run.command.js +1 -1
  94. package/bundle/obf/src/commands/set/_index.js +1 -1
  95. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  96. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  97. package/bundle/obf/src/commands/set/set.command.js +1 -1
  98. package/bundle/obf/src/commands/ssh.js +1 -1
  99. package/bundle/obf/src/commands/ssl.js +1 -1
  100. package/bundle/obf/src/commands/test.js +1 -1
  101. package/bundle/obf/src/commands/undo.js +1 -1
  102. package/bundle/obf/src/commands/version.js +1 -1
  103. package/bundle/obf/src/error.js +1 -1
  104. package/bundle/obf/src/exec.js +1 -1
  105. package/bundle/obf/src/generator.js +1 -1
  106. package/bundle/obf/src/generators/_index.js +1 -1
  107. package/bundle/obf/src/generators/api.js +1 -1
  108. package/bundle/obf/src/generators/collection.js +1 -1
  109. package/bundle/obf/src/generators/component.js +1 -1
  110. package/bundle/obf/src/generators/config.js +1 -1
  111. package/bundle/obf/src/generators/dbc.js +1 -1
  112. package/bundle/obf/src/generators/dockerfile.js +1 -1
  113. package/bundle/obf/src/generators/hook.js +1 -1
  114. package/bundle/obf/src/generators/kits/_index.js +1 -1
  115. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  116. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  117. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  118. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  119. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  120. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  121. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  122. package/bundle/obf/src/generators/kits/kit.js +1 -1
  123. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  124. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  125. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  126. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  127. package/bundle/obf/src/generators/layout.js +1 -1
  128. package/bundle/obf/src/generators/maka.gen.js +1 -1
  129. package/bundle/obf/src/generators/methods.js +1 -1
  130. package/bundle/obf/src/generators/package.js +1 -1
  131. package/bundle/obf/src/generators/page.js +1 -1
  132. package/bundle/obf/src/generators/publish.js +1 -1
  133. package/bundle/obf/src/generators/route.js +1 -1
  134. package/bundle/obf/src/generators/service.js +1 -1
  135. package/bundle/obf/src/generators/services/_index.js +1 -1
  136. package/bundle/obf/src/generators/services/openssl.js +1 -1
  137. package/bundle/obf/src/generators/services/translation.js +1 -1
  138. package/bundle/obf/src/maka.js +1 -1
  139. package/bundle/obf/src/templates/service/docker/Dockerfile +1 -3
  140. package/bundle/obf/src/tool.js +1 -1
  141. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  142. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  143. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  144. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  145. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  146. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  147. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  148. package/bundle/obf/src/tools/https/https.class.js +1 -1
  149. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  150. package/bundle/obf/src/tools/log/log.class.js +1 -1
  151. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  152. package/bundle/obf/src/tools/options/options.class.js +1 -1
  153. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  154. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  155. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  156. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  157. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  158. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  159. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maka/maka-cli",
3
- "version": "4.12.21",
3
+ "version": "4.12.23",
4
4
  "type": "module",
5
5
  "summary": "A command line tool for scaffolding Meteor 2.x applications using either React.",
6
6
  "description": "A command line tool for scaffolding Meteor 2.x applications using React.",
@@ -1 +1 @@
1
- const a0q=a0d;(function(a,b){const n=a0d,c=a();while(!![]){try{const d=parseInt(n(0x1f0))/0x1+-parseInt(n(0x231))/0x2+parseInt(n(0x21a))/0x3*(-parseInt(n(0x1f5))/0x4)+-parseInt(n(0x1ff))/0x5+parseInt(n(0x20d))/0x6*(parseInt(n(0x219))/0x7)+parseInt(n(0x214))/0x8+parseInt(n(0x216))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a0c,0xd9edf));function a0d(a,b){const c=a0c();return a0d=function(d,e){d=d-0x1ef;let f=c[d];return f;},a0d(a,b);}const a0b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a0d;if(c){const e=c[o(0x207)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a0a=a0b(this,function(){const p=a0d;return a0a[p(0x237)]()[p(0x233)]('(((.+)+)+)+$')['toString']()[p(0x22e)](a0a)[p(0x233)]('(((.+)+)+)+$');});a0a();import a0e from'cli-table';import a0f from'./commands/maka.cmd.js';function a0c(){const A=['run','LIGHT','Command\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','call','bind','672102QdwkqQ','validateMeteorInstall','join','maxOptsLength','Command\x20','126288TpeJZn','minArgLength','maxArgLength','Too\x20many\x20options','validateParams','shortDesc','addCommand','Command\x20not\x20found','header','sort','8761465fsBrrq','invoke','usage','aliases','murder','slice','minOptsLength','match','apply','options','play','Too\x20few\x20options','Please\x20run\x20\x22maka\x20install\x20meteor\x22','Too\x20many\x20arguments','744048ZxiTWa','name','Command\x20requires\x20a\x20name','notice','fsi','assign','create','8589464YFsawQ','getGlobalConfig','1254537YZgvdm','Name','validateMakaSubscription','77BsXnQf','39vuNWDZ','length','pallet','exit','keys','You\x20must\x20be\x20logged\x20in\x20to\x20run\x20this\x20command','error','find','split','Alias','mustBeLoggedIn','function','localeCompare','Command.create\x20requires\x20a\x20handler\x20function!','Description','mustHaveMeteorInstalled','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','addCommand\x20requires\x20a\x20Command\x20instance','generate','_handler','constructor','push','bright','387796LppyJX','Command\x20format\x20is\x20incorrect','search','Too\x20few\x20arguments','_commands','There\x20is\x20no\x20Meteor\x20application\x20here','toString','Use\x20--help\x20for\x20any\x20sub-command\x20for\x20details','Command.create\x20requires\x20some\x20options!','help','setColorMode','Command\x20requires\x20a\x20handler\x20function','mustBeInMakaProject','validateUserIsLoggedIn','DARK','number'];a0c=function(){return A;};return a0c();}import{Log,ColorMode}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{UsageError,UsageErrorWithSubs,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError,MustBeLoggedIn}from'./error.js';let _prevCmd='';export class Command extends Tool{[a0q(0x208)];['_commands'];constructor(a,b){const r=a0q;super();if(!a)throw new Error(r(0x243));if(!a[r(0x20e)])throw new Error(r(0x20f));if(typeof b!==r(0x225))throw new Error(r(0x23c));this['options']=Object[r(0x212)]({},a),this[r(0x20e)]=this[r(0x208)][r(0x20e)],this[r(0x235)]=[],this[r(0x22d)]=b[r(0x1ef)](this);}static[a0q(0x213)](a,b,c){const s=a0q;if(!a)throw new Error(s(0x239));if(typeof b!==s(0x225))throw new Error(s(0x227));const d=new Command(a,b);return c=c||a0f,Object[s(0x212)](d,{'parent':c?.['options']?.[s(0x20e)]}),c[s(0x1fb)](d),d;}[a0q(0x1fb)](a){const t=a0q;if(!(a instanceof Command))throw new Error(t(0x22b));this[t(0x235)][t(0x22f)](a);}async[a0q(0x241)](a,b){const u=a0q;try{a=a||[],b=b||{};try{const c=await this[u(0x211)][u(0x215)](),d=c[u(0x21c)]==='light'?ColorMode[u(0x242)]:ColorMode[u(0x23f)];Log[u(0x23b)](d),await this[u(0x218)](this);}catch(f){Log[u(0x220)](f),process[u(0x21d)](0x0);}return await this[u(0x200)](a,b);}catch(g){process['exit'](0x1);}}async[a0q(0x200)](a,b){const v=a0q,{usage:usage='',description:description='',shortDesc:c,examples:examples=[],isRoot:isRoot=![],requiredOpts:requiredOpts=[],validOpts:d}=this[v(0x208)];try{if(this['options'][v(0x20e)]!==v(0x22c)){if(!isRoot){const f=(a[0x0]===_prevCmd||a[v(0x21b)]===0x0)&&this[v(0x235)][v(0x21b)]>=0x0,g=b[v(0x23a)]||b['h'];if(f&&g){if(this[v(0x235)][v(0x21b)]>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!g){if(this[v(0x208)][v(0x23d)]){const h=this['validateMakaProject']();if(!h)throw new MustBeInProjectError();}if(this[v(0x208)][v(0x224)]){const i=await this[v(0x23e)]();if(!i)throw new MustBeLoggedIn();}if(this[v(0x208)][v(0x229)]){const j=this[v(0x1f1)]();if(!j)throw new NoMeteorFoundError();}if(typeof this[v(0x208)][v(0x1f6)]==='number'){if(a[v(0x21b)]<this[v(0x208)][v(0x1f6)]){Log[v(0x220)](v(0x234));throw new UsageError();}}if(typeof this['options'][v(0x1f7)]===v(0x240)){if(a[v(0x21b)]>=this[v(0x208)][v(0x1f7)]){Log[v(0x220)](v(0x20c));throw new UsageError();}}if(typeof this[v(0x208)][v(0x205)]===v(0x240)){if(Object[v(0x21e)](b)[v(0x21b)]<this[v(0x208)]['minOptsLength']){Log[v(0x220)](v(0x20a));throw new UsageError();}}if(typeof this[v(0x208)]['maxOptsLength']===v(0x240)){if(Object[v(0x21e)](b)['length']>=this[v(0x208)][v(0x1f3)]){Log[v(0x220)](v(0x1f8));throw new UsageError();}}}}b=await this[v(0x1f9)](a,b,this['options']),_prevCmd=a[0x0];}return await this['_handler'][v(0x244)](this,a,b);}catch(k){Log[v(0x201)](description,examples,usage,c,requiredOpts,d);if(k instanceof UsageErrorWithSubs)Log[v(0x210)]('Sub-Commands:'),this['tableList'](this['_commands']),Log[v(0x1fd)](v(0x238));else{if(k instanceof MustBeInProjectError)Log[v(0x220)]('You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20command');else{if(k instanceof NoMeteorFoundError)Log[v(0x220)](v(0x22a)),Log['notice'](v(0x20b));else{if(k instanceof NoMeteorAppFoundError)Log[v(0x220)](v(0x236));else k instanceof MustBeLoggedIn&&(Log[v(0x220)](v(0x21f)),Log[v(0x210)]('Please\x20run\x20\x22maka\x20login\x22'));}}}process['exit'](0x1);}}['tableList'](a){const w=a0q,b=new a0e({});b['push']([w(0x217),w(0x223),w(0x228)]),a[w(0x1fe)]((c,d)=>{const x=w;return c[x(0x20e)][x(0x226)](d['name']);})['forEach'](c=>{const y=w;c[y(0x20e)]!==y(0x203)&&c[y(0x20e)]!==y(0x209)&&b[y(0x22f)]([c[y(0x20e)],c[y(0x202)](),c[y(0x1fa)]()]);}),Log[w(0x230)](b[w(0x237)]());}async['processAndRunCommand'](a,b=[],c={}){const z=a0q;try{const d=a?.[z(0x222)](':');if(!d||d[z(0x21b)]===0x0)throw z(0x232);if(d[0x0]===z(0x22c)||d[0x0]==='g'&&d[z(0x21b)]>0x1){const h=this[z(0x235)][z(0x221)](j=>j[z(0x206)](z(0x22c)));if(!h)throw z(0x1fc);await this['validateMakaSubscription'](h);const i=d[z(0x204)](0x1)[z(0x1f2)](':');return b['unshift'](i),await h['run'](b,c);}let f=this[z(0x235)],g;for(const j of d){g=f[z(0x221)](k=>k['match'](j));if(!g)try{await this[z(0x211)]['maybeProxyCommandToMeteor']();}catch(k){throw z(0x1f4)+j+'\x20not\x20found';}g&&(await this[z(0x218)](g),f=g['_commands']);}if(g){const l=await g[z(0x241)](b,c);return l;}else throw'Command\x20not\x20found';}catch(m){Log[z(0x220)](m),process[z(0x21d)](0x1);}}}
1
+ function a0d(a,b){const c=a0c();return a0d=function(d,e){d=d-0x149;let f=c[d];return f;},a0d(a,b);}const a0q=a0d;function a0c(){const A=['unshift','Description','fsi','header','pallet','_commands','Name','Command\x20requires\x20a\x20handler\x20function','help','match','minOptsLength','DARK','error','6369POBYfX','validateMakaSubscription','assign','localeCompare','aliases','mustHaveMeteorInstalled','There\x20is\x20no\x20Meteor\x20application\x20here','name','479970GiVTUz','minArgLength','Command.create\x20requires\x20some\x20options!','validateParams','bright','15882432BXIjJT','Command\x20requires\x20a\x20name','validateUserIsLoggedIn','keys','Use\x20--help\x20for\x20any\x20sub-command\x20for\x20details','Sub-Commands:','number','maxArgLength','Alias','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20command','Command\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','maxOptsLength','toString','function','1ZgRkXI','6290pbRwQB','call','(((.+)+)+)+$','processAndRunCommand','sort','941445JlfHCc','getGlobalConfig','apply','exit','Please\x20run\x20\x22maka\x20install\x20meteor\x22','search','522kpwNkL','options','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','Command\x20format\x20is\x20incorrect','generate','play','10889774UEOlVK','Too\x20many\x20options','tableList','run','join','invoke','addCommand','_handler','addCommand\x20requires\x20a\x20Command\x20instance','length','Please\x20run\x20\x22maka\x20login\x22','1156jcOAlk','LIGHT','Too\x20few\x20arguments','Command\x20not\x20found','You\x20must\x20be\x20logged\x20in\x20to\x20run\x20this\x20command','notice','3240aeRIVJ','Command.create\x20requires\x20a\x20handler\x20function!','push','split','14090VGHivN','find','murder','mustBeInMakaProject'];a0c=function(){return A;};return a0c();}(function(a,b){const n=a0d,c=a();while(!![]){try{const d=parseInt(n(0x196))/0x1*(parseInt(n(0x183))/0x2)+parseInt(n(0x166))/0x3*(parseInt(n(0x160))/0x4)+-parseInt(n(0x16a))/0x5*(parseInt(n(0x14f))/0x6)+-parseInt(n(0x155))/0x7+parseInt(n(0x188))/0x8+-parseInt(n(0x149))/0x9+parseInt(n(0x197))/0xa*(parseInt(n(0x17b))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a0c,0xf3333));const a0b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a0d;if(c){const e=c[o(0x14b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a0a=a0b(this,function(){const p=a0d;return a0a[p(0x194)]()[p(0x14e)](p(0x199))['toString']()['constructor'](a0a)[p(0x14e)](p(0x199));});a0a();import a0e from'cli-table';import a0f from'./commands/maka.cmd.js';import{Log,ColorMode}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{UsageError,UsageErrorWithSubs,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError,MustBeLoggedIn}from'./error.js';let _prevCmd='';export class Command extends Tool{[a0q(0x150)];[a0q(0x173)];constructor(a,b){const r=a0q;super();if(!a)throw new Error(r(0x192));if(!a[r(0x182)])throw new Error(r(0x189));if(typeof b!==r(0x195))throw new Error(r(0x175));this['options']=Object[r(0x17d)]({},a),this[r(0x182)]=this['options']['name'],this[r(0x173)]=[],this['_handler']=b['bind'](this);}static['create'](a,b,c){const s=a0q;if(!a)throw new Error(s(0x185));if(typeof b!==s(0x195))throw new Error(s(0x167));const d=new Command(a,b);return c=c||a0f,Object[s(0x17d)](d,{'parent':c?.[s(0x150)]?.['name']}),c[s(0x15b)](d),d;}[a0q(0x15b)](a){const t=a0q;if(!(a instanceof Command))throw new Error(t(0x15d));this[t(0x173)][t(0x168)](a);}async['run'](a,b){const u=a0q;try{a=a||[],b=b||{};try{const c=await this[u(0x170)][u(0x14a)](),d=c[u(0x172)]==='light'?ColorMode[u(0x161)]:ColorMode[u(0x179)];Log['setColorMode'](d),await this['validateMakaSubscription'](this);}catch(f){Log[u(0x17a)](f),process[u(0x14c)](0x0);}return await this[u(0x15a)](a,b);}catch(g){process[u(0x14c)](0x1);}}async[a0q(0x15a)](a,b){const v=a0q,{usage:usage='',description:description='',shortDesc:c,examples:examples=[],isRoot:isRoot=![],requiredOpts:requiredOpts=[],validOpts:d}=this[v(0x150)];try{if(this[v(0x150)][v(0x182)]!==v(0x153)){if(!isRoot){const f=(a[0x0]===_prevCmd||a[v(0x15e)]===0x0)&&this[v(0x173)][v(0x15e)]>=0x0,g=b[v(0x176)]||b['h'];if(f&&g){if(this[v(0x173)][v(0x15e)]>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!g){if(this[v(0x150)][v(0x16d)]){const h=this['validateMakaProject']();if(!h)throw new MustBeInProjectError();}if(this[v(0x150)]['mustBeLoggedIn']){const i=await this[v(0x18a)]();if(!i)throw new MustBeLoggedIn();}if(this[v(0x150)][v(0x180)]){const j=this['validateMeteorInstall']();if(!j)throw new NoMeteorFoundError();}if(typeof this[v(0x150)][v(0x184)]===v(0x18e)){if(a['length']<this[v(0x150)][v(0x184)]){Log['error'](v(0x162));throw new UsageError();}}if(typeof this['options']['maxArgLength']==='number'){if(a[v(0x15e)]>=this[v(0x150)][v(0x18f)]){Log['error']('Too\x20many\x20arguments');throw new UsageError();}}if(typeof this['options'][v(0x178)]==='number'){if(Object[v(0x18b)](b)[v(0x15e)]<this[v(0x150)][v(0x178)]){Log[v(0x17a)]('Too\x20few\x20options');throw new UsageError();}}if(typeof this[v(0x150)][v(0x193)]===v(0x18e)){if(Object[v(0x18b)](b)[v(0x15e)]>=this[v(0x150)]['maxOptsLength']){Log[v(0x17a)](v(0x156));throw new UsageError();}}}}b=await this[v(0x186)](a,b,this[v(0x150)]),_prevCmd=a[0x0];}return await this[v(0x15c)][v(0x198)](this,a,b);}catch(k){Log['usage'](description,examples,usage,c,requiredOpts,d);if(k instanceof UsageErrorWithSubs)Log[v(0x165)](v(0x18d)),this[v(0x157)](this[v(0x173)]),Log[v(0x171)](v(0x18c));else{if(k instanceof MustBeInProjectError)Log[v(0x17a)](v(0x191));else{if(k instanceof NoMeteorFoundError)Log[v(0x17a)](v(0x151)),Log[v(0x165)](v(0x14d));else{if(k instanceof NoMeteorAppFoundError)Log[v(0x17a)](v(0x181));else k instanceof MustBeLoggedIn&&(Log[v(0x17a)](v(0x164)),Log['notice'](v(0x15f)));}}}process[v(0x14c)](0x1);}}['tableList'](a){const w=a0q,b=new a0e({});b[w(0x168)]([w(0x174),w(0x190),w(0x16f)]),a[w(0x19b)]((c,d)=>{const x=w;return c[x(0x182)][x(0x17e)](d[x(0x182)]);})['forEach'](c=>{const y=w;c['name']!==y(0x16c)&&c['name']!==y(0x154)&&b[y(0x168)]([c[y(0x182)],c[y(0x17f)](),c['shortDesc']()]);}),Log[w(0x187)](b[w(0x194)]());}async[a0q(0x19a)](a,b=[],c={}){const z=a0q;try{const d=a?.[z(0x169)](':');if(!d||d[z(0x15e)]===0x0)throw z(0x152);if(d[0x0]===z(0x153)||d[0x0]==='g'&&d['length']>0x1){const h=this[z(0x173)]['find'](j=>j[z(0x177)](z(0x153)));if(!h)throw z(0x163);await this[z(0x17c)](h);const i=d['slice'](0x1)[z(0x159)](':');return b[z(0x16e)](i),await h['run'](b,c);}let f=this['_commands'],g;for(const j of d){g=f[z(0x16b)](k=>k[z(0x177)](j));if(!g)try{await this['fsi']['maybeProxyCommandToMeteor']();}catch(k){throw'Command\x20'+j+'\x20not\x20found';}g&&(await this[z(0x17c)](g),f=g['_commands']);}if(g){const l=await g[z(0x158)](b,c);return l;}else throw z(0x163);}catch(m){Log['error'](m),process['exit'](0x1);}}}
@@ -1 +1 @@
1
- (function(a,b){var f=a1d,c=a();while(!![]){try{var d=parseInt(f(0xc9))/0x1+-parseInt(f(0xcd))/0x2*(parseInt(f(0xd1))/0x3)+parseInt(f(0xc7))/0x4+parseInt(f(0xca))/0x5*(parseInt(f(0xcc))/0x6)+-parseInt(f(0xc5))/0x7*(parseInt(f(0xce))/0x8)+parseInt(f(0xc8))/0x9+parseInt(f(0xd0))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a1c,0x42713));var a1b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a1a=a1b(this,function(){var g=a1d;return a1a[g(0xcf)]()[g(0xc6)](g(0xcb))[g(0xcf)]()['constructor'](a1a)[g(0xc6)](g(0xcb));});a1a();import'./aws/_index.js';import'./set/_index.js';import'./get/_index.js';import'./game/_index.js';import'./build/_index.js';function a1c(){var h=['search','89216sfMPGF','2276262XkevsZ','39961nTYPia','40LXUzgD','(((.+)+)+)+$','185064EdwiCg','8834AjlyII','8zgXyDw','toString','4498140IaVLWa','195uLdCjo','3167479HDnvQC'];a1c=function(){return h;};return a1c();}import'./deploy/_index.js';import'./run/_index.js';import'./create.js';import'./debug.js';import'./generate.js';function a1d(a,b){var c=a1c();return a1d=function(d,e){d=d-0xc5;var f=c[d];return f;},a1d(a,b);}import'./help.js';import'./install.js';import'./login.js';import'./logout.js';import'./logs.js';import'./maka.cmd.js';import'./reconfig.js';import'./ssh.js';import'./ssl.js';import'./test.js';import'./version.js';import'./murder.js';import'./proxy.js';import'./lint.js';import'./undo.js';import'./register.js';import'./patreon.js';import'./profile.js';
1
+ function a1d(a,b){var c=a1c();return a1d=function(d,e){d=d-0x136;var f=c[d];return f;},a1d(a,b);}(function(a,b){var f=a1d,c=a();while(!![]){try{var d=parseInt(f(0x136))/0x1+-parseInt(f(0x13f))/0x2*(-parseInt(f(0x13c))/0x3)+-parseInt(f(0x13d))/0x4*(-parseInt(f(0x141))/0x5)+-parseInt(f(0x140))/0x6+parseInt(f(0x13e))/0x7*(-parseInt(f(0x142))/0x8)+parseInt(f(0x137))/0x9*(-parseInt(f(0x13a))/0xa)+-parseInt(f(0x139))/0xb*(-parseInt(f(0x145))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a1c,0x193bd));var a1b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a1d;if(c){var e=c[g(0x143)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a1a=a1b(this,function(){var h=a1d;return a1a[h(0x138)]()[h(0x146)]('(((.+)+)+)+$')[h(0x138)]()[h(0x144)](a1a)[h(0x146)](h(0x13b));});a1a();import'./aws/_index.js';import'./set/_index.js';import'./get/_index.js';import'./game/_index.js';import'./build/_index.js';import'./deploy/_index.js';import'./run/_index.js';import'./create.js';import'./debug.js';import'./generate.js';import'./help.js';import'./install.js';import'./login.js';import'./logout.js';import'./logs.js';import'./maka.cmd.js';import'./reconfig.js';function a1c(){var i=['constructor','156iDSvhO','search','176080NEDXWk','9EJEBep','toString','34661yCdicK','1741780ploTvZ','(((.+)+)+)+$','133725cpATmz','4dkhoqr','13223HCIUrz','2HzFpsx','159270TNBkVt','353985ztUeaD','120FsGzWR','apply'];a1c=function(){return i;};return a1c();}import'./ssh.js';import'./ssl.js';import'./test.js';import'./version.js';import'./murder.js';import'./proxy.js';import'./lint.js';import'./undo.js';import'./register.js';import'./patreon.js';import'./profile.js';
@@ -1 +1 @@
1
- const a2m=a2d;(function(a,b){const h=a2d,c=a();while(!![]){try{const d=-parseInt(h(0x1bc))/0x1+-parseInt(h(0x1b9))/0x2*(-parseInt(h(0x1a2))/0x3)+-parseInt(h(0x1a7))/0x4+parseInt(h(0x19c))/0x5*(parseInt(h(0x19e))/0x6)+-parseInt(h(0x1a8))/0x7*(-parseInt(h(0x1bb))/0x8)+parseInt(h(0x1a9))/0x9*(parseInt(h(0x1af))/0xa)+-parseInt(h(0x1ad))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a2c,0x5a1d8));const a2b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a2d;if(c){const e=c[i(0x1b8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a2a=a2b(this,function(){const j=a2d;return a2a[j(0x1a4)]()[j(0x1a0)](j(0x1a6))[j(0x1a4)]()['constructor'](a2a)['search'](j(0x1a6));});a2a();import{Command}from'../command.js';function a2c(){const o=['openai','GPT:\x20','stdout','log','choices','trim','You:\x20','730180bUVJnz','question','12BOedsy','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','search','notice','116526CXwDOH','ChatGPT\x20style\x20AI\x20interface','toString','message','(((.+)+)+)+$','2521436NdjYtN','7qcZpYq','1395loaJZX','fsi','getGlobalConfig','close','794541SidaLe','create','33080pKDQgg','error','OpenAI\x20Key\x20is\x20not\x20configured\x20in\x20~/.maka/global-config.json','toLowerCase','cert','Type\x20\x27exit\x27\x20to\x20end\x20the\x20chat.','exit','cacert','isFile','apply','32ylrkgP','openapikey','2542424zodexb','672385dSXgsn','text','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','data','parse','createInterface','Using\x20CA\x20Cert\x20'];a2c=function(){return o;};return a2c();}import{HTTPS}from'../tools/https/https.class.js';import{Log}from'../tools/log/log.class.js';import a2e from'readline';function a2d(a,b){const c=a2c();return a2d=function(d,e){d=d-0x198;let f=c[d];return f;},a2d(a,b);}const startChat=async({openApiKey:a,caCertPath:b})=>{const k=a2d,c=a2e[k(0x1c1)]({'input':process['stdin'],'output':process[k(0x1c5)]});c[k(0x19d)](k(0x19b),async d=>{const l=k;if(d[l(0x1b2)]()===l(0x1b5)){c[l(0x1ac)]();return;}try{const e=await HTTPS['askGPT']({'prompt':d,'openApiKey':a,'certPath':b}),f=JSON[l(0x1c0)](e[l(0x1bf)]);if(f[l(0x1b0)])throw new Error(f['error'][l(0x1a5)]);Log['bright'](l(0x1c4)+f?.[l(0x199)][0x0]?.[l(0x1bd)][l(0x19a)]());}catch(g){Log[l(0x1b0)](g),process[l(0x1b5)](0x1);}startChat({'openApiKey':a,'caCertPath':b});});};Command[a2m(0x1ae)]({'name':'ai','description':'ChatGPT\x20style\x20AI\x20interface','validOpts':['cacert','openapikey'],'shortDesc':a2m(0x1a3),'isPro':!![]},async function(a,b){const n=a2m;try{let c='';b['cacert']&&(this['fsi'][n(0x1b7)](b[n(0x1b6)])?(c=b[n(0x1b6)],Log[n(0x1a1)](n(0x1c2)+c)):Log['error'](n(0x19f)+c));const d=await this[n(0x1aa)][n(0x1ab)]();if(d[n(0x1b3)]){if(this[n(0x1aa)]['isFile'](d[n(0x1b3)]))c=d['cert'];else throw Log[n(0x1b0)](n(0x1be)+c);}let f='';if(b['openapikey'])f=b[n(0x1ba)],Log['notice']('Using\x20OpenAI\x20Key\x20'+f);else{if(d[n(0x1c3)])f=d['openai'];else throw Log['error'](n(0x1b1));}console[n(0x198)](n(0x1b4)),startChat({'caCertPath':c,'openApiKey':f});}catch(g){g&&console[n(0x1b0)](g),process[n(0x1b5)](0x1);}});
1
+ const a2m=a2d;(function(a,b){const h=a2d,c=a();while(!![]){try{const d=-parseInt(h(0x135))/0x1+-parseInt(h(0x139))/0x2*(parseInt(h(0x131))/0x3)+parseInt(h(0x13f))/0x4*(parseInt(h(0x147))/0x5)+-parseInt(h(0x13a))/0x6*(-parseInt(h(0x14c))/0x7)+parseInt(h(0x132))/0x8+-parseInt(h(0x149))/0x9+parseInt(h(0x159))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a2c,0x7400d));function a2c(){const o=['7FbfCUv','ChatGPT\x20style\x20AI\x20interface','error','notice','Using\x20CA\x20Cert\x20','(((.+)+)+)+$','getGlobalConfig','fsi','trim','OpenAI\x20Key\x20is\x20not\x20configured\x20in\x20~/.maka/global-config.json','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','cacert','search','16067250TkyeIh','Using\x20OpenAI\x20Key\x20','message','132xAAMiI','1907664zOjlVn','exit','choices','520321kToLWt','isFile','text','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','25562apeThB','1729236rUTvpm','stdout','GPT:\x20','openapikey','create','33572fPZRLw','openai','cert','apply','log','stdin','toLowerCase','You:\x20','85HQAhVe','question','6464124uRbweG','toString','data'];a2c=function(){return o;};return a2c();}const a2b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a2d;if(c){const e=c[i(0x142)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a2a=a2b(this,function(){const j=a2d;return a2a[j(0x14a)]()[j(0x158)](j(0x151))[j(0x14a)]()['constructor'](a2a)[j(0x158)](j(0x151));});function a2d(a,b){const c=a2c();return a2d=function(d,e){d=d-0x12f;let f=c[d];return f;},a2d(a,b);}a2a();import{Command}from'../command.js';import{HTTPS}from'../tools/https/https.class.js';import{Log}from'../tools/log/log.class.js';import a2e from'readline';const startChat=async({openApiKey:a,caCertPath:b})=>{const k=a2d,c=a2e['createInterface']({'input':process[k(0x144)],'output':process[k(0x13b)]});c[k(0x148)](k(0x146),async d=>{const l=k;if(d[l(0x145)]()===l(0x133)){c['close']();return;}try{const e=await HTTPS['askGPT']({'prompt':d,'openApiKey':a,'certPath':b}),f=JSON['parse'](e[l(0x14b)]);if(f[l(0x14e)])throw new Error(f['error'][l(0x130)]);Log['bright'](l(0x13c)+f?.[l(0x134)][0x0]?.[l(0x137)][l(0x154)]());}catch(g){Log[l(0x14e)](g),process[l(0x133)](0x1);}startChat({'openApiKey':a,'caCertPath':b});});};Command[a2m(0x13e)]({'name':'ai','description':a2m(0x14d),'validOpts':[a2m(0x157),a2m(0x13d)],'shortDesc':a2m(0x14d),'isPro':!![]},async function(a,b){const n=a2m;try{let c='';b['cacert']&&(this[n(0x153)][n(0x136)](b['cacert'])?(c=b['cacert'],Log[n(0x14f)](n(0x150)+c)):Log[n(0x14e)](n(0x156)+c));const d=await this[n(0x153)][n(0x152)]();if(d[n(0x141)]){if(this[n(0x153)][n(0x136)](d['cert']))c=d[n(0x141)];else throw Log[n(0x14e)](n(0x138)+c);}let f='';if(b[n(0x13d)])f=b[n(0x13d)],Log['notice'](n(0x12f)+f);else{if(d['openai'])f=d[n(0x140)];else throw Log[n(0x14e)](n(0x155));}console[n(0x143)]('Type\x20\x27exit\x27\x20to\x20end\x20the\x20chat.'),startChat({'caCertPath':c,'openApiKey':f});}catch(g){g&&console[n(0x14e)](g),process[n(0x133)](0x1);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a3d,c=a();while(!![]){try{var d=-parseInt(f(0x123))/0x1+-parseInt(f(0x127))/0x2+-parseInt(f(0x121))/0x3*(-parseInt(f(0x126))/0x4)+parseInt(f(0x12c))/0x5+parseInt(f(0x124))/0x6+-parseInt(f(0x129))/0x7*(-parseInt(f(0x12a))/0x8)+parseInt(f(0x12d))/0x9*(parseInt(f(0x120))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a3c,0xe0d80));function a3d(a,b){var c=a3c();return a3d=function(d,e){d=d-0x11f;var f=c[d];return f;},a3d(a,b);}var a3b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a3d;if(c){var e=c[g(0x128)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a3a=a3b(this,function(){var h=a3d;return a3a[h(0x12b)]()[h(0x122)](h(0x125))[h(0x12b)]()[h(0x11f)](a3a)['search']('(((.+)+)+)+$');});a3a();import'./aws.command.js';import'./ci.sub.cmd.js';import'./ckp.sub.cmd.js';import'./csg.sub.cmd.js';import'./di.sub.cmd.js';import'./dkp.sub.cmd.js';import'./rbi.sub.cmd.js';function a3c(){var i=['1401435hvKbHK','9OZEnZk','constructor','11295170yFPlca','160404GQrUsI','search','1285366aevfzC','5172834EChxFN','(((.+)+)+)+$','4MkmaZf','2990742RirNeI','apply','73542iTylwI','1048OrwBqT','toString'];a3c=function(){return i;};return a3c();}import'./sth.sub.cmd.js';import'./ti.sub.cmd.js';import'./dsg.sub.cmd.js';import'./rkp.sub.cmd.js';import'./chz.sub.cmd.js';import'./rdn.sub.cmd.js';import'./cecr.sub.cmd.js';import'./decr.sub.cmd.js';import'./lecr.sub.cmd.js';
1
+ (function(a,b){var f=a3d,c=a();while(!![]){try{var d=-parseInt(f(0xf8))/0x1+parseInt(f(0xf7))/0x2+parseInt(f(0xf4))/0x3+parseInt(f(0xf9))/0x4*(-parseInt(f(0xf5))/0x5)+parseInt(f(0xfa))/0x6*(-parseInt(f(0xfb))/0x7)+parseInt(f(0xf6))/0x8+parseInt(f(0xfd))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a3c,0xd7c5a));var a3b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a3d;if(c){var e=c[g(0xf2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a3a=a3b(this,function(){var h=a3d;return a3a[h(0xf3)]()[h(0xfc)]('(((.+)+)+)+$')[h(0xf3)]()[h(0xf1)](a3a)[h(0xfc)]('(((.+)+)+)+$');});function a3c(){var i=['169551sRzJQS','20HOhLGF','6473440PsITII','3304022GDmfYW','1265561ZmZcDV','197704uEWjRe','2994AaADnL','5383eXGOgi','search','1917810YmXnLp','constructor','apply','toString'];a3c=function(){return i;};return a3c();}a3a();import'./aws.command.js';import'./ci.sub.cmd.js';import'./ckp.sub.cmd.js';import'./csg.sub.cmd.js';import'./di.sub.cmd.js';import'./dkp.sub.cmd.js';import'./rbi.sub.cmd.js';import'./sth.sub.cmd.js';import'./ti.sub.cmd.js';function a3d(a,b){var c=a3c();return a3d=function(d,e){d=d-0xf1;var f=c[d];return f;},a3d(a,b);}import'./dsg.sub.cmd.js';import'./rkp.sub.cmd.js';import'./chz.sub.cmd.js';import'./rdn.sub.cmd.js';import'./cecr.sub.cmd.js';import'./decr.sub.cmd.js';import'./lecr.sub.cmd.js';
@@ -1 +1 @@
1
- const a4i=a4d;(function(a,b){const f=a4d,c=a();while(!![]){try{const d=parseInt(f(0x124))/0x1+-parseInt(f(0x116))/0x2*(-parseInt(f(0x117))/0x3)+parseInt(f(0x127))/0x4+parseInt(f(0x115))/0x5*(-parseInt(f(0x11f))/0x6)+parseInt(f(0x128))/0x7*(-parseInt(f(0x11e))/0x8)+-parseInt(f(0x119))/0x9+-parseInt(f(0x11b))/0xa*(parseInt(f(0x118))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a4c,0x20a48));const a4b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a4d;if(c){const e=c[g(0x123)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a4a=a4b(this,function(){const h=a4d;return a4a['toString']()[h(0x11a)](h(0x126))[h(0x11d)]()[h(0x11c)](a4a)[h(0x11a)]('(((.+)+)+)+$');});a4a();import{Command}from'../../command.js';function a4c(){const j=['118024IWjDCn','138lNGQwW','\x0a\x20\x20Create,\x20view,\x20terminate\x20EC2\x20instances,\x20assign\x20key-pairs,\x20set\x20host\x20IPs,\x20and\x20more.\x0a\x20\x20','Manage\x20EC2\x20instances,\x20VPC\x20Security\x20groups,\x20and\x20Key\x20Pairs','create','apply','204911nZThsT','maka\x20aws:<sub-command>','(((.+)+)+)+$','881716OIsFMP','56mEqvgZ','40870RUbWXP','4doZCsg','228837UJMpef','11QtbiUo','23589WwvnxZ','search','1355470wKYPMt','constructor','toString'];a4c=function(){return j;};return a4c();}function a4d(a,b){const c=a4c();return a4d=function(d,e){d=d-0x115;let f=c[d];return f;},a4d(a,b);}import{UsageError}from'../../error.js';const AWSCommand=Command[a4i(0x122)]({'name':'aws','usage':a4i(0x125),'validOpts':[],'shortDesc':a4i(0x121),'description':a4i(0x120)},async function(){throw UsageError;});export default AWSCommand;
1
+ const a4h=a4d;function a4c(){const i=['aws','429SfdmnJ','maka\x20aws:<sub-command>','326316UajqdR','\x0a\x20\x20Create,\x20view,\x20terminate\x20EC2\x20instances,\x20assign\x20key-pairs,\x20set\x20host\x20IPs,\x20and\x20more.\x0a\x20\x20','36968JTgTdD','342599FrMZBJ','1419102NnITAg','2087466ggBXQm','create','20TQvUEs','toString','41187PZuDZR','(((.+)+)+)+$','28hkgsfu','constructor','161FfZfqg','5rkDXrU','23340xivqiF','search'];a4c=function(){return i;};return a4c();}(function(a,b){const f=a4d,c=a();while(!![]){try{const d=parseInt(f(0xe4))/0x1+parseInt(f(0xe1))/0x2+parseInt(f(0xea))/0x3*(-parseInt(f(0xd8))/0x4)+-parseInt(f(0xdb))/0x5*(parseInt(f(0xe6))/0x6)+-parseInt(f(0xda))/0x7*(parseInt(f(0xe3))/0x8)+-parseInt(f(0xe5))/0x9*(-parseInt(f(0xe8))/0xa)+parseInt(f(0xdf))/0xb*(-parseInt(f(0xdc))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a4c,0x2f991));const a4b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a4a=a4b(this,function(){const g=a4d;return a4a[g(0xe9)]()[g(0xdd)](g(0xeb))[g(0xe9)]()[g(0xd9)](a4a)[g(0xdd)]('(((.+)+)+)+$');});a4a();import{Command}from'../../command.js';function a4d(a,b){const c=a4c();return a4d=function(d,e){d=d-0xd8;let f=c[d];return f;},a4d(a,b);}import{UsageError}from'../../error.js';const AWSCommand=Command[a4h(0xe7)]({'name':a4h(0xde),'usage':a4h(0xe0),'validOpts':[],'shortDesc':'Manage\x20EC2\x20instances,\x20VPC\x20Security\x20groups,\x20and\x20Key\x20Pairs','description':a4h(0xe2)},async function(){throw UsageError;});export default AWSCommand;
@@ -1 +1 @@
1
- const a5j=a5d;(function(a,b){const g=a5d,c=a();while(!![]){try{const d=parseInt(g(0x1fe))/0x1*(-parseInt(g(0x1f9))/0x2)+parseInt(g(0x1e2))/0x3*(-parseInt(g(0x1f1))/0x4)+parseInt(g(0x1e1))/0x5*(parseInt(g(0x1f8))/0x6)+-parseInt(g(0x1ff))/0x7+-parseInt(g(0x1e6))/0x8+-parseInt(g(0x200))/0x9*(parseInt(g(0x1e4))/0xa)+-parseInt(g(0x1f6))/0xb*(-parseInt(g(0x202))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a5c,0x57795));const a5b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a5d;if(c){const e=c[h(0x1f4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a5a=a5b(this,function(){const i=a5d;return a5a[i(0x1ef)]()['search']('(((.+)+)+)+$')[i(0x1ef)]()[i(0x1f0)](a5a)['search'](i(0x1fc));});a5a();function a5d(a,b){const c=a5c();return a5d=function(d,e){d=d-0x1e1;let f=c[d];return f;},a5d(a,b);}import a5e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command[a5j(0x1e8)]({'name':a5j(0x1f5),'aliases':['cecr'],'usage':a5j(0x1f7),'requiredOpts':[a5j(0x1e3)],'validOpts':[a5j(0x201)],'shortDesc':a5j(0x1ea),'examples':[a5j(0x1fa),a5j(0x1eb),a5j(0x1f2)]},async function(a,b){const k=a5j;try{const c=new AWS(),d=await c[k(0x1f3)](b);d&&d['$metadata'][k(0x1e5)]===0xc8&&d[k(0x1ed)]?(Log[k(0x1fd)](k(0x1ec)),Log['notice'](k(0x1e7)+d[k(0x1ed)][k(0x1fb)])):Log['error'](k(0x1e9)),process['exit'](0x0);}catch(f){Log['error'](f),process[k(0x1ee)](0x1);}},a5e);function a5c(){const l=['Repository\x20URI:\x20','create','Failed\x20to\x20create\x20the\x20repository.\x20Please\x20check\x20the\x20AWS\x20console\x20for\x20more\x20details.','Create\x20an\x20Elastic\x20Container\x20Repository','maka\x20aws:cecr\x20--name=my-new-repo','Repository\x20created\x20successfully.','repository','exit','toString','constructor','8JtbPeB','maka\x20aws:cecr\x20--name=my-new-repo\x20--region=us-east-1','ecrCreateRepository','apply','create-ecr','176sMOohi','maka\x20aws:create-ecr','431286yrHHOL','1032736Munlib','maka\x20aws:create-ecr\x20--name=my-new-repo','repositoryUri','(((.+)+)+)+$','success','1xUxLik','4384457McZkNF','56439TnSBDb','region','1437804zJmBvu','10PxqjDY','54033DdlhmA','name','30UPbwnj','httpStatusCode','4039896XmdcQO'];a5c=function(){return l;};return a5c();}
1
+ const a5j=a5d;(function(a,b){const g=a5d,c=a();while(!![]){try{const d=-parseInt(g(0x143))/0x1*(-parseInt(g(0x145))/0x2)+-parseInt(g(0x136))/0x3*(parseInt(g(0x135))/0x4)+-parseInt(g(0x13a))/0x5+-parseInt(g(0x13f))/0x6+-parseInt(g(0x147))/0x7*(-parseInt(g(0x144))/0x8)+-parseInt(g(0x14d))/0x9+parseInt(g(0x133))/0xa*(parseInt(g(0x134))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a5c,0x74511));const a5b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a5d;if(c){const e=c[h(0x14c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a5a=a5b(this,function(){const i=a5d;return a5a[i(0x140)]()['search']('(((.+)+)+)+$')[i(0x140)]()[i(0x14a)](a5a)[i(0x138)](i(0x13d));});a5a();function a5d(a,b){const c=a5c();return a5d=function(d,e){d=d-0x132;let f=c[d];return f;},a5d(a,b);}import a5e from'./aws.command.js';import{Command}from'../../command.js';function a5c(){const l=['create-ecr','3492780fFGhPf','toString','repositoryUri','maka\x20aws:cecr\x20--name=my-new-repo','30190FUzWMC','1379464hayHrb','40qcoyaN','maka\x20aws:cecr\x20--name=my-new-repo\x20--region=us-east-1','14OnEIZm','repository','create','constructor','exit','apply','1397043HDOidj','maka\x20aws:create-ecr','10JciYlT','9609017yKGiGQ','12UjXHbV','563151hVBHip','Repository\x20created\x20successfully.','search','cecr','226360ulqFTW','httpStatusCode','name','(((.+)+)+)+$'];a5c=function(){return l;};return a5c();}import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command[a5j(0x149)]({'name':a5j(0x13e),'aliases':[a5j(0x139)],'usage':a5j(0x132),'requiredOpts':[a5j(0x13c)],'validOpts':['region'],'shortDesc':'Create\x20an\x20Elastic\x20Container\x20Repository','examples':['maka\x20aws:create-ecr\x20--name=my-new-repo',a5j(0x142),a5j(0x146)]},async function(a,b){const k=a5j;try{const c=new AWS(),d=await c['ecrCreateRepository'](b);d&&d['$metadata'][k(0x13b)]===0xc8&&d['repository']?(Log['success'](k(0x137)),Log['notice']('Repository\x20URI:\x20'+d[k(0x148)][k(0x141)])):Log['error']('Failed\x20to\x20create\x20the\x20repository.\x20Please\x20check\x20the\x20AWS\x20console\x20for\x20more\x20details.'),process[k(0x14b)](0x0);}catch(f){Log['error'](f),process['exit'](0x1);}},a5e);
@@ -1 +1 @@
1
- const a6l=a6d;(function(a,b){const i=a6d,c=a();while(!![]){try{const d=-parseInt(i(0x14c))/0x1+parseInt(i(0x13e))/0x2+-parseInt(i(0x143))/0x3+parseInt(i(0x150))/0x4*(-parseInt(i(0x142))/0x5)+parseInt(i(0x13c))/0x6+parseInt(i(0x144))/0x7+parseInt(i(0x14a))/0x8*(parseInt(i(0x13b))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a6c,0x4f1e9));const a6b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a6d;if(c){const e=c[j(0x153)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a6a=a6b(this,function(){const k=a6d;return a6a[k(0x141)]()[k(0x147)](k(0x13f))[k(0x141)]()[k(0x14e)](a6a)[k(0x147)](k(0x13f));});a6a();function a6c(){const n=['apply','chooseInstance','route53CreateHostedZone','linkEC2ToRoute53','exit','8211573MgQINV','3884724xMOaBz','maka\x20aws:chz\x20--domain=example.com','314488ceRTlA','(((.+)+)+)+$','Set\x20hosted\x20zone\x20to\x20an\x20instance?','toString','487005ZZtsQt','1755384yQXbvE','106092mteUUL','confirm','maka\x20aws:create-hosted-zone\x20--domain=example.com','search','create','chz','8bDxfDZ','error','530847uSJsrj','publicIp','constructor','Create\x20a\x20hosted\x20zone\x20in\x20Route\x2053','12PWeivM','domain','Instance\x20not\x20found'];a6c=function(){return n;};return a6c();}import a6e from'./aws.command.js';import{Command}from'../../command.js';function a6d(a,b){const c=a6c();return a6d=function(d,e){d=d-0x138;let f=c[d];return f;},a6d(a,b);}import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command[a6l(0x148)]({'name':'create-hosted-zone','aliases':[a6l(0x149)],'usage':'maka\x20aws:create-hosted-zone','requiredOpts':[a6l(0x151)],'validOpts':[],'shortDesc':a6l(0x14f),'examples':[a6l(0x146),a6l(0x13d)]},async function(a,b){const m=a6l;try{const c=b[m(0x151)],d=new AWS();d[m(0x138)](c);const f=await Actions[m(0x145)](m(0x140));if(f){const g=await d[m(0x154)]();if(g?.['id']){if(!g[m(0x14d)])throw Log['error']('Instance\x20does\x20not\x20have\x20a\x20public\x20IP\x20address');d[m(0x139)](g['id'],g[m(0x14d)],c);}else throw m(0x152);}}catch(h){h&&Log[m(0x14b)](h),process[m(0x13a)](0x0);}},a6e);
1
+ const a6l=a6d;(function(a,b){const i=a6d,c=a();while(!![]){try{const d=parseInt(i(0x1c0))/0x1*(-parseInt(i(0x1bc))/0x2)+parseInt(i(0x1ad))/0x3*(parseInt(i(0x1b5))/0x4)+parseInt(i(0x1bf))/0x5+parseInt(i(0x1b6))/0x6+parseInt(i(0x1b3))/0x7*(parseInt(i(0x1be))/0x8)+-parseInt(i(0x1ab))/0x9*(-parseInt(i(0x1b2))/0xa)+-parseInt(i(0x1a8))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a6c,0xab42b));function a6c(){const n=['446971GkRQPc','apply','maka\x20aws:create-hosted-zone\x20--domain=example.com','Set\x20hosted\x20zone\x20to\x20an\x20instance?','create','toString','Create\x20a\x20hosted\x20zone\x20in\x20Route\x2053','create-hosted-zone','14128884XnaGlb','(((.+)+)+)+$','confirm','1488735lzFRwO','domain','63930LgRATq','constructor','route53CreateHostedZone','exit','search','50XCWDaC','49QwUMyy','publicIp','92GEtiXI','608898uSGxYZ','chooseInstance','linkEC2ToRoute53','error','maka\x20aws:chz\x20--domain=example.com','Instance\x20not\x20found','6ypkqHD','maka\x20aws:create-hosted-zone','1311824RHcCTm','3801530tkVEEk'];a6c=function(){return n;};return a6c();}const a6b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a6d;if(c){const e=c[j(0x1c1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a6a=a6b(this,function(){const k=a6d;return a6a[k(0x1c5)]()['search'](k(0x1a9))[k(0x1c5)]()[k(0x1ae)](a6a)[k(0x1b1)](k(0x1a9));});a6a();function a6d(a,b){const c=a6c();return a6d=function(d,e){d=d-0x1a8;let f=c[d];return f;},a6d(a,b);}import a6e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command[a6l(0x1c4)]({'name':a6l(0x1c7),'aliases':['chz'],'usage':a6l(0x1bd),'requiredOpts':[a6l(0x1ac)],'validOpts':[],'shortDesc':a6l(0x1c6),'examples':[a6l(0x1c2),a6l(0x1ba)]},async function(a,b){const m=a6l;try{const c=b['domain'],d=new AWS();d[m(0x1af)](c);const f=await Actions[m(0x1aa)](m(0x1c3));if(f){const g=await d[m(0x1b7)]();if(g?.['id']){if(!g['publicIp'])throw Log['error']('Instance\x20does\x20not\x20have\x20a\x20public\x20IP\x20address');d[m(0x1b8)](g['id'],g[m(0x1b4)],c);}else throw m(0x1bb);}}catch(h){h&&Log[m(0x1b9)](h),process[m(0x1b0)](0x0);}},a6e);
@@ -1 +1 @@
1
- const a7ah=a7d;(function(a,b){const ae=a7d,c=a();while(!![]){try{const d=-parseInt(ae(0x1c5))/0x1+-parseInt(ae(0x1b8))/0x2*(-parseInt(ae(0x1b5))/0x3)+parseInt(ae(0x194))/0x4+-parseInt(ae(0x1e7))/0x5*(parseInt(ae(0x1df))/0x6)+-parseInt(ae(0x1a3))/0x7*(-parseInt(ae(0x1dd))/0x8)+parseInt(ae(0x1e1))/0x9+-parseInt(ae(0x192))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a7c,0xb1991));const a7b=(function(){let a=!![];return function(b,c){const d=a?function(){const af=a7d;if(c){const e=c[af(0x19a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a7a=a7b(this,function(){const ag=a7d;return a7a[ag(0x1b9)]()[ag(0x1ec)](ag(0x1b2))['toString']()[ag(0x1db)](a7a)[ag(0x1ec)]('(((.+)+)+)+$');});a7a();import a7e from'./aws.command.js';import{execSync}from'child_process';import a7f from'path';function a7d(a,b){const c=a7c();return a7d=function(d,e){d=d-0x191;let f=c[d];return f;},a7d(a,b);}import a7g from'fs';import{Actions}from'../../tools/actions/actions.class.js';import{AWS}from'../../tools/aws/aws.class.js';import{Command}from'../../command.js';function a7c(){const au=['Setting\x20the\x20key-pair\x20to:\x20','subnetId','chooseVPC','create','isFile','deleteKeyPair','maka\x20aws:create-instance','21ZnEEYd','\x20AMIID:\x20','getTime','error','exit','Setting\x20Subnet\x20ID\x20to\x20','join','forEach','notice','\x22\x20--query\x20\x22Subnets[*].{subnet:CidrBlock}\x22','alias','ask','bright','**\x20Available\x20key-pairs\x20**','\x20SGID:\x20','(((.+)+)+)+$','Run\x20\x22maka\x20aws:set-host\x22\x20to\x20configure\x20your\x20ssh.json\x20file','createKeyPair','3840849fcvmqo','deleteSecurityGroup','maka\x20aws:ci\x20--env\x20prod','2GYoRbE','toString','subnet','Please\x20choose\x20an\x20AMI\x20ID\x20to\x20assign\x20the\x20instance\x20to:\x20[0]\x20','getConfigFromShorthand','Security\x20Group:\x20','Remove\x20the\x20keypair\x20','t3.micro','ABORTED!\x20No\x20instance\x20has\x20been\x20created!','name','Subnet:\x20','\x20CIDR:\x20','ec2create','613835JLRqRS','Would\x20you\x20like\x20to\x20include\x20user\x20data?','parse','env','Setting\x20AMI\x20ID\x20to\x20','User\x20Data:','Instance\x20created!\x20\x20NOTE:\x20You\x20are\x20now\x20being\x20billed\x20for\x20this\x20EC2.','getSecurityGroups','How\x20many\x20instances\x20do\x20you\x20want\x20to\x20create\x20(min:max)?\x20[1:1]\x20','unlinkSync','environment','push','ID:\x20','1:1','readFileSync','create-instance','\x20DESCRIPTION:\x20','amazon','Please\x20modify\x20and\x20save\x20the\x20user-data\x20file.\x20\x20Ready\x20to\x20continue?','sgId','ec2createSG','split','constructor','Setting\x20SG\x20ID\x20to:\x20','3635096negySg','Comma\x20separated\x20list\x20of\x20ports\x20[22,80,443]:\x20','594dmizbt','Would\x20you\x20like\x20to\x20create\x20a\x20new\x20security\x20group?','9969363SyJJXa','\x20AZONE:\x20','user-data','number','log','date','71270hxhikM','What\x20instance\x20type\x20would\x20you\x20like?\x20[t3.micro]','22,80,443','Name','cider','search','fsi','Ready\x20to\x20create\x20instance?\x20NOTE:\x20You\x20WILL\x20be\x20billed\x20for\x20this\x20instance\x20by\x20AWS.','sort','success','confirm','**\x20Available\x20Subnets\x20**','Web\x20App','\x20SG\x20NAME:\x20','aws\x20ec2\x20describe-images\x20--filters\x20\x22Name=description,Values=*LTS*\x22\x20\x22Name=name,Values=*server*\x22\x20\x22Name=name,Values=*ubuntu*\x22\x20\x22Name=creation-date,Values=*','amiId','\x0a\x20\x20Walk\x20through\x20a\x20list\x20of\x20questions\x20that\x20will\x20properly\x20provision\x20a\x20new\x20EC2\x0a\x20\x20instance.\x0a\x0a\x20\x20Once\x20created,\x20you\x20will\x20begin\x20to\x20be\x20billed\x20for\x20the\x20resource!\x0a\x20\x20','Setting\x20the\x20number\x20of\x20instances\x20to:\x20','11558360PpPyFe','maka\x20aws:create-instance\x20--env\x20dev','628428TNvsrD','aws\x20ec2\x20describe-subnets\x20--query\x20\x22Subnets[*].{subnetId:SubnetId,cider:CidrBlock,az:AvailabilityZone}\x22','Please\x20choose\x20a\x20subnet\x20ID\x20to\x20assign\x20the\x20instance\x20to:\x20[0]\x20','Instance\x20Count:\x20','Would\x20you\x20like\x20to\x20make\x20a\x20new\x20PEM\x20key?','Security\x20Group\x20Name:\x20[','apply','string'];a7c=function(){return au;};return a7c();}import{Log}from'../../tools/log/log.class.js';import{FSI}from'../../tools/fsi/fsi.class.js';Command[a7ah(0x19f)]({'name':a7ah(0x1d4),'aliases':['ci'],'usage':a7ah(0x1a2),'examples':[a7ah(0x193),a7ah(0x1b7)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a7ah(0x1c8)}],'validOpts':[],'shortDesc':'Create\x20new\x20AWS\x20instance','description':a7ah(0x1f7)},async function(a,b){const ai=a7ah;try{const c=this[ai(0x1ed)]['getMakaProjectConfig'](),d=new AWS(),f=new FSI(),{appName:g}=c,h=this['fsi'][ai(0x1bc)](b[ai(0x1c8)]),i=this[ai(0x1ed)]['getAppConfigPath'](h),j=g+'-'+h,k=await Actions[ai(0x1ae)]('EC2\x20Name:\x20['+j+']\x20')||j;let l='',m='',n='',o='',p='';const q=await Actions[ai(0x1f1)](ai(0x198),!![]);let r='',s='';if(q){const {keyName:y,filePath:z}=await d[ai(0x1b4)]({'env':h});r=y,s=z,Log[ai(0x1f0)]('Setting\x20the\x20key-pair\x20to:\x20'+r);}else try{Log[ai(0x1ab)](ai(0x1b0));const A=r?r:k,B=await d['ec2describeKeys']({'suggestion':A}),C=await Actions[ai(0x1ae)]('Please\x20choose\x20a\x20key\x20to\x20use:\x20')||'-1';if(parseInt(C)<0x0){Log[ai(0x1a6)]('You\x20must\x20have\x20a\x20key-pair.\x20\x20Please\x20run\x20\x22maka\x20aws\x20create-key-pair\x20--env\x20<env-name>\x22\x20to\x20generate\x20a\x20new\x20key'),Log[ai(0x1ab)]('No\x20instance\x20has\x20been\x20created.');return;}B?.[ai(0x1aa)](function(D){const aj=ai;parseInt(C)===D['id']&&(r=D[aj(0x1c1)],Log['success'](aj(0x19c)+r));});}catch(D){Log[ai(0x1a6)](D);}l=await d[ai(0x19e)]();const t=await Actions[ai(0x1f1)](ai(0x1e0),!![]);let u;if(t){const E=l===''?await d['chooseVPC']():l;u=await Actions[ai(0x1ae)](ai(0x199)+k+']')||k;const F=await Actions[ai(0x1ae)](ai(0x1de))||ai(0x1e9),G=F[ai(0x1da)](',');await d[ai(0x1d9)]({'description':ai(0x1f3),'name':u,'vpcId':E,'sgPorts':G});}u=k;try{const {listIndexId:H,createdSgId:I,sgList:J}=await d[ai(0x1cc)](u);if(I===''){Log[ai(0x1ab)]('**\x20Available\x20Security\x20Groups\x20**'),J['forEach'](function(L){const ak=ai;L['name']===u?Log['notice'](ak(0x1d1)+L['id']+'\x20SG\x20NAME:\x20'+L[ak(0x1c1)]+ak(0x1b1)+L[ak(0x1d8)]):Log[ak(0x1af)](ak(0x1d1)+L['id']+ak(0x1f4)+L[ak(0x1c1)]+ak(0x1b1)+L[ak(0x1d8)]);});const K=await Actions[ai(0x1ae)]('Please\x20choose\x20a\x20SG\x20to\x20assign\x20the\x20instance\x20to:\x20['+H+']\x20')||H[ai(0x1b9)]();J[ai(0x1aa)](function(L){const al=ai;L['id']===parseInt(K)&&(m=L[al(0x1d8)],Log[al(0x1f0)](al(0x1dc)+m+'\x0a'));});}else m=I,Log['success'](ai(0x1dc)+m+'\x0a');if(m==='')throw Log[ai(0x1a6)]('That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.');}catch(L){Log[ai(0x1a6)](L);}try{const M=0x7e6;Log['notice']('**\x20Available\x20AMIs\x20**');const N=execSync(ai(0x1f5)+M+'*\x22\x20\x22Name=root-device-type,Values=ebs\x22\x20\x22Name=description,Values=*Ubuntu?\x20??.??\x20LTS?\x20amd64\x20bionic\x20image*\x22\x20--query\x20\x22Images[*].{Desc:Description,ID:ImageId,alias:ImageOwnerAlias}\x22')[ai(0x1b9)](),O=JSON[ai(0x1c7)](N),P=[],Q=[];O[ai(0x1aa)](function(S){const am=ai;if(S[am(0x1ad)]===am(0x1d6)){const T=S['Desc']['split']('build\x20on\x20')[0x1];P[am(0x1d0)]({'amiId':S['ID'],'desc':S['Desc'],'date':T});}}),P[ai(0x1ef)](function(S,T){const an=ai;return new Date(T[an(0x1e6)])['getTime']()-new Date(S[an(0x1e6)])[an(0x1a5)]();}),P[ai(0x1aa)](function(S,T){const ao=ai;Q[ao(0x1d0)]({'id':T,'amiId':S[ao(0x1f6)],'desc':S['desc']});}),Q[ai(0x1aa)](function(S){const ap=ai;console[ap(0x1e5)]('ID:\x20'+S['id']+ap(0x1a4)+S['amiId']+ap(0x1d5)+S['desc']);});const R=await Actions[ai(0x1ae)](ai(0x1bb))||'0';Q[ai(0x1aa)](function(S){const aq=ai;S['id']===parseInt(R)&&(n=S[aq(0x1f6)],Log[aq(0x1f0)](aq(0x1c9)+n+'\x20:\x20'+S['desc']));});if(n==='')throw Log[ai(0x1a6)]('That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.');}catch(S){Log[ai(0x1a6)](S);}try{Log[ai(0x1ab)](ai(0x1f2));const T=execSync(ai(0x195))['toString'](),U=JSON['parse'](T),V=[];U[ai(0x1aa)](function(X,Y){const ar=ai;V['push']({'id':Y,'cidr':X[ar(0x1eb)],'az':X['az'],'subnetId':X[ar(0x19d)]});}),V[ai(0x1aa)](function(X){const as=ai;console[as(0x1e5)](as(0x1d1)+X['id']+as(0x1c3)+X['cidr']+as(0x1e2)+X['az']+'\x20SUBNETID:\x20'+X[as(0x19d)]);});const W=await Actions['ask'](ai(0x196))||'0';V[ai(0x1aa)](function(X){const at=ai;X['id']===parseInt(W)&&(p=X['subnetId'],Log['success'](at(0x1a8)+p));});if(p==='')throw Log[ai(0x1a6)]('That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.');}catch(X){Log[ai(0x1a6)](X);}const v=0x1,w=0x1;try{const Y=await Actions[ai(0x1ae)](ai(0x1cd))||ai(0x1d2),Z=Y[ai(0x1da)](':')[0x0],a0=Y[ai(0x1da)](':')[0x1];typeof parseInt(Z)===ai(0x1e4)&&typeof parseInt(a0)===ai(0x1e4)&&Log['success'](ai(0x191)+Z+':'+a0);}catch(a1){Log[ai(0x1a6)](a1);}try{const a2=await Actions['ask'](ai(0x1e8))||ai(0x1bf);typeof a2===ai(0x19b)&&(o=a2);}catch(a3){Log[ai(0x1a6)](a3);}let x='';try{const a4=await Actions['confirm'](ai(0x1c6),![]);a4&&(x=a7f[ai(0x1a9)](i,ai(0x1e3)),Log['notice']('Creating\x20user\x20data\x20file\x20in\x20'+x),await this[ai(0x1ed)]['createFile']({'filePath':x,'data':''}),await Actions[ai(0x1f1)](ai(0x1d7)));}catch(a5){Log[ai(0x1a6)](a5);}try{const a6=JSON[ai(0x1c7)](execSync('aws\x20ec2\x20describe-subnets\x20--filter\x20\x22Name=subnet-id,Values='+p+ai(0x1ac))[ai(0x1b9)]())[0x0][ai(0x1ba)];Log[ai(0x1ab)]('ImageID:'+n),Log['notice'](ai(0x197)+v+':'+w),Log[ai(0x1ab)]('Instace\x20Type:\x20'+o),Log[ai(0x1ab)]('Key-Pair:\x20'+r),Log[ai(0x1ab)](ai(0x1bd)+m),Log['notice'](ai(0x1c2)+a6);if(x){Log[ai(0x1ab)](ai(0x1ca)+x);const a8=a7g[ai(0x1d3)](x)[ai(0x1b9)]();Log[ai(0x1ab)](a8);}const a7=await Actions['confirm'](ai(0x1ee));if(a7){const a9=await d[ai(0x1c4)]({'imageId':n,'minCount':v,'maxCount':w,'type':o,'key':r,'sgIds':m,'subnet':p,'tags':[{'Key':'created-by','Value':'maka-cli'},{'Key':ai(0x1cf),'Value':h},{'Key':ai(0x1ea),'Value':k}],...x&&{'userData':x}});a9&&(Log[ai(0x1f0)](ai(0x1cb)),Log[ai(0x1af)](ai(0x1b3)));}else{Log['notice'](ai(0x1c0));const aa=await Actions[ai(0x1f1)](ai(0x1be)+r+'\x20?',!![]);aa&&(d[ai(0x1a1)](r),f[ai(0x1a0)](s)&&a7g[ai(0x1ce)](s));const ab=await Actions['confirm']('Remove\x20the\x20security\x20group\x20'+m+'\x20?',!![]);ab&&d[ai(0x1b6)](m);}}catch(ac){Log[ai(0x1a6)](ac);}}catch(ad){ad&&Log['error'](ad),process[ai(0x1a7)](0x0);}},a7e);
1
+ const a7ah=a7d;(function(a,b){const ae=a7d,c=a();while(!![]){try{const d=parseInt(ae(0xc9))/0x1+-parseInt(ae(0xb4))/0x2+parseInt(ae(0xd1))/0x3+parseInt(ae(0xec))/0x4+-parseInt(ae(0x108))/0x5*(-parseInt(ae(0xb1))/0x6)+parseInt(ae(0xc5))/0x7*(-parseInt(ae(0xe6))/0x8)+-parseInt(ae(0x107))/0x9*(parseInt(ae(0xfc))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a7c,0x70b93));const a7b=(function(){let a=!![];return function(b,c){const d=a?function(){const af=a7d;if(c){const e=c[af(0xeb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a7a=a7b(this,function(){const ag=a7d;return a7a[ag(0xb6)]()[ag(0xbf)](ag(0xd3))[ag(0xb6)]()[ag(0x10c)](a7a)[ag(0xbf)]('(((.+)+)+)+$');});a7a();import a7e from'./aws.command.js';import{execSync}from'child_process';function a7c(){const au=['2849SqAtuZ','\x20SUBNETID:\x20','Instace\x20Type:\x20','ID:\x20','481961zOvlxo','\x20SGID:\x20','join','User\x20Data:','sgId','getMakaProjectConfig','environment','ec2create','2511075NwJQrn','**\x20Available\x20key-pairs\x20**','(((.+)+)+)+$','Would\x20you\x20like\x20to\x20make\x20a\x20new\x20PEM\x20key?','What\x20instance\x20type\x20would\x20you\x20like?\x20[t3.micro]','getSecurityGroups','maka\x20aws:ci\x20--env\x20prod','chooseVPC','env','Setting\x20Subnet\x20ID\x20to\x20','amazon','getTime','Please\x20choose\x20a\x20SG\x20to\x20assign\x20the\x20instance\x20to:\x20[','Setting\x20the\x20key-pair\x20to:\x20','**\x20Available\x20Security\x20Groups\x20**','number','Setting\x20SG\x20ID\x20to:\x20','fsi','string','name','aws\x20ec2\x20describe-subnets\x20--filter\x20\x22Name=subnet-id,Values=','7136uquIjB','Please\x20choose\x20a\x20subnet\x20ID\x20to\x20assign\x20the\x20instance\x20to:\x20[0]\x20','subnetId','user-data','success','apply','608408wNsBIu','ABORTED!\x20No\x20instance\x20has\x20been\x20created!','1:1','exit','confirm','push','\x20AMIID:\x20','Instance\x20Count:\x20','Security\x20Group:\x20','Please\x20choose\x20an\x20AMI\x20ID\x20to\x20assign\x20the\x20instance\x20to:\x20[0]\x20','sort','Name','No\x20instance\x20has\x20been\x20created.','maka\x20aws:create-instance','Desc','alias','140AAHNQx','\x20AZONE:\x20','Setting\x20the\x20number\x20of\x20instances\x20to:\x20','desc','\x20SG\x20NAME:\x20','cidr','bright','deleteSecurityGroup','error','Remove\x20the\x20security\x20group\x20','Comma\x20separated\x20list\x20of\x20ports\x20[22,80,443]:\x20','583812XiMziM','1995885RmTPlq','How\x20many\x20instances\x20do\x20you\x20want\x20to\x20create\x20(min:max)?\x20[1:1]\x20','getAppConfigPath','maka-cli','constructor','Would\x20you\x20like\x20to\x20create\x20a\x20new\x20security\x20group?','aws\x20ec2\x20describe-subnets\x20--query\x20\x22Subnets[*].{subnetId:SubnetId,cider:CidrBlock,az:AvailabilityZone}\x22','created-by','\x20DESCRIPTION:\x20','ec2describeKeys','Key-Pair:\x20','ask','Would\x20you\x20like\x20to\x20include\x20user\x20data?','unlinkSync','subnet','build\x20on\x20','ImageID:','Create\x20new\x20AWS\x20instance','22,80,443','Ready\x20to\x20create\x20instance?\x20NOTE:\x20You\x20WILL\x20be\x20billed\x20for\x20this\x20instance\x20by\x20AWS.','parse','Instance\x20created!\x20\x20NOTE:\x20You\x20are\x20now\x20being\x20billed\x20for\x20this\x20EC2.','Remove\x20the\x20keypair\x20','forEach','getEnvFromShorthand','6PFiZYG','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','create-instance','274708OdEdPm','date','toString','\x0a\x20\x20Walk\x20through\x20a\x20list\x20of\x20questions\x20that\x20will\x20properly\x20provision\x20a\x20new\x20EC2\x0a\x20\x20instance.\x0a\x0a\x20\x20Once\x20created,\x20you\x20will\x20begin\x20to\x20be\x20billed\x20for\x20the\x20resource!\x0a\x20\x20','\x22\x20--query\x20\x22Subnets[*].{subnet:CidrBlock}\x22','aws\x20ec2\x20describe-images\x20--filters\x20\x22Name=description,Values=*LTS*\x22\x20\x22Name=name,Values=*server*\x22\x20\x22Name=name,Values=*ubuntu*\x22\x20\x22Name=creation-date,Values=*','*\x22\x20\x22Name=root-device-type,Values=ebs\x22\x20\x22Name=description,Values=*Ubuntu?\x20??.??\x20LTS?\x20amd64\x20bionic\x20image*\x22\x20--query\x20\x22Images[*].{Desc:Description,ID:ImageId,alias:ImageOwnerAlias}\x22','\x20:\x20','Setting\x20AMI\x20ID\x20to\x20','amiId','Subnet:\x20','search','split','notice','**\x20Available\x20Subnets\x20**','Web\x20App','Creating\x20user\x20data\x20file\x20in\x20'];a7c=function(){return au;};return a7c();}import a7f from'path';import a7g from'fs';import{Actions}from'../../tools/actions/actions.class.js';import{AWS}from'../../tools/aws/aws.class.js';import{Command}from'../../command.js';function a7d(a,b){const c=a7c();return a7d=function(d,e){d=d-0xa4;let f=c[d];return f;},a7d(a,b);}import{Log}from'../../tools/log/log.class.js';import{FSI}from'../../tools/fsi/fsi.class.js';Command['create']({'name':a7ah(0xb3),'aliases':['ci'],'usage':a7ah(0xf9),'examples':['maka\x20aws:create-instance\x20--env\x20dev',a7ah(0xd7)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':'env'}],'validOpts':[],'shortDesc':a7ah(0xa9),'description':a7ah(0xb7)},async function(a,b){const ai=a7ah;try{const c=this[ai(0xe2)][ai(0xce)](),d=new AWS(),f=new FSI(),{appName:g}=c,h=this[ai(0xe2)][ai(0xb0)](b[ai(0xd9)]),i=this[ai(0xe2)][ai(0x10a)](h),j=g+'-'+h,k=await Actions[ai(0x113)]('EC2\x20Name:\x20['+j+']\x20')||j;let l='',m='',n='',o='',p='';const q=await Actions[ai(0xf0)](ai(0xd4),!![]);let r='',s='';if(q){const {keyName:y,filePath:z}=await d['createKeyPair']({'env':h});r=y,s=z,Log[ai(0xea)]('Setting\x20the\x20key-pair\x20to:\x20'+r);}else try{Log[ai(0xc1)](ai(0xd2));const A=r?r:k,B=await d[ai(0x111)]({'suggestion':A}),C=await Actions[ai(0x113)]('Please\x20choose\x20a\x20key\x20to\x20use:\x20')||'-1';if(parseInt(C)<0x0){Log[ai(0x104)]('You\x20must\x20have\x20a\x20key-pair.\x20\x20Please\x20run\x20\x22maka\x20aws\x20create-key-pair\x20--env\x20<env-name>\x22\x20to\x20generate\x20a\x20new\x20key'),Log[ai(0xc1)](ai(0xf8));return;}B?.[ai(0xaf)](function(D){const aj=ai;parseInt(C)===D['id']&&(r=D[aj(0xe4)],Log[aj(0xea)](aj(0xde)+r));});}catch(D){Log['error'](D);}l=await d[ai(0xd8)]();const t=await Actions[ai(0xf0)](ai(0x10d),!![]);let u;if(t){const E=l===''?await d[ai(0xd8)]():l;u=await Actions[ai(0x113)]('Security\x20Group\x20Name:\x20['+k+']')||k;const F=await Actions[ai(0x113)](ai(0x106))||ai(0xaa),G=F[ai(0xc0)](',');await d['ec2createSG']({'description':ai(0xc3),'name':u,'vpcId':E,'sgPorts':G});}u=k;try{const {listIndexId:H,createdSgId:I,sgList:J}=await d[ai(0xd6)](u);if(I===''){Log[ai(0xc1)](ai(0xdf)),J[ai(0xaf)](function(L){const ak=ai;L[ak(0xe4)]===u?Log[ak(0xc1)](ak(0xc8)+L['id']+ak(0x100)+L[ak(0xe4)]+ak(0xca)+L['sgId']):Log[ak(0x102)](ak(0xc8)+L['id']+ak(0x100)+L[ak(0xe4)]+'\x20SGID:\x20'+L[ak(0xcd)]);});const K=await Actions['ask'](ai(0xdd)+H+']\x20')||H[ai(0xb6)]();J[ai(0xaf)](function(L){const al=ai;L['id']===parseInt(K)&&(m=L[al(0xcd)],Log[al(0xea)](al(0xe1)+m+'\x0a'));});}else m=I,Log['success'](ai(0xe1)+m+'\x0a');if(m==='')throw Log[ai(0x104)](ai(0xb2));}catch(L){Log[ai(0x104)](L);}try{const M=0x7e6;Log[ai(0xc1)]('**\x20Available\x20AMIs\x20**');const N=execSync(ai(0xb9)+M+ai(0xba))['toString'](),O=JSON['parse'](N),P=[],Q=[];O['forEach'](function(S){const am=ai;if(S[am(0xfb)]===am(0xdb)){const T=S[am(0xfa)][am(0xc0)](am(0xa7))[0x1];P[am(0xf1)]({'amiId':S['ID'],'desc':S[am(0xfa)],'date':T});}}),P[ai(0xf6)](function(S,T){const an=ai;return new Date(T[an(0xb5)])[an(0xdc)]()-new Date(S['date'])['getTime']();}),P[ai(0xaf)](function(S,T){const ao=ai;Q['push']({'id':T,'amiId':S[ao(0xbd)],'desc':S[ao(0xff)]});}),Q['forEach'](function(S){const ap=ai;console['log'](ap(0xc8)+S['id']+ap(0xf2)+S['amiId']+ap(0x110)+S[ap(0xff)]);});const R=await Actions[ai(0x113)](ai(0xf5))||'0';Q[ai(0xaf)](function(S){const aq=ai;S['id']===parseInt(R)&&(n=S['amiId'],Log[aq(0xea)](aq(0xbc)+n+aq(0xbb)+S[aq(0xff)]));});if(n==='')throw Log[ai(0x104)](ai(0xb2));}catch(S){Log[ai(0x104)](S);}try{Log[ai(0xc1)](ai(0xc2));const T=execSync(ai(0x10e))['toString'](),U=JSON[ai(0xac)](T),V=[];U[ai(0xaf)](function(X,Y){const ar=ai;V[ar(0xf1)]({'id':Y,'cidr':X['cider'],'az':X['az'],'subnetId':X[ar(0xe8)]});}),V[ai(0xaf)](function(X){const as=ai;console['log'](as(0xc8)+X['id']+'\x20CIDR:\x20'+X[as(0x101)]+as(0xfd)+X['az']+as(0xc6)+X[as(0xe8)]);});const W=await Actions['ask'](ai(0xe7))||'0';V['forEach'](function(X){const at=ai;X['id']===parseInt(W)&&(p=X[at(0xe8)],Log['success'](at(0xda)+p));});if(p==='')throw Log[ai(0x104)](ai(0xb2));}catch(X){Log['error'](X);}const v=0x1,w=0x1;try{const Y=await Actions[ai(0x113)](ai(0x109))||ai(0xee),Z=Y[ai(0xc0)](':')[0x0],a0=Y[ai(0xc0)](':')[0x1];typeof parseInt(Z)===ai(0xe0)&&typeof parseInt(a0)===ai(0xe0)&&Log[ai(0xea)](ai(0xfe)+Z+':'+a0);}catch(a1){Log[ai(0x104)](a1);}try{const a2=await Actions[ai(0x113)](ai(0xd5))||'t3.micro';typeof a2===ai(0xe3)&&(o=a2);}catch(a3){Log[ai(0x104)](a3);}let x='';try{const a4=await Actions['confirm'](ai(0xa4),![]);a4&&(x=a7f[ai(0xcb)](i,ai(0xe9)),Log['notice'](ai(0xc4)+x),await this['fsi']['createFile']({'filePath':x,'data':''}),await Actions[ai(0xf0)]('Please\x20modify\x20and\x20save\x20the\x20user-data\x20file.\x20\x20Ready\x20to\x20continue?'));}catch(a5){Log['error'](a5);}try{const a6=JSON[ai(0xac)](execSync(ai(0xe5)+p+ai(0xb8))['toString']())[0x0][ai(0xa6)];Log[ai(0xc1)](ai(0xa8)+n),Log[ai(0xc1)](ai(0xf3)+v+':'+w),Log[ai(0xc1)](ai(0xc7)+o),Log[ai(0xc1)](ai(0x112)+r),Log[ai(0xc1)](ai(0xf4)+m),Log[ai(0xc1)](ai(0xbe)+a6);if(x){Log['notice'](ai(0xcc)+x);const a8=a7g['readFileSync'](x)[ai(0xb6)]();Log[ai(0xc1)](a8);}const a7=await Actions[ai(0xf0)](ai(0xab));if(a7){const a9=await d[ai(0xd0)]({'imageId':n,'minCount':v,'maxCount':w,'type':o,'key':r,'sgIds':m,'subnet':p,'tags':[{'Key':ai(0x10f),'Value':ai(0x10b)},{'Key':ai(0xcf),'Value':h},{'Key':ai(0xf7),'Value':k}],...x&&{'userData':x}});a9&&(Log[ai(0xea)](ai(0xad)),Log['bright']('Run\x20\x22maka\x20aws:set-host\x22\x20to\x20configure\x20your\x20ssh.json\x20file'));}else{Log[ai(0xc1)](ai(0xed));const aa=await Actions['confirm'](ai(0xae)+r+'\x20?',!![]);aa&&(d['deleteKeyPair'](r),f['isFile'](s)&&a7g[ai(0xa5)](s));const ab=await Actions[ai(0xf0)](ai(0x105)+m+'\x20?',!![]);ab&&d[ai(0x103)](m);}}catch(ac){Log['error'](ac);}}catch(ad){ad&&Log[ai(0x104)](ad),process[ai(0xef)](0x0);}},a7e);
@@ -1 +1 @@
1
- function a8d(a,b){const c=a8c();return a8d=function(d,e){d=d-0x132;let f=c[d];return f;},a8d(a,b);}const a8j=a8d;(function(a,b){const g=a8d,c=a();while(!![]){try{const d=parseInt(g(0x13b))/0x1*(-parseInt(g(0x137))/0x2)+parseInt(g(0x13d))/0x3*(-parseInt(g(0x14c))/0x4)+parseInt(g(0x139))/0x5+-parseInt(g(0x136))/0x6*(-parseInt(g(0x135))/0x7)+-parseInt(g(0x140))/0x8+-parseInt(g(0x146))/0x9*(-parseInt(g(0x13a))/0xa)+parseInt(g(0x149))/0xb*(parseInt(g(0x13e))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a8c,0x45fd5));const a8b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a8d;if(c){const e=c[h(0x14b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a8a=a8b(this,function(){const i=a8d;return a8a[i(0x143)]()[i(0x134)](i(0x138))['toString']()['constructor'](a8a)[i(0x134)](i(0x138));});a8a();function a8c(){const l=['error','1376004EOInRJ','564AAplCJ','getConfigFromShorthand','1914768djBIHJ','Create\x20a\x20Key\x20Pair\x20for\x20AWS\x20an\x20EC2\x20instance','env','toString','create','create-key-pair','638289vowKIx','exit','maka\x20aws:create-key-pair','156035HWYRml','fsi','apply','4SqDuqy','maka\x20aws:ckp\x20--env\x20prod','createKeyPair','search','474390fWAYAD','18GpAHAV','26gCgmRL','(((.+)+)+)+$','128490GVnIhS','70vYgHrf','31343VImWAT'];a8c=function(){return l;};return a8c();}import a8e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command[a8j(0x144)]({'name':a8j(0x145),'aliases':['ckp'],'usage':a8j(0x148),'examples':['maka\x20aws:create-key-pair\x20--env\x20prod',a8j(0x132)],'mustBeInMakaProject':!![],'requiredOpts':[a8j(0x142)],'validOpts':[],'shortDesc':a8j(0x141),'description':'\x0a\x0a\x20\x20In\x20AWS,\x20follow\x20a\x20few\x20questions\x20to\x20create\x20a\x20new\x20Key\x20Pair.\x0a\x20\x20The\x20public\x20key\x20is\x20stored\x20in\x20AWS\x20while\x20the\x20private\x20key\x20is\x20saved\x0a\x20\x20to\x20the\x20_keys\x20directory\x20for\x20the\x20envronment\x20(--env)\x20provided.\x0a\x0a\x20\x20This\x20key\x20cannot\x20be\x20replaced\x20(without\x20support\x20from\x20AWS),\x20and\x20should\x20be\x0a\x20\x20kept\x20safe.\x0a\x0a\x20\x20Maka\x20automatically\x20ignores\x20the\x20_keys\x20directory,\x20so\x20it\x20will\x20not\x20be\x0a\x20\x20stored\x20in\x20version\x20control\x20by\x20default.\x20You\x20may\x20change\x20this\x20in\x20the\x0a\x20\x20.gitignore\x20file\x20at\x20the\x20root\x20of\x20this\x20project,\x20but\x20it\x27s\x20not\x20recommended.\x0a\x20\x20'},async function(a,b){const k=a8j;try{const c=new AWS(),d=this[k(0x14a)][k(0x13f)](b[k(0x142)]);c[k(0x133)]({'env':d});}catch(f){f&&Log[k(0x13c)](f),process[k(0x147)](0x0);}},a8e);
1
+ const a8i=a8d;function a8d(a,b){const c=a8c();return a8d=function(d,e){d=d-0x151;let f=c[d];return f;},a8d(a,b);}(function(a,b){const g=a8d,c=a();while(!![]){try{const d=-parseInt(g(0x165))/0x1*(parseInt(g(0x157))/0x2)+-parseInt(g(0x16a))/0x3+parseInt(g(0x158))/0x4+-parseInt(g(0x15a))/0x5*(-parseInt(g(0x160))/0x6)+-parseInt(g(0x15d))/0x7*(-parseInt(g(0x155))/0x8)+-parseInt(g(0x15c))/0x9*(parseInt(g(0x166))/0xa)+-parseInt(g(0x151))/0xb*(parseInt(g(0x156))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a8c,0x8053c));const a8b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a8a=a8b(this,function(){const h=a8d;return a8a[h(0x153)]()[h(0x167)](h(0x162))['toString']()[h(0x168)](a8a)[h(0x167)]('(((.+)+)+)+$');});a8a();import a8e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':'create-key-pair','aliases':[a8i(0x152)],'usage':a8i(0x154),'examples':['maka\x20aws:create-key-pair\x20--env\x20prod',a8i(0x15e)],'mustBeInMakaProject':!![],'requiredOpts':['env'],'validOpts':[],'shortDesc':a8i(0x15b),'description':'\x0a\x0a\x20\x20In\x20AWS,\x20follow\x20a\x20few\x20questions\x20to\x20create\x20a\x20new\x20Key\x20Pair.\x0a\x20\x20The\x20public\x20key\x20is\x20stored\x20in\x20AWS\x20while\x20the\x20private\x20key\x20is\x20saved\x0a\x20\x20to\x20the\x20_keys\x20directory\x20for\x20the\x20envronment\x20(--env)\x20provided.\x0a\x0a\x20\x20This\x20key\x20cannot\x20be\x20replaced\x20(without\x20support\x20from\x20AWS),\x20and\x20should\x20be\x0a\x20\x20kept\x20safe.\x0a\x0a\x20\x20Maka\x20automatically\x20ignores\x20the\x20_keys\x20directory,\x20so\x20it\x20will\x20not\x20be\x0a\x20\x20stored\x20in\x20version\x20control\x20by\x20default.\x20You\x20may\x20change\x20this\x20in\x20the\x0a\x20\x20.gitignore\x20file\x20at\x20the\x20root\x20of\x20this\x20project,\x20but\x20it\x27s\x20not\x20recommended.\x0a\x20\x20'},async function(a,b){const j=a8i;try{const c=new AWS(),d=this[j(0x15f)][j(0x159)](b[j(0x163)]);c[j(0x169)]({'env':d});}catch(f){f&&Log[j(0x161)](f),process[j(0x164)](0x0);}},a8e);function a8c(){const k=['ckp','toString','maka\x20aws:create-key-pair','968kjjnJg','216JagbDt','14kLypGo','2311012FcYKmk','getEnvFromShorthand','395VFFcgK','Create\x20a\x20Key\x20Pair\x20for\x20AWS\x20an\x20EC2\x20instance','9XfBSGl','49133tFuleZ','maka\x20aws:ckp\x20--env\x20prod','fsi','10566dOqvST','error','(((.+)+)+)+$','env','exit','84481dChcLp','832050LyIiTy','search','constructor','createKeyPair','446511qdbwBy','132693WOUFFZ'];a8c=function(){return k;};return a8c();}
@@ -1 +1 @@
1
- function a9d(a,b){const c=a9c();return a9d=function(d,e){d=d-0x15f;let f=c[d];return f;},a9d(a,b);}const a9p=a9d;(function(a,b){const m=a9d,c=a();while(!![]){try{const d=-parseInt(m(0x172))/0x1+parseInt(m(0x177))/0x2*(-parseInt(m(0x167))/0x3)+parseInt(m(0x16f))/0x4*(-parseInt(m(0x168))/0x5)+-parseInt(m(0x165))/0x6+parseInt(m(0x17a))/0x7+-parseInt(m(0x173))/0x8*(-parseInt(m(0x174))/0x9)+parseInt(m(0x16b))/0xa*(parseInt(m(0x179))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a9c,0xa7e7c));const a9b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a9d;if(c){const e=c[n(0x17b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a9a=a9b(this,function(){const o=a9d;return a9a['toString']()[o(0x15f)](o(0x16c))[o(0x170)]()[o(0x166)](a9a)[o(0x15f)](o(0x16c));});a9a();import a9e from'./aws.command.js';import{Command}from'../../command.js';function a9c(){const s=['apply','\x0a\x20\x20Create\x20a\x20secuirty\x20group\x20on\x20a\x20Virtual\x20Private\x20Cloud\x20(VPC)\x20which\x0a\x20\x20can\x20be\x20used\x20with\x20a\x20new\x20EC2\x20instance.\x0a\x20\x20','search','forEach','split','Security\x20Group\x20Name:\x20[','match','getMakaProjectConfig','7974384FdAvai','constructor','655158mCEfuK','5wkACrA','maka\x20aws\x20create-security-group','ask','23224060XsFTKP','(((.+)+)+)+$','ec2createSG','exit','5349404VNvGKK','toString','create-security-group','258549PMDKQf','4280gygRkO','19242Upzenn','create','error','4fkrQwl','name','11tDLbCq','4082680UwTPRT'];a9c=function(){return s;};return a9c();}import{Actions}from'../../tools/actions/actions.class.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command[a9p(0x175)]({'name':a9p(0x171),'aliases':['csg'],'usage':a9p(0x169),'validOpts':[],'shortDesc':'Create\x20a\x20new\x20secuirty\x20group\x20in\x20a\x20VPC\x20for\x20an\x20EC2','description':a9p(0x17c),'examples':['maka\x20aws:create-secuirty-group','maka\x20aws:csg']},async function(a,b){const q=a9p;try{const c=new AWS(),d=this['fsi'][q(0x164)](),{appName:f}=d,g=await c['chooseVPC'](),h=b[q(0x178)]?b[q(0x178)]:''+f,i=await Actions[q(0x16a)](q(0x162)+h+']')||h,j=await Actions['ask']('Comma\x20separated\x20list\x20of\x20ports\x20[22,80,443]:\x20')||'22,80,443',k=j[q(0x161)](',');k[q(0x160)](l=>{const r=q;if(!l[r(0x163)](/^\d+$/))throw'List\x20is\x20not\x20all\x20numbers';}),await c[q(0x16d)]({'description':'Web\x20App','name':i,'vpcId':g,'sgPorts':k});}catch(l){l&&Log[q(0x176)](l),process[q(0x16e)](0x1);}},a9e);
1
+ const a9p=a9d;(function(a,b){const m=a9d,c=a();while(!![]){try{const d=parseInt(m(0x1f7))/0x1+-parseInt(m(0x1f1))/0x2*(parseInt(m(0x20b))/0x3)+-parseInt(m(0x208))/0x4*(parseInt(m(0x202))/0x5)+-parseInt(m(0x1f3))/0x6*(-parseInt(m(0x1fd))/0x7)+-parseInt(m(0x204))/0x8+-parseInt(m(0x1f2))/0x9+parseInt(m(0x203))/0xa*(parseInt(m(0x1ee))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a9c,0xa48fe));function a9c(){const s=['809985gkhaCj','(((.+)+)+)+$','name','toString','getMakaProjectConfig','Create\x20a\x20new\x20secuirty\x20group\x20in\x20a\x20VPC\x20for\x20an\x20EC2','175sGbAfF','match','fsi','22,80,443','chooseVPC','15AJmmbE','4347910RbJcHs','8749928noeGvg','Comma\x20separated\x20list\x20of\x20ports\x20[22,80,443]:\x20','search','maka\x20aws\x20create-security-group','328908OjsirY','apply','error','253809TzqBxr','forEach','ask','ec2createSG','create','maka\x20aws:create-secuirty-group','Web\x20App','55TAjYwB','List\x20is\x20not\x20all\x20numbers','constructor','22vEpSfT','4069026NXGckM','99186yGXvHE','split','Security\x20Group\x20Name:\x20[','csg'];a9c=function(){return s;};return a9c();}const a9b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a9d;if(c){const e=c[n(0x209)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a9a=a9b(this,function(){const o=a9d;return a9a[o(0x1fa)]()[o(0x206)](o(0x1f8))['toString']()[o(0x1f0)](a9a)[o(0x206)](o(0x1f8));});a9a();import a9e from'./aws.command.js';import{Command}from'../../command.js';function a9d(a,b){const c=a9c();return a9d=function(d,e){d=d-0x1e8;let f=c[d];return f;},a9d(a,b);}import{Actions}from'../../tools/actions/actions.class.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command[a9p(0x1eb)]({'name':'create-security-group','aliases':[a9p(0x1f6)],'usage':a9p(0x207),'validOpts':[],'shortDesc':a9p(0x1fc),'description':'\x0a\x20\x20Create\x20a\x20secuirty\x20group\x20on\x20a\x20Virtual\x20Private\x20Cloud\x20(VPC)\x20which\x0a\x20\x20can\x20be\x20used\x20with\x20a\x20new\x20EC2\x20instance.\x0a\x20\x20','examples':[a9p(0x1ec),'maka\x20aws:csg']},async function(a,b){const q=a9p;try{const c=new AWS(),d=this[q(0x1ff)][q(0x1fb)](),{appName:f}=d,g=await c[q(0x201)](),h=b[q(0x1f9)]?b[q(0x1f9)]:''+f,i=await Actions[q(0x1e9)](q(0x1f5)+h+']')||h,j=await Actions[q(0x1e9)](q(0x205))||q(0x200),k=j[q(0x1f4)](',');k[q(0x1e8)](l=>{const r=q;if(!l[r(0x1fe)](/^\d+$/))throw r(0x1ef);}),await c[q(0x1ea)]({'description':q(0x1ed),'name':i,'vpcId':g,'sgPorts':k});}catch(l){l&&Log[q(0x20a)](l),process['exit'](0x1);}},a9e);
@@ -1 +1 @@
1
- function a10d(a,b){const c=a10c();return a10d=function(d,e){d=d-0x96;let f=c[d];return f;},a10d(a,b);}const a10i=a10d;(function(a,b){const f=a10d,c=a();while(!![]){try{const d=-parseInt(f(0xa5))/0x1*(parseInt(f(0x97))/0x2)+parseInt(f(0xa7))/0x3*(-parseInt(f(0xae))/0x4)+parseInt(f(0xb1))/0x5*(parseInt(f(0xad))/0x6)+parseInt(f(0xa2))/0x7+parseInt(f(0xa9))/0x8*(-parseInt(f(0xb0))/0x9)+-parseInt(f(0xa6))/0xa+-parseInt(f(0xa8))/0xb*(-parseInt(f(0xb2))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a10c,0x83497));const a10b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a10d;if(c){const e=c[g(0xa1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a10a=a10b(this,function(){const h=a10d;return a10a['toString']()[h(0x9f)]('(((.+)+)+)+$')[h(0x96)]()[h(0xaf)](a10a)[h(0x9f)](h(0xab));});function a10c(){const k=['toString','63804xDJlYZ','ecrDeleteRepository','region','name','decr','\x20in\x20region\x20','exit','Delete\x20an\x20Elastic\x20Container\x20Repository','search','Repository\x20','apply','6320447emQSLS','maka\x20aws:delete-ecr\x20--name=my-old-repo\x20--region=us-east-1','\x20deleted\x20successfully\x20in\x20region\x20','17KvCwzg','9735090SQxsIo','292692cLDQYe','11RHEVQT','88mhPqiz','error','(((.+)+)+)+$','maka\x20aws:delete-ecr\x20--name\x20<name>\x20--region\x20<region>','36QRtKrE','4qqRzkV','constructor','806499VOUjRP','95640cmwlRT','25430280xAlmii'];a10c=function(){return k;};return a10c();}a10a();import a10e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':'delete-ecr','aliases':[a10i(0x9b)],'usage':a10i(0xac),'requiredOpts':[a10i(0x9a),a10i(0x99)],'validOpts':[],'shortDesc':a10i(0x9e),'examples':[a10i(0xa3),'maka\x20aws:decr\x20--name=my-old-repo\x20--region=us-east-1']},async function(a,b){const j=a10i;try{const c=new AWS();await c[j(0x98)]({'repoName':b[j(0x9a)],'region':b[j(0x99)]}),Log['success'](j(0xa0)+b[j(0x9a)]+j(0xa4)+b[j(0x99)]+'.'),process[j(0x9d)](0x0);}catch(d){Log[j(0xaa)]('Failed\x20to\x20delete\x20the\x20repository:\x20'+b[j(0x9a)]+j(0x9c)+b[j(0x99)]+'.\x20Error:\x20'+d),process['exit'](0x1);}},a10e);
1
+ const a10h=a10d;(function(a,b){const f=a10d,c=a();while(!![]){try{const d=-parseInt(f(0x19a))/0x1+parseInt(f(0x1a7))/0x2+parseInt(f(0x1a2))/0x3*(-parseInt(f(0x1a5))/0x4)+parseInt(f(0x193))/0x5+-parseInt(f(0x194))/0x6+-parseInt(f(0x198))/0x7*(parseInt(f(0x1a4))/0x8)+-parseInt(f(0x1a1))/0x9*(-parseInt(f(0x191))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a10c,0x9c67b));const a10b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a10a=a10b(this,function(){const g=a10d;return a10a[g(0x19f)]()[g(0x199)]('(((.+)+)+)+$')[g(0x19f)]()[g(0x1a6)](a10a)[g(0x199)](g(0x19d));});function a10d(a,b){const c=a10c();return a10d=function(d,e){d=d-0x18d;let f=c[d];return f;},a10d(a,b);}a10a();import a10e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';function a10c(){const j=['5882490LATLnx','4877652jCShFe','exit','Failed\x20to\x20delete\x20the\x20repository:\x20','delete-ecr','35amcPzG','search','127698LMYXSW','Delete\x20an\x20Elastic\x20Container\x20Repository','ecrDeleteRepository','(((.+)+)+)+$','name','toString','error','1281447jUDktW','63YMVvFX','\x20in\x20region\x20','620136hruwav','112092zIrXwA','constructor','1053094XHZcrw','maka\x20aws:delete-ecr\x20--name\x20<name>\x20--region\x20<region>','maka\x20aws:decr\x20--name=my-old-repo\x20--region=us-east-1','\x20deleted\x20successfully\x20in\x20region\x20','create','60FoAXfu','region'];a10c=function(){return j;};return a10c();}Command[a10h(0x190)]({'name':a10h(0x197),'aliases':['decr'],'usage':a10h(0x18d),'requiredOpts':[a10h(0x19e),'region'],'validOpts':[],'shortDesc':a10h(0x19b),'examples':['maka\x20aws:delete-ecr\x20--name=my-old-repo\x20--region=us-east-1',a10h(0x18e)]},async function(a,b){const i=a10h;try{const c=new AWS();await c[i(0x19c)]({'repoName':b[i(0x19e)],'region':b[i(0x192)]}),Log['success']('Repository\x20'+b['name']+i(0x18f)+b[i(0x192)]+'.'),process[i(0x195)](0x0);}catch(d){Log[i(0x1a0)](i(0x196)+b['name']+i(0x1a3)+b[i(0x192)]+'.\x20Error:\x20'+d),process[i(0x195)](0x1);}},a10e);
@@ -1 +1 @@
1
- const a11i=a11d;function a11d(a,b){const c=a11c();return a11d=function(d,e){d=d-0x118;let f=c[d];return f;},a11d(a,b);}(function(a,b){const f=a11d,c=a();while(!![]){try{const d=parseInt(f(0x12c))/0x1*(-parseInt(f(0x11c))/0x2)+-parseInt(f(0x118))/0x3*(parseInt(f(0x11d))/0x4)+-parseInt(f(0x11e))/0x5+parseInt(f(0x11b))/0x6*(-parseInt(f(0x124))/0x7)+parseInt(f(0x121))/0x8*(-parseInt(f(0x12a))/0x9)+-parseInt(f(0x126))/0xa*(-parseInt(f(0x127))/0xb)+parseInt(f(0x122))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a11c,0x4b5eb));const a11b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a11d;if(c){const e=c[g(0x128)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a11a=a11b(this,function(){const h=a11d;return a11a[h(0x125)]()[h(0x120)](h(0x123))['toString']()['constructor'](a11a)[h(0x120)]('(((.+)+)+)+$');});a11a();import a11e from'./aws.command.js';import{Command}from'../../command.js';function a11c(){const k=['apply','maka\x20aws:di','9fyOqya','\x0a\x20\x20List\x20all\x20EC2\x20instances\x20that\x20have\x20been\x20created\x20with\x20\x22maka\x20aws:ci\x22\x20associated\x0a\x20\x20with\x20the\x20logged\x20in\x20AWS-CLI\x20account.\x0a\x0a\x20\x20Will\x20pull\x20back\x20the\x20instance\x20ID,\x20state,\x20and\x20IP\x20addresses.\x0a\x20\x20Ex:\x0a\x0a\x20\x20ID:\x200\x20NAME:\x20<NAME>\x20ENV:\x20production\x20STATUS:\x20running\x20INSTANCE_ID:\x20i-xxx\x20PUB_IP:\x20x.x.x.x\x20PRIV_IP:\x20y.y.y.y\x0a\x20\x20','387111EzNlWU','243993jvHEvR','ec2describeInstances','create','408246ToOpfk','2ZNWMjM','20zvNrsr','2743900TAkLQM','maka\x20aws:describe-instances','search','572024vUSdFE','21289428RpWsqU','(((.+)+)+)+$','56wLwfZL','toString','4929730sTeAcP','11WLIcdp'];a11c=function(){return k;};return a11c();}import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command[a11i(0x11a)]({'name':'describe-instances','aliases':['di'],'usage':a11i(0x11f),'validOpts':[],'shortDesc':'Get\x20EC2\x20instances\x20created\x20by\x20Maka-CLI','examples':[a11i(0x11f),a11i(0x129)],'description':a11i(0x12b)},async function(){const j=a11i;try{const a=new AWS();a[j(0x119)]();}catch(b){b&&Log['error'](b),process['exit'](0x1);}},a11e);
1
+ const a11i=a11d;(function(a,b){const f=a11d,c=a();while(!![]){try{const d=-parseInt(f(0x123))/0x1+parseInt(f(0x121))/0x2*(parseInt(f(0x122))/0x3)+-parseInt(f(0x115))/0x4+parseInt(f(0x11c))/0x5+-parseInt(f(0x11a))/0x6*(-parseInt(f(0x113))/0x7)+-parseInt(f(0x124))/0x8+parseInt(f(0x116))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a11c,0x22615));const a11b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a11d;if(c){const e=c[g(0x111)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a11a=a11b(this,function(){const h=a11d;return a11a[h(0x119)]()[h(0x112)]('(((.+)+)+)+$')[h(0x119)]()[h(0x125)](a11a)['search'](h(0x114));});a11a();function a11c(){const k=['error','301050xKxUoA','maka\x20aws:describe-instances','maka\x20aws:di','create','Get\x20EC2\x20instances\x20created\x20by\x20Maka-CLI','94DRVFdX','10428TTcACk','61941ntirqi','906248zYnAsy','constructor','apply','search','7mYrzmC','(((.+)+)+)+$','341612PwrxDp','584163JZbrca','ec2describeInstances','describe-instances','toString','677742WUOAIO'];a11c=function(){return k;};return a11c();}function a11d(a,b){const c=a11c();return a11d=function(d,e){d=d-0x111;let f=c[d];return f;},a11d(a,b);}import a11e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command[a11i(0x11f)]({'name':a11i(0x118),'aliases':['di'],'usage':a11i(0x11d),'validOpts':[],'shortDesc':a11i(0x120),'examples':[a11i(0x11d),a11i(0x11e)],'description':'\x0a\x20\x20List\x20all\x20EC2\x20instances\x20that\x20have\x20been\x20created\x20with\x20\x22maka\x20aws:ci\x22\x20associated\x0a\x20\x20with\x20the\x20logged\x20in\x20AWS-CLI\x20account.\x0a\x0a\x20\x20Will\x20pull\x20back\x20the\x20instance\x20ID,\x20state,\x20and\x20IP\x20addresses.\x0a\x20\x20Ex:\x0a\x0a\x20\x20ID:\x200\x20NAME:\x20<NAME>\x20ENV:\x20production\x20STATUS:\x20running\x20INSTANCE_ID:\x20i-xxx\x20PUB_IP:\x20x.x.x.x\x20PRIV_IP:\x20y.y.y.y\x0a\x20\x20'},async function(){const j=a11i;try{const a=new AWS();a[j(0x117)]();}catch(b){b&&Log[j(0x11b)](b),process['exit'](0x1);}},a11e);
@@ -1 +1 @@
1
- function a12c(){const j=['List\x20the\x20current\x20public\x20keys\x20stored\x20in\x20AWS','249684JMveAP','3249972VGmKUF','error','ec2describeKeys','constructor','maka\x20aws:describe-key-pairs','exit','(((.+)+)+)+$','toString','252228QzEnkB','958944AWLDUR','4240730XPVBzJ','search','4JEjZcE','397616hAmSnP','369FFtpWd','describe-key-pairs','5709774aXkwgK'];a12c=function(){return j;};return a12c();}const a12h=a12d;(function(a,b){const f=a12d,c=a();while(!![]){try{const d=-parseInt(f(0x1e7))/0x1+parseInt(f(0x1de))/0x2+-parseInt(f(0x1e8))/0x3+parseInt(f(0x1d8))/0x4*(-parseInt(f(0x1e9))/0x5)+parseInt(f(0x1df))/0x6+-parseInt(f(0x1dc))/0x7+-parseInt(f(0x1d9))/0x8*(-parseInt(f(0x1da))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a12c,0x72666));const a12b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a12a=a12b(this,function(){const g=a12d;return a12a[g(0x1e6)]()['search'](g(0x1e5))['toString']()[g(0x1e2)](a12a)[g(0x1ea)](g(0x1e5));});function a12d(a,b){const c=a12c();return a12d=function(d,e){d=d-0x1d8;let f=c[d];return f;},a12d(a,b);}a12a();import a12e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a12h(0x1db),'aliases':['dkp'],'usage':'maka\x20aws:describe-key-pairs','validOpts':[],'shortDesc':a12h(0x1dd),'examples':[a12h(0x1e3),'maka\x20aws:dkp']},async function(){const i=a12h;try{const a=new AWS();a[i(0x1e1)]();}catch(b){b&&Log[i(0x1e0)](b),process[i(0x1e4)](0x0);}},a12e);
1
+ const a12i=a12d;(function(a,b){const f=a12d,c=a();while(!![]){try{const d=parseInt(f(0xac))/0x1+parseInt(f(0xb3))/0x2*(-parseInt(f(0xa5))/0x3)+-parseInt(f(0xa2))/0x4*(parseInt(f(0xb4))/0x5)+parseInt(f(0xa4))/0x6+parseInt(f(0xad))/0x7+-parseInt(f(0xa1))/0x8+parseInt(f(0xa8))/0x9*(parseInt(f(0xa7))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a12c,0xb5cf1));const a12b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a12d;if(c){const e=c[g(0xae)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a12a=a12b(this,function(){const h=a12d;return a12a[h(0xa3)]()[h(0xaf)]('(((.+)+)+)+$')[h(0xa3)]()[h(0xb2)](a12a)[h(0xaf)](h(0xb1));});function a12d(a,b){const c=a12c();return a12d=function(d,e){d=d-0xa1;let f=c[d];return f;},a12d(a,b);}a12a();import a12e from'./aws.command.js';import{Command}from'../../command.js';function a12c(){const k=['852xqjFkh','toString','533568RSarzL','57dkyyCx','exit','6981990TOztfz','9BtuqBC','maka\x20aws:describe-key-pairs','maka\x20aws:dkp','dkp','1446778bEwbmg','6343617JpfmzO','apply','search','error','(((.+)+)+)+$','constructor','4498SPwYie','22030qcEZXH','11313904PNPOpF'];a12c=function(){return k;};return a12c();}import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':'describe-key-pairs','aliases':[a12i(0xab)],'usage':a12i(0xa9),'validOpts':[],'shortDesc':'List\x20the\x20current\x20public\x20keys\x20stored\x20in\x20AWS','examples':[a12i(0xa9),a12i(0xaa)]},async function(){const j=a12i;try{const a=new AWS();a['ec2describeKeys']();}catch(b){b&&Log[j(0xb0)](b),process[j(0xa6)](0x0);}},a12e);
@@ -1 +1 @@
1
- const a13o=a13d;(function(a,b){const l=a13d,c=a();while(!![]){try{const d=-parseInt(l(0x11e))/0x1+-parseInt(l(0x118))/0x2+-parseInt(l(0x10b))/0x3+parseInt(l(0x115))/0x4+-parseInt(l(0x11b))/0x5+parseInt(l(0x126))/0x6+-parseInt(l(0x124))/0x7*(-parseInt(l(0x12d))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a13c,0xf0de4));const a13b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a13d;if(c){const e=c[m(0x10e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a13a=a13b(this,function(){const n=a13d;return a13a['toString']()[n(0x117)](n(0x10a))[n(0x112)]()[n(0x113)](a13a)[n(0x117)](n(0x10a));});a13a();function a13c(){const r=['search','2845374tVYukb','\x20SGID:\x20','Deleting\x20a\x20','9484390TXZsLf','appName','Delete\x20a\x20security\x20group\x20on\x20a\x20VPC','1217108wquAgJ','create','\x20SG\x20NAME:\x20','isMakaProject','ask','notice','9832333aCUISL','dsg','8587440slSUOv','maka\x20aws:dsg','maka\x20aws:delete-sg','delete-security-group','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','includes','getMakaProjectConfig','24mmYtVG','forEach','Not\x20deleting\x20secuirty\x20group','(((.+)+)+)+$','2463183AecrZU','ID:\x20','\x20could\x20impact\x20other\x20instances\x20that\x20are\x20using\x20it.\x20\x20Are\x20you\x20sure?','apply','name','deleteSecurityGroup','getSecurityGroups','toString','constructor','Deleted\x20','2796932AFFXMZ','error'];a13c=function(){return r;};return a13c();}import a13e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import{FSI}from'../../tools/fsi/fsi.class.js';function a13d(a,b){const c=a13c();return a13d=function(d,e){d=d-0x10a;let f=c[d];return f;},a13d(a,b);}import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';Command[a13o(0x11f)]({'name':a13o(0x129),'aliases':[a13o(0x125)],'usage':a13o(0x128),'validOpts':[],'shortDesc':a13o(0x11d),'examples':['maka\x20aws:delete-sg',a13o(0x127)]},async function(){const p=a13o;try{const a=new AWS(),b=new FSI(),c=b[p(0x121)]();let d='';if(c){const j=b[p(0x12c)]();d=j[p(0x11c)];}const {sgList:f}=await a[p(0x111)]();f[p(0x12e)](function(k){const q=p;c&&k['name'][q(0x12b)](d)?Log[q(0x123)](q(0x10c)+k['id']+q(0x120)+k[q(0x10f)]+q(0x119)+k['sgId']):Log['bright'](q(0x10c)+k['id']+q(0x120)+k[q(0x10f)]+q(0x119)+k['sgId']);});let g='';const h=await Actions[p(0x122)]('Please\x20choose\x20a\x20SG\x20ID\x20to\x20delete:');f[p(0x12e)](function(k){k['id']===parseInt(h)&&(g=k['sgId']);});if(!g)throw Log['error'](p(0x12a));const i=await Actions['confirm'](p(0x11a)+g+p(0x10d),![]);i?(await a[p(0x110)](g),Log['success'](p(0x114)+g)):Log['error'](p(0x12f)),process['exit'](0x0);}catch(k){k&&Log[p(0x116)](k),process['exit'](0x1);}},a13e);
1
+ function a13c(){const s=['Please\x20choose\x20a\x20SG\x20ID\x20to\x20delete:','includes','appName','2804418STjdmZ','maka\x20aws:delete-sg','error','apply','315040BwbAFk','name','maka\x20aws:dsg','toString','Not\x20deleting\x20secuirty\x20group','getSecurityGroups','3259216ZhUWwI','14855460CoQPcB','\x20SG\x20NAME:\x20','4883994XQBgjT','Deleting\x20a\x20','\x20SGID:\x20','39bwrKOf','exit','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','search','\x20could\x20impact\x20other\x20instances\x20that\x20are\x20using\x20it.\x20\x20Are\x20you\x20sure?','delete-security-group','403803AIAotZ','68328EnGaPG','create','sgId','success','7TJIfBG','(((.+)+)+)+$','32QYCdVp','ID:\x20','22ZpkFVj','constructor','180GRjvbm','forEach'];a13c=function(){return s;};return a13c();}const a13o=a13d;(function(a,b){const l=a13d,c=a();while(!![]){try{const d=parseInt(l(0x165))/0x1*(parseInt(l(0x16c))/0x2)+parseInt(l(0x17b))/0x3+parseInt(l(0x172))/0x4*(parseInt(l(0x17f))/0x5)+-parseInt(l(0x162))/0x6*(parseInt(l(0x170))/0x7)+parseInt(l(0x15f))/0x8+-parseInt(l(0x16b))/0x9*(-parseInt(l(0x176))/0xa)+-parseInt(l(0x174))/0xb*(parseInt(l(0x160))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a13c,0xaa02d));const a13b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a13d;if(c){const e=c[m(0x17e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a13a=a13b(this,function(){const n=a13d;return a13a['toString']()[n(0x168)](n(0x171))[n(0x182)]()[n(0x175)](a13a)[n(0x168)](n(0x171));});a13a();import a13e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import{FSI}from'../../tools/fsi/fsi.class.js';function a13d(a,b){const c=a13c();return a13d=function(d,e){d=d-0x15d;let f=c[d];return f;},a13d(a,b);}import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';Command[a13o(0x16d)]({'name':a13o(0x16a),'aliases':['dsg'],'usage':a13o(0x17c),'validOpts':[],'shortDesc':'Delete\x20a\x20security\x20group\x20on\x20a\x20VPC','examples':[a13o(0x17c),a13o(0x181)]},async function(){const p=a13o;try{const a=new AWS(),b=new FSI(),c=b['isMakaProject']();let d='';if(c){const j=b['getMakaProjectConfig']();d=j[p(0x17a)];}const {sgList:f}=await a[p(0x15e)]();f[p(0x177)](function(k){const q=p;c&&k['name'][q(0x179)](d)?Log['notice']('ID:\x20'+k['id']+q(0x161)+k[q(0x180)]+q(0x164)+k[q(0x16e)]):Log['bright'](q(0x173)+k['id']+'\x20SG\x20NAME:\x20'+k[q(0x180)]+q(0x164)+k['sgId']);});let g='';const h=await Actions['ask'](p(0x178));f[p(0x177)](function(k){const r=p;k['id']===parseInt(h)&&(g=k[r(0x16e)]);});if(!g)throw Log[p(0x17d)](p(0x167));const i=await Actions['confirm'](p(0x163)+g+p(0x169),![]);i?(await a['deleteSecurityGroup'](g),Log[p(0x16f)]('Deleted\x20'+g)):Log['error'](p(0x15d)),process[p(0x166)](0x0);}catch(k){k&&Log[p(0x17d)](k),process[p(0x166)](0x1);}},a13e);
@@ -1 +1 @@
1
- const a14i=a14d;(function(a,b){const f=a14d,c=a();while(!![]){try{const d=parseInt(f(0x187))/0x1+parseInt(f(0x190))/0x2+parseInt(f(0x179))/0x3*(parseInt(f(0x18b))/0x4)+-parseInt(f(0x184))/0x5*(parseInt(f(0x17f))/0x6)+-parseInt(f(0x182))/0x7+parseInt(f(0x18f))/0x8+-parseInt(f(0x18d))/0x9*(parseInt(f(0x17c))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a14c,0x94168));const a14b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a14d;if(c){const e=c[g(0x183)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a14a=a14b(this,function(){const h=a14d;return a14a[h(0x178)]()[h(0x191)](h(0x17e))['toString']()[h(0x185)](a14a)[h(0x191)](h(0x17e));});function a14d(a,b){const c=a14c();return a14d=function(d,e){d=d-0x178;let f=c[d];return f;},a14d(a,b);}a14a();import a14e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';function a14c(){const k=['(((.+)+)+)+$','447840rDwdWb','maka\x20aws:list-ecr\x20[--regions=<region1,region2,...>]','maka\x20aws:lecr\x20--regions=us-east-1,eu-west-1','5620335rqYDLO','apply','10RTkuRq','constructor','List\x20Elastic\x20Container\x20Repositories\x20across\x20regions','1141685qWftgm','list-ecr','lecr','An\x20error\x20occurred\x20while\x20listing\x20ECR\x20repositories:\x20','690868DAJHIs','create','63VmcBLS','success','1136400UsEKgW','1483622xgiNxq','search','regions','toString','15vytIMH','listAllEcrRepositories','exit','1900540EVHmlB','maka\x20aws:list-ecr'];a14c=function(){return k;};return a14c();}Command[a14i(0x18c)]({'name':a14i(0x188),'aliases':[a14i(0x189)],'usage':a14i(0x180),'requiredOpts':[],'validOpts':[a14i(0x192)],'shortDesc':a14i(0x186),'examples':[a14i(0x17d),a14i(0x181),'maka\x20aws:lecr\x20--regions=all']},async function(a,b){const j=a14i;try{const c=new AWS();await c[j(0x17a)](b[j(0x192)]),Log[j(0x18e)]('Completed\x20listing\x20ECR\x20repositories.'),process['exit'](0x0);}catch(d){Log['error'](j(0x18a)+d),process[j(0x17b)](0x1);}},a14e);
1
+ const a14i=a14d;function a14d(a,b){const c=a14c();return a14d=function(d,e){d=d-0x76;let f=c[d];return f;},a14d(a,b);}(function(a,b){const f=a14d,c=a();while(!![]){try{const d=-parseInt(f(0x8d))/0x1+parseInt(f(0x89))/0x2+parseInt(f(0x79))/0x3+parseInt(f(0x8a))/0x4*(parseInt(f(0x86))/0x5)+-parseInt(f(0x8f))/0x6*(-parseInt(f(0x85))/0x7)+parseInt(f(0x82))/0x8*(-parseInt(f(0x7e))/0x9)+parseInt(f(0x87))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a14c,0x936f4));const a14b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a14d;if(c){const e=c[g(0x81)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a14a=a14b(this,function(){const h=a14d;return a14a[h(0x78)]()[h(0x83)](h(0x7c))[h(0x78)]()[h(0x7b)](a14a)[h(0x83)](h(0x7c));});function a14c(){const k=['6732280eMnVCa','List\x20Elastic\x20Container\x20Repositories\x20across\x20regions','2386azuYvp','121392yNLUSg','lecr','regions','1193026WtKibZ','An\x20error\x20occurred\x20while\x20listing\x20ECR\x20repositories:\x20','3522lMgcOU','maka\x20aws:list-ecr\x20[--regions=<region1,region2,...>]','maka\x20aws:list-ecr','list-ecr','toString','2839662wGXxDd','maka\x20aws:lecr\x20--regions=us-east-1,eu-west-1','constructor','(((.+)+)+)+$','error','889821MFHHeU','exit','success','apply','96ZLxCZK','search','Completed\x20listing\x20ECR\x20repositories.','6475OiRssX','135uqOqgw'];a14c=function(){return k;};return a14c();}a14a();import a14e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a14i(0x77),'aliases':[a14i(0x8b)],'usage':a14i(0x90),'requiredOpts':[],'validOpts':[a14i(0x8c)],'shortDesc':a14i(0x88),'examples':[a14i(0x76),a14i(0x7a),'maka\x20aws:lecr\x20--regions=all']},async function(a,b){const j=a14i;try{const c=new AWS();await c['listAllEcrRepositories'](b[j(0x8c)]),Log[j(0x80)](j(0x84)),process[j(0x7f)](0x0);}catch(d){Log[j(0x7d)](j(0x8e)+d),process[j(0x7f)](0x1);}},a14e);
@@ -1 +1 @@
1
- const a15i=a15d;function a15c(){const k=['(((.+)+)+)+$','name','40yVjhMC','9311760deIQKE','search','create','231396AQaJrC','21ftdRJO','1242612pJeRFd','123862zwTeZf','chooseInstance','ec2rebootInstance','\x20Ready?','instanceId','5554524XcRVmd','error','confirm','You\x20have\x20aborted\x20the\x20reboot.\x20\x20The\x20instance:\x20','Reboot\x20an\x20EC2\x20instance','1516296ZeKbCJ','3mSBpdl','exit','12376199YUIUXJ','5qjZyLg','toString','apply','status','maka\x20aws:reboot-instance','rbi','[!!]\x20You\x20are\x20about\x20to\x20reboot\x20instance:\x20','running'];a15c=function(){return k;};return a15c();}(function(a,b){const f=a15d,c=a();while(!![]){try{const d=-parseInt(f(0x10a))/0x1+-parseInt(f(0x10d))/0x2*(-parseInt(f(0x118))/0x3)+-parseInt(f(0x112))/0x4*(-parseInt(f(0x11b))/0x5)+-parseInt(f(0x126))/0x6+parseInt(f(0x10b))/0x7*(parseInt(f(0x117))/0x8)+parseInt(f(0x10c))/0x9*(-parseInt(f(0x125))/0xa)+parseInt(f(0x11a))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a15c,0xc56ce));const a15b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a15d;if(c){const e=c[g(0x11d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a15a=a15b(this,function(){const h=a15d;return a15a[h(0x11c)]()['search'](h(0x123))[h(0x11c)]()['constructor'](a15a)[h(0x108)](h(0x123));});function a15d(a,b){const c=a15c();return a15d=function(d,e){d=d-0x108;let f=c[d];return f;},a15d(a,b);}a15a();import a15e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command[a15i(0x109)]({'name':'reboot-instance','aliases':[a15i(0x120)],'usage':'maka\x20aws:reboot-instance','validOpts':[],'shortDesc':a15i(0x116),'examples':[a15i(0x11f),'maka\x20aws:rbi']},async function(){const j=a15i;try{const a=new AWS(),b=await a[j(0x10e)]();if(b?.[j(0x11e)]===j(0x122)){const c=await Actions[j(0x114)](j(0x121)+b['name']+j(0x110));c&&b[j(0x111)]?a[j(0x10f)]({'instanceId':b[j(0x111)]}):Log[j(0x113)](j(0x115)+b[j(0x124)]+'\x20is\x20still\x20running.');}else Log[j(0x113)]('There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20rebooted;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.');}catch(d){d&&Log[j(0x113)](d),process[j(0x119)](0x1);}},a15e);
1
+ const a15h=a15d;(function(a,b){const f=a15d,c=a();while(!![]){try{const d=-parseInt(f(0x198))/0x1*(-parseInt(f(0x19c))/0x2)+parseInt(f(0x19b))/0x3*(-parseInt(f(0x1a0))/0x4)+-parseInt(f(0x1a3))/0x5+parseInt(f(0x1a5))/0x6+-parseInt(f(0x1a9))/0x7*(parseInt(f(0x1a2))/0x8)+parseInt(f(0x1a1))/0x9*(-parseInt(f(0x1a4))/0xa)+parseInt(f(0x1aa))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a15c,0xc072e));function a15c(){const j=['11260wSZVqs','1141836XFABcB','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20rebooted;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','name','exit','14atlTql','17955091LyLqef','rbi','maka\x20aws:reboot-instance','toString','chooseInstance','search','reboot-instance','instanceId','error','status','3567ecvapy','(((.+)+)+)+$','Reboot\x20an\x20EC2\x20instance','9318EEfvef','762tvEccj','maka\x20aws:rbi','You\x20have\x20aborted\x20the\x20reboot.\x20\x20The\x20instance:\x20','\x20is\x20still\x20running.','1052qmkgCc','1422IgcpPf','1397744MxSIbv','5245610uBCqEM'];a15c=function(){return j;};return a15c();}const a15b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a15a=a15b(this,function(){const g=a15d;return a15a[g(0x1ad)]()[g(0x1af)]('(((.+)+)+)+$')[g(0x1ad)]()['constructor'](a15a)[g(0x1af)](g(0x199));});a15a();import a15e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';function a15d(a,b){const c=a15c();return a15d=function(d,e){d=d-0x195;let f=c[d];return f;},a15d(a,b);}Command['create']({'name':a15h(0x1b0),'aliases':[a15h(0x1ab)],'usage':'maka\x20aws:reboot-instance','validOpts':[],'shortDesc':a15h(0x19a),'examples':[a15h(0x1ac),a15h(0x19d)]},async function(){const i=a15h;try{const a=new AWS(),b=await a[i(0x1ae)]();if(b?.[i(0x197)]==='running'){const c=await Actions['confirm']('[!!]\x20You\x20are\x20about\x20to\x20reboot\x20instance:\x20'+b[i(0x1a7)]+'\x20Ready?');c&&b[i(0x195)]?a['ec2rebootInstance']({'instanceId':b['instanceId']}):Log[i(0x196)](i(0x19e)+b['name']+i(0x19f));}else Log[i(0x196)](i(0x1a6));}catch(d){d&&Log[i(0x196)](d),process[i(0x1a8)](0x1);}},a15e);
@@ -1 +1 @@
1
- const a16I=a16d;(function(a,b){const E=a16d,c=a();while(!![]){try{const d=parseInt(E(0xe9))/0x1*(-parseInt(E(0x103))/0x2)+parseInt(E(0x122))/0x3*(-parseInt(E(0xeb))/0x4)+parseInt(E(0xf1))/0x5+parseInt(E(0x107))/0x6*(-parseInt(E(0x11b))/0x7)+-parseInt(E(0x10f))/0x8*(parseInt(E(0xf3))/0x9)+-parseInt(E(0x11a))/0xa*(-parseInt(E(0x106))/0xb)+parseInt(E(0x105))/0xc*(parseInt(E(0x11d))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a16c,0x94301));function a16c(){const K=['850dvfDcG','7QmvsHJ','options','18265zoPORe','\x20/\x20Year)','create','State\x20[HI]:\x20','Register\x20a\x20domain\x20name\x20with\x20AWS\x20Route\x2053','33WwQwqO','Contact\x20Last\x20Name\x20[Person]:\x20','contactType','includes','\x20for\x20','apply','search','Organization\x20Name\x20[My\x20Company,\x20LLC.]:','388hZUSHI','+1.5555555556','17420xcYUZj','ask','123\x20Glorious\x20Way','ASSOCIATION','Contact\x20First\x20Name\x20[Contact]:\x20','toString','678920LzCMwi','Address\x20Line\x201\x20[123\x20Glorious\x20Way]:','51975hswfho','Duration\x20in\x20years\x20[1]:\x20','+1.5555555555','Domain\x20name\x20is\x20unavailable','PUBLIC_BODY','96816','Address\x20Line\x202:\x20','constructor','Contact\x20Email\x20[mail@example.com]:\x20','checkDomainAvailability','PERSON','maka\x20aws:register-domain-name','The\x20domain\x20name:\x20','Are\x20you\x20sure?','warn','Do\x20you\x20wish\x20to\x20register\x20','4486OlYpTq','mail@example.com','17412GErmvH','51524VYOHua','3616428OFhfRe','(((.+)+)+)+$','domain','registerDomain','Contact','Person','confirm','OrganizationName','616rGPMhR','RESELLER','exit','\x20/\x20Year\x20\x0a','\x20is\x20available\x20for:','My\x20Comanpy,\x20LLC.','maka\x20aws:register-domain-name\x20--domain=example.com','maka\x20aws:rdn\x20--domain=example.com','values','notice','Please\x20review\x20your\x20responses,\x20Amazon\x20will\x20bill\x20you:'];a16c=function(){return K;};return a16c();}function a16d(a,b){const c=a16c();return a16d=function(d,e){d=d-0xe7;let f=c[d];return f;},a16d(a,b);}const a16b=(function(){let a=!![];return function(b,c){const d=a?function(){const F=a16d;if(c){const e=c[F(0x127)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a16a=a16b(this,function(){const G=a16d;return a16a['toString']()[G(0xe7)]('(((.+)+)+)+$')[G(0xf0)]()[G(0xfa)](a16a)[G(0xe7)](G(0x108));});a16a();import a16e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';import{CountryCode}from'../../tools/aws/aws.interfaces.js';function isValidCountryCode(a){const H=a16d;return Object[H(0x117)](CountryCode)[H(0x125)](a);}function getCountryCodeEnum(a){if(isValidCountryCode(a))return a;return undefined;}Command[a16I(0x11f)]({'name':'register-domain-name','aliases':['rdn'],'usage':a16I(0xfe),'requiredOpts':[a16I(0x109)],'validOpts':[],'shortDesc':a16I(0x121),'examples':[a16I(0x115),a16I(0x116)]},async function(a,b){const J=a16I;try{const c=b[J(0x109)],d=new AWS(),{available:f,cost:g}=await d[J(0xfc)](c);if(f&&g){Log[J(0x118)](J(0xff)+c+J(0x113));const {Price:h,Currency:i}=g;Log[J(0x101)]('\x20\x20'+h+'\x20'+i+J(0x112));const j=await Actions[J(0x10d)](J(0x102)+c+'\x20?',![]);if(j){const k={'type':'list','name':J(0x124),'message':'Choose\x20contact\x20type','choices':[J(0xee),'COMPANY',J(0xfd),J(0xf7),J(0x110)]},l=await Actions['ask'](J(0xf4))||'1',m=await Actions[J(0xec)](J(0xef))||J(0x10b),n=await Actions[J(0xec)](J(0x123))||J(0x10c),{contactType:o}=await Actions[J(0x11c)](k),p=await Actions[J(0xec)](J(0xf2))||J(0xed),q=await Actions[J(0xec)](J(0xf9)),r=await Actions[J(0xec)]('Zip\x20Code\x20[96816]:\x20')||J(0xf8),s=await Actions[J(0xec)](J(0x120))||'HI',t=await Actions[J(0xec)]('Country\x20Code\x20[US]:\x20')||'US',u=getCountryCodeEnum(t);if(!u)throw Log['error']('Invalid\x202\x20character\x20country\x20code');const v=await Actions[J(0xec)]('Contact\x20Phone\x20Number\x20[+1.5555555555]:\x20')||J(0xf5),w=await Actions[J(0xec)]('Contact\x20Fax\x20Number\x20[+1.5555555556]:\x20')||J(0xea),x=await Actions[J(0xec)](J(0xfb))||J(0x104),y=await Actions[J(0x10d)]('Auto\x20Renew:\x20'),z={'FirstName':m,'LastName':n,'ContactType':o,'CountryCode':u,'AddressLine1':p,'AddressLine2':q,'ZipCode':r,'PhoneNumber':v,'Fax':w,'State':s,'Email':x};if(o!==J(0xfd)){const C=await Actions[J(0xec)](J(0xe8))||J(0x114);z[J(0x10e)]=C;}const A=h||0x0*parseInt(l);Log[J(0x118)](J(0x119)),Log[J(0x101)](A+'\x20'+i+J(0x126)+l+'\x20years\x20('+h+'\x20'+i+J(0x11e));const B=await Actions[J(0x10d)](J(0x100));B&&await d[J(0x10a)](z,c,parseInt(l),y);}}else throw J(0xf6);}catch(D){D&&Log['error'](D),process[J(0x111)](0x0);}},a16e);
1
+ function a16c(){const K=['constructor','registerDomain','Person','\x20years\x20(','Organization\x20Name\x20[My\x20Company,\x20LLC.]:','(((.+)+)+)+$','Do\x20you\x20wish\x20to\x20register\x20','rdn','contactType','values','Contact\x20Phone\x20Number\x20[+1.5555555555]:\x20','register-domain-name','15420QYATWX','70880ykTgjz','11liMjOo','623xtgsgU','warn','apply','maka\x20aws:rdn\x20--domain=example.com','Invalid\x202\x20character\x20country\x20code','Contact\x20Last\x20Name\x20[Person]:\x20','PERSON','notice','State\x20[HI]:\x20','9PaWhni','ASSOCIATION','maka\x20aws:register-domain-name','1236969YNKBYG','5CbfvRS','mail@example.com','\x20is\x20available\x20for:','239595drrneq','search','4159176bekynw','confirm','Choose\x20contact\x20type','RESELLER','Duration\x20in\x20years\x20[1]:\x20','9192920LrHWuB','exit','\x20/\x20Year)','2111756RkopJO','ask','+1.5555555555','PUBLIC_BODY','error','COMPANY','123\x20Glorious\x20Way','includes','maka\x20aws:register-domain-name\x20--domain=example.com','Contact\x20First\x20Name\x20[Contact]:\x20','96816','Auto\x20Renew:\x20','OrganizationName','Please\x20review\x20your\x20responses,\x20Amazon\x20will\x20bill\x20you:','My\x20Comanpy,\x20LLC.','Address\x20Line\x201\x20[123\x20Glorious\x20Way]:','Country\x20Code\x20[US]:\x20','\x20/\x20Year\x20\x0a','domain','toString','list','create','Zip\x20Code\x20[96816]:\x20','\x20for\x20'];a16c=function(){return K;};return a16c();}function a16d(a,b){const c=a16c();return a16d=function(d,e){d=d-0x7b;let f=c[d];return f;},a16d(a,b);}const a16I=a16d;(function(a,b){const E=a16d,c=a();while(!![]){try{const d=-parseInt(E(0xad))/0x1*(-parseInt(E(0xa2))/0x2)+-parseInt(E(0xb4))/0x3+parseInt(E(0x7d))/0x4*(parseInt(E(0xb1))/0x5)+parseInt(E(0xa1))/0x6*(-parseInt(E(0xa4))/0x7)+parseInt(E(0xb6))/0x8+parseInt(E(0xb0))/0x9+parseInt(E(0xbb))/0xa*(-parseInt(E(0xa3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a16c,0x4377e));const a16b=(function(){let a=!![];return function(b,c){const d=a?function(){const F=a16d;if(c){const e=c[F(0xa6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a16a=a16b(this,function(){const G=a16d;return a16a[G(0x90)]()[G(0xb5)](G(0x9a))[G(0x90)]()[G(0x95)](a16a)['search']('(((.+)+)+)+$');});a16a();import a16e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';import{CountryCode}from'../../tools/aws/aws.interfaces.js';function isValidCountryCode(a){const H=a16d;return Object[H(0x9e)](CountryCode)[H(0x84)](a);}function getCountryCodeEnum(a){if(isValidCountryCode(a))return a;return undefined;}Command[a16I(0x92)]({'name':a16I(0xa0),'aliases':[a16I(0x9c)],'usage':a16I(0xaf),'requiredOpts':[a16I(0x8f)],'validOpts':[],'shortDesc':'Register\x20a\x20domain\x20name\x20with\x20AWS\x20Route\x2053','examples':[a16I(0x85),a16I(0xa7)]},async function(a,b){const J=a16I;try{const c=b['domain'],d=new AWS(),{available:f,cost:g}=await d['checkDomainAvailability'](c);if(f&&g){Log['notice']('The\x20domain\x20name:\x20'+c+J(0xb3));const {Price:h,Currency:i}=g;Log[J(0xa5)]('\x20\x20'+h+'\x20'+i+J(0x8e));const j=await Actions[J(0xb7)](J(0x9b)+c+'\x20?',![]);if(j){const k={'type':J(0x91),'name':J(0x9d),'message':J(0xb8),'choices':[J(0xae),J(0x82),J(0xaa),J(0x80),J(0xb9)]},l=await Actions[J(0x7e)](J(0xba))||'1',m=await Actions[J(0x7e)](J(0x86))||'Contact',n=await Actions['ask'](J(0xa9))||J(0x97),{contactType:o}=await Actions['options'](k),p=await Actions[J(0x7e)](J(0x8c))||J(0x83),q=await Actions['ask']('Address\x20Line\x202:\x20'),r=await Actions[J(0x7e)](J(0x93))||J(0x87),s=await Actions[J(0x7e)](J(0xac))||'HI',t=await Actions[J(0x7e)](J(0x8d))||'US',u=getCountryCodeEnum(t);if(!u)throw Log[J(0x81)](J(0xa8));const v=await Actions[J(0x7e)](J(0x9f))||J(0x7f),w=await Actions[J(0x7e)]('Contact\x20Fax\x20Number\x20[+1.5555555556]:\x20')||'+1.5555555556',x=await Actions[J(0x7e)]('Contact\x20Email\x20[mail@example.com]:\x20')||J(0xb2),y=await Actions[J(0xb7)](J(0x88)),z={'FirstName':m,'LastName':n,'ContactType':o,'CountryCode':u,'AddressLine1':p,'AddressLine2':q,'ZipCode':r,'PhoneNumber':v,'Fax':w,'State':s,'Email':x};if(o!==J(0xaa)){const C=await Actions[J(0x7e)](J(0x99))||J(0x8b);z[J(0x89)]=C;}const A=h||0x0*parseInt(l);Log[J(0xab)](J(0x8a)),Log['warn'](A+'\x20'+i+J(0x94)+l+J(0x98)+h+'\x20'+i+J(0x7c));const B=await Actions['confirm']('Are\x20you\x20sure?');B&&await d[J(0x96)](z,c,parseInt(l),y);}}else throw'Domain\x20name\x20is\x20unavailable';}catch(D){D&&Log[J(0x81)](D),process[J(0x7b)](0x0);}},a16e);
@@ -1 +1 @@
1
- const a17k=a17d;(function(a,b){const h=a17d,c=a();while(!![]){try{const d=-parseInt(h(0xda))/0x1*(parseInt(h(0xcb))/0x2)+parseInt(h(0xdc))/0x3*(-parseInt(h(0xd0))/0x4)+-parseInt(h(0xd9))/0x5+-parseInt(h(0xe7))/0x6+-parseInt(h(0xe5))/0x7*(-parseInt(h(0xd6))/0x8)+parseInt(h(0xe0))/0x9+-parseInt(h(0xdb))/0xa*(-parseInt(h(0xe1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a17c,0xbe052));const a17b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a17d;if(c){const e=c[i(0xd4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a17a=a17b(this,function(){const j=a17d;return a17a[j(0xc8)]()[j(0xc9)](j(0xd1))['toString']()[j(0xe8)](a17a)[j(0xc9)](j(0xd1));});a17a();function a17c(){const n=['maka\x20aws:remove-key-pair','\x20could\x20impact\x20other\x20instances\x20that\x20are\x20using\x20it.\x20\x20Are\x20you\x20sure?','7216416tWzwqU','1481458GKMNpi','success','forEach','Please\x20choose\x20a\x20key\x20to\x20delete:','102431yYkYmt','exit','3034914sFDBNN','constructor','toString','search','maka\x20aws:rkp','12TNMmeA','name','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','Deleted\x20','deleteKeyPair','423952OOIpeo','(((.+)+)+)+$','Deleting\x20a\x20','confirm','apply','error','808BYAlKK','\x0a\x20\x20After\x20being\x20show\x20a\x20list\x20of\x20available\x20key\x20pairs,\x20provide\x20the\x20name\x0a\x20\x20of\x20the\x20key\x20pair\x20that\x20you\x27d\x20like\x20to\x20delete.\x0a\x0a\x20\x20This\x20cannot\x20be\x20undone!\x0a\x20\x20','create','4076230wMffeq','215876Ueeuue','130VCaOvn','18cifpRY','remove-key-pair'];a17c=function(){return n;};return a17c();}import a17e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';function a17d(a,b){const c=a17c();return a17d=function(d,e){d=d-0xc8;let f=c[d];return f;},a17d(a,b);}import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command[a17k(0xd8)]({'name':a17k(0xdd),'aliases':['rkp'],'usage':'maka\x20aws:remove-key-pair','validOpts':[],'shortDesc':'Choose\x20from\x20your\x20list\x20of\x20public\x20keys\x20to\x20delete','description':a17k(0xd7),'examples':[a17k(0xde),a17k(0xca)]},async function(){const l=a17k;try{const a=new AWS(),b=await a['ec2describeKeys']();let c=undefined;const d=await Actions['ask'](l(0xe4));b?.[l(0xe3)](function(g){const m=l;g['id']===parseInt(d)&&(c=g[m(0xcc)]);});if(!c)throw Log['error'](l(0xcd));const f=await Actions[l(0xd3)](l(0xd2)+c+l(0xdf),![]);f?(await a[l(0xcf)](c),Log[l(0xe2)](l(0xce)+c)):Log[l(0xd5)]('Not\x20deleting\x20keypair'),process[l(0xe6)](0x0);}catch(g){g&&Log[l(0xd5)](g),process[l(0xe6)](0x1);}},a17e);
1
+ const a17k=a17d;(function(a,b){const h=a17d,c=a();while(!![]){try{const d=-parseInt(h(0x123))/0x1+-parseInt(h(0x12a))/0x2+parseInt(h(0x11f))/0x3*(-parseInt(h(0x116))/0x4)+parseInt(h(0x117))/0x5+parseInt(h(0x115))/0x6+-parseInt(h(0x121))/0x7*(parseInt(h(0x12e))/0x8)+-parseInt(h(0x127))/0x9*(-parseInt(h(0x11c))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a17c,0x985d7));const a17b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a17d;if(c){const e=c[i(0x113)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a17a=a17b(this,function(){const j=a17d;return a17a[j(0x118)]()[j(0x128)](j(0x131))[j(0x118)]()[j(0x132)](a17a)['search'](j(0x131));});a17a();import a17e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';function a17d(a,b){const c=a17c();return a17d=function(d,e){d=d-0x113;let f=c[d];return f;},a17d(a,b);}import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';function a17c(){const n=['\x20could\x20impact\x20other\x20instances\x20that\x20are\x20using\x20it.\x20\x20Are\x20you\x20sure?','ec2describeKeys','name','27RiyILE','search','error','271088sfgRUE','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','confirm','create','1576LholvD','Deleting\x20a\x20','maka\x20aws:remove-key-pair','(((.+)+)+)+$','constructor','apply','exit','2561064OQxAhp','448aMHirE','5788880bAFjFE','toString','remove-key-pair','maka\x20aws:rkp','Deleted\x20','2310420DCdWlT','ask','Not\x20deleting\x20keypair','2946CplqpW','success','8764IvXuTA','forEach','1161487lOtfoO'];a17c=function(){return n;};return a17c();}Command[a17k(0x12d)]({'name':a17k(0x119),'aliases':['rkp'],'usage':a17k(0x130),'validOpts':[],'shortDesc':'Choose\x20from\x20your\x20list\x20of\x20public\x20keys\x20to\x20delete','description':'\x0a\x20\x20After\x20being\x20show\x20a\x20list\x20of\x20available\x20key\x20pairs,\x20provide\x20the\x20name\x0a\x20\x20of\x20the\x20key\x20pair\x20that\x20you\x27d\x20like\x20to\x20delete.\x0a\x0a\x20\x20This\x20cannot\x20be\x20undone!\x0a\x20\x20','examples':[a17k(0x130),a17k(0x11a)]},async function(){const l=a17k;try{const a=new AWS(),b=await a[l(0x125)]();let c=undefined;const d=await Actions[l(0x11d)]('Please\x20choose\x20a\x20key\x20to\x20delete:');b?.[l(0x122)](function(g){const m=l;g['id']===parseInt(d)&&(c=g[m(0x126)]);});if(!c)throw Log['error'](l(0x12b));const f=await Actions[l(0x12c)](l(0x12f)+c+l(0x124),![]);f?(await a['deleteKeyPair'](c),Log[l(0x120)](l(0x11b)+c)):Log[l(0x129)](l(0x11e)),process[l(0x114)](0x0);}catch(g){g&&Log[l(0x129)](g),process['exit'](0x1);}},a17e);
@@ -1 +1 @@
1
- const a18o=a18d;(function(a,b){const l=a18d,c=a();while(!![]){try{const d=-parseInt(l(0xb2))/0x1+-parseInt(l(0xbb))/0x2*(-parseInt(l(0xcc))/0x3)+-parseInt(l(0xaf))/0x4+parseInt(l(0xc0))/0x5+parseInt(l(0xb5))/0x6+parseInt(l(0xb7))/0x7+parseInt(l(0xb0))/0x8*(-parseInt(l(0xbc))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a18c,0xde94d));const a18b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a18d;if(c){const e=c[m(0xd1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a18a=a18b(this,function(){const n=a18d;return a18a[n(0xd3)]()[n(0xc1)]('(((.+)+)+)+$')[n(0xd3)]()[n(0xbe)](a18a)[n(0xc1)](n(0xc8));});a18a();import a18e from'path';import a18f from'fs';import{execSync}from'child_process';import a18g from'./aws.command.js';import{Command}from'../../command.js';function a18c(){const q=['search','success','\x0a\x20\x20Get\x20a\x20list\x20of\x20AWS\x20EC2\x20instances\x20running,\x20and\x20choose\x20a\x20public\x20or\x20private\x20IP\x20to\x0a\x20\x20set\x20the\x20specified\x20environment\x27s\x20ssh.json\x20file\x20to\x20point\x20to\x20that\x20IP.\x0a\x20\x20','host','readFileSync','chooseInstance','maka\x20aws:sth\x20--env\x20prod','(((.+)+)+)+$','maka\x20aws:set-host\x20--env\x20dev','Set\x20the\x20host\x20to\x20public\x20or\x20private?\x20[public]','sth','10599aDosNf','\x0aSaved\x20host\x20','env','fsi','utf8','apply','ssh.json','toString','publicIp','appName','privateIp','parse','That\x20is\x20not\x20an\x20option.\x20Must\x20be\x20\x22public\x22\x20or\x20\x22private\x22','ask','isFile','writeFileSync','\x20IP\x20to\x20','create','Set\x20the\x20EC2\x20IP\x20to\x20the\x20environment\x20specified','getMakaProjectConfig','865764HpWOVf','12776jYZpIH','stringify','603932PkJLOC','cat\x20','join','6158286dSOPMG','private','4407284XCKGrE','config/ssh.json','exit','getAppConfigPath','144WhKJty','6651qFXTTB','template','constructor','inherit','5009400qYbuYo'];a18c=function(){return q;};return a18c();}import{AWS}from'../../tools/aws/aws.class.js';function a18d(a,b){const c=a18c();return a18d=function(d,e){d=d-0xa3;let f=c[d];return f;},a18d(a,b);}import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command[a18o(0xac)]({'name':'set-host','aliases':[a18o(0xcb)],'usage':'maka\x20aws\x20set-host','mustBeInMakaProject':!![],'requiredOpts':[a18o(0xce)],'validOpts':[],'shortDesc':a18o(0xad),'description':a18o(0xc3),'examples':[a18o(0xc9),a18o(0xc7)]},async function(a,b){const p=a18o;try{const c=new AWS(),d=this[p(0xcf)][p(0xba)](b[p(0xce)]),f=this[p(0xcf)][p(0xae)](),g=await c[p(0xc6)](),h=a18e[p(0xb4)](d,'ssh.json');!this[p(0xcf)][p(0xa9)](h)&&await this['fsi'][p(0xbd)]({'srcPath':p(0xb8),'destPath':h,'context':{'app':f[p(0xa4)]},'config':f});const i=JSON[p(0xa6)](a18f[p(0xc5)](h,p(0xd0))),j=await Actions[p(0xa8)](p(0xca))||'public';if(j){if(j==='public'||j===p(0xb6)){if(j==='public')i[p(0xc4)]=g?.[p(0xa3)];else j===p(0xb6)&&(i[p(0xc4)]=g?.[p(0xa5)]);}else throw p(0xa7);}else i[p(0xc4)]=g?.[p(0xa5)];a18f[p(0xaa)](a18e[p(0xb4)](d,'ssh.json'),JSON[p(0xb1)](i,null,0x2)),execSync(p(0xb3)+a18e[p(0xb4)](d,p(0xd2)),{'stdio':p(0xbf)}),Log[p(0xc2)](p(0xcd)+j+p(0xab)+d+a18e['sep']+p(0xd2));}catch(k){k&&Log['error'](k),process[p(0xb9)](0x0);}},a18g);
1
+ const a18o=a18d;(function(a,b){const m=a18d,c=a();while(!![]){try{const d=-parseInt(m(0x86))/0x1+parseInt(m(0x84))/0x2*(parseInt(m(0x95))/0x3)+parseInt(m(0x81))/0x4*(parseInt(m(0x7d))/0x5)+parseInt(m(0x8a))/0x6*(parseInt(m(0x7c))/0x7)+parseInt(m(0x8c))/0x8+-parseInt(m(0xa4))/0x9*(parseInt(m(0x98))/0xa)+-parseInt(m(0x7b))/0xb*(-parseInt(m(0xa0))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a18c,0xbb60c));const a18b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a18a=a18b(this,function(){const n=a18d;return a18a['toString']()['search']('(((.+)+)+)+$')[n(0xa2)]()['constructor'](a18a)[n(0x97)]('(((.+)+)+)+$');});a18a();function a18d(a,b){const c=a18c();return a18d=function(d,e){d=d-0x78;let f=c[d];return f;},a18d(a,b);}import a18e from'path';import a18f from'fs';function a18c(){const q=['209xgnZDj','7xashgC','5ehsORx','maka\x20aws:sth\x20--env\x20prod','getMakaProjectConfig','parse','4428728PwqwCl','Set\x20the\x20EC2\x20IP\x20to\x20the\x20environment\x20specified','create','1900480OxRIzL','publicIp','1158063ydrbGL','env','appName','inherit','1547718bRFJea','stringify','2153368QsJTLQ','Set\x20the\x20host\x20to\x20public\x20or\x20private?\x20[public]','sth','That\x20is\x20not\x20an\x20option.\x20Must\x20be\x20\x22public\x22\x20or\x20\x22private\x22','ask','template','maka\x20aws\x20set-host','chooseInstance','\x0a\x20\x20Get\x20a\x20list\x20of\x20AWS\x20EC2\x20instances\x20running,\x20and\x20choose\x20a\x20public\x20or\x20private\x20IP\x20to\x0a\x20\x20set\x20the\x20specified\x20environment\x27s\x20ssh.json\x20file\x20to\x20point\x20to\x20that\x20IP.\x0a\x20\x20','3rHJpAQ','getAppConfigPath','search','6781540MsBnII','sep','error','success','fsi','isFile','host','private','12108QRjzdE','\x0aSaved\x20host\x20','toString','join','9fkXfha','readFileSync','writeFileSync','public','ssh.json','privateIp'];a18c=function(){return q;};return a18c();}import{execSync}from'child_process';import a18g from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command[a18o(0x83)]({'name':'set-host','aliases':[a18o(0x8e)],'usage':a18o(0x92),'mustBeInMakaProject':!![],'requiredOpts':['env'],'validOpts':[],'shortDesc':a18o(0x82),'description':a18o(0x94),'examples':['maka\x20aws:set-host\x20--env\x20dev',a18o(0x7e)]},async function(a,b){const p=a18o;try{const c=new AWS(),d=this[p(0x9c)]['getEnvFromShorthand'](b[p(0x87)]),f=this[p(0x9c)][p(0x96)](d),g=this[p(0x9c)][p(0x7f)](),h=await c[p(0x93)](),i=a18e[p(0xa3)](f,p(0x79));!this['fsi'][p(0x9d)](i)&&await this[p(0x9c)][p(0x91)]({'srcPath':'config/ssh.json','destPath':i,'context':{'app':g[p(0x88)]},'config':g});const j=JSON[p(0x80)](a18f[p(0xa5)](i,'utf8')),k=await Actions[p(0x90)](p(0x8d))||p(0x78);if(k){if(k==='public'||k===p(0x9f)){if(k===p(0x78))j[p(0x9e)]=h?.[p(0x85)];else k===p(0x9f)&&(j[p(0x9e)]=h?.[p(0x7a)]);}else throw p(0x8f);}else j[p(0x9e)]=h?.[p(0x7a)];a18f[p(0xa6)](a18e['join'](f,p(0x79)),JSON[p(0x8b)](j,null,0x2)),execSync('cat\x20'+a18e[p(0xa3)](f,p(0x79)),{'stdio':p(0x89)}),Log[p(0x9b)](p(0xa1)+k+'\x20IP\x20to\x20'+f+a18e[p(0x99)]+p(0x79));}catch(l){l&&Log[p(0x9a)](l),process['exit'](0x0);}},a18g);
@@ -1 +1 @@
1
- const a19i=a19d;(function(a,b){const f=a19d,c=a();while(!![]){try{const d=-parseInt(f(0xd7))/0x1+parseInt(f(0xd5))/0x2*(parseInt(f(0xe9))/0x3)+-parseInt(f(0xeb))/0x4+parseInt(f(0xe4))/0x5*(parseInt(f(0xe5))/0x6)+parseInt(f(0xea))/0x7+-parseInt(f(0xe7))/0x8+parseInt(f(0xe0))/0x9*(parseInt(f(0xd4))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a19c,0x83f10));const a19b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a19d;if(c){const e=c[g(0xe6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a19a=a19b(this,function(){const h=a19d;return a19a[h(0xe3)]()[h(0xe1)](h(0xec))[h(0xe3)]()['constructor'](a19a)[h(0xe1)](h(0xec));});function a19d(a,b){const c=a19c();return a19d=function(d,e){d=d-0xcf;let f=c[d];return f;},a19d(a,b);}a19a();import a19e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';function a19c(){const k=['\x20Ready?','700luMOqE','464344NZTOTG','ec2terminateInstance','461013tPjsJx','instanceId','terminate-instance','You\x20have\x20aborted\x20the\x20termination.\x20\x20The\x20instance:\x20','\x20is\x20still\x20running.\x20\x20(Charges\x20are\x20still\x20being\x20applied).','maka\x20aws:ti','exit','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20terminated;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','confirm','149166lCgQRJ','search','running','toString','5fqzLFF','1923132QDxbAE','apply','7817904Iuevgl','error','12gevIKY','4080349yhMkCf','4054456JnFDaO','(((.+)+)+)+$','maka\x20aws:terminate-instance','create','Terminate\x20an\x20EC2\x20instance','chooseInstance','name'];a19c=function(){return k;};return a19c();}Command[a19i(0xcf)]({'name':a19i(0xd9),'aliases':['ti'],'usage':'maka\x20aws:terminate-instance','validOpts':[],'shortDesc':a19i(0xd0),'description':'\x0a\x20\x20After\x20being\x20provided\x20a\x20list\x20of\x20EC2\x20instances\x20created\x20by\x20Maka-CLI,\x0a\x20\x20choose\x20the\x20ID\x20of\x20an\x20instance\x20to\x20terminate.\x0a\x0a\x20\x20This\x20optation\x20cannot\x20be\x20undone!\x0a\x20\x20','examples':[a19i(0xed),a19i(0xdc)]},async function(){const j=a19i;try{const a=new AWS(),b=await a[j(0xd1)]();if(b?.[j(0xd8)]&&b?.['status']===j(0xe2)){const c=await Actions[j(0xdf)]('You\x20are\x20about\x20to\x20terminate\x20(lose\x20all\x20data)\x20on\x20instance:\x20'+b[j(0xd2)]+j(0xd3));c?a[j(0xd6)]({'instanceId':b[j(0xd8)]}):Log[j(0xe8)](j(0xda)+b[j(0xd2)]+j(0xdb));}else Log['error'](j(0xde));}catch(d){d&&Log[j(0xe8)](d),process[j(0xdd)](0x1);}},a19e);
1
+ const a19h=a19d;(function(a,b){const f=a19d,c=a();while(!![]){try{const d=parseInt(f(0x1d2))/0x1*(-parseInt(f(0x1c8))/0x2)+-parseInt(f(0x1d4))/0x3*(parseInt(f(0x1da))/0x4)+-parseInt(f(0x1d5))/0x5*(parseInt(f(0x1bc))/0x6)+parseInt(f(0x1d8))/0x7+parseInt(f(0x1d7))/0x8*(parseInt(f(0x1b9))/0x9)+-parseInt(f(0x1bb))/0xa*(-parseInt(f(0x1cf))/0xb)+parseInt(f(0x1d1))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a19c,0xce79a));function a19d(a,b){const c=a19c();return a19d=function(d,e){d=d-0x1b9;let f=c[d];return f;},a19d(a,b);}const a19b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a19a=a19b(this,function(){const g=a19d;return a19a[g(0x1d0)]()[g(0x1cc)](g(0x1cb))['toString']()[g(0x1bf)](a19a)[g(0x1cc)](g(0x1cb));});a19a();function a19c(){const j=['There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20terminated;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','11229830HtyZPO','1727322VwAXUK','You\x20are\x20about\x20to\x20terminate\x20(lose\x20all\x20data)\x20on\x20instance:\x20','name','constructor','chooseInstance','create','maka\x20aws:terminate-instance','maka\x20aws:ti','\x0a\x20\x20After\x20being\x20provided\x20a\x20list\x20of\x20EC2\x20instances\x20created\x20by\x20Maka-CLI,\x0a\x20\x20choose\x20the\x20ID\x20of\x20an\x20instance\x20to\x20terminate.\x0a\x0a\x20\x20This\x20optation\x20cannot\x20be\x20undone!\x0a\x20\x20','\x20is\x20still\x20running.\x20\x20(Charges\x20are\x20still\x20being\x20applied).','running','terminate-instance','21652gxutUH','confirm','error','(((.+)+)+)+$','search','\x20Ready?','status','11DRuaOl','toString','15691620HzEEHg','103DtqVuz','You\x20have\x20aborted\x20the\x20termination.\x20\x20The\x20instance:\x20','6DfEpyo','5LBfuOx','ec2terminateInstance','8KVCAEC','618744LJsSSD','instanceId','2499872JZnAtJ','8816517Zzkqie'];a19c=function(){return j;};return a19c();}import a19e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';Command[a19h(0x1c1)]({'name':a19h(0x1c7),'aliases':['ti'],'usage':a19h(0x1c2),'validOpts':[],'shortDesc':'Terminate\x20an\x20EC2\x20instance','description':a19h(0x1c4),'examples':[a19h(0x1c2),a19h(0x1c3)]},async function(){const i=a19h;try{const a=new AWS(),b=await a[i(0x1c0)]();if(b?.[i(0x1d9)]&&b?.[i(0x1ce)]===i(0x1c6)){const c=await Actions[i(0x1c9)](i(0x1bd)+b[i(0x1be)]+i(0x1cd));c?a[i(0x1d6)]({'instanceId':b['instanceId']}):Log['error'](i(0x1d3)+b[i(0x1be)]+i(0x1c5));}else Log['error'](i(0x1ba));}catch(d){d&&Log[i(0x1ca)](d),process['exit'](0x1);}},a19e);
@@ -1 +1 @@
1
- function a20c(){var i=['toString','search','2pZmGXJ','apply','5124556uLnhFc','6520052RNuyOU','11012688FciPRB','constructor','8189490lQZkAV','1741773McIQlT','(((.+)+)+)+$','5nOXEJb','2511354tMUusX','110UawWAp','1205167ZlrnpP','9VVNHgw'];a20c=function(){return i;};return a20c();}(function(a,b){var f=a20d,c=a();while(!![]){try{var d=-parseInt(f(0xb5))/0x1*(parseInt(f(0xb9))/0x2)+parseInt(f(0xb3))/0x3+-parseInt(f(0xbb))/0x4*(-parseInt(f(0xb2))/0x5)+parseInt(f(0xaf))/0x6+-parseInt(f(0xbc))/0x7+-parseInt(f(0xbd))/0x8*(-parseInt(f(0xb6))/0x9)+-parseInt(f(0xb4))/0xa*(parseInt(f(0xb0))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a20c,0xef986));var a20b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a20d;if(c){var e=c[g(0xba)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a20a=a20b(this,function(){var h=a20d;return a20a[h(0xb7)]()[h(0xb8)](h(0xb1))[h(0xb7)]()[h(0xae)](a20a)[h(0xb8)](h(0xb1));});function a20d(a,b){var c=a20c();return a20d=function(d,e){d=d-0xae;var f=c[d];return f;},a20d(a,b);}a20a();import'./build.js';import'./docker.sub.cmd.js';
1
+ (function(a,b){var f=a20d,c=a();while(!![]){try{var d=parseInt(f(0x176))/0x1*(-parseInt(f(0x173))/0x2)+-parseInt(f(0x170))/0x3+parseInt(f(0x174))/0x4*(parseInt(f(0x172))/0x5)+-parseInt(f(0x16a))/0x6+parseInt(f(0x16e))/0x7*(parseInt(f(0x16c))/0x8)+parseInt(f(0x16b))/0x9+-parseInt(f(0x169))/0xa*(-parseInt(f(0x175))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a20c,0x9a881));var a20b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a20d;if(c){var e=c[g(0x171)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a20a=a20b(this,function(){var h=a20d;return a20a[h(0x177)]()[h(0x16d)](h(0x16f))[h(0x177)]()['constructor'](a20a)['search']('(((.+)+)+)+$');});function a20c(){var i=['(((.+)+)+)+$','3455799uuLeIp','apply','5MZSvag','812566bJfMea','833892mnLuZE','88VRJTkV','2ZNqitt','toString','1856170eZMfVS','698340zzjlcV','3264075KIGVzh','5262128PscNPq','search','7hvsRWs'];a20c=function(){return i;};return a20c();}a20a();import'./build.js';function a20d(a,b){var c=a20c();return a20d=function(d,e){d=d-0x169;var f=c[d];return f;},a20d(a,b);}import'./docker.sub.cmd.js';
@@ -1 +1 @@
1
- const a21q=a21d;function a21c(){const t=['search',').\x20Update?','constructor','slice','checkMeteorPackage','14GgktRZ','toString','concat','create','3552syQIfL','invokeMeteorCommand','splice','4554110caGnib','autoupdate','force','build','20KHYhBK','111806sDnVKu','update','2655344hhBTgD','getGlobalMeteorVersion','forEach','--force','confirm','9660yFIjmo','maka\x20build','(((.+)+)+)+$','error','Build\x20your\x20application\x20into\x20the\x20build\x20folder.','apply','argv','fsi','120890cXHprh','getProjectMeteorVersion','pathFromProject','Found\x20existing\x20bundle,\x20would\x20you\x20like\x20to\x20rebuild\x20it?','10IOBugc',')\x20is\x20behind\x20your\x20installed\x20meteor\x20version\x20(','2004rFIwGf','existsSync','exit','--release','\x0a\x20\x20Using\x20Meteor\x27s\x20build\x20system,\x20create\x20a\x20bundle\x20to\x20be\x20stored\x20in\x20the\x0a\x20\x20build/\x20directory\x20as\x20a\x20tar.gz\x20file.\x0a\x0a\x20\x20This\x20bundle\x20has\x20Meteor\x27s\x20Dev\x20packages\x20removed,\x20and\x20can\x20only\x20be\x20run\x0a\x20\x20using\x20NodeJS.\x0a\x20\x20','418797UKkANd','app.tar.gz','1086174LxNxhk'];a21c=function(){return t;};return a21c();}(function(a,b){const n=a21d,c=a();while(!![]){try{const d=-parseInt(n(0x127))/0x1*(-parseInt(n(0x10c))/0x2)+parseInt(n(0x113))/0x3*(-parseInt(n(0x126))/0x4)+parseInt(n(0x12e))/0x5*(-parseInt(n(0x11f))/0x6)+parseInt(n(0x11b))/0x7*(parseInt(n(0x129))/0x8)+-parseInt(n(0x115))/0x9+-parseInt(n(0x122))/0xa+parseInt(n(0x108))/0xb*(parseInt(n(0x10e))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a21c,0x9c568));const a21b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a21d;if(c){const e=c[o(0x133)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a21a=a21b(this,function(){const p=a21d;return a21a[p(0x11c)]()[p(0x116)](p(0x130))[p(0x11c)]()[p(0x118)](a21a)[p(0x116)]('(((.+)+)+)+$');});a21a();import a21e from'path';import a21f from'fs';import a21g from'semver';import{Actions}from'../../tools/actions/actions.class.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const BuildCommand=Command[a21q(0x11e)]({'name':a21q(0x125),'usage':a21q(0x12f),'validOpts':[a21q(0x124)],'aliases':['b'],'shortDesc':a21q(0x132),'mustBeInMakaProject':!![],'description':a21q(0x112),'examples':['maka\x20build']},async function(a,b){const r=a21q;try{await this[r(0x135)][r(0x11a)](r(0x123),{'shouldInstall':!![]});const c=b[r(0x124)];if(!c){const g=this[r(0x135)][r(0x12a)](),h=this[r(0x135)][r(0x109)](),i=a21g['gt'](g,h);if(i){const j=await Actions[r(0x12d)]('This\x20project\x27s\x20meteor\x20version\x20('+h+r(0x10d)+g+r(0x117));j&&this[r(0x135)]['invokeMeteorCommand'](r(0x128),[r(0x111),g]);}}const d=[this[r(0x135)][r(0x10a)]({'pathParts':[r(0x125)]})][r(0x11d)](process[r(0x134)][r(0x119)](0x3)),f=a21e['join'](this[r(0x135)]['pathFromProject']({}),r(0x125),r(0x114));if(a21f[r(0x10f)](f)){const k=c??await Actions[r(0x12d)](r(0x10b));if(!k)throw Log[r(0x131)]('Aborted.');}d[r(0x12b)]((l,m)=>{const s=r;l===s(0x12c)&&d[s(0x121)](m,0x2);}),this[r(0x135)][r(0x120)](r(0x125),d);}catch(l){console[r(0x131)](l),process[r(0x110)](0x0);}});function a21d(a,b){const c=a21c();return a21d=function(d,e){d=d-0x108;let f=c[d];return f;},a21d(a,b);}export default BuildCommand;
1
+ const a21p=a21d;(function(a,b){const n=a21d,c=a();while(!![]){try{const d=parseInt(n(0x91))/0x1*(parseInt(n(0x8d))/0x2)+-parseInt(n(0x89))/0x3+parseInt(n(0x85))/0x4+parseInt(n(0x9a))/0x5+-parseInt(n(0x81))/0x6+-parseInt(n(0x95))/0x7+parseInt(n(0x84))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a21c,0x2798d));const a21b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a21a=a21b(this,function(){const o=a21d;return a21a[o(0x88)]()[o(0x7c)](o(0x8e))[o(0x88)]()[o(0x92)](a21a)['search'](o(0x8e));});a21a();import a21e from'path';import a21f from'fs';function a21d(a,b){const c=a21c();return a21d=function(d,e){d=d-0x76;let f=c[d];return f;},a21d(a,b);}import a21g from'semver';import{Actions}from'../../tools/actions/actions.class.js';function a21c(){const s=['352516VdwXCL','app.tar.gz','existsSync','toString','163698wdrnxo','error','argv','--release','66246UYzeAF','(((.+)+)+)+$','\x0a\x20\x20Using\x20Meteor\x27s\x20build\x20system,\x20create\x20a\x20bundle\x20to\x20be\x20stored\x20in\x20the\x0a\x20\x20build/\x20directory\x20as\x20a\x20tar.gz\x20file.\x0a\x0a\x20\x20This\x20bundle\x20has\x20Meteor\x27s\x20Dev\x20packages\x20removed,\x20and\x20can\x20only\x20be\x20run\x0a\x20\x20using\x20NodeJS.\x0a\x20\x20','splice','1ivUqIo','constructor','build',').\x20Update?','1949122hdSeTA','Aborted.','Found\x20existing\x20bundle,\x20would\x20you\x20like\x20to\x20rebuild\x20it?','confirm','pathFromProject','1366495RziyNw','--force','exit','fsi','checkMeteorPackage','getProjectMeteorVersion','maka\x20build','getGlobalMeteorVersion','autoupdate','force','search',')\x20is\x20behind\x20your\x20installed\x20meteor\x20version\x20(','update','create','concat','1866096xchsPS','invokeMeteorCommand','Build\x20your\x20application\x20into\x20the\x20build\x20folder.','3293328utlrhZ'];a21c=function(){return s;};return a21c();}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const BuildCommand=Command[a21p(0x7f)]({'name':a21p(0x93),'usage':a21p(0x78),'validOpts':[a21p(0x7b)],'aliases':['b'],'shortDesc':a21p(0x83),'mustBeInMakaProject':!![],'description':a21p(0x8f),'examples':['maka\x20build']},async function(a,b){const q=a21p;try{await this[q(0x9d)][q(0x76)](q(0x7a),{'shouldInstall':!![]});const c=b[q(0x7b)];if(!c){const g=this['fsi'][q(0x79)](),h=this[q(0x9d)][q(0x77)](),i=a21g['gt'](g,h);if(i){const j=await Actions[q(0x98)]('This\x20project\x27s\x20meteor\x20version\x20('+h+q(0x7d)+g+q(0x94));j&&this[q(0x9d)]['invokeMeteorCommand'](q(0x7e),[q(0x8c),g]);}}const d=[this[q(0x9d)][q(0x99)]({'pathParts':[q(0x93)]})][q(0x80)](process[q(0x8b)]['slice'](0x3)),f=a21e['join'](this[q(0x9d)]['pathFromProject']({}),'build',q(0x86));if(a21f[q(0x87)](f)){const k=c??await Actions[q(0x98)](q(0x97));if(!k)throw Log[q(0x8a)](q(0x96));}d['forEach']((l,m)=>{const r=q;l===r(0x9b)&&d[r(0x90)](m,0x2);}),this[q(0x9d)][q(0x82)](q(0x93),d);}catch(l){console[q(0x8a)](l),process[q(0x9c)](0x0);}});export default BuildCommand;