@maka/maka-cli 4.5.1 → 4.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/aws/_index.js +1 -1
  5. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  6. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  7. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/build/_index.js +1 -1
  17. package/bundle/obf/src/commands/build/build.js +1 -1
  18. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/create.js +1 -1
  20. package/bundle/obf/src/commands/debug.js +1 -1
  21. package/bundle/obf/src/commands/deploy.js +1 -1
  22. package/bundle/obf/src/commands/game/_index.js +1 -1
  23. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  24. package/bundle/obf/src/commands/game/play.command.js +1 -1
  25. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  26. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/generate.js +1 -1
  29. package/bundle/obf/src/commands/get/_index.js +1 -1
  30. package/bundle/obf/src/commands/get/get.command.js +1 -1
  31. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  34. package/bundle/obf/src/commands/help.js +1 -1
  35. package/bundle/obf/src/commands/install.js +1 -1
  36. package/bundle/obf/src/commands/jsdoc.js +1 -1
  37. package/bundle/obf/src/commands/lint.js +1 -1
  38. package/bundle/obf/src/commands/login.js +1 -1
  39. package/bundle/obf/src/commands/logout.js +1 -1
  40. package/bundle/obf/src/commands/logs.js +1 -1
  41. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  42. package/bundle/obf/src/commands/murder.js +1 -1
  43. package/bundle/obf/src/commands/proxy.js +1 -1
  44. package/bundle/obf/src/commands/reconfig.js +1 -1
  45. package/bundle/obf/src/commands/run/_index.js +1 -1
  46. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  47. package/bundle/obf/src/commands/run/run.command.js +1 -1
  48. package/bundle/obf/src/commands/set/_index.js +1 -1
  49. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  50. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  51. package/bundle/obf/src/commands/set/set.command.js +1 -1
  52. package/bundle/obf/src/commands/ssh.js +1 -1
  53. package/bundle/obf/src/commands/ssl.js +1 -1
  54. package/bundle/obf/src/commands/test.js +1 -1
  55. package/bundle/obf/src/commands/version.js +1 -1
  56. package/bundle/obf/src/error.js +1 -1
  57. package/bundle/obf/src/generator.js +1 -1
  58. package/bundle/obf/src/generators/_index.js +1 -1
  59. package/bundle/obf/src/generators/api.js +1 -1
  60. package/bundle/obf/src/generators/collection.js +1 -1
  61. package/bundle/obf/src/generators/component.js +1 -1
  62. package/bundle/obf/src/generators/config.js +1 -1
  63. package/bundle/obf/src/generators/dbc.js +1 -1
  64. package/bundle/obf/src/generators/dockerfile.js +1 -1
  65. package/bundle/obf/src/generators/hook.js +1 -1
  66. package/bundle/obf/src/generators/kit.js +1 -1
  67. package/bundle/obf/src/generators/layout.js +1 -1
  68. package/bundle/obf/src/generators/maka.gen.js +1 -1
  69. package/bundle/obf/src/generators/methods.js +1 -1
  70. package/bundle/obf/src/generators/package.js +1 -1
  71. package/bundle/obf/src/generators/page.js +1 -1
  72. package/bundle/obf/src/generators/publish.js +1 -1
  73. package/bundle/obf/src/generators/route.js +1 -1
  74. package/bundle/obf/src/generators/service.js +1 -1
  75. package/bundle/obf/src/generators/services/_index.js +1 -1
  76. package/bundle/obf/src/generators/services/openssl.js +1 -1
  77. package/bundle/obf/src/generators/services/translation.js +1 -1
  78. package/bundle/obf/src/maka.js +1 -1
  79. package/bundle/obf/src/tool.js +1 -1
  80. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  81. package/bundle/obf/src/tools/actions/actions.test.js +1 -1
  82. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  83. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  84. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  85. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  86. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  87. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  88. package/bundle/obf/src/tools/https/https.class.js +1 -1
  89. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  90. package/bundle/obf/src/tools/log/log.class.js +1 -1
  91. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  92. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  93. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  94. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  95. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  96. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  97. package/package.json +1 -1
