@maka/maka-cli 4.5.10 → 4.5.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/bundle/obf/package.json +2 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/aws/_index.js +1 -1
  5. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  6. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  7. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/build/_index.js +1 -1
  17. package/bundle/obf/src/commands/build/build.js +1 -1
  18. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/create.js +1 -1
  20. package/bundle/obf/src/commands/debug.js +1 -1
  21. package/bundle/obf/src/commands/deploy.js +1 -1
  22. package/bundle/obf/src/commands/game/_index.js +1 -1
  23. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  24. package/bundle/obf/src/commands/game/play.command.js +1 -1
  25. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  26. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/generate.js +1 -1
  29. package/bundle/obf/src/commands/get/_index.js +1 -1
  30. package/bundle/obf/src/commands/get/get.command.js +1 -1
  31. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  34. package/bundle/obf/src/commands/help.js +1 -1
  35. package/bundle/obf/src/commands/jsdoc.js +1 -1
  36. package/bundle/obf/src/commands/lint.js +1 -1
  37. package/bundle/obf/src/commands/login.js +1 -1
  38. package/bundle/obf/src/commands/logout.js +1 -1
  39. package/bundle/obf/src/commands/logs.js +1 -1
  40. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  41. package/bundle/obf/src/commands/murder.js +1 -1
  42. package/bundle/obf/src/commands/proxy.js +1 -1
  43. package/bundle/obf/src/commands/reconfig.js +1 -1
  44. package/bundle/obf/src/commands/run/_index.js +1 -1
  45. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  46. package/bundle/obf/src/commands/run/run.command.js +1 -1
  47. package/bundle/obf/src/commands/set/_index.js +1 -1
  48. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  49. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  50. package/bundle/obf/src/commands/set/set.command.js +1 -1
  51. package/bundle/obf/src/commands/ssh.js +1 -1
  52. package/bundle/obf/src/commands/ssl.js +1 -1
  53. package/bundle/obf/src/commands/test.js +1 -1
  54. package/bundle/obf/src/commands/version.js +1 -1
  55. package/bundle/obf/src/error.js +1 -1
  56. package/bundle/obf/src/generator.js +1 -1
  57. package/bundle/obf/src/generators/_index.js +1 -1
  58. package/bundle/obf/src/generators/api.js +1 -1
  59. package/bundle/obf/src/generators/collection.js +1 -1
  60. package/bundle/obf/src/generators/component.js +1 -1
  61. package/bundle/obf/src/generators/config.js +1 -1
  62. package/bundle/obf/src/generators/dbc.js +1 -1
  63. package/bundle/obf/src/generators/dockerfile.js +1 -1
  64. package/bundle/obf/src/generators/hook.js +1 -1
  65. package/bundle/obf/src/generators/kit.js +1 -1
  66. package/bundle/obf/src/generators/layout.js +1 -1
  67. package/bundle/obf/src/generators/maka.gen.js +1 -1
  68. package/bundle/obf/src/generators/methods.js +1 -1
  69. package/bundle/obf/src/generators/package.js +1 -1
  70. package/bundle/obf/src/generators/page.js +1 -1
  71. package/bundle/obf/src/generators/publish.js +1 -1
  72. package/bundle/obf/src/generators/route.js +1 -1
  73. package/bundle/obf/src/generators/service.js +1 -1
  74. package/bundle/obf/src/generators/services/_index.js +1 -1
  75. package/bundle/obf/src/generators/services/openssl.js +1 -1
  76. package/bundle/obf/src/generators/services/translation.js +1 -1
  77. package/bundle/obf/src/maka.js +1 -1
  78. package/bundle/obf/src/templates/meteor/dbc/conn.js +1 -1
  79. package/bundle/obf/src/tool.js +1 -1
  80. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  81. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  82. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  83. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  84. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  85. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  86. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  87. package/bundle/obf/src/tools/https/https.class.js +1 -1
  88. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  89. package/bundle/obf/src/tools/log/log.class.js +1 -1
  90. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  91. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  92. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  93. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  94. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  95. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  96. package/package.json +2 -1
  97. package/bundle/obf/src/commands/install.js +0 -1
