@maka/maka-cli 4.5.28 → 4.5.30

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 (132) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/aws/_index.js +1 -1
  5. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  6. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  7. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/build/_index.js +1 -1
  19. package/bundle/obf/src/commands/build/build.js +1 -1
  20. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/create.js +1 -1
  22. package/bundle/obf/src/commands/debug.js +1 -1
  23. package/bundle/obf/src/commands/deploy.js +1 -1
  24. package/bundle/obf/src/commands/game/_index.js +1 -1
  25. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  26. package/bundle/obf/src/commands/game/play.command.js +1 -1
  27. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  29. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  30. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  31. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  62. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  63. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  64. package/bundle/obf/src/commands/generate.js +1 -1
  65. package/bundle/obf/src/commands/get/_index.js +1 -1
  66. package/bundle/obf/src/commands/get/get.command.js +1 -1
  67. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  68. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/help.js +1 -1
  71. package/bundle/obf/src/commands/jsdoc.js +1 -1
  72. package/bundle/obf/src/commands/lint.js +1 -1
  73. package/bundle/obf/src/commands/login.js +1 -1
  74. package/bundle/obf/src/commands/logout.js +1 -1
  75. package/bundle/obf/src/commands/logs.js +1 -1
  76. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  77. package/bundle/obf/src/commands/murder.js +1 -1
  78. package/bundle/obf/src/commands/proxy.js +1 -1
  79. package/bundle/obf/src/commands/reconfig.js +1 -1
  80. package/bundle/obf/src/commands/run/_index.js +1 -1
  81. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  82. package/bundle/obf/src/commands/run/run.command.js +1 -1
  83. package/bundle/obf/src/commands/set/_index.js +1 -1
  84. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  85. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  86. package/bundle/obf/src/commands/set/set.command.js +1 -1
  87. package/bundle/obf/src/commands/ssh.js +1 -1
  88. package/bundle/obf/src/commands/ssl.js +1 -1
  89. package/bundle/obf/src/commands/test.js +1 -1
  90. package/bundle/obf/src/commands/version.js +1 -1
  91. package/bundle/obf/src/error.js +1 -1
  92. package/bundle/obf/src/exec.js +1 -1
  93. package/bundle/obf/src/generator.js +1 -1
  94. package/bundle/obf/src/generators/_index.js +1 -1
  95. package/bundle/obf/src/generators/api.js +1 -1
  96. package/bundle/obf/src/generators/collection.js +1 -1
  97. package/bundle/obf/src/generators/component.js +1 -1
  98. package/bundle/obf/src/generators/config.js +1 -1
  99. package/bundle/obf/src/generators/dbc.js +1 -1
  100. package/bundle/obf/src/generators/dockerfile.js +1 -1
  101. package/bundle/obf/src/generators/hook.js +1 -1
  102. package/bundle/obf/src/generators/kit.js +1 -1
  103. package/bundle/obf/src/generators/layout.js +1 -1
  104. package/bundle/obf/src/generators/maka.gen.js +1 -1
  105. package/bundle/obf/src/generators/methods.js +1 -1
  106. package/bundle/obf/src/generators/package.js +1 -1
  107. package/bundle/obf/src/generators/page.js +1 -1
  108. package/bundle/obf/src/generators/publish.js +1 -1
  109. package/bundle/obf/src/generators/route.js +1 -1
  110. package/bundle/obf/src/generators/service.js +1 -1
  111. package/bundle/obf/src/generators/services/_index.js +1 -1
  112. package/bundle/obf/src/generators/services/openssl.js +1 -1
  113. package/bundle/obf/src/generators/services/translation.js +1 -1
  114. package/bundle/obf/src/maka.js +1 -1
  115. package/bundle/obf/src/tool.js +1 -1
  116. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  117. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  118. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  119. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  120. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  121. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  122. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  123. package/bundle/obf/src/tools/https/https.class.js +1 -1
  124. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  125. package/bundle/obf/src/tools/log/log.class.js +1 -1
  126. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  127. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  128. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  129. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  130. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  131. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  132. package/package.json +1 -1
