@maka/maka-cli 4.1.12 → 4.1.14

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 (89) 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/reconfig.js +1 -1
  39. package/dist/commands/run.js +1 -1
  40. package/dist/commands/set/_index.js +1 -1
  41. package/dist/commands/set/global.sub.cmd.js +1 -1
  42. package/dist/commands/set/local.sub.cmd.js +1 -1
  43. package/dist/commands/set/set.command.js +1 -1
  44. package/dist/commands/ssh.js +1 -1
  45. package/dist/commands/ssl.js +1 -1
  46. package/dist/commands/test.js +1 -1
  47. package/dist/commands/version.js +1 -1
  48. package/dist/error.js +1 -1
  49. package/dist/generator.js +1 -1
  50. package/dist/generators/_index.js +1 -1
  51. package/dist/generators/api.js +1 -1
  52. package/dist/generators/collection.js +1 -1
  53. package/dist/generators/component.js +1 -1
  54. package/dist/generators/config.js +1 -1
  55. package/dist/generators/dbc.js +1 -1
  56. package/dist/generators/dockerfile.js +1 -1
  57. package/dist/generators/hook.js +1 -1
  58. package/dist/generators/kit.js +1 -1
  59. package/dist/generators/layout.js +1 -1
  60. package/dist/generators/maka.gen.js +1 -1
  61. package/dist/generators/methods.js +1 -1
  62. package/dist/generators/package.js +1 -1
  63. package/dist/generators/page.js +1 -1
  64. package/dist/generators/publish.js +1 -1
  65. package/dist/generators/route.js +1 -1
  66. package/dist/generators/scaffold.js +1 -1
  67. package/dist/generators/service.js +1 -1
  68. package/dist/generators/services/_index.js +1 -1
  69. package/dist/generators/services/translation.js +1 -1
  70. package/dist/maka.js +1 -1
  71. package/dist/tool.js +1 -1
  72. package/dist/tools/actions/actions.class.js +1 -1
  73. package/dist/tools/actions/actions.test.js +1 -1
  74. package/dist/tools/aws/aws.class.js +1 -1
  75. package/dist/tools/aws/aws.interfaces.js +1 -1
  76. package/dist/tools/docker/docker.class.js +1 -1
  77. package/dist/tools/docker/docker.interfaces.js +1 -1
  78. package/dist/tools/fsi/fsi.class.js +1 -1
  79. package/dist/tools/fsi/fsi.interfaces.js +1 -1
  80. package/dist/tools/https/https.class.js +1 -1
  81. package/dist/tools/https/https.interface.js +1 -1
  82. package/dist/tools/log/log.class.js +1 -1
  83. package/dist/tools/log/log.interfaces.js +1 -1
  84. package/dist/tools/spawn-async/spawn-async.class.js +1 -1
  85. package/dist/tools/spawn-async/spawn-async.interfaces.js +1 -1
  86. package/dist/tools/ssh/ssh.class.js +1 -1
  87. package/dist/tools/ssh/ssh.interfaces.js +1 -1
  88. package/dist/tools/ssl/ssl.class.js +1 -1
  89. package/package.json +1 -1
