@maka/maka-cli 4.1.0 → 4.1.4

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 (95) hide show
  1. package/dist/command.js +1 -1
  2. package/dist/commands/_index.js +1 -1
  3. package/dist/commands/aws/_index.js +1 -1
  4. package/dist/commands/aws/aws.command.js +1 -1
  5. package/dist/commands/aws/ci.sub.cmd.js +1 -1
  6. package/dist/commands/aws/ckp.sub.cmd.js +1 -1
  7. package/dist/commands/aws/csg.sub.cmd.js +1 -1
  8. package/dist/commands/aws/di.sub.cmd.js +1 -1
  9. package/dist/commands/aws/dks.sub.cmd.js +1 -1
  10. package/dist/commands/aws/rbi.sub.cmd.js +1 -1
  11. package/dist/commands/aws/sth.sub.cmd.js +1 -1
  12. package/dist/commands/aws/ti.sub.cmd.js +1 -1
  13. package/dist/commands/build/_index.js +1 -1
  14. package/dist/commands/build/build.js +1 -1
  15. package/dist/commands/build/docker.sub.cmd.js +1 -1
  16. package/dist/commands/create.js +1 -1
  17. package/dist/commands/debug.js +1 -1
  18. package/dist/commands/deploy.js +1 -1
  19. package/dist/commands/game/_index.js +1 -1
  20. package/dist/commands/game/battleship.sub.cmd.js +1 -1
  21. package/dist/commands/game/play.command.js +1 -1
  22. package/dist/commands/game/pong.sub.cmd.js +1 -1
  23. package/dist/commands/game/snake.sub.cmd.js +1 -1
  24. package/dist/commands/game/tetris.sub.cmd.js +1 -1
  25. package/dist/commands/generate.js +1 -1
  26. package/dist/commands/get/_index.js +1 -1
  27. package/dist/commands/get/get.command.js +1 -1
  28. package/dist/commands/get/global.sub.cmd.js +1 -1
  29. package/dist/commands/get/local.sub.cmd.js +1 -1
  30. package/dist/commands/help.js +1 -1
  31. package/dist/commands/install.js +1 -1
  32. package/dist/commands/jsdoc.js +1 -1
  33. package/dist/commands/login.js +1 -1
  34. package/dist/commands/logout.js +1 -1
  35. package/dist/commands/logs.js +1 -1
  36. package/dist/commands/maka.cmd.js +1 -1
  37. package/dist/commands/murder.js +1 -1
  38. package/dist/commands/reconfig.js +1 -1
  39. package/dist/commands/run.js +1 -1
  40. package/dist/commands/set/_index.js +1 -1
  41. package/dist/commands/set/global.sub.cmd.js +1 -1
  42. package/dist/commands/set/local.sub.cmd.js +1 -1
  43. package/dist/commands/set/set.command.js +1 -1
  44. package/dist/commands/ssh.js +1 -1
  45. package/dist/commands/ssl.js +1 -1
  46. package/dist/commands/test.js +1 -1
  47. package/dist/commands/version.js +1 -1
  48. package/dist/error.js +1 -1
  49. package/dist/generator.js +1 -1
  50. package/dist/generators/_index.js +1 -1
  51. package/dist/generators/api.js +1 -1
  52. package/dist/generators/collection.js +1 -1
  53. package/dist/generators/component.js +1 -1
  54. package/dist/generators/config.js +1 -1
  55. package/dist/generators/dbc.js +1 -1
  56. package/dist/generators/dockerfile.js +1 -1
  57. package/dist/generators/hook.js +1 -1
  58. package/dist/generators/kit.js +1 -1
  59. package/dist/generators/layout.js +1 -1
  60. package/dist/generators/maka.gen.js +1 -1
  61. package/dist/generators/methods.js +1 -1
  62. package/dist/generators/package.js +1 -1
  63. package/dist/generators/page.js +1 -1
  64. package/dist/generators/publish.js +1 -1
  65. package/dist/generators/route.js +1 -1
  66. package/dist/generators/scaffold.js +1 -1
  67. package/dist/generators/service.js +1 -1
  68. package/dist/generators/services/_index.js +1 -1
  69. package/dist/generators/services/translation.js +1 -1
  70. package/dist/maka.js +1 -1
  71. package/dist/templates/meteor/app/client/head.html +1 -0
  72. package/dist/templates/meteor/app/public/favicon.ico +0 -0
  73. package/dist/templates/meteor/app/public/maka-144x144.png +0 -0
  74. package/dist/templates/meteor/app/public/maka-192x192.png +0 -0
  75. package/dist/templates/meteor/app/public/maka-512x512.png +0 -0
  76. package/dist/templates/meteor/app/public/manifest.json +21 -3
  77. package/dist/tool.js +1 -1
  78. package/dist/tools/actions/actions.class.js +1 -1
  79. package/dist/tools/actions/actions.test.js +1 -1
  80. package/dist/tools/aws/aws.class.js +1 -1
  81. package/dist/tools/aws/aws.interfaces.js +1 -1
  82. package/dist/tools/docker/docker.class.js +1 -1
  83. package/dist/tools/docker/docker.interfaces.js +1 -1
  84. package/dist/tools/fsi/fsi.class.js +1 -1
  85. package/dist/tools/fsi/fsi.interfaces.js +1 -1
  86. package/dist/tools/https/https.class.js +1 -1
  87. package/dist/tools/https/https.interface.js +1 -1
  88. package/dist/tools/log/log.class.js +1 -1
  89. package/dist/tools/log/log.interfaces.js +1 -1
  90. package/dist/tools/spawn-async/spawn-async.class.js +1 -1
  91. package/dist/tools/spawn-async/spawn-async.interfaces.js +1 -1
  92. package/dist/tools/ssh/ssh.class.js +1 -1
  93. package/dist/tools/ssh/ssh.interfaces.js +1 -1
  94. package/dist/tools/ssl/ssl.class.js +1 -1
  95. package/package.json +1 -1
