@maka/maka-cli 4.2.2 → 4.2.3

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 (90) hide show
  1. package/dist/command.js +1 -1
  2. package/dist/commands/_index.js +1 -1
  3. package/dist/commands/aws/_index.js +1 -1
  4. package/dist/commands/aws/aws.command.js +1 -1
  5. package/dist/commands/aws/ci.sub.cmd.js +1 -1
  6. package/dist/commands/aws/ckp.sub.cmd.js +1 -1
  7. package/dist/commands/aws/csg.sub.cmd.js +1 -1
  8. package/dist/commands/aws/di.sub.cmd.js +1 -1
  9. package/dist/commands/aws/dks.sub.cmd.js +1 -1
  10. package/dist/commands/aws/rbi.sub.cmd.js +1 -1
  11. package/dist/commands/aws/sth.sub.cmd.js +1 -1
  12. package/dist/commands/aws/ti.sub.cmd.js +1 -1
  13. package/dist/commands/build/_index.js +1 -1
  14. package/dist/commands/build/build.js +1 -1
  15. package/dist/commands/build/docker.sub.cmd.js +1 -1
  16. package/dist/commands/create.js +1 -1
  17. package/dist/commands/debug.js +1 -1
  18. package/dist/commands/deploy.js +1 -1
  19. package/dist/commands/game/_index.js +1 -1
  20. package/dist/commands/game/battleship.sub.cmd.js +1 -1
  21. package/dist/commands/game/play.command.js +1 -1
  22. package/dist/commands/game/pong.sub.cmd.js +1 -1
  23. package/dist/commands/game/snake.sub.cmd.js +1 -1
  24. package/dist/commands/game/tetris.sub.cmd.js +1 -1
  25. package/dist/commands/generate.js +1 -1
  26. package/dist/commands/get/_index.js +1 -1
  27. package/dist/commands/get/get.command.js +1 -1
  28. package/dist/commands/get/global.sub.cmd.js +1 -1
  29. package/dist/commands/get/local.sub.cmd.js +1 -1
  30. package/dist/commands/help.js +1 -1
  31. package/dist/commands/install.js +1 -1
  32. package/dist/commands/jsdoc.js +1 -1
  33. package/dist/commands/login.js +1 -1
  34. package/dist/commands/logout.js +1 -1
  35. package/dist/commands/logs.js +1 -1
  36. package/dist/commands/maka.cmd.js +1 -1
  37. package/dist/commands/murder.js +1 -1
  38. package/dist/commands/proxy.js +1 -1
  39. package/dist/commands/reconfig.js +1 -1
  40. package/dist/commands/run.js +1 -1
  41. package/dist/commands/set/_index.js +1 -1
  42. package/dist/commands/set/global.sub.cmd.js +1 -1
  43. package/dist/commands/set/local.sub.cmd.js +1 -1
  44. package/dist/commands/set/set.command.js +1 -1
  45. package/dist/commands/ssh.js +1 -1
  46. package/dist/commands/ssl.js +1 -1
  47. package/dist/commands/test.js +1 -1
  48. package/dist/commands/version.js +1 -1
  49. package/dist/error.js +1 -1
  50. package/dist/generator.js +1 -1
  51. package/dist/generators/_index.js +1 -1
  52. package/dist/generators/api.js +1 -1
  53. package/dist/generators/collection.js +1 -1
  54. package/dist/generators/component.js +1 -1
  55. package/dist/generators/config.js +1 -1
  56. package/dist/generators/dbc.js +1 -1
  57. package/dist/generators/dockerfile.js +1 -1
  58. package/dist/generators/hook.js +1 -1
  59. package/dist/generators/kit.js +1 -1
  60. package/dist/generators/layout.js +1 -1
  61. package/dist/generators/maka.gen.js +1 -1
  62. package/dist/generators/methods.js +1 -1
  63. package/dist/generators/package.js +1 -1
  64. package/dist/generators/page.js +1 -1
  65. package/dist/generators/publish.js +1 -1
  66. package/dist/generators/route.js +1 -1
  67. package/dist/generators/scaffold.js +1 -1
  68. package/dist/generators/service.js +1 -1
  69. package/dist/generators/services/_index.js +1 -1
  70. package/dist/generators/services/translation.js +1 -1
  71. package/dist/maka.js +1 -1
  72. package/dist/tool.js +1 -1
  73. package/dist/tools/actions/actions.class.js +1 -1
  74. package/dist/tools/actions/actions.test.js +1 -1
  75. package/dist/tools/aws/aws.class.js +1 -1
  76. package/dist/tools/aws/aws.interfaces.js +1 -1
  77. package/dist/tools/docker/docker.class.js +1 -1
  78. package/dist/tools/docker/docker.interfaces.js +1 -1
  79. package/dist/tools/fsi/fsi.class.js +1 -1
  80. package/dist/tools/fsi/fsi.interfaces.js +1 -1
  81. package/dist/tools/https/https.class.js +1 -1
  82. package/dist/tools/https/https.interface.js +1 -1
  83. package/dist/tools/log/log.class.js +1 -1
  84. package/dist/tools/log/log.interfaces.js +1 -1
  85. package/dist/tools/spawn-async/spawn-async.class.js +1 -1
  86. package/dist/tools/spawn-async/spawn-async.interfaces.js +1 -1
  87. package/dist/tools/ssh/ssh.class.js +1 -1
  88. package/dist/tools/ssh/ssh.interfaces.js +1 -1
  89. package/dist/tools/ssl/ssl.class.js +1 -1
  90. package/package.json +1 -1
