@maka/maka-cli 4.5.45 → 4.5.47

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(0x1e4))/0x1+-parseInt(g(0x1d7))/0x2+-parseInt(g(0x1db))/0x3*(parseInt(g(0x1ed))/0x4)+-parseInt(g(0x1e7))/0x5*(parseInt(g(0x1ee))/0x6)+-parseInt(g(0x1d9))/0x7*(-parseInt(g(0x1f0))/0x8)+-parseInt(g(0x1e8))/0x9*(-parseInt(g(0x1e9))/0xa)+-parseInt(g(0x1e0))/0xb*(-parseInt(g(0x1e6))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a76c,0xa156c));const a76b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a76d;if(c){const e=c[h(0x1dc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a76a=a76b(this,function(){const i=a76d;return a76a[i(0x1d8)]()['search'](i(0x1ec))[i(0x1d8)]()[i(0x1de)](a76a)['search'](i(0x1ec));});function a76c(){const l=['189136ufqpUF','fsi','12UNSNRh','15aeRcUq','191214bFXMbE','160PlveDL','maybeProxyCommandToMeteor','maka\x20<command>\x20[<args>]\x20[<opts>]','(((.+)+)+)+$','4JIAsKv','1117056odqoLT','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','2264PIHxcn','972062xPQQiq','toString','16989OjoaXS','runSubCommand','3669123mtuCAw','apply','slice','constructor','findSubCommand','18837841tNJxNb','maka\x20create\x20Todo','exit','error'];a76c=function(){return l;};return a76c();}function a76d(a,b){const c=a76c();return a76d=function(d,e){d=d-0x1d7;let f=c[d];return f;},a76d(a,b);}a76a();import{Command}from'../command.js';const Maka=new Command({'name':'maka','minArgLength':0x1,'shortDesc':a76j(0x1ef),'validOpts':[],'usage':a76j(0x1eb),'disableAuthCheck':!![],'examples':['maka\x20--help','maka\x20install\x20meteor',a76j(0x1e1),'maka\x20run'],'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(0x1df)](c);d?this[k(0x1da)](c,a[k(0x1dd)](0x1),b):this[k(0x1e5)][k(0x1ea)]();}catch(f){console[k(0x1e3)](f),process[k(0x1e2)](0x1);}});export default Maka;
1
+ function a76d(a,b){const c=a76c();return a76d=function(d,e){d=d-0x1ca;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(0x1cc))/0x1+-parseInt(g(0x1db))/0x2+-parseInt(g(0x1dc))/0x3+parseInt(g(0x1df))/0x4+-parseInt(g(0x1d6))/0x5+-parseInt(g(0x1d3))/0x6+parseInt(g(0x1d7))/0x7*(parseInt(g(0x1d2))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a76c,0x32f40));function a76c(){const l=['findSubCommand','1614560fXTjyb','maka\x20<command>\x20[<args>]\x20[<opts>]','toString','83224ffdric','search','maka\x20run','slice','apply','error','3661376NnHYRz','2128752EQHjhp','maka\x20create\x20Todo','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','922895kGTcTl','7fEMqoh','maka\x20--help','maybeProxyCommandToMeteor','maka\x20install\x20meteor','34704uaNQbb','37983aNEonx','maka'];a76c=function(){return l;};return a76c();}const a76b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a76d;if(c){const e=c[h(0x1d0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a76a=a76b(this,function(){const i=a76d;return a76a[i(0x1cb)]()[i(0x1cd)]('(((.+)+)+)+$')[i(0x1cb)]()['constructor'](a76a)[i(0x1cd)]('(((.+)+)+)+$');});a76a();import{Command}from'../command.js';const Maka=new Command({'name':a76j(0x1dd),'minArgLength':0x1,'shortDesc':a76j(0x1d5),'validOpts':[],'usage':a76j(0x1ca),'disableAuthCheck':!![],'examples':[a76j(0x1d8),a76j(0x1da),a76j(0x1d4),a76j(0x1ce)],'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.::.\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(0x1de)](c);d?this['runSubCommand'](c,a[k(0x1cf)](0x1),b):this['fsi'][k(0x1d9)]();}catch(f){console[k(0x1d1)](f),process['exit'](0x1);}});export default Maka;
@@ -1 +1 @@
1
- function a77c(){var k=['6ouVfpF','create','apply','error','constructor','965418XajseL','murder','(((.+)+)+)+$','font-family:\x20monospace','442232fccdvh','search','%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','Murrrrderrrrr','40157JMcDPX','1209215UbtAQv','toString','139112FHoDbx','458845twmKUU','log','560970XCPXbc'];a77c=function(){return k;};return a77c();}var a77i=a77d;function a77d(a,b){var c=a77c();return a77d=function(d,e){d=d-0x1c6;var f=c[d];return f;},a77d(a,b);}(function(a,b){var f=a77d,c=a();while(!![]){try{var d=-parseInt(f(0x1d4))/0x1+parseInt(f(0x1c6))/0x2+-parseInt(f(0x1c7))/0x3*(-parseInt(f(0x1d7))/0x4)+-parseInt(f(0x1d8))/0x5+parseInt(f(0x1cc))/0x6+-parseInt(f(0x1d5))/0x7+-parseInt(f(0x1d0))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0x24dd2));var a77b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a77d;if(c){var e=c[g(0x1c9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){var h=a77d;return a77a[h(0x1d6)]()[h(0x1d1)](h(0x1ce))[h(0x1d6)]()[h(0x1cb)](a77a)[h(0x1d1)](h(0x1ce));});a77a();import{Command}from'../command.js';Command[a77i(0x1c8)]({'name':a77i(0x1cd),'usage':'maka\x20murder','maxArgLength':0x1,'shortDesc':a77i(0x1d3),'validOpts':[]},async function(){var j=a77i;try{console[j(0x1d9)](j(0x1d2),j(0x1cf));}catch(a){console[j(0x1ca)](a),process['exit'](0x0);}});
1
+ var a77i=a77d;(function(a,b){var f=a77d,c=a();while(!![]){try{var d=-parseInt(f(0x108))/0x1*(parseInt(f(0xf9))/0x2)+-parseInt(f(0xfc))/0x3+-parseInt(f(0xf5))/0x4*(parseInt(f(0xfb))/0x5)+-parseInt(f(0x106))/0x6*(-parseInt(f(0xfe))/0x7)+parseInt(f(0x102))/0x8+parseInt(f(0x103))/0x9+parseInt(f(0x109))/0xa*(parseInt(f(0xfa))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0xa9e2d));function a77d(a,b){var c=a77c();return a77d=function(d,e){d=d-0xf5;var f=c[d];return f;},a77d(a,b);}var a77b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a77d;if(c){var e=c[g(0xfd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){var h=a77d;return a77a[h(0xf8)]()[h(0xf6)](h(0x10a))[h(0xf8)]()[h(0x100)](a77a)['search'](h(0x10a));});function a77c(){var k=['55jBnKIn','697470cKCNVr','apply','1877687XFKQKP','murder','constructor','%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','7186848cRAKjp','10706445CwHXzF','create','exit','12HCbGNk','error','143686fJtLnA','10yhhbqm','(((.+)+)+)+$','maka\x20murder','207412pVibAB','search','font-family:\x20monospace','toString','16qGlhYc','261481FvCPGq'];a77c=function(){return k;};return a77c();}a77a();import{Command}from'../command.js';Command[a77i(0x104)]({'name':a77i(0xff),'usage':a77i(0x10b),'maxArgLength':0x1,'shortDesc':'Murrrrderrrrr','validOpts':[]},async function(){var j=a77i;try{console['log'](j(0x101),j(0xf7));}catch(a){console[j(0x107)](a),process[j(0x105)](0x0);}});
@@ -1 +1 @@
1
- function a78c(){const s=['3223948OnDLVw','1876719ugRRtO','help','localhost','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','maka\x20proxy\x20--target-host\x20http://192.168.1.20','maka\x20proxy','development','constructor','proxy','utf8','(((.+)+)+)+$','mkKeysDir','\x20to\x20','targetPort','168363iRRFvt','.csr','appName','getConfigPath','createProxyServer','253XocGaY','targetHost','477255qSvsyA','apply','bright','search','12UXlclK','.key','fsi','join','getProjectConfig','toString','isFile','create','209252XRjSww','2003442VbGfQL','4ZWeLzj','sslconfig','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','listen','listenPort','error','findGenerator','32SuRwqY','genSSC','494970dxyEfy'];a78c=function(){return s;};return a78c();}const a78q=a78d;(function(a,b){const n=a78d,c=a();while(!![]){try{const d=-parseInt(n(0x1ba))/0x1*(-parseInt(n(0x1b8))/0x2)+parseInt(n(0x1c5))/0x3+parseInt(n(0x1de))/0x4*(parseInt(n(0x1da))/0x5)+-parseInt(n(0x1b9))/0x6+parseInt(n(0x1c4))/0x7+-parseInt(n(0x1c1))/0x8*(-parseInt(n(0x1d3))/0x9)+-parseInt(n(0x1c3))/0xa*(parseInt(n(0x1d8))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x6010c));const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a78d;if(c){const e=c[o(0x1db)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const p=a78d;return a78a[p(0x1b5)]()[p(0x1dd)](p(0x1cf))[p(0x1b5)]()[p(0x1cc)](a78a)[p(0x1dd)](p(0x1cf));});a78a();import a78e from'fs';function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x1b5;let f=c[d];return f;},a78d(a,b);}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(0x1b7)]({'name':a78q(0x1cd),'usage':a78q(0x1ca),'mustBeInMakaProject':!![],'validOpts':[a78q(0x1c6),a78q(0x1d2),a78q(0x1be),a78q(0x1d9)],'maxArgLength':0x1,'shortDesc':a78q(0x1c8),'description':'\x0a\x20\x20If\x20you\x27re\x20running\x20your\x20Meteor\x20service,\x20and\x20need\x20to\x20stand\x20up\x20an\x20SSL\x0a\x20\x20Proxy,\x20this\x20command\x20will\x20automatically\x20create\x20a\x20key\x20pair\x20for\x20use\x20in\x20an\x20HTTPS\x0a\x20\x20proxy.\x0a\x0a\x20\x20For\x20example,\x20you\x27re\x20running\x20http://localhost:3000\x20with\x20\x22maka\x20run\x22\x20then\x20open\x20a\x20new\x0a\x20\x20terminal\x20and\x20run\x20\x22maka\x20proxy\x22\x20to\x20standup\x20https://localhost:3443.\x0a\x20\x20Then\x20open\x20your\x20browser\x20to\x20that\x20URL\x20(you\x20may\x20need\x20to\x20trust\x20the\x20certificates\x0a\x20\x20because\x20they\x20are\x20self-signed)\x20and\x20you\x27ll\x20have\x20an\x20SSL\x20connection\x20to\x20your\x0a\x20\x20http://localhost:3000.\x0a\x0a\x20\x20To\x20avoid\x20possibly\x20overwriting\x20PKI\x20files\x20in\x20higher\x20environments,\x20\x22maka\x20proxy\x22\x0a\x20\x20will\x20try\x20to\x20only\x20generate\x20/\x20store\x20PKI\x20keys\x20in\x20the\x20development\x20environment.\x0a\x20\x20','examples':['maka\x20proxy','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000',a78q(0x1c9)]},async function(a,b){const r=a78q,c=this[r(0x1e0)][r(0x1e2)](),d=r(0x1cb),e=this['fsi'][r(0x1d6)](d),f=this[r(0x1e0)][r(0x1d0)]({'configPath':e}),g=b[r(0x1d2)]?Number(b[r(0x1d2)]):0xbb8,h=b[r(0x1be)]?Number(b['listenPort']):0xd73,i=b[r(0x1d9)]?b[r(0x1d9)]:r(0x1c7),j=a78f[r(0x1e1)](f,c[r(0x1d5)]+r(0x1df)),k=a78f[r(0x1e1)](f,c[r(0x1d5)]+'.crt');if(!this[r(0x1e0)][r(0x1b6)](j)||!this[r(0x1e0)][r(0x1b6)](k)){const m=a78h[r(0x1c0)](r(0x1bb));m&&await m['invoke'](['sslconfig'],{'env':d}),SSL['genCSR']({'keyName':c[r(0x1d5)]+r(0x1df),'csrName':c[r(0x1d5)]+r(0x1d4),'cwd':f}),SSL[r(0x1c2)]({'keyName':c[r(0x1d5)]+r(0x1df),'crtName':c[r(0x1d5)]+'.crt','cwd':f});}if(g===h){Log[r(0x1bf)](r(0x1bc));throw new UsageError();}const l={'ssl':{'key':a78e['readFileSync'](j,r(0x1ce)),'cert':a78e['readFileSync'](k,r(0x1ce))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a78g[r(0x1d7)](l)[r(0x1bd)](Number(h)),Log[r(0x1dc)]('=>\x20SSL\x20Proxy\x20forwarding\x20'+h+r(0x1d1)+g);});
1
+ const a78q=a78d;(function(a,b){const n=a78d,c=a();while(!![]){try{const d=parseInt(n(0x20d))/0x1*(-parseInt(n(0x216))/0x2)+-parseInt(n(0x218))/0x3*(parseInt(n(0x1f6))/0x4)+parseInt(n(0x1f3))/0x5*(parseInt(n(0x1f0))/0x6)+parseInt(n(0x20f))/0x7+parseInt(n(0x207))/0x8*(parseInt(n(0x214))/0x9)+-parseInt(n(0x215))/0xa*(-parseInt(n(0x20e))/0xb)+-parseInt(n(0x1fb))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x999ef));function a78c(){const s=['development','utf8','genCSR','join','7021518jTciSR','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','getConfigPath','5tNtsIg','create','constructor','4RNjXnM','targetPort','\x0a\x20\x20If\x20you\x27re\x20running\x20your\x20Meteor\x20service,\x20and\x20need\x20to\x20stand\x20up\x20an\x20SSL\x0a\x20\x20Proxy,\x20this\x20command\x20will\x20automatically\x20create\x20a\x20key\x20pair\x20for\x20use\x20in\x20an\x20HTTPS\x0a\x20\x20proxy.\x0a\x0a\x20\x20For\x20example,\x20you\x27re\x20running\x20http://localhost:3000\x20with\x20\x22maka\x20run\x22\x20then\x20open\x20a\x20new\x0a\x20\x20terminal\x20and\x20run\x20\x22maka\x20proxy\x22\x20to\x20standup\x20https://localhost:3443.\x0a\x20\x20Then\x20open\x20your\x20browser\x20to\x20that\x20URL\x20(you\x20may\x20need\x20to\x20trust\x20the\x20certificates\x0a\x20\x20because\x20they\x20are\x20self-signed)\x20and\x20you\x27ll\x20have\x20an\x20SSL\x20connection\x20to\x20your\x0a\x20\x20http://localhost:3000.\x0a\x0a\x20\x20To\x20avoid\x20possibly\x20overwriting\x20PKI\x20files\x20in\x20higher\x20environments,\x20\x22maka\x20proxy\x22\x0a\x20\x20will\x20try\x20to\x20only\x20generate\x20/\x20store\x20PKI\x20keys\x20in\x20the\x20development\x20environment.\x0a\x20\x20','bright','(((.+)+)+)+$','21255588IgaTOQ','sslconfig','toString','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','fsi','\x20to\x20','listen','search','.crt','apply','appName','listenPort','2426584ZdkrIh','isFile','targetHost','createProxyServer','error','.csr','10GptJxZ','385583PnNfaY','8210937hMFxWR','maka\x20proxy\x20--target-host\x20http://192.168.1.20','.key','readFileSync','proxy','18cHupIm','170QXMRfM','147062DBSHTp','genSSC','1229853RzZoyZ'];a78c=function(){return s;};return a78c();}const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a78d;if(c){const e=c[o(0x204)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const p=a78d;return a78a[p(0x1fd)]()[p(0x202)](p(0x1fa))[p(0x1fd)]()[p(0x1f5)](a78a)['search'](p(0x1fa));});a78a();function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x1f0;let f=c[d];return f;},a78d(a,b);}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(0x1f4)]({'name':a78q(0x213),'usage':'maka\x20proxy','mustBeInMakaProject':!![],'validOpts':['help',a78q(0x1f7),a78q(0x206),a78q(0x209)],'maxArgLength':0x1,'shortDesc':'Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','description':a78q(0x1f8),'examples':['maka\x20proxy',a78q(0x1fe),a78q(0x210)]},async function(a,b){const r=a78q,c=this['fsi']['getProjectConfig'](),d=r(0x219),e=this['fsi'][r(0x1f2)](d),f=this[r(0x1ff)]['mkKeysDir']({'configPath':e}),g=b[r(0x1f7)]?Number(b[r(0x1f7)]):0xbb8,h=b[r(0x206)]?Number(b[r(0x206)]):0xd73,i=b[r(0x209)]?b[r(0x209)]:'localhost',j=a78f['join'](f,c[r(0x205)]+'.key'),k=a78f[r(0x21c)](f,c['appName']+r(0x203));if(!this[r(0x1ff)][r(0x208)](j)||!this[r(0x1ff)]['isFile'](k)){const m=a78h['findGenerator']('sslconfig');m&&await m['invoke']([r(0x1fc)],{'env':d}),SSL[r(0x21b)]({'keyName':c[r(0x205)]+r(0x211),'csrName':c['appName']+r(0x20c),'cwd':f}),SSL[r(0x217)]({'keyName':c[r(0x205)]+r(0x211),'crtName':c[r(0x205)]+r(0x203),'cwd':f});}if(g===h){Log[r(0x20b)](r(0x1f1));throw new UsageError();}const l={'ssl':{'key':a78e[r(0x212)](j,r(0x21a)),'cert':a78e[r(0x212)](k,'utf8')},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a78g[r(0x20a)](l)[r(0x201)](Number(h)),Log[r(0x1f9)]('=>\x20SSL\x20Proxy\x20forwarding\x20'+h+r(0x200)+g);});
@@ -1 +1 @@
1
- const a79q=a79d;(function(a,b){const n=a79d,c=a();while(!![]){try{const d=-parseInt(n(0x1cf))/0x1+-parseInt(n(0x1bd))/0x2+-parseInt(n(0x1cd))/0x3*(parseInt(n(0x1c9))/0x4)+-parseInt(n(0x1b3))/0x5+parseInt(n(0x1b4))/0x6*(parseInt(n(0x1d1))/0x7)+parseInt(n(0x1c2))/0x8*(parseInt(n(0x1be))/0x9)+parseInt(n(0x1c1))/0xa*(parseInt(n(0x1cc))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0xcc513));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a79d;if(c){const e=c[o(0x1b7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const p=a79d;return a79a[p(0x1b6)]()['search'](p(0x1b9))[p(0x1b6)]()['constructor'](a79a)[p(0x1c0)](p(0x1b9));});a79a();import a79e from'fs';import a79f from'path';import{Command}from'../command.js';function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x1b0;let f=c[d];return f;},a79d(a,b);}function a79c(){const s=['sshSync','readFileSync','reconfig','2223520CInQAN','585NMmoLE','create','search','312630VyARrd','175264zMvVbY','env','uname\x20-a','maka\x20reconfig','join','Checking\x20remote\x20host\x20availability','error','500MLzXaB','~/pm2.config.js','settings.json','1177ptRetc','28131soxSZb','ssh','1344914qysNXU','Remote\x20host\x20connection\x20successful','163541AmrYGs','pm2.config.js','~/ses.json','echo\x20\x22\x22\x20&&\x20pm2\x20start\x20pm2.config.js\x20&&\x20echo\x20\x22\x22\x20||\x20echo\x20\x22Cound\x20not\x20find\x20PM2,\x20have\x20you\x20deployed\x20the\x20app\x20yet?\x22','existsSync','scp','maka\x20reconfig\x20--env\x20prod','1751025Cdfneh','12NpySFa','\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','toString','apply','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','(((.+)+)+)+$'];a79c=function(){return s;};return a79c();}import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a79q(0x1bf)]({'name':a79q(0x1bc),'validOpts':[''],'requiredOpts':[a79q(0x1c3)],'mustBeInMakaProject':!![],'usage':a79q(0x1c5),'shortDesc':'Reconfigure\x20your\x20deployed\x20applications','description':a79q(0x1b5),'examples':[a79q(0x1b2)]},async function(a,b){const r=a79q;try{const c=this['fsi']['getConfigPath'](b[r(0x1c3)]),d=a79f[r(0x1c6)](c,'ssh.json'),f=a79e[r(0x1bb)](d)[r(0x1b6)](),g=JSON['parse'](f);Object['assign'](g,{'env':c}),Log['notice'](r(0x1c7));const h=SSH['ping'](r(0x1c4),g);if(!h)throw r(0x1b8);if(h)Log['success'](r(0x1d0));const i=a79f['join'](c,'_keys','ses.json');if(a79e[r(0x1b0)](i)){const l={'source':i,'dest':r(0x1d3),'verbose':!![]};SSH[r(0x1b1)](l,{...g});}const j=a79f[r(0x1c6)](c,r(0x1d2));SSH[r(0x1b1)]({'source':j,'dest':r(0x1ca),'verbose':!![]},{...g});const k=a79f[r(0x1c6)](c,r(0x1cb));SSH['scp']({'source':k,'dest':'~/settings.json','verbose':!![]},{...g}),SSH[r(0x1ba)]('pm2\x20delete\x20all',g),await SSH[r(0x1ce)](r(0x1d4),{...g},{'verbose':!![]});}catch(m){console[r(0x1c8)](m),process['exit'](0x0);}});
1
+ const a79q=a79d;(function(a,b){const n=a79d,c=a();while(!![]){try{const d=-parseInt(n(0x1db))/0x1*(-parseInt(n(0x1e3))/0x2)+parseInt(n(0x1fc))/0x3+parseInt(n(0x1e1))/0x4+-parseInt(n(0x1f0))/0x5+-parseInt(n(0x1dd))/0x6+-parseInt(n(0x1de))/0x7+-parseInt(n(0x1f7))/0x8*(-parseInt(n(0x1f4))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x8bc2a));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a79d;if(c){const e=c[o(0x1fa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const p=a79d;return a79a[p(0x1e4)]()['search'](p(0x1eb))[p(0x1e4)]()['constructor'](a79a)['search'](p(0x1eb));});a79a();import a79e from'fs';import a79f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a79c(){const s=['1753104NqXyTw','sshSync','~/ses.json','parse','pm2.config.js','exit','~/pm2.config.js','maka\x20reconfig\x20--env\x20prod','env','349bxuCcI','notice','4003140jMBsxr','2286172EuRibp','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','\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','130148PFwIyK','ssh','2396orzzGp','toString','error','pm2\x20delete\x20all','join','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','ses.json','getConfigPath','(((.+)+)+)+$','ping','_keys','fsi','reconfig','5383325IPKzLF','readFileSync','Checking\x20remote\x20host\x20availability','~/settings.json','11727YVkxIT','assign','scp','9872JwaJsI','maka\x20reconfig','existsSync','apply','Reconfigure\x20your\x20deployed\x20applications'];a79c=function(){return s;};return a79c();}function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x1d9;let f=c[d];return f;},a79d(a,b);}import{SSH}from'../tools/ssh/ssh.class.js';Command['create']({'name':a79q(0x1ef),'validOpts':[''],'requiredOpts':[a79q(0x1da)],'mustBeInMakaProject':!![],'usage':a79q(0x1f8),'shortDesc':a79q(0x1fb),'description':a79q(0x1e0),'examples':[a79q(0x1d9)]},async function(a,b){const r=a79q;try{const c=this[r(0x1ee)][r(0x1ea)](b['env']),d=a79f['join'](c,'ssh.json'),f=a79e[r(0x1f1)](d)[r(0x1e4)](),g=JSON[r(0x1ff)](f);Object[r(0x1f5)](g,{'env':c}),Log[r(0x1dc)](r(0x1f2));const h=SSH[r(0x1ec)]('uname\x20-a',g);if(!h)throw r(0x1df);if(h)Log['success']('Remote\x20host\x20connection\x20successful');const i=a79f[r(0x1e7)](c,r(0x1ed),r(0x1e9));if(a79e[r(0x1f9)](i)){const l={'source':i,'dest':r(0x1fe),'verbose':!![]};SSH['scp'](l,{...g});}const j=a79f[r(0x1e7)](c,r(0x200));SSH['scp']({'source':j,'dest':r(0x202),'verbose':!![]},{...g});const k=a79f[r(0x1e7)](c,'settings.json');SSH[r(0x1f6)]({'source':k,'dest':r(0x1f3),'verbose':!![]},{...g}),SSH[r(0x1fd)](r(0x1e6),g),await SSH[r(0x1e2)](r(0x1e8),{...g},{'verbose':!![]});}catch(m){console[r(0x1e5)](m),process[r(0x201)](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a80d,c=a();while(!![]){try{var d=-parseInt(f(0x6e))/0x1*(-parseInt(f(0x77))/0x2)+-parseInt(f(0x71))/0x3+-parseInt(f(0x6d))/0x4*(-parseInt(f(0x6c))/0x5)+-parseInt(f(0x78))/0x6+-parseInt(f(0x6f))/0x7+parseInt(f(0x75))/0x8*(parseInt(f(0x72))/0x9)+-parseInt(f(0x6a))/0xa*(parseInt(f(0x73))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0xef857));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(0x6b)]()[g(0x74)](g(0x76))[g(0x6b)]()[g(0x70)](a80a)[g(0x74)](g(0x76));});function a80c(){var h=['3650266soopzn','4686972lcYXpH','110PnvcLq','toString','6740KyBLxL','1832rBkxHh','1ukIrID','5891648nwpAvX','constructor','628377oturiV','9duDnpX','990286aqNWQc','search','10889064MWkzjd','(((.+)+)+)+$'];a80c=function(){return h;};return a80c();}a80a();import'./run.command.js';function a80d(a,b){var c=a80c();return a80d=function(d,e){d=d-0x6a;var f=c[d];return f;},a80d(a,b);}import'./docker.sub.cmd.js';
1
+ (function(a,b){var f=a80d,c=a();while(!![]){try{var d=-parseInt(f(0x80))/0x1*(parseInt(f(0x82))/0x2)+-parseInt(f(0x84))/0x3*(-parseInt(f(0x83))/0x4)+parseInt(f(0x7c))/0x5+parseInt(f(0x79))/0x6*(-parseInt(f(0x7a))/0x7)+-parseInt(f(0x7e))/0x8*(-parseInt(f(0x7f))/0x9)+-parseInt(f(0x77))/0xa*(-parseInt(f(0x7b))/0xb)+parseInt(f(0x7d))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0xbbcb3));function a80d(a,b){var c=a80c();return a80d=function(d,e){d=d-0x77;var f=c[d];return f;},a80d(a,b);}function a80c(){var h=['6OmshCJ','8580019Qywslf','319pgJjqD','2605265VkwXKe','5282316EpCMmy','1230312QZKWCu','18ovaeSW','127981eXNXPP','(((.+)+)+)+$','8mwOWdT','436SmJHMx','3513mbUsoY','search','382890RBNqDm','toString'];a80c=function(){return h;};return a80c();}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(0x78)]()[g(0x85)](g(0x81))[g(0x78)]()['constructor'](a80a)[g(0x85)](g(0x81));});a80a();import'./run.command.js';import'./docker.sub.cmd.js';
@@ -1 +1 @@
1
- function a81d(a,b){const c=a81c();return a81d=function(d,e){d=d-0xc5;let f=c[d];return f;},a81d(a,b);}const a81l=a81d;(function(a,b){const i=a81d,c=a();while(!![]){try{const d=-parseInt(i(0xd4))/0x1+-parseInt(i(0xd1))/0x2+-parseInt(i(0xe0))/0x3+parseInt(i(0xd5))/0x4*(parseInt(i(0xda))/0x5)+parseInt(i(0xd2))/0x6+parseInt(i(0xdd))/0x7*(-parseInt(i(0xd9))/0x8)+parseInt(i(0xc7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0x87d7f));const a81b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a81d;if(c){const e=c[j(0xd7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){const k=a81d;return a81a[k(0xd3)]()[k(0xc8)](k(0xdc))[k(0xd3)]()[k(0xc9)](a81a)[k(0xc8)]('(((.+)+)+)+$');});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';import{Command}from'../../command.js';import{paramCase}from'change-case';function a81c(){const n=['52065AewYMG','21464IsaCtf','docker','apply','appName','1072CULKmM','890KuqtqQ','fsi','(((.+)+)+)+$','55433TsFuMY','maka\x20run\x20docker','docker-compose\x20--project-directory\x20','803340WAftxl','config/docker-compose.yaml','existsSync','exit','getConfigPath','\x20up\x20--remove-orphans','9749772KbSrbP','search','constructor','docker-compose.yaml','join','PM2\x20Config\x20File:\x20','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','pm2.config.js','notice','createFile','2197578bbBIoP','5986434sxKlxy','toString'];a81c=function(){return n;};return a81c();}Command['create']({'name':a81l(0xd6),'aliases':['d'],'shortDesc':a81l(0xcd),'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(0xde),'validOpts':['']},async function(){const m=a81l;try{const a=this[m(0xdb)]['getProjectConfig'](),b=this[m(0xdb)][m(0xc5)]('docker'),c=a81f[m(0xcb)](b,m(0xca)),d=a81f[m(0xcb)](b,m(0xce));Log[m(0xcf)](m(0xcc)+d),Log[m(0xcf)]('Docker\x20Compose\x20Path:\x20'+c);if(!a81g[m(0xe2)](c)){const f={'app':a['appName'],'appFileCase':paramCase(a[m(0xd8)])},g=this[m(0xdb)]['templateContent']({'srcPath':m(0xe1),'context':f})+'\x0a';this[m(0xdb)][m(0xd0)]({'filePath':c,'data':g});}execSync(m(0xdf)+b+m(0xc6),{'stdio':'inherit'});}catch(h){process[m(0xe3)](0x1);}},a81e);
1
+ const a81l=a81d;function a81d(a,b){const c=a81c();return a81d=function(d,e){d=d-0x143;let f=c[d];return f;},a81d(a,b);}(function(a,b){const i=a81d,c=a();while(!![]){try{const d=parseInt(i(0x151))/0x1*(-parseInt(i(0x146))/0x2)+-parseInt(i(0x15c))/0x3+parseInt(i(0x163))/0x4+parseInt(i(0x160))/0x5+-parseInt(i(0x165))/0x6*(parseInt(i(0x156))/0x7)+parseInt(i(0x161))/0x8+parseInt(i(0x15d))/0x9*(parseInt(i(0x153))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0xeafde));const a81b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a81d;if(c){const e=c[j(0x15f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){const k=a81d;return a81a[k(0x144)]()[k(0x14a)](k(0x154))[k(0x144)]()['constructor'](a81a)[k(0x14a)](k(0x154));});a81a();import a81e from'./run.command.js';import{execSync}from'child_process';function a81c(){const n=['docker-compose\x20--project-directory\x20','7VdasRR','pm2.config.js','\x20up\x20--remove-orphans','exit','config/docker-compose.yaml','PM2\x20Config\x20File:\x20','5369655mVrtIg','3474CWYDJZ','appName','apply','307785leiwBN','76544xvreYX','notice','352240cQdVRH','join','7615866eXbfhf','existsSync','toString','createFile','2326kvLmBJ','getConfigPath','create','\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','search','getProjectConfig','maka\x20run\x20docker','docker','docker-compose.yaml','Docker\x20Compose\x20Path:\x20','fsi','33hnXFFt','templateContent','101060cMtiuv','(((.+)+)+)+$'];a81c=function(){return n;};return a81c();}import a81f from'path';import a81g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a81l(0x148)]({'name':a81l(0x14d),'aliases':['d'],'shortDesc':'Run\x20your\x20application\x20in\x20a\x20Docker\x20container','description':a81l(0x149),'usage':a81l(0x14c),'validOpts':['']},async function(){const m=a81l;try{const a=this[m(0x150)][m(0x14b)](),b=this[m(0x150)][m(0x147)]('docker'),c=a81f[m(0x164)](b,m(0x14e)),d=a81f[m(0x164)](b,m(0x157));Log[m(0x162)](m(0x15b)+d),Log[m(0x162)](m(0x14f)+c);if(!a81g[m(0x143)](c)){const f={'app':a[m(0x15e)],'appFileCase':paramCase(a[m(0x15e)])},g=this[m(0x150)][m(0x152)]({'srcPath':m(0x15a),'context':f})+'\x0a';this['fsi'][m(0x145)]({'filePath':c,'data':g});}execSync(m(0x155)+b+m(0x158),{'stdio':'inherit'});}catch(h){process[m(0x159)](0x1);}},a81e);
@@ -1 +1 @@
1
- const a82v=a82d;(function(a,b){const r=a82d,c=a();while(!![]){try{const d=parseInt(r(0x97))/0x1+parseInt(r(0x8b))/0x2*(-parseInt(r(0x7f))/0x3)+parseInt(r(0xb7))/0x4+-parseInt(r(0x8c))/0x5+parseInt(r(0xb4))/0x6+parseInt(r(0xa9))/0x7*(-parseInt(r(0x93))/0x8)+-parseInt(r(0xa0))/0x9*(parseInt(r(0x90))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x1b9c3));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const s=a82d;if(c){const e=c[s(0xa5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const t=a82d;return a82a[t(0xb6)]()[t(0xaf)](t(0x89))[t(0xb6)]()['constructor'](a82a)[t(0xaf)](t(0x89));});a82a();import a82e from'path';import a82f from'fs';function a82c(){const y=['1613110AJnzUV','ios','mobile-server','125464wuIxOI','push','splice','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','159996HiXNzW','length','notice','development','forEach','findProjectDirectory','rawLogs','concat','settings.json','9FTkUKC','extraPackages','filter','inspect','compareMakaToLatest','apply','run','.meteor','Node\x20Env\x20Config:\x20','42qVpJny','--env','sep','port','app','runSubCommand','search','\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.','verbose','config','create','1003932HUGPMN','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)','toString','658048CJuEit','join','settings','Cannot\x20find\x20Node\x20Environment\x20File:\x20','Meteor\x20Settings:\x20','docker','local','env','production','6NFKqwT','exclude-archs','fsi','mobileServer','findSubCommand','warn','Run\x20your\x20Meteor\x20application','checkMeteorPackage','autoupdate','openSync','(((.+)+)+)+$','split','54086XrprMv','346220FHyVQQ','getConfigPath','--settings','error'];a82c=function(){return y;};return a82c();}import a82g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const u=a82d;a82f[u(0x88)](a,'r'),a82g[u(0xb2)]({'path':a});},Run=Command[a82v(0xb3)]({'name':a82v(0xa6),'mustBeInMakaProject':!![],'shortDesc':a82v(0x85),'description':a82v(0xb0),'validOpts':[a82v(0x7d),'docker','r',a82v(0x9d),'p',a82v(0xac),'i',a82v(0xa3),'m',a82v(0x82),'v',a82v(0xb1),'allowIncompatibleUpdate',a82v(0xa1),'x',a82v(0x80),a82v(0x7e)]},async function(a,b){const w=a82v;try{const c=this[w(0x81)][w(0x9c)]();!this[w(0x81)][w(0x86)](w(0x87))&&(Log['notice']('Verifying\x20meteor\x20package\x20requirements\x20...'),await this[w(0x81)]['installMeteorPackage'](w(0x87),{'cwd':c}));const d=a[0x0],f=this[w(0x83)](d);f&&this[w(0xae)](d,a,b);if(d===w(0x91)){const n=this[w(0x81)][w(0x9c)](),o=a82e[w(0xb8)](n,w(0xad),w(0xa7),w(0x7c),'cordova-build');this[w(0x81)]['isDirectory'](o)&&await rimraf(o);}if(b[w(0x92)]&&b[w(0x92)]===!![]||b['m']&&b['m']===!![])throw w(0xb5);await this[w(0x81)][w(0xa4)]();const g=b[w(0x7d)]?b[w(0x7d)]:w(0x9a),h=this['fsi'][w(0x8d)](g),i=a82e[w(0xb8)](h,'process.env');let j=a82e[w(0xb8)](h,w(0x9f));b[w(0xb9)]?j=b['settings']:j=a82e[w(0xb8)](h,w(0x9f));if(this[w(0x81)]['isFile'](i)&&!b['docker'])Log['notice'](w(0xa8)+i),syncSource(i);else!b[w(0x7b)]&&Log[w(0x84)](w(0x79)+i);this[w(0x81)]['isFile'](j)?(Log[w(0x99)](w(0x7a)+j),a=a[w(0x9e)]([w(0x8e),j])):Log[w(0x84)](w(0x96)+j);const k=h[w(0x8a)](a82e[w(0xab)]),l=k[k[w(0x98)]-0x1];l===w(0x7e)&&a[w(0x94)]('--production');const m=process['argv']['slice'](0x2)[w(0xa2)](p=>p!==w(0xa6))['filter'](p=>p!==a[0x0]);m[w(0x9b)]((p,q)=>{const x=w;p===x(0xaa)&&m[x(0x95)](q,0x2),p==='-e'&&m[x(0x95)](q,0x2);}),this[w(0x81)]['invokeMeteorCommand'](w(0xa6),a['concat'](m));}catch(p){console[w(0x8f)](p),process['exit'](0x1);}});function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x79;let f=c[d];return f;},a82d(a,b);}export default Run;
1
+ function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x84;let f=c[d];return f;},a82d(a,b);}const a82u=a82d;(function(a,b){const r=a82d,c=a();while(!![]){try{const d=-parseInt(r(0x8a))/0x1*(-parseInt(r(0xc2))/0x2)+parseInt(r(0x8c))/0x3+parseInt(r(0xa1))/0x4+-parseInt(r(0xa8))/0x5+-parseInt(r(0xa3))/0x6*(parseInt(r(0xc0))/0x7)+-parseInt(r(0xb4))/0x8*(-parseInt(r(0xa5))/0x9)+parseInt(r(0x8b))/0xa*(-parseInt(r(0xaa))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0xb6a75));const a82b=(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;};}()),a82a=a82b(this,function(){const s=a82d;return a82a['toString']()[s(0xb5)](s(0x87))[s(0x9e)]()[s(0xa4)](a82a)[s(0xb5)](s(0x87));});a82a();import a82e from'path';import a82f from'fs';import a82g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';function a82c(){const w=['113617NHebTH','fsi','236TdNUcZ','docker','Cannot\x20find\x20Node\x20Environment\x20File:\x20','settings','forEach','(((.+)+)+)+$','rawLogs','getConfigPath','5261DBaQfN','3562550VAPNlJ','2603664yNRRqx','concat','split','allowIncompatibleUpdate','create','.meteor','mobileServer','compareMakaToLatest','warn','run','app','invokeMeteorCommand','port','config','error','filter','ios','findProjectDirectory','toString','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)','Verifying\x20meteor\x20package\x20requirements\x20...','2223436EkZiay','findSubCommand','66lwuhQs','constructor','90Ibsmoq','argv','slice','5777525JNNnpa','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','44KlVRPh','settings.json','join','Meteor\x20Settings:\x20','checkMeteorPackage','--production','\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.','length','env','exclude-archs','1170136WEmwfp','search','autoupdate','extraPackages','openSync','runSubCommand','isFile','production','notice','process.env','cordova-build','mobile-server'];a82c=function(){return w;};return a82c();}import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const t=a82d;a82f[t(0xb8)](a,'r'),a82g[t(0x99)]({'path':a});},Run=Command[a82u(0x90)]({'name':a82u(0x95),'mustBeInMakaProject':!![],'shortDesc':'Run\x20your\x20Meteor\x20application','description':a82u(0xb0),'validOpts':[a82u(0xb2),a82u(0xc3),'r',a82u(0x88),'p',a82u(0x98),'i','inspect','m',a82u(0x92),'v','verbose',a82u(0x8f),a82u(0xb7),'x',a82u(0xb3),a82u(0xbb)]},async function(a,b){const v=a82u;try{const c=this[v(0xc1)][v(0x9d)]();!this[v(0xc1)][v(0xae)]('autoupdate')&&(Log['notice'](v(0xa0)),await this[v(0xc1)]['installMeteorPackage'](v(0xb6),{'cwd':c}));const d=a[0x0],f=this[v(0xa2)](d);f&&this[v(0xb9)](d,a,b);if(d===v(0x9c)){const n=this['fsi']['findProjectDirectory'](),o=a82e[v(0xac)](n,v(0x96),v(0x91),'local',v(0xbe));this[v(0xc1)]['isDirectory'](o)&&await rimraf(o);}if(b[v(0xbf)]&&b[v(0xbf)]===!![]||b['m']&&b['m']===!![])throw v(0x9f);await this[v(0xc1)][v(0x93)]();const g=b[v(0xb2)]?b['env']:'development',h=this[v(0xc1)][v(0x89)](g),i=a82e[v(0xac)](h,v(0xbd));let j=a82e[v(0xac)](h,v(0xab));b['settings']?j=b[v(0x85)]:j=a82e[v(0xac)](h,'settings.json');if(this[v(0xc1)][v(0xba)](i)&&!b[v(0xc3)])Log[v(0xbc)]('Node\x20Env\x20Config:\x20'+i),syncSource(i);else!b[v(0xc3)]&&Log[v(0x94)](v(0x84)+i);this['fsi']['isFile'](j)?(Log[v(0xbc)](v(0xad)+j),a=a['concat'](['--settings',j])):Log[v(0x94)](v(0xa9)+j);const k=h[v(0x8e)](a82e['sep']),l=k[k[v(0xb1)]-0x1];l===v(0xbb)&&a['push'](v(0xaf));const m=process[v(0xa6)][v(0xa7)](0x2)[v(0x9b)](p=>p!=='run')[v(0x9b)](p=>p!==a[0x0]);m[v(0x86)]((p,q)=>{p==='--env'&&m['splice'](q,0x2),p==='-e'&&m['splice'](q,0x2);}),this[v(0xc1)][v(0x97)]('run',a[v(0x8d)](m));}catch(p){console[v(0x9a)](p),process['exit'](0x1);}});export default Run;
@@ -1 +1 @@
1
- (function(a,b){var f=a83d,c=a();while(!![]){try{var d=parseInt(f(0x1b8))/0x1*(parseInt(f(0x1b6))/0x2)+-parseInt(f(0x1b9))/0x3*(-parseInt(f(0x1af))/0x4)+parseInt(f(0x1b4))/0x5*(parseInt(f(0x1aa))/0x6)+parseInt(f(0x1b0))/0x7*(parseInt(f(0x1b1))/0x8)+parseInt(f(0x1b2))/0x9+parseInt(f(0x1ad))/0xa+parseInt(f(0x1ae))/0xb*(-parseInt(f(0x1b3))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0x97dac));var a83b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a83d;if(c){var e=c[g(0x1ba)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){var h=a83d;return a83a[h(0x1ac)]()[h(0x1b7)](h(0x1ab))['toString']()[h(0x1b5)](a83a)[h(0x1b7)]('(((.+)+)+)+$');});a83a();function a83c(){var i=['6IzFfEk','(((.+)+)+)+$','toString','7479090QKFZWJ','27682094lENnMG','16TvjILU','28sdqZtR','184936nLyUIk','2245590ECaWdo','12suBeGU','4902895JPOOpQ','constructor','20BWcboO','search','14334CSEJPQ','693558yCkEOz','apply'];a83c=function(){return i;};return a83c();}import'./set.command.js';function a83d(a,b){var c=a83c();return a83d=function(d,e){d=d-0x1aa;var f=c[d];return f;},a83d(a,b);}import'./global.sub.cmd.js';import'./local.sub.cmd.js';
1
+ (function(a,b){var f=a83d,c=a();while(!![]){try{var d=parseInt(f(0x1cd))/0x1*(-parseInt(f(0x1c1))/0x2)+-parseInt(f(0x1c8))/0x3+parseInt(f(0x1cb))/0x4*(-parseInt(f(0x1c2))/0x5)+parseInt(f(0x1c3))/0x6*(parseInt(f(0x1c9))/0x7)+parseInt(f(0x1c4))/0x8*(-parseInt(f(0x1c0))/0x9)+parseInt(f(0x1bf))/0xa+parseInt(f(0x1c5))/0xb*(parseInt(f(0x1c6))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0x85777));var a83b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a83d;if(c){var e=c[g(0x1ca)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){var h=a83d;return a83a[h(0x1c7)]()[h(0x1cf)](h(0x1ce))[h(0x1c7)]()[h(0x1cc)](a83a)[h(0x1cf)]('(((.+)+)+)+$');});function a83c(){var i=['search','347090goLhyZ','4689BNozqV','1053158rIaJOP','10GoLlbX','2827968mdpfsd','12104exBXtN','1364KcqbWt','151332LMsbbI','toString','1942380XQYFRT','14LgxbpP','apply','64276KPFhbM','constructor','1LIrnep','(((.+)+)+)+$'];a83c=function(){return i;};return a83c();}function a83d(a,b){var c=a83c();return a83d=function(d,e){d=d-0x1bf;var f=c[d];return f;},a83d(a,b);}a83a();import'./set.command.js';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-0x7d;let f=c[d];return f;},a84d(a,b);}function a84c(){const m=['exit','(((.+)+)+)+$','Set\x20OpenAI\x20Key:\x20','create','\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','347965uPWgpi','disallowInsecure','maka\x20set:gc\x20--workspace\x20<path>','resolve','openai','Set\x20workspace:\x20','global-config','1wKCsev','1662990GRfAuT','104402hKtKFl','success','1103872eXvoWD','1037490aDEBxW','4746430fXuirj','Could\x20not\x20find\x20directory','Set\x20allowInsecure:\x20','185886dKdKHl','toString','error','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','isFile','cacert','4lIYJly','search','workspace','constructor','allowInsecure','One\x20or\x20the\x20other\x20buddy','maka\x20set:gc\x20--insecure\x20<path>','maka\x20set:global-config\x20--cacert\x20<path>','104oKKBvf','fsi','setGlobalConfig','apply'];a84c=function(){return m;};return a84c();}(function(a,b){const h=a84d,c=a();while(!![]){try{const d=-parseInt(h(0x8c))/0x1*(-parseInt(h(0x8e))/0x2)+parseInt(h(0x91))/0x3+parseInt(h(0x9b))/0x4*(parseInt(h(0x85))/0x5)+-parseInt(h(0x8d))/0x6+-parseInt(h(0x90))/0x7+parseInt(h(0xa3))/0x8*(-parseInt(h(0x95))/0x9)+parseInt(h(0x92))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x3a538));const a84b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a84d;if(c){const e=c[i(0x7f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){const j=a84d;return a84a[j(0x96)]()[j(0x9c)](j(0x81))[j(0x96)]()[j(0x9e)](a84a)[j(0x9c)](j(0x81));});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(0x83)]({'name':a84k(0x8b),'usage':'maka\x20set:global-config\x20<args>','aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a84k(0x9a),a84k(0x9f),a84k(0x86),a84k(0x9d),a84k(0x89),'help'],'shortDesc':'Set\x20global\x20Maka-CLI\x20settings','description':a84k(0x84),'examples':[a84k(0xa2),a84k(0xa1),a84k(0x87)]},async function(a,b){const l=a84k;try{if(b['cacert']){if(this['fsi'][l(0x99)](b[l(0x9a)]))this[l(0x7d)][l(0x7e)]({'cert':b[l(0x9a)]}),Log[l(0x8f)]('Set\x20CA\x20Cert\x20Path:\x20'+b[l(0x9a)]);else{const c=typeof b[l(0x9a)]==='boolean'?l(0x98):'CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+b[l(0x9a)];throw Log[l(0x97)](c);}}if(b[l(0x9d)]){const d=this['fsi']['isDirectory'](b[l(0x9d)]);if(d)this[l(0x7d)][l(0x7e)]({'workspace':a84e[l(0x88)](b[l(0x9d)])}),Log['success'](l(0x8a)+a84e['resolve'](b[l(0x9d)]));else throw Log[l(0x97)](l(0x93));}b[l(0x89)]&&(this[l(0x7d)][l(0x7e)]({'openai':b['openai']}),Log['success'](l(0x82)+b['openai']));if(b['allowInsecure']){if(b[l(0x9f)]&&b[l(0x86)])throw Log['error'](l(0xa0));let f=b['allowInsecure'];b[l(0x86)]&&(f=![]),this['fsi']['setGlobalConfig']({'allowInsecure':f}),Log[l(0x8f)](l(0x94)+f);}process[l(0x80)](0x0);}catch(g){console[l(0x97)](g),process[l(0x80)](0x0);}},a84f);
1
+ const a84j=a84d;(function(a,b){const h=a84d,c=a();while(!![]){try{const d=-parseInt(h(0x1db))/0x1*(-parseInt(h(0x1df))/0x2)+parseInt(h(0x1e8))/0x3*(parseInt(h(0x1dd))/0x4)+parseInt(h(0x1f1))/0x5*(-parseInt(h(0x1dc))/0x6)+parseInt(h(0x1ea))/0x7+parseInt(h(0x1ef))/0x8*(-parseInt(h(0x1ee))/0x9)+-parseInt(h(0x1e5))/0xa+parseInt(h(0x1e2))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x19f60));const a84b=(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;};}()),a84a=a84b(this,function(){const i=a84d;return a84a['toString']()[i(0x1ed)]('(((.+)+)+)+$')[i(0x1d6)]()[i(0x1d9)](a84a)[i(0x1ed)]('(((.+)+)+)+$');});function a84d(a,b){const c=a84c();return a84d=function(d,e){d=d-0x1cf;let f=c[d];return f;},a84d(a,b);}function a84c(){const l=['error','One\x20or\x20the\x20other\x20buddy','constructor','isFile','158255woqOFQ','6FiuPTk','148XnMOkV','global-config','2YwpHEX','Could\x20not\x20find\x20directory','cacert','906334AmiTcs','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','setGlobalConfig','172990wgNVle','disallowInsecure','create','14541tJkjWt','openai','42217QqcGgK','success','Set\x20global\x20Maka-CLI\x20settings','search','531bpEoAW','24152ToicIR','maka\x20set:global-config\x20--cacert\x20<path>','621315fyuGAz','allowInsecure','workspace','maka\x20set:gc\x20--insecure\x20<path>','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x0a\x20\x20There\x20are\x20occasions\x20where\x20your\x20network\x20may\x20need\x20an\x20intermediate\x20certificate\x0a\x20\x20to\x20allow\x20connections\x20outside.\x20\x20You\x20may\x20set\x20your\x20certificate\x20path\x20using\x20the\x20command:\x0a\x0a\x20\x20maka\x20set:gc\x20--cacert\x0a\x20\x20','exit','Set\x20workspace:\x20','fsi','resolve','Set\x20CA\x20Cert\x20Path:\x20','toString'];a84c=function(){return l;};return a84c();}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[a84j(0x1e7)]({'name':a84j(0x1de),'usage':'maka\x20set:global-config\x20<args>','aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a84j(0x1e1),'allowInsecure',a84j(0x1e6),a84j(0x1f3),a84j(0x1e9),'help'],'shortDesc':a84j(0x1ec),'description':a84j(0x1d0),'examples':[a84j(0x1f0),a84j(0x1cf),'maka\x20set:gc\x20--workspace\x20<path>']},async function(a,b){const k=a84j;try{if(b['cacert']){if(this[k(0x1d3)][k(0x1da)](b[k(0x1e1)]))this[k(0x1d3)][k(0x1e4)]({'cert':b[k(0x1e1)]}),Log[k(0x1eb)](k(0x1d5)+b[k(0x1e1)]);else{const c=typeof b['cacert']==='boolean'?k(0x1e3):'CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+b[k(0x1e1)];throw Log['error'](c);}}if(b[k(0x1f3)]){const d=this['fsi']['isDirectory'](b[k(0x1f3)]);if(d)this['fsi']['setGlobalConfig']({'workspace':a84e['resolve'](b[k(0x1f3)])}),Log[k(0x1eb)](k(0x1d2)+a84e[k(0x1d4)](b[k(0x1f3)]));else throw Log[k(0x1d7)](k(0x1e0));}b[k(0x1e9)]&&(this[k(0x1d3)][k(0x1e4)]({'openai':b['openai']}),Log[k(0x1eb)]('Set\x20OpenAI\x20Key:\x20'+b[k(0x1e9)]));if(b[k(0x1f2)]){if(b[k(0x1f2)]&&b[k(0x1e6)])throw Log[k(0x1d7)](k(0x1d8));let f=b[k(0x1f2)];b[k(0x1e6)]&&(f=![]),this['fsi'][k(0x1e4)]({'allowInsecure':f}),Log[k(0x1eb)]('Set\x20allowInsecure:\x20'+f);}process['exit'](0x0);}catch(g){console[k(0x1d7)](g),process[k(0x1d1)](0x0);}},a84f);
@@ -1 +1 @@
1
- var a85i=a85d;(function(a,b){var f=a85d,c=a();while(!![]){try{var d=-parseInt(f(0x10f))/0x1+-parseInt(f(0x116))/0x2+parseInt(f(0x112))/0x3+parseInt(f(0x114))/0x4*(-parseInt(f(0x11b))/0x5)+parseInt(f(0x118))/0x6*(parseInt(f(0x120))/0x7)+-parseInt(f(0x11a))/0x8+parseInt(f(0x11f))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0xb3098));function a85c(){var k=['4158567nOYpkO','503601xcioHO','search','maka\x20set:lc\x20<opts>','1337158JZpmaY','local-config','create','4317309xSNBAh','toString','40lGIyXB','Sorry,\x20not\x20implemented\x20yet','669836AjzMAr','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','114JKgJhT','notice','6015848UtkSdj','55345BBhWhA','(((.+)+)+)+$','maka\x20set:local-config\x20<opts>','apply'];a85c=function(){return k;};return a85c();}var a85b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a85d;if(c){var e=c[g(0x11e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){var h=a85d;return a85a[h(0x113)]()[h(0x10d)](h(0x11c))[h(0x113)]()['constructor'](a85a)['search'](h(0x11c));});a85a();import a85e from'./set.command.js';import{Command}from'../../command.js';function a85d(a,b){var c=a85c();return a85d=function(d,e){d=d-0x10d;var f=c[d];return f;},a85d(a,b);}import{Log}from'../../tools/log/log.class.js';Command[a85i(0x111)]({'name':a85i(0x110),'usage':'maka\x20set:local-config\x20<opts>','examples':[a85i(0x10e),a85i(0x11d)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':'Set\x20local\x20maka\x20app\x20settings','validOpts':[],'description':a85i(0x117)},async function(){var j=a85i;Log[j(0x119)](j(0x115));},a85e);
1
+ var a85i=a85d;(function(a,b){var f=a85d,c=a();while(!![]){try{var d=parseInt(f(0x104))/0x1+-parseInt(f(0xfb))/0x2*(-parseInt(f(0x102))/0x3)+-parseInt(f(0x107))/0x4+-parseInt(f(0xfc))/0x5*(-parseInt(f(0x100))/0x6)+-parseInt(f(0x111))/0x7+-parseInt(f(0x106))/0x8*(-parseInt(f(0xff))/0x9)+parseInt(f(0x108))/0xa*(-parseInt(f(0x10a))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0x8f8a1));var a85b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a85d;if(c){var e=c[g(0xfe)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){var h=a85d;return a85a[h(0x10c)]()[h(0x10b)](h(0x101))[h(0x10c)]()[h(0xfd)](a85a)['search']('(((.+)+)+)+$');});a85a();function a85d(a,b){var c=a85c();return a85d=function(d,e){d=d-0xfb;var f=c[d];return f;},a85d(a,b);}import a85e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a85i(0x10e)]({'name':a85i(0x10d),'usage':'maka\x20set:local-config\x20<opts>','examples':[a85i(0x10f),a85i(0x109)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a85i(0x105),'validOpts':[],'description':a85i(0x110)},async function(){var j=a85i;Log[j(0x103)]('Sorry,\x20not\x20implemented\x20yet');},a85e);function a85c(){var k=['279168gOYXKW','notice','436202sBloND','Set\x20local\x20maka\x20app\x20settings','4280TEBSwJ','191604qaVICn','30xStety','maka\x20set:local-config\x20<opts>','2766082TNBrWL','search','toString','local-config','create','maka\x20set:lc\x20<opts>','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','310149vhpYXg','8DsUyRk','25300TkpLyp','constructor','apply','10107wRJqom','30RkTHIl','(((.+)+)+)+$'];a85c=function(){return k;};return a85c();}
@@ -1 +1 @@
1
- function a86c(){const k=['3bGAoaF','set','10IFlcym','1473126aqwokC','constructor','create','toString','runSubCommand','findSubCommand','\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','3507GttRKF','2931610PhbdCz','1855628mzRyRL','(((.+)+)+)+$','12xXRQBO','6152787DkzsFO','2552532hhXlvp','help','1WZAXdH','18568vURozZ','31069885sdUnKn','apply','search','maka\x20set:<sub-command>\x20<opts>'];a86c=function(){return k;};return a86c();}function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0x17f;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(0x18a))/0x1*(parseInt(f(0x193))/0x2)+-parseInt(f(0x190))/0x3*(parseInt(f(0x184))/0x4)+-parseInt(f(0x192))/0x5*(parseInt(f(0x188))/0x6)+-parseInt(f(0x182))/0x7*(parseInt(f(0x18b))/0x8)+parseInt(f(0x187))/0x9+parseInt(f(0x183))/0xa+-parseInt(f(0x18c))/0xb*(-parseInt(f(0x186))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0x8f5c4));const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a86d;if(c){const e=c[g(0x18d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const h=a86d;return a86a[h(0x196)]()[h(0x18e)](h(0x185))[h(0x196)]()[h(0x194)](a86a)[h(0x18e)](h(0x185));});a86a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command[a86i(0x195)]({'name':a86i(0x191),'usage':a86i(0x18f),'minArgLength':0x1,'shortDesc':'Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','description':a86i(0x181),'validOpts':[]},async function(a,b){const j=a86i,c=a[0x0];if(b[j(0x189)])throw new UsageError();const d=this[j(0x180)](c);d&&this[j(0x17f)](c,a,b);});export default SetCommand;
1
+ const a86i=a86d;(function(a,b){const f=a86d,c=a();while(!![]){try{const d=-parseInt(f(0x109))/0x1*(-parseInt(f(0x107))/0x2)+-parseInt(f(0x10d))/0x3+parseInt(f(0x100))/0x4*(parseInt(f(0x110))/0x5)+parseInt(f(0xfe))/0x6*(-parseInt(f(0xfb))/0x7)+parseInt(f(0x10c))/0x8*(-parseInt(f(0xfd))/0x9)+-parseInt(f(0x10f))/0xa*(-parseInt(f(0x10a))/0xb)+-parseInt(f(0x106))/0xc*(parseInt(f(0x104))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0xcd304));function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0xfb;let f=c[d];return f;},a86d(a,b);}const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a86d;if(c){const e=c[g(0x108)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const h=a86d;return a86a[h(0x10b)]()[h(0x102)](h(0x105))[h(0x10b)]()[h(0x10e)](a86a)[h(0x102)](h(0x105));});a86a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command['create']({'name':a86i(0x101),'usage':'maka\x20set:<sub-command>\x20<opts>','minArgLength':0x1,'shortDesc':a86i(0x103),'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(0xfc)])throw new UsageError();const d=this[j(0xff)](c);d&&this['runSubCommand'](c,a,b);});export default SetCommand;function a86c(){const k=['help','2061WbZImD','98346vyQQxT','findSubCommand','334252fbXwBU','set','search','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','8280857zbGosZ','(((.+)+)+)+$','12DQcIvt','97166ZZMWlt','apply','23cdZgAB','18284255HkWyaY','toString','28472eMDxdS','4577748VzIlhm','constructor','10aZqOsX','70duszmd','56dUwsJs'];a86c=function(){return k;};return a86c();}
@@ -1 +1 @@
1
- const a87m=a87d;(function(a,b){const j=a87d,c=a();while(!![]){try{const d=-parseInt(j(0xdb))/0x1*(-parseInt(j(0xed))/0x2)+-parseInt(j(0xe5))/0x3*(-parseInt(j(0xe4))/0x4)+-parseInt(j(0xf8))/0x5*(-parseInt(j(0xd9))/0x6)+parseInt(j(0xea))/0x7*(parseInt(j(0xe7))/0x8)+parseInt(j(0xe2))/0x9*(-parseInt(j(0xdc))/0xa)+parseInt(j(0xf3))/0xb+-parseInt(j(0xe3))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0xc8976));const a87b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a87d;if(c){const e=c[k(0xda)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){const l=a87d;return a87a[l(0xe9)]()['search'](l(0xf6))['toString']()[l(0xdf)](a87a)['search']('(((.+)+)+)+$');});function a87c(){const o=['exit','getConfigPath','90lQyLqD','32397972EIszqU','2972896kXYbdN','3fIDGJM','ssh','8NRQGpK','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','toString','2279949ECwJvX','env','join','2tfVgVY','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','fsi','ssh.json','verbose','create','13061345lKfZsY','length','readFileSync','(((.+)+)+)+$','sshSync','32135zIofhv','maka\x20ssh\x20--env\x20staging','12VBNKqX','apply','1312273JWCUQA','60000KUuLMx','parse','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','constructor'];a87c=function(){return o;};return a87c();}a87a();import a87e from'fs';import a87f from'path';import{Command}from'../command.js';function a87d(a,b){const c=a87c();return a87d=function(d,e){d=d-0xd9;let f=c[d];return f;},a87d(a,b);}import{SSH}from'../tools/ssh/ssh.class.js';Command[a87m(0xf2)]({'name':a87m(0xe6),'usage':'maka\x20ssh\x20<command>','mustBeInMakaProject':!![],'requiredOpts':[a87m(0xeb)],'validOpts':[a87m(0xeb),a87m(0xf1)],'shortDesc':'Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','examples':['maka\x20ssh\x20--env\x20dev',a87m(0xf9),'maka\x20ssh\x20--env\x20prod',a87m(0xde),a87m(0xe8),a87m(0xee)]},async function(a,b){const n=a87m;try{const c=this[n(0xef)][n(0xe1)](b[n(0xeb)]);let d='';a[n(0xf4)]>0x0&&(d=a[0x0]);const f=a87f[n(0xec)](c,n(0xf0)),g=a87e[n(0xf5)](f)[n(0xe9)](),h=JSON[n(0xdd)](g);Object['assign'](h,{'env':c}),SSH[n(0xf7)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b[n(0xf1)]});}catch(i){console['error'](i),process[n(0xe0)](0x0);}});
1
+ const a87m=a87d;(function(a,b){const j=a87d,c=a();while(!![]){try{const d=-parseInt(j(0xc5))/0x1+-parseInt(j(0xbf))/0x2*(-parseInt(j(0xbd))/0x3)+-parseInt(j(0xb6))/0x4+-parseInt(j(0xbc))/0x5+parseInt(j(0xb0))/0x6+parseInt(j(0xc0))/0x7*(parseInt(j(0xc4))/0x8)+parseInt(j(0xc3))/0x9*(parseInt(j(0xad))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0x43e73));const a87b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a87d;if(c){const e=c[k(0xa9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){const l=a87d;return a87a['toString']()['search'](l(0xa8))[l(0xb9)]()[l(0xb7)](a87a)[l(0xb3)](l(0xa8));});function a87d(a,b){const c=a87c();return a87d=function(d,e){d=d-0xa8;let f=c[d];return f;},a87d(a,b);}function a87c(){const o=['parse','search','fsi','maka\x20ssh\x20--env\x20dev','2068980uhUGlK','constructor','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','toString','error','getConfigPath','1525065qSgAGB','528BwEQfv','create','5132MMwanN','7JiXuDY','ssh.json','ssh','333zSHucG','4412104cdcNCr','369120RaLfnA','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','sshSync','(((.+)+)+)+$','apply','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','readFileSync','verbose','63810mofKzs','length','env','1381698cFaXOm','maka\x20ssh\x20--env\x20staging'];a87c=function(){return o;};return a87c();}a87a();import a87e from'fs';import a87f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a87m(0xbe)]({'name':a87m(0xc2),'usage':'maka\x20ssh\x20<command>','mustBeInMakaProject':!![],'requiredOpts':[a87m(0xaf)],'validOpts':[a87m(0xaf),'verbose'],'shortDesc':a87m(0xc6),'examples':[a87m(0xb5),a87m(0xb1),'maka\x20ssh\x20--env\x20prod',a87m(0xb8),'maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22',a87m(0xaa)]},async function(a,b){const n=a87m;try{const c=this[n(0xb4)][n(0xbb)](b[n(0xaf)]);let d='';a[n(0xae)]>0x0&&(d=a[0x0]);const f=a87f['join'](c,n(0xc1)),g=a87e[n(0xab)](f)[n(0xb9)](),h=JSON[n(0xb2)](g);Object['assign'](h,{'env':c}),SSH[n(0xc7)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b[n(0xac)]});}catch(i){console[n(0xba)](i),process['exit'](0x0);}});
@@ -1 +1 @@
1
- const a88y=a88d;(function(a,b){const v=a88d,c=a();while(!![]){try{const d=-parseInt(v(0xe4))/0x1*(parseInt(v(0x109))/0x2)+-parseInt(v(0xeb))/0x3+-parseInt(v(0x105))/0x4+parseInt(v(0xf4))/0x5+-parseInt(v(0xe6))/0x6+parseInt(v(0x103))/0x7*(-parseInt(v(0xf0))/0x8)+-parseInt(v(0xf2))/0x9*(-parseInt(v(0x114))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x26f2f));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a88d;if(c){const e=c[w(0xe8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const x=a88d;return a88a[x(0xf8)]()['search'](x(0x115))[x(0xf8)]()[x(0x11b)](a88a)[x(0x11a)](x(0x115));});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';function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0xe4;let f=c[d];return f;},a88d(a,b);}import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';function a88c(){const A=['notice','fsi','getProjectConfig','122962bzvrfZ','domainNames','appName','email','sudo\x20snap\x20install\x20--classic\x20certbot','writeFileSync','parse','getConfigPath','ssl','letsencrypt.json','.key','9570DTpMeb','(((.+)+)+)+$','success','uname\x20-a','Checking\x20remote\x20host\x20availability','letsencrypt','search','constructor','[?]\x20Domains\x20to\x20register:\x20','2CxAEtc','.csr','68448mujPTK','emailUpdate','apply','join','env','518829XyMnxc','Please\x20provide\x20a\x20command.','exit','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','40pXXCmk','Remote\x20host\x20connection\x20successful','7893nqkbUK','genCSR','27465HxEfUD','start','existsSync','readFileSync','toString','domains','ssh','error','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','ping','ask','mkKeysDir','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','generate-ssc','109963PWyLgO','stringify','1197556azuZZj'];a88c=function(){return A;};return a88c();}import{SSL}from'../tools/ssl/ssl.class.js';Command['create']({'name':a88y(0x111),'usage':'maka\x20ssl\x20[command]','validOpts':[a88y(0xf9),a88y(0x10c)],'requiredOpts':['env'],'shortDesc':'Create\x20and\x20manage\x20your\x20SSL\x20operations.','mustBeInMakaProject':!![],'minArgLength':0x1,'examples':['maka\x20ssl\x20--env\x20dev\x20generate-csr',a88y(0x101),'maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process']},async function(a,b){const z=a88y,c=this[z(0x107)][z(0x108)](),d=this[z(0x107)][z(0x110)](b[z(0xea)]),f=this['fsi'][z(0x100)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g==='generate-csr')SSL[z(0xf3)]({'keyName':c[z(0x10b)]+'.key','csrName':c[z(0x10b)]+'.csr','cwd':f});else{if(g===z(0x102)){if(!a88e[z(0xf6)](a88f[z(0xe9)](f,c[z(0x10b)]+z(0x113))))throw'The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20'+a88f['join'](f,c[z(0x10b)]+z(0x113));if(!a88e[z(0xf6)](a88f['join'](f,c[z(0x10b)]+z(0xe5))))throw'The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20'+a88f['join'](f,c['appName']+z(0xe5));SSL['genSSC']({'keyName':c[z(0x10b)]+z(0x113),'crtName':c[z(0x10b)]+'.crt','cwd':f}),Log[z(0x106)]('New\x20CSR\x20written\x20to\x20'+f);}else{if(g===z(0x119)){let h=b[z(0xf9)],i=b[z(0x10c)];try{const p=a88e[z(0xf7)](a88f[z(0xe9)](d,z(0x112)))[z(0xf8)](),q=JSON[z(0x10f)](p);h=b[z(0xf9)]?b[z(0xf9)]:q[z(0x10a)],i=b['email']?b[z(0x10c)]:q[z(0xe7)],(!b['email']||!b[z(0xf9)])&&Log[z(0x106)]('Using\x20saved\x20letsencrypt\x20config');}catch(r){}const j=JSON['parse'](a88e[z(0xf7)](d+'/ssh.json')['toString']());Object['assign'](j,{'env':d}),Log['notice'](z(0x118));try{const s=SSH[z(0xfe)](z(0x117),j);if(!s)throw z(0xef);if(s)Log['success'](z(0xf1));}catch(t){Log['error'](t);return;}const k=Log['withSpinner']();k[z(0xf5)]('Verifying\x20Letsencrypt\x20configuration'),SSH[z(0xfa)](z(0xee),{...j}),SSH[z(0xfa)](z(0x10d),{...j}),SSH[z(0xfa)](z(0xfd),{...j}),k[z(0x116)]();const l=h?h:await Actions[z(0xff)](z(0x11c)),m=i?i:await Actions['ask']('Email\x20to\x20use\x20for\x20auto-updates:\x20');SSH[z(0xfa)](z(0xfc)+l+'\x20--email\x20'+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0x104)](n,null,0x2);a88e[z(0x10e)](a88f['join'](d,'letsencrypt.json'),o);}else throw z(0xec);}}}catch(u){console[z(0xfb)](u),process[z(0xed)](0x0);}});
1
+ const a88y=a88d;(function(a,b){const v=a88d,c=a();while(!![]){try{const d=parseInt(v(0x1e1))/0x1*(-parseInt(v(0x1fa))/0x2)+parseInt(v(0x1ed))/0x3+-parseInt(v(0x1da))/0x4+-parseInt(v(0x1fd))/0x5+-parseInt(v(0x1fc))/0x6+parseInt(v(0x1dc))/0x7+parseInt(v(0x1e5))/0x8*(parseInt(v(0x1df))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0xc5b0e));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a88d;if(c){const e=c[w(0x1d7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const x=a88d;return a88a['toString']()[x(0x1ee)](x(0x1f1))[x(0x20b)]()[x(0x1e8)](a88a)[x(0x1ee)](x(0x1f1));});a88a();import a88e from'fs';function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x1d5;let f=c[d];return f;},a88d(a,b);}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';function a88c(){const A=['withSpinner','toString','mkKeysDir','Using\x20saved\x20letsencrypt\x20config','.crt','.csr','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','email','getConfigPath','apply','/ssh.json','existsSync','926436ujwQVx','sudo\x20snap\x20install\x20--classic\x20certbot','7728665WUyTKJ','create','join','23139wydOen','fsi','32905ckLQnD','stringify','notice','exit','3576QuTDEa','domains','maka\x20ssl\x20--env\x20dev\x20generate-csr','constructor','letsencrypt','generate-ssc','ssl','success','2302359njnyPE','search','assign','appName','(((.+)+)+)+$','New\x20CSR\x20written\x20to\x20','letsencrypt.json','env','writeFileSync','readFileSync','start','error','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','94qFGSFH','maka\x20ssl\x20[command]','487608WkOBso','1758155YPJZuU','Please\x20provide\x20a\x20command.','Remote\x20host\x20connection\x20successful','ssh','ping','ask','\x20--email\x20','domainNames','parse','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','.key','generate-csr','Checking\x20remote\x20host\x20availability'];a88c=function(){return A;};return a88c();}import{SSL}from'../tools/ssl/ssl.class.js';Command[a88y(0x1dd)]({'name':a88y(0x1eb),'usage':a88y(0x1fb),'validOpts':[a88y(0x1e6),a88y(0x1d5)],'requiredOpts':['env'],'shortDesc':'Create\x20and\x20manage\x20your\x20SSL\x20operations.','mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a88y(0x1e7),a88y(0x210),a88y(0x206)]},async function(a,b){const z=a88y,c=this[z(0x1e0)]['getProjectConfig'](),d=this['fsi'][z(0x1d6)](b[z(0x1f4)]),f=this[z(0x1e0)][z(0x20c)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0x208))SSL['genCSR']({'keyName':c[z(0x1f0)]+z(0x207),'csrName':c[z(0x1f0)]+'.csr','cwd':f});else{if(g===z(0x1ea)){if(!a88e[z(0x1d9)](a88f[z(0x1de)](f,c[z(0x1f0)]+z(0x207))))throw'The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20'+a88f[z(0x1de)](f,c[z(0x1f0)]+z(0x207));if(!a88e[z(0x1d9)](a88f[z(0x1de)](f,c[z(0x1f0)]+z(0x20f))))throw'The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20'+a88f['join'](f,c['appName']+z(0x20f));SSL['genSSC']({'keyName':c[z(0x1f0)]+'.key','crtName':c[z(0x1f0)]+z(0x20e),'cwd':f}),Log[z(0x1e3)](z(0x1f2)+f);}else{if(g===z(0x1e9)){let h=b[z(0x1e6)],i=b['email'];try{const p=a88e[z(0x1f6)](a88f[z(0x1de)](d,'letsencrypt.json'))[z(0x20b)](),q=JSON[z(0x205)](p);h=b[z(0x1e6)]?b[z(0x1e6)]:q[z(0x204)],i=b['email']?b[z(0x1d5)]:q['emailUpdate'],(!b[z(0x1d5)]||!b[z(0x1e6)])&&Log[z(0x1e3)](z(0x20d));}catch(r){}const j=JSON[z(0x205)](a88e[z(0x1f6)](d+z(0x1d8))[z(0x20b)]());Object[z(0x1ef)](j,{'env':d}),Log['notice'](z(0x209));try{const s=SSH[z(0x201)]('uname\x20-a',j);if(!s)throw z(0x1f9);if(s)Log[z(0x1ec)](z(0x1ff));}catch(t){Log[z(0x1f8)](t);return;}const k=Log[z(0x20a)]();k[z(0x1f7)]('Verifying\x20Letsencrypt\x20configuration'),SSH[z(0x200)]('sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core',{...j}),SSH['ssh'](z(0x1db),{...j}),SSH[z(0x200)]('sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot',{...j}),k['success']();const l=h?h:await Actions[z(0x202)]('[?]\x20Domains\x20to\x20register:\x20'),m=i?i:await Actions[z(0x202)]('Email\x20to\x20use\x20for\x20auto-updates:\x20');SSH[z(0x200)]('sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20'+l+z(0x203)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0x1e2)](n,null,0x2);a88e[z(0x1f5)](a88f[z(0x1de)](d,z(0x1f3)),o);}else throw z(0x1fe);}}}catch(u){console[z(0x1f8)](u),process[z(0x1e4)](0x0);}});
@@ -1 +1 @@
1
- function a89d(a,b){const c=a89c();return a89d=function(d,e){d=d-0xf9;let f=c[d];return f;},a89d(a,b);}const a89p=a89d;(function(a,b){const m=a89d,c=a();while(!![]){try{const d=parseInt(m(0xfa))/0x1+-parseInt(m(0x134))/0x2+parseInt(m(0x109))/0x3*(-parseInt(m(0x10f))/0x4)+parseInt(m(0x108))/0x5*(parseInt(m(0x137))/0x6)+parseInt(m(0x102))/0x7*(parseInt(m(0x101))/0x8)+parseInt(m(0x113))/0x9*(-parseInt(m(0x10a))/0xa)+parseInt(m(0x11b))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0xb6dcc));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(0x118)]()[n(0x11f)](n(0x124))[n(0x118)]()[n(0x136)](a89a)['search'](n(0x124));});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(0x126)](a,'r'),a89g[o(0xfb)]({'path':a});};function a89c(){const s=['parse','sanjo:jasmine','filter','packages','config.json','join','env','argv','2946800sEBupL','meteortesting:mocha','constructor','2370mhLawv','concat','83388kyNcws','config','fsi','readFileSync','--driver','jasmine','maka\x20test\x20<opts>','4485608lEpTTe','7oxhpfo','driver-package','warn','unit','driver','error','5730aMtrbX','233343mdZzwL','110AXuEkP','exit','getConfigPath','inspect','engines','68eIWiOg','forEach','findProjectDirectory','test','521847RZofTQ','splice','none','settings.json','.maka','toString','process.env','isFile','33943085APlgZJ','--env','once','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','search','--full-app','notice','--packages','invokeMeteorCommand','(((.+)+)+)+$','create','openSync','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','slice','--driver-package','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','test-packages'];a89c=function(){return s;};return a89c();}Command[a89p(0x125)]({'name':a89p(0x112),'mustBeInMakaProject':!![],'validOpts':[a89p(0x11d),'packages',a89p(0x106),'driverPackage','unit',a89p(0x132),'rawLogs','port',a89p(0x10d),'testAppPath'],'usage':a89p(0x100),'shortDesc':a89p(0x11e),'examples':[]},function(a,b){const q=a89p;try{let c=this[q(0xfc)][q(0x10c)]('development');b[q(0x132)]&&(c=this['fsi'][q(0x10c)](b[q(0x132)]));(!b[q(0x105)]||!!b[q(0x11d)])&&(a=a['concat']([q(0x120)]));b[q(0x105)]&&delete b[q(0x105)];let d=b[q(0x103)]||b[q(0x106)]||'none';if(d===q(0x115)){const j=JSON[q(0x12c)](a89e[q(0xfd)](a89f[q(0x131)](this['fsi'][q(0x111)](),q(0x117),q(0x130)),'utf8'));if(j[q(0x10e)][q(0x112)]===q(0xff))d=q(0x12d);else j[q(0x10e)][q(0x112)]==='mocha'&&(d=q(0x135));}if(d===q(0x115))throw q(0x127);(!b[q(0x103)]||!b[q(0x106)])&&(a=a[q(0xf9)]([q(0x129),d]));const f=a89f['join'](c,q(0x116));this[q(0xfc)][q(0x11a)](f)?(Log[q(0x121)]('Meteor\x20Settings:\x20'+f),a=a[q(0xf9)](['--settings',f])):Log[q(0x104)](q(0x12a)+f);const g=a89f[q(0x131)](c,q(0x119));this[q(0xfc)][q(0x11a)](g)?(Log[q(0x121)]('Node\x20Env\x20Config:\x20'+g),syncSource(g)):Log[q(0x104)]('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+g);const h=process[q(0x133)][q(0x128)](0x2)[q(0x12e)](k=>k!==q(0x11c))[q(0x12e)](k=>k!==q(0x112))[q(0x12e)](k=>k!==a[0x0]);h[q(0x110)]((k,l)=>{const r=q;(k===r(0x11c)||k===r(0xfe))&&h[r(0x114)](l,0x2),k===r(0x122)&&h[r(0x114)](l,0x1);});const i=b[q(0x12f)]?q(0x12b):q(0x112);this[q(0xfc)][q(0x123)](i,a[q(0xf9)](h));}catch(k){console[q(0x107)](k),process[q(0x10b)](0x0);}});
1
+ const a89q=a89d;(function(a,b){const m=a89d,c=a();while(!![]){try{const d=parseInt(m(0x144))/0x1*(-parseInt(m(0x180))/0x2)+-parseInt(m(0x174))/0x3*(parseInt(m(0x147))/0x4)+parseInt(m(0x148))/0x5*(-parseInt(m(0x175))/0x6)+parseInt(m(0x16c))/0x7*(parseInt(m(0x17e))/0x8)+parseInt(m(0x14f))/0x9*(-parseInt(m(0x162))/0xa)+-parseInt(m(0x15b))/0xb+parseInt(m(0x149))/0xc*(parseInt(m(0x158))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x85436));const a89b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a89d;if(c){const e=c[n(0x171)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){const o=a89d;return a89a[o(0x14a)]()[o(0x164)](o(0x14b))[o(0x14a)]()[o(0x168)](a89a)[o(0x164)](o(0x14b));});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 p=a89d;a89e[p(0x13f)](a,'r'),a89g['config']({'path':a});};function a89d(a,b){const c=a89c();return a89d=function(d,e){d=d-0x13f;let f=c[d];return f;},a89d(a,b);}function a89c(){const t=['11081tNryeQ','once','maka\x20test\x20<opts>','Meteor\x20Settings:\x20','port','apply','--settings','--driver','109197tFOxik','90606mNmSFs','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','engines','--packages','--env','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','inspect','config.json','none','2224tvVWQm','error','2QoxEdn','forEach','openSync','concat','splice','warn','packages','1010447RsJYcu','utf8','--driver-package','68GCIZkl','115QanNhh','2796aiLyxp','toString','(((.+)+)+)+$','unit','create','isFile','2295117byRBFV','.maka','findProjectDirectory','argv','env','invokeMeteorCommand','driver','join','filter','171353AbFwMy','test','settings.json','8072185xnpEzh','sanjo:jasmine','jasmine','slice','--full-app','getConfigPath','testAppPath','10OpjXul','test-packages','search','driver-package','meteortesting:mocha','fsi','constructor','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','notice','process.env'];a89c=function(){return t;};return a89c();}Command[a89q(0x14d)]({'name':a89q(0x159),'mustBeInMakaProject':!![],'validOpts':['once',a89q(0x143),a89q(0x155),'driverPackage','unit',a89q(0x153),'rawLogs',a89q(0x170),a89q(0x17b),a89q(0x161)],'usage':a89q(0x16e),'shortDesc':a89q(0x17a),'examples':[]},function(a,b){const r=a89q;try{let c=this[r(0x167)][r(0x160)]('development');b[r(0x153)]&&(c=this['fsi'][r(0x160)](b['env']));(!b[r(0x14c)]||!!b[r(0x16d)])&&(a=a['concat']([r(0x15f)]));b[r(0x14c)]&&delete b[r(0x14c)];let d=b['driver-package']||b[r(0x155)]||'none';if(d==='none'){const j=JSON['parse'](a89e['readFileSync'](a89f[r(0x156)](this['fsi'][r(0x151)](),r(0x150),r(0x17c)),r(0x145)));if(j[r(0x177)]['test']===r(0x15d))d=r(0x15c);else j[r(0x177)][r(0x159)]==='mocha'&&(d=r(0x166));}if(d===r(0x17d))throw r(0x169);(!b[r(0x165)]||!b['driver'])&&(a=a[r(0x140)]([r(0x146),d]));const f=a89f['join'](c,r(0x15a));this[r(0x167)][r(0x14e)](f)?(Log[r(0x16a)](r(0x16f)+f),a=a[r(0x140)]([r(0x172),f])):Log[r(0x142)](r(0x176)+f);const g=a89f[r(0x156)](c,r(0x16b));this[r(0x167)]['isFile'](g)?(Log[r(0x16a)]('Node\x20Env\x20Config:\x20'+g),syncSource(g)):Log[r(0x142)]('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+g);const h=process[r(0x152)][r(0x15e)](0x2)[r(0x157)](k=>k!=='--env')[r(0x157)](k=>k!==r(0x159))[r(0x157)](k=>k!==a[0x0]);h[r(0x181)]((k,l)=>{const s=r;(k===s(0x179)||k===s(0x173))&&h[s(0x141)](l,0x2),k===s(0x178)&&h[s(0x141)](l,0x1);});const i=b[r(0x143)]?r(0x163):r(0x159);this[r(0x167)][r(0x154)](i,a['concat'](h));}catch(k){console[r(0x17f)](k),process['exit'](0x0);}});
@@ -1 +1 @@
1
- const a90m=a90d;(function(a,b){const k=a90d,c=a();while(!![]){try{const d=parseInt(k(0x1d7))/0x1+-parseInt(k(0x1d8))/0x2*(-parseInt(k(0x1c3))/0x3)+parseInt(k(0x1bb))/0x4+parseInt(k(0x1d5))/0x5*(-parseInt(k(0x1d4))/0x6)+parseInt(k(0x1b6))/0x7*(parseInt(k(0x1b7))/0x8)+parseInt(k(0x1d6))/0x9*(-parseInt(k(0x1c9))/0xa)+-parseInt(k(0x1ac))/0xb*(parseInt(k(0x1db))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0xe176b));function a90c(){const o=['exit','192wshsyS','verbose','win32','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','replace','getGlobalMeteorVersion','710GwfqBR','error','search','maka\x20version','\x20node\x20-v','System\x27s\x20Node\x20Version\x20','toString','create','notice','compareMakaToLatest','maka\x20v','114UhEijG','258695FBKqtJ','108207Qxxjzw','4820mqwhDP','38452xDYBpx','isMakaProject','meteor','24948xhrKtZ','fsi','platform','3685lDwoVc','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','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','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','Project\x27s\x20Meteor\x20Node\x20Version\x20','System\x27s\x20Meteor\x20Version\x20','----------------------Project----------------------------','(((.+)+)+)+$','bright','7560721ZAbRrW','8GSVNCg','getProjectMeteorVersion','getProjectsMeteorNodeVersion','Project\x27s\x20Meteor\x20Version\x20','4565004bTTBvD','meteor.bat','\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','version','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','warn','----------------------System----------------------------'];a90c=function(){return o;};return a90c();}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(0x1cf)]()[l(0x1cb)](l(0x1b4))[l(0x1cf)]()['constructor'](a90a)[l(0x1cb)](l(0x1b4));});a90a();import{execSync}from'child_process';function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x1aa;let f=c[d];return f;},a90d(a,b);}import a90e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':'4.5.45'};Command[a90m(0x1d0)]({'name':a90m(0x1be),'aliases':['v'],'usage':'maka\x20version','maxArgLength':0x1,'validOpts':['verbose'],'shortDesc':a90m(0x1bf),'examples':[a90m(0x1d3),a90m(0x1cc),'maka\x20version\x20--verbose'],'description':a90m(0x1af)},async function(a,b){const n=a90m;try{const c=process[n(0x1ab)]===n(0x1c5)?n(0x1bc):n(0x1da);Log['majestic'](n(0x1ae)+pjson['version']),await this['fsi'][n(0x1d2)]();if(b[n(0x1c4)]){await this[n(0x1aa)][n(0x1d2)](),Log[n(0x1b5)](n(0x1c1));const d=this[n(0x1aa)][n(0x1c8)]();Log[n(0x1b5)]((n(0x1b2)+d)[n(0x1c7)]('\x0a',''));const f=execSync(c+n(0x1cd))[n(0x1cf)]()['replace'](/\r?\n|\r/,'')[n(0x1c7)]('v','');Log['bright'](n(0x1b0)+f);const g=execSync('node\x20-v')[n(0x1cf)]()['replace'](/\r?\n|\r/,'')[n(0x1c7)]('v','');a90e['gt'](f,g)?(Log['warn'](n(0x1ce)+g),Log['warn'](n(0x1ad)+g+')\x20to\x20at\x20least\x20meteor\x27s\x20('+f+')')):Log[n(0x1b5)](n(0x1ce)+g);if(this[n(0x1aa)][n(0x1d9)]()){Log['bright'](n(0x1b3));const h=this[n(0x1aa)][n(0x1b8)]();a90e['gt'](d,h)?(Log[n(0x1c0)]('Project\x27s\x20Meteor\x20Version\x20'+h[n(0x1c7)]('\x0a','')),Log[n(0x1c0)](n(0x1c6)+d+'\x22')):Log[n(0x1d1)]((n(0x1ba)+h)[n(0x1c7)]('\x0a',''));const i=await this['fsi'][n(0x1b9)]();i==='N/A'?(Log[n(0x1c0)](n(0x1b1)+i),Log['warn']('\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.')):Log[n(0x1b5)](n(0x1b1)+i),Log[n(0x1b5)](n(0x1bd));}}}catch(j){console[n(0x1ca)](j),process[n(0x1c2)](0x0);}});
1
+ const a90n=a90d;(function(a,b){const k=a90d,c=a();while(!![]){try{const d=parseInt(k(0xa8))/0x1+parseInt(k(0xae))/0x2+parseInt(k(0xa6))/0x3*(-parseInt(k(0xa5))/0x4)+parseInt(k(0x99))/0x5*(-parseInt(k(0xa4))/0x6)+parseInt(k(0x8a))/0x7+parseInt(k(0x9f))/0x8+-parseInt(k(0xa2))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0x2dd1c));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a90d;if(c){const e=c[l(0xa9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const m=a90d;return a90a[m(0x94)]()[m(0x90)](m(0xaa))[m(0x94)]()[m(0x9e)](a90a)['search']('(((.+)+)+)+$');});function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x89;let f=c[d];return f;},a90d(a,b);}function a90c(){const p=['fsi','verbose','1254960XIENsO','win32','551382xtpUac','1028XchSmR','2559OhFESV','\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','129602LnBerG','apply','(((.+)+)+)+$','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','bright','getProjectMeteorVersion','372342pIUups','majestic','platform','version','2360309jdUCSc','System\x27s\x20Node\x20Version\x20','----------------------Project----------------------------','4.5.47','node\x20-v','compareMakaToLatest','search','warn','replace','----------------------System----------------------------','toString','meteor','meteor.bat','getGlobalMeteorVersion','error','10LithVp','System\x27s\x20Meteor\x20Version\x20','Project\x27s\x20Meteor\x20Node\x20Version\x20',')\x20to\x20at\x20least\x20meteor\x27s\x20(','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','constructor','617368xuTrHn'];a90c=function(){return p;};return a90c();}a90a();import{execSync}from'child_process';import a90e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':a90n(0x8d)};Command['create']({'name':'version','aliases':['v'],'usage':'maka\x20version','maxArgLength':0x1,'validOpts':['verbose'],'shortDesc':'Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','examples':['maka\x20v','maka\x20version','maka\x20version\x20--verbose'],'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 o=a90n;try{const c=process[o(0xb0)]===o(0xa3)?o(0x96):o(0x95);Log[o(0xaf)]('Maka\x20'+pjson[o(0x89)]),await this['fsi'][o(0x8f)]();if(b[o(0xa1)]){await this[o(0xa0)]['compareMakaToLatest'](),Log[o(0xac)](o(0x93));const d=this[o(0xa0)][o(0x97)]();Log[o(0xac)]((o(0x9a)+d)[o(0x92)]('\x0a',''));const f=execSync(c+'\x20node\x20-v')[o(0x94)]()[o(0x92)](/\r?\n|\r/,'')['replace']('v','');Log[o(0xac)]('System\x27s\x20Meteor\x27s\x20Node\x20Version\x20'+f);const g=execSync(o(0x8e))[o(0x94)]()['replace'](/\r?\n|\r/,'')[o(0x92)]('v','');a90e['gt'](f,g)?(Log[o(0x91)]('System\x27s\x20Node\x20Version\x20'+g),Log[o(0x91)]('\x20!\x20consider\x20updating\x20your\x20node\x20version\x20('+g+o(0x9c)+f+')')):Log[o(0xac)](o(0x8b)+g);if(this['fsi']['isMakaProject']()){Log[o(0xac)](o(0x8c));const h=this['fsi'][o(0xad)]();a90e['gt'](d,h)?(Log[o(0x91)]('Project\x27s\x20Meteor\x20Version\x20'+h[o(0x92)]('\x0a','')),Log[o(0x91)](o(0xab)+d+'\x22')):Log['notice'](('Project\x27s\x20Meteor\x20Version\x20'+h)[o(0x92)]('\x0a',''));const i=await this['fsi']['getProjectsMeteorNodeVersion']();i==='N/A'?(Log[o(0x91)]('Project\x27s\x20Meteor\x20Node\x20Version\x20'+i),Log[o(0x91)](o(0x9d))):Log[o(0xac)](o(0x9b)+i),Log['bright'](o(0xa7));}}}catch(j){console[o(0x98)](j),process['exit'](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a91d,c=a();while(!![]){try{var d=-parseInt(f(0xeb))/0x1*(-parseInt(f(0xe8))/0x2)+parseInt(f(0xee))/0x3+-parseInt(f(0xe1))/0x4+-parseInt(f(0xe6))/0x5+parseInt(f(0xea))/0x6+parseInt(f(0xe5))/0x7*(-parseInt(f(0xe2))/0x8)+-parseInt(f(0xe4))/0x9*(-parseInt(f(0xec))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0xe092b));var a91b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a91d;if(c){var e=c[g(0xe3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){var h=a91d;return a91a[h(0xe9)]()[h(0xed)](h(0xe7))[h(0xe9)]()[h(0xe0)](a91a)[h(0xed)](h(0xe7));});a91a();export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}function a91d(a,b){var c=a91c();return a91d=function(d,e){d=d-0xe0;var f=c[d];return f;},a91d(a,b);}function a91c(){var i=['7hDhxXo','1585330dYJAZR','(((.+)+)+)+$','2ZqmQYr','toString','6979242ONxzbN','103333jJuksm','6234170xuNpFr','search','3705984oWXYWU','constructor','2581840QvGbrM','9943264IIZdwi','apply','9KRxVQh'];a91c=function(){return i;};return a91c();}
1
+ function a91c(){var h=['106173qrRNyW','935761oAsfdY','633qiTJwN','(((.+)+)+)+$','3370VuNrtT','toString','2013624DuycZG','199885dVgRQg','472LjClZT','constructor','search','590842bAwDfL','29432HkUnJR','3818555nYBbcY'];a91c=function(){return h;};return a91c();}(function(a,b){var f=a91d,c=a();while(!![]){try{var d=parseInt(f(0xc3))/0x1+-parseInt(f(0xbf))/0x2+-parseInt(f(0xc4))/0x3*(parseInt(f(0xc0))/0x4)+-parseInt(f(0xc1))/0x5+parseInt(f(0xc8))/0x6+parseInt(f(0xbb))/0x7*(-parseInt(f(0xbc))/0x8)+-parseInt(f(0xc2))/0x9*(-parseInt(f(0xc6))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0xe810b));var a91b=(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;};}()),a91a=a91b(this,function(){var g=a91d;return a91a['toString']()[g(0xbe)](g(0xc5))[g(0xc7)]()[g(0xbd)](a91a)['search'](g(0xc5));});a91a();export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}function a91d(a,b){var c=a91c();return a91d=function(d,e){d=d-0xbb;var f=c[d];return f;},a91d(a,b);}export class NoMeteorFoundError{}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- function a92d(a,b){var c=a92c();return a92d=function(d,e){d=d-0x1e8;var f=c[d];return f;},a92d(a,b);}var a92i=a92d;(function(a,b){var f=a92d,c=a();while(!![]){try{var d=parseInt(f(0x1f8))/0x1+parseInt(f(0x1f5))/0x2*(parseInt(f(0x1f7))/0x3)+parseInt(f(0x1f6))/0x4+-parseInt(f(0x1e8))/0x5*(parseInt(f(0x1e9))/0x6)+-parseInt(f(0x1ef))/0x7+-parseInt(f(0x1f2))/0x8+-parseInt(f(0x1f9))/0x9*(-parseInt(f(0x1f4))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0xd70e6));var a92b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a92d;if(c){var e=c[g(0x1f1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){var h=a92d;return a92a[h(0x1f3)]()[h(0x1ed)](h(0x1ea))[h(0x1f3)]()[h(0x1eb)](a92a)['search'](h(0x1ea));});a92a(),process[a92i(0x1ec)][a92i(0x1f0)]=a92i(0x1ee);import'./maka.js';function a92c(){var j=['NODE_OPTIONS','apply','1395152EJGPmG','toString','1259690KczsJq','5326MEoiDU','1571916idTkxg','1611JNfCgu','156885nMWfbn','27udARnr','7635GAzrJw','1698QAORxq','(((.+)+)+)+$','constructor','env','search','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','6092779rEDcdJ'];a92c=function(){return j;};return a92c();}
2
+ var a92i=a92d;function a92c(){var j=['5663AVMVrK','search','1489508ZBNwIZ','(((.+)+)+)+$','env','12733785lbyVmn','20fzcbub','5858meFpQT','constructor','apply','13120fYCPuB','3445611IsILsb','8297454qfmtUW','toString','8252750IAbqli','1iUyman'];a92c=function(){return j;};return a92c();}(function(a,b){var f=a92d,c=a();while(!![]){try{var d=parseInt(f(0x147))/0x1*(parseInt(f(0x13f))/0x2)+-parseInt(f(0x143))/0x3+-parseInt(f(0x14a))/0x4*(-parseInt(f(0x13e))/0x5)+parseInt(f(0x144))/0x6+-parseInt(f(0x148))/0x7*(-parseInt(f(0x142))/0x8)+-parseInt(f(0x13d))/0x9+-parseInt(f(0x146))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0xc6975));function a92d(a,b){var c=a92c();return a92d=function(d,e){d=d-0x13d;var f=c[d];return f;},a92d(a,b);}var a92b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a92d;if(c){var e=c[g(0x141)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){var h=a92d;return a92a[h(0x145)]()[h(0x149)](h(0x14b))[h(0x145)]()[h(0x140)](a92a)[h(0x149)](h(0x14b));});a92a(),process[a92i(0x14c)]['NODE_OPTIONS']='--experimental-modules\x20--no-warnings\x20--experimental-json-modules';import'./maka.js';
@@ -1 +1 @@
1
- const a93u=a93d;(function(a,b){const q=a93d,c=a();while(!![]){try{const d=parseInt(q(0xa3))/0x1+parseInt(q(0xbb))/0x2*(-parseInt(q(0x8a))/0x3)+parseInt(q(0xd8))/0x4+-parseInt(q(0x98))/0x5*(parseInt(q(0xd7))/0x6)+-parseInt(q(0xb1))/0x7+-parseInt(q(0xb0))/0x8+parseInt(q(0xa2))/0x9*(parseInt(q(0xba))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0xefcb5));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a93d;if(c){const e=c[r(0xb2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const s=a93d;return a93a[s(0xb9)]()[s(0xaa)]('(((.+)+)+)+$')[s(0xb9)]()['constructor'](a93a)[s(0xaa)]('(((.+)+)+)+$');});a93a();import a93e from'path';import a93f from'cli-table';function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x7e;let f=c[d];return f;},a93d(a,b);}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';function a93c(){const F=['1074tnMCAR','6883956hSJOoi','Generator.create\x20requires\x20some\x20options!','No\x20resource\x20name\x20specified','invoke','maxOptsLength','notice','appPathPrefix','mustHaveMeteorInstalled','Client','Too\x20few\x20options','To\x20use\x20this\x20generator,\x20\x22','match','Location','usage','function','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','_handler','bright','Both','chdir','findProjectDirectory','98589ogwLXA','Name','validateMakaSubscription','list','join','singleLicense','minOptsLength','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','Generator\x20requires\x20a\x20name','addGenerator','slice','where','parent','23320Aprxjh','There\x20is\x20no\x20Meteor\x20application\x20here','proFlags','validateMakaProject','cwd','resourceName','both','getPro','tableList','Generator\x20requires\x20a\x20handler\x20function','423binyEI','1605769jLciVP','help','_generators','roles','push','sort','lib','search','keys','sep','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','call','assign','12757728UfYhac','3605714RXoBXn','apply','exit','aliases','mustBeInMakaProject','create','noResource','options','toString','148660lQihWI','6cRSoHa','Please\x20run\x20\x22maka\x20install\x20meteor\x22','dir','Server','domainLicense','addGenerator\x20requires\x20a\x20Generator\x20instance','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','filter','proGenerators','client','Description','length','Too\x20many\x20options','map','name','checkWhere','error','number','findGenerator','Generators:','split','bind','server','forEach','includes','maxArgLength','validateParams','shortDesc'];a93c=function(){return F;};return a93c();}let _prevGen='';function inside(a='.',b){const t=a93d,c=process[t(0x9c)]();let d=null;try{process[t(0x88)](a),d=b();}finally{process[t(0x88)](c);}return d;}export class Generator extends Tool{[a93u(0xb8)];[a93u(0xa5)];constructor(a,b){const v=a93u;super();if(!a)throw new Error(v(0x92));if(!a[v(0xc9)])throw new Error(v(0x93));if(typeof b!==v(0x83))throw new Error(v(0xa1));this['_generators']=[],this['options']=Object['assign']({},a),this['name']=this[v(0xb8)]['name'],this[v(0x85)]=b[v(0xd0)](this);}static[a93u(0xb6)](a,b,c){const w=a93u;if(!a)throw new Error(w(0xd9));if(typeof b!==w(0x83))throw new Error('Generator.create\x20requires\x20a\x20handler\x20function!');const d=new Generator(a,b);return c=c||a93g,Object[w(0xaf)](d,{'parent':c?.[w(0xb8)]?.[w(0xc9)]}),c[w(0x94)](d),d;}[a93u(0x94)](a){const x=a93u;if(!(a instanceof Generator))throw new Error(x(0xc0));this['_generators'][x(0xa7)](a);}[a93u(0xcd)](a){const y=a93u,b=this['_generators']['find'](c=>c[y(0x80)](a));return b;}async[a93u(0x8c)](a,b){const z=a93u,c=this[z(0xcd)](a[0x0]);if(c){const d=c?.['name']||a[0x0],e=c?.[z(0x97)]||'',f=Object[z(0xab)](b),g=await this['fsi'][z(0x9f)]();!g&&(Log[z(0xcb)](z(0x84)),process['exit'](0x1));const h=!g?.[z(0xa6)][z(0xd3)](z(0x8f))&&!g?.[z(0xa6)][z(0xd3)](z(0xbf)),i=g?.['proGenerators'][z(0xd3)](d)||g?.[z(0xc3)][z(0xd3)](e);if(i&&h)throw z(0x7f)+d+z(0xad);if(f[z(0xc6)]>0x0){const j=g?.[z(0x9a)][z(0xc2)](k=>f['includes'](k));if(j&&j[z(0xc6)]>0x0&&h)throw'To\x20use\x20these\x20pro\x20flags,\x20\x22'+j?.[z(0x8e)](',\x20')+z(0xad);}}}async[a93u(0xdb)](a,b){const A=a93u,{usage:usage='',description:description='',examples:examples=[],shortDesc:c,requiredOpts:requiredOpts=[],validOpts:d}=this['options'];try{await this[A(0x8c)](a,b);}catch(g){Log['error'](g),process[A(0xb3)](0x1);}const f=a[A(0x95)]();b['resourceName']=f[0x0];try{if((a[0x0]===_prevGen||a[A(0xc6)]===0x0)&&b[A(0xa4)])throw new UsageError();if(this[A(0xb8)][A(0xb5)]){const h=this[A(0x9b)]();if(!h)throw new MustBeInProjectError();}if(this['options'][A(0xdf)]){const i=this['validateMeteorInstall']();if(!i)throw new NoMeteorFoundError();}if(typeof this[A(0xb8)]['minArgLength']===A(0xcc)){if(a['length']<this['options']['minArgLength']){Log['error']('Too\x20few\x20arguments');throw new UsageError();}}if(typeof this[A(0xb8)]['maxArgLength']===A(0xcc)){if(a[A(0xc6)]>this[A(0xb8)][A(0xd4)]){Log[A(0xcb)]('Too\x20many\x20arguments');throw new UsageError();}}if(typeof this[A(0xb8)][A(0x90)]===A(0xcc)){if(Object[A(0xab)](b)['length']<this[A(0xb8)]['minOptsLength']){Log[A(0xcb)](A(0x7e));throw new UsageError();}}if(typeof this[A(0xb8)][A(0xdc)]===A(0xcc)){if(Object[A(0xab)](b)[A(0xc6)]>=this[A(0xb8)][A(0xdc)]){Log[A(0xcb)](A(0xc7));throw new UsageError();}}await this[A(0xd5)](a,b,this[A(0xb8)]);if(!b[A(0x9d)]&&!this[A(0xb8)][A(0xb7)]){Log[A(0xcb)](A(0xda));throw new UsageError();}_prevGen=a[0x0];}catch(j){Log[A(0x82)](description,examples,usage,c,requiredOpts,d);if(j instanceof UsageError)this[A(0xa5)][A(0xc6)]>0x0&&b[A(0xa4)]&&(Log[A(0xdd)](A(0xce)),this[A(0xa0)](this[A(0xa5)]));else{if(j instanceof MustBeInProjectError)Log[A(0xcb)](A(0x91));else{if(j instanceof NoMeteorFoundError)Log['error'](A(0xc1)),Log[A(0xdd)](A(0xbc));else{if(j instanceof NoMeteorAppFoundError)Log[A(0xcb)](A(0x99));else throw j;}}}process[A(0xb3)](0x1);}return new Promise(k=>{inside(b['cwd'],async()=>{const B=a93d;try{if(!b['root']&&!this['fsi'][B(0x89)]())throw new MustBeInProjectError();const l=b[B(0x9d)]?.['replace'](/\\/g,'/')[B(0xcf)]('/');!b[B(0xbd)]&&(l?.[B(0xc6)]>0x1?(b[B(0x9d)]=l['pop'](),f[0x0]=b[B(0x9d)],b[B(0xbd)]=l[B(0xc8)](m=>{return paramCase(m);})[B(0x8e)](a93e[B(0xac)])):b[B(0xbd)]='');if(this[B(0xb8)][B(0xca)]){if(!b[B(0x96)]){const n={'type':B(0x8d),'name':'colLocAnswer','message':B(0x81),'choices':[{'name':B(0xe0),'value':B(0xc4)},{'name':B(0xbe),'value':B(0xd1)},{'name':B(0x87),'value':'both'}]},{colLocAnswer:o}=await Actions[B(0xb8)](n);o?b[B(0x96)]=o:b[B(0x96)]='both';}const m=[B(0x9e),B(0xc4),B(0xd1)];if(!m[B(0xd3)](b[B(0x96)])){Log[B(0xcb)]('--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27');throw new UsageError();}switch(b[B(0x96)]){case B(0x9e):b['appPathPrefix']=B(0xa9);break;case B(0xd1):b[B(0xde)]=B(0xd1);break;case B(0xc4):b[B(0xde)]=B(0xc4);break;default:b[B(0xde)]='';}}k(this[B(0x85)][B(0xae)](this,f,b));}catch(p){console[B(0xcb)](p);}});});}['listGenerators'](){const C=a93u;this[C(0xa0)](this[C(0xa5)]);}[a93u(0xa0)](a){const D=a93u,b=new a93f({});b[D(0xa7)]([D(0x8b),'Alias',D(0xc5)]),a[D(0xa8)]()[D(0xd2)](c=>{const E=D;b['push']([c[E(0xc9)],c[E(0xb4)](),c[E(0xd6)]()]);}),Log[D(0x86)](b[D(0xb9)]());}}
1
+ const a93u=a93d;(function(a,b){const q=a93d,c=a();while(!![]){try{const d=-parseInt(q(0xc7))/0x1*(parseInt(q(0xfb))/0x2)+parseInt(q(0xf6))/0x3+-parseInt(q(0xd9))/0x4*(parseInt(q(0xf8))/0x5)+parseInt(q(0x10a))/0x6+parseInt(q(0x10b))/0x7+-parseInt(q(0xd8))/0x8*(parseInt(q(0xe4))/0x9)+parseInt(q(0xb4))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0xc771f));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a93d;if(c){const e=c[r(0xda)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const s=a93d;return a93a[s(0xc3)]()[s(0xef)](s(0xe7))[s(0xc3)]()['constructor'](a93a)[s(0xef)](s(0xe7));});a93a();function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0xad;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';function a93c(){const G=['4JQXDPj','replace','call','resourceName','appPathPrefix','name','join','keys','Generator.create\x20requires\x20a\x20handler\x20function!','mustBeInMakaProject','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','invoke','validateMakaProject','both','listGenerators','validateMakaSubscription','error','3973448foVrLT','404fkGKKu','apply','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','minOptsLength','maxArgLength','maxOptsLength','Location','To\x20use\x20these\x20pro\x20flags,\x20\x22','function','Too\x20many\x20options','Generators:','27MNjrOb','options','validateParams','(((.+)+)+)+$','proGenerators','No\x20resource\x20name\x20specified','exit','server','length','There\x20is\x20no\x20Meteor\x20application\x20here','client','search','Server','domainLicense','To\x20use\x20this\x20generator,\x20\x22','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','singleLicense','941814uOoUGt','Generator.create\x20requires\x20some\x20options!','13115ZMspdY','chdir','Generator\x20requires\x20a\x20handler\x20function','491708dudpBk','findGenerator','help','find','usage','bright','fsi','filter','aliases','shortDesc','Name','push','Description','includes','number','7697544ElKSVV','247667QsSwHx','Too\x20few\x20options','noResource','split','addGenerator','list','colLocAnswer','match','19230660urWncO','Generator\x20requires\x20a\x20name','where','create','Too\x20many\x20arguments','cwd','roles','dir','assign','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','parent','tableList','_generators','sep','findProjectDirectory','toString','_handler','Both','addGenerator\x20requires\x20a\x20Generator\x20instance'];a93c=function(){return G;};return a93c();}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(0xb9)]();let d=null;try{process['chdir'](a),d=b();}finally{process[t(0xf9)](c);}return d;}export class Generator extends Tool{[a93u(0xe5)];[a93u(0xc0)];constructor(a,b){const v=a93u;super();if(!a)throw new Error(v(0xf3));if(!a[v(0xcc)])throw new Error(v(0xb5));if(typeof b!==v(0xe1))throw new Error(v(0xfa));this[v(0xc0)]=[],this[v(0xe5)]=Object[v(0xbc)]({},a),this[v(0xcc)]=this[v(0xe5)][v(0xcc)],this[v(0xc4)]=b['bind'](this);}static[a93u(0xb7)](a,b,c){const w=a93u;if(!a)throw new Error(w(0xf7));if(typeof b!==w(0xe1))throw new Error(w(0xcf));const d=new Generator(a,b);return c=c||a93g,Object['assign'](d,{'parent':c?.[w(0xe5)]?.[w(0xcc)]}),c[w(0xb0)](d),d;}[a93u(0xb0)](a){const x=a93u;if(!(a instanceof Generator))throw new Error(x(0xc6));this[x(0xc0)]['push'](a);}[a93u(0xfc)](a){const y=a93u,b=this[y(0xc0)][y(0xfe)](c=>c[y(0xb3)](a));return b;}async['validateMakaSubscription'](a,b){const z=a93u,c=this[z(0xfc)](a[0x0]);if(c){const d=c?.[z(0xcc)]||a[0x0],e=c?.[z(0xbe)]||'',f=Object[z(0xce)](b),g=await this[z(0x101)]['getPro']();!g&&(Log['error'](z(0xd1)),process['exit'](0x1));const h=!g?.[z(0xba)]['includes'](z(0xf5))&&!g?.[z(0xba)][z(0x108)](z(0xf1)),i=g?.[z(0xe8)][z(0x108)](d)||g?.[z(0xe8)]['includes'](e);if(i&&h)throw z(0xf2)+d+z(0xf4);if(f['length']>0x0){const j=g?.['proFlags'][z(0x102)](k=>f[z(0x108)](k));if(j&&j[z(0xec)]>0x0&&h)throw z(0xe0)+j?.['join'](',\x20')+z(0xf4);}}}async[a93u(0xd2)](a,b){const A=a93u,{usage:usage='',description:description='',examples:examples=[],shortDesc:c,requiredOpts:requiredOpts=[],validOpts:d}=this[A(0xe5)];try{await this[A(0xd6)](a,b);}catch(g){Log[A(0xd7)](g),process[A(0xea)](0x1);}const f=a['slice']();b[A(0xca)]=f[0x0];try{if((a[0x0]===_prevGen||a['length']===0x0)&&b[A(0xfd)])throw new UsageError();if(this[A(0xe5)][A(0xd0)]){const h=this[A(0xd3)]();if(!h)throw new MustBeInProjectError();}if(this[A(0xe5)]['mustHaveMeteorInstalled']){const i=this['validateMeteorInstall']();if(!i)throw new NoMeteorFoundError();}if(typeof this[A(0xe5)]['minArgLength']===A(0x109)){if(a[A(0xec)]<this[A(0xe5)]['minArgLength']){Log[A(0xd7)]('Too\x20few\x20arguments');throw new UsageError();}}if(typeof this['options'][A(0xdd)]===A(0x109)){if(a[A(0xec)]>this[A(0xe5)][A(0xdd)]){Log[A(0xd7)](A(0xb8));throw new UsageError();}}if(typeof this[A(0xe5)]['minOptsLength']==='number'){if(Object[A(0xce)](b)[A(0xec)]<this[A(0xe5)][A(0xdc)]){Log[A(0xd7)](A(0xad));throw new UsageError();}}if(typeof this[A(0xe5)][A(0xde)]===A(0x109)){if(Object[A(0xce)](b)[A(0xec)]>=this[A(0xe5)][A(0xde)]){Log[A(0xd7)](A(0xe2));throw new UsageError();}}await this[A(0xe6)](a,b,this[A(0xe5)]);if(!b[A(0xca)]&&!this[A(0xe5)][A(0xae)]){Log[A(0xd7)](A(0xe9));throw new UsageError();}_prevGen=a[0x0];}catch(j){Log[A(0xff)](description,examples,usage,c,requiredOpts,d);if(j instanceof UsageError)this[A(0xc0)]['length']>0x0&&b[A(0xfd)]&&(Log['notice'](A(0xe3)),this[A(0xbf)](this[A(0xc0)]));else{if(j instanceof MustBeInProjectError)Log[A(0xd7)](A(0xdb));else{if(j instanceof NoMeteorFoundError)Log['error'](A(0xbd)),Log['notice']('Please\x20run\x20\x22maka\x20install\x20meteor\x22');else{if(j instanceof NoMeteorAppFoundError)Log[A(0xd7)](A(0xed));else throw j;}}}process['exit'](0x1);}return new Promise(k=>{const B=A;inside(b[B(0xb9)],async()=>{const C=B;try{if(!b['root']&&!this[C(0x101)][C(0xc2)]())throw new MustBeInProjectError();const l=b['resourceName']?.[C(0xc8)](/\\/g,'/')[C(0xaf)]('/');!b[C(0xbb)]&&(l?.['length']>0x1?(b[C(0xca)]=l['pop'](),f[0x0]=b[C(0xca)],b['dir']=l['map'](m=>{return paramCase(m);})[C(0xcd)](a93e[C(0xc1)])):b[C(0xbb)]='');if(this[C(0xe5)]['checkWhere']){if(!b[C(0xb6)]){const n={'type':C(0xb1),'name':C(0xb2),'message':C(0xdf),'choices':[{'name':'Client','value':C(0xee)},{'name':C(0xf0),'value':C(0xeb)},{'name':C(0xc5),'value':C(0xd4)}]},{colLocAnswer:o}=await Actions['options'](n);o?b[C(0xb6)]=o:b[C(0xb6)]=C(0xd4);}const m=[C(0xd4),C(0xee),C(0xeb)];if(!m[C(0x108)](b[C(0xb6)])){Log['error']('--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27');throw new UsageError();}switch(b[C(0xb6)]){case C(0xd4):b[C(0xcb)]='lib';break;case C(0xeb):b[C(0xcb)]='server';break;case C(0xee):b[C(0xcb)]=C(0xee);break;default:b['appPathPrefix']='';}}k(this[C(0xc4)][C(0xc9)](this,f,b));}catch(p){console[C(0xd7)](p);}});});}[a93u(0xd5)](){const D=a93u;this[D(0xbf)](this[D(0xc0)]);}[a93u(0xbf)](a){const E=a93u,b=new a93f({});b[E(0x106)]([E(0x105),'Alias',E(0x107)]),a['sort']()['forEach'](c=>{const F=E;b[F(0x106)]([c['name'],c[F(0x103)](),c[F(0x104)]()]);}),Log[E(0x100)](b[E(0xc3)]());}}
@@ -1 +1 @@
1
- (function(a,b){var f=a94d,c=a();while(!![]){try{var d=-parseInt(f(0x83))/0x1*(-parseInt(f(0x7f))/0x2)+-parseInt(f(0x7c))/0x3*(parseInt(f(0x7a))/0x4)+-parseInt(f(0x7b))/0x5*(parseInt(f(0x82))/0x6)+parseInt(f(0x80))/0x7*(parseInt(f(0x7d))/0x8)+-parseInt(f(0x7e))/0x9*(-parseInt(f(0x84))/0xa)+-parseInt(f(0x81))/0xb+parseInt(f(0x86))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0xb0001));var a94b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a94d;if(c){var e=c[g(0x79)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){var h=a94d;return a94a[h(0x77)]()[h(0x85)]('(((.+)+)+)+$')['toString']()[h(0x78)](a94a)[h(0x85)]('(((.+)+)+)+$');});a94a();import'./services/_index.js';import'./api.js';import'./collection.js';function a94c(){var i=['12091140QUeTdO','toString','constructor','apply','244siJLSv','5uHGVWt','54291ltvGgr','24KcTJcE','4023GOwAAi','147286zWgwYl','2288461CrqyEd','1513523fILTJz','6184206DziuiD','1YyUlgM','20830rHJtgp','search'];a94c=function(){return i;};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';function a94d(a,b){var c=a94c();return a94d=function(d,e){d=d-0x77;var f=c[d];return f;},a94d(a,b);}import'./maka.gen.js';
1
+ (function(a,b){var f=a94d,c=a();while(!![]){try{var d=-parseInt(f(0xbc))/0x1+-parseInt(f(0xbe))/0x2+-parseInt(f(0xc5))/0x3*(parseInt(f(0xb9))/0x4)+parseInt(f(0xc4))/0x5+parseInt(f(0xc0))/0x6+-parseInt(f(0xbb))/0x7*(parseInt(f(0xbd))/0x8)+parseInt(f(0xc1))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0x99c4d));var a94b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a94d;if(c){var e=c[g(0xc2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){var h=a94d;return a94a[h(0xc3)]()[h(0xba)]('(((.+)+)+)+$')['toString']()[h(0xbf)](a94a)[h(0xba)]('(((.+)+)+)+$');});a94a();import'./services/_index.js';function a94d(a,b){var c=a94c();return a94d=function(d,e){d=d-0xb9;var f=c[d];return f;},a94d(a,b);}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 a94c(){var i=['328ZGawlP','search','7rrujpZ','700645yFwIim','8849984GiNsMy','2175476DGNVfC','constructor','2433438qvKZiR','22454775uhBaKY','apply','toString','4694410IyGIbx','11523LYQvoq'];a94c=function(){return i;};return a94c();}import'./dockerfile.js';import'./maka.gen.js';