@maka/maka-cli 4.5.7 → 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 (108) hide show
  1. package/bundle/obf/package.json +5 -4
  2. package/bundle/obf/src/README.md +4 -0
  3. package/bundle/obf/src/command.js +1 -1
  4. package/bundle/obf/src/commands/_index.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/build/_index.js +1 -1
  18. package/bundle/obf/src/commands/build/build.js +1 -1
  19. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/create.js +1 -1
  21. package/bundle/obf/src/commands/debug.js +1 -1
  22. package/bundle/obf/src/commands/deploy.js +1 -1
  23. package/bundle/obf/src/commands/game/_index.js +1 -1
  24. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  25. package/bundle/obf/src/commands/game/play.command.js +1 -1
  26. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  29. package/bundle/obf/src/commands/generate.js +1 -1
  30. package/bundle/obf/src/commands/get/_index.js +1 -1
  31. package/bundle/obf/src/commands/get/get.command.js +1 -1
  32. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  34. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  35. package/bundle/obf/src/commands/help.js +1 -1
  36. package/bundle/obf/src/commands/install.js +1 -1
  37. package/bundle/obf/src/commands/jsdoc.js +1 -1
  38. package/bundle/obf/src/commands/lint.js +1 -1
  39. package/bundle/obf/src/commands/login.js +1 -1
  40. package/bundle/obf/src/commands/logout.js +1 -1
  41. package/bundle/obf/src/commands/logs.js +1 -1
  42. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  43. package/bundle/obf/src/commands/murder.js +1 -1
  44. package/bundle/obf/src/commands/proxy.js +1 -1
  45. package/bundle/obf/src/commands/reconfig.js +1 -1
  46. package/bundle/obf/src/commands/run/_index.js +1 -1
  47. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  48. package/bundle/obf/src/commands/run/run.command.js +1 -1
  49. package/bundle/obf/src/commands/set/_index.js +1 -1
  50. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  51. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  52. package/bundle/obf/src/commands/set/set.command.js +1 -1
  53. package/bundle/obf/src/commands/ssh.js +1 -1
  54. package/bundle/obf/src/commands/ssl.js +1 -1
  55. package/bundle/obf/src/commands/test.js +1 -1
  56. package/bundle/obf/src/commands/version.js +1 -1
  57. package/bundle/obf/src/error.js +1 -1
  58. package/bundle/obf/src/generator.js +1 -1
  59. package/bundle/obf/src/generators/_index.js +1 -1
  60. package/bundle/obf/src/generators/api.js +1 -1
  61. package/bundle/obf/src/generators/collection.js +1 -1
  62. package/bundle/obf/src/generators/component.js +1 -1
  63. package/bundle/obf/src/generators/config.js +1 -1
  64. package/bundle/obf/src/generators/dbc.js +1 -1
  65. package/bundle/obf/src/generators/dockerfile.js +1 -1
  66. package/bundle/obf/src/generators/hook.js +1 -1
  67. package/bundle/obf/src/generators/kit.js +1 -1
  68. package/bundle/obf/src/generators/layout.js +1 -1
  69. package/bundle/obf/src/generators/maka.gen.js +1 -1
  70. package/bundle/obf/src/generators/methods.js +1 -1
  71. package/bundle/obf/src/generators/package.js +1 -1
  72. package/bundle/obf/src/generators/page.js +1 -1
  73. package/bundle/obf/src/generators/publish.js +1 -1
  74. package/bundle/obf/src/generators/route.js +1 -1
  75. package/bundle/obf/src/generators/service.js +1 -1
  76. package/bundle/obf/src/generators/services/_index.js +1 -1
  77. package/bundle/obf/src/generators/services/openssl.js +1 -1
  78. package/bundle/obf/src/generators/services/translation.js +1 -1
  79. package/bundle/obf/src/maka.js +1 -1
  80. package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js +1 -1
  81. package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js.jsx +1 -1
  82. package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js.ts +1 -1
  83. package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js.tsx +1 -1
  84. package/bundle/obf/src/tool.js +1 -1
  85. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  86. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  87. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  88. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  89. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  90. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  91. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  92. package/bundle/obf/src/tools/https/https.class.js +1 -1
  93. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  94. package/bundle/obf/src/tools/log/log.class.js +1 -1
  95. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  96. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  97. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  98. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  99. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  100. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  101. package/package.json +1 -1
  102. package/bundle/obf/src/tools/actions/actions.test.js +0 -1
  103. package/bundle/obf/src/tools/aws/aws.test.js +0 -0
  104. package/bundle/obf/src/tools/docker/docker.test.js +0 -0
  105. package/bundle/obf/src/tools/log/log.test.js +0 -0
  106. package/bundle/obf/src/tools/spawn-async/spawn-async.test.js +0 -0
  107. package/bundle/obf/src/tools/ssh/ssh.test.js +0 -0
  108. package/bundle/obf/src/tools/ssl/ssl.test.js +0 -0