@@ -1 +1 @@
1
- function a37c(){const p=['logout','8049980vExKwg','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','failure','528974DnXWNr','83754XvuAKV','Preflight\x20Check','(((.+)+)+)+$','token','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','1YEEvgS','True','Logging\x20out\x20of\x20https://','header','MAKA_DEV','3SGiWBq','get','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','setGlobalConfig','cert','withSpinner','assign','https://','error','maka\x20logout','536RVCaTj','6oLAmen','2630684GJdpUG','668172VcSnQk','localhost','search','exit','notice','cacert','fsi','isFile','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','16224461LbVCRB','start','/api/v1/logoutAll','www.maka-cli.com','toString','authToken','Logging\x20out','67445puYUUa','success'];a37c=function(){return p;};return a37c();}function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0xbc;let f=c[d];return f;},a37d(a,b);}const a37n=a37d;(function(a,b){const l=a37d,c=a();while(!![]){try{const d=-parseInt(l(0xc2))/0x1*(-parseInt(l(0xbc))/0x2)+parseInt(l(0xc7))/0x3*(-parseInt(l(0xd4))/0x4)+parseInt(l(0xe4))/0x5*(-parseInt(l(0xd2))/0x6)+parseInt(l(0xd3))/0x7+-parseInt(l(0xd1))/0x8*(-parseInt(l(0xbd))/0x9)+parseInt(l(0xe7))/0xa+-parseInt(l(0xdd))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x64e84));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const m=a37d;return a37a[m(0xe1)]()[m(0xd6)](m(0xbf))['toString']()['constructor'](a37a)[m(0xd6)](m(0xbf));});a37a();import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process['env'][a37n(0xc6)]===a37n(0xc3)?a37n(0xd5):a37n(0xe0);Command['create']({'name':a37n(0xe6),'validOpts':[a37n(0xd9)],'usage':a37n(0xd0),'maxArgLength':0x2,'shortDesc':'Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','disableAuthCheck':!![],'examples':[a37n(0xd0)]},async function(a,b){const o=a37n,c=Log[o(0xcc)]();try{let d='';b[o(0xd9)]&&(this[o(0xda)][o(0xdb)](b[o(0xd9)])?(d=b[o(0xd9)],Log[o(0xd8)]('Using\x20CA\x20Cert\x20'+d)):Log['error'](o(0xdc)+d));const f=await this[o(0xda)]['getGlobalConfig']();if(f['cert']){if(this['fsi']['isFile'](f[o(0xcb)]))d=f[o(0xcb)];else{c[o(0xe9)]();throw Log[o(0xcf)](o(0xe8)+d);}}Log[o(0xc5)](o(0xc4)+hostname);const g={'url':o(0xce)+hostname+'/api/v1/status'};b[o(0xd9)]&&Object[o(0xcd)](g,{'cert':d});c[o(0xde)](o(0xbe));const {statusCode:h}=await HTTPS[o(0xc8)](g);if(h===0x198){c['failure']();throw o(0xc1);}c[o(0xe5)]();if(h!==0xc8){c[o(0xe9)]();throw'https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli';}if(!f?.[o(0xc0)]?.[o(0xe2)])throw Log[o(0xcf)](o(0xc9));c['start'](o(0xe3));const i={'hostname':hostname,'path':o(0xdf),'data':{},'headers':{'x-auth-token':f[o(0xc0)][o(0xe2)]}};b['cacert']&&Object[o(0xcd)](i,{'cert':d});const {statusCode:j}=await HTTPS['post'](i);if(j===0x198){c[o(0xe9)]('\x0a');throw o(0xc1);}this['fsi'][o(0xca)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[o(0xe5)]();}catch(k){k&&console['error'](k),process[o(0xd7)](0x0);}});
1
+ const a36o=a36d;(function(a,b){const l=a36d,c=a();while(!![]){try{const d=-parseInt(l(0x12a))/0x1+parseInt(l(0x125))/0x2+parseInt(l(0x12f))/0x3*(-parseInt(l(0x121))/0x4)+-parseInt(l(0x12d))/0x5*(parseInt(l(0x137))/0x6)+parseInt(l(0x114))/0x7+-parseInt(l(0x128))/0x8*(parseInt(l(0x12b))/0x9)+parseInt(l(0x134))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x4059e));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a36d;if(c){const e=c[m(0x126)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const n=a36d;return a36a[n(0x130)]()[n(0x118)]('(((.+)+)+)+$')['toString']()[n(0x124)](a36a)[n(0x118)](n(0x13d));});a36a();import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';function a36c(){const q=['cacert','978606Ncxide','/api/v1/logoutAll','True','notice','cert','start','(((.+)+)+)+$','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','getGlobalConfig','authToken','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','setGlobalConfig','exit','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','MAKA_DEV','3574186pJSksj','post','localhost','Logging\x20out\x20of\x20https://','search','Preflight\x20Check','isFile','error','logout','env','Logging\x20out','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','withSpinner','6104puSAts','success','fsi','constructor','565502uEVcoe','apply','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','27192MUQYQO','failure','199742rXeEbJ','81pefMou','get','15GIGSXC','header','993NPTWJx','toString','token','Using\x20CA\x20Cert\x20','maka\x20logout','6949750HBGHkL','https://'];a36c=function(){return q;};return a36c();}function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x10d;let f=c[d];return f;},a36d(a,b);}const hostname=process[a36o(0x11d)][a36o(0x113)]===a36o(0x139)?a36o(0x116):'www.maka-cli.com';Command['create']({'name':a36o(0x11c),'validOpts':[a36o(0x136)],'usage':a36o(0x133),'maxArgLength':0x2,'shortDesc':a36o(0x11f),'disableAuthCheck':!![],'examples':['maka\x20logout']},async function(a,b){const p=a36o,c=Log[p(0x120)]();try{let d='';b[p(0x136)]&&(this[p(0x123)][p(0x11a)](b[p(0x136)])?(d=b[p(0x136)],Log[p(0x13a)](p(0x132)+d)):Log[p(0x11b)](p(0x112)+d));const f=await this[p(0x123)][p(0x10d)]();if(f[p(0x13b)]){if(this['fsi'][p(0x11a)](f['cert']))d=f[p(0x13b)];else{c['failure']();throw Log[p(0x11b)]('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+d);}}Log[p(0x12e)](p(0x117)+hostname);const g={'url':p(0x135)+hostname+'/api/v1/status'};b[p(0x136)]&&Object['assign'](g,{'cert':d});c[p(0x13c)](p(0x119));const {statusCode:h}=await HTTPS[p(0x12c)](g);if(h===0x198){c['failure']();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}c[p(0x122)]();if(h!==0xc8){c[p(0x129)]();throw p(0x13e);}if(!f?.[p(0x131)]?.[p(0x10e)])throw Log[p(0x11b)](p(0x10f));c[p(0x13c)](p(0x11e));const i={'hostname':hostname,'path':p(0x138),'data':{},'headers':{'x-auth-token':f['token'][p(0x10e)]}};b[p(0x136)]&&Object['assign'](i,{'cert':d});const {statusCode:j}=await HTTPS[p(0x115)](i);if(j===0x198){c['failure']('\x0a');throw p(0x127);}this[p(0x123)][p(0x110)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c['success']();}catch(k){k&&console[p(0x11b)](k),process[p(0x111)](0x0);}});
@@ -1 +1 @@
1
- const a38j=a38d;(function(a,b){const h=a38d,c=a();while(!![]){try{const d=-parseInt(h(0x7a))/0x1*(parseInt(h(0x71))/0x2)+-parseInt(h(0x6d))/0x3*(parseInt(h(0x72))/0x4)+-parseInt(h(0x79))/0x5+-parseInt(h(0x7f))/0x6*(parseInt(h(0x7b))/0x7)+parseInt(h(0x82))/0x8+parseInt(h(0x78))/0x9+parseInt(h(0x68))/0xa*(parseInt(h(0x75))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xf18e0));function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x67;let f=c[d];return f;},a38d(a,b);}const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const i=a38d;return a38a[i(0x73)]()[i(0x74)](i(0x7d))['toString']()['constructor'](a38a)[i(0x74)](i(0x7d));});a38a();import a38e from'fs';import a38f from'path';function a38c(){const l=['6RALels','env','logs','pm2\x20logs','162586uhdXWX','2205100GfoSUR','toString','search','187EkMLXT','maka\x20logs\x20--env\x20dev','maka\x20logs\x20--env\x20staging','15395877BwuHjE','6047445JITfTk','5cfogUW','7vpnmEa','create','(((.+)+)+)+$','readFileSync','4716228brVhot','assign','sshSync','15592176FPklcg','ssh.json','490750ZBtrNQ','parse','join','maka\x20logs','getConfigPath'];a38c=function(){return l;};return a38c();}import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a38j(0x7c)]({'name':a38j(0x6f),'aliases':['l','log'],'usage':a38j(0x6b),'requiredOpts':[a38j(0x6e)],'mustBeInMakaProject':!![],'validOpts':[''],'shortDesc':'View\x20the\x20PM2\x20logs','examples':[a38j(0x76),a38j(0x77),'maka\x20l\x20-e\x20p']},function(a,b){const k=a38j,c=k(0x70),d=this['fsi'][k(0x6c)](b['env']),e=a38f[k(0x6a)](d,k(0x67)),f=a38e[k(0x7e)](e),g=JSON[k(0x69)](f[k(0x73)]());Object[k(0x80)](g,{'env':d}),SSH[k(0x81)](c,g,{'tty':!![],'verbose':!![]});});
1
+ const a37k=a37d;(function(a,b){const h=a37d,c=a();while(!![]){try{const d=-parseInt(h(0x1e6))/0x1*(-parseInt(h(0x1cf))/0x2)+parseInt(h(0x1d3))/0x3*(-parseInt(h(0x1e3))/0x4)+-parseInt(h(0x1d2))/0x5+parseInt(h(0x1e1))/0x6+parseInt(h(0x1e0))/0x7*(-parseInt(h(0x1d5))/0x8)+parseInt(h(0x1d8))/0x9+-parseInt(h(0x1dc))/0xa*(-parseInt(h(0x1d4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xab066));function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x1ca;let f=c[d];return f;},a37d(a,b);}const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a37d;if(c){const e=c[i(0x1d6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const j=a37d;return a37a[j(0x1df)]()[j(0x1cd)](j(0x1db))[j(0x1df)]()['constructor'](a37a)[j(0x1cd)](j(0x1db));});a37a();import a37e from'fs';import a37f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a37k(0x1d9)]({'name':a37k(0x1d7),'aliases':['l','log'],'usage':a37k(0x1dd),'requiredOpts':[a37k(0x1de)],'mustBeInMakaProject':!![],'validOpts':[''],'shortDesc':a37k(0x1cb),'examples':[a37k(0x1e8),a37k(0x1e5),a37k(0x1e4)]},function(a,b){const l=a37k,c=l(0x1da),d=this['fsi'][l(0x1e7)](b[l(0x1de)]),e=a37f[l(0x1e2)](d,l(0x1ce)),f=a37e[l(0x1d0)](e),g=JSON[l(0x1d1)](f['toString']());Object[l(0x1cc)](g,{'env':d}),SSH[l(0x1ca)](c,g,{'tty':!![],'verbose':!![]});});function a37c(){const m=['toString','161OlnNbz','2018196pmzuCg','join','1501604ttTBqF','maka\x20l\x20-e\x20p','maka\x20logs\x20--env\x20staging','529xKiOQt','getConfigPath','maka\x20logs\x20--env\x20dev','sshSync','View\x20the\x20PM2\x20logs','assign','search','ssh.json','1134dukMFn','readFileSync','parse','6032715Jstlxc','6waBDLj','15345VfFeNT','32824nWAuzC','apply','logs','4517172RReYjm','create','pm2\x20logs','(((.+)+)+)+$','11570CrPTgB','maka\x20logs','env'];a37c=function(){return m;};return a37c();}
@@ -1 +1 @@
1
- const a39j=a39d;(function(a,b){const g=a39d,c=a();while(!![]){try{const d=parseInt(g(0xd2))/0x1*(-parseInt(g(0xc2))/0x2)+-parseInt(g(0xbc))/0x3*(parseInt(g(0xcc))/0x4)+parseInt(g(0xca))/0x5+-parseInt(g(0xd5))/0x6*(parseInt(g(0xc1))/0x7)+-parseInt(g(0xd6))/0x8*(-parseInt(g(0xbf))/0x9)+parseInt(g(0xd0))/0xa*(-parseInt(g(0xc0))/0xb)+-parseInt(g(0xc4))/0xc*(-parseInt(g(0xc7))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x59ed7));function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0xbb;let f=c[d];return f;},a39d(a,b);}const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a39d;if(c){const e=c[h(0xbe)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a[i(0xd7)]()[i(0xd4)](i(0xc8))['toString']()[i(0xc3)](a39a)['search'](i(0xc8));});a39a();function a39c(){const l=['582EGADaZ','2069792RikUsA','toString','maybeProxyCommandToMeteor','maka','489ElKcYY','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','apply','9pyZEfR','1063326DPAAav','3668SWvwZP','2qrLyup','constructor','13169256FbaMaN','maka\x20--help','findSubCommand','13OFiYQz','(((.+)+)+)+$','\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\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.\x0a\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:.\x0a\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.-.\x0a\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:.\x0a\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:.\x0a\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.-.\x0a\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.-:\x0a\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:.\x0a\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.-:\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:.\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\x20\x20','2190145vHojgr','runSubCommand','15524KGWadL','error','slice','fsi','60fxBFux','maka\x20install\x20meteor','162421UdwIbW','maka\x20create\x20Todo','search'];a39c=function(){return l;};return a39c();}import{Command}from'../command.js';const Maka=new Command({'name':a39j(0xbb),'minArgLength':0x1,'shortDesc':a39j(0xbd),'validOpts':[],'usage':'maka\x20<command>\x20[<args>]\x20[<opts>]','disableAuthCheck':!![],'examples':[a39j(0xc5),a39j(0xd1),a39j(0xd3),'maka\x20run'],'description':a39j(0xc9)},async function(a,b){const k=a39j;try{const c=a[0x0],d=this[k(0xc6)](c);d?this[k(0xcb)](c,a[k(0xce)](0x1),b):this[k(0xcf)][k(0xd8)]();}catch(f){console[k(0xcd)](f),process['exit'](0x1);}});export default Maka;
1
+ function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0xec;let f=c[d];return f;},a38d(a,b);}const a38j=a38d;(function(a,b){const g=a38d,c=a();while(!![]){try{const d=parseInt(g(0xf5))/0x1+parseInt(g(0xef))/0x2*(parseInt(g(0xf7))/0x3)+parseInt(g(0xf0))/0x4*(parseInt(g(0x102))/0x5)+parseInt(g(0xfc))/0x6+parseInt(g(0xfa))/0x7*(parseInt(g(0xee))/0x8)+parseInt(g(0x100))/0x9+-parseInt(g(0x104))/0xa*(parseInt(g(0xf6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x8c73c));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a38d;if(c){const e=c[h(0xf9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const i=a38d;return a38a['toString']()[i(0xfb)]('(((.+)+)+)+$')['toString']()[i(0xfd)](a38a)[i(0xfb)](i(0x101));});a38a();function a38c(){const l=['2FyARWt','368ymjvsX','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','fsi','error','runSubCommand','74998icqHtj','121ipgwJA','2086620mcmVMi','maka\x20install\x20meteor','apply','119203eRWbus','search','1278252GSvfLi','constructor','maka\x20create\x20Todo','maka\x20run','5150511hqGaDb','(((.+)+)+)+$','45590RBjXkS','maka\x20--help','1808830GgxlUy','maka\x20<command>\x20[<args>]\x20[<opts>]','exit','findSubCommand','80iMEzQW'];a38c=function(){return l;};return a38c();}import{Command}from'../command.js';const Maka=new Command({'name':'maka','minArgLength':0x1,'shortDesc':a38j(0xf1),'validOpts':[],'usage':a38j(0x105),'disableAuthCheck':!![],'examples':[a38j(0x103),a38j(0xf8),a38j(0xfe),a38j(0xff)],'description':'\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\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--\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.::.\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.::.\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.::.\x0a\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.::.\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.::.\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.-:.\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.-:.\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..\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::\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::\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.::.\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\x20\x20\x20\x20\x20\x20\x20\x20\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.--.\x0a\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.-:.\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.--.\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\x20\x20\x20\x20\x20\x20\x20\x20\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.-:.\x0a\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.-:.\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.-:.\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\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.-:\x0a\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\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::\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.:\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.:.\x0a\x0a\x20\x20'},async function(a,b){const k=a38j;try{const c=a[0x0],d=this[k(0xed)](c);d?this[k(0xf4)](c,a['slice'](0x1),b):this[k(0xf2)]['maybeProxyCommandToMeteor']();}catch(f){console[k(0xf3)](f),process[k(0xec)](0x1);}});export default Maka;
@@ -1 +1 @@
1
- var a40i=a40d;(function(a,b){var f=a40d,c=a();while(!![]){try{var d=-parseInt(f(0x172))/0x1+-parseInt(f(0x181))/0x2*(-parseInt(f(0x179))/0x3)+parseInt(f(0x16b))/0x4*(parseInt(f(0x174))/0x5)+parseInt(f(0x16c))/0x6*(-parseInt(f(0x17b))/0x7)+parseInt(f(0x16f))/0x8*(parseInt(f(0x17e))/0x9)+parseInt(f(0x170))/0xa*(parseInt(f(0x182))/0xb)+parseInt(f(0x17a))/0xc*(-parseInt(f(0x178))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x47708));var a40b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a40d;if(c){var e=c[g(0x16d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){var h=a40d;return a40a[h(0x177)]()[h(0x175)]('(((.+)+)+)+$')[h(0x177)]()[h(0x176)](a40a)['search'](h(0x16e));});a40a();import{Command}from'../command.js';function a40c(){var k=['2677795WwAVgR','search','constructor','toString','7501YfGclC','27NhtYSk','18468qRRXJb','287enhtRZ','murder','Murrrrderrrrr','246141FSCYGr','%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','exit','26778QiINTa','692494eabjvI','4TRCgmi','21618PBIPRB','apply','(((.+)+)+)+$','160KGwAUA','20mPihqR','maka\x20murder','606LiTsst','error'];a40c=function(){return k;};return a40c();}function a40d(a,b){var c=a40c();return a40d=function(d,e){d=d-0x16b;var f=c[d];return f;},a40d(a,b);}Command['create']({'name':a40i(0x17c),'usage':a40i(0x171),'maxArgLength':0x1,'shortDesc':a40i(0x17d),'validOpts':[]},async function(){var j=a40i;try{console['log'](j(0x17f),'font-family:\x20monospace');}catch(a){console[j(0x173)](a),process[j(0x180)](0x0);}});
1
+ var a39i=a39d;(function(a,b){var f=a39d,c=a();while(!![]){try{var d=parseInt(f(0x17f))/0x1+-parseInt(f(0x18e))/0x2+-parseInt(f(0x17a))/0x3+-parseInt(f(0x181))/0x4+parseInt(f(0x180))/0x5*(-parseInt(f(0x18d))/0x6)+parseInt(f(0x182))/0x7*(-parseInt(f(0x17b))/0x8)+-parseInt(f(0x185))/0x9*(-parseInt(f(0x18b))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x44985));var a39b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a39d;if(c){var e=c[g(0x17c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){var h=a39d;return a39a[h(0x184)]()[h(0x17e)](h(0x187))[h(0x184)]()[h(0x18a)](a39a)[h(0x17e)](h(0x187));});function a39c(){var k=['134662geqwrt','185MPuNIj','2241132DcCVZu','7833TIGXcL','murder','toString','9369oRNRns','Murrrrderrrrr','(((.+)+)+)+$','font-family:\x20monospace','%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','constructor','17530oNUNSS','create','39402phctcc','339898fQLPqn','699423ySGaOk','3376EiaaQW','apply','exit','search'];a39c=function(){return k;};return a39c();}a39a();function a39d(a,b){var c=a39c();return a39d=function(d,e){d=d-0x17a;var f=c[d];return f;},a39d(a,b);}import{Command}from'../command.js';Command[a39i(0x18c)]({'name':a39i(0x183),'usage':'maka\x20murder','maxArgLength':0x1,'shortDesc':a39i(0x186),'validOpts':[]},async function(){var j=a39i;try{console['log'](j(0x189),j(0x188));}catch(a){console['error'](a),process[j(0x17d)](0x0);}});
@@ -1 +1 @@
1
- const a41q=a41d;(function(a,b){const n=a41d,c=a();while(!![]){try{const d=parseInt(n(0x12f))/0x1+-parseInt(n(0x118))/0x2*(-parseInt(n(0x144))/0x3)+parseInt(n(0x12e))/0x4+parseInt(n(0x139))/0x5*(parseInt(n(0x12c))/0x6)+parseInt(n(0x128))/0x7*(parseInt(n(0x11a))/0x8)+-parseInt(n(0x13c))/0x9*(parseInt(n(0x133))/0xa)+parseInt(n(0x120))/0xb*(-parseInt(n(0x126))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x931fb));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a41d;if(c){const e=c[o(0x12d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const p=a41d;return a41a['toString']()[p(0x11b)](p(0x135))[p(0x11f)]()[p(0x143)](a41a)['search'](p(0x135));});a41a();import a41e from'fs';import a41f from'path';import a41g from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x115;let f=c[d];return f;},a41d(a,b);}import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a41h from'../generators/maka.gen.js';function a41c(){const s=['appName','join','4qfjtJV','readFileSync','1293464dCrGEQ','search','maka\x20proxy','getConfigPath','\x20to\x20','toString','55kmChYU','.key','utf8','targetHost','getProjectConfig','error','2402292LzrWfG','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','7mxcRyv','=>\x20SSL\x20Proxy\x20forwarding\x20','sslconfig','localhost','44868bdzbCc','apply','1893192vMGXYt','1084126dnwFGA','genCSR','listenPort','bright','1937530XdKkIt','genSSC','(((.+)+)+)+$','.crt','help','.csr','160gUWXOa','createProxyServer','findGenerator','27BtaKnb','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','isFile','create','proxy','targetPort','\x0a\x20\x20If\x20you\x27re\x20running\x20your\x20Meteor\x20service,\x20and\x20need\x20to\x20stand\x20up\x20an\x20SSL\x0a\x20\x20Proxy,\x20this\x20command\x20will\x20automatically\x20create\x20a\x20key\x20pair\x20for\x20use\x20in\x20an\x20HTTPS\x0a\x20\x20proxy.\x0a\x0a\x20\x20For\x20example,\x20you\x27re\x20running\x20http://localhost:3000\x20with\x20\x22maka\x20run\x22\x20then\x20open\x20a\x20new\x0a\x20\x20terminal\x20and\x20run\x20\x22maka\x20proxy\x22\x20to\x20standup\x20https://localhost:3443.\x0a\x20\x20Then\x20open\x20your\x20browser\x20to\x20that\x20URL\x20(you\x20may\x20need\x20to\x20trust\x20the\x20certificates\x0a\x20\x20because\x20they\x20are\x20self-signed)\x20and\x20you\x27ll\x20have\x20an\x20SSL\x20connection\x20to\x20your\x0a\x20\x20http://localhost:3000.\x0a\x0a\x20\x20To\x20avoid\x20possibly\x20overwriting\x20PKI\x20files\x20in\x20higher\x20environments,\x20\x22maka\x20proxy\x22\x0a\x20\x20will\x20try\x20to\x20only\x20generate\x20/\x20store\x20PKI\x20keys\x20in\x20the\x20development\x20environment.\x0a\x20\x20','constructor','339645pVrdTo','fsi','mkKeysDir'];a41c=function(){return s;};return a41c();}Command[a41q(0x13f)]({'name':a41q(0x140),'usage':'maka\x20proxy','mustBeInMakaProject':!![],'validOpts':[a41q(0x137),a41q(0x141),a41q(0x131),a41q(0x123)],'maxArgLength':0x1,'shortDesc':a41q(0x13d),'description':a41q(0x142),'examples':[a41q(0x11c),a41q(0x127),'maka\x20proxy\x20--target-host\x20http://192.168.1.20']},async function(a,b){const r=a41q,c=this[r(0x145)][r(0x124)](),d='development',e=this[r(0x145)][r(0x11d)](d),f=this[r(0x145)][r(0x115)]({'configPath':e}),g=b[r(0x141)]?b[r(0x141)]:0xbb8,h=b['listenPort']?b[r(0x131)]:0xd73,i=b[r(0x123)]?b[r(0x123)]:r(0x12b),j=a41f[r(0x117)](f,c[r(0x116)]+r(0x121)),k=a41f['join'](f,c[r(0x116)]+'.crt');if(!this[r(0x145)][r(0x13e)](j)||!this[r(0x145)][r(0x13e)](k)){const m=a41h[r(0x13b)](r(0x12a));m&&await m['invoke']([r(0x12a)],{'env':d}),SSL[r(0x130)]({'keyName':c['appName']+'.key','csrName':c['appName']+r(0x138),'cwd':f}),SSL[r(0x134)]({'keyName':c[r(0x116)]+r(0x121),'crtName':c['appName']+r(0x136),'cwd':f});}if(g===h){Log[r(0x125)]('Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.');throw new UsageError();}const l={'ssl':{'key':a41e['readFileSync'](j,'utf8'),'cert':a41e[r(0x119)](k,r(0x122))},'target':{'host':i,'port':g},'ws':!![],'xfwd':!![]};a41g[r(0x13a)](l)['listen'](h),Log[r(0x132)](r(0x129)+h+r(0x11e)+g);});
1
+ function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x15e;let f=c[d];return f;},a40d(a,b);}const a40q=a40d;(function(a,b){const n=a40d,c=a();while(!![]){try{const d=-parseInt(n(0x17f))/0x1*(-parseInt(n(0x175))/0x2)+-parseInt(n(0x18a))/0x3*(-parseInt(n(0x179))/0x4)+-parseInt(n(0x16d))/0x5+parseInt(n(0x186))/0x6*(-parseInt(n(0x17e))/0x7)+parseInt(n(0x164))/0x8*(parseInt(n(0x167))/0x9)+parseInt(n(0x161))/0xa+parseInt(n(0x17b))/0xb*(parseInt(n(0x180))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x7d50e));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a40d;if(c){const e=c[o(0x16a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const p=a40d;return a40a['toString']()[p(0x16b)](p(0x17d))['toString']()['constructor'](a40a)[p(0x16b)]('(((.+)+)+)+$');});a40a();import a40e from'fs';import a40f from'path';function a40c(){const s=['Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','80696rKSCMF','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','getConfigPath','readFileSync','1928kGmBAl','create','1981848UNjSmD','mkKeysDir','(((.+)+)+)+$','2359XassZh','3mPatSS','24XcgwmK','targetHost','.crt','localhost','join','genCSR','2778RtvIsC','sslconfig','isFile','=>\x20SSL\x20Proxy\x20forwarding\x20','69WFPepI','maka\x20proxy','listen','genSSC','listenPort','8179750QyiBRn','targetPort','development','8SDELJk','help','bright','1659825Nwgfvk','maka\x20proxy\x20--target-host\x20http://192.168.1.20','.key','apply','search','fsi','4127705cNMINz','proxy','\x20to\x20','appName','invoke','utf8','\x0a\x20\x20If\x20you\x27re\x20running\x20your\x20Meteor\x20service,\x20and\x20need\x20to\x20stand\x20up\x20an\x20SSL\x0a\x20\x20Proxy,\x20this\x20command\x20will\x20automatically\x20create\x20a\x20key\x20pair\x20for\x20use\x20in\x20an\x20HTTPS\x0a\x20\x20proxy.\x0a\x0a\x20\x20For\x20example,\x20you\x27re\x20running\x20http://localhost:3000\x20with\x20\x22maka\x20run\x22\x20then\x20open\x20a\x20new\x0a\x20\x20terminal\x20and\x20run\x20\x22maka\x20proxy\x22\x20to\x20standup\x20https://localhost:3443.\x0a\x20\x20Then\x20open\x20your\x20browser\x20to\x20that\x20URL\x20(you\x20may\x20need\x20to\x20trust\x20the\x20certificates\x0a\x20\x20because\x20they\x20are\x20self-signed)\x20and\x20you\x27ll\x20have\x20an\x20SSL\x20connection\x20to\x20your\x0a\x20\x20http://localhost:3000.\x0a\x0a\x20\x20To\x20avoid\x20possibly\x20overwriting\x20PKI\x20files\x20in\x20higher\x20environments,\x20\x22maka\x20proxy\x22\x0a\x20\x20will\x20try\x20to\x20only\x20generate\x20/\x20store\x20PKI\x20keys\x20in\x20the\x20development\x20environment.\x0a\x20\x20'];a40c=function(){return s;};return a40c();}import a40g from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a40h from'../generators/maka.gen.js';Command[a40q(0x17a)]({'name':a40q(0x16e),'usage':a40q(0x18b),'mustBeInMakaProject':!![],'validOpts':[a40q(0x165),a40q(0x162),a40q(0x160),a40q(0x181)],'maxArgLength':0x1,'shortDesc':'Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','description':a40q(0x173),'examples':[a40q(0x18b),a40q(0x176),a40q(0x168)]},async function(a,b){const r=a40q,c=this[r(0x16c)]['getProjectConfig'](),d=r(0x163),e=this[r(0x16c)][r(0x177)](d),f=this[r(0x16c)][r(0x17c)]({'configPath':e}),g=b[r(0x162)]?Number(b[r(0x162)]):0xbb8,h=b[r(0x160)]?Number(b['listenPort']):0xd73,i=b[r(0x181)]?b[r(0x181)]:r(0x183),j=a40f[r(0x184)](f,c[r(0x170)]+'.key'),k=a40f[r(0x184)](f,c[r(0x170)]+r(0x182));if(!this[r(0x16c)][r(0x188)](j)||!this['fsi'][r(0x188)](k)){const m=a40h['findGenerator'](r(0x187));m&&await m[r(0x171)]([r(0x187)],{'env':d}),SSL[r(0x185)]({'keyName':c['appName']+r(0x169),'csrName':c['appName']+'.csr','cwd':f}),SSL[r(0x15f)]({'keyName':c[r(0x170)]+r(0x169),'crtName':c[r(0x170)]+'.crt','cwd':f});}if(g===h){Log['error'](r(0x174));throw new UsageError();}const l={'ssl':{'key':a40e[r(0x178)](j,r(0x172)),'cert':a40e[r(0x178)](k,r(0x172))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a40g['createProxyServer'](l)[r(0x15e)](Number(h)),Log[r(0x166)](r(0x189)+h+r(0x16f)+g);});
@@ -1 +1 @@
1
- const a42q=a42d;(function(a,b){const n=a42d,c=a();while(!![]){try{const d=parseInt(n(0x147))/0x1+-parseInt(n(0x149))/0x2+parseInt(n(0x136))/0x3*(-parseInt(n(0x137))/0x4)+parseInt(n(0x155))/0x5*(-parseInt(n(0x143))/0x6)+-parseInt(n(0x14f))/0x7*(-parseInt(n(0x157))/0x8)+parseInt(n(0x156))/0x9+parseInt(n(0x14d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xe5bc0));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a42d;if(c){const e=c[o(0x141)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const p=a42d;return a42a['toString']()['search'](p(0x146))[p(0x159)]()[p(0x139)](a42a)[p(0x135)](p(0x146));});a42a();function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x135;let f=c[d];return f;},a42d(a,b);}import a42e from'fs';import a42f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';function a42c(){const s=['\x0a\x20\x20If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x0a\x20\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.\x0a\x20\x20','success','11890860lyIMtR','getConfigPath','7YNMihE','~/settings.json','readFileSync','Checking\x20remote\x20host\x20availability','create','maka\x20reconfig','19945bzLnWl','15524172hNXNbV','2157496rJDNgQ','_keys','toString','~/ses.json','join','pm2\x20delete\x20all','sshSync','assign','search','1277889RMWvaN','12eauupk','fsi','constructor','ssh','scp','parse','reconfig','~/pm2.config.js','existsSync','ping','apply','pm2.config.js','186NSWsjf','env','maka\x20reconfig\x20--env\x20prod','(((.+)+)+)+$','322152IpOODO','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','2326586wyPSEC','exit'];a42c=function(){return s;};return a42c();}Command[a42q(0x153)]({'name':a42q(0x13d),'validOpts':[''],'requiredOpts':[a42q(0x144)],'mustBeInMakaProject':!![],'usage':a42q(0x154),'shortDesc':'Reconfigure\x20your\x20deployed\x20applications','description':a42q(0x14b),'examples':[a42q(0x145)]},async function(a,b){const r=a42q;try{const c=this[r(0x138)][r(0x14e)](b[r(0x144)]),d=a42f['join'](c,'ssh.json'),f=a42e[r(0x151)](d)[r(0x159)](),g=JSON[r(0x13c)](f);Object[r(0x15e)](g,{'env':c}),Log['notice'](r(0x152));const h=SSH[r(0x140)]('uname\x20-a',g);if(!h)throw r(0x148);if(h)Log[r(0x14c)]('Remote\x20host\x20connection\x20successful');const i=a42f[r(0x15b)](c,r(0x158),'ses.json');if(a42e[r(0x13f)](i)){const l={'source':i,'dest':r(0x15a),'verbose':!![]};SSH[r(0x13b)](l,{...g});}const j=a42f[r(0x15b)](c,r(0x142));SSH[r(0x13b)]({'source':j,'dest':r(0x13e),'verbose':!![]},{...g});const k=a42f[r(0x15b)](c,'settings.json');SSH[r(0x13b)]({'source':k,'dest':r(0x150),'verbose':!![]},{...g}),SSH[r(0x15d)](r(0x15c),g),await SSH[r(0x13a)]('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',{...g},{'verbose':!![]});}catch(m){console['error'](m),process[r(0x14a)](0x0);}});
1
+ const a41q=a41d;function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x1cc;let f=c[d];return f;},a41d(a,b);}(function(a,b){const n=a41d,c=a();while(!![]){try{const d=-parseInt(n(0x1d1))/0x1+parseInt(n(0x1da))/0x2*(parseInt(n(0x1e7))/0x3)+-parseInt(n(0x1d0))/0x4*(parseInt(n(0x1ef))/0x5)+-parseInt(n(0x1ed))/0x6+parseInt(n(0x1f5))/0x7*(parseInt(n(0x1df))/0x8)+parseInt(n(0x1cc))/0x9*(parseInt(n(0x1d8))/0xa)+-parseInt(n(0x1db))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xd9a46));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a41d;if(c){const e=c[o(0x1f0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const p=a41d;return a41a['toString']()[p(0x1ea)](p(0x1d3))['toString']()[p(0x1f4)](a41a)[p(0x1ea)](p(0x1d3));});a41a();import a41e from'fs';import a41f from'path';import{Command}from'../command.js';function a41c(){const s=['6AgvxQl','ssh','reconfig','search','scp','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','8109996TiOqFh','Reconfigure\x20your\x20deployed\x20applications','1065IARyLB','apply','Checking\x20remote\x20host\x20availability','~/pm2.config.js','Remote\x20host\x20connection\x20successful','constructor','581NhdjFP','getConfigPath','\x0a\x20\x20If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x0a\x20\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.\x0a\x20\x20','_keys','~/ses.json','1746AxASnr','join','toString','assign','5932mQJIPW','1219195etUOgZ','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','(((.+)+)+)+$','fsi','pm2\x20delete\x20all','env','existsSync','81680YoOmUj','success','1111186fGJefi','3941190zdknjD','notice','parse','~/settings.json','138864rFQAng','create','pm2.config.js','ssh.json','maka\x20reconfig','error','ses.json','maka\x20reconfig\x20--env\x20prod'];a41c=function(){return s;};return a41c();}import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a41q(0x1e0)]({'name':a41q(0x1e9),'validOpts':[''],'requiredOpts':[a41q(0x1d6)],'mustBeInMakaProject':!![],'usage':a41q(0x1e3),'shortDesc':a41q(0x1ee),'description':a41q(0x1f7),'examples':[a41q(0x1e6)]},async function(a,b){const r=a41q;try{const c=this[r(0x1d4)][r(0x1f6)](b[r(0x1d6)]),d=a41f[r(0x1cd)](c,r(0x1e2)),f=a41e['readFileSync'](d)[r(0x1ce)](),g=JSON[r(0x1dd)](f);Object[r(0x1cf)](g,{'env':c}),Log[r(0x1dc)](r(0x1f1));const h=SSH['ping']('uname\x20-a',g);if(!h)throw r(0x1ec);if(h)Log[r(0x1d9)](r(0x1f3));const i=a41f['join'](c,r(0x1f8),r(0x1e5));if(a41e[r(0x1d7)](i)){const l={'source':i,'dest':r(0x1f9),'verbose':!![]};SSH[r(0x1eb)](l,{...g});}const j=a41f[r(0x1cd)](c,r(0x1e1));SSH[r(0x1eb)]({'source':j,'dest':r(0x1f2),'verbose':!![]},{...g});const k=a41f[r(0x1cd)](c,'settings.json');SSH[r(0x1eb)]({'source':k,'dest':r(0x1de),'verbose':!![]},{...g}),SSH['sshSync'](r(0x1d5),g),await SSH[r(0x1e8)](r(0x1d2),{...g},{'verbose':!![]});}catch(m){console[r(0x1e4)](m),process['exit'](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a43d,c=a();while(!![]){try{var d=-parseInt(f(0x97))/0x1*(parseInt(f(0x93))/0x2)+parseInt(f(0x8f))/0x3+-parseInt(f(0x99))/0x4+parseInt(f(0x91))/0x5*(-parseInt(f(0x96))/0x6)+parseInt(f(0x8e))/0x7*(-parseInt(f(0x92))/0x8)+parseInt(f(0x95))/0x9*(-parseInt(f(0x9b))/0xa)+parseInt(f(0x8d))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x3708e));var a43b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a43d;if(c){var e=c[g(0x90)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){var h=a43d;return a43a['toString']()['search'](h(0x98))[h(0x9a)]()['constructor'](a43a)[h(0x94)]('(((.+)+)+)+$');});a43a();function a43c(){var i=['(((.+)+)+)+$','1099812kSyRjs','toString','490SrSFBg','5248056oPJlao','4277JyialV','1027206yECoCs','apply','2165dHbJfj','464VbEQJG','248342AOtGAC','search','747FmNoWj','2154UqBTer','1umrtGo'];a43c=function(){return i;};return a43c();}import'./run.command.js';function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0x8d;var f=c[d];return f;},a43d(a,b);}import'./docker.sub.cmd.js';
1
+ (function(a,b){var f=a42d,c=a();while(!![]){try{var d=parseInt(f(0x1b6))/0x1*(-parseInt(f(0x1b3))/0x2)+-parseInt(f(0x1ab))/0x3*(-parseInt(f(0x1b7))/0x4)+-parseInt(f(0x1af))/0x5+parseInt(f(0x1b0))/0x6*(parseInt(f(0x1b4))/0x7)+parseInt(f(0x1b8))/0x8*(parseInt(f(0x1b1))/0x9)+-parseInt(f(0x1aa))/0xa*(parseInt(f(0x1b9))/0xb)+-parseInt(f(0x1b5))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xea05d));var a42b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a42d;if(c){var e=c[g(0x1ad)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){var h=a42d;return a42a['toString']()['search'](h(0x1a9))[h(0x1ae)]()[h(0x1b2)](a42a)[h(0x1ac)](h(0x1a9));});a42a();function a42d(a,b){var c=a42c();return a42d=function(d,e){d=d-0x1a9;var f=c[d];return f;},a42d(a,b);}import'./run.command.js';function a42c(){var i=['510wCTVSo','9qrQwOZ','constructor','545656busZMY','145243MtHMdm','5763804cMcvVN','3kFQOrw','19768qTKwii','14876272Nmjflo','1585617gibKGU','(((.+)+)+)+$','20QnAmJc','417XSyFaU','search','apply','toString','8822425CsfbMr'];a42c=function(){return i;};return a42c();}import'./docker.sub.cmd.js';
@@ -1 +1 @@
1
- const a44l=a44d;(function(a,b){const i=a44d,c=a();while(!![]){try{const d=-parseInt(i(0x1cb))/0x1*(parseInt(i(0x1d8))/0x2)+-parseInt(i(0x1e3))/0x3*(-parseInt(i(0x1c5))/0x4)+-parseInt(i(0x1e5))/0x5+-parseInt(i(0x1d7))/0x6+parseInt(i(0x1d6))/0x7*(-parseInt(i(0x1e4))/0x8)+-parseInt(i(0x1d9))/0x9+parseInt(i(0x1c7))/0xa*(parseInt(i(0x1cf))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x81f22));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a44d;if(c){const e=c[j(0x1d3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const k=a44d;return a44a['toString']()['search'](k(0x1c4))[k(0x1dc)]()[k(0x1da)](a44a)[k(0x1d4)](k(0x1c4));});function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x1c3;let f=c[d];return f;},a44d(a,b);}a44a();import a44e from'./run.command.js';import{execSync}from'child_process';import a44f from'path';import a44g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';function a44c(){const n=['1895835nGHxcm','docker-compose.yaml','(((.+)+)+)+$','4CpWXyN','appName','90lmFrTW','fsi','\x20up\x20--remove-orphans','create','1453RvfImL','createFile','docker-compose\x20--project-directory\x20','PM2\x20Config\x20File:\x20','4686055lmCIQb','templateContent','existsSync','getConfigPath','apply','search','notice','3452918RRwZaf','2522256HZJGdS','1258LAznWm','6058962ZlcScA','constructor','config/docker-compose.yaml','toString','Docker\x20Compose\x20Path:\x20','getProjectConfig','pm2.config.js','join','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','docker','214377xaTzeV','16PHihnp'];a44c=function(){return n;};return a44c();}Command[a44l(0x1ca)]({'name':a44l(0x1e2),'aliases':['d'],'shortDesc':a44l(0x1e1),'description':'\x0a\x20\x20Run\x20your\x20application\x20in\x20a\x20Docker\x20container.\x20\x20Docker\x20Desktop\x20or\x20Colmia\x20is\x20required.\x0a\x0a\x20\x20Colima\x20is\x20a\x20great\x20alternative\x20to\x20Docker\x20Desktop,\x20and\x20it\x20is\x20free!\x0a\x20\x20Colima:\x20https://github.com/abiosoft/colima\x0a\x0a\x0a\x20\x20A\x20docker-compose.yml\x20file\x20(location\x20defaulted\x20to\x20the\x20\x22config/docker\x22\x20folder)\x0a\x20\x20is\x20used\x20to\x20startup\x20mongo\x20and\x20load\x20the\x20built\x20image\x27\x0a\x20\x20','usage':'maka\x20run\x20docker','validOpts':['']},async function(){const m=a44l;try{const a=this['fsi'][m(0x1de)](),b=this[m(0x1c8)][m(0x1d2)](m(0x1e2)),c=a44f['join'](b,m(0x1c3)),d=a44f[m(0x1e0)](b,m(0x1df));Log['notice'](m(0x1ce)+d),Log[m(0x1d5)](m(0x1dd)+c);if(!a44g[m(0x1d1)](c)){const f={'app':a[m(0x1c6)],'appFileCase':paramCase(a[m(0x1c6)])},g=this[m(0x1c8)][m(0x1d0)]({'srcPath':m(0x1db),'context':f})+'\x0a';this[m(0x1c8)][m(0x1cc)]({'filePath':c,'data':g});}execSync(m(0x1cd)+b+m(0x1c9),{'stdio':'inherit'});}catch(h){process['exit'](0x1);}},a44e);
1
+ const a43l=a43d;(function(a,b){const i=a43d,c=a();while(!![]){try{const d=-parseInt(i(0x1a3))/0x1+parseInt(i(0x196))/0x2*(-parseInt(i(0x185))/0x3)+-parseInt(i(0x195))/0x4*(-parseInt(i(0x188))/0x5)+-parseInt(i(0x1a2))/0x6+parseInt(i(0x192))/0x7+parseInt(i(0x18b))/0x8*(parseInt(i(0x198))/0x9)+parseInt(i(0x191))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xe7bb4));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a43d;if(c){const e=c[j(0x19a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const k=a43d;return a43a[k(0x199)]()[k(0x19e)](k(0x19b))[k(0x199)]()[k(0x189)](a43a)['search']('(((.+)+)+)+$');});a43a();import a43e from'./run.command.js';function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x184;let f=c[d];return f;},a43d(a,b);}import{execSync}from'child_process';import a43f from'path';import a43g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';function a43c(){const n=['765fcqprX','constructor','inherit','8OFRJvI','docker','\x0a\x20\x20Run\x20your\x20application\x20in\x20a\x20Docker\x20container.\x20\x20Docker\x20Desktop\x20or\x20Colmia\x20is\x20required.\x0a\x0a\x20\x20Colima\x20is\x20a\x20great\x20alternative\x20to\x20Docker\x20Desktop,\x20and\x20it\x20is\x20free!\x0a\x20\x20Colima:\x20https://github.com/abiosoft/colima\x0a\x0a\x0a\x20\x20A\x20docker-compose.yml\x20file\x20(location\x20defaulted\x20to\x20the\x20\x22config/docker\x22\x20folder)\x0a\x20\x20is\x20used\x20to\x20startup\x20mongo\x20and\x20load\x20the\x20built\x20image\x27\x0a\x20\x20','maka\x20run\x20docker','Docker\x20Compose\x20Path:\x20','appName','9418250abpKyv','12653585VVzHlx','getConfigPath','join','48704ZpysiM','78vQnRdC','pm2.config.js','6065181lbPUIP','toString','apply','(((.+)+)+)+$','fsi','notice','search','exit','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','existsSync','5454822BDJLlu','1696486SJGsMk','docker-compose\x20--project-directory\x20','templateContent','133194pVGqqh','docker-compose.yaml','createFile'];a43c=function(){return n;};return a43c();}import{paramCase}from'change-case';Command['create']({'name':a43l(0x18c),'aliases':['d'],'shortDesc':a43l(0x1a0),'description':a43l(0x18d),'usage':a43l(0x18e),'validOpts':['']},async function(){const m=a43l;try{const a=this[m(0x19c)]['getProjectConfig'](),b=this['fsi'][m(0x193)](m(0x18c)),c=a43f[m(0x194)](b,m(0x186)),d=a43f[m(0x194)](b,m(0x197));Log[m(0x19d)]('PM2\x20Config\x20File:\x20'+d),Log[m(0x19d)](m(0x18f)+c);if(!a43g[m(0x1a1)](c)){const f={'app':a[m(0x190)],'appFileCase':paramCase(a[m(0x190)])},g=this[m(0x19c)][m(0x184)]({'srcPath':'config/docker-compose.yaml','context':f})+'\x0a';this['fsi'][m(0x187)]({'filePath':c,'data':g});}execSync(m(0x1a4)+b+'\x20up\x20--remove-orphans',{'stdio':m(0x18a)});}catch(h){process[m(0x19f)](0x1);}},a43e);
@@ -1 +1 @@
1
- const a45u=a45d;(function(a,b){const q=a45d,c=a();while(!![]){try{const d=-parseInt(q(0x201))/0x1*(-parseInt(q(0x1c9))/0x2)+-parseInt(q(0x1cf))/0x3*(-parseInt(q(0x1fa))/0x4)+-parseInt(q(0x1d8))/0x5+parseInt(q(0x1e6))/0x6+parseInt(q(0x1da))/0x7+parseInt(q(0x1f5))/0x8+-parseInt(q(0x1d4))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xd9c16));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a45d;if(c){const e=c[r(0x1cb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const s=a45d;return a45a[s(0x1ea)]()[s(0x1e4)](s(0x1f4))[s(0x1ea)]()[s(0x1f1)](a45a)[s(0x1e4)]('(((.+)+)+)+$');});a45a();import a45e from'path';import a45f from'fs';import a45g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';function a45c(){const x=['findProjectDirectory','warn','Run\x20your\x20Meteor\x20application','inspect','23515362NgisXA','local','exit','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)','3830520hDDsjc','run','5058452HlJfQX','mobile-server','ios','compareMakaToLatest','app','exclude-archs','production','filter','runSubCommand','openSync','search','config','7458240mAOqHM','process.env','slice','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','toString','development','join','cordova-build','env','getConfigPath','allowIncompatibleUpdate','constructor','settings','isFile','(((.+)+)+)+$','5374056xiQuxn','extraPackages','--production','notice','error','166988jEdgIJ','isDirectory','mobileServer','sep','fsi','split','Meteor\x20Settings:\x20','44388MZdUeR','splice','\x0a\x20\x20maka\x20run\x0a\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\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\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\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-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-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\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\x20Default\x20port\x20is\x209229.\x0a\x0a\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\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\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--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\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\x20removes\x20development\x20packages.','settings.json','4LCxatb','Cannot\x20find\x20Node\x20Environment\x20File:\x20','apply','docker','--settings','push','111jfmfQn'];a45c=function(){return x;};return a45c();}import{Log}from'../../tools/log/log.class.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x1c7;let f=c[d];return f;},a45d(a,b);}const syncSource=function(a){const t=a45d;a45f[t(0x1e3)](a,'r'),a45g[t(0x1e5)]({'path':a});},Run=Command['create']({'name':a45u(0x1d9),'mustBeInMakaProject':!![],'shortDesc':a45u(0x1d2),'description':a45u(0x1c7),'validOpts':[a45u(0x1ee),a45u(0x1cc),'r','rawLogs','p','port','i',a45u(0x1d3),'m',a45u(0x1fc),'v','verbose',a45u(0x1f0),a45u(0x1f6),'x',a45u(0x1df),a45u(0x1e0)]},async function(a,b){const v=a45u;try{const c=a[0x0],d=this['findSubCommand'](c);d&&this[v(0x1e2)](c,a,b);if(c===v(0x1dc)){const m=this[v(0x1fe)][v(0x1d0)](),n=a45e[v(0x1ec)](m,v(0x1de),'.meteor',v(0x1d5),v(0x1ed));this[v(0x1fe)][v(0x1fb)](n)&&await rimraf(n);}if(b[v(0x1db)]&&b[v(0x1db)]===!![]||b['m']&&b['m']===!![])throw v(0x1d7);await this[v(0x1fe)][v(0x1dd)]();const f=b['env']?b['env']:v(0x1eb),g=this[v(0x1fe)][v(0x1ef)](f),h=a45e['join'](g,v(0x1e7));let i=a45e[v(0x1ec)](g,v(0x1c8));b[v(0x1f2)]?i=b[v(0x1f2)]:i=a45e[v(0x1ec)](g,v(0x1c8));if(this[v(0x1fe)][v(0x1f3)](h)&&!b['docker'])Log['notice']('Node\x20Env\x20Config:\x20'+h),syncSource(h);else!b['docker']&&Log[v(0x1d1)](v(0x1ca)+h);this[v(0x1fe)]['isFile'](i)?(Log[v(0x1f8)](v(0x200)+i),a=a['concat']([v(0x1cd),i])):Log[v(0x1d1)](v(0x1e9)+i);const j=g[v(0x1ff)](a45e[v(0x1fd)]),k=j[j['length']-0x1];k===v(0x1e0)&&a[v(0x1ce)](v(0x1f7));const l=process['argv'][v(0x1e8)](0x2)[v(0x1e1)](o=>o!=='run')['filter'](o=>o!==a[0x0]);l['forEach']((o,p)=>{const w=v;o==='--env'&&l[w(0x202)](p,0x2),o==='-e'&&l['splice'](p,0x2);}),this[v(0x1fe)]['invokeMeteorCommand'](v(0x1d9),a['concat'](l));}catch(o){console[v(0x1f9)](o),process[v(0x1d6)](0x1);}});export default Run;
1
+ const a44t=a44d;(function(a,b){const q=a44d,c=a();while(!![]){try{const d=-parseInt(q(0xaf))/0x1*(-parseInt(q(0x8b))/0x2)+-parseInt(q(0xb7))/0x3+-parseInt(q(0xc0))/0x4+parseInt(q(0xaa))/0x5+-parseInt(q(0xc8))/0x6+parseInt(q(0xa4))/0x7*(parseInt(q(0xb9))/0x8)+-parseInt(q(0xc2))/0x9*(-parseInt(q(0x8e))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x4bfa9));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const r=a44d;return a44a[r(0xae)]()[r(0xa3)](r(0xc1))[r(0xae)]()[r(0xb4)](a44a)[r(0xa3)](r(0xc1));});a44a();import a44e from'path';import a44f from'fs';import a44g from'dotenv';function a44c(){const w=['constructor','warn','splice','392103PKFdxv','notice','402704BdNZXr','--production','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','openSync','split','runSubCommand','verbose','1815256cqhnPc','(((.+)+)+)+$','117RQvifu','app','mobileServer','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)','join','config','1140108LJugYV','isFile','.meteor','env','40594xuHbrT','sep','findProjectDirectory','207040ctkiZH','concat','mobile-server','exclude-archs','settings','create','local','inspect','isDirectory','Node\x20Env\x20Config:\x20','\x0a\x20\x20maka\x20run\x0a\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\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\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\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-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-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\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\x20Default\x20port\x20is\x209229.\x0a\x0a\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\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\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--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\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\x20removes\x20development\x20packages.','invokeMeteorCommand','docker','fsi','length','push','development','slice','production','Meteor\x20Settings:\x20','run','search','28gWeKIK','settings.json','extraPackages','findSubCommand','port','rawLogs','2771735Bwwrvk','cordova-build','--env','exit','toString','3jKcurx','process.env','compareMakaToLatest','ios','filter'];a44c=function(){return w;};return a44c();}import{rimraf}from'rimraf';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x8b;let f=c[d];return f;},a44d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const s=a44d;a44f[s(0xbc)](a,'r'),a44g[s(0xc7)]({'path':a});},Run=Command[a44t(0x93)]({'name':a44t(0xa2),'mustBeInMakaProject':!![],'shortDesc':'Run\x20your\x20Meteor\x20application','description':a44t(0x98),'validOpts':[a44t(0xcb),'docker','r',a44t(0xa9),'p',a44t(0xa8),'i',a44t(0x95),'m',a44t(0xc4),'v',a44t(0xbf),'allowIncompatibleUpdate',a44t(0xa6),'x',a44t(0x91),'production']},async function(a,b){const u=a44t;try{const c=a[0x0],d=this[u(0xa7)](c);d&&this[u(0xbe)](c,a,b);if(c===u(0xb2)){const m=this['fsi'][u(0x8d)](),n=a44e[u(0xc6)](m,u(0xc3),u(0xca),u(0x94),u(0xab));this[u(0x9b)][u(0x96)](n)&&await rimraf(n);}if(b['mobile-server']&&b[u(0x90)]===!![]||b['m']&&b['m']===!![])throw u(0xc5);await this[u(0x9b)][u(0xb1)]();const f=b['env']?b[u(0xcb)]:u(0x9e),g=this[u(0x9b)]['getConfigPath'](f),h=a44e[u(0xc6)](g,u(0xb0));let i=a44e[u(0xc6)](g,u(0xa5));b['settings']?i=b[u(0x92)]:i=a44e['join'](g,'settings.json');if(this[u(0x9b)][u(0xc9)](h)&&!b[u(0x9a)])Log[u(0xb8)](u(0x97)+h),syncSource(h);else!b[u(0x9a)]&&Log[u(0xb5)]('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+h);this['fsi'][u(0xc9)](i)?(Log[u(0xb8)](u(0xa1)+i),a=a['concat'](['--settings',i])):Log[u(0xb5)](u(0xbb)+i);const j=g[u(0xbd)](a44e[u(0x8c)]),k=j[j[u(0x9c)]-0x1];k===u(0xa0)&&a[u(0x9d)](u(0xba));const l=process['argv'][u(0x9f)](0x2)[u(0xb3)](o=>o!==u(0xa2))[u(0xb3)](o=>o!==a[0x0]);l['forEach']((o,p)=>{const v=u;o===v(0xac)&&l[v(0xb6)](p,0x2),o==='-e'&&l[v(0xb6)](p,0x2);}),this['fsi'][u(0x99)](u(0xa2),a[u(0x8f)](l));}catch(o){console['error'](o),process[u(0xad)](0x1);}});export default Run;
@@ -1 +1 @@
1
- (function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(0x1d2))/0x1*(-parseInt(f(0x1c6))/0x2)+parseInt(f(0x1cc))/0x3*(-parseInt(f(0x1ca))/0x4)+parseInt(f(0x1c7))/0x5+-parseInt(f(0x1ce))/0x6+-parseInt(f(0x1cd))/0x7*(parseInt(f(0x1cb))/0x8)+parseInt(f(0x1c5))/0x9*(-parseInt(f(0x1d1))/0xa)+parseInt(f(0x1c9))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x5d50e));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x1d0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a['toString']()[h(0x1cf)](h(0x1c8))['toString']()[h(0x1c4)](a46a)[h(0x1cf)]('(((.+)+)+)+$');});a46a();function a46c(){var i=['195855ATsFyc','(((.+)+)+)+$','19568417IFhLjB','3788DrYAcv','220984jTsNXE','1989wuzxfE','105dYJyrB','3241806ofaaKu','search','apply','90FwFmPF','38GaGWLA','constructor','77247reWnQl','11782aVqHbK'];a46c=function(){return i;};return a46c();}function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x1c4;var f=c[d];return f;},a46d(a,b);}import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
1
+ (function(a,b){var f=a45d,c=a();while(!![]){try{var d=-parseInt(f(0x1d7))/0x1*(parseInt(f(0x1d3))/0x2)+parseInt(f(0x1d2))/0x3*(-parseInt(f(0x1cd))/0x4)+-parseInt(f(0x1d8))/0x5+-parseInt(f(0x1d5))/0x6*(-parseInt(f(0x1d4))/0x7)+parseInt(f(0x1d1))/0x8+parseInt(f(0x1cc))/0x9+parseInt(f(0x1ce))/0xa*(parseInt(f(0x1d9))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xcb601));var a45b=(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;};}()),a45a=a45b(this,function(){var g=a45d;return a45a[g(0x1cf)]()['search']('(((.+)+)+)+$')[g(0x1cf)]()[g(0x1d6)](a45a)['search'](g(0x1d0));});a45a();function a45d(a,b){var c=a45c();return a45d=function(d,e){d=d-0x1cc;var f=c[d];return f;},a45d(a,b);}import'./set.command.js';function a45c(){var h=['10676640rzSzCB','297JdaxGb','117030kLQpPJ','287yhafds','147114DsptVU','constructor','25Hhkgdg','3425655WUrhKN','748sXKEBk','5557563mcjxhi','45652dtoIpL','169640VWQems','toString','(((.+)+)+)+$'];a45c=function(){return h;};return a45c();}import'./global.sub.cmd.js';import'./local.sub.cmd.js';
@@ -1 +1 @@
1
- const a47k=a47d;(function(a,b){const h=a47d,c=a();while(!![]){try{const d=-parseInt(h(0x168))/0x1*(-parseInt(h(0x17c))/0x2)+parseInt(h(0x182))/0x3+parseInt(h(0x169))/0x4+-parseInt(h(0x183))/0x5+parseInt(h(0x188))/0x6*(parseInt(h(0x184))/0x7)+-parseInt(h(0x16a))/0x8*(-parseInt(h(0x171))/0x9)+-parseInt(h(0x16c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x60b02));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a47d;if(c){const e=c[i(0x178)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const j=a47d;return a47a['toString']()[j(0x186)]('(((.+)+)+)+$')['toString']()[j(0x179)](a47a)[j(0x186)](j(0x166));});a47a();import a47e from'path';import a47f from'./set.command.js';import{Command}from'../../command.js';function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x165;let f=c[d];return f;},a47d(a,b);}import{Log}from'../../tools/log/log.class.js';function a47c(){const m=['347417EhkdOe','2271636JhfgIQ','696qVdbjy','isDirectory','13813600ZqSaUZ','Set\x20workspace:\x20','maka\x20set:global-config\x20--cacert\x20<path>','maka\x20set:gc\x20--workspace\x20<path>','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','39609VIitPi','global-config','error','create','disallowInsecure','boolean','maka\x20set:global-config\x20<args>','apply','constructor','Set\x20global\x20Maka-CLI\x20settings','workspace','2WDUUXl','allowInsecure','setGlobalConfig','resolve','cacert','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x0a\x20\x20There\x20are\x20occasions\x20where\x20your\x20network\x20may\x20need\x20an\x20intermediate\x20certificate\x0a\x20\x20to\x20allow\x20connections\x20outside.\x20\x20You\x20may\x20set\x20your\x20certificate\x20path\x20using\x20the\x20command:\x0a\x0a\x20\x20maka\x20set:gc\x20--cacert\x0a\x20\x20','2366085znepIG','3711520XPeiYE','7gupyCY','exit','search','maka\x20set:gc\x20--insecure\x20<path>','2596740ahigco','fsi','(((.+)+)+)+$','success'];a47c=function(){return m;};return a47c();}Command[a47k(0x174)]({'name':a47k(0x172),'usage':a47k(0x177),'aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':['cacert','allowInsecure',a47k(0x175),a47k(0x17b),'help'],'shortDesc':a47k(0x17a),'description':a47k(0x181),'examples':[a47k(0x16e),a47k(0x187),a47k(0x16f)]},async function(a,b){const l=a47k;try{if(b[l(0x180)]){if(this[l(0x165)]['isFile'](b['cacert']))this[l(0x165)][l(0x17e)]({'cert':b[l(0x180)]}),Log['success']('Set\x20CA\x20Cert\x20Path:\x20'+b[l(0x180)]);else{const c=typeof b['cacert']===l(0x176)?'Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.':l(0x170)+b[l(0x180)];throw Log[l(0x173)](c);}}if(b[l(0x17b)]){const d=this[l(0x165)][l(0x16b)](b['workspace']);if(d)this['fsi'][l(0x17e)]({'workspace':a47e[l(0x17f)](b[l(0x17b)])}),Log[l(0x167)](l(0x16d)+a47e['resolve'](b[l(0x17b)]));else throw Log[l(0x173)]('Could\x20not\x20find\x20directory');}if(b[l(0x17d)]){if(b[l(0x17d)]&&b[l(0x175)])throw Log[l(0x173)]('One\x20or\x20the\x20other\x20buddy');let f=b['allowInsecure'];b[l(0x175)]&&(f=![]),this['fsi'][l(0x17e)]({'allowInsecure':f}),Log[l(0x167)]('Set\x20allowInsecure:\x20'+f);}}catch(g){console[l(0x173)](g),process[l(0x185)](0x0);}},a47f);
1
+ function a46d(a,b){const c=a46c();return a46d=function(d,e){d=d-0x157;let f=c[d];return f;},a46d(a,b);}const a46k=a46d;function a46c(){const m=['allowInsecure','(((.+)+)+)+$','cacert','error','76135wKPRMx','Set\x20global\x20Maka-CLI\x20settings','isFile','390435YIpcmT','maka\x20set:gc\x20--insecure\x20<path>','workspace','search','toString','1456900ByqfnZ','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x0a\x20\x20There\x20are\x20occasions\x20where\x20your\x20network\x20may\x20need\x20an\x20intermediate\x20certificate\x0a\x20\x20to\x20allow\x20connections\x20outside.\x20\x20You\x20may\x20set\x20your\x20certificate\x20path\x20using\x20the\x20command:\x0a\x0a\x20\x20maka\x20set:gc\x20--cacert\x0a\x20\x20','exit','499152ylnTSj','setGlobalConfig','466842oHblXE','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','boolean','isDirectory','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','487734pXwUTb','One\x20or\x20the\x20other\x20buddy','89865uIvpEd','global-config','Set\x20CA\x20Cert\x20Path:\x20','resolve','Set\x20allowInsecure:\x20','18YrErum','maka\x20set:gc\x20--workspace\x20<path>','fsi','44HrcWZT','create','success','14wQYAEZ','help','disallowInsecure','Could\x20not\x20find\x20directory','12XtJWzL','apply','maka\x20set:global-config\x20--cacert\x20<path>'];a46c=function(){return m;};return a46c();}(function(a,b){const h=a46d,c=a();while(!![]){try{const d=-parseInt(h(0x171))/0x1+-parseInt(h(0x17e))/0x2+parseInt(h(0x174))/0x3+parseInt(h(0x16a))/0x4*(parseInt(h(0x15b))/0x5)+parseInt(h(0x159))/0x6*(-parseInt(h(0x166))/0x7)+parseInt(h(0x17c))/0x8*(-parseInt(h(0x160))/0x9)+parseInt(h(0x179))/0xa*(parseInt(h(0x163))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x297ae));const a46b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a46d;if(c){const e=c[i(0x16b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){const j=a46d;return a46a[j(0x178)]()[j(0x177)](j(0x16e))['toString']()['constructor'](a46a)[j(0x177)](j(0x16e));});a46a();import a46e from'path';import a46f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a46k(0x164)]({'name':a46k(0x15c),'usage':'maka\x20set:global-config\x20<args>','aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a46k(0x16f),'allowInsecure',a46k(0x168),a46k(0x176),a46k(0x167)],'shortDesc':a46k(0x172),'description':a46k(0x17a),'examples':[a46k(0x16c),a46k(0x175),a46k(0x161)]},async function(a,b){const l=a46k;try{if(b[l(0x16f)]){if(this[l(0x162)][l(0x173)](b[l(0x16f)]))this[l(0x162)][l(0x17d)]({'cert':b[l(0x16f)]}),Log['success'](l(0x15d)+b['cacert']);else{const c=typeof b['cacert']===l(0x180)?l(0x158):l(0x17f)+b[l(0x16f)];throw Log[l(0x170)](c);}}if(b['workspace']){const d=this[l(0x162)][l(0x157)](b[l(0x176)]);if(d)this[l(0x162)][l(0x17d)]({'workspace':a46e[l(0x15e)](b[l(0x176)])}),Log[l(0x165)]('Set\x20workspace:\x20'+a46e[l(0x15e)](b[l(0x176)]));else throw Log[l(0x170)](l(0x169));}if(b['allowInsecure']){if(b[l(0x16d)]&&b[l(0x168)])throw Log[l(0x170)](l(0x15a));let f=b['allowInsecure'];b['disallowInsecure']&&(f=![]),this['fsi'][l(0x17d)]({'allowInsecure':f}),Log[l(0x165)](l(0x15f)+f);}}catch(g){console[l(0x170)](g),process[l(0x17b)](0x0);}},a46f);
@@ -1 +1 @@
1
- var a48i=a48d;(function(a,b){var f=a48d,c=a();while(!![]){try{var d=parseInt(f(0x112))/0x1*(-parseInt(f(0x10c))/0x2)+parseInt(f(0x10e))/0x3+-parseInt(f(0x119))/0x4*(-parseInt(f(0x110))/0x5)+-parseInt(f(0x117))/0x6+-parseInt(f(0x11d))/0x7*(-parseInt(f(0x11a))/0x8)+parseInt(f(0x121))/0x9+-parseInt(f(0x118))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x8a94b));var a48b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a48d;if(c){var e=c[g(0x11f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){var h=a48d;return a48a[h(0x115)]()['search'](h(0x111))[h(0x115)]()[h(0x114)](a48a)[h(0x10f)]('(((.+)+)+)+$');});function a48d(a,b){var c=a48c();return a48d=function(d,e){d=d-0x10c;var f=c[d];return f;},a48d(a,b);}a48a();import a48e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a48c(){var k=['constructor','toString','maka\x20set:local-config\x20<opts>','4191966xwfFeO','7017330VPHwAm','12aIibnK','7045624RZbnLo','notice','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','7jjOYiA','Sorry,\x20not\x20implemented\x20yet','apply','Set\x20local\x20maka\x20app\x20settings','3882528DCYUll','271738xyNiWw','create','512316KGlXOX','search','1487935SZUZyJ','(((.+)+)+)+$','3McUUmS','local-config'];a48c=function(){return k;};return a48c();}Command[a48i(0x10d)]({'name':a48i(0x113),'usage':a48i(0x116),'examples':['maka\x20set:lc\x20<opts>',a48i(0x116)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a48i(0x120),'validOpts':[],'description':a48i(0x11c)},async function(){var j=a48i;Log[j(0x11b)](j(0x11e));},a48e);
1
+ function a47c(){var j=['maka\x20set:lc\x20<opts>','2129498gmDMCT','toString','2865628LzPKkv','constructor','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','Set\x20local\x20maka\x20app\x20settings','496585BCUGiW','(((.+)+)+)+$','3892944LCkuEZ','18iKuLwk','2175318HNZoks','apply','local-config','create','maka\x20set:local-config\x20<opts>','50327cKDOdH','9206664gqMbYa'];a47c=function(){return j;};return a47c();}function a47d(a,b){var c=a47c();return a47d=function(d,e){d=d-0x88;var f=c[d];return f;},a47d(a,b);}var a47i=a47d;(function(a,b){var f=a47d,c=a();while(!![]){try{var d=-parseInt(f(0x8a))/0x1*(-parseInt(f(0x96))/0x2)+parseInt(f(0x97))/0x3+-parseInt(f(0x8f))/0x4+parseInt(f(0x93))/0x5+parseInt(f(0x95))/0x6+parseInt(f(0x8d))/0x7+-parseInt(f(0x8b))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x58a9c));var a47b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a47d;if(c){var e=c[g(0x98)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){var h=a47d;return a47a['toString']()['search']('(((.+)+)+)+$')[h(0x8e)]()[h(0x90)](a47a)['search'](h(0x94));});a47a();import a47e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a47i(0x88)]({'name':a47i(0x99),'usage':a47i(0x89),'examples':[a47i(0x8c),'maka\x20set:local-config\x20<opts>'],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a47i(0x92),'validOpts':[],'description':a47i(0x91)},async function(){Log['notice']('Sorry,\x20not\x20implemented\x20yet');},a47e);
@@ -1 +1 @@
1
- function a49c(){const j=['749009pcscAp','11NYndTh','1835084naZwLT','toString','help','1088dkyRfq','create','21753sTzQmr','1200600XPWJPC','18AbqkqP','findSubCommand','constructor','maka\x20set:<sub-command>\x20<opts>','2EapQdq','(((.+)+)+)+$','2096890iQUCHt','1253735onwRYy','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','runSubCommand','370050lXyQvv'];a49c=function(){return j;};return a49c();}const a49h=a49d;function a49d(a,b){const c=a49c();return a49d=function(d,e){d=d-0x10a;let f=c[d];return f;},a49d(a,b);}(function(a,b){const f=a49d,c=a();while(!![]){try{const d=-parseInt(f(0x111))/0x1*(-parseInt(f(0x10a))/0x2)+parseInt(f(0x119))/0x3+parseInt(f(0x113))/0x4+-parseInt(f(0x110))/0x5+parseInt(f(0x11a))/0x6*(-parseInt(f(0x10d))/0x7)+parseInt(f(0x116))/0x8*(-parseInt(f(0x118))/0x9)+parseInt(f(0x10c))/0xa*(-parseInt(f(0x112))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x6fe0e));const a49b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){const g=a49d;return a49a[g(0x114)]()['search'](g(0x10b))['toString']()[g(0x11c)](a49a)['search']('(((.+)+)+)+$');});a49a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command[a49h(0x117)]({'name':'set','usage':a49h(0x11d),'minArgLength':0x1,'shortDesc':'Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','description':a49h(0x10e),'validOpts':[]},async function(a,b){const i=a49h,c=a[0x0];if(b[i(0x115)])throw new UsageError();const d=this[i(0x11b)](c);d&&this[i(0x10f)](c,a,b);});export default SetCommand;
1
+ const a48h=a48d;function a48d(a,b){const c=a48c();return a48d=function(d,e){d=d-0xd3;let f=c[d];return f;},a48d(a,b);}(function(a,b){const f=a48d,c=a();while(!![]){try{const d=parseInt(f(0xe3))/0x1*(-parseInt(f(0xdf))/0x2)+-parseInt(f(0xd5))/0x3*(-parseInt(f(0xdb))/0x4)+-parseInt(f(0xe4))/0x5+-parseInt(f(0xd9))/0x6+parseInt(f(0xd8))/0x7+-parseInt(f(0xe7))/0x8+parseInt(f(0xe5))/0x9*(parseInt(f(0xe6))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x20cb2));const a48b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){const g=a48d;return a48a['toString']()[g(0xde)](g(0xe1))[g(0xd7)]()[g(0xdc)](a48a)[g(0xde)](g(0xe1));});a48a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command[a48h(0xda)]({'name':a48h(0xe2),'usage':a48h(0xe0),'minArgLength':0x1,'shortDesc':a48h(0xd3),'description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','validOpts':[]},async function(a,b){const i=a48h,c=a[0x0];if(b[i(0xd4)])throw new UsageError();const d=this[i(0xdd)](c);d&&this[i(0xd6)](c,a,b);});export default SetCommand;function a48c(){const j=['3OesFwM','runSubCommand','toString','1433712cEfayr','151830tSoEEj','create','422196DzfgOC','constructor','findSubCommand','search','10zsSeez','maka\x20set:<sub-command>\x20<opts>','(((.+)+)+)+$','set','53702KwnNvF','1267275iYJdLi','729YbLHmn','73260BCVDRb','1777432ndRmvY','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','help'];a48c=function(){return j;};return a48c();}
@@ -1 +1 @@
1
- const a50m=a50d;(function(a,b){const j=a50d,c=a();while(!![]){try{const d=-parseInt(j(0x1ee))/0x1*(parseInt(j(0x1eb))/0x2)+-parseInt(j(0x1f6))/0x3*(-parseInt(j(0x1f0))/0x4)+parseInt(j(0x1fd))/0x5+-parseInt(j(0x1f2))/0x6+parseInt(j(0x1e7))/0x7*(parseInt(j(0x1e2))/0x8)+parseInt(j(0x1fc))/0x9*(parseInt(j(0x1f7))/0xa)+-parseInt(j(0x1fa))/0xb*(parseInt(j(0x1e4))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x45970));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a50d;if(c){const e=c[k(0x1e5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const l=a50d;return a50a[l(0x1f9)]()['search'](l(0x1f3))[l(0x1f9)]()['constructor'](a50a)[l(0x1ea)](l(0x1f3));});a50a();function a50c(){const o=['env','27475HmwFzP','ssh.json','maka\x20ssh\x20<command>','search','18QHdKjK','sshSync','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','14475kznwzW','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','4HqXZER','exit','2494764UKlayM','(((.+)+)+)+$','maka\x20ssh\x20--env\x20staging','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','884847rEJMRl','252920oqAXqI','maka\x20ssh\x20--env\x20prod','toString','11uYpcBJ','assign','144hlUZFO','1978285MRynAb','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','fsi','readFileSync','create','join','872gGcJGZ','error','8303928pMmajQ','apply'];a50c=function(){return o;};return a50c();}import a50e from'fs';import a50f from'path';import{Command}from'../command.js';function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x1e0;let f=c[d];return f;},a50d(a,b);}import{SSH}from'../tools/ssh/ssh.class.js';Command[a50m(0x1e0)]({'name':'ssh','usage':a50m(0x1e9),'mustBeInMakaProject':!![],'requiredOpts':[a50m(0x1e6)],'validOpts':[a50m(0x1e6),'v'],'shortDesc':a50m(0x1fe),'examples':['maka\x20ssh\x20--env\x20dev',a50m(0x1f4),a50m(0x1f8),a50m(0x1f5),a50m(0x1ed),a50m(0x1ef)]},async function(a,b){const n=a50m;try{const c=this[n(0x1ff)]['getConfigPath'](b[n(0x1e6)]);let d='';a['length']>0x0&&(d=a[0x0]);const f=a50f[n(0x1e1)](c,n(0x1e8)),g=a50e[n(0x200)](f)[n(0x1f9)](),h=JSON['parse'](g);Object[n(0x1fb)](h,{'env':c}),SSH[n(0x1ec)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['v']});}catch(i){console[n(0x1e3)](i),process[n(0x1f1)](0x0);}});
1
+ const a49m=a49d;(function(a,b){const j=a49d,c=a();while(!![]){try{const d=-parseInt(j(0x197))/0x1+-parseInt(j(0x199))/0x2+parseInt(j(0x182))/0x3+parseInt(j(0x17f))/0x4+-parseInt(j(0x18a))/0x5*(-parseInt(j(0x185))/0x6)+-parseInt(j(0x18e))/0x7+-parseInt(j(0x18d))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xb6deb));const a49b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a49d;if(c){const e=c[k(0x194)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){const l=a49d;return a49a[l(0x183)]()['search']('(((.+)+)+)+$')[l(0x183)]()[l(0x191)](a49a)[l(0x18f)]('(((.+)+)+)+$');});a49a();import a49e from'fs';import a49f from'path';import{Command}from'../command.js';function a49c(){const o=['Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','800823VEvMBb','toString','length','96dIiTOP','error','maka\x20ssh\x20--env\x20staging','maka\x20ssh\x20<command>','assign','350605XBwWZX','maka\x20ssh\x20--env\x20prod','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','1231584UlHdPm','9048627NaNqkl','search','sshSync','constructor','exit','ssh','apply','readFileSync','getConfigPath','197744fbKGDo','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','777584PxUipn','fsi','create','env','maka\x20ssh\x20--env\x20dev','5573212QICbsg'];a49c=function(){return o;};return a49c();}function a49d(a,b){const c=a49c();return a49d=function(d,e){d=d-0x17c;let f=c[d];return f;},a49d(a,b);}import{SSH}from'../tools/ssh/ssh.class.js';Command[a49m(0x17c)]({'name':a49m(0x193),'usage':a49m(0x188),'mustBeInMakaProject':!![],'requiredOpts':[a49m(0x17d)],'validOpts':['env','v'],'shortDesc':a49m(0x180),'examples':[a49m(0x17e),a49m(0x187),a49m(0x18b),a49m(0x181),a49m(0x18c),a49m(0x198)]},async function(a,b){const n=a49m;try{const c=this[n(0x19a)][n(0x196)](b[n(0x17d)]);let d='';a[n(0x184)]>0x0&&(d=a[0x0]);const f=a49f['join'](c,'ssh.json'),g=a49e[n(0x195)](f)['toString'](),h=JSON['parse'](g);Object[n(0x189)](h,{'env':c}),SSH[n(0x190)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['v']});}catch(i){console[n(0x186)](i),process[n(0x192)](0x0);}});
@@ -1 +1 @@
1
- const a51y=a51d;(function(a,b){const v=a51d,c=a();while(!![]){try{const d=parseInt(v(0x1d3))/0x1+parseInt(v(0x1d1))/0x2+-parseInt(v(0x1eb))/0x3*(-parseInt(v(0x203))/0x4)+-parseInt(v(0x1ed))/0x5*(-parseInt(v(0x1e0))/0x6)+-parseInt(v(0x1f8))/0x7+parseInt(v(0x1de))/0x8*(-parseInt(v(0x1dd))/0x9)+parseInt(v(0x1d6))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x8a9d2));function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x1c8;let f=c[d];return f;},a51d(a,b);}const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a51d;if(c){const e=c[w(0x1cc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const x=a51d;return a51a['toString']()[x(0x1f3)](x(0x1f7))[x(0x1d7)]()[x(0x204)](a51a)[x(0x1f3)](x(0x1f7));});a51a();import a51e from'fs';import a51f from'path';import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';function a51c(){const A=['withSpinner','existsSync','env','\x20--email\x20','672270aaZgFa','letsencrypt.json','4051065gEOxjZ','parse','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','notice','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','search','getProjectConfig','success','Verifying\x20Letsencrypt\x20configuration','(((.+)+)+)+$','6099464NgbuDX','create','domainNames','readFileSync','.crt','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','.csr','appName','assign','mkKeysDir','error','4UUjsOk','constructor','ask','letsencrypt','Please\x20provide\x20a\x20command.','domains','apply','Using\x20saved\x20letsencrypt\x20config','uname\x20-a','Email\x20to\x20use\x20for\x20auto-updates:\x20','email','1972302PTOyJr','stringify','357788hUmbLT','Remote\x20host\x20connection\x20successful','fsi','283250TReppe','toString','[?]\x20Domains\x20to\x20register:\x20','ping','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','.key','8707077usNspe','8ppOUmF','exit','6bsrScY','join','generate-csr','Checking\x20remote\x20host\x20availability','maka\x20ssl\x20[command]','genCSR','ssh'];a51c=function(){return A;};return a51c();}import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command[a51y(0x1f9)]({'name':'ssl','usage':a51y(0x1e4),'validOpts':[a51y(0x1cb),a51y(0x1d0)],'requiredOpts':['env'],'shortDesc':'Create\x20and\x20manage\x20your\x20SSL\x20operations.','mustBeInMakaProject':!![],'minArgLength':0x1,'examples':['maka\x20ssl\x20--env\x20dev\x20generate-csr',a51y(0x1db),'maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process']},async function(a,b){const z=a51y,c=this[z(0x1d5)][z(0x1f4)](),d=this[z(0x1d5)]['getConfigPath'](b[z(0x1e9)]),f=this[z(0x1d5)][z(0x201)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0x1e2))SSL[z(0x1e5)]({'keyName':c[z(0x1ff)]+'.key','csrName':c[z(0x1ff)]+z(0x1fe),'cwd':f});else{if(g==='generate-ssc'){if(!a51e[z(0x1e8)](a51f[z(0x1e1)](f,c[z(0x1ff)]+z(0x1dc))))throw z(0x1f0)+a51f[z(0x1e1)](f,c['appName']+z(0x1dc));if(!a51e[z(0x1e8)](a51f[z(0x1e1)](f,c[z(0x1ff)]+z(0x1fe))))throw'The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20'+a51f[z(0x1e1)](f,c[z(0x1ff)]+z(0x1fe));SSL['genSSC']({'keyName':c[z(0x1ff)]+z(0x1dc),'crtName':c[z(0x1ff)]+z(0x1fc),'cwd':f}),Log[z(0x1f1)]('New\x20CSR\x20written\x20to\x20'+f);}else{if(g===z(0x1c9)){let h=b[z(0x1cb)],i=b[z(0x1d0)];try{const p=a51e[z(0x1fb)](a51f[z(0x1e1)](d,z(0x1ec)))[z(0x1d7)](),q=JSON[z(0x1ee)](p);h=b[z(0x1cb)]?b[z(0x1cb)]:q[z(0x1fa)],i=b[z(0x1d0)]?b[z(0x1d0)]:q['emailUpdate'],(!b[z(0x1d0)]||!b[z(0x1cb)])&&Log[z(0x1f1)](z(0x1cd));}catch(r){}const j=JSON[z(0x1ee)](a51e[z(0x1fb)](d+'/ssh.json')[z(0x1d7)]());Object[z(0x200)](j,{'env':d}),Log[z(0x1f1)](z(0x1e3));try{const s=SSH[z(0x1d9)](z(0x1ce),j);if(!s)throw z(0x1f2);if(s)Log[z(0x1f5)](z(0x1d4));}catch(t){Log[z(0x202)](t);return;}const k=Log[z(0x1e7)]();k['start'](z(0x1f6)),SSH[z(0x1e6)](z(0x1fd),{...j}),SSH[z(0x1e6)]('sudo\x20snap\x20install\x20--classic\x20certbot',{...j}),SSH[z(0x1e6)](z(0x1da),{...j}),k[z(0x1f5)]();const l=h?h:await Actions[z(0x1c8)](z(0x1d8)),m=i?i:await Actions[z(0x1c8)](z(0x1cf));SSH[z(0x1e6)](z(0x1ef)+l+z(0x1ea)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0x1d2)](n,null,0x2);a51e['writeFileSync'](a51f[z(0x1e1)](d,z(0x1ec)),o);}else throw z(0x1ca);}}}catch(u){console[z(0x202)](u),process[z(0x1df)](0x0);}});
1
+ const a50y=a50d;(function(a,b){const v=a50d,c=a();while(!![]){try{const d=parseInt(v(0x76))/0x1*(-parseInt(v(0xac))/0x2)+-parseInt(v(0x85))/0x3*(parseInt(v(0x9d))/0x4)+-parseInt(v(0x9e))/0x5+parseInt(v(0xa8))/0x6*(-parseInt(v(0xa5))/0x7)+-parseInt(v(0x7c))/0x8*(-parseInt(v(0xa0))/0x9)+-parseInt(v(0x7a))/0xa+parseInt(v(0xa1))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x8016f));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a50d;if(c){const e=c[w(0x7d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const x=a50d;return a50a[x(0x93)]()[x(0x96)](x(0x9c))['toString']()['constructor'](a50a)[x(0x96)](x(0x9c));});function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x74;let f=c[d];return f;},a50d(a,b);}a50a();import a50e from'fs';import a50f from'path';function a50c(){const A=['apply','domains','success','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','exit','fsi','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','getConfigPath','2397639TiHwUx','Verifying\x20Letsencrypt\x20configuration','letsencrypt.json','domainNames','Email\x20to\x20use\x20for\x20auto-updates:\x20','appName','error','withSpinner','generate-ssc','getProjectConfig','[?]\x20Domains\x20to\x20register:\x20','Create\x20and\x20manage\x20your\x20SSL\x20operations.','ask','Remote\x20host\x20connection\x20successful','toString','maka\x20ssl\x20[command]','Checking\x20remote\x20host\x20availability','search','parse','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','New\x20CSR\x20written\x20to\x20','/ssh.json','maka\x20ssl\x20--env\x20dev\x20generate-csr','(((.+)+)+)+$','4MauIWO','4809365bextPr','existsSync','27GRGBoj','41496103vhENoT','notice','ssh','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','157787EstGoE','Using\x20saved\x20letsencrypt\x20config','env','174gSdvwo','letsencrypt','ssl','.key','19414BCcqDY','.csr','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','emailUpdate','generate-csr','email','genSSC','\x20--email\x20','create','1OSAHYP','join','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','.crt','10349580SAEGKd','start','564592dcIXVF'];a50c=function(){return A;};return a50c();}import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command[a50y(0x75)]({'name':a50y(0xaa),'usage':a50y(0x94),'validOpts':[a50y(0x7e),'email'],'requiredOpts':[a50y(0xa7)],'shortDesc':a50y(0x90),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a50y(0x9b),a50y(0xa4),'maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process']},async function(a,b){const z=a50y,c=this['fsi'][z(0x8e)](),d=this[z(0x82)][z(0x84)](b['env']),f=this[z(0x82)]['mkKeysDir']({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0xb0))SSL['genCSR']({'keyName':c[z(0x8a)]+z(0xab),'csrName':c['appName']+z(0xad),'cwd':f});else{if(g===z(0x8d)){if(!a50e[z(0x9f)](a50f[z(0x77)](f,c[z(0x8a)]+z(0xab))))throw z(0x78)+a50f[z(0x77)](f,c['appName']+'.key');if(!a50e[z(0x9f)](a50f[z(0x77)](f,c[z(0x8a)]+'.csr')))throw z(0xae)+a50f[z(0x77)](f,c[z(0x8a)]+z(0xad));SSL[z(0xb2)]({'keyName':c[z(0x8a)]+z(0xab),'crtName':c[z(0x8a)]+z(0x79),'cwd':f}),Log[z(0xa2)](z(0x99)+f);}else{if(g===z(0xa9)){let h=b[z(0x7e)],i=b[z(0xb1)];try{const p=a50e['readFileSync'](a50f[z(0x77)](d,z(0x87)))[z(0x93)](),q=JSON[z(0x97)](p);h=b[z(0x7e)]?b[z(0x7e)]:q[z(0x88)],i=b[z(0xb1)]?b['email']:q[z(0xaf)],(!b[z(0xb1)]||!b['domains'])&&Log[z(0xa2)](z(0xa6));}catch(r){}const j=JSON[z(0x97)](a50e['readFileSync'](d+z(0x9a))[z(0x93)]());Object['assign'](j,{'env':d}),Log[z(0xa2)](z(0x95));try{const s=SSH['ping']('uname\x20-a',j);if(!s)throw z(0x83);if(s)Log['success'](z(0x92));}catch(t){Log['error'](t);return;}const k=Log[z(0x8c)]();k[z(0x7b)](z(0x86)),SSH[z(0xa3)](z(0x98),{...j}),SSH[z(0xa3)]('sudo\x20snap\x20install\x20--classic\x20certbot',{...j}),SSH['ssh'](z(0x80),{...j}),k[z(0x7f)]();const l=h?h:await Actions[z(0x91)](z(0x8f)),m=i?i:await Actions[z(0x91)](z(0x89));SSH[z(0xa3)]('sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20'+l+z(0x74)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON['stringify'](n,null,0x2);a50e['writeFileSync'](a50f['join'](d,z(0x87)),o);}else throw'Please\x20provide\x20a\x20command.';}}}catch(u){console[z(0x8b)](u),process[z(0x81)](0x0);}});
@@ -1 +1 @@
1
- const a52p=a52d;(function(a,b){const m=a52d,c=a();while(!![]){try{const d=-parseInt(m(0x196))/0x1+parseInt(m(0x1a7))/0x2*(parseInt(m(0x1a3))/0x3)+-parseInt(m(0x1b6))/0x4*(-parseInt(m(0x1ab))/0x5)+parseInt(m(0x1aa))/0x6+-parseInt(m(0x190))/0x7*(parseInt(m(0x1b4))/0x8)+parseInt(m(0x18a))/0x9*(parseInt(m(0x18e))/0xa)+parseInt(m(0x17c))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x5e246));const a52b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){const n=a52d;return a52a[n(0x181)]()[n(0x199)](n(0x1b3))[n(0x181)]()[n(0x19e)](a52a)['search'](n(0x1b3));});a52a();import a52e from'fs';import a52f from'path';function a52c(){const s=['test','Cannot\x20find\x20Node\x20Environment\x20File:\x20','fsi','concat','6015NIsKXQ','Node\x20Env\x20Config:\x20','meteortesting:mocha','development','214nUEDbt','Meteor\x20Settings:\x20','filter','1222704HnfIsV','55lcqUwo','invokeMeteorCommand','rawLogs','findProjectDirectory','getConfigPath','--env','--packages','port','(((.+)+)+)+$','8rmQeko','mocha','75380XKoXNr','notice','driver-package','splice','parse','packages','6861602acPThZ','--driver-package','exit','forEach','sanjo:jasmine','toString','none','maka\x20test\x20<opts>','argv','unit','test-packages','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','--settings','engines','57222EKQUdo','readFileSync','utf8','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','210aukLWe','driver','4977497aDWOLy','warn','--driver','once','openSync','slice','286237eiIYSC','inspect','env','search','isFile','join','process.env','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','constructor'];a52c=function(){return s;};return a52c();}function a52d(a,b){const c=a52c();return a52d=function(d,e){d=d-0x17b;let f=c[d];return f;},a52d(a,b);}import a52g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const o=a52d;a52e[o(0x194)](a,'r'),a52g['config']({'path':a});};Command['create']({'name':a52p(0x19f),'mustBeInMakaProject':!![],'validOpts':[a52p(0x193),'packages',a52p(0x18f),'driverPackage',a52p(0x185),a52p(0x198),a52p(0x1ad),a52p(0x1b2),a52p(0x197),'testAppPath'],'usage':a52p(0x183),'shortDesc':a52p(0x18d),'examples':[]},function(a,b){const q=a52p;try{let c=this[q(0x1a1)][q(0x1af)](q(0x1a6));b[q(0x198)]&&(c=this[q(0x1a1)]['getConfigPath'](b['env']));(!b['unit']||!!b[q(0x193)])&&(a=a[q(0x1a2)](['--full-app']));b[q(0x185)]&&delete b[q(0x185)];let d=b[q(0x1b8)]||b[q(0x18f)]||q(0x182);if(d==='none'){const j=JSON[q(0x1ba)](a52e[q(0x18b)](a52f[q(0x19b)](this[q(0x1a1)][q(0x1ae)](),'.maka','config.json'),q(0x18c)));if(j['engines'][q(0x19f)]==='jasmine')d=q(0x180);else j[q(0x189)]['test']===q(0x1b5)&&(d=q(0x1a5));}if(d===q(0x182))throw q(0x187);(!b[q(0x1b8)]||!b[q(0x18f)])&&(a=a[q(0x1a2)]([q(0x17d),d]));const f=a52f[q(0x19b)](c,'settings.json');this[q(0x1a1)][q(0x19a)](f)?(Log[q(0x1b7)](q(0x1a8)+f),a=a[q(0x1a2)]([q(0x188),f])):Log[q(0x191)](q(0x19d)+f);const g=a52f[q(0x19b)](c,q(0x19c));this[q(0x1a1)][q(0x19a)](g)?(Log[q(0x1b7)](q(0x1a4)+g),syncSource(g)):Log[q(0x191)](q(0x1a0)+g);const h=process[q(0x184)][q(0x195)](0x2)[q(0x1a9)](k=>k!==q(0x1b0))[q(0x1a9)](k=>k!==q(0x19f))[q(0x1a9)](k=>k!==a[0x0]);h[q(0x17f)]((k,l)=>{const r=q;(k===r(0x1b0)||k===r(0x192))&&h[r(0x1b9)](l,0x2),k===r(0x1b1)&&h['splice'](l,0x1);});const i=b[q(0x17b)]?q(0x186):q(0x19f);this[q(0x1a1)][q(0x1ac)](i,a[q(0x1a2)](h));}catch(k){console['error'](k),process[q(0x17e)](0x0);}});
1
+ const a51p=a51d;(function(a,b){const m=a51d,c=a();while(!![]){try{const d=parseInt(m(0x19d))/0x1*(-parseInt(m(0x196))/0x2)+parseInt(m(0x197))/0x3+parseInt(m(0x1a7))/0x4+-parseInt(m(0x1c3))/0x5+-parseInt(m(0x18c))/0x6*(parseInt(m(0x1aa))/0x7)+-parseInt(m(0x194))/0x8*(-parseInt(m(0x189))/0x9)+parseInt(m(0x1bc))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xa878e));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a51d;if(c){const e=c[n(0x19a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const o=a51d;return a51a[o(0x1ae)]()[o(0x1c0)](o(0x1b6))[o(0x1ae)]()['constructor'](a51a)[o(0x1c0)](o(0x1b6));});a51a();import a51e from'fs';import a51f from'path';import a51g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a51c(){const s=['rawLogs','env','parse','sanjo:jasmine','testAppPath','packages','splice','meteortesting:mocha','158328lmRbWm','--packages','invokeMeteorCommand','6121941idQaaj','Cannot\x20find\x20Node\x20Environment\x20File:\x20','utf8','--driver','toString','warn','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','Meteor\x20Settings:\x20','.maka','Node\x20Env\x20Config:\x20','exit','create','(((.+)+)+)+$','unit','once','config.json','test','join','37895430DWbaDK','getConfigPath','--driver-package','--full-app','search','readFileSync','process.env','6207735OwgArA','driver','fsi','inspect','driverPackage','297ptHChH','none','driver-package','6ZPQjRa','forEach','jasmine','concat','error','development','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','35032DFDUPb','--env','1366rcKFzZ','253437KKGTMv','notice','slice','apply','port','findProjectDirectory','1833cxjwZr','isFile'];a51c=function(){return s;};return a51c();}function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x189;let f=c[d];return f;},a51d(a,b);}const syncSource=function(a){a51e['openSync'](a,'r'),a51g['config']({'path':a});};Command[a51p(0x1b5)]({'name':'test','mustBeInMakaProject':!![],'validOpts':['once',a51p(0x1a4),'driver',a51p(0x1c7),a51p(0x1b7),a51p(0x1a0),a51p(0x19f),a51p(0x19b),a51p(0x1c6),a51p(0x1a3)],'usage':'maka\x20test\x20<opts>','shortDesc':a51p(0x193),'examples':[]},function(a,b){const q=a51p;try{let c=this['fsi']['getConfigPath'](q(0x191));b[q(0x1a0)]&&(c=this[q(0x1c5)][q(0x1bd)](b[q(0x1a0)]));(!b[q(0x1b7)]||!!b[q(0x1b8)])&&(a=a[q(0x18f)]([q(0x1bf)]));b[q(0x1b7)]&&delete b['unit'];let d=b[q(0x18b)]||b[q(0x1c4)]||'none';if(d===q(0x18a)){const j=JSON[q(0x1a1)](a51e[q(0x1c1)](a51f['join'](this[q(0x1c5)][q(0x19c)](),q(0x1b2),q(0x1b9)),q(0x1ac)));if(j['engines'][q(0x1ba)]===q(0x18e))d=q(0x1a2);else j['engines'][q(0x1ba)]==='mocha'&&(d=q(0x1a6));}if(d==='none')throw q(0x192);(!b['driver-package']||!b[q(0x1c4)])&&(a=a['concat']([q(0x1be),d]));const f=a51f[q(0x1bb)](c,'settings.json');this[q(0x1c5)]['isFile'](f)?(Log[q(0x198)](q(0x1b1)+f),a=a[q(0x18f)](['--settings',f])):Log['warn'](q(0x1b0)+f);const g=a51f[q(0x1bb)](c,q(0x1c2));this[q(0x1c5)][q(0x19e)](g)?(Log[q(0x198)](q(0x1b3)+g),syncSource(g)):Log[q(0x1af)](q(0x1ab)+g);const h=process['argv'][q(0x199)](0x2)['filter'](k=>k!==q(0x195))['filter'](k=>k!==q(0x1ba))['filter'](k=>k!==a[0x0]);h[q(0x18d)]((k,l)=>{const r=q;(k===r(0x195)||k===r(0x1ad))&&h[r(0x1a5)](l,0x2),k===r(0x1a8)&&h['splice'](l,0x1);});const i=b[q(0x1a4)]?'test-packages':q(0x1ba);this['fsi'][q(0x1a9)](i,a[q(0x18f)](h));}catch(k){console[q(0x190)](k),process[q(0x1b4)](0x0);}});
@@ -1 +1 @@
1
- const a53k=a53d;(function(a,b){const i=a53d,c=a();while(!![]){try{const d=parseInt(i(0xae))/0x1+parseInt(i(0xb3))/0x2+parseInt(i(0xa5))/0x3+parseInt(i(0x9f))/0x4+-parseInt(i(0xa0))/0x5+-parseInt(i(0x89))/0x6*(-parseInt(i(0x8f))/0x7)+-parseInt(i(0x91))/0x8*(parseInt(i(0xac))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x936ea));function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x85;let f=c[d];return f;},a53d(a,b);}const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const j=a53d;return a53a[j(0xa9)]()[j(0xa8)](j(0x8a))[j(0xa9)]()[j(0xa3)](a53a)[j(0xa8)](j(0x8a));});a53a();import{execSync}from'child_process';import a53e from'semver';import{Command}from'../command.js';function a53c(){const m=['4.5.9','error','exit','maka\x20v','meteor','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','----------------------System----------------------------','warn','System\x27s\x20Node\x20Version\x20','majestic','platform','fsi','replace','3160156xwlETe','1603440DfggPm','compareMakaToLatest',')\x20to\x20at\x20least\x20meteor\x27s\x20(','constructor','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','200712IMLccN','bright','----------------------Project----------------------------','search','toString','Project\x27s\x20Meteor\x20Version\x20','maka\x20version','1774179CrfUaT','create','728683VoExZx','getProjectsMeteorNodeVersion','node\x20-v','version','Project\x27s\x20Meteor\x20Node\x20Version\x20','1912024XsfiZs','N/A','Maka\x20','System\x27s\x20Meteor\x20Version\x20','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','win32','114OsbUnS','(((.+)+)+)+$','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','isMakaProject','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','\x20node\x20-v','57883VFjPAH','getProjectMeteorVersion','72Xnwnkk'];a53c=function(){return m;};return a53c();}import{Log}from'../tools/log/log.class.js';const pjson={'version':a53k(0x92)};Command[a53k(0xad)]({'name':a53k(0xb1),'aliases':['v'],'usage':a53k(0xab),'maxArgLength':0x1,'validOpts':[],'shortDesc':a53k(0x8d),'examples':[a53k(0x95),a53k(0xab)]},async function(){const l=a53k;try{const a=process[l(0x9c)]===l(0x88)?'meteor.bat':l(0x96);Log[l(0x9b)](l(0x85)+pjson['version']),await this[l(0x9d)][l(0xa1)](),Log['bright'](l(0x98));const b=this[l(0x9d)]['getGlobalMeteorVersion']();Log[l(0xa6)]((l(0x86)+b)[l(0x9e)]('\x0a',''));const c=execSync(a+l(0x8e))[l(0xa9)]()[l(0x9e)](/\r?\n|\r/,'')[l(0x9e)]('v','');Log['bright'](l(0x97)+c);const d=execSync(l(0xb0))[l(0xa9)]()[l(0x9e)](/\r?\n|\r/,'')[l(0x9e)]('v','');a53e['gt'](c,d)?(Log[l(0x99)](l(0x9a)+d),Log['warn'](l(0xa4)+d+l(0xa2)+c+')')):Log[l(0xa6)](l(0x9a)+d);if(this[l(0x9d)][l(0x8c)]()){Log['bright'](l(0xa7));const f=this[l(0x9d)][l(0x90)]();a53e['gt'](b,f)?(Log[l(0x99)](l(0xaa)+f[l(0x9e)]('\x0a','')),Log['warn'](l(0x87)+b+'\x22')):Log['notice']((l(0xaa)+f)[l(0x9e)]('\x0a',''));const g=await this[l(0x9d)][l(0xaf)]();g===l(0xb4)?(Log['warn'](l(0xb2)+g),Log['warn'](l(0x8b))):Log[l(0xa6)](l(0xb2)+g),Log[l(0xa6)]('\x0a\x20To\x20get\x20the\x20mongo\x20version\x20in\x20use\x20by\x20meteor:\x0a\x201)\x20Run\x20the\x20project,\x20\x22maka\x20run\x22\x0a\x202)\x20In\x20a\x20new\x20terminal\x20open\x20the\x20mongo\x20shell,\x20\x22maka\x20mongo\x22');}}catch(h){console[l(0x93)](h),process[l(0x94)](0x0);}});
1
+ const a52k=a52d;(function(a,b){const i=a52d,c=a();while(!![]){try{const d=-parseInt(i(0x143))/0x1+-parseInt(i(0x12c))/0x2*(parseInt(i(0x135))/0x3)+parseInt(i(0x138))/0x4+-parseInt(i(0x13e))/0x5*(-parseInt(i(0x130))/0x6)+parseInt(i(0x152))/0x7+-parseInt(i(0x141))/0x8+parseInt(i(0x14a))/0x9*(parseInt(i(0x146))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xada06));const a52b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){const j=a52d;return a52a[j(0x140)]()[j(0x134)]('(((.+)+)+)+$')[j(0x140)]()['constructor'](a52a)[j(0x134)](j(0x142));});function a52c(){const m=['8392840SZaoHL','(((.+)+)+)+$','1020312rkIlsF','System\x27s\x20Node\x20Version\x20','create','1520EByPWT','Project\x27s\x20Meteor\x20Node\x20Version\x20','error','getGlobalMeteorVersion','67914CNkOqd','warn','getProjectMeteorVersion','----------------------Project----------------------------','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','meteor','Project\x27s\x20Meteor\x20Version\x20','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','7266196axrTco','isMakaProject','replace','win32','2Ltluff','maka\x20v',')\x20to\x20at\x20least\x20meteor\x27s\x20(','bright','170850QgsyyJ','notice','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','System\x27s\x20Meteor\x20Version\x20','search','3195714QmpKaL','platform','compareMakaToLatest','2542836lHkDgr','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','maka\x20version','----------------------System----------------------------','meteor.bat','fsi','180gIzVeo','node\x20-v','toString'];a52c=function(){return m;};return a52c();}a52a();import{execSync}from'child_process';function a52d(a,b){const c=a52c();return a52d=function(d,e){d=d-0x12a;let f=c[d];return f;},a52d(a,b);}import a52e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':'4.5.12'};Command[a52k(0x145)]({'name':'version','aliases':['v'],'usage':a52k(0x13a),'maxArgLength':0x1,'validOpts':[],'shortDesc':a52k(0x132),'examples':[a52k(0x12d),a52k(0x13a)]},async function(){const l=a52k;try{const a=process[l(0x136)]===l(0x12b)?l(0x13c):l(0x14f);Log['majestic']('Maka\x20'+pjson['version']),await this[l(0x13d)][l(0x137)](),Log[l(0x12f)](l(0x13b));const b=this[l(0x13d)][l(0x149)]();Log[l(0x12f)]((l(0x133)+b)[l(0x12a)]('\x0a',''));const c=execSync(a+'\x20node\x20-v')[l(0x140)]()['replace'](/\r?\n|\r/,'')[l(0x12a)]('v','');Log[l(0x12f)]('System\x27s\x20Meteor\x27s\x20Node\x20Version\x20'+c);const d=execSync(l(0x13f))['toString']()[l(0x12a)](/\r?\n|\r/,'')[l(0x12a)]('v','');a52e['gt'](c,d)?(Log[l(0x14b)](l(0x144)+d),Log['warn'](l(0x139)+d+l(0x12e)+c+')')):Log[l(0x12f)](l(0x144)+d);if(this[l(0x13d)][l(0x153)]()){Log[l(0x12f)](l(0x14d));const f=this[l(0x13d)][l(0x14c)]();a52e['gt'](b,f)?(Log[l(0x14b)](l(0x150)+f['replace']('\x0a','')),Log[l(0x14b)](l(0x14e)+b+'\x22')):Log[l(0x131)]((l(0x150)+f)['replace']('\x0a',''));const g=await this[l(0x13d)]['getProjectsMeteorNodeVersion']();g==='N/A'?(Log[l(0x14b)](l(0x147)+g),Log[l(0x14b)](l(0x151))):Log['bright'](l(0x147)+g),Log[l(0x12f)]('\x0a\x20To\x20get\x20the\x20mongo\x20version\x20in\x20use\x20by\x20meteor:\x0a\x201)\x20Run\x20the\x20project,\x20\x22maka\x20run\x22\x0a\x202)\x20In\x20a\x20new\x20terminal\x20open\x20the\x20mongo\x20shell,\x20\x22maka\x20mongo\x22');}}catch(h){console[l(0x148)](h),process['exit'](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a54d,c=a();while(!![]){try{var d=-parseInt(f(0x16a))/0x1+parseInt(f(0x16d))/0x2+parseInt(f(0x172))/0x3*(parseInt(f(0x168))/0x4)+parseInt(f(0x166))/0x5+parseInt(f(0x16e))/0x6*(parseInt(f(0x170))/0x7)+-parseInt(f(0x167))/0x8*(parseInt(f(0x169))/0x9)+parseInt(f(0x16c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xc98ca));var a54b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a54d;if(c){var e=c[g(0x16b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){var h=a54d;return a54a[h(0x171)]()['search'](h(0x16f))[h(0x171)]()['constructor'](a54a)['search'](h(0x16f));});function a54d(a,b){var c=a54c();return a54d=function(d,e){d=d-0x166;var f=c[d];return f;},a54d(a,b);}a54a();function a54c(){var i=['434620pvNQoz','2287724dTHxMK','54gdEoAU','(((.+)+)+)+$','304948BXnRMg','toString','12pBwrvL','3619965qWjhah','650752iuPdDc','1019624jKNYdF','171VzAsus','951935togvaO','apply'];a54c=function(){return i;};return a54c();}export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
1
+ (function(a,b){var f=a53d,c=a();while(!![]){try{var d=parseInt(f(0x11e))/0x1+parseInt(f(0x120))/0x2+parseInt(f(0x125))/0x3+-parseInt(f(0x11d))/0x4*(parseInt(f(0x121))/0x5)+-parseInt(f(0x11c))/0x6*(-parseInt(f(0x122))/0x7)+-parseInt(f(0x124))/0x8+-parseInt(f(0x123))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xd2b7d));var a53b=(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;};}()),a53a=a53b(this,function(){var g=a53d;return a53a[g(0x11f)]()['search']('(((.+)+)+)+$')[g(0x11f)]()['constructor'](a53a)[g(0x127)](g(0x126));});a53a();export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}function a53c(){var h=['849700wPtQua','toString','2579820JBupCK','15hhGazi','7VHlQdB','9957033hBNbSg','10306824PDdbRF','4953144nCHuJK','(((.+)+)+)+$','search','1957512LJPImN','1145492tWOniF'];a53c=function(){return h;};return a53c();}function a53d(a,b){var c=a53c();return a53d=function(d,e){d=d-0x11c;var f=c[d];return f;},a53d(a,b);}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
@@ -1 +1 @@
1
- const a55u=a55d;(function(a,b){const q=a55d,c=a();while(!![]){try{const d=parseInt(q(0x14e))/0x1+parseInt(q(0x120))/0x2*(parseInt(q(0x15d))/0x3)+-parseInt(q(0x16e))/0x4*(parseInt(q(0x163))/0x5)+-parseInt(q(0x133))/0x6+-parseInt(q(0x128))/0x7*(-parseInt(q(0x136))/0x8)+-parseInt(q(0x145))/0x9+-parseInt(q(0x168))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x2d289));const a55b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a55d;if(c){const e=c[r(0x123)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){const s=a55d;return a55a[s(0x166)]()[s(0x153)](s(0x156))[s(0x166)]()[s(0x162)](a55a)['search']('(((.+)+)+)+$');});a55a();import a55e from'path';function a55c(){const F=['both','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','Generator.create\x20requires\x20some\x20options!','2143183hPfIga','sort','minOptsLength','call','proGenerators','Too\x20few\x20arguments','getPro','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','push','error','replace','268920nVVIqS','maxArgLength','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','8txLEEV','tableList','roles','options','findProjectDirectory','client','length','name','Server','validateMakaProject','exit','pop','Too\x20many\x20arguments','bind','Generator\x20requires\x20a\x20name','1934919FQiyjs','map','Description','To\x20use\x20these\x20pro\x20flags,\x20\x22','To\x20use\x20this\x20generator,\x20\x22','aliases','lib','chdir','Client','208301NZlKUL','Generator.create\x20requires\x20a\x20handler\x20function!','mustHaveMeteorInstalled','colLocAnswer','_generators','search','cwd','split','(((.+)+)+)+$','dir','addGenerator\x20requires\x20a\x20Generator\x20instance','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','singleLicense','number','create','6723scxBVq','validateParams','bright','Too\x20many\x20options','noResource','constructor','15rgxMpC','proFlags','includes','toString','where','975990omcqfR','Alias','_handler','findGenerator','function','appPathPrefix','13584JAdedj','assign','listGenerators','Both','Generators:','keys','server','help','minArgLength','validateMeteorInstall','maxOptsLength','filter','slice','root','Location','notice','34TsXEVh','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','addGenerator','apply','resourceName'];a55c=function(){return F;};return a55c();}import a55f from'cli-table';function a55d(a,b){const c=a55c();return a55d=function(d,e){d=d-0x111;let f=c[d];return f;},a55d(a,b);}import{paramCase}from'change-case';import a55g from'./generators/maka.gen.js';import{Log}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError}from'./error.js';let _prevGen='';function inside(a='.',b){const t=a55d,c=process[t(0x154)]();let d=null;try{process[t(0x14c)](a),d=b();}finally{process['chdir'](c);}return d;}export class Generator extends Tool{[a55u(0x139)];[a55u(0x152)];constructor(a,b){const v=a55u;super();if(!a)throw new Error(v(0x12f));if(!a['name'])throw new Error(v(0x144));if(typeof b!==v(0x16c))throw new Error('Generator\x20requires\x20a\x20handler\x20function');this[v(0x152)]=[],this[v(0x139)]=Object[v(0x111)]({},a),this['name']=this[v(0x139)][v(0x13d)],this[v(0x16a)]=b[v(0x143)](this);}static[a55u(0x15c)](a,b,c){const w=a55u;if(!a)throw new Error(w(0x127));if(typeof b!==w(0x16c))throw new Error(w(0x14f));const d=new Generator(a,b);return c=c||a55g,Object[w(0x111)](d,{'parent':c?.[w(0x139)]?.[w(0x13d)]}),c[w(0x122)](d),d;}[a55u(0x122)](a){const x=a55u;if(!(a instanceof Generator))throw new Error(x(0x158));this[x(0x152)][x(0x130)](a);}[a55u(0x16b)](a){const b=this['_generators']['find'](c=>c['match'](a));return b;}async['validateMakaSubscription'](a,b){const y=a55u,c=this['findGenerator'](a[0x0]);if(c){const d=c?.['name']||a[0x0],e=c?.['parent']||'',f=Object[y(0x115)](b),g=await this['fsi'][y(0x12e)]();!g&&(Log[y(0x131)](y(0x126)),process['exit'](0x1));const h=!g?.[y(0x138)]['includes'](y(0x15a))&&!g?.[y(0x138)][y(0x165)]('domainLicense'),i=g?.[y(0x12c)]['includes'](d)||g?.[y(0x12c)][y(0x165)](e);if(i&&h)throw y(0x149)+d+y(0x121);if(f['length']>0x0){const j=g?.[y(0x164)][y(0x11b)](k=>f[y(0x165)](k));if(j&&j[y(0x13c)]>0x0&&h)throw y(0x148)+j?.['join'](',\x20')+y(0x121);}}}async['invoke'](a,b){const z=a55u,{usage:usage='',description:description='',examples:examples=[],shortDesc:c,requiredOpts:requiredOpts=[],validOpts:d}=this[z(0x139)];try{await this['validateMakaSubscription'](a,b);}catch(g){Log[z(0x131)](g),process[z(0x140)](0x1);}const f=a[z(0x11c)]();b['resourceName']=f[0x0];try{if((a[0x0]===_prevGen||a[z(0x13c)]===0x0)&&b[z(0x117)])throw new UsageError();if(this[z(0x139)]['mustBeInMakaProject']){const h=this[z(0x13f)]();if(!h)throw new MustBeInProjectError();}if(this['options'][z(0x150)]){const i=this[z(0x119)]();if(!i)throw new NoMeteorFoundError();}if(typeof this[z(0x139)][z(0x118)]===z(0x15b)){if(a[z(0x13c)]<this['options'][z(0x118)]){Log[z(0x131)](z(0x12d));throw new UsageError();}}if(typeof this['options'][z(0x134)]==='number'){if(a[z(0x13c)]>this[z(0x139)][z(0x134)]){Log[z(0x131)](z(0x142));throw new UsageError();}}if(typeof this[z(0x139)][z(0x12a)]===z(0x15b)){if(Object[z(0x115)](b)[z(0x13c)]<this[z(0x139)][z(0x12a)]){Log['error']('Too\x20few\x20options');throw new UsageError();}}if(typeof this['options'][z(0x11a)]==='number'){if(Object[z(0x115)](b)[z(0x13c)]>=this[z(0x139)][z(0x11a)]){Log['error'](z(0x160));throw new UsageError();}}this[z(0x15e)](a,b,this[z(0x139)]);if(!b[z(0x124)]&&!this['options'][z(0x161)]){Log[z(0x131)]('No\x20resource\x20name\x20specified');throw new UsageError();}_prevGen=a[0x0];}catch(j){Log['usage'](description,examples,usage,c,requiredOpts,d);if(j instanceof UsageError)this[z(0x152)]['length']>0x0&&b[z(0x117)]&&(Log[z(0x11f)](z(0x114)),this['tableList'](this['_generators']));else{if(j instanceof MustBeInProjectError)Log[z(0x131)]('You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator');else{if(j instanceof NoMeteorFoundError)Log[z(0x131)](z(0x135)),Log['notice']('Please\x20run\x20\x22maka\x20install\x20meteor\x22');else{if(j instanceof NoMeteorAppFoundError)Log[z(0x131)]('There\x20is\x20no\x20Meteor\x20application\x20here');else throw j;}}}process[z(0x140)](0x1);}return new Promise(k=>{const A=z;inside(b[A(0x154)],async()=>{const B=A;try{if(!b[B(0x11d)]&&!this['fsi'][B(0x13a)]())throw new MustBeInProjectError();const l=b['resourceName']?.[B(0x132)](/\\/g,'/')[B(0x155)]('/');!b[B(0x157)]&&(l?.[B(0x13c)]>0x1?(b['resourceName']=l[B(0x141)](),f[0x0]=b[B(0x124)],b[B(0x157)]=l[B(0x146)](m=>{return paramCase(m);})['join'](a55e['sep'])):b[B(0x157)]='');if(this[B(0x139)]['checkWhere']){if(!b[B(0x167)]){const n={'type':'list','name':B(0x151),'message':B(0x11e),'choices':[{'name':B(0x14d),'value':B(0x13b)},{'name':B(0x13e),'value':'server'},{'name':B(0x113),'value':B(0x125)}]},{colLocAnswer:o}=await Actions[B(0x139)](n);o?b[B(0x167)]=o:b['where']=B(0x125);}const m=[B(0x125),B(0x13b),B(0x116)];if(!m[B(0x165)](b[B(0x167)])){Log[B(0x131)](B(0x159));throw new UsageError();}switch(b[B(0x167)]){case B(0x125):b[B(0x16d)]=B(0x14b);break;case B(0x116):b[B(0x16d)]=B(0x116);break;case B(0x13b):b[B(0x16d)]=B(0x13b);break;default:b[B(0x16d)]='';}}k(this[B(0x16a)][B(0x12b)](this,f,b));}catch(p){console[B(0x131)](p);}});});}[a55u(0x112)](){const C=a55u;this[C(0x137)](this['_generators']);}[a55u(0x137)](a){const D=a55u,b=new a55f({});b[D(0x130)](['Name',D(0x169),D(0x147)]),a[D(0x129)]()['forEach'](c=>{const E=D;b[E(0x130)]([c['name'],c[E(0x14a)](),c['shortDesc']()]);}),Log[D(0x15f)](b[D(0x166)]());}}
1
+ const a54u=a54d;(function(a,b){const q=a54d,c=a();while(!![]){try{const d=parseInt(q(0x1bd))/0x1*(parseInt(q(0x1c8))/0x2)+-parseInt(q(0x1ff))/0x3*(parseInt(q(0x1da))/0x4)+parseInt(q(0x1d3))/0x5+-parseInt(q(0x1b3))/0x6*(-parseInt(q(0x1fe))/0x7)+-parseInt(q(0x1e3))/0x8*(parseInt(q(0x1f0))/0x9)+-parseInt(q(0x1ec))/0xa+parseInt(q(0x203))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x8682b));function a54c(){const G=['No\x20resource\x20name\x20specified','server','parent','singleLicense','validateMakaSubscription','Both','1aQMyqf','constructor','To\x20use\x20this\x20generator,\x20\x22','exit','findGenerator','roles','Too\x20few\x20arguments','resourceName','domainLicense','validateMakaProject','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','646978dgJTbb','Generator\x20requires\x20a\x20handler\x20function','where','proGenerators','search','noResource','fsi','appPathPrefix','validateParams','_handler','push','299245gwJWCd','keys','name','proFlags','chdir','maxArgLength','minArgLength','12IFXfCk','assign','match','invoke','Generator.create\x20requires\x20a\x20handler\x20function!','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','client','bright','number','8786104bkGfnX','tableList','includes','To\x20use\x20these\x20pro\x20flags,\x20\x22','length','join','Server','error','cwd','7051290FstSTz','Description','Too\x20many\x20arguments','bind','9jnxNnM','lib','usage','apply','colLocAnswer','aliases','sep','filter','split','call','maxOptsLength','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','options','(((.+)+)+)+$','377916BDrWGt','827961NVJaJr','function','dir','findProjectDirectory','24849990fQXDdO','both','help','toString','shortDesc','There\x20is\x20no\x20Meteor\x20application\x20here','replace','map','Too\x20few\x20options','sort','Please\x20run\x20\x22maka\x20install\x20meteor\x22','minOptsLength','Too\x20many\x20options','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','_generators','mustBeInMakaProject','addGenerator','60cvQMTB','forEach','mustHaveMeteorInstalled','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly'];a54c=function(){return G;};return a54c();}const a54b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a54d;if(c){const e=c[r(0x1f3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){const s=a54d;return a54a['toString']()[s(0x1cc)](s(0x1fd))[s(0x206)]()[s(0x1be)](a54a)[s(0x1cc)](s(0x1fd));});a54a();import a54e from'path';import a54f from'cli-table';function a54d(a,b){const c=a54c();return a54d=function(d,e){d=d-0x1ac;let f=c[d];return f;},a54d(a,b);}import{paramCase}from'change-case';import a54g from'./generators/maka.gen.js';import{Log}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError}from'./error.js';let _prevGen='';function inside(a='.',b){const t=a54d,c=process[t(0x1eb)]();let d=null;try{process[t(0x1d7)](a),d=b();}finally{process['chdir'](c);}return d;}export class Generator extends Tool{['options'];[a54u(0x1b0)];constructor(a,b){const v=a54u;super();if(!a)throw new Error(v(0x1c7));if(!a[v(0x1d5)])throw new Error('Generator\x20requires\x20a\x20name');if(typeof b!==v(0x200))throw new Error(v(0x1c9));this[v(0x1b0)]=[],this[v(0x1fc)]=Object[v(0x1db)]({},a),this[v(0x1d5)]=this['options']['name'],this['_handler']=b[v(0x1ef)](this);}static['create'](a,b,c){const w=a54u;if(!a)throw new Error('Generator.create\x20requires\x20some\x20options!');if(typeof b!==w(0x200))throw new Error(w(0x1de));const d=new Generator(a,b);return c=c||a54g,Object[w(0x1db)](d,{'parent':c?.[w(0x1fc)]?.[w(0x1d5)]}),c[w(0x1b2)](d),d;}[a54u(0x1b2)](a){const x=a54u;if(!(a instanceof Generator))throw new Error('addGenerator\x20requires\x20a\x20Generator\x20instance');this['_generators'][x(0x1d2)](a);}[a54u(0x1c1)](a){const y=a54u,b=this[y(0x1b0)]['find'](c=>c[y(0x1dc)](a));return b;}async['validateMakaSubscription'](a,b){const z=a54u,c=this['findGenerator'](a[0x0]);if(c){const d=c?.[z(0x1d5)]||a[0x0],e=c?.[z(0x1b9)]||'',f=Object[z(0x1d4)](b),g=await this[z(0x1ce)]['getPro']();!g&&(Log['error'](z(0x1af)),process['exit'](0x1));const h=!g?.[z(0x1c2)][z(0x1e5)](z(0x1ba))&&!g?.[z(0x1c2)][z(0x1e5)](z(0x1c5)),i=g?.[z(0x1cb)]['includes'](d)||g?.[z(0x1cb)][z(0x1e5)](e);if(i&&h)throw z(0x1bf)+d+z(0x1fb);if(f[z(0x1e7)]>0x0){const j=g?.[z(0x1d6)][z(0x1f7)](k=>f[z(0x1e5)](k));if(j&&j[z(0x1e7)]>0x0&&h)throw z(0x1e6)+j?.[z(0x1e8)](',\x20')+z(0x1fb);}}}async[a54u(0x1dd)](a,b){const A=a54u,{usage:usage='',description:description='',examples:examples=[],shortDesc:c,requiredOpts:requiredOpts=[],validOpts:d}=this[A(0x1fc)];try{await this[A(0x1bb)](a,b);}catch(g){Log[A(0x1ea)](g),process['exit'](0x1);}const f=a['slice']();b[A(0x1c4)]=f[0x0];try{if((a[0x0]===_prevGen||a['length']===0x0)&&b[A(0x205)])throw new UsageError();if(this['options'][A(0x1b1)]){const h=this[A(0x1c6)]();if(!h)throw new MustBeInProjectError();}if(this[A(0x1fc)][A(0x1b5)]){const i=this['validateMeteorInstall']();if(!i)throw new NoMeteorFoundError();}if(typeof this[A(0x1fc)][A(0x1d9)]===A(0x1e2)){if(a[A(0x1e7)]<this[A(0x1fc)][A(0x1d9)]){Log[A(0x1ea)](A(0x1c3));throw new UsageError();}}if(typeof this['options'][A(0x1d8)]==='number'){if(a[A(0x1e7)]>this[A(0x1fc)]['maxArgLength']){Log[A(0x1ea)](A(0x1ee));throw new UsageError();}}if(typeof this[A(0x1fc)][A(0x1ad)]===A(0x1e2)){if(Object[A(0x1d4)](b)[A(0x1e7)]<this[A(0x1fc)][A(0x1ad)]){Log['error'](A(0x20b));throw new UsageError();}}if(typeof this['options'][A(0x1fa)]===A(0x1e2)){if(Object[A(0x1d4)](b)[A(0x1e7)]>=this[A(0x1fc)][A(0x1fa)]){Log[A(0x1ea)](A(0x1ae));throw new UsageError();}}this[A(0x1d0)](a,b,this['options']);if(!b[A(0x1c4)]&&!this[A(0x1fc)][A(0x1cd)]){Log[A(0x1ea)](A(0x1b7));throw new UsageError();}_prevGen=a[0x0];}catch(j){Log[A(0x1f2)](description,examples,usage,c,requiredOpts,d);if(j instanceof UsageError)this[A(0x1b0)][A(0x1e7)]>0x0&&b[A(0x205)]&&(Log['notice']('Generators:'),this[A(0x1e4)](this[A(0x1b0)]));else{if(j instanceof MustBeInProjectError)Log[A(0x1ea)](A(0x1df));else{if(j instanceof NoMeteorFoundError)Log['error'](A(0x1b6)),Log['notice'](A(0x1ac));else{if(j instanceof NoMeteorAppFoundError)Log[A(0x1ea)](A(0x208));else throw j;}}}process[A(0x1c0)](0x1);}return new Promise(k=>{const B=A;inside(b[B(0x1eb)],async()=>{const C=B;try{if(!b['root']&&!this[C(0x1ce)][C(0x202)]())throw new MustBeInProjectError();const l=b['resourceName']?.[C(0x209)](/\\/g,'/')[C(0x1f8)]('/');!b[C(0x201)]&&(l?.['length']>0x1?(b['resourceName']=l['pop'](),f[0x0]=b[C(0x1c4)],b[C(0x201)]=l[C(0x20a)](m=>{return paramCase(m);})[C(0x1e8)](a54e[C(0x1f6)])):b[C(0x201)]='');if(this['options']['checkWhere']){if(!b[C(0x1ca)]){const n={'type':'list','name':C(0x1f4),'message':'Location','choices':[{'name':'Client','value':'client'},{'name':C(0x1e9),'value':C(0x1b8)},{'name':C(0x1bc),'value':C(0x204)}]},{colLocAnswer:o}=await Actions[C(0x1fc)](n);o?b[C(0x1ca)]=o:b[C(0x1ca)]=C(0x204);}const m=[C(0x204),'client',C(0x1b8)];if(!m['includes'](b[C(0x1ca)])){Log[C(0x1ea)]('--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27');throw new UsageError();}switch(b[C(0x1ca)]){case C(0x204):b[C(0x1cf)]=C(0x1f1);break;case C(0x1b8):b[C(0x1cf)]=C(0x1b8);break;case'client':b[C(0x1cf)]=C(0x1e0);break;default:b['appPathPrefix']='';}}k(this[C(0x1d1)][C(0x1f9)](this,f,b));}catch(p){console[C(0x1ea)](p);}});});}['listGenerators'](){const D=a54u;this[D(0x1e4)](this[D(0x1b0)]);}[a54u(0x1e4)](a){const E=a54u,b=new a54f({});b[E(0x1d2)](['Name','Alias',E(0x1ed)]),a[E(0x20c)]()[E(0x1b4)](c=>{const F=E;b[F(0x1d2)]([c[F(0x1d5)],c[F(0x1f5)](),c[F(0x207)]()]);}),Log[E(0x1e1)](b[E(0x206)]());}}