@maka/maka-cli 4.2.26 → 4.2.28

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 (97) 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/dkp.sub.cmd.js +1 -1
  10. package/dist/commands/aws/dsg.sub.cmd.js +1 -1
  11. package/dist/commands/aws/rbi.sub.cmd.js +1 -1
  12. package/dist/commands/aws/rkp.sub.cmd.js +1 -1
  13. package/dist/commands/aws/sth.sub.cmd.js +1 -1
  14. package/dist/commands/aws/ti.sub.cmd.js +1 -1
  15. package/dist/commands/build/_index.js +1 -1
  16. package/dist/commands/build/build.js +1 -1
  17. package/dist/commands/build/docker.sub.cmd.js +1 -1
  18. package/dist/commands/create.js +1 -1
  19. package/dist/commands/debug.js +1 -1
  20. package/dist/commands/deploy.js +1 -1
  21. package/dist/commands/game/_index.js +1 -1
  22. package/dist/commands/game/battleship.sub.cmd.js +1 -1
  23. package/dist/commands/game/play.command.js +1 -1
  24. package/dist/commands/game/pong.sub.cmd.js +1 -1
  25. package/dist/commands/game/snake.sub.cmd.js +1 -1
  26. package/dist/commands/game/tetris.sub.cmd.js +1 -1
  27. package/dist/commands/generate.js +1 -1
  28. package/dist/commands/get/_index.js +1 -1
  29. package/dist/commands/get/get.command.js +1 -1
  30. package/dist/commands/get/global.sub.cmd.js +1 -1
  31. package/dist/commands/get/local.sub.cmd.js +1 -1
  32. package/dist/commands/get/whoami.sub.cmd.js +1 -1
  33. package/dist/commands/help.js +1 -1
  34. package/dist/commands/install.js +1 -1
  35. package/dist/commands/jsdoc.js +1 -1
  36. package/dist/commands/login.js +1 -1
  37. package/dist/commands/logout.js +1 -1
  38. package/dist/commands/logs.js +1 -1
  39. package/dist/commands/maka.cmd.js +1 -1
  40. package/dist/commands/murder.js +1 -1
  41. package/dist/commands/proxy.js +1 -1
  42. package/dist/commands/reconfig.js +1 -1
  43. package/dist/commands/run/_index.js +1 -0
  44. package/dist/commands/run/docker.sub.cmd.js +1 -0
  45. package/dist/commands/run/run.command.js +1 -0
  46. package/dist/commands/set/_index.js +1 -1
  47. package/dist/commands/set/global.sub.cmd.js +1 -1
  48. package/dist/commands/set/local.sub.cmd.js +1 -1
  49. package/dist/commands/set/set.command.js +1 -1
  50. package/dist/commands/ssh.js +1 -1
  51. package/dist/commands/ssl.js +1 -1
  52. package/dist/commands/test.js +1 -1
  53. package/dist/commands/version.js +1 -1
  54. package/dist/error.js +1 -1
  55. package/dist/generator.js +1 -1
  56. package/dist/generators/_index.js +1 -1
  57. package/dist/generators/api.js +1 -1
  58. package/dist/generators/collection.js +1 -1
  59. package/dist/generators/component.js +1 -1
  60. package/dist/generators/config.js +1 -1
  61. package/dist/generators/dbc.js +1 -1
  62. package/dist/generators/dockerfile.js +1 -1
  63. package/dist/generators/hook.js +1 -1
  64. package/dist/generators/kit.js +1 -1
  65. package/dist/generators/layout.js +1 -1
  66. package/dist/generators/maka.gen.js +1 -1
  67. package/dist/generators/methods.js +1 -1
  68. package/dist/generators/package.js +1 -1
  69. package/dist/generators/page.js +1 -1
  70. package/dist/generators/publish.js +1 -1
  71. package/dist/generators/route.js +1 -1
  72. package/dist/generators/scaffold.js +1 -1
  73. package/dist/generators/service.js +1 -1
  74. package/dist/generators/services/_index.js +1 -1
  75. package/dist/generators/services/openssl.js +1 -1
  76. package/dist/generators/services/translation.js +1 -1
  77. package/dist/maka.js +1 -1
  78. package/dist/tool.js +1 -1
  79. package/dist/tools/actions/actions.class.js +1 -1
  80. package/dist/tools/actions/actions.test.js +1 -1
  81. package/dist/tools/aws/aws.class.js +1 -1
  82. package/dist/tools/aws/aws.interfaces.js +1 -1
  83. package/dist/tools/docker/docker.class.js +1 -1
  84. package/dist/tools/docker/docker.interfaces.js +1 -1
  85. package/dist/tools/fsi/fsi.class.js +1 -1
  86. package/dist/tools/fsi/fsi.interfaces.js +1 -1
  87. package/dist/tools/https/https.class.js +1 -1
  88. package/dist/tools/https/https.interface.js +1 -1
  89. package/dist/tools/log/log.class.js +1 -1
  90. package/dist/tools/log/log.interfaces.js +1 -1
  91. package/dist/tools/spawn-async/spawn-async.class.js +1 -1
  92. package/dist/tools/spawn-async/spawn-async.interfaces.js +1 -1
  93. package/dist/tools/ssh/ssh.class.js +1 -1
  94. package/dist/tools/ssh/ssh.interfaces.js +1 -1
  95. package/dist/tools/ssl/ssl.class.js +1 -1
  96. package/package.json +1 -1
  97. package/dist/commands/run.js +0 -1
