@maka/maka-cli 4.2.8 → 4.2.9

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 (91) 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/get/whoami.sub.cmd.js +1 -0
  31. package/dist/commands/help.js +1 -1
  32. package/dist/commands/install.js +1 -1
  33. package/dist/commands/jsdoc.js +1 -1
  34. package/dist/commands/login.js +1 -1
  35. package/dist/commands/logout.js +1 -1
  36. package/dist/commands/logs.js +1 -1
  37. package/dist/commands/maka.cmd.js +1 -1
  38. package/dist/commands/murder.js +1 -1
  39. package/dist/commands/proxy.js +1 -1
  40. package/dist/commands/reconfig.js +1 -1
  41. package/dist/commands/run.js +1 -1
  42. package/dist/commands/set/_index.js +1 -1
  43. package/dist/commands/set/global.sub.cmd.js +1 -1
  44. package/dist/commands/set/local.sub.cmd.js +1 -1
  45. package/dist/commands/set/set.command.js +1 -1
  46. package/dist/commands/ssh.js +1 -1
  47. package/dist/commands/ssl.js +1 -1
  48. package/dist/commands/test.js +1 -1
  49. package/dist/commands/version.js +1 -1
  50. package/dist/error.js +1 -1
  51. package/dist/generator.js +1 -1
  52. package/dist/generators/_index.js +1 -1
  53. package/dist/generators/api.js +1 -1
  54. package/dist/generators/collection.js +1 -1
  55. package/dist/generators/component.js +1 -1
  56. package/dist/generators/config.js +1 -1
  57. package/dist/generators/dbc.js +1 -1
  58. package/dist/generators/dockerfile.js +1 -1
  59. package/dist/generators/hook.js +1 -1
  60. package/dist/generators/kit.js +1 -1
  61. package/dist/generators/layout.js +1 -1
  62. package/dist/generators/maka.gen.js +1 -1
  63. package/dist/generators/methods.js +1 -1
  64. package/dist/generators/package.js +1 -1
  65. package/dist/generators/page.js +1 -1
  66. package/dist/generators/publish.js +1 -1
  67. package/dist/generators/route.js +1 -1
  68. package/dist/generators/scaffold.js +1 -1
  69. package/dist/generators/service.js +1 -1
  70. package/dist/generators/services/_index.js +1 -1
  71. package/dist/generators/services/translation.js +1 -1
  72. package/dist/maka.js +1 -1
  73. package/dist/tool.js +1 -1
  74. package/dist/tools/actions/actions.class.js +1 -1
  75. package/dist/tools/actions/actions.test.js +1 -1
  76. package/dist/tools/aws/aws.class.js +1 -1
  77. package/dist/tools/aws/aws.interfaces.js +1 -1
  78. package/dist/tools/docker/docker.class.js +1 -1
  79. package/dist/tools/docker/docker.interfaces.js +1 -1
  80. package/dist/tools/fsi/fsi.class.js +1 -1
  81. package/dist/tools/fsi/fsi.interfaces.js +1 -1
  82. package/dist/tools/https/https.class.js +1 -1
  83. package/dist/tools/https/https.interface.js +1 -1
  84. package/dist/tools/log/log.class.js +1 -1
  85. package/dist/tools/log/log.interfaces.js +1 -1
  86. package/dist/tools/spawn-async/spawn-async.class.js +1 -1
  87. package/dist/tools/spawn-async/spawn-async.interfaces.js +1 -1
  88. package/dist/tools/ssh/ssh.class.js +1 -1
  89. package/dist/tools/ssh/ssh.interfaces.js +1 -1
  90. package/dist/tools/ssl/ssl.class.js +1 -1
  91. package/package.json +1 -1
