@maka/maka-cli 4.2.5 → 4.2.7

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 (90) hide show
  1. package/dist/command.js +1 -1
  2. package/dist/commands/_index.js +1 -1
  3. package/dist/commands/aws/_index.js +1 -1
  4. package/dist/commands/aws/aws.command.js +1 -1
  5. package/dist/commands/aws/ci.sub.cmd.js +1 -1
  6. package/dist/commands/aws/ckp.sub.cmd.js +1 -1
  7. package/dist/commands/aws/csg.sub.cmd.js +1 -1
  8. package/dist/commands/aws/di.sub.cmd.js +1 -1
  9. package/dist/commands/aws/dks.sub.cmd.js +1 -1
  10. package/dist/commands/aws/rbi.sub.cmd.js +1 -1
  11. package/dist/commands/aws/sth.sub.cmd.js +1 -1
  12. package/dist/commands/aws/ti.sub.cmd.js +1 -1
  13. package/dist/commands/build/_index.js +1 -1
  14. package/dist/commands/build/build.js +1 -1
  15. package/dist/commands/build/docker.sub.cmd.js +1 -1
  16. package/dist/commands/create.js +1 -1
  17. package/dist/commands/debug.js +1 -1
  18. package/dist/commands/deploy.js +1 -1
  19. package/dist/commands/game/_index.js +1 -1
  20. package/dist/commands/game/battleship.sub.cmd.js +1 -1
  21. package/dist/commands/game/play.command.js +1 -1
  22. package/dist/commands/game/pong.sub.cmd.js +1 -1
  23. package/dist/commands/game/snake.sub.cmd.js +1 -1
  24. package/dist/commands/game/tetris.sub.cmd.js +1 -1
  25. package/dist/commands/generate.js +1 -1
  26. package/dist/commands/get/_index.js +1 -1
  27. package/dist/commands/get/get.command.js +1 -1
  28. package/dist/commands/get/global.sub.cmd.js +1 -1
  29. package/dist/commands/get/local.sub.cmd.js +1 -1
  30. package/dist/commands/help.js +1 -1
  31. package/dist/commands/install.js +1 -1
  32. package/dist/commands/jsdoc.js +1 -1
  33. package/dist/commands/login.js +1 -1
  34. package/dist/commands/logout.js +1 -1
  35. package/dist/commands/logs.js +1 -1
  36. package/dist/commands/maka.cmd.js +1 -1
  37. package/dist/commands/murder.js +1 -1
  38. package/dist/commands/proxy.js +1 -1
  39. package/dist/commands/reconfig.js +1 -1
  40. package/dist/commands/run.js +1 -1
  41. package/dist/commands/set/_index.js +1 -1
  42. package/dist/commands/set/global.sub.cmd.js +1 -1
  43. package/dist/commands/set/local.sub.cmd.js +1 -1
  44. package/dist/commands/set/set.command.js +1 -1
  45. package/dist/commands/ssh.js +1 -1
  46. package/dist/commands/ssl.js +1 -1
  47. package/dist/commands/test.js +1 -1
  48. package/dist/commands/version.js +1 -1
  49. package/dist/error.js +1 -1
  50. package/dist/generator.js +1 -1
  51. package/dist/generators/_index.js +1 -1
  52. package/dist/generators/api.js +1 -1
  53. package/dist/generators/collection.js +1 -1
  54. package/dist/generators/component.js +1 -1
  55. package/dist/generators/config.js +1 -1
  56. package/dist/generators/dbc.js +1 -1
  57. package/dist/generators/dockerfile.js +1 -1
  58. package/dist/generators/hook.js +1 -1
  59. package/dist/generators/kit.js +1 -1
  60. package/dist/generators/layout.js +1 -1
  61. package/dist/generators/maka.gen.js +1 -1
  62. package/dist/generators/methods.js +1 -1
  63. package/dist/generators/package.js +1 -1
  64. package/dist/generators/page.js +1 -1
  65. package/dist/generators/publish.js +1 -1
  66. package/dist/generators/route.js +1 -1
  67. package/dist/generators/scaffold.js +1 -1
  68. package/dist/generators/service.js +1 -1
  69. package/dist/generators/services/_index.js +1 -1
  70. package/dist/generators/services/translation.js +1 -1
  71. package/dist/maka.js +1 -1
  72. package/dist/tool.js +1 -1
  73. package/dist/tools/actions/actions.class.js +1 -1
  74. package/dist/tools/actions/actions.test.js +1 -1
  75. package/dist/tools/aws/aws.class.js +1 -1
  76. package/dist/tools/aws/aws.interfaces.js +1 -1
  77. package/dist/tools/docker/docker.class.js +1 -1
  78. package/dist/tools/docker/docker.interfaces.js +1 -1
  79. package/dist/tools/fsi/fsi.class.js +1 -1
  80. package/dist/tools/fsi/fsi.interfaces.js +1 -1
  81. package/dist/tools/https/https.class.js +1 -1
  82. package/dist/tools/https/https.interface.js +1 -1
  83. package/dist/tools/log/log.class.js +1 -1
  84. package/dist/tools/log/log.interfaces.js +1 -1
  85. package/dist/tools/spawn-async/spawn-async.class.js +1 -1
  86. package/dist/tools/spawn-async/spawn-async.interfaces.js +1 -1
  87. package/dist/tools/ssh/ssh.class.js +1 -1
  88. package/dist/tools/ssh/ssh.interfaces.js +1 -1
  89. package/dist/tools/ssl/ssl.class.js +1 -1
  90. package/package.json +1 -1