@@ -1 +1 @@
1
- const a26z=a26d;(function(a,b){const v=a26d,c=a();while(!![]){try{const d=parseInt(v(0x1ba))/0x1*(parseInt(v(0x1c6))/0x2)+-parseInt(v(0x1b8))/0x3*(-parseInt(v(0x1e2))/0x4)+-parseInt(v(0x1db))/0x5+parseInt(v(0x1d9))/0x6+-parseInt(v(0x1bd))/0x7*(parseInt(v(0x1c4))/0x8)+-parseInt(v(0x1d2))/0x9*(-parseInt(v(0x1b5))/0xa)+parseInt(v(0x1c8))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a26c,0xf3525));const a26b=(function(){let a=!![];return function(b,c){const w=a26d;if(w(0x1de)==='LnPMN')try{i(j['throw'](k));}catch(e){m(e);}else{const e=a?function(){const x=w;if(c){const f=c[x(0x1d4)](b,arguments);return c=null,f;}}:function(){};return a=![],e;}};}()),a26a=a26b(this,function(){const y=a26d;return a26a[y(0x1b6)]()[y(0x1dd)](y(0x1c5))[y(0x1b6)]()['constructor'](a26a)[y(0x1dd)](y(0x1c5));});function a26c(){const G=['JXWff','TcsJQ','error','listGenerators','throw','1719AXexRW','maka\x20generate:scaffold\x20todos','apply','exit','BxeAo','notice','value','4051974JnlOFz','dir','8990915HXyTjl','then','search','KycLo','generate','Generators:','maka\x20g:dbc\x20geoserver\x20--type=pgsql','2012kpvLOk','constructor','next','kAGJx','invoke','maka\x20g:package\x20package:name','\x0a\x20\x20Scaffold\x20various\x20parts\x20of\x20your\x20application.\x0a\x0a\x20\x20For\x20a\x20list\x20of\x20generators,\x20run\x20\x22maka\x20generate\x20--help\x22\x20or\x20\x22maka\x20g\x20--help\x22\x0a\x20\x20','14980okiTfB','toString','xImXU','8472kFNsbI','__awaiter','1QaiAFh','help','qNthG','1274VFCAdf','maka\x20{generate,\x20g}:<generator>\x20<name>\x20[--dir]\x20[--where]','maka\x20g:template\x20todos/todo_item','maka\x20g:route\x20todos/edit','findGenerator','KikJC','KTDLP','82592YOlQNR','(((.+)+)+)+$','1243516AYuscu','Could\x20not\x20find\x20generator','18371309cWWuFn','slice','where','done','oSoZr'];a26c=function(){return G;};return a26c();}a26a();var __awaiter=this&&this[a26z(0x1b9)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const A=a26d;A(0x1bc)===A(0x1bc)?g(f):h[A(0x1cb)]?i(j[A(0x1d8)]):k(l[A(0x1d8)])[A(0x1dc)](m,n);});}return new(c||(c=Promise))(function(f,g){const E=a26d;function h(k){const B=a26d;try{B(0x1c2)===B(0x1c2)?j(d[B(0x1b0)](k)):(d[B(0x1d7)]('Generators:'),e[B(0x1d0)](),f[B(0x1d5)](0x0));}catch(m){g(m);}}function i(k){const C=a26d;try{j(d[C(0x1d1)](k));}catch(l){C(0x1ce)===C(0x1cc)?c(d):g(l);}}function j(k){const D=a26d;if(D(0x1b7)!==D(0x1b7))return f instanceof g?h:new i(function(m){m(k);});else k['done']?f(k['value']):e(k[D(0x1d8)])[D(0x1dc)](h,i);}j((d=d[E(0x1d4)](a,b||[]))['next']());});};function a26d(a,b){const c=a26c();return a26d=function(d,e){d=d-0x1af;let f=c[d];return f;},a26d(a,b);}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import a26u from'../generators/maka.gen.js';Command['create']({'name':a26z(0x1df),'aliases':['g'],'usage':a26z(0x1be),'validOpts':[a26z(0x1da),a26z(0x1ca),a26z(0x1bb)],'mustBeInMakaProject':!![],'description':a26z(0x1b4),'examples':[a26z(0x1d3),'maka\x20g:scaffold\x20todos',a26z(0x1bf),a26z(0x1b3),a26z(0x1c0),'maka\x20g:api\x20trucks',a26z(0x1e1)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const F=a26d;if(F(0x1cd)!=='JXWff')return c['toString']()[F(0x1dd)](F(0x1c5))[F(0x1b6)]()[F(0x1af)](d)['search'](F(0x1c5));else try{let d=a[0x0];if(b[F(0x1bb)]){if(F(0x1c3)!==F(0x1d6))Log['notice'](F(0x1e0)),a26u['listGenerators'](),process[F(0x1d5)](0x0);else{const h=d[F(0x1d4)](e,arguments);return f=null,h;}}let f=a26u[F(0x1c1)](d);if(!f){if('gkgSW'===F(0x1b1))d[F(0x1cf)](e),f[F(0x1d5)](0x0);else{a26u[F(0x1d0)]();throw F(0x1c7);}}yield f[F(0x1b2)](a[F(0x1c9)](0x1),b);}catch(i){console['error'](i),process[F(0x1d5)](0x0);}});});
1
+ const a26y=a26d;(function(a,b){const v=a26d,c=a();while(!![]){try{const d=-parseInt(v(0x1c2))/0x1*(parseInt(v(0x1bb))/0x2)+parseInt(v(0x1b5))/0x3+parseInt(v(0x1ab))/0x4*(-parseInt(v(0x1ce))/0x5)+-parseInt(v(0x1b6))/0x6+parseInt(v(0x1b0))/0x7*(parseInt(v(0x1cb))/0x8)+parseInt(v(0x1c5))/0x9+-parseInt(v(0x1bc))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a26c,0x1a1bc));const a26b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a26d;if(w(0x1bd)==='FThjO'){if(c){const e=c[w(0x1b2)](b,arguments);return c=null,e;}}else d(e[w(0x1c1)](f));}:function(){};return a=![],d;};}()),a26a=a26b(this,function(){const x=a26d;return a26a[x(0x1c8)]()[x(0x1d2)](x(0x1cf))[x(0x1c8)]()[x(0x1c3)](a26a)[x(0x1d2)](x(0x1cf));});a26a();var __awaiter=this&&this[a26y(0x1ae)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const C=a26d;function h(k){const z=a26d;try{z(0x1d3)==='iDsvx'?(c[z(0x1d0)](z(0x1b3)),d['listGenerators']()):j(d[z(0x1c1)](k));}catch(m){g(m);}}function i(k){const A=a26d;try{if('kNCvC'===A(0x1c6)){const n=g?function(){if(n){const u=q['apply'](r,arguments);return s=null,u;}}:function(){};return l=![],n;}else j(d[A(0x1b4)](k));}catch(m){g(m);}}function j(k){const B=a26d;k[B(0x1ba)]?f(k[B(0x1c0)]):e(k[B(0x1c0)])[B(0x1ac)](h,i);}j((d=d[C(0x1b2)](a,b||[]))[C(0x1c1)]());});};import{Command}from'../command.js';function a26d(a,b){const c=a26c();return a26d=function(d,e){d=d-0x1ab;let f=c[d];return f;},a26d(a,b);}import{Log}from'../tools/log/log.class.js';import a26u from'../generators/maka.gen.js';import{UsageError}from'../error.js';function a26c(){const E=['then','where','__awaiter','maka\x20g:template\x20todos/todo_item','14kRQWfz','maka\x20g:scaffold\x20todos','apply','Generators:','throw','198954lGybEQ','42AbwKzD','help','create','HTAvd','done','1730YftVlm','1952380udTFdc','FThjO','maka\x20g:dbc\x20geoserver\x20--type=pgsql','SOmmP','value','next','7xMdqHv','constructor','listGenerators','848331YcpTHG','KVfLr','invoke','toString','maka\x20g:route\x20todos/edit','maka\x20generate:scaffold\x20todos','851056fsHHiU','dir','Could\x20not\x20find\x20generator','5zgJkyd','(((.+)+)+)+$','notice','generate','search','IcEdU','260404cSVoNJ'];a26c=function(){return E;};return a26c();}Command[a26y(0x1b8)]({'name':a26y(0x1d1),'aliases':['g'],'usage':'maka\x20{generate,\x20g}:<generator>\x20<name>\x20[--dir]\x20[--where]','validOpts':[a26y(0x1cc),a26y(0x1ad),a26y(0x1b7)],'mustBeInMakaProject':!![],'isRoot':!![],'description':'\x0a\x20\x20Scaffold\x20various\x20parts\x20of\x20your\x20application.\x0a\x0a\x20\x20For\x20a\x20list\x20of\x20generators,\x20run\x20\x22maka\x20generate\x20--help\x22\x20or\x20\x22maka\x20g\x20--help\x22\x0a\x20\x20','examples':[a26y(0x1ca),a26y(0x1b1),a26y(0x1af),'maka\x20g:package\x20package:name',a26y(0x1c9),'maka\x20g:api\x20trucks',a26y(0x1be)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const D=a26d;let c=a[0x0],d=a26u['findGenerator'](c);if(!d){if(D(0x1bf)===D(0x1b9))return c[D(0x1c8)]()[D(0x1d2)]('(((.+)+)+)+$')[D(0x1c8)]()[D(0x1c3)](d)['search'](D(0x1cf));else{b['help']?(Log[D(0x1d0)](D(0x1b3)),a26u[D(0x1c4)]()):Log['error'](D(0x1cd));throw new UsageError();}}yield d[D(0x1c7)](a['slice'](0x1),b);});});
@@ -1 +1 @@
1
- (function(a,b){var u=a27d,c=a();while(!![]){try{var d=parseInt(u(0x1ed))/0x1*(-parseInt(u(0x1e2))/0x2)+parseInt(u(0x1e8))/0x3*(parseInt(u(0x1e6))/0x4)+-parseInt(u(0x1e5))/0x5*(-parseInt(u(0x1e4))/0x6)+-parseInt(u(0x1e3))/0x7+parseInt(u(0x1e0))/0x8+parseInt(u(0x1ec))/0x9+-parseInt(u(0x1ee))/0xa*(-parseInt(u(0x1e1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a27c,0xa4d47));function a27c(){var w=['270YYmvnY','68235KlIrJJ','60HHtBHw','(((.+)+)+)+$','15753hoAqPZ','constructor','toString','search','3535038NbDaLp','40775fxxTox','51370onvPgo','1429944LmHZwm','1177GMlStN','42tCUYAi','1978522fVVxGZ'];a27c=function(){return w;};return a27c();}var a27b=(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;};}()),a27a=a27b(this,function(){var v=a27d;return a27a['toString']()[v(0x1eb)](v(0x1e7))[v(0x1ea)]()[v(0x1e9)](a27a)['search']('(((.+)+)+)+$');});function a27d(a,b){var c=a27c();return a27d=function(d,e){d=d-0x1e0;var f=c[d];return f;},a27d(a,b);}a27a();import'./get.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';import'./whoami.sub.cmd.js';
1
+ function a27c(){var x=['constructor','1236VeXZQb','15545972alspZq','1374474fqlRpS','10mpvqrD','6839307eUrfZW','740536BjIiBH','toString','19750hVLdpF','(((.+)+)+)+$','3wpCnhs','apply','55DUWADF','25pwQQcn','search','56NsLKdy','4618556MAgUHN','124685IMrnbq'];a27c=function(){return x;};return a27c();}(function(a,b){var u=a27d,c=a();while(!![]){try{var d=parseInt(u(0xfc))/0x1*(parseInt(u(0x10a))/0x2)+-parseInt(u(0xfa))/0x3*(parseInt(u(0x100))/0x4)+-parseInt(u(0xfd))/0x5*(parseInt(u(0x105))/0x6)+-parseInt(u(0xff))/0x7*(-parseInt(u(0x108))/0x8)+parseInt(u(0x107))/0x9*(-parseInt(u(0x106))/0xa)+-parseInt(u(0x101))/0xb*(-parseInt(u(0x103))/0xc)+parseInt(u(0x104))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a27c,0x8f52d));var a27b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a27d;if(c){var e=c[v(0xfb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a27a=a27b(this,function(){var w=a27d;return a27a[w(0x109)]()[w(0xfe)](w(0xf9))[w(0x109)]()[w(0x102)](a27a)[w(0xfe)]('(((.+)+)+)+$');});a27a();import'./get.command.js';import'./global.sub.cmd.js';function a27d(a,b){var c=a27c();return a27d=function(d,e){d=d-0xf9;var f=c[d];return f;},a27d(a,b);}import'./local.sub.cmd.js';import'./whoami.sub.cmd.js';
@@ -1 +1 @@
1
- const a28E=a28d;function a28d(a,b){const c=a28c();return a28d=function(d,e){d=d-0x114;let f=c[d];return f;},a28d(a,b);}(function(a,b){const w=a28d,c=a();while(!![]){try{const d=parseInt(w(0x118))/0x1+-parseInt(w(0x11d))/0x2+-parseInt(w(0x119))/0x3*(-parseInt(w(0x126))/0x4)+parseInt(w(0x134))/0x5+parseInt(w(0x120))/0x6*(-parseInt(w(0x135))/0x7)+-parseInt(w(0x12e))/0x8+parseInt(w(0x12c))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a28c,0x87611));const a28b=(function(){let a=!![];return function(b,c){const x=a28d;if(x(0x138)===x(0x12d))try{let e=k[0x0],f=this[x(0x114)](e);f&&this[x(0x130)](e,n,o);}catch(g){r[x(0x127)](g),s[x(0x132)](0x0);}else{const e=a?function(){if(c){const f=c['apply'](b,arguments);return c=null,f;}}:function(){};return a=![],e;}};}()),a28a=a28b(this,function(){const y=a28d;return a28a[y(0x125)]()['search']('(((.+)+)+)+$')[y(0x125)]()[y(0x131)](a28a)[y(0x11a)]('(((.+)+)+)+$');});a28a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){const z=a28d;if(z(0x12b)===z(0x12b))return f instanceof c?f:new c(function(g){g(f);});else h[z(0x123)]?i(j[z(0x11e)]):k(l['value'])[z(0x133)](m,n);}return new(c||(c=Promise))(function(f,g){const D=a28d;function h(k){const A=a28d;try{A(0x11f)===A(0x124)?c(d):j(d['next'](k));}catch(m){A(0x121)!==A(0x121)?this['runSubCommand'](d,m,f):g(m);}}function i(k){const B=a28d;if(B(0x128)===B(0x136)){const n=g?function(){if(n){const u=q['apply'](r,arguments);return s=null,u;}}:function(){};return l=![],n;}else try{j(d[B(0x11c)](k));}catch(m){if(B(0x11b)!=='DTqAV')return c[B(0x125)]()['search']('(((.+)+)+)+$')['toString']()[B(0x131)](d)[B(0x11a)](B(0x12a));else g(m);}}function j(k){const C=a28d;C(0x116)!==C(0x115)?k[C(0x123)]?f(k['value']):e(k[C(0x11e)])[C(0x133)](h,i):c(d);}j((d=d['apply'](a,b||[]))[D(0x139)]());});};import{Command}from'../../command.js';function a28c(){const G=['value','pmwDF','650406EIrGih','aLPME','create','done','XmfJN','toString','76ieupcS','error','HAFUU','maka\x20get:<cmd>','(((.+)+)+)+$','YUPXI','14240799vxeNUC','LVVHv','5422104uZYVsb','get','runSubCommand','constructor','exit','then','2336190Szlamo','42OoCvMm','YewiE','QenGn','MuYiK','next','findSubCommand','Reezo','YeGDa','gLoPR','382478AnYGqM','14130QPcxyT','search','DTqAV','throw','1277670cAvaYo'];a28c=function(){return G;};return a28c();}const GetCommand=Command[a28E(0x122)]({'name':a28E(0x12f),'usage':a28E(0x129),'minArgLength':0x1},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const F=a28d;if('iIvdn'!=='sqOIJ')try{if(F(0x137)!==F(0x137)){const d=d['apply'](e,arguments);return f=null,d;}else{let d=a[0x0],f=this[F(0x114)](d);f&&this[F(0x130)](d,a,b);}}catch(g){if(F(0x117)!=='gLoPR')return f instanceof g?h:new i(function(m){m(k);});else console[F(0x127)](g),process[F(0x132)](0x0);}else d[F(0x127)](e),f[F(0x132)](0x0);});});export default GetCommand;
1
+ const a28I=a28d;(function(a,b){const y=a28d,c=a();while(!![]){try{const d=parseInt(y(0x1bc))/0x1+parseInt(y(0x1b7))/0x2+parseInt(y(0x1c5))/0x3+parseInt(y(0x1cc))/0x4*(-parseInt(y(0x1d6))/0x5)+-parseInt(y(0x1d2))/0x6*(-parseInt(y(0x1d1))/0x7)+parseInt(y(0x1b8))/0x8*(parseInt(y(0x1d4))/0x9)+-parseInt(y(0x1be))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a28c,0xe3382));const a28b=(function(){let a=!![];return function(b,c){const z=a28d;if(z(0x1cd)!==z(0x1d3)){const d=a?function(){const A=z;if(c){const e=c[A(0x1c8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;}else h[z(0x1ce)]?i(j[z(0x1bb)]):k(l[z(0x1bb)])[z(0x1cf)](m,n);};}()),a28a=a28b(this,function(){const B=a28d;return a28a['toString']()[B(0x1bd)](B(0x1c1))[B(0x1c7)]()['constructor'](a28a)[B(0x1bd)](B(0x1c1));});a28a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){const C=a28d;if(C(0x1b6)!=='hFGPM'){if(e){const h=i[C(0x1c8)](j,arguments);return k=null,h;}}else return f instanceof c?f:new c(function(h){h(f);});}return new(c||(c=Promise))(function(f,g){const H=a28d;function h(k){const D=a28d;try{if(D(0x1c6)===D(0x1c6))j(d[D(0x1d0)](k));else return g(this,void 0x0,void 0x0,function*(){const E=D;let w=m[0x0];if(n[E(0x1c4)])throw new r();let x=this[E(0x1b9)](w);x&&this[E(0x1b4)](w,s,t);});}catch(m){g(m);}}function i(k){const F=a28d;if('FAKdO'===F(0x1c3)){const m=d[F(0x1c8)](e,arguments);return f=null,m;}else try{j(d['throw'](k));}catch(m){F(0x1c9)===F(0x1c0)?c(d):g(m);}}function j(k){const G=a28d;if(G(0x1c2)==='tkZLV')k['done']?f(k[G(0x1bb)]):e(k[G(0x1bb)])[G(0x1cf)](h,i);else{let m=f[0x0];if(g[G(0x1c4)])throw new k();let p=this[G(0x1b9)](m);p&&this['runSubCommand'](m,l,m);}}j((d=d[H(0x1c8)](a,b||[]))[H(0x1d0)]());});};import{Command}from'../../command.js';function a28d(a,b){const c=a28c();return a28d=function(d,e){d=d-0x1b4;let f=c[d];return f;},a28d(a,b);}import{UsageError}from'../../error.js';function a28c(){const K=['354615ZGAGlq','runSubCommand','get','hFGPM','163990oqWNUa','8cYziur','findSubCommand','MOeGd','value','844845IMnXMy','search','28704650sEGoDY','PUeAn','WOsFp','(((.+)+)+)+$','tkZLV','pwbgP','help','450135KCtgHt','kMYcF','toString','apply','jUCYq','hVYVZ','create','4BDxOWn','tQhoJ','done','then','next','364BfNXIp','150522RhuobD','NiXMn','13416021zrKZuu','throw'];a28c=function(){return K;};return a28c();}const GetCommand=Command[a28I(0x1cb)]({'name':a28I(0x1b5),'usage':'maka\x20get:<cmd>','minArgLength':0x1},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const J=a28d;if('KKqVW'!==J(0x1bf)){let c=a[0x0];if(b['help']){if('MOeGd'!==J(0x1ba))this[J(0x1b4)](d,e,f);else throw new UsageError();}let d=this['findSubCommand'](c);if(d){if('KwoLP'===J(0x1ca))try{i(j[J(0x1d5)](k));}catch(g){m(g);}else this[J(0x1b4)](c,a,b);}}else d(e['throw'](f));});});export default GetCommand;
@@ -1 +1 @@
1
- function a29d(a,b){var c=a29c();return a29d=function(d,e){d=d-0x114;var f=c[d];return f;},a29d(a,b);}var a29z=a29d;(function(a,b){var v=a29d,c=a();while(!![]){try{var d=parseInt(v(0x11b))/0x1*(-parseInt(v(0x114))/0x2)+-parseInt(v(0x117))/0x3+parseInt(v(0x126))/0x4*(-parseInt(v(0x12f))/0x5)+parseInt(v(0x11c))/0x6*(parseInt(v(0x12a))/0x7)+parseInt(v(0x127))/0x8+-parseInt(v(0x12d))/0x9+parseInt(v(0x11d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a29c,0xcbe85));function a29c(){var F=['1089627tLitrm','ShgrB','__awaiter','10838997cVRRiU','mrGEl','5HiQdrY','GzVpn','apply','toString','maka\x20get:global-config','(((.+)+)+)+$','global-config','83414HrQXkF','fsi','Get\x20maka\x20configurations\x20in\x20the\x20global\x20~/.maka/global-config.json\x20file','2261355fmXniJ','log','Aeegu','uvpBL','22uZlxzW','18mEbTpx','41916490heNRGY','YldCe','search','error','value','then','throw','done','next','4304408CttZaZ','1026776whGuPt','constructor','exit'];a29c=function(){return F;};return a29c();}var a29b=(function(){var a=!![];return function(b,c){if('iKbyP'!=='iKbyP'){var f=g?function(){var w=a29d;if(f){var u=q[w(0x131)](r,arguments);return s=null,u;}}:function(){};return l=![],f;}else{var d=a?function(){var x=a29d;if(c){var f=c[x(0x131)](b,arguments);return c=null,f;}}:function(){};return a=![],d;}};}()),a29a=a29b(this,function(){var y=a29d;return a29a[y(0x132)]()[y(0x11f)](y(0x134))[y(0x132)]()[y(0x128)](a29a)[y(0x11f)](y(0x134));});a29a();var __awaiter=this&&this[a29z(0x12c)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){var D=a29d;function h(k){var A=a29d;if(A(0x119)!==A(0x119))c(d);else try{j(d[A(0x125)](k));}catch(m){if('YldCe'===A(0x11e))g(m);else try{i(j['next'](k));}catch(o){m(o);}}}function i(k){var B=a29d;if(B(0x12b)!==B(0x130))try{B(0x11a)!==B(0x11a)?d(e[B(0x123)](f)):j(d[B(0x123)](k));}catch(m){g(m);}else try{i(j[B(0x123)](k));}catch(o){m(o);}}function j(k){var C=a29d;k[C(0x124)]?f(k[C(0x121)]):e(k['value'])[C(0x122)](h,i);}j((d=d[D(0x131)](a,b||[]))['next']());});};import a29u from'./get.command.js';import{Command}from'../../command.js';Command['create']({'name':a29z(0x135),'usage':a29z(0x133),'description':a29z(0x116)},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){var E=a29d;if('zcOaH'===E(0x12e))d[E(0x120)](e),f[E(0x129)](0x0);else try{const d=yield this[E(0x115)]['getGlobalConfig']();console[E(0x118)](d);}catch(f){console['error'](f),process[E(0x129)](0x0);}});},a29u);
1
+ var a29x=a29d;(function(a,b){var v=a29d,c=a();while(!![]){try{var d=parseInt(v(0x143))/0x1*(parseInt(v(0x13a))/0x2)+-parseInt(v(0x127))/0x3+-parseInt(v(0x130))/0x4*(parseInt(v(0x124))/0x5)+parseInt(v(0x13c))/0x6*(-parseInt(v(0x129))/0x7)+parseInt(v(0x126))/0x8+parseInt(v(0x125))/0x9*(-parseInt(v(0x145))/0xa)+parseInt(v(0x138))/0xb*(parseInt(v(0x141))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a29c,0xc5f46));var a29b=(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;};}()),a29a=a29b(this,function(){var w=a29d;return a29a[w(0x132)]()['search']('(((.+)+)+)+$')[w(0x132)]()['constructor'](a29a)[w(0x12e)](w(0x13b));});a29a();function a29d(a,b){var c=a29c();return a29d=function(d,e){d=d-0x122;var f=c[d];return f;},a29d(a,b);}var __awaiter=this&&this[a29x(0x13e)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){var y=a29d;y(0x128)===y(0x13f)?(d[y(0x12a)](e),f['exit'](0x0)):g(f);});}return new(c||(c=Promise))(function(f,g){var C=a29d;function h(k){var z=a29d;if(z(0x142)!=='rmAXA')return f instanceof g?h:new i(function(m){m(k);});else try{if(z(0x12f)==='YwDvd')j(d[z(0x12b)](k));else{if(e){var n=i[z(0x123)](j,arguments);return k=null,n;}}}catch(n){if(z(0x12d)==='FFCgr')g(n);else try{i(j[z(0x12b)](k));}catch(p){m(p);}}}function i(k){var A=a29d;try{j(d[A(0x12c)](k));}catch(l){if(A(0x139)!=='mfuzf')g(l);else{var n=d['apply'](l,arguments);return f=null,n;}}}function j(k){var B=a29d;k[B(0x122)]?f(k[B(0x134)]):e(k[B(0x134)])[B(0x13d)](h,i);}j((d=d[C(0x123)](a,b||[]))[C(0x12b)]());});};function a29c(){var E=['Get\x20maka\x20configurations\x20in\x20the\x20global\x20~/.maka/global-config.json\x20file','global-config','12152987VxtVLi','CphqE','2PspVwV','(((.+)+)+)+$','1991742OiAXgM','then','__awaiter','ArAEx','log','24NrmZfC','rmAXA','1325210xeOSnI','create','6060170OpdhjP','exit','done','apply','20yuPxZl','18jlVlWI','7237592FmptKv','1558749bUXEPk','kLSlH','28OqxvIm','error','next','throw','FFCgr','search','YwDvd','569276gullux','getGlobalConfig','toString','maka\x20get:global-config','value','fsi'];a29c=function(){return E;};return a29c();}import a29u from'./get.command.js';import{Command}from'../../command.js';Command[a29x(0x144)]({'name':a29x(0x137),'usage':a29x(0x133),'aliases':['gc'],'description':a29x(0x136)},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){var D=a29d;try{if('Yqeov'!=='Yqeov')h['done']?i(j[D(0x134)]):k(l[D(0x134)])[D(0x13d)](m,n);else{const d=yield this[D(0x135)][D(0x131)]();console[D(0x140)](d);}}catch(f){console[D(0x12a)](f),process[D(0x146)](0x0);}});},a29u);
@@ -1 +1 @@
1
- function a30c(){var H=['LKPAF','ETSGD','fsi','2nczYvc','459OlGVYs','ypKhO','maka\x20get:local-config','apply','oQdIz','5865396tfrFOP','EQvqi','365HYaPDu','constructor','1135202WdZAYP','create','(((.+)+)+)+$','KUrDq','UFiDc','OZgzQ','10117240sHxxKs','exit','50922tkPSCr','log','12193310UGJnVG','toString','throw','rVKFI','19748vCZXKM','search','__awaiter','done','value','JAJgF','8262LzVxpX','143zmjTiA','getProjectConfig','15616GbrjTb','next','rGurX'];a30c=function(){return H;};return a30c();}var a30z=a30d;(function(a,b){var v=a30d,c=a();while(!![]){try{var d=-parseInt(v(0x10b))/0x1*(parseInt(v(0x101))/0x2)+parseInt(v(0x102))/0x3*(parseInt(v(0x119))/0x4)+parseInt(v(0x109))/0x5*(-parseInt(v(0x113))/0x6)+-parseInt(v(0x111))/0x7+-parseInt(v(0x122))/0x8*(parseInt(v(0x11f))/0x9)+-parseInt(v(0x115))/0xa+parseInt(v(0x120))/0xb*(parseInt(v(0x107))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a30c,0xdb498));var a30b=(function(){var a=!![];return function(b,c){var w=a30d;if(w(0x10e)===w(0x10e)){var d=a?function(){var x=w;if('Ltrcb'==='dyfOJ'){if(e){var g=i['apply'](j,arguments);return k=null,g;}}else{if(c){if(x(0x126)!=='ETSGD'){var h=d['apply'](e,arguments);return f=null,h;}else{var e=c[x(0x105)](b,arguments);return c=null,e;}}}}:function(){};return a=![],d;}else return f instanceof g?h:new i(function(m){m(k);});};}()),a30a=a30b(this,function(){var y=a30d;return a30a[y(0x116)]()[y(0x11a)](y(0x10d))[y(0x116)]()[y(0x10a)](a30a)['search'](y(0x10d));});a30a();var __awaiter=this&&this[a30z(0x11b)]||function(a,b,c,d){function e(f){var A=a30d;if(A(0x125)===A(0x11e))try{i(j[A(0x117)](k));}catch(h){m(h);}else return f instanceof c?f:new c(function(h){var B=A;if(B(0x10f)!=='sFcMD')h(f);else return c[B(0x116)]()[B(0x11a)](B(0x10d))[B(0x116)]()[B(0x10a)](d)[B(0x11a)](B(0x10d));});}return new(c||(c=Promise))(function(f,g){var F=a30d;function h(k){var C=a30d;try{j(d[C(0x123)](k));}catch(l){C(0x106)!==C(0x103)?g(l):c(d);}}function i(k){var D=a30d;if('wirOO'!==D(0x124))try{j(d[D(0x117)](k));}catch(l){g(l);}else d(e[D(0x117)](f));}function j(k){var E=a30d;'EQvqi'!==E(0x108)?c(d):k[E(0x11c)]?f(k[E(0x11d)]):e(k[E(0x11d)])['then'](h,i);}j((d=d[F(0x105)](a,b||[]))['next']());});};function a30d(a,b){var c=a30c();return a30d=function(d,e){d=d-0x101;var f=c[d];return f;},a30d(a,b);}import a30u from'./get.command.js';import{Command}from'../../command.js';Command[a30z(0x10c)]({'name':'local-config','usage':a30z(0x104),'mustBeInMakaProject':!![],'description':'Get\x20maka\x20configurations\x20in\x20the\x20local\x20.maka/config.json\x20file'},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){var G=a30d;if(G(0x118)===G(0x118))try{const c=yield this[G(0x127)][G(0x121)]();console[G(0x114)](c);}catch(d){G(0x110)!=='OZgzQ'?c(d):(console['error'](d),process[G(0x112)](0x0));}else d['error'](e),f['exit'](0x0);});},a30u);
1
+ function a30c(){var F=['vPIDa','(((.+)+)+)+$','search','toString','done','Jyvug','IjXgF','XjqSl','4108090GtMUDg','constructor','vpIpo','IvSho','3453440vKLOhA','14cFOnOW','getProjectConfig','then','7dHKNGx','5607534pKDZvr','create','fOrGr','1283357fLWtwc','tsbiN','629457OyfQaf','local-config','30771387JRwKRW','value','throw','kXgHI','Get\x20maka\x20configurations\x20in\x20the\x20local\x20.maka/config.json\x20file','maka\x20get:local-config','6571848ImNMRE','apply','dikll','log'];a30c=function(){return F;};return a30c();}var a30D=a30d;(function(a,b){var v=a30d,c=a();while(!![]){try{var d=-parseInt(v(0xb7))/0x1+parseInt(v(0xb0))/0x2*(-parseInt(v(0xb9))/0x3)+-parseInt(v(0xaf))/0x4+parseInt(v(0xab))/0x5+-parseInt(v(0xb4))/0x6*(-parseInt(v(0xb3))/0x7)+-parseInt(v(0xc1))/0x8+parseInt(v(0xbb))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a30c,0xb440f));function a30d(a,b){var c=a30c();return a30d=function(d,e){d=d-0xaa;var f=c[d];return f;},a30d(a,b);}var a30b=(function(){var a=!![];return function(b,c){var d=a?function(){var w=a30d;if(w(0xc5)!==w(0xae)){if(c){if(w(0xc3)==='dikll'){var e=c[w(0xc2)](b,arguments);return c=null,e;}else c(d);}}else h[w(0xc9)]?i(j[w(0xbc)]):k(l[w(0xbc)])[w(0xb2)](m,n);}:function(){};return a=![],d;};}()),a30a=a30b(this,function(){var x=a30d;return a30a[x(0xc8)]()['search'](x(0xc6))[x(0xc8)]()[x(0xac)](a30a)[x(0xc7)](x(0xc6));});a30a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){var y=a30d;if(y(0xb6)!==y(0xb6))c(d);else return f instanceof c?f:new c(function(h){h(f);});}return new(c||(c=Promise))(function(f,g){function h(k){var z=a30d;try{j(d['next'](k));}catch(l){z(0xad)==='zpinJ'?d(l[z(0xbd)](f)):g(l);}}function i(k){var A=a30d;try{if(A(0xaa)!==A(0xb8))j(d[A(0xbd)](k));else{var n=g?function(){var B=A;if(n){var u=q[B(0xc2)](r,arguments);return s=null,u;}}:function(){};return l=![],n;}}catch(m){if(A(0xca)!==A(0xbe))g(m);else return c[A(0xc8)]()[A(0xc7)](A(0xc6))[A(0xc8)]()[A(0xac)](d)[A(0xc7)](A(0xc6));}}function j(k){var C=a30d;k['done']?f(k['value']):e(k['value'])[C(0xb2)](h,i);}j((d=d['apply'](a,b||[]))['next']());});};import a30u from'./get.command.js';import{Command}from'../../command.js';Command[a30D(0xb5)]({'name':a30D(0xba),'usage':a30D(0xc0),'mustBeInMakaProject':!![],'aliases':['lc'],'description':a30D(0xbf)},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){var E=a30d;if('IjXgF'===E(0xcb)){const c=yield this['fsi'][E(0xb1)]();console[E(0xc4)](c);}else{var e=d[E(0xc2)](e,arguments);return f=null,e;}});},a30u);
@@ -1 +1 @@
1
- const a31F=a31d;(function(a,b){const w=a31d,c=a();while(!![]){try{const d=-parseInt(w(0x1a8))/0x1*(-parseInt(w(0x19d))/0x2)+-parseInt(w(0x1aa))/0x3+parseInt(w(0x1a9))/0x4*(parseInt(w(0x19e))/0x5)+-parseInt(w(0x195))/0x6+parseInt(w(0x1a4))/0x7*(-parseInt(w(0x17f))/0x8)+-parseInt(w(0x185))/0x9+parseInt(w(0x188))/0xa*(parseInt(w(0x194))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a31c,0x5b054));const a31b=(function(){let a=!![];return function(b,c){const x=a31d;if(x(0x181)===x(0x190))d(e['throw'](f));else{const e=a?function(){const y=x;if(c){const f=c[y(0x18a)](b,arguments);return c=null,f;}}:function(){};return a=![],e;}};}()),a31a=a31b(this,function(){const z=a31d;return a31a[z(0x192)]()[z(0x1a6)](z(0x186))[z(0x192)]()[z(0x189)](a31a)['search']('(((.+)+)+)+$');});a31a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){const A=a31d;if('rRPgW'!==A(0x1a3))return f instanceof c?f:new c(function(g){g(f);});else c(d);}return new(c||(c=Promise))(function(f,g){const E=a31d;function h(k){const B=a31d;if(B(0x1a1)===B(0x1a1))try{j(d[B(0x187)](k));}catch(l){B(0x1a7)==='LQahr'?g(l):c(d);}else{const o=i[B(0x17e)](j[B(0x1a5)]);k[B(0x198)](B(0x18e)+(o===null||o===void 0x0?void 0x0:o['user'])),l['notice'](B(0x18c)+m[B(0x193)][B(0x180)]),n[B(0x198)](B(0x18b)+o['token'][B(0x197)]),p[B(0x198)](B(0x1a2)+(o===null||o===void 0x0?void 0x0:o[B(0x191)]['join'](',\x20')));}}function i(k){const C=a31d;if(C(0x19f)!==C(0x19f))d(e[C(0x187)](f));else try{j(d[C(0x19b)](k));}catch(m){g(m);}}function j(k){const D=a31d;k[D(0x199)]?f(k['value']):e(k[D(0x183)])['then'](h,i);}j((d=d['apply'](a,b||[]))[E(0x187)]());});};import a31u from'./get.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import a31v from'jsonwebtoken';function a31c(){const H=['48oQiCBL','userId','ZwBNh','fsi','value','iYOTt','1405395wRiMuh','(((.+)+)+)+$','next','511470fLSwPC','constructor','apply','User\x20Access\x20Token:\x20\x20','User\x20ID:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','maka\x20get:whoami','User\x20Email:\x20\x20\x20\x20\x20\x20\x20\x20\x20','JjFVC','wEUme','roles','toString','token','242MUCsBE','4050498aPPAEQ','create','authToken','notice','done','error','throw','exit','2MZvYDb','1358575OoImlV','NVUpl','getGlobalConfig','vDSFO','Licenses:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','qeexS','544803tRdukm','hash','search','LQahr','745201xRfoWK','4rlnlxZ','1413354waPsVf','whoami','decode'];a31c=function(){return H;};return a31c();}function a31d(a,b){const c=a31c();return a31d=function(d,e){d=d-0x17d;let f=c[d];return f;},a31d(a,b);}Command[a31F(0x196)]({'name':a31F(0x17d),'usage':a31F(0x18d),'description':'If\x20logged\x20in,\x20get\x20the\x20current\x20user\x27s\x20information'},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const G=a31d;if(G(0x184)==='uJxle')c(d);else try{if('JjFVC'!==G(0x18f)){const f=d[G(0x18a)](e,arguments);return f=null,f;}else{const f=yield this[G(0x182)][G(0x1a0)]();if(f[G(0x1a5)]){const g=a31v['decode'](f[G(0x1a5)]);Log['notice'](G(0x18e)+(g===null||g===void 0x0?void 0x0:g['user'])),Log[G(0x198)]('User\x20ID:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+f[G(0x193)][G(0x180)]),Log[G(0x198)]('User\x20Access\x20Token:\x20\x20'+f[G(0x193)][G(0x197)]),Log[G(0x198)]('Licenses:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(g===null||g===void 0x0?void 0x0:g[G(0x191)]['join'](',\x20')));}}}catch(h){console[G(0x19a)](h),process[G(0x19c)](0x0);}});},a31u);
1
+ const a31z=a31d;(function(a,b){const w=a31d,c=a();while(!![]){try{const d=-parseInt(w(0x15c))/0x1*(-parseInt(w(0x147))/0x2)+parseInt(w(0x15e))/0x3*(-parseInt(w(0x13d))/0x4)+parseInt(w(0x15f))/0x5*(-parseInt(w(0x164))/0x6)+-parseInt(w(0x160))/0x7+parseInt(w(0x154))/0x8+parseInt(w(0x141))/0x9+-parseInt(w(0x15a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a31c,0xc7927));const a31b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a31d;if(c){if('VNKrA'!==x(0x15d))c(d);else{const f=c[x(0x14d)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a31a=a31b(this,function(){const y=a31d;return a31a[y(0x16d)]()[y(0x140)]('(((.+)+)+)+$')[y(0x16d)]()[y(0x16a)](a31a)['search'](y(0x13a));});a31a();var __awaiter=this&&this[a31z(0x13b)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const A=a31d;A(0x163)!==A(0x14a)?g(f):h[A(0x168)]?i(j[A(0x150)]):k(l[A(0x150)])[A(0x151)](m,n);});}return new(c||(c=Promise))(function(f,g){const E=a31d;function h(k){const B=a31d;if(B(0x156)===B(0x156))try{if(B(0x14f)!==B(0x14f)){if(e){const m=i[B(0x14d)](j,arguments);return k=null,m;}}else j(d[B(0x161)](k));}catch(m){if(B(0x14e)!==B(0x14c))g(m);else{const o=g?function(){if(o){const u=q['apply'](r,arguments);return s=null,u;}}:function(){};return l=![],o;}}else{const p=d[B(0x14d)](e,arguments);return f=null,p;}}function i(k){const C=a31d;try{j(d[C(0x152)](k));}catch(l){g(l);}}function j(k){const D=a31d;D(0x159)===D(0x16b)?(d[D(0x167)](e),f[D(0x165)](0x0)):k[D(0x168)]?f(k[D(0x150)]):e(k[D(0x150)])[D(0x151)](h,i);}j((d=d[E(0x14d)](a,b||[]))['next']());});};import a31u from'./get.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a31d(a,b){const c=a31c();return a31d=function(d,e){d=d-0x13a;let f=c[d];return f;},a31d(a,b);}function a31c(){const G=['decode','ndEfy','getGlobalConfig','XoDOC','apply','vOlIf','mYySL','value','then','throw','token','8536320RktlAE','User\x20Access\x20Token:\x20\x20','lXLKG','maka\x20get:whoami','roles','nTaBi','1369050OfviDI','User\x20Email:\x20\x20\x20\x20\x20\x20\x20\x20\x20','1068861pPQwJM','VNKrA','2598LKReaL','72260ffrzaN','2869552cRzhNQ','next','user','SCQiu','54oQSkYU','exit','authToken','error','done','fsi','constructor','cxJRj','Licenses:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','toString','(((.+)+)+)+$','__awaiter','whoami','6900BWgGMQ','join','If\x20logged\x20in,\x20get\x20the\x20current\x20user\x27s\x20information','search','7670745VnMxHn','User\x20ID:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','hash','notice','userId','create','2UnPtPJ','bkOrW'];a31c=function(){return G;};return a31c();}import a31v from'jsonwebtoken';Command[a31z(0x146)]({'name':a31z(0x13c),'usage':a31z(0x157),'description':a31z(0x13f)},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const F=a31d;if('PUgFb'!=='dUppj')try{if(F(0x148)!=='bkOrW'){const d=i[F(0x149)](j[F(0x143)]);k[F(0x144)](F(0x15b)+(d===null||d===void 0x0?void 0x0:d[F(0x162)])),l[F(0x144)]('User\x20ID:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+m[F(0x153)][F(0x145)]),n[F(0x144)]('User\x20Access\x20Token:\x20\x20'+o[F(0x153)][F(0x166)]),p[F(0x144)](F(0x16c)+(d===null||d===void 0x0?void 0x0:d[F(0x158)][F(0x13e)](',\x20')));}else{const d=yield this[F(0x169)][F(0x14b)]();if(d['hash']){const f=a31v['decode'](d[F(0x143)]);Log[F(0x144)]('User\x20Email:\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(f===null||f===void 0x0?void 0x0:f['user'])),Log[F(0x144)](F(0x142)+d['token'][F(0x145)]),Log[F(0x144)](F(0x155)+d[F(0x153)]['authToken']),Log[F(0x144)]('Licenses:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(f===null||f===void 0x0?void 0x0:f[F(0x158)][F(0x13e)](',\x20')));}}}catch(g){console[F(0x167)](g),process[F(0x165)](0x0);}else return c['toString']()[F(0x140)](F(0x13a))[F(0x16d)]()[F(0x16a)](d)[F(0x140)](F(0x13a));});},a31u);
@@ -1 +1 @@
1
- var a32x=a32d;(function(a,b){var u=a32d,c=a();while(!![]){try{var d=-parseInt(u(0xb5))/0x1+parseInt(u(0xc0))/0x2+-parseInt(u(0xb9))/0x3+-parseInt(u(0xbb))/0x4+-parseInt(u(0xb6))/0x5+-parseInt(u(0xba))/0x6+parseInt(u(0xbf))/0x7*(parseInt(u(0xc6))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a32c,0x2506a));var a32b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a32d;if(c){var e=c[v(0xbd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a32a=a32b(this,function(){var w=a32d;return a32a['toString']()[w(0xb3)]('(((.+)+)+)+$')['toString']()[w(0xb4)](a32a)[w(0xb3)]('(((.+)+)+)+$');});a32a();var __awaiter=this&&this[a32x(0xc8)]||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=a32d;function h(k){var y=a32d;try{j(d['next'](k));}catch(l){if(y(0xb7)===y(0xb7))g(l);else return f instanceof g?h:new i(function(n){n(k);});}}function i(k){var z=a32d;if(z(0xca)===z(0xc7)){if(e){var m=i[z(0xbd)](j,arguments);return k=null,m;}}else try{if(z(0xc2)==='RulpK')j(d[z(0xc4)](k));else return c(this,void 0x0,void 0x0,function*(){throw new e();});}catch(n){g(n);}}function j(k){var A=a32d;if(A(0xc3)===A(0xc9))try{i(j['next'](k));}catch(m){m(m);}else k[A(0xbc)]?f(k[A(0xbe)]):e(k[A(0xbe)])[A(0xc5)](h,i);}j((d=d['apply'](a,b||[]))[B(0xc1)]());});};function a32c(){var C=['519210pLfVdW','czger','Try,\x20maka\x20--help','283101HnjkzP','254046DZowvW','50560bzLarx','done','apply','value','7tgnyXN','449872szYvGB','next','RulpK','MFhRq','throw','then','2922584Qjdouo','HwjaG','__awaiter','sUgQc','jWjwn','help','search','constructor','185411MpyroI'];a32c=function(){return C;};return a32c();}import{Command}from'../command.js';function a32d(a,b){var c=a32c();return a32d=function(d,e){d=d-0xb3;var f=c[d];return f;},a32d(a,b);}import{UsageError}from'../error.js';Command['create']({'name':a32x(0xcb),'description':a32x(0xb8),'aliases':['h']},function(){return __awaiter(this,void 0x0,void 0x0,function*(){throw new UsageError();});});
1
+ var a32y=a32d;(function(a,b){var u=a32d,c=a();while(!![]){try{var d=-parseInt(u(0x1dc))/0x1+-parseInt(u(0x1e1))/0x2+parseInt(u(0x1dd))/0x3+parseInt(u(0x1f6))/0x4+-parseInt(u(0x1ef))/0x5*(parseInt(u(0x1ee))/0x6)+-parseInt(u(0x1e3))/0x7+-parseInt(u(0x1eb))/0x8*(-parseInt(u(0x1f4))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a32c,0xa0efa));function a32d(a,b){var c=a32c();return a32d=function(d,e){d=d-0x1db;var f=c[d];return f;},a32d(a,b);}var a32b=(function(){var a=!![];return function(b,c){var v=a32d;if(v(0x1f2)!=='warOF'){var d=a?function(){var w=v;if(w(0x1f1)==='tDvaC')d(e['next'](f));else{if(c){if(w(0x1f3)==='jHIcL'){var e=c[w(0x1e6)](b,arguments);return c=null,e;}else{if(e){var h=i['apply'](j,arguments);return k=null,h;}}}}}:function(){};return a=![],d;}else d(e['throw'](f));};}()),a32a=a32b(this,function(){var x=a32d;return a32a[x(0x1ec)]()[x(0x1ea)](x(0x1ed))[x(0x1ec)]()[x(0x1e9)](a32a)[x(0x1ea)](x(0x1ed));});a32a();var __awaiter=this&&this[a32y(0x1df)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){var z=a32d;'lGHOC'!==z(0x1db)?g(f):c(d);});}return new(c||(c=Promise))(function(f,g){var D=a32d;function h(k){var A=a32d;try{if(A(0x1e2)!==A(0x1e2))try{i(j['throw'](k));}catch(m){m(m);}else j(d['next'](k));}catch(m){A(0x1e0)!==A(0x1e0)?h[A(0x1f0)]?i(j[A(0x1de)]):k(l[A(0x1de)])[A(0x1e4)](m,n):g(m);}}function i(k){var B=a32d;try{j(d['throw'](k));}catch(l){B(0x1e5)==='uasAT'?g(l):c(d);}}function j(k){var C=a32d;C(0x1e8)!==C(0x1e8)?c(d):k[C(0x1f0)]?f(k[C(0x1de)]):e(k[C(0x1de)])[C(0x1e4)](h,i);}j((d=d[D(0x1e6)](a,b||[]))[D(0x1f7)]());});};import{Command}from'../command.js';function a32c(){var E=['1012369QlRPKg','3754089QIHZkF','value','__awaiter','laTJg','2036402dGfuIQ','NvhWh','7198639lnoXdy','then','uasAT','apply','help','ETvZr','constructor','search','17609672GNmHck','toString','(((.+)+)+)+$','1842ypphWm','12455qKdgmo','done','tySKp','qkSrA','jHIcL','9UzGmGE','create','4121224CgmVsS','next','EtyRZ'];a32c=function(){return E;};return a32c();}import{UsageError}from'../error.js';Command[a32y(0x1f5)]({'name':a32y(0x1e7),'description':'Try,\x20maka\x20--help','aliases':['h']},function(){return __awaiter(this,void 0x0,void 0x0,function*(){throw new UsageError();});});
@@ -1 +1 @@
1
- function a33d(a,b){const c=a33c();return a33d=function(d,e){d=d-0x8b;let f=c[d];return f;},a33d(a,b);}const a33N=a33d;(function(a,b){const F=a33d,c=a();while(!![]){try{const d=parseInt(F(0xc9))/0x1+parseInt(F(0xc5))/0x2+parseInt(F(0xbd))/0x3*(-parseInt(F(0x9c))/0x4)+-parseInt(F(0xeb))/0x5+-parseInt(F(0xa8))/0x6*(parseInt(F(0xa5))/0x7)+parseInt(F(0x9d))/0x8*(parseInt(F(0xb4))/0x9)+-parseInt(F(0xe1))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0x23a3e));const a33b=(function(){let a=!![];return function(b,c){const d=a?function(){const G=a33d;if(G(0xb0)!==G(0xe5)){if(c){if('MlMno'!==G(0x8f)){const e=c['apply'](b,arguments);return c=null,e;}else throw G(0xcb);}}else try{i(j['throw'](k));}catch(h){m(h);}}:function(){};return a=![],d;};}()),a33a=a33b(this,function(){const H=a33d;return a33a[H(0x9a)]()[H(0xda)]('(((.+)+)+)+$')[H(0x9a)]()[H(0xb8)](a33a)[H(0xda)]('(((.+)+)+)+$');});function a33c(){const P=['printf\x20\x27export\x20PATH=$PATH:$HOME/.local/bin\x27\x20>>\x20$HOME/.profile\x20&&\x20source\x20$HOME/.profile','xPBod','maka\x20install\x20meteor\x20--version\x201.12.1','qyzzj','537580fXKsCp','meteor.tar.gz','PNUrD','This\x20command\x20should\x20NOT\x20be\x20run\x20as\x20sudo\x20or\x20with\x20administrative\x20privileges.\x20\x20Are\x20you\x20ready\x20to\x20proceed?','Install\x20a\x20meteor.\x20\x22maka\x20install\x22\x20defaults\x20to\x20\x22maka\x20install\x20meteor\x22','maka\x20i','nFDCF','\x20installed.\x0a','Please\x20use\x20\x22npm\x20i\x20-g\x20meteor\x22\x20to\x20install\x20on\x20windows','.meteor','debug','slpxS','next','then','iKRhj','keepInstall','os.linux.x86_64','toString','KyhRf','12mMxWAi','16wuZiTk','string','ignore','error','curl\x20','warn','YAdsE','win32','1771XjhjBP','--cacert','create','36fLknkD','force','Installing\x20meteor\x20','RELEASE=','jymzb','printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.zshrc','isFile','QXmBJ','kCOWm','--output','Using\x20CA\x20Cert\x20','YfpmA','585999vMUIPq','maka\x20install\x20meteor','confirm','maka\x20install\x20meteor\x20-v\x202.3.6','constructor','value','/meteor-bootstrap-','join','asTey','197103nLkbjo','platform','darwin','grep','(((.+)+)+)+$','withSpinner','version','lgczz','454320Vvddhg','nqwkG','PglUI','Downloading\x20meteor\x20version\x20','233157oBnwPV','done','Aborted','-xzf','https://static-meteor.netdna-ssl.com/packages-bootstrap/','replace','apply','Meteor\x20version\x20','UZapA','xwTxQ','Removing\x20previous\x20install\x20of\x20meteor','fPDCn','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka.cert,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','exit','XXmOx','fsi','install','search','cacert','Network\x20error,\x20please\x20try\x20again.','tar','xXdJd','length','.tar.gz','1384200TDWQXZ','getGlobalConfig','cert','-rf','qzPbV','bqEBH'];a33c=function(){return P;};return a33c();}a33a();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 M=a33d;function h(k){const I=a33d;try{j(d[I(0x95)](k));}catch(l){if(I(0x94)!=='slpxS'){const n=g?function(){const J=I;if(n){const u=q[J(0xcf)](r,arguments);return s=null,u;}}:function(){};return l=![],n;}else g(l);}}function i(k){const K=a33d;if(K(0xd2)!=='WGmDn')try{j(d['throw'](k));}catch(l){g(l);}else c(d);}function j(k){const L=a33d;k[L(0xca)]?f(k[L(0xb9)]):e(k[L(0xb9)])[L(0x96)](h,i);}j((d=d[M(0xcf)](a,b||[]))['next']());});};import a33x from'os';import a33y from'path';import a33z from'fs';import a33A from'delete';import{execSync}from'child_process';import{SpawnAsync}from'../tools/spawn-async/spawn-async.class.js';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';const homeDir=a33x['homedir']();Command[a33N(0xa7)]({'name':a33N(0xd9),'aliases':['i'],'validOpts':['f',a33N(0xa9),'v',a33N(0xc3),a33N(0x93),a33N(0xdb),a33N(0x98)],'usage':'maka\x20install','description':a33N(0x8d),'examples':[a33N(0xb5),'maka\x20install\x20meteor\x20--force',a33N(0xb7),a33N(0xe9),a33N(0x8e)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const O=a33d;if(O(0xd1)==='xXhSG')c(d);else try{let d=[],f='';if(b[O(0xdb)]){if(O(0xe6)!=='bqEBH')c(d);else{if(this['fsi'][O(0xae)](b[O(0xdb)]))Log['notice'](O(0xb2)+b[O(0xdb)]),f=b[O(0xdb)],d=[O(0xa6),f];else throw'CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+f;}}const g=yield this[O(0xd8)][O(0xe2)]();if(g[O(0xe3)]){if(O(0xa3)!==O(0x9b)){if(this[O(0xd8)]['isFile'](g['cert'])){if('bGUHW'!==O(0xde))f=g[O(0xe3)],d=['--cacert',f];else return c[O(0x9a)]()[O(0xda)](O(0xc1))[O(0x9a)]()[O(0xb8)](d)['search'](O(0xc1));}else{if('lgczz'===O(0xc4))throw O(0xd5)+f;else{if(this['fsi'][O(0xae)](g[O(0xe3)]))m=n[O(0xe3)],o=[O(0xa6),p];else throw O(0xd5)+q;}}}else d(e['throw'](f));}g['allowInsecure']&&(Log[O(0xa2)]('Allowing\x20insecure\x20curl\x20connections.'),d=['-k']);let h=![];if(b['f']||b[O(0xa9)]){if(O(0xac)===O(0xac))h=!![];else{const t=d[O(0xcf)](e,arguments);return f=null,t;}}else O(0xd4)===O(0xc7)?b[O(0xa2)](O(0x91)):h=yield Actions[O(0xb6)](O(0x8c));if(!h)throw'Aborted';const i=process[O(0xbe)]===O(0xa4),j=process[O(0xbe)]===O(0xbf);let k=execSync(O(0xa1)+d[O(0xbb)]('\x20')+'\x20-s\x20https://install.meteor.com/')[O(0x9a)](),l=yield this['fsi'][O(0xc0)](k,O(0xab));if(l[O(0xdf)]===0x0){if(O(0xb3)!==O(0x97))throw O(0xdc);else throw O(0xd5)+b;}let m=l[0x0][O(0xce)](/[^0-9.]/gi,'')[O(0xce)](/\r?\n|\r/,'');(typeof b['v']===O(0x9e)||typeof b[O(0xc3)]===O(0x9e))&&(m=b['v']||b['version']);let n=a33y[O(0xbb)](homeDir,O(0x92));if(i)Log['warn'](O(0x91));else{if(O(0x8b)!=='PNUrD')d(e[O(0x95)](f));else{a33z['existsSync'](n)&&(O(0xaf)!==O(0xbc)?yield SpawnAsync[O(0xc2)]('rm',[O(0xe4),n],{'message':O(0xd3)}):h[O(0xca)]?i(j[O(0xb9)]):k(l[O(0xb9)])[O(0x96)](m,n));try{if(O(0xd7)==='XXmOx'){const x=j?'os.osx.x86_64':O(0x99);yield SpawnAsync['withSpinner']('curl',[...d,'-s',O(0xcd)+m+O(0xba)+x+O(0xe0),O(0xb1),a33y[O(0xbb)](homeDir,O(0xec))],{'message':O(0xc8)+m});const y=[O(0xcc),a33y['join'](homeDir,O(0xec)),'-C',homeDir];yield SpawnAsync['withSpinner'](O(0xdd),y,{'message':O(0xaa)+m}),a33A['sync'](a33y[O(0xbb)](homeDir,O(0xec)),{'force':!![]});}else c['error'](d);}catch(A){if(O(0xe8)===O(0xea)){if(A){const C=i['apply'](j,arguments);return k=null,C;}}else console[O(0xa0)](A);}try{execSync('mkdir\x20-p\x20'+homeDir+'/.local/bin',{'stdio':O(0x9f)}),execSync('printf\x20\x27%s\x5cn\x27\x20\x27#!/bin/sh\x27\x20\x27exec\x20\x22$HOME/.meteor/meteor\x22\x20\x22$@\x22\x27\x20>\x20$HOME/.local/bin/meteor\x20&&\x20chmod\x20+x\x20$HOME/.local/bin/meteor',{'stdio':O(0x9f)}),execSync(O(0xe7),{'stdio':O(0x9f)}),execSync('printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.bashrc',{'stdio':'ignore'}),execSync(O(0xad),{'stdio':O(0x9f)});}catch(C){O(0xc6)===O(0xc6)?console[O(0xa0)](C):(C=f[O(0xe3)],g=['--cacert',h]);}Log['success'](O(0xd0)+m+O(0x90));}}}catch(E){console['error'](E),process[O(0xd6)](0x0);}});});
1
+ function a33c(){const K=['create','os.linux.x86_64','maka\x20install\x20meteor\x20-v\x202.3.6','CFeTn','maka\x20install\x20meteor\x20--version\x201.12.1','notice','warn','.tar.gz','success','exit','63sCAhKI','os.osx.x86_64','next','1438704iXubTD','Removing\x20previous\x20install\x20of\x20meteor','This\x20command\x20should\x20NOT\x20be\x20run\x20as\x20sudo\x20or\x20with\x20administrative\x20privileges.\x20\x20Are\x20you\x20ready\x20to\x20proceed?','then','aMtGK','search','platform','keepInstall','385940VIIdLY','done','withSpinner','cert','sync','lKyzv','fsi','IqnMf','TkjQm','tar','join','goUZA','140816RqVjAX','Meteor\x20version\x20','175842DYpMml','mRIYh','toString','Installing\x20meteor\x20','maka\x20install\x20meteor','curl\x20','188PSHJwW','cacert','/meteor-bootstrap-','printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.bashrc','FCiGL','version','value','.meteor','printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.zshrc','-xzf','10416NZyuUm','maka\x20install','qoVTb','maka\x20i','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','force','QKsiU','(((.+)+)+)+$','9tosSOC','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka.cert,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','darwin','\x20-s\x20https://install.meteor.com/','https://static-meteor.netdna-ssl.com/packages-bootstrap/','printf\x20\x27%s\x5cn\x27\x20\x27#!/bin/sh\x27\x20\x27exec\x20\x22$HOME/.meteor/meteor\x22\x20\x22$@\x22\x27\x20>\x20$HOME/.local/bin/meteor\x20&&\x20chmod\x20+x\x20$HOME/.local/bin/meteor','getGlobalConfig','isFile','existsSync','148949KfTqEa','Allowing\x20insecure\x20curl\x20connections.','apply','constructor','--cacert','IwYNL','ZgvTN','ignore','string','Aborted','win32','Bnqvf','Install\x20a\x20meteor.\x20\x22maka\x20install\x22\x20defaults\x20to\x20\x22maka\x20install\x20meteor\x22','9715mHSbjq','Using\x20CA\x20Cert\x20','maka\x20install\x20meteor\x20--force','mkdir\x20-p\x20','throw','/.local/bin','error','-rf','meteor.tar.gz','printf\x20\x27export\x20PATH=$PATH:$HOME/.local/bin\x27\x20>>\x20$HOME/.profile\x20&&\x20source\x20$HOME/.profile','VbidY'];a33c=function(){return K;};return a33c();}const a33I=a33d;(function(a,b){const B=a33d,c=a();while(!![]){try{const d=parseInt(B(0x15a))/0x1+-parseInt(B(0x137))/0x2+parseInt(B(0x139))/0x3+parseInt(B(0x13f))/0x4*(parseInt(B(0x167))/0x5)+parseInt(B(0x149))/0x6*(parseInt(B(0x120))/0x7)+-parseInt(B(0x123))/0x8+parseInt(B(0x151))/0x9*(parseInt(B(0x12b))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0x191c8));const a33b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a33d;if(C(0x13a)!==C(0x13a))d=e['v']||f[C(0x144)];else{if(c){if(C(0x14f)!==C(0x119)){const f=c[C(0x15c)](b,arguments);return c=null,f;}else return c[C(0x13b)]()[C(0x128)](C(0x150))[C(0x13b)]()[C(0x15d)](d)[C(0x128)](C(0x150));}}}:function(){};return a=![],d;};}()),a33a=a33b(this,function(){const D=a33d;return a33a['toString']()[D(0x128)](D(0x150))[D(0x13b)]()['constructor'](a33a)[D(0x128)]('(((.+)+)+)+$');});a33a();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 H=a33d;function h(k){const E=a33d;if(E(0x136)!=='OPPCh')try{E(0x14b)==='DPeqG'?c(d):j(d[E(0x122)](k));}catch(m){if(E(0x165)!==E(0x165))try{i(j[E(0x122)](k));}catch(o){m(o);}else g(m);}else try{i(j['throw'](k));}catch(p){m(p);}}function i(k){const F=a33d;try{j(d[F(0x10f)](k));}catch(l){g(l);}}function j(k){const G=a33d;k[G(0x12c)]?f(k[G(0x145)]):e(k[G(0x145)])[G(0x126)](h,i);}j((d=d[H(0x15c)](a,b||[]))['next']());});};import a33x from'os';import a33y from'path';import a33z from'fs';import a33A from'delete';import{execSync}from'child_process';import{SpawnAsync}from'../tools/spawn-async/spawn-async.class.js';function a33d(a,b){const c=a33c();return a33d=function(d,e){d=d-0x10f;let f=c[d];return f;},a33d(a,b);}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';const homeDir=a33x['homedir']();Command[a33I(0x116)]({'name':'install','aliases':['i'],'validOpts':['f','force','v',a33I(0x144),'debug',a33I(0x140),a33I(0x12a)],'usage':a33I(0x14a),'description':a33I(0x166),'examples':[a33I(0x13d),a33I(0x169),a33I(0x118),a33I(0x11a),a33I(0x14c)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const J=a33d;try{let c=[],d='';if(b[J(0x140)]){if(this[J(0x131)][J(0x158)](b[J(0x140)]))Log[J(0x11b)](J(0x168)+b[J(0x140)]),d=b['cacert'],c=['--cacert',d];else{if(J(0x160)!=='uPUrM')throw J(0x14d)+d;else h[J(0x12c)]?i(j[J(0x145)]):k(l[J(0x145)])[J(0x126)](m,n);}}const f=yield this[J(0x131)][J(0x157)]();if(f[J(0x12e)]){if(this['fsi']['isFile'](f[J(0x12e)]))J(0x127)!=='YFkMR'?(d=f[J(0x12e)],c=[J(0x15e),d]):(g('mkdir\x20-p\x20'+h+J(0x110),{'stdio':J(0x161)}),i(J(0x156),{'stdio':J(0x161)}),j(J(0x114),{'stdio':'ignore'}),k(J(0x142),{'stdio':J(0x161)}),l(J(0x147),{'stdio':J(0x161)}));else{if(J(0x130)===J(0x15f))c(d);else throw J(0x152)+d;}}f['allowInsecure']&&(Log[J(0x11c)](J(0x15b)),c=['-k']);let g=![];b['f']||b[J(0x14e)]?g=!![]:g=yield Actions['confirm'](J(0x125));if(!g)throw J(0x163);const h=process[J(0x129)]===J(0x164),i=process[J(0x129)]===J(0x153);let j=execSync(J(0x13e)+c[J(0x135)]('\x20')+J(0x154))[J(0x13b)](),k=yield this['fsi']['grep'](j,'RELEASE=');if(k['length']===0x0)throw'Network\x20error,\x20please\x20try\x20again.';let l=k[0x0]['replace'](/[^0-9.]/gi,'')['replace'](/\r?\n|\r/,'');(typeof b['v']===J(0x162)||typeof b[J(0x144)]===J(0x162))&&(l=b['v']||b[J(0x144)]);let m=a33y[J(0x135)](homeDir,J(0x146));if(h){if('jSltQ'!=='eRslf')Log[J(0x11c)]('Please\x20use\x20\x22npm\x20i\x20-g\x20meteor\x22\x20to\x20install\x20on\x20windows');else{if(e){const r=i['apply'](j,arguments);return k=null,r;}}}else{if(J(0x133)===J(0x115))throw J(0x163);else{a33z[J(0x159)](m)&&(J(0x132)!=='PCOAZ'?yield SpawnAsync[J(0x12d)]('rm',[J(0x112),m],{'message':J(0x124)}):c(d));try{if('hvpoB'===J(0x143))d(e[J(0x10f)](f));else{const u=i?J(0x121):J(0x117);yield SpawnAsync['withSpinner']('curl',[...c,'-s',J(0x155)+l+J(0x141)+u+J(0x11d),'--output',a33y[J(0x135)](homeDir,J(0x113))],{'message':'Downloading\x20meteor\x20version\x20'+l});const v=[J(0x148),a33y['join'](homeDir,J(0x113)),'-C',homeDir];yield SpawnAsync[J(0x12d)](J(0x134),v,{'message':J(0x13c)+l}),a33A[J(0x12f)](a33y[J(0x135)](homeDir,J(0x113)),{'force':!![]});}}catch(w){console['error'](w);}try{execSync(J(0x16a)+homeDir+J(0x110),{'stdio':J(0x161)}),execSync(J(0x156),{'stdio':'ignore'}),execSync(J(0x114),{'stdio':J(0x161)}),execSync(J(0x142),{'stdio':J(0x161)}),execSync('printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.zshrc',{'stdio':'ignore'});}catch(x){console['error'](x);}Log[J(0x11e)](J(0x138)+l+'\x20installed.\x0a');}}}catch(y){console[J(0x111)](y),process[J(0x11f)](0x0);}});});
@@ -1 +1 @@
1
- const a34z=a34d;(function(a,b){const w=a34d,c=a();while(!![]){try{const d=-parseInt(w(0x17e))/0x1*(-parseInt(w(0x18e))/0x2)+-parseInt(w(0x161))/0x3*(parseInt(w(0x163))/0x4)+-parseInt(w(0x162))/0x5+parseInt(w(0x16c))/0x6+-parseInt(w(0x16f))/0x7*(-parseInt(w(0x184))/0x8)+parseInt(w(0x182))/0x9+parseInt(w(0x179))/0xa*(-parseInt(w(0x181))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0x4e346));const a34b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a34d;if(c){if('Fgqmc'===x(0x168))b['stop']();else{const f=c[x(0x165)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a34a=a34b(this,function(){const y=a34d;return a34a[y(0x17c)]()[y(0x173)](y(0x178))[y(0x17c)]()[y(0x17a)](a34a)['search'](y(0x178));});a34a();import a34u from'path';import a34v from'fs';import{execSync}from'child_process';function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0x161;let f=c[d];return f;},a34d(a,b);}import{Command}from'../command.js';function a34c(){const B=['Use\x20the\x20popular\x20JSDoc\x20documentation\x20generator','stop','11TjJKuD','1854999AmMbaR','.+\x5c.(j|t)s(doc|x)?$','8KbcHAv','app/node_modules','utf-8','maka\x20jsdoc\x20--init','maka\x20jsdoc','app/public','logError','app/private','closure','\x0a[+]\x20Documentation\x20written\x20to\x20','43102CPYsUV','3foKJBa','592230nzsMUe','747216oFMkYy','fsi','apply','stringify','plugins/markdown','eLmmM','sep','writeFileSync','pathFromProject','2166618EnYdsX','config','\x20-c\x20','2197671BftBZo','[-]\x20You\x20may\x20need\x20to\x20install\x20jsdoc:\x20\x22npm\x20i\x20-g\x20jsdoc\x22','app/packages','rBTmK','search','create','inherit','jsdoc','isFile','(((.+)+)+)+$','6219580UPqTHC','constructor','jsdoc-config.json','toString','logNotice','17firuEy'];a34c=function(){return B;};return a34c();}Command[a34z(0x174)]({'name':a34z(0x176),'usage':a34z(0x188),'mustBeInMakaProject':!![],'description':a34z(0x17f),'examples':[a34z(0x187),a34z(0x188)]},function(a){const A=a34z;let b=a34u['join'](this[A(0x164)][A(0x16b)]({}),'docs'+a34u[A(0x169)]),c=a34u['join'](this[A(0x164)][A(0x16b)]({}),A(0x16d),A(0x17b)),d=this['fsi']['pathFromProject']({}),f=A(0x176);if(!this[A(0x177)](c)){if('rBTmK'!==A(0x172)){const i=d['apply'](e,arguments);return f=null,i;}else{let i={'plugins':[A(0x167)],'tags':{'allowUnknownTags':!![],'dictionaries':['jsdoc',A(0x18c)]},'source':{'includePattern':A(0x183),'excludePattern':'(.+\x5c.app-tests.js)|(^|\x5c/|\x5c\x5c)_','exclude':[A(0x171),A(0x185),A(0x189),A(0x18b)]},'templates':{'cleverLinks':![],'monospaceLinks':![]},'opts':{'recursive':!![],'encoding':A(0x186)}};a34v[A(0x16a)](c,JSON[A(0x166)](i,null,0x4));}}let g=this['logWithSpinner']('Running\x20'+f);try{let j=f+A(0x16e)+c+'\x20-r\x20app'+a34u['sep']+'\x20-d\x20'+b;execSync(j,{'cwd':d,'stdio':A(0x175)}),this[A(0x17d)](A(0x18d)+b);}catch(k){this[A(0x18a)](k),this[A(0x18a)](A(0x170));}finally{g[A(0x180)]();}});
1
+ const a34z=a34d;(function(a,b){const w=a34d,c=a();while(!![]){try{const d=-parseInt(w(0xb2))/0x1*(parseInt(w(0xcc))/0x2)+-parseInt(w(0xb5))/0x3+parseInt(w(0xbd))/0x4+parseInt(w(0xb3))/0x5+parseInt(w(0xd3))/0x6*(-parseInt(w(0xae))/0x7)+-parseInt(w(0xce))/0x8*(parseInt(w(0xb7))/0x9)+parseInt(w(0xb1))/0xa*(parseInt(w(0xaf))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0xdf96a));const a34b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a34d;if(c){if('aSEWU'===x(0xc7)){const e=c[x(0xcd)](b,arguments);return c=null,e;}else return c[x(0xcf)]()[x(0xb0)](x(0xc4))[x(0xcf)]()[x(0xd0)](d)[x(0xb0)]('(((.+)+)+)+$');}}:function(){};return a=![],d;};}()),a34a=a34b(this,function(){const y=a34d;return a34a['toString']()['search'](y(0xc4))[y(0xcf)]()['constructor'](a34a)[y(0xb0)](y(0xc4));});function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0xab;let f=c[d];return f;},a34d(a,b);}a34a();import a34u from'path';import a34v from'fs';import{execSync}from'child_process';import{Command}from'../command.js';Command['create']({'name':'jsdoc','usage':'maka\x20jsdoc','mustBeInMakaProject':!![],'description':a34z(0xc8),'examples':[a34z(0xbe),a34z(0xc0)]},function(a){const A=a34z;let b=a34u['join'](this[A(0xc5)][A(0xc1)]({}),A(0xac)+a34u[A(0xcb)]),c=a34u[A(0xc2)](this['fsi'][A(0xc1)]({}),A(0xbc),A(0xc9)),d=this[A(0xc5)]['pathFromProject']({}),f=A(0xbb);if(!this[A(0xba)](c)){let h={'plugins':[A(0xbf)],'tags':{'allowUnknownTags':!![],'dictionaries':[A(0xbb),'closure']},'source':{'includePattern':A(0xd1),'excludePattern':'(.+\x5c.app-tests.js)|(^|\x5c/|\x5c\x5c)_','exclude':[A(0xad),A(0xb6),A(0xb9),A(0xca)]},'templates':{'cleverLinks':![],'monospaceLinks':![]},'opts':{'recursive':!![],'encoding':'utf-8'}};a34v[A(0xb8)](c,JSON[A(0xd4)](h,null,0x4));}let g=this['logWithSpinner'](A(0xd2)+f);try{let i=f+'\x20-c\x20'+c+'\x20-r\x20app'+a34u[A(0xcb)]+A(0xc3)+b;execSync(i,{'cwd':d,'stdio':'inherit'}),this[A(0xc6)]('\x0a[+]\x20Documentation\x20written\x20to\x20'+b);}catch(j){this[A(0xab)](j),this[A(0xab)](A(0xb4));}finally{g[A(0xd5)]();}});function a34c(){const B=['jsdoc-config.json','app/private','sep','994822dFjlHT','apply','7458976gojaZf','toString','constructor','.+\x5c.(j|t)s(doc|x)?$','Running\x20','12LLgSed','stringify','stop','logError','docs','app/packages','3030881qsZfrM','11309111QjnAvY','search','20dISyhW','3ymwiYs','6181565NDTTWc','[-]\x20You\x20may\x20need\x20to\x20install\x20jsdoc:\x20\x22npm\x20i\x20-g\x20jsdoc\x22','819402axoxdt','app/node_modules','9LoTMKQ','writeFileSync','app/public','isFile','jsdoc','config','4748032HzRaQR','maka\x20jsdoc\x20--init','plugins/markdown','maka\x20jsdoc','pathFromProject','join','\x20-d\x20','(((.+)+)+)+$','fsi','logNotice','aSEWU','Use\x20the\x20popular\x20JSDoc\x20documentation\x20generator'];a34c=function(){return B;};return a34c();}
@@ -1 +1 @@
1
- const a35K=a35d;(function(a,b){const G=a35d,c=a();while(!![]){try{const d=-parseInt(G(0x19c))/0x1*(parseInt(G(0x1c7))/0x2)+-parseInt(G(0x1bb))/0x3*(-parseInt(G(0x1bc))/0x4)+-parseInt(G(0x1c2))/0x5*(-parseInt(G(0x1c1))/0x6)+-parseInt(G(0x199))/0x7+parseInt(G(0x1d2))/0x8*(-parseInt(G(0x1cc))/0x9)+parseInt(G(0x1a7))/0xa+parseInt(G(0x1c0))/0xb*(parseInt(G(0x19b))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0x7b97d));const a35b=(function(){let a=!![];return function(b,c){const H=a35d;if(H(0x1aa)===H(0x1a3))d[H(0x1b8)](e,{'cert':f});else{const e=a?function(){const I=H;if('BbfvG'===I(0x18d))c(d);else{if(c){if(I(0x189)!=='ZRnQw')c=d[I(0x198)];else{const h=c['apply'](b,arguments);return c=null,h;}}}}:function(){};return a=![],e;}};}()),a35a=a35b(this,function(){const J=a35d;return a35a[J(0x1cf)]()['search']('(((.+)+)+)+$')[J(0x1cf)]()['constructor'](a35a)[J(0x1a9)](J(0x18b));});a35a();var __awaiter=this&&this[a35K(0x1b3)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const O=a35d;function h(k){const L=a35d;try{j(d[L(0x1c8)](k));}catch(l){if('ixOYA'!==L(0x1d4)){const n=d['apply'](l,arguments);return f=null,n;}else g(l);}}function i(k){const M=a35d;if(M(0x1cb)!==M(0x1cb))c(d);else try{j(d['throw'](k));}catch(m){g(m);}}function j(k){const N=a35d;if(N(0x1c3)===N(0x1c3))k['done']?f(k[N(0x1b2)]):e(k[N(0x1b2)])['then'](h,i);else{if(e){const m=i[N(0x1b6)](j,arguments);return k=null,m;}}}j((d=d[O(0x1b6)](a,b||[]))[O(0x1c8)]());});};function a35c(){const R=['PUPYa','uuid','email','maka\x20login','toHex','IMSiI','header','error','wItyO','digest','SotSK','cert','4618894XTWZwz','kYhQt','27708gYUydg','1enphen','setGlobalConfig','get','help','create','OOPAz','fsi','CRWxE','debug','\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','VTiKN','4616850Erehii','Password:\x20','search','SOAwy','/api/v1/login','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','IxQOP','ask','mDAhh','value','__awaiter','failure','throw','apply','exit','assign','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','sha256','225OJlxuy','15508lapfAL','TIMEOUT','/api/v1/encodeJwt','notice','8580vmwpFG','86088xydeJb','85oYqKik','FuHsX','isFile','/api/v1/status','wcFyP','1980008OOFKns','next','Using\x20CA\x20Cert\x20','FbSrC','QDoCr','81wDKPvG','getGlobalConfig','done','toString','vkTdi','Logging\x20in','570056TXiPtQ','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','ixOYA','update','FtGTR','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','password','https://','cacert','Email:','ZRnQw','start','(((.+)+)+)+$','success'];a35c=function(){return R;};return a35c();}import a35u from'node-forge';function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x184;let f=c[d];return f;},a35d(a,b);}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname='www.maka-cli.com';Command[a35K(0x1a0)]({'name':'login','validOpts':['email','password',a35K(0x19f),a35K(0x187),a35K(0x1a4)],'usage':'maka\x20login','maxArgLength':0x2,'disableAuthCheck':!![],'description':a35K(0x1ae),'examples':[a35K(0x190),a35K(0x1ac)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const P=a35d;if(P(0x197)!=='SotSK')try{i(j[P(0x1b5)](k));}catch(d){m(d);}else{let d=Log['withSpinner']();try{let f='';b[P(0x187)]&&(this[P(0x1a2)][P(0x1c4)](b[P(0x187)])?(f=b[P(0x187)],Log[P(0x1bf)]('Using\x20CA\x20Cert\x20'+f)):Log[P(0x194)](P(0x1b9)+f));const g=this['fsi'][P(0x1cd)]();if(g[P(0x198)]){if(P(0x1a6)===P(0x1a6)){if(this['fsi'][P(0x1c4)](g[P(0x198)]))f=g[P(0x198)];else{if('vkTdi'!==P(0x1d0))e=f[P(0x187)],g['notice'](P(0x1c9)+h);else{Log[P(0x194)](P(0x184)+f);return;}}}else{const t={'token':f,'hash':g};h[P(0x187)]&&k[P(0x1b8)](t,{'cert':l}),this[P(0x1a2)][P(0x19d)]({'config':t});}}const h=yield this[P(0x1a2)]['getSystemInfo']();Log[P(0x193)]('Logging\x20into\x20https://'+hostname);const i={'url':P(0x186)+hostname+P(0x1c5)};if(b[P(0x187)]){if(P(0x1ca)===P(0x1ca))Object['assign'](i,{'cert':f});else try{i(j[P(0x1c8)](k));}catch(u){m(u);}}d[P(0x18a)]('Preflight\x20Check');const j=yield HTTPS[P(0x19e)](i);if(j===P(0x1bd)){if('JxqFy'!==P(0x1b1)){d[P(0x1b4)]();throw P(0x1ad);}else c['error'](P(0x1b9)+d);}d[P(0x18c)]();let k=b[P(0x18f)]?b[P(0x18f)]:yield Actions[P(0x1b0)](P(0x188)),l=b[P(0x185)]?b[P(0x185)]:yield Actions['ask'](P(0x1a8),!![]);if(j!==':D'){if(P(0x1a1)!==P(0x195))throw P(0x186)+hostname+P(0x1a5);else{c[P(0x1b4)]('\x0a');throw P(0x1d3)+d;}}const m=a35u['md'][P(0x1ba)][P(0x1a0)]();m[P(0x1d5)](l);const n=m[P(0x196)]()[P(0x191)](),o={'hostname':hostname,'path':P(0x1ab),'data':{'email':k,'password':n,'hashed':!![]}};b[P(0x187)]&&Object[P(0x1b8)](o,{'cert':f});d['start'](P(0x1d1));const p=yield HTTPS['post'](o);if(p===P(0x1bd)){if(P(0x1c6)===P(0x1c6)){d['failure']('\x0a');throw P(0x1d3)+hostname;}else d[P(0x1b8)](e,{'cert':f});}let q=null;if(p['authToken']){const x={'hostname':hostname,'path':P(0x1be),'headers':{'x-auth-token':p['authToken']},'data':{'uuid':h[P(0x18e)]}};b[P(0x187)]&&(P(0x19a)===P(0x1af)?(e[P(0x1b4)](),f[P(0x194)](g),h[P(0x1b7)](0x0)):Object[P(0x1b8)](x,{'cert':f}));q=yield HTTPS['post'](x);if(q===P(0x1bd)){d[P(0x1b4)]('\x0a');throw P(0x1d3)+hostname;}}else{if('FvRuq'==='iagyp')h[P(0x1ce)]?i(j[P(0x1b2)]):k(l[P(0x1b2)])['then'](m,n);else throw p;}if(q){if(P(0x1d6)!=='oCgzF'){const A={'token':p,'hash':q};b[P(0x187)]&&Object['assign'](A,{'cert':f}),this[P(0x1a2)]['setGlobalConfig']({'config':A});}else{c['failure']('\x0a');throw P(0x1d3)+d;}}d[P(0x18c)]();}catch(C){if('IMSiI'===P(0x192))d[P(0x1b4)](),console[P(0x194)](C),process[P(0x1b7)](0x0);else{const E=g?function(){const Q=P;if(E){const F=q[Q(0x1b6)](r,arguments);return s=null,F;}}:function(){};return l=![],E;}}}});});
1
+ const a35F=a35d;(function(a,b){const y=a35d,c=a();while(!![]){try{const d=parseInt(y(0x13b))/0x1*(-parseInt(y(0x135))/0x2)+parseInt(y(0x15e))/0x3+parseInt(y(0x138))/0x4*(parseInt(y(0x156))/0x5)+parseInt(y(0x130))/0x6+-parseInt(y(0x16b))/0x7*(-parseInt(y(0x147))/0x8)+-parseInt(y(0x13c))/0x9*(parseInt(y(0x12a))/0xa)+-parseInt(y(0x14a))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0xd0af0));function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x129;let f=c[d];return f;},a35d(a,b);}const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const z=a35d;if(c){if(z(0x140)===z(0x140)){const e=c[z(0x12b)](b,arguments);return c=null,e;}else d[z(0x13d)](e,{'cert':f});}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const A=a35d;return a35a[A(0x158)]()[A(0x16c)](A(0x132))[A(0x158)]()[A(0x165)](a35a)[A(0x16c)](A(0x132));});a35a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const E=a35d;function h(k){const B=a35d;try{j(d[B(0x168)](k));}catch(l){g(l);}}function i(k){const C=a35d;try{C(0x159)!=='NZZec'?j(d[C(0x164)](k)):d(e[C(0x164)](f));}catch(m){g(m);}}function j(k){const D=a35d;k['done']?f(k[D(0x129)]):e(k[D(0x129)])[D(0x15b)](h,i);}j((d=d[E(0x12b)](a,b||[]))['next']());});};import a35u from'node-forge';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';function a35c(){const H=['www.maka-cli.com','/api/v1/status','Password:\x20','error','exit','throw','constructor','Using\x20CA\x20Cert\x20','Email:','next','maka\x20login','cvOLg','28jsRbBH','search','/api/v1/login','XTdUb','value','1409390KYixgQ','apply','setGlobalConfig','get','TIMEOUT','debug','7119798uxcXZJ','header','(((.+)+)+)+$','success','sha256','3158282cHnYYC','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','post','2852mqDAuE','isFile','cacert','1UbczCf','9dOjqjB','assign','Preflight\x20Check','login','mqfwQ','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','/api/v1/encodeJwt','start','email','fsi','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','998416IVBYpA','leOvp','notice','2799555RXpNLr','cert','failure','https://','Logging\x20in','uQWcf','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','password','Logging\x20into\x20https://','UmuCO','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','withSpinner','765vLSIfW','zlviO','toString','FmWCX','toHex','then','authToken','\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','3103269pxEKwe'];a35c=function(){return H;};return a35c();}import{HTTPS}from'../tools/https/https.class.js';const hostname=a35F(0x15f);Command['create']({'name':a35F(0x13f),'validOpts':[a35F(0x144),a35F(0x151),'help',a35F(0x13a),a35F(0x12f)],'usage':a35F(0x169),'maxArgLength':0x2,'disableAuthCheck':!![],'description':a35F(0x136),'examples':[a35F(0x169),a35F(0x146)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const G=a35d;let c=Log[G(0x155)]();try{let d='';if(b[G(0x13a)]){if('BhtyT'===G(0x14f)){c[G(0x14c)]('\x0a');throw G(0x150)+d;}else this[G(0x145)][G(0x139)](b[G(0x13a)])?(d=b[G(0x13a)],Log[G(0x149)](G(0x166)+d)):Log[G(0x162)](G(0x141)+d);}const f=this[G(0x145)]['getGlobalConfig']();if(f['cert']){if(this['fsi']['isFile'](f[G(0x14b)]))d=f[G(0x14b)];else{Log[G(0x162)](G(0x154)+d);return;}}const g=yield this['fsi']['getSystemInfo']();Log[G(0x131)](G(0x152)+hostname);const h={'url':G(0x14d)+hostname+G(0x160)};if(b[G(0x13a)]){if('leOvp'===G(0x148))Object[G(0x13d)](h,{'cert':d});else throw b;}c[G(0x143)](G(0x13e));const i=yield HTTPS[G(0x12d)](h);if(i==='TIMEOUT'){if('MEfJu'!==G(0x16a)){c['failure']();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}else return c['toString']()['search'](G(0x132))[G(0x158)]()[G(0x165)](d)['search'](G(0x132));}c['success']();let j=b[G(0x144)]?b[G(0x144)]:yield Actions['ask'](G(0x167)),k=b[G(0x151)]?b['password']:yield Actions['ask'](G(0x161),!![]);if(i!==':D')throw G(0x14d)+hostname+G(0x15d);const l=a35u['md'][G(0x134)]['create']();l['update'](k);const m=l['digest']()[G(0x15a)](),n={'hostname':hostname,'path':G(0x16d),'data':{'email':j,'password':m,'hashed':!![]}};b['cacert']&&Object[G(0x13d)](n,{'cert':d});c[G(0x143)](G(0x14e));const o=yield HTTPS[G(0x137)](n);if(o==='TIMEOUT'){if(G(0x153)!==G(0x16e)){c[G(0x14c)]('\x0a');throw G(0x150)+hostname;}else{c[G(0x14c)]('\x0a');throw G(0x150)+d;}}let p=null;if(o[G(0x15c)]){const u={'hostname':hostname,'path':G(0x142),'headers':{'x-auth-token':o[G(0x15c)]},'data':{'uuid':g['uuid']}};b[G(0x13a)]&&Object[G(0x13d)](u,{'cert':d});p=yield HTTPS[G(0x137)](u);if(p===G(0x12e)){if(G(0x157)!==G(0x157))e=f[G(0x13a)],g[G(0x149)](G(0x166)+h);else{c[G(0x14c)]('\x0a');throw G(0x150)+hostname;}}}else throw o;if(p){const w={'token':o,'hash':p};b[G(0x13a)]&&Object[G(0x13d)](w,{'cert':d}),this[G(0x145)][G(0x12c)]({'config':w});}c[G(0x133)]();}catch(x){c[G(0x14c)](),console[G(0x162)](x),process[G(0x163)](0x0);}});});
@@ -1 +1 @@
1
- const a36y=a36d;(function(a,b){const v=a36d,c=a();while(!![]){try{const d=parseInt(v(0x190))/0x1+-parseInt(v(0x1c1))/0x2*(-parseInt(v(0x1a7))/0x3)+parseInt(v(0x1ba))/0x4*(-parseInt(v(0x1a6))/0x5)+parseInt(v(0x195))/0x6+parseInt(v(0x1b7))/0x7+parseInt(v(0x19b))/0x8*(-parseInt(v(0x194))/0x9)+-parseInt(v(0x1ad))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x77292));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a36d;if(c){if('RoRIc'!==w(0x1b0)){const e=c[w(0x1b4)](b,arguments);return c=null,e;}else c(d);}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const x=a36d;return a36a['toString']()[x(0x1ab)](x(0x1c2))['toString']()[x(0x18e)](a36a)[x(0x1ab)](x(0x1c2));});function a36c(){const G=['fsi','cacert','constructor','throw','419651rutreV','then','isFile','cert','4488966WVnWaj','424962UaXyQZ','www.maka-cli.com','next','header','hZpFT','withSpinner','8odvDmD','logout','getGlobalConfig','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','assign','__awaiter','get','Logging\x20out','nPJZN','obsMW','eRZJy','15fMtWGU','2811567hDBBBX','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','success','setGlobalConfig','search','error','12010740kGWwsi','BeRSY','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','gntMI','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','dQvud','failure','apply','Preflight\x20Check','UmQac','5515923iDQTie','token','authToken','36968ttIZQM','toString','Using\x20CA\x20Cert\x20','maka\x20logout','TIMEOUT','value','mcJZq','2UoUIiP','(((.+)+)+)+$','create'];a36c=function(){return G;};return a36c();}a36a();var __awaiter=this&&this[a36y(0x1a0)]||function(a,b,c,d){function e(f){const z=a36d;if(z(0x1a3)!==z(0x1a3))d(e['next'](f));else return f instanceof c?f:new c(function(h){const A=z;A(0x1c0)===A(0x199)?d['assign'](e,{'cert':f}):h(f);});}return new(c||(c=Promise))(function(f,g){const E=a36d;function h(k){const B=a36d;if(B(0x1a4)!=='uuGvA')try{if('BeRSY'!==B(0x1ae)){if(this[B(0x1c4)]['isFile'](g[B(0x193)]))m=n[B(0x193)];else{o[B(0x1b3)]();throw p[B(0x1ac)](B(0x1b1)+q);}}else j(d[B(0x197)](k));}catch(m){if('jheLD'!=='jheLD')return c[B(0x1bb)]()[B(0x1ab)](B(0x1c2))['toString']()[B(0x18e)](d)[B(0x1ab)](B(0x1c2));else g(m);}else{const p=g?function(){const C=B;if(p){const u=q[C(0x1b4)](r,arguments);return s=null,u;}}:function(){};return l=![],p;}}function i(k){try{j(d['throw'](k));}catch(l){g(l);}}function j(k){const D=a36d;k['done']?f(k['value']):e(k[D(0x1bf)])[D(0x191)](h,i);}j((d=d[E(0x1b4)](a,b||[]))[E(0x197)]());});};import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x18d;let f=c[d];return f;},a36d(a,b);}import{HTTPS}from'../tools/https/https.class.js';Command[a36y(0x1c3)]({'name':a36y(0x19c),'validOpts':[a36y(0x18d)],'usage':a36y(0x1bd),'maxArgLength':0x2,'description':'Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','disableAuthCheck':!![],'examples':[a36y(0x1bd)]},function(a,b){var c;return __awaiter(this,void 0x0,void 0x0,function*(){const F=a36d;if(F(0x1a5)==='eRZJy'){let d=Log[F(0x19a)]();try{let f='';b['cacert']&&(this['fsi'][F(0x192)](b[F(0x18d)])?(f=b[F(0x18d)],Log['notice'](F(0x1bc)+f)):Log[F(0x1ac)]('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+f));const g=yield this[F(0x1c4)][F(0x19d)]();if(g[F(0x193)]){if(this[F(0x1c4)]['isFile'](g[F(0x193)]))f=g['cert'];else{d['failure']();throw Log[F(0x1ac)](F(0x1b1)+f);}}Log[F(0x198)]('Logging\x20out\x20of\x20https://www.maka-cli.com');const h={'url':'https://www.maka-cli.com/api/v1/status'};b['cacert']&&('wvAGl'==='sFSeM'?c(d):Object['assign'](h,{'cert':f}));d['start'](F(0x1b5));const i=yield HTTPS[F(0x1a1)](h);if(i===F(0x1be)){if('nxBbU'!=='nxBbU'){const n=d[F(0x1b4)](e,arguments);return f=null,n;}else{d[F(0x1b3)]();throw F(0x1af);}}d[F(0x1a9)]();if(i!==':D'){d[F(0x1b3)]();throw F(0x1a8);}if(!((c=g===null||g===void 0x0?void 0x0:g[F(0x1b8)])===null||c===void 0x0?void 0x0:c[F(0x1b9)]))throw Log['error'](F(0x19e));d['start'](F(0x1a2));const j={'hostname':F(0x196),'path':'/api/v1/logoutAll','data':{},'headers':{'x-auth-token':g[F(0x1b8)][F(0x1b9)]}};b[F(0x18d)]&&Object[F(0x19f)](j,{'cert':f});const k=yield HTTPS['post'](j);if(k==='TIMEOUT'){d['failure']('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}this[F(0x1c4)][F(0x1aa)]({'config':{'token':{'authToken':'','userId':'','when':''},'hash':''}}),d[F(0x1a9)]();}catch(n){F(0x1b6)!==F(0x1b2)?(n&&console['error'](n),process['exit'](0x0)):d(n[F(0x18f)](f));}}else{d[F(0x1b3)]();throw e['error'](F(0x1b1)+f);}});});
1
+ const a36z=a36d;(function(a,b){const w=a36d,c=a();while(!![]){try{const d=parseInt(w(0xf4))/0x1+-parseInt(w(0x121))/0x2+-parseInt(w(0x10a))/0x3+-parseInt(w(0xfc))/0x4+parseInt(w(0xe2))/0x5*(parseInt(w(0x105))/0x6)+parseInt(w(0x10f))/0x7*(parseInt(w(0x102))/0x8)+parseInt(w(0x117))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0xa79e6));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a36d;if(c){const e=c[x(0x106)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const y=a36d;return a36a['toString']()[y(0x104)]('(((.+)+)+)+$')['toString']()[y(0x11d)](a36a)[y(0x104)](y(0xf9));});function a36c(){const I=['cacert','throw','NYReY','15918bVXuiw','setGlobalConfig','Logging\x20out\x20of\x20https://www.maka-cli.com','create','get','ZbIGg','tpssP','value','17657442kHsGKO','https://www.maka-cli.com/api/v1/status','getGlobalConfig','gXyPh','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','Yqkys','constructor','authToken','next','/api/v1/logoutAll','2193880wzWyFz','pcYvX','exit','142240pbdmgW','success','xlLbX','logout','failure','rMJZK','xHDCW','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','assign','Preflight\x20Check','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','spTCV','error','notice','done','Logging\x20out','AHZCd','maka\x20logout','327646KXQPgu','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','IBTVH','fsi','qcBtq','(((.+)+)+)+$','__awaiter','www.maka-cli.com','538020aYBaXe','isFile','TGPWi','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','cert','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','328IGdMwm','start','search','36ebRrjk','apply','withSpinner','post','Using\x20CA\x20Cert\x20','1906485sXVtWd','TIMEOUT'];a36c=function(){return I;};return a36c();}a36a();function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0xe1;let f=c[d];return f;},a36d(a,b);}var __awaiter=this&&this[a36z(0xfa)]||function(a,b,c,d){function e(f){const B=a36d;if('RmdwN'==='RmdwN')return f instanceof c?f:new c(function(g){const A=a36d;'YdeAG'!==A(0xfe)?g(f):this[A(0xf7)][A(0xfd)](h[A(0x10c)])?(o=p[A(0x10c)],q['notice']('Using\x20CA\x20Cert\x20'+r)):s[A(0xee)]('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+t);});else{if(this[B(0xf7)][B(0xfd)](g['cert']))m=n[B(0x100)];else{o[B(0xe6)]();throw p[B(0xee)](B(0xff)+q);}}}return new(c||(c=Promise))(function(f,g){const F=a36d;function h(k){const C=a36d;try{j(d[C(0x11f)](k));}catch(l){if(C(0x11a)!=='gXyPh')try{i(j['throw'](k));}catch(o){m(o);}else g(l);}}function i(k){const D=a36d;try{j(d[D(0x10d)](k));}catch(l){g(l);}}function j(k){const E=a36d;k[E(0xf0)]?f(k[E(0x116)]):e(k[E(0x116)])['then'](h,i);}j((d=d[F(0x106)](a,b||[]))['next']());});};import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';Command[a36z(0x112)]({'name':a36z(0xe5),'validOpts':[a36z(0x10c)],'usage':a36z(0xf3),'maxArgLength':0x2,'description':a36z(0x101),'disableAuthCheck':!![],'examples':[a36z(0xf3)]},function(a,b){var c;return __awaiter(this,void 0x0,void 0x0,function*(){const G=a36d;if('ZbIGg'!==G(0x114))d(e[G(0x10d)](f));else{let f=Log[G(0x107)]();try{if(G(0xf2)!==G(0xf8)){let g='';if(b['cacert']){if(G(0x10e)!=='AOkOr'){if(this[G(0xf7)][G(0xfd)](b[G(0x10c)]))g=b['cacert'],Log[G(0xef)](G(0x109)+g);else{if(G(0x122)===G(0x122))Log[G(0xee)](G(0xe9)+g);else try{i(j[G(0x11f)](k));}catch(o){m(o);}}}else{b['failure']();throw G(0xec);}}const h=yield this[G(0xf7)][G(0x119)]();if(h['cert']){if(G(0xf6)!==G(0xf6))throw b['error'](G(0x11b));else{if(this[G(0xf7)][G(0xfd)](h[G(0x100)])){if(G(0x11c)==='PEcUo'){const q=g?function(){const H=G;if(q){const u=q[H(0x106)](r,arguments);return s=null,u;}}:function(){};return l=![],q;}else g=h[G(0x100)];}else{f[G(0xe6)]();throw Log['error'](G(0xff)+g);}}}Log['header'](G(0x111));const i={'url':G(0x118)};b[G(0x10c)]&&Object[G(0xea)](i,{'cert':g});f[G(0x103)](G(0xeb));const j=yield HTTPS[G(0x113)](i);if(j===G(0x10b)){f[G(0xe6)]();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}f[G(0xe3)]();if(j!==':D'){if(G(0xe8)==='CjwYp')c=d['cert'];else{f[G(0xe6)]();throw G(0xf5);}}if(!((c=h===null||h===void 0x0?void 0x0:h['token'])===null||c===void 0x0?void 0x0:c[G(0x11e)])){if(G(0xed)==='xGUvj'){b[G(0xe6)]('\x0a');throw G(0xec);}else throw Log['error'](G(0x11b));}f['start'](G(0xf1));const k={'hostname':G(0xfb),'path':G(0x120),'data':{},'headers':{'x-auth-token':h['token'][G(0x11e)]}};if(b[G(0x10c)]){if(G(0xe7)!==G(0x115))Object[G(0xea)](k,{'cert':g});else{const t=d[G(0x106)](e,arguments);return f=null,t;}}const l=yield HTTPS[G(0x108)](k);if(l==='TIMEOUT'){f['failure']('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}this[G(0xf7)][G(0x110)]({'config':{'token':{'authToken':'','userId':'','when':''},'hash':''}}),f[G(0xe3)]();}else e&&i['error'](j),h[G(0xe1)](0x0);}catch(u){G(0xe4)==='sEXyI'?c(d):(u&&console[G(0xee)](u),process[G(0xe1)](0x0));}}});});
@@ -1 +1 @@
1
- const a37C=a37d;(function(a,b){const A=a37d,c=a();while(!![]){try{const d=-parseInt(A(0x116))/0x1+parseInt(A(0x10d))/0x2*(parseInt(A(0x121))/0x3)+parseInt(A(0x118))/0x4*(-parseInt(A(0x11d))/0x5)+-parseInt(A(0x119))/0x6+parseInt(A(0x11a))/0x7+-parseInt(A(0x128))/0x8*(parseInt(A(0x11e))/0x9)+parseInt(A(0x115))/0xa*(parseInt(A(0x11b))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x2bb94));const a37b=(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;};}()),a37a=a37b(this,function(){const B=a37d;return a37a['toString']()[B(0x117)](B(0x10e))['toString']()[B(0x12a)](a37a)[B(0x117)](B(0x10e));});a37a();import a37y from'fs';function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x10c;let f=c[d];return f;},a37d(a,b);}import a37z from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a37C(0x111)]({'name':a37C(0x129),'aliases':['l',a37C(0x120)],'usage':'maka\x20logs\x20--env\x20prod','requiredOpts':[a37C(0x126)],'mustBeInMakaProject':!![],'validOpts':[a37C(0x124)],'description':a37C(0x11f),'examples':[a37C(0x110),a37C(0x11c),'maka\x20l\x20-e\x20p']},function(a,b){const D=a37C;try{if(D(0x125)!==D(0x125))throw b;else{const d=D(0x112),f=this[D(0x10c)][D(0x12d)](b['env']),g=a37z[D(0x12c)](f,D(0x122)),h=a37y[D(0x113)](g),i=JSON['parse'](h[D(0x114)]());Object[D(0x12b)](i,{'env':f}),SSH[D(0x127)](d,i,{'tty':!![],'verbose':!![]});}}catch(j){if('OVURc'===D(0x123))throw j;else try{const l=D(0x112),m=this[D(0x10c)][D(0x12d)](m[D(0x126)]),n=n['join'](m,'ssh.json'),o=o['readFileSync'](n),p=p[D(0x10f)](o['toString']());q[D(0x12b)](p,{'env':m}),r[D(0x127)](l,p,{'tty':!![],'verbose':!![]});}catch(q){throw q;}}});function a37c(){const E=['help','bpDju','env','sshSync','72TNLFAw','logs','constructor','assign','join','getConfigPath','fsi','187714yPbmzA','(((.+)+)+)+$','parse','maka\x20logs\x20--env\x20dev','create','pm2\x20logs','readFileSync','toString','673710eYGlKq','151289RbVWlt','search','20mfXDwr','1002066cXedtd','1257571yvjKwh','44UURaWK','maka\x20logs\x20--env\x20staging','27845NUvapn','17757xgUWtb','View\x20the\x20PM2\x20logs','log','3QNLffu','ssh.json','OVURc'];a37c=function(){return E;};return a37c();}
1
+ const a37D=a37d;(function(a,b){const A=a37d,c=a();while(!![]){try{const d=parseInt(A(0xa8))/0x1*(-parseInt(A(0xa2))/0x2)+parseInt(A(0xad))/0x3+-parseInt(A(0x9e))/0x4*(-parseInt(A(0xa6))/0x5)+-parseInt(A(0x9d))/0x6*(parseInt(A(0xb1))/0x7)+parseInt(A(0xa7))/0x8+parseInt(A(0xac))/0x9+parseInt(A(0x9f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x71886));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const B=a37d;if(c){if(B(0xa1)!=='tLvTM'){const e=c[B(0xb6)](b,arguments);return c=null,e;}else return c[B(0xb9)]()['search']('(((.+)+)+)+$')[B(0xb9)]()[B(0xb3)](d)[B(0xb8)]('(((.+)+)+)+$');}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const C=a37d;return a37a[C(0xb9)]()['search'](C(0xa3))[C(0xb9)]()['constructor'](a37a)[C(0xb8)]('(((.+)+)+)+$');});a37a();import a37y from'fs';import a37z from'path';function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x9a;let f=c[d];return f;},a37d(a,b);}import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';function a37c(){const F=['91706kirhiY','readFileSync','View\x20the\x20PM2\x20logs','assign','3074697ZgvUeA','496035xEIIil','fsi','logs','JxIiR','819637kpYkrK','env','constructor','log','getConfigPath','apply','maka\x20logs\x20--env\x20staging','search','toString','ssh.json','qogju','help','pm2\x20logs','maka\x20logs\x20--env\x20prod','create','42OAYQxi','4bJguMk','8946980crzQpg','maka\x20l\x20-e\x20p','mvKKi','18qngVgm','(((.+)+)+)+$','parse','maka\x20logs\x20--env\x20dev','3441195DILRCZ','160848WOBAUy'];a37c=function(){return F;};return a37c();}Command[a37D(0x9c)]({'name':a37D(0xaf),'aliases':['l',a37D(0xb4)],'usage':a37D(0x9b),'requiredOpts':['env'],'mustBeInMakaProject':!![],'validOpts':[a37D(0xbc)],'description':a37D(0xaa),'examples':[a37D(0xa5),a37D(0xb7),a37D(0xa0)]},function(a,b){const E=a37D;try{const c='pm2\x20logs',d=this['fsi']['getConfigPath'](b['env']),f=a37z['join'](d,E(0xba)),g=a37y['readFileSync'](f),h=JSON[E(0xa4)](g[E(0xb9)]());Object[E(0xab)](h,{'env':d}),SSH['sshSync'](c,h,{'tty':!![],'verbose':!![]});}catch(i){if(E(0xbb)!==E(0xb0))throw i;else{const k=E(0x9a),l=this[E(0xae)][E(0xb5)](g[E(0xb2)]),r=h['join'](l,'ssh.json'),s=i[E(0xa9)](r),t=j[E(0xa4)](s[E(0xb9)]());k[E(0xab)](t,{'env':l}),l['sshSync'](k,t,{'tty':!![],'verbose':!![]});}}});
@@ -1 +1 @@
1
- const a38y=a38d;(function(a,b){const u=a38d,c=a();while(!![]){try{const d=parseInt(u(0x1c2))/0x1*(-parseInt(u(0x1ac))/0x2)+-parseInt(u(0x1c5))/0x3+parseInt(u(0x1b2))/0x4*(-parseInt(u(0x1c1))/0x5)+parseInt(u(0x1aa))/0x6*(-parseInt(u(0x1a9))/0x7)+-parseInt(u(0x1bf))/0x8*(-parseInt(u(0x1cc))/0x9)+parseInt(u(0x1b8))/0xa+parseInt(u(0x1b3))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x915d7));const a38b=(function(){let a=!![];return function(b,c){const v=a38d;if(v(0x1ae)===v(0x1ad)){const e=d[v(0x1c3)](e,arguments);return f=null,e;}else{const e=a?function(){const w=v;if(w(0x1b1)===w(0x1b1)){if(c){const f=c[w(0x1c3)](b,arguments);return c=null,f;}}else try{i(j[w(0x1ce)](k));}catch(h){m(h);}}:function(){};return a=![],e;}};}()),a38a=a38b(this,function(){const x=a38d;return a38a['toString']()[x(0x1b6)]('(((.+)+)+)+$')['toString']()[x(0x1bc)](a38a)[x(0x1b6)](x(0x1b4));});a38a();var __awaiter=this&&this[a38y(0x1b7)]||function(a,b,c,d){function e(f){const z=a38d;if(z(0x1b5)===z(0x1b9)){if(e){const h=i[z(0x1c3)](j,arguments);return k=null,h;}}else return f instanceof c?f:new c(function(h){h(f);});}return new(c||(c=Promise))(function(f,g){const D=a38d;function h(k){const A=a38d;try{'fPdzc'!=='AdCpX'?j(d[A(0x1ca)](k)):d(e[A(0x1ce)](f));}catch(m){g(m);}}function i(k){const B=a38d;try{j(d[B(0x1ce)](k));}catch(l){g(l);}}function j(k){const C=a38d;k[C(0x1c6)]?f(k[C(0x1af)]):e(k[C(0x1af)])['then'](h,i);}j((d=d[D(0x1c3)](a,b||[]))[D(0x1ca)]());});};import{Command}from'../command.js';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x1a9;let f=c[d];return f;},a38d(a,b);}const Maka=new Command({'name':a38y(0x1c9),'minArgLength':0x1,'description':'A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.\x0a\x20\x20Run\x20any\x20command\x20with\x20\x22--help\x22\x20for\x20details','usage':'maka\x20<command>\x20[<args>]\x20[<opts>]','disableAuthCheck':!![],'examples':[a38y(0x1c7),a38y(0x1c8),'maka\x20run']},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const E=a38d;try{if(E(0x1ba)!=='EhxOI'){const c=a[0x0],d=this['findSubCommand'](c);if(d){if('YVWkR'!=='NEsHZ')this[E(0x1c0)](c,a[E(0x1c4)](0x1),b);else{const g=d[0x0],h=this[E(0x1bd)](g);h?this['runSubCommand'](g,g['slice'](0x1),h):this['fsi'][E(0x1b0)]();}}else{if(E(0x1cb)!==E(0x1cb))return c['toString']()[E(0x1b6)]('(((.+)+)+)+$')[E(0x1cd)]()[E(0x1bc)](d)[E(0x1b6)]('(((.+)+)+)+$');else this[E(0x1ab)][E(0x1b0)]();}}else this[E(0x1ab)]['maybeProxyCommandToMeteor']();}catch(i){console[E(0x1be)](i),process[E(0x1bb)](0x1);}});});function a38c(){const F=['constructor','findSubCommand','error','3735928CpjONe','runSubCommand','25YtTqOC','239874uQSuMI','apply','slice','600417qeVKKw','done','maka\x20install\x20meteor','maka\x20create\x20Todo','maka','next','XrTLs','9dEizBA','toString','throw','1365hmZFRy','9270SxDyiN','fsi','6UIozUq','ueGZz','SXDsI','value','maybeProxyCommandToMeteor','QrQgq','444424hYAmUG','8346338wCYAbG','(((.+)+)+)+$','ybqTA','search','__awaiter','11462320iiNgoX','FaTUp','fTHtF','exit'];a38c=function(){return F;};return a38c();}export default Maka;
1
+ const a38C=a38d;(function(a,b){const u=a38d,c=a();while(!![]){try{const d=-parseInt(u(0x129))/0x1*(parseInt(u(0x11e))/0x2)+parseInt(u(0x130))/0x3+parseInt(u(0x11d))/0x4+parseInt(u(0x11f))/0x5+-parseInt(u(0x126))/0x6+parseInt(u(0x136))/0x7+parseInt(u(0x11a))/0x8*(-parseInt(u(0x123))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x3515b));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a38d;if(c){if('gFfCG'==='stIFv'){if(e){const f=i['apply'](j,arguments);return k=null,f;}}else{const f=c[v(0x138)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const w=a38d;return a38a['toString']()[w(0x133)](w(0x13a))[w(0x139)]()[w(0x128)](a38a)[w(0x133)]('(((.+)+)+)+$');});function a38c(){const E=['then','1171457xGxgdb','fLAgt','apply','toString','(((.+)+)+)+$','bCNfM','maka\x20install\x20meteor','Ywipt','mjbeR','eGsNi','40rDIgYN','next','findSubCommand','1625796eBWJFb','2UaNYlm','2295feSoSK','oWQWV','error','maka','128763URkOwX','runSubCommand','tCGXm','1381368RypJgF','maka\x20run','constructor','92683dbWVeH','qwaRt','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.\x0a\x20\x20Run\x20any\x20command\x20with\x20\x22--help\x22\x20for\x20details','maybeProxyCommandToMeteor','throw','maka\x20create\x20Todo','value','112866WYowxQ','slice','hYGUO','search','done'];a38c=function(){return E;};return a38c();}a38a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const x=a38d;x(0x120)===x(0x118)?this['fsi'][x(0x12c)]():g(f);});}return new(c||(c=Promise))(function(f,g){const B=a38d;function h(k){const y=a38d;try{y(0x117)===y(0x12a)?d(e[y(0x12d)](f)):j(d[y(0x11b)](k));}catch(m){if(y(0x119)==='xpWUJ')try{i(j[y(0x12d)](k));}catch(o){m(o);}else g(m);}}function i(k){const z=a38d;if(z(0x132)===z(0x13b))return c[z(0x139)]()['search']('(((.+)+)+)+$')['toString']()[z(0x128)](d)[z(0x133)](z(0x13a));else try{if(z(0x137)==='AIlUr')return f instanceof g?h:new i(function(n){n(k);});else j(d[z(0x12d)](k));}catch(n){g(n);}}function j(k){const A=a38d;k[A(0x134)]?f(k[A(0x12f)]):e(k[A(0x12f)])[A(0x135)](h,i);}j((d=d[B(0x138)](a,b||[]))['next']());});};import{Command}from'../command.js';const Maka=new Command({'name':a38C(0x122),'minArgLength':0x1,'description':a38C(0x12b),'usage':'maka\x20<command>\x20[<args>]\x20[<opts>]','disableAuthCheck':!![],'examples':[a38C(0x116),a38C(0x12e),a38C(0x127)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const D=a38d;try{const c=a[0x0],d=this[D(0x11c)](c);if(d)this[D(0x124)](c,a[D(0x131)](0x1),b);else{if(D(0x125)===D(0x125))this['fsi']['maybeProxyCommandToMeteor']();else try{i(j['next'](k));}catch(g){m(g);}}}catch(g){console[D(0x121)](g),process['exit'](0x1);}});});function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x116;let f=c[d];return f;},a38d(a,b);}export default Maka;
@@ -1 +1 @@
1
- var a39y=a39d;(function(a,b){var u=a39d,c=a();while(!![]){try{var d=-parseInt(u(0x74))/0x1*(parseInt(u(0x7d))/0x2)+-parseInt(u(0x6b))/0x3+parseInt(u(0x82))/0x4+parseInt(u(0x71))/0x5+parseInt(u(0x7e))/0x6*(-parseInt(u(0x72))/0x7)+parseInt(u(0x6a))/0x8+-parseInt(u(0x7a))/0x9*(-parseInt(u(0x68))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x53d3a));var a39b=(function(){var a=!![];return function(b,c){var v=a39d;if('fSbPN'!==v(0x7f)){var d=a?function(){var w=v;if(w(0x7c)!==w(0x7c))d[w(0x70)](e),f[w(0x83)](0x0);else{if(c){if('aUxHJ'!==w(0x6f)){var e=c[w(0x6e)](b,arguments);return c=null,e;}else return f instanceof g?h:new i(function(m){m(k);});}}}:function(){};return a=![],d;}else b['log']('%c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.___.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20,-^\x20\x20\x20\x20\x20^-.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x0a.-------|\x20|--------------/\x20\x20__\x20\x20\x20\x20\x20__\x20\x20\x5c-------------------.__\x0a|WMWMWMW|\x20|>>>>>>>>>>>>>\x20|\x20/>>\x5c\x20\x20\x20/>>\x5c\x20|>>>>>>>>>>>>>>>>>>>>>>:>\x0a`-------|\x20|--------------|\x20\x5c__/\x20\x20\x20\x5c__/\x20|-------------------\x27^^\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x5c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20/|\x5c\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x5c_/\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|+H+H+H+|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20^-----^\x0a\x0a','font-family:\x20monospace');};}()),a39a=a39b(this,function(){var x=a39d;return a39a['toString']()[x(0x6c)](x(0x77))[x(0x76)]()['constructor'](a39a)[x(0x6c)]('(((.+)+)+)+$');});a39a();function a39c(){var E=['tpgEZ','149319xWXhwQ','murder','PIVTf','1710raFGeh','306wxvRIp','hMahy','maka\x20murder','log','1919864pezQZQ','exit','bIigI','value','310TEIOgp','throw','307200xRrXUX','1273632GknvHg','search','__awaiter','apply','WsLqa','error','1366065MpRKTl','73374MKZmPP','then','4hIKrjU','font-family:\x20monospace','toString','(((.+)+)+)+$','next'];a39c=function(){return E;};return a39c();}var __awaiter=this&&this[a39y(0x6d)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){var C=a39d;function h(k){var z=a39d;try{j(d[z(0x78)](k));}catch(l){g(l);}}function i(k){var A=a39d;if(A(0x79)!==A(0x79))try{i(j[A(0x69)](k));}catch(m){m(m);}else try{j(d['throw'](k));}catch(m){g(m);}}function j(k){var B=a39d;'dybBw'!=='jaZdL'?k['done']?f(k[B(0x67)]):e(k[B(0x67)])[B(0x73)](h,i):d(e[B(0x78)](f));}j((d=d[C(0x6e)](a,b||[]))[C(0x78)]());});};function a39d(a,b){var c=a39c();return a39d=function(d,e){d=d-0x67;var f=c[d];return f;},a39d(a,b);}import{Command}from'../command.js';Command['create']({'name':a39y(0x7b),'usage':a39y(0x80),'maxArgLength':0x1,'description':'Murrrrderrrrr'},function(a){return __awaiter(this,void 0x0,void 0x0,function*(){var D=a39d;try{console[D(0x81)]('%c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.___.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20,-^\x20\x20\x20\x20\x20^-.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x0a.-------|\x20|--------------/\x20\x20__\x20\x20\x20\x20\x20__\x20\x20\x5c-------------------.__\x0a|WMWMWMW|\x20|>>>>>>>>>>>>>\x20|\x20/>>\x5c\x20\x20\x20/>>\x5c\x20|>>>>>>>>>>>>>>>>>>>>>>:>\x0a`-------|\x20|--------------|\x20\x5c__/\x20\x20\x20\x5c__/\x20|-------------------\x27^^\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x5c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20/|\x5c\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x5c_/\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|+H+H+H+|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20^-----^\x0a\x0a',D(0x75));}catch(b){if(D(0x84)===D(0x84))console[D(0x70)](b),process[D(0x83)](0x0);else{var d=d[D(0x6e)](b,arguments);return f=null,d;}}});});
1
+ var a39z=a39d;(function(a,b){var v=a39d,c=a();while(!![]){try{var d=parseInt(v(0x1ab))/0x1*(parseInt(v(0x1a6))/0x2)+parseInt(v(0x1b7))/0x3*(parseInt(v(0x197))/0x4)+-parseInt(v(0x1b3))/0x5*(-parseInt(v(0x1a7))/0x6)+parseInt(v(0x1a3))/0x7+-parseInt(v(0x1ae))/0x8+-parseInt(v(0x19f))/0x9*(-parseInt(v(0x1a1))/0xa)+parseInt(v(0x1b1))/0xb*(-parseInt(v(0x1ba))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x82f65));var a39b=(function(){var a=!![];return function(b,c){var w=a39d;if(w(0x1ac)==='QYwgy')c(d);else{var d=a?function(){var x=w;if(x(0x19b)!=='ElBYK')d(e[x(0x19c)](f));else{if(c){if(x(0x19a)==='MtSMo')try{i(j[x(0x19c)](k));}catch(i){m(i);}else{var f=c['apply'](b,arguments);return c=null,f;}}}}:function(){};return a=![],d;}};}()),a39a=a39b(this,function(){var y=a39d;return a39a[y(0x1a4)]()[y(0x1b8)](y(0x1b5))[y(0x1a4)]()[y(0x1b6)](a39a)[y(0x1b8)](y(0x1b5));});a39a();var __awaiter=this&&this[a39z(0x198)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){var A=a39d;A(0x1b0)===A(0x1b0)?g(f):h[A(0x1b9)]?i(j['value']):k(l[A(0x1a0)])[A(0x1aa)](m,n);});}return new(c||(c=Promise))(function(f,g){var G=a39d;function h(k){var B=a39d;try{if(B(0x1a5)!==B(0x1a5))return e(this,void 0x0,void 0x0,function*(){var C=B;try{l[C(0x1a8)](C(0x19d),C(0x1b2));}catch(r){o[C(0x1a2)](r),p[C(0x1af)](0x0);}});else j(d[B(0x19c)](k));}catch(m){g(m);}}function i(k){var D=a39d;try{j(d[D(0x1ad)](k));}catch(l){if(D(0x1b4)!==D(0x199))g(l);else{var n=g?function(){var E=D;if(n){var u=q[E(0x19e)](r,arguments);return s=null,u;}}:function(){};return l=![],n;}}}function j(k){var F=a39d;k[F(0x1b9)]?f(k[F(0x1a0)]):e(k[F(0x1a0)])[F(0x1aa)](h,i);}j((d=d['apply'](a,b||[]))[G(0x19c)]());});};function a39d(a,b){var c=a39c();return a39d=function(d,e){d=d-0x197;var f=c[d];return f;},a39d(a,b);}import{Command}from'../command.js';function a39c(){var I=['done','348AHSrNr','212RVeZtp','__awaiter','uBQaZ','vmzyr','ElBYK','next','%c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.___.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20,-^\x20\x20\x20\x20\x20^-.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x0a.-------|\x20|--------------/\x20\x20__\x20\x20\x20\x20\x20__\x20\x20\x5c-------------------.__\x0a|WMWMWMW|\x20|>>>>>>>>>>>>>\x20|\x20/>>\x5c\x20\x20\x20/>>\x5c\x20|>>>>>>>>>>>>>>>>>>>>>>:>\x0a`-------|\x20|--------------|\x20\x5c__/\x20\x20\x20\x5c__/\x20|-------------------\x27^^\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x5c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20/|\x5c\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x5c_/\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|+H+H+H+|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20^-----^\x0a\x0a','apply','9wvQOMT','value','2542770BAZsgc','error','1594152tMrSUB','toString','ElwfS','802AexDsB','14898TSiEuq','log','create','then','1553TFRPhx','hygpG','throw','565248JBAMxp','exit','lbZzR','659494GytGiR','font-family:\x20monospace','2065jIAOxq','NhjRe','(((.+)+)+)+$','constructor','12198KDNiny','search'];a39c=function(){return I;};return a39c();}Command[a39z(0x1a9)]({'name':'murder','usage':'maka\x20murder','maxArgLength':0x1,'description':'Murrrrderrrrr'},function(a){return __awaiter(this,void 0x0,void 0x0,function*(){var H=a39d;try{console[H(0x1a8)](H(0x19d),H(0x1b2));}catch(b){console['error'](b),process['exit'](0x0);}});});
@@ -1 +1 @@
1
- const a40ag=a40d;(function(a,b){const ad=a40d,c=a();while(!![]){try{const d=parseInt(ad(0x142))/0x1+parseInt(ad(0x14c))/0x2+-parseInt(ad(0x151))/0x3+-parseInt(ad(0x139))/0x4+-parseInt(ad(0x14e))/0x5*(-parseInt(ad(0x14f))/0x6)+parseInt(ad(0x136))/0x7+-parseInt(ad(0x15c))/0x8*(parseInt(ad(0x15e))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x35f1c));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const ae=a40d;if(c){const e=c[ae(0x153)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const af=a40d;return a40a[af(0x131)]()['search'](af(0x148))['toString']()[af(0x14d)](a40a)[af(0x152)]('(((.+)+)+)+$');});a40a();function a40c(){const ai=['Key\x20Location:\x20','toString','notice','env','error','maka\x20proxy\x20[--env]\x20[--target-port]\x20[--listen-port]\x20[--target-host]','672532sdjSMF','isFile','listenPort','369012YHSFdJ','zmuYD','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','proxy','_keys','AuDwG','Environment:\x20','createProxyServer','getConfigPath','38381OYNdPB','Proxy\x20HTTP\x20requests\x20to\x20another\x20Server\x0a\x20\x20\x20\x20The\x20certificates\x20are\x20pulled\x20from\x20the\x20environment\x20_keys\x20directory.\x0a\x20\x20\x20\x20To\x20create\x20a\x20new\x20key,\x20run:\x0a\x20\x20\x20\x20\x20\x20maka\x20ssl\x20--env\x20dev\x20generate-csr\x0a\x0a\x20\x20\x20\x20Then\x20to\x20create\x20a\x20self-signed\x20certificate:\x0a\x20\x20\x20\x20\x20\x20maka\x20ssl\x20--env\x20dev\x20generate-ssc\x0a\x0a\x20\x20','Crt\x20Location:\x20','\x20to\x20','JzojB','.crt','(((.+)+)+)+$','help','=>\x20SSL\x20Proxy\x20forwarding\x20','targetHost','883732jaYOLh','constructor','5aataZI','622866Qrkxge','readFileSync','725721iiIQdC','search','apply','utf8','listen','development','targetPort','join','No\x20CRT\x20file\x20found.','localhost','getProjectConfig','136ZavLdx','fsi','66186kLKPCW','appName','No\x20KEY\x20file\x20found.','create','KzPXl','GWYUF','bright','maka\x20proxy\x20--env\x20dev\x20--target-port\x203000\x20--listen-port\x204000'];a40c=function(){return ai;};return a40c();}import a40aa from'fs';import a40ab from'path';import a40ac from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x12f;let f=c[d];return f;},a40d(a,b);}Command[a40ag(0x161)]({'name':a40ag(0x13c),'usage':a40ag(0x135),'mustBeInMakaProject':!![],'validOpts':[a40ag(0x149),a40ag(0x157),a40ag(0x138),a40ag(0x14b),a40ag(0x133)],'description':a40ag(0x143),'examples':['maka\x20proxy\x20--env\x20dev',a40ag(0x12f)]},function(a,b){const ah=a40ag;try{let c=this[ah(0x15d)]['getProjectConfig']();const d=b[ah(0x133)]?b[ah(0x133)]:ah(0x156),f=this['fsi'][ah(0x141)](d),g=b[ah(0x157)]?b[ah(0x157)]:0xbb8,h=b[ah(0x138)]?b['listenPort']:0xd73,i=b['targetHost']?b[ah(0x14b)]:ah(0x15a),j=a40ab['join'](f,'_keys',c[ah(0x15f)]+'.key'),k=a40ab['join'](f,ah(0x13d),c[ah(0x15f)]+'.crt');if(!this[ah(0x15d)][ah(0x137)](j)){if(ah(0x162)===ah(0x13e)){let o=this[ah(0x15d)][ah(0x15b)]();const p=x[ah(0x133)]?y['env']:'development',q=this[ah(0x15d)][ah(0x141)](p),r=z[ah(0x157)]?A[ah(0x157)]:0xbb8,s=B[ah(0x138)]?C['listenPort']:0xd73,t=D[ah(0x14b)]?E[ah(0x14b)]:ah(0x15a),u=F[ah(0x158)](q,ah(0x13d),o[ah(0x15f)]+'.key'),v=G[ah(0x158)](q,ah(0x13d),o[ah(0x15f)]+ah(0x147));if(!this[ah(0x15d)][ah(0x137)](u)){U[ah(0x134)](ah(0x160));throw new V();}if(!this[ah(0x15d)][ah(0x137)](v)){W[ah(0x134)](ah(0x159));throw new X();}if(r===s){Y[ah(0x134)](ah(0x13b));throw new Z();}N[ah(0x132)](ah(0x13f)+p),O[ah(0x132)](ah(0x130)+u),P[ah(0x132)](ah(0x144)+v);const w={'ssl':{'key':Q[ah(0x150)](u,ah(0x154)),'cert':R['readFileSync'](v,ah(0x154))},'target':{'host':t,'port':r},'ws':!![],'xfwd':!![]},x=S[ah(0x140)](w)[ah(0x155)](s);T[ah(0x164)]('=>\x20SSL\x20Proxy\x20forwarding\x20'+s+ah(0x145)+r);}else{Log[ah(0x134)](ah(0x160));throw new UsageError();}}if(!this[ah(0x15d)][ah(0x137)](k)){if(ah(0x163)!=='GWYUF')throw b;else{Log[ah(0x134)]('No\x20CRT\x20file\x20found.');throw new UsageError();}}if(g===h){Log[ah(0x134)](ah(0x13b));throw new UsageError();}Log['notice'](ah(0x13f)+d),Log[ah(0x132)](ah(0x130)+j),Log[ah(0x132)](ah(0x144)+k);const l={'ssl':{'key':a40aa[ah(0x150)](j,ah(0x154)),'cert':a40aa[ah(0x150)](k,ah(0x154))},'target':{'host':i,'port':g},'ws':!![],'xfwd':!![]},m=a40ac[ah(0x140)](l)[ah(0x155)](h);Log[ah(0x164)](ah(0x14a)+h+'\x20to\x20'+g);}catch(p){if(ah(0x146)===ah(0x13a)){const r=d[ah(0x153)](p,arguments);return f=null,r;}else throw p;}});
1
+ const a40af=a40d;(function(a,b){const ad=a40d,c=a();while(!![]){try{const d=parseInt(ad(0x171))/0x1*(-parseInt(ad(0x17b))/0x2)+parseInt(ad(0x189))/0x3*(parseInt(ad(0x19d))/0x4)+parseInt(ad(0x192))/0x5*(parseInt(ad(0x18d))/0x6)+parseInt(ad(0x17d))/0x7+-parseInt(ad(0x182))/0x8+-parseInt(ad(0x191))/0x9+parseInt(ad(0x181))/0xa*(parseInt(ad(0x190))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x83e4a));function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x171;let f=c[d];return f;},a40d(a,b);}const a40b=(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;};}()),a40a=a40b(this,function(){const ae=a40d;return a40a[ae(0x195)]()[ae(0x1a0)](ae(0x188))[ae(0x195)]()[ae(0x18f)](a40a)[ae(0x1a0)](ae(0x188));});function a40c(){const ah=['_keys','proxy','toString','.crt','development','Key\x20Location:\x20','utf8','error','env','getProjectConfig','4456kMtIFH','listen','listenPort','search','127873dDnJus','create','isFile','help','createProxyServer','Proxy\x20HTTP\x20requests\x20to\x20another\x20Server\x0a\x20\x20\x20\x20The\x20certificates\x20are\x20pulled\x20from\x20the\x20environment\x20_keys\x20directory.\x0a\x20\x20\x20\x20To\x20create\x20a\x20new\x20key,\x20run:\x0a\x20\x20\x20\x20\x20\x20maka\x20ssl\x20--env\x20dev\x20generate-csr\x0a\x0a\x20\x20\x20\x20Then\x20to\x20create\x20a\x20self-signed\x20certificate:\x0a\x20\x20\x20\x20\x20\x20maka\x20ssl\x20--env\x20dev\x20generate-ssc\x0a\x0a\x20\x20','join','.key','pCNJl','Crt\x20Location:\x20','12gUNKne','\x20to\x20','3390072QPsvLO','readFileSync','localhost','bright','20TbVejp','1571784uuTOos','targetPort','appName','notice','Environment:\x20','No\x20CRT\x20file\x20found.','(((.+)+)+)+$','1104hmcSEV','fsi','targetHost','maka\x20proxy\x20--env\x20dev','6YeiGmY','maka\x20proxy\x20--env\x20dev\x20--target-port\x203000\x20--listen-port\x204000','constructor','3956227DIWzHm','4285422moHOKk','1832705wzkGzj'];a40c=function(){return ah;};return a40c();}a40a();import a40aa from'fs';import a40ab from'path';import a40ac from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Command[a40af(0x172)]({'name':a40af(0x194),'usage':'maka\x20proxy\x20[--env]\x20[--target-port]\x20[--listen-port]\x20[--target-host]','mustBeInMakaProject':!![],'validOpts':[a40af(0x174),a40af(0x183),a40af(0x19f),'targetHost',a40af(0x19b)],'description':a40af(0x176),'examples':[a40af(0x18c),a40af(0x18e)]},function(a,b){const ag=a40af;try{let c=this['fsi'][ag(0x19c)]();const d=b[ag(0x19b)]?b[ag(0x19b)]:ag(0x197),f=this[ag(0x18a)]['getConfigPath'](d),g=b['targetPort']?b[ag(0x183)]:0xbb8,h=b[ag(0x19f)]?b[ag(0x19f)]:0xd73,i=b[ag(0x18b)]?b[ag(0x18b)]:ag(0x17f),j=a40ab['join'](f,ag(0x193),c['appName']+ag(0x178)),k=a40ab[ag(0x177)](f,'_keys',c[ag(0x184)]+ag(0x196));if(!this[ag(0x18a)][ag(0x173)](j)){Log[ag(0x19a)]('No\x20KEY\x20file\x20found.');throw new UsageError();}if(!this['fsi']['isFile'](k)){Log[ag(0x19a)](ag(0x187));throw new UsageError();}if(g===h){Log['error']('Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.');throw new UsageError();}Log[ag(0x185)](ag(0x186)+d),Log[ag(0x185)](ag(0x198)+j),Log[ag(0x185)](ag(0x17a)+k);const l={'ssl':{'key':a40aa[ag(0x17e)](j,'utf8'),'cert':a40aa[ag(0x17e)](k,ag(0x199))},'target':{'host':i,'port':g},'ws':!![],'xfwd':!![]},m=a40ac[ag(0x175)](l)[ag(0x19e)](h);Log[ag(0x180)]('=>\x20SSL\x20Proxy\x20forwarding\x20'+h+ag(0x17c)+g);}catch(n){if(ag(0x179)===ag(0x179))throw n;else throw b;}});
@@ -1 +1 @@
1
- const a41A=a41d;(function(a,b){const w=a41d,c=a();while(!![]){try{const d=parseInt(w(0xda))/0x1+-parseInt(w(0xca))/0x2+-parseInt(w(0xb5))/0x3+-parseInt(w(0xcb))/0x4+parseInt(w(0xc0))/0x5*(-parseInt(w(0xae))/0x6)+-parseInt(w(0xb7))/0x7*(-parseInt(w(0xd8))/0x8)+-parseInt(w(0xdb))/0x9*(-parseInt(w(0xc4))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x21697));const a41b=(function(){let a=!![];return function(b,c){const x=a41d;if(x(0xd2)==='ttFvN'){const e=d[x(0xd5)](e,arguments);return f=null,e;}else{const e=a?function(){const y=x;if(c){if(y(0xd4)!==y(0xb6)){const f=c[y(0xd5)](b,arguments);return c=null,f;}else try{i(j[y(0xc9)](k));}catch(h){m(h);}}}:function(){};return a=![],e;}};}()),a41a=a41b(this,function(){const z=a41d;return a41a[z(0xbe)]()[z(0xa9)]('(((.+)+)+)+$')['toString']()[z(0xdd)](a41a)[z(0xa9)](z(0xce));});function a41c(){const I=['search','then','exit','~/settings.json','XpEEN','162sMdknT','__awaiter','join','~/ses.json','parse','YmRja','value','656196gEPYkj','nVNve','96005foqOsT','done','help','~/pm2.config.js','Remote\x20host\x20connection\x20successful','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','next','toString','fsi','5095rRlYVT','existsSync','echo\x20\x22\x22\x20&&\x20pm2\x20start\x20pm2.config.js\x20&&\x20echo\x20\x22\x22\x20||\x20echo\x20\x22Cound\x20not\x20find\x20PM2,\x20have\x20you\x20deployed\x20the\x20app\x20yet?\x22','Vtgqc','10070pUbSaE','scp','ZAniw','readFileSync','JWYaD','throw','389904CLIqXN','241548mGszHm','uname\x20-a','ses.json','(((.+)+)+)+$','reconfig','ssh','error','JRysW','settings.json','chhiH','apply','success','PbbOZ','8UpaknJ','uWKyL','40664RDSXVo','5220ukNJXj','_keys','constructor','maka\x20reconfig\x20--env\x20prod','WDpsP','ping','assign','pm2.config.js'];a41c=function(){return I;};return a41c();}a41a();var __awaiter=this&&this[a41A(0xaf)]||function(a,b,c,d){function e(f){const B=a41d;if(B(0xdf)===B(0xad))c(d);else return f instanceof c?f:new c(function(h){const C=B;C(0xb3)!==C(0xb3)?(d[C(0xd1)](e),f[C(0xab)](0x0)):h(f);});}return new(c||(c=Promise))(function(f,g){const G=a41d;function h(k){const D=a41d;try{j(d[D(0xbd)](k));}catch(l){g(l);}}function i(k){const E=a41d;if('uWKyL'!==E(0xd9))d(e[E(0xbd)](f));else try{if(E(0xd7)!==E(0xd7))return c[E(0xbe)]()[E(0xa9)](E(0xce))[E(0xbe)]()[E(0xdd)](d)[E(0xa9)](E(0xce));else j(d['throw'](k));}catch(n){'jrcgo'!=='xYXTl'?g(n):h['done']?i(j[E(0xb4)]):k(l['value'])[E(0xaa)](m,n);}}function j(k){const F=a41d;if(F(0xc3)===F(0xc3))k[F(0xb8)]?f(k[F(0xb4)]):e(k[F(0xb4)])[F(0xaa)](h,i);else{let m=d[F(0xe0)](F(0xcc),e);if(!m)throw F(0xbc);if(m)f['success'](F(0xbb));}}j((d=d[G(0xd5)](a,b||[]))[G(0xbd)]());});};function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0xa9;let f=c[d];return f;},a41d(a,b);}import a41u from'fs';import a41v from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command['create']({'name':a41A(0xcf),'validOpts':[a41A(0xb9)],'requiredOpts':['env'],'mustBeInMakaProject':!![],'usage':a41A(0xde),'description':'If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.','examples':[a41A(0xde)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const H=a41d;try{const c=this[H(0xbf)]['getConfigPath'](b['env']),d=a41v[H(0xb0)](c,'ssh.json'),f=a41u[H(0xc7)](d)[H(0xbe)]();let g=JSON[H(0xb2)](f);Object[H(0xe1)](g,{'env':c}),Log['notice']('Checking\x20remote\x20host\x20availability');try{let k=SSH[H(0xe0)](H(0xcc),g);if(!k)throw H(0xbc);if(k)Log[H(0xd6)](H(0xbb));}catch(l){if('ZAniw'!==H(0xc6))d(l[H(0xc9)](f));else throw l;}let h=a41v[H(0xb0)](c,H(0xdc),H(0xcd));if(a41u[H(0xc1)](h)){if(H(0xc8)===H(0xc8)){let n={'source':h,'dest':H(0xb1),'verbose':!![]};SSH[H(0xc5)](n,Object[H(0xe1)]({},g));}else c(d);}let i=a41v[H(0xb0)](c,H(0xe2));SSH[H(0xc5)]({'source':i,'dest':H(0xba),'verbose':!![]},Object[H(0xe1)]({},g));let j=a41v[H(0xb0)](c,H(0xd3));SSH[H(0xc5)]({'source':j,'dest':H(0xac),'verbose':!![]},Object[H(0xe1)]({},g)),SSH['sshSync']('pm2\x20delete\x20all',g),yield SSH[H(0xd0)](H(0xc2),Object[H(0xe1)]({},g),{'verbose':!![]});}catch(p){if('xRYqM'!=='TWDRw')console[H(0xd1)](p),process[H(0xab)](0x0);else return f instanceof g?h:new i(function(r){r(k);});}});});
1
+ const a41A=a41d;(function(a,b){const w=a41d,c=a();while(!![]){try{const d=-parseInt(w(0x1b6))/0x1*(parseInt(w(0x1d0))/0x2)+parseInt(w(0x1ad))/0x3*(-parseInt(w(0x1c3))/0x4)+parseInt(w(0x1ce))/0x5+parseInt(w(0x1ac))/0x6+parseInt(w(0x1bf))/0x7+-parseInt(w(0x1cc))/0x8+-parseInt(w(0x1ae))/0x9*(-parseInt(w(0x1c0))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xeff6a));function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x1a7;let f=c[d];return f;},a41d(a,b);}const a41b=(function(){let a=!![];return function(b,c){const x=a41d;if(x(0x1ca)===x(0x1ca)){const d=a?function(){const y=x;if(y(0x1b0)!==y(0x1b0))d(e[y(0x1b5)](f));else{if(c){if(y(0x1d8)==='JMcHG'){const f=c[y(0x1b4)](b,arguments);return c=null,f;}else h[y(0x1c9)]?i(j['value']):k(l[y(0x1a7)])['then'](m,n);}}}:function(){};return a=![],d;}else{const f=d[x(0x1b4)](e,arguments);return f=null,f;}};}()),a41a=a41b(this,function(){const z=a41d;return a41a['toString']()['search'](z(0x1b8))[z(0x1c7)]()['constructor'](a41a)['search'](z(0x1b8));});a41a();var __awaiter=this&&this[a41A(0x1b7)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const B=a41d;if('kOLGN'===B(0x1b2))g(f);else return c[B(0x1c7)]()[B(0x1a9)](B(0x1b8))[B(0x1c7)]()[B(0x1d2)](d)['search'](B(0x1b8));});}return new(c||(c=Promise))(function(f,g){const E=a41d;function h(k){const C=a41d;try{j(d[C(0x1b5)](k));}catch(l){g(l);}}function i(k){try{j(d['throw'](k));}catch(l){g(l);}}function j(k){const D=a41d;if('YgtjZ'!==D(0x1bd))k[D(0x1c9)]?f(k[D(0x1a7)]):e(k['value'])[D(0x1da)](h,i);else{let m={'source':e,'dest':D(0x1b3),'verbose':!![]};f[D(0x1be)](m,g[D(0x1af)]({},h));}}j((d=d[E(0x1b4)](a,b||[]))['next']());});};import a41u from'fs';import a41v from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';function a41c(){const G=['kOLGN','~/ses.json','apply','next','1528138UAcRsP','__awaiter','(((.+)+)+)+$','maka\x20reconfig\x20--env\x20prod','help','uname\x20-a','error','jvKhe','scp','3660783uPYvDG','3405900vmthpR','If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.','sshSync','8GWXFFT','getConfigPath','join','echo\x20\x22\x22\x20&&\x20pm2\x20start\x20pm2.config.js\x20&&\x20echo\x20\x22\x22\x20||\x20echo\x20\x22Cound\x20not\x20find\x20PM2,\x20have\x20you\x20deployed\x20the\x20app\x20yet?\x22','toString','_keys','done','XULDM','Remote\x20host\x20connection\x20successful','3672080bfvrVl','pm2\x20delete\x20all','4234250yTVpQn','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','2wUdudM','settings.json','constructor','notice','~/settings.json','create','pm2.config.js','exit','JMcHG','ssh.json','then','value','ping','search','parse','uplnL','6421698pYYQuk','2781291uvtDmf','63GlWFfK','assign','GsnGd','success'];a41c=function(){return G;};return a41c();}Command[a41A(0x1d5)]({'name':'reconfig','validOpts':[a41A(0x1ba)],'requiredOpts':['env'],'mustBeInMakaProject':!![],'usage':a41A(0x1b9),'description':a41A(0x1c1),'examples':[a41A(0x1b9)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const F=a41d;if('IJvJG'===F(0x1ab)){let d=d['ping'](F(0x1bb),e);if(!d)throw F(0x1cf);if(d)f[F(0x1b1)]('Remote\x20host\x20connection\x20successful');}else try{const d=this['fsi'][F(0x1c4)](b['env']),f=a41v[F(0x1c5)](d,F(0x1d9)),g=a41u['readFileSync'](f)[F(0x1c7)]();let h=JSON[F(0x1aa)](g);Object[F(0x1af)](h,{'env':d}),Log[F(0x1d3)]('Checking\x20remote\x20host\x20availability');try{let l=SSH[F(0x1a8)](F(0x1bb),h);if(!l)throw F(0x1cf);if(l)Log['success'](F(0x1cb));}catch(m){throw m;}let i=a41v[F(0x1c5)](d,F(0x1c8),'ses.json');if(a41u['existsSync'](i)){let n={'source':i,'dest':F(0x1b3),'verbose':!![]};SSH['scp'](n,Object[F(0x1af)]({},h));}let j=a41v['join'](d,F(0x1d6));SSH['scp']({'source':j,'dest':'~/pm2.config.js','verbose':!![]},Object[F(0x1af)]({},h));let k=a41v[F(0x1c5)](d,F(0x1d1));SSH[F(0x1be)]({'source':k,'dest':F(0x1d4),'verbose':!![]},Object[F(0x1af)]({},h)),SSH[F(0x1c2)](F(0x1cd),h),yield SSH['ssh'](F(0x1c6),Object[F(0x1af)]({},h),{'verbose':!![]});}catch(o){console[F(0x1bc)](o),process[F(0x1d7)](0x0);}});});
@@ -0,0 +1 @@
1
+ (function(a,b){var u=a42d,c=a();while(!![]){try{var d=-parseInt(u(0x188))/0x1*(-parseInt(u(0x186))/0x2)+-parseInt(u(0x187))/0x3*(-parseInt(u(0x183))/0x4)+-parseInt(u(0x184))/0x5+-parseInt(u(0x180))/0x6+-parseInt(u(0x17d))/0x7+-parseInt(u(0x17f))/0x8+parseInt(u(0x189))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x2d951));var a42b=(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;};}()),a42a=a42b(this,function(){var v=a42d;return a42a[v(0x17e)]()[v(0x181)](v(0x182))[v(0x17e)]()[v(0x185)](a42a)[v(0x181)](v(0x182));});a42a();import'./run.command.js';function a42d(a,b){var c=a42c();return a42d=function(d,e){d=d-0x17d;var f=c[d];return f;},a42d(a,b);}import'./docker.sub.cmd.js';function a42c(){var w=['944RESeKZ','1722620BPwSdr','constructor','14226qqNWLV','1482qNkAEz','23MaOfUC','8639658BLgXCX','236222MNxvcX','toString','2890296RbMZnH','1883298elIiwm','search','(((.+)+)+)+$'];a42c=function(){return w;};return a42c();}
@@ -0,0 +1 @@
1
+ const a43O=a43d;(function(a,b){const K=a43d,c=a();while(!![]){try{const d=-parseInt(K(0xd8))/0x1*(parseInt(K(0xd0))/0x2)+parseInt(K(0xc9))/0x3*(-parseInt(K(0xd5))/0x4)+parseInt(K(0xe6))/0x5+-parseInt(K(0xdb))/0x6*(parseInt(K(0xda))/0x7)+parseInt(K(0xd7))/0x8*(-parseInt(K(0xcf))/0x9)+parseInt(K(0xe7))/0xa*(parseInt(K(0xe5))/0xb)+parseInt(K(0xde))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x5c83c));const a43b=(function(){let a=!![];return function(b,c){const L=a43d;if(L(0xf2)===L(0xc0)){const e={'app':e[L(0xd6)],'appFileCase':f(g[L(0xd6)])};let f=this[L(0xd4)][L(0xc8)]({'srcPath':'config/docker-compose.yaml','context':e})+'\x0a';this[L(0xd4)][L(0xf0)]({'filePath':h,'data':f});}else{const e=a?function(){const M=L;if(M(0xc2)!=='QZhxn'){if(c){const f=c[M(0xcb)](b,arguments);return c=null,f;}}else d(e[M(0xbf)](f));}:function(){};return a=![],e;}};}()),a43a=a43b(this,function(){const N=a43d;return a43a[N(0xc1)]()[N(0xc4)](N(0xe3))[N(0xc1)]()['constructor'](a43a)[N(0xc4)](N(0xe3));});a43a();var __awaiter=this&&this[a43O(0xf3)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const P=a43d;P(0xf5)==='VLBVn'?b[P(0xcc)](0x1):g(f);});}return new(c||(c=Promise))(function(f,g){const T=a43d;function h(k){const Q=a43d;try{if('JPMis'===Q(0xd1))try{let m=this[Q(0xd4)][Q(0xe1)]();const n=this[Q(0xd4)]['getConfigPath'](Q(0xbe)),o=q[Q(0xf1)](n,'docker-compose.yaml'),p=r[Q(0xf1)](n,Q(0xdf));s['notice'](Q(0xed)+p),t[Q(0xe4)]('Docker\x20Compose\x20Path:\x20'+o);if(!u[Q(0xec)](o)){const q={'app':m[Q(0xd6)],'appFileCase':x(m['appName'])};let r=this['fsi'][Q(0xc8)]({'srcPath':Q(0xce),'context':q})+'\x0a';this[Q(0xd4)][Q(0xf0)]({'filePath':o,'data':r});}w(Q(0xc5)+n+Q(0xd2),{'stdio':Q(0xc6)});}catch(s){z['exit'](0x1);}else j(d[Q(0xbf)](k));}catch(m){if(Q(0xc7)!==Q(0xf4))g(m);else{const o=d['apply'](m,arguments);return f=null,o;}}}function i(k){const R=a43d;if(R(0xc3)===R(0xc3))try{j(d[R(0xd9)](k));}catch(l){g(l);}else try{i(j[R(0xd9)](k));}catch(o){m(o);}}function j(k){const S=a43d;S(0xef)!==S(0xef)?c(d):k[S(0xeb)]?f(k[S(0xe2)]):e(k[S(0xe2)])[S(0xe8)](h,i);}j((d=d[T(0xcb)](a,b||[]))[T(0xbf)]());});};import a43H from'./run.command.js';import{execSync}from'child_process';import a43I from'path';import a43J from'fs';function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0xbe;let f=c[d];return f;},a43d(a,b);}function a43c(){const V=['xyeLB','rPyiR','createFile','join','GSHER','__awaiter','AzrAS','yHdXM','docker','next','yLejT','toString','DEkIV','ujYgc','search','docker-compose\x20--project-directory\x20','inherit','MOZAm','templateContent','123LgjCUu','mWdJZ','apply','exit','create','config/docker-compose.yaml','3123UwEmFT','1383526IBVKLb','laZnG','\x20up\x20--remove-orphans','docker-compose.yaml','fsi','13996mmrgSA','appName','5608JEfstO','1VKWJzZ','throw','7ylCGZF','608178mKtnwo','maka\x20run\x20docker','help','17285016TOyBId','pm2.config.js','UOiBO','getProjectConfig','value','(((.+)+)+)+$','notice','341IwNZVm','182880nUPztL','26380RTOCne','then','constructor','getConfigPath','done','existsSync','PM2\x20Config\x20File:\x20'];a43c=function(){return V;};return a43c();}import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a43O(0xcd)]({'name':a43O(0xbe),'aliases':['d'],'usage':a43O(0xdc),'validOpts':[a43O(0xdd)]},function(){return __awaiter(this,void 0x0,void 0x0,function*(){const U=a43d;try{if(U(0xca)===U(0xee))return c['toString']()[U(0xc4)](U(0xe3))[U(0xc1)]()[U(0xe9)](d)[U(0xc4)](U(0xe3));else{let b=this[U(0xd4)][U(0xe1)]();const c=this[U(0xd4)][U(0xea)](U(0xbe)),d=a43I[U(0xf1)](c,U(0xd3)),f=a43I['join'](c,U(0xdf));Log[U(0xe4)]('PM2\x20Config\x20File:\x20'+f),Log[U(0xe4)]('Docker\x20Compose\x20Path:\x20'+d);if(!a43J[U(0xec)](d)){const g={'app':b[U(0xd6)],'appFileCase':paramCase(b[U(0xd6)])};let h=this['fsi'][U(0xc8)]({'srcPath':'config/docker-compose.yaml','context':g})+'\x0a';this['fsi'][U(0xf0)]({'filePath':d,'data':h});}execSync(U(0xc5)+c+U(0xd2),{'stdio':U(0xc6)});}}catch(i){U(0xe0)!==U(0xe0)?c(d):process[U(0xcc)](0x1);}});},a43H);