@@ -1 +1 @@
1
- var a28z=a28d;function a28c(){var G=['__awaiter','FocWW','fsi','42040sXtOcL','search','700gXDBSM','next','getProjectConfig','EcvBR','create','(((.+)+)+)+$','log','1219542HJAzPd','exit','error','done','local','2526678gZAgWj','fDwMB','1536316waiPuH','28601040HtAjma','throw','AdIAt','WOuRA','SJXRg','1652247kpImbP','value','apply','esVmn','2956890vzXxUO','Get\x20maka\x20configurations\x20in\x20the\x20local\x20.maka/config.json\x20file','toString'];a28c=function(){return G;};return a28c();}(function(a,b){var v=a28d,c=a();while(!![]){try{var d=parseInt(v(0x166))/0x1+parseInt(v(0x150))/0x2+parseInt(v(0x14c))/0x3+parseInt(v(0x158))/0x4*(parseInt(v(0x156))/0x5)+-parseInt(v(0x15f))/0x6+-parseInt(v(0x164))/0x7+-parseInt(v(0x147))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a28c,0xdb221));var a28b=(function(){var a=!![];return function(b,c){var w=a28d;if(w(0x165)!=='fDwMB'){if(e){var f=i[w(0x14e)](j,arguments);return k=null,f;}}else{var d=a?function(){var x=w;if('HdcSx'==='HdcSx'){if(c){var f=c['apply'](b,arguments);return c=null,f;}}else d(e[x(0x148)](f));}:function(){};return a=![],d;}};}()),a28a=a28b(this,function(){var y=a28d;return a28a[y(0x152)]()['search'](y(0x15d))[y(0x152)]()['constructor'](a28a)[y(0x157)](y(0x15d));});a28a();function a28d(a,b){var c=a28c();return a28d=function(d,e){d=d-0x147;var f=c[d];return f;},a28d(a,b);}var __awaiter=this&&this[a28z(0x153)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){var D=a28d;function h(k){var A=a28d;if(A(0x14f)!=='oIlye')try{A(0x149)!==A(0x149)?d(e[A(0x159)](f)):j(d[A(0x159)](k));}catch(m){if(A(0x154)!==A(0x154))return c[A(0x152)]()[A(0x157)](A(0x15d))['toString']()['constructor'](d)[A(0x157)](A(0x15d));else g(m);}else try{i(j[A(0x159)](k));}catch(p){m(p);}}function i(k){var B=a28d;try{if(B(0x14a)!==B(0x14a))return f instanceof g?h:new i(function(m){m(k);});else j(d['throw'](k));}catch(m){B(0x14b)===B(0x14b)?g(m):c(d);}}function j(k){var C=a28d;k[C(0x162)]?f(k[C(0x14d)]):e(k[C(0x14d)])['then'](h,i);}j((d=d['apply'](a,b||[]))[D(0x159)]());});};import a28u from'./get.command.js';import{Command}from'../../command.js';Command[a28z(0x15c)]({'name':a28z(0x163),'usage':'maka\x20get:local','mustBeInMakaProject':!![],'description':a28z(0x151)},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){var E=a28d;try{const c=yield this[E(0x155)][E(0x15a)]();console[E(0x15e)](c);}catch(d){if(E(0x15b)===E(0x15b))console[E(0x161)](d),process[E(0x160)](0x0);else{var g=g?function(){var F=E;if(g){var u=q[F(0x14e)](r,arguments);return s=null,u;}}:function(){};return l=![],g;}}});},a28u);
1
+ var a28E=a28d;(function(a,b){var v=a28d,c=a();while(!![]){try{var d=parseInt(v(0xdc))/0x1+-parseInt(v(0xd5))/0x2*(parseInt(v(0xf3))/0x3)+parseInt(v(0xe3))/0x4+parseInt(v(0xe2))/0x5+-parseInt(v(0xd7))/0x6+-parseInt(v(0xdb))/0x7+parseInt(v(0xea))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a28c,0xeeb76));function a28d(a,b){var c=a28c();return a28d=function(d,e){d=d-0xd5;var f=c[d];return f;},a28d(a,b);}var a28b=(function(){var a=!![];return function(b,c){var d=a?function(){var w=a28d;if(w(0xe7)===w(0xe7)){if(c){var e=c[w(0xf0)](b,arguments);return c=null,e;}}else c(d);}:function(){};return a=![],d;};}()),a28a=a28b(this,function(){var x=a28d;return a28a[x(0xec)]()[x(0xe8)](x(0xe4))['toString']()[x(0xdd)](a28a)[x(0xe8)](x(0xe4));});a28a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){var y=a28d;if(y(0xe5)!==y(0xee))return f instanceof c?f:new c(function(g){var z=y;if(z(0xe1)===z(0xe1))g(f);else return f instanceof g?h:new i(function(m){m(k);});});else{var h=d[y(0xf0)](e,arguments);return f=null,h;}}return new(c||(c=Promise))(function(f,g){var D=a28d;function h(k){var A=a28d;try{j(d[A(0xd6)](k));}catch(l){g(l);}}function i(k){var B=a28d;try{B(0xde)===B(0xf6)?(d[B(0xe6)](e),f[B(0xf1)](0x0)):j(d[B(0xdf)](k));}catch(m){g(m);}}function j(k){var C=a28d;k[C(0xd8)]?f(k['value']):e(k[C(0xe0)])[C(0xed)](h,i);}j((d=d[D(0xf0)](a,b||[]))[D(0xd6)]());});};import a28u from'./get.command.js';import{Command}from'../../command.js';Command[a28E(0xef)]({'name':a28E(0xf4),'usage':a28E(0xf2),'mustBeInMakaProject':!![],'description':'Get\x20maka\x20configurations\x20in\x20the\x20local\x20.maka/config.json\x20file'},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){var F=a28d;try{const c=yield this[F(0xf5)][F(0xe9)]();console[F(0xd9)](c);}catch(d){F(0xda)===F(0xeb)?c(d):(console[F(0xe6)](d),process[F(0xf1)](0x0));}});},a28u);function a28c(){var G=['local-config','fsi','BMoWH','24KdNDxb','next','9592632wqatEG','done','log','fSVxb','2399579TQfDGl','522810ZxNeas','constructor','FTyWl','throw','value','ZeCqU','1885905qajQyj','3162192kMJGoq','(((.+)+)+)+$','nRBNb','error','MXIYb','search','getProjectConfig','21250080WDRBNU','Vlhvn','toString','then','vYCuQ','create','apply','exit','maka\x20get:local-config','356862XgGwpI'];a28c=function(){return G;};return a28c();}
@@ -0,0 +1 @@
1
+ const a29y=a29d;(function(a,b){const w=a29d,c=a();while(!![]){try{const d=-parseInt(w(0xb5))/0x1*(parseInt(w(0xc1))/0x2)+parseInt(w(0xc7))/0x3+parseInt(w(0xca))/0x4*(parseInt(w(0xae))/0x5)+-parseInt(w(0xab))/0x6*(parseInt(w(0xbc))/0x7)+parseInt(w(0xc3))/0x8+parseInt(w(0xb3))/0x9+parseInt(w(0xa9))/0xa*(-parseInt(w(0xb2))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a29c,0x8172a));function a29d(a,b){const c=a29c();return a29d=function(d,e){d=d-0xa2;let f=c[d];return f;},a29d(a,b);}function a29c(){const G=['apply','127Gwajqi','User\x20ID:\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','whoami','notice','If\x20logged\x20in,\x20get\x20the\x20current\x20user\x27s\x20information','exit','value','470267DIdbZD','then','fhkNk','throw','WDaPl','5596WYaFTf','LTHSA','4072496UQOTqt','ShyfU','User\x20Access\x20Token:\x20\x20','hMGwx','1177080cPKhby','user','search','116CgEvQZ','toString','__awaiter','done','hIjLv','bebqH','decode','userId','hash','20VmLGTt','create','60YDVlYe','User\x20Email:\x20\x20\x20\x20\x20\x20\x20\x20\x20','token','137525JHBaHm','UKWpe','next','(((.+)+)+)+$','4623223dVuQyO','6290037ZQHLmC'];a29c=function(){return G;};return a29c();}const a29b=(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;};}()),a29a=a29b(this,function(){const x=a29d;return a29a['toString']()[x(0xc9)]('(((.+)+)+)+$')[x(0xcb)]()['constructor'](a29a)[x(0xc9)](x(0xb1));});a29a();var __awaiter=this&&this[a29y(0xa2)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const z=a29d;if(z(0xaf)!==z(0xc2))g(f);else{if(e){const i=i[z(0xb4)](j,arguments);return k=null,i;}}});}return new(c||(c=Promise))(function(f,g){const D=a29d;function h(k){const A=a29d;if(A(0xc4)!==A(0xc4))h['done']?i(j[A(0xbb)]):k(l['value'])[A(0xbd)](m,n);else try{j(d['next'](k));}catch(m){g(m);}}function i(k){const B=a29d;try{if('WtREH'!=='JMcVO')j(d[B(0xbf)](k));else try{i(j['throw'](k));}catch(m){m(m);}}catch(m){g(m);}}function j(k){const C=a29d;if(C(0xc0)!=='xKFrr')k[C(0xa3)]?f(k[C(0xbb)]):e(k[C(0xbb)])[C(0xbd)](h,i);else return f instanceof g?h:new i(function(m){m(k);});}j((d=d['apply'](a,b||[]))[D(0xb0)]());});};import a29u from'./get.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import a29v from'jsonwebtoken';Command[a29y(0xaa)]({'name':a29y(0xb7),'usage':'maka\x20get:whoami','description':a29y(0xb9)},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const E=a29d;if(E(0xa4)===E(0xbe))try{i(j[E(0xb0)](k));}catch(d){m(d);}else try{const d=yield this['fsi']['getGlobalConfig']();if(d[E(0xa8)]){if(E(0xa5)===E(0xc6)){const g=g?function(){const F=E;if(g){const u=q[F(0xb4)](r,arguments);return s=null,u;}}:function(){};return l=![],g;}else{const g=a29v[E(0xa6)](d['hash']);Log['notice'](E(0xac)+(g===null||g===void 0x0?void 0x0:g[E(0xc8)])),Log['notice'](E(0xb6)+d[E(0xad)][E(0xa7)]),Log[E(0xb8)](E(0xc5)+d[E(0xad)]['authToken']);}}}catch(h){console['error'](h),process[E(0xba)](0x0);}});},a29u);
@@ -1 +1 @@
1
- var a29y=a29d;(function(a,b){var v=a29d,c=a();while(!![]){try{var d=parseInt(v(0x76))/0x1+-parseInt(v(0x7b))/0x2*(-parseInt(v(0x79))/0x3)+parseInt(v(0x75))/0x4*(-parseInt(v(0x6c))/0x5)+parseInt(v(0x78))/0x6+parseInt(v(0x6e))/0x7*(-parseInt(v(0x7a))/0x8)+-parseInt(v(0x72))/0x9+parseInt(v(0x73))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a29c,0xf1944));function a29c(){var G=['__awaiter','20VmvAUo','162929zgUVve','apply','9143940URHexM','3ObBrrb','1730056JyuUcL','2058602yvsXjz','yiIBv','next','create','value','help','mSqXc','uKWlJ','MfsEk','search','1213065vyozLF','(((.+)+)+)+$','35TtCaLy','toString','then','done','14119632fWeTzv','21364860iqpXNx'];a29c=function(){return G;};return a29c();}function a29d(a,b){var c=a29c();return a29d=function(d,e){d=d-0x68;var f=c[d];return f;},a29d(a,b);}var a29b=(function(){var a=!![];return function(b,c){var d=a?function(){var w=a29d;if(c){var e=c[w(0x77)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a29a=a29b(this,function(){var x=a29d;return a29a[x(0x6f)]()[x(0x6b)](x(0x6d))[x(0x6f)]()['constructor'](a29a)[x(0x6b)](x(0x6d));});a29a();var __awaiter=this&&this[a29y(0x74)]||function(a,b,c,d){function e(f){var z=a29d;return z(0x68)!==z(0x68)?f instanceof g?h:new i(function(m){m(k);}):f instanceof c?f:new c(function(h){var A=z;if(A(0x69)===A(0x6a)){var j=g?function(){var B=A;if(j){var u=q[B(0x77)](r,arguments);return s=null,u;}}:function(){};return l=![],j;}else h(f);});}return new(c||(c=Promise))(function(f,g){var F=a29d;function h(k){var C=a29d;try{j(d[C(0x7d)](k));}catch(l){g(l);}}function i(k){var D=a29d;if(D(0x7c)!==D(0x7c))c(d);else try{j(d['throw'](k));}catch(m){g(m);}}function j(k){var E=a29d;k[E(0x71)]?f(k[E(0x7f)]):e(k[E(0x7f)])[E(0x70)](h,i);}j((d=d[F(0x77)](a,b||[]))[F(0x7d)]());});};import{Command}from'../command.js';import{UsageError}from'../error.js';Command[a29y(0x7e)]({'name':a29y(0x80),'description':'Try,\x20maka\x20--help','aliases':['h']},function(){return __awaiter(this,void 0x0,void 0x0,function*(){throw new UsageError();});});
1
+ var a30x=a30d;(function(a,b){var u=a30d,c=a();while(!![]){try{var d=parseInt(u(0x1ce))/0x1*(-parseInt(u(0x1db))/0x2)+-parseInt(u(0x1e1))/0x3+parseInt(u(0x1dd))/0x4*(parseInt(u(0x1d0))/0x5)+-parseInt(u(0x1d6))/0x6+-parseInt(u(0x1c6))/0x7*(parseInt(u(0x1d9))/0x8)+-parseInt(u(0x1cc))/0x9+parseInt(u(0x1e0))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a30c,0xee13f));var a30b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a30d;if(c){if('lBzSn'===v(0x1d2)){var e=c['apply'](b,arguments);return c=null,e;}else return f instanceof g?h:new i(function(m){m(k);});}}:function(){};return a=![],d;};}()),a30a=a30b(this,function(){var w=a30d;return a30a['toString']()[w(0x1d8)](w(0x1cb))[w(0x1df)]()['constructor'](a30a)['search'](w(0x1cb));});a30a();var __awaiter=this&&this[a30x(0x1dc)]||function(a,b,c,d){function e(f){var y=a30d;if(y(0x1de)!==y(0x1c9))return f instanceof c?f:new c(function(g){var z=y;if(z(0x1c5)===z(0x1d5)){if(e){var i=i[z(0x1cd)](j,arguments);return k=null,i;}}else g(f);});else c(d);}return new(c||(c=Promise))(function(f,g){var D=a30d;function h(k){var A=a30d;try{j(d[A(0x1da)](k));}catch(l){g(l);}}function i(k){var B=a30d;try{j(d[B(0x1d1)](k));}catch(l){if('YFaKL'!==B(0x1d3))throw new b();else g(l);}}function j(k){var C=a30d;k[C(0x1d4)]?f(k[C(0x1d7)]):e(k[C(0x1d7)])[C(0x1c7)](h,i);}j((d=d[D(0x1cd)](a,b||[]))['next']());});};import{Command}from'../command.js';function a30d(a,b){var c=a30c();return a30d=function(d,e){d=d-0x1c5;var f=c[d];return f;},a30d(a,b);}function a30c(){var F=['7712HPSlXF','__awaiter','16nZgybw','IevZy','toString','30193010wreBkI','123699hGtINO','create','YIsVz','1050GRWAcB','then','qyQaq','FXJBo','Try,\x20maka\x20--help','(((.+)+)+)+$','3115134LxiUej','apply','218OhKxQS','help','759985gbXpgj','throw','lBzSn','YFaKL','done','TaFVa','3810930wUeudW','value','search','42080MuItQF','next'];a30c=function(){return F;};return a30c();}import{UsageError}from'../error.js';Command[a30x(0x1e2)]({'name':a30x(0x1cf),'description':a30x(0x1ca),'aliases':['h']},function(){return __awaiter(this,void 0x0,void 0x0,function*(){var E=a30d;if(E(0x1c8)!==E(0x1c8))try{i(j[E(0x1d1)](k));}catch(b){m(b);}else throw new UsageError();});});
@@ -1 +1 @@
1
- const a30H=a30d;(function(a,b){const D=a30d,c=a();while(!![]){try{const d=-parseInt(D(0x145))/0x1*(-parseInt(D(0x12e))/0x2)+-parseInt(D(0x150))/0x3+-parseInt(D(0x106))/0x4*(parseInt(D(0x140))/0x5)+parseInt(D(0x170))/0x6*(-parseInt(D(0x166))/0x7)+-parseInt(D(0x13e))/0x8+-parseInt(D(0x154))/0x9*(parseInt(D(0x15e))/0xa)+parseInt(D(0x117))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a30c,0xb24ce));function a30d(a,b){const c=a30c();return a30d=function(d,e){d=d-0x106;let f=c[d];return f;},a30d(a,b);}const a30b=(function(){let a=!![];return function(b,c){const E=a30d;if('GkPwm'===E(0x11e))h[E(0x132)]?i(j[E(0x159)]):k(l['value'])['then'](m,n);else{const e=a?function(){const F=E;if(c){if('rlbXr'!==F(0x164))return f instanceof g?h:new i(function(m){m(k);});else{const g=c[F(0x127)](b,arguments);return c=null,g;}}}:function(){};return a=![],e;}};}()),a30a=a30b(this,function(){const G=a30d;return a30a[G(0x12b)]()['search'](G(0x14a))['toString']()[G(0x15d)](a30a)[G(0x121)]('(((.+)+)+)+$');});a30a();var __awaiter=this&&this[a30H(0x11b)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const I=a30d;I(0x168)!==I(0x168)?c['error'](d):g(f);});}return new(c||(c=Promise))(function(f,g){function h(k){const J=a30d;try{j(d[J(0x113)](k));}catch(l){if(J(0x14d)!=='bFevC')g(l);else{const n=g?function(){const K=J;if(n){const u=q[K(0x127)](r,arguments);return s=null,u;}}:function(){};return l=![],n;}}}function i(k){const L=a30d;if(L(0x147)!==L(0x107))try{if(L(0x176)!==L(0x176)){if(this[L(0x114)][L(0x11f)](g[L(0x122)]))m=n[L(0x122)],o=[L(0x11a),p];else throw L(0x16d)+q;}else j(d[L(0x156)](k));}catch(m){g(m);}else{const o=d['apply'](e,arguments);return f=null,o;}}function j(k){const M=a30d;k[M(0x132)]?f(k[M(0x159)]):e(k[M(0x159)])[M(0x131)](h,i);}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 O=['zvkIx','TtYMn','warn','platform','rlbXr','error','406YTJtwL','xFzvO','WCcFl','notice','bAHqp','maka\x20install\x20meteor\x20--force','\x20-s\x20https://install.meteor.com/','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka.cert,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','Network\x20error,\x20please\x20try\x20again.','Allowing\x20insecure\x20curl\x20connections.','31914gvXaYV','replace','printf\x20\x27export\x20PATH=$PATH:$HOME/.local/bin\x27\x20>>\x20$HOME/.profile\x20&&\x20source\x20$HOME/.profile','maka\x20i','os.linux.x86_64','rlAiU','ceUNZ','100nlacoS','UNkaw','maka\x20install','keepInstall','Install\x20a\x20meteor.\x20\x22maka\x20install\x22\x20defaults\x20to\x20\x22maka\x20install\x20meteor\x22','printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.zshrc','length','string','printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.bashrc','Installing\x20meteor\x20','confirm','sync','create','next','fsi','ahtAL','--output','22108955RmcfsG','Aborted','https://static-meteor.netdna-ssl.com/packages-bootstrap/','--cacert','__awaiter','OTLQd','tar','NEevK','isFile','JwPVc','search','cert','/meteor-bootstrap-','RELEASE=','install','nVKjb','apply','Downloading\x20meteor\x20version\x20','\x20installed.\x0a','YfKUE','toString','version','.tar.gz','66YZgxJF','homedir','success','then','done','Using\x20CA\x20Cert\x20','Removing\x20previous\x20install\x20of\x20meteor','-xzf','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','debug','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','.meteor','curl\x20','grep','win32','maka\x20install\x20meteor','4664064gcxXDM','wmLRt','46940QEvocH','xfrsP','IIiKT','curl','bYBcy','13883PAKVmf','force','LpPDJ','cacert','wsiAH','(((.+)+)+)+$','meteor.tar.gz','mkdir\x20-p\x20','VpJZd','withSpinner','Meteor\x20version\x20','661974YkitBr','ignore','darwin','getGlobalConfig','270594qMXXdG','-rf','throw','maka\x20install\x20meteor\x20--version\x201.12.1','/.local/bin','value','Please\x20use\x20\x22npm\x20i\x20-g\x20meteor\x22\x20to\x20install\x20on\x20windows','existsSync','This\x20command\x20should\x20NOT\x20be\x20run\x20as\x20sudo\x20or\x20with\x20administrative\x20privileges.\x20\x20Are\x20you\x20ready\x20to\x20proceed?','constructor','130xufnPc','join'];a30c=function(){return O;};return a30c();}import{execSync}from'child_process';import{SpawnAsync}from'../tools/spawn-async/spawn-async.class.js';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';const homeDir=a30x[a30H(0x12f)]();Command[a30H(0x112)]({'name':a30H(0x125),'aliases':['i'],'validOpts':['f',a30H(0x146),'v',a30H(0x12c),a30H(0x137),'cacert',a30H(0x109)],'usage':a30H(0x108),'description':a30H(0x10a),'examples':[a30H(0x13d),a30H(0x16b),'maka\x20install\x20meteor\x20-v\x202.3.6',a30H(0x157),a30H(0x173)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const N=a30d;if(N(0x161)===N(0x161))try{let c=[],d='';if(b['cacert']){if(this[N(0x114)][N(0x11f)](b['cacert']))Log[N(0x169)](N(0x133)+b[N(0x148)]),d=b['cacert'],c=[N(0x11a),d];else{if(N(0x167)!==N(0x13f))throw N(0x138)+d;else b=!![];}}const f=yield this[N(0x114)][N(0x153)]();if(f[N(0x122)]){if(this[N(0x114)][N(0x11f)](f[N(0x122)]))d=f[N(0x122)],c=[N(0x11a),d];else{if(N(0x142)!==N(0x142)){if(e){const p=i['apply'](j,arguments);return k=null,p;}}else throw N(0x16d)+d;}}f['allowInsecure']&&(Log[N(0x162)](N(0x16f)),c=['-k']);let g=![];b['f']||b[N(0x146)]?'bYBcy'===N(0x144)?g=!![]:d(e[N(0x113)](f)):N(0x141)!=='xfrsP'?(e=f[N(0x122)],g=['--cacert',h]):g=yield Actions[N(0x110)](N(0x15c));if(!g){if(N(0x16a)!==N(0x160))throw'Aborted';else c[N(0x162)](N(0x16f)),d=['-k'];}const h=process['platform']===N(0x13c),i=process[N(0x163)]===N(0x152);let j=execSync(N(0x13a)+c['join']('\x20')+N(0x16c))['toString'](),k=yield this[N(0x114)][N(0x13b)](j,N(0x124));if(k[N(0x10c)]===0x0)throw N(0x16e);let l=k[0x0][N(0x171)](/[^0-9.]/gi,'')[N(0x171)](/\r?\n|\r/,'');if(typeof b['v']===N(0x10d)||typeof b['version']===N(0x10d)){if(N(0x115)===N(0x120))throw N(0x118);else l=b['v']||b[N(0x12c)];}let m=a30y['join'](homeDir,N(0x139));if(h)N(0x11c)!==N(0x11c)?b[N(0x162)](N(0x15a)):Log[N(0x162)](N(0x15a));else{a30z[N(0x15b)](m)&&(yield SpawnAsync[N(0x14e)]('rm',[N(0x155),m],{'message':N(0x134)}));try{if(N(0x175)===N(0x126))c['error'](d);else{const v=i?'os.osx.x86_64':N(0x174);yield SpawnAsync[N(0x14e)](N(0x143),[...c,'-s',N(0x119)+l+N(0x123)+v+N(0x12d),N(0x116),a30y[N(0x15f)](homeDir,N(0x14b))],{'message':N(0x128)+l});const w=[N(0x135),a30y[N(0x15f)](homeDir,N(0x14b)),'-C',homeDir];yield SpawnAsync[N(0x14e)](N(0x11d),w,{'message':N(0x10f)+l}),a30A[N(0x111)](a30y['join'](homeDir,'meteor.tar.gz'),{'force':!![]});}}catch(x){console[N(0x165)](x);}try{'oTdGd'===N(0x149)?(d['error'](e),f['exit'](0x0)):(execSync('mkdir\x20-p\x20'+homeDir+N(0x158),{'stdio':'ignore'}),execSync(N(0x136),{'stdio':N(0x151)}),execSync(N(0x172),{'stdio':N(0x151)}),execSync(N(0x10e),{'stdio':N(0x151)}),execSync(N(0x10b),{'stdio':N(0x151)}));}catch(z){console[N(0x165)](z);}Log[N(0x130)](N(0x14f)+l+N(0x129));}}catch(A){if(N(0x12a)==='YfKUE')console[N(0x165)](A),process['exit'](0x0);else throw N(0x138)+b;}else g(N(0x14c)+h+N(0x158),{'stdio':'ignore'}),i(N(0x136),{'stdio':N(0x151)}),j('printf\x20\x27export\x20PATH=$PATH:$HOME/.local/bin\x27\x20>>\x20$HOME/.profile\x20&&\x20source\x20$HOME/.profile',{'stdio':'ignore'}),k('printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.bashrc',{'stdio':N(0x151)}),l(N(0x10b),{'stdio':N(0x151)});});});
1
+ function a31d(a,b){const c=a31c();return a31d=function(d,e){d=d-0x19c;let f=c[d];return f;},a31d(a,b);}const a31J=a31d;(function(a,b){const B=a31d,c=a();while(!![]){try{const d=-parseInt(B(0x1e3))/0x1*(parseInt(B(0x1ab))/0x2)+parseInt(B(0x1ea))/0x3*(-parseInt(B(0x1e6))/0x4)+-parseInt(B(0x1a6))/0x5*(-parseInt(B(0x1d8))/0x6)+parseInt(B(0x1b2))/0x7*(-parseInt(B(0x1f8))/0x8)+-parseInt(B(0x19d))/0x9+-parseInt(B(0x1c2))/0xa*(parseInt(B(0x1a7))/0xb)+parseInt(B(0x1c0))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a31c,0xb36c2));const a31b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a31d;if('BJzyi'!=='hpqcA'){if(c){const e=c[C(0x1b9)](b,arguments);return c=null,e;}}else c(d);}:function(){};return a=![],d;};}()),a31a=a31b(this,function(){const D=a31d;return a31a[D(0x1d6)]()[D(0x1cd)](D(0x1f4))['toString']()[D(0x1c1)](a31a)[D(0x1cd)](D(0x1f4));});a31a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const E=a31d;if(E(0x1cc)===E(0x1cc))g(f);else throw E(0x1f2)+b;});}return new(c||(c=Promise))(function(f,g){const I=a31d;function h(k){const F=a31d;if(F(0x19f)==='NoNWR')try{i(j[F(0x1dd)](k));}catch(m){m(m);}else try{j(d[F(0x1dd)](k));}catch(m){g(m);}}function i(k){const G=a31d;if(G(0x1ac)===G(0x1ac))try{j(d['throw'](k));}catch(l){g(l);}else d[G(0x1b0)](e),f[G(0x1a2)](0x0);}function j(k){const H=a31d;H(0x1e9)!==H(0x1e9)?(g[H(0x1e8)](H(0x1bd)+h[H(0x1d2)]),i=j[H(0x1d2)],k=['--cacert',l]):k[H(0x1e2)]?f(k[H(0x1d3)]):e(k[H(0x1d3)])[H(0x1e5)](h,i);}j((d=d[I(0x1b9)](a,b||[]))[I(0x1dd)]());});};import a31x from'os';import a31y from'path';import a31z from'fs';import a31A from'delete';import{execSync}from'child_process';import{SpawnAsync}from'../tools/spawn-async/spawn-async.class.js';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';const homeDir=a31x['homedir']();Command['create']({'name':a31J(0x1d7),'aliases':['i'],'validOpts':['f',a31J(0x1f3),'v','version',a31J(0x1bf),a31J(0x1d2),a31J(0x1b3)],'usage':a31J(0x1f5),'description':'Install\x20a\x20meteor.\x20\x22maka\x20install\x22\x20defaults\x20to\x20\x22maka\x20install\x20meteor\x22','examples':[a31J(0x1b5),a31J(0x1a1),a31J(0x1c9),a31J(0x1a9),'maka\x20i']},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const K=a31d;try{let c=[],d='';if(b[K(0x1d2)]){if(this[K(0x1b8)][K(0x1e1)](b['cacert']))'sBOPi'!==K(0x1ed)?c[K(0x1b0)](d):(Log['notice'](K(0x1bd)+b['cacert']),d=b[K(0x1d2)],c=[K(0x19e),d]);else{if(K(0x1db)!=='PMKDh'){if(this[K(0x1b8)][K(0x1e1)](i[K(0x1d2)]))q[K(0x1e8)](K(0x1bd)+r['cacert']),s=t['cacert'],u=['--cacert',v];else throw K(0x1ee)+w;}else throw K(0x1ee)+d;}}const f=yield this[K(0x1b8)][K(0x1b7)]();if(f['cert']){if(K(0x1d9)===K(0x1d9)){if(this['fsi'][K(0x1e1)](f[K(0x1d5)]))d=f[K(0x1d5)],c=['--cacert',d];else throw'CA\x20Cert\x20is\x20configured\x20in\x20~/.maka.cert,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+d;}else g(K(0x1a0)+h+K(0x1cb),{'stdio':K(0x1cf)}),i(K(0x1d1),{'stdio':K(0x1cf)}),j(K(0x19c),{'stdio':'ignore'}),k(K(0x1c6),{'stdio':K(0x1cf)}),l('printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.zshrc',{'stdio':'ignore'});}f[K(0x1de)]&&(Log['warn']('Allowing\x20insecure\x20curl\x20connections.'),c=['-k']);let g=![];b['f']||b['force']?g=!![]:g=yield Actions[K(0x1f6)]('This\x20command\x20should\x20NOT\x20be\x20run\x20as\x20sudo\x20or\x20with\x20administrative\x20privileges.\x20\x20Are\x20you\x20ready\x20to\x20proceed?');if(!g){if('WmmLL'!==K(0x1c7)){if(e){const r=i[K(0x1b9)](j,arguments);return k=null,r;}}else throw K(0x1c4);}const h=process['platform']===K(0x1d0),i=process[K(0x1bb)]===K(0x1bc);let j=execSync(K(0x1a4)+c[K(0x1e0)]('\x20')+K(0x1ad))[K(0x1d6)](),k=yield this[K(0x1b8)]['grep'](j,K(0x1da));if(k[K(0x1be)]===0x0){if('ijCxZ'!==K(0x1c5))d(e[K(0x1b4)](f));else throw'Network\x20error,\x20please\x20try\x20again.';}let l=k[0x0]['replace'](/[^0-9.]/gi,'')['replace'](/\r?\n|\r/,'');(typeof b['v']===K(0x1c3)||typeof b[K(0x1c8)]==='string')&&(l=b['v']||b[K(0x1c8)]);let m=a31y[K(0x1e0)](homeDir,K(0x1eb));if(h)Log[K(0x1b6)](K(0x1ba));else{a31z[K(0x1ec)](m)&&(yield SpawnAsync[K(0x1a3)]('rm',[K(0x1e7),m],{'message':K(0x1f7)}));try{const s=i?K(0x1ca):'os.linux.x86_64';yield SpawnAsync[K(0x1a3)](K(0x1dc),[...c,'-s',K(0x1ce)+l+'/meteor-bootstrap-'+s+K(0x1e4),'--output',a31y[K(0x1e0)](homeDir,K(0x1d4))],{'message':K(0x1ef)+l});const t=[K(0x1aa),a31y[K(0x1e0)](homeDir,K(0x1d4)),'-C',homeDir];yield SpawnAsync[K(0x1a3)](K(0x1df),t,{'message':K(0x1b1)+l}),a31A['sync'](a31y[K(0x1e0)](homeDir,K(0x1d4)),{'force':!![]});}catch(u){K(0x1a8)!==K(0x1a5)?console['error'](u):b['warn'](K(0x1ba));}try{execSync('mkdir\x20-p\x20'+homeDir+'/.local/bin',{'stdio':K(0x1cf)}),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':K(0x1cf)}),execSync(K(0x19c),{'stdio':'ignore'}),execSync(K(0x1c6),{'stdio':K(0x1cf)}),execSync(K(0x1af),{'stdio':'ignore'});}catch(w){K(0x1f1)===K(0x1f1)?console['error'](w):c(d);}Log['success'](K(0x1ae)+l+'\x20installed.\x0a');}}catch(y){if(K(0x1f0)===K(0x1f0))console[K(0x1b0)](y),process['exit'](0x0);else{if(this[K(0x1b8)][K(0x1e1)](g[K(0x1d5)]))m=n['cert'],o=['--cacert',p];else throw K(0x1f2)+q;}}});});function a31c(){const L=['-rf','notice','sjQGF','3CXpvoe','.meteor','existsSync','sBOPi','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','Downloading\x20meteor\x20version\x20','fisld','lPgrk','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka.cert,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','force','(((.+)+)+)+$','maka\x20install','confirm','Removing\x20previous\x20install\x20of\x20meteor','8612728JPKPmy','printf\x20\x27export\x20PATH=$PATH:$HOME/.local/bin\x27\x20>>\x20$HOME/.profile\x20&&\x20source\x20$HOME/.profile','7626087mrlHPO','--cacert','hzTxM','mkdir\x20-p\x20','maka\x20install\x20meteor\x20--force','exit','withSpinner','curl\x20','RAeac','3047485FTuwlT','407pBxiUX','RnNwA','maka\x20install\x20meteor\x20--version\x201.12.1','-xzf','354MjqcgM','tTsXM','\x20-s\x20https://install.meteor.com/','Meteor\x20version\x20','printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.zshrc','error','Installing\x20meteor\x20','7cTyGhO','keepInstall','throw','maka\x20install\x20meteor','warn','getGlobalConfig','fsi','apply','Please\x20use\x20\x22npm\x20i\x20-g\x20meteor\x22\x20to\x20install\x20on\x20windows','platform','darwin','Using\x20CA\x20Cert\x20','length','debug','29599164rAwwHm','constructor','81680ODcegq','string','Aborted','ijCxZ','printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.bashrc','WmmLL','version','maka\x20install\x20meteor\x20-v\x202.3.6','os.osx.x86_64','/.local/bin','oiigg','search','https://static-meteor.netdna-ssl.com/packages-bootstrap/','ignore','win32','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','cacert','value','meteor.tar.gz','cert','toString','install','12cOhOnv','LrNzC','RELEASE=','PMKDh','curl','next','allowInsecure','tar','join','isFile','done','740LfISUQ','.tar.gz','then','2374188WFIETA'];a31c=function(){return L;};return a31c();}
@@ -1 +1 @@
1
- function a31d(a,b){const c=a31c();return a31d=function(d,e){d=d-0x1a3;let f=c[d];return f;},a31d(a,b);}const a31z=a31d;function a31c(){const B=['758497qVcSLo','(((.+)+)+)+$','6050504EfsFma','ANYbB','maka\x20jsdoc\x20--init','plugins/markdown','logNotice','7dxqeyG','8637LNGBJv','join','1762495KNlDse','pathFromProject','apply','cFeum','jsdoc','search','\x20-r\x20app','closure','app/node_modules','[-]\x20You\x20may\x20need\x20to\x20install\x20jsdoc:\x20\x22npm\x20i\x20-g\x20jsdoc\x22','\x0a[+]\x20Documentation\x20written\x20to\x20','isFile','123594ttFMOz','maka\x20jsdoc','app/private','100pfXsVf','stringify','\x20-c\x20','inherit','647217SrrOyW','1124kOXeds','AJdTc','Use\x20the\x20popular\x20JSDoc\x20documentation\x20generator','345408WRxdJD','fsi','jsdoc-config.json','stop','Running\x20','writeFileSync','sep','config','\x20-d\x20','logError','utf-8','logWithSpinner'];a31c=function(){return B;};return a31c();}(function(a,b){const w=a31d,c=a();while(!![]){try{const d=-parseInt(w(0x1b7))/0x1+parseInt(w(0x1cd))/0x2+-parseInt(w(0x1bf))/0x3*(-parseInt(w(0x1a8))/0x4)+parseInt(w(0x1c1))/0x5+-parseInt(w(0x1ab))/0x6+-parseInt(w(0x1be))/0x7*(-parseInt(w(0x1b9))/0x8)+parseInt(w(0x1a7))/0x9*(-parseInt(w(0x1a3))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a31c,0x6c7fd));const a31b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a31d;if(c){if('ANYbB'===x(0x1ba)){const e=c['apply'](b,arguments);return c=null,e;}else{const h=d[x(0x1c3)](e,arguments);return f=null,h;}}}:function(){};return a=![],d;};}()),a31a=a31b(this,function(){const y=a31d;return a31a['toString']()[y(0x1c6)](y(0x1b8))['toString']()['constructor'](a31a)[y(0x1c6)](y(0x1b8));});a31a();import a31u from'path';import a31v from'fs';import{execSync}from'child_process';import{Command}from'../command.js';Command['create']({'name':a31z(0x1c5),'usage':a31z(0x1ce),'mustBeInMakaProject':!![],'description':a31z(0x1aa),'examples':[a31z(0x1bb),a31z(0x1ce)]},function(a){const A=a31z;let b=a31u[A(0x1c0)](this[A(0x1ac)][A(0x1c2)]({}),'docs'+a31u['sep']),c=a31u[A(0x1c0)](this['fsi'][A(0x1c2)]({}),A(0x1b2),A(0x1ad)),d=this[A(0x1ac)][A(0x1c2)]({}),f=A(0x1c5);if(!this[A(0x1cc)](c)){let h={'plugins':[A(0x1bc)],'tags':{'allowUnknownTags':!![],'dictionaries':[A(0x1c5),A(0x1c8)]},'source':{'includePattern':'.+\x5c.(j|t)s(doc|x)?$','excludePattern':'(.+\x5c.app-tests.js)|(^|\x5c/|\x5c\x5c)_','exclude':['app/packages',A(0x1c9),'app/public',A(0x1cf)]},'templates':{'cleverLinks':![],'monospaceLinks':![]},'opts':{'recursive':!![],'encoding':A(0x1b5)}};a31v[A(0x1b0)](c,JSON[A(0x1a4)](h,null,0x4));}let g=this[A(0x1b6)](A(0x1af)+f);try{let i=f+A(0x1a5)+c+A(0x1c7)+a31u[A(0x1b1)]+A(0x1b3)+b;execSync(i,{'cwd':d,'stdio':A(0x1a6)}),this[A(0x1bd)](A(0x1cb)+b);}catch(j){this['logError'](j),this[A(0x1b4)](A(0x1ca));}finally{if(A(0x1a9)===A(0x1c4)){let l=h+A(0x1a5)+i+A(0x1c7)+j['sep']+A(0x1b3)+k;l(l,{'cwd':m,'stdio':A(0x1a6)}),this['logNotice'](A(0x1cb)+n);}else g[A(0x1ae)]();}});
1
+ const a32A=a32d;(function(a,b){const w=a32d,c=a();while(!![]){try{const d=parseInt(w(0x1c7))/0x1*(-parseInt(w(0x1e2))/0x2)+-parseInt(w(0x1e7))/0x3+parseInt(w(0x1d6))/0x4+-parseInt(w(0x1c1))/0x5+-parseInt(w(0x1ed))/0x6+-parseInt(w(0x1cd))/0x7*(-parseInt(w(0x1df))/0x8)+parseInt(w(0x1d4))/0x9*(parseInt(w(0x1cf))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a32c,0x5f05a));const a32b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a32d;if('FXlzx'===x(0x1d3)){const f=g?function(){const y=x;if(f){const u=q[y(0x1d9)](r,arguments);return s=null,u;}}:function(){};return l=![],f;}else{if(c){if(x(0x1dc)!==x(0x1dc)){const h=d['apply'](e,arguments);return f=null,h;}else{const g=c[x(0x1d9)](b,arguments);return c=null,g;}}}}:function(){};return a=![],d;};}()),a32a=a32b(this,function(){const z=a32d;return a32a[z(0x1bd)]()[z(0x1cc)](z(0x1c0))[z(0x1bd)]()['constructor'](a32a)[z(0x1cc)]('(((.+)+)+)+$');});a32a();import a32u from'path';function a32d(a,b){const c=a32c();return a32d=function(d,e){d=d-0x1bd;let f=c[d];return f;},a32d(a,b);}import a32v from'fs';function a32c(){const C=['logWithSpinner','jsdoc','inherit','\x20-d\x20','maka\x20jsdoc','2471070kiICJD','toString','sep','[-]\x20You\x20may\x20need\x20to\x20install\x20jsdoc:\x20\x22npm\x20i\x20-g\x20jsdoc\x22','(((.+)+)+)+$','105205yNwmxw','\x20-r\x20app','app/private','create','stringify','Use\x20the\x20popular\x20JSDoc\x20documentation\x20generator','362891JQXKBo','logError','logNotice','maka\x20jsdoc\x20--init','app/public','search','14SRiKWD','.+\x5c.(j|t)s(doc|x)?$','926710TAdKtp','docs','BfpaC','\x0a[+]\x20Documentation\x20written\x20to\x20','dHbsr','81LnzzJK','isFile','352300SmRfme','pathFromProject','writeFileSync','apply','stop','fsi','mbBuG','\x20-c\x20','(.+\x5c.app-tests.js)|(^|\x5c/|\x5c\x5c)_','3066664tXFWyk','config','app/node_modules','2ZnteNV','jsdoc-config.json','app/packages','join','closure','1511379MIQPMo'];a32c=function(){return C;};return a32c();}import{execSync}from'child_process';import{Command}from'../command.js';Command[a32A(0x1c4)]({'name':a32A(0x1e9),'usage':a32A(0x1ec),'mustBeInMakaProject':!![],'description':a32A(0x1c6),'examples':[a32A(0x1ca),a32A(0x1ec)]},function(a){const B=a32A;let b=a32u['join'](this[B(0x1db)][B(0x1d7)]({}),B(0x1d0)+a32u[B(0x1be)]),c=a32u[B(0x1e5)](this[B(0x1db)][B(0x1d7)]({}),B(0x1e0),B(0x1e3)),d=this['fsi'][B(0x1d7)]({}),f='jsdoc';if(!this[B(0x1d5)](c)){let h={'plugins':['plugins/markdown'],'tags':{'allowUnknownTags':!![],'dictionaries':['jsdoc',B(0x1e6)]},'source':{'includePattern':B(0x1ce),'excludePattern':B(0x1de),'exclude':[B(0x1e4),B(0x1e1),B(0x1cb),B(0x1c3)]},'templates':{'cleverLinks':![],'monospaceLinks':![]},'opts':{'recursive':!![],'encoding':'utf-8'}};a32v[B(0x1d8)](c,JSON[B(0x1c5)](h,null,0x4));}let g=this[B(0x1e8)]('Running\x20'+f);try{let i=f+B(0x1dd)+c+B(0x1c2)+a32u[B(0x1be)]+B(0x1eb)+b;execSync(i,{'cwd':d,'stdio':B(0x1ea)}),this[B(0x1c9)](B(0x1d2)+b);}catch(j){B(0x1d1)!==B(0x1d1)?(this[B(0x1c8)](b),this[B(0x1c8)](B(0x1bf))):(this[B(0x1c8)](j),this['logError'](B(0x1bf)));}finally{g[B(0x1da)]();}});
@@ -1 +1 @@
1
- const a32H=a32d;(function(a,b){const D=a32d,c=a();while(!![]){try{const d=-parseInt(D(0x107))/0x1+-parseInt(D(0xd7))/0x2+parseInt(D(0xf7))/0x3*(-parseInt(D(0x10b))/0x4)+parseInt(D(0xf4))/0x5+parseInt(D(0x10a))/0x6+-parseInt(D(0xeb))/0x7+parseInt(D(0xd0))/0x8*(parseInt(D(0x116))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a32c,0x2f8a5));const a32b=(function(){let a=!![];return function(b,c){const E=a32d;if(E(0xed)!==E(0xf5)){const d=a?function(){const F=E;if('AqBnc'!==F(0x102)){if(e){const f=i[F(0xd4)](j,arguments);return k=null,f;}}else{if(c){if('NPUVU'===F(0xff)){const f=c[F(0xd4)](b,arguments);return c=null,f;}else{if(this[F(0xf6)]['isFile'](f['cert']))k=l[F(0x100)];else{m[F(0x103)](F(0xdc)+n);return;}}}}}:function(){};return a=![],d;}else{const f={'token':f,'hash':g};h[E(0x111)]&&k['assign'](f,{'cert':l}),this[E(0xf6)]['setGlobalConfig']({'config':f});}};}()),a32a=a32b(this,function(){const G=a32d;return a32a[G(0xfe)]()[G(0xea)](G(0x115))[G(0xfe)]()[G(0x117)](a32a)[G(0xea)](G(0x115));});function a32c(){const N=['1397670CuzzCV','674308ZNhIXY','start','https://www.maka-cli.com/api/v1/status','isFile','setGlobalConfig','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','cacert','SkGQl','getGlobalConfig','then','(((.+)+)+)+$','2339667MOVhnY','constructor','wzfJc','TIMEOUT','digest','authToken','notice','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','sIKiR','debug','next','16iZNwyf','assign','eWDKf','www.maka-cli.com','apply','value','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','705636cAeZuU','maka\x20login','gYNOs','header','exit','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','password','QIGQc','ORerd','https://www.maka-cli.com/api/v1/encodeJwt','PAPUm','ask','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','Password:\x20','email','Using\x20CA\x20Cert\x20','WTWPq','post','search','1746031Asxhwq','success','TqpWK','done','failure','Logging\x20in','lzdVd','lhwvR','get','1171660EsVhEP','TnKIG','fsi','3OMcsFa','Logging\x20into\x20https://www.maka-cli.com','withSpinner','Email:','help','VTgWg','__awaiter','toString','NPUVU','cert','ZRwRZ','AqBnc','error','mjgAg','NqOkd','throw','21650JgdCZz','create','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka'];a32c=function(){return N;};return a32c();}function a32d(a,b){const c=a32c();return a32d=function(d,e){d=d-0xc7;let f=c[d];return f;},a32d(a,b);}a32a();var __awaiter=this&&this[a32H(0xfd)]||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 L=a32d;function h(k){const I=a32d;try{I(0xe1)===I(0xe1)?j(d[I(0xcf)](k)):d(e['next'](f));}catch(m){g(m);}}function i(k){const J=a32d;try{'cIGiv'!=='advJE'?j(d[J(0x106)](k)):d[J(0xd1)](e,{'cert':f});}catch(m){g(m);}}function j(k){const K=a32d;k[K(0xee)]?f(k[K(0xd5)]):e(k[K(0xd5)])[K(0x114)](h,i);}j((d=d['apply'](a,b||[]))[L(0xcf)]());});};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':'login','validOpts':['email',a32H(0xdd),a32H(0xfb),'cacert',a32H(0xce)],'usage':a32H(0xd8),'maxArgLength':0x2,'disableAuthCheck':!![],'description':a32H(0x109),'examples':[a32H(0xd8),a32H(0xe4)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const M=a32d;let c=Log[M(0xf9)]();try{if(M(0xde)!==M(0xde)){c['error'](M(0xdc)+d);return;}else{let f='';if(b['cacert']){if(M(0xf1)!==M(0xf1))return f instanceof g?h:new i(function(r){r(k);});else this[M(0xf6)][M(0x10e)](b[M(0x111)])?M(0x112)===M(0x112)?(f=b[M(0x111)],Log[M(0xcb)](M(0xe7)+f)):d['assign'](e,{'cert':f}):Log[M(0x103)](M(0xe3)+f);}const g=this[M(0xf6)][M(0x113)]();if(g[M(0x100)]){if(M(0xe8)!==M(0xd9)){if(this[M(0xf6)]['isFile'](g[M(0x100)])){if(M(0x104)!==M(0x104)){b[M(0xef)]('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}else f=g[M(0x100)];}else{if(M(0x105)===M(0xfc)){const u=d['apply'](e,arguments);return f=null,u;}else{Log[M(0x103)](M(0xdc)+f);return;}}}else c(d);}Log[M(0xda)](M(0xf8));const h={'url':M(0x10d)};b['cacert']&&Object[M(0xd1)](h,{'cert':f});c[M(0x10c)]('Preflight\x20Check');const i=yield HTTPS[M(0xf3)](h);if(i===M(0xc8)){c[M(0xef)]();throw M(0x110);}c[M(0xec)]();let j=b['email']?b[M(0xe6)]:yield Actions['ask'](M(0xfa)),k=b[M(0xdd)]?b[M(0xdd)]:yield Actions[M(0xe2)](M(0xe5),!![]);if(i!==':D')throw M(0xcc);const l=a32u['md']['sha256'][M(0x108)]();l['update'](k);const m=l[M(0xc9)]()['toHex'](),n={'hostname':M(0xd3),'path':'/api/v1/login','data':{'email':j,'password':m,'hashed':!![]}};if(b[M(0x111)]){if('lhwvR'===M(0xf2))Object[M(0xd1)](n,{'cert':f});else try{i(j[M(0x106)](k));}catch(w){m(w);}}c[M(0x10c)](M(0xf0));const o=yield HTTPS[M(0xe9)](n);if(o===M(0xc8)){c[M(0xef)]('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}let p=null;if(o[M(0xca)]){const w={'url':M(0xe0),'headers':{'x-auth-token':o[M(0xca)]}};b[M(0x111)]&&(M(0xc7)==='MYSCS'?d[M(0xd1)](e,{'cert':f}):Object['assign'](w,{'cert':f}));p=yield HTTPS['get'](w);if(p===M(0xc8)){if('ILSFA'!==M(0xdf)){c[M(0xef)]('\x0a');throw M(0xd6);}else this[M(0xf6)][M(0x10e)](h['cacert'])?(o=p[M(0x111)],q[M(0xcb)](M(0xe7)+r)):s['error'](M(0xe3)+t);}}else{if(M(0x101)!==M(0x101))c(d);else throw o;}if(p){const A={'token':o,'hash':p};if(b[M(0x111)]){if(M(0xd2)===M(0xcd))throw M(0xcc);else Object['assign'](A,{'cert':f});}this['fsi'][M(0x10f)]({'config':A});}c['success']();}}catch(C){c['failure'](),console[M(0x103)](C),process[M(0xdb)](0x0);}});});
1
+ function a33d(a,b){const c=a33c();return a33d=function(d,e){d=d-0x9d;let f=c[d];return f;},a33d(a,b);}function a33c(){const L=['start','isFile','tGZGZ','3252htZgdf','24GzSNzz','TIMEOUT','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','Using\x20CA\x20Cert\x20','4974872GczHYA','throw','digest','toelk','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','__awaiter','bhzoG','(((.+)+)+)+$','get','ask','login','1415185BflJUG','KUxse','Logging\x20in','header','success','create','setGlobalConfig','value','hamKc','fsi','8qqcGfl','exit','WBSgg','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\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','error','password','assign','PvwQx','uXVkC','irYUM','https://www.maka-cli.com/api/v1/status','TuYfX','Password:\x20','sha256','next','constructor','post','11243390yfKlxh','fscLJ','then','email','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','50709QdLZPO','cert','done','22JWfSxI','23606033gRpqFZ','oQaZV','KCrLa','cacert','toHex','toString','withSpinner','help','notice','GWwFn','authToken','failure','3513cvnSnM','4538394jNKnrn','Preflight\x20Check','getGlobalConfig','search','apply'];a33c=function(){return L;};return a33c();}const a33E=a33d;(function(a,b){const A=a33d,c=a();while(!![]){try{const d=parseInt(A(0xd8))/0x1*(-parseInt(A(0xdb))/0x2)+parseInt(A(0x9d))/0x3*(parseInt(A(0xa6))/0x4)+parseInt(A(0xb6))/0x5*(parseInt(A(0xa7))/0x6)+parseInt(A(0xab))/0x7*(parseInt(A(0xc0))/0x8)+-parseInt(A(0x9e))/0x9+parseInt(A(0xd3))/0xa+-parseInt(A(0xdc))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0xad9e2));const a33b=(function(){let a=!![];return function(b,c){const B=a33d;if('rGuxV'!==B(0xc2)){const d=a?function(){const C=B;if(c){const e=c[C(0xa2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;}else d[B(0xc8)](e,{'cert':f});};}()),a33a=a33b(this,function(){const D=a33d;return a33a[D(0xe1)]()[D(0xa1)](D(0xb2))[D(0xe1)]()['constructor'](a33a)[D(0xa1)](D(0xb2));});a33a();var __awaiter=this&&this[a33E(0xb0)]||function(a,b,c,d){function e(f){const F=a33d;if(F(0xcb)!==F(0xa5))return f instanceof c?f:new c(function(g){g(f);});else d['assign'](e,{'cert':f});}return new(c||(c=Promise))(function(f,g){const J=a33d;function h(k){const G=a33d;if(G(0xdd)===G(0xb7))d['assign'](e,{'cert':f});else try{j(d[G(0xd0)](k));}catch(m){g(m);}}function i(k){const H=a33d;try{H(0xde)===H(0xde)?j(d[H(0xac)](k)):this[H(0xbf)][H(0xa4)](h[H(0xdf)])?(o=p[H(0xdf)],q[H(0xe4)](H(0xaa)+r)):s[H(0xc6)](H(0xc4)+t);}catch(m){if(H(0xcd)===H(0xcd))g(m);else{b[H(0xe7)]('\x0a');throw H(0xc3);}}}function j(k){const I=a33d;k[I(0xda)]?f(k[I(0xbd)]):e(k['value'])[I(0xd5)](h,i);}j((d=d['apply'](a,b||[]))[J(0xd0)]());});};import a33u 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':a33E(0xb5),'validOpts':[a33E(0xd6),a33E(0xc7),a33E(0xe3),a33E(0xdf),'debug'],'usage':'maka\x20login','maxArgLength':0x2,'disableAuthCheck':!![],'description':'Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','examples':['maka\x20login',a33E(0xd7)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const K=a33d;if('NppMT'==='wMaoE')c(d);else{let d=Log[K(0xe2)]();try{if('sxrSD'===K(0xca))throw K(0xc5);else{let g='';b[K(0xdf)]&&(this[K(0xbf)]['isFile'](b['cacert'])?(g=b['cacert'],Log['notice'](K(0xaa)+g)):Log['error'](K(0xc4)+g));const h=this['fsi'][K(0xa0)]();if(h[K(0xd9)]){if(this[K(0xbf)][K(0xa4)](h['cert'])){if(K(0xe5)!=='mJFCr')g=h[K(0xd9)];else{if(e){const s=i['apply'](j,arguments);return k=null,s;}}}else{Log[K(0xc6)](K(0xaf)+g);return;}}Log[K(0xb9)]('Logging\x20into\x20https://www.maka-cli.com');const i={'url':K(0xcc)};if(b['cacert']){if('bhzoG'===K(0xb1))Object['assign'](i,{'cert':g});else try{i(j[K(0xd0)](k));}catch(t){m(t);}}d[K(0xa3)](K(0x9f));const j=yield HTTPS[K(0xb3)](i);if(j==='TIMEOUT'){if('dTWHi'!=='ymhIS'){d[K(0xe7)]();throw K(0xa9);}else e=f['cacert'],g['notice'](K(0xaa)+h);}d[K(0xba)]();let k=b[K(0xd6)]?b[K(0xd6)]:yield Actions[K(0xb4)]('Email:'),l=b[K(0xc7)]?b['password']:yield Actions['ask'](K(0xce),!![]);if(j!==':D')throw K(0xc5);const m=a33u['md'][K(0xcf)][K(0xbb)]();m['update'](l);const n=m[K(0xad)]()[K(0xe0)](),o={'hostname':'www.maka-cli.com','path':'/api/v1/login','data':{'email':k,'password':n,'hashed':!![]}};b[K(0xdf)]&&Object['assign'](o,{'cert':g});d[K(0xa3)](K(0xb8));const p=yield HTTPS[K(0xd2)](o);if(p===K(0xa8)){if(K(0xbe)!==K(0xbe))return c['toString']()[K(0xa1)](K(0xb2))[K(0xe1)]()[K(0xd1)](d)[K(0xa1)]('(((.+)+)+)+$');else{d[K(0xe7)]('\x0a');throw K(0xc3);}}let q=null;if(p[K(0xe6)]){const v={'url':'https://www.maka-cli.com/api/v1/encodeJwt','headers':{'x-auth-token':p[K(0xe6)]}};b[K(0xdf)]&&Object['assign'](v,{'cert':g});q=yield HTTPS[K(0xb3)](v);if(q===K(0xa8)){d[K(0xe7)]('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}}else throw p;if(q){if(K(0xd4)!==K(0xc9)){const w={'token':p,'hash':q};if(b['cacert']){if('vPzMb'===K(0xae)){b[K(0xe7)]();throw K(0xa9);}else Object[K(0xc8)](w,{'cert':g});}this[K(0xbf)][K(0xbc)]({'config':w});}else c(d);}d[K(0xba)]();}}catch(z){d[K(0xe7)](),console[K(0xc6)](z),process[K(0xc1)](0x0);}}});});
@@ -1 +1 @@
1
- const a33B=a33d;(function(a,b){const u=a33d,c=a();while(!![]){try{const d=-parseInt(u(0x151))/0x1+-parseInt(u(0x162))/0x2+parseInt(u(0x173))/0x3+parseInt(u(0x15b))/0x4+parseInt(u(0x177))/0x5+-parseInt(u(0x15a))/0x6*(parseInt(u(0x149))/0x7)+-parseInt(u(0x14e))/0x8*(parseInt(u(0x14c))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0x6f782));const a33b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a33d;if(c){const e=c[v(0x168)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a33a=a33b(this,function(){const w=a33d;return a33a['toString']()[w(0x155)](w(0x148))[w(0x147)]()[w(0x170)](a33a)[w(0x155)](w(0x148));});a33a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const A=a33d;function h(k){const x=a33d;if('pgdDq'===x(0x176))try{j(d[x(0x166)](k));}catch(l){g(l);}else h['done']?i(j['value']):k(l['value'])['then'](m,n);}function i(k){const y=a33d;try{j(d[y(0x164)](k));}catch(l){y(0x16f)!=='Fgter'?d[y(0x15c)](l,{'cert':f}):g(l);}}function j(k){const z=a33d;k[z(0x146)]?f(k[z(0x159)]):e(k['value'])[z(0x17a)](h,i);}j((d=d[A(0x168)](a,b||[]))['next']());});};import{Command}from'../command.js';function a33d(a,b){const c=a33c();return a33d=function(d,e){d=d-0x143;let f=c[d];return f;},a33d(a,b);}import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';Command[a33B(0x172)]({'name':a33B(0x150),'validOpts':['cacert'],'usage':a33B(0x144),'maxArgLength':0x2,'description':'Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','disableAuthCheck':!![],'examples':[a33B(0x144)]},function(a,b){var c;return __awaiter(this,void 0x0,void 0x0,function*(){const C=a33d;let d=Log[C(0x179)]();try{let f='';b['cacert']&&(this[C(0x16c)][C(0x16e)](b['cacert'])?(f=b[C(0x178)],Log['notice'](C(0x15d)+f)):Log['error'](C(0x154)+f));const g=yield this[C(0x16c)][C(0x14b)]();if(g[C(0x14a)]){if(this[C(0x16c)][C(0x16e)](g['cert']))f=g[C(0x14a)];else{d['failure']();throw Log[C(0x158)](C(0x14f)+f);}}Log[C(0x16d)](C(0x171));const h={'url':C(0x152)};b[C(0x178)]&&Object[C(0x15c)](h,{'cert':f});d[C(0x145)](C(0x16a));const i=yield HTTPS[C(0x163)](h);if(i==='TIMEOUT'){d[C(0x165)]();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}d[C(0x16b)]();if(i!==':D'){if('XFjnF'!==C(0x175)){d[C(0x165)]();throw C(0x14d);}else c(d);}if(!((c=g===null||g===void 0x0?void 0x0:g['token'])===null||c===void 0x0?void 0x0:c[C(0x160)]))throw Log['error'](C(0x157));d[C(0x145)](C(0x169));const j={'hostname':'www.maka-cli.com','path':'/api/v1/logoutAll','data':{},'headers':{'x-auth-token':g[C(0x15f)][C(0x160)]}};if(b[C(0x178)]){if(C(0x143)==='vCxwQ')Object[C(0x15c)](j,{'cert':f});else try{i(j[C(0x164)](k));}catch(o){m(o);}}const k=yield HTTPS[C(0x153)](j);if(k===C(0x161)){d[C(0x165)]('\x0a');throw C(0x15e);}this['fsi'][C(0x174)]({'config':{'token':{'authToken':'','userId':'','when':''},'hash':''}}),d[C(0x16b)]();}catch(n){if(n){if('ZtuoS'!==C(0x156))console['error'](n);else return c[C(0x147)]()[C(0x155)](C(0x148))[C(0x147)]()['constructor'](d)['search']('(((.+)+)+)+$');}process[C(0x167)](0x0);}});});function a33c(){const D=['getGlobalConfig','18ziSELx','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','207112volvcA','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','logout','597335itKTaz','https://www.maka-cli.com/api/v1/status','post','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','search','yfyMI','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','error','value','6MMxOnO','3249252vqgAqG','assign','Using\x20CA\x20Cert\x20','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','token','authToken','TIMEOUT','448198UTbnwC','get','throw','failure','next','exit','apply','Logging\x20out','Preflight\x20Check','success','fsi','header','isFile','Fgter','constructor','Logging\x20out\x20of\x20https://www.maka-cli.com','create','1387122BDeuxd','setGlobalConfig','cjMpq','pgdDq','4246410xVaIRe','cacert','withSpinner','then','vCxwQ','maka\x20logout','start','done','toString','(((.+)+)+)+$','5559253CKZTKD','cert'];a33c=function(){return D;};return a33c();}
1
+ function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0xd1;let f=c[d];return f;},a34d(a,b);}const a34A=a34d;(function(a,b){const u=a34d,c=a();while(!![]){try{const d=-parseInt(u(0xfd))/0x1+parseInt(u(0x105))/0x2*(parseInt(u(0xf6))/0x3)+-parseInt(u(0xed))/0x4+-parseInt(u(0xfe))/0x5+parseInt(u(0x107))/0x6*(parseInt(u(0xfa))/0x7)+-parseInt(u(0xda))/0x8+parseInt(u(0xd8))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0xdb5fe));const a34b=(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;};}()),a34a=a34b(this,function(){const v=a34d;return a34a[v(0xe0)]()[v(0xeb)](v(0x108))[v(0xe0)]()[v(0xe8)](a34a)[v(0xeb)](v(0x108));});a34a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const z=a34d;function h(k){const w=a34d;if(w(0xec)!==w(0xee))try{j(d[w(0xe9)](k));}catch(l){g(l);}else{const n=d[w(0xea)](e,arguments);return f=null,n;}}function i(k){const x=a34d;try{j(d[x(0x100)](k));}catch(l){g(l);}}function j(k){const y=a34d;y(0xd4)===y(0xd4)?k[y(0xf4)]?f(k[y(0xfc)]):e(k[y(0xfc)])[y(0xd2)](h,i):c[y(0xe5)](d);}j((d=d[z(0xea)](a,b||[]))[z(0xe9)]());});};import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';Command[a34A(0xd9)]({'name':a34A(0xe3),'validOpts':[a34A(0xf0)],'usage':a34A(0xf1),'maxArgLength':0x2,'description':'Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','disableAuthCheck':!![],'examples':[a34A(0xf1)]},function(a,b){var c;return __awaiter(this,void 0x0,void 0x0,function*(){const B=a34d;if('ZdWHK'!==B(0xf5)){let d=Log[B(0xfb)]();try{if(B(0xff)!==B(0xff)){d['failure']();throw e['error'](B(0xf7)+f);}else{let g='';b[B(0xf0)]&&(this[B(0xe6)][B(0x106)](b[B(0xf0)])?'aNUsF'===B(0xdb)?(g=b[B(0xf0)],Log[B(0xf8)]('Using\x20CA\x20Cert\x20'+g)):c[B(0xe5)](B(0xdc)+d):Log[B(0xe5)](B(0xdc)+g));const h=yield this[B(0xe6)][B(0xe1)]();if(h[B(0x104)]){if(B(0xef)!==B(0xde)){if(this['fsi'][B(0x106)](h[B(0x104)]))g=h[B(0x104)];else{d[B(0xdd)]();throw Log[B(0xe5)](B(0xf7)+g);}}else throw b[B(0xe5)](B(0x103));}Log[B(0xd7)]('Logging\x20out\x20of\x20https://www.maka-cli.com');const i={'url':'https://www.maka-cli.com/api/v1/status'};b['cacert']&&Object[B(0xd5)](i,{'cert':g});d[B(0xf3)]('Preflight\x20Check');const j=yield HTTPS['get'](i);if(j===B(0x101)){d[B(0xdd)]();throw B(0xe7);}d[B(0x102)]();if(j!==':D'){d[B(0xdd)]();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=h===null||h===void 0x0?void 0x0:h[B(0xd1)])===null||c===void 0x0?void 0x0:c['authToken'])){if('GncxE'==='GncxE')throw Log[B(0xe5)](B(0x103));else return f instanceof g?h:new i(function(p){p(k);});}d[B(0xf3)](B(0xd3));const k={'hostname':B(0xf2),'path':B(0xf9),'data':{},'headers':{'x-auth-token':h['token']['authToken']}};b[B(0xf0)]&&Object[B(0xd5)](k,{'cert':g});const l=yield HTTPS[B(0xd6)](k);if(l===B(0x101)){d[B(0xdd)]('\x0a');throw B(0xe7);}this[B(0xe6)][B(0xdf)]({'config':{'token':{'authToken':'','userId':'','when':''},'hash':''}}),d['success']();}}catch(p){if(B(0xe2)!==B(0xe2))try{i(j[B(0xe9)](k));}catch(r){m(r);}else p&&console['error'](p),process[B(0xe4)](0x0);}}else d['assign'](e,{'cert':f});});});function a34c(){const C=['CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','failure','VoUbc','setGlobalConfig','toString','getGlobalConfig','hgLDM','logout','exit','error','fsi','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','constructor','next','apply','search','XRToq','2900552TZrSJo','dIJaQ','goUDg','cacert','maka\x20logout','www.maka-cli.com','start','done','RpzUN','6TfhLGX','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','notice','/api/v1/logoutAll','1760017tdFTjn','withSpinner','value','776527GCxixf','1330995xOLYxJ','dQVoa','throw','TIMEOUT','success','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','cert','1669144czBuuJ','isFile','12mKjnBE','(((.+)+)+)+$','token','then','Logging\x20out','HysUT','assign','post','header','8536347uVKhGh','create','3632536QglBqD','aNUsF'];a34c=function(){return C;};return a34c();}
@@ -1 +1 @@
1
- const a34E=a34d;(function(a,b){const A=a34d,c=a();while(!![]){try{const d=-parseInt(A(0x1c3))/0x1*(parseInt(A(0x1cc))/0x2)+parseInt(A(0x1c1))/0x3*(parseInt(A(0x1c4))/0x4)+-parseInt(A(0x1c6))/0x5+parseInt(A(0x1c9))/0x6+parseInt(A(0x1b8))/0x7+-parseInt(A(0x1d1))/0x8+-parseInt(A(0x1ca))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0x660a2));function a34c(){const G=['fsi','15897hicHrU','4WPBkTl','assign','3444910VcKLrs','env','ssh.json','3127476muUZrc','260190KMssnN','pm2\x20logs','38hNqXee','create','maka\x20logs\x20--env\x20dev','jdhGs','apply','952360jBdAle','getConfigPath','readFileSync','logs','(((.+)+)+)+$','maka\x20logs\x20--env\x20prod','maka\x20logs\x20--env\x20staging','tOLim','3340799feLzjU','sshSync','parse','CSjfA','View\x20the\x20PM2\x20logs','cKPZF','FDgRm','help','toString','1675293aINZOy'];a34c=function(){return G;};return a34c();}function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0x1b6;let f=c[d];return f;},a34d(a,b);}const a34b=(function(){let a=!![];return function(b,c){const B=a34d;if(B(0x1cf)===B(0x1b7)){const e=d['apply'](e,arguments);return f=null,e;}else{const e=a?function(){const C=B;if(C(0x1bb)==='CSjfA'){if(c){const f=c[C(0x1d0)](b,arguments);return c=null,f;}}else{const h=C(0x1cb),i=this[C(0x1c2)][C(0x1d2)](g['env']),j=h['join'](i,'ssh.json'),k=i[C(0x1d3)](j),l=j[C(0x1ba)](k[C(0x1c0)]());k['assign'](l,{'env':i}),l[C(0x1b9)](h,l,{'tty':!![],'verbose':!![]});}}:function(){};return a=![],e;}};}()),a34a=a34b(this,function(){const D=a34d;return a34a[D(0x1c0)]()['search'](D(0x1d5))[D(0x1c0)]()['constructor'](a34a)['search']('(((.+)+)+)+$');});a34a();import a34y from'fs';import a34z from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a34E(0x1cd)]({'name':a34E(0x1d4),'aliases':['l','log'],'usage':a34E(0x1d6),'requiredOpts':[a34E(0x1c7)],'mustBeInMakaProject':!![],'validOpts':[a34E(0x1bf)],'description':a34E(0x1bc),'examples':[a34E(0x1ce),a34E(0x1b6),'maka\x20l\x20-e\x20p']},function(a,b){const F=a34E;try{const c='pm2\x20logs',d=this[F(0x1c2)]['getConfigPath'](b['env']),f=a34z['join'](d,F(0x1c8)),g=a34y['readFileSync'](f),h=JSON[F(0x1ba)](g[F(0x1c0)]());Object[F(0x1c5)](h,{'env':d}),SSH['sshSync'](c,h,{'tty':!![],'verbose':!![]});}catch(i){if(F(0x1be)===F(0x1bd))try{const k='pm2\x20logs',l=this['fsi'][F(0x1d2)](m[F(0x1c7)]),m=n['join'](l,'ssh.json'),n=o[F(0x1d3)](m),o=p[F(0x1ba)](n[F(0x1c0)]());q[F(0x1c5)](o,{'env':l}),r['sshSync'](k,o,{'tty':!![],'verbose':!![]});}catch(p){throw p;}else throw i;}});
1
+ const a35D=a35d;(function(a,b){const A=a35d,c=a();while(!![]){try{const d=parseInt(A(0xd8))/0x1*(-parseInt(A(0xbb))/0x2)+-parseInt(A(0xcf))/0x3+parseInt(A(0xc0))/0x4*(-parseInt(A(0xbf))/0x5)+parseInt(A(0xbc))/0x6+parseInt(A(0xc1))/0x7+parseInt(A(0xd4))/0x8*(-parseInt(A(0xcb))/0x9)+-parseInt(A(0xc2))/0xa*(parseInt(A(0xca))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0xdf74c));const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const B=a35d;if(c){const e=c[B(0xd0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const C=a35d;return a35a[C(0xd1)]()[C(0xcd)](C(0xba))[C(0xd1)]()[C(0xbe)](a35a)['search'](C(0xba));});a35a();import a35y from'fs';import a35z from'path';function a35c(){const G=['parse','create','829pqtFuE','maka\x20logs\x20--env\x20staging','fsi','(((.+)+)+)+$','8dAotho','9575346oSGMMF','View\x20the\x20PM2\x20logs','constructor','92090gsnNYf','284yDtOnr','11752307AyHNgB','270590eVgqGd','pm2\x20logs','assign','ssh.json','help','maka\x20logs\x20--env\x20dev','maka\x20l\x20-e\x20p','sshSync','55RQIDWU','994131JxKMRb','env','search','readFileSync','420042hmVHya','apply','toString','yQXqN','getConfigPath','56lpLUaY','logs'];a35c=function(){return G;};return a35c();}import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0xb9;let f=c[d];return f;},a35d(a,b);}Command[a35D(0xd7)]({'name':a35D(0xd5),'aliases':['l','log'],'usage':'maka\x20logs\x20--env\x20prod','requiredOpts':[a35D(0xcc)],'mustBeInMakaProject':!![],'validOpts':[a35D(0xc6)],'description':a35D(0xbd),'examples':[a35D(0xc7),a35D(0xd9),a35D(0xc8)]},function(a,b){const E=a35D;try{if(E(0xd2)==='bdBHD'){const d=g?function(){const F=E;if(d){const u=q[F(0xd0)](r,arguments);return s=null,u;}}:function(){};return l=![],d;}else{const d=E(0xc3),f=this[E(0xb9)][E(0xd3)](b[E(0xcc)]),g=a35z['join'](f,E(0xc5)),h=a35y[E(0xce)](g),i=JSON[E(0xd6)](h['toString']());Object[E(0xc4)](i,{'env':f}),SSH[E(0xc9)](d,i,{'tty':!![],'verbose':!![]});}}catch(j){if('qnjnk'==='ROIPM')throw b;else throw j;}});
@@ -1 +1 @@
1
- const a35y=a35d;(function(a,b){const u=a35d,c=a();while(!![]){try{const d=-parseInt(u(0x141))/0x1+-parseInt(u(0x147))/0x2*(parseInt(u(0x146))/0x3)+-parseInt(u(0x159))/0x4+parseInt(u(0x154))/0x5*(-parseInt(u(0x13f))/0x6)+parseInt(u(0x142))/0x7*(-parseInt(u(0x13c))/0x8)+-parseInt(u(0x13b))/0x9*(-parseInt(u(0x136))/0xa)+parseInt(u(0x153))/0xb*(parseInt(u(0x156))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0xc857f));const a35b=(function(){let a=!![];return function(b,c){const v=a35d;if(v(0x15e)==='ZpCde'){const e=d[v(0x144)](e,arguments);return f=null,e;}else{const e=a?function(){const w=v;if(c){const f=c[w(0x144)](b,arguments);return c=null,f;}}:function(){};return a=![],e;}};}()),a35a=a35b(this,function(){const x=a35d;return a35a[x(0x151)]()[x(0x15b)](x(0x14b))['toString']()[x(0x150)](a35a)[x(0x15b)](x(0x14b));});a35a();var __awaiter=this&&this[a35y(0x145)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const z=a35d;if(z(0x13d)!=='oaDdS')g(f);else try{i(j[z(0x13a)](k));}catch(i){m(i);}});}return new(c||(c=Promise))(function(f,g){const D=a35d;function h(k){const A=a35d;if(A(0x137)===A(0x157))c(d);else try{j(d[A(0x155)](k));}catch(m){g(m);}}function i(k){const B=a35d;if('zsfTn'!==B(0x13e))try{j(d[B(0x13a)](k));}catch(l){g(l);}else d(e['next'](f));}function j(k){const C=a35d;k[C(0x138)]?f(k['value']):e(k[C(0x139)])['then'](h,i);}j((d=d[D(0x144)](a,b||[]))[D(0x155)]());});};function a35c(){const F=['A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.\x0a\x20\x20Run\x20any\x20command\x20with\x20\x22--help\x22\x20for\x20details','apply','__awaiter','21pUKYmk','64172cCBOms','zAVzl','maka','exit','(((.+)+)+)+$','error','runSubCommand','maybeProxyCommandToMeteor','fsi','constructor','toString','mhSNf','55649djrozK','17830zNhTzO','next','10104OUTaqQ','xDcUJ','findSubCommand','3837008YGGCHb','then','search','SVyQN','maka\x20run','unHWs','20azaVFJ','OQQBz','done','value','throw','2465028lvlyra','16bxwppg','fQdVM','zkjjk','2256sAxgwj','maka\x20create\x20Todo','1128009EVFkOb','1169616lzcsnC'];a35c=function(){return F;};return a35c();}function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x136;let f=c[d];return f;},a35d(a,b);}import{Command}from'../command.js';const Maka=new Command({'name':a35y(0x149),'minArgLength':0x1,'description':a35y(0x143),'usage':'maka\x20<command>\x20[<args>]\x20[<opts>]','disableAuthCheck':!![],'examples':['maka\x20install\x20meteor',a35y(0x140),a35y(0x15d)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const E=a35d;if(E(0x148)===E(0x148))try{if(E(0x152)===E(0x15c))this['runSubCommand'](d,e['slice'](0x1),f);else{const d=a[0x0],f=this[E(0x158)](d);f?this[E(0x14d)](d,a['slice'](0x1),b):'GHzZR'!=='GHzZR'?h[E(0x138)]?i(j[E(0x139)]):k(l[E(0x139)])[E(0x15a)](m,n):this[E(0x14f)][E(0x14e)]();}}catch(h){console[E(0x14c)](h),process[E(0x14a)](0x1);}else this[E(0x14f)]['maybeProxyCommandToMeteor']();});});export default Maka;
1
+ const a36y=a36d;function a36c(){const G=['exit','RCRUR','238306WtEFsh','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.\x0a\x20\x20Run\x20any\x20command\x20with\x20\x22--help\x22\x20for\x20details','821653vFsVWn','next','maka\x20<command>\x20[<args>]\x20[<opts>]','(((.+)+)+)+$','maka\x20run','apply','__awaiter','runSubCommand','CqFLP','then','2741220AdFDih','maka','EnLBo','axLdk','toString','4106616JNUlYO','done','slice','search','constructor','EQyHm','117460HxofAh','kwFda','value','OHfDi','error','5ifGofx','maybeProxyCommandToMeteor','findSubCommand','OexTY','throw','FJXtQ','7335503ykqnod','9039592dGmyOY'];a36c=function(){return G;};return a36c();}(function(a,b){const v=a36d,c=a();while(!![]){try{const d=-parseInt(v(0xee))/0x1+-parseInt(v(0xec))/0x2+parseInt(v(0xf8))/0x3+-parseInt(v(0xdd))/0x4*(-parseInt(v(0xe2))/0x5)+parseInt(v(0xfd))/0x6+parseInt(v(0xe8))/0x7+-parseInt(v(0xe9))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x93a2b));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a36d;if(c){const e=c[w(0xf3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const x=a36d;return a36a[x(0xfc)]()['search'](x(0xf1))['toString']()[x(0x101)](a36a)[x(0x100)]('(((.+)+)+)+$');});a36a();var __awaiter=this&&this[a36y(0xf4)]||function(a,b,c,d){function e(f){const z=a36d;if(z(0xe7)===z(0xe5))d(e[z(0xe6)](f));else return f instanceof c?f:new c(function(h){h(f);});}return new(c||(c=Promise))(function(f,g){const D=a36d;function h(k){const A=a36d;if('BFwlD'==='hkWsZ')h[A(0xfe)]?i(j[A(0xdf)]):k(l[A(0xdf)])['then'](m,n);else try{j(d[A(0xef)](k));}catch(m){if(A(0xfa)==='XisKt')return f instanceof g?h:new i(function(o){o(k);});else g(m);}}function i(k){const B=a36d;try{j(d[B(0xe6)](k));}catch(l){g(l);}}function j(k){const C=a36d;C(0x102)===C(0x102)?k['done']?f(k[C(0xdf)]):e(k['value'])[C(0xf7)](h,i):(d[C(0xe1)](e),f[C(0xea)](0x1));}j((d=d[D(0xf3)](a,b||[]))[D(0xef)]());});};import{Command}from'../command.js';const Maka=new Command({'name':a36y(0xf9),'minArgLength':0x1,'description':a36y(0xed),'usage':a36y(0xf0),'disableAuthCheck':!![],'examples':['maka\x20install\x20meteor','maka\x20create\x20Todo',a36y(0xf2)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const E=a36d;try{const c=a[0x0],d=this[E(0xe4)](c);if(d){if(E(0xfb)==='DPnHj'){const g=g?function(){const F=E;if(g){const u=q[F(0xf3)](r,arguments);return s=null,u;}}:function(){};return l=![],g;}else this[E(0xf5)](c,a[E(0xff)](0x1),b);}else{if(E(0xde)===E(0xe0))return c[E(0xfc)]()[E(0x100)](E(0xf1))[E(0xfc)]()['constructor'](d)[E(0x100)](E(0xf1));else this['fsi'][E(0xe3)]();}}catch(h){E(0xeb)!==E(0xf6)?(console[E(0xe1)](h),process[E(0xea)](0x1)):d(h[E(0xef)](f));}});});function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0xdd;let f=c[d];return f;},a36d(a,b);}export default Maka;
@@ -1 +1 @@
1
- function a36d(a,b){var c=a36c();return a36d=function(d,e){d=d-0x148;var f=c[d];return f;},a36d(a,b);}var a36x=a36d;(function(a,b){var u=a36d,c=a();while(!![]){try{var d=-parseInt(u(0x151))/0x1*(parseInt(u(0x15f))/0x2)+-parseInt(u(0x150))/0x3*(parseInt(u(0x169))/0x4)+parseInt(u(0x148))/0x5+parseInt(u(0x149))/0x6+-parseInt(u(0x167))/0x7*(-parseInt(u(0x162))/0x8)+-parseInt(u(0x14b))/0x9*(parseInt(u(0x14e))/0xa)+parseInt(u(0x164))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x44a93));var a36b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a36d;if(c){if(v(0x154)===v(0x16a))try{i(j[v(0x14d)](k));}catch(g){m(g);}else{var e=c[v(0x15c)](b,arguments);return c=null,e;}}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){var w=a36d;return a36a[w(0x160)]()[w(0x14c)]('(((.+)+)+)+$')[w(0x160)]()[w(0x157)](a36a)[w(0x14c)]('(((.+)+)+)+$');});a36a();var __awaiter=this&&this[a36x(0x163)]||function(a,b,c,d){function e(f){var y=a36d;if(y(0x14f)!=='ZSNlt'){var h=d[y(0x15c)](e,arguments);return f=null,h;}else return f instanceof c?f:new c(function(h){var z=y;z(0x16b)!=='gZxOn'?h(f):h[z(0x16c)]?i(j['value']):k(l[z(0x159)])[z(0x153)](m,n);});}return new(c||(c=Promise))(function(f,g){var D=a36d;function h(k){var A=a36d;try{if('wYrzw'===A(0x155))try{i(j[A(0x168)](k));}catch(m){m(m);}else j(d['next'](k));}catch(m){g(m);}}function i(k){var B=a36d;try{B(0x158)!==B(0x15d)?j(d['throw'](k)):c(d);}catch(m){g(m);}}function j(k){var C=a36d;k[C(0x16c)]?f(k['value']):e(k[C(0x159)])[C(0x153)](h,i);}j((d=d[D(0x15c)](a,b||[]))[D(0x14d)]());});};function a36c(){var F=['1062xbuGnm','327EYHWqy','fFNPv','then','eTbcf','iAIXu','exit','constructor','fhfUY','value','font-family:\x20monospace','error','apply','qxYKv','pTQui','942khUuIF','toString','murder','56zhilYn','__awaiter','74767raYspr','log','%c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.___.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20,-^\x20\x20\x20\x20\x20^-.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x0a.-------|\x20|--------------/\x20\x20__\x20\x20\x20\x20\x20__\x20\x20\x5c-------------------.__\x0a|WMWMWMW|\x20|>>>>>>>>>>>>>\x20|\x20/>>\x5c\x20\x20\x20/>>\x5c\x20|>>>>>>>>>>>>>>>>>>>>>>:>\x0a`-------|\x20|--------------|\x20\x5c__/\x20\x20\x20\x5c__/\x20|-------------------\x27^^\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x5c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20/|\x5c\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x5c_/\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|+H+H+H+|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20^-----^\x0a\x0a','239113uGMwnE','throw','4332JkXNuo','uvWco','riLSu','done','1069695sVkFYv','2251212OxuGnr','create','147753UHlNXf','search','next','10jvbLEB','ZSNlt'];a36c=function(){return F;};return a36c();}import{Command}from'../command.js';Command[a36x(0x14a)]({'name':a36x(0x161),'usage':'maka\x20murder','maxArgLength':0x1,'description':'Murrrrderrrrr'},function(a){return __awaiter(this,void 0x0,void 0x0,function*(){var E=a36d;try{if(E(0x15e)!==E(0x152))console[E(0x165)](E(0x166),E(0x15a));else try{g['log'](E(0x166),'font-family:\x20monospace');}catch(c){j[E(0x15b)](c),k[E(0x156)](0x0);}}catch(c){console['error'](c),process['exit'](0x0);}});});
1
+ var a37C=a37d;(function(a,b){var u=a37d,c=a();while(!![]){try{var d=parseInt(u(0x10c))/0x1+parseInt(u(0x101))/0x2+-parseInt(u(0x113))/0x3+-parseInt(u(0x105))/0x4*(-parseInt(u(0xfc))/0x5)+parseInt(u(0xf8))/0x6+-parseInt(u(0x110))/0x7+parseInt(u(0x103))/0x8*(parseInt(u(0x111))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xcee3c));function a37c(){var E=['LUokO','HTmyQ','apply','toString','1375184feLJVT','(((.+)+)+)+$','24stJgHG','kCJGr','280004dXRPCo','then','create','throw','BYruX','search','GvjAR','483144axZAKT','MZIEb','constructor','font-family:\x20monospace','10585022isGQEp','1173681QssmvL','error','1824090cgvzIm','next','done','value','453684tWttoq','Murrrrderrrrr','maka\x20murder','log','95BzCEkw'];a37c=function(){return E;};return a37c();}function a37d(a,b){var c=a37c();return a37d=function(d,e){d=d-0xf7;var f=c[d];return f;},a37d(a,b);}var a37b=(function(){var a=!![];return function(b,c){var v=a37d;if(v(0x10b)!==v(0xfe)){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;}else d(e['throw'](f));};}()),a37a=a37b(this,function(){var w=a37d;return a37a[w(0x100)]()[w(0x10a)](w(0x102))[w(0x100)]()[w(0x10e)](a37a)[w(0x10a)](w(0x102));});a37a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){var x=a37d;if(x(0x104)!==x(0x104))h[x(0x115)]?i(j[x(0xf7)]):k(l[x(0xf7)])[x(0x106)](m,n);else return f instanceof c?f:new c(function(h){h(f);});}return new(c||(c=Promise))(function(f,g){var B=a37d;function h(k){var y=a37d;try{if(y(0x10d)!==y(0x10d)){var m=d[y(0xff)](e,arguments);return f=null,m;}else j(d[y(0x114)](k));}catch(m){g(m);}}function i(k){var z=a37d;try{j(d[z(0x108)](k));}catch(l){g(l);}}function j(k){var A=a37d;if(A(0x109)==='BYruX')k[A(0x115)]?f(k['value']):e(k['value'])[A(0x106)](h,i);else return f instanceof g?h:new i(function(m){m(k);});}j((d=d['apply'](a,b||[]))[B(0x114)]());});};import{Command}from'../command.js';Command[a37C(0x107)]({'name':'murder','usage':a37C(0xfa),'maxArgLength':0x1,'description':a37C(0xf9)},function(a){return __awaiter(this,void 0x0,void 0x0,function*(){var D=a37d;try{if(D(0xfd)!==D(0xfd))try{i(j['throw'](k));}catch(c){m(c);}else console[D(0xfb)]('%c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.___.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20,-^\x20\x20\x20\x20\x20^-.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x0a.-------|\x20|--------------/\x20\x20__\x20\x20\x20\x20\x20__\x20\x20\x5c-------------------.__\x0a|WMWMWMW|\x20|>>>>>>>>>>>>>\x20|\x20/>>\x5c\x20\x20\x20/>>\x5c\x20|>>>>>>>>>>>>>>>>>>>>>>:>\x0a`-------|\x20|--------------|\x20\x5c__/\x20\x20\x20\x5c__/\x20|-------------------\x27^^\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x5c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20/|\x5c\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x5c_/\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|+H+H+H+|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20^-----^\x0a\x0a',D(0x10f));}catch(c){console[D(0x112)](c),process['exit'](0x0);}});});
@@ -1 +1 @@
1
- const a37ab=a37d;function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0xcf;let f=c[d];return f;},a37d(a,b);}(function(a,b){const a7=a37d,c=a();while(!![]){try{const d=parseInt(a7(0xf3))/0x1*(-parseInt(a7(0xd5))/0x2)+-parseInt(a7(0xec))/0x3+parseInt(a7(0xff))/0x4+parseInt(a7(0xfb))/0x5*(parseInt(a7(0xe3))/0x6)+-parseInt(a7(0xe0))/0x7*(parseInt(a7(0xdf))/0x8)+-parseInt(a7(0xf9))/0x9*(parseInt(a7(0xe9))/0xa)+parseInt(a7(0xd9))/0xb*(parseInt(a7(0xfd))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xca993));const a37b=(function(){let a=!![];return function(b,c){const a8=a37d;if(a8(0xea)!=='ZeSnR'){c[a8(0xf0)](a8(0x100));throw new d();}else{const e=a?function(){const a9=a8;if(a9(0xfa)!==a9(0xfe)){if(c){const f=c['apply'](b,arguments);return c=null,f;}}else return c['toString']()[a9(0xcf)](a9(0xfc))[a9(0xd4)]()['constructor'](d)[a9(0xcf)](a9(0xfc));}:function(){};return a=![],e;}};}()),a37a=a37b(this,function(){const aa=a37d;return a37a[aa(0xd4)]()['search'](aa(0xfc))[aa(0xd4)]()['constructor'](a37a)[aa(0xcf)](aa(0xfc));});a37a();function a37c(){const ad=['1408308Pjqtdt','listen','proxy','fsi','error','createProxyServer','Proxy\x20HTTP\x20requests\x20to\x20another\x20Server\x0a\x20\x20\x20\x20The\x20certificates\x20are\x20pulled\x20from\x20the\x20environment\x20_keys\x20directory.\x0a\x20\x20\x20\x20To\x20create\x20a\x20new\x20key,\x20run:\x0a\x20\x20\x20\x20\x20\x20maka\x20ssl\x20--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','45kKAGKY','\x20to\x20','help','rldjs','listenPort','Key\x20Location:\x20','122049FhJrwY','irScD','3975brbWFp','(((.+)+)+)+$','3412392lEBPiU','UfRpI','5373436LqGKnO','No\x20KEY\x20file\x20found.','LqCJp','search','=>\x20SSL\x20Proxy\x20forwarding\x20','join','.key','localhost','toString','30824JOYgel','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','apply','targetPort','77nctYhU','utf8','env','.crt','appName','readFileSync','8FoZrdV','7943894UcKgmt','_keys','targetHost','1002eAwkYy','notice','create','getProjectConfig','bright','maka\x20proxy\x20--env\x20dev\x20--target-port\x203000\x20--listen-port\x204000','250KpUWhq','ZeSnR','QPslX'];a37c=function(){return ad;};return a37c();}import a37a4 from'fs';import a37a5 from'path';import a37a6 from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Command[a37ab(0xe5)]({'name':a37ab(0xee),'usage':'maka\x20proxy\x20[--env]\x20[--target-port]\x20[--listen-port]\x20[--target-host]','mustBeInMakaProject':!![],'validOpts':[a37ab(0xf5),a37ab(0xd8),a37ab(0xf7),'targetHost'],'description':a37ab(0xf2),'examples':['maka\x20proxy\x20--env\x20dev',a37ab(0xe8)]},function(a,b){const ac=a37ab;try{if(ac(0xeb)!==ac(0xeb)){c[ac(0xf0)](ac(0xd6));throw new d();}else{let d=this[ac(0xef)][ac(0xe6)]();const f=b[ac(0xdb)]?b['env']:'development',g=this[ac(0xef)]['getConfigPath'](f),h=b[ac(0xd8)]?b[ac(0xd8)]:0xbb8,i=b[ac(0xf7)]?b['listenPort']:0xd73,j=b['targetHost']?b[ac(0xe2)]:ac(0xd3),k=a37a5['join'](g,'_keys',d[ac(0xdd)]+ac(0xd2)),l=a37a5[ac(0xd1)](g,ac(0xe1),d[ac(0xdd)]+ac(0xdc));if(!this[ac(0xef)]['isFile'](k)){Log[ac(0xf0)](ac(0x100));throw new UsageError();}if(h===i){Log[ac(0xf0)](ac(0xd6));throw new UsageError();}Log[ac(0xe4)]('Environment:\x20'+f),Log[ac(0xe4)](ac(0xf8)+k),Log[ac(0xe4)]('Crt\x20Location:\x20'+l);const m={'ssl':{'key':a37a4[ac(0xde)](k,ac(0xda)),'cert':a37a4['readFileSync'](l,ac(0xda))},'target':{'host':j,'port':h},'ws':!![],'xfwd':!![]},n=a37a6[ac(0xf1)](m)[ac(0xed)](i);Log[ac(0xe7)](ac(0xd0)+i+ac(0xf4)+h);}}catch(o){if(ac(0x101)===ac(0xf6)){if(o){const q=i[ac(0xd7)](j,arguments);return k=null,q;}}else throw o;}});
1
+ const a38ab=a38d;(function(a,b){const a7=a38d,c=a();while(!![]){try{const d=parseInt(a7(0x1d0))/0x1*(parseInt(a7(0x1da))/0x2)+parseInt(a7(0x1cd))/0x3*(-parseInt(a7(0x1d7))/0x4)+parseInt(a7(0x1ee))/0x5+-parseInt(a7(0x1c6))/0x6*(-parseInt(a7(0x1eb))/0x7)+-parseInt(a7(0x1ef))/0x8+-parseInt(a7(0x1cc))/0x9+parseInt(a7(0x1df))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x60ad4));const a38b=(function(){let a=!![];return function(b,c){if('cZzfy'==='XEjtu')throw b;else{const e=a?function(){const a8=a38d;if(c){if('WknkH'!==a8(0x1c4)){const f=c[a8(0x1dc)](b,arguments);return c=null,f;}else{const h=g?function(){const a9=a8;if(h){const u=q[a9(0x1dc)](r,arguments);return s=null,u;}}:function(){};return l=![],h;}}}:function(){};return a=![],e;}};}()),a38a=a38b(this,function(){const aa=a38d;return a38a[aa(0x1d9)]()[aa(0x1e5)](aa(0x1c2))[aa(0x1d9)]()[aa(0x1ea)](a38a)[aa(0x1e5)](aa(0x1c2));});a38a();import a38a4 from'fs';import a38a5 from'path';function a38c(){const ad=['maka\x20proxy\x20[--env]\x20[--target-port]\x20[--listen-port]\x20[--target-host]','Crt\x20Location:\x20','utf8','readFileSync','=>\x20SSL\x20Proxy\x20forwarding\x20','listen','12HwhMuB','\x20to\x20','toString','194526wQkNwr','Environment:\x20','apply','help','getProjectConfig','848300jEKuqg','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','appName','Key\x20Location:\x20','maka\x20proxy\x20--env\x20dev','createProxyServer','search','No\x20KEY\x20file\x20found.','env','isFile','maka\x20proxy\x20--env\x20dev\x20--target-port\x203000\x20--listen-port\x204000','constructor','1673ENteVd','notice','listenPort','2302765xMLnxt','4985936MSqQNS','targetHost','(((.+)+)+)+$','targetPort','TcpQb','proxy','17214LFsaOb','join','fsi','error','nzzTh','.crt','4480641wIREtK','5784AGqimD','_keys','.key','3qqYHjj'];a38c=function(){return ad;};return a38c();}import a38a6 from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x1c1;let f=c[d];return f;},a38d(a,b);}Command['create']({'name':a38ab(0x1c5),'usage':a38ab(0x1d1),'mustBeInMakaProject':!![],'validOpts':[a38ab(0x1dd),a38ab(0x1c3),a38ab(0x1ed),a38ab(0x1c1)],'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':[a38ab(0x1e3),a38ab(0x1e9)]},function(a,b){const ac=a38ab;try{let c=this[ac(0x1c8)][ac(0x1de)]();const d=b[ac(0x1e7)]?b[ac(0x1e7)]:'development',f=this[ac(0x1c8)]['getConfigPath'](d),g=b['targetPort']?b[ac(0x1c3)]:0xbb8,h=b[ac(0x1ed)]?b[ac(0x1ed)]:0xd73,i=b['targetHost']?b[ac(0x1c1)]:'localhost',j=a38a5[ac(0x1c7)](f,ac(0x1ce),c[ac(0x1e1)]+ac(0x1cf)),k=a38a5[ac(0x1c7)](f,'_keys',c[ac(0x1e1)]+ac(0x1cb));if(!this[ac(0x1c8)][ac(0x1e8)](j)){Log['error'](ac(0x1e6));throw new UsageError();}if(g===h){Log[ac(0x1c9)](ac(0x1e0));throw new UsageError();}Log['notice'](ac(0x1db)+d),Log[ac(0x1ec)](ac(0x1e2)+j),Log[ac(0x1ec)](ac(0x1d2)+k);const l={'ssl':{'key':a38a4[ac(0x1d4)](j,ac(0x1d3)),'cert':a38a4['readFileSync'](k,'utf8')},'target':{'host':i,'port':g},'ws':!![],'xfwd':!![]},m=a38a6[ac(0x1e4)](l)[ac(0x1d6)](h);Log['bright'](ac(0x1d5)+h+ac(0x1d8)+g);}catch(n){if(ac(0x1ca)!==ac(0x1ca)){if(n){const p=i[ac(0x1dc)](j,arguments);return k=null,p;}}else throw n;}});
@@ -1 +1 @@
1
- const a38A=a38d;(function(a,b){const w=a38d,c=a();while(!![]){try{const d=parseInt(w(0x157))/0x1*(-parseInt(w(0x152))/0x2)+parseInt(w(0x15d))/0x3+-parseInt(w(0x169))/0x4*(-parseInt(w(0x13a))/0x5)+parseInt(w(0x143))/0x6*(-parseInt(w(0x147))/0x7)+-parseInt(w(0x146))/0x8+parseInt(w(0x134))/0x9*(-parseInt(w(0x140))/0xa)+parseInt(w(0x12e))/0xb*(parseInt(w(0x144))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x92180));const a38b=(function(){let a=!![];return function(b,c){const x=a38d;if(x(0x141)!==x(0x141))c(d);else{const e=a?function(){const y=x;if(c){const f=c[y(0x13d)](b,arguments);return c=null,f;}}:function(){};return a=![],e;}};}()),a38a=a38b(this,function(){const z=a38d;return a38a[z(0x166)]()[z(0x135)](z(0x148))[z(0x166)]()['constructor'](a38a)['search'](z(0x148));});a38a();var __awaiter=this&&this[a38A(0x12f)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const B=a38d;'cuHsk'!==B(0x153)?c(d):g(f);});}return new(c||(c=Promise))(function(f,g){const F=a38d;function h(k){const C=a38d;if(C(0x160)===C(0x160))try{if(C(0x145)===C(0x158))try{i(j[C(0x168)](k));}catch(m){m(m);}else j(d['next'](k));}catch(m){g(m);}else try{i(j[C(0x161)](k));}catch(o){m(o);}}function i(k){const D=a38d;if('nqpys'===D(0x154))try{j(d['throw'](k));}catch(l){g(l);}else c(d);}function j(k){const E=a38d;if(E(0x15b)!==E(0x155))k[E(0x13f)]?f(k[E(0x13e)]):e(k[E(0x13e)])[E(0x15c)](h,i);else{let m=d[E(0x162)](E(0x132),e);if(!m)throw E(0x131);if(m)f[E(0x167)](E(0x133));}}j((d=d['apply'](a,b||[]))[F(0x168)]());});};import a38u from'fs';import a38v from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x12b;let f=c[d];return f;},a38d(a,b);}import{SSH}from'../tools/ssh/ssh.class.js';function a38c(){const I=['error','apply','value','done','8110BqrkEa','qitjl','getConfigPath','78Jioicn','4118508Wkgwwm','Udiko','8852592seUVMd','117971gjRrBh','(((.+)+)+)+$','yXXis','readFileSync','notice','reconfig','If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.','SSqMy','join','help','scp','40rENYhb','cuHsk','nqpys','RjKue','_keys','31268uAhnjw','CBCFo','pm2\x20delete\x20all','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','JbzKB','then','3160812nfZznQ','parse','existsSync','jJMaB','throw','ping','~/ses.json','pm2.config.js','sshSync','toString','success','next','4fAzXKa','Checking\x20remote\x20host\x20availability','sAxFP','~/pm2.config.js','assign','ses.json','44CFbVNL','__awaiter','LeHHv','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','uname\x20-a','Remote\x20host\x20connection\x20successful','1917DBGseg','search','exit','maka\x20reconfig\x20--env\x20prod','hSrRU','HQvfu','1478630WMeDNW','env'];a38c=function(){return I;};return a38c();}Command['create']({'name':a38A(0x14c),'validOpts':[a38A(0x150)],'requiredOpts':[a38A(0x13b)],'mustBeInMakaProject':!![],'usage':a38A(0x137),'description':a38A(0x14d),'examples':[a38A(0x137)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const G=a38d;try{if(G(0x139)===G(0x149)){let d={'source':e,'dest':G(0x163),'verbose':!![]};f[G(0x151)](d,g[G(0x12c)]({},h));}else{const d=this['fsi'][G(0x142)](b[G(0x13b)]),f=a38v[G(0x14f)](d,'ssh.json'),g=a38u[G(0x14a)](f)['toString']();let h=JSON[G(0x15e)](g);Object[G(0x12c)](h,{'env':d}),Log[G(0x14b)](G(0x16a));try{if(G(0x16b)===G(0x130)){const m=d[G(0x13d)](e,arguments);return f=null,m;}else{let m=SSH[G(0x162)](G(0x132),h);if(!m)throw G(0x131);if(m)Log['success']('Remote\x20host\x20connection\x20successful');}}catch(n){if(G(0x14e)===G(0x138)){const p=g?function(){const H=G;if(p){const u=q[H(0x13d)](r,arguments);return s=null,u;}}:function(){};return l=![],p;}else throw n;}let i=a38v[G(0x14f)](d,G(0x156),G(0x12d));if(a38u[G(0x15f)](i)){if('RVpQb'!=='RVpQb')throw b;else{let q={'source':i,'dest':G(0x163),'verbose':!![]};SSH[G(0x151)](q,Object['assign']({},h));}}let j=a38v[G(0x14f)](d,G(0x164));SSH[G(0x151)]({'source':j,'dest':G(0x12b),'verbose':!![]},Object[G(0x12c)]({},h));let k=a38v['join'](d,'settings.json');SSH[G(0x151)]({'source':k,'dest':'~/settings.json','verbose':!![]},Object[G(0x12c)]({},h)),SSH[G(0x165)](G(0x159),h),yield SSH['ssh'](G(0x15a),Object[G(0x12c)]({},h),{'verbose':!![]});}}catch(r){console[G(0x13c)](r),process[G(0x136)](0x0);}});});
1
+ const a39A=a39d;(function(a,b){const w=a39d,c=a();while(!![]){try{const d=parseInt(w(0x15e))/0x1*(-parseInt(w(0x136))/0x2)+-parseInt(w(0x168))/0x3*(-parseInt(w(0x171))/0x4)+-parseInt(w(0x144))/0x5*(parseInt(w(0x141))/0x6)+parseInt(w(0x155))/0x7+-parseInt(w(0x145))/0x8*(-parseInt(w(0x165))/0x9)+-parseInt(w(0x142))/0xa+-parseInt(w(0x15f))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x3d9e3));const a39b=(function(){let a=!![];return function(b,c){const x=a39d;if(x(0x16c)!==x(0x172)){const d=a?function(){const y=x;if(c){const e=c[y(0x16e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;}else{const f=d[x(0x16e)](e,arguments);return f=null,f;}};}()),a39a=a39b(this,function(){const z=a39d;return a39a['toString']()[z(0x13f)](z(0x148))[z(0x140)]()[z(0x14d)](a39a)[z(0x13f)]('(((.+)+)+)+$');});a39a();var __awaiter=this&&this[a39A(0x137)]||function(a,b,c,d){function e(f){const B=a39d;if(B(0x149)===B(0x149))return f instanceof c?f:new c(function(g){g(f);});else c(d);}return new(c||(c=Promise))(function(f,g){const G=a39d;function h(k){const C=a39d;if(C(0x15b)===C(0x13c))throw b;else try{if(C(0x16f)===C(0x175)){let n=d[C(0x167)](C(0x147),e);if(!n)throw C(0x14b);if(n)f[C(0x156)]('Remote\x20host\x20connection\x20successful');}else j(d[C(0x158)](k));}catch(n){g(n);}}function i(k){const D=a39d;if(D(0x16d)===D(0x14f))d(e[D(0x158)](f));else try{if(D(0x13a)!==D(0x13a))return c[D(0x140)]()[D(0x13f)](D(0x148))[D(0x140)]()[D(0x14d)](d)[D(0x13f)](D(0x148));else j(d[D(0x13e)](k));}catch(n){if('MNRfF'!==D(0x170)){const p=g?function(){const E=D;if(p){const u=q[E(0x16e)](r,arguments);return s=null,u;}}:function(){};return l=![],p;}else g(n);}}function j(k){const F=a39d;k[F(0x143)]?f(k[F(0x16a)]):e(k[F(0x16a)])[F(0x13d)](h,i);}j((d=d[G(0x16e)](a,b||[]))['next']());});};function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x135;let f=c[d];return f;},a39d(a,b);}import a39u from'fs';import a39v from'path';function a39c(){const I=['MNRfF','212KLqlKW','oGQxY','help','create','rdXUb','pm2.config.js','Remote\x20host\x20connection\x20successful','getConfigPath','2sKiGjb','__awaiter','~/pm2.config.js','ses.json','qFYWy','join','vUtTT','then','throw','search','toString','1307910SXbZQm','713080gSfWiG','done','5QvxpSM','8VoVgiE','fsi','uname\x20-a','(((.+)+)+)+$','qrWPB','~/ses.json','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','TadIo','constructor','~/settings.json','MqOtv','assign','scp','pm2\x20delete\x20all','readFileSync','YVOcy','1958880NTZUIn','success','exit','next','Checking\x20remote\x20host\x20availability','parse','NjsNO','notice','_keys','333299GWRBbA','2176856LeGDWQ','EKyTu','reconfig','env','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','existsSync','3766833SHgrap','ssh','ping','21198FDYvNO','maka\x20reconfig\x20--env\x20prod','value','sshSync','JUUom','HxOgk','apply','cqyQX'];a39c=function(){return I;};return a39c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a39A(0x174)]({'name':a39A(0x161),'validOpts':[a39A(0x173)],'requiredOpts':['env'],'mustBeInMakaProject':!![],'usage':a39A(0x169),'description':'If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.','examples':[a39A(0x169)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const H=a39d;try{const c=this[H(0x146)][H(0x135)](b[H(0x162)]),d=a39v[H(0x13b)](c,'ssh.json'),f=a39u[H(0x153)](d)[H(0x140)]();let g=JSON[H(0x15a)](f);Object[H(0x150)](g,{'env':c}),Log[H(0x15c)](H(0x159));try{if(H(0x14c)==='hpUbY')d['error'](e),f[H(0x157)](0x0);else{let l=SSH[H(0x167)]('uname\x20-a',g);if(!l)throw H(0x14b);if(l)Log['success'](H(0x177));}}catch(m){if('sFzHl'==='QgaLz')try{i(j[H(0x158)](k));}catch(o){m(o);}else throw m;}let h=a39v[H(0x13b)](c,H(0x15d),H(0x139));if(a39u[H(0x164)](h)){let o={'source':h,'dest':H(0x14a),'verbose':!![]};SSH['scp'](o,Object[H(0x150)]({},g));}let i=a39v[H(0x13b)](c,H(0x176));SSH[H(0x151)]({'source':i,'dest':H(0x138),'verbose':!![]},Object[H(0x150)]({},g));let j=a39v[H(0x13b)](c,'settings.json');SSH[H(0x151)]({'source':j,'dest':H(0x14e),'verbose':!![]},Object[H(0x150)]({},g)),SSH[H(0x16b)](H(0x152),g),yield SSH[H(0x166)](H(0x163),Object[H(0x150)]({},g),{'verbose':!![]});}catch(p){if(H(0x160)===H(0x154)){let r={'source':p,'dest':H(0x14a),'verbose':!![]};f[H(0x151)](r,g[H(0x150)]({},h));}else console['error'](p),process[H(0x157)](0x0);}});});
@@ -1 +1 @@
1
- const a39O=a39d;(function(a,b){const E=a39d,c=a();while(!![]){try{const d=parseInt(E(0x1f8))/0x1*(parseInt(E(0x200))/0x2)+parseInt(E(0x246))/0x3+parseInt(E(0x244))/0x4+parseInt(E(0x21e))/0x5+parseInt(E(0x222))/0x6*(parseInt(E(0x1fd))/0x7)+parseInt(E(0x1fc))/0x8*(parseInt(E(0x1f0))/0x9)+-parseInt(E(0x20d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xe2af0));const a39b=(function(){let a=!![];return function(b,c){const F=a39d;if(F(0x210)!=='zuRvE'){const d=a?function(){const G=F;if(c){const e=c[G(0x1f1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;}else c(d);};}()),a39a=a39b(this,function(){const H=a39d;return a39a['toString']()[H(0x233)](H(0x1ee))[H(0x213)]()[H(0x22c)](a39a)['search'](H(0x1ee));});a39a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){if('irVvF'==='irVvF')return f instanceof c?f:new c(function(g){const I=a39d;if(I(0x1fb)==='Npybp')g(f);else{const i=l['join'](m,I(0x1fe),n[I(0x204)]+I(0x221)),j=o[I(0x240)](p,I(0x1fe),q[I(0x204)]+I(0x23b));r[I(0x24b)](i);const k={'ssl':{'key':s[I(0x217)](i,I(0x201)),'cert':t[I(0x217)](j,'utf8')},'target':{'host':I(0x241),'port':0xbb8},'ws':!![],'xfwd':!![]},l=u['createProxyServer'](k)[I(0x1f2)](0xfa0);v[I(0x220)]('=>\x20SSL\x20Proxy\x20running\x20at\x204000');}});else c(d);}return new(c||(c=Promise))(function(f,g){const M=a39d;function h(k){const J=a39d;if(J(0x24a)!=='qPkGs')return f instanceof g?h:new i(function(m){m(k);});else try{j(d['next'](k));}catch(m){g(m);}}function i(k){const K=a39d;if('DNDyY'===K(0x22a))try{j(d[K(0x232)](k));}catch(l){if(K(0x231)!=='sYkeb')g(l);else{const n={'app':l[K(0x204)],'appFileCase':f(g[K(0x204)])};let o=this[K(0x219)]['templateContent']({'srcPath':K(0x20e),'context':n})+'\x0a';this[K(0x219)][K(0x24c)]({'filePath':h,'data':o});}}else d=e['join'](f,K(0x223));}function j(k){const L=a39d;L(0x203)!==L(0x203)?c=d['settings']:k[L(0x245)]?f(k[L(0x211)]):e(k[L(0x211)])[L(0x235)](h,i);}j((d=d[M(0x1f1)](a,b||[]))[M(0x20a)]());});};import a39A from'path';import a39B from'fs';import a39C from'dotenv';import{execSync}from'child_process';function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x1ed;let f=c[d];return f;},a39d(a,b);}import a39D from'http-proxy';import{Command}from'../command.js';function a39c(){const R=['ssl','Npybp','400iiAvTS','7JptDcH','_keys','split','719184TtwSmK','utf8','verbose','IMUxG','appName','qxZXN','bGmCI','YniCZ','warn','Node\x20Env\x20Config:\x20','next','rawLogs','slice','43820810YBNIpY','config/docker-compose.yaml','Run\x20your\x20app\x20for\x20a\x20given\x20environment\x20or\x20in\x20docker.','HLcFa','value','docker-compose.yaml','toString','tipgs','invokeMeteorCommand','length','readFileSync','filter','fsi','--production','production','process.env','Meteor\x20Settings:\x20','5240795ORelcL','create','bright','.key','2631582vzxZRM','settings.json','\x20up\x20--remove-orphans','env','templateContent','getProjectConfig','isFile','docker-compose\x20--project-directory\x20','DNDyY','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)','constructor','run','port','Snisr','cMXnM','flghz','throw','search','error','then','=>\x20SSL\x20Proxy\x20running\x20at\x204000','VmyJG','docker','inherit','createProxyServer','.crt','extraPackages','fOjus','WfeIL','config','join','localhost','splice','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','5448972ksrHZa','done','2428980VIRBub','PQuiU','pm2.config.js','inspect','qPkGs','notice','createFile','PM2\x20Config\x20File:\x20','mobileServer','--env','exclude-archs','push','(((.+)+)+)+$','exit','38439NrZcSb','apply','listen','getConfigPath','jDiQC','settings','mobile-server','compareMakaToLatest','4LysSvD','openSync'];a39c=function(){return R;};return a39c();}import{Log}from'../tools/log/log.class.js';import{paramCase}from'change-case';const syncSource=function(a){const N=a39d;a39B[N(0x1f9)](a,'r'),a39C['config']({'path':a});};Command[a39O(0x21f)]({'name':'run','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':[a39O(0x225),a39O(0x238),'r',a39O(0x20b),'p',a39O(0x22e),'i',a39O(0x249),'m',a39O(0x24e),'v',a39O(0x202),'allowIncompatibleUpdate',a39O(0x23c),'x',a39O(0x250),a39O(0x21b),a39O(0x1fa)],'description':a39O(0x20f)},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const P=a39d;try{if(P(0x247)!=='OgoWs'){if(b[P(0x1f6)]&&b[P(0x1f6)]===!![]||b['m']&&b['m']===!![])throw P(0x22b);yield this[P(0x219)][P(0x1f7)]();let c=this[P(0x219)][P(0x227)]();const d=b[P(0x225)]?b[P(0x225)]:'development',f=this['fsi'][P(0x1f3)](d),g=a39A['join'](f,P(0x21c));let h=a39A[P(0x240)](f,P(0x223));if(b[P(0x1f5)]){if('gkjch'===P(0x23d))try{i(j[P(0x20a)](k));}catch(m){m(m);}else h=b[P(0x1f5)];}else P(0x1f4)===P(0x214)?b[P(0x1ed)](P(0x21a)):h=a39A[P(0x240)](f,'settings.json');if(this[P(0x219)][P(0x228)](g)&&!b[P(0x238)])P(0x22f)!==P(0x206)?(Log[P(0x24b)](P(0x209)+g),syncSource(g)):c[P(0x242)](d,0x2);else!b[P(0x238)]&&Log[P(0x208)]('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+g);this['fsi'][P(0x228)](h)?P(0x237)===P(0x237)?(Log[P(0x24b)](P(0x21d)+h),a=a['concat'](['--settings',h])):(e['notice']('Node\x20Env\x20Config:\x20'+f),g(h)):P(0x230)!==P(0x205)?Log[P(0x208)](P(0x243)+h):c[P(0x242)](d,0x2);const i=f[P(0x1ff)](a39A['sep']),j=i[i[P(0x216)]-0x1];j===P(0x21b)&&a[P(0x1ed)](P(0x21a));const k=process['argv'][P(0x20c)](0x2)['filter'](q=>q!=='run')[P(0x218)](q=>q!==a[0x0]);k['forEach']((q,r)=>{const Q=P;q===Q(0x24f)&&k['splice'](r,0x2),q==='-e'&&('WfeIL'!==Q(0x23e)?c[Q(0x208)](Q(0x243)+d):k[Q(0x242)](r,0x2));});if(b[P(0x238)]){const q=this[P(0x219)][P(0x1f3)]('docker'),r=a39A['join'](q,P(0x212)),s=a39A['join'](q,P(0x248));Log[P(0x24b)](P(0x24d)+s),Log[P(0x24b)]('Docker\x20Compose\x20Path:\x20'+r);if(!a39B['existsSync'](r)){if(P(0x207)!==P(0x207))try{i(j[P(0x232)](k));}catch(u){m(u);}else{const u={'app':c[P(0x204)],'appFileCase':paramCase(c[P(0x204)])};let v=this[P(0x219)][P(0x226)]({'srcPath':'config/docker-compose.yaml','context':u})+'\x0a';this[P(0x219)][P(0x24c)]({'filePath':r,'data':v});}}execSync(P(0x229)+q+P(0x224),{'stdio':P(0x239)});}else{if(b['ssl']){const w=a39A[P(0x240)](f,P(0x1fe),c['appName']+P(0x221)),x=a39A[P(0x240)](f,P(0x1fe),c['appName']+P(0x23b));Log['notice'](w);const y={'ssl':{'key':a39B[P(0x217)](w,P(0x201)),'cert':a39B[P(0x217)](x,P(0x201))},'target':{'host':P(0x241),'port':0xbb8},'ws':!![],'xfwd':!![]},z=a39D[P(0x23a)](y)[P(0x1f2)](0xfa0);Log[P(0x220)](P(0x236));}else this[P(0x219)][P(0x215)](P(0x22d),a['concat'](k));}}else e[P(0x1f9)](f,'r'),g[P(0x23f)]({'path':h});}catch(B){console[P(0x234)](B),process[P(0x1ef)](0x0);}});});
1
+ function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x125;let f=c[d];return f;},a40d(a,b);}const a40K=a40d;(function(a,b){const G=a40d,c=a();while(!![]){try{const d=parseInt(G(0x158))/0x1+parseInt(G(0x135))/0x2*(parseInt(G(0x141))/0x3)+parseInt(G(0x180))/0x4*(-parseInt(G(0x176))/0x5)+parseInt(G(0x14d))/0x6+parseInt(G(0x12f))/0x7*(parseInt(G(0x13a))/0x8)+-parseInt(G(0x13e))/0x9*(parseInt(G(0x171))/0xa)+parseInt(G(0x12e))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x6a28a));const a40b=(function(){let a=!![];return function(b,c){const H=a40d;if('xnGtM'===H(0x157)){const d=a?function(){const I=H;if('bIgny'!=='esrSO'){if(c){if('UMPtm'!==I(0x181)){const e=c[I(0x16e)](b,arguments);return c=null,e;}else c['splice'](d,0x2);}}else b[I(0x130)](I(0x17e));}:function(){};return a=![],d;}else c(d);};}()),a40a=a40b(this,function(){const J=a40d;return a40a[J(0x14a)]()[J(0x18a)](J(0x173))[J(0x14a)]()['constructor'](a40a)[J(0x18a)](J(0x173));});a40a();var __awaiter=this&&this[a40K(0x160)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const L=a40d;'izijI'===L(0x155)?d(e[L(0x183)](f)):g(f);});}return new(c||(c=Promise))(function(f,g){const P=a40d;function h(k){const M=a40d;try{M(0x154)!==M(0x154)?c(d):j(d['next'](k));}catch(m){g(m);}}function i(k){const N=a40d;if(N(0x143)!=='qIaEH'){const m=d[N(0x16e)](e,arguments);return f=null,m;}else try{if(N(0x17f)===N(0x17f))j(d['throw'](k));else{const n=g?function(){if(n){const u=q['apply'](r,arguments);return s=null,u;}}:function(){};return l=![],n;}}catch(n){if(N(0x125)===N(0x144))try{i(j[N(0x183)](k));}catch(p){m(p);}else g(n);}}function j(k){const O=a40d;k['done']?f(k['value']):e(k['value'])[O(0x182)](h,i);}j((d=d[P(0x16e)](a,b||[]))['next']());});};import a40A from'path';import a40B from'fs';import a40C from'dotenv';import{execSync}from'child_process';function a40c(){const T=['827720IrjnER','VKOrq','XmMBb','forEach','allowIncompatibleUpdate','fsi','mobileServer','listen','__awaiter','slice','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','join','filter','settings','extraPackages','vCbMT','docker','settings.json','qGJBQ','getConfigPath','isFile','xljEa','apply','existsSync','_keys','220bsnwxu','templateContent','(((.+)+)+)+$','.key','Meteor\x20Settings:\x20','156215Frryll','=>\x20SSL\x20Proxy\x20running\x20at\x204000','invokeMeteorCommand','ssl','appName','mobile-server','--settings','run','--production','xmqyi','36Umgicg','iAbKV','then','next','split','production','IAbmH','createFile','utf8','concat','search','pbvVn','env','config','readFileSync','ESlgi','Run\x20your\x20app\x20for\x20a\x20given\x20environment\x20or\x20in\x20docker.','rawLogs','verbose','docker-compose\x20--project-directory\x20','2496362OPBIzI','7RbsUlw','push','--env','length','\x20up\x20--remove-orphans','Docker\x20Compose\x20Path:\x20','49186PPskRA','config/docker-compose.yaml','warn','FYYBN','notice','1707848FahZio','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.','exclude-archs','argv','309249oMJKoW','xmUjL','DhWMq','6YkaNGB','wTqRj','qIaEH','fPaVB','exit','Cannot\x20find\x20Node\x20Environment\x20File:\x20','vgojd','splice','sep','toString','openSync','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)','927756SwwxDP','PM2\x20Config\x20File:\x20','zXVNK','compareMakaToLatest','inherit','value','development','dsELH','eIZdO','createProxyServer','xnGtM'];a40c=function(){return T;};return a40c();}import a40D from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{paramCase}from'change-case';const syncSource=function(a){const Q=a40K;a40B[Q(0x14b)](a,'r'),a40C[Q(0x127)]({'path':a});};Command['create']({'name':a40K(0x17d),'mustBeInMakaProject':!![],'usage':a40K(0x13b),'validOpts':[a40K(0x126),a40K(0x168),'r',a40K(0x12b),'p','port','i','inspect','m',a40K(0x15e),'v',a40K(0x12c),a40K(0x15c),a40K(0x166),'x',a40K(0x13c),a40K(0x185),'ssl'],'description':a40K(0x12a)},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const R=a40d;if(R(0x140)!==R(0x13f))try{if(b['mobile-server']&&b[R(0x17b)]===!![]||b['m']&&b['m']===!![])throw R(0x14c);yield this[R(0x15d)][R(0x150)]();let c=this['fsi']['getProjectConfig']();const d=b[R(0x126)]?b[R(0x126)]:R(0x153),f=this[R(0x15d)]['getConfigPath'](d),g=a40A['join'](f,'process.env');let h=a40A[R(0x163)](f,R(0x169));b['settings']?R(0x138)!=='FYYBN'?d=e[R(0x163)](f,R(0x169)):h=b[R(0x165)]:R(0x16d)!==R(0x159)?h=a40A[R(0x163)](f,R(0x169)):c(d);if(this[R(0x15d)][R(0x16c)](g)&&!b[R(0x168)])Log[R(0x139)]('Node\x20Env\x20Config:\x20'+g),syncSource(g);else!b[R(0x168)]&&(R(0x16a)==='ScWtw'?c[R(0x137)](R(0x146)+d):Log['warn'](R(0x146)+g));this[R(0x15d)][R(0x16c)](h)?'MVtDx'==='jfgtA'?h['done']?i(j[R(0x152)]):k(l[R(0x152)])[R(0x182)](m,n):(Log[R(0x139)](R(0x175)+h),a=a[R(0x189)]([R(0x17c),h])):R(0x129)!==R(0x167)?Log[R(0x137)](R(0x162)+h):this[R(0x15d)][R(0x178)]('run',c['concat'](d));const i=f[R(0x184)](a40A[R(0x149)]),j=i[i[R(0x132)]-0x1];j==='production'&&a[R(0x130)](R(0x17e));const k=process[R(0x13d)][R(0x161)](0x2)[R(0x164)](q=>q!==R(0x17d))['filter'](q=>q!==a[0x0]);k[R(0x15b)]((q,r)=>{const S=R;q===S(0x131)&&k[S(0x148)](r,0x2),q==='-e'&&k[S(0x148)](r,0x2);});if(b[R(0x168)]){const q=this[R(0x15d)][R(0x16b)](R(0x168)),r=a40A[R(0x163)](q,'docker-compose.yaml'),s=a40A[R(0x163)](q,'pm2.config.js');Log[R(0x139)](R(0x14e)+s),Log[R(0x139)](R(0x134)+r);if(!a40B[R(0x16f)](r)){if(R(0x15a)!==R(0x186)){const t={'app':c['appName'],'appFileCase':paramCase(c[R(0x17a)])};let u=this[R(0x15d)][R(0x172)]({'srcPath':'config/docker-compose.yaml','context':t})+'\x0a';this['fsi'][R(0x187)]({'filePath':r,'data':u});}else g===R(0x131)&&m[R(0x148)](n,0x2),j==='-e'&&o[R(0x148)](p,0x2);}execSync(R(0x12d)+q+R(0x133),{'stdio':R(0x151)});}else{if(b[R(0x179)]){const w=a40A[R(0x163)](f,R(0x170),c[R(0x17a)]+R(0x174)),x=a40A[R(0x163)](f,R(0x170),c['appName']+'.crt');Log[R(0x139)](w);const y={'ssl':{'key':a40B[R(0x128)](w,R(0x188)),'cert':a40B[R(0x128)](x,R(0x188))},'target':{'host':'localhost','port':0xbb8},'ws':!![],'xfwd':!![]},z=a40D[R(0x156)](y)[R(0x15f)](0xfa0);Log['bright'](R(0x177));}else{if(R(0x14f)==='ipkDC'){const B=this[R(0x15d)]['getConfigPath'](R(0x168)),C=j['join'](B,'docker-compose.yaml'),D=k[R(0x163)](B,'pm2.config.js');l[R(0x139)]('PM2\x20Config\x20File:\x20'+D),m[R(0x139)](R(0x134)+C);if(!n[R(0x16f)](C)){const E={'app':s[R(0x17a)],'appFileCase':t(u[R(0x17a)])};let F=this[R(0x15d)]['templateContent']({'srcPath':R(0x136),'context':E})+'\x0a';this[R(0x15d)][R(0x187)]({'filePath':C,'data':F});}r(R(0x12d)+B+'\x20up\x20--remove-orphans',{'stdio':R(0x151)});}else this[R(0x15d)][R(0x178)](R(0x17d),a[R(0x189)](k));}}}catch(B){if(R(0x142)===R(0x147)){if(B){const D=i['apply'](j,arguments);return k=null,D;}}else console['error'](B),process[R(0x145)](0x0);}else f[R(0x139)](R(0x175)+g),h=i[R(0x189)](['--settings',j]);});});
@@ -1 +1 @@
1
- (function(a,b){var u=a40d,c=a();while(!![]){try{var d=-parseInt(u(0x156))/0x1+parseInt(u(0x15a))/0x2*(parseInt(u(0x15d))/0x3)+parseInt(u(0x158))/0x4+parseInt(u(0x15b))/0x5*(-parseInt(u(0x159))/0x6)+-parseInt(u(0x15f))/0x7+-parseInt(u(0x160))/0x8+parseInt(u(0x15c))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x439f6));function a40c(){var w=['toString','3846500XySnCu','4226656oGVwHK','(((.+)+)+)+$','176422bkjmWQ','search','80580sATsKm','1266awLEtC','578aqDbex','1405UnlQXk','10549260sJujCg','4134dxZgjd'];a40c=function(){return w;};return a40c();}function a40d(a,b){var c=a40c();return a40d=function(d,e){d=d-0x156;var f=c[d];return f;},a40d(a,b);}var a40b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){var v=a40d;return a40a[v(0x15e)]()['search'](v(0x161))[v(0x15e)]()['constructor'](a40a)[v(0x157)](v(0x161));});a40a();import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
1
+ (function(a,b){var u=a41d,c=a();while(!![]){try{var d=-parseInt(u(0xca))/0x1+parseInt(u(0xd4))/0x2+-parseInt(u(0xcf))/0x3*(-parseInt(u(0xcb))/0x4)+-parseInt(u(0xd1))/0x5*(-parseInt(u(0xd3))/0x6)+-parseInt(u(0xd5))/0x7+parseInt(u(0xc9))/0x8*(-parseInt(u(0xce))/0x9)+parseInt(u(0xc8))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xb569d));function a41d(a,b){var c=a41c();return a41d=function(d,e){d=d-0xc8;var f=c[d];return f;},a41d(a,b);}var a41b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a41d;if(c){var e=c[v(0xd0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){var w=a41d;return a41a[w(0xcc)]()[w(0xd6)](w(0xcd))[w(0xcc)]()[w(0xd2)](a41a)[w(0xd6)](w(0xcd));});a41a();import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';function a41c(){var x=['1133656ydGmXe','6707120lYvYph','search','6184490XZjUzk','8pZQkSQ','270350pZBtIS','5744reGdrM','toString','(((.+)+)+)+$','5219127yWjzEg','264JPNgDk','apply','15rBXRAM','constructor','2479674ZIhWHN'];a41c=function(){return x;};return a41c();}
@@ -1 +1 @@
1
- const a41A=a41d;(function(a,b){const x=a41d,c=a();while(!![]){try{const d=-parseInt(x(0xe3))/0x1+parseInt(x(0xb9))/0x2*(parseInt(x(0xdb))/0x3)+-parseInt(x(0xd6))/0x4*(-parseInt(x(0xd7))/0x5)+parseInt(x(0xd0))/0x6+parseInt(x(0xc3))/0x7+parseInt(x(0xdd))/0x8*(-parseInt(x(0xe5))/0x9)+-parseInt(x(0xd1))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x797b6));function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0xaf;let f=c[d];return f;},a41d(a,b);}const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a41d;if(c){const e=c[y(0xd9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const z=a41d;return a41a[z(0xb5)]()[z(0xd5)]('(((.+)+)+)+$')[z(0xb5)]()[z(0xd3)](a41a)['search']('(((.+)+)+)+$');});a41a();var __awaiter=this&&this[a41A(0xc8)]||function(a,b,c,d){function e(f){const B=a41d;if(B(0xc0)!==B(0xb7))return f instanceof c?f:new c(function(g){const C=B;C(0xbc)==='frMEX'?g(f):c(d);});else this['fsi'][B(0xc1)]({'config':{'cert':d[B(0xe0)]}}),e[B(0xd4)](B(0xaf)+f[B(0xe0)]);}return new(c||(c=Promise))(function(f,g){const G=a41d;function h(k){const D=a41d;if('NcDUK'==='jDqCo')d[D(0xd8)](e),f['exit'](0x0);else try{if(D(0xc9)!==D(0xc9)){if(e){const n=i[D(0xd9)](j,arguments);return k=null,n;}}else j(d[D(0xdc)](k));}catch(n){g(n);}}function i(k){const E=a41d;if(E(0xe4)===E(0xcb))h[E(0xe2)]?i(j[E(0xcc)]):k(l['value'])[E(0xdf)](m,n);else try{if(E(0xc5)!==E(0xc5)){const n=typeof d[E(0xe0)]==='boolean'?E(0xbf):E(0xb3)+e['cacert'];throw f[E(0xd8)](n);}else j(d[E(0xbb)](k));}catch(n){if(E(0xba)===E(0xb0))return f instanceof g?h:new i(function(p){p(k);});else g(n);}}function j(k){const F=a41d;k['done']?f(k[F(0xcc)]):e(k[F(0xcc)])[F(0xdf)](h,i);}j((d=d[G(0xd9)](a,b||[]))[G(0xdc)]());});};function a41c(){const I=['global','done','628431ufWDdr','jOzoy','8235HENcoC','maka\x20set:global\x20<args>','qboNQ','Set\x20workspace:\x20','Set\x20CA\x20Cert\x20Path:\x20','FJubW','\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','GIjHp','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','workspace','toString','flVlC','eDjXZ','One\x20or\x20the\x20other\x20buddy','10788JrTqQb','SpNCP','throw','frMEX','boolean','allowInsecure','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','DOYqq','setGlobalConfig','fsi','6564348tISnmh','isDirectory','OhCfS','resolve','exit','__awaiter','XzxSh','maka\x20set:g\x20--insecure\x20<path>','cuIJB','value','niSIu','maka\x20set:global\x20--cacert\x20<path>','create','2654040koaQLl','6009450RHWqkG','disallowInsecure','constructor','success','search','2319932QHXmWZ','5UKtCiH','error','apply','Set\x20allowInsecure:\x20','108nUTHnh','next','3736Bpusar','isFile','then','cacert'];a41c=function(){return I;};return a41c();}import a41v from'path';import a41w from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a41A(0xcf)]({'name':a41A(0xe1),'usage':a41A(0xe6),'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a41A(0xe0),'allowInsecure',a41A(0xd2),a41A(0xb4)],'description':a41A(0xb1),'examples':[a41A(0xce),a41A(0xca),'maka\x20set:g\x20--workspace\x20<path>']},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const H=a41d;if('hPkwX'!=='SlbgF')try{if(b['cacert']){if(this['fsi'][H(0xde)](b[H(0xe0)])){if('RwRDK'===H(0xb2))throw b[H(0xd8)]('Could\x20not\x20find\x20directory');else this[H(0xc2)][H(0xc1)]({'config':{'cert':b[H(0xe0)]}}),Log[H(0xd4)]('Set\x20CA\x20Cert\x20Path:\x20'+b[H(0xe0)]);}else{if(H(0xcd)!=='wsXZz'){const d=typeof b[H(0xe0)]===H(0xbd)?H(0xbf):'CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+b[H(0xe0)];throw Log[H(0xd8)](d);}else try{i(j['throw'](k));}catch(g){m(g);}}}if(b[H(0xb4)]){const g=this[H(0xc2)][H(0xc4)](b[H(0xb4)]);if(g){if(H(0xb6)===H(0xb6))this[H(0xc2)][H(0xc1)]({'config':{'workspace':a41v[H(0xc6)](b[H(0xb4)])}}),Log[H(0xd4)](H(0xe8)+a41v[H(0xc6)](b[H(0xb4)]));else{if(this[H(0xc2)][H(0xde)](h[H(0xe0)]))this['fsi'][H(0xc1)]({'config':{'cert':o[H(0xe0)]}}),p[H(0xd4)](H(0xaf)+q['cacert']);else{const i=typeof r[H(0xe0)]===H(0xbd)?H(0xbf):'CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+s[H(0xe0)];throw t[H(0xd8)](i);}}}else throw Log['error']('Could\x20not\x20find\x20directory');}if(b['allowInsecure']){if(b[H(0xbe)]&&b[H(0xd2)]){if(H(0xe7)!==H(0xe7))d(e['throw'](f));else throw Log[H(0xd8)](H(0xb8));}let i=b[H(0xbe)];b[H(0xd2)]&&(i=![]),this['fsi'][H(0xc1)]({'config':{'allowInsecure':i}}),Log['success'](H(0xda)+i);}}catch(k){console[H(0xd8)](k),process[H(0xc7)](0x0);}else{const m=d['apply'](e,arguments);return f=null,m;}});},a41w);
1
+ const a42A=a42d;(function(a,b){const x=a42d,c=a();while(!![]){try{const d=-parseInt(x(0x207))/0x1*(parseInt(x(0x1e4))/0x2)+parseInt(x(0x214))/0x3+parseInt(x(0x20d))/0x4+-parseInt(x(0x20f))/0x5*(parseInt(x(0x1f4))/0x6)+-parseInt(x(0x212))/0x7*(-parseInt(x(0x20b))/0x8)+-parseInt(x(0x1f2))/0x9+parseInt(x(0x21a))/0xa*(parseInt(x(0x1de))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x446fb));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a42d;if(y(0x1f0)!=='iegnw'){if(c){const e=c['apply'](b,arguments);return c=null,e;}}else{const h=typeof d['cacert']==='boolean'?y(0x206):y(0x215)+e[y(0x1e2)];throw f[y(0x1fb)](h);}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const z=a42d;return a42a[z(0x1e6)]()[z(0x1dd)]('(((.+)+)+)+$')[z(0x1e6)]()[z(0x1fa)](a42a)[z(0x1dd)](z(0x1e8));});a42a();var __awaiter=this&&this[a42A(0x210)]||function(a,b,c,d){function e(f){const B=a42d;if(B(0x1fe)===B(0x1fe))return f instanceof c?f:new c(function(g){const C=B;if(C(0x1db)==='mqYVE')try{i(j['next'](k));}catch(i){m(i);}else g(f);});else{const h=this[B(0x1e9)]['isDirectory'](h[B(0x1fd)]);if(h)this[B(0x1e9)][B(0x208)]({'config':{'workspace':o[B(0x1f1)](p[B(0x1fd)])}}),q['success']('Set\x20workspace:\x20'+r[B(0x1f1)](s[B(0x1fd)]));else throw t['error'](B(0x1f9));}}return new(c||(c=Promise))(function(f,g){const G=a42d;function h(k){const D=a42d;if(D(0x1ff)===D(0x1ee)){if(e){const m=i[D(0x1ec)](j,arguments);return k=null,m;}}else try{if(D(0x1e7)!=='LoxpA')throw b[D(0x1fb)](D(0x1f9));else j(d[D(0x205)](k));}catch(n){D(0x1e1)==='kGCwd'?g(n):c(d);}}function i(k){const E=a42d;try{j(d[E(0x1df)](k));}catch(l){if(E(0x203)===E(0x1ea))try{i(j[E(0x1df)](k));}catch(o){m(o);}else g(l);}}function j(k){const F=a42d;k[F(0x1e3)]?f(k[F(0x201)]):e(k[F(0x201)])['then'](h,i);}j((d=d[G(0x1ec)](a,b||[]))[G(0x205)]());});};import a42v from'path';import a42w from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x1db;let f=c[d];return f;},a42d(a,b);}function a42c(){const I=['pDlHS','htbEI','maka\x20set:global\x20<args>','next','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','144594XQQikX','setGlobalConfig','Ozlrw','\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','208BkgsAM','disallowInsecure','1495028XozSqD','Set\x20allowInsecure:\x20','5UVdrsF','__awaiter','then','25774loRDnG','One\x20or\x20the\x20other\x20buddy','310206osceNv','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','exit','Set\x20workspace:\x20','nlfDj','gmbml','50PczunZ','HYzfl','isDirectory','search','1488091KHZOea','throw','VAlhq','kGCwd','cacert','done','6oxivMk','boolean','toString','LoxpA','(((.+)+)+)+$','fsi','XLYHc','maka\x20set:g\x20--insecure\x20<path>','apply','allowInsecure','BMrNy','success','zyrVB','resolve','751104bqPvvp','MIQgX','2710458yHUTaw','isFile','xkOcW','global','aBEpT','Could\x20not\x20find\x20directory','constructor','error','hIygl','workspace','gnaih','CTqMj','maka\x20set:g\x20--workspace\x20<path>','value'];a42c=function(){return I;};return a42c();}Command['create']({'name':a42A(0x1f7),'usage':a42A(0x204),'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a42A(0x1e2),a42A(0x1ed),a42A(0x20c),a42A(0x1fd)],'description':a42A(0x20a),'examples':['maka\x20set:global\x20--cacert\x20<path>',a42A(0x1eb),a42A(0x200)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const H=a42d;if(H(0x1e0)===H(0x1e0))try{if(b[H(0x1e2)]){if(this[H(0x1e9)][H(0x1f5)](b[H(0x1e2)]))'qhNQj'==='KbhtN'?c(d):(this[H(0x1e9)][H(0x208)]({'config':{'cert':b[H(0x1e2)]}}),Log[H(0x1ef)]('Set\x20CA\x20Cert\x20Path:\x20'+b['cacert']));else{if(H(0x202)===H(0x1fc)){const f=d[H(0x1ec)](e,arguments);return f=null,f;}else{const f=typeof b['cacert']===H(0x1e5)?H(0x206):H(0x215)+b[H(0x1e2)];throw Log[H(0x1fb)](f);}}}if(b['workspace']){if(H(0x218)!==H(0x219)){const g=this[H(0x1e9)][H(0x1dc)](b[H(0x1fd)]);if(g)this[H(0x1e9)]['setGlobalConfig']({'config':{'workspace':a42v[H(0x1f1)](b[H(0x1fd)])}}),Log[H(0x1ef)]('Set\x20workspace:\x20'+a42v[H(0x1f1)](b['workspace']));else throw Log[H(0x1fb)](H(0x1f9));}else d[H(0x1fb)](e),f[H(0x216)](0x0);}if(b[H(0x1ed)]){if(H(0x209)!==H(0x1f6)){if(b[H(0x1ed)]&&b['disallowInsecure'])throw Log['error'](H(0x213));let i=b[H(0x1ed)];b['disallowInsecure']&&(i=![]),this['fsi'][H(0x208)]({'config':{'allowInsecure':i}}),Log['success'](H(0x20e)+i);}else h['done']?i(j[H(0x201)]):k(l[H(0x201)])[H(0x211)](m,n);}}catch(k){H(0x1f8)===H(0x1f3)?d(k[H(0x205)](f)):(console['error'](k),process['exit'](0x0));}else this[H(0x1e9)][H(0x208)]({'config':{'workspace':f[H(0x1f1)](g[H(0x1fd)])}}),h[H(0x1ef)](H(0x217)+i[H(0x1f1)](j['workspace']));});},a42w);