@maka/maka-cli 4.2.1 → 4.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (90) hide show
  1. package/dist/command.js +1 -1
  2. package/dist/commands/_index.js +1 -1
  3. package/dist/commands/aws/_index.js +1 -1
  4. package/dist/commands/aws/aws.command.js +1 -1
  5. package/dist/commands/aws/ci.sub.cmd.js +1 -1
  6. package/dist/commands/aws/ckp.sub.cmd.js +1 -1
  7. package/dist/commands/aws/csg.sub.cmd.js +1 -1
  8. package/dist/commands/aws/di.sub.cmd.js +1 -1
  9. package/dist/commands/aws/dks.sub.cmd.js +1 -1
  10. package/dist/commands/aws/rbi.sub.cmd.js +1 -1
  11. package/dist/commands/aws/sth.sub.cmd.js +1 -1
  12. package/dist/commands/aws/ti.sub.cmd.js +1 -1
  13. package/dist/commands/build/_index.js +1 -1
  14. package/dist/commands/build/build.js +1 -1
  15. package/dist/commands/build/docker.sub.cmd.js +1 -1
  16. package/dist/commands/create.js +1 -1
  17. package/dist/commands/debug.js +1 -1
  18. package/dist/commands/deploy.js +1 -1
  19. package/dist/commands/game/_index.js +1 -1
  20. package/dist/commands/game/battleship.sub.cmd.js +1 -1
  21. package/dist/commands/game/play.command.js +1 -1
  22. package/dist/commands/game/pong.sub.cmd.js +1 -1
  23. package/dist/commands/game/snake.sub.cmd.js +1 -1
  24. package/dist/commands/game/tetris.sub.cmd.js +1 -1
  25. package/dist/commands/generate.js +1 -1
  26. package/dist/commands/get/_index.js +1 -1
  27. package/dist/commands/get/get.command.js +1 -1
  28. package/dist/commands/get/global.sub.cmd.js +1 -1
  29. package/dist/commands/get/local.sub.cmd.js +1 -1
  30. package/dist/commands/help.js +1 -1
  31. package/dist/commands/install.js +1 -1
  32. package/dist/commands/jsdoc.js +1 -1
  33. package/dist/commands/login.js +1 -1
  34. package/dist/commands/logout.js +1 -1
  35. package/dist/commands/logs.js +1 -1
  36. package/dist/commands/maka.cmd.js +1 -1
  37. package/dist/commands/murder.js +1 -1
  38. package/dist/commands/proxy.js +1 -1
  39. package/dist/commands/reconfig.js +1 -1
  40. package/dist/commands/run.js +1 -1
  41. package/dist/commands/set/_index.js +1 -1
  42. package/dist/commands/set/global.sub.cmd.js +1 -1
  43. package/dist/commands/set/local.sub.cmd.js +1 -1
  44. package/dist/commands/set/set.command.js +1 -1
  45. package/dist/commands/ssh.js +1 -1
  46. package/dist/commands/ssl.js +1 -1
  47. package/dist/commands/test.js +1 -1
  48. package/dist/commands/version.js +1 -1
  49. package/dist/error.js +1 -1
  50. package/dist/generator.js +1 -1
  51. package/dist/generators/_index.js +1 -1
  52. package/dist/generators/api.js +1 -1
  53. package/dist/generators/collection.js +1 -1
  54. package/dist/generators/component.js +1 -1
  55. package/dist/generators/config.js +1 -1
  56. package/dist/generators/dbc.js +1 -1
  57. package/dist/generators/dockerfile.js +1 -1
  58. package/dist/generators/hook.js +1 -1
  59. package/dist/generators/kit.js +1 -1
  60. package/dist/generators/layout.js +1 -1
  61. package/dist/generators/maka.gen.js +1 -1
  62. package/dist/generators/methods.js +1 -1
  63. package/dist/generators/package.js +1 -1
  64. package/dist/generators/page.js +1 -1
  65. package/dist/generators/publish.js +1 -1
  66. package/dist/generators/route.js +1 -1
  67. package/dist/generators/scaffold.js +1 -1
  68. package/dist/generators/service.js +1 -1
  69. package/dist/generators/services/_index.js +1 -1
  70. package/dist/generators/services/translation.js +1 -1
  71. package/dist/maka.js +1 -1
  72. package/dist/tool.js +1 -1
  73. package/dist/tools/actions/actions.class.js +1 -1
  74. package/dist/tools/actions/actions.test.js +1 -1
  75. package/dist/tools/aws/aws.class.js +1 -1
  76. package/dist/tools/aws/aws.interfaces.js +1 -1
  77. package/dist/tools/docker/docker.class.js +1 -1
  78. package/dist/tools/docker/docker.interfaces.js +1 -1
  79. package/dist/tools/fsi/fsi.class.js +1 -1
  80. package/dist/tools/fsi/fsi.interfaces.js +1 -1
  81. package/dist/tools/https/https.class.js +1 -1
  82. package/dist/tools/https/https.interface.js +1 -1
  83. package/dist/tools/log/log.class.js +1 -1
  84. package/dist/tools/log/log.interfaces.js +1 -1
  85. package/dist/tools/spawn-async/spawn-async.class.js +1 -1
  86. package/dist/tools/spawn-async/spawn-async.interfaces.js +1 -1
  87. package/dist/tools/ssh/ssh.class.js +1 -1
  88. package/dist/tools/ssh/ssh.interfaces.js +1 -1
  89. package/dist/tools/ssl/ssl.class.js +1 -1
  90. package/package.json +1 -1
