@maka/maka-cli 4.5.8 → 4.5.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (96) hide show
  1. package/bundle/obf/package.json +1 -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/install.js +1 -1
  36. package/bundle/obf/src/commands/jsdoc.js +1 -1
  37. package/bundle/obf/src/commands/lint.js +1 -1
  38. package/bundle/obf/src/commands/login.js +1 -1
  39. package/bundle/obf/src/commands/logout.js +1 -1
  40. package/bundle/obf/src/commands/logs.js +1 -1
  41. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  42. package/bundle/obf/src/commands/murder.js +1 -1
  43. package/bundle/obf/src/commands/proxy.js +1 -1
  44. package/bundle/obf/src/commands/reconfig.js +1 -1
  45. package/bundle/obf/src/commands/run/_index.js +1 -1
  46. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  47. package/bundle/obf/src/commands/run/run.command.js +1 -1
  48. package/bundle/obf/src/commands/set/_index.js +1 -1
  49. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  50. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  51. package/bundle/obf/src/commands/set/set.command.js +1 -1
  52. package/bundle/obf/src/commands/ssh.js +1 -1
  53. package/bundle/obf/src/commands/ssl.js +1 -1
  54. package/bundle/obf/src/commands/test.js +1 -1
  55. package/bundle/obf/src/commands/version.js +1 -1
  56. package/bundle/obf/src/error.js +1 -1
  57. package/bundle/obf/src/generator.js +1 -1
  58. package/bundle/obf/src/generators/_index.js +1 -1
  59. package/bundle/obf/src/generators/api.js +1 -1
  60. package/bundle/obf/src/generators/collection.js +1 -1
  61. package/bundle/obf/src/generators/component.js +1 -1
  62. package/bundle/obf/src/generators/config.js +1 -1
  63. package/bundle/obf/src/generators/dbc.js +1 -1
  64. package/bundle/obf/src/generators/dockerfile.js +1 -1
  65. package/bundle/obf/src/generators/hook.js +1 -1
  66. package/bundle/obf/src/generators/kit.js +1 -1
  67. package/bundle/obf/src/generators/layout.js +1 -1
  68. package/bundle/obf/src/generators/maka.gen.js +1 -1
  69. package/bundle/obf/src/generators/methods.js +1 -1
  70. package/bundle/obf/src/generators/package.js +1 -1
  71. package/bundle/obf/src/generators/page.js +1 -1
  72. package/bundle/obf/src/generators/publish.js +1 -1
  73. package/bundle/obf/src/generators/route.js +1 -1
  74. package/bundle/obf/src/generators/service.js +1 -1
  75. package/bundle/obf/src/generators/services/_index.js +1 -1
  76. package/bundle/obf/src/generators/services/openssl.js +1 -1
  77. package/bundle/obf/src/generators/services/translation.js +1 -1
  78. package/bundle/obf/src/maka.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 +1 -1
