@maka/maka-cli 4.0.78 → 4.0.82

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 (87) 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/maka.js +1 -1
  69. package/dist/tool.js +1 -1
  70. package/dist/tools/actions/actions.class.js +1 -1
  71. package/dist/tools/actions/actions.test.js +1 -1
  72. package/dist/tools/aws/aws.class.js +1 -1
  73. package/dist/tools/aws/aws.interfaces.js +1 -1
  74. package/dist/tools/docker/docker.class.js +1 -1
  75. package/dist/tools/docker/docker.interfaces.js +1 -1
  76. package/dist/tools/fsi/fsi.class.js +1 -1
  77. package/dist/tools/fsi/fsi.interfaces.js +1 -1
  78. package/dist/tools/https/https.class.js +1 -1
  79. package/dist/tools/https/https.interface.js +1 -1
  80. package/dist/tools/log/log.class.js +1 -1
  81. package/dist/tools/log/log.interfaces.js +1 -1
  82. package/dist/tools/spawn-async/spawn-async.class.js +1 -1
  83. package/dist/tools/spawn-async/spawn-async.interfaces.js +1 -1
  84. package/dist/tools/ssh/ssh.class.js +1 -1
  85. package/dist/tools/ssh/ssh.interfaces.js +1 -1
  86. package/dist/tools/ssl/ssl.class.js +1 -1
  87. package/package.json +1 -1