@@ -1 +1 @@
1
- var a28z=a28d;(function(a,b){var v=a28d,c=a();while(!![]){try{var d=parseInt(v(0x184))/0x1+parseInt(v(0x188))/0x2*(-parseInt(v(0x17f))/0x3)+-parseInt(v(0x181))/0x4*(-parseInt(v(0x18c))/0x5)+parseInt(v(0x17b))/0x6*(-parseInt(v(0x196))/0x7)+parseInt(v(0x197))/0x8*(parseInt(v(0x17c))/0x9)+-parseInt(v(0x194))/0xa+parseInt(v(0x187))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a28c,0xdf54b));function a28c(){var G=['getProjectConfig','Get\x20maka\x20configurations\x20in\x20the\x20local\x20.maka/config.json\x20file','exit','toString','(((.+)+)+)+$','14406310KVCSRr','error','85029nNYzpE','5977208Vcaelr','fsi','value','WfqbO','constructor','done','606kwprDL','18UZOIoF','pKAzB','foutR','15273zZidjD','apply','28wHAnHf','maka\x20get:local','PKLRB','624081bqysVh','gWDVX','then','27851043lTpIzf','548glmilp','next','search','__awaiter','233485HeLblE','throw','LGYRM'];a28c=function(){return G;};return a28c();}var a28b=(function(){var a=!![];return function(b,c){var w=a28d;if(w(0x17d)===w(0x17d)){var d=a?function(){var x=w;if(c){if(x(0x18e)===x(0x18e)){var e=c[x(0x180)](b,arguments);return c=null,e;}else c(d);}}:function(){};return a=![],d;}else return c['toString']()[w(0x18a)](w(0x193))['toString']()[w(0x179)](d)[w(0x18a)]('(((.+)+)+)+$');};}()),a28a=a28b(this,function(){var y=a28d;return a28a['toString']()[y(0x18a)](y(0x193))[y(0x192)]()[y(0x179)](a28a)[y(0x18a)](y(0x193));});function a28d(a,b){var c=a28c();return a28d=function(d,e){d=d-0x177;var f=c[d];return f;},a28d(a,b);}a28a();var __awaiter=this&&this[a28z(0x18b)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){var A=a28d;if('lzNbu'!==A(0x17e))g(f);else try{i(j[A(0x189)](k));}catch(i){m(i);}});}return new(c||(c=Promise))(function(f,g){var E=a28d;function h(k){var B=a28d;try{j(d['next'](k));}catch(l){'gWDVX'===B(0x185)?g(l):d(l[B(0x189)](f));}}function i(k){var C=a28d;try{j(d[C(0x18d)](k));}catch(l){if(C(0x178)===C(0x178))g(l);else{var n=d[C(0x180)](l,arguments);return f=null,n;}}}function j(k){var D=a28d;k[D(0x17a)]?f(k[D(0x177)]):e(k[D(0x177)])[D(0x186)](h,i);}j((d=d['apply'](a,b||[]))[E(0x189)]());});};import a28u from'./get.command.js';import{Command}from'../../command.js';Command['create']({'name':'local','usage':a28z(0x182),'mustBeInMakaProject':!![],'description':a28z(0x190)},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){var F=a28d;try{if('tvGfh'==='Uadxm')d[F(0x195)](e),f['exit'](0x0);else{const d=yield this[F(0x198)][F(0x18f)]();console['log'](d);}}catch(f){if(F(0x183)!==F(0x183)){if(f){var h=i[F(0x180)](j,arguments);return k=null,h;}}else console[F(0x195)](f),process[F(0x191)](0x0);}});},a28u);
1
+ var a28D=a28d;(function(a,b){var v=a28d,c=a();while(!![]){try{var d=-parseInt(v(0x11f))/0x1+-parseInt(v(0x120))/0x2*(-parseInt(v(0x113))/0x3)+-parseInt(v(0x111))/0x4+parseInt(v(0x11e))/0x5*(parseInt(v(0x128))/0x6)+-parseInt(v(0x11a))/0x7*(parseInt(v(0x12b))/0x8)+-parseInt(v(0x11b))/0x9+parseInt(v(0x117))/0xa*(parseInt(v(0x116))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a28c,0xf063d));function a28d(a,b){var c=a28c();return a28d=function(d,e){d=d-0x110;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(c){var e=c[w(0x12e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a28a=a28b(this,function(){var x=a28d;return a28a[x(0x129)]()[x(0x12c)](x(0x118))[x(0x129)]()[x(0x121)](a28a)['search'](x(0x118));});a28a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){var y=a28d;y(0x115)===y(0x11d)?d(e[y(0x11c)](f)):g(f);});}return new(c||(c=Promise))(function(f,g){var C=a28d;function h(k){var z=a28d;try{if(z(0x119)===z(0x110))try{i(j[z(0x125)](k));}catch(m){m(m);}else j(d[z(0x125)](k));}catch(m){g(m);}}function i(k){var A=a28d;try{j(d['throw'](k));}catch(l){A(0x123)!==A(0x123)?(d[A(0x124)](l),f[A(0x114)](0x0)):g(l);}}function j(k){var B=a28d;if(B(0x12a)!=='UkHWf')k[B(0x126)]?f(k['value']):e(k['value'])['then'](h,i);else{var m=d['apply'](e,arguments);return f=null,m;}}j((d=d[C(0x12e)](a,b||[]))['next']());});};import a28u from'./get.command.js';import{Command}from'../../command.js';Command[a28D(0x112)]({'name':'local','usage':'maka\x20get:local','mustBeInMakaProject':!![],'description':a28D(0x122)},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){var E=a28d;try{if('MpJnU'!==E(0x12d)){const c=yield this[E(0x127)]['getProjectConfig']();console['log'](c);}else c(d);}catch(f){console[E(0x124)](f),process[E(0x114)](0x0);}});},a28u);function a28c(){var F=['550IJYybQ','763420HtzzET','(((.+)+)+)+$','jMAXe','181566nYKKja','16054047hwRcCU','throw','XCYrb','47365KwZkhy','927221GPbwUp','10222TZeuRu','constructor','Get\x20maka\x20configurations\x20in\x20the\x20local\x20.maka/config.json\x20file','FfEXA','error','next','done','fsi','828VViOmr','toString','ERboB','312ArThhX','search','sYifb','apply','oKWdx','1750380ZrFtnU','create','12qIvjpv','exit','dtZow'];a28c=function(){return F;};return a28c();}
@@ -1 +1 @@
1
- var a29z=a29d;function a29c(){var G=['1070285rmMKQk','pjiZu','HNmsJ','2225256RHvfsH','constructor','273652JOdVlS','KIAJL','search','1148787lfySGp','apply','value','done','YgqAv','next','Try,\x20maka\x20--help','6179370YcYYVW','4avGuvD','then','nqDXt','(((.+)+)+)+$','help','__awaiter','2zCYqXJ','lPXbu','1023312LSUCii','toString','48rMIlYY','76517rBVJRk'];a29c=function(){return G;};return a29c();}function a29d(a,b){var c=a29c();return a29d=function(d,e){d=d-0x9c;var f=c[d];return f;},a29d(a,b);}(function(a,b){var v=a29d,c=a();while(!![]){try{var d=parseInt(v(0xa9))/0x1+-parseInt(v(0x9e))/0x2*(parseInt(v(0xa0))/0x3)+-parseInt(v(0xb4))/0x4*(-parseInt(v(0xa4))/0x5)+-parseInt(v(0xa2))/0x6*(parseInt(v(0xa3))/0x7)+-parseInt(v(0xa7))/0x8+-parseInt(v(0xac))/0x9+parseInt(v(0xb3))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a29c,0x423be));var a29b=(function(){var a=!![];return function(b,c){var w=a29d;if(w(0xb0)!=='YgqAv')return c(this,void 0x0,void 0x0,function*(){throw new e();});else{var d=a?function(){var x=w;if(x(0xa5)===x(0xa5)){if(c){var f=c[x(0xad)](b,arguments);return c=null,f;}}else c(d);}:function(){};return a=![],d;}};}()),a29a=a29b(this,function(){var y=a29d;return a29a['toString']()[y(0xab)]('(((.+)+)+)+$')[y(0xa1)]()[y(0xa8)](a29a)[y(0xab)](y(0xb7));});a29a();var __awaiter=this&&this[a29z(0x9d)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){var A=a29d;if(A(0xa6)!==A(0xa6)){var i=g?function(){var B=A;if(i){var u=q[B(0xad)](r,arguments);return s=null,u;}}:function(){};return l=![],i;}else g(f);});}return new(c||(c=Promise))(function(f,g){var F=a29d;function h(k){var C=a29d;try{j(d[C(0xb1)](k));}catch(l){if(C(0xaa)===C(0xb6))try{i(j['next'](k));}catch(o){m(o);}else g(l);}}function i(k){var D=a29d;try{'lPXbu'===D(0x9f)?j(d['throw'](k)):c(d);}catch(m){g(m);}}function j(k){var E=a29d;k[E(0xaf)]?f(k[E(0xae)]):e(k['value'])[E(0xb5)](h,i);}j((d=d[F(0xad)](a,b||[]))[F(0xb1)]());});};import{Command}from'../command.js';import{UsageError}from'../error.js';Command['create']({'name':a29z(0x9c),'description':a29z(0xb2),'aliases':['h']},function(){return __awaiter(this,void 0x0,void 0x0,function*(){throw new UsageError();});});
1
+ var a29B=a29d;function a29c(){var C=['search','value','1751225BTCWWu','UAWVf','6rnedEw','Try,\x20maka\x20--help','759510LxFXyC','constructor','done','create','528021GDvYrK','toString','54456XzpCLU','apply','383734PEOrDL','3563456dkvjBV','3057822yKDCAq','throw','(((.+)+)+)+$','jDDJM','XOXts','310VnmNcg'];a29c=function(){return C;};return a29c();}(function(a,b){var u=a29d,c=a();while(!![]){try{var d=parseInt(u(0x1e0))/0x1+-parseInt(u(0x1ec))/0x2*(parseInt(u(0x1f2))/0x3)+-parseInt(u(0x1f4))/0x4*(-parseInt(u(0x1e7))/0x5)+parseInt(u(0x1e2))/0x6+-parseInt(u(0x1ea))/0x7+-parseInt(u(0x1e1))/0x8+parseInt(u(0x1ee))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a29c,0x920b9));var a29b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a29d;if(v(0x1e5)===v(0x1e5)){if(c){var e=c[v(0x1f5)](b,arguments);return c=null,e;}}else throw new b();}:function(){};return a=![],d;};}()),a29a=a29b(this,function(){var w=a29d;return a29a[w(0x1f3)]()[w(0x1e8)](w(0x1e4))[w(0x1f3)]()[w(0x1ef)](a29a)[w(0x1e8)](w(0x1e4));});a29a();function a29d(a,b){var c=a29c();return a29d=function(d,e){d=d-0x1e0;var f=c[d];return f;},a29d(a,b);}var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){var A=a29d;function h(k){var x=a29d;try{j(d['next'](k));}catch(l){x(0x1e6)==='GeqVF'?c(d):g(l);}}function i(k){var y=a29d;try{j(d[y(0x1e3)](k));}catch(l){y(0x1eb)!==y(0x1eb)?c(d):g(l);}}function j(k){var z=a29d;k[z(0x1f0)]?f(k['value']):e(k[z(0x1e9)])['then'](h,i);}j((d=d[A(0x1f5)](a,b||[]))['next']());});};import{Command}from'../command.js';import{UsageError}from'../error.js';Command[a29B(0x1f1)]({'name':'help','description':a29B(0x1ed),'aliases':['h']},function(){return __awaiter(this,void 0x0,void 0x0,function*(){throw new UsageError();});});
@@ -1 +1 @@
1
- const a30F=a30d;(function(a,b){const C=a30d,c=a();while(!![]){try{const d=-parseInt(C(0x19e))/0x1+-parseInt(C(0x17e))/0x2+parseInt(C(0x1ab))/0x3*(parseInt(C(0x198))/0x4)+-parseInt(C(0x19c))/0x5+parseInt(C(0x1a2))/0x6+parseInt(C(0x171))/0x7+parseInt(C(0x18e))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a30c,0xaead1));const a30b=(function(){let a=!![];return function(b,c){const d=a?function(){const D=a30d;if(c){const e=c[D(0x170)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a30a=a30b(this,function(){const E=a30d;return a30a[E(0x168)]()[E(0x16f)](E(0x197))[E(0x168)]()[E(0x19d)](a30a)[E(0x16f)](E(0x197));});a30a();var __awaiter=this&&this[a30F(0x1b0)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){function h(k){const G=a30d;try{j(d[G(0x169)](k));}catch(l){g(l);}}function i(k){try{j(d['throw'](k));}catch(l){g(l);}}function j(k){const H=a30d;k[H(0x184)]?f(k[H(0x179)]):e(k['value'])[H(0x173)](h,i);}j((d=d['apply'](a,b||[]))['next']());});};import a30x from'os';import a30y from'path';function a30c(){const J=['toString','next','maka\x20install\x20meteor','warn','.meteor','keepInstall','Installing\x20meteor\x20','search','apply','5203569CeFwBX','nagLq','then','--output','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','Install\x20a\x20meteor.\x20\x22maka\x20install\x22\x20defaults\x20to\x20\x22maka\x20install\x20meteor\x22','RELEASE=','maka\x20install\x20meteor\x20--version\x201.12.1','value','maka\x20install\x20meteor\x20--force','printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.bashrc','ernLq','success','1143822loPlLk','length','withSpinner','eNJvy','string','wacHl','done','os.osx.x86_64','win32','Allowing\x20insecure\x20curl\x20connections.','-rf','join','isFile','NkALS','Meteor\x20version\x20','LKRhB','4298784aGXKXv','fsi','getGlobalConfig','existsSync','os.linux.x86_64','/.local/bin','homedir','UqPZm','PUiRr','(((.+)+)+)+$','4070708TVQOur','This\x20command\x20should\x20NOT\x20be\x20run\x20as\x20sudo\x20or\x20with\x20administrative\x20privileges.\x20\x20Are\x20you\x20ready\x20to\x20proceed?','\x20installed.\x0a','yHLPZ','3751265ECUczj','constructor','1402136YPAtsx','meteor.tar.gz','Network\x20error,\x20please\x20try\x20again.','maka\x20install\x20meteor\x20-v\x202.3.6','6848286FOCHCV','-xzf','printf\x20\x27export\x20PATH=$PATH:$HOME/.local/bin\x27\x20>>\x20$HOME/.profile\x20&&\x20source\x20$HOME/.profile','cacert','Downloading\x20meteor\x20version\x20','WleGb','hgEAi','tar','error','3RWkvZn','https://static-meteor.netdna-ssl.com/packages-bootstrap/','\x20-s\x20https://install.meteor.com/','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','platform','__awaiter','curl','force','version','install','notice','Aborted','replace','--cacert','cert','curl\x20','create','throw','sync','maka\x20install','Aslhl','debug','ignore','mkdir\x20-p\x20'];a30c=function(){return J;};return a30c();}import a30z from'fs';import a30A from'delete';import{execSync}from'child_process';import{SpawnAsync}from'../tools/spawn-async/spawn-async.class.js';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';const homeDir=a30x[a30F(0x194)]();function a30d(a,b){const c=a30c();return a30d=function(d,e){d=d-0x15b;let f=c[d];return f;},a30d(a,b);}Command[a30F(0x160)]({'name':a30F(0x1b4),'aliases':['i'],'validOpts':['f',a30F(0x1b2),'v',a30F(0x1b3),a30F(0x165),'cacert',a30F(0x16d)],'usage':a30F(0x163),'description':a30F(0x176),'examples':[a30F(0x16a),a30F(0x17a),a30F(0x1a1),a30F(0x178),'maka\x20i']},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const I=a30d;if(I(0x18d)!==I(0x18d))g(I(0x167)+h+I(0x193),{'stdio':'ignore'}),i(I(0x1ae),{'stdio':I(0x166)}),j('printf\x20\x27export\x20PATH=$PATH:$HOME/.local/bin\x27\x20>>\x20$HOME/.profile\x20&&\x20source\x20$HOME/.profile',{'stdio':I(0x166)}),k(I(0x17b),{'stdio':I(0x166)}),l('printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.zshrc',{'stdio':'ignore'});else try{if(I(0x19b)==='FpBfZ')throw I(0x175)+b;else{let f=[],g='';if(b[I(0x1a5)]){if(this[I(0x18f)][I(0x18a)](b['cacert']))Log[I(0x1b5)]('Using\x20CA\x20Cert\x20'+b['cacert']),g=b[I(0x1a5)],f=['--cacert',g];else{if(I(0x196)!==I(0x196))h['done']?i(j[I(0x179)]):k(l['value'])[I(0x173)](m,n);else throw I(0x175)+g;}}const h=yield this['fsi'][I(0x190)]();if(h[I(0x15e)]){if(I(0x164)==='Aslhl'){if(this[I(0x18f)][I(0x18a)](h[I(0x15e)]))g=h[I(0x15e)],f=[I(0x15d),g];else{if('oQUIZ'!=='PYWwT')throw'CA\x20Cert\x20is\x20configured\x20in\x20~/.maka.cert,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+g;else try{i(j[I(0x161)](k));}catch(r){m(r);}}}else d=e['v']||f['version'];}h['allowInsecure']&&(Log[I(0x16b)](I(0x187)),f=['-k']);let i=![];if(b['f']||b[I(0x1b2)])i=!![];else{if(I(0x183)==='hehsR')try{i(j[I(0x169)](k));}catch(t){m(t);}else i=yield Actions['confirm'](I(0x199));}if(!i){if(I(0x1a8)===I(0x1a8))throw I(0x15b);else c[I(0x1aa)](d);}const j=process[I(0x1af)]===I(0x186),k=process[I(0x1af)]==='darwin';let l=execSync(I(0x15f)+f['join']('\x20')+I(0x1ad))['toString'](),m=yield this['fsi']['grep'](l,I(0x177));if(m[I(0x17f)]===0x0)throw I(0x1a0);let n=m[0x0]['replace'](/[^0-9.]/gi,'')[I(0x15c)](/\r?\n|\r/,'');if(typeof b['v']===I(0x182)||typeof b[I(0x1b3)]===I(0x182)){if(I(0x172)===I(0x17c)){if(e){const v=i[I(0x170)](j,arguments);return k=null,v;}}else n=b['v']||b[I(0x1b3)];}let o=a30y[I(0x189)](homeDir,I(0x16c));if(j)Log['warn']('Please\x20use\x20\x22npm\x20i\x20-g\x20meteor\x22\x20to\x20install\x20on\x20windows');else{if(I(0x181)!==I(0x195)){a30z[I(0x191)](o)&&(yield SpawnAsync[I(0x180)]('rm',[I(0x188),o],{'message':'Removing\x20previous\x20install\x20of\x20meteor'}));try{if(I(0x18b)!==I(0x1a7)){const v=k?I(0x185):I(0x192);yield SpawnAsync[I(0x180)](I(0x1b1),[...f,'-s',I(0x1ac)+n+'/meteor-bootstrap-'+v+'.tar.gz',I(0x174),a30y['join'](homeDir,'meteor.tar.gz')],{'message':I(0x1a6)+n});const w=[I(0x1a3),a30y[I(0x189)](homeDir,I(0x19f)),'-C',homeDir];yield SpawnAsync[I(0x180)](I(0x1a9),w,{'message':I(0x16e)+n}),a30A[I(0x162)](a30y[I(0x189)](homeDir,I(0x19f)),{'force':!![]});}else c[I(0x1aa)](d);}catch(y){console['error'](y);}try{execSync('mkdir\x20-p\x20'+homeDir+I(0x193),{'stdio':I(0x166)}),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':I(0x166)}),execSync(I(0x1a4),{'stdio':'ignore'}),execSync(I(0x17b),{'stdio':I(0x166)}),execSync('printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.zshrc',{'stdio':I(0x166)});}catch(z){console['error'](z);}Log[I(0x17d)](I(0x18c)+n+I(0x19a));}else c(d);}}}catch(B){console[I(0x1aa)](B),process['exit'](0x0);}});});
1
+ const a30E=a30d;(function(a,b){const B=a30d,c=a();while(!![]){try{const d=-parseInt(B(0x185))/0x1*(parseInt(B(0x199))/0x2)+-parseInt(B(0x1a2))/0x3*(-parseInt(B(0x1a9))/0x4)+parseInt(B(0x1b4))/0x5*(-parseInt(B(0x1b9))/0x6)+-parseInt(B(0x163))/0x7+parseInt(B(0x165))/0x8+parseInt(B(0x192))/0x9+parseInt(B(0x1b5))/0xa*(parseInt(B(0x19f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a30c,0x685a1));const a30b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a30d;if(C(0x18d)!==C(0x18d))c(d);else{if(c){if(C(0x181)!==C(0x1ae)){const f=c[C(0x1a5)](b,arguments);return c=null,f;}else{if(this[C(0x1a6)][C(0x19b)](g['cert']))m=n[C(0x158)],o=[C(0x17c),p];else throw C(0x1ac)+q;}}}}:function(){};return a=![],d;};}()),a30a=a30b(this,function(){const D=a30d;return a30a[D(0x194)]()[D(0x195)](D(0x16d))[D(0x194)]()[D(0x18b)](a30a)[D(0x195)](D(0x16d));});function a30d(a,b){const c=a30c();return a30d=function(d,e){d=d-0x157;let f=c[d];return f;},a30d(a,b);}function a30c(){const N=['PUjBB','curl\x20','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka.cert,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','Removing\x20previous\x20install\x20of\x20meteor','WZZoG','force','Please\x20use\x20\x22npm\x20i\x20-g\x20meteor\x22\x20to\x20install\x20on\x20windows','cacert','eKdnb','notice','549515jWbafX','10081980nZfTHH','Using\x20CA\x20Cert\x20','maka\x20install\x20meteor\x20-v\x202.3.6','/meteor-bootstrap-','24QqCtZB','maka\x20install\x20meteor\x20--version\x201.12.1','done','keepInstall','cert','Downloading\x20meteor\x20version\x20','sync','grep','withSpinner','This\x20command\x20should\x20NOT\x20be\x20run\x20as\x20sudo\x20or\x20with\x20administrative\x20privileges.\x20\x20Are\x20you\x20ready\x20to\x20proceed?','darwin','https://static-meteor.netdna-ssl.com/packages-bootstrap/','ypSyr','RyAyN','printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.bashrc','2516570PGsbrn','\x20installed.\x0a','3968872oldHuv','curl','BHDrA','jsKfT','allowInsecure','os.osx.x86_64','printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.zshrc','Aborted','(((.+)+)+)+$','GnGCG','printf\x20\x27export\x20PATH=$PATH:$HOME/.local/bin\x27\x20>>\x20$HOME/.profile\x20&&\x20source\x20$HOME/.profile','aSqWx','meteor.tar.gz','replace','next','bulZA','-rf','confirm','--output','platform','Network\x20error,\x20please\x20try\x20again.','nEDLk','RELEASE=','--cacert','os.linux.x86_64','JbyRk','Meteor\x20version\x20','maka\x20i','iwuln','then','hOxcz','maka\x20install\x20meteor\x20--force','22377yXjzCS','getGlobalConfig','error','join','warn','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','constructor','__awaiter','wyllw','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','win32','ZkuDu','value','665487ykLzbR','/.local/bin','toString','search','version','KzCeE','.meteor','54kvnNoQ','exit','isFile','.tar.gz','VOnUT','Allowing\x20insecure\x20curl\x20connections.','11gNolIX','Install\x20a\x20meteor.\x20\x22maka\x20install\x22\x20defaults\x20to\x20\x22maka\x20install\x20meteor\x22','existsSync','6mZNdXY','maka\x20install\x20meteor','ignore','apply','fsi','mkdir\x20-p\x20','throw','504952RFTeGN'];a30c=function(){return N;};return a30c();}a30a();var __awaiter=this&&this[a30E(0x18c)]||function(a,b,c,d){function e(f){const F=a30d;if('ypSyr'!==F(0x160))d(e[F(0x1a8)](f));else return f instanceof c?f:new c(function(h){const G=F;G(0x161)!=='mjGPd'?h(f):(e=f[G(0x158)],g=[G(0x17c),h]);});}return new(c||(c=Promise))(function(f,g){const K=a30d;function h(k){const H=a30d;if(H(0x167)==='BHDrA')try{if('TFoQf'!=='AxLXj')j(d[H(0x173)](k));else{if(this[H(0x1a6)][H(0x19b)](i[H(0x1b1)]))q['notice']('Using\x20CA\x20Cert\x20'+r[H(0x1b1)]),s=t[H(0x1b1)],u=[H(0x17c),v];else throw H(0x18e)+w;}}catch(m){g(m);}else h[H(0x1bb)]?i(j[H(0x191)]):k(l[H(0x191)])['then'](m,n);}function i(k){const I=a30d;try{j(d[I(0x1a8)](k));}catch(l){g(l);}}function j(k){const J=a30d;J(0x19d)!==J(0x190)?k[J(0x1bb)]?f(k['value']):e(k[J(0x191)])[J(0x182)](h,i):(g(J(0x1a7)+h+J(0x193),{'stdio':J(0x1a4)}),i('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':J(0x1a4)}),j(J(0x16f),{'stdio':'ignore'}),k(J(0x162),{'stdio':J(0x1a4)}),l(J(0x16b),{'stdio':J(0x1a4)}));}j((d=d[K(0x1a5)](a,b||[]))['next']());});};import a30x from'os';import a30y from'path';import a30z from'fs';import a30A from'delete';import{execSync}from'child_process';import{SpawnAsync}from'../tools/spawn-async/spawn-async.class.js';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';const homeDir=a30x['homedir']();Command['create']({'name':'install','aliases':['i'],'validOpts':['f','force','v',a30E(0x196),'debug',a30E(0x1b1),a30E(0x157)],'usage':'maka\x20install','description':a30E(0x1a0),'examples':[a30E(0x1a3),a30E(0x184),a30E(0x1b7),a30E(0x1ba),a30E(0x180)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const L=a30d;try{let c=[],d='';if(b[L(0x1b1)]){if(this[L(0x1a6)][L(0x19b)](b['cacert']))Log[L(0x1b3)](L(0x1b6)+b[L(0x1b1)]),d=b['cacert'],c=['--cacert',d];else throw L(0x18e)+d;}const f=yield this[L(0x1a6)][L(0x186)]();if(f[L(0x158)]){if('DRLRG'===L(0x170))try{i(j[L(0x1a8)](k));}catch(o){m(o);}else{if(this[L(0x1a6)]['isFile'](f[L(0x158)]))d=f[L(0x158)],c=[L(0x17c),d];else{if(L(0x174)!=='bulZA')d=e['v']||f[L(0x196)];else throw'CA\x20Cert\x20is\x20configured\x20in\x20~/.maka.cert,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+d;}}}f[L(0x169)]&&(Log['warn'](L(0x19e)),c=['-k']);let g=![];b['f']||b[L(0x1af)]?g=!![]:g=yield Actions[L(0x176)](L(0x15d));if(!g)throw L(0x16c);const h=process[L(0x178)]===L(0x18f),i=process[L(0x178)]===L(0x15e);let j=execSync(L(0x1ab)+c[L(0x188)]('\x20')+'\x20-s\x20https://install.meteor.com/')['toString'](),k=yield this['fsi'][L(0x15b)](j,L(0x17b));if(k['length']===0x0)throw L(0x179);let l=k[0x0][L(0x172)](/[^0-9.]/gi,'')[L(0x172)](/\r?\n|\r/,'');(typeof b['v']==='string'||typeof b[L(0x196)]==='string')&&(L(0x1aa)===L(0x17e)?d(e[L(0x173)](f)):l=b['v']||b[L(0x196)]);let m=a30y[L(0x188)](homeDir,L(0x198));if(h)Log[L(0x189)](L(0x1b0));else{if(L(0x1b2)!=='FvIOF'){a30z[L(0x1a1)](m)&&(yield SpawnAsync[L(0x15c)]('rm',[L(0x175),m],{'message':L(0x1ad)}));try{const q=i?L(0x16a):L(0x17d);yield SpawnAsync['withSpinner'](L(0x166),[...c,'-s',L(0x15f)+l+L(0x1b8)+q+L(0x19c),L(0x177),a30y[L(0x188)](homeDir,L(0x171))],{'message':L(0x159)+l});const r=['-xzf',a30y['join'](homeDir,L(0x171)),'-C',homeDir];yield SpawnAsync['withSpinner']('tar',r,{'message':'Installing\x20meteor\x20'+l}),a30A[L(0x15a)](a30y[L(0x188)](homeDir,L(0x171)),{'force':!![]});}catch(s){L(0x183)!==L(0x183)?b[L(0x189)](L(0x1b0)):console[L(0x187)](s);}try{if(L(0x197)===L(0x16e)){const v=g?function(){const M=L;if(v){const w=q[M(0x1a5)](r,arguments);return s=null,w;}}:function(){};return l=![],v;}else execSync(L(0x1a7)+homeDir+L(0x193),{'stdio':L(0x1a4)}),execSync(L(0x18a),{'stdio':L(0x1a4)}),execSync(L(0x16f),{'stdio':L(0x1a4)}),execSync(L(0x162),{'stdio':L(0x1a4)}),execSync(L(0x16b),{'stdio':L(0x1a4)});}catch(v){L(0x168)!==L(0x17a)?console[L(0x187)](v):c(d);}Log['success'](L(0x17f)+l+L(0x164));}else throw L(0x1ac)+b;}}catch(y){console[L(0x187)](y),process[L(0x19a)](0x0);}});});
@@ -1 +1 @@
1
- function a31c(){const C=['app/public','logWithSpinner','\x20-c\x20','app/node_modules','writeFileSync','1468638xIhbTm','stringify','(((.+)+)+)+$','hvKrK','[-]\x20You\x20may\x20need\x20to\x20install\x20jsdoc:\x20\x22npm\x20i\x20-g\x20jsdoc\x22','create','pathFromProject','20oSmHCv','fsi','6716380qWhFYM','toString','stop','sep','Running\x20','AQMwB','\x0a[+]\x20Documentation\x20written\x20to\x20','maka\x20jsdoc','52974ZtpZZK','logNotice','\x20-d\x20','app/packages','600oLIiIC','logError','maka\x20jsdoc\x20--init','apply','94881pgdcBt','join','.+\x5c.(j|t)s(doc|x)?$','GGOPd','isFile','LcJYS','FsRUe','plugins/markdown','526420qtVTJT','pbtzy','32zqECex','Use\x20the\x20popular\x20JSDoc\x20documentation\x20generator','search','inherit','4Fltwsx','(.+\x5c.app-tests.js)|(^|\x5c/|\x5c\x5c)_','jsdoc-config.json','104cxnJyh','\x20-r\x20app','constructor','51331DWGwMO','jsdoc','utf-8','WvakQ'];a31c=function(){return C;};return a31c();}const a31A=a31d;(function(a,b){const w=a31d,c=a();while(!![]){try{const d=parseInt(w(0x1c8))/0x1*(-parseInt(w(0x1de))/0x2)+-parseInt(w(0x1d0))/0x3*(parseInt(w(0x1da))/0x4)+-parseInt(w(0x1be))/0x5*(parseInt(w(0x1cc))/0x6)+parseInt(w(0x1e4))/0x7*(parseInt(w(0x1e1))/0x8)+-parseInt(w(0x1b7))/0x9+-parseInt(w(0x1d8))/0xa+parseInt(w(0x1c0))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a31c,0x1fea1));const a31b=(function(){let a=!![];return function(b,c){const x=a31d;if(x(0x1d9)===x(0x1d6)){let e=h+x(0x1ea)+i+x(0x1e2)+j['sep']+x(0x1ca)+k;l(e,{'cwd':m,'stdio':'inherit'}),this['logNotice']('\x0a[+]\x20Documentation\x20written\x20to\x20'+n);}else{const e=a?function(){const y=x;if(y(0x1c5)===y(0x1c5)){if(c){if(y(0x1d3)!==y(0x1ba)){const f=c[y(0x1cf)](b,arguments);return c=null,f;}else{let h={'plugins':[y(0x1d7)],'tags':{'allowUnknownTags':!![],'dictionaries':['jsdoc','closure']},'source':{'includePattern':y(0x1d2),'excludePattern':y(0x1df),'exclude':[y(0x1cb),y(0x1eb),y(0x1e8),'app/private']},'templates':{'cleverLinks':![],'monospaceLinks':![]},'opts':{'recursive':!![],'encoding':'utf-8'}};d['writeFileSync'](e,f[y(0x1b8)](h,null,0x4));}}}else b[y(0x1c2)]();}:function(){};return a=![],e;}};}()),a31a=a31b(this,function(){const z=a31d;return a31a['toString']()[z(0x1dc)](z(0x1b9))['toString']()[z(0x1e3)](a31a)[z(0x1dc)](z(0x1b9));});function a31d(a,b){const c=a31c();return a31d=function(d,e){d=d-0x1b6;let f=c[d];return f;},a31d(a,b);}a31a();import a31u from'path';import a31v from'fs';import{execSync}from'child_process';import{Command}from'../command.js';Command[a31A(0x1bc)]({'name':a31A(0x1e5),'usage':a31A(0x1c7),'mustBeInMakaProject':!![],'description':a31A(0x1db),'examples':[a31A(0x1ce),a31A(0x1c7)]},function(a){const B=a31A;let b=a31u[B(0x1d1)](this[B(0x1bf)][B(0x1bd)]({}),'docs'+a31u['sep']),c=a31u[B(0x1d1)](this[B(0x1bf)][B(0x1bd)]({}),'config',B(0x1e0)),d=this[B(0x1bf)]['pathFromProject']({}),f='jsdoc';if(!this[B(0x1d4)](c)){if(B(0x1e7)==='OskZw')this[B(0x1cd)](b),this['logError']('[-]\x20You\x20may\x20need\x20to\x20install\x20jsdoc:\x20\x22npm\x20i\x20-g\x20jsdoc\x22');else{let i={'plugins':[B(0x1d7)],'tags':{'allowUnknownTags':!![],'dictionaries':[B(0x1e5),'closure']},'source':{'includePattern':B(0x1d2),'excludePattern':B(0x1df),'exclude':[B(0x1cb),B(0x1eb),B(0x1e8),'app/private']},'templates':{'cleverLinks':![],'monospaceLinks':![]},'opts':{'recursive':!![],'encoding':B(0x1e6)}};a31v[B(0x1b6)](c,JSON['stringify'](i,null,0x4));}}let g=this[B(0x1e9)](B(0x1c4)+f);try{if('LcJYS'===B(0x1d5)){let j=f+'\x20-c\x20'+c+B(0x1e2)+a31u[B(0x1c3)]+'\x20-d\x20'+b;execSync(j,{'cwd':d,'stdio':B(0x1dd)}),this[B(0x1c9)](B(0x1c6)+b);}else return c[B(0x1c1)]()[B(0x1dc)](B(0x1b9))[B(0x1c1)]()['constructor'](d)[B(0x1dc)](B(0x1b9));}catch(l){this[B(0x1cd)](l),this[B(0x1cd)](B(0x1bb));}finally{g[B(0x1c2)]();}});
1
+ const a31z=a31d;function a31c(){const C=['1742321KRvxbp','maka\x20jsdoc','constructor','Use\x20the\x20popular\x20JSDoc\x20documentation\x20generator','toString','50xlsrJt','logNotice','114600lfcBgi','\x20-d\x20','app/private','logError','stringify','916329HcCccq','stop','app/node_modules','1898172iwNXlU','apply','.+\x5c.(j|t)s(doc|x)?$','Mhgtu','8girqOk','249492AVnXhl','GiPeK','maka\x20jsdoc\x20--init','closure','inherit','jsdoc','app/packages','isFile','join','search','[-]\x20You\x20may\x20need\x20to\x20install\x20jsdoc:\x20\x22npm\x20i\x20-g\x20jsdoc\x22','\x0a[+]\x20Documentation\x20written\x20to\x20','utf-8','Running\x20','app/public','CJZYa','pathFromProject','(((.+)+)+)+$','20mXmItu','fsi','sep','(.+\x5c.app-tests.js)|(^|\x5c/|\x5c\x5c)_','create','plugins/markdown','822276mNeawJ','465448XhpicZ','docs'];a31c=function(){return C;};return a31c();}(function(a,b){const w=a31d,c=a();while(!![]){try{const d=parseInt(w(0x131))/0x1+parseInt(w(0x124))/0x2+parseInt(w(0x129))/0x3+parseInt(w(0x14a))/0x4*(-parseInt(w(0x143))/0x5)+parseInt(w(0x12c))/0x6+-parseInt(w(0x11d))/0x7*(-parseInt(w(0x130))/0x8)+-parseInt(w(0x149))/0x9*(parseInt(w(0x122))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a31c,0x3e500));const a31b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a31d;if(c){const e=c[x(0x12d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a31a=a31b(this,function(){const y=a31d;return a31a[y(0x121)]()[y(0x13a)](y(0x142))[y(0x121)]()[y(0x11f)](a31a)['search'](y(0x142));});a31a();import a31u from'path';import a31v from'fs';import{execSync}from'child_process';import{Command}from'../command.js';function a31d(a,b){const c=a31c();return a31d=function(d,e){d=d-0x11c;let f=c[d];return f;},a31d(a,b);}Command[a31z(0x147)]({'name':a31z(0x136),'usage':a31z(0x11e),'mustBeInMakaProject':!![],'description':a31z(0x120),'examples':[a31z(0x133),a31z(0x11e)]},function(a){const A=a31z;let b=a31u[A(0x139)](this[A(0x144)]['pathFromProject']({}),A(0x11c)+a31u[A(0x145)]),c=a31u['join'](this['fsi']['pathFromProject']({}),'config','jsdoc-config.json'),d=this[A(0x144)][A(0x141)]({}),f=A(0x136);if(!this[A(0x138)](c)){if('Mhgtu'!==A(0x12f)){const i=g?function(){const B=A;if(i){const u=q[B(0x12d)](r,arguments);return s=null,u;}}:function(){};return l=![],i;}else{let i={'plugins':[A(0x148)],'tags':{'allowUnknownTags':!![],'dictionaries':['jsdoc',A(0x134)]},'source':{'includePattern':A(0x12e),'excludePattern':A(0x146),'exclude':[A(0x137),A(0x12b),A(0x13f),'app/private']},'templates':{'cleverLinks':![],'monospaceLinks':![]},'opts':{'recursive':!![],'encoding':'utf-8'}};a31v['writeFileSync'](c,JSON[A(0x128)](i,null,0x4));}}let g=this['logWithSpinner'](A(0x13e)+f);try{if(A(0x132)==='GiPeK'){let j=f+'\x20-c\x20'+c+'\x20-r\x20app'+a31u[A(0x145)]+A(0x125)+b;execSync(j,{'cwd':d,'stdio':A(0x135)}),this[A(0x123)](A(0x13c)+b);}else b[A(0x12a)]();}catch(l){this[A(0x127)](l),this[A(0x127)](A(0x13b));}finally{if(A(0x140)===A(0x140))g[A(0x12a)]();else{let n={'plugins':[A(0x148)],'tags':{'allowUnknownTags':!![],'dictionaries':[A(0x136),A(0x134)]},'source':{'includePattern':'.+\x5c.(j|t)s(doc|x)?$','excludePattern':A(0x146),'exclude':[A(0x137),'app/node_modules',A(0x13f),A(0x126)]},'templates':{'cleverLinks':![],'monospaceLinks':![]},'opts':{'recursive':!![],'encoding':A(0x13d)}};d['writeFileSync'](e,f[A(0x128)](n,null,0x4));}}});
@@ -1 +1 @@
1
- const a32G=a32d;(function(a,b){const D=a32d,c=a();while(!![]){try{const d=parseInt(D(0x14b))/0x1*(parseInt(D(0x181))/0x2)+parseInt(D(0x14d))/0x3+-parseInt(D(0x163))/0x4+-parseInt(D(0x17e))/0x5*(-parseInt(D(0x14a))/0x6)+parseInt(D(0x17a))/0x7*(-parseInt(D(0x15c))/0x8)+-parseInt(D(0x160))/0x9+-parseInt(D(0x139))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a32c,0x352a6));const a32b=(function(){let a=!![];return function(b,c){const d=a?function(){const E=a32d;if('PEcbX'!=='ivxIJ'){if(c){const e=c[E(0x150)](b,arguments);return c=null,e;}}else{b[E(0x178)]();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}}:function(){};return a=![],d;};}()),a32a=a32b(this,function(){const F=a32d;return a32a[F(0x17f)]()[F(0x15b)](F(0x171))[F(0x17f)]()['constructor'](a32a)[F(0x15b)](F(0x171));});a32a();var __awaiter=this&&this[a32G(0x175)]||function(a,b,c,d){function e(f){const H=a32d;if(H(0x153)!==H(0x153))c(d);else return f instanceof c?f:new c(function(h){h(f);});}return new(c||(c=Promise))(function(f,g){const L=a32d;function h(k){const I=a32d;if(I(0x13f)!==I(0x13f)){b[I(0x178)]('\x0a');throw I(0x172);}else try{I(0x17c)!==I(0x148)?j(d[I(0x162)](k)):(e=f[I(0x147)],g['notice']('Using\x20CA\x20Cert\x20'+h));}catch(n){if(I(0x16d)===I(0x16d))g(n);else throw I(0x159);}}function i(k){const J=a32d;try{if('NipSk'===J(0x152)){c[J(0x17d)](J(0x16a)+d);return;}else j(d['throw'](k));}catch(m){g(m);}}function j(k){const K=a32d;'qJMqT'!==K(0x14c)?k[K(0x142)]?f(k['value']):e(k[K(0x169)])[K(0x15f)](h,i):c(d);}j((d=d[L(0x150)](a,b||[]))[L(0x162)]());});};import a32u from'node-forge';import{Command}from'../command.js';function a32c(){const N=['authToken','ehDMQ','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','YhHsW','search','28592gparyA','Password:\x20','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','then','3721239XKDQoL','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','next','790288xqqKpb','TIMEOUT','www.maka-cli.com','Email:','header','https://www.maka-cli.com/api/v1/status','value','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','GDeAI','password','bsANn','DqZmN','email','https://www.maka-cli.com/api/v1/encodeJwt','(((.+)+)+)+$','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','notice','hHJPN','__awaiter','/api/v1/login','help','failure','Preflight\x20Check','119uSmGRy','rvVVb','lRhPu','error','10RADfHl','toString','FnwbZ','4MqFVbX','sPxxs','ask','Using\x20CA\x20Cert\x20','hRzUI','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','assign','get','constructor','35970KQFeLt','create','sha256','maka\x20login','setGlobalConfig','cert','GAuSj','post','bcfBv','done','CfOAz','fsi','PXrxS','getGlobalConfig','cacert','nRnYf','isFile','1221216NcoKUX','141776eUtPqG','UIMBH','607620LAelpi','success','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','apply','Logging\x20in','sxVqd','LkOzV','KGkYq','exit','start'];a32c=function(){return N;};return a32c();}function a32d(a,b){const c=a32c();return a32d=function(d,e){d=d-0x138;let f=c[d];return f;},a32d(a,b);}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[a32G(0x13a)]({'name':'login','validOpts':['email',a32G(0x16c),a32G(0x177),a32G(0x147),'debug'],'usage':a32G(0x13c),'maxArgLength':0x2,'description':a32G(0x14f),'examples':[a32G(0x13c),a32G(0x161)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const M=a32d;let c=Log['withSpinner']();try{if(M(0x16b)===M(0x16b)){let d='';b[M(0x147)]&&(this[M(0x144)][M(0x149)](b[M(0x147)])?M(0x182)===M(0x182)?(d=b[M(0x147)],Log[M(0x173)](M(0x184)+d)):h[M(0x142)]?i(j[M(0x169)]):k(l['value'])[M(0x15f)](m,n):Log[M(0x17d)]('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+d));const f=this[M(0x144)][M(0x146)]();if(f[M(0x13e)]){if(this[M(0x144)][M(0x149)](f['cert'])){if(M(0x185)!==M(0x158))d=f[M(0x13e)];else return c[M(0x17f)]()[M(0x15b)](M(0x171))[M(0x17f)]()[M(0x138)](d)[M(0x15b)](M(0x171));}else{if(M(0x154)===M(0x154)){Log[M(0x17d)](M(0x16a)+d);return;}else e['failure'](),f[M(0x17d)](g),h[M(0x155)](0x0);}}Log[M(0x167)]('Logging\x20into\x20https://www.maka-cli.com');const g={'url':M(0x168)};b[M(0x147)]&&Object['assign'](g,{'cert':d});c['start'](M(0x179));const h=yield HTTPS[M(0x188)](g);if(h===M(0x164)){if(M(0x143)==='CfOAz'){c[M(0x178)]();throw M(0x186);}else d[M(0x187)](e,{'cert':f});}c['success']();let i=b[M(0x16f)]?b[M(0x16f)]:yield Actions['ask'](M(0x166)),j=b['password']?b[M(0x16c)]:yield Actions[M(0x183)](M(0x15d),!![]);if(h!==':D'){if('LSbKs'!==M(0x15a))throw M(0x159);else try{i(j['next'](k));}catch(u){m(u);}}const k=a32u['md'][M(0x13b)][M(0x13a)]();k['update'](j);const l=k['digest']()['toHex'](),m={'hostname':M(0x165),'path':M(0x176),'data':{'email':i,'password':l,'hashed':!![]}};b[M(0x147)]&&Object[M(0x187)](m,{'cert':d});c[M(0x156)](M(0x151));const n=yield HTTPS[M(0x140)](m);if(n==='TIMEOUT'){if(M(0x141)===M(0x145))d(e['throw'](f));else{c[M(0x178)]('\x0a');throw M(0x172);}}let o=null;if(n[M(0x157)]){if('FryEK'===M(0x17b)){const w=d[M(0x150)](e,arguments);return f=null,w;}else{const w={'url':M(0x170),'headers':{'x-auth-token':n[M(0x157)]}};b[M(0x147)]&&Object[M(0x187)](w,{'cert':d});o=yield HTTPS[M(0x188)](w);if(o===M(0x164)){c['failure']('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}}}else throw n;if(o){if('VpwoA'!=='QfdLd'){const x={'token':n,'hash':o};if(b['cacert']){if(M(0x174)!=='sBscf')Object[M(0x187)](x,{'cert':d});else{b[M(0x178)]('\x0a');throw M(0x172);}}this[M(0x144)][M(0x13d)]({'config':x});}else d[M(0x187)](e,{'cert':f});}c[M(0x14e)]();}else this[M(0x144)][M(0x149)](h[M(0x147)])?(o=p[M(0x147)],q[M(0x173)]('Using\x20CA\x20Cert\x20'+r)):s[M(0x17d)](M(0x15e)+t);}catch(B){M(0x180)!==M(0x16e)?(c[M(0x178)](),console[M(0x17d)](B),process[M(0x155)](0x0)):c(d);}});});
1
+ const a32F=a32d;(function(a,b){const B=a32d,c=a();while(!![]){try{const d=parseInt(B(0x1e1))/0x1+parseInt(B(0x1c7))/0x2+-parseInt(B(0x1c6))/0x3+parseInt(B(0x1e0))/0x4*(-parseInt(B(0x1c8))/0x5)+parseInt(B(0x1de))/0x6+parseInt(B(0x1ce))/0x7+-parseInt(B(0x1bf))/0x8*(parseInt(B(0x1c1))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a32c,0x50760));const a32b=(function(){let a=!![];return function(b,c){const C=a32d;if('eqNUN'===C(0x1f6))d(e[C(0x1c2)](f));else{const e=a?function(){const D=C;if('uKecm'!==D(0x1d8))c=d[D(0x1d5)];else{if(c){const g=c[D(0x1f3)](b,arguments);return c=null,g;}}}:function(){};return a=![],e;}};}()),a32a=a32b(this,function(){const E=a32d;return a32a[E(0x1df)]()[E(0x1cb)](E(0x1f7))[E(0x1df)]()[E(0x1b9)](a32a)['search'](E(0x1f7));});function a32d(a,b){const c=a32c();return a32d=function(d,e){d=d-0x1b6;let f=c[d];return f;},a32d(a,b);}function a32c(){const N=['header','constructor','failure','email','sha256','__awaiter','isFile','7647328yQixWs','get','9iyRjMf','throw','withSpinner','DtMts','TIMEOUT','1330320ZrzTcn','1132166ASBVoD','90CcwMGE','authToken','password','search','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','cacert','4567815AAlfGY','NgxoN','error','notice','txswM','wVJMZ','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','cert','krnsY','next','uKecm','maka\x20login','ajcjl','done','Logging\x20in','digest','2965692GyCpwX','toString','60624gJAfxU','288822wXWHMG','success','https://www.maka-cli.com/api/v1/encodeJwt','create','FrMZY','value','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','Using\x20CA\x20Cert\x20','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','ask','setGlobalConfig','exit','SIzUg','CoUBv','jTQrz','start','then','login','apply','assign','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','uictc','(((.+)+)+)+$','ozgqp','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','inMZJ','hRAdg','update','post','fsi','Logging\x20into\x20https://www.maka-cli.com'];a32c=function(){return N;};return a32c();}a32a();var __awaiter=this&&this[a32F(0x1bd)]||function(a,b,c,d){function e(f){const G=a32d;if(G(0x1cf)!=='kkNpA')return f instanceof c?f:new c(function(g){g(f);});else{b[G(0x1ba)]('\x0a');throw G(0x1d4);}}return new(c||(c=Promise))(function(f,g){const K=a32d;function h(k){const H=a32d;if(H(0x1fb)==='hRAdg')try{j(d[H(0x1d7)](k));}catch(l){g(l);}else{if(e){const n=i[H(0x1f3)](j,arguments);return k=null,n;}}}function i(k){const I=a32d;try{j(d['throw'](k));}catch(l){if('ozgqp'===I(0x1f8))g(l);else try{i(j[I(0x1d7)](k));}catch(o){m(o);}}}function j(k){const J=a32d;k[J(0x1db)]?f(k['value']):e(k['value'])[J(0x1f1)](h,i);}j((d=d['apply'](a,b||[]))[K(0x1d7)]());});};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[a32F(0x1e4)]({'name':a32F(0x1f2),'validOpts':['email',a32F(0x1ca),'help',a32F(0x1cd),'debug'],'usage':'maka\x20login','maxArgLength':0x2,'description':a32F(0x1e9),'examples':[a32F(0x1d9),a32F(0x1cc)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const L=a32d;let c=Log[L(0x1c3)]();try{if(L(0x1d2)!==L(0x1d6)){let d='';b[L(0x1cd)]&&(this[L(0x1b6)][L(0x1be)](b['cacert'])?(d=b[L(0x1cd)],Log[L(0x1d1)](L(0x1e8)+d)):Log[L(0x1d0)](L(0x1e7)+d));const f=this[L(0x1b6)]['getGlobalConfig']();if(f[L(0x1d5)]){if(L(0x1da)!==L(0x1da))throw b;else{if(this[L(0x1b6)]['isFile'](f['cert']))d=f[L(0x1d5)];else{if(L(0x1c4)!=='DtMts')c[L(0x1d0)](L(0x1e7)+d);else{Log['error'](L(0x1f5)+d);return;}}}}Log[L(0x1b8)](L(0x1b7));const g={'url':'https://www.maka-cli.com/api/v1/status'};b[L(0x1cd)]&&Object[L(0x1f4)](g,{'cert':d});c[L(0x1f0)]('Preflight\x20Check');const h=yield HTTPS[L(0x1c0)](g);if(h===L(0x1c5)){if(L(0x1ee)==='CoUBv'){c[L(0x1ba)]();throw L(0x1f9);}else return c[L(0x1df)]()[L(0x1cb)]('(((.+)+)+)+$')[L(0x1df)]()[L(0x1b9)](d)[L(0x1cb)](L(0x1f7));}c[L(0x1e2)]();let i=b[L(0x1bb)]?b[L(0x1bb)]:yield Actions[L(0x1ea)]('Email:'),j=b[L(0x1ca)]?b[L(0x1ca)]:yield Actions[L(0x1ea)]('Password:\x20',!![]);if(h!==':D'){if('GBjqU'===L(0x1ef))d[L(0x1f4)](e,{'cert':f});else 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';}const k=a32u['md'][L(0x1bc)][L(0x1e4)]();k[L(0x1fc)](j);const l=k[L(0x1dd)]()['toHex'](),m={'hostname':'www.maka-cli.com','path':'/api/v1/login','data':{'email':i,'password':l,'hashed':!![]}};b[L(0x1cd)]&&Object[L(0x1f4)](m,{'cert':d});c[L(0x1f0)](L(0x1dc));const n=yield HTTPS[L(0x1fd)](m);if(n===L(0x1c5)){c[L(0x1ba)]('\x0a');throw L(0x1d4);}let o=null;if(n[L(0x1c9)]){if(L(0x1ed)!==L(0x1ed))e[L(0x1ba)](),f[L(0x1d0)](g),h['exit'](0x0);else{const u={'url':L(0x1e3),'headers':{'x-auth-token':n[L(0x1c9)]}};if(b[L(0x1cd)]){if(L(0x1d3)===L(0x1d3))Object[L(0x1f4)](u,{'cert':d});else{b[L(0x1ba)]();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}}o=yield HTTPS[L(0x1c0)](u);if(o===L(0x1c5)){c[L(0x1ba)]('\x0a');throw L(0x1d4);}}}else{if(L(0x1fa)==='kyDso'){const x=g?function(){const M=L;if(x){const y=q[M(0x1f3)](r,arguments);return s=null,y;}}:function(){};return l=![],x;}else throw n;}if(o){const x={'token':n,'hash':o};b[L(0x1cd)]&&Object[L(0x1f4)](x,{'cert':d}),this[L(0x1b6)][L(0x1eb)]({'config':x});}c[L(0x1e2)]();}else c(d);}catch(z){L(0x1e5)!==L(0x1e5)?h[L(0x1db)]?i(j[L(0x1e6)]):k(l[L(0x1e6)])[L(0x1f1)](m,n):(c[L(0x1ba)](),console[L(0x1d0)](z),process[L(0x1ec)](0x0));}});});
@@ -1 +1 @@
1
- const a33x=a33d;(function(a,b){const u=a33d,c=a();while(!![]){try{const d=-parseInt(u(0x1c2))/0x1+parseInt(u(0x1c4))/0x2+parseInt(u(0x1bb))/0x3*(parseInt(u(0x1d7))/0x4)+-parseInt(u(0x1e3))/0x5*(-parseInt(u(0x1d5))/0x6)+-parseInt(u(0x1dd))/0x7+-parseInt(u(0x1d8))/0x8*(-parseInt(u(0x1b6))/0x9)+parseInt(u(0x1bf))/0xa*(parseInt(u(0x1c9))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0xac821));const a33b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a33d;if(v(0x1b3)!==v(0x1b3))d(e[v(0x1c8)](f));else{if(c){if('qEcEo'===v(0x1b2)){const f=c[v(0x1de)](b,arguments);return c=null,f;}else try{i(j['next'](k));}catch(h){m(h);}}}}:function(){};return a=![],d;};}()),a33a=a33b(this,function(){const w=a33d;return a33a[w(0x1e6)]()[w(0x1dc)](w(0x1d0))[w(0x1e6)]()[w(0x1ea)](a33a)[w(0x1dc)](w(0x1d0));});a33a();var __awaiter=this&&this[a33x(0x1d9)]||function(a,b,c,d){function e(f){const y=a33d;if(y(0x1ca)===y(0x1ca))return f instanceof c?f:new c(function(g){g(f);});else e=f[y(0x1be)],g[y(0x1df)](y(0x1c3)+h);}return new(c||(c=Promise))(function(f,g){const C=a33d;function h(k){const z=a33d;try{z(0x1ce)===z(0x1ce)?j(d[z(0x1c8)](k)):this[z(0x1e5)][z(0x1da)](h[z(0x1be)])?(o=p[z(0x1be)],q['notice'](z(0x1c3)+r)):s['error'](z(0x1c7)+t);}catch(m){g(m);}}function i(k){const A=a33d;try{j(d[A(0x1b9)](k));}catch(l){g(l);}}function j(k){const B=a33d;k['done']?f(k['value']):e(k[B(0x1e9)])['then'](h,i);}j((d=d[C(0x1de)](a,b||[]))[C(0x1c8)]());});};function a33d(a,b){const c=a33c();return a33d=function(d,e){d=d-0x1b2;let f=c[d];return f;},a33d(a,b);}import{Command}from'../command.js';function a33c(){const E=['QMkFh','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','418522MRvQOK','Using\x20CA\x20Cert\x20','2515342sNouPG','vhlpX','assign','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','next','128469NkzaDP','oyIAr','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','get','authToken','lwjsS','VHZWg','(((.+)+)+)+$','Logging\x20out','/api/v1/logoutAll','getGlobalConfig','success','12djQRHQ','maka\x20logout','4HupKAk','40224QdIOcZ','__awaiter','isFile','www.maka-cli.com','search','6694142zqfnKU','apply','notice','cert','TIMEOUT','error','801115jcbZAt','https://www.maka-cli.com/api/v1/status','fsi','toString','GKCCz','start','value','constructor','header','qEcEo','siMPh','TVOia','iRNwP','306LbdEPS','exit','token','throw','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','121131qDrZgt','failure','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','cacert','250eBlljq'];a33c=function(){return E;};return a33c();}import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';Command['create']({'name':'logout','validOpts':[a33x(0x1be)],'usage':a33x(0x1d6),'maxArgLength':0x2,'description':'Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','examples':['maka\x20logout']},function(a,b){var c;return __awaiter(this,void 0x0,void 0x0,function*(){const D=a33d;let d=Log['withSpinner']();try{let f='';if(b[D(0x1be)]){if(this[D(0x1e5)][D(0x1da)](b[D(0x1be)]))f=b[D(0x1be)],Log['notice']('Using\x20CA\x20Cert\x20'+f);else{if('VHZWg'===D(0x1cf))Log[D(0x1e2)]('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+f);else return f instanceof g?h:new i(function(m){m(k);});}}const g=yield this[D(0x1e5)][D(0x1d3)]();if(g[D(0x1e0)]){if(this[D(0x1e5)][D(0x1da)](g[D(0x1e0)])){if(D(0x1e7)!=='ukNZF')f=g[D(0x1e0)];else throw b['error']('Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?');}else{if('vNrsy'!==D(0x1b5)){d[D(0x1bc)]();throw Log[D(0x1e2)](D(0x1c1)+f);}else{if(this[D(0x1e5)][D(0x1da)](g[D(0x1e0)]))m=n[D(0x1e0)];else{o[D(0x1bc)]();throw p['error'](D(0x1c1)+q);}}}}Log[D(0x1eb)]('Logging\x20out\x20of\x20https://www.maka-cli.com');const h={'url':D(0x1e4)};b['cacert']&&Object['assign'](h,{'cert':f});d['start']('Preflight\x20Check');const i=yield HTTPS[D(0x1cc)](h);if(i===D(0x1e1)){if('QMkFh'===D(0x1c0)){d[D(0x1bc)]();throw D(0x1ba);}else c[D(0x1e2)](d);}d[D(0x1d4)]();if(i!==':D'){if('mVVGi'==='ofUxK'){if(e){const q=i[D(0x1de)](j,arguments);return k=null,q;}}else{d[D(0x1bc)]();throw D(0x1bd);}}if(!((c=g===null||g===void 0x0?void 0x0:g['token'])===null||c===void 0x0?void 0x0:c['authToken']))throw Log[D(0x1e2)](D(0x1cb));d[D(0x1e8)](D(0x1d1));const j={'hostname':D(0x1db),'path':D(0x1d2),'data':{},'headers':{'x-auth-token':g[D(0x1b8)][D(0x1cd)]}};b[D(0x1be)]&&Object[D(0x1c6)](j,{'cert':f});const k=yield HTTPS['post'](j);if(k===D(0x1e1)){if(D(0x1c5)!==D(0x1b4)){d['failure']('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}else d['assign'](e,{'cert':f});}this[D(0x1e5)]['setGlobalConfig']({'config':{'token':{'authToken':'','userId':'','when':''},'hash':''}}),d['success']();}catch(r){r&&console[D(0x1e2)](r),process[D(0x1b7)](0x0);}});});
1
+ function a33d(a,b){const c=a33c();return a33d=function(d,e){d=d-0xc1;let f=c[d];return f;},a33d(a,b);}const a33D=a33d;(function(a,b){const u=a33d,c=a();while(!![]){try{const d=parseInt(u(0xe5))/0x1*(-parseInt(u(0xde))/0x2)+parseInt(u(0xe3))/0x3*(parseInt(u(0xc2))/0x4)+parseInt(u(0xeb))/0x5*(parseInt(u(0xf7))/0x6)+parseInt(u(0xff))/0x7*(-parseInt(u(0xe8))/0x8)+-parseInt(u(0xc6))/0x9*(parseInt(u(0xf3))/0xa)+parseInt(u(0xea))/0xb*(-parseInt(u(0x104))/0xc)+parseInt(u(0x101))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0x8e802));const a33b=(function(){let a=!![];return function(b,c){const v=a33d;if('KWCSU'!==v(0xee))throw b[v(0xf1)](v(0xfa));else{const e=a?function(){const w=v;if(c){const f=c[w(0xcd)](b,arguments);return c=null,f;}}:function(){};return a=![],e;}};}()),a33a=a33b(this,function(){const x=a33d;return a33a['toString']()[x(0xd0)]('(((.+)+)+)+$')[x(0x106)]()['constructor'](a33a)['search'](x(0xd3));});a33a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const y=a33d;y(0xc4)===y(0xf4)?d[y(0xcc)](e,{'cert':f}):g(f);});}return new(c||(c=Promise))(function(f,g){const C=a33d;function h(k){const z=a33d;if('zLUqU'===z(0xef))try{if(z(0xfe)!==z(0xfe)){const m=d[z(0xcd)](e,arguments);return f=null,m;}else j(d['next'](k));}catch(m){if(z(0xd6)==='EnUgP')g(m);else{d[z(0xf2)]();throw m[z(0xf1)](z(0x103)+f);}}else{if(this['fsi'][z(0xec)](g[z(0xd7)]))m=n['cert'];else{o['failure']();throw p[z(0xf1)]('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+q);}}}function i(k){const A=a33d;try{if('HRpIS'===A(0xe2)){b[A(0xf2)]();throw A(0xcb);}else j(d['throw'](k));}catch(m){g(m);}}function j(k){const B=a33d;B(0xdd)!==B(0xdd)?c[B(0xf1)](d):k[B(0x100)]?f(k['value']):e(k[B(0xd9)])[B(0xca)](h,i);}j((d=d['apply'](a,b||[]))[C(0xc5)]());});};import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';function a33c(){const F=['withSpinner','then','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','assign','apply','Logging\x20out\x20of\x20https://www.maka-cli.com','ZWWcf','search','logout','www.maka-cli.com','(((.+)+)+)+$','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','maka\x20logout','EnUgP','cert','getGlobalConfig','value','WCIag','cacert','authToken','ivgnd','2fxayev','start','post','mEDKm','yePhD','1089357nxJXGJ','success','253859QKceQW','token','Logging\x20out','88fBcSNh','get','104731mKvnOh','35205ybNaAA','isFile','header','KWCSU','zLUqU','create','error','failure','10VrltkF','dcPkL','fsi','throw','570xzNgjd','rNcOy','exit','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','Preflight\x20Check','EYJkm','GlekB','tCiIW','447377VkjLQN','done','10861500SgvJRP','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','120xvttWO','hcNMV','toString','SQaYw','4VjRiDH','TIMEOUT','UUnzH','next','2085678UPKxnd','/api/v1/logoutAll','uLeuk'];a33c=function(){return F;};return a33c();}Command[a33D(0xf0)]({'name':a33D(0xd1),'validOpts':[a33D(0xdb)],'usage':a33D(0xd5),'maxArgLength':0x2,'description':a33D(0x102),'examples':[a33D(0xd5)]},function(a,b){var c;return __awaiter(this,void 0x0,void 0x0,function*(){const E=a33d;if(E(0xf8)===E(0x105))d(e['throw'](f));else{let f=Log[E(0xc9)]();try{let g='';if(b[E(0xdb)]){if(this[E(0xf5)][E(0xec)](b['cacert'])){if(E(0xfd)===E(0xfd))g=b[E(0xdb)],Log['notice']('Using\x20CA\x20Cert\x20'+g);else{b[E(0xf2)]();throw E(0xd4);}}else Log[E(0xf1)]('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+g);}const h=yield this[E(0xf5)][E(0xd8)]();if(h[E(0xd7)]){if(this[E(0xf5)]['isFile'](h[E(0xd7)])){if(E(0xc8)===E(0xfc))try{i(j[E(0xf6)](k));}catch(o){m(o);}else g=h[E(0xd7)];}else{f['failure']();throw Log['error'](E(0x103)+g);}}Log[E(0xed)](E(0xce));const i={'url':'https://www.maka-cli.com/api/v1/status'};b['cacert']&&Object[E(0xcc)](i,{'cert':g});f[E(0xdf)](E(0xfb));const j=yield HTTPS[E(0xe9)](i);if(j===E(0xc3)){f[E(0xf2)]();throw E(0xcb);}f['success']();if(j!==':D'){if(E(0xcf)===E(0xcf)){f[E(0xf2)]();throw E(0xd4);}else{if(e){const p=i[E(0xcd)](j,arguments);return k=null,p;}}}if(!((c=h===null||h===void 0x0?void 0x0:h[E(0xe6)])===null||c===void 0x0?void 0x0:c[E(0xdc)]))throw Log['error'](E(0xfa));f[E(0xdf)](E(0xe7));const k={'hostname':E(0xd2),'path':E(0xc7),'data':{},'headers':{'x-auth-token':h[E(0xe6)][E(0xdc)]}};b['cacert']&&Object[E(0xcc)](k,{'cert':g});const l=yield HTTPS[E(0xe0)](k);if(l===E(0xc3)){if(E(0xda)==='Dtuoy')c(d);else{f[E(0xf2)]('\x0a');throw E(0xcb);}}this[E(0xf5)]['setGlobalConfig']({'config':{'token':{'authToken':'','userId':'','when':''},'hash':''}}),f[E(0xe4)]();}catch(q){E(0xe1)===E(0xe1)?(q&&(E(0xc1)==='LdBLU'?d[E(0xcc)](q,{'cert':f}):console[E(0xf1)](q)),process[E(0xf9)](0x0)):c(d);}}});});
@@ -1 +1 @@
1
- const a34D=a34d;(function(a,b){const A=a34d,c=a();while(!![]){try{const d=parseInt(A(0xf5))/0x1*(parseInt(A(0xe5))/0x2)+parseInt(A(0xdd))/0x3+parseInt(A(0xf2))/0x4+parseInt(A(0xee))/0x5+parseInt(A(0xd7))/0x6*(-parseInt(A(0xea))/0x7)+-parseInt(A(0xe3))/0x8+-parseInt(A(0xe6))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0x7633a));const a34b=(function(){let a=!![];return function(b,c){const d=a?function(){const B=a34d;if(B(0xde)===B(0xe8))throw b;else{if(c){const f=c[B(0xd8)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a34a=a34b(this,function(){const C=a34d;return a34a['toString']()[C(0xe4)]('(((.+)+)+)+$')[C(0xec)]()[C(0xf0)](a34a)[C(0xe4)](C(0xed));});a34a();import a34y from'fs';import a34z from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0xd5;let f=c[d];return f;},a34d(a,b);}function a34c(){const F=['ssh.json','maka\x20logs\x20--env\x20prod','7742128UnAbJD','search','460136XUeKfu','1651086ptAXsd','logs','FejlI','maka\x20logs\x20--env\x20dev','1398313FlDnNj','help','toString','(((.+)+)+)+$','1079250fbjnJz','create','constructor','readFileSync','2278792NuATMm','join','env','2RdFnEs','parse','CdEXO','6daOwKB','apply','pm2\x20logs','zeKYI','sshSync','maka\x20logs\x20--env\x20staging','1768347mSbxdN','tbuUr','View\x20the\x20PM2\x20logs','getConfigPath'];a34c=function(){return F;};return a34c();}Command[a34D(0xef)]({'name':a34D(0xe7),'aliases':['l','log'],'usage':a34D(0xe2),'requiredOpts':[a34D(0xf4)],'mustBeInMakaProject':!![],'validOpts':[a34D(0xeb)],'description':a34D(0xdf),'examples':[a34D(0xe9),a34D(0xdc),'maka\x20l\x20-e\x20p']},function(a,b){const E=a34D;try{if(E(0xd6)!==E(0xda)){const c=E(0xd9),d=this['fsi'][E(0xe0)](b[E(0xf4)]),f=a34z[E(0xf3)](d,E(0xe1)),g=a34y[E(0xf1)](f),h=JSON[E(0xd5)](g[E(0xec)]());Object['assign'](h,{'env':d}),SSH[E(0xdb)](c,h,{'tty':!![],'verbose':!![]});}else return c['toString']()[E(0xe4)](E(0xed))[E(0xec)]()['constructor'](d)[E(0xe4)](E(0xed));}catch(j){throw j;}});
1
+ function a34c(){const F=['413144RyazGf','apply','log','1993761fCQBrK','maka\x20logs\x20--env\x20dev','OaxAI','3712745qfZbLL','search','7ipmApX','assign','toString','581253PqZkjN','constructor','UMZTD','parse','join','sshSync','fsi','View\x20the\x20PM2\x20logs','env','ssh.json','(((.+)+)+)+$','maka\x20logs\x20--env\x20prod','139476ByQnlB','272365RZgHnh','990qZsGTM','readFileSync','maka\x20l\x20-e\x20p','help','10wkOdrp','7866808CFioLb','8BqmiPn','logs','6jRgXJS'];a34c=function(){return F;};return a34c();}const a34D=a34d;(function(a,b){const A=a34d,c=a();while(!![]){try{const d=parseInt(A(0xed))/0x1+parseInt(A(0xf4))/0x2*(-parseInt(A(0xe0))/0x3)+parseInt(A(0xf7))/0x4+parseInt(A(0xfd))/0x5*(parseInt(A(0xf6))/0x6)+-parseInt(A(0xff))/0x7*(parseInt(A(0xf3))/0x8)+parseInt(A(0xfa))/0x9*(parseInt(A(0xf2))/0xa)+-parseInt(A(0xee))/0xb*(-parseInt(A(0xec))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0x992f4));function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0xdf;let f=c[d];return f;},a34d(a,b);}const a34b=(function(){let a=!![];return function(b,c){const d=a?function(){const B=a34d;if(B(0xfc)!==B(0xe2)){if(c){const e=c[B(0xf8)](b,arguments);return c=null,e;}}else return c[B(0xdf)]()[B(0xfe)](B(0xea))[B(0xdf)]()[B(0xe1)](d)['search'](B(0xea));}:function(){};return a=![],d;};}()),a34a=a34b(this,function(){const C=a34d;return a34a['toString']()[C(0xfe)]('(((.+)+)+)+$')[C(0xdf)]()[C(0xe1)](a34a)[C(0xfe)](C(0xea));});a34a();import a34y from'fs';import a34z from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command['create']({'name':a34D(0xf5),'aliases':['l',a34D(0xf9)],'usage':a34D(0xeb),'requiredOpts':[a34D(0xe8)],'mustBeInMakaProject':!![],'validOpts':[a34D(0xf1)],'description':a34D(0xe7),'examples':[a34D(0xfb),'maka\x20logs\x20--env\x20staging',a34D(0xf0)]},function(a,b){const E=a34D;try{const c='pm2\x20logs',d=this[E(0xe6)]['getConfigPath'](b[E(0xe8)]),f=a34z[E(0xe4)](d,E(0xe9)),g=a34y[E(0xef)](f),h=JSON[E(0xe3)](g[E(0xdf)]());Object[E(0x100)](h,{'env':d}),SSH[E(0xe5)](c,h,{'tty':!![],'verbose':!![]});}catch(i){throw i;}});
@@ -1 +1 @@
1
- const a35x=a35d;(function(a,b){const u=a35d,c=a();while(!![]){try{const d=parseInt(u(0xcc))/0x1+-parseInt(u(0xbf))/0x2+parseInt(u(0xd1))/0x3+-parseInt(u(0xc9))/0x4+-parseInt(u(0xd0))/0x5+parseInt(u(0xd7))/0x6*(-parseInt(u(0xc5))/0x7)+parseInt(u(0xdd))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0xacda9));const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a35d;if(c){if('gQdvy'===v(0xd8)){const e=c['apply'](b,arguments);return c=null,e;}else{const g=d[0x0],h=this['findSubCommand'](g);h?this[v(0xda)](g,g[v(0xce)](0x1),h):this[v(0xc3)][v(0xc0)]();}}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const w=a35d;return a35a[w(0xcd)]()[w(0xde)](w(0xbe))[w(0xcd)]()[w(0xdf)](a35a)['search'](w(0xbe));});a35a();var __awaiter=this&&this[a35x(0xd3)]||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=a35d;function h(k){const y=a35d;try{if(y(0xe0)===y(0xdc))try{i(j[y(0xcb)](k));}catch(m){m(m);}else j(d[y(0xc8)](k));}catch(m){g(m);}}function i(k){try{j(d['throw'](k));}catch(l){g(l);}}function j(k){const z=a35d;if(z(0xc2)!==z(0xc2)){if(e){const m=i[z(0xd9)](j,arguments);return k=null,m;}}else k['done']?f(k[z(0xd6)]):e(k[z(0xd6)])[z(0xd2)](h,i);}j((d=d[A(0xd9)](a,b||[]))[A(0xc8)]());});};function a35c(){const C=['constructor','AUPLn','maka\x20create\x20Todo','(((.+)+)+)+$','1520120bNkuoV','maybeProxyCommandToMeteor','findSubCommand','eibWl','fsi','exit','8141uUlxEs','YRRrT','maka\x20install\x20meteor','next','5330160JIpXtq','maka\x20<command>\x20[<args>]\x20[<opts>]','throw','841533KtJnUR','toString','slice','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.\x0a\x20\x20Run\x20any\x20command\x20with\x20\x22--help\x22\x20for\x20details','6496825NBdsgb','3773052UvosWp','then','__awaiter','maka','WXHNC','value','7032gqlAzA','gQdvy','apply','runSubCommand','error','ZTRwj','26910344FBXOQe','search'];a35c=function(){return C;};return a35c();}import{Command}from'../command.js';function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0xbe;let f=c[d];return f;},a35d(a,b);}const Maka=new Command({'name':a35x(0xd4),'minArgLength':0x1,'description':a35x(0xcf),'usage':a35x(0xca),'examples':[a35x(0xc7),a35x(0xe1),'maka\x20run']},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const B=a35d;try{if(B(0xc6)==='IqOwv')d['error'](e),f[B(0xc4)](0x1);else{const d=a[0x0],f=this[B(0xc1)](d);if(f){if(B(0xd5)!==B(0xd5))return f instanceof g?h:new i(function(m){m(k);});else this[B(0xda)](d,a[B(0xce)](0x1),b);}else this['fsi'][B(0xc0)]();}}catch(h){console[B(0xdb)](h),process[B(0xc4)](0x1);}});});export default Maka;
1
+ const a35y=a35d;(function(a,b){const u=a35d,c=a();while(!![]){try{const d=-parseInt(u(0xe0))/0x1+-parseInt(u(0xfc))/0x2*(-parseInt(u(0xeb))/0x3)+parseInt(u(0xf9))/0x4*(-parseInt(u(0xe9))/0x5)+parseInt(u(0xfa))/0x6*(-parseInt(u(0xf7))/0x7)+parseInt(u(0xfd))/0x8+-parseInt(u(0xe6))/0x9+-parseInt(u(0xe8))/0xa*(-parseInt(u(0xf0))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0x2b307));const a35b=(function(){let a=!![];return function(b,c){const v=a35d;if(v(0xe2)==='TBapI')d[v(0xdf)](e),f[v(0xf8)](0x1);else{const e=a?function(){const w=v;if(c){if(w(0xf3)===w(0xf3)){const f=c[w(0xf5)](b,arguments);return c=null,f;}else this['runSubCommand'](d,e[w(0xe7)](0x1),f);}}:function(){};return a=![],e;}};}()),a35a=a35b(this,function(){const x=a35d;return a35a['toString']()[x(0xe3)](x(0xe1))['toString']()[x(0xe4)](a35a)['search'](x(0xe1));});function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0xdb;let f=c[d];return f;},a35d(a,b);}a35a();var __awaiter=this&&this[a35y(0xdb)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const C=a35d;function h(k){const z=a35d;try{'sGpAL'==='jxyjR'?this['fsi'][z(0xf1)]():j(d[z(0xf6)](k));}catch(m){g(m);}}function i(k){const A=a35d;try{j(d[A(0xea)](k));}catch(l){A(0xfe)!=='KZaOg'?g(l):h[A(0xe5)]?i(j[A(0xde)]):k(l[A(0xde)])[A(0xf4)](m,n);}}function j(k){const B=a35d;k[B(0xe5)]?f(k['value']):e(k[B(0xde)])['then'](h,i);}j((d=d[C(0xf5)](a,b||[]))[C(0xf6)]());});};function a35c(){const E=['1624IhbeWH','1437192lvbPEY','findSubCommand','482234YeqiYx','1444688PGEsDV','BfZUS','__awaiter','maka\x20<command>\x20[<args>]\x20[<opts>]','NGqof','value','error','225219BGUvPB','(((.+)+)+)+$','vgvEL','search','constructor','done','2633688njniBl','slice','5820090xrOnsK','855cHsZOX','throw','3YIhqeS','maka','maka\x20install\x20meteor','maka\x20create\x20Todo','fsi','11MiuCtD','maybeProxyCommandToMeteor','maka\x20run','qujIn','then','apply','next','7BbWQeX','exit'];a35c=function(){return E;};return a35c();}import{Command}from'../command.js';const Maka=new Command({'name':a35y(0xec),'minArgLength':0x1,'description':'A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.\x0a\x20\x20Run\x20any\x20command\x20with\x20\x22--help\x22\x20for\x20details','usage':a35y(0xdc),'examples':[a35y(0xed),a35y(0xee),a35y(0xf2)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const D=a35d;if(D(0xdd)!=='Atgnz')try{const c=a[0x0],d=this[D(0xfb)](c);d?this['runSubCommand'](c,a[D(0xe7)](0x1),b):this[D(0xef)][D(0xf1)]();}catch(f){console[D(0xdf)](f),process[D(0xf8)](0x1);}else return f instanceof g?h:new i(function(m){m(k);});});});export default Maka;
@@ -1 +1 @@
1
- var a36x=a36d;function a36d(a,b){var c=a36c();return a36d=function(d,e){d=d-0xc9;var f=c[d];return f;},a36d(a,b);}(function(a,b){var u=a36d,c=a();while(!![]){try{var d=-parseInt(u(0xda))/0x1+-parseInt(u(0xe1))/0x2*(parseInt(u(0xca))/0x3)+parseInt(u(0xe0))/0x4*(parseInt(u(0xc9))/0x5)+-parseInt(u(0xd5))/0x6*(parseInt(u(0xe3))/0x7)+-parseInt(u(0xd3))/0x8*(parseInt(u(0xea))/0x9)+parseInt(u(0xd4))/0xa+parseInt(u(0xd8))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x2c71a));var a36b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a36d;if('NWQFo'!=='PEWAr'){if(c){if(v(0xce)===v(0xce)){var e=c['apply'](b,arguments);return c=null,e;}else return c[v(0xd6)]()[v(0xde)](v(0xe5))[v(0xd6)]()[v(0xdc)](d)[v(0xde)](v(0xe5));}}else{if(e){var h=i[v(0xdb)](j,arguments);return k=null,h;}}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){var w=a36d;return a36a[w(0xd6)]()[w(0xde)](w(0xe5))[w(0xd6)]()[w(0xdc)](a36a)[w(0xde)]('(((.+)+)+)+$');});function a36c(){var D=['fcWgY','value','font-family:\x20monospace','next','sqeaQ','12720SPAuLT','201780NlNYqQ','174MUOqZr','toString','exit','5189118LPoTSq','THsYr','71338dkPRdG','apply','constructor','maka\x20murder','search','done','2796FonHjF','4918eeRkAA','eWdCl','67452GgGTbT','__awaiter','(((.+)+)+)+$','then','Murrrrderrrrr','PMTlP','Mwiez','1665IlROoP','2555vfDBTF','27QAkMTd','error','%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','myJkm'];a36c=function(){return D;};return a36c();}a36a();var __awaiter=this&&this[a36x(0xe4)]||function(a,b,c,d){function e(f){var y=a36d;if(y(0xcd)===y(0xe8))d[y(0xcb)](e),f[y(0xd7)](0x0);else return f instanceof c?f:new c(function(h){h(f);});}return new(c||(c=Promise))(function(f,g){function h(k){var z=a36d;try{j(d[z(0xd1)](k));}catch(l){g(l);}}function i(k){var A=a36d;try{if(A(0xe9)===A(0xe2))try{i(j[A(0xd1)](k));}catch(m){m(m);}else j(d['throw'](k));}catch(m){g(m);}}function j(k){var B=a36d;B(0xd9)!=='TQFBD'?k[B(0xdf)]?f(k[B(0xcf)]):e(k['value'])[B(0xe6)](h,i):b['log'](B(0xcc),B(0xd0));}j((d=d['apply'](a,b||[]))['next']());});};import{Command}from'../command.js';Command['create']({'name':'murder','usage':a36x(0xdd),'maxArgLength':0x1,'description':a36x(0xe7)},function(a){return __awaiter(this,void 0x0,void 0x0,function*(){var C=a36d;if(C(0xd2)==='sqeaQ')try{console['log'](C(0xcc),C(0xd0));}catch(b){console[C(0xcb)](b),process[C(0xd7)](0x0);}else c(d);});});
1
+ function a36c(){var H=['throw','constructor','13618kHcilC','4tdiRnw','1QUvqcu','error','done','(((.+)+)+)+$','12ZLkhRx','593691aXgSsq','search','duCDp','Murrrrderrrrr','vtWct','then','BFznm','12zZvmAd','apply','font-family:\x20monospace','create','5787vUYcyQ','log','toString','BVHtY','exit','OoYVi','6256237rgrwNJ','315515cNSQCT','%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','next','1554302ZvfHwv','470KHCIcu','1748433hBqXUa','murder','value','qxezS','14120ZFwAJn'];a36c=function(){return H;};return a36c();}var a36E=a36d;(function(a,b){var v=a36d,c=a();while(!![]){try{var d=parseInt(v(0x8d))/0x1*(parseInt(v(0xa7))/0x2)+-parseInt(v(0xa9))/0x3*(-parseInt(v(0x8c))/0x4)+-parseInt(v(0xa4))/0x5*(parseInt(v(0x91))/0x6)+parseInt(v(0x92))/0x7+parseInt(v(0xad))/0x8*(-parseInt(v(0x9d))/0x9)+-parseInt(v(0xa8))/0xa*(parseInt(v(0x8b))/0xb)+parseInt(v(0x99))/0xc*(parseInt(v(0xa3))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x94211));var a36b=(function(){var a=!![];return function(b,c){var d=a?function(){var w=a36d;if(c){var e=c[w(0x9a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){var x=a36d;return a36a['toString']()['search']('(((.+)+)+)+$')[x(0x9f)]()[x(0x8a)](a36a)[x(0x93)](x(0x90));});function a36d(a,b){var c=a36c();return a36d=function(d,e){d=d-0x8a;var f=c[d];return f;},a36d(a,b);}a36a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){var y=a36d;if(y(0x96)==='vtWct')return f instanceof c?f:new c(function(g){var z=y;if(z(0xa0)!==z(0xa0)){var i=g?function(){var A=z;if(i){var u=q[A(0x9a)](r,arguments);return s=null,u;}}:function(){};return l=![],i;}else g(f);});else h[y(0x8f)]?i(j[y(0xab)]):k(l[y(0xab)])[y(0x97)](m,n);}return new(c||(c=Promise))(function(f,g){var D=a36d;function h(k){try{j(d['next'](k));}catch(l){g(l);}}function i(k){var B=a36d;if('qxezS'!==B(0xac))return c['toString']()[B(0x93)](B(0x90))['toString']()['constructor'](d)[B(0x93)](B(0x90));else try{j(d[B(0xae)](k));}catch(m){if(B(0xa2)!==B(0x98))g(m);else try{i(j[B(0xae)](k));}catch(o){m(o);}}}function j(k){var C=a36d;k[C(0x8f)]?f(k[C(0xab)]):e(k[C(0xab)])[C(0x97)](h,i);}j((d=d[D(0x9a)](a,b||[]))[D(0xa6)]());});};import{Command}from'../command.js';Command[a36E(0x9c)]({'name':a36E(0xaa),'usage':'maka\x20murder','maxArgLength':0x1,'description':a36E(0x95)},function(a){return __awaiter(this,void 0x0,void 0x0,function*(){var F=a36d;try{if(F(0x94)!==F(0x94))return e(this,void 0x0,void 0x0,function*(){var G=F;try{l[G(0x9e)](G(0xa5),G(0x9b));}catch(r){o[G(0x8e)](r),p['exit'](0x0);}});else console[F(0x9e)]('%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',F(0x9b));}catch(c){console[F(0x8e)](c),process[F(0xa1)](0x0);}});});
@@ -1 +1 @@
1
- const a37aa=a37d;(function(a,b){const a7=a37d,c=a();while(!![]){try{const d=parseInt(a7(0x1fc))/0x1*(-parseInt(a7(0x1dd))/0x2)+parseInt(a7(0x1f3))/0x3*(parseInt(a7(0x1d5))/0x4)+parseInt(a7(0x1ec))/0x5+parseInt(a7(0x1f4))/0x6*(parseInt(a7(0x1e2))/0x7)+parseInt(a7(0x1e0))/0x8+-parseInt(a7(0x1dc))/0x9+parseInt(a7(0x1d6))/0xa*(-parseInt(a7(0x1f5))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x68c64));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const a8=a37d;if(a8(0x1d7)!==a8(0x1d4)){if(c){const e=c['apply'](b,arguments);return c=null,e;}}else return c[a8(0x1ff)]()[a8(0x1fd)](a8(0x1f6))[a8(0x1ff)]()[a8(0x1f1)](d)[a8(0x1fd)]('(((.+)+)+)+$');}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const a9=a37d;return a37a[a9(0x1ff)]()[a9(0x1fd)]('(((.+)+)+)+$')[a9(0x1ff)]()[a9(0x1f1)](a37a)[a9(0x1fd)](a9(0x1f6));});a37a();import a37a4 from'fs';import a37a5 from'path';import a37a6 from'http-proxy';function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x1d3;let f=c[d];return f;},a37d(a,b);}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';function a37c(){const ac=['env','listenPort','zGjCs','create','5JSjmyg','search','listen','toString','.crt','appName','getProjectConfig','UfuMe','4gNytzy','329190tRoBEd','yuVww','development','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','error','targetPort','981738URylAW','12634EEIsPP','\x20to\x20','fsi','4747136bFeXfU','_keys','7yqXspM','utf8','isFile','No\x20KEY\x20file\x20found.','proxy','getConfigPath','maka\x20proxy\x20[--env]\x20[--target-port]\x20[--listen-port]\x20[--target-host]','notice','help','targetHost','3920940uZEHVa','join','Crt\x20Location:\x20','localhost','readFileSync','constructor','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','1176018PcNIZg','306954jdihjZ','418ZzJdWa','(((.+)+)+)+$','maka\x20proxy\x20--env\x20dev'];a37c=function(){return ac;};return a37c();}Command[a37aa(0x1fb)]({'name':a37aa(0x1e6),'usage':a37aa(0x1e8),'mustBeInMakaProject':![],'validOpts':[a37aa(0x1ea),a37aa(0x1db),a37aa(0x1f9),'targetHost'],'description':a37aa(0x1d9),'examples':[a37aa(0x1f7),'maka\x20proxy\x20--env\x20dev\x20--target-port\x203000\x20--listen-port\x204000']},function(a,b){const ab=a37aa;try{let c=this['fsi'][ab(0x1d3)]();const d=b[ab(0x1f8)]?b['env']:ab(0x1d8),f=this[ab(0x1df)][ab(0x1e7)](d),g=b['targetPort']?b[ab(0x1db)]:0xbb8,h=b['listenPort']?b[ab(0x1f9)]:0xd73,i=b[ab(0x1eb)]?b[ab(0x1eb)]:ab(0x1ef),j=a37a5['join'](f,ab(0x1e1),c['appName']+'.key'),k=a37a5[ab(0x1ed)](f,ab(0x1e1),c[ab(0x201)]+ab(0x200));if(!this[ab(0x1df)][ab(0x1e4)](j)){if('MzxRm'===ab(0x1fa)){c[ab(0x1da)](ab(0x1e5));throw new d();}else{Log[ab(0x1da)]('No\x20KEY\x20file\x20found.');throw new UsageError();}}if(g===h){Log['error'](ab(0x1f2));throw new UsageError();}Log[ab(0x1e9)]('Environment:\x20'+d),Log[ab(0x1e9)]('Key\x20Location:\x20'+j),Log[ab(0x1e9)](ab(0x1ee)+k);const l={'ssl':{'key':a37a4['readFileSync'](j,ab(0x1e3)),'cert':a37a4[ab(0x1f0)](k,ab(0x1e3))},'target':{'host':i,'port':g},'ws':!![],'xfwd':!![]},m=a37a6['createProxyServer'](l)[ab(0x1fe)](h);Log['bright']('=>\x20SSL\x20Proxy\x20forwarding\x20'+h+ab(0x1de)+g);}catch(o){throw o;}});
1
+ const a37ab=a37d;function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x9a;let f=c[d];return f;},a37d(a,b);}(function(a,b){const a7=a37d,c=a();while(!![]){try{const d=parseInt(a7(0xc5))/0x1+-parseInt(a7(0x9a))/0x2*(-parseInt(a7(0xa7))/0x3)+parseInt(a7(0x9b))/0x4*(-parseInt(a7(0xae))/0x5)+parseInt(a7(0xac))/0x6+parseInt(a7(0xa6))/0x7*(parseInt(a7(0x9f))/0x8)+parseInt(a7(0xba))/0x9+-parseInt(a7(0xc4))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x416b2));const a37b=(function(){let a=!![];return function(b,c){const a8=a37d;if('OjRgT'===a8(0xb6)){const d=a?function(){const a9=a8;if(c){const e=c[a9(0xab)](b,arguments);return c=null,e;}}:function(){};return a=![],d;}else{c[a8(0xb5)](a8(0xa8));throw new d();}};}()),a37a=a37b(this,function(){const aa=a37d;return a37a[aa(0x9d)]()[aa(0xaf)](aa(0xb3))[aa(0x9d)]()['constructor'](a37a)[aa(0xaf)](aa(0xb3));});a37a();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(0xa9)]({'name':a37ab(0xa2),'usage':a37ab(0xc7),'mustBeInMakaProject':!![],'validOpts':[a37ab(0xad),a37ab(0xbc),a37ab(0xa5),a37ab(0xbf)],'description':a37ab(0x9c),'examples':[a37ab(0xb0),'maka\x20proxy\x20--env\x20dev\x20--target-port\x203000\x20--listen-port\x204000']},function(a,b){const ac=a37ab;try{if(ac(0xbb)===ac(0xbb)){let c=this['fsi']['getProjectConfig']();const d=b[ac(0xbe)]?b['env']:ac(0xb7),f=this[ac(0xb2)][ac(0xc1)](d),g=b['targetPort']?b[ac(0xbc)]:0xbb8,h=b[ac(0xa5)]?b['listenPort']:0xd73,i=b[ac(0xbf)]?b[ac(0xbf)]:ac(0xc8),j=a37a5[ac(0xb4)](f,ac(0xaa),c[ac(0xbd)]+ac(0xa3)),k=a37a5[ac(0xb4)](f,ac(0xaa),c[ac(0xbd)]+ac(0xa1));if(!this[ac(0xb2)]['isFile'](j)){if('ddooS'==='uzDWG'){const o=g?function(){const ad=ac;if(o){const u=q[ad(0xab)](r,arguments);return s=null,u;}}:function(){};return l=![],o;}else{Log['error'](ac(0xb8));throw new UsageError();}}if(g===h){Log[ac(0xb5)](ac(0xa8));throw new UsageError();}Log['notice'](ac(0x9e)+d),Log[ac(0xc3)]('Key\x20Location:\x20'+j),Log[ac(0xc3)]('Crt\x20Location:\x20'+k);const l={'ssl':{'key':a37a4[ac(0xb9)](j,ac(0xa0)),'cert':a37a4[ac(0xb9)](k,ac(0xa0))},'target':{'host':i,'port':g},'ws':!![],'xfwd':!![]},m=a37a6[ac(0xa4)](l)[ac(0xc2)](h);Log[ac(0xc0)](ac(0xc6)+h+ac(0xb1)+g);}else{if(e){const p=i['apply'](j,arguments);return k=null,p;}}}catch(p){throw p;}});function a37c(){const ae=['listenPort','1701GXxmCg','12aetyvW','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','create','_keys','apply','2436054pKVeFW','help','330230ixkfkO','search','maka\x20proxy\x20--env\x20dev','\x20to\x20','fsi','(((.+)+)+)+$','join','error','OjRgT','development','No\x20KEY\x20file\x20found.','readFileSync','4347783RHGIMH','LrABN','targetPort','appName','env','targetHost','bright','getConfigPath','listen','notice','11336090vpgyDO','183440vIilTL','=>\x20SSL\x20Proxy\x20forwarding\x20','maka\x20proxy\x20[--env]\x20[--target-port]\x20[--listen-port]\x20[--target-host]','localhost','63422bMjKme','20XqOTvO','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','toString','Environment:\x20','17528bERMvN','utf8','.crt','proxy','.key','createProxyServer'];a37c=function(){return ae;};return a37c();}
@@ -1 +1 @@
1
- const a38E=a38d;(function(a,b){const w=a38d,c=a();while(!![]){try{const d=-parseInt(w(0x164))/0x1+-parseInt(w(0x182))/0x2*(parseInt(w(0x169))/0x3)+-parseInt(w(0x179))/0x4*(parseInt(w(0x151))/0x5)+-parseInt(w(0x155))/0x6*(parseInt(w(0x162))/0x7)+-parseInt(w(0x16a))/0x8*(parseInt(w(0x17b))/0x9)+parseInt(w(0x161))/0xa+-parseInt(w(0x15e))/0xb*(-parseInt(w(0x174))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xe6d22));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a38d;if(c){if(x(0x153)===x(0x16b)){let f=d[x(0x165)](x(0x185),e);if(!f)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(f)f[x(0x172)]('Remote\x20host\x20connection\x20successful');}else{const f=c[x(0x15c)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const y=a38d;return a38a[y(0x158)]()[y(0x156)](y(0x178))[y(0x158)]()[y(0x181)](a38a)[y(0x156)](y(0x178));});function a38c(){const G=['_keys','Checking\x20remote\x20host\x20availability','value','throw','ssh.json','ssh','lPxYu','pmUFi','83945NoOXSQ','join','PxPmZ','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','1140wefdcv','search','assign','toString','next','sshSync','maka\x20reconfig\x20--env\x20prod','apply','If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.','44Fjzjlj','reconfig','~/pm2.config.js','17664680yRhfgy','61159RuVMlm','~/ses.json','851341cUAzGq','ping','env','pm2.config.js','DtDDF','3nPfoCj','24qGxfJa','NKLSN','getConfigPath','error','pm2\x20delete\x20all','then','done','ZysxD','success','DPKiN','17115900ZYVliW','help','settings.json','qSWvg','(((.+)+)+)+$','236qozgTB','readFileSync','3673881KKIsQC','~/settings.json','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','iVsim','Remote\x20host\x20connection\x20successful','exit','constructor','3599554gvmSMQ','create','scp','uname\x20-a'];a38c=function(){return G;};return a38c();}a38a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const z=a38d;z(0x171)===z(0x168)?c(d):g(f);});}return new(c||(c=Promise))(function(f,g){const D=a38d;function h(k){const A=a38d;if('pmUFi'===A(0x150))try{j(d[A(0x159)](k));}catch(l){g(l);}else return f instanceof g?h:new i(function(n){n(k);});}function i(k){const B=a38d;if('cZayz'==='FsLBO')c(d);else try{j(d[B(0x189)](k));}catch(m){g(m);}}function j(k){const C=a38d;k[C(0x170)]?f(k['value']):e(k[C(0x188)])[C(0x16f)](h,i);}j((d=d[D(0x15c)](a,b||[]))[D(0x159)]());});};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-0x14d;let f=c[d];return f;},a38d(a,b);}import{SSH}from'../tools/ssh/ssh.class.js';Command[a38E(0x183)]({'name':a38E(0x15f),'validOpts':[a38E(0x175)],'requiredOpts':[a38E(0x166)],'mustBeInMakaProject':!![],'usage':a38E(0x15b),'description':a38E(0x15d),'examples':['maka\x20reconfig\x20--env\x20prod']},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const F=a38d;if(F(0x177)!==F(0x17e))try{const c=this['fsi'][F(0x16c)](b[F(0x166)]),d=a38v[F(0x152)](c,F(0x14d)),f=a38u[F(0x17a)](d)['toString']();let g=JSON['parse'](f);Object[F(0x157)](g,{'env':c}),Log['notice'](F(0x187));try{let k=SSH['ping'](F(0x185),g);if(!k)throw F(0x17d);if(k)Log[F(0x172)](F(0x17f));}catch(l){throw l;}let h=a38v[F(0x152)](c,F(0x186),'ses.json');if(a38u['existsSync'](h)){if('YNFWc'!==F(0x173)){let m={'source':h,'dest':F(0x163),'verbose':!![]};SSH[F(0x184)](m,Object[F(0x157)]({},g));}else d[F(0x16d)](e),f[F(0x180)](0x0);}let i=a38v['join'](c,F(0x167));SSH['scp']({'source':i,'dest':F(0x160),'verbose':!![]},Object[F(0x157)]({},g));let j=a38v[F(0x152)](c,F(0x176));SSH[F(0x184)]({'source':j,'dest':F(0x17c),'verbose':!![]},Object[F(0x157)]({},g)),SSH[F(0x15a)](F(0x16e),g),yield SSH[F(0x14e)](F(0x154),Object[F(0x157)]({},g),{'verbose':!![]});}catch(o){if(F(0x14f)===F(0x14f))console[F(0x16d)](o),process[F(0x180)](0x0);else try{i(j['throw'](k));}catch(q){m(q);}}else return c[F(0x158)]()[F(0x156)](F(0x178))['toString']()['constructor'](d)[F(0x156)](F(0x178));});});
1
+ const a38z=a38d;(function(a,b){const w=a38d,c=a();while(!![]){try{const d=parseInt(w(0x147))/0x1*(-parseInt(w(0x14a))/0x2)+parseInt(w(0x12c))/0x3*(-parseInt(w(0x144))/0x4)+parseInt(w(0x125))/0x5*(parseInt(w(0x130))/0x6)+parseInt(w(0x13c))/0x7*(-parseInt(w(0x145))/0x8)+parseInt(w(0x139))/0x9*(parseInt(w(0x136))/0xa)+parseInt(w(0x14e))/0xb*(parseInt(w(0x14b))/0xc)+parseInt(w(0x132))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x5ec0b));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a38d;if(c){const e=c[x(0x117)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const y=a38d;return a38a[y(0x134)]()[y(0x12b)](y(0x141))['toString']()['constructor'](a38a)[y(0x12b)](y(0x141));});a38a();function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x117;let f=c[d];return f;},a38d(a,b);}var __awaiter=this&&this[a38z(0x12d)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const A=a38d;A(0x13b)==='AZZst'?(d[A(0x118)](e),f['exit'](0x0)):g(f);});}return new(c||(c=Promise))(function(f,g){const E=a38d;function h(k){const B=a38d;if('XkGsd'!==B(0x11a))try{i(j['throw'](k));}catch(m){m(m);}else try{if(B(0x135)===B(0x135))j(d[B(0x12f)](k));else{if(e){const n=i['apply'](j,arguments);return k=null,n;}}}catch(n){g(n);}}function i(k){const C=a38d;if(C(0x11b)==='IzZgE')try{j(d[C(0x14c)](k));}catch(l){g(l);}else c(d);}function j(k){const D=a38d;k['done']?f(k['value']):e(k[D(0x122)])[D(0x121)](h,i);}j((d=d[E(0x117)](a,b||[]))['next']());});};import a38u from'fs';import a38v from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';function a38c(){const G=['parse','117352AskBPh','189016TYSGma','~/ses.json','32AZFOBg','env','~/settings.json','47758kamara','3816WwNPsi','throw','sshSync','13871NsfTlo','apply','error','ssh.json','XkGsd','IzZgE','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','exit','KFPbM','Remote\x20host\x20connection\x20successful','join','then','value','If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.','notice','5AozWIs','settings.json','maka\x20reconfig\x20--env\x20prod','ping','fsi','existsSync','search','51jurixO','__awaiter','uname\x20-a','next','3694566fRkOUM','PJoTy','10590463PVTLTE','Checking\x20remote\x20host\x20availability','toString','UABQg','10xiZNRz','getConfigPath','help','77283jssfzK','success','daxPf','56MSgbTe','assign','_keys','pm2\x20delete\x20all','pm2.config.js','(((.+)+)+)+$','scp'];a38c=function(){return G;};return a38c();}Command['create']({'name':'reconfig','validOpts':[a38z(0x138)],'requiredOpts':[a38z(0x148)],'mustBeInMakaProject':!![],'usage':a38z(0x127),'description':a38z(0x123),'examples':[a38z(0x127)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const F=a38d;try{if(F(0x131)!==F(0x11e)){const c=this[F(0x129)][F(0x137)](b[F(0x148)]),d=a38v[F(0x120)](c,F(0x119)),f=a38u['readFileSync'](d)[F(0x134)]();let g=JSON[F(0x143)](f);Object[F(0x13d)](g,{'env':c}),Log[F(0x124)](F(0x133));try{let k=SSH[F(0x128)](F(0x12e),g);if(!k)throw F(0x11c);if(k)Log[F(0x13a)](F(0x11f));}catch(l){throw l;}let h=a38v['join'](c,F(0x13e),'ses.json');if(a38u[F(0x12a)](h)){let m={'source':h,'dest':F(0x146),'verbose':!![]};SSH[F(0x142)](m,Object[F(0x13d)]({},g));}let i=a38v[F(0x120)](c,F(0x140));SSH[F(0x142)]({'source':i,'dest':'~/pm2.config.js','verbose':!![]},Object[F(0x13d)]({},g));let j=a38v[F(0x120)](c,F(0x126));SSH['scp']({'source':j,'dest':F(0x149),'verbose':!![]},Object['assign']({},g)),SSH[F(0x14d)](F(0x13f),g),yield SSH['ssh']('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',Object[F(0x13d)]({},g),{'verbose':!![]});}else c(d);}catch(o){console[F(0x118)](o),process[F(0x11d)](0x0);}});});
@@ -1 +1 @@
1
- const a39H=a39d;function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x16c;let f=c[d];return f;},a39d(a,b);}(function(a,b){const E=a39d,c=a();while(!![]){try{const d=-parseInt(E(0x190))/0x1+parseInt(E(0x1a8))/0x2*(parseInt(E(0x1c6))/0x3)+-parseInt(E(0x1b6))/0x4+parseInt(E(0x1cd))/0x5+parseInt(E(0x183))/0x6*(parseInt(E(0x1b1))/0x7)+parseInt(E(0x196))/0x8+-parseInt(E(0x18b))/0x9*(-parseInt(E(0x171))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x966d0));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const F=a39d;if(c){if(F(0x177)==='DRqYe')h['done']?i(j[F(0x1bc)]):k(l['value'])['then'](m,n);else{const f=c[F(0x1a3)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const G=a39d;return a39a[G(0x188)]()[G(0x1b4)]('(((.+)+)+)+$')[G(0x188)]()[G(0x1b7)](a39a)[G(0x1b4)]('(((.+)+)+)+$');});a39a();var __awaiter=this&&this[a39H(0x16c)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const I=a39d;I(0x1c2)!==I(0x193)?g(f):d=e[I(0x173)](f,I(0x19e));});}return new(c||(c=Promise))(function(f,g){const M=a39d;function h(k){const J=a39d;try{j(d[J(0x1a4)](k));}catch(l){'lCCxB'===J(0x1c9)?(l['notice'](J(0x198)+f),g(h)):g(l);}}function i(k){const K=a39d;try{if(K(0x181)===K(0x181))j(d[K(0x19f)](k));else{const m={'app':e[K(0x199)],'appFileCase':f(g['appName'])};let n=this[K(0x16d)]['templateContent']({'srcPath':'config/docker-compose.yaml','context':m})+'\x0a';this[K(0x16d)]['createFile']({'filePath':h,'data':n});}}catch(m){K(0x1a6)===K(0x1a6)?g(m):(g===K(0x194)&&m[K(0x1c0)](n,0x2),j==='-e'&&o[K(0x1c0)](p,0x2));}}function j(k){const L=a39d;if(L(0x187)===L(0x187))k[L(0x1a7)]?f(k['value']):e(k[L(0x1bc)])[L(0x184)](h,i);else return f instanceof g?h:new i(function(m){m(k);});}j((d=d[M(0x1a3)](a,b||[]))[M(0x1a4)]());});};import a39A from'path';function a39c(){const Q=['mobileServer','join','docker-compose.yaml','create','docker-compose\x20--project-directory\x20','YfNBf','filter','=>\x20SSL\x20Proxy\x20running\x20at\x204000','verbose','ssl','xPHFI','localhost','.key','exit','env','TPrAB','forEach','914184ttFKZK','then','sep','notice','LqGYX','toString','process.env','warn','9tOqTil','inspect','rawLogs','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','getConfigPath','515988LirPIq','tteaZ','production','dLLqB','--env','config','1050656uvBijR','PM2\x20Config\x20File:\x20','Node\x20Env\x20Config:\x20','appName','pm2.config.js','Docker\x20Compose\x20Path:\x20','exclude-archs','\x20up\x20--remove-orphans','settings.json','throw','existsSync','LcKXh','mobile-server','apply','next','--production','YmYQK','done','450392wySYjC','getProjectConfig','argv','bright','run','config/docker-compose.yaml','Cannot\x20find\x20Node\x20Environment\x20File:\x20','push','error','7WoNSKW','settings','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)','search','invokeMeteorCommand','2626456fkfXqj','constructor','port','KbVhD','allowIncompatibleUpdate','readFileSync','value','crgBX','split','zrDaH','splice','inherit','xuJIw','_keys','createFile','docker','9fJCxJr','utf8','KPbgs','IGeFA','Meteor\x20Settings:\x20','extraPackages','templateContent','20635HfGgSW','Run\x20your\x20app\x20for\x20a\x20given\x20environment\x20or\x20in\x20docker.','__awaiter','fsi','--settings','slice','isFile','8253350ExtxMD'];a39c=function(){return Q;};return a39c();}import a39B from'fs';import a39C from'dotenv';import{execSync}from'child_process';import a39D 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 N=a39H;a39B['openSync'](a,'r'),a39C[N(0x195)]({'path':a});};Command[a39H(0x175)]({'name':a39H(0x1ac),'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':['env',a39H(0x1c5),'r',a39H(0x18d),'p',a39H(0x1b8),'i',a39H(0x18c),'m',a39H(0x172),'v',a39H(0x17a),a39H(0x1ba),a39H(0x1cb),'x',a39H(0x19c),'production',a39H(0x17b)],'description':a39H(0x1ce)},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const O=a39d;if('ZpPbY'==='MelBF')this[O(0x16d)][O(0x1b5)]('run',c['concat'](d));else try{if(b[O(0x1a2)]&&b[O(0x1a2)]===!![]||b['m']&&b['m']===!![]){if(O(0x1b9)!=='KbVhD'){const n=this['fsi'][O(0x18f)]('docker'),o=j['join'](n,O(0x174)),p=k[O(0x173)](n,'pm2.config.js');l[O(0x186)](O(0x197)+p),m['notice']('Docker\x20Compose\x20Path:\x20'+o);if(!n[O(0x1a0)](o)){const q={'app':s[O(0x199)],'appFileCase':t(u[O(0x199)])};let r=this['fsi'][O(0x1cc)]({'srcPath':O(0x1ad),'context':q})+'\x0a';this[O(0x16d)][O(0x1c4)]({'filePath':o,'data':r});}r(O(0x176)+n+O(0x19d),{'stdio':O(0x1c1)});}else throw O(0x1b3);}yield this[O(0x16d)]['compareMakaToLatest']();let d=this[O(0x16d)][O(0x1a9)]();const f=b[O(0x180)]?b[O(0x180)]:'development',g=this['fsi'][O(0x18f)](f),h=a39A['join'](g,O(0x189));let i=a39A[O(0x173)](g,'settings.json');b['settings']?'pbJIz'==='pbJIz'?i=b[O(0x1b2)]:c(d):i=a39A[O(0x173)](g,O(0x19e));if(this['fsi'][O(0x170)](h)&&!b['docker'])Log[O(0x186)](O(0x198)+h),syncSource(h);else!b[O(0x1c5)]&&(O(0x191)===O(0x1bd)?(d[O(0x1b0)](e),f[O(0x17f)](0x0)):Log[O(0x18a)](O(0x1ae)+h));this['fsi'][O(0x170)](i)?(Log['notice'](O(0x1ca)+i),a=a['concat']([O(0x16e),i])):Log['warn'](O(0x18e)+i);const j=g[O(0x1be)](a39A[O(0x185)]),k=j[j['length']-0x1];k===O(0x192)&&a[O(0x1af)](O(0x1a5));const l=process[O(0x1aa)][O(0x16f)](0x2)[O(0x178)](p=>p!==O(0x1ac))[O(0x178)](p=>p!==a[0x0]);l[O(0x182)]((p,q)=>{const P=O;P(0x1bf)!==P(0x1a1)?(p==='--env'&&(P(0x17c)!=='fhaze'?l[P(0x1c0)](q,0x2):c=d[P(0x1b2)]),p==='-e'&&l['splice'](q,0x2)):c['warn'](P(0x1ae)+d);});if(b[O(0x1c5)]){const p=this[O(0x16d)][O(0x18f)](O(0x1c5)),q=a39A[O(0x173)](p,O(0x174)),r=a39A[O(0x173)](p,O(0x19a));Log['notice'](O(0x197)+r),Log[O(0x186)](O(0x19b)+q);if(!a39B['existsSync'](q)){if(O(0x1c8)==='PBWRL')throw'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)';else{const t={'app':d[O(0x199)],'appFileCase':paramCase(d['appName'])};let u=this['fsi'][O(0x1cc)]({'srcPath':'config/docker-compose.yaml','context':t})+'\x0a';this[O(0x16d)][O(0x1c4)]({'filePath':q,'data':u});}}execSync(O(0x176)+p+O(0x19d),{'stdio':O(0x1c1)});}else{if(b['ssl']){const v=a39A['join'](g,O(0x1c3),d[O(0x199)]+O(0x17e)),w=a39A[O(0x173)](g,O(0x1c3),d[O(0x199)]+'.crt');Log[O(0x186)](v);const x={'ssl':{'key':a39B[O(0x1bb)](v,O(0x1c7)),'cert':a39B[O(0x1bb)](w,O(0x1c7))},'target':{'host':O(0x17d),'port':0xbb8},'ws':!![],'xfwd':!![]},y=a39D['createProxyServer'](x)['listen'](0xfa0);Log[O(0x1ab)](O(0x179));}else this[O(0x16d)][O(0x1b5)](O(0x1ac),a['concat'](l));}}catch(z){console[O(0x1b0)](z),process[O(0x17f)](0x0);}});});
1
+ const a39I=a39d;(function(a,b){const E=a39d,c=a();while(!![]){try{const d=parseInt(E(0x118))/0x1*(-parseInt(E(0xdd))/0x2)+parseInt(E(0x115))/0x3+-parseInt(E(0xdc))/0x4+parseInt(E(0xe3))/0x5+-parseInt(E(0xfa))/0x6*(parseInt(E(0xde))/0x7)+-parseInt(E(0xfb))/0x8+parseInt(E(0xcd))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x45283));const a39b=(function(){let a=!![];return function(b,c){const F=a39d;if(F(0xf6)==='VBOnH')c[F(0x104)]('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+d);else{const e=a?function(){const G=F;if(c){const f=c[G(0xd0)](b,arguments);return c=null,f;}}:function(){};return a=![],e;}};}()),a39a=a39b(this,function(){const H=a39d;return a39a[H(0xf8)]()[H(0x113)](H(0xd4))[H(0xf8)]()['constructor'](a39a)[H(0x113)](H(0xd4));});a39a();var __awaiter=this&&this[a39I(0x11b)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const J=a39d;if(J(0x110)!=='OUmSb')g(f);else{const i=l[J(0x103)](m,J(0xdf),n['appName']+J(0xf3)),j=o[J(0x103)](p,J(0xdf),q['appName']+J(0xf1));r[J(0xcf)](i);const k={'ssl':{'key':s[J(0xd7)](i,J(0xe1)),'cert':t[J(0xd7)](j,J(0xe1))},'target':{'host':J(0xe4),'port':0xbb8},'ws':!![],'xfwd':!![]},l=u[J(0xe6)](k)[J(0x10e)](0xfa0);v[J(0xf0)](J(0xec));}});}return new(c||(c=Promise))(function(f,g){const N=a39d;function h(k){const K=a39d;if(K(0xca)!==K(0xca))c(d);else try{j(d[K(0xc8)](k));}catch(m){g(m);}}function i(k){const L=a39d;try{L(0x108)!==L(0x108)?c=d[L(0xfc)]:j(d[L(0xdb)](k));}catch(m){g(m);}}function j(k){const M=a39d;k['done']?f(k[M(0x117)]):e(k[M(0x117)])[M(0x11a)](h,i);}j((d=d[N(0xd0)](a,b||[]))['next']());});};import a39A from'path';import a39B from'fs';import a39C from'dotenv';import{execSync}from'child_process';import a39D from'http-proxy';import{Command}from'../command.js';function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0xc7;let f=c[d];return f;},a39d(a,b);}import{Log}from'../tools/log/log.class.js';import{paramCase}from'change-case';const syncSource=function(a){a39B['openSync'](a,'r'),a39C['config']({'path':a});};Command[a39I(0xed)]({'name':a39I(0x101),'mustBeInMakaProject':!![],'usage':a39I(0x10a),'validOpts':[a39I(0x109),a39I(0x10b),'r',a39I(0xf2),'p',a39I(0xea),'i','inspect','m','mobileServer','v',a39I(0xd6),a39I(0xcb),'extraPackages','x',a39I(0xd5),a39I(0x11c),a39I(0x106)],'description':a39I(0xcc)},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const O=a39d;try{if(O(0xee)!==O(0xee))e[O(0xe8)](f,'r'),g['config']({'path':h});else{if(b[O(0x10d)]&&b[O(0x10d)]===!![]||b['m']&&b['m']===!![])throw O(0xd1);yield this[O(0xe2)][O(0x107)]();let d=this[O(0xe2)][O(0xe5)]();const f=b[O(0x109)]?b[O(0x109)]:O(0xd2),g=this[O(0xe2)]['getConfigPath'](f),h=a39A['join'](g,O(0xf7));let i=a39A[O(0x103)](g,'settings.json');b['settings']?i=b[O(0xfc)]:i=a39A[O(0x103)](g,O(0xc7));if(this['fsi'][O(0x102)](h)&&!b[O(0x10b)])Log['notice'](O(0x100)+h),syncSource(h);else!b[O(0x10b)]&&Log['warn']('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+h);this['fsi'][O(0x102)](i)?(Log[O(0xcf)](O(0x111)+i),a=a[O(0xfd)](['--settings',i])):Log[O(0x104)]('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+i);const j=g['split'](a39A['sep']),k=j[j[O(0xda)]-0x1];k===O(0x11c)&&a[O(0xc9)]('--production');const l=process[O(0xf4)]['slice'](0x2)['filter'](m=>m!==O(0x101))[O(0x116)](m=>m!==a[0x0]);l[O(0xf9)]((m,n)=>{const P=O;if(m===P(0xeb)){if(P(0xff)===P(0x10c))try{i(j[P(0xc8)](k));}catch(p){m(p);}else l[P(0x10f)](n,0x2);}m==='-e'&&l[P(0x10f)](n,0x2);});if(b['docker']){const m=this[O(0xe2)]['getConfigPath'](O(0x10b)),n=a39A[O(0x103)](m,O(0xd8)),o=a39A[O(0x103)](m,'pm2.config.js');Log[O(0xcf)](O(0x112)+o),Log[O(0xcf)](O(0xd3)+n);if(!a39B[O(0x114)](n)){const p={'app':d[O(0xe7)],'appFileCase':paramCase(d[O(0xe7)])};let q=this[O(0xe2)][O(0xfe)]({'srcPath':O(0xd9),'context':p})+'\x0a';this[O(0xe2)][O(0xef)]({'filePath':n,'data':q});}execSync(O(0xe0)+m+O(0x105),{'stdio':O(0xf5)});}else{if(b['ssl']){const r=a39A[O(0x103)](g,O(0xdf),d[O(0xe7)]+O(0xf3)),s=a39A['join'](g,O(0xdf),d[O(0xe7)]+O(0xf1));Log[O(0xcf)](r);const t={'ssl':{'key':a39B[O(0xd7)](r,'utf8'),'cert':a39B['readFileSync'](s,O(0xe1))},'target':{'host':O(0xe4),'port':0xbb8},'ws':!![],'xfwd':!![]},u=a39D[O(0xe6)](t)[O(0x10e)](0xfa0);Log[O(0xf0)]('=>\x20SSL\x20Proxy\x20running\x20at\x204000');}else O(0xce)!==O(0xce)?d(e[O(0xc8)](f)):this[O(0xe2)]['invokeMeteorCommand']('run',a[O(0xfd)](l));}}}catch(w){console[O(0x119)](w),process[O(0xe9)](0x0);}});});function a39c(){const Q=['appName','openSync','exit','port','--env','=>\x20SSL\x20Proxy\x20running\x20at\x204000','create','wUQbi','createFile','bright','.crt','rawLogs','.key','argv','inherit','ZkTTB','process.env','toString','forEach','6JviqWg','2806496bYlHsB','settings','concat','templateContent','aIwkO','Node\x20Env\x20Config:\x20','run','isFile','join','warn','\x20up\x20--remove-orphans','ssl','compareMakaToLatest','cyPwk','env','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.','docker','fHihi','mobile-server','listen','splice','rwFuY','Meteor\x20Settings:\x20','PM2\x20Config\x20File:\x20','search','existsSync','7050OcDGLC','filter','value','185EcWHip','error','then','__awaiter','production','settings.json','next','push','weEeO','allowIncompatibleUpdate','Run\x20your\x20app\x20for\x20a\x20given\x20environment\x20or\x20in\x20docker.','12275676cliEaa','MpQIV','notice','apply','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)','development','Docker\x20Compose\x20Path:\x20','(((.+)+)+)+$','exclude-archs','verbose','readFileSync','docker-compose.yaml','config/docker-compose.yaml','length','throw','1265504ffqEOO','42RcpgJs','3720829LpsSth','_keys','docker-compose\x20--project-directory\x20','utf8','fsi','597865FPtvFc','localhost','getProjectConfig','createProxyServer'];a39c=function(){return Q;};return a39c();}
@@ -1 +1 @@
1
- (function(a,b){var u=a40d,c=a();while(!![]){try{var d=parseInt(u(0x152))/0x1*(parseInt(u(0x14d))/0x2)+-parseInt(u(0x14a))/0x3+-parseInt(u(0x150))/0x4+-parseInt(u(0x14c))/0x5*(parseInt(u(0x158))/0x6)+parseInt(u(0x156))/0x7+parseInt(u(0x14b))/0x8*(-parseInt(u(0x151))/0x9)+-parseInt(u(0x155))/0xa*(-parseInt(u(0x157))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x39abb));var a40b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a40d;if(c){var e=c[v(0x154)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){var w=a40d;return a40a[w(0x14e)]()[w(0x14f)]('(((.+)+)+)+$')[w(0x14e)]()[w(0x153)](a40a)[w(0x14f)]('(((.+)+)+)+$');});a40a();import'./set.command.js';import'./global.sub.cmd.js';function a40d(a,b){var c=a40c();return a40d=function(d,e){d=d-0x14a;var f=c[d];return f;},a40d(a,b);}function a40c(){var x=['5OvDlNg','632xWttyI','toString','search','664484SvjxuV','36OGtqEt','21TWNhQB','constructor','apply','218390JoxoNO','800702ZKAKuA','539SHldWV','1338978CQDbLX','1393374lZIAwp','202344cLOnTL'];a40c=function(){return x;};return a40c();}import'./local.sub.cmd.js';
1
+ (function(a,b){var u=a40d,c=a();while(!![]){try{var d=-parseInt(u(0xb7))/0x1+-parseInt(u(0xb3))/0x2*(parseInt(u(0xaf))/0x3)+parseInt(u(0xb4))/0x4+-parseInt(u(0xb2))/0x5*(parseInt(u(0xb1))/0x6)+-parseInt(u(0xb6))/0x7*(-parseInt(u(0xb8))/0x8)+-parseInt(u(0xad))/0x9+parseInt(u(0xb9))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x70df3));function a40c(){var w=['2940640NeyVLZ','78957qMHDVS','search','3SHYjQU','toString','114570YQucXD','5OghsNg','418702jmXjpL','325588UmPEUH','(((.+)+)+)+$','14rMZzcs','212205ahCExa','2145144BOJyWm'];a40c=function(){return w;};return a40c();}function a40d(a,b){var c=a40c();return a40d=function(d,e){d=d-0xad;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(0xb0)]()['search'](v(0xb5))[v(0xb0)]()['constructor'](a40a)[v(0xae)](v(0xb5));});a40a();import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
@@ -1 +1 @@
1
- const a41A=a41d;(function(a,b){const x=a41d,c=a();while(!![]){try{const d=parseInt(x(0xd9))/0x1+parseInt(x(0xdf))/0x2*(parseInt(x(0xff))/0x3)+-parseInt(x(0x102))/0x4+parseInt(x(0x100))/0x5+-parseInt(x(0xf4))/0x6+parseInt(x(0xf8))/0x7*(parseInt(x(0xe2))/0x8)+parseInt(x(0xe6))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x8eae2));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a41d;if(c){const e=c[y(0xef)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const z=a41d;return a41a['toString']()[z(0xee)](z(0xe5))[z(0xd4)]()['constructor'](a41a)[z(0xee)](z(0xe5));});a41a();var __awaiter=this&&this[a41A(0xe1)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const B=a41d;if(B(0xdb)===B(0xfa))return c[B(0xd4)]()[B(0xee)](B(0xe5))['toString']()['constructor'](d)[B(0xee)](B(0xe5));else g(f);});}return new(c||(c=Promise))(function(f,g){function h(k){const C=a41d;try{C(0xe4)!==C(0x103)?j(d[C(0xe3)](k)):c(d);}catch(m){g(m);}}function i(k){const D=a41d;try{j(d['throw'](k));}catch(l){D(0xfc)===D(0xfc)?g(l):(d['error'](l),f[D(0x101)](0x0));}}function j(k){const E=a41d;if('Ipkik'===E(0xe7))return f instanceof g?h:new i(function(m){m(k);});else k[E(0xd6)]?f(k['value']):e(k[E(0xdd)])['then'](h,i);}j((d=d['apply'](a,b||[]))['next']());});};function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0xd4;let f=c[d];return f;},a41d(a,b);}import a41v from'path';import a41w from'./set.command.js';function a41c(){const G=['maka\x20set:g\x20--workspace\x20<path>','error','Set\x20workspace:\x20','resolve','5791482eqyJqJ','Set\x20CA\x20Cert\x20Path:\x20','success','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','7cNMwqF','setGlobalConfig','XOCDa','ahTZK','ftCOZ','\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','boolean','214374btRknb','5686750mEDPOh','exit','3271188SLszQN','IsMPa','toString','global','done','aVAKa','allowInsecure','223200ZbfPuh','workspace','MZUDa','maka\x20set:g\x20--insecure\x20<path>','value','fsi','4VZnUVw','maka\x20set:global\x20--cacert\x20<path>','__awaiter','3163744QFZLUt','next','GPLlN','(((.+)+)+)+$','4216752zMiDgk','OTbrx','maka\x20set:global\x20<args>','OGMsN','One\x20or\x20the\x20other\x20buddy','cacert','isFile','disallowInsecure','search','apply'];a41c=function(){return G;};return a41c();}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a41A(0xd5),'usage':a41A(0xe8),'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a41A(0xeb),a41A(0xd8),'disallowInsecure','workspace'],'description':a41A(0xfd),'examples':[a41A(0xe0),a41A(0xdc),a41A(0xf0)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const F=a41d;try{if(b[F(0xeb)]){if(this[F(0xde)][F(0xec)](b[F(0xeb)])){if(F(0xe9)===F(0xe9))this[F(0xde)]['setGlobalConfig']({'config':{'cert':b['cacert']}}),Log[F(0xf6)](F(0xf5)+b[F(0xeb)]);else{if(e){const d=i[F(0xef)](j,arguments);return k=null,d;}}}else{const d=typeof b[F(0xeb)]===F(0xfe)?F(0xf7):'CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+b['cacert'];throw Log['error'](d);}}if(b[F(0xda)]){const f=this['fsi']['isDirectory'](b[F(0xda)]);if(f)this[F(0xde)][F(0xf9)]({'config':{'workspace':a41v[F(0xf3)](b[F(0xda)])}}),Log['success'](F(0xf2)+a41v[F(0xf3)](b['workspace']));else throw Log[F(0xf1)]('Could\x20not\x20find\x20directory');}if(b[F(0xd8)]){if(F(0xd7)!==F(0xd7))c(d);else{if(b['allowInsecure']&&b[F(0xed)])throw Log[F(0xf1)](F(0xea));let h=b[F(0xd8)];b[F(0xed)]&&(h=![]),this['fsi'][F(0xf9)]({'config':{'allowInsecure':h}}),Log[F(0xf6)]('Set\x20allowInsecure:\x20'+h);}}}catch(i){if(F(0xfb)==='wTOnE'){const k=d[F(0xef)](i,arguments);return f=null,k;}else console[F(0xf1)](i),process[F(0x101)](0x0);}});},a41w);
1
+ function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x1e5;let f=c[d];return f;},a41d(a,b);}const a41F=a41d;(function(a,b){const x=a41d,c=a();while(!![]){try{const d=-parseInt(x(0x204))/0x1+parseInt(x(0x20e))/0x2*(parseInt(x(0x1e8))/0x3)+-parseInt(x(0x217))/0x4*(-parseInt(x(0x1e5))/0x5)+-parseInt(x(0x205))/0x6*(parseInt(x(0x200))/0x7)+-parseInt(x(0x1ef))/0x8*(parseInt(x(0x1e6))/0x9)+parseInt(x(0x20c))/0xa*(-parseInt(x(0x1fe))/0xb)+parseInt(x(0x216))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x2a70f));const a41b=(function(){let a=!![];return function(b,c){const y=a41d;if(y(0x1f2)==='MLqja')c(d);else{const e=a?function(){if(c){const f=c['apply'](b,arguments);return c=null,f;}}:function(){};return a=![],e;}};}()),a41a=a41b(this,function(){const z=a41d;return a41a[z(0x214)]()[z(0x1e7)](z(0x206))[z(0x214)]()[z(0x1f6)](a41a)[z(0x1e7)](z(0x206));});a41a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const A=a41d;if(A(0x215)===A(0x215))g(f);else return f instanceof g?h:new i(function(m){m(k);});});}return new(c||(c=Promise))(function(f,g){const E=a41d;function h(k){const B=a41d;if('azqpG'!==B(0x20a))try{j(d[B(0x210)](k));}catch(l){g(l);}else try{i(j[B(0x210)](k));}catch(o){m(o);}}function i(k){const C=a41d;try{if(C(0x1ed)===C(0x21a)){const m=d[C(0x1f4)](e,arguments);return f=null,m;}else j(d[C(0x209)](k));}catch(m){g(m);}}function j(k){const D=a41d;k[D(0x201)]?f(k[D(0x20b)]):e(k[D(0x20b)])[D(0x218)](h,i);}j((d=d[E(0x1f4)](a,b||[]))[E(0x210)]());});};import a41v from'path';import a41w from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a41c(){const H=['867960Hosvcl','search','24alstqi','maka\x20set:g\x20--workspace\x20<path>','maka\x20set:g\x20--insecure\x20<path>','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','kGlDi','vsSks','Set\x20allowInsecure:\x20','24LTBVcX','workspace','isFile','tkGFl','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','apply','global','constructor','allowInsecure','maka\x20set:global\x20--cacert\x20<path>','Set\x20CA\x20Cert\x20Path:\x20','resolve','success','Set\x20workspace:\x20','setGlobalConfig','239657SQVFLB','disallowInsecure','1239pvXHND','done','fsi','create','162408aweXFy','2664iaEEku','(((.+)+)+)+$','CQlRI','dppMp','throw','PuHmS','value','70PDowiU','cacert','22610MCdjlT','One\x20or\x20the\x20other\x20buddy','next','\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','Could\x20not\x20find\x20directory','exit','toString','VORSn','5550876yjEGjK','1214604XFbRyr','then','error','pQbnR','5wzgEcL'];a41c=function(){return H;};return a41c();}Command[a41F(0x203)]({'name':a41F(0x1f5),'usage':'maka\x20set:global\x20<args>','minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a41F(0x20d),'allowInsecure',a41F(0x1ff),a41F(0x1f0)],'description':a41F(0x211),'examples':[a41F(0x1f8),a41F(0x1ea),a41F(0x1e9)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const G=a41d;if('dppMp'===G(0x208))try{if(b[G(0x20d)]){if(this['fsi'][G(0x1f1)](b[G(0x20d)]))this[G(0x202)][G(0x1fd)]({'config':{'cert':b['cacert']}}),Log[G(0x1fb)](G(0x1f9)+b['cacert']);else{const c=typeof b[G(0x20d)]==='boolean'?G(0x1eb):G(0x1f3)+b[G(0x20d)];throw Log[G(0x219)](c);}}if(b[G(0x1f0)]){if('TdQfd'!==G(0x207)){const d=this['fsi']['isDirectory'](b[G(0x1f0)]);if(d)this[G(0x202)][G(0x1fd)]({'config':{'workspace':a41v['resolve'](b[G(0x1f0)])}}),Log[G(0x1fb)](G(0x1fc)+a41v[G(0x1fa)](b[G(0x1f0)]));else{if(G(0x1ec)==='JdFSD')throw b[G(0x219)](G(0x212));else throw Log['error'](G(0x212));}}else this['fsi'][G(0x1fd)]({'config':{'cert':d['cacert']}}),e['success'](G(0x1f9)+f['cacert']);}if(b['allowInsecure']){if(b[G(0x1f7)]&&b[G(0x1ff)])throw Log['error'](G(0x20f));let h=b[G(0x1f7)];b[G(0x1ff)]&&(h=![]),this[G(0x202)]['setGlobalConfig']({'config':{'allowInsecure':h}}),Log[G(0x1fb)](G(0x1ee)+h);}}catch(i){console[G(0x219)](i),process[G(0x213)](0x0);}else c(d);});},a41w);
@@ -1 +1 @@
1
- var a42D=a42d;(function(a,b){var v=a42d,c=a();while(!![]){try{var d=parseInt(v(0x109))/0x1*(parseInt(v(0x111))/0x2)+-parseInt(v(0x11b))/0x3+parseInt(v(0x115))/0x4*(parseInt(v(0x11a))/0x5)+parseInt(v(0x105))/0x6+parseInt(v(0x11c))/0x7+parseInt(v(0x118))/0x8*(parseInt(v(0x117))/0x9)+-parseInt(v(0x107))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x3f521));function a42c(){var F=['maka\x20set:local\x20<opts>','6763610tmoKKw','wnkuT','678CKqfYG','search','(((.+)+)+)+$','YkZgH','uSeDQ','local','error','toString','1032LNGQSe','throw','constructor','apply','12aKwwBS','KSfEG','2336562oIUEAp','8pLwUfp','done','461960NAuFLD','1546326wgxvsi','1828239wbyGgZ','next','value','1820070AHavNC'];a42c=function(){return F;};return a42c();}var a42b=(function(){var a=!![];return function(b,c){var w=a42d;if(w(0x108)===w(0x116)){if(e){var f=i[w(0x114)](j,arguments);return k=null,f;}}else{var d=a?function(){var x=w;if(c){if(x(0x10c)!=='YkZgH')return f instanceof g?h:new i(function(m){m(k);});else{var f=c['apply'](b,arguments);return c=null,f;}}}:function(){};return a=![],d;}};}()),a42a=a42b(this,function(){var y=a42d;return a42a['toString']()[y(0x10a)](y(0x10b))[y(0x110)]()[y(0x113)](a42a)[y(0x10a)](y(0x10b));});a42a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){var C=a42d;function h(k){var z=a42d;try{j(d[z(0x11d)](k));}catch(l){g(l);}}function i(k){var A=a42d;try{j(d[A(0x112)](k));}catch(l){g(l);}}function j(k){var B=a42d;k[B(0x119)]?f(k[B(0x11e)]):e(k[B(0x11e)])['then'](h,i);}j((d=d[C(0x114)](a,b||[]))[C(0x11d)]());});};import a42u from'./set.command.js';function a42d(a,b){var c=a42c();return a42d=function(d,e){d=d-0x105;var f=c[d];return f;},a42d(a,b);}import{Command}from'../../command.js';Command['create']({'name':a42D(0x10e),'usage':a42D(0x106),'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'description':'\x0a\x20\x20\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20'},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){var E=a42d;try{}catch(c){E(0x10d)!==E(0x10d)?c(d):(console[E(0x10f)](c),process['exit'](0x0));}});},a42u);
1
+ var a42z=a42d;(function(a,b){var v=a42d,c=a();while(!![]){try{var d=parseInt(v(0x1f4))/0x1+parseInt(v(0x1db))/0x2*(-parseInt(v(0x1e1))/0x3)+parseInt(v(0x1ed))/0x4*(-parseInt(v(0x1f3))/0x5)+-parseInt(v(0x1eb))/0x6+parseInt(v(0x1ee))/0x7+parseInt(v(0x1e6))/0x8*(parseInt(v(0x1f7))/0x9)+-parseInt(v(0x1ec))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x85de9));var a42b=(function(){var a=!![];return function(b,c){var w=a42d;if('tuzFL'===w(0x1d9)){var d=a?function(){var x=w;if(c){var e=c[x(0x1da)](b,arguments);return c=null,e;}}:function(){};return a=![],d;}else c(d);};}()),a42a=a42b(this,function(){var y=a42d;return a42a[y(0x1e7)]()[y(0x1f1)]('(((.+)+)+)+$')[y(0x1e7)]()[y(0x1dc)](a42a)['search'](y(0x1f5));});a42a();var __awaiter=this&&this[a42z(0x1e0)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){if('QeNWh'==='QeNWh')g(f);else return d(this,void 0x0,void 0x0,function*(){var A=a42d;try{}catch(n){k['error'](n),l[A(0x1f6)](0x0);}});});}return new(c||(c=Promise))(function(f,g){var E=a42d;function h(k){var B=a42d;try{j(d['next'](k));}catch(l){if(B(0x1ef)==='SIMwW')g(l);else try{i(j[B(0x1e2)](k));}catch(o){m(o);}}}function i(k){var C=a42d;if('QZLwX'===C(0x1ea))try{if(C(0x1de)===C(0x1de))j(d['throw'](k));else{var m=d['apply'](e,arguments);return f=null,m;}}catch(m){g(m);}else d[C(0x1e5)](e),f[C(0x1f6)](0x0);}function j(k){var D=a42d;k[D(0x1e3)]?f(k['value']):e(k[D(0x1f0)])[D(0x1e8)](h,i);}j((d=d['apply'](a,b||[]))[E(0x1e4)]());});};import a42u from'./set.command.js';import{Command}from'../../command.js';function a42d(a,b){var c=a42c();return a42d=function(d,e){d=d-0x1d9;var f=c[d];return f;},a42d(a,b);}Command[a42z(0x1dd)]({'name':a42z(0x1e9),'usage':'maka\x20set:local\x20<opts>','mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'description':a42z(0x1df)},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){var F=a42d;try{}catch(c){if(F(0x1f2)===F(0x1f2))console[F(0x1e5)](c),process[F(0x1f6)](0x0);else return f instanceof g?h:new i(function(m){m(k);});}});},a42u);function a42c(){var G=['SIMwW','value','search','kHOkz','696985KkJkdW','281592FThRxi','(((.+)+)+)+$','exit','3229524xkeNfJ','tuzFL','apply','2UOXxQZ','constructor','create','aSAoK','\x0a\x20\x20\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','__awaiter','1030647kbFJwn','throw','done','next','error','24PRaEiF','toString','then','local','QZLwX','5476626ygvuaZ','1799800gWJRyt','4QcjOMk','5361482djXiZf'];a42c=function(){return G;};return a42c();}