package/dist/command.js CHANGED
@@ -1 +1 @@
1
- const a0R=a0d;(function(a,b){const N=a0d,c=a();while(!![]){try{const d=parseInt(N(0x123))/0x1+-parseInt(N(0x10a))/0x2+-parseInt(N(0x116))/0x3+parseInt(N(0xd2))/0x4+parseInt(N(0x113))/0x5*(parseInt(N(0x142))/0x6)+parseInt(N(0xdd))/0x7+parseInt(N(0x126))/0x8*(-parseInt(N(0xd3))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a0c,0x903aa));const a0b=(function(){let a=!![];return function(b,c){const P=a0d;if('OAVHJ'!=='MEDPo'){const d=a?function(){const O=a0d;if(c){if('vDgPH'===O(0x12d))return f instanceof g?h:new i(function(m){m(k);});else{const f=c[O(0x110)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;}else{const f=d[P(0x110)](e,arguments);return f=null,f;}};}()),a0a=a0b(this,function(){const Q=a0d;return a0a[Q(0x102)]()[Q(0x135)](Q(0xf2))[Q(0x102)]()[Q(0x158)](a0a)[Q(0x135)]('(((.+)+)+)+$');});a0a();var __awaiter=this&&this[a0R(0xcc)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const S=a0d;S(0xf7)==='OsIdq'?c[S(0xf1)]('Trial\x20License\x20Expires:\x20'+d[S(0x141)]['split']('T')[0x0]):g(f);});}return new(c||(c=Promise))(function(f,g){const W=a0d;function h(k){const T=a0d;try{j(d[T(0x14b)](k));}catch(l){g(l);}}function i(k){const U=a0d;try{j(d[U(0x13a)](k));}catch(l){g(l);}}function j(k){const V=a0d;k['done']?f(k['value']):e(k[V(0xe7)])[V(0x10e)](h,i);}j((d=d[W(0x110)](a,b||[]))['next']());});};import a0I from'path';function a0d(a,b){const c=a0c();return a0d=function(d,e){d=d-0xcb;let f=c[d];return f;},a0d(a,b);}import a0J from'os';import a0K from'fs';const homeDir=a0J[a0R(0x127)]();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';function a0c(){const aj=['_commands','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','find','search','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','AppData','wyKys','sort','throw','invoke','roles','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20command','Too\x20many\x20arguments','jcPnE','proFlags','trialExpirationDate','1488leTFvv','exit','To\x20use\x20this\x20command,\x20\x22','zDhQv','Too\x20few\x20options','length','RtCjc','addCommand','fsi','next','CVIVJ','oHdpr','GpLpo','description','To\x20use\x20these\x20pro\x20flags,\x20\x22','yFMql','Command.create\x20requires\x20a\x20handler\x20function!','parent','done','ofTDY','wqXoa','YHKSN','constructor','create','platform','maxOptsLength','__awaiter','Trial\x20License\x20Expires:\x20','UogqT','findCommand','splice','proCommands','992860mTaahc','572301tMzEGr','validateMakaSubscription','runSubCommand','win32','game','validateMakaProject','match','function','trialActive','filter','6533191GNPjNy','examples','Invalid\x20options:\x20','wuARu','minArgLength','FIOwa','TxodI','validateParams','HNeGV','kUVye','value','Commands:','maxArgLength','getPro','run','xDhXv','PxTAe','split','name','error','notice','(((.+)+)+)+$','Missing\x20required\x20option:\x20','.meteor','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','Description','ZQfmw','help','Missing\x20required\x20options\x20','forEach','tableList','join','Too\x20few\x20arguments','PqnsY','push','Local','minOptsLength','toString','uVvDf','Lbgod','dPdlU','domainLicense','nlToR','mustHaveMeteorInstalled','existsSync','1649110vpVsfZ','includes','call','aliases','then','Too\x20many\x20options','apply','kUIcx','vSQRs','5815PFdtRk','assign','validateMeteorInstall','272433JLRtVU','rXrzH','bind','options','deploy','number','WLxLa','gRzKh','OLdVq','_handler','There\x20is\x20no\x20Meteor\x20application\x20here','Command\x20requires\x20a\x20name','gRUSW','163354qPuaNV','mustBeInMakaProject','usage','16GBOIoS','homedir','Command.create\x20requires\x20some\x20options!','XZLTe','No\x20aliases','keys','MtPue','esaxD','ViNqc','concat','addCommand\x20requires\x20a\x20Command\x20instance','xrvjJ'];a0c=function(){return aj;};return a0c();}let _prevCmd='';export class Command extends Tool{constructor(a,b){const X=a0R;super();if(!a)throw new Error('Command\x20requires\x20first\x20param\x20to\x20be\x20an\x20object');if(!a[X(0xef)])throw new Error(X(0x121));if(typeof b!==X(0xda)){if(X(0x131)!==X(0x129))throw new Error('Command\x20requires\x20a\x20handler\x20function');else return this['options'][X(0xde)]||[];}this[X(0x119)]=Object[X(0x114)]({},a),this[X(0xef)]=this['options'][X(0xef)],this[X(0x132)]=[],this[X(0x11f)]=b[X(0x118)](this);}static[a0R(0x159)](a,b,c){const Y=a0R;var d;if(!a)throw new Error('Command.create\x20requires\x20some\x20options!');if(typeof b!==Y(0xda))throw new Error(Y(0x152));let e=new Command(a,b);return c=c||a0M,Object[Y(0x114)](e,{'parent':(d=c===null||c===void 0x0?void 0x0:c[Y(0x119)])===null||d===void 0x0?void 0x0:d[Y(0xef)]}),c['addCommand'](e),e;}[a0R(0xd9)](a){const Z=a0R;let b=[this['name']][Z(0x12f)](this[Z(0x119)]['aliases']||[]);return this[Z(0x153)]&&(Z(0x105)!==Z(0x105)?(b[Z(0xf1)](Z(0xe8)),this['tableList'](this['_commands'])):b[Z(0xff)](this[Z(0x153)])),b[Z(0x10b)](a);}[a0R(0x149)](a){const a0=a0R;if(!(a instanceof Command))throw new Error(a0(0x130));this[a0(0x132)]['push'](a);}[a0R(0xd8)](){const a1=a0R,a=this[a1(0x14a)]['findProjectDirectory']();return a!==![]?!![]:![];}[a0R(0x115)](){const a2=a0R;let a=a0I[a2(0xfc)](homeDir,'.meteor');const b=process[a2(0x15a)]===a2(0xd6);if(b){a=a0I[a2(0xfc)](homeDir,a2(0x137),a2(0x100),a2(0xf4));if(!a0K[a2(0x109)](a))return![];}else{if(!a0K[a2(0x109)](a))return![];}return!![];}[a0R(0xd4)](a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const a3=a0d;if(a3(0xe5)!==a3(0xe5))e['push']([f['name'],g[a3(0x10d)](),h[a3(0x14f)]()]);else try{if('xtUru'==='aDmLq'){c[a3(0xf0)](a3(0x13e));throw new d();}else{const f=this['findCommand'](a[0x0]);if(f){if(a3(0xce)===a3(0x145))d[a3(0xf0)](e),f['exit'](0x0);else{const h=(f===null||f===void 0x0?void 0x0:f['name'])||a[0x0],i=(f===null||f===void 0x0?void 0x0:f[a3(0x153)])||'',j=a[0x0],k=Object[a3(0x12b)](b),l=yield this[a3(0x14a)][a3(0xea)]();!l&&(Log[a3(0xf0)](a3(0xf5)),process['exit'](0x1));const m=(l===null||l===void 0x0?void 0x0:l['proCommands']['includes'](h))||(l===null||l===void 0x0?void 0x0:l[a3(0xd1)]['includes'](i)),n=!(l===null||l===void 0x0?void 0x0:l[a3(0x13c)][a3(0x10b)]('singleLicense'))&&!(l===null||l===void 0x0?void 0x0:l[a3(0x13c)][a3(0x10b)](a3(0x106)))&&!(l===null||l===void 0x0?void 0x0:l[a3(0xdb)]);if(m&&n)throw a3(0x144)+a[0x0]+'\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27';if(k[a3(0x147)]>0x0){const o=l===null||l===void 0x0?void 0x0:l[a3(0x140)][a3(0xdc)](p=>k[a3(0x10b)](p));if(o&&o['length']>0x0&&n)throw a3(0x150)+(o===null||o===void 0x0?void 0x0:o[a3(0xfc)](',\x20'))+a3(0x136);}if(j===a3(0x11a)){if(a3(0x14d)===a3(0x14d)){const p=yield this[a3(0x14a)][a3(0xea)](),q=p===null||p===void 0x0?void 0x0:p[a3(0xd1)]['includes'](a[0x0]+'\x20'+a[0x1]);if(q&&n){if(a3(0xfe)===a3(0x155))throw a3(0x144)+b[0x0]+a3(0x136);else throw a3(0x144)+a[0x0]+a3(0x136);}}else f['push'](a3(0xf8)),g['forEach'](t=>{const a4=a3;if(!k[a4(0x10b)](t)){n[a4(0xf0)](a4(0xdf)+t);throw new o();}});}(l===null||l===void 0x0?void 0x0:l[a3(0xdb)])&&Log[a3(0xf1)](a3(0xcd)+l[a3(0x141)][a3(0xee)]('T')[0x0]);}}}}catch(t){if('kZSQA'!=='LzPvF')throw t;else h[a3(0x154)]?i(j['value']):k(l[a3(0xe7)])['then'](m,n);}});}['validateParams'](a,b,c){const a5=a0R,{usage:d,requiredOpts:requiredOpts=[],description:e,examples:f}=c;let {validOpts:validOpts=[]}=c;const g=Object[a5(0x12b)](b);if((requiredOpts===null||requiredOpts===void 0x0?void 0x0:requiredOpts[a5(0x147)])>0x0){if(g['length']===0x0){if(a5(0x11e)!==a5(0x14c)){Log[a5(0xf0)](a5(0xf9)+requiredOpts[a5(0xfc)](',\x20'));throw new UsageError();}else{if(i[a5(0x147)]===0x0){q['error']('Missing\x20required\x20options\x20'+r[a5(0xfc)](',\x20'));throw new s();}m['forEach'](z=>{const a6=a5;if(!t['includes'](z)){w[a6(0xf0)](a6(0xf3)+z);throw new x();}});}}requiredOpts[a5(0xfa)](i=>{const a7=a5;if(a7(0x12e)!==a7(0x12e))b[a7(0xff)](this[a7(0x153)]);else{if(!g['includes'](i)){Log['error']('Missing\x20required\x20option:\x20'+i);throw new UsageError();}}});}validOpts=validOpts[a5(0x12f)](requiredOpts);if((validOpts===null||validOpts===void 0x0?void 0x0:validOpts[a5(0x147)])>0x0){if(a5(0x151)===a5(0x151))validOpts[a5(0xff)](a5(0xf8)),g[a5(0xfa)](i=>{const a8=a5;if('uVvDf'===a8(0x103)){if(!validOpts['includes'](i)){Log[a8(0xf0)](a8(0xdf)+i);throw new UsageError();}}else{c['error'](a8(0x146));throw new d();}});else throw new b(a5(0x128));}}[a0R(0xeb)](a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const a9=a0d;try{if(a9(0x138)!==a9(0x138)){c[a9(0xf0)]('Too\x20many\x20options');throw new d();}else{a=a||[],b=b||{};try{yield this[a9(0xd4)](a,b);}catch(d){Log[a9(0xf0)](d),process[a9(0x143)](0x0);}yield this[a9(0x13b)](a,b);}}catch(f){process[a9(0x143)](0x1);}});}[a0R(0x13b)](a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const aa=a0d,{usage:usage='',description:description='',examples:examples=[]}=this[aa(0x119)];this[aa(0xe4)](a,b,this[aa(0x119)]);try{if(aa(0x117)!==aa(0x117)){c[aa(0xf0)](aa(0xfd));throw new d();}else{if(this[aa(0x119)][aa(0x124)]){if(aa(0x122)===aa(0x122)){const d=this['validateMakaProject']();if(!d){if(aa(0x11d)==='dioMv')return this[aa(0x132)][aa(0x134)](g=>g[aa(0xd9)](c));else throw new MustBeInProjectError();}}else b[aa(0x143)](0x1);}if(this['options'][aa(0x108)]){const h=this[aa(0x115)]();if(!h){if('PxTAe'===aa(0xed))throw new NoMeteorFoundError();else{if(!c[aa(0x109)](d))return![];}}}if(typeof this[aa(0x119)][aa(0xe1)]===aa(0x11b)){if(a['length']<this[aa(0x119)][aa(0xe1)]){if('tMiWG'!==aa(0xec)){Log[aa(0xf0)](aa(0xfd));throw new UsageError();}else{var k;if(!p)throw new E(aa(0x128));if(typeof r!==aa(0xda))throw new F(aa(0x152));let l=new t(u,v);return w=x||y,z[aa(0x114)](l,{'parent':(k=A===null||B===void 0x0?void 0x0:C['options'])===null||k===void 0x0?void 0x0:k['name']}),D[aa(0x149)](l),l;}}}if(typeof this[aa(0x119)][aa(0xe9)]===aa(0x11b)){if(a[aa(0x147)]>=this[aa(0x119)]['maxArgLength']){Log[aa(0xf0)](aa(0x13e));throw new UsageError();}}if(typeof this[aa(0x119)][aa(0x101)]===aa(0x11b)){if(aa(0x157)!==aa(0x107)){if(Object['keys'](b)[aa(0x147)]<this[aa(0x119)]['minOptsLength']){Log['error'](aa(0x146));throw new UsageError();}}else this[aa(0x132)]['length']>0x0&&g['help']&&(m[aa(0xf1)](aa(0xe8)),this['tableList'](this['_commands'])),i['usage'](j,k,l);}if(typeof this[aa(0x119)][aa(0xcb)]===aa(0x11b)){if(Object[aa(0x12b)](b)[aa(0x147)]>=this[aa(0x119)][aa(0xcb)]){if(aa(0x148)===aa(0x148)){Log[aa(0xf0)](aa(0x10f));throw new UsageError();}else throw new b();}}if((a[0x0]===_prevCmd||a[aa(0x147)]===0x0)&&b[aa(0xf8)]){if(aa(0x112)!=='vSQRs')return;else throw new UsageError();}_prevCmd=a[0x0],yield this[aa(0x11f)][aa(0x10c)](this,a,b);}}catch(n){if(aa(0xe0)!==aa(0xe0))c['splice'](0x0,0x0,d);else{if(n instanceof UsageError){if(aa(0x104)!=='AmzgR'){if(this[aa(0x132)][aa(0x147)]>0x0&&b['help']){if(aa(0x13f)===aa(0x12c)){const q=f===null||g===void 0x0?void 0x0:h[aa(0x140)][aa(0xdc)](r=>q[aa(0x10b)](r));if(q&&q[aa(0x147)]>0x0&&j)throw aa(0x150)+(q===null||q===void 0x0?void 0x0:q['join'](',\x20'))+aa(0x136);}else Log[aa(0xf1)](aa(0xe8)),this['tableList'](this[aa(0x132)]);}Log[aa(0x125)](description,examples,usage);}else throw new b(aa(0x130));}else{if(n instanceof MustBeInProjectError)Log[aa(0xf0)](aa(0x13d)),Log[aa(0x125)](description,examples,usage);else{if(n instanceof NoMeteorFoundError)Log[aa(0xf0)](aa(0x133)),Log['notice']('Please\x20run\x20\x22maka\x20install\x20meteor\x22'),Log[aa(0x125)](description,examples,usage);else{if(n instanceof NoMeteorAppFoundError)Log[aa(0xf0)](aa(0x120)),Log['usage'](description,examples,usage);else{if(aa(0x156)!=='wqXoa')throw b;else throw n;}}}}process[aa(0x143)](0x1);}}});}[a0R(0xfb)](a){const ab=a0R,b=new a0L({});b[ab(0xff)](['Name','Alias',ab(0xf6)]),a[ab(0x139)]()[ab(0xfa)](c=>{const ac=ab;if(ac(0x111)===ac(0x11c))try{i(j[ac(0x13a)](k));}catch(e){m(e);}else c[ac(0xef)]!=='murder'&&c[ac(0xef)]!==ac(0xd7)&&b[ac(0xff)]([c[ac(0xef)],c[ac(0x10d)](),c[ac(0x14f)]()]);}),Log['bright'](b['toString']());}['findCommand'](a){const ad=a0R;return this['_commands'][ad(0x134)](b=>b[ad(0xd9)](a));}['findSubCommand'](a){const ae=a0R;let b=a===null||a===void 0x0?void 0x0:a[ae(0xee)](':');if(b){if('GpLpo'!==ae(0x14e))throw new b();else return a=b[0x0],this[ae(0xcf)](a);}else{if(ae(0xe3)!==ae(0xe6))return;else{if(!f[ae(0x10b)](g)){k['error'](ae(0xdf)+l);throw new m();}}}}[a0R(0xd5)](a,b,c){return __awaiter(this,void 0x0,void 0x0,function*(){const af=a0d;try{let d=a['split'](':');a=d[0x0];let f=d[0x1];f&&b[af(0xd0)](0x0,0x0,f);let g=this[af(0xcf)](a);if(g)yield g[af(0xeb)](b,c);else throw'Command\x20not\x20found';}catch(h){if(af(0xe2)===af(0xe2))throw Log[af(0xf0)](h);else throw af(0x150)+(d===null||h===void 0x0?void 0x0:f[af(0xfc)](',\x20'))+af(0x136);}});}[a0R(0x14f)](){const ag=a0R;return this[ag(0x119)]['description']||'No\x20description\x20provided.';}['usage'](){return this['options']['usage']||'No\x20usage\x20provided.';}[a0R(0xde)](){const ah=a0R;return this[ah(0x119)][ah(0xde)]||[];}['aliases'](){const ai=a0R;return this[ai(0x119)]['aliases']||ai(0x12a);}}
1
+ const a0Q=a0d;(function(a,b){const N=a0d,c=a();while(!![]){try{const d=-parseInt(N(0x1b8))/0x1*(parseInt(N(0x212))/0x2)+parseInt(N(0x19d))/0x3*(-parseInt(N(0x201))/0x4)+-parseInt(N(0x1cb))/0x5+-parseInt(N(0x1dc))/0x6*(parseInt(N(0x21e))/0x7)+parseInt(N(0x19a))/0x8+parseInt(N(0x1f3))/0x9*(-parseInt(N(0x1c4))/0xa)+parseInt(N(0x197))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a0c,0xd48aa));const a0b=(function(){let a=!![];return function(b,c){const d=a?function(){const O=a0d;if(c){if(O(0x1c7)===O(0x218))h[O(0x1b9)]?i(j[O(0x1eb)]):k(l[O(0x1eb)])[O(0x1e5)](m,n);else{const f=c[O(0x230)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a0a=a0b(this,function(){const P=a0d;return a0a[P(0x1bd)]()[P(0x1c8)](P(0x1f4))[P(0x1bd)]()[P(0x217)](a0a)['search'](P(0x1f4));});a0a();var __awaiter=this&&this[a0Q(0x1e6)]||function(a,b,c,d){function e(f){const R=a0d;if(R(0x210)==='iEptV')return f instanceof c?f:new c(function(g){g(f);});else throw R(0x22a)+b[0x0]+R(0x211);}return new(c||(c=Promise))(function(f,g){function h(k){const S=a0d;try{if(S(0x224)!=='aXPOo')j(d[S(0x200)](k));else{f=g['join'](h,S(0x196),S(0x1e3),'.meteor');if(!i[S(0x1d1)](j))return![];}}catch(m){if(S(0x1a4)===S(0x1a4))g(m);else throw new b();}}function i(k){const T=a0d;if('CKhyz'===T(0x22c)){if(e[T(0x227)](f)['length']<this[T(0x1e9)][T(0x206)]){i['error']('Too\x20few\x20options');throw new j();}}else try{if(T(0x20d)!=='NRVbx')j(d[T(0x1f1)](k));else{const n=new d({});n[T(0x1a2)](['Name',T(0x1b4),T(0x20f)]),e['sort']()[T(0x1b7)](o=>{const U=T;o[U(0x20b)]!=='murder'&&o[U(0x20b)]!==U(0x226)&&n[U(0x1a2)]([o[U(0x20b)],o['aliases'](),o[U(0x216)]()]);}),f[T(0x1fe)](n[T(0x1bd)]());}}catch(n){g(n);}}function j(k){const V=a0d;k['done']?f(k[V(0x1eb)]):e(k[V(0x1eb)])['then'](h,i);}j((d=d['apply'](a,b||[]))['next']());});};import a0I from'path';import a0J from'os';import a0K from'fs';const homeDir=a0J[a0Q(0x22e)]();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';function a0c(){const ai=['lvRLI','deploy','mustHaveMeteorInstalled','platform','maxArgLength','validateMakaSubscription','addCommand\x20requires\x20a\x20Command\x20instance','No\x20usage\x20provided.','DitGH','JULRv','proFlags','Alias','run','bind','forEach','14470LUSFvJ','done','includes','ubZrc','Too\x20few\x20options','toString','.meteor','_commands','sCZyY','QRYeG','_handler','Command\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','30gaaiNj','qPpqW','QGldm','brYQv','search','Command\x20requires\x20a\x20name','parent','380170XYNeuT','leWGE','function','getPro','rDYMq','Kkubs','existsSync','irrjY','aeMCY','Too\x20many\x20arguments','DiLbu','qraaK','trialActive','Too\x20many\x20options','rmFcn','Ursbs','rhXad','319962JPkDQE','xERSE','number','aliases','Command.create\x20requires\x20some\x20options!','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','Please\x20run\x20\x22maka\x20install\x20meteor\x22','Local','QAZoa','then','__awaiter','validateMakaProject','singleLicense','options','To\x20use\x20these\x20pro\x20flags,\x20\x22','value','maxOptsLength','bxUtc','examples','RxGFO','validateParams','throw','Missing\x20required\x20options\x20','4016556VNiRmB','(((.+)+)+)+$','filter','Commands:','length','notice','validateMeteorInstall','split','QShuP','concat','assign','bright','eYgNY','next','4oPuRYa','NRdqD','domainLicense','SJiqY','Invalid\x20options:\x20','minOptsLength','No\x20description\x20provided.','addCommand','BbmeL','win32','name','call','IQjkt','Too\x20few\x20arguments','Description','iEptV','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','160lJeVxe','proCommands','sFhcO','There\x20is\x20no\x20Meteor\x20application\x20here','description','constructor','dHcSe','join','pkWln','mwHRb','Command.create\x20requires\x20a\x20handler\x20function!','No\x20aliases','210hvUCuA','help','roles','dYkUT','VSGue','pTIFm','eMWEG','usage','game','keys','sDvMl','fsi','To\x20use\x20this\x20command,\x20\x22','mNiuo','JONLx','find','homedir','IBeTY','apply','error','ycwxE','mustBeInMakaProject','xtdQD','pRdeE','ZNdEm','BTYLX','biHGP','create','YYMOh','jBgdj','exit','findCommand','AppData','62007440zHEyHx','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','invoke','7291576fYHLSX','Name','tableList','4516863QBYxCY','minArgLength','match','Missing\x20required\x20option:\x20','findSubCommand','push','findProjectDirectory','BWMbB','FLVdU','aRBKe','splice','HwCOF'];a0c=function(){return ai;};return a0c();}let _prevCmd='';function a0d(a,b){const c=a0c();return a0d=function(d,e){d=d-0x193;let f=c[d];return f;},a0d(a,b);}export class Command extends Tool{constructor(a,b){const W=a0Q;super();if(!a){if(W(0x214)!==W(0x1db))throw new Error(W(0x1c3));else{const d=d['apply'](e,arguments);return f=null,d;}}if(!a['name'])throw new Error(W(0x1c9));if(typeof b!==W(0x1cd))throw new Error('Command\x20requires\x20a\x20handler\x20function');this[W(0x1e9)]=Object[W(0x1fd)]({},a),this[W(0x20b)]=this[W(0x1e9)]['name'],this[W(0x1bf)]=[],this['_handler']=b[W(0x1b6)](this);}static[a0Q(0x239)](a,b,c){const X=a0Q;var d;if(!a)throw new Error(X(0x1e0));if(typeof b!=='function')throw new Error(X(0x21c));let e=new Command(a,b);return c=c||a0M,Object[X(0x1fd)](e,{'parent':(d=c===null||c===void 0x0?void 0x0:c[X(0x1e9)])===null||d===void 0x0?void 0x0:d[X(0x20b)]}),c[X(0x208)](e),e;}[a0Q(0x19f)](a){const Y=a0Q;let b=[this[Y(0x20b)]][Y(0x1fc)](this[Y(0x1e9)][Y(0x1df)]||[]);return this[Y(0x1ca)]&&b[Y(0x1a2)](this[Y(0x1ca)]),b[Y(0x1ba)](a);}[a0Q(0x208)](a){const Z=a0Q;if(!(a instanceof Command)){if('Ursbs'===Z(0x1da))throw new Error('addCommand\x20requires\x20a\x20Command\x20instance');else throw new b('addCommand\x20requires\x20a\x20Command\x20instance');}this[Z(0x1bf)][Z(0x1a2)](a);}[a0Q(0x1e7)](){const a0=a0Q,a=this['fsi'][a0(0x1a3)]();return a!==![]?!![]:![];}[a0Q(0x1f9)](){const a1=a0Q;let a=a0I[a1(0x219)](homeDir,a1(0x1be));const b=process[a1(0x1ac)]===a1(0x20a);if(b){if(a1(0x1fb)===a1(0x21a)){var d;if(!p)throw new E(a1(0x1e0));if(typeof r!==a1(0x1cd))throw new F(a1(0x21c));let e=new t(u,v);return w=x||y,z[a1(0x1fd)](e,{'parent':(d=A===null||B===void 0x0?void 0x0:C[a1(0x1e9)])===null||d===void 0x0?void 0x0:d[a1(0x20b)]}),D[a1(0x208)](e),e;}else{a=a0I[a1(0x219)](homeDir,a1(0x196),a1(0x1e3),'.meteor');if(!a0K[a1(0x1d1)](a))return a1(0x22b)===a1(0x237)?this[a1(0x1e9)][a1(0x1df)]||a1(0x21d):![];}}else{if(!a0K[a1(0x1d1)](a))return![];}return!![];}[a0Q(0x1ae)](a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const a2=a0d;if(a2(0x1ef)===a2(0x1ef))try{const c=this[a2(0x195)](a[0x0]);if(c){if(a2(0x22f)===a2(0x1dd)){if(d['length']<this[a2(0x1e9)][a2(0x19e)]){g['error'](a2(0x20e));throw new h();}}else{const f=(c===null||c===void 0x0?void 0x0:c['name'])||a[0x0],g=(c===null||c===void 0x0?void 0x0:c[a2(0x1ca)])||'',h=a[0x0],i=Object['keys'](b),j=yield this[a2(0x229)][a2(0x1ce)]();!j&&(Log[a2(0x231)]('License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.'),process[a2(0x194)](0x1));const k=(j===null||j===void 0x0?void 0x0:j[a2(0x213)][a2(0x1ba)](f))||(j===null||j===void 0x0?void 0x0:j[a2(0x213)][a2(0x1ba)](g)),l=!(j===null||j===void 0x0?void 0x0:j[a2(0x220)][a2(0x1ba)](a2(0x1e8)))&&!(j===null||j===void 0x0?void 0x0:j[a2(0x220)][a2(0x1ba)](a2(0x203)))&&!(j===null||j===void 0x0?void 0x0:j[a2(0x1d7)]);if(k&&l)throw a2(0x22a)+a[0x0]+a2(0x211);if(i[a2(0x1f7)]>0x0){if(a2(0x222)===a2(0x1a5))return c['toString']()['search'](a2(0x1f4))[a2(0x1bd)]()[a2(0x217)](d)[a2(0x1c8)]('(((.+)+)+)+$');else{const n=j===null||j===void 0x0?void 0x0:j[a2(0x1b3)][a2(0x1f5)](o=>i[a2(0x1ba)](o));if(n&&n[a2(0x1f7)]>0x0&&l){if(a2(0x1ed)===a2(0x1bb)){d[a2(0x231)]('Missing\x20required\x20option:\x20'+e);throw new f();}else throw a2(0x1ea)+(n===null||n===void 0x0?void 0x0:n['join'](',\x20'))+a2(0x211);}}}if(h===a2(0x1aa)){if(a2(0x1c5)!==a2(0x1c5))throw new b();else{const q=yield this[a2(0x229)]['getPro'](),r=q===null||q===void 0x0?void 0x0:q[a2(0x213)][a2(0x1ba)](a[0x0]+'\x20'+a[0x1]);if(r&&l)throw a2(0x22a)+a[0x0]+a2(0x211);}}if(j===null||j===void 0x0?void 0x0:j[a2(0x1d7)]){if(a2(0x1cf)!==a2(0x1d0))Log[a2(0x1f8)]('Trial\x20License\x20Expires:\x20'+j['trialExpirationDate'][a2(0x1fa)]('T')[0x0]);else throw new b('Command.create\x20requires\x20some\x20options!');}}}}catch(t){throw t;}else{if(!f['includes'](g)){k['error'](a2(0x1a0)+l);throw new m();}}});}[a0Q(0x1f0)](a,b,c){const a3=a0Q,{usage:d,requiredOpts:requiredOpts=[],description:e,examples:f}=c;let {validOpts:validOpts=[]}=c;const g=Object['keys'](b);if((requiredOpts===null||requiredOpts===void 0x0?void 0x0:requiredOpts[a3(0x1f7)])>0x0){if(g[a3(0x1f7)]===0x0){Log[a3(0x231)](a3(0x1f2)+requiredOpts['join'](',\x20'));throw new UsageError();}requiredOpts[a3(0x1b7)](h=>{const a4=a3;if(a4(0x1d5)!==a4(0x232)){if(!g['includes'](h)){if(a4(0x202)==='NRdqD'){Log[a4(0x231)](a4(0x1a0)+h);throw new UsageError();}else b[a4(0x1a2)](this[a4(0x1ca)]);}}else c(d);});}validOpts=validOpts[a3(0x1fc)](requiredOpts);if((validOpts===null||validOpts===void 0x0?void 0x0:validOpts['length'])>0x0){if(a3(0x1b1)!==a3(0x234))validOpts[a3(0x1a2)]('help'),g[a3(0x1b7)](h=>{const a5=a3;if(!validOpts['includes'](h)){if(a5(0x1c6)!==a5(0x236)){Log[a5(0x231)](a5(0x205)+h);throw new UsageError();}else c(d);}});else throw new b(a3(0x1c3));}}[a0Q(0x1b5)](a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const a6=a0d;if(a6(0x1d2)!==a6(0x228))try{if(a6(0x238)!=='biHGP')g[a6(0x231)]('Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly'),h[a6(0x1f8)](a6(0x1e2)),i[a6(0x225)](j,k,l);else{a=a||[],b=b||{};try{yield this['validateMakaSubscription'](a,b);}catch(d){a6(0x1d3)!==a6(0x1d3)?c[a6(0x1a7)](0x0,0x0,d):(Log[a6(0x231)](d),process['exit'](0x0));}yield this[a6(0x199)](a,b);}}catch(g){if(a6(0x235)==='pRdeE')process[a6(0x194)](0x1);else{c[a6(0x231)](a6(0x20e));throw new d();}}else{const j=this[a6(0x1e7)]();if(!j)throw new c();}});}[a0Q(0x199)](a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const a7=a0d;if(a7(0x1b2)==='JULRv'){const {usage:usage='',description:description='',examples:examples=[]}=this[a7(0x1e9)];this[a7(0x1f0)](a,b,this['options']);try{if('MINWm'==='uVXYR')g['name']!=='murder'&&h[a7(0x20b)]!==a7(0x226)&&m['push']([n[a7(0x20b)],o[a7(0x1df)](),p[a7(0x216)]()]);else{if(this['options'][a7(0x233)]){const d=this['validateMakaProject']();if(!d)throw new MustBeInProjectError();}if(this[a7(0x1e9)][a7(0x1ab)]){if(a7(0x1e4)===a7(0x21b))c[a7(0x231)](a7(0x1e1)),d[a7(0x194)](0x1);else{const g=this[a7(0x1f9)]();if(!g)throw new NoMeteorFoundError();}}if(typeof this[a7(0x1e9)]['minArgLength']==='number'){if(a7(0x221)!==a7(0x1d9)){if(a[a7(0x1f7)]<this[a7(0x1e9)]['minArgLength']){if(a7(0x1a9)===a7(0x1a9)){Log[a7(0x231)](a7(0x20e));throw new UsageError();}else b[a7(0x194)](0x1);}}else{if(i[a7(0x1f7)]===0x0){q[a7(0x231)](a7(0x1f2)+r[a7(0x219)](',\x20'));throw new s();}m['forEach'](z=>{const a8=a7;if(!t[a8(0x1ba)](z)){w[a8(0x231)](a8(0x1a0)+z);throw new x();}});}}if(typeof this[a7(0x1e9)]['maxArgLength']===a7(0x1de)){if(a[a7(0x1f7)]>=this[a7(0x1e9)][a7(0x1ad)]){Log[a7(0x231)](a7(0x1d4));throw new UsageError();}}if(typeof this['options'][a7(0x206)]===a7(0x1de)){if(a7(0x1c0)!=='sCZyY')throw'To\x20use\x20this\x20command,\x20\x22'+b[0x0]+a7(0x211);else{if(Object[a7(0x227)](b)[a7(0x1f7)]<this['options'][a7(0x206)]){if('BbmeL'!==a7(0x209))return this[a7(0x1bf)][a7(0x22d)](l=>l['match'](c));else{Log[a7(0x231)](a7(0x1bc));throw new UsageError();}}}}if(typeof this[a7(0x1e9)][a7(0x1ec)]===a7(0x1de)){if(Object[a7(0x227)](b)['length']>=this[a7(0x1e9)][a7(0x1ec)]){if('AACts'===a7(0x1c1)){d['error'](a7(0x205)+e);throw new f();}else{Log[a7(0x231)](a7(0x1d8));throw new UsageError();}}}if((a[0x0]===_prevCmd||a['length']===0x0)&&b['help'])throw new UsageError();_prevCmd=a[0x0],yield this[a7(0x1c2)][a7(0x20c)](this,a,b);}}catch(m){if(a7(0x1a8)==='HwCOF'){if(m instanceof UsageError)a7(0x223)===a7(0x1d6)?c[a7(0x1f8)]('Trial\x20License\x20Expires:\x20'+d['trialExpirationDate'][a7(0x1fa)]('T')[0x0]):(this[a7(0x1bf)][a7(0x1f7)]>0x0&&b[a7(0x21f)]&&(a7(0x1cc)!==a7(0x23a)?(Log[a7(0x1f8)](a7(0x1f6)),this[a7(0x19c)](this[a7(0x1bf)])):c(d)),Log[a7(0x225)](description,examples,usage));else{if(m instanceof MustBeInProjectError)Log[a7(0x231)]('You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20command'),Log[a7(0x225)](description,examples,usage);else{if(m instanceof NoMeteorFoundError)Log[a7(0x231)](a7(0x198)),Log[a7(0x1f8)]('Please\x20run\x20\x22maka\x20install\x20meteor\x22'),Log[a7(0x225)](description,examples,usage);else{if(m instanceof NoMeteorAppFoundError){if('dqxyz'!==a7(0x204))Log[a7(0x231)](a7(0x215)),Log[a7(0x225)](description,examples,usage);else{c[a7(0x231)](a7(0x1bc));throw new d();}}else throw m;}}}process[a7(0x194)](0x1);}else throw a7(0x1ea)+(d===null||m===void 0x0?void 0x0:f['join'](',\x20'))+a7(0x211);}}else d(e[a7(0x200)](f));});}['tableList'](a){const a9=a0Q,b=new a0L({});b['push']([a9(0x19b),a9(0x1b4),'Description']),a['sort']()[a9(0x1b7)](c=>{const aa=a9;if(aa(0x1a6)!==aa(0x1a6)){if(!(e instanceof f))throw new i(aa(0x1af));this['_commands'][aa(0x1a2)](h);}else c[aa(0x20b)]!=='murder'&&c['name']!==aa(0x226)&&b[aa(0x1a2)]([c['name'],c[aa(0x1df)](),c[aa(0x216)]()]);}),Log[a9(0x1fe)](b[a9(0x1bd)]());}[a0Q(0x195)](a){const ab=a0Q;return this['_commands'][ab(0x22d)](b=>b[ab(0x19f)](a));}[a0Q(0x1a1)](a){const ac=a0Q;let b=a===null||a===void 0x0?void 0x0:a[ac(0x1fa)](':');if(b)return a=b[0x0],this['findCommand'](a);else return;}['runSubCommand'](a,b,c){return __awaiter(this,void 0x0,void 0x0,function*(){const ad=a0d;try{let d=a[ad(0x1fa)](':');a=d[0x0];let f=d[0x1];f&&b[ad(0x1a7)](0x0,0x0,f);let g=this[ad(0x195)](a);if(g)yield g['run'](b,c);else{if(ad(0x193)===ad(0x193))throw'Command\x20not\x20found';else throw new b('Command\x20requires\x20a\x20name');}}catch(i){if(ad(0x1ff)===ad(0x1ff))throw Log[ad(0x231)](i);else f[ad(0x231)](ad(0x215)),g['usage'](h,i,j);}});}['description'](){const ae=a0Q;return this[ae(0x1e9)][ae(0x216)]||ae(0x207);}[a0Q(0x225)](){const af=a0Q;return this[af(0x1e9)][af(0x225)]||af(0x1b0);}[a0Q(0x1ee)](){const ag=a0Q;return this['options'][ag(0x1ee)]||[];}[a0Q(0x1df)](){const ah=a0Q;return this[ah(0x1e9)]['aliases']||ah(0x21d);}}
@@ -1 +1 @@
1
- (function(a,b){var u=a1d,c=a();while(!![]){try{var d=-parseInt(u(0xfe))/0x1+parseInt(u(0xfc))/0x2*(-parseInt(u(0x100))/0x3)+parseInt(u(0xf4))/0x4*(parseInt(u(0x102))/0x5)+-parseInt(u(0xfa))/0x6*(-parseInt(u(0xf6))/0x7)+parseInt(u(0xf8))/0x8*(parseInt(u(0xf5))/0x9)+-parseInt(u(0x101))/0xa*(parseInt(u(0x103))/0xb)+parseInt(u(0xfb))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a1c,0x9ebc5));var a1b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a1a=a1b(this,function(){var v=a1d;return a1a[v(0xff)]()['search'](v(0xf7))[v(0xff)]()[v(0xf9)](a1a)[v(0xfd)]('(((.+)+)+)+$');});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';function a1c(){var w=['2GcxlIG','search','1164354YxOkrN','toString','2844474aMVZcc','10485550kPMtWu','8005UPcfec','11TypZFt','1348LjLqDA','80964eETUpC','427RGOHhm','(((.+)+)+)+$','496oFysBm','constructor','94476smDhYO','21041436DpNCFe'];a1c=function(){return w;};return a1c();}import'./deploy.js';import'./generate.js';import'./help.js';import'./install.js';import'./login.js';function a1d(a,b){var c=a1c();return a1d=function(d,e){d=d-0xf4;var f=c[d];return f;},a1d(a,b);}import'./logout.js';import'./logs.js';import'./maka.cmd.js';import'./reconfig.js';import'./run.js';import'./ssh.js';import'./ssl.js';import'./test.js';import'./version.js';import'./murder.js';
1
+ (function(a,b){var u=a1d,c=a();while(!![]){try{var d=-parseInt(u(0xe0))/0x1*(-parseInt(u(0xdb))/0x2)+-parseInt(u(0xe4))/0x3*(-parseInt(u(0xe3))/0x4)+-parseInt(u(0xe7))/0x5+parseInt(u(0xe1))/0x6+parseInt(u(0xea))/0x7*(parseInt(u(0xdd))/0x8)+parseInt(u(0xdf))/0x9+parseInt(u(0xe9))/0xa*(-parseInt(u(0xe6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a1c,0x560bc));var a1b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a1d;if(c){var e=c[v(0xe8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a1a=a1b(this,function(){var w=a1d;return a1a[w(0xde)]()[w(0xe5)](w(0xdc))[w(0xde)]()[w(0xe2)](a1a)[w(0xe5)](w(0xdc));});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';function a1c(){var x=['12jdqsuG','80097SVslnK','search','583DXwNMW','673065fOlzLu','apply','203640gBskvd','6839Pvlrvb','1359096nfRWhZ','(((.+)+)+)+$','536RqONyL','toString','5713110yxkBEH','1zdbOTA','638730QrtIhh','constructor'];a1c=function(){return x;};return a1c();}import'./maka.cmd.js';import'./reconfig.js';import'./run.js';import'./ssh.js';function a1d(a,b){var c=a1c();return a1d=function(d,e){d=d-0xdb;var f=c[d];return f;},a1d(a,b);}import'./ssl.js';import'./test.js';import'./version.js';import'./murder.js';
@@ -1 +1 @@
1
- (function(a,b){var u=a2d,c=a();while(!![]){try{var d=parseInt(u(0x152))/0x1*(parseInt(u(0x15c))/0x2)+parseInt(u(0x159))/0x3*(parseInt(u(0x151))/0x4)+parseInt(u(0x158))/0x5+parseInt(u(0x15b))/0x6+-parseInt(u(0x157))/0x7*(-parseInt(u(0x15a))/0x8)+parseInt(u(0x156))/0x9*(parseInt(u(0x15d))/0xa)+parseInt(u(0x153))/0xb*(-parseInt(u(0x15e))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a2c,0x23a61));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[v(0x160)]()[v(0x154)]('(((.+)+)+)+$')[v(0x160)]()[v(0x15f)](a2a)[v(0x154)](v(0x155));});a2a();import'./aws.command.js';import'./ci.sub.cmd.js';function a2c(){var w=['3yIgtaS','43312FnlbsI','281712krbvwK','42778oySXJH','150nWuPEp','10016400HEVxRK','constructor','toString','460432zNBfEJ','7DiQdSw','11mPATgv','search','(((.+)+)+)+$','117621CNsrxY','308BXCddw','1173415csVLyd'];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';function a2d(a,b){var c=a2c();return a2d=function(d,e){d=d-0x151;var f=c[d];return f;},a2d(a,b);}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(0x9d))/0x1+-parseInt(u(0x97))/0x2*(parseInt(u(0x92))/0x3)+-parseInt(u(0x91))/0x4*(-parseInt(u(0x9a))/0x5)+parseInt(u(0x99))/0x6+parseInt(u(0x95))/0x7+parseInt(u(0x96))/0x8+parseInt(u(0x93))/0x9*(parseInt(u(0x9e))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a2c,0x2dc59));var a2b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a2d;if(c){var e=c[v(0x98)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a2a=a2b(this,function(){var w=a2d;return a2a[w(0x94)]()[w(0x9b)](w(0x9c))[w(0x94)]()[w(0x9f)](a2a)[w(0x9b)](w(0x9c));});a2a();function a2c(){var x=['constructor','8XputXL','561SigNrS','234djFovz','toString','484421upOlaV','652040uCOHnI','3788jgxlGS','apply','2179104HenKVQ','360025awdLWP','search','(((.+)+)+)+$','226197aGsmEh','42290mzSMfR'];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';function a2d(a,b){var c=a2c();return a2d=function(d,e){d=d-0x91;var f=c[d];return f;},a2d(a,b);}import'./ti.sub.cmd.js';
@@ -1 +1 @@
1
- const a3B=a3d;(function(a,b){const w=a3d,c=a();while(!![]){try{const d=parseInt(w(0x190))/0x1*(-parseInt(w(0x186))/0x2)+-parseInt(w(0x19c))/0x3+-parseInt(w(0x1a9))/0x4+-parseInt(w(0x1ab))/0x5*(parseInt(w(0x1aa))/0x6)+parseInt(w(0x197))/0x7+parseInt(w(0x18b))/0x8+parseInt(w(0x194))/0x9*(parseInt(w(0x187))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a3c,0x3ce65));const a3b=(function(){let a=!![];return function(b,c){const x=a3d;if(x(0x196)===x(0x191))c(d);else{const e=a?function(){const y=x;if(y(0x1a2)!==y(0x1a2))c(d);else{if(c){if(y(0x19e)!==y(0x199)){const g=c[y(0x18c)](b,arguments);return c=null,g;}else{const i=g?function(){const z=y;if(i){const u=q[z(0x18c)](r,arguments);return s=null,u;}}:function(){};return l=![],i;}}}}:function(){};return a=![],e;}};}()),a3a=a3b(this,function(){const A=a3d;return a3a['toString']()[A(0x1a4)]('(((.+)+)+)+$')[A(0x18f)]()[A(0x1ae)](a3a)['search'](A(0x19b));});a3a();function a3d(a,b){const c=a3c();return a3d=function(d,e){d=d-0x185;let f=c[d];return f;},a3d(a,b);}var __awaiter=this&&this[a3B(0x1a5)]||function(a,b,c,d){function e(f){const C=a3d;return C(0x19a)!==C(0x18a)?f instanceof c?f:new c(function(g){g(f);}):f instanceof g?h:new i(function(m){m(k);});}return new(c||(c=Promise))(function(f,g){const G=a3d;function h(k){const D=a3d;if(D(0x18e)===D(0x18e))try{j(d[D(0x185)](k));}catch(l){D(0x1a0)!==D(0x1ac)?g(l):c(d);}else try{let o=k[0x0],p=this[D(0x195)](o);p&&this['runSubCommand'](o,n,o);}catch(q){r[D(0x198)](q),s['exit'](0x0);}}function i(k){const E=a3d;try{if('fdKGO'===E(0x18d))j(d['throw'](k));else{let m=d[0x0],n=this[E(0x195)](m);n&&this[E(0x1a8)](m,g,h);}}catch(m){E(0x19f)==='Czofd'?g(m):d(m[E(0x1a6)](f));}}function j(k){const F=a3d;k[F(0x192)]?f(k[F(0x19d)]):e(k[F(0x19d)])[F(0x1a1)](h,i);}j((d=d[G(0x18c)](a,b||[]))[G(0x185)]());});};import{Command}from'../../command.js';const AWSCommand=Command[a3B(0x193)]({'name':a3B(0x1af),'usage':'maka\x20aws\x20<command>','minArgLength':0x1,'description':a3B(0x1ad),'examples':[a3B(0x1a7),a3B(0x188)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const H=a3d;try{let c=a[0x0],d=this['findSubCommand'](c);d&&this[H(0x1a8)](c,a,b);}catch(f){if(H(0x189)==='OiaVE')console[H(0x198)](f),process[H(0x1a3)](0x0);else{if(f){const h=i[H(0x18c)](j,arguments);return k=null,h;}}}});});function a3c(){const I=['16955xOWTNB','nuebe','Create,\x20view,\x20terminate\x20EC2\x20instances,\x20assign\x20key-pairs,\x20and\x20set\x20host\x20IPs.','constructor','aws','next','34086wElcyf','61390lHLPTC','maka\x20aws:di','OiaVE','wxkHq','3364856NgWqED','apply','fdKGO','HVRDr','toString','13zYGguw','IqPue','done','create','873sqRcaK','findSubCommand','waiSl','1378510vWxcYK','error','ljGzu','riDkQ','(((.+)+)+)+$','1242873nySoMq','value','qUGRf','Czofd','axaHw','then','nRZVG','exit','search','__awaiter','throw','maka\x20aws:describe-instance','runSubCommand','1161696HvATrD','66aoFNHe'];a3c=function(){return I;};return a3c();}export default AWSCommand;
1
+ function a3d(a,b){const c=a3c();return a3d=function(d,e){d=d-0x1d5;let f=c[d];return f;},a3d(a,b);}const a3z=a3d;(function(a,b){const w=a3d,c=a();while(!![]){try{const d=-parseInt(w(0x1f4))/0x1+parseInt(w(0x1da))/0x2+-parseInt(w(0x1ef))/0x3+parseInt(w(0x1de))/0x4*(parseInt(w(0x1dd))/0x5)+parseInt(w(0x1d8))/0x6*(parseInt(w(0x1f3))/0x7)+parseInt(w(0x1fa))/0x8*(parseInt(w(0x1f9))/0x9)+-parseInt(w(0x1f6))/0xa*(parseInt(w(0x1e9))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a3c,0xea5c7));const a3b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a3d;if(c){const e=c[x(0x1df)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a3a=a3b(this,function(){const y=a3d;return a3a[y(0x1e2)]()[y(0x1f2)]('(((.+)+)+)+$')[y(0x1e2)]()[y(0x1e6)](a3a)[y(0x1f2)]('(((.+)+)+)+$');});a3a();var __awaiter=this&&this[a3z(0x1f8)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const A=a3d;if(A(0x1ee)!==A(0x1eb))g(f);else return c[A(0x1e2)]()[A(0x1f2)](A(0x1f0))[A(0x1e2)]()[A(0x1e6)](d)[A(0x1f2)](A(0x1f0));});}return new(c||(c=Promise))(function(f,g){const E=a3d;function h(k){const B=a3d;try{j(d[B(0x1e4)](k));}catch(l){g(l);}}function i(k){const C=a3d;if(C(0x1d5)===C(0x1d5))try{j(d[C(0x1f1)](k));}catch(l){g(l);}else try{i(j['next'](k));}catch(o){m(o);}}function j(k){const D=a3d;D(0x1ea)!==D(0x1f7)?k['done']?f(k[D(0x1e0)]):e(k[D(0x1e0)])[D(0x1ec)](h,i):h[D(0x1d6)]?i(j['value']):k(l[D(0x1e0)])[D(0x1ec)](m,n);}j((d=d[E(0x1df)](a,b||[]))[E(0x1e4)]());});};import{Command}from'../../command.js';function a3c(){const G=['aws','toString','maka\x20aws:describe-instance','next','findSubCommand','constructor','error','maka\x20aws:di','30365654cSmUTS','hXdbq','zRJVJ','then','JQCuQ','GWnPi','1991367WaAWyd','(((.+)+)+)+$','throw','search','7049gNOiuQ','748448aydZIH','Create,\x20view,\x20terminate\x20EC2\x20instances,\x20assign\x20key-pairs,\x20and\x20set\x20host\x20IPs.','10Vfdgrx','yopdx','__awaiter','4874931OCZhVl','8icEVbU','NXAQN','done','TKfCg','8238FJpivT','exit','2764382tgXWWm','create','maka\x20aws\x20<command>','25435lKVqsC','1436EHrfqp','apply','value'];a3c=function(){return G;};return a3c();}const AWSCommand=Command[a3z(0x1db)]({'name':a3z(0x1e1),'usage':a3z(0x1dc),'minArgLength':0x1,'description':a3z(0x1f5),'examples':[a3z(0x1e3),a3z(0x1e8)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const F=a3d;if(F(0x1ed)===F(0x1d7))try{let d=k[0x0],f=this[F(0x1e5)](d);f&&this['runSubCommand'](d,n,o);}catch(g){r['error'](g),s[F(0x1d9)](0x0);}else try{let d=a[0x0],f=this['findSubCommand'](d);f&&this['runSubCommand'](d,a,b);}catch(g){console[F(0x1e7)](g),process[F(0x1d9)](0x0);}});});export default AWSCommand;
@@ -1 +1 @@
1
- const a4am=a4d;(function(a,b){const af=a4d,c=a();while(!![]){try{const d=-parseInt(af(0x1d3))/0x1+-parseInt(af(0x1db))/0x2+-parseInt(af(0x1b9))/0x3+-parseInt(af(0x1a9))/0x4+parseInt(af(0x1f1))/0x5+parseInt(af(0x1ff))/0x6+parseInt(af(0x19c))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a4c,0xc4831));const a4b=(function(){let a=!![];return function(b,c){const d=a?function(){const ag=a4d;if(c){const e=c[ag(0x1af)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a4a=a4b(this,function(){const ah=a4d;return a4a[ah(0x1a2)]()[ah(0x198)]('(((.+)+)+)+$')['toString']()[ah(0x1fa)](a4a)[ah(0x198)](ah(0x20c));});a4a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const al=a4d;function h(k){const ai=a4d;try{ai(0x1a5)==='lcHct'?c(d):j(d[ai(0x1ed)](k));}catch(m){g(m);}}function i(k){const aj=a4d;try{j(d[aj(0x209)](k));}catch(l){g(l);}}function j(k){const ak=a4d;k['done']?f(k[ak(0x1e4)]):e(k['value'])[ak(0x210)](h,i);}j((d=d[al(0x1af)](a,b||[]))[al(0x1ed)]());});};import a4C from'./aws.command.js';import{execSync}from'child_process';import{Actions}from'../../tools/actions/actions.class.js';function a4c(){const aA=['CZhUs','724668eYcFFI','\x22Web\x20App\x22','\x20SGID:\x20','subnetId','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','maka\x20aws:create-instance','EC2\x20Name:\x20[','Security\x20Group:\x20','t2.nano','\x20AMIID:\x20','throw','Run\x20\x22maka\x20aws:set-host\x22\x20to\x20configure\x20your\x20ssh.json\x20file','wBRwB','(((.+)+)+)+$','XEVFR','aws\x20ec2\x20describe-subnets\x20--query\x20\x22Subnets[*].{subnetId:SubnetId,cider:CidrBlock,az:AvailabilityZone}\x22','env','then','name','getTime','zFGjC','search','ublXa','Setting\x20AMI\x20ID\x20to\x20','cider','21568701KyUNWn','help','cidr','confirm','string','\x22\x20--query\x20\x22Subnets[*].{subnet:CidrBlock}\x22','toString','**\x20Available\x20key-pairs\x20**','error','GDfVH','subnet','aws\x20ec2\x20describe-subnets\x20--filter\x20\x22Name=subnet-id,Values=','LVLYx','2117056cyhBBj','Name','ID:\x20','desc','create','aNwYN','apply','Instance\x20Count:\x20','Setting\x20the\x20number\x20of\x20instances\x20to:\x20','ImageID:','notice','aws\x20ec2\x20describe-security-groups\x20--query\x20\x22SecurityGroups[*].{Name:GroupName,ID:GroupId}\x22','Please\x20choose\x20an\x20AMI\x20ID\x20to\x20assign\x20the\x20instance\x20to:\x20[0]\x20','ec2createSG','number','Instace\x20Type:\x20','3600537EWmcVm','LMlNX','Would\x20you\x20like\x20to\x20make\x20a\x20new\x20PEM\x20key?','ec2describeKeys','Would\x20you\x20like\x20to\x20create\x20a\x20new\x20security\x20group?','AoRRn','What\x20instance\x20type\x20would\x20you\x20like?\x20[t2.nano]','QcZvw','vShhf','Key-Pair:\x20','Setting\x20Subnet\x20ID\x20to\x20','aws\x20ec2\x20describe-images\x20--filters\x20\x22Name=description,Values=*LTS*\x22\x20\x22Name=name,Values=*server*\x22\x20\x22Name=name,Values=*ubuntu*\x22\x20\x22Name=creation-date,Values=*','ec2create','**\x20Available\x20AMIs\x20**','\x20SUBNETID:\x20','split','Ready\x20to\x20create\x20instance?\x20NOTE:\x20You\x20WILL\x20be\x20billed\x20for\x20this\x20instance\x20by\x20AWS.','success','eTOFD','},\x20{Key=Name,Value=','create-instance','JxUMs','alias','parse','Instance\x20created!\x20\x20NOTE:\x20You\x20are\x20now\x20being\x20billed\x20for\x20this\x20EC2.','\x20:\x20','119165mKXBlV','*\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','**\x20Available\x20Security\x20Groups\x20**','\x20SG\x20NAME:\x20','Open\x20port\x20443\x20for\x20SSL?','sgId','**\x20Available\x20Subnets\x20**','qLZfp','2139712iDGgAo','sort','\x20CIDR:\x20','forEach','lVpah','ask','OzvhI','exit','getProjectConfig','value','Desc','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','fkuOp','\x20DESCRIPTION:\x20','log','bright','MKEga','createKeyPair','next','amiId','How\x20many\x20instances\x20do\x20you\x20want\x20to\x20create\x20(min:max)?\x20[1:1]\x20','fsi','2606780dYGbrj','1:1','chooseVPC','Please\x20choose\x20a\x20subnet\x20ID\x20to\x20assign\x20the\x20instance\x20to:\x20[0]\x20','\x22ResourceType=instance,Tags=[{Key=created-by,Value=maka-cli},{Key=environment,Value=','pmNne','\x20AZONE:\x20','ALnLY','PhDAg','constructor','push','Setting\x20SG\x20ID\x20to:\x20','Subnet:\x20'];a4c=function(){return aA;};return a4c();}function a4d(a,b){const c=a4c();return a4d=function(d,e){d=d-0x196;let f=c[d];return f;},a4d(a,b);}import{AWS}from'../../tools/aws/aws.class.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a4am(0x1ad)]({'name':a4am(0x1cd),'aliases':['ci'],'usage':a4am(0x204),'description':'','mustBeInMakaProject':!![],'requiredOpts':[a4am(0x20f)],'validOpts':[a4am(0x19d)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const an=a4d;if(an(0x20b)!==an(0x1be))try{const c=this[an(0x1f0)][an(0x1e3)](),d=new AWS(),{appName:f}=c,g=this['fsi']['getConfigFromShorthand'](b['env']);let h=f+'-'+g,i=(yield Actions[an(0x1e0)](an(0x205)+h+']\x20'))||h,j='',k='',l='',m='',n='',o='',p='';const q=yield Actions[an(0x19f)](an(0x1bb));let r='';q&&(an(0x20d)!=='OMwPQ'?r=yield d[an(0x1ec)]({'env':g}):c['error'](d));try{Log[an(0x1b3)](an(0x1a3));let w=r?r:i,x=d[an(0x1bc)]({'suggestion':w}),y=(yield Actions[an(0x1e0)]('Please\x20choose\x20a\x20key\x20to\x20use:\x20'))||'-1';if(parseInt(y)<0x0){Log[an(0x1a4)](an(0x203)),Log[an(0x1b3)]('No\x20instance\x20has\x20been\x20created.');return;}x===null||x===void 0x0?void 0x0:x[an(0x1de)](function(z){const ao=an;ao(0x1f8)===ao(0x1cb)?c[ao(0x1a4)](d):parseInt(y)===z['id']&&(j=z[ao(0x211)],Log[ao(0x1ca)]('Setting\x20the\x20key-pair\x20to:\x20'+j));});}catch(z){'njJEt'==='njJEt'?Log[an(0x1a4)](z):z[an(0x1e9)](an(0x1ab)+f['id']+an(0x208)+g[an(0x1ee)]+an(0x1e8)+h[an(0x1ac)]);}k=yield d[an(0x1f3)]();let s=yield Actions['confirm'](an(0x1bd)),t;if(s){if(an(0x1c1)===an(0x1c1)){let B=k===''?d[an(0x1f3)]():k,C=yield Actions[an(0x19f)](an(0x1d7));t=(yield Actions['ask']('Security\x20Group\x20Name:\x20['+i+']'))||i,d[an(0x1b6)]({'description':an(0x200),'name':t,'vpcId':B,'ssl':C});}else e[an(0x1e9)](f),g[an(0x1a4)](h);}t=i;try{Log[an(0x1b3)](an(0x1d5));let E=execSync(an(0x1b4))[an(0x1a2)](),F=JSON['parse'](E),G=[];F[an(0x1de)](function(I,J){const ap=an;G[ap(0x1fb)]({'id':J,'name':I[ap(0x1aa)],'sgId':I['ID']});}),G[an(0x1de)](function(I){const aq=an;I[aq(0x211)]===t?Log[aq(0x1b3)](aq(0x1ab)+I['id']+aq(0x1d6)+I['name']+aq(0x201)+I['sgId']):console[aq(0x1e9)]('ID:\x20'+I['id']+aq(0x1d6)+I[aq(0x211)]+aq(0x201)+I['sgId']);});let H=(yield Actions['ask']('Please\x20choose\x20a\x20SG\x20to\x20assign\x20the\x20instance\x20to:\x20[0]\x20'))||'0';G[an(0x1de)](function(I){const ar=an;I['id']===parseInt(H)&&('PhDAg'===ar(0x1f9)?(l=I[ar(0x1d8)],Log[ar(0x1ca)](ar(0x1fc)+l+'\x0a')):k[ar(0x211)]===l?u[ar(0x1b3)](ar(0x1ab)+v['id']+ar(0x1d6)+w['name']+ar(0x201)+x['sgId']):y[ar(0x1e9)](ar(0x1ab)+z['id']+ar(0x1d6)+A[ar(0x211)]+ar(0x201)+B[ar(0x1d8)]));});if(l==='')throw Log[an(0x1a4)](an(0x1e6));}catch(I){an(0x1df)!==an(0x1f6)?Log[an(0x1a4)](I):h(i)===j['id']&&(o=p['name'],q[an(0x1ca)]('Setting\x20the\x20key-pair\x20to:\x20'+r));}try{let K=0x7e6;Log['notice'](an(0x1c6));let L=execSync(an(0x1c4)+K+an(0x1d4))[an(0x1a2)](),M=JSON[an(0x1d0)](L),N=[],O=[];M[an(0x1de)](function(Q,R){const as=an;if(Q[as(0x1cf)]===null){let S=Q[as(0x1e5)][as(0x1c8)]('build\x20on\x20')[0x1];N[as(0x1fb)]({'amiId':Q['ID'],'desc':Q['Desc'],'date':S});}}),N[an(0x1dc)](function(Q,R){const at=an;return new Date(R['date'])[at(0x196)]()-new Date(Q['date'])[at(0x196)]();}),N[an(0x1de)](function(Q,R){const au=an;O[au(0x1fb)]({'id':R,'amiId':Q[au(0x1ee)],'desc':Q[au(0x1ac)]});}),O[an(0x1de)](function(Q){const av=an;console[av(0x1e9)]('ID:\x20'+Q['id']+'\x20AMIID:\x20'+Q['amiId']+av(0x1e8)+Q['desc']);});let P=(yield Actions[an(0x1e0)](an(0x1b5)))||'0';O[an(0x1de)](function(Q){const aw=an;aw(0x1e1)!==aw(0x1e1)?h['id']===i(j)&&(o=p[aw(0x202)],q['success'](aw(0x1c3)+r)):Q['id']===parseInt(P)&&(aw(0x1fe)===aw(0x1fe)?(m=Q[aw(0x1ee)],Log[aw(0x1ca)](aw(0x19a)+m+aw(0x1d2)+Q[aw(0x1ac)])):(f=[g,h]['join'](':'),i[aw(0x1ca)](aw(0x1b1)+j)));});if(m===''){if(an(0x199)!=='ublXa')throw b['error']('That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.');else throw Log['error'](an(0x1e6));}}catch(R){an(0x1e7)!==an(0x1e7)?d(R['throw'](f)):Log[an(0x1a4)](R);}try{Log[an(0x1b3)](an(0x1d9));let T=execSync(an(0x20e))['toString'](),U=JSON[an(0x1d0)](T),V=[];U[an(0x1de)](function(X,Y){const ax=an;V[ax(0x1fb)]({'id':Y,'cidr':X[ax(0x19b)],'az':X['az'],'subnetId':X['subnetId']});}),V['forEach'](function(X){const ay=an;console['log']('ID:\x20'+X['id']+ay(0x1dd)+X[ay(0x19e)]+ay(0x1f7)+X['az']+ay(0x1c7)+X['subnetId']);});let W=(yield Actions[an(0x1e0)](an(0x1f4)))||'0';V['forEach'](function(X){const az=an;X['id']===parseInt(W)&&(az(0x1ce)==='JSEdJ'?(e=f['sgId'],g[az(0x1ca)]('Setting\x20SG\x20ID\x20to:\x20'+h+'\x0a')):(o=X[az(0x202)],Log['success'](az(0x1c3)+o)));});if(o==='')throw Log[an(0x1a4)](an(0x1e6));}catch(X){Log[an(0x1a4)](X);}let u='1:1';try{let Y=(yield Actions[an(0x1e0)](an(0x1ef)))||an(0x1f2),Z=Y['split'](':')[0x0],a0=Y[an(0x1c8)](':')[0x1];typeof parseInt(Z)===an(0x1b7)&&typeof parseInt(a0)==='number'&&(u=[Z,a0]['join'](':'),Log[an(0x1ca)](an(0x1b1)+u));}catch(a1){Log[an(0x1a4)](a1);}try{let a2=(yield Actions['ask'](an(0x1bf)))||an(0x207);typeof a2===an(0x1a0)&&('LVLYx'!==an(0x1a8)?c[an(0x1a4)](d):n=a2);}catch(a4){an(0x1eb)===an(0x1eb)?Log[an(0x1a4)](a4):c[an(0x1a4)](d);}try{if(an(0x1ba)!=='LMlNX')e['push']({'id':f,'amiId':g[an(0x1ee)],'desc':h[an(0x1ac)]});else{let a7=JSON['parse'](execSync(an(0x1a7)+o+an(0x1a1))[an(0x1a2)]())[0x0][an(0x1a6)];Log[an(0x1b3)](an(0x1b2)+m),Log[an(0x1b3)](an(0x1b0)+u),Log[an(0x1b3)](an(0x1b8)+n),Log[an(0x1b3)](an(0x1c2)+j),Log[an(0x1b3)](an(0x206)+l),Log[an(0x1b3)](an(0x1fd)+a7);let a8=yield Actions[an(0x19f)](an(0x1c9));if(a8){if(an(0x1da)!==an(0x1ae)){let a9=d[an(0x1c5)]({'imageId':m,'count':u,'type':n,'key':j,'sgIds':l,'subnet':o,'tags':an(0x1f5)+g+an(0x1cc)+i+'}]\x22'});a9&&(Log[an(0x1ca)](an(0x1d1)),Log[an(0x1ea)](an(0x20a)));}else f=g[an(0x1ee)],h['success'](an(0x19a)+i+an(0x1d2)+j[an(0x1ac)]);}else an(0x1c0)===an(0x197)?c(d):Log['notice']('ABORTED!\x20No\x20instance\x20has\x20been\x20created!');}}catch(ac){console[an(0x1e9)](ac),Log['error'](ac);}}catch(ad){console[an(0x1a4)](ad),process[an(0x1e2)](0x0);}else e[an(0x1e9)]('ID:\x20'+f['id']+an(0x1d6)+g[an(0x211)]+'\x20SGID:\x20'+h[an(0x1d8)]);});},a4C);
1
+ const a4ai=a4d;function a4d(a,b){const c=a4c();return a4d=function(d,e){d=d-0x167;let f=c[d];return f;},a4d(a,b);}(function(a,b){const af=a4d,c=a();while(!![]){try{const d=-parseInt(af(0x17e))/0x1*(-parseInt(af(0x1cc))/0x2)+-parseInt(af(0x196))/0x3*(-parseInt(af(0x1e5))/0x4)+parseInt(af(0x1a7))/0x5*(parseInt(af(0x1a5))/0x6)+-parseInt(af(0x1cd))/0x7*(parseInt(af(0x1b9))/0x8)+-parseInt(af(0x172))/0x9+parseInt(af(0x1d7))/0xa+-parseInt(af(0x1e3))/0xb*(-parseInt(af(0x1e4))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a4c,0x783b3));const a4b=(function(){let a=!![];return function(b,c){const d=a?function(){const ag=a4d;if('RihBl'===ag(0x17d))try{i(j['throw'](k));}catch(f){m(f);}else{if(c){if('VJCmv'===ag(0x1a9))c(d);else{const g=c[ag(0x1da)](b,arguments);return c=null,g;}}}}:function(){};return a=![],d;};}()),a4a=a4b(this,function(){const ah=a4d;return a4a[ah(0x18b)]()[ah(0x1d5)](ah(0x180))[ah(0x18b)]()[ah(0x1ea)](a4a)[ah(0x1d5)](ah(0x180));});a4a();var __awaiter=this&&this[a4ai(0x187)]||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 am=a4d;function h(k){const aj=a4d;try{if(aj(0x18a)===aj(0x18a))j(d[aj(0x19c)](k));else{c['error'](aj(0x1a6)),d[aj(0x1c2)](aj(0x1cf));return;}}catch(m){g(m);}}function i(k){const ak=a4d;if(ak(0x1b5)==='bZhAR')e=f[ak(0x1ae)],g[ak(0x193)]('Setting\x20SG\x20ID\x20to:\x20'+h+'\x0a');else try{'CFvFD'===ak(0x1e9)?j(d[ak(0x16a)](k)):h['id']===i(j)&&(o=p['subnetId'],q[ak(0x193)](ak(0x1dc)+r));}catch(n){if(ak(0x19a)===ak(0x192))try{i(j[ak(0x19c)](k));}catch(p){m(p);}else g(n);}}function j(k){const al=a4d;al(0x177)===al(0x181)?h(i)===j['id']&&(o=p[al(0x1a2)],q[al(0x193)](al(0x1bb)+r)):k[al(0x1d9)]?f(k['value']):e(k[al(0x176)])[al(0x173)](h,i);}j((d=d[am(0x1da)](a,b||[]))[am(0x19c)]());});};function a4c(){const aA=['exit','desc','Name','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=*','EtLqA','createKeyPair','Setting\x20the\x20number\x20of\x20instances\x20to:\x20','cider','551272RtWkuB','Please\x20choose\x20a\x20SG\x20to\x20assign\x20the\x20instance\x20to:\x20[0]\x20','Setting\x20the\x20key-pair\x20to:\x20','alias','\x22\x20--query\x20\x22Subnets[*].{subnet:CidrBlock}\x22','\x20AMIID:\x20','JUmNQ','cidr','Instance\x20Count:\x20','notice','1:1','split','env','**\x20Available\x20AMIs\x20**','ZScxG','Key-Pair:\x20','aws\x20ec2\x20describe-subnets\x20--query\x20\x22Subnets[*].{subnetId:SubnetId,cider:CidrBlock,az:AvailabilityZone}\x22','Run\x20\x22maka\x20aws:set-host\x22\x20to\x20configure\x20your\x20ssh.json\x20file','**\x20Available\x20Security\x20Groups\x20**','82zKMYIZ','28nIHRDu','ask','No\x20instance\x20has\x20been\x20created.','Instance\x20created!\x20\x20NOTE:\x20You\x20are\x20now\x20being\x20billed\x20for\x20this\x20EC2.','\x20SG\x20NAME:\x20','Setting\x20SG\x20ID\x20to:\x20','amiId','tbHGF','search','chooseVPC','1790110MEqBHk','create-instance','done','apply','Security\x20Group:\x20','Setting\x20Subnet\x20ID\x20to\x20','getTime','ImageID:','\x20SGID:\x20','parse','hbZCd','join','476795xhhWDk','12ELBzpq','1374232uDpUVu','SJrHl','forEach','XmXYh','CFvFD','constructor','RTFQL','\x22Web\x20App\x22','\x20AZONE:\x20','Would\x20you\x20like\x20to\x20create\x20a\x20new\x20security\x20group?','ec2create','throw','Please\x20choose\x20an\x20AMI\x20ID\x20to\x20assign\x20the\x20instance\x20to:\x20[0]\x20','What\x20instance\x20type\x20would\x20you\x20like?\x20[t2.nano]','error','Instace\x20Type:\x20','ID:\x20','SrpSe','date','1876635sRVgZV','then','\x20SUBNETID:\x20','Please\x20choose\x20a\x20subnet\x20ID\x20to\x20assign\x20the\x20instance\x20to:\x20[0]\x20','value','vBXRt','bright','\x20:\x20','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','abbWs','Setting\x20AMI\x20ID\x20to\x20','tpnoM','7567WPdJLj','push','(((.+)+)+)+$','IjGpr','string','help','subnetId','Ready\x20to\x20create\x20instance?\x20NOTE:\x20You\x20WILL\x20be\x20billed\x20for\x20this\x20instance\x20by\x20AWS.','rlqOC','__awaiter','Please\x20choose\x20a\x20key\x20to\x20use:\x20','Open\x20port\x20443\x20for\x20SSL?','QzZmq','toString','IfjUD','subnet','confirm','ec2createSG','CoGvl','getProjectConfig','bWOTU','success','pyFjv','Subnet:\x20','3brrPeK','log','oaObT','PxQtx','kkenm','maka\x20aws:create-instance','next','Desc','\x22ResourceType=instance,Tags=[{Key=created-by,Value=maka-cli},{Key=environment,Value=','build\x20on\x20','nhpMY','sort','name','RDJMW','number','86106BHwqQp','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','35yUFZTt','},\x20{Key=Name,Value=','WbNYQ','\x20DESCRIPTION:\x20','EC2\x20Name:\x20[','Ydnmd','getConfigFromShorthand','sgId','**\x20Available\x20key-pairs\x20**','jQdby'];a4c=function(){return aA;};return a4c();}import a4C from'./aws.command.js';import{execSync}from'child_process';import{Actions}from'../../tools/actions/actions.class.js';import{AWS}from'../../tools/aws/aws.class.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a4ai(0x1d8),'aliases':['ci'],'usage':a4ai(0x19b),'description':'','mustBeInMakaProject':!![],'requiredOpts':['env'],'validOpts':[a4ai(0x183)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const an=a4d;try{const c=this['fsi'][an(0x191)](),d=new AWS(),{appName:f}=c,g=this['fsi'][an(0x1ad)](b[an(0x1c5)]);let h=f+'-'+g,i=(yield Actions[an(0x1ce)](an(0x1ab)+h+']\x20'))||h,j='',k='',l='',m='',n='',o='',p='';const q=yield Actions[an(0x18e)]('Would\x20you\x20like\x20to\x20make\x20a\x20new\x20PEM\x20key?');let r='';q&&(r=yield d[an(0x1b6)]({'env':g}));try{if(an(0x18c)===an(0x1d4))e[an(0x197)](an(0x16f)+f['id']+'\x20AMIID:\x20'+g[an(0x1d3)]+an(0x1aa)+h[an(0x1b2)]);else{Log[an(0x1c2)](an(0x1af));let w=r?r:i,x=d['ec2describeKeys']({'suggestion':w}),y=(yield Actions[an(0x1ce)](an(0x188)))||'-1';if(parseInt(y)<0x0){if(an(0x198)==='qIFjG')i['id']===j(k)&&(q=r[an(0x1d3)],s[an(0x193)](an(0x17c)+t+an(0x179)+u[an(0x1b2)]));else{Log['error'](an(0x1a6)),Log[an(0x1c2)](an(0x1cf));return;}}x===null||x===void 0x0?void 0x0:x[an(0x1e7)](function(A){const ao=an;parseInt(y)===A['id']&&('EtkTI'===ao(0x1eb)?d(e[ao(0x16a)](f)):(j=A[ao(0x1a2)],Log[ao(0x193)]('Setting\x20the\x20key-pair\x20to:\x20'+j)));});}}catch(A){Log[an(0x16d)](A);}k=yield d[an(0x1d6)]();let s=yield Actions[an(0x18e)](an(0x168)),t;if(s){let B=k===''?d[an(0x1d6)]():k,C=yield Actions[an(0x18e)](an(0x189));t=(yield Actions['ask']('Security\x20Group\x20Name:\x20['+i+']'))||i,d[an(0x18f)]({'description':an(0x1ec),'name':t,'vpcId':B,'ssl':C});}t=i;try{if(an(0x186)===an(0x186)){Log[an(0x1c2)](an(0x1cb));let D=execSync('aws\x20ec2\x20describe-security-groups\x20--query\x20\x22SecurityGroups[*].{Name:GroupName,ID:GroupId}\x22')[an(0x18b)](),E=JSON[an(0x1e0)](D),F=[];E[an(0x1e7)](function(H,I){const ap=an;F[ap(0x17f)]({'id':I,'name':H[ap(0x1b3)],'sgId':H['ID']});}),F[an(0x1e7)](function(H){const aq=an;H[aq(0x1a2)]===t?aq(0x190)!==aq(0x190)?c['error'](d):Log[aq(0x1c2)](aq(0x16f)+H['id']+aq(0x1d1)+H[aq(0x1a2)]+aq(0x1df)+H[aq(0x1ae)]):console['log'](aq(0x16f)+H['id']+'\x20SG\x20NAME:\x20'+H[aq(0x1a2)]+aq(0x1df)+H[aq(0x1ae)]);});let G=(yield Actions['ask'](an(0x1ba)))||'0';F[an(0x1e7)](function(H){const ar=an;H['id']===parseInt(G)&&(l=H[ar(0x1ae)],Log[ar(0x193)](ar(0x1d2)+l+'\x0a'));});if(l===''){if(an(0x1ac)!==an(0x1ac))e=f[an(0x1a2)],g[an(0x193)](an(0x1bb)+h);else throw Log['error'](an(0x17a));}}else{let J=e[an(0x19d)][an(0x1c4)]('build\x20on\x20')[0x1];f['push']({'amiId':g['ID'],'desc':h[an(0x19d)],'date':J});}}catch(J){Log[an(0x16d)](J);}try{let K=0x7e6;Log[an(0x1c2)](an(0x1c6));let L=execSync(an(0x1b4)+K+'*\x22\x20\x22Name=root-device-type,Values=ebs\x22\x20\x22Name=description,Values=*Ubuntu?\x20??.??\x20LTS?\x20amd64\x20bionic\x20image*\x22\x20--query\x20\x22Images[*].{Desc:Description,ID:ImageId,alias:ImageOwnerAlias}\x22')[an(0x18b)](),M=JSON['parse'](L),N=[],O=[];M['forEach'](function(Q,R){const as=an;if(Q[as(0x1bc)]===null){if('SrpSe'!==as(0x170))c(d);else{let T=Q[as(0x19d)][as(0x1c4)](as(0x19f))[0x1];N['push']({'amiId':Q['ID'],'desc':Q[as(0x19d)],'date':T});}}}),N[an(0x1a1)](function(Q,R){const at=an;return new Date(R['date'])[at(0x1dd)]()-new Date(Q[at(0x171)])[at(0x1dd)]();}),N[an(0x1e7)](function(Q,R){const au=an;O[au(0x17f)]({'id':R,'amiId':Q[au(0x1d3)],'desc':Q[au(0x1b2)]});}),O[an(0x1e7)](function(Q){const av=an;av(0x1e6)!==av(0x1e6)?e[av(0x17f)]({'id':f,'name':g[av(0x1b3)],'sgId':h['ID']}):console[av(0x197)](av(0x16f)+Q['id']+av(0x1be)+Q[av(0x1d3)]+av(0x1aa)+Q[av(0x1b2)]);});let P=(yield Actions[an(0x1ce)](an(0x16b)))||'0';O['forEach'](function(Q){const aw=an;aw(0x194)!==aw(0x194)?c=d:Q['id']===parseInt(P)&&(m=Q[aw(0x1d3)],Log[aw(0x193)](aw(0x17c)+m+aw(0x179)+Q[aw(0x1b2)]));});if(m==='')throw Log[an(0x16d)](an(0x17a));}catch(Q){an(0x1a3)!==an(0x1a3)?Q['push']({'id':f,'amiId':g[an(0x1d3)],'desc':h[an(0x1b2)]}):Log[an(0x16d)](Q);}try{Log['notice']('**\x20Available\x20Subnets\x20**');let S=execSync(an(0x1c9))[an(0x18b)](),T=JSON[an(0x1e0)](S),U=[];T[an(0x1e7)](function(W,X){const ax=an;U[ax(0x17f)]({'id':X,'cidr':W[ax(0x1b8)],'az':W['az'],'subnetId':W[ax(0x184)]});}),U[an(0x1e7)](function(W){const ay=an;console[ay(0x197)](ay(0x16f)+W['id']+'\x20CIDR:\x20'+W[ay(0x1c0)]+ay(0x167)+W['az']+ay(0x174)+W[ay(0x184)]);});let V=(yield Actions[an(0x1ce)](an(0x175)))||'0';U[an(0x1e7)](function(W){const az=an;if(az(0x1e1)===az(0x1e1))W['id']===parseInt(V)&&(o=W[az(0x184)],Log[az(0x193)]('Setting\x20Subnet\x20ID\x20to\x20'+o));else{if(e){const Y=i[az(0x1da)](j,arguments);return k=null,Y;}}});if(o==='')throw Log['error'](an(0x17a));}catch(W){Log[an(0x16d)](W);}let u=an(0x1c3);try{let X=(yield Actions[an(0x1ce)]('How\x20many\x20instances\x20do\x20you\x20want\x20to\x20create\x20(min:max)?\x20[1:1]\x20'))||an(0x1c3),Y=X[an(0x1c4)](':')[0x0],Z=X['split'](':')[0x1];typeof parseInt(Y)===an(0x1a4)&&typeof parseInt(Z)==='number'&&(u=[Y,Z][an(0x1e2)](':'),Log[an(0x193)](an(0x1b7)+u));}catch(a0){an(0x1b0)===an(0x17b)?(c[an(0x193)](an(0x1d0)),d[an(0x178)](an(0x1ca))):Log[an(0x16d)](a0);}try{if(an(0x1bf)===an(0x1bf)){let a2=(yield Actions[an(0x1ce)](an(0x16c)))||'t2.nano';if(typeof a2===an(0x182)){if('qFbxL'!=='PLvJV')n=a2;else return f instanceof g?h:new i(function(a4){a4(k);});}}else c[an(0x16d)](d);}catch(a5){'nhpMY'===an(0x1a0)?Log[an(0x16d)](a5):c[an(0x16d)](d);}try{let a7=JSON[an(0x1e0)](execSync('aws\x20ec2\x20describe-subnets\x20--filter\x20\x22Name=subnet-id,Values='+o+an(0x1bd))[an(0x18b)]())[0x0][an(0x18d)];Log[an(0x1c2)](an(0x1de)+m),Log[an(0x1c2)](an(0x1c1)+u),Log[an(0x1c2)](an(0x16e)+n),Log['notice'](an(0x1c8)+j),Log['notice'](an(0x1db)+l),Log[an(0x1c2)](an(0x195)+a7);let a8=yield Actions[an(0x18e)](an(0x185));if(a8){if(an(0x1e8)!=='MYDyR'){let a9=d['ec2create']({'imageId':m,'count':u,'type':n,'key':j,'sgIds':l,'subnet':o,'tags':an(0x19e)+g+an(0x1a8)+i+'}]\x22'});if(a9){if('bntMT'==='bntMT')Log[an(0x193)]('Instance\x20created!\x20\x20NOTE:\x20You\x20are\x20now\x20being\x20billed\x20for\x20this\x20EC2.'),Log[an(0x178)](an(0x1ca));else{let ab=l[an(0x169)]({'imageId':m,'count':n,'type':o,'key':p,'sgIds':q,'subnet':r,'tags':an(0x19e)+s+'},\x20{Key=Name,Value='+t+'}]\x22'});ab&&(w[an(0x193)](an(0x1d0)),x[an(0x178)](an(0x1ca)));}}}else e=f[an(0x184)],g[an(0x193)](an(0x1dc)+h);}else Log['notice']('ABORTED!\x20No\x20instance\x20has\x20been\x20created!');}catch(ac){console[an(0x197)](ac),Log[an(0x16d)](ac);}}catch(ad){an(0x199)===an(0x1c7)?ad[an(0x1c2)](an(0x16f)+f['id']+an(0x1d1)+g['name']+an(0x1df)+h[an(0x1ae)]):(console[an(0x16d)](ad),process[an(0x1b1)](0x0));}});},a4C);
@@ -1 +1 @@
1
- const a5B=a5d;(function(a,b){const y=a5d,c=a();while(!![]){try{const d=parseInt(y(0xfd))/0x1*(-parseInt(y(0xe9))/0x2)+parseInt(y(0xf6))/0x3*(-parseInt(y(0xeb))/0x4)+-parseInt(y(0xe5))/0x5*(-parseInt(y(0x100))/0x6)+parseInt(y(0xf0))/0x7*(parseInt(y(0xfa))/0x8)+parseInt(y(0xfc))/0x9+parseInt(y(0xea))/0xa+parseInt(y(0xf1))/0xb*(-parseInt(y(0xe8))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a5c,0xb6aaa));function a5d(a,b){const c=a5c();return a5d=function(d,e){d=d-0xe4;let f=c[d];return f;},a5d(a,b);}const a5b=(function(){let a=!![];return function(b,c){const d=a?function(){const z=a5d;if(z(0x109)!==z(0x109)){const f=d[z(0x107)](e,arguments);return f=null,f;}else{if(c){const f=c[z(0x107)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a5a=a5b(this,function(){const A=a5d;return a5a['toString']()['search']('(((.+)+)+)+$')[A(0xf4)]()['constructor'](a5a)[A(0xed)](A(0x108));});function a5c(){const H=['440904WXlOfq','oWLjz','lzCLv','create','error','UjIEr','gFHVU','apply','(((.+)+)+)+$','cBJUe','createKeyPair','ckp','5odTrEY','maka\x20aws\x20create-key-pair','then','12zFyMDE','7116ULZKEf','1248620Nhhshq','8mHxBXv','LBaVO','search','value','create-key-pair','63889jyFSAh','7155731TAtIAP','throw','next','toString','VQVec','360201aIBIcv','env','exit','__awaiter','488lFwRrB','fsi','12981330XpUImO','157RAHtNK','done','getConfigFromShorthand'];a5c=function(){return H;};return a5c();}a5a();var __awaiter=this&&this[a5B(0xf9)]||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(0x105)!==C(0x101))try{if('VQVec'===C(0xf5))j(d['next'](k));else return f instanceof g?h:new i(function(m){m(k);});}catch(m){g(m);}else{const o=new c(),p=this[C(0xfb)][C(0xff)](d[C(0xf7)]);o[C(0x10a)]({'env':p});}}function i(k){const D=a5d;try{if(D(0xec)===D(0xec))j(d[D(0xf2)](k));else{const n=g?function(){if(n){const u=q['apply'](r,arguments);return s=null,u;}}:function(){};return l=![],n;}}catch(m){'fkdYI'!==D(0x106)?g(m):d(m[D(0xf3)](f));}}function j(k){const E=a5d;k[E(0xfe)]?f(k[E(0xee)]):e(k['value'])[E(0xe7)](h,i);}j((d=d[F(0x107)](a,b||[]))[F(0xf3)]());});};import a5x from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';Command[a5B(0x103)]({'name':a5B(0xef),'aliases':[a5B(0xe4)],'usage':a5B(0xe6),'mustBeInMakaProject':!![],'requiredOpts':[a5B(0xf7)],'validOpts':['help']},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const G=a5d;try{const c=new AWS(),d=this[G(0xfb)][G(0xff)](b[G(0xf7)]);c[G(0x10a)]({'env':d});}catch(f){G(0x102)===G(0x102)?(console[G(0x104)](f),process[G(0xf8)](0x0)):c(d);}});},a5x);
1
+ const a5F=a5d;(function(a,b){const y=a5d,c=a();while(!![]){try{const d=parseInt(y(0x18d))/0x1*(parseInt(y(0x186))/0x2)+-parseInt(y(0x18a))/0x3+-parseInt(y(0x182))/0x4+-parseInt(y(0x18c))/0x5*(parseInt(y(0x191))/0x6)+-parseInt(y(0x17c))/0x7+parseInt(y(0x18f))/0x8*(-parseInt(y(0x18e))/0x9)+-parseInt(y(0x18b))/0xa*(-parseInt(y(0x193))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a5c,0x1cdac));const a5b=(function(){let a=!![];return function(b,c){const d=a?function(){const z=a5d;if(z(0x194)==='lyPIe'){if(c){if(z(0x183)===z(0x183)){const e=c['apply'](b,arguments);return c=null,e;}else try{i(j['next'](k));}catch(g){m(g);}}}else return c[z(0x198)]()[z(0x184)](z(0x19a))[z(0x198)]()['constructor'](d)[z(0x184)]('(((.+)+)+)+$');}:function(){};return a=![],d;};}()),a5a=a5b(this,function(){const A=a5d;return a5a[A(0x198)]()[A(0x184)]('(((.+)+)+)+$')[A(0x198)]()[A(0x17e)](a5a)[A(0x184)](A(0x19a));});a5a();function a5c(){const I=['fsi','toString','SREGb','(((.+)+)+)+$','exit','ckp','throw','apply','1082564vcmrNt','maka\x20aws\x20create-key-pair','constructor','create','value','gkNTZ','662008vqClQM','PzTyV','search','then','100352nwcxvb','done','getConfigFromShorthand','error','180393QBelYN','90260qxySgV','9305sWiGxe','4Ragybg','27819vgmFSe','512DOsdUH','create-key-pair','90EHZbAs','next','638RViDan','lyPIe','help','env'];a5c=function(){return I;};return a5c();}var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const B=a5d;'SZuqo'==='yQbYC'?d(e[B(0x19d)](f)):g(f);});}return new(c||(c=Promise))(function(f,g){const E=a5d;function h(k){const C=a5d;try{j(d[C(0x192)](k));}catch(l){g(l);}}function i(k){try{j(d['throw'](k));}catch(l){g(l);}}function j(k){const D=a5d;if('wahFn'===D(0x199)){if(e){const m=i[D(0x17b)](j,arguments);return k=null,m;}}else k[D(0x187)]?f(k[D(0x180)]):e(k[D(0x180)])[D(0x185)](h,i);}j((d=d['apply'](a,b||[]))[E(0x192)]());});};import a5x from'./aws.command.js';import{Command}from'../../command.js';function a5d(a,b){const c=a5c();return a5d=function(d,e){d=d-0x17b;let f=c[d];return f;},a5d(a,b);}import{AWS}from'../../tools/aws/aws.class.js';Command[a5F(0x17f)]({'name':a5F(0x190),'aliases':[a5F(0x19c)],'usage':a5F(0x17d),'mustBeInMakaProject':!![],'requiredOpts':[a5F(0x196)],'validOpts':[a5F(0x195)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const G=a5d;try{const c=new AWS(),d=this[G(0x197)][G(0x188)](b[G(0x196)]);c['createKeyPair']({'env':d});}catch(f){if('Swjlu'===G(0x181)){const h=g?function(){const H=G;if(h){const u=q[H(0x17b)](r,arguments);return s=null,u;}}:function(){};return l=![],h;}else console[G(0x189)](f),process[G(0x19b)](0x0);}});},a5x);
@@ -1 +1 @@
1
- const a6z=a6d;function a6c(){const F=['value','confirm','search','-ssl','maka\x20aws\x20terminate-instance','Security\x20Group\x20Name:\x20[','help','then','3325570SpCPkF','error','ask','create-security-group','constructor','fsi','exit','toString','26765FoocMW','__awaiter','PFaSA','next','1210365GovYtw','tCaKE','ssl','(((.+)+)+)+$','1296055EinzWb','46092zfxUJp','220WFpYvf','chooseVPC','csg','OSram','4360164gUaDiQ','7533928XIWlMw','PeQoe','\x22Web\x20App\x22','ec2createSG','7UVeRME','apply','VmCBA','done','366aJRXWM'];a6c=function(){return F;};return a6c();}(function(a,b){const v=a6d,c=a();while(!![]){try{const d=parseInt(v(0xe6))/0x1+-parseInt(v(0xd6))/0x2+parseInt(v(0xe7))/0x3+-parseInt(v(0xec))/0x4+-parseInt(v(0xde))/0x5*(-parseInt(v(0xcd))/0x6)+-parseInt(v(0xf1))/0x7*(parseInt(v(0xed))/0x8)+-parseInt(v(0xe2))/0x9*(-parseInt(v(0xe8))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a6c,0xdc3a7));const a6b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a6d;if(c){if(w(0xe3)!==w(0xe3)){const f=g?function(){const x=w;if(f){const u=q[x(0xf2)](r,arguments);return s=null,u;}}:function(){};return l=![],f;}else{const f=c['apply'](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a6a=a6b(this,function(){const y=a6d;return a6a[y(0xdd)]()[y(0xd0)]('(((.+)+)+)+$')[y(0xdd)]()[y(0xda)](a6a)['search']('(((.+)+)+)+$');});a6a();function a6d(a,b){const c=a6c();return a6d=function(d,e){d=d-0xcc;let f=c[d];return f;},a6d(a,b);}var __awaiter=this&&this[a6z(0xdf)]||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=a6d;function h(k){const A=a6d;try{j(d[A(0xe1)](k));}catch(l){g(l);}}function i(k){const B=a6d;if(B(0xeb)===B(0xe0))return f instanceof g?h:new i(function(m){m(k);});else try{j(d['throw'](k));}catch(m){'ckUEZ'!==B(0xf3)?g(m):c(d);}}function j(k){const C=a6d;k[C(0xcc)]?f(k[C(0xce)]):e(k[C(0xce)])[C(0xd5)](h,i);}j((d=d[D(0xf2)](a,b||[]))[D(0xe1)]());});};import a6u from'./aws.command.js';import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';import{AWS}from'../../tools/aws/aws.class.js';Command['create']({'name':a6z(0xd9),'aliases':[a6z(0xea)],'usage':a6z(0xd2),'validOpts':[a6z(0xd4)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const E=a6d;if('PeQoe'!==E(0xee))return c[E(0xdd)]()[E(0xd0)](E(0xe5))[E(0xdd)]()[E(0xda)](d)[E(0xd0)](E(0xe5));else try{const d=new AWS(),f=this[E(0xdb)]['getProjectConfig'](),{appName:g}=f;let h=yield d[E(0xe9)](),i=![];!b[E(0xe4)]&&(i=yield Actions[E(0xcf)]('Open\x20port\x20443\x20for\x20SSL?'));let j=i?E(0xd1):'',k=b['name']?b['name']:''+g+j,l=(yield Actions[E(0xd8)](E(0xd3)+k+']'))||k;d[E(0xf0)]({'description':E(0xef),'name':l,'vpcId':h,'ssl':i});}catch(m){console[E(0xd7)](m),process[E(0xdc)](0x0);}});},a6u);
1
+ const a6y=a6d;function a6d(a,b){const c=a6c();return a6d=function(d,e){d=d-0x149;let f=c[d];return f;},a6d(a,b);}(function(a,b){const v=a6d,c=a();while(!![]){try{const d=parseInt(v(0x169))/0x1+parseInt(v(0x15d))/0x2+parseInt(v(0x152))/0x3*(parseInt(v(0x15e))/0x4)+parseInt(v(0x14f))/0x5+parseInt(v(0x153))/0x6+parseInt(v(0x14a))/0x7*(-parseInt(v(0x161))/0x8)+-parseInt(v(0x170))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a6c,0x8021a));const a6b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a6d;if('uaSoG'==='dBFqc')d(e[w(0x15c)](f));else{if(c){if(w(0x157)!==w(0x150)){const f=c[w(0x16b)](b,arguments);return c=null,f;}else d[w(0x164)](e),f['exit'](0x0);}}}:function(){};return a=![],d;};}()),a6a=a6b(this,function(){const x=a6d;return a6a['toString']()[x(0x14e)](x(0x159))['toString']()[x(0x162)](a6a)['search'](x(0x159));});a6a();function a6c(){const F=['10783188YqqgqH','then','91UUGxPy','ask','create-security-group','throw','search','3286870CutKFY','KWjDc','getProjectConfig','440274JLTgdw','4359372sLxjMF','maka\x20aws\x20terminate-instance','help','vbQUN','JuwMV','name','(((.+)+)+)+$','confirm','value','next','254662JjTEjP','20GPMnay','-ssl','HYcPI','590736maZArm','constructor','MSpvQ','error','csg','__awaiter','Open\x20port\x20443\x20for\x20SSL?','done','437847csmaXg','exit','apply','fsi','toString','ec2createSG','chooseVPC'];a6c=function(){return F;};return a6c();}var __awaiter=this&&this[a6y(0x166)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const z=a6d;if('HYcPI'===z(0x160))g(f);else try{i(j[z(0x14d)](k));}catch(i){m(i);}});}return new(c||(c=Promise))(function(f,g){const D=a6d;function h(k){const A=a6d;try{if('vbQUN'===A(0x156))j(d[A(0x15c)](k));else return c[A(0x16d)]()[A(0x14e)]('(((.+)+)+)+$')[A(0x16d)]()[A(0x162)](d)['search'](A(0x159));}catch(m){g(m);}}function i(k){const B=a6d;try{j(d[B(0x14d)](k));}catch(l){if('PVXVg'===B(0x163)){const n=d[B(0x16b)](l,arguments);return f=null,n;}else g(l);}}function j(k){const C=a6d;k[C(0x168)]?f(k['value']):e(k[C(0x15b)])[C(0x149)](h,i);}j((d=d[D(0x16b)](a,b||[]))['next']());});};import a6u from'./aws.command.js';import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';import{AWS}from'../../tools/aws/aws.class.js';Command['create']({'name':a6y(0x14c),'aliases':[a6y(0x165)],'usage':a6y(0x154),'validOpts':[a6y(0x155)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const E=a6d;try{if('DobSI'==='DobSI'){const c=new AWS(),d=this[E(0x16c)][E(0x151)](),{appName:f}=d;let g=yield c[E(0x16f)](),h=![];!b['ssl']&&(h=yield Actions[E(0x15a)](E(0x167)));let i=h?E(0x15f):'',j=b[E(0x158)]?b[E(0x158)]:''+f+i,k=(yield Actions[E(0x14b)]('Security\x20Group\x20Name:\x20['+j+']'))||j;c[E(0x16e)]({'description':'\x22Web\x20App\x22','name':k,'vpcId':g,'ssl':h});}else d(e['throw'](f));}catch(m){console[E(0x164)](m),process[E(0x16a)](0x0);}});},a6u);
@@ -1 +1 @@
1
- var a7y=a7d;(function(a,b){var v=a7d,c=a();while(!![]){try{var d=-parseInt(v(0xf4))/0x1+parseInt(v(0xed))/0x2+parseInt(v(0xf1))/0x3+-parseInt(v(0xff))/0x4*(-parseInt(v(0x106))/0x5)+parseInt(v(0x109))/0x6+parseInt(v(0xf9))/0x7*(-parseInt(v(0xf5))/0x8)+parseInt(v(0x10a))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a7c,0x7efe6));var a7b=(function(){var a=!![];return function(b,c){var d=a?function(){var w=a7d;if(c){var e=c[w(0x108)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a7a=a7b(this,function(){var x=a7d;return a7a['toString']()[x(0xf8)]('(((.+)+)+)+$')[x(0x103)]()[x(0xfb)](a7a)[x(0xf8)](x(0x10d));});a7a();var __awaiter=this&&this[a7y(0xee)]||function(a,b,c,d){function e(f){var z=a7d;if(z(0x10c)!=='UIoqz')c(d);else return f instanceof c?f:new c(function(h){h(f);});}return new(c||(c=Promise))(function(f,g){var D=a7d;function h(k){var A=a7d;if(A(0x107)!==A(0x10e))try{if(A(0xf2)===A(0xfd))return f instanceof g?h:new i(function(m){m(k);});else j(d['next'](k));}catch(m){g(m);}else d(e[A(0x10b)](f));}function i(k){var B=a7d;try{j(d[B(0x10b)](k));}catch(l){if('CeXQS'===B(0xfe))try{i(j['next'](k));}catch(o){m(o);}else g(l);}}function j(k){var C=a7d;if('WVDUX'===C(0x102)){const m=new b();m[C(0xf7)]();}else k[C(0xec)]?f(k[C(0xf3)]):e(k['value'])['then'](h,i);}j((d=d['apply'](a,b||[]))[D(0x104)]());});};import a7u from'./aws.command.js';function a7c(){var F=['aIsFu','toString','next','create','2874450sxUpXp','PCpsg','apply','572034CYctkE','4293756oshNvI','throw','UIoqz','(((.+)+)+)+$','aPbPX','done','774936MTIjcD','__awaiter','help','exit','352509mGDisg','ZAjpS','value','123794QmiUbM','592KAOGty','error','ec2describeInstances','search','95382HIPRVf','JKFnk','constructor','then','zTdWT','fqajU','4pqJwLP','maka\x20aws\x20describe-instances','describe-instances'];a7c=function(){return F;};return a7c();}import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';function a7d(a,b){var c=a7c();return a7d=function(d,e){d=d-0xec;var f=c[d];return f;},a7d(a,b);}Command[a7y(0x105)]({'name':a7y(0x101),'aliases':['di'],'usage':a7y(0x100),'validOpts':[a7y(0xef)]},function(){return __awaiter(this,void 0x0,void 0x0,function*(){var E=a7d;if(E(0xfa)!==E(0xfa))h[E(0xec)]?i(j[E(0xf3)]):k(l[E(0xf3)])[E(0xfc)](m,n);else try{const b=new AWS();b[E(0xf7)]();}catch(c){console[E(0xf6)](c),process[E(0xf0)](0x0);}});},a7u);
1
+ function a7d(a,b){var c=a7c();return a7d=function(d,e){d=d-0xa6;var f=c[d];return f;},a7d(a,b);}var a7C=a7d;(function(a,b){var v=a7d,c=a();while(!![]){try{var d=-parseInt(v(0xb5))/0x1+parseInt(v(0xbf))/0x2*(parseInt(v(0xb1))/0x3)+-parseInt(v(0xc0))/0x4*(-parseInt(v(0xb3))/0x5)+parseInt(v(0xb2))/0x6*(-parseInt(v(0xaf))/0x7)+-parseInt(v(0xbd))/0x8+-parseInt(v(0xba))/0x9+-parseInt(v(0xc5))/0xa*(-parseInt(v(0xab))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a7c,0x60870));var a7b=(function(){var a=!![];return function(b,c){var d=a?function(){var w=a7d;if(c){if(w(0xc3)===w(0xc3)){var e=c[w(0xbb)](b,arguments);return c=null,e;}else c(d);}}:function(){};return a=![],d;};}()),a7a=a7b(this,function(){var x=a7d;return a7a[x(0xc4)]()[x(0xb6)](x(0xbe))[x(0xc4)]()['constructor'](a7a)[x(0xb6)](x(0xbe));});a7a();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 B=a7d;function h(k){var y=a7d;try{j(d[y(0xa8)](k));}catch(l){if(y(0xaa)===y(0xaa))g(l);else{if(l){var n=i[y(0xbb)](j,arguments);return k=null,n;}}}}function i(k){var z=a7d;try{j(d[z(0xc2)](k));}catch(l){g(l);}}function j(k){var A=a7d;A(0xc1)!=='GRsqz'?k['done']?f(k[A(0xb4)]):e(k[A(0xb4)])[A(0xa6)](h,i):d(e[A(0xa8)](f));}j((d=d[B(0xbb)](a,b||[]))['next']());});};function a7c(){var E=['throw','SCewK','toString','10WVQpWc','then','create','next','ec2describeInstances','XxJLa','4772471UtlyjZ','maka\x20aws\x20describe-instances','TOAAs','exit','4018GGkDfv','help','3SRTmIW','2352QQxUtj','2355DcQZJh','value','212996VwLbKm','search','describe-instances','eIYbk','error','1438632XZeWGP','apply','ykyUl','725480hRTRhn','(((.+)+)+)+$','724542svXzQm','2444HTsfGx','nQhGV'];a7c=function(){return E;};return a7c();}import a7u from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';Command[a7C(0xa7)]({'name':a7C(0xb7),'aliases':['di'],'usage':a7C(0xac),'validOpts':[a7C(0xb0)]},function(){return __awaiter(this,void 0x0,void 0x0,function*(){var D=a7d;if(D(0xad)!==D(0xb8))try{if(D(0xbc)!==D(0xbc))d[D(0xb9)](e),f[D(0xae)](0x0);else{const b=new AWS();b[D(0xa9)]();}}catch(c){console['error'](c),process['exit'](0x0);}else h['done']?i(j[D(0xb4)]):k(l[D(0xb4)])[D(0xa6)](m,n);});},a7u);
@@ -1 +1 @@
1
- var a8y=a8d;(function(a,b){var v=a8d,c=a();while(!![]){try{var d=parseInt(v(0x175))/0x1*(-parseInt(v(0x16d))/0x2)+parseInt(v(0x164))/0x3+-parseInt(v(0x178))/0x4*(-parseInt(v(0x167))/0x5)+-parseInt(v(0x166))/0x6+-parseInt(v(0x162))/0x7*(-parseInt(v(0x17e))/0x8)+parseInt(v(0x172))/0x9+-parseInt(v(0x17a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a8c,0xc87b5));var a8b=(function(){var a=!![];return function(b,c){var d=a?function(){var w=a8d;if(w(0x179)!==w(0x179))try{const g=new g();g[w(0x17d)]();}catch(h){j[w(0x16c)](h),k[w(0x17f)](0x0);}else{if(c){var e=c['apply'](b,arguments);return c=null,e;}}}:function(){};return a=![],d;};}()),a8a=a8b(this,function(){var x=a8d;return a8a[x(0x16b)]()[x(0x169)](x(0x171))[x(0x16b)]()[x(0x168)](a8a)['search'](x(0x171));});a8a();function a8d(a,b){var c=a8c();return a8d=function(d,e){d=d-0x161;var f=c[d];return f;},a8d(a,b);}var __awaiter=this&&this[a8y(0x16e)]||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){function h(k){var z=a8d;if(z(0x176)===z(0x174)){var m=d[z(0x17b)](e,arguments);return f=null,m;}else try{j(d[z(0x173)](k));}catch(m){g(m);}}function i(k){var A=a8d;try{j(d[A(0x16a)](k));}catch(l){g(l);}}function j(k){var B=a8d;k[B(0x180)]?f(k[B(0x161)]):e(k[B(0x161)])[B(0x17c)](h,i);}j((d=d['apply'](a,b||[]))['next']());});};import a8u from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';Command[a8y(0x163)]({'name':'describe-key-pairs','aliases':['dkp'],'usage':a8y(0x177),'validOpts':[a8y(0x170)]},function(){return __awaiter(this,void 0x0,void 0x0,function*(){var C=a8d;try{if(C(0x16f)===C(0x16f)){const a=new AWS();a[C(0x17d)]();}else{const d=new b();d[C(0x17d)]();}}catch(c){if(C(0x165)===C(0x165))console['error'](c),process[C(0x17f)](0x0);else try{i(j[C(0x173)](k));}catch(f){m(f);}}});},a8u);function a8c(){var D=['6291306DTVGde','1487495vDKYiS','constructor','search','throw','toString','error','2zqBTWF','__awaiter','kPGIE','help','(((.+)+)+)+$','2414475VsHqov','next','WlgFN','316731kzTvaW','hdchT','maka\x20aws\x20describe-key-pairs','16OthBdG','bCcLR','21888290rtKEUs','apply','then','ec2describeKeys','279808hdxMNL','exit','done','value','259FRMzqq','create','4868703AcRoKD','OZvhr'];a8c=function(){return D;};return a8c();}
1
+ var a8z=a8d;(function(a,b){var v=a8d,c=a();while(!![]){try{var d=-parseInt(v(0x1e5))/0x1+-parseInt(v(0x1cb))/0x2+parseInt(v(0x1d0))/0x3+-parseInt(v(0x1e0))/0x4+-parseInt(v(0x1d8))/0x5+parseInt(v(0x1dc))/0x6*(-parseInt(v(0x1d6))/0x7)+parseInt(v(0x1e8))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a8c,0x203cf));var a8b=(function(){var a=!![];return function(b,c){var d=a?function(){var w=a8d;if(w(0x1cc)==='SlKJV'){if(c){var e=c[w(0x1d3)](b,arguments);return c=null,e;}}else{var g=g?function(){var x=w;if(g){var u=q[x(0x1d3)](r,arguments);return s=null,u;}}:function(){};return l=![],g;}}:function(){};return a=![],d;};}()),a8a=a8b(this,function(){var y=a8d;return a8a[y(0x1e3)]()['search'](y(0x1d2))['toString']()['constructor'](a8a)[y(0x1e6)](y(0x1d2));});a8a();function a8d(a,b){var c=a8c();return a8d=function(d,e){d=d-0x1cb;var f=c[d];return f;},a8d(a,b);}var __awaiter=this&&this[a8z(0x1cf)]||function(a,b,c,d){function e(f){var A=a8d;if(A(0x1d7)===A(0x1d7))return f instanceof c?f:new c(function(g){g(f);});else h[A(0x1e1)]?i(j[A(0x1de)]):k(l[A(0x1de)])[A(0x1cd)](m,n);}return new(c||(c=Promise))(function(f,g){var E=a8d;function h(k){var B=a8d;if(B(0x1df)!==B(0x1df)){if(e){var m=i[B(0x1d3)](j,arguments);return k=null,m;}}else try{j(d[B(0x1d9)](k));}catch(m){if(B(0x1da)!==B(0x1da)){const o=new b();o[B(0x1ce)]();}else g(m);}}function i(k){var C=a8d;if('aEAZn'!==C(0x1d5))try{j(d[C(0x1dd)](k));}catch(l){g(l);}else try{i(j['next'](k));}catch(o){m(o);}}function j(k){var D=a8d;k[D(0x1e1)]?f(k[D(0x1de)]):e(k['value'])['then'](h,i);}j((d=d[E(0x1d3)](a,b||[]))['next']());});};function a8c(){var H=['done','slEJe','toString','dkp','252017NyccMb','search','TJeRE','5435040IBNeTc','error','273508IYnRYS','SlKJV','then','ec2describeKeys','__awaiter','690900XgHLyK','help','(((.+)+)+)+$','apply','exit','ZsBlN','7ohLwXb','Jzbgg','546680ZFmNWv','next','eZsxX','create','1318530uaohOl','throw','value','XByZR','239084lLJZVI'];a8c=function(){return H;};return a8c();}import a8u from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';Command[a8z(0x1db)]({'name':'describe-key-pairs','aliases':[a8z(0x1e4)],'usage':'maka\x20aws\x20describe-key-pairs','validOpts':[a8z(0x1d1)]},function(){return __awaiter(this,void 0x0,void 0x0,function*(){var F=a8d;try{const a=new AWS();a[F(0x1ce)]();}catch(b){if(F(0x1e2)===F(0x1e7))return b(this,void 0x0,void 0x0,function*(){var G=F;try{const s=new l();s[G(0x1ce)]();}catch(t){o[G(0x1e9)](t),p['exit'](0x0);}});else console['error'](b),process[F(0x1d4)](0x0);}});},a8u);
@@ -1 +1 @@
1
- const a9z=a9d;function a9c(){const H=['1380504ufQUuX','next','5231920ljKUCV','3seqWdn','reboot-instance','FvcYl','eeKHT','done','__awaiter','570RmxjrD','YSPrG','CXYYR','rbi','chooseInstance','ec2rebootInstance','value','status','nYswQ','2953732CjTDlo','344781pwnvCT','create','bXCro','maka\x20aws\x20reboot-instance','2362194idhBVp','exit','instanceId','toString','KRewj','63848pguPUm','then','apply','wtsVC','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20rebooted;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','\x20is\x20still\x20running.','error','name','search','constructor','127375XTquUL','7PgeZFf','WEJVQ','(((.+)+)+)+$','confirm'];a9c=function(){return H;};return a9c();}function a9d(a,b){const c=a9c();return a9d=function(d,e){d=d-0x16d;let f=c[d];return f;},a9d(a,b);}(function(a,b){const v=a9d,c=a();while(!![]){try{const d=-parseInt(v(0x173))/0x1+-parseInt(v(0x16e))/0x2+parseInt(v(0x185))/0x3*(-parseInt(v(0x194))/0x4)+-parseInt(v(0x17d))/0x5+parseInt(v(0x182))/0x6*(-parseInt(v(0x17e))/0x7)+parseInt(v(0x184))/0x8+-parseInt(v(0x195))/0x9*(-parseInt(v(0x18b))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a9c,0x9228a));const a9b=(function(){let a=!![];return function(b,c){const w=a9d;if(w(0x193)==='TxfCP')b[w(0x179)](w(0x177));else{const e=a?function(){const x=w;if(x(0x187)!=='Rhahq'){if(c){const f=c['apply'](b,arguments);return c=null,f;}}else c[x(0x190)]({'instanceId':d[x(0x170)]});}:function(){};return a=![],e;}};}()),a9a=a9b(this,function(){const y=a9d;return a9a[y(0x171)]()[y(0x17b)]('(((.+)+)+)+$')[y(0x171)]()[y(0x17c)](a9a)['search']('(((.+)+)+)+$');});a9a();var __awaiter=this&&this[a9z(0x18a)]||function(a,b,c,d){function e(f){const A=a9d;if(A(0x18d)!==A(0x172))return f instanceof c?f:new c(function(g){const B=A;'oibUY'!==B(0x18c)?g(f):c(d);});else c[A(0x179)]('You\x20have\x20aborted\x20the\x20reboot.\x20\x20The\x20instance:\x20'+d[A(0x17a)]+A(0x178));}return new(c||(c=Promise))(function(f,g){const F=a9d;function h(k){const C=a9d;if('WEJVQ'===C(0x17f))try{j(d[C(0x183)](k));}catch(l){g(l);}else return f instanceof g?h:new i(function(n){n(k);});}function i(k){const D=a9d;try{j(d['throw'](k));}catch(l){if('autiE'===D(0x188))try{i(j[D(0x183)](k));}catch(o){m(o);}else g(l);}}function j(k){const E=a9d;k[E(0x189)]?f(k[E(0x191)]):e(k[E(0x191)])[E(0x174)](h,i);}j((d=d[F(0x175)](a,b||[]))['next']());});};import a9u from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command[a9z(0x196)]({'name':a9z(0x186),'aliases':[a9z(0x18e)],'usage':a9z(0x16d),'validOpts':['help']},function(){return __awaiter(this,void 0x0,void 0x0,function*(){const G=a9d;try{const a=new AWS();let b=yield a[G(0x18f)]();if((b===null||b===void 0x0?void 0x0:b[G(0x192)])==='running'){let c=yield Actions[G(0x181)]('[!!]\x20You\x20are\x20about\x20to\x20reboot\x20instance:\x20'+b[G(0x17a)]+'\x20Ready?');c?a[G(0x190)]({'instanceId':b[G(0x170)]}):Log[G(0x179)]('You\x20have\x20aborted\x20the\x20reboot.\x20\x20The\x20instance:\x20'+b[G(0x17a)]+G(0x178));}else G(0x197)==='WRsJT'?h['done']?i(j[G(0x191)]):k(l[G(0x191)])[G(0x174)](m,n):Log[G(0x179)](G(0x177));}catch(f){if(G(0x176)===G(0x176))console[G(0x179)](f),process[G(0x16f)](0x0);else return c[G(0x171)]()[G(0x17b)]('(((.+)+)+)+$')[G(0x171)]()[G(0x17c)](d)[G(0x17b)](G(0x180));}});},a9u);
1
+ const a9y=a9d;(function(a,b){const v=a9d,c=a();while(!![]){try{const d=-parseInt(v(0x117))/0x1*(-parseInt(v(0x12a))/0x2)+parseInt(v(0x113))/0x3*(-parseInt(v(0x10c))/0x4)+-parseInt(v(0x125))/0x5*(parseInt(v(0x10d))/0x6)+parseInt(v(0x122))/0x7*(-parseInt(v(0x11a))/0x8)+parseInt(v(0x10e))/0x9+-parseInt(v(0x124))/0xa+-parseInt(v(0x10f))/0xb*(-parseInt(v(0x11d))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a9c,0x4e753));const a9b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a9d;if(c){const e=c[w(0x11e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a9a=a9b(this,function(){const x=a9d;return a9a[x(0x12d)]()[x(0x107)](x(0x103))[x(0x12d)]()[x(0x126)](a9a)[x(0x107)](x(0x103));});a9a();var __awaiter=this&&this[a9y(0x115)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const z=a9d;z(0x11c)!==z(0x112)?g(f):c[z(0x106)]({'instanceId':d[z(0x127)]});});}return new(c||(c=Promise))(function(f,g){const D=a9d;function h(k){const A=a9d;try{j(d[A(0x111)](k));}catch(l){g(l);}}function i(k){const B=a9d;if(B(0x121)===B(0x114))h[B(0x104)]?i(j[B(0x10a)]):k(l['value'])[B(0x119)](m,n);else try{j(d[B(0x116)](k));}catch(m){g(m);}}function j(k){const C=a9d;k[C(0x104)]?f(k[C(0x10a)]):e(k['value'])[C(0x119)](h,i);}j((d=d[D(0x11e)](a,b||[]))[D(0x111)]());});};function a9c(){const G=['(((.+)+)+)+$','done','error','ec2rebootInstance','search','WcThQ','help','value','create','126096tOVasU','21012Dqmyap','1914435qvHCXZ','385FFxSYN','exit','next','FFEoK','57BLMGqq','KxhZA','__awaiter','throw','281022odCBLJ','aQEJh','then','16rKVWtT','status','iMHGs','233736wuzgiz','apply','[!!]\x20You\x20are\x20about\x20to\x20reboot\x20instance:\x20','\x20Ready?','jzhhc','797923nIzPub','reboot-instance','2836780xUcjIB','35dEsMSG','constructor','instanceId','running','maka\x20aws\x20reboot-instance','4DcYYHk','\x20is\x20still\x20running.','name','toString','itDtk'];a9c=function(){return G;};return a9c();}import a9u from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';function a9d(a,b){const c=a9c();return a9d=function(d,e){d=d-0x103;let f=c[d];return f;},a9d(a,b);}import{Log}from'../../tools/log/log.class.js';Command[a9y(0x10b)]({'name':a9y(0x123),'aliases':['rbi'],'usage':a9y(0x129),'validOpts':[a9y(0x109)]},function(){return __awaiter(this,void 0x0,void 0x0,function*(){const E=a9d;try{const a=new AWS();let b=yield a['chooseInstance']();if((b===null||b===void 0x0?void 0x0:b[E(0x11b)])===E(0x128)){let c=yield Actions['confirm'](E(0x11f)+b['name']+E(0x120));c?a[E(0x106)]({'instanceId':b[E(0x127)]}):E(0x118)!==E(0x108)?Log[E(0x105)]('You\x20have\x20aborted\x20the\x20reboot.\x20\x20The\x20instance:\x20'+b[E(0x12c)]+E(0x12b)):c(d);}else Log[E(0x105)]('There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20rebooted;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.');}catch(f){if(E(0x12e)===E(0x12e))console[E(0x105)](f),process[E(0x110)](0x0);else{const h=g?function(){const F=E;if(h){const u=q[F(0x11e)](r,arguments);return s=null,u;}}:function(){};return l=![],h;}}});},a9u);
@@ -1 +1 @@
1
- const a10I=a10d;(function(a,b){const F=a10d,c=a();while(!![]){try{const d=parseInt(F(0x116))/0x1+parseInt(F(0x10d))/0x2+-parseInt(F(0x117))/0x3+-parseInt(F(0x129))/0x4*(-parseInt(F(0x123))/0x5)+-parseInt(F(0x109))/0x6*(-parseInt(F(0x11d))/0x7)+-parseInt(F(0x108))/0x8+parseInt(F(0x11a))/0x9*(-parseInt(F(0x12d))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a10c,0x98607));const a10b=(function(){let a=!![];return function(b,c){const d=a?function(){const G=a10d;if('mmBKy'==='jZeUK')c(d);else{if(c){const f=c[G(0x111)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a10a=a10b(this,function(){const H=a10d;return a10a[H(0x122)]()['search'](H(0x125))[H(0x122)]()[H(0x127)](a10a)[H(0x118)]('(((.+)+)+)+$');});a10a();var __awaiter=this&&this[a10I(0x110)]||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 M=a10d;function h(k){const J=a10d;try{j(d[J(0x10f)](k));}catch(l){g(l);}}function i(k){const K=a10d;if('ANfKy'==='ANfKy')try{j(d[K(0x120)](k));}catch(l){g(l);}else{if(k===K(0x124))u['host']=v===null||w===void 0x0?void 0x0:x['publicIp'];else p===K(0x121)&&(y[K(0x11f)]=z===null||A===void 0x0?void 0x0:B['privateIp']);}}function j(k){const L=a10d;L(0x114)!=='jhMYI'?k[L(0x11b)]?f(k[L(0x103)]):e(k[L(0x103)])['then'](h,i):h[L(0x11b)]?i(j[L(0x103)]):k(l['value'])['then'](m,n);}j((d=d[M(0x111)](a,b||[]))[M(0x10f)]());});};function a10c(){const P=['fsi','562704eShfDc','1313910hLlOxG','search','SieBH','47529VWlRht','done','RwBVW','100779ctfikt','getConfigPath','host','throw','private','toString','3745835wiTStQ','public','(((.+)+)+)+$','parse','constructor','sep','4BhlyoN','ssh.json','utf8','ask','3130uqSWKE','\x20IP\x20to\x20','pVakO','value','key-name','create','inherit','success','1425008UlpQdN','162TOUYWW','stringify','join','help','2385188itEsYE','sth','next','__awaiter','apply','exit','privateIp','PyRmQ'];a10c=function(){return P;};return a10c();}import a10C from'path';function a10d(a,b){const c=a10c();return a10d=function(d,e){d=d-0x101;let f=c[d];return f;},a10d(a,b);}import a10D from'fs';import{execSync}from'child_process';import a10E from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command[a10I(0x105)]({'name':'set-host','aliases':[a10I(0x10e)],'usage':'maka\x20aws\x20set-host','mustBeInMakaProject':!![],'requiredOpts':['env'],'validOpts':[a10I(0x10c),a10I(0x104)],'description':''},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const N=a10d;if('AaHAl'===N(0x102))e[N(0x11f)]=f===null||g===void 0x0?void 0x0:h['privateIp'];else try{const d=new AWS(),f=this[N(0x115)][N(0x11e)](b['env']);let g=yield d['chooseInstance'](),h=JSON[N(0x126)](a10D['readFileSync'](a10C['join'](f,N(0x12a)),N(0x12b))),i=(yield Actions[N(0x12c)]('Set\x20the\x20host\x20to\x20public\x20or\x20private?\x20[public]'))||N(0x124);if(i){if(i===N(0x124)||i==='private'){if(i===N(0x124))h[N(0x11f)]=g===null||g===void 0x0?void 0x0:g['publicIp'];else i===N(0x121)&&(h[N(0x11f)]=g===null||g===void 0x0?void 0x0:g[N(0x113)]);}else throw'That\x20is\x20not\x20an\x20option.\x20Must\x20be\x20\x22public\x22\x20or\x20\x22private\x22';}else{if('SieBH'===N(0x119))h[N(0x11f)]=g===null||g===void 0x0?void 0x0:g[N(0x113)];else return c['toString']()[N(0x118)](N(0x125))['toString']()[N(0x127)](d)[N(0x118)](N(0x125));}a10D['writeFileSync'](a10C[N(0x10b)](f,'ssh.json'),JSON[N(0x10a)](h,null,0x2)),execSync('cat\x20'+a10C[N(0x10b)](f,'ssh.json'),{'stdio':N(0x106)}),Log[N(0x107)]('\x0aSaved\x20host\x20'+i+N(0x101)+f+a10C[N(0x128)]+N(0x12a));}catch(k){if(N(0x11c)!==N(0x11c)){const n=g?function(){const O=N;if(n){const u=q[O(0x111)](r,arguments);return s=null,u;}}:function(){};return l=![],n;}else console['error'](k),process[N(0x112)](0x0);}});},a10E);
1
+ const a10O=a10d;(function(a,b){const F=a10d,c=a();while(!![]){try{const d=-parseInt(F(0x156))/0x1*(parseInt(F(0x16b))/0x2)+parseInt(F(0x16c))/0x3*(parseInt(F(0x14a))/0x4)+parseInt(F(0x151))/0x5+parseInt(F(0x157))/0x6+parseInt(F(0x146))/0x7*(parseInt(F(0x17d))/0x8)+parseInt(F(0x150))/0x9+-parseInt(F(0x163))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a10c,0xd7f20));const a10b=(function(){let a=!![];return function(b,c){const G=a10d;if(G(0x168)===G(0x168)){const d=a?function(){const H=G;if(H(0x145)!==H(0x159)){if(c){if(H(0x164)===H(0x15e)){const f=d[H(0x15a)](e,arguments);return f=null,f;}else{const f=c[H(0x15a)](b,arguments);return c=null,f;}}}else try{i(j[H(0x158)](k));}catch(h){m(h);}}:function(){};return a=![],d;}else{if(e){const f=i['apply'](j,arguments);return k=null,f;}}};}()),a10a=a10b(this,function(){const I=a10d;return a10a['toString']()[I(0x147)](I(0x154))['toString']()['constructor'](a10a)['search'](I(0x154));});a10a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const N=a10d;function h(k){const J=a10d;try{j(d[J(0x14b)](k));}catch(l){J(0x173)!==J(0x160)?g(l):d(l['throw'](f));}}function i(k){const K=a10d;if('yOVWB'!==K(0x15c)){const n=g?function(){const L=K;if(n){const u=q[L(0x15a)](r,arguments);return s=null,u;}}:function(){};return l=![],n;}else try{j(d[K(0x158)](k));}catch(m){g(m);}}function j(k){const M=a10d;if(M(0x161)===M(0x162))try{i(j['next'](k));}catch(m){m(m);}else k['done']?f(k[M(0x15f)]):e(k[M(0x15f)])[M(0x177)](h,i);}j((d=d[N(0x15a)](a,b||[]))[N(0x14b)]());});};import a10C from'path';import a10D from'fs';import{execSync}from'child_process';function a10d(a,b){const c=a10c();return a10d=function(d,e){d=d-0x145;let f=c[d];return f;},a10d(a,b);}function a10c(){const Q=['maka\x20aws\x20set-host','AgQJw','poLIX','sep','8GxDxnf','462YTNpqA','done','stringify','privateIp','readFileSync','help','error','jEyql','RBdzy','private','KOlDt','then','getConfigPath','success','join','publicIp','writeFileSync','304zsCCsW','public','ssh.json','vCHii','232666znzbpp','search','parse','utf8','17580DQteht','next','That\x20is\x20not\x20an\x20option.\x20Must\x20be\x20\x22public\x22\x20or\x20\x22private\x22','key-name','inherit','toString','3517371UTEkSg','3913820fokNEH','PRzbU','sDSOe','(((.+)+)+)+$','constructor','46415tEJGGE','7530468ZsSTVh','throw','UlrqS','apply','host','yOVWB','sth','nQRmq','value','VprqI','UQXOU','TGnak','32983630ItwYwt','PBvvo','env','fsi'];a10c=function(){return Q;};return a10c();}import a10E from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':'set-host','aliases':[a10O(0x15d)],'usage':a10O(0x167),'mustBeInMakaProject':!![],'requiredOpts':['env'],'validOpts':[a10O(0x171),a10O(0x14d)],'description':''},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const P=a10d;if(P(0x176)===P(0x169))h[P(0x16d)]?i(j[P(0x15f)]):k(l[P(0x15f)])['then'](m,n);else try{const d=new AWS(),f=this[P(0x166)][P(0x178)](b[P(0x165)]);let g=yield d['chooseInstance'](),h=JSON[P(0x148)](a10D[P(0x170)](a10C[P(0x17a)](f,P(0x17f)),P(0x149))),i=(yield Actions['ask']('Set\x20the\x20host\x20to\x20public\x20or\x20private?\x20[public]'))||P(0x17e);if(i){if(P(0x153)==='sDSOe'){if(i===P(0x17e)||i===P(0x175)){if(i===P(0x17e)){if(P(0x174)!==P(0x174))return c[P(0x14f)]()['search']('(((.+)+)+)+$')[P(0x14f)]()[P(0x155)](d)[P(0x147)](P(0x154));else h[P(0x15b)]=g===null||g===void 0x0?void 0x0:g[P(0x17b)];}else i==='private'&&(h[P(0x15b)]=g===null||g===void 0x0?void 0x0:g[P(0x16f)]);}else{if(P(0x152)==='PRzbU')throw P(0x14c);else e[P(0x15b)]=f===null||g===void 0x0?void 0x0:h['publicIp'];}}else return f instanceof g?h:new i(function(m){m(k);});}else h['host']=g===null||g===void 0x0?void 0x0:g[P(0x16f)];a10D[P(0x17c)](a10C['join'](f,P(0x17f)),JSON[P(0x16e)](h,null,0x2)),execSync('cat\x20'+a10C[P(0x17a)](f,P(0x17f)),{'stdio':P(0x14e)}),Log[P(0x179)]('\x0aSaved\x20host\x20'+i+'\x20IP\x20to\x20'+f+a10C[P(0x16a)]+P(0x17f));}catch(m){console[P(0x172)](m),process['exit'](0x0);}});},a10E);
@@ -1 +1 @@
1
- const a11C=a11d;(function(a,b){const v=a11d,c=a();while(!![]){try{const d=parseInt(v(0x189))/0x1+-parseInt(v(0x18b))/0x2+parseInt(v(0x17c))/0x3+-parseInt(v(0x175))/0x4*(-parseInt(v(0x17d))/0x5)+parseInt(v(0x192))/0x6*(-parseInt(v(0x176))/0x7)+parseInt(v(0x179))/0x8*(-parseInt(v(0x187))/0x9)+-parseInt(v(0x185))/0xa*(-parseInt(v(0x170))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a11c,0x81e38));function a11c(){const F=['705452lugLdm','266CyJGNj','confirm','name','8BSmene','error','value','982404ihrFZM','5DRmLLf','create','toString','lsnRp','throw','search','apply','zhweP','67030CYbuBe','maka\x20aws\x20terminate-instance','5349006oPAYTl','(((.+)+)+)+$','707193CfpoLM','help','1825320uJdglN','\x20is\x20still\x20running.\x20\x20(Charges\x20are\x20still\x20being\x20applied).','You\x20have\x20aborted\x20the\x20termination.\x20\x20The\x20instance:\x20','constructor','KxGIO','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20terminated;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','then','6852dBwXdJ','You\x20are\x20about\x20to\x20terminate\x20(lose\x20all\x20data)\x20on\x20instance:\x20','\x20Ready?','running','usXZc','exit','MGCjB','status','1430kEvblM','BLAyU','CrRQf','next','aRGxa'];a11c=function(){return F;};return a11c();}const a11b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a11d;if(w(0x171)!==w(0x171))try{i(j[w(0x181)](k));}catch(f){m(f);}else{if(c){if(w(0x172)!==w(0x172))c(d);else{const g=c['apply'](b,arguments);return c=null,g;}}}}:function(){};return a=![],d;};}()),a11a=a11b(this,function(){const x=a11d;return a11a[x(0x17f)]()[x(0x182)](x(0x188))[x(0x17f)]()[x(0x18e)](a11a)[x(0x182)](x(0x188));});a11a();function a11d(a,b){const c=a11c();return a11d=function(d,e){d=d-0x16a;let f=c[d];return f;},a11d(a,b);}var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const B=a11d;function h(k){const y=a11d;try{if(y(0x16c)===y(0x16c))j(d[y(0x173)](k));else return f instanceof g?h:new i(function(m){m(k);});}catch(m){if(y(0x180)==='lsnRp')g(m);else{if(m){const o=i[y(0x183)](j,arguments);return k=null,o;}}}}function i(k){const z=a11d;if(z(0x184)==='uJiYV')c[z(0x17a)](z(0x18d)+d['name']+z(0x18c));else try{'YhdoW'===z(0x16e)?(d['error'](e),f[z(0x16d)](0x0)):j(d[z(0x181)](k));}catch(n){g(n);}}function j(k){const A=a11d;if('jHOih'==='SnDQE')try{i(j[A(0x173)](k));}catch(m){m(m);}else k['done']?f(k[A(0x17b)]):e(k[A(0x17b)])[A(0x191)](h,i);}j((d=d[B(0x183)](a,b||[]))[B(0x173)]());});};import a11u from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';Command[a11C(0x17e)]({'name':'terminate-instance','aliases':['ti'],'usage':a11C(0x186),'validOpts':[a11C(0x18a)]},function(){return __awaiter(this,void 0x0,void 0x0,function*(){const D=a11d;try{const a=new AWS();let b=yield a['chooseInstance']();if((b===null||b===void 0x0?void 0x0:b[D(0x16f)])===D(0x16b)){if(D(0x174)==='MDhuU'){const d=g?function(){const E=D;if(d){const u=q[E(0x183)](r,arguments);return s=null,u;}}:function(){};return l=![],d;}else{let d=yield Actions[D(0x177)](D(0x193)+b['name']+D(0x16a));if(d)a['ec2terminateInstance']({'instanceId':b['instanceId']});else{if(D(0x18f)==='ZAXTP')return c['toString']()[D(0x182)](D(0x188))[D(0x17f)]()[D(0x18e)](d)[D(0x182)](D(0x188));else Log[D(0x17a)](D(0x18d)+b[D(0x178)]+D(0x18c));}}}else Log[D(0x17a)](D(0x190));}catch(g){console[D(0x17a)](g),process[D(0x16d)](0x0);}});},a11u);
1
+ const a11z=a11d;(function(a,b){const v=a11d,c=a();while(!![]){try{const d=parseInt(v(0x1db))/0x1*(parseInt(v(0x1f5))/0x2)+-parseInt(v(0x1eb))/0x3*(parseInt(v(0x1ed))/0x4)+parseInt(v(0x1fa))/0x5+-parseInt(v(0x1e8))/0x6*(-parseInt(v(0x1fe))/0x7)+-parseInt(v(0x1d6))/0x8*(-parseInt(v(0x1d7))/0x9)+parseInt(v(0x1dd))/0xa+-parseInt(v(0x1d3))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a11c,0x95fdc));const a11b=(function(){let a=!![];return function(b,c){const w=a11d;if(w(0x1d4)!==w(0x1ef)){const d=a?function(){const x=w;if(x(0x1de)===x(0x1de)){if(c){const e=c[x(0x1e7)](b,arguments);return c=null,e;}}else d[x(0x1f4)](e),f[x(0x1f2)](0x0);}:function(){};return a=![],d;}else b[w(0x1f4)](w(0x1ec));};}()),a11a=a11b(this,function(){const y=a11d;return a11a['toString']()['search'](y(0x1e5))[y(0x1e0)]()[y(0x1e6)](a11a)[y(0x1e2)](y(0x1e5));});function a11d(a,b){const c=a11c();return a11d=function(d,e){d=d-0x1cf;let f=c[d];return f;},a11d(a,b);}function a11c(){const I=['282114iinBXe','done','name','help','9MCTxOn','instanceId','3230080BNiJHD','nzbzb','You\x20have\x20aborted\x20the\x20termination.\x20\x20The\x20instance:\x20','toString','rOtju','search','__awaiter','You\x20are\x20about\x20to\x20terminate\x20(lose\x20all\x20data)\x20on\x20instance:\x20','(((.+)+)+)+$','constructor','apply','14982ltTBqY','UtETN','NgfDN','403251vCJVeI','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20terminated;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','4jttzrH','value','gdcXb','chooseInstance','running','exit','next','error','187062xMMOwy','XfMwv','maka\x20aws\x20terminate-instance','then','ec2terminateInstance','531800hxBMlN','HjVQo','QlVWJ','pJMYU','3241ctUDkh','CVKVM','wxZJC','throw','\x20is\x20still\x20running.\x20\x20(Charges\x20are\x20still\x20being\x20applied).','SfhyS','confirm','\x20Ready?','terminate-instance','20187277xqnKPu','ahLgb','oFQiR','40sNUnTy'];a11c=function(){return I;};return a11c();}a11a();var __awaiter=this&&this[a11z(0x1e3)]||function(a,b,c,d){function e(f){const A=a11d;if(A(0x1ea)!==A(0x1ea))c[A(0x1f4)]('You\x20have\x20aborted\x20the\x20termination.\x20\x20The\x20instance:\x20'+d[A(0x1d9)]+A(0x202));else return f instanceof c?f:new c(function(h){const B=A;if(B(0x1e9)===B(0x1e9))h(f);else{const j=g?function(){const C=B;if(j){const u=q[C(0x1e7)](r,arguments);return s=null,u;}}:function(){};return l=![],j;}});}return new(c||(c=Promise))(function(f,g){const G=a11d;function h(k){const D=a11d;if(D(0x1fd)!==D(0x1fc))try{if(D(0x1d5)!=='oFQiR')return f instanceof g?h:new i(function(m){m(k);});else j(d[D(0x1f3)](k));}catch(m){'CBmen'===D(0x1f6)?d(m['next'](f)):g(m);}else return c['toString']()[D(0x1e2)](D(0x1e5))[D(0x1e0)]()[D(0x1e6)](d)[D(0x1e2)](D(0x1e5));}function i(k){const E=a11d;if(E(0x1fb)===E(0x1ff))h[E(0x1d8)]?i(j[E(0x1ee)]):k(l[E(0x1ee)])['then'](m,n);else try{E(0x200)==='fDgEC'?c(d):j(d[E(0x201)](k));}catch(n){g(n);}}function j(k){const F=a11d;F(0x1e1)!==F(0x1e1)?d(e[F(0x201)](f)):k[F(0x1d8)]?f(k['value']):e(k['value'])[F(0x1f8)](h,i);}j((d=d[G(0x1e7)](a,b||[]))[G(0x1f3)]());});};import a11u from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';Command['create']({'name':a11z(0x1d2),'aliases':['ti'],'usage':a11z(0x1f7),'validOpts':[a11z(0x1da)]},function(){return __awaiter(this,void 0x0,void 0x0,function*(){const H=a11d;try{const a=new AWS();let b=yield a[H(0x1f0)]();if((b===null||b===void 0x0?void 0x0:b['status'])===H(0x1f1)){let c=yield Actions[H(0x1d0)](H(0x1e4)+b[H(0x1d9)]+H(0x1d1));c?a[H(0x1f9)]({'instanceId':b[H(0x1dc)]}):H(0x1cf)===H(0x1cf)?Log[H(0x1f4)](H(0x1df)+b['name']+H(0x202)):c[H(0x1f9)]({'instanceId':d[H(0x1dc)]});}else Log[H(0x1f4)](H(0x1ec));}catch(f){console[H(0x1f4)](f),process[H(0x1f2)](0x0);}});},a11u);
@@ -1 +1 @@
1
- (function(a,b){var u=a12d,c=a();while(!![]){try{var d=parseInt(u(0x136))/0x1+-parseInt(u(0x132))/0x2+parseInt(u(0x12e))/0x3+parseInt(u(0x12f))/0x4+-parseInt(u(0x138))/0x5*(-parseInt(u(0x131))/0x6)+parseInt(u(0x134))/0x7+-parseInt(u(0x12d))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a12c,0xa311f));var a12b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a12d;if(c){var e=c[v(0x130)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a12a=a12b(this,function(){var w=a12d;return a12a[w(0x137)]()[w(0x135)](w(0x133))[w(0x137)]()['constructor'](a12a)[w(0x135)](w(0x133));});a12a();function a12d(a,b){var c=a12c();return a12d=function(d,e){d=d-0x12d;var f=c[d];return f;},a12d(a,b);}import'./build.js';import'./docker.sub.cmd.js';function a12c(){var x=['apply','12hUfqgd','353512EUqZLz','(((.+)+)+)+$','7380429fcWOIg','search','368501tTFerJ','toString','3326075AYUucF','26629480KkjyDO','3244944aonNMk','1353800QkHpZF'];a12c=function(){return x;};return a12c();}
1
+ (function(a,b){var u=a12d,c=a();while(!![]){try{var d=parseInt(u(0xfc))/0x1+-parseInt(u(0x105))/0x2+-parseInt(u(0xfa))/0x3*(parseInt(u(0xff))/0x4)+parseInt(u(0xf9))/0x5+parseInt(u(0x104))/0x6*(parseInt(u(0xfb))/0x7)+-parseInt(u(0xfe))/0x8+-parseInt(u(0x102))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a12c,0xeac7a));var a12b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a12d;if(c){var e=c[v(0xf8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a12a=a12b(this,function(){var w=a12d;return a12a[w(0x103)]()[w(0xfd)](w(0x100))[w(0x103)]()[w(0x101)](a12a)[w(0xfd)](w(0x100));});a12a();function a12d(a,b){var c=a12c();return a12d=function(d,e){d=d-0xf8;var f=c[d];return f;},a12d(a,b);}import'./build.js';function a12c(){var x=['(((.+)+)+)+$','constructor','4108437TCnxiY','toString','17742RwvinE','129036CXXxwr','apply','2840395asWQRK','33rgitaG','3227zHUoIQ','989564viIsLL','search','3163952UCtrQM','379148kxWuhg'];a12c=function(){return x;};return a12c();}import'./docker.sub.cmd.js';
@@ -1 +1 @@
1
- const a13z=a13d;(function(a,b){const w=a13d,c=a();while(!![]){try{const d=-parseInt(w(0x149))/0x1*(-parseInt(w(0x126))/0x2)+parseInt(w(0x128))/0x3*(-parseInt(w(0x14a))/0x4)+-parseInt(w(0x141))/0x5*(-parseInt(w(0x130))/0x6)+parseInt(w(0x136))/0x7+-parseInt(w(0x14c))/0x8+-parseInt(w(0x14b))/0x9+parseInt(w(0x142))/0xa*(parseInt(w(0x148))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a13c,0x399b5));const a13b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a13d;if(c){const e=c[x(0x12e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a13a=a13b(this,function(){const y=a13d;return a13a['toString']()[y(0x121)]('(((.+)+)+)+$')[y(0x146)]()[y(0x133)](a13a)[y(0x121)](y(0x13d));});a13a();var __awaiter=this&&this[a13z(0x12c)]||function(a,b,c,d){function e(f){const A=a13d;if(A(0x135)!=='bfzrk')return f instanceof c?f:new c(function(g){g(f);});else try{i(j[A(0x134)](k));}catch(h){m(h);}}return new(c||(c=Promise))(function(f,g){const E=a13d;function h(k){const B=a13d;try{B(0x125)!==B(0x125)?c(d):j(d[B(0x123)](k));}catch(m){if(B(0x12b)===B(0x13b)){const o=g?function(){if(o){const u=q['apply'](r,arguments);return s=null,u;}}:function(){};return l=![],o;}else g(m);}}function i(k){const C=a13d;try{C(0x14d)==='WjXXN'?d(e[C(0x123)](f)):j(d['throw'](k));}catch(m){C(0x139)===C(0x139)?g(m):(d[C(0x150)](m),f['exit'](0x0));}}function j(k){const D=a13d;k[D(0x124)]?f(k['value']):e(k[D(0x13e)])[D(0x129)](h,i);}j((d=d['apply'](a,b||[]))[E(0x123)]());});};import a13u from'path';import a13v from'fs';function a13d(a,b){const c=a13c();return a13d=function(d,e){d=d-0x121;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[a13z(0x140)]({'name':a13z(0x14e),'usage':a13z(0x13c),'validOpts':[a13z(0x131)],'description':a13z(0x143),'mustBeInMakaProject':!![],'examples':['maka\x20build','maka\x20build:docker']},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const F=a13d;try{let c=a[0x0],d=this[F(0x127)](c);if(d)F(0x12a)===F(0x12a)?this['runSubCommand'](c,a,b):d(e['throw'](f));else{let g=b[F(0x131)],h=[this[F(0x144)][F(0x12f)]({'pathParts':[F(0x14e)]})]['concat'](process[F(0x14f)][F(0x137)](0x3)),i=a13u[F(0x12d)](this[F(0x144)][F(0x12f)]({}),F(0x14e),F(0x138));if(a13v['existsSync'](i)){let j=g!==null&&g!==void 0x0?g:yield Actions[F(0x122)](F(0x13f));if(!j)throw Log[F(0x150)](F(0x145));}h[F(0x132)]((k,l)=>{const G=F;k==='--force'&&(G(0x147)==='WlwgL'?h['splice'](l,0x2):h[G(0x124)]?i(j[G(0x13e)]):k(l[G(0x13e)])[G(0x129)](m,n));}),this[F(0x144)][F(0x13a)](F(0x14e),h);}}catch(k){console[F(0x150)](k),process['exit'](0x0);}});});function a13c(){const H=['pathFromProject','78rriFyH','force','forEach','constructor','throw','wYXkx','1251607rCHaoH','slice','app.tar.gz','MRssZ','invokeMeteorCommand','Kodsu','maka\x20build\x20[--force]','(((.+)+)+)+$','value','Found\x20existing\x20bundle,\x20would\x20you\x20like\x20to\x20rebuild\x20it?','create','168020zUXlPh','5508630YuNsYq','Build\x20your\x20application\x20into\x20the\x20build\x20folder.','fsi','Aborted.','toString','WlwgL','11LamljJ','1kDjfWT','8zKfIFj','591678fZEpDH','3597984WkFYzl','LTgpP','build','argv','error','search','confirm','next','done','gHdnv','72282ZnYIxB','findSubCommand','676815awcOCc','then','yMnku','bhxwH','__awaiter','join','apply'];a13c=function(){return H;};return a13c();}export default BuildCommand;
1
+ const a13C=a13d;(function(a,b){const w=a13d,c=a();while(!![]){try{const d=parseInt(w(0xc6))/0x1*(parseInt(w(0xde))/0x2)+-parseInt(w(0xc9))/0x3+-parseInt(w(0xe5))/0x4+parseInt(w(0xd8))/0x5+parseInt(w(0xdb))/0x6*(-parseInt(w(0xe0))/0x7)+-parseInt(w(0xbf))/0x8+parseInt(w(0xc4))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a13c,0x51cd3));const a13b=(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;};}()),a13a=a13b(this,function(){const x=a13d;return a13a[x(0xdd)]()[x(0xd6)](x(0xcc))['toString']()[x(0xd7)](a13a)[x(0xd6)]('(((.+)+)+)+$');});function a13d(a,b){const c=a13c();return a13d=function(d,e){d=d-0xbf;let f=c[d];return f;},a13d(a,b);}a13a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){const y=a13d;if(y(0xd9)==='ogcku')try{i(j[y(0xe9)](k));}catch(h){m(h);}else return f instanceof c?f:new c(function(h){h(f);});}return new(c||(c=Promise))(function(f,g){const B=a13d;function h(k){const z=a13d;if(z(0xcb)!==z(0xe6))try{j(d[z(0xe1)](k));}catch(l){z(0xe4)==='vinTT'?g(l):c(d);}else return c[z(0xdd)]()[z(0xd6)](z(0xcc))[z(0xdd)]()[z(0xd7)](d)[z(0xd6)](z(0xcc));}function i(k){try{j(d['throw'](k));}catch(l){g(l);}}function j(k){const A=a13d;k['done']?f(k['value']):e(k[A(0xc5)])['then'](h,i);}j((d=d['apply'](a,b||[]))[B(0xe1)]());});};import a13u from'path';import a13v from'fs';function a13c(){const F=['create','7mKfJzE','next','force','argv','vinTT','2654492POsxJu','pHjlc','Build\x20your\x20application\x20into\x20the\x20build\x20folder.','dYmaI','throw','3413024TSwQwc','existsSync','findSubCommand','NzrdC','runSubCommand','12667896WEQtDK','value','1VINQLl','concat','build','594093RNabwo','slice','zAdEZ','(((.+)+)+)+$','error','splice','join','maka\x20build:docker','fsi','app.tar.gz','invokeMeteorCommand','Aborted.','hwFXz','search','constructor','1428835GVdjRZ','RpsuN','confirm','1299870bmUijR','pathFromProject','toString','293350oTOLak'];a13c=function(){return F;};return a13c();}import{Actions}from'../../tools/actions/actions.class.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const BuildCommand=Command[a13C(0xdf)]({'name':a13C(0xc8),'usage':'maka\x20build\x20[--force]','validOpts':['force'],'description':a13C(0xe7),'mustBeInMakaProject':!![],'examples':['maka\x20build',a13C(0xd0)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const D=a13d;try{let c=a[0x0],d=this[D(0xc1)](c);if(d)this[D(0xc3)](c,a,b);else{let f=b[D(0xe2)],g=[this[D(0xd1)]['pathFromProject']({'pathParts':[D(0xc8)]})][D(0xc7)](process[D(0xe3)][D(0xca)](0x3)),h=a13u[D(0xcf)](this['fsi'][D(0xdc)]({}),'build',D(0xd2));if(a13v[D(0xc0)](h)){if(D(0xc2)!==D(0xc2))this[D(0xc3)](d,e,f);else{let j=f!==null&&f!==void 0x0?f:yield Actions[D(0xda)]('Found\x20existing\x20bundle,\x20would\x20you\x20like\x20to\x20rebuild\x20it?');if(!j){if(D(0xd5)==='hwFXz')throw Log[D(0xcd)](D(0xd4));else d==='--force'&&g[D(0xce)](h,0x2);}}}g['forEach']((l,m)=>{const E=D;l==='--force'&&g[E(0xce)](m,0x2);}),this['fsi'][D(0xd3)](D(0xc8),g);}}catch(l){if(D(0xe8)!==D(0xe8))return f instanceof g?h:new i(function(n){n(k);});else console[D(0xcd)](l),process['exit'](0x0);}});});export default BuildCommand;
@@ -1 +1 @@
1
- const a14P=a14d;(function(a,b){const H=a14d,c=a();while(!![]){try{const d=-parseInt(H(0x22d))/0x1*(parseInt(H(0x20f))/0x2)+-parseInt(H(0x20a))/0x3*(parseInt(H(0x23d))/0x4)+-parseInt(H(0x232))/0x5+-parseInt(H(0x23e))/0x6+-parseInt(H(0x214))/0x7*(-parseInt(H(0x245))/0x8)+parseInt(H(0x1f9))/0x9*(-parseInt(H(0x1fc))/0xa)+parseInt(H(0x21c))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a14c,0x77d7c));const a14b=(function(){let a=!![];return function(b,c){const I=a14d;if(I(0x22b)===I(0x22b)){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;}else c(d);};}()),a14a=a14b(this,function(){const J=a14d;return a14a[J(0x1f4)]()[J(0x225)](J(0x204))['toString']()['constructor'](a14a)[J(0x225)](J(0x204));});a14a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const K=a14d;K(0x208)!==K(0x208)?c(d):g(f);});}return new(c||(c=Promise))(function(f,g){const O=a14d;function h(k){const L=a14d;try{j(d[L(0x210)](k));}catch(l){g(l);}}function i(k){const M=a14d;if('jobII'!==M(0x230))try{j(d[M(0x24b)](k));}catch(l){M(0x212)!==M(0x219)?g(l):d(l[M(0x24b)](f));}else{const o=this[M(0x248)]['isDirectory'](h[M(0x20b)](M(0x21f),M(0x1fe),M(0x207)));!o&&o['mkdirSync'](p['join'](M(0x21f),M(0x1fe),M(0x207))),k[M(0x228)](l[M(0x249)],m['join'](n,'config','docker',M(0x207),M(0x222)));}}function j(k){const N=a14d;k[N(0x224)]?f(k['value']):e(k[N(0x220)])['then'](h,i);}j((d=d[O(0x22a)](a,b||[]))[O(0x210)]());});};import a14u from'./build.js';import a14v from'path';function a14c(){const R=['findGenerator','appName','pathFromProject','exit','setProjectConfig','HfQPs','replace','force','meteor','189616pqkpLy','407076sKBkcU','app.tar.gz','serverName','-t\x20','dockerfile','Using\x20Node\x20Version:\x20','notice','334760tiftgQ','Build\x20Path:\x20','isDirectory','fsi','cert','Tagging\x20Docker\x20Image:\x20','throw','\x20npm\x20install\x20--save','--server=','https','error','Found\x20existing\x20bundle,\x20would\x20you\x20like\x20to\x20rebuild\x20it?','inherit','Dockerfile','toString','HabDe','serverPort','invoke','create','18AeGrWb','existsSync','mkdirSync','2640290XWPwYB','Mobile\x20server\x20IP\x20or\x20fully\x20qualified\x20domain\x20name\x20(FQDN):\x20','docker','length','Try\x20\x27maka\x20run\x20--docker\x27','ask','config.json','LbBZG','(((.+)+)+)+$','443','docker\x20build\x20--build-arg\x20NODE_VERSION=','_keys','eUkBn','findAppDirectory','9sgNtxE','join','tag','push','getGlobalConfig','6HbkDCf','next','QwmnW','WGvcP','SWQZQ','119ZXwoYE','ignore','http','confirm','readFileLines','AbGtL','app','getProjectConfig','14446630TTKlti','win32','build','config','value','findProjectDirectory','cert.pem','Would\x20you\x20like\x20to\x20save\x20the\x20server\x20config\x20in\x20your\x20.maka/config.json\x20file?','done','search','isFile','Server\x20name\x20or\x20port\x20number\x20are\x20not\x20long\x20enough!','copyFileSync','eAcQB','apply','dYDQz','Stored\x20server\x20config\x20to\x20','58069SwrVLr','checkConfigExists','then','RcSrv','os.linux.x86_64','3107480asgekb','.maka'];a14c=function(){return R;};return a14c();}import a14w from'fs';function a14d(a,b){const c=a14c();return a14d=function(d,e){d=d-0x1ef;let f=c[d];return f;},a14d(a,b);}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[a14P(0x1f8)]({'name':a14P(0x1fe),'usage':'maka\x20build:docker','validOpts':[a14P(0x23b),a14P(0x20c)],'description':'Build\x20your\x20application\x20into\x20the\x20build\x20folder\x20and\x20generate\x20a\x20docker\x20image.','mustBeInMakaProject':!![],'examples':['maka\x20build:docker']},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const Q=a14d;try{const c=yield this['fsi'][Q(0x20e)](),d=yield this['fsi'][Q(0x21b)]();let f=process['platform']===Q(0x21d)?'meteor.bat':Q(0x23c),g=this[Q(0x248)][Q(0x236)]({}),h=a14v['join'](g,Q(0x1f3));if(!this[Q(0x248)][Q(0x226)](h)){const r=a14x[Q(0x234)](Q(0x242));r&&('HfQPs'!==Q(0x239)?h[Q(0x224)]?i(j[Q(0x220)]):k(l['value'])[Q(0x22f)](m,n):yield r[Q(0x1f7)](['dockerfile'],{'cwd':g,'config':d}));}const i=this[Q(0x248)][Q(0x22e)](Q(0x1fe));if(!i){if('QwmnW'!==Q(0x211))f(g+Q(0x24c),{'cwd':this[Q(0x248)][Q(0x209)](),'stdio':Q(0x215)}),h(i+'\x20'+j[Q(0x20b)]('\x20'),{'cwd':this[Q(0x248)][Q(0x209)](),'stdio':Q(0x1f2)});else{const u=a14x['findGenerator'](Q(0x21f));u&&(Q(0x1f5)==='HabDe'?yield u[Q(0x1f7)](['docker'],{'cwd':g,'config':d,'isDocker':!![]}):(this[Q(0x248)][Q(0x238)](Q(0x240),e),this[Q(0x248)][Q(0x238)](Q(0x1f6),f),g[Q(0x244)]('Stored\x20server\x20config\x20to\x20'+h[Q(0x20b)]('.maka',Q(0x202)))));}}if(this['fsi'][Q(0x226)](c[Q(0x249)])){const w=this[Q(0x248)][Q(0x247)](a14v[Q(0x20b)](Q(0x21f),'docker',Q(0x207)));!w&&a14w[Q(0x1fb)](a14v[Q(0x20b)](Q(0x21f),Q(0x1fe),Q(0x207))),a14w[Q(0x228)](c[Q(0x249)],a14v[Q(0x20b)](g,Q(0x21f),Q(0x1fe),Q(0x207),Q(0x222)));}let j=this[Q(0x248)][Q(0x236)]({}),k=execSync(f+'\x20node\x20--version')[Q(0x1f4)]()[Q(0x23a)](/\r?\n|\r/g,''),l=Q(0x241)+paramCase(d[Q(0x235)])+':latest';b[Q(0x20c)]&&(l=Q(0x241)+b[Q(0x20c)]);let m=[Q(0x21e),a14v[Q(0x20b)](this[Q(0x248)][Q(0x221)](),Q(0x21e)),'--architecture',Q(0x231)],n=this['fsi'][Q(0x218)](a14v[Q(0x20b)](this[Q(0x248)][Q(0x236)]({}),Q(0x21a),'.meteor','platforms')),o=n[Q(0x1ff)]>0x2?!![]:![];if(o){if('eAcQB'===Q(0x229)){let x=d['serverName']?d[Q(0x240)]:yield Actions[Q(0x201)](Q(0x1fd)),y=d[Q(0x1f6)]?d[Q(0x1f6)]:yield Actions[Q(0x201)]('Mobile\x20server\x20port:\x20');if(x[Q(0x1ff)]==0x0||y['length']==0x0)throw Q(0x227);let z=y==Q(0x205)?Q(0x1ef):Q(0x216);m[Q(0x20d)](Q(0x24d)+z+'://'+x+':'+y);if(!d[Q(0x240)]&&!d[Q(0x1f6)]){if(Q(0x213)!==Q(0x213))d(e[Q(0x210)](f));else{let B=yield Actions['confirm'](Q(0x223));B&&(this[Q(0x248)]['setProjectConfig'](Q(0x240),x),this[Q(0x248)][Q(0x238)](Q(0x1f6),y),Log[Q(0x244)](Q(0x22c)+a14v[Q(0x20b)](Q(0x233),Q(0x202))));}}}else f(g+Q(0x24c),{'cwd':this[Q(0x248)][Q(0x209)](),'stdio':Q(0x215)}),h(i+'\x20\x20'+j[Q(0x20b)]('\x20'),{'cwd':this[Q(0x248)][Q(0x209)](),'stdio':Q(0x1f2)});}let p=a14v[Q(0x20b)](this['fsi']['pathFromProject']({}),Q(0x21e),Q(0x23f));if(a14w[Q(0x1fa)](p)){const D=yield Actions[Q(0x217)](Q(0x1f1));let E=D;E&&(execSync(f+Q(0x24c),{'cwd':this[Q(0x248)][Q(0x209)](),'stdio':'ignore'}),execSync(f+'\x20\x20'+m[Q(0x20b)]('\x20'),{'cwd':this[Q(0x248)]['findAppDirectory'](),'stdio':Q(0x1f2)}));}else{if('Xvtpx'===Q(0x203))return f instanceof g?h:new i(function(G){G(k);});else execSync(f+'\x20npm\x20install\x20--save',{'cwd':this[Q(0x248)][Q(0x209)](),'stdio':Q(0x215)}),execSync(f+'\x20'+m['join']('\x20'),{'cwd':this['fsi'][Q(0x209)](),'stdio':Q(0x1f2)});}Log['notice'](Q(0x243)+k),Log[Q(0x244)](Q(0x24a)+l),Log[Q(0x244)](Q(0x246)+j);const q=Q(0x206)+k+'\x20'+l+'\x20'+j;execSync(q,{'stdio':Q(0x1f2)}),Log[Q(0x244)](Q(0x200));}catch(G){console[Q(0x1f0)](G),process[Q(0x237)](0x0);}});},a14u);
1
+ const a14M=a14d;(function(a,b){const I=a14d,c=a();while(!![]){try{const d=-parseInt(I(0xf3))/0x1+parseInt(I(0xcd))/0x2*(parseInt(I(0x109))/0x3)+parseInt(I(0x10c))/0x4*(parseInt(I(0x10d))/0x5)+parseInt(I(0xc2))/0x6*(-parseInt(I(0xc9))/0x7)+-parseInt(I(0x11a))/0x8+-parseInt(I(0xe3))/0x9*(parseInt(I(0xe7))/0xa)+parseInt(I(0xfe))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a14c,0xdea00));const a14b=(function(){let a=!![];return function(b,c){const J=a14d;if(J(0x119)===J(0x119)){const d=a?function(){const K=J;if(K(0x11d)===K(0x11d)){if(c){const e=c[K(0x11e)](b,arguments);return c=null,e;}}else return f instanceof g?h:new i(function(m){m(k);});}:function(){};return a=![],d;}else h[J(0xc6)]?i(j[J(0x10e)]):k(l[J(0x10e)])[J(0xff)](m,n);};}()),a14a=a14b(this,function(){const L=a14d;return a14a[L(0x111)]()['search'](L(0x117))[L(0x111)]()[L(0xee)](a14a)[L(0xdd)](L(0x117));});a14a();var __awaiter=this&&this[a14M(0xe8)]||function(a,b,c,d){function e(f){const N=a14d;if(N(0x100)!==N(0x100)){const h=g?function(){const O=N;if(h){const u=q[O(0x11e)](r,arguments);return s=null,u;}}:function(){};return l=![],h;}else return f instanceof c?f:new c(function(h){h(f);});}return new(c||(c=Promise))(function(f,g){const S=a14d;function h(k){const P=a14d;if('Ulssq'!==P(0xe0))c(d);else try{j(d[P(0xc7)](k));}catch(m){g(m);}}function i(k){const Q=a14d;try{Q(0xf6)!==Q(0xf6)?c(d):j(d['throw'](k));}catch(m){g(m);}}function j(k){const R=a14d;k[R(0xc6)]?f(k[R(0x10e)]):e(k[R(0x10e)])[R(0xff)](h,i);}j((d=d['apply'](a,b||[]))[S(0xc7)]());});};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';function a14d(a,b){const c=a14c();return a14d=function(d,e){d=d-0xbe;let f=c[d];return f;},a14d(a,b);}import{Log}from'../../tools/log/log.class.js';Command[a14M(0x104)]({'name':a14M(0x10a),'usage':a14M(0x106),'validOpts':['force',a14M(0xfc)],'description':a14M(0x102),'mustBeInMakaProject':!![],'examples':['maka\x20build:docker']},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const T=a14d;try{const c=yield this[T(0x11b)][T(0x114)](),d=yield this[T(0x11b)][T(0xc8)]();let f=process[T(0xf1)]===T(0x113)?T(0xea):T(0xf2),g=this['fsi'][T(0x105)]({}),h=a14v[T(0xec)](g,T(0xfa));if(!this[T(0x11b)]['isFile'](h)){const r=a14x[T(0xe5)]('dockerfile');if(r){if('wnbTm'===T(0xd1))yield r[T(0xe6)](['dockerfile'],{'cwd':g,'config':d});else try{i(j[T(0xde)](k));}catch(t){m(t);}}}const i=this['fsi'][T(0x112)](T(0x10a));if(!i){const t=a14x['findGenerator'](T(0x10b));t&&(yield t[T(0xe6)]([T(0x10a)],{'cwd':g,'config':d,'isDocker':!![]}));}if(this[T(0x11b)][T(0xd3)](c[T(0x118)])){const u=this['fsi']['isDirectory'](a14v['join'](T(0x10b),'docker',T(0xeb)));!u&&a14w['mkdirSync'](a14v['join'](T(0x10b),T(0x10a),'_keys')),a14w[T(0xfb)](c[T(0x118)],a14v['join'](g,T(0x10b),T(0x10a),T(0xeb),T(0x101)));}let j=this['fsi'][T(0x105)]({}),k=execSync(f+T(0xf5))[T(0x111)]()[T(0xef)](/\r?\n|\r/g,''),l=T(0xbf)+paramCase(d['appName'])+':latest';if(b[T(0xfc)]){if(T(0xed)==='YiGCe'){if(e){const w=i[T(0x11e)](j,arguments);return k=null,w;}}else l=T(0xbf)+b['tag'];}let m=[T(0xcb),a14v[T(0xec)](this['fsi']['findProjectDirectory'](),T(0xcb)),'--architecture',T(0x108)],n=this[T(0x11b)][T(0x116)](a14v[T(0xec)](this['fsi'][T(0x105)]({}),'app',T(0xc1),T(0xf8))),o=n[T(0x115)]>0x2?!![]:![];if(o){if(T(0x103)!==T(0x103))c(d);else{let x=d[T(0xd6)]?d['serverName']:yield Actions[T(0xe4)](T(0xc5)),y=d['serverPort']?d[T(0xcf)]:yield Actions[T(0xe4)](T(0xf7));if(x[T(0x115)]==0x0||y[T(0x115)]==0x0)throw T(0xc3);let z=y=='443'?T(0x10f):'http';m['push'](T(0xe2)+z+T(0xdf)+x+':'+y);if(!d[T(0xd6)]&&!d[T(0xcf)]){let A=yield Actions[T(0xdb)]('Would\x20you\x20like\x20to\x20save\x20the\x20server\x20config\x20in\x20your\x20.maka/config.json\x20file?');if(A){if(T(0xfd)!==T(0xd2))this[T(0x11b)][T(0xca)](T(0xd6),x),this['fsi'][T(0xca)](T(0xcf),y),Log[T(0xcc)](T(0xf4)+a14v['join'](T(0xce),T(0xd0)));else{const C=this[T(0x11b)]['isDirectory'](h[T(0xec)]('config',T(0x10a),T(0xeb)));!C&&o['mkdirSync'](p['join']('config',T(0x10a),'_keys')),k[T(0xfb)](l[T(0x118)],m[T(0xec)](n,T(0x10b),'docker',T(0xeb),T(0x101)));}}}}}let p=a14v['join'](this[T(0x11b)][T(0x105)]({}),T(0xcb),T(0xd8));if(a14w[T(0x11c)](p)){if(T(0xc4)===T(0x110)){const D=d['apply'](e,arguments);return f=null,D;}else{const D=yield Actions[T(0xdb)](T(0xf0));let E=D;E&&(T(0xda)!==T(0xda)?(d['error'](e),f[T(0xdc)](0x0)):(execSync(f+T(0xf9),{'cwd':this[T(0x11b)][T(0xe1)](),'stdio':T(0xe9)}),execSync(f+'\x20\x20'+m[T(0xec)]('\x20'),{'cwd':this['fsi'][T(0xe1)](),'stdio':T(0xd7)})));}}else execSync(f+'\x20npm\x20install\x20--save',{'cwd':this[T(0x11b)][T(0xe1)](),'stdio':T(0xe9)}),execSync(f+'\x20'+m[T(0xec)]('\x20'),{'cwd':this['fsi'][T(0xe1)](),'stdio':'inherit'});Log['notice']('Using\x20Node\x20Version:\x20'+k),Log[T(0xcc)](T(0xd4)+l),Log[T(0xcc)](T(0xd9)+j);const q=T(0xd5)+k+'\x20'+l+'\x20'+j;execSync(q,{'stdio':T(0xd7)}),Log[T(0xcc)](T(0xbe));}catch(G){if(T(0x107)===T(0xc0))return c[T(0x111)]()['search'](T(0x117))[T(0x111)]()[T(0xee)](d)[T(0xdd)](T(0x117));else console['error'](G),process[T(0xdc)](0x0);}});},a14u);function a14c(){const U=['confirm','exit','search','throw','://','Ulssq','findAppDirectory','--server=','10745496IjtmrV','ask','findGenerator','invoke','10ADinDm','__awaiter','ignore','meteor.bat','_keys','join','uiDEQ','constructor','replace','Found\x20existing\x20bundle,\x20would\x20you\x20like\x20to\x20rebuild\x20it?','platform','meteor','887611EgmjiL','Stored\x20server\x20config\x20to\x20','\x20node\x20--version','aNdgP','Mobile\x20server\x20port:\x20','platforms','\x20npm\x20install\x20--save','Dockerfile','copyFileSync','tag','llVNj','21645206caVVtm','then','oqUrL','cert.pem','Build\x20your\x20application\x20into\x20the\x20build\x20folder\x20and\x20generate\x20a\x20docker\x20image.','CkhSJ','create','pathFromProject','maka\x20build:docker','HPtgz','os.linux.x86_64','27QHLQTY','docker','config','17624ZxNuBW','1835zWWejA','value','https','pLTFG','toString','checkConfigExists','win32','getGlobalConfig','length','readFileLines','(((.+)+)+)+$','cert','SAxIV','8945408SCkYUC','fsi','existsSync','lbfsD','apply','Try\x20\x27maka\x20run\x20--docker\x27','-t\x20','UzoNr','.meteor','3939924VzZLRZ','Server\x20name\x20or\x20port\x20number\x20are\x20not\x20long\x20enough!','RCAfb','Mobile\x20server\x20IP\x20or\x20fully\x20qualified\x20domain\x20name\x20(FQDN):\x20','done','next','getProjectConfig','7mqfZur','setProjectConfig','build','notice','263002UhLxIa','.maka','serverPort','config.json','wnbTm','cESie','isFile','Tagging\x20Docker\x20Image:\x20','docker\x20build\x20--build-arg\x20NODE_VERSION=','serverName','inherit','app.tar.gz','Build\x20Path:\x20','vJiGj'];a14c=function(){return U;};return a14c();}