package/dist/command.js CHANGED
@@ -1 +1 @@
1
- function a0d(a,b){const c=a0c();return a0d=function(d,e){d=d-0x163;let f=c[d];return f;},a0d(a,b);}const a0S=a0d;(function(a,b){const N=a0d,c=a();while(!![]){try{const d=-parseInt(N(0x1a1))/0x1+parseInt(N(0x187))/0x2*(-parseInt(N(0x17b))/0x3)+parseInt(N(0x1b3))/0x4+parseInt(N(0x1e7))/0x5+parseInt(N(0x1d3))/0x6*(-parseInt(N(0x1cc))/0x7)+-parseInt(N(0x1b2))/0x8+-parseInt(N(0x1e3))/0x9*(-parseInt(N(0x18d))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a0c,0x6e83c));const a0b=(function(){let a=!![];return function(b,c){const O=a0d;if(O(0x197)==='ukPlz'){const d=a?function(){const P=O;if(P(0x168)!==P(0x19c)){if(c){if('vhpEF'===P(0x199)){const e=c['apply'](b,arguments);return c=null,e;}else f[P(0x17c)](P(0x1e4)),g['forEach'](q=>{const Q=P;if(!k[Q(0x1f6)](q)){n[Q(0x1e2)](Q(0x1ca)+q);throw new o();}});}}else c(d);}:function(){};return a=![],d;}else{c['error'](O(0x16c));throw new d();}};}()),a0a=a0b(this,function(){const R=a0d;return a0a[R(0x1da)]()[R(0x169)]('(((.+)+)+)+$')[R(0x1da)]()['constructor'](a0a)[R(0x169)](R(0x1dd));});a0a();var __awaiter=this&&this[a0S(0x1d7)]||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 W=a0d;function h(k){const T=a0d;try{j(d[T(0x1b6)](k));}catch(l){g(l);}}function i(k){const U=a0d;try{j(d[U(0x1a5)](k));}catch(l){g(l);}}function j(k){const V=a0d;k[V(0x193)]?f(k[V(0x170)]):e(k[V(0x170)])['then'](h,i);}j((d=d[W(0x19f)](a,b||[]))['next']());});};import a0I from'path';import a0J from'os';import a0K from'fs';const homeDir=a0J['homedir']();import a0L from'cli-table';import a0M from'./commands/maka.cmd.js';import{Log}from'./tools/log/log.class.js';function a0c(){const ak=['bind','concat','usage','examples','Command\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','length','tableList','minOptsLength','split','10504zDvJGp','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','xBegU','uefXi','game','match','230KnBnCc','addCommand','fegqj','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','getPro','WbbRN','done','jyVKc','aliases','mustBeInMakaProject','ukPlz','MuRnC','vhpEF','_handler','existsSync','gCMyH','zMPKm','QXnUH','apply','No\x20usage\x20provided.','205256PPprTS','bright','filter','TrHaf','throw','Command\x20requires\x20a\x20name','minArgLength','splice','LrccI','luUYb','AEwrE','maxArgLength','ZpVbf','validateMakaProject','gYzqj','call','win32','6650808JKGqpq','2509432xocSUk','Command.create\x20requires\x20some\x20options!','sOJmY','next','validateParams','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20command','CBUDk','WSdzN','keys','espaD','trialExpirationDate','notice','vYJQP','number','create','IpUtj','fsi','maxOptsLength','Please\x20run\x20\x22maka\x20install\x20meteor\x22','AppData','findCommand','murder','runSubCommand','Invalid\x20options:\x20','forEach','575939QnBDnV','roYnW','run','zkWfJ','Too\x20few\x20arguments','Too\x20many\x20options','_commands','36vENhVD','fCCQd','Command\x20requires\x20a\x20handler\x20function','Local','__awaiter','findProjectDirectory','FHEfC','toString','name','invoke','(((.+)+)+)+$','FyTHa','domainLicense','Command\x20not\x20found','No\x20aliases','error','500814VLjmJK','help','There\x20is\x20no\x20Meteor\x20application\x20here','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','1665345VulApR','parent','exit','GdgWS','proCommands','findSubCommand','deploy','Command.create\x20requires\x20a\x20handler\x20function!','addCommand\x20requires\x20a\x20Command\x20instance','No\x20description\x20provided.','trialActive','To\x20use\x20this\x20command,\x20\x22','description','find','sort','includes','nZvRJ','GWhlA','Name','To\x20use\x20these\x20pro\x20flags,\x20\x22','options','gFtyE','search','TFkzw','join','Too\x20few\x20options','Commands:','.meteor','qdPtV','value','Missing\x20required\x20option:\x20','function','ujHgD','validateMeteorInstall','WZdDy','YvaeF','bKNYN','CqSfT','Trial\x20License\x20Expires:\x20','Too\x20many\x20arguments','147RYmnlD','push','AEUbu'];a0c=function(){return ak;};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 X=a0S;super();if(!a)throw new Error(X(0x182));if(!a['name'])throw new Error(X(0x1a6));if(typeof b!=='function')throw new Error(X(0x1d5));this[X(0x167)]=Object['assign']({},a),this[X(0x1db)]=this[X(0x167)]['name'],this[X(0x1d2)]=[],this[X(0x19a)]=b[X(0x17e)](this);}static[a0S(0x1c1)](a,b,c){const Y=a0S;var d;if(!a)throw new Error(Y(0x1b4));if(typeof b!==Y(0x172)){if(Y(0x177)!==Y(0x1d9))throw new Error(Y(0x1ee));else d[Y(0x1e2)](e),f[Y(0x1e9)](0x0);}let e=new Command(a,b);return c=c||a0M,Object['assign'](e,{'parent':(d=c===null||c===void 0x0?void 0x0:c[Y(0x167)])===null||d===void 0x0?void 0x0:d['name']}),c[Y(0x18e)](e),e;}[a0S(0x18c)](a){const Z=a0S;let b=[this[Z(0x1db)]][Z(0x17f)](this[Z(0x167)][Z(0x195)]||[]);return this[Z(0x1e8)]&&b[Z(0x17c)](this[Z(0x1e8)]),b[Z(0x1f6)](a);}[a0S(0x18e)](a){const a0=a0S;if(!(a instanceof Command)){if(a0(0x163)===a0(0x1b5)){if(!f[a0(0x1f6)](g)){k['error'](a0(0x1ca)+l);throw new m();}}else throw new Error(a0(0x1ef));}this[a0(0x1d2)][a0(0x17c)](a);}[a0S(0x1ae)](){const a1=a0S,a=this[a1(0x1c3)][a1(0x1d8)]();return a!==![]?!![]:![];}[a0S(0x174)](){const a2=a0S;let a=a0I[a2(0x16b)](homeDir,a2(0x16e));const b=process['platform']===a2(0x1b1);if(b){a=a0I[a2(0x16b)](homeDir,a2(0x1c6),a2(0x1d6),a2(0x16e));if(!a0K['existsSync'](a)){if(a2(0x1de)===a2(0x1ea))throw new b();else return![];}}else{if(!a0K[a2(0x19b)](a))return![];}return!![];}['validateMakaSubscription'](a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const a3=a0d;try{if('ujHgD'!==a3(0x173)){if(d[a3(0x183)]>=this['options'][a3(0x1ac)]){g[a3(0x1e2)]('Too\x20many\x20arguments');throw new h();}}else{const d=this[a3(0x1c7)](a[0x0]);if(d){if(a3(0x1ad)!==a3(0x1ad))throw'Command\x20not\x20found';else{const g=(d===null||d===void 0x0?void 0x0:d[a3(0x1db)])||a[0x0],h=(d===null||d===void 0x0?void 0x0:d['parent'])||'',i=a[0x0],j=Object[a3(0x1bb)](b),k=yield this['fsi']['getPro']();if(!k){if('tugRs'===a3(0x1cf))throw new b(a3(0x1ee));else Log['error'](a3(0x1e6)),process[a3(0x1e9)](0x1);}const l=(k===null||k===void 0x0?void 0x0:k[a3(0x1eb)][a3(0x1f6)](g))||(k===null||k===void 0x0?void 0x0:k[a3(0x1eb)]['includes'](h)),m=!(k===null||k===void 0x0?void 0x0:k['roles'][a3(0x1f6)]('singleLicense'))&&!(k===null||k===void 0x0?void 0x0:k['roles'][a3(0x1f6)](a3(0x1df)))&&!(k===null||k===void 0x0?void 0x0:k[a3(0x1f1)]);if(l&&m){if(a3(0x164)!==a3(0x18a))throw'To\x20use\x20this\x20command,\x20\x22'+a[0x0]+'\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27';else this[a3(0x1d2)]['length']>0x0&&g[a3(0x1e4)]&&(m[a3(0x1be)]('Commands:'),this[a3(0x184)](this['_commands'])),i[a3(0x180)](j,k,l);}if(j[a3(0x183)]>0x0){const p=k===null||k===void 0x0?void 0x0:k['proFlags'][a3(0x1a3)](q=>j['includes'](q));if(p&&p[a3(0x183)]>0x0&&m)throw a3(0x166)+(p===null||p===void 0x0?void 0x0:p[a3(0x16b)](',\x20'))+a3(0x190);}if(i===a3(0x1ed)){const q=yield this['fsi'][a3(0x191)](),r=q===null||q===void 0x0?void 0x0:q[a3(0x1eb)][a3(0x1f6)](a[0x0]+'\x20'+a[0x1]);if(r&&m)throw a3(0x1f2)+a[0x0]+a3(0x190);}(k===null||k===void 0x0?void 0x0:k['trialActive'])&&Log[a3(0x1be)](a3(0x179)+k[a3(0x1bd)][a3(0x186)]('T')[0x0]);}}}}catch(s){if(a3(0x1c2)!=='IpUtj')b[a3(0x1be)]('Commands:'),this['tableList'](this[a3(0x1d2)]);else throw s;}});}[a0S(0x1b7)](a,b,c){const a4=a0S,{usage:d,requiredOpts:requiredOpts=[],description:e,examples:f}=c;let {validOpts:validOpts=[]}=c;const g=Object[a4(0x1bb)](b);if((requiredOpts===null||requiredOpts===void 0x0?void 0x0:requiredOpts[a4(0x183)])>0x0){if(g['length']===0x0){if(a4(0x18f)!==a4(0x18f)){c[a4(0x1e2)](a4(0x1d1));throw new d();}else{Log[a4(0x1e2)]('Missing\x20required\x20options\x20'+requiredOpts['join'](',\x20'));throw new UsageError();}}requiredOpts[a4(0x1cb)](i=>{const a5=a4;if(!g[a5(0x1f6)](i)){if(a5(0x17d)===a5(0x17d)){Log[a5(0x1e2)]('Missing\x20required\x20option:\x20'+i);throw new UsageError();}else{const k=g?function(){const a6=a5;if(k){const u=q[a6(0x19f)](r,arguments);return s=null,u;}}:function(){};return l=![],k;}}});}validOpts=validOpts[a4(0x17f)](requiredOpts),(validOpts===null||validOpts===void 0x0?void 0x0:validOpts[a4(0x183)])>0x0&&(validOpts[a4(0x17c)](a4(0x1e4)),g[a4(0x1cb)](i=>{const a7=a4;if(a7(0x19d)===a7(0x19d)){if(!validOpts['includes'](i)){Log['error']('Invalid\x20options:\x20'+i);throw new UsageError();}}else throw new b(a7(0x1d5));}));}[a0S(0x1ce)](a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const a8=a0d;try{if(a8(0x16a)===a8(0x16a)){a=a||[],b=b||{};try{yield this['validateMakaSubscription'](a,b);}catch(c){Log[a8(0x1e2)](c),process[a8(0x1e9)](0x0);}yield this[a8(0x1dc)](a,b);}else throw c[a8(0x1e2)](d);}catch(f){a8(0x194)!==a8(0x1bc)?process[a8(0x1e9)](0x1):b[a8(0x1e9)](0x1);}});}[a0S(0x1dc)](a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const a9=a0d,{usage:usage='',description:description='',examples:examples=[]}=this[a9(0x167)];this[a9(0x1b7)](a,b,this[a9(0x167)]);try{if(this[a9(0x167)][a9(0x196)]){if('BlPKv'===a9(0x1a4))d(e[a9(0x1a5)](f));else{const d=this[a9(0x1ae)]();if(!d){if('WSdzN'!==a9(0x1ba)){if(i['length']===0x0){q[a9(0x1e2)]('Missing\x20required\x20options\x20'+r[a9(0x16b)](',\x20'));throw new s();}m['forEach'](z=>{const aa=a9;if(!t[aa(0x1f6)](z)){w['error']('Missing\x20required\x20option:\x20'+z);throw new x();}});}else throw new MustBeInProjectError();}}}if(this[a9(0x167)]['mustHaveMeteorInstalled']){if(a9(0x176)===a9(0x176)){const g=this[a9(0x174)]();if(!g)throw new NoMeteorFoundError();}else{d[a9(0x1e2)](a9(0x1ca)+e);throw new f();}}if(typeof this['options'][a9(0x1a7)]==='number'){if(a[a9(0x183)]<this[a9(0x167)][a9(0x1a7)]){if('GkRKV'!=='GkRKV'){d[a9(0x1e2)](a9(0x171)+e);throw new f();}else{Log['error'](a9(0x1d0));throw new UsageError();}}}if(typeof this['options'][a9(0x1ac)]===a9(0x1c0)){if(a['length']>=this[a9(0x167)][a9(0x1ac)]){if(a9(0x178)!==a9(0x1ab)){Log[a9(0x1e2)](a9(0x17a));throw new UsageError();}else g[a9(0x1db)]!==a9(0x1c8)&&h['name']!==a9(0x18b)&&m['push']([n[a9(0x1db)],o[a9(0x195)](),p['description']()]);}}if(typeof this[a9(0x167)][a9(0x185)]===a9(0x1c0)){if(a9(0x1a9)==='LrccI'){if(Object[a9(0x1bb)](b)[a9(0x183)]<this[a9(0x167)][a9(0x185)]){if(a9(0x19e)===a9(0x1b9))return c[a9(0x1da)]()[a9(0x169)](a9(0x1dd))[a9(0x1da)]()['constructor'](d)['search'](a9(0x1dd));else{Log[a9(0x1e2)](a9(0x16c));throw new UsageError();}}}else{c[a9(0x1e2)](a9(0x1d0));throw new d();}}if(typeof this['options'][a9(0x1c4)]==='number'){if(Object[a9(0x1bb)](b)[a9(0x183)]>=this['options']['maxOptsLength']){Log[a9(0x1e2)](a9(0x1d1));throw new UsageError();}}if((a[0x0]===_prevCmd||a[a9(0x183)]===0x0)&&b['help']){if(a9(0x198)===a9(0x16f))try{i(j[a9(0x1b6)](k));}catch(o){m(o);}else throw new UsageError();}_prevCmd=a[0x0],yield this[a9(0x19a)][a9(0x1b0)](this,a,b);}catch(n){if(a9(0x1bf)!==a9(0x1bf))return;else{if(n instanceof UsageError){if(this[a9(0x1d2)]['length']>0x0&&b[a9(0x1e4)]){if(a9(0x1cd)!==a9(0x1cd))throw new b(a9(0x1a6));else Log[a9(0x1be)](a9(0x16d)),this[a9(0x184)](this[a9(0x1d2)]);}Log[a9(0x180)](description,examples,usage);}else{if(n instanceof MustBeInProjectError)Log['error'](a9(0x1b8)),Log['usage'](description,examples,usage);else{if(n instanceof NoMeteorFoundError)Log['error'](a9(0x188)),Log[a9(0x1be)](a9(0x1c5)),Log[a9(0x180)](description,examples,usage);else{if(n instanceof NoMeteorAppFoundError){if('SUwPU'==='SUwPU')Log[a9(0x1e2)](a9(0x1e5)),Log[a9(0x180)](description,examples,usage);else throw b;}else throw n;}}}process[a9(0x1e9)](0x1);}}});}[a0S(0x184)](a){const ab=a0S,b=new a0L({});b[ab(0x17c)]([ab(0x165),'Alias','Description']),a[ab(0x1f5)]()['forEach'](c=>{const ac=ab;if(ac(0x1d4)===ac(0x1d4))c['name']!==ac(0x1c8)&&c[ac(0x1db)]!==ac(0x18b)&&b[ac(0x17c)]([c[ac(0x1db)],c[ac(0x195)](),c[ac(0x1f3)]()]);else throw ac(0x166)+(d===null||e===void 0x0?void 0x0:f['join'](',\x20'))+ac(0x190);}),Log[ab(0x1a2)](b['toString']());}['findCommand'](a){const ad=a0S;return this[ad(0x1d2)][ad(0x1f4)](b=>b['match'](a));}[a0S(0x1ec)](a){const ae=a0S;let b=a===null||a===void 0x0?void 0x0:a[ae(0x186)](':');if(b){if(ae(0x1aa)!==ae(0x1aa)){if(!c['existsSync'](d))return![];}else return a=b[0x0],this[ae(0x1c7)](a);}else{if('WZdDy'===ae(0x175))return;else{var e;if(!p)throw new E(ae(0x1b4));if(typeof r!==ae(0x172))throw new F(ae(0x1ee));let f=new t(u,v);return w=x||y,z['assign'](f,{'parent':(e=A===null||B===void 0x0?void 0x0:C[ae(0x167)])===null||e===void 0x0?void 0x0:e[ae(0x1db)]}),D[ae(0x18e)](f),f;}}}[a0S(0x1c9)](a,b,c){return __awaiter(this,void 0x0,void 0x0,function*(){const af=a0d;try{if(af(0x1af)!==af(0x192)){let d=a[af(0x186)](':');a=d[0x0];let f=d[0x1];f&&b[af(0x1a8)](0x0,0x0,f);let g=this[af(0x1c7)](a);if(g)yield g[af(0x1ce)](b,c);else{if(af(0x189)==='xBegU')throw af(0x1e0);else f[af(0x1e2)](af(0x1b8)),g[af(0x180)](h,i,j);}}else{const j=d[af(0x19f)](e,arguments);return f=null,j;}}catch(j){throw Log[af(0x1e2)](j);}});}[a0S(0x1f3)](){const ag=a0S;return this[ag(0x167)]['description']||ag(0x1f0);}[a0S(0x180)](){const ah=a0S;return this[ah(0x167)][ah(0x180)]||ah(0x1a0);}[a0S(0x181)](){const ai=a0S;return this[ai(0x167)]['examples']||[];}['aliases'](){const aj=a0S;return this[aj(0x167)][aj(0x195)]||aj(0x1e1);}}
1
+ const a0Q=a0d;(function(a,b){const N=a0d,c=a();while(!![]){try{const d=parseInt(N(0x1cd))/0x1+parseInt(N(0x1e4))/0x2*(-parseInt(N(0x196))/0x3)+-parseInt(N(0x1d9))/0x4+parseInt(N(0x1e5))/0x5+-parseInt(N(0x172))/0x6+parseInt(N(0x1c0))/0x7+parseInt(N(0x1bd))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a0c,0x557c7));const a0b=(function(){let a=!![];return function(b,c){const d=a?function(){const O=a0d;if(c){const e=c[O(0x17f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a0a=a0b(this,function(){const P=a0d;return a0a[P(0x185)]()[P(0x199)]('(((.+)+)+)+$')[P(0x185)]()[P(0x1d8)](a0a)[P(0x199)](P(0x170));});a0a();var __awaiter=this&&this[a0Q(0x1ae)]||function(a,b,c,d){function e(f){const R=a0d;if(R(0x1dd)!==R(0x1dd)){f=g['join'](h,R(0x16f),R(0x1a9),R(0x1c8));if(!i[R(0x1a8)](j))return![];}else return f instanceof c?f:new c(function(h){const S=R;S(0x150)===S(0x1e7)?e[S(0x175)]([f['name'],g[S(0x1e2)](),h[S(0x159)]()]):h(f);});}return new(c||(c=Promise))(function(f,g){const W=a0d;function h(k){const T=a0d;try{if(T(0x18c)!=='gRVgE')j(d[T(0x1d7)](k));else throw new b(T(0x1df));}catch(m){T(0x1bc)!=='HjjEM'?b[T(0x1c6)](0x1):g(m);}}function i(k){const U=a0d;if(U(0x1d3)===U(0x19e))throw'To\x20use\x20this\x20command,\x20\x22'+b[0x0]+U(0x176);else try{if(U(0x190)!=='hUvSA')j(d[U(0x181)](k));else{d['error'](U(0x19c)+e);throw new f();}}catch(n){if(U(0x1c2)===U(0x1d1)){if(n[U(0x166)](f)[U(0x1db)]>=this['options'][U(0x1a5)]){i[U(0x168)](U(0x184));throw new j();}}else g(n);}}function j(k){const V=a0d;if(V(0x1b1)===V(0x1b1))k[V(0x189)]?f(k[V(0x171)]):e(k[V(0x171)])[V(0x1a3)](h,i);else{if(!f['includes'](g)){k[V(0x168)]('Missing\x20required\x20option:\x20'+l);throw new m();}}}j((d=d[W(0x17f)](a,b||[]))['next']());});};import a0I from'path';function a0c(){const ak=['18418xVklEE','filter','KYOYg','help','MgvrB','run','mksuH','getPro','ZEpOa','usage','next','constructor','2702184hIbOSM','ldkEj','length','KOVBa','OKCTV','ODdbD','Command\x20requires\x20a\x20handler\x20function','invoke','addCommand','aliases','LGgit','520XKUIoq','1493860urmFEx','trialExpirationDate','xprnF','sort','gixbk','assign','relqr','trialActive','ncVsI','call','domainLicense','Commands:','Missing\x20required\x20option:\x20','description','forEach','findProjectDirectory','Tnudj','game','Please\x20run\x20\x22maka\x20install\x20meteor\x22','NvhNQ','No\x20aliases','examples','NVlQB','win32','qxxKP','SwJii','keys','rUhAN','error','vNGMJ','Missing\x20required\x20options\x20','OsPWw','dVsbH','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','There\x20is\x20no\x20Meteor\x20application\x20here','AppData','(((.+)+)+)+$','value','2561676uZszVB','proCommands','parent','push','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','JkBwN','nBWuR','Command.create\x20requires\x20some\x20options!','xnkXm','validateMeteorInstall','DphuY','notice','includes','apply','Too\x20many\x20arguments','throw','Tlkam','Command\x20requires\x20a\x20name','Too\x20many\x20options','toString','EViiQ','URVjX','mustBeInMakaProject','done','findSubCommand','_handler','CsyFO','number','QRhrD','split','UZgqX','options','dSHuI','CcnyL','Too\x20few\x20options','aNcjG','5277IKeijo','proFlags','roles','search','addCommand\x20requires\x20a\x20Command\x20instance','SbQUb','Invalid\x20options:\x20','bright','hSVjR','minOptsLength','deploy','name','find','then','ejWVl','maxOptsLength','_commands','match','existsSync','Local','maxArgLength','concat','DGCNq','To\x20use\x20this\x20command,\x20\x22','__awaiter','findCommand','oLHhY','ypdaU','cELUx','validateMakaProject','No\x20description\x20provided.','Command\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','murder','function','tpjIG','To\x20use\x20these\x20pro\x20flags,\x20\x22','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','platform','HjjEM','9389032GtMQdl','Too\x20few\x20arguments','minArgLength','2934148WngaeI','join','qaLXq','No\x20usage\x20provided.','Name','LsGwN','exit','validateParams','.meteor','splice','validateMakaSubscription','cLBwp','fsi'];a0c=function(){return ak;};return a0c();}import a0J from'os';import a0K from'fs';const homeDir=a0J['homedir']();import a0L from'cli-table';import a0M from'./commands/maka.cmd.js';import{Log}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError}from'./error.js';let _prevCmd='';function a0d(a,b){const c=a0c();return a0d=function(d,e){d=d-0x14f;let f=c[d];return f;},a0d(a,b);}export class Command extends Tool{constructor(a,b){const X=a0Q;super();if(!a)throw new Error(X(0x1b5));if(!a['name'])throw new Error(X(0x183));if(typeof b!==X(0x1b7)){if('CcnyL'===X(0x193))throw new Error(X(0x1df));else g['error'](X(0x16d)),h[X(0x17d)](X(0x15e)),i[X(0x1d6)](j,k,l);}this['options']=Object['assign']({},a),this['name']=this[X(0x191)][X(0x1a1)],this[X(0x1a6)]=[],this[X(0x18b)]=b['bind'](this);}static['create'](a,b,c){const Y=a0Q;var d;if(!a)throw new Error(Y(0x179));if(typeof b!==Y(0x1b7))throw new Error('Command.create\x20requires\x20a\x20handler\x20function!');let e=new Command(a,b);return c=c||a0M,Object[Y(0x151)](e,{'parent':(d=c===null||c===void 0x0?void 0x0:c['options'])===null||d===void 0x0?void 0x0:d['name']}),c[Y(0x1e1)](e),e;}['match'](a){const Z=a0Q;let b=[this[Z(0x1a1)]]['concat'](this['options'][Z(0x1e2)]||[]);return this['parent']&&(Z(0x167)!==Z(0x167)?c(d):b[Z(0x175)](this['parent'])),b[Z(0x17e)](a);}[a0Q(0x1e1)](a){const a0=a0Q;if(!(a instanceof Command))throw new Error(a0(0x19a));this[a0(0x1a6)]['push'](a);}[a0Q(0x1b3)](){const a1=a0Q,a=this[a1(0x1cc)][a1(0x15b)]();return a!==![]?!![]:![];}['validateMeteorInstall'](){const a2=a0Q;let a=a0I['join'](homeDir,a2(0x1c8));const b=process[a2(0x1bb)]===a2(0x163);if(b){a=a0I[a2(0x1c1)](homeDir,a2(0x16f),a2(0x1a9),a2(0x1c8));if(!a0K[a2(0x1a8)](a)){if(a2(0x1de)===a2(0x1de))return![];else d(e['throw'](f));}}else{if(!a0K['existsSync'](a))return![];}return!![];}['validateMakaSubscription'](a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const a3=a0d;try{if(a3(0x17a)!=='Eehmn'){const c=this[a3(0x1af)](a[0x0]);if(c){if('KOVBa'===a3(0x1dc)){const d=(c===null||c===void 0x0?void 0x0:c[a3(0x1a1)])||a[0x0],f=(c===null||c===void 0x0?void 0x0:c[a3(0x174)])||'',g=a[0x0],h=Object[a3(0x166)](b),i=yield this[a3(0x1cc)][a3(0x1d4)]();if(!i){if('rCKQf'==='rCKQf')Log[a3(0x168)](a3(0x1ba)),process[a3(0x1c6)](0x1);else{if(e){const m=i[a3(0x17f)](j,arguments);return k=null,m;}}}const j=(i===null||i===void 0x0?void 0x0:i['proCommands'][a3(0x17e)](d))||(i===null||i===void 0x0?void 0x0:i[a3(0x173)][a3(0x17e)](f)),k=!(i===null||i===void 0x0?void 0x0:i['roles']['includes']('singleLicense'))&&!(i===null||i===void 0x0?void 0x0:i[a3(0x198)][a3(0x17e)](a3(0x156)))&&!(i===null||i===void 0x0?void 0x0:i[a3(0x153)]);if(j&&k){if(a3(0x18e)===a3(0x1b2))throw new b();else throw'To\x20use\x20this\x20command,\x20\x22'+a[0x0]+a3(0x176);}if(h[a3(0x1db)]>0x0){const n=i===null||i===void 0x0?void 0x0:i[a3(0x197)][a3(0x1ce)](o=>h[a3(0x17e)](o));if(n&&n[a3(0x1db)]>0x0&&k){if(a3(0x16c)!==a3(0x16c))return![];else throw a3(0x1b9)+(n===null||n===void 0x0?void 0x0:n[a3(0x1c1)](',\x20'))+'\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27';}}if(g===a3(0x1a0)){if(a3(0x15f)===a3(0x186))h['done']?i(j[a3(0x171)]):k(l[a3(0x171)])[a3(0x1a3)](m,n);else{const q=yield this['fsi'][a3(0x1d4)](),r=q===null||q===void 0x0?void 0x0:q[a3(0x173)][a3(0x17e)](a[0x0]+'\x20'+a[0x1]);if(r&&k)throw a3(0x1ad)+a[0x0]+a3(0x176);}}(i===null||i===void 0x0?void 0x0:i[a3(0x153)])&&Log[a3(0x17d)]('Trial\x20License\x20Expires:\x20'+i[a3(0x1e6)]['split']('T')[0x0]);}else throw new b(a3(0x179));}}else{d['error'](a3(0x16a)+e[a3(0x1c1)](',\x20'));throw new f();}}catch(u){if('NVlQB'!==a3(0x162))return this[a3(0x191)][a3(0x1e2)]||a3(0x160);else throw u;}});}['validateParams'](a,b,c){const a4=a0Q,{usage:d,requiredOpts:requiredOpts=[],description:e,examples:f}=c;let {validOpts:validOpts=[]}=c;const g=Object[a4(0x166)](b);if((requiredOpts===null||requiredOpts===void 0x0?void 0x0:requiredOpts[a4(0x1db)])>0x0){if(g[a4(0x1db)]===0x0){Log[a4(0x168)](a4(0x16a)+requiredOpts[a4(0x1c1)](',\x20'));throw new UsageError();}requiredOpts[a4(0x15a)](h=>{const a5=a4;if(!g[a5(0x17e)](h)){if(a5(0x17c)===a5(0x17c)){Log[a5(0x168)](a5(0x158)+h);throw new UsageError();}else{if(!c[a5(0x1a8)](d))return![];}}});}validOpts=validOpts[a4(0x1ab)](requiredOpts);if((validOpts===null||validOpts===void 0x0?void 0x0:validOpts[a4(0x1db)])>0x0){if(a4(0x1b0)!==a4(0x15c))validOpts[a4(0x175)]('help'),g[a4(0x15a)](h=>{const a6=a4;if(!validOpts[a6(0x17e)](h)){if(a6(0x1d5)!==a6(0x1d5))return this[a6(0x191)][a6(0x1d6)]||a6(0x1c3);else{Log['error'](a6(0x19c)+h);throw new UsageError();}}});else throw new b('Command\x20requires\x20first\x20param\x20to\x20be\x20an\x20object');}}[a0Q(0x1d2)](a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const a7=a0d;try{if(a7(0x1c5)===a7(0x16b))c[a7(0x168)]('License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.'),d[a7(0x1c6)](0x1);else{a=a||[],b=b||{};try{yield this[a7(0x1ca)](a,b);}catch(d){Log['error'](d),process[a7(0x1c6)](0x0);}yield this[a7(0x1e0)](a,b);}}catch(f){if(a7(0x154)===a7(0x154))process[a7(0x1c6)](0x1);else{if(!f[a7(0x17e)](g)){k[a7(0x168)](a7(0x19c)+l);throw new m();}}}});}[a0Q(0x1e0)](a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const a8=a0d,{usage:usage='',description:description='',examples:examples=[]}=this[a8(0x191)];this[a8(0x1c7)](a,b,this[a8(0x191)]);try{if(this[a8(0x191)][a8(0x188)]){if(a8(0x1cb)==='rBZYG')throw new b();else{const d=this[a8(0x1b3)]();if(!d)throw new MustBeInProjectError();}}if(this[a8(0x191)]['mustHaveMeteorInstalled']){const f=this[a8(0x17b)]();if(!f)throw new NoMeteorFoundError();}if(typeof this[a8(0x191)][a8(0x1bf)]==='number'){if(a[a8(0x1db)]<this[a8(0x191)]['minArgLength']){if(a8(0x19b)==='AJDvi'){if(i[a8(0x1db)]===0x0){q[a8(0x168)](a8(0x16a)+r[a8(0x1c1)](',\x20'));throw new s();}m[a8(0x15a)](z=>{const a9=a8;if(!t['includes'](z)){w[a9(0x168)](a9(0x158)+z);throw new x();}});}else{Log[a8(0x168)](a8(0x1be));throw new UsageError();}}}if(typeof this['options'][a8(0x1aa)]===a8(0x18d)){if(a8(0x1e3)!==a8(0x1b8)){if(a[a8(0x1db)]>=this[a8(0x191)][a8(0x1aa)]){if(a8(0x152)!==a8(0x152))f[a8(0x175)](a8(0x1d0)),g[a8(0x15a)](q=>{const aa=a8;if(!k[aa(0x17e)](q)){n['error'](aa(0x19c)+q);throw new o();}});else{Log[a8(0x168)](a8(0x180));throw new UsageError();}}}else c(d);}if(typeof this['options'][a8(0x19f)]===a8(0x18d)){if(Object[a8(0x166)](b)[a8(0x1db)]<this['options']['minOptsLength']){if('TeZIk'!==a8(0x1da)){Log['error'](a8(0x194));throw new UsageError();}else{c[a8(0x168)](a8(0x1be));throw new d();}}}if(typeof this[a8(0x191)]['maxOptsLength']==='number'){if(Object[a8(0x166)](b)[a8(0x1db)]>=this[a8(0x191)][a8(0x1a5)]){if(a8(0x165)!==a8(0x1cf)){Log[a8(0x168)](a8(0x184));throw new UsageError();}else return this[a8(0x1a6)][a8(0x1a2)](l=>l[a8(0x1a7)](c));}}if((a[0x0]===_prevCmd||a['length']===0x0)&&b[a8(0x1d0)])throw new UsageError();_prevCmd=a[0x0],yield this['_handler'][a8(0x155)](this,a,b);}catch(l){if(l instanceof UsageError)this[a8(0x1a6)][a8(0x1db)]>0x0&&b[a8(0x1d0)]&&(Log[a8(0x17d)](a8(0x157)),this['tableList'](this[a8(0x1a6)])),Log[a8(0x1d6)](description,examples,usage);else{if(l instanceof MustBeInProjectError)a8(0x169)!==a8(0x169)?c[a8(0x17d)]('Trial\x20License\x20Expires:\x20'+d['trialExpirationDate'][a8(0x18f)]('T')[0x0]):(Log['error']('You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20command'),Log[a8(0x1d6)](description,examples,usage));else{if(l instanceof NoMeteorFoundError)Log['error'](a8(0x16d)),Log[a8(0x17d)](a8(0x15e)),Log['usage'](description,examples,usage);else{if(l instanceof NoMeteorAppFoundError){if(a8(0x1a4)!==a8(0x1a4)){c[a8(0x168)](a8(0x194));throw new d();}else Log[a8(0x168)](a8(0x16e)),Log[a8(0x1d6)](description,examples,usage);}else throw l;}}}process[a8(0x1c6)](0x1);}});}['tableList'](a){const ab=a0Q,b=new a0L({});b[ab(0x175)]([ab(0x1c4),'Alias','Description']),a[ab(0x14f)]()[ab(0x15a)](c=>{const ac=ab;if(ac(0x182)!==ac(0x182))return;else c['name']!==ac(0x1b6)&&c[ac(0x1a1)]!==ac(0x15d)&&b[ac(0x175)]([c[ac(0x1a1)],c[ac(0x1e2)](),c['description']()]);}),Log[ab(0x19d)](b[ab(0x185)]());}[a0Q(0x1af)](a){const ad=a0Q;return this[ad(0x1a6)]['find'](b=>b[ad(0x1a7)](a));}[a0Q(0x18a)](a){const ae=a0Q;let b=a===null||a===void 0x0?void 0x0:a['split'](':');if(b){if(ae(0x164)!==ae(0x164))throw c[ae(0x168)](d);else return a=b[0x0],this[ae(0x1af)](a);}else return;}['runSubCommand'](a,b,c){return __awaiter(this,void 0x0,void 0x0,function*(){const af=a0d;try{if(af(0x178)==='wAqoI'){const f=d['apply'](e,arguments);return f=null,f;}else{let f=a[af(0x18f)](':');a=f[0x0];let g=f[0x1];if(g){if(af(0x195)!==af(0x192))b[af(0x1c9)](0x0,0x0,g);else try{i(j['throw'](k));}catch(j){m(j);}}let h=this[af(0x1af)](a);if(h){if(af(0x177)===af(0x177))yield h['run'](b,c);else{if(d[af(0x1db)]>=this[af(0x191)][af(0x1aa)]){g[af(0x168)](af(0x180));throw new h();}}}else{if(af(0x1ac)!==af(0x187))throw'Command\x20not\x20found';else throw b;}}}catch(l){throw Log[af(0x168)](l);}});}['description'](){const ag=a0Q;return this[ag(0x191)][ag(0x159)]||ag(0x1b4);}[a0Q(0x1d6)](){const ah=a0Q;return this['options']['usage']||ah(0x1c3);}[a0Q(0x161)](){const ai=a0Q;return this[ai(0x191)]['examples']||[];}[a0Q(0x1e2)](){const aj=a0Q;return this[aj(0x191)]['aliases']||aj(0x160);}}
@@ -1 +1 @@
1
- function a1c(){var w=['2091114TxVmhY','search','1132660zqtUIX','constructor','59635BSgfRP','3794768QnXKIn','(((.+)+)+)+$','2bWzuwN','346338IJxUDK','825819VVQtDA','66sAMURc','2272312PAZVMa'];a1c=function(){return w;};return a1c();}(function(a,b){var u=a1d,c=a();while(!![]){try{var d=parseInt(u(0x15a))/0x1*(-parseInt(u(0x15b))/0x2)+-parseInt(u(0x15c))/0x3+-parseInt(u(0x155))/0x4+parseInt(u(0x157))/0x5*(parseInt(u(0x15d))/0x6)+parseInt(u(0x15e))/0x7+parseInt(u(0x158))/0x8+parseInt(u(0x15f))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a1c,0x3eec1));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['toString']()['search'](v(0x159))['toString']()[v(0x156)](a1a)[v(0x154)](v(0x159));});a1a();import'./aws/_index.js';import'./set/_index.js';import'./get/_index.js';import'./game/_index.js';import'./build/_index.js';import'./create.js';import'./debug.js';import'./deploy.js';import'./generate.js';import'./help.js';import'./install.js';import'./login.js';import'./logout.js';import'./logs.js';import'./maka.cmd.js';import'./reconfig.js';import'./run.js';import'./ssh.js';import'./ssl.js';import'./test.js';function a1d(a,b){var c=a1c();return a1d=function(d,e){d=d-0x154;var f=c[d];return f;},a1d(a,b);}import'./version.js';import'./murder.js';
1
+ (function(a,b){var u=a1d,c=a();while(!![]){try{var d=parseInt(u(0x8e))/0x1+-parseInt(u(0x84))/0x2*(-parseInt(u(0x8b))/0x3)+parseInt(u(0x8a))/0x4*(-parseInt(u(0x83))/0x5)+parseInt(u(0x90))/0x6+parseInt(u(0x86))/0x7*(parseInt(u(0x88))/0x8)+parseInt(u(0x85))/0x9+-parseInt(u(0x8d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a1c,0xb1281));var a1b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a1d;if(c){var e=c[v(0x87)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a1a=a1b(this,function(){var w=a1d;return a1a[w(0x8c)]()[w(0x89)](w(0x8f))[w(0x8c)]()['constructor'](a1a)[w(0x89)](w(0x8f));});a1a();import'./aws/_index.js';import'./set/_index.js';import'./get/_index.js';import'./game/_index.js';import'./build/_index.js';function a1d(a,b){var c=a1c();return a1d=function(d,e){d=d-0x83;var f=c[d];return f;},a1d(a,b);}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';function a1c(){var x=['8PXVysW','6156639uOBzbp','21mSgjMh','apply','1127512hxTTcq','search','36RaTpQI','866559ZSJTuj','toString','29460100QXAYyL','1152296eZwcnx','(((.+)+)+)+$','4211664lPldiF','247165pzNjGG'];a1c=function(){return x;};return a1c();}import'./murder.js';
@@ -1 +1 @@
1
- (function(a,b){var u=a2d,c=a();while(!![]){try{var d=-parseInt(u(0xa1))/0x1+-parseInt(u(0x9f))/0x2+parseInt(u(0xa3))/0x3+parseInt(u(0x9b))/0x4*(-parseInt(u(0xa5))/0x5)+parseInt(u(0x9c))/0x6+parseInt(u(0xa4))/0x7+parseInt(u(0xa2))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a2c,0xbb355));var a2b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a2d;if(c){var e=c[v(0x9a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a2a=a2b(this,function(){var w=a2d;return a2a[w(0x9e)]()[w(0xa6)]('(((.+)+)+)+$')[w(0x9e)]()[w(0x9d)](a2a)[w(0xa6)](w(0xa0));});a2a();function a2d(a,b){var c=a2c();return a2d=function(d,e){d=d-0x9a;var f=c[d];return f;},a2d(a,b);}function a2c(){var x=['(((.+)+)+)+$','615595XSasdP','4623648TzdFeP','1129869lZvaGx','5433470YcIuEP','25VIiDZT','search','apply','753476KsQKlB','5467986lVlUzX','constructor','toString','635750mPFOUI'];a2c=function(){return x;};return a2c();}import'./aws.command.js';import'./ci.sub.cmd.js';import'./ckp.sub.cmd.js';import'./csg.sub.cmd.js';import'./di.sub.cmd.js';import'./dks.sub.cmd.js';import'./rbi.sub.cmd.js';import'./sth.sub.cmd.js';import'./ti.sub.cmd.js';
1
+ (function(a,b){var u=a2d,c=a();while(!![]){try{var d=parseInt(u(0x17d))/0x1+parseInt(u(0x17c))/0x2+-parseInt(u(0x179))/0x3*(parseInt(u(0x178))/0x4)+parseInt(u(0x176))/0x5*(parseInt(u(0x17e))/0x6)+-parseInt(u(0x17a))/0x7*(-parseInt(u(0x177))/0x8)+parseInt(u(0x174))/0x9*(parseInt(u(0x180))/0xa)+parseInt(u(0x173))/0xb*(-parseInt(u(0x175))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a2c,0xdf9bb));var a2b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a2a=a2b(this,function(){var v=a2d;return a2a['toString']()['search'](v(0x172))[v(0x17b)]()['constructor'](a2a)[v(0x17f)](v(0x172));});a2a();import'./aws.command.js';import'./ci.sub.cmd.js';function a2d(a,b){var c=a2c();return a2d=function(d,e){d=d-0x172;var f=c[d];return f;},a2d(a,b);}function a2c(){var w=['search','1260ryCOsz','(((.+)+)+)+$','21197MYJnBj','6309hSHPoL','15528FyPYyI','115JJjILa','10517856EcbrQC','20mFjYzZ','91824tzbdYl','7tFbsbS','toString','1349564yLcivx','1296474jOGTFO','49086urSZCV'];a2c=function(){return w;};return a2c();}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';import'./sth.sub.cmd.js';import'./ti.sub.cmd.js';
@@ -1 +1 @@
1
- const a3z=a3d;function a3c(){const F=['aws','531158CDcYsB','1422iHDsAT','done','50255vFfDEm','next','search','39136sBtDYD','zsreW','Create,\x20view,\x20terminate\x20EC2\x20instances,\x20assign\x20key-pairs,\x20and\x20set\x20host\x20IPs.','qwFhg','sNSCC','error','11127ntXrHo','rYmAD','create','then','174PwUmdP','(((.+)+)+)+$','1081768YfbgIY','value','JYFAZ','__awaiter','maka\x20aws\x20<command>','5697220DIROJC','2906603hEjgkH','qaKZd','HiBzi','fwkZw','356UyrPiH','apply','imsuI','fGFAi','runSubCommand','findSubCommand'];a3c=function(){return F;};return a3c();}(function(a,b){const w=a3d,c=a();while(!![]){try{const d=parseInt(w(0x13d))/0x1+parseInt(w(0x12c))/0x2+parseInt(w(0x149))/0x3*(-parseInt(w(0x136))/0x4)+-parseInt(w(0x140))/0x5*(-parseInt(w(0x12a))/0x6)+-parseInt(w(0x132))/0x7+-parseInt(w(0x143))/0x8*(parseInt(w(0x13e))/0x9)+parseInt(w(0x131))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a3c,0x65501));const a3b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a3d;if(c){if('uhyZN'===x(0x144))d(e['throw'](f));else{const f=c[x(0x137)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a3a=a3b(this,function(){const y=a3d;return a3a['toString']()[y(0x142)](y(0x12b))['toString']()['constructor'](a3a)[y(0x142)](y(0x12b));});a3a();var __awaiter=this&&this[a3z(0x12f)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const D=a3d;function h(k){const A=a3d;if(A(0x134)===A(0x133)){const m=d['apply'](e,arguments);return f=null,m;}else try{j(d[A(0x141)](k));}catch(m){g(m);}}function i(k){const B=a3d;if(B(0x146)===B(0x138))this[B(0x13a)](d,e,f);else try{B(0x14a)!=='Skled'?j(d['throw'](k)):c(d);}catch(n){B(0x135)===B(0x147)?c(d):g(n);}}function j(k){const C=a3d;k[C(0x13f)]?f(k[C(0x12d)]):e(k['value'])[C(0x129)](h,i);}j((d=d[D(0x137)](a,b||[]))[D(0x141)]());});};import{Command}from'../../command.js';const AWSCommand=Command[a3z(0x128)]({'name':a3z(0x13c),'usage':a3z(0x130),'minArgLength':0x1,'description':a3z(0x145),'examples':['maka\x20aws:describe-instance','maka\x20aws:di']},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const E=a3d;if(E(0x139)!==E(0x139))return f instanceof g?h:new i(function(m){m(k);});else try{if(E(0x12e)==='JYFAZ'){let d=a[0x0],f=this[E(0x13b)](d);f&&this['runSubCommand'](d,a,b);}else c(d);}catch(h){console[E(0x148)](h),process['exit'](0x0);}});});function a3d(a,b){const c=a3c();return a3d=function(d,e){d=d-0x128;let f=c[d];return f;},a3d(a,b);}export default AWSCommand;
1
+ const a3F=a3d;(function(a,b){const w=a3d,c=a();while(!![]){try{const d=parseInt(w(0x10a))/0x1*(parseInt(w(0x107))/0x2)+parseInt(w(0x101))/0x3*(parseInt(w(0x109))/0x4)+-parseInt(w(0x10b))/0x5*(-parseInt(w(0xfd))/0x6)+-parseInt(w(0x104))/0x7+-parseInt(w(0x100))/0x8+-parseInt(w(0xed))/0x9+parseInt(w(0xff))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a3c,0xaece5));function a3d(a,b){const c=a3c();return a3d=function(d,e){d=d-0xec;let f=c[d];return f;},a3d(a,b);}const a3b=(function(){let a=!![];return function(b,c){const x=a3d;if(x(0x108)===x(0xf7))d(e[x(0xf8)](f));else{const e=a?function(){if(c){if('LLQGG'==='LLQGG'){const f=c['apply'](b,arguments);return c=null,f;}else c(d);}}:function(){};return a=![],e;}};}()),a3a=a3b(this,function(){const y=a3d;return a3a['toString']()['search'](y(0x10e))[y(0x10f)]()[y(0x103)](a3a)[y(0xf2)](y(0x10e));});a3a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){const z=a3d;if('xoLQh'==='xoLQh')return f instanceof c?f:new c(function(g){g(f);});else h['done']?i(j['value']):k(l[z(0xef)])['then'](m,n);}return new(c||(c=Promise))(function(f,g){const E=a3d;function h(k){const A=a3d;try{A(0xf3)===A(0xf0)?d(e['next'](f)):j(d['next'](k));}catch(m){g(m);}}function i(k){const B=a3d;try{if('HzrEF'==='HzrEF')j(d[B(0xf8)](k));else try{i(j[B(0xf8)](k));}catch(m){m(m);}}catch(m){g(m);}}function j(k){const C=a3d;if(C(0x10c)!==C(0x10c)){const n=g?function(){const D=C;if(n){const u=q[D(0xec)](r,arguments);return s=null,u;}}:function(){};return l=![],n;}else k[C(0xee)]?f(k[C(0xef)]):e(k['value'])['then'](h,i);}j((d=d['apply'](a,b||[]))[E(0xf4)]());});};import{Command}from'../../command.js';const AWSCommand=Command[a3F(0xfc)]({'name':a3F(0xfb),'usage':a3F(0xf9),'minArgLength':0x1,'description':a3F(0x105),'examples':[a3F(0xf6),a3F(0xfe)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const G=a3d;try{let c=a[0x0],d=this[G(0xfa)](c);d&&(G(0xf5)!=='uzPcF'?this[G(0x106)](c,a,b):c(d));}catch(g){if(G(0x102)!==G(0x102))try{i(j['next'](k));}catch(i){m(i);}else console[G(0xf1)](g),process[G(0x10d)](0x0);}});});export default AWSCommand;function a3c(){const H=['7197759WBcJre','done','value','SSxqa','error','search','PTpqe','next','MGOlb','maka\x20aws:describe-instance','CzdnI','throw','maka\x20aws\x20<command>','findSubCommand','aws','create','12hgKsnk','maka\x20aws:di','6442370BAPdnI','9996864RrldjK','44277rwyhgE','UANkt','constructor','8070755JJoYlK','Create,\x20view,\x20terminate\x20EC2\x20instances,\x20assign\x20key-pairs,\x20and\x20set\x20host\x20IPs.','runSubCommand','4gmUWVo','lvwWN','208CnwszN','698239HEysCM','2775365aQlayL','ZhRyZ','exit','(((.+)+)+)+$','toString','apply'];a3c=function(){return H;};return a3c();}
@@ -1 +1 @@
1
- const a4ak=a4d;(function(a,b){const ah=a4d,c=a();while(!![]){try{const d=-parseInt(ah(0x1f7))/0x1+-parseInt(ah(0x224))/0x2*(parseInt(ah(0x25f))/0x3)+-parseInt(ah(0x24f))/0x4+parseInt(ah(0x22f))/0x5*(parseInt(ah(0x262))/0x6)+-parseInt(ah(0x206))/0x7*(-parseInt(ah(0x212))/0x8)+-parseInt(ah(0x1ea))/0x9+parseInt(ah(0x242))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a4c,0x29d17));const a4b=(function(){let a=!![];return function(b,c){const d=a?function(){const ai=a4d;if(c){if('QpPmQ'!==ai(0x261))e[ai(0x202)](f),g[ai(0x1ec)](h);else{const f=c['apply'](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a4a=a4b(this,function(){const aj=a4d;return a4a[aj(0x253)]()[aj(0x222)](aj(0x236))[aj(0x253)]()[aj(0x23e)](a4a)[aj(0x222)](aj(0x236));});a4a();var __awaiter=this&&this[a4ak(0x1fb)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const al=a4d;al(0x230)!==al(0x22c)?g(f):c(d);});}return new(c||(c=Promise))(function(f,g){const ap=a4d;function h(k){const am=a4d;try{j(d[am(0x271)](k));}catch(l){g(l);}}function i(k){const an=a4d;try{j(d[an(0x20e)](k));}catch(l){'PBNzK'!=='PBNzK'?h['id']===i(j)&&(o=p[an(0x203)],q[an(0x211)](an(0x218)+r)):g(l);}}function j(k){const ao=a4d;if('wFmjx'===ao(0x22e))return c[ao(0x253)]()[ao(0x222)](ao(0x236))[ao(0x253)]()[ao(0x23e)](d)[ao(0x222)]('(((.+)+)+)+$');else k[ao(0x1f2)]?f(k[ao(0x23c)]):e(k['value'])[ao(0x207)](h,i);}j((d=d[ap(0x22b)](a,b||[]))['next']());});};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';function a4d(a,b){const c=a4c();return a4d=function(d,e){d=d-0x1e6;let f=c[d];return f;},a4d(a,b);}function a4c(){const aD=['What\x20instance\x20type\x20would\x20you\x20like?\x20[t2.nano]','**\x20Available\x20Security\x20Groups\x20**','join','soKwk','value','BNcUW','constructor','Kbjxi','ec2createSG','ryERA','4389080geIVzt','bQJGk','**\x20Available\x20AMIs\x20**','build\x20on\x20','1:1','Security\x20Group\x20Name:\x20[','Please\x20choose\x20an\x20AMI\x20ID\x20to\x20assign\x20the\x20instance\x20to:\x20[0]\x20','amiId','\x20CIDR:\x20','sort','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=*','Run\x20\x22maka\x20aws:set-host\x22\x20to\x20configure\x20your\x20ssh.json\x20file','ask','94532IRAJMj','aws\x20ec2\x20describe-subnets\x20--filter\x20\x22Name=subnet-id,Values=','desc','\x22ResourceType=instance,Tags=[{Key=created-by,Value=maka-cli},{Key=environment,Value=','toString','Subnet:\x20','blbpL','Instace\x20Type:\x20','Setting\x20SG\x20ID\x20to:\x20','ec2create','FyIUq','No\x20instance\x20has\x20been\x20created.','\x20SG\x20NAME:\x20','Asaao','exit','\x20:\x20','131349cusmBF','vfySq','QpPmQ','30BplygD','\x22Web\x20App\x22','**\x20Available\x20Subnets\x20**','\x22\x20--query\x20\x22Subnets[*].{subnet:CidrBlock}\x22','\x20SUBNETID:\x20','YIXFQ','create-instance','ID:\x20','EZZhm','Desc','name','Please\x20choose\x20a\x20key\x20to\x20use:\x20','env','iXZMK','t2.nano','next','qNezE','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','help','DYuIO','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','ZSxdV','2776311qGQiEX','number','error','getConfigFromShorthand','ec2describeKeys','parse','}]\x22','create','done','\x20SGID:\x20','cider','bright','pfNLb','143350XmHdIo','Security\x20Group:\x20','\x20AMIID:\x20','string','__awaiter','How\x20many\x20instances\x20do\x20you\x20want\x20to\x20create\x20(min:max)?\x20[1:1]\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','Please\x20choose\x20a\x20subnet\x20ID\x20to\x20assign\x20the\x20instance\x20to:\x20[0]\x20','lxvRK','PRGmK','akLMw','log','subnetId','Ready\x20to\x20create\x20instance?\x20NOTE:\x20You\x20WILL\x20be\x20billed\x20for\x20this\x20instance\x20by\x20AWS.','vBGIc','1272103zGBbiW','then','split','DiFOu','ooAIN','Please\x20choose\x20a\x20SG\x20to\x20assign\x20the\x20instance\x20to:\x20[0]\x20','QcYOM','**\x20Available\x20key-pairs\x20**','throw','getTime','fiWES','success','8OunaNk','Setting\x20the\x20key-pair\x20to:\x20','cAhWz','cFhHc','fsi','Setting\x20the\x20number\x20of\x20instances\x20to:\x20','Setting\x20Subnet\x20ID\x20to\x20','confirm','alias','getProjectConfig','ZeUFj','fNdeZ','notice','ImageID:','forEach','push','search','Would\x20you\x20like\x20to\x20create\x20a\x20new\x20security\x20group?','2jttHMG','Instance\x20Count:\x20','Open\x20port\x20443\x20for\x20SSL?','Instance\x20created!\x20\x20NOTE:\x20You\x20are\x20now\x20being\x20billed\x20for\x20this\x20EC2.','ozuNg','sgId','cidr','apply','kPEGn','date','qEfSI','69895eXxGpx','davZY','zXJzf','aws\x20ec2\x20describe-subnets\x20--query\x20\x22Subnets[*].{subnetId:SubnetId,cider:CidrBlock,az:AvailabilityZone}\x22','Setting\x20AMI\x20ID\x20to\x20','lCYfx','},\x20{Key=Name,Value=','(((.+)+)+)+$','chooseVPC'];a4c=function(){return aD;};return a4c();}import{Log}from'../../tools/log/log.class.js';Command[a4ak(0x1f1)]({'name':a4ak(0x268),'aliases':['ci'],'usage':'maka\x20aws:create-instance','description':'','mustBeInMakaProject':!![],'requiredOpts':[a4ak(0x26e)],'validOpts':[a4ak(0x1e6)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const aq=a4d;if(aq(0x209)==='DiFOu')try{const c=this[aq(0x216)][aq(0x21b)](),d=new AWS(),{appName:f}=c,g=this[aq(0x216)][aq(0x1ed)](b[aq(0x26e)]);let h=f+'-'+g,i=(yield Actions[aq(0x24e)]('EC2\x20Name:\x20['+h+']\x20'))||h,j='',k='',l='',m='',n='',o='',p='';const q=yield Actions[aq(0x219)]('Would\x20you\x20like\x20to\x20make\x20a\x20new\x20PEM\x20key?');let r='';q&&(r=yield d['createKeyPair']({'env':g}));try{Log['notice'](aq(0x20d));let v=r?r:i,w=d[aq(0x1ee)]({'suggestion':v}),x=(yield Actions['ask'](aq(0x26d)))||'-1';if(parseInt(x)<0x0){Log[aq(0x1ec)]('You\x20must\x20have\x20a\x20key-pair.\x20\x20Please\x20run\x20\x22maka\x20aws\x20create-key-pair\x20--env\x20<env-name>\x22\x20to\x20generate\x20a\x20new\x20key'),Log['notice']('No\x20instance\x20has\x20been\x20created.');return;}w===null||w===void 0x0?void 0x0:w[aq(0x220)](function(y){const ar=aq;parseInt(x)===y['id']&&(j=y[ar(0x26c)],Log['success'](ar(0x213)+j));});}catch(y){if(aq(0x228)===aq(0x228))Log[aq(0x1ec)](y);else return f instanceof g?h:new i(function(A){A(k);});}k=yield d[aq(0x237)]();let s=yield Actions['confirm'](aq(0x223)),t;if(s){if(aq(0x260)!==aq(0x260)){c[aq(0x1ec)](aq(0x1e8)),d['notice'](aq(0x25a));return;}else{let B=k===''?d[aq(0x237)]():k,C=yield Actions[aq(0x219)](aq(0x226));t=(yield Actions[aq(0x24e)](aq(0x247)+i+']'))||i,d[aq(0x240)]({'description':aq(0x263),'name':t,'vpcId':B,'ssl':C});}}t=i;try{if(aq(0x267)===aq(0x267)){Log['notice'](aq(0x239));let D=execSync('aws\x20ec2\x20describe-security-groups\x20--query\x20\x22SecurityGroups[*].{Name:GroupName,ID:GroupId}\x22')[aq(0x253)](),E=JSON[aq(0x1ef)](D),F=[];E['forEach'](function(H,I){const as=aq;F[as(0x221)]({'id':I,'name':H['Name'],'sgId':H['ID']});}),F['forEach'](function(H){const at=aq;if(H['name']===t)at(0x243)===at(0x243)?Log[at(0x21e)]('ID:\x20'+H['id']+at(0x25b)+H[at(0x26c)]+at(0x1f3)+H[at(0x229)]):i['id']===j(k)&&(q=r['amiId'],s[at(0x211)](at(0x233)+t+at(0x25e)+u[at(0x251)]));else{if(at(0x23d)!==at(0x23d)){if(f['alias']===null){let K=k[at(0x26b)][at(0x208)](at(0x245))[0x1];l[at(0x221)]({'amiId':m['ID'],'desc':n[at(0x26b)],'date':K});}}else console[at(0x202)](at(0x269)+H['id']+at(0x25b)+H[at(0x26c)]+'\x20SGID:\x20'+H[at(0x229)]);}});let G=(yield Actions['ask'](aq(0x20b)))||'0';F[aq(0x220)](function(H){const au=aq;if(au(0x1f6)!=='pfNLb'){let J=l[au(0x258)]({'imageId':m,'count':n,'type':o,'key':p,'sgIds':q,'subnet':r,'tags':'\x22ResourceType=instance,Tags=[{Key=created-by,Value=maka-cli},{Key=environment,Value='+s+'},\x20{Key=Name,Value='+t+au(0x1f0)});J&&(w[au(0x211)](au(0x227)),x[au(0x1f5)]('Run\x20\x22maka\x20aws:set-host\x22\x20to\x20configure\x20your\x20ssh.json\x20file'));}else H['id']===parseInt(G)&&(l=H['sgId'],Log['success'](au(0x257)+l+'\x0a'));});if(l===''){if(aq(0x20c)!==aq(0x20c))h[aq(0x1f2)]?i(j[aq(0x23c)]):k(l[aq(0x23c)])[aq(0x207)](m,n);else throw Log['error'](aq(0x273));}}else b[aq(0x21e)]('ABORTED!\x20No\x20instance\x20has\x20been\x20created!');}catch(J){aq(0x23b)!==aq(0x200)?Log['error'](J):(f=g['amiId'],h[aq(0x211)](aq(0x233)+i+aq(0x25e)+j[aq(0x251)]));}try{if('FyIUq'===aq(0x259)){let L=0x7e6;Log[aq(0x21e)](aq(0x244));let M=execSync(aq(0x24c)+L+aq(0x1fd))[aq(0x253)](),N=JSON[aq(0x1ef)](M),O=[],P=[];N[aq(0x220)](function(R,S){const av=aq;if(av(0x210)===av(0x234))throw b[av(0x1ec)]('That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.');else{if(R[av(0x21a)]===null){let U=R[av(0x26b)][av(0x208)](av(0x245))[0x1];O['push']({'amiId':R['ID'],'desc':R[av(0x26b)],'date':U});}}}),O[aq(0x24b)](function(R,S){const aw=aq;if(aw(0x241)===aw(0x241))return new Date(S['date'])[aw(0x20f)]()-new Date(R['date'])[aw(0x20f)]();else f=[g,h][aw(0x23a)](':'),i[aw(0x211)](aw(0x217)+j);}),O[aq(0x220)](function(R,S){const ax=aq;ax(0x21d)===ax(0x26a)?(d[ax(0x1ec)](e),f[ax(0x25d)](0x0)):P['push']({'id':S,'amiId':R['amiId'],'desc':R[ax(0x251)]});}),P[aq(0x220)](function(R){const ay=aq;ay(0x255)!=='blbpL'?c[ay(0x1ec)](d):console[ay(0x202)]('ID:\x20'+R['id']+ay(0x1f9)+R[ay(0x249)]+'\x20DESCRIPTION:\x20'+R[ay(0x251)]);});let Q=(yield Actions[aq(0x24e)](aq(0x248)))||'0';P[aq(0x220)](function(R){const az=aq;az(0x20a)==='ooAIN'?R['id']===parseInt(Q)&&(m=R['amiId'],Log[az(0x211)](az(0x233)+m+az(0x25e)+R['desc'])):d(e[az(0x20e)](f));});if(m==='')throw Log['error'](aq(0x273));}else try{i(j[aq(0x271)](k));}catch(S){m(S);}}catch(S){if(aq(0x205)!=='vBGIc')return new S(f[aq(0x22d)])[aq(0x20f)]()-new g(h[aq(0x22d)])[aq(0x20f)]();else Log[aq(0x1ec)](S);}try{Log['notice'](aq(0x264));let U=execSync(aq(0x232))['toString'](),V=JSON[aq(0x1ef)](U),W=[];V[aq(0x220)](function(Y,Z){const aA=aq;W[aA(0x221)]({'id':Z,'cidr':Y[aA(0x1f4)],'az':Y['az'],'subnetId':Y['subnetId']});}),W[aq(0x220)](function(Y){const aB=aq;console[aB(0x202)](aB(0x269)+Y['id']+aB(0x24a)+Y[aB(0x22a)]+'\x20AZONE:\x20'+Y['az']+aB(0x266)+Y[aB(0x203)]);});let X=(yield Actions[aq(0x24e)](aq(0x1fe)))||'0';W[aq(0x220)](function(Y){const aC=aq;aC(0x214)===aC(0x201)?e[aC(0x221)]({'id':f,'amiId':g[aC(0x249)],'desc':h['desc']}):Y['id']===parseInt(X)&&(o=Y[aC(0x203)],Log[aC(0x211)](aC(0x218)+o));});if(o===''){if('zXJzf'===aq(0x231))throw Log[aq(0x1ec)](aq(0x273));else d(e[aq(0x271)](f));}}catch(Z){aq(0x1e7)!==aq(0x1e9)?Log['error'](Z):Z[aq(0x202)](aq(0x269)+f['id']+aq(0x25b)+g[aq(0x26c)]+aq(0x1f3)+h[aq(0x229)]);}let u=aq(0x246);try{let a1=(yield Actions[aq(0x24e)](aq(0x1fc)))||aq(0x246),a2=a1[aq(0x208)](':')[0x0],a3=a1[aq(0x208)](':')[0x1];typeof parseInt(a2)===aq(0x1eb)&&typeof parseInt(a3)===aq(0x1eb)&&(u=[a2,a3]['join'](':'),Log[aq(0x211)]('Setting\x20the\x20number\x20of\x20instances\x20to:\x20'+u));}catch(a4){aq(0x1ff)!==aq(0x23f)?Log[aq(0x1ec)](a4):a4[aq(0x202)]('ID:\x20'+f['id']+aq(0x1f9)+g['amiId']+'\x20DESCRIPTION:\x20'+h[aq(0x251)]);}try{if(aq(0x272)!=='zBaWr'){let a6=(yield Actions[aq(0x24e)](aq(0x238)))||aq(0x270);typeof a6===aq(0x1fa)&&(n=a6);}else h(i)===j['id']&&(o=p[aq(0x26c)],q['success']('Setting\x20the\x20key-pair\x20to:\x20'+r));}catch(a8){Log[aq(0x1ec)](a8);}try{let a9=JSON[aq(0x1ef)](execSync(aq(0x250)+o+aq(0x265))[aq(0x253)]())[0x0]['subnet'];Log[aq(0x21e)](aq(0x21f)+m),Log['notice'](aq(0x225)+u),Log[aq(0x21e)](aq(0x256)+n),Log[aq(0x21e)]('Key-Pair:\x20'+j),Log[aq(0x21e)](aq(0x1f8)+l),Log[aq(0x21e)](aq(0x254)+a9);let aa=yield Actions[aq(0x219)](aq(0x204));if(aa){let ab=d[aq(0x258)]({'imageId':m,'count':u,'type':n,'key':j,'sgIds':l,'subnet':o,'tags':aq(0x252)+g+aq(0x235)+i+aq(0x1f0)});if(ab){if(aq(0x25c)!==aq(0x26f))Log['success']('Instance\x20created!\x20\x20NOTE:\x20You\x20are\x20now\x20being\x20billed\x20for\x20this\x20EC2.'),Log[aq(0x1f5)](aq(0x24d));else throw b[aq(0x1ec)](aq(0x273));}}else Log[aq(0x21e)]('ABORTED!\x20No\x20instance\x20has\x20been\x20created!');}catch(ad){console[aq(0x202)](ad),Log[aq(0x1ec)](ad);}}catch(ae){aq(0x215)===aq(0x21c)?f['push']({'id':g,'cidr':h[aq(0x1f4)],'az':i['az'],'subnetId':j[aq(0x203)]}):(console[aq(0x1ec)](ae),process['exit'](0x0));}else c['error'](d);});},a4C);
1
+ const a4aj=a4d;(function(a,b){const ag=a4d,c=a();while(!![]){try{const d=-parseInt(ag(0x1a1))/0x1*(-parseInt(ag(0x1b2))/0x2)+-parseInt(ag(0x1d5))/0x3*(-parseInt(ag(0x18c))/0x4)+-parseInt(ag(0x192))/0x5+-parseInt(ag(0x1b1))/0x6+parseInt(ag(0x1c1))/0x7+parseInt(ag(0x1a2))/0x8+-parseInt(ag(0x1a4))/0x9*(parseInt(ag(0x1c8))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a4c,0xe05ba));function a4d(a,b){const c=a4c();return a4d=function(d,e){d=d-0x176;let f=c[d];return f;},a4d(a,b);}function a4c(){const aD=['\x20SUBNETID:\x20','push','hnFIA','**\x20Available\x20Security\x20Groups\x20**','throw','\x20CIDR:\x20','8896056BVKzqv','2cNWIjl','Name','dDiee','ec2create','getProjectConfig','zEtet','Security\x20Group\x20Name:\x20[','ec2describeKeys','notice','sgId','Key-Pair:\x20','date','Instance\x20created!\x20\x20NOTE:\x20You\x20are\x20now\x20being\x20billed\x20for\x20this\x20EC2.','Instance\x20Count:\x20','\x22ResourceType=instance,Tags=[{Key=created-by,Value=maka-cli},{Key=environment,Value=','6569178EqhDPW','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','ask','GumRL','log','chooseVPC','Subnet:\x20','81980sWOBgI','createKeyPair','qBFoD','aws\x20ec2\x20describe-subnets\x20--query\x20\x22Subnets[*].{subnetId:SubnetId,cider:CidrBlock,az:AvailabilityZone}\x22','string','join','Setting\x20AMI\x20ID\x20to\x20','BqbCx','Setting\x20Subnet\x20ID\x20to\x20','(((.+)+)+)+$','getConfigFromShorthand','next','apply','3EJRJcm','aws\x20ec2\x20describe-subnets\x20--filter\x20\x22Name=subnet-id,Values=','\x20SG\x20NAME:\x20','subnet','ID:\x20','gcGtf','split','error','confirm','1:1','constructor','Run\x20\x22maka\x20aws:set-host\x22\x20to\x20configure\x20your\x20ssh.json\x20file','lTdeF','**\x20Available\x20AMIs\x20**','\x20SGID:\x20','name','MVFku','forEach','search','LXFBt','exit','\x20AMIID:\x20','Setting\x20SG\x20ID\x20to:\x20','iXKWq','__awaiter','\x22\x20--query\x20\x22Subnets[*].{subnet:CidrBlock}\x22','amiId','Setting\x20the\x20number\x20of\x20instances\x20to:\x20','success','Foqqo','Please\x20choose\x20a\x20subnet\x20ID\x20to\x20assign\x20the\x20instance\x20to:\x20[0]\x20','aws\x20ec2\x20describe-security-groups\x20--query\x20\x22SecurityGroups[*].{Name:GroupName,ID:GroupId}\x22','How\x20many\x20instances\x20do\x20you\x20want\x20to\x20create\x20(min:max)?\x20[1:1]\x20','Please\x20choose\x20a\x20SG\x20to\x20assign\x20the\x20instance\x20to:\x20[0]\x20','Ready\x20to\x20create\x20instance?\x20NOTE:\x20You\x20WILL\x20be\x20billed\x20for\x20this\x20instance\x20by\x20AWS.','Please\x20choose\x20a\x20key\x20to\x20use:\x20','EC2\x20Name:\x20[','toString','sort','create','},\x20{Key=Name,Value=','then','xnZqd','**\x20Available\x20key-pairs\x20**','fsi','cider','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=*','\x22Web\x20App\x22','yKHvb','jjvBG','help','\x20DESCRIPTION:\x20','otsTX','bright','Uhmwm','Pzxeu','mgHlk','number','Setting\x20the\x20key-pair\x20to:\x20','Desc','t2.nano','\x20AZONE:\x20','3061348JBGqrj','\x20:\x20','ImageID:','Please\x20choose\x20an\x20AMI\x20ID\x20to\x20assign\x20the\x20instance\x20to:\x20[0]\x20','parse','value','5485235QfWBCm','ec2createSG','OilBC','No\x20instance\x20has\x20been\x20created.','jGCUT','oQknF','Open\x20port\x20443\x20for\x20SSL?','subnetId','getTime','fiZDS','build\x20on\x20','done','Would\x20you\x20like\x20to\x20create\x20a\x20new\x20security\x20group?','desc','aoECu','219577SoRzME','13848696piGSMc','maka\x20aws:create-instance','171FjwTrL','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','UcPIm','mtjOH','cidr','env','Security\x20Group:\x20'];a4c=function(){return aD;};return a4c();}const a4b=(function(){let a=!![];return function(b,c){const d=a?function(){const ah=a4d;if(ah(0x184)!==ah(0x185)){if(c){const e=c[ah(0x1d4)](b,arguments);return c=null,e;}}else e[ah(0x1ba)](ah(0x1d9)+f['id']+'\x20SG\x20NAME:\x20'+g[ah(0x1e4)]+ah(0x1e3)+h['sgId']);}:function(){};return a=![],d;};}()),a4a=a4b(this,function(){const ai=a4d;return a4a[ai(0x1fa)]()[ai(0x1e7)](ai(0x1d1))['toString']()[ai(0x1df)](a4a)[ai(0x1e7)]('(((.+)+)+)+$');});a4a();var __awaiter=this&&this[a4aj(0x1ed)]||function(a,b,c,d){function e(f){const ak=a4d;if(ak(0x1ca)!=='dDtON')return f instanceof c?f:new c(function(g){const al=ak;if(al(0x1a6)==='UcPIm')g(f);else{let j=e[al(0x189)]['split'](al(0x19c))[0x1];f['push']({'amiId':g['ID'],'desc':h['Desc'],'date':j});}});else f=g[ak(0x1ef)],h[ak(0x1f1)](ak(0x1ce)+i+'\x20:\x20'+j[ak(0x19f)]);}return new(c||(c=Promise))(function(f,g){const ap=a4d;function h(k){const am=a4d;try{j(d[am(0x1d3)](k));}catch(l){g(l);}}function i(k){const an=a4d;try{j(d[an(0x1af)](k));}catch(l){g(l);}}function j(k){const ao=a4d;ao(0x17e)===ao(0x182)?e[ao(0x1c5)]('ID:\x20'+f['id']+ao(0x1ea)+g[ao(0x1ef)]+'\x20DESCRIPTION:\x20'+h[ao(0x19f)]):k[ao(0x19d)]?f(k[ao(0x191)]):e(k['value'])[ao(0x177)](h,i);}j((d=d['apply'](a,b||[]))[ap(0x1d3)]());});};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[a4aj(0x1fc)]({'name':'create-instance','aliases':['ci'],'usage':a4aj(0x1a3),'description':'','mustBeInMakaProject':!![],'requiredOpts':[a4aj(0x1a9)],'validOpts':[a4aj(0x180)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const aq=a4d;if('bRYnK'===aq(0x1da))d(e[aq(0x1d3)](f));else try{const d=this[aq(0x17a)][aq(0x1b6)](),f=new AWS(),{appName:g}=d,h=this[aq(0x17a)][aq(0x1d2)](b[aq(0x1a9)]);let i=g+'-'+h,j=(yield Actions[aq(0x1c3)](aq(0x1f9)+i+']\x20'))||i,k='',l='',m='',n='',o='',p='',q='';const r=yield Actions[aq(0x1dd)]('Would\x20you\x20like\x20to\x20make\x20a\x20new\x20PEM\x20key?');let s='';r&&(s=yield f[aq(0x1c9)]({'env':h}));try{if(aq(0x1a0)!==aq(0x1e8)){Log['notice'](aq(0x179));let w=s?s:j,x=f[aq(0x1b9)]({'suggestion':w}),y=(yield Actions[aq(0x1c3)](aq(0x1f8)))||'-1';if(parseInt(y)<0x0){if(aq(0x1c4)!=='ZhJiX'){Log[aq(0x1dc)](aq(0x1a5)),Log[aq(0x1ba)](aq(0x195));return;}else c[aq(0x1dc)](d);}x===null||x===void 0x0?void 0x0:x[aq(0x1e6)](function(A){const ar=aq;parseInt(y)===A['id']&&(k=A['name'],Log['success'](ar(0x188)+k));});}else e=f[aq(0x1e4)],g[aq(0x1f1)]('Setting\x20the\x20key-pair\x20to:\x20'+h);}catch(B){Log[aq(0x1dc)](B);}l=yield f[aq(0x1c6)]();let t=yield Actions[aq(0x1dd)](aq(0x19e)),u;if(t){let C=l===''?f[aq(0x1c6)]():l,D=yield Actions[aq(0x1dd)](aq(0x198));u=(yield Actions[aq(0x1c3)](aq(0x1b8)+j+']'))||j,f[aq(0x193)]({'description':aq(0x17d),'name':u,'vpcId':C,'ssl':D});}u=j;try{if(aq(0x1e5)==='aOduV')c(d);else{Log[aq(0x1ba)](aq(0x1ae));let F=execSync(aq(0x1f4))[aq(0x1fa)](),G=JSON[aq(0x190)](F),H=[];G[aq(0x1e6)](function(J,K){const as=aq;H[as(0x1ac)]({'id':K,'name':J[as(0x1b3)],'sgId':J['ID']});}),H[aq(0x1e6)](function(J){const at=aq;if('aTvvr'!==at(0x194)){if(J['name']===u)Log[at(0x1ba)](at(0x1d9)+J['id']+at(0x1d7)+J[at(0x1e4)]+at(0x1e3)+J['sgId']);else{if('BqbCx'===at(0x1cf))console[at(0x1c5)](at(0x1d9)+J['id']+at(0x1d7)+J[at(0x1e4)]+at(0x1e3)+J[at(0x1bb)]);else try{i(j[at(0x1af)](k));}catch(L){m(L);}}}else throw b[at(0x1dc)](at(0x1c2));});let I=(yield Actions[aq(0x1c3)](aq(0x1f6)))||'0';H[aq(0x1e6)](function(J){const au=aq;if(au(0x1b4)===au(0x1b4))J['id']===parseInt(I)&&(m=J[au(0x1bb)],Log['success'](au(0x1eb)+m+'\x0a'));else return c[au(0x1fa)]()[au(0x1e7)](au(0x1d1))[au(0x1fa)]()[au(0x1df)](d)[au(0x1e7)](au(0x1d1));});if(m===''){if(aq(0x197)!==aq(0x1e1))throw Log[aq(0x1dc)]('That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.');else f[aq(0x1c5)](aq(0x1d9)+g['id']+aq(0x1b0)+h[aq(0x1a8)]+aq(0x18b)+i['az']+'\x20SUBNETID:\x20'+j[aq(0x199)]);}}}catch(K){aq(0x19b)===aq(0x19b)?Log[aq(0x1dc)](K):(c[aq(0x1f1)](aq(0x1be)),d[aq(0x183)](aq(0x1e0)));}try{let M=0x7e6;Log[aq(0x1ba)](aq(0x1e2));let N=execSync(aq(0x17c)+M+'*\x22\x20\x22Name=root-device-type,Values=ebs\x22\x20\x22Name=description,Values=*Ubuntu?\x20??.??\x20LTS?\x20amd64\x20bionic\x20image*\x22\x20--query\x20\x22Images[*].{Desc:Description,ID:ImageId,alias:ImageOwnerAlias}\x22')[aq(0x1fa)](),O=JSON['parse'](N),P=[],Q=[];O[aq(0x1e6)](function(S,T){const av=aq;if(S['alias']===null){let U=S[av(0x189)][av(0x1db)]('build\x20on\x20')[0x1];P[av(0x1ac)]({'amiId':S['ID'],'desc':S['Desc'],'date':U});}}),P[aq(0x1fb)](function(S,T){const aw=aq;return new Date(T[aw(0x1bd)])[aw(0x19a)]()-new Date(S[aw(0x1bd)])[aw(0x19a)]();}),P[aq(0x1e6)](function(S,T){const ax=aq;if('cHQTa'==='cHQTa')Q[ax(0x1ac)]({'id':T,'amiId':S['amiId'],'desc':S[ax(0x19f)]});else{let V=l['ec2create']({'imageId':m,'count':n,'type':o,'key':p,'sgIds':q,'subnet':r,'tags':ax(0x1c0)+s+ax(0x176)+t+'}]\x22'});V&&(w[ax(0x1f1)]('Instance\x20created!\x20\x20NOTE:\x20You\x20are\x20now\x20being\x20billed\x20for\x20this\x20EC2.'),x[ax(0x183)](ax(0x1e0)));}}),Q['forEach'](function(S){const ay=aq;console[ay(0x1c5)](ay(0x1d9)+S['id']+ay(0x1ea)+S[ay(0x1ef)]+ay(0x181)+S[ay(0x19f)]);});let R=(yield Actions[aq(0x1c3)](aq(0x18f)))||'0';Q['forEach'](function(S){const az=aq;if('oHlJR'!=='oHlJR')i['id']===j(k)&&(q=r[az(0x1ef)],s[az(0x1f1)]('Setting\x20AMI\x20ID\x20to\x20'+t+az(0x18d)+u[az(0x19f)]));else{if(S['id']===parseInt(R)){if(az(0x178)===az(0x178))n=S[az(0x1ef)],Log[az(0x1f1)]('Setting\x20AMI\x20ID\x20to\x20'+n+az(0x18d)+S[az(0x19f)]);else try{i(j[az(0x1d3)](k));}catch(V){m(V);}}}});if(n===''){if(aq(0x1b7)===aq(0x1b7))throw Log['error'](aq(0x1c2));else{if(e){const T=i['apply'](j,arguments);return k=null,T;}}}}catch(T){Log[aq(0x1dc)](T);}try{if(aq(0x1ad)!==aq(0x1a7)){Log[aq(0x1ba)]('**\x20Available\x20Subnets\x20**');let U=execSync(aq(0x1cb))[aq(0x1fa)](),V=JSON[aq(0x190)](U),W=[];V[aq(0x1e6)](function(Y,Z){const aA=aq;W[aA(0x1ac)]({'id':Z,'cidr':Y[aA(0x17b)],'az':Y['az'],'subnetId':Y['subnetId']});}),W['forEach'](function(Y){const aB=aq;console[aB(0x1c5)]('ID:\x20'+Y['id']+aB(0x1b0)+Y['cidr']+'\x20AZONE:\x20'+Y['az']+aB(0x1ab)+Y[aB(0x199)]);});let X=(yield Actions[aq(0x1c3)](aq(0x1f3)))||'0';W[aq(0x1e6)](function(Y){const aC=aq;Y['id']===parseInt(X)&&(p=Y[aC(0x199)],Log['success'](aC(0x1d0)+p));});if(p===''){if(aq(0x186)!==aq(0x186))c(d);else throw Log[aq(0x1dc)](aq(0x1c2));}}else k[aq(0x1e4)]===l?u[aq(0x1ba)]('ID:\x20'+v['id']+aq(0x1d7)+w[aq(0x1e4)]+'\x20SGID:\x20'+x['sgId']):y[aq(0x1c5)]('ID:\x20'+z['id']+aq(0x1d7)+A[aq(0x1e4)]+aq(0x1e3)+B['sgId']);}catch(a0){Log[aq(0x1dc)](a0);}let v=aq(0x1de);try{let a1=(yield Actions[aq(0x1c3)](aq(0x1f5)))||aq(0x1de),a2=a1['split'](':')[0x0],a3=a1[aq(0x1db)](':')[0x1];typeof parseInt(a2)===aq(0x187)&&typeof parseInt(a3)===aq(0x187)&&(v=[a2,a3][aq(0x1cd)](':'),Log[aq(0x1f1)](aq(0x1f0)+v));}catch(a4){aq(0x1ec)==='wXyVD'?c=d:Log['error'](a4);}try{if(aq(0x17f)===aq(0x17f)){let a6=(yield Actions[aq(0x1c3)]('What\x20instance\x20type\x20would\x20you\x20like?\x20[t2.nano]'))||aq(0x18a);typeof a6===aq(0x1cc)&&(aq(0x1f2)===aq(0x1f2)?o=a6:h['id']===i(j)&&(o=p[aq(0x1bb)],q['success'](aq(0x1eb)+r+'\x0a')));}else c[aq(0x1dc)](d);}catch(a9){Log[aq(0x1dc)](a9);}try{let aa=JSON[aq(0x190)](execSync(aq(0x1d6)+p+aq(0x1ee))['toString']())[0x0][aq(0x1d8)];Log[aq(0x1ba)](aq(0x18e)+n),Log[aq(0x1ba)](aq(0x1bf)+v),Log[aq(0x1ba)]('Instace\x20Type:\x20'+o),Log[aq(0x1ba)](aq(0x1bc)+k),Log[aq(0x1ba)](aq(0x1aa)+m),Log[aq(0x1ba)](aq(0x1c7)+aa);let ab=yield Actions[aq(0x1dd)](aq(0x1f7));if(ab){let ac=f[aq(0x1b5)]({'imageId':n,'count':v,'type':o,'key':k,'sgIds':m,'subnet':p,'tags':aq(0x1c0)+h+aq(0x176)+j+'}]\x22'});ac&&(Log[aq(0x1f1)](aq(0x1be)),Log['bright'](aq(0x1e0)));}else Log[aq(0x1ba)]('ABORTED!\x20No\x20instance\x20has\x20been\x20created!');}catch(ad){aq(0x196)!=='jGCUT'?ad[aq(0x1c5)]('ID:\x20'+f['id']+aq(0x1d7)+g[aq(0x1e4)]+'\x20SGID:\x20'+h[aq(0x1bb)]):(console[aq(0x1c5)](ad),Log[aq(0x1dc)](ad));}}catch(af){console['error'](af),process[aq(0x1e9)](0x0);}});},a4C);
@@ -1 +1 @@
1
- const a5C=a5d;(function(a,b){const y=a5d,c=a();while(!![]){try{const d=parseInt(y(0x7a))/0x1+parseInt(y(0x83))/0x2+-parseInt(y(0x6c))/0x3+parseInt(y(0x79))/0x4*(parseInt(y(0x7e))/0x5)+-parseInt(y(0x82))/0x6*(parseInt(y(0x7c))/0x7)+parseInt(y(0x90))/0x8+parseInt(y(0x8a))/0x9*(-parseInt(y(0x8e))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a5c,0xc7243));const a5b=(function(){let a=!![];return function(b,c){const z=a5d;if(z(0x88)==='VJmKZ')c(d);else{const e=a?function(){const A=z;if(A(0x94)===A(0x72))return f instanceof g?h:new i(function(m){m(k);});else{if(c){if(A(0x91)===A(0x91)){const g=c[A(0x78)](b,arguments);return c=null,g;}else d['error'](e),f[A(0x7d)](0x0);}}}:function(){};return a=![],e;}};}()),a5a=a5b(this,function(){const B=a5d;return a5a[B(0x95)]()[B(0x89)](B(0x76))['toString']()[B(0x6d)](a5a)[B(0x89)](B(0x76));});a5a();var __awaiter=this&&this[a5C(0x80)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const D=a5d;if(D(0x6e)===D(0x86)){const i=g?function(){const E=D;if(i){const u=q[E(0x78)](r,arguments);return s=null,u;}}:function(){};return l=![],i;}else g(f);});}return new(c||(c=Promise))(function(f,g){const I=a5d;function h(k){const F=a5d;if(F(0x77)!=='ZgQJF')try{F(0x81)!==F(0x81)?d(e['throw'](f)):j(d['next'](k));}catch(m){g(m);}else try{i(j[F(0x8f)](k));}catch(o){m(o);}}function i(k){const G=a5d;try{j(d[G(0x8f)](k));}catch(l){if(G(0x85)===G(0x8b)){const n=new c(),o=this[G(0x73)][G(0x70)](d[G(0x8c)]);n[G(0x6f)]({'env':o});}else g(l);}}function j(k){const H=a5d;if('IgAKe'!==H(0x84))k[H(0x92)]?f(k[H(0x7f)]):e(k[H(0x7f)])[H(0x71)](h,i);else try{i(j['next'](k));}catch(m){m(m);}}j((d=d[I(0x78)](a,b||[]))[I(0x87)]());});};import a5x from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';function a5c(){const K=['maka\x20aws\x20create-key-pair','7FMVrwT','exit','14815bfbJFr','value','__awaiter','VGaei','1476492aBqKKz','3198688SIywTO','VlEaL','GdfXg','UwbPg','next','RbDUZ','search','2820537iNZCWU','usdsg','env','error','70IxjaPW','throw','12848480qIIIil','ADQaF','done','ckp','VEflR','toString','4189356DwJunB','constructor','bZfLZ','createKeyPair','getConfigFromShorthand','then','KGesK','fsi','create-key-pair','create','(((.+)+)+)+$','oNEnH','apply','136Fghogn','1345822VJkztA'];a5c=function(){return K;};return a5c();}function a5d(a,b){const c=a5c();return a5d=function(d,e){d=d-0x6c;let f=c[d];return f;},a5d(a,b);}Command[a5C(0x75)]({'name':a5C(0x74),'aliases':[a5C(0x93)],'usage':a5C(0x7b),'mustBeInMakaProject':!![],'requiredOpts':[a5C(0x8c)],'validOpts':['help']},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const J=a5d;try{if('EkNPh'==='EkNPh'){const c=new AWS(),d=this[J(0x73)][J(0x70)](b[J(0x8c)]);c[J(0x6f)]({'env':d});}else c(d);}catch(g){console[J(0x8d)](g),process[J(0x7d)](0x0);}});},a5x);
1
+ const a5B=a5d;(function(a,b){const y=a5d,c=a();while(!![]){try{const d=-parseInt(y(0x142))/0x1+parseInt(y(0x139))/0x2+-parseInt(y(0x153))/0x3*(-parseInt(y(0x159))/0x4)+-parseInt(y(0x149))/0x5+parseInt(y(0x14b))/0x6+-parseInt(y(0x143))/0x7+-parseInt(y(0x14d))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a5c,0xb3710));const a5b=(function(){let a=!![];return function(b,c){const d=a?function(){const z=a5d;if(c){if(z(0x158)===z(0x158)){const e=c[z(0x152)](b,arguments);return c=null,e;}else{const g=g?function(){if(g){const u=q['apply'](r,arguments);return s=null,u;}}:function(){};return l=![],g;}}}:function(){};return a=![],d;};}()),a5a=a5b(this,function(){const A=a5d;return a5a[A(0x154)]()[A(0x146)](A(0x13b))[A(0x154)]()['constructor'](a5a)[A(0x146)](A(0x13b));});a5a();var __awaiter=this&&this[a5B(0x147)]||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 F=a5d;function h(k){const C=a5d;if(C(0x14f)!==C(0x14f))d[C(0x141)](e),f[C(0x150)](0x0);else try{j(d[C(0x14a)](k));}catch(m){g(m);}}function i(k){const D=a5d;try{j(d[D(0x156)](k));}catch(l){g(l);}}function j(k){const E=a5d;k[E(0x157)]?f(k['value']):e(k[E(0x148)])['then'](h,i);}j((d=d[F(0x152)](a,b||[]))[F(0x14a)]());});};import a5x from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';function a5c(){const H=['help','999744GVVdoW','pbGdu','(((.+)+)+)+$','CEDXT','getConfigFromShorthand','fsi','create-key-pair','JqpPK','error','409812zOxndA','1888950jFQTJp','create','env','search','__awaiter','value','5747170wYQQIO','next','8548272qThYFn','SIcdC','4567376wNvRJq','maka\x20aws\x20create-key-pair','wqJPm','exit','createKeyPair','apply','117138JpzToo','toString','ckp','throw','done','GulQZ','124NQmSjl'];a5c=function(){return H;};return a5c();}function a5d(a,b){const c=a5c();return a5d=function(d,e){d=d-0x139;let f=c[d];return f;},a5d(a,b);}Command[a5B(0x144)]({'name':a5B(0x13f),'aliases':[a5B(0x155)],'usage':a5B(0x14e),'mustBeInMakaProject':!![],'requiredOpts':[a5B(0x145)],'validOpts':[a5B(0x15a)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const G=a5d;if('HUTgy'===G(0x140))try{const d=new i(),f=this['fsi'][G(0x13d)](j[G(0x145)]);d[G(0x151)]({'env':f});}catch(g){m[G(0x141)](g),n[G(0x150)](0x0);}else try{if(G(0x14c)!==G(0x13c)){const d=new AWS(),f=this[G(0x13e)][G(0x13d)](b['env']);d['createKeyPair']({'env':f});}else try{i(j['next'](k));}catch(h){m(h);}}catch(h){G(0x13a)!=='pbGdu'?c(d):(console['error'](h),process[G(0x150)](0x0));}});},a5x);
@@ -1 +1 @@
1
- const a6z=a6d;(function(a,b){const v=a6d,c=a();while(!![]){try{const d=parseInt(v(0xc5))/0x1+-parseInt(v(0xd6))/0x2*(-parseInt(v(0xc0))/0x3)+-parseInt(v(0xb6))/0x4+-parseInt(v(0xba))/0x5*(-parseInt(v(0xce))/0x6)+parseInt(v(0xc1))/0x7+-parseInt(v(0xc8))/0x8*(parseInt(v(0xdb))/0x9)+-parseInt(v(0xc4))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a6c,0xac961));const a6b=(function(){let a=!![];return function(b,c){const w=a6d;if(w(0xd2)!==w(0xdd)){const d=a?function(){const x=w;if(x(0xb8)==='yLHgY')return f instanceof g?h:new i(function(m){m(k);});else{if(c){if('qdCXD'==='RpRmV')h['done']?i(j[x(0xd1)]):k(l[x(0xd1)])['then'](m,n);else{const g=c['apply'](b,arguments);return c=null,g;}}}}:function(){};return a=![],d;}else c(d);};}()),a6a=a6b(this,function(){const y=a6d;return a6a['toString']()['search'](y(0xd7))[y(0xd4)]()[y(0xcb)](a6a)[y(0xbf)]('(((.+)+)+)+$');});a6a();var __awaiter=this&&this[a6z(0xda)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const A=a6d;if(A(0xde)!==A(0xdc))g(f);else{if(e){const i=i[A(0xbe)](j,arguments);return k=null,i;}}});}return new(c||(c=Promise))(function(f,g){const E=a6d;function h(k){const B=a6d;if('WKGit'===B(0xd3))try{j(d[B(0xb9)](k));}catch(l){B(0xca)!=='axpih'?g(l):d(l[B(0xb7)](f));}else d[B(0xc7)](e),f[B(0xbd)](0x0);}function i(k){const C=a6d;if('dleaF'!==C(0xdf))try{j(d[C(0xb7)](k));}catch(l){g(l);}else c(d);}function j(k){const D=a6d;k[D(0xe1)]?f(k[D(0xd1)]):e(k['value'])['then'](h,i);}j((d=d[E(0xbe)](a,b||[]))[E(0xb9)]());});};function a6d(a,b){const c=a6c();return a6d=function(d,e){d=d-0xb5;let f=c[d];return f;},a6d(a,b);}import a6u from'./aws.command.js';import{Command}from'../../command.js';function a6c(){const G=['constructor','getProjectConfig','Security\x20Group\x20Name:\x20[','282aRemLu','create-security-group','ssl','value','GYaLG','WKGit','toString','name','362cXDvyq','(((.+)+)+)+$','fsi','ec2createSG','__awaiter','9BiizCZ','WTUPz','TjNvZ','zJmQh','cckrV','maka\x20aws\x20terminate-instance','done','csg','-ssl','1481996LGJmgU','throw','fZgMj','next','2570hOWJSw','confirm','help','exit','apply','search','19335RiqPln','1453732MjPoPg','create','chooseVPC','5749810TsOxbP','765275sREeuQ','zsaJJ','error','4090088sgMBjx','\x22Web\x20App\x22','mLyDk'];a6c=function(){return G;};return a6c();}import{Actions}from'../../tools/actions/actions.class.js';import{AWS}from'../../tools/aws/aws.class.js';Command[a6z(0xc2)]({'name':a6z(0xcf),'aliases':[a6z(0xe2)],'usage':a6z(0xe0),'validOpts':[a6z(0xbc)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const F=a6d;if('XOZMU'===F(0xc6))try{i(j[F(0xb7)](k));}catch(d){m(d);}else try{const d=new AWS(),f=this[F(0xd8)][F(0xcc)](),{appName:g}=f;let h=yield d[F(0xc3)](),i=![];!b[F(0xd0)]&&(i=yield Actions[F(0xbb)]('Open\x20port\x20443\x20for\x20SSL?'));let j=i?F(0xb5):'',k=b[F(0xd5)]?b['name']:''+g+j,l=(yield Actions['ask'](F(0xcd)+k+']'))||k;d[F(0xd9)]({'description':F(0xc9),'name':l,'vpcId':h,'ssl':i});}catch(m){console[F(0xc7)](m),process[F(0xbd)](0x0);}});},a6u);
1
+ const a6y=a6d;(function(a,b){const v=a6d,c=a();while(!![]){try{const d=-parseInt(v(0x18b))/0x1+parseInt(v(0x195))/0x2+-parseInt(v(0x18f))/0x3+parseInt(v(0x172))/0x4*(parseInt(v(0x187))/0x5)+-parseInt(v(0x184))/0x6*(-parseInt(v(0x198))/0x7)+-parseInt(v(0x191))/0x8*(-parseInt(v(0x185))/0x9)+-parseInt(v(0x180))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a6c,0x564c3));const a6b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a6d;if(c){if(w(0x19c)===w(0x19c)){const e=c['apply'](b,arguments);return c=null,e;}else d(e['next'](f));}}:function(){};return a=![],d;};}()),a6a=a6b(this,function(){const x=a6d;return a6a[x(0x171)]()['search']('(((.+)+)+)+$')['toString']()[x(0x17d)](a6a)['search'](x(0x19d));});a6a();var __awaiter=this&&this[a6y(0x197)]||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=a6d;function h(k){const z=a6d;try{j(d[z(0x183)](k));}catch(l){g(l);}}function i(k){const A=a6d;try{A(0x196)!==A(0x186)?j(d[A(0x176)](k)):(d[A(0x17a)](e),f[A(0x174)](0x0));}catch(m){A(0x18d)===A(0x17c)?c(d):g(m);}}function j(k){const B=a6d;if(B(0x175)===B(0x175))k[B(0x170)]?f(k[B(0x178)]):e(k['value'])[B(0x189)](h,i);else return c[B(0x171)]()[B(0x17b)](B(0x19d))[B(0x171)]()[B(0x17d)](d)[B(0x17b)]('(((.+)+)+)+$');}j((d=d[C(0x173)](a,b||[]))['next']());});};function a6c(){const E=['confirm','then','plEib','326204GbmsGc','name','zpSEa','ask','1042641iXxgUc','cyPIy','2601736UOdeyn','ssl','RsjXS','create-security-group','1273284zTbrTt','sDpFi','__awaiter','1133510OSnppy','ec2createSG','csg','chooseVPC','lCLtD','(((.+)+)+)+$','\x22Web\x20App\x22','Open\x20port\x20443\x20for\x20SSL?','done','toString','300UhNPOi','apply','exit','fdZXv','throw','maka\x20aws\x20terminate-instance','value','wnhbV','error','search','HiCYO','constructor','fsi','getProjectConfig','2673430HVLWhE','geJBT','-ssl','next','12kOckIr','9ATHDfz','iczqH','590VljJyd'];a6c=function(){return E;};return a6c();}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';function a6d(a,b){const c=a6c();return a6d=function(d,e){d=d-0x170;let f=c[d];return f;},a6d(a,b);}Command['create']({'name':a6y(0x194),'aliases':[a6y(0x19a)],'usage':a6y(0x177),'validOpts':['help']},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const D=a6d;if(D(0x179)===D(0x193)){if(e){const d=i[D(0x173)](j,arguments);return k=null,d;}}else try{if('cyPIy'===D(0x190)){const d=new AWS(),f=this[D(0x17e)][D(0x17f)](),{appName:g}=f;let h=yield d[D(0x19b)](),i=![];!b[D(0x192)]&&(i=yield Actions[D(0x188)](D(0x19f)));let j=i?D(0x182):'',k=b[D(0x18c)]?b['name']:''+g+j,l=(yield Actions[D(0x18e)]('Security\x20Group\x20Name:\x20['+k+']'))||k;d[D(0x199)]({'description':D(0x19e),'name':l,'vpcId':h,'ssl':i});}else c(d);}catch(n){D(0x181)===D(0x18a)?h[D(0x170)]?i(j[D(0x178)]):k(l['value'])[D(0x189)](m,n):(console[D(0x17a)](n),process[D(0x174)](0x0));}});},a6u);
@@ -1 +1 @@
1
- function a7c(){var C=['16976500mLVJft','661428zptScC','(((.+)+)+)+$','constructor','6IAoXFf','value','376345CtvwUK','then','1504161EdBDNk','dkbPo','ftfZs','5042331DANtTd','56Gdymbf','search','describe-instances','apply','help','toString','maka\x20aws\x20describe-instances','6117508oEwShq','ec2describeInstances','fIYJC','1410720QunaGx','__awaiter','108QIOzkY','UqSpr'];a7c=function(){return C;};return a7c();}var a7x=a7d;(function(a,b){var v=a7d,c=a();while(!![]){try{var d=parseInt(v(0x176))/0x1+-parseInt(v(0x17e))/0x2*(parseInt(v(0x17b))/0x3)+-parseInt(v(0x173))/0x4+-parseInt(v(0x180))/0x5*(-parseInt(v(0x178))/0x6)+parseInt(v(0x16b))/0x7+parseInt(v(0x16c))/0x8*(parseInt(v(0x182))/0x9)+-parseInt(v(0x17a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a7c,0xbb56f));function a7d(a,b){var c=a7c();return a7d=function(d,e){d=d-0x16b;var f=c[d];return f;},a7d(a,b);}var a7b=(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;};}()),a7a=a7b(this,function(){var w=a7d;return a7a[w(0x171)]()['search'](w(0x17c))[w(0x171)]()[w(0x17d)](a7a)[w(0x16d)](w(0x17c));});a7a();var __awaiter=this&&this[a7x(0x177)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){if('wCogV'!=='wCogV')return f instanceof g?h:new i(function(m){m(k);});else g(f);});}return new(c||(c=Promise))(function(f,g){function h(k){var y=a7d;try{if(y(0x175)===y(0x175))j(d['next'](k));else{var m=d[y(0x16f)](e,arguments);return f=null,m;}}catch(m){g(m);}}function i(k){var z=a7d;try{j(d['throw'](k));}catch(l){if(z(0x179)==='ytwyw'){const n=new b();n[z(0x174)]();}else g(l);}}function j(k){var A=a7d;if(A(0x183)===A(0x184)){var n=g?function(){var B=A;if(n){var u=q[B(0x16f)](r,arguments);return s=null,u;}}:function(){};return l=![],n;}else k['done']?f(k[A(0x17f)]):e(k[A(0x17f)])[A(0x181)](h,i);}j((d=d['apply'](a,b||[]))['next']());});};import a7u from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';Command['create']({'name':a7x(0x16e),'aliases':['di'],'usage':a7x(0x172),'validOpts':[a7x(0x170)]},function(){return __awaiter(this,void 0x0,void 0x0,function*(){try{const a=new AWS();a['ec2describeInstances']();}catch(b){console['error'](b),process['exit'](0x0);}});},a7u);
1
+ var a7A=a7d;(function(a,b){var v=a7d,c=a();while(!![]){try{var d=parseInt(v(0x121))/0x1+parseInt(v(0x126))/0x2+parseInt(v(0x132))/0x3*(-parseInt(v(0x11e))/0x4)+parseInt(v(0x12e))/0x5*(-parseInt(v(0x123))/0x6)+-parseInt(v(0x11b))/0x7*(parseInt(v(0x127))/0x8)+-parseInt(v(0x135))/0x9+parseInt(v(0x11f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a7c,0xcfaf3));var a7b=(function(){var a=!![];return function(b,c){var w=a7d;if(w(0x12c)===w(0x128)){const f=new b();f[w(0x13a)]();}else{var d=a?function(){var x=w;if(x(0x134)!=='VjGIL')return e(this,void 0x0,void 0x0,function*(){var y=x;try{const s=new l();s[y(0x13a)]();}catch(t){o[y(0x11d)](t),p['exit'](0x0);}});else{if(c){var f=c[x(0x125)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;}};}()),a7a=a7b(this,function(){var z=a7d;return a7a['toString']()[z(0x129)](z(0x13b))[z(0x120)]()[z(0x12b)](a7a)[z(0x129)](z(0x13b));});a7a();var __awaiter=this&&this[a7A(0x131)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){var B=a7d;if(B(0x130)!=='nvtRZ'){if(e){var i=i[B(0x125)](j,arguments);return k=null,i;}}else g(f);});}return new(c||(c=Promise))(function(f,g){var F=a7d;function h(k){var C=a7d;try{j(d[C(0x139)](k));}catch(l){C(0x122)!==C(0x11c)?g(l):c(d);}}function i(k){var D=a7d;try{D(0x13c)===D(0x13c)?j(d['throw'](k)):d(e['next'](f));}catch(m){if(D(0x137)!==D(0x136))g(m);else return c['toString']()[D(0x129)](D(0x13b))[D(0x120)]()[D(0x12b)](d)[D(0x129)](D(0x13b));}}function j(k){var E=a7d;k[E(0x12f)]?f(k[E(0x11a)]):e(k['value'])['then'](h,i);}j((d=d[F(0x125)](a,b||[]))[F(0x139)]());});};function a7d(a,b){var c=a7c();return a7d=function(d,e){d=d-0x11a;var f=c[d];return f;},a7d(a,b);}function a7c(){var H=['next','ec2describeInstances','(((.+)+)+)+$','URCdv','value','14OFzfvw','OQPiB','error','2412kfiEPu','29209960QpoaYW','toString','554046uTTFQn','pWpwb','1218186VosDPX','describe-instances','apply','2773046jkMxfa','220040OFhNIh','VzYIt','search','help','constructor','LfZlK','create','35uAJBBH','done','nvtRZ','__awaiter','7704HWtobf','exit','VjGIL','8875431NniMwQ','Pgaxa','FDCiC','maka\x20aws\x20describe-instances'];a7c=function(){return H;};return a7c();}import a7u from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';Command[a7A(0x12d)]({'name':a7A(0x124),'aliases':['di'],'usage':a7A(0x138),'validOpts':[a7A(0x12a)]},function(){return __awaiter(this,void 0x0,void 0x0,function*(){var G=a7d;try{const a=new AWS();a[G(0x13a)]();}catch(b){console['error'](b),process[G(0x133)](0x0);}});},a7u);
@@ -1 +1 @@
1
- var a8E=a8d;function a8d(a,b){var c=a8c();return a8d=function(d,e){d=d-0x180;var f=c[d];return f;},a8d(a,b);}(function(a,b){var v=a8d,c=a();while(!![]){try{var d=parseInt(v(0x184))/0x1*(parseInt(v(0x193))/0x2)+-parseInt(v(0x19e))/0x3+-parseInt(v(0x192))/0x4*(parseInt(v(0x1a0))/0x5)+-parseInt(v(0x190))/0x6+-parseInt(v(0x187))/0x7*(parseInt(v(0x18c))/0x8)+-parseInt(v(0x19f))/0x9*(parseInt(v(0x183))/0xa)+-parseInt(v(0x18a))/0xb*(-parseInt(v(0x197))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a8c,0xb55c2));var a8b=(function(){var a=!![];return function(b,c){var w=a8d;if(w(0x196)===w(0x19d)){var f=g?function(){var x=w;if(f){var u=q[x(0x198)](r,arguments);return s=null,u;}}:function(){};return l=![],f;}else{var d=a?function(){var y=w;if(c){var f=c[y(0x198)](b,arguments);return c=null,f;}}:function(){};return a=![],d;}};}()),a8a=a8b(this,function(){var z=a8d;return a8a[z(0x18b)]()[z(0x199)](z(0x19a))[z(0x18b)]()[z(0x19b)](a8a)[z(0x199)](z(0x19a));});a8a();function a8c(){var G=['11xQZBge','toString','24EAbsrj','RVqeG','describe-key-pairs','help','5384610ZlHkBU','value','28kjMAbh','1252SDrGCd','error','eCSft','itQEm','61789008zJEKuF','apply','search','(((.+)+)+)+$','constructor','next','rvMyg','1828203ybXwGs','64089xRGcTt','1042325eLvkQK','exit','dkp','then','450FkhoLB','224KKdRWV','maka\x20aws\x20describe-key-pairs','throw','2939818sKVjZn','create','ec2describeKeys'];a8c=function(){return G;};return a8c();}var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){var D=a8d;function h(k){var A=a8d;try{j(d[A(0x19c)](k));}catch(l){g(l);}}function i(k){var B=a8d;if(B(0x195)===B(0x195))try{B(0x18d)==='RVqeG'?j(d[B(0x186)](k)):c(d);}catch(m){g(m);}else return c['toString']()[B(0x199)](B(0x19a))[B(0x18b)]()[B(0x19b)](d)[B(0x199)](B(0x19a));}function j(k){var C=a8d;k['done']?f(k[C(0x191)]):e(k[C(0x191)])[C(0x182)](h,i);}j((d=d[D(0x198)](a,b||[]))[D(0x19c)]());});};import a8u from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';Command[a8E(0x188)]({'name':a8E(0x18e),'aliases':[a8E(0x181)],'usage':a8E(0x185),'validOpts':[a8E(0x18f)]},function(){return __awaiter(this,void 0x0,void 0x0,function*(){var F=a8d;try{const a=new AWS();a[F(0x189)]();}catch(b){console[F(0x194)](b),process[F(0x180)](0x0);}});},a8u);
1
+ function a8c(){var G=['XLHQx','30068489pMKVns','516149Gbubwi','8279005iKAHsy','error','throw','(((.+)+)+)+$','done','24YwTVYs','LksgM','aLZxm','dkp','toString','1151136nZSPwC','4RPLdSR','exit','2WALCxx','value','__awaiter','QDSBq','help','6704442bNoTyA','next','3156663dIFAcw','apply','search','YRvac','BSdCk','3123337bLLjBt','maka\x20aws\x20describe-key-pairs','then','10kkpwVJ','describe-key-pairs'];a8c=function(){return G;};return a8c();}var a8z=a8d;(function(a,b){var v=a8d,c=a();while(!![]){try{var d=parseInt(v(0xf7))/0x1+-parseInt(v(0xe4))/0x2*(-parseInt(v(0xeb))/0x3)+parseInt(v(0xe2))/0x4*(parseInt(v(0xf8))/0x5)+-parseInt(v(0xe9))/0x6+parseInt(v(0xf0))/0x7*(parseInt(v(0xdc))/0x8)+parseInt(v(0xe1))/0x9+-parseInt(v(0xf3))/0xa*(parseInt(v(0xf6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a8c,0xcd03e));var a8b=(function(){var a=!![];return function(b,c){var w=a8d;if('ihWOx'!=='ihWOx')try{i(j[w(0xd9)](k));}catch(f){m(f);}else{var d=a?function(){var x=w;if(x(0xde)===x(0xdd))try{i(j[x(0xea)](k));}catch(h){m(h);}else{if(c){if(x(0xe7)!=='vtedE'){var f=c[x(0xec)](b,arguments);return c=null,f;}else try{const i=new g();i['ec2describeKeys']();}catch(j){j[x(0xf9)](j),k['exit'](0x0);}}}}:function(){};return a=![],d;}};}()),a8a=a8b(this,function(){var y=a8d;return a8a[y(0xe0)]()[y(0xed)](y(0xda))['toString']()['constructor'](a8a)['search'](y(0xda));});a8a();var __awaiter=this&&this[a8z(0xe6)]||function(a,b,c,d){function e(f){var A=a8d;return A(0xee)!==A(0xef)?f instanceof c?f:new c(function(g){var B=A;if(B(0xf5)===B(0xf5))g(f);else{if(e){var i=i[B(0xec)](j,arguments);return k=null,i;}}}):f instanceof g?h:new i(function(m){m(k);});}return new(c||(c=Promise))(function(f,g){var E=a8d;function h(k){var C=a8d;try{j(d[C(0xea)](k));}catch(l){g(l);}}function i(k){try{j(d['throw'](k));}catch(l){g(l);}}function j(k){var D=a8d;k[D(0xdb)]?f(k[D(0xe5)]):e(k['value'])[D(0xf2)](h,i);}j((d=d[E(0xec)](a,b||[]))[E(0xea)]());});};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-0xd9;var f=c[d];return f;},a8d(a,b);}import{AWS}from'../../tools/aws/aws.class.js';Command['create']({'name':a8z(0xf4),'aliases':[a8z(0xdf)],'usage':a8z(0xf1),'validOpts':[a8z(0xe8)]},function(){return __awaiter(this,void 0x0,void 0x0,function*(){var F=a8d;try{const a=new AWS();a['ec2describeKeys']();}catch(b){console[F(0xf9)](b),process[F(0xe3)](0x0);}});},a8u);
@@ -1 +1 @@
1
- const a9y=a9d;(function(a,b){const v=a9d,c=a();while(!![]){try{const d=-parseInt(v(0x1d3))/0x1*(-parseInt(v(0x1c0))/0x2)+-parseInt(v(0x1c2))/0x3+-parseInt(v(0x1d2))/0x4+parseInt(v(0x1d6))/0x5+parseInt(v(0x1b4))/0x6+parseInt(v(0x1b1))/0x7+-parseInt(v(0x1c8))/0x8*(parseInt(v(0x1b6))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a9c,0x2e30d));function a9c(){const E=['rbi','317763yiJLRJ','search','bpGxl','create','then','(((.+)+)+)+$','throw','VLXWF','JZEfT','__awaiter','11706pxfAdE','reboot-instance','768066EXgpFS','error','chooseInstance','yTOis','status','\x20Ready?','88qloAXO','uwsbC','instanceId','exit','done','apply','constructor','value','toString','You\x20have\x20aborted\x20the\x20reboot.\x20\x20The\x20instance:\x20','299840qUmuzY','52jfcRKj','next','[!!]\x20You\x20are\x20about\x20to\x20reboot\x20instance:\x20','1736155fSDGvO','Lanva','name','confirm','nxNrT','running','49091iZEcnb','pFsMI','\x20is\x20still\x20running.','1499736LPXaMt'];a9c=function(){return E;};return a9c();}const a9b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a9d;if(c){const e=c[w(0x1cd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a9a=a9b(this,function(){const x=a9d;return a9a[x(0x1d0)]()[x(0x1b7)](x(0x1bb))[x(0x1d0)]()['constructor'](a9a)[x(0x1b7)](x(0x1bb));});a9a();var __awaiter=this&&this[a9y(0x1bf)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const C=a9d;function h(k){const z=a9d;if('yTOis'!==z(0x1c5))try{i(j[z(0x1bc)](k));}catch(m){m(m);}else try{z(0x1b8)!=='iGLXj'?j(d[z(0x1d4)](k)):h[z(0x1cc)]?i(j[z(0x1cf)]):k(l['value'])[z(0x1ba)](m,n);}catch(n){'crBET'!==z(0x1be)?g(n):d(n[z(0x1bc)](f));}}function i(k){const A=a9d;try{if(A(0x1bd)===A(0x1b2))return c['toString']()[A(0x1b7)](A(0x1bb))[A(0x1d0)]()[A(0x1ce)](d)['search']('(((.+)+)+)+$');else j(d[A(0x1bc)](k));}catch(m){g(m);}}function j(k){const B=a9d;k['done']?f(k[B(0x1cf)]):e(k[B(0x1cf)])['then'](h,i);}j((d=d[C(0x1cd)](a,b||[]))[C(0x1d4)]());});};import a9u from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';function a9d(a,b){const c=a9c();return a9d=function(d,e){d=d-0x1af;let f=c[d];return f;},a9d(a,b);}import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command[a9y(0x1b9)]({'name':a9y(0x1c1),'aliases':[a9y(0x1b5)],'usage':'maka\x20aws\x20reboot-instance','validOpts':['help']},function(){return __awaiter(this,void 0x0,void 0x0,function*(){const D=a9d;if('Lanva'===D(0x1d7))try{const a=new AWS();let b=yield a[D(0x1c4)]();if((b===null||b===void 0x0?void 0x0:b[D(0x1c6)])===D(0x1b0)){let c=yield Actions[D(0x1d9)](D(0x1d5)+b[D(0x1d8)]+D(0x1c7));if(c){if('PPsHT'!=='PPsHT')try{i(j['next'](k));}catch(f){m(f);}else a['ec2rebootInstance']({'instanceId':b[D(0x1ca)]});}else D(0x1c9)!==D(0x1af)?Log['error'](D(0x1d1)+b[D(0x1d8)]+D(0x1b3)):(d[D(0x1c3)](e),f[D(0x1cb)](0x0));}else Log[D(0x1c3)]('There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20rebooted;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.');}catch(g){console[D(0x1c3)](g),process[D(0x1cb)](0x0);}else return f instanceof g?h:new i(function(m){m(k);});});},a9u);
1
+ const a9x=a9d;(function(a,b){const v=a9d,c=a();while(!![]){try{const d=-parseInt(v(0xd1))/0x1+-parseInt(v(0xe4))/0x2*(-parseInt(v(0xec))/0x3)+-parseInt(v(0xd7))/0x4*(parseInt(v(0xe5))/0x5)+parseInt(v(0xd0))/0x6*(-parseInt(v(0xf3))/0x7)+-parseInt(v(0xda))/0x8*(parseInt(v(0xd2))/0x9)+parseInt(v(0xf7))/0xa*(-parseInt(v(0xcf))/0xb)+parseInt(v(0xd4))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a9c,0x49442));const a9b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a9a=a9b(this,function(){const w=a9d;return a9a[w(0xe2)]()['search'](w(0xe8))[w(0xe2)]()[w(0xdf)](a9a)['search'](w(0xe8));});a9a();var __awaiter=this&&this[a9x(0xdd)]||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=a9d;function h(k){const y=a9d;try{y(0xe9)===y(0xf1)?c[y(0xf0)]({'instanceId':d[y(0xd8)]}):j(d[y(0xd3)](k));}catch(m){g(m);}}function i(k){const z=a9d;if(z(0xe3)===z(0xe0))d(e[z(0xd3)](f));else try{'pTHfo'!=='CTTJi'?j(d['throw'](k)):c(d);}catch(n){z(0xed)==='CCocf'?c(d):g(n);}}function j(k){const A=a9d;k[A(0xeb)]?f(k[A(0xd6)]):e(k['value'])['then'](h,i);}j((d=d['apply'](a,b||[]))[B(0xd3)]());});};import a9u from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';function a9c(){const D=['121205avRHzQ','hzhCR','exit','reboot-instance','974180GjTdsd','status','22JkiSLG','186mQVuYt','50100UyMTmI','29223kinNgb','next','14268708jTKYon','[!!]\x20You\x20are\x20about\x20to\x20reboot\x20instance:\x20','value','172ZawMEJ','instanceId','You\x20have\x20aborted\x20the\x20reboot.\x20\x20The\x20instance:\x20','184mORNjB','\x20is\x20still\x20running.','error','__awaiter','confirm','constructor','ZqSPw','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20rebooted;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','toString','nALms','2iZpoWF','10455pBbhlv','name','help','(((.+)+)+)+$','MChun','\x20Ready?','done','172002TBpTiF','ifRrB','throw','SLhZm','ec2rebootInstance','pffhy','rbi'];a9c=function(){return D;};return a9c();}function a9d(a,b){const c=a9c();return a9d=function(d,e){d=d-0xce;let f=c[d];return f;},a9d(a,b);}import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a9x(0xf6),'aliases':[a9x(0xf2)],'usage':'maka\x20aws\x20reboot-instance','validOpts':[a9x(0xe7)]},function(){return __awaiter(this,void 0x0,void 0x0,function*(){const C=a9d;try{if('hzhCR'!==C(0xf4))c(d);else{const b=new AWS();let c=yield b['chooseInstance']();if((c===null||c===void 0x0?void 0x0:c[C(0xce)])==='running'){let d=yield Actions[C(0xde)](C(0xd5)+c[C(0xe6)]+C(0xea));d?b['ec2rebootInstance']({'instanceId':c[C(0xd8)]}):Log[C(0xdc)](C(0xd9)+c[C(0xe6)]+C(0xdb));}else{if(C(0xef)==='SLhZm')Log['error'](C(0xe1));else try{i(j[C(0xee)](k));}catch(g){m(g);}}}}catch(g){console[C(0xdc)](g),process[C(0xf5)](0x0);}});},a9u);
@@ -1 +1 @@
1
- const a10I=a10d;(function(a,b){const F=a10d,c=a();while(!![]){try{const d=-parseInt(F(0x214))/0x1+parseInt(F(0x219))/0x2*(-parseInt(F(0x1f5))/0x3)+parseInt(F(0x1fd))/0x4*(parseInt(F(0x1eb))/0x5)+parseInt(F(0x1e2))/0x6*(-parseInt(F(0x206))/0x7)+parseInt(F(0x1e5))/0x8*(parseInt(F(0x215))/0x9)+-parseInt(F(0x1f8))/0xa+parseInt(F(0x20d))/0xb*(parseInt(F(0x1fb))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a10c,0xc5e33));const a10b=(function(){let a=!![];return function(b,c){const d=a?function(){const G=a10d;if(G(0x1e0)===G(0x1e0)){if(c){const e=c[G(0x1f3)](b,arguments);return c=null,e;}}else c(d);}:function(){};return a=![],d;};}()),a10a=a10b(this,function(){const H=a10d;return a10a[H(0x205)]()['search'](H(0x1fc))['toString']()[H(0x1ef)](a10a)[H(0x201)]('(((.+)+)+)+$');});function a10c(){const P=['3443011aSyupk','That\x20is\x20not\x20an\x20option.\x20Must\x20be\x20\x22public\x22\x20or\x20\x22private\x22','sep','DQYMw','value','publicIp','getConfigPath','422166OLEBEx','9xVCdNy','AMkFU','key-name','writeFileSync','10XFkJtZ','gFhty','throw','env','dwPTq','next','20802lkQsxs','set-host','__awaiter','1543688vfryiP','uRhii','exit','help','host','inherit','3271580SsxENH','ask','join','ssh.json','constructor','\x20IP\x20to\x20','\x0aSaved\x20host\x20','chooseInstance','apply','error','286926vuhjXx','rSafX','cxCHm','14506720TRZvlW','done','utf8','120GAmPrK','(((.+)+)+)+$','8ajarAq','nbgym','private','maka\x20aws\x20set-host','search','stringify','then','create','toString','2968wobqom','Set\x20the\x20host\x20to\x20public\x20or\x20private?\x20[public]','privateIp','LdgQK','public','yWpkd','parse'];a10c=function(){return P;};return a10c();}a10a();var __awaiter=this&&this[a10I(0x1e4)]||function(a,b,c,d){function e(f){const J=a10d;if(J(0x1f6)!==J(0x1f7))return f instanceof c?f:new c(function(g){g(f);});else c(d);}return new(c||(c=Promise))(function(f,g){const N=a10d;function h(k){const K=a10d;if(K(0x21a)===K(0x21a))try{j(d[K(0x1e1)](k));}catch(l){g(l);}else h[K(0x1f9)]?i(j['value']):k(l[K(0x211)])[K(0x203)](m,n);}function i(k){const L=a10d;try{j(d[L(0x21b)](k));}catch(l){if(L(0x210)===L(0x210))g(l);else throw L(0x20e);}}function j(k){const M=a10d;if(M(0x1e6)!=='rBKtg')k[M(0x1f9)]?f(k['value']):e(k[M(0x211)])[M(0x203)](h,i);else try{i(j[M(0x21b)](k));}catch(m){m(m);}}j((d=d[N(0x1f3)](a,b||[]))[N(0x1e1)]());});};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';function a10d(a,b){const c=a10c();return a10d=function(d,e){d=d-0x1df;let f=c[d];return f;},a10d(a,b);}import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command[a10I(0x204)]({'name':a10I(0x1e3),'aliases':['sth'],'usage':a10I(0x200),'mustBeInMakaProject':!![],'requiredOpts':[a10I(0x1df)],'validOpts':[a10I(0x1e8),a10I(0x217)],'description':''},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const O=a10d;if('IShmO'!=='IShmO')e['host']=f===null||g===void 0x0?void 0x0:h[O(0x208)];else try{const d=new AWS(),f=this['fsi'][O(0x213)](b[O(0x1df)]);let g=yield d[O(0x1f2)](),h=JSON[O(0x20c)](a10D['readFileSync'](a10C[O(0x1ed)](f,O(0x1ee)),O(0x1fa))),i=(yield Actions[O(0x1ec)](O(0x207)))||'public';if(i){if(i===O(0x20a)||i===O(0x1ff)){if(O(0x216)===O(0x209))e[O(0x1e9)]=f===null||g===void 0x0?void 0x0:h[O(0x208)];else{if(i===O(0x20a))h['host']=g===null||g===void 0x0?void 0x0:g[O(0x212)];else i===O(0x1ff)&&(O(0x1fe)!==O(0x1fe)?(d[O(0x1f4)](e),f[O(0x1e7)](0x0)):h[O(0x1e9)]=g===null||g===void 0x0?void 0x0:g[O(0x208)]);}}else throw O(0x20e);}else{if('jtleL'!=='jtleL'){if(k==='public')u['host']=v===null||w===void 0x0?void 0x0:x['publicIp'];else p===O(0x1ff)&&(y['host']=z===null||A===void 0x0?void 0x0:B[O(0x208)]);}else h[O(0x1e9)]=g===null||g===void 0x0?void 0x0:g[O(0x208)];}a10D[O(0x218)](a10C[O(0x1ed)](f,O(0x1ee)),JSON[O(0x202)](h,null,0x2)),execSync('cat\x20'+a10C[O(0x1ed)](f,O(0x1ee)),{'stdio':O(0x1ea)}),Log['success'](O(0x1f1)+i+O(0x1f0)+f+a10C[O(0x20f)]+O(0x1ee));}catch(m){O(0x20b)!=='yWpkd'?d(m[O(0x21b)](f)):(console[O(0x1f4)](m),process[O(0x1e7)](0x0));}});},a10E);
1
+ const a10N=a10d;(function(a,b){const F=a10d,c=a();while(!![]){try{const d=parseInt(F(0x125))/0x1+parseInt(F(0x13c))/0x2+-parseInt(F(0x123))/0x3*(parseInt(F(0x12e))/0x4)+-parseInt(F(0x11f))/0x5+-parseInt(F(0x110))/0x6*(parseInt(F(0x114))/0x7)+-parseInt(F(0x13e))/0x8+-parseInt(F(0x143))/0x9*(-parseInt(F(0x120))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a10c,0x80189));const a10b=(function(){let a=!![];return function(b,c){const d=a?function(){const G=a10d;if(c){if(G(0x12f)!==G(0x147)){const e=c['apply'](b,arguments);return c=null,e;}else throw'That\x20is\x20not\x20an\x20option.\x20Must\x20be\x20\x22public\x22\x20or\x20\x22private\x22';}}:function(){};return a=![],d;};}()),a10a=a10b(this,function(){const H=a10d;return a10a[H(0x144)]()[H(0x142)]('(((.+)+)+)+$')[H(0x144)]()[H(0x117)](a10a)['search'](H(0x12d));});a10a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const I=a10d;if(I(0x129)===I(0x129))g(f);else{if(e){const i=i['apply'](j,arguments);return k=null,i;}}});}return new(c||(c=Promise))(function(f,g){const M=a10d;function h(k){const J=a10d;try{j(d[J(0x11a)](k));}catch(l){'irbTF'===J(0x137)?c(d):g(l);}}function i(k){const K=a10d;try{j(d[K(0x118)](k));}catch(l){g(l);}}function j(k){const L=a10d;L(0x127)==='BfbyE'?k['done']?f(k[L(0x124)]):e(k[L(0x124)])[L(0x134)](h,i):e[L(0x149)]=f===null||g===void 0x0?void 0x0:h[L(0x12b)];}j((d=d[M(0x11d)](a,b||[]))[M(0x11a)]());});};import a10C from'path';import a10D from'fs';function a10c(){const P=['private','KrMkt','\x20IP\x20to\x20','host','public','12CgLKan','ask','chooseInstance','CCBRu','714777eCSeoL','join','getConfigPath','constructor','throw','inherit','next','cat\x20','fsi','apply','hQOyW','4525780lfpfTK','10VNRomD','writeFileSync','That\x20is\x20not\x20an\x20option.\x20Must\x20be\x20\x22public\x22\x20or\x20\x22private\x22','546618RKLVBw','value','1015678djGCRP','parse','BfbyE','success','SUhfR','env','privateIp','help','(((.+)+)+)+$','4PlBhpM','rwnBr','error','raUme','sth','utf8','then','Set\x20the\x20host\x20to\x20public\x20or\x20private?\x20[public]','maka\x20aws\x20set-host','fsCgT','sep','done','stringify','publicIp','249584aNDvkZ','AjbUr','3236024JKKtnq','wMFUp','key-name','ssh.json','search','9722682BJqWvV','toString','\x0aSaved\x20host\x20'];a10c=function(){return P;};return a10c();}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-0x110;let f=c[d];return f;},a10d(a,b);}Command['create']({'name':'set-host','aliases':[a10N(0x132)],'usage':a10N(0x136),'mustBeInMakaProject':!![],'requiredOpts':[a10N(0x12a)],'validOpts':[a10N(0x12c),a10N(0x140)],'description':''},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const O=a10d;try{const c=new AWS(),d=this[O(0x11c)][O(0x116)](b[O(0x12a)]);let f=yield c[O(0x112)](),g=JSON[O(0x126)](a10D['readFileSync'](a10C[O(0x115)](d,O(0x141)),O(0x133))),h=(yield Actions[O(0x111)](O(0x135)))||O(0x14a);if(h){if(O(0x113)===O(0x113)){if(h==='public'||h==='private'){if(h===O(0x14a))g[O(0x149)]=f===null||f===void 0x0?void 0x0:f[O(0x13b)];else h===O(0x146)&&(g[O(0x149)]=f===null||f===void 0x0?void 0x0:f[O(0x12b)]);}else{if('raUme'===O(0x131))throw O(0x122);else h[O(0x139)]?i(j['value']):k(l[O(0x124)])[O(0x134)](m,n);}}else c(d);}else O(0x13f)!=='Atiof'?g[O(0x149)]=f===null||f===void 0x0?void 0x0:f[O(0x12b)]:d(e[O(0x11a)](f));a10D[O(0x121)](a10C[O(0x115)](d,O(0x141)),JSON[O(0x13a)](g,null,0x2)),execSync(O(0x11b)+a10C[O(0x115)](d,O(0x141)),{'stdio':O(0x119)}),Log[O(0x128)](O(0x145)+h+O(0x148)+d+a10C[O(0x138)]+O(0x141));}catch(l){if(O(0x13d)!==O(0x11e))console[O(0x130)](l),process['exit'](0x0);else try{i(j[O(0x11a)](k));}catch(o){m(o);}}});},a10E);
@@ -1 +1 @@
1
- function a11d(a,b){const c=a11c();return a11d=function(d,e){d=d-0xee;let f=c[d];return f;},a11d(a,b);}const a11y=a11d;(function(a,b){const v=a11d,c=a();while(!![]){try{const d=-parseInt(v(0x109))/0x1+parseInt(v(0xf1))/0x2*(-parseInt(v(0x111))/0x3)+parseInt(v(0x102))/0x4*(-parseInt(v(0xf4))/0x5)+-parseInt(v(0x104))/0x6+-parseInt(v(0x10f))/0x7+parseInt(v(0x10e))/0x8*(parseInt(v(0xf9))/0x9)+parseInt(v(0x117))/0xa*(parseInt(v(0xf8))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a11c,0x9b350));const a11b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a11d;if(c){const e=c[w(0xf6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a11a=a11b(this,function(){const x=a11d;return a11a[x(0x116)]()[x(0xf3)](x(0x10a))[x(0x116)]()['constructor'](a11a)[x(0xf3)](x(0x10a));});a11a();var __awaiter=this&&this[a11y(0x101)]||function(a,b,c,d){function e(f){const z=a11d;if('YXzxQ'===z(0x119))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;if(A(0x113)==='YmxeB'){if(e){const m=i[A(0xf6)](j,arguments);return k=null,m;}}else try{j(d[A(0x11c)](k));}catch(m){if(A(0x106)!==A(0x106))try{i(j[A(0x11c)](k));}catch(o){m(o);}else g(m);}}function i(k){const B=a11d;try{B(0xf5)===B(0x108)?(d[B(0xfb)](e),f['exit'](0x0)):j(d['throw'](k));}catch(m){B(0xfa)!==B(0xfa)?h['done']?i(j[B(0x107)]):k(l[B(0x107)])['then'](m,n):g(m);}}function j(k){const C=a11d;'XJiFO'==='rngBY'?c(d):k[C(0x10d)]?f(k[C(0x107)]):e(k[C(0x107)])[C(0xfc)](h,i);}j((d=d[D(0xf6)](a,b||[]))['next']());});};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';function a11c(){const F=['value','SEphP','796818AyhijT','(((.+)+)+)+$','LbuSQ','throw','done','8MVnucB','3758475kenhgh','name','17958AjaBjM','exit','kRiFO','confirm','\x20is\x20still\x20running.\x20\x20(Charges\x20are\x20still\x20being\x20applied).','toString','30861620oYZcjo','NEQmu','YXzxQ','maka\x20aws\x20terminate-instance','nfxqJ','next','You\x20have\x20aborted\x20the\x20termination.\x20\x20The\x20instance:\x20','help','chooseInstance','constructor','410XgnmFs','uYUdd','search','26725XLqWRi','TyPAF','apply','ec2terminateInstance','11lqnsNH','6147423JzgFga','JBRVD','error','then','terminate-instance','\x20Ready?','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20terminated;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','fxgiR','__awaiter','100TYyHux','You\x20are\x20about\x20to\x20terminate\x20(lose\x20all\x20data)\x20on\x20instance:\x20','2633898fZarvu','running','CWtIo'];a11c=function(){return F;};return a11c();}import{Actions}from'../../tools/actions/actions.class.js';Command['create']({'name':a11y(0xfd),'aliases':['ti'],'usage':a11y(0x11a),'validOpts':[a11y(0xee)]},function(){return __awaiter(this,void 0x0,void 0x0,function*(){const E=a11d;try{const a=new AWS();let b=yield a[E(0xef)]();if((b===null||b===void 0x0?void 0x0:b['status'])===E(0x105)){let c=yield Actions[E(0x114)](E(0x103)+b[E(0x110)]+E(0xfe));if(c){if(E(0x11b)===E(0x118))return c[E(0x116)]()[E(0xf3)](E(0x10a))['toString']()[E(0xf0)](d)[E(0xf3)](E(0x10a));else a[E(0xf7)]({'instanceId':b['instanceId']});}else E(0x10b)!=='qgoDq'?Log[E(0xfb)](E(0x11d)+b[E(0x110)]+E(0x115)):d(e[E(0x10c)](f));}else{if(E(0xf2)!=='zQmFE')Log[E(0xfb)](E(0xff));else return f instanceof g?h:new i(function(m){m(k);});}}catch(h){E(0x100)===E(0x100)?(console[E(0xfb)](h),process[E(0x112)](0x0)):c(d);}});},a11u);
1
+ const a11y=a11d;(function(a,b){const v=a11d,c=a();while(!![]){try{const d=-parseInt(v(0x218))/0x1*(-parseInt(v(0x204))/0x2)+parseInt(v(0x20f))/0x3*(parseInt(v(0x1f4))/0x4)+-parseInt(v(0x1fc))/0x5*(parseInt(v(0x215))/0x6)+parseInt(v(0x214))/0x7*(parseInt(v(0x21a))/0x8)+parseInt(v(0x203))/0x9+-parseInt(v(0x1fd))/0xa*(-parseInt(v(0x1ff))/0xb)+parseInt(v(0x208))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a11c,0x2720d));const a11b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a11d;if(w(0x1ee)!==w(0x1ee))return f instanceof g?h:new i(function(m){m(k);});else{if(c){const f=c[w(0x1fb)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a11a=a11b(this,function(){const x=a11d;return a11a[x(0x20d)]()[x(0x20a)]('(((.+)+)+)+$')[x(0x20d)]()['constructor'](a11a)['search'](x(0x205));});function a11d(a,b){const c=a11c();return a11d=function(d,e){d=d-0x1ee;let f=c[d];return f;},a11d(a,b);}a11a();var __awaiter=this&&this[a11y(0x219)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const z=a11d;if(z(0x201)!==z(0x201))return c['toString']()['search']('(((.+)+)+)+$')[z(0x20d)]()['constructor'](d)[z(0x20a)](z(0x205));else g(f);});}return new(c||(c=Promise))(function(f,g){const D=a11d;function h(k){const A=a11d;if(A(0x1ef)===A(0x1ef))try{if(A(0x1f8)===A(0x1f8))j(d[A(0x209)](k));else{const m=d['apply'](e,arguments);return f=null,m;}}catch(m){g(m);}else try{i(j[A(0x209)](k));}catch(o){m(o);}}function i(k){const B=a11d;if(B(0x1f1)===B(0x1f1))try{j(d['throw'](k));}catch(l){B(0x1f7)!==B(0x1f7)?(d['error'](l),f[B(0x1f9)](0x0)):g(l);}else c(d);}function j(k){const C=a11d;C(0x213)===C(0x213)?k[C(0x20b)]?f(k[C(0x202)]):e(k[C(0x202)])[C(0x1f3)](h,i):d(e['next'](f));}j((d=d['apply'](a,b||[]))[D(0x209)]());});};import a11u from'./aws.command.js';import{Command}from'../../command.js';function a11c(){const F=['value','1149201GSpdQd','2FQodGY','(((.+)+)+)+$','confirm','status','212460QlBORB','next','search','done','instanceId','toString','\x20is\x20still\x20running.\x20\x20(Charges\x20are\x20still\x20being\x20applied).','74985kmNIpK','WWDjc','You\x20have\x20aborted\x20the\x20termination.\x20\x20The\x20instance:\x20','You\x20are\x20about\x20to\x20terminate\x20(lose\x20all\x20data)\x20on\x20instance:\x20','tgunK','28pFWXas','708lggraf','\x20Ready?','dphlH','65939ZCLbKI','__awaiter','45928YBqUuN','zQgRU','qwEAu','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20terminated;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','HzTOf','name','then','28FHEUYB','JjGmx','error','TSiNx','XybnU','exit','create','apply','11105mhxVzb','50lKsqeZ','running','28787IbuDwS','help','qOvki'];a11c=function(){return F;};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(0x1fa)]({'name':'terminate-instance','aliases':['ti'],'usage':'maka\x20aws\x20terminate-instance','validOpts':[a11y(0x200)]},function(){return __awaiter(this,void 0x0,void 0x0,function*(){const E=a11d;if(E(0x210)!==E(0x217))try{const a=new AWS();let b=yield a['chooseInstance']();if((b===null||b===void 0x0?void 0x0:b[E(0x207)])===E(0x1fe)){let c=yield Actions[E(0x206)](E(0x212)+b[E(0x1f2)]+E(0x216));c?a['ec2terminateInstance']({'instanceId':b[E(0x20c)]}):E(0x1f5)!==E(0x1f5)?c[E(0x1f6)](E(0x211)+d[E(0x1f2)]+E(0x20e)):Log['error'](E(0x211)+b[E(0x1f2)]+E(0x20e));}else Log['error'](E(0x1f0));}catch(f){console[E(0x1f6)](f),process[E(0x1f9)](0x0);}else{if(e){const h=i[E(0x1fb)](j,arguments);return k=null,h;}}});},a11u);
@@ -1 +1 @@
1
- (function(a,b){var u=a12d,c=a();while(!![]){try{var d=parseInt(u(0xe3))/0x1*(parseInt(u(0xea))/0x2)+parseInt(u(0xee))/0x3*(-parseInt(u(0xeb))/0x4)+-parseInt(u(0xe7))/0x5*(-parseInt(u(0xe9))/0x6)+-parseInt(u(0xe5))/0x7*(parseInt(u(0xe6))/0x8)+parseInt(u(0xec))/0x9*(parseInt(u(0xe4))/0xa)+parseInt(u(0xed))/0xb*(parseInt(u(0xe8))/0xc)+-parseInt(u(0xef))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a12c,0xe4993));function a12d(a,b){var c=a12c();return a12d=function(d,e){d=d-0xe1;var f=c[d];return f;},a12d(a,b);}var a12b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a12d;if(c){var e=c[v(0xf0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a12a=a12b(this,function(){var w=a12d;return a12a['toString']()[w(0xe2)](w(0xe1))['toString']()['constructor'](a12a)[w(0xe2)]('(((.+)+)+)+$');});a12a();import'./build.js';function a12c(){var x=['(((.+)+)+)+$','search','408236BGcWiU','130CuGnqC','4491039xepfcy','8pPrfqu','2283490TbIDEf','84OnSdLj','18HzXSCV','8XgSsxK','11756OHQFbF','14373optJKc','2359577TrjbTC','1284YuKFWH','21964020UaePWb','apply'];a12c=function(){return x;};return a12c();}import'./docker.sub.cmd.js';
1
+ (function(a,b){var u=a12d,c=a();while(!![]){try{var d=-parseInt(u(0xa1))/0x1*(-parseInt(u(0x9d))/0x2)+-parseInt(u(0x96))/0x3*(parseInt(u(0x9e))/0x4)+-parseInt(u(0x9c))/0x5*(parseInt(u(0xa4))/0x6)+parseInt(u(0x99))/0x7+-parseInt(u(0x97))/0x8+-parseInt(u(0xa3))/0x9+parseInt(u(0xa5))/0xa*(parseInt(u(0x98))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a12c,0x7e7fc));var a12b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a12d;if(c){var e=c[v(0x9f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a12a=a12b(this,function(){var w=a12d;return a12a[w(0xa2)]()[w(0x9b)](w(0xa0))['toString']()[w(0x9a)](a12a)[w(0x9b)]('(((.+)+)+)+$');});a12a();import'./build.js';function a12d(a,b){var c=a12c();return a12d=function(d,e){d=d-0x96;var f=c[d];return f;},a12d(a,b);}function a12c(){var x=['toString','3473388uzBIlG','894wTqWJF','20sNgShp','34197ZlvxhO','3254408deFKcX','3054293pgsTUC','5246549qeIlRU','constructor','search','7530NfIQzJ','1213202SWVubu','132aMYZRn','apply','(((.+)+)+)+$','1YcDsUR'];a12c=function(){return x;};return a12c();}import'./docker.sub.cmd.js';
@@ -1 +1 @@
1
- const a13A=a13d;function a13c(){const K=['80smrsnB','CPYbr','splice','next','qwote','2fPsRQA','659710BdmNJV','902566yZOLXb','ejYni','then','8496osqiDa','KIuBR','error','--force','app.tar.gz','findSubCommand','existsSync','invokeMeteorCommand','30180hjIgnx','pathFromProject','3234XBFkjP','toString','constructor','Aborted.','804553JKoAyU','271926oMPxvV','maka\x20build:docker','rapmJ','slice','EtfQD','value','GjOaz','UQBHB','confirm','jrjdZ','clnZp','argv','__awaiter','(((.+)+)+)+$','throw','build','3963760gZyaEP','HyoIL','fsi','Found\x20existing\x20bundle,\x20would\x20you\x20like\x20to\x20rebuild\x20it?','create','508mnMyIm','YWbPR','yEYZc','maka\x20build\x20[--force]','zmrWb','forEach','force','search','khGnh','18pGWGSP','apply','exit'];a13c=function(){return K;};return a13c();}(function(a,b){const w=a13d,c=a();while(!![]){try{const d=parseInt(w(0x1e0))/0x1*(parseInt(w(0x207))/0x2)+parseInt(w(0x20c))/0x3*(parseInt(w(0x1f6))/0x4)+parseInt(w(0x208))/0x5+parseInt(w(0x1ff))/0x6*(-parseInt(w(0x209))/0x7)+parseInt(w(0x1f1))/0x8+-parseInt(w(0x1e1))/0x9*(parseInt(w(0x202))/0xa)+parseInt(w(0x1dc))/0xb*(-parseInt(w(0x1da))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a13c,0x6770d));const a13b=(function(){let a=!![];return function(b,c){const x=a13d;if(x(0x1eb)!==x(0x20d)){const d=a?function(){const y=x;if('lDFkb'===y(0x1e7))d(e[y(0x1ef)](f));else{if(c){const f=c['apply'](b,arguments);return c=null,f;}}}:function(){};return a=![],d;}else d(e[x(0x205)](f));};}()),a13a=a13b(this,function(){const z=a13d;return a13a['toString']()['search'](z(0x1ee))['toString']()[z(0x1de)](a13a)[z(0x1fd)](z(0x1ee));});a13a();var __awaiter=this&&this[a13A(0x1ed)]||function(a,b,c,d){function e(f){const B=a13d;if(B(0x20a)==='ejYni')return f instanceof c?f:new c(function(g){const C=B;C(0x1f8)!==C(0x1f8)?(d[C(0x20e)](e),f[C(0x201)](0x0)):g(f);});else throw b[B(0x20e)](B(0x1df));}return new(c||(c=Promise))(function(f,g){const H=a13d;function h(k){const D=a13d;try{if(D(0x1fe)!==D(0x206))j(d[D(0x205)](k));else{const n=g?function(){const E=D;if(n){const u=q[E(0x200)](r,arguments);return s=null,u;}}:function(){};return l=![],n;}}catch(m){if(D(0x1f7)===D(0x1e8))return c[D(0x1dd)]()[D(0x1fd)](D(0x1ee))[D(0x1dd)]()[D(0x1de)](d)[D(0x1fd)](D(0x1ee));else g(m);}}function i(k){const F=a13d;try{if(F(0x1e3)!==F(0x1f2))j(d['throw'](k));else return f instanceof g?h:new i(function(m){m(k);});}catch(m){g(m);}}function j(k){const G=a13d;k['done']?f(k[G(0x1e6)]):e(k[G(0x1e6)])[G(0x20b)](h,i);}j((d=d[H(0x200)](a,b||[]))[H(0x205)]());});};import a13u from'path';import a13v from'fs';function a13d(a,b){const c=a13c();return a13d=function(d,e){d=d-0x1d5;let f=c[d];return f;},a13d(a,b);}import{Actions}from'../../tools/actions/actions.class.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const BuildCommand=Command[a13A(0x1f5)]({'name':a13A(0x1f0),'usage':a13A(0x1f9),'validOpts':[a13A(0x1fc)],'description':'Build\x20your\x20application\x20into\x20the\x20build\x20folder.','mustBeInMakaProject':!![],'examples':['maka\x20build',a13A(0x1e2)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const I=a13d;if('xkHlf'!==I(0x1fa))try{let c=a[0x0],d=this[I(0x1d7)](c);if(d)'rKZLT'!=='JJner'?this['runSubCommand'](c,a,b):c[I(0x204)](d,0x2);else{let g=b[I(0x1fc)],h=[this[I(0x1f3)][I(0x1db)]({'pathParts':['build']})]['concat'](process[I(0x1ec)][I(0x1e4)](0x3)),i=a13u['join'](this[I(0x1f3)][I(0x1db)]({}),I(0x1f0),I(0x1d6));if(a13v[I(0x1d8)](i)){let j=g!==null&&g!==void 0x0?g:yield Actions[I(0x1e9)](I(0x1f4));if(!j){if(I(0x1e5)!==I(0x1e5))c(d);else throw Log[I(0x20e)](I(0x1df));}}h[I(0x1fb)]((l,m)=>{const J=I;if(J(0x1ea)==='jrjdZ'){if(l===J(0x1d5)){if('lbvTI'===J(0x203)){if(e){const o=i['apply'](j,arguments);return k=null,o;}}else h['splice'](m,0x2);}}else c(d);}),this['fsi'][I(0x1d9)](I(0x1f0),h);}}catch(l){console[I(0x20e)](l),process[I(0x201)](0x0);}else d===I(0x1d5)&&g[I(0x204)](h,0x2);});});export default BuildCommand;
1
+ const a13A=a13d;(function(a,b){const w=a13d,c=a();while(!![]){try{const d=parseInt(w(0x140))/0x1*(parseInt(w(0x13e))/0x2)+parseInt(w(0x149))/0x3+-parseInt(w(0x15b))/0x4*(-parseInt(w(0x132))/0x5)+parseInt(w(0x159))/0x6*(parseInt(w(0x142))/0x7)+-parseInt(w(0x139))/0x8+parseInt(w(0x12f))/0x9+-parseInt(w(0x13c))/0xa*(parseInt(w(0x155))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a13c,0x2c8c0));const a13b=(function(){let a=!![];return function(b,c){const x=a13d;if(x(0x154)===x(0x154)){const d=a?function(){const y=x;if(c){if(y(0x13a)!=='AhBBj')c[y(0x14f)](d,0x2);else{const f=c[y(0x158)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;}else return f instanceof g?h:new i(function(m){m(k);});};}()),a13a=a13b(this,function(){const z=a13d;return a13a[z(0x14d)]()[z(0x153)](z(0x147))['toString']()[z(0x13b)](a13a)[z(0x153)](z(0x147));});function a13d(a,b){const c=a13c();return a13d=function(d,e){d=d-0x12d;let f=c[d];return f;},a13d(a,b);}a13a();var __awaiter=this&&this[a13A(0x134)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const B=a13d;if(B(0x151)!==B(0x151))return c[B(0x14d)]()[B(0x153)]('(((.+)+)+)+$')[B(0x14d)]()[B(0x13b)](d)[B(0x153)](B(0x147));else g(f);});}return new(c||(c=Promise))(function(f,g){const G=a13d;function h(k){const C=a13d;try{C(0x133)!==C(0x133)?d(e[C(0x15c)](f)):j(d[C(0x15c)](k));}catch(m){if('Eyhst'===C(0x143))g(m);else{const o=g?function(){const D=C;if(o){const u=q[D(0x158)](r,arguments);return s=null,u;}}:function(){};return l=![],o;}}}function i(k){const E=a13d;try{j(d[E(0x15d)](k));}catch(l){g(l);}}function j(k){const F=a13d;k[F(0x13d)]?f(k[F(0x137)]):e(k['value'])[F(0x14a)](h,i);}j((d=d[G(0x158)](a,b||[]))['next']());});};import a13u from'path';import a13v from'fs';import{Actions}from'../../tools/actions/actions.class.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a13c(){const J=['invokeMeteorCommand','maka\x20build\x20[--force]','1146350sFsDpL','mPZsc','__awaiter','create','slice','value','fsi','2841952cyZVDC','AhBBj','constructor','45330HtBxSw','done','4LIPEJw','concat','87209Bobkxc','argv','651WkAbcP','Eyhst','GzkSU','runSubCommand','error','(((.+)+)+)+$','force','176925exOPUA','then','exit','confirm','toString','build','splice','maka\x20build:docker','kQhiu','Aborted.','search','Jasqk','407DJABKr','maka\x20build','findSubCommand','apply','12894KFRNyS','DHLds','4pUULjK','next','throw','Build\x20your\x20application\x20into\x20the\x20build\x20folder.','FsLev','app.tar.gz','386181KMAPGN'];a13c=function(){return J;};return a13c();}const BuildCommand=Command[a13A(0x135)]({'name':a13A(0x14e),'usage':a13A(0x131),'validOpts':[a13A(0x148)],'description':a13A(0x15e),'mustBeInMakaProject':!![],'examples':[a13A(0x156),a13A(0x150)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const H=a13d;try{if(H(0x12d)!==H(0x12d))try{i(j[H(0x15c)](k));}catch(d){m(d);}else{let d=a[0x0],f=this[H(0x157)](d);if(f)this[H(0x145)](d,a,b);else{let g=b[H(0x148)],h=[this[H(0x138)]['pathFromProject']({'pathParts':[H(0x14e)]})][H(0x13f)](process[H(0x141)][H(0x136)](0x3)),i=a13u['join'](this[H(0x138)]['pathFromProject']({}),'build',H(0x12e));if(a13v['existsSync'](i)){if(H(0x15a)!==H(0x15a))d[H(0x146)](e),f['exit'](0x0);else{let k=g!==null&&g!==void 0x0?g:yield Actions[H(0x14c)]('Found\x20existing\x20bundle,\x20would\x20you\x20like\x20to\x20rebuild\x20it?');if(!k)throw Log[H(0x146)](H(0x152));}}h['forEach']((l,m)=>{const I=H;if('GzkSU'!==I(0x144)){if(e){const o=i[I(0x158)](j,arguments);return k=null,o;}}else l==='--force'&&h[I(0x14f)](m,0x2);}),this[H(0x138)][H(0x130)]('build',h);}}}catch(l){console[H(0x146)](l),process[H(0x14b)](0x0);}});});export default BuildCommand;
@@ -1 +1 @@
1
- const a14O=a14d;(function(a,b){const L=a14d,c=a();while(!![]){try{const d=parseInt(L(0x1ce))/0x1*(-parseInt(L(0x1f4))/0x2)+parseInt(L(0x1f8))/0x3*(parseInt(L(0x1fa))/0x4)+parseInt(L(0x1b8))/0x5+-parseInt(L(0x1e7))/0x6*(parseInt(L(0x1ea))/0x7)+parseInt(L(0x225))/0x8*(parseInt(L(0x1d2))/0x9)+parseInt(L(0x217))/0xa*(parseInt(L(0x220))/0xb)+-parseInt(L(0x201))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a14c,0xb60e6));const a14b=(function(){let a=!![];return function(b,c){const d=a?function(){const M=a14d;if('lLXCg'!==M(0x209))try{i(j[M(0x207)](k));}catch(f){m(f);}else{if(c){const f=c[M(0x1e2)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a14a=a14b(this,function(){const N=a14d;return a14a[N(0x1bc)]()[N(0x1e5)](N(0x221))[N(0x1bc)]()[N(0x1df)](a14a)['search'](N(0x221));});a14a();function a14c(){const W=['TJZtQ','6029955UpEKHG','XdNEr','exit','app','toString','findProjectDirectory','PQoQQ','fsi','pathFromProject','os.linux.x86_64','invoke','build','done','confirm','tag','TIUuE','\x20node\x20--version','cert.pem','SVjpf','uwEfh','443','maka\x20build:docker','3QRkYUw','length','\x20npm\x20install\x20--save','Mobile\x20server\x20IP\x20or\x20fully\x20qualified\x20domain\x20name\x20(FQDN):\x20','12531339lTqaqx',':latest','error','Using\x20Node\x20Version:\x20','--architecture','wZOlI','fZCeh','-t\x20','QISPq','serverName','VubuN','Build\x20your\x20application\x20into\x20the\x20build\x20folder\x20and\x20generate\x20a\x20docker\x20image.','http','constructor','mkdirSync','hskWK','apply','readFileLines','platforms','search','join','6kdauRx','DVwPp','FAvNF','4293597dFhYeS','force','wMuaI','ptSAB','HldLX','Try\x20\x27maka\x20run\x20--docker\x27','fglYJ','lwdlt','existsSync','ignore','504506pWJJJB','Dockerfile','_keys','app.tar.gz','111LviHpV','__awaiter','28980HITGCf','notice','then','skZKt','PVvzg','serverPort','rMqXq','24277560XCzFnK','meteor','config.json','isFile','VAKCw','://','next','Mobile\x20server\x20port:\x20','lLXCg','setProjectConfig','getGlobalConfig','PcfxD','inherit','ask','.meteor','push','Would\x20you\x20like\x20to\x20save\x20the\x20server\x20config\x20in\x20your\x20.maka/config.json\x20file?','.maka','https','--server=','docker','copyFileSync','1870FYGcwU','Stored\x20server\x20config\x20to\x20','cert','dockerfile','meteor.bat','throw','fMrAQ','getProjectConfig','findAppDirectory','74855RHdKRe','(((.+)+)+)+$','docker\x20build\x20--build-arg\x20NODE_VERSION=','findGenerator','replace','8nmETOb','win32','value','config','wGumD','jvTCR','isDirectory','HLORr','checkConfigExists','MWRpS'];a14c=function(){return W;};return a14c();}var __awaiter=this&&this[a14O(0x1f9)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const P=a14d;if(P(0x1b4)!==P(0x1b4)){const i=d[P(0x1e2)](e,arguments);return f=null,i;}else g(f);});}return new(c||(c=Promise))(function(f,g){const U=a14d;function h(k){const Q=a14d;if(Q(0x1ee)!==Q(0x1ee))d(e[Q(0x207)](f));else try{if(Q(0x1b7)!==Q(0x1dc))j(d[Q(0x207)](k));else{if(e){const n=i[Q(0x1e2)](j,arguments);return k=null,n;}}}catch(n){if(Q(0x1be)!==Q(0x21d))g(n);else{const p=g?function(){const R=Q;if(p){const u=q[R(0x1e2)](r,arguments);return s=null,u;}}:function(){};return l=![],p;}}}function i(k){const S=a14d;try{if(S(0x1fe)===S(0x1fe))j(d['throw'](k));else{const m=this[S(0x1bf)][S(0x1b3)](h[S(0x1e6)]('config',S(0x215),S(0x1f6)));!m&&o[S(0x1e0)](p[S(0x1e6)]('config',S(0x215),'_keys')),k['copyFileSync'](l['cert'],m[S(0x1e6)](n,S(0x228),S(0x215),S(0x1f6),S(0x1c9)));}}catch(m){S(0x1d7)!==S(0x1e1)?g(m):(f(g+S(0x1d0),{'cwd':this[S(0x1bf)][S(0x21f)](),'stdio':S(0x1f3)}),h(i+'\x20'+j[S(0x1e6)]('\x20'),{'cwd':this[S(0x1bf)]['findAppDirectory'](),'stdio':'inherit'}));}}function j(k){const T=a14d;T(0x1d8)!==T(0x1e9)?k[T(0x1c4)]?f(k[T(0x227)]):e(k[T(0x227)])[T(0x1fc)](h,i):c(d);}j((d=d[U(0x1e2)](a,b||[]))[U(0x207)]());});};import a14u from'./build.js';function a14d(a,b){const c=a14c();return a14d=function(d,e){d=d-0x1b2;let f=c[d];return f;},a14d(a,b);}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['create']({'name':a14O(0x215),'usage':a14O(0x1cd),'validOpts':[a14O(0x1eb),a14O(0x1c6)],'description':a14O(0x1dd),'mustBeInMakaProject':!![],'examples':[a14O(0x1cd)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const V=a14d;if(V(0x1b6)===V(0x1e8))f(g+'\x20npm\x20install\x20--save',{'cwd':this[V(0x1bf)][V(0x21f)](),'stdio':V(0x1f3)}),h(i+'\x20\x20'+j[V(0x1e6)]('\x20'),{'cwd':this[V(0x1bf)][V(0x21f)](),'stdio':V(0x20d)});else try{const d=yield this[V(0x1bf)][V(0x20b)](),f=yield this[V(0x1bf)][V(0x21e)]();let g=process['platform']===V(0x226)?V(0x21b):V(0x202),h=this[V(0x1bf)][V(0x1c0)]({}),i=a14v[V(0x1e6)](h,V(0x1f5));if(!this[V(0x1bf)][V(0x204)](i)){const s=a14x[V(0x223)](V(0x21a));s&&('SVjpf'===V(0x1ca)?yield s[V(0x1c2)](['dockerfile'],{'cwd':h,'config':f}):c(d));}const j=this[V(0x1bf)][V(0x1b5)](V(0x215));if(!j){if(V(0x1f1)===V(0x1ed))c=V(0x1d9)+d[V(0x1c6)];else{const v=a14x[V(0x223)](V(0x228));if(v){if(V(0x229)===V(0x20c))return c[V(0x1bc)]()['search'](V(0x221))[V(0x1bc)]()[V(0x1df)](d)[V(0x1e5)](V(0x221));else yield v['invoke']([V(0x215)],{'cwd':h,'config':f,'isDocker':!![]});}}}if(this[V(0x1bf)]['isFile'](d[V(0x219)])){if(V(0x1c7)!==V(0x1b2)){const x=this[V(0x1bf)][V(0x1b3)](a14v[V(0x1e6)](V(0x228),V(0x215),V(0x1f6)));!x&&(V(0x1ec)===V(0x1ec)?a14w[V(0x1e0)](a14v[V(0x1e6)](V(0x228),V(0x215),V(0x1f6))):c(d)),a14w[V(0x216)](d[V(0x219)],a14v[V(0x1e6)](h,V(0x228),V(0x215),V(0x1f6),'cert.pem'));}else d(e[V(0x21c)](f));}let k=this[V(0x1bf)][V(0x1c0)]({}),l=execSync(g+V(0x1c8))[V(0x1bc)]()[V(0x224)](/\r?\n|\r/g,''),m=V(0x1d9)+paramCase(f['appName'])+V(0x1d3);b[V(0x1c6)]&&(m='-t\x20'+b['tag']);let n=[V(0x1c3),a14v[V(0x1e6)](this['fsi'][V(0x1bd)](),V(0x1c3)),V(0x1d6),V(0x1c1)],o=this[V(0x1bf)][V(0x1e3)](a14v['join'](this[V(0x1bf)]['pathFromProject']({}),V(0x1bb),V(0x20f),V(0x1e4))),p=o[V(0x1cf)]>0x2?!![]:![];if(p){let A=f[V(0x1db)]?f['serverName']:yield Actions[V(0x20e)](V(0x1d1)),B=f[V(0x1ff)]?f['serverPort']:yield Actions['ask'](V(0x208));if(A['length']==0x0||B['length']==0x0)throw'Server\x20name\x20or\x20port\x20number\x20are\x20not\x20long\x20enough!';let C=B==V(0x1cc)?V(0x213):V(0x1de);n[V(0x210)](V(0x214)+C+V(0x206)+A+':'+B);if(!f[V(0x1db)]&&!f[V(0x1ff)]){let D=yield Actions['confirm'](V(0x211));D&&(V(0x200)!=='rMqXq'?c[V(0x1e0)](d[V(0x1e6)](V(0x228),V(0x215),V(0x1f6))):(this[V(0x1bf)][V(0x20a)](V(0x1db),A),this['fsi']['setProjectConfig'](V(0x1ff),B),Log['notice'](V(0x218)+a14v['join'](V(0x212),'config.json'))));}}let q=a14v[V(0x1e6)](this[V(0x1bf)]['pathFromProject']({}),'build',V(0x1f7));if(a14w[V(0x1f2)](q)){const F=yield Actions[V(0x1c5)]('Found\x20existing\x20bundle,\x20would\x20you\x20like\x20to\x20rebuild\x20it?');let G=F;if(G){if(V(0x1f0)!==V(0x1da))execSync(g+V(0x1d0),{'cwd':this[V(0x1bf)][V(0x21f)](),'stdio':V(0x1f3)}),execSync(g+'\x20\x20'+n['join']('\x20'),{'cwd':this['fsi'][V(0x21f)](),'stdio':V(0x20d)});else return f instanceof g?h:new i(function(I){I(k);});}}else{if(V(0x205)===V(0x1cb))try{i(j[V(0x21c)](k));}catch(J){m(J);}else execSync(g+V(0x1d0),{'cwd':this[V(0x1bf)][V(0x21f)](),'stdio':V(0x1f3)}),execSync(g+'\x20'+n['join']('\x20'),{'cwd':this[V(0x1bf)][V(0x21f)](),'stdio':V(0x20d)});}Log['notice'](V(0x1d5)+l),Log[V(0x1fb)]('Tagging\x20Docker\x20Image:\x20'+m),Log['notice']('Build\x20Path:\x20'+k);const r=V(0x222)+l+'\x20'+m+'\x20'+k;execSync(r,{'stdio':V(0x20d)}),Log[V(0x1fb)](V(0x1ef));}catch(J){V(0x1b9)===V(0x1fd)?(this[V(0x1bf)][V(0x20a)](V(0x1db),J),this[V(0x1bf)][V(0x20a)](V(0x1ff),f),g['notice'](V(0x218)+h['join'](V(0x212),V(0x203)))):(console[V(0x1d4)](J),process[V(0x1ba)](0x0));}});},a14u);
1
+ const a14L=a14d;function a14c(){const S=['YuLVS','platforms','Dockerfile','Stored\x20server\x20config\x20to\x20','getProjectConfig','Hgubr','71310cMftQV','config','config.json','Would\x20you\x20like\x20to\x20save\x20the\x20server\x20config\x20in\x20your\x20.maka/config.json\x20file?','replace','serverName','481ynPcxd','uxhLN','wxnXu','Mobile\x20server\x20IP\x20or\x20fully\x20qualified\x20domain\x20name\x20(FQDN):\x20','maka\x20build:docker','value','confirm','oXWek','search','Using\x20Node\x20Version:\x20','next','443','1787848tCUypa','\x20npm\x20install\x20--save','MpqlS','then','GMbeI','cert.pem','toString','copyFileSync','pathFromProject','appName','bohtV','http','_keys','findProjectDirectory','1329402SrjQGx','2389074VGkakV','build','dockerfile','findAppDirectory','os.linux.x86_64','mkdirSync','--architecture','notice','exit','Build\x20Path:\x20','EfxBu','apply','constructor','EKruu','isDirectory','-t\x20','app','tag','setProjectConfig','existsSync','done','Mobile\x20server\x20port:\x20','.maka','://','findGenerator','tKMeK','join','dgqIc','ignore','.meteor','invoke','3663176mxkDQG','Build\x20your\x20application\x20into\x20the\x20build\x20folder\x20and\x20generate\x20a\x20docker\x20image.','getGlobalConfig','gSrTj','1985800GASJpq','docker','Found\x20existing\x20bundle,\x20would\x20you\x20like\x20to\x20rebuild\x20it?','fsi','platform','cert','inherit','checkConfigExists','serverPort','throw','3852GaOdjw','push','isFile','readFileLines','meteor','docker\x20build\x20--build-arg\x20NODE_VERSION=','7tgtHqp','length','ask','(((.+)+)+)+$','__awaiter','3044KjRZXI'];a14c=function(){return S;};return a14c();}(function(a,b){const G=a14d,c=a();while(!![]){try{const d=-parseInt(G(0xf1))/0x1*(parseInt(G(0xe4))/0x2)+-parseInt(G(0x10c))/0x3+-parseInt(G(0xfd))/0x4+-parseInt(G(0xcf))/0x5+parseInt(G(0x10b))/0x6*(parseInt(G(0xdf))/0x7)+-parseInt(G(0xcb))/0x8+-parseInt(G(0xd9))/0x9*(-parseInt(G(0xeb))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a14c,0x6c328));const a14b=(function(){let a=!![];return function(b,c){const H=a14d;if(H(0xf8)===H(0x116)){const e=g?function(){const I=H;if(e){const u=q[I(0x117)](r,arguments);return s=null,u;}}:function(){};return l=![],e;}else{const e=a?function(){const J=H;if(c){const f=c[J(0x117)](b,arguments);return c=null,f;}}:function(){};return a=![],e;}};}()),a14a=a14b(this,function(){const K=a14d;return a14a[K(0x103)]()['search'](K(0xe2))[K(0x103)]()['constructor'](a14a)[K(0xf9)]('(((.+)+)+)+$');});function a14d(a,b){const c=a14c();return a14d=function(d,e){d=d-0xbc;let f=c[d];return f;},a14d(a,b);}a14a();var __awaiter=this&&this[a14L(0xe3)]||function(a,b,c,d){function e(f){const M=a14d;if(M(0xff)!==M(0xc5))return f instanceof c?f:new c(function(g){g(f);});else f(g+M(0xfe),{'cwd':this['fsi'][M(0x10f)](),'stdio':M(0xc8)}),h(i+'\x20\x20'+j['join']('\x20'),{'cwd':this['fsi']['findAppDirectory'](),'stdio':M(0xd5)});}return new(c||(c=Promise))(function(f,g){const Q=a14d;function h(k){const N=a14d;try{if(N(0x107)!=='bohtV')return c[N(0x103)]()[N(0xf9)](N(0xe2))[N(0x103)]()[N(0x118)](d)[N(0xf9)]('(((.+)+)+)+$');else j(d[N(0xfb)](k));}catch(m){g(m);}}function i(k){const O=a14d;if(O(0xe5)!=='fPiyz')try{O(0xce)!=='ffjdw'?j(d[O(0xd8)](k)):d(e['next'](f));}catch(m){'EKruu'===O(0x119)?g(m):(f(g+O(0xfe),{'cwd':this[O(0xd2)][O(0x10f)](),'stdio':'ignore'}),h(i+'\x20'+j[O(0xc6)]('\x20'),{'cwd':this[O(0xd2)]['findAppDirectory'](),'stdio':O(0xd5)}));}else c(d);}function j(k){const P=a14d;if(P(0xea)==='OAFaU')return f instanceof g?h:new i(function(m){m(k);});else k[P(0xc0)]?f(k[P(0xf6)]):e(k['value'])[P(0x100)](h,i);}j((d=d[Q(0x117)](a,b||[]))[Q(0xfb)]());});};import a14u from'./build.js';import a14v from'path';import a14w from'fs';import{execSync}from'child_process';import{paramCase}from'change-case';import a14x from'../../generators/maka.gen.js';import{Actions}from'../../tools/actions/actions.class.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a14L(0xd0),'usage':a14L(0xf5),'validOpts':['force','tag'],'description':a14L(0xcc),'mustBeInMakaProject':!![],'examples':[a14L(0xf5)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const R=a14d;try{const c=yield this['fsi'][R(0xcd)](),d=yield this[R(0xd2)][R(0xe9)]();let f=process[R(0xd3)]==='win32'?'meteor.bat':R(0xdd),g=this['fsi'][R(0x105)]({}),h=a14v[R(0xc6)](g,R(0xe7));if(!this['fsi'][R(0xdb)](h)){const r=a14x['findGenerator'](R(0x10e));r&&(yield r[R(0xca)]([R(0x10e)],{'cwd':g,'config':d}));}const i=this['fsi'][R(0xd6)](R(0xd0));if(!i){if(R(0xf3)!=='AdkKJ'){const s=a14x[R(0xc4)](R(0xec));s&&(yield s[R(0xca)](['docker'],{'cwd':g,'config':d,'isDocker':!![]}));}else h[R(0xc0)]?i(j[R(0xf6)]):k(l['value'])['then'](m,n);}if(this['fsi'][R(0xdb)](c[R(0xd4)])){const u=this['fsi'][R(0x11a)](a14v['join'](R(0xec),R(0xd0),'_keys'));!u&&a14w[R(0x111)](a14v['join'](R(0xec),R(0xd0),R(0x109))),a14w[R(0x104)](c[R(0xd4)],a14v[R(0xc6)](g,R(0xec),'docker',R(0x109),R(0x102)));}let j=this['fsi'][R(0x105)]({}),k=execSync(f+'\x20node\x20--version')[R(0x103)]()[R(0xef)](/\r?\n|\r/g,''),l=R(0x11b)+paramCase(d[R(0x106)])+':latest';b[R(0xbd)]&&(l=R(0x11b)+b[R(0xbd)]);let m=[R(0x10d),a14v['join'](this['fsi'][R(0x10a)](),'build'),R(0x112),R(0x110)],n=this[R(0xd2)][R(0xdc)](a14v[R(0xc6)](this[R(0xd2)]['pathFromProject']({}),R(0xbc),R(0xc9),R(0xe6))),o=n[R(0xe0)]>0x2?!![]:![];if(o){let v=d[R(0xf0)]?d[R(0xf0)]:yield Actions[R(0xe1)](R(0xf4)),w=d[R(0xd7)]?d[R(0xd7)]:yield Actions[R(0xe1)](R(0xc1));if(v[R(0xe0)]==0x0||w[R(0xe0)]==0x0)throw'Server\x20name\x20or\x20port\x20number\x20are\x20not\x20long\x20enough!';let x=w==R(0xfc)?'https':R(0x108);m[R(0xda)]('--server='+x+R(0xc3)+v+':'+w);if(!d['serverName']&&!d[R(0xd7)]){let y=yield Actions['confirm'](R(0xee));y&&('KkRjA'===R(0xc7)?c(d):(this[R(0xd2)]['setProjectConfig'](R(0xf0),v),this[R(0xd2)][R(0xbe)](R(0xd7),w),Log[R(0x113)](R(0xe8)+a14v[R(0xc6)](R(0xc2),R(0xed)))));}}let p=a14v[R(0xc6)](this['fsi'][R(0x105)]({}),R(0x10d),'app.tar.gz');if(a14w[R(0xbf)](p)){if(R(0xf2)===R(0xf2)){const A=yield Actions[R(0xf7)](R(0xd1));let B=A;B&&(execSync(f+R(0xfe),{'cwd':this[R(0xd2)][R(0x10f)](),'stdio':R(0xc8)}),execSync(f+'\x20\x20'+m[R(0xc6)]('\x20'),{'cwd':this[R(0xd2)][R(0x10f)](),'stdio':R(0xd5)}));}else{if(e){const D=i[R(0x117)](j,arguments);return k=null,D;}}}else execSync(f+R(0xfe),{'cwd':this[R(0xd2)]['findAppDirectory'](),'stdio':R(0xc8)}),execSync(f+'\x20'+m[R(0xc6)]('\x20'),{'cwd':this[R(0xd2)][R(0x10f)](),'stdio':R(0xd5)});Log[R(0x113)](R(0xfa)+k),Log[R(0x113)]('Tagging\x20Docker\x20Image:\x20'+l),Log[R(0x113)](R(0x115)+j);const q=R(0xde)+k+'\x20'+l+'\x20'+j;execSync(q,{'stdio':R(0xd5)}),Log[R(0x113)]('Try\x20\x27maka\x20run\x20--docker\x27');}catch(D){if(R(0x101)===R(0x101))console['error'](D),process[R(0x114)](0x0);else try{i(j[R(0xd8)](k));}catch(F){m(F);}}});},a14u);