@@ -1 +1 @@
1
- const a36z=a36d;(function(a,b){const w=a36d,c=a();while(!![]){try{const d=-parseInt(w(0xea))/0x1*(parseInt(w(0xfd))/0x2)+-parseInt(w(0xd0))/0x3*(-parseInt(w(0xfa))/0x4)+parseInt(w(0xd8))/0x5+parseInt(w(0xef))/0x6*(-parseInt(w(0xff))/0x7)+-parseInt(w(0xf6))/0x8+parseInt(w(0xf5))/0x9*(-parseInt(w(0xd3))/0xa)+parseInt(w(0x10a))/0xb*(parseInt(w(0xd6))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x52564));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a36d;if(c){const e=c[x(0xeb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const y=a36d;return a36a['toString']()[y(0xe8)]('(((.+)+)+)+$')['toString']()[y(0x102)](a36a)[y(0xe8)]('(((.+)+)+)+$');});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';function a36d(a,b){const c=a36c();return a36d=function(d,e){d=d-0xd0;let f=c[d];return f;},a36d(a,b);}function a36c(){const B=['50AeDCQd','Logging\x20in','create','78012MrjuTP','cacert','1801990OCRnkQ','authToken','update','/api/v1/login','\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','/api/v1/status','post','password','Using\x20CA\x20Cert\x20','success','sha256','maka\x20login\x20<opts>','isFile','notice','Preflight\x20Check','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','search','ask','1309WKMEVP','apply','cert','login','env','40758HtkdAS','getGlobalConfig','Email:','email','start','failure','194319jJpzKv','2681104CGoyfo','header','Logging\x20into\x20https://','https://','264aMTOLz','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','Password:\x20','98jEgYWq','parse','385DMmNxh','localhost','assign','constructor','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','debug','www.maka-cli.com','True','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','error','fsi','869LTnXHa','MAKA_DEV','get','15642aBeMIk','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka'];a36c=function(){return B;};return a36c();}import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a36z(0xee)][a36z(0x10b)]===a36z(0x106)?a36z(0x100):a36z(0x105);Command[a36z(0xd5)]({'name':a36z(0xed),'validOpts':['email','password','help','cacert',a36z(0x104)],'usage':a36z(0xe3),'maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a36z(0xd2),'examples':['maka\x20login',a36z(0x107)]},async function(a,b){const A=a36z,c=Log['withSpinner']();try{let d='';b[A(0xd7)]&&(this[A(0x109)][A(0xe4)](b[A(0xd7)])?(d=b[A(0xd7)],Log[A(0xe5)](A(0xe0)+d)):Log[A(0x108)](A(0xe7)+d));const f=await this['fsi'][A(0xf0)]();if(f[A(0xec)]){if(this[A(0x109)][A(0xe4)](f[A(0xec)]))d=f[A(0xec)];else{Log[A(0x108)](A(0xd1)+d);return;}}Log[A(0xf7)](A(0xf8)+hostname);const g={'url':'https://'+hostname+A(0xdd)};b[A(0xd7)]&&Object[A(0x101)](g,{'cert':d});c[A(0xf3)](A(0xe6));const {statusCode:h}=await HTTPS[A(0x10c)](g);if(h===0x198){c[A(0xf4)]();throw A(0xfb);}if(h!==0xc8){c[A(0xf4)]();throw A(0xf9)+hostname+A(0xdc);}c[A(0xe1)]();const i=b['email']?b[A(0xf2)]:await Actions[A(0xe9)](A(0xf1)),j=b[A(0xdf)]?b[A(0xdf)]:await Actions[A(0xe9)](A(0xfc),!![]),k=a36e['md'][A(0xe2)][A(0xd5)]();k[A(0xda)](j);const l=k['digest']()['toHex'](),m={'hostname':hostname,'path':A(0xdb),'data':{'email':i,'password':l,'hashed':!![]}};b[A(0xd7)]&&Object[A(0x101)](m,{'cert':d});c[A(0xf3)](A(0xd4));const {data:n,statusCode:o}=await HTTPS['post'](m);if(o===0x198){c[A(0xf4)]('\x0a');throw A(0x103)+hostname;}const p=JSON[A(0xfe)](n);if(p[A(0xd9)]){const q={'hostname':hostname,'path':'/api/v1/encodeJwt','headers':{'x-auth-token':p['authToken']},'data':{}};b['cacert']&&Object[A(0x101)](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS[A(0xde)](q),{token:t}=JSON[A(0xfe)](r);if(s===0x198)throw A(0x103)+hostname;const u={'token':p,'hash':t};this['fsi']['setGlobalConfig'](u);}else{c['failure']();throw p;}c[A(0xe1)]();}catch(v){c['failure'](),console[A(0x108)](v),process['exit'](0x0);}});
1
+ const a36z=a36d;function a36c(){const B=['678538erIWFm','www.maka-cli.com','post','1660620lFrpzm','isFile','email','123QypiwT','password','5IIKfkz','91WWLpmB','get','(((.+)+)+)+$','constructor','header','create','login','/api/v1/encodeJwt','297hPJuju','assign','MAKA_DEV','https://','getGlobalConfig','toString','env','success','3666690FFkJCY','withSpinner','help','9NWfwYE','Logging\x20into\x20https://','failure','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','cacert','/api/v1/status','digest','39768YmRHns','688536lhRiOX','setGlobalConfig','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','fsi','exit','\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','localhost','2939068DddazG','Email:','authToken','notice','start','/api/v1/login','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','2110AeiLss','search','ask','Preflight\x20Check','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','error','toHex','cert','Logging\x20in','16lftXsY','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','apply','Using\x20CA\x20Cert\x20','maka\x20login','parse'];a36c=function(){return B;};return a36c();}(function(a,b){const w=a36d,c=a();while(!![]){try{const d=-parseInt(w(0x1fa))/0x1*(-parseInt(w(0x1da))/0x2)+-parseInt(w(0x1ef))/0x3*(parseInt(w(0x1ca))/0x4)+-parseInt(w(0x1f1))/0x5*(-parseInt(w(0x1ec))/0x6)+parseInt(w(0x1e9))/0x7*(-parseInt(w(0x1e3))/0x8)+parseInt(w(0x1c3))/0x9*(parseInt(w(0x1c0))/0xa)+parseInt(w(0x1d3))/0xb+parseInt(w(0x1cb))/0xc*(-parseInt(w(0x1f2))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x35e9a));const a36b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a36d;if(c){const e=c[x(0x1e5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){const y=a36d;return a36a[y(0x1bd)]()['search'](y(0x1f4))[y(0x1bd)]()[y(0x1f5)](a36a)[y(0x1db)](y(0x1f4));});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-0x1bc;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[a36z(0x1be)][a36z(0x1fc)]==='True'?a36z(0x1d2):a36z(0x1ea);Command[a36z(0x1f7)]({'name':a36z(0x1f8),'validOpts':[a36z(0x1ee),'password',a36z(0x1c2),'cacert','debug'],'usage':a36z(0x1e7),'maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a36z(0x1e4),'examples':[a36z(0x1e7),a36z(0x1c6)]},async function(a,b){const A=a36z,c=Log[A(0x1c1)]();try{let d='';b[A(0x1c7)]&&(this[A(0x1ce)][A(0x1ed)](b['cacert'])?(d=b[A(0x1c7)],Log[A(0x1d6)](A(0x1e6)+d)):Log['error'](A(0x1de)+d));const f=await this[A(0x1ce)][A(0x1bc)]();if(f[A(0x1e1)]){if(this['fsi'][A(0x1ed)](f[A(0x1e1)]))d=f['cert'];else{Log[A(0x1df)](A(0x1d9)+d);return;}}Log[A(0x1f6)](A(0x1c4)+hostname);const g={'url':A(0x1fd)+hostname+A(0x1c8)};b[A(0x1c7)]&&Object[A(0x1fb)](g,{'cert':d});c[A(0x1d7)](A(0x1dd));const {statusCode:h}=await HTTPS[A(0x1f3)](g);if(h===0x198){c['failure']();throw A(0x1cd);}if(h!==0xc8){c[A(0x1c5)]();throw A(0x1fd)+hostname+A(0x1d0);}c[A(0x1bf)]();const i=b['email']?b[A(0x1ee)]:await Actions[A(0x1dc)](A(0x1d4)),j=b[A(0x1f0)]?b[A(0x1f0)]:await Actions[A(0x1dc)]('Password:\x20',!![]),k=a36e['md']['sha256'][A(0x1f7)]();k['update'](j);const l=k[A(0x1c9)]()[A(0x1e0)](),m={'hostname':hostname,'path':A(0x1d8),'data':{'email':i,'password':l,'hashed':!![]}};b[A(0x1c7)]&&Object['assign'](m,{'cert':d});c[A(0x1d7)](A(0x1e2));const {data:n,statusCode:o}=await HTTPS[A(0x1eb)](m);if(o===0x198){c[A(0x1c5)]('\x0a');throw A(0x1d1)+hostname;}const p=JSON[A(0x1e8)](n);if(p[A(0x1d5)]){const q={'hostname':hostname,'path':A(0x1f9),'headers':{'x-auth-token':p[A(0x1d5)]},'data':{}};b['cacert']&&Object[A(0x1fb)](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS[A(0x1eb)](q),{token:t}=JSON[A(0x1e8)](r);if(s===0x198)throw A(0x1d1)+hostname;const u={'token':p,'hash':t};this[A(0x1ce)][A(0x1cc)](u);}else{c[A(0x1c5)]();throw p;}c[A(0x1bf)]();}catch(v){c[A(0x1c5)](),console['error'](v),process[A(0x1cf)](0x0);}});
@@ -1 +1 @@
1
- const a37o=a37d;(function(a,b){const l=a37d,c=a();while(!![]){try{const d=-parseInt(l(0x1ce))/0x1*(parseInt(l(0x1e6))/0x2)+parseInt(l(0x1e9))/0x3+-parseInt(l(0x1d2))/0x4*(parseInt(l(0x1c0))/0x5)+parseInt(l(0x1ba))/0x6*(-parseInt(l(0x1c4))/0x7)+-parseInt(l(0x1e3))/0x8*(-parseInt(l(0x1d6))/0x9)+-parseInt(l(0x1d8))/0xa+-parseInt(l(0x1bd))/0xb*(-parseInt(l(0x1d4))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xabbf4));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a37d;if(c){const e=c[m(0x1db)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const n=a37d;return a37a['toString']()[n(0x1d7)]('(((.+)+)+)+$')['toString']()[n(0x1ea)](a37a)[n(0x1d7)](n(0x1e0));});a37a();import{Command}from'../command.js';function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x1b7;let f=c[d];return f;},a37d(a,b);}import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a37o(0x1cb)][a37o(0x1e1)]===a37o(0x1cc)?a37o(0x1b9):a37o(0x1df);Command['create']({'name':a37o(0x1d0),'validOpts':[a37o(0x1c3)],'usage':a37o(0x1e4),'maxArgLength':0x2,'shortDesc':a37o(0x1e5),'disableAuthCheck':!![],'examples':['maka\x20logout']},async function(a,b){const p=a37o,c=Log[p(0x1c6)]();try{let d='';b[p(0x1c3)]&&(this[p(0x1e7)]['isFile'](b[p(0x1c3)])?(d=b['cacert'],Log[p(0x1b8)](p(0x1c5)+d)):Log[p(0x1cf)](p(0x1c8)+d));const f=await this[p(0x1e7)][p(0x1e2)]();if(f['cert']){if(this[p(0x1e7)]['isFile'](f[p(0x1dd)]))d=f['cert'];else{c[p(0x1d1)]();throw Log[p(0x1cf)]('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+d);}}Log[p(0x1d9)](p(0x1de)+hostname);const g={'url':p(0x1bb)+hostname+p(0x1c2)};b[p(0x1c3)]&&Object[p(0x1bc)](g,{'cert':d});c[p(0x1e8)](p(0x1bf));const {statusCode:h}=await HTTPS['get'](g);if(h===0x198){c[p(0x1d1)]();throw p(0x1d3);}c['success']();if(h!==0xc8){c['failure']();throw p(0x1d5);}if(!f?.[p(0x1dc)]?.[p(0x1be)])throw Log['error'](p(0x1c7));c[p(0x1e8)](p(0x1da));const i={'hostname':hostname,'path':p(0x1cd),'data':{},'headers':{'x-auth-token':f['token'][p(0x1be)]}};b[p(0x1c3)]&&Object[p(0x1bc)](i,{'cert':d});const {statusCode:j}=await HTTPS[p(0x1c9)](i);if(j===0x198){c[p(0x1d1)]('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}this[p(0x1e7)][p(0x1ca)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[p(0x1b7)]();}catch(k){k&&console[p(0x1cf)](k),process[p(0x1c1)](0x0);}});function a37c(){const q=['Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','post','setGlobalConfig','env','True','/api/v1/logoutAll','21MNPPYW','error','logout','failure','8248gfCJiO','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','1164vcBcFu','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','449505hdPocV','search','6703780btBmdF','header','Logging\x20out','apply','token','cert','Logging\x20out\x20of\x20https://','www.maka-cli.com','(((.+)+)+)+$','MAKA_DEV','getGlobalConfig','200EGBBIv','maka\x20logout\x20<opts>','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','85510NRuKRu','fsi','start','2370837aOppIe','constructor','success','notice','localhost','12NyxcTe','https://','assign','57497IlnXrr','authToken','Preflight\x20Check','310fEKeQD','exit','/api/v1/status','cacert','512295hOgKlF','Using\x20CA\x20Cert\x20','withSpinner'];a37c=function(){return q;};return a37c();}
1
+ const a37o=a37d;(function(a,b){const l=a37d,c=a();while(!![]){try{const d=-parseInt(l(0x104))/0x1*(parseInt(l(0x107))/0x2)+-parseInt(l(0x132))/0x3*(parseInt(l(0x108))/0x4)+-parseInt(l(0x12f))/0x5*(-parseInt(l(0x116))/0x6)+-parseInt(l(0x103))/0x7+-parseInt(l(0x113))/0x8*(parseInt(l(0x12e))/0x9)+-parseInt(l(0x118))/0xa+parseInt(l(0x10a))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xc497b));const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a37d;if(c){const e=c[m(0x10d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const n=a37d;return a37a[n(0x12b)]()[n(0x106)](n(0x123))['toString']()[n(0x129)](a37a)[n(0x106)]('(((.+)+)+)+$');});function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x103;let f=c[d];return f;},a37d(a,b);}a37a();import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';function a37c(){const q=['env','45659691DtHlJV','get','Preflight\x20Check','apply','/api/v1/status','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','https://','getGlobalConfig','7784152NEUThU','post','assign','1944uUqnYO','authToken','1886380GHpTCE','isFile','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','error','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','exit','fsi','failure','MAKA_DEV','header','/api/v1/logoutAll','(((.+)+)+)+$','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','withSpinner','cacert','cert','setGlobalConfig','constructor','maka\x20logout','toString','start','success','9KAFLbQ','3420bfHYLX','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','www.maka-cli.com','39AZkNiz','localhost','486360QIjGKu','1wkjXlm','token','search','2682740GVwCzS','306076fBYVCr'];a37c=function(){return q;};return a37c();}const hostname=process[a37o(0x109)][a37o(0x120)]==='True'?a37o(0x133):a37o(0x131);Command['create']({'name':'logout','validOpts':['cacert'],'usage':a37o(0x12a),'maxArgLength':0x2,'shortDesc':a37o(0x11c),'disableAuthCheck':!![],'examples':[a37o(0x12a)]},async function(a,b){const p=a37o,c=Log[p(0x125)]();try{let d='';b[p(0x126)]&&(this[p(0x11e)][p(0x119)](b[p(0x126)])?(d=b[p(0x126)],Log['notice']('Using\x20CA\x20Cert\x20'+d)):Log[p(0x11b)](p(0x11a)+d));const f=await this[p(0x11e)][p(0x112)]();if(f[p(0x127)]){if(this[p(0x11e)][p(0x119)](f['cert']))d=f[p(0x127)];else{c['failure']();throw Log[p(0x11b)](p(0x130)+d);}}Log[p(0x121)]('Logging\x20out\x20of\x20https://'+hostname);const g={'url':p(0x111)+hostname+p(0x10e)};b[p(0x126)]&&Object[p(0x115)](g,{'cert':d});c[p(0x12c)](p(0x10c));const {statusCode:h}=await HTTPS[p(0x10b)](g);if(h===0x198){c[p(0x11f)]();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}c['success']();if(h!==0xc8){c[p(0x11f)]();throw p(0x10f);}if(!f?.[p(0x105)]?.[p(0x117)])throw Log['error'](p(0x124));c[p(0x12c)]('Logging\x20out');const i={'hostname':hostname,'path':p(0x122),'data':{},'headers':{'x-auth-token':f[p(0x105)][p(0x117)]}};b[p(0x126)]&&Object[p(0x115)](i,{'cert':d});const {statusCode:j}=await HTTPS[p(0x114)](i);if(j===0x198){c[p(0x11f)]('\x0a');throw p(0x110);}this[p(0x11e)][p(0x128)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[p(0x12d)]();}catch(k){k&&console[p(0x11b)](k),process[p(0x11d)](0x0);}});
@@ -1 +1 @@
1
- const a38k=a38d;(function(a,b){const h=a38d,c=a();while(!![]){try{const d=parseInt(h(0x1ff))/0x1+-parseInt(h(0x203))/0x2*(-parseInt(h(0x206))/0x3)+-parseInt(h(0x1f0))/0x4*(-parseInt(h(0x1f9))/0x5)+parseInt(h(0x1f6))/0x6+parseInt(h(0x1fb))/0x7+parseInt(h(0x205))/0x8+-parseInt(h(0x1f2))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xa58c0));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a38d;if(c){const e=c[i(0x202)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const j=a38d;return a38a['toString']()[j(0x201)](j(0x1f3))[j(0x1fe)]()[j(0x200)](a38a)['search'](j(0x1f3));});a38a();import a38e from'fs';import a38f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';function a38c(){const m=['fsi','3948702iRNSMZ','maka\x20l\x20-e\x20p','maka\x20logs\x20--env\x20dev','3485095hcwXop','ssh.json','4700710DYksrL','create','env','toString','881799dymIRA','constructor','search','apply','92MWkfkP','maka\x20logs\x20--env\x20staging','6586272mqfglm','5322KyizLY','log','assign','maka\x20logs\x20--env\x20prod','getConfigPath','pm2\x20logs','4tmZxCW','logs','28217457ThozRW','(((.+)+)+)+$','View\x20the\x20PM2\x20logs'];a38c=function(){return m;};return a38c();}function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x1eb;let f=c[d];return f;},a38d(a,b);}Command[a38k(0x1fc)]({'name':a38k(0x1f1),'aliases':['l',a38k(0x1eb)],'usage':a38k(0x1ed),'requiredOpts':[a38k(0x1fd)],'mustBeInMakaProject':!![],'validOpts':[''],'shortDesc':a38k(0x1f4),'examples':[a38k(0x1f8),a38k(0x204),a38k(0x1f7)]},function(a,b){const l=a38k,c=l(0x1ef),d=this[l(0x1f5)][l(0x1ee)](b['env']),e=a38f['join'](d,l(0x1fa)),f=a38e['readFileSync'](e),g=JSON['parse'](f[l(0x1fe)]());Object[l(0x1ec)](g,{'env':d}),SSH['sshSync'](c,g,{'tty':!![],'verbose':!![]});});
1
+ const a38k=a38d;(function(a,b){const h=a38d,c=a();while(!![]){try{const d=-parseInt(h(0x128))/0x1+-parseInt(h(0x129))/0x2+parseInt(h(0x133))/0x3+-parseInt(h(0x11d))/0x4*(parseInt(h(0x11e))/0x5)+parseInt(h(0x126))/0x6+parseInt(h(0x12e))/0x7*(-parseInt(h(0x11b))/0x8)+parseInt(h(0x12d))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0xdb5ea));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a38d;if(c){const e=c[i(0x12b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const j=a38d;return a38a['toString']()['search'](j(0x130))[j(0x134)]()[j(0x11c)](a38a)['search'](j(0x130));});a38a();import a38e from'fs';import a38f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x11b;let f=c[d];return f;},a38d(a,b);}Command[a38k(0x122)]({'name':a38k(0x120),'aliases':['l','log'],'usage':a38k(0x124),'requiredOpts':[a38k(0x125)],'mustBeInMakaProject':!![],'validOpts':[''],'shortDesc':a38k(0x12a),'examples':[a38k(0x132),a38k(0x131),a38k(0x135)]},function(a,b){const l=a38k,c=l(0x12f),d=this[l(0x123)]['getConfigPath'](b['env']),e=a38f[l(0x121)](d,l(0x12c)),f=a38e['readFileSync'](e),g=JSON[l(0x11f)](f[l(0x134)]());Object[l(0x127)](g,{'env':d}),SSH['sshSync'](c,g,{'tty':!![],'verbose':!![]});});function a38c(){const m=['ssh.json','14744124IyNyGu','7eSHhHC','pm2\x20logs','(((.+)+)+)+$','maka\x20logs\x20--env\x20staging','maka\x20logs\x20--env\x20dev','1470618GtLAbx','toString','maka\x20l\x20-e\x20p','13843024iLLebJ','constructor','1047188XAkGRq','5htsViO','parse','logs','join','create','fsi','maka\x20logs','env','9907782cvYRmP','assign','509055XWNZyM','759942ExyoYO','View\x20the\x20PM2\x20logs','apply'];a38c=function(){return m;};return a38c();}
@@ -1 +1 @@
1
- const a39j=a39d;function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x1cd;let f=c[d];return f;},a39d(a,b);}(function(a,b){const g=a39d,c=a();while(!![]){try{const d=parseInt(g(0x1df))/0x1+parseInt(g(0x1cf))/0x2*(parseInt(g(0x1ce))/0x3)+parseInt(g(0x1db))/0x4*(parseInt(g(0x1d9))/0x5)+-parseInt(g(0x1e2))/0x6*(parseInt(g(0x1d2))/0x7)+-parseInt(g(0x1da))/0x8+parseInt(g(0x1dd))/0x9+-parseInt(g(0x1d7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x622fd));const a39b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a39d;if(c){const e=c[h(0x1d6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){const i=a39d;return a39a[i(0x1d1)]()['search']('(((.+)+)+)+$')[i(0x1d1)]()[i(0x1d4)](a39a)[i(0x1e4)](i(0x1d5));});a39a();import{Command}from'../command.js';const Maka=new Command({'name':'maka','minArgLength':0x1,'shortDesc':a39j(0x1e0),'validOpts':[],'usage':a39j(0x1e3),'disableAuthCheck':!![],'examples':[a39j(0x1d8),'maka\x20install\x20meteor','maka\x20create\x20Todo','maka\x20run'],'description':a39j(0x1d0)},async function(a,b){const k=a39j;try{const c=a[0x0],d=this[k(0x1dc)](c);d?this[k(0x1d3)](c,a['slice'](0x1),b):this[k(0x1de)][k(0x1cd)]();}catch(f){console['error'](f),process[k(0x1e1)](0x1);}});export default Maka;function a39c(){const l=['maka\x20--help','15CZONNr','1314440YYKZry','14020GuyheQ','findSubCommand','209628YxUjPl','fsi','732838hvNnCt','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','exit','768162EPuqtG','maka\x20<command>\x20[<args>]\x20[<opts>]','search','maybeProxyCommandToMeteor','56172KnTwVH','48IFklcy','\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','toString','28LvaSaI','runSubCommand','constructor','(((.+)+)+)+$','apply','1374350ZQirJi'];a39c=function(){return l;};return a39c();}
1
+ const a39i=a39d;(function(a,b){const g=a39d,c=a();while(!![]){try{const d=-parseInt(g(0x1a0))/0x1+parseInt(g(0x19f))/0x2+parseInt(g(0x1a3))/0x3*(parseInt(g(0x1a9))/0x4)+-parseInt(g(0x1a8))/0x5+-parseInt(g(0x1a5))/0x6+-parseInt(g(0x194))/0x7+parseInt(g(0x198))/0x8*(parseInt(g(0x196))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0xc382b));function a39c(){const k=['toString','2279378fRCXig','956198PJIMWx','findSubCommand','constructor','2630658ffCMfm','maka\x20run','5848548WccilA','(((.+)+)+)+$','exit','4810580slXaRy','4SMFzFQ','maka\x20<command>\x20[<args>]\x20[<opts>]','maka\x20install\x20meteor','9187563PPvfGN','runSubCommand','26908353XBucqI','maka','8hoSPDF','search','maka\x20create\x20Todo','fsi','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','maka\x20--help'];a39c=function(){return k;};return a39c();}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(0x19e)]()[h(0x1a2)](a39a)[h(0x199)](h(0x1a6));});function a39d(a,b){const c=a39c();return a39d=function(d,e){d=d-0x192;let f=c[d];return f;},a39d(a,b);}a39a();import{Command}from'../command.js';const Maka=new Command({'name':a39i(0x197),'minArgLength':0x1,'shortDesc':a39i(0x19c),'validOpts':[],'usage':a39i(0x192),'disableAuthCheck':!![],'examples':[a39i(0x19d),a39i(0x193),a39i(0x19a),a39i(0x1a4)],'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(0x1a1)](c);d?this[j(0x195)](c,a['slice'](0x1),b):this[j(0x19b)]['maybeProxyCommandToMeteor']();}catch(f){console['error'](f),process[j(0x1a7)](0x1);}});export default Maka;
@@ -1 +1 @@
1
- function a40d(a,b){var c=a40c();return a40d=function(d,e){d=d-0x16e;var f=c[d];return f;},a40d(a,b);}var a40h=a40d;(function(a,b){var f=a40d,c=a();while(!![]){try{var d=parseInt(f(0x176))/0x1*(-parseInt(f(0x17f))/0x2)+parseInt(f(0x17e))/0x3+parseInt(f(0x173))/0x4*(parseInt(f(0x170))/0x5)+parseInt(f(0x183))/0x6*(parseInt(f(0x181))/0x7)+parseInt(f(0x180))/0x8+-parseInt(f(0x17c))/0x9+-parseInt(f(0x16f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x2f455));var a40b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){var g=a40d;return a40a['toString']()[g(0x182)](g(0x171))[g(0x174)]()[g(0x178)](a40a)[g(0x182)]('(((.+)+)+)+$');});a40a();import{Command}from'../command.js';Command[a40h(0x172)]({'name':a40h(0x177),'usage':a40h(0x16e),'maxArgLength':0x1,'shortDesc':a40h(0x17a),'validOpts':[]},async function(){var i=a40h;try{console[i(0x175)](i(0x17d),'font-family:\x20monospace');}catch(a){console[i(0x17b)](a),process[i(0x179)](0x0);}});function a40c(){var j=['toString','log','7RFAkAO','murder','constructor','exit','Murrrrderrrrr','error','3418578gziVmw','%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','1137015Rwwgjx','35936GneAhX','2314200VDpSuL','7vFyaBu','search','688968jaHeoc','maka\x20murder','4009650pIPRzr','121960qWZEVI','(((.+)+)+)+$','create','52nBLXxh'];a40c=function(){return j;};return a40c();}
1
+ var a40h=a40d;(function(a,b){var f=a40d,c=a();while(!![]){try{var d=parseInt(f(0x122))/0x1+-parseInt(f(0x125))/0x2*(parseInt(f(0x120))/0x3)+-parseInt(f(0x11f))/0x4*(-parseInt(f(0x12d))/0x5)+parseInt(f(0x12a))/0x6*(parseInt(f(0x12e))/0x7)+parseInt(f(0x126))/0x8+-parseInt(f(0x11b))/0x9*(parseInt(f(0x11e))/0xa)+-parseInt(f(0x121))/0xb*(-parseInt(f(0x119))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x815ce));var a40b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){var g=a40d;return a40a[g(0x128)]()['search'](g(0x129))[g(0x128)]()[g(0x123)](a40a)[g(0x11c)]('(((.+)+)+)+$');});a40a();function a40d(a,b){var c=a40c();return a40d=function(d,e){d=d-0x118;var f=c[d];return f;},a40d(a,b);}import{Command}from'../command.js';function a40c(){var j=['exit','maka\x20murder','216110qNnGtY','1568RsiRAO','create','font-family:\x20monospace','1110948qeJNDe','%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','9GCwzXn','search','murder','10059570wdYRBJ','12aXjimE','75vKhsyy','44GrOkEA','813405gWNeXO','constructor','Murrrrderrrrr','48460frXiRa','6568176DLuQjr','error','toString','(((.+)+)+)+$','192EGezPi'];a40c=function(){return j;};return a40c();}Command[a40h(0x12f)]({'name':a40h(0x11d),'usage':a40h(0x12c),'maxArgLength':0x1,'shortDesc':a40h(0x124),'validOpts':[]},async function(){var i=a40h;try{console['log'](i(0x11a),i(0x118));}catch(a){console[i(0x127)](a),process[i(0x12b)](0x0);}});
@@ -1 +1 @@
1
- const a41p=a41d;(function(a,b){const n=a41d,c=a();while(!![]){try{const d=-parseInt(n(0xde))/0x1*(parseInt(n(0xc5))/0x2)+-parseInt(n(0xbf))/0x3*(-parseInt(n(0xe0))/0x4)+-parseInt(n(0xc1))/0x5*(-parseInt(n(0xc0))/0x6)+-parseInt(n(0xe2))/0x7+-parseInt(n(0xbe))/0x8+-parseInt(n(0xdd))/0x9*(parseInt(n(0xd0))/0xa)+parseInt(n(0xdb))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0x20b30));const a41b=(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;};}()),a41a=a41b(this,function(){const o=a41d;return a41a[o(0xbd)]()[o(0xd7)](o(0xb6))[o(0xbd)]()['constructor'](a41a)[o(0xd7)]('(((.+)+)+)+$');});a41a();import a41e from'fs';import a41f from'path';import a41g from'http-proxy';function a41c(){const r=['1160160URLkul','5wCQVVu','readFileSync','maka\x20proxy','=>\x20SSL\x20Proxy\x20forwarding\x20','568RmrGjF','help','.key','genSSC','appName','.crt','getProjectConfig','create','join','utf8','genCSR','805170kXqOYA','findGenerator','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','fsi','localhost','isFile','proxy','search','bright','getConfigPath','maka\x20proxy\x20--target-host\x20http://192.168.1.20','1201387pYSSla','targetPort','9AcpVBk','115GJWYIz','targetHost','35572tksCRE','listen','949977NVQFyT','error','(((.+)+)+)+$','listenPort','maka\x20proxy\x20<options>','\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','createProxyServer','\x20to\x20','sslconfig','toString','140608zxyUgl','33qKCdQj'];a41c=function(){return r;};return a41c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0xb5;let f=c[d];return f;},a41d(a,b);}import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a41h from'../generators/maka.gen.js';Command[a41p(0xcc)]({'name':a41p(0xd6),'usage':a41p(0xb8),'mustBeInMakaProject':!![],'validOpts':[a41p(0xc6),a41p(0xdc),'listenPort',a41p(0xdf)],'maxArgLength':0x1,'shortDesc':'Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','description':a41p(0xb9),'examples':[a41p(0xc3),'maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000',a41p(0xda)]},async function(a,b){const q=a41p,c=this[q(0xd3)][q(0xcb)](),d='development',e=this[q(0xd3)][q(0xd9)](d),f=this[q(0xd3)]['mkKeysDir']({'configPath':e}),g=b[q(0xdc)]?b[q(0xdc)]:0xbb8,h=b[q(0xb7)]?b['listenPort']:0xd73,i=b[q(0xdf)]?b[q(0xdf)]:q(0xd4),j=a41f[q(0xcd)](f,c[q(0xc9)]+q(0xc7)),k=a41f['join'](f,c[q(0xc9)]+q(0xca));if(!this[q(0xd3)][q(0xd5)](j)||!this[q(0xd3)][q(0xd5)](k)){const m=a41h[q(0xd1)](q(0xbc));m&&await m['invoke']([q(0xbc)],{'env':d}),SSL[q(0xcf)]({'keyName':c['appName']+q(0xc7),'csrName':c[q(0xc9)]+'.csr','cwd':f}),SSL[q(0xc8)]({'keyName':c[q(0xc9)]+q(0xc7),'crtName':c[q(0xc9)]+q(0xca),'cwd':f});}if(g===h){Log[q(0xb5)](q(0xd2));throw new UsageError();}const l={'ssl':{'key':a41e[q(0xc2)](j,q(0xce)),'cert':a41e[q(0xc2)](k,q(0xce))},'target':{'host':i,'port':g},'ws':!![],'xfwd':!![]};a41g[q(0xba)](l)[q(0xe1)](h),Log[q(0xd8)](q(0xc4)+h+q(0xbb)+g);});
1
+ const a41q=a41d;(function(a,b){const n=a41d,c=a();while(!![]){try{const d=-parseInt(n(0x12c))/0x1*(parseInt(n(0x130))/0x2)+-parseInt(n(0x124))/0x3*(parseInt(n(0x125))/0x4)+parseInt(n(0x143))/0x5*(-parseInt(n(0x140))/0x6)+-parseInt(n(0x127))/0x7+-parseInt(n(0x132))/0x8*(-parseInt(n(0x134))/0x9)+-parseInt(n(0x14d))/0xa*(parseInt(n(0x14b))/0xb)+parseInt(n(0x12e))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xb242e));function a41d(a,b){const c=a41c();return a41d=function(d,e){d=d-0x11c;let f=c[d];return f;},a41d(a,b);}const a41b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a41d;if(c){const e=c[o(0x128)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){const p=a41d;return a41a['toString']()[p(0x13f)](p(0x145))[p(0x13b)]()[p(0x14c)](a41a)[p(0x13f)](p(0x145));});a41a();import a41e from'fs';import a41f from'path';import a41g from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a41c(){const s=['error','.csr','targetHost','maka\x20proxy\x20--target-host\x20http://192.168.1.20','createProxyServer','3sMFdte','2063000yqLdGB','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','2688126OXckUR','apply','development','localhost','sslconfig','795943FpBnlV','findGenerator','40008012HeCnmq','isFile','2hUfdHy','listenPort','14720rOjvGC','genCSR','2304iZMedg','.crt','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','targetPort','bright','fsi','join','toString','help','genSSC','=>\x20SSL\x20Proxy\x20forwarding\x20','search','685578fQqKqG','utf8','readFileSync','35rAGAwD','mkKeysDir','(((.+)+)+)+$','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','getConfigPath','appName','create','\x20to\x20','6372641wFbRol','constructor','10MProbR','maka\x20proxy','listen','.key'];a41c=function(){return s;};return a41c();}import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a41h from'../generators/maka.gen.js';Command[a41q(0x149)]({'name':'proxy','usage':a41q(0x11c),'mustBeInMakaProject':!![],'validOpts':[a41q(0x13c),a41q(0x137),a41q(0x131),a41q(0x121)],'maxArgLength':0x1,'shortDesc':a41q(0x126),'description':'\x0a\x20\x20If\x20you\x27re\x20running\x20your\x20Meteor\x20service,\x20and\x20need\x20to\x20stand\x20up\x20an\x20SSL\x0a\x20\x20Proxy,\x20this\x20command\x20will\x20automatically\x20create\x20a\x20key\x20pair\x20for\x20use\x20in\x20an\x20HTTPS\x0a\x20\x20proxy.\x0a\x0a\x20\x20For\x20example,\x20you\x27re\x20running\x20http://localhost:3000\x20with\x20\x22maka\x20run\x22\x20then\x20open\x20a\x20new\x0a\x20\x20terminal\x20and\x20run\x20\x22maka\x20proxy\x22\x20to\x20standup\x20https://localhost:3443.\x0a\x20\x20Then\x20open\x20your\x20browser\x20to\x20that\x20URL\x20(you\x20may\x20need\x20to\x20trust\x20the\x20certificates\x0a\x20\x20because\x20they\x20are\x20self-signed)\x20and\x20you\x27ll\x20have\x20an\x20SSL\x20connection\x20to\x20your\x0a\x20\x20http://localhost:3000.\x0a\x0a\x20\x20To\x20avoid\x20possibly\x20overwriting\x20PKI\x20files\x20in\x20higher\x20environments,\x20\x22maka\x20proxy\x22\x0a\x20\x20will\x20try\x20to\x20only\x20generate\x20/\x20store\x20PKI\x20keys\x20in\x20the\x20development\x20environment.\x0a\x20\x20','examples':[a41q(0x11c),a41q(0x146),a41q(0x122)]},async function(a,b){const r=a41q,c=this[r(0x139)]['getProjectConfig'](),d=r(0x129),e=this[r(0x139)][r(0x147)](d),f=this[r(0x139)][r(0x144)]({'configPath':e}),g=b[r(0x137)]?b['targetPort']:0xbb8,h=b[r(0x131)]?b['listenPort']:0xd73,i=b[r(0x121)]?b['targetHost']:r(0x12a),j=a41f[r(0x13a)](f,c[r(0x148)]+r(0x11e)),k=a41f['join'](f,c[r(0x148)]+'.crt');if(!this['fsi'][r(0x12f)](j)||!this[r(0x139)][r(0x12f)](k)){const m=a41h[r(0x12d)](r(0x12b));m&&await m['invoke']([r(0x12b)],{'env':d}),SSL[r(0x133)]({'keyName':c[r(0x148)]+r(0x11e),'csrName':c[r(0x148)]+r(0x120),'cwd':f}),SSL[r(0x13d)]({'keyName':c[r(0x148)]+r(0x11e),'crtName':c[r(0x148)]+r(0x135),'cwd':f});}if(g===h){Log[r(0x11f)](r(0x136));throw new UsageError();}const l={'ssl':{'key':a41e['readFileSync'](j,'utf8'),'cert':a41e[r(0x142)](k,r(0x141))},'target':{'host':i,'port':g},'ws':!![],'xfwd':!![]};a41g[r(0x123)](l)[r(0x11d)](h),Log[r(0x138)](r(0x13e)+h+r(0x14a)+g);});
@@ -1 +1 @@
1
- const a42p=a42d;(function(a,b){const n=a42d,c=a();while(!![]){try{const d=-parseInt(n(0xd0))/0x1+-parseInt(n(0xd5))/0x2*(-parseInt(n(0xd9))/0x3)+-parseInt(n(0xe8))/0x4+-parseInt(n(0xe0))/0x5*(parseInt(n(0xde))/0x6)+-parseInt(n(0xcf))/0x7*(parseInt(n(0xc3))/0x8)+-parseInt(n(0xd3))/0x9*(-parseInt(n(0xe9))/0xa)+parseInt(n(0xc5))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0xe2fb8));const a42b=(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;};}()),a42a=a42b(this,function(){const o=a42d;return a42a[o(0xc2)]()[o(0xdd)](o(0xc7))[o(0xc2)]()['constructor'](a42a)[o(0xdd)](o(0xc7));});function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0xc0;let f=c[d];return f;},a42d(a,b);}a42a();import a42e from'fs';import a42f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';function a42c(){const r=['search','6rJGssr','env','1413785huLYSL','~/settings.json','pm2.config.js','settings.json','notice','\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','~/pm2.config.js','ssh','7091064sJJxhW','42600cdvFKA','Checking\x20remote\x20host\x20availability','scp','toString','1961648kPCsSe','join','59821421ndXjdU','pm2\x20delete\x20all','(((.+)+)+)+$','maka\x20reconfig\x20--env\x20prod','Reconfigure\x20your\x20deployed\x20applications','ses.json','sshSync','assign','_keys','create','35nhjySx','1788237zHXJCU','uname\x20-a','existsSync','117bHGyPV','readFileSync','1011638EMOfhn','exit','success','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','3pCZPcW','Remote\x20host\x20connection\x20successful','ssh.json','ping'];a42c=function(){return r;};return a42c();}Command[a42p(0xce)]({'name':'reconfig','validOpts':[''],'requiredOpts':[a42p(0xdf)],'mustBeInMakaProject':!![],'usage':a42p(0xc8),'shortDesc':a42p(0xc9),'description':a42p(0xe5),'examples':[a42p(0xc8)]},async function(a,b){const q=a42p;try{const c=this['fsi']['getConfigPath'](b[q(0xdf)]),d=a42f[q(0xc4)](c,q(0xdb)),f=a42e[q(0xd4)](d)[q(0xc2)](),g=JSON['parse'](f);Object[q(0xcc)](g,{'env':c}),Log[q(0xe4)](q(0xc0));const h=SSH[q(0xdc)](q(0xd1),g);if(!h)throw q(0xd8);if(h)Log[q(0xd7)](q(0xda));const i=a42f[q(0xc4)](c,q(0xcd),q(0xca));if(a42e[q(0xd2)](i)){const l={'source':i,'dest':'~/ses.json','verbose':!![]};SSH[q(0xc1)](l,{...g});}const j=a42f[q(0xc4)](c,q(0xe2));SSH[q(0xc1)]({'source':j,'dest':q(0xe6),'verbose':!![]},{...g});const k=a42f[q(0xc4)](c,q(0xe3));SSH['scp']({'source':k,'dest':q(0xe1),'verbose':!![]},{...g}),SSH[q(0xcb)](q(0xc6),g),await SSH[q(0xe7)]('echo\x20\x22\x22\x20&&\x20pm2\x20start\x20pm2.config.js\x20&&\x20echo\x20\x22\x22\x20||\x20echo\x20\x22Cound\x20not\x20find\x20PM2,\x20have\x20you\x20deployed\x20the\x20app\x20yet?\x22',{...g},{'verbose':!![]});}catch(m){console['error'](m),process[q(0xd6)](0x0);}});
1
+ const a42q=a42d;(function(a,b){const n=a42d,c=a();while(!![]){try{const d=parseInt(n(0x131))/0x1*(-parseInt(n(0x142))/0x2)+parseInt(n(0x13d))/0x3+-parseInt(n(0x12a))/0x4+-parseInt(n(0x12b))/0x5*(parseInt(n(0x13f))/0x6)+-parseInt(n(0x139))/0x7+-parseInt(n(0x13c))/0x8*(-parseInt(n(0x128))/0x9)+-parseInt(n(0x130))/0xa*(-parseInt(n(0x127))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x98d9b));const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a42d;if(c){const e=c[o(0x132)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const p=a42d;return a42a[p(0x14f)]()['search'](p(0x146))[p(0x14f)]()[p(0x14a)](a42a)[p(0x134)](p(0x146));});a42a();import a42e from'fs';import a42f from'path';function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x125;let f=c[d];return f;},a42d(a,b);}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a42c(){const s=['sshSync','(((.+)+)+)+$','Reconfigure\x20your\x20deployed\x20applications','ssh','getConfigPath','constructor','notice','reconfig','~/settings.json','readFileSync','toString','ssh.json','scp','error','7078797FGYanY','9zwfxuy','~/ses.json','4172544jjpQBY','295YxfGDl','settings.json','maka\x20reconfig\x20--env\x20prod','~/pm2.config.js','pm2.config.js','20UcQvaD','2yXeOjH','apply','uname\x20-a','search','Remote\x20host\x20connection\x20successful','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','assign','exit','1986033ZSQhdc','join','_keys','7892440HETKya','2344956wicuBJ','env','95058sIpxxn','maka\x20reconfig','Checking\x20remote\x20host\x20availability','167594rODSLk','pm2\x20delete\x20all','create'];a42c=function(){return s;};return a42c();}import{SSH}from'../tools/ssh/ssh.class.js';Command[a42q(0x144)]({'name':a42q(0x14c),'validOpts':[''],'requiredOpts':['env'],'mustBeInMakaProject':!![],'usage':a42q(0x140),'shortDesc':a42q(0x147),'description':'\x0a\x20\x20If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x0a\x20\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.\x0a\x20\x20','examples':[a42q(0x12d)]},async function(a,b){const r=a42q;try{const c=this['fsi'][r(0x149)](b[r(0x13e)]),d=a42f['join'](c,r(0x150)),f=a42e[r(0x14e)](d)[r(0x14f)](),g=JSON['parse'](f);Object[r(0x137)](g,{'env':c}),Log[r(0x14b)](r(0x141));const h=SSH['ping'](r(0x133),g);if(!h)throw r(0x136);if(h)Log['success'](r(0x135));const i=a42f[r(0x13a)](c,r(0x13b),'ses.json');if(a42e['existsSync'](i)){const l={'source':i,'dest':r(0x129),'verbose':!![]};SSH[r(0x125)](l,{...g});}const j=a42f['join'](c,r(0x12f));SSH[r(0x125)]({'source':j,'dest':r(0x12e),'verbose':!![]},{...g});const k=a42f[r(0x13a)](c,r(0x12c));SSH['scp']({'source':k,'dest':r(0x14d),'verbose':!![]},{...g}),SSH[r(0x145)](r(0x143),g),await SSH[r(0x148)]('echo\x20\x22\x22\x20&&\x20pm2\x20start\x20pm2.config.js\x20&&\x20echo\x20\x22\x22\x20||\x20echo\x20\x22Cound\x20not\x20find\x20PM2,\x20have\x20you\x20deployed\x20the\x20app\x20yet?\x22',{...g},{'verbose':!![]});}catch(m){console[r(0x126)](m),process[r(0x138)](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a43d,c=a();while(!![]){try{var d=parseInt(f(0x103))/0x1*(parseInt(f(0x101))/0x2)+-parseInt(f(0x100))/0x3*(parseInt(f(0xfe))/0x4)+-parseInt(f(0xfd))/0x5*(-parseInt(f(0x107))/0x6)+-parseInt(f(0x105))/0x7*(-parseInt(f(0xfb))/0x8)+-parseInt(f(0x108))/0x9+-parseInt(f(0x109))/0xa+parseInt(f(0x104))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x68205));var a43b=(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;};}()),a43a=a43b(this,function(){var g=a43d;return a43a[g(0x102)]()['search'](g(0xfc))['toString']()[g(0xff)](a43a)[g(0x106)](g(0xfc));});function a43c(){var h=['12tpsWgq','toString','95890hMQBrP','12734084jhebtg','74641nJVMVt','search','18rwYAbP','2602692CEOfUo','6039380cnYPNJ','80vFijkv','(((.+)+)+)+$','35790LKnWyU','12fGheKp','constructor','541461jgrbMX'];a43c=function(){return h;};return a43c();}a43a();function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0xfb;var f=c[d];return f;},a43d(a,b);}import'./run.command.js';import'./docker.sub.cmd.js';
1
+ (function(a,b){var f=a43d,c=a();while(!![]){try{var d=parseInt(f(0x97))/0x1*(-parseInt(f(0x9c))/0x2)+-parseInt(f(0xa0))/0x3+-parseInt(f(0x98))/0x4*(-parseInt(f(0x9f))/0x5)+parseInt(f(0x95))/0x6*(parseInt(f(0x92))/0x7)+-parseInt(f(0x9d))/0x8+parseInt(f(0x9b))/0x9*(parseInt(f(0x9e))/0xa)+-parseInt(f(0x93))/0xb*(-parseInt(f(0x9a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x7207b));function a43c(){var i=['39960XZBkMo','19725ApxWOX','2234406Dvavuh','(((.+)+)+)+$','apply','7sSzDNC','374qXBoMK','toString','4856034PRmNiH','constructor','143251buqpqC','284rOTeMt','search','161676eobscf','1350FoAluK','2msjczq','6334368JFnVjO'];a43c=function(){return i;};return a43c();}var a43b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a43d;if(c){var e=c[g(0x91)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){var h=a43d;return a43a[h(0x94)]()[h(0x99)](h(0xa1))[h(0x94)]()[h(0x96)](a43a)[h(0x99)](h(0xa1));});function a43d(a,b){var c=a43c();return a43d=function(d,e){d=d-0x91;var f=c[d];return f;},a43d(a,b);}a43a();import'./run.command.js';import'./docker.sub.cmd.js';
@@ -1 +1 @@
1
- const a44k=a44d;(function(a,b){const i=a44d,c=a();while(!![]){try{const d=parseInt(i(0x10b))/0x1*(parseInt(i(0x11a))/0x2)+parseInt(i(0x11b))/0x3+parseInt(i(0x119))/0x4+-parseInt(i(0x114))/0x5+parseInt(i(0x112))/0x6*(parseInt(i(0x121))/0x7)+-parseInt(i(0x115))/0x8*(-parseInt(i(0x11d))/0x9)+-parseInt(i(0x117))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x450a4));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const j=a44d;return a44a[j(0x125)]()[j(0x116)](j(0x120))['toString']()[j(0x109)](a44a)['search'](j(0x120));});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';function a44c(){const m=['9FafZEO','exit','inherit','(((.+)+)+)+$','2611iBTsyU','docker-compose.yaml','existsSync','templateContent','toString','notice','docker','PM2\x20Config\x20File:\x20','appName','docker-compose\x20--project-directory\x20','constructor','create','2039hxlvYd','\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','getProjectConfig','pm2.config.js','config/docker-compose.yaml','getConfigPath','fsi','240UsNydI','join','2378215ONYLDF','30760FAUppR','search','3531130mcReiI','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','1361224mKnIjn','292IaNqKW','1364337MyFsVF','\x20up\x20--remove-orphans'];a44c=function(){return m;};return a44c();}function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x105;let f=c[d];return f;},a44d(a,b);}import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a44k(0x10a)]({'name':'docker','aliases':['d'],'shortDesc':a44k(0x118),'description':a44k(0x10c),'usage':'maka\x20run\x20docker','validOpts':['']},async function(){const l=a44k;try{const a=this[l(0x111)][l(0x10d)](),b=this[l(0x111)][l(0x110)](l(0x105)),c=a44f[l(0x113)](b,l(0x122)),d=a44f[l(0x113)](b,l(0x10e));Log[l(0x126)](l(0x106)+d),Log[l(0x126)]('Docker\x20Compose\x20Path:\x20'+c);if(!a44g[l(0x123)](c)){const f={'app':a[l(0x107)],'appFileCase':paramCase(a[l(0x107)])},g=this[l(0x111)][l(0x124)]({'srcPath':l(0x10f),'context':f})+'\x0a';this[l(0x111)]['createFile']({'filePath':c,'data':g});}execSync(l(0x108)+b+l(0x11c),{'stdio':l(0x11f)});}catch(h){process[l(0x11e)](0x1);}},a44e);
1
+ const a44l=a44d;(function(a,b){const i=a44d,c=a();while(!![]){try{const d=-parseInt(i(0x1fe))/0x1+-parseInt(i(0x1ee))/0x2*(parseInt(i(0x1e5))/0x3)+-parseInt(i(0x1f4))/0x4+-parseInt(i(0x1e2))/0x5+parseInt(i(0x1e8))/0x6*(parseInt(i(0x1f5))/0x7)+parseInt(i(0x1fa))/0x8*(parseInt(i(0x1e3))/0x9)+parseInt(i(0x1eb))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a44c,0x451d0));const a44b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a44d;if(c){const e=c[j(0x1fb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a44a=a44b(this,function(){const k=a44d;return a44a[k(0x1f0)]()[k(0x1e9)](k(0x1f8))[k(0x1f0)]()[k(0x1ff)](a44a)[k(0x1e9)]('(((.+)+)+)+$');});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';function a44d(a,b){const c=a44c();return a44d=function(d,e){d=d-0x1de;let f=c[d];return f;},a44d(a,b);}import{Command}from'../../command.js';import{paramCase}from'change-case';function a44c(){const n=['fsi','notice','1586824cLrkvV','2298289QUyddp','\x20up\x20--remove-orphans','PM2\x20Config\x20File:\x20','(((.+)+)+)+$','docker','547888YSzWNQ','apply','createFile','getConfigPath','127826CrvEtd','constructor','templateContent','existsSync','config/docker-compose.yaml','docker-compose.yaml','442210CfvOjU','63CsSyAL','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','3iuOmus','inherit','pm2.config.js','6iukRON','search','join','2578040HxsGri','exit','Docker\x20Compose\x20Path:\x20','338942CBcPUw','docker-compose\x20--project-directory\x20','toString','appName'];a44c=function(){return n;};return a44c();}Command['create']({'name':a44l(0x1f9),'aliases':['d'],'shortDesc':a44l(0x1e4),'description':'\x0a\x20\x20Run\x20your\x20application\x20in\x20a\x20Docker\x20container.\x20\x20Docker\x20Desktop\x20or\x20Colmia\x20is\x20required.\x0a\x0a\x20\x20Colima\x20is\x20a\x20great\x20alternative\x20to\x20Docker\x20Desktop,\x20and\x20it\x20is\x20free!\x0a\x20\x20Colima:\x20https://github.com/abiosoft/colima\x0a\x0a\x0a\x20\x20A\x20docker-compose.yml\x20file\x20(location\x20defaulted\x20to\x20the\x20\x22config/docker\x22\x20folder)\x0a\x20\x20is\x20used\x20to\x20startup\x20mongo\x20and\x20load\x20the\x20built\x20image\x27\x0a\x20\x20','usage':'maka\x20run\x20docker','validOpts':['']},async function(){const m=a44l;try{const a=this[m(0x1f2)]['getProjectConfig'](),b=this['fsi'][m(0x1fd)](m(0x1f9)),c=a44f[m(0x1ea)](b,m(0x1e1)),d=a44f[m(0x1ea)](b,m(0x1e7));Log['notice'](m(0x1f7)+d),Log[m(0x1f3)](m(0x1ed)+c);if(!a44g[m(0x1df)](c)){const f={'app':a['appName'],'appFileCase':paramCase(a[m(0x1f1)])},g=this[m(0x1f2)][m(0x1de)]({'srcPath':m(0x1e0),'context':f})+'\x0a';this[m(0x1f2)][m(0x1fc)]({'filePath':c,'data':g});}execSync(m(0x1ef)+b+m(0x1f6),{'stdio':m(0x1e6)});}catch(h){process[m(0x1ec)](0x1);}},a44e);
@@ -1 +1 @@
1
- const a45u=a45d;function a45c(){const x=['2260951QOlNbD','ios','Run\x20your\x20Meteor\x20application','forEach','join','isDirectory','env','106216hCbgvt','error','constructor','verbose','cordova-build','Node\x20Env\x20Config:\x20','\x0a\x20\x20maka\x20run\x0a\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.','invokeMeteorCommand','settings','docker','inspect','local','getConfigPath','extraPackages','rawLogs','filter','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','run','exit','toString','slice','4490127HwPyiO','port','fsi','settings.json','allowIncompatibleUpdate','process.env','apply','production','argv','5dBcPpu','findProjectDirectory','(((.+)+)+)+$','2997senCTc','app','3184668yVsbgI','.meteor','create','splice','sep','config','886RDUEnI','8NBFLKT','--production','exclude-archs','concat','866803dghnqn','runSubCommand','warn','compareMakaToLatest','20VkvJsV','openSync','mobile-server','length','notice','1181644kHpouE'];a45c=function(){return x;};return a45c();}(function(a,b){const q=a45d,c=a();while(!![]){try{const d=-parseInt(q(0xd6))/0x1+parseInt(q(0xc0))/0x2*(parseInt(q(0xb8))/0x3)+parseInt(q(0xce))/0x4+-parseInt(q(0xf4))/0x5*(parseInt(q(0xba))/0x6)+parseInt(q(0xc5))/0x7+-parseInt(q(0xc1))/0x8*(-parseInt(q(0xeb))/0x9)+parseInt(q(0xc9))/0xa*(-parseInt(q(0xcf))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0x4c530));const a45b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a45d;if(c){const e=c[r(0xf1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a45a=a45b(this,function(){const s=a45d;return a45a[s(0xe9)]()['search'](s(0xf6))['toString']()[s(0xd8)](a45a)['search'](s(0xf6));});a45a();import a45e from'path';import a45f from'fs';import a45g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0xb8;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(0xca)](a,'r'),a45g[t(0xbf)]({'path':a});},Run=Command[a45u(0xbc)]({'name':a45u(0xe7),'mustBeInMakaProject':!![],'shortDesc':a45u(0xd1),'description':a45u(0xdc),'validOpts':[a45u(0xd5),a45u(0xdf),'r',a45u(0xe4),'p',a45u(0xec),'i',a45u(0xe0),'m','mobileServer','v',a45u(0xd9),a45u(0xef),a45u(0xe3),'x',a45u(0xc3),a45u(0xf2)]},async function(a,b){const v=a45u;try{const c=a[0x0],d=this['findSubCommand'](c);d&&this[v(0xc6)](c,a,b);if(c===v(0xd0)){const m=this[v(0xed)][v(0xf5)](),n=a45e[v(0xd3)](m,v(0xb9),v(0xbb),v(0xe1),v(0xda));this[v(0xed)][v(0xd4)](n)&&await rimraf(n);}if(b[v(0xcb)]&&b[v(0xcb)]===!![]||b['m']&&b['m']===!![])throw'Please\x20provide\x20a\x20URL\x20where\x20your\x20mobile\x20app\x20should\x20connect\x20to\x20your\x20server\x20(e.g.,\x20-m\x20|\x20--mobile-server=https://example-server.com)';await this[v(0xed)][v(0xc8)]();const f=b[v(0xd5)]?b[v(0xd5)]:'development',g=this[v(0xed)][v(0xe2)](f),h=a45e[v(0xd3)](g,v(0xf0));let i=a45e['join'](g,v(0xee));b[v(0xde)]?i=b['settings']:i=a45e['join'](g,v(0xee));if(this['fsi']['isFile'](h)&&!b[v(0xdf)])Log[v(0xcd)](v(0xdb)+h),syncSource(h);else!b['docker']&&Log['warn']('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+h);this[v(0xed)]['isFile'](i)?(Log['notice']('Meteor\x20Settings:\x20'+i),a=a[v(0xc4)](['--settings',i])):Log[v(0xc7)](v(0xe6)+i);const j=g['split'](a45e[v(0xbe)]),k=j[j[v(0xcc)]-0x1];k===v(0xf2)&&a['push'](v(0xc2));const l=process[v(0xf3)][v(0xea)](0x2)[v(0xe5)](o=>o!=='run')['filter'](o=>o!==a[0x0]);l[v(0xd2)]((o,p)=>{const w=v;o==='--env'&&l[w(0xbd)](p,0x2),o==='-e'&&l['splice'](p,0x2);}),this[v(0xed)][v(0xdd)](v(0xe7),a[v(0xc4)](l));}catch(o){console[v(0xd7)](o),process[v(0xe8)](0x1);}});export default Run;
1
+ function a45c(){const w=['notice','findProjectDirectory','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','ios','findSubCommand','join','(((.+)+)+)+$','splice','forEach','mobile-server','port','930467uGqJHM','invokeMeteorCommand','inspect','rawLogs','search','runSubCommand','6473173XvghRK','slice','concat','Meteor\x20Settings:\x20','5100417YHOBUt','process.env','3335584OWMxeX','--env','exit','push','compareMakaToLatest','Node\x20Env\x20Config:\x20','length','docker','config','allowIncompatibleUpdate','577708DZvMAD','.meteor','cordova-build','exclude-archs','--production','6KSiAtJ','production','settings.json','argv','sep','getConfigPath','env','3DjfTyD','local','6539170dPKnuo','verbose','error','Cannot\x20find\x20Node\x20Environment\x20File:\x20','openSync','isFile','run','app','extraPackages','5721920SFwRHV','toString','fsi','filter','isDirectory','settings'];a45c=function(){return w;};return a45c();}const a45t=a45d;function a45d(a,b){const c=a45c();return a45d=function(d,e){d=d-0x90;let f=c[d];return f;},a45d(a,b);}(function(a,b){const q=a45d,c=a();while(!![]){try{const d=-parseInt(q(0xcd))/0x1+parseInt(q(0xa5))/0x2*(-parseInt(q(0xb1))/0x3)+parseInt(q(0xbc))/0x4+-parseInt(q(0xb3))/0x5*(-parseInt(q(0xaa))/0x6)+-parseInt(q(0x95))/0x7+-parseInt(q(0x9b))/0x8+parseInt(q(0x99))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a45c,0xb5a53));const a45b=(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;};}()),a45a=a45b(this,function(){const r=a45d;return a45a[r(0xbd)]()[r(0x93)](r(0xc8))[r(0xbd)]()['constructor'](a45a)[r(0x93)](r(0xc8));});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 s=a45d;a45f[s(0xb7)](a,'r'),a45g[s(0xa3)]({'path':a});},Run=Command['create']({'name':a45t(0xb9),'mustBeInMakaProject':!![],'shortDesc':'Run\x20your\x20Meteor\x20application','description':'\x0a\x20\x20maka\x20run\x0a\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.','validOpts':[a45t(0xb0),'docker','r',a45t(0x92),'p',a45t(0xcc),'i',a45t(0x91),'m','mobileServer','v',a45t(0xb4),a45t(0xa4),a45t(0xbb),'x',a45t(0xa8),a45t(0xab)]},async function(a,b){const u=a45t;try{const c=a[0x0],d=this[u(0xc6)](c);d&&this[u(0x94)](c,a,b);if(c===u(0xc5)){const m=this[u(0xbe)][u(0xc3)](),n=a45e['join'](m,u(0xba),u(0xa6),u(0xb2),u(0xa7));this[u(0xbe)][u(0xc0)](n)&&await rimraf(n);}if(b[u(0xcb)]&&b[u(0xcb)]===!![]||b['m']&&b['m']===!![])throw'Please\x20provide\x20a\x20URL\x20where\x20your\x20mobile\x20app\x20should\x20connect\x20to\x20your\x20server\x20(e.g.,\x20-m\x20|\x20--mobile-server=https://example-server.com)';await this[u(0xbe)][u(0x9f)]();const f=b[u(0xb0)]?b[u(0xb0)]:'development',g=this['fsi'][u(0xaf)](f),h=a45e[u(0xc7)](g,u(0x9a));let i=a45e[u(0xc7)](g,u(0xac));b['settings']?i=b[u(0xc1)]:i=a45e['join'](g,u(0xac));if(this['fsi'][u(0xb8)](h)&&!b[u(0xa2)])Log[u(0xc2)](u(0xa0)+h),syncSource(h);else!b[u(0xa2)]&&Log['warn'](u(0xb6)+h);this[u(0xbe)]['isFile'](i)?(Log[u(0xc2)](u(0x98)+i),a=a[u(0x97)](['--settings',i])):Log['warn'](u(0xc4)+i);const j=g['split'](a45e[u(0xae)]),k=j[j[u(0xa1)]-0x1];k===u(0xab)&&a[u(0x9e)](u(0xa9));const l=process[u(0xad)][u(0x96)](0x2)[u(0xbf)](o=>o!==u(0xb9))[u(0xbf)](o=>o!==a[0x0]);l[u(0xca)]((o,p)=>{const v=u;o===v(0x9c)&&l['splice'](p,0x2),o==='-e'&&l[v(0xc9)](p,0x2);}),this[u(0xbe)][u(0x90)](u(0xb9),a['concat'](l));}catch(o){console[u(0xb5)](o),process[u(0x9d)](0x1);}});export default Run;
@@ -1 +1 @@
1
- (function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x17a))/0x1*(parseInt(f(0x17f))/0x2)+-parseInt(f(0x17d))/0x3*(parseInt(f(0x183))/0x4)+parseInt(f(0x187))/0x5*(parseInt(f(0x185))/0x6)+parseInt(f(0x18a))/0x7*(parseInt(f(0x18b))/0x8)+parseInt(f(0x186))/0x9*(-parseInt(f(0x17b))/0xa)+-parseInt(f(0x182))/0xb+-parseInt(f(0x17c))/0xc*(-parseInt(f(0x180))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0xf2674));function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x17a;var f=c[d];return f;},a46d(a,b);}var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x184)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0x181)]()[h(0x188)](h(0x17e))[h(0x181)]()[h(0x189)](a46a)[h(0x188)](h(0x17e));});a46a();import'./set.command.js';import'./global.sub.cmd.js';function a46c(){var i=['constructor','21EteoVU','4552392JbVvNt','47rPoiTa','340350KBLBdy','84TVnLVl','24339zmUBKX','(((.+)+)+)+$','33224oIBCcf','1875107SVYWsR','toString','5251543OEwoTG','452paEqaK','apply','6BlFyLe','495unMtPf','3807035vlnmWu','search'];a46c=function(){return i;};return a46c();}import'./local.sub.cmd.js';
1
+ (function(a,b){var f=a46d,c=a();while(!![]){try{var d=parseInt(f(0x71))/0x1*(parseInt(f(0x70))/0x2)+-parseInt(f(0x6b))/0x3*(parseInt(f(0x6e))/0x4)+parseInt(f(0x73))/0x5+parseInt(f(0x6a))/0x6+parseInt(f(0x72))/0x7+parseInt(f(0x77))/0x8+-parseInt(f(0x6d))/0x9*(parseInt(f(0x76))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a46c,0x72d31));var a46b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a46d;if(c){var e=c[g(0x74)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a46a=a46b(this,function(){var h=a46d;return a46a[h(0x6c)]()[h(0x6f)]('(((.+)+)+)+$')['toString']()[h(0x75)](a46a)[h(0x6f)](h(0x78));});function a46c(){var i=['886762jGPffQ','1452164EAjtgh','3563840oGTxWJ','apply','constructor','10250sZNMcE','4853592yeHcGz','(((.+)+)+)+$','5320644osEUlB','33voasqw','toString','20043hehiiG','199076cUhTbH','search','2ZxFYVB'];a46c=function(){return i;};return a46c();}a46a();import'./set.command.js';import'./global.sub.cmd.js';function a46d(a,b){var c=a46c();return a46d=function(d,e){d=d-0x6a;var f=c[d];return f;},a46d(a,b);}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(0xde))/0x1+parseInt(h(0xc4))/0x2+-parseInt(h(0xda))/0x3+-parseInt(h(0xe6))/0x4+parseInt(h(0xe0))/0x5+parseInt(h(0xd0))/0x6*(-parseInt(h(0xc5))/0x7)+parseInt(h(0xd5))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x6facd));function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0xc3;let f=c[d];return f;},a47d(a,b);}const a47b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a47d;if(c){const e=c[i(0xcf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a47a=a47b(this,function(){const j=a47d;return a47a[j(0xc3)]()[j(0xe5)](j(0xd6))[j(0xc3)]()['constructor'](a47a)[j(0xe5)]('(((.+)+)+)+$');});a47a();import a47e from'path';import a47f from'./set.command.js';import{Command}from'../../command.js';function a47c(){const m=['help','create','One\x20or\x20the\x20other\x20buddy','maka\x20set:gc\x20--insecure\x20<path>','Set\x20CA\x20Cert\x20Path:\x20','isFile','apply','4146BFDSlA','allowInsecure','workspace','boolean','setGlobalConfig','7793392vYBtGV','(((.+)+)+)+$','Set\x20workspace:\x20','\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','Could\x20not\x20find\x20directory','1891722cPdNvq','success','resolve','cacert','76067mGFikA','fsi','3530165pttpeu','exit','Set\x20global\x20Maka-CLI\x20settings','maka\x20set:global-config\x20--cacert\x20<path>','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','search','2815952iqzRCn','error','toString','418528eXXlMA','217ktLKLn','maka\x20set:gc\x20--workspace\x20<path>','global-config','Set\x20allowInsecure:\x20'];a47c=function(){return m;};return a47c();}import{Log}from'../../tools/log/log.class.js';Command[a47k(0xca)]({'name':a47k(0xc7),'usage':'maka\x20set:global-config\x20<args>','aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a47k(0xdd),a47k(0xd1),'disallowInsecure',a47k(0xd2),a47k(0xc9)],'shortDesc':a47k(0xe2),'description':a47k(0xd8),'examples':[a47k(0xe3),a47k(0xcc),a47k(0xc6)]},async function(a,b){const l=a47k;try{if(b[l(0xdd)]){if(this['fsi'][l(0xce)](b['cacert']))this[l(0xdf)][l(0xd4)]({'cert':b[l(0xdd)]}),Log[l(0xdb)](l(0xcd)+b['cacert']);else{const c=typeof b['cacert']===l(0xd3)?l(0xe4):'CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+b[l(0xdd)];throw Log[l(0xe7)](c);}}if(b['workspace']){const d=this[l(0xdf)]['isDirectory'](b['workspace']);if(d)this[l(0xdf)][l(0xd4)]({'workspace':a47e[l(0xdc)](b['workspace'])}),Log[l(0xdb)](l(0xd7)+a47e['resolve'](b['workspace']));else throw Log['error'](l(0xd9));}if(b[l(0xd1)]){if(b[l(0xd1)]&&b['disallowInsecure'])throw Log[l(0xe7)](l(0xcb));let f=b[l(0xd1)];b['disallowInsecure']&&(f=![]),this['fsi'][l(0xd4)]({'allowInsecure':f}),Log[l(0xdb)](l(0xc8)+f);}}catch(g){console[l(0xe7)](g),process[l(0xe1)](0x0);}},a47f);
1
+ function a47d(a,b){const c=a47c();return a47d=function(d,e){d=d-0x1b6;let f=c[d];return f;},a47d(a,b);}const a47j=a47d;(function(a,b){const h=a47d,c=a();while(!![]){try{const d=parseInt(h(0x1db))/0x1+-parseInt(h(0x1bd))/0x2+parseInt(h(0x1d6))/0x3*(parseInt(h(0x1c7))/0x4)+parseInt(h(0x1b8))/0x5+parseInt(h(0x1d4))/0x6*(parseInt(h(0x1c6))/0x7)+parseInt(h(0x1da))/0x8+parseInt(h(0x1c0))/0x9*(-parseInt(h(0x1b9))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a47c,0x40ceb));const a47b=(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;};}()),a47a=a47b(this,function(){const i=a47d;return a47a[i(0x1cf)]()[i(0x1d7)](i(0x1d8))[i(0x1cf)]()[i(0x1cd)](a47a)[i(0x1d7)](i(0x1d8));});a47a();import a47e from'path';import a47f from'./set.command.js';function a47c(){const l=['303734BoHBLw','fsi','maka\x20set:gc\x20--insecure\x20<path>','623445kQDhTy','464470xqiPPf','Set\x20CA\x20Cert\x20Path:\x20','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','disallowInsecure','557726yNKZQV','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x0a\x20\x20There\x20are\x20occasions\x20where\x20your\x20network\x20may\x20need\x20an\x20intermediate\x20certificate\x0a\x20\x20to\x20allow\x20connections\x20outside.\x20\x20You\x20may\x20set\x20your\x20certificate\x20path\x20using\x20the\x20command:\x0a\x0a\x20\x20maka\x20set:gc\x20--cacert\x0a\x20\x20','maka\x20set:global-config\x20<args>','90VJaxWe','exit','maka\x20set:gc\x20--workspace\x20<path>','success','error','Set\x20global\x20Maka-CLI\x20settings','7exbtOM','44shkDiS','cacert','One\x20or\x20the\x20other\x20buddy','workspace','resolve','Could\x20not\x20find\x20directory','constructor','create','toString','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','boolean','setGlobalConfig','Set\x20workspace:\x20','11106PhkxOP','allowInsecure','56415dozorx','search','(((.+)+)+)+$','maka\x20set:global-config\x20--cacert\x20<path>','2973240DBarCb'];a47c=function(){return l;};return a47c();}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a47j(0x1ce)]({'name':'global-config','usage':a47j(0x1bf),'aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a47j(0x1c8),a47j(0x1d5),a47j(0x1bc),a47j(0x1ca),'help'],'shortDesc':a47j(0x1c5),'description':a47j(0x1be),'examples':[a47j(0x1d9),a47j(0x1b7),a47j(0x1c2)]},async function(a,b){const k=a47j;try{if(b[k(0x1c8)]){if(this[k(0x1b6)]['isFile'](b[k(0x1c8)]))this['fsi'][k(0x1d2)]({'cert':b[k(0x1c8)]}),Log[k(0x1c3)](k(0x1ba)+b[k(0x1c8)]);else{const c=typeof b[k(0x1c8)]===k(0x1d1)?k(0x1d0):k(0x1bb)+b[k(0x1c8)];throw Log[k(0x1c4)](c);}}if(b[k(0x1ca)]){const d=this['fsi']['isDirectory'](b['workspace']);if(d)this[k(0x1b6)][k(0x1d2)]({'workspace':a47e[k(0x1cb)](b[k(0x1ca)])}),Log[k(0x1c3)](k(0x1d3)+a47e['resolve'](b[k(0x1ca)]));else throw Log[k(0x1c4)](k(0x1cc));}if(b[k(0x1d5)]){if(b[k(0x1d5)]&&b[k(0x1bc)])throw Log[k(0x1c4)](k(0x1c9));let f=b[k(0x1d5)];b['disallowInsecure']&&(f=![]),this[k(0x1b6)]['setGlobalConfig']({'allowInsecure':f}),Log['success']('Set\x20allowInsecure:\x20'+f);}}catch(g){console[k(0x1c4)](g),process[k(0x1c1)](0x0);}},a47f);
@@ -1 +1 @@
1
- var a48i=a48d;(function(a,b){var f=a48d,c=a();while(!![]){try{var d=-parseInt(f(0xa2))/0x1+parseInt(f(0x97))/0x2*(parseInt(f(0xa8))/0x3)+-parseInt(f(0xab))/0x4*(-parseInt(f(0xa9))/0x5)+-parseInt(f(0xa3))/0x6*(-parseInt(f(0x9e))/0x7)+parseInt(f(0x98))/0x8+-parseInt(f(0xa5))/0x9+-parseInt(f(0xa6))/0xa*(parseInt(f(0x9a))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x4ea3d));var a48b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a48d;if(c){var e=c[g(0x9b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a48a=a48b(this,function(){var h=a48d;return a48a[h(0x9c)]()['search']('(((.+)+)+)+$')[h(0x9c)]()[h(0x9f)](a48a)[h(0xa1)](h(0xaa));});function a48c(){var k=['1591299JJsMoe','20WqOcIl','Set\x20local\x20maka\x20app\x20settings','453YORYwm','2067790LXDPCX','(((.+)+)+)+$','4NEpJeg','4398TmtBsp','2046960sxqFCa','maka\x20set:local-config\x20<opts>','2323222XmXswc','apply','toString','local-config','7fVvaXl','constructor','Sorry,\x20not\x20implemented\x20yet','search','470608RMVFDb','2342730ohkFSx','maka\x20set:lc\x20<opts>'];a48c=function(){return k;};return a48c();}a48a();import a48e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a48d(a,b){var c=a48c();return a48d=function(d,e){d=d-0x97;var f=c[d];return f;},a48d(a,b);}Command['create']({'name':a48i(0x9d),'usage':a48i(0x99),'examples':[a48i(0xa4),a48i(0x99)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a48i(0xa7),'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['notice'](j(0xa0));},a48e);
1
+ function a48c(){var j=['4KbQDHE','search','1542699lmTTzA','1350727KrsLqa','constructor','76107HjwgBR','Sorry,\x20not\x20implemented\x20yet','878608NEARDT','maka\x20set:local-config\x20<opts>','951162zqlMbE','(((.+)+)+)+$','Set\x20local\x20maka\x20app\x20settings','toString','32368taMTjW','create','5nJupFV','8lvyAVm','2069690TASgru'];a48c=function(){return j;};return a48c();}var a48h=a48d;(function(a,b){var f=a48d,c=a();while(!![]){try{var d=-parseInt(f(0x17c))/0x1+parseInt(f(0x181))/0x2*(-parseInt(f(0x186))/0x3)+-parseInt(f(0x188))/0x4*(-parseInt(f(0x17e))/0x5)+parseInt(f(0x18a))/0x6+parseInt(f(0x184))/0x7*(-parseInt(f(0x17f))/0x8)+-parseInt(f(0x183))/0x9+parseInt(f(0x180))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a48c,0x219c6));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(0x17b)]()[g(0x182)](g(0x18b))['toString']()[g(0x185)](a48a)[g(0x182)](g(0x18b));});a48a();import a48e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a48d(a,b){var c=a48c();return a48d=function(d,e){d=d-0x17a;var f=c[d];return f;},a48d(a,b);}Command[a48h(0x17d)]({'name':'local-config','usage':a48h(0x189),'examples':['maka\x20set:lc\x20<opts>',a48h(0x189)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a48h(0x17a),'validOpts':[],'description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20'},async function(){var i=a48h;Log['notice'](i(0x187));},a48e);
@@ -1 +1 @@
1
- function a49d(a,b){const c=a49c();return a49d=function(d,e){d=d-0x166;let f=c[d];return f;},a49d(a,b);}const a49h=a49d;(function(a,b){const f=a49d,c=a();while(!![]){try{const d=-parseInt(f(0x175))/0x1+-parseInt(f(0x16f))/0x2*(parseInt(f(0x16d))/0x3)+parseInt(f(0x170))/0x4+parseInt(f(0x173))/0x5*(parseInt(f(0x176))/0x6)+parseInt(f(0x168))/0x7*(parseInt(f(0x16b))/0x8)+-parseInt(f(0x16e))/0x9*(-parseInt(f(0x171))/0xa)+-parseInt(f(0x166))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0x46c32));const a49b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){const g=a49d;return a49a[g(0x174)]()[g(0x167)](g(0x16c))[g(0x174)]()[g(0x177)](a49a)['search'](g(0x16c));});a49a();function a49c(){const j=['toString','464359hEYiXV','130818GaPlpD','constructor','findSubCommand','875710fHzfwp','search','582883DmosfB','runSubCommand','create','8ZJYwfr','(((.+)+)+)+$','36897zGkTeQ','1336545ewogKP','10ychsva','1972896zBdCBG','20aRPeTJ','maka\x20set:<sub-command>\x20<opts>','5mGrZvG'];a49c=function(){return j;};return a49c();}import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command[a49h(0x16a)]({'name':'set','usage':a49h(0x172),'minArgLength':0x1,'shortDesc':'Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','validOpts':[]},async function(a,b){const i=a49h,c=a[0x0];if(b['help'])throw new UsageError();const d=this[i(0x178)](c);d&&this[i(0x169)](c,a,b);});export default SetCommand;
1
+ const a49i=a49d;(function(a,b){const f=a49d,c=a();while(!![]){try{const d=parseInt(f(0x1ca))/0x1+-parseInt(f(0x1c9))/0x2+-parseInt(f(0x1d0))/0x3*(-parseInt(f(0x1d1))/0x4)+-parseInt(f(0x1c4))/0x5*(parseInt(f(0x1c1))/0x6)+parseInt(f(0x1cf))/0x7+-parseInt(f(0x1c5))/0x8+-parseInt(f(0x1cd))/0x9*(-parseInt(f(0x1c3))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a49c,0xb3cf7));const a49b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a49d;if(c){const e=c[g(0x1c7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a49a=a49b(this,function(){const h=a49d;return a49a['toString']()[h(0x1d3)](h(0x1c6))[h(0x1c8)]()[h(0x1c2)](a49a)[h(0x1d3)](h(0x1c6));});function a49d(a,b){const c=a49c();return a49d=function(d,e){d=d-0x1c1;let f=c[d];return f;},a49d(a,b);}a49a();function a49c(){const k=['(((.+)+)+)+$','apply','toString','2216346CVmjEh','1374875yAIDyD','set','create','1179xzBuJT','\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','2612764BAkeOt','935265AUOghJ','12agQkvm','runSubCommand','search','1254LNNWcn','constructor','117830iGiCnP','24835EnFkiY','10753488wUgLeB'];a49c=function(){return k;};return a49c();}import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command[a49i(0x1cc)]({'name':a49i(0x1cb),'usage':'maka\x20set:<sub-command>\x20<opts>','minArgLength':0x1,'shortDesc':'Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','description':a49i(0x1ce),'validOpts':[]},async function(a,b){const j=a49i,c=a[0x0];if(b['help'])throw new UsageError();const d=this['findSubCommand'](c);d&&this[j(0x1d2)](c,a,b);});export default SetCommand;
@@ -1 +1 @@
1
- const a50m=a50d;function a50c(){const o=['168PoJngS','12lBMKoy','67671ydvYTR','4966832oDdbrh','length','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','maka\x20ssh\x20--env\x20dev','assign','maka\x20ssh\x20--env\x20<env>\x20[command]','search','maka\x20ssh\x20--env\x20prod','ssh','1561317nCCcBI','join','getConfigPath','sshSync','662794SRCTsG','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','(((.+)+)+)+$','45UfJVit','ssh.json','4858721XdAgPd','parse','error','20kpQNtT','140578mIZnFl','env','exit','toString','apply','4814535oxSxyT'];a50c=function(){return o;};return a50c();}(function(a,b){const j=a50d,c=a();while(!![]){try{const d=parseInt(j(0xdd))/0x1+parseInt(j(0xeb))/0x2*(parseInt(j(0xe5))/0x3)+-parseInt(j(0xd4))/0x4+parseInt(j(0xf0))/0x5+-parseInt(j(0xd2))/0x6*(parseInt(j(0xe7))/0x7)+-parseInt(j(0xf1))/0x8*(-parseInt(j(0xd3))/0x9)+-parseInt(j(0xea))/0xa*(parseInt(j(0xe1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0xf0bb4));const a50b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a50d;if(c){const e=c[k(0xef)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a50a=a50b(this,function(){const l=a50d;return a50a['toString']()[l(0xda)]('(((.+)+)+)+$')['toString']()['constructor'](a50a)[l(0xda)](l(0xe4));});a50a();function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0xd2;let f=c[d];return f;},a50d(a,b);}import a50e from'fs';import a50f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command['create']({'name':a50m(0xdc),'usage':a50m(0xd9),'mustBeInMakaProject':!![],'requiredOpts':['env'],'validOpts':[a50m(0xec),'v'],'shortDesc':a50m(0xd6),'examples':[a50m(0xd7),'maka\x20ssh\x20--env\x20staging',a50m(0xdb),a50m(0xe2),'maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22',a50m(0xe3)]},async function(a,b){const n=a50m;try{const c=this['fsi'][n(0xdf)](b[n(0xec)]);let d='';a[n(0xd5)]>0x0&&(d=a[0x0]);const f=a50f[n(0xde)](c,n(0xe6)),g=a50e['readFileSync'](f)[n(0xee)](),h=JSON[n(0xe8)](g);Object[n(0xd8)](h,{'env':c}),SSH[n(0xe0)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['v']});}catch(i){console[n(0xe9)](i),process[n(0xed)](0x0);}});
1
+ const a50l=a50d;function a50d(a,b){const c=a50c();return a50d=function(d,e){d=d-0xc4;let f=c[d];return f;},a50d(a,b);}(function(a,b){const j=a50d,c=a();while(!![]){try{const d=-parseInt(j(0xd5))/0x1*(parseInt(j(0xdc))/0x2)+parseInt(j(0xd0))/0x3+-parseInt(j(0xc7))/0x4*(-parseInt(j(0xdb))/0x5)+parseInt(j(0xd7))/0x6*(parseInt(j(0xe1))/0x7)+-parseInt(j(0xcd))/0x8+-parseInt(j(0xd3))/0x9+parseInt(j(0xe3))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a50c,0x7c139));function a50c(){const n=['7kuPCYr','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','8039690NReztU','ssh.json','(((.+)+)+)+$','length','env','1604780imgReM','readFileSync','create','maka\x20ssh\x20--env\x20prod','maka\x20ssh\x20--env\x20dev','constructor','6552568ZueaEk','maka\x20ssh\x20<command>','assign','382455vlnUSU','ssh','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','4906620oSBgLL','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','113yrWjuI','error','2860998TcqTbC','toString','maka\x20ssh\x20--env\x20staging','exit','10vIyGTv','5986UrYQLo','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','fsi','sshSync','join'];a50c=function(){return n;};return a50c();}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(0xd8)]()['search']('(((.+)+)+)+$')['toString']()[k(0xcc)](a50a)['search'](k(0xc4));});a50a();import a50e from'fs';import a50f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a50l(0xc9)]({'name':a50l(0xd1),'usage':a50l(0xce),'mustBeInMakaProject':!![],'requiredOpts':[a50l(0xc6)],'validOpts':[a50l(0xc6),'v'],'shortDesc':a50l(0xdd),'examples':[a50l(0xcb),a50l(0xd9),a50l(0xca),a50l(0xd2),a50l(0xd4),a50l(0xe2)]},async function(a,b){const m=a50l;try{const c=this[m(0xde)]['getConfigPath'](b[m(0xc6)]);let d='';a[m(0xc5)]>0x0&&(d=a[0x0]);const f=a50f[m(0xe0)](c,m(0xe4)),g=a50e[m(0xc8)](f)[m(0xd8)](),h=JSON['parse'](g);Object[m(0xcf)](h,{'env':c}),SSH[m(0xdf)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['v']});}catch(i){console[m(0xd6)](i),process[m(0xda)](0x0);}});
@@ -1 +1 @@
1
- const a51y=a51d;(function(a,b){const v=a51d,c=a();while(!![]){try{const d=parseInt(v(0x11b))/0x1*(parseInt(v(0x156))/0x2)+-parseInt(v(0x12d))/0x3*(parseInt(v(0x11a))/0x4)+-parseInt(v(0x120))/0x5+parseInt(v(0x12e))/0x6*(parseInt(v(0x157))/0x7)+-parseInt(v(0x13a))/0x8+parseInt(v(0x155))/0x9*(parseInt(v(0x127))/0xa)+parseInt(v(0x12a))/0xb*(parseInt(v(0x14b))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0x7bd9d));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a51d;if(c){const e=c[w(0x11e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const x=a51d;return a51a[x(0x148)]()[x(0x159)]('(((.+)+)+)+$')[x(0x148)]()[x(0x13f)](a51a)[x(0x159)](x(0x146));});function a51c(){const A=['ask','readFileSync','letsencrypt','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','emailUpdate','start','ssh','notice','sudo\x20snap\x20install\x20--classic\x20certbot','1629QmJINA','400118FTxJcy','4998syhIJz','existsSync','search','appName','1542136DOgOIk','1bDIekr','letsencrypt.json','Email\x20to\x20use\x20for\x20auto-updates:\x20','apply','genSSC','3144145uDeiks','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','generate-csr','getProjectConfig','maka\x20ssl\x20<opts>\x20[command]','.csr','parse','41350zsTkSl','assign','env','3800170qYTSDW','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','writeFileSync','3mMDegF','1350FseGVG','[?]\x20Domains\x20to\x20register:\x20','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','join','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','exit','.crt','withSpinner','domains','genCSR','success','domainNames','2227424CIAJOi','create','Remote\x20host\x20connection\x20successful','maka\x20ssl\x20--env\x20dev\x20generate-csr','mkKeysDir','constructor','ping','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','stringify','email','New\x20CSR\x20written\x20to\x20','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','(((.+)+)+)+$','error','toString','fsi','.key','24VsBlon'];a51c=function(){return A;};return a51c();}a51a();import a51e from'fs';import a51f from'path';import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x11a;let f=c[d];return f;},a51d(a,b);}import{SSL}from'../tools/ssl/ssl.class.js';Command[a51y(0x13b)]({'name':'ssl','usage':a51y(0x124),'validOpts':[a51y(0x136),a51y(0x143)],'requiredOpts':[a51y(0x129)],'shortDesc':'Create\x20and\x20manage\x20your\x20SSL\x20operations.','mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a51y(0x13d),a51y(0x121),a51y(0x130)]},async function(a,b){const z=a51y,c=this['fsi'][z(0x123)](),d=this[z(0x149)]['getConfigPath'](b['env']),f=this[z(0x149)][z(0x13e)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0x122))SSL[z(0x137)]({'keyName':c['appName']+'.key','csrName':c[z(0x15a)]+'.csr','cwd':f});else{if(g==='generate-ssc'){if(!a51e[z(0x158)](a51f[z(0x131)](f,c[z(0x15a)]+z(0x14a))))throw z(0x132)+a51f['join'](f,c[z(0x15a)]+z(0x14a));if(!a51e[z(0x158)](a51f[z(0x131)](f,c[z(0x15a)]+z(0x125))))throw z(0x141)+a51f['join'](f,c[z(0x15a)]+'.csr');SSL[z(0x11f)]({'keyName':c[z(0x15a)]+z(0x14a),'crtName':c[z(0x15a)]+z(0x134),'cwd':f}),Log[z(0x153)](z(0x144)+f);}else{if(g===z(0x14e)){let h=b[z(0x136)],i=b[z(0x143)];try{const p=a51e[z(0x14d)](a51f[z(0x131)](d,z(0x11c)))[z(0x148)](),q=JSON[z(0x126)](p);h=b[z(0x136)]?b[z(0x136)]:q[z(0x139)],i=b['email']?b[z(0x143)]:q[z(0x150)],(!b[z(0x143)]||!b[z(0x136)])&&Log[z(0x153)]('Using\x20saved\x20letsencrypt\x20config');}catch(r){}const j=JSON['parse'](a51e[z(0x14d)](d+'/ssh.json')[z(0x148)]());Object[z(0x128)](j,{'env':d}),Log[z(0x153)]('Checking\x20remote\x20host\x20availability');try{const s=SSH[z(0x140)]('uname\x20-a',j);if(!s)throw z(0x145);if(s)Log[z(0x138)](z(0x13c));}catch(t){Log['error'](t);return;}const k=Log[z(0x135)]();k[z(0x151)]('Verifying\x20Letsencrypt\x20configuration'),SSH[z(0x152)](z(0x14f),{...j}),SSH[z(0x152)](z(0x154),{...j}),SSH[z(0x152)](z(0x12b),{...j}),k['success']();const l=h?h:await Actions[z(0x14c)](z(0x12f)),m=i?i:await Actions[z(0x14c)](z(0x11d));SSH[z(0x152)]('sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20'+l+'\x20--email\x20'+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0x142)](n,null,0x2);a51e[z(0x12c)](a51f[z(0x131)](d,z(0x11c)),o);}else throw'Please\x20provide\x20a\x20command.';}}}catch(u){console[z(0x147)](u),process[z(0x133)](0x0);}});
1
+ const a51y=a51d;(function(a,b){const v=a51d,c=a();while(!![]){try{const d=parseInt(v(0x15e))/0x1+parseInt(v(0x14e))/0x2+parseInt(v(0x158))/0x3+-parseInt(v(0x145))/0x4+-parseInt(v(0x140))/0x5*(parseInt(v(0x144))/0x6)+-parseInt(v(0x169))/0x7*(-parseInt(v(0x150))/0x8)+-parseInt(v(0x160))/0x9*(parseInt(v(0x172))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a51c,0xc74f0));const a51b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a51d;if(c){const e=c[w(0x147)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a51a=a51b(this,function(){const x=a51d;return a51a[x(0x152)]()['search'](x(0x161))[x(0x152)]()['constructor'](a51a)[x(0x16d)]('(((.+)+)+)+$');});a51a();function a51d(a,b){const c=a51c();return a51d=function(d,e){d=d-0x139;let f=c[d];return f;},a51d(a,b);}function a51c(){const A=['apply','parse','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','join','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','\x20--email\x20','/ssh.json','1973048XRyAPw','uname\x20-a','11434152pjotmS','Using\x20saved\x20letsencrypt\x20config','toString','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','error','letsencrypt','writeFileSync','Verifying\x20Letsencrypt\x20configuration','3523638MPPzkH','domainNames','Please\x20provide\x20a\x20command.','letsencrypt.json','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','305012wAAuLi','New\x20CSR\x20written\x20to\x20','9wjECEH','(((.+)+)+)+$','mkKeysDir','Checking\x20remote\x20host\x20availability','stringify','exit','[?]\x20Domains\x20to\x20register:\x20','ping','fsi','7PcBZga','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','ssl','search','appName','Email\x20to\x20use\x20for\x20auto-updates:\x20','domains','success','22336520xYbCFa','existsSync','Remote\x20host\x20connection\x20successful','ask','notice','withSpinner','ssh','email','getConfigPath','2865kdfcSZ','env','maka\x20ssl\x20--env\x20dev\x20generate-csr','sudo\x20snap\x20install\x20--classic\x20certbot','6846NBMFnc','766152EmPdqQ','.key'];a51c=function(){return A;};return a51c();}import a51e from'fs';import a51f from'path';import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command['create']({'name':a51y(0x16c),'usage':'maka\x20ssl\x20[command]','validOpts':['domains',a51y(0x13e)],'requiredOpts':[a51y(0x141)],'shortDesc':'Create\x20and\x20manage\x20your\x20SSL\x20operations.','mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a51y(0x142),a51y(0x14b),a51y(0x16a)]},async function(a,b){const z=a51y,c=this[z(0x168)]['getProjectConfig'](),d=this[z(0x168)][z(0x13f)](b[z(0x141)]),f=this[z(0x168)][z(0x162)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g==='generate-csr')SSL['genCSR']({'keyName':c[z(0x16e)]+z(0x146),'csrName':c[z(0x16e)]+'.csr','cwd':f});else{if(g==='generate-ssc'){if(!a51e[z(0x173)](a51f[z(0x14a)](f,c[z(0x16e)]+'.key')))throw z(0x15c)+a51f[z(0x14a)](f,c[z(0x16e)]+z(0x146));if(!a51e[z(0x173)](a51f['join'](f,c[z(0x16e)]+'.csr')))throw'The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20'+a51f[z(0x14a)](f,c[z(0x16e)]+'.csr');SSL['genSSC']({'keyName':c[z(0x16e)]+z(0x146),'crtName':c[z(0x16e)]+'.crt','cwd':f}),Log[z(0x13b)](z(0x15f)+f);}else{if(g===z(0x155)){let h=b[z(0x170)],i=b[z(0x13e)];try{const p=a51e['readFileSync'](a51f[z(0x14a)](d,z(0x15b)))[z(0x152)](),q=JSON[z(0x148)](p);h=b['domains']?b[z(0x170)]:q[z(0x159)],i=b['email']?b[z(0x13e)]:q['emailUpdate'],(!b['email']||!b['domains'])&&Log[z(0x13b)](z(0x151));}catch(r){}const j=JSON[z(0x148)](a51e['readFileSync'](d+z(0x14d))[z(0x152)]());Object['assign'](j,{'env':d}),Log[z(0x13b)](z(0x163));try{const s=SSH[z(0x167)](z(0x14f),j);if(!s)throw z(0x15d);if(s)Log[z(0x171)](z(0x139));}catch(t){Log['error'](t);return;}const k=Log[z(0x13c)]();k['start'](z(0x157)),SSH[z(0x13d)](z(0x149),{...j}),SSH[z(0x13d)](z(0x143),{...j}),SSH[z(0x13d)](z(0x153),{...j}),k['success']();const l=h?h:await Actions[z(0x13a)](z(0x166)),m=i?i:await Actions[z(0x13a)](z(0x16f));SSH[z(0x13d)](z(0x16b)+l+z(0x14c)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0x164)](n,null,0x2);a51e[z(0x156)](a51f[z(0x14a)](d,'letsencrypt.json'),o);}else throw z(0x15a);}}}catch(u){console[z(0x154)](u),process[z(0x165)](0x0);}});
@@ -1 +1 @@
1
- const a52q=a52d;(function(a,b){const m=a52d,c=a();while(!![]){try{const d=parseInt(m(0xd9))/0x1+-parseInt(m(0xef))/0x2+-parseInt(m(0xdd))/0x3+-parseInt(m(0xfd))/0x4+parseInt(m(0xed))/0x5+parseInt(m(0xfb))/0x6*(-parseInt(m(0x107))/0x7)+-parseInt(m(0xfa))/0x8*(-parseInt(m(0xdc))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0xbf2ec));const a52b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a52d;if(c){const e=c[n(0xf0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){const o=a52d;return a52a[o(0x109)]()['search'](o(0xee))[o(0x109)]()[o(0x104)](a52a)[o(0xda)](o(0xee));});a52a();function a52c(){const t=['utf8','meteortesting:mocha','slice','exit','test','getConfigPath','rawLogs','19944632tmiYYw','174tQvHuh','create','4528324JoPCkC','config','openSync','--packages','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','--driver','constructor','packages','engines','357882XfdfaV','warn','toString','unit','error','driver-package','Cannot\x20find\x20Node\x20Environment\x20File:\x20','port','invokeMeteorCommand','parse','concat','join','maka\x20test\x20<opts>','963588eKYUak','search','findProjectDirectory','9OvdXku','3827328knmGWp','fsi','settings.json','env','filter','argv','inspect','splice','development','Node\x20Env\x20Config:\x20','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','driver','--env','sanjo:jasmine','process.env','--full-app','6235000bevpqC','(((.+)+)+)+$','60144vhKAps','apply','driverPackage','none'];a52c=function(){return t;};return a52c();}import a52e from'fs';function a52d(a,b){const c=a52c();return a52d=function(d,e){d=d-0xcf;let f=c[d];return f;},a52d(a,b);}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(0xff)](a,'r'),a52g[p(0xfe)]({'path':a});};Command[a52q(0xfc)]({'name':'test','mustBeInMakaProject':!![],'validOpts':['once',a52q(0x105),a52q(0xe8),a52q(0xf1),a52q(0xcf),'env',a52q(0xf9),a52q(0xd3),a52q(0xe3),'testAppPath'],'usage':a52q(0xd8),'shortDesc':a52q(0xe7),'examples':[]},function(a,b){const r=a52q;try{let c=this[r(0xde)][r(0xf8)](r(0xe5));b['env']&&(c=this[r(0xde)]['getConfigPath'](b[r(0xe0)]));(!b[r(0xcf)]||!!b['once'])&&(a=a['concat']([r(0xec)]));b['unit']&&delete b['unit'];let d=b[r(0xd1)]||b[r(0xe8)]||r(0xf2);if(d===r(0xf2)){const j=JSON[r(0xd5)](a52e['readFileSync'](a52f['join'](this[r(0xde)][r(0xdb)](),'.maka','config.json'),r(0xf3)));if(j[r(0x106)][r(0xf7)]==='jasmine')d=r(0xea);else j[r(0x106)][r(0xf7)]==='mocha'&&(d=r(0xf4));}if(d===r(0xf2))throw r(0x102);(!b[r(0xd1)]||!b[r(0xe8)])&&(a=a[r(0xd6)](['--driver-package',d]));const f=a52f['join'](c,r(0xdf));this[r(0xde)]['isFile'](f)?(Log['notice']('Meteor\x20Settings:\x20'+f),a=a[r(0xd6)](['--settings',f])):Log[r(0x108)](r(0x101)+f);const g=a52f[r(0xd7)](c,r(0xeb));this[r(0xde)]['isFile'](g)?(Log['notice'](r(0xe6)+g),syncSource(g)):Log[r(0x108)](r(0xd2)+g);const h=process[r(0xe2)][r(0xf5)](0x2)['filter'](k=>k!==r(0xe9))[r(0xe1)](k=>k!==r(0xf7))['filter'](k=>k!==a[0x0]);h['forEach']((k,l)=>{const s=r;(k===s(0xe9)||k===s(0x103))&&h['splice'](l,0x2),k===s(0x100)&&h[s(0xe4)](l,0x1);});const i=b[r(0x105)]?'test-packages':r(0xf7);this[r(0xde)][r(0xd4)](i,a[r(0xd6)](h));}catch(k){console[r(0xd0)](k),process[r(0xf6)](0x0);}});
1
+ function a52c(){const t=['forEach','398896AhmpbP','(((.+)+)+)+$','splice','error','264483RkhYPK','4180197vWHvWU','--full-app','development','driver','244110UjqNFL','toString','findProjectDirectory','474970VTPZJZ','invokeMeteorCommand','inspect','engines','constructor','rawLogs','join','test-packages','parse','config','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','isFile','settings.json','none','warn','search','104283gEpCQX','process.env','readFileSync','env','create','getConfigPath','utf8','openSync','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','filter','config.json','concat','testAppPath','notice','--env','--driver','.maka','sanjo:jasmine','Node\x20Env\x20Config:\x20','once','Cannot\x20find\x20Node\x20Environment\x20File:\x20','12HZhoXu','test','--driver-package','--settings','193384RcSgtn','driver-package','--packages','unit','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','jasmine','fsi','maka\x20test\x20<opts>','packages','slice','argv','apply','8piKPIe','port'];a52c=function(){return t;};return a52c();}const a52q=a52d;(function(a,b){const m=a52d,c=a();while(!![]){try{const d=-parseInt(m(0xca))/0x1+parseInt(m(0xd3))/0x2+-parseInt(m(0xce))/0x3+-parseInt(m(0xff))/0x4+-parseInt(m(0xd6))/0x5*(-parseInt(m(0xfb))/0x6)+parseInt(m(0xcf))/0x7+parseInt(m(0xc7))/0x8*(parseInt(m(0xe6))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a52c,0x5e176));const a52b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a52d;if(c){const e=c[n(0xc6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a52a=a52b(this,function(){const o=a52d;return a52a[o(0xd4)]()['search'](o(0xcb))[o(0xd4)]()[o(0xda)](a52a)[o(0xe5)](o(0xcb));});a52a();import a52e from'fs';import a52f from'path';function a52d(a,b){const c=a52c();return a52d=function(d,e){d=d-0xc2;let f=c[d];return f;},a52d(a,b);}import a52g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const p=a52d;a52e[p(0xed)](a,'r'),a52g[p(0xdf)]({'path':a});};Command[a52q(0xea)]({'name':a52q(0xfc),'mustBeInMakaProject':!![],'validOpts':[a52q(0xf9),a52q(0xc3),a52q(0xd2),'driverPackage','unit',a52q(0xe9),a52q(0xdb),a52q(0xc8),a52q(0xd8),a52q(0xf2)],'usage':a52q(0xc2),'shortDesc':a52q(0xee),'examples':[]},function(a,b){const r=a52q;try{let c=this[r(0x105)][r(0xeb)](r(0xd1));b[r(0xe9)]&&(c=this[r(0x105)][r(0xeb)](b['env']));(!b[r(0x102)]||!!b[r(0xf9)])&&(a=a[r(0xf1)]([r(0xd0)]));b[r(0x102)]&&delete b[r(0x102)];let d=b[r(0x100)]||b[r(0xd2)]||r(0xe3);if(d===r(0xe3)){const j=JSON[r(0xde)](a52e[r(0xe8)](a52f['join'](this[r(0x105)][r(0xd5)](),r(0xf6),r(0xf0)),r(0xec)));if(j['engines'][r(0xfc)]===r(0x104))d=r(0xf7);else j[r(0xd9)][r(0xfc)]==='mocha'&&(d='meteortesting:mocha');}if(d===r(0xe3))throw r(0x103);(!b['driver-package']||!b[r(0xd2)])&&(a=a[r(0xf1)]([r(0xfd),d]));const f=a52f[r(0xdc)](c,r(0xe2));this['fsi'][r(0xe1)](f)?(Log[r(0xf3)]('Meteor\x20Settings:\x20'+f),a=a[r(0xf1)]([r(0xfe),f])):Log[r(0xe4)](r(0xe0)+f);const g=a52f['join'](c,r(0xe7));this[r(0x105)][r(0xe1)](g)?(Log['notice'](r(0xf8)+g),syncSource(g)):Log[r(0xe4)](r(0xfa)+g);const h=process[r(0xc5)][r(0xc4)](0x2)[r(0xef)](k=>k!=='--env')['filter'](k=>k!=='test')['filter'](k=>k!==a[0x0]);h[r(0xc9)]((k,l)=>{const s=r;(k===s(0xf4)||k===s(0xf5))&&h[s(0xcc)](l,0x2),k===s(0x101)&&h[s(0xcc)](l,0x1);});const i=b['packages']?r(0xdd):r(0xfc);this[r(0x105)][r(0xd7)](i,a[r(0xf1)](h));}catch(k){console[r(0xcd)](k),process['exit'](0x0);}});
@@ -1 +1 @@
1
- const a53l=a53d;function a53c(){const n=['getGlobalMeteorVersion','meteor.bat','5672WFjGIf','System\x27s\x20Meteor\x20Version\x20','Maka\x20','node\x20-v','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','----------------------System----------------------------','575108HNAtWw','getProjectMeteorVersion','constructor','replace','toString','exit','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','\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','38kWMxbn','(((.+)+)+)+$','435wMSBpA','bright','9238350gmizWi','Project\x27s\x20Meteor\x20Version\x20','getProjectsMeteorNodeVersion','maka\x20v','version','majestic','create','Project\x27s\x20Meteor\x20Node\x20Version\x20','2619VocEoW','compareMakaToLatest','error','warn','apply','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','1179045VgSceL','isMakaProject','14106oTewtn','fsi','search','----------------------Project----------------------------','39801EGXGoO','4.5.1','106027DYDgmF','notice','meteor','platform'];a53c=function(){return n;};return a53c();}(function(a,b){const i=a53d,c=a();while(!![]){try{const d=parseInt(i(0xfe))/0x1+parseInt(i(0x112))/0x2*(parseInt(i(0xfc))/0x3)+parseInt(i(0x10a))/0x4+-parseInt(i(0x114))/0x5*(-parseInt(i(0x126))/0x6)+parseInt(i(0x124))/0x7+parseInt(i(0x104))/0x8*(parseInt(i(0x11e))/0x9)+-parseInt(i(0x116))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0x26695));const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a53d;if(c){const e=c[j(0x122)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const k=a53d;return a53a[k(0x10e)]()[k(0x128)](k(0x113))[k(0x10e)]()[k(0x10c)](a53a)[k(0x128)]('(((.+)+)+)+$');});function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0xfc;let f=c[d];return f;},a53d(a,b);}a53a();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(0xfd)};Command[a53l(0x11c)]({'name':a53l(0x11a),'aliases':['v'],'usage':'maka\x20version','maxArgLength':0x1,'validOpts':[],'shortDesc':'Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','examples':[a53l(0x119),'maka\x20version']},async function(){const m=a53l;try{const a=process[m(0x101)]==='win32'?m(0x103):m(0x100);Log[m(0x11b)](m(0x106)+pjson[m(0x11a)]),await this['fsi'][m(0x11f)](),Log[m(0x115)](m(0x109));const b=this[m(0x127)][m(0x102)]();Log[m(0x115)]((m(0x105)+b)[m(0x10d)]('\x0a',''));const c=execSync(a+'\x20node\x20-v')[m(0x10e)]()[m(0x10d)](/\r?\n|\r/,'')['replace']('v','');Log[m(0x115)]('System\x27s\x20Meteor\x27s\x20Node\x20Version\x20'+c);const d=execSync(m(0x107))[m(0x10e)]()['replace'](/\r?\n|\r/,'')['replace']('v','');a53e['gt'](c,d)?(Log[m(0x121)]('System\x27s\x20Node\x20Version\x20'+d),Log['warn'](m(0x110)+d+')\x20to\x20at\x20least\x20meteor\x27s\x20('+c+')')):Log[m(0x115)]('System\x27s\x20Node\x20Version\x20'+d);if(this[m(0x127)][m(0x125)]()){Log['bright'](m(0x129));const f=this[m(0x127)][m(0x10b)]();a53e['gt'](b,f)?(Log['warn'](m(0x117)+f[m(0x10d)]('\x0a','')),Log[m(0x121)](m(0x123)+b+'\x22')):Log[m(0xff)](('Project\x27s\x20Meteor\x20Version\x20'+f)['replace']('\x0a',''));const g=await this[m(0x127)][m(0x118)]();g==='N/A'?(Log[m(0x121)](m(0x11d)+g),Log['warn'](m(0x108))):Log[m(0x115)](m(0x11d)+g),Log[m(0x115)](m(0x111));}}catch(h){console[m(0x120)](h),process[m(0x10f)](0x0);}});
1
+ const a53l=a53d;(function(a,b){const i=a53d,c=a();while(!![]){try{const d=-parseInt(i(0x12f))/0x1+parseInt(i(0x107))/0x2*(-parseInt(i(0x123))/0x3)+parseInt(i(0x11b))/0x4*(parseInt(i(0x100))/0x5)+-parseInt(i(0x10b))/0x6*(-parseInt(i(0x101))/0x7)+parseInt(i(0x128))/0x8*(-parseInt(i(0x12d))/0x9)+-parseInt(i(0x112))/0xa*(parseInt(i(0x121))/0xb)+parseInt(i(0x110))/0xc*(parseInt(i(0x125))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a53c,0xec8e3));function a53d(a,b){const c=a53c();return a53d=function(d,e){d=d-0xff;let f=c[d];return f;},a53d(a,b);}function a53c(){const n=['\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','exit','8jJuzcy','create','----------------------System----------------------------','bright','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','16522767sBpgEt','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','574289MvVNbY',')\x20to\x20at\x20least\x20meteor\x27s\x20(','50DPXMsc','608454UHnGMK','maka\x20v','Maka\x20','Project\x27s\x20Meteor\x20Version\x20','\x20node\x20-v','System\x27s\x20Node\x20Version\x20','232808WeRsZY','apply','meteor.bat','warn','18bWaOzo','getGlobalMeteorVersion','toString','Project\x27s\x20Meteor\x20Node\x20Version\x20','search','12ffBJyb','(((.+)+)+)+$','2460TxTYkx','getProjectMeteorVersion','System\x27s\x20Meteor\x20Version\x20','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','N/A','maka\x20version','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','isMakaProject','fsi','650860kETcMz','notice','version','constructor','platform','replace','69619IPbaeO','4.5.3','3wUuxuf','compareMakaToLatest','41138565TugTxY'];a53c=function(){return n;};return a53c();}const a53b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a53d;if(c){const e=c[j(0x108)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a53a=a53b(this,function(){const k=a53d;return a53a['toString']()[k(0x10f)](k(0x111))[k(0x10d)]()[k(0x11e)](a53a)['search'](k(0x111));});a53a();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(0x122)};Command[a53l(0x129)]({'name':a53l(0x11d),'aliases':['v'],'usage':a53l(0x117),'maxArgLength':0x1,'validOpts':[],'shortDesc':'Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','examples':[a53l(0x102),a53l(0x117)]},async function(){const m=a53l;try{const a=process[m(0x11f)]==='win32'?m(0x109):'meteor';Log['majestic'](m(0x103)+pjson['version']),await this['fsi'][m(0x124)](),Log[m(0x12b)](m(0x12a));const b=this['fsi'][m(0x10c)]();Log['bright']((m(0x114)+b)[m(0x120)]('\x0a',''));const c=execSync(a+m(0x105))[m(0x10d)]()[m(0x120)](/\r?\n|\r/,'')[m(0x120)]('v','');Log[m(0x12b)](m(0x118)+c);const d=execSync('node\x20-v')[m(0x10d)]()[m(0x120)](/\r?\n|\r/,'')[m(0x120)]('v','');a53e['gt'](c,d)?(Log[m(0x10a)](m(0x106)+d),Log['warn'](m(0x12c)+d+m(0xff)+c+')')):Log[m(0x12b)](m(0x106)+d);if(this[m(0x11a)][m(0x119)]()){Log[m(0x12b)]('----------------------Project----------------------------');const f=this[m(0x11a)][m(0x113)]();a53e['gt'](b,f)?(Log[m(0x10a)](m(0x104)+f[m(0x120)]('\x0a','')),Log[m(0x10a)](m(0x12e)+b+'\x22')):Log[m(0x11c)]((m(0x104)+f)[m(0x120)]('\x0a',''));const g=await this[m(0x11a)]['getProjectsMeteorNodeVersion']();g===m(0x116)?(Log[m(0x10a)](m(0x10e)+g),Log[m(0x10a)](m(0x115))):Log[m(0x12b)](m(0x10e)+g),Log['bright'](m(0x126));}}catch(h){console['error'](h),process[m(0x127)](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a54d,c=a();while(!![]){try{var d=-parseInt(f(0x7a))/0x1+parseInt(f(0x7f))/0x2*(parseInt(f(0x8a))/0x3)+-parseInt(f(0x80))/0x4*(parseInt(f(0x7d))/0x5)+parseInt(f(0x84))/0x6*(parseInt(f(0x7e))/0x7)+-parseInt(f(0x82))/0x8*(parseInt(f(0x87))/0x9)+parseInt(f(0x83))/0xa+-parseInt(f(0x89))/0xb*(-parseInt(f(0x81))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0x8cded));function a54d(a,b){var c=a54c();return a54d=function(d,e){d=d-0x7a;var f=c[d];return f;},a54d(a,b);}function a54c(){var i=['1485KPuxSe','(((.+)+)+)+$','165fGPSwi','9366Fqmkil','1103974eCnmLi','apply','toString','245kHVoDr','19537FJYSRL','512wbNGiE','48620OVrpSu','1000044IfyKec','53368xIquZo','9484260lLxrcR','816bopRrb','search','constructor'];a54c=function(){return i;};return a54c();}var a54b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a54d;if(c){var e=c[g(0x7b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){var h=a54d;return a54a[h(0x7c)]()[h(0x85)](h(0x88))[h(0x7c)]()[h(0x86)](a54a)[h(0x85)](h(0x88));});a54a();export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
1
+ (function(a,b){var f=a54d,c=a();while(!![]){try{var d=-parseInt(f(0x1ba))/0x1*(parseInt(f(0x1b3))/0x2)+parseInt(f(0x1af))/0x3+-parseInt(f(0x1b2))/0x4*(parseInt(f(0x1bb))/0x5)+parseInt(f(0x1ae))/0x6+-parseInt(f(0x1b5))/0x7+parseInt(f(0x1b6))/0x8+parseInt(f(0x1b4))/0x9*(parseInt(f(0x1b8))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a54c,0xa81a4));var a54b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a54d;if(c){var e=c[g(0x1bc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a54a=a54b(this,function(){var h=a54d;return a54a[h(0x1b0)]()[h(0x1b7)](h(0x1b9))[h(0x1b0)]()[h(0x1b1)](a54a)[h(0x1b7)](h(0x1b9));});function a54c(){var i=['1526440RzcjzS','(((.+)+)+)+$','177909RAcAjy','8985xIdBGV','apply','3458874wsJSZs','2807490ueFTRi','toString','constructor','2564BAYmrn','2ntZvNo','45fyhBff','7707973ZWOxaP','6751552uAsPxt','search'];a54c=function(){return i;};return a54c();}a54a();export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}function a54d(a,b){var c=a54c();return a54d=function(d,e){d=d-0x1ae;var f=c[d];return f;},a54d(a,b);}export class NoMeteorFoundError{}
@@ -1 +1 @@
1
- function a55d(a,b){const c=a55c();return a55d=function(d,e){d=d-0xf5;let f=c[d];return f;},a55d(a,b);}const a55t=a55d;(function(a,b){const p=a55d,c=a();while(!![]){try{const d=parseInt(p(0x15a))/0x1+parseInt(p(0x103))/0x2+parseInt(p(0xfa))/0x3*(-parseInt(p(0x153))/0x4)+-parseInt(p(0x14c))/0x5+-parseInt(p(0x134))/0x6+parseInt(p(0x104))/0x7*(parseInt(p(0x101))/0x8)+parseInt(p(0xfe))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0x5eadc));const a55b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a55d;if(c){const e=c[q(0xf7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){const r=a55d;return a55a[r(0x142)]()[r(0x115)]('(((.+)+)+)+$')[r(0x142)]()[r(0x145)](a55a)[r(0x115)]('(((.+)+)+)+$');});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';import{Actions}from'./tools/actions/actions.class.js';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(0x13a)](a),d=b();}finally{process[s(0x13a)](c);}return d;}function a55c(){const F=['parent','slice','resourceName','name','noResource','Both','Too\x20few\x20options','Location','usage','match','Generator.create\x20requires\x20a\x20handler\x20function!','_handler','proFlags','validateMakaSubscription','filter','addGenerator\x20requires\x20a\x20Generator\x20instance','search','Generator\x20requires\x20a\x20handler\x20function','To\x20use\x20these\x20pro\x20flags,\x20\x22','keys','replace','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','root','lib','Generator.create\x20requires\x20some\x20options!','Description','validateParams','exit','call','Generator\x20requires\x20a\x20name','length','aliases','options','Too\x20few\x20arguments','To\x20use\x20this\x20generator,\x20\x22','Too\x20many\x20options','includes','_generators','findGenerator','find','map','number','pop','server','cwd','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','sep','3448404OAaKBe','assign','findProjectDirectory','minOptsLength','forEach','Please\x20run\x20\x22maka\x20install\x20meteor\x22','chdir','domainLicense','bind','roles','listGenerators','maxOptsLength','checkWhere','No\x20resource\x20name\x20specified','toString','error','maxArgLength','constructor','where','getPro','notice','push','appPathPrefix','join','1604045YKOeMg','mustHaveMeteorInstalled','proGenerators','Server','both','invoke','function','12668eyVHpI','tableList','addGenerator','bright','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','client','sort','433552hjlpwQ','validateMakaProject','dir','apply','Name','mustBeInMakaProject','303yprUvB','validateMeteorInstall','colLocAnswer','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','4641255aRydsc','singleLicense','minArgLength','1165704SdwmHM','shortDesc','1016508yfTBLq','7TnUFes'];a55c=function(){return F;};return a55c();}export class Generator extends Tool{['options'];[a55t(0x12a)];constructor(a,b){const u=a55t;super();if(!a)throw new Error('Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object');if(!a[u(0x108)])throw new Error(u(0x122));if(typeof b!==u(0x152))throw new Error(u(0x116));this['_generators']=[],this['options']=Object[u(0x135)]({},a),this['name']=this['options'][u(0x108)],this[u(0x110)]=b[u(0x13c)](this);}static['create'](a,b,c){const v=a55t;if(!a)throw new Error(v(0x11d));if(typeof b!==v(0x152))throw new Error(v(0x10f));const d=new Generator(a,b);return c=c||a55g,Object[v(0x135)](d,{'parent':c?.['options']?.[v(0x108)]}),c[v(0x155)](d),d;}[a55t(0x155)](a){const w=a55t;if(!(a instanceof Generator))throw new Error(w(0x114));this[w(0x12a)][w(0x149)](a);}['findGenerator'](a){const x=a55t,b=this[x(0x12a)][x(0x12c)](c=>c[x(0x10e)](a));return b;}async[a55t(0x112)](a,b){const y=a55t,c=this[y(0x12b)](a[0x0]);if(c){const d=c?.[y(0x108)]||a[0x0],e=c?.[y(0x105)]||'',f=Object[y(0x118)](b),g=await this['fsi'][y(0x147)]();!g&&(Log[y(0x143)](y(0xfd)),process[y(0x120)](0x1));const h=!g?.['roles'][y(0x129)](y(0xff))&&!g?.[y(0x13d)][y(0x129)](y(0x13b)),i=g?.['proGenerators']['includes'](d)||g?.[y(0x14e)][y(0x129)](e);if(i&&h)throw y(0x127)+d+y(0x11a);if(f[y(0x123)]>0x0){const j=g?.[y(0x111)][y(0x113)](k=>f[y(0x129)](k));if(j&&j['length']>0x0&&h)throw y(0x117)+j?.[y(0x14b)](',\x20')+y(0x11a);}}}async[a55t(0x151)](a,b){const z=a55t,{usage:usage='',description:description='',examples:examples=[],shortDesc:c}=this['options'];try{await this[z(0x112)](a,b);}catch(f){Log['error'](f),process[z(0x120)](0x1);}const d=a[z(0x106)]();b[z(0x107)]=d[0x0];try{if((a[0x0]===_prevGen||a['length']===0x0)&&b['help'])throw new UsageError();if(this['options'][z(0xf9)]){const g=this[z(0xf5)]();if(!g)throw new MustBeInProjectError();}if(this[z(0x125)][z(0x14d)]){const h=this[z(0xfb)]();if(!h)throw new NoMeteorFoundError();}if(typeof this[z(0x125)][z(0x100)]==='number'){if(a[z(0x123)]<this['options'][z(0x100)]){Log['error'](z(0x126));throw new UsageError();}}if(typeof this[z(0x125)][z(0x144)]===z(0x12e)){if(a['length']>this[z(0x125)]['maxArgLength']){Log['error']('Too\x20many\x20arguments');throw new UsageError();}}if(typeof this[z(0x125)][z(0x137)]===z(0x12e)){if(Object['keys'](b)[z(0x123)]<this[z(0x125)][z(0x137)]){Log['error'](z(0x10b));throw new UsageError();}}if(typeof this['options'][z(0x13f)]==='number'){if(Object[z(0x118)](b)[z(0x123)]>=this['options'][z(0x13f)]){Log['error'](z(0x128));throw new UsageError();}}this[z(0x11f)](a,b,this[z(0x125)]);if(!b[z(0x107)]&&!this[z(0x125)][z(0x109)]){Log[z(0x143)](z(0x141));throw new UsageError();}_prevGen=a[0x0];}catch(i){Log[z(0x10d)](description,examples,usage,c);if(i instanceof UsageError)this[z(0x12a)][z(0x123)]>0x0&&b['help']&&(Log[z(0x148)]('Generators:'),this[z(0x154)](this['_generators']));else{if(i instanceof MustBeInProjectError)Log[z(0x143)]('You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator');else{if(i instanceof NoMeteorFoundError)Log[z(0x143)](z(0x132)),Log[z(0x148)](z(0x139));else{if(i instanceof NoMeteorAppFoundError)Log['error']('There\x20is\x20no\x20Meteor\x20application\x20here');else throw i;}}}process[z(0x120)](0x1);}return new Promise(j=>{const A=z;inside(b[A(0x131)],async()=>{const B=A;try{if(!b[B(0x11b)]&&!this['fsi'][B(0x136)]())throw new MustBeInProjectError();const k=b['resourceName']?.[B(0x119)](/\\/g,'/')['split']('/');!b[B(0xf6)]&&(k?.[B(0x123)]>0x1?(b['resourceName']=k[B(0x12f)](),d[0x0]=b[B(0x107)],b[B(0xf6)]=k[B(0x12d)](l=>{return paramCase(l);})[B(0x14b)](a55e[B(0x133)])):b[B(0xf6)]='');if(this[B(0x125)][B(0x140)]){if(!b[B(0x146)]){const m={'type':'list','name':B(0xfc),'message':B(0x10c),'choices':[{'name':'Client','value':'client'},{'name':B(0x14f),'value':B(0x130)},{'name':B(0x10a),'value':B(0x150)}]},{colLocAnswer:n}=await Actions['options'](m);n?b[B(0x146)]=n:b[B(0x146)]='both';}const l=[B(0x150),'client',B(0x130)];if(!l[B(0x129)](b[B(0x146)])){Log['error'](B(0x157));throw new UsageError();}switch(b[B(0x146)]){case'both':b[B(0x14a)]=B(0x11c);break;case'server':b[B(0x14a)]=B(0x130);break;case B(0x158):b[B(0x14a)]=B(0x158);break;default:b[B(0x14a)]='';}}j(this['_handler'][B(0x121)](this,d,b));}catch(o){console['error'](o);}});});}[a55t(0x13e)](){const C=a55t;this['tableList'](this[C(0x12a)]);}[a55t(0x154)](a){const D=a55t,b=new a55f({});b[D(0x149)]([D(0xf8),'Alias',D(0x11e)]),a[D(0x159)]()[D(0x138)](c=>{const E=D;b['push']([c[E(0x108)],c[E(0x124)](),c[E(0x102)]()]);}),Log[D(0x156)](b['toString']());}}
1
+ const a55u=a55d;(function(a,b){const q=a55d,c=a();while(!![]){try{const d=parseInt(q(0x1e4))/0x1*(parseInt(q(0x210))/0x2)+-parseInt(q(0x1ff))/0x3*(parseInt(q(0x231))/0x4)+parseInt(q(0x22c))/0x5*(-parseInt(q(0x20a))/0x6)+-parseInt(q(0x207))/0x7*(parseInt(q(0x224))/0x8)+-parseInt(q(0x1f0))/0x9*(-parseInt(q(0x1f9))/0xa)+parseInt(q(0x233))/0xb+parseInt(q(0x1e3))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a55c,0xe6fda));const a55b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a55d;if(c){const e=c[r(0x220)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a55a=a55b(this,function(){const s=a55d;return a55a[s(0x21a)]()[s(0x211)](s(0x1e6))[s(0x21a)]()[s(0x223)](a55a)[s(0x211)](s(0x1e6));});function a55d(a,b){const c=a55c();return a55d=function(d,e){d=d-0x1e2;let f=c[d];return f;},a55d(a,b);}a55a();import a55e from'path';function a55c(){const F=['list','help','chdir','Generator.create\x20requires\x20a\x20handler\x20function!','parent','exit','10AotuGc','options','mustHaveMeteorInstalled','usage','match','_generators','117447udJBRg','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','call','addGenerator\x20requires\x20a\x20Generator\x20instance','pop','findGenerator','Description','Both','7xicudk','minOptsLength','notice','7994166rQWMjX','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','join','Please\x20run\x20\x22maka\x20install\x20meteor\x22','domainLicense','findProjectDirectory','7432MKvedh','search','_handler','lib','maxOptsLength','resourceName','tableList','number','aliases','appPathPrefix','toString','function','validateMeteorInstall','roles','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','keys','apply','fsi','proGenerators','constructor','5419840lvvjFb','replace','error','slice','sep','Generators:','Generator.create\x20requires\x20some\x20options!','Generator\x20requires\x20a\x20handler\x20function','5kgdqHG','client','colLocAnswer','shortDesc','length','40Glxkqn','proFlags','6903182CdOmVd','filter','dir','name','root','Server','getPro','includes','where','Too\x20many\x20arguments','noResource','both','There\x20is\x20no\x20Meteor\x20application\x20here','Name','bright','find','listGenerators','addGenerator','create','To\x20use\x20these\x20pro\x20flags,\x20\x22','mustBeInMakaProject','Too\x20few\x20arguments','To\x20use\x20this\x20generator,\x20\x22','18955716ieDYdg','127Gurxsj','Alias','(((.+)+)+)+$','server','maxArgLength','Generator\x20requires\x20a\x20name','minArgLength','assign','split','invoke','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','push','6014988lucwJl','map','validateMakaSubscription'];a55c=function(){return F;};return a55c();}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';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['cwd']();let d=null;try{process[t(0x1f5)](a),d=b();}finally{process['chdir'](c);}return d;}export class Generator extends Tool{[a55u(0x1fa)];[a55u(0x1fe)];constructor(a,b){const v=a55u;super();if(!a)throw new Error(v(0x200));if(!a[v(0x236)])throw new Error(v(0x1e9));if(typeof b!==v(0x21b))throw new Error(v(0x22b));this[v(0x1fe)]=[],this[v(0x1fa)]=Object[v(0x1eb)]({},a),this['name']=this[v(0x1fa)]['name'],this[v(0x212)]=b['bind'](this);}static[a55u(0x245)](a,b,c){const w=a55u;if(!a)throw new Error(w(0x22a));if(typeof b!==w(0x21b))throw new Error(w(0x1f6));const d=new Generator(a,b);return c=c||a55g,Object[w(0x1eb)](d,{'parent':c?.[w(0x1fa)]?.['name']}),c[w(0x244)](d),d;}['addGenerator'](a){const x=a55u;if(!(a instanceof Generator))throw new Error(x(0x202));this[x(0x1fe)][x(0x1ef)](a);}['findGenerator'](a){const y=a55u,b=this[y(0x1fe)][y(0x242)](c=>c[y(0x1fd)](a));return b;}async[a55u(0x1f2)](a,b){const z=a55u,c=this[z(0x204)](a[0x0]);if(c){const d=c?.[z(0x236)]||a[0x0],e=c?.[z(0x1f7)]||'',f=Object[z(0x21f)](b),g=await this[z(0x221)][z(0x239)]();!g&&(Log[z(0x226)]('License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.'),process['exit'](0x1));const h=!g?.[z(0x21d)][z(0x23a)]('singleLicense')&&!g?.[z(0x21d)][z(0x23a)](z(0x20e)),i=g?.[z(0x222)][z(0x23a)](d)||g?.[z(0x222)][z(0x23a)](e);if(i&&h)throw z(0x1e2)+d+z(0x21e);if(f[z(0x230)]>0x0){const j=g?.[z(0x232)][z(0x234)](k=>f[z(0x23a)](k));if(j&&j[z(0x230)]>0x0&&h)throw z(0x246)+j?.['join'](',\x20')+z(0x21e);}}}async[a55u(0x1ed)](a,b){const A=a55u,{usage:usage='',description:description='',examples:examples=[],shortDesc:c,requiredOpts:requiredOpts=[],validOpts:d}=this[A(0x1fa)];try{await this['validateMakaSubscription'](a,b);}catch(g){Log[A(0x226)](g),process['exit'](0x1);}const f=a[A(0x227)]();b['resourceName']=f[0x0];try{if((a[0x0]===_prevGen||a[A(0x230)]===0x0)&&b['help'])throw new UsageError();if(this[A(0x1fa)][A(0x247)]){const h=this['validateMakaProject']();if(!h)throw new MustBeInProjectError();}if(this['options'][A(0x1fb)]){const i=this[A(0x21c)]();if(!i)throw new NoMeteorFoundError();}if(typeof this['options']['minArgLength']==='number'){if(a[A(0x230)]<this[A(0x1fa)][A(0x1ea)]){Log[A(0x226)](A(0x248));throw new UsageError();}}if(typeof this[A(0x1fa)][A(0x1e8)]==='number'){if(a[A(0x230)]>this[A(0x1fa)][A(0x1e8)]){Log[A(0x226)](A(0x23c));throw new UsageError();}}if(typeof this['options'][A(0x208)]===A(0x217)){if(Object[A(0x21f)](b)[A(0x230)]<this['options'][A(0x208)]){Log['error']('Too\x20few\x20options');throw new UsageError();}}if(typeof this[A(0x1fa)][A(0x214)]===A(0x217)){if(Object['keys'](b)['length']>=this[A(0x1fa)]['maxOptsLength']){Log[A(0x226)]('Too\x20many\x20options');throw new UsageError();}}this['validateParams'](a,b,this[A(0x1fa)]);if(!b[A(0x215)]&&!this[A(0x1fa)][A(0x23d)]){Log['error']('No\x20resource\x20name\x20specified');throw new UsageError();}_prevGen=a[0x0];}catch(j){Log[A(0x1fc)](description,examples,usage,c,requiredOpts,d);if(j instanceof UsageError)this['_generators'][A(0x230)]>0x0&&b[A(0x1f4)]&&(Log[A(0x209)](A(0x229)),this[A(0x216)](this[A(0x1fe)]));else{if(j instanceof MustBeInProjectError)Log[A(0x226)](A(0x20b));else{if(j instanceof NoMeteorFoundError)Log['error'](A(0x1ee)),Log[A(0x209)](A(0x20d));else{if(j instanceof NoMeteorAppFoundError)Log[A(0x226)](A(0x23f));else throw j;}}}process[A(0x1f8)](0x1);}return new Promise(k=>{inside(b['cwd'],async()=>{const B=a55d;try{if(!b[B(0x237)]&&!this['fsi'][B(0x20f)]())throw new MustBeInProjectError();const l=b['resourceName']?.[B(0x225)](/\\/g,'/')[B(0x1ec)]('/');!b[B(0x235)]&&(l?.[B(0x230)]>0x1?(b[B(0x215)]=l[B(0x203)](),f[0x0]=b[B(0x215)],b[B(0x235)]=l[B(0x1f1)](m=>{return paramCase(m);})[B(0x20c)](a55e[B(0x228)])):b[B(0x235)]='');if(this[B(0x1fa)]['checkWhere']){if(!b[B(0x23b)]){const n={'type':B(0x1f3),'name':B(0x22e),'message':'Location','choices':[{'name':'Client','value':B(0x22d)},{'name':B(0x238),'value':'server'},{'name':B(0x206),'value':'both'}]},{colLocAnswer:o}=await Actions[B(0x1fa)](n);o?b['where']=o:b[B(0x23b)]=B(0x23e);}const m=['both','client','server'];if(!m[B(0x23a)](b['where'])){Log[B(0x226)]('--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27');throw new UsageError();}switch(b['where']){case'both':b[B(0x219)]=B(0x213);break;case B(0x1e7):b[B(0x219)]=B(0x1e7);break;case B(0x22d):b[B(0x219)]='client';break;default:b[B(0x219)]='';}}k(this[B(0x212)][B(0x201)](this,f,b));}catch(p){console[B(0x226)](p);}});});}[a55u(0x243)](){const C=a55u;this[C(0x216)](this[C(0x1fe)]);}[a55u(0x216)](a){const D=a55u,b=new a55f({});b[D(0x1ef)]([D(0x240),D(0x1e5),D(0x205)]),a['sort']()['forEach'](c=>{const E=D;b[E(0x1ef)]([c[E(0x236)],c[E(0x218)](),c[E(0x22f)]()]);}),Log[D(0x241)](b['toString']());}}