package/dist/command.js CHANGED
@@ -1 +1 @@
1
- function a0d(a,b){const c=a0c();return a0d=function(d,e){d=d-0xec;let f=c[d];return f;},a0d(a,b);}const a0V=a0d;(function(a,b){const N=a0d,c=a();while(!![]){try{const d=parseInt(N(0x113))/0x1*(-parseInt(N(0xf7))/0x2)+-parseInt(N(0x14d))/0x3+parseInt(N(0xf0))/0x4+parseInt(N(0x112))/0x5*(parseInt(N(0x11d))/0x6)+parseInt(N(0x11b))/0x7+parseInt(N(0x150))/0x8+parseInt(N(0x139))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a0c,0xf256f));const a0b=(function(){let a=!![];return function(b,c){const O=a0d;if(O(0x13a)===O(0x10b)){const e=this[O(0x129)]();if(!e)throw new c();}else{const e=a?function(){const P=O;if(c){if(P(0x145)!==P(0x155)){const f=c[P(0x12d)](b,arguments);return c=null,f;}else e['push']([f['name'],g[P(0x12a)](),h[P(0xf3)]()]);}}:function(){};return a=![],e;}};}()),a0a=a0b(this,function(){const Q=a0d;return a0a['toString']()['search'](Q(0x14b))[Q(0xf6)]()[Q(0x126)](a0a)[Q(0xf4)]('(((.+)+)+)+$');});a0a();function a0c(){const ai=['usXJH','bGxvd','XvSBv','options','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20command','filter','Too\x20many\x20arguments','SepKJ','findCommand','run','No\x20usage\x20provided.','singleLicense','_handler','PNVwN','platform','proFlags','find','OiKSK','Trial\x20License\x20Expires:\x20','concat','length','Local','win32','BpNiX','then','value','validateMeteorInstall','mrICK','To\x20use\x20this\x20command,\x20\x22','maxArgLength','ilGqX','next','exit','minArgLength','jZPaa','bind','addCommand\x20requires\x20a\x20Command\x20instance','iYZpt','Too\x20few\x20arguments','PSNur','splice','No\x20aliases','PJtgv','invoke','.meteor','1074240JdOOSf','bright','findSubCommand','description','search','roles','toString','38iHQXJD','split','join','error','fsi','usage','number','kkngy','Alias','HxaSE','Command\x20requires\x20a\x20name','pBQXp','wajOv','includes','Too\x20few\x20options','KdWXZ','sort','Command.create\x20requires\x20some\x20options!','No\x20description\x20provided.','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','rKQpv','parent','assign','addCommand','tableList','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','Commands:','10IAgatw','31019zwWOCJ','keys','YFTaa','Command\x20requires\x20a\x20handler\x20function','match','domainLicense','ZSnTw','wFIyM','8308111nBwAew','UQJpi','373002LEjbRK','minOptsLength','To\x20use\x20these\x20pro\x20flags,\x20\x22','validateParams','function','Too\x20many\x20options','Command\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','trialExpirationDate','ysNCP','constructor','AppData','validateMakaSubscription','validateMakaProject','aliases','push','Invalid\x20options:\x20','apply','BDMOd','ErMpp','forEach','notice','UaKnR','trialActive','maxOptsLength','EbOie','krtIR','runSubCommand','deploy','157032uwmvyu','lHfGB','name','Command.create\x20requires\x20a\x20handler\x20function!','_commands','OhNXb','examples','Please\x20run\x20\x22maka\x20install\x20meteor\x22','throw','DSjvy','help','There\x20is\x20no\x20Meteor\x20application\x20here','tCyWN','Missing\x20required\x20options\x20','homedir','call','existsSync','proCommands','(((.+)+)+)+$','oFjhT','1149717VKhhYQ','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','findProjectDirectory','2944064TcUOJC','EIeDX','game','YDmnU','BXlVc'];a0c=function(){return ai;};return a0c();}var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const U=a0d;function h(k){const R=a0d;try{j(d[R(0x174)](k));}catch(l){if(R(0x132)!=='Msgxy')g(l);else throw new b(R(0x123));}}function i(k){const S=a0d;try{j(d[S(0x141)](k));}catch(l){g(l);}}function j(k){const T=a0d;k['done']?f(k[T(0x16e)]):e(k[T(0x16e)])[T(0x16d)](h,i);}j((d=d[U(0x12d)](a,b||[]))[U(0x174)]());});};import a0I from'path';import a0J from'os';import a0K from'fs';const homeDir=a0J[a0V(0x147)]();import a0L from'cli-table';import a0M from'./commands/maka.cmd.js';import{Log}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError}from'./error.js';let _prevCmd='';export class Command extends Tool{constructor(a,b){const W=a0V;super();if(!a)throw new Error(W(0x123));if(!a['name'])throw new Error(W(0x101));if(typeof b!=='function')throw new Error(W(0x116));this[W(0x158)]=Object[W(0x10d)]({},a),this[W(0x13b)]=this[W(0x158)]['name'],this[W(0x13d)]=[],this['_handler']=b[W(0x178)](this);}static['create'](a,b,c){const X=a0V;var d;if(!a)throw new Error('Command.create\x20requires\x20some\x20options!');if(typeof b!==X(0x121))throw new Error(X(0x13c));let e=new Command(a,b);return c=c||a0M,Object[X(0x10d)](e,{'parent':(d=c===null||c===void 0x0?void 0x0:c['options'])===null||d===void 0x0?void 0x0:d[X(0x13b)]}),c[X(0x10e)](e),e;}[a0V(0x117)](a){const Y=a0V;let b=[this[Y(0x13b)]][Y(0x168)](this[Y(0x158)][Y(0x12a)]||[]);return this['parent']&&b[Y(0x12b)](this[Y(0x10c)]),b[Y(0x104)](a);}[a0V(0x10e)](a){const Z=a0V;if(!(a instanceof Command))throw new Error(Z(0x179));this[Z(0x13d)]['push'](a);}[a0V(0x129)](){const a0=a0V,a=this[a0(0xfb)]['findProjectDirectory']();return a!==![]?!![]:![];}[a0V(0x16f)](){const a1=a0V;let a=a0I['join'](homeDir,'.meteor');const b=process[a1(0x163)]===a1(0x16b);if(b){a=a0I['join'](homeDir,a1(0x127),a1(0x16a),a1(0xef));if(!a0K[a1(0x149)](a))return![];}else{if(!a0K[a1(0x149)](a))return![];}return!![];}[a0V(0x128)](a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const a2=a0d;if(a2(0x14c)!=='oFjhT'){c[a2(0xfa)](a2(0x122));throw new d();}else try{if(a2(0x103)!==a2(0x135)){const d=this[a2(0x15d)](a[0x0]);if(d){const f=(d===null||d===void 0x0?void 0x0:d[a2(0x13b)])||a[0x0],g=(d===null||d===void 0x0?void 0x0:d[a2(0x10c)])||'',h=a[0x0],i=Object[a2(0x114)](b),j=yield this['fsi']['getPro']();if(!j){if('gThWI'!==a2(0x12e))Log[a2(0xfa)](a2(0x14e)),process[a2(0x175)](0x1);else return;}const k=(j===null||j===void 0x0?void 0x0:j[a2(0x14a)]['includes'](f))||(j===null||j===void 0x0?void 0x0:j[a2(0x14a)][a2(0x104)](g)),l=!(j===null||j===void 0x0?void 0x0:j[a2(0xf5)][a2(0x104)](a2(0x160)))&&!(j===null||j===void 0x0?void 0x0:j[a2(0xf5)][a2(0x104)](a2(0x118)))&&!(j===null||j===void 0x0?void 0x0:j[a2(0x133)]);if(k&&l)throw a2(0x171)+a[0x0]+a2(0x10a);if(i[a2(0x169)]>0x0){const n=j===null||j===void 0x0?void 0x0:j[a2(0x164)][a2(0x15a)](o=>i[a2(0x104)](o));if(n&&n[a2(0x169)]>0x0&&l){if(a2(0x17c)===a2(0x166))d(e['next'](f));else throw a2(0x11f)+(n===null||n===void 0x0?void 0x0:n[a2(0xf9)](',\x20'))+a2(0x10a);}}if(h===a2(0x138)){if(a2(0x157)===a2(0x157)){const p=yield this[a2(0xfb)]['getPro'](),q=p===null||p===void 0x0?void 0x0:p[a2(0x14a)][a2(0x104)](a[0x0]+'\x20'+a[0x1]);if(q&&l){if(a2(0x151)!==a2(0x156))throw'To\x20use\x20this\x20command,\x20\x22'+a[0x0]+a2(0x10a);else return c['toString']()[a2(0xf4)](a2(0x14b))[a2(0xf6)]()[a2(0x126)](d)[a2(0xf4)](a2(0x14b));}}else{const t=this[a2(0xfb)][a2(0x14f)]();return t!==![]?!![]:![];}}(j===null||j===void 0x0?void 0x0:j[a2(0x133)])&&(a2(0x15c)!==a2(0x15c)?b[a2(0x175)](0x1):Log['notice'](a2(0x167)+j[a2(0x124)]['split']('T')[0x0]));}}else{if(e[a2(0x114)](f)[a2(0x169)]>=this[a2(0x158)][a2(0x134)]){i[a2(0xfa)](a2(0x122));throw new j();}}}catch(v){if(a2(0x136)!=='krtIR')f['push'](a2(0x143)),g[a2(0x130)](x=>{const a3=a2;if(!k[a3(0x104)](x)){n[a3(0xfa)](a3(0x12c)+x);throw new o();}});else throw v;}});}[a0V(0x120)](a,b,c){const a4=a0V,{usage:d,requiredOpts:requiredOpts=[],description:e,examples:f}=c;let {validOpts:validOpts=[]}=c;const g=Object[a4(0x114)](b);if((requiredOpts===null||requiredOpts===void 0x0?void 0x0:requiredOpts[a4(0x169)])>0x0){if(a4(0x11a)===a4(0x11a)){if(g[a4(0x169)]===0x0){if(a4(0x177)!=='TZHFv'){Log[a4(0xfa)](a4(0x146)+requiredOpts[a4(0xf9)](',\x20'));throw new UsageError();}else throw new b();}requiredOpts['forEach'](i=>{const a5=a4;if(!g[a5(0x104)](i)){if(a5(0x173)===a5(0x173)){Log[a5(0xfa)]('Missing\x20required\x20option:\x20'+i);throw new UsageError();}else f[a5(0xfa)](a5(0x159)),g[a5(0xfc)](h,i,j);}});}else return d=e[0x0],this[a4(0x15d)](f);}validOpts=validOpts[a4(0x168)](requiredOpts),(validOpts===null||validOpts===void 0x0?void 0x0:validOpts[a4(0x169)])>0x0&&(validOpts[a4(0x12b)](a4(0x143)),g[a4(0x130)](j=>{const a6=a4;if('zvQlB'==='zvQlB'){if(!validOpts[a6(0x104)](j)){Log[a6(0xfa)](a6(0x12c)+j);throw new UsageError();}}else return![];}));}['run'](a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const a7=a0d;try{if(a7(0x100)!==a7(0x100))throw new b('Command.create\x20requires\x20a\x20handler\x20function!');else{a=a||[],b=b||{};try{if(a7(0x170)!==a7(0x142))yield this[a7(0x128)](a,b);else{var f;if(!p)throw new E(a7(0x108));if(typeof r!==a7(0x121))throw new F('Command.create\x20requires\x20a\x20handler\x20function!');let g=new t(u,v);return w=x||y,z[a7(0x10d)](g,{'parent':(f=A===null||B===void 0x0?void 0x0:C[a7(0x158)])===null||f===void 0x0?void 0x0:f['name']}),D[a7(0x10e)](g),g;}}catch(f){Log[a7(0xfa)](f),process['exit'](0x0);}yield this[a7(0xee)](a,b);}}catch(g){if('YDmnU'===a7(0x153))process[a7(0x175)](0x1);else{if(!f[a7(0x104)](g)){k[a7(0xfa)](a7(0x12c)+l);throw new m();}}}});}[a0V(0xee)](a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const a8=a0d,{usage:usage='',description:description='',examples:examples=[]}=this[a8(0x158)];this[a8(0x120)](a,b,this['options']);try{if(this[a8(0x158)]['mustBeInMakaProject']){if(a8(0x16c)===a8(0x16c)){const c=this[a8(0x129)]();if(!c)throw new MustBeInProjectError();}else{d[a8(0xfa)](a8(0x146)+e[a8(0xf9)](',\x20'));throw new f();}}if(this['options']['mustHaveMeteorInstalled']){const f=this[a8(0x16f)]();if(!f)throw new NoMeteorFoundError();}if(typeof this[a8(0x158)][a8(0x176)]===a8(0xfd)){if(a8(0x13e)===a8(0x13e)){if(a[a8(0x169)]<this[a8(0x158)]['minArgLength']){Log[a8(0xfa)](a8(0x17b));throw new UsageError();}}else{if(!(e instanceof f))throw new i(a8(0x179));this[a8(0x13d)][a8(0x12b)](h);}}if(typeof this['options'][a8(0x172)]===a8(0xfd)){if(a8(0x106)===a8(0x12f))throw a8(0x171)+b[0x0]+a8(0x10a);else{if(a[a8(0x169)]>=this[a8(0x158)]['maxArgLength']){Log[a8(0xfa)](a8(0x15b));throw new UsageError();}}}if(typeof this['options'][a8(0x11e)]===a8(0xfd)){if(Object[a8(0x114)](b)[a8(0x169)]<this[a8(0x158)][a8(0x11e)]){if(a8(0x11c)===a8(0x115)){f=g['join'](h,a8(0x127),a8(0x16a),a8(0xef));if(!i[a8(0x149)](j))return![];}else{Log[a8(0xfa)](a8(0x105));throw new UsageError();}}}if(typeof this[a8(0x158)][a8(0x134)]===a8(0xfd)){if(Object[a8(0x114)](b)[a8(0x169)]>=this[a8(0x158)][a8(0x134)]){Log[a8(0xfa)](a8(0x122));throw new UsageError();}}if((a[0x0]===_prevCmd||a[a8(0x169)]===0x0)&&b[a8(0x143)])throw new UsageError();_prevCmd=a[0x0],yield this[a8(0x161)][a8(0x148)](this,a,b);}catch(j){if(j instanceof UsageError)this[a8(0x13d)]['length']>0x0&&b[a8(0x143)]&&(Log[a8(0x131)](a8(0x111)),this[a8(0x10f)](this[a8(0x13d)])),Log['usage'](description,examples,usage);else{if(j instanceof MustBeInProjectError)Log[a8(0xfa)](a8(0x159)),Log['usage'](description,examples,usage);else{if(j instanceof NoMeteorFoundError)Log['error'](a8(0x110)),Log['notice'](a8(0x140)),Log['usage'](description,examples,usage);else{if(j instanceof NoMeteorAppFoundError)Log[a8(0xfa)](a8(0x144)),Log[a8(0xfc)](description,examples,usage);else throw j;}}}process[a8(0x175)](0x1);}});}[a0V(0x10f)](a){const a9=a0V,b=new a0L({});b[a9(0x12b)](['Name',a9(0xff),'Description']),a[a9(0x107)]()[a9(0x130)](c=>{const aa=a9;if(c['name']!=='murder'&&c[aa(0x13b)]!==aa(0x152)){if(aa(0x125)==='ysNCP')b[aa(0x12b)]([c[aa(0x13b)],c['aliases'](),c[aa(0xf3)]()]);else return this[aa(0x13d)][aa(0x165)](e=>e[aa(0x117)](c));}}),Log[a9(0xf1)](b[a9(0xf6)]());}[a0V(0x15d)](a){const ab=a0V;return this[ab(0x13d)][ab(0x165)](b=>b[ab(0x117)](a));}[a0V(0xf2)](a){const ac=a0V;let b=a===null||a===void 0x0?void 0x0:a[ac(0xf8)](':');if(b)return a=b[0x0],this[ac(0x15d)](a);else{if(ac(0x17a)!==ac(0x17a))return![];else return;}}[a0V(0x137)](a,b,c){return __awaiter(this,void 0x0,void 0x0,function*(){const ad=a0d;try{let d=a[ad(0xf8)](':');a=d[0x0];let f=d[0x1];if(f){if(ad(0x119)===ad(0x102)){if(d[ad(0x169)]>=this[ad(0x158)][ad(0x172)]){g[ad(0xfa)]('Too\x20many\x20arguments');throw new h();}}else b[ad(0x17d)](0x0,0x0,f);}let g=this[ad(0x15d)](a);if(g)ad(0xfe)!==ad(0x154)?yield g[ad(0x15e)](b,c):c(d);else throw'Command\x20not\x20found';}catch(j){if(ad(0xed)!==ad(0x162))throw Log[ad(0xfa)](j);else d(j[ad(0x141)](f));}});}[a0V(0xf3)](){const ae=a0V;return this['options'][ae(0xf3)]||ae(0x109);}[a0V(0xfc)](){const af=a0V;return this[af(0x158)]['usage']||af(0x15f);}[a0V(0x13f)](){const ag=a0V;return this[ag(0x158)][ag(0x13f)]||[];}[a0V(0x12a)](){const ah=a0V;return this[ah(0x158)]['aliases']||ah(0xec);}}
1
+ const a0Q=a0d;(function(a,b){const N=a0d,c=a();while(!![]){try{const d=-parseInt(N(0x1c8))/0x1*(parseInt(N(0x207))/0x2)+parseInt(N(0x1fd))/0x3+-parseInt(N(0x1b7))/0x4+parseInt(N(0x1e2))/0x5+-parseInt(N(0x20a))/0x6+-parseInt(N(0x1cc))/0x7*(parseInt(N(0x1af))/0x8)+parseInt(N(0x20b))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a0c,0x3bdb3));function a0d(a,b){const c=a0c();return a0d=function(d,e){d=d-0x19b;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){if(O(0x203)!==O(0x21f)){const e=c[O(0x209)](b,arguments);return c=null,e;}else{d[O(0x201)]('Missing\x20required\x20options\x20'+e[O(0x1d2)](',\x20'));throw new f();}}}:function(){};return a=![],d;};}()),a0a=a0b(this,function(){const P=a0d;return a0a[P(0x1ee)]()[P(0x1c1)](P(0x1dc))['toString']()[P(0x206)](a0a)['search'](P(0x1dc));});a0a();function a0c(){const ai=['sort','runSubCommand','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20command','invoke','Name','kmqTf','DVayt','number','toString','validateParams','function','aliases','kSjwG','Trial\x20License\x20Expires:\x20','Missing\x20required\x20options\x20','bZIIh','There\x20is\x20no\x20Meteor\x20application\x20here','Command\x20requires\x20a\x20handler\x20function','No\x20description\x20provided.','Alias','roles','_handler','__awaiter','1230429kTqjUE','existsSync','Command.create\x20requires\x20some\x20options!','Commands:','error','To\x20use\x20this\x20command,\x20\x22','Mgrdj','addCommand','CVuMr','constructor','82WSmuiU','find','apply','2902476kBiJbG','10114272oWEwDF','Invalid\x20options:\x20','ltLcI','tableList','bind','bright','keys','value','notice','then','CULRf','maxOptsLength','includes','win32','assign','next','push','Too\x20few\x20options','_commands','BWFjt','bIakb','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','done','getPro','validateMakaSubscription','validateMeteorInstall','mustHaveMeteorInstalled','forEach','kWJuA','usage','homedir','AppData','rmtgM','minArgLength','Command\x20requires\x20a\x20name','UqjGk','findCommand','uVQjI','Command\x20not\x20found','fsi','findProjectDirectory','concat','PpVAM','create','16QeKMyX','findSubCommand','exit','split','pVumd','mIvXf','fJUJj','mustBeInMakaProject','147872VsxxuF','name','xGQNi','Too\x20few\x20arguments','minOptsLength','LTYiS','length','match','.meteor','Please\x20run\x20\x22maka\x20install\x20meteor\x22','search','TQyZe','Iruii','FTaKq','help','Description','trialActive','9153kagAty','options','Too\x20many\x20options','RzKzo','1686384AbDAeP','examples','proCommands','WsSut','yijRh','murder','join','game','validateMakaProject','parent','run','splice','maxArgLength','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','call','nQLNA','(((.+)+)+)+$','description','Missing\x20required\x20option:\x20','deploy','aSpDj','platform','445155XEKslD','singleLicense','addCommand\x20requires\x20a\x20Command\x20instance','SRgyU'];a0c=function(){return ai;};return a0c();}var __awaiter=this&&this[a0Q(0x1fc)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const R=a0d;if(R(0x1c4)!=='FTaKq')throw new b(R(0x1f7));else g(f);});}return new(c||(c=Promise))(function(f,g){const V=a0d;function h(k){const S=a0d;if('OOguX'!=='OOguX'){c['error'](S(0x1ba));throw new d();}else try{j(d[S(0x21a)](k));}catch(m){g(m);}}function i(k){const T=a0d;if('LongE'==='LongE')try{j(d['throw'](k));}catch(l){if(T(0x205)===T(0x1f2))throw new b();else g(l);}else g[T(0x1b8)]!==T(0x1d1)&&h[T(0x1b8)]!==T(0x1d3)&&m['push']([n['name'],o['aliases'](),p[T(0x1dd)]()]);}function j(k){const U=a0d;U(0x1a8)===U(0x1a8)?k[U(0x221)]?f(k[U(0x212)]):e(k[U(0x212)])[U(0x214)](h,i):e[U(0x21b)]([f['name'],g[U(0x1f1)](),h['description']()]);}j((d=d[V(0x209)](a,b||[]))[V(0x21a)]());});};import a0I from'path';import a0J from'os';import a0K from'fs';const homeDir=a0J[a0Q(0x1a1)]();import a0L from'cli-table';import a0M from'./commands/maka.cmd.js';import{Log}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError}from'./error.js';let _prevCmd='';export class Command extends Tool{constructor(a,b){const W=a0Q;super();if(!a){if(W(0x1ec)!=='GjYlj')throw new Error('Command\x20requires\x20first\x20param\x20to\x20be\x20an\x20object');else throw new b(W(0x1e4));}if(!a['name'])throw new Error(W(0x1a5));if(typeof b!=='function'){if('vCkBC'==='vCkBC')throw new Error(W(0x1f7));else throw new b();}this[W(0x1c9)]=Object[W(0x219)]({},a),this[W(0x1b8)]=this[W(0x1c9)][W(0x1b8)],this[W(0x21d)]=[],this[W(0x1fb)]=b[W(0x20f)](this);}static[a0Q(0x1ae)](a,b,c){const X=a0Q;var d;if(!a){if(X(0x1b9)!=='xGQNi'){d[X(0x201)](X(0x1de)+e);throw new f();}else throw new Error(X(0x1ff));}if(typeof b!==X(0x1f0)){if(X(0x1b3)!==X(0x1d0))throw new Error('Command.create\x20requires\x20a\x20handler\x20function!');else g['error']('Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly'),h[X(0x213)](X(0x1c0)),i[X(0x1a0)](j,k,l);}let e=new Command(a,b);return c=c||a0M,Object[X(0x219)](e,{'parent':(d=c===null||c===void 0x0?void 0x0:c[X(0x1c9)])===null||d===void 0x0?void 0x0:d[X(0x1b8)]}),c[X(0x204)](e),e;}[a0Q(0x1be)](a){const Y=a0Q;let b=[this[Y(0x1b8)]][Y(0x1ac)](this[Y(0x1c9)][Y(0x1f1)]||[]);if(this['parent']){if(Y(0x19f)!=='kWJuA')throw'Command\x20not\x20found';else b[Y(0x21b)](this[Y(0x1d5)]);}return b[Y(0x217)](a);}[a0Q(0x204)](a){const Z=a0Q;if(!(a instanceof Command)){if(Z(0x1c3)===Z(0x1c3))throw new Error(Z(0x1e4));else throw b;}this[Z(0x21d)][Z(0x21b)](a);}[a0Q(0x1d4)](){const a0=a0Q,a=this[a0(0x1aa)][a0(0x1ab)]();return a!==![]?!![]:![];}[a0Q(0x19c)](){const a1=a0Q;let a=a0I[a1(0x1d2)](homeDir,'.meteor');const b=process[a1(0x1e1)]===a1(0x218);if(b){a=a0I[a1(0x1d2)](homeDir,a1(0x1a2),'Local',a1(0x1bf));if(!a0K[a1(0x1fe)](a)){if(a1(0x1a6)!==a1(0x1e0))return![];else f['push'](a1(0x1c5)),g[a1(0x19e)](q=>{const a2=a1;if(!k['includes'](q)){n[a2(0x201)](a2(0x20c)+q);throw new o();}});}}else{if(a1(0x215)===a1(0x1eb))return this[a1(0x1c9)][a1(0x1dd)]||a1(0x1f8);else{if(!a0K[a1(0x1fe)](a))return![];}}return!![];}['validateMakaSubscription'](a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const a3=a0d;if('vcHuV'===a3(0x1bc)){c[a3(0x201)]('Too\x20many\x20options');throw new d();}else try{const d=this[a3(0x1a7)](a[0x0]);if(d){if(a3(0x1a3)===a3(0x1e5))d[a3(0x201)](e),f[a3(0x1b1)](0x0);else{const g=(d===null||d===void 0x0?void 0x0:d[a3(0x1b8)])||a[0x0],h=(d===null||d===void 0x0?void 0x0:d[a3(0x1d5)])||'',i=a[0x0],j=Object['keys'](b),k=yield this['fsi'][a3(0x222)]();!k&&(Log[a3(0x201)](a3(0x1d9)),process['exit'](0x1));const l=(k===null||k===void 0x0?void 0x0:k[a3(0x1ce)][a3(0x217)](g))||(k===null||k===void 0x0?void 0x0:k['proCommands'][a3(0x217)](h)),m=!(k===null||k===void 0x0?void 0x0:k[a3(0x1fa)][a3(0x217)](a3(0x1e3)))&&!(k===null||k===void 0x0?void 0x0:k[a3(0x1fa)][a3(0x217)]('domainLicense'))&&!(k===null||k===void 0x0?void 0x0:k[a3(0x1c7)]);if(l&&m){if('viAJS'!=='viAJS')return this[a3(0x1c9)][a3(0x1cd)]||[];else throw a3(0x202)+a[0x0]+'\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27';}if(j[a3(0x1bd)]>0x0){const o=k===null||k===void 0x0?void 0x0:k['proFlags']['filter'](p=>j[a3(0x217)](p));if(o&&o[a3(0x1bd)]>0x0&&m)throw'To\x20use\x20these\x20pro\x20flags,\x20\x22'+(o===null||o===void 0x0?void 0x0:o[a3(0x1d2)](',\x20'))+a3(0x220);}if(i===a3(0x1df)){const p=yield this[a3(0x1aa)]['getPro'](),q=p===null||p===void 0x0?void 0x0:p['proCommands'][a3(0x217)](a[0x0]+'\x20'+a[0x1]);if(q&&m)throw'To\x20use\x20this\x20command,\x20\x22'+a[0x0]+a3(0x220);}(k===null||k===void 0x0?void 0x0:k[a3(0x1c7)])&&Log[a3(0x213)](a3(0x1f3)+k['trialExpirationDate'][a3(0x1b2)]('T')[0x0]);}}}catch(r){throw r;}});}[a0Q(0x1ef)](a,b,c){const a4=a0Q,{usage:d,requiredOpts:requiredOpts=[],description:e,examples:f}=c;let {validOpts:validOpts=[]}=c;const g=Object[a4(0x211)](b);if((requiredOpts===null||requiredOpts===void 0x0?void 0x0:requiredOpts['length'])>0x0){if(g[a4(0x1bd)]===0x0){Log[a4(0x201)](a4(0x1f4)+requiredOpts['join'](',\x20'));throw new UsageError();}requiredOpts[a4(0x19e)](h=>{const a5=a4;if(!g[a5(0x217)](h)){Log[a5(0x201)](a5(0x1de)+h);throw new UsageError();}});}validOpts=validOpts['concat'](requiredOpts);if((validOpts===null||validOpts===void 0x0?void 0x0:validOpts[a4(0x1bd)])>0x0){if(a4(0x1b4)!==a4(0x1b5))validOpts['push'](a4(0x1c5)),g[a4(0x19e)](h=>{const a6=a4;if(!validOpts[a6(0x217)](h)){if(a6(0x1c2)===a6(0x20d))return![];else{Log[a6(0x201)](a6(0x20c)+h);throw new UsageError();}}});else try{i(j[a4(0x21a)](k));}catch(i){m(i);}}}[a0Q(0x1d6)](a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const a7=a0d;try{a=a||[],b=b||{};try{yield this[a7(0x19b)](a,b);}catch(c){if('GGGsN'!=='GGGsN'){if(!c[a7(0x1fe)](d))return![];}else Log['error'](c),process[a7(0x1b1)](0x0);}yield this['invoke'](a,b);}catch(f){process['exit'](0x1);}});}[a0Q(0x1e9)](a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const a8=a0d;if(a8(0x1f5)===a8(0x1f5)){const {usage:usage='',description:description='',examples:examples=[]}=this[a8(0x1c9)];this[a8(0x1ef)](a,b,this[a8(0x1c9)]);try{if(this[a8(0x1c9)][a8(0x1b6)]){const c=this[a8(0x1d4)]();if(!c)throw new MustBeInProjectError();}if(this[a8(0x1c9)][a8(0x19d)]){const d=this['validateMeteorInstall']();if(!d)throw new NoMeteorFoundError();}if(typeof this['options'][a8(0x1a4)]===a8(0x1ed)){if('HdOKR'!=='gaIkI'){if(a[a8(0x1bd)]<this[a8(0x1c9)]['minArgLength']){Log[a8(0x201)](a8(0x1ba));throw new UsageError();}}else b[a8(0x21b)](this[a8(0x1d5)]);}if(typeof this[a8(0x1c9)]['maxArgLength']===a8(0x1ed)){if('orekG'==='orekG'){if(a[a8(0x1bd)]>=this[a8(0x1c9)][a8(0x1d8)]){if('PpVAM'!==a8(0x1ad)){c[a8(0x201)](a8(0x21c));throw new d();}else{Log['error']('Too\x20many\x20arguments');throw new UsageError();}}}else{if(e){const i=i[a8(0x209)](j,arguments);return k=null,i;}}}if(typeof this[a8(0x1c9)][a8(0x1bb)]===a8(0x1ed)){if('wMfwQ'===a8(0x1cf))return this[a8(0x1c9)][a8(0x1a0)]||'No\x20usage\x20provided.';else{if(Object[a8(0x211)](b)['length']<this['options']['minOptsLength']){if(a8(0x1db)==='fjNXj')throw'To\x20use\x20this\x20command,\x20\x22'+b[0x0]+a8(0x220);else{Log['error'](a8(0x21c));throw new UsageError();}}}}if(typeof this[a8(0x1c9)]['maxOptsLength']===a8(0x1ed)){if(Object[a8(0x211)](b)[a8(0x1bd)]>=this[a8(0x1c9)][a8(0x216)]){Log[a8(0x201)](a8(0x1ca));throw new UsageError();}}if((a[0x0]===_prevCmd||a[a8(0x1bd)]===0x0)&&b['help'])throw new UsageError();_prevCmd=a[0x0],yield this[a8(0x1fb)][a8(0x1da)](this,a,b);}catch(k){if(k instanceof UsageError)this[a8(0x21d)][a8(0x1bd)]>0x0&&b['help']&&(Log[a8(0x213)](a8(0x200)),this[a8(0x20e)](this[a8(0x21d)])),Log[a8(0x1a0)](description,examples,usage);else{if(k instanceof MustBeInProjectError)'tqhhU'!==a8(0x21e)?(Log['error'](a8(0x1e8)),Log[a8(0x1a0)](description,examples,usage)):b['exit'](0x1);else{if(k instanceof NoMeteorFoundError)Log['error']('Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly'),Log[a8(0x213)](a8(0x1c0)),Log[a8(0x1a0)](description,examples,usage);else{if(k instanceof NoMeteorAppFoundError){if('RzKzo'!==a8(0x1cb))throw'To\x20use\x20these\x20pro\x20flags,\x20\x22'+(d===null||k===void 0x0?void 0x0:f[a8(0x1d2)](',\x20'))+a8(0x220);else Log['error'](a8(0x1f6)),Log[a8(0x1a0)](description,examples,usage);}else throw k;}}}process['exit'](0x1);}}else{if(d[a8(0x1bd)]<this[a8(0x1c9)]['minArgLength']){g['error'](a8(0x1ba));throw new h();}}});}['tableList'](a){const a9=a0Q,b=new a0L({});b['push']([a9(0x1ea),a9(0x1f9),a9(0x1c6)]),a[a9(0x1e6)]()[a9(0x19e)](c=>{const aa=a9;c[aa(0x1b8)]!=='murder'&&c[aa(0x1b8)]!==aa(0x1d3)&&b[aa(0x21b)]([c[aa(0x1b8)],c[aa(0x1f1)](),c[aa(0x1dd)]()]);}),Log[a9(0x210)](b[a9(0x1ee)]());}['findCommand'](a){const ab=a0Q;return this[ab(0x21d)][ab(0x208)](b=>b[ab(0x1be)](a));}[a0Q(0x1b0)](a){const ac=a0Q;let b=a===null||a===void 0x0?void 0x0:a[ac(0x1b2)](':');if(b)return a=b[0x0],this[ac(0x1a7)](a);else return;}[a0Q(0x1e7)](a,b,c){return __awaiter(this,void 0x0,void 0x0,function*(){const ad=a0d;try{let d=a[ad(0x1b2)](':');a=d[0x0];let f=d[0x1];f&&b[ad(0x1d7)](0x0,0x0,f);let g=this[ad(0x1a7)](a);if(g)yield g[ad(0x1d6)](b,c);else throw ad(0x1a9);}catch(h){throw Log[ad(0x201)](h);}});}[a0Q(0x1dd)](){const ae=a0Q;return this[ae(0x1c9)][ae(0x1dd)]||ae(0x1f8);}['usage'](){const af=a0Q;return this[af(0x1c9)]['usage']||'No\x20usage\x20provided.';}[a0Q(0x1cd)](){const ag=a0Q;return this[ag(0x1c9)]['examples']||[];}[a0Q(0x1f1)](){const ah=a0Q;return this[ah(0x1c9)][ah(0x1f1)]||'No\x20aliases';}}
@@ -1 +1 @@
1
- (function(a,b){var u=a1d,c=a();while(!![]){try{var d=parseInt(u(0xab))/0x1+parseInt(u(0xae))/0x2*(-parseInt(u(0xac))/0x3)+-parseInt(u(0xad))/0x4*(-parseInt(u(0xb0))/0x5)+parseInt(u(0xa5))/0x6+parseInt(u(0xa9))/0x7+-parseInt(u(0xaa))/0x8+parseInt(u(0xb1))/0x9*(parseInt(u(0xa8))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a1c,0x5871e));var a1b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a1d;if(c){var e=c[v(0xa6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a1a=a1b(this,function(){var w=a1d;return a1a['toString']()['search']('(((.+)+)+)+$')[w(0xaf)]()[w(0xa7)](a1a)[w(0xb2)]('(((.+)+)+)+$');});a1a();import'./aws/_index.js';import'./set/_index.js';import'./get/_index.js';import'./game/_index.js';import'./build/_index.js';import'./create.js';import'./debug.js';import'./deploy.js';import'./generate.js';import'./help.js';import'./install.js';function a1d(a,b){var c=a1c();return a1d=function(d,e){d=d-0xa5;var f=c[d];return f;},a1d(a,b);}import'./login.js';import'./logout.js';import'./logs.js';import'./maka.cmd.js';import'./reconfig.js';function a1c(){var x=['52385THYTOQ','2087418lpwXXh','4556KVAGyL','2KGwval','toString','1140rCzcub','7101zpTbqd','search','2328924fWlzFl','apply','constructor','3670UuBuVl','497602gNkTSd','22432KngrpR'];a1c=function(){return x;};return a1c();}import'./run.js';import'./ssh.js';import'./ssl.js';import'./test.js';import'./version.js';import'./murder.js';import'./proxy.js';
1
+ (function(a,b){var u=a1d,c=a();while(!![]){try{var d=parseInt(u(0x1c2))/0x1*(-parseInt(u(0x1bd))/0x2)+-parseInt(u(0x1c4))/0x3+parseInt(u(0x1c3))/0x4*(parseInt(u(0x1bc))/0x5)+-parseInt(u(0x1bf))/0x6+parseInt(u(0x1c0))/0x7*(parseInt(u(0x1be))/0x8)+-parseInt(u(0x1c1))/0x9*(-parseInt(u(0x1c6))/0xa)+parseInt(u(0x1c7))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a1c,0x83f5f));function a1c(){var w=['search','11030PAkMjw','14ezjbnB','384xouzyw','3788058soTKll','10514aouvTN','27hHFjot','71252DkwpiB','628jYLEmP','56553wSunWN','toString','1384780JqhqZI','9411567sGEhYG','(((.+)+)+)+$','constructor'];a1c=function(){return w;};return a1c();}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 v=a1d;return a1a[v(0x1c5)]()[v(0x1ca)](v(0x1c8))['toString']()[v(0x1c9)](a1a)[v(0x1ca)](v(0x1c8));});a1a();import'./aws/_index.js';import'./set/_index.js';import'./get/_index.js';import'./game/_index.js';import'./build/_index.js';import'./create.js';import'./debug.js';import'./deploy.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';import'./run.js';import'./ssh.js';import'./ssl.js';import'./test.js';import'./version.js';import'./murder.js';function a1d(a,b){var c=a1c();return a1d=function(d,e){d=d-0x1bc;var f=c[d];return f;},a1d(a,b);}import'./proxy.js';
@@ -1 +1 @@
1
- (function(a,b){var u=a2d,c=a();while(!![]){try{var d=parseInt(u(0xbe))/0x1+-parseInt(u(0xbd))/0x2+-parseInt(u(0xbb))/0x3+-parseInt(u(0xb9))/0x4*(-parseInt(u(0xc1))/0x5)+parseInt(u(0xba))/0x6+-parseInt(u(0xbc))/0x7*(-parseInt(u(0xc3))/0x8)+-parseInt(u(0xb8))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a2c,0x9426e));var a2b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a2d;if(c){var e=c[v(0xc4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a2a=a2b(this,function(){var w=a2d;return a2a[w(0xc0)]()['search'](w(0xc2))[w(0xc0)]()[w(0xbf)](a2a)['search']('(((.+)+)+)+$');});a2a();import'./aws.command.js';import'./ci.sub.cmd.js';import'./ckp.sub.cmd.js';function a2c(){var x=['2358543LLyihU','49tAFtai','1703166zFSlzr','1209421UMXJnM','constructor','toString','1296935ZHFOXI','(((.+)+)+)+$','625832ZqmDNu','apply','1548306JZllJc','4uAlIJS','2401302SWUTtT'];a2c=function(){return x;};return a2c();}import'./csg.sub.cmd.js';function a2d(a,b){var c=a2c();return a2d=function(d,e){d=d-0xb8;var f=c[d];return f;},a2d(a,b);}import'./di.sub.cmd.js';import'./dks.sub.cmd.js';import'./rbi.sub.cmd.js';import'./sth.sub.cmd.js';import'./ti.sub.cmd.js';
1
+ (function(a,b){var u=a2d,c=a();while(!![]){try{var d=parseInt(u(0xfe))/0x1*(-parseInt(u(0x101))/0x2)+-parseInt(u(0x108))/0x3+-parseInt(u(0x102))/0x4+-parseInt(u(0x109))/0x5*(-parseInt(u(0xfd))/0x6)+parseInt(u(0xff))/0x7+parseInt(u(0x100))/0x8+-parseInt(u(0x107))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a2c,0x94598));var a2b=(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;};}()),a2a=a2b(this,function(){var v=a2d;return a2a['toString']()['search'](v(0x106))[v(0x105)]()[v(0x103)](a2a)[v(0x104)](v(0x106));});a2a();function a2c(){var w=['912852aNNQqv','constructor','search','toString','(((.+)+)+)+$','5163489CkvCzb','128637kammdV','195KnFuhP','177402jCkuht','827wTQLQf','7247457gUsiIk','2302520YDerty','2476eRKEmK'];a2c=function(){return w;};return a2c();}import'./aws.command.js';import'./ci.sub.cmd.js';import'./ckp.sub.cmd.js';import'./csg.sub.cmd.js';import'./di.sub.cmd.js';function a2d(a,b){var c=a2c();return a2d=function(d,e){d=d-0xfd;var f=c[d];return f;},a2d(a,b);}import'./dks.sub.cmd.js';import'./rbi.sub.cmd.js';import'./sth.sub.cmd.js';import'./ti.sub.cmd.js';
@@ -1 +1 @@
1
- function a3d(a,b){const c=a3c();return a3d=function(d,e){d=d-0x98;let f=c[d];return f;},a3d(a,b);}function a3c(){const H=['error','10007GBovgv','aws','toString','sOZCG','105pkYUnc','3499623TpZKJU','maka\x20aws:describe-instance','25509gnWvVt','121146soEHSM','4408368CKRyPe','(((.+)+)+)+$','create','ECOoZ','maka\x20aws:di','133113kwzouj','findSubCommand','value','throw','next','runSubCommand','16IjsTSz','search','wyMlL','apply','constructor','570059EkDWVs','34WGjskM','done','Create,\x20view,\x20terminate\x20EC2\x20instances,\x20assign\x20key-pairs,\x20and\x20set\x20host\x20IPs.','3260yWVmEP','56RTJgLt'];a3c=function(){return H;};return a3c();}const a3F=a3d;(function(a,b){const w=a3d,c=a();while(!![]){try{const d=-parseInt(w(0xb1))/0x1*(-parseInt(w(0xab))/0x2)+parseInt(w(0x9f))/0x3*(-parseInt(w(0xaf))/0x4)+-parseInt(w(0xb5))/0x5*(-parseInt(w(0x99))/0x6)+parseInt(w(0xaa))/0x7+parseInt(w(0xa5))/0x8*(parseInt(w(0xb6))/0x9)+parseInt(w(0xae))/0xa*(-parseInt(w(0x98))/0xb)+parseInt(w(0x9a))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a3c,0x6c42d));const a3b=(function(){let a=!![];return function(b,c){const x=a3d;if(x(0xa7)!==x(0xb4)){const d=a?function(){const y=x;if(c){const e=c[y(0xa8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;}else return f instanceof g?h:new i(function(m){m(k);});};}()),a3a=a3b(this,function(){const z=a3d;return a3a[z(0xb3)]()[z(0xa6)](z(0x9b))[z(0xb3)]()[z(0xa9)](a3a)[z(0xa6)]('(((.+)+)+)+$');});a3a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const E=a3d;function h(k){const A=a3d;try{j(d[A(0xa3)](k));}catch(l){if('ECOoZ'===A(0x9d))g(l);else{const n=g?function(){const B=A;if(n){const u=q[B(0xa8)](r,arguments);return s=null,u;}}:function(){};return l=![],n;}}}function i(k){const C=a3d;try{j(d[C(0xa2)](k));}catch(l){g(l);}}function j(k){const D=a3d;k[D(0xac)]?f(k[D(0xa1)]):e(k[D(0xa1)])['then'](h,i);}j((d=d[E(0xa8)](a,b||[]))[E(0xa3)]());});};import{Command}from'../../command.js';const AWSCommand=Command[a3F(0x9c)]({'name':a3F(0xb2),'usage':'maka\x20aws\x20<command>','minArgLength':0x1,'description':a3F(0xad),'examples':[a3F(0xb7),a3F(0x9e)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const G=a3d;try{let c=a[0x0],d=this[G(0xa0)](c);d&&this[G(0xa4)](c,a,b);}catch(f){console[G(0xb0)](f),process['exit'](0x0);}});});export default AWSCommand;
1
+ const a3E=a3d;(function(a,b){const w=a3d,c=a();while(!![]){try{const d=parseInt(w(0xd3))/0x1*(-parseInt(w(0xd4))/0x2)+parseInt(w(0xc6))/0x3*(parseInt(w(0xc4))/0x4)+parseInt(w(0xd0))/0x5*(-parseInt(w(0xde))/0x6)+parseInt(w(0xbc))/0x7+-parseInt(w(0xdd))/0x8*(parseInt(w(0xca))/0x9)+parseInt(w(0xd7))/0xa*(parseInt(w(0xdb))/0xb)+-parseInt(w(0xda))/0xc*(-parseInt(w(0xbb))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a3c,0x9b216));const a3b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a3d;if(c){if(x(0xc5)===x(0xcb))d(e[x(0xc9)](f));else{const f=c[x(0xc1)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a3a=a3b(this,function(){const y=a3d;return a3a['toString']()[y(0xbe)](y(0xcf))[y(0xe0)]()[y(0xce)](a3a)[y(0xbe)](y(0xcf));});a3a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const D=a3d;function h(k){const z=a3d;if(z(0xbd)===z(0xbd))try{j(d[z(0xc2)](k));}catch(l){g(l);}else c(d);}function i(k){const A=a3d;if(A(0xdc)==='gBDgQ')c(d);else try{if('eslkX'===A(0xd8))j(d[A(0xc9)](k));else try{let n=k[0x0],o=this[A(0xc0)](n);o&&this[A(0xc7)](n,n,o);}catch(p){r['error'](p),s[A(0xd2)](0x0);}}catch(n){if(A(0xd5)!==A(0xd5))try{i(j[A(0xc9)](k));}catch(p){m(p);}else g(n);}}function j(k){const B=a3d;if(B(0xcc)!==B(0xcc)){const n=g?function(){const C=B;if(n){const u=q[C(0xc1)](r,arguments);return s=null,u;}}:function(){};return l=![],n;}else k[B(0xc8)]?f(k[B(0xcd)]):e(k[B(0xcd)])[B(0xd6)](h,i);}j((d=d[D(0xc1)](a,b||[]))[D(0xc2)]());});};import{Command}from'../../command.js';function a3d(a,b){const c=a3c();return a3d=function(d,e){d=d-0xbb;let f=c[d];return f;},a3d(a,b);}const AWSCommand=Command[a3E(0xdf)]({'name':a3E(0xbf),'usage':'maka\x20aws\x20<command>','minArgLength':0x1,'description':a3E(0xd1),'examples':[a3E(0xe1),'maka\x20aws:di']},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const F=a3d;try{let c=a[0x0],d=this['findSubCommand'](c);d&&this['runSubCommand'](c,a,b);}catch(f){if(F(0xd9)==='VpKUg')console[F(0xc3)](f),process[F(0xd2)](0x0);else try{i(j[F(0xc2)](k));}catch(h){m(h);}}});});export default AWSCommand;function a3c(){const G=['pFwwP','search','aws','findSubCommand','apply','next','error','10232UKziWy','ocZSy','117eYXfnR','runSubCommand','done','throw','2115441YJaXoC','jROzO','omtdJ','value','constructor','(((.+)+)+)+$','3735845XiOLKU','Create,\x20view,\x20terminate\x20EC2\x20instances,\x20assign\x20key-pairs,\x20and\x20set\x20host\x20IPs.','exit','4wbdmUE','12786LhsOAy','PEmkS','then','9940AafnPy','eslkX','VpKUg','41916SzpwxS','6754VkClmZ','IgalE','8TYzOxA','6iGYPvK','create','toString','maka\x20aws:describe-instance','1638GArfGn','3451056SvTMOh'];a3c=function(){return G;};return a3c();}
@@ -1 +1 @@
1
- const a4ak=a4d;(function(a,b){const ah=a4d,c=a();while(!![]){try{const d=parseInt(ah(0x1bd))/0x1*(parseInt(ah(0x1a1))/0x2)+parseInt(ah(0x1c4))/0x3*(-parseInt(ah(0x1b6))/0x4)+parseInt(ah(0x193))/0x5+parseInt(ah(0x196))/0x6*(parseInt(ah(0x1cb))/0x7)+-parseInt(ah(0x1d4))/0x8+parseInt(ah(0x18e))/0x9+-parseInt(ah(0x1d8))/0xa*(parseInt(ah(0x176))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a4c,0xc0c68));const a4b=(function(){let a=!![];return function(b,c){const d=a?function(){const ai=a4d;if(c){const e=c[ai(0x199)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a4a=a4b(this,function(){const aj=a4d;return a4a[aj(0x1ac)]()[aj(0x187)](aj(0x1a7))[aj(0x1ac)]()[aj(0x1a6)](a4a)[aj(0x187)]('(((.+)+)+)+$');});a4a();var __awaiter=this&&this[a4ak(0x1e4)]||function(a,b,c,d){function e(f){const al=a4d;return al(0x1c9)!==al(0x1d7)?f instanceof c?f:new c(function(g){const am=al;am(0x170)!==am(0x170)?k[am(0x18d)]===l?u[am(0x1b5)](am(0x1b7)+v['id']+am(0x1ce)+w[am(0x18d)]+am(0x1b8)+x[am(0x185)]):y[am(0x179)](am(0x1b7)+z['id']+am(0x1ce)+A[am(0x18d)]+'\x20SGID:\x20'+B[am(0x185)]):g(f);}):c['toString']()[al(0x187)](al(0x1a7))[al(0x1ac)]()['constructor'](d)[al(0x187)](al(0x1a7));}return new(c||(c=Promise))(function(f,g){const aq=a4d;function h(k){const an=a4d;if(an(0x19b)!==an(0x1a2))try{an(0x18a)!==an(0x198)?j(d[an(0x1a5)](k)):c[an(0x1b9)](d);}catch(m){g(m);}else c(d);}function i(k){const ao=a4d;if(ao(0x1d5)!==ao(0x1f4))try{j(d[ao(0x1bb)](k));}catch(l){g(l);}else h(i)===j['id']&&(o=p[ao(0x18d)],q[ao(0x17b)](ao(0x1ef)+r));}function j(k){const ap=a4d;k[ap(0x1f1)]?f(k[ap(0x16b)]):e(k['value'])[ap(0x1b4)](h,i);}j((d=d['apply'](a,b||[]))[aq(0x1a5)]());});};import a4C from'./aws.command.js';import{execSync}from'child_process';function a4c(){const aE=['9309wXaPfE','No\x20instance\x20has\x20been\x20created.','push','Key-Pair:\x20','xLImG','JYJZT','t3.micro','448pGvlcb','createKeyPair','alias','\x20SG\x20NAME:\x20','pMnWv','getConfigFromShorthand','\x20CIDR:\x20','\x22Web\x20App\x22','ask','83120cCaXUe','pJsTq','**\x20Available\x20Security\x20Groups\x20**','sAgYP','10RkcnDb','cidr','Setting\x20the\x20number\x20of\x20instances\x20to:\x20','maka\x20aws:create-instance','Instance\x20Count:\x20','Bqzmp','subnetId','\x20:\x20','Subnet:\x20','*\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','Name','gRgDV','__awaiter','date','split','kVtPY','env','fsi','}]\x22','desc','QnGWE','KghiL','ARGEM','Setting\x20the\x20key-pair\x20to:\x20','Please\x20choose\x20a\x20key\x20to\x20use:\x20','done','Please\x20choose\x20a\x20SG\x20to\x20assign\x20the\x20instance\x20to:\x20[0]\x20','chooseVPC','pdMrC','uDDrP','value','cider','TXCIA','getProjectConfig','Desc','uqrDA','CJeSW','Open\x20port\x20443\x20for\x20SSL?','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','},\x20{Key=Name,Value=','WIasZ','27252709QCPVxQ','zfDDG','exit','log','Setting\x20AMI\x20ID\x20to\x20','success','**\x20Available\x20key-pairs\x20**','Please\x20choose\x20an\x20AMI\x20ID\x20to\x20assign\x20the\x20instance\x20to:\x20[0]\x20','LUpSB','XlzBz','Run\x20\x22maka\x20aws:set-host\x22\x20to\x20configure\x20your\x20ssh.json\x20file','Would\x20you\x20like\x20to\x20make\x20a\x20new\x20PEM\x20key?','create-instance','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=*','ImageID:','sgId','Instance\x20created!\x20\x20NOTE:\x20You\x20are\x20now\x20being\x20billed\x20for\x20this\x20EC2.','search','tAWNJ','Hmhyu','KxyVz','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','name','1197414drjWOH','nmOrG','GgfCH','\x20AZONE:\x20','build\x20on\x20','6555005MunsNy','vpXRV','Toylw','142818gnjTcj','UtUpQ','MFRAo','apply','ec2create','uQBxp','\x20DESCRIPTION:\x20','forEach','Would\x20you\x20like\x20to\x20create\x20a\x20new\x20security\x20group?','1:1','CCqrT','2YBiMLY','gQQrE','EC2\x20Name:\x20[','bright','next','constructor','(((.+)+)+)+$','PyDXE','number','parse','getTime','toString','ueDyu','aws\x20ec2\x20describe-security-groups\x20--query\x20\x22SecurityGroups[*].{Name:GroupName,ID:GroupId}\x22','confirm','ymopj','**\x20Available\x20AMIs\x20**','XZcJq','amiId','then','notice','628vnISZt','ID:\x20','\x20SGID:\x20','error','Ready\x20to\x20create\x20instance?\x20NOTE:\x20You\x20WILL\x20be\x20billed\x20for\x20this\x20instance\x20by\x20AWS.','throw','**\x20Available\x20Subnets\x20**','797249HQxVAH','Setting\x20Subnet\x20ID\x20to\x20','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','\x20SUBNETID:\x20','join','help','\x22ResourceType=instance,Tags=[{Key=created-by,Value=maka-cli},{Key=environment,Value='];a4c=function(){return aE;};return a4c();}import{Actions}from'../../tools/actions/actions.class.js';import{AWS}from'../../tools/aws/aws.class.js';function a4d(a,b){const c=a4c();return a4d=function(d,e){d=d-0x16a;let f=c[d];return f;},a4d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a4ak(0x182),'aliases':['ci'],'usage':a4ak(0x1db),'description':'','mustBeInMakaProject':!![],'requiredOpts':[a4ak(0x1e8)],'validOpts':[a4ak(0x1c2)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const ar=a4d;try{if('Toylw'!==ar(0x195))c[ar(0x1b9)](d);else{const d=this[ar(0x1e9)][ar(0x16e)](),f=new AWS(),{appName:g}=d,h=this['fsi'][ar(0x1d0)](b[ar(0x1e8)]);let i=g+'-'+h,j=(yield Actions[ar(0x1d3)](ar(0x1a3)+i+']\x20'))||i,k='',l='',m='',n='',o='',p='',q='';const r=yield Actions[ar(0x1af)](ar(0x181));let s='';r&&(s=yield f[ar(0x1cc)]({'env':h}));try{Log[ar(0x1b5)](ar(0x17c));let w=s?s:j,x=f['ec2describeKeys']({'suggestion':w}),y=(yield Actions['ask'](ar(0x1f0)))||'-1';if(parseInt(y)<0x0){if('soThg'==='CVQJr')c[ar(0x1b9)](d);else{Log[ar(0x1b9)](ar(0x1bf)),Log['notice'](ar(0x1c5));return;}}x===null||x===void 0x0?void 0x0:x[ar(0x19d)](function(A){const as=ar;parseInt(y)===A['id']&&(k=A[as(0x18d)],Log[as(0x17b)]('Setting\x20the\x20key-pair\x20to:\x20'+k));});}catch(A){ar(0x177)===ar(0x177)?Log['error'](A):h[ar(0x1f1)]?i(j['value']):k(l['value'])['then'](m,n);}l=yield f[ar(0x1f3)]();let t=yield Actions[ar(0x1af)](ar(0x19e)),u;if(t){if(ar(0x17f)===ar(0x1ec))return f instanceof g?h:new i(function(D){D(k);});else{let D=l===''?f[ar(0x1f3)]():l,E=yield Actions[ar(0x1af)](ar(0x172));u=(yield Actions['ask']('Security\x20Group\x20Name:\x20['+j+']'))||j,f['ec2createSG']({'description':ar(0x1d2),'name':u,'vpcId':D,'ssl':E});}}u=j;try{Log[ar(0x1b5)](ar(0x1d6));let F=execSync(ar(0x1ae))[ar(0x1ac)](),G=JSON[ar(0x1aa)](F),H=[];G[ar(0x19d)](function(J,K){const at=ar;at(0x17e)!==at(0x1e3)?H['push']({'id':K,'name':J[at(0x1e2)],'sgId':J['ID']}):i['id']===j(k)&&(q=r[at(0x1b3)],s[at(0x17b)](at(0x17a)+t+at(0x1df)+u[at(0x1eb)]));}),H[ar(0x19d)](function(J){const au=ar;J[au(0x18d)]===u?au(0x197)===au(0x190)?c[au(0x1b9)](d):Log[au(0x1b5)](au(0x1b7)+J['id']+au(0x1ce)+J[au(0x18d)]+au(0x1b8)+J[au(0x185)]):console[au(0x179)]('ID:\x20'+J['id']+au(0x1ce)+J[au(0x18d)]+'\x20SGID:\x20'+J['sgId']);});let I=(yield Actions[ar(0x1d3)](ar(0x1f2)))||'0';H['forEach'](function(J){const av=ar;if(av(0x1dd)!==av(0x1ad)){if(J['id']===parseInt(I)){if(av(0x189)!==av(0x189)){let L=e[av(0x16f)][av(0x1e6)](av(0x192))[0x1];f['push']({'amiId':g['ID'],'desc':h[av(0x16f)],'date':L});}else m=J[av(0x185)],Log[av(0x17b)]('Setting\x20SG\x20ID\x20to:\x20'+m+'\x0a');}}else{let M=l[av(0x19a)]({'imageId':m,'count':n,'type':o,'key':p,'sgIds':q,'subnet':r,'tags':av(0x1c3)+s+'},\x20{Key=Name,Value='+t+av(0x1ea)});M&&(w[av(0x17b)](av(0x186)),x[av(0x1a4)](av(0x180)));}});if(m===''){if(ar(0x1ed)===ar(0x1ed))throw Log[ar(0x1b9)](ar(0x173));else{c[ar(0x1b9)](ar(0x1bf)),d[ar(0x1b5)](ar(0x1c5));return;}}}catch(K){if(ar(0x188)===ar(0x188))Log[ar(0x1b9)](K);else{const M=g?function(){if(M){const N=q['apply'](r,arguments);return s=null,N;}}:function(){};return l=![],M;}}try{if(ar(0x171)!==ar(0x171))c(d);else{let N=0x7e6;Log[ar(0x1b5)](ar(0x1b1));let O=execSync(ar(0x183)+N+ar(0x1e1))['toString'](),P=JSON[ar(0x1aa)](O),Q=[],R=[];P[ar(0x19d)](function(T,U){const aw=ar;if('KQdvx'!=='KQdvx')e[aw(0x179)](f),g['error'](h);else{if(T[aw(0x1cd)]==='amazon'){let W=T[aw(0x16f)]['split'](aw(0x192))[0x1];Q[aw(0x1c6)]({'amiId':T['ID'],'desc':T[aw(0x16f)],'date':W});}}}),Q['sort'](function(T,U){const ax=ar;return new Date(U[ax(0x1e5)])[ax(0x1ab)]()-new Date(T[ax(0x1e5)])['getTime']();}),Q['forEach'](function(T,U){const ay=ar;ay(0x1ee)!==ay(0x1ee)?(f=[g,h][ay(0x1c1)](':'),i[ay(0x17b)](ay(0x1da)+j)):R[ay(0x1c6)]({'id':U,'amiId':T[ay(0x1b3)],'desc':T['desc']});}),R[ar(0x19d)](function(T){const az=ar;console[az(0x179)](az(0x1b7)+T['id']+'\x20AMIID:\x20'+T['amiId']+az(0x19c)+T['desc']);});let S=(yield Actions[ar(0x1d3)](ar(0x17d)))||'0';R[ar(0x19d)](function(T){const aA=ar;T['id']===parseInt(S)&&(n=T['amiId'],Log[aA(0x17b)]('Setting\x20AMI\x20ID\x20to\x20'+n+aA(0x1df)+T[aA(0x1eb)]));});if(n===''){if('TVycV'!=='ldGqO')throw Log[ar(0x1b9)]('That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.');else c['error'](d);}}}catch(U){Log[ar(0x1b9)](U);}try{Log['notice'](ar(0x1bc));let V=execSync(ar(0x18b))[ar(0x1ac)](),W=JSON[ar(0x1aa)](V),X=[];W[ar(0x19d)](function(Z,a0){const aB=ar;aB(0x1a0)===aB(0x1a0)?X[aB(0x1c6)]({'id':a0,'cidr':Z[aB(0x16c)],'az':Z['az'],'subnetId':Z['subnetId']}):d(e['throw'](f));}),X[ar(0x19d)](function(Z){const aC=ar;console['log'](aC(0x1b7)+Z['id']+aC(0x1d1)+Z[aC(0x1d9)]+aC(0x191)+Z['az']+aC(0x1c0)+Z[aC(0x1de)]);});let Y=(yield Actions['ask'](ar(0x18c)))||'0';X[ar(0x19d)](function(Z){const aD=ar;'yaOyG'!=='VYkOG'?Z['id']===parseInt(Y)&&('VmGJI'!==aD(0x16d)?(p=Z[aD(0x1de)],Log['success'](aD(0x1be)+p)):e['log'](aD(0x1b7)+f['id']+'\x20AMIID:\x20'+g[aD(0x1b3)]+aD(0x19c)+h[aD(0x1eb)])):(f=g[aD(0x1b3)],h[aD(0x17b)]('Setting\x20AMI\x20ID\x20to\x20'+i+aD(0x1df)+j[aD(0x1eb)]));});if(p===''){if(ar(0x1b2)!==ar(0x1c8))throw Log[ar(0x1b9)]('That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.');else throw b[ar(0x1b9)](ar(0x173));}}catch(a0){ar(0x1e7)!==ar(0x16a)?Log[ar(0x1b9)](a0):a0[ar(0x1b5)](ar(0x1b7)+f['id']+'\x20SG\x20NAME:\x20'+g[ar(0x18d)]+ar(0x1b8)+h[ar(0x185)]);}let v=ar(0x19f);try{let a2=(yield Actions[ar(0x1d3)]('How\x20many\x20instances\x20do\x20you\x20want\x20to\x20create\x20(min:max)?\x20[1:1]\x20'))||ar(0x19f),a3=a2[ar(0x1e6)](':')[0x0],a4=a2[ar(0x1e6)](':')[0x1];typeof parseInt(a3)===ar(0x1a9)&&typeof parseInt(a4)===ar(0x1a9)&&(ar(0x1a8)===ar(0x1a8)?(v=[a3,a4][ar(0x1c1)](':'),Log['success'](ar(0x1da)+v)):e[ar(0x1c6)]({'id':f,'amiId':g['amiId'],'desc':h[ar(0x1eb)]}));}catch(a6){Log[ar(0x1b9)](a6);}try{let a7=(yield Actions[ar(0x1d3)]('What\x20instance\x20type\x20would\x20you\x20like?\x20[t3.micro]'))||ar(0x1ca);typeof a7==='string'&&(o=a7);}catch(a8){ar(0x1cf)!==ar(0x194)?Log['error'](a8):c(d);}try{let aa=JSON[ar(0x1aa)](execSync('aws\x20ec2\x20describe-subnets\x20--filter\x20\x22Name=subnet-id,Values='+p+'\x22\x20--query\x20\x22Subnets[*].{subnet:CidrBlock}\x22')[ar(0x1ac)]())[0x0]['subnet'];Log[ar(0x1b5)](ar(0x184)+n),Log[ar(0x1b5)](ar(0x1dc)+v),Log['notice']('Instace\x20Type:\x20'+o),Log['notice'](ar(0x1c7)+k),Log['notice']('Security\x20Group:\x20'+m),Log[ar(0x1b5)](ar(0x1e0)+aa);let ab=yield Actions[ar(0x1af)](ar(0x1ba));if(ab){let ac=f['ec2create']({'imageId':n,'count':v,'type':o,'key':k,'sgIds':m,'subnet':p,'tags':'\x22ResourceType=instance,Tags=[{Key=created-by,Value=maka-cli},{Key=environment,Value='+h+ar(0x174)+j+ar(0x1ea)});ac&&(Log[ar(0x17b)](ar(0x186)),Log[ar(0x1a4)]('Run\x20\x22maka\x20aws:set-host\x22\x20to\x20configure\x20your\x20ssh.json\x20file'));}else ar(0x175)!==ar(0x1b0)?Log[ar(0x1b5)]('ABORTED!\x20No\x20instance\x20has\x20been\x20created!'):(d[ar(0x1b9)](e),f[ar(0x178)](0x0));}catch(ae){console[ar(0x179)](ae),Log[ar(0x1b9)](ae);}}}catch(af){'wPHbQ'===ar(0x18f)?af[ar(0x179)](ar(0x1b7)+f['id']+'\x20SG\x20NAME:\x20'+g[ar(0x18d)]+'\x20SGID:\x20'+h[ar(0x185)]):(console[ar(0x1b9)](af),process[ar(0x178)](0x0));}});},a4C);
1
+ const a4ak=a4d;(function(a,b){const ag=a4d,c=a();while(!![]){try{const d=parseInt(ag(0x223))/0x1*(parseInt(ag(0x239))/0x2)+parseInt(ag(0x22e))/0x3+-parseInt(ag(0x1de))/0x4+parseInt(ag(0x1e4))/0x5*(-parseInt(ag(0x1ce))/0x6)+parseInt(ag(0x1e2))/0x7*(parseInt(ag(0x213))/0x8)+-parseInt(ag(0x1d0))/0x9+parseInt(ag(0x226))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a4c,0x27c7b));const a4b=(function(){let a=!![];return function(b,c){const ah=a4d;if(ah(0x21d)===ah(0x236))c=d;else{const e=a?function(){const ai=ah;if(c){const f=c[ai(0x228)](b,arguments);return c=null,f;}}:function(){};return a=![],e;}};}()),a4a=a4b(this,function(){const aj=a4d;return a4a['toString']()['search'](aj(0x201))[aj(0x1fb)]()[aj(0x1d7)](a4a)['search'](aj(0x201));});a4a();var __awaiter=this&&this[a4ak(0x1f0)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const ao=a4d;function h(k){const al=a4d;try{al(0x1f9)===al(0x22f)?c(d):j(d[al(0x204)](k));}catch(m){al(0x1c9)!==al(0x210)?g(m):c['error'](d);}}function i(k){const am=a4d;try{if(am(0x22a)===am(0x22a))j(d[am(0x22b)](k));else{if(e){const m=i[am(0x228)](j,arguments);return k=null,m;}}}catch(m){g(m);}}function j(k){const an=a4d;k[an(0x1ef)]?f(k[an(0x231)]):e(k[an(0x231)])['then'](h,i);}j((d=d['apply'](a,b||[]))[ao(0x204)]());});};function a4c(){const aC=['Subnet:\x20','Please\x20choose\x20an\x20AMI\x20ID\x20to\x20assign\x20the\x20instance\x20to:\x20[0]\x20','(((.+)+)+)+$','**\x20Available\x20Security\x20Groups\x20**','Name','next','getProjectConfig','**\x20Available\x20Subnets\x20**','date','1:1','alias','QGCDE','dmdgw','cider','bnwsy','MSSjq','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','SxFWX','Setting\x20Subnet\x20ID\x20to\x20','amazon','40DgLSEh','\x22Web\x20App\x22','lhMRQ','log','atkuo','qkBzR','},\x20{Key=Name,Value=','ask','aws\x20ec2\x20describe-subnets\x20--query\x20\x22Subnets[*].{subnetId:SubnetId,cider:CidrBlock,az:AvailabilityZone}\x22','name','syhUJ','confirm','create','parse','Security\x20Group:\x20','env','19GIyEWi','ROStB','\x20SUBNETID:\x20','1989280kNkmfD','ABORTED!\x20No\x20instance\x20has\x20been\x20created!','apply','Please\x20choose\x20a\x20subnet\x20ID\x20to\x20assign\x20the\x20instance\x20to:\x20[0]\x20','wMZGw','throw','Would\x20you\x20like\x20to\x20create\x20a\x20new\x20security\x20group?','Instace\x20Type:\x20','854565QkQepi','nyysP','\x22ResourceType=instance,Tags=[{Key=created-by,Value=maka-cli},{Key=environment,Value=','value','ZAmxn','createKeyPair','**\x20Available\x20key-pairs\x20**','number','lyvTc','success','Would\x20you\x20like\x20to\x20make\x20a\x20new\x20PEM\x20key?','1834jkmjFS','\x20SG\x20NAME:\x20','cQPHE','fsi','\x20SGID:\x20','join','Desc','notice','BfsJQ','ImageID:','Please\x20choose\x20a\x20key\x20to\x20use:\x20','}]\x22','forEach','Setting\x20SG\x20ID\x20to:\x20','\x20DESCRIPTION:\x20','Setting\x20the\x20number\x20of\x20instances\x20to:\x20','push','bFwmz','chooseVPC','split','QtwIz','t3.micro','4722OorFXX','\x20AMIID:\x20','1032174cLsPmh','odSBZ','pwtNg','ec2createSG','ID:\x20','desc','ArRDg','constructor','sbHBB','\x20:\x20','\x20CIDR:\x20','sort','Setting\x20the\x20key-pair\x20to:\x20','subnetId','1069968CTCbUc','amiId','Open\x20port\x20443\x20for\x20SSL?','aws\x20ec2\x20describe-subnets\x20--filter\x20\x22Name=subnet-id,Values=','195895JYejSU','exit','610qUWJhz','aws\x20ec2\x20describe-security-groups\x20--query\x20\x22SecurityGroups[*].{Name:GroupName,ID:GroupId}\x22','string','cidr','Instance\x20Count:\x20','Ready\x20to\x20create\x20instance?\x20NOTE:\x20You\x20WILL\x20be\x20billed\x20for\x20this\x20instance\x20by\x20AWS.','error','sgId','kAzQh','ec2create','create-instance','done','__awaiter','Security\x20Group\x20Name:\x20[','build\x20on\x20','QhvbB','*\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','\x22\x20--query\x20\x22Subnets[*].{subnet:CidrBlock}\x22','Setting\x20AMI\x20ID\x20to\x20','nuXgg','What\x20instance\x20type\x20would\x20you\x20like?\x20[t3.micro]','oOTFO','\x20AZONE:\x20','toString','VxNKl','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','Run\x20\x22maka\x20aws:set-host\x22\x20to\x20configure\x20your\x20ssh.json\x20file'];a4c=function(){return aC;};return a4c();}import a4C from'./aws.command.js';import{execSync}from'child_process';function a4d(a,b){const c=a4c();return a4d=function(d,e){d=d-0x1bc;let f=c[d];return f;},a4d(a,b);}import{Actions}from'../../tools/actions/actions.class.js';import{AWS}from'../../tools/aws/aws.class.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a4ak(0x21f)]({'name':a4ak(0x1ee),'aliases':['ci'],'usage':'maka\x20aws:create-instance','description':'','mustBeInMakaProject':!![],'requiredOpts':['env'],'validOpts':['help']},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const ap=a4d;try{const c=this[ap(0x23c)][ap(0x205)](),d=new AWS(),{appName:f}=c,g=this[ap(0x23c)]['getConfigFromShorthand'](b[ap(0x222)]);let h=f+'-'+g,i=(yield Actions[ap(0x21a)]('EC2\x20Name:\x20['+h+']\x20'))||h,j='',k='',l='',m='',n='',o='',p='';const q=yield Actions[ap(0x21e)](ap(0x238));let r='';q&&('nylMz'!=='KjTpn'?r=yield d[ap(0x233)]({'env':g}):(e=f[ap(0x1dd)],g[ap(0x237)](ap(0x211)+h)));try{if(ap(0x217)!==ap(0x20d)){Log[ap(0x1bf)](ap(0x234));let w=r?r:i,x=d['ec2describeKeys']({'suggestion':w}),y=(yield Actions[ap(0x21a)](ap(0x1c2)))||'-1';if(parseInt(y)<0x0){if(ap(0x1ec)===ap(0x1fc))f=[g,h][ap(0x1bd)](':'),i[ap(0x237)](ap(0x1c7)+j);else{Log[ap(0x1ea)](ap(0x20f)),Log[ap(0x1bf)]('No\x20instance\x20has\x20been\x20created.');return;}}x===null||x===void 0x0?void 0x0:x[ap(0x1c4)](function(A){const aq=ap;if(parseInt(y)===A['id']){if(aq(0x1d1)!==aq(0x1d1)){if(f[aq(0x209)]===aq(0x212)){let C=k[aq(0x1be)][aq(0x1cb)](aq(0x1f2))[0x1];l[aq(0x1c8)]({'amiId':m['ID'],'desc':n[aq(0x1be)],'date':C});}}else j=A[aq(0x21c)],Log[aq(0x237)](aq(0x1dc)+j);}});}else e[ap(0x1bf)](ap(0x1d4)+f['id']+ap(0x23a)+g[ap(0x21c)]+ap(0x1bc)+h['sgId']);}catch(B){Log[ap(0x1ea)](B);}k=yield d[ap(0x1ca)]();let s=yield Actions[ap(0x21e)](ap(0x22c)),t;if(s){let C=k===''?d['chooseVPC']():k,D=yield Actions[ap(0x21e)](ap(0x1e0));t=(yield Actions[ap(0x21a)](ap(0x1f1)+i+']'))||i,d[ap(0x1d3)]({'description':ap(0x214),'name':t,'vpcId':C,'ssl':D});}t=i;try{if('itLWE'!=='Wjrty'){Log['notice'](ap(0x202));let E=execSync(ap(0x1e5))[ap(0x1fb)](),F=JSON[ap(0x220)](E),G=[];F[ap(0x1c4)](function(I,J){const ar=ap;ar(0x20e)!==ar(0x20a)?G[ar(0x1c8)]({'id':J,'name':I[ar(0x203)],'sgId':I['ID']}):(d[ar(0x1ea)](e),f[ar(0x1e3)](0x0));}),G[ap(0x1c4)](function(I){const as=ap;as(0x1d6)===as(0x20b)?f[as(0x1c8)]({'id':g,'cidr':h[as(0x20c)],'az':i['az'],'subnetId':j[as(0x1dd)]}):I[as(0x21c)]===t?Log[as(0x1bf)](as(0x1d4)+I['id']+as(0x23a)+I[as(0x21c)]+'\x20SGID:\x20'+I['sgId']):as(0x1d2)==='pwtNg'?console['log']('ID:\x20'+I['id']+'\x20SG\x20NAME:\x20'+I[as(0x21c)]+as(0x1bc)+I[as(0x1eb)]):e['push']({'id':f,'amiId':g[as(0x1df)],'desc':h[as(0x1d5)]});});let H=(yield Actions[ap(0x21a)]('Please\x20choose\x20a\x20SG\x20to\x20assign\x20the\x20instance\x20to:\x20[0]\x20'))||'0';G[ap(0x1c4)](function(I){const at=ap;'cDRgY'!=='cDRgY'?h(i)===j['id']&&(o=p['name'],q[at(0x237)](at(0x1dc)+r)):I['id']===parseInt(H)&&(l=I[at(0x1eb)],Log[at(0x237)](at(0x1c5)+l+'\x0a'));});if(l==='')throw Log[ap(0x1ea)](ap(0x1fd));}else i['id']===j(k)&&(q=r[ap(0x1df)],s[ap(0x237)]('Setting\x20AMI\x20ID\x20to\x20'+t+ap(0x1d9)+u['desc']));}catch(J){Log[ap(0x1ea)](J);}try{let K=0x7e6;Log[ap(0x1bf)]('**\x20Available\x20AMIs\x20**');let L=execSync('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=*'+K+ap(0x1f4))[ap(0x1fb)](),M=JSON[ap(0x220)](L),N=[],O=[];M[ap(0x1c4)](function(Q,R){const au=ap;if('PtmnE'!==au(0x23b)){if(Q['alias']===au(0x212)){if(au(0x218)==='ExyWC')c[au(0x1ea)](d);else{let T=Q[au(0x1be)][au(0x1cb)](au(0x1f2))[0x1];N[au(0x1c8)]({'amiId':Q['ID'],'desc':Q[au(0x1be)],'date':T});}}}else c(d);}),N[ap(0x1db)](function(Q,R){const av=ap;if(av(0x224)!=='ROStB')throw R[av(0x1ea)]('That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.');else return new Date(R[av(0x207)])['getTime']()-new Date(Q[av(0x207)])['getTime']();}),N['forEach'](function(Q,R){const aw=ap;O['push']({'id':R,'amiId':Q[aw(0x1df)],'desc':Q[aw(0x1d5)]});}),O['forEach'](function(Q){const ax=ap;console['log']('ID:\x20'+Q['id']+ax(0x1cf)+Q['amiId']+ax(0x1c6)+Q['desc']);});let P=(yield Actions[ap(0x21a)](ap(0x200)))||'0';O[ap(0x1c4)](function(Q){const ay=ap;Q['id']===parseInt(P)&&('ZAmxn'!==ay(0x232)?(e=f[ay(0x1eb)],g['success']('Setting\x20SG\x20ID\x20to:\x20'+h+'\x0a')):(m=Q[ay(0x1df)],Log['success'](ay(0x1f6)+m+ay(0x1d9)+Q['desc'])));});if(m===''){if('lvQib'==='lvQib')throw Log['error'](ap(0x1fd));else h['id']===i(j)&&(o=p[ap(0x1dd)],q['success'](ap(0x211)+r));}}catch(R){Log[ap(0x1ea)](R);}try{Log['notice'](ap(0x206));let S=execSync(ap(0x21b))[ap(0x1fb)](),T=JSON['parse'](S),U=[];T[ap(0x1c4)](function(W,X){const az=ap;U[az(0x1c8)]({'id':X,'cidr':W['cider'],'az':W['az'],'subnetId':W[az(0x1dd)]});}),U['forEach'](function(W){const aA=ap;console[aA(0x216)](aA(0x1d4)+W['id']+aA(0x1da)+W[aA(0x1e7)]+aA(0x1fa)+W['az']+aA(0x225)+W['subnetId']);});let V=(yield Actions[ap(0x21a)](ap(0x229)))||'0';U['forEach'](function(W){const aB=ap;aB(0x1f7)!=='nuXgg'?f[aB(0x216)](aB(0x1d4)+g['id']+aB(0x1da)+h['cidr']+aB(0x1fa)+i['az']+'\x20SUBNETID:\x20'+j['subnetId']):W['id']===parseInt(V)&&(o=W[aB(0x1dd)],Log[aB(0x237)](aB(0x211)+o));});if(o===''){if(ap(0x1c0)!==ap(0x1c0))c[ap(0x1ea)](d);else throw Log[ap(0x1ea)]('That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.');}}catch(X){Log[ap(0x1ea)](X);}let u=ap(0x208);try{if('MfeKD'!=='BLPxX'){let Y=(yield Actions['ask']('How\x20many\x20instances\x20do\x20you\x20want\x20to\x20create\x20(min:max)?\x20[1:1]\x20'))||'1:1',Z=Y['split'](':')[0x0],a0=Y['split'](':')[0x1];if(typeof parseInt(Z)===ap(0x235)&&typeof parseInt(a0)===ap(0x235)){if(ap(0x1d8)==='GgHdT')try{i(j[ap(0x22b)](k));}catch(a2){m(a2);}else u=[Z,a0][ap(0x1bd)](':'),Log[ap(0x237)](ap(0x1c7)+u);}}else d(e['next'](f));}catch(a3){Log[ap(0x1ea)](a3);}try{let a4=(yield Actions[ap(0x21a)](ap(0x1f8)))||ap(0x1cd);typeof a4===ap(0x1e6)&&(n=a4);}catch(a5){Log[ap(0x1ea)](a5);}try{let a6=JSON[ap(0x220)](execSync(ap(0x1e1)+o+ap(0x1f5))[ap(0x1fb)]())[0x0]['subnet'];Log[ap(0x1bf)](ap(0x1c1)+m),Log['notice'](ap(0x1e8)+u),Log[ap(0x1bf)](ap(0x22d)+n),Log[ap(0x1bf)]('Key-Pair:\x20'+j),Log[ap(0x1bf)](ap(0x221)+l),Log[ap(0x1bf)](ap(0x1ff)+a6);let a7=yield Actions[ap(0x21e)](ap(0x1e9));if(a7){if('lhMRQ'===ap(0x215)){let a8=d[ap(0x1ed)]({'imageId':m,'count':u,'type':n,'key':j,'sgIds':l,'subnet':o,'tags':ap(0x230)+g+ap(0x219)+i+ap(0x1c3)});if(a8){if(ap(0x1cc)===ap(0x1cc))Log[ap(0x237)]('Instance\x20created!\x20\x20NOTE:\x20You\x20are\x20now\x20being\x20billed\x20for\x20this\x20EC2.'),Log['bright'](ap(0x1fe));else throw b['error'](ap(0x1fd));}}else b['notice']('ABORTED!\x20No\x20instance\x20has\x20been\x20created!');}else Log['notice'](ap(0x227));}catch(ab){ap(0x1f3)===ap(0x1f3)?(console[ap(0x216)](ab),Log['error'](ab)):h[ap(0x1ef)]?i(j[ap(0x231)]):k(l[ap(0x231)])['then'](m,n);}}catch(ad){if('RictP'!=='JulJi')console['error'](ad),process[ap(0x1e3)](0x0);else try{i(j[ap(0x204)](k));}catch(af){m(af);}}});},a4C);
@@ -1 +1 @@
1
- function a5c(){const K=['apply','cehJr','getConfigFromShorthand','next','env','toString','exit','__awaiter','done','QiiZJ','value','JdxlT','then','constructor','427700FBOSEZ','GLGHa','createKeyPair','throw','maka\x20aws\x20create-key-pair','1418340mtczGe','error','help','WcBNh','goQrY','2646891cjGBjZ','vETTy','16sQReAC','IYaYd','2279871kjTDey','ibexy','yIHjL','1TEmBIj','create','534DOXtkp','tMIlm','1999696JwhRHA','41767prxYvX','39230CLbkKJ','PQfll','search','fsi','7090anUNaz','create-key-pair'];a5c=function(){return K;};return a5c();}const a5B=a5d;(function(a,b){const y=a5d,c=a();while(!![]){try{const d=-parseInt(y(0x1a5))/0x1*(-parseInt(y(0x1a9))/0x2)+parseInt(y(0x19e))/0x3+parseInt(y(0x1bf))/0x4+-parseInt(y(0x1ab))/0x5*(-parseInt(y(0x1a7))/0x6)+parseInt(y(0x1c4))/0x7+-parseInt(y(0x1a0))/0x8*(-parseInt(y(0x1a2))/0x9)+parseInt(y(0x1af))/0xa*(-parseInt(y(0x1aa))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a5c,0xac025));const a5b=(function(){let a=!![];return function(b,c){const d=a?function(){const z=a5d;if(z(0x19f)!==z(0x19c)){if(c){const e=c[z(0x1b1)](b,arguments);return c=null,e;}}else try{i(j['next'](k));}catch(g){m(g);}}:function(){};return a=![],d;};}()),a5a=a5b(this,function(){const A=a5d;return a5a[A(0x1b6)]()[A(0x1ad)]('(((.+)+)+)+$')['toString']()[A(0x1be)](a5a)[A(0x1ad)]('(((.+)+)+)+$');});a5a();var __awaiter=this&&this[a5B(0x1b8)]||function(a,b,c,d){function e(f){const C=a5d;if(C(0x1ac)===C(0x1c0)){const h=g?function(){const D=C;if(h){const u=q[D(0x1b1)](r,arguments);return s=null,u;}}:function(){};return l=![],h;}else return f instanceof c?f:new c(function(h){const E=C;E(0x1b2)!==E(0x1a8)?h(f):c(d);});}return new(c||(c=Promise))(function(f,g){const I=a5d;function h(k){const F=a5d;try{if(F(0x1a3)!=='ibexy')try{i(j[F(0x1c2)](k));}catch(m){m(m);}else j(d[F(0x1b4)](k));}catch(m){if(F(0x1a1)!==F(0x1a1)){if(m){const o=i['apply'](j,arguments);return k=null,o;}}else g(m);}}function i(k){const G=a5d;if(G(0x1a4)===G(0x1a4))try{if(G(0x19d)===G(0x1bc)){const m=d[G(0x1b1)](e,arguments);return f=null,m;}else j(d[G(0x1c2)](k));}catch(m){g(m);}else try{const r=new i(),s=this[G(0x1ae)][G(0x1b3)](j[G(0x1b5)]);r['createKeyPair']({'env':s});}catch(t){m['error'](t),n[G(0x1b7)](0x0);}}function j(k){const H=a5d;k[H(0x1b9)]?f(k[H(0x1bb)]):e(k[H(0x1bb)])['then'](h,i);}j((d=d[I(0x1b1)](a,b||[]))[I(0x1b4)]());});};import a5x from'./aws.command.js';import{Command}from'../../command.js';function a5d(a,b){const c=a5c();return a5d=function(d,e){d=d-0x19b;let f=c[d];return f;},a5d(a,b);}import{AWS}from'../../tools/aws/aws.class.js';Command[a5B(0x1a6)]({'name':a5B(0x1b0),'aliases':['ckp'],'usage':a5B(0x1c3),'mustBeInMakaProject':!![],'requiredOpts':[a5B(0x1b5)],'validOpts':[a5B(0x19b)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const J=a5d;if('QiiZJ'!==J(0x1ba))h[J(0x1b9)]?i(j[J(0x1bb)]):k(l[J(0x1bb)])[J(0x1bd)](m,n);else try{const d=new AWS(),f=this[J(0x1ae)]['getConfigFromShorthand'](b[J(0x1b5)]);d[J(0x1c1)]({'env':f});}catch(g){console[J(0x1c5)](g),process[J(0x1b7)](0x0);}});},a5x);
1
+ const a5E=a5d;(function(a,b){const A=a5d,c=a();while(!![]){try{const d=-parseInt(A(0x1e1))/0x1+-parseInt(A(0x1df))/0x2+-parseInt(A(0x1e3))/0x3+parseInt(A(0x1fb))/0x4+parseInt(A(0x1f2))/0x5*(-parseInt(A(0x1ee))/0x6)+parseInt(A(0x1ec))/0x7+parseInt(A(0x1dc))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a5c,0x64183));const a5b=(function(){let a=!![];return function(b,c){const d=a?function(){const B=a5d;if(B(0x1f6)==='fHFOH'){const f=g?function(){const C=B;if(f){const u=q[C(0x1e2)](r,arguments);return s=null,u;}}:function(){};return l=![],f;}else{if(c){const f=c[B(0x1e2)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a5a=a5b(this,function(){const D=a5d;return a5a[D(0x1e4)]()['search'](D(0x1d9))[D(0x1e4)]()[D(0x1db)](a5a)[D(0x1e5)]('(((.+)+)+)+$');});function a5d(a,b){const c=a5c();return a5d=function(d,e){d=d-0x1d7;let f=c[d];return f;},a5d(a,b);}function a5c(){const L=['446044Haynfn','createKeyPair','next','TMfET','ckp','(((.+)+)+)+$','ynilS','constructor','9842128IOIRlX','uODQL','maka\x20aws\x20create-key-pair','984192YavDOT','fsi','215016LovUpG','apply','1811148UqLmvL','toString','search','ZtLTE','then','done','getConfigFromShorthand','ADJCP','error','5494895NAPryx','value','2435682WSkgeZ','exit','create','kssRW','5UrXqWt','create-key-pair','env','throw','lXbxt','PNFfy','__awaiter','help','JciOi'];a5c=function(){return L;};return a5c();}a5a();var __awaiter=this&&this[a5E(0x1f8)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const J=a5d;function h(k){const F=a5d;if(F(0x1f7)!=='gRgUJ')try{j(d[F(0x1fd)](k));}catch(l){g(l);}else return c[F(0x1e4)]()[F(0x1e5)](F(0x1d9))[F(0x1e4)]()['constructor'](d)[F(0x1e5)](F(0x1d9));}function i(k){const G=a5d;try{G(0x1fa)!==G(0x1f1)?j(d[G(0x1f5)](k)):d(e[G(0x1fd)](f));}catch(m){G(0x1d7)===G(0x1e6)?c(d):g(m);}}function j(k){const H=a5d;if(H(0x1dd)!==H(0x1da))k[H(0x1e8)]?f(k[H(0x1ed)]):e(k[H(0x1ed)])[H(0x1e7)](h,i);else return f(this,void 0x0,void 0x0,function*(){const I=H;try{const x=new o(),y=this[I(0x1e0)][I(0x1e9)](p[I(0x1f4)]);x[I(0x1fc)]({'env':y});}catch(z){s[I(0x1eb)](z),t[I(0x1ef)](0x0);}});}j((d=d[J(0x1e2)](a,b||[]))['next']());});};import a5x from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';Command[a5E(0x1f0)]({'name':a5E(0x1f3),'aliases':[a5E(0x1d8)],'usage':a5E(0x1de),'mustBeInMakaProject':!![],'requiredOpts':[a5E(0x1f4)],'validOpts':[a5E(0x1f9)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const K=a5d;if(K(0x1ea)!==K(0x1ea))c(d);else try{const d=new AWS(),f=this[K(0x1e0)]['getConfigFromShorthand'](b[K(0x1f4)]);d['createKeyPair']({'env':f});}catch(g){console['error'](g),process[K(0x1ef)](0x0);}});},a5x);
@@ -1 +1 @@
1
- const a6z=a6d;(function(a,b){const v=a6d,c=a();while(!![]){try{const d=parseInt(v(0x16a))/0x1*(-parseInt(v(0x15f))/0x2)+parseInt(v(0x153))/0x3+parseInt(v(0x15e))/0x4*(parseInt(v(0x181))/0x5)+-parseInt(v(0x157))/0x6*(parseInt(v(0x16f))/0x7)+-parseInt(v(0x174))/0x8*(-parseInt(v(0x180))/0x9)+-parseInt(v(0x169))/0xa*(parseInt(v(0x179))/0xb)+parseInt(v(0x173))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a6c,0xd5758));const a6b=(function(){let a=!![];return function(b,c){const w=a6d;if('gwsiy'===w(0x171)){const d=a?function(){const x=w;if(x(0x165)===x(0x165)){if(c){if(x(0x15a)!==x(0x168)){const e=c[x(0x162)](b,arguments);return c=null,e;}else{const h=d[x(0x162)](e,arguments);return f=null,h;}}}else d[x(0x15b)](e),f[x(0x16b)](0x0);}:function(){};return a=![],d;}else try{i(j[w(0x163)](k));}catch(f){m(f);}};}()),a6a=a6b(this,function(){const y=a6d;return a6a[y(0x172)]()['search'](y(0x152))['toString']()[y(0x17b)](a6a)[y(0x170)](y(0x152));});a6a();var __awaiter=this&&this[a6z(0x154)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const A=a6d;'trgwe'===A(0x175)?g(f):c(d);});}return new(c||(c=Promise))(function(f,g){const E=a6d;function h(k){const B=a6d;try{if(B(0x160)==='rGgCK')j(d[B(0x156)](k));else try{i(j[B(0x156)](k));}catch(m){m(m);}}catch(m){g(m);}}function i(k){const C=a6d;try{C(0x16c)!==C(0x161)?j(d['throw'](k)):d(e[C(0x163)](f));}catch(m){g(m);}}function j(k){const D=a6d;D(0x164)!=='cdmDL'?k['done']?f(k[D(0x182)]):e(k[D(0x182)])[D(0x15c)](h,i):d(e['next'](f));}j((d=d[E(0x162)](a,b||[]))[E(0x156)]());});};import a6u from'./aws.command.js';function a6c(){const G=['trgwe','fsi','ec2createSG','getProjectConfig','13717FKBnAX','-ssl','constructor','done','fRwGJ','HpnyE','Security\x20Group\x20Name:\x20[','8053173fJLBcV','9700GNlDuF','value','(((.+)+)+)+$','5218635vrcZwY','__awaiter','maka\x20aws\x20terminate-instance','next','120mflZhu','Open\x20port\x20443\x20for\x20SSL?','dYDmw','UEUwy','error','then','create-security-group','1748EgCqay','174034aAbEUV','rGgCK','HBEUE','apply','throw','nsLwF','QkywZ','SqSOn','name','JzIAS','14000bzFxGh','15nlpbyU','exit','WilEg','\x22Web\x20App\x22','ask','41475mbonwV','search','gwsiy','toString','6741132OvEZSI','8QNMIho'];a6c=function(){return G;};return a6c();}import{Command}from'../../command.js';function a6d(a,b){const c=a6c();return a6d=function(d,e){d=d-0x152;let f=c[d];return f;},a6d(a,b);}import{Actions}from'../../tools/actions/actions.class.js';import{AWS}from'../../tools/aws/aws.class.js';Command['create']({'name':a6z(0x15d),'aliases':['csg'],'usage':a6z(0x155),'validOpts':['help']},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const F=a6d;try{if(F(0x159)===F(0x17d)){const d=g?function(){if(d){const u=q['apply'](r,arguments);return s=null,u;}}:function(){};return l=![],d;}else{const d=new AWS(),f=this[F(0x176)][F(0x178)](),{appName:g}=f;let h=yield d['chooseVPC'](),i=![];!b['ssl']&&(F(0x17e)!==F(0x17e)?c(d):i=yield Actions['confirm'](F(0x158)));let j=i?F(0x17a):'',k=b['name']?b[F(0x167)]:''+g+j,l=(yield Actions[F(0x16e)](F(0x17f)+k+']'))||k;d[F(0x177)]({'description':F(0x16d),'name':l,'vpcId':h,'ssl':i});}}catch(n){F(0x166)===F(0x166)?(console['error'](n),process[F(0x16b)](0x0)):h[F(0x17c)]?i(j[F(0x182)]):k(l[F(0x182)])[F(0x15c)](m,n);}});},a6u);
1
+ const a6y=a6d;(function(a,b){const v=a6d,c=a();while(!![]){try{const d=-parseInt(v(0xb0))/0x1*(-parseInt(v(0xc0))/0x2)+-parseInt(v(0xa3))/0x3+parseInt(v(0xbf))/0x4*(parseInt(v(0xb5))/0x5)+parseInt(v(0xbb))/0x6+parseInt(v(0xc8))/0x7*(parseInt(v(0xca))/0x8)+parseInt(v(0xac))/0x9+-parseInt(v(0xa0))/0xa*(parseInt(v(0xa6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a6c,0xb8e8c));const a6b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a6d;if('JYlSQ'==='eNydP')d(e[w(0xb8)](f));else{if(c){if(w(0xaa)==='KxhRZ'){const f=c['apply'](b,arguments);return c=null,f;}else{if(e){const h=i[w(0xa1)](j,arguments);return k=null,h;}}}}}:function(){};return a=![],d;};}()),a6a=a6b(this,function(){const x=a6d;return a6a[x(0xb3)]()[x(0xc6)](x(0xc1))[x(0xb3)]()[x(0xa8)](a6a)[x(0xc6)]('(((.+)+)+)+$');});function a6d(a,b){const c=a6c();return a6d=function(d,e){d=d-0xa0;let f=c[d];return f;},a6d(a,b);}a6a();var __awaiter=this&&this[a6y(0xc2)]||function(a,b,c,d){function e(f){const z=a6d;if(z(0xae)!==z(0xae))c(d);else return f instanceof c?f:new c(function(h){h(f);});}return new(c||(c=Promise))(function(f,g){const D=a6d;function h(k){const A=a6d;try{if(A(0xba)!=='jZcAx')j(d[A(0xc4)](k));else{const m=d[A(0xa1)](e,arguments);return f=null,m;}}catch(m){if(A(0xb9)!==A(0xbc))g(m);else try{i(j[A(0xb8)](k));}catch(o){m(o);}}}function i(k){const B=a6d;if(B(0xa4)!=='wmczY')d[B(0xa5)](e),f[B(0xaf)](0x0);else try{B(0xbe)!==B(0xbe)?d(e['next'](f)):j(d['throw'](k));}catch(n){g(n);}}function j(k){const C=a6d;C(0xb7)==='ZxlFo'?h['done']?i(j[C(0xa7)]):k(l[C(0xa7)])[C(0xb4)](m,n):k[C(0xc7)]?f(k[C(0xa7)]):e(k[C(0xa7)])[C(0xb4)](h,i);}j((d=d[D(0xa1)](a,b||[]))[D(0xc4)]());});};import a6u from'./aws.command.js';import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';import{AWS}from'../../tools/aws/aws.class.js';Command[a6y(0xb2)]({'name':a6y(0xad),'aliases':[a6y(0xc5)],'usage':a6y(0xc9),'validOpts':['help']},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const E=a6d;try{const c=new AWS(),d=this['fsi']['getProjectConfig'](),{appName:f}=d;let g=yield c['chooseVPC'](),h=![];!b[E(0xc3)]&&(h=yield Actions[E(0xbd)]('Open\x20port\x20443\x20for\x20SSL?'));let i=h?E(0xa2):'',j=b[E(0xa9)]?b[E(0xa9)]:''+f+i,k=(yield Actions[E(0xb6)](E(0xb1)+j+']'))||j;c[E(0xab)]({'description':'\x22Web\x20App\x22','name':k,'vpcId':g,'ssl':h});}catch(l){console[E(0xa5)](l),process[E(0xaf)](0x0);}});},a6u);function a6c(){const F=['Security\x20Group\x20Name:\x20[','create','toString','then','520ARkKUO','ask','oDtJe','throw','sHHpC','kFCUX','5766876OFKIFx','BbbxL','confirm','AreKa','32896WFnhDF','1341874dWfzuD','(((.+)+)+)+$','__awaiter','ssl','next','csg','search','done','6003298SdAbmD','maka\x20aws\x20terminate-instance','8JIRIOy','479770IfArBy','apply','-ssl','2186370fToyvQ','wmczY','error','682MjgFjN','value','constructor','name','KxhRZ','ec2createSG','10041831vjaUUE','create-security-group','LLuuw','exit','1WDCPcc'];a6c=function(){return F;};return a6c();}
@@ -1 +1 @@
1
- var a7z=a7d;(function(a,b){var v=a7d,c=a();while(!![]){try{var d=-parseInt(v(0xdf))/0x1*(-parseInt(v(0xe8))/0x2)+-parseInt(v(0xe3))/0x3+parseInt(v(0xe6))/0x4*(parseInt(v(0xdb))/0x5)+parseInt(v(0xea))/0x6+-parseInt(v(0xf6))/0x7*(parseInt(v(0xdc))/0x8)+-parseInt(v(0xec))/0x9+parseInt(v(0xd9))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a7c,0x9e0dd));function a7c(){var F=['toString','(((.+)+)+)+$','62477JsnNsB','exit','Kttim','maka\x20aws\x20describe-instances','1607934oGdxxK','next','throw','456772oUJCRw','error','8ZstYoB','htSkt','3261564EtEFRh','search','1660230AfOFyR','create','apply','mwWgw','describe-instances','constructor','FupYU','value','ozMyo','ec2describeInstances','441ISYkhr','help','uDLUz','6118870ztUtip','__awaiter','25BAwLLU','77272rYUjZe'];a7c=function(){return F;};return a7c();}var a7b=(function(){var a=!![];return function(b,c){var d=a?function(){var w=a7d;if(c){if(w(0xe1)===w(0xe9))return e(this,void 0x0,void 0x0,function*(){var x=w;try{const s=new l();s[x(0xf5)]();}catch(t){o[x(0xe7)](t),p['exit'](0x0);}});else{var e=c[w(0xee)](b,arguments);return c=null,e;}}}:function(){};return a=![],d;};}()),a7a=a7b(this,function(){var y=a7d;return a7a[y(0xdd)]()[y(0xeb)](y(0xde))[y(0xdd)]()[y(0xf1)](a7a)[y(0xeb)](y(0xde));});function a7d(a,b){var c=a7c();return a7d=function(d,e){d=d-0xd7;var f=c[d];return f;},a7d(a,b);}a7a();var __awaiter=this&&this[a7z(0xda)]||function(a,b,c,d){function e(f){var A=a7d;if(A(0xd8)===A(0xd8))return f instanceof c?f:new c(function(g){g(f);});else c(d);}return new(c||(c=Promise))(function(f,g){var D=a7d;function h(k){var B=a7d;if('GTDfq'!=='GTDfq')d[B(0xe7)](e),f[B(0xe0)](0x0);else try{'sqyOg'===B(0xef)?d(e[B(0xe5)](f)):j(d[B(0xe4)](k));}catch(n){g(n);}}function i(k){try{j(d['throw'](k));}catch(l){g(l);}}function j(k){var C=a7d;k['done']?f(k[C(0xf3)]):e(k['value'])['then'](h,i);}j((d=d[D(0xee)](a,b||[]))[D(0xe4)]());});};import a7u from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';Command[a7z(0xed)]({'name':a7z(0xf0),'aliases':['di'],'usage':a7z(0xe2),'validOpts':[a7z(0xd7)]},function(){return __awaiter(this,void 0x0,void 0x0,function*(){var E=a7d;try{const a=new AWS();a['ec2describeInstances']();}catch(b){if(E(0xf2)===E(0xf4))try{i(j['throw'](k));}catch(d){m(d);}else console[E(0xe7)](b),process[E(0xe0)](0x0);}});},a7u);
1
+ var a7y=a7d;(function(a,b){var v=a7d,c=a();while(!![]){try{var d=parseInt(v(0xf0))/0x1*(parseInt(v(0xf6))/0x2)+parseInt(v(0xe7))/0x3*(-parseInt(v(0xfe))/0x4)+-parseInt(v(0xf9))/0x5*(parseInt(v(0xec))/0x6)+-parseInt(v(0x103))/0x7+parseInt(v(0xf1))/0x8+parseInt(v(0xf5))/0x9+-parseInt(v(0xea))/0xa*(-parseInt(v(0xe8))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a7c,0xefb78));function a7c(){var F=['then','(((.+)+)+)+$','ec2describeInstances','11465VRdWhi','10967296CRBJAq','value','chWcg','done','7828254XpVEOq','132eCnBMW','apply','error','5ixGsoc','next','throw','__awaiter','create','21832oUuFxU','maka\x20aws\x20describe-instances','exit','vIUgL','toString','9255309PDezop','579UYfEFh','1113244ALBrmu','APmhd','130BTiVXg','dmKWz','5733594szPjvF'];a7c=function(){return F;};return a7c();}var a7b=(function(){var a=!![];return function(b,c){var d=a?function(){var w=a7d;if('vgzXV'!=='vgzXV')try{const g=new g();g[w(0xef)]();}catch(h){j[w(0xf8)](h),k['exit'](0x0);}else{if(c){var e=c[w(0xf7)](b,arguments);return c=null,e;}}}:function(){};return a=![],d;};}()),a7a=a7b(this,function(){var x=a7d;return a7a[x(0x102)]()['search'](x(0xee))[x(0x102)]()['constructor'](a7a)['search']('(((.+)+)+)+$');});function a7d(a,b){var c=a7c();return a7d=function(d,e){d=d-0xe7;var f=c[d];return f;},a7d(a,b);}a7a();var __awaiter=this&&this[a7y(0xfc)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){if('JFfEY'!=='JFfEY')return e(this,void 0x0,void 0x0,function*(){var z=a7d;try{const s=new l();s[z(0xef)]();}catch(t){o[z(0xf8)](t),p[z(0x100)](0x0);}});else g(f);});}return new(c||(c=Promise))(function(f,g){var D=a7d;function h(k){var A=a7d;try{j(d[A(0xfa)](k));}catch(l){g(l);}}function i(k){var B=a7d;try{j(d[B(0xfb)](k));}catch(l){'rWWxw'!==B(0xf3)?g(l):c(d);}}function j(k){var C=a7d;if(C(0xe9)==='LfnyQ'){var m=d[C(0xf7)](e,arguments);return f=null,m;}else k[C(0xf4)]?f(k[C(0xf2)]):e(k[C(0xf2)])[C(0xed)](h,i);}j((d=d[D(0xf7)](a,b||[]))[D(0xfa)]());});};import a7u from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';Command[a7y(0xfd)]({'name':'describe-instances','aliases':['di'],'usage':a7y(0xff),'validOpts':['help']},function(){return __awaiter(this,void 0x0,void 0x0,function*(){var E=a7d;try{const a=new AWS();a['ec2describeInstances']();}catch(b){E(0xeb)===E(0x101)?c(d):(console['error'](b),process[E(0x100)](0x0));}});},a7u);
@@ -1 +1 @@
1
- var a8y=a8d;function a8d(a,b){var c=a8c();return a8d=function(d,e){d=d-0x121;var f=c[d];return f;},a8d(a,b);}(function(a,b){var v=a8d,c=a();while(!![]){try{var d=parseInt(v(0x12a))/0x1*(parseInt(v(0x145))/0x2)+-parseInt(v(0x128))/0x3+parseInt(v(0x141))/0x4+-parseInt(v(0x121))/0x5+-parseInt(v(0x12d))/0x6+-parseInt(v(0x143))/0x7*(parseInt(v(0x123))/0x8)+parseInt(v(0x135))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a8c,0x4463d));var a8b=(function(){var a=!![];return function(b,c){var d=a?function(){var w=a8d;if(w(0x131)!==w(0x140)){if(c){var e=c[w(0x130)](b,arguments);return c=null,e;}}else try{i(j[w(0x125)](k));}catch(g){m(g);}}:function(){};return a=![],d;};}()),a8a=a8b(this,function(){var x=a8d;return a8a[x(0x133)]()[x(0x144)](x(0x134))[x(0x133)]()[x(0x13e)](a8a)['search'](x(0x134));});a8a();var __awaiter=this&&this[a8y(0x13f)]||function(a,b,c,d){function e(f){var z=a8d;if(z(0x13d)!==z(0x139))return f instanceof c?f:new c(function(g){var A=z;if(A(0x13b)==='FpLvO')g(f);else return f instanceof g?h:new i(function(m){m(k);});});else{var h=d[z(0x130)](e,arguments);return f=null,h;}}return new(c||(c=Promise))(function(f,g){var F=a8d;function h(k){var B=a8d;if(B(0x126)!==B(0x132))try{if(B(0x12e)===B(0x12e))j(d[B(0x13a)](k));else return c[B(0x133)]()[B(0x144)](B(0x134))[B(0x133)]()['constructor'](d)[B(0x144)](B(0x134));}catch(m){g(m);}else d(e[B(0x125)](f));}function i(k){var C=a8d;if('bvcJZ'===C(0x142))try{j(d[C(0x125)](k));}catch(l){g(l);}else{var n=g?function(){var D=C;if(n){var u=q[D(0x130)](r,arguments);return s=null,u;}}:function(){};return l=![],n;}}function j(k){var E=a8d;k[E(0x127)]?f(k['value']):e(k[E(0x13c)])['then'](h,i);}j((d=d[F(0x130)](a,b||[]))[F(0x13a)]());});};function a8c(){var H=['ec2describeKeys','apply','CVEIh','OmkDH','toString','(((.+)+)+)+$','5767227dgknFD','ylbvX','create','describe-key-pairs','uRYtn','next','FpLvO','value','RVmVw','constructor','__awaiter','ZGilR','2227492qgIwmS','bvcJZ','242123BtmoIq','search','256EDycus','860020oeCzDt','help','8cSGdRT','error','throw','bclwK','done','662022wIzqYd','maka\x20aws\x20describe-key-pairs','352IFbOGN','dkp','TygBB','3212040LFHiht','YHLPL'];a8c=function(){return H;};return a8c();}import a8u from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';Command[a8y(0x137)]({'name':a8y(0x138),'aliases':[a8y(0x12b)],'usage':a8y(0x129),'validOpts':[a8y(0x122)]},function(){return __awaiter(this,void 0x0,void 0x0,function*(){var G=a8d;try{if(G(0x136)!==G(0x12c)){const a=new AWS();a[G(0x12f)]();}else c(d);}catch(c){console[G(0x124)](c),process['exit'](0x0);}});},a8u);
1
+ var a8z=a8d;(function(a,b){var v=a8d,c=a();while(!![]){try{var d=parseInt(v(0xf1))/0x1+parseInt(v(0xfa))/0x2*(parseInt(v(0xfc))/0x3)+parseInt(v(0xf7))/0x4*(-parseInt(v(0xf5))/0x5)+-parseInt(v(0x106))/0x6+-parseInt(v(0xfe))/0x7+parseInt(v(0x10b))/0x8*(parseInt(v(0x10e))/0x9)+parseInt(v(0x10c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a8c,0xf091a));function a8c(){var G=['help','1304809nErzYW','HrbGn','lVsNB','toString','9055895BOaDMI','QJdYV','4gZKUyx','apply','urNaH','2IeDFTn','done','2324253LVogev','maka\x20aws\x20describe-key-pairs','2733080SJnzVI','error','then','wAJPO','PzKjI','value','throw','EzLcc','458982ZXuzcs','RxPpf','ec2describeKeys','(((.+)+)+)+$','search','7064KkqGvF','11530210NTTKiE','next','315mtYOwa','__awaiter','IHBgL','dkp'];a8c=function(){return G;};return a8c();}var a8b=(function(){var a=!![];return function(b,c){var w=a8d;if('HrbGn'!==w(0xf2)){var f=d[w(0xf8)](e,arguments);return f=null,f;}else{var d=a?function(){var x=w;if(c){if(x(0x105)===x(0x102))h[x(0xfb)]?i(j['value']):k(l[x(0x103)])[x(0x100)](m,n);else{var f=c[x(0xf8)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;}};}()),a8a=a8b(this,function(){var y=a8d;return a8a[y(0xf4)]()[y(0x10a)](y(0x109))[y(0xf4)]()['constructor'](a8a)[y(0x10a)](y(0x109));});a8a();function a8d(a,b){var c=a8c();return a8d=function(d,e){d=d-0xef;var f=c[d];return f;},a8d(a,b);}var __awaiter=this&&this[a8z(0x10f)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){var A=a8d;A(0xf9)!==A(0x101)?g(f):c(d);});}return new(c||(c=Promise))(function(f,g){var E=a8d;function h(k){var B=a8d;try{if(B(0x107)!==B(0x107))return f instanceof g?h:new i(function(m){m(k);});else j(d['next'](k));}catch(m){g(m);}}function i(k){var C=a8d;if('ivKth'==='ivKth')try{'IHBgL'!==C(0x110)?d(e[C(0x10d)](f)):j(d[C(0x104)](k));}catch(m){g(m);}else try{i(j[C(0x10d)](k));}catch(o){m(o);}}function j(k){var D=a8d;k[D(0xfb)]?f(k['value']):e(k[D(0x103)])[D(0x100)](h,i);}j((d=d[E(0xf8)](a,b||[]))[E(0x10d)]());});};import a8u from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';Command['create']({'name':'describe-key-pairs','aliases':[a8z(0xef)],'usage':a8z(0xfd),'validOpts':[a8z(0xf0)]},function(){return __awaiter(this,void 0x0,void 0x0,function*(){var F=a8d;try{if(F(0xf6)!==F(0xf3)){const a=new AWS();a[F(0x108)]();}else{const d=new b();d['ec2describeKeys']();}}catch(c){console[F(0xff)](c),process['exit'](0x0);}});},a8u);
@@ -1 +1 @@
1
- const a9y=a9d;(function(a,b){const v=a9d,c=a();while(!![]){try{const d=parseInt(v(0x16f))/0x1+-parseInt(v(0x15a))/0x2+parseInt(v(0x179))/0x3+-parseInt(v(0x174))/0x4+-parseInt(v(0x177))/0x5*(parseInt(v(0x17f))/0x6)+-parseInt(v(0x16c))/0x7+-parseInt(v(0x183))/0x8*(-parseInt(v(0x173))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a9c,0x32726));function a9d(a,b){const c=a9c();return a9d=function(d,e){d=d-0x15a;let f=c[d];return f;},a9d(a,b);}const a9b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a9d;if(c){const e=c[w(0x17d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a9a=a9b(this,function(){const x=a9d;return a9a['toString']()[x(0x163)](x(0x17a))[x(0x164)]()['constructor'](a9a)[x(0x163)](x(0x17a));});a9a();var __awaiter=this&&this[a9y(0x162)]||function(a,b,c,d){function e(f){const z=a9d;if(z(0x15d)!==z(0x17b))return f instanceof c?f:new c(function(g){g(f);});else c(d);}return new(c||(c=Promise))(function(f,g){const D=a9d;function h(k){const A=a9d;try{j(d[A(0x180)](k));}catch(l){g(l);}}function i(k){const B=a9d;if(B(0x178)!==B(0x175))try{j(d['throw'](k));}catch(l){if('zMAap'!==B(0x16b)){const n=d[B(0x17d)](l,arguments);return f=null,n;}else g(l);}else d(e[B(0x161)](f));}function j(k){const C=a9d;k[C(0x15c)]?f(k[C(0x16a)]):e(k[C(0x16a)])[C(0x17e)](h,i);}j((d=d[D(0x17d)](a,b||[]))['next']());});};import a9u 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 a9c(){const F=['value','zMAap','1780170MKXFNE','\x20is\x20still\x20running.','help','390811sJCNHG','chooseInstance','You\x20have\x20aborted\x20the\x20reboot.\x20\x20The\x20instance:\x20','ec2rebootInstance','2045421ZsAZNA','422296uEBNsG','XCGLT','rbi','5YQBPtA','kObwb','751167SgiCzA','(((.+)+)+)+$','DHpTQ','name','apply','then','1054002EaMAbp','next','confirm','create','8bmVKsI','reboot-instance','uBfPX','maka\x20aws\x20reboot-instance','tjFnQ','252576BkFkus','kzlGE','done','BKSAW','instanceId','UoYcy','status','throw','__awaiter','search','toString','[!!]\x20You\x20are\x20about\x20to\x20reboot\x20instance:\x20','exit','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20rebooted;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','running','error'];a9c=function(){return F;};return a9c();}Command[a9y(0x182)]({'name':a9y(0x184),'aliases':[a9y(0x176)],'usage':a9y(0x186),'validOpts':[a9y(0x16e)]},function(){return __awaiter(this,void 0x0,void 0x0,function*(){const E=a9d;if(E(0x15f)==='iBlip')try{i(j[E(0x161)](k));}catch(b){m(b);}else try{const b=new AWS();let c=yield b[E(0x170)]();if((c===null||c===void 0x0?void 0x0:c[E(0x160)])===E(0x168)){if(E(0x187)===E(0x185))d[E(0x169)](e),f['exit'](0x0);else{let f=yield Actions[E(0x181)](E(0x165)+c[E(0x17c)]+'\x20Ready?');f?b['ec2rebootInstance']({'instanceId':c['instanceId']}):Log[E(0x169)](E(0x171)+c[E(0x17c)]+E(0x16d));}}else E(0x15b)!==E(0x15b)?c[E(0x172)]({'instanceId':d[E(0x15e)]}):Log[E(0x169)](E(0x167));}catch(h){console['error'](h),process[E(0x166)](0x0);}});},a9u);
1
+ const a9D=a9d;(function(a,b){const v=a9d,c=a();while(!![]){try{const d=-parseInt(v(0x8f))/0x1*(-parseInt(v(0x98))/0x2)+parseInt(v(0xb2))/0x3+parseInt(v(0xad))/0x4+-parseInt(v(0xaa))/0x5+-parseInt(v(0xb3))/0x6+parseInt(v(0x94))/0x7+parseInt(v(0xb0))/0x8*(-parseInt(v(0x93))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a9c,0x86a2e));const a9b=(function(){let a=!![];return function(b,c){const x=a9d;if('sMKBX'==='sMKBX'){const d=a?function(){const w=a9d;if(c){const e=c[w(0x92)](b,arguments);return c=null,e;}}:function(){};return a=![],d;}else c[x(0xae)](x(0x8e)+d[x(0xb4)]+x(0x95));};}()),a9a=a9b(this,function(){const y=a9d;return a9a[y(0x9c)]()[y(0x96)](y(0x9d))['toString']()[y(0xac)](a9a)[y(0x96)](y(0x9d));});function a9d(a,b){const c=a9c();return a9d=function(d,e){d=d-0x8e;let f=c[d];return f;},a9d(a,b);}a9a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const C=a9d;function h(k){const z=a9d;try{j(d[z(0xa3)](k));}catch(l){g(l);}}function i(k){const A=a9d;if('gkMAk'===A(0xa4))d(e['throw'](f));else try{j(d[A(0xb1)](k));}catch(m){g(m);}}function j(k){const B=a9d;if(B(0xa2)!==B(0x90))k[B(0x97)]?f(k[B(0xa0)]):e(k[B(0xa0)])[B(0xab)](h,i);else try{i(j[B(0xb1)](k));}catch(m){m(m);}}j((d=d[C(0x92)](a,b||[]))[C(0xa3)]());});};import a9u from'./aws.command.js';function a9c(){const F=['(((.+)+)+)+$','\x20Ready?','confirm','value','exit','NZmgu','next','vzucq','[!!]\x20You\x20are\x20about\x20to\x20reboot\x20instance:\x20','instanceId','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20rebooted;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','running','maka\x20aws\x20reboot-instance','4766385efSQtk','then','constructor','2204628mYgbVM','error','FZrdg','703576XSsWfq','throw','2996355EWtytd','6119622fvsaTM','name','rbi','You\x20have\x20aborted\x20the\x20reboot.\x20\x20The\x20instance:\x20','535024RMPihX','AxSBy','ec2rebootInstance','apply','90BacxyT','5489148bHyWAn','\x20is\x20still\x20running.','search','done','4ofXNfY','help','create','status','toString'];a9c=function(){return F;};return a9c();}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[a9D(0x9a)]({'name':'reboot-instance','aliases':[a9D(0xb5)],'usage':a9D(0xa9),'validOpts':[a9D(0x99)]},function(){return __awaiter(this,void 0x0,void 0x0,function*(){const E=a9d;if('GrGvl'!=='PUdik')try{const a=new AWS();let b=yield a['chooseInstance']();if((b===null||b===void 0x0?void 0x0:b[E(0x9b)])===E(0xa8)){let c=yield Actions[E(0x9f)](E(0xa5)+b[E(0xb4)]+E(0x9e));c?a[E(0x91)]({'instanceId':b['instanceId']}):Log[E(0xae)](E(0x8e)+b['name']+E(0x95));}else{if(E(0xaf)==='qvidM')try{i(j[E(0xa3)](k));}catch(f){m(f);}else Log[E(0xae)](E(0xa7));}}catch(f){console[E(0xae)](f),process[E(0xa1)](0x0);}else c['ec2rebootInstance']({'instanceId':d[E(0xa6)]});});},a9u);
@@ -1 +1 @@
1
- const a10M=a10d;function a10d(a,b){const c=a10c();return a10d=function(d,e){d=d-0x72;let f=c[d];return f;},a10d(a,b);}(function(a,b){const F=a10d,c=a();while(!![]){try{const d=-parseInt(F(0x9a))/0x1+parseInt(F(0x83))/0x2+-parseInt(F(0x81))/0x3*(-parseInt(F(0xa3))/0x4)+parseInt(F(0x73))/0x5*(parseInt(F(0xa1))/0x6)+-parseInt(F(0x98))/0x7*(parseInt(F(0xa8))/0x8)+-parseInt(F(0x96))/0x9+parseInt(F(0x94))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a10c,0x24acc));const a10b=(function(){let a=!![];return function(b,c){const d=a?function(){const G=a10d;if(c){const e=c[G(0xa4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a10a=a10b(this,function(){const H=a10d;return a10a[H(0x77)]()[H(0x85)]('(((.+)+)+)+$')[H(0x77)]()[H(0x84)](a10a)[H(0x85)](H(0x74));});a10a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const L=a10d;function h(k){const I=a10d;try{j(d[I(0x7d)](k));}catch(l){g(l);}}function i(k){const J=a10d;if(J(0x89)===J(0x8f))h[J(0x9c)]?i(j['value']):k(l[J(0xa0)])[J(0xa2)](m,n);else try{j(d[J(0x8e)](k));}catch(m){g(m);}}function j(k){const K=a10d;k[K(0x9c)]?f(k['value']):e(k['value'])[K(0xa2)](h,i);}j((d=d['apply'](a,b||[]))[L(0x7d)]());});};import a10C from'path';import a10D from'fs';import{execSync}from'child_process';function a10c(){const O=['success','toString','atAVV','sth','writeFileSync','join','inherit','next','ssh.json','exit','ask','237ZljQIw','privateIp','89420cgjyAa','constructor','search','\x0aSaved\x20host\x20','parse','host','mXLOk','stringify','cat\x20','error','private','throw','ultyV','\x20IP\x20to\x20','OAPCJ','UixGt','Set\x20the\x20host\x20to\x20public\x20or\x20private?\x20[public]','2326070UXnVtl','public','948672izBbFW','help','7PGWVIP','sep','185965XPRala','aZWTb','done','chooseInstance','wMwDp','fsi','value','6KSlAmM','then','388zIMXQW','apply','kPQtb','WeKFe','publicIp','715448rkTIqS','That\x20is\x20not\x20an\x20option.\x20Must\x20be\x20\x22public\x22\x20or\x20\x22private\x22','utf8','1230220DtRuvO','(((.+)+)+)+$','set-host'];a10c=function(){return O;};return a10c();}import a10E 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['create']({'name':a10M(0x75),'aliases':[a10M(0x79)],'usage':'maka\x20aws\x20set-host','mustBeInMakaProject':!![],'requiredOpts':['env'],'validOpts':[a10M(0x97),'key-name'],'description':''},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const N=a10d;if(N(0xa6)!==N(0x92))try{const c=new AWS(),d=this[N(0x9f)]['getConfigPath'](b['env']);let f=yield c[N(0x9d)](),g=JSON[N(0x87)](a10D['readFileSync'](a10C[N(0x7b)](d,N(0x7e)),N(0x72))),h=(yield Actions[N(0x80)](N(0x93)))||'public';if(h){if(N(0x9e)!==N(0x9e))throw N(0xa9);else{if(h===N(0x95)||h===N(0x8d)){if(N(0x9b)!=='goZyy'){if(h===N(0x95))g[N(0x88)]=f===null||f===void 0x0?void 0x0:f[N(0xa7)];else{if(h===N(0x8d)){if(N(0x78)===N(0x78))g[N(0x88)]=f===null||f===void 0x0?void 0x0:f[N(0x82)];else return c['toString']()[N(0x85)](N(0x74))[N(0x77)]()[N(0x84)](d)[N(0x85)](N(0x74));}}}else e[N(0x88)]=f===null||g===void 0x0?void 0x0:h[N(0xa7)];}else{if(N(0x91)==='ocqZw')try{i(j['throw'](k));}catch(m){m(m);}else throw N(0xa9);}}}else N(0xa5)===N(0xa5)?g[N(0x88)]=f===null||f===void 0x0?void 0x0:f[N(0x82)]:c(d);a10D[N(0x7a)](a10C[N(0x7b)](d,N(0x7e)),JSON[N(0x8a)](g,null,0x2)),execSync(N(0x8b)+a10C[N(0x7b)](d,'ssh.json'),{'stdio':N(0x7c)}),Log[N(0x76)](N(0x86)+h+N(0x90)+d+a10C[N(0x99)]+'ssh.json');}catch(n){console[N(0x8c)](n),process[N(0x7f)](0x0);}else e[N(0x88)]=f===null||g===void 0x0?void 0x0:h[N(0x82)];});},a10E);
1
+ const a10J=a10d;(function(a,b){const F=a10d,c=a();while(!![]){try{const d=-parseInt(F(0x19d))/0x1+-parseInt(F(0x1b6))/0x2+-parseInt(F(0x1b9))/0x3+parseInt(F(0x1aa))/0x4+-parseInt(F(0x1b2))/0x5+parseInt(F(0x1c1))/0x6*(parseInt(F(0x1b0))/0x7)+parseInt(F(0x18f))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a10c,0xf1441));const a10b=(function(){let a=!![];return function(b,c){const G=a10d;if(G(0x1ab)==='GZfdE'){const d=a?function(){const H=G;if(H(0x1a7)===H(0x19a)){const f=d['apply'](e,arguments);return f=null,f;}else{if(c){if(H(0x192)!=='GyZmP'){const f=c[H(0x1ac)](b,arguments);return c=null,f;}else return c[H(0x1a6)]()[H(0x1b4)](H(0x1ba))[H(0x1a6)]()[H(0x1bd)](d)[H(0x1b4)](H(0x1ba));}}}:function(){};return a=![],d;}else try{i(j['next'](k));}catch(f){m(f);}};}()),a10a=a10b(this,function(){const I=a10d;return a10a[I(0x1a6)]()['search'](I(0x1ba))[I(0x1a6)]()[I(0x1bd)](a10a)[I(0x1b4)](I(0x1ba));});a10a();var __awaiter=this&&this[a10J(0x1a0)]||function(a,b,c,d){function e(f){const K=a10d;if('gPzxP'!=='HFdiq')return f instanceof c?f:new c(function(g){g(f);});else d[K(0x1ae)](e),f['exit'](0x0);}return new(c||(c=Promise))(function(f,g){const O=a10d;function h(k){const L=a10d;try{j(d[L(0x199)](k));}catch(l){if(L(0x18c)===L(0x18c))g(l);else{if(k===L(0x18e))u[L(0x189)]=v===null||w===void 0x0?void 0x0:x[L(0x193)];else p===L(0x1c0)&&(y[L(0x189)]=z===null||A===void 0x0?void 0x0:B[L(0x197)]);}}}function i(k){const M=a10d;if(M(0x1c2)===M(0x1c2))try{j(d['throw'](k));}catch(l){'wqzBj'==='wqzBj'?g(l):l[M(0x189)]=f===null||g===void 0x0?void 0x0:h[M(0x197)];}else d(e['next'](f));}function j(k){const N=a10d;if(N(0x1ad)==='mnspw')return f instanceof g?h:new i(function(m){m(k);});else k[N(0x195)]?f(k['value']):e(k[N(0x18a)])[N(0x190)](h,i);}j((d=d[O(0x1ac)](a,b||[]))[O(0x199)]());});};import a10C from'path';import a10D from'fs';function a10c(){const Q=['sth','1407534ywdmhk','rctGM','stringify','__awaiter','chooseInstance','\x20IP\x20to\x20','inherit','getConfigPath','ask','toString','SWQLS','env','That\x20is\x20not\x20an\x20option.\x20Must\x20be\x20\x22public\x22\x20or\x20\x22private\x22','1313904mQjgUn','GZfdE','apply','zcFXt','error','join','931651uBzhhm','fsi','8409645JBDoEd','Set\x20the\x20host\x20to\x20public\x20or\x20private?\x20[public]','search','ssh.json','463496vJJcUQ','KAKhS','success','2347341ROJDEV','(((.+)+)+)+$','set-host','utf8','constructor','\x0aSaved\x20host\x20','OtCoM','private','12qgcwzb','mNZcT','host','value','writeFileSync','eYtlb','key-name','public','35977768oadSjU','then','create','qTqKp','publicIp','maka\x20aws\x20set-host','done','OtQPp','privateIp','exit','next','SoqIy','sep'];a10c=function(){return Q;};return a10c();}function a10d(a,b){const c=a10c();return a10d=function(d,e){d=d-0x189;let f=c[d];return f;},a10d(a,b);}import{execSync}from'child_process';import a10E 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[a10J(0x191)]({'name':a10J(0x1bb),'aliases':[a10J(0x19c)],'usage':a10J(0x194),'mustBeInMakaProject':!![],'requiredOpts':[a10J(0x1a8)],'validOpts':['help',a10J(0x18d)],'description':''},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const P=a10d;try{const c=new AWS(),d=this[P(0x1b1)][P(0x1a4)](b[P(0x1a8)]);let f=yield c[P(0x1a1)](),g=JSON['parse'](a10D['readFileSync'](a10C[P(0x1af)](d,P(0x1b5)),P(0x1bc))),h=(yield Actions[P(0x1a5)](P(0x1b3)))||P(0x18e);if(h){if(P(0x1b7)!==P(0x1b7)){if(e){const j=i[P(0x1ac)](j,arguments);return k=null,j;}}else{if(h===P(0x18e)||h===P(0x1c0)){if('UTeXG'!=='UTeXG')h['done']?i(j[P(0x18a)]):k(l['value'])[P(0x190)](m,n);else{if(h===P(0x18e))'EuBXb'===P(0x1bf)?e['host']=f===null||g===void 0x0?void 0x0:h['privateIp']:g['host']=f===null||f===void 0x0?void 0x0:f[P(0x193)];else h===P(0x1c0)&&(P(0x19e)!==P(0x19e)?c(d):g[P(0x189)]=f===null||f===void 0x0?void 0x0:f[P(0x197)]);}}else{if(P(0x196)===P(0x196))throw P(0x1a9);else{const n=g?function(){if(n){const u=q['apply'](r,arguments);return s=null,u;}}:function(){};return l=![],n;}}}}else g[P(0x189)]=f===null||f===void 0x0?void 0x0:f['privateIp'];a10D[P(0x18b)](a10C[P(0x1af)](d,P(0x1b5)),JSON[P(0x19f)](g,null,0x2)),execSync('cat\x20'+a10C[P(0x1af)](d,P(0x1b5)),{'stdio':P(0x1a3)}),Log[P(0x1b8)](P(0x1be)+h+P(0x1a2)+d+a10C[P(0x19b)]+'ssh.json');}catch(n){console[P(0x1ae)](n),process[P(0x198)](0x0);}});},a10E);
@@ -1 +1 @@
1
- function a11d(a,b){const c=a11c();return a11d=function(d,e){d=d-0x14a;let f=c[d];return f;},a11d(a,b);}function a11c(){const F=['throw','13637100sCsWyR','40VcFbdI','then','ZFPKE','3403314eDZihi','\x20Ready?','__awaiter','bpqIt','10036566mnFZfn','8nMaJLb','ueKeS','running','sgZwZ','\x20is\x20still\x20running.\x20\x20(Charges\x20are\x20still\x20being\x20applied).','help','confirm','next','You\x20have\x20aborted\x20the\x20termination.\x20\x20The\x20instance:\x20','apply','constructor','name','2erIxAl','18629875dksAHD','maka\x20aws\x20terminate-instance','yUTLS','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20terminated;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','terminate-instance','toString','5hjryqu','421190YmFuDl','329277NnmlBZ','12828074UMoqnZ','qbOIs','UxPQU','search','You\x20are\x20about\x20to\x20terminate\x20(lose\x20all\x20data)\x20on\x20instance:\x20','instanceId','error','create'];a11c=function(){return F;};return a11c();}const a11z=a11d;(function(a,b){const v=a11d,c=a();while(!![]){try{const d=parseInt(v(0x16c))/0x1*(parseInt(v(0x164))/0x2)+-parseInt(v(0x16d))/0x3*(-parseInt(v(0x150))/0x4)+parseInt(v(0x16b))/0x5*(-parseInt(v(0x157))/0x6)+parseInt(v(0x16e))/0x7*(parseInt(v(0x158))/0x8)+-parseInt(v(0x153))/0x9+parseInt(v(0x14f))/0xa+-parseInt(v(0x165))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a11c,0xecf2c));const a11b=(function(){let a=!![];return function(b,c){const w=a11d;if(w(0x159)===w(0x152))d(e[w(0x14e)](f));else{const e=a?function(){const x=w;if(c){if(x(0x15b)===x(0x15b)){const f=c[x(0x161)](b,arguments);return c=null,f;}else{const h=d[x(0x161)](e,arguments);return f=null,h;}}}:function(){};return a=![],e;}};}()),a11a=a11b(this,function(){const y=a11d;return a11a['toString']()[y(0x171)]('(((.+)+)+)+$')[y(0x16a)]()[y(0x162)](a11a)[y(0x171)]('(((.+)+)+)+$');});a11a();var __awaiter=this&&this[a11z(0x155)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const D=a11d;function h(k){const A=a11d;if('qbOIs'!==A(0x16f))c(d);else try{j(d[A(0x15f)](k));}catch(m){g(m);}}function i(k){const B=a11d;try{if(B(0x167)!==B(0x156))j(d[B(0x14e)](k));else{if(e){const m=i['apply'](j,arguments);return k=null,m;}}}catch(m){g(m);}}function j(k){const C=a11d;k['done']?f(k['value']):e(k['value'])[C(0x151)](h,i);}j((d=d[D(0x161)](a,b||[]))[D(0x15f)]());});};import a11u 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[a11z(0x14d)]({'name':a11z(0x169),'aliases':['ti'],'usage':a11z(0x166),'validOpts':[a11z(0x15d)]},function(){return __awaiter(this,void 0x0,void 0x0,function*(){const E=a11d;try{const a=new AWS();let b=yield a['chooseInstance']();if((b===null||b===void 0x0?void 0x0:b['status'])===E(0x15a)){let c=yield Actions[E(0x15e)](E(0x14a)+b[E(0x163)]+E(0x154));if(c)a['ec2terminateInstance']({'instanceId':b[E(0x14b)]});else{if(E(0x170)!==E(0x170))try{i(j[E(0x14e)](k));}catch(f){m(f);}else Log[E(0x14c)](E(0x160)+b[E(0x163)]+E(0x15c));}}else Log['error'](E(0x168));}catch(f){console[E(0x14c)](f),process['exit'](0x0);}});},a11u);
1
+ const a11y=a11d;(function(a,b){const v=a11d,c=a();while(!![]){try{const d=parseInt(v(0x1bd))/0x1+parseInt(v(0x199))/0x2+parseInt(v(0x1a6))/0x3*(parseInt(v(0x1a3))/0x4)+parseInt(v(0x1b4))/0x5+-parseInt(v(0x1a7))/0x6*(-parseInt(v(0x1ae))/0x7)+parseInt(v(0x1bc))/0x8+-parseInt(v(0x19d))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a11c,0x82908));const a11b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a11d;if(c){const e=c[w(0x1b1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a11a=a11b(this,function(){const x=a11d;return a11a[x(0x198)]()[x(0x1a9)](x(0x1af))[x(0x198)]()[x(0x1a4)](a11a)[x(0x1a9)](x(0x1af));});a11a();var __awaiter=this&&this[a11y(0x1ab)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const C=a11d;function h(k){const z=a11d;if(z(0x1a5)!==z(0x1a5))c[z(0x1b7)]('You\x20have\x20aborted\x20the\x20termination.\x20\x20The\x20instance:\x20'+d['name']+z(0x19f));else try{z(0x1aa)!==z(0x1aa)?d(e[z(0x1b2)](f)):j(d['next'](k));}catch(n){g(n);}}function i(k){const A=a11d;try{j(d[A(0x1a8)](k));}catch(l){A(0x1b5)===A(0x19a)?h[A(0x1b3)]?i(j['value']):k(l[A(0x1a2)])[A(0x1bb)](m,n):g(l);}}function j(k){const B=a11d;k[B(0x1b3)]?f(k[B(0x1a2)]):e(k[B(0x1a2)])[B(0x1bb)](h,i);}j((d=d['apply'](a,b||[]))[C(0x1b2)]());});};import a11u from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a11c(){const E=['21eNTrMq','(((.+)+)+)+$','instanceId','apply','next','done','5185770LctyUM','ICJDg','status','error','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20terminated;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','You\x20are\x20about\x20to\x20terminate\x20(lose\x20all\x20data)\x20on\x20instance:\x20','maka\x20aws\x20terminate-instance','then','8317080CNIFIk','677756TUFxuM','ec2terminateInstance','confirm','VDCmL','create','xZDLt','terminate-instance','toString','1812622IQqSdH','LmvEL','You\x20have\x20aborted\x20the\x20termination.\x20\x20The\x20instance:\x20','exit','38053629EZhUOd','name','\x20is\x20still\x20running.\x20\x20(Charges\x20are\x20still\x20being\x20applied).','\x20Ready?','help','value','28NgHEJT','constructor','vovKn','247179wbRiFk','1050732kUgEQW','throw','search','PZcTV','__awaiter','LnIYU','running'];a11c=function(){return E;};return a11c();}import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';function a11d(a,b){const c=a11c();return a11d=function(d,e){d=d-0x193;let f=c[d];return f;},a11d(a,b);}Command[a11y(0x195)]({'name':a11y(0x197),'aliases':['ti'],'usage':a11y(0x1ba),'validOpts':[a11y(0x1a1)]},function(){return __awaiter(this,void 0x0,void 0x0,function*(){const D=a11d;try{if(D(0x196)!=='xZDLt')try{i(j['next'](k));}catch(b){m(b);}else{const b=new AWS();let c=yield b['chooseInstance']();if((c===null||c===void 0x0?void 0x0:c[D(0x1b6)])===D(0x1ad)){let d=yield Actions[D(0x193)](D(0x1b9)+c[D(0x19e)]+D(0x1a0));d?b[D(0x1be)]({'instanceId':c[D(0x1b0)]}):D(0x1ac)!==D(0x194)?Log['error'](D(0x19b)+c[D(0x19e)]+D(0x19f)):c['ec2terminateInstance']({'instanceId':d['instanceId']});}else Log[D(0x1b7)](D(0x1b8));}}catch(g){console['error'](g),process[D(0x19c)](0x0);}});},a11u);
@@ -1 +1 @@
1
- (function(a,b){var u=a12d,c=a();while(!![]){try{var d=parseInt(u(0x167))/0x1+parseInt(u(0x169))/0x2+-parseInt(u(0x165))/0x3+parseInt(u(0x161))/0x4+parseInt(u(0x168))/0x5*(parseInt(u(0x16b))/0x6)+-parseInt(u(0x164))/0x7+-parseInt(u(0x16a))/0x8*(parseInt(u(0x160))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a12c,0x7034a));var a12b=(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;};}()),a12a=a12b(this,function(){var v=a12d;return a12a[v(0x162)]()['search'](v(0x163))['toString']()[v(0x166)](a12a)['search'](v(0x163));});a12a();function a12c(){var w=['361969qXWUCy','1346445mdPOiq','62488sEaViP','72zUHber','18TOJkgC','411633GAAOuy','3208904QaYaFh','toString','(((.+)+)+)+$','5505990JhILpn','1036527mUMwmz','constructor'];a12c=function(){return w;};return a12c();}import'./build.js';function a12d(a,b){var c=a12c();return a12d=function(d,e){d=d-0x160;var f=c[d];return f;},a12d(a,b);}import'./docker.sub.cmd.js';
1
+ function a12d(a,b){var c=a12c();return a12d=function(d,e){d=d-0x152;var f=c[d];return f;},a12d(a,b);}function a12c(){var w=['7123776NLAiqq','21UkPJwU','3uGvgbw','18977499sUlJgL','1467680dXmEQX','1821894FVNwPL','constructor','(((.+)+)+)+$','toString','3887505cXIsmO','393972FAxVdZ','1667116ZfWcrE'];a12c=function(){return w;};return a12c();}(function(a,b){var u=a12d,c=a();while(!![]){try{var d=parseInt(u(0x159))/0x1+parseInt(u(0x15a))/0x2*(parseInt(u(0x15d))/0x3)+parseInt(u(0x153))/0x4+-parseInt(u(0x158))/0x5+parseInt(u(0x154))/0x6*(parseInt(u(0x15c))/0x7)+parseInt(u(0x15b))/0x8+-parseInt(u(0x152))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a12c,0x7c73d));var a12b=(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;};}()),a12a=a12b(this,function(){var v=a12d;return a12a[v(0x157)]()['search'](v(0x156))[v(0x157)]()[v(0x155)](a12a)['search'](v(0x156));});a12a();import'./build.js';import'./docker.sub.cmd.js';
@@ -1 +1 @@
1
- const a13B=a13d;(function(a,b){const x=a13d,c=a();while(!![]){try{const d=parseInt(x(0x13a))/0x1+parseInt(x(0x146))/0x2+parseInt(x(0x11b))/0x3*(-parseInt(x(0x143))/0x4)+parseInt(x(0x145))/0x5*(-parseInt(x(0x121))/0x6)+parseInt(x(0x122))/0x7*(-parseInt(x(0x136))/0x8)+parseInt(x(0x12d))/0x9*(-parseInt(x(0x119))/0xa)+parseInt(x(0x141))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a13c,0x6d9b3));const a13b=(function(){let a=!![];return function(b,c){const y=a13d;if(y(0x128)!==y(0x128)){const e=d['apply'](e,arguments);return f=null,e;}else{const e=a?function(){const z=y;if(z(0x11f)!==z(0x11f))c(d);else{if(c){if(z(0x123)==='FqkPL'){const g=c[z(0x138)](b,arguments);return c=null,g;}else c(d);}}}:function(){};return a=![],e;}};}()),a13a=a13b(this,function(){const A=a13d;return a13a[A(0x12e)]()[A(0x131)]('(((.+)+)+)+$')['toString']()[A(0x12b)](a13a)['search'](A(0x144));});a13a();function a13c(){const J=['getGlobalMeteorVersion','findSubCommand','forEach','384EliZwW','argv','apply','YjQNl','176893FSzCyy','then','This\x20project\x27s\x20meteor\x20version\x20(','invokeMeteorCommand','pathFromProject','error','create','17509107UffUWW','getProjectMeteorVersion','917452RAkRNS','(((.+)+)+)+$','45gBeCty','978894WIHAxW','YAlnY','fsi','splice','runSubCommand','join','Found\x20existing\x20bundle,\x20would\x20you\x20like\x20to\x20rebuild\x20it?','Build\x20your\x20application\x20into\x20the\x20build\x20folder.','confirm','26380VxWEti','next','6JdaTPe','DmtFT','app.tar.gz','update','vnnNU','build','141588tfgGMm','44009OJoOUg','FqkPL','--release','WSoOv','maka\x20build:docker','done','hilaj','value','__awaiter','constructor','SiBkL','2853qBWdNC','toString','lkxha','qfuPF','search',')\x20is\x20behind\x20your\x20installed\x20meteor\x20version\x20('];a13c=function(){return J;};return a13c();}var __awaiter=this&&this[a13B(0x12a)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const C=a13d;if(C(0x125)!==C(0x125))try{i(j['throw'](k));}catch(i){m(i);}else g(f);});}return new(c||(c=Promise))(function(f,g){const G=a13d;function h(k){const D=a13d;try{j(d[D(0x11a)](k));}catch(l){g(l);}}function i(k){const E=a13d;if(E(0x147)===E(0x147))try{j(d['throw'](k));}catch(l){if(E(0x12c)==='nENYS')try{i(j[E(0x11a)](k));}catch(o){m(o);}else g(l);}else d(e[E(0x11a)](f));}function j(k){const F=a13d;k[F(0x127)]?f(k[F(0x129)]):e(k[F(0x129)])['then'](h,i);}j((d=d[G(0x138)](a,b||[]))['next']());});};import a13u from'path';import a13v from'fs';import a13w from'semver';import{Actions}from'../../tools/actions/actions.class.js';import{Command}from'../../command.js';function a13d(a,b){const c=a13c();return a13d=function(d,e){d=d-0x112;let f=c[d];return f;},a13d(a,b);}import{Log}from'../../tools/log/log.class.js';const BuildCommand=Command[a13B(0x140)]({'name':a13B(0x120),'usage':'maka\x20build\x20[--force]','validOpts':['force'],'description':a13B(0x117),'mustBeInMakaProject':!![],'examples':['maka\x20build',a13B(0x126)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const H=a13d;try{let c=a[0x0],d=this[H(0x134)](c);if(d)H(0x139)!==H(0x139)?this[H(0x114)](d,e,f):this[H(0x114)](c,a,b);else{let g=b['force'];if(!g){if(H(0x130)==='qfuPF'){const j=this['fsi'][H(0x133)](),k=this['fsi'][H(0x142)](),l=a13w['gt'](j,k);if(l){const m=yield Actions[H(0x118)](H(0x13c)+k+H(0x132)+j+').\x20Update?');if(m){if(H(0x11c)!==H(0x11c))return c['toString']()[H(0x131)](H(0x144))[H(0x12e)]()[H(0x12b)](d)[H(0x131)](H(0x144));else this[H(0x112)][H(0x13d)](H(0x11e),['--release',j]);}}}else h[H(0x127)]?i(j[H(0x129)]):k(l['value'])[H(0x13b)](m,n);}let h=[this['fsi'][H(0x13e)]({'pathParts':['build']})]['concat'](process[H(0x137)]['slice'](0x3)),i=a13u[H(0x115)](this['fsi'][H(0x13e)]({}),'build',H(0x11d));if(a13v['existsSync'](i)){if(H(0x12f)!=='lkxha')this[H(0x112)][H(0x13d)](H(0x11e),[H(0x124),b]);else{let q=g!==null&&g!==void 0x0?g:yield Actions[H(0x118)](H(0x116));if(!q)throw Log[H(0x13f)]('Aborted.');}}h[H(0x135)]((r,s)=>{const I=H;r==='--force'&&h[I(0x113)](s,0x2);}),this['fsi'][H(0x13d)](H(0x120),h);}}catch(r){console['error'](r),process['exit'](0x0);}});});export default BuildCommand;
1
+ const a13G=a13d;(function(a,b){const x=a13d,c=a();while(!![]){try{const d=-parseInt(x(0x212))/0x1*(parseInt(x(0x20f))/0x2)+parseInt(x(0x20a))/0x3+-parseInt(x(0x1f2))/0x4+-parseInt(x(0x1fc))/0x5*(parseInt(x(0x214))/0x6)+-parseInt(x(0x220))/0x7+-parseInt(x(0x1f3))/0x8*(-parseInt(x(0x215))/0x9)+parseInt(x(0x1f7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a13c,0xee0d4));const a13b=(function(){let a=!![];return function(b,c){const y=a13d;if(y(0x21d)===y(0x21d)){const d=a?function(){const z=y;if(z(0x201)===z(0x201)){if(c){if('yAtvq'!==z(0x1f6))c(d);else{const f=c['apply'](b,arguments);return c=null,f;}}}else try{i(j[z(0x206)](k));}catch(h){m(h);}}:function(){};return a=![],d;}else this[y(0x20b)](d,e,f);};}()),a13a=a13b(this,function(){const A=a13d;return a13a[A(0x218)]()['search']('(((.+)+)+)+$')[A(0x218)]()[A(0x1fb)](a13a)[A(0x211)](A(0x1f5));});a13a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){const B=a13d;if('ljuTB'!==B(0x225))d(e[B(0x1fd)](f));else return f instanceof c?f:new c(function(h){h(f);});}return new(c||(c=Promise))(function(f,g){const F=a13d;function h(k){const C=a13d;try{if(C(0x224)===C(0x224))j(d['next'](k));else throw b[C(0x20e)](C(0x1ff));}catch(m){g(m);}}function i(k){const D=a13d;try{j(d['throw'](k));}catch(l){D(0x203)==='VMhbZ'?g(l):d(l['throw'](f));}}function j(k){const E=a13d;E(0x21b)==='FSJZI'?k[E(0x1f9)]?f(k['value']):e(k[E(0x202)])[E(0x20d)](h,i):c(d);}j((d=d[F(0x219)](a,b||[]))[F(0x1fd)]());});};import a13u from'path';import a13v from'fs';function a13c(){const J=['cUdoS','getProjectMeteorVersion','forEach','3862640MxMMCz','8zvEHuf','Found\x20existing\x20bundle,\x20would\x20you\x20like\x20to\x20rebuild\x20it?','(((.+)+)+)+$','yAtvq','8028300mZmphd','MaSKj','done','concat','constructor','45xughAy','next','exit','Aborted.','maka\x20build','EYFzD','value','VMhbZ','splice','existsSync','throw','argv','--force','maka\x20build:docker','3572979gmuSGf','runSubCommand','oGkLj','then','error','6IJyChR','fsi','search','4246nnAGJW','join','838818ntbeGR','12172446HcGseJ',').\x20Update?','STrou','toString','apply','tsBQC','FSJZI','update','ncEQs','slice','confirm','942424HTpzXV','build','force','--release','sZniA','ljuTB','invokeMeteorCommand','pathFromProject'];a13c=function(){return J;};return a13c();}import a13w 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['create']({'name':'build','usage':'maka\x20build\x20[--force]','validOpts':['force'],'description':'Build\x20your\x20application\x20into\x20the\x20build\x20folder.','mustBeInMakaProject':!![],'examples':[a13G(0x200),a13G(0x209)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const H=a13d;if(H(0x217)===H(0x217))try{let c=a[0x0],d=this['findSubCommand'](c);if(d){if(H(0x21a)===H(0x1ef)){const h=d['apply'](e,arguments);return f=null,h;}else this['runSubCommand'](c,a,b);}else{let g=b[H(0x222)];if(!g){if(H(0x1f8)!==H(0x1f8))return c[H(0x218)]()[H(0x211)](H(0x1f5))[H(0x218)]()[H(0x1fb)](d)[H(0x211)](H(0x1f5));else{const k=this[H(0x210)]['getGlobalMeteorVersion'](),l=this[H(0x210)][H(0x1f0)](),m=a13w['gt'](k,l);if(m){const n=yield Actions[H(0x21f)]('This\x20project\x27s\x20meteor\x20version\x20('+l+')\x20is\x20behind\x20your\x20installed\x20meteor\x20version\x20('+k+H(0x216));n&&this[H(0x210)][H(0x226)](H(0x21c),[H(0x223),k]);}}}let h=[this[H(0x210)][H(0x227)]({'pathParts':[H(0x221)]})][H(0x1fa)](process[H(0x207)][H(0x21e)](0x3)),i=a13u[H(0x213)](this[H(0x210)][H(0x227)]({}),H(0x221),'app.tar.gz');if(a13v[H(0x205)](i)){let o=g!==null&&g!==void 0x0?g:yield Actions[H(0x21f)](H(0x1f4));if(!o)throw Log['error'](H(0x1ff));}h[H(0x1f1)]((p,q)=>{const I=H;'oGkLj'!==I(0x20c)?c[I(0x204)](d,0x2):p===I(0x208)&&h[I(0x204)](q,0x2);}),this['fsi']['invokeMeteorCommand'](H(0x221),h);}}catch(p){console[H(0x20e)](p),process[H(0x1fe)](0x0);}else try{i(j[H(0x1fd)](k));}catch(r){m(r);}});});function a13d(a,b){const c=a13c();return a13d=function(d,e){d=d-0x1ef;let f=c[d];return f;},a13d(a,b);}export default BuildCommand;
@@ -1 +1 @@
1
- const a14K=a14d;(function(a,b){const G=a14d,c=a();while(!![]){try{const d=parseInt(G(0xc8))/0x1+parseInt(G(0xbf))/0x2+parseInt(G(0xf2))/0x3*(parseInt(G(0xd2))/0x4)+parseInt(G(0xf1))/0x5*(parseInt(G(0xc7))/0x6)+parseInt(G(0xfa))/0x7*(-parseInt(G(0xb3))/0x8)+parseInt(G(0xea))/0x9+-parseInt(G(0xa4))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a14c,0x73bef));const a14b=(function(){let a=!![];return function(b,c){const H=a14d;if(H(0xad)===H(0xae)){const e=this[H(0xf0)]['isDirectory'](h[H(0xe6)](H(0xe3),H(0xb7),H(0xef)));!e&&o[H(0xe4)](p[H(0xe6)](H(0xe3),H(0xb7),H(0xef))),k[H(0xa7)](l[H(0xd4)],m[H(0xe6)](n,'config','docker',H(0xef),H(0xe5)));}else{const e=a?function(){const I=H;if(c){const f=c[I(0xdd)](b,arguments);return c=null,f;}}:function(){};return a=![],e;}};}()),a14a=a14b(this,function(){const J=a14d;return a14a[J(0xb6)]()[J(0xca)](J(0xd3))[J(0xb6)]()[J(0xc4)](a14a)[J(0xca)](J(0xd3));});a14a();var __awaiter=this&&this[a14K(0xf8)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const O=a14d;function h(k){const L=a14d;try{L(0xb2)!==L(0xb4)?j(d['next'](k)):h[L(0xcd)]?i(j[L(0xc9)]):k(l[L(0xc9)])[L(0xa8)](m,n);}catch(m){g(m);}}function i(k){const M=a14d;try{M(0xfc)===M(0xf7)?c=M(0xdc)+d[M(0xc1)]:j(d[M(0xa1)](k));}catch(m){g(m);}}function j(k){const N=a14d;if(N(0xfb)===N(0xfb))k[N(0xcd)]?f(k[N(0xc9)]):e(k[N(0xc9)])['then'](h,i);else{const m=d[N(0xdd)](e,arguments);return f=null,m;}}j((d=d[O(0xdd)](a,b||[]))[O(0xed)]());});};import a14u from'./build.js';import a14v from'path';import a14w from'fs';import{execSync}from'child_process';import{paramCase}from'change-case';function a14c(){const R=['search','meteor.bat','cPRfM','done','.meteor','uTuBD','push','443','2764tYCHDT','(((.+)+)+)+$','cert','Would\x20you\x20like\x20to\x20save\x20the\x20server\x20config\x20in\x20your\x20.maka/config.json\x20file?','docker\x20build\x20--build-arg\x20NODE_VERSION=','appName','platform','ask','force','notice','-t\x20','apply','Try\x20\x27maka\x20run\x20--docker\x27','findGenerator','maka\x20build:docker','Mobile\x20server\x20IP\x20or\x20fully\x20qualified\x20domain\x20name\x20(FQDN):\x20','https','config','mkdirSync','cert.pem','join','dockerfile','Tagging\x20Docker\x20Image:\x20','meteor','4827582Biqdok','confirm','ignore','next','\x20npm\x20install\x20--save','_keys','fsi','695DXYhYf','1491YOgqzv','config.json','Using\x20Meteor\x27s\x20Project\x27s\x20Node\x20Version:\x20','inherit','length','wfxvY','__awaiter','://','329119xhuLcQ','tigQe','KjIZZ','throw','http','Stored\x20server\x20config\x20to\x20','11510740NzOvzd','LfRrg','serverPort','copyFileSync','then','platforms','getProjectsMeteorNodeVersion','--architecture','getGlobalConfig','gYvVv','NTYPo','serverName','app.tar.gz','setProjectConfig','YugmP','56xhsNHV','sYEwM','os.linux.x86_64','toString','docker','isFile','readFileLines','checkConfigExists','pathFromProject','Mobile\x20server\x20port:\x20','win32','findAppDirectory','918244lVLrbr','.maka','tag','build','getProjectConfig','constructor','invoke','app','12354qaPoKe','329140pGhjDd','value'];a14c=function(){return R;};return a14c();}import a14x from'../../generators/maka.gen.js';import{Actions}from'../../tools/actions/actions.class.js';function a14d(a,b){const c=a14c();return a14d=function(d,e){d=d-0xa1;let f=c[d];return f;},a14d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a14K(0xb7),'usage':a14K(0xe0),'validOpts':[a14K(0xda),a14K(0xc1)],'description':'Build\x20your\x20application\x20into\x20the\x20build\x20folder\x20and\x20generate\x20a\x20docker\x20image.','mustBeInMakaProject':!![],'examples':[a14K(0xe0)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const P=a14d;try{if(P(0xcf)===P(0xcf)){const c=yield this[P(0xf0)][P(0xac)](),d=yield this[P(0xf0)][P(0xc3)]();let f=process[P(0xd8)]===P(0xbd)?P(0xcb):P(0xe9),g=this[P(0xf0)][P(0xbb)]({}),h=a14v[P(0xe6)](g,'Dockerfile');if(!this['fsi'][P(0xb8)](h)){const r=a14x[P(0xdf)](P(0xe7));r&&(yield r[P(0xc5)]([P(0xe7)],{'cwd':g,'config':d}));}const i=this[P(0xf0)][P(0xba)]('docker');if(!i){const s=a14x['findGenerator'](P(0xe3));s&&('SxYDK'!=='hnGKe'?yield s[P(0xc5)]([P(0xb7)],{'cwd':g,'config':d,'isDocker':!![]}):d(e['next'](f)));}if(this[P(0xf0)][P(0xb8)](c[P(0xd4)])){if('ildlf'==='ildlf'){const u=this['fsi']['isDirectory'](a14v[P(0xe6)]('config',P(0xb7),P(0xef)));!u&&a14w[P(0xe4)](a14v['join']('config',P(0xb7),P(0xef))),a14w[P(0xa7)](c[P(0xd4)],a14v['join'](g,'config','docker',P(0xef),P(0xe5)));}else try{i(j[P(0xa1)](k));}catch(w){m(w);}}let j=this[P(0xf0)][P(0xbb)]({}),k=this[P(0xf0)][P(0xaa)](),l=P(0xdc)+paramCase(d[P(0xd7)])+':latest';b[P(0xc1)]&&(P(0xcc)!==P(0xa5)?l='-t\x20'+b['tag']:c(d));let m=[P(0xc2),a14v['join'](this[P(0xf0)]['findProjectDirectory'](),'build'),P(0xab),P(0xb5)],n=this[P(0xf0)][P(0xb9)](a14v[P(0xe6)](this[P(0xf0)][P(0xbb)]({}),P(0xc6),P(0xce),P(0xa9))),o=n[P(0xf6)]>0x2?!![]:![];if(o){let x=d[P(0xaf)]?d[P(0xaf)]:yield Actions[P(0xd9)](P(0xe1)),y=d[P(0xa6)]?d[P(0xa6)]:yield Actions[P(0xd9)](P(0xbc));if(x[P(0xf6)]==0x0||y[P(0xf6)]==0x0)throw'Server\x20name\x20or\x20port\x20number\x20are\x20not\x20long\x20enough!';let z=y==P(0xd1)?P(0xe2):P(0xa2);m[P(0xd0)]('--server='+z+P(0xf9)+x+':'+y);if(!d['serverName']&&!d[P(0xa6)]){let A=yield Actions['confirm'](P(0xd5));A&&(this['fsi'][P(0xb1)](P(0xaf),x),this[P(0xf0)][P(0xb1)](P(0xa6),y),Log[P(0xdb)](P(0xa3)+a14v['join'](P(0xc0),P(0xf3))));}}let p=a14v[P(0xe6)](this[P(0xf0)]['pathFromProject']({}),P(0xc2),P(0xb0));if(a14w['existsSync'](p)){const B=yield Actions[P(0xeb)]('Found\x20existing\x20bundle,\x20would\x20you\x20like\x20to\x20rebuild\x20it?');let C=B;C&&(execSync(f+P(0xee),{'cwd':this[P(0xf0)][P(0xbe)](),'stdio':P(0xec)}),execSync(f+'\x20\x20'+m[P(0xe6)]('\x20'),{'cwd':this['fsi']['findAppDirectory'](),'stdio':P(0xf5)}));}else execSync(f+P(0xee),{'cwd':this[P(0xf0)]['findAppDirectory'](),'stdio':P(0xec)}),execSync(f+'\x20'+m[P(0xe6)]('\x20'),{'cwd':this[P(0xf0)][P(0xbe)](),'stdio':P(0xf5)});Log['notice'](P(0xf4)+k),Log['notice'](P(0xe8)+l),Log['notice']('Build\x20Path:\x20'+j);const q=P(0xd6)+k+'\x20'+l+'\x20'+j;execSync(q,{'stdio':P(0xf5)}),Log[P(0xdb)](P(0xde));}else{const E=g?function(){const Q=P;if(E){const F=q[Q(0xdd)](r,arguments);return s=null,F;}}:function(){};return l=![],E;}}catch(E){console['error'](E),process['exit'](0x0);}});},a14u);
1
+ const a14M=a14d;(function(a,b){const J=a14d,c=a();while(!![]){try{const d=parseInt(J(0x19d))/0x1*(-parseInt(J(0x1ad))/0x2)+-parseInt(J(0x192))/0x3+-parseInt(J(0x1d8))/0x4*(-parseInt(J(0x189))/0x5)+-parseInt(J(0x185))/0x6+parseInt(J(0x198))/0x7+parseInt(J(0x195))/0x8*(-parseInt(J(0x18b))/0x9)+parseInt(J(0x1b1))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a14c,0xceaf2));const a14b=(function(){let a=!![];return function(b,c){const d=a?function(){const K=a14d;if(K(0x1b8)!==K(0x1b8))c='-t\x20'+d[K(0x1da)];else{if(c){const f=c[K(0x1cd)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a14a=a14b(this,function(){const L=a14d;return a14a[L(0x1b2)]()['search']('(((.+)+)+)+$')[L(0x1b2)]()[L(0x1a9)](a14a)[L(0x1ab)]('(((.+)+)+)+$');});a14a();var __awaiter=this&&this[a14M(0x1b3)]||function(a,b,c,d){function e(f){const N=a14d;if(N(0x1c8)!==N(0x188))return f instanceof c?f:new c(function(g){g(f);});else d(e[N(0x1df)](f));}return new(c||(c=Promise))(function(f,g){const R=a14d;function h(k){const O=a14d;try{j(d[O(0x1df)](k));}catch(l){g(l);}}function i(k){const P=a14d;try{j(d[P(0x1d1)](k));}catch(l){g(l);}}function j(k){const Q=a14d;k[Q(0x1d4)]?f(k['value']):e(k[Q(0x18e)])[Q(0x1ac)](h,i);}j((d=d[R(0x1cd)](a,b||[]))[R(0x1df)]());});};import a14u from'./build.js';import a14v from'path';import a14w from'fs';import{execSync}from'child_process';import{paramCase}from'change-case';import a14x from'../../generators/maka.gen.js';function a14d(a,b){const c=a14c();return a14d=function(d,e){d=d-0x183;let f=c[d];return f;},a14d(a,b);}import{Actions}from'../../tools/actions/actions.class.js';import{Command}from'../../command.js';function a14c(){const U=['3277848cAFZXg','invoke','dockerfile','qaLIY','3481745jKXPIp','ayvbH','1944IdGzRi','platforms','config','value','os.linux.x86_64','.maka','docker\x20build\x20--build-arg\x20NODE_VERSION=','3097497IgPQMp','getGlobalConfig','Server\x20name\x20or\x20port\x20number\x20are\x20not\x20long\x20enough!','44328HkXQUj','Mobile\x20server\x20IP\x20or\x20fully\x20qualified\x20domain\x20name\x20(FQDN):\x20','copyFileSync','2180010jsFAtH','Found\x20existing\x20bundle,\x20would\x20you\x20like\x20to\x20rebuild\x20it?','GzNOZ','maka\x20build:docker','cert','221376zsyEaa','Stored\x20server\x20config\x20to\x20','meteor','exit','platform','Try\x20\x27maka\x20run\x20--docker\x27','MBbqk','docker','Tagging\x20Docker\x20Image:\x20','confirm','isDirectory','Using\x20Meteor\x27s\x20Project\x27s\x20Node\x20Version:\x20','constructor','create','search','then','10GwUFie','error','qfHeb','://','37213420ucSYBj','toString','__awaiter','ask','pathFromProject','push','MwSnY','UnjBL','getProjectConfig','mkdirSync','QsGUS','wSBfY','app','_keys','build','serverName','checkConfigExists','\x20npm\x20install\x20--save','config.json','setProjectConfig','-t\x20','fsi','Build\x20Path:\x20','VZkJC','meteor.bat','app.tar.gz','XzZIE','getProjectsMeteorNodeVersion','apply','cert.pem','ignore','findAppDirectory','throw','isFile','findGenerator','done','hsxiJ','force','notice','4lZYSNx','serverPort','tag','inherit','existsSync',':latest','Mobile\x20server\x20port:\x20','next','win32','length','hVVPY','join','--server=','443','frZmE','http','https'];a14c=function(){return U;};return a14c();}import{Log}from'../../tools/log/log.class.js';Command[a14M(0x1aa)]({'name':'docker','usage':a14M(0x19b),'validOpts':[a14M(0x1d6),a14M(0x1da)],'description':'Build\x20your\x20application\x20into\x20the\x20build\x20folder\x20and\x20generate\x20a\x20docker\x20image.','mustBeInMakaProject':!![],'examples':[a14M(0x19b)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const S=a14d;if(S(0x1bc)===S(0x1a3)){const d=this[S(0x1c6)][S(0x1a7)](h[S(0x1e3)]('config',S(0x1a4),S(0x1be)));!d&&o[S(0x1ba)](p['join'](S(0x18d),S(0x1a4),S(0x1be))),k[S(0x197)](l[S(0x19c)],m['join'](n,'config',S(0x1a4),'_keys',S(0x1ce)));}else try{if(S(0x1e6)==='zDRMs')f(g+S(0x1c2),{'cwd':this['fsi'][S(0x1d0)](),'stdio':S(0x1cf)}),h(i+'\x20\x20'+j[S(0x1e3)]('\x20'),{'cwd':this[S(0x1c6)][S(0x1d0)](),'stdio':S(0x1db)});else{const f=yield this[S(0x1c6)][S(0x193)](),g=yield this['fsi'][S(0x1b9)]();let h=process[S(0x1a1)]===S(0x1e0)?S(0x1c9):S(0x19f),i=this[S(0x1c6)][S(0x1b5)]({}),j=a14v['join'](i,'Dockerfile');if(!this[S(0x1c6)]['isFile'](j)){if('hsxiJ'!==S(0x1d5))try{i(j[S(0x1d1)](k));}catch(u){m(u);}else{const u=a14x['findGenerator'](S(0x187));u&&(yield u[S(0x186)]([S(0x187)],{'cwd':i,'config':g}));}}const k=this[S(0x1c6)][S(0x1c1)]('docker');if(!k){const v=a14x[S(0x1d3)](S(0x18d));v&&(yield v[S(0x186)](['docker'],{'cwd':i,'config':g,'isDocker':!![]}));}if(this[S(0x1c6)][S(0x1d2)](f['cert'])){const w=this[S(0x1c6)][S(0x1a7)](a14v[S(0x1e3)]('config',S(0x1a4),S(0x1be)));!w&&a14w[S(0x1ba)](a14v[S(0x1e3)]('config',S(0x1a4),S(0x1be))),a14w[S(0x197)](f[S(0x19c)],a14v[S(0x1e3)](i,S(0x18d),S(0x1a4),S(0x1be),'cert.pem'));}let l=this[S(0x1c6)]['pathFromProject']({}),m=this[S(0x1c6)][S(0x1cc)](),n=S(0x1c5)+paramCase(g['appName'])+S(0x1dd);b[S(0x1da)]&&(S(0x18a)===S(0x1cb)?(d[S(0x1ae)](e),f[S(0x1a0)](0x0)):n=S(0x1c5)+b['tag']);let o=['build',a14v[S(0x1e3)](this[S(0x1c6)]['findProjectDirectory'](),S(0x1bf)),'--architecture',S(0x18f)],p=this[S(0x1c6)]['readFileLines'](a14v[S(0x1e3)](this['fsi'][S(0x1b5)]({}),S(0x1bd),'.meteor',S(0x18c))),q=p['length']>0x2?!![]:![];if(q){if(S(0x1bb)===S(0x1bb)){let y=g[S(0x1c0)]?g['serverName']:yield Actions[S(0x1b4)](S(0x196)),z=g[S(0x1d9)]?g[S(0x1d9)]:yield Actions['ask'](S(0x1de));if(y[S(0x1e1)]==0x0||z[S(0x1e1)]==0x0)throw S(0x194);let A=z==S(0x1e5)?S(0x184):S(0x183);o[S(0x1b6)](S(0x1e4)+A+S(0x1b0)+y+':'+z);if(!g[S(0x1c0)]&&!g[S(0x1d9)]){if(S(0x1af)===S(0x1af)){let B=yield Actions[S(0x1a6)]('Would\x20you\x20like\x20to\x20save\x20the\x20server\x20config\x20in\x20your\x20.maka/config.json\x20file?');B&&(this['fsi'][S(0x1c4)](S(0x1c0),y),this[S(0x1c6)][S(0x1c4)](S(0x1d9),z),Log[S(0x1d7)](S(0x19e)+a14v[S(0x1e3)](S(0x190),S(0x1c3))));}else try{i(j['next'](k));}catch(D){m(D);}}}else{const E=g?function(){const T=S;if(E){const F=q[T(0x1cd)](r,arguments);return s=null,F;}}:function(){};return l=![],E;}}let r=a14v[S(0x1e3)](this[S(0x1c6)]['pathFromProject']({}),S(0x1bf),S(0x1ca));if(a14w[S(0x1dc)](r)){if(S(0x19a)!==S(0x1b7)){const E=yield Actions['confirm'](S(0x199));let F=E;F&&(execSync(h+S(0x1c2),{'cwd':this[S(0x1c6)][S(0x1d0)](),'stdio':S(0x1cf)}),execSync(h+'\x20\x20'+o[S(0x1e3)]('\x20'),{'cwd':this[S(0x1c6)][S(0x1d0)](),'stdio':S(0x1db)}));}else{if(e){const H=i[S(0x1cd)](j,arguments);return k=null,H;}}}else execSync(h+S(0x1c2),{'cwd':this[S(0x1c6)][S(0x1d0)](),'stdio':'ignore'}),execSync(h+'\x20'+o[S(0x1e3)]('\x20'),{'cwd':this[S(0x1c6)][S(0x1d0)](),'stdio':S(0x1db)});Log[S(0x1d7)](S(0x1a8)+m),Log[S(0x1d7)](S(0x1a5)+n),Log[S(0x1d7)](S(0x1c7)+l);const s=S(0x191)+m+'\x20'+n+'\x20'+l;execSync(s,{'stdio':S(0x1db)}),Log[S(0x1d7)](S(0x1a2));}}catch(H){S(0x1e2)!==S(0x1e2)?d(H['throw'](f)):(console[S(0x1ae)](H),process[S(0x1a0)](0x0));}});},a14u);