@@ -1 +1 @@
1
- const a36y=a36d;(function(a,b){const w=a36d,c=a();while(!![]){try{const d=parseInt(w(0xd1))/0x1*(-parseInt(w(0xf9))/0x2)+-parseInt(w(0xe9))/0x3*(-parseInt(w(0xcd))/0x4)+parseInt(w(0xec))/0x5+-parseInt(w(0xd9))/0x6+-parseInt(w(0xf1))/0x7+parseInt(w(0xdd))/0x8+-parseInt(w(0xf4))/0x9*(parseInt(w(0xc9))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x44bdb));const a36b=(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;};}()),a36a=a36b(this,function(){const x=a36d;return a36a['toString']()[x(0xf8)](x(0xf5))[x(0xe6)]()[x(0xd3)](a36a)[x(0xf8)](x(0xf5));});a36a();import a36e from'node-forge';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a36c(){const A=['CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','cert','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','login','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','update','toString','help','parse','855cswxKV','success','localhost','2043885CaEzVP','MAKA_DEV','fsi','error','failure','1808359gqbwFI','authToken','cacert','3366423akDdlT','(((.+)+)+)+$','Logging\x20in','password','search','2ipvcfC','env','start','debug','post','/api/v1/login','isFile','https://','Using\x20CA\x20Cert\x20','get','exit','10UyBePb','digest','True','header','6872yoABMZ','www.maka-cli.com','create','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','461537bDjXWH','withSpinner','constructor','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','/api/v1/status','Email:','setGlobalConfig','ask','207450HxaMzn','assign','/api/v1/encodeJwt','email','4093216KUwrKA','Preflight\x20Check','Logging\x20into\x20https://'];a36c=function(){return A;};return a36c();}import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0xc4;let f=c[d];return f;},a36d(a,b);}const hostname=process[a36y(0xfa)][a36y(0xed)]===a36y(0xcb)?a36y(0xeb):a36y(0xce);Command[a36y(0xcf)]({'name':a36y(0xe3),'validOpts':[a36y(0xdc),'password',a36y(0xe7),a36y(0xf3),a36y(0xfc)],'usage':'maka\x20login','maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a36y(0xd4),'examples':['maka\x20login',a36y(0xe2)]},async function(a,b){const z=a36y,c=Log[z(0xd2)]();try{let d='';b[z(0xf3)]&&(this[z(0xee)][z(0xc4)](b[z(0xf3)])?(d=b[z(0xf3)],Log['notice'](z(0xc6)+d)):Log[z(0xef)](z(0xe0)+d));const f=await this[z(0xee)]['getGlobalConfig']();if(f[z(0xe1)]){if(this['fsi']['isFile'](f[z(0xe1)]))d=f[z(0xe1)];else{Log[z(0xef)](z(0xe4)+d);return;}}Log[z(0xcc)](z(0xdf)+hostname);const g={'url':z(0xc5)+hostname+z(0xd5)};b[z(0xf3)]&&Object[z(0xda)](g,{'cert':d});c['start'](z(0xde));const {statusCode:h}=await HTTPS[z(0xc7)](g);if(h===0x198){c[z(0xf0)]();throw z(0xd0);}if(h!==0xc8){c[z(0xf0)]();throw'https://'+hostname+'\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli';}c['success']();const i=b[z(0xdc)]?b[z(0xdc)]:await Actions[z(0xd8)](z(0xd6)),j=b[z(0xf7)]?b[z(0xf7)]:await Actions['ask']('Password:\x20',!![]),k=a36e['md']['sha256'][z(0xcf)]();k[z(0xe5)](j);const l=k[z(0xca)]()['toHex'](),m={'hostname':hostname,'path':z(0xfe),'data':{'email':i,'password':l,'hashed':!![]}};b[z(0xf3)]&&Object[z(0xda)](m,{'cert':d});c[z(0xfb)](z(0xf6));const {data:n,statusCode:o}=await HTTPS[z(0xfd)](m);if(o===0x198){c[z(0xf0)]('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://'+hostname;}const p=JSON[z(0xe8)](n);if(p['authToken']){const q={'hostname':hostname,'path':z(0xdb),'headers':{'x-auth-token':p[z(0xf2)]},'data':{}};b[z(0xf3)]&&Object[z(0xda)](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS[z(0xfd)](q),{token:t}=JSON[z(0xe8)](r);if(s===0x198)throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://'+hostname;const u={'token':p,'hash':t};this[z(0xee)][z(0xd7)](u);}else{c[z(0xf0)]();throw p;}c[z(0xea)]();}catch(v){c['failure'](),console[z(0xef)](v),process[z(0xc8)](0x0);}});
1
+ const a36y=a36d;function a36c(){const A=['5073376asVSyP','start','cert','1613390EJdPdl','update','Password:\x20','Using\x20CA\x20Cert\x20','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','4249pNvwin','True','164865srrMdQ','54GsZGSx','post','/api/v1/login','create','error','Preflight\x20Check','password','maka\x20login','(((.+)+)+)+$','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','MAKA_DEV','233591WtkHLa','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','exit','5542jGtsfP','help','Email:','digest','72008QQWAQS','search','assign','ask','get','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','123fRHTbp','notice','cacert','failure','fsi','localhost','24viSYIi','153JuluFp','debug','parse','www.maka-cli.com','authToken','toHex','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','Logging\x20into\x20https://','toString','login','env','sha256','https://','email','constructor'];a36c=function(){return A;};return a36c();}(function(a,b){const w=a36d,c=a();while(!![]){try{const d=-parseInt(w(0x164))/0x1+parseInt(w(0x167))/0x2*(parseInt(w(0x137))/0x3)+parseInt(w(0x13d))/0x4*(-parseInt(w(0x158))/0x5)+parseInt(w(0x159))/0x6*(parseInt(w(0x156))/0x7)+parseInt(w(0x16b))/0x8*(parseInt(w(0x13e))/0x9)+-parseInt(w(0x150))/0xa+parseInt(w(0x14d))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x224fb));const a36b=(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;};}()),a36a=a36b(this,function(){const x=a36d;return a36a[x(0x146)]()[x(0x16c)](x(0x161))[x(0x146)]()[x(0x14c)](a36a)[x(0x16c)]('(((.+)+)+)+$');});a36a();import a36e from'node-forge';import{Command}from'../command.js';function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0x137;let f=c[d];return f;},a36d(a,b);}import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a36y(0x148)][a36y(0x163)]===a36y(0x157)?a36y(0x13c):a36y(0x141);Command[a36y(0x15c)]({'name':a36y(0x147),'validOpts':[a36y(0x14b),a36y(0x15f),a36y(0x168),a36y(0x139),a36y(0x13f)],'usage':a36y(0x160),'maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a36y(0x154),'examples':[a36y(0x160),'maka\x20login\x20--email\x20<address>\x20--password\x20<password>']},async function(a,b){const z=a36y,c=Log['withSpinner']();try{let d='';b[z(0x139)]&&(this[z(0x13b)]['isFile'](b['cacert'])?(d=b[z(0x139)],Log[z(0x138)](z(0x153)+d)):Log[z(0x15d)](z(0x165)+d));const f=await this[z(0x13b)]['getGlobalConfig']();if(f[z(0x14f)]){if(this[z(0x13b)]['isFile'](f[z(0x14f)]))d=f[z(0x14f)];else{Log[z(0x15d)](z(0x144)+d);return;}}Log['header'](z(0x145)+hostname);const g={'url':z(0x14a)+hostname+'/api/v1/status'};b['cacert']&&Object[z(0x16d)](g,{'cert':d});c[z(0x14e)](z(0x15e));const {statusCode:h}=await HTTPS[z(0x16f)](g);if(h===0x198){c[z(0x13a)]();throw z(0x170);}if(h!==0xc8){c[z(0x13a)]();throw z(0x14a)+hostname+z(0x155);}c['success']();const i=b['email']?b[z(0x14b)]:await Actions[z(0x16e)](z(0x169)),j=b[z(0x15f)]?b[z(0x15f)]:await Actions[z(0x16e)](z(0x152),!![]),k=a36e['md'][z(0x149)]['create']();k[z(0x151)](j);const l=k[z(0x16a)]()[z(0x143)](),m={'hostname':hostname,'path':z(0x15b),'data':{'email':i,'password':l,'hashed':!![]}};b[z(0x139)]&&Object['assign'](m,{'cert':d});c[z(0x14e)]('Logging\x20in');const {data:n,statusCode:o}=await HTTPS['post'](m);if(o===0x198){c[z(0x13a)]('\x0a');throw z(0x162)+hostname;}const p=JSON[z(0x140)](n);if(p[z(0x142)]){const q={'hostname':hostname,'path':'/api/v1/encodeJwt','headers':{'x-auth-token':p[z(0x142)]},'data':{}};b['cacert']&&Object[z(0x16d)](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS[z(0x15a)](q),{token:t}=JSON[z(0x140)](r);if(s===0x198)throw z(0x162)+hostname;const u={'token':p,'hash':t};this[z(0x13b)]['setGlobalConfig'](u);}else{c['failure']();throw p;}c['success']();}catch(v){c[z(0x13a)](),console[z(0x15d)](v),process[z(0x166)](0x0);}});
@@ -1 +1 @@
1
- const a37n=a37d;(function(a,b){const l=a37d,c=a();while(!![]){try{const d=-parseInt(l(0x193))/0x1*(parseInt(l(0x189))/0x2)+-parseInt(l(0x185))/0x3+parseInt(l(0x18e))/0x4+-parseInt(l(0x1a7))/0x5*(-parseInt(l(0x18d))/0x6)+-parseInt(l(0x18a))/0x7*(parseInt(l(0x1a9))/0x8)+-parseInt(l(0x19d))/0x9+parseInt(l(0x1ac))/0xa*(parseInt(l(0x198))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x32696));function a37c(){const p=['1013580CvDUzK','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','True','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','authToken','success','Using\x20CA\x20Cert\x20','maka\x20logout','fsi','cacert','2665fdbybg','env','5792LqooKE','localhost','isFile','177640qakdMD','search','setGlobalConfig','failure','https://','header','MAKA_DEV','post','cert','750981TaSufT','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','/api/v1/status','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','372QBnbqk','1435wmhXQt','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','exit','1806txaPWN','942808ijDfYO','error','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','assign','notice','1231nOAoYd','token','toString','/api/v1/logoutAll','constructor','341gfKBAq','get','start','(((.+)+)+)+$','logout'];a37c=function(){return p;};return a37c();}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['toString']()[m(0x1ad)](m(0x19b))[m(0x195)]()[m(0x197)](a37a)['search'](m(0x19b));});a37a();import{Command}from'../command.js';function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x183;let f=c[d];return f;},a37d(a,b);}import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a37n(0x1a8)][a37n(0x1b2)]===a37n(0x19f)?a37n(0x1aa):'www.maka-cli.com';Command['create']({'name':a37n(0x19c),'validOpts':['cacert'],'usage':a37n(0x1a4),'maxArgLength':0x2,'shortDesc':a37n(0x188),'disableAuthCheck':!![],'examples':['maka\x20logout']},async function(a,b){const o=a37n,c=Log['withSpinner']();try{let d='';b[o(0x1a6)]&&(this[o(0x1a5)][o(0x1ab)](b[o(0x1a6)])?(d=b[o(0x1a6)],Log[o(0x192)](o(0x1a3)+d)):Log[o(0x18f)](o(0x18b)+d));const f=await this[o(0x1a5)]['getGlobalConfig']();if(f[o(0x184)]){if(this[o(0x1a5)][o(0x1ab)](f[o(0x184)]))d=f['cert'];else{c[o(0x1af)]();throw Log['error'](o(0x190)+d);}}Log[o(0x1b1)]('Logging\x20out\x20of\x20https://'+hostname);const g={'url':o(0x1b0)+hostname+o(0x187)};b[o(0x1a6)]&&Object[o(0x191)](g,{'cert':d});c[o(0x19a)]('Preflight\x20Check');const {statusCode:h}=await HTTPS[o(0x199)](g);if(h===0x198){c['failure']();throw o(0x1a0);}c[o(0x1a2)]();if(h!==0xc8){c[o(0x1af)]();throw o(0x19e);}if(!f?.['token']?.['authToken'])throw Log[o(0x18f)](o(0x186));c[o(0x19a)]('Logging\x20out');const i={'hostname':hostname,'path':o(0x196),'data':{},'headers':{'x-auth-token':f[o(0x194)][o(0x1a1)]}};b[o(0x1a6)]&&Object[o(0x191)](i,{'cert':d});const {statusCode:j}=await HTTPS[o(0x183)](i);if(j===0x198){c[o(0x1af)]('\x0a');throw o(0x1a0);}this[o(0x1a5)][o(0x1ae)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[o(0x1a2)]();}catch(k){k&&console[o(0x18f)](k),process[o(0x18c)](0x0);}});
1
+ const a37o=a37d;(function(a,b){const l=a37d,c=a();while(!![]){try{const d=parseInt(l(0xbe))/0x1*(-parseInt(l(0xd1))/0x2)+parseInt(l(0xc3))/0x3+parseInt(l(0xd3))/0x4+-parseInt(l(0xc2))/0x5*(-parseInt(l(0xe3))/0x6)+-parseInt(l(0xe5))/0x7*(-parseInt(l(0xe6))/0x8)+-parseInt(l(0xd6))/0x9*(parseInt(l(0xc4))/0xa)+-parseInt(l(0xde))/0xb*(parseInt(l(0xda))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x5a95e));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a37d;if(c){const e=c[m(0xce)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const n=a37d;return a37a[n(0xdb)]()['search'](n(0xcd))[n(0xdb)]()[n(0xca)](a37a)['search'](n(0xcd));});a37a();function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0xba;let f=c[d];return f;},a37d(a,b);}import{Command}from'../command.js';function a37c(){const q=['header','5277YfURgI','cacert','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','token','15wOqqWq','269571LTNiLP','20CGRdtT','Logging\x20out','https://','failure','localhost','isFile','constructor','get','Logging\x20out\x20of\x20https://','(((.+)+)+)+$','apply','start','notice','136bybNKe','fsi','1332344wXvvxu','error','www.maka-cli.com','977391LyZbXz','Using\x20CA\x20Cert\x20','cert','assign','1140EkFHJO','toString','/api/v1/status','authToken','19503WOXGMq','exit','/api/v1/logoutAll','env','setGlobalConfig','1329792veTkDQ','logout','14MhTQwY','110672aJILmB','Preflight\x20Check','withSpinner','success','post','True'];a37c=function(){return q;};return a37c();}import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a37o(0xe1)]['MAKA_DEV']===a37o(0xbc)?a37o(0xc8):a37o(0xd5);Command['create']({'name':a37o(0xe4),'validOpts':[a37o(0xbf)],'usage':'maka\x20logout','maxArgLength':0x2,'shortDesc':a37o(0xc0),'disableAuthCheck':!![],'examples':['maka\x20logout']},async function(a,b){const p=a37o,c=Log[p(0xe8)]();try{let d='';b[p(0xbf)]&&(this[p(0xd2)][p(0xc9)](b['cacert'])?(d=b[p(0xbf)],Log[p(0xd0)](p(0xd7)+d)):Log[p(0xd4)]('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+d));const f=await this['fsi']['getGlobalConfig']();if(f[p(0xd8)]){if(this[p(0xd2)][p(0xc9)](f[p(0xd8)]))d=f[p(0xd8)];else{c[p(0xc7)]();throw Log[p(0xd4)]('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+d);}}Log[p(0xbd)](p(0xcc)+hostname);const g={'url':p(0xc6)+hostname+p(0xdc)};b[p(0xbf)]&&Object[p(0xd9)](g,{'cert':d});c[p(0xcf)](p(0xe7));const {statusCode:h}=await HTTPS[p(0xcb)](g);if(h===0x198){c[p(0xc7)]();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}c[p(0xba)]();if(h!==0xc8){c[p(0xc7)]();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?.[p(0xc1)]?.['authToken'])throw Log['error']('Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?');c[p(0xcf)](p(0xc5));const i={'hostname':hostname,'path':p(0xe0),'data':{},'headers':{'x-auth-token':f['token'][p(0xdd)]}};b[p(0xbf)]&&Object[p(0xd9)](i,{'cert':d});const {statusCode:j}=await HTTPS[p(0xbb)](i);if(j===0x198){c[p(0xc7)]('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}this[p(0xd2)][p(0xe2)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[p(0xba)]();}catch(k){k&&console['error'](k),process[p(0xdf)](0x0);}});
@@ -1 +1 @@
1
- const a38k=a38d;(function(a,b){const h=a38d,c=a();while(!![]){try{const d=parseInt(h(0xea))/0x1+parseInt(h(0xd7))/0x2+-parseInt(h(0xe5))/0x3+parseInt(h(0xce))/0x4*(-parseInt(h(0xd4))/0x5)+-parseInt(h(0xdc))/0x6+parseInt(h(0xd5))/0x7*(parseInt(h(0xde))/0x8)+-parseInt(h(0xe9))/0x9*(-parseInt(h(0xd9))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x8f377));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a38d;if(c){const e=c[i(0xe3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const j=a38d;return a38a['toString']()['search']('(((.+)+)+)+$')[j(0xe8)]()['constructor'](a38a)['search'](j(0xe6));});a38a();import a38e from'fs';function a38c(){const m=['getConfigPath','48kvYEMm','env','log','maka\x20logs\x20--env\x20staging','fsi','apply','join','2074968uKqRsF','(((.+)+)+)+$','parse','toString','18KzbyPR','207309GzNKlQ','maka\x20logs','32XDWMhg','readFileSync','maka\x20l\x20-e\x20p','assign','maka\x20logs\x20--env\x20dev','ssh.json','32990xOffAq','481159RELUge','create','169500ltUShI','logs','3843670fNyvRC','sshSync','View\x20the\x20PM2\x20logs','852960gDzPap'];a38c=function(){return m;};return a38c();}function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0xcd;let f=c[d];return f;},a38d(a,b);}import a38f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a38k(0xd6)]({'name':a38k(0xd8),'aliases':['l',a38k(0xe0)],'usage':a38k(0xcd),'requiredOpts':[a38k(0xdf)],'mustBeInMakaProject':!![],'validOpts':[''],'shortDesc':a38k(0xdb),'examples':[a38k(0xd2),a38k(0xe1),a38k(0xd0)]},function(a,b){const l=a38k,c='pm2\x20logs',d=this[l(0xe2)][l(0xdd)](b['env']),e=a38f[l(0xe4)](d,l(0xd3)),f=a38e[l(0xcf)](e),g=JSON[l(0xe7)](f[l(0xe8)]());Object[l(0xd1)](g,{'env':d}),SSH[l(0xda)](c,g,{'tty':!![],'verbose':!![]});});
1
+ const a38k=a38d;(function(a,b){const h=a38d,c=a();while(!![]){try{const d=-parseInt(h(0x7b))/0x1+-parseInt(h(0x81))/0x2+parseInt(h(0x7a))/0x3+parseInt(h(0x82))/0x4*(-parseInt(h(0x72))/0x5)+parseInt(h(0x7c))/0x6*(-parseInt(h(0x69))/0x7)+-parseInt(h(0x79))/0x8*(-parseInt(h(0x7e))/0x9)+parseInt(h(0x6f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x38fe7));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(){const i=a38d;if(c){const e=c[i(0x78)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const j=a38d;return a38a[j(0x70)]()['search']('(((.+)+)+)+$')[j(0x70)]()['constructor'](a38a)['search'](j(0x7d));});a38a();import a38e from'fs';import a38f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command['create']({'name':'logs','aliases':['l','log'],'usage':a38k(0x80),'requiredOpts':[a38k(0x6a)],'mustBeInMakaProject':!![],'validOpts':[''],'shortDesc':a38k(0x6d),'examples':[a38k(0x73),a38k(0x76),a38k(0x71)]},function(a,b){const l=a38k,c=l(0x7f),d=this[l(0x6b)][l(0x74)](b['env']),e=a38f[l(0x67)](d,l(0x6c)),f=a38e[l(0x77)](e),g=JSON[l(0x6e)](f[l(0x70)]());Object[l(0x68)](g,{'env':d}),SSH[l(0x75)](c,g,{'tty':!![],'verbose':!![]});});function a38c(){const m=['1418960qCqrup','join','assign','13545MxwOhu','env','fsi','ssh.json','View\x20the\x20PM2\x20logs','parse','3890560dMxOkp','toString','maka\x20l\x20-e\x20p','5CxVsOJ','maka\x20logs\x20--env\x20dev','getConfigPath','sshSync','maka\x20logs\x20--env\x20staging','readFileSync','apply','632LwpXzg','1326963EzhoVM','271548RTNHHt','18zjvHFE','(((.+)+)+)+$','27567RuTBab','pm2\x20logs','maka\x20logs','415628ghTHkT'];a38c=function(){return m;};return a38c();}
@@ -1 +1 @@
1
- const a39i=a39d;(function(a,b){const g=a39d,c=a();while(!![]){try{const d=parseInt(g(0xe5))/0x1*(parseInt(g(0xef))/0x2)+-parseInt(g(0xdd))/0x3+-parseInt(g(0xf1))/0x4*(-parseInt(g(0xdf))/0x5)+-parseInt(g(0xe9))/0x6+parseInt(g(0xe4))/0x7+-parseInt(g(0xe7))/0x8*(parseInt(g(0xe3))/0x9)+parseInt(g(0xf2))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x2b71d));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const h=a39d;return a39a[h(0xde)]()[h(0xe0)](h(0xed))['toString']()[h(0xec)](a39a)[h(0xe0)]('(((.+)+)+)+$');});a39a();function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0xdd;let f=c[d];return f;},a39d(a,b);}function a39c(){const k=['(((.+)+)+)+$','maka','17582ZEgXhn','\x0a\x20\x20Hi,\x20my\x20name\x20is\x20Matt.\x20I\x27ve\x20spent\x20a\x20long\x20time\x20developing\x20Meteor\x0a\x20\x20applications\x20and\x20I\x27ve\x20tried\x20my\x20very\x20best\x20to\x20collect\x20the\x20most\x0a\x20\x20efficient\x20ways\x20to\x20go\x20about\x20setting\x20up\x20and\x20organizing\x20your\x20project.\x0a\x0a\x20\x20I\x20created\x20Maka-CLI\x20as\x20a\x20need\x20to\x20develop\x20prototypes\x20quickly\x0a\x20\x20for\x20a\x20relatively\x20small\x20consulting\x20firm.\x20We\x20had\x20small\x20budgets\x0a\x20\x20for\x20projects,\x20and\x20even\x20smaller\x20budgets\x20for\x20proposals\x20and\x20prototypes.\x0a\x20\x20Maka-CLI\x20was\x20a\x20way\x20to\x20develop\x20our\x20applications\x20quickly\x20and\x20make\x20very\x0a\x20\x20aggresive\x20deadlines.\x0a\x0a\x20\x20Many\x20features\x20are\x20available\x20in\x20the\x20Free\x20License,\x20enough\x20to\x20get\x20your\x0a\x20\x20application\x20scaffolded\x20and\x20built.\x20The\x20Pro\x20Single-License\x20includes\x0a\x20\x20commands\x20that\x20will\x20allow\x20you\x20to\x20create\x20cloud\x20instances\x20(on\x20AWS),\x0a\x20\x20deploy\x20to\x20remote\x20hosts\x20(Ubuntu)\x20and\x20streamline\x20every\x20day\x20tasks,\x20such\x0a\x20\x20as\x20monitoring\x20your\x20application\x20logs.\x0a\x0a\x20\x20Make-CLI\x20has\x20one\x20main\x20goal\x20--\x20provide\x20simple\x20tools\x20to\x20create\x20a\x0a\x20\x20structure\x20for\x20your\x20application,\x20and\x20build\x20/\x20maintain\x20it\x20in\x20a\x20repeatable\x0a\x20\x20manner.\x20This\x20is\x20the\x20nature\x20of\x20scaffolding.\x0a\x0a\x20\x20Thank\x20you\x20for\x20your\x20interest\x20in\x20Maka-CLI!\x20🙏\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\x20\x20https://maka-io.medium.com/build-your-webapp-with-meteor-maka-cli-629b7b16831d\x0a\x0a\x20\x20Please\x20ping\x20me\x20on\x20Gitter\x27s\x20Meteor\x20space\x20if\x20you\x20have\x20any\x20questions:\x0a\x20\x20@maka-io\x0a\x20\x20','26084fdOESX','6534550yUiqxA','maka\x20<command>\x20[<args>]\x20[<opts>]','1000260dTFnwi','toString','205kRcqDv','search','maka\x20--help','findSubCommand','765XqumCh','392651SqcPSs','3DfkkKh','maka\x20run','25304dzJdbc','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','1338348kHxerv','error','fsi','constructor'];a39c=function(){return k;};return a39c();}import{Command}from'../command.js';const Maka=new Command({'name':a39i(0xee),'minArgLength':0x1,'shortDesc':a39i(0xe8),'validOpts':[],'usage':a39i(0xf3),'disableAuthCheck':!![],'examples':[a39i(0xe1),'maka\x20install\x20meteor','maka\x20create\x20Todo',a39i(0xe6)],'description':a39i(0xf0)},async function(a,b){const j=a39i;try{const c=a[0x0],d=this[j(0xe2)](c);d?this['runSubCommand'](c,a['slice'](0x1),b):this[j(0xeb)]['maybeProxyCommandToMeteor']();}catch(f){console[j(0xea)](f),process['exit'](0x1);}});export default Maka;
1
+ const a39j=a39d;function a39c(){const l=['700hAiZjB','maka\x20run','25183092bFjTLm','maka\x20<command>\x20[<args>]\x20[<opts>]','48264hDnlSK','\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','4583490jwbZJw','apply','maybeProxyCommandToMeteor','316560lGrIEA','fsi','maka\x20install\x20meteor','slice','search','toString','runSubCommand','8905865CEZBHU','119970FIEnZQ','135BkhXbk','constructor','(((.+)+)+)+$','2TtIzDr','maka','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','error','findSubCommand','4poFMxO','868470yEUmPV','maka\x20create\x20Todo'];a39c=function(){return l;};return a39c();}(function(a,b){const g=a39d,c=a();while(!![]){try{const d=-parseInt(g(0x20a))/0x1*(-parseInt(g(0x1f3))/0x2)+parseInt(g(0x1fb))/0x3*(parseInt(g(0x1f2))/0x4)+parseInt(g(0x205))/0x5+-parseInt(g(0x1f9))/0x6*(parseInt(g(0x1f5))/0x7)+parseInt(g(0x1fe))/0x8+-parseInt(g(0x207))/0x9*(parseInt(g(0x206))/0xa)+-parseInt(g(0x1f7))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xe64d4));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a39d;if(c){const e=c[h(0x1fc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a[i(0x203)]()[i(0x202)](i(0x209))[i(0x203)]()[i(0x208)](a39a)[i(0x202)](i(0x209));});function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x1ee;let f=c[d];return f;},a39d(a,b);}a39a();import{Command}from'../command.js';const Maka=new Command({'name':a39j(0x1ee),'minArgLength':0x1,'shortDesc':a39j(0x1ef),'validOpts':[],'usage':a39j(0x1f8),'disableAuthCheck':!![],'examples':['maka\x20--help',a39j(0x200),a39j(0x1f4),a39j(0x1f6)],'description':a39j(0x1fa)},async function(a,b){const k=a39j;try{const c=a[0x0],d=this[k(0x1f1)](c);d?this[k(0x204)](c,a[k(0x201)](0x1),b):this[k(0x1ff)][k(0x1fd)]();}catch(f){console[k(0x1f0)](f),process['exit'](0x1);}});export default Maka;
@@ -1 +1 @@
1
- function a40c(){var k=['2694690NBcNqS','471rdXHil','error','toString','32IZpqsA','apply','exit','create','389450vIwZBJ','search','font-family:\x20monospace','murder','2940672dIBlhi','%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','8394OPmjBY','2272522hYryfI','121PhuYpi','4892fULrxB','295vkOYob','15467IsgKHK','(((.+)+)+)+$'];a40c=function(){return k;};return a40c();}var a40i=a40d;(function(a,b){var f=a40d,c=a();while(!![]){try{var d=parseInt(f(0x1e9))/0x1*(-parseInt(f(0x1da))/0x2)+-parseInt(f(0x1ec))/0x3*(-parseInt(f(0x1e7))/0x4)+-parseInt(f(0x1e8))/0x5*(-parseInt(f(0x1e4))/0x6)+-parseInt(f(0x1e5))/0x7+parseInt(f(0x1e2))/0x8+-parseInt(f(0x1eb))/0x9+-parseInt(f(0x1de))/0xa*(-parseInt(f(0x1e6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x3095b));var a40b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a40d;if(c){var e=c[g(0x1db)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){var h=a40d;return a40a[h(0x1d9)]()[h(0x1df)](h(0x1ea))['toString']()['constructor'](a40a)[h(0x1df)](h(0x1ea));});function a40d(a,b){var c=a40c();return a40d=function(d,e){d=d-0x1d8;var f=c[d];return f;},a40d(a,b);}a40a();import{Command}from'../command.js';Command[a40i(0x1dd)]({'name':a40i(0x1e1),'usage':'maka\x20murder','maxArgLength':0x1,'shortDesc':'Murrrrderrrrr','validOpts':[]},async function(){var j=a40i;try{console['log'](j(0x1e3),j(0x1e0));}catch(a){console[j(0x1d8)](a),process[j(0x1dc)](0x0);}});
1
+ function a40c(){var k=['3318meHGxA','3819390NqGPGp','murder','796464tVwmBR','454226AcEFNa','toString','24HQDicW','194660fdQKkZ','220GkOAGL','%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','error','log','apply','11RXWuPb','4943076utqyod','(((.+)+)+)+$','25626nEMnPw','1407PjbWDd','search','3SiAIga','constructor'];a40c=function(){return k;};return a40c();}var a40i=a40d;(function(a,b){var f=a40d,c=a();while(!![]){try{var d=-parseInt(f(0x1ee))/0x1*(-parseInt(f(0x1f4))/0x2)+parseInt(f(0x1eb))/0x3*(-parseInt(f(0x1e3))/0x4)+-parseInt(f(0x1f7))/0x5+-parseInt(f(0x1f0))/0x6*(parseInt(f(0x1ec))/0x7)+parseInt(f(0x1f6))/0x8*(parseInt(f(0x1f3))/0x9)+-parseInt(f(0x1f1))/0xa+parseInt(f(0x1e8))/0xb*(parseInt(f(0x1e9))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x57234));var a40b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a40d;if(c){var e=c[g(0x1e7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){var h=a40d;return a40a[h(0x1f5)]()[h(0x1ed)](h(0x1ea))[h(0x1f5)]()[h(0x1ef)](a40a)[h(0x1ed)]('(((.+)+)+)+$');});a40a();function a40d(a,b){var c=a40c();return a40d=function(d,e){d=d-0x1e3;var f=c[d];return f;},a40d(a,b);}import{Command}from'../command.js';Command['create']({'name':a40i(0x1f2),'usage':'maka\x20murder','maxArgLength':0x1,'shortDesc':'Murrrrderrrrr','validOpts':[]},async function(){var j=a40i;try{console[j(0x1e6)](j(0x1e4),'font-family:\x20monospace');}catch(a){console[j(0x1e5)](a),process['exit'](0x0);}});
@@ -1 +1 @@
1
- const a41q=a41d;(function(a,b){const n=a41d,c=a();while(!![]){try{const d=parseInt(n(0xe3))/0x1+-parseInt(n(0xd7))/0x2+-parseInt(n(0xd6))/0x3*(parseInt(n(0xdc))/0x4)+parseInt(n(0xf3))/0x5*(-parseInt(n(0xf5))/0x6)+parseInt(n(0xd8))/0x7*(-parseInt(n(0xee))/0x8)+-parseInt(n(0xe2))/0x9+parseInt(n(0xdf))/0xa*(parseInt(n(0xe8))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xe9ab4));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a41d;if(c){const e=c[o(0xfd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const p=a41d;return a41a[p(0xfb)]()['search']('(((.+)+)+)+$')['toString']()[p(0xff)](a41a)[p(0xda)]('(((.+)+)+)+$');});function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0xd2;let f=c[d];return f;},a41d(a,b);}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 a41c(){const s=['appName','630wbbAjC','findGenerator','10134UAVoBT','.csr','getProjectConfig','error','create','\x20to\x20','toString','maka\x20proxy','apply','=>\x20SSL\x20Proxy\x20forwarding\x20','constructor','invoke','localhost','utf8','help','.crt','3nWvBkg','3478074fHswBD','13329652zSMKWn','bright','search','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','1000456qyikjr','targetHost','targetPort','730snKAIU','join','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','15523875VIMQAG','513980LIjPCJ','getConfigPath','proxy','development','fsi','945428mDnAWz','isFile','listenPort','.key','genCSR','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','8kGXlYT','maka\x20proxy\x20--target-host\x20http://192.168.1.20','readFileSync','sslconfig'];a41c=function(){return s;};return a41c();}import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a41h from'../generators/maka.gen.js';Command[a41q(0xf9)]({'name':a41q(0xe5),'usage':a41q(0xfc),'mustBeInMakaProject':!![],'validOpts':[a41q(0xd4),a41q(0xde),a41q(0xea),a41q(0xdd)],'maxArgLength':0x1,'shortDesc':a41q(0xed),'description':'\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','examples':[a41q(0xfc),a41q(0xe1),a41q(0xef)]},async function(a,b){const r=a41q,c=this['fsi'][r(0xf7)](),d=r(0xe6),e=this[r(0xe7)][r(0xe4)](d),f=this[r(0xe7)]['mkKeysDir']({'configPath':e}),g=b[r(0xde)]?b[r(0xde)]:0xbb8,h=b['listenPort']?b[r(0xea)]:0xd73,i=b[r(0xdd)]?b[r(0xdd)]:r(0xd2),j=a41f['join'](f,c['appName']+r(0xeb)),k=a41f[r(0xe0)](f,c[r(0xf2)]+r(0xd5));if(!this['fsi']['isFile'](j)||!this['fsi'][r(0xe9)](k)){const m=a41h[r(0xf4)](r(0xf1));m&&await m[r(0x100)]([r(0xf1)],{'env':d}),SSL[r(0xec)]({'keyName':c[r(0xf2)]+'.key','csrName':c[r(0xf2)]+r(0xf6),'cwd':f}),SSL['genSSC']({'keyName':c[r(0xf2)]+r(0xeb),'crtName':c[r(0xf2)]+r(0xd5),'cwd':f});}if(g===h){Log[r(0xf8)](r(0xdb));throw new UsageError();}const l={'ssl':{'key':a41e[r(0xf0)](j,r(0xd3)),'cert':a41e[r(0xf0)](k,r(0xd3))},'target':{'host':i,'port':g},'ws':!![],'xfwd':!![]};a41g['createProxyServer'](l)['listen'](h),Log[r(0xd9)](r(0xfe)+h+r(0xfa)+g);});
1
+ const a41q=a41d;(function(a,b){const n=a41d,c=a();while(!![]){try{const d=parseInt(n(0x9e))/0x1+-parseInt(n(0x9f))/0x2+-parseInt(n(0xb2))/0x3+parseInt(n(0xad))/0x4*(-parseInt(n(0xa6))/0x5)+parseInt(n(0x9a))/0x6*(-parseInt(n(0xbe))/0x7)+parseInt(n(0xb4))/0x8*(parseInt(n(0xb6))/0x9)+-parseInt(n(0xaf))/0xa*(-parseInt(n(0xae))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x7d1dc));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a41d;if(c){const e=c[o(0xa9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const p=a41d;return a41a[p(0xa4)]()['search'](p(0x9d))[p(0xa4)]()[p(0xab)](a41a)[p(0xac)]('(((.+)+)+)+$');});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';import{UsageError}from'../error.js';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x94;let f=c[d];return f;},a41d(a,b);}function a41c(){const s=['targetHost','help','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','targetPort','toString','readFileSync','5ErvQIl','.crt','fsi','apply','genSSC','constructor','search','1594616inXmYs','7843sqewls','26330YuKwJG','create','getConfigPath','2717898JxXMJr','\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','737032TJUaxD','sslconfig','9BGDkzW','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','.key','utf8','appName','bright','listenPort','6433nDeQfx','=>\x20SSL\x20Proxy\x20forwarding\x20','proxy','createProxyServer','listen','join','maka\x20proxy','4098wbHnQB','getProjectConfig','isFile','(((.+)+)+)+$','957658rmwvXs','964686mpHqgh'];a41c=function(){return s;};return a41c();}import{SSL}from'../tools/ssl/ssl.class.js';import a41h from'../generators/maka.gen.js';Command[a41q(0xb0)]({'name':a41q(0x95),'usage':'maka\x20proxy','mustBeInMakaProject':!![],'validOpts':[a41q(0xa1),a41q(0xa3),a41q(0xbd),a41q(0xa0)],'maxArgLength':0x1,'shortDesc':a41q(0xb8),'description':a41q(0xb3),'examples':[a41q(0x99),a41q(0xa2),'maka\x20proxy\x20--target-host\x20http://192.168.1.20']},async function(a,b){const r=a41q,c=this[r(0xa8)][r(0x9b)](),d='development',e=this[r(0xa8)][r(0xb1)](d),f=this['fsi']['mkKeysDir']({'configPath':e}),g=b[r(0xa3)]?b[r(0xa3)]:0xbb8,h=b[r(0xbd)]?b['listenPort']:0xd73,i=b['targetHost']?b[r(0xa0)]:'localhost',j=a41f[r(0x98)](f,c[r(0xbb)]+r(0xb9)),k=a41f[r(0x98)](f,c[r(0xbb)]+r(0xa7));if(!this[r(0xa8)][r(0x9c)](j)||!this[r(0xa8)][r(0x9c)](k)){const m=a41h['findGenerator']('sslconfig');m&&await m['invoke']([r(0xb5)],{'env':d}),SSL['genCSR']({'keyName':c[r(0xbb)]+'.key','csrName':c[r(0xbb)]+'.csr','cwd':f}),SSL[r(0xaa)]({'keyName':c[r(0xbb)]+r(0xb9),'crtName':c[r(0xbb)]+r(0xa7),'cwd':f});}if(g===h){Log['error'](r(0xb7));throw new UsageError();}const l={'ssl':{'key':a41e[r(0xa5)](j,'utf8'),'cert':a41e[r(0xa5)](k,r(0xba))},'target':{'host':i,'port':g},'ws':!![],'xfwd':!![]};a41g[r(0x96)](l)[r(0x97)](h),Log[r(0xbc)](r(0x94)+h+'\x20to\x20'+g);});
@@ -1 +1 @@
1
- function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0xd2;let f=c[d];return f;},a42d(a,b);}const a42q=a42d;(function(a,b){const n=a42d,c=a();while(!![]){try{const d=parseInt(n(0xdb))/0x1+-parseInt(n(0xe0))/0x2*(-parseInt(n(0xe4))/0x3)+parseInt(n(0xd4))/0x4*(parseInt(n(0xe7))/0x5)+-parseInt(n(0xfd))/0x6+-parseInt(n(0xf8))/0x7+-parseInt(n(0xf4))/0x8*(parseInt(n(0xf7))/0x9)+-parseInt(n(0xee))/0xa*(-parseInt(n(0xd6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xcee02));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a42d;if(c){const e=c[o(0xed)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const p=a42d;return a42a['toString']()[p(0xe9)]('(((.+)+)+)+$')[p(0xe8)]()['constructor'](a42a)[p(0xe9)](p(0xd9));});a42a();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=['ping','sshSync','maka\x20reconfig','apply','20FuePWB','~/settings.json','Reconfigure\x20your\x20deployed\x20applications','~/pm2.config.js','uname\x20-a','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','86568xsscHv','parse','ses.json','441EIlSBe','3391906CxOmXY','ssh','Remote\x20host\x20connection\x20successful','create','Checking\x20remote\x20host\x20availability','5753814TButXq','scp','pm2\x20delete\x20all','13108IaZLiD','notice','2094719SuLuWf','~/ses.json','existsSync','(((.+)+)+)+$','assign','770928hhoJCE','reconfig','readFileSync','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','join','86wnGonp','env','fsi','getConfigPath','16326znwbyU','pm2.config.js','success','2190vfYFpC','toString','search'];a42c=function(){return s;};return a42c();}Command[a42q(0xfb)]({'name':a42q(0xdc),'validOpts':[''],'requiredOpts':[a42q(0xe1)],'mustBeInMakaProject':!![],'usage':a42q(0xec),'shortDesc':a42q(0xf0),'description':'\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','examples':['maka\x20reconfig\x20--env\x20prod']},async function(a,b){const r=a42q;try{const c=this[r(0xe2)][r(0xe3)](b[r(0xe1)]),d=a42f[r(0xdf)](c,'ssh.json'),f=a42e[r(0xdd)](d)[r(0xe8)](),g=JSON[r(0xf5)](f);Object[r(0xda)](g,{'env':c}),Log[r(0xd5)](r(0xfc));const h=SSH[r(0xea)](r(0xf2),g);if(!h)throw r(0xf3);if(h)Log[r(0xe6)](r(0xfa));const i=a42f[r(0xdf)](c,'_keys',r(0xf6));if(a42e[r(0xd8)](i)){const l={'source':i,'dest':r(0xd7),'verbose':!![]};SSH[r(0xd2)](l,{...g});}const j=a42f[r(0xdf)](c,r(0xe5));SSH[r(0xd2)]({'source':j,'dest':r(0xf1),'verbose':!![]},{...g});const k=a42f['join'](c,'settings.json');SSH[r(0xd2)]({'source':k,'dest':r(0xef),'verbose':!![]},{...g}),SSH[r(0xeb)](r(0xd3),g),await SSH[r(0xf9)](r(0xde),{...g},{'verbose':!![]});}catch(m){console['error'](m),process['exit'](0x0);}});
1
+ const a42q=a42d;(function(a,b){const n=a42d,c=a();while(!![]){try{const d=parseInt(n(0x1e7))/0x1*(-parseInt(n(0x1d5))/0x2)+parseInt(n(0x1db))/0x3*(-parseInt(n(0x1da))/0x4)+-parseInt(n(0x1df))/0x5*(parseInt(n(0x1cf))/0x6)+parseInt(n(0x1e5))/0x7*(-parseInt(n(0x1e2))/0x8)+parseInt(n(0x1dc))/0x9+-parseInt(n(0x1e3))/0xa+-parseInt(n(0x1d7))/0xb*(-parseInt(n(0x1d0))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x655af));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a42d;if(c){const e=c[o(0x1d6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const p=a42d;return a42a[p(0x1cd)]()[p(0x1d3)]('(((.+)+)+)+$')[p(0x1cd)]()[p(0x1d9)](a42a)[p(0x1d3)](p(0x1c7));});function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x1c7;let f=c[d];return f;},a42d(a,b);}function a42c(){const s=['_keys','parse','5840DSiztQ','5142890twhiBJ','\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','4263FHsqCJ','~/pm2.config.js','534059PfQisY','ssh','create','join','env','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','maka\x20reconfig\x20--env\x20prod','~/ses.json','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','ping','(((.+)+)+)+$','exit','fsi','Remote\x20host\x20connection\x20successful','success','ssh.json','toString','settings.json','54ZCcnZX','48fcKHmW','pm2\x20delete\x20all','scp','search','existsSync','2hOiRXr','apply','6606941dJMdTd','error','constructor','841864uMIIdo','9GYlqwy','6818490uEonuS','Reconfigure\x20your\x20deployed\x20applications','pm2.config.js','344815ABSOOQ'];a42c=function(){return s;};return a42c();}a42a();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';Command[a42q(0x1e9)]({'name':'reconfig','validOpts':[''],'requiredOpts':[a42q(0x1eb)],'mustBeInMakaProject':!![],'usage':'maka\x20reconfig','shortDesc':a42q(0x1dd),'description':a42q(0x1e4),'examples':[a42q(0x1ed)]},async function(a,b){const r=a42q;try{const c=this[r(0x1c9)]['getConfigPath'](b[r(0x1eb)]),d=a42f[r(0x1ea)](c,r(0x1cc)),f=a42e['readFileSync'](d)[r(0x1cd)](),g=JSON[r(0x1e1)](f);Object['assign'](g,{'env':c}),Log['notice']('Checking\x20remote\x20host\x20availability');const h=SSH[r(0x1f0)]('uname\x20-a',g);if(!h)throw r(0x1ec);if(h)Log[r(0x1cb)](r(0x1ca));const i=a42f[r(0x1ea)](c,r(0x1e0),'ses.json');if(a42e[r(0x1d4)](i)){const l={'source':i,'dest':r(0x1ee),'verbose':!![]};SSH['scp'](l,{...g});}const j=a42f[r(0x1ea)](c,r(0x1de));SSH[r(0x1d2)]({'source':j,'dest':r(0x1e6),'verbose':!![]},{...g});const k=a42f[r(0x1ea)](c,r(0x1ce));SSH[r(0x1d2)]({'source':k,'dest':'~/settings.json','verbose':!![]},{...g}),SSH['sshSync'](r(0x1d1),g),await SSH[r(0x1e8)](r(0x1ef),{...g},{'verbose':!![]});}catch(m){console[r(0x1d8)](m),process[r(0x1c8)](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a43d,c=a();while(!![]){try{var d=-parseInt(f(0x7b))/0x1*(parseInt(f(0x7d))/0x2)+-parseInt(f(0x80))/0x3+-parseInt(f(0x7f))/0x4*(-parseInt(f(0x7a))/0x5)+parseInt(f(0x79))/0x6*(parseInt(f(0x81))/0x7)+-parseInt(f(0x7c))/0x8*(parseInt(f(0x74))/0x9)+-parseInt(f(0x78))/0xa+parseInt(f(0x7e))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xc5a96));function a43c(){var i=['2945709XUfXtA','toString','constructor','search','3845220SKbLxD','12izPpUo','120OnhgLE','522877vbieuH','16IjtRKR','4rhxdvf','24046528XyQIzs','118872HZjibU','4759650TRkQNb','5536195wzJusk','(((.+)+)+)+$','apply'];a43c=function(){return i;};return a43c();}var a43b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a43d;if(c){var e=c[g(0x73)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){var h=a43d;return a43a[h(0x75)]()[h(0x77)](h(0x72))['toString']()[h(0x76)](a43a)[h(0x77)]('(((.+)+)+)+$');});a43a();import'./run.command.js';function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0x72;var f=c[d];return f;},a43d(a,b);}import'./docker.sub.cmd.js';
1
+ (function(a,b){var f=a43d,c=a();while(!![]){try{var d=parseInt(f(0x13b))/0x1*(-parseInt(f(0x139))/0x2)+-parseInt(f(0x12e))/0x3+parseInt(f(0x134))/0x4*(parseInt(f(0x13d))/0x5)+parseInt(f(0x138))/0x6*(parseInt(f(0x13a))/0x7)+-parseInt(f(0x13c))/0x8*(-parseInt(f(0x12f))/0x9)+-parseInt(f(0x135))/0xa+parseInt(f(0x133))/0xb*(-parseInt(f(0x137))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0xbe087));var a43b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a43d;if(c){var e=c[g(0x132)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){var h=a43d;return a43a[h(0x13e)]()[h(0x130)](h(0x136))['toString']()[h(0x131)](a43a)[h(0x130)](h(0x136));});a43a();import'./run.command.js';function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0x12e;var f=c[d];return f;},a43d(a,b);}function a43c(){var i=['160LwaiyK','4527755MmGDmk','toString','807111vgvFdt','601110ppwArJ','search','constructor','apply','6379439MUtAZB','4ONdCtm','14262080Gmllmd','(((.+)+)+)+$','12YRJYhK','5316tulceL','6UEEejT','7798TiDZEE','58262TSIKzj'];a43c=function(){return i;};return a43c();}import'./docker.sub.cmd.js';
@@ -1 +1 @@
1
- const a44l=a44d;function a44c(){const n=['4yNRLdq','getProjectConfig','notice','fsi','search','existsSync','2222718bJrFee','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','2231362esTZys','1711904QDcthu','6195GkznnE','appName','exit','inherit','templateContent','docker','9SYfSnC','\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','apply','330Qkumxk','PM2\x20Config\x20File:\x20','1144470rMAJeH','187JFpjxH','(((.+)+)+)+$','\x20up\x20--remove-orphans','config/docker-compose.yaml','maka\x20run\x20docker','create','2450485LZPNfS','docker-compose.yaml','1262312tcsAKk','join','toString','constructor','docker-compose\x20--project-directory\x20'];a44c=function(){return n;};return a44c();}(function(a,b){const i=a44d,c=a();while(!![]){try{const d=parseInt(i(0x172))/0x1+parseInt(i(0x171))/0x2+parseInt(i(0x16f))/0x3+parseInt(i(0x169))/0x4*(-parseInt(i(0x162))/0x5)+parseInt(i(0x159))/0x6*(-parseInt(i(0x173))/0x7)+-parseInt(i(0x164))/0x8*(parseInt(i(0x156))/0x9)+parseInt(i(0x15b))/0xa*(-parseInt(i(0x15c))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0xe227b));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a44d;if(c){const e=c[j(0x158)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const k=a44d;return a44a[k(0x166)]()[k(0x16d)](k(0x15d))['toString']()[k(0x167)](a44a)[k(0x16d)]('(((.+)+)+)+$');});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 a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x153;let f=c[d];return f;},a44d(a,b);}Command[a44l(0x161)]({'name':a44l(0x155),'aliases':['d'],'shortDesc':a44l(0x170),'description':a44l(0x157),'usage':a44l(0x160),'validOpts':['']},async function(){const m=a44l;try{const a=this[m(0x16c)][m(0x16a)](),b=this[m(0x16c)]['getConfigPath']('docker'),c=a44f[m(0x165)](b,m(0x163)),d=a44f[m(0x165)](b,'pm2.config.js');Log['notice'](m(0x15a)+d),Log[m(0x16b)]('Docker\x20Compose\x20Path:\x20'+c);if(!a44g[m(0x16e)](c)){const f={'app':a[m(0x174)],'appFileCase':paramCase(a['appName'])},g=this[m(0x16c)][m(0x154)]({'srcPath':m(0x15f),'context':f})+'\x0a';this[m(0x16c)]['createFile']({'filePath':c,'data':g});}execSync(m(0x168)+b+m(0x15e),{'stdio':m(0x153)});}catch(h){process[m(0x175)](0x1);}},a44e);
1
+ const a44l=a44d;(function(a,b){const i=a44d,c=a();while(!![]){try{const d=-parseInt(i(0x1dd))/0x1*(parseInt(i(0x1f2))/0x2)+-parseInt(i(0x1e2))/0x3*(parseInt(i(0x1f9))/0x4)+parseInt(i(0x1f6))/0x5*(parseInt(i(0x1f4))/0x6)+parseInt(i(0x1e8))/0x7+-parseInt(i(0x1db))/0x8+parseInt(i(0x1ef))/0x9+parseInt(i(0x1f5))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x1f4c1));function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x1d8;let f=c[d];return f;},a44d(a,b);}const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a44d;if(c){const e=c[j(0x1e6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const k=a44d;return a44a[k(0x1f7)]()['search']('(((.+)+)+)+$')[k(0x1f7)]()[k(0x1ec)](a44a)[k(0x1f1)](k(0x1d9));});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';function a44c(){const n=['Run\x20your\x20application\x20in\x20a\x20Docker\x20container','(((.+)+)+)+$','maka\x20run\x20docker','1100784fJYYqH','config/docker-compose.yaml','70411jhjOMV','existsSync','appName','getProjectConfig','docker','3tCwZkM','inherit','pm2.config.js','join','apply','templateContent','773339pWqZUm','Docker\x20Compose\x20Path:\x20','docker-compose.yaml','getConfigPath','constructor','docker-compose\x20--project-directory\x20','\x20up\x20--remove-orphans','1415133MkOUnP','fsi','search','2qvRiSV','notice','63894tCqqDr','1072250PnHnOA','40SmEkld','toString','exit','495716CzLagq'];a44c=function(){return n;};return a44c();}import{paramCase}from'change-case';Command['create']({'name':a44l(0x1e1),'aliases':['d'],'shortDesc':a44l(0x1d8),'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':a44l(0x1da),'validOpts':['']},async function(){const m=a44l;try{const a=this['fsi'][m(0x1e0)](),b=this[m(0x1f0)][m(0x1eb)](m(0x1e1)),c=a44f[m(0x1e5)](b,m(0x1ea)),d=a44f['join'](b,m(0x1e4));Log[m(0x1f3)]('PM2\x20Config\x20File:\x20'+d),Log['notice'](m(0x1e9)+c);if(!a44g[m(0x1de)](c)){const f={'app':a[m(0x1df)],'appFileCase':paramCase(a[m(0x1df)])},g=this[m(0x1f0)][m(0x1e7)]({'srcPath':m(0x1dc),'context':f})+'\x0a';this['fsi']['createFile']({'filePath':c,'data':g});}execSync(m(0x1ed)+b+m(0x1ee),{'stdio':m(0x1e3)});}catch(h){process[m(0x1f8)](0x1);}},a44e);
@@ -1 +1 @@
1
- function a45c(){const x=['fsi','error','isFile','warn','forEach','10094616kpAnCm','openSync','settings','exit','31848pbulRw','cordova-build','apply','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','.meteor','search','compareMakaToLatest','--production','findSubCommand','1348121ivMimu','constructor','231OiSKlB','join','extraPackages','--settings','env','toString','push','settings.json','app','(((.+)+)+)+$','2765362JalkfF','config','invokeMeteorCommand','development','production','mobileServer','concat','splice','3MoWacx','split','63ugNFFt','sep','runSubCommand','length','Meteor\x20Settings:\x20','4109744bVuUAu','run','Run\x20your\x20Meteor\x20application','notice','1030MCnFZI','findProjectDirectory','318480QLUwMM','filter','slice','1215280hxywki','mobile-server','argv','create','inspect','docker'];a45c=function(){return x;};return a45c();}const a45u=a45d;(function(a,b){const q=a45d,c=a();while(!![]){try{const d=-parseInt(q(0xb6))/0x1+parseInt(q(0xc2))/0x2+-parseInt(q(0xca))/0x3*(parseInt(q(0xd1))/0x4)+parseInt(q(0x99))/0x5*(parseInt(q(0xad))/0x6)+-parseInt(q(0xa9))/0x7+-parseInt(q(0x9b))/0x8*(parseInt(q(0xcc))/0x9)+parseInt(q(0x9e))/0xa*(parseInt(q(0xb8))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xe383e));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a45d;if(c){const e=c[r(0xaf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const s=a45d;return a45a[s(0xbd)]()['search']('(((.+)+)+)+$')[s(0xbd)]()[s(0xb7)](a45a)[s(0xb2)](s(0xc1));});a45a();import a45e from'path';import a45f from'fs';import a45g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x96;let f=c[d];return f;},a45d(a,b);}import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const t=a45d;a45f[t(0xaa)](a,'r'),a45g[t(0xc3)]({'path':a});},Run=Command[a45u(0xa1)]({'name':a45u(0x96),'mustBeInMakaProject':!![],'shortDesc':a45u(0x97),'description':'\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.','validOpts':[a45u(0xbc),a45u(0xa3),'r','rawLogs','p','port','i',a45u(0xa2),'m',a45u(0xc7),'v','verbose','allowIncompatibleUpdate',a45u(0xba),'x','exclude-archs',a45u(0xc6)]},async function(a,b){const v=a45u;try{const c=a[0x0],d=this[v(0xb5)](c);d&&this[v(0xce)](c,a,b);if(c==='ios'){const m=this['fsi'][v(0x9a)](),n=a45e[v(0xb9)](m,v(0xc0),v(0xb1),'local',v(0xae));this[v(0xa4)]['isDirectory'](n)&&await rimraf(n);}if(b[v(0x9f)]&&b['mobile-server']===!![]||b['m']&&b['m']===!![])throw'Please\x20provide\x20a\x20URL\x20where\x20your\x20mobile\x20app\x20should\x20connect\x20to\x20your\x20server\x20(e.g.,\x20-m\x20|\x20--mobile-server=https://example-server.com)';await this['fsi'][v(0xb3)]();const f=b[v(0xbc)]?b[v(0xbc)]:v(0xc5),g=this[v(0xa4)]['getConfigPath'](f),h=a45e[v(0xb9)](g,'process.env');let i=a45e[v(0xb9)](g,v(0xbf));b[v(0xab)]?i=b['settings']:i=a45e[v(0xb9)](g,v(0xbf));if(this[v(0xa4)][v(0xa6)](h)&&!b[v(0xa3)])Log[v(0x98)]('Node\x20Env\x20Config:\x20'+h),syncSource(h);else!b[v(0xa3)]&&Log[v(0xa7)]('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+h);this[v(0xa4)][v(0xa6)](i)?(Log['notice'](v(0xd0)+i),a=a[v(0xc8)]([v(0xbb),i])):Log[v(0xa7)](v(0xb0)+i);const j=g[v(0xcb)](a45e[v(0xcd)]),k=j[j[v(0xcf)]-0x1];k===v(0xc6)&&a[v(0xbe)](v(0xb4));const l=process[v(0xa0)][v(0x9d)](0x2)[v(0x9c)](o=>o!=='run')[v(0x9c)](o=>o!==a[0x0]);l[v(0xa8)]((o,p)=>{const w=v;o==='--env'&&l[w(0xc9)](p,0x2),o==='-e'&&l[w(0xc9)](p,0x2);}),this[v(0xa4)][v(0xc4)](v(0x96),a[v(0xc8)](l));}catch(o){console[v(0xa5)](o),process[v(0xac)](0x1);}});export default Run;
1
+ function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x1c1;let f=c[d];return f;},a45d(a,b);}const a45u=a45d;(function(a,b){const q=a45d,c=a();while(!![]){try{const d=-parseInt(q(0x1dc))/0x1+parseInt(q(0x1e5))/0x2+-parseInt(q(0x1ed))/0x3*(-parseInt(q(0x1c9))/0x4)+parseInt(q(0x1e0))/0x5*(-parseInt(q(0x1dd))/0x6)+-parseInt(q(0x1ec))/0x7+-parseInt(q(0x1ee))/0x8+-parseInt(q(0x1e9))/0x9*(-parseInt(q(0x1d8))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xc903a));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(0x1d7)]()[s(0x1c4)](s(0x1cd))['toString']()[s(0x1fb)](a45a)[s(0x1c4)](s(0x1cd));});a45a();import a45e from'path';import a45f from'fs';import a45g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const t=a45d;a45f[t(0x1e7)](a,'r'),a45g[t(0x1ef)]({'path':a});},Run=Command['create']({'name':a45u(0x1e6),'mustBeInMakaProject':!![],'shortDesc':a45u(0x1ce),'description':a45u(0x1d4),'validOpts':[a45u(0x1f6),a45u(0x1c5),'r',a45u(0x1d5),'p','port','i','inspect','m',a45u(0x1c1),'v',a45u(0x1cc),'allowIncompatibleUpdate','extraPackages','x','exclude-archs',a45u(0x1df)]},async function(a,b){const v=a45u;try{const c=a[0x0],d=this['findSubCommand'](c);d&&this[v(0x1ca)](c,a,b);if(c===v(0x1d6)){const m=this['fsi'][v(0x1fa)](),n=a45e['join'](m,'app','.meteor',v(0x1f0),v(0x1c6));this[v(0x1f5)][v(0x1da)](n)&&await rimraf(n);}if(b[v(0x1e1)]&&b[v(0x1e1)]===!![]||b['m']&&b['m']===!![])throw v(0x1de);await this[v(0x1f5)][v(0x1cf)]();const f=b[v(0x1f6)]?b[v(0x1f6)]:v(0x1e2),g=this[v(0x1f5)]['getConfigPath'](f),h=a45e['join'](g,v(0x1f4));let i=a45e[v(0x1f9)](g,'settings.json');b[v(0x1e3)]?i=b[v(0x1e3)]:i=a45e['join'](g,v(0x1d9));if(this[v(0x1f5)][v(0x1d3)](h)&&!b[v(0x1c5)])Log[v(0x1d2)](v(0x1c3)+h),syncSource(h);else!b[v(0x1c5)]&&Log[v(0x1d0)](v(0x1f8)+h);this[v(0x1f5)][v(0x1d3)](i)?(Log[v(0x1d2)](v(0x1f2)+i),a=a['concat']([v(0x1c8),i])):Log[v(0x1d0)](v(0x1f1)+i);const j=g[v(0x1c7)](a45e[v(0x1db)]),k=j[j[v(0x1f7)]-0x1];k===v(0x1df)&&a[v(0x1fc)]('--production');const l=process[v(0x1e4)]['slice'](0x2)[v(0x1eb)](o=>o!==v(0x1e6))[v(0x1eb)](o=>o!==a[0x0]);l[v(0x1d1)]((o,p)=>{const w=v;o===w(0x1c2)&&l['splice'](p,0x2),o==='-e'&&l[w(0x1e8)](p,0x2);}),this['fsi']['invokeMeteorCommand']('run',a['concat'](l));}catch(o){console[v(0x1ea)](o),process[v(0x1f3)](0x1);}});export default Run;function a45c(){const x=['local','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','Meteor\x20Settings:\x20','exit','process.env','fsi','env','length','Cannot\x20find\x20Node\x20Environment\x20File:\x20','join','findProjectDirectory','constructor','push','mobileServer','--env','Node\x20Env\x20Config:\x20','search','docker','cordova-build','split','--settings','636Qmhksl','runSubCommand','apply','verbose','(((.+)+)+)+$','Run\x20your\x20Meteor\x20application','compareMakaToLatest','warn','forEach','notice','isFile','\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.','rawLogs','ios','toString','50URoDsp','settings.json','isDirectory','sep','108451UXAnMz','6524574AryCfD','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)','production','5eEtFVa','mobile-server','development','settings','argv','1200786HcUwdX','run','openSync','splice','5791572IghTiy','error','filter','2832592RqPwvj','324hFJkuu','11289720VZUCBe','config'];a45c=function(){return x;};return a45c();}
@@ -1 +1 @@
1
- function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x18c;var f=c[d];return f;},a46d(a,b);}(function(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(0x190))/0x1+parseInt(f(0x18e))/0x2+-parseInt(f(0x195))/0x3*(parseInt(f(0x193))/0x4)+parseInt(f(0x197))/0x5*(parseInt(f(0x196))/0x6)+-parseInt(f(0x191))/0x7+parseInt(f(0x198))/0x8*(parseInt(f(0x194))/0x9)+parseInt(f(0x18f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xae607));function a46c(){var i=['195756jtCUYv','10jjpQix','152uIhZBw','toString','(((.+)+)+)+$','apply','326300CiSLyZ','22869040xXKFaw','508870PLiWqR','8582602ESVadw','search','2176lPgqHt','75627EobOoB','1245Pfjbdo'];a46c=function(){return i;};return a46c();}var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x18d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0x199)]()[h(0x192)]('(((.+)+)+)+$')[h(0x199)]()['constructor'](a46a)[h(0x192)](h(0x18c));});a46a();import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
1
+ function a46c(){var i=['3509726KOumww','apply','2290TqEZWC','1661630TCMFOn','381576jcpWSp','1408RneYVL','toString','22098wqJFIa','11486ciJuGm','34WVBMUQ','7tTmDbS','800336rRmSsj','9iqRjpn','(((.+)+)+)+$','search'];a46c=function(){return i;};return a46c();}(function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x175))/0x1*(parseInt(f(0x176))/0x2)+parseInt(f(0x171))/0x3+parseInt(f(0x172))/0x4*(parseInt(f(0x16f))/0x5)+-parseInt(f(0x174))/0x6*(-parseInt(f(0x177))/0x7)+parseInt(f(0x178))/0x8+-parseInt(f(0x16a))/0x9*(parseInt(f(0x170))/0xa)+-parseInt(f(0x16d))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x18f16));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x16e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0x173)]()[h(0x16c)](h(0x16b))[h(0x173)]()['constructor'](a46a)[h(0x16c)](h(0x16b));});function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x16a;var f=c[d];return f;},a46d(a,b);}a46a();import'./set.command.js';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(0x175))/0x1+parseInt(h(0x168))/0x2+parseInt(h(0x16a))/0x3+-parseInt(h(0x173))/0x4*(parseInt(h(0x163))/0x5)+parseInt(h(0x170))/0x6*(parseInt(h(0x16d))/0x7)+parseInt(h(0x166))/0x8+parseInt(h(0x157))/0x9*(-parseInt(h(0x15e))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xe87be));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a47d;if(c){const e=c[i(0x158)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const j=a47d;return a47a['toString']()[j(0x16b)](j(0x15f))['toString']()[j(0x174)](a47a)[j(0x16b)](j(0x15f));});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-0x154;let f=c[d];return f;},a47d(a,b);}function a47c(){const m=['\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','maka\x20set:global-config\x20--cacert\x20<path>','7533110gESjxs','(((.+)+)+)+$','maka\x20set:gc\x20--insecure\x20<path>','Set\x20workspace:\x20','workspace','293875ldYJiz','fsi','error','14433008IkOBTw','isFile','2620434Cymwod','maka\x20set:global-config\x20<args>','2028936DWSSbE','search','allowInsecure','7ehJmoW','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','cacert','1153416YKXEJY','resolve','Set\x20global\x20Maka-CLI\x20settings','24zLSKfh','constructor','1171365EsVqSb','setGlobalConfig','Could\x20not\x20find\x20directory','exit','18dCYwrF','apply','disallowInsecure','boolean','success'];a47c=function(){return m;};return a47c();}import{Log}from'../../tools/log/log.class.js';Command['create']({'name':'global-config','usage':a47k(0x169),'aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':['cacert','allowInsecure',a47k(0x159),a47k(0x162),'help'],'shortDesc':a47k(0x172),'description':a47k(0x15c),'examples':[a47k(0x15d),a47k(0x160),'maka\x20set:gc\x20--workspace\x20<path>']},async function(a,b){const l=a47k;try{if(b['cacert']){if(this[l(0x164)][l(0x167)](b[l(0x16f)]))this[l(0x164)]['setGlobalConfig']({'cert':b['cacert']}),Log[l(0x15b)]('Set\x20CA\x20Cert\x20Path:\x20'+b[l(0x16f)]);else{const c=typeof b[l(0x16f)]===l(0x15a)?l(0x16e):'CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+b[l(0x16f)];throw Log[l(0x165)](c);}}if(b[l(0x162)]){const d=this[l(0x164)]['isDirectory'](b[l(0x162)]);if(d)this['fsi'][l(0x154)]({'workspace':a47e[l(0x171)](b[l(0x162)])}),Log[l(0x15b)](l(0x161)+a47e[l(0x171)](b[l(0x162)]));else throw Log['error'](l(0x155));}if(b[l(0x16c)]){if(b[l(0x16c)]&&b[l(0x159)])throw Log['error']('One\x20or\x20the\x20other\x20buddy');let f=b[l(0x16c)];b['disallowInsecure']&&(f=![]),this[l(0x164)][l(0x154)]({'allowInsecure':f}),Log[l(0x15b)]('Set\x20allowInsecure:\x20'+f);}}catch(g){console[l(0x165)](g),process[l(0x156)](0x0);}},a47f);
1
+ function a47c(){const m=['450KoAJaJ','fsi','4740suyIGL','Set\x20allowInsecure:\x20','1971830EQAfPD','Set\x20CA\x20Cert\x20Path:\x20','4svTAEd','toString','search','802746qoeopu','workspace','Set\x20workspace:\x20','(((.+)+)+)+$','create','exit','Could\x20not\x20find\x20directory','isFile','boolean','allowInsecure','error','apply','constructor','1eZPCli','cacert','One\x20or\x20the\x20other\x20buddy','maka\x20set:gc\x20--insecure\x20<path>','success','85545tFmXNP','maka\x20set:global-config\x20--cacert\x20<path>','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','setGlobalConfig','resolve','isDirectory','3726316YKjBsB','disallowInsecure','16GGYqqK','64498ILDVBq','\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','65428BrfvYx'];a47c=function(){return m;};return a47c();}const a47k=a47d;(function(a,b){const h=a47d,c=a();while(!![]){try{const d=parseInt(h(0x137))/0x1*(parseInt(h(0x147))/0x2)+-parseInt(h(0x13c))/0x3+-parseInt(h(0x14e))/0x4*(-parseInt(h(0x14c))/0x5)+parseInt(h(0x151))/0x6+parseInt(h(0x145))/0x7*(-parseInt(h(0x144))/0x8)+parseInt(h(0x148))/0x9*(parseInt(h(0x14a))/0xa)+-parseInt(h(0x142))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x308d8));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a47d;if(c){const e=c[i(0x135)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const j=a47d;return a47a['toString']()[j(0x150)]('(((.+)+)+)+$')[j(0x14f)]()[j(0x136)](a47a)[j(0x150)](j(0x154));});a47a();import a47e from'path';function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x130;let f=c[d];return f;},a47d(a,b);}import a47f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a47k(0x155)]({'name':'global-config','usage':'maka\x20set:global-config\x20<args>','aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a47k(0x138),a47k(0x133),a47k(0x143),a47k(0x152),'help'],'shortDesc':'Set\x20global\x20Maka-CLI\x20settings','description':a47k(0x146),'examples':[a47k(0x13d),a47k(0x13a),'maka\x20set:gc\x20--workspace\x20<path>']},async function(a,b){const l=a47k;try{if(b[l(0x138)]){if(this[l(0x149)][l(0x131)](b[l(0x138)]))this[l(0x149)][l(0x13f)]({'cert':b[l(0x138)]}),Log['success'](l(0x14d)+b[l(0x138)]);else{const c=typeof b[l(0x138)]===l(0x132)?'Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.':l(0x13e)+b[l(0x138)];throw Log[l(0x134)](c);}}if(b['workspace']){const d=this[l(0x149)][l(0x141)](b[l(0x152)]);if(d)this[l(0x149)]['setGlobalConfig']({'workspace':a47e[l(0x140)](b[l(0x152)])}),Log[l(0x13b)](l(0x153)+a47e[l(0x140)](b[l(0x152)]));else throw Log[l(0x134)](l(0x130));}if(b[l(0x133)]){if(b[l(0x133)]&&b[l(0x143)])throw Log[l(0x134)](l(0x139));let f=b[l(0x133)];b[l(0x143)]&&(f=![]),this['fsi'][l(0x13f)]({'allowInsecure':f}),Log[l(0x13b)](l(0x14b)+f);}}catch(g){console[l(0x134)](g),process[l(0x156)](0x0);}},a47f);
@@ -1 +1 @@
1
- function a48d(a,b){var c=a48c();return a48d=function(d,e){d=d-0x1c8;var f=c[d];return f;},a48d(a,b);}var a48i=a48d;(function(a,b){var f=a48d,c=a();while(!![]){try{var d=-parseInt(f(0x1c8))/0x1+parseInt(f(0x1ca))/0x2+-parseInt(f(0x1c9))/0x3*(parseInt(f(0x1d6))/0x4)+parseInt(f(0x1ce))/0x5+parseInt(f(0x1d4))/0x6+-parseInt(f(0x1dd))/0x7*(-parseInt(f(0x1cf))/0x8)+parseInt(f(0x1cc))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0xcf7b4));var a48b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a48d;if(c){var e=c[g(0x1db)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){var h=a48d;return a48a[h(0x1cd)]()[h(0x1d2)](h(0x1d5))[h(0x1cd)]()[h(0x1dc)](a48a)[h(0x1d2)]('(((.+)+)+)+$');});a48a();import a48e from'./set.command.js';function a48c(){var k=['1866405PBpxDM','632KcgWwg','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','local-config','search','Sorry,\x20not\x20implemented\x20yet','1726824AMCgbf','(((.+)+)+)+$','8hhrXZo','create','maka\x20set:lc\x20<opts>','Set\x20local\x20maka\x20app\x20settings','notice','apply','constructor','11949xiunFD','365245pMAKnc','1896411IJdaZe','2746644qsnNYe','maka\x20set:local-config\x20<opts>','2790927EFjVAM','toString'];a48c=function(){return k;};return a48c();}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a48i(0x1d7)]({'name':a48i(0x1d1),'usage':a48i(0x1cb),'examples':[a48i(0x1d8),a48i(0x1cb)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a48i(0x1d9),'validOpts':[],'description':a48i(0x1d0)},async function(){var j=a48i;Log[j(0x1da)](j(0x1d3));},a48e);
1
+ var a48h=a48d;(function(a,b){var f=a48d,c=a();while(!![]){try{var d=-parseInt(f(0x1cd))/0x1+parseInt(f(0x1d0))/0x2+parseInt(f(0x1cb))/0x3*(parseInt(f(0x1d2))/0x4)+-parseInt(f(0x1d4))/0x5+parseInt(f(0x1d3))/0x6*(parseInt(f(0x1d7))/0x7)+parseInt(f(0x1ca))/0x8+parseInt(f(0x1cc))/0x9*(-parseInt(f(0x1cf))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x18e26));var a48b=(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;};}()),a48a=a48b(this,function(){var g=a48d;return a48a[g(0x1da)]()[g(0x1d6)](g(0x1d5))[g(0x1da)]()['constructor'](a48a)[g(0x1d6)](g(0x1d5));});a48a();function a48d(a,b){var c=a48c();return a48d=function(d,e){d=d-0x1c9;var f=c[d];return f;},a48d(a,b);}import a48e from'./set.command.js';import{Command}from'../../command.js';function a48c(){var j=['local-config','toString','Set\x20local\x20maka\x20app\x20settings','856688USfiuW','3ZVYCTo','117BSlfwx','118711SERfuV','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','51640lvKVFd','195646JujBnt','Sorry,\x20not\x20implemented\x20yet','248564WrhPVY','996924duNpoU','727175EZcnvM','(((.+)+)+)+$','search','7XmGPVy','maka\x20set:local-config\x20<opts>'];a48c=function(){return j;};return a48c();}import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a48h(0x1d9),'usage':a48h(0x1d8),'examples':['maka\x20set:lc\x20<opts>',a48h(0x1d8)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a48h(0x1c9),'validOpts':[],'description':a48h(0x1ce)},async function(){var i=a48h;Log['notice'](i(0x1d1));},a48e);
@@ -1 +1 @@
1
- const a49i=a49d;(function(a,b){const f=a49d,c=a();while(!![]){try{const d=-parseInt(f(0x8c))/0x1*(parseInt(f(0x7c))/0x2)+parseInt(f(0x8b))/0x3*(parseInt(f(0x7f))/0x4)+-parseInt(f(0x8a))/0x5*(-parseInt(f(0x8e))/0x6)+parseInt(f(0x93))/0x7*(parseInt(f(0x8f))/0x8)+-parseInt(f(0x82))/0x9*(-parseInt(f(0x7d))/0xa)+-parseInt(f(0x91))/0xb*(-parseInt(f(0x83))/0xc)+-parseInt(f(0x88))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xb49fe));const a49b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a49d;if(c){const e=c[g(0x8d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){const h=a49d;return a49a[h(0x87)]()['search']('(((.+)+)+)+$')[h(0x87)]()[h(0x92)](a49a)[h(0x89)](h(0x86));});function a49c(){const k=['13888193zrjWfX','constructor','21ltFWEt','maka\x20set:<sub-command>\x20<opts>','140zZYUZl','2726530GSfOEh','runSubCommand','28bCSLug','findSubCommand','create','36hNcVGp','12LxTCAt','help','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','(((.+)+)+)+$','toString','46041619wGfpoh','search','22415Kwbjcf','372717MysAbI','10909WSQWuV','apply','1956mDXGUc','962200RqkPRj','\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'];a49c=function(){return k;};return a49c();}a49a();import{Command}from'../../command.js';function a49d(a,b){const c=a49c();return a49d=function(d,e){d=d-0x7c;let f=c[d];return f;},a49d(a,b);}import{UsageError}from'../../error.js';const SetCommand=Command[a49i(0x81)]({'name':'set','usage':a49i(0x94),'minArgLength':0x1,'shortDesc':a49i(0x85),'description':a49i(0x90),'validOpts':[]},async function(a,b){const j=a49i,c=a[0x0];if(b[j(0x84)])throw new UsageError();const d=this[j(0x80)](c);d&&this[j(0x7e)](c,a,b);});export default SetCommand;
1
+ const a49i=a49d;(function(a,b){const f=a49d,c=a();while(!![]){try{const d=-parseInt(f(0xb8))/0x1+-parseInt(f(0xb3))/0x2+-parseInt(f(0xb1))/0x3*(-parseInt(f(0xb7))/0x4)+parseInt(f(0xb9))/0x5+-parseInt(f(0xbe))/0x6*(parseInt(f(0xbb))/0x7)+-parseInt(f(0xaa))/0x8*(-parseInt(f(0xb2))/0x9)+-parseInt(f(0xb6))/0xa*(-parseInt(f(0xae))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x7d797));function a49c(){const k=['help','findSubCommand','6RMmPtZ','209016SixkmU','678936wzQeLh','\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','create','450890cluiIq','469548ElNziu','76056AwaZKd','2816360BVnxKW','apply','280WPfjqt','(((.+)+)+)+$','set','28038Kfvxzv','toString','32gAGkwz','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','search','constructor','55qbBgQC'];a49c=function(){return k;};return a49c();}const a49b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a49d;if(c){const e=c[g(0xba)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){const h=a49d;return a49a[h(0xa9)]()[h(0xac)](h(0xbc))[h(0xa9)]()[h(0xad)](a49a)['search'](h(0xbc));});function a49d(a,b){const c=a49c();return a49d=function(d,e){d=d-0xa9;let f=c[d];return f;},a49d(a,b);}a49a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command[a49i(0xb5)]({'name':a49i(0xbd),'usage':'maka\x20set:<sub-command>\x20<opts>','minArgLength':0x1,'shortDesc':a49i(0xab),'description':a49i(0xb4),'validOpts':[]},async function(a,b){const j=a49i,c=a[0x0];if(b[j(0xaf)])throw new UsageError();const d=this[j(0xb0)](c);d&&this['runSubCommand'](c,a,b);});export default SetCommand;
@@ -1 +1 @@
1
- const a50m=a50d;(function(a,b){const j=a50d,c=a();while(!![]){try{const d=-parseInt(j(0x141))/0x1+-parseInt(j(0x140))/0x2*(-parseInt(j(0x135))/0x3)+-parseInt(j(0x149))/0x4*(parseInt(j(0x137))/0x5)+parseInt(j(0x14c))/0x6+-parseInt(j(0x13b))/0x7+parseInt(j(0x14b))/0x8*(parseInt(j(0x13f))/0x9)+parseInt(j(0x143))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x67502));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a50d;if(c){const e=c[k(0x142)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const l=a50d;return a50a[l(0x14f)]()[l(0x139)]('(((.+)+)+)+$')['toString']()[l(0x13a)](a50a)[l(0x139)](l(0x14e));});a50a();import a50e from'fs';function a50c(){const o=['2733360lfPbal','ssh','(((.+)+)+)+$','toString','maka\x20ssh\x20--env\x20dev','3138sRkmiy','assign','15TgRTVY','getConfigPath','search','constructor','2602432nsfgxj','env','ssh.json','maka\x20ssh\x20--env\x20prod','36vcXEVA','344oHDYSD','440283rKdVPr','apply','6616700RtZomf','error','fsi','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','maka\x20ssh\x20--env\x20staging','416028VNMGVl','readFileSync','500216qOHGSC'];a50c=function(){return o;};return a50c();}import a50f from'path';import{Command}from'../command.js';function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x134;let f=c[d];return f;},a50d(a,b);}import{SSH}from'../tools/ssh/ssh.class.js';Command['create']({'name':a50m(0x14d),'usage':'maka\x20ssh\x20<command>','mustBeInMakaProject':!![],'requiredOpts':['env'],'validOpts':[a50m(0x13c),'v'],'shortDesc':'Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','examples':[a50m(0x134),a50m(0x148),a50m(0x13e),a50m(0x146),'maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22',a50m(0x147)]},async function(a,b){const n=a50m;try{const c=this[n(0x145)][n(0x138)](b[n(0x13c)]);let d='';a['length']>0x0&&(d=a[0x0]);const f=a50f['join'](c,n(0x13d)),g=a50e[n(0x14a)](f)[n(0x14f)](),h=JSON['parse'](g);Object[n(0x136)](h,{'env':c}),SSH['sshSync'](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['v']});}catch(i){console[n(0x144)](i),process['exit'](0x0);}});
1
+ const a50l=a50d;(function(a,b){const j=a50d,c=a();while(!![]){try{const d=parseInt(j(0x94))/0x1*(-parseInt(j(0x9b))/0x2)+-parseInt(j(0xa1))/0x3*(-parseInt(j(0xb4))/0x4)+parseInt(j(0xa9))/0x5*(-parseInt(j(0xac))/0x6)+parseInt(j(0x9e))/0x7*(parseInt(j(0x96))/0x8)+-parseInt(j(0xaa))/0x9+-parseInt(j(0x99))/0xa*(-parseInt(j(0x9d))/0xb)+parseInt(j(0xa7))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xe87b9));const a50b=(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;};}()),a50a=a50b(this,function(){const k=a50d;return a50a[k(0x97)]()['search']('(((.+)+)+)+$')[k(0x97)]()['constructor'](a50a)[k(0xb1)](k(0xb0));});a50a();import a50e from'fs';import a50f from'path';function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x93;let f=c[d];return f;},a50d(a,b);}function a50c(){const n=['sshSync','2064920ayNHLD','toString','exit','4984110Naahfs','parse','29728pxhAkn','readFileSync','11qiMOgO','7CtuJUf','env','length','406809lCvVbE','fsi','error','maka\x20ssh\x20<command>','join','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','18434328QAltHC','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','30WnAMjo','9153972kngdOI','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','321288dhvKaW','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','maka\x20ssh\x20--env\x20prod','assign','(((.+)+)+)+$','search','ssh','ssh.json','28HJNxGr','maka\x20ssh\x20--env\x20dev','64zwhxdW'];a50c=function(){return n;};return a50c();}import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command['create']({'name':a50l(0xb2),'usage':a50l(0xa4),'mustBeInMakaProject':!![],'requiredOpts':[a50l(0x9f)],'validOpts':[a50l(0x9f),'v'],'shortDesc':a50l(0xa8),'examples':[a50l(0x93),'maka\x20ssh\x20--env\x20staging',a50l(0xae),a50l(0xab),a50l(0xa6),a50l(0xad)]},async function(a,b){const m=a50l;try{const c=this[m(0xa2)]['getConfigPath'](b[m(0x9f)]);let d='';a[m(0xa0)]>0x0&&(d=a[0x0]);const f=a50f[m(0xa5)](c,m(0xb3)),g=a50e[m(0x9c)](f)[m(0x97)](),h=JSON[m(0x9a)](g);Object[m(0xaf)](h,{'env':c}),SSH[m(0x95)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['v']});}catch(i){console[m(0xa3)](i),process[m(0x98)](0x0);}});
@@ -1 +1 @@
1
- const a51y=a51d;(function(a,b){const v=a51d,c=a();while(!![]){try{const d=-parseInt(v(0x202))/0x1+parseInt(v(0x1d7))/0x2+-parseInt(v(0x201))/0x3+parseInt(v(0x204))/0x4+parseInt(v(0x208))/0x5*(parseInt(v(0x214))/0x6)+-parseInt(v(0x1d6))/0x7*(parseInt(v(0x1fc))/0x8)+-parseInt(v(0x1ed))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x1a3de));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a51d;if(c){const e=c[w(0x1e9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const x=a51d;return a51a['toString']()[x(0x1ef)](x(0x1d9))['toString']()[x(0x1f1)](a51a)[x(0x1ef)](x(0x1d9));});function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x1d6;let f=c[d];return f;},a51d(a,b);}a51a();import a51e from'fs';import a51f from'path';import{Actions}from'../tools/actions/actions.class.js';function a51c(){const A=['91878rjTOns','83360phsRHm','ping','754008cCxrYg','/ssh.json','Please\x20provide\x20a\x20command.','[?]\x20Domains\x20to\x20register:\x20','100645UsuMTa','fsi','Email\x20to\x20use\x20for\x20auto-updates:\x20','start','notice','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','generate-csr','maka\x20ssl\x20--env\x20dev\x20generate-csr','Using\x20saved\x20letsencrypt\x20config','readFileSync','writeFileSync','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','12PnodCj','domainNames','stringify','56btAjDB','205334BsKItj','appName','(((.+)+)+)+$','Create\x20and\x20manage\x20your\x20SSL\x20operations.','Remote\x20host\x20connection\x20successful','genCSR','ask','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','sudo\x20snap\x20install\x20--classic\x20certbot','ssh','mkKeysDir','parse','Checking\x20remote\x20host\x20availability','letsencrypt.json','genSSC','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','emailUpdate','apply','New\x20CSR\x20written\x20to\x20','env','ssl','858771KawmHP','withSpinner','search','letsencrypt','constructor','domains','toString','error','uname\x20-a','email','success','.key','.crt','maka\x20ssl\x20[command]','generate-ssc','14536NuIuCk','join','create','getConfigPath','.csr'];a51c=function(){return A;};return a51c();}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[a51y(0x1fe)]({'name':a51y(0x1ec),'usage':a51y(0x1fa),'validOpts':[a51y(0x1f2),a51y(0x1f6)],'requiredOpts':[a51y(0x1eb)],'shortDesc':a51y(0x1da),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a51y(0x20f),a51y(0x20d),'maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process']},async function(a,b){const z=a51y,c=this[z(0x209)]['getProjectConfig'](),d=this['fsi'][z(0x1ff)](b['env']),f=this['fsi'][z(0x1e2)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0x20e))SSL[z(0x1dc)]({'keyName':c[z(0x1d8)]+'.key','csrName':c[z(0x1d8)]+z(0x200),'cwd':f});else{if(g===z(0x1fb)){if(!a51e['existsSync'](a51f['join'](f,c[z(0x1d8)]+z(0x1f8))))throw'The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20'+a51f[z(0x1fd)](f,c[z(0x1d8)]+z(0x1f8));if(!a51e['existsSync'](a51f[z(0x1fd)](f,c[z(0x1d8)]+z(0x200))))throw z(0x213)+a51f[z(0x1fd)](f,c['appName']+z(0x200));SSL[z(0x1e6)]({'keyName':c[z(0x1d8)]+'.key','crtName':c[z(0x1d8)]+z(0x1f9),'cwd':f}),Log['notice'](z(0x1ea)+f);}else{if(g===z(0x1f0)){let h=b[z(0x1f2)],i=b[z(0x1f6)];try{const p=a51e['readFileSync'](a51f['join'](d,z(0x1e5)))[z(0x1f3)](),q=JSON[z(0x1e3)](p);h=b['domains']?b[z(0x1f2)]:q[z(0x215)],i=b['email']?b[z(0x1f6)]:q[z(0x1e8)],(!b[z(0x1f6)]||!b[z(0x1f2)])&&Log[z(0x20c)](z(0x210));}catch(r){}const j=JSON[z(0x1e3)](a51e[z(0x211)](d+z(0x205))[z(0x1f3)]());Object['assign'](j,{'env':d}),Log['notice'](z(0x1e4));try{const s=SSH[z(0x203)](z(0x1f5),j);if(!s)throw z(0x1df);if(s)Log[z(0x1f7)](z(0x1db));}catch(t){Log[z(0x1f4)](t);return;}const k=Log[z(0x1ee)]();k[z(0x20b)]('Verifying\x20Letsencrypt\x20configuration'),SSH['ssh'](z(0x1e7),{...j}),SSH['ssh'](z(0x1e0),{...j}),SSH[z(0x1e1)](z(0x1de),{...j}),k['success']();const l=h?h:await Actions[z(0x1dd)](z(0x207)),m=i?i:await Actions['ask'](z(0x20a));SSH['ssh']('sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20'+l+'\x20--email\x20'+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0x216)](n,null,0x2);a51e[z(0x212)](a51f[z(0x1fd)](d,z(0x1e5)),o);}else throw z(0x206);}}}catch(u){console[z(0x1f4)](u),process['exit'](0x0);}});
1
+ const a51y=a51d;(function(a,b){const v=a51d,c=a();while(!![]){try{const d=-parseInt(v(0x106))/0x1*(-parseInt(v(0x114))/0x2)+-parseInt(v(0x112))/0x3*(parseInt(v(0x10d))/0x4)+-parseInt(v(0xf4))/0x5*(parseInt(v(0x120))/0x6)+-parseInt(v(0x126))/0x7+-parseInt(v(0x109))/0x8+-parseInt(v(0x12c))/0x9*(-parseInt(v(0x105))/0xa)+parseInt(v(0x122))/0xb*(parseInt(v(0x11a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x2d9f6));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a51d;if(c){const e=c[w(0xf9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const x=a51d;return a51a[x(0x10f)]()[x(0x110)](x(0x104))[x(0x10f)]()[x(0x10a)](a51a)['search']('(((.+)+)+)+$');});a51a();import a51e from'fs';import a51f from'path';import{Actions}from'../tools/actions/actions.class.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0xef;let f=c[d];return f;},a51d(a,b);}import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';function a51c(){const A=['writeFileSync','genCSR','letsencrypt.json','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','maka\x20ssl\x20--env\x20dev\x20generate-csr','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','Email\x20to\x20use\x20for\x20auto-updates:\x20','(((.+)+)+)+$','230QdiAHH','21731SBQmkH','success','uname\x20-a','910688xZhNJJ','constructor','Using\x20saved\x20letsencrypt\x20config','parse','140300QaqMKu','letsencrypt','toString','search','appName','21IMwbsO','env','2JVWGRn','getConfigPath','Verifying\x20Letsencrypt\x20configuration','\x20--email\x20','Remote\x20host\x20connection\x20successful','exit','12CvOWak','notice','.crt','ssh','start','New\x20CSR\x20written\x20to\x20','3048kSwTDv','existsSync','6603784vcYBvM','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','join','domainNames','2146501mcCHyk','ping','email','fsi','assign','error','104625uKtsQN','.csr','Create\x20and\x20manage\x20your\x20SSL\x20operations.','stringify','ask','sudo\x20snap\x20install\x20--classic\x20certbot','domains','360TwcJyS','Checking\x20remote\x20host\x20availability','emailUpdate','create','/ssh.json','apply'];a51c=function(){return A;};return a51c();}import{SSL}from'../tools/ssl/ssl.class.js';Command[a51y(0xf7)]({'name':'ssl','usage':'maka\x20ssl\x20[command]','validOpts':[a51y(0xf3),a51y(0x128)],'requiredOpts':[a51y(0x113)],'shortDesc':a51y(0xef),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a51y(0x101),a51y(0x123),a51y(0xfd)]},async function(a,b){const z=a51y,c=this[z(0x129)]['getProjectConfig'](),d=this[z(0x129)][z(0x115)](b[z(0x113)]),f=this[z(0x129)]['mkKeysDir']({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g==='generate-csr')SSL[z(0xfb)]({'keyName':c[z(0x111)]+'.key','csrName':c[z(0x111)]+z(0x12d),'cwd':f});else{if(g==='generate-ssc'){if(!a51e[z(0x121)](a51f['join'](f,c[z(0x111)]+'.key')))throw z(0x102)+a51f[z(0x124)](f,c[z(0x111)]+'.key');if(!a51e[z(0x121)](a51f[z(0x124)](f,c[z(0x111)]+z(0x12d))))throw'The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20'+a51f[z(0x124)](f,c['appName']+z(0x12d));SSL['genSSC']({'keyName':c[z(0x111)]+'.key','crtName':c[z(0x111)]+z(0x11c),'cwd':f}),Log['notice'](z(0x11f)+f);}else{if(g===z(0x10e)){let h=b[z(0xf3)],i=b[z(0x128)];try{const p=a51e['readFileSync'](a51f['join'](d,z(0xfc)))[z(0x10f)](),q=JSON[z(0x10c)](p);h=b['domains']?b[z(0xf3)]:q[z(0x125)],i=b[z(0x128)]?b[z(0x128)]:q[z(0xf6)],(!b[z(0x128)]||!b['domains'])&&Log[z(0x11b)](z(0x10b));}catch(r){}const j=JSON[z(0x10c)](a51e['readFileSync'](d+z(0xf8))['toString']());Object[z(0x12a)](j,{'env':d}),Log['notice'](z(0xf5));try{const s=SSH[z(0x127)](z(0x108),j);if(!s)throw z(0xfe);if(s)Log[z(0x107)](z(0x118));}catch(t){Log[z(0x12b)](t);return;}const k=Log['withSpinner']();k[z(0x11e)](z(0x116)),SSH['ssh'](z(0x100),{...j}),SSH[z(0x11d)](z(0xf2),{...j}),SSH[z(0x11d)](z(0xff),{...j}),k[z(0x107)]();const l=h?h:await Actions[z(0xf1)]('[?]\x20Domains\x20to\x20register:\x20'),m=i?i:await Actions[z(0xf1)](z(0x103));SSH[z(0x11d)]('sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20'+l+z(0x117)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0xf0)](n,null,0x2);a51e[z(0xfa)](a51f[z(0x124)](d,z(0xfc)),o);}else throw'Please\x20provide\x20a\x20command.';}}}catch(u){console[z(0x12b)](u),process[z(0x119)](0x0);}});
@@ -1 +1 @@
1
- const a52q=a52d;(function(a,b){const m=a52d,c=a();while(!![]){try{const d=parseInt(m(0x15e))/0x1+-parseInt(m(0x17a))/0x2+parseInt(m(0x158))/0x3+-parseInt(m(0x166))/0x4+parseInt(m(0x16c))/0x5+parseInt(m(0x179))/0x6+parseInt(m(0x15d))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xb490e));const a52b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a52d;if(c){const e=c[n(0x164)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){const o=a52d;return a52a[o(0x177)]()[o(0x165)](o(0x18b))['toString']()[o(0x155)](a52a)[o(0x165)](o(0x18b));});function a52c(){const t=['5665412WtwSlw','meteortesting:mocha','test-packages','exit','filter','testAppPath','1734665oqNnex','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','config','getConfigPath','forEach','driver','driver-package','development','unit','parse','--full-app','toString','Meteor\x20Settings:\x20','4557348bXqQMq','2887698Czueek','--env','port','isFile','splice','Cannot\x20find\x20Node\x20Environment\x20File:\x20','readFileSync','concat','driverPackage','inspect','jasmine','findProjectDirectory','--driver','packages','notice','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','--driver-package','(((.+)+)+)+$','rawLogs','test','Node\x20Env\x20Config:\x20','warn','join','--settings','openSync','constructor','none','error','3589506GQAobk','once','settings.json','fsi','mocha','8568196BQiAqd','72779eWQmNN','config.json','engines','create','sanjo:jasmine','env','apply','search'];a52c=function(){return t;};return a52c();}a52a();import a52e from'fs';import a52f from'path';import a52g from'dotenv';function a52d(a,b){const c=a52c();return a52d=function(d,e){d=d-0x14f;let f=c[d];return f;},a52d(a,b);}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const p=a52d;a52e[p(0x154)](a,'r'),a52g[p(0x16e)]({'path':a});};Command[a52q(0x161)]({'name':a52q(0x14f),'mustBeInMakaProject':!![],'validOpts':['once',a52q(0x187),a52q(0x171),a52q(0x182),'unit',a52q(0x163),a52q(0x18c),a52q(0x17c),a52q(0x183),a52q(0x16b)],'usage':'maka\x20test\x20<opts>','shortDesc':'Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','examples':[]},function(a,b){const r=a52q;try{let c=this['fsi'][r(0x16f)](r(0x173));b[r(0x163)]&&(c=this[r(0x15b)][r(0x16f)](b[r(0x163)]));(!b['unit']||!!b[r(0x159)])&&(a=a[r(0x181)]([r(0x176)]));b[r(0x174)]&&delete b[r(0x174)];let d=b[r(0x172)]||b[r(0x171)]||'none';if(d===r(0x156)){const j=JSON[r(0x175)](a52e[r(0x180)](a52f[r(0x152)](this[r(0x15b)][r(0x185)](),'.maka',r(0x15f)),'utf8'));if(j[r(0x160)][r(0x14f)]===r(0x184))d=r(0x162);else j[r(0x160)][r(0x14f)]===r(0x15c)&&(d=r(0x167));}if(d===r(0x156))throw r(0x189);(!b[r(0x172)]||!b['driver'])&&(a=a[r(0x181)]([r(0x18a),d]));const f=a52f[r(0x152)](c,r(0x15a));this[r(0x15b)][r(0x17d)](f)?(Log[r(0x188)](r(0x178)+f),a=a[r(0x181)]([r(0x153),f])):Log[r(0x151)](r(0x16d)+f);const g=a52f['join'](c,'process.env');this['fsi']['isFile'](g)?(Log[r(0x188)](r(0x150)+g),syncSource(g)):Log[r(0x151)](r(0x17f)+g);const h=process['argv']['slice'](0x2)[r(0x16a)](k=>k!==r(0x17b))[r(0x16a)](k=>k!=='test')['filter'](k=>k!==a[0x0]);h[r(0x170)]((k,l)=>{const s=r;(k===s(0x17b)||k===s(0x186))&&h[s(0x17e)](l,0x2),k==='--packages'&&h['splice'](l,0x1);});const i=b[r(0x187)]?r(0x168):'test';this[r(0x15b)]['invokeMeteorCommand'](i,a[r(0x181)](h));}catch(k){console[r(0x157)](k),process[r(0x169)](0x0);}});
1
+ function a52c(){const t=['config.json','--env','6kriCJK','create','invokeMeteorCommand','argv','once','40DiwSEq','(((.+)+)+)+$','env','Meteor\x20Settings:\x20','6082RzNKfu','getConfigPath','test-packages','--driver','none','maka\x20test\x20<opts>','splice','filter','.maka','parse','openSync','findProjectDirectory','development','test','sanjo:jasmine','Node\x20Env\x20Config:\x20','559eDRKBS','inspect','forEach','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','driver-package','131054AnePvF','meteortesting:mocha','warn','process.env','engines','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','packages','3950484aVKMGY','350777KKnkIv','slice','concat','24VGiIXr','join','921024wEqNyK','unit','toString','3987ZkUMxX','port','driver','settings.json','jasmine','driverPackage','--full-app','Cannot\x20find\x20Node\x20Environment\x20File:\x20','testAppPath','678820GGQwXR','11icPqYe','notice','utf8','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','148nnPKIq','constructor','31qGtssV','isFile','apply','rawLogs','search','fsi','readFileSync','--settings'];a52c=function(){return t;};return a52c();}const a52q=a52d;(function(a,b){const m=a52d,c=a();while(!![]){try{const d=-parseInt(m(0x19b))/0x1*(-parseInt(m(0x166))/0x2)+-parseInt(m(0x18b))/0x3*(parseInt(m(0x199))/0x4)+-parseInt(m(0x194))/0x5*(parseInt(m(0x1a5))/0x6)+parseInt(m(0x183))/0x7*(-parseInt(m(0x186))/0x8)+parseInt(m(0x188))/0x9*(parseInt(m(0x162))/0xa)+-parseInt(m(0x195))/0xb*(parseInt(m(0x182))/0xc)+-parseInt(m(0x176))/0xd*(-parseInt(m(0x17b))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x3affd));const a52b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a52d;if(c){const e=c[n(0x19d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){const o=a52d;return a52a[o(0x18a)]()['search'](o(0x163))[o(0x18a)]()[o(0x19a)](a52a)[o(0x19f)](o(0x163));});a52a();import a52e from'fs';import a52f from'path';import a52g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const p=a52d;a52e[p(0x170)](a,'r'),a52g['config']({'path':a});};function a52d(a,b){const c=a52c();return a52d=function(d,e){d=d-0x15e;let f=c[d];return f;},a52d(a,b);}Command[a52q(0x15e)]({'name':a52q(0x173),'mustBeInMakaProject':!![],'validOpts':[a52q(0x161),a52q(0x181),'driver',a52q(0x190),'unit',a52q(0x164),a52q(0x19e),a52q(0x18c),a52q(0x177),a52q(0x193)],'usage':a52q(0x16b),'shortDesc':a52q(0x179),'examples':[]},function(a,b){const r=a52q;try{let c=this[r(0x1a0)][r(0x167)](r(0x172));b[r(0x164)]&&(c=this['fsi']['getConfigPath'](b[r(0x164)]));(!b[r(0x189)]||!!b[r(0x161)])&&(a=a[r(0x185)]([r(0x191)]));b[r(0x189)]&&delete b[r(0x189)];let d=b[r(0x17a)]||b[r(0x18d)]||r(0x16a);if(d===r(0x16a)){const j=JSON[r(0x16f)](a52e[r(0x1a1)](a52f[r(0x187)](this[r(0x1a0)][r(0x171)](),r(0x16e),r(0x1a3)),r(0x197)));if(j[r(0x17f)][r(0x173)]===r(0x18f))d=r(0x174);else j[r(0x17f)][r(0x173)]==='mocha'&&(d=r(0x17c));}if(d===r(0x16a))throw r(0x180);(!b[r(0x17a)]||!b['driver'])&&(a=a[r(0x185)](['--driver-package',d]));const f=a52f[r(0x187)](c,r(0x18e));this['fsi'][r(0x19c)](f)?(Log['notice'](r(0x165)+f),a=a[r(0x185)]([r(0x1a2),f])):Log[r(0x17d)](r(0x198)+f);const g=a52f[r(0x187)](c,r(0x17e));this['fsi'][r(0x19c)](g)?(Log[r(0x196)](r(0x175)+g),syncSource(g)):Log['warn'](r(0x192)+g);const h=process[r(0x160)][r(0x184)](0x2)['filter'](k=>k!==r(0x1a4))[r(0x16d)](k=>k!=='test')[r(0x16d)](k=>k!==a[0x0]);h[r(0x178)]((k,l)=>{const s=r;(k===s(0x1a4)||k===s(0x169))&&h[s(0x16c)](l,0x2),k==='--packages'&&h[s(0x16c)](l,0x1);});const i=b[r(0x181)]?r(0x168):r(0x173);this[r(0x1a0)][r(0x15f)](i,a[r(0x185)](h));}catch(k){console['error'](k),process['exit'](0x0);}});
@@ -1 +1 @@
1
- const a53l=a53d;(function(a,b){const i=a53d,c=a();while(!![]){try{const d=-parseInt(i(0x134))/0x1*(-parseInt(i(0x13f))/0x2)+-parseInt(i(0x112))/0x3+-parseInt(i(0x116))/0x4*(-parseInt(i(0x120))/0x5)+-parseInt(i(0x131))/0x6*(-parseInt(i(0x124))/0x7)+parseInt(i(0x12c))/0x8*(-parseInt(i(0x10e))/0x9)+-parseInt(i(0x11a))/0xa*(parseInt(i(0x137))/0xb)+-parseInt(i(0x12a))/0xc*(-parseInt(i(0x128))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x64704));function a53c(){const n=['Maka\x20','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','System\x27s\x20Node\x20Version\x20','maka\x20v','apply','notice','fsi','1100ZjzSxJ','create','search','1188SxFpXL','(((.+)+)+)+$','meteor.bat','----------------------System----------------------------','1705245XkceRh','replace','meteor','\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','1331060McRqKS','version','constructor','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','35010YfPSzU','exit','majestic','win32','System\x27s\x20Meteor\x20Version\x20','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','5NFQVTS','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','node\x20-v','Project\x27s\x20Meteor\x20Version\x20','7smVFDd','platform','----------------------Project----------------------------','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','1635439agpTWt','isMakaProject','12GZRrId','warn','20624BvfDeX','toString','getProjectMeteorVersion','N/A','maka\x20version','2563014cVEPTz','compareMakaToLatest','4.5.7','1299ThDqhT','bright',')\x20to\x20at\x20least\x20meteor\x27s\x20(','880djYOqz'];a53c=function(){return n;};return a53c();}const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a53d;if(c){const e=c[j(0x13c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const k=a53d;return a53a[k(0x12d)]()[k(0x10d)](k(0x10f))[k(0x12d)]()[k(0x118)](a53a)['search']('(((.+)+)+)+$');});a53a();import{execSync}from'child_process';import a53e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x10c;let f=c[d];return f;},a53d(a,b);}const pjson={'version':a53l(0x133)};Command[a53l(0x10c)]({'name':a53l(0x117),'aliases':['v'],'usage':'maka\x20version','maxArgLength':0x1,'validOpts':[],'shortDesc':a53l(0x11f),'examples':[a53l(0x13b),a53l(0x130)]},async function(){const m=a53l;try{const a=process[m(0x125)]===m(0x11d)?m(0x110):m(0x114);Log[m(0x11c)](m(0x138)+pjson[m(0x117)]),await this[m(0x13e)][m(0x132)](),Log[m(0x135)](m(0x111));const b=this['fsi']['getGlobalMeteorVersion']();Log[m(0x135)]((m(0x11e)+b)[m(0x113)]('\x0a',''));const c=execSync(a+'\x20node\x20-v')['toString']()[m(0x113)](/\r?\n|\r/,'')['replace']('v','');Log['bright'](m(0x139)+c);const d=execSync(m(0x122))[m(0x12d)]()[m(0x113)](/\r?\n|\r/,'')[m(0x113)]('v','');a53e['gt'](c,d)?(Log[m(0x12b)](m(0x13a)+d),Log[m(0x12b)](m(0x121)+d+m(0x136)+c+')')):Log[m(0x135)](m(0x13a)+d);if(this[m(0x13e)][m(0x129)]()){Log[m(0x135)](m(0x126));const f=this['fsi'][m(0x12e)]();a53e['gt'](b,f)?(Log[m(0x12b)](m(0x123)+f['replace']('\x0a','')),Log[m(0x12b)](m(0x127)+b+'\x22')):Log[m(0x13d)]((m(0x123)+f)['replace']('\x0a',''));const g=await this[m(0x13e)]['getProjectsMeteorNodeVersion']();g===m(0x12f)?(Log[m(0x12b)]('Project\x27s\x20Meteor\x20Node\x20Version\x20'+g),Log[m(0x12b)](m(0x119))):Log['bright']('Project\x27s\x20Meteor\x20Node\x20Version\x20'+g),Log[m(0x135)](m(0x115));}}catch(h){console['error'](h),process[m(0x11b)](0x0);}});
1
+ const a53l=a53d;(function(a,b){const i=a53d,c=a();while(!![]){try{const d=parseInt(i(0x84))/0x1*(-parseInt(i(0x77))/0x2)+-parseInt(i(0x9e))/0x3*(parseInt(i(0x76))/0x4)+parseInt(i(0x97))/0x5*(parseInt(i(0x87))/0x6)+-parseInt(i(0xa4))/0x7+-parseInt(i(0x8c))/0x8*(-parseInt(i(0x9b))/0x9)+-parseInt(i(0x8a))/0xa*(parseInt(i(0x82))/0xb)+-parseInt(i(0x8e))/0xc*(-parseInt(i(0x7b))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x458ce));function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x76;let f=c[d];return f;},a53d(a,b);}const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a53d;if(c){const e=c[j(0x90)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const k=a53d;return a53a['toString']()[k(0x85)](k(0x93))['toString']()['constructor'](a53a)[k(0x85)](k(0x93));});a53a();import{execSync}from'child_process';import a53e from'semver';function a53c(){const n=['getProjectsMeteorNodeVersion','669IuFpwq','fsi','bright','version','compareMakaToLatest','maka\x20version','3184671TWucEE','isMakaProject','toString','1496MojEVd','10GykJJb','System\x27s\x20Node\x20Version\x20','Project\x27s\x20Meteor\x20Version\x20','getGlobalMeteorVersion','142454YLpXFs','----------------------Project----------------------------','----------------------System----------------------------','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','N/A','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','node\x20-v','189013JKdaDz','meteor','11821ShqhFF','search','notice','2778gAGFVo','warn','replace','10aHJDWG','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','45520riDLYO','win32','132mFPXcE','error','apply','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','(((.+)+)+)+$','Project\x27s\x20Meteor\x20Node\x20Version\x20','create','System\x27s\x20Meteor\x20Version\x20','3005iXxHOz','getProjectMeteorVersion','meteor.bat','exit','792QOFCsx','Maka\x20'];a53c=function(){return n;};return a53c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':'4.5.9'};Command[a53l(0x95)]({'name':a53l(0xa1),'aliases':['v'],'usage':a53l(0xa3),'maxArgLength':0x1,'validOpts':[],'shortDesc':a53l(0x7e),'examples':['maka\x20v',a53l(0xa3)]},async function(){const m=a53l;try{const a=process['platform']===m(0x8d)?m(0x99):m(0x83);Log['majestic'](m(0x9c)+pjson['version']),await this[m(0x9f)][m(0xa2)](),Log[m(0xa0)](m(0x7d));const b=this[m(0x9f)][m(0x7a)]();Log[m(0xa0)]((m(0x96)+b)[m(0x89)]('\x0a',''));const c=execSync(a+'\x20node\x20-v')[m(0xa6)]()[m(0x89)](/\r?\n|\r/,'')[m(0x89)]('v','');Log[m(0xa0)](m(0x91)+c);const d=execSync(m(0x81))['toString']()[m(0x89)](/\r?\n|\r/,'')['replace']('v','');a53e['gt'](c,d)?(Log[m(0x88)](m(0x78)+d),Log[m(0x88)](m(0x8b)+d+')\x20to\x20at\x20least\x20meteor\x27s\x20('+c+')')):Log[m(0xa0)](m(0x78)+d);if(this['fsi'][m(0xa5)]()){Log[m(0xa0)](m(0x7c));const f=this[m(0x9f)][m(0x98)]();a53e['gt'](b,f)?(Log[m(0x88)](m(0x79)+f[m(0x89)]('\x0a','')),Log[m(0x88)](m(0x92)+b+'\x22')):Log[m(0x86)](('Project\x27s\x20Meteor\x20Version\x20'+f)[m(0x89)]('\x0a',''));const g=await this[m(0x9f)][m(0x9d)]();g===m(0x7f)?(Log[m(0x88)](m(0x94)+g),Log['warn'](m(0x80))):Log['bright'](m(0x94)+g),Log['bright']('\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[m(0x8f)](h),process[m(0x9a)](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a54d,c=a();while(!![]){try{var d=parseInt(f(0x190))/0x1*(-parseInt(f(0x199))/0x2)+parseInt(f(0x18c))/0x3*(-parseInt(f(0x195))/0x4)+parseInt(f(0x18e))/0x5+-parseInt(f(0x196))/0x6*(parseInt(f(0x198))/0x7)+parseInt(f(0x191))/0x8+-parseInt(f(0x194))/0x9+parseInt(f(0x192))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x3950a));var a54b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a54d;if(c){var e=c[g(0x197)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){var h=a54d;return a54a[h(0x193)]()[h(0x18f)](h(0x18d))[h(0x193)]()[h(0x18b)](a54a)[h(0x18f)](h(0x18d));});a54a();export class UsageError{}export class UsageErrorWithSubs{}function a54c(){var i=['539889xkQhAS','145346uVjWhZ','constructor','3jCMnOy','(((.+)+)+)+$','876755QrssqL','search','1jDMxpA','3665704SwvPCc','3255720oenBYL','toString','1584747KpRCyl','1593964qacQaJ','6KVXidB','apply'];a54c=function(){return i;};return a54c();}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}function a54d(a,b){var c=a54c();return a54d=function(d,e){d=d-0x18b;var f=c[d];return f;},a54d(a,b);}export class NoMeteorFoundError{}
1
+ function a54d(a,b){var c=a54c();return a54d=function(d,e){d=d-0x1e9;var f=c[d];return f;},a54d(a,b);}(function(a,b){var f=a54d,c=a();while(!![]){try{var d=parseInt(f(0x1f4))/0x1+-parseInt(f(0x1ee))/0x2+-parseInt(f(0x1f6))/0x3+parseInt(f(0x1f1))/0x4+parseInt(f(0x1eb))/0x5*(parseInt(f(0x1f0))/0x6)+parseInt(f(0x1ed))/0x7*(parseInt(f(0x1f2))/0x8)+-parseInt(f(0x1f7))/0x9*(parseInt(f(0x1e9))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x915ed));var a54b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a54d;if(c){var e=c[g(0x1ec)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){var h=a54d;return a54a[h(0x1ef)]()[h(0x1ea)](h(0x1f3))[h(0x1ef)]()[h(0x1f5)](a54a)[h(0x1ea)](h(0x1f3));});function a54c(){var i=['10PUCuDY','search','207280gtIOCD','apply','1743tvWYoL','976944tJKFTK','toString','156BzrCpj','864772NiBKXW','6056rmJgRS','(((.+)+)+)+$','881575aXOrWs','constructor','55005qeQPyx','11356857bVUfvk'];a54c=function(){return i;};return a54c();}a54a();export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}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(0x147))/0x1*(-parseInt(q(0x13d))/0x2)+-parseInt(q(0x10c))/0x3*(parseInt(q(0x14d))/0x4)+parseInt(q(0x106))/0x5+parseInt(q(0x128))/0x6*(-parseInt(q(0x152))/0x7)+-parseInt(q(0x10a))/0x8*(parseInt(q(0x13f))/0x9)+parseInt(q(0xfc))/0xa+parseInt(q(0xf8))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x4fa48));const a55b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a55d;if(c){const e=c[r(0x120)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){const s=a55d;return a55a['toString']()['search'](s(0x153))['toString']()['constructor'](a55a)[s(0x12d)](s(0x153));});a55a();import a55e from'path';import a55f from'cli-table';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';function a55d(a,b){const c=a55c();return a55d=function(d,e){d=d-0xf1;let f=c[d];return f;},a55d(a,b);}import{Actions}from'./tools/actions/actions.class.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError}from'./error.js';function a55c(){const F=['17188rDEmvq','parent','where','addGenerator','pop','14CzTYia','(((.+)+)+)+$','Generator.create\x20requires\x20a\x20handler\x20function!','includes','validateParams','Too\x20few\x20arguments','maxArgLength','getPro','resourceName','options','12508463rmtzsX','Client','create','Generator\x20requires\x20a\x20handler\x20function','5015150rGgzqL','findGenerator','forEach','roles','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','Too\x20many\x20options','number','To\x20use\x20this\x20generator,\x20\x22','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','Description','1265690BlNWXo','dir','_handler','singleLicense','5126392bfPGTv','match','303muZquZ','keys','Please\x20run\x20\x22maka\x20install\x20meteor\x22','listGenerators','mustHaveMeteorInstalled','slice','minArgLength','lib','fsi','cwd','join','both','proGenerators','_generators','Both','Alias','help','To\x20use\x20these\x20pro\x20flags,\x20\x22','aliases','find','apply','split','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','validateMakaProject','filter','toString','notice','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','1829586EcNUUb','validateMeteorInstall','mustBeInMakaProject','appPathPrefix','invoke','search','client','exit','usage','length','Generators:','addGenerator\x20requires\x20a\x20Generator\x20instance','Name','shortDesc','function','validateMakaSubscription','name','proFlags','Server','colLocAnswer','sort','8sDlnEw','replace','9BmmGkk','push','minOptsLength','bright','Location','error','maxOptsLength','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','29772adOFMg','Generator.create\x20requires\x20some\x20options!','chdir','checkWhere','Generator\x20requires\x20a\x20name','tableList'];a55c=function(){return F;};return a55c();}let _prevGen='';function inside(a='.',b){const t=a55d,c=process[t(0x115)]();let d=null;try{process[t(0x149)](a),d=b();}finally{process[t(0x149)](c);}return d;}export class Generator extends Tool{[a55u(0xf7)];[a55u(0x119)];constructor(a,b){const v=a55u;super();if(!a)throw new Error('Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object');if(!a[v(0x138)])throw new Error(v(0x14b));if(typeof b!==v(0x136))throw new Error(v(0xfb));this[v(0x119)]=[],this[v(0xf7)]=Object['assign']({},a),this[v(0x138)]=this[v(0xf7)]['name'],this[v(0x108)]=b['bind'](this);}static[a55u(0xfa)](a,b,c){const w=a55u;if(!a)throw new Error(w(0x148));if(typeof b!=='function')throw new Error(w(0x154));const d=new Generator(a,b);return c=c||a55g,Object['assign'](d,{'parent':c?.[w(0xf7)]?.[w(0x138)]}),c[w(0x150)](d),d;}[a55u(0x150)](a){const x=a55u;if(!(a instanceof Generator))throw new Error(x(0x133));this[x(0x119)][x(0x140)](a);}['findGenerator'](a){const y=a55u,b=this[y(0x119)][y(0x11f)](c=>c[y(0x10b)](a));return b;}async['validateMakaSubscription'](a,b){const z=a55u,c=this[z(0xfd)](a[0x0]);if(c){const d=c?.[z(0x138)]||a[0x0],e=c?.[z(0x14e)]||'',f=Object[z(0x10d)](b),g=await this[z(0x114)][z(0xf5)]();!g&&(Log[z(0x144)](z(0x146)),process[z(0x12f)](0x1));const h=!g?.[z(0xff)][z(0xf1)](z(0x109))&&!g?.['roles'][z(0xf1)]('domainLicense'),i=g?.['proGenerators']['includes'](d)||g?.[z(0x118)][z(0xf1)](e);if(i&&h)throw z(0x103)+d+z(0x127);if(f[z(0x131)]>0x0){const j=g?.[z(0x139)][z(0x124)](k=>f[z(0xf1)](k));if(j&&j[z(0x131)]>0x0&&h)throw z(0x11d)+j?.[z(0x116)](',\x20')+'\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27';}}}async[a55u(0x12c)](a,b){const A=a55u,{usage:usage='',description:description='',examples:examples=[],shortDesc:c,requiredOpts:requiredOpts=[],validOpts:d}=this[A(0xf7)];try{await this[A(0x137)](a,b);}catch(g){Log[A(0x144)](g),process[A(0x12f)](0x1);}const f=a[A(0x111)]();b[A(0xf6)]=f[0x0];try{if((a[0x0]===_prevGen||a['length']===0x0)&&b[A(0x11c)])throw new UsageError();if(this[A(0xf7)][A(0x12a)]){const h=this[A(0x123)]();if(!h)throw new MustBeInProjectError();}if(this[A(0xf7)][A(0x110)]){const i=this[A(0x129)]();if(!i)throw new NoMeteorFoundError();}if(typeof this[A(0xf7)][A(0x112)]===A(0x102)){if(a[A(0x131)]<this['options'][A(0x112)]){Log[A(0x144)](A(0xf3));throw new UsageError();}}if(typeof this[A(0xf7)][A(0xf4)]===A(0x102)){if(a[A(0x131)]>this[A(0xf7)][A(0xf4)]){Log['error']('Too\x20many\x20arguments');throw new UsageError();}}if(typeof this[A(0xf7)][A(0x141)]==='number'){if(Object[A(0x10d)](b)[A(0x131)]<this[A(0xf7)][A(0x141)]){Log[A(0x144)]('Too\x20few\x20options');throw new UsageError();}}if(typeof this[A(0xf7)][A(0x145)]==='number'){if(Object[A(0x10d)](b)[A(0x131)]>=this[A(0xf7)][A(0x145)]){Log['error'](A(0x101));throw new UsageError();}}this[A(0xf2)](a,b,this[A(0xf7)]);if(!b[A(0xf6)]&&!this[A(0xf7)]['noResource']){Log[A(0x144)]('No\x20resource\x20name\x20specified');throw new UsageError();}_prevGen=a[0x0];}catch(j){Log[A(0x130)](description,examples,usage,c,requiredOpts,d);if(j instanceof UsageError)this['_generators'][A(0x131)]>0x0&&b['help']&&(Log['notice'](A(0x132)),this[A(0x14c)](this['_generators']));else{if(j instanceof MustBeInProjectError)Log['error'](A(0x122));else{if(j instanceof NoMeteorFoundError)Log['error'](A(0x104)),Log[A(0x126)](A(0x10e));else{if(j instanceof NoMeteorAppFoundError)Log[A(0x144)]('There\x20is\x20no\x20Meteor\x20application\x20here');else throw j;}}}process[A(0x12f)](0x1);}return new Promise(k=>{const B=A;inside(b[B(0x115)],async()=>{const C=B;try{if(!b['root']&&!this[C(0x114)]['findProjectDirectory']())throw new MustBeInProjectError();const l=b[C(0xf6)]?.[C(0x13e)](/\\/g,'/')[C(0x121)]('/');!b[C(0x107)]&&(l?.[C(0x131)]>0x1?(b[C(0xf6)]=l[C(0x151)](),f[0x0]=b[C(0xf6)],b['dir']=l['map'](m=>{return paramCase(m);})[C(0x116)](a55e['sep'])):b[C(0x107)]='');if(this[C(0xf7)][C(0x14a)]){if(!b[C(0x14f)]){const n={'type':'list','name':C(0x13b),'message':C(0x143),'choices':[{'name':C(0xf9),'value':C(0x12e)},{'name':C(0x13a),'value':'server'},{'name':C(0x11a),'value':'both'}]},{colLocAnswer:o}=await Actions[C(0xf7)](n);o?b[C(0x14f)]=o:b[C(0x14f)]=C(0x117);}const m=['both','client','server'];if(!m['includes'](b[C(0x14f)])){Log[C(0x144)](C(0x100));throw new UsageError();}switch(b['where']){case C(0x117):b[C(0x12b)]=C(0x113);break;case'server':b['appPathPrefix']='server';break;case'client':b[C(0x12b)]=C(0x12e);break;default:b[C(0x12b)]='';}}k(this[C(0x108)]['call'](this,f,b));}catch(p){console[C(0x144)](p);}});});}[a55u(0x10f)](){this['tableList'](this['_generators']);}[a55u(0x14c)](a){const D=a55u,b=new a55f({});b[D(0x140)]([D(0x134),D(0x11b),D(0x105)]),a[D(0x13c)]()[D(0xfe)](c=>{const E=D;b['push']([c['name'],c[E(0x11e)](),c[E(0x135)]()]);}),Log[D(0x142)](b[D(0x125)]());}}
1
+ const a55t=a55d;(function(a,b){const q=a55d,c=a();while(!![]){try{const d=parseInt(q(0xd1))/0x1*(-parseInt(q(0xc8))/0x2)+parseInt(q(0xf8))/0x3+-parseInt(q(0xb0))/0x4*(-parseInt(q(0xb2))/0x5)+-parseInt(q(0xf9))/0x6+parseInt(q(0xc9))/0x7+-parseInt(q(0xf1))/0x8+-parseInt(q(0xae))/0x9*(-parseInt(q(0xeb))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x9dbfe));const a55b=(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;};}()),a55a=a55b(this,function(){const r=a55d;return a55a[r(0xf2)]()[r(0xcd)]('(((.+)+)+)+$')[r(0xf2)]()['constructor'](a55a)[r(0xcd)](r(0xba));});a55a();import a55e from'path';import a55f from'cli-table';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';function a55d(a,b){const c=a55c();return a55d=function(d,e){d=d-0xa3;let f=c[d];return f;},a55d(a,b);}import{Actions}from'./tools/actions/actions.class.js';function a55c(){const F=['appPathPrefix','search','bind','To\x20use\x20these\x20pro\x20flags,\x20\x22','cwd','36878sXqpoE','map','list','domainLicense','Alias','dir','validateMakaProject','Generators:','Too\x20many\x20arguments','Generator\x20requires\x20a\x20name','addGenerator\x20requires\x20a\x20Generator\x20instance','validateMeteorInstall','_handler','notice','usage','Too\x20few\x20arguments','help','length','roles','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','Generator.create\x20requires\x20some\x20options!','findProjectDirectory','Description','match','chdir','Both','20uYemMj','checkWhere','Please\x20run\x20\x22maka\x20install\x20meteor\x22','replace','minArgLength','singleLicense','1814208lVyrIu','toString','Too\x20many\x20options','proGenerators','fsi','sep','addGenerator','212739iBuEOQ','5182296ZlmqHY','Generator\x20requires\x20a\x20handler\x20function','No\x20resource\x20name\x20specified','push','Generator.create\x20requires\x20a\x20handler\x20function!','mustHaveMeteorInstalled','both','tableList','bright','mustBeInMakaProject','proFlags','client','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','listGenerators','keys','join','where','getPro','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','exit','call','_generators','lib','find','shortDesc','6369039IHuOzJ','aliases','30052dnWQwK','server','335XHiifv','invoke','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','name','maxArgLength','pop','root','sort','(((.+)+)+)+$','Client','includes','error','create','number','options','maxOptsLength','findGenerator','assign','validateMakaSubscription','slice','function','validateParams','20wNDCkh','810516ZVnVTe','parent','resourceName'];a55c=function(){return F;};return a55c();}import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError}from'./error.js';let _prevGen='';function inside(a='.',b){const s=a55d,c=process['cwd']();let d=null;try{process[s(0xe9)](a),d=b();}finally{process[s(0xe9)](c);}return d;}export class Generator extends Tool{[a55t(0xc0)];['_generators'];constructor(a,b){const u=a55t;super();if(!a)throw new Error(u(0xe4));if(!a[u(0xb5)])throw new Error(u(0xda));if(typeof b!=='function')throw new Error(u(0xfa));this[u(0xaa)]=[],this[u(0xc0)]=Object[u(0xc3)]({},a),this[u(0xb5)]=this['options'][u(0xb5)],this[u(0xdd)]=b[u(0xce)](this);}static[a55t(0xbe)](a,b,c){const v=a55t;if(!a)throw new Error(v(0xe5));if(typeof b!==v(0xc6))throw new Error(v(0xfd));const d=new Generator(a,b);return c=c||a55g,Object[v(0xc3)](d,{'parent':c?.[v(0xc0)]?.[v(0xb5)]}),c[v(0xf7)](d),d;}['addGenerator'](a){const w=a55t;if(!(a instanceof Generator))throw new Error(w(0xdb));this[w(0xaa)][w(0xfc)](a);}[a55t(0xc2)](a){const x=a55t,b=this['_generators'][x(0xac)](c=>c[x(0xe8)](a));return b;}async['validateMakaSubscription'](a,b){const y=a55t,c=this[y(0xc2)](a[0x0]);if(c){const d=c?.[y(0xb5)]||a[0x0],e=c?.[y(0xca)]||'',f=Object[y(0xa3)](b),g=await this[y(0xf5)][y(0xa6)]();!g&&(Log[y(0xbd)](y(0xb4)),process['exit'](0x1));const h=!g?.[y(0xe3)][y(0xbc)](y(0xf0))&&!g?.[y(0xe3)][y(0xbc)](y(0xd4)),i=g?.[y(0xf4)][y(0xbc)](d)||g?.[y(0xf4)][y(0xbc)](e);if(i&&h)throw'To\x20use\x20this\x20generator,\x20\x22'+d+'\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27';if(f[y(0xe2)]>0x0){const j=g?.[y(0x103)]['filter'](k=>f[y(0xbc)](k));if(j&&j[y(0xe2)]>0x0&&h)throw y(0xcf)+j?.[y(0xa4)](',\x20')+y(0xa7);}}}async[a55t(0xb3)](a,b){const z=a55t,{usage:usage='',description:description='',examples:examples=[],shortDesc:c,requiredOpts:requiredOpts=[],validOpts:d}=this['options'];try{await this[z(0xc4)](a,b);}catch(g){Log['error'](g),process[z(0xa8)](0x1);}const f=a[z(0xc5)]();b['resourceName']=f[0x0];try{if((a[0x0]===_prevGen||a[z(0xe2)]===0x0)&&b[z(0xe1)])throw new UsageError();if(this['options'][z(0x102)]){const h=this[z(0xd7)]();if(!h)throw new MustBeInProjectError();}if(this[z(0xc0)][z(0xfe)]){const i=this[z(0xdc)]();if(!i)throw new NoMeteorFoundError();}if(typeof this[z(0xc0)][z(0xef)]===z(0xbf)){if(a[z(0xe2)]<this[z(0xc0)]['minArgLength']){Log[z(0xbd)](z(0xe0));throw new UsageError();}}if(typeof this[z(0xc0)][z(0xb6)]===z(0xbf)){if(a[z(0xe2)]>this[z(0xc0)][z(0xb6)]){Log[z(0xbd)](z(0xd9));throw new UsageError();}}if(typeof this['options']['minOptsLength']===z(0xbf)){if(Object[z(0xa3)](b)[z(0xe2)]<this['options']['minOptsLength']){Log[z(0xbd)]('Too\x20few\x20options');throw new UsageError();}}if(typeof this[z(0xc0)][z(0xc1)]===z(0xbf)){if(Object['keys'](b)[z(0xe2)]>=this[z(0xc0)][z(0xc1)]){Log[z(0xbd)](z(0xf3));throw new UsageError();}}this[z(0xc7)](a,b,this[z(0xc0)]);if(!b[z(0xcb)]&&!this[z(0xc0)]['noResource']){Log['error'](z(0xfb));throw new UsageError();}_prevGen=a[0x0];}catch(j){Log[z(0xdf)](description,examples,usage,c,requiredOpts,d);if(j instanceof UsageError)this[z(0xaa)]['length']>0x0&&b[z(0xe1)]&&(Log[z(0xde)](z(0xd8)),this['tableList'](this[z(0xaa)]));else{if(j instanceof MustBeInProjectError)Log[z(0xbd)]('You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator');else{if(j instanceof NoMeteorFoundError)Log[z(0xbd)]('Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly'),Log[z(0xde)](z(0xed));else{if(j instanceof NoMeteorAppFoundError)Log['error']('There\x20is\x20no\x20Meteor\x20application\x20here');else throw j;}}}process[z(0xa8)](0x1);}return new Promise(k=>{const A=z;inside(b[A(0xd0)],async()=>{const B=A;try{if(!b[B(0xb8)]&&!this['fsi'][B(0xe6)]())throw new MustBeInProjectError();const l=b['resourceName']?.[B(0xee)](/\\/g,'/')['split']('/');!b[B(0xd6)]&&(l?.[B(0xe2)]>0x1?(b[B(0xcb)]=l[B(0xb7)](),f[0x0]=b[B(0xcb)],b[B(0xd6)]=l[B(0xd2)](m=>{return paramCase(m);})[B(0xa4)](a55e[B(0xf6)])):b[B(0xd6)]='');if(this[B(0xc0)][B(0xec)]){if(!b[B(0xa5)]){const n={'type':B(0xd3),'name':'colLocAnswer','message':'Location','choices':[{'name':B(0xbb),'value':B(0x104)},{'name':'Server','value':'server'},{'name':B(0xea),'value':B(0xff)}]},{colLocAnswer:o}=await Actions[B(0xc0)](n);o?b[B(0xa5)]=o:b['where']='both';}const m=[B(0xff),B(0x104),B(0xb1)];if(!m[B(0xbc)](b[B(0xa5)])){Log[B(0xbd)](B(0x105));throw new UsageError();}switch(b[B(0xa5)]){case B(0xff):b[B(0xcc)]=B(0xab);break;case B(0xb1):b[B(0xcc)]=B(0xb1);break;case B(0x104):b[B(0xcc)]=B(0x104);break;default:b[B(0xcc)]='';}}k(this[B(0xdd)][B(0xa9)](this,f,b));}catch(p){console['error'](p);}});});}[a55t(0x106)](){const C=a55t;this[C(0x100)](this[C(0xaa)]);}[a55t(0x100)](a){const D=a55t,b=new a55f({});b[D(0xfc)](['Name',D(0xd5),D(0xe7)]),a[D(0xb9)]()['forEach'](c=>{const E=D;b['push']([c[E(0xb5)],c[E(0xaf)](),c[E(0xad)]()]);}),Log[D(0x101)](b[D(0xf2)]());}}