@@ -1 +1 @@
1
- const a75j=a75d;(function(a,b){const g=a75d,c=a();while(!![]){try{const d=parseInt(g(0x1ba))/0x1+-parseInt(g(0x1b9))/0x2*(parseInt(g(0x1c8))/0x3)+-parseInt(g(0x1b5))/0x4+-parseInt(g(0x1c7))/0x5+-parseInt(g(0x1c2))/0x6*(-parseInt(g(0x1c9))/0x7)+-parseInt(g(0x1c6))/0x8*(-parseInt(g(0x1ca))/0x9)+-parseInt(g(0x1c4))/0xa*(-parseInt(g(0x1b3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a75c,0xd98ab));const a75b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a75d;if(c){const e=c[h(0x1c0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a75a=a75b(this,function(){const i=a75d;return a75a['toString']()[i(0x1b8)](i(0x1bd))['toString']()[i(0x1c5)](a75a)['search'](i(0x1bd));});function a75c(){const l=['constructor','12704VoEBqJ','1077225zxLAJj','96702RWTbDh','44471rzPZlX','5544vCDqtO','findSubCommand','maybeProxyCommandToMeteor','32791SbxBiA','error','6922508QCDEOw','runSubCommand','fsi','search','26aTgZhA','1614655DFcrOV','\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','maka\x20<command>\x20[<args>]\x20[<opts>]','(((.+)+)+)+$','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','maka\x20create\x20Todo','apply','maka\x20install\x20meteor','618UXAVqI','maka','30lCaNnu'];a75c=function(){return l;};return a75c();}function a75d(a,b){const c=a75c();return a75d=function(d,e){d=d-0x1b1;let f=c[d];return f;},a75d(a,b);}a75a();import{Command}from'../command.js';const Maka=new Command({'name':a75j(0x1c3),'minArgLength':0x1,'shortDesc':a75j(0x1be),'validOpts':[],'usage':a75j(0x1bc),'disableAuthCheck':!![],'examples':['maka\x20--help',a75j(0x1c1),a75j(0x1bf),'maka\x20run'],'description':a75j(0x1bb)},async function(a,b){const k=a75j;try{const c=a[0x0],d=this[k(0x1b1)](c);d?this[k(0x1b6)](c,a['slice'](0x1),b):this[k(0x1b7)][k(0x1b2)]();}catch(f){console[k(0x1b4)](f),process['exit'](0x1);}});export default Maka;
1
+ const a75j=a75d;(function(a,b){const g=a75d,c=a();while(!![]){try{const d=-parseInt(g(0xa5))/0x1*(parseInt(g(0xa7))/0x2)+parseInt(g(0xac))/0x3*(parseInt(g(0xb4))/0x4)+parseInt(g(0xba))/0x5+parseInt(g(0xbc))/0x6*(parseInt(g(0xaf))/0x7)+parseInt(g(0xb5))/0x8+parseInt(g(0xa4))/0x9+parseInt(g(0xab))/0xa*(-parseInt(g(0xb7))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a75c,0x3d885));function a75d(a,b){const c=a75c();return a75d=function(d,e){d=d-0xa2;let f=c[d];return f;},a75d(a,b);}const a75b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a75d;if(c){const e=c[h(0xad)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a75a=a75b(this,function(){const i=a75d;return a75a[i(0xa3)]()[i(0xb2)](i(0xbb))['toString']()[i(0xa2)](a75a)[i(0xb2)]('(((.+)+)+)+$');});a75a();function a75c(){const l=['toString','3255273YUevNu','34137lYrCwA','exit','26JZCzhP','fsi','maka\x20install\x20meteor','maybeProxyCommandToMeteor','9548970CguYBn','32583eApwDE','apply','maka\x20--help','676942FwFuXQ','\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','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','search','maka\x20<command>\x20[<args>]\x20[<opts>]','140xvbdnw','3721376fjOZQV','findSubCommand','11YCTxpY','maka\x20run','runSubCommand','1251495lZmVnb','(((.+)+)+)+$','12jCiOHM','constructor'];a75c=function(){return l;};return a75c();}import{Command}from'../command.js';const Maka=new Command({'name':'maka','minArgLength':0x1,'shortDesc':a75j(0xb1),'validOpts':[],'usage':a75j(0xb3),'disableAuthCheck':!![],'examples':[a75j(0xae),a75j(0xa9),'maka\x20create\x20Todo',a75j(0xb8)],'description':a75j(0xb0)},async function(a,b){const k=a75j;try{const c=a[0x0],d=this[k(0xb6)](c);d?this[k(0xb9)](c,a['slice'](0x1),b):this[k(0xa8)][k(0xaa)]();}catch(f){console['error'](f),process[k(0xa6)](0x1);}});export default Maka;
@@ -1 +1 @@
1
- function a76d(a,b){var c=a76c();return a76d=function(d,e){d=d-0x15e;var f=c[d];return f;},a76d(a,b);}function a76c(){var k=['Murrrrderrrrr','toString','567XTlEJu','9400yaNiJa','maka\x20murder','18jaBDls','error','(((.+)+)+)+$','17190530pceCEw','apply','1596339GiZXhC','font-family:\x20monospace','77227HftCpP','log','988165LWLIlv','5086734lVLxGR','search','5070176WpKGZn','7Defbhw'];a76c=function(){return k;};return a76c();}var a76i=a76d;(function(a,b){var f=a76d,c=a();while(!![]){try{var d=-parseInt(f(0x160))/0x1*(parseInt(f(0x16c))/0x2)+parseInt(f(0x169))/0x3*(parseInt(f(0x16a))/0x4)+-parseInt(f(0x162))/0x5+parseInt(f(0x163))/0x6*(-parseInt(f(0x166))/0x7)+parseInt(f(0x165))/0x8+-parseInt(f(0x15e))/0x9+parseInt(f(0x16f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a76c,0xd6a23));var a76b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a76d;if(c){var e=c[g(0x170)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a76a=a76b(this,function(){var h=a76d;return a76a[h(0x168)]()['search']('(((.+)+)+)+$')[h(0x168)]()['constructor'](a76a)[h(0x164)](h(0x16e));});a76a();import{Command}from'../command.js';Command['create']({'name':'murder','usage':a76i(0x16b),'maxArgLength':0x1,'shortDesc':a76i(0x167),'validOpts':[]},async function(){var j=a76i;try{console[j(0x161)]('%c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.___.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20,-^\x20\x20\x20\x20\x20^-.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x0a.-------|\x20|--------------/\x20\x20__\x20\x20\x20\x20\x20__\x20\x20\x5c-------------------.__\x0a|WMWMWMW|\x20|>>>>>>>>>>>>>\x20|\x20/>>\x5c\x20\x20\x20/>>\x5c\x20|>>>>>>>>>>>>>>>>>>>>>>:>\x0a`-------|\x20|--------------|\x20\x5c__/\x20\x20\x20\x5c__/\x20|-------------------\x27^^\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x5c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20/|\x5c\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x5c_/\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|+H+H+H+|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20^-----^\x0a\x0a',j(0x15f));}catch(a){console[j(0x16d)](a),process['exit'](0x0);}});
1
+ function a76c(){var k=['(((.+)+)+)+$','apply','72632fITRVB','6VULnRI','constructor','%c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.___.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20,-^\x20\x20\x20\x20\x20^-.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x0a.-------|\x20|--------------/\x20\x20__\x20\x20\x20\x20\x20__\x20\x20\x5c-------------------.__\x0a|WMWMWMW|\x20|>>>>>>>>>>>>>\x20|\x20/>>\x5c\x20\x20\x20/>>\x5c\x20|>>>>>>>>>>>>>>>>>>>>>>:>\x0a`-------|\x20|--------------|\x20\x5c__/\x20\x20\x20\x5c__/\x20|-------------------\x27^^\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x5c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20/|\x5c\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x5c_/\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|+H+H+H+|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20^-----^\x0a\x0a','5201280kSUtEV','723109CxvgEb','25sIjqPB','47210YJJyBL','maka\x20murder','117WOAGxy','toString','font-family:\x20monospace','6301372TptjCD','create','286868XYZFmQ','34209420hAzvrE','log'];a76c=function(){return k;};return a76c();}var a76i=a76d;(function(a,b){var f=a76d,c=a();while(!![]){try{var d=-parseInt(f(0x186))/0x1+-parseInt(f(0x188))/0x2*(-parseInt(f(0x195))/0x3)+parseInt(f(0x18f))/0x4*(-parseInt(f(0x187))/0x5)+-parseInt(f(0x185))/0x6+-parseInt(f(0x18d))/0x7+-parseInt(f(0x194))/0x8*(parseInt(f(0x18a))/0x9)+parseInt(f(0x190))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a76c,0x7a66b));function a76d(a,b){var c=a76c();return a76d=function(d,e){d=d-0x184;var f=c[d];return f;},a76d(a,b);}var a76b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a76d;if(c){var e=c[g(0x193)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a76a=a76b(this,function(){var h=a76d;return a76a[h(0x18b)]()['search']('(((.+)+)+)+$')[h(0x18b)]()[h(0x196)](a76a)['search'](h(0x192));});a76a();import{Command}from'../command.js';Command[a76i(0x18e)]({'name':'murder','usage':a76i(0x189),'maxArgLength':0x1,'shortDesc':'Murrrrderrrrr','validOpts':[]},async function(){var j=a76i;try{console[j(0x191)](j(0x184),j(0x18c));}catch(a){console['error'](a),process['exit'](0x0);}});
@@ -1 +1 @@
1
- const a77q=a77d;(function(a,b){const n=a77d,c=a();while(!![]){try{const d=-parseInt(n(0x104))/0x1*(-parseInt(n(0x120))/0x2)+parseInt(n(0x10d))/0x3+parseInt(n(0x112))/0x4*(-parseInt(n(0x105))/0x5)+-parseInt(n(0x11b))/0x6*(parseInt(n(0x11a))/0x7)+-parseInt(n(0x10f))/0x8+parseInt(n(0x10c))/0x9*(-parseInt(n(0x128))/0xa)+parseInt(n(0x113))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0x6efa2));function a77c(){const s=['genSSC','utf8','readFileSync','constructor','2370ikzBZp','getConfigPath','appName','proxy','fsi','create','267yHKOOI','5LeUUbj','error','join','findGenerator','invoke','.key','help','12033guVlMg','2154573oVaOQb','sslconfig','5108704QZkSpm','listenPort','apply','3603716cSFLNa','12997776yplBGG','isFile','toString','targetHost','localhost','getProjectConfig','=>\x20SSL\x20Proxy\x20forwarding\x20','13104WNPqSK','1146CpihVz','maka\x20proxy\x20--target-host\x20http://192.168.1.20','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','(((.+)+)+)+$','targetPort','5758JkPqcP','maka\x20proxy','search','.crt'];a77c=function(){return s;};return a77c();}const a77b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a77d;if(c){const e=c[o(0x111)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){const p=a77d;return a77a[p(0x115)]()[p(0x122)](p(0x11e))[p(0x115)]()[p(0x127)](a77a)['search'](p(0x11e));});a77a();function a77d(a,b){const c=a77c();return a77d=function(d,e){d=d-0x102;let f=c[d];return f;},a77d(a,b);}import a77e from'fs';import a77f from'path';import a77g 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 a77h from'../generators/maka.gen.js';Command[a77q(0x103)]({'name':a77q(0x12b),'usage':a77q(0x121),'mustBeInMakaProject':!![],'validOpts':[a77q(0x10b),a77q(0x11f),a77q(0x110),'targetHost'],'maxArgLength':0x1,'shortDesc':'Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','description':'\x0a\x20\x20If\x20you\x27re\x20running\x20your\x20Meteor\x20service,\x20and\x20need\x20to\x20stand\x20up\x20an\x20SSL\x0a\x20\x20Proxy,\x20this\x20command\x20will\x20automatically\x20create\x20a\x20key\x20pair\x20for\x20use\x20in\x20an\x20HTTPS\x0a\x20\x20proxy.\x0a\x0a\x20\x20For\x20example,\x20you\x27re\x20running\x20http://localhost:3000\x20with\x20\x22maka\x20run\x22\x20then\x20open\x20a\x20new\x0a\x20\x20terminal\x20and\x20run\x20\x22maka\x20proxy\x22\x20to\x20standup\x20https://localhost:3443.\x0a\x20\x20Then\x20open\x20your\x20browser\x20to\x20that\x20URL\x20(you\x20may\x20need\x20to\x20trust\x20the\x20certificates\x0a\x20\x20because\x20they\x20are\x20self-signed)\x20and\x20you\x27ll\x20have\x20an\x20SSL\x20connection\x20to\x20your\x0a\x20\x20http://localhost:3000.\x0a\x0a\x20\x20To\x20avoid\x20possibly\x20overwriting\x20PKI\x20files\x20in\x20higher\x20environments,\x20\x22maka\x20proxy\x22\x0a\x20\x20will\x20try\x20to\x20only\x20generate\x20/\x20store\x20PKI\x20keys\x20in\x20the\x20development\x20environment.\x0a\x20\x20','examples':[a77q(0x121),a77q(0x11d),a77q(0x11c)]},async function(a,b){const r=a77q,c=this[r(0x102)][r(0x118)](),d='development',e=this[r(0x102)][r(0x129)](d),f=this['fsi']['mkKeysDir']({'configPath':e}),g=b[r(0x11f)]?Number(b['targetPort']):0xbb8,h=b[r(0x110)]?Number(b['listenPort']):0xd73,i=b[r(0x116)]?b[r(0x116)]:r(0x117),j=a77f[r(0x107)](f,c[r(0x12a)]+r(0x10a)),k=a77f['join'](f,c[r(0x12a)]+r(0x123));if(!this[r(0x102)][r(0x114)](j)||!this[r(0x102)]['isFile'](k)){const m=a77h[r(0x108)](r(0x10e));m&&await m[r(0x109)]([r(0x10e)],{'env':d}),SSL['genCSR']({'keyName':c[r(0x12a)]+r(0x10a),'csrName':c['appName']+'.csr','cwd':f}),SSL[r(0x124)]({'keyName':c[r(0x12a)]+r(0x10a),'crtName':c[r(0x12a)]+'.crt','cwd':f});}if(g===h){Log[r(0x106)]('Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.');throw new UsageError();}const l={'ssl':{'key':a77e[r(0x126)](j,'utf8'),'cert':a77e[r(0x126)](k,r(0x125))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a77g['createProxyServer'](l)['listen'](Number(h)),Log['bright'](r(0x119)+h+'\x20to\x20'+g);});
1
+ function a77d(a,b){const c=a77c();return a77d=function(d,e){d=d-0xa7;let f=c[d];return f;},a77d(a,b);}const a77q=a77d;(function(a,b){const n=a77d,c=a();while(!![]){try{const d=parseInt(n(0xa9))/0x1+parseInt(n(0xcb))/0x2+-parseInt(n(0xb4))/0x3+-parseInt(n(0xc0))/0x4+parseInt(n(0xb5))/0x5+-parseInt(n(0xc1))/0x6*(-parseInt(n(0xbb))/0x7)+parseInt(n(0xd4))/0x8*(-parseInt(n(0xc4))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0xd5211));const a77b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a77d;if(c){const e=c[o(0xb0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){const p=a77d;return a77a[p(0xd3)]()[p(0xc8)](p(0xb3))[p(0xd3)]()[p(0xcf)](a77a)[p(0xc8)](p(0xb3));});a77a();import a77e from'fs';import a77f from'path';import a77g from'http-proxy';import{Command}from'../command.js';function a77c(){const s=['maka\x20proxy','toString','8fjIsPd','\x20to\x20','.csr','575713laRsrT','error','create','help','join','readFileSync','maka\x20proxy\x20--target-host\x20http://192.168.1.20','apply','bright','createProxyServer','(((.+)+)+)+$','2183673SYFtaS','3477810OokTlm','targetHost','getConfigPath','fsi','appName','invoke','9523549bpmjPa','targetPort','localhost','utf8','sslconfig','6512012qeaBnQ','6ynUvcm','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','.key','1175481uSvDvw','proxy','findGenerator','listenPort','search','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','1455396oAghRA','isFile','genSSC','development','constructor','genCSR','listen'];a77c=function(){return s;};return a77c();}import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a77h from'../generators/maka.gen.js';Command[a77q(0xab)]({'name':a77q(0xc5),'usage':'maka\x20proxy','mustBeInMakaProject':!![],'validOpts':[a77q(0xac),a77q(0xbc),a77q(0xc7),a77q(0xb6)],'maxArgLength':0x1,'shortDesc':a77q(0xc9),'description':'\x0a\x20\x20If\x20you\x27re\x20running\x20your\x20Meteor\x20service,\x20and\x20need\x20to\x20stand\x20up\x20an\x20SSL\x0a\x20\x20Proxy,\x20this\x20command\x20will\x20automatically\x20create\x20a\x20key\x20pair\x20for\x20use\x20in\x20an\x20HTTPS\x0a\x20\x20proxy.\x0a\x0a\x20\x20For\x20example,\x20you\x27re\x20running\x20http://localhost:3000\x20with\x20\x22maka\x20run\x22\x20then\x20open\x20a\x20new\x0a\x20\x20terminal\x20and\x20run\x20\x22maka\x20proxy\x22\x20to\x20standup\x20https://localhost:3443.\x0a\x20\x20Then\x20open\x20your\x20browser\x20to\x20that\x20URL\x20(you\x20may\x20need\x20to\x20trust\x20the\x20certificates\x0a\x20\x20because\x20they\x20are\x20self-signed)\x20and\x20you\x27ll\x20have\x20an\x20SSL\x20connection\x20to\x20your\x0a\x20\x20http://localhost:3000.\x0a\x0a\x20\x20To\x20avoid\x20possibly\x20overwriting\x20PKI\x20files\x20in\x20higher\x20environments,\x20\x22maka\x20proxy\x22\x0a\x20\x20will\x20try\x20to\x20only\x20generate\x20/\x20store\x20PKI\x20keys\x20in\x20the\x20development\x20environment.\x0a\x20\x20','examples':[a77q(0xd2),a77q(0xc2),a77q(0xaf)]},async function(a,b){const r=a77q,c=this[r(0xb8)]['getProjectConfig'](),d=r(0xce),e=this[r(0xb8)][r(0xb7)](d),f=this[r(0xb8)]['mkKeysDir']({'configPath':e}),g=b[r(0xbc)]?Number(b[r(0xbc)]):0xbb8,h=b[r(0xc7)]?Number(b['listenPort']):0xd73,i=b[r(0xb6)]?b[r(0xb6)]:r(0xbd),j=a77f[r(0xad)](f,c[r(0xb9)]+r(0xc3)),k=a77f[r(0xad)](f,c[r(0xb9)]+'.crt');if(!this[r(0xb8)][r(0xcc)](j)||!this[r(0xb8)][r(0xcc)](k)){const m=a77h[r(0xc6)]('sslconfig');m&&await m[r(0xba)]([r(0xbf)],{'env':d}),SSL[r(0xd0)]({'keyName':c[r(0xb9)]+'.key','csrName':c[r(0xb9)]+r(0xa8),'cwd':f}),SSL[r(0xcd)]({'keyName':c[r(0xb9)]+r(0xc3),'crtName':c['appName']+'.crt','cwd':f});}if(g===h){Log[r(0xaa)](r(0xca));throw new UsageError();}const l={'ssl':{'key':a77e['readFileSync'](j,r(0xbe)),'cert':a77e[r(0xae)](k,r(0xbe))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a77g[r(0xb2)](l)[r(0xd1)](Number(h)),Log[r(0xb1)]('=>\x20SSL\x20Proxy\x20forwarding\x20'+h+r(0xa7)+g);});
@@ -1 +1 @@
1
- const a78q=a78d;function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0xed;let f=c[d];return f;},a78d(a,b);}(function(a,b){const n=a78d,c=a();while(!![]){try{const d=-parseInt(n(0x111))/0x1*(parseInt(n(0x10e))/0x2)+parseInt(n(0xf6))/0x3+-parseInt(n(0xfc))/0x4+-parseInt(n(0xef))/0x5+-parseInt(n(0xf2))/0x6*(parseInt(n(0xf3))/0x7)+-parseInt(n(0x10c))/0x8+parseInt(n(0xf4))/0x9*(parseInt(n(0x100))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x19814));const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a78d;if(c){const e=c[o(0x112)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const p=a78d;return a78a[p(0xf1)]()[p(0x113)]('(((.+)+)+)+$')[p(0xf1)]()[p(0x109)](a78a)[p(0x113)](p(0x105));});a78a();import a78e from'fs';import a78f from'path';function a78c(){const s=['pm2.config.js','parse','(((.+)+)+)+$','Reconfigure\x20your\x20deployed\x20applications','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','reconfig','constructor','settings.json','create','494192oVwrmW','success','2QXPJRq','uname\x20-a','notice','6067RSwuri','apply','search','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','~/settings.json','join','pm2\x20delete\x20all','294005YmYvIG','error','toString','6SXoApd','1374975gCARnz','36dXDJnk','readFileSync','16293HnFQxE','scp','~/pm2.config.js','Checking\x20remote\x20host\x20availability','ping','exit','36960EPuGdN','~/ses.json','ssh','\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','1078360PxwrSb','existsSync','maka\x20reconfig'];a78c=function(){return s;};return a78c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a78q(0x10b)]({'name':a78q(0x108),'validOpts':[''],'requiredOpts':['env'],'mustBeInMakaProject':!![],'usage':a78q(0x102),'shortDesc':a78q(0x106),'description':a78q(0xff),'examples':['maka\x20reconfig\x20--env\x20prod']},async function(a,b){const r=a78q;try{const c=this['fsi']['getConfigPath'](b['env']),d=a78f[r(0xed)](c,'ssh.json'),f=a78e[r(0xf5)](d)[r(0xf1)](),g=JSON[r(0x104)](f);Object['assign'](g,{'env':c}),Log[r(0x110)](r(0xf9));const h=SSH[r(0xfa)](r(0x10f),g);if(!h)throw r(0x114);if(h)Log[r(0x10d)]('Remote\x20host\x20connection\x20successful');const i=a78f[r(0xed)](c,'_keys','ses.json');if(a78e[r(0x101)](i)){const l={'source':i,'dest':r(0xfd),'verbose':!![]};SSH['scp'](l,{...g});}const j=a78f[r(0xed)](c,r(0x103));SSH['scp']({'source':j,'dest':r(0xf8),'verbose':!![]},{...g});const k=a78f[r(0xed)](c,r(0x10a));SSH[r(0xf7)]({'source':k,'dest':r(0x115),'verbose':!![]},{...g}),SSH['sshSync'](r(0xee),g),await SSH[r(0xfe)](r(0x107),{...g},{'verbose':!![]});}catch(m){console[r(0xf0)](m),process[r(0xfb)](0x0);}});
1
+ const a78q=a78d;(function(a,b){const n=a78d,c=a();while(!![]){try{const d=-parseInt(n(0x8e))/0x1+parseInt(n(0xa9))/0x2+-parseInt(n(0x99))/0x3*(parseInt(n(0x8b))/0x4)+parseInt(n(0x9b))/0x5+-parseInt(n(0x8a))/0x6+parseInt(n(0x9c))/0x7+-parseInt(n(0xa3))/0x8*(parseInt(n(0xb1))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x50dfb));const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a78d;if(c){const e=c[o(0xa6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const p=a78d;return a78a[p(0x98)]()[p(0xae)](p(0xaf))[p(0x98)]()[p(0x91)](a78a)[p(0xae)](p(0xaf));});a78a();import a78e from'fs';import a78f from'path';function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x87;let f=c[d];return f;},a78d(a,b);}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';function a78c(){const s=['ssh.json','fsi','688pIRHem','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','maka\x20reconfig','apply','~/pm2.config.js','readFileSync','1232338ktYyyL','~/ses.json','settings.json','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','maka\x20reconfig\x20--env\x20prod','search','(((.+)+)+)+$','parse','17883wJeOdA','pm2\x20delete\x20all','reconfig','create','1836300taxurY','152IHXlbu','pm2.config.js','ses.json','55381ZIZlMo','Remote\x20host\x20connection\x20successful','ssh','constructor','existsSync','~/settings.json','join','scp','ping','notice','toString','20931rHnkdZ','uname\x20-a','1138745ieTshe','1993460BocHAc','success','assign','error','\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'];a78c=function(){return s;};return a78c();}Command[a78q(0x89)]({'name':a78q(0x88),'validOpts':[''],'requiredOpts':['env'],'mustBeInMakaProject':!![],'usage':a78q(0xa5),'shortDesc':'Reconfigure\x20your\x20deployed\x20applications','description':a78q(0xa0),'examples':[a78q(0xad)]},async function(a,b){const r=a78q;try{const c=this[r(0xa2)]['getConfigPath'](b['env']),d=a78f[r(0x94)](c,r(0xa1)),f=a78e[r(0xa8)](d)[r(0x98)](),g=JSON[r(0xb0)](f);Object[r(0x9e)](g,{'env':c}),Log[r(0x97)]('Checking\x20remote\x20host\x20availability');const h=SSH[r(0x96)](r(0x9a),g);if(!h)throw r(0xac);if(h)Log[r(0x9d)](r(0x8f));const i=a78f['join'](c,'_keys',r(0x8d));if(a78e[r(0x92)](i)){const l={'source':i,'dest':r(0xaa),'verbose':!![]};SSH[r(0x95)](l,{...g});}const j=a78f['join'](c,r(0x8c));SSH[r(0x95)]({'source':j,'dest':r(0xa7),'verbose':!![]},{...g});const k=a78f[r(0x94)](c,r(0xab));SSH[r(0x95)]({'source':k,'dest':r(0x93),'verbose':!![]},{...g}),SSH['sshSync'](r(0x87),g),await SSH[r(0x90)](r(0xa4),{...g},{'verbose':!![]});}catch(m){console[r(0x9f)](m),process['exit'](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a79d,c=a();while(!![]){try{var d=-parseInt(f(0xd5))/0x1*(-parseInt(f(0xdb))/0x2)+-parseInt(f(0xd7))/0x3*(-parseInt(f(0xd8))/0x4)+parseInt(f(0xd3))/0x5+-parseInt(f(0xd1))/0x6*(parseInt(f(0xd6))/0x7)+-parseInt(f(0xd0))/0x8+parseInt(f(0xd4))/0x9*(parseInt(f(0xda))/0xa)+parseInt(f(0xdc))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x18db2));var a79b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a79d;if(c){var e=c[g(0xdd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){var h=a79d;return a79a[h(0xd2)]()[h(0xcf)]('(((.+)+)+)+$')[h(0xd2)]()[h(0xd9)](a79a)[h(0xcf)](h(0xce));});function a79d(a,b){var c=a79c();return a79d=function(d,e){d=d-0xce;var f=c[d];return f;},a79d(a,b);}a79a();function a79c(){var i=['constructor','3110pdPMCx','28526UGBYqk','1521201PVsmee','apply','(((.+)+)+)+$','search','718712xnmwsy','1230SCZIAw','toString','120145veiWxB','549SlaGft','6PgsQFW','5845wqSmve','95955OHBWbL','12BQOMCv'];a79c=function(){return i;};return a79c();}import'./run.command.js';import'./docker.sub.cmd.js';
1
+ (function(a,b){var f=a79d,c=a();while(!![]){try{var d=parseInt(f(0x121))/0x1+-parseInt(f(0x119))/0x2*(-parseInt(f(0x117))/0x3)+parseInt(f(0x11e))/0x4*(-parseInt(f(0x115))/0x5)+-parseInt(f(0x11d))/0x6+-parseInt(f(0x11a))/0x7+parseInt(f(0x11f))/0x8+-parseInt(f(0x116))/0x9*(parseInt(f(0x11b))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0xa88dd));function a79d(a,b){var c=a79c();return a79d=function(d,e){d=d-0x113;var f=c[d];return f;},a79d(a,b);}var a79b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a79d;if(c){var e=c[g(0x118)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){var h=a79d;return a79a[h(0x114)]()[h(0x120)](h(0x113))[h(0x114)]()[h(0x11c)](a79a)['search'](h(0x113));});a79a();function a79c(){var i=['7729864PScxEn','search','713914NRjqGC','(((.+)+)+)+$','toString','5zkXdNa','2589993FQTOXV','12EvIUiW','apply','638776pviNst','1921745XITVYT','30AeKsuV','constructor','643722nkyISC','4088596inEYrJ'];a79c=function(){return i;};return a79c();}import'./run.command.js';import'./docker.sub.cmd.js';
@@ -1 +1 @@
1
- function a80c(){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','constructor','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','1100840IJcPGV','toString','1230817HEjqur','6642QuTgaF','getProjectConfig','6WmwOpo','fsi','join','apply','docker','notice','46739ZvrQLH','create','2325632tTyZoL','(((.+)+)+)+$','\x20up\x20--remove-orphans','search','3aluqYU','75928HXXOOL','appName','PM2\x20Config\x20File:\x20','pm2.config.js','docker-compose.yaml','4987785NXxdVL','getConfigPath','docker-compose\x20--project-directory\x20','exit','370RhISCy','12jSpTDS','existsSync'];a80c=function(){return n;};return a80c();}const a80l=a80d;(function(a,b){const i=a80d,c=a();while(!![]){try{const d=-parseInt(i(0xad))/0x1*(parseInt(i(0xa7))/0x2)+-parseInt(i(0xb3))/0x3*(-parseInt(i(0xb4))/0x4)+-parseInt(i(0xa2))/0x5+parseInt(i(0xbe))/0x6*(parseInt(i(0xa4))/0x7)+-parseInt(i(0xaf))/0x8+-parseInt(i(0xa5))/0x9*(-parseInt(i(0xbd))/0xa)+parseInt(i(0xb9))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0x30e68));const a80b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a80d;if(c){const e=c[j(0xaa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){const k=a80d;return a80a[k(0xa3)]()['search'](k(0xb0))[k(0xa3)]()[k(0xc1)](a80a)[k(0xb2)](k(0xb0));});a80a();import a80e from'./run.command.js';import{execSync}from'child_process';import a80f from'path';import a80g from'fs';import{Log}from'../../tools/log/log.class.js';function a80d(a,b){const c=a80c();return a80d=function(d,e){d=d-0xa2;let f=c[d];return f;},a80d(a,b);}import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a80l(0xae)]({'name':'docker','aliases':['d'],'shortDesc':a80l(0xc2),'description':a80l(0xc0),'usage':'maka\x20run\x20docker','validOpts':['']},async function(){const m=a80l;try{const a=this['fsi'][m(0xa6)](),b=this[m(0xa8)][m(0xba)](m(0xab)),c=a80f[m(0xa9)](b,m(0xb8)),d=a80f[m(0xa9)](b,m(0xb7));Log[m(0xac)](m(0xb6)+d),Log['notice']('Docker\x20Compose\x20Path:\x20'+c);if(!a80g[m(0xbf)](c)){const f={'app':a[m(0xb5)],'appFileCase':paramCase(a[m(0xb5)])},g=this[m(0xa8)]['templateContent']({'srcPath':'config/docker-compose.yaml','context':f})+'\x0a';this['fsi']['createFile']({'filePath':c,'data':g});}execSync(m(0xbb)+b+m(0xb1),{'stdio':'inherit'});}catch(h){process[m(0xbc)](0x1);}},a80e);
1
+ const a80l=a80d;function a80d(a,b){const c=a80c();return a80d=function(d,e){d=d-0x93;let f=c[d];return f;},a80d(a,b);}(function(a,b){const i=a80d,c=a();while(!![]){try{const d=-parseInt(i(0xa3))/0x1+-parseInt(i(0xa2))/0x2*(parseInt(i(0xae))/0x3)+-parseInt(i(0xa8))/0x4+parseInt(i(0xb2))/0x5*(-parseInt(i(0xa5))/0x6)+-parseInt(i(0xb1))/0x7*(parseInt(i(0x9b))/0x8)+-parseInt(i(0x9e))/0x9+parseInt(i(0xa0))/0xa*(parseInt(i(0x9f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0x20bb9));const a80b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a80d;if(c){const e=c[j(0xb3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){const k=a80d;return a80a['toString']()[k(0xa7)](k(0xad))[k(0x9d)]()[k(0xaf)](a80a)[k(0xa7)](k(0xad));});a80a();import a80e from'./run.command.js';import{execSync}from'child_process';import a80f from'path';function a80c(){const n=['createFile','6846wwjOef','existsSync','search','523564USoArC','getConfigPath','join','templateContent','fsi','(((.+)+)+)+$','709971TyyUWC','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','2513mPhWzs','1070jYbcJQ','apply','inherit','pm2.config.js','getProjectConfig','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','docker-compose\x20--project-directory\x20','config/docker-compose.yaml','Docker\x20Compose\x20Path:\x20','notice','920aIJIhR','maka\x20run\x20docker','toString','707661UVjVCm','29095wlwafk','3470icxvqL','docker','2EfykpN','52106LtFvih'];a80c=function(){return n;};return a80c();}import a80g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';Command['create']({'name':'docker','aliases':['d'],'shortDesc':a80l(0x96),'description':a80l(0xb0),'usage':a80l(0x9c),'validOpts':['']},async function(){const m=a80l;try{const a=this[m(0xac)][m(0x95)](),b=this['fsi'][m(0xa9)](m(0xa1)),c=a80f['join'](b,'docker-compose.yaml'),d=a80f[m(0xaa)](b,m(0x94));Log['notice']('PM2\x20Config\x20File:\x20'+d),Log[m(0x9a)](m(0x99)+c);if(!a80g[m(0xa6)](c)){const f={'app':a['appName'],'appFileCase':paramCase(a['appName'])},g=this[m(0xac)][m(0xab)]({'srcPath':m(0x98),'context':f})+'\x0a';this['fsi'][m(0xa4)]({'filePath':c,'data':g});}execSync(m(0x97)+b+'\x20up\x20--remove-orphans',{'stdio':m(0x93)});}catch(h){process['exit'](0x1);}},a80e);
@@ -1 +1 @@
1
- const a81u=a81d;(function(a,b){const q=a81d,c=a();while(!![]){try{const d=parseInt(q(0x71))/0x1+-parseInt(q(0x88))/0x2*(-parseInt(q(0x91))/0x3)+parseInt(q(0x82))/0x4+-parseInt(q(0x73))/0x5*(-parseInt(q(0xa0))/0x6)+-parseInt(q(0xa2))/0x7*(-parseInt(q(0x75))/0x8)+-parseInt(q(0x6c))/0x9+-parseInt(q(0x7d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0x236aa));function a81c(){const x=['(((.+)+)+)+$','getConfigPath','mobileServer','--production','docker','3768780uEfPpV','notice','settings','settings.json','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)','785592sRaVSg','join','rawLogs','isFile','findProjectDirectory','verbose','2ihTIHH','slice','process.env','warn','findSubCommand','length','compareMakaToLatest','error','cordova-build','86235FeWavW','openSync','\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.','create','local','run','argv','invokeMeteorCommand','mobile-server','exit','forEach','extraPackages','ios','inspect','apply','60036cgEMPA','search','555037kBgZXF','config','splice','allowIncompatibleUpdate','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','exclude-archs','fsi','env','Run\x20your\x20Meteor\x20application','filter','Cannot\x20find\x20Node\x20Environment\x20File:\x20','714465zzNErE','concat','push','runSubCommand','--settings','48259OAkJDe','production','45iimUuJ','toString','24fiOQpV','Node\x20Env\x20Config:\x20','--env'];a81c=function(){return x;};return a81c();}const a81b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a81d;if(c){const e=c[r(0x9f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){const s=a81d;return a81a['toString']()[s(0xa1)]('(((.+)+)+)+$')[s(0x74)]()['constructor'](a81a)[s(0xa1)](s(0x78));});a81a();import a81e from'path';import a81f from'fs';import a81g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a81d(a,b){const c=a81c();return a81d=function(d,e){d=d-0x66;let f=c[d];return f;},a81d(a,b);}const syncSource=function(a){const t=a81d;a81f[t(0x92)](a,'r'),a81g[t(0xa3)]({'path':a});},Run=Command[a81u(0x94)]({'name':a81u(0x96),'mustBeInMakaProject':!![],'shortDesc':a81u(0x69),'description':a81u(0x93),'validOpts':['env',a81u(0x7c),'r',a81u(0x84),'p','port','i',a81u(0x9e),'m',a81u(0x7a),'v',a81u(0x87),a81u(0xa5),a81u(0x9c),'x',a81u(0x66),'production']},async function(a,b){const v=a81u;try{const c=a[0x0],d=this[v(0x8c)](c);d&&this[v(0x6f)](c,a,b);if(c===v(0x9d)){const m=this[v(0x67)][v(0x86)](),n=a81e[v(0x83)](m,'app','.meteor',v(0x95),v(0x90));this[v(0x67)]['isDirectory'](n)&&await rimraf(n);}if(b[v(0x99)]&&b[v(0x99)]===!![]||b['m']&&b['m']===!![])throw v(0x81);await this[v(0x67)][v(0x8e)]();const f=b[v(0x68)]?b['env']:'development',g=this['fsi'][v(0x79)](f),h=a81e[v(0x83)](g,v(0x8a));let i=a81e[v(0x83)](g,v(0x80));b[v(0x7f)]?i=b[v(0x7f)]:i=a81e[v(0x83)](g,v(0x80));if(this[v(0x67)][v(0x85)](h)&&!b[v(0x7c)])Log[v(0x7e)](v(0x76)+h),syncSource(h);else!b['docker']&&Log[v(0x8b)](v(0x6b)+h);this['fsi']['isFile'](i)?(Log['notice']('Meteor\x20Settings:\x20'+i),a=a[v(0x6d)]([v(0x70),i])):Log[v(0x8b)](v(0xa6)+i);const j=g['split'](a81e['sep']),k=j[j[v(0x8d)]-0x1];k===v(0x72)&&a[v(0x6e)](v(0x7b));const l=process[v(0x97)][v(0x89)](0x2)[v(0x6a)](o=>o!==v(0x96))['filter'](o=>o!==a[0x0]);l[v(0x9b)]((o,p)=>{const w=v;o===w(0x77)&&l[w(0xa4)](p,0x2),o==='-e'&&l[w(0xa4)](p,0x2);}),this[v(0x67)][v(0x98)](v(0x96),a[v(0x6d)](l));}catch(o){console[v(0x8f)](o),process[v(0x9a)](0x1);}});export default Run;
1
+ const a81u=a81d;(function(a,b){const q=a81d,c=a();while(!![]){try{const d=-parseInt(q(0xb2))/0x1+-parseInt(q(0xba))/0x2+-parseInt(q(0xc1))/0x3*(parseInt(q(0xdc))/0x4)+-parseInt(q(0xdf))/0x5*(-parseInt(q(0xbf))/0x6)+-parseInt(q(0xdb))/0x7+parseInt(q(0xa6))/0x8*(parseInt(q(0xc8))/0x9)+parseInt(q(0xbc))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0x60d82));const a81b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a81d;if(c){const e=c[r(0xd2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){const s=a81d;return a81a[s(0xab)]()['search'](s(0xc6))[s(0xab)]()[s(0xaf)](a81a)['search'](s(0xc6));});a81a();function a81d(a,b){const c=a81c();return a81d=function(d,e){d=d-0xa3;let f=c[d];return f;},a81d(a,b);}import a81e from'path';import a81f from'fs';import a81g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a81c(){const x=['docker','create','rawLogs','746150PkIGXg','warn','9033700WNBWJz','fsi','getConfigPath','6YgqXtq','run','390BWuxTv','Meteor\x20Settings:\x20','env','--settings','settings','(((.+)+)+)+$','app','9aLkphz','split','splice','notice','isDirectory','ios','exclude-archs','inspect','port','isFile','apply','invokeMeteorCommand','production','mobile-server','allowIncompatibleUpdate','exit','--env','error','compareMakaToLatest','754397gTUSmo','10980CEnhIr','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','Run\x20your\x20Meteor\x20application','2585345vXfsSx','forEach','\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.','--production','argv','764936LOXAet','filter','openSync','Node\x20Env\x20Config:\x20','.meteor','toString','settings.json','mobileServer','length','constructor','findProjectDirectory','concat','281686ilObYD','join','sep','process.env','extraPackages'];a81c=function(){return x;};return a81c();}const syncSource=function(a){const t=a81d;a81f[t(0xa8)](a,'r'),a81g['config']({'path':a});},Run=Command[a81u(0xb8)]({'name':a81u(0xc0),'mustBeInMakaProject':!![],'shortDesc':a81u(0xde),'description':a81u(0xa3),'validOpts':[a81u(0xc3),'docker','r',a81u(0xb9),'p',a81u(0xd0),'i',a81u(0xcf),'m',a81u(0xad),'v','verbose',a81u(0xd6),a81u(0xb6),'x',a81u(0xce),a81u(0xd4)]},async function(a,b){const v=a81u;try{const c=a[0x0],d=this['findSubCommand'](c);d&&this['runSubCommand'](c,a,b);if(c===v(0xcd)){const m=this[v(0xbd)][v(0xb0)](),n=a81e[v(0xb3)](m,v(0xc7),v(0xaa),'local','cordova-build');this[v(0xbd)][v(0xcc)](n)&&await rimraf(n);}if(b[v(0xd5)]&&b['mobile-server']===!![]||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(0xbd)][v(0xda)]();const f=b[v(0xc3)]?b[v(0xc3)]:'development',g=this[v(0xbd)][v(0xbe)](f),h=a81e[v(0xb3)](g,v(0xb5));let i=a81e['join'](g,'settings.json');b[v(0xc5)]?i=b[v(0xc5)]:i=a81e['join'](g,v(0xac));if(this[v(0xbd)]['isFile'](h)&&!b[v(0xb7)])Log[v(0xcb)](v(0xa9)+h),syncSource(h);else!b[v(0xb7)]&&Log[v(0xbb)]('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+h);this['fsi'][v(0xd1)](i)?(Log[v(0xcb)](v(0xc2)+i),a=a['concat']([v(0xc4),i])):Log['warn'](v(0xdd)+i);const j=g[v(0xc9)](a81e[v(0xb4)]),k=j[j[v(0xae)]-0x1];k===v(0xd4)&&a['push'](v(0xa4));const l=process[v(0xa5)]['slice'](0x2)[v(0xa7)](o=>o!==v(0xc0))[v(0xa7)](o=>o!==a[0x0]);l[v(0xe0)]((o,p)=>{const w=v;o===w(0xd8)&&l[w(0xca)](p,0x2),o==='-e'&&l['splice'](p,0x2);}),this[v(0xbd)][v(0xd3)](v(0xc0),a[v(0xb1)](l));}catch(o){console[v(0xd9)](o),process[v(0xd7)](0x1);}});export default Run;
@@ -1 +1 @@
1
- function a82d(a,b){var c=a82c();return a82d=function(d,e){d=d-0xc2;var f=c[d];return f;},a82d(a,b);}(function(a,b){var f=a82d,c=a();while(!![]){try{var d=-parseInt(f(0xca))/0x1*(parseInt(f(0xc9))/0x2)+parseInt(f(0xc8))/0x3*(parseInt(f(0xc7))/0x4)+-parseInt(f(0xc6))/0x5*(-parseInt(f(0xcb))/0x6)+-parseInt(f(0xc2))/0x7*(-parseInt(f(0xcf))/0x8)+parseInt(f(0xcd))/0x9+-parseInt(f(0xcc))/0xa+-parseInt(f(0xc4))/0xb*(parseInt(f(0xd0))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x297be));var a82b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a82d;if(c){var e=c[g(0xce)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){var h=a82d;return a82a['toString']()[h(0xc5)](h(0xd1))[h(0xc3)]()['constructor'](a82a)[h(0xc5)](h(0xd1));});function a82c(){var i=['toString','11BJvSFV','search','35zGHCMg','57172emJiZn','69hlnwNG','2HdiafT','70411cFXENl','107238sixVDZ','1249910DkufYC','2946132AtMbVh','apply','17648zXeToD','8061288cquMSs','(((.+)+)+)+$','812qvRRbq'];a82c=function(){return i;};return a82c();}a82a();import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
1
+ function a82d(a,b){var c=a82c();return a82d=function(d,e){d=d-0x1ec;var f=c[d];return f;},a82d(a,b);}function a82c(){var i=['apply','search','2qGgoYz','902115djMGPn','334662QNDyvV','1566300yhneqH','186958TOptCI','35aEFkqE','2402152NRScxr','toString','36100WUnWiT','217068oGAqoJ','(((.+)+)+)+$','constructor'];a82c=function(){return i;};return a82c();}(function(a,b){var f=a82d,c=a();while(!![]){try{var d=-parseInt(f(0x1ef))/0x1*(-parseInt(f(0x1f3))/0x2)+parseInt(f(0x1f1))/0x3+parseInt(f(0x1f7))/0x4+-parseInt(f(0x1f2))/0x5+-parseInt(f(0x1f8))/0x6*(parseInt(f(0x1f4))/0x7)+parseInt(f(0x1f5))/0x8+parseInt(f(0x1f0))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x34383));var a82b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a82d;if(c){var e=c[g(0x1ed)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){var h=a82d;return a82a['toString']()[h(0x1ee)](h(0x1f9))[h(0x1f6)]()[h(0x1ec)](a82a)['search']('(((.+)+)+)+$');});a82a();import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
@@ -1 +1 @@
1
- const a83j=a83d;(function(a,b){const h=a83d,c=a();while(!![]){try{const d=parseInt(h(0x1cf))/0x1*(parseInt(h(0x1bc))/0x2)+-parseInt(h(0x1c9))/0x3*(-parseInt(h(0x1d8))/0x4)+parseInt(h(0x1c2))/0x5+parseInt(h(0x1d2))/0x6*(-parseInt(h(0x1d7))/0x7)+-parseInt(h(0x1d6))/0x8*(parseInt(h(0x1dc))/0x9)+-parseInt(h(0x1d4))/0xa*(-parseInt(h(0x1e0))/0xb)+-parseInt(h(0x1df))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0xa006e));const a83b=(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;};}()),a83a=a83b(this,function(){const i=a83d;return a83a['toString']()[i(0x1cb)](i(0x1c1))['toString']()[i(0x1c0)](a83a)['search'](i(0x1c1));});a83a();import a83e from'path';function a83c(){const l=['299752NuRiet','6349taJNcl','2615240FskBjZ','create','fsi','exit','45gAfMVb','One\x20or\x20the\x20other\x20buddy','success','24249312oiKDle','4767389LIGTfO','help','error','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','71042Cyqsjb','Set\x20workspace:\x20','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x0a\x20\x20There\x20are\x20occasions\x20where\x20your\x20network\x20may\x20need\x20an\x20intermediate\x20certificate\x0a\x20\x20to\x20allow\x20connections\x20outside.\x20\x20You\x20may\x20set\x20your\x20certificate\x20path\x20using\x20the\x20command:\x0a\x0a\x20\x20maka\x20set:gc\x20--cacert\x0a\x20\x20','workspace','constructor','(((.+)+)+)+$','1540165PRXIDn','isFile','maka\x20set:gc\x20--insecure\x20<path>','disallowInsecure','setGlobalConfig','maka\x20set:gc\x20--workspace\x20<path>','Set\x20CA\x20Cert\x20Path:\x20','6jbzbzA','Could\x20not\x20find\x20directory','search','cacert','allowInsecure','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','31eeSHZR','Set\x20allowInsecure:\x20','resolve','1896ntfAeL','maka\x20set:global-config\x20--cacert\x20<path>','10hrUBOZ','boolean'];a83c=function(){return l;};return a83c();}import a83f from'./set.command.js';import{Command}from'../../command.js';function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0x1bc;let f=c[d];return f;},a83d(a,b);}import{Log}from'../../tools/log/log.class.js';Command[a83j(0x1d9)]({'name':'global-config','usage':'maka\x20set:global-config\x20<args>','aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':['cacert',a83j(0x1cd),'disallowInsecure','workspace',a83j(0x1e1)],'shortDesc':'Set\x20global\x20Maka-CLI\x20settings','description':a83j(0x1be),'examples':[a83j(0x1d3),a83j(0x1c4),a83j(0x1c7)]},async function(a,b){const k=a83j;try{if(b[k(0x1cc)]){if(this[k(0x1da)][k(0x1c3)](b['cacert']))this[k(0x1da)][k(0x1c6)]({'cert':b[k(0x1cc)]}),Log['success'](k(0x1c8)+b['cacert']);else{const c=typeof b['cacert']===k(0x1d5)?k(0x1ce):k(0x1e3)+b[k(0x1cc)];throw Log[k(0x1e2)](c);}}if(b[k(0x1bf)]){const d=this[k(0x1da)]['isDirectory'](b[k(0x1bf)]);if(d)this[k(0x1da)][k(0x1c6)]({'workspace':a83e[k(0x1d1)](b[k(0x1bf)])}),Log[k(0x1de)](k(0x1bd)+a83e['resolve'](b[k(0x1bf)]));else throw Log[k(0x1e2)](k(0x1ca));}if(b['allowInsecure']){if(b[k(0x1cd)]&&b[k(0x1c5)])throw Log[k(0x1e2)](k(0x1dd));let f=b[k(0x1cd)];b[k(0x1c5)]&&(f=![]),this[k(0x1da)][k(0x1c6)]({'allowInsecure':f}),Log[k(0x1de)](k(0x1d0)+f);}}catch(g){console['error'](g),process[k(0x1db)](0x0);}},a83f);
1
+ function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0xc2;let f=c[d];return f;},a83d(a,b);}const a83k=a83d;function a83c(){const m=['3559548PMrnZf','683505BaYPSr','Set\x20CA\x20Cert\x20Path:\x20','help','Set\x20workspace:\x20','fsi','1158MydUBL','constructor','5doLYlU','maka\x20set:global-config\x20--cacert\x20<path>','9913662mSChmC','maka\x20set:gc\x20--insecure\x20<path>','20SDACRF','apply','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','91CzRjnd','create','search','setGlobalConfig','5411yzWGur','disallowInsecure','18bixvmq','toString','resolve','workspace','2pqqtjH','isFile','maka\x20set:gc\x20--workspace\x20<path>','256280hvZhhy','cacert','(((.+)+)+)+$','error','Set\x20global\x20Maka-CLI\x20settings','isDirectory','Set\x20allowInsecure:\x20','allowInsecure','success','4891020WnIhaL','921177vMGuNV','global-config','One\x20or\x20the\x20other\x20buddy','exit'];a83c=function(){return m;};return a83c();}(function(a,b){const h=a83d,c=a();while(!![]){try{const d=parseInt(h(0xcb))/0x1+parseInt(h(0xe3))/0x2*(parseInt(h(0xc6))/0x3)+-parseInt(h(0xca))/0x4*(-parseInt(h(0xd2))/0x5)+-parseInt(h(0xd0))/0x6*(-parseInt(h(0xdd))/0x7)+parseInt(h(0xe6))/0x8*(-parseInt(h(0xdf))/0x9)+-parseInt(h(0xd6))/0xa*(-parseInt(h(0xd4))/0xb)+parseInt(h(0xc5))/0xc*(-parseInt(h(0xd9))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0xdf60f));const a83b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a83d;if(c){const e=c[i(0xd7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){const j=a83d;return a83a[j(0xe0)]()[j(0xdb)]('(((.+)+)+)+$')['toString']()[j(0xd1)](a83a)[j(0xdb)](j(0xe8));});a83a();import a83e from'path';import a83f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a83k(0xda)]({'name':a83k(0xc7),'usage':'maka\x20set:global-config\x20<args>','aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':['cacert','allowInsecure',a83k(0xde),'workspace',a83k(0xcd)],'shortDesc':a83k(0xea),'description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x0a\x20\x20There\x20are\x20occasions\x20where\x20your\x20network\x20may\x20need\x20an\x20intermediate\x20certificate\x0a\x20\x20to\x20allow\x20connections\x20outside.\x20\x20You\x20may\x20set\x20your\x20certificate\x20path\x20using\x20the\x20command:\x0a\x0a\x20\x20maka\x20set:gc\x20--cacert\x0a\x20\x20','examples':[a83k(0xd3),a83k(0xd5),a83k(0xe5)]},async function(a,b){const l=a83k;try{if(b['cacert']){if(this[l(0xcf)][l(0xe4)](b[l(0xe7)]))this[l(0xcf)][l(0xdc)]({'cert':b['cacert']}),Log[l(0xc4)](l(0xcc)+b['cacert']);else{const c=typeof b[l(0xe7)]==='boolean'?l(0xd8):'CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+b['cacert'];throw Log[l(0xe9)](c);}}if(b[l(0xe2)]){const d=this[l(0xcf)][l(0xeb)](b['workspace']);if(d)this[l(0xcf)][l(0xdc)]({'workspace':a83e[l(0xe1)](b['workspace'])}),Log[l(0xc4)](l(0xce)+a83e[l(0xe1)](b['workspace']));else throw Log[l(0xe9)]('Could\x20not\x20find\x20directory');}if(b[l(0xc3)]){if(b['allowInsecure']&&b[l(0xde)])throw Log['error'](l(0xc8));let f=b[l(0xc3)];b[l(0xde)]&&(f=![]),this[l(0xcf)][l(0xdc)]({'allowInsecure':f}),Log[l(0xc4)](l(0xc2)+f);}}catch(g){console[l(0xe9)](g),process[l(0xc9)](0x0);}},a83f);
@@ -1 +1 @@
1
- var a84i=a84d;(function(a,b){var f=a84d,c=a();while(!![]){try{var d=-parseInt(f(0xb5))/0x1+parseInt(f(0xb6))/0x2+parseInt(f(0xaa))/0x3*(parseInt(f(0xba))/0x4)+parseInt(f(0xbd))/0x5*(-parseInt(f(0xb8))/0x6)+parseInt(f(0xb9))/0x7*(parseInt(f(0xbf))/0x8)+parseInt(f(0xab))/0x9*(parseInt(f(0xbe))/0xa)+-parseInt(f(0xb2))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0xd2363));function a84d(a,b){var c=a84c();return a84d=function(d,e){d=d-0xaa;var f=c[d];return f;},a84d(a,b);}var a84b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a84d;if(c){var e=c[g(0xad)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){var h=a84d;return a84a['toString']()[h(0xb3)]('(((.+)+)+)+$')[h(0xb4)]()[h(0xb7)](a84a)[h(0xb3)](h(0xac));});a84a();import a84e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a84c(){var k=['740064hyuTsg','678126VTlSOC','18ZvFNUM','(((.+)+)+)+$','apply','maka\x20set:local-config\x20<opts>','local-config','notice','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','34138038vCJcpK','search','toString','38027dqBioy','2366172ZTboQu','constructor','1356OoXAcI','63xcWeYx','24EhCRYj','maka\x20set:lc\x20<opts>','create','16955ZXbxoD','6984840WhnkIE'];a84c=function(){return k;};return a84c();}Command[a84i(0xbc)]({'name':a84i(0xaf),'usage':a84i(0xae),'examples':[a84i(0xbb),a84i(0xae)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':'Set\x20local\x20maka\x20app\x20settings','validOpts':[],'description':a84i(0xb1)},async function(){var j=a84i;Log[j(0xb0)]('Sorry,\x20not\x20implemented\x20yet');},a84e);
1
+ var a84i=a84d;(function(a,b){var f=a84d,c=a();while(!![]){try{var d=-parseInt(f(0x78))/0x1*(parseInt(f(0x7f))/0x2)+parseInt(f(0x79))/0x3*(-parseInt(f(0x76))/0x4)+-parseInt(f(0x71))/0x5*(-parseInt(f(0x6e))/0x6)+-parseInt(f(0x6c))/0x7*(parseInt(f(0x72))/0x8)+-parseInt(f(0x7a))/0x9+parseInt(f(0x6f))/0xa*(-parseInt(f(0x77))/0xb)+parseInt(f(0x7d))/0xc*(parseInt(f(0x7e))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x39abd));var a84b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a84d;if(c){var e=c[g(0x6b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){var h=a84d;return a84a['toString']()['search'](h(0x7c))[h(0x6d)]()['constructor'](a84a)[h(0x70)](h(0x7c));});function a84c(){var k=['Sorry,\x20not\x20implemented\x20yet','(((.+)+)+)+$','48nZsdRv','4599946ayyJzD','865654cPhZjW','create','apply','448091rurYyf','toString','43524oKNNyl','10rFPsmz','search','130gGGGWR','56rPwSXo','maka\x20set:local-config\x20<opts>','notice','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','7396xWfbJK','2709487VUZYJq','1bwNcUg','171bWxuxT','1216107lLpESD'];a84c=function(){return k;};return a84c();}function a84d(a,b){var c=a84c();return a84d=function(d,e){d=d-0x6b;var f=c[d];return f;},a84d(a,b);}a84a();import a84e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a84i(0x80)]({'name':'local-config','usage':a84i(0x73),'examples':['maka\x20set:lc\x20<opts>',a84i(0x73)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':'Set\x20local\x20maka\x20app\x20settings','validOpts':[],'description':a84i(0x75)},async function(){var j=a84i;Log[j(0x74)](j(0x7b));},a84e);
@@ -1 +1 @@
1
- const a85h=a85d;(function(a,b){const f=a85d,c=a();while(!![]){try{const d=parseInt(f(0x7a))/0x1*(parseInt(f(0x69))/0x2)+parseInt(f(0x70))/0x3*(-parseInt(f(0x76))/0x4)+-parseInt(f(0x6e))/0x5*(-parseInt(f(0x6f))/0x6)+-parseInt(f(0x77))/0x7*(-parseInt(f(0x7c))/0x8)+parseInt(f(0x72))/0x9+-parseInt(f(0x75))/0xa+-parseInt(f(0x6d))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0x41f14));const a85b=(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;};}()),a85a=a85b(this,function(){const g=a85d;return a85a['toString']()[g(0x6a)](g(0x79))['toString']()[g(0x6c)](a85a)[g(0x6a)]('(((.+)+)+)+$');});a85a();import{Command}from'../../command.js';function a85d(a,b){const c=a85c();return a85d=function(d,e){d=d-0x69;let f=c[d];return f;},a85d(a,b);}import{UsageError}from'../../error.js';const SetCommand=Command[a85h(0x71)]({'name':a85h(0x78),'usage':a85h(0x6b),'minArgLength':0x1,'shortDesc':a85h(0x73),'description':a85h(0x74),'validOpts':[]},async function(a,b){const i=a85h,c=a[0x0];if(b['help'])throw new UsageError();const d=this['findSubCommand'](c);d&&this[i(0x7b)](c,a,b);});export default SetCommand;function a85c(){const j=['maka\x20set:<sub-command>\x20<opts>','constructor','3374976VfuZqq','9850MRxTsv','1182bJNdFg','14640dAaEeH','create','525618nMVqJX','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','\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','1755980TAlFUR','324kjhrQG','849688XDfwAC','set','(((.+)+)+)+$','107883fCPuoI','runSubCommand','32anNHlL','4WUrLEL','search'];a85c=function(){return j;};return a85c();}
1
+ function a85d(a,b){const c=a85c();return a85d=function(d,e){d=d-0x101;let f=c[d];return f;},a85d(a,b);}const a85i=a85d;(function(a,b){const f=a85d,c=a();while(!![]){try{const d=-parseInt(f(0x105))/0x1+-parseInt(f(0x107))/0x2+-parseInt(f(0x10e))/0x3*(parseInt(f(0x104))/0x4)+parseInt(f(0x101))/0x5*(-parseInt(f(0x10a))/0x6)+-parseInt(f(0x109))/0x7+-parseInt(f(0x111))/0x8+-parseInt(f(0x10d))/0x9*(-parseInt(f(0x106))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0xe2780));const a85b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a85d;if(c){const e=c[g(0x110)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){const h=a85d;return a85a[h(0x103)]()['search'](h(0x108))[h(0x103)]()[h(0x10c)](a85a)['search']('(((.+)+)+)+$');});function a85c(){const k=['1729518BcCpyh','create','constructor','5598nOsGOG','9dMFFKR','maka\x20set:<sub-command>\x20<opts>','apply','5960648kkFRAk','set','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','15MzjfRE','help','toString','116932CXiFgn','1545923eBbohj','92990FOgHmw','2973668IiXuoA','(((.+)+)+)+$','882462jnbbyb'];a85c=function(){return k;};return a85c();}a85a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command[a85i(0x10b)]({'name':a85i(0x112),'usage':a85i(0x10f),'minArgLength':0x1,'shortDesc':a85i(0x113),'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=a85i,c=a[0x0];if(b[j(0x102)])throw new UsageError();const d=this['findSubCommand'](c);d&&this['runSubCommand'](c,a,b);});export default SetCommand;
@@ -1 +1 @@
1
- const a86l=a86d;(function(a,b){const j=a86d,c=a();while(!![]){try{const d=parseInt(j(0x1fe))/0x1+-parseInt(j(0x200))/0x2+parseInt(j(0x1fd))/0x3*(-parseInt(j(0x1ed))/0x4)+-parseInt(j(0x1f0))/0x5+parseInt(j(0x1f9))/0x6*(parseInt(j(0x1f1))/0x7)+parseInt(j(0x1ef))/0x8+parseInt(j(0x1f6))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0xb0c0e));const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const k=a86d;return a86a[k(0x1e8)]()[k(0x1e4)](k(0x201))[k(0x1e8)]()[k(0x1ee)](a86a)[k(0x1e4)](k(0x201));});a86a();function a86c(){const n=['2301432sZHFOx','99540MprLHZ','7EZUVrw','env','sshSync','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','maka\x20ssh\x20--env\x20staging','10017954suBGoU','assign','ssh.json','1515702AslLyr','readFileSync','fsi','maka\x20ssh\x20--env\x20prod','69LnzrTg','1341641rwNjvT','parse','1661668uEPTnX','(((.+)+)+)+$','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','search','length','create','getConfigPath','toString','error','maka\x20ssh\x20<command>','maka\x20ssh\x20--env\x20dev','exit','247012rmmUCc','constructor'];a86c=function(){return n;};return a86c();}import a86e from'fs';import a86f from'path';function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0x1e4;let f=c[d];return f;},a86d(a,b);}import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a86l(0x1e6)]({'name':'ssh','usage':a86l(0x1ea),'mustBeInMakaProject':!![],'requiredOpts':['env'],'validOpts':[a86l(0x1f2),'v'],'shortDesc':a86l(0x1f4),'examples':[a86l(0x1eb),a86l(0x1f5),a86l(0x1fc),a86l(0x202),'maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22']},async function(a,b){const m=a86l;try{const c=this[m(0x1fb)][m(0x1e7)](b[m(0x1f2)]);let d='';a[m(0x1e5)]>0x0&&(d=a[0x0]);const f=a86f['join'](c,m(0x1f8)),g=a86e[m(0x1fa)](f)[m(0x1e8)](),h=JSON[m(0x1ff)](g);Object[m(0x1f7)](h,{'env':c}),SSH[m(0x1f3)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['v']});}catch(i){console[m(0x1e9)](i),process[m(0x1ec)](0x0);}});
1
+ function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0xb8;let f=c[d];return f;},a86d(a,b);}const a86m=a86d;(function(a,b){const j=a86d,c=a();while(!![]){try{const d=parseInt(j(0xd5))/0x1+parseInt(j(0xcc))/0x2*(parseInt(j(0xc6))/0x3)+parseInt(j(0xb9))/0x4*(-parseInt(j(0xc4))/0x5)+parseInt(j(0xbf))/0x6+parseInt(j(0xc9))/0x7+parseInt(j(0xb8))/0x8+-parseInt(j(0xbe))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0x69dd3));const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a86d;if(c){const e=c[k(0xbc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const l=a86d;return a86a['toString']()[l(0xc7)]('(((.+)+)+)+$')['toString']()[l(0xc1)](a86a)[l(0xc7)](l(0xcd));});a86a();import a86e from'fs';import a86f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';function a86c(){const o=['865362GUxlmQ','readFileSync','constructor','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','length','752655ynLiHs','maka\x20ssh\x20--env\x20staging','36ldLXfG','search','env','123389WpDgiv','assign','maka\x20ssh\x20--env\x20prod','84764qocenU','(((.+)+)+)+$','maka\x20ssh\x20<command>','parse','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','getConfigPath','maka\x20ssh\x20--env\x20dev','error','244559dRvURr','join','1602200cKfegl','4VDMckL','create','ssh.json','apply','toString','4780098tfbFIq'];a86c=function(){return o;};return a86c();}Command[a86m(0xba)]({'name':'ssh','usage':a86m(0xce),'mustBeInMakaProject':!![],'requiredOpts':['env'],'validOpts':[a86m(0xc8),'v'],'shortDesc':a86m(0xd1),'examples':[a86m(0xd3),a86m(0xc5),a86m(0xcb),a86m(0xc2),'maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22',a86m(0xd0)]},async function(a,b){const n=a86m;try{const c=this['fsi'][n(0xd2)](b[n(0xc8)]);let d='';a[n(0xc3)]>0x0&&(d=a[0x0]);const f=a86f[n(0xd6)](c,n(0xbb)),g=a86e[n(0xc0)](f)[n(0xbd)](),h=JSON[n(0xcf)](g);Object[n(0xca)](h,{'env':c}),SSH['sshSync'](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['v']});}catch(i){console[n(0xd4)](i),process['exit'](0x0);}});
@@ -1 +1 @@
1
- const a87x=a87d;(function(a,b){const v=a87d,c=a();while(!![]){try{const d=-parseInt(v(0x1bb))/0x1*(-parseInt(v(0x1c6))/0x2)+parseInt(v(0x19d))/0x3*(parseInt(v(0x1b4))/0x4)+-parseInt(v(0x1d6))/0x5+-parseInt(v(0x1c4))/0x6*(parseInt(v(0x1a7))/0x7)+parseInt(v(0x1a5))/0x8*(-parseInt(v(0x1d7))/0x9)+parseInt(v(0x1bd))/0xa+-parseInt(v(0x1c8))/0xb*(-parseInt(v(0x1d3))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0xd4ef3));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 w=a87d;return a87a['toString']()[w(0x1af)](w(0x19b))['toString']()[w(0x1be)](a87a)['search'](w(0x19b));});a87a();import a87e from'fs';import a87f from'path';import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';function a87d(a,b){const c=a87c();return a87d=function(d,e){d=d-0x19a;let f=c[d];return f;},a87d(a,b);}import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command['create']({'name':a87x(0x1cb),'usage':a87x(0x1ab),'validOpts':[a87x(0x1d8),a87x(0x1c7)],'requiredOpts':[a87x(0x1cf)],'shortDesc':'Create\x20and\x20manage\x20your\x20SSL\x20operations.','mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a87x(0x1a4),a87x(0x1bf),'maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process']},async function(a,b){const y=a87x,c=this[y(0x1d0)][y(0x1d5)](),d=this[y(0x1d0)]['getConfigPath'](b[y(0x1cf)]),f=this[y(0x1d0)][y(0x1c9)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===y(0x1ce))SSL[y(0x1a1)]({'keyName':c['appName']+y(0x19f),'csrName':c[y(0x1d4)]+y(0x1b1),'cwd':f});else{if(g===y(0x1ad)){if(!a87e['existsSync'](a87f[y(0x1a9)](f,c[y(0x1d4)]+y(0x19f))))throw'The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20'+a87f['join'](f,c[y(0x1d4)]+'.key');if(!a87e[y(0x1a2)](a87f['join'](f,c['appName']+y(0x1b1))))throw y(0x1cc)+a87f[y(0x1a9)](f,c[y(0x1d4)]+y(0x1b1));SSL[y(0x1c0)]({'keyName':c[y(0x1d4)]+y(0x19f),'crtName':c[y(0x1d4)]+y(0x1b6),'cwd':f}),Log[y(0x1c3)](y(0x1cd)+f);}else{if(g===y(0x1c5)){let h=b[y(0x1d8)],i=b[y(0x1c7)];try{const p=a87e['readFileSync'](a87f[y(0x1a9)](d,y(0x1ca)))[y(0x1b7)](),q=JSON[y(0x19e)](p);h=b[y(0x1d8)]?b[y(0x1d8)]:q[y(0x1b3)],i=b[y(0x1c7)]?b[y(0x1c7)]:q['emailUpdate'],(!b[y(0x1c7)]||!b[y(0x1d8)])&&Log[y(0x1c3)](y(0x1b8));}catch(r){}const j=JSON['parse'](a87e[y(0x1d2)](d+'/ssh.json')[y(0x1b7)]());Object[y(0x19a)](j,{'env':d}),Log[y(0x1c3)](y(0x1b5));try{const s=SSH[y(0x1bc)]('uname\x20-a',j);if(!s)throw y(0x19c);if(s)Log[y(0x1a6)]('Remote\x20host\x20connection\x20successful');}catch(t){Log[y(0x1ac)](t);return;}const k=Log[y(0x1b9)]();k['start'](y(0x1c2)),SSH[y(0x1d1)](y(0x1aa),{...j}),SSH[y(0x1d1)]('sudo\x20snap\x20install\x20--classic\x20certbot',{...j}),SSH['ssh'](y(0x1a3),{...j}),k[y(0x1a6)]();const l=h?h:await Actions[y(0x1b2)](y(0x1ae)),m=i?i:await Actions[y(0x1b2)](y(0x1a0));SSH['ssh'](y(0x1b0)+l+y(0x1ba)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[y(0x1c1)](n,null,0x2);a87e[y(0x1d9)](a87f[y(0x1a9)](d,y(0x1ca)),o);}else throw'Please\x20provide\x20a\x20command.';}}}catch(u){console['error'](u),process[y(0x1a8)](0x0);}});function a87c(){const z=['11YCeXsw','mkKeysDir','letsencrypt.json','ssl','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','New\x20CSR\x20written\x20to\x20','generate-csr','env','fsi','ssh','readFileSync','2801124koTHTk','appName','getProjectConfig','1371700ZIccOb','567513nKTvVM','domains','writeFileSync','assign','(((.+)+)+)+$','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','1913277zIZgsP','parse','.key','Email\x20to\x20use\x20for\x20auto-updates:\x20','genCSR','existsSync','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','maka\x20ssl\x20--env\x20dev\x20generate-csr','72APBQgz','success','14CSGDpK','exit','join','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','maka\x20ssl\x20[command]','error','generate-ssc','[?]\x20Domains\x20to\x20register:\x20','search','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','.csr','ask','domainNames','4NtiFVl','Checking\x20remote\x20host\x20availability','.crt','toString','Using\x20saved\x20letsencrypt\x20config','withSpinner','\x20--email\x20','1042255uHVPoL','ping','7068850kTZlRG','constructor','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','genSSC','stringify','Verifying\x20Letsencrypt\x20configuration','notice','2718882rWIkzj','letsencrypt','2PmblBc','email'];a87c=function(){return z;};return a87c();}
1
+ const a87y=a87d;(function(a,b){const v=a87d,c=a();while(!![]){try{const d=parseInt(v(0xa6))/0x1*(parseInt(v(0xb9))/0x2)+-parseInt(v(0xdb))/0x3+parseInt(v(0xba))/0x4+-parseInt(v(0xbe))/0x5+-parseInt(v(0x9f))/0x6+-parseInt(v(0xc2))/0x7*(-parseInt(v(0xb5))/0x8)+parseInt(v(0xd9))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0xcded2));const a87b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a87d;if(c){const e=c[w(0xbb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){const x=a87d;return a87a[x(0xb4)]()['search']('(((.+)+)+)+$')[x(0xb4)]()[x(0xd8)](a87a)[x(0xbd)]('(((.+)+)+)+$');});a87a();import a87e from'fs';import a87f from'path';import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';function a87c(){const A=['27756dWPrUo','parse','.csr','join','ssh','genSSC','generate-ssc','writeFileSync','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','getProjectConfig','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','create','uname\x20-a','env','toString','885424hXZWgn','domains','ssl','New\x20CSR\x20written\x20to\x20','94aqynTN','1874088yeLMOd','apply','ask','search','434375OCzgUx','Checking\x20remote\x20host\x20availability','Remote\x20host\x20connection\x20successful','letsencrypt.json','7bMgvKC','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','exit','maka\x20ssl\x20--env\x20dev\x20generate-csr','fsi','appName','generate-csr','Create\x20and\x20manage\x20your\x20SSL\x20operations.','genCSR','error','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','Using\x20saved\x20letsencrypt\x20config','\x20--email\x20','.key','maka\x20ssl\x20[command]','Please\x20provide\x20a\x20command.','success','readFileSync','stringify','Email\x20to\x20use\x20for\x20auto-updates:\x20','.crt','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','constructor','8958600GDeegi','email','4254204ZKAPep','3184290OiYtGK','getConfigPath','notice','emailUpdate','/ssh.json','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','existsSync'];a87c=function(){return A;};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-0x9f;let f=c[d];return f;},a87d(a,b);}import{SSL}from'../tools/ssl/ssl.class.js';Command[a87y(0xb1)]({'name':a87y(0xb7),'usage':a87y(0xd0),'validOpts':[a87y(0xb6),'email'],'requiredOpts':[a87y(0xb3)],'shortDesc':a87y(0xc9),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a87y(0xc5),a87y(0xd7),a87y(0xc3)]},async function(a,b){const z=a87y,c=this[z(0xc6)][z(0xaf)](),d=this[z(0xc6)][z(0xa0)](b['env']),f=this[z(0xc6)]['mkKeysDir']({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0xc8))SSL[z(0xca)]({'keyName':c[z(0xc7)]+z(0xcf),'csrName':c[z(0xc7)]+z(0xa8),'cwd':f});else{if(g===z(0xac)){if(!a87e[z(0xa5)](a87f[z(0xa9)](f,c['appName']+z(0xcf))))throw'The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20'+a87f['join'](f,c[z(0xc7)]+z(0xcf));if(!a87e['existsSync'](a87f[z(0xa9)](f,c[z(0xc7)]+'.csr')))throw z(0xa4)+a87f[z(0xa9)](f,c['appName']+'.csr');SSL[z(0xab)]({'keyName':c[z(0xc7)]+z(0xcf),'crtName':c[z(0xc7)]+z(0xd6),'cwd':f}),Log[z(0xa1)](z(0xb8)+f);}else{if(g==='letsencrypt'){let h=b[z(0xb6)],i=b['email'];try{const p=a87e[z(0xd3)](a87f[z(0xa9)](d,z(0xc1)))[z(0xb4)](),q=JSON[z(0xa7)](p);h=b[z(0xb6)]?b[z(0xb6)]:q['domainNames'],i=b[z(0xda)]?b['email']:q[z(0xa2)],(!b['email']||!b[z(0xb6)])&&Log[z(0xa1)](z(0xcd));}catch(r){}const j=JSON[z(0xa7)](a87e[z(0xd3)](d+z(0xa3))[z(0xb4)]());Object['assign'](j,{'env':d}),Log[z(0xa1)](z(0xbf));try{const s=SSH['ping'](z(0xb2),j);if(!s)throw z(0xcc);if(s)Log[z(0xd2)](z(0xc0));}catch(t){Log[z(0xcb)](t);return;}const k=Log['withSpinner']();k['start']('Verifying\x20Letsencrypt\x20configuration'),SSH['ssh'](z(0xae),{...j}),SSH[z(0xaa)]('sudo\x20snap\x20install\x20--classic\x20certbot',{...j}),SSH[z(0xaa)](z(0xb0),{...j}),k['success']();const l=h?h:await Actions[z(0xbc)]('[?]\x20Domains\x20to\x20register:\x20'),m=i?i:await Actions[z(0xbc)](z(0xd5));SSH['ssh']('sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20'+l+z(0xce)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0xd4)](n,null,0x2);a87e[z(0xad)](a87f[z(0xa9)](d,z(0xc1)),o);}else throw z(0xd1);}}}catch(u){console[z(0xcb)](u),process[z(0xc4)](0x0);}});
@@ -1 +1 @@
1
- const a88q=a88d;(function(a,b){const m=a88d,c=a();while(!![]){try{const d=parseInt(m(0xb2))/0x1*(parseInt(m(0xd7))/0x2)+parseInt(m(0xa1))/0x3+parseInt(m(0xb8))/0x4+parseInt(m(0xa5))/0x5*(parseInt(m(0xa2))/0x6)+parseInt(m(0x9c))/0x7*(-parseInt(m(0xd1))/0x8)+parseInt(m(0xcc))/0x9+-parseInt(m(0xc8))/0xa*(parseInt(m(0xa0))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x3316e));function a88c(){const t=['engines','driverPackage','apply','config.json','8zLevAt','maka\x20test\x20<opts>','once','parse','error','3549SmsHlm','config','argv','mocha','30327bIMjAz','354042WXPiRW','369582FmYYcW','testAppPath','packages','10UaivIc','isFile','--full-app','concat','slice','notice','driver','warn','toString','--driver','none','search','sanjo:jasmine','30827DZbdSH','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','unit','--env','--packages','openSync','139924aJRALX','process.env','utf8','test-packages','jasmine','exit','--driver-package','join','meteortesting:mocha','test','env','splice','filter','Meteor\x20Settings:\x20','fsi','driver-package','1180wLGevt','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','--settings','Node\x20Env\x20Config:\x20','3237228UEXWwR','Cannot\x20find\x20Node\x20Environment\x20File:\x20','invokeMeteorCommand','(((.+)+)+)+$','readFileSync','3544uPuDYP','forEach'];a88c=function(){return t;};return a88c();}const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a88d;if(c){const e=c[n(0xd5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const o=a88d;return a88a[o(0xad)]()[o(0xb0)]('(((.+)+)+)+$')[o(0xad)]()['constructor'](a88a)[o(0xb0)](o(0xcf));});a88a();import a88e from'fs';import a88f from'path';import a88g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x9a;let f=c[d];return f;},a88d(a,b);}const syncSource=function(a){const p=a88d;a88e[p(0xb7)](a,'r'),a88g[p(0x9d)]({'path':a});};Command['create']({'name':'test','mustBeInMakaProject':!![],'validOpts':[a88q(0xd9),a88q(0xa4),a88q(0xab),a88q(0xd4),a88q(0xb4),a88q(0xc2),'rawLogs','port','inspect',a88q(0xa3)],'usage':a88q(0xd8),'shortDesc':'Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','examples':[]},function(a,b){const r=a88q;try{let c=this[r(0xc6)]['getConfigPath']('development');b[r(0xc2)]&&(c=this[r(0xc6)]['getConfigPath'](b[r(0xc2)]));(!b['unit']||!!b[r(0xd9)])&&(a=a[r(0xa8)]([r(0xa7)]));b[r(0xb4)]&&delete b[r(0xb4)];let d=b[r(0xc7)]||b[r(0xab)]||'none';if(d===r(0xaf)){const j=JSON[r(0x9a)](a88e[r(0xd0)](a88f[r(0xbf)](this[r(0xc6)]['findProjectDirectory'](),'.maka',r(0xd6)),r(0xba)));if(j[r(0xd3)][r(0xc1)]===r(0xbc))d=r(0xb1);else j['engines'][r(0xc1)]===r(0x9f)&&(d=r(0xc0));}if(d===r(0xaf))throw r(0xc9);(!b[r(0xc7)]||!b[r(0xab)])&&(a=a['concat']([r(0xbe),d]));const f=a88f[r(0xbf)](c,'settings.json');this[r(0xc6)][r(0xa6)](f)?(Log['notice'](r(0xc5)+f),a=a[r(0xa8)]([r(0xca),f])):Log['warn'](r(0xb3)+f);const g=a88f['join'](c,r(0xb9));this['fsi'][r(0xa6)](g)?(Log[r(0xaa)](r(0xcb)+g),syncSource(g)):Log[r(0xac)](r(0xcd)+g);const h=process[r(0x9e)][r(0xa9)](0x2)[r(0xc4)](k=>k!==r(0xb5))[r(0xc4)](k=>k!==r(0xc1))[r(0xc4)](k=>k!==a[0x0]);h[r(0xd2)]((k,l)=>{const s=r;(k===s(0xb5)||k===s(0xae))&&h[s(0xc3)](l,0x2),k===s(0xb6)&&h[s(0xc3)](l,0x1);});const i=b['packages']?r(0xbb):r(0xc1);this['fsi'][r(0xce)](i,a[r(0xa8)](h));}catch(k){console[r(0x9b)](k),process[r(0xbd)](0x0);}});
1
+ const a88o=a88d;(function(a,b){const m=a88d,c=a();while(!![]){try{const d=-parseInt(m(0x16a))/0x1*(-parseInt(m(0x170))/0x2)+-parseInt(m(0x15d))/0x3*(-parseInt(m(0x173))/0x4)+-parseInt(m(0x17b))/0x5+parseInt(m(0x149))/0x6*(-parseInt(m(0x15c))/0x7)+parseInt(m(0x165))/0x8+parseInt(m(0x17f))/0x9+-parseInt(m(0x16b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x71eb4));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 n=a88d;return a88a['toString']()['search'](n(0x168))['toString']()[n(0x14e)](a88a)[n(0x183)](n(0x168));});a88a();import a88e from'fs';import a88f from'path';function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x148;let f=c[d];return f;},a88d(a,b);}import a88g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){a88e['openSync'](a,'r'),a88g['config']({'path':a});};Command[a88o(0x162)]({'name':a88o(0x159),'mustBeInMakaProject':!![],'validOpts':[a88o(0x177),a88o(0x172),a88o(0x154),a88o(0x15e),a88o(0x152),a88o(0x14a),a88o(0x166),a88o(0x17c),'inspect',a88o(0x153)],'usage':'maka\x20test\x20<opts>','shortDesc':a88o(0x15b),'examples':[]},function(a,b){const p=a88o;try{let c=this[p(0x14c)]['getConfigPath'](p(0x148));b[p(0x14a)]&&(c=this['fsi'][p(0x176)](b['env']));(!b[p(0x152)]||!!b[p(0x177)])&&(a=a['concat']([p(0x157)]));b[p(0x152)]&&delete b[p(0x152)];let d=b[p(0x17d)]||b[p(0x154)]||'none';if(d===p(0x14f)){const j=JSON['parse'](a88e['readFileSync'](a88f[p(0x15f)](this[p(0x14c)][p(0x16e)](),'.maka',p(0x179)),p(0x171)));if(j[p(0x167)]['test']===p(0x178))d=p(0x175);else j[p(0x167)]['test']==='mocha'&&(d=p(0x155));}if(d===p(0x14f))throw p(0x174);(!b[p(0x17d)]||!b[p(0x154)])&&(a=a[p(0x182)]([p(0x160),d]));const f=a88f['join'](c,'settings.json');this[p(0x14c)][p(0x14b)](f)?(Log[p(0x17e)]('Meteor\x20Settings:\x20'+f),a=a[p(0x182)](['--settings',f])):Log[p(0x181)](p(0x16f)+f);const g=a88f['join'](c,p(0x163));this['fsi'][p(0x14b)](g)?(Log[p(0x17e)](p(0x161)+g),syncSource(g)):Log[p(0x181)](p(0x14d)+g);const h=process[p(0x15a)][p(0x16d)](0x2)[p(0x151)](k=>k!==p(0x180))[p(0x151)](k=>k!==p(0x159))[p(0x151)](k=>k!==a[0x0]);h['forEach']((k,l)=>{const q=p;(k===q(0x180)||k===q(0x16c))&&h['splice'](l,0x2),k===q(0x169)&&h[q(0x156)](l,0x1);});const i=b[p(0x172)]?p(0x164):p(0x159);this['fsi'][p(0x158)](i,a[p(0x182)](h));}catch(k){console[p(0x150)](k),process[p(0x17a)](0x0);}});function a88c(){const r=['port','driver-package','notice','1668798GpALAL','--env','warn','concat','search','development','5352zYAXoy','env','isFile','fsi','Cannot\x20find\x20Node\x20Environment\x20File:\x20','constructor','none','error','filter','unit','testAppPath','driver','meteortesting:mocha','splice','--full-app','invokeMeteorCommand','test','argv','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','721GXleVN','20766CuUHaV','driverPackage','join','--driver-package','Node\x20Env\x20Config:\x20','create','process.env','test-packages','1386528HAwQAg','rawLogs','engines','(((.+)+)+)+$','--packages','2nfsBXT','6644880fywHDL','--driver','slice','findProjectDirectory','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','900966NHLzww','utf8','packages','352itDqvy','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','sanjo:jasmine','getConfigPath','once','jasmine','config.json','exit','3229320rSTYiW'];a88c=function(){return r;};return a88c();}
@@ -1 +1 @@
1
- const a89l=a89d;(function(a,b){const i=a89d,c=a();while(!![]){try{const d=parseInt(i(0xa7))/0x1*(-parseInt(i(0x80))/0x2)+parseInt(i(0x7b))/0x3*(parseInt(i(0xa2))/0x4)+parseInt(i(0x9a))/0x5+parseInt(i(0x92))/0x6+-parseInt(i(0x9d))/0x7*(-parseInt(i(0x9f))/0x8)+parseInt(i(0x84))/0x9*(parseInt(i(0x7d))/0xa)+parseInt(i(0x93))/0xb*(-parseInt(i(0x9e))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x7b591));function a89c(){const n=['5155818DKZTxX','176473cmUYMH','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','isMakaProject','meteor.bat','bright','meteor','3190880gGObSP','apply','majestic','1423492hAwIkJ','564dAtkMO','16yIYbEm','\x20node\x20-v','----------------------System----------------------------','8ARESCM','compareMakaToLatest','warn','----------------------Project----------------------------','maka\x20v','71WGcDCP','version','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','N/A','\x0a\x20To\x20get\x20the\x20mongo\x20version\x20in\x20use\x20by\x20meteor:\x0a\x201)\x20Run\x20the\x20project,\x20\x22maka\x20run\x22\x0a\x202)\x20In\x20a\x20new\x20terminal\x20open\x20the\x20mongo\x20shell,\x20\x22maka\x20mongo\x22','(((.+)+)+)+$','System\x27s\x20Node\x20Version\x20','83193eWWKBK','toString','903200KjjHiQ','Maka\x20','notice','24818WYsZtS','fsi','maka\x20version','Project\x27s\x20Meteor\x20Version\x20','18mrMEcV','node\x20-v','replace','error','search','win32','System\x27s\x20Meteor\x20Version\x20','platform','getProjectMeteorVersion','constructor','getProjectsMeteorNodeVersion','Project\x27s\x20Meteor\x20Node\x20Version\x20','getGlobalMeteorVersion','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.'];a89c=function(){return n;};return a89c();}const a89b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a89d;if(c){const e=c[j(0x9b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){const k=a89d;return a89a[k(0x7c)]()[k(0x88)](k(0x79))[k(0x7c)]()[k(0x8d)](a89a)[k(0x88)](k(0x79));});function a89d(a,b){const c=a89c();return a89d=function(d,e){d=d-0x75;let f=c[d];return f;},a89d(a,b);}a89a();import{execSync}from'child_process';import a89e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':'4.5.28'};Command['create']({'name':a89l(0x75),'aliases':['v'],'usage':a89l(0x82),'maxArgLength':0x1,'validOpts':[],'shortDesc':a89l(0x76),'examples':[a89l(0xa6),a89l(0x82)]},async function(){const m=a89l;try{const a=process[m(0x8b)]===m(0x89)?m(0x97):m(0x99);Log[m(0x9c)](m(0x7e)+pjson[m(0x75)]),await this[m(0x81)][m(0xa3)](),Log[m(0x98)](m(0xa1));const b=this[m(0x81)][m(0x90)]();Log[m(0x98)]((m(0x8a)+b)[m(0x86)]('\x0a',''));const c=execSync(a+m(0xa0))[m(0x7c)]()[m(0x86)](/\r?\n|\r/,'')[m(0x86)]('v','');Log['bright'](m(0x94)+c);const d=execSync(m(0x85))[m(0x7c)]()[m(0x86)](/\r?\n|\r/,'')[m(0x86)]('v','');a89e['gt'](c,d)?(Log['warn'](m(0x7a)+d),Log['warn'](m(0x95)+d+')\x20to\x20at\x20least\x20meteor\x27s\x20('+c+')')):Log['bright']('System\x27s\x20Node\x20Version\x20'+d);if(this['fsi'][m(0x96)]()){Log['bright'](m(0xa5));const f=this['fsi'][m(0x8c)]();a89e['gt'](b,f)?(Log[m(0xa4)](m(0x83)+f[m(0x86)]('\x0a','')),Log[m(0xa4)]('\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20'+b+'\x22')):Log[m(0x7f)]((m(0x83)+f)[m(0x86)]('\x0a',''));const g=await this[m(0x81)][m(0x8e)]();g===m(0x77)?(Log[m(0xa4)](m(0x8f)+g),Log[m(0xa4)](m(0x91))):Log[m(0x98)](m(0x8f)+g),Log['bright'](m(0x78));}}catch(h){console[m(0x87)](h),process['exit'](0x0);}});
1
+ function a89d(a,b){const c=a89c();return a89d=function(d,e){d=d-0xf5;let f=c[d];return f;},a89d(a,b);}const a89m=a89d;(function(a,b){const k=a89d,c=a();while(!![]){try{const d=parseInt(k(0x110))/0x1+-parseInt(k(0xfd))/0x2*(parseInt(k(0x11d))/0x3)+parseInt(k(0x124))/0x4+-parseInt(k(0x100))/0x5*(parseInt(k(0x10d))/0x6)+parseInt(k(0x11f))/0x7*(-parseInt(k(0x11b))/0x8)+parseInt(k(0x10f))/0x9*(parseInt(k(0x111))/0xa)+parseInt(k(0xfc))/0xb*(parseInt(k(0x121))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x8f958));const a89b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){const l=a89d;return a89a[l(0xf7)]()[l(0x105)]('(((.+)+)+)+$')[l(0xf7)]()[l(0x10a)](a89a)[l(0x105)](l(0x117));});a89a();function a89c(){const o=['242622MXMthe',')\x20to\x20at\x20least\x20meteor\x27s\x20(','10475883uVlbJS','222097iygqfd','10jArrzj','meteor','replace','warn','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','\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','(((.+)+)+)+$','exit','\x0a\x20To\x20get\x20the\x20mongo\x20version\x20in\x20use\x20by\x20meteor:\x0a\x201)\x20Run\x20the\x20project,\x20\x22maka\x20run\x22\x0a\x202)\x20In\x20a\x20new\x20terminal\x20open\x20the\x20mongo\x20shell,\x20\x22maka\x20mongo\x22','version','11768QagEmR','getGlobalMeteorVersion','29691yDedhv','node\x20-v','5537jsoIan','Project\x27s\x20Meteor\x20Node\x20Version\x20','1259784IRcTeR','maka\x20version','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','2183684HYyxAo','----------------------System----------------------------','bright','N/A','error','toString','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','verbose','fsi','platform','55pnOzem','118oYqJwq','win32','majestic','15zNkZTy','Project\x27s\x20Meteor\x20Version\x20','maka\x20v','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','----------------------Project----------------------------','search','notice','Maka\x20','maka\x20version\x20--verbose','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','constructor','4.5.30','System\x27s\x20Meteor\x20Version\x20'];a89c=function(){return o;};return a89c();}import{execSync}from'child_process';import a89e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':a89m(0x10b)};Command['create']({'name':a89m(0x11a),'aliases':['v'],'usage':a89m(0x122),'maxArgLength':0x1,'validOpts':[a89m(0xf9)],'shortDesc':a89m(0x115),'examples':[a89m(0x102),a89m(0x122),a89m(0x108)],'description':a89m(0x116)},async function(a,b){const n=a89m;try{const c=process[n(0xfb)]===n(0xfe)?'meteor.bat':n(0x112);Log[n(0xff)](n(0x107)+pjson[n(0x11a)]);if(b[n(0xf9)]){await this['fsi']['compareMakaToLatest'](),Log['bright'](n(0x125));const d=this[n(0xfa)][n(0x11c)]();Log[n(0x126)]((n(0x10c)+d)[n(0x113)]('\x0a',''));const f=execSync(c+'\x20node\x20-v')[n(0xf7)]()[n(0x113)](/\r?\n|\r/,'')[n(0x113)]('v','');Log['bright'](n(0x109)+f);const g=execSync(n(0x11e))[n(0xf7)]()[n(0x113)](/\r?\n|\r/,'')[n(0x113)]('v','');a89e['gt'](f,g)?(Log[n(0x114)]('System\x27s\x20Node\x20Version\x20'+g),Log['warn'](n(0x103)+g+n(0x10e)+f+')')):Log['bright']('System\x27s\x20Node\x20Version\x20'+g);if(this[n(0xfa)]['isMakaProject']()){Log['bright'](n(0x104));const h=this[n(0xfa)]['getProjectMeteorVersion']();a89e['gt'](d,h)?(Log['warn'](n(0x101)+h[n(0x113)]('\x0a','')),Log[n(0x114)](n(0x123)+d+'\x22')):Log[n(0x106)]((n(0x101)+h)[n(0x113)]('\x0a',''));const i=await this[n(0xfa)]['getProjectsMeteorNodeVersion']();i===n(0xf5)?(Log[n(0x114)](n(0x120)+i),Log['warn'](n(0xf8))):Log[n(0x126)](n(0x120)+i),Log['bright'](n(0x119));}}}catch(j){console[n(0xf6)](j),process[n(0x118)](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a90d,c=a();while(!![]){try{var d=parseInt(f(0xfa))/0x1+parseInt(f(0xf0))/0x2+-parseInt(f(0xf1))/0x3*(parseInt(f(0xfb))/0x4)+-parseInt(f(0xf7))/0x5+parseInt(f(0xf3))/0x6*(parseInt(f(0xf2))/0x7)+-parseInt(f(0xef))/0x8+parseInt(f(0xf4))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0xce308));var a90b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a90d;if(c){var e=c[g(0xf9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){var h=a90d;return a90a[h(0xf5)]()[h(0xee)](h(0xf6))['toString']()[h(0xf8)](a90a)[h(0xee)](h(0xf6));});a90a();export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}function a90d(a,b){var c=a90c();return a90d=function(d,e){d=d-0xee;var f=c[d];return f;},a90d(a,b);}function a90c(){var i=['956xptLTd','search','8352640YfqUbO','1314876hUICsp','1959ncVHYG','39914NPHqOZ','678dYroQi','11671164mNJVIj','toString','(((.+)+)+)+$','4549235vweekp','constructor','apply','355986ogRnjM'];a90c=function(){return i;};return a90c();}
1
+ (function(a,b){var f=a90d,c=a();while(!![]){try{var d=-parseInt(f(0x114))/0x1*(parseInt(f(0x10d))/0x2)+parseInt(f(0x10e))/0x3+parseInt(f(0x115))/0x4+-parseInt(f(0x110))/0x5+parseInt(f(0x10f))/0x6*(parseInt(f(0x111))/0x7)+parseInt(f(0x116))/0x8+-parseInt(f(0x118))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0x5569d));var a90b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a90d;if(c){var e=c[g(0x112)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){var h=a90d;return a90a[h(0x117)]()[h(0x119)](h(0x113))[h(0x117)]()['constructor'](a90a)[h(0x119)](h(0x113));});function a90d(a,b){var c=a90c();return a90d=function(d,e){d=d-0x10d;var f=c[d];return f;},a90d(a,b);}a90a();export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}function a90c(){var i=['5306176VlPAsF','toString','8802324vdQOST','search','203258wNKveY','1301025iIzMoC','296802sDynil','774010HvtIUB','28jmxGiZ','apply','(((.+)+)+)+$','2mfxvOW','1564536gcwRgt'];a90c=function(){return i;};return a90c();}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- function a91c(){var j=['env','13006mJYmhs','1163460TrGMGw','7ahbzGM','toString','749283tEzWcg','4ztygCw','apply','2891140hWGNqX','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','search','11MoQKWn','2202326tlyMYm','5SRozXx','NODE_OPTIONS','6813216IpMYaV','95877fvMuLA','(((.+)+)+)+$','208idvxpE'];a91c=function(){return j;};return a91c();}var a91i=a91d;(function(a,b){var f=a91d,c=a();while(!![]){try{var d=parseInt(f(0x16e))/0x1*(-parseInt(f(0x16c))/0x2)+-parseInt(f(0x170))/0x3*(parseInt(f(0x171))/0x4)+parseInt(f(0x165))/0x5*(parseInt(f(0x16d))/0x6)+parseInt(f(0x177))/0x7+parseInt(f(0x16a))/0x8*(parseInt(f(0x168))/0x9)+parseInt(f(0x173))/0xa*(parseInt(f(0x176))/0xb)+-parseInt(f(0x167))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0x33a72));var a91b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a91d;if(c){var e=c[g(0x172)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){var h=a91d;return a91a[h(0x16f)]()['search'](h(0x169))[h(0x16f)]()['constructor'](a91a)[h(0x175)](h(0x169));});a91a(),process[a91i(0x16b)][a91i(0x166)]=a91i(0x174);function a91d(a,b){var c=a91c();return a91d=function(d,e){d=d-0x165;var f=c[d];return f;},a91d(a,b);}import'./maka.js';
2
+ var a91i=a91d;(function(a,b){var f=a91d,c=a();while(!![]){try{var d=parseInt(f(0xd3))/0x1+parseInt(f(0xcd))/0x2*(parseInt(f(0xcf))/0x3)+-parseInt(f(0xd0))/0x4*(-parseInt(f(0xd4))/0x5)+parseInt(f(0xdc))/0x6*(-parseInt(f(0xdd))/0x7)+-parseInt(f(0xce))/0x8+parseInt(f(0xcc))/0x9+-parseInt(f(0xdb))/0xa*(parseInt(f(0xd6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0xa9458));var a91b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a91d;if(c){var e=c[g(0xd7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){var h=a91d;return a91a[h(0xd5)]()[h(0xd8)](h(0xd1))[h(0xd5)]()[h(0xd2)](a91a)[h(0xd8)]('(((.+)+)+)+$');});function a91d(a,b){var c=a91c();return a91d=function(d,e){d=d-0xcc;var f=c[d];return f;},a91d(a,b);}function a91c(){var j=['env','20jIcoGm','8208762NODGgi','7SVwxUa','9294660OMdLNz','191926ECTMMw','10808904mBIvDU','12njnGPW','5318864AQKZsn','(((.+)+)+)+$','constructor','1119554NVyPjN','5CBtpNB','toString','2493073OclzDb','apply','search','--experimental-modules\x20--no-warnings\x20--experimental-json-modules'];a91c=function(){return j;};return a91c();}a91a(),process[a91i(0xda)]['NODE_OPTIONS']=a91i(0xd9);import'./maka.js';
@@ -1 +1 @@
1
- const a92u=a92d;(function(a,b){const q=a92d,c=a();while(!![]){try{const d=parseInt(q(0xc4))/0x1*(-parseInt(q(0x8a))/0x2)+parseInt(q(0xa6))/0x3*(parseInt(q(0xe6))/0x4)+-parseInt(q(0xb6))/0x5+-parseInt(q(0x9e))/0x6+parseInt(q(0xc6))/0x7+-parseInt(q(0x89))/0x8*(parseInt(q(0xca))/0x9)+parseInt(q(0xe1))/0xa*(parseInt(q(0xd9))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0xe6342));const a92b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a92d;if(c){const e=c[r(0xe2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){const s=a92d;return a92a['toString']()[s(0xe5)](s(0xc0))['toString']()[s(0x87)](a92a)[s(0xe5)](s(0xc0));});a92a();import a92e from'path';import a92f from'cli-table';function a92d(a,b){const c=a92c();return a92d=function(d,e){d=d-0x86;let f=c[d];return f;},a92d(a,b);}import{paramCase}from'change-case';import a92g from'./generators/maka.gen.js';import{Log}from'./tools/log/log.class.js';import{Tool}from'./tool.js';function a92c(){const F=['apply','Generator\x20requires\x20a\x20handler\x20function','root','search','4tkmmve','_handler','dir','minArgLength','function','validateMeteorInstall','constructor','bright','104wjtsDQ','5372wwTNBY','slice','roles','minOptsLength','pop','_generators','maxOptsLength','aliases','where','Generators:','usage','singleLicense','list','options','exit','colLocAnswer','sep','filter','cwd','push','4992846nIItHh','error','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','There\x20is\x20no\x20Meteor\x20application\x20here','proGenerators','listGenerators','getPro','2753769IVelLZ','Generator.create\x20requires\x20some\x20options!','Too\x20many\x20arguments','bind','appPathPrefix','number','No\x20resource\x20name\x20specified','match','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','Server','name','map','Name','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','checkWhere','fsi','5183685PdyDIK','domainLicense','Both','keys','maxArgLength','validateMakaSubscription','parent','assign','findProjectDirectory','forEach','(((.+)+)+)+$','Alias','sort','findGenerator','463zqbTAD','help','10707396nbIQEu','proFlags','server','tableList','691857VjfWfl','addGenerator','lib','join','mustHaveMeteorInstalled','toString','Too\x20few\x20arguments','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','resourceName','includes','call','invoke','client','Generator\x20requires\x20a\x20name','validateParams','11CcTPEN','Generator.create\x20requires\x20a\x20handler\x20function!','both','mustBeInMakaProject','Client','length','Please\x20run\x20\x22maka\x20install\x20meteor\x22','validateMakaProject','26072080ODQLfb'];a92c=function(){return F;};return a92c();}import{Actions}from'./tools/actions/actions.class.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError}from'./error.js';let _prevGen='';function inside(a='.',b){const t=a92d,c=process[t(0x9c)]();let d=null;try{process['chdir'](a),d=b();}finally{process['chdir'](c);}return d;}export class Generator extends Tool{[a92u(0x97)];[a92u(0x8f)];constructor(a,b){const v=a92u;super();if(!a)throw new Error(v(0xb3));if(!a[v(0xb0)])throw new Error(v(0xd7));if(typeof b!==v(0xea))throw new Error(v(0xe3));this[v(0x8f)]=[],this[v(0x97)]=Object[v(0xbd)]({},a),this[v(0xb0)]=this[v(0x97)][v(0xb0)],this['_handler']=b[v(0xa9)](this);}static['create'](a,b,c){const w=a92u;if(!a)throw new Error(w(0xa7));if(typeof b!==w(0xea))throw new Error(w(0xda));const d=new Generator(a,b);return c=c||a92g,Object[w(0xbd)](d,{'parent':c?.['options']?.['name']}),c['addGenerator'](d),d;}[a92u(0xcb)](a){const x=a92u;if(!(a instanceof Generator))throw new Error('addGenerator\x20requires\x20a\x20Generator\x20instance');this[x(0x8f)]['push'](a);}[a92u(0xc3)](a){const y=a92u,b=this[y(0x8f)]['find'](c=>c[y(0xad)](a));return b;}async[a92u(0xbb)](a,b){const z=a92u,c=this[z(0xc3)](a[0x0]);if(c){const d=c?.[z(0xb0)]||a[0x0],e=c?.[z(0xbc)]||'',f=Object[z(0xb9)](b),g=await this[z(0xb5)][z(0xa5)]();!g&&(Log[z(0x9f)](z(0xae)),process['exit'](0x1));const h=!g?.['roles'][z(0xd3)](z(0x95))&&!g?.[z(0x8c)]['includes'](z(0xb7)),i=g?.[z(0xa3)]['includes'](d)||g?.[z(0xa3)][z(0xd3)](e);if(i&&h)throw'To\x20use\x20this\x20generator,\x20\x22'+d+'\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27';if(f[z(0xde)]>0x0){const j=g?.[z(0xc7)][z(0x9b)](k=>f[z(0xd3)](k));if(j&&j[z(0xde)]>0x0&&h)throw'To\x20use\x20these\x20pro\x20flags,\x20\x22'+j?.[z(0xcd)](',\x20')+'\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27';}}}async[a92u(0xd5)](a,b){const A=a92u,{usage:usage='',description:description='',examples:examples=[],shortDesc:c,requiredOpts:requiredOpts=[],validOpts:d}=this[A(0x97)];try{await this[A(0xbb)](a,b);}catch(g){Log[A(0x9f)](g),process[A(0x98)](0x1);}const f=a[A(0x8b)]();b[A(0xd2)]=f[0x0];try{if((a[0x0]===_prevGen||a['length']===0x0)&&b[A(0xc5)])throw new UsageError();if(this[A(0x97)][A(0xdc)]){const h=this[A(0xe0)]();if(!h)throw new MustBeInProjectError();}if(this[A(0x97)][A(0xce)]){const i=this[A(0x86)]();if(!i)throw new NoMeteorFoundError();}if(typeof this[A(0x97)][A(0xe9)]==='number'){if(a[A(0xde)]<this['options'][A(0xe9)]){Log[A(0x9f)](A(0xd0));throw new UsageError();}}if(typeof this[A(0x97)]['maxArgLength']===A(0xab)){if(a[A(0xde)]>this[A(0x97)][A(0xba)]){Log[A(0x9f)](A(0xa8));throw new UsageError();}}if(typeof this[A(0x97)][A(0x8d)]===A(0xab)){if(Object[A(0xb9)](b)[A(0xde)]<this[A(0x97)][A(0x8d)]){Log[A(0x9f)]('Too\x20few\x20options');throw new UsageError();}}if(typeof this[A(0x97)][A(0x90)]===A(0xab)){if(Object['keys'](b)['length']>=this[A(0x97)][A(0x90)]){Log[A(0x9f)]('Too\x20many\x20options');throw new UsageError();}}this[A(0xd8)](a,b,this[A(0x97)]);if(!b['resourceName']&&!this['options']['noResource']){Log[A(0x9f)](A(0xac));throw new UsageError();}_prevGen=a[0x0];}catch(j){Log[A(0x94)](description,examples,usage,c,requiredOpts,d);if(j instanceof UsageError)this[A(0x8f)][A(0xde)]>0x0&&b[A(0xc5)]&&(Log['notice'](A(0x93)),this['tableList'](this[A(0x8f)]));else{if(j instanceof MustBeInProjectError)Log['error'](A(0xd1));else{if(j instanceof NoMeteorFoundError)Log[A(0x9f)](A(0xa0)),Log['notice'](A(0xdf));else{if(j instanceof NoMeteorAppFoundError)Log[A(0x9f)](A(0xa2));else throw j;}}}process['exit'](0x1);}return new Promise(k=>{inside(b['cwd'],async()=>{const B=a92d;try{if(!b[B(0xe4)]&&!this['fsi'][B(0xbe)]())throw new MustBeInProjectError();const l=b[B(0xd2)]?.['replace'](/\\/g,'/')['split']('/');!b[B(0xe8)]&&(l?.['length']>0x1?(b['resourceName']=l[B(0x8e)](),f[0x0]=b[B(0xd2)],b[B(0xe8)]=l[B(0xb1)](m=>{return paramCase(m);})['join'](a92e[B(0x9a)])):b[B(0xe8)]='');if(this['options'][B(0xb4)]){if(!b['where']){const n={'type':B(0x96),'name':B(0x99),'message':'Location','choices':[{'name':B(0xdd),'value':'client'},{'name':B(0xaf),'value':B(0xc8)},{'name':B(0xb8),'value':B(0xdb)}]},{colLocAnswer:o}=await Actions[B(0x97)](n);o?b[B(0x92)]=o:b['where']=B(0xdb);}const m=['both',B(0xd6),B(0xc8)];if(!m['includes'](b[B(0x92)])){Log[B(0x9f)](B(0xa1));throw new UsageError();}switch(b[B(0x92)]){case B(0xdb):b[B(0xaa)]=B(0xcc);break;case B(0xc8):b[B(0xaa)]=B(0xc8);break;case B(0xd6):b[B(0xaa)]=B(0xd6);break;default:b[B(0xaa)]='';}}k(this[B(0xe7)][B(0xd4)](this,f,b));}catch(p){console[B(0x9f)](p);}});});}[a92u(0xa4)](){const C=a92u;this['tableList'](this[C(0x8f)]);}[a92u(0xc9)](a){const D=a92u,b=new a92f({});b[D(0x9d)]([D(0xb2),D(0xc1),'Description']),a[D(0xc2)]()[D(0xbf)](c=>{const E=D;b[E(0x9d)]([c[E(0xb0)],c[E(0x91)](),c['shortDesc']()]);}),Log[D(0x88)](b[D(0xcf)]());}}
1
+ const a92t=a92d;(function(a,b){const q=a92d,c=a();while(!![]){try{const d=-parseInt(q(0x1a9))/0x1+parseInt(q(0x1c9))/0x2+parseInt(q(0x1ab))/0x3+-parseInt(q(0x1d7))/0x4*(parseInt(q(0x198))/0x5)+-parseInt(q(0x1b0))/0x6+parseInt(q(0x1ce))/0x7+-parseInt(q(0x181))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0x67d82));const a92b=(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;};}()),a92a=a92b(this,function(){const r=a92d;return a92a[r(0x183)]()[r(0x186)](r(0x1d1))[r(0x183)]()[r(0x1d5)](a92a)[r(0x186)]('(((.+)+)+)+$');});function a92d(a,b){const c=a92c();return a92d=function(d,e){d=d-0x178;let f=c[d];return f;},a92d(a,b);}a92a();import a92e from'path';import a92f from'cli-table';import{paramCase}from'change-case';import a92g 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';function a92c(){const F=['colLocAnswer','roles','1660514lCIZzz','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','checkWhere','_generators','125244CfQptY','Please\x20run\x20\x22maka\x20install\x20meteor\x22','validateMakaProject','(((.+)+)+)+$','replace','function','To\x20use\x20this\x20generator,\x20\x22','constructor','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','2624UCxbZV','notice','proFlags','dir','filter','forEach','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','cwd','There\x20is\x20no\x20Meteor\x20application\x20here','Too\x20few\x20options','tableList','Generators:','minArgLength','Description','Server','findProjectDirectory','Client','1493984LxAliV','Location','toString','number','shortDesc','search','lib','appPathPrefix','Both','split','parent','maxArgLength','getPro','call','validateMakaSubscription','No\x20resource\x20name\x20specified','both','singleLicense','map','invoke','domainLicense','pop','name','2025VFaFku','noResource','find','slice','options','match','resourceName','maxOptsLength','mustHaveMeteorInstalled','length','server','Generator\x20requires\x20a\x20handler\x20function','keys','addGenerator\x20requires\x20a\x20Generator\x20instance','_handler','Generator\x20requires\x20a\x20name','fsi','93658FYmLiD','minOptsLength','758604YQNThX','push','join','addGenerator','where','777510dDbEAH','error','includes','chdir','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','bind','create','client','sep','validateMeteorInstall','Alias','findGenerator','assign','validateParams','proGenerators','Name','usage','Generator.create\x20requires\x20a\x20handler\x20function!','exit','Too\x20few\x20arguments','help','aliases','root'];a92c=function(){return F;};return a92c();}import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError}from'./error.js';let _prevGen='';function inside(a='.',b){const s=a92d,c=process['cwd']();let d=null;try{process[s(0x1b3)](a),d=b();}finally{process[s(0x1b3)](c);}return d;}export class Generator extends Tool{[a92t(0x19c)];[a92t(0x1cd)];constructor(a,b){const u=a92t;super();if(!a)throw new Error(u(0x1ca));if(!a[u(0x197)])throw new Error(u(0x1a7));if(typeof b!==u(0x1d3))throw new Error(u(0x1a3));this[u(0x1cd)]=[],this[u(0x19c)]=Object[u(0x1bc)]({},a),this['name']=this['options'][u(0x197)],this[u(0x1a6)]=b[u(0x1b5)](this);}static[a92t(0x1b6)](a,b,c){const v=a92t;if(!a)throw new Error('Generator.create\x20requires\x20some\x20options!');if(typeof b!==v(0x1d3))throw new Error(v(0x1c1));const d=new Generator(a,b);return c=c||a92g,Object[v(0x1bc)](d,{'parent':c?.[v(0x19c)]?.[v(0x197)]}),c[v(0x1ae)](d),d;}[a92t(0x1ae)](a){const w=a92t;if(!(a instanceof Generator))throw new Error(w(0x1a5));this[w(0x1cd)][w(0x1ac)](a);}[a92t(0x1bb)](a){const x=a92t,b=this['_generators'][x(0x19a)](c=>c[x(0x19d)](a));return b;}async['validateMakaSubscription'](a,b){const y=a92t,c=this['findGenerator'](a[0x0]);if(c){const d=c?.[y(0x197)]||a[0x0],e=c?.[y(0x18b)]||'',f=Object[y(0x1a4)](b),g=await this[y(0x1a8)][y(0x18d)]();!g&&(Log[y(0x1b1)](y(0x1b4)),process[y(0x1c2)](0x1));const h=!g?.[y(0x1c8)][y(0x1b2)](y(0x192))&&!g?.[y(0x1c8)][y(0x1b2)](y(0x195)),i=g?.[y(0x1be)][y(0x1b2)](d)||g?.[y(0x1be)][y(0x1b2)](e);if(i&&h)throw y(0x1d4)+d+y(0x1d6);if(f[y(0x1a1)]>0x0){const j=g?.[y(0x1d9)][y(0x1db)](k=>f[y(0x1b2)](k));if(j&&j['length']>0x0&&h)throw'To\x20use\x20these\x20pro\x20flags,\x20\x22'+j?.['join'](',\x20')+y(0x1d6);}}}async[a92t(0x194)](a,b){const z=a92t,{usage:usage='',description:description='',examples:examples=[],shortDesc:c,requiredOpts:requiredOpts=[],validOpts:d}=this['options'];try{await this[z(0x18f)](a,b);}catch(g){Log[z(0x1b1)](g),process[z(0x1c2)](0x1);}const f=a[z(0x19b)]();b[z(0x19e)]=f[0x0];try{if((a[0x0]===_prevGen||a[z(0x1a1)]===0x0)&&b['help'])throw new UsageError();if(this['options']['mustBeInMakaProject']){const h=this[z(0x1d0)]();if(!h)throw new MustBeInProjectError();}if(this['options'][z(0x1a0)]){const i=this[z(0x1b9)]();if(!i)throw new NoMeteorFoundError();}if(typeof this[z(0x19c)][z(0x17c)]===z(0x184)){if(a[z(0x1a1)]<this['options'][z(0x17c)]){Log['error'](z(0x1c3));throw new UsageError();}}if(typeof this['options'][z(0x18c)]===z(0x184)){if(a['length']>this[z(0x19c)][z(0x18c)]){Log[z(0x1b1)]('Too\x20many\x20arguments');throw new UsageError();}}if(typeof this[z(0x19c)][z(0x1aa)]===z(0x184)){if(Object[z(0x1a4)](b)[z(0x1a1)]<this[z(0x19c)][z(0x1aa)]){Log[z(0x1b1)](z(0x179));throw new UsageError();}}if(typeof this[z(0x19c)][z(0x19f)]===z(0x184)){if(Object['keys'](b)[z(0x1a1)]>=this[z(0x19c)][z(0x19f)]){Log[z(0x1b1)]('Too\x20many\x20options');throw new UsageError();}}await this[z(0x1bd)](a,b,this['options']);if(!b[z(0x19e)]&&!this[z(0x19c)][z(0x199)]){Log['error'](z(0x190));throw new UsageError();}_prevGen=a[0x0];}catch(j){Log[z(0x1c0)](description,examples,usage,c,requiredOpts,d);if(j instanceof UsageError)this[z(0x1cd)][z(0x1a1)]>0x0&&b[z(0x1c4)]&&(Log['notice'](z(0x17b)),this[z(0x17a)](this['_generators']));else{if(j instanceof MustBeInProjectError)Log[z(0x1b1)](z(0x1cb));else{if(j instanceof NoMeteorFoundError)Log[z(0x1b1)](z(0x1dd)),Log[z(0x1d8)](z(0x1cf));else{if(j instanceof NoMeteorAppFoundError)Log[z(0x1b1)](z(0x178));else throw j;}}}process[z(0x1c2)](0x1);}return new Promise(k=>{const A=z;inside(b[A(0x1de)],async()=>{const B=A;try{if(!b[B(0x1c6)]&&!this[B(0x1a8)][B(0x17f)]())throw new MustBeInProjectError();const l=b[B(0x19e)]?.[B(0x1d2)](/\\/g,'/')[B(0x18a)]('/');!b[B(0x1da)]&&(l?.[B(0x1a1)]>0x1?(b[B(0x19e)]=l[B(0x196)](),f[0x0]=b[B(0x19e)],b['dir']=l[B(0x193)](m=>{return paramCase(m);})[B(0x1ad)](a92e[B(0x1b8)])):b[B(0x1da)]='');if(this[B(0x19c)][B(0x1cc)]){if(!b[B(0x1af)]){const n={'type':'list','name':B(0x1c7),'message':B(0x182),'choices':[{'name':B(0x180),'value':B(0x1b7)},{'name':B(0x17e),'value':B(0x1a2)},{'name':B(0x189),'value':B(0x191)}]},{colLocAnswer:o}=await Actions[B(0x19c)](n);o?b[B(0x1af)]=o:b[B(0x1af)]=B(0x191);}const m=[B(0x191),B(0x1b7),'server'];if(!m['includes'](b['where'])){Log[B(0x1b1)]('--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27');throw new UsageError();}switch(b[B(0x1af)]){case B(0x191):b['appPathPrefix']=B(0x187);break;case B(0x1a2):b[B(0x188)]='server';break;case'client':b[B(0x188)]=B(0x1b7);break;default:b['appPathPrefix']='';}}k(this[B(0x1a6)][B(0x18e)](this,f,b));}catch(p){console[B(0x1b1)](p);}});});}['listGenerators'](){const C=a92t;this[C(0x17a)](this['_generators']);}[a92t(0x17a)](a){const D=a92t,b=new a92f({});b[D(0x1ac)]([D(0x1bf),D(0x1ba),D(0x17d)]),a['sort']()[D(0x1dc)](c=>{const E=D;b[E(0x1ac)]([c['name'],c[E(0x1c5)](),c[E(0x185)]()]);}),Log['bright'](b[D(0x183)]());}}
@@ -1 +1 @@
1
- (function(a,b){var f=a93d,c=a();while(!![]){try{var d=parseInt(f(0x1c2))/0x1*(parseInt(f(0x1be))/0x2)+-parseInt(f(0x1c0))/0x3*(-parseInt(f(0x1bd))/0x4)+-parseInt(f(0x1bc))/0x5*(-parseInt(f(0x1c9))/0x6)+parseInt(f(0x1c1))/0x7*(parseInt(f(0x1c5))/0x8)+-parseInt(f(0x1c6))/0x9+parseInt(f(0x1c7))/0xa*(-parseInt(f(0x1bf))/0xb)+-parseInt(f(0x1c8))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0xbc47e));var a93b=(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;};}()),a93a=a93b(this,function(){var g=a93d;return a93a[g(0x1cb)]()[g(0x1c3)]('(((.+)+)+)+$')['toString']()[g(0x1c4)](a93a)[g(0x1c3)](g(0x1ca));});a93a();import'./services/_index.js';import'./api.js';import'./collection.js';import'./component.js';import'./config.js';import'./dbc.js';import'./hook.js';import'./kit.js';import'./layout.js';import'./methods.js';import'./package.js';import'./publish.js';import'./route.js';import'./service.js';import'./page.js';function a93c(){var h=['30wMqbko','(((.+)+)+)+$','toString','531025GqUemW','30196GpSnfu','281094GFywQY','213037cRQzTk','573qqCauP','458360sTAVTl','9oAWlHk','search','constructor','16AaeEgg','10858167chqjcU','710esAttg','192588fmgYYr'];a93c=function(){return h;};return a93c();}import'./maka.gen.js';import'./dockerfile.js';function a93d(a,b){var c=a93c();return a93d=function(d,e){d=d-0x1bc;var f=c[d];return f;},a93d(a,b);}import'./maka.gen.js';
1
+ (function(a,b){var f=a93d,c=a();while(!![]){try{var d=-parseInt(f(0x1cc))/0x1*(-parseInt(f(0x1cb))/0x2)+parseInt(f(0x1d0))/0x3+parseInt(f(0x1d7))/0x4+-parseInt(f(0x1d1))/0x5+parseInt(f(0x1cd))/0x6*(-parseInt(f(0x1d2))/0x7)+parseInt(f(0x1d3))/0x8*(-parseInt(f(0x1d5))/0x9)+-parseInt(f(0x1ca))/0xa*(-parseInt(f(0x1d9))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0x69f10));var a93b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a93d;if(c){var e=c[g(0x1ce)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){var h=a93d;return a93a[h(0x1d6)]()['search'](h(0x1d4))[h(0x1d6)]()[h(0x1cf)](a93a)[h(0x1d8)](h(0x1d4));});a93a();function a93c(){var i=['3869232efWact','(((.+)+)+)+$','9lsHylJ','toString','2315512KHHgva','search','1441uVyAhp','73680jhUGgg','244PAFUKT','1533YHPYqW','102JSsQSv','apply','constructor','1015389lwGzqb','2034290LLZTYv','306817rANnKA'];a93c=function(){return i;};return a93c();}import'./services/_index.js';import'./api.js';import'./collection.js';import'./component.js';import'./config.js';import'./dbc.js';import'./hook.js';import'./kit.js';import'./layout.js';import'./methods.js';import'./package.js';import'./publish.js';import'./route.js';import'./service.js';import'./page.js';import'./maka.gen.js';function a93d(a,b){var c=a93c();return a93d=function(d,e){d=d-0x1ca;var f=c[d];return f;},a93d(a,b);}import'./dockerfile.js';import'./maka.gen.js';