package/dist/command.js CHANGED
@@ -1 +1 @@
1
- function a0c(){const al=['KPjtj','apply','No\x20usage\x20provided.','AFyTn','xhqiz','findCommand','assign','proFlags','validateMeteorInstall','usage','splice','addCommand\x20requires\x20a\x20Command\x20instance','filter','2efzUPJ','bTNFg','keys','push','QTQrv','Name','2749533vKohoW','search','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','No\x20aliases','call','Command.create\x20requires\x20a\x20handler\x20function!','(((.+)+)+)+$','validateMakaSubscription','Too\x20few\x20options','To\x20use\x20this\x20command,\x20\x22','function','throw','notice','Alias','hDDkb','murder','Local','lulyA','bright','Too\x20many\x20arguments','game','tableList','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20command','6496680sukOiv','win32','help','trialExpirationDate','findSubCommand','poDsC','4iczTlv','Command\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','.meteor','hTZNA','_handler','MEKBR','getPro','existsSync','pmiGQ','maxOptsLength','uQsCg','xYRMT','parent','description','validateMakaProject','run','vDyNM','name','__awaiter','_commands','kAiad','error','Command\x20requires\x20a\x20handler\x20function','then','examples','JJqmT','minOptsLength','995677EtwhqF','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','QNdhi','addCommand','number','runSubCommand','split','tJfuW','8725728UgMhkx','CFzPa','qEgmU','AsChB','Command\x20requires\x20a\x20name','includes','4714720zLaTDo','Too\x20few\x20arguments','toString','bind','find','proCommands','ZWUsa','forEach','iJfBd','concat','hmPhe','exit','jrsDk','eMEYy','maxArgLength','Trial\x20License\x20Expires:\x20','roles','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','fZOyZ','length','findProjectDirectory','mustHaveMeteorInstalled','fsi','JXdYX','Invalid\x20options:\x20','JquIy','match','Please\x20run\x20\x22maka\x20install\x20meteor\x22','Command\x20not\x20found','minArgLength','tvTTM','There\x20is\x20no\x20Meteor\x20application\x20here','ddkfv','join','sVWhZ','No\x20description\x20provided.','sort','Missing\x20required\x20option:\x20','To\x20use\x20these\x20pro\x20flags,\x20\x22','value','919926MVqsin','fBjER','trialActive','AppData','1682310SDYear','JTfaB','Too\x20many\x20options','deploy','itVxH','lJfAZ','options','Command.create\x20requires\x20some\x20options!','platform','LGTjC','Description','mustBeInMakaProject','aliases','invoke','done','next','validateParams'];a0c=function(){return al;};return a0c();}function a0d(a,b){const c=a0c();return a0d=function(d,e){d=d-0xc5;let f=c[d];return f;},a0d(a,b);}const a0R=a0d;(function(a,b){const N=a0d,c=a();while(!![]){try{const d=-parseInt(N(0x118))/0x1*(-parseInt(N(0xda))/0x2)+parseInt(N(0xe0))/0x3*(parseInt(N(0xfd))/0x4)+-parseInt(N(0x126))/0x5+parseInt(N(0xf7))/0x6+-parseInt(N(0x152))/0x7+-parseInt(N(0x120))/0x8+-parseInt(N(0x14e))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a0c,0x9710c));const a0b=(function(){let a=!![];return function(b,c){const O=a0d;if(O(0x121)===O(0x121)){const d=a?function(){const P=O;if(P(0x102)!==P(0x102)){const f=d[P(0xce)](e,arguments);return f=null,f;}else{if(c){const f=c[P(0xce)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;}else return this[O(0x158)][O(0xc8)]||'No\x20aliases';};}()),a0a=a0b(this,function(){const Q=a0d;return a0a[Q(0x128)]()[Q(0xe1)](Q(0xe6))['toString']()['constructor'](a0a)['search'](Q(0xe6));});a0a();var __awaiter=this&&this[a0R(0x10f)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const S=a0d;if(S(0x12c)===S(0x12c))g(f);else{const i=f===null||g===void 0x0?void 0x0:h[S(0xd4)]['filter'](m=>i[S(0x125)](m));if(i&&i[S(0x139)]>0x0&&j)throw S(0x14c)+(i===null||i===void 0x0?void 0x0:i['join'](',\x20'))+S(0x119);}});}return new(c||(c=Promise))(function(f,g){const W=a0d;function h(k){const T=a0d;try{if(T(0x14f)===T(0xcd))return this['options'][T(0x115)]||[];else j(d[T(0xcb)](k));}catch(m){g(m);}}function i(k){const U=a0d;try{j(d[U(0xeb)](k));}catch(l){if(U(0x123)==='GFpuc'){d[U(0x112)]('Missing\x20required\x20option:\x20'+l);throw new f();}else g(l);}}function j(k){const V=a0d;k[V(0xca)]?f(k[V(0x14d)]):e(k[V(0x14d)])[V(0x114)](h,i);}j((d=d[W(0xce)](a,b||[]))[W(0xcb)]());});};import a0I from'path';import a0J from'os';import a0K from'fs';const homeDir=a0J['homedir']();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 X=a0R;super();if(!a)throw new Error(X(0xfe));if(!a[X(0x10e)])throw new Error(X(0x124));if(typeof b!==X(0xea))throw new Error(X(0x113));this[X(0x158)]=Object[X(0xd3)]({},a),this[X(0x10e)]=this[X(0x158)][X(0x10e)],this[X(0x110)]=[],this[X(0x101)]=b[X(0x129)](this);}static['create'](a,b,c){const Y=a0R;var d;if(!a){if(Y(0xde)!=='HyJgS')throw new Error('Command.create\x20requires\x20some\x20options!');else{if(e){const g=i[Y(0xce)](j,arguments);return k=null,g;}}}if(typeof b!==Y(0xea))throw new Error(Y(0xe5));let e=new Command(a,b);return c=c||a0M,Object['assign'](e,{'parent':(d=c===null||c===void 0x0?void 0x0:c[Y(0x158)])===null||d===void 0x0?void 0x0:d['name']}),c['addCommand'](e),e;}[a0R(0x140)](a){const Z=a0R;let b=[this[Z(0x10e)]][Z(0x12f)](this[Z(0x158)][Z(0xc8)]||[]);return this[Z(0x109)]&&b['push'](this['parent']),b[Z(0x125)](a);}[a0R(0x11b)](a){const a0=a0R;if(!(a instanceof Command)){if('lJfAZ'!==a0(0x157))f[a0(0xdd)](a0(0xf9)),g[a0(0x12d)](q=>{const a1=a0;if(!k['includes'](q)){n[a1(0x112)]('Invalid\x20options:\x20'+q);throw new o();}});else throw new Error('addCommand\x20requires\x20a\x20Command\x20instance');}this['_commands'][a0(0xdd)](a);}[a0R(0x10b)](){const a2=a0R,a=this[a2(0x13c)][a2(0x13a)]();return a!==![]?!![]:![];}[a0R(0xd5)](){const a3=a0R;let a=a0I['join'](homeDir,a3(0xff));const b=process[a3(0x15a)]===a3(0xf8);if(b){if(a3(0x133)==='TFLkZ'){const d=new d({});d[a3(0xdd)](['Name',a3(0xed),a3(0xc6)]),e['sort']()['forEach'](i=>{const a4=a3;i[a4(0x10e)]!==a4(0xef)&&i[a4(0x10e)]!==a4(0xf4)&&d[a4(0xdd)]([i[a4(0x10e)],i[a4(0xc8)](),i['description']()]);}),f[a3(0xf2)](d[a3(0x128)]());}else{a=a0I[a3(0x147)](homeDir,a3(0x151),'Local','.meteor');if(!a0K[a3(0x104)](a))return![];}}else{if(!a0K[a3(0x104)](a)){if('JTfaB'===a3(0x153))return![];else f[a3(0x112)](a3(0xf6)),g[a3(0xd6)](h,i,j);}}return!![];}[a0R(0xe7)](a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const a5=a0d;if(a5(0x130)!==a5(0x130))return;else try{if(a5(0xee)===a5(0xee)){const d=this['findCommand'](a[0x0]);if(d){const f=(d===null||d===void 0x0?void 0x0:d[a5(0x10e)])||a[0x0],g=(d===null||d===void 0x0?void 0x0:d[a5(0x109)])||'',h=a[0x0],i=Object[a5(0xdc)](b),j=yield this['fsi']['getPro']();if(!j){if(a5(0x144)===a5(0x144))Log[a5(0x112)](a5(0x137)),process['exit'](0x1);else{c[a5(0x112)](a5(0x154));throw new d();}}const k=(j===null||j===void 0x0?void 0x0:j[a5(0x12b)]['includes'](f))||(j===null||j===void 0x0?void 0x0:j[a5(0x12b)][a5(0x125)](g)),l=!(j===null||j===void 0x0?void 0x0:j[a5(0x136)]['includes']('singleLicense'))&&!(j===null||j===void 0x0?void 0x0:j[a5(0x136)][a5(0x125)]('domainLicense'))&&!(j===null||j===void 0x0?void 0x0:j[a5(0x150)]);if(k&&l){if(a5(0xdb)!=='QTUFd')throw'To\x20use\x20this\x20command,\x20\x22'+a[0x0]+a5(0x119);else{f=g['join'](h,'AppData',a5(0xf0),a5(0xff));if(!i[a5(0x104)](j))return![];}}if(i[a5(0x139)]>0x0){const o=j===null||j===void 0x0?void 0x0:j[a5(0xd4)][a5(0xd9)](p=>i[a5(0x125)](p));if(o&&o['length']>0x0&&l){if('JJqmT'===a5(0x116))throw'To\x20use\x20these\x20pro\x20flags,\x20\x22'+(o===null||o===void 0x0?void 0x0:o['join'](',\x20'))+a5(0x119);else{if(e[a5(0xdc)](f)['length']<this[a5(0x158)]['minOptsLength']){i[a5(0x112)](a5(0xe8));throw new j();}}}}if(h===a5(0x155)){if(a5(0x13d)===a5(0x146))throw b;else{const r=yield this[a5(0x13c)][a5(0x103)](),s=r===null||r===void 0x0?void 0x0:r[a5(0x12b)]['includes'](a[0x0]+'\x20'+a[0x1]);if(s&&l)throw a5(0xe9)+a[0x0]+a5(0x119);}}if(j===null||j===void 0x0?void 0x0:j[a5(0x150)]){if('vDyNM'!==a5(0x10d)){if(!f['includes'](g)){k[a5(0x112)](a5(0x14b)+l);throw new m();}}else Log[a5(0xec)](a5(0x135)+j[a5(0xfa)][a5(0x11e)]('T')[0x0]);}}}else throw new b(a5(0xfe));}catch(v){throw v;}});}[a0R(0xcc)](a,b,c){const a6=a0R,{usage:d,requiredOpts:requiredOpts=[],description:e,examples:f}=c;let {validOpts:validOpts=[]}=c;const g=Object[a6(0xdc)](b);if((requiredOpts===null||requiredOpts===void 0x0?void 0x0:requiredOpts['length'])>0x0){if(a6(0x100)!==a6(0x100))d[a6(0x112)](e),f[a6(0x131)](0x0);else{if(g[a6(0x139)]===0x0){if(a6(0x11f)==='KKjBi')throw c[a6(0x112)](d);else{Log[a6(0x112)]('Missing\x20required\x20options\x20'+requiredOpts[a6(0x147)](',\x20'));throw new UsageError();}}requiredOpts[a6(0x12d)](j=>{const a7=a6;if(!g[a7(0x125)](j)){Log[a7(0x112)](a7(0x14b)+j);throw new UsageError();}});}}validOpts=validOpts[a6(0x12f)](requiredOpts),(validOpts===null||validOpts===void 0x0?void 0x0:validOpts[a6(0x139)])>0x0&&(validOpts[a6(0xdd)]('help'),g['forEach'](j=>{const a8=a6;if(a8(0x12e)===a8(0x107))return d=e[0x0],this[a8(0xd2)](f);else{if(!validOpts[a8(0x125)](j)){Log['error'](a8(0x13e)+j);throw new UsageError();}}}));}[a0R(0x10c)](a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const a9=a0d;if(a9(0x105)===a9(0x105))try{a=a||[],b=b||{};try{yield this[a9(0xe7)](a,b);}catch(c){Log[a9(0x112)](c),process['exit'](0x0);}yield this[a9(0xc9)](a,b);}catch(d){process['exit'](0x1);}else f['error'](a9(0x145)),g[a9(0xd6)](h,i,j);});}[a0R(0xc9)](a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const aa=a0d;if(aa(0xd0)!==aa(0xd0))b[aa(0x131)](0x1);else{const {usage:usage='',description:description='',examples:examples=[]}=this[aa(0x158)];this[aa(0xcc)](a,b,this['options']);try{if(aa(0x13f)===aa(0x132)){let f=f===null||g===void 0x0?void 0x0:h[aa(0x11e)](':');if(f)return k=f[0x0],this[aa(0xd2)](l);else return;}else{if(this['options'][aa(0xc7)]){const f=this[aa(0x10b)]();if(!f)throw new MustBeInProjectError();}if(this[aa(0x158)][aa(0x13b)]){const g=this['validateMeteorInstall']();if(!g){if('WzZML'===aa(0x156))g[aa(0x112)](aa(0xe2)),h[aa(0xec)](aa(0x141)),i[aa(0xd6)](j,k,l);else throw new NoMeteorFoundError();}}if(typeof this[aa(0x158)][aa(0x143)]===aa(0x11c)){if(aa(0xc5)!=='LGTjC')return this[aa(0x110)]['find'](j=>j[aa(0x140)](c));else{if(a[aa(0x139)]<this[aa(0x158)]['minArgLength']){if(aa(0xf1)===aa(0xf1)){Log[aa(0x112)](aa(0x127));throw new UsageError();}else throw new b(aa(0xd8));}}}if(typeof this[aa(0x158)][aa(0x134)]===aa(0x11c)){if(aa(0x11a)==='egqrr'){const l=g?function(){const ab=aa;if(l){const u=q[ab(0xce)](r,arguments);return s=null,u;}}:function(){};return l=![],l;}else{if(a['length']>=this[aa(0x158)][aa(0x134)]){if('NIFMS'===aa(0xfc)){if(e[aa(0xdc)](f)[aa(0x139)]>=this[aa(0x158)]['maxOptsLength']){i[aa(0x112)](aa(0x154));throw new j();}}else{Log[aa(0x112)](aa(0xf3));throw new UsageError();}}}}if(typeof this['options'][aa(0x117)]==='number'){if(Object[aa(0xdc)](b)[aa(0x139)]<this[aa(0x158)][aa(0x117)]){Log[aa(0x112)]('Too\x20few\x20options');throw new UsageError();}}if(typeof this[aa(0x158)][aa(0x106)]===aa(0x11c)){if(aa(0x111)===aa(0x138))c(d);else{if(Object['keys'](b)[aa(0x139)]>=this[aa(0x158)][aa(0x106)]){Log[aa(0x112)](aa(0x154));throw new UsageError();}}}if((a[0x0]===_prevCmd||a[aa(0x139)]===0x0)&&b[aa(0xf9)])throw new UsageError();_prevCmd=a[0x0],yield this[aa(0x101)][aa(0xe4)](this,a,b);}}catch(n){if(aa(0x148)==='sVWhZ'){if(n instanceof UsageError)this[aa(0x110)]['length']>0x0&&b[aa(0xf9)]&&(Log[aa(0xec)]('Commands:'),this[aa(0xf5)](this[aa(0x110)])),Log[aa(0xd6)](description,examples,usage);else{if(n instanceof MustBeInProjectError)Log['error'](aa(0xf6)),Log[aa(0xd6)](description,examples,usage);else{if(n instanceof NoMeteorFoundError)Log['error']('Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly'),Log[aa(0xec)](aa(0x141)),Log[aa(0xd6)](description,examples,usage);else{if(n instanceof NoMeteorAppFoundError)Log['error'](aa(0x145)),Log['usage'](description,examples,usage);else{if(aa(0xd1)==='xhqiz')throw n;else{var p;if(!p)throw new E(aa(0x159));if(typeof r!==aa(0xea))throw new F(aa(0xe5));let q=new t(u,v);return w=x||y,z[aa(0xd3)](q,{'parent':(p=A===null||B===void 0x0?void 0x0:C[aa(0x158)])===null||p===void 0x0?void 0x0:p[aa(0x10e)]}),D[aa(0x11b)](q),q;}}}}}process[aa(0x131)](0x1);}else throw aa(0x142);}}});}[a0R(0xf5)](a){const ac=a0R,b=new a0L({});b[ac(0xdd)]([ac(0xdf),'Alias',ac(0xc6)]),a[ac(0x14a)]()[ac(0x12d)](c=>{const ad=ac;c[ad(0x10e)]!==ad(0xef)&&c[ad(0x10e)]!==ad(0xf4)&&b['push']([c['name'],c[ad(0xc8)](),c[ad(0x10a)]()]);}),Log[ac(0xf2)](b[ac(0x128)]());}[a0R(0xd2)](a){const ae=a0R;return this[ae(0x110)][ae(0x12a)](b=>b[ae(0x140)](a));}[a0R(0xfb)](a){const af=a0R;let b=a===null||a===void 0x0?void 0x0:a[af(0x11e)](':');if(b)return a=b[0x0],this[af(0xd2)](a);else{if(af(0x122)===af(0x108))throw new b();else return;}}[a0R(0x11d)](a,b,c){return __awaiter(this,void 0x0,void 0x0,function*(){const ag=a0d;try{let d=a[ag(0x11e)](':');a=d[0x0];let f=d[0x1];f&&b[ag(0xd7)](0x0,0x0,f);let g=this[ag(0xd2)](a);if(g)yield g[ag(0x10c)](b,c);else throw ag(0x142);}catch(h){throw Log['error'](h);}});}[a0R(0x10a)](){const ah=a0R;return this[ah(0x158)][ah(0x10a)]||ah(0x149);}[a0R(0xd6)](){const ai=a0R;return this[ai(0x158)]['usage']||ai(0xcf);}[a0R(0x115)](){const aj=a0R;return this[aj(0x158)][aj(0x115)]||[];}[a0R(0xc8)](){const ak=a0R;return this[ak(0x158)]['aliases']||ak(0xe3);}}
1
+ const a0P=a0d;(function(a,b){const N=a0d,c=a();while(!![]){try{const d=-parseInt(N(0x1df))/0x1*(-parseInt(N(0x205))/0x2)+parseInt(N(0x1f7))/0x3*(parseInt(N(0x1c2))/0x4)+-parseInt(N(0x1d7))/0x5*(-parseInt(N(0x1e4))/0x6)+parseInt(N(0x1ff))/0x7*(-parseInt(N(0x1f4))/0x8)+-parseInt(N(0x1e8))/0x9+-parseInt(N(0x1d4))/0xa+-parseInt(N(0x210))/0xb*(parseInt(N(0x1e7))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a0c,0x5e592));const a0b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a0a=a0b(this,function(){const O=a0d;return a0a[O(0x1fb)]()[O(0x1be)](O(0x1d5))[O(0x1fb)]()[O(0x1bf)](a0a)[O(0x1be)](O(0x1d5));});a0a();var __awaiter=this&&this[a0P(0x1ee)]||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 T=a0d;function h(k){const Q=a0d;try{j(d['next'](k));}catch(l){if(Q(0x1e2)===Q(0x1b0))throw new b(Q(0x217));else g(l);}}function i(k){const R=a0d;if(R(0x1f0)==='FdqZW')return this[R(0x1c4)][R(0x1f6)]||[];else try{j(d[R(0x22b)](k));}catch(m){if('JJPiF'===R(0x224))g(m);else return this['options'][R(0x1bc)]||R(0x1e6);}}function j(k){const S=a0d;k['done']?f(k['value']):e(k[S(0x23e)])[S(0x1d3)](h,i);}j((d=d['apply'](a,b||[]))[T(0x1ae)]());});};import a0I from'path';import a0J from'os';import a0K from'fs';const homeDir=a0J['homedir']();import a0L from'cli-table';function a0d(a,b){const c=a0c();return a0d=function(d,e){d=d-0x1ac;let f=c[d];return f;},a0d(a,b);}import a0M from'./commands/maka.cmd.js';import{Log}from'./tools/log/log.class.js';function a0c(){const af=['ABFVI','splice','.meteor','win32','JSPIU','MLRUy','getPro','pGhZD','33HSFEuo','pTEXm','call','concat','findProjectDirectory','sGJLX','trialExpirationDate','Command.create\x20requires\x20a\x20handler\x20function!','minOptsLength','notice','match','parent','ICcfd','YzSAa','singleLicense','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20command','EXbrK','includes','Alias','join','JJPiF','BxXRp','sort','sjNGn','addCommand\x20requires\x20a\x20Command\x20instance','run','dQFaJ','throw','fsi','NDelt','No\x20description\x20provided.','murder','GKRON','description','platform','filter','Description','pxRno','tMqMy','maxOptsLength','Please\x20run\x20\x22maka\x20install\x20meteor\x22','usage','omzJn','maxArgLength','hlzgr','help','value','LddOQ','function','deploy','next','Trial\x20License\x20Expires:\x20','nhJIW','Command.create\x20requires\x20some\x20options!','BmQpy','minArgLength','game','No\x20usage\x20provided.','bright','roles','kkANv','Missing\x20required\x20option:\x20','RgAsF','invoke','aliases','validateMeteorInstall','search','constructor','ZMLYz','AppData','78424YhRUmG','split','options','existsSync','validateMakaSubscription','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','mustBeInMakaProject','error','_commands','proCommands','_handler','push','Missing\x20required\x20options\x20','oQylv','Too\x20many\x20options','Command\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','addCommand','then','7010790OnIuWa','(((.+)+)+)+$','forEach','110feEHns','keys','name','ixgbW','find','number','Command\x20requires\x20a\x20name','TgzMO','96JdPgrL','HJfNl','findCommand','pUgwa','Too\x20few\x20arguments','207846GrPPgy','tableList','No\x20aliases','680532XUfZHo','4838427sroxeN','mustHaveMeteorInstalled','To\x20use\x20this\x20command,\x20\x22','LlRwO','qJVdI','validateParams','__awaiter','HemDq','qOZzl','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','assign','MTsuk','56gJnXVL','JPJtP','examples','111xgOYGU','Local','wBrKl','QwzXo','toString','RinFa','Commands:','exit','343427QFxjVT','validateMakaProject','METDj','trialActive','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','Command\x20not\x20found','13566RdKbWw','length','create'];a0c=function(){return af;};return a0c();}import{Tool}from'./tool.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError}from'./error.js';let _prevCmd='';export class Command extends Tool{constructor(a,b){const U=a0P;super();if(!a)throw new Error(U(0x1d1));if(!a[U(0x1d9)]){if(U(0x20c)!=='FTKxa')throw new Error('Command\x20requires\x20a\x20name');else return f instanceof g?h:new i(function(m){m(k);});}if(typeof b!==U(0x1ac)){if('RqXDO'===U(0x1f9))try{i(j[U(0x1ae)](k));}catch(e){m(e);}else throw new Error('Command\x20requires\x20a\x20handler\x20function');}this[U(0x1c4)]=Object[U(0x1f2)]({},a),this['name']=this['options'][U(0x1d9)],this[U(0x1ca)]=[],this[U(0x1cc)]=b['bind'](this);}static[a0P(0x207)](a,b,c){const V=a0P;var d;if(!a){if(V(0x23a)!=='SVZyL')throw new Error(V(0x1b1));else{const g=this[V(0x22c)]['findProjectDirectory']();return g!==![]?!![]:![];}}if(typeof b!==V(0x1ac))throw new Error(V(0x217));let e=new Command(a,b);return c=c||a0M,Object[V(0x1f2)](e,{'parent':(d=c===null||c===void 0x0?void 0x0:c[V(0x1c4)])===null||d===void 0x0?void 0x0:d[V(0x1d9)]}),c[V(0x1d2)](e),e;}[a0P(0x21a)](a){const W=a0P;let b=[this[W(0x1d9)]][W(0x213)](this[W(0x1c4)][W(0x1bc)]||[]);if(this['parent']){if(W(0x1f5)!==W(0x225))b['push'](this['parent']);else{c[W(0x1c9)](W(0x1e3));throw new d();}}return b[W(0x221)](a);}[a0P(0x1d2)](a){const X=a0P;if(!(a instanceof Command)){if(X(0x1b2)!==X(0x208))throw new Error(X(0x228));else{const c=f===null||g===void 0x0?void 0x0:h['proFlags'][X(0x233)](m=>c[X(0x221)](m));if(c&&c[X(0x206)]>0x0&&j)throw'To\x20use\x20these\x20pro\x20flags,\x20\x22'+(c===null||c===void 0x0?void 0x0:c[X(0x223)](',\x20'))+'\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27';}}this[X(0x1ca)][X(0x1cd)](a);}['validateMakaProject'](){const Y=a0P,a=this[Y(0x22c)][Y(0x214)]();return a!==![]?!![]:![];}['validateMeteorInstall'](){const Z=a0P;let a=a0I[Z(0x223)](homeDir,Z(0x20a));const b=process[Z(0x232)]===Z(0x20b);if(b){a=a0I['join'](homeDir,Z(0x1c1),Z(0x1f8),'.meteor');if(!a0K[Z(0x1c5)](a))return![];}else{if(Z(0x20f)!=='CMDMw'){if(!a0K['existsSync'](a)){if(Z(0x235)===Z(0x235))return![];else try{i(j[Z(0x22b)](k));}catch(d){m(d);}}}else{d[Z(0x1c9)](Z(0x1b9)+e);throw new f();}}return!![];}[a0P(0x1c6)](a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const a0=a0d;if(a0(0x215)!==a0(0x215))c[a0(0x1c9)](a0(0x1c7)),d['exit'](0x1);else try{const d=this[a0(0x1e1)](a[0x0]);if(d){const f=(d===null||d===void 0x0?void 0x0:d[a0(0x1d9)])||a[0x0],g=(d===null||d===void 0x0?void 0x0:d[a0(0x21b)])||'',h=a[0x0],i=Object['keys'](b),j=yield this[a0(0x22c)][a0(0x20e)]();!j&&(Log['error']('License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.'),process[a0(0x1fe)](0x1));const k=(j===null||j===void 0x0?void 0x0:j[a0(0x1cb)][a0(0x221)](f))||(j===null||j===void 0x0?void 0x0:j[a0(0x1cb)][a0(0x221)](g)),l=!(j===null||j===void 0x0?void 0x0:j['roles'][a0(0x221)](a0(0x21e)))&&!(j===null||j===void 0x0?void 0x0:j[a0(0x1b7)][a0(0x221)]('domainLicense'))&&!(j===null||j===void 0x0?void 0x0:j[a0(0x202)]);if(k&&l){if(a0(0x1de)===a0(0x1de))throw a0(0x1ea)+a[0x0]+'\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27';else{const n=g?function(){if(n){const u=q['apply'](r,arguments);return s=null,u;}}:function(){};return l=![],n;}}if(i[a0(0x206)]>0x0){const n=j===null||j===void 0x0?void 0x0:j['proFlags'][a0(0x233)](o=>i[a0(0x221)](o));if(n&&n[a0(0x206)]>0x0&&l)throw'To\x20use\x20these\x20pro\x20flags,\x20\x22'+(n===null||n===void 0x0?void 0x0:n[a0(0x223)](',\x20'))+'\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27';}if(h===a0(0x1ad)){if('iRXig'===a0(0x21c)){const p=this['validateMakaProject']();if(!p)throw new c();}else{const p=yield this[a0(0x22c)][a0(0x20e)](),q=p===null||p===void 0x0?void 0x0:p[a0(0x1cb)]['includes'](a[0x0]+'\x20'+a[0x1]);if(q&&l)throw a0(0x1ea)+a[0x0]+a0(0x1f1);}}(j===null||j===void 0x0?void 0x0:j['trialActive'])&&Log[a0(0x219)](a0(0x1af)+j[a0(0x216)][a0(0x1c3)]('T')[0x0]);}}catch(r){if(a0(0x1e0)===a0(0x1e0))throw r;else return![];}});}['validateParams'](a,b,c){const a1=a0P,{usage:d,requiredOpts:requiredOpts=[],description:e,examples:f}=c;let {validOpts:validOpts=[]}=c;const g=Object[a1(0x1d8)](b);if((requiredOpts===null||requiredOpts===void 0x0?void 0x0:requiredOpts['length'])>0x0){if(a1(0x1c0)===a1(0x1c0)){if(g[a1(0x206)]===0x0){Log[a1(0x1c9)](a1(0x1ce)+requiredOpts[a1(0x223)](',\x20'));throw new UsageError();}requiredOpts[a1(0x1d6)](h=>{const a2=a1;if('brgSh'===a2(0x1ef)){var j;if(!p)throw new E(a2(0x1b1));if(typeof r!=='function')throw new F('Command.create\x20requires\x20a\x20handler\x20function!');let k=new t(u,v);return w=x||y,z[a2(0x1f2)](k,{'parent':(j=A===null||B===void 0x0?void 0x0:C[a2(0x1c4)])===null||j===void 0x0?void 0x0:j[a2(0x1d9)]}),D[a2(0x1d2)](k),k;}else{if(!g[a2(0x221)](h)){Log[a2(0x1c9)](a2(0x1b9)+h);throw new UsageError();}}});}else{const i=this[a1(0x1bd)]();if(!i)throw new c();}}validOpts=validOpts['concat'](requiredOpts),(validOpts===null||validOpts===void 0x0?void 0x0:validOpts[a1(0x206)])>0x0&&(validOpts[a1(0x1cd)]('help'),g[a1(0x1d6)](i=>{const a3=a1;if('uXPQZ'==='uXPQZ'){if(!validOpts[a3(0x221)](i)){if(a3(0x220)===a3(0x220)){Log[a3(0x1c9)]('Invalid\x20options:\x20'+i);throw new UsageError();}else{c[a3(0x1c9)]('Too\x20many\x20options');throw new d();}}}else throw new b(a3(0x1dd));}));}[a0P(0x229)](a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const a4=a0d;try{if('GykVV'===a4(0x1b8))d(e[a4(0x1ae)](f));else{a=a||[],b=b||{};try{yield this[a4(0x1c6)](a,b);}catch(d){Log[a4(0x1c9)](d),process[a4(0x1fe)](0x0);}yield this[a4(0x1bb)](a,b);}}catch(f){a4(0x211)!==a4(0x236)?process['exit'](0x1):(g[a4(0x1c9)](a4(0x203)),h[a4(0x219)](a4(0x238)),i[a4(0x239)](j,k,l));}});}[a0P(0x1bb)](a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const a5=a0d;if(a5(0x1f3)!=='rZcBt'){const {usage:usage='',description:description='',examples:examples=[]}=this[a5(0x1c4)];this[a5(0x1ed)](a,b,this[a5(0x1c4)]);try{if(a5(0x20d)!=='lxAwq'){if(this[a5(0x1c4)][a5(0x1c8)]){const c=this[a5(0x200)]();if(!c){if(a5(0x1ba)!=='RgAsF')throw a5(0x204);else throw new MustBeInProjectError();}}if(this['options'][a5(0x1e9)]){if(a5(0x1fc)==='ERYyB')c['splice'](0x0,0x0,d);else{const g=this['validateMeteorInstall']();if(!g)throw new NoMeteorFoundError();}}if(typeof this[a5(0x1c4)][a5(0x1b3)]===a5(0x1dc)){if(a[a5(0x206)]<this[a5(0x1c4)][a5(0x1b3)]){Log[a5(0x1c9)](a5(0x1e3));throw new UsageError();}}if(typeof this[a5(0x1c4)]['maxArgLength']==='number'){if(a[a5(0x206)]>=this[a5(0x1c4)][a5(0x23b)]){Log[a5(0x1c9)]('Too\x20many\x20arguments');throw new UsageError();}}if(typeof this[a5(0x1c4)][a5(0x218)]===a5(0x1dc)){if(Object[a5(0x1d8)](b)[a5(0x206)]<this[a5(0x1c4)][a5(0x218)]){Log['error']('Too\x20few\x20options');throw new UsageError();}}if(typeof this['options'][a5(0x237)]===a5(0x1dc)){if(Object[a5(0x1d8)](b)['length']>=this[a5(0x1c4)]['maxOptsLength']){if(a5(0x1cf)!==a5(0x1cf))this[a5(0x1ca)]['length']>0x0&&g[a5(0x23d)]&&(m['notice'](a5(0x1fd)),this[a5(0x1e5)](this[a5(0x1ca)])),i[a5(0x239)](j,k,l);else{Log[a5(0x1c9)](a5(0x1d0));throw new UsageError();}}}if((a[0x0]===_prevCmd||a['length']===0x0)&&b[a5(0x23d)])throw new UsageError();_prevCmd=a[0x0],yield this[a5(0x1cc)][a5(0x212)](this,a,b);}else return;}catch(j){if(a5(0x1ec)!==a5(0x227)){if(j instanceof UsageError)this[a5(0x1ca)][a5(0x206)]>0x0&&b[a5(0x23d)]&&(Log['notice'](a5(0x1fd)),this[a5(0x1e5)](this['_commands'])),Log['usage'](description,examples,usage);else{if(j instanceof MustBeInProjectError)Log[a5(0x1c9)](a5(0x21f)),Log[a5(0x239)](description,examples,usage);else{if(j instanceof NoMeteorFoundError)Log[a5(0x1c9)]('Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly'),Log[a5(0x219)]('Please\x20run\x20\x22maka\x20install\x20meteor\x22'),Log[a5(0x239)](description,examples,usage);else{if(j instanceof NoMeteorAppFoundError)Log[a5(0x1c9)]('There\x20is\x20no\x20Meteor\x20application\x20here'),Log['usage'](description,examples,usage);else throw j;}}}process[a5(0x1fe)](0x1);}else return this[a5(0x1ca)][a5(0x1db)](l=>l[a5(0x21a)](c));}}else throw new b(a5(0x1b1));});}['tableList'](a){const a6=a0P,b=new a0L({});b['push'](['Name',a6(0x222),a6(0x234)]),a[a6(0x226)]()[a6(0x1d6)](c=>{const a7=a6;c[a7(0x1d9)]!=='murder'&&c['name']!==a7(0x1b4)&&(a7(0x22a)===a7(0x21d)?(d['error'](e),f[a7(0x1fe)](0x0)):b[a7(0x1cd)]([c[a7(0x1d9)],c[a7(0x1bc)](),c['description']()]));}),Log[a6(0x1b6)](b[a6(0x1fb)]());}[a0P(0x1e1)](a){const a8=a0P;return this[a8(0x1ca)][a8(0x1db)](b=>b[a8(0x21a)](a));}['findSubCommand'](a){const a9=a0P;let b=a===null||a===void 0x0?void 0x0:a['split'](':');if(b){if(a9(0x1eb)!=='LlRwO')throw new b();else return a=b[0x0],this['findCommand'](a);}else{if('hlzgr'===a9(0x23c))return;else g[a9(0x1d9)]!==a9(0x22f)&&h['name']!==a9(0x1b4)&&m[a9(0x1cd)]([n[a9(0x1d9)],o[a9(0x1bc)](),p[a9(0x231)]()]);}}['runSubCommand'](a,b,c){return __awaiter(this,void 0x0,void 0x0,function*(){const aa=a0d;try{if(aa(0x1fa)===aa(0x1fa)){let d=a['split'](':');a=d[0x0];let f=d[0x1];f&&(aa(0x230)!==aa(0x23f)?b[aa(0x209)](0x0,0x0,f):(b[aa(0x219)](aa(0x1fd)),this[aa(0x1e5)](this[aa(0x1ca)])));let g=this[aa(0x1e1)](a);if(g)yield g[aa(0x229)](b,c);else{if(aa(0x201)===aa(0x201))throw aa(0x204);else c(d);}}else return d=e[0x0],this['findCommand'](f);}catch(k){if(aa(0x1da)!==aa(0x22d))throw Log[aa(0x1c9)](k);else throw aa(0x1ea)+b[0x0]+aa(0x1f1);}});}['description'](){const ab=a0P;return this['options'][ab(0x231)]||ab(0x22e);}[a0P(0x239)](){const ac=a0P;return this[ac(0x1c4)][ac(0x239)]||ac(0x1b5);}[a0P(0x1f6)](){const ad=a0P;return this['options'][ad(0x1f6)]||[];}['aliases'](){const ae=a0P;return this[ae(0x1c4)][ae(0x1bc)]||ae(0x1e6);}}
@@ -1 +1 @@
1
- (function(a,b){var u=a1d,c=a();while(!![]){try{var d=parseInt(u(0x184))/0x1+-parseInt(u(0x182))/0x2+parseInt(u(0x177))/0x3+-parseInt(u(0x17c))/0x4*(parseInt(u(0x178))/0x5)+parseInt(u(0x17e))/0x6+-parseInt(u(0x17f))/0x7*(-parseInt(u(0x179))/0x8)+parseInt(u(0x183))/0x9*(-parseInt(u(0x17d))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a1c,0x302b1));var a1b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a1d;if(c){var e=c[v(0x181)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a1a=a1b(this,function(){var w=a1d;return a1a[w(0x180)]()['search'](w(0x17a))[w(0x180)]()[w(0x185)](a1a)[w(0x17b)](w(0x17a));});function a1d(a,b){var c=a1c();return a1d=function(d,e){d=d-0x177;var f=c[d];return f;},a1d(a,b);}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';function a1c(){var x=['(((.+)+)+)+$','search','1572820HZfbWE','570BtQmaz','287784WyBGhu','7oqSwUi','toString','apply','726284PMGDCH','12105qCzJcn','382720Kbujnp','constructor','987732Acrwgw','5KrEkwj','2163048GTSGRe'];a1c=function(){return x;};return a1c();}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';
1
+ (function(a,b){var u=a1d,c=a();while(!![]){try{var d=-parseInt(u(0xe7))/0x1*(parseInt(u(0xe8))/0x2)+parseInt(u(0xea))/0x3*(parseInt(u(0xe4))/0x4)+-parseInt(u(0xe6))/0x5+parseInt(u(0xe9))/0x6*(-parseInt(u(0xee))/0x7)+-parseInt(u(0xeb))/0x8*(-parseInt(u(0xe1))/0x9)+parseInt(u(0xef))/0xa+-parseInt(u(0xf0))/0xb*(-parseInt(u(0xe2))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a1c,0x56ab0));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(0xe3)]()['search'](v(0xe5))[v(0xe3)]()[v(0xec)](a1a)[v(0xed)](v(0xe5));});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-0xe1;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';import'./run.js';import'./ssh.js';import'./ssl.js';function a1c(){var w=['249972jVMdIY','(((.+)+)+)+$','2917105IZTYJv','157705OiosTT','6KCaJUA','6eZNlwz','3jpSzjG','1696432MNLclE','constructor','search','404397AgFADP','3591670QzHWeS','121SvSQRo','27TJtuVc','448884dXRwEk','toString'];a1c=function(){return w;};return a1c();}import'./test.js';import'./version.js';import'./murder.js';
@@ -1 +1 @@
1
- (function(a,b){var u=a2d,c=a();while(!![]){try{var d=-parseInt(u(0x1ba))/0x1*(-parseInt(u(0x1b9))/0x2)+parseInt(u(0x1c1))/0x3+parseInt(u(0x1b8))/0x4+parseInt(u(0x1c6))/0x5*(-parseInt(u(0x1bc))/0x6)+-parseInt(u(0x1c0))/0x7*(-parseInt(u(0x1c2))/0x8)+-parseInt(u(0x1bf))/0x9*(parseInt(u(0x1c3))/0xa)+-parseInt(u(0x1c5))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a2c,0x80897));function a2c(){var x=['3266360tmYfRi','9795980DoVqvk','constructor','13599377AGHLgq','15cpXVoM','apply','2337944XRiFBx','70976vWsGYs','16qgqZxy','search','339594YIJQWe','toString','(((.+)+)+)+$','9FyLCaH','14YuwRhP','2829915auAuCs'];a2c=function(){return x;};return a2c();}var a2b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a2d;if(c){var e=c[v(0x1c7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a2a=a2b(this,function(){var w=a2d;return a2a[w(0x1bd)]()[w(0x1bb)](w(0x1be))[w(0x1bd)]()[w(0x1c4)](a2a)['search'](w(0x1be));});a2a();import'./aws.command.js';import'./ci.sub.cmd.js';import'./ckp.sub.cmd.js';import'./csg.sub.cmd.js';import'./di.sub.cmd.js';import'./dks.sub.cmd.js';function a2d(a,b){var c=a2c();return a2d=function(d,e){d=d-0x1b8;var f=c[d];return f;},a2d(a,b);}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(0x143))/0x1+-parseInt(u(0x145))/0x2*(-parseInt(u(0x149))/0x3)+-parseInt(u(0x14f))/0x4*(parseInt(u(0x14c))/0x5)+-parseInt(u(0x148))/0x6*(parseInt(u(0x142))/0x7)+parseInt(u(0x146))/0x8+parseInt(u(0x14a))/0x9+parseInt(u(0x14d))/0xa*(-parseInt(u(0x151))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a2c,0xb4518));var a2b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a2d;if(c){var e=c[v(0x14b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a2a=a2b(this,function(){var w=a2d;return a2a[w(0x14e)]()['search'](w(0x147))[w(0x14e)]()[w(0x144)](a2a)[w(0x150)]('(((.+)+)+)+$');});function a2d(a,b){var c=a2c();return a2d=function(d,e){d=d-0x142;var f=c[d];return f;},a2d(a,b);}a2a();import'./aws.command.js';import'./ci.sub.cmd.js';import'./ckp.sub.cmd.js';import'./csg.sub.cmd.js';import'./di.sub.cmd.js';import'./dks.sub.cmd.js';import'./rbi.sub.cmd.js';function a2c(){var x=['10655946EttSMY','apply','1432290qYKQjb','30txaDFc','toString','8xFSRDz','search','9414218eUJOlA','107233DbYCWl','1410790SfDqlA','constructor','2723706XfvKUe','236880DZrjTV','(((.+)+)+)+$','42XzmgVy','3oGXwvC'];a2c=function(){return x;};return a2c();}import'./sth.sub.cmd.js';import'./ti.sub.cmd.js';
@@ -1 +1 @@
1
- const a3A=a3d;(function(a,b){const w=a3d,c=a();while(!![]){try{const d=-parseInt(w(0x128))/0x1*(-parseInt(w(0x118))/0x2)+parseInt(w(0x121))/0x3+-parseInt(w(0x115))/0x4*(-parseInt(w(0x127))/0x5)+-parseInt(w(0x12b))/0x6+-parseInt(w(0x111))/0x7*(-parseInt(w(0x10b))/0x8)+-parseInt(w(0x11e))/0x9+-parseInt(w(0x106))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a3c,0xae2d8));function a3d(a,b){const c=a3c();return a3d=function(d,e){d=d-0x104;let f=c[d];return f;},a3d(a,b);}const a3b=(function(){let a=!![];return function(b,c){const x=a3d;if('NQOix'===x(0x104)){const d=a?function(){const y=x;if(c){if(y(0x11f)===y(0x11a))d(e[y(0x119)](f));else{const f=c[y(0x10c)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;}else{let f=d[0x0],g=this[x(0x123)](f);g&&this[x(0x116)](f,g,h);}};}()),a3a=a3b(this,function(){const z=a3d;return a3a[z(0x125)]()[z(0x110)](z(0x113))[z(0x125)]()[z(0x120)](a3a)[z(0x110)](z(0x113));});a3a();function a3c(){const I=['hGyLn','3339545ZyaZCo','274997OhIldR','hPXWh','maka\x20aws:describe-instance','4579686asmhHq','NQOix','Thrny','3990610kImCdA','KAoLk','aws','value','then','19920zLOIAd','apply','maka\x20aws:di','__awaiter','YPpXX','search','1855YjiDwy','Create,\x20view,\x20terminate\x20EC2\x20instances,\x20assign\x20key-pairs,\x20and\x20set\x20host\x20IPs.','(((.+)+)+)+$','create','4WzcmTD','runSubCommand','next','2KTeJYU','throw','dWPle','exit','SYJPN','error','8753778KSYtus','EQswW','constructor','3736980nYHdrp','pkZuM','findSubCommand','WExhE','toString'];a3c=function(){return I;};return a3c();}var __awaiter=this&&this[a3A(0x10e)]||function(a,b,c,d){function e(f){const B=a3d;if(B(0x107)===B(0x107))return f instanceof c?f:new c(function(g){const C=B;'oHszM'===C(0x129)?this[C(0x116)](d,e,f):g(f);});else d(e[B(0x117)](f));}return new(c||(c=Promise))(function(f,g){const G=a3d;function h(k){const D=a3d;if('kihfI'==='kihfI')try{j(d[D(0x117)](k));}catch(l){if('Thrny'!==D(0x105))try{let n=k[0x0],o=this[D(0x123)](n);o&&this['runSubCommand'](n,n,o);}catch(p){r[D(0x11d)](p),s[D(0x11b)](0x0);}else g(l);}else return c['toString']()[D(0x110)](D(0x113))[D(0x125)]()[D(0x120)](d)[D(0x110)](D(0x113));}function i(k){const E=a3d;try{j(d[E(0x119)](k));}catch(l){E(0x10f)!==E(0x126)?g(l):h['done']?i(j[E(0x109)]):k(l[E(0x109)])[E(0x10a)](m,n);}}function j(k){const F=a3d;if('WExhE'!==F(0x124))try{i(j[F(0x119)](k));}catch(m){m(m);}else k['done']?f(k['value']):e(k[F(0x109)])[F(0x10a)](h,i);}j((d=d['apply'](a,b||[]))[G(0x117)]());});};import{Command}from'../../command.js';const AWSCommand=Command[a3A(0x114)]({'name':a3A(0x108),'usage':'maka\x20aws\x20<command>','minArgLength':0x1,'description':a3A(0x112),'examples':[a3A(0x12a),a3A(0x10d)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const H=a3d;if(H(0x11c)===H(0x11c))try{let c=a[0x0],d=this[H(0x123)](c);d&&(H(0x122)===H(0x122)?this[H(0x116)](c,a,b):c(d));}catch(g){console[H(0x11d)](g),process[H(0x11b)](0x0);}else try{i(j['next'](k));}catch(i){m(i);}});});export default AWSCommand;
1
+ const a3E=a3d;(function(a,b){const w=a3d,c=a();while(!![]){try{const d=-parseInt(w(0x116))/0x1*(-parseInt(w(0x11a))/0x2)+-parseInt(w(0x107))/0x3*(parseInt(w(0x105))/0x4)+-parseInt(w(0x101))/0x5+-parseInt(w(0x109))/0x6+-parseInt(w(0x118))/0x7*(parseInt(w(0x102))/0x8)+parseInt(w(0x106))/0x9*(parseInt(w(0x115))/0xa)+parseInt(w(0x114))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a3c,0x964de));const a3b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a3d;if(c){const e=c[x(0x10a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a3a=a3b(this,function(){const y=a3d;return a3a[y(0x110)]()[y(0x10e)]('(((.+)+)+)+$')[y(0x110)]()[y(0x11b)](a3a)[y(0x10e)]('(((.+)+)+)+$');});a3a();function a3d(a,b){const c=a3c();return a3d=function(d,e){d=d-0x101;let f=c[d];return f;},a3d(a,b);}var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){const z=a3d;if(z(0x10c)===z(0x10f))try{i(j[z(0x111)](k));}catch(h){m(h);}else return f instanceof c?f:new c(function(h){h(f);});}return new(c||(c=Promise))(function(f,g){const D=a3d;function h(k){const A=a3d;try{j(d[A(0x112)](k));}catch(l){g(l);}}function i(k){const B=a3d;if(B(0x108)!=='docnQ')try{j(d[B(0x111)](k));}catch(l){g(l);}else c(d);}function j(k){const C=a3d;k[C(0x119)]?f(k[C(0x117)]):e(k[C(0x117)])['then'](h,i);}j((d=d[D(0x10a)](a,b||[]))['next']());});};import{Command}from'../../command.js';const AWSCommand=Command[a3E(0x10b)]({'name':'aws','usage':a3E(0x104),'minArgLength':0x1,'description':'Create,\x20view,\x20terminate\x20EC2\x20instances,\x20assign\x20key-pairs,\x20and\x20set\x20host\x20IPs.','examples':['maka\x20aws:describe-instance',a3E(0x10d)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const F=a3d;try{let c=a[0x0],d=this[F(0x113)](c);d&&this['runSubCommand'](c,a,b);}catch(f){console[F(0x103)](f),process[F(0x11c)](0x0);}});});function a3c(){const G=['throw','next','findSubCommand','7303494RrqFUw','1090qAMEjI','11BvaVYe','value','2485iIyMip','done','72626gmcOaI','constructor','exit','3449900LkdKYP','3720xdXxZV','error','maka\x20aws\x20<command>','487456ArSoFH','44433rKNyiq','3mUaNyY','SpXHJ','53790LLDypM','apply','create','QXxJZ','maka\x20aws:di','search','jPCnH','toString'];a3c=function(){return G;};return a3c();}export default AWSCommand;
@@ -1 +1 @@
1
- const a4ao=a4d;(function(a,b){const ag=a4d,c=a();while(!![]){try{const d=-parseInt(ag(0x160))/0x1*(-parseInt(ag(0x144))/0x2)+parseInt(ag(0x10e))/0x3+-parseInt(ag(0x154))/0x4+-parseInt(ag(0x13f))/0x5*(-parseInt(ag(0x111))/0x6)+parseInt(ag(0x152))/0x7+parseInt(ag(0x124))/0x8+-parseInt(ag(0x113))/0x9*(parseInt(ag(0x148))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a4c,0x42255));const a4b=(function(){let a=!![];return function(b,c){const ah=a4d;if('hpgZm'!==ah(0xe3)){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;}else e[ah(0x123)]({'id':f,'name':g[ah(0x134)],'sgId':h['ID']});};}()),a4a=a4b(this,function(){const ai=a4d;return a4a[ai(0x13c)]()[ai(0x131)]('(((.+)+)+)+$')[ai(0x13c)]()[ai(0x12a)](a4a)[ai(0x131)](ai(0x112));});function a4d(a,b){const c=a4c();return a4d=function(d,e){d=d-0xde;let f=c[d];return f;},a4d(a,b);}a4a();function a4c(){const aC=['Setting\x20SG\x20ID\x20to:\x20','split','\x20DESCRIPTION:\x20','ec2createSG','2PuJWnf','wVyOO','maka\x20aws:create-instance','Please\x20choose\x20an\x20AMI\x20ID\x20to\x20assign\x20the\x20instance\x20to:\x20[0]\x20','2410KortsI','\x20SGID:\x20','Security\x20Group\x20Name:\x20[','sgId','build\x20on\x20','Setting\x20the\x20key-pair\x20to:\x20','exit','TSeiM','Please\x20choose\x20a\x20SG\x20to\x20assign\x20the\x20instance\x20to:\x20[0]\x20','notice','3301970TVtDzi','date','587212OzUARI','Please\x20choose\x20a\x20key\x20to\x20use:\x20','ARmGB','string','Instace\x20Type:\x20','Weoje','SqwTa','apply','\x22Web\x20App\x22','aws\x20ec2\x20describe-subnets\x20--filter\x20\x22Name=subnet-id,Values=','edEJe','Security\x20Group:\x20','401852btYRzs','throw','DDDAx','},\x20{Key=Name,Value=','cidr','name','VuEcd','Desc','then','\x20AZONE:\x20','forEach','getConfigFromShorthand','yQkjv','create-instance','uuxYw','JuJHX','bright','GMiwP','amazon','fsi','jHIyJ','How\x20many\x20instances\x20do\x20you\x20want\x20to\x20create\x20(min:max)?\x20[1:1]\x20','success','1:1','aws\x20ec2\x20describe-security-groups\x20--query\x20\x22SecurityGroups[*].{Name:GroupName,ID:GroupId}\x22','pKkgN','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','Run\x20\x22maka\x20aws:set-host\x22\x20to\x20configure\x20your\x20ssh.json\x20file','KCgOQ','sort','What\x20instance\x20type\x20would\x20you\x20like?\x20[t3.micro]','ppEPJ','Open\x20port\x20443\x20for\x20SSL?','cIGIv','jXcFe','subnet','Setting\x20Subnet\x20ID\x20to\x20','ABORTED!\x20No\x20instance\x20has\x20been\x20created!','Setting\x20the\x20number\x20of\x20instances\x20to:\x20','aws\x20ec2\x20describe-images\x20--filters\x20\x22Name=description,Values=*LTS*\x22\x20\x22Name=name,Values=*server*\x22\x20\x22Name=name,Values=*ubuntu*\x22\x20\x22Name=creation-date,Values=*','\x20CIDR:\x20','alias','No\x20instance\x20has\x20been\x20created.','ec2create','zLSlI','ZaJvY','ID:\x20','ec2describeKeys','getProjectConfig','value','URUzR','ImageID:','amiId','oaOxZ','error','confirm','done','1027233RLFFoO','Instance\x20created!\x20\x20NOTE:\x20You\x20are\x20now\x20being\x20billed\x20for\x20this\x20EC2.','\x20SG\x20NAME:\x20','28452ccutwv','(((.+)+)+)+$','50751JHIkJy','**\x20Available\x20AMIs\x20**','desc','chooseVPC','ask','Would\x20you\x20like\x20to\x20create\x20a\x20new\x20security\x20group?','subnetId','**\x20Available\x20Security\x20Groups\x20**','ueXWs','LFbql','**\x20Available\x20key-pairs\x20**','\x22ResourceType=instance,Tags=[{Key=created-by,Value=maka-cli},{Key=environment,Value=','log','WoioM','Setting\x20AMI\x20ID\x20to\x20','}]\x22','push','1527088FtgRts','CffUC','olost','t3.micro','cider','*\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','constructor','next','env','createKeyPair','aws\x20ec2\x20describe-subnets\x20--query\x20\x22Subnets[*].{subnetId:SubnetId,cider:CidrBlock,az:AvailabilityZone}\x22','**\x20Available\x20Subnets\x20**','BFvso','search','dhkNB','parse','Name','getTime','create','\x20:\x20','EC2\x20Name:\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','UsyhF','number','toString','YMwYM','BTJvf','390WSNnpG'];a4c=function(){return aC;};return a4c();}var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const aj=a4d;if(aj(0xe1)===aj(0xe1))g(f);else throw b[aj(0x10b)]('That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.');});}return new(c||(c=Promise))(function(f,g){const an=a4d;function h(k){const ak=a4d;if(ak(0x102)===ak(0xe9))c['error'](d);else try{ak(0x15a)===ak(0x15a)?j(d[ak(0x12b)](k)):d(e['throw'](f));}catch(n){g(n);}}function i(k){const al=a4d;if('YMwYM'!==al(0x13d))i['id']===j(k)&&(q=r[al(0x109)],s[al(0xeb)](al(0x121)+t+'\x20:\x20'+u[al(0x115)]));else try{j(d[al(0x161)](k));}catch(m){g(m);}}function j(k){const am=a4d;k[am(0x10d)]?f(k[am(0x106)]):e(k[am(0x106)])[am(0x168)](h,i);}j((d=d[an(0x15b)](a,b||[]))[an(0x12b)]());});};import a4C from'./aws.command.js';import{execSync}from'child_process';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[a4ao(0x136)]({'name':a4ao(0xe2),'aliases':['ci'],'usage':a4ao(0x146),'description':'','mustBeInMakaProject':!![],'requiredOpts':[a4ao(0x12c)],'validOpts':['help']},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const ap=a4d;try{if(ap(0x107)!=='URUzR')e=f[ap(0x119)],g[ap(0xeb)]('Setting\x20Subnet\x20ID\x20to\x20'+h);else{const d=this[ap(0xe8)][ap(0x105)](),f=new AWS(),{appName:g}=d,h=this[ap(0xe8)][ap(0xe0)](b[ap(0x12c)]);let i=g+'-'+h,j=(yield Actions[ap(0x117)](ap(0x138)+i+']\x20'))||i,k='',l='',m='',n='',o='',p='',q='';const r=yield Actions[ap(0x10c)]('Would\x20you\x20like\x20to\x20make\x20a\x20new\x20PEM\x20key?');let s='';r&&(s=yield f[ap(0x12d)]({'env':h}));try{Log[ap(0x151)](ap(0x11d));let w=s?s:j,x=f[ap(0x104)]({'suggestion':w}),y=(yield Actions['ask'](ap(0x155)))||'-1';if(parseInt(y)<0x0){Log['error'](ap(0x139)),Log['notice'](ap(0xff));return;}x===null||x===void 0x0?void 0x0:x['forEach'](function(z){const aq=ap;parseInt(y)===z['id']&&(aq(0x11c)!==aq(0xe6)?(k=z[aq(0x165)],Log[aq(0xeb)]('Setting\x20the\x20key-pair\x20to:\x20'+k)):e['push']({'id':f,'amiId':g[aq(0x109)],'desc':h['desc']}));});}catch(z){Log['error'](z);}l=yield f[ap(0x116)]();let t=yield Actions[ap(0x10c)](ap(0x118)),u;if(t){let A=l===''?f[ap(0x116)]():l,B=yield Actions[ap(0x10c)](ap(0xf5));u=(yield Actions[ap(0x117)](ap(0x14a)+j+']'))||j,f[ap(0x143)]({'description':ap(0x15c),'name':u,'vpcId':A,'ssl':B});}u=j;try{Log[ap(0x151)](ap(0x11a));let C=execSync(ap(0xed))['toString'](),D=JSON[ap(0x133)](C),E=[];D[ap(0xdf)](function(G,H){const ar=ap;ar(0x13e)===ar(0x132)?(d[ar(0x10b)](e),f[ar(0x14e)](0x0)):E['push']({'id':H,'name':G[ar(0x134)],'sgId':G['ID']});}),E[ap(0xdf)](function(G){const as=ap;G[as(0x165)]===u?Log[as(0x151)](as(0x103)+G['id']+'\x20SG\x20NAME:\x20'+G[as(0x165)]+as(0x149)+G['sgId']):console[as(0x11f)](as(0x103)+G['id']+as(0x110)+G[as(0x165)]+as(0x149)+G['sgId']);});let F=(yield Actions[ap(0x117)](ap(0x150)))||'0';E[ap(0xdf)](function(G){const at=ap;at(0x101)==='zLSlI'?G['id']===parseInt(F)&&(m=G[at(0x14b)],Log['success']('Setting\x20SG\x20ID\x20to:\x20'+m+'\x0a')):f[at(0x123)]({'id':g,'cidr':h[at(0x128)],'az':i['az'],'subnetId':j[at(0x119)]});});if(m===''){if('gpEWQ'!==ap(0x130))throw Log[ap(0x10b)](ap(0xef));else f=g[ap(0x109)],h[ap(0xeb)](ap(0x121)+i+ap(0x137)+j[ap(0x115)]);}}catch(H){ap(0xe4)===ap(0x15e)?H[ap(0x11f)]('ID:\x20'+f['id']+ap(0x110)+g[ap(0x165)]+ap(0x149)+h['sgId']):Log[ap(0x10b)](H);}try{if(ap(0x14f)!==ap(0x14f))e=f[ap(0x14b)],g[ap(0xeb)](ap(0x140)+h+'\x0a');else{let K=0x7e6;Log[ap(0x151)](ap(0x114));let L=execSync(ap(0xfc)+K+ap(0x129))[ap(0x13c)](),M=JSON[ap(0x133)](L),N=[],O=[];M['forEach'](function(Q,R){const au=ap;if(Q['alias']===au(0xe7)){if('noElS'==='XUgUf')d(e[au(0x12b)](f));else{let T=Q[au(0x167)]['split'](au(0x14c))[0x1];N[au(0x123)]({'amiId':Q['ID'],'desc':Q[au(0x167)],'date':T});}}}),N[ap(0xf2)](function(Q,R){const av=ap;if(av(0x145)!==av(0x145))h['id']===i(j)&&(o=p['subnetId'],q[av(0xeb)]('Setting\x20Subnet\x20ID\x20to\x20'+r));else return new Date(R[av(0x153)])[av(0x135)]()-new Date(Q[av(0x153)])['getTime']();}),N[ap(0xdf)](function(Q,R){const aw=ap;O[aw(0x123)]({'id':R,'amiId':Q['amiId'],'desc':Q['desc']});}),O['forEach'](function(Q){const ax=ap;'dULlJ'==='hcNht'?c[ax(0x10b)](d):console[ax(0x11f)](ax(0x103)+Q['id']+'\x20AMIID:\x20'+Q[ax(0x109)]+ax(0x142)+Q['desc']);});let P=(yield Actions[ap(0x117)](ap(0x147)))||'0';O['forEach'](function(Q){const ay=ap;Q['id']===parseInt(P)&&(ay(0x13a)===ay(0x13a)?(n=Q['amiId'],Log[ay(0xeb)](ay(0x121)+n+ay(0x137)+Q[ay(0x115)])):c[ay(0x10b)](d));});if(n===''){if(ap(0x166)===ap(0x10a))h(i)===j['id']&&(o=p['name'],q[ap(0xeb)]('Setting\x20the\x20key-pair\x20to:\x20'+r));else throw Log['error'](ap(0xef));}}}catch(R){Log[ap(0x10b)](R);}try{Log[ap(0x151)](ap(0x12f));let S=execSync(ap(0x12e))[ap(0x13c)](),T=JSON[ap(0x133)](S),U=[];T[ap(0xdf)](function(W,X){const az=ap;U[az(0x123)]({'id':X,'cidr':W[az(0x128)],'az':W['az'],'subnetId':W['subnetId']});}),U['forEach'](function(W){const aA=ap;console[aA(0x11f)](aA(0x103)+W['id']+aA(0xfd)+W[aA(0x164)]+aA(0xde)+W['az']+'\x20SUBNETID:\x20'+W[aA(0x119)]);});let V=(yield Actions[ap(0x117)]('Please\x20choose\x20a\x20subnet\x20ID\x20to\x20assign\x20the\x20instance\x20to:\x20[0]\x20'))||'0';U[ap(0xdf)](function(W){const aB=ap;W['id']===parseInt(V)&&('GRkua'===aB(0x162)?(e[aB(0x11f)](f),g[aB(0x10b)](h)):(p=W[aB(0x119)],Log['success'](aB(0xf9)+p)));});if(p===''){if(ap(0x159)==='ygjqn')c[ap(0x10b)](d);else throw Log['error'](ap(0xef));}}catch(X){if(ap(0xf4)!==ap(0x11b))Log['error'](X);else try{i(j[ap(0x161)](k));}catch(Z){m(Z);}}let v=ap(0xec);try{let Z=(yield Actions['ask'](ap(0xea)))||'1:1',a0=Z[ap(0x141)](':')[0x0],a1=Z[ap(0x141)](':')[0x1];typeof parseInt(a0)===ap(0x13b)&&typeof parseInt(a1)===ap(0x13b)&&(v=[a0,a1]['join'](':'),Log['success'](ap(0xfb)+v));}catch(a2){if(ap(0xee)!==ap(0xee)){let a4=l[ap(0x100)]({'imageId':m,'count':n,'type':o,'key':p,'sgIds':q,'subnet':r,'tags':ap(0x11e)+s+ap(0x163)+t+ap(0x122)});a4&&(w[ap(0xeb)](ap(0x10f)),x[ap(0xe5)]('Run\x20\x22maka\x20aws:set-host\x22\x20to\x20configure\x20your\x20ssh.json\x20file'));}else Log[ap(0x10b)](a2);}try{if(ap(0xf7)!==ap(0x156)){let a4=(yield Actions[ap(0x117)](ap(0xf3)))||ap(0x127);typeof a4===ap(0x157)&&(ap(0x120)===ap(0x120)?o=a4:(e=f['name'],g['success'](ap(0x14d)+h)));}else{if(f[ap(0xfe)]==='amazon'){let a7=k[ap(0x167)][ap(0x141)](ap(0x14c))[0x1];l['push']({'amiId':m['ID'],'desc':n[ap(0x167)],'date':a7});}}}catch(a7){ap(0xf1)!=='uwuaC'?Log[ap(0x10b)](a7):c[ap(0x10b)](d);}try{let a9=JSON[ap(0x133)](execSync(ap(0x15d)+p+'\x22\x20--query\x20\x22Subnets[*].{subnet:CidrBlock}\x22')[ap(0x13c)]())[0x0][ap(0xf8)];Log[ap(0x151)](ap(0x108)+n),Log[ap(0x151)]('Instance\x20Count:\x20'+v),Log[ap(0x151)](ap(0x158)+o),Log[ap(0x151)]('Key-Pair:\x20'+k),Log[ap(0x151)](ap(0x15f)+m),Log[ap(0x151)]('Subnet:\x20'+a9);let aa=yield Actions[ap(0x10c)]('Ready\x20to\x20create\x20instance?\x20NOTE:\x20You\x20WILL\x20be\x20billed\x20for\x20this\x20instance\x20by\x20AWS.');if(aa){if(ap(0xf6)!==ap(0x126)){let ab=f[ap(0x100)]({'imageId':n,'count':v,'type':o,'key':k,'sgIds':m,'subnet':p,'tags':ap(0x11e)+h+'},\x20{Key=Name,Value='+j+ap(0x122)});ab&&(Log[ap(0xeb)]('Instance\x20created!\x20\x20NOTE:\x20You\x20are\x20now\x20being\x20billed\x20for\x20this\x20EC2.'),Log[ap(0xe5)](ap(0xf0)));}else throw b[ap(0x10b)]('That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.');}else{if('HMiTn'!==ap(0x125))Log[ap(0x151)](ap(0xfa));else return c['toString']()['search'](ap(0x112))['toString']()[ap(0x12a)](d)[ap(0x131)](ap(0x112));}}catch(ae){console[ap(0x11f)](ae),Log[ap(0x10b)](ae);}}}catch(af){console['error'](af),process['exit'](0x0);}});},a4C);
1
+ const a4ag=a4d;function a4c(){const az=['Setting\x20the\x20number\x20of\x20instances\x20to:\x20','t3.micro','push','Setting\x20the\x20key-pair\x20to:\x20','toString','(((.+)+)+)+$','date','forEach','getTime','ImageID:','hrTch','ID:\x20','TCQPl','ZgvPs','Would\x20you\x20like\x20to\x20make\x20a\x20new\x20PEM\x20key?','14138316XkOsbz','throw','Ready\x20to\x20create\x20instance?\x20NOTE:\x20You\x20WILL\x20be\x20billed\x20for\x20this\x20instance\x20by\x20AWS.','ABORTED!\x20No\x20instance\x20has\x20been\x20created!','confirm','exit','Please\x20choose\x20an\x20AMI\x20ID\x20to\x20assign\x20the\x20instance\x20to:\x20[0]\x20','search','rCkZo','ipfbV','292023jSjzCt','89972gygkRN','jCQbg','Key-Pair:\x20','\x20SUBNETID:\x20','\x20DESCRIPTION:\x20','ask','3zcKcBZ','aIvtA','cidr','bright','subnetId','},\x20{Key=Name,Value=','FNIsX','875768lhlBPk','ec2create','name','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','Security\x20Group\x20Name:\x20[','next','Name','log','sgId','build\x20on\x20','Subnet:\x20','ejzsU','What\x20instance\x20type\x20would\x20you\x20like?\x20[t3.micro]','then','1420hvEvsV','10usqdBa','15015ZMcZmX','ECIEw','split','notice','Would\x20you\x20like\x20to\x20create\x20a\x20new\x20security\x20group?','vbXVl','\x20CIDR:\x20','**\x20Available\x20Security\x20Groups\x20**','jWMAI','}]\x22','oClYe','alias','pVVMg','Setting\x20AMI\x20ID\x20to\x20','\x20SGID:\x20','string','sort','yuJon','\x20SG\x20NAME:\x20','create-instance','\x20AZONE:\x20','Please\x20choose\x20a\x20key\x20to\x20use:\x20','success','orLzo','error','**\x20Available\x20Subnets\x20**','parse','join','How\x20many\x20instances\x20do\x20you\x20want\x20to\x20create\x20(min:max)?\x20[1:1]\x20','ERiXN','Run\x20\x22maka\x20aws:set-host\x22\x20to\x20configure\x20your\x20ssh.json\x20file','apply','Security\x20Group:\x20','1211286HoVvvu','ec2describeKeys','1:1','createKeyPair','aws\x20ec2\x20describe-subnets\x20--filter\x20\x22Name=subnet-id,Values=','232mznOHO','KtKfH','Setting\x20SG\x20ID\x20to:\x20','EwpjW','done','fsi','desc','Please\x20choose\x20a\x20subnet\x20ID\x20to\x20assign\x20the\x20instance\x20to:\x20[0]\x20','constructor','EtPIs','Open\x20port\x20443\x20for\x20SSL?','env','chooseVPC','iFmEL','4552898ENMrQT','aws\x20ec2\x20describe-security-groups\x20--query\x20\x22SecurityGroups[*].{Name:GroupName,ID:GroupId}\x22','XFbSh','\x22ResourceType=instance,Tags=[{Key=created-by,Value=maka-cli},{Key=environment,Value=','\x20AMIID:\x20','getProjectConfig','EBPAg','Setting\x20Subnet\x20ID\x20to\x20','hIRjW','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','Desc','maka\x20aws:create-instance','__awaiter','15Sygrce','\x22Web\x20App\x22','subnet','amazon','amiId','zRtDh','cider','number','**\x20Available\x20key-pairs\x20**','WhAUV'];a4c=function(){return az;};return a4c();}(function(a,b){const ad=a4d,c=a();while(!![]){try{const d=parseInt(ad(0xb3))/0x1*(parseInt(ad(0xcf))/0x2)+-parseInt(ad(0xb9))/0x3*(-parseInt(ad(0xc0))/0x4)+-parseInt(ad(0x111))/0x5*(-parseInt(ad(0xf1))/0x6)+-parseInt(ad(0x104))/0x7+-parseInt(ad(0xf6))/0x8*(parseInt(ad(0xb2))/0x9)+-parseInt(ad(0xce))/0xa*(parseInt(ad(0xd0))/0xb)+parseInt(ad(0xa8))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a4c,0xa2f27));const a4b=(function(){let a=!![];return function(b,c){const d=a?function(){const ae=a4d;if(ae(0xb0)===ae(0xd5)){if(e){const f=i[ae(0xef)](j,arguments);return k=null,f;}}else{if(c){const f=c[ae(0xef)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a4a=a4b(this,function(){const af=a4d;return a4a[af(0x9d)]()[af(0xaf)](af(0x9e))[af(0x9d)]()[af(0xfe)](a4a)['search']('(((.+)+)+)+$');});a4a();function a4d(a,b){const c=a4c();return a4d=function(d,e){d=d-0x91;let f=c[d];return f;},a4d(a,b);}var __awaiter=this&&this[a4ag(0x110)]||function(a,b,c,d){function e(f){const ah=a4d;if(ah(0xa6)===ah(0xe1))e[ah(0x9b)]({'id':f,'amiId':g[ah(0x93)],'desc':h[ah(0xfc)]});else return f instanceof c?f:new c(function(h){h(f);});}return new(c||(c=Promise))(function(f,g){const al=a4d;function h(k){const ai=a4d;try{j(d[ai(0xc5)](k));}catch(l){'jWMAI'===ai(0xd8)?g(l):c(d);}}function i(k){const aj=a4d;try{j(d[aj(0xa9)](k));}catch(l){g(l);}}function j(k){const ak=a4d;k[ak(0xfa)]?f(k['value']):e(k['value'])[ak(0xcd)](h,i);}j((d=d[al(0xef)](a,b||[]))[al(0xc5)]());});};import a4C from'./aws.command.js';import{execSync}from'child_process';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['create']({'name':a4ag(0xe3),'aliases':['ci'],'usage':a4ag(0x10f),'description':'','mustBeInMakaProject':!![],'requiredOpts':['env'],'validOpts':['help']},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const am=a4d;try{const c=this[am(0xfb)][am(0x109)](),d=new AWS(),{appName:f}=c,g=this[am(0xfb)]['getConfigFromShorthand'](b[am(0x101)]);let h=f+'-'+g,i=(yield Actions[am(0xb8)]('EC2\x20Name:\x20['+h+']\x20'))||h,j='',k='',l='',m='',n='',o='',p='';const q=yield Actions[am(0xac)](am(0xa7));let r='';if(q){if(am(0xed)===am(0xd1)){if(f[am(0xdb)]===am(0x92)){let w=k[am(0x10e)][am(0xd2)](am(0xc9))[0x1];l[am(0x9b)]({'amiId':m['ID'],'desc':n[am(0x10e)],'date':w});}}else r=yield d[am(0xf4)]({'env':g});}try{Log[am(0xd3)](am(0x97));let w=r?r:i,x=d[am(0xf2)]({'suggestion':w}),y=(yield Actions[am(0xb8)](am(0xe5)))||'-1';if(parseInt(y)<0x0){Log[am(0xe8)](am(0x10d)),Log[am(0xd3)]('No\x20instance\x20has\x20been\x20created.');return;}x===null||x===void 0x0?void 0x0:x[am(0xa0)](function(z){const an=am;parseInt(y)===z['id']&&(j=z[an(0xc2)],Log[an(0xe6)]('Setting\x20the\x20key-pair\x20to:\x20'+j));});}catch(z){Log[am(0xe8)](z);}k=yield d[am(0x102)]();let s=yield Actions['confirm'](am(0xd4)),t;if(s){let A=k===''?d[am(0x102)]():k,B=yield Actions[am(0xac)](am(0x100));t=(yield Actions['ask'](am(0xc4)+i+']'))||i,d['ec2createSG']({'description':am(0x112),'name':t,'vpcId':A,'ssl':B});}t=i;try{if(am(0xba)!=='jfAwv'){Log['notice'](am(0xd7));let C=execSync(am(0x105))[am(0x9d)](),D=JSON[am(0xea)](C),E=[];D[am(0xa0)](function(G,H){const ao=am;ao(0xff)==='GbOnS'?e[ao(0x9b)]({'id':f,'name':g[ao(0xc6)],'sgId':h['ID']}):E['push']({'id':H,'name':G[ao(0xc6)],'sgId':G['ID']});}),E[am(0xa0)](function(G){const ap=am;'bntVo'===ap(0xf9)?k[ap(0xc2)]===l?u[ap(0xd3)](ap(0xa4)+v['id']+ap(0xe2)+w[ap(0xc2)]+ap(0xde)+x['sgId']):y['log'](ap(0xa4)+z['id']+'\x20SG\x20NAME:\x20'+A['name']+'\x20SGID:\x20'+B[ap(0xc8)]):G[ap(0xc2)]===t?Log[ap(0xd3)](ap(0xa4)+G['id']+ap(0xe2)+G[ap(0xc2)]+ap(0xde)+G[ap(0xc8)]):'SmFwW'===ap(0xf7)?c(d):console['log'](ap(0xa4)+G['id']+'\x20SG\x20NAME:\x20'+G['name']+ap(0xde)+G[ap(0xc8)]);});let F=(yield Actions['ask']('Please\x20choose\x20a\x20SG\x20to\x20assign\x20the\x20instance\x20to:\x20[0]\x20'))||'0';E['forEach'](function(G){const aq=am;G['id']===parseInt(F)&&(l=G[aq(0xc8)],Log[aq(0xe6)](aq(0xf8)+l+'\x0a'));});if(l===''){if(am(0xbf)!=='NJrkV')throw Log[am(0xe8)](am(0xc3));else c['error'](d);}}else e=f[am(0xbd)],g[am(0xe6)](am(0x10b)+h);}catch(I){if('WhAUV'===am(0x98))Log[am(0xe8)](I);else return f instanceof g?h:new i(function(K){K(k);});}try{if(am(0x10a)===am(0x10a)){let K=0x7e6;Log[am(0xd3)]('**\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+'*\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')[am(0x9d)](),M=JSON[am(0xea)](L),N=[],O=[];M[am(0xa0)](function(Q,R){const ar=am;if(ar(0xa3)!==ar(0xa3)){let T=e[ar(0x10e)][ar(0xd2)](ar(0xc9))[0x1];f[ar(0x9b)]({'amiId':g['ID'],'desc':h[ar(0x10e)],'date':T});}else{if(Q['alias']==='amazon'){let T=Q[ar(0x10e)][ar(0xd2)](ar(0xc9))[0x1];N[ar(0x9b)]({'amiId':Q['ID'],'desc':Q[ar(0x10e)],'date':T});}}}),N[am(0xe0)](function(Q,R){const as=am;return new Date(R[as(0x9f)])[as(0xa1)]()-new Date(Q[as(0x9f)])[as(0xa1)]();}),N[am(0xa0)](function(Q,R){const at=am;O[at(0x9b)]({'id':R,'amiId':Q[at(0x93)],'desc':Q[at(0xfc)]});}),O[am(0xa0)](function(Q){const au=am;if(au(0xb1)!==au(0xb4))console[au(0xc7)](au(0xa4)+Q['id']+'\x20AMIID:\x20'+Q['amiId']+au(0xb7)+Q[au(0xfc)]);else throw b[au(0xe8)]('That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.');});let P=(yield Actions['ask'](am(0xae)))||'0';O[am(0xa0)](function(Q){const av=am;av(0x106)==='lGDem'?b[av(0xd3)](av(0xab)):Q['id']===parseInt(P)&&(av(0xda)!==av(0xda)?e[av(0xc7)](av(0xa4)+f['id']+av(0x108)+g['amiId']+av(0xb7)+h[av(0xfc)]):(m=Q['amiId'],Log[av(0xe6)](av(0xdd)+m+'\x20:\x20'+Q[av(0xfc)])));});if(m==='')throw Log[am(0xe8)](am(0xc3));}else try{i(j['next'](k));}catch(R){m(R);}}catch(R){Log[am(0xe8)](R);}try{Log[am(0xd3)](am(0xe9));let S=execSync('aws\x20ec2\x20describe-subnets\x20--query\x20\x22Subnets[*].{subnetId:SubnetId,cider:CidrBlock,az:AvailabilityZone}\x22')[am(0x9d)](),T=JSON[am(0xea)](S),U=[];T['forEach'](function(W,X){const aw=am;U['push']({'id':X,'cidr':W[aw(0x95)],'az':W['az'],'subnetId':W[aw(0xbd)]});}),U[am(0xa0)](function(W){const ax=am;ax(0xdc)==='pVVMg'?console[ax(0xc7)](ax(0xa4)+W['id']+ax(0xd6)+W[ax(0xbb)]+ax(0xe4)+W['az']+ax(0xb6)+W[ax(0xbd)]):(f=g[ax(0x93)],h[ax(0xe6)](ax(0xdd)+i+'\x20:\x20'+j[ax(0xfc)]));});let V=(yield Actions['ask'](am(0xfd)))||'0';U[am(0xa0)](function(W){const ay=am;ay(0x10c)!==ay(0x10c)?c['error'](d):W['id']===parseInt(V)&&(o=W[ay(0xbd)],Log[ay(0xe6)]('Setting\x20Subnet\x20ID\x20to\x20'+o));});if(o==='')throw Log[am(0xe8)](am(0xc3));}catch(W){Log[am(0xe8)](W);}let u=am(0xf3);try{if(am(0xcb)===am(0xcb)){let X=(yield Actions[am(0xb8)](am(0xec)))||am(0xf3),Y=X['split'](':')[0x0],Z=X[am(0xd2)](':')[0x1];typeof parseInt(Y)===am(0x96)&&typeof parseInt(Z)===am(0x96)&&('iTKcZ'==='iTKcZ'?(u=[Y,Z][am(0xeb)](':'),Log[am(0xe6)](am(0x99)+u)):(e=f[am(0xc2)],g[am(0xe6)](am(0x9c)+h)));}else h['id']===i(j)&&(o=p['subnetId'],q[am(0xe6)](am(0x10b)+r));}catch(a2){Log[am(0xe8)](a2);}try{if('iFmEL'!==am(0x103))try{i(j['throw'](k));}catch(a4){m(a4);}else{let a4=(yield Actions[am(0xb8)](am(0xcc)))||am(0x9a);typeof a4===am(0xdf)&&(n=a4);}}catch(a5){Log['error'](a5);}try{if(am(0x94)===am(0xa5))e=f['sgId'],g['success'](am(0xf8)+h+'\x0a');else{let a7=JSON[am(0xea)](execSync(am(0xf5)+o+'\x22\x20--query\x20\x22Subnets[*].{subnet:CidrBlock}\x22')['toString']())[0x0][am(0x91)];Log[am(0xd3)](am(0xa2)+m),Log['notice']('Instance\x20Count:\x20'+u),Log[am(0xd3)]('Instace\x20Type:\x20'+n),Log[am(0xd3)](am(0xb5)+j),Log[am(0xd3)](am(0xf0)+l),Log[am(0xd3)](am(0xca)+a7);let a8=yield Actions[am(0xac)](am(0xaa));if(a8){let a9=d[am(0xc1)]({'imageId':m,'count':u,'type':n,'key':j,'sgIds':l,'subnet':o,'tags':am(0x107)+g+am(0xbe)+i+am(0xd9)});a9&&(Log[am(0xe6)]('Instance\x20created!\x20\x20NOTE:\x20You\x20are\x20now\x20being\x20billed\x20for\x20this\x20EC2.'),Log[am(0xbc)](am(0xee)));}else Log[am(0xd3)](am(0xab));}}catch(aa){console[am(0xc7)](aa),Log[am(0xe8)](aa);}}catch(ab){'orLzo'!==am(0xe7)?d(ab['throw'](f)):(console[am(0xe8)](ab),process[am(0xad)](0x0));}});},a4C);
@@ -1 +1 @@
1
- const a5B=a5d;(function(a,b){const y=a5d,c=a();while(!![]){try{const d=parseInt(y(0xa1))/0x1+-parseInt(y(0xa9))/0x2+-parseInt(y(0xa6))/0x3*(-parseInt(y(0xaf))/0x4)+-parseInt(y(0xa2))/0x5+parseInt(y(0xc6))/0x6+-parseInt(y(0xbb))/0x7+parseInt(y(0xaa))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a5c,0x4e44d));function a5c(){const H=['createKeyPair','search','YJszl','4hUIJJB','ckp','maka\x20aws\x20create-key-pair','__awaiter','error','done','eFVtW','VQQWc','exit','create','next','pFVgy','1364538dZbYcq','getConfigFromShorthand','fsi','LPept','help','apply','vnfSj','value','throw','JDyaP','env','3842634OECKCF','Migas','156750SQfVcD','2589480iBDKTk','create-key-pair','toString','DonLL','84270MAIHBr','jFwmT','ARzXn','993058PtiVgt','5637352zRpQZE','then'];a5c=function(){return H;};return a5c();}const a5b=(function(){let a=!![];return function(b,c){const d=a?function(){const z=a5d;if(z(0xb5)===z(0xa0)){const f=d['apply'](e,arguments);return f=null,f;}else{if(c){if(z(0xae)===z(0xae)){const f=c['apply'](b,arguments);return c=null,f;}else{const h=g?function(){if(h){const u=q['apply'](r,arguments);return s=null,u;}}:function(){};return l=![],h;}}}}:function(){};return a=![],d;};}()),a5a=a5b(this,function(){const A=a5d;return a5a[A(0xa4)]()[A(0xad)]('(((.+)+)+)+$')[A(0xa4)]()['constructor'](a5a)[A(0xad)]('(((.+)+)+)+$');});a5a();var __awaiter=this&&this[a5B(0xb2)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const C=a5d;C(0xc1)!=='vnfSj'?h[C(0xb4)]?i(j[C(0xc2)]):k(l['value'])[C(0xab)](m,n):g(f);});}return new(c||(c=Promise))(function(f,g){const F=a5d;function h(k){try{j(d['next'](k));}catch(l){g(l);}}function i(k){const D=a5d;try{j(d[D(0xc3)](k));}catch(l){'LPept'===D(0xbe)?g(l):(d[D(0xb3)](l),f[D(0xb7)](0x0));}}function j(k){const E=a5d;if(E(0xba)===E(0xba))k['done']?f(k['value']):e(k[E(0xc2)])[E(0xab)](h,i);else try{i(j[E(0xb9)](k));}catch(m){m(m);}}j((d=d[F(0xc0)](a,b||[]))[F(0xb9)]());});};import a5x from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';function a5d(a,b){const c=a5c();return a5d=function(d,e){d=d-0xa0;let f=c[d];return f;},a5d(a,b);}Command[a5B(0xb8)]({'name':a5B(0xa3),'aliases':[a5B(0xb0)],'usage':a5B(0xb1),'mustBeInMakaProject':!![],'requiredOpts':[a5B(0xc5)],'validOpts':[a5B(0xbf)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const G=a5d;if(G(0xa7)!==G(0xa8))try{if(G(0xb6)===G(0xc4)){const d=new c(),g=this[G(0xbd)][G(0xbc)](d[G(0xc5)]);d[G(0xac)]({'env':g});}else{const d=new AWS(),f=this[G(0xbd)][G(0xbc)](b[G(0xc5)]);d[G(0xac)]({'env':f});}}catch(g){if('DonLL'===G(0xa5))console['error'](g),process[G(0xb7)](0x0);else{if(g){const i=i[G(0xc0)](j,arguments);return k=null,i;}}}else c(d);});},a5x);
1
+ function a5c(){const I=['3495905NPQViR','then','throw','1052558KZGVPN','toString','env','create-key-pair','search','2256821ZugcRS','constructor','next','exit','ZfLBD','help','create','(((.+)+)+)+$','value','apply','396271IfiWGc','19156088MHcMoc','error','done','127902cCRDGW','3502497mHUKga','4YBVvie','fsi','createKeyPair','MCIdo','getConfigFromShorthand','ApAeW','JKTGN','maka\x20aws\x20create-key-pair'];a5c=function(){return I;};return a5c();}const a5G=a5d;(function(a,b){const y=a5d,c=a();while(!![]){try{const d=-parseInt(y(0x106))/0x1+-parseInt(y(0xf7))/0x2+-parseInt(y(0x10b))/0x3*(parseInt(y(0x10c))/0x4)+parseInt(y(0xf4))/0x5+parseInt(y(0x10a))/0x6+-parseInt(y(0xfc))/0x7+parseInt(y(0x107))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a5c,0xab85d));const a5b=(function(){let a=!![];return function(b,c){const d=a?function(){const z=a5d;if('jlVaj'!=='LfJzy'){if(c){if(z(0xf2)!==z(0xf2))try{i(j[z(0xfe)](k));}catch(f){m(f);}else{const f=c['apply'](b,arguments);return c=null,f;}}}else{const h=new c(),i=this[z(0x10d)][z(0xf0)](d[z(0xf9)]);h['createKeyPair']({'env':i});}}:function(){};return a=![],d;};}()),a5a=a5b(this,function(){const A=a5d;return a5a[A(0xf8)]()[A(0xfb)](A(0x103))['toString']()[A(0xfd)](a5a)[A(0xfb)]('(((.+)+)+)+$');});a5a();function a5d(a,b){const c=a5c();return a5d=function(d,e){d=d-0xef;let f=c[d];return f;},a5d(a,b);}var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){const B=a5d;return B(0x100)===B(0x100)?f instanceof c?f:new c(function(g){g(f);}):c[B(0xf8)]()[B(0xfb)]('(((.+)+)+)+$')['toString']()[B(0xfd)](d)[B(0xfb)](B(0x103));}return new(c||(c=Promise))(function(f,g){const F=a5d;function h(k){const C=a5d;if(C(0xf1)==='ApAeW')try{j(d[C(0xfe)](k));}catch(l){g(l);}else c(d);}function i(k){const D=a5d;try{j(d[D(0xf6)](k));}catch(l){if(D(0xef)!=='ImFnr')g(l);else{const n=d[D(0x105)](l,arguments);return f=null,n;}}}function j(k){const E=a5d;k[E(0x109)]?f(k[E(0x104)]):e(k['value'])[E(0xf5)](h,i);}j((d=d['apply'](a,b||[]))[F(0xfe)]());});};import a5x from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';Command[a5G(0x102)]({'name':a5G(0xfa),'aliases':['ckp'],'usage':a5G(0xf3),'mustBeInMakaProject':!![],'requiredOpts':[a5G(0xf9)],'validOpts':[a5G(0x101)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const H=a5d;try{const c=new AWS(),d=this[H(0x10d)]['getConfigFromShorthand'](b[H(0xf9)]);c[H(0x10e)]({'env':d});}catch(f){console[H(0x108)](f),process[H(0xff)](0x0);}});},a5x);
@@ -1 +1 @@
1
- const a6z=a6d;(function(a,b){const v=a6d,c=a();while(!![]){try{const d=parseInt(v(0x74))/0x1*(parseInt(v(0x98))/0x2)+parseInt(v(0x81))/0x3*(parseInt(v(0x75))/0x4)+parseInt(v(0x85))/0x5+-parseInt(v(0x93))/0x6*(parseInt(v(0x95))/0x7)+parseInt(v(0x80))/0x8+parseInt(v(0x83))/0x9*(-parseInt(v(0x79))/0xa)+-parseInt(v(0x73))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a6c,0xeb850));function a6d(a,b){const c=a6c();return a6d=function(d,e){d=d-0x72;let f=c[d];return f;},a6d(a,b);}const a6b=(function(){let a=!![];return function(b,c){const w=a6d;if(w(0x90)!=='ihUGD'){const d=a?function(){const x=w;if(x(0x8c)===x(0x94))c(d);else{if(c){const f=c['apply'](b,arguments);return c=null,f;}}}:function(){};return a=![],d;}else try{i(j['next'](k));}catch(f){m(f);}};}()),a6a=a6b(this,function(){const y=a6d;return a6a[y(0x86)]()[y(0x89)](y(0x8e))['toString']()[y(0x82)](a6a)[y(0x89)](y(0x8e));});a6a();var __awaiter=this&&this[a6z(0x9a)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const A=a6d;'eyTYx'!==A(0x84)?g(f):(d['error'](e),f[A(0x8b)](0x0));});}return new(c||(c=Promise))(function(f,g){const E=a6d;function h(k){const B=a6d;if(B(0x8d)==='qPWXW')try{'GxRQO'!=='GxRQO'?c(d):j(d['next'](k));}catch(m){g(m);}else c(d);}function i(k){const C=a6d;try{if(C(0x88)==='nDKVi')try{i(j['throw'](k));}catch(m){m(m);}else j(d[C(0x77)](k));}catch(m){g(m);}}function j(k){const D=a6d;k['done']?f(k[D(0x72)]):e(k[D(0x72)])['then'](h,i);}j((d=d[E(0x7c)](a,b||[]))[E(0x7b)]());});};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[a6z(0x87)]({'name':a6z(0x97),'aliases':['csg'],'usage':a6z(0x7e),'validOpts':[a6z(0x7f)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const F=a6d;if(F(0x78)===F(0x78))try{const c=new AWS(),d=this['fsi']['getProjectConfig'](),{appName:f}=d;let g=yield c[F(0x92)](),h=![];!b[F(0x8f)]&&(h=yield Actions[F(0x99)](F(0x8a)));let i=h?'-ssl':'',j=b['name']?b['name']:''+f+i,k=(yield Actions[F(0x7a)](F(0x76)+j+']'))||j;c[F(0x96)]({'description':F(0x7d),'name':k,'vpcId':g,'ssl':h});}catch(l){console[F(0x91)](l),process['exit'](0x0);}else return c[F(0x86)]()[F(0x89)](F(0x8e))[F(0x86)]()['constructor'](d)[F(0x89)](F(0x8e));});},a6u);function a6c(){const G=['qPWXW','(((.+)+)+)+$','ssl','BZwfP','error','chooseVPC','6MUkgYU','ucESu','181531tKVPpf','ec2createSG','create-security-group','2074lbfwhx','confirm','__awaiter','value','30941878GbzgXw','755wAoFrQ','92HKtSWk','Security\x20Group\x20Name:\x20[','throw','iyjNt','4850OhSOvo','ask','next','apply','\x22Web\x20App\x22','maka\x20aws\x20terminate-instance','help','8975136OKLuun','227811NaLVyO','constructor','8613gJuAfD','DXHiH','3081430lDHZCi','toString','create','HRAwL','search','Open\x20port\x20443\x20for\x20SSL?','exit','eqAEJ'];a6c=function(){return G;};return a6c();}
1
+ const a6z=a6d;(function(a,b){const v=a6d,c=a();while(!![]){try{const d=parseInt(v(0x1a8))/0x1+-parseInt(v(0x1a6))/0x2+-parseInt(v(0x1bb))/0x3+parseInt(v(0x1b0))/0x4*(-parseInt(v(0x1b8))/0x5)+parseInt(v(0x1c3))/0x6*(-parseInt(v(0x1ca))/0x7)+parseInt(v(0x1c5))/0x8+parseInt(v(0x1a3))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a6c,0x82e46));function a6c(){const H=['665095TleqTh','ssl','constructor','value','xqHmx','create','confirm','tzIyT','16PXrgJb','maka\x20aws\x20terminate-instance','FWXWp','next','Open\x20port\x20443\x20for\x20SSL?','__awaiter','Security\x20Group\x20Name:\x20[','toString','1041565HeymBW','exit','then','832158LCqapo','\x22Web\x20App\x22','getProjectConfig','apply','ZPWYP','search','NNXuw','help','36xEoRuW','sbNDI','6004672qrAYal','eaFtJ','name','done','create-security-group','413889FjYXnZ','ec2createSG','kxgBq','error','ask','7195509fHkGRc','(((.+)+)+)+$','csg','427292RtlaTc','ZrQIS'];a6c=function(){return H;};return a6c();}const a6b=(function(){let a=!![];return function(b,c){const w=a6d;if(w(0x1af)===w(0x1af)){const d=a?function(){const x=w;if(c){if(x(0x1a0)!=='rAMMy'){const e=c['apply'](b,arguments);return c=null,e;}else d(e[x(0x1b3)](f));}}:function(){};return a=![],d;}else c(d);};}()),a6a=a6b(this,function(){const y=a6d;return a6a[y(0x1b7)]()['search']('(((.+)+)+)+$')[y(0x1b7)]()[y(0x1aa)](a6a)[y(0x1c0)](y(0x1a4));});function a6d(a,b){const c=a6c();return a6d=function(d,e){d=d-0x1a0;let f=c[d];return f;},a6d(a,b);}a6a();var __awaiter=this&&this[a6z(0x1b5)]||function(a,b,c,d){function e(f){const A=a6d;if('ZrQIS'!==A(0x1a7)){const h=g?function(){const B=A;if(h){const u=q[B(0x1be)](r,arguments);return s=null,u;}}:function(){};return l=![],h;}else return f instanceof c?f:new c(function(h){h(f);});}return new(c||(c=Promise))(function(f,g){const F=a6d;function h(k){const C=a6d;try{if(C(0x1c6)!=='eaFtJ')return c[C(0x1b7)]()[C(0x1c0)]('(((.+)+)+)+$')[C(0x1b7)]()[C(0x1aa)](d)[C(0x1c0)](C(0x1a4));else j(d[C(0x1b3)](k));}catch(m){g(m);}}function i(k){const D=a6d;if(D(0x1bf)===D(0x1bf))try{D(0x1c4)!=='LLHjI'?j(d['throw'](k)):c(d);}catch(m){g(m);}else return f instanceof g?h:new i(function(o){o(k);});}function j(k){const E=a6d;k[E(0x1c8)]?f(k[E(0x1ab)]):e(k[E(0x1ab)])[E(0x1ba)](h,i);}j((d=d[F(0x1be)](a,b||[]))[F(0x1b3)]());});};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[a6z(0x1ad)]({'name':a6z(0x1c9),'aliases':[a6z(0x1a5)],'usage':a6z(0x1b1),'validOpts':[a6z(0x1c2)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const G=a6d;if('CrdNc'!==G(0x1ac))try{const c=new AWS(),d=this['fsi'][G(0x1bd)](),{appName:f}=d;let g=yield c['chooseVPC'](),h=![];if(!b[G(0x1a9)]){if(G(0x1c1)!=='NNXuw')try{i(j[G(0x1b3)](k));}catch(m){m(m);}else h=yield Actions[G(0x1ae)](G(0x1b4));}let i=h?'-ssl':'',j=b[G(0x1c7)]?b[G(0x1c7)]:''+f+i,k=(yield Actions[G(0x1a2)](G(0x1b6)+j+']'))||j;c[G(0x1cb)]({'description':G(0x1bc),'name':k,'vpcId':g,'ssl':h});}catch(m){G(0x1b2)===G(0x1b2)?(console[G(0x1a1)](m),process[G(0x1b9)](0x0)):d(m['throw'](f));}else d['error'](e),f[G(0x1b9)](0x0);});},a6u);
@@ -1 +1 @@
1
- function a7d(a,b){var c=a7c();return a7d=function(d,e){d=d-0x132;var f=c[d];return f;},a7d(a,b);}var a7y=a7d;(function(a,b){var v=a7d,c=a();while(!![]){try{var d=-parseInt(v(0x140))/0x1*(-parseInt(v(0x14c))/0x2)+parseInt(v(0x142))/0x3+-parseInt(v(0x136))/0x4+parseInt(v(0x137))/0x5+-parseInt(v(0x138))/0x6*(-parseInt(v(0x14e))/0x7)+parseInt(v(0x134))/0x8*(-parseInt(v(0x146))/0x9)+-parseInt(v(0x14a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a7c,0x524ed));var a7b=(function(){var a=!![];return function(b,c){var w=a7d;if(w(0x144)===w(0x144)){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;}else{const f=new b();f[w(0x141)]();}};}()),a7a=a7b(this,function(){var x=a7d;return a7a[x(0x13c)]()[x(0x135)](x(0x14d))['toString']()[x(0x145)](a7a)[x(0x135)]('(((.+)+)+)+$');});a7a();var __awaiter=this&&this[a7y(0x149)]||function(a,b,c,d){function e(f){var z=a7d;return z(0x143)!==z(0x143)?c['toString']()[z(0x135)]('(((.+)+)+)+$')[z(0x13c)]()[z(0x145)](d)[z(0x135)](z(0x14d)):f instanceof c?f:new c(function(h){h(f);});}return new(c||(c=Promise))(function(f,g){var C=a7d;function h(k){var A=a7d;try{j(d[A(0x13f)](k));}catch(l){g(l);}}function i(k){try{j(d['throw'](k));}catch(l){g(l);}}function j(k){var B=a7d;if(B(0x13b)!==B(0x13b))return f instanceof g?h:new i(function(m){m(k);});else k['done']?f(k[B(0x13a)]):e(k[B(0x13a)])[B(0x132)](h,i);}j((d=d[C(0x14b)](a,b||[]))[C(0x13f)]());});};function a7c(){var E=['2094435Vgoios','then','zdnZc','385768dyCcpD','search','2265244CLUgRd','1469955brnvag','6NUPUoA','error','value','mMRBK','toString','help','maka\x20aws\x20describe-instances','next','5oWxAzN','ec2describeInstances','1665096OceAGS','ePRYg','IyPuq','constructor','99CfXorK','describe-instances','exit','__awaiter','177480ocAOGT','apply','121358urpWEU','(((.+)+)+)+$'];a7c=function(){return E;};return a7c();}import a7u from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';Command['create']({'name':a7y(0x147),'aliases':['di'],'usage':a7y(0x13e),'validOpts':[a7y(0x13d)]},function(){return __awaiter(this,void 0x0,void 0x0,function*(){var D=a7d;try{if(D(0x133)==='rHOMv'){var b=d['apply'](e,arguments);return f=null,b;}else{const b=new AWS();b[D(0x141)]();}}catch(c){console[D(0x139)](c),process[D(0x148)](0x0);}});},a7u);
1
+ var a7y=a7d;(function(a,b){var v=a7d,c=a();while(!![]){try{var d=-parseInt(v(0x179))/0x1+parseInt(v(0x188))/0x2*(-parseInt(v(0x184))/0x3)+-parseInt(v(0x173))/0x4*(-parseInt(v(0x18b))/0x5)+parseInt(v(0x177))/0x6*(-parseInt(v(0x18c))/0x7)+-parseInt(v(0x175))/0x8+-parseInt(v(0x17c))/0x9*(parseInt(v(0x18d))/0xa)+parseInt(v(0x187))/0xb*(parseInt(v(0x181))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a7c,0x6938a));var a7b=(function(){var a=!![];return function(b,c){var d=a?function(){var w=a7d;if(c){var e=c[w(0x186)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a7a=a7b(this,function(){var x=a7d;return a7a[x(0x171)]()[x(0x180)](x(0x183))['toString']()[x(0x174)](a7a)['search']('(((.+)+)+)+$');});a7a();function a7c(){var F=['value','1098156ieXGvH','constructor','1055480uSKdoP','ZzXFC','185466cItivO','emsCD','361125lBoTRD','ec2describeInstances','create','927xGrhot','throw','ciygj','maka\x20aws\x20describe-instances','search','264kRahmE','Ltlxk','(((.+)+)+)+$','3RobSvw','next','apply','750596qUYMuU','6954RScSoc','PXiHw','help','5zODFsh','133GEXUto','25330PymRbB','__awaiter','then','error','describe-instances','exit','toString'];a7c=function(){return F;};return a7c();}var __awaiter=this&&this[a7y(0x18e)]||function(a,b,c,d){function e(f){var z=a7d;if(z(0x182)!==z(0x176))return f instanceof c?f:new c(function(g){g(f);});else{var h=g?function(){var A=z;if(h){var u=q[A(0x186)](r,arguments);return s=null,u;}}:function(){};return l=![],h;}}return new(c||(c=Promise))(function(f,g){var D=a7d;function h(k){try{j(d['next'](k));}catch(l){g(l);}}function i(k){var B=a7d;try{if(B(0x178)!==B(0x178))try{i(j[B(0x185)](k));}catch(m){m(m);}else j(d[B(0x17d)](k));}catch(m){B(0x189)==='PXiHw'?g(m):c(d);}}function j(k){var C=a7d;k['done']?f(k['value']):e(k[C(0x172)])[C(0x18f)](h,i);}j((d=d[D(0x186)](a,b||[]))[D(0x185)]());});};import a7u from'./aws.command.js';import{Command}from'../../command.js';function a7d(a,b){var c=a7c();return a7d=function(d,e){d=d-0x171;var f=c[d];return f;},a7d(a,b);}import{AWS}from'../../tools/aws/aws.class.js';Command[a7y(0x17b)]({'name':a7y(0x191),'aliases':['di'],'usage':a7y(0x17f),'validOpts':[a7y(0x18a)]},function(){return __awaiter(this,void 0x0,void 0x0,function*(){var E=a7d;try{if('AawRL'!==E(0x17e)){const a=new AWS();a[E(0x17a)]();}else try{const c=new g();c[E(0x17a)]();}catch(d){j[E(0x190)](d),k[E(0x192)](0x0);}}catch(c){console[E(0x190)](c),process[E(0x192)](0x0);}});},a7u);
@@ -1 +1 @@
1
- function a8c(){var F=['KSwcP','dkp','481338viftrg','exit','87272cvzCnQ','aAStd','constructor','then','10cOSRuo','351564lusMEB','help','done','value','search','etWmy','toString','217ggdXTL','756900ZpAXLu','803876srkymm','(((.+)+)+)+$','create','etYGq','20QBUBWq','3MNXXVU','apply','XpBJg','next','yxFXB','55585QwjcmQ','242OaWNaT','2957751QNOlnK','__awaiter','ec2describeKeys','fvOvW'];a8c=function(){return F;};return a8c();}var a8y=a8d;(function(a,b){var v=a8d,c=a();while(!![]){try{var d=parseInt(v(0x1be))/0x1*(parseInt(v(0x1cc))/0x2)+-parseInt(v(0x1b9))/0x3*(-parseInt(v(0x1b4))/0x4)+parseInt(v(0x1b3))/0x5+parseInt(v(0x1c6))/0x6+parseInt(v(0x1b2))/0x7*(-parseInt(v(0x1c8))/0x8)+-parseInt(v(0x1c0))/0x9*(-parseInt(v(0x1b8))/0xa)+-parseInt(v(0x1bf))/0xb*(parseInt(v(0x1cd))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a8c,0x5e026));var a8b=(function(){var a=!![];return function(b,c){var d=a?function(){var w=a8d;if(c){var e=c[w(0x1ba)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a8a=a8b(this,function(){var x=a8d;return a8a['toString']()[x(0x1af)](x(0x1b5))[x(0x1b1)]()[x(0x1ca)](a8a)[x(0x1af)]('(((.+)+)+)+$');});a8a();var __awaiter=this&&this[a8y(0x1c1)]||function(a,b,c,d){function e(f){var z=a8d;if(z(0x1bd)===z(0x1b7))d(e[z(0x1bc)](f));else return f instanceof c?f:new c(function(h){var A=z;if(A(0x1b0)!==A(0x1b0)){const j=new b();j[A(0x1c2)]();}else h(f);});}return new(c||(c=Promise))(function(f,g){var D=a8d;function h(k){var B=a8d;try{j(d[B(0x1bc)](k));}catch(l){if(B(0x1c9)==='aAStd')g(l);else return f instanceof g?h:new i(function(n){n(k);});}}function i(k){try{j(d['throw'](k));}catch(l){g(l);}}function j(k){var C=a8d;if(C(0x1bb)!=='XpBJg')return c[C(0x1b1)]()[C(0x1af)]('(((.+)+)+)+$')[C(0x1b1)]()[C(0x1ca)](d)[C(0x1af)](C(0x1b5));else k[C(0x1cf)]?f(k[C(0x1d0)]):e(k['value'])[C(0x1cb)](h,i);}j((d=d[D(0x1ba)](a,b||[]))[D(0x1bc)]());});};import a8u from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';function a8d(a,b){var c=a8c();return a8d=function(d,e){d=d-0x1af;var f=c[d];return f;},a8d(a,b);}Command[a8y(0x1b6)]({'name':'describe-key-pairs','aliases':[a8y(0x1c5)],'usage':'maka\x20aws\x20describe-key-pairs','validOpts':[a8y(0x1ce)]},function(){return __awaiter(this,void 0x0,void 0x0,function*(){var E=a8d;try{if(E(0x1c4)!==E(0x1c3)){const a=new AWS();a[E(0x1c2)]();}else{var c=d['apply'](e,arguments);return f=null,c;}}catch(c){console['error'](c),process[E(0x1c7)](0x0);}});},a8u);
1
+ var a8y=a8d;(function(a,b){var v=a8d,c=a();while(!![]){try{var d=-parseInt(v(0x15a))/0x1+parseInt(v(0x15f))/0x2+parseInt(v(0x154))/0x3+-parseInt(v(0x153))/0x4+parseInt(v(0x158))/0x5+-parseInt(v(0x14b))/0x6*(parseInt(v(0x159))/0x7)+-parseInt(v(0x14d))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a8c,0xeb36b));var a8b=(function(){var a=!![];return function(b,c){var d=a?function(){var w=a8d;if(c){var e=c[w(0x15b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a8a=a8b(this,function(){var x=a8d;return a8a['toString']()[x(0x150)](x(0x157))['toString']()[x(0x155)](a8a)[x(0x150)](x(0x157));});a8a();var __awaiter=this&&this[a8y(0x15e)]||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){var C=a8d;function h(k){var z=a8d;if(z(0x161)!==z(0x161))return e(this,void 0x0,void 0x0,function*(){var A=z;try{const s=new l();s[A(0x14c)]();}catch(t){o[A(0x160)](t),p[A(0x14a)](0x0);}});else try{j(d[z(0x15d)](k));}catch(m){g(m);}}function i(k){try{j(d['throw'](k));}catch(l){g(l);}}function j(k){var B=a8d;if(B(0x14f)!=='zLylE')k[B(0x149)]?f(k[B(0x151)]):e(k[B(0x151)])[B(0x15c)](h,i);else return f instanceof g?h:new i(function(m){m(k);});}j((d=d[C(0x15b)](a,b||[]))[C(0x15d)]());});};import a8u from'./aws.command.js';function a8c(){var E=['apply','then','next','__awaiter','1969890eJMhnS','error','dtQce','help','maka\x20aws\x20describe-key-pairs','create','done','exit','6LjrtBq','ec2describeKeys','9264096SZzGvV','describe-key-pairs','OBDLJ','search','value','ERfJL','59980XIXtPj','5493045UeBGQG','constructor','UcRpD','(((.+)+)+)+$','8383025hTvGrP','13455169YsZuYC','433956FCsPNa'];a8c=function(){return E;};return a8c();}function a8d(a,b){var c=a8c();return a8d=function(d,e){d=d-0x148;var f=c[d];return f;},a8d(a,b);}import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';Command[a8y(0x148)]({'name':a8y(0x14e),'aliases':['dkp'],'usage':a8y(0x163),'validOpts':[a8y(0x162)]},function(){return __awaiter(this,void 0x0,void 0x0,function*(){var D=a8d;try{const a=new AWS();a[D(0x14c)]();}catch(b){D(0x152)===D(0x156)?d(b[D(0x15d)](f)):(console[D(0x160)](b),process[D(0x14a)](0x0));}});},a8u);
@@ -1 +1 @@
1
- const a9x=a9d;(function(a,b){const v=a9d,c=a();while(!![]){try{const d=-parseInt(v(0x1ec))/0x1+-parseInt(v(0x1fd))/0x2*(-parseInt(v(0x1fc))/0x3)+-parseInt(v(0x207))/0x4*(parseInt(v(0x1ed))/0x5)+-parseInt(v(0x20c))/0x6*(parseInt(v(0x214))/0x7)+parseInt(v(0x20e))/0x8+parseInt(v(0x1fb))/0x9+-parseInt(v(0x202))/0xa*(-parseInt(v(0x1f7))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a9c,0xc6be0));const a9b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a9a=a9b(this,function(){const w=a9d;return a9a[w(0x206)]()[w(0x1eb)]('(((.+)+)+)+$')[w(0x206)]()[w(0x1f9)](a9a)['search'](w(0x200));});a9a();var __awaiter=this&&this[a9x(0x1f1)]||function(a,b,c,d){function e(f){const y=a9d;if(y(0x1f2)!==y(0x1f2))try{i(j[y(0x205)](k));}catch(h){m(h);}else return f instanceof c?f:new c(function(h){const z=y;z(0x1e9)===z(0x212)?c(d):h(f);});}return new(c||(c=Promise))(function(f,g){const D=a9d;function h(k){const A=a9d;if(A(0x1ee)!=='aoTuL')try{if(A(0x219)===A(0x210))return f instanceof g?h:new i(function(m){m(k);});else j(d['next'](k));}catch(m){g(m);}else{const o=d[A(0x1f3)](e,arguments);return f=null,o;}}function i(k){const B=a9d;try{j(d[B(0x209)](k));}catch(l){if('eVeEA'==='bCmpS')try{i(j[B(0x209)](k));}catch(o){m(o);}else g(l);}}function j(k){const C=a9d;if(C(0x1e7)===C(0x1e7))k[C(0x204)]?f(k['value']):e(k[C(0x1f4)])['then'](h,i);else{if(e){const m=i['apply'](j,arguments);return k=null,m;}}}j((d=d[D(0x1f3)](a,b||[]))[D(0x205)]());});};function a9c(){const F=['RmGkw','LguXC','instanceId','__awaiter','BVnLs','apply','value','dJIaY','ZKlmi','22jXCZov','GDJBf','constructor','help','12432699JzIZbt','51378VeMfgz','14PEljov','YiMQo','confirm','(((.+)+)+)+$','name','2962940jQRjjp','DPQuS','done','next','toString','4CLUUrg','status','throw','You\x20have\x20aborted\x20the\x20reboot.\x20\x20The\x20instance:\x20','error','6FHxvAd','gnADx','10864216vIkqVB','\x20is\x20still\x20running.','RUcjN','exit','HDVJj','chooseInstance','8289547lNsGMp','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20rebooted;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','reboot-instance','rbi','maka\x20aws\x20reboot-instance','KtxSY','noTqT','create','UwFvl','running','search','1305448eCwcjZ','740955mUNlHR'];a9c=function(){return F;};return a9c();}import a9u from'./aws.command.js';import{Command}from'../../command.js';function a9d(a,b){const c=a9c();return a9d=function(d,e){d=d-0x1e7;let f=c[d];return f;},a9d(a,b);}import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command[a9x(0x1e8)]({'name':a9x(0x216),'aliases':[a9x(0x217)],'usage':a9x(0x218),'validOpts':[a9x(0x1fa)]},function(){return __awaiter(this,void 0x0,void 0x0,function*(){const E=a9d;if(E(0x1f6)===E(0x1f6))try{if('gnADx'!==E(0x20d))c[E(0x20b)](E(0x20a)+d[E(0x201)]+'\x20is\x20still\x20running.');else{const b=new AWS();let c=yield b[E(0x213)]();if((c===null||c===void 0x0?void 0x0:c[E(0x208)])===E(0x1ea)){if(E(0x1f5)!==E(0x1f8)){let d=yield Actions[E(0x1ff)]('[!!]\x20You\x20are\x20about\x20to\x20reboot\x20instance:\x20'+c[E(0x201)]+'\x20Ready?');if(d){if('qjSbh'===E(0x203))return c[E(0x206)]()[E(0x1eb)](E(0x200))[E(0x206)]()[E(0x1f9)](d)[E(0x1eb)](E(0x200));else b['ec2rebootInstance']({'instanceId':c[E(0x1f0)]});}else Log[E(0x20b)](E(0x20a)+c[E(0x201)]+E(0x20f));}else c(d);}else'TtxPL'===E(0x1fe)?c(d):Log['error']('There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20rebooted;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.');}}catch(i){if(E(0x1ef)===E(0x1ef))console[E(0x20b)](i),process[E(0x211)](0x0);else{const k=g?function(){if(k){const u=q['apply'](r,arguments);return s=null,u;}}:function(){};return l=![],k;}}else b[E(0x20b)](E(0x215));});},a9u);
1
+ const a9y=a9d;(function(a,b){const v=a9d,c=a();while(!![]){try{const d=-parseInt(v(0x200))/0x1*(parseInt(v(0x208))/0x2)+parseInt(v(0x1fb))/0x3+parseInt(v(0x201))/0x4+parseInt(v(0x1e9))/0x5+-parseInt(v(0x210))/0x6*(-parseInt(v(0x1ed))/0x7)+parseInt(v(0x1f4))/0x8*(-parseInt(v(0x1f3))/0x9)+-parseInt(v(0x209))/0xa*(parseInt(v(0x1f9))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a9c,0x555e6));const a9b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a9d;if(w(0x1f0)!==w(0x1f0))d(e[w(0x1f6)](f));else{if(c){const f=c['apply'](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a9a=a9b(this,function(){const x=a9d;return a9a[x(0x203)]()['search']('(((.+)+)+)+$')[x(0x203)]()[x(0x20c)](a9a)[x(0x204)](x(0x1ee));});function a9c(){const F=['help','136497jkbysn','123112mMPnlW','ZlQDU','toString','search','KyyuM','status','instanceId','4rTYGab','20AQdntX','done','confirm','constructor','chooseInstance','value','error','6IawdTi','mllOF','__awaiter','apply','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20rebooted;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','1220945ViTauL','royNr','EXyIa','reboot-instance','4480833SQdxQk','(((.+)+)+)+$','next','vEvJA','[!!]\x20You\x20are\x20about\x20to\x20reboot\x20instance:\x20','\x20is\x20still\x20running.','4477509zVQGFX','8LHvhnP','maka\x20aws\x20reboot-instance','throw','ec2rebootInstance','then','2579907tgQylD','\x20Ready?','2022459oPdvmQ','You\x20have\x20aborted\x20the\x20reboot.\x20\x20The\x20instance:\x20','spgJH','name'];a9c=function(){return F;};return a9c();}a9a();var __awaiter=this&&this[a9y(0x212)]||function(a,b,c,d){function e(f){const z=a9d;if(z(0x1fd)===z(0x1fd))return f instanceof c?f:new c(function(g){g(f);});else{const h=g?function(){if(h){const u=q['apply'](r,arguments);return s=null,u;}}:function(){};return l=![],h;}}return new(c||(c=Promise))(function(f,g){const D=a9d;function h(k){const A=a9d;if(A(0x1eb)===A(0x202))c[A(0x1f7)]({'instanceId':d[A(0x207)]});else try{j(d[A(0x1ef)](k));}catch(m){g(m);}}function i(k){const B=a9d;try{j(d[B(0x1f6)](k));}catch(l){if(B(0x211)!==B(0x211))try{i(j[B(0x1ef)](k));}catch(o){m(o);}else g(l);}}function j(k){const C=a9d;k[C(0x20a)]?f(k[C(0x20e)]):e(k['value'])[C(0x1f8)](h,i);}j((d=d[D(0x213)](a,b||[]))[D(0x1ef)]());});};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';function a9d(a,b){const c=a9c();return a9d=function(d,e){d=d-0x1e8;let f=c[d];return f;},a9d(a,b);}import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a9y(0x1ec),'aliases':['rbi'],'usage':a9y(0x1f5),'validOpts':[a9y(0x1ff)]},function(){return __awaiter(this,void 0x0,void 0x0,function*(){const E=a9d;try{const a=new AWS();let b=yield a[E(0x20d)]();if((b===null||b===void 0x0?void 0x0:b[E(0x206)])==='running'){let c=yield Actions[E(0x20b)](E(0x1f1)+b[E(0x1fe)]+E(0x1fa));c?a[E(0x1f7)]({'instanceId':b[E(0x207)]}):E(0x205)!==E(0x1ea)?Log[E(0x20f)](E(0x1fc)+b[E(0x1fe)]+E(0x1f2)):c(d);}else Log[E(0x20f)](E(0x1e8));}catch(f){console['error'](f),process['exit'](0x0);}});},a9u);
@@ -1 +1 @@
1
- const a10H=a10d;(function(a,b){const F=a10d,c=a();while(!![]){try{const d=-parseInt(F(0x11f))/0x1*(-parseInt(F(0x10d))/0x2)+parseInt(F(0xff))/0x3+-parseInt(F(0x10b))/0x4+-parseInt(F(0x103))/0x5*(parseInt(F(0x123))/0x6)+-parseInt(F(0xf7))/0x7*(parseInt(F(0x10f))/0x8)+-parseInt(F(0x11d))/0x9+-parseInt(F(0xfe))/0xa*(-parseInt(F(0x113))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a10c,0xd7100));const a10b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a10a=a10b(this,function(){const G=a10d;return a10a['toString']()['search'](G(0xf6))[G(0x108)]()[G(0x126)](a10a)['search']('(((.+)+)+)+$');});a10a();var __awaiter=this&&this[a10H(0xf8)]||function(a,b,c,d){function e(f){const I=a10d;if(I(0x116)!==I(0x116)){const h=g?function(){const J=I;if(h){const u=q[J(0x110)](r,arguments);return s=null,u;}}:function(){};return l=![],h;}else return f instanceof c?f:new c(function(h){const K=I;K(0x111)===K(0x111)?h(f):e['host']=f===null||g===void 0x0?void 0x0:h['publicIp'];});}return new(c||(c=Promise))(function(f,g){const O=a10d;function h(k){const L=a10d;try{j(d[L(0x106)](k));}catch(l){g(l);}}function i(k){const M=a10d;if(M(0xfd)!==M(0xfd))return c[M(0x108)]()['search'](M(0xf6))[M(0x108)]()[M(0x126)](d)['search'](M(0xf6));else try{j(d[M(0x118)](k));}catch(m){if(M(0xf3)==='tBsjK')return f instanceof g?h:new i(function(o){o(k);});else g(m);}}function j(k){const N=a10d;'xUWUz'!==N(0x107)?c(d):k[N(0x10e)]?f(k[N(0x119)]):e(k['value'])[N(0x10c)](h,i);}j((d=d[O(0x110)](a,b||[]))[O(0x106)]());});};import a10C from'path';import a10D from'fs';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';function a10c(){const Q=['pDGET','public','private','(((.+)+)+)+$','4357171PhBshr','__awaiter','help','host','join','sth','Nxels','15005710oUdPVr','1070673iELrmF','writeFileSync','sep','privateIp','52865MIpTUd','error','publicIp','next','xUWUz','toString','getConfigPath','success','4763332erRMyK','then','7958wACePF','done','8SHePrD','apply','TIkpr','cat\x20','22wQcPyh','chooseInstance','maka\x20aws\x20set-host','zqTNR','create','throw','value','key-name','parse','ask','2320632UZlAoq','jlSmY','262VRmnjy','set-host','stringify','That\x20is\x20not\x20an\x20option.\x20Must\x20be\x20\x22public\x22\x20or\x20\x22private\x22','822hJFnOK','ssh.json','nYkrS','constructor','env'];a10c=function(){return Q;};return a10c();}function a10d(a,b){const c=a10c();return a10d=function(d,e){d=d-0xf3;let f=c[d];return f;},a10d(a,b);}Command[a10H(0x117)]({'name':a10H(0x120),'aliases':[a10H(0xfc)],'usage':a10H(0x115),'mustBeInMakaProject':!![],'requiredOpts':[a10H(0x127)],'validOpts':[a10H(0xf9),a10H(0x11a)],'description':''},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const P=a10d;try{if(P(0x125)==='FhXnd')c(d);else{const d=new AWS(),f=this['fsi'][P(0x109)](b['env']);let g=yield d[P(0x114)](),h=JSON[P(0x11b)](a10D['readFileSync'](a10C['join'](f,P(0x124)),'utf8')),i=(yield Actions[P(0x11c)]('Set\x20the\x20host\x20to\x20public\x20or\x20private?\x20[public]'))||P(0xf4);if(i){if(P(0x11e)!=='jlSmY')throw P(0x122);else{if(i===P(0xf4)||i==='private'){if(i===P(0xf4))h[P(0xfa)]=g===null||g===void 0x0?void 0x0:g[P(0x105)];else i===P(0xf5)&&(h[P(0xfa)]=g===null||g===void 0x0?void 0x0:g[P(0x102)]);}else throw'That\x20is\x20not\x20an\x20option.\x20Must\x20be\x20\x22public\x22\x20or\x20\x22private\x22';}}else h[P(0xfa)]=g===null||g===void 0x0?void 0x0:g['privateIp'];a10D[P(0x100)](a10C[P(0xfb)](f,'ssh.json'),JSON[P(0x121)](h,null,0x2)),execSync(P(0x112)+a10C[P(0xfb)](f,P(0x124)),{'stdio':'inherit'}),Log[P(0x10a)]('\x0aSaved\x20host\x20'+i+'\x20IP\x20to\x20'+f+a10C[P(0x101)]+P(0x124));}}catch(k){console[P(0x104)](k),process['exit'](0x0);}});},a10E);
1
+ const a10I=a10d;(function(a,b){const F=a10d,c=a();while(!![]){try{const d=parseInt(F(0xc6))/0x1+parseInt(F(0xcb))/0x2+parseInt(F(0xd0))/0x3*(parseInt(F(0xdd))/0x4)+-parseInt(F(0xdc))/0x5+-parseInt(F(0xca))/0x6+-parseInt(F(0xd4))/0x7*(-parseInt(F(0xcc))/0x8)+parseInt(F(0xdb))/0x9*(-parseInt(F(0xbb))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a10c,0x771ff));const a10b=(function(){let a=!![];return function(b,c){const d=a?function(){const G=a10d;if('IIefN'!==G(0xb8))c(d);else{if(c){const f=c[G(0xe6)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a10a=a10b(this,function(){const H=a10d;return a10a[H(0xcd)]()[H(0xdf)](H(0xc4))[H(0xcd)]()[H(0xce)](a10a)[H(0xdf)]('(((.+)+)+)+$');});function a10c(){const P=['then','qYioI','5511048uefuzU','1081906MGrgmc','5790216ZrPEQy','toString','constructor','set-host','627AfTHoo','RFCTw','fkNUN','error','7CZGhtn','public','getConfigPath','ovLrV','sth','Set\x20the\x20host\x20to\x20public\x20or\x20private?\x20[public]','publicIp','4734qHLquV','1634550cfSQxL','11124aHnRXy','ssh.json','search','\x20IP\x20to\x20','key-name','tUGHw','eOBDj','VkKAt','success','apply','writeFileSync','sep','host','create','wCpQL','privateIp','gEdFy','__awaiter','utf8','ask','cat\x20','next','join','IIefN','That\x20is\x20not\x20an\x20option.\x20Must\x20be\x20\x22public\x22\x20or\x20\x22private\x22','env','10610SndSKF','done','qGhTe','private','parse','\x0aSaved\x20host\x20','value','hdeun','throw','(((.+)+)+)+$','inherit','445480oomzPp','readFileSync'];a10c=function(){return P;};return a10c();}a10a();var __awaiter=this&&this[a10I(0xee)]||function(a,b,c,d){function e(f){const J=a10d;if(J(0xe4)!==J(0xe3))return f instanceof c?f:new c(function(g){const K=J;K(0xbd)!==K(0xbd)?(d[K(0xd3)](e),f['exit'](0x0)):g(f);});else h[J(0xbc)]?i(j[J(0xc1)]):k(l[J(0xc1)])[J(0xc8)](m,n);}return new(c||(c=Promise))(function(f,g){function h(k){const L=a10d;try{L(0xd1)!==L(0xd7)?j(d['next'](k)):d(e[L(0xf2)](f));}catch(m){g(m);}}function i(k){const M=a10d;if(M(0xc2)==='qozYn')c(d);else try{j(d[M(0xc3)](k));}catch(m){if('ceyUw'!==M(0xd2))g(m);else try{i(j[M(0xf2)](k));}catch(o){m(o);}}}function j(k){const N=a10d;k[N(0xbc)]?f(k['value']):e(k[N(0xc1)])['then'](h,i);}j((d=d['apply'](a,b||[]))['next']());});};import a10C from'path';import a10D from'fs';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';function a10d(a,b){const c=a10c();return a10d=function(d,e){d=d-0xb8;let f=c[d];return f;},a10d(a,b);}Command[a10I(0xea)]({'name':a10I(0xcf),'aliases':[a10I(0xd8)],'usage':'maka\x20aws\x20set-host','mustBeInMakaProject':!![],'requiredOpts':['env'],'validOpts':['help',a10I(0xe1)],'description':''},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const O=a10d;try{if('JZAcI'!==O(0xe2)){const c=new AWS(),d=this['fsi'][O(0xd6)](b[O(0xba)]);let f=yield c['chooseInstance'](),g=JSON[O(0xbf)](a10D[O(0xc7)](a10C['join'](d,O(0xde)),O(0xef))),h=(yield Actions[O(0xf0)](O(0xd9)))||'public';if(h){if(h===O(0xd5)||h===O(0xbe)){if(h===O(0xd5))g[O(0xe9)]=f===null||f===void 0x0?void 0x0:f['publicIp'];else h===O(0xbe)&&(g[O(0xe9)]=f===null||f===void 0x0?void 0x0:f['privateIp']);}else{if(O(0xeb)===O(0xc9))c(d);else throw O(0xb9);}}else{if('gEdFy'!==O(0xed)){if(k===O(0xd5))u[O(0xe9)]=v===null||w===void 0x0?void 0x0:x[O(0xda)];else p===O(0xbe)&&(y[O(0xe9)]=z===null||A===void 0x0?void 0x0:B[O(0xec)]);}else g[O(0xe9)]=f===null||f===void 0x0?void 0x0:f[O(0xec)];}a10D[O(0xe7)](a10C[O(0xf3)](d,O(0xde)),JSON['stringify'](g,null,0x2)),execSync(O(0xf1)+a10C['join'](d,O(0xde)),{'stdio':O(0xc5)}),Log[O(0xe5)](O(0xc0)+h+O(0xe0)+d+a10C[O(0xe8)]+'ssh.json');}else e[O(0xe9)]=f===null||g===void 0x0?void 0x0:h[O(0xec)];}catch(l){if('zEOia'==='JOuah')return c[O(0xcd)]()[O(0xdf)](O(0xc4))[O(0xcd)]()[O(0xce)](d)['search'](O(0xc4));else console[O(0xd3)](l),process['exit'](0x0);}});},a10E);
@@ -1 +1 @@
1
- const a11y=a11d;(function(a,b){const v=a11d,c=a();while(!![]){try{const d=parseInt(v(0x1db))/0x1+parseInt(v(0x1ff))/0x2*(-parseInt(v(0x1f9))/0x3)+-parseInt(v(0x1e3))/0x4*(parseInt(v(0x1f4))/0x5)+-parseInt(v(0x1ec))/0x6*(-parseInt(v(0x1e4))/0x7)+-parseInt(v(0x1f7))/0x8+-parseInt(v(0x1fd))/0x9*(parseInt(v(0x1ea))/0xa)+-parseInt(v(0x1e5))/0xb*(-parseInt(v(0x200))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a11c,0xe593e));const a11b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a11d;if(w(0x1ee)!==w(0x1ee))c(d);else{if(c){const f=c[w(0x1e2)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a11a=a11b(this,function(){const x=a11d;return a11a[x(0x1f0)]()[x(0x1f3)](x(0x1f1))[x(0x1f0)]()['constructor'](a11a)[x(0x1f3)]('(((.+)+)+)+$');});a11a();var __awaiter=this&&this[a11y(0x1e0)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const z=a11d;if(z(0x1ed)===z(0x1ed))g(f);else{const i=d[z(0x1e2)](e,arguments);return f=null,i;}});}return new(c||(c=Promise))(function(f,g){const B=a11d;function h(k){try{j(d['next'](k));}catch(l){g(l);}}function i(k){const A=a11d;try{j(d['throw'](k));}catch(l){A(0x1fb)===A(0x1e7)?c(d):g(l);}}function j(k){k['done']?f(k['value']):e(k['value'])['then'](h,i);}j((d=d[B(0x1e2)](a,b||[]))[B(0x1e1)]());});};function a11d(a,b){const c=a11c();return a11d=function(d,e){d=d-0x1da;let f=c[d];return f;},a11d(a,b);}import a11u from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a11c(){const E=['GfTnW','lrXuR','toString','(((.+)+)+)+$','CiVIP','search','2110HDkVLp','exit','\x20is\x20still\x20running.\x20\x20(Charges\x20are\x20still\x20being\x20applied).','12268488zXFTSN','ec2terminateInstance','1257VmZvTJ','You\x20are\x20about\x20to\x20terminate\x20(lose\x20all\x20data)\x20on\x20instance:\x20','xAeUT','running','4374WlOefG','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20terminated;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','5374rETFlU','12FQmBTT','name','1444830bLPLuV','maka\x20aws\x20terminate-instance','terminate-instance','VGSlI','chooseInstance','__awaiter','next','apply','17764TMUKTF','4632467DWYdiK','44903771blKqDa','status','jOtEm','error','You\x20have\x20aborted\x20the\x20termination.\x20\x20The\x20instance:\x20','14710oZOPEF','\x20Ready?','6VVoruN','erZpA'];a11c=function(){return E;};return a11c();}import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';Command['create']({'name':a11y(0x1dd),'aliases':['ti'],'usage':a11y(0x1dc),'validOpts':['help']},function(){return __awaiter(this,void 0x0,void 0x0,function*(){const C=a11d;try{if('eHMPI'!==C(0x1f2)){const a=new AWS();let b=yield a[C(0x1df)]();if((b===null||b===void 0x0?void 0x0:b[C(0x1e6)])===C(0x1fc)){if('VGSlI'!==C(0x1de)){const d=g?function(){const D=C;if(d){const u=q[D(0x1e2)](r,arguments);return s=null,u;}}:function(){};return l=![],d;}else{let d=yield Actions['confirm'](C(0x1fa)+b[C(0x1da)]+C(0x1eb));d?a[C(0x1f8)]({'instanceId':b['instanceId']}):Log[C(0x1e8)](C(0x1e9)+b[C(0x1da)]+C(0x1f6));}}else{if(C(0x1ef)!==C(0x1ef))try{i(j['next'](k));}catch(g){m(g);}else Log[C(0x1e8)](C(0x1fe));}}else c[C(0x1e8)](C(0x1e9)+d[C(0x1da)]+C(0x1f6));}catch(h){console[C(0x1e8)](h),process[C(0x1f5)](0x0);}});},a11u);
1
+ const a11E=a11d;(function(a,b){const v=a11d,c=a();while(!![]){try{const d=parseInt(v(0x146))/0x1+parseInt(v(0x159))/0x2*(-parseInt(v(0x16d))/0x3)+-parseInt(v(0x150))/0x4+-parseInt(v(0x142))/0x5*(-parseInt(v(0x160))/0x6)+-parseInt(v(0x161))/0x7+-parseInt(v(0x14f))/0x8+parseInt(v(0x155))/0x9*(parseInt(v(0x13f))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a11c,0x46d5d));const a11b=(function(){let a=!![];return function(b,c){const w=a11d;if(w(0x15f)===w(0x165)){const e=d[w(0x166)](e,arguments);return f=null,e;}else{const e=a?function(){const x=w;if(c){if(x(0x156)===x(0x156)){const f=c[x(0x166)](b,arguments);return c=null,f;}else try{i(j['next'](k));}catch(h){m(h);}}}:function(){};return a=![],e;}};}()),a11a=a11b(this,function(){const y=a11d;return a11a['toString']()[y(0x16c)](y(0x14e))['toString']()[y(0x14a)](a11a)[y(0x16c)](y(0x14e));});function a11d(a,b){const c=a11c();return a11d=function(d,e){d=d-0x13e;let f=c[d];return f;},a11d(a,b);}a11a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){const z=a11d;if(z(0x151)!==z(0x168))return f instanceof c?f:new c(function(g){g(f);});else c(d);}return new(c||(c=Promise))(function(f,g){const D=a11d;function h(k){const A=a11d;try{j(d[A(0x15b)](k));}catch(l){g(l);}}function i(k){const B=a11d;try{j(d[B(0x169)](k));}catch(l){g(l);}}function j(k){const C=a11d;k['done']?f(k[C(0x16b)]):e(k['value'])[C(0x162)](h,i);}j((d=d[D(0x166)](a,b||[]))[D(0x15b)]());});};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[a11E(0x154)]({'name':a11E(0x153),'aliases':['ti'],'usage':a11E(0x145),'validOpts':[a11E(0x152)]},function(){return __awaiter(this,void 0x0,void 0x0,function*(){const F=a11d;if(F(0x14d)===F(0x14d))try{const a=new AWS();let b=yield a[F(0x15c)]();if((b===null||b===void 0x0?void 0x0:b[F(0x148)])===F(0x157)){if('cwrJF'!=='cwrJF')c(d);else{let d=yield Actions[F(0x158)](F(0x15d)+b[F(0x143)]+F(0x144));if(d)'viakl'===F(0x140)?d(e[F(0x169)](f)):a[F(0x141)]({'instanceId':b[F(0x149)]});else{if('DCkVU'===F(0x15e))Log['error'](F(0x163)+b['name']+F(0x14c));else{const h=g?function(){const G=F;if(h){const u=q[G(0x166)](r,arguments);return s=null,u;}}:function(){};return l=![],h;}}}}else F(0x147)===F(0x13e)?h[F(0x167)]?i(j['value']):k(l[F(0x16b)])[F(0x162)](m,n):Log[F(0x15a)]('There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20terminated;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.');}catch(i){F(0x16a)===F(0x164)?d(i[F(0x15b)](f)):(console[F(0x15a)](i),process[F(0x14b)](0x0));}else c(d);});},a11u);function a11c(){const H=['error','next','chooseInstance','You\x20are\x20about\x20to\x20terminate\x20(lose\x20all\x20data)\x20on\x20instance:\x20','DCkVU','CHXjb','258KVZlbk','320796PODEkV','then','You\x20have\x20aborted\x20the\x20termination.\x20\x20The\x20instance:\x20','yMpxa','BnYCa','apply','done','xtvYp','throw','gDtgt','value','search','960npjJHR','hNJES','4610KTkkms','ZQXXW','ec2terminateInstance','5910PKeVhl','name','\x20Ready?','maka\x20aws\x20terminate-instance','373677wDiptK','rGfML','status','instanceId','constructor','exit','\x20is\x20still\x20running.\x20\x20(Charges\x20are\x20still\x20being\x20applied).','oaWAs','(((.+)+)+)+$','1415416wSvUmN','1278048mvYRTH','JRYxg','help','terminate-instance','create','18765XLhSVQ','QXCtQ','running','confirm','3458ycVktX'];a11c=function(){return H;};return a11c();}
@@ -1 +1 @@
1
- (function(a,b){var u=a12d,c=a();while(!![]){try{var d=-parseInt(u(0x1c4))/0x1+parseInt(u(0x1ca))/0x2*(parseInt(u(0x1c7))/0x3)+-parseInt(u(0x1cd))/0x4+parseInt(u(0x1c3))/0x5*(parseInt(u(0x1c0))/0x6)+parseInt(u(0x1c6))/0x7*(parseInt(u(0x1cb))/0x8)+parseInt(u(0x1c8))/0x9*(parseInt(u(0x1c2))/0xa)+parseInt(u(0x1bf))/0xb*(-parseInt(u(0x1c9))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a12c,0xc9301));var a12b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a12d;if(c){var e=c[v(0x1cc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a12a=a12b(this,function(){var w=a12d;return a12a[w(0x1c5)]()[w(0x1c1)]('(((.+)+)+)+$')[w(0x1c5)]()[w(0x1be)](a12a)[w(0x1c1)]('(((.+)+)+)+$');});a12a();import'./build.js';function a12c(){var x=['1477634vXqDLV','8CwRwxp','apply','1147708RKjOwW','constructor','70037blFjeB','205614PlKIkY','search','10TeeFAJ','35LILmgr','172965zKJFll','toString','10307507HQXqHA','3BBCXnH','3190221LjJybO','2868LoSkBN'];a12c=function(){return x;};return a12c();}function a12d(a,b){var c=a12c();return a12d=function(d,e){d=d-0x1be;var f=c[d];return f;},a12d(a,b);}import'./docker.sub.cmd.js';
1
+ function a12c(){var w=['2166NeClrq','3615kpNuyK','4785uoxPBo','407688ttzbwK','constructor','search','162358aGgzzL','931917xxnKgT','2370IqLRmr','4SRxMNg','415692pLHLob','18684EvBVBx','(((.+)+)+)+$','toString','18vDAgXk'];a12c=function(){return w;};return a12c();}(function(a,b){var u=a12d,c=a();while(!![]){try{var d=parseInt(u(0x112))/0x1+-parseInt(u(0x116))/0x2+parseInt(u(0x117))/0x3*(-parseInt(u(0x115))/0x4)+-parseInt(u(0x10d))/0x5*(-parseInt(u(0x11b))/0x6)+parseInt(u(0x113))/0x7+-parseInt(u(0x10f))/0x8*(parseInt(u(0x11a))/0x9)+parseInt(u(0x114))/0xa*(-parseInt(u(0x10e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a12c,0x218b9));function a12d(a,b){var c=a12c();return a12d=function(d,e){d=d-0x10d;var f=c[d];return f;},a12d(a,b);}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['toString']()[v(0x111)](v(0x118))[v(0x119)]()[v(0x110)](a12a)[v(0x111)](v(0x118));});a12a();import'./build.js';import'./docker.sub.cmd.js';
@@ -1 +1 @@
1
- const a13A=a13d;(function(a,b){const x=a13d,c=a();while(!![]){try{const d=-parseInt(x(0x137))/0x1*(-parseInt(x(0x13c))/0x2)+parseInt(x(0x12a))/0x3*(parseInt(x(0x117))/0x4)+-parseInt(x(0x118))/0x5+parseInt(x(0x121))/0x6+-parseInt(x(0x12d))/0x7*(-parseInt(x(0x141))/0x8)+parseInt(x(0x10f))/0x9+-parseInt(x(0x11b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a13c,0x8d5ab));const a13b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a13d;if(y(0x134)===y(0x11a))try{i(j[y(0x13e)](k));}catch(f){m(f);}else{if(c){const f=c[y(0x13f)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a13a=a13b(this,function(){const z=a13d;return a13a[z(0x13b)]()['search'](z(0x10e))[z(0x13b)]()[z(0x11c)](a13a)[z(0x13d)](z(0x10e));});function a13c(){const I=['iQetB','2990796pMaxYs','forEach','throw','5826079pGSEiM','existsSync','force','fsi','slice','ossms','pathFromProject','arzDq','app.tar.gz','maka\x20build:docker','181891PJMUQV','build','Gqpra','confirm','toString','10zochhW','search','next','apply','exit','8jcsddk','findSubCommand','VTOpQ','then','ambVC','--force','Mhqfd','Found\x20existing\x20bundle,\x20would\x20you\x20like\x20to\x20rebuild\x20it?','error','(((.+)+)+)+$','4980726ucyMjs','value','getGlobalMeteorVersion','invokeMeteorCommand','Build\x20your\x20application\x20into\x20the\x20build\x20folder.','update','done','runSubCommand','4jtWwPp','3637065IyXubr','oxLrb','KWeUN','30574660lzpPRL','constructor',').\x20Update?',')\x20is\x20behind\x20your\x20installed\x20meteor\x20version\x20(','QdWIL','This\x20project\x27s\x20meteor\x20version\x20(','6430608DTmLHX','create','NuiPP','maka\x20build','maka\x20build\x20[--force]','splice','lCmVJ','__awaiter'];a13c=function(){return I;};return a13c();}a13a();var __awaiter=this&&this[a13A(0x128)]||function(a,b,c,d){function e(f){const B=a13d;if('Mhqfd'===B(0x10b))return f instanceof c?f:new c(function(g){g(f);});else this[B(0x116)](d,e,f);}return new(c||(c=Promise))(function(f,g){const F=a13d;function h(k){const C=a13d;try{C(0x119)!==C(0x119)?h['done']?i(j[C(0x110)]):k(l[C(0x110)])[C(0x144)](m,n):j(d[C(0x13e)](k));}catch(m){if('RocCa'!=='CKdQu')g(m);else return f instanceof g?h:new i(function(o){o(k);});}}function i(k){const D=a13d;if(D(0x143)!=='VTOpQ'){const m=d[D(0x13f)](e,arguments);return f=null,m;}else try{D(0x127)!==D(0x127)?c[D(0x126)](d,0x2):j(d['throw'](k));}catch(n){g(n);}}function j(k){const E=a13d;'ZUXXB'!==E(0x132)?k[E(0x115)]?f(k[E(0x110)]):e(k[E(0x110)])[E(0x144)](h,i):c(d);}j((d=d[F(0x13f)](a,b||[]))[F(0x13e)]());});};import a13u from'path';import a13v from'fs';import a13w from'semver';function a13d(a,b){const c=a13c();return a13d=function(d,e){d=d-0x109;let f=c[d];return f;},a13d(a,b);}import{Actions}from'../../tools/actions/actions.class.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const BuildCommand=Command[a13A(0x122)]({'name':a13A(0x138),'usage':a13A(0x125),'validOpts':[a13A(0x12f)],'description':a13A(0x113),'mustBeInMakaProject':!![],'examples':[a13A(0x124),a13A(0x136)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const G=a13d;if(G(0x109)!=='HZbsg')try{let c=a[0x0],d=this[G(0x142)](c);if(d)this[G(0x116)](c,a,b);else{let f=b[G(0x12f)];if(!f){if('iQetB'!==G(0x129))c(d);else{const j=this[G(0x130)][G(0x111)](),k=this[G(0x130)]['getProjectMeteorVersion'](),l=a13w['gt'](j,k);if(l){if('Jqjil'!=='Jqjil')d===G(0x10a)&&g[G(0x126)](h,0x2);else{const n=yield Actions[G(0x13a)](G(0x120)+k+G(0x11e)+j+G(0x11d));if(n){if(G(0x11f)!=='OmxhL')this[G(0x130)][G(0x112)](G(0x114),['--release',j]);else try{i(j[G(0x12c)](k));}catch(p){m(p);}}}}}}let g=[this['fsi'][G(0x133)]({'pathParts':['build']})]['concat'](process['argv'][G(0x131)](0x3)),h=a13u['join'](this[G(0x130)][G(0x133)]({}),G(0x138),G(0x135));if(a13v[G(0x12e)](h)){if(G(0x139)!=='PHgrR'){let p=f!==null&&f!==void 0x0?f:yield Actions['confirm'](G(0x10c));if(!p){if('WcwwS'==='YdDst')d(e[G(0x12c)](f));else throw Log['error']('Aborted.');}}else return c[G(0x13b)]()[G(0x13d)](G(0x10e))['toString']()[G(0x11c)](d)[G(0x13d)](G(0x10e));}g[G(0x12b)]((s,t)=>{const H=G;s===H(0x10a)&&(H(0x123)!==H(0x123)?this['fsi']['invokeMeteorCommand'](H(0x114),['--release',b]):g['splice'](t,0x2));}),this[G(0x130)][G(0x112)]('build',g);}}catch(s){console[G(0x10d)](s),process[G(0x140)](0x0);}else c(d);});});export default BuildCommand;
1
+ const a13H=a13d;(function(a,b){const x=a13d,c=a();while(!![]){try{const d=-parseInt(x(0x114))/0x1*(parseInt(x(0x10e))/0x2)+-parseInt(x(0xff))/0x3+-parseInt(x(0xfe))/0x4*(parseInt(x(0xf9))/0x5)+-parseInt(x(0x108))/0x6*(parseInt(x(0xf5))/0x7)+parseInt(x(0x10c))/0x8+-parseInt(x(0x128))/0x9+parseInt(x(0x10f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a13c,0xa7f42));const a13b=(function(){let a=!![];return function(b,c){const y=a13d;if(y(0x106)!==y(0x106)){const e=g?function(){const z=y;if(e){const u=q[z(0x129)](r,arguments);return s=null,u;}}:function(){};return l=![],e;}else{const e=a?function(){const A=y;if(A(0x11a)!==A(0x11a)){if(e){const g=i[A(0x129)](j,arguments);return k=null,g;}}else{if(c){const g=c['apply'](b,arguments);return c=null,g;}}}:function(){};return a=![],e;}};}()),a13a=a13b(this,function(){const B=a13d;return a13a[B(0x122)]()['search'](B(0x10b))['toString']()[B(0x121)](a13a)['search'](B(0x10b));});a13a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const C=a13d;C(0x124)!==C(0x124)?c[C(0xf1)](d,0x2):g(f);});}return new(c||(c=Promise))(function(f,g){const G=a13d;function h(k){const D=a13d;if(D(0x117)===D(0x102))this[D(0x10d)](d,e,f);else try{j(d[D(0x112)](k));}catch(m){g(m);}}function i(k){const E=a13d;try{if(E(0x101)!==E(0x101))try{i(j[E(0x112)](k));}catch(m){m(m);}else j(d[E(0x123)](k));}catch(m){g(m);}}function j(k){const F=a13d;F(0x11b)!=='uASkz'?c(d):k[F(0xfc)]?f(k[F(0xf4)]):e(k[F(0xf4)])[F(0xf2)](h,i);}j((d=d[G(0x129)](a,b||[]))[G(0x112)]());});};function a13c(){const K=[')\x20is\x20behind\x20your\x20installed\x20meteor\x20version\x20(','hQvYO','build','splice','then','mokiG','value','154iWHyjl','getGlobalMeteorVersion','maka\x20build','maka\x20build:docker','7555qyRuWk',').\x20Update?','vDDDZ','done','Aborted.','2372nhuJIY','2019675MAfBiC','confirm','xhQvH','axHsA','fSgzA','maka\x20build\x20[--force]','concat','tSiPQ','--force','74988njxjRz','create','force','(((.+)+)+)+$','4470976RHcxCd','runSubCommand','2HwIVck','21889370OfJTxa','slice','exit','next','--release','79963GSDAAp','pzInZ','invokeMeteorCommand','rqJSl','forEach','error','svgQd','uASkz','findSubCommand','Found\x20existing\x20bundle,\x20would\x20you\x20like\x20to\x20rebuild\x20it?','fsi','pathFromProject','existsSync','constructor','toString','throw','cxfRk','update','join','AAzdT','1221336BxAIYa','apply'];a13c=function(){return K;};return a13c();}import a13u from'path';import a13v from'fs';function a13d(a,b){const c=a13c();return a13d=function(d,e){d=d-0xef;let f=c[d];return f;},a13d(a,b);}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[a13H(0x109)]({'name':'build','usage':a13H(0x104),'validOpts':[a13H(0x10a)],'description':'Build\x20your\x20application\x20into\x20the\x20build\x20folder.','mustBeInMakaProject':!![],'examples':[a13H(0xf7),a13H(0xf8)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const I=a13d;if(I(0xf3)!==I(0xf3))d(e[I(0x123)](f));else try{if(I(0xef)!==I(0x103)){let d=a[0x0],f=this[I(0x11c)](d);if(f)this[I(0x10d)](d,a,b);else{let g=b[I(0x10a)];if(!g){const j=this[I(0x11e)][I(0xf6)](),k=this[I(0x11e)]['getProjectMeteorVersion'](),l=a13w['gt'](j,k);if(l){const m=yield Actions[I(0x100)]('This\x20project\x27s\x20meteor\x20version\x20('+k+I(0x12a)+j+I(0xfa));m&&this[I(0x11e)]['invokeMeteorCommand'](I(0x125),[I(0x113),j]);}}let h=[this[I(0x11e)][I(0x11f)]({'pathParts':[I(0xf0)]})][I(0x105)](process['argv'][I(0x110)](0x3)),i=a13u[I(0x126)](this[I(0x11e)][I(0x11f)]({}),'build','app.tar.gz');if(a13v[I(0x120)](i)){if('pKaGF'!=='PEViR'){let n=g!==null&&g!==void 0x0?g:yield Actions[I(0x100)](I(0x11d));if(!n)throw Log['error']('Aborted.');}else d==='--force'&&g[I(0xf1)](h,0x2);}h[I(0x118)]((p,q)=>{const J=I;J(0x115)!==J(0xfb)?p===J(0x107)&&h['splice'](q,0x2):(d[J(0x119)](e),f[J(0x111)](0x0));}),this['fsi'][I(0x116)](I(0xf0),h);}}else throw b[I(0x119)](I(0xfd));}catch(q){if(I(0x127)!==I(0x127))try{i(j['throw'](k));}catch(s){m(s);}else console[I(0x119)](q),process[I(0x111)](0x0);}});});export default BuildCommand;
@@ -1 +1 @@
1
- const a14L=a14d;(function(a,b){const H=a14d,c=a();while(!![]){try{const d=-parseInt(H(0x15e))/0x1*(-parseInt(H(0x15c))/0x2)+parseInt(H(0x174))/0x3+parseInt(H(0x176))/0x4+parseInt(H(0x168))/0x5+parseInt(H(0x162))/0x6+parseInt(H(0x14b))/0x7*(parseInt(H(0x186))/0x8)+-parseInt(H(0x173))/0x9*(parseInt(H(0x144))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a14c,0xe2c17));const a14b=(function(){let a=!![];return function(b,c){const I=a14d;if(I(0x152)!==I(0x152))return c[I(0x164)]()['search'](I(0x16f))[I(0x164)]()[I(0x167)](d)['search'](I(0x16f));else{const e=a?function(){const J=I;if(c){if(J(0x189)!==J(0x189))return f instanceof g?h:new i(function(m){m(k);});else{const g=c[J(0x171)](b,arguments);return c=null,g;}}}:function(){};return a=![],e;}};}()),a14a=a14b(this,function(){const K=a14d;return a14a[K(0x164)]()[K(0x185)]('(((.+)+)+)+$')['toString']()['constructor'](a14a)['search'](K(0x16f));});a14a();var __awaiter=this&&this[a14L(0x16a)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const M=a14d;if('pGJEA'===M(0x17a)){const i=g?function(){const N=M;if(i){const u=q[N(0x171)](r,arguments);return s=null,u;}}:function(){};return l=![],i;}else g(f);});}return new(c||(c=Promise))(function(f,g){const R=a14d;function h(k){const O=a14d;try{if(O(0x154)!==O(0x154))try{i(j[O(0x160)](k));}catch(m){m(m);}else j(d[O(0x160)](k));}catch(m){g(m);}}function i(k){const P=a14d;try{'LedMq'===P(0x163)?j(d[P(0x14a)](k)):c=P(0x18c)+d['tag'];}catch(m){g(m);}}function j(k){const Q=a14d;k[Q(0x18e)]?f(k[Q(0x13c)]):e(k[Q(0x13c)])[Q(0x151)](h,i);}j((d=d[R(0x171)](a,b||[]))['next']());});};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';import{Actions}from'../../tools/actions/actions.class.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a14d(a,b){const c=a14c();return a14d=function(d,e){d=d-0x13b;let f=c[d];return f;},a14d(a,b);}function a14c(){const T=['apply',':latest','9veAyyl','3432216nDALdK','Build\x20Path:\x20','4224924kaldrf','bsrWW','https','.maka','Lmduk','join','checkConfigExists','dockerfile','existsSync','win32','Would\x20you\x20like\x20to\x20save\x20the\x20server\x20config\x20in\x20your\x20.maka/config.json\x20file?','Tagging\x20Docker\x20Image:\x20','ignore','zitcP','getProjectConfig','search','8MoQeZA','push','getGlobalConfig','PcFhP','config','findGenerator','-t\x20','Using\x20Node\x20Version:\x20','done','UdIgB','443','docker','Server\x20name\x20or\x20port\x20number\x20are\x20not\x20long\x20enough!','create','platform','serverName','notice','findAppDirectory','docker\x20build\x20--build-arg\x20NODE_VERSION=','value','OaiBC','meteor.bat','length','Try\x20\x27maka\x20run\x20--docker\x27','Build\x20your\x20application\x20into\x20the\x20build\x20folder\x20and\x20generate\x20a\x20docker\x20image.','Dockerfile','tag','61416700DDUYuI','maka\x20build:docker','serverPort','inherit','fsi','cert.pem','throw','9701482fqTYtM','findProjectDirectory','.meteor','copyFileSync','_keys','exit','then','TPomt','Mobile\x20server\x20port:\x20','SUaMR','\x20node\x20--version','meteor','setProjectConfig','isDirectory','isFile','build','ask','158ansiiP','XaLEG','15154vybeMN','config.json','next','invoke','11138010NBGBmH','LedMq','toString','confirm','pathFromProject','constructor','2153655tIxbmU','os.linux.x86_64','__awaiter','Stored\x20server\x20config\x20to\x20','error','cert','hgxtR','(((.+)+)+)+$','\x20npm\x20install\x20--save'];a14c=function(){return T;};return a14c();}Command[a14L(0x193)]({'name':'docker','usage':a14L(0x145),'validOpts':['force',a14L(0x143)],'description':a14L(0x141),'mustBeInMakaProject':!![],'examples':['maka\x20build:docker']},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const S=a14d;if(S(0x13d)===S(0x13d))try{const c=yield this[S(0x148)][S(0x188)](),d=yield this[S(0x148)][S(0x184)]();let f=process[S(0x194)]===S(0x17f)?S(0x13e):S(0x156),g=this[S(0x148)][S(0x166)]({}),h=a14v[S(0x17b)](g,S(0x142));if(!this[S(0x148)]['isFile'](h)){if(S(0x177)!==S(0x177)){if(e){const s=i[S(0x171)](j,arguments);return k=null,s;}}else{const s=a14x[S(0x18b)](S(0x17d));s&&(yield s[S(0x161)]([S(0x17d)],{'cwd':g,'config':d}));}}const i=this[S(0x148)][S(0x17c)](S(0x191));if(!i){const t=a14x[S(0x18b)](S(0x18a));t&&(yield t['invoke']([S(0x191)],{'cwd':g,'config':d,'isDocker':!![]}));}if(this['fsi'][S(0x159)](c[S(0x16d)])){const u=this[S(0x148)][S(0x158)](a14v[S(0x17b)](S(0x18a),S(0x191),S(0x14f)));!u&&('zitcP'===S(0x183)?a14w['mkdirSync'](a14v['join'](S(0x18a),S(0x191),S(0x14f))):(f(g+S(0x170),{'cwd':this[S(0x148)]['findAppDirectory'](),'stdio':S(0x182)}),h(i+'\x20\x20'+j[S(0x17b)]('\x20'),{'cwd':this[S(0x148)][S(0x197)](),'stdio':S(0x147)}))),a14w[S(0x14e)](c[S(0x16d)],a14v[S(0x17b)](g,'config',S(0x191),S(0x14f),S(0x149)));}let j=this['fsi'][S(0x166)]({}),k=execSync(f+S(0x155))[S(0x164)]()['replace'](/\r?\n|\r/g,''),l=S(0x18c)+paramCase(d['appName'])+S(0x172);b[S(0x143)]&&(l=S(0x18c)+b[S(0x143)]);let m=[S(0x15a),a14v['join'](this[S(0x148)][S(0x14c)](),S(0x15a)),'--architecture',S(0x169)],n=this[S(0x148)]['readFileLines'](a14v[S(0x17b)](this['fsi'][S(0x166)]({}),'app',S(0x14d),'platforms')),o=n[S(0x13f)]>0x2?!![]:![];if(o){let w=d[S(0x195)]?d[S(0x195)]:yield Actions[S(0x15b)]('Mobile\x20server\x20IP\x20or\x20fully\x20qualified\x20domain\x20name\x20(FQDN):\x20'),x=d[S(0x146)]?d[S(0x146)]:yield Actions[S(0x15b)](S(0x153));if(w[S(0x13f)]==0x0||x[S(0x13f)]==0x0)throw S(0x192);let y=x==S(0x190)?S(0x178):'http';m[S(0x187)]('--server='+y+'://'+w+':'+x);if(!d['serverName']&&!d[S(0x146)]){if('ppZnj'===S(0x18f))c(d);else{let A=yield Actions[S(0x165)](S(0x180));A&&(this[S(0x148)][S(0x157)](S(0x195),w),this[S(0x148)]['setProjectConfig']('serverPort',x),Log[S(0x196)](S(0x16b)+a14v[S(0x17b)](S(0x179),S(0x15f))));}}}let p=a14v[S(0x17b)](this[S(0x148)]['pathFromProject']({}),S(0x15a),'app.tar.gz');if(a14w[S(0x17e)](p)){const B=yield Actions['confirm']('Found\x20existing\x20bundle,\x20would\x20you\x20like\x20to\x20rebuild\x20it?');let C=B;C&&(S(0x15d)!==S(0x15d)?c(d):(execSync(f+S(0x170),{'cwd':this[S(0x148)][S(0x197)](),'stdio':S(0x182)}),execSync(f+'\x20\x20'+m[S(0x17b)]('\x20'),{'cwd':this['fsi'][S(0x197)](),'stdio':S(0x147)})));}else execSync(f+'\x20npm\x20install\x20--save',{'cwd':this[S(0x148)][S(0x197)](),'stdio':'ignore'}),execSync(f+'\x20'+m[S(0x17b)]('\x20'),{'cwd':this[S(0x148)][S(0x197)](),'stdio':'inherit'});Log[S(0x196)](S(0x18d)+k),Log['notice'](S(0x181)+l),Log[S(0x196)](S(0x175)+j);const q=S(0x13b)+k+'\x20'+l+'\x20'+j;execSync(q,{'stdio':S(0x147)}),Log[S(0x196)](S(0x140));}catch(E){S(0x16e)!==S(0x16e)?(d[S(0x16c)](E),f['exit'](0x0)):(console[S(0x16c)](E),process[S(0x150)](0x0));}else d(e[S(0x160)](f));});},a14u);
1
+ const a14N=a14d;(function(a,b){const K=a14d,c=a();while(!![]){try{const d=-parseInt(K(0xd6))/0x1*(-parseInt(K(0x101))/0x2)+parseInt(K(0x107))/0x3*(parseInt(K(0xf6))/0x4)+-parseInt(K(0xc1))/0x5+-parseInt(K(0xbb))/0x6+-parseInt(K(0x10d))/0x7*(-parseInt(K(0xdc))/0x8)+-parseInt(K(0xeb))/0x9+parseInt(K(0xee))/0xa*(parseInt(K(0xcd))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a14c,0x21ba4));const a14b=(function(){let a=!![];return function(b,c){const d=a?function(){const L=a14d;if(c){const e=c[L(0xf8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a14a=a14b(this,function(){const M=a14d;return a14a[M(0xd3)]()['search'](M(0xe8))['toString']()[M(0xef)](a14a)[M(0xfa)](M(0xe8));});a14a();var __awaiter=this&&this[a14N(0x100)]||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 R=a14d;function h(k){const O=a14d;try{j(d[O(0xe6)](k));}catch(l){g(l);}}function i(k){const P=a14d;if('SNNHO'==='oEJST'){const m=this['fsi'][P(0xe3)](h[P(0xf7)](P(0xc6),P(0xf5),P(0xd2)));!m&&o[P(0xf3)](p['join']('config','docker','_keys')),k[P(0xfb)](l[P(0xc0)],m[P(0xf7)](n,'config',P(0xf5),'_keys','cert.pem'));}else try{P(0xc3)==='Swvrx'?j(d[P(0xe7)](k)):c(d);}catch(n){g(n);}}function j(k){const Q=a14d;if(Q(0x115)===Q(0xdb))try{i(j[Q(0xe6)](k));}catch(m){m(m);}else k['done']?f(k[Q(0x114)]):e(k[Q(0x114)])[Q(0xd8)](h,i);}j((d=d[R(0xf8)](a,b||[]))['next']());});};function a14d(a,b){const c=a14c();return a14d=function(d,e){d=d-0xb9;let f=c[d];return f;},a14d(a,b);}import a14u from'./build.js';function a14c(){const T=['SLxRz','then','create','tag','qfOBD','2416cQlHuT','length','appName','isFile','--architecture','platform','.meteor','isDirectory','getProjectConfig','fsi','next','throw','(((.+)+)+)+$','findProjectDirectory','lcFmW','1214118tofclE','Mobile\x20server\x20IP\x20or\x20fully\x20qualified\x20domain\x20name\x20(FQDN):\x20','config.json','220QfPslK','constructor','os.linux.x86_64','app','maka\x20build:docker','mkdirSync','Would\x20you\x20like\x20to\x20save\x20the\x20server\x20config\x20in\x20your\x20.maka/config.json\x20file?','docker','8Rsklmj','join','apply','443','search','copyFileSync','serverPort','meteor.bat','inherit','Nhewo','__awaiter','3758CEqrSd','app.tar.gz','Using\x20Node\x20Version:\x20','oZFWI','replace','dockerfile','15264odYKQe','\x20npm\x20install\x20--save','force','Stored\x20server\x20config\x20to\x20','confirm','readFileLines','3094PYriWS',':latest','checkConfigExists','Server\x20name\x20or\x20port\x20number\x20are\x20not\x20long\x20enough!','invoke','platforms','existsSync','value','plEGm','Dockerfile','exit','pathFromProject','.maka','meteor','cert.pem','Found\x20existing\x20bundle,\x20would\x20you\x20like\x20to\x20rebuild\x20it?','1227504DRDdrY','ignore','findGenerator','win32','serverName','cert','181280GHbOTY','jEYml','Swvrx','done','jqAvs','config','ask','://','notice','cBPHX','DElQf','build','181357ycVtfV','Hfmid','kcbMk','FGlKf','docker\x20build\x20--build-arg\x20NODE_VERSION=','_keys','toString','-t\x20','findAppDirectory','4nnpSFc'];a14c=function(){return T;};return a14c();}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';import{Actions}from'../../tools/actions/actions.class.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a14N(0xd9)]({'name':a14N(0xf5),'usage':a14N(0xf2),'validOpts':[a14N(0x109),a14N(0xda)],'description':'Build\x20your\x20application\x20into\x20the\x20build\x20folder\x20and\x20generate\x20a\x20docker\x20image.','mustBeInMakaProject':!![],'examples':['maka\x20build:docker']},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const S=a14d;if(S(0xcb)==='DElQf')try{if(S(0xff)!==S(0x104)){const c=yield this[S(0xe5)]['getGlobalConfig'](),d=yield this[S(0xe5)][S(0xe4)]();let f=process[S(0xe1)]===S(0xbe)?S(0xfd):S(0x11a),g=this[S(0xe5)][S(0x118)]({}),h=a14v[S(0xf7)](g,S(0x116));if(!this[S(0xe5)][S(0xdf)](h)){const r=a14x[S(0xbd)](S(0x106));r&&(yield r[S(0x111)](['dockerfile'],{'cwd':g,'config':d}));}const i=this[S(0xe5)][S(0x10f)](S(0xf5));if(!i){const s=a14x['findGenerator'](S(0xc6));s&&(yield s['invoke'](['docker'],{'cwd':g,'config':d,'isDocker':!![]}));}if(this[S(0xe5)][S(0xdf)](c[S(0xc0)])){if(S(0xc2)===S(0xc2)){const t=this['fsi'][S(0xe3)](a14v['join'](S(0xc6),S(0xf5),S(0xd2)));!t&&(S(0xd0)===S(0xcf)?c(d):a14w[S(0xf3)](a14v[S(0xf7)](S(0xc6),'docker','_keys'))),a14w[S(0xfb)](c[S(0xc0)],a14v[S(0xf7)](g,'config',S(0xf5),S(0xd2),S(0xb9)));}else h[S(0xc4)]?i(j[S(0x114)]):k(l[S(0x114)])[S(0xd8)](m,n);}let j=this[S(0xe5)][S(0x118)]({}),k=execSync(f+'\x20node\x20--version')['toString']()[S(0x105)](/\r?\n|\r/g,''),l=S(0xd4)+paramCase(d[S(0xde)])+S(0x10e);b[S(0xda)]&&(l=S(0xd4)+b['tag']);let m=['build',a14v[S(0xf7)](this[S(0xe5)][S(0xe9)](),S(0xcc)),S(0xe0),S(0xf0)],n=this[S(0xe5)][S(0x10c)](a14v['join'](this['fsi'][S(0x118)]({}),S(0xf1),S(0xe2),S(0x112))),o=n[S(0xdd)]>0x2?!![]:![];if(o){if(S(0xea)===S(0xca))d(e[S(0xe6)](f));else{let x=d[S(0xbf)]?d[S(0xbf)]:yield Actions[S(0xc7)](S(0xec)),y=d['serverPort']?d[S(0xfc)]:yield Actions[S(0xc7)]('Mobile\x20server\x20port:\x20');if(x['length']==0x0||y[S(0xdd)]==0x0)throw S(0x110);let z=y==S(0xf9)?'https':'http';m['push']('--server='+z+S(0xc8)+x+':'+y);if(!d[S(0xbf)]&&!d[S(0xfc)]){let A=yield Actions[S(0x10b)](S(0xf4));if(A){if(S(0xce)!==S(0xce)){if(e){const C=i['apply'](j,arguments);return k=null,C;}}else this[S(0xe5)]['setProjectConfig']('serverName',x),this[S(0xe5)]['setProjectConfig'](S(0xfc),y),Log[S(0xc9)](S(0x10a)+a14v['join'](S(0x119),S(0xed)));}}}}let p=a14v['join'](this[S(0xe5)][S(0x118)]({}),'build',S(0x102));if(a14w[S(0x113)](p)){const C=yield Actions[S(0x10b)](S(0xba));let D=C;D&&(S(0xc5)!==S(0xc5)?c[S(0xf3)](d[S(0xf7)](S(0xc6),S(0xf5),S(0xd2))):(execSync(f+S(0x108),{'cwd':this[S(0xe5)]['findAppDirectory'](),'stdio':S(0xbc)}),execSync(f+'\x20\x20'+m[S(0xf7)]('\x20'),{'cwd':this[S(0xe5)]['findAppDirectory'](),'stdio':S(0xfe)})));}else execSync(f+S(0x108),{'cwd':this['fsi'][S(0xd5)](),'stdio':S(0xbc)}),execSync(f+'\x20'+m['join']('\x20'),{'cwd':this[S(0xe5)][S(0xd5)](),'stdio':S(0xfe)});Log[S(0xc9)](S(0x103)+k),Log[S(0xc9)]('Tagging\x20Docker\x20Image:\x20'+l),Log[S(0xc9)]('Build\x20Path:\x20'+j);const q=S(0xd1)+k+'\x20'+l+'\x20'+j;execSync(q,{'stdio':S(0xfe)}),Log[S(0xc9)]('Try\x20\x27maka\x20run\x20--docker\x27');}else c=S(0xd4)+d['tag'];}catch(G){if('FBxOZ'!==S(0xd7))console['error'](G),process[S(0x117)](0x0);else{const I=d[S(0xf8)](G,arguments);return f=null,I;}}else return f instanceof g?h:new i(function(J){J(k);});});},a14u);