@maka/maka-cli 4.1.15 → 4.1.16

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
- 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
+ const a0U=a0d;(function(a,b){const N=a0d,c=a();while(!![]){try{const d=-parseInt(N(0x13a))/0x1+parseInt(N(0x10a))/0x2*(-parseInt(N(0x11a))/0x3)+-parseInt(N(0x11e))/0x4*(parseInt(N(0x134))/0x5)+parseInt(N(0x180))/0x6*(parseInt(N(0x172))/0x7)+-parseInt(N(0x11d))/0x8*(parseInt(N(0x105))/0x9)+parseInt(N(0x119))/0xa*(-parseInt(N(0x170))/0xb)+-parseInt(N(0x111))/0xc*(-parseInt(N(0xf5))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a0c,0xab177));const a0b=(function(){let a=!![];return function(b,c){const d=a?function(){const O=a0d;if(c){const e=c[O(0xee)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a0a=a0b(this,function(){const P=a0d;return a0a[P(0x155)]()['search']('(((.+)+)+)+$')[P(0x155)]()['constructor'](a0a)[P(0xf3)](P(0x15e));});a0a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const Q=a0d;if(Q(0x151)===Q(0x151))g(f);else return f instanceof g?h:new i(function(m){m(k);});});}return new(c||(c=Promise))(function(f,g){const T=a0d;function h(k){try{j(d['next'](k));}catch(l){g(l);}}function i(k){const R=a0d;if(R(0x165)!=='LeARC')try{if(R(0x13c)===R(0x13c))j(d[R(0x154)](k));else return;}catch(m){if('aKebt'==='aKebt')g(m);else return this[R(0x107)][R(0x17b)]||[];}else c(d);}function j(k){const S=a0d;k[S(0x153)]?f(k[S(0x14f)]):e(k[S(0x14f)])[S(0xff)](h,i);}j((d=d[T(0xee)](a,b||[]))[T(0x11b)]());});};function a0c(){const ah=['BxKOa','Too\x20few\x20arguments','DSSgW','parent','IhdXS','yrryZ','Invalid\x20options:\x20','find','amaHS','hnwNY','runSubCommand','concat','name','invoke','run','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','create','DkwHQ','To\x20use\x20these\x20pro\x20flags,\x20\x22','fsi','3298585rNNisQ','_commands','tOinj','EmFAt','tableList','aliases','263362wJKXSZ','minOptsLength','mEmSS','Trial\x20License\x20Expires:\x20','CzXgn','trialActive','Too\x20many\x20options','qcJyy','murder','qUVmp','exit','PxGBY','ismCK','number','Command.create\x20requires\x20some\x20options!','notice','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','validateParams','splice','AppData','addCommand\x20requires\x20a\x20Command\x20instance','value','Please\x20run\x20\x22maka\x20install\x20meteor\x22','avVeW','No\x20usage\x20provided.','done','throw','toString','filter','keys','push','gQiMw','sZVKM','help','findSubCommand','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20command','(((.+)+)+)+$','.meteor','split','Command\x20requires\x20a\x20handler\x20function','homedir','Name','getPro','EVbIr','OjixC','game','otEtW','oGsbM','wzpLg','zOjKk','findProjectDirectory','minArgLength','existsSync','validateMakaSubscription','22814rSXWcn','error','18739JMLTNh','No\x20aliases','No\x20description\x20provided.','roles','yDlih','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','HtBEq','length','LQLQQ','examples','jMpSt','faWZF','join','findCommand','1038mvHAze','xBJGE','_handler','mustHaveMeteorInstalled','includes','YboWz','call','NJPxX','MNbjr','Alias','oyQex','function','Missing\x20required\x20option:\x20','constructor','apply','iPTpC','trialExpirationDate','Too\x20few\x20options','DUIWo','search','Missing\x20required\x20options\x20','58903BLzVvg','validateMakaProject','Command\x20requires\x20a\x20name','usage','zCsYZ','description','Too\x20many\x20arguments','uNMPP','dSCDb','Command\x20not\x20found','then','rytqx','mhgWv','newUt','validateMeteorInstall','peWSy','49662mmEdDz','mEpwr','options','Local','platform','12cNwGBD','assign','proCommands','There\x20is\x20no\x20Meteor\x20application\x20here','NTyIZ','proFlags','pbBWe','6852XHGAOb','vvybI','ONtho','Description','mustBeInMakaProject','To\x20use\x20this\x20command,\x20\x22','gHvev','forEach','350bVLAzv','260322fISqZE','next','maxArgLength','1208gPmlHZ','4DZWdoP','Command.create\x20requires\x20a\x20handler\x20function!'];a0c=function(){return ah;};return a0c();}import a0I from'path';import a0J from'os';import a0K from'fs';const homeDir=a0J[a0U(0x162)]();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='';function a0d(a,b){const c=a0c();return a0d=function(d,e){d=d-0xe6;let f=c[d];return f;},a0d(a,b);}export class Command extends Tool{constructor(a,b){const V=a0U;super();if(!a)throw new Error('Command\x20requires\x20first\x20param\x20to\x20be\x20an\x20object');if(!a[V(0x12c)])throw new Error(V(0xf7));if(typeof b!==V(0xeb))throw new Error(V(0x161));this[V(0x107)]=Object[V(0x10b)]({},a),this[V(0x12c)]=this[V(0x107)][V(0x12c)],this[V(0x135)]=[],this[V(0x182)]=b['bind'](this);}static[a0U(0x130)](a,b,c){const W=a0U;var d;if(!a){if('VCyXb'!==W(0xfc))throw new Error(W(0x148));else{if(d['length']<this[W(0x107)]['minArgLength']){g[W(0x171)](W(0x121));throw new h();}}}if(typeof b!==W(0xeb))throw new Error(W(0x11f));let e=new Command(a,b);return c=c||a0M,Object['assign'](e,{'parent':(d=c===null||c===void 0x0?void 0x0:c[W(0x107)])===null||d===void 0x0?void 0x0:d[W(0x12c)]}),c['addCommand'](e),e;}['match'](a){const X=a0U;let b=[this[X(0x12c)]][X(0x12b)](this[X(0x107)][X(0x139)]||[]);return this[X(0x123)]&&b[X(0x158)](this[X(0x123)]),b[X(0x184)](a);}['addCommand'](a){const Y=a0U;if(!(a instanceof Command)){if(Y(0x128)!==Y(0x128))throw Y(0x132)+(d===null||e===void 0x0?void 0x0:f[Y(0x17e)](',\x20'))+'\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27';else throw new Error(Y(0x14e));}this[Y(0x135)][Y(0x158)](a);}[a0U(0xf6)](){const Z=a0U,a=this[Z(0x133)][Z(0x16c)]();return a!==![]?!![]:![];}[a0U(0x103)](){const a0=a0U;let a=a0I[a0(0x17e)](homeDir,a0(0x15f));const b=process[a0(0x109)]==='win32';if(b){a=a0I[a0(0x17e)](homeDir,a0(0x14d),a0(0x108),'.meteor');if(!a0K[a0(0x16e)](a))return![];}else{if(a0(0xea)===a0(0x176)){if(e){const d=i['apply'](j,arguments);return k=null,d;}}else{if(!a0K[a0(0x16e)](a))return![];}}return!![];}[a0U(0x16f)](a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const a1=a0d;if('bYdGb'!==a1(0x125))try{const c=this['findCommand'](a[0x0]);if(c){if(a1(0x143)==='LSShI')throw a1(0xfe);else{const f=(c===null||c===void 0x0?void 0x0:c['name'])||a[0x0],g=(c===null||c===void 0x0?void 0x0:c[a1(0x123)])||'',h=a[0x0],i=Object[a1(0x157)](b),j=yield this[a1(0x133)][a1(0x164)]();if(!j){if(a1(0x124)!=='IhdXS'){c['error']('Too\x20many\x20options');throw new d();}else Log[a1(0x171)](a1(0x177)),process[a1(0x144)](0x1);}const k=(j===null||j===void 0x0?void 0x0:j[a1(0x10c)]['includes'](f))||(j===null||j===void 0x0?void 0x0:j[a1(0x10c)][a1(0x184)](g)),l=!(j===null||j===void 0x0?void 0x0:j[a1(0x175)][a1(0x184)]('singleLicense'))&&!(j===null||j===void 0x0?void 0x0:j[a1(0x175)][a1(0x184)]('domainLicense'))&&!(j===null||j===void 0x0?void 0x0:j['trialActive']);if(k&&l)throw a1(0x116)+a[0x0]+a1(0x14a);if(i[a1(0x179)]>0x0){const n=j===null||j===void 0x0?void 0x0:j[a1(0x10f)][a1(0x156)](o=>i[a1(0x184)](o));if(n&&n[a1(0x179)]>0x0&&l)throw'To\x20use\x20these\x20pro\x20flags,\x20\x22'+(n===null||n===void 0x0?void 0x0:n['join'](',\x20'))+a1(0x14a);}if(h==='deploy'){if(a1(0x141)!=='qcJyy'){if(e[a1(0x157)](f)[a1(0x179)]<this[a1(0x107)]['minOptsLength']){i['error'](a1(0xf1));throw new j();}}else{const p=yield this[a1(0x133)][a1(0x164)](),q=p===null||p===void 0x0?void 0x0:p['proCommands'][a1(0x184)](a[0x0]+'\x20'+a[0x1]);if(q&&l){if(a1(0x166)===a1(0xf2))f['error']('There\x20is\x20no\x20Meteor\x20application\x20here'),g['usage'](h,i,j);else throw a1(0x116)+a[0x0]+a1(0x14a);}}}if(j===null||j===void 0x0?void 0x0:j[a1(0x13f)]){if('otEtW'===a1(0x168))Log[a1(0x149)](a1(0x13d)+j[a1(0xf0)][a1(0x160)]('T')[0x0]);else throw new b('Command\x20requires\x20a\x20name');}}}}catch(t){if(a1(0x13e)===a1(0x13e))throw t;else{f=g['join'](h,a1(0x14d),'Local','.meteor');if(!i[a1(0x16e)](j))return![];}}else return c[a1(0x155)]()[a1(0xf3)]('(((.+)+)+)+$')[a1(0x155)]()[a1(0xed)](d)[a1(0xf3)](a1(0x15e));});}[a0U(0x14b)](a,b,c){const a2=a0U,{usage:d,requiredOpts:requiredOpts=[],description:e,examples:f}=c;let {validOpts:validOpts=[]}=c;const g=Object[a2(0x157)](b);if((requiredOpts===null||requiredOpts===void 0x0?void 0x0:requiredOpts[a2(0x179)])>0x0){if(g[a2(0x179)]===0x0){Log[a2(0x171)](a2(0xf4)+requiredOpts['join'](',\x20'));throw new UsageError();}requiredOpts[a2(0x118)](h=>{const a3=a2;if('xcjtv'!==a3(0x117)){if(!g['includes'](h)){if(a3(0x15a)===a3(0x15a)){Log[a3(0x171)](a3(0xec)+h);throw new UsageError();}else c[a3(0x14c)](0x0,0x0,d);}}else g['name']!==a3(0x142)&&h[a3(0x12c)]!==a3(0x167)&&m[a3(0x158)]([n[a3(0x12c)],o[a3(0x139)](),p[a3(0xfa)]()]);});}validOpts=validOpts[a2(0x12b)](requiredOpts),(validOpts===null||validOpts===void 0x0?void 0x0:validOpts['length'])>0x0&&(validOpts[a2(0x158)](a2(0x15b)),g[a2(0x118)](h=>{const a4=a2;if(a4(0x102)!==a4(0x104)){if(!validOpts[a4(0x184)](h)){if(a4(0x131)!==a4(0x185)){Log[a4(0x171)]('Invalid\x20options:\x20'+h);throw new UsageError();}else{const j=this[a4(0x103)]();if(!j)throw new c();}}}else throw new b();}));}[a0U(0x12e)](a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const a5=a0d;try{if(a5(0x137)===a5(0x137)){a=a||[],b=b||{};try{yield this[a5(0x16f)](a,b);}catch(c){Log[a5(0x171)](c),process[a5(0x144)](0x0);}yield this[a5(0x12d)](a,b);}else throw new b(a5(0x148));}catch(f){process[a5(0x144)](0x1);}});}[a0U(0x12d)](a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const a6=a0d;if('lMPNj'===a6(0xef))throw a6(0x116)+b[0x0]+a6(0x14a);else{const {usage:usage='',description:description='',examples:examples=[]}=this[a6(0x107)];this['validateParams'](a,b,this['options']);try{if(this['options'][a6(0x115)]){if(a6(0x178)!==a6(0x178))try{i(j[a6(0x154)](k));}catch(f){m(f);}else{const f=this[a6(0xf6)]();if(!f)throw new MustBeInProjectError();}}if(this['options'][a6(0x183)]){if(a6(0x122)!==a6(0x17c)){const g=this[a6(0x103)]();if(!g){if(a6(0x112)!=='vvybI')d(e[a6(0x154)](f));else throw new NoMeteorFoundError();}}else{const j=g?function(){const a7=a6;if(j){const u=q[a7(0xee)](r,arguments);return s=null,u;}}:function(){};return l=![],j;}}if(typeof this['options'][a6(0x16d)]===a6(0x147)){if(a['length']<this[a6(0x107)][a6(0x16d)]){Log['error'](a6(0x121));throw new UsageError();}}if(typeof this[a6(0x107)][a6(0x11c)]===a6(0x147)){if('EDBIn'===a6(0x100))throw new b();else{if(a[a6(0x179)]>=this[a6(0x107)][a6(0x11c)]){if(a6(0x17d)!==a6(0x120)){Log[a6(0x171)](a6(0xfb));throw new UsageError();}else{let l=[this[a6(0x12c)]][a6(0x12b)](this['options']['aliases']||[]);return this[a6(0x123)]&&l[a6(0x158)](this['parent']),l[a6(0x184)](b);}}}}if(typeof this['options'][a6(0x13b)]===a6(0x147)){if(a6(0xfd)!=='sjwVo'){if(Object['keys'](b)['length']<this[a6(0x107)][a6(0x13b)]){if(a6(0x106)===a6(0x106)){Log[a6(0x171)](a6(0xf1));throw new UsageError();}else{if(d[a6(0x179)]>=this['options'][a6(0x11c)]){g[a6(0x171)](a6(0xfb));throw new h();}}}}else{let n=f===null||g===void 0x0?void 0x0:h[a6(0x160)](':');if(n)return k=n[0x0],this[a6(0x17f)](l);else return;}}if(typeof this['options']['maxOptsLength']===a6(0x147)){if(a6(0x136)!==a6(0xf9)){if(Object[a6(0x157)](b)[a6(0x179)]>=this[a6(0x107)]['maxOptsLength']){Log['error'](a6(0x140));throw new UsageError();}}else throw new b(a6(0x11f));}if((a[0x0]===_prevCmd||a[a6(0x179)]===0x0)&&b['help']){if(a6(0x16b)!==a6(0x110))throw new UsageError();else return this['options'][a6(0xfa)]||a6(0x174);}_prevCmd=a[0x0],yield this[a6(0x182)][a6(0xe6)](this,a,b);}catch(p){if(a6(0x145)===a6(0x145)){if(p instanceof UsageError){if('hnwNY'!==a6(0x129)){d[a6(0x171)](a6(0xf4)+p[a6(0x17e)](',\x20'));throw new f();}else{if(this[a6(0x135)]['length']>0x0&&b['help']){if('oGsbM'===a6(0x169))Log['notice']('Commands:'),this[a6(0x138)](this['_commands']);else return this[a6(0x107)][a6(0x139)]||a6(0x173);}Log[a6(0xf8)](description,examples,usage);}}else{if(p instanceof MustBeInProjectError){if(a6(0x10e)!==a6(0x10e)){const t=f===null||g===void 0x0?void 0x0:h[a6(0x10f)]['filter'](u=>t['includes'](u));if(t&&t[a6(0x179)]>0x0&&j)throw'To\x20use\x20these\x20pro\x20flags,\x20\x22'+(t===null||t===void 0x0?void 0x0:t['join'](',\x20'))+a6(0x14a);}else Log['error'](a6(0x15d)),Log[a6(0xf8)](description,examples,usage);}else{if(p instanceof NoMeteorFoundError)Log[a6(0x171)](a6(0x12f)),Log[a6(0x149)](a6(0x150)),Log['usage'](description,examples,usage);else{if(p instanceof NoMeteorAppFoundError)Log[a6(0x171)](a6(0x10d)),Log[a6(0xf8)](description,examples,usage);else{if(a6(0xe7)!==a6(0xe7)){d[a6(0x171)](a6(0xec)+p);throw new f();}else throw p;}}}}process[a6(0x144)](0x1);}else c(d);}}});}[a0U(0x138)](a){const a8=a0U,b=new a0L({});b['push']([a8(0x163),a8(0xe9),a8(0x114)]),a['sort']()[a8(0x118)](c=>{const a9=a8;if('TJwwz'==='TJwwz')c['name']!==a9(0x142)&&c[a9(0x12c)]!==a9(0x167)&&b[a9(0x158)]([c['name'],c[a9(0x139)](),c[a9(0xfa)]()]);else{c[a9(0x171)](a9(0xfb));throw new d();}}),Log['bright'](b[a8(0x155)]());}[a0U(0x17f)](a){const aa=a0U;return this[aa(0x135)][aa(0x127)](b=>b['match'](a));}[a0U(0x15c)](a){const ab=a0U;let b=a===null||a===void 0x0?void 0x0:a[ab(0x160)](':');if(b){if(ab(0x146)!==ab(0x146))d(e[ab(0x11b)](f));else return a=b[0x0],this['findCommand'](a);}else{if(ab(0x181)===ab(0x113))return![];else return;}}[a0U(0x12a)](a,b,c){return __awaiter(this,void 0x0,void 0x0,function*(){const ac=a0d;try{if(ac(0x101)===ac(0x17a)){d[ac(0x171)](ac(0x126)+e);throw new f();}else{let f=a[ac(0x160)](':');a=f[0x0];let g=f[0x1];if(g){if('wzpLg'===ac(0x16a))b[ac(0x14c)](0x0,0x0,g);else return this[ac(0x107)][ac(0xf8)]||ac(0x152);}let h=this[ac(0x17f)](a);if(h)yield h[ac(0x12e)](b,c);else{if(ac(0xe8)===ac(0x159))throw b;else throw'Command\x20not\x20found';}}}catch(k){throw Log['error'](k);}});}[a0U(0xfa)](){const ad=a0U;return this[ad(0x107)][ad(0xfa)]||ad(0x174);}[a0U(0xf8)](){const ae=a0U;return this['options'][ae(0xf8)]||'No\x20usage\x20provided.';}[a0U(0x17b)](){const af=a0U;return this['options'][af(0x17b)]||[];}['aliases'](){const ag=a0U;return this[ag(0x107)][ag(0x139)]||'No\x20aliases';}}
@@ -1 +1 @@
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
+ (function(a,b){var u=a1d,c=a();while(!![]){try{var d=parseInt(u(0x1e1))/0x1*(parseInt(u(0x1dc))/0x2)+parseInt(u(0x1e0))/0x3*(parseInt(u(0x1d7))/0x4)+-parseInt(u(0x1d5))/0x5+parseInt(u(0x1dd))/0x6*(-parseInt(u(0x1db))/0x7)+parseInt(u(0x1d9))/0x8+parseInt(u(0x1d8))/0x9+parseInt(u(0x1df))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a1c,0x6967d));function a1d(a,b){var c=a1c();return a1d=function(d,e){d=d-0x1d5;var f=c[d];return f;},a1d(a,b);}var a1b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a1d;if(c){var e=c[v(0x1e2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a1a=a1b(this,function(){var w=a1d;return a1a['toString']()[w(0x1da)]('(((.+)+)+)+$')[w(0x1de)]()[w(0x1d6)](a1a)[w(0x1da)](w(0x1e3));});a1a();function a1c(){var x=['1615105yxjBfB','constructor','13208FwXIBT','1253133poNOmw','132072fHABCq','search','7000sHSUSP','1006dzeieu','4890CvuuPg','toString','9361290cwqAzi','282YYnHGV','333CxlnOW','apply','(((.+)+)+)+$'];a1c=function(){return x;};return a1c();}import'./aws/_index.js';import'./set/_index.js';import'./get/_index.js';import'./game/_index.js';import'./build/_index.js';import'./create.js';import'./debug.js';import'./deploy.js';import'./generate.js';import'./help.js';import'./install.js';import'./login.js';import'./logout.js';import'./logs.js';import'./maka.cmd.js';import'./reconfig.js';import'./run.js';import'./ssh.js';import'./ssl.js';import'./test.js';import'./version.js';import'./murder.js';
@@ -1 +1 @@
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
+ function a2c(){var x=['apply','toString','search','583980yPOEoB','1355913hPHWrH','1851865sTUUIW','2264lpOHYq','665616UmJfqW','297EJyUIo','948736uAZrXP','19957ZBCSaO','(((.+)+)+)+$','1399509bxfJey','4GkSvDx'];a2c=function(){return x;};return a2c();}(function(a,b){var u=a2d,c=a();while(!![]){try{var d=parseInt(u(0x1ac))/0x1+parseInt(u(0x1a3))/0x2+-parseInt(u(0x1a6))/0x3+-parseInt(u(0x1a7))/0x4*(-parseInt(u(0x1ad))/0x5)+parseInt(u(0x1af))/0x6+-parseInt(u(0x1a4))/0x7*(-parseInt(u(0x1ae))/0x8)+-parseInt(u(0x1b0))/0x9*(parseInt(u(0x1ab))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a2c,0xb0f32));var a2b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a2d;if(c){var e=c[v(0x1a8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a2a=a2b(this,function(){var w=a2d;return a2a[w(0x1a9)]()['search'](w(0x1a5))[w(0x1a9)]()['constructor'](a2a)[w(0x1aa)](w(0x1a5));});a2a();import'./aws.command.js';import'./ci.sub.cmd.js';import'./ckp.sub.cmd.js';import'./csg.sub.cmd.js';function a2d(a,b){var c=a2c();return a2d=function(d,e){d=d-0x1a3;var f=c[d];return f;},a2d(a,b);}import'./di.sub.cmd.js';import'./dks.sub.cmd.js';import'./rbi.sub.cmd.js';import'./sth.sub.cmd.js';import'./ti.sub.cmd.js';
@@ -1 +1 @@
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
+ const a3z=a3d;function a3c(){const G=['maka\x20aws\x20<command>','runSubCommand','1760487xIdtap','error','apply','108945qnhiZq','htbFF','4pRWkdw','6333275KniBuU','2128iniOhP','value','946bxbAHh','WifcT','BEHXo','toString','done','then','Create,\x20view,\x20terminate\x20EC2\x20instances,\x20assign\x20key-pairs,\x20and\x20set\x20host\x20IPs.','search','maka\x20aws:di','11926890agmiwk','12613546tJuyRT','findSubCommand','(((.+)+)+)+$','1366FQzIYr','tGHKY','next','72HRxRxx','7662TARqyK','__awaiter','exit'];a3c=function(){return G;};return a3c();}(function(a,b){const w=a3d,c=a();while(!![]){try{const d=-parseInt(w(0x1d4))/0x1*(-parseInt(w(0x1c7))/0x2)+-parseInt(w(0x1be))/0x3+-parseInt(w(0x1c3))/0x4*(-parseInt(w(0x1c4))/0x5)+parseInt(w(0x1d8))/0x6*(-parseInt(w(0x1c5))/0x7)+parseInt(w(0x1d7))/0x8*(-parseInt(w(0x1c1))/0x9)+-parseInt(w(0x1d0))/0xa+parseInt(w(0x1d1))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a3c,0xbf1c4));const a3b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a3d;if(x(0x1c2)===x(0x1c8)){let f=d[0x0],g=this[x(0x1d2)](f);g&&this['runSubCommand'](f,g,h);}else{if(c){const f=c['apply'](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a3a=a3b(this,function(){const y=a3d;return a3a[y(0x1ca)]()[y(0x1ce)]('(((.+)+)+)+$')['toString']()['constructor'](a3a)[y(0x1ce)](y(0x1d3));});a3a();var __awaiter=this&&this[a3z(0x1d9)]||function(a,b,c,d){function e(f){const A=a3d;if(A(0x1c9)===A(0x1c9))return f instanceof c?f:new c(function(g){g(f);});else{const h=d[A(0x1c0)](e,arguments);return f=null,h;}}return new(c||(c=Promise))(function(f,g){const E=a3d;function h(k){const B=a3d;try{j(d[B(0x1d6)](k));}catch(l){g(l);}}function i(k){const C=a3d;try{if(C(0x1d5)!=='XSFiZ')j(d['throw'](k));else try{let m=k[0x0],n=this['findSubCommand'](m);n&&this[C(0x1bd)](m,n,o);}catch(o){r[C(0x1bf)](o),s[C(0x1da)](0x0);}}catch(m){g(m);}}function j(k){const D=a3d;k[D(0x1cb)]?f(k['value']):e(k[D(0x1c6)])[D(0x1cc)](h,i);}j((d=d[E(0x1c0)](a,b||[]))[E(0x1d6)]());});};import{Command}from'../../command.js';function a3d(a,b){const c=a3c();return a3d=function(d,e){d=d-0x1bc;let f=c[d];return f;},a3d(a,b);}const AWSCommand=Command['create']({'name':'aws','usage':a3z(0x1bc),'minArgLength':0x1,'description':a3z(0x1cd),'examples':['maka\x20aws:describe-instance',a3z(0x1cf)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const F=a3d;try{let c=a[0x0],d=this[F(0x1d2)](c);d&&this[F(0x1bd)](c,a,b);}catch(f){console[F(0x1bf)](f),process[F(0x1da)](0x0);}});});export default AWSCommand;
@@ -1 +1 @@
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
+ const a4ah=a4d;(function(a,b){const ae=a4d,c=a();while(!![]){try{const d=-parseInt(ae(0x1bf))/0x1+-parseInt(ae(0x1c4))/0x2*(parseInt(ae(0x1e7))/0x3)+-parseInt(ae(0x201))/0x4+-parseInt(ae(0x203))/0x5+-parseInt(ae(0x19e))/0x6+-parseInt(ae(0x18b))/0x7*(-parseInt(ae(0x192))/0x8)+parseInt(ae(0x19b))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a4c,0xd9bd2));const a4b=(function(){let a=!![];return function(b,c){const d=a?function(){const af=a4d;if(c){const e=c[af(0x1f5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a4a=a4b(this,function(){const ag=a4d;return a4a[ag(0x1ac)]()[ag(0x1de)](ag(0x205))[ag(0x1ac)]()[ag(0x1c7)](a4a)[ag(0x1de)](ag(0x205));});function a4c(){const aB=['KyOiv','zRyJL','string','4cETdWS','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','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','constructor','error','\x20SUBNETID:\x20','Setting\x20Subnet\x20ID\x20to\x20','*\x22\x20\x22Name=root-device-type,Values=ebs\x22\x20\x22Name=description,Values=*Ubuntu?\x20??.??\x20LTS?\x20amd64\x20bionic\x20image*\x22\x20--query\x20\x22Images[*].{Desc:Description,ID:ImageId,alias:ImageOwnerAlias}\x22','maka\x20aws:create-instance','amazon','\x20DESCRIPTION:\x20','wBwDE','create','}]\x22','mhDLa','\x20SG\x20NAME:\x20','then','1:1','create-instance','\x20AZONE:\x20','Instance\x20created!\x20\x20NOTE:\x20You\x20are\x20now\x20being\x20billed\x20for\x20this\x20EC2.','mAbuO','value','Instace\x20Type:\x20','\x22ResourceType=instance,Tags=[{Key=created-by,Value=maka-cli},{Key=environment,Value=','build\x20on\x20','search','shwbB','eDkwp','confirm','Security\x20Group:\x20','createKeyPair','success','Desc','Name','1585539FQsqgQ','sgId','MQBAU','TzDAf','__awaiter','split','number','**\x20Available\x20AMIs\x20**','jjBds','Open\x20port\x20443\x20for\x20SSL?','\x20AMIID:\x20','zNsiR','EC2\x20Name:\x20[','Olfoo','apply','\x22Web\x20App\x22','getConfigFromShorthand','bright','join','\x20CIDR:\x20','alias','crPvJ','Run\x20\x22maka\x20aws:set-host\x22\x20to\x20configure\x20your\x20ssh.json\x20file','Setting\x20AMI\x20ID\x20to\x20','Would\x20you\x20like\x20to\x20make\x20a\x20new\x20PEM\x20key?','TyopD','5444472TvdygT','glsNY','5761260FyFCHy','ec2describeKeys','(((.+)+)+)+$','log','cider','getTime','Setting\x20SG\x20ID\x20to:\x20','LsAwt','Please\x20choose\x20a\x20subnet\x20ID\x20to\x20assign\x20the\x20instance\x20to:\x20[0]\x20','ec2create','Would\x20you\x20like\x20to\x20create\x20a\x20new\x20security\x20group?','name','forEach','miGuB','ABORTED!\x20No\x20instance\x20has\x20been\x20created!','desc','ImageID:','**\x20Available\x20Security\x20Groups\x20**','amiId','NNTGn','next','84IIxCTp','date','GlrLi','fsi','vpxqj','idtew','Setting\x20the\x20number\x20of\x20instances\x20to:\x20','741208UADQPk','Subnet:\x20','Please\x20choose\x20an\x20AMI\x20ID\x20to\x20assign\x20the\x20instance\x20to:\x20[0]\x20','ID:\x20','Setting\x20the\x20key-pair\x20to:\x20','Key-Pair:\x20','LwpIn','\x22\x20--query\x20\x22Subnets[*].{subnet:CidrBlock}\x22','help','47413368toSkCM','uXEiw','Please\x20choose\x20a\x20key\x20to\x20use:\x20','1161084eMIiqY','t3.micro','No\x20instance\x20has\x20been\x20created.','subnetId','chooseVPC','jFzJs','ask','ynBYH','\x20:\x20','pxRCq','wjDnW','bCuaF','push','cdNaB','toString','ec2createSG','sort','\x20SGID:\x20','parse','Security\x20Group\x20Name:\x20[','env','tDTwC','ZBCKc','cidr','throw','hjdqG','aws\x20ec2\x20describe-security-groups\x20--query\x20\x22SecurityGroups[*].{Name:GroupName,ID:GroupId}\x22','wfTgY','Instance\x20Count:\x20','},\x20{Key=Name,Value=','notice','getProjectConfig','subnet','1724196gJIPuS','aws\x20ec2\x20describe-subnets\x20--filter\x20\x22Name=subnet-id,Values='];a4c=function(){return aB;};return a4c();}a4a();var __awaiter=this&&this[a4ah(0x1eb)]||function(a,b,c,d){function e(f){const ai=a4d;if(ai(0x1cf)!=='EbNFp')return f instanceof c?f:new c(function(g){const aj=ai;if('jFort'==='jFort')g(f);else throw b[aj(0x1c8)](aj(0x1c6));});else i['id']===j(k)&&(q=r[ai(0x215)],s[ai(0x1e4)](ai(0x1fe)+t+ai(0x1a6)+u[ai(0x212)]));}return new(c||(c=Promise))(function(f,g){const an=a4d;function h(k){const ak=a4d;if('SHqMU'!=='SHqMU')throw b[ak(0x1c8)](ak(0x1c6));else try{ak(0x1ea)===ak(0x1ea)?j(d[ak(0x217)](k)):(c[ak(0x1e4)](ak(0x1d8)),d[ak(0x1f8)](ak(0x1fd)));}catch(n){ak(0x1f4)!==ak(0x1a9)?g(n):(n[ak(0x206)](f),g['error'](h));}}function i(k){const al=a4d;if(al(0x18f)!==al(0x18f))d(e[al(0x1b6)](f));else try{al(0x1e9)==='MQBAU'?j(d[al(0x1b6)](k)):h['done']?i(j[al(0x1da)]):k(l['value'])[al(0x1d4)](m,n);}catch(n){g(n);}}function j(k){const am=a4d;am(0x1df)==='AedPm'?(e=f[am(0x20e)],g[am(0x1e4)](am(0x196)+h)):k['done']?f(k['value']):e(k['value'])[am(0x1d4)](h,i);}j((d=d[an(0x1f5)](a,b||[]))[an(0x217)]());});};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';function a4d(a,b){const c=a4c();return a4d=function(d,e){d=d-0x18b;let f=c[d];return f;},a4d(a,b);}Command[a4ah(0x1d0)]({'name':a4ah(0x1d6),'aliases':['ci'],'usage':a4ah(0x1cc),'description':'','mustBeInMakaProject':!![],'requiredOpts':[a4ah(0x1b2)],'validOpts':[a4ah(0x19a)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const ao=a4d;if(ao(0x200)===ao(0x200))try{const c=this[ao(0x18e)][ao(0x1bd)](),d=new AWS(),{appName:f}=c,g=this[ao(0x18e)][ao(0x1f7)](b[ao(0x1b2)]);let h=f+'-'+g,i=(yield Actions['ask'](ao(0x1f3)+h+']\x20'))||h,j='',k='',l='',m='',n='',o='',p='';const q=yield Actions['confirm'](ao(0x1ff));let r='';q&&(r=yield d[ao(0x1e3)]({'env':g}));try{if(ao(0x1ef)===ao(0x1b4))return c[ao(0x1ac)]()[ao(0x1de)]('(((.+)+)+)+$')['toString']()['constructor'](d)[ao(0x1de)](ao(0x205));else{Log[ao(0x1bc)]('**\x20Available\x20key-pairs\x20**');let w=r?r:i,x=d[ao(0x204)]({'suggestion':w}),y=(yield Actions[ao(0x1a4)](ao(0x19d)))||'-1';if(parseInt(y)<0x0){Log['error'](ao(0x1c5)),Log[ao(0x1bc)](ao(0x1a0));return;}x===null||x===void 0x0?void 0x0:x[ao(0x20f)](function(z){const ap=ao;parseInt(y)===z['id']&&(ap(0x18d)==='laiXV'?e['log']('ID:\x20'+f['id']+ap(0x1d3)+g[ap(0x20e)]+ap(0x1af)+h['sgId']):(j=z[ap(0x20e)],Log['success']('Setting\x20the\x20key-pair\x20to:\x20'+j)));});}}catch(z){Log[ao(0x1c8)](z);}k=yield d[ao(0x1a2)]();let s=yield Actions[ao(0x1e1)](ao(0x20d)),t;if(s){let A=k===''?d[ao(0x1a2)]():k,B=yield Actions['confirm'](ao(0x1f0));t=(yield Actions[ao(0x1a4)](ao(0x1b1)+i+']'))||i,d[ao(0x1ad)]({'description':ao(0x1f6),'name':t,'vpcId':A,'ssl':B});}t=i;try{Log[ao(0x1bc)](ao(0x214));let C=execSync(ao(0x1b8))['toString'](),D=JSON[ao(0x1b0)](C),E=[];D[ao(0x20f)](function(G,H){const aq=ao;if(aq(0x216)===aq(0x1ab)){const J=d[aq(0x1f5)](e,arguments);return f=null,J;}else E['push']({'id':H,'name':G[aq(0x1e6)],'sgId':G['ID']});}),E['forEach'](function(G){const ar=ao;ar(0x1c1)!=='fjnzX'?G['name']===t?Log['notice']('ID:\x20'+G['id']+ar(0x1d3)+G[ar(0x20e)]+ar(0x1af)+G[ar(0x1e8)]):console['log'](ar(0x195)+G['id']+'\x20SG\x20NAME:\x20'+G[ar(0x20e)]+'\x20SGID:\x20'+G[ar(0x1e8)]):e[ar(0x206)]('ID:\x20'+f['id']+ar(0x1f1)+g[ar(0x215)]+ar(0x1ce)+h[ar(0x212)]);});let F=(yield Actions['ask']('Please\x20choose\x20a\x20SG\x20to\x20assign\x20the\x20instance\x20to:\x20[0]\x20'))||'0';E[ao(0x20f)](function(G){const as=ao;'zRyJL'!==as(0x1c2)?c(d):G['id']===parseInt(F)&&(l=G[as(0x1e8)],Log['success'](as(0x209)+l+'\x0a'));});if(l==='')throw Log[ao(0x1c8)](ao(0x1c6));}catch(G){Log[ao(0x1c8)](G);}try{if(ao(0x1b3)==='tDTwC'){let H=0x7e6;Log[ao(0x1bc)](ao(0x1ee));let I=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=*'+H+ao(0x1cb))[ao(0x1ac)](),J=JSON['parse'](I),K=[],L=[];J[ao(0x20f)](function(N,O){const at=ao;if(N[at(0x1fb)]===at(0x1cd)){if('InCwD'!==at(0x1b7)){let P=N[at(0x1e5)][at(0x1ec)](at(0x1dd))[0x1];K[at(0x1aa)]({'amiId':N['ID'],'desc':N[at(0x1e5)],'date':P});}else{let R=e['Desc'][at(0x1ec)](at(0x1dd))[0x1];f[at(0x1aa)]({'amiId':g['ID'],'desc':h[at(0x1e5)],'date':R});}}}),K[ao(0x1ae)](function(N,O){const au=ao;if(au(0x1d9)!=='mAbuO')O[au(0x1bc)](au(0x211));else return new Date(O[au(0x18c)])[au(0x208)]()-new Date(N[au(0x18c)])['getTime']();}),K[ao(0x20f)](function(N,O){const av=ao;av(0x1f2)!==av(0x1f2)?f[av(0x206)](av(0x195)+g['id']+av(0x1fa)+h[av(0x1b5)]+av(0x1d7)+i['az']+'\x20SUBNETID:\x20'+j['subnetId']):L[av(0x1aa)]({'id':O,'amiId':N['amiId'],'desc':N[av(0x212)]});}),L[ao(0x20f)](function(N){const aw=ao;aw(0x1a3)!==aw(0x1a3)?c[aw(0x1c8)](d):console['log'](aw(0x195)+N['id']+aw(0x1f1)+N[aw(0x215)]+'\x20DESCRIPTION:\x20'+N[aw(0x212)]);});let M=(yield Actions[ao(0x1a4)](ao(0x194)))||'0';L[ao(0x20f)](function(N){const ax=ao;ax(0x1a5)!=='DJhKU'?N['id']===parseInt(M)&&(ax(0x1e0)===ax(0x1e0)?(m=N['amiId'],Log[ax(0x1e4)]('Setting\x20AMI\x20ID\x20to\x20'+m+ax(0x1a6)+N[ax(0x212)])):f[ax(0x1aa)]({'id':g,'cidr':h[ax(0x207)],'az':i['az'],'subnetId':j[ax(0x1a1)]})):(f=[g,h][ax(0x1f9)](':'),i[ax(0x1e4)](ax(0x191)+j));});if(m===''){if(ao(0x20a)!==ao(0x20a)){if(f['alias']===ao(0x1cd)){let O=k[ao(0x1e5)][ao(0x1ec)](ao(0x1dd))[0x1];l[ao(0x1aa)]({'amiId':m['ID'],'desc':n[ao(0x1e5)],'date':O});}}else throw Log['error'](ao(0x1c6));}}else{if(e){const P=i['apply'](j,arguments);return k=null,P;}}}catch(P){Log[ao(0x1c8)](P);}try{Log['notice']('**\x20Available\x20Subnets\x20**');let Q=execSync('aws\x20ec2\x20describe-subnets\x20--query\x20\x22Subnets[*].{subnetId:SubnetId,cider:CidrBlock,az:AvailabilityZone}\x22')[ao(0x1ac)](),R=JSON[ao(0x1b0)](Q),S=[];R[ao(0x20f)](function(U,V){const ay=ao;ay(0x19c)!==ay(0x19c)?h['id']===i(j)&&(o=p[ay(0x1a1)],q[ay(0x1e4)]('Setting\x20Subnet\x20ID\x20to\x20'+r)):S[ay(0x1aa)]({'id':V,'cidr':U[ay(0x207)],'az':U['az'],'subnetId':U[ay(0x1a1)]});}),S[ao(0x20f)](function(U){const az=ao;'GCGOi'==='TdivM'?c=d:console['log'](az(0x195)+U['id']+az(0x1fa)+U[az(0x1b5)]+az(0x1d7)+U['az']+az(0x1c9)+U[az(0x1a1)]);});let T=(yield Actions[ao(0x1a4)](ao(0x20b)))||'0';S[ao(0x20f)](function(U){const aA=ao;U['id']===parseInt(T)&&(o=U['subnetId'],Log['success'](aA(0x1ca)+o));});if(o===''){if(ao(0x202)==='glsNY')throw Log['error'](ao(0x1c6));else{c[ao(0x1c8)](ao(0x1c5)),d[ao(0x1bc)](ao(0x1a0));return;}}}catch(V){if(ao(0x1a8)===ao(0x1a8))Log[ao(0x1c8)](V);else return f instanceof g?h:new i(function(X){X(k);});}let u=ao(0x1d5);try{if('zRlCU'===ao(0x190))h['id']===i(j)&&(o=p[ao(0x1e8)],q['success'](ao(0x209)+r+'\x0a'));else{let Y=(yield Actions[ao(0x1a4)]('How\x20many\x20instances\x20do\x20you\x20want\x20to\x20create\x20(min:max)?\x20[1:1]\x20'))||ao(0x1d5),Z=Y['split'](':')[0x0],a0=Y[ao(0x1ec)](':')[0x1];typeof parseInt(Z)==='number'&&typeof parseInt(a0)===ao(0x1ed)&&(ao(0x1fc)===ao(0x1d2)?d(e[ao(0x217)](f)):(u=[Z,a0][ao(0x1f9)](':'),Log[ao(0x1e4)](ao(0x191)+u)));}}catch(a2){Log['error'](a2);}try{if('UQnit'!=='UQnit')k['name']===l?u['notice'](ao(0x195)+v['id']+ao(0x1d3)+w[ao(0x20e)]+ao(0x1af)+x[ao(0x1e8)]):y[ao(0x206)](ao(0x195)+z['id']+'\x20SG\x20NAME:\x20'+A['name']+ao(0x1af)+B[ao(0x1e8)]);else{let a4=(yield Actions['ask']('What\x20instance\x20type\x20would\x20you\x20like?\x20[t3.micro]'))||ao(0x19f);typeof a4===ao(0x1c3)&&(ao(0x1b9)===ao(0x210)?h(i)===j['id']&&(o=p[ao(0x20e)],q[ao(0x1e4)]('Setting\x20the\x20key-pair\x20to:\x20'+r)):n=a4);}}catch(a6){ao(0x1a7)!==ao(0x198)?Log[ao(0x1c8)](a6):c[ao(0x1c8)](d);}try{let a8=JSON[ao(0x1b0)](execSync(ao(0x1c0)+o+ao(0x199))[ao(0x1ac)]())[0x0][ao(0x1be)];Log['notice'](ao(0x213)+m),Log[ao(0x1bc)](ao(0x1ba)+u),Log[ao(0x1bc)](ao(0x1db)+n),Log['notice'](ao(0x197)+j),Log[ao(0x1bc)](ao(0x1e2)+l),Log['notice'](ao(0x193)+a8);let a9=yield Actions[ao(0x1e1)]('Ready\x20to\x20create\x20instance?\x20NOTE:\x20You\x20WILL\x20be\x20billed\x20for\x20this\x20instance\x20by\x20AWS.');if(a9){let aa=d[ao(0x20c)]({'imageId':m,'count':u,'type':n,'key':j,'sgIds':l,'subnet':o,'tags':ao(0x1dc)+g+ao(0x1bb)+i+ao(0x1d1)});aa&&(Log['success'](ao(0x1d8)),Log[ao(0x1f8)]('Run\x20\x22maka\x20aws:set-host\x22\x20to\x20configure\x20your\x20ssh.json\x20file'));}else Log[ao(0x1bc)](ao(0x211));}catch(ab){console['log'](ab),Log[ao(0x1c8)](ab);}}catch(ac){console['error'](ac),process['exit'](0x0);}else c[ao(0x1c8)](d);});},a4C);
@@ -1 +1 @@
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
+ const a5H=a5d;(function(a,b){const y=a5d,c=a();while(!![]){try{const d=parseInt(y(0x179))/0x1+-parseInt(y(0x176))/0x2+-parseInt(y(0x177))/0x3+parseInt(y(0x17d))/0x4+parseInt(y(0x17f))/0x5+parseInt(y(0x18b))/0x6+parseInt(y(0x175))/0x7*(-parseInt(y(0x187))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a5c,0x19b12));const a5b=(function(){let a=!![];return function(b,c){const z=a5d;if(z(0x17c)!==z(0x185)){const d=a?function(){const A=z;if(c){if(A(0x18c)!==A(0x183)){const e=c['apply'](b,arguments);return c=null,e;}else return c[A(0x174)]()['search']('(((.+)+)+)+$')[A(0x174)]()[A(0x193)](d)[A(0x18f)](A(0x178));}}:function(){};return a=![],d;}else{const f=d[z(0x17e)](e,arguments);return f=null,f;}};}()),a5a=a5b(this,function(){const B=a5d;return a5a[B(0x174)]()[B(0x18f)](B(0x178))['toString']()[B(0x193)](a5a)['search']('(((.+)+)+)+$');});a5a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){const C=a5d;if(C(0x180)!==C(0x191))return f instanceof c?f:new c(function(g){g(f);});else d(e['next'](f));}return new(c||(c=Promise))(function(f,g){const G=a5d;function h(k){const D=a5d;try{j(d[D(0x184)](k));}catch(l){g(l);}}function i(k){const E=a5d;try{if(E(0x17b)===E(0x17a)){const m=new c(),n=this[E(0x192)][E(0x182)](d['env']);m[E(0x186)]({'env':n});}else j(d[E(0x181)](k));}catch(m){E(0x197)!==E(0x194)?g(m):h['done']?i(j[E(0x190)]):k(l[E(0x190)])[E(0x18a)](m,n);}}function j(k){const F=a5d;k['done']?f(k['value']):e(k[F(0x190)])['then'](h,i);}j((d=d[G(0x17e)](a,b||[]))['next']());});};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-0x174;let f=c[d];return f;},a5d(a,b);}Command['create']({'name':a5H(0x18e),'aliases':['ckp'],'usage':a5H(0x189),'mustBeInMakaProject':!![],'requiredOpts':[a5H(0x196)],'validOpts':[a5H(0x195)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const I=a5d;try{const c=new AWS(),d=this[I(0x192)]['getConfigFromShorthand'](b[I(0x196)]);c[I(0x186)]({'env':d});}catch(f){console[I(0x18d)](f),process[I(0x188)](0x0);}});},a5x);function a5c(){const J=['RMJsl','error','create-key-pair','search','value','IyOqb','fsi','constructor','vnEYv','help','env','Peobr','toString','117152FssaSC','335584ZjVgsL','486768flJdsq','(((.+)+)+)+$','85611GHEvYk','PotwF','QTWZk','DWDSV','633144QVJftq','apply','466715DfSxAe','VQkbY','throw','getConfigFromShorthand','vyfWb','next','elHYz','createKeyPair','8MJGNcQ','exit','maka\x20aws\x20create-key-pair','then','688668OLHdbK'];a5c=function(){return J;};return a5c();}
@@ -1 +1 @@
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
+ const a6x=a6d;(function(a,b){const v=a6d,c=a();while(!![]){try{const d=-parseInt(v(0x174))/0x1+parseInt(v(0x15a))/0x2+-parseInt(v(0x169))/0x3*(-parseInt(v(0x17b))/0x4)+parseInt(v(0x168))/0x5+parseInt(v(0x172))/0x6*(-parseInt(v(0x159))/0x7)+-parseInt(v(0x16c))/0x8+parseInt(v(0x16a))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a6c,0xe55d1));const a6b=(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;};}()),a6a=a6b(this,function(){const w=a6d;return a6a[w(0x161)]()[w(0x15d)](w(0x173))[w(0x161)]()['constructor'](a6a)['search'](w(0x173));});a6a();function a6c(){const D=['apply','name','getProjectConfig','yrvpc','exit','confirm','22728QBFmNT','jjMOO','77HJHMcp','2912986gGOArD','chooseVPC','csg','search','create','Security\x20Group\x20Name:\x20[','create-security-group','toString','\x22Web\x20App\x22','Open\x20port\x20443\x20for\x20SSL?','kYHxc','error','ec2createSG','__awaiter','2808235JAsxlx','579LzIyHy','1542123FyMcpK','then','4241064zJpOhb','ask','next','throw','value','ssl','469932iTqnho','(((.+)+)+)+$','954965dsSAAU'];a6c=function(){return D;};return a6c();}var __awaiter=this&&this[a6x(0x167)]||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 B=a6d;function h(k){const y=a6d;if(y(0x164)==='MRGED')h['done']?i(j[y(0x170)]):k(l[y(0x170)])[y(0x16b)](m,n);else try{j(d[y(0x16e)](k));}catch(m){g(m);}}function i(k){const z=a6d;try{j(d[z(0x16f)](k));}catch(l){if(z(0x178)!==z(0x178)){if(l){const n=i['apply'](j,arguments);return k=null,n;}}else g(l);}}function j(k){const A=a6d;k['done']?f(k[A(0x170)]):e(k[A(0x170)])[A(0x16b)](h,i);}j((d=d[B(0x175)](a,b||[]))[B(0x16e)]());});};import a6u from'./aws.command.js';function a6d(a,b){const c=a6c();return a6d=function(d,e){d=d-0x158;let f=c[d];return f;},a6d(a,b);}import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';import{AWS}from'../../tools/aws/aws.class.js';Command[a6x(0x15e)]({'name':a6x(0x160),'aliases':[a6x(0x15c)],'usage':'maka\x20aws\x20terminate-instance','validOpts':['help']},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const C=a6d;try{const c=new AWS(),d=this['fsi'][C(0x177)](),{appName:f}=d;let g=yield c[C(0x15b)](),h=![];!b[C(0x171)]&&(C(0x158)!==C(0x158)?c(d):h=yield Actions[C(0x17a)](C(0x163)));let i=h?'-ssl':'',j=b[C(0x176)]?b['name']:''+f+i,k=(yield Actions[C(0x16d)](C(0x15f)+j+']'))||j;c[C(0x166)]({'description':C(0x162),'name':k,'vpcId':g,'ssl':h});}catch(m){console[C(0x165)](m),process[C(0x179)](0x0);}});},a6u);
@@ -1 +1 @@
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
+ var a7y=a7d;(function(a,b){var v=a7d,c=a();while(!![]){try{var d=parseInt(v(0x8e))/0x1*(-parseInt(v(0x70))/0x2)+-parseInt(v(0x8f))/0x3+parseInt(v(0x89))/0x4+-parseInt(v(0x8d))/0x5+-parseInt(v(0x78))/0x6*(parseInt(v(0x72))/0x7)+-parseInt(v(0x86))/0x8+-parseInt(v(0x87))/0x9*(-parseInt(v(0x90))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a7c,0x34992));var a7b=(function(){var a=!![];return function(b,c){var d=a?function(){var w=a7d;if(w(0x92)===w(0x92)){if(c){var e=c[w(0x8a)](b,arguments);return c=null,e;}}else{var g=g?function(){if(g){var u=q['apply'](r,arguments);return s=null,u;}}:function(){};return l=![],g;}}:function(){};return a=![],d;};}()),a7a=a7b(this,function(){var x=a7d;return a7a[x(0x71)]()[x(0x84)](x(0x79))[x(0x71)]()[x(0x8b)](a7a)[x(0x84)]('(((.+)+)+)+$');});a7a();var __awaiter=this&&this[a7y(0x80)]||function(a,b,c,d){function e(f){var z=a7d;if('SCRFL'===z(0x83))return f instanceof c?f:new c(function(g){var A=z;if('QDbWy'!==A(0x7e))g(f);else{const i=new b();i[A(0x7d)]();}});else try{const h=new g();h[z(0x7d)]();}catch(i){j[z(0x7f)](i),k[z(0x73)](0x0);}}return new(c||(c=Promise))(function(f,g){var E=a7d;function h(k){var B=a7d;try{if(B(0x7c)===B(0x7c))j(d[B(0x76)](k));else return c[B(0x71)]()[B(0x84)](B(0x79))[B(0x71)]()[B(0x8b)](d)[B(0x84)](B(0x79));}catch(m){g(m);}}function i(k){var C=a7d;if(C(0x7a)!==C(0x81))try{if(C(0x8c)===C(0x77))return f instanceof g?h:new i(function(m){m(k);});else j(d[C(0x88)](k));}catch(m){g(m);}else c(d);}function j(k){var D=a7d;k['done']?f(k[D(0x7b)]):e(k['value'])[D(0x6f)](h,i);}j((d=d[E(0x8a)](a,b||[]))[E(0x76)]());});};function a7d(a,b){var c=a7c();return a7d=function(d,e){d=d-0x6f;var f=c[d];return f;},a7d(a,b);}import a7u from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';function a7c(){var H=['next','vNheD','24936dwUxGv','(((.+)+)+)+$','fgWPq','value','XUUkP','ec2describeInstances','CkyBG','error','__awaiter','ILauQ','dEcrV','SCRFL','search','describe-instances','2241920CeOPzs','9ZkxRRg','throw','1461724YIXFoz','apply','constructor','XGadR','238610PNVQwE','24QGiDeQ','297027IhDDOY','9143020DyIBUJ','create','GltbZ','then','19862jKsvjB','toString','672oLAWbR','exit','help','VrTGM'];a7c=function(){return H;};return a7c();}Command[a7y(0x91)]({'name':a7y(0x85),'aliases':['di'],'usage':'maka\x20aws\x20describe-instances','validOpts':[a7y(0x74)]},function(){return __awaiter(this,void 0x0,void 0x0,function*(){var F=a7d;if(F(0x75)===F(0x75))try{if('dEcrV'===F(0x82)){const a=new AWS();a[F(0x7d)]();}else return e(this,void 0x0,void 0x0,function*(){var G=F;try{const s=new l();s['ec2describeInstances']();}catch(t){o[G(0x7f)](t),p['exit'](0x0);}});}catch(c){console[F(0x7f)](c),process[F(0x73)](0x0);}else c(d);});},a7u);
@@ -1 +1 @@
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
+ var a8y=a8d;(function(a,b){var v=a8d,c=a();while(!![]){try{var d=parseInt(v(0x187))/0x1*(-parseInt(v(0x166))/0x2)+-parseInt(v(0x183))/0x3*(-parseInt(v(0x173))/0x4)+parseInt(v(0x17b))/0x5*(parseInt(v(0x170))/0x6)+-parseInt(v(0x16c))/0x7+parseInt(v(0x16e))/0x8*(-parseInt(v(0x17f))/0x9)+parseInt(v(0x167))/0xa+-parseInt(v(0x184))/0xb*(parseInt(v(0x16a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a8c,0x7228c));var a8b=(function(){var a=!![];return function(b,c){var w=a8d;if('GUPkE'!=='NjheP'){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;}else d['error'](e),f[w(0x185)](0x0);};}()),a8a=a8b(this,function(){var x=a8d;return a8a[x(0x175)]()[x(0x188)]('(((.+)+)+)+$')[x(0x175)]()[x(0x16f)](a8a)[x(0x188)](x(0x17a));});a8a();var __awaiter=this&&this[a8y(0x181)]||function(a,b,c,d){function e(f){var z=a8d;if(z(0x17d)!=='mmGjM')return f instanceof c?f:new c(function(g){g(f);});else try{i(j[z(0x17e)](k));}catch(h){m(h);}}return new(c||(c=Promise))(function(f,g){var D=a8d;function h(k){var A=a8d;if(A(0x171)!==A(0x178))try{A(0x172)==='PpBxw'?j(d[A(0x17e)](k)):c(d);}catch(m){'qVWPO'===A(0x177)?g(m):h[A(0x179)]?i(j[A(0x168)]):k(l[A(0x168)])[A(0x186)](m,n);}else d(e[A(0x16d)](f));}function i(k){var B=a8d;if(B(0x176)===B(0x180))return f instanceof g?h:new i(function(m){m(k);});else try{j(d[B(0x16d)](k));}catch(m){g(m);}}function j(k){var C=a8d;k[C(0x179)]?f(k[C(0x168)]):e(k[C(0x168)])[C(0x186)](h,i);}j((d=d[D(0x182)](a,b||[]))[D(0x17e)]());});};function a8c(){var F=['__awaiter','apply','12DXWBpP','77jrxJpP','exit','then','140deEJUz','search','error','7244MNfbiV','8808190YVJvaS','value','describe-key-pairs','45576Aynkou','AhIUW','3339511BgpkVE','throw','496bdukpB','constructor','2089560WMgCyZ','HkgMp','PpBxw','926792nmmPCJ','dkp','toString','RIvux','qVWPO','czgZl','done','(((.+)+)+)+$','5loOpMY','maka\x20aws\x20describe-key-pairs','hnUcC','next','98352TwjuXv','UvqmT'];a8c=function(){return F;};return a8c();}import a8u from'./aws.command.js';import{Command}from'../../command.js';function a8d(a,b){var c=a8c();return a8d=function(d,e){d=d-0x166;var f=c[d];return f;},a8d(a,b);}import{AWS}from'../../tools/aws/aws.class.js';Command['create']({'name':a8y(0x169),'aliases':[a8y(0x174)],'usage':a8y(0x17c),'validOpts':['help']},function(){return __awaiter(this,void 0x0,void 0x0,function*(){var E=a8d;try{if(E(0x16b)===E(0x16b)){const a=new AWS();a['ec2describeKeys']();}else{if(e){var c=i[E(0x182)](j,arguments);return k=null,c;}}}catch(c){console[E(0x189)](c),process[E(0x185)](0x0);}});},a8u);
@@ -1 +1 @@
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
+ const a9y=a9d;(function(a,b){const v=a9d,c=a();while(!![]){try{const d=parseInt(v(0x1c8))/0x1+parseInt(v(0x1c0))/0x2+parseInt(v(0x1c9))/0x3+-parseInt(v(0x1ba))/0x4+parseInt(v(0x1c7))/0x5*(-parseInt(v(0x1d0))/0x6)+-parseInt(v(0x1ce))/0x7+-parseInt(v(0x1cf))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a9c,0x410cd));const a9b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a9d;if(c){const e=c[w(0x1bf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a9a=a9b(this,function(){const x=a9d;return a9a['toString']()['search']('(((.+)+)+)+$')[x(0x1c5)]()[x(0x1d6)](a9a)[x(0x1d7)](x(0x1c1));});function a9c(){const F=['search','name','rbi','error','\x20is\x20still\x20running.','\x20Ready?','then','running','inYdH','822340ZkiHTh','reboot-instance','__awaiter','done','instanceId','apply','4940GHQOOr','(((.+)+)+)+$','exit','[!!]\x20You\x20are\x20about\x20to\x20reboot\x20instance:\x20','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20rebooted;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','toString','throw','978295irgjAf','432912gOFjFZ','1032840qVptjv','value','create','TOsFW','next','613669TjitzM','194448XKGtCm','6BTyCBS','detDy','rUzAL','You\x20have\x20aborted\x20the\x20reboot.\x20\x20The\x20instance:\x20','WJVkM','chooseInstance','constructor'];a9c=function(){return F;};return a9c();}a9a();var __awaiter=this&&this[a9y(0x1bc)]||function(a,b,c,d){function e(f){const z=a9d;if('RZEgE'==='RZEgE')return f instanceof c?f:new c(function(g){g(f);});else d[z(0x1da)](e),f[z(0x1c2)](0x0);}return new(c||(c=Promise))(function(f,g){const D=a9d;function h(k){const A=a9d;try{j(d[A(0x1cd)](k));}catch(l){'inYdH'!==A(0x1b9)?b[A(0x1da)]('There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20rebooted;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.'):g(l);}}function i(k){const B=a9d;try{'rUzAL'===B(0x1d2)?j(d[B(0x1c6)](k)):h[B(0x1bd)]?i(j[B(0x1ca)]):k(l['value'])['then'](m,n);}catch(m){B(0x1d4)===B(0x1d4)?g(m):c(d);}}function j(k){const C=a9d;k['done']?f(k['value']):e(k[C(0x1ca)])[C(0x1b7)](h,i);}j((d=d[D(0x1bf)](a,b||[]))[D(0x1cd)]());});};import a9u from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';function a9d(a,b){const c=a9c();return a9d=function(d,e){d=d-0x1b5;let f=c[d];return f;},a9d(a,b);}Command[a9y(0x1cb)]({'name':a9y(0x1bb),'aliases':[a9y(0x1d9)],'usage':'maka\x20aws\x20reboot-instance','validOpts':['help']},function(){return __awaiter(this,void 0x0,void 0x0,function*(){const E=a9d;try{const a=new AWS();let b=yield a[E(0x1d5)]();if((b===null||b===void 0x0?void 0x0:b['status'])===E(0x1b8)){if(E(0x1d1)===E(0x1d1)){let c=yield Actions['confirm'](E(0x1c3)+b[E(0x1d8)]+E(0x1b6));c?a['ec2rebootInstance']({'instanceId':b[E(0x1be)]}):Log['error'](E(0x1d3)+b[E(0x1d8)]+E(0x1b5));}else{if(e){const f=i[E(0x1bf)](j,arguments);return k=null,f;}}}else E(0x1cc)!=='TOsFW'?c[E(0x1da)](E(0x1d3)+d['name']+'\x20is\x20still\x20running.'):Log['error'](E(0x1c4));}catch(g){console[E(0x1da)](g),process[E(0x1c2)](0x0);}});},a9u);
@@ -1 +1 @@
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
+ function a10d(a,b){const c=a10c();return a10d=function(d,e){d=d-0x92;let f=c[d];return f;},a10d(a,b);}const a10O=a10d;(function(a,b){const F=a10d,c=a();while(!![]){try{const d=parseInt(F(0xa8))/0x1*(parseInt(F(0xb8))/0x2)+parseInt(F(0xba))/0x3+parseInt(F(0xc2))/0x4+parseInt(F(0x92))/0x5+parseInt(F(0x96))/0x6*(-parseInt(F(0xbc))/0x7)+parseInt(F(0xc3))/0x8*(-parseInt(F(0xb6))/0x9)+-parseInt(F(0xbe))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a10c,0x2535c));function a10c(){const Q=['publicIp','Set\x20the\x20host\x20to\x20public\x20or\x20private?\x20[public]','chooseInstance','private','toString','help','ssh.json','exit','932hntWjB','cat\x20','WvfxU','cqZZB','Cfgin','(((.+)+)+)+$','public','set-host','That\x20is\x20not\x20an\x20option.\x20Must\x20be\x20\x22public\x22\x20or\x20\x22private\x22','env','inherit','jxGvb','error','hXZHR','342UalApx','success','38aSxeFz','\x0aSaved\x20host\x20','732003AOgVma','host','7sOrefS','next','618570xbxKyb','utf8','mJPqv','\x20IP\x20to\x20','521052eFrJrx','26600jNRkWy','value','create','sgFqG','then','323310tmAVoh','KGdFG','key-name','privateIp','696090glHPuF','fsi','stringify','apply','search','join','maka\x20aws\x20set-host','ciwZs','sep','sth'];a10c=function(){return Q;};return a10c();}const a10b=(function(){let a=!![];return function(b,c){const G=a10d;if(G(0x9d)==='ciwZs'){const d=a?function(){const H=G;if(c){if(H(0xb3)===H(0xb3)){const e=c['apply'](b,arguments);return c=null,e;}else try{i(j['throw'](k));}catch(g){m(g);}}}:function(){};return a=![],d;}else{const f=d[G(0x99)](e,arguments);return f=null,f;}};}()),a10a=a10b(this,function(){const I=a10d;return a10a[I(0xa4)]()[I(0x9a)](I(0xad))[I(0xa4)]()['constructor'](a10a)[I(0x9a)](I(0xad));});a10a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){const J=a10d;if('cqZZB'===J(0xab))return f instanceof c?f:new c(function(g){const K=J;K(0xac)==='Cfgin'?g(f):e[K(0xbb)]=f===null||g===void 0x0?void 0x0:h['privateIp'];});else c(d);}return new(c||(c=Promise))(function(f,g){const N=a10d;function h(k){const L=a10d;if('hXZHR'!==L(0xb5))d[L(0xb4)](e),f['exit'](0x0);else try{j(d[L(0xbd)](k));}catch(m){g(m);}}function i(k){try{j(d['throw'](k));}catch(l){g(l);}}function j(k){const M=a10d;'JSAGS'!=='JSAGS'?c(d):k['done']?f(k[M(0xc4)]):e(k[M(0xc4)])[M(0xc7)](h,i);}j((d=d[N(0x99)](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';Command[a10O(0xc5)]({'name':a10O(0xaf),'aliases':[a10O(0x9f)],'usage':a10O(0x9c),'mustBeInMakaProject':!![],'requiredOpts':[a10O(0xb1)],'validOpts':[a10O(0xa5),a10O(0x94)],'description':''},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const P=a10d;if('uXDqg'===P(0x93))d(e[P(0xbd)](f));else try{if(P(0xc6)==='XywrJ')try{i(j[P(0xbd)](k));}catch(f){m(f);}else{const f=new AWS(),g=this[P(0x97)]['getConfigPath'](b[P(0xb1)]);let h=yield f[P(0xa2)](),i=JSON['parse'](a10D['readFileSync'](a10C[P(0x9b)](g,P(0xa6)),P(0xbf))),j=(yield Actions['ask'](P(0xa1)))||'public';if(j){if(j==='public'||j===P(0xa3)){if('Eelql'===P(0xc0))c(d);else{if(j===P(0xae))i[P(0xbb)]=h===null||h===void 0x0?void 0x0:h[P(0xa0)];else j===P(0xa3)&&(P(0xaa)!=='WvfxU'?e[P(0xbb)]=f===null||g===void 0x0?void 0x0:h[P(0x95)]:i['host']=h===null||h===void 0x0?void 0x0:h[P(0x95)]);}}else throw P(0xb0);}else i['host']=h===null||h===void 0x0?void 0x0:h[P(0x95)];a10D['writeFileSync'](a10C[P(0x9b)](g,P(0xa6)),JSON[P(0x98)](i,null,0x2)),execSync(P(0xa9)+a10C['join'](g,P(0xa6)),{'stdio':P(0xb2)}),Log[P(0xb7)](P(0xb9)+j+P(0xc1)+g+a10C[P(0x9e)]+P(0xa6));}}catch(m){console[P(0xb4)](m),process[P(0xa7)](0x0);}});},a10E);
@@ -1 +1 @@
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
+ const a11y=a11d;function a11d(a,b){const c=a11c();return a11d=function(d,e){d=d-0x16b;let f=c[d];return f;},a11d(a,b);}(function(a,b){const v=a11d,c=a();while(!![]){try{const d=-parseInt(v(0x17d))/0x1*(parseInt(v(0x17f))/0x2)+-parseInt(v(0x181))/0x3+-parseInt(v(0x180))/0x4*(-parseInt(v(0x171))/0x5)+parseInt(v(0x174))/0x6*(parseInt(v(0x193))/0x7)+parseInt(v(0x17a))/0x8+-parseInt(v(0x18b))/0x9+parseInt(v(0x17e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a11c,0xb8c06));const a11b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a11d;if('IBase'==='IBase'){if(c){const e=c[w(0x18c)](b,arguments);return c=null,e;}}else b[w(0x185)]('There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20terminated;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.');}:function(){};return a=![],d;};}()),a11a=a11b(this,function(){const x=a11d;return a11a[x(0x190)]()[x(0x18a)](x(0x188))['toString']()[x(0x196)](a11a)[x(0x18a)](x(0x188));});a11a();var __awaiter=this&&this[a11y(0x170)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const C=a11d;function h(k){const z=a11d;if('yygkr'!=='yygkr')c(d);else try{if('etNAh'===z(0x192))j(d[z(0x176)](k));else try{i(j[z(0x195)](k));}catch(o){m(o);}}catch(n){z(0x172)!==z(0x189)?g(n):c(d);}}function i(k){const A=a11d;try{j(d[A(0x195)](k));}catch(l){if(A(0x187)==='qqKWN')return f instanceof g?h:new i(function(n){n(k);});else g(l);}}function j(k){const B=a11d;if(B(0x16c)===B(0x186)){const m=d[B(0x18c)](e,arguments);return f=null,m;}else k[B(0x175)]?f(k['value']):e(k[B(0x16b)])[B(0x177)](h,i);}j((d=d[C(0x18c)](a,b||[]))[C(0x176)]());});};import a11u from'./aws.command.js';import{Command}from'../../command.js';function a11c(){const E=['instanceId','chooseInstance','__awaiter','620KPGwOp','nzbHK','ec2terminateInstance','12cBLHIb','done','next','then','running','\x20is\x20still\x20running.\x20\x20(Charges\x20are\x20still\x20being\x20applied).','5456000NZCXrZ','You\x20have\x20aborted\x20the\x20termination.\x20\x20The\x20instance:\x20','exit','326727TfdavJ','1503510cbTHUt','6BLlZTa','15968LbwYCR','603612DzFCwC','QyInW','name','GZKBK','error','WSVTY','TCFJR','(((.+)+)+)+$','IkpFS','search','2055186dScRDK','apply','create','RyyYV','help','toString','status','etNAh','2936927daMFlM','confirm','throw','constructor','terminate-instance','value','ZveNb','maka\x20aws\x20terminate-instance'];a11c=function(){return E;};return a11c();}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[a11y(0x18d)]({'name':a11y(0x197),'aliases':['ti'],'usage':a11y(0x16d),'validOpts':[a11y(0x18f)]},function(){return __awaiter(this,void 0x0,void 0x0,function*(){const D=a11d;if(D(0x182)!==D(0x182))c(d);else try{const b=new AWS();let c=yield b[D(0x16f)]();if((c===null||c===void 0x0?void 0x0:c[D(0x191)])===D(0x178)){let d=yield Actions[D(0x194)]('You\x20are\x20about\x20to\x20terminate\x20(lose\x20all\x20data)\x20on\x20instance:\x20'+c[D(0x183)]+'\x20Ready?');d?D(0x184)!==D(0x18e)?b[D(0x173)]({'instanceId':c[D(0x16e)]}):d(e[D(0x176)](f)):Log[D(0x185)](D(0x17b)+c[D(0x183)]+D(0x179));}else Log['error']('There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20terminated;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.');}catch(g){console[D(0x185)](g),process[D(0x17c)](0x0);}});},a11u);
@@ -1 +1 @@
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
+ (function(a,b){var u=a12d,c=a();while(!![]){try{var d=parseInt(u(0xc9))/0x1*(-parseInt(u(0xc4))/0x2)+parseInt(u(0xc6))/0x3+-parseInt(u(0xbe))/0x4*(-parseInt(u(0xc2))/0x5)+parseInt(u(0xbd))/0x6*(parseInt(u(0xc5))/0x7)+-parseInt(u(0xc7))/0x8+parseInt(u(0xca))/0x9+-parseInt(u(0xbc))/0xa*(parseInt(u(0xc3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a12c,0xabc11));function a12d(a,b){var c=a12c();return a12d=function(d,e){d=d-0xbc;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[v(0xc0)]()[v(0xc1)](v(0xc8))[v(0xc0)]()[v(0xbf)](a12a)['search']('(((.+)+)+)+$');});function a12c(){var w=['3078594iYAzOF','20rCvhVY','1884KcskOJ','4eudGAC','constructor','toString','search','6582515PVesES','10127051aItNmx','332lJZxAp','26355bBhpbQ','3510039aZqmUk','9439896KEgAHr','(((.+)+)+)+$','1723nbrHOC'];a12c=function(){return w;};return a12c();}a12a();import'./build.js';import'./docker.sub.cmd.js';
@@ -1 +1 @@
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
+ const a13G=a13d;(function(a,b){const x=a13d,c=a();while(!![]){try{const d=parseInt(x(0x166))/0x1+parseInt(x(0x169))/0x2*(parseInt(x(0x15c))/0x3)+parseInt(x(0x154))/0x4*(parseInt(x(0x16b))/0x5)+-parseInt(x(0x178))/0x6+-parseInt(x(0x16c))/0x7*(-parseInt(x(0x165))/0x8)+-parseInt(x(0x16a))/0x9+-parseInt(x(0x16d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a13c,0xe0f83));function a13d(a,b){const c=a13c();return a13d=function(d,e){d=d-0x141;let f=c[d];return f;},a13d(a,b);}const a13b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a13d;if(c){const e=c[y(0x171)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a13a=a13b(this,function(){const z=a13d;return a13a[z(0x149)]()[z(0x16e)](z(0x157))[z(0x149)]()[z(0x148)](a13a)[z(0x16e)](z(0x157));});a13a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){const A=a13d;if(A(0x175)==='nIKBk')return f instanceof c?f:new c(function(g){const B=A;if(B(0x174)!=='TDytq')g(f);else{const i=d['apply'](e,arguments);return f=null,i;}});else try{i(j[A(0x179)](k));}catch(h){m(h);}}return new(c||(c=Promise))(function(f,g){const F=a13d;function h(k){const C=a13d;if(C(0x143)===C(0x173))h['done']?i(j['value']):k(l[C(0x159)])[C(0x168)](m,n);else try{j(d[C(0x145)](k));}catch(m){g(m);}}function i(k){const D=a13d;if(D(0x15e)===D(0x15d))throw b[D(0x152)]('Aborted.');else try{j(d['throw'](k));}catch(m){g(m);}}function j(k){const E=a13d;k['done']?f(k['value']):e(k[E(0x159)])[E(0x168)](h,i);}j((d=d['apply'](a,b||[]))[F(0x145)]());});};import a13u from'path';function a13c(){const J=['concat','480072PclBZK','throw','This\x20project\x27s\x20meteor\x20version\x20(','app.tar.gz','OBvft','create','mTjtL','getGlobalMeteorVersion','next','existsSync','--force','constructor','toString','lNgrK','hwdmb','findSubCommand','splice',')\x20is\x20behind\x20your\x20installed\x20meteor\x20version\x20(','exit','invokeMeteorCommand','forEach','error','fsi','588668vScyyU','slice','update','(((.+)+)+)+$','join','value','bonws','HhTnv','111717QvMOIe','oYiia','kOzlj','rwVGf','maka\x20build\x20[--force]','pathFromProject','--release','confirm','getProjectMeteorVersion','16uVohEm','816820VZngsp','Found\x20existing\x20bundle,\x20would\x20you\x20like\x20to\x20rebuild\x20it?','then','4VbWCpO','9581823iYkVvq','60lXoSHJ','829843HiSoJr','8282660UNxdux','search','Aborted.',').\x20Update?','apply','build','fCOVo','Gyuiu','nIKBk','maka\x20build'];a13c=function(){return J;};return a13c();}import a13v from'fs';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[a13G(0x142)]({'name':a13G(0x172),'usage':a13G(0x160),'validOpts':['force'],'description':'Build\x20your\x20application\x20into\x20the\x20build\x20folder.','mustBeInMakaProject':!![],'examples':[a13G(0x176),'maka\x20build:docker']},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const H=a13d;if(H(0x14b)!==H(0x15f))try{let c=a[0x0],d=this[H(0x14c)](c);if(d)this['runSubCommand'](c,a,b);else{let f=b['force'];if(!f){const i=this[H(0x153)][H(0x144)](),j=this[H(0x153)][H(0x164)](),k=a13w['gt'](i,j);if(k){if(H(0x15a)==='bonws'){const l=yield Actions[H(0x163)](H(0x17a)+j+H(0x14e)+i+H(0x170));l&&this[H(0x153)][H(0x150)](H(0x156),[H(0x162),i]);}else d===H(0x147)&&g[H(0x14d)](h,0x2);}}let g=[this[H(0x153)][H(0x161)]({'pathParts':[H(0x172)]})][H(0x177)](process['argv'][H(0x155)](0x3)),h=a13u[H(0x158)](this[H(0x153)][H(0x161)]({}),H(0x172),H(0x17b));if(a13v[H(0x146)](h)){let n=f!==null&&f!==void 0x0?f:yield Actions['confirm'](H(0x167));if(!n)throw Log['error'](H(0x16f));}g[H(0x151)]((o,p)=>{const I=H;if(I(0x15b)!==I(0x141))o===I(0x147)&&g[I(0x14d)](p,0x2);else try{i(j['next'](k));}catch(r){m(r);}}),this[H(0x153)]['invokeMeteorCommand']('build',g);}}catch(o){H(0x14a)!==H(0x14a)?(d[H(0x152)](o),f['exit'](0x0)):(console[H(0x152)](o),process[H(0x14f)](0x0));}else c(d);});});export default BuildCommand;
@@ -1 +1 @@
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);
1
+ const a14N=a14d;(function(a,b){const I=a14d,c=a();while(!![]){try{const d=-parseInt(I(0x183))/0x1*(parseInt(I(0x190))/0x2)+parseInt(I(0x1a7))/0x3*(-parseInt(I(0x17a))/0x4)+parseInt(I(0x198))/0x5+-parseInt(I(0x18e))/0x6+-parseInt(I(0x186))/0x7+parseInt(I(0x163))/0x8*(parseInt(I(0x1a8))/0x9)+-parseInt(I(0x1bb))/0xa*(-parseInt(I(0x1bf))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a14c,0x3a252));function a14d(a,b){const c=a14c();return a14d=function(d,e){d=d-0x15f;let f=c[d];return f;},a14d(a,b);}const a14b=(function(){let a=!![];return function(b,c){const J=a14d;if(J(0x168)===J(0x1b0)){const e=g?function(){const K=J;if(e){const u=q[K(0x191)](r,arguments);return s=null,u;}}:function(){};return l=![],e;}else{const e=a?function(){const L=J;if(c){if(L(0x16b)===L(0x185))try{i(j['throw'](k));}catch(g){m(g);}else{const g=c[L(0x191)](b,arguments);return c=null,g;}}}:function(){};return a=![],e;}};}()),a14a=a14b(this,function(){const M=a14d;return a14a[M(0x162)]()[M(0x1a6)](M(0x199))[M(0x162)]()[M(0x166)](a14a)['search'](M(0x199));});a14a();var __awaiter=this&&this[a14N(0x17e)]||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{O(0x17f)===O(0x1a4)?c[O(0x18b)](d['join']('config',O(0x1ab),O(0x165))):j(d[O(0x18a)](k));}catch(m){if(O(0x192)===O(0x1a9))return c['toString']()[O(0x1a6)](O(0x199))['toString']()[O(0x166)](d)[O(0x1a6)](O(0x199));else g(m);}}function i(k){const P=a14d;try{j(d[P(0x167)](k));}catch(l){'gepvw'==='sXPll'?(f(g+P(0x19d),{'cwd':this[P(0x1bd)][P(0x179)](),'stdio':P(0x1ae)}),h(i+'\x20\x20'+j[P(0x19e)]('\x20'),{'cwd':this[P(0x1bd)][P(0x179)](),'stdio':'inherit'})):g(l);}}function j(k){const Q=a14d;k['done']?f(k[Q(0x189)]):e(k[Q(0x189)])[Q(0x177)](h,i);}j((d=d[R(0x191)](a,b||[]))[R(0x18a)]());});};import a14u from'./build.js';import a14v from'path';import a14w from'fs';import{execSync}from'child_process';function a14c(){const T=['_keys','constructor','throw','CWEKU','maka\x20build:docker','setProjectConfig','DwcfY','findProjectDirectory',':latest','--architecture','config.json','dockerfile','length','443','invoke','replace','Mobile\x20server\x20IP\x20or\x20fully\x20qualified\x20domain\x20name\x20(FQDN):\x20','FFPCL','then','-t\x20','findAppDirectory','52324HzStJC','isDirectory','appName','confirm','__awaiter','wPadM','tag','serverPort','lCevR','1ClHLtm','push','ngBrF','3216934YFyWoR','app','getGlobalConfig','value','next','mkdirSync','app.tar.gz','serverName','2645262xayTjF','KGCzP','705814wzLOTJ','apply','ligvu','getProjectConfig','cert','exit','.maka','copyFileSync','1234350miTvDt','(((.+)+)+)+$','isFile','inherit','Would\x20you\x20like\x20to\x20save\x20the\x20server\x20config\x20in\x20your\x20.maka/config.json\x20file?','\x20npm\x20install\x20--save','join','http','docker\x20build\x20--build-arg\x20NODE_VERSION=','error','checkConfigExists','mXduL','bIpOE','platform','search','69gAdxJb','9EQpAnM','eIMBU','notice','docker','pathFromProject','win32','ignore','findGenerator','dQVRT','cert.pem','readFileLines','IogAA','Tagging\x20Docker\x20Image:\x20','config','Try\x20\x27maka\x20run\x20--docker\x27','WNiZc','Using\x20Node\x20Version:\x20','os.linux.x86_64','Mobile\x20server\x20port:\x20','5402290wCVdJb','EuqOs','fsi','Server\x20name\x20or\x20port\x20number\x20are\x20not\x20long\x20enough!','22ROYWXp','ask','https','build','done','OUnGZ','toString','3720344zryKJZ','Stored\x20server\x20config\x20to\x20'];a14c=function(){return T;};return a14c();}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['create']({'name':'docker','usage':a14N(0x169),'validOpts':['force',a14N(0x180)],'description':'Build\x20your\x20application\x20into\x20the\x20build\x20folder\x20and\x20generate\x20a\x20docker\x20image.','mustBeInMakaProject':!![],'examples':[a14N(0x169)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const S=a14d;if(S(0x161)!==S(0x1b3))try{const c=yield this[S(0x1bd)][S(0x188)](),d=yield this['fsi'][S(0x193)]();let f=process[S(0x1a5)]===S(0x1ad)?'meteor.bat':'meteor',g=this['fsi'][S(0x1ac)]({}),h=a14v[S(0x19e)](g,'Dockerfile');if(!this[S(0x1bd)][S(0x19a)](h)){if(S(0x1a3)!==S(0x1a3))h[S(0x160)]?i(j[S(0x189)]):k(l['value'])[S(0x177)](m,n);else{const s=a14x[S(0x1af)](S(0x170));s&&(S(0x182)!==S(0x182)?c(d):yield s[S(0x173)]([S(0x170)],{'cwd':g,'config':d}));}}const i=this[S(0x1bd)][S(0x1a2)](S(0x1ab));if(!i){const u=a14x[S(0x1af)](S(0x1b5));u&&(yield u['invoke']([S(0x1ab)],{'cwd':g,'config':d,'isDocker':!![]}));}if(this[S(0x1bd)][S(0x19a)](c[S(0x194)])){if(S(0x1bc)!==S(0x1bc))f(g+S(0x19d),{'cwd':this[S(0x1bd)][S(0x179)](),'stdio':S(0x1ae)}),h(i+'\x20'+j[S(0x19e)]('\x20'),{'cwd':this[S(0x1bd)][S(0x179)](),'stdio':S(0x19b)});else{const w=this[S(0x1bd)][S(0x17b)](a14v[S(0x19e)](S(0x1b5),'docker',S(0x165)));!w&&(S(0x18f)!==S(0x18f)?d(e[S(0x18a)](f)):a14w['mkdirSync'](a14v[S(0x19e)](S(0x1b5),S(0x1ab),S(0x165)))),a14w[S(0x197)](c['cert'],a14v[S(0x19e)](g,'config','docker',S(0x165),'cert.pem'));}}let j=this[S(0x1bd)][S(0x1ac)]({}),k=execSync(f+'\x20node\x20--version')[S(0x162)]()[S(0x174)](/\r?\n|\r/g,''),l='-t\x20'+paramCase(d[S(0x17c)])+S(0x16d);b[S(0x180)]&&(l=S(0x178)+b[S(0x180)]);let m=['build',a14v[S(0x19e)](this[S(0x1bd)][S(0x16c)](),S(0x15f)),S(0x16e),S(0x1b9)],n=this[S(0x1bd)][S(0x1b2)](a14v[S(0x19e)](this[S(0x1bd)][S(0x1ac)]({}),S(0x187),'.meteor','platforms')),o=n[S(0x171)]>0x2?!![]:![];if(o){let y=d['serverName']?d['serverName']:yield Actions[S(0x1c0)](S(0x175)),z=d[S(0x181)]?d['serverPort']:yield Actions['ask'](S(0x1ba));if(y[S(0x171)]==0x0||z[S(0x171)]==0x0)throw S(0x1be);let A=z==S(0x172)?S(0x1c1):S(0x19f);m[S(0x184)]('--server='+A+'://'+y+':'+z);if(!d[S(0x18d)]&&!d[S(0x181)]){if(S(0x1b7)!=='WNiZc'){const C=this[S(0x1bd)][S(0x17b)](h[S(0x19e)](S(0x1b5),S(0x1ab),S(0x165)));!C&&o['mkdirSync'](p[S(0x19e)](S(0x1b5),S(0x1ab),S(0x165))),k['copyFileSync'](l[S(0x194)],m['join'](n,'config',S(0x1ab),S(0x165),S(0x1b1)));}else{let C=yield Actions[S(0x17d)](S(0x19c));C&&(this['fsi'][S(0x16a)]('serverName',y),this[S(0x1bd)][S(0x16a)](S(0x181),z),Log[S(0x1aa)](S(0x164)+a14v[S(0x19e)](S(0x196),S(0x16f))));}}}let p=a14v[S(0x19e)](this[S(0x1bd)][S(0x1ac)]({}),S(0x15f),S(0x18c));if(a14w['existsSync'](p)){const D=yield Actions[S(0x17d)]('Found\x20existing\x20bundle,\x20would\x20you\x20like\x20to\x20rebuild\x20it?');let E=D;E&&(execSync(f+S(0x19d),{'cwd':this[S(0x1bd)][S(0x179)](),'stdio':S(0x1ae)}),execSync(f+'\x20\x20'+m[S(0x19e)]('\x20'),{'cwd':this[S(0x1bd)][S(0x179)](),'stdio':S(0x19b)}));}else{if(S(0x176)!=='TwWlY')execSync(f+'\x20npm\x20install\x20--save',{'cwd':this['fsi'][S(0x179)](),'stdio':S(0x1ae)}),execSync(f+'\x20'+m[S(0x19e)]('\x20'),{'cwd':this[S(0x1bd)][S(0x179)](),'stdio':S(0x19b)});else try{i(j[S(0x18a)](k));}catch(G){m(G);}}Log[S(0x1aa)](S(0x1b8)+k),Log[S(0x1aa)](S(0x1b4)+l),Log[S(0x1aa)]('Build\x20Path:\x20'+j);const q=S(0x1a0)+k+'\x20'+l+'\x20'+j;execSync(q,{'stdio':S(0x19b)}),Log['notice'](S(0x1b6));}catch(G){console[S(0x1a1)](G),process[S(0x195)](0x0);}else d[S(0x1a1)](e),f[S(0x195)](0x0);});},a14u);