@@ -1 +1 @@
1
- var a28y=a28d;(function(a,b){var v=a28d,c=a();while(!![]){try{var d=parseInt(v(0xe1))/0x1*(-parseInt(v(0xc9))/0x2)+-parseInt(v(0xde))/0x3*(-parseInt(v(0xd4))/0x4)+-parseInt(v(0xc7))/0x5+parseInt(v(0xd6))/0x6+parseInt(v(0xcf))/0x7*(parseInt(v(0xdf))/0x8)+-parseInt(v(0xd8))/0x9*(parseInt(v(0xcb))/0xa)+parseInt(v(0xdd))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a28c,0xcc5e3));function a28c(){var G=['maka\x20get:local','value','exit','oPqza','16dNAMPu','apply','1557702gIgTNu','next','2259ArbByF','getProjectConfig','local','search','__awaiter','15360730RFDYjT','397821fjynTR','322616vjtICg','then','52uEZMOa','toString','done','log','Get\x20maka\x20configurations\x20in\x20the\x20local\x20.maka/config.json\x20file','constructor','(((.+)+)+)+$','621860aIJzJc','pzDwM','23924TPuxpd','riJvC','35270TOkDIe','WsfVx','create','JAYbM','49NcrDsI'];a28c=function(){return G;};return a28c();}var a28b=(function(){var a=!![];return function(b,c){var d=a?function(){var w=a28d;if(w(0xce)===w(0xce)){if(c){var e=c[w(0xd5)](b,arguments);return c=null,e;}}else return f instanceof g?h:new i(function(m){m(k);});}:function(){};return a=![],d;};}()),a28a=a28b(this,function(){var x=a28d;return a28a[x(0xe2)]()[x(0xdb)](x(0xc6))[x(0xe2)]()[x(0xc5)](a28a)[x(0xdb)]('(((.+)+)+)+$');});a28a();var __awaiter=this&&this[a28y(0xdc)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){var z=a28d;z(0xd3)==='oPqza'?g(f):c(d);});}return new(c||(c=Promise))(function(f,g){var E=a28d;function h(k){var A=a28d;try{A(0xc8)===A(0xc8)?j(d[A(0xd7)](k)):(d['error'](e),f[A(0xd2)](0x0));}catch(m){g(m);}}function i(k){var B=a28d;if(B(0xcc)!==B(0xcc)){var n=g?function(){var C=B;if(n){var u=q[C(0xd5)](r,arguments);return s=null,u;}}:function(){};return l=![],n;}else try{j(d['throw'](k));}catch(m){g(m);}}function j(k){var D=a28d;k[D(0xe3)]?f(k[D(0xd1)]):e(k[D(0xd1)])[D(0xe0)](h,i);}j((d=d[E(0xd5)](a,b||[]))[E(0xd7)]());});};import a28u from'./get.command.js';function a28d(a,b){var c=a28c();return a28d=function(d,e){d=d-0xc4;var f=c[d];return f;},a28d(a,b);}import{Command}from'../../command.js';Command[a28y(0xcd)]({'name':a28y(0xda),'usage':a28y(0xd0),'mustBeInMakaProject':!![],'description':a28y(0xc4)},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){var F=a28d;if(F(0xca)!==F(0xca))d(e['throw'](f));else try{const d=yield this['fsi'][F(0xd9)]();console[F(0xe4)](d);}catch(f){console['error'](f),process[F(0xd2)](0x0);}});},a28u);
1
+ function a28c(){var H=['(((.+)+)+)+$','value','then','tntgO','local','toString','next','XVgCt','19128MIbSzi','FHpEI','IYbWr','3936928jenSAA','8315712nlZPsc','2542458tZPbsD','throw','getProjectConfig','constructor','dWUIs','create','577646ZuJxLD','fsi','search','1716988wUWhvg','40slxrnB','fhSgX','exit','95888LxlDFj','log','QWTgV','WDUHL','QgnKW','VDsqw','Get\x20maka\x20configurations\x20in\x20the\x20local\x20.maka/config.json\x20file','apply','maka\x20get:local','WBbfk','fIdCN','__awaiter','1VPegsm'];a28c=function(){return H;};return a28c();}var a28y=a28d;(function(a,b){var v=a28d,c=a();while(!![]){try{var d=parseInt(v(0x1e8))/0x1*(-parseInt(v(0x1fc))/0x2)+parseInt(v(0x1f6))/0x3+-parseInt(v(0x1dc))/0x4*(parseInt(v(0x1d9))/0x5)+-parseInt(v(0x1f1))/0x6+-parseInt(v(0x1d8))/0x7+-parseInt(v(0x1f4))/0x8+parseInt(v(0x1f5))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a28c,0x8657b));var a28b=(function(){var a=!![];return function(b,c){var d=a?function(){var w=a28d;if(w(0x1e5)===w(0x1e5)){if(c){if(w(0x1ec)===w(0x1e6))d(e[w(0x1f7)](f));else{var e=c[w(0x1e3)](b,arguments);return c=null,e;}}}else try{i(j[w(0x1ef)](k));}catch(h){m(h);}}:function(){};return a=![],d;};}()),a28a=a28b(this,function(){var x=a28d;return a28a['toString']()[x(0x1d7)](x(0x1e9))[x(0x1ee)]()[x(0x1f9)](a28a)[x(0x1d7)](x(0x1e9));});function a28d(a,b){var c=a28c();return a28d=function(d,e){d=d-0x1d7;var f=c[d];return f;},a28d(a,b);}a28a();var __awaiter=this&&this[a28y(0x1e7)]||function(a,b,c,d){function e(f){var z=a28d;return z(0x1f2)===z(0x1fa)?f instanceof g?h:new i(function(m){m(k);}):f instanceof c?f:new c(function(h){var A=z;if(A(0x1f3)!==A(0x1e0))h(f);else{var j=d[A(0x1e3)](e,arguments);return f=null,j;}});}return new(c||(c=Promise))(function(f,g){var F=a28d;function h(k){var B=a28d;if('VDsqw'!==B(0x1e1))c(d);else try{j(d['next'](k));}catch(m){g(m);}}function i(k){var C=a28d;if(C(0x1df)===C(0x1df))try{j(d['throw'](k));}catch(l){C(0x1de)===C(0x1da)?c(d):g(l);}else try{i(j[C(0x1f7)](k));}catch(o){m(o);}}function j(k){var D=a28d;if(D(0x1f0)!=='BJOaK')k['done']?f(k['value']):e(k[D(0x1ea)])[D(0x1eb)](h,i);else{var n=g?function(){var E=D;if(n){var u=q[E(0x1e3)](r,arguments);return s=null,u;}}:function(){};return l=![],n;}}j((d=d[F(0x1e3)](a,b||[]))[F(0x1ef)]());});};import a28u from'./get.command.js';import{Command}from'../../command.js';Command[a28y(0x1fb)]({'name':a28y(0x1ed),'usage':a28y(0x1e4),'mustBeInMakaProject':!![],'description':a28y(0x1e2)},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){var G=a28d;try{const c=yield this[G(0x1fd)][G(0x1f8)]();console[G(0x1dd)](c);}catch(d){console['error'](d),process[G(0x1db)](0x0);}});},a28u);
@@ -1 +1 @@
1
- var a29x=a29d;(function(a,b){var u=a29d,c=a();while(!![]){try{var d=parseInt(u(0x127))/0x1+-parseInt(u(0x122))/0x2*(parseInt(u(0x11b))/0x3)+parseInt(u(0x11a))/0x4+-parseInt(u(0x111))/0x5*(-parseInt(u(0x11c))/0x6)+parseInt(u(0x118))/0x7+parseInt(u(0x124))/0x8+parseInt(u(0x126))/0x9*(-parseInt(u(0x121))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a29c,0xa263f));var a29b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a29d;if(c){var e=c[v(0x11f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a29a=a29b(this,function(){var w=a29d;return a29a['toString']()[w(0x114)]('(((.+)+)+)+$')[w(0x11e)]()[w(0x112)](a29a)[w(0x114)](w(0x11d));});a29a();var __awaiter=this&&this[a29x(0x119)]||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=a29d;function h(k){var y=a29d;try{j(d[y(0x125)](k));}catch(l){g(l);}}function i(k){var z=a29d;try{j(d[z(0x128)](k));}catch(l){g(l);}}function j(k){var A=a29d;k['done']?f(k[A(0x116)]):e(k[A(0x116)])[A(0x113)](h,i);}j((d=d[B(0x11f)](a,b||[]))['next']());});};import{Command}from'../command.js';import{UsageError}from'../error.js';function a29d(a,b){var c=a29c();return a29d=function(d,e){d=d-0x111;var f=c[d];return f;},a29d(a,b);}Command[a29x(0x120)]({'name':a29x(0x115),'description':a29x(0x123),'aliases':['h']},function(){return __awaiter(this,void 0x0,void 0x0,function*(){var C=a29d;if(C(0x117)!=='FdPDM')throw new UsageError();else return c(this,void 0x0,void 0x0,function*(){throw new e();});});});function a29c(){var D=['180noNiLr','constructor','then','search','help','value','UPCbQ','4879336DHreYw','__awaiter','2585360haZrgB','516498rXwydY','88752PubLvx','(((.+)+)+)+$','toString','apply','create','1470iEkEtm','12khErWZ','Try,\x20maka\x20--help','4933672ypETkd','next','107577LVEimI','962629ossHEj','throw'];a29c=function(){return D;};return a29c();}
1
+ var a29x=a29d;function a29c(){var D=['3VFrNKF','sMFou','Try,\x20maka\x20--help','search','toString','1975426ZMlmug','4nDlfVd','create','pjRmg','JqaQx','KkLNL','done','then','2929385KImMcz','help','throw','next','aaQgb','constructor','6003150PxriIZ','3583344laulwM','1708627zDxyps','2628513aevjOE','YJLuX','HoLue','9599863nSutQd','apply','__awaiter','aRYVg','gMADX','(((.+)+)+)+$'];a29c=function(){return D;};return a29c();}(function(a,b){var u=a29d,c=a();while(!![]){try{var d=parseInt(u(0x183))/0x1+-parseInt(u(0x173))/0x2*(-parseInt(u(0x16e))/0x3)+parseInt(u(0x174))/0x4*(-parseInt(u(0x17b))/0x5)+parseInt(u(0x181))/0x6+-parseInt(u(0x187))/0x7+-parseInt(u(0x182))/0x8+-parseInt(u(0x184))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a29c,0xf40b4));var a29b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a29d;if(v(0x18b)===v(0x18b)){if(c){var e=c['apply'](b,arguments);return c=null,e;}}else c(d);}:function(){};return a=![],d;};}()),a29a=a29b(this,function(){var w=a29d;return a29a['toString']()[w(0x171)](w(0x18c))[w(0x172)]()[w(0x180)](a29a)[w(0x171)](w(0x18c));});a29a();var __awaiter=this&&this[a29x(0x189)]||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=a29d;function h(k){var y=a29d;try{if(y(0x17f)===y(0x186)){if(e){var m=i[y(0x188)](j,arguments);return k=null,m;}}else j(d[y(0x17e)](k));}catch(m){if(y(0x176)!==y(0x18a))g(m);else throw new b();}}function i(k){var z=a29d;try{if(z(0x177)!==z(0x16f))j(d[z(0x17d)](k));else return c(this,void 0x0,void 0x0,function*(){throw new e();});}catch(m){g(m);}}function j(k){var A=a29d;k[A(0x179)]?f(k['value']):e(k['value'])[A(0x17a)](h,i);}j((d=d[B(0x188)](a,b||[]))[B(0x17e)]());});};function a29d(a,b){var c=a29c();return a29d=function(d,e){d=d-0x16e;var f=c[d];return f;},a29d(a,b);}import{Command}from'../command.js';import{UsageError}from'../error.js';Command[a29x(0x175)]({'name':a29x(0x17c),'description':a29x(0x170),'aliases':['h']},function(){return __awaiter(this,void 0x0,void 0x0,function*(){var C=a29d;if(C(0x178)===C(0x185))d(e[C(0x17d)](f));else throw new UsageError();});});
@@ -1 +1 @@
1
- const a30D=a30d;(function(a,b){const B=a30d,c=a();while(!![]){try{const d=-parseInt(B(0x18d))/0x1+-parseInt(B(0x165))/0x2+-parseInt(B(0x172))/0x3*(-parseInt(B(0x148))/0x4)+parseInt(B(0x183))/0x5*(parseInt(B(0x17d))/0x6)+parseInt(B(0x17e))/0x7*(-parseInt(B(0x161))/0x8)+parseInt(B(0x14d))/0x9*(parseInt(B(0x157))/0xa)+parseInt(B(0x185))/0xb*(-parseInt(B(0x142))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a30c,0x22796));const a30b=(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;};}()),a30a=a30b(this,function(){const C=a30d;return a30a[C(0x16c)]()[C(0x141)](C(0x181))[C(0x16c)]()[C(0x188)](a30a)['search']('(((.+)+)+)+$');});a30a();var __awaiter=this&&this[a30D(0x159)]||function(a,b,c,d){function e(f){const E=a30d;if(E(0x174)!=='ZDCjh'){if(e){const h=i[E(0x186)](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 I=a30d;function h(k){const F=a30d;try{F(0x17f)!==F(0x17f)?b[F(0x138)](F(0x136)):j(d[F(0x171)](k));}catch(m){g(m);}}function i(k){const G=a30d;try{j(d[G(0x15d)](k));}catch(l){g(l);}}function j(k){const H=a30d;k[H(0x178)]?f(k[H(0x13b)]):e(k['value'])[H(0x144)](h,i);}j((d=d[I(0x186)](a,b||[]))['next']());});};import a30x from'os';function a30c(){const K=['printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.zshrc','force','cert','88unFIfG','.tar.gz','notice','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka.cert,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','302218itcMzN','\x20-s\x20https://install.meteor.com/','curl\x20','sync','Meteor\x20version\x20','platform','lISEx','toString','meteor.tar.gz','homedir','printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.bashrc','os.linux.x86_64','next','3sWLDgs','withSpinner','ZDCjh','RELEASE=','maka\x20install\x20meteor','existsSync','done','Removing\x20previous\x20install\x20of\x20meteor','error','ZXNaU','\x20installed.\x0a','825810oUkwXI','28091MNldKF','irJFm','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','(((.+)+)+)+$','darwin','10hcdrUc','maka\x20install','110vEbhbM','apply','This\x20command\x20should\x20NOT\x20be\x20run\x20as\x20sudo\x20or\x20with\x20administrative\x20privileges.\x20\x20Are\x20you\x20ready\x20to\x20proceed?','constructor','ayifi','/meteor-bootstrap-','Aborted','ignore','140382bYCHRY','Install\x20a\x20meteor.\x20\x22maka\x20install\x22\x20defaults\x20to\x20\x22maka\x20install\x20meteor\x22','version','Please\x20use\x20\x22npm\x20i\x20-g\x20meteor\x22\x20to\x20install\x20on\x20windows','exit','warn','Installing\x20meteor\x20','win32','value','Allowing\x20insecure\x20curl\x20connections.','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','Using\x20CA\x20Cert\x20','bkaZL','create','search','71964jCyioC','--cacert','then','fsi','AitNa','success','694504kmQHOf','cacert','LPGoo','string','join','7002TVvszj','ojvWW','curl','printf\x20\x27export\x20PATH=$PATH:$HOME/.local/bin\x27\x20>>\x20$HOME/.profile\x20&&\x20source\x20$HOME/.profile','grep','replace','mkdir\x20-p\x20','confirm','BDIWk','allowInsecure','1130HPvyak','--output','__awaiter','/.local/bin','keepInstall','OvFpM','throw'];a30c=function(){return K;};return a30c();}import a30y from'path';import a30z from'fs';import a30A from'delete';import{execSync}from'child_process';import{SpawnAsync}from'../tools/spawn-async/spawn-async.class.js';import{Command}from'../command.js';function a30d(a,b){const c=a30c();return a30d=function(d,e){d=d-0x136;let f=c[d];return f;},a30d(a,b);}import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';const homeDir=a30x[a30D(0x16e)]();Command[a30D(0x140)]({'name':'install','aliases':['i'],'validOpts':['f',a30D(0x15f),'v','version','debug',a30D(0x149),a30D(0x15b)],'usage':a30D(0x184),'description':a30D(0x18e),'examples':[a30D(0x176),'maka\x20install\x20meteor\x20--force','maka\x20install\x20meteor\x20-v\x202.3.6','maka\x20install\x20meteor\x20--version\x201.12.1','maka\x20i']},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const J=a30d;try{let c=[],d='';if(b['cacert']){if(this[J(0x145)]['isFile'](b[J(0x149)]))Log[J(0x163)](J(0x13e)+b[J(0x149)]),d=b[J(0x149)],c=['--cacert',d];else throw J(0x13d)+d;}const f=yield this[J(0x145)]['getGlobalConfig']();if(f['cert']){if(this[J(0x145)]['isFile'](f[J(0x160)]))J(0x14e)!==J(0x15c)?(d=f[J(0x160)],c=['--cacert',d]):(d[J(0x17a)](e),f[J(0x137)](0x0));else{if('lISEx'===J(0x16b))throw J(0x164)+d;else throw J(0x18b);}}f[J(0x156)]&&(Log[J(0x138)]('Allowing\x20insecure\x20curl\x20connections.'),c=['-k']);let g=![];b['f']||b[J(0x15f)]?g=!![]:'VlpjL'!==J(0x13f)?g=yield Actions[J(0x154)](J(0x187)):(c[J(0x138)](J(0x13c)),d=['-k']);if(!g)throw J(0x18b);const h=process[J(0x16a)]===J(0x13a),i=process[J(0x16a)]===J(0x182);let j=execSync(J(0x167)+c[J(0x14c)]('\x20')+J(0x166))[J(0x16c)](),k=yield this[J(0x145)][J(0x151)](j,J(0x175));if(k['length']===0x0){if(J(0x155)!==J(0x155))g(J(0x153)+h+J(0x15a),{'stdio':J(0x18c)}),i(J(0x180),{'stdio':'ignore'}),j(J(0x150),{'stdio':J(0x18c)}),k(J(0x16f),{'stdio':J(0x18c)}),l(J(0x15e),{'stdio':J(0x18c)});else throw'Network\x20error,\x20please\x20try\x20again.';}let l=k[0x0]['replace'](/[^0-9.]/gi,'')[J(0x152)](/\r?\n|\r/,'');(typeof b['v']===J(0x14b)||typeof b[J(0x18f)]===J(0x14b))&&(J(0x189)===J(0x146)?h['done']?i(j[J(0x13b)]):k(l['value'])[J(0x144)](m,n):l=b['v']||b['version']);let m=a30y[J(0x14c)](homeDir,'.meteor');if(h){if(J(0x17b)==='dIfqh'){if(this[J(0x145)]['isFile'](g[J(0x160)]))m=n['cert'],o=[J(0x143),p];else throw J(0x164)+q;}else Log[J(0x138)](J(0x136));}else{a30z[J(0x177)](m)&&(yield SpawnAsync['withSpinner']('rm',['-rf',m],{'message':J(0x179)}));try{if(J(0x14a)===J(0x14a)){const t=i?'os.osx.x86_64':J(0x170);yield SpawnAsync[J(0x173)](J(0x14f),[...c,'-s','https://static-meteor.netdna-ssl.com/packages-bootstrap/'+l+J(0x18a)+t+J(0x162),J(0x158),a30y['join'](homeDir,J(0x16d))],{'message':'Downloading\x20meteor\x20version\x20'+l});const u=['-xzf',a30y[J(0x14c)](homeDir,J(0x16d)),'-C',homeDir];yield SpawnAsync[J(0x173)]('tar',u,{'message':J(0x139)+l}),a30A[J(0x168)](a30y[J(0x14c)](homeDir,J(0x16d)),{'force':!![]});}else d=e['v']||f[J(0x18f)];}catch(w){console['error'](w);}try{execSync(J(0x153)+homeDir+J(0x15a),{'stdio':J(0x18c)}),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':'ignore'}),execSync(J(0x150),{'stdio':J(0x18c)}),execSync(J(0x16f),{'stdio':J(0x18c)}),execSync('printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.zshrc',{'stdio':J(0x18c)});}catch(x){console[J(0x17a)](x);}Log[J(0x147)](J(0x169)+l+J(0x17c));}}catch(y){console[J(0x17a)](y),process[J(0x137)](0x0);}});});
1
+ const a30E=a30d;(function(a,b){const B=a30d,c=a();while(!![]){try{const d=-parseInt(B(0x107))/0x1*(parseInt(B(0x136))/0x2)+-parseInt(B(0x12c))/0x3+parseInt(B(0x115))/0x4*(-parseInt(B(0x130))/0x5)+-parseInt(B(0xfb))/0x6+-parseInt(B(0x131))/0x7*(-parseInt(B(0xee))/0x8)+-parseInt(B(0x133))/0x9*(-parseInt(B(0x110))/0xa)+-parseInt(B(0x145))/0xb*(-parseInt(B(0x127))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a30c,0x703c5));const a30b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a30d;if(c){const e=c[C(0x132)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a30a=a30b(this,function(){const D=a30d;return a30a['toString']()[D(0x124)](D(0xe9))['toString']()[D(0x104)](a30a)[D(0x124)](D(0xe9));});a30a();var __awaiter=this&&this[a30E(0x114)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){function h(k){const F=a30d;if(F(0xff)===F(0xf6))throw F(0x129);else try{j(d[F(0xe8)](k));}catch(m){g(m);}}function i(k){const G=a30d;if(G(0x12d)!==G(0x125))try{j(d['throw'](k));}catch(l){g(l);}else b[G(0xfe)](G(0xeb));}function j(k){const H=a30d;if('EIRBM'==='EIRBM')k['done']?f(k[H(0x12e)]):e(k[H(0x12e)])[H(0xfa)](h,i);else{if(e){const m=i[H(0x132)](j,arguments);return k=null,m;}}}j((d=d['apply'](a,b||[]))['next']());});};import a30x from'os';import a30y from'path';import a30z from'fs';import a30A from'delete';function a30c(){const J=['(((.+)+)+)+$','Downloading\x20meteor\x20version\x20','Please\x20use\x20\x22npm\x20i\x20-g\x20meteor\x22\x20to\x20install\x20on\x20windows','allowInsecure','version','4906168fVrQtq','printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.bashrc','darwin','/.local/bin','install','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka.cert,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','Meteor\x20version\x20','printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.zshrc','VzTZB','qQyGx','notice','Using\x20CA\x20Cert\x20','then','2445096isLPef','Aborted','Install\x20a\x20meteor.\x20\x22maka\x20install\x22\x20defaults\x20to\x20\x22maka\x20install\x20meteor\x22','warn','zCVGS','platform','RELEASE=','mkdir\x20-p\x20','replace','constructor','/meteor-bootstrap-','maka\x20install\x20meteor\x20--version\x201.12.1','19GApNeX','curl\x20','cacert','-rf','confirm','create','Allowing\x20insecure\x20curl\x20connections.','NHdhg','\x20-s\x20https://install.meteor.com/','940YRIfxD','isFile','printf\x20\x27export\x20PATH=$PATH:$HOME/.local/bin\x27\x20>>\x20$HOME/.profile\x20&&\x20source\x20$HOME/.profile','Installing\x20meteor\x20','__awaiter','3560ERxBqP','THJcj','homedir','toString','maka\x20i','.meteor','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','exit','error','success','maka\x20install\x20meteor','string','https://static-meteor.netdna-ssl.com/packages-bootstrap/','grep','os.linux.x86_64','search','mBKOG','cPBnp','13668qvghaW','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','Network\x20error,\x20please\x20try\x20again.','xzYyZ','vlmyo','2336745WmrEiV','RTnza','value','awRCG','295stKGfP','7oEBwlZ','apply','12924WolhNU','cert','sync','47548wrgzXJ','--cacert','HezIl','maka\x20install\x20meteor\x20-v\x202.3.6','force','meteor.tar.gz','Removing\x20previous\x20install\x20of\x20meteor','fsi','ignore','join','length','debug','KGycJ','This\x20command\x20should\x20NOT\x20be\x20run\x20as\x20sudo\x20or\x20with\x20administrative\x20privileges.\x20\x20Are\x20you\x20ready\x20to\x20proceed?','nkLAs','13541bifSwG','IDQVi','tar','withSpinner','maka\x20install','\x20installed.\x0a','keepInstall','next'];a30c=function(){return J;};return a30c();}import{execSync}from'child_process';import{SpawnAsync}from'../tools/spawn-async/spawn-async.class.js';function a30d(a,b){const c=a30c();return a30d=function(d,e){d=d-0xe8;let f=c[d];return f;},a30d(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=a30x[a30E(0x117)]();Command[a30E(0x10c)]({'name':a30E(0xf2),'aliases':['i'],'validOpts':['f',a30E(0x13a),'v','version',a30E(0x141),'cacert',a30E(0x14b)],'usage':a30E(0x149),'description':a30E(0xfd),'examples':[a30E(0x11f),'maka\x20install\x20meteor\x20--force',a30E(0x139),a30E(0x106),a30E(0x119)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const I=a30d;try{if(I(0x116)!==I(0x126)){let c=[],d='';if(b['cacert']){if(this[I(0x13d)][I(0x111)](b[I(0x109)]))I(0x12f)===I(0x10e)?(d[I(0x11d)](e),f['exit'](0x0)):(Log[I(0xf8)](I(0xf9)+b[I(0x109)]),d=b[I(0x109)],c=[I(0x137),d]);else{if('VLgLc'===I(0x142)){const p=d[I(0x132)](e,arguments);return f=null,p;}else throw I(0x128)+d;}}const f=yield this[I(0x13d)]['getGlobalConfig']();if(f[I(0x134)]){if(this[I(0x13d)][I(0x111)](f[I(0x134)]))d=f['cert'],c=['--cacert',d];else{if(I(0x138)!==I(0x138))d=e['v']||f[I(0xed)];else throw I(0xf3)+d;}}f[I(0xec)]&&(Log[I(0xfe)](I(0x10d)),c=['-k']);let g=![];b['f']||b[I(0x13a)]?g=!![]:g=yield Actions[I(0x10b)](I(0x143));if(!g){if(I(0x12b)!=='gJxKV')throw I(0xfc);else return f instanceof g?h:new i(function(r){r(k);});}const h=process['platform']==='win32',i=process[I(0x100)]===I(0xf0);let j=execSync(I(0x108)+c['join']('\x20')+I(0x10f))[I(0x118)](),k=yield this['fsi'][I(0x122)](j,I(0x101));if(k[I(0x140)]===0x0)throw'Network\x20error,\x20please\x20try\x20again.';let l=k[0x0][I(0x103)](/[^0-9.]/gi,'')[I(0x103)](/\r?\n|\r/,'');(typeof b['v']===I(0x120)||typeof b[I(0xed)]==='string')&&(l=b['v']||b['version']);let m=a30y['join'](homeDir,I(0x11a));if(h)Log[I(0xfe)](I(0xeb));else{if('SfFtW'===I(0xf7))c(d);else{a30z['existsSync'](m)&&('IDQVi'!==I(0x146)?d(e[I(0xe8)](f)):yield SpawnAsync[I(0x148)]('rm',[I(0x10a),m],{'message':I(0x13c)}));try{const t=i?'os.osx.x86_64':I(0x123);yield SpawnAsync[I(0x148)]('curl',[...c,'-s',I(0x121)+l+I(0x105)+t+'.tar.gz','--output',a30y[I(0x13f)](homeDir,'meteor.tar.gz')],{'message':I(0xea)+l});const u=['-xzf',a30y[I(0x13f)](homeDir,I(0x13b)),'-C',homeDir];yield SpawnAsync['withSpinner'](I(0x147),u,{'message':I(0x113)+l}),a30A[I(0x135)](a30y[I(0x13f)](homeDir,'meteor.tar.gz'),{'force':!![]});}catch(v){console[I(0x11d)](v);}try{'ZszCt'!==I(0x12a)?(execSync(I(0x102)+homeDir+I(0xf1),{'stdio':I(0x13e)}),execSync(I(0x11b),{'stdio':I(0x13e)}),execSync(I(0x112),{'stdio':I(0x13e)}),execSync(I(0xef),{'stdio':I(0x13e)}),execSync(I(0xf5),{'stdio':'ignore'})):h['done']?i(j[I(0x12e)]):k(l['value'])[I(0xfa)](m,n);}catch(x){console[I(0x11d)](x);}Log[I(0x11e)](I(0xf4)+l+I(0x14a));}}}else c['error'](d);}catch(z){if('nkLAs'!==I(0x144))return c[I(0x118)]()[I(0x124)](I(0xe9))[I(0x118)]()['constructor'](d)[I(0x124)](I(0xe9));else console[I(0x11d)](z),process[I(0x11c)](0x0);}});});
@@ -1 +1 @@
1
- const a31A=a31d;(function(a,b){const w=a31d,c=a();while(!![]){try{const d=parseInt(w(0x132))/0x1+-parseInt(w(0x13c))/0x2+-parseInt(w(0x124))/0x3*(parseInt(w(0x14a))/0x4)+-parseInt(w(0x141))/0x5*(parseInt(w(0x13a))/0x6)+-parseInt(w(0x145))/0x7*(parseInt(w(0x12a))/0x8)+parseInt(w(0x13b))/0x9+parseInt(w(0x11f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a31c,0xd1bbf));const a31b=(function(){let a=!![];return function(b,c){const x=a31d;if('owtzC'===x(0x130)){const e=d[x(0x12f)](e,arguments);return f=null,e;}else{const e=a?function(){const y=x;if(c){if(y(0x120)!=='MbRCh')b[y(0x12d)]();else{const g=c[y(0x12f)](b,arguments);return c=null,g;}}}:function(){};return a=![],e;}};}()),a31a=a31b(this,function(){const z=a31d;return a31a['toString']()[z(0x12e)]('(((.+)+)+)+$')[z(0x127)]()[z(0x122)](a31a)[z(0x12e)](z(0x139));});a31a();function a31d(a,b){const c=a31c();return a31d=function(d,e){d=d-0x11d;let f=c[d];return f;},a31d(a,b);}import a31u from'path';import a31v from'fs';import{execSync}from'child_process';function a31c(){const C=['15RTeIuz','maka\x20jsdoc\x20--init','config','toString','\x20-d\x20','writeFileSync','2904UeWBau','jsdoc','sep','stop','search','apply','BDwnN','docs','1072095zUBxqq','utf-8','logError','app/packages','app/public','maka\x20jsdoc','SeiiG','(((.+)+)+)+$','24294foAlGJ','7151337FXsVQO','1479098wFYzZI','pathFromProject','logNotice','app/node_modules','plugins/markdown','1300lerrRw','\x20-r\x20app','logWithSpinner','Use\x20the\x20popular\x20JSDoc\x20documentation\x20generator','16191SzTRgf','jsdoc-config.json','(.+\x5c.app-tests.js)|(^|\x5c/|\x5c\x5c)_','fsi','isFile','400692qBXYxw','closure','[-]\x20You\x20may\x20need\x20to\x20install\x20jsdoc:\x20\x22npm\x20i\x20-g\x20jsdoc\x22','eJADr','21251560jqsLce','MbRCh','.+\x5c.(j|t)s(doc|x)?$','constructor','PtRQp'];a31c=function(){return C;};return a31c();}import{Command}from'../command.js';Command['create']({'name':a31A(0x12b),'usage':a31A(0x137),'mustBeInMakaProject':!![],'description':a31A(0x144),'examples':[a31A(0x125),'maka\x20jsdoc']},function(a){const B=a31A;let b=a31u['join'](this[B(0x148)][B(0x13d)]({}),B(0x131)+a31u[B(0x12c)]),c=a31u['join'](this[B(0x148)][B(0x13d)]({}),B(0x126),B(0x146)),d=this[B(0x148)][B(0x13d)]({}),f='jsdoc';if(!this[B(0x149)](c)){if(B(0x123)!==B(0x11e)){let h={'plugins':[B(0x140)],'tags':{'allowUnknownTags':!![],'dictionaries':[B(0x12b),B(0x14b)]},'source':{'includePattern':B(0x121),'excludePattern':B(0x147),'exclude':[B(0x135),B(0x13f),B(0x136),'app/private']},'templates':{'cleverLinks':![],'monospaceLinks':![]},'opts':{'recursive':!![],'encoding':B(0x133)}};a31v[B(0x129)](c,JSON['stringify'](h,null,0x4));}else{if(e){const j=i[B(0x12f)](j,arguments);return k=null,j;}}}let g=this[B(0x143)]('Running\x20'+f);try{if(B(0x138)===B(0x138)){let j=f+'\x20-c\x20'+c+B(0x142)+a31u[B(0x12c)]+B(0x128)+b;execSync(j,{'cwd':d,'stdio':'inherit'}),this[B(0x13e)]('\x0a[+]\x20Documentation\x20written\x20to\x20'+b);}else return c['toString']()['search']('(((.+)+)+)+$')[B(0x127)]()[B(0x122)](d)[B(0x12e)]('(((.+)+)+)+$');}catch(l){this[B(0x134)](l),this[B(0x134)](B(0x11d));}finally{g[B(0x12d)]();}});
1
+ const a31z=a31d;(function(a,b){const w=a31d,c=a();while(!![]){try{const d=-parseInt(w(0x19b))/0x1*(-parseInt(w(0x192))/0x2)+parseInt(w(0x17b))/0x3*(-parseInt(w(0x188))/0x4)+-parseInt(w(0x17f))/0x5*(parseInt(w(0x177))/0x6)+parseInt(w(0x179))/0x7+parseInt(w(0x181))/0x8*(parseInt(w(0x19a))/0x9)+parseInt(w(0x19f))/0xa+-parseInt(w(0x18e))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a31c,0x64ddb));const a31b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a31d;if(c){if(x(0x17d)!==x(0x1a4)){const e=c[x(0x199)](b,arguments);return c=null,e;}else{let h={'plugins':[x(0x1a7)],'tags':{'allowUnknownTags':!![],'dictionaries':['jsdoc',x(0x187)]},'source':{'includePattern':x(0x186),'excludePattern':x(0x183),'exclude':[x(0x1a1),x(0x196),'app/public','app/private']},'templates':{'cleverLinks':![],'monospaceLinks':![]},'opts':{'recursive':!![],'encoding':x(0x193)}};d[x(0x195)](e,f[x(0x1a8)](h,null,0x4));}}}:function(){};return a=![],d;};}()),a31a=a31b(this,function(){const y=a31d;return a31a[y(0x17e)]()[y(0x19d)](y(0x17c))[y(0x17e)]()[y(0x184)](a31a)[y(0x19d)](y(0x17c));});a31a();import a31u from'path';import a31v from'fs';function a31d(a,b){const c=a31c();return a31d=function(d,e){d=d-0x176;let f=c[d];return f;},a31d(a,b);}import{execSync}from'child_process';function a31c(){const B=['\x20-d\x20','VpIUD','[-]\x20You\x20may\x20need\x20to\x20install\x20jsdoc:\x20\x22npm\x20i\x20-g\x20jsdoc\x22','docs','plugins/markdown','stringify','jsdoc-config.json','zybWY','659796drQPVu','\x0a[+]\x20Documentation\x20written\x20to\x20','3035907wAAgEA','PrYXV','21dmlgHy','(((.+)+)+)+$','tUOiR','toString','10xSzJbD','\x20-c\x20','26560KHBjkN','logError','(.+\x5c.app-tests.js)|(^|\x5c/|\x5c\x5c)_','constructor','logNotice','.+\x5c.(j|t)s(doc|x)?$','closure','31732oYBJOP','join','Use\x20the\x20popular\x20JSDoc\x20documentation\x20generator','AZKcS','app/private','sep','3163369gmVsDF','\x20-r\x20app','app/public','jsdoc','3364GWaXat','utf-8','pathFromProject','writeFileSync','app/node_modules','OHgJR','TyoRB','apply','351gHDGIQ','19cMTylj','maka\x20jsdoc','search','stop','3810500MLSeEh','maka\x20jsdoc\x20--init','app/packages','fsi'];a31c=function(){return B;};return a31c();}import{Command}from'../command.js';Command['create']({'name':a31z(0x191),'usage':a31z(0x19c),'mustBeInMakaProject':!![],'description':a31z(0x18a),'examples':[a31z(0x1a0),a31z(0x19c)]},function(a){const A=a31z;let b=a31u[A(0x189)](this[A(0x1a2)][A(0x194)]({}),A(0x1a6)+a31u['sep']),c=a31u['join'](this[A(0x1a2)][A(0x194)]({}),'config',A(0x1a9)),d=this[A(0x1a2)][A(0x194)]({}),f=A(0x191);if(!this['isFile'](c)){if(A(0x18b)!=='qRpFT'){let h={'plugins':[A(0x1a7)],'tags':{'allowUnknownTags':!![],'dictionaries':[A(0x191),'closure']},'source':{'includePattern':'.+\x5c.(j|t)s(doc|x)?$','excludePattern':A(0x183),'exclude':[A(0x1a1),A(0x196),A(0x190),A(0x18c)]},'templates':{'cleverLinks':![],'monospaceLinks':![]},'opts':{'recursive':!![],'encoding':A(0x193)}};a31v[A(0x195)](c,JSON[A(0x1a8)](h,null,0x4));}else return c[A(0x17e)]()[A(0x19d)]('(((.+)+)+)+$')[A(0x17e)]()['constructor'](d)[A(0x19d)]('(((.+)+)+)+$');}let g=this['logWithSpinner']('Running\x20'+f);try{if(A(0x198)===A(0x176)){let k=h+'\x20-c\x20'+i+A(0x18f)+j[A(0x18d)]+A(0x1a3)+k;l(k,{'cwd':m,'stdio':'inherit'}),this[A(0x185)](A(0x178)+n);}else{let k=f+A(0x180)+c+A(0x18f)+a31u[A(0x18d)]+'\x20-d\x20'+b;execSync(k,{'cwd':d,'stdio':'inherit'}),this[A(0x185)](A(0x178)+b);}}catch(l){this[A(0x182)](l),this[A(0x182)](A(0x1a5));}finally{if(A(0x17a)===A(0x197)){const n=d[A(0x199)](e,arguments);return f=null,n;}else g[A(0x19e)]();}});
@@ -1 +1 @@
1
- const a32D=a32d;(function(a,b){const A=a32d,c=a();while(!![]){try{const d=-parseInt(A(0x146))/0x1+-parseInt(A(0x109))/0x2+-parseInt(A(0x114))/0x3*(-parseInt(A(0x123))/0x4)+-parseInt(A(0x13d))/0x5*(-parseInt(A(0x14b))/0x6)+-parseInt(A(0x120))/0x7*(parseInt(A(0x144))/0x8)+parseInt(A(0x11d))/0x9+-parseInt(A(0x149))/0xa*(parseInt(A(0x10b))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a32c,0x3d0f4));const a32b=(function(){let a=!![];return function(b,c){const d=a?function(){const B=a32d;if('Vrlty'!==B(0x133))c=d[B(0x12f)];else{if(c){const f=c[B(0x140)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a32a=a32b(this,function(){const C=a32d;return a32a['toString']()[C(0x11a)](C(0x12e))[C(0x14d)]()[C(0x147)](a32a)['search']('(((.+)+)+)+$');});a32a();var __awaiter=this&&this[a32D(0x13c)]||function(a,b,c,d){function e(f){const E=a32d;if(E(0x142)===E(0x142))return f instanceof c?f:new c(function(g){const F=E;F(0x145)!==F(0x145)?h[F(0x13a)]?i(j[F(0x119)]):k(l[F(0x119)])['then'](m,n):g(f);});else e[E(0x118)](),f['error'](g),h[E(0x134)](0x0);}return new(c||(c=Promise))(function(f,g){const J=a32d;function h(k){const G=a32d;try{G(0x138)===G(0x138)?j(d[G(0x11e)](k)):d[G(0x107)](e,{'cert':f});}catch(m){g(m);}}function i(k){const H=a32d;try{H(0x136)===H(0x11c)?c(d):j(d[H(0x124)](k));}catch(m){g(m);}}function j(k){const I=a32d;I(0x131)!=='kBifT'?k[I(0x13a)]?f(k[I(0x119)]):e(k[I(0x119)])['then'](h,i):d[I(0x107)](e,{'cert':f});}j((d=d[J(0x140)](a,b||[]))[J(0x11e)]());});};import a32u 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 a32d(a,b){const c=a32c();return a32d=function(d,e){d=d-0x107;let f=c[d];return f;},a32d(a,b);}function a32c(){const M=['setGlobalConfig','eHpGA','help','8FyhkHR','RUBrb','224045yRdWSf','constructor','get','10sUtGtq','jeVpy','437544NnJkKJ','cacert','toString','jZpul','Email:','maka\x20login','https://www.maka-cli.com/api/v1/encodeJwt','assign','www.maka-cli.com','42622DmbcHE','debug','2390311Niohyl','Preflight\x20Check','TIMEOUT','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','password','https://www.maka-cli.com/api/v1/status','ask','Password:\x20','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','6DkgMPU','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','email','isFile','failure','value','search','withSpinner','UvfDM','326934WPXSFY','next','Using\x20CA\x20Cert\x20','347641PFTKJp','success','qXAEL','868796NhXMSX','throw','post','notice','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','fsi','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','Logging\x20into\x20https://www.maka-cli.com','create','sha256','digest','(((.+)+)+)+$','cert','MCqiT','Gwiaa','Kzzod','Vrlty','exit','WjPyu','mKkBa','error','MlDxh','Logging\x20in','done','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','__awaiter','20jCBbTi','tOsYs','VOXMs','apply'];a32c=function(){return M;};return a32c();}import{HTTPS}from'../tools/https/https.class.js';Command['create']({'name':'login','validOpts':[a32D(0x116),a32D(0x10f),a32D(0x143),a32D(0x14c),a32D(0x10a)],'usage':a32D(0x150),'maxArgLength':0x2,'disableAuthCheck':!![],'description':'Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','examples':[a32D(0x150),a32D(0x129)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const K=a32d;let c=Log[K(0x11b)]();try{if(K(0x122)!==K(0x132)){let d='';if(b[K(0x14c)]){if(this[K(0x128)][K(0x117)](b[K(0x14c)])){if('MCqiT'!==K(0x130)){const q={'token':f,'hash':g};h[K(0x14c)]&&k[K(0x107)](q,{'cert':l}),this[K(0x128)][K(0x141)]({'config':q});}else d=b[K(0x14c)],Log[K(0x126)](K(0x11f)+d);}else Log['error'](K(0x13b)+d);}const f=this[K(0x128)]['getGlobalConfig']();if(f[K(0x12f)]){if('nAuCn'==='nAuCn'){if(this[K(0x128)][K(0x117)](f[K(0x12f)]))d=f['cert'];else{Log[K(0x137)](K(0x10e)+d);return;}}else d['assign'](e,{'cert':f});}Log['header'](K(0x12a));const g={'url':K(0x110)};if(b[K(0x14c)]){if(K(0x14e)==='rsOTv'){b['failure']();throw K(0x127);}else Object[K(0x107)](g,{'cert':d});}c['start'](K(0x10c));const h=yield HTTPS[K(0x148)](g);if(h===K(0x10d)){c[K(0x118)]();throw K(0x127);}c['success']();let i=b['email']?b[K(0x116)]:yield Actions[K(0x111)](K(0x14f)),j=b['password']?b['password']:yield Actions[K(0x111)](K(0x112),!![]);if(h!==':D'){if(K(0x14a)!==K(0x14a)){const t=g?function(){const L=K;if(t){const u=q[L(0x140)](r,arguments);return s=null,u;}}:function(){};return l=![],t;}else throw K(0x113);}const k=a32u['md'][K(0x12c)][K(0x12b)]();k['update'](j);const l=k[K(0x12d)]()['toHex'](),m={'hostname':K(0x108),'path':'/api/v1/login','data':{'email':i,'password':l,'hashed':!![]}};b['cacert']&&Object[K(0x107)](m,{'cert':d});c['start'](K(0x139));const n=yield HTTPS[K(0x125)](m);if(n===K(0x10d)){c['failure']('\x0a');throw K(0x115);}let o=null;if(n['authToken']){const t={'url':K(0x151),'headers':{'x-auth-token':n['authToken']}};if(b[K(0x14c)]){if(K(0x135)===K(0x135))Object[K(0x107)](t,{'cert':d});else{const v=d[K(0x140)](e,arguments);return f=null,v;}}o=yield HTTPS[K(0x148)](t);if(o===K(0x10d)){c['failure']('\x0a');throw K(0x115);}}else{if('cjiKV'===K(0x13e))return f instanceof g?h:new i(function(w){w(k);});else throw n;}if(o){if('sbyLI'===K(0x13f))c(d);else{const x={'token':n,'hash':o};b['cacert']&&Object['assign'](x,{'cert':d}),this[K(0x128)]['setGlobalConfig']({'config':x});}}c[K(0x121)]();}else return c[K(0x14d)]()[K(0x11a)]('(((.+)+)+)+$')[K(0x14d)]()[K(0x147)](d)[K(0x11a)](K(0x12e));}catch(z){c[K(0x118)](),console[K(0x137)](z),process[K(0x134)](0x0);}});});
1
+ function a32d(a,b){const c=a32c();return a32d=function(d,e){d=d-0x85;let f=c[d];return f;},a32d(a,b);}function a32c(){const M=['/api/v1/login','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','42136QTQMpF','toString','next','BvdWz','assign','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','rrISW','BBsTB','update','5222214HZMAXF','Password:\x20','MMGQK','done','failure','4329999UVdbrB','start','8624924yHXSVt','authToken','fsi','24lrtEhQ','email','withSpinner','login','__awaiter','debug','pUCyF','Using\x20CA\x20Cert\x20','Preflight\x20Check','https://www.maka-cli.com/api/v1/status','error','gpfYN','getGlobalConfig','AgCBD','1530214ytMTLl','https://www.maka-cli.com/api/v1/encodeJwt','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\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','notice','tIXPd','MLqiL','value','2303570YtPUjr','bJkyk','10WRtNbR','success','1042669xJiZjy','constructor','post','get','password','eRqAM','tRrxr','Logging\x20into\x20https://www.maka-cli.com','Logging\x20in','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','opNTi','toHex','qhKZt','erBwe','isFile','search','TIMEOUT','apply','maka\x20login','setGlobalConfig','YnYri','3ligXUz','ask','throw','then','digest','10QdBRud','cert','sha256','rNrVS','(((.+)+)+)+$','cacert'];a32c=function(){return M;};return a32c();}const a32F=a32d;(function(a,b){const C=a32d,c=a();while(!![]){try{const d=-parseInt(C(0xbb))/0x1+parseInt(C(0xb7))/0x2*(parseInt(C(0xd0))/0x3)+-parseInt(C(0x8e))/0x4*(-parseInt(C(0x85))/0x5)+parseInt(C(0x97))/0x6+-parseInt(C(0xaf))/0x7*(parseInt(C(0xa1))/0x8)+parseInt(C(0x9c))/0x9*(-parseInt(C(0xb9))/0xa)+parseInt(C(0x9e))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a32c,0x9e228));const a32b=(function(){let a=!![];return function(b,c){const d=a?function(){const D=a32d;if('eRqAM'!==D(0xc0)){const f={'token':f,'hash':g};h[D(0x8a)]&&k[D(0x92)](f,{'cert':l}),this[D(0xa0)][D(0xce)]({'config':f});}else{if(c){if(D(0x91)==='BvdWz'){const f=c[D(0xcc)](b,arguments);return c=null,f;}else h[D(0x9a)]?i(j[D(0xb6)]):k(l[D(0xb6)])[D(0xd3)](m,n);}}}:function(){};return a=![],d;};}()),a32a=a32b(this,function(){const E=a32d;return a32a[E(0x8f)]()[E(0xca)](E(0x89))[E(0x8f)]()[E(0xbc)](a32a)['search']('(((.+)+)+)+$');});a32a();var __awaiter=this&&this[a32F(0xa5)]||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 J=a32d;function h(k){const G=a32d;try{j(d['next'](k));}catch(l){G(0xc7)!==G(0xae)?g(l):c(d);}}function i(k){const H=a32d;if(H(0xb8)!==H(0x94))try{if('tRrxr'===H(0xc1))j(d[H(0xd2)](k));else return c[H(0x8f)]()['search'](H(0x89))[H(0x8f)]()['constructor'](d)['search'](H(0x89));}catch(m){g(m);}else{const o=d[H(0xcc)](e,arguments);return f=null,o;}}function j(k){const I=a32d;k['done']?f(k[I(0xb6)]):e(k['value'])[I(0xd3)](h,i);}j((d=d['apply'](a,b||[]))[J(0x90)]());});};import a32u from'node-forge';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';Command['create']({'name':a32F(0xa4),'validOpts':[a32F(0xa2),a32F(0xbf),'help',a32F(0x8a),a32F(0xa6)],'usage':a32F(0xcd),'maxArgLength':0x2,'disableAuthCheck':!![],'description':a32F(0xb2),'examples':[a32F(0xcd),'maka\x20login\x20--email\x20<address>\x20--password\x20<password>']},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const K=a32d;if(K(0xac)!=='gpfYN'){b[K(0x9b)]('\x0a');throw K(0xb1);}else{let d=Log[K(0xa3)]();try{let f='';b[K(0x8a)]&&(K(0x88)===K(0x88)?this['fsi'][K(0xc9)](b[K(0x8a)])?K(0xc5)!==K(0xc5)?d[K(0x92)](e,{'cert':f}):(f=b[K(0x8a)],Log['notice'](K(0xa8)+f)):Log[K(0xab)](K(0x93)+f):this[K(0xa0)][K(0xc9)](h['cacert'])?(o=p[K(0x8a)],q[K(0xb3)]('Using\x20CA\x20Cert\x20'+r)):s[K(0xab)](K(0x93)+t));const g=this[K(0xa0)][K(0xad)]();if(g['cert']){if(K(0x95)===K(0x95)){if(this[K(0xa0)]['isFile'](g['cert']))f=g[K(0x86)];else{if(K(0x99)!==K(0x99))c=d[K(0x86)];else{Log[K(0xab)](K(0xc4)+f);return;}}}else return f instanceof g?h:new i(function(u){u(k);});}Log['header'](K(0xc2));const h={'url':K(0xaa)};b[K(0x8a)]&&Object['assign'](h,{'cert':f});d[K(0x9d)](K(0xa9));const i=yield HTTPS[K(0xbe)](h);if(i===K(0xcb)){d[K(0x9b)]();throw K(0x8c);}d[K(0xba)]();let j=b[K(0xa2)]?b[K(0xa2)]:yield Actions[K(0xd1)]('Email:'),k=b[K(0xbf)]?b[K(0xbf)]:yield Actions[K(0xd1)](K(0x98),!![]);if(i!==':D'){if('BFGDm'!==K(0xc8))throw K(0x8d);else{b[K(0x9b)]('\x0a');throw K(0xb1);}}const l=a32u['md'][K(0x87)]['create']();l[K(0x96)](k);const m=l[K(0xd4)]()[K(0xc6)](),n={'hostname':'www.maka-cli.com','path':K(0x8b),'data':{'email':j,'password':m,'hashed':!![]}};b['cacert']&&('ZFrJR'===K(0xb4)?d[K(0x92)](e,{'cert':f}):Object[K(0x92)](n,{'cert':f}));d[K(0x9d)](K(0xc3));const o=yield HTTPS[K(0xbd)](n);if(o===K(0xcb)){d[K(0x9b)]('\x0a');throw K(0xb1);}let p=null;if(o['authToken']){if(K(0xb5)!==K(0xb5)){const x=g?function(){const L=K;if(x){const y=q[L(0xcc)](r,arguments);return s=null,y;}}:function(){};return l=![],x;}else{const x={'url':K(0xb0),'headers':{'x-auth-token':o[K(0x9f)]}};b[K(0x8a)]&&(K(0xcf)!=='YnYri'?d(e[K(0x90)](f)):Object[K(0x92)](x,{'cert':f}));p=yield HTTPS[K(0xbe)](x);if(p==='TIMEOUT'){d[K(0x9b)]('\x0a');throw K(0xb1);}}}else throw o;if(p){if('jTgAn'===K(0xa7)){b[K(0x9b)]();throw K(0x8c);}else{const A={'token':o,'hash':p};b['cacert']&&Object[K(0x92)](A,{'cert':f}),this[K(0xa0)][K(0xce)]({'config':A});}}d['success']();}catch(B){d[K(0x9b)](),console[K(0xab)](B),process['exit'](0x0);}}});});
@@ -1 +1 @@
1
- const a33D=a33d;(function(a,b){const u=a33d,c=a();while(!![]){try{const d=-parseInt(u(0x204))/0x1+-parseInt(u(0x1dc))/0x2*(parseInt(u(0x20a))/0x3)+-parseInt(u(0x1e8))/0x4+-parseInt(u(0x1ed))/0x5*(parseInt(u(0x1ec))/0x6)+-parseInt(u(0x1f9))/0x7+-parseInt(u(0x208))/0x8+parseInt(u(0x1e6))/0x9*(parseInt(u(0x205))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0xdce51));const a33b=(function(){let a=!![];return function(b,c){const v=a33d;if(v(0x1e1)===v(0x202))return c[v(0x1ff)]()['search']('(((.+)+)+)+$')[v(0x1ff)]()['constructor'](d)['search']('(((.+)+)+)+$');else{const e=a?function(){const w=v;if(c){const f=c[w(0x20d)](b,arguments);return c=null,f;}}:function(){};return a=![],e;}};}()),a33a=a33b(this,function(){const x=a33d;return a33a['toString']()[x(0x1ea)](x(0x1f2))[x(0x1ff)]()[x(0x203)](a33a)['search'](x(0x1f2));});a33a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const y=a33d;y(0x206)==='ORjxn'?this['fsi'][y(0x1d5)](h['cacert'])?(o=p['cacert'],q[y(0x1fc)]('Using\x20CA\x20Cert\x20'+r)):s[y(0x1ee)](y(0x1df)+t):g(f);});}return new(c||(c=Promise))(function(f,g){const C=a33d;function h(k){const z=a33d;try{'cLqPx'!==z(0x1f1)?j(d['next'](k)):(e&&i[z(0x1ee)](j),h[z(0x1e5)](0x0));}catch(m){g(m);}}function i(k){const A=a33d;if('JNUYY'!==A(0x20b))c(d);else try{j(d[A(0x1e3)](k));}catch(m){g(m);}}function j(k){const B=a33d;k[B(0x1fe)]?f(k[B(0x1e7)]):e(k[B(0x1e7)])[B(0x1d2)](h,i);}j((d=d[C(0x20d)](a,b||[]))['next']());});};import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';function a33d(a,b){const c=a33c();return a33d=function(d,e){d=d-0x1d2;let f=c[d];return f;},a33d(a,b);}function a33c(){const F=['apply','setGlobalConfig','success','then','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','logout','isFile','cert','Logging\x20out','ctmsL','cacert','https://www.maka-cli.com/api/v1/status','assign','14XvbThe','withSpinner','authToken','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','header','hqHKU','egIGJ','throw','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','exit','20519523bDzwtV','value','941780VKqidZ','/api/v1/logoutAll','search','CVrhN','236976vRvoab','10IwNCjP','error','RfoAR','www.maka-cli.com','dCJgp','(((.+)+)+)+$','Using\x20CA\x20Cert\x20','failure','ftxEp','yroPg','start','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','1245174qfQDRM','token','fsi','notice','Logging\x20out\x20of\x20https://www.maka-cli.com','done','toString','getGlobalConfig','IUhIe','rYXaL','constructor','1730582taMmgS','20aIZHVE','OLTNW','maka\x20logout','1522872QIyRZd','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','532221TVTdcx','JNUYY','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com'];a33c=function(){return F;};return a33c();}Command['create']({'name':a33D(0x1d4),'validOpts':[a33D(0x1d9)],'usage':'maka\x20logout','maxArgLength':0x2,'description':a33D(0x209),'disableAuthCheck':!![],'examples':[a33D(0x207)]},function(a,b){var c;return __awaiter(this,void 0x0,void 0x0,function*(){const E=a33d;let d=Log[E(0x1dd)]();try{if(E(0x1f6)!==E(0x1f6)){if(this[E(0x1fb)][E(0x1d5)](g[E(0x1d6)]))m=n[E(0x1d6)];else{o[E(0x1f4)]();throw p['error'](E(0x1d3)+q);}}else{let g='';b[E(0x1d9)]&&(this['fsi'][E(0x1d5)](b[E(0x1d9)])?'orryu'!==E(0x1ef)?(g=b[E(0x1d9)],Log[E(0x1fc)](E(0x1f3)+g)):d(e[E(0x1e3)](f)):Log[E(0x1ee)](E(0x1df)+g));const h=yield this[E(0x1fb)][E(0x200)]();if(h[E(0x1d6)]){if(this[E(0x1fb)][E(0x1d5)](h[E(0x1d6)]))g=h['cert'];else{d[E(0x1f4)]();throw Log[E(0x1ee)](E(0x1d3)+g);}}Log[E(0x1e0)](E(0x1fd));const i={'url':E(0x1da)};b[E(0x1d9)]&&(E(0x1eb)===E(0x201)?d[E(0x1db)](e,{'cert':f}):Object[E(0x1db)](i,{'cert':g}));d[E(0x1f7)]('Preflight\x20Check');const j=yield HTTPS['get'](i);if(j==='TIMEOUT'){d[E(0x1f4)]();throw E(0x20c);}d['success']();if(j!==':D'){if(E(0x1f5)!=='ftxEp'){b[E(0x1f4)]();throw E(0x1e4);}else{d['failure']();throw E(0x1e4);}}if(!((c=h===null||h===void 0x0?void 0x0:h[E(0x1fa)])===null||c===void 0x0?void 0x0:c['authToken'])){if(E(0x1d8)!==E(0x1d8))c=d[E(0x1d6)];else throw Log[E(0x1ee)](E(0x1f8));}d['start'](E(0x1d7));const k={'hostname':E(0x1f0),'path':E(0x1e9),'data':{},'headers':{'x-auth-token':h[E(0x1fa)][E(0x1de)]}};if(b[E(0x1d9)]){if(E(0x1e2)!=='egIGJ'){d['failure']();throw e['error'](E(0x1d3)+f);}else Object[E(0x1db)](k,{'cert':g});}const l=yield HTTPS['post'](k);if(l==='TIMEOUT'){d[E(0x1f4)]('\x0a');throw E(0x20c);}this[E(0x1fb)][E(0x20e)]({'config':{'token':{'authToken':'','userId':'','when':''},'hash':''}}),d[E(0x20f)]();}}catch(r){r&&console[E(0x1ee)](r),process[E(0x1e5)](0x0);}});});
1
+ function a33d(a,b){const c=a33c();return a33d=function(d,e){d=d-0xc3;let f=c[d];return f;},a33d(a,b);}const a33B=a33d;(function(a,b){const u=a33d,c=a();while(!![]){try{const d=-parseInt(u(0xdd))/0x1+-parseInt(u(0xce))/0x2*(parseInt(u(0xd8))/0x3)+parseInt(u(0xd1))/0x4*(-parseInt(u(0xd2))/0x5)+parseInt(u(0xd3))/0x6+parseInt(u(0xe6))/0x7+-parseInt(u(0x101))/0x8+-parseInt(u(0xcb))/0x9*(-parseInt(u(0xc8))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0xb2083));const a33b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a33d;if('bKUlG'===v(0xd6)){if(c){const e=c[v(0xdb)](b,arguments);return c=null,e;}}else{b[v(0xf9)]();throw v(0xcc);}}:function(){};return a=![],d;};}()),a33a=a33b(this,function(){const w=a33d;return a33a[w(0xee)]()['search'](w(0xe8))[w(0xee)]()[w(0xfc)](a33a)[w(0xca)](w(0xe8));});a33a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){const x=a33d;if(x(0xd7)!=='TUnjX')return f instanceof c?f:new c(function(g){g(f);});else c(d);}return new(c||(c=Promise))(function(f,g){const A=a33d;function h(k){try{j(d['next'](k));}catch(l){g(l);}}function i(k){const y=a33d;try{'nsasG'==='nsasG'?j(d[y(0xfa)](k)):(e=f[y(0xe2)],g[y(0xe3)](y(0xcf)+h));}catch(m){if(y(0xf0)===y(0xfe))throw b['error'](y(0xe0));else g(m);}}function j(k){const z=a33d;k[z(0x100)]?f(k[z(0xed)]):e(k[z(0xed)])[z(0xcd)](h,i);}j((d=d[A(0xdb)](a,b||[]))[A(0xf4)]());});};import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';function a33c(){const D=['Logging\x20out\x20of\x20https://www.maka-cli.com','cacert','notice','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','error','277438HdIOBi','maka\x20logout','(((.+)+)+)+$','jtMWq','header','getGlobalConfig','start','value','toString','get','GMDHV','token','sTktt','CpSQF','next','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','exit','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','isFile','failure','throw','post','constructor','success','wfQWX','OOxjV','done','2457552HNGMTj','IWsbR','authToken','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','Preflight\x20Check','cert','1408690pIfssT','www.maka-cli.com','search','144mVtEbW','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','then','16934drxukP','Using\x20CA\x20Cert\x20','uucuU','8664izjQDf','825kwFBmW','5645142vwrwDb','https://www.maka-cli.com/api/v1/status','TIMEOUT','bKUlG','VVlFK','225nGSJKJ','setGlobalConfig','rGOfO','apply','create','1205567mfwFbb','fsi','/api/v1/logoutAll','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?'];a33c=function(){return D;};return a33c();}Command[a33B(0xdc)]({'name':'logout','validOpts':[a33B(0xe2)],'usage':a33B(0xe7),'maxArgLength':0x2,'description':a33B(0xf5),'disableAuthCheck':!![],'examples':[a33B(0xe7)]},function(a,b){var c;return __awaiter(this,void 0x0,void 0x0,function*(){const C=a33d;let d=Log['withSpinner']();try{let f='';b['cacert']&&(this[C(0xde)][C(0xf8)](b[C(0xe2)])?(f=b[C(0xe2)],Log[C(0xe3)](C(0xcf)+f)):Log[C(0xe5)](C(0xc5)+f));const g=yield this['fsi'][C(0xeb)]();if(g[C(0xc7)]){if(C(0xda)==='rGOfO'){if(this[C(0xde)][C(0xf8)](g[C(0xc7)])){if(C(0xd0)!=='bDfIK')f=g[C(0xc7)];else{b[C(0xf9)]('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}}else{d[C(0xf9)]();throw Log[C(0xe5)](C(0xe4)+f);}}else e&&i[C(0xe5)](j),h[C(0xf6)](0x0);}Log[C(0xea)](C(0xe1));const h={'url':C(0xd4)};b['cacert']&&Object['assign'](h,{'cert':f});d[C(0xec)](C(0xc6));const i=yield HTTPS[C(0xef)](h);if(i==='TIMEOUT'){if(C(0xc3)===C(0xff))c=d['cert'];else{d['failure']();throw C(0xf7);}}d[C(0xfd)]();if(i!==':D'){if(C(0xe9)!==C(0xe9))d(e['next'](f));else{d[C(0xf9)]();throw'https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli';}}if(!((c=g===null||g===void 0x0?void 0x0:g[C(0xf1)])===null||c===void 0x0?void 0x0:c[C(0xc4)]))throw Log[C(0xe5)]('Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?');d[C(0xec)]('Logging\x20out');const j={'hostname':C(0xc9),'path':C(0xdf),'data':{},'headers':{'x-auth-token':g['token']['authToken']}};b[C(0xe2)]&&Object['assign'](j,{'cert':f});const k=yield HTTPS[C(0xfb)](j);if(k===C(0xd5)){if('uKecR'!==C(0xf2)){d[C(0xf9)]('\x0a');throw C(0xf7);}else return f instanceof g?h:new i(function(q){q(k);});}this[C(0xde)][C(0xd9)]({'config':{'token':{'authToken':'','userId':'','when':''},'hash':''}}),d[C(0xfd)]();}catch(q){if(q){if(C(0xf3)===C(0xf3))console['error'](q);else try{i(j['throw'](k));}catch(s){m(s);}}process['exit'](0x0);}});});
@@ -1 +1 @@
1
- const a34D=a34d;(function(a,b){const A=a34d,c=a();while(!![]){try{const d=parseInt(A(0x16b))/0x1+-parseInt(A(0x15e))/0x2*(-parseInt(A(0x172))/0x3)+-parseInt(A(0x179))/0x4+parseInt(A(0x162))/0x5+parseInt(A(0x180))/0x6*(parseInt(A(0x15d))/0x7)+parseInt(A(0x15f))/0x8*(-parseInt(A(0x174))/0x9)+-parseInt(A(0x169))/0xa*(parseInt(A(0x164))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0x42d61));const a34b=(function(){let a=!![];return function(b,c){const d=a?function(){const B=a34d;if(B(0x175)!==B(0x177)){if(c){const e=c['apply'](b,arguments);return c=null,e;}}else{if(e){const g=i[B(0x161)](j,arguments);return k=null,g;}}}:function(){};return a=![],d;};}()),a34a=a34b(this,function(){const C=a34d;return a34a[C(0x171)]()['search']('(((.+)+)+)+$')[C(0x171)]()['constructor'](a34a)[C(0x160)](C(0x173));});a34a();function a34c(){const F=['log','7423790rCOzup','dqqep','52907MuyqHB','env','sshSync','fsi','maka\x20logs\x20--env\x20staging','help','toString','39945oiySKJ','(((.+)+)+)+$','36lotydE','FBWXH','maka\x20logs\x20--env\x20dev','veskp','maka\x20logs\x20--env\x20prod','153224gDeOmh','assign','ssh.json','readFileSync','pm2\x20logs','View\x20the\x20PM2\x20logs','create','429108KIJOTV','getConfigPath','JOZqQ','35zflqUU','76khKxeD','366032nFzanq','search','apply','1604975NxtDho','parse','11cBDspE','Orwuh','logs','join'];a34c=function(){return F;};return a34c();}import a34y from'fs';import a34z from'path';function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0x15b;let f=c[d];return f;},a34d(a,b);}import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a34D(0x17f)]({'name':a34D(0x166),'aliases':['l',a34D(0x168)],'usage':a34D(0x178),'requiredOpts':[a34D(0x16c)],'mustBeInMakaProject':!![],'validOpts':[a34D(0x170)],'description':a34D(0x17e),'examples':[a34D(0x176),a34D(0x16f),'maka\x20l\x20-e\x20p']},function(a,b){const E=a34D;try{if('eQWfD'===E(0x15c))try{const d=E(0x17d),f=this[E(0x16e)][E(0x15b)](m[E(0x16c)]),g=n['join'](f,E(0x17b)),h=o['readFileSync'](g),i=p[E(0x163)](h[E(0x171)]());q[E(0x17a)](i,{'env':f}),r['sshSync'](d,i,{'tty':!![],'verbose':!![]});}catch(j){throw j;}else{const d='pm2\x20logs',f=this[E(0x16e)][E(0x15b)](b[E(0x16c)]),g=a34z[E(0x167)](f,E(0x17b)),h=a34y[E(0x17c)](g),i=JSON[E(0x163)](h[E(0x171)]());Object['assign'](i,{'env':f}),SSH[E(0x16d)](d,i,{'tty':!![],'verbose':!![]});}}catch(j){if(E(0x165)===E(0x16a)){const l=d[E(0x161)](j,arguments);return f=null,l;}else throw j;}});
1
+ function a34c(){const G=['join','assign','env','View\x20the\x20PM2\x20logs','readFileSync','3eRjIzY','log','614135wfSWBb','ssh.json','create','6277270ZgeFln','parse','22JbzuNm','help','apply','98kVNliC','sshSync','maka\x20logs\x20--env\x20staging','jipWZ','6577512JtlUkr','92448OoukPB','NdMSw','toString','pm2\x20logs','fsi','1421708rKmGBb','maka\x20l\x20-e\x20p','9jyhCoU','1651602jRAADT','1QBEbrm','search','1483080ooZYek','maka\x20logs\x20--env\x20prod','logs'];a34c=function(){return G;};return a34c();}const a34E=a34d;(function(a,b){const A=a34d,c=a();while(!![]){try{const d=parseInt(A(0x15f))/0x1*(-parseInt(A(0x15b))/0x2)+parseInt(A(0x169))/0x3*(parseInt(A(0x161))/0x4)+parseInt(A(0x16b))/0x5+parseInt(A(0x15e))/0x6+parseInt(A(0x151))/0x7*(-parseInt(A(0x156))/0x8)+-parseInt(A(0x15d))/0x9*(parseInt(A(0x16e))/0xa)+-parseInt(A(0x170))/0xb*(-parseInt(A(0x155))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0x590cf));const a34b=(function(){let a=!![];return function(b,c){const d=a?function(){const B=a34d;if(B(0x154)==='sUowB'){const f=g?function(){const C=B;if(f){const u=q[C(0x150)](r,arguments);return s=null,u;}}:function(){};return l=![],f;}else{if(c){const f=c[B(0x150)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a34a=a34b(this,function(){const D=a34d;return a34a['toString']()['search']('(((.+)+)+)+$')[D(0x158)]()['constructor'](a34a)[D(0x160)]('(((.+)+)+)+$');});function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0x150;let f=c[d];return f;},a34d(a,b);}a34a();import a34y from'fs';import a34z from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a34E(0x16d)]({'name':a34E(0x163),'aliases':['l',a34E(0x16a)],'usage':a34E(0x162),'requiredOpts':[a34E(0x166)],'mustBeInMakaProject':!![],'validOpts':[a34E(0x171)],'description':a34E(0x167),'examples':['maka\x20logs\x20--env\x20dev',a34E(0x153),a34E(0x15c)]},function(a,b){const F=a34E;try{const c=F(0x159),d=this[F(0x15a)]['getConfigPath'](b[F(0x166)]),f=a34z[F(0x164)](d,F(0x16c)),g=a34y[F(0x168)](f),h=JSON[F(0x16f)](g[F(0x158)]());Object[F(0x165)](h,{'env':d}),SSH[F(0x152)](c,h,{'tty':!![],'verbose':!![]});}catch(i){if('QdEcc'!==F(0x157))throw i;else throw b;}});
@@ -1 +1 @@
1
- const a35y=a35d;(function(a,b){const v=a35d,c=a();while(!![]){try{const d=parseInt(v(0xca))/0x1*(parseInt(v(0xd9))/0x2)+parseInt(v(0xe8))/0x3*(parseInt(v(0xcf))/0x4)+-parseInt(v(0xc5))/0x5+parseInt(v(0xe1))/0x6+parseInt(v(0xc7))/0x7+parseInt(v(0xdc))/0x8*(-parseInt(v(0xd3))/0x9)+-parseInt(v(0xc4))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0x2b845));const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a35d;if(c){if(w(0xd0)!=='yEFZy')return c[w(0xc8)]()['search']('(((.+)+)+)+$')[w(0xc8)]()['constructor'](d)[w(0xd1)](w(0xe3));else{const f=c[w(0xcd)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const x=a35d;return a35a[x(0xc8)]()[x(0xd1)](x(0xe3))[x(0xc8)]()[x(0xdf)](a35a)[x(0xd1)](x(0xe3));});a35a();var __awaiter=this&&this[a35y(0xc3)]||function(a,b,c,d){function e(f){const z=a35d;if(z(0xe2)!==z(0xe2))h[z(0xe5)]?i(j['value']):k(l['value'])['then'](m,n);else return f instanceof c?f:new c(function(h){h(f);});}return new(c||(c=Promise))(function(f,g){const D=a35d;function h(k){const A=a35d;if(A(0xd6)!==A(0xd6))c(d);else try{j(d[A(0xe0)](k));}catch(m){g(m);}}function i(k){const B=a35d;if(B(0xcc)!=='pegaI'){const m=d[0x0],n=this['findSubCommand'](m);n?this[B(0xde)](m,g['slice'](0x1),h):this[B(0xdb)][B(0xc1)]();}else try{'syYJf'!==B(0xc0)?c(d):j(d['throw'](k));}catch(n){g(n);}}function j(k){const C=a35d;k[C(0xe5)]?f(k[C(0xd4)]):e(k['value'])[C(0xd5)](h,i);}j((d=d['apply'](a,b||[]))[D(0xe0)]());});};import{Command}from'../command.js';function a35c(){const F=['maka\x20install\x20meteor','maka\x20<command>\x20[<args>]\x20[<opts>]','123nCnayU','syYJf','maybeProxyCommandToMeteor','uftxB','__awaiter','2149630iSdBMj','1528350NBBlIh','KKnji','393386QyFzBR','toString','jRQpa','733aipDwj','maka\x20create\x20Todo','pegaI','apply','exit','29848XIisol','yEFZy','search','maka','47043zGpscX','value','then','WwyxX','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.\x0a\x20\x20Run\x20any\x20command\x20with\x20\x22--help\x22\x20for\x20details','lJBMe','358bROOSx','findSubCommand','fsi','32gehNua','error','runSubCommand','constructor','next','1358634jHkPEP','tbHBy','(((.+)+)+)+$','zHxCj','done'];a35c=function(){return F;};return a35c();}const Maka=new Command({'name':a35y(0xd2),'minArgLength':0x1,'description':a35y(0xd7),'usage':a35y(0xe7),'disableAuthCheck':!![],'examples':[a35y(0xe6),a35y(0xcb),'maka\x20run']},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const E=a35d;if(E(0xe4)===E(0xc2))d[E(0xdd)](e),f['exit'](0x1);else try{const d=a[0x0],f=this[E(0xda)](d);if(f)this[E(0xde)](d,a['slice'](0x1),b);else{if(E(0xd8)===E(0xc9)){if(e){const h=i[E(0xcd)](j,arguments);return k=null,h;}}else this[E(0xdb)]['maybeProxyCommandToMeteor']();}}catch(h){if(E(0xc6)!=='ksTjg')console[E(0xdd)](h),process[E(0xce)](0x1);else{const j=g?function(){if(j){const u=q['apply'](r,arguments);return s=null,u;}}:function(){};return l=![],j;}}});});function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0xc0;let f=c[d];return f;},a35d(a,b);}export default Maka;
1
+ const a35E=a35d;function a35c(){const G=['kQgZa','maka\x20create\x20Todo','26676XFtyhl','zjptj','7587688GYMJrI','constructor','IrTon','maka\x20install\x20meteor','throw','next','3Qrovmn','slice','ONrnf','findSubCommand','16874tsjRTL','search','(((.+)+)+)+$','value','exit','maka','90ftRnnf','maka\x20run','VoKLF','6355360BLqSSZ','BRHBn','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.\x0a\x20\x20Run\x20any\x20command\x20with\x20\x22--help\x22\x20for\x20details','516288FXkBec','1042857hiDhTr','nbUfs','apply','1297336yJhGJg','maybeProxyCommandToMeteor','85tcCsFF','6xbEaqh','hvlAr','534854YFeLMd','toString','runSubCommand','fsi','error','63gtVqAI','then','HaWMo'];a35c=function(){return G;};return a35c();}(function(a,b){const u=a35d,c=a();while(!![]){try{const d=-parseInt(u(0x1f6))/0x1*(-parseInt(u(0x1f4))/0x2)+parseInt(u(0x208))/0x3*(-parseInt(u(0x202))/0x4)+-parseInt(u(0x1f3))/0x5*(-parseInt(u(0x1ed))/0x6)+parseInt(u(0x1fb))/0x7*(-parseInt(u(0x1f1))/0x8)+parseInt(u(0x1ee))/0x9*(-parseInt(u(0x212))/0xa)+-parseInt(u(0x215))/0xb+parseInt(u(0x200))/0xc*(parseInt(u(0x20c))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0xee3ae));function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x1eb;let f=c[d];return f;},a35d(a,b);}const a35b=(function(){let a=!![];return function(b,c){const v=a35d;if('UpDOy'!==v(0x214)){const d=a?function(){const w=v;if(c){const e=c[w(0x1f0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;}else return c['toString']()[v(0x20d)](v(0x20e))['toString']()[v(0x203)](d)['search'](v(0x20e));};}()),a35a=a35b(this,function(){const x=a35d;return a35a['toString']()[x(0x20d)](x(0x20e))[x(0x1f7)]()[x(0x203)](a35a)[x(0x20d)](x(0x20e));});a35a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){const y=a35d;if(y(0x1eb)!=='BRHBn')this[y(0x1f8)](d,e[y(0x209)](0x1),f);else return f instanceof c?f:new c(function(h){const z=y;z(0x1fd)==='XHAwe'?(d[z(0x1fa)](e),f[z(0x210)](0x1)):h(f);});}return new(c||(c=Promise))(function(f,g){const D=a35d;function h(k){const A=a35d;try{A(0x1fe)!==A(0x201)?j(d[A(0x207)](k)):this[A(0x1f9)][A(0x1f2)]();}catch(m){g(m);}}function i(k){const B=a35d;try{'aGemn'===B(0x1f5)?c(d):j(d[B(0x206)](k));}catch(m){g(m);}}function j(k){const C=a35d;k['done']?f(k[C(0x20f)]):e(k[C(0x20f)])[C(0x1fc)](h,i);}j((d=d['apply'](a,b||[]))[D(0x207)]());});};import{Command}from'../command.js';const Maka=new Command({'name':a35E(0x211),'minArgLength':0x1,'description':a35E(0x1ec),'usage':'maka\x20<command>\x20[<args>]\x20[<opts>]','disableAuthCheck':!![],'examples':[a35E(0x205),a35E(0x1ff),a35E(0x213)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const F=a35d;if('ONrnf'!==F(0x20a))return f instanceof g?h:new i(function(m){m(k);});else try{const d=a[0x0],f=this[F(0x20b)](d);f?'nbUfs'!==F(0x1ef)?c(d):this['runSubCommand'](d,a[F(0x209)](0x1),b):this[F(0x1f9)]['maybeProxyCommandToMeteor']();}catch(h){if('qLkEc'!==F(0x204))console[F(0x1fa)](h),process[F(0x210)](0x1);else{if(h){const j=i[F(0x1f0)](j,arguments);return k=null,j;}}}});});export default Maka;
@@ -1 +1 @@
1
- var a36A=a36d;function a36d(a,b){var c=a36c();return a36d=function(d,e){d=d-0x1ac;var f=c[d];return f;},a36d(a,b);}(function(a,b){var v=a36d,c=a();while(!![]){try{var d=parseInt(v(0x1c8))/0x1*(parseInt(v(0x1d4))/0x2)+parseInt(v(0x1be))/0x3*(parseInt(v(0x1ce))/0x4)+parseInt(v(0x1c2))/0x5*(-parseInt(v(0x1bc))/0x6)+parseInt(v(0x1b7))/0x7*(parseInt(v(0x1c6))/0x8)+-parseInt(v(0x1cc))/0x9*(-parseInt(v(0x1bf))/0xa)+parseInt(v(0x1ba))/0xb*(-parseInt(v(0x1c5))/0xc)+parseInt(v(0x1d6))/0xd*(-parseInt(v(0x1bb))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x9ced4));var a36b=(function(){var a=!![];return function(b,c){var w=a36d;if(w(0x1d5)!==w(0x1d5))return e(this,void 0x0,void 0x0,function*(){var x=w;try{l['log'](x(0x1d1),x(0x1cf));}catch(r){o[x(0x1b6)](r),p[x(0x1bd)](0x0);}});else{var d=a?function(){var y=w;if(c){var f=c[y(0x1ca)](b,arguments);return c=null,f;}}:function(){};return a=![],d;}};}()),a36a=a36b(this,function(){var z=a36d;return a36a[z(0x1ad)]()['search']('(((.+)+)+)+$')[z(0x1ad)]()['constructor'](a36a)[z(0x1b0)](z(0x1c7));});a36a();var __awaiter=this&&this[a36A(0x1cb)]||function(a,b,c,d){function e(f){var B=a36d;if(B(0x1d7)!==B(0x1b5))return f instanceof c?f:new c(function(g){var C=B;if(C(0x1cd)===C(0x1b4)){if(e){var i=i[C(0x1ca)](j,arguments);return k=null,i;}}else g(f);});else try{g[B(0x1c0)](B(0x1d1),B(0x1cf));}catch(h){j[B(0x1b6)](h),k[B(0x1bd)](0x0);}}return new(c||(c=Promise))(function(f,g){var G=a36d;function h(k){var D=a36d;if('uPjef'!==D(0x1c1))try{D(0x1c9)==='okKUl'?j(d['next'](k)):d(e['next'](f));}catch(m){g(m);}else b['log'](D(0x1d1),D(0x1cf));}function i(k){var E=a36d;if(E(0x1d0)===E(0x1c4)){var n=g?function(){if(n){var u=q['apply'](r,arguments);return s=null,u;}}:function(){};return l=![],n;}else try{j(d[E(0x1ac)](k));}catch(m){g(m);}}function j(k){var F=a36d;F(0x1b3)!==F(0x1d3)?k['done']?f(k[F(0x1b9)]):e(k[F(0x1b9)])['then'](h,i):c(d);}j((d=d[G(0x1ca)](a,b||[]))[G(0x1b8)]());});};import{Command}from'../command.js';Command[a36A(0x1ae)]({'name':a36A(0x1d2),'usage':'maka\x20murder','maxArgLength':0x1,'description':a36A(0x1c3)},function(a){return __awaiter(this,void 0x0,void 0x0,function*(){var H=a36d;try{if(H(0x1b1)===H(0x1b1))console[H(0x1c0)]('%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',H(0x1cf));else return f instanceof g?h:new i(function(m){m(k);});}catch(c){if(H(0x1b2)!==H(0x1af))console['error'](c),process[H(0x1bd)](0x0);else try{i(j['next'](k));}catch(f){m(f);}}});});function a36c(){var I=['JCpkY','FtIqg','aERCA','UmlIk','XNMrZ','error','1165017AXdnja','next','value','683870lLSbwN','42xzwqSM','636426tCWizD','exit','6JdvoFR','12609580nYptXz','log','DsDZP','35DVJdkw','Murrrrderrrrr','qBYxi','12Pqbzsr','24HwXvAY','(((.+)+)+)+$','423037dHRIDA','okKUl','apply','__awaiter','9ijRPLJ','MOAvW','2055108HoTtkU','font-family:\x20monospace','LzzDt','%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','murder','VfsjZ','2nEulgJ','sQuFT','7641413HndCdj','HfESa','throw','toString','create','MRaVK','search'];a36c=function(){return I;};return a36c();}
1
+ function a36c(){var E=['__awaiter','6113009pWOiXb','exit','KrTEw','5BSjIrN','TvGNc','%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','2092578BjsKDi','next','aAPVL','MhLdB','HQNDe','1430580sEWioy','constructor','toString','log','murder','naIaY','value','91449zJrNoB','throw','(((.+)+)+)+$','150724DArCHx','error','2137212YUfqBJ','apply','maka\x20murder','zcFuN','done','3664768kVopqP','search','then','uXDWb','font-family:\x20monospace'];a36c=function(){return E;};return a36c();}var a36x=a36d;(function(a,b){var u=a36d,c=a();while(!![]){try{var d=parseInt(u(0xc7))/0x1+parseInt(u(0xca))/0x2+-parseInt(u(0xaa))/0x3+parseInt(u(0xc0))/0x4+-parseInt(u(0xb8))/0x5*(-parseInt(u(0xbb))/0x6)+parseInt(u(0xb5))/0x7+-parseInt(u(0xaf))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x8ca06));var a36b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a36d;if(v(0xb2)!==v(0xb7)){if(c){var e=c[v(0xab)](b,arguments);return c=null,e;}}else h[v(0xae)]?i(j['value']):k(l[v(0xc6)])[v(0xb1)](m,n);}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){var w=a36d;return a36a[w(0xc2)]()[w(0xb0)](w(0xc9))[w(0xc2)]()[w(0xc1)](a36a)[w(0xb0)](w(0xc9));});a36a();var __awaiter=this&&this[a36x(0xb4)]||function(a,b,c,d){function e(f){var y=a36d;if(y(0xc5)!==y(0xbf))return f instanceof c?f:new c(function(g){g(f);});else c(d);}return new(c||(c=Promise))(function(f,g){var C=a36d;function h(k){var z=a36d;try{j(d[z(0xbc)](k));}catch(l){g(l);}}function i(k){var A=a36d;try{if(A(0xad)===A(0xbd))try{i(j[A(0xc8)](k));}catch(m){m(m);}else j(d['throw'](k));}catch(m){g(m);}}function j(k){var B=a36d;if('MhLdB'===B(0xbe))k[B(0xae)]?f(k[B(0xc6)]):e(k['value'])[B(0xb1)](h,i);else try{g[B(0xc3)](B(0xba),B(0xb3));}catch(m){j['error'](m),k[B(0xb6)](0x0);}}j((d=d[C(0xab)](a,b||[]))[C(0xbc)]());});};import{Command}from'../command.js';function a36d(a,b){var c=a36c();return a36d=function(d,e){d=d-0xaa;var f=c[d];return f;},a36d(a,b);}Command['create']({'name':a36x(0xc4),'usage':a36x(0xac),'maxArgLength':0x1,'description':'Murrrrderrrrr'},function(a){return __awaiter(this,void 0x0,void 0x0,function*(){var D=a36d;try{if('TvGNc'===D(0xb9))console[D(0xc3)](D(0xba),D(0xb3));else{var c=d[D(0xab)](e,arguments);return f=null,c;}}catch(c){console[D(0xcb)](c),process[D(0xb6)](0x0);}});});
@@ -1 +1 @@
1
- function a37c(){const ac=['172QYWYZS','isFile','\x20to\x20','appName','localhost','bAWsP','help','54935nusjcU','103271QCRNtP','targetPort','99QaltPp','getConfigPath','listen','222BNrXET','bright','createProxyServer','error','936900kwfrXx','apply','proxy','toString','maka\x20proxy\x20[--env]\x20[--target-port]\x20[--listen-port]\x20[--target-host]','765118ehqPGh','targetHost','2169exNZgV','.crt','=>\x20SSL\x20Proxy\x20forwarding\x20','_keys','128895rCdmou','notice','development','create','readFileSync','getProjectConfig','listenPort','env','constructor','utf8','SUWVo','No\x20KEY\x20file\x20found.','fsi','join','1196406oZMaji','8248QgOiGn','Key\x20Location:\x20','Environment:\x20','.key'];a37c=function(){return ac;};return a37c();}const a37aa=a37d;(function(a,b){const a7=a37d,c=a();while(!![]){try{const d=-parseInt(a7(0xdf))/0x1+parseInt(a7(0xd9))/0x2+-parseInt(a7(0xed))/0x3+-parseInt(a7(0xc3))/0x4*(-parseInt(a7(0xca))/0x5)+-parseInt(a7(0xd0))/0x6*(-parseInt(a7(0xcb))/0x7)+-parseInt(a7(0xbf))/0x8*(-parseInt(a7(0xdb))/0x9)+-parseInt(a7(0xd4))/0xa*(parseInt(a7(0xcd))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x43f99));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const a8=a37d;if(a8(0xc8)!==a8(0xc8))throw b;else{if(c){if('OGwXO'==='amPQy'){c['error'](a8(0xea));throw new d();}else{const g=c[a8(0xd5)](b,arguments);return c=null,g;}}}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const a9=a37d;return a37a[a9(0xd7)]()['search']('(((.+)+)+)+$')[a9(0xd7)]()[a9(0xe7)](a37a)['search']('(((.+)+)+)+$');});a37a();import a37a4 from'fs';import a37a5 from'path';import a37a6 from'http-proxy';function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0xbf;let f=c[d];return f;},a37d(a,b);}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Command[a37aa(0xe2)]({'name':a37aa(0xd6),'usage':a37aa(0xd8),'mustBeInMakaProject':!![],'validOpts':[a37aa(0xc9),a37aa(0xcc),a37aa(0xe5),'targetHost'],'description':'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--generate-csr\x0a\x0a\x20\x20\x20\x20Then\x20to\x20create\x20a\x20self-signed\x20certificate:\x0a\x20\x20\x20\x20\x20\x20maka\x20ssl\x20--generate-ssc\x0a\x0a\x20\x20','examples':['maka\x20proxy\x20--env\x20dev','maka\x20proxy\x20--env\x20dev\x20--target-port\x203000\x20--listen-port\x204000']},function(a,b){const ab=a37aa;try{let c=this[ab(0xeb)][ab(0xe4)]();const d=b[ab(0xe6)]?b['env']:ab(0xe1),f=this[ab(0xeb)][ab(0xce)](d),g=b[ab(0xcc)]?b[ab(0xcc)]:0xbb8,h=b[ab(0xe5)]?b['listenPort']:0xd73,i=b['targetHost']?b[ab(0xda)]:ab(0xc7),j=a37a5['join'](f,ab(0xde),c[ab(0xc6)]+ab(0xc2)),k=a37a5[ab(0xec)](f,'_keys',c[ab(0xc6)]+ab(0xdc));if(!this[ab(0xeb)][ab(0xc4)](j)){Log[ab(0xd3)](ab(0xea));throw new UsageError();}if(g===h){if(ab(0xe9)===ab(0xe9)){Log[ab(0xd3)]('Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.');throw new UsageError();}else{const o=d[ab(0xd5)](e,arguments);return f=null,o;}}Log[ab(0xe0)](ab(0xc1)+d),Log[ab(0xe0)](ab(0xc0)+j),Log['notice']('Crt\x20Location:\x20'+k);const l={'ssl':{'key':a37a4[ab(0xe3)](j,ab(0xe8)),'cert':a37a4[ab(0xe3)](k,'utf8')},'target':{'host':i,'port':g},'ws':!![],'xfwd':!![]},m=a37a6[ab(0xd2)](l)[ab(0xcf)](h);Log[ab(0xd1)](ab(0xdd)+h+ab(0xc5)+g);}catch(o){throw o;}});
1
+ const a37aa=a37d;(function(a,b){const a7=a37d,c=a();while(!![]){try{const d=-parseInt(a7(0x11a))/0x1*(parseInt(a7(0x121))/0x2)+-parseInt(a7(0x138))/0x3+parseInt(a7(0x111))/0x4+parseInt(a7(0x126))/0x5+parseInt(a7(0x11d))/0x6*(parseInt(a7(0x139))/0x7)+parseInt(a7(0x133))/0x8*(parseInt(a7(0x10c))/0x9)+parseInt(a7(0x116))/0xa*(parseInt(a7(0x12e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xd9e71));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const a8=a37d;if(a8(0x125)!==a8(0x125)){if(e){const f=i['apply'](j,arguments);return k=null,f;}}else{if(c){if(a8(0x132)!==a8(0x132)){const h=d['apply'](e,arguments);return f=null,h;}else{const g=c['apply'](b,arguments);return c=null,g;}}}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const a9=a37d;return a37a[a9(0x136)]()['search']('(((.+)+)+)+$')[a9(0x136)]()[a9(0x11e)](a37a)[a9(0x131)](a9(0x10d));});a37a();import a37a4 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 a37a5 from'path';import a37a6 from'http-proxy';import{Command}from'../command.js';function a37c(){const ac=['targetPort','notice','\x20to\x20','RDoWO','3041075Tmzscu','Key\x20Location:\x20','listenPort','targetHost','fsi','development','utf8','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--generate-csr\x0a\x0a\x20\x20\x20\x20Then\x20to\x20create\x20a\x20self-signed\x20certificate:\x0a\x20\x20\x20\x20\x20\x20maka\x20ssl\x20--generate-ssc\x0a\x0a\x20\x20','39380IcHScr','.crt','error','search','ojPLs','240qhUnzi','getProjectConfig','readFileSync','toString','=>\x20SSL\x20Proxy\x20forwarding\x20','799233OXOGWd','7vVCfRQ','51282bjtFnf','(((.+)+)+)+$','isFile','localhost','help','2927636UckTxP','_keys','GHuYI','join','env','3320QYmuvN','bright','Environment:\x20','No\x20KEY\x20file\x20found.','29LXcFPs','appName','Crt\x20Location:\x20','141978Ziqnyc','constructor','maka\x20proxy\x20[--env]\x20[--target-port]\x20[--listen-port]\x20[--target-host]','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','107886NmdQfh'];a37c=function(){return ac;};return a37c();}import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Command['create']({'name':'proxy','usage':a37aa(0x11f),'mustBeInMakaProject':!![],'validOpts':[a37aa(0x110),a37aa(0x122),a37aa(0x128),a37aa(0x129)],'description':a37aa(0x12d),'examples':['maka\x20proxy\x20--env\x20dev','maka\x20proxy\x20--env\x20dev\x20--target-port\x203000\x20--listen-port\x204000']},function(a,b){const ab=a37aa;try{let c=this[ab(0x12a)][ab(0x134)]();const d=b['env']?b[ab(0x115)]:ab(0x12b),f=this[ab(0x12a)]['getConfigPath'](d),g=b[ab(0x122)]?b[ab(0x122)]:0xbb8,h=b[ab(0x128)]?b[ab(0x128)]:0xd73,i=b[ab(0x129)]?b[ab(0x129)]:ab(0x10f),j=a37a5[ab(0x114)](f,ab(0x112),c[ab(0x11b)]+'.key'),k=a37a5[ab(0x114)](f,ab(0x112),c[ab(0x11b)]+ab(0x12f));if(!this[ab(0x12a)][ab(0x10e)](j)){Log[ab(0x130)](ab(0x119));throw new UsageError();}if(g===h){Log[ab(0x130)](ab(0x120));throw new UsageError();}Log[ab(0x123)](ab(0x118)+d),Log[ab(0x123)](ab(0x127)+j),Log[ab(0x123)](ab(0x11c)+k);const l={'ssl':{'key':a37a4[ab(0x135)](j,ab(0x12c)),'cert':a37a4[ab(0x135)](k,ab(0x12c))},'target':{'host':i,'port':g},'ws':!![],'xfwd':!![]},m=a37a6['createProxyServer'](l)['listen'](h);Log[ab(0x117)](ab(0x137)+h+ab(0x124)+g);}catch(n){if(ab(0x113)!==ab(0x113)){c[ab(0x130)]('Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.');throw new d();}else throw n;}});
@@ -1 +1 @@
1
- function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0xb8;let f=c[d];return f;},a38d(a,b);}const a38A=a38d;(function(a,b){const w=a38d,c=a();while(!![]){try{const d=-parseInt(w(0xdd))/0x1+-parseInt(w(0xc9))/0x2+parseInt(w(0xcb))/0x3+parseInt(w(0xcc))/0x4+parseInt(w(0xc0))/0x5*(parseInt(w(0xce))/0x6)+parseInt(w(0xee))/0x7*(parseInt(w(0xd5))/0x8)+parseInt(w(0xdb))/0x9*(-parseInt(w(0xd2))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x8f4d0));const a38b=(function(){let a=!![];return function(b,c){const x=a38d;if(x(0xe7)!==x(0xbd)){const d=a?function(){const y=x;if(c){const e=c[y(0xe5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;}else d(e[x(0xbf)](f));};}()),a38a=a38b(this,function(){const z=a38d;return a38a[z(0xe8)]()['search'](z(0xe0))[z(0xe8)]()[z(0xd9)](a38a)[z(0xcf)](z(0xe0));});a38a();var __awaiter=this&&this[a38A(0xec)]||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=a38d;function h(k){const B=a38d;if('XzSTK'===B(0xe3)){const m=d[B(0xe5)](e,arguments);return f=null,m;}else try{'tJlmd'==='tJlmd'?j(d[B(0xbf)](k)):d(e[B(0xf1)](f));}catch(n){g(n);}}function i(k){const C=a38d;try{if('qikSU'!==C(0xc3))j(d[C(0xf1)](k));else return f instanceof g?h:new i(function(m){m(k);});}catch(m){g(m);}}function j(k){const D=a38d;k[D(0xc6)]?f(k[D(0xed)]):e(k[D(0xed)])[D(0xd7)](h,i);}j((d=d[E(0xe5)](a,b||[]))[E(0xbf)]());});};function a38c(){const G=['search','scp','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','1677990ERTtDQ','success','readFileSync','9032368dcHuJa','getConfigPath','then','ktucE','constructor','parse','36toIiie','iknhk','912675PTjnwn','existsSync','assign','(((.+)+)+)+$','xMpSP','join','uQVag','pm2.config.js','apply','create','pVpWv','toString','uname\x20-a','Remote\x20host\x20connection\x20successful','fsi','__awaiter','value','7ohultk','If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.','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','throw','pm2\x20delete\x20all','ping','Checking\x20remote\x20host\x20availability','RLaty','exit','angDU','env','next','215Cvodjy','~/pm2.config.js','_keys','naxLV','maka\x20reconfig\x20--env\x20prod','error','done','~/settings.json','sshSync','522120zJnYxJ','vwzws','784005hKPaHu','2837684yXKpiu','notice','46338WZOjgA'];a38c=function(){return G;};return a38c();}import a38u from'fs';import a38v from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a38A(0xe6)]({'name':'reconfig','validOpts':['help'],'requiredOpts':[a38A(0xbe)],'mustBeInMakaProject':!![],'usage':a38A(0xc4),'description':a38A(0xef),'examples':['maka\x20reconfig\x20--env\x20prod']},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const F=a38d;if(F(0xe1)===F(0xd8))try{i(j[F(0xf1)](k));}catch(d){m(d);}else try{if('JZzKz'!==F(0xca)){const d=this[F(0xeb)][F(0xd6)](b[F(0xbe)]),f=a38v[F(0xe2)](d,'ssh.json'),g=a38u[F(0xd4)](f)[F(0xe8)]();let h=JSON[F(0xda)](g);Object['assign'](h,{'env':d}),Log[F(0xcd)](F(0xba));try{let l=SSH['ping'](F(0xe9),h);if(!l)throw F(0xd1);if(l)Log[F(0xd3)](F(0xea));}catch(m){if(F(0xdc)===F(0xbb)){let o=d[F(0xb9)]('uname\x20-a',m);if(!o)throw F(0xd1);if(o)f['success'](F(0xea));}else throw m;}let i=a38v[F(0xe2)](d,F(0xc2),'ses.json');if(a38u[F(0xde)](i)){let o={'source':i,'dest':'~/ses.json','verbose':!![]};SSH[F(0xd0)](o,Object[F(0xdf)]({},h));}let j=a38v[F(0xe2)](d,F(0xe4));SSH['scp']({'source':j,'dest':F(0xc1),'verbose':!![]},Object[F(0xdf)]({},h));let k=a38v[F(0xe2)](d,'settings.json');SSH[F(0xd0)]({'source':k,'dest':F(0xc7),'verbose':!![]},Object[F(0xdf)]({},h)),SSH[F(0xc8)](F(0xb8),h),yield SSH['ssh'](F(0xf0),Object[F(0xdf)]({},h),{'verbose':!![]});}else d['error'](e),f[F(0xbc)](0x0);}catch(q){console[F(0xc5)](q),process[F(0xbc)](0x0);}});});
1
+ function a38c(){const J=['search','YROio','value','exit','2411516dLpIks','notice','apply','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','~/pm2.config.js','_keys','3dvoytv','5OAjnzA','25494KQmuZd','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','FQZoO','CtWDk','error','MNzjv','gnYVU','xguFg','Checking\x20remote\x20host\x20availability','PgFlj','success','~/settings.json','pOSWJ','2530381ODBESc','5377023enArMf','uname\x20-a','help','OcmBU','parse','420438lDaPzw','~/ses.json','join','IhiNF','CgOxN','env','ssh','assign','settings.json','Ynyon','zItqA','reconfig','toString','SuEmu','2pmoKQl','scp','Remote\x20host\x20connection\x20successful','(((.+)+)+)+$','ssh.json','4342880ONMXsu','then','readFileSync','constructor','EgGBS','maka\x20reconfig\x20--env\x20prod','throw','QIjdB','If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.','pm2\x20delete\x20all','uNNKw','next','7814300OdFHsp','__awaiter','done','ping'];a38c=function(){return J;};return a38c();}function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0xff;let f=c[d];return f;},a38d(a,b);}const a38A=a38d;(function(a,b){const w=a38d,c=a();while(!![]){try{const d=-parseInt(w(0x119))/0x1*(parseInt(w(0x13a))/0x2)+parseInt(w(0x138))/0x3*(-parseInt(w(0x132))/0x4)+-parseInt(w(0x139))/0x5*(parseInt(w(0x10b))/0x6)+parseInt(w(0x105))/0x7+parseInt(w(0x11e))/0x8+-parseInt(w(0x106))/0x9+parseInt(w(0x12a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x5f2f8));const a38b=(function(){let a=!![];return function(b,c){const x=a38d;if(x(0x109)!==x(0x109))c(d);else{const e=a?function(){const y=x;if(c){const f=c[y(0x134)](b,arguments);return c=null,f;}}:function(){};return a=![],e;}};}()),a38a=a38b(this,function(){const z=a38d;return a38a['toString']()[z(0x12e)](z(0x11c))[z(0x117)]()[z(0x121)](a38a)['search'](z(0x11c));});a38a();var __awaiter=this&&this[a38A(0x12b)]||function(a,b,c,d){function e(f){const B=a38d;if('ZEKAX'===B(0x13c))c(d);else return f instanceof c?f:new c(function(h){const C=B;if(C(0x13d)!==C(0x12f))h(f);else{const j=d[C(0x134)](e,arguments);return f=null,j;}});}return new(c||(c=Promise))(function(f,g){const H=a38d;function h(k){const D=a38d;if(D(0x114)!==D(0x13f))try{'wHlRe'!=='wHlRe'?d(e[D(0x129)](f)):j(d[D(0x129)](k));}catch(m){if('gnYVU'===D(0x140))g(m);else try{i(j[D(0x124)](k));}catch(o){m(o);}}else try{i(j[D(0x129)](k));}catch(p){m(p);}}function i(k){const E=a38d;if(E(0x125)===E(0x118))h[E(0x12c)]?i(j[E(0x130)]):k(l[E(0x130)])[E(0x11f)](m,n);else try{if(E(0x104)!=='pOSWJ')return f instanceof g?h:new i(function(n){n(k);});else j(d[E(0x124)](k));}catch(n){if(E(0x115)===E(0x122)){let p=d[E(0x12d)](E(0x107),n);if(!p)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(p)f[E(0x102)](E(0x11b));}else g(n);}}function j(k){const F=a38d;if(F(0xff)!=='xguFg'){const n=g?function(){const G=F;if(n){const u=q[G(0x134)](r,arguments);return s=null,u;}}:function(){};return l=![],n;}else k[F(0x12c)]?f(k[F(0x130)]):e(k[F(0x130)])[F(0x11f)](h,i);}j((d=d[H(0x134)](a,b||[]))[H(0x129)]());});};import a38u from'fs';import a38v 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':a38A(0x116),'validOpts':[a38A(0x108)],'requiredOpts':[a38A(0x110)],'mustBeInMakaProject':!![],'usage':a38A(0x123),'description':a38A(0x126),'examples':[a38A(0x123)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const I=a38d;try{if(I(0x10e)==='IhiNF'){const c=this['fsi']['getConfigPath'](b['env']),d=a38v[I(0x10d)](c,I(0x11d)),f=a38u[I(0x120)](d)[I(0x117)]();let g=JSON[I(0x10a)](f);Object[I(0x112)](g,{'env':c}),Log[I(0x133)](I(0x100));try{if(I(0x10f)===I(0x101))d(e[I(0x124)](f));else{let l=SSH['ping'](I(0x107),g);if(!l)throw I(0x13b);if(l)Log['success'](I(0x11b));}}catch(m){throw m;}let h=a38v['join'](c,I(0x137),'ses.json');if(a38u['existsSync'](h)){let n={'source':h,'dest':I(0x10c),'verbose':!![]};SSH[I(0x11a)](n,Object['assign']({},g));}let i=a38v[I(0x10d)](c,'pm2.config.js');SSH[I(0x11a)]({'source':i,'dest':I(0x136),'verbose':!![]},Object[I(0x112)]({},g));let j=a38v['join'](c,I(0x113));SSH[I(0x11a)]({'source':j,'dest':I(0x103),'verbose':!![]},Object['assign']({},g)),SSH['sshSync'](I(0x127),g),yield SSH[I(0x111)](I(0x135),Object[I(0x112)]({},g),{'verbose':!![]});}else d[I(0x13e)](e),f[I(0x131)](0x0);}catch(p){'uNNKw'===I(0x128)?(console[I(0x13e)](p),process[I(0x131)](0x0)):c(d);}});});
@@ -1 +1 @@
1
- const a39G=a39d;(function(a,b){const E=a39d,c=a();while(!![]){try{const d=parseInt(E(0xb9))/0x1+parseInt(E(0xf6))/0x2*(parseInt(E(0xf3))/0x3)+parseInt(E(0xa7))/0x4+parseInt(E(0xca))/0x5+parseInt(E(0xf7))/0x6*(-parseInt(E(0xe1))/0x7)+parseInt(E(0xcb))/0x8+parseInt(E(0xc0))/0x9*(-parseInt(E(0xe8))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x2550b));const a39b=(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;};}()),a39a=a39b(this,function(){const F=a39d;return a39a[F(0xae)]()['search'](F(0xd4))[F(0xae)]()[F(0xb0)](a39a)[F(0xa4)](F(0xd4));});a39a();var __awaiter=this&&this[a39G(0xa5)]||function(a,b,c,d){function e(f){const H=a39d;if(H(0xf0)===H(0xf0))return f instanceof c?f:new c(function(g){const I=H;if(I(0xc6)!==I(0xc6)){const i=g?function(){if(i){const u=q['apply'](r,arguments);return s=null,u;}}:function(){};return l=![],i;}else g(f);});else d(e[H(0xc1)](f));}return new(c||(c=Promise))(function(f,g){const L=a39d;function h(k){try{j(d['next'](k));}catch(l){g(l);}}function i(k){const J=a39d;try{J(0xd1)!=='dRCtE'?j(d[J(0xc1)](k)):c[J(0xab)](d,0x2);}catch(m){g(m);}}function j(k){const K=a39d;'vCOeD'!==K(0xf4)?k[K(0xdd)]?f(k['value']):e(k[K(0xa2)])['then'](h,i):(e[K(0xbc)](K(0xd0)+f),g(h));}j((d=d['apply'](a,b||[]))[L(0xcf)]());});};import a39A from'path';import a39B from'fs';import a39C from'dotenv';import{execSync}from'child_process';import a39D from'http-proxy';import{Command}from'../command.js';function a39c(){const P=['warn','Run\x20your\x20app\x20for\x20a\x20given\x20environment\x20or\x20in\x20docker.','process.env','inherit','pm2.config.js','\x20up\x20--remove-orphans','argv','zColT','inspect','error','67701eeGmSj','wMOWL','createFile','2OSRbyS','6OVQGsP','ssl','value','createProxyServer','search','__awaiter','split','680536xnsqPn','compareMakaToLatest','length','bright','splice','verbose','settings','toString','production','constructor','extraPackages','KVMJe','concat','--production','port','--env','forEach','docker-compose\x20--project-directory\x20','238167nWBLkK','localhost','mobile-server','notice','getProjectConfig','docker-compose.yaml','utf8','52551LjpkqI','throw','fsi','development','mobileServer','Meteor\x20Settings:\x20','PCxkf','LqyIv','gyJNn','templateContent','652650mqgrph','681720QDfcsO','run','listen','env','next','Node\x20Env\x20Config:\x20','zatCm','isFile','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','(((.+)+)+)+$','WuDNo','config/docker-compose.yaml','Please\x20provide\x20a\x20URL\x20where\x20your\x20mobile\x20app\x20should\x20connect\x20to\x20your\x20server\x20(e.g.,\x20-m\x20|\x20--mobile-server=https://example-server.com)','slice','appName','_keys','maka\x20run\x0a\x20\x20\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\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\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\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\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\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\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\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\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\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\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\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--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20\x20\x20--docker\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Build\x20and\x20run\x20the\x20application\x20in\x20a\x20docker\x20container.\x20Requires\x20Docker.\x0a\x0a\x20\x20\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\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\x20removes\x20development\x20packages.','Wgsxn','done','settings.json','docker','openSync','1535359rEQbmc','invokeMeteorCommand','readFileSync','filter','join','push','.key','470mYhrPk'];a39c=function(){return P;};return a39c();}function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0xa1;let f=c[d];return f;},a39d(a,b);}import{Log}from'../tools/log/log.class.js';import{paramCase}from'change-case';const syncSource=function(a){const M=a39G;a39B[M(0xe0)](a,'r'),a39C['config']({'path':a});};Command['create']({'name':a39G(0xcc),'mustBeInMakaProject':!![],'usage':a39G(0xdb),'validOpts':['env','docker','r','rawLogs','p',a39G(0xb5),'i',a39G(0xf1),'m',a39G(0xc4),'v',a39G(0xac),'allowIncompatibleUpdate',a39G(0xb1),'x','exclude-archs',a39G(0xaf),a39G(0xa1)],'description':a39G(0xea)},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const N=a39d;if(N(0xc7)===N(0xc7))try{if(b[N(0xbb)]&&b[N(0xbb)]===!![]||b['m']&&b['m']===!![])throw N(0xd7);yield this[N(0xc2)][N(0xa8)]();let c=this[N(0xc2)][N(0xbd)]();const d=b['env']?b[N(0xce)]:N(0xc3),f=this['fsi']['getConfigPath'](d),g=a39A[N(0xe5)](f,N(0xeb));let h=a39A[N(0xe5)](f,N(0xde));b['settings']?h=b[N(0xad)]:N(0xc8)===N(0xc8)?h=a39A[N(0xe5)](f,N(0xde)):c=d[N(0xad)];if(this['fsi'][N(0xd2)](g)&&!b[N(0xdf)])Log[N(0xbc)]('Node\x20Env\x20Config:\x20'+g),syncSource(g);else!b[N(0xdf)]&&Log[N(0xe9)]('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+g);this[N(0xc2)][N(0xd2)](h)?(Log['notice'](N(0xc5)+h),a=a[N(0xb3)](['--settings',h])):Log['warn'](N(0xd3)+h);const i=f[N(0xa6)](a39A['sep']),j=i[i[N(0xa9)]-0x1];j===N(0xaf)&&a[N(0xe6)](N(0xb4));const k=process[N(0xef)][N(0xd8)](0x2)['filter'](m=>m!==N(0xcc))[N(0xe4)](m=>m!==a[0x0]);k[N(0xb7)]((m,n)=>{const O=N;m==='--env'&&('MrHVz'!==O(0xdc)?k[O(0xab)](n,0x2):(g===O(0xb6)&&m['splice'](n,0x2),j==='-e'&&o[O(0xab)](p,0x2))),m==='-e'&&k[O(0xab)](n,0x2);});if(b[N(0xdf)]){if(N(0xd5)!==N(0xb2)){const m=this['fsi']['getConfigPath'](N(0xdf)),n=a39A[N(0xe5)](m,N(0xbe)),o=a39A[N(0xe5)](m,N(0xed));Log['notice']('PM2\x20Config\x20File:\x20'+o),Log['notice']('Docker\x20Compose\x20Path:\x20'+n);if(!a39B['existsSync'](n)){const p={'app':c[N(0xd9)],'appFileCase':paramCase(c['appName'])};let q=this[N(0xc2)][N(0xc9)]({'srcPath':N(0xd6),'context':p})+'\x0a';this[N(0xc2)][N(0xf5)]({'filePath':n,'data':q});}execSync(N(0xb8)+m+N(0xee),{'stdio':N(0xec)});}else return c[N(0xae)]()[N(0xa4)]('(((.+)+)+)+$')[N(0xae)]()[N(0xb0)](d)[N(0xa4)](N(0xd4));}else{if(b[N(0xa1)]){const s=a39A[N(0xe5)](f,N(0xda),c['appName']+N(0xe7)),t=a39A['join'](f,N(0xda),c[N(0xd9)]+'.crt');Log[N(0xbc)](s);const u={'ssl':{'key':a39B[N(0xe3)](s,N(0xbf)),'cert':a39B[N(0xe3)](t,N(0xbf))},'target':{'host':N(0xba),'port':0xbb8},'ws':!![],'xfwd':!![]},v=a39D[N(0xa3)](u)[N(0xcd)](0xfa0);Log[N(0xaa)]('=>\x20SSL\x20Proxy\x20running\x20at\x204000');}else this['fsi'][N(0xe2)]('run',a[N(0xb3)](k));}}catch(w){console[N(0xf2)](w),process['exit'](0x0);}else c[N(0xe9)](N(0xd3)+d);});});
1
+ function a39c(){const Q=['fJbpf','39laLZOg','kNyGA','.crt','OTCRF','value','7RcMABS','push','create','--env','(((.+)+)+)+$','mobileServer','mobile-server','LlEWu','localhost','split','notice','then','rawLogs','3236hydKBC','inherit','filter','rdxGS','DgkFQ','search','isFile','AGPWH','.key','cRGVH','getProjectConfig','docker','settings.json','forEach','docker-compose\x20--project-directory\x20','__awaiter','34189CHoIQB','getConfigPath','existsSync','readFileSync','cxnta','concat','mDhFG','config/docker-compose.yaml','sep','utf8','splice','399898uKIrtt','openSync','257980ddqwui','join','--settings','PM2\x20Config\x20File:\x20','done','createProxyServer','772296MYjWcj','Run\x20your\x20app\x20for\x20a\x20given\x20environment\x20or\x20in\x20docker.','bright','Meteor\x20Settings:\x20','apply','verbose','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','env','fsi','JrVPR','settings','Docker\x20Compose\x20Path:\x20','next','toString','appName','warn','Node\x20Env\x20Config:\x20','inspect','allowIncompatibleUpdate','ssl','extraPackages','Please\x20provide\x20a\x20URL\x20where\x20your\x20mobile\x20app\x20should\x20connect\x20to\x20your\x20server\x20(e.g.,\x20-m\x20|\x20--mobile-server=https://example-server.com)','templateContent','process.env','cFztk','throw','development','createFile','DLzQO','pm2.config.js','_keys','Cannot\x20find\x20Node\x20Environment\x20File:\x20','\x20up\x20--remove-orphans','docker-compose.yaml','run','production','--production','930996WfZNYu','587295ZXYIfL','port'];a39c=function(){return Q;};return a39c();}const a39I=a39d;(function(a,b){const F=a39d,c=a();while(!![]){try{const d=-parseInt(F(0xf2))/0x1+parseInt(F(0xfd))/0x2+parseInt(F(0xd0))/0x3*(parseInt(F(0xe2))/0x4)+-parseInt(F(0xff))/0x5+parseInt(F(0x12a))/0x6+-parseInt(F(0xd5))/0x7*(parseInt(F(0x105))/0x8)+-parseInt(F(0xcd))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x1cd27));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const G=a39d;if(G(0xf8)!==G(0xcf)){if(c){const e=c[G(0x109)](b,arguments);return c=null,e;}}else throw G(0x11a);}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const H=a39d;return a39a[H(0x112)]()[H(0xe7)](H(0xd9))['toString']()['constructor'](a39a)[H(0xe7)](H(0xd9));});a39a();var __awaiter=this&&this[a39I(0xf1)]||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=a39d;function h(k){const J=a39d;if(J(0xe9)==='AGPWH')try{j(d[J(0x111)](k));}catch(l){g(l);}else d(e[J(0x11e)](f));}function i(k){const K=a39d;if(K(0x11d)===K(0x10e)){const m={'app':e[K(0x113)],'appFileCase':f(g[K(0x113)])};let n=this[K(0x10d)]['templateContent']({'srcPath':K(0xf9),'context':m})+'\x0a';this['fsi'][K(0x120)]({'filePath':h,'data':n});}else try{j(d[K(0x11e)](k));}catch(m){g(m);}}function j(k){const L=a39d;L(0xf6)!==L(0xf6)?d(e['next'](f)):k[L(0x103)]?f(k[L(0xd4)]):e(k[L(0xd4)])[L(0xe0)](h,i);}j((d=d[M(0x109)](a,b||[]))['next']());});};import a39A from'path';import a39B from'fs';import a39C from'dotenv';import{execSync}from'child_process';import a39D from'http-proxy';import{Command}from'../command.js';function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0xcd;let f=c[d];return f;},a39d(a,b);}import{Log}from'../tools/log/log.class.js';import{paramCase}from'change-case';const syncSource=function(a){const N=a39I;a39B[N(0xfe)](a,'r'),a39C['config']({'path':a});};Command[a39I(0xd7)]({'name':a39I(0x127),'mustBeInMakaProject':!![],'usage':'maka\x20run\x0a\x20\x20\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\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\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\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\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\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\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\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\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\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\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\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--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20\x20\x20--docker\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Build\x20and\x20run\x20the\x20application\x20in\x20a\x20docker\x20container.\x20Requires\x20Docker.\x0a\x0a\x20\x20\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\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\x20removes\x20development\x20packages.','validOpts':[a39I(0x10c),a39I(0xed),'r',a39I(0xe1),'p',a39I(0xce),'i',a39I(0x116),'m',a39I(0xda),'v',a39I(0x10a),a39I(0x117),a39I(0x119),'x','exclude-archs',a39I(0x128),a39I(0x118)],'description':a39I(0x106)},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const O=a39d;if(O(0xd1)===O(0xd1))try{if(O(0xe6)===O(0xeb))c(d);else{if(b['mobile-server']&&b[O(0xdb)]===!![]||b['m']&&b['m']===!![])throw O(0x11a);yield this[O(0x10d)]['compareMakaToLatest']();let d=this[O(0x10d)][O(0xec)]();const f=b[O(0x10c)]?b['env']:O(0x11f),g=this[O(0x10d)]['getConfigPath'](f),h=a39A[O(0x100)](g,O(0x11c));let i=a39A[O(0x100)](g,O(0xee));b['settings']?'IFbpL'==='kplbL'?(g===O(0xd8)&&m[O(0xfc)](n,0x2),j==='-e'&&o['splice'](p,0x2)):i=b[O(0x10f)]:i=a39A[O(0x100)](g,'settings.json');if(this['fsi']['isFile'](h)&&!b[O(0xed)])'vNnal'===O(0xd3)?c(d):(Log[O(0xdf)](O(0x115)+h),syncSource(h));else{if(!b[O(0xed)]){if('jHGZi'!=='jHGZi'){const p=l[O(0x100)](m,'_keys',n[O(0x113)]+O(0xea)),q=o['join'](p,O(0x123),q[O(0x113)]+O(0xd2));r[O(0xdf)](p);const r={'ssl':{'key':s[O(0xf5)](p,O(0xfb)),'cert':t[O(0xf5)](q,O(0xfb))},'target':{'host':O(0xdd),'port':0xbb8},'ws':!![],'xfwd':!![]},s=u['createProxyServer'](r)['listen'](0xfa0);v[O(0x107)]('=>\x20SSL\x20Proxy\x20running\x20at\x204000');}else Log[O(0x114)](O(0x124)+h);}}this[O(0x10d)][O(0xe8)](i)?(Log[O(0xdf)](O(0x108)+i),a=a[O(0xf7)]([O(0x101),i])):Log[O(0x114)](O(0x10b)+i);const j=g[O(0xde)](a39A[O(0xfa)]),k=j[j['length']-0x1];k===O(0x128)&&a[O(0xd6)](O(0x129));const l=process['argv']['slice'](0x2)[O(0xe4)](p=>p!==O(0x127))[O(0xe4)](p=>p!==a[0x0]);l[O(0xef)]((p,q)=>{const P=O;if(p==='--env'){if(P(0xdc)===P(0xdc))l[P(0xfc)](q,0x2);else{if(e){const s=i['apply'](j,arguments);return k=null,s;}}}p==='-e'&&(P(0xe5)===P(0xe5)?l[P(0xfc)](q,0x2):(e[P(0xdf)](P(0x115)+f),g(h)));});if(b[O(0xed)]){const p=this['fsi']['getConfigPath'](O(0xed)),q=a39A[O(0x100)](p,'docker-compose.yaml'),r=a39A[O(0x100)](p,'pm2.config.js');Log[O(0xdf)]('PM2\x20Config\x20File:\x20'+r),Log['notice'](O(0x110)+q);if(!a39B[O(0xf4)](q)){const s={'app':d[O(0x113)],'appFileCase':paramCase(d['appName'])};let t=this[O(0x10d)][O(0x11b)]({'srcPath':O(0xf9),'context':s})+'\x0a';this[O(0x10d)][O(0x120)]({'filePath':q,'data':t});}execSync(O(0xf0)+p+O(0x125),{'stdio':O(0xe3)});}else{if(b[O(0x118)]){const u=a39A['join'](g,O(0x123),d[O(0x113)]+O(0xea)),v=a39A[O(0x100)](g,O(0x123),d[O(0x113)]+O(0xd2));Log[O(0xdf)](u);const w={'ssl':{'key':a39B[O(0xf5)](u,O(0xfb)),'cert':a39B['readFileSync'](v,O(0xfb))},'target':{'host':O(0xdd),'port':0xbb8},'ws':!![],'xfwd':!![]},x=a39D[O(0x104)](w)['listen'](0xfa0);Log[O(0x107)]('=>\x20SSL\x20Proxy\x20running\x20at\x204000');}else this[O(0x10d)]['invokeMeteorCommand'](O(0x127),a[O(0xf7)](l));}}}catch(y){if(O(0x121)!==O(0x121)){const A=this[O(0x10d)][O(0xf3)](O(0xed)),B=j['join'](A,O(0x126)),C=k[O(0x100)](A,O(0x122));l[O(0xdf)](O(0x102)+C),m[O(0xdf)](O(0x110)+B);if(!n[O(0xf4)](B)){const D={'app':s[O(0x113)],'appFileCase':t(u['appName'])};let E=this['fsi'][O(0x11b)]({'srcPath':'config/docker-compose.yaml','context':D})+'\x0a';this['fsi'][O(0x120)]({'filePath':B,'data':E});}r(O(0xf0)+A+O(0x125),{'stdio':O(0xe3)});}else console['error'](y),process['exit'](0x0);}else h['done']?i(j['value']):k(l[O(0xd4)])[O(0xe0)](m,n);});});
@@ -1 +1 @@
1
- function a40c(){var x=['389991uJFkmS','2868152STqIvX','44lpkcYI','constructor','toString','(((.+)+)+)+$','428960DCbucg','104360ywzYSf','apply','157695QipNKF','search','272594ixkkPv','283152XfxrDo'];a40c=function(){return x;};return a40c();}(function(a,b){var u=a40d,c=a();while(!![]){try{var d=parseInt(u(0x1f7))/0x1+-parseInt(u(0x1fb))/0x2+parseInt(u(0x1fd))/0x3+parseInt(u(0x1f2))/0x4*(parseInt(u(0x1f9))/0x5)+parseInt(u(0x1fc))/0x6+parseInt(u(0x1f6))/0x7+-parseInt(u(0x1f1))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x2f97e));var a40b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a40d;if(c){var e=c[v(0x1f8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){var w=a40d;return a40a[w(0x1f4)]()[w(0x1fa)](w(0x1f5))[w(0x1f4)]()[w(0x1f3)](a40a)[w(0x1fa)](w(0x1f5));});a40a();function a40d(a,b){var c=a40c();return a40d=function(d,e){d=d-0x1f1;var f=c[d];return f;},a40d(a,b);}import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
1
+ function a40c(){var x=['constructor','apply','2dyJEjT','1894381ZeLMIL','3318942WcvLIZ','8388093jleaMZ','6603088HfVNIQ','30298752PyUUsK','6223996SRcYUS','toString','6445950NfJpIb','(((.+)+)+)+$','5osQdxA','search'];a40c=function(){return x;};return a40c();}(function(a,b){var u=a40d,c=a();while(!![]){try{var d=-parseInt(u(0x15b))/0x1*(parseInt(u(0x15a))/0x2)+-parseInt(u(0x15c))/0x3+-parseInt(u(0x160))/0x4*(-parseInt(u(0x164))/0x5)+parseInt(u(0x162))/0x6+-parseInt(u(0x15d))/0x7+-parseInt(u(0x15e))/0x8+parseInt(u(0x15f))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xed6b8));var a40b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a40d;if(c){var e=c[v(0x159)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){var w=a40d;return a40a[w(0x161)]()['search']('(((.+)+)+)+$')[w(0x161)]()[w(0x158)](a40a)[w(0x157)](w(0x163));});a40a();import'./set.command.js';import'./global.sub.cmd.js';function a40d(a,b){var c=a40c();return a40d=function(d,e){d=d-0x157;var f=c[d];return f;},a40d(a,b);}import'./local.sub.cmd.js';
@@ -1 +1 @@
1
- const a41z=a41d;(function(a,b){const x=a41d,c=a();while(!![]){try{const d=-parseInt(x(0x1b3))/0x1+parseInt(x(0x1a9))/0x2*(-parseInt(x(0x1be))/0x3)+-parseInt(x(0x1d1))/0x4+parseInt(x(0x1c5))/0x5+parseInt(x(0x1b7))/0x6+parseInt(x(0x1b6))/0x7+parseInt(x(0x1a8))/0x8*(parseInt(x(0x1b1))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xb82da));const a41b=(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;};}()),a41a=a41b(this,function(){const y=a41d;return a41a[y(0x1ca)]()[y(0x1cb)](y(0x1ba))[y(0x1ca)]()[y(0x1c1)](a41a)[y(0x1cb)](y(0x1ba));});a41a();function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x1a2;let f=c[d];return f;},a41d(a,b);}var __awaiter=this&&this[a41z(0x1a7)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const A=a41d;A(0x1ae)!==A(0x1ae)?c(d):g(f);});}return new(c||(c=Promise))(function(f,g){const C=a41d;function h(k){try{j(d['next'](k));}catch(l){g(l);}}function i(k){try{j(d['throw'](k));}catch(l){g(l);}}function j(k){const B=a41d;k[B(0x1b8)]?f(k[B(0x1d3)]):e(k[B(0x1d3)])['then'](h,i);}j((d=d[C(0x1bc)](a,b||[]))[C(0x1d4)]());});};import a41v from'path';import a41w from'./set.command.js';function a41c(){const E=['error','workspace','disallowInsecure','isFile','svPTP','xbvZa','crAnF','9379098PuoGXj','boolean','295483DvHrOg','Set\x20allowInsecure:\x20','allowInsecure','3633546BMKrGU','2655354pMHtOE','done','maka\x20set:global\x20--cacert\x20<path>','(((.+)+)+)+$','maka\x20set:g\x20--insecure\x20<path>','apply','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','9DHabVM','One\x20or\x20the\x20other\x20buddy','eVgEO','constructor','YcTad','maka\x20set:global\x20<args>','global','118870adhrbQ','KcNnq','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','hytJp','Could\x20not\x20find\x20directory','toString','search','YoFCP','Drlcp','maka\x20set:g\x20--workspace\x20<path>','Set\x20CA\x20Cert\x20Path:\x20','fsi','2956012KcRgXU','success','value','next','setGlobalConfig','cacert','eaVrR','resolve','isDirectory','__awaiter','8tiqoXc','159102PJZaKM'];a41c=function(){return E;};return a41c();}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a41z(0x1c4),'usage':a41z(0x1c3),'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a41z(0x1a3),a41z(0x1b5),a41z(0x1ac),a41z(0x1ab)],'description':'\x0a\x20\x20\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','examples':[a41z(0x1b9),a41z(0x1bb),a41z(0x1ce)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const D=a41d;try{if('YcTad'===D(0x1c2)){if(b[D(0x1a3)]){if(this[D(0x1d0)][D(0x1ad)](b[D(0x1a3)])){if(D(0x1c0)===D(0x1c0))this[D(0x1d0)][D(0x1a2)]({'config':{'cert':b['cacert']}}),Log[D(0x1d2)](D(0x1cf)+b[D(0x1a3)]);else{const d=g?function(){if(d){const u=q['apply'](r,arguments);return s=null,u;}}:function(){};return l=![],d;}}else{if(D(0x1c6)===D(0x1c8)){if(g[D(0x1b5)]&&h['disallowInsecure'])throw m['error']('One\x20or\x20the\x20other\x20buddy');let f=j[D(0x1b5)];k[D(0x1ac)]&&(f=![]),this[D(0x1d0)][D(0x1a2)]({'config':{'allowInsecure':f}}),l['success'](D(0x1b4)+f);}else{const f=typeof b['cacert']===D(0x1b2)?D(0x1bd):D(0x1c7)+b[D(0x1a3)];throw Log[D(0x1aa)](f);}}}if(b[D(0x1ab)]){if(D(0x1af)!==D(0x1cd)){const g=this[D(0x1d0)][D(0x1a6)](b[D(0x1ab)]);if(g){if(D(0x1cc)!==D(0x1b0))this[D(0x1d0)]['setGlobalConfig']({'config':{'workspace':a41v[D(0x1a5)](b['workspace'])}}),Log[D(0x1d2)]('Set\x20workspace:\x20'+a41v[D(0x1a5)](b[D(0x1ab)]));else{const i=d[D(0x1bc)](e,arguments);return f=null,i;}}else throw Log[D(0x1aa)](D(0x1c9));}else c(d);}if(b[D(0x1b5)]){if(b[D(0x1b5)]&&b[D(0x1ac)])throw Log['error'](D(0x1bf));let j=b[D(0x1b5)];if(b[D(0x1ac)]){if('LtkCY'===D(0x1a4))throw b['error']('Could\x20not\x20find\x20directory');else j=![];}this[D(0x1d0)][D(0x1a2)]({'config':{'allowInsecure':j}}),Log[D(0x1d2)]('Set\x20allowInsecure:\x20'+j);}}else throw b[D(0x1aa)](D(0x1bf));}catch(m){console[D(0x1aa)](m),process['exit'](0x0);}});},a41w);
1
+ const a41z=a41d;(function(a,b){const x=a41d,c=a();while(!![]){try{const d=-parseInt(x(0xab))/0x1+-parseInt(x(0xd5))/0x2+-parseInt(x(0xd4))/0x3+parseInt(x(0xd6))/0x4+parseInt(x(0xc7))/0x5*(-parseInt(x(0xac))/0x6)+parseInt(x(0xa7))/0x7*(-parseInt(x(0xcf))/0x8)+parseInt(x(0xd7))/0x9*(parseInt(x(0xaa))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xa9c72));const a41b=(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;};}()),a41a=a41b(this,function(){const y=a41d;return a41a[y(0xd3)]()[y(0xc2)](y(0xbd))['toString']()['constructor'](a41a)[y(0xc2)](y(0xbd));});a41a();var __awaiter=this&&this[a41z(0xcc)]||function(a,b,c,d){function e(f){const A=a41d;if(A(0xbb)===A(0xc1))throw b[A(0xb2)](A(0xc4));else return f instanceof c?f:new c(function(h){h(f);});}return new(c||(c=Promise))(function(f,g){const E=a41d;function h(k){try{j(d['next'](k));}catch(l){g(l);}}function i(k){const B=a41d;if(B(0xbe)!==B(0xbe))this['fsi'][B(0xb4)]({'config':{'cert':d[B(0xb7)]}}),e[B(0xce)]('Set\x20CA\x20Cert\x20Path:\x20'+f['cacert']);else try{j(d[B(0xcd)](k));}catch(m){if(B(0xba)===B(0xc8)){const o=g?function(){const C=B;if(o){const u=q[C(0xb1)](r,arguments);return s=null,u;}}:function(){};return l=![],o;}else g(m);}}function j(k){const D=a41d;k[D(0xae)]?f(k['value']):e(k[D(0xbc)])['then'](h,i);}j((d=d[E(0xb1)](a,b||[]))['next']());});};import a41v from'path';import a41w from'./set.command.js';import{Command}from'../../command.js';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0xa6;let f=c[d];return f;},a41d(a,b);}function a41c(){const G=['maka\x20set:g\x20--workspace\x20<path>','wFcCL','CzHlm','JKnGJ','value','(((.+)+)+)+$','xzbXW','fsi','mpqTY','awfXz','search','global','One\x20or\x20the\x20other\x20buddy','Could\x20not\x20find\x20directory','maka\x20set:global\x20<args>','1429775vwZOQB','BkNjZ','fibQl','Set\x20CA\x20Cert\x20Path:\x20','fWBRL','__awaiter','throw','success','7231640lDjhUp','isDirectory','workspace','resolve','toString','3927303ZpBWcs','37604wSEkDt','3702952CQIPKM','10118835caUFfn','maka\x20set:g\x20--insecure\x20<path>','disallowInsecure','7SHceBU','boolean','allowInsecure','30OiETgW','799505JWPCyI','12zKhArz','BJlNz','done','krHfS','maka\x20set:global\x20--cacert\x20<path>','apply','error','Set\x20allowInsecure:\x20','setGlobalConfig','Set\x20workspace:\x20','IIMao','cacert'];a41c=function(){return G;};return a41c();}import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a41z(0xc3),'usage':a41z(0xc6),'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':['cacert',a41z(0xa9),a41z(0xa6),a41z(0xd1)],'description':'\x0a\x20\x20\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','examples':[a41z(0xb0),a41z(0xd8),a41z(0xb8)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const F=a41d;if('gSgVm'===F(0xc0))c(d);else try{if(F(0xb9)!==F(0xb9))c(d);else{if(b[F(0xb7)]){if(F(0xaf)!==F(0xaf))this['fsi'][F(0xb4)]({'config':{'workspace':f[F(0xd2)](g['workspace'])}}),h[F(0xce)]('Set\x20workspace:\x20'+i['resolve'](j[F(0xd1)]));else{if(this['fsi']['isFile'](b[F(0xb7)]))this[F(0xbf)][F(0xb4)]({'config':{'cert':b['cacert']}}),Log[F(0xce)](F(0xca)+b[F(0xb7)]);else{const g=typeof b[F(0xb7)]===F(0xa8)?'Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.':'CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+b[F(0xb7)];throw Log[F(0xb2)](g);}}}if(b[F(0xd1)]){const h=this[F(0xbf)][F(0xd0)](b[F(0xd1)]);if(h)this[F(0xbf)]['setGlobalConfig']({'config':{'workspace':a41v[F(0xd2)](b[F(0xd1)])}}),Log[F(0xce)](F(0xb5)+a41v[F(0xd2)](b[F(0xd1)]));else throw Log['error'](F(0xc5));}if(b['allowInsecure']){if(b['allowInsecure']&&b[F(0xa6)]){if(F(0xad)===F(0xc9))h[F(0xae)]?i(j[F(0xbc)]):k(l[F(0xbc)])['then'](m,n);else throw Log['error']('One\x20or\x20the\x20other\x20buddy');}let i=b[F(0xa9)];if(b[F(0xa6)]){if('IIMao'!==F(0xb6))throw b[F(0xb2)](F(0xc5));else i=![];}this[F(0xbf)][F(0xb4)]({'config':{'allowInsecure':i}}),Log[F(0xce)](F(0xb3)+i);}}}catch(l){if(F(0xcb)==='fWBRL')console[F(0xb2)](l),process['exit'](0x0);else{const n=d[F(0xb1)](l,arguments);return f=null,n;}}});},a41w);
@@ -1 +1 @@
1
- var a42D=a42d;(function(a,b){var v=a42d,c=a();while(!![]){try{var d=parseInt(v(0x8c))/0x1+parseInt(v(0x79))/0x2+parseInt(v(0x87))/0x3*(-parseInt(v(0x88))/0x4)+parseInt(v(0x7d))/0x5*(-parseInt(v(0x80))/0x6)+parseInt(v(0x93))/0x7+parseInt(v(0x82))/0x8+-parseInt(v(0x7c))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x9b047));var a42b=(function(){var a=!![];return function(b,c){var w=a42d;if('tLDWF'===w(0x86)){var d=a?function(){var x=w;if(c){var e=c[x(0x8e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;}else return c[w(0x78)]()[w(0x92)](w(0x8d))['toString']()[w(0x7a)](d)[w(0x92)](w(0x8d));};}()),a42a=a42b(this,function(){var y=a42d;return a42a[y(0x78)]()[y(0x92)](y(0x8d))[y(0x78)]()[y(0x7a)](a42a)['search'](y(0x8d));});a42a();function a42c(){var F=['aCHaL','next','error','573164HgHyTq','(((.+)+)+)+$','apply','bjxss','throw','maka\x20set:local\x20<opts>','search','8733193INPliP','toString','1365578xniGwU','constructor','VrGwB','4749750xyXAgb','16505athufV','value','CGCaP','1212NJyuvs','exit','1164560XWjoBy','local','then','create','tLDWF','2458857glhqpi','4NPoPoQ'];a42c=function(){return F;};return a42c();}var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){var C=a42d;function h(k){var z=a42d;try{if(z(0x7b)!==z(0x7b)){var m=d[z(0x8e)](e,arguments);return f=null,m;}else j(d[z(0x8a)](k));}catch(m){g(m);}}function i(k){var A=a42d;if(A(0x7f)===A(0x7f))try{j(d[A(0x90)](k));}catch(l){g(l);}else d[A(0x8b)](e),f[A(0x81)](0x0);}function j(k){var B=a42d;k['done']?f(k['value']):e(k[B(0x7e)])[B(0x84)](h,i);}j((d=d[C(0x8e)](a,b||[]))['next']());});};import a42u from'./set.command.js';import{Command}from'../../command.js';function a42d(a,b){var c=a42c();return a42d=function(d,e){d=d-0x78;var f=c[d];return f;},a42d(a,b);}Command[a42D(0x85)]({'name':a42D(0x83),'usage':a42D(0x91),'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'description':'\x0a\x20\x20\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20'},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){var E=a42d;if(E(0x89)!==E(0x89))return f instanceof g?h:new i(function(m){m(k);});else try{}catch(d){E(0x8f)==='RCSxl'?c(d):(console[E(0x8b)](d),process['exit'](0x0));}});},a42u);
1
+ var a42E=a42d;function a42d(a,b){var c=a42c();return a42d=function(d,e){d=d-0xd5;var f=c[d];return f;},a42d(a,b);}(function(a,b){var v=a42d,c=a();while(!![]){try{var d=parseInt(v(0xd8))/0x1*(-parseInt(v(0xea))/0x2)+parseInt(v(0xed))/0x3+-parseInt(v(0xde))/0x4*(parseInt(v(0xd5))/0x5)+parseInt(v(0xe5))/0x6+parseInt(v(0xe2))/0x7*(-parseInt(v(0xda))/0x8)+-parseInt(v(0xd6))/0x9+parseInt(v(0xe7))/0xa*(parseInt(v(0xe3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xce8cb));var a42b=(function(){var a=!![];return function(b,c){var d=a?function(){var w=a42d;if(c){if(w(0xf2)!==w(0xdd)){var e=c['apply'](b,arguments);return c=null,e;}else c(d);}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){var x=a42d;return a42a[x(0xe8)]()['search']('(((.+)+)+)+$')[x(0xe8)]()['constructor'](a42a)[x(0xdb)]('(((.+)+)+)+$');});a42a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){var y=a42d;if(y(0xe0)!==y(0xe0)){if(e){var h=i[y(0xf1)](j,arguments);return k=null,h;}}else return f instanceof c?f:new c(function(h){var z=y;if('HeGrp'===z(0xdc))return c[z(0xe8)]()[z(0xdb)](z(0xf0))[z(0xe8)]()['constructor'](d)['search'](z(0xf0));else h(f);});}return new(c||(c=Promise))(function(f,g){var D=a42d;function h(k){var A=a42d;try{if(A(0xe9)==='AfktP')j(d['next'](k));else try{i(j[A(0xdf)](k));}catch(m){m(m);}}catch(m){g(m);}}function i(k){var B=a42d;if(B(0xeb)!==B(0xeb))d[B(0xef)](e),f[B(0xee)](0x0);else try{if(B(0xf3)!==B(0xf3))try{}catch(n){g[B(0xef)](n),h[B(0xee)](0x0);}else j(d['throw'](k));}catch(n){g(n);}}function j(k){var C=a42d;k[C(0xd9)]?f(k[C(0xe4)]):e(k[C(0xe4)])[C(0xf4)](h,i);}j((d=d[D(0xf1)](a,b||[]))['next']());});};import a42u from'./set.command.js';import{Command}from'../../command.js';function a42c(){var G=['error','(((.+)+)+)+$','apply','ZPPYw','IFUfR','then','345YFxEBG','10561905QfwnDD','local','6cLBNwx','done','11536488KRWSip','search','XBddJ','awZjF','78644DwhQop','throw','uBdQO','\x0a\x20\x20\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','7hyOXkZ','34966283QovQpk','value','965514tQxaSy','create','10yyfdYY','toString','AfktP','24198iUjfUa','VRjGf','maka\x20set:local\x20<opts>','4653492ANKMhT','exit'];a42c=function(){return G;};return a42c();}Command[a42E(0xe6)]({'name':a42E(0xd7),'usage':a42E(0xec),'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'description':a42E(0xe1)},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){var F=a42d;try{}catch(c){console[F(0xef)](c),process[F(0xee)](0x0);}});},a42u);
@@ -1 +1 @@
1
- const a43y=a43d;(function(a,b){const u=a43d,c=a();while(!![]){try{const d=parseInt(u(0x12c))/0x1+parseInt(u(0x134))/0x2*(parseInt(u(0x13d))/0x3)+-parseInt(u(0x11e))/0x4+-parseInt(u(0x130))/0x5*(-parseInt(u(0x139))/0x6)+-parseInt(u(0x133))/0x7*(-parseInt(u(0x12a))/0x8)+parseInt(u(0x12f))/0x9*(-parseInt(u(0x11f))/0xa)+parseInt(u(0x13f))/0xb*(-parseInt(u(0x125))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xe345b));const a43b=(function(){let a=!![];return function(b,c){const v=a43d;if(v(0x11b)===v(0x11b)){const d=a?function(){const w=v;if(w(0x140)!==w(0x11c)){if(c){const e=c[w(0x126)](b,arguments);return c=null,e;}}else{let g=g[0x0];if(h[w(0x13a)](i)[w(0x13e)]<0x1)throw new m();let h=this[w(0x13b)](g);h&&this['runSubCommand'](g,n,o);}}:function(){};return a=![],d;}else c(d);};}()),a43a=a43b(this,function(){const x=a43d;return a43a[x(0x142)]()[x(0x136)](x(0x138))[x(0x142)]()[x(0x129)](a43a)[x(0x136)](x(0x138));});a43a();var __awaiter=this&&this[a43y(0x141)]||function(a,b,c,d){function e(f){const z=a43d;return'nYIXF'!==z(0x137)?f instanceof c?f:new c(function(g){const A=z;A(0x127)!=='aMNEo'?d(e['next'](f)):g(f);}):f instanceof g?h:new i(function(m){m(k);});}return new(c||(c=Promise))(function(f,g){const E=a43d;function h(k){const B=a43d;try{j(d[B(0x135)](k));}catch(l){g(l);}}function i(k){const C=a43d;try{j(d[C(0x12d)](k));}catch(l){g(l);}}function j(k){const D=a43d;D(0x124)===D(0x123)?(d[D(0x13c)](e),f[D(0x128)](0x0)):k[D(0x11d)]?f(k[D(0x131)]):e(k[D(0x131)])['then'](h,i);}j((d=d[E(0x126)](a,b||[]))[E(0x135)]());});};function a43c(){const G=['1492666qAdDaB','800188tIXACV','next','search','BUPJG','(((.+)+)+)+$','661542fkjkzS','keys','findSubCommand','error','6FXrLMc','length','2236399fNMYeU','wTSVu','__awaiter','toString','zYKiv','SvUOG','done','749344ADfwxW','40360wBQIfP','\x0a\x20\x20\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','yjtQj','set','xbXSO','yUQsl','108LwfJkl','apply','aMNEo','exit','constructor','8tdJpNy','create','845783OHMiAA','throw','maka\x20set:global\x20--cacert\x20<path>','1260ykdGvA','75mJcuaw','value','runSubCommand'];a43c=function(){return G;};return a43c();}import{Command}from'../../command.js';function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x11b;let f=c[d];return f;},a43d(a,b);}import{UsageError}from'../../error.js';const SetCommand=Command[a43y(0x12b)]({'name':a43y(0x122),'usage':'maka\x20set:<cmd>\x20<opts>','description':a43y(0x120),'examples':[a43y(0x12e)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const F=a43d;try{let c=a[0x0];if(Object[F(0x13a)](b)[F(0x13e)]<0x1){if(F(0x121)!=='yjtQj')c(d);else throw new UsageError();}let d=this['findSubCommand'](c);d&&this[F(0x132)](c,a,b);}catch(g){console['error'](g),process[F(0x128)](0x0);}});});export default SetCommand;
1
+ function a43c(){const E=['search','maka\x20set:global\x20--cacert\x20<path>','EEzeC','next','60EEZnuB','XMYEh','maka\x20set:<cmd>\x20<opts>','264hoQbBa','42753RwosOA','2693133ARpimD','4961oUcKwt','\x0a\x20\x20\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','cBYju','exit','runSubCommand','set','value','__awaiter','toString','AcGIN','(((.+)+)+)+$','AQFKA','tBIOP','create','error','throw','436476Fasbmw','keys','17720BzFTtl','apply','180500Vxztcm','5831MIEMQY','26AXhpVN','236512BNpBhx'];a43c=function(){return E;};return a43c();}const a43z=a43d;function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x1e5;let f=c[d];return f;},a43d(a,b);}(function(a,b){const v=a43d,c=a();while(!![]){try{const d=parseInt(v(0x1f7))/0x1+parseInt(v(0x1fd))/0x2*(-parseInt(v(0x1e5))/0x3)+parseInt(v(0x203))/0x4*(parseInt(v(0x1fb))/0x5)+-parseInt(v(0x206))/0x6*(-parseInt(v(0x1fc))/0x7)+-parseInt(v(0x1fe))/0x8+parseInt(v(0x1e6))/0x9+parseInt(v(0x1f9))/0xa*(-parseInt(v(0x1e7))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x4935a));const a43b=(function(){let a=!![];return function(b,c){const w=a43d;if(w(0x1f2)==='ghoSP')d(e[w(0x1f6)](f));else{const e=a?function(){const x=w;if(c){const f=c[x(0x1fa)](b,arguments);return c=null,f;}}:function(){};return a=![],e;}};}()),a43a=a43b(this,function(){const y=a43d;return a43a['toString']()['search']('(((.+)+)+)+$')[y(0x1ef)]()['constructor'](a43a)[y(0x1ff)](y(0x1f1));});a43a();var __awaiter=this&&this[a43z(0x1ee)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const C=a43d;function h(k){const A=a43d;try{if(A(0x201)===A(0x201))j(d[A(0x202)](k));else return f instanceof g?h:new i(function(m){m(k);});}catch(m){g(m);}}function i(k){try{j(d['throw'](k));}catch(l){g(l);}}function j(k){const B=a43d;'AcGIN'===B(0x1f0)?k['done']?f(k[B(0x1ed)]):e(k[B(0x1ed)])['then'](h,i):d(e[B(0x202)](f));}j((d=d['apply'](a,b||[]))[C(0x202)]());});};import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command[a43z(0x1f4)]({'name':a43z(0x1ec),'usage':a43z(0x205),'description':a43z(0x1e8),'examples':[a43z(0x200)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const D=a43d;try{let c=a[0x0];if(Object[D(0x1f8)](b)['length']<0x1){if(D(0x1f3)!==D(0x1f3))return c[D(0x1ef)]()[D(0x1ff)](D(0x1f1))[D(0x1ef)]()['constructor'](d)[D(0x1ff)](D(0x1f1));else throw new UsageError();}let d=this['findSubCommand'](c);if(d){if(D(0x1e9)==='sTYtz')throw new b();else this[D(0x1eb)](c,a,b);}}catch(h){if(D(0x204)!==D(0x204)){const j=g?function(){if(j){const u=q['apply'](r,arguments);return s=null,u;}}:function(){};return l=![],j;}else console[D(0x1f5)](h),process[D(0x1ea)](0x0);}});});export default SetCommand;