@maka/maka-cli 4.5.46 → 4.5.48

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 (134) 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/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/build/_index.js +1 -1
  20. package/bundle/obf/src/commands/build/build.js +1 -1
  21. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/create.js +1 -1
  23. package/bundle/obf/src/commands/debug.js +1 -1
  24. package/bundle/obf/src/commands/deploy.js +1 -1
  25. package/bundle/obf/src/commands/game/_index.js +1 -1
  26. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/game/play.command.js +1 -1
  28. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  29. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  30. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  31. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  63. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  64. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  65. package/bundle/obf/src/commands/generate.js +1 -1
  66. package/bundle/obf/src/commands/get/_index.js +1 -1
  67. package/bundle/obf/src/commands/get/get.command.js +1 -1
  68. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/help.js +1 -1
  72. package/bundle/obf/src/commands/jsdoc.js +1 -1
  73. package/bundle/obf/src/commands/lint.js +1 -1
  74. package/bundle/obf/src/commands/login.js +1 -1
  75. package/bundle/obf/src/commands/logout.js +1 -1
  76. package/bundle/obf/src/commands/logs.js +1 -1
  77. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  78. package/bundle/obf/src/commands/murder.js +1 -1
  79. package/bundle/obf/src/commands/proxy.js +1 -1
  80. package/bundle/obf/src/commands/reconfig.js +1 -1
  81. package/bundle/obf/src/commands/run/_index.js +1 -1
  82. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  83. package/bundle/obf/src/commands/run/run.command.js +1 -1
  84. package/bundle/obf/src/commands/set/_index.js +1 -1
  85. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  86. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  87. package/bundle/obf/src/commands/set/set.command.js +1 -1
  88. package/bundle/obf/src/commands/ssh.js +1 -1
  89. package/bundle/obf/src/commands/ssl.js +1 -1
  90. package/bundle/obf/src/commands/test.js +1 -1
  91. package/bundle/obf/src/commands/version.js +1 -1
  92. package/bundle/obf/src/error.js +1 -1
  93. package/bundle/obf/src/exec.js +1 -1
  94. package/bundle/obf/src/generator.js +1 -1
  95. package/bundle/obf/src/generators/_index.js +1 -1
  96. package/bundle/obf/src/generators/api.js +1 -1
  97. package/bundle/obf/src/generators/collection.js +1 -1
  98. package/bundle/obf/src/generators/component.js +1 -1
  99. package/bundle/obf/src/generators/config.js +1 -1
  100. package/bundle/obf/src/generators/dbc.js +1 -1
  101. package/bundle/obf/src/generators/dockerfile.js +1 -1
  102. package/bundle/obf/src/generators/hook.js +1 -1
  103. package/bundle/obf/src/generators/kit.js +1 -1
  104. package/bundle/obf/src/generators/layout.js +1 -1
  105. package/bundle/obf/src/generators/maka.gen.js +1 -1
  106. package/bundle/obf/src/generators/methods.js +1 -1
  107. package/bundle/obf/src/generators/package.js +1 -1
  108. package/bundle/obf/src/generators/page.js +1 -1
  109. package/bundle/obf/src/generators/publish.js +1 -1
  110. package/bundle/obf/src/generators/route.js +1 -1
  111. package/bundle/obf/src/generators/service.js +1 -1
  112. package/bundle/obf/src/generators/services/_index.js +1 -1
  113. package/bundle/obf/src/generators/services/openssl.js +1 -1
  114. package/bundle/obf/src/generators/services/translation.js +1 -1
  115. package/bundle/obf/src/maka.js +1 -1
  116. package/bundle/obf/src/tool.js +1 -1
  117. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  118. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  119. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  120. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  121. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  122. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  123. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  124. package/bundle/obf/src/tools/https/https.class.js +1 -1
  125. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  126. package/bundle/obf/src/tools/log/log.class.js +1 -1
  127. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  128. package/bundle/obf/src/tools/options/options.class.js +1 -1
  129. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  130. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  131. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  132. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  133. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  134. package/package.json +1 -1
