@maka/maka-cli 4.5.34 → 4.5.36

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 (138) 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/templates/meteor/app/server/main.js +4 -1
  117. package/bundle/obf/src/templates/meteor/app/server/main.js.jsx +4 -1
  118. package/bundle/obf/src/templates/meteor/app/server/main.js.ts +4 -1
  119. package/bundle/obf/src/templates/meteor/app/server/main.js.tsx +4 -1
  120. package/bundle/obf/src/templates/meteor/config/settings.json +2 -1
  121. package/bundle/obf/src/tool.js +1 -1
  122. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  123. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  124. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  125. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  126. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  127. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  128. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  129. package/bundle/obf/src/tools/https/https.class.js +1 -1
  130. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  131. package/bundle/obf/src/tools/log/log.class.js +1 -1
  132. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  133. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  134. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  135. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  136. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  137. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  138. package/package.json +1 -1
@@ -1 +1 @@
1
- const a76i=a76d;(function(a,b){const g=a76d,c=a();while(!![]){try{const d=-parseInt(g(0x162))/0x1+-parseInt(g(0x160))/0x2+parseInt(g(0x169))/0x3+parseInt(g(0x167))/0x4*(parseInt(g(0x15d))/0x5)+parseInt(g(0x161))/0x6+-parseInt(g(0x163))/0x7+parseInt(g(0x16e))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a76c,0x85d6f));const a76b=(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;};}()),a76a=a76b(this,function(){const h=a76d;return a76a['toString']()[h(0x15e)](h(0x159))[h(0x15f)]()[h(0x16a)](a76a)[h(0x15e)](h(0x159));});a76a();function a76c(){const k=['maybeProxyCommandToMeteor','maka\x20install\x20meteor','exit','448185RxeDLy','search','toString','175634HXPFXo','1277910IiEoNi','941520gezgNu','3401181dItnEB','fsi','error','\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','40QaqyHP','slice','2323179ZEZWFR','constructor','maka\x20--help','maka\x20create\x20Todo','runSubCommand','1437432aTtshC','(((.+)+)+)+$'];a76c=function(){return k;};return a76c();}import{Command}from'../command.js';const Maka=new Command({'name':'maka','minArgLength':0x1,'shortDesc':'A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','validOpts':[],'usage':'maka\x20<command>\x20[<args>]\x20[<opts>]','disableAuthCheck':!![],'examples':[a76i(0x16b),a76i(0x15b),a76i(0x16c),'maka\x20run'],'description':a76i(0x166)},async function(a,b){const j=a76i;try{const c=a[0x0],d=this['findSubCommand'](c);d?this[j(0x16d)](c,a[j(0x168)](0x1),b):this[j(0x164)][j(0x15a)]();}catch(f){console[j(0x165)](f),process[j(0x15c)](0x1);}});function a76d(a,b){const c=a76c();return a76d=function(d,e){d=d-0x159;let f=c[d];return f;},a76d(a,b);}export default Maka;
1
+ const a76j=a76d;(function(a,b){const g=a76d,c=a();while(!![]){try{const d=parseInt(g(0x8d))/0x1+parseInt(g(0x8a))/0x2*(-parseInt(g(0x92))/0x3)+-parseInt(g(0x89))/0x4*(-parseInt(g(0x8e))/0x5)+-parseInt(g(0x97))/0x6*(-parseInt(g(0x8f))/0x7)+parseInt(g(0x86))/0x8*(parseInt(g(0x8b))/0x9)+-parseInt(g(0x99))/0xa+-parseInt(g(0x91))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a76c,0xb41af));const a76b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a76d;if(c){const e=c[h(0x84)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a76a=a76b(this,function(){const i=a76d;return a76a[i(0x9a)]()[i(0x9c)]('(((.+)+)+)+$')[i(0x9a)]()['constructor'](a76a)[i(0x9c)](i(0x96));});a76a();function a76c(){const l=['error','slice','(((.+)+)+)+$','102bKgbee','fsi','10588910WyYcyy','toString','maka\x20--help','search','maka\x20<command>\x20[<args>]\x20[<opts>]','findSubCommand','apply','runSubCommand','15808WMERcQ','maka\x20create\x20Todo','maka\x20run','812148VoMOkX','50mBBcES','4806NZILMw','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','997664erJcav','10zXdJJz','217490LBKffx','maka','1160610VCxjHB','130200GzqfLN','exit'];a76c=function(){return l;};return a76c();}import{Command}from'../command.js';const Maka=new Command({'name':a76j(0x90),'minArgLength':0x1,'shortDesc':a76j(0x8c),'validOpts':[],'usage':a76j(0x9d),'disableAuthCheck':!![],'examples':[a76j(0x9b),'maka\x20install\x20meteor',a76j(0x87),a76j(0x88)],'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(0x9e)](c);d?this[k(0x85)](c,a[k(0x95)](0x1),b):this[k(0x98)]['maybeProxyCommandToMeteor']();}catch(f){console[k(0x94)](f),process[k(0x93)](0x1);}});function a76d(a,b){const c=a76c();return a76d=function(d,e){d=d-0x84;let f=c[d];return f;},a76d(a,b);}export default Maka;
@@ -1 +1 @@
1
- var a77i=a77d;(function(a,b){var f=a77d,c=a();while(!![]){try{var d=parseInt(f(0x1e3))/0x1*(parseInt(f(0x1d0))/0x2)+parseInt(f(0x1df))/0x3+-parseInt(f(0x1dc))/0x4+parseInt(f(0x1d4))/0x5+-parseInt(f(0x1d9))/0x6*(parseInt(f(0x1d8))/0x7)+-parseInt(f(0x1d2))/0x8*(parseInt(f(0x1e0))/0x9)+parseInt(f(0x1d3))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0x99527));var a77b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a77d;if(c){var e=c[g(0x1da)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){var h=a77d;return a77a[h(0x1dd)]()[h(0x1d6)](h(0x1cf))[h(0x1dd)]()[h(0x1e1)](a77a)[h(0x1d6)](h(0x1cf));});function a77c(){var k=['351570DmGxzu','apply','Murrrrderrrrr','3020036MrSGyE','toString','maka\x20murder','140754YzXSmF','9QOENYF','constructor','error','88499yvXlFF','%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','(((.+)+)+)+$','6qEUECN','font-family:\x20monospace','375800siHnIu','6064750ZYHGqx','5485255lwAHuY','create','search','log','70IiogKb'];a77c=function(){return k;};return a77c();}function a77d(a,b){var c=a77c();return a77d=function(d,e){d=d-0x1cf;var f=c[d];return f;},a77d(a,b);}a77a();import{Command}from'../command.js';Command[a77i(0x1d5)]({'name':'murder','usage':a77i(0x1de),'maxArgLength':0x1,'shortDesc':a77i(0x1db),'validOpts':[]},async function(){var j=a77i;try{console[j(0x1d7)](j(0x1e4),j(0x1d1));}catch(a){console[j(0x1e2)](a),process['exit'](0x0);}});
1
+ function a77c(){var j=['2000464erPjKb','50952gcWxji','log','search','1644EydMGk','toString','4095bygHLS','font-family:\x20monospace','336dFyttb','exit','7YDTzDN','murder','%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','1295XUaVqf','5010aSfBfC','90pBTpuc','error','1091818kZDKvC','18710SYQfqR','Murrrrderrrrr','create','1026pRCdof','10062VFooWh'];a77c=function(){return j;};return a77c();}var a77h=a77d;function a77d(a,b){var c=a77c();return a77d=function(d,e){d=d-0x1ce;var f=c[d];return f;},a77d(a,b);}(function(a,b){var f=a77d,c=a();while(!![]){try{var d=-parseInt(f(0x1d9))/0x1*(-parseInt(f(0x1e2))/0x2)+-parseInt(f(0x1e1))/0x3*(-parseInt(f(0x1d7))/0x4)+-parseInt(f(0x1e0))/0x5*(parseInt(f(0x1d2))/0x6)+-parseInt(f(0x1dd))/0x7*(-parseInt(f(0x1d3))/0x8)+parseInt(f(0x1d1))/0x9*(-parseInt(f(0x1ce))/0xa)+-parseInt(f(0x1d4))/0xb*(parseInt(f(0x1db))/0xc)+parseInt(f(0x1e4))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0x6855c));var a77b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){var g=a77d;return a77a['toString']()[g(0x1d6)]('(((.+)+)+)+$')[g(0x1d8)]()['constructor'](a77a)[g(0x1d6)]('(((.+)+)+)+$');});a77a();import{Command}from'../command.js';Command[a77h(0x1d0)]({'name':a77h(0x1de),'usage':'maka\x20murder','maxArgLength':0x1,'shortDesc':a77h(0x1cf),'validOpts':[]},async function(){var i=a77h;try{console[i(0x1d5)](i(0x1df),i(0x1da));}catch(a){console[i(0x1e3)](a),process[i(0x1dc)](0x0);}});
@@ -1 +1 @@
1
- const a78p=a78d;(function(a,b){const n=a78d,c=a();while(!![]){try{const d=parseInt(n(0x173))/0x1*(parseInt(n(0x192))/0x2)+parseInt(n(0x16c))/0x3+-parseInt(n(0x178))/0x4*(parseInt(n(0x184))/0x5)+parseInt(n(0x16f))/0x6+-parseInt(n(0x193))/0x7+-parseInt(n(0x166))/0x8+-parseInt(n(0x167))/0x9*(-parseInt(n(0x168))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x27e4c));const a78b=(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;};}()),a78a=a78b(this,function(){const o=a78d;return a78a[o(0x17a)]()[o(0x18a)]('(((.+)+)+)+$')[o(0x17a)]()['constructor'](a78a)[o(0x18a)](o(0x17c));});a78a();function a78c(){const r=['\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','.key','612606QrxKai','targetPort','targetHost','getProjectConfig','42802aDCCSq','listenPort','genCSR','utf8','.csr','116JTQsqd','=>\x20SSL\x20Proxy\x20forwarding\x20','toString','fsi','(((.+)+)+)+$','getConfigPath','\x20to\x20','isFile','maka\x20proxy\x20--target-host\x20http://192.168.1.20','join','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','listen','18925ctUWbx','mkKeysDir','error','readFileSync','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','genSSC','search','findGenerator','maka\x20proxy','localhost','invoke','createProxyServer','.crt','create','10ScYfpB','1632554dKljnl','sslconfig','2567208Fisqwj','82683GZfHTr','450bheoPV','help','bright','appName','293298CNFBGa'];a78c=function(){return r;};return a78c();}import a78e from'fs';function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x165;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[a78p(0x191)]({'name':'proxy','usage':'maka\x20proxy','mustBeInMakaProject':!![],'validOpts':[a78p(0x169),a78p(0x170),a78p(0x174),'targetHost'],'maxArgLength':0x1,'shortDesc':a78p(0x188),'description':a78p(0x16d),'examples':[a78p(0x18c),'maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000',a78p(0x180)]},async function(a,b){const q=a78p,c=this[q(0x17b)][q(0x172)](),d='development',e=this[q(0x17b)][q(0x17d)](d),f=this[q(0x17b)][q(0x185)]({'configPath':e}),g=b[q(0x170)]?Number(b[q(0x170)]):0xbb8,h=b[q(0x174)]?Number(b[q(0x174)]):0xd73,i=b[q(0x171)]?b[q(0x171)]:q(0x18d),j=a78f[q(0x181)](f,c[q(0x16b)]+q(0x16e)),k=a78f[q(0x181)](f,c[q(0x16b)]+q(0x190));if(!this['fsi'][q(0x17f)](j)||!this[q(0x17b)][q(0x17f)](k)){const m=a78h[q(0x18b)]('sslconfig');m&&await m[q(0x18e)]([q(0x165)],{'env':d}),SSL[q(0x175)]({'keyName':c[q(0x16b)]+q(0x16e),'csrName':c[q(0x16b)]+q(0x177),'cwd':f}),SSL[q(0x189)]({'keyName':c[q(0x16b)]+q(0x16e),'crtName':c[q(0x16b)]+q(0x190),'cwd':f});}if(g===h){Log[q(0x186)](q(0x182));throw new UsageError();}const l={'ssl':{'key':a78e[q(0x187)](j,q(0x176)),'cert':a78e[q(0x187)](k,q(0x176))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a78g[q(0x18f)](l)[q(0x183)](Number(h)),Log[q(0x16a)](q(0x179)+h+q(0x17e)+g);});
1
+ const a78q=a78d;function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x13b;let f=c[d];return f;},a78d(a,b);}(function(a,b){const n=a78d,c=a();while(!![]){try{const d=-parseInt(n(0x14b))/0x1+-parseInt(n(0x13e))/0x2+-parseInt(n(0x15b))/0x3*(parseInt(n(0x154))/0x4)+-parseInt(n(0x145))/0x5+parseInt(n(0x14d))/0x6*(-parseInt(n(0x150))/0x7)+-parseInt(n(0x14c))/0x8*(parseInt(n(0x15e))/0x9)+parseInt(n(0x13c))/0xa*(parseInt(n(0x13b))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x85915));const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a78d;if(c){const e=c[o(0x148)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const p=a78d;return a78a[p(0x160)]()['search'](p(0x147))['toString']()[p(0x14e)](a78a)[p(0x166)](p(0x147));});a78a();import a78e from'fs';import a78f from'path';import a78g from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a78c(){const s=['getConfigPath','429753ppJElr','1312GyrViZ','1810986TdHRtz','constructor','\x20to\x20','7qCXxBL','isFile','fsi','.crt','1748524EbchZJ','appName','readFileSync','genSSC','listenPort','.csr','\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','3otinRO','genCSR','createProxyServer','57060xhkfyV','utf8','toString','sslconfig','.key','invoke','localhost','help','search','3436213iEjGGg','130vbizGb','create','1288932YTQmZu','join','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','proxy','mkKeysDir','=>\x20SSL\x20Proxy\x20forwarding\x20','targetHost','3304725WhQHfL','findGenerator','(((.+)+)+)+$','apply','targetPort'];a78c=function(){return s;};return a78c();}import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a78h from'../generators/maka.gen.js';Command[a78q(0x13d)]({'name':a78q(0x141),'usage':'maka\x20proxy','mustBeInMakaProject':!![],'validOpts':[a78q(0x165),a78q(0x149),a78q(0x158),a78q(0x144)],'maxArgLength':0x1,'shortDesc':a78q(0x140),'description':a78q(0x15a),'examples':['maka\x20proxy','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','maka\x20proxy\x20--target-host\x20http://192.168.1.20']},async function(a,b){const r=a78q,c=this[r(0x152)]['getProjectConfig'](),d='development',e=this['fsi'][r(0x14a)](d),f=this[r(0x152)][r(0x142)]({'configPath':e}),g=b[r(0x149)]?Number(b[r(0x149)]):0xbb8,h=b[r(0x158)]?Number(b[r(0x158)]):0xd73,i=b[r(0x144)]?b[r(0x144)]:r(0x164),j=a78f['join'](f,c['appName']+r(0x162)),k=a78f[r(0x13f)](f,c['appName']+r(0x153));if(!this[r(0x152)][r(0x151)](j)||!this[r(0x152)][r(0x151)](k)){const m=a78h[r(0x146)]('sslconfig');m&&await m[r(0x163)]([r(0x161)],{'env':d}),SSL[r(0x15c)]({'keyName':c['appName']+r(0x162),'csrName':c[r(0x155)]+r(0x159),'cwd':f}),SSL[r(0x157)]({'keyName':c['appName']+r(0x162),'crtName':c[r(0x155)]+r(0x153),'cwd':f});}if(g===h){Log['error']('Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.');throw new UsageError();}const l={'ssl':{'key':a78e[r(0x156)](j,r(0x15f)),'cert':a78e[r(0x156)](k,r(0x15f))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a78g[r(0x15d)](l)['listen'](Number(h)),Log['bright'](r(0x143)+h+r(0x14f)+g);});
@@ -1 +1 @@
1
- function a79c(){const s=['constructor','search','ses.json','5204423HrHmLV','\x0a\x20\x20If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x0a\x20\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.\x0a\x20\x20','pm2\x20delete\x20all','readFileSync','join','uname\x20-a','notice','916KanMgc','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','fsi','parse','(((.+)+)+)+$','assign','ssh.json','2417LXhsPJ','create','env','apply','maka\x20reconfig\x20--env\x20prod','toString','~/ses.json','existsSync','5IofwMa','maka\x20reconfig','2518011QUaUGv','4506092zmrOsG','Reconfigure\x20your\x20deployed\x20applications','Remote\x20host\x20connection\x20successful','808932uIfEyq','~/pm2.config.js','7008390RwQTsT','reconfig','scp','6791008jzFzDG'];a79c=function(){return s;};return a79c();}const a79q=a79d;(function(a,b){const n=a79d,c=a();while(!![]){try{const d=parseInt(n(0xc3))/0x1*(parseInt(n(0xbc))/0x2)+-parseInt(n(0xa8))/0x3+-parseInt(n(0xa9))/0x4*(-parseInt(n(0xa6))/0x5)+-parseInt(n(0xac))/0x6+-parseInt(n(0xb5))/0x7+parseInt(n(0xb1))/0x8+-parseInt(n(0xae))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x8f12b));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a79d;if(c){const e=c[o(0xc6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const p=a79d;return a79a['toString']()[p(0xb3)](p(0xc0))[p(0xc8)]()[p(0xb2)](a79a)[p(0xb3)](p(0xc0));});a79a();import a79e from'fs';import a79f from'path';function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0xa5;let f=c[d];return f;},a79d(a,b);}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a79q(0xc4)]({'name':a79q(0xaf),'validOpts':[''],'requiredOpts':[a79q(0xc5)],'mustBeInMakaProject':!![],'usage':a79q(0xa7),'shortDesc':a79q(0xaa),'description':a79q(0xb6),'examples':[a79q(0xc7)]},async function(a,b){const r=a79q;try{const c=this[r(0xbe)]['getConfigPath'](b['env']),d=a79f[r(0xb9)](c,r(0xc2)),f=a79e[r(0xb8)](d)[r(0xc8)](),g=JSON[r(0xbf)](f);Object[r(0xc1)](g,{'env':c}),Log[r(0xbb)]('Checking\x20remote\x20host\x20availability');const h=SSH['ping'](r(0xba),g);if(!h)throw r(0xbd);if(h)Log['success'](r(0xab));const i=a79f[r(0xb9)](c,'_keys',r(0xb4));if(a79e[r(0xa5)](i)){const l={'source':i,'dest':r(0xc9),'verbose':!![]};SSH[r(0xb0)](l,{...g});}const j=a79f[r(0xb9)](c,'pm2.config.js');SSH[r(0xb0)]({'source':j,'dest':r(0xad),'verbose':!![]},{...g});const k=a79f[r(0xb9)](c,'settings.json');SSH[r(0xb0)]({'source':k,'dest':'~/settings.json','verbose':!![]},{...g}),SSH['sshSync'](r(0xb7),g),await SSH['ssh']('echo\x20\x22\x22\x20&&\x20pm2\x20start\x20pm2.config.js\x20&&\x20echo\x20\x22\x22\x20||\x20echo\x20\x22Cound\x20not\x20find\x20PM2,\x20have\x20you\x20deployed\x20the\x20app\x20yet?\x22',{...g},{'verbose':!![]});}catch(m){console['error'](m),process['exit'](0x0);}});
1
+ const a79p=a79d;(function(a,b){const n=a79d,c=a();while(!![]){try{const d=-parseInt(n(0x181))/0x1*(parseInt(n(0x163))/0x2)+-parseInt(n(0x171))/0x3+parseInt(n(0x16b))/0x4+-parseInt(n(0x15f))/0x5+-parseInt(n(0x170))/0x6+parseInt(n(0x17f))/0x7+parseInt(n(0x165))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0xa3e23));function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x15f;let f=c[d];return f;},a79d(a,b);}const a79b=(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;};}()),a79a=a79b(this,function(){const o=a79d;return a79a[o(0x16d)]()[o(0x17c)]('(((.+)+)+)+$')['toString']()[o(0x178)](a79a)[o(0x17c)](o(0x173));});a79a();import a79e from'fs';import a79f from'path';function a79c(){const r=['reconfig','toString','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','error','4658724VZvKeT','1553442gsfHIb','join','(((.+)+)+)+$','create','notice','\x0a\x20\x20If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x0a\x20\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.\x0a\x20\x20','Reconfigure\x20your\x20deployed\x20applications','constructor','settings.json','~/ses.json','existsSync','search','fsi','env','8206296tKjFiO','Remote\x20host\x20connection\x20successful','122qbZpnv','parse','sshSync','ssh.json','maka\x20reconfig\x20--env\x20prod','success','~/pm2.config.js','2704220wkBhqq','ses.json','_keys','getConfigPath','17868QzkOzC','scp','16471064gjkrYn','ping','Checking\x20remote\x20host\x20availability','pm2\x20delete\x20all','maka\x20reconfig','pm2.config.js','1460464GoWclT'];a79c=function(){return r;};return a79c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a79p(0x174)]({'name':a79p(0x16c),'validOpts':[''],'requiredOpts':[a79p(0x17e)],'mustBeInMakaProject':!![],'usage':a79p(0x169),'shortDesc':a79p(0x177),'description':a79p(0x176),'examples':[a79p(0x185)]},async function(a,b){const q=a79p;try{const c=this[q(0x17d)][q(0x162)](b[q(0x17e)]),d=a79f[q(0x172)](c,q(0x184)),f=a79e['readFileSync'](d)[q(0x16d)](),g=JSON[q(0x182)](f);Object['assign'](g,{'env':c}),Log[q(0x175)](q(0x167));const h=SSH[q(0x166)]('uname\x20-a',g);if(!h)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(h)Log[q(0x186)](q(0x180));const i=a79f[q(0x172)](c,q(0x161),q(0x160));if(a79e[q(0x17b)](i)){const l={'source':i,'dest':q(0x17a),'verbose':!![]};SSH[q(0x164)](l,{...g});}const j=a79f[q(0x172)](c,q(0x16a));SSH['scp']({'source':j,'dest':q(0x187),'verbose':!![]},{...g});const k=a79f[q(0x172)](c,q(0x179));SSH[q(0x164)]({'source':k,'dest':'~/settings.json','verbose':!![]},{...g}),SSH[q(0x183)](q(0x168),g),await SSH['ssh'](q(0x16e),{...g},{'verbose':!![]});}catch(m){console[q(0x16f)](m),process['exit'](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a80d,c=a();while(!![]){try{var d=parseInt(f(0x115))/0x1*(-parseInt(f(0x113))/0x2)+parseInt(f(0x10b))/0x3*(-parseInt(f(0x112))/0x4)+parseInt(f(0x119))/0x5*(-parseInt(f(0x117))/0x6)+parseInt(f(0x110))/0x7+-parseInt(f(0x114))/0x8+parseInt(f(0x118))/0x9*(-parseInt(f(0x10e))/0xa)+parseInt(f(0x10d))/0xb*(parseInt(f(0x10f))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0x443a7));function a80d(a,b){var c=a80c();return a80d=function(d,e){d=d-0x10a;var f=c[d];return f;},a80d(a,b);}var a80b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a80d;if(c){var e=c[g(0x10a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){var h=a80d;return a80a[h(0x111)]()['search'](h(0x116))[h(0x111)]()[h(0x11a)](a80a)[h(0x10c)](h(0x116));});a80a();import'./run.command.js';function a80c(){var i=['18498aKQlAt','search','558316AQtrXc','470QLnXpl','216atFubY','1237509kTWgXU','toString','152wVpRDK','10474cROfst','1176416uVqfFx','29WhGggm','(((.+)+)+)+$','18kBOpMi','34551IbCAOU','162110IFwHLL','constructor','apply'];a80c=function(){return i;};return a80c();}import'./docker.sub.cmd.js';
1
+ (function(a,b){var f=a80d,c=a();while(!![]){try{var d=parseInt(f(0x16f))/0x1+parseInt(f(0x171))/0x2*(parseInt(f(0x176))/0x3)+-parseInt(f(0x16c))/0x4+-parseInt(f(0x169))/0x5*(parseInt(f(0x16a))/0x6)+parseInt(f(0x16d))/0x7*(parseInt(f(0x175))/0x8)+-parseInt(f(0x173))/0x9+-parseInt(f(0x16e))/0xa*(-parseInt(f(0x16b))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0xeec35));var a80b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a80d;if(c){var e=c[g(0x174)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){var h=a80d;return a80a[h(0x170)]()[h(0x167)](h(0x172))[h(0x170)]()[h(0x168)](a80a)['search'](h(0x172));});a80a();function a80d(a,b){var c=a80c();return a80d=function(d,e){d=d-0x167;var f=c[d];return f;},a80d(a,b);}function a80c(){var i=['apply','1320472zzVgtY','144411ZrNSwl','search','constructor','1365QDhYoy','8178VDwXtF','10417TIwRjK','2798556ifmwLD','14MeOOnW','730ViRxSO','1544671eRDCTL','toString','62VXbvwL','(((.+)+)+)+$','12478104jLSFuW'];a80c=function(){return i;};return a80c();}import'./run.command.js';import'./docker.sub.cmd.js';
@@ -1 +1 @@
1
- const a81l=a81d;(function(a,b){const i=a81d,c=a();while(!![]){try{const d=-parseInt(i(0x7d))/0x1+parseInt(i(0x8e))/0x2+-parseInt(i(0x94))/0x3*(-parseInt(i(0x78))/0x4)+parseInt(i(0x95))/0x5+-parseInt(i(0x7e))/0x6+-parseInt(i(0x87))/0x7*(-parseInt(i(0x77))/0x8)+-parseInt(i(0x90))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0x27759));const a81b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a81d;if(c){const e=c[j(0x7a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){const k=a81d;return a81a[k(0x89)]()['search'](k(0x82))['toString']()[k(0x91)](a81a)[k(0x7f)]('(((.+)+)+)+$');});a81a();import a81e from'./run.command.js';import{execSync}from'child_process';function a81c(){const n=['\x0a\x20\x20Run\x20your\x20application\x20in\x20a\x20Docker\x20container.\x20\x20Docker\x20Desktop\x20or\x20Colmia\x20is\x20required.\x0a\x0a\x20\x20Colima\x20is\x20a\x20great\x20alternative\x20to\x20Docker\x20Desktop,\x20and\x20it\x20is\x20free!\x0a\x20\x20Colima:\x20https://github.com/abiosoft/colima\x0a\x0a\x0a\x20\x20A\x20docker-compose.yml\x20file\x20(location\x20defaulted\x20to\x20the\x20\x22config/docker\x22\x20folder)\x0a\x20\x20is\x20used\x20to\x20startup\x20mongo\x20and\x20load\x20the\x20built\x20image\x27\x0a\x20\x20','apply','Docker\x20Compose\x20Path:\x20','maka\x20run\x20docker','34616esugQZ','632346dOoviJ','search','docker-compose.yaml','appName','(((.+)+)+)+$','templateContent','notice','\x20up\x20--remove-orphans','config/docker-compose.yaml','47530abayWs','fsi','toString','docker','join','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','existsSync','392328prcYwS','getConfigPath','1627641cFPeyz','constructor','inherit','create','81894IQnuiJ','36875YPLUFB','getProjectConfig','createFile','docker-compose\x20--project-directory\x20','200qjYkUV','16BHJSmD'];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';function a81d(a,b){const c=a81c();return a81d=function(d,e){d=d-0x77;let f=c[d];return f;},a81d(a,b);}Command[a81l(0x93)]({'name':a81l(0x8a),'aliases':['d'],'shortDesc':a81l(0x8c),'description':a81l(0x79),'usage':a81l(0x7c),'validOpts':['']},async function(){const m=a81l;try{const a=this[m(0x88)][m(0x96)](),b=this[m(0x88)][m(0x8f)](m(0x8a)),c=a81f[m(0x8b)](b,m(0x80)),d=a81f[m(0x8b)](b,'pm2.config.js');Log[m(0x84)]('PM2\x20Config\x20File:\x20'+d),Log['notice'](m(0x7b)+c);if(!a81g[m(0x8d)](c)){const f={'app':a['appName'],'appFileCase':paramCase(a[m(0x81)])},g=this[m(0x88)][m(0x83)]({'srcPath':m(0x86),'context':f})+'\x0a';this[m(0x88)][m(0x97)]({'filePath':c,'data':g});}execSync(m(0x98)+b+m(0x85),{'stdio':m(0x92)});}catch(h){process['exit'](0x1);}},a81e);
1
+ function a81d(a,b){const c=a81c();return a81d=function(d,e){d=d-0x1d9;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(0x1e7))/0x1+-parseInt(i(0x1f9))/0x2*(parseInt(i(0x1e4))/0x3)+parseInt(i(0x1e3))/0x4*(-parseInt(i(0x1d9))/0x5)+-parseInt(i(0x1e6))/0x6*(parseInt(i(0x1f4))/0x7)+-parseInt(i(0x1e2))/0x8*(parseInt(i(0x1eb))/0x9)+parseInt(i(0x1df))/0xa*(-parseInt(i(0x1ea))/0xb)+parseInt(i(0x1f7))/0xc*(parseInt(i(0x1fa))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0xe8f42));const a81b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a81d;if(c){const e=c[j(0x1de)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){const k=a81d;return a81a[k(0x1e9)]()['search']('(((.+)+)+)+$')[k(0x1e9)]()[k(0x1da)](a81a)['search'](k(0x1dd));});a81a();import a81e from'./run.command.js';import{execSync}from'child_process';function a81c(){const n=['exit','join','existsSync','pm2.config.js','PM2\x20Config\x20File:\x20','getConfigPath','docker','docker-compose\x20--project-directory\x20','861LkajOE','maka\x20run\x20docker','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','60gskgpD','getProjectConfig','2LjDlPH','23720047FeQveY','appName','createFile','notice','4541255anONJQ','constructor','\x0a\x20\x20Run\x20your\x20application\x20in\x20a\x20Docker\x20container.\x20\x20Docker\x20Desktop\x20or\x20Colmia\x20is\x20required.\x0a\x0a\x20\x20Colima\x20is\x20a\x20great\x20alternative\x20to\x20Docker\x20Desktop,\x20and\x20it\x20is\x20free!\x0a\x20\x20Colima:\x20https://github.com/abiosoft/colima\x0a\x0a\x0a\x20\x20A\x20docker-compose.yml\x20file\x20(location\x20defaulted\x20to\x20the\x20\x22config/docker\x22\x20folder)\x0a\x20\x20is\x20used\x20to\x20startup\x20mongo\x20and\x20load\x20the\x20built\x20image\x27\x0a\x20\x20','Docker\x20Compose\x20Path:\x20','(((.+)+)+)+$','apply','20JxMStm','\x20up\x20--remove-orphans','docker-compose.yaml','24EHPGCX','8cinHoK','4050831vvTziS','inherit','90138zZFvYs','669096MmewPr','fsi','toString','6957940UvjjQz','3660399TqCKYq'];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['create']({'name':a81l(0x1f2),'aliases':['d'],'shortDesc':a81l(0x1f6),'description':a81l(0x1db),'usage':a81l(0x1f5),'validOpts':['']},async function(){const m=a81l;try{const a=this[m(0x1e8)][m(0x1f8)](),b=this['fsi'][m(0x1f1)](m(0x1f2)),c=a81f[m(0x1ed)](b,m(0x1e1)),d=a81f[m(0x1ed)](b,m(0x1ef));Log[m(0x1fd)](m(0x1f0)+d),Log[m(0x1fd)](m(0x1dc)+c);if(!a81g[m(0x1ee)](c)){const f={'app':a[m(0x1fb)],'appFileCase':paramCase(a['appName'])},g=this[m(0x1e8)]['templateContent']({'srcPath':'config/docker-compose.yaml','context':f})+'\x0a';this[m(0x1e8)][m(0x1fc)]({'filePath':c,'data':g});}execSync(m(0x1f3)+b+m(0x1e0),{'stdio':m(0x1e5)});}catch(h){process[m(0x1ec)](0x1);}},a81e);
@@ -1 +1 @@
1
- const a82u=a82d;(function(a,b){const q=a82d,c=a();while(!![]){try{const d=parseInt(q(0x18a))/0x1+parseInt(q(0x165))/0x2*(-parseInt(q(0x171))/0x3)+-parseInt(q(0x156))/0x4*(-parseInt(q(0x184))/0x5)+parseInt(q(0x167))/0x6*(-parseInt(q(0x16c))/0x7)+parseInt(q(0x174))/0x8*(-parseInt(q(0x183))/0x9)+-parseInt(q(0x186))/0xa+parseInt(q(0x14d))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0xa2213));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a82d;if(c){const e=c[r(0x15d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const s=a82d;return a82a[s(0x180)]()[s(0x15a)](s(0x175))['toString']()[s(0x163)](a82a)['search'](s(0x175));});a82a();function a82c(){const x=['356iHheaz','slice','process.env','compareMakaToLatest','search','push','run','apply','join','length','--settings','exit','--production','constructor','\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.','1636642vRYkfA','concat','132Yhacbd','getConfigPath','splice','filter','split','324163uFjaBU','config','openSync','local','mobile-server','3fyKGYg','settings.json','cordova-build','64sflNUS','(((.+)+)+)+$','isFile','port','notice','settings','isDirectory','sep','Cannot\x20find\x20Node\x20Environment\x20File:\x20','fsi','Meteor\x20Settings:\x20','app','toString','--env','rawLogs','1368639xviMTW','68070HnagLB','verbose','6545480LDVyoh','mobileServer','argv','inspect','626813LwCPVW','27872449Rjkqsv','forEach','exclude-archs','env','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','.meteor','findSubCommand','docker','invokeMeteorCommand'];a82c=function(){return x;};return a82c();}import a82e from'path';import a82f from'fs';import a82g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x14d;let f=c[d];return f;},a82d(a,b);}import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const t=a82d;a82f[t(0x16e)](a,'r'),a82g[t(0x16d)]({'path':a});},Run=Command['create']({'name':'run','mustBeInMakaProject':!![],'shortDesc':'Run\x20your\x20Meteor\x20application','description':a82u(0x164),'validOpts':[a82u(0x150),'docker','r',a82u(0x182),'p',a82u(0x177),'i',a82u(0x189),'m',a82u(0x187),'v',a82u(0x185),'allowIncompatibleUpdate','extraPackages','x',a82u(0x14f),'production']},async function(a,b){const v=a82u;try{const c=a[0x0],d=this[v(0x153)](c);d&&this['runSubCommand'](c,a,b);if(c==='ios'){const m=this[v(0x17d)]['findProjectDirectory'](),n=a82e[v(0x15e)](m,v(0x17f),v(0x152),v(0x16f),v(0x173));this[v(0x17d)][v(0x17a)](n)&&await rimraf(n);}if(b['mobile-server']&&b[v(0x170)]===!![]||b['m']&&b['m']===!![])throw'Please\x20provide\x20a\x20URL\x20where\x20your\x20mobile\x20app\x20should\x20connect\x20to\x20your\x20server\x20(e.g.,\x20-m\x20|\x20--mobile-server=https://example-server.com)';await this[v(0x17d)][v(0x159)]();const f=b['env']?b['env']:'development',g=this['fsi'][v(0x168)](f),h=a82e[v(0x15e)](g,v(0x158));let i=a82e[v(0x15e)](g,v(0x172));b[v(0x179)]?i=b[v(0x179)]:i=a82e[v(0x15e)](g,v(0x172));if(this['fsi'][v(0x176)](h)&&!b[v(0x154)])Log['notice']('Node\x20Env\x20Config:\x20'+h),syncSource(h);else!b[v(0x154)]&&Log['warn'](v(0x17c)+h);this['fsi'][v(0x176)](i)?(Log[v(0x178)](v(0x17e)+i),a=a[v(0x166)]([v(0x160),i])):Log['warn'](v(0x151)+i);const j=g[v(0x16b)](a82e[v(0x17b)]),k=j[j[v(0x15f)]-0x1];k==='production'&&a[v(0x15b)](v(0x162));const l=process[v(0x188)][v(0x157)](0x2)['filter'](o=>o!==v(0x15c))[v(0x16a)](o=>o!==a[0x0]);l[v(0x14e)]((o,p)=>{const w=v;o===w(0x181)&&l[w(0x169)](p,0x2),o==='-e'&&l[w(0x169)](p,0x2);}),this[v(0x17d)][v(0x155)]('run',a[v(0x166)](l));}catch(o){console['error'](o),process[v(0x161)](0x1);}});export default Run;
1
+ const a82u=a82d;(function(a,b){const r=a82d,c=a();while(!![]){try{const d=parseInt(r(0x177))/0x1*(-parseInt(r(0x179))/0x2)+-parseInt(r(0x16b))/0x3*(parseInt(r(0x156))/0x4)+parseInt(r(0x150))/0x5*(-parseInt(r(0x14a))/0x6)+-parseInt(r(0x153))/0x7*(parseInt(r(0x17a))/0x8)+-parseInt(r(0x142))/0x9*(-parseInt(r(0x168))/0xa)+parseInt(r(0x157))/0xb*(parseInt(r(0x15f))/0xc)+parseInt(r(0x15d))/0xd*(-parseInt(r(0x152))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x21df1));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']()['search'](s(0x146))[s(0x175)]()[s(0x15a)](a82a)[s(0x178)](s(0x146));});function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x141;let f=c[d];return f;},a82d(a,b);}a82a();import a82e from'path';function a82c(){const x=['6kWbfiM','isDirectory','filter','fsi','inspect','invokeMeteorCommand','382895iQSGEs','create','518fHHQyd','98DQtlbR','notice','mobile-server','4WDHenN','11jjymXf','app','push','constructor','getConfigPath','splice','65039YonBXH','settings.json','3166248jJPEsj','findProjectDirectory','verbose','--settings','concat','\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.','forEach','isFile','docker','840670fQbqrk','settings','Run\x20your\x20Meteor\x20application','228237AMtRVX','--env','port','findSubCommand','development','run','split','allowIncompatibleUpdate','cordova-build','join','toString','local','799PnrPid','search','26IKwbuI','16664CCbUHt','installMeteorPackage','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','process.env','mobileServer','checkMeteorPackage','compareMakaToLatest','exit','exclude-archs','warn','production','Meteor\x20Settings:\x20','27vYwAaE','argv','openSync','rawLogs','(((.+)+)+)+$','sep','Please\x20provide\x20a\x20URL\x20where\x20your\x20mobile\x20app\x20should\x20connect\x20to\x20your\x20server\x20(e.g.,\x20-m\x20|\x20--mobile-server=https://example-server.com)','env'];a82c=function(){return x;};return a82c();}import a82f from'fs';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 t=a82d;a82f[t(0x144)](a,'r'),a82g['config']({'path':a});},Run=Command[a82u(0x151)]({'name':a82u(0x170),'mustBeInMakaProject':!![],'shortDesc':a82u(0x16a),'description':a82u(0x164),'validOpts':[a82u(0x149),a82u(0x167),'r',a82u(0x145),'p',a82u(0x16d),'i',a82u(0x14e),'m',a82u(0x17e),'v',a82u(0x161),a82u(0x172),'extraPackages','x',a82u(0x182),a82u(0x184)]},async function(a,b){const v=a82u;try{const c=this[v(0x14d)][v(0x160)]();!this[v(0x14d)][v(0x17f)]('autoupdate')&&(Log[v(0x154)]('Verifying\x20meteor\x20package\x20requirements\x20...'),await this[v(0x14d)][v(0x17b)]('autoupdate',{'cwd':c}));const d=a[0x0],f=this[v(0x16e)](d);f&&this['runSubCommand'](d,a,b);if(d==='ios'){const n=this[v(0x14d)]['findProjectDirectory'](),o=a82e[v(0x174)](n,v(0x158),'.meteor',v(0x176),v(0x173));this[v(0x14d)][v(0x14b)](o)&&await rimraf(o);}if(b[v(0x155)]&&b[v(0x155)]===!![]||b['m']&&b['m']===!![])throw v(0x148);await this[v(0x14d)][v(0x180)]();const g=b['env']?b[v(0x149)]:v(0x16f),h=this['fsi'][v(0x15b)](g),i=a82e[v(0x174)](h,v(0x17d));let j=a82e['join'](h,v(0x15e));b[v(0x169)]?j=b[v(0x169)]:j=a82e[v(0x174)](h,v(0x15e));if(this[v(0x14d)][v(0x166)](i)&&!b[v(0x167)])Log[v(0x154)]('Node\x20Env\x20Config:\x20'+i),syncSource(i);else!b['docker']&&Log[v(0x183)]('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+i);this[v(0x14d)][v(0x166)](j)?(Log[v(0x154)](v(0x141)+j),a=a['concat']([v(0x162),j])):Log[v(0x183)](v(0x17c)+j);const k=h[v(0x171)](a82e[v(0x147)]),l=k[k['length']-0x1];l===v(0x184)&&a[v(0x159)]('--production');const m=process[v(0x143)]['slice'](0x2)['filter'](p=>p!==v(0x170))[v(0x14c)](p=>p!==a[0x0]);m[v(0x165)]((p,q)=>{const w=v;p===w(0x16c)&&m[w(0x15c)](q,0x2),p==='-e'&&m[w(0x15c)](q,0x2);}),this[v(0x14d)][v(0x14f)](v(0x170),a[v(0x163)](m));}catch(p){console['error'](p),process[v(0x181)](0x1);}});export default Run;
@@ -1 +1 @@
1
- function a83c(){var h=['72296PZaCtj','3505240IwFcjL','9152803saZRLS','346837gwGijH','9aQXksr','(((.+)+)+)+$','constructor','5fHLGVd','1060112csmxmv','3IORPdK','454638JtoDbM','217jShEnu','search','740316SMXhBm','toString'];a83c=function(){return h;};return a83c();}(function(a,b){var f=a83d,c=a();while(!![]){try{var d=-parseInt(f(0xb5))/0x1+-parseInt(f(0xba))/0x2*(parseInt(f(0xbb))/0x3)+-parseInt(f(0xb0))/0x4*(-parseInt(f(0xb9))/0x5)+parseInt(f(0xad))/0x6+-parseInt(f(0xae))/0x7*(parseInt(f(0xb2))/0x8)+parseInt(f(0xb6))/0x9*(parseInt(f(0xb3))/0xa)+parseInt(f(0xb4))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0x45ec9));var a83b=(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;};}()),a83a=a83b(this,function(){var g=a83d;return a83a['toString']()[g(0xaf)](g(0xb7))[g(0xb1)]()[g(0xb8)](a83a)[g(0xaf)](g(0xb7));});a83a();import'./set.command.js';function a83d(a,b){var c=a83c();return a83d=function(d,e){d=d-0xad;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(0x187))/0x1+parseInt(f(0x18b))/0x2*(-parseInt(f(0x184))/0x3)+parseInt(f(0x18a))/0x4+-parseInt(f(0x183))/0x5+-parseInt(f(0x18c))/0x6+parseInt(f(0x185))/0x7+-parseInt(f(0x186))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0x93ecb));var a83b=(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;};}()),a83a=a83b(this,function(){var g=a83d;return a83a[g(0x188)]()[g(0x181)](g(0x182))[g(0x188)]()[g(0x189)](a83a)[g(0x181)]('(((.+)+)+)+$');});function a83d(a,b){var c=a83c();return a83d=function(d,e){d=d-0x181;var f=c[d];return f;},a83d(a,b);}a83a();function a83c(){var h=['4252444oVYYpJ','44196qJEaQp','2953938hpoMNx','search','(((.+)+)+)+$','992150buzcvM','15iGhuzz','2932944ZDrUHq','6958056XCTxvo','794796EzyZmT','toString','constructor'];a83c=function(){return h;};return a83c();}import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
@@ -1 +1 @@
1
- const a84k=a84d;(function(a,b){const h=a84d,c=a();while(!![]){try{const d=-parseInt(h(0x14e))/0x1+-parseInt(h(0x14d))/0x2+-parseInt(h(0x137))/0x3*(parseInt(h(0x141))/0x4)+parseInt(h(0x13b))/0x5*(-parseInt(h(0x134))/0x6)+parseInt(h(0x14c))/0x7*(-parseInt(h(0x147))/0x8)+parseInt(h(0x148))/0x9+parseInt(h(0x12d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x461f1));function a84c(){const m=['boolean','disallowInsecure','6molLsy','toString','setGlobalConfig','141RtDhAg','apply','isDirectory','Could\x20not\x20find\x20directory','724285CJHqKr','resolve','workspace','\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','One\x20or\x20the\x20other\x20buddy','Set\x20global\x20Maka-CLI\x20settings','16252uTnTyS','search','success','maka\x20set:gc\x20--workspace\x20<path>','fsi','cacert','658040HQBstG','2555343vbRHTc','create','openai','Set\x20OpenAI\x20Key:\x20','42TPQgNR','470610qAvEhj','559612DaSXeJ','allowInsecure','constructor','error','isFile','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','maka\x20set:global-config\x20--cacert\x20<path>','16275550DUUTJw','exit','Set\x20workspace:\x20','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','(((.+)+)+)+$'];a84c=function(){return m;};return a84c();}const a84b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a84d;if(c){const e=c[i(0x138)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){const j=a84d;return a84a[j(0x135)]()[j(0x142)](j(0x131))[j(0x135)]()[j(0x150)](a84a)[j(0x142)](j(0x131));});a84a();import a84e from'path';import a84f from'./set.command.js';function a84d(a,b){const c=a84c();return a84d=function(d,e){d=d-0x12d;let f=c[d];return f;},a84d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a84k(0x149)]({'name':'global-config','usage':'maka\x20set:global-config\x20<args>','aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a84k(0x146),a84k(0x14f),a84k(0x133),'workspace',a84k(0x14a),'help'],'shortDesc':a84k(0x140),'description':a84k(0x13e),'examples':[a84k(0x154),'maka\x20set:gc\x20--insecure\x20<path>',a84k(0x144)]},async function(a,b){const l=a84k;try{if(b[l(0x146)]){if(this[l(0x145)][l(0x152)](b[l(0x146)]))this[l(0x145)][l(0x136)]({'cert':b[l(0x146)]}),Log['success']('Set\x20CA\x20Cert\x20Path:\x20'+b[l(0x146)]);else{const c=typeof b[l(0x146)]===l(0x132)?l(0x153):l(0x130)+b[l(0x146)];throw Log[l(0x151)](c);}}if(b['workspace']){const d=this['fsi'][l(0x139)](b['workspace']);if(d)this[l(0x145)][l(0x136)]({'workspace':a84e[l(0x13c)](b['workspace'])}),Log[l(0x143)](l(0x12f)+a84e['resolve'](b[l(0x13d)]));else throw Log['error'](l(0x13a));}b[l(0x14a)]&&(this[l(0x145)][l(0x136)]({'openai':b[l(0x14a)]}),Log[l(0x143)](l(0x14b)+b['openai']));if(b['allowInsecure']){if(b[l(0x14f)]&&b['disallowInsecure'])throw Log[l(0x151)](l(0x13f));let f=b['allowInsecure'];b[l(0x133)]&&(f=![]),this['fsi'][l(0x136)]({'allowInsecure':f}),Log[l(0x143)]('Set\x20allowInsecure:\x20'+f);}process[l(0x12e)](0x0);}catch(g){console[l(0x151)](g),process['exit'](0x0);}},a84f);
1
+ const a84k=a84d;(function(a,b){const h=a84d,c=a();while(!![]){try{const d=-parseInt(h(0xb8))/0x1*(parseInt(h(0xaf))/0x2)+-parseInt(h(0xa6))/0x3*(-parseInt(h(0x97))/0x4)+parseInt(h(0xac))/0x5+parseInt(h(0xb7))/0x6*(parseInt(h(0xaa))/0x7)+-parseInt(h(0xa5))/0x8*(parseInt(h(0xa0))/0x9)+-parseInt(h(0x9b))/0xa*(parseInt(h(0xad))/0xb)+-parseInt(h(0x9e))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x3263f));const a84b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a84d;if(c){const e=c[i(0x94)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){const j=a84d;return a84a[j(0x9a)]()[j(0x96)]('(((.+)+)+)+$')[j(0x9a)]()['constructor'](a84a)['search'](j(0xba));});a84a();function a84d(a,b){const c=a84c();return a84d=function(d,e){d=d-0x93;let f=c[d];return f;},a84d(a,b);}import a84e from'path';import a84f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a84c(){const m=['400IToViu','create','maka\x20set:gc\x20--workspace\x20<path>','1771176FuclhR','allowInsecure','1935Djpqpt','boolean','setGlobalConfig','Set\x20allowInsecure:\x20','One\x20or\x20the\x20other\x20buddy','7216TssXQL','3YWIqSX','cacert','Set\x20CA\x20Cert\x20Path:\x20','Set\x20OpenAI\x20Key:\x20','427ZOuPXw','\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','1732960aeHzls','27401LwYDwH','error','599042ceuDSP','workspace','openai','disallowInsecure','resolve','exit','maka\x20set:global-config\x20<args>','Could\x20not\x20find\x20directory','39132bPEmWW','1hJQozs','Set\x20global\x20Maka-CLI\x20settings','(((.+)+)+)+$','success','isDirectory','maka\x20set:global-config\x20--cacert\x20<path>','fsi','apply','maka\x20set:gc\x20--insecure\x20<path>','search','810616JCiKno','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','Set\x20workspace:\x20','toString'];a84c=function(){return m;};return a84c();}Command[a84k(0x9c)]({'name':'global-config','usage':a84k(0xb5),'aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a84k(0xa7),'allowInsecure',a84k(0xb2),'workspace','openai','help'],'shortDesc':a84k(0xb9),'description':a84k(0xab),'examples':[a84k(0xbd),a84k(0x95),a84k(0x9d)]},async function(a,b){const l=a84k;try{if(b[l(0xa7)]){if(this[l(0x93)]['isFile'](b[l(0xa7)]))this['fsi'][l(0xa2)]({'cert':b[l(0xa7)]}),Log[l(0xbb)](l(0xa8)+b[l(0xa7)]);else{const c=typeof b[l(0xa7)]===l(0xa1)?l(0x98):'CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+b[l(0xa7)];throw Log[l(0xae)](c);}}if(b[l(0xb0)]){const d=this[l(0x93)][l(0xbc)](b['workspace']);if(d)this[l(0x93)]['setGlobalConfig']({'workspace':a84e[l(0xb3)](b[l(0xb0)])}),Log['success'](l(0x99)+a84e['resolve'](b['workspace']));else throw Log[l(0xae)](l(0xb6));}b[l(0xb1)]&&(this[l(0x93)][l(0xa2)]({'openai':b['openai']}),Log[l(0xbb)](l(0xa9)+b[l(0xb1)]));if(b[l(0x9f)]){if(b[l(0x9f)]&&b[l(0xb2)])throw Log[l(0xae)](l(0xa4));let f=b[l(0x9f)];b['disallowInsecure']&&(f=![]),this[l(0x93)][l(0xa2)]({'allowInsecure':f}),Log[l(0xbb)](l(0xa3)+f);}process['exit'](0x0);}catch(g){console[l(0xae)](g),process[l(0xb4)](0x0);}},a84f);
@@ -1 +1 @@
1
- var a85i=a85d;function a85d(a,b){var c=a85c();return a85d=function(d,e){d=d-0x12b;var f=c[d];return f;},a85d(a,b);}(function(a,b){var f=a85d,c=a();while(!![]){try{var d=-parseInt(f(0x134))/0x1*(-parseInt(f(0x138))/0x2)+parseInt(f(0x12b))/0x3*(-parseInt(f(0x12e))/0x4)+parseInt(f(0x13b))/0x5+parseInt(f(0x13c))/0x6+-parseInt(f(0x135))/0x7*(-parseInt(f(0x13a))/0x8)+-parseInt(f(0x130))/0x9+-parseInt(f(0x12f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0x44018));var a85b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a85d;if(c){var e=c[g(0x139)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){var h=a85d;return a85a[h(0x12d)]()[h(0x13d)](h(0x12c))[h(0x12d)]()[h(0x131)](a85a)[h(0x13d)](h(0x12c));});a85a();import a85e from'./set.command.js';import{Command}from'../../command.js';function a85c(){var k=['851418UyQaDG','constructor','maka\x20set:local-config\x20<opts>','local-config','2685rCSFuH','301xuiGXx','maka\x20set:lc\x20<opts>','create','166nYoCJX','apply','68920CFUoFj','2610700PGnQfu','833940MfOyzq','search','Sorry,\x20not\x20implemented\x20yet','9BvQNvS','(((.+)+)+)+$','toString','209640FiFTqe','7240460wqRxUi'];a85c=function(){return k;};return a85c();}import{Log}from'../../tools/log/log.class.js';Command[a85i(0x137)]({'name':a85i(0x133),'usage':a85i(0x132),'examples':[a85i(0x136),a85i(0x132)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':'Set\x20local\x20maka\x20app\x20settings','validOpts':[],'description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20'},async function(){var j=a85i;Log['notice'](j(0x13e));},a85e);
1
+ var a85i=a85d;function a85d(a,b){var c=a85c();return a85d=function(d,e){d=d-0x115;var f=c[d];return f;},a85d(a,b);}(function(a,b){var f=a85d,c=a();while(!![]){try{var d=parseInt(f(0x11a))/0x1+parseInt(f(0x122))/0x2*(parseInt(f(0x11e))/0x3)+parseInt(f(0x11c))/0x4+-parseInt(f(0x125))/0x5+-parseInt(f(0x128))/0x6+parseInt(f(0x115))/0x7*(-parseInt(f(0x129))/0x8)+parseInt(f(0x119))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0x8953e));var a85b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a85d;if(c){var e=c[g(0x117)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){var h=a85d;return a85a[h(0x124)]()['search'](h(0x116))[h(0x124)]()[h(0x123)](a85a)[h(0x120)]('(((.+)+)+)+$');});function a85c(){var k=['maka\x20set:local-config\x20<opts>','317610QjRIfK','create','search','notice','2JHecbf','constructor','toString','1657520TGEFjj','Set\x20local\x20maka\x20app\x20settings','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','5611872kifUwn','2146088heAnJz','28SEAcvj','(((.+)+)+)+$','apply','Sorry,\x20not\x20implemented\x20yet','23476086LEUSSX','103401YUCZlT','local-config','338516BUPJly'];a85c=function(){return k;};return a85c();}a85a();import a85e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a85i(0x11f)]({'name':a85i(0x11b),'usage':a85i(0x11d),'examples':['maka\x20set:lc\x20<opts>',a85i(0x11d)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a85i(0x126),'validOpts':[],'description':a85i(0x127)},async function(){var j=a85i;Log[j(0x121)](j(0x118));},a85e);
@@ -1 +1 @@
1
- const a86i=a86d;(function(a,b){const f=a86d,c=a();while(!![]){try{const d=-parseInt(f(0x73))/0x1*(parseInt(f(0x69))/0x2)+-parseInt(f(0x78))/0x3*(-parseInt(f(0x6b))/0x4)+parseInt(f(0x6d))/0x5*(-parseInt(f(0x77))/0x6)+parseInt(f(0x70))/0x7*(parseInt(f(0x7c))/0x8)+-parseInt(f(0x6c))/0x9*(-parseInt(f(0x7b))/0xa)+-parseInt(f(0x71))/0xb+parseInt(f(0x67))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0xe90a7));const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a86d;if(c){const e=c[g(0x68)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const h=a86d;return a86a[h(0x6a)]()[h(0x75)]('(((.+)+)+)+$')[h(0x6a)]()[h(0x66)](a86a)[h(0x75)](h(0x72));});a86a();function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0x66;let f=c[d];return f;},a86d(a,b);}function a86c(){const k=['set','336707KVzsSc','18040154iNqZIm','(((.+)+)+)+$','1916dyGwUc','help','search','\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','2755758RQmQCY','3vADBxD','maka\x20set:<sub-command>\x20<opts>','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','1849430VDIUbZ','136KjyRre','constructor','14001816fpeMZY','apply','38jwwdtl','toString','2203528axcZEm','27JxrzrF','5WjWmsj','create'];a86c=function(){return k;};return a86c();}import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command[a86i(0x6e)]({'name':a86i(0x6f),'usage':a86i(0x79),'minArgLength':0x1,'shortDesc':a86i(0x7a),'description':a86i(0x76),'validOpts':[]},async function(a,b){const j=a86i,c=a[0x0];if(b[j(0x74)])throw new UsageError();const d=this['findSubCommand'](c);d&&this['runSubCommand'](c,a,b);});export default SetCommand;
1
+ const a86i=a86d;(function(a,b){const f=a86d,c=a();while(!![]){try{const d=-parseInt(f(0x158))/0x1+-parseInt(f(0x160))/0x2*(parseInt(f(0x15e))/0x3)+-parseInt(f(0x169))/0x4*(parseInt(f(0x15b))/0x5)+-parseInt(f(0x159))/0x6+parseInt(f(0x166))/0x7+parseInt(f(0x163))/0x8+parseInt(f(0x168))/0x9*(parseInt(f(0x162))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0x4666d));function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0x158;let f=c[d];return f;},a86d(a,b);}function a86c(){const k=['help','1910xvxPMP','3033800atoIWg','apply','toString','752864KaGCUe','search','59040ctDkYR','4ieFzGL','498376dYgNlb','488364gdVWqV','constructor','2082005wPafSL','create','maka\x20set:<sub-command>\x20<opts>','3ARjtpm','runSubCommand','910402kAnqmX'];a86c=function(){return k;};return a86c();}const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a86d;if(c){const e=c[g(0x164)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const h=a86d;return a86a[h(0x165)]()[h(0x167)]('(((.+)+)+)+$')['toString']()[h(0x15a)](a86a)[h(0x167)]('(((.+)+)+)+$');});a86a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command[a86i(0x15c)]({'name':'set','usage':a86i(0x15d),'minArgLength':0x1,'shortDesc':'Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','validOpts':[]},async function(a,b){const j=a86i,c=a[0x0];if(b[j(0x161)])throw new UsageError();const d=this['findSubCommand'](c);d&&this[j(0x15f)](c,a,b);});export default SetCommand;
@@ -1 +1 @@
1
- const a87l=a87d;(function(a,b){const j=a87d,c=a();while(!![]){try{const d=parseInt(j(0x11e))/0x1*(-parseInt(j(0x10f))/0x2)+-parseInt(j(0x110))/0x3*(-parseInt(j(0x111))/0x4)+parseInt(j(0x107))/0x5+parseInt(j(0x118))/0x6*(parseInt(j(0x11b))/0x7)+-parseInt(j(0x11c))/0x8*(parseInt(j(0x10d))/0x9)+-parseInt(j(0x115))/0xa+parseInt(j(0x103))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0x9b23a));const a87b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){const k=a87d;return a87a['toString']()[k(0x11f)](k(0x109))[k(0x10a)]()[k(0x119)](a87a)[k(0x11f)](k(0x109));});a87a();import a87e from'fs';import a87f from'path';function a87c(){const n=['ssh','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','9171310KPFeCi','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','env','33198oVndNy','constructor','getConfigPath','21HQJkeW','8KokJiB','readFileSync','1ZGNZcd','search','parse','5334593ounGex','ssh.json','exit','length','3274185vBzCOH','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','(((.+)+)+)+$','toString','maka\x20ssh\x20<command>','join','285291lcsFLN','fsi','644726oTgNFe','2250732HaMAEB','4kiDoOn'];a87c=function(){return n;};return a87c();}import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';function a87d(a,b){const c=a87c();return a87d=function(d,e){d=d-0x103;let f=c[d];return f;},a87d(a,b);}Command['create']({'name':a87l(0x112),'usage':a87l(0x10b),'mustBeInMakaProject':!![],'requiredOpts':[a87l(0x117)],'validOpts':[a87l(0x117),'v'],'shortDesc':a87l(0x116),'examples':['maka\x20ssh\x20--env\x20dev','maka\x20ssh\x20--env\x20staging','maka\x20ssh\x20--env\x20prod',a87l(0x108),a87l(0x113),a87l(0x114)]},async function(a,b){const m=a87l;try{const c=this[m(0x10e)][m(0x11a)](b[m(0x117)]);let d='';a[m(0x106)]>0x0&&(d=a[0x0]);const f=a87f[m(0x10c)](c,m(0x104)),g=a87e[m(0x11d)](f)[m(0x10a)](),h=JSON[m(0x120)](g);Object['assign'](h,{'env':c}),SSH['sshSync'](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['v']});}catch(i){console['error'](i),process[m(0x105)](0x0);}});
1
+ const a87m=a87d;(function(a,b){const j=a87d,c=a();while(!![]){try{const d=-parseInt(j(0x1f8))/0x1+-parseInt(j(0x1f5))/0x2+parseInt(j(0x209))/0x3*(parseInt(j(0x1fe))/0x4)+-parseInt(j(0x1f0))/0x5*(parseInt(j(0x1f4))/0x6)+-parseInt(j(0x1fb))/0x7*(parseInt(j(0x1ec))/0x8)+parseInt(j(0x1fc))/0x9*(parseInt(j(0x1fa))/0xa)+parseInt(j(0x1f2))/0xb*(parseInt(j(0x202))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0x4697e));const a87b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a87d;if(c){const e=c[k(0x207)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){const l=a87d;return a87a[l(0x204)]()['search'](l(0x1f6))[l(0x204)]()[l(0x1ef)](a87a)['search'](l(0x1f6));});function a87c(){const o=['10970EsfBIN','77iKuPcS','3582GJDoAF','length','16ffoUYs','maka\x20ssh\x20--env\x20prod','getConfigPath','ssh','220992yVHvPE','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','toString','exit','parse','apply','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','105762HmcVDo','create','env','232048LdMJeY','sshSync','join','constructor','16125PbucEO','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','451zuZTmD','assign','18gjdqNr','298994CkkHVX','(((.+)+)+)+$','fsi','565290RIyWJi','maka\x20ssh\x20<command>'];a87c=function(){return o;};return a87c();}a87a();import a87e from'fs';function a87d(a,b){const c=a87c();return a87d=function(d,e){d=d-0x1ea;let f=c[d];return f;},a87d(a,b);}import a87f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a87m(0x1ea)]({'name':a87m(0x201),'usage':a87m(0x1f9),'mustBeInMakaProject':!![],'requiredOpts':[a87m(0x1eb)],'validOpts':[a87m(0x1eb),'v'],'shortDesc':a87m(0x203),'examples':['maka\x20ssh\x20--env\x20dev','maka\x20ssh\x20--env\x20staging',a87m(0x1ff),'maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22',a87m(0x208),a87m(0x1f1)]},async function(a,b){const n=a87m;try{const c=this[n(0x1f7)][n(0x200)](b[n(0x1eb)]);let d='';a[n(0x1fd)]>0x0&&(d=a[0x0]);const f=a87f[n(0x1ee)](c,'ssh.json'),g=a87e['readFileSync'](f)[n(0x204)](),h=JSON[n(0x206)](g);Object[n(0x1f3)](h,{'env':c}),SSH[n(0x1ed)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['v']});}catch(i){console['error'](i),process[n(0x205)](0x0);}});
@@ -1 +1 @@
1
- const a88x=a88d;(function(a,b){const v=a88d,c=a();while(!![]){try{const d=-parseInt(v(0x114))/0x1*(-parseInt(v(0x11e))/0x2)+parseInt(v(0x115))/0x3+parseInt(v(0x110))/0x4*(-parseInt(v(0x13f))/0x5)+parseInt(v(0x120))/0x6*(parseInt(v(0x139))/0x7)+parseInt(v(0x10d))/0x8*(parseInt(v(0x126))/0x9)+parseInt(v(0x127))/0xa+-parseInt(v(0x116))/0xb*(parseInt(v(0x12d))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0xddef4));const a88b=(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;};}()),a88a=a88b(this,function(){const w=a88d;return a88a['toString']()[w(0x12b)]('(((.+)+)+)+$')['toString']()[w(0x118)](a88a)[w(0x12b)](w(0x122));});a88a();import a88e from'fs';import a88f from'path';import{Actions}from'../tools/actions/actions.class.js';function a88c(){const z=['14utWlBG','appName','getConfigPath','error','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','emailUpdate','5tMVJwn','writeFileSync','readFileSync','notice','ssh','genCSR','ask','domainNames','.crt','mkKeysDir','\x20--email\x20','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','maka\x20ssl\x20--env\x20dev\x20generate-csr','letsencrypt.json','17512fMcHEH','success','join','3754612fTdggo','New\x20CSR\x20written\x20to\x20','withSpinner','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','145815bKOaLB','15450kEygwt','22ZVOHQK','parse','constructor','email','Remote\x20host\x20connection\x20successful','.csr','genSSC','Verifying\x20Letsencrypt\x20configuration','18dqxvBy','maka\x20ssl\x20[command]','741306bCaClz','Create\x20and\x20manage\x20your\x20SSL\x20operations.','(((.+)+)+)+$','Please\x20provide\x20a\x20command.','.key','env','117tnpqvk','5668710NyjVgd','/ssh.json','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','search','generate-csr','1873308FvLdzJ','fsi','stringify','sudo\x20snap\x20install\x20--classic\x20certbot','Checking\x20remote\x20host\x20availability','start','generate-ssc','getProjectConfig','ping','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','domains','toString'];a88c=function(){return z;};return a88c();}function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x101;let f=c[d];return f;},a88d(a,b);}import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command['create']({'name':'ssl','usage':a88x(0x11f),'validOpts':['domains',a88x(0x119)],'requiredOpts':[a88x(0x125)],'shortDesc':a88x(0x121),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a88x(0x10b),'maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate',a88x(0x129)]},async function(a,b){const y=a88x,c=this[y(0x12e)][y(0x134)](),d=this[y(0x12e)][y(0x13b)](b[y(0x125)]),f=this['fsi'][y(0x108)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===y(0x12c))SSL[y(0x104)]({'keyName':c[y(0x13a)]+'.key','csrName':c[y(0x13a)]+y(0x11b),'cwd':f});else{if(g===y(0x133)){if(!a88e['existsSync'](a88f[y(0x10f)](f,c[y(0x13a)]+'.key')))throw'The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20'+a88f[y(0x10f)](f,c[y(0x13a)]+y(0x124));if(!a88e['existsSync'](a88f[y(0x10f)](f,c[y(0x13a)]+'.csr')))throw y(0x113)+a88f[y(0x10f)](f,c[y(0x13a)]+'.csr');SSL[y(0x11c)]({'keyName':c['appName']+y(0x124),'crtName':c[y(0x13a)]+y(0x107),'cwd':f}),Log[y(0x102)](y(0x111)+f);}else{if(g==='letsencrypt'){let h=b['domains'],i=b['email'];try{const p=a88e[y(0x101)](a88f['join'](d,y(0x10c)))['toString'](),q=JSON[y(0x117)](p);h=b[y(0x137)]?b['domains']:q[y(0x106)],i=b[y(0x119)]?b['email']:q[y(0x13e)],(!b['email']||!b[y(0x137)])&&Log[y(0x102)]('Using\x20saved\x20letsencrypt\x20config');}catch(r){}const j=JSON[y(0x117)](a88e['readFileSync'](d+y(0x128))[y(0x138)]());Object['assign'](j,{'env':d}),Log[y(0x102)](y(0x131));try{const s=SSH[y(0x135)]('uname\x20-a',j);if(!s)throw y(0x12a);if(s)Log['success'](y(0x11a));}catch(t){Log[y(0x13c)](t);return;}const k=Log[y(0x112)]();k[y(0x132)](y(0x11d)),SSH['ssh'](y(0x10a),{...j}),SSH[y(0x103)](y(0x130),{...j}),SSH[y(0x103)](y(0x136),{...j}),k[y(0x10e)]();const l=h?h:await Actions['ask']('[?]\x20Domains\x20to\x20register:\x20'),m=i?i:await Actions[y(0x105)]('Email\x20to\x20use\x20for\x20auto-updates:\x20');SSH[y(0x103)](y(0x13d)+l+y(0x109)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[y(0x12f)](n,null,0x2);a88e[y(0x140)](a88f['join'](d,y(0x10c)),o);}else throw y(0x123);}}}catch(u){console[y(0x13c)](u),process['exit'](0x0);}});
1
+ const a88y=a88d;(function(a,b){const v=a88d,c=a();while(!![]){try{const d=-parseInt(v(0x204))/0x1+parseInt(v(0x217))/0x2*(parseInt(v(0x209))/0x3)+-parseInt(v(0x1e0))/0x4*(parseInt(v(0x1ef))/0x5)+parseInt(v(0x1df))/0x6*(-parseInt(v(0x1eb))/0x7)+parseInt(v(0x203))/0x8*(parseInt(v(0x21b))/0x9)+parseInt(v(0x1ee))/0xa*(-parseInt(v(0x1fa))/0xb)+parseInt(v(0x1f7))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0xe765a));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a88d;if(c){const e=c[w(0x20f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const x=a88d;return a88a['toString']()[x(0x1dc)](x(0x1e8))['toString']()[x(0x1fc)](a88a)[x(0x1dc)](x(0x1e8));});a88a();import a88e from'fs';import a88f from'path';import{Actions}from'../tools/actions/actions.class.js';function a88c(){const A=['sudo\x20snap\x20install\x20--classic\x20certbot','generate-ssc','.crt','readFileSync','Using\x20saved\x20letsencrypt\x20config','47354sERLSy','create','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','generate-csr','45UsqmGu','domainNames','notice','getConfigPath','fsi','search','Email\x20to\x20use\x20for\x20auto-updates:\x20','Checking\x20remote\x20host\x20availability','2032422khYEqF','723872EMbduo','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','withSpinner','exit','uname\x20-a','genSSC','/ssh.json','env','(((.+)+)+)+$','mkKeysDir','getProjectConfig','28rCJBTM','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','email','10kXyJap','35LlRtni','letsencrypt','New\x20CSR\x20written\x20to\x20','.csr','ask','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','maka\x20ssl\x20[command]','Remote\x20host\x20connection\x20successful','49094508wNcjAB','Create\x20and\x20manage\x20your\x20SSL\x20operations.','ssh','13451317TJuDWj','appName','constructor','join','letsencrypt.json','error','Please\x20provide\x20a\x20command.','genCSR','emailUpdate','2816584hYrGRF','1153909IWasrN','ssl','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','existsSync','\x20--email\x20','12PGKznT','toString','domains','success','writeFileSync','parse','apply','maka\x20ssl\x20--env\x20dev\x20generate-csr','.key'];a88c=function(){return A;};return a88c();}import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x1dc;let f=c[d];return f;},a88d(a,b);}import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command[a88y(0x218)]({'name':a88y(0x205),'usage':a88y(0x1f5),'validOpts':[a88y(0x20b),a88y(0x1ed)],'requiredOpts':[a88y(0x1e7)],'shortDesc':a88y(0x1f8),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a88y(0x210),a88y(0x219),a88y(0x1e1)]},async function(a,b){const z=a88y,c=this[z(0x21f)][z(0x1ea)](),d=this[z(0x21f)][z(0x21e)](b[z(0x1e7)]),f=this[z(0x21f)][z(0x1e9)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0x21a))SSL[z(0x201)]({'keyName':c[z(0x1fb)]+z(0x211),'csrName':c[z(0x1fb)]+z(0x1f2),'cwd':f});else{if(g===z(0x213)){if(!a88e[z(0x207)](a88f[z(0x1fd)](f,c[z(0x1fb)]+z(0x211))))throw'The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20'+a88f[z(0x1fd)](f,c[z(0x1fb)]+z(0x211));if(!a88e[z(0x207)](a88f['join'](f,c[z(0x1fb)]+z(0x1f2))))throw z(0x206)+a88f[z(0x1fd)](f,c[z(0x1fb)]+z(0x1f2));SSL[z(0x1e5)]({'keyName':c[z(0x1fb)]+z(0x211),'crtName':c[z(0x1fb)]+z(0x214),'cwd':f}),Log['notice'](z(0x1f1)+f);}else{if(g===z(0x1f0)){let h=b[z(0x20b)],i=b[z(0x1ed)];try{const p=a88e[z(0x215)](a88f['join'](d,'letsencrypt.json'))[z(0x20a)](),q=JSON[z(0x20e)](p);h=b['domains']?b[z(0x20b)]:q[z(0x21c)],i=b[z(0x1ed)]?b[z(0x1ed)]:q[z(0x202)],(!b[z(0x1ed)]||!b['domains'])&&Log[z(0x21d)](z(0x216));}catch(r){}const j=JSON[z(0x20e)](a88e[z(0x215)](d+z(0x1e6))[z(0x20a)]());Object['assign'](j,{'env':d}),Log[z(0x21d)](z(0x1de));try{const s=SSH['ping'](z(0x1e4),j);if(!s)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(s)Log[z(0x20c)](z(0x1f6));}catch(t){Log[z(0x1ff)](t);return;}const k=Log[z(0x1e2)]();k['start']('Verifying\x20Letsencrypt\x20configuration'),SSH[z(0x1f9)]('sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core',{...j}),SSH['ssh'](z(0x212),{...j}),SSH['ssh'](z(0x1f4),{...j}),k['success']();const l=h?h:await Actions['ask']('[?]\x20Domains\x20to\x20register:\x20'),m=i?i:await Actions[z(0x1f3)](z(0x1dd));SSH[z(0x1f9)](z(0x1ec)+l+z(0x208)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON['stringify'](n,null,0x2);a88e[z(0x20d)](a88f[z(0x1fd)](d,z(0x1fe)),o);}else throw z(0x200);}}}catch(u){console[z(0x1ff)](u),process[z(0x1e3)](0x0);}});
@@ -1 +1 @@
1
- const a89q=a89d;(function(a,b){const m=a89d,c=a();while(!![]){try{const d=parseInt(m(0x1e7))/0x1+-parseInt(m(0x1f6))/0x2*(parseInt(m(0x1c9))/0x3)+-parseInt(m(0x1fc))/0x4+parseInt(m(0x1f3))/0x5+parseInt(m(0x1d1))/0x6*(-parseInt(m(0x1f0))/0x7)+parseInt(m(0x1cc))/0x8+parseInt(m(0x1c5))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x2f805));const a89b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a89d;if(c){const e=c[n(0x1e0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){const o=a89d;return a89a[o(0x1ed)]()[o(0x1e8)](o(0x1cf))[o(0x1ed)]()['constructor'](a89a)['search'](o(0x1cf));});function a89c(){const t=['none','mocha','--env','unit','driver-package','58444RJiiyW','fsi','port','rawLogs','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','647496GJPBBL','once','driver','config','753rViXMM','process.env','maka\x20test\x20<opts>','2225088fePmwl','packages','meteortesting:mocha','(((.+)+)+)+$','env','132lulcMT','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','inspect','testAppPath','isFile','.maka','--driver','exit','jasmine','Meteor\x20Settings:\x20','forEach','filter','openSync','getConfigPath','notice','apply','readFileSync','engines','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','error','Node\x20Env\x20Config:\x20','join','248915aWADub','search','parse','--packages','splice','config.json','toString','utf8','test','51121hAipCY','--full-app','concat','542210mIwcsb','slice','findProjectDirectory','2690KenMWo'];a89c=function(){return t;};return a89c();}a89a();function a89d(a,b){const c=a89c();return a89d=function(d,e){d=d-0x1c2;let f=c[d];return f;},a89d(a,b);}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(0x1dd)](a,'r'),a89g[p(0x1c8)]({'path':a});};Command['create']({'name':a89q(0x1ef),'mustBeInMakaProject':!![],'validOpts':[a89q(0x1c6),'packages',a89q(0x1c7),'driverPackage',a89q(0x1fa),'env',a89q(0x1c3),a89q(0x1c2),a89q(0x1d3),a89q(0x1d4)],'usage':a89q(0x1cb),'shortDesc':a89q(0x1d2),'examples':[]},function(a,b){const r=a89q;try{let c=this[r(0x1fd)]['getConfigPath']('development');b[r(0x1d0)]&&(c=this[r(0x1fd)][r(0x1de)](b[r(0x1d0)]));(!b[r(0x1fa)]||!!b[r(0x1c6)])&&(a=a[r(0x1f2)]([r(0x1f1)]));b['unit']&&delete b[r(0x1fa)];let d=b[r(0x1fb)]||b[r(0x1c7)]||r(0x1f7);if(d===r(0x1f7)){const j=JSON[r(0x1e9)](a89e[r(0x1e1)](a89f[r(0x1e6)](this[r(0x1fd)][r(0x1f5)](),r(0x1d6),r(0x1ec)),r(0x1ee)));if(j[r(0x1e2)][r(0x1ef)]===r(0x1d9))d='sanjo:jasmine';else j[r(0x1e2)]['test']===r(0x1f8)&&(d=r(0x1ce));}if(d===r(0x1f7))throw r(0x1c4);(!b[r(0x1fb)]||!b['driver'])&&(a=a['concat'](['--driver-package',d]));const f=a89f[r(0x1e6)](c,'settings.json');this['fsi'][r(0x1d5)](f)?(Log[r(0x1df)](r(0x1da)+f),a=a['concat'](['--settings',f])):Log['warn'](r(0x1e3)+f);const g=a89f['join'](c,r(0x1ca));this[r(0x1fd)]['isFile'](g)?(Log[r(0x1df)](r(0x1e5)+g),syncSource(g)):Log['warn']('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+g);const h=process['argv'][r(0x1f4)](0x2)[r(0x1dc)](k=>k!==r(0x1f9))[r(0x1dc)](k=>k!==r(0x1ef))['filter'](k=>k!==a[0x0]);h[r(0x1db)]((k,l)=>{const s=r;(k===s(0x1f9)||k===s(0x1d7))&&h[s(0x1eb)](l,0x2),k===s(0x1ea)&&h[s(0x1eb)](l,0x1);});const i=b[r(0x1cd)]?'test-packages':'test';this[r(0x1fd)]['invokeMeteorCommand'](i,a[r(0x1f2)](h));}catch(k){console[r(0x1e4)](k),process[r(0x1d8)](0x0);}});
1
+ const a89q=a89d;(function(a,b){const m=a89d,c=a();while(!![]){try{const d=parseInt(m(0x1ff))/0x1+-parseInt(m(0x1d5))/0x2+-parseInt(m(0x1e5))/0x3*(parseInt(m(0x1eb))/0x4)+-parseInt(m(0x208))/0x5*(parseInt(m(0x1f1))/0x6)+-parseInt(m(0x205))/0x7*(parseInt(m(0x202))/0x8)+parseInt(m(0x1e6))/0x9*(-parseInt(m(0x1cf))/0xa)+parseInt(m(0x1d9))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0xdb8b4));function a89c(){const t=['readFileSync','argv','meteortesting:mocha','development','2416898SkcfZA','maka\x20test\x20<opts>','jasmine','getConfigPath','40858565aXHKdb','slice','apply','mocha','findProjectDirectory','warn','rawLogs','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','utf8','constructor','splice','concat','1259373JHqmno','14967cGyILy','isFile','test','Cannot\x20find\x20Node\x20Environment\x20File:\x20','--driver-package','8hxZyDQ','driver-package','none','settings.json','notice','--packages','3114pesqDR','process.env','once','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','packages','--full-app','parse','fsi','Meteor\x20Settings:\x20','toString','filter','env','error','config.json','1207029JYDGNY','port','engines','8DDccGw','unit','forEach','7659001rJnpfP','Node\x20Env\x20Config:\x20','driverPackage','3175Mviigb','config','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','invokeMeteorCommand','driver','join','3310NJpiST','--env'];a89c=function(){return t;};return a89c();}const a89b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a89d;if(c){const e=c[n(0x1db)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){const o=a89d;return a89a[o(0x1fa)]()['search']('(((.+)+)+)+$')[o(0x1fa)]()[o(0x1e2)](a89a)['search']('(((.+)+)+)+$');});a89a();import a89e from'fs';function a89d(a,b){const c=a89c();return a89d=function(d,e){d=d-0x1ce;let f=c[d];return f;},a89d(a,b);}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['openSync'](a,'r'),a89g[p(0x209)]({'path':a});};Command['create']({'name':a89q(0x1e8),'mustBeInMakaProject':!![],'validOpts':[a89q(0x1f3),a89q(0x1f5),a89q(0x20c),a89q(0x207),a89q(0x203),a89q(0x1fc),a89q(0x1df),a89q(0x200),'inspect','testAppPath'],'usage':a89q(0x1d6),'shortDesc':a89q(0x1e0),'examples':[]},function(a,b){const r=a89q;try{let c=this[r(0x1f8)]['getConfigPath'](r(0x1d4));b[r(0x1fc)]&&(c=this[r(0x1f8)][r(0x1d8)](b[r(0x1fc)]));(!b['unit']||!!b['once'])&&(a=a[r(0x1e4)]([r(0x1f6)]));b[r(0x203)]&&delete b[r(0x203)];let d=b[r(0x1ec)]||b['driver']||'none';if(d===r(0x1ed)){const j=JSON[r(0x1f7)](a89e[r(0x1d1)](a89f[r(0x1ce)](this[r(0x1f8)][r(0x1dd)](),'.maka',r(0x1fe)),r(0x1e1)));if(j[r(0x201)]['test']===r(0x1d7))d='sanjo:jasmine';else j['engines'][r(0x1e8)]===r(0x1dc)&&(d=r(0x1d3));}if(d===r(0x1ed))throw r(0x20a);(!b[r(0x1ec)]||!b[r(0x20c)])&&(a=a[r(0x1e4)]([r(0x1ea),d]));const f=a89f['join'](c,r(0x1ee));this['fsi'][r(0x1e7)](f)?(Log[r(0x1ef)](r(0x1f9)+f),a=a['concat'](['--settings',f])):Log[r(0x1de)](r(0x1f4)+f);const g=a89f[r(0x1ce)](c,r(0x1f2));this[r(0x1f8)][r(0x1e7)](g)?(Log['notice'](r(0x206)+g),syncSource(g)):Log[r(0x1de)](r(0x1e9)+g);const h=process[r(0x1d2)][r(0x1da)](0x2)['filter'](k=>k!==r(0x1d0))[r(0x1fb)](k=>k!==r(0x1e8))[r(0x1fb)](k=>k!==a[0x0]);h[r(0x204)]((k,l)=>{const s=r;(k===s(0x1d0)||k==='--driver')&&h[s(0x1e3)](l,0x2),k===s(0x1f0)&&h[s(0x1e3)](l,0x1);});const i=b[r(0x1f5)]?'test-packages':'test';this['fsi'][r(0x20b)](i,a[r(0x1e4)](h));}catch(k){console[r(0x1fd)](k),process['exit'](0x0);}});
@@ -1 +1 @@
1
- const a90n=a90d;function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x140;let f=c[d];return f;},a90d(a,b);}function a90c(){const p=['148144keDolg','replace','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','constructor','bright','System\x27s\x20Node\x20Version\x20','1001124OfQtfJ','System\x27s\x20Meteor\x20Version\x20','isMakaProject','Project\x27s\x20Meteor\x20Node\x20Version\x20','3733805xLTDwo','maka\x20version','toString','node\x20-v','Project\x27s\x20Meteor\x20Version\x20','getProjectMeteorVersion','2IGIkal','fsi','96AdEONW','----------------------Project----------------------------',')\x20to\x20at\x20least\x20meteor\x27s\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','platform','meteor.bat','apply','\x20node\x20-v','788277LxWMrj','4.5.34','majestic','create','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','6519FqbcaZ','maka\x20version\x20--verbose','warn','error','5862483TpoAuM','getGlobalMeteorVersion','----------------------System----------------------------','2725680mjhHkK','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','verbose','(((.+)+)+)+$','exit'];a90c=function(){return p;};return a90c();}(function(a,b){const k=a90d,c=a();while(!![]){try{const d=parseInt(k(0x165))/0x1*(parseInt(k(0x14a))/0x2)+-parseInt(k(0x159))/0x3*(-parseInt(k(0x14c))/0x4)+-parseInt(k(0x144))/0x5+-parseInt(k(0x140))/0x6+parseInt(k(0x154))/0x7+parseInt(k(0x160))/0x8+parseInt(k(0x15d))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0x5f8dd));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a90d;if(c){const e=c[l(0x152)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const m=a90d;return a90a[m(0x146)]()['search'](m(0x163))[m(0x146)]()[m(0x168)](a90a)['search'](m(0x163));});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(0x155)};Command[a90n(0x157)]({'name':'version','aliases':['v'],'usage':a90n(0x145),'maxArgLength':0x1,'validOpts':[a90n(0x162)],'shortDesc':a90n(0x161),'examples':['maka\x20v',a90n(0x145),a90n(0x15a)],'description':a90n(0x14f)},async function(a,b){const o=a90n;try{const c=process[o(0x150)]==='win32'?o(0x151):'meteor';Log[o(0x156)]('Maka\x20'+pjson['version']);if(b[o(0x162)]){await this['fsi']['compareMakaToLatest'](),Log['bright'](o(0x15f));const d=this[o(0x14b)][o(0x15e)]();Log[o(0x169)]((o(0x141)+d)[o(0x166)]('\x0a',''));const f=execSync(c+o(0x153))['toString']()[o(0x166)](/\r?\n|\r/,'')[o(0x166)]('v','');Log['bright']('System\x27s\x20Meteor\x27s\x20Node\x20Version\x20'+f);const g=execSync(o(0x147))['toString']()['replace'](/\r?\n|\r/,'')[o(0x166)]('v','');a90e['gt'](f,g)?(Log[o(0x15b)](o(0x16a)+g),Log[o(0x15b)]('\x20!\x20consider\x20updating\x20your\x20node\x20version\x20('+g+o(0x14e)+f+')')):Log[o(0x169)](o(0x16a)+g);if(this[o(0x14b)][o(0x142)]()){Log[o(0x169)](o(0x14d));const h=this['fsi'][o(0x149)]();a90e['gt'](d,h)?(Log[o(0x15b)](o(0x148)+h[o(0x166)]('\x0a','')),Log[o(0x15b)](o(0x167)+d+'\x22')):Log['notice'](('Project\x27s\x20Meteor\x20Version\x20'+h)['replace']('\x0a',''));const i=await this[o(0x14b)]['getProjectsMeteorNodeVersion']();i==='N/A'?(Log[o(0x15b)](o(0x143)+i),Log[o(0x15b)](o(0x158))):Log[o(0x169)]('Project\x27s\x20Meteor\x20Node\x20Version\x20'+i),Log[o(0x169)]('\x0a\x20To\x20get\x20the\x20mongo\x20version\x20in\x20use\x20by\x20meteor:\x0a\x201)\x20Run\x20the\x20project,\x20\x22maka\x20run\x22\x0a\x202)\x20In\x20a\x20new\x20terminal\x20open\x20the\x20mongo\x20shell,\x20\x22maka\x20mongo\x22');}}}catch(j){console[o(0x15c)](j),process[o(0x164)](0x0);}});
1
+ const a90m=a90d;(function(a,b){const k=a90d,c=a();while(!![]){try{const d=parseInt(k(0x131))/0x1*(parseInt(k(0x13e))/0x2)+parseInt(k(0x13c))/0x3*(-parseInt(k(0x144))/0x4)+-parseInt(k(0x137))/0x5+parseInt(k(0x12f))/0x6+parseInt(k(0x13b))/0x7*(parseInt(k(0x150))/0x8)+-parseInt(k(0x130))/0x9*(-parseInt(k(0x13f))/0xa)+-parseInt(k(0x135))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0x207d2));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(0x152)]()['search'](l(0x14b))[l(0x152)]()['constructor'](a90a)[l(0x132)]('(((.+)+)+)+$');});function a90c(){const o=['error','1030056oFsvoW','9omwkUD','8EGtJIs','search','meteor.bat','Project\x27s\x20Meteor\x20Version\x20','2516844HxMXFH','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','990225ioBjnj','replace','System\x27s\x20Node\x20Version\x20','Project\x27s\x20Meteor\x20Node\x20Version\x20','21XrypjZ','21fLrqYk','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','52916LtVbyM','1878710RWAjXa','create','\x20node\x20-v','notice',')\x20to\x20at\x20least\x20meteor\x27s\x20(','32444nxVVmP','compareMakaToLatest','fsi','isMakaProject','platform','getGlobalMeteorVersion','\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','(((.+)+)+)+$','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','bright','verbose','\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','121304VGKElj','win32','toString','System\x27s\x20Meteor\x20Version\x20','majestic','meteor','exit','----------------------System----------------------------','warn','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','4.5.36','getProjectsMeteorNodeVersion','node\x20-v','version','Maka\x20'];a90c=function(){return o;};return a90c();}a90a();import{execSync}from'child_process';import a90e from'semver';function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x12f;let f=c[d];return f;},a90d(a,b);}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':a90m(0x15a)};Command[a90m(0x140)]({'name':a90m(0x15d),'aliases':['v'],'usage':'maka\x20version','maxArgLength':0x1,'validOpts':[a90m(0x14e)],'shortDesc':a90m(0x136),'examples':['maka\x20v','maka\x20version','maka\x20version\x20--verbose'],'description':a90m(0x14f)},async function(a,b){const n=a90m;try{const c=process[n(0x148)]===n(0x151)?n(0x133):n(0x155);Log[n(0x154)](n(0x15e)+pjson[n(0x15d)]),await this[n(0x146)][n(0x145)]();if(b[n(0x14e)]){await this[n(0x146)][n(0x145)](),Log[n(0x14d)](n(0x157));const d=this[n(0x146)][n(0x149)]();Log[n(0x14d)]((n(0x153)+d)[n(0x138)]('\x0a',''));const f=execSync(c+n(0x141))[n(0x152)]()[n(0x138)](/\r?\n|\r/,'')['replace']('v','');Log[n(0x14d)](n(0x14c)+f);const g=execSync(n(0x15c))[n(0x152)]()[n(0x138)](/\r?\n|\r/,'')['replace']('v','');a90e['gt'](f,g)?(Log[n(0x158)](n(0x139)+g),Log[n(0x158)](n(0x159)+g+n(0x143)+f+')')):Log['bright'](n(0x139)+g);if(this[n(0x146)][n(0x147)]()){Log[n(0x14d)]('----------------------Project----------------------------');const h=this[n(0x146)]['getProjectMeteorVersion']();a90e['gt'](d,h)?(Log[n(0x158)]('Project\x27s\x20Meteor\x20Version\x20'+h[n(0x138)]('\x0a','')),Log[n(0x158)](n(0x13d)+d+'\x22')):Log[n(0x142)]((n(0x134)+h)['replace']('\x0a',''));const i=await this[n(0x146)][n(0x15b)]();i==='N/A'?(Log[n(0x158)](n(0x13a)+i),Log[n(0x158)]('\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.')):Log[n(0x14d)](n(0x13a)+i),Log[n(0x14d)](n(0x14a));}}}catch(j){console[n(0x15f)](j),process[n(0x156)](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a91d,c=a();while(!![]){try{var d=parseInt(f(0x18f))/0x1*(-parseInt(f(0x187))/0x2)+-parseInt(f(0x18b))/0x3+parseInt(f(0x193))/0x4*(-parseInt(f(0x188))/0x5)+-parseInt(f(0x18a))/0x6*(parseInt(f(0x191))/0x7)+-parseInt(f(0x189))/0x8*(parseInt(f(0x185))/0x9)+parseInt(f(0x192))/0xa+parseInt(f(0x194))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0x52cd9));var a91b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a91d;if(c){var e=c[g(0x18c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){var h=a91d;return a91a[h(0x18d)]()[h(0x186)]('(((.+)+)+)+$')[h(0x18d)]()[h(0x18e)](a91a)['search'](h(0x190));});function a91d(a,b){var c=a91c();return a91d=function(d,e){d=d-0x185;var f=c[d];return f;},a91d(a,b);}a91a();function a91c(){var i=['(((.+)+)+)+$','798763hvltCD','6059420YRWTbF','488084iveYCP','15554264ALdamS','936jfthUt','search','165994NlBAkZ','5KtBbvz','42792KpSQKc','6wpRuwt','922200QCTZIT','apply','toString','constructor','7JsYIyM'];a91c=function(){return i;};return a91c();}export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
1
+ function a91d(a,b){var c=a91c();return a91d=function(d,e){d=d-0x15e;var f=c[d];return f;},a91d(a,b);}(function(a,b){var f=a91d,c=a();while(!![]){try{var d=parseInt(f(0x163))/0x1+parseInt(f(0x15f))/0x2*(-parseInt(f(0x165))/0x3)+parseInt(f(0x169))/0x4*(parseInt(f(0x16a))/0x5)+parseInt(f(0x162))/0x6+parseInt(f(0x160))/0x7*(parseInt(f(0x167))/0x8)+parseInt(f(0x168))/0x9+parseInt(f(0x166))/0xa*(-parseInt(f(0x164))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0x9a6e8));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[g(0x161)]()[g(0x16b)](g(0x15e))[g(0x161)]()['constructor'](a91a)[g(0x16b)](g(0x15e));});a91a();export class UsageError{}export class UsageErrorWithSubs{}function a91c(){var h=['toString','6135522hyXGjV','1100586jeBLsp','319SoFAez','402EWPvSn','717230uSbcNc','992cDTAST','5864391wMbVzO','4HhuPRa','22255qajyZw','search','(((.+)+)+)+$','9596EKSsFA','32529nUBoDU'];a91c=function(){return h;};return a91c();}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- function a92c(){var j=['2YAKnwl','1440162tRZmap','apply','5056272tbpwua','(((.+)+)+)+$','NODE_OPTIONS','toString','2625007beATSV','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','env','141273zDbeyu','3829791WzIKEg','10jVthXB','4133588ejTToX','search','1152419tkWRCy','10PeIVRq'];a92c=function(){return j;};return a92c();}var a92i=a92d;(function(a,b){var f=a92d,c=a();while(!![]){try{var d=-parseInt(f(0x7d))/0x1*(-parseInt(f(0x7f))/0x2)+-parseInt(f(0x8a))/0x3+parseInt(f(0x8c))/0x4+parseInt(f(0x7e))/0x5*(-parseInt(f(0x80))/0x6)+-parseInt(f(0x86))/0x7+parseInt(f(0x82))/0x8+-parseInt(f(0x89))/0x9*(-parseInt(f(0x8b))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0xab5c7));function a92d(a,b){var c=a92c();return a92d=function(d,e){d=d-0x7d;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(0x81)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){var h=a92d;return a92a[h(0x85)]()[h(0x8d)](h(0x83))['toString']()['constructor'](a92a)['search'](h(0x83));});a92a(),process[a92i(0x88)][a92i(0x84)]=a92i(0x87);import'./maka.js';
2
+ var a92h=a92d;(function(a,b){var f=a92d,c=a();while(!![]){try{var d=-parseInt(f(0x18a))/0x1+-parseInt(f(0x193))/0x2*(parseInt(f(0x188))/0x3)+-parseInt(f(0x191))/0x4*(-parseInt(f(0x18f))/0x5)+-parseInt(f(0x18c))/0x6+parseInt(f(0x190))/0x7+-parseInt(f(0x18d))/0x8+parseInt(f(0x195))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0x7e1ea));var a92b=(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;};}()),a92a=a92b(this,function(){var g=a92d;return a92a['toString']()[g(0x18b)]('(((.+)+)+)+$')[g(0x18e)]()[g(0x189)](a92a)[g(0x18b)]('(((.+)+)+)+$');});function a92c(){var i=['constructor','418814kHiofA','search','3063600HnTBLN','5545624BSjhPe','toString','1237835eDmare','52003FfgeKo','16XjEdkh','env','2YqwMxS','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','11732688dJjNWA','486378AISRZO'];a92c=function(){return i;};return a92c();}function a92d(a,b){var c=a92c();return a92d=function(d,e){d=d-0x188;var f=c[d];return f;},a92d(a,b);}a92a(),process[a92h(0x192)]['NODE_OPTIONS']=a92h(0x194);import'./maka.js';
@@ -1 +1 @@
1
- const a93u=a93d;(function(a,b){const q=a93d,c=a();while(!![]){try{const d=-parseInt(q(0x19f))/0x1+-parseInt(q(0x1b1))/0x2*(parseInt(q(0x194))/0x3)+-parseInt(q(0x191))/0x4+parseInt(q(0x1aa))/0x5+parseInt(q(0x18a))/0x6+-parseInt(q(0x1a9))/0x7*(-parseInt(q(0x196))/0x8)+-parseInt(q(0x1a4))/0x9*(-parseInt(q(0x198))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0xda9a3));function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x16b;let f=c[d];return f;},a93d(a,b);}const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a93d;if(c){const e=c[r(0x17b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const s=a93d;return a93a[s(0x181)]()[s(0x16e)](s(0x1b8))[s(0x181)]()[s(0x17a)](a93a)[s(0x16e)]('(((.+)+)+)+$');});function a93c(){const F=['Too\x20many\x20options','35450QZAaDX','validateMeteorInstall','roles','Generator.create\x20requires\x20a\x20handler\x20function!','help','proFlags','findProjectDirectory','877638Plactw','Too\x20many\x20arguments','split','maxOptsLength','cwd','2844UcHpEc','Server','options','Generator\x20requires\x20a\x20handler\x20function','create','12523bdwMyX','451580OlGqMa','where','includes','No\x20resource\x20name\x20specified','both','assign','number','2388DFLsQR','length','checkWhere','lib','Location','error','Alias','(((.+)+)+)+$','keys','addGenerator','chdir','noResource','sort','maxArgLength','mustBeInMakaProject','Both','usage','forEach','push','To\x20use\x20this\x20generator,\x20\x22','_handler','slice','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','resourceName','minArgLength','minOptsLength','validateParams','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','_generators','singleLicense','search','Name','call','list','mustHaveMeteorInstalled','server','join','replace','appPathPrefix','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','findGenerator','map','constructor','apply','root','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','proGenerators','exit','addGenerator\x20requires\x20a\x20Generator\x20instance','toString','tableList','validateMakaSubscription','filter','parent','fsi','name','getPro','aliases','9010272NwAImP','dir','function','Too\x20few\x20arguments','Client','bright','Description','6148732uWpvCk','client','To\x20use\x20these\x20pro\x20flags,\x20\x22','1689FmFNwA','pop','5680LyfBvE'];a93c=function(){return F;};return a93c();}a93a();import a93e from'path';import a93f from'cli-table';import{paramCase}from'change-case';import a93g from'./generators/maka.gen.js';import{Log}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError}from'./error.js';let _prevGen='';function inside(a='.',b){const t=a93d,c=process['cwd']();let d=null;try{process['chdir'](a),d=b();}finally{process[t(0x1bb)](c);}return d;}export class Generator extends Tool{[a93u(0x1a6)];[a93u(0x16c)];constructor(a,b){const v=a93u;super();if(!a)throw new Error(v(0x1c7));if(!a[v(0x187)])throw new Error('Generator\x20requires\x20a\x20name');if(typeof b!==v(0x18c))throw new Error(v(0x1a7));this[v(0x16c)]=[],this[v(0x1a6)]=Object[v(0x1af)]({},a),this['name']=this['options'][v(0x187)],this[v(0x1c5)]=b['bind'](this);}static[a93u(0x1a8)](a,b,c){const w=a93u;if(!a)throw new Error('Generator.create\x20requires\x20some\x20options!');if(typeof b!==w(0x18c))throw new Error(w(0x19b));const d=new Generator(a,b);return c=c||a93g,Object[w(0x1af)](d,{'parent':c?.['options']?.['name']}),c[w(0x1ba)](d),d;}[a93u(0x1ba)](a){const x=a93u;if(!(a instanceof Generator))throw new Error(x(0x180));this['_generators']['push'](a);}['findGenerator'](a){const b=this['_generators']['find'](c=>c['match'](a));return b;}async[a93u(0x183)](a,b){const y=a93u,c=this[y(0x178)](a[0x0]);if(c){const d=c?.[y(0x187)]||a[0x0],e=c?.[y(0x185)]||'',f=Object[y(0x1b9)](b),g=await this[y(0x186)][y(0x188)]();!g&&(Log[y(0x1b6)]('License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.'),process['exit'](0x1));const h=!g?.[y(0x19a)][y(0x1ac)](y(0x16d))&&!g?.['roles'][y(0x1ac)]('domainLicense'),i=g?.[y(0x17e)][y(0x1ac)](d)||g?.[y(0x17e)][y(0x1ac)](e);if(i&&h)throw y(0x1c4)+d+y(0x177);if(f[y(0x1b2)]>0x0){const j=g?.[y(0x19d)][y(0x184)](k=>f[y(0x1ac)](k));if(j&&j[y(0x1b2)]>0x0&&h)throw y(0x193)+j?.[y(0x174)](',\x20')+y(0x177);}}}async['invoke'](a,b){const z=a93u,{usage:usage='',description:description='',examples:examples=[],shortDesc:c,requiredOpts:requiredOpts=[],validOpts:d}=this[z(0x1a6)];try{await this[z(0x183)](a,b);}catch(g){Log[z(0x1b6)](g),process[z(0x17f)](0x1);}const f=a[z(0x1c6)]();b[z(0x1c8)]=f[0x0];try{if((a[0x0]===_prevGen||a[z(0x1b2)]===0x0)&&b[z(0x19c)])throw new UsageError();if(this[z(0x1a6)][z(0x1bf)]){const h=this['validateMakaProject']();if(!h)throw new MustBeInProjectError();}if(this['options'][z(0x172)]){const i=this[z(0x199)]();if(!i)throw new NoMeteorFoundError();}if(typeof this['options'][z(0x1c9)]==='number'){if(a[z(0x1b2)]<this[z(0x1a6)]['minArgLength']){Log[z(0x1b6)](z(0x18d));throw new UsageError();}}if(typeof this[z(0x1a6)][z(0x1be)]===z(0x1b0)){if(a[z(0x1b2)]>this[z(0x1a6)]['maxArgLength']){Log[z(0x1b6)](z(0x1a0));throw new UsageError();}}if(typeof this[z(0x1a6)]['minOptsLength']===z(0x1b0)){if(Object['keys'](b)[z(0x1b2)]<this[z(0x1a6)][z(0x1ca)]){Log[z(0x1b6)]('Too\x20few\x20options');throw new UsageError();}}if(typeof this[z(0x1a6)][z(0x1a2)]===z(0x1b0)){if(Object[z(0x1b9)](b)[z(0x1b2)]>=this[z(0x1a6)][z(0x1a2)]){Log['error'](z(0x197));throw new UsageError();}}await this[z(0x1cb)](a,b,this['options']);if(!b[z(0x1c8)]&&!this['options'][z(0x1bc)]){Log[z(0x1b6)](z(0x1ad));throw new UsageError();}_prevGen=a[0x0];}catch(j){Log[z(0x1c1)](description,examples,usage,c,requiredOpts,d);if(j instanceof UsageError)this[z(0x16c)]['length']>0x0&&b[z(0x19c)]&&(Log['notice']('Generators:'),this[z(0x182)](this['_generators']));else{if(j instanceof MustBeInProjectError)Log[z(0x1b6)]('You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator');else{if(j instanceof NoMeteorFoundError)Log['error'](z(0x16b)),Log['notice']('Please\x20run\x20\x22maka\x20install\x20meteor\x22');else{if(j instanceof NoMeteorAppFoundError)Log[z(0x1b6)]('There\x20is\x20no\x20Meteor\x20application\x20here');else throw j;}}}process[z(0x17f)](0x1);}return new Promise(k=>{const A=z;inside(b[A(0x1a3)],async()=>{const B=A;try{if(!b[B(0x17c)]&&!this[B(0x186)][B(0x19e)]())throw new MustBeInProjectError();const l=b[B(0x1c8)]?.[B(0x175)](/\\/g,'/')[B(0x1a1)]('/');!b['dir']&&(l?.[B(0x1b2)]>0x1?(b[B(0x1c8)]=l[B(0x195)](),f[0x0]=b[B(0x1c8)],b[B(0x18b)]=l[B(0x179)](m=>{return paramCase(m);})['join'](a93e['sep'])):b[B(0x18b)]='');if(this['options'][B(0x1b3)]){if(!b['where']){const n={'type':B(0x171),'name':'colLocAnswer','message':B(0x1b5),'choices':[{'name':B(0x18e),'value':'client'},{'name':B(0x1a5),'value':B(0x173)},{'name':B(0x1c0),'value':B(0x1ae)}]},{colLocAnswer:o}=await Actions[B(0x1a6)](n);o?b[B(0x1ab)]=o:b[B(0x1ab)]=B(0x1ae);}const m=[B(0x1ae),'client',B(0x173)];if(!m['includes'](b['where'])){Log['error'](B(0x17d));throw new UsageError();}switch(b[B(0x1ab)]){case'both':b[B(0x176)]=B(0x1b4);break;case B(0x173):b['appPathPrefix']=B(0x173);break;case B(0x192):b[B(0x176)]='client';break;default:b[B(0x176)]='';}}k(this['_handler'][B(0x170)](this,f,b));}catch(p){console['error'](p);}});});}['listGenerators'](){const C=a93u;this[C(0x182)](this[C(0x16c)]);}[a93u(0x182)](a){const D=a93u,b=new a93f({});b[D(0x1c3)]([D(0x16f),D(0x1b7),D(0x190)]),a[D(0x1bd)]()[D(0x1c2)](c=>{const E=D;b[E(0x1c3)]([c[E(0x187)],c[E(0x189)](),c['shortDesc']()]);}),Log[D(0x18f)](b['toString']());}}
1
+ const a93t=a93d;(function(a,b){const q=a93d,c=a();while(!![]){try{const d=-parseInt(q(0x1ea))/0x1*(parseInt(q(0x216))/0x2)+-parseInt(q(0x1e9))/0x3+-parseInt(q(0x212))/0x4+-parseInt(q(0x21a))/0x5+-parseInt(q(0x1f5))/0x6*(-parseInt(q(0x1dc))/0x7)+-parseInt(q(0x1ff))/0x8+-parseInt(q(0x1f9))/0x9*(-parseInt(q(0x1d7))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0x50e27));const a93b=(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;};}()),a93a=a93b(this,function(){const r=a93d;return a93a[r(0x1e8)]()['search'](r(0x202))[r(0x1e8)]()[r(0x1ef)](a93a)[r(0x20f)]('(((.+)+)+)+$');});function a93c(){const F=['Both','findProjectDirectory','join','length','6ygVhkI','match','getPro','replace','62028luypGf','chdir','No\x20resource\x20name\x20specified','Generator\x20requires\x20a\x20handler\x20function','find','options','2869112QSstcd','noResource','aliases','(((.+)+)+)+$','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','usage','Too\x20few\x20options','To\x20use\x20these\x20pro\x20flags,\x20\x22','Alias','appPathPrefix','minArgLength','forEach','mustBeInMakaProject','parent','Generators:','where','search','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','slice','697872KYgJQK','pop','listGenerators','split','68zWyZCX','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','_generators','To\x20use\x20this\x20generator,\x20\x22','3113070iJBUkM','keys','Please\x20run\x20\x22maka\x20install\x20meteor\x22','server','validateMakaProject','root','Server','tableList','filter','push','includes','shortDesc','proFlags','number','validateParams','create','fsi','sep','invoke','name','dir','help','resourceName','Generator\x20requires\x20a\x20name','minOptsLength','client','bind','roles','validateMeteorInstall','validateMakaSubscription','2870ZtngFp','mustHaveMeteorInstalled','bright','function','addGenerator','3820313YfMIVT','exit','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','cwd','There\x20is\x20no\x20Meteor\x20application\x20here','error','Name','notice','maxArgLength','Client','both','Description','toString','1869489ZpMgKz','12164VqVjIe','findGenerator','assign','proGenerators','sort','constructor','_handler'];a93c=function(){return F;};return a93c();}a93a();import a93e from'path';function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x1c6;let f=c[d];return f;},a93d(a,b);}import a93f from'cli-table';import{paramCase}from'change-case';import a93g from'./generators/maka.gen.js';import{Log}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError}from'./error.js';let _prevGen='';function inside(a='.',b){const s=a93d,c=process[s(0x1df)]();let d=null;try{process['chdir'](a),d=b();}finally{process[s(0x1fa)](c);}return d;}export class Generator extends Tool{['options'];[a93t(0x218)];constructor(a,b){const u=a93t;super();if(!a)throw new Error(u(0x210));if(!a[u(0x1cc)])throw new Error(u(0x1d0));if(typeof b!==u(0x1da))throw new Error(u(0x1fc));this['_generators']=[],this[u(0x1fe)]=Object['assign']({},a),this[u(0x1cc)]=this[u(0x1fe)][u(0x1cc)],this['_handler']=b[u(0x1d3)](this);}static[a93t(0x1c8)](a,b,c){const v=a93t;if(!a)throw new Error('Generator.create\x20requires\x20some\x20options!');if(typeof b!==v(0x1da))throw new Error('Generator.create\x20requires\x20a\x20handler\x20function!');const d=new Generator(a,b);return c=c||a93g,Object[v(0x1ec)](d,{'parent':c?.[v(0x1fe)]?.['name']}),c[v(0x1db)](d),d;}['addGenerator'](a){const w=a93t;if(!(a instanceof Generator))throw new Error('addGenerator\x20requires\x20a\x20Generator\x20instance');this[w(0x218)][w(0x223)](a);}[a93t(0x1eb)](a){const x=a93t,b=this[x(0x218)][x(0x1fd)](c=>c[x(0x1f6)](a));return b;}async[a93t(0x1d6)](a,b){const y=a93t,c=this[y(0x1eb)](a[0x0]);if(c){const d=c?.[y(0x1cc)]||a[0x0],e=c?.[y(0x20c)]||'',f=Object[y(0x21b)](b),g=await this[y(0x1c9)][y(0x1f7)]();!g&&(Log[y(0x1e1)]('License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.'),process[y(0x1dd)](0x1));const h=!g?.[y(0x1d4)][y(0x224)]('singleLicense')&&!g?.[y(0x1d4)][y(0x224)]('domainLicense'),i=g?.[y(0x1ed)][y(0x224)](d)||g?.[y(0x1ed)]['includes'](e);if(i&&h)throw y(0x219)+d+y(0x1de);if(f[y(0x1f4)]>0x0){const j=g?.[y(0x226)][y(0x222)](k=>f[y(0x224)](k));if(j&&j['length']>0x0&&h)throw y(0x206)+j?.[y(0x1f3)](',\x20')+'\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27';}}}async[a93t(0x1cb)](a,b){const z=a93t,{usage:usage='',description:description='',examples:examples=[],shortDesc:c,requiredOpts:requiredOpts=[],validOpts:d}=this[z(0x1fe)];try{await this[z(0x1d6)](a,b);}catch(g){Log[z(0x1e1)](g),process[z(0x1dd)](0x1);}const f=a[z(0x211)]();b[z(0x1cf)]=f[0x0];try{if((a[0x0]===_prevGen||a[z(0x1f4)]===0x0)&&b[z(0x1ce)])throw new UsageError();if(this[z(0x1fe)][z(0x20b)]){const h=this[z(0x21e)]();if(!h)throw new MustBeInProjectError();}if(this['options'][z(0x1d8)]){const i=this[z(0x1d5)]();if(!i)throw new NoMeteorFoundError();}if(typeof this[z(0x1fe)]['minArgLength']===z(0x1c6)){if(a[z(0x1f4)]<this['options'][z(0x209)]){Log[z(0x1e1)]('Too\x20few\x20arguments');throw new UsageError();}}if(typeof this[z(0x1fe)][z(0x1e4)]===z(0x1c6)){if(a[z(0x1f4)]>this['options']['maxArgLength']){Log['error']('Too\x20many\x20arguments');throw new UsageError();}}if(typeof this[z(0x1fe)]['minOptsLength']===z(0x1c6)){if(Object[z(0x21b)](b)['length']<this[z(0x1fe)][z(0x1d1)]){Log[z(0x1e1)](z(0x205));throw new UsageError();}}if(typeof this[z(0x1fe)]['maxOptsLength']===z(0x1c6)){if(Object[z(0x21b)](b)[z(0x1f4)]>=this[z(0x1fe)]['maxOptsLength']){Log[z(0x1e1)]('Too\x20many\x20options');throw new UsageError();}}await this[z(0x1c7)](a,b,this[z(0x1fe)]);if(!b[z(0x1cf)]&&!this[z(0x1fe)][z(0x200)]){Log[z(0x1e1)](z(0x1fb));throw new UsageError();}_prevGen=a[0x0];}catch(j){Log[z(0x204)](description,examples,usage,c,requiredOpts,d);if(j instanceof UsageError)this[z(0x218)][z(0x1f4)]>0x0&&b[z(0x1ce)]&&(Log[z(0x1e3)](z(0x20d)),this[z(0x221)](this[z(0x218)]));else{if(j instanceof MustBeInProjectError)Log[z(0x1e1)]('You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator');else{if(j instanceof NoMeteorFoundError)Log[z(0x1e1)](z(0x203)),Log['notice'](z(0x21c));else{if(j instanceof NoMeteorAppFoundError)Log['error'](z(0x1e0));else throw j;}}}process[z(0x1dd)](0x1);}return new Promise(k=>{const A=z;inside(b[A(0x1df)],async()=>{const B=A;try{if(!b[B(0x21f)]&&!this['fsi'][B(0x1f2)]())throw new MustBeInProjectError();const l=b[B(0x1cf)]?.[B(0x1f8)](/\\/g,'/')[B(0x215)]('/');!b[B(0x1cd)]&&(l?.[B(0x1f4)]>0x1?(b[B(0x1cf)]=l[B(0x213)](),f[0x0]=b[B(0x1cf)],b['dir']=l['map'](m=>{return paramCase(m);})[B(0x1f3)](a93e[B(0x1ca)])):b[B(0x1cd)]='');if(this[B(0x1fe)]['checkWhere']){if(!b[B(0x20e)]){const n={'type':'list','name':'colLocAnswer','message':'Location','choices':[{'name':B(0x1e5),'value':'client'},{'name':B(0x220),'value':B(0x21d)},{'name':B(0x1f1),'value':'both'}]},{colLocAnswer:o}=await Actions[B(0x1fe)](n);o?b['where']=o:b[B(0x20e)]=B(0x1e6);}const m=['both','client','server'];if(!m[B(0x224)](b[B(0x20e)])){Log[B(0x1e1)](B(0x217));throw new UsageError();}switch(b[B(0x20e)]){case B(0x1e6):b['appPathPrefix']='lib';break;case B(0x21d):b['appPathPrefix']=B(0x21d);break;case B(0x1d2):b['appPathPrefix']='client';break;default:b[B(0x208)]='';}}k(this[B(0x1f0)]['call'](this,f,b));}catch(p){console[B(0x1e1)](p);}});});}[a93t(0x214)](){const C=a93t;this[C(0x221)](this[C(0x218)]);}[a93t(0x221)](a){const D=a93t,b=new a93f({});b['push']([D(0x1e2),D(0x207),D(0x1e7)]),a[D(0x1ee)]()[D(0x20a)](c=>{const E=D;b[E(0x223)]([c['name'],c[E(0x201)](),c[E(0x225)]()]);}),Log[D(0x1d9)](b['toString']());}}
@@ -1 +1 @@
1
- (function(a,b){var f=a94d,c=a();while(!![]){try{var d=-parseInt(f(0x1c0))/0x1+parseInt(f(0x1bf))/0x2*(-parseInt(f(0x1c2))/0x3)+parseInt(f(0x1b8))/0x4+parseInt(f(0x1c3))/0x5*(parseInt(f(0x1c4))/0x6)+parseInt(f(0x1ba))/0x7+-parseInt(f(0x1bd))/0x8*(-parseInt(f(0x1b9))/0x9)+-parseInt(f(0x1b7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0xb80c1));function a94d(a,b){var c=a94c();return a94d=function(d,e){d=d-0x1b6;var f=c[d];return f;},a94d(a,b);}var a94b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a94d;if(c){var e=c[g(0x1bc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){var h=a94d;return a94a[h(0x1c1)]()['search'](h(0x1bb))['toString']()[h(0x1be)](a94a)[h(0x1b6)](h(0x1bb));});a94a();import'./services/_index.js';import'./api.js';import'./collection.js';import'./component.js';import'./config.js';import'./dbc.js';import'./hook.js';import'./kit.js';import'./layout.js';import'./methods.js';import'./package.js';import'./publish.js';function a94c(){var i=['319577CoyxHU','toString','42qEoNnQ','10hHIIoW','315978SZnhUQ','search','2228920NojBIi','344672AzDqZR','9kHHonL','7836325rEJYYh','(((.+)+)+)+$','apply','1730072vwTylH','constructor','32986VBMrfk'];a94c=function(){return i;};return a94c();}import'./route.js';import'./service.js';import'./page.js';import'./maka.gen.js';import'./dockerfile.js';import'./maka.gen.js';
1
+ function a94c(){var i=['276LtzZBz','apply','toString','(((.+)+)+)+$','1255849feLvUx','367426ZRCFpD','1qoaiFW','662370diXNSx','17925ibWbMi','1605dIzDzM','1045064BlNLZQ','1324MuaZrF','search','149832fSVBSx'];a94c=function(){return i;};return a94c();}(function(a,b){var f=a94d,c=a();while(!![]){try{var d=parseInt(f(0x1da))/0x1*(parseInt(f(0x1d9))/0x2)+-parseInt(f(0x1dd))/0x3*(parseInt(f(0x1df))/0x4)+parseInt(f(0x1dc))/0x5*(-parseInt(f(0x1e2))/0x6)+parseInt(f(0x1d8))/0x7+parseInt(f(0x1de))/0x8+parseInt(f(0x1e1))/0x9+-parseInt(f(0x1db))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0x18f19));var a94b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a94d;if(c){var e=c[g(0x1e3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){var h=a94d;return a94a[h(0x1d6)]()[h(0x1e0)](h(0x1d7))[h(0x1d6)]()['constructor'](a94a)[h(0x1e0)](h(0x1d7));});a94a();import'./services/_index.js';import'./api.js';import'./collection.js';import'./component.js';import'./config.js';import'./dbc.js';function a94d(a,b){var c=a94c();return a94d=function(d,e){d=d-0x1d6;var f=c[d];return f;},a94d(a,b);}import'./hook.js';import'./kit.js';import'./layout.js';import'./methods.js';import'./package.js';import'./publish.js';import'./route.js';import'./service.js';import'./page.js';import'./maka.gen.js';import'./dockerfile.js';import'./maka.gen.js';