@@ -1 +1 @@
1
- const a36z=a36d;(function(a,b){const w=a36d,c=a();while(!![]){try{const d=-parseInt(w(0xea))/0x1*(-parseInt(w(0xe6))/0x2)+-parseInt(w(0xe7))/0x3+-parseInt(w(0xf6))/0x4+-parseInt(w(0x103))/0x5*(-parseInt(w(0xe5))/0x6)+parseInt(w(0xfa))/0x7+parseInt(w(0xe0))/0x8+parseInt(w(0xfd))/0x9*(-parseInt(w(0xef))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0xb8277));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a36d;if(c){const e=c[x(0xfc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const y=a36d;return a36a[y(0xda)]()[y(0xd7)](y(0x100))['toString']()[y(0xf3)](a36a)[y(0xd7)]('(((.+)+)+)+$');});function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0xcf;let f=c[d];return f;},a36d(a,b);}function a36c(){const B=['header','toHex','create','parse','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','/api/v1/status','get','localhost','True','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','https://','post','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','fsi','search','exit','email','toString','cacert','Logging\x20into\x20https://','Password:\x20','setGlobalConfig','maka\x20login','2166416SorXAR','getGlobalConfig','/api/v1/login','MAKA_DEV','error','11802PPdanj','1897192NCaSeZ','1614717FnCjYI','assign','isFile','1zyvDMP','authToken','Preflight\x20Check','notice','success','20quuOmk','update','www.maka-cli.com','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','constructor','failure','ask','68668VdvUDO','env','Logging\x20in','cert','6891073mkrfUV','withSpinner','apply','5209713fODmiB','start','Email:','(((.+)+)+)+$','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','debug','670bTBbpf','help','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka'];a36c=function(){return B;};return a36c();}a36a();import a36e from'node-forge';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a36z(0xf7)][a36z(0xe3)]===a36z(0xd1)?a36z(0xd0):a36z(0xf1);Command['create']({'name':'login','validOpts':[a36z(0xd9),'password',a36z(0x104),a36z(0xdb),a36z(0x102)],'usage':a36z(0xdf),'maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a36z(0x105),'examples':['maka\x20login',a36z(0xf2)]},async function(a,b){const A=a36z,c=Log[A(0xfb)]();try{let d='';b[A(0xdb)]&&(this['fsi'][A(0xe9)](b['cacert'])?(d=b[A(0xdb)],Log[A(0xed)]('Using\x20CA\x20Cert\x20'+d)):Log['error'](A(0xd2)+d));const f=await this[A(0xd6)][A(0xe1)]();if(f[A(0xf9)]){if(this[A(0xd6)][A(0xe9)](f['cert']))d=f[A(0xf9)];else{Log[A(0xe4)](A(0x10a)+d);return;}}Log[A(0x106)](A(0xdc)+hostname);const g={'url':A(0xd3)+hostname+A(0x10b)};b['cacert']&&Object[A(0xe8)](g,{'cert':d});c['start'](A(0xec));const {statusCode:h}=await HTTPS[A(0xcf)](g);if(h===0x198){c[A(0xf4)]();throw A(0xd5);}if(h!==0xc8){c[A(0xf4)]();throw A(0xd3)+hostname+'\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli';}c[A(0xee)]();const i=b['email']?b[A(0xd9)]:await Actions[A(0xf5)](A(0xff)),j=b['password']?b['password']:await Actions[A(0xf5)](A(0xdd),!![]),k=a36e['md']['sha256'][A(0x108)]();k[A(0xf0)](j);const l=k['digest']()[A(0x107)](),m={'hostname':hostname,'path':A(0xe2),'data':{'email':i,'password':l,'hashed':!![]}};b[A(0xdb)]&&Object[A(0xe8)](m,{'cert':d});c[A(0xfe)](A(0xf8));const {data:n,statusCode:o}=await HTTPS[A(0xd4)](m);if(o===0x198){c[A(0xf4)]('\x0a');throw A(0x101)+hostname;}const p=JSON[A(0x109)](n);if(p[A(0xeb)]){const q={'hostname':hostname,'path':'/api/v1/encodeJwt','headers':{'x-auth-token':p[A(0xeb)]},'data':{}};b[A(0xdb)]&&Object['assign'](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS[A(0xd4)](q),{token:t}=JSON['parse'](r);if(s===0x198)throw A(0x101)+hostname;const u={'token':p,'hash':t};this[A(0xd6)][A(0xde)](u);}else{c['failure']();throw p;}c[A(0xee)]();}catch(v){c[A(0xf4)](),console['error'](v),process[A(0xd8)](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 a37o=a37d;(function(a,b){const l=a37d,c=a();while(!![]){try{const d=-parseInt(l(0xfe))/0x1+-parseInt(l(0x114))/0x2*(-parseInt(l(0x11a))/0x3)+parseInt(l(0xf0))/0x4+parseInt(l(0x10c))/0x5*(-parseInt(l(0x10a))/0x6)+-parseInt(l(0xee))/0x7*(-parseInt(l(0x105))/0x8)+parseInt(l(0x119))/0x9+-parseInt(l(0x115))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x20dce));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a37d;if(c){const e=c[m(0x109)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const n=a37d;return a37a['toString']()[n(0xfd)]('(((.+)+)+)+$')[n(0xfc)]()[n(0xf4)](a37a)[n(0xfd)](n(0xf1));});a37a();function a37c(){const q=['CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','exit','toString','search','196038QcuacG','cacert','Preflight\x20Check','authToken','error','assign','getGlobalConfig','2059208KmQdnH','/api/v1/logoutAll','token','header','apply','66cIIJyM','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','97495Upxgtn','cert','create','Logging\x20out\x20of\x20https://','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','maka\x20logout','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','withSpinner','2zYKLgC','2311360leebXf','notice','Logging\x20out','setGlobalConfig','1208718vGwXAG','604026QiEeKH','Using\x20CA\x20Cert\x20','7hKAjdx','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','732896KDqFBl','(((.+)+)+)+$','env','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','constructor','fsi','post','success','isFile','failure'];a37c=function(){return q;};return a37c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a37o(0xf2)]['MAKA_DEV']==='True'?'localhost':'www.maka-cli.com';function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0xed;let f=c[d];return f;},a37d(a,b);}Command[a37o(0x10e)]({'name':'logout','validOpts':['cacert'],'usage':a37o(0x111),'maxArgLength':0x2,'shortDesc':a37o(0x110),'disableAuthCheck':!![],'examples':['maka\x20logout']},async function(a,b){const p=a37o,c=Log[p(0x113)]();try{let d='';b[p(0xff)]&&(this['fsi'][p(0xf8)](b[p(0xff)])?(d=b['cacert'],Log[p(0x116)](p(0xed)+d)):Log[p(0x102)](p(0xf3)+d));const f=await this[p(0xf5)][p(0x104)]();if(f[p(0x10d)]){if(this['fsi'][p(0xf8)](f['cert']))d=f[p(0x10d)];else{c[p(0xf9)]();throw Log[p(0x102)](p(0xfa)+d);}}Log[p(0x108)](p(0x10f)+hostname);const g={'url':'https://'+hostname+'/api/v1/status'};b[p(0xff)]&&Object[p(0x103)](g,{'cert':d});c['start'](p(0x100));const {statusCode:h}=await HTTPS['get'](g);if(h===0x198){c[p(0xf9)]();throw p(0x112);}c[p(0xf7)]();if(h!==0xc8){c[p(0xf9)]();throw p(0xef);}if(!f?.[p(0x107)]?.[p(0x101)])throw Log[p(0x102)](p(0x10b));c['start'](p(0x117));const i={'hostname':hostname,'path':p(0x106),'data':{},'headers':{'x-auth-token':f['token']['authToken']}};b[p(0xff)]&&Object['assign'](i,{'cert':d});const {statusCode:j}=await HTTPS[p(0xf6)](i);if(j===0x198){c[p(0xf9)]('\x0a');throw p(0x112);}this[p(0xf5)][p(0x118)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[p(0xf7)]();}catch(k){k&&console[p(0x102)](k),process[p(0xfb)](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 a38j=a38d;function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x191;let f=c[d];return f;},a38d(a,b);}(function(a,b){const h=a38d,c=a();while(!![]){try{const d=-parseInt(h(0x1a1))/0x1+-parseInt(h(0x19a))/0x2+-parseInt(h(0x1a8))/0x3+-parseInt(h(0x196))/0x4+parseInt(h(0x1a6))/0x5*(parseInt(h(0x1a7))/0x6)+parseInt(h(0x19e))/0x7+parseInt(h(0x19c))/0x8*(parseInt(h(0x197))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xbf5d3));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const i=a38d;return a38a[i(0x19d)]()[i(0x1aa)](i(0x19b))[i(0x19d)]()[i(0x1a9)](a38a)[i(0x1aa)](i(0x19b));});a38a();import a38e from'fs';import a38f from'path';function a38c(){const l=['sshSync','maka\x20l\x20-e\x20p','430740wPkrCT','18mWsOjV','4301655iqIteE','constructor','search','assign','maka\x20logs','pm2\x20logs','ssh.json','log','668900FWXXUw','15804jjVBnl','env','maka\x20logs\x20--env\x20dev','1232780aqwycF','(((.+)+)+)+$','10104ZdaGlD','toString','3684366qWULDW','join','logs','1283duyiPl','fsi','maka\x20logs\x20--env\x20staging'];a38c=function(){return l;};return a38c();}import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command['create']({'name':a38j(0x1a0),'aliases':['l',a38j(0x195)],'usage':a38j(0x192),'requiredOpts':['env'],'mustBeInMakaProject':!![],'validOpts':[''],'shortDesc':'View\x20the\x20PM2\x20logs','examples':[a38j(0x199),a38j(0x1a3),a38j(0x1a5)]},function(a,b){const k=a38j,c=k(0x193),d=this[k(0x1a2)]['getConfigPath'](b[k(0x198)]),e=a38f[k(0x19f)](d,k(0x194)),f=a38e['readFileSync'](e),g=JSON['parse'](f['toString']());Object[k(0x191)](g,{'env':d}),SSH[k(0x1a4)](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 a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x8f;let f=c[d];return f;},a39d(a,b);}(function(a,b){const g=a39d,c=a();while(!![]){try{const d=parseInt(g(0x92))/0x1*(-parseInt(g(0x9f))/0x2)+-parseInt(g(0xa3))/0x3*(-parseInt(g(0xa1))/0x4)+parseInt(g(0x9a))/0x5*(parseInt(g(0x96))/0x6)+parseInt(g(0xa4))/0x7+parseInt(g(0x91))/0x8+-parseInt(g(0xa8))/0x9*(parseInt(g(0x9b))/0xa)+-parseInt(g(0x9c))/0xb*(parseInt(g(0x9d))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xadac7));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['toString']()['search'](h(0xa0))[h(0x90)]()['constructor'](a39a)[h(0x8f)](h(0xa0));});a39a();function a39c(){const k=['A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','9144QcMDIh','5373753BxRqLO','findSubCommand','exit','maka\x20<command>\x20[<args>]\x20[<opts>]','45emiRPN','slice','search','toString','4345328bWAksI','276077XhTTYZ','maka\x20install\x20meteor','maybeProxyCommandToMeteor','runSubCommand','12yDmlVj','maka\x20--help','error','maka','1647765Nfedfm','1483970gujcSy','22IylmXH','4222908jhPUda','maka\x20create\x20Todo','2FpOIbC','(((.+)+)+)+$','608lxnydb'];a39c=function(){return k;};return a39c();}import{Command}from'../command.js';const Maka=new Command({'name':a39i(0x99),'minArgLength':0x1,'shortDesc':a39i(0xa2),'validOpts':[],'usage':a39i(0xa7),'disableAuthCheck':!![],'examples':[a39i(0x97),a39i(0x93),a39i(0x9e),'maka\x20run'],'description':'\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'},async function(a,b){const j=a39i;try{const c=a[0x0],d=this[j(0xa5)](c);d?this[j(0x95)](c,a[j(0xa9)](0x1),b):this['fsi'][j(0x94)]();}catch(f){console[j(0x98)](f),process[j(0xa6)](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
- var a40i=a40d;(function(a,b){var f=a40d,c=a();while(!![]){try{var d=parseInt(f(0x15a))/0x1*(parseInt(f(0x165))/0x2)+-parseInt(f(0x156))/0x3+parseInt(f(0x161))/0x4*(parseInt(f(0x157))/0x5)+parseInt(f(0x15b))/0x6+-parseInt(f(0x15e))/0x7*(parseInt(f(0x159))/0x8)+parseInt(f(0x164))/0x9*(-parseInt(f(0x154))/0xa)+parseInt(f(0x166))/0xb*(parseInt(f(0x160))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x2c031));var a40b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a40d;if(c){var e=c[g(0x15f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){var h=a40d;return a40a['toString']()[h(0x153)]('(((.+)+)+)+$')['toString']()[h(0x162)](a40a)[h(0x153)](h(0x158));});function a40d(a,b){var c=a40c();return a40d=function(d,e){d=d-0x153;var f=c[d];return f;},a40d(a,b);}a40a();function a40c(){var k=['86770gxpSpf','Murrrrderrrrr','909837ZzTGrk','40TWVwjd','(((.+)+)+)+$','752TonIjB','281LQlCgm','116514mPLfNp','maka\x20murder','font-family:\x20monospace','5145HPFTIw','apply','18108jkxrXE','83960yasfWs','constructor','exit','333JFDYcr','2490EWBGgO','2453LJBEBL','log','error','create','search'];a40c=function(){return k;};return a40c();}import{Command}from'../command.js';Command[a40i(0x169)]({'name':'murder','usage':a40i(0x15c),'maxArgLength':0x1,'shortDesc':a40i(0x155),'validOpts':[]},async function(){var j=a40i;try{console[j(0x167)]('%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',j(0x15d));}catch(a){console[j(0x168)](a),process[j(0x163)](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(0xa3))/0x1*(parseInt(n(0xb7))/0x2)+parseInt(n(0xba))/0x3+parseInt(n(0xc0))/0x4+parseInt(n(0xaa))/0x5+parseInt(n(0xa6))/0x6*(-parseInt(n(0xc7))/0x7)+-parseInt(n(0xc6))/0x8+-parseInt(n(0xa0))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xb0e5a));const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a41d;if(c){const e=c[o(0xa7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const p=a41d;return a41a['toString']()[p(0x9e)](p(0xb4))[p(0xa5)]()['constructor'](a41a)[p(0x9e)](p(0xb4));});a41a();import a41e from'fs';import a41f from'path';import a41g from'http-proxy';import{Command}from'../command.js';function a41c(){const s=['fsi','localhost','getConfigPath','.csr','error','readFileSync','(((.+)+)+)+$','\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','listen','12KbonnV','utf8','.key','4339098rZoUZB','bright','\x20to\x20','isFile','listenPort','createProxyServer','4094440XyqpgX','getProjectConfig','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','invoke','appName','=>\x20SSL\x20Proxy\x20forwarding\x20','10444040zFZwKN','2687657MybbwB','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','create','development','search','.crt','18849960iJdhVn','maka\x20proxy','help','171170YkOjiO','proxy','toString','6AhpCSX','apply','genSSC','mkKeysDir','5057350zXzJaA','targetHost','targetPort','join'];a41c=function(){return s;};return a41c();}function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x9d;let f=c[d];return f;},a41d(a,b);}import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a41h from'../generators/maka.gen.js';Command[a41q(0xc9)]({'name':a41q(0xa4),'usage':'maka\x20proxy','mustBeInMakaProject':!![],'validOpts':[a41q(0xa2),a41q(0xac),a41q(0xbe),a41q(0xab)],'maxArgLength':0x1,'shortDesc':a41q(0xc2),'description':a41q(0xb5),'examples':[a41q(0xa1),'maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','maka\x20proxy\x20--target-host\x20http://192.168.1.20']},async function(a,b){const r=a41q,c=this[r(0xae)][r(0xc1)](),d=r(0x9d),e=this['fsi'][r(0xb0)](d),f=this[r(0xae)][r(0xa9)]({'configPath':e}),g=b['targetPort']?b[r(0xac)]:0xbb8,h=b[r(0xbe)]?b['listenPort']:0xd73,i=b[r(0xab)]?b[r(0xab)]:r(0xaf),j=a41f[r(0xad)](f,c[r(0xc4)]+'.key'),k=a41f['join'](f,c[r(0xc4)]+r(0x9f));if(!this[r(0xae)][r(0xbd)](j)||!this[r(0xae)][r(0xbd)](k)){const m=a41h['findGenerator']('sslconfig');m&&await m[r(0xc3)](['sslconfig'],{'env':d}),SSL['genCSR']({'keyName':c[r(0xc4)]+r(0xb9),'csrName':c[r(0xc4)]+r(0xb1),'cwd':f}),SSL[r(0xa8)]({'keyName':c[r(0xc4)]+r(0xb9),'crtName':c[r(0xc4)]+r(0x9f),'cwd':f});}if(g===h){Log[r(0xb2)](r(0xc8));throw new UsageError();}const l={'ssl':{'key':a41e[r(0xb3)](j,r(0xb8)),'cert':a41e[r(0xb3)](k,'utf8')},'target':{'host':i,'port':g},'ws':!![],'xfwd':!![]};a41g[r(0xbf)](l)[r(0xb6)](h),Log[r(0xbb)](r(0xc5)+h+r(0xbc)+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-0x12e;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(0x13d))/0x1+parseInt(n(0x153))/0x2*(parseInt(n(0x144))/0x3)+parseInt(n(0x134))/0x4+-parseInt(n(0x15a))/0x5*(parseInt(n(0x158))/0x6)+-parseInt(n(0x131))/0x7+-parseInt(n(0x135))/0x8*(parseInt(n(0x152))/0x9)+parseInt(n(0x140))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x3bd5e));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a42d;if(c){const e=c[o(0x149)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const p=a42d;return a42a[p(0x12e)]()[p(0x130)](p(0x156))['toString']()[p(0x159)](a42a)[p(0x130)]('(((.+)+)+)+$');});a42a();import a42e from'fs';import a42f from'path';function a42c(){const s=['Remote\x20host\x20connection\x20successful','\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','scp','ssh.json','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','129915sWEDdO','14RAKwWp','create','pm2.config.js','(((.+)+)+)+$','pm2\x20delete\x20all','6gBZtln','constructor','1683725HrNtJX','_keys','Reconfigure\x20your\x20deployed\x20applications','toString','reconfig','search','2402218UBBbPm','~/ses.json','exit','987952PpbmVb','264xdVdas','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','readFileSync','maka\x20reconfig\x20--env\x20prod','~/settings.json','settings.json','success','getConfigPath','339003Phadkn','~/pm2.config.js','uname\x20-a','13741160pdWAOk','Checking\x20remote\x20host\x20availability','ssh','ses.json','51111YmoZZT','assign','env','maka\x20reconfig','existsSync','apply','notice','join','parse'];a42c=function(){return s;};return a42c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a42q(0x154)]({'name':a42q(0x12f),'validOpts':[''],'requiredOpts':[a42q(0x146)],'mustBeInMakaProject':!![],'usage':a42q(0x147),'shortDesc':a42q(0x15c),'description':a42q(0x14e),'examples':[a42q(0x138)]},async function(a,b){const r=a42q;try{const c=this['fsi'][r(0x13c)](b[r(0x146)]),d=a42f[r(0x14b)](c,r(0x150)),f=a42e[r(0x137)](d)['toString'](),g=JSON[r(0x14c)](f);Object[r(0x145)](g,{'env':c}),Log[r(0x14a)](r(0x141));const h=SSH['ping'](r(0x13f),g);if(!h)throw r(0x151);if(h)Log[r(0x13b)](r(0x14d));const i=a42f[r(0x14b)](c,r(0x15b),r(0x143));if(a42e[r(0x148)](i)){const l={'source':i,'dest':r(0x132),'verbose':!![]};SSH['scp'](l,{...g});}const j=a42f[r(0x14b)](c,r(0x155));SSH['scp']({'source':j,'dest':r(0x13e),'verbose':!![]},{...g});const k=a42f[r(0x14b)](c,r(0x13a));SSH[r(0x14f)]({'source':k,'dest':r(0x139),'verbose':!![]},{...g}),SSH['sshSync'](r(0x157),g),await SSH[r(0x142)](r(0x136),{...g},{'verbose':!![]});}catch(m){console['error'](m),process[r(0x133)](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 a43c(){var i=['1077230SqfYlA','48XrfOGl','404OSKfkj','240010IztszI','(((.+)+)+)+$','414TnDAgb','apply','toString','search','13278111yKbIGr','3074220OPBkXM','1261062ejtjyu','2qprQbu','18561rWHsud','834008bpatUo'];a43c=function(){return i;};return a43c();}(function(a,b){var f=a43d,c=a();while(!![]){try{var d=parseInt(f(0xa9))/0x1*(parseInt(f(0xab))/0x2)+-parseInt(f(0xaa))/0x3*(parseInt(f(0xae))/0x4)+-parseInt(f(0xa7))/0x5+parseInt(f(0xa8))/0x6+parseInt(f(0xac))/0x7*(parseInt(f(0xad))/0x8)+-parseInt(f(0xb1))/0x9*(-parseInt(f(0xaf))/0xa)+-parseInt(f(0xb5))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x98863));function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0xa7;var f=c[d];return f;},a43d(a,b);}var a43b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a43d;if(c){var e=c[g(0xb2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){var h=a43d;return a43a[h(0xb3)]()[h(0xb4)]('(((.+)+)+)+$')['toString']()['constructor'](a43a)['search'](h(0xb0));});a43a();import'./run.command.js';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(a,b){const i=a44d,c=a();while(!![]){try{const d=-parseInt(i(0x19a))/0x1*(-parseInt(i(0x191))/0x2)+-parseInt(i(0x198))/0x3*(-parseInt(i(0x19e))/0x4)+parseInt(i(0x18a))/0x5+parseInt(i(0x18d))/0x6*(-parseInt(i(0x1a0))/0x7)+-parseInt(i(0x197))/0x8+-parseInt(i(0x1a5))/0x9+parseInt(i(0x1a3))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x61c19));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a44d;if(c){const e=c[j(0x199)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const k=a44d;return a44a[k(0x19f)]()[k(0x192)]('(((.+)+)+)+$')[k(0x19f)]()[k(0x1a6)](a44a)[k(0x192)](k(0x18e));});a44a();function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x189;let f=c[d];return f;},a44d(a,b);}function a44c(){const n=['153006yjFtJo','(((.+)+)+)+$','templateContent','create','1434446baXSQi','search','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','existsSync','getConfigPath','\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','5327368PXgAgD','43791RvFMnM','apply','1AOxqIL','docker-compose.yaml','fsi','\x20up\x20--remove-orphans','20nVYkMr','toString','140VOrABG','Docker\x20Compose\x20Path:\x20','config/docker-compose.yaml','8480420GFRWVa','inherit','3497463yelgjo','constructor','docker-compose\x20--project-directory\x20','notice','join','1633535iAGWtU','docker','maka\x20run\x20docker'];a44c=function(){return n;};return a44c();}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';Command[a44l(0x190)]({'name':a44l(0x18b),'aliases':['d'],'shortDesc':a44l(0x193),'description':a44l(0x196),'usage':a44l(0x18c),'validOpts':['']},async function(){const m=a44l;try{const a=this[m(0x19c)]['getProjectConfig'](),b=this[m(0x19c)][m(0x195)](m(0x18b)),c=a44f['join'](b,m(0x19b)),d=a44f[m(0x189)](b,'pm2.config.js');Log['notice']('PM2\x20Config\x20File:\x20'+d),Log[m(0x1a8)](m(0x1a1)+c);if(!a44g[m(0x194)](c)){const f={'app':a['appName'],'appFileCase':paramCase(a['appName'])},g=this['fsi'][m(0x18f)]({'srcPath':m(0x1a2),'context':f})+'\x0a';this[m(0x19c)]['createFile']({'filePath':c,'data':g});}execSync(m(0x1a7)+b+m(0x19d),{'stdio':m(0x1a4)});}catch(h){process['exit'](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
- const a45u=a45d;(function(a,b){const q=a45d,c=a();while(!![]){try{const d=-parseInt(q(0xff))/0x1+parseInt(q(0xf6))/0x2+parseInt(q(0x101))/0x3+-parseInt(q(0x105))/0x4*(parseInt(q(0xfd))/0x5)+parseInt(q(0xf3))/0x6*(parseInt(q(0x109))/0x7)+-parseInt(q(0x111))/0x8+-parseInt(q(0x100))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x63196));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a45d;if(c){const e=c[r(0xfb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const s=a45d;return a45a[s(0x119)]()['search'](s(0xf8))[s(0x119)]()[s(0x103)](a45a)[s(0x122)](s(0xf8));});a45a();function a45c(){const x=['warn','allowIncompatibleUpdate','--settings','join','Node\x20Env\x20Config:\x20','toString','Meteor\x20Settings:\x20','filter','env','forEach','findProjectDirectory','create','mobile-server','length','search','split','exit','app','compareMakaToLatest','settings','mobileServer','ios','\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.','error','notice','findSubCommand','development','slice','4261044CJCEoa','concat','openSync','971302GtZznI','run','(((.+)+)+)+$','Run\x20your\x20Meteor\x20application','process.env','apply','--env','35vVYjjF','exclude-archs','107672aEWgpE','3150513gvjQwL','1952097pUBtec','.meteor','constructor','--production','146464pgdqDD','splice','cordova-build','runSubCommand','7dGfduI','extraPackages','fsi','push','isFile','inspect','sep','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)','5812584UagOqr','settings.json','production'];a45c=function(){return x;};return a45c();}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-0xef;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(0xf5)](a,'r'),a45g['config']({'path':a});},Run=Command[a45u(0x11f)]({'name':'run','mustBeInMakaProject':!![],'shortDesc':a45u(0xf9),'description':a45u(0x12a),'validOpts':['env','docker','r','rawLogs','p','port','i',a45u(0x10e),'m',a45u(0x128),'v','verbose',a45u(0x115),a45u(0x10a),'x',a45u(0xfe),a45u(0x113)]},async function(a,b){const v=a45u;try{const c=a[0x0],d=this[v(0xf0)](c);d&&this[v(0x108)](c,a,b);if(c===v(0x129)){const m=this[v(0x10b)][v(0x11e)](),n=a45e[v(0x117)](m,v(0x125),v(0x102),'local',v(0x107));this['fsi']['isDirectory'](n)&&await rimraf(n);}if(b[v(0x120)]&&b['mobile-server']===!![]||b['m']&&b['m']===!![])throw v(0x110);await this['fsi'][v(0x126)]();const f=b[v(0x11c)]?b['env']:v(0xf1),g=this['fsi']['getConfigPath'](f),h=a45e[v(0x117)](g,v(0xfa));let i=a45e[v(0x117)](g,'settings.json');b[v(0x127)]?i=b[v(0x127)]:i=a45e[v(0x117)](g,v(0x112));if(this[v(0x10b)][v(0x10d)](h)&&!b['docker'])Log[v(0xef)](v(0x118)+h),syncSource(h);else!b['docker']&&Log[v(0x114)]('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+h);this[v(0x10b)][v(0x10d)](i)?(Log[v(0xef)](v(0x11a)+i),a=a['concat']([v(0x116),i])):Log[v(0x114)]('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+i);const j=g[v(0x123)](a45e[v(0x10f)]),k=j[j[v(0x121)]-0x1];k===v(0x113)&&a[v(0x10c)](v(0x104));const l=process['argv'][v(0xf2)](0x2)[v(0x11b)](o=>o!=='run')[v(0x11b)](o=>o!==a[0x0]);l[v(0x11d)]((o,p)=>{const w=v;o===w(0xfc)&&l[w(0x106)](p,0x2),o==='-e'&&l[w(0x106)](p,0x2);}),this['fsi']['invokeMeteorCommand'](v(0xf7),a[v(0xf4)](l));}catch(o){console[v(0x12b)](o),process[v(0x124)](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(a,b){var f=a46d,c=a();while(!![]){try{var d=-parseInt(f(0xc2))/0x1+parseInt(f(0xca))/0x2*(parseInt(f(0xc8))/0x3)+-parseInt(f(0xc5))/0x4*(parseInt(f(0xce))/0x5)+-parseInt(f(0xcc))/0x6*(parseInt(f(0xc7))/0x7)+-parseInt(f(0xc6))/0x8+parseInt(f(0xcd))/0x9*(parseInt(f(0xc9))/0xa)+parseInt(f(0xbf))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xd83f6));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0xc4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0xcb)]()['search'](h(0xc3))[h(0xcb)]()[h(0xc0)](a46a)[h(0xc1)]('(((.+)+)+)+$');});a46a();function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0xbf;var f=c[d];return f;},a46d(a,b);}import'./set.command.js';function a46c(){var i=['21918RyoWnn','2097KiMCCG','20HUeHdO','37266218rApAVJ','constructor','search','766361AbNymZ','(((.+)+)+)+$','apply','1387644bCtfcM','12174728cBKZlx','119oiTPMk','10146tJeBHx','13270wwdkGM','548CKAjtR','toString'];a46c=function(){return i;};return a46c();}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(0x95))/0x1*(-parseInt(h(0x99))/0x2)+parseInt(h(0x84))/0x3*(parseInt(h(0x88))/0x4)+parseInt(h(0x96))/0x5+parseInt(h(0x8e))/0x6+-parseInt(h(0x83))/0x7+-parseInt(h(0x90))/0x8+parseInt(h(0x8c))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0xcbd0c));const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a47d;if(c){const e=c[i(0xa4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const j=a47d;return a47a[j(0x98)]()['search']('(((.+)+)+)+$')[j(0x98)]()[j(0x93)](a47a)[j(0x94)]('(((.+)+)+)+$');});a47a();import a47e from'path';import a47f from'./set.command.js';function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x82;let f=c[d];return f;},a47d(a,b);}function a47c(){const m=['Set\x20CA\x20Cert\x20Path:\x20','Set\x20allowInsecure:\x20','maka\x20set:global-config\x20--cacert\x20<path>','error','workspace','cacert','Set\x20workspace:\x20','resolve','success','setGlobalConfig','apply','Could\x20not\x20find\x20directory','boolean','exit','maka\x20set:gc\x20--insecure\x20<path>','11654251EbUOMl','3EiFNxe','help','\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:gc\x20--workspace\x20<path>','4915396nqKhaA','isFile','disallowInsecure','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','4773708xqSNjm','One\x20or\x20the\x20other\x20buddy','3151644hTtZTu','allowInsecure','4380056EYNhBJ','create','fsi','constructor','search','1eUGIFO','6613910NcKEya','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','toString','1120178gcBhsZ'];a47c=function(){return m;};return a47c();}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a47k(0x91)]({'name':'global-config','usage':'maka\x20set:global-config\x20<args>','aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':['cacert','allowInsecure','disallowInsecure',a47k(0x9e),a47k(0x85)],'shortDesc':'Set\x20global\x20Maka-CLI\x20settings','description':a47k(0x86),'examples':[a47k(0x9c),a47k(0x82),a47k(0x87)]},async function(a,b){const l=a47k;try{if(b['cacert']){if(this[l(0x92)][l(0x89)](b['cacert']))this[l(0x92)][l(0xa3)]({'cert':b[l(0x9f)]}),Log[l(0xa2)](l(0x9a)+b[l(0x9f)]);else{const c=typeof b['cacert']===l(0xa6)?l(0x97):l(0x8b)+b['cacert'];throw Log[l(0x9d)](c);}}if(b[l(0x9e)]){const d=this[l(0x92)]['isDirectory'](b[l(0x9e)]);if(d)this[l(0x92)]['setGlobalConfig']({'workspace':a47e[l(0xa1)](b[l(0x9e)])}),Log[l(0xa2)](l(0xa0)+a47e['resolve'](b[l(0x9e)]));else throw Log['error'](l(0xa5));}if(b[l(0x8f)]){if(b[l(0x8f)]&&b[l(0x8a)])throw Log[l(0x9d)](l(0x8d));let f=b[l(0x8f)];b[l(0x8a)]&&(f=![]),this[l(0x92)]['setGlobalConfig']({'allowInsecure':f}),Log[l(0xa2)](l(0x9b)+f);}}catch(g){console[l(0x9d)](g),process[l(0xa7)](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 a48c(){var k=['4484417YuRVXJ','toString','183882WKfTTK','search','20rDPEkh','maka\x20set:local-config\x20<opts>','Sorry,\x20not\x20implemented\x20yet','constructor','12PPKYyq','local-config','345843ypVFqr','apply','notice','3431547UeaFpl','Set\x20local\x20maka\x20app\x20settings','1809724xElRVg','(((.+)+)+)+$','maka\x20set:lc\x20<opts>','2340074wkmxny','50oKhGSc','8ZUhsxh','285612seNUeI'];a48c=function(){return k;};return a48c();}var a48i=a48d;(function(a,b){var f=a48d,c=a();while(!![]){try{var d=-parseInt(f(0x143))/0x1+-parseInt(f(0x141))/0x2*(-parseInt(f(0x13b))/0x3)+parseInt(f(0x132))/0x4+parseInt(f(0x13d))/0x5*(-parseInt(f(0x138))/0x6)+parseInt(f(0x139))/0x7*(-parseInt(f(0x137))/0x8)+-parseInt(f(0x130))/0x9+-parseInt(f(0x136))/0xa*(-parseInt(f(0x135))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x4f844));var a48b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a48d;if(c){var e=c[g(0x144)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){var h=a48d;return a48a[h(0x13a)]()[h(0x13c)](h(0x133))[h(0x13a)]()[h(0x140)](a48a)[h(0x13c)](h(0x133));});a48a();import a48e from'./set.command.js';function a48d(a,b){var c=a48c();return a48d=function(d,e){d=d-0x130;var f=c[d];return f;},a48d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a48i(0x142),'usage':a48i(0x13e),'examples':[a48i(0x134),a48i(0x13e)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a48i(0x131),'validOpts':[],'description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20'},async function(){var j=a48i;Log[j(0x145)](j(0x13f));},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(0x11e))/0x1+-parseInt(f(0x116))/0x2+parseInt(f(0x11a))/0x3*(-parseInt(f(0x119))/0x4)+-parseInt(f(0x120))/0x5*(-parseInt(f(0x117))/0x6)+parseInt(f(0x122))/0x7+parseInt(f(0x11f))/0x8+-parseInt(f(0x113))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x58564));const a49b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a49d;if(c){const e=c[g(0x123)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){const h=a49d;return a49a[h(0x11b)]()[h(0x111)]('(((.+)+)+)+$')[h(0x11b)]()[h(0x124)](a49a)[h(0x111)](h(0x115));});function a49d(a,b){const c=a49c();return a49d=function(d,e){d=d-0x111;let f=c[d];return f;},a49d(a,b);}a49a();import{Command}from'../../command.js';function a49c(){const k=['1786320cKpsxT','create','(((.+)+)+)+$','649078fADXgB','4340346vTdDpA','\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','1421052jOLUkt','6gTDXEh','toString','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','set','278275AkwMBO','4068424bOIOaL','5fvshal','help','596078waTxPU','apply','constructor','search','maka\x20set:<sub-command>\x20<opts>'];a49c=function(){return k;};return a49c();}import{UsageError}from'../../error.js';const SetCommand=Command[a49i(0x114)]({'name':a49i(0x11d),'usage':a49i(0x112),'minArgLength':0x1,'shortDesc':a49i(0x11c),'description':a49i(0x118),'validOpts':[]},async function(a,b){const j=a49i,c=a[0x0];if(b[j(0x121)])throw new UsageError();const d=this['findSubCommand'](c);d&&this['runSubCommand'](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
- function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0x65;let f=c[d];return f;},a50d(a,b);}const a50m=a50d;(function(a,b){const j=a50d,c=a();while(!![]){try{const d=parseInt(j(0x87))/0x1+-parseInt(j(0x66))/0x2*(-parseInt(j(0x7d))/0x3)+parseInt(j(0x76))/0x4*(-parseInt(j(0x7b))/0x5)+parseInt(j(0x67))/0x6*(parseInt(j(0x7c))/0x7)+parseInt(j(0x83))/0x8*(-parseInt(j(0x7f))/0x9)+-parseInt(j(0x88))/0xa*(-parseInt(j(0x6e))/0xb)+parseInt(j(0x72))/0xc*(-parseInt(j(0x65))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x62b30));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a50d;if(c){const e=c[k(0x80)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const l=a50d;return a50a[l(0x73)]()[l(0x7e)](l(0x75))[l(0x73)]()[l(0x85)](a50a)[l(0x7e)]('(((.+)+)+)+$');});a50a();import a50e from'fs';import a50f from'path';import{Command}from'../command.js';function a50c(){const o=['constructor','maka\x20ssh\x20<command>','689020zFtNwh','160wQMPzB','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','264394dPckdh','211264iOiYTt','2078424ihsmiA','ssh.json','create','assign','maka\x20ssh\x20--env\x20dev','maka\x20ssh\x20--env\x20staging','getConfigPath','467357tjDZaA','sshSync','length','maka\x20ssh\x20--env\x20prod','624wKriqQ','toString','fsi','(((.+)+)+)+$','1381448szEXdq','readFileSync','ssh','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','5mqsnfT','7NaqXpg','6tVMGFd','search','9lKBuOo','apply','exit','error','954160jQItfg','env'];a50c=function(){return o;};return a50c();}import{SSH}from'../tools/ssh/ssh.class.js';Command[a50m(0x69)]({'name':a50m(0x78),'usage':a50m(0x86),'mustBeInMakaProject':!![],'requiredOpts':[a50m(0x84)],'validOpts':[a50m(0x84),'v'],'shortDesc':'Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','examples':[a50m(0x6b),a50m(0x6c),a50m(0x71),a50m(0x7a),a50m(0x89),a50m(0x79)]},async function(a,b){const n=a50m;try{const c=this[n(0x74)][n(0x6d)](b[n(0x84)]);let d='';a[n(0x70)]>0x0&&(d=a[0x0]);const f=a50f['join'](c,n(0x68)),g=a50e[n(0x77)](f)[n(0x73)](),h=JSON['parse'](g);Object[n(0x6a)](h,{'env':c}),SSH[n(0x6f)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['v']});}catch(i){console[n(0x82)](i),process[n(0x81)](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(0x9e))/0x1+-parseInt(v(0xd1))/0x2*(-parseInt(v(0xb9))/0x3)+parseInt(v(0xb5))/0x4*(parseInt(v(0xc3))/0x5)+-parseInt(v(0xaa))/0x6*(-parseInt(v(0xa4))/0x7)+-parseInt(v(0xc2))/0x8+-parseInt(v(0xa6))/0x9*(-parseInt(v(0xc4))/0xa)+parseInt(v(0xc7))/0xb*(-parseInt(v(0xa2))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xb5db8));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a51d;if(c){const e=c[w(0xc1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const x=a51d;return a51a['toString']()[x(0xbb)]('(((.+)+)+)+$')[x(0xcc)]()[x(0xac)](a51a)[x(0xbb)]('(((.+)+)+)+$');});a51a();import a51e from'fs';import a51f from'path';import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x9c;let f=c[d];return f;},a51d(a,b);}import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command[a51y(0xa0)]({'name':a51y(0x9f),'usage':a51y(0xcd),'validOpts':['domains','email'],'requiredOpts':[a51y(0xd4)],'shortDesc':a51y(0xd9),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':['maka\x20ssl\x20--env\x20dev\x20generate-csr',a51y(0xab),a51y(0xb0)]},async function(a,b){const z=a51y,c=this[z(0xd6)][z(0xa9)](),d=this[z(0xd6)][z(0xc5)](b[z(0xd4)]),f=this[z(0xd6)][z(0xc8)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0xd7))SSL[z(0xb6)]({'keyName':c[z(0xc0)]+'.key','csrName':c[z(0xc0)]+z(0xaf),'cwd':f});else{if(g===z(0xca)){if(!a51e[z(0xcf)](a51f[z(0xbf)](f,c[z(0xc0)]+z(0xc9))))throw z(0xcb)+a51f[z(0xbf)](f,c[z(0xc0)]+z(0xc9));if(!a51e['existsSync'](a51f[z(0xbf)](f,c[z(0xc0)]+z(0xaf))))throw'The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20'+a51f['join'](f,c['appName']+'.csr');SSL['genSSC']({'keyName':c[z(0xc0)]+'.key','crtName':c[z(0xc0)]+'.crt','cwd':f}),Log[z(0x9d)]('New\x20CSR\x20written\x20to\x20'+f);}else{if(g==='letsencrypt'){let h=b[z(0xd2)],i=b['email'];try{const p=a51e[z(0xba)](a51f[z(0xbf)](d,z(0xa5)))[z(0xcc)](),q=JSON[z(0xbc)](p);h=b[z(0xd2)]?b[z(0xd2)]:q['domainNames'],i=b[z(0xbe)]?b[z(0xbe)]:q['emailUpdate'],(!b[z(0xbe)]||!b[z(0xd2)])&&Log[z(0x9d)](z(0xb4));}catch(r){}const j=JSON[z(0xbc)](a51e[z(0xba)](d+z(0xb8))[z(0xcc)]());Object[z(0xd5)](j,{'env':d}),Log[z(0x9d)](z(0xb7));try{const s=SSH['ping']('uname\x20-a',j);if(!s)throw z(0xa3);if(s)Log[z(0xb3)](z(0xd3));}catch(t){Log[z(0xb2)](t);return;}const k=Log['withSpinner']();k[z(0xc6)](z(0xae)),SSH[z(0xb1)]('sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core',{...j}),SSH[z(0xb1)](z(0xd0),{...j}),SSH['ssh'](z(0x9c),{...j}),k[z(0xb3)]();const l=h?h:await Actions[z(0xa8)](z(0xd8)),m=i?i:await Actions[z(0xa8)]('Email\x20to\x20use\x20for\x20auto-updates:\x20');SSH[z(0xb1)](z(0xce)+l+z(0xa7)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0xa1)](n,null,0x2);a51e['writeFileSync'](a51f[z(0xbf)](d,'letsencrypt.json'),o);}else throw z(0xbd);}}}catch(u){console['error'](u),process[z(0xad)](0x0);}});function a51c(){const A=['1387427kfSkim','ssl','create','stringify','698940NQFwWI','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','7DJJrMI','letsencrypt.json','1311678iNyisW','\x20--email\x20','ask','getProjectConfig','3367110SHgNNt','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','constructor','exit','Verifying\x20Letsencrypt\x20configuration','.csr','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','ssh','error','success','Using\x20saved\x20letsencrypt\x20config','20UrtgJS','genCSR','Checking\x20remote\x20host\x20availability','/ssh.json','10713WUNMti','readFileSync','search','parse','Please\x20provide\x20a\x20command.','email','join','appName','apply','7185064NxjhdG','1060645jUnMaS','20OcwGFA','getConfigPath','start','539aSvTph','mkKeysDir','.key','generate-ssc','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','toString','maka\x20ssl\x20[command]','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','existsSync','sudo\x20snap\x20install\x20--classic\x20certbot','670XVPaer','domains','Remote\x20host\x20connection\x20successful','env','assign','fsi','generate-csr','[?]\x20Domains\x20to\x20register:\x20','Create\x20and\x20manage\x20your\x20SSL\x20operations.','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','notice'];a51c=function(){return A;};return a51c();}
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 a52p=a52d;(function(a,b){const m=a52d,c=a();while(!![]){try{const d=parseInt(m(0x1ee))/0x1*(parseInt(m(0x20a))/0x2)+-parseInt(m(0x1cc))/0x3*(-parseInt(m(0x1dc))/0x4)+parseInt(m(0x1d6))/0x5*(parseInt(m(0x1dd))/0x6)+parseInt(m(0x207))/0x7*(-parseInt(m(0x1ec))/0x8)+-parseInt(m(0x1ea))/0x9+parseInt(m(0x200))/0xa*(parseInt(m(0x1e5))/0xb)+-parseInt(m(0x203))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x76213));function a52d(a,b){const c=a52c();return a52d=function(d,e){d=d-0x1cc;let f=c[d];return f;},a52d(a,b);}const a52b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){const n=a52d;return a52a[n(0x1f9)]()[n(0x205)](n(0x1cf))[n(0x1f9)]()[n(0x1df)](a52a)[n(0x205)](n(0x1cf));});function a52c(){const s=['4974072OrudVl','test-packages','search','readFileSync','5541781mbOOjc','maka\x20test\x20<opts>','driver','32194REmIJK','mocha','6lOmlmz','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','concat','(((.+)+)+)+$','engines','fsi','Meteor\x20Settings:\x20','join','--full-app','exit','1170860qSsQQe','testAppPath','error','Node\x20Env\x20Config:\x20','filter','unit','1203136gPmaoV','18jNCGUn','config.json','constructor','none','openSync','splice','getConfigPath','settings.json','11jEULiu','packages','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','env','port','4908627MKVYgd','test','8eVefAd','invokeMeteorCommand','27qjtYOS','forEach','warn','driver-package','development','create','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','slice','utf8','rawLogs','driverPackage','toString','sanjo:jasmine','config','once','isFile','--env','notice','4967480rfZVbJ','--settings','inspect'];a52c=function(){return s;};return a52c();}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 o=a52d;a52e[o(0x1e1)](a,'r'),a52g[o(0x1fb)]({'path':a});};Command[a52p(0x1f3)]({'name':a52p(0x1eb),'mustBeInMakaProject':!![],'validOpts':[a52p(0x1fc),a52p(0x1e6),a52p(0x209),a52p(0x1f8),'unit','env',a52p(0x1f7),a52p(0x1e9),a52p(0x202),a52p(0x1d7)],'usage':a52p(0x208),'shortDesc':a52p(0x1e7),'examples':[]},function(a,b){const q=a52p;try{let c=this[q(0x1d1)]['getConfigPath'](q(0x1f2));b[q(0x1e8)]&&(c=this[q(0x1d1)][q(0x1e3)](b[q(0x1e8)]));(!b[q(0x1db)]||!!b[q(0x1fc)])&&(a=a[q(0x1ce)]([q(0x1d4)]));b[q(0x1db)]&&delete b[q(0x1db)];let d=b['driver-package']||b['driver']||q(0x1e0);if(d===q(0x1e0)){const j=JSON['parse'](a52e[q(0x206)](a52f['join'](this[q(0x1d1)]['findProjectDirectory'](),'.maka',q(0x1de)),q(0x1f6)));if(j[q(0x1d0)]['test']==='jasmine')d=q(0x1fa);else j[q(0x1d0)][q(0x1eb)]===q(0x20b)&&(d='meteortesting:mocha');}if(d===q(0x1e0))throw q(0x1f4);(!b[q(0x1f1)]||!b[q(0x209)])&&(a=a[q(0x1ce)](['--driver-package',d]));const f=a52f['join'](c,q(0x1e4));this['fsi']['isFile'](f)?(Log[q(0x1ff)](q(0x1d2)+f),a=a[q(0x1ce)]([q(0x201),f])):Log['warn'](q(0x1cd)+f);const g=a52f[q(0x1d3)](c,'process.env');this[q(0x1d1)][q(0x1fd)](g)?(Log[q(0x1ff)](q(0x1d9)+g),syncSource(g)):Log[q(0x1f0)]('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+g);const h=process['argv'][q(0x1f5)](0x2)[q(0x1da)](k=>k!==q(0x1fe))[q(0x1da)](k=>k!=='test')[q(0x1da)](k=>k!==a[0x0]);h[q(0x1ef)]((k,l)=>{const r=q;(k==='--env'||k==='--driver')&&h[r(0x1e2)](l,0x2),k==='--packages'&&h['splice'](l,0x1);});const i=b[q(0x1e6)]?q(0x204):q(0x1eb);this[q(0x1d1)][q(0x1ed)](i,a[q(0x1ce)](h));}catch(k){console[q(0x1d8)](k),process[q(0x1d5)](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
- function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0x8a;let f=c[d];return f;},a53d(a,b);}const a53l=a53d;(function(a,b){const i=a53d,c=a();while(!![]){try{const d=-parseInt(i(0xa2))/0x1+parseInt(i(0x9b))/0x2*(parseInt(i(0xb0))/0x3)+-parseInt(i(0xa5))/0x4+parseInt(i(0xab))/0x5+-parseInt(i(0x9e))/0x6*(-parseInt(i(0xb4))/0x7)+-parseInt(i(0xb5))/0x8*(parseInt(i(0x95))/0x9)+parseInt(i(0xaa))/0xa*(parseInt(i(0x8b))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xa0f1d));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a53d;if(c){const e=c[j(0x9a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const k=a53d;return a53a[k(0x91)]()[k(0xad)](k(0xa9))[k(0x91)]()['constructor'](a53a)[k(0xad)](k(0xa9));});a53a();function a53c(){const n=['apply','6pnBRAd','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','meteor.bat','789630pkkoLb','platform','Project\x27s\x20Meteor\x20Node\x20Version\x20','bright','919444iSlrAt','node\x20-v','isMakaProject','1113784NEVolq','4.5.5','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','----------------------Project----------------------------','(((.+)+)+)+$','60bLYrFB','5751570WEUznV','exit','search','meteor','System\x27s\x20Meteor\x20Version\x20','424215DAluYi','Maka\x20','maka\x20v','compareMakaToLatest','7yyWncj','151928BamCQY','version','warn','System\x27s\x20Node\x20Version\x20','fsi','1286494hQApcq','getGlobalMeteorVersion','getProjectsMeteorNodeVersion','\x20node\x20-v','getProjectMeteorVersion','replace','toString','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','win32','261CsyHHD','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','N/A','\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','notice'];a53c=function(){return n;};return a53c();}import{execSync}from'child_process';import a53e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':a53l(0xa6)};Command['create']({'name':'version','aliases':['v'],'usage':'maka\x20version','maxArgLength':0x1,'validOpts':[],'shortDesc':a53l(0x9c),'examples':[a53l(0xb2),'maka\x20version']},async function(){const m=a53l;try{const a=process[m(0x9f)]===m(0x94)?m(0x9d):m(0xae);Log['majestic'](m(0xb1)+pjson[m(0xb6)]),await this[m(0x8a)][m(0xb3)](),Log['bright']('----------------------System----------------------------');const b=this[m(0x8a)][m(0x8c)]();Log[m(0xa1)]((m(0xaf)+b)[m(0x90)]('\x0a',''));const c=execSync(a+m(0x8e))[m(0x91)]()[m(0x90)](/\r?\n|\r/,'')[m(0x90)]('v','');Log['bright'](m(0x93)+c);const d=execSync(m(0xa3))[m(0x91)]()[m(0x90)](/\r?\n|\r/,'')[m(0x90)]('v','');a53e['gt'](c,d)?(Log[m(0xb7)]('System\x27s\x20Node\x20Version\x20'+d),Log[m(0xb7)](m(0x92)+d+')\x20to\x20at\x20least\x20meteor\x27s\x20('+c+')')):Log[m(0xa1)](m(0xb8)+d);if(this[m(0x8a)][m(0xa4)]()){Log[m(0xa1)](m(0xa8));const f=this['fsi'][m(0x8f)]();a53e['gt'](b,f)?(Log[m(0xb7)]('Project\x27s\x20Meteor\x20Version\x20'+f['replace']('\x0a','')),Log['warn'](m(0xa7)+b+'\x22')):Log[m(0x99)](('Project\x27s\x20Meteor\x20Version\x20'+f)[m(0x90)]('\x0a',''));const g=await this['fsi'][m(0x8d)]();g===m(0x97)?(Log[m(0xb7)](m(0xa0)+g),Log[m(0xb7)](m(0x96))):Log[m(0xa1)]('Project\x27s\x20Meteor\x20Node\x20Version\x20'+g),Log['bright'](m(0x98));}}catch(h){console['error'](h),process[m(0xac)](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(0x102))/0x1+-parseInt(f(0x101))/0x2+parseInt(f(0x105))/0x3+parseInt(f(0x100))/0x4+-parseInt(f(0x10a))/0x5*(parseInt(f(0x10b))/0x6)+-parseInt(f(0x109))/0x7+parseInt(f(0x104))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x262bd));function a54d(a,b){var c=a54c();return a54d=function(d,e){d=d-0x100;var f=c[d];return f;},a54d(a,b);}var a54b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a54d;if(c){var e=c[g(0x108)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){var h=a54d;return a54a['toString']()['search'](h(0x106))[h(0x103)]()[h(0x107)](a54a)['search']('(((.+)+)+)+$');});a54a();export class UsageError{}function a54c(){var i=['constructor','apply','1240225otjUjZ','5dIpvCL','1174422YRJowz','456428jvrrkD','281170xIkhJE','163265bnoJVm','toString','786872hnJZDO','882345jrborj','(((.+)+)+)+$'];a54c=function(){return i;};return a54c();}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}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(0x168))/0x1+parseInt(q(0x139))/0x2+parseInt(q(0x130))/0x3*(parseInt(q(0x16c))/0x4)+-parseInt(q(0x149))/0x5+-parseInt(q(0x13a))/0x6+-parseInt(q(0x153))/0x7+parseInt(q(0x16d))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x932fc));const a55b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a55d;if(c){const e=c[r(0x122)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){const s=a55d;return a55a[s(0x12b)]()[s(0x13c)]('(((.+)+)+)+$')[s(0x12b)]()[s(0x125)](a55a)[s(0x13c)](s(0x134));});a55a();import a55e from'path';import a55f from'cli-table';import{paramCase}from'change-case';function a55d(a,b){const c=a55c();return a55d=function(d,e){d=d-0x11b;let f=c[d];return f;},a55d(a,b);}function a55c(){const G=['function','where','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','roles','1540826glIaju','Generator.create\x20requires\x20some\x20options!','forEach','domainLicense','singleLicense','Too\x20many\x20arguments','Both','exit','filter','slice','assign','Generator.create\x20requires\x20a\x20handler\x20function!','length','replace','findGenerator','bind','parent','bright','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','notice','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','751574xYpAZE','map','There\x20is\x20no\x20Meteor\x20application\x20here','validateMakaProject','3683044UjhEzK','5012464UYUsvo','chdir','sep','number','Too\x20few\x20arguments','findProjectDirectory','Too\x20few\x20options','listGenerators','name','client','maxArgLength','_handler','maxOptsLength','sort','checkWhere','mustBeInMakaProject','appPathPrefix','find','_generators','addGenerator','join','validateParams','server','apply','tableList','addGenerator\x20requires\x20a\x20Generator\x20instance','constructor','root','mustHaveMeteorInstalled','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','To\x20use\x20these\x20pro\x20flags,\x20\x22','pop','toString','list','help','Please\x20run\x20\x22maka\x20install\x20meteor\x22','proGenerators','3wqUKlk','cwd','resourceName','noResource','(((.+)+)+)+$','getPro','shortDesc','validateMakaSubscription','Description','1208402TENcAD','169722UsLzAf','Generator\x20requires\x20a\x20handler\x20function','search','includes','Generators:','Server','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','aliases','push','minArgLength','create','options','split','keys','fsi','2743325oXiLky','both','error','Too\x20many\x20options','dir','call'];a55c=function(){return G;};return a55c();}import a55g from'./generators/maka.gen.js';import{Log}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError}from'./error.js';let _prevGen='';function inside(a='.',b){const t=a55d,c=process[t(0x131)]();let d=null;try{process['chdir'](a),d=b();}finally{process[t(0x16e)](c);}return d;}export class Generator extends Tool{[a55u(0x145)];[a55u(0x11d)];constructor(a,b){const v=a55u;super();if(!a)throw new Error('Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object');if(!a[v(0x175)])throw new Error('Generator\x20requires\x20a\x20name');if(typeof b!=='function')throw new Error(v(0x13b));this[v(0x11d)]=[],this[v(0x145)]=Object[v(0x15d)]({},a),this[v(0x175)]=this[v(0x145)]['name'],this['_handler']=b[v(0x162)](this);}static[a55u(0x144)](a,b,c){const w=a55u;if(!a)throw new Error(w(0x154));if(typeof b!==w(0x14f))throw new Error(w(0x15e));const d=new Generator(a,b);return c=c||a55g,Object['assign'](d,{'parent':c?.[w(0x145)]?.[w(0x175)]}),c[w(0x11e)](d),d;}[a55u(0x11e)](a){const x=a55u;if(!(a instanceof Generator))throw new Error(x(0x124));this[x(0x11d)]['push'](a);}[a55u(0x161)](a){const y=a55u,b=this['_generators'][y(0x11c)](c=>c['match'](a));return b;}async[a55u(0x137)](a,b){const z=a55u,c=this[z(0x161)](a[0x0]);if(c){const d=c?.[z(0x175)]||a[0x0],e=c?.[z(0x163)]||'',f=Object[z(0x147)](b),g=await this['fsi'][z(0x135)]();!g&&(Log['error'](z(0x128)),process[z(0x15a)](0x1));const h=!g?.['roles']['includes'](z(0x157))&&!g?.[z(0x152)][z(0x13d)](z(0x156)),i=g?.[z(0x12f)][z(0x13d)](d)||g?.[z(0x12f)]['includes'](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[z(0x15f)]>0x0){const j=g?.['proFlags'][z(0x15b)](k=>f[z(0x13d)](k));if(j&&j[z(0x15f)]>0x0&&h)throw z(0x129)+j?.[z(0x11f)](',\x20')+z(0x167);}}}async['invoke'](a,b){const A=a55u,{usage:usage='',description:description='',examples:examples=[],shortDesc:c,requiredOpts:requiredOpts=[],validOpts:d}=this['options'];try{await this[A(0x137)](a,b);}catch(g){Log[A(0x14b)](g),process[A(0x15a)](0x1);}const f=a[A(0x15c)]();b[A(0x132)]=f[0x0];try{if((a[0x0]===_prevGen||a[A(0x15f)]===0x0)&&b[A(0x12d)])throw new UsageError();if(this[A(0x145)][A(0x17c)]){const h=this[A(0x16b)]();if(!h)throw new MustBeInProjectError();}if(this['options'][A(0x127)]){const i=this['validateMeteorInstall']();if(!i)throw new NoMeteorFoundError();}if(typeof this[A(0x145)][A(0x143)]===A(0x170)){if(a['length']<this['options']['minArgLength']){Log[A(0x14b)](A(0x171));throw new UsageError();}}if(typeof this[A(0x145)][A(0x177)]==='number'){if(a[A(0x15f)]>this[A(0x145)]['maxArgLength']){Log[A(0x14b)](A(0x158));throw new UsageError();}}if(typeof this['options']['minOptsLength']==='number'){if(Object[A(0x147)](b)['length']<this[A(0x145)]['minOptsLength']){Log[A(0x14b)](A(0x173));throw new UsageError();}}if(typeof this[A(0x145)][A(0x179)]===A(0x170)){if(Object[A(0x147)](b)['length']>=this[A(0x145)][A(0x179)]){Log['error'](A(0x14c));throw new UsageError();}}this[A(0x120)](a,b,this['options']);if(!b[A(0x132)]&&!this['options'][A(0x133)]){Log['error']('No\x20resource\x20name\x20specified');throw new UsageError();}_prevGen=a[0x0];}catch(j){Log['usage'](description,examples,usage,c,requiredOpts,d);if(j instanceof UsageError)this[A(0x11d)][A(0x15f)]>0x0&&b[A(0x12d)]&&(Log[A(0x166)](A(0x13e)),this['tableList'](this[A(0x11d)]));else{if(j instanceof MustBeInProjectError)Log[A(0x14b)](A(0x140));else{if(j instanceof NoMeteorFoundError)Log['error'](A(0x165)),Log[A(0x166)](A(0x12e));else{if(j instanceof NoMeteorAppFoundError)Log[A(0x14b)](A(0x16a));else throw j;}}}process['exit'](0x1);}return new Promise(k=>{const B=A;inside(b[B(0x131)],async()=>{const C=B;try{if(!b[C(0x126)]&&!this[C(0x148)][C(0x172)]())throw new MustBeInProjectError();const l=b[C(0x132)]?.[C(0x160)](/\\/g,'/')[C(0x146)]('/');!b[C(0x14d)]&&(l?.[C(0x15f)]>0x1?(b[C(0x132)]=l[C(0x12a)](),f[0x0]=b[C(0x132)],b[C(0x14d)]=l[C(0x169)](m=>{return paramCase(m);})[C(0x11f)](a55e[C(0x16f)])):b[C(0x14d)]='');if(this[C(0x145)][C(0x17b)]){if(!b[C(0x150)]){const n={'type':C(0x12c),'name':'colLocAnswer','message':'Location','choices':[{'name':'Client','value':C(0x176)},{'name':C(0x13f),'value':C(0x121)},{'name':C(0x159),'value':C(0x14a)}]},{colLocAnswer:o}=await Actions[C(0x145)](n);o?b[C(0x150)]=o:b[C(0x150)]=C(0x14a);}const m=['both','client',C(0x121)];if(!m[C(0x13d)](b[C(0x150)])){Log[C(0x14b)](C(0x151));throw new UsageError();}switch(b[C(0x150)]){case'both':b[C(0x11b)]='lib';break;case C(0x121):b[C(0x11b)]='server';break;case C(0x176):b[C(0x11b)]=C(0x176);break;default:b[C(0x11b)]='';}}k(this[C(0x178)][C(0x14e)](this,f,b));}catch(p){console['error'](p);}});});}[a55u(0x174)](){const D=a55u;this['tableList'](this[D(0x11d)]);}[a55u(0x123)](a){const E=a55u,b=new a55f({});b['push'](['Name','Alias',E(0x138)]),a[E(0x17a)]()[E(0x155)](c=>{const F=E;b[F(0x142)]([c[F(0x175)],c[F(0x141)](),c[F(0x136)]()]);}),Log[E(0x164)](b[E(0x12b)]());}}
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)]());}}