@@ -1 +1 @@
1
- const a76j=a76d;(function(a,b){const g=a76d,c=a();while(!![]){try{const d=parseInt(g(0x11a))/0x1*(parseInt(g(0x129))/0x2)+-parseInt(g(0x11c))/0x3*(parseInt(g(0x124))/0x4)+parseInt(g(0x115))/0x5+parseInt(g(0x114))/0x6+-parseInt(g(0x125))/0x7*(-parseInt(g(0x12e))/0x8)+-parseInt(g(0x116))/0x9*(-parseInt(g(0x117))/0xa)+parseInt(g(0x113))/0xb*(-parseInt(g(0x118))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a76c,0x4ec66));const a76b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a76d;if(c){const e=c[h(0x12a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a76a=a76b(this,function(){const i=a76d;return a76a[i(0x128)]()[i(0x126)](i(0x12b))[i(0x128)]()[i(0x123)](a76a)['search']('(((.+)+)+)+$');});a76a();import{Command}from'../command.js';function a76c(){const l=['toString','122326JQPGIw','apply','(((.+)+)+)+$','maybeProxyCommandToMeteor','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','246720jasoBk','maka\x20create\x20Todo','14619ucuKMf','2315844cLwCeg','613390UndksN','9pHpocp','4363390AWhHMr','7164hKxRwa','fsi','4leXuGF','exit','38328qLlIjQ','slice','maka\x20install\x20meteor','maka\x20--help','maka\x20<command>\x20[<args>]\x20[<opts>]','maka','findSubCommand','constructor','52AhwKZS','21CypeNW','search','maka\x20run'];a76c=function(){return l;};return a76c();}function a76d(a,b){const c=a76c();return a76d=function(d,e){d=d-0x112;let f=c[d];return f;},a76d(a,b);}const Maka=new Command({'name':a76j(0x121),'minArgLength':0x1,'shortDesc':a76j(0x12d),'validOpts':[],'usage':a76j(0x120),'disableAuthCheck':!![],'examples':[a76j(0x11f),a76j(0x11e),a76j(0x112),a76j(0x127)],'description':'\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.-:\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20:-.\x20\x20\x20\x20\x20:--\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::\x20\x20::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::::::\x20.:::::::\x20..\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20..:.....\x20.::..::.\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20.::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::::::\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20:--\x20\x20--\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.------\x20.-----:\x20\x20\x20\x20\x20\x20..\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20----.\x20\x20\x20\x20\x20.--\x20\x20-:\x20\x20\x20\x20\x20\x20::\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20\x20:::\x20:.\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20...\x20\x20\x20\x20\x20.::::::\x20\x20\x20\x20\x20\x20::\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:..\x20\x20\x20\x20::----::\x20.::\x20.::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-:::::\x20.-:\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::\x20.::\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20.:::..:::::\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20.:\x20--------\x20.-------.::\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20:-:\x20\x20-:\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20:-.\x20\x20\x20\x20\x20:--\x20\x20--\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.::::::\x20.::\x20\x20::\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20\x20::::::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::..-::.\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::....\x20\x20::..---:..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20.\x20.:::::::\x20\x20::..::.\x20..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20\x20:.\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:--\x20\x20\x20\x20\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-:\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20:\x0a.:..::...::.\x20\x20\x20....:\x20\x20\x20.:\x20\x20\x20::\x20\x20....:.\x20\x20\x20\x20\x20\x20\x20\x20.::::\x20\x20.:\x20\x20::\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20\x20....:-\x20\x20.-..:.\x20\x20\x20....:-\x20\x20...\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20.:\x20\x20\x20:-\x20\x20.-\x20\x20.:\x20\x20.:\x20\x20\x20:-\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a.:.\x20\x20\x20:.\x20\x20\x20.:\x20\x20....\x20:.\x20.:.\x20\x20..\x20\x20....\x20:.\x20\x20\x20\x20\x20\x20\x20.....\x20\x20.:.\x20.:.\x0a\x0a\x20\x20'},async function(a,b){const k=a76j;try{const c=a[0x0],d=this[k(0x122)](c);d?this['runSubCommand'](c,a[k(0x11d)](0x1),b):this[k(0x119)][k(0x12c)]();}catch(f){console['error'](f),process[k(0x11b)](0x1);}});export default Maka;
1
+ function a76d(a,b){const c=a76c();return a76d=function(d,e){d=d-0x1e0;let f=c[d];return f;},a76d(a,b);}const a76j=a76d;(function(a,b){const g=a76d,c=a();while(!![]){try{const d=-parseInt(g(0x1e9))/0x1*(parseInt(g(0x1fb))/0x2)+-parseInt(g(0x1eb))/0x3*(-parseInt(g(0x1f5))/0x4)+parseInt(g(0x1ea))/0x5+parseInt(g(0x1fa))/0x6*(-parseInt(g(0x1f3))/0x7)+-parseInt(g(0x1f8))/0x8*(-parseInt(g(0x1f6))/0x9)+parseInt(g(0x1e0))/0xa+-parseInt(g(0x1e3))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a76c,0x8020c));const a76b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a76d;if(c){const e=c[h(0x1e6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a76a=a76b(this,function(){const i=a76d;return a76a[i(0x1ee)]()[i(0x1e4)](i(0x1f4))[i(0x1ee)]()['constructor'](a76a)['search']('(((.+)+)+)+$');});a76a();import{Command}from'../command.js';const Maka=new Command({'name':a76j(0x1ef),'minArgLength':0x1,'shortDesc':a76j(0x1e1),'validOpts':[],'usage':a76j(0x1f9),'disableAuthCheck':!![],'examples':[a76j(0x1f1),a76j(0x1f2),a76j(0x1e2),a76j(0x1e5)],'description':a76j(0x1e7)},async function(a,b){const k=a76j;try{const c=a[0x0],d=this[k(0x1e8)](c);d?this['runSubCommand'](c,a['slice'](0x1),b):this[k(0x1ec)][k(0x1ed)]();}catch(f){console[k(0x1f0)](f),process[k(0x1f7)](0x1);}});function a76c(){const l=['2261020eksWAr','1133562vnJyqQ','fsi','maybeProxyCommandToMeteor','toString','maka','error','maka\x20--help','maka\x20install\x20meteor','7KvBPxT','(((.+)+)+)+$','8LxnZqq','9lmlQTn','exit','1975992pwiXVA','maka\x20<command>\x20[<args>]\x20[<opts>]','347202ENkWMJ','154hexihi','3364350ORcByg','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','maka\x20create\x20Todo','3958856kFmRId','search','maka\x20run','apply','\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.-:\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20:-.\x20\x20\x20\x20\x20:--\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::\x20\x20::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::::::\x20.:::::::\x20..\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20..:.....\x20.::..::.\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20.::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::::::\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20\x20::::::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::..-::.\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::....\x20\x20::..---:..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20.\x20.:::::::\x20\x20::..::.\x20..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20\x20:.\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:--\x20\x20\x20\x20\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-:\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20:\x0a.:..::...::.\x20\x20\x20....:\x20\x20\x20.:\x20\x20\x20::\x20\x20....:.\x20\x20\x20\x20\x20\x20\x20\x20.::::\x20\x20.:\x20\x20::\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20\x20....:-\x20\x20.-..:.\x20\x20\x20....:-\x20\x20...\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20.:\x20\x20\x20:-\x20\x20.-\x20\x20.:\x20\x20.:\x20\x20\x20:-\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a.:.\x20\x20\x20:.\x20\x20\x20.:\x20\x20....\x20:.\x20.:.\x20\x20..\x20\x20....\x20:.\x20\x20\x20\x20\x20\x20\x20.....\x20\x20.:.\x20.:.\x0a\x0a\x20\x20','findSubCommand','11023PehuCa'];a76c=function(){return l;};return a76c();}export default Maka;
@@ -1 +1 @@
1
- var a77i=a77d;(function(a,b){var f=a77d,c=a();while(!![]){try{var d=-parseInt(f(0x122))/0x1+-parseInt(f(0x10e))/0x2+parseInt(f(0x112))/0x3*(parseInt(f(0x114))/0x4)+-parseInt(f(0x121))/0x5+parseInt(f(0x110))/0x6+-parseInt(f(0x10d))/0x7*(parseInt(f(0x11e))/0x8)+parseInt(f(0x11c))/0x9*(parseInt(f(0x111))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0x7cb42));var a77b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a77d;if(c){var e=c[g(0x118)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){var h=a77d;return a77a[h(0x119)]()[h(0x117)](h(0x113))[h(0x119)]()[h(0x11f)](a77a)[h(0x117)](h(0x113));});a77a();function a77d(a,b){var c=a77c();return a77d=function(d,e){d=d-0x10d;var f=c[d];return f;},a77d(a,b);}import{Command}from'../command.js';function a77c(){var k=['log','160WhYmGF','constructor','exit','2774865epOYuV','234051qqQVnc','murder','error','199010QrUeTc','912434bFNMQY','font-family:\x20monospace','3333192vsocnt','170UHlaIn','1491DemKcm','(((.+)+)+)+$','3152VaCfMW','Murrrrderrrrr','%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','search','apply','toString','create','maka\x20murder','729243TTWcZN'];a77c=function(){return k;};return a77c();}Command[a77i(0x11a)]({'name':a77i(0x123),'usage':a77i(0x11b),'maxArgLength':0x1,'shortDesc':a77i(0x115),'validOpts':[]},async function(){var j=a77i;try{console[j(0x11d)](j(0x116),j(0x10f));}catch(a){console[j(0x124)](a),process[j(0x120)](0x0);}});
1
+ var a77h=a77d;(function(a,b){var f=a77d,c=a();while(!![]){try{var d=parseInt(f(0x1b9))/0x1+-parseInt(f(0x1b4))/0x2+-parseInt(f(0x1bd))/0x3*(parseInt(f(0x1aa))/0x4)+-parseInt(f(0x1bc))/0x5*(-parseInt(f(0x1ae))/0x6)+parseInt(f(0x1b8))/0x7*(parseInt(f(0x1b3))/0x8)+parseInt(f(0x1ab))/0x9+-parseInt(f(0x1af))/0xa*(parseInt(f(0x1b5))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0xca4d5));function a77d(a,b){var c=a77c();return a77d=function(d,e){d=d-0x1aa;var f=c[d];return f;},a77d(a,b);}var a77b=(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;};}()),a77a=a77b(this,function(){var g=a77d;return a77a[g(0x1b2)]()['search'](g(0x1ba))['toString']()[g(0x1b0)](a77a)['search'](g(0x1ba));});function a77c(){var j=['6358532EvmLTS','14142285KrFqcg','Murrrrderrrrr','log','6fmbtpw','4270mDIFsI','constructor','maka\x20murder','toString','10930152YNroom','519094fRuBEm','77011GnPgQg','create','exit','7WMsnOr','1384677wGKGQG','(((.+)+)+)+$','%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','6724625WfkgNq','3NyXOlr'];a77c=function(){return j;};return a77c();}a77a();import{Command}from'../command.js';Command[a77h(0x1b6)]({'name':'murder','usage':a77h(0x1b1),'maxArgLength':0x1,'shortDesc':a77h(0x1ac),'validOpts':[]},async function(){var i=a77h;try{console[i(0x1ad)](i(0x1bb),'font-family:\x20monospace');}catch(a){console['error'](a),process[i(0x1b7)](0x0);}});
@@ -1 +1 @@
1
- const a78q=a78d;(function(a,b){const n=a78d,c=a();while(!![]){try{const d=-parseInt(n(0x128))/0x1+-parseInt(n(0x139))/0x2+parseInt(n(0x12f))/0x3*(-parseInt(n(0x123))/0x4)+-parseInt(n(0x149))/0x5+parseInt(n(0x135))/0x6*(parseInt(n(0x145))/0x7)+parseInt(n(0x14e))/0x8+-parseInt(n(0x146))/0x9*(-parseInt(n(0x12c))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x58292));function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x120;let f=c[d];return f;},a78d(a,b);}const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a78d;if(c){const e=c[o(0x13e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const p=a78d;return a78a[p(0x127)]()[p(0x133)]('(((.+)+)+)+$')[p(0x127)]()[p(0x12d)](a78a)[p(0x133)]('(((.+)+)+)+$');});a78a();import a78e from'fs';import a78f from'path';import a78g from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a78h from'../generators/maka.gen.js';Command[a78q(0x141)]({'name':a78q(0x124),'usage':'maka\x20proxy','mustBeInMakaProject':!![],'validOpts':[a78q(0x120),a78q(0x129),a78q(0x14a),'targetHost'],'maxArgLength':0x1,'shortDesc':a78q(0x12b),'description':a78q(0x140),'examples':[a78q(0x14f),a78q(0x122),a78q(0x12e)]},async function(a,b){const r=a78q,c=this['fsi'][r(0x137)](),d=r(0x136),e=this[r(0x121)][r(0x142)](d),f=this['fsi'][r(0x13f)]({'configPath':e}),g=b['targetPort']?Number(b[r(0x129)]):0xbb8,h=b[r(0x14a)]?Number(b[r(0x14a)]):0xd73,i=b['targetHost']?b[r(0x126)]:r(0x147),j=a78f[r(0x13a)](f,c['appName']+r(0x125)),k=a78f[r(0x13a)](f,c[r(0x12a)]+r(0x14c));if(!this['fsi'][r(0x134)](j)||!this[r(0x121)][r(0x134)](k)){const m=a78h[r(0x144)]('sslconfig');m&&await m['invoke']([r(0x148)],{'env':d}),SSL[r(0x143)]({'keyName':c[r(0x12a)]+r(0x125),'csrName':c[r(0x12a)]+r(0x13b),'cwd':f}),SSL[r(0x132)]({'keyName':c[r(0x12a)]+'.key','crtName':c[r(0x12a)]+r(0x14c),'cwd':f});}if(g===h){Log[r(0x13c)](r(0x138));throw new UsageError();}const l={'ssl':{'key':a78e[r(0x131)](j,r(0x130)),'cert':a78e[r(0x131)](k,r(0x130))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a78g['createProxyServer'](l)['listen'](Number(h)),Log[r(0x14d)](r(0x14b)+h+r(0x13d)+g);});function a78c(){const s=['mkKeysDir','\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','create','getConfigPath','genCSR','findGenerator','49qfbgov','99126zmLIKR','localhost','sslconfig','294535ewHBwF','listenPort','=>\x20SSL\x20Proxy\x20forwarding\x20','.crt','bright','1684712gqlFVv','maka\x20proxy','help','fsi','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','9316UsiIqV','proxy','.key','targetHost','toString','295253LFepLi','targetPort','appName','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','440JMOeOf','constructor','maka\x20proxy\x20--target-host\x20http://192.168.1.20','315MjScxo','utf8','readFileSync','genSSC','search','isFile','245346rPnJwQ','development','getProjectConfig','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','43262MrFLjI','join','.csr','error','\x20to\x20','apply'];a78c=function(){return s;};return a78c();}
1
+ const a78q=a78d;(function(a,b){const n=a78d,c=a();while(!![]){try{const d=parseInt(n(0x1dd))/0x1+parseInt(n(0x1e0))/0x2+-parseInt(n(0x1eb))/0x3+-parseInt(n(0x1d8))/0x4+parseInt(n(0x1d3))/0x5*(-parseInt(n(0x1e6))/0x6)+parseInt(n(0x1c9))/0x7*(-parseInt(n(0x1e4))/0x8)+parseInt(n(0x1d9))/0x9*(parseInt(n(0x1da))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x5e3af));const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a78d;if(c){const e=c[o(0x1cf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const p=a78d;return a78a[p(0x1e5)]()[p(0x1c1)](p(0x1d0))['toString']()[p(0x1c6)](a78a)[p(0x1c1)](p(0x1d0));});function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x1bf;let f=c[d];return f;},a78d(a,b);}a78a();import a78e from'fs';function a78c(){const s=['.crt','fsi','appName','1016KiKCBk','toString','3223032ovQCvl','getConfigPath','sslconfig','genSSC','join','302268roXpAq','genCSR','getProjectConfig','maka\x20proxy','search','bright','targetPort','localhost','.csr','constructor','create','createProxyServer','32137VZCghl','readFileSync','findGenerator','error','.key','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','apply','(((.+)+)+)+$','isFile','invoke','5aBgaat','targetHost','listen','\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','=>\x20SSL\x20Proxy\x20forwarding\x20','233024LGAdfC','69273MPriTt','2030yQlmQw','proxy','help','5482oSdXoQ','listenPort','utf8','194470wgRYjY'];a78c=function(){return s;};return a78c();}import a78f from'path';import a78g from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a78h from'../generators/maka.gen.js';Command[a78q(0x1c7)]({'name':a78q(0x1db),'usage':a78q(0x1c0),'mustBeInMakaProject':!![],'validOpts':[a78q(0x1dc),a78q(0x1c3),a78q(0x1de),'targetHost'],'maxArgLength':0x1,'shortDesc':a78q(0x1ce),'description':a78q(0x1d6),'examples':[a78q(0x1c0),'maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','maka\x20proxy\x20--target-host\x20http://192.168.1.20']},async function(a,b){const r=a78q,c=this['fsi'][r(0x1bf)](),d='development',e=this[r(0x1e2)][r(0x1e7)](d),f=this['fsi']['mkKeysDir']({'configPath':e}),g=b['targetPort']?Number(b[r(0x1c3)]):0xbb8,h=b['listenPort']?Number(b[r(0x1de)]):0xd73,i=b[r(0x1d4)]?b[r(0x1d4)]:r(0x1c4),j=a78f[r(0x1ea)](f,c[r(0x1e3)]+r(0x1cd)),k=a78f[r(0x1ea)](f,c[r(0x1e3)]+r(0x1e1));if(!this[r(0x1e2)][r(0x1d1)](j)||!this[r(0x1e2)][r(0x1d1)](k)){const m=a78h[r(0x1cb)](r(0x1e8));m&&await m[r(0x1d2)]([r(0x1e8)],{'env':d}),SSL[r(0x1ec)]({'keyName':c[r(0x1e3)]+r(0x1cd),'csrName':c['appName']+r(0x1c5),'cwd':f}),SSL[r(0x1e9)]({'keyName':c[r(0x1e3)]+'.key','crtName':c[r(0x1e3)]+r(0x1e1),'cwd':f});}if(g===h){Log[r(0x1cc)]('Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.');throw new UsageError();}const l={'ssl':{'key':a78e[r(0x1ca)](j,r(0x1df)),'cert':a78e[r(0x1ca)](k,r(0x1df))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a78g[r(0x1c8)](l)[r(0x1d5)](Number(h)),Log[r(0x1c2)](r(0x1d7)+h+'\x20to\x20'+g);});
@@ -1 +1 @@
1
- const a79q=a79d;(function(a,b){const n=a79d,c=a();while(!![]){try{const d=parseInt(n(0x1b8))/0x1+-parseInt(n(0x1cc))/0x2*(parseInt(n(0x1c4))/0x3)+parseInt(n(0x1c7))/0x4+-parseInt(n(0x1bc))/0x5+parseInt(n(0x1c6))/0x6*(parseInt(n(0x1da))/0x7)+parseInt(n(0x1c0))/0x8+-parseInt(n(0x1d9))/0x9*(parseInt(n(0x1db))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0xc9ae3));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a79d;if(c){const e=c[o(0x1df)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const p=a79d;return a79a['toString']()['search'](p(0x1cb))[p(0x1d3)]()[p(0x1bb)](a79a)['search'](p(0x1cb));});function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x1b8;let f=c[d];return f;},a79d(a,b);}function a79c(){const s=['pm2.config.js','uname\x20-a','toString','env','ssh.json','parse','Remote\x20host\x20connection\x20successful','~/ses.json','403101VsZdEh','508319pgVvXM','290PBtBPq','_keys','scp','error','apply','readFileSync','1198148UElhHx','pm2\x20delete\x20all','reconfig','constructor','7421510jUDzcO','maka\x20reconfig','Reconfigure\x20your\x20deployed\x20applications','ssh','9427728ihZnnM','ses.json','create','\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','1388559FVMbvu','sshSync','48uUwvVD','6309688ydCiDq','join','getConfigPath','assign','(((.+)+)+)+$','4edikFv','settings.json','echo\x20\x22\x22\x20&&\x20pm2\x20start\x20pm2.config.js\x20&&\x20echo\x20\x22\x22\x20||\x20echo\x20\x22Cound\x20not\x20find\x20PM2,\x20have\x20you\x20deployed\x20the\x20app\x20yet?\x22','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','fsi'];a79c=function(){return s;};return a79c();}a79a();import a79e from'fs';import a79f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a79q(0x1c2)]({'name':a79q(0x1ba),'validOpts':[''],'requiredOpts':[a79q(0x1d4)],'mustBeInMakaProject':!![],'usage':a79q(0x1bd),'shortDesc':a79q(0x1be),'description':a79q(0x1c3),'examples':['maka\x20reconfig\x20--env\x20prod']},async function(a,b){const r=a79q;try{const c=this[r(0x1d0)][r(0x1c9)](b[r(0x1d4)]),d=a79f[r(0x1c8)](c,r(0x1d5)),f=a79e[r(0x1e0)](d)['toString'](),g=JSON[r(0x1d6)](f);Object[r(0x1ca)](g,{'env':c}),Log['notice']('Checking\x20remote\x20host\x20availability');const h=SSH['ping'](r(0x1d2),g);if(!h)throw r(0x1cf);if(h)Log['success'](r(0x1d7));const i=a79f['join'](c,r(0x1dc),r(0x1c1));if(a79e['existsSync'](i)){const l={'source':i,'dest':r(0x1d8),'verbose':!![]};SSH['scp'](l,{...g});}const j=a79f['join'](c,r(0x1d1));SSH[r(0x1dd)]({'source':j,'dest':'~/pm2.config.js','verbose':!![]},{...g});const k=a79f[r(0x1c8)](c,r(0x1cd));SSH[r(0x1dd)]({'source':k,'dest':'~/settings.json','verbose':!![]},{...g}),SSH[r(0x1c5)](r(0x1b9),g),await SSH[r(0x1bf)](r(0x1ce),{...g},{'verbose':!![]});}catch(m){console[r(0x1de)](m),process['exit'](0x0);}});
1
+ const a79q=a79d;(function(a,b){const n=a79d,c=a();while(!![]){try{const d=-parseInt(n(0x167))/0x1*(parseInt(n(0x159))/0x2)+parseInt(n(0x168))/0x3*(parseInt(n(0x15d))/0x4)+parseInt(n(0x169))/0x5*(parseInt(n(0x16b))/0x6)+-parseInt(n(0x17a))/0x7+parseInt(n(0x170))/0x8*(-parseInt(n(0x171))/0x9)+parseInt(n(0x178))/0xa*(-parseInt(n(0x177))/0xb)+-parseInt(n(0x180))/0xc*(-parseInt(n(0x15c))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x89766));function a79c(){const s=['uname\x20-a','assign','(((.+)+)+)+$','ses.json','270820ognUwO','170SFJBAB','error','412251DpSEaH','Reconfigure\x20your\x20deployed\x20applications','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','Checking\x20remote\x20host\x20availability','pm2\x20delete\x20all','join','5660364HLDDvS','constructor','success','pm2.config.js','4uIbDoc','toString','env','39Nmjnki','20932eHeJIr','maka\x20reconfig\x20--env\x20prod','ssh.json','maka\x20reconfig','ping','~/settings.json','~/pm2.config.js','search','Remote\x20host\x20connection\x20successful','ssh','544055fKuMJR','87IsXxlk','1842725JaNIaW','\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','18gqMclw','scp','reconfig','apply','existsSync','2175576AXHIWY','18wjsBvV','~/ses.json'];a79c=function(){return s;};return a79c();}const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a79d;if(c){const e=c[o(0x16e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const p=a79d;return a79a['toString']()[p(0x164)](p(0x175))['toString']()[p(0x156)](a79a)[p(0x164)]('(((.+)+)+)+$');});a79a();import a79e from'fs';import a79f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x156;let f=c[d];return f;},a79d(a,b);}Command['create']({'name':a79q(0x16d),'validOpts':[''],'requiredOpts':[a79q(0x15b)],'mustBeInMakaProject':!![],'usage':a79q(0x160),'shortDesc':a79q(0x17b),'description':a79q(0x16a),'examples':[a79q(0x15e)]},async function(a,b){const r=a79q;try{const c=this['fsi']['getConfigPath'](b[r(0x15b)]),d=a79f[r(0x17f)](c,r(0x15f)),f=a79e['readFileSync'](d)[r(0x15a)](),g=JSON['parse'](f);Object[r(0x174)](g,{'env':c}),Log['notice'](r(0x17d));const h=SSH[r(0x161)](r(0x173),g);if(!h)throw r(0x17c);if(h)Log[r(0x157)](r(0x165));const i=a79f[r(0x17f)](c,'_keys',r(0x176));if(a79e[r(0x16f)](i)){const l={'source':i,'dest':r(0x172),'verbose':!![]};SSH[r(0x16c)](l,{...g});}const j=a79f[r(0x17f)](c,r(0x158));SSH[r(0x16c)]({'source':j,'dest':r(0x163),'verbose':!![]},{...g});const k=a79f[r(0x17f)](c,'settings.json');SSH[r(0x16c)]({'source':k,'dest':r(0x162),'verbose':!![]},{...g}),SSH['sshSync'](r(0x17e),g),await SSH[r(0x166)]('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(0x179)](m),process['exit'](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a80d,c=a();while(!![]){try{var d=-parseInt(f(0xbb))/0x1+-parseInt(f(0xc4))/0x2+-parseInt(f(0xbe))/0x3*(-parseInt(f(0xc1))/0x4)+-parseInt(f(0xc0))/0x5+-parseInt(f(0xc3))/0x6+-parseInt(f(0xc5))/0x7+parseInt(f(0xbf))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0xa9827));function a80c(){var i=['(((.+)+)+)+$','2775066RoAkvZ','1618034ySReTO','574063WWkKMi','search','808185TxrvnR','toString','apply','3zBhpqb','21385152krHXVX','4251490YMyHoz','4132748WPdvTc'];a80c=function(){return i;};return a80c();}function a80d(a,b){var c=a80c();return a80d=function(d,e){d=d-0xba;var f=c[d];return f;},a80d(a,b);}var a80b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a80d;if(c){var e=c[g(0xbd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){var h=a80d;return a80a[h(0xbc)]()[h(0xba)](h(0xc2))[h(0xbc)]()['constructor'](a80a)[h(0xba)](h(0xc2));});a80a();import'./run.command.js';import'./docker.sub.cmd.js';
1
+ function a80c(){var h=['12HvEnhs','28722dAbvfs','constructor','552tzRsQB','2158040KXOcWg','3306065NsXhrg','1533zFQIDT','2apwvJt','2140oIOdVd','138nOQMvA','662504WNSNBQ','26586593GgPpJq','toString','search','(((.+)+)+)+$','39915mbuuyf'];a80c=function(){return h;};return a80c();}(function(a,b){var f=a80d,c=a();while(!![]){try{var d=parseInt(f(0xfd))/0x1*(parseInt(f(0x100))/0x2)+parseInt(f(0xff))/0x3*(-parseInt(f(0xf9))/0x4)+-parseInt(f(0xfb))/0x5+parseInt(f(0xf7))/0x6*(-parseInt(f(0xfc))/0x7)+parseInt(f(0xfa))/0x8+-parseInt(f(0xf5))/0x9*(parseInt(f(0xfe))/0xa)+parseInt(f(0x101))/0xb*(parseInt(f(0xf6))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0xa70ba));var a80b=(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;};}()),a80a=a80b(this,function(){var g=a80d;return a80a[g(0x102)]()[g(0x103)]('(((.+)+)+)+$')[g(0x102)]()[g(0xf8)](a80a)[g(0x103)](g(0x104));});function a80d(a,b){var c=a80c();return a80d=function(d,e){d=d-0xf5;var f=c[d];return f;},a80d(a,b);}a80a();import'./run.command.js';import'./docker.sub.cmd.js';
@@ -1 +1 @@
1
- const a81l=a81d;(function(a,b){const i=a81d,c=a();while(!![]){try{const d=-parseInt(i(0xfb))/0x1*(parseInt(i(0xfd))/0x2)+parseInt(i(0xff))/0x3+-parseInt(i(0xfe))/0x4+-parseInt(i(0xf8))/0x5+-parseInt(i(0x104))/0x6+-parseInt(i(0xf7))/0x7*(parseInt(i(0x10c))/0x8)+parseInt(i(0x107))/0x9*(parseInt(i(0x106))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0x4a153));function a81c(){const n=['924100UaJJcG','apply','toString','76IrVcLY','existsSync','13274FwDxYD','1085604vEgXYx','584616PohsTz','constructor','inherit','exit','fsi','2234832bnUJTN','create','665880MRtILt','261UQUZYM','search','getProjectConfig','maka\x20run\x20docker','config/docker-compose.yaml','64HBdTWR','(((.+)+)+)+$','appName','createFile','\x20up\x20--remove-orphans','docker','docker-compose\x20--project-directory\x20','templateContent','join','docker-compose.yaml','428204FjQImy'];a81c=function(){return n;};return a81c();}const a81b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a81d;if(c){const e=c[j(0xf9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){const k=a81d;return a81a['toString']()['search'](k(0x10d))[k(0xfa)]()[k(0x100)](a81a)[k(0x108)](k(0x10d));});a81a();import a81e from'./run.command.js';import{execSync}from'child_process';import a81f from'path';import a81g from'fs';function a81d(a,b){const c=a81c();return a81d=function(d,e){d=d-0xf1;let f=c[d];return f;},a81d(a,b);}import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a81l(0x105)]({'name':a81l(0xf2),'aliases':['d'],'shortDesc':'Run\x20your\x20application\x20in\x20a\x20Docker\x20container','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':a81l(0x10a),'validOpts':['']},async function(){const m=a81l;try{const a=this[m(0x103)][m(0x109)](),b=this[m(0x103)]['getConfigPath'](m(0xf2)),c=a81f[m(0xf5)](b,m(0xf6)),d=a81f['join'](b,'pm2.config.js');Log['notice']('PM2\x20Config\x20File:\x20'+d),Log['notice']('Docker\x20Compose\x20Path:\x20'+c);if(!a81g[m(0xfc)](c)){const f={'app':a[m(0x10e)],'appFileCase':paramCase(a['appName'])},g=this[m(0x103)][m(0xf4)]({'srcPath':m(0x10b),'context':f})+'\x0a';this[m(0x103)][m(0x10f)]({'filePath':c,'data':g});}execSync(m(0xf3)+b+m(0xf1),{'stdio':m(0x101)});}catch(h){process[m(0x102)](0x1);}},a81e);
1
+ const a81l=a81d;(function(a,b){const i=a81d,c=a();while(!![]){try{const d=-parseInt(i(0xe6))/0x1*(-parseInt(i(0xec))/0x2)+parseInt(i(0xf5))/0x3*(parseInt(i(0xf8))/0x4)+-parseInt(i(0xfa))/0x5+parseInt(i(0xdd))/0x6+parseInt(i(0xdf))/0x7+-parseInt(i(0xef))/0x8*(parseInt(i(0xe3))/0x9)+-parseInt(i(0xeb))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0x93edb));const a81b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a81d;if(c){const e=c[j(0xde)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){const k=a81d;return a81a[k(0xf0)]()[k(0xf7)](k(0xe4))['toString']()[k(0xe2)](a81a)['search'](k(0xe4));});a81a();import a81e from'./run.command.js';import{execSync}from'child_process';import a81f from'path';import a81g from'fs';import{Log}from'../../tools/log/log.class.js';function a81d(a,b){const c=a81c();return a81d=function(d,e){d=d-0xdd;let f=c[d];return f;},a81d(a,b);}import{Command}from'../../command.js';import{paramCase}from'change-case';Command['create']({'name':a81l(0xe9),'aliases':['d'],'shortDesc':a81l(0xf2),'description':a81l(0xe8),'usage':a81l(0xe5),'validOpts':['']},async function(){const m=a81l;try{const a=this[m(0xed)][m(0xf9)](),b=this[m(0xed)]['getConfigPath'](m(0xe9)),c=a81f[m(0xfb)](b,m(0xe0)),d=a81f[m(0xfb)](b,m(0xf3));Log['notice'](m(0xfc)+d),Log[m(0xfd)](m(0xea)+c);if(!a81g[m(0xe7)](c)){const f={'app':a[m(0xf4)],'appFileCase':paramCase(a[m(0xf4)])},g=this[m(0xed)]['templateContent']({'srcPath':m(0xf6),'context':f})+'\x0a';this[m(0xed)]['createFile']({'filePath':c,'data':g});}execSync(m(0xe1)+b+m(0xee),{'stdio':m(0xf1)});}catch(h){process['exit'](0x1);}},a81e);function a81c(){const n=['pm2.config.js','appName','54759UNbYKf','config/docker-compose.yaml','search','260DwULAA','getProjectConfig','3167380CQeqJC','join','PM2\x20Config\x20File:\x20','notice','3845556Sqbihm','apply','2558969wIXcuW','docker-compose.yaml','docker-compose\x20--project-directory\x20','constructor','27EzsAGY','(((.+)+)+)+$','maka\x20run\x20docker','1572HrnZMz','existsSync','\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','docker','Docker\x20Compose\x20Path:\x20','7339170pNRTSl','446yEIcWK','fsi','\x20up\x20--remove-orphans','1520496fUURlg','toString','inherit','Run\x20your\x20application\x20in\x20a\x20Docker\x20container'];a81c=function(){return n;};return a81c();}
@@ -1 +1 @@
1
- const a82v=a82d;(function(a,b){const r=a82d,c=a();while(!![]){try{const d=parseInt(r(0xff))/0x1*(-parseInt(r(0x102))/0x2)+-parseInt(r(0x113))/0x3+-parseInt(r(0x125))/0x4+-parseInt(r(0x10c))/0x5+parseInt(r(0xef))/0x6*(parseInt(r(0x124))/0x7)+parseInt(r(0x117))/0x8+parseInt(r(0x116))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0xcb65d));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const s=a82d;if(c){const e=c[s(0x115)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const t=a82d;return a82a[t(0xf4)]()[t(0x110)](t(0xe8))[t(0xf4)]()[t(0xf5)](a82a)[t(0x110)]('(((.+)+)+)+$');});a82a();import a82e from'path';import a82f from'fs';import a82g from'dotenv';function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0xe8;let f=c[d];return f;},a82d(a,b);}import{rimraf}from'rimraf';function a82c(){const y=['Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','sep','isFile','Cannot\x20find\x20Node\x20Environment\x20File:\x20','push','app','findSubCommand','invokeMeteorCommand','settings','287107QWNMjQ','run','--env','2kqDFoT','Verifying\x20meteor\x20package\x20requirements\x20...','isDirectory','verbose','mobile-server','fsi','concat','inspect','--production','splice','652480zsgiOr','getConfigPath','Node\x20Env\x20Config:\x20','local','search','warn','autoupdate','1862625GJKvEN','allowIncompatibleUpdate','apply','134793UDPoCP','11977216SsaBHH','error','runSubCommand','Run\x20your\x20Meteor\x20application','env','exit','argv','create','findProjectDirectory','exclude-archs','ios','checkMeteorPackage','development','4102yvLkDg','4818272kmsBFo','config','(((.+)+)+)+$','forEach','settings.json','filter','notice','--settings','mobileServer','16014WhNXVH','cordova-build','docker','join','compareMakaToLatest','toString','constructor'];a82c=function(){return y;};return a82c();}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const u=a82d;a82f['openSync'](a,'r'),a82g[u(0x126)]({'path':a});},Run=Command[a82v(0x11e)]({'name':a82v(0x100),'mustBeInMakaProject':!![],'shortDesc':a82v(0x11a),'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':[a82v(0x11b),a82v(0xf1),'r','rawLogs','p','port','i',a82v(0x109),'m',a82v(0xee),'v',a82v(0x105),a82v(0x114),'extraPackages','x',a82v(0x120),'production']},async function(a,b){const w=a82v;try{const c=this['fsi'][w(0x11f)]();!this['fsi'][w(0x122)](w(0x112))&&(Log[w(0xec)](w(0x103)),await this[w(0x107)]['installMeteorPackage'](w(0x112),{'cwd':c}));const d=a[0x0],f=this[w(0xfc)](d);f&&this[w(0x119)](d,a,b);if(d===w(0x121)){const n=this['fsi'][w(0x11f)](),o=a82e[w(0xf2)](n,w(0xfb),'.meteor',w(0x10f),w(0xf0));this['fsi'][w(0x104)](o)&&await rimraf(o);}if(b[w(0x106)]&&b[w(0x106)]===!![]||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[w(0x107)][w(0xf3)]();const g=b[w(0x11b)]?b['env']:w(0x123),h=this[w(0x107)][w(0x10d)](g),i=a82e[w(0xf2)](h,'process.env');let j=a82e[w(0xf2)](h,w(0xea));b[w(0xfe)]?j=b['settings']:j=a82e[w(0xf2)](h,w(0xea));if(this[w(0x107)]['isFile'](i)&&!b[w(0xf1)])Log[w(0xec)](w(0x10e)+i),syncSource(i);else!b[w(0xf1)]&&Log[w(0x111)](w(0xf9)+i);this[w(0x107)][w(0xf8)](j)?(Log[w(0xec)]('Meteor\x20Settings:\x20'+j),a=a[w(0x108)]([w(0xed),j])):Log[w(0x111)](w(0xf6)+j);const k=h['split'](a82e[w(0xf7)]),l=k[k['length']-0x1];l==='production'&&a[w(0xfa)](w(0x10a));const m=process[w(0x11d)]['slice'](0x2)[w(0xeb)](p=>p!==w(0x100))[w(0xeb)](p=>p!==a[0x0]);m[w(0xe9)]((p,q)=>{const x=w;p===x(0x101)&&m[x(0x10b)](q,0x2),p==='-e'&&m[x(0x10b)](q,0x2);}),this['fsi'][w(0xfd)](w(0x100),a[w(0x108)](m));}catch(p){console[w(0x118)](p),process[w(0x11c)](0x1);}});export default Run;
1
+ const a82v=a82d;(function(a,b){const r=a82d,c=a();while(!![]){try{const d=parseInt(r(0x1a3))/0x1*(-parseInt(r(0x1bf))/0x2)+-parseInt(r(0x1c6))/0x3*(parseInt(r(0x1c4))/0x4)+-parseInt(r(0x1cd))/0x5+parseInt(r(0x1c2))/0x6*(parseInt(r(0x1d2))/0x7)+parseInt(r(0x1ae))/0x8+parseInt(r(0x19b))/0x9*(-parseInt(r(0x1af))/0xa)+parseInt(r(0x1c9))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0xde993));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const s=a82d;if(c){const e=c[s(0x1ab)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const t=a82d;return a82a[t(0x1a0)]()[t(0x1b5)](t(0x1cb))[t(0x1a0)]()['constructor'](a82a)['search'](t(0x1cb));});function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x195;let f=c[d];return f;},a82d(a,b);}a82a();import a82e from'path';import a82f from'fs';import a82g from'dotenv';import{rimraf}from'rimraf';function a82c(){const y=['77pwztNg','--settings','.meteor','split','env','filter','settings','warn','error','cordova-build','306558iAZEfP','production','invokeMeteorCommand','forEach','exclude-archs','toString','autoupdate','port','969051ocuJly','isDirectory','slice','join','findSubCommand','settings.json','runSubCommand','run','apply','rawLogs','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)','888128VQdkfa','430LkQEHY','development','verbose','sep','openSync','Cannot\x20find\x20Node\x20Environment\x20File:\x20','search','docker','process.env','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','Verifying\x20meteor\x20package\x20requirements\x20...','notice','findProjectDirectory','mobileServer','Meteor\x20Settings:\x20','ios','2BPkaOD','concat','argv','56316sAMZQx','splice','2904292FjlKgL','push','3QxOWGJ','fsi','create','52435867wYjoqn','--env','(((.+)+)+)+$','local','4548030alwylF','mobile-server','Node\x20Env\x20Config:\x20','getConfigPath','app'];a82c=function(){return y;};return a82c();}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const u=a82d;a82f[u(0x1b3)](a,'r'),a82g['config']({'path':a});},Run=Command[a82v(0x1c8)]({'name':a82v(0x1aa),'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':['env',a82v(0x1b6),'r',a82v(0x1ac),'p',a82v(0x1a2),'i','inspect','m',a82v(0x1bc),'v',a82v(0x1b1),'allowIncompatibleUpdate','extraPackages','x',a82v(0x19f),a82v(0x19c)]},async function(a,b){const w=a82v;try{const c=this[w(0x1c7)]['findProjectDirectory']();!this[w(0x1c7)]['checkMeteorPackage']('autoupdate')&&(Log[w(0x1ba)](w(0x1b9)),await this[w(0x1c7)]['installMeteorPackage'](w(0x1a1),{'cwd':c}));const d=a[0x0],f=this[w(0x1a7)](d);f&&this[w(0x1a9)](d,a,b);if(d===w(0x1be)){const n=this[w(0x1c7)][w(0x1bb)](),o=a82e[w(0x1a6)](n,w(0x1d1),w(0x1d4),w(0x1cc),w(0x19a));this[w(0x1c7)][w(0x1a4)](o)&&await rimraf(o);}if(b[w(0x1ce)]&&b[w(0x1ce)]===!![]||b['m']&&b['m']===!![])throw w(0x1ad);await this[w(0x1c7)]['compareMakaToLatest']();const g=b[w(0x195)]?b['env']:w(0x1b0),h=this[w(0x1c7)][w(0x1d0)](g),i=a82e[w(0x1a6)](h,w(0x1b7));let j=a82e[w(0x1a6)](h,'settings.json');b[w(0x197)]?j=b[w(0x197)]:j=a82e[w(0x1a6)](h,w(0x1a8));if(this[w(0x1c7)]['isFile'](i)&&!b[w(0x1b6)])Log[w(0x1ba)](w(0x1cf)+i),syncSource(i);else!b[w(0x1b6)]&&Log[w(0x198)](w(0x1b4)+i);this[w(0x1c7)]['isFile'](j)?(Log[w(0x1ba)](w(0x1bd)+j),a=a['concat']([w(0x1d3),j])):Log[w(0x198)](w(0x1b8)+j);const k=h[w(0x1d5)](a82e[w(0x1b2)]),l=k[k['length']-0x1];l===w(0x19c)&&a[w(0x1c5)]('--production');const m=process[w(0x1c1)][w(0x1a5)](0x2)[w(0x196)](p=>p!=='run')[w(0x196)](p=>p!==a[0x0]);m[w(0x19e)]((p,q)=>{const x=w;p===x(0x1ca)&&m[x(0x1c3)](q,0x2),p==='-e'&&m[x(0x1c3)](q,0x2);}),this[w(0x1c7)][w(0x19d)](w(0x1aa),a[w(0x1c0)](m));}catch(p){console[w(0x199)](p),process['exit'](0x1);}});export default Run;
@@ -1 +1 @@
1
- function a83c(){var i=['2851416jBUdYG','403566gFscdB','348183WJpSQS','175KYCNly','24PdZQEW','18346iXNJxm','3422691xmNtTQ','search','107205RlKtUc','1954215OqLUqH','292EGQCCZ','(((.+)+)+)+$','toString','610UHkcTG','28WojKXp','apply'];a83c=function(){return i;};return a83c();}function a83d(a,b){var c=a83c();return a83d=function(d,e){d=d-0x7d;var f=c[d];return f;},a83d(a,b);}(function(a,b){var f=a83d,c=a();while(!![]){try{var d=-parseInt(f(0x8a))/0x1*(-parseInt(f(0x81))/0x2)+parseInt(f(0x82))/0x3+-parseInt(f(0x86))/0x4*(parseInt(f(0x84))/0x5)+parseInt(f(0x7d))/0x6*(-parseInt(f(0x7f))/0x7)+parseInt(f(0x80))/0x8*(parseInt(f(0x85))/0x9)+-parseInt(f(0x89))/0xa*(-parseInt(f(0x7e))/0xb)+parseInt(f(0x8c))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0xed07f));var a83b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a83d;if(c){var e=c[g(0x8b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){var h=a83d;return a83a[h(0x88)]()[h(0x83)](h(0x87))['toString']()['constructor'](a83a)[h(0x83)]('(((.+)+)+)+$');});a83a();import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
1
+ function a83d(a,b){var c=a83c();return a83d=function(d,e){d=d-0x17d;var f=c[d];return f;},a83d(a,b);}(function(a,b){var f=a83d,c=a();while(!![]){try{var d=-parseInt(f(0x184))/0x1*(-parseInt(f(0x186))/0x2)+parseInt(f(0x181))/0x3*(parseInt(f(0x188))/0x4)+parseInt(f(0x182))/0x5+parseInt(f(0x185))/0x6+-parseInt(f(0x18b))/0x7+parseInt(f(0x17f))/0x8*(-parseInt(f(0x18a))/0x9)+-parseInt(f(0x183))/0xa*(parseInt(f(0x17e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0x4baec));var a83b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a83d;if(c){var e=c[g(0x18c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){var h=a83d;return a83a[h(0x17d)]()[h(0x189)](h(0x180))[h(0x17d)]()[h(0x187)](a83a)[h(0x189)]('(((.+)+)+)+$');});a83a();import'./set.command.js';function a83c(){var i=['11357qithXX','3649884qIDjNm','74vdVelb','constructor','334872jUwZOh','search','9yHXYKp','2820090NbovQy','apply','toString','11zdBZpi','19544XltzHe','(((.+)+)+)+$','3aeUuFJ','2966135HeQWes','9901590AZXDEI'];a83c=function(){return i;};return a83c();}import'./global.sub.cmd.js';import'./local.sub.cmd.js';
@@ -1 +1 @@
1
- const a84k=a84d;function a84d(a,b){const c=a84c();return a84d=function(d,e){d=d-0xb6;let f=c[d];return f;},a84d(a,b);}function a84c(){const m=['maka\x20set:global-config\x20--cacert\x20<path>','exit','172012byCPKS','create','error','apply','18eMGOdN','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','maka\x20set:gc\x20--insecure\x20<path>','allowInsecure','1520020zaiVhP','(((.+)+)+)+$','search','Set\x20OpenAI\x20Key:\x20','cacert','Set\x20allowInsecure:\x20','27552cvOsZs','fsi','openai','boolean','maka\x20set:global-config\x20<args>','3203808qLbVZi','282AIlutf','221521kgAzvj','setGlobalConfig','resolve','global-config','9516SbyWWX','15454406WtkVFI','toString','Set\x20CA\x20Cert\x20Path:\x20','isDirectory','895ZarXOh','disallowInsecure','18lSurYo','isFile','Set\x20workspace:\x20','workspace','success','Could\x20not\x20find\x20directory','Set\x20global\x20Maka-CLI\x20settings'];a84c=function(){return m;};return a84c();}(function(a,b){const h=a84d,c=a();while(!![]){try{const d=parseInt(h(0xd6))/0x1+-parseInt(h(0xc1))/0x2*(parseInt(h(0xb8))/0x3)+parseInt(h(0xda))/0x4*(-parseInt(h(0xb6))/0x5)+-parseInt(h(0xd5))/0x6*(parseInt(h(0xcf))/0x7)+-parseInt(h(0xd4))/0x8+-parseInt(h(0xc5))/0x9*(-parseInt(h(0xc9))/0xa)+parseInt(h(0xdb))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x626b6));const a84b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a84d;if(c){const e=c[i(0xc4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){const j=a84d;return a84a[j(0xdc)]()['search'](j(0xca))['toString']()['constructor'](a84a)[j(0xcb)](j(0xca));});a84a();import a84e from'path';import a84f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a84k(0xc2)]({'name':a84k(0xd9),'usage':a84k(0xd3),'aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a84k(0xcd),a84k(0xc8),a84k(0xb7),'workspace',a84k(0xd1),'help'],'shortDesc':a84k(0xbe),'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\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','examples':[a84k(0xbf),a84k(0xc7),'maka\x20set:gc\x20--workspace\x20<path>']},async function(a,b){const l=a84k;try{if(b[l(0xcd)]){if(this[l(0xd0)][l(0xb9)](b['cacert']))this[l(0xd0)]['setGlobalConfig']({'cert':b[l(0xcd)]}),Log[l(0xbc)](l(0xdd)+b[l(0xcd)]);else{const c=typeof b[l(0xcd)]===l(0xd2)?'Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.':l(0xc6)+b['cacert'];throw Log['error'](c);}}if(b['workspace']){const d=this[l(0xd0)][l(0xde)](b[l(0xbb)]);if(d)this[l(0xd0)][l(0xd7)]({'workspace':a84e[l(0xd8)](b['workspace'])}),Log['success'](l(0xba)+a84e[l(0xd8)](b[l(0xbb)]));else throw Log['error'](l(0xbd));}b[l(0xd1)]&&(this[l(0xd0)][l(0xd7)]({'openai':b[l(0xd1)]}),Log[l(0xbc)](l(0xcc)+b[l(0xd1)]));if(b[l(0xc8)]){if(b[l(0xc8)]&&b[l(0xb7)])throw Log[l(0xc3)]('One\x20or\x20the\x20other\x20buddy');let f=b[l(0xc8)];b[l(0xb7)]&&(f=![]),this['fsi'][l(0xd7)]({'allowInsecure':f}),Log[l(0xbc)](l(0xce)+f);}process[l(0xc0)](0x0);}catch(g){console[l(0xc3)](g),process[l(0xc0)](0x0);}},a84f);
1
+ function a84c(){const m=['isDirectory','Set\x20OpenAI\x20Key:\x20','2428615LAnOFx','21310buCYkS','\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','apply','search','6KddsTG','help','290960VPckkL','8afGLGS','workspace','255885jGdTQt','One\x20or\x20the\x20other\x20buddy','1116KJUhpf','Set\x20global\x20Maka-CLI\x20settings','178940AYhUBA','416548LZUaOw','maka\x20set:global-config\x20--cacert\x20<path>','Could\x20not\x20find\x20directory','Set\x20workspace:\x20','disallowInsecure','error','2085102tITeCq','constructor','boolean','openai','Set\x20allowInsecure:\x20','toString','maka\x20set:global-config\x20<args>','create','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','exit','success','fsi','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','maka\x20set:gc\x20--workspace\x20<path>','setGlobalConfig','Set\x20CA\x20Cert\x20Path:\x20','cacert','(((.+)+)+)+$','allowInsecure'];a84c=function(){return m;};return a84c();}const a84k=a84d;(function(a,b){const h=a84d,c=a();while(!![]){try{const d=parseInt(h(0xd3))/0x1+-parseInt(h(0xd8))/0x2+parseInt(h(0xce))/0x3*(-parseInt(h(0xd0))/0x4)+parseInt(h(0xd7))/0x5+parseInt(h(0xde))/0x6+-parseInt(h(0xc9))/0x7*(parseInt(h(0xd1))/0x8)+-parseInt(h(0xd5))/0x9*(-parseInt(h(0xca))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x317ef));const a84b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a84d;if(c){const e=c[i(0xcc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){const j=a84d;return a84a['toString']()[j(0xcd)](j(0xc5))[j(0xe3)]()[j(0xdf)](a84a)['search'](j(0xc5));});a84a();import a84e from'path';import a84f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a84d(a,b){const c=a84c();return a84d=function(d,e){d=d-0xc5;let f=c[d];return f;},a84d(a,b);}Command[a84k(0xe5)]({'name':'global-config','usage':a84k(0xe4),'aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a84k(0xee),a84k(0xc6),a84k(0xdc),a84k(0xd2),a84k(0xe1),a84k(0xcf)],'shortDesc':a84k(0xd6),'description':a84k(0xcb),'examples':[a84k(0xd9),'maka\x20set:gc\x20--insecure\x20<path>',a84k(0xeb)]},async function(a,b){const l=a84k;try{if(b['cacert']){if(this['fsi']['isFile'](b[l(0xee)]))this['fsi'][l(0xec)]({'cert':b[l(0xee)]}),Log['success'](l(0xed)+b['cacert']);else{const c=typeof b[l(0xee)]===l(0xe0)?l(0xe6):l(0xea)+b[l(0xee)];throw Log[l(0xdd)](c);}}if(b['workspace']){const d=this[l(0xe9)][l(0xc7)](b[l(0xd2)]);if(d)this[l(0xe9)][l(0xec)]({'workspace':a84e['resolve'](b[l(0xd2)])}),Log[l(0xe8)](l(0xdb)+a84e['resolve'](b[l(0xd2)]));else throw Log[l(0xdd)](l(0xda));}b[l(0xe1)]&&(this[l(0xe9)]['setGlobalConfig']({'openai':b[l(0xe1)]}),Log[l(0xe8)](l(0xc8)+b[l(0xe1)]));if(b[l(0xc6)]){if(b[l(0xc6)]&&b[l(0xdc)])throw Log[l(0xdd)](l(0xd4));let f=b[l(0xc6)];b[l(0xdc)]&&(f=![]),this[l(0xe9)][l(0xec)]({'allowInsecure':f}),Log[l(0xe8)](l(0xe2)+f);}process['exit'](0x0);}catch(g){console[l(0xdd)](g),process[l(0xe7)](0x0);}},a84f);
@@ -1 +1 @@
1
- function a85c(){var k=['\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','7599496Kickdt','maka\x20set:lc\x20<opts>','maka\x20set:local-config\x20<opts>','apply','11508trPRUF','7454115LNXBdU','3688645XRfdkH','(((.+)+)+)+$','490133ZRWdwZ','52668ZbuAGx','toString','constructor','notice','local-config','Set\x20local\x20maka\x20app\x20settings','create','779540nywOFU','6dNrKvx','819ealUkd','search'];a85c=function(){return k;};return a85c();}var a85i=a85d;(function(a,b){var f=a85d,c=a();while(!![]){try{var d=parseInt(f(0x142))/0x1+parseInt(f(0x149))/0x2+parseInt(f(0x14b))/0x3*(parseInt(f(0x13d))/0x4)+-parseInt(f(0x13f))/0x5*(parseInt(f(0x14a))/0x6)+parseInt(f(0x141))/0x7+parseInt(f(0x139))/0x8+-parseInt(f(0x13e))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0xa677b));var a85b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a85d;if(c){var e=c[g(0x13c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){var h=a85d;return a85a[h(0x143)]()['search']('(((.+)+)+)+$')[h(0x143)]()[h(0x144)](a85a)[h(0x14c)](h(0x140));});a85a();import a85e from'./set.command.js';function a85d(a,b){var c=a85c();return a85d=function(d,e){d=d-0x138;var f=c[d];return f;},a85d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a85i(0x148)]({'name':a85i(0x146),'usage':'maka\x20set:local-config\x20<opts>','examples':[a85i(0x13a),a85i(0x13b)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a85i(0x147),'validOpts':[],'description':a85i(0x138)},async function(){var j=a85i;Log[j(0x145)]('Sorry,\x20not\x20implemented\x20yet');},a85e);
1
+ function a85c(){var k=['constructor','26830tkGBpo','6052669iAYJAj','Set\x20local\x20maka\x20app\x20settings','24yswYRc','Sorry,\x20not\x20implemented\x20yet','maka\x20set:local-config\x20<opts>','local-config','10HyzeHT','26955ySORge','577772GesKmX','maka\x20set:lc\x20<opts>','search','1315564bjKGen','notice','150xjjMXT','111CwRVET','1281906DxMVvU','apply','toString','(((.+)+)+)+$','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','5738942nsIFsL'];a85c=function(){return k;};return a85c();}var a85i=a85d;(function(a,b){var f=a85d,c=a();while(!![]){try{var d=parseInt(f(0x9c))/0x1+-parseInt(f(0x93))/0x2*(-parseInt(f(0xa2))/0x3)+-parseInt(f(0x9f))/0x4+-parseInt(f(0x9b))/0x5*(parseInt(f(0xa1))/0x6)+parseInt(f(0x94))/0x7+parseInt(f(0x96))/0x8*(-parseInt(f(0xa3))/0x9)+-parseInt(f(0x9a))/0xa*(parseInt(f(0xa8))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0x80718));var a85b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a85d;if(c){var e=c[g(0xa4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){var h=a85d;return a85a['toString']()['search']('(((.+)+)+)+$')[h(0xa5)]()[h(0x92)](a85a)[h(0x9e)](h(0xa6));});function a85d(a,b){var c=a85c();return a85d=function(d,e){d=d-0x92;var f=c[d];return f;},a85d(a,b);}a85a();import a85e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a85i(0x99),'usage':'maka\x20set:local-config\x20<opts>','examples':[a85i(0x9d),a85i(0x98)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a85i(0x95),'validOpts':[],'description':a85i(0xa7)},async function(){var j=a85i;Log[j(0xa0)](j(0x97));},a85e);
@@ -1 +1 @@
1
- const a86h=a86d;(function(a,b){const f=a86d,c=a();while(!![]){try{const d=-parseInt(f(0x182))/0x1+parseInt(f(0x18d))/0x2+-parseInt(f(0x186))/0x3*(parseInt(f(0x181))/0x4)+parseInt(f(0x190))/0x5*(parseInt(f(0x184))/0x6)+-parseInt(f(0x18e))/0x7+-parseInt(f(0x188))/0x8*(parseInt(f(0x187))/0x9)+parseInt(f(0x18a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0x4368d));const a86b=(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;};}()),a86a=a86b(this,function(){const g=a86d;return a86a['toString']()[g(0x185)](g(0x183))['toString']()[g(0x189)](a86a)[g(0x185)]('(((.+)+)+)+$');});a86a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command[a86h(0x18c)]({'name':a86h(0x191),'usage':a86h(0x18b),'minArgLength':0x1,'shortDesc':'Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','description':a86h(0x192),'validOpts':[]},async function(a,b){const i=a86h,c=a[0x0];if(b['help'])throw new UsageError();const d=this['findSubCommand'](c);d&&this[i(0x18f)](c,a,b);});function a86c(){const j=['constructor','6130330SlvWvK','maka\x20set:<sub-command>\x20<opts>','create','404654UEVXLZ','1799539iehrvO','runSubCommand','205bXRcEK','set','\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','304XYIWko','430983WToAVe','(((.+)+)+)+$','39420mzIZqx','search','1497zXcKmt','743733QsfzDu','8DYRiku'];a86c=function(){return j;};return a86c();}function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0x181;let f=c[d];return f;},a86d(a,b);}export default SetCommand;
1
+ function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0x1dd;let f=c[d];return f;},a86d(a,b);}const a86i=a86d;(function(a,b){const f=a86d,c=a();while(!![]){try{const d=-parseInt(f(0x1e4))/0x1*(parseInt(f(0x1dd))/0x2)+-parseInt(f(0x1eb))/0x3+-parseInt(f(0x1e7))/0x4*(parseInt(f(0x1de))/0x5)+parseInt(f(0x1e5))/0x6*(parseInt(f(0x1f0))/0x7)+parseInt(f(0x1e0))/0x8+parseInt(f(0x1e1))/0x9+-parseInt(f(0x1df))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0x1d0a8));const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a86d;if(c){const e=c[g(0x1ee)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const h=a86d;return a86a['toString']()[h(0x1ea)](h(0x1ef))[h(0x1e2)]()[h(0x1f1)](a86a)[h(0x1ea)](h(0x1ef));});a86a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command[a86i(0x1e6)]({'name':a86i(0x1ec),'usage':a86i(0x1ed),'minArgLength':0x1,'shortDesc':a86i(0x1e9),'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 j=a86i,c=a[0x0];if(b[j(0x1e8)])throw new UsageError();const d=this[j(0x1e3)](c);d&&this[j(0x1f2)](c,a,b);});export default SetCommand;function a86c(){const k=['maka\x20set:<sub-command>\x20<opts>','apply','(((.+)+)+)+$','1389311dHuaNJ','constructor','runSubCommand','6guvvbp','163140ByRVOc','1490350ztiFst','1736960pncrCm','1004724PnAAxM','toString','findSubCommand','28493akrPnB','6sUkGJY','create','4SqvJdj','help','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','search','423405TuQzLj','set'];a86c=function(){return k;};return a86c();}
@@ -1 +1 @@
1
- const a87m=a87d;function a87c(){const o=['create','readFileSync','env','53415DSPbtp','760EbJUWF','verbose','sshSync','apply','maka\x20ssh\x20<command>','error','20omkezh','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','getConfigPath','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','2393700hIUTJV','ssh','assign','constructor','(((.+)+)+)+$','33587430CtheNx','toString','maka\x20ssh\x20--env\x20staging','5104876guZcve','fsi','905379dpheTH','ssh.json','5656230xevYJB','281150svVURo','search','maka\x20ssh\x20--env\x20prod','length','5dzjoUd','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22'];a87c=function(){return o;};return a87c();}(function(a,b){const j=a87d,c=a();while(!![]){try{const d=parseInt(j(0x88))/0x1*(parseInt(j(0x84))/0x2)+-parseInt(j(0x81))/0x3*(parseInt(j(0x94))/0x4)+-parseInt(j(0x98))/0x5+-parseInt(j(0x83))/0x6+-parseInt(j(0xa0))/0x7+-parseInt(j(0x8e))/0x8*(-parseInt(j(0x8d))/0x9)+parseInt(j(0x9d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0xebc85));const a87b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a87d;if(c){const e=c[k(0x91)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){const l=a87d;return a87a[l(0x9e)]()[l(0x85)](l(0x9c))['toString']()[l(0x9b)](a87a)[l(0x85)](l(0x9c));});a87a();import a87e from'fs';function a87d(a,b){const c=a87c();return a87d=function(d,e){d=d-0x80;let f=c[d];return f;},a87d(a,b);}import a87f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a87m(0x8a)]({'name':a87m(0x99),'usage':a87m(0x92),'mustBeInMakaProject':!![],'requiredOpts':[a87m(0x8c)],'validOpts':['env',a87m(0x8f)],'shortDesc':a87m(0x95),'examples':['maka\x20ssh\x20--env\x20dev',a87m(0x9f),a87m(0x86),a87m(0x97),'maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22',a87m(0x89)]},async function(a,b){const n=a87m;try{const c=this[n(0x80)][n(0x96)](b['env']);let d='';a[n(0x87)]>0x0&&(d=a[0x0]);const f=a87f['join'](c,n(0x82)),g=a87e[n(0x8b)](f)[n(0x9e)](),h=JSON['parse'](g);Object[n(0x9a)](h,{'env':c}),SSH[n(0x90)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b[n(0x8f)]});}catch(i){console[n(0x93)](i),process['exit'](0x0);}});
1
+ const a87l=a87d;(function(a,b){const j=a87d,c=a();while(!![]){try{const d=parseInt(j(0x12a))/0x1*(-parseInt(j(0x143))/0x2)+-parseInt(j(0x139))/0x3+-parseInt(j(0x13e))/0x4*(-parseInt(j(0x13b))/0x5)+-parseInt(j(0x12b))/0x6*(-parseInt(j(0x12f))/0x7)+parseInt(j(0x136))/0x8*(parseInt(j(0x132))/0x9)+-parseInt(j(0x13c))/0xa*(parseInt(j(0x138))/0xb)+parseInt(j(0x135))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0xa9db3));const a87b=(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;};}()),a87a=a87b(this,function(){const k=a87d;return a87a['toString']()['search']('(((.+)+)+)+$')['toString']()[k(0x12c)](a87a)['search']('(((.+)+)+)+$');});function a87c(){const n=['verbose','create','10003185duyeOy','ssh.json','assign','11094624PzfHyp','8gOhpcp','getConfigPath','1219339LhgisR','3839628jVllYx','env','5tZLsUs','70BDZFeR','toString','5167868qUakMs','sshSync','maka\x20ssh\x20--env\x20staging','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','379292xbbFHu','error','maka\x20ssh\x20--env\x20prod','maka\x20ssh\x20--env\x20dev','length','readFileSync','7wwcKao','1126632pGVWvW','constructor','parse','ssh','28aHapuq'];a87c=function(){return n;};return a87c();}a87a();import a87e from'fs';import a87f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';function a87d(a,b){const c=a87c();return a87d=function(d,e){d=d-0x127;let f=c[d];return f;},a87d(a,b);}Command[a87l(0x131)]({'name':a87l(0x12e),'usage':'maka\x20ssh\x20<command>','mustBeInMakaProject':!![],'requiredOpts':[a87l(0x13a)],'validOpts':['env',a87l(0x130)],'shortDesc':'Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','examples':[a87l(0x127),a87l(0x140),a87l(0x145),a87l(0x141),'maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22',a87l(0x142)]},async function(a,b){const m=a87l;try{const c=this['fsi'][m(0x137)](b['env']);let d='';a[m(0x128)]>0x0&&(d=a[0x0]);const f=a87f['join'](c,m(0x133)),g=a87e[m(0x129)](f)[m(0x13d)](),h=JSON[m(0x12d)](g);Object[m(0x134)](h,{'env':c}),SSH[m(0x13f)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b[m(0x130)]});}catch(i){console[m(0x144)](i),process['exit'](0x0);}});
@@ -1 +1 @@
1
- const a88y=a88d;(function(a,b){const v=a88d,c=a();while(!![]){try{const d=-parseInt(v(0x1e6))/0x1*(parseInt(v(0x1cf))/0x2)+parseInt(v(0x1bc))/0x3*(parseInt(v(0x1c6))/0x4)+parseInt(v(0x1df))/0x5*(-parseInt(v(0x1fd))/0x6)+parseInt(v(0x1f4))/0x7+-parseInt(v(0x1dc))/0x8+parseInt(v(0x1e5))/0x9*(parseInt(v(0x1f5))/0xa)+-parseInt(v(0x1fa))/0xb*(-parseInt(v(0x1c7))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x93053));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a88d;if(c){const e=c[w(0x1db)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const x=a88d;return a88a['toString']()[x(0x1d3)](x(0x1e4))[x(0x1ec)]()[x(0x1f9)](a88a)[x(0x1d3)](x(0x1e4));});a88a();function a88c(){const A=['(((.+)+)+)+$','414nXhQXB','2trcYLn','ssl','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','Using\x20saved\x20letsencrypt\x20config','.key','toString','letsencrypt.json','Remote\x20host\x20connection\x20successful','Verifying\x20Letsencrypt\x20configuration','uname\x20-a','Please\x20provide\x20a\x20command.','mkKeysDir','letsencrypt','8263759AHsVkg','149760pUctMu','ask','.csr','Email\x20to\x20use\x20for\x20auto-updates:\x20','constructor','583eTKEHE','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','\x20--email\x20','35472TLWthe','error','notice','[?]\x20Domains\x20to\x20register:\x20','create','success','New\x20CSR\x20written\x20to\x20','fsi','413931pbaZWv','stringify','maka\x20ssl\x20--env\x20dev\x20generate-csr','emailUpdate','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','ping','ssh','generate-ssc','existsSync','8njYTzq','93708IKRtLa','assign','exit','domainNames','getProjectConfig','appName','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','join','1020848yWuQtV','sudo\x20snap\x20install\x20--classic\x20certbot','maka\x20ssl\x20[command]','start','search','Create\x20and\x20manage\x20your\x20SSL\x20operations.','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','getConfigPath','env','email','readFileSync','.crt','apply','6449256pAEmiG','withSpinner','generate-csr','110Nupsqa','domains','writeFileSync','genCSR','parse'];a88c=function(){return A;};return a88c();}function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x1b9;let f=c[d];return f;},a88d(a,b);}import a88e from'fs';import a88f 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[a88y(0x201)]({'name':a88y(0x1e7),'usage':a88y(0x1d1),'validOpts':[a88y(0x1e0),'email'],'requiredOpts':[a88y(0x1d7)],'shortDesc':a88y(0x1d4),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a88y(0x1be),a88y(0x1e8),a88y(0x1fb)]},async function(a,b){const z=a88y,c=this['fsi'][z(0x1cb)](),d=this[z(0x1bb)][z(0x1d6)](b[z(0x1d7)]),f=this[z(0x1bb)][z(0x1f2)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0x1de))SSL[z(0x1e2)]({'keyName':c[z(0x1cc)]+'.key','csrName':c['appName']+z(0x1f7),'cwd':f});else{if(g===z(0x1c4)){if(!a88e[z(0x1c5)](a88f[z(0x1ce)](f,c[z(0x1cc)]+z(0x1eb))))throw z(0x1e9)+a88f[z(0x1ce)](f,c['appName']+z(0x1eb));if(!a88e[z(0x1c5)](a88f['join'](f,c[z(0x1cc)]+'.csr')))throw z(0x1d5)+a88f['join'](f,c[z(0x1cc)]+z(0x1f7));SSL['genSSC']({'keyName':c[z(0x1cc)]+'.key','crtName':c[z(0x1cc)]+z(0x1da),'cwd':f}),Log[z(0x1ff)](z(0x1ba)+f);}else{if(g===z(0x1f3)){let h=b[z(0x1e0)],i=b[z(0x1d8)];try{const p=a88e[z(0x1d9)](a88f[z(0x1ce)](d,'letsencrypt.json'))[z(0x1ec)](),q=JSON[z(0x1e3)](p);h=b['domains']?b[z(0x1e0)]:q[z(0x1ca)],i=b['email']?b[z(0x1d8)]:q[z(0x1bf)],(!b[z(0x1d8)]||!b[z(0x1e0)])&&Log['notice'](z(0x1ea));}catch(r){}const j=JSON['parse'](a88e['readFileSync'](d+'/ssh.json')[z(0x1ec)]());Object[z(0x1c8)](j,{'env':d}),Log[z(0x1ff)]('Checking\x20remote\x20host\x20availability');try{const s=SSH[z(0x1c2)](z(0x1f0),j);if(!s)throw z(0x1cd);if(s)Log[z(0x1b9)](z(0x1ee));}catch(t){Log[z(0x1fe)](t);return;}const k=Log[z(0x1dd)]();k[z(0x1d2)](z(0x1ef)),SSH['ssh'](z(0x1c0),{...j}),SSH[z(0x1c3)](z(0x1d0),{...j}),SSH[z(0x1c3)](z(0x1c1),{...j}),k['success']();const l=h?h:await Actions[z(0x1f6)](z(0x200)),m=i?i:await Actions[z(0x1f6)](z(0x1f8));SSH[z(0x1c3)]('sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20'+l+z(0x1fc)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0x1bd)](n,null,0x2);a88e[z(0x1e1)](a88f[z(0x1ce)](d,z(0x1ed)),o);}else throw z(0x1f1);}}}catch(u){console['error'](u),process[z(0x1c9)](0x0);}});
1
+ const a88y=a88d;(function(a,b){const v=a88d,c=a();while(!![]){try{const d=-parseInt(v(0xb5))/0x1+-parseInt(v(0x88))/0x2+parseInt(v(0xc9))/0x3*(-parseInt(v(0xab))/0x4)+-parseInt(v(0xbf))/0x5*(parseInt(v(0x92))/0x6)+parseInt(v(0xaa))/0x7*(-parseInt(v(0xba))/0x8)+-parseInt(v(0xc5))/0x9*(-parseInt(v(0xa3))/0xa)+parseInt(v(0x8d))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x73957));function a88c(){const A=['readFileSync','create','letsencrypt','join','success','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','getProjectConfig','[?]\x20Domains\x20to\x20register:\x20','10hbrtsM','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','ssh','/ssh.json','env','.csr','sudo\x20snap\x20install\x20--classic\x20certbot','5348469vuFVDA','4UKQdLZ','Checking\x20remote\x20host\x20availability','.key','New\x20CSR\x20written\x20to\x20','search','emailUpdate','Using\x20saved\x20letsencrypt\x20config','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','letsencrypt.json','356101UsnGBc','writeFileSync','genCSR','ping','ask','8JOftQH','getConfigPath','.crt','generate-ssc','Email\x20to\x20use\x20for\x20auto-updates:\x20','8075YfNfnD','start','existsSync','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','error','notice','4999941uUtiqR','constructor','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','appName','1475394lUeSzZ','Verifying\x20Letsencrypt\x20configuration','domainNames','assign','ssl','parse','67630gbUXQv','\x20--email\x20','exit','fsi','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','26757863dIopQx','email','maka\x20ssl\x20--env\x20dev\x20generate-csr','genSSC','Create\x20and\x20manage\x20your\x20SSL\x20operations.','3228iJmXrT','maka\x20ssl\x20[command]','toString','apply','Please\x20provide\x20a\x20command.','domains','stringify','generate-csr','Remote\x20host\x20connection\x20successful'];a88c=function(){return A;};return a88c();}const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a88d;if(c){const e=c[w(0x95)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const x=a88d;return a88a[x(0x94)]()[x(0xaf)]('(((.+)+)+)+$')['toString']()[x(0xc6)](a88a)[x(0xaf)]('(((.+)+)+)+$');});function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x83;let f=c[d];return f;},a88d(a,b);}a88a();import a88e from'fs';import a88f 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[a88y(0x9c)]({'name':a88y(0x86),'usage':a88y(0x93),'validOpts':['domains',a88y(0x8e)],'requiredOpts':[a88y(0xa7)],'shortDesc':a88y(0x91),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a88y(0x8f),a88y(0xb3),a88y(0xc7)]},async function(a,b){const z=a88y,c=this[z(0x8b)][z(0xa1)](),d=this[z(0x8b)][z(0xbb)](b[z(0xa7)]),f=this[z(0x8b)]['mkKeysDir']({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0x99))SSL[z(0xb7)]({'keyName':c['appName']+'.key','csrName':c[z(0xc8)]+'.csr','cwd':f});else{if(g===z(0xbd)){if(!a88e[z(0xc1)](a88f[z(0x9e)](f,c[z(0xc8)]+z(0xad))))throw z(0xc2)+a88f[z(0x9e)](f,c[z(0xc8)]+z(0xad));if(!a88e['existsSync'](a88f[z(0x9e)](f,c['appName']+z(0xa8))))throw z(0xa4)+a88f[z(0x9e)](f,c[z(0xc8)]+z(0xa8));SSL[z(0x90)]({'keyName':c[z(0xc8)]+z(0xad),'crtName':c[z(0xc8)]+z(0xbc),'cwd':f}),Log[z(0xc4)](z(0xae)+f);}else{if(g===z(0x9d)){let h=b[z(0x97)],i=b['email'];try{const p=a88e[z(0x9b)](a88f[z(0x9e)](d,z(0xb4)))[z(0x94)](),q=JSON[z(0x87)](p);h=b[z(0x97)]?b[z(0x97)]:q[z(0x84)],i=b[z(0x8e)]?b[z(0x8e)]:q[z(0xb0)],(!b[z(0x8e)]||!b[z(0x97)])&&Log[z(0xc4)](z(0xb1));}catch(r){}const j=JSON[z(0x87)](a88e['readFileSync'](d+z(0xa6))['toString']());Object[z(0x85)](j,{'env':d}),Log['notice'](z(0xac));try{const s=SSH[z(0xb8)]('uname\x20-a',j);if(!s)throw z(0xa0);if(s)Log[z(0x9f)](z(0x9a));}catch(t){Log[z(0xc3)](t);return;}const k=Log['withSpinner']();k[z(0xc0)](z(0x83)),SSH[z(0xa5)](z(0x8c),{...j}),SSH[z(0xa5)](z(0xa9),{...j}),SSH[z(0xa5)](z(0xb2),{...j}),k['success']();const l=h?h:await Actions[z(0xb9)](z(0xa2)),m=i?i:await Actions['ask'](z(0xbe));SSH[z(0xa5)]('sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20'+l+z(0x89)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0x98)](n,null,0x2);a88e[z(0xb6)](a88f['join'](d,'letsencrypt.json'),o);}else throw z(0x96);}}}catch(u){console[z(0xc3)](u),process[z(0x8a)](0x0);}});
@@ -1 +1 @@
1
- const a89p=a89d;(function(a,b){const m=a89d,c=a();while(!![]){try{const d=parseInt(m(0x114))/0x1*(-parseInt(m(0x109))/0x2)+-parseInt(m(0x12d))/0x3+parseInt(m(0x108))/0x4*(parseInt(m(0x113))/0x5)+-parseInt(m(0x126))/0x6+parseInt(m(0x110))/0x7+parseInt(m(0xf5))/0x8+parseInt(m(0x112))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0xd707e));const a89b=(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;};}()),a89a=a89b(this,function(){const n=a89d;return a89a[n(0x10c)]()[n(0x116)](n(0x11a))[n(0x10c)]()[n(0x124)](a89a)['search'](n(0x11a));});function a89d(a,b){const c=a89c();return a89d=function(d,e){d=d-0xf4;let f=c[d];return f;},a89d(a,b);}function a89c(){const s=['constructor','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','2505360ZkkvyI','create','--driver-package','once','filter','test-packages','argv','2922408WyrZwT','join','9641968URYowo','port','sanjo:jasmine','getConfigPath','rawLogs','isFile','packages','unit','--driver','warn','development','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','test','notice','Meteor\x20Settings:\x20','forEach','utf8','env','--full-app','232QzRIAz','4742ZWAZGk','none','config.json','toString','fsi','inspect','exit','149597ObcEcY','driver-package','16092927oziHMz','33305YhsJDx','476wwFbHv','Cannot\x20find\x20Node\x20Environment\x20File:\x20','search','parse','driver','concat','(((.+)+)+)+$','invokeMeteorCommand','.maka','openSync','engines','driverPackage','error','--settings','mocha','config'];a89c=function(){return s;};return a89c();}a89a();import a89e from'fs';import a89f from'path';import a89g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const o=a89d;a89e[o(0x11d)](a,'r'),a89g[o(0x123)]({'path':a});};Command[a89p(0x127)]({'name':a89p(0x101),'mustBeInMakaProject':!![],'validOpts':[a89p(0x129),a89p(0xfb),a89p(0x118),a89p(0x11f),a89p(0xfc),'env',a89p(0xf9),a89p(0xf6),a89p(0x10e),'testAppPath'],'usage':'maka\x20test\x20<opts>','shortDesc':'Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','examples':[]},function(a,b){const q=a89p;try{let c=this[q(0x10d)][q(0xf8)](q(0xff));b[q(0x106)]&&(c=this[q(0x10d)][q(0xf8)](b[q(0x106)]));(!b[q(0xfc)]||!!b[q(0x129)])&&(a=a[q(0x119)]([q(0x107)]));b[q(0xfc)]&&delete b[q(0xfc)];let d=b[q(0x111)]||b['driver']||q(0x10a);if(d===q(0x10a)){const j=JSON[q(0x117)](a89e['readFileSync'](a89f['join'](this['fsi']['findProjectDirectory'](),q(0x11c),q(0x10b)),q(0x105)));if(j[q(0x11e)]['test']==='jasmine')d=q(0xf7);else j[q(0x11e)][q(0x101)]===q(0x122)&&(d='meteortesting:mocha');}if(d===q(0x10a))throw q(0x100);(!b[q(0x111)]||!b['driver'])&&(a=a['concat']([q(0x128),d]));const f=a89f[q(0xf4)](c,'settings.json');this[q(0x10d)]['isFile'](f)?(Log[q(0x102)](q(0x103)+f),a=a['concat']([q(0x121),f])):Log[q(0xfe)](q(0x125)+f);const g=a89f[q(0xf4)](c,'process.env');this['fsi'][q(0xfa)](g)?(Log[q(0x102)]('Node\x20Env\x20Config:\x20'+g),syncSource(g)):Log[q(0xfe)](q(0x115)+g);const h=process[q(0x12c)]['slice'](0x2)['filter'](k=>k!=='--env')[q(0x12a)](k=>k!==q(0x101))[q(0x12a)](k=>k!==a[0x0]);h[q(0x104)]((k,l)=>{const r=q;(k==='--env'||k===r(0xfd))&&h['splice'](l,0x2),k==='--packages'&&h['splice'](l,0x1);});const i=b[q(0xfb)]?q(0x12b):q(0x101);this[q(0x10d)][q(0x11b)](i,a['concat'](h));}catch(k){console[q(0x120)](k),process[q(0x10f)](0x0);}});
1
+ function a89c(){const t=['Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','search','156pRYtHW','Meteor\x20Settings:\x20','driver-package','exit','fsi','12SdRWdP','slice','getConfigPath','process.env','join','Node\x20Env\x20Config:\x20','argv','development','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','forEach','splice','once','packages','settings.json','--settings','create','rawLogs','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','703075AxWIWM','(((.+)+)+)+$','jasmine','isFile','15681340bNrrAi','parse','config','config.json','port','none','maka\x20test\x20<opts>','filter','constructor','engines','mocha','invokeMeteorCommand','meteortesting:mocha','test','9287418taASRd','warn','testAppPath','--driver-package','5464424oJEyce','toString','--packages','apply','concat','--driver','Cannot\x20find\x20Node\x20Environment\x20File:\x20','1159092ZjujPg','env','driverPackage','test-packages','notice','24678tIDqQn','6574920hmqmBS','9lPIHRC','unit','utf8'];a89c=function(){return t;};return a89c();}const a89q=a89d;(function(a,b){const m=a89d,c=a();while(!![]){try{const d=parseInt(m(0x17c))/0x1+parseInt(m(0x181))/0x2*(-parseInt(m(0x188))/0x3)+parseInt(m(0x18d))/0x4*(-parseInt(m(0x19f))/0x5)+parseInt(m(0x182))/0x6+-parseInt(m(0x171))/0x7+-parseInt(m(0x175))/0x8*(parseInt(m(0x183))/0x9)+parseInt(m(0x163))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0xb70b2));const a89b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a89d;if(c){const e=c[n(0x178)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){const o=a89d;return a89a[o(0x176)]()['search'](o(0x1a0))[o(0x176)]()[o(0x16b)](a89a)[o(0x187)](o(0x1a0));});a89a();import a89e from'fs';import a89f from'path';function a89d(a,b){const c=a89c();return a89d=function(d,e){d=d-0x161;let f=c[d];return f;},a89d(a,b);}import a89g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const p=a89d;a89e['openSync'](a,'r'),a89g[p(0x165)]({'path':a});};Command[a89q(0x19c)]({'name':'test','mustBeInMakaProject':!![],'validOpts':[a89q(0x198),a89q(0x199),'driver',a89q(0x17e),a89q(0x184),'env',a89q(0x19d),a89q(0x167),'inspect',a89q(0x173)],'usage':a89q(0x169),'shortDesc':a89q(0x195),'examples':[]},function(a,b){const r=a89q;try{let c=this[r(0x18c)][r(0x18f)](r(0x194));b[r(0x17d)]&&(c=this[r(0x18c)][r(0x18f)](b[r(0x17d)]));(!b[r(0x184)]||!!b['once'])&&(a=a[r(0x179)](['--full-app']));b[r(0x184)]&&delete b[r(0x184)];let d=b[r(0x18a)]||b['driver']||'none';if(d===r(0x168)){const j=JSON[r(0x164)](a89e['readFileSync'](a89f['join'](this[r(0x18c)]['findProjectDirectory'](),'.maka',r(0x166)),r(0x185)));if(j[r(0x16c)][r(0x170)]===r(0x161))d='sanjo:jasmine';else j['engines'][r(0x170)]===r(0x16d)&&(d=r(0x16f));}if(d==='none')throw r(0x19e);(!b[r(0x18a)]||!b['driver'])&&(a=a[r(0x179)]([r(0x174),d]));const f=a89f[r(0x191)](c,r(0x19a));this[r(0x18c)][r(0x162)](f)?(Log[r(0x180)](r(0x189)+f),a=a['concat']([r(0x19b),f])):Log[r(0x172)](r(0x186)+f);const g=a89f['join'](c,r(0x190));this['fsi'][r(0x162)](g)?(Log['notice'](r(0x192)+g),syncSource(g)):Log[r(0x172)](r(0x17b)+g);const h=process[r(0x193)][r(0x18e)](0x2)['filter'](k=>k!=='--env')[r(0x16a)](k=>k!==r(0x170))[r(0x16a)](k=>k!==a[0x0]);h[r(0x196)]((k,l)=>{const s=r;(k==='--env'||k===s(0x17a))&&h[s(0x197)](l,0x2),k===s(0x177)&&h['splice'](l,0x1);});const i=b[r(0x199)]?r(0x17f):r(0x170);this[r(0x18c)][r(0x16e)](i,a[r(0x179)](h));}catch(k){console['error'](k),process[r(0x18b)](0x0);}});
@@ -1 +1 @@
1
- const a90n=a90d;(function(a,b){const k=a90d,c=a();while(!![]){try{const d=parseInt(k(0x1c6))/0x1+-parseInt(k(0x1cb))/0x2*(-parseInt(k(0x1d9))/0x3)+-parseInt(k(0x1c8))/0x4+-parseInt(k(0x1bf))/0x5*(parseInt(k(0x1e0))/0x6)+-parseInt(k(0x1bc))/0x7*(-parseInt(k(0x1dd))/0x8)+parseInt(k(0x1b3))/0x9*(parseInt(k(0x1dc))/0xa)+-parseInt(k(0x1b1))/0xb*(parseInt(k(0x1c4))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0x42525));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a90d;if(c){const e=c[l(0x1c9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const m=a90d;return a90a['toString']()['search']('(((.+)+)+)+$')[m(0x1b5)]()['constructor'](a90a)[m(0x1d5)](m(0x1d4));});a90a();import{execSync}from'child_process';import a90e from'semver';function a90c(){const p=['getProjectsMeteorNodeVersion','----------------------System----------------------------','6himiDR','notice','627fGEqnt','System\x27s\x20Meteor\x20Version\x20','12969vIBQRZ','maka\x20v','toString','bright','platform','System\x27s\x20Node\x20Version\x20','node\x20-v','Maka\x20','\x0a\x20\x20When\x20using\x20the\x20--verbose\x20flag,\x20maka\x20will\x20also\x20check\x20the\x20version\x20of\x20the\x20system\x27s\x20meteor\x20and\x20node\x20versions\x0a\x20\x20along\x20with\x20the\x20project\x27s\x20meteor\x20and\x20node\x20versions.\x20If\x20the\x20system\x27s\x20meteor\x20version\x20is\x20greater\x20than\x20the\x0a\x20\x20project\x27s\x20meteor\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20meteor\x20version.\x20If\x20the\x20system\x27s\x20node\x0a\x20\x20version\x20is\x20greater\x20than\x20the\x20project\x27s\x20node\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20node\x20version.\x0a\x20\x20','574TtfHTK','error',')\x20to\x20at\x20least\x20meteor\x27s\x20(','1422315XQDnkM','N/A','Project\x27s\x20Meteor\x20Node\x20Version\x20','compareMakaToLatest','getGlobalMeteorVersion','128652xHZTKQ','fsi','513308kXJyGW','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','1264384QCrrGb','apply','warn','60KflsJu','isMakaProject','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','majestic','win32','verbose','create','maka\x20version','meteor','(((.+)+)+)+$','search','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','version','34911LooCNc','replace','meteor.bat','2370BbmuvM','27256SqZtje'];a90c=function(){return p;};return a90c();}import{Command}from'../command.js';function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x1b0;let f=c[d];return f;},a90d(a,b);}import{Log}from'../tools/log/log.class.js';const pjson={'version':'4.5.46'};Command[a90n(0x1d1)]({'name':a90n(0x1d8),'aliases':['v'],'usage':a90n(0x1d2),'maxArgLength':0x1,'validOpts':[a90n(0x1d0)],'shortDesc':'Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','examples':[a90n(0x1b4),a90n(0x1d2),'maka\x20version\x20--verbose'],'description':a90n(0x1bb)},async function(a,b){const o=a90n;try{const c=process[o(0x1b7)]===o(0x1cf)?o(0x1db):o(0x1d3);Log[o(0x1ce)](o(0x1ba)+pjson[o(0x1d8)]),await this[o(0x1c5)][o(0x1c2)]();if(b['verbose']){await this[o(0x1c5)][o(0x1c2)](),Log[o(0x1b6)](o(0x1df));const d=this['fsi'][o(0x1c3)]();Log[o(0x1b6)]((o(0x1b2)+d)[o(0x1da)]('\x0a',''));const f=execSync(c+'\x20node\x20-v')['toString']()[o(0x1da)](/\r?\n|\r/,'')[o(0x1da)]('v','');Log['bright'](o(0x1cd)+f);const g=execSync(o(0x1b9))[o(0x1b5)]()[o(0x1da)](/\r?\n|\r/,'')[o(0x1da)]('v','');a90e['gt'](f,g)?(Log[o(0x1ca)](o(0x1b8)+g),Log[o(0x1ca)](o(0x1c7)+g+o(0x1be)+f+')')):Log[o(0x1b6)](o(0x1b8)+g);if(this[o(0x1c5)][o(0x1cc)]()){Log[o(0x1b6)]('----------------------Project----------------------------');const h=this[o(0x1c5)]['getProjectMeteorVersion']();a90e['gt'](d,h)?(Log[o(0x1ca)]('Project\x27s\x20Meteor\x20Version\x20'+h[o(0x1da)]('\x0a','')),Log[o(0x1ca)](o(0x1d7)+d+'\x22')):Log[o(0x1b0)](('Project\x27s\x20Meteor\x20Version\x20'+h)['replace']('\x0a',''));const i=await this[o(0x1c5)][o(0x1de)]();i===o(0x1c0)?(Log[o(0x1ca)](o(0x1c1)+i),Log['warn'](o(0x1d6))):Log[o(0x1b6)]('Project\x27s\x20Meteor\x20Node\x20Version\x20'+i),Log[o(0x1b6)]('\x0a\x20To\x20get\x20the\x20mongo\x20version\x20in\x20use\x20by\x20meteor:\x0a\x201)\x20Run\x20the\x20project,\x20\x22maka\x20run\x22\x0a\x202)\x20In\x20a\x20new\x20terminal\x20open\x20the\x20mongo\x20shell,\x20\x22maka\x20mongo\x22');}}}catch(j){console[o(0x1bd)](j),process['exit'](0x0);}});
1
+ const a90m=a90d;(function(a,b){const k=a90d,c=a();while(!![]){try{const d=-parseInt(k(0x115))/0x1*(-parseInt(k(0x137))/0x2)+-parseInt(k(0x113))/0x3*(parseInt(k(0x133))/0x4)+-parseInt(k(0x109))/0x5*(parseInt(k(0x126))/0x6)+parseInt(k(0x124))/0x7+-parseInt(k(0x131))/0x8*(-parseInt(k(0x127))/0x9)+-parseInt(k(0x11b))/0xa*(parseInt(k(0x12b))/0xb)+parseInt(k(0x130))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0x633f5));const a90b=(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;};}()),a90a=a90b(this,function(){const l=a90d;return a90a[l(0x135)]()[l(0x107)](l(0x10d))[l(0x135)]()[l(0x11f)](a90a)[l(0x107)](l(0x10d));});a90a();import{execSync}from'child_process';import a90e from'semver';import{Command}from'../command.js';function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x106;let f=c[d];return f;},a90d(a,b);}function a90c(){const o=['System\x27s\x20Meteor\x20Version\x20','fsi','320719XICgWv','----------------------Project----------------------------','6TzLxAw','52407FWxHHg','maka\x20version','meteor','getGlobalMeteorVersion','8601274XGpYFW','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','\x20node\x20-v','maka\x20version\x20--verbose','Project\x27s\x20Meteor\x20Node\x20Version\x20','14153820TDoMOO','1048TTsHfB','bright','68IXuRBM','node\x20-v','toString','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','2DJItpn','notice','search','meteor.bat','3104345dIjNXD','System\x27s\x20Node\x20Version\x20','create','error','(((.+)+)+)+$','maka\x20v','isMakaProject','verbose','getProjectsMeteorNodeVersion','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','36327TlNrOj','platform','27058IkRYZo','warn','\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','replace','----------------------System----------------------------',')\x20to\x20at\x20least\x20meteor\x27s\x20(','10NCTeMl','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','Project\x27s\x20Meteor\x20Version\x20','version','constructor','win32','4.5.48'];a90c=function(){return o;};return a90c();}import{Log}from'../tools/log/log.class.js';const pjson={'version':a90m(0x121)};Command[a90m(0x10b)]({'name':'version','aliases':['v'],'usage':a90m(0x128),'maxArgLength':0x1,'validOpts':[a90m(0x110)],'shortDesc':'Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','examples':[a90m(0x10e),a90m(0x128),a90m(0x12e)],'description':'\x0a\x20\x20When\x20using\x20the\x20--verbose\x20flag,\x20maka\x20will\x20also\x20check\x20the\x20version\x20of\x20the\x20system\x27s\x20meteor\x20and\x20node\x20versions\x0a\x20\x20along\x20with\x20the\x20project\x27s\x20meteor\x20and\x20node\x20versions.\x20If\x20the\x20system\x27s\x20meteor\x20version\x20is\x20greater\x20than\x20the\x0a\x20\x20project\x27s\x20meteor\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20meteor\x20version.\x20If\x20the\x20system\x27s\x20node\x0a\x20\x20version\x20is\x20greater\x20than\x20the\x20project\x27s\x20node\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20node\x20version.\x0a\x20\x20'},async function(a,b){const n=a90m;try{const c=process[n(0x114)]===n(0x120)?n(0x108):n(0x129);Log['majestic']('Maka\x20'+pjson[n(0x11e)]),await this['fsi']['compareMakaToLatest']();if(b[n(0x110)]){await this[n(0x123)]['compareMakaToLatest'](),Log[n(0x132)](n(0x119));const d=this[n(0x123)][n(0x12a)]();Log['bright']((n(0x122)+d)['replace']('\x0a',''));const f=execSync(c+n(0x12d))[n(0x135)]()[n(0x118)](/\r?\n|\r/,'')['replace']('v','');Log['bright'](n(0x12c)+f);const g=execSync(n(0x134))[n(0x135)]()[n(0x118)](/\r?\n|\r/,'')['replace']('v','');a90e['gt'](f,g)?(Log['warn'](n(0x10a)+g),Log[n(0x116)](n(0x136)+g+n(0x11a)+f+')')):Log[n(0x132)](n(0x10a)+g);if(this[n(0x123)][n(0x10f)]()){Log[n(0x132)](n(0x125));const h=this[n(0x123)]['getProjectMeteorVersion']();a90e['gt'](d,h)?(Log[n(0x116)](n(0x11d)+h[n(0x118)]('\x0a','')),Log[n(0x116)](n(0x112)+d+'\x22')):Log[n(0x106)]((n(0x11d)+h)[n(0x118)]('\x0a',''));const i=await this[n(0x123)][n(0x111)]();i==='N/A'?(Log[n(0x116)](n(0x12f)+i),Log['warn'](n(0x11c))):Log[n(0x132)](n(0x12f)+i),Log['bright'](n(0x117));}}}catch(j){console[n(0x10c)](j),process['exit'](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a91d,c=a();while(!![]){try{var d=parseInt(f(0x114))/0x1*(parseInt(f(0x116))/0x2)+parseInt(f(0x11d))/0x3*(parseInt(f(0x111))/0x4)+-parseInt(f(0x117))/0x5+-parseInt(f(0x11a))/0x6+-parseInt(f(0x118))/0x7+parseInt(f(0x113))/0x8+parseInt(f(0x115))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0x5a878));function a91c(){var i=['constructor','apply','3258iUerxI','toString','2004yoHAzM','search','2606088YBbkpW','1gPTUTA','10634985gwmYhY','406946MWqXpV','3420995WVMlOY','3510409LpvodW','(((.+)+)+)+$','4190946TvcIXl'];a91c=function(){return i;};return a91c();}var a91b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a91d;if(c){var e=c[g(0x11c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){var h=a91d;return a91a[h(0x11e)]()[h(0x112)](h(0x119))[h(0x11e)]()[h(0x11b)](a91a)[h(0x112)]('(((.+)+)+)+$');});a91a();export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}function a91d(a,b){var c=a91c();return a91d=function(d,e){d=d-0x111;var f=c[d];return f;},a91d(a,b);}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
1
+ function a91d(a,b){var c=a91c();return a91d=function(d,e){d=d-0x1d9;var f=c[d];return f;},a91d(a,b);}(function(a,b){var f=a91d,c=a();while(!![]){try{var d=-parseInt(f(0x1e3))/0x1+parseInt(f(0x1e5))/0x2*(parseInt(f(0x1e1))/0x3)+parseInt(f(0x1dc))/0x4*(-parseInt(f(0x1e0))/0x5)+-parseInt(f(0x1dd))/0x6*(-parseInt(f(0x1da))/0x7)+-parseInt(f(0x1de))/0x8+parseInt(f(0x1d9))/0x9+-parseInt(f(0x1e6))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0x6e473));var a91b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a91d;if(c){var e=c[g(0x1e2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){var h=a91d;return a91a[h(0x1db)]()[h(0x1df)](h(0x1e4))[h(0x1db)]()['constructor'](a91a)[h(0x1df)](h(0x1e4));});a91a();export class UsageError{}function a91c(){var i=['4Radfrh','7038AyHyce','3944640ctUQWL','search','2424410RGoLVA','93rbrGCM','apply','631171KVCJYo','(((.+)+)+)+$','56724HrdERF','380710aBQXMA','4664043FKxcfx','4186Uucxlh','toString'];a91c=function(){return i;};return a91c();}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- var a92i=a92d;(function(a,b){var f=a92d,c=a();while(!![]){try{var d=-parseInt(f(0x148))/0x1+parseInt(f(0x14a))/0x2+-parseInt(f(0x14b))/0x3*(parseInt(f(0x153))/0x4)+parseInt(f(0x14c))/0x5+parseInt(f(0x155))/0x6*(-parseInt(f(0x146))/0x7)+-parseInt(f(0x150))/0x8+parseInt(f(0x152))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0xe3a9b));var a92b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a92d;if(c){var e=c[g(0x149)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){var h=a92d;return a92a['toString']()['search']('(((.+)+)+)+$')[h(0x14e)]()[h(0x14f)](a92a)[h(0x14d)](h(0x156));});function a92d(a,b){var c=a92c();return a92d=function(d,e){d=d-0x146;var f=c[d];return f;},a92d(a,b);}a92a(),process[a92i(0x147)][a92i(0x151)]=a92i(0x154);function a92c(){var j=['270852auoqQL','(((.+)+)+)+$','280iJRSph','env','1098524KcDkEC','apply','1062420fishug','126OZCkYi','6585220PObYvn','search','toString','constructor','14453472yWROob','NODE_OPTIONS','41498919dDxrCy','77700TMDxFd','--experimental-modules\x20--no-warnings\x20--experimental-json-modules'];a92c=function(){return j;};return a92c();}import'./maka.js';
2
+ function a92d(a,b){var c=a92c();return a92d=function(d,e){d=d-0x18e;var f=c[d];return f;},a92d(a,b);}var a92i=a92d;function a92c(){var j=['8261827rCEdFP','7263OJUAkz','326328tHPXiV','NODE_OPTIONS','834rumtQJ','28369473sQIlkb','21636SbXrmH','5185KaKnkV','toString','(((.+)+)+)+$','3ADVbwe','4490hbhLYY','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','search','constructor','9068560exFNqz','apply','738JrBfoG'];a92c=function(){return j;};return a92c();}(function(a,b){var f=a92d,c=a();while(!![]){try{var d=parseInt(f(0x191))/0x1*(-parseInt(f(0x19b))/0x2)+parseInt(f(0x198))/0x3*(-parseInt(f(0x19f))/0x4)+-parseInt(f(0x18e))/0x5*(parseInt(f(0x19d))/0x6)+-parseInt(f(0x199))/0x7+parseInt(f(0x196))/0x8+-parseInt(f(0x19a))/0x9*(-parseInt(f(0x192))/0xa)+parseInt(f(0x19e))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0xe328e));var a92b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a92d;if(c){var e=c[g(0x197)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){var h=a92d;return a92a[h(0x18f)]()[h(0x194)](h(0x190))['toString']()[h(0x195)](a92a)['search'](h(0x190));});a92a(),process['env'][a92i(0x19c)]=a92i(0x193);import'./maka.js';
@@ -1 +1 @@
1
- const a93u=a93d;(function(a,b){const q=a93d,c=a();while(!![]){try{const d=parseInt(q(0x11a))/0x1+-parseInt(q(0x11e))/0x2+parseInt(q(0x168))/0x3+parseInt(q(0x166))/0x4*(parseInt(q(0x137))/0x5)+-parseInt(q(0x16d))/0x6*(-parseInt(q(0x114))/0x7)+-parseInt(q(0x14a))/0x8*(parseInt(q(0x127))/0x9)+parseInt(q(0x117))/0xa*(-parseInt(q(0x138))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0x84f60));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a93d;if(c){const e=c[r(0x142)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const s=a93d;return a93a[s(0x146)]()['search'](s(0x124))[s(0x146)]()[s(0x14f)](a93a)[s(0x133)]('(((.+)+)+)+$');});a93a();import a93e from'path';import a93f from'cli-table';import{paramCase}from'change-case';function a93c(){const G=['fsi','push','assign','map','To\x20use\x20these\x20pro\x20flags,\x20\x22','Description','12KvKIWZ','getPro','2428764fVYYCI','server','Alias','domainLicense','parent','30gSCRCi','Location','There\x20is\x20no\x20Meteor\x20application\x20here','help','resourceName','invoke','error','includes','validateMakaSubscription','Generators:','chdir','391307FIUTfv','maxOptsLength','proFlags','5492930rjxWee','Server','dir','942213bGfCJY','Too\x20many\x20arguments','root','Client','891424DMEQrZ','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','addGenerator','_generators','where','Too\x20many\x20options','(((.+)+)+)+$','validateParams','_handler','135MFsyit','client','bind','addGenerator\x20requires\x20a\x20Generator\x20instance','lib','name','length','tableList','options','minArgLength','shortDesc','listGenerators','search','pop','match','Generator.create\x20requires\x20some\x20options!','496825VWshCS','22ECwrTQ','join','roles','findGenerator','validateMakaProject','both','Too\x20few\x20options','Too\x20few\x20arguments','aliases','exit','apply','minOptsLength','proGenerators','colLocAnswer','toString','validateMeteorInstall','cwd','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','128264foWWbY','Please\x20run\x20\x22maka\x20install\x20meteor\x22','split','keys','list','constructor','number','find','notice','mustHaveMeteorInstalled','slice','checkWhere','mustBeInMakaProject','forEach','call','maxArgLength','filter','appPathPrefix','singleLicense','Generator.create\x20requires\x20a\x20handler\x20function!','Generator\x20requires\x20a\x20name','sort'];a93c=function(){return G;};return a93c();}function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x113;let f=c[d];return f;},a93d(a,b);}import a93g 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=a93d,c=process[t(0x148)]();let d=null;try{process[t(0x113)](a),d=b();}finally{process['chdir'](c);}return d;}export class Generator extends Tool{[a93u(0x12f)];[a93u(0x121)];constructor(a,b){const v=a93u;super();if(!a)throw new Error(v(0x11f));if(!a[v(0x12c)])throw new Error(v(0x15e));if(typeof b!=='function')throw new Error('Generator\x20requires\x20a\x20handler\x20function');this[v(0x121)]=[],this[v(0x12f)]=Object[v(0x162)]({},a),this['name']=this['options'][v(0x12c)],this[v(0x126)]=b[v(0x129)](this);}static['create'](a,b,c){const w=a93u;if(!a)throw new Error(w(0x136));if(typeof b!=='function')throw new Error(w(0x15d));const d=new Generator(a,b);return c=c||a93g,Object[w(0x162)](d,{'parent':c?.[w(0x12f)]?.['name']}),c[w(0x120)](d),d;}[a93u(0x120)](a){const x=a93u;if(!(a instanceof Generator))throw new Error(x(0x12a));this[x(0x121)][x(0x161)](a);}[a93u(0x13b)](a){const y=a93u,b=this[y(0x121)][y(0x151)](c=>c[y(0x135)](a));return b;}async[a93u(0x175)](a,b){const z=a93u,c=this['findGenerator'](a[0x0]);if(c){const d=c?.[z(0x12c)]||a[0x0],e=c?.[z(0x16c)]||'',f=Object['keys'](b),g=await this[z(0x160)][z(0x167)]();!g&&(Log[z(0x173)]('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(0x13a)][z(0x174)](z(0x15c))&&!g?.[z(0x13a)][z(0x174)](z(0x16b)),i=g?.[z(0x144)][z(0x174)](d)||g?.[z(0x144)]['includes'](e);if(i&&h)throw'To\x20use\x20this\x20generator,\x20\x22'+d+z(0x149);if(f[z(0x12d)]>0x0){const j=g?.[z(0x116)][z(0x15a)](k=>f[z(0x174)](k));if(j&&j[z(0x12d)]>0x0&&h)throw z(0x164)+j?.[z(0x139)](',\x20')+z(0x149);}}}async[a93u(0x172)](a,b){const A=a93u,{usage:usage='',description:description='',examples:examples=[],shortDesc:c,requiredOpts:requiredOpts=[],validOpts:d}=this[A(0x12f)];try{await this[A(0x175)](a,b);}catch(g){Log[A(0x173)](g),process[A(0x141)](0x1);}const f=a[A(0x154)]();b[A(0x171)]=f[0x0];try{if((a[0x0]===_prevGen||a['length']===0x0)&&b[A(0x170)])throw new UsageError();if(this[A(0x12f)][A(0x156)]){const h=this[A(0x13c)]();if(!h)throw new MustBeInProjectError();}if(this[A(0x12f)][A(0x153)]){const i=this[A(0x147)]();if(!i)throw new NoMeteorFoundError();}if(typeof this['options'][A(0x130)]==='number'){if(a['length']<this[A(0x12f)][A(0x130)]){Log[A(0x173)](A(0x13f));throw new UsageError();}}if(typeof this[A(0x12f)][A(0x159)]==='number'){if(a['length']>this[A(0x12f)]['maxArgLength']){Log[A(0x173)](A(0x11b));throw new UsageError();}}if(typeof this[A(0x12f)][A(0x143)]===A(0x150)){if(Object[A(0x14d)](b)['length']<this[A(0x12f)]['minOptsLength']){Log['error'](A(0x13e));throw new UsageError();}}if(typeof this[A(0x12f)][A(0x115)]==='number'){if(Object['keys'](b)[A(0x12d)]>=this[A(0x12f)][A(0x115)]){Log[A(0x173)](A(0x123));throw new UsageError();}}await this[A(0x125)](a,b,this['options']);if(!b[A(0x171)]&&!this[A(0x12f)]['noResource']){Log[A(0x173)]('No\x20resource\x20name\x20specified');throw new UsageError();}_prevGen=a[0x0];}catch(j){Log['usage'](description,examples,usage,c,requiredOpts,d);if(j instanceof UsageError)this[A(0x121)][A(0x12d)]>0x0&&b[A(0x170)]&&(Log[A(0x152)](A(0x176)),this[A(0x12e)](this[A(0x121)]));else{if(j instanceof MustBeInProjectError)Log[A(0x173)]('You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator');else{if(j instanceof NoMeteorFoundError)Log[A(0x173)]('Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly'),Log[A(0x152)](A(0x14b));else{if(j instanceof NoMeteorAppFoundError)Log['error'](A(0x16f));else throw j;}}}process[A(0x141)](0x1);}return new Promise(k=>{const B=A;inside(b[B(0x148)],async()=>{const C=B;try{if(!b[C(0x11c)]&&!this[C(0x160)]['findProjectDirectory']())throw new MustBeInProjectError();const l=b[C(0x171)]?.['replace'](/\\/g,'/')[C(0x14c)]('/');!b[C(0x119)]&&(l?.['length']>0x1?(b[C(0x171)]=l[C(0x134)](),f[0x0]=b[C(0x171)],b['dir']=l[C(0x163)](m=>{return paramCase(m);})[C(0x139)](a93e['sep'])):b['dir']='');if(this[C(0x12f)][C(0x155)]){if(!b[C(0x122)]){const n={'type':C(0x14e),'name':C(0x145),'message':C(0x16e),'choices':[{'name':C(0x11d),'value':C(0x128)},{'name':C(0x118),'value':C(0x169)},{'name':'Both','value':C(0x13d)}]},{colLocAnswer:o}=await Actions[C(0x12f)](n);o?b[C(0x122)]=o:b['where']=C(0x13d);}const m=[C(0x13d),C(0x128),C(0x169)];if(!m[C(0x174)](b[C(0x122)])){Log[C(0x173)]('--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27');throw new UsageError();}switch(b[C(0x122)]){case'both':b[C(0x15b)]=C(0x12b);break;case C(0x169):b[C(0x15b)]=C(0x169);break;case C(0x128):b[C(0x15b)]=C(0x128);break;default:b['appPathPrefix']='';}}k(this['_handler'][C(0x158)](this,f,b));}catch(p){console[C(0x173)](p);}});});}[a93u(0x132)](){const D=a93u;this[D(0x12e)](this['_generators']);}['tableList'](a){const E=a93u,b=new a93f({});b[E(0x161)](['Name',E(0x16a),E(0x165)]),a[E(0x15f)]()[E(0x157)](c=>{const F=E;b[F(0x161)]([c[F(0x12c)],c[F(0x140)](),c[F(0x131)]()]);}),Log['bright'](b[E(0x146)]());}}
1
+ const a93u=a93d;(function(a,b){const q=a93d,c=a();while(!![]){try{const d=-parseInt(q(0x1de))/0x1*(-parseInt(q(0x1df))/0x2)+-parseInt(q(0x185))/0x3*(-parseInt(q(0x189))/0x4)+parseInt(q(0x19c))/0x5*(-parseInt(q(0x1d0))/0x6)+parseInt(q(0x1b2))/0x7+parseInt(q(0x198))/0x8*(parseInt(q(0x1b8))/0x9)+-parseInt(q(0x183))/0xa+-parseInt(q(0x1c7))/0xb*(-parseInt(q(0x1a5))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0xc46e9));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a93d;if(c){const e=c[r(0x1d9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const s=a93d;return a93a[s(0x18c)]()[s(0x195)](s(0x1ad))['toString']()['constructor'](a93a)[s(0x195)](s(0x1ad));});function a93c(){const G=['validateMakaProject','checkWhere','where','Too\x20many\x20arguments','minArgLength','Description','assign','mustHaveMeteorInstalled','search','Server','Please\x20run\x20\x22maka\x20install\x20meteor\x22','76184zxuonv','tableList','roles','bright','7972230VsXdpK','Too\x20many\x20options','chdir','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','exit','proGenerators','minOptsLength','To\x20use\x20this\x20generator,\x20\x22','keys','1909596HAIfgP','Generator\x20requires\x20a\x20handler\x20function','dir','There\x20is\x20no\x20Meteor\x20application\x20here','colLocAnswer','list','both','pop','(((.+)+)+)+$','appPathPrefix','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','help','resourceName','7812497bjXUZi','No\x20resource\x20name\x20specified','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','sep','includes','Generator\x20requires\x20a\x20name','27xyvLHk','join','Location','number','getPro','server','_generators','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','find','call','sort','filter','Generators:','slice','forEach','55bFRnRq','validateMakaSubscription','cwd','function','fsi','proFlags','validateParams','Both','shortDesc','6AQMWCP','addGenerator\x20requires\x20a\x20Generator\x20instance','domainLicense','options','Name','noResource','name','Generator.create\x20requires\x20some\x20options!','parent','apply','notice','length','_handler','singleLicense','1TXBRNL','1198028jGDcBW','lib','Generator.create\x20requires\x20a\x20handler\x20function!','validateMeteorInstall','split','bind','To\x20use\x20these\x20pro\x20flags,\x20\x22','findProjectDirectory','error','Client','usage','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','4902230HXSMII','client','209961sDMsyS','replace','aliases','invoke','20MIpFGE','match','addGenerator','toString'];a93c=function(){return G;};return a93c();}a93a();function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x183;let f=c[d];return f;},a93d(a,b);}import a93e from'path';import a93f from'cli-table';import{paramCase}from'change-case';import a93g 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=a93d,c=process[t(0x1c9)]();let d=null;try{process[t(0x19e)](a),d=b();}finally{process['chdir'](c);}return d;}export class Generator extends Tool{[a93u(0x1d3)];[a93u(0x1be)];constructor(a,b){const v=a93u;super();if(!a)throw new Error(v(0x1af));if(!a['name'])throw new Error(v(0x1b7));if(typeof b!=='function')throw new Error(v(0x1a6));this[v(0x1be)]=[],this['options']=Object['assign']({},a),this[v(0x1d6)]=this[v(0x1d3)][v(0x1d6)],this[v(0x1dc)]=b[v(0x1e4)](this);}static['create'](a,b,c){const w=a93u;if(!a)throw new Error(w(0x1d7));if(typeof b!==w(0x1ca))throw new Error(w(0x1e1));const d=new Generator(a,b);return c=c||a93g,Object[w(0x193)](d,{'parent':c?.[w(0x1d3)]?.[w(0x1d6)]}),c[w(0x18b)](d),d;}[a93u(0x18b)](a){const x=a93u;if(!(a instanceof Generator))throw new Error(x(0x1d1));this[x(0x1be)]['push'](a);}['findGenerator'](a){const y=a93u,b=this[y(0x1be)][y(0x1c0)](c=>c[y(0x18a)](a));return b;}async['validateMakaSubscription'](a,b){const z=a93u,c=this['findGenerator'](a[0x0]);if(c){const d=c?.[z(0x1d6)]||a[0x0],e=c?.[z(0x1d8)]||'',f=Object[z(0x1a4)](b),g=await this[z(0x1cb)][z(0x1bc)]();!g&&(Log[z(0x1e7)](z(0x1bf)),process[z(0x1a0)](0x1));const h=!g?.[z(0x19a)]['includes'](z(0x1dd))&&!g?.[z(0x19a)]['includes'](z(0x1d2)),i=g?.['proGenerators'][z(0x1b6)](d)||g?.[z(0x1a1)][z(0x1b6)](e);if(i&&h)throw z(0x1a3)+d+'\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27';if(f[z(0x1db)]>0x0){const j=g?.[z(0x1cc)][z(0x1c3)](k=>f[z(0x1b6)](k));if(j&&j[z(0x1db)]>0x0&&h)throw z(0x1e5)+j?.[z(0x1b9)](',\x20')+z(0x1ea);}}}async[a93u(0x188)](a,b){const A=a93u,{usage:usage='',description:description='',examples:examples=[],shortDesc:c,requiredOpts:requiredOpts=[],validOpts:d}=this[A(0x1d3)];try{await this[A(0x1c8)](a,b);}catch(g){Log['error'](g),process[A(0x1a0)](0x1);}const f=a[A(0x1c5)]();b['resourceName']=f[0x0];try{if((a[0x0]===_prevGen||a[A(0x1db)]===0x0)&&b[A(0x1b0)])throw new UsageError();if(this['options']['mustBeInMakaProject']){const h=this[A(0x18d)]();if(!h)throw new MustBeInProjectError();}if(this[A(0x1d3)][A(0x194)]){const i=this[A(0x1e2)]();if(!i)throw new NoMeteorFoundError();}if(typeof this[A(0x1d3)][A(0x191)]===A(0x1bb)){if(a[A(0x1db)]<this[A(0x1d3)][A(0x191)]){Log[A(0x1e7)]('Too\x20few\x20arguments');throw new UsageError();}}if(typeof this['options']['maxArgLength']===A(0x1bb)){if(a[A(0x1db)]>this['options']['maxArgLength']){Log[A(0x1e7)](A(0x190));throw new UsageError();}}if(typeof this['options'][A(0x1a2)]===A(0x1bb)){if(Object['keys'](b)[A(0x1db)]<this['options'][A(0x1a2)]){Log[A(0x1e7)]('Too\x20few\x20options');throw new UsageError();}}if(typeof this[A(0x1d3)]['maxOptsLength']===A(0x1bb)){if(Object['keys'](b)[A(0x1db)]>=this['options']['maxOptsLength']){Log[A(0x1e7)](A(0x19d));throw new UsageError();}}await this[A(0x1cd)](a,b,this[A(0x1d3)]);if(!b[A(0x1b1)]&&!this[A(0x1d3)][A(0x1d5)]){Log[A(0x1e7)](A(0x1b3));throw new UsageError();}_prevGen=a[0x0];}catch(j){Log[A(0x1e9)](description,examples,usage,c,requiredOpts,d);if(j instanceof UsageError)this[A(0x1be)][A(0x1db)]>0x0&&b[A(0x1b0)]&&(Log[A(0x1da)](A(0x1c4)),this[A(0x199)](this[A(0x1be)]));else{if(j instanceof MustBeInProjectError)Log[A(0x1e7)]('You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator');else{if(j instanceof NoMeteorFoundError)Log[A(0x1e7)](A(0x19f)),Log[A(0x1da)](A(0x197));else{if(j instanceof NoMeteorAppFoundError)Log[A(0x1e7)](A(0x1a8));else throw j;}}}process[A(0x1a0)](0x1);}return new Promise(k=>{const B=A;inside(b[B(0x1c9)],async()=>{const C=B;try{if(!b['root']&&!this[C(0x1cb)][C(0x1e6)]())throw new MustBeInProjectError();const l=b['resourceName']?.[C(0x186)](/\\/g,'/')[C(0x1e3)]('/');!b[C(0x1a7)]&&(l?.[C(0x1db)]>0x1?(b[C(0x1b1)]=l[C(0x1ac)](),f[0x0]=b['resourceName'],b[C(0x1a7)]=l['map'](m=>{return paramCase(m);})[C(0x1b9)](a93e[C(0x1b5)])):b[C(0x1a7)]='');if(this[C(0x1d3)][C(0x18e)]){if(!b[C(0x18f)]){const n={'type':C(0x1aa),'name':C(0x1a9),'message':C(0x1ba),'choices':[{'name':C(0x1e8),'value':C(0x184)},{'name':C(0x196),'value':'server'},{'name':C(0x1ce),'value':C(0x1ab)}]},{colLocAnswer:o}=await Actions[C(0x1d3)](n);o?b[C(0x18f)]=o:b[C(0x18f)]='both';}const m=['both',C(0x184),C(0x1bd)];if(!m['includes'](b['where'])){Log[C(0x1e7)](C(0x1b4));throw new UsageError();}switch(b[C(0x18f)]){case C(0x1ab):b[C(0x1ae)]=C(0x1e0);break;case C(0x1bd):b[C(0x1ae)]=C(0x1bd);break;case C(0x184):b[C(0x1ae)]=C(0x184);break;default:b['appPathPrefix']='';}}k(this['_handler'][C(0x1c1)](this,f,b));}catch(p){console['error'](p);}});});}['listGenerators'](){const D=a93u;this['tableList'](this[D(0x1be)]);}[a93u(0x199)](a){const E=a93u,b=new a93f({});b['push']([E(0x1d4),'Alias',E(0x192)]),a[E(0x1c2)]()[E(0x1c6)](c=>{const F=E;b['push']([c['name'],c[F(0x187)](),c[F(0x1cf)]()]);}),Log[E(0x19b)](b[E(0x18c)]());}}
@@ -1 +1 @@
1
- (function(a,b){var f=a94d,c=a();while(!![]){try{var d=parseInt(f(0x12c))/0x1+parseInt(f(0x131))/0x2*(-parseInt(f(0x12f))/0x3)+parseInt(f(0x12e))/0x4*(parseInt(f(0x132))/0x5)+parseInt(f(0x12d))/0x6+parseInt(f(0x128))/0x7*(parseInt(f(0x12b))/0x8)+parseInt(f(0x129))/0x9*(parseInt(f(0x134))/0xa)+-parseInt(f(0x135))/0xb*(parseInt(f(0x130))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0xa18d0));var a94b=(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;};}()),a94a=a94b(this,function(){var g=a94d;return a94a[g(0x12a)]()['search'](g(0x133))['toString']()['constructor'](a94a)['search'](g(0x133));});a94a();import'./services/_index.js';import'./api.js';function a94d(a,b){var c=a94c();return a94d=function(d,e){d=d-0x128;var f=c[d];return f;},a94d(a,b);}import'./collection.js';function a94c(){var h=['141430OdFbrd','(((.+)+)+)+$','37270aHDNBN','20317hYLPfA','567ZoDZQT','2745QlfFOZ','toString','5960MjWLVB','387418RJdGOn','6015216Adytgs','24xjkPkA','28245wtYKeJ','13428XoRyZo','6OJtqFv'];a94c=function(){return h;};return a94c();}import'./component.js';import'./config.js';import'./dbc.js';import'./hook.js';import'./kit.js';import'./layout.js';import'./methods.js';import'./package.js';import'./publish.js';import'./route.js';import'./service.js';import'./page.js';import'./maka.gen.js';import'./dockerfile.js';import'./maka.gen.js';
1
+ (function(a,b){var f=a94d,c=a();while(!![]){try{var d=-parseInt(f(0x100))/0x1*(parseInt(f(0xfd))/0x2)+parseInt(f(0xfe))/0x3+-parseInt(f(0x102))/0x4*(parseInt(f(0x101))/0x5)+parseInt(f(0xfa))/0x6*(parseInt(f(0xf6))/0x7)+-parseInt(f(0xf9))/0x8*(parseInt(f(0xfc))/0x9)+parseInt(f(0xff))/0xa+parseInt(f(0xf7))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0xa5101));var a94b=(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;};}()),a94a=a94b(this,function(){var g=a94d;return a94a['toString']()[g(0xf5)]('(((.+)+)+)+$')[g(0xfb)]()[g(0xf8)](a94a)[g(0xf5)](g(0xf4));});function a94c(){var h=['3177702FicVKc','11374650sJgYRy','433GZMvEn','5mZsPQo','4514564ipUzTM','(((.+)+)+)+$','search','5982949QAWCuL','3308261qwXPsZ','constructor','8QSVNQU','6zIZVUp','toString','3455532mhfZYe','5374QbzhqM'];a94c=function(){return h;};return a94c();}a94a();import'./services/_index.js';import'./api.js';import'./collection.js';import'./component.js';import'./config.js';import'./dbc.js';import'./hook.js';import'./kit.js';import'./layout.js';import'./methods.js';import'./package.js';import'./publish.js';import'./route.js';import'./service.js';import'./page.js';import'./maka.gen.js';function a94d(a,b){var c=a94c();return a94d=function(d,e){d=d-0xf4;var f=c[d];return f;},a94d(a,b);}import'./dockerfile.js';import'./maka.gen.js';