@maka/maka-cli 4.5.51 → 4.5.52

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (134) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/build/_index.js +1 -1
  20. package/bundle/obf/src/commands/build/build.js +1 -1
  21. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/create.js +1 -1
  23. package/bundle/obf/src/commands/debug.js +1 -1
  24. package/bundle/obf/src/commands/deploy.js +1 -1
  25. package/bundle/obf/src/commands/game/_index.js +1 -1
  26. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/game/play.command.js +1 -1
  28. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  29. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  30. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  31. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  63. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  64. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  65. package/bundle/obf/src/commands/generate.js +1 -1
  66. package/bundle/obf/src/commands/get/_index.js +1 -1
  67. package/bundle/obf/src/commands/get/get.command.js +1 -1
  68. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/help.js +1 -1
  72. package/bundle/obf/src/commands/jsdoc.js +1 -1
  73. package/bundle/obf/src/commands/lint.js +1 -1
  74. package/bundle/obf/src/commands/login.js +1 -1
  75. package/bundle/obf/src/commands/logout.js +1 -1
  76. package/bundle/obf/src/commands/logs.js +1 -1
  77. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  78. package/bundle/obf/src/commands/murder.js +1 -1
  79. package/bundle/obf/src/commands/proxy.js +1 -1
  80. package/bundle/obf/src/commands/reconfig.js +1 -1
  81. package/bundle/obf/src/commands/run/_index.js +1 -1
  82. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  83. package/bundle/obf/src/commands/run/run.command.js +1 -1
  84. package/bundle/obf/src/commands/set/_index.js +1 -1
  85. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  86. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  87. package/bundle/obf/src/commands/set/set.command.js +1 -1
  88. package/bundle/obf/src/commands/ssh.js +1 -1
  89. package/bundle/obf/src/commands/ssl.js +1 -1
  90. package/bundle/obf/src/commands/test.js +1 -1
  91. package/bundle/obf/src/commands/version.js +1 -1
  92. package/bundle/obf/src/error.js +1 -1
  93. package/bundle/obf/src/exec.js +1 -1
  94. package/bundle/obf/src/generator.js +1 -1
  95. package/bundle/obf/src/generators/_index.js +1 -1
  96. package/bundle/obf/src/generators/api.js +1 -1
  97. package/bundle/obf/src/generators/collection.js +1 -1
  98. package/bundle/obf/src/generators/component.js +1 -1
  99. package/bundle/obf/src/generators/config.js +1 -1
  100. package/bundle/obf/src/generators/dbc.js +1 -1
  101. package/bundle/obf/src/generators/dockerfile.js +1 -1
  102. package/bundle/obf/src/generators/hook.js +1 -1
  103. package/bundle/obf/src/generators/kit.js +1 -1
  104. package/bundle/obf/src/generators/layout.js +1 -1
  105. package/bundle/obf/src/generators/maka.gen.js +1 -1
  106. package/bundle/obf/src/generators/methods.js +1 -1
  107. package/bundle/obf/src/generators/package.js +1 -1
  108. package/bundle/obf/src/generators/page.js +1 -1
  109. package/bundle/obf/src/generators/publish.js +1 -1
  110. package/bundle/obf/src/generators/route.js +1 -1
  111. package/bundle/obf/src/generators/service.js +1 -1
  112. package/bundle/obf/src/generators/services/_index.js +1 -1
  113. package/bundle/obf/src/generators/services/openssl.js +1 -1
  114. package/bundle/obf/src/generators/services/translation.js +1 -1
  115. package/bundle/obf/src/maka.js +1 -1
  116. package/bundle/obf/src/tool.js +1 -1
  117. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  118. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  119. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  120. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  121. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  122. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  123. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  124. package/bundle/obf/src/tools/https/https.class.js +1 -1
  125. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  126. package/bundle/obf/src/tools/log/log.class.js +1 -1
  127. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  128. package/bundle/obf/src/tools/options/options.class.js +1 -1
  129. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  130. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  131. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  132. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  133. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  134. package/package.json +1 -1
@@ -1 +1 @@
1
- function a76d(a,b){const c=a76c();return a76d=function(d,e){d=d-0xfd;let f=c[d];return f;},a76d(a,b);}const a76i=a76d;(function(a,b){const g=a76d,c=a();while(!![]){try{const d=parseInt(g(0x10a))/0x1*(-parseInt(g(0x110))/0x2)+parseInt(g(0x111))/0x3*(-parseInt(g(0x108))/0x4)+-parseInt(g(0x101))/0x5*(-parseInt(g(0x10f))/0x6)+parseInt(g(0xfe))/0x7+-parseInt(g(0x103))/0x8*(-parseInt(g(0x112))/0x9)+parseInt(g(0x10c))/0xa+-parseInt(g(0x114))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a76c,0xca0b7));const a76b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a76a=a76b(this,function(){const h=a76d;return a76a[h(0x107)]()[h(0x105)](h(0x10d))['toString']()[h(0xff)](a76a)[h(0x105)](h(0x10d));});function a76c(){const k=['14829vibfvL','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','9114470KLCdpg','(((.+)+)+)+$','maka\x20create\x20Todo','4632ERcdZT','130BJeYKN','144sQQbyj','7132275nGUmkQ','maybeProxyCommandToMeteor','11767393qwqNxr','maka','\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.-:\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20:-.\x20\x20\x20\x20\x20:--\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::\x20\x20::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::::::\x20.:::::::\x20..\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20..:.....\x20.::..::.\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20.::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::::::\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20\x20::::::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::..-::.\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::....\x20\x20::..---:..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20.\x20.:::::::\x20\x20::..::.\x20..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20\x20:.\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:--\x20\x20\x20\x20\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-:\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20:\x0a.:..::...::.\x20\x20\x20....:\x20\x20\x20.:\x20\x20\x20::\x20\x20....:.\x20\x20\x20\x20\x20\x20\x20\x20.::::\x20\x20.:\x20\x20::\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20\x20....:-\x20\x20.-..:.\x20\x20\x20....:-\x20\x20...\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20.:\x20\x20\x20:-\x20\x20.-\x20\x20.:\x20\x20.:\x20\x20\x20:-\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a.:.\x20\x20\x20:.\x20\x20\x20.:\x20\x20....\x20:.\x20.:.\x20\x20..\x20\x20....\x20:.\x20\x20\x20\x20\x20\x20\x20.....\x20\x20.:.\x20.:.\x0a\x0a\x20\x20','maka\x20<command>\x20[<args>]\x20[<opts>]','error','943558WIdogc','constructor','maka\x20--help','5900fkOqjW','runSubCommand','16ZnlJck','maka\x20run','search','findSubCommand','toString','56744BKvqNX','maka\x20install\x20meteor'];a76c=function(){return k;};return a76c();}a76a();import{Command}from'../command.js';const Maka=new Command({'name':a76i(0x115),'minArgLength':0x1,'shortDesc':a76i(0x10b),'validOpts':[],'usage':a76i(0x117),'disableAuthCheck':!![],'examples':[a76i(0x100),a76i(0x109),a76i(0x10e),a76i(0x104)],'description':a76i(0x116)},async function(a,b){const j=a76i;try{const c=a[0x0],d=this[j(0x106)](c);d?this[j(0x102)](c,a['slice'](0x1),b):this['fsi'][j(0x113)]();}catch(f){console[j(0xfd)](f),process['exit'](0x1);}});export default Maka;
1
+ const a76i=a76d;function a76d(a,b){const c=a76c();return a76d=function(d,e){d=d-0x15d;let f=c[d];return f;},a76d(a,b);}(function(a,b){const g=a76d,c=a();while(!![]){try{const d=parseInt(g(0x166))/0x1+-parseInt(g(0x161))/0x2*(-parseInt(g(0x173))/0x3)+-parseInt(g(0x164))/0x4*(-parseInt(g(0x167))/0x5)+parseInt(g(0x16d))/0x6+parseInt(g(0x168))/0x7+-parseInt(g(0x170))/0x8*(-parseInt(g(0x15f))/0x9)+-parseInt(g(0x16c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a76c,0x59d86));function a76c(){const k=['(((.+)+)+)+$','240016KsJPYT','5MjBoQX','1647471AUKpgk','maka','maka\x20install\x20meteor','runSubCommand','15047640PLJLUP','1787652aSPYNm','search','fsi','24LDNycv','exit','maybeProxyCommandToMeteor','873ndIHxI','maka\x20create\x20Todo','\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.-:\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20:-.\x20\x20\x20\x20\x20:--\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::\x20\x20::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::::::\x20.:::::::\x20..\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20..:.....\x20.::..::.\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20.::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::::::\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20\x20::::::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::..-::.\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::....\x20\x20::..---:..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20.\x20.:::::::\x20\x20::..::.\x20..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20\x20:.\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:--\x20\x20\x20\x20\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-:\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20:\x0a.:..::...::.\x20\x20\x20....:\x20\x20\x20.:\x20\x20\x20::\x20\x20....:.\x20\x20\x20\x20\x20\x20\x20\x20.::::\x20\x20.:\x20\x20::\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20\x20....:-\x20\x20.-..:.\x20\x20\x20....:-\x20\x20...\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20.:\x20\x20\x20:-\x20\x20.-\x20\x20.:\x20\x20.:\x20\x20\x20:-\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a.:.\x20\x20\x20:.\x20\x20\x20.:\x20\x20....\x20:.\x20.:.\x20\x20..\x20\x20....\x20:.\x20\x20\x20\x20\x20\x20\x20.....\x20\x20.:.\x20.:.\x0a\x0a\x20\x20','toString','maka\x20run','maka\x20--help','1512549ViscaJ','error','3894WyBKBc','constructor','slice','114796RPVMJj'];a76c=function(){return k;};return a76c();}const a76b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a76a=a76b(this,function(){const h=a76d;return a76a['toString']()[h(0x16e)](h(0x165))[h(0x176)]()[h(0x162)](a76a)[h(0x16e)](h(0x165));});a76a();import{Command}from'../command.js';const Maka=new Command({'name':a76i(0x169),'minArgLength':0x1,'shortDesc':'A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','validOpts':[],'usage':'maka\x20<command>\x20[<args>]\x20[<opts>]','disableAuthCheck':!![],'examples':[a76i(0x15e),a76i(0x16a),a76i(0x174),a76i(0x15d)],'description':a76i(0x175)},async function(a,b){const j=a76i;try{const c=a[0x0],d=this['findSubCommand'](c);d?this[j(0x16b)](c,a[j(0x163)](0x1),b):this[j(0x16f)][j(0x172)]();}catch(f){console[j(0x160)](f),process[j(0x171)](0x1);}});export default Maka;
@@ -1 +1 @@
1
- var a77h=a77d;function a77d(a,b){var c=a77c();return a77d=function(d,e){d=d-0x170;var f=c[d];return f;},a77d(a,b);}(function(a,b){var f=a77d,c=a();while(!![]){try{var d=-parseInt(f(0x172))/0x1+parseInt(f(0x17f))/0x2+parseInt(f(0x17a))/0x3+parseInt(f(0x171))/0x4*(-parseInt(f(0x177))/0x5)+-parseInt(f(0x17d))/0x6*(parseInt(f(0x178))/0x7)+-parseInt(f(0x179))/0x8*(-parseInt(f(0x174))/0x9)+-parseInt(f(0x173))/0xa*(-parseInt(f(0x180))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0xca3dd));var a77b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){var g=a77d;return a77a[g(0x181)]()['search'](g(0x17b))['toString']()[g(0x17c)](a77a)[g(0x170)](g(0x17b));});function a77c(){var j=['(((.+)+)+)+$','constructor','264kvxAlm','exit','1321348PitgLZ','11ZseUfy','toString','maka\x20murder','create','search','152Pllvoj','602568dLdGeR','1596230ukOAci','62397pVMRvl','%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','log','76960zPhyII','210791mVoxKR','1592PHyrtl','3422559hnmCEO'];a77c=function(){return j;};return a77c();}a77a();import{Command}from'../command.js';Command[a77h(0x183)]({'name':'murder','usage':a77h(0x182),'maxArgLength':0x1,'shortDesc':'Murrrrderrrrr','validOpts':[]},async function(){var i=a77h;try{console[i(0x176)](i(0x175),'font-family:\x20monospace');}catch(a){console['error'](a),process[i(0x17e)](0x0);}});
1
+ function a77c(){var k=['search','Murrrrderrrrr','922cPzBeX','262232MODYPD','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','838672sDQsrN','43000cfvkeN','788820jRAAyt','log','toString','1365LIpjsD','murder','maka\x20murder','exit','apply','(((.+)+)+)+$','font-family:\x20monospace','7bGiRIW','258065wfokXt','4907052CKxxOM'];a77c=function(){return k;};return a77c();}var a77i=a77d;(function(a,b){var f=a77d,c=a();while(!![]){try{var d=parseInt(f(0xe6))/0x1+parseInt(f(0xe1))/0x2*(-parseInt(f(0xd5))/0x3)+-parseInt(f(0xe5))/0x4+parseInt(f(0xdd))/0x5+-parseInt(f(0xe7))/0x6+-parseInt(f(0xdc))/0x7*(-parseInt(f(0xe2))/0x8)+parseInt(f(0xde))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0x1db7f));var a77b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a77d;if(c){var e=c[g(0xd9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){var h=a77d;return a77a['toString']()[h(0xdf)](h(0xda))[h(0xd4)]()[h(0xe3)](a77a)[h(0xdf)](h(0xda));});a77a();import{Command}from'../command.js';function a77d(a,b){var c=a77c();return a77d=function(d,e){d=d-0xd3;var f=c[d];return f;},a77d(a,b);}Command['create']({'name':a77i(0xd6),'usage':a77i(0xd7),'maxArgLength':0x1,'shortDesc':a77i(0xe0),'validOpts':[]},async function(){var j=a77i;try{console[j(0xd3)](j(0xe4),j(0xdb));}catch(a){console['error'](a),process[j(0xd8)](0x0);}});
@@ -1 +1 @@
1
- const a78p=a78d;(function(a,b){const n=a78d,c=a();while(!![]){try{const d=parseInt(n(0x168))/0x1+parseInt(n(0x160))/0x2+-parseInt(n(0x16e))/0x3*(-parseInt(n(0x166))/0x4)+parseInt(n(0x16b))/0x5*(parseInt(n(0x176))/0x6)+-parseInt(n(0x15c))/0x7*(-parseInt(n(0x157))/0x8)+parseInt(n(0x16f))/0x9+-parseInt(n(0x164))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x3ffc4));const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const o=a78d;return a78a[o(0x174)]()[o(0x16a)]('(((.+)+)+)+$')[o(0x174)]()['constructor'](a78a)['search'](o(0x16d));});function a78c(){const r=['sslconfig','search','35105BCXkfW','invoke','(((.+)+)+)+$','24AHfjZh','739449UhlFDh','fsi','development','.key','join','toString','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','114ZOadfg','readFileSync','error','appName','maka\x20proxy\x20--target-host\x20http://192.168.1.20','\x20to\x20','findGenerator','targetHost','=>\x20SSL\x20Proxy\x20forwarding\x20','mkKeysDir','bright','.csr','createProxyServer','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','8yQClmU','proxy','listen','.crt','maka\x20proxy','2228933xetcxw','targetPort','genSSC','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','74020pWKwJf','getProjectConfig','help','listenPort','12583030XoCymd','getConfigPath','237748WOHDRV','utf8','473902NBGXlS'];a78c=function(){return r;};return a78c();}a78a();import a78e from'fs';import a78f from'path';import a78g from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x150;let f=c[d];return f;},a78d(a,b);}import a78h from'../generators/maka.gen.js';Command['create']({'name':a78p(0x158),'usage':a78p(0x15b),'mustBeInMakaProject':!![],'validOpts':[a78p(0x162),a78p(0x15d),a78p(0x163),'targetHost'],'maxArgLength':0x1,'shortDesc':a78p(0x175),'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':[a78p(0x15b),a78p(0x15f),a78p(0x17a)]},async function(a,b){const q=a78p,c=this['fsi'][q(0x161)](),d=q(0x171),e=this[q(0x170)][q(0x165)](d),f=this[q(0x170)][q(0x152)]({'configPath':e}),g=b[q(0x15d)]?Number(b[q(0x15d)]):0xbb8,h=b['listenPort']?Number(b[q(0x163)]):0xd73,i=b['targetHost']?b[q(0x150)]:'localhost',j=a78f[q(0x173)](f,c[q(0x179)]+q(0x172)),k=a78f[q(0x173)](f,c[q(0x179)]+q(0x15a));if(!this[q(0x170)]['isFile'](j)||!this[q(0x170)]['isFile'](k)){const m=a78h[q(0x17c)](q(0x169));m&&await m[q(0x16c)](['sslconfig'],{'env':d}),SSL['genCSR']({'keyName':c[q(0x179)]+'.key','csrName':c['appName']+q(0x154),'cwd':f}),SSL[q(0x15e)]({'keyName':c[q(0x179)]+q(0x172),'crtName':c[q(0x179)]+q(0x15a),'cwd':f});}if(g===h){Log[q(0x178)](q(0x156));throw new UsageError();}const l={'ssl':{'key':a78e[q(0x177)](j,'utf8'),'cert':a78e[q(0x177)](k,q(0x167))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a78g[q(0x155)](l)[q(0x159)](Number(h)),Log[q(0x153)](q(0x151)+h+q(0x17b)+g);});
1
+ const a78q=a78d;(function(a,b){const n=a78d,c=a();while(!![]){try{const d=-parseInt(n(0x188))/0x1+-parseInt(n(0x190))/0x2+parseInt(n(0x18b))/0x3+-parseInt(n(0x191))/0x4*(parseInt(n(0x1a7))/0x5)+-parseInt(n(0x1a5))/0x6*(-parseInt(n(0x18d))/0x7)+-parseInt(n(0x1b1))/0x8*(-parseInt(n(0x19a))/0x9)+-parseInt(n(0x198))/0xa*(-parseInt(n(0x18a))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0xd39c3));const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a78d;if(c){const e=c[o(0x197)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const p=a78d;return a78a['toString']()[p(0x192)](p(0x1ad))[p(0x19d)]()[p(0x1b2)](a78a)['search'](p(0x1ad));});a78a();import a78e from'fs';import a78f from'path';import a78g from'http-proxy';function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x187;let f=c[d];return f;},a78d(a,b);}import{Command}from'../command.js';function a78c(){const s=['targetHost','15918pgtOvY','isFile','\x20to\x20','1574058bKnLji','4TwQDSa','search','genCSR','listenPort','listen','localhost','apply','11500aCxrqU','readFileSync','350307dWPRUU','.key','sslconfig','toString','maka\x20proxy','fsi','.crt','mkKeysDir','getConfigPath','proxy','utf8','3702fzNcNn','=>\x20SSL\x20Proxy\x20forwarding\x20','5133910RChKNz','targetPort','appName','\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','invoke','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','(((.+)+)+)+$','bright','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','.csr','48BdzzQE','constructor','findGenerator','help','genSSC','1462529qiqYJZ','join','10681tmVkOl','4169547UcCSRu'];a78c=function(){return s;};return a78c();}import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a78h from'../generators/maka.gen.js';Command['create']({'name':a78q(0x1a3),'usage':a78q(0x19e),'mustBeInMakaProject':!![],'validOpts':[a78q(0x1b4),a78q(0x1a8),a78q(0x194),a78q(0x18c)],'maxArgLength':0x1,'shortDesc':a78q(0x1af),'description':a78q(0x1aa),'examples':[a78q(0x19e),'maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','maka\x20proxy\x20--target-host\x20http://192.168.1.20']},async function(a,b){const r=a78q,c=this[r(0x19f)]['getProjectConfig'](),d='development',e=this[r(0x19f)][r(0x1a2)](d),f=this[r(0x19f)][r(0x1a1)]({'configPath':e}),g=b[r(0x1a8)]?Number(b[r(0x1a8)]):0xbb8,h=b[r(0x194)]?Number(b[r(0x194)]):0xd73,i=b[r(0x18c)]?b['targetHost']:r(0x196),j=a78f[r(0x189)](f,c[r(0x1a9)]+'.key'),k=a78f[r(0x189)](f,c[r(0x1a9)]+r(0x1a0));if(!this[r(0x19f)][r(0x18e)](j)||!this[r(0x19f)][r(0x18e)](k)){const m=a78h[r(0x1b3)](r(0x19c));m&&await m[r(0x1ab)]([r(0x19c)],{'env':d}),SSL[r(0x193)]({'keyName':c['appName']+r(0x19b),'csrName':c[r(0x1a9)]+r(0x1b0),'cwd':f}),SSL[r(0x187)]({'keyName':c[r(0x1a9)]+'.key','crtName':c[r(0x1a9)]+r(0x1a0),'cwd':f});}if(g===h){Log['error'](r(0x1ac));throw new UsageError();}const l={'ssl':{'key':a78e[r(0x199)](j,r(0x1a4)),'cert':a78e[r(0x199)](k,'utf8')},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a78g['createProxyServer'](l)[r(0x195)](Number(h)),Log[r(0x1ae)](r(0x1a6)+h+r(0x18f)+g);});
@@ -1 +1 @@
1
- const a79q=a79d;function a79c(){const s=['existsSync','~/ses.json','127328hcJDDM','\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','apply','parse','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','1350OfrwSM','12ubXubj','toString','sshSync','~/pm2.config.js','scp','getConfigPath','106236NaOILA','assign','23863glGOhM','constructor','search','fsi','settings.json','138585FwadzN','41238sSwTFW','ssh','4710DgLwjA','42ZjcqIE','ssh.json','Checking\x20remote\x20host\x20availability','uname\x20-a','ses.json','pm2.config.js','ping','pm2\x20delete\x20all','(((.+)+)+)+$','Remote\x20host\x20connection\x20successful','create','_keys','774256VrDiCW','Reconfigure\x20your\x20deployed\x20applications','join','notice','maka\x20reconfig','env'];a79c=function(){return s;};return a79c();}(function(a,b){const n=a79d,c=a();while(!![]){try{const d=-parseInt(n(0x199))/0x1+parseInt(n(0x191))/0x2+-parseInt(n(0x18b))/0x3*(-parseInt(n(0x1b0))/0x4)+-parseInt(n(0x198))/0x5+parseInt(n(0x19c))/0x6*(parseInt(n(0x193))/0x7)+-parseInt(n(0x1a8))/0x8+-parseInt(n(0x18a))/0x9*(-parseInt(n(0x19b))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x1aaa6));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a79d;if(c){const e=c[o(0x1b2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const p=a79d;return a79a[p(0x18c)]()['search']('(((.+)+)+)+$')[p(0x18c)]()[p(0x194)](a79a)[p(0x195)](p(0x1a4));});a79a();import a79e from'fs';import a79f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x187;let f=c[d];return f;},a79d(a,b);}import{SSH}from'../tools/ssh/ssh.class.js';Command[a79q(0x1a6)]({'name':a79q(0x189),'validOpts':[''],'requiredOpts':[a79q(0x1ad)],'mustBeInMakaProject':!![],'usage':a79q(0x1ac),'shortDesc':a79q(0x1a9),'description':a79q(0x1b1),'examples':['maka\x20reconfig\x20--env\x20prod']},async function(a,b){const r=a79q;try{const c=this[r(0x196)][r(0x190)](b['env']),d=a79f[r(0x1aa)](c,r(0x19d)),f=a79e['readFileSync'](d)['toString'](),g=JSON[r(0x187)](f);Object[r(0x192)](g,{'env':c}),Log[r(0x1ab)](r(0x19e));const h=SSH[r(0x1a2)](r(0x19f),g);if(!h)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(h)Log['success'](r(0x1a5));const i=a79f[r(0x1aa)](c,r(0x1a7),r(0x1a0));if(a79e[r(0x1ae)](i)){const l={'source':i,'dest':r(0x1af),'verbose':!![]};SSH[r(0x18f)](l,{...g});}const j=a79f[r(0x1aa)](c,r(0x1a1));SSH[r(0x18f)]({'source':j,'dest':r(0x18e),'verbose':!![]},{...g});const k=a79f[r(0x1aa)](c,r(0x197));SSH[r(0x18f)]({'source':k,'dest':'~/settings.json','verbose':!![]},{...g}),SSH[r(0x18d)](r(0x1a3),g),await SSH[r(0x19a)](r(0x188),{...g},{'verbose':!![]});}catch(m){console['error'](m),process['exit'](0x0);}});
1
+ const a79q=a79d;(function(a,b){const n=a79d,c=a();while(!![]){try{const d=parseInt(n(0x1fa))/0x1*(-parseInt(n(0x1db))/0x2)+parseInt(n(0x202))/0x3+parseInt(n(0x1e0))/0x4+-parseInt(n(0x1e3))/0x5*(-parseInt(n(0x1dd))/0x6)+-parseInt(n(0x204))/0x7*(-parseInt(n(0x1f8))/0x8)+parseInt(n(0x1f9))/0x9+-parseInt(n(0x1ed))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x6702c));function a79c(){const s=['_keys','ping','apply','~/settings.json','13899900RcgLjI','notice','settings.json','search','Reconfigure\x20your\x20deployed\x20applications','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','Remote\x20host\x20connection\x20successful','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','(((.+)+)+)+$','~/ses.json','24840ctrHuR','1536714jpysaW','2EbGOBn','env','maka\x20reconfig\x20--env\x20prod','constructor','join','fsi','create','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','1337688JsHoyf','assign','1463GCTtAk','ssh.json','reconfig','existsSync','816236IdhIfs','toString','1741794nMkLzt','uname\x20-a','Checking\x20remote\x20host\x20availability','3127892SIiGTQ','pm2.config.js','scp','10KoZoeo','parse','getConfigPath','exit','pm2\x20delete\x20all','readFileSync'];a79c=function(){return s;};return a79c();}const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a79d;if(c){const e=c[o(0x1eb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const p=a79d;return a79a[p(0x1dc)]()['search'](p(0x1f6))[p(0x1dc)]()[p(0x1fd)](a79a)[p(0x1f0)](p(0x1f6));});a79a();import a79e from'fs';import a79f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x1db;let f=c[d];return f;},a79d(a,b);}Command[a79q(0x200)]({'name':a79q(0x206),'validOpts':[''],'requiredOpts':[a79q(0x1fb)],'mustBeInMakaProject':!![],'usage':'maka\x20reconfig','shortDesc':a79q(0x1f1),'description':a79q(0x1f3),'examples':[a79q(0x1fc)]},async function(a,b){const r=a79q;try{const c=this[r(0x1ff)][r(0x1e5)](b[r(0x1fb)]),d=a79f[r(0x1fe)](c,r(0x205)),f=a79e[r(0x1e8)](d)[r(0x1dc)](),g=JSON[r(0x1e4)](f);Object[r(0x203)](g,{'env':c}),Log[r(0x1ee)](r(0x1df));const h=SSH[r(0x1ea)](r(0x1de),g);if(!h)throw r(0x1f5);if(h)Log['success'](r(0x1f4));const i=a79f[r(0x1fe)](c,r(0x1e9),'ses.json');if(a79e[r(0x207)](i)){const l={'source':i,'dest':r(0x1f7),'verbose':!![]};SSH['scp'](l,{...g});}const j=a79f[r(0x1fe)](c,r(0x1e1));SSH[r(0x1e2)]({'source':j,'dest':'~/pm2.config.js','verbose':!![]},{...g});const k=a79f[r(0x1fe)](c,r(0x1ef));SSH['scp']({'source':k,'dest':r(0x1ec),'verbose':!![]},{...g}),SSH['sshSync'](r(0x1e7),g),await SSH['ssh'](r(0x201),{...g},{'verbose':!![]});}catch(m){console[r(0x1f2)](m),process[r(0x1e6)](0x0);}});
@@ -1 +1 @@
1
- function a80c(){var i=['144490XmkAWV','3346OHKVHS','toString','268940fORCYs','13116oJEzGn','(((.+)+)+)+$','648772BrUzMI','apply','827616KjQHGb','search','3870170EYnzfe','1494RPmBnv','1nDgecl','4447504JIElAH'];a80c=function(){return i;};return a80c();}(function(a,b){var f=a80d,c=a();while(!![]){try{var d=parseInt(f(0xe0))/0x1*(parseInt(f(0xd7))/0x2)+parseInt(f(0xdc))/0x3+parseInt(f(0xda))/0x4+-parseInt(f(0xde))/0x5+-parseInt(f(0xd8))/0x6*(parseInt(f(0xd5))/0x7)+-parseInt(f(0xd3))/0x8+-parseInt(f(0xdf))/0x9*(-parseInt(f(0xd4))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0x918dd));var a80b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a80d;if(c){var e=c[g(0xdb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){var h=a80d;return a80a[h(0xd6)]()[h(0xdd)]('(((.+)+)+)+$')[h(0xd6)]()['constructor'](a80a)[h(0xdd)](h(0xd9));});a80a();function a80d(a,b){var c=a80c();return a80d=function(d,e){d=d-0xd3;var f=c[d];return f;},a80d(a,b);}import'./run.command.js';import'./docker.sub.cmd.js';
1
+ (function(a,b){var f=a80d,c=a();while(!![]){try{var d=parseInt(f(0x1b4))/0x1*(-parseInt(f(0x1af))/0x2)+-parseInt(f(0x1aa))/0x3+-parseInt(f(0x1ad))/0x4+parseInt(f(0x1b1))/0x5+parseInt(f(0x1b0))/0x6*(-parseInt(f(0x1b6))/0x7)+-parseInt(f(0x1ab))/0x8*(-parseInt(f(0x1b5))/0x9)+parseInt(f(0x1b3))/0xa*(parseInt(f(0x1ac))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0x8b209));var a80b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){var g=a80d;return a80a[g(0x1b7)]()[g(0x1b2)](g(0x1ae))[g(0x1b7)]()['constructor'](a80a)[g(0x1b2)](g(0x1ae));});function a80c(){var h=['265451CZbckJ','497853OiHzvC','7622944SmCazY','toString','3065430WonAus','48xSeoaN','77BSzZDz','4513240geumJN','(((.+)+)+)+$','6ocdSyh','6LKInzP','5561175likAmf','search','4515990mBkIHW'];a80c=function(){return h;};return a80c();}function a80d(a,b){var c=a80c();return a80d=function(d,e){d=d-0x1aa;var f=c[d];return f;},a80d(a,b);}a80a();import'./run.command.js';import'./docker.sub.cmd.js';
@@ -1 +1 @@
1
- const a81l=a81d;function a81d(a,b){const c=a81c();return a81d=function(d,e){d=d-0x1d3;let f=c[d];return f;},a81d(a,b);}(function(a,b){const i=a81d,c=a();while(!![]){try{const d=parseInt(i(0x1d8))/0x1*(parseInt(i(0x1f2))/0x2)+-parseInt(i(0x1d7))/0x3*(parseInt(i(0x1d5))/0x4)+parseInt(i(0x1ec))/0x5+parseInt(i(0x1e2))/0x6+parseInt(i(0x1e7))/0x7+-parseInt(i(0x1d4))/0x8*(-parseInt(i(0x1d6))/0x9)+-parseInt(i(0x1df))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0xe386b));const a81b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a81d;if(c){const e=c[j(0x1f1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){const k=a81d;return a81a['toString']()[k(0x1d9)](k(0x1d3))['toString']()[k(0x1e9)](a81a)[k(0x1d9)](k(0x1d3));});a81a();import a81e from'./run.command.js';import{execSync}from'child_process';import a81f from'path';import a81g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';function a81c(){const n=['apply','1718fqVZGB','(((.+)+)+)+$','153880ElieKB','4BsnUeB','81RQhWAp','4830711hIzrav','2069hewypk','search','exit','inherit','docker-compose\x20--project-directory\x20','notice','\x20up\x20--remove-orphans','40237910uQAHLJ','pm2.config.js','create','8888886HFeScS','config/docker-compose.yaml','createFile','fsi','\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','11276573SEkhQm','Docker\x20Compose\x20Path:\x20','constructor','appName','templateContent','7615845oXODtA','PM2\x20Config\x20File:\x20','docker-compose.yaml','getConfigPath','docker'];a81c=function(){return n;};return a81c();}Command[a81l(0x1e1)]({'name':a81l(0x1f0),'aliases':['d'],'shortDesc':'Run\x20your\x20application\x20in\x20a\x20Docker\x20container','description':a81l(0x1e6),'usage':'maka\x20run\x20docker','validOpts':['']},async function(){const m=a81l;try{const a=this[m(0x1e5)]['getProjectConfig'](),b=this['fsi'][m(0x1ef)](m(0x1f0)),c=a81f['join'](b,m(0x1ee)),d=a81f['join'](b,m(0x1e0));Log[m(0x1dd)](m(0x1ed)+d),Log[m(0x1dd)](m(0x1e8)+c);if(!a81g['existsSync'](c)){const f={'app':a[m(0x1ea)],'appFileCase':paramCase(a[m(0x1ea)])},g=this[m(0x1e5)][m(0x1eb)]({'srcPath':m(0x1e3),'context':f})+'\x0a';this['fsi'][m(0x1e4)]({'filePath':c,'data':g});}execSync(m(0x1dc)+b+m(0x1de),{'stdio':m(0x1db)});}catch(h){process[m(0x1da)](0x1);}},a81e);
1
+ const a81l=a81d;function a81d(a,b){const c=a81c();return a81d=function(d,e){d=d-0xec;let f=c[d];return f;},a81d(a,b);}(function(a,b){const i=a81d,c=a();while(!![]){try{const d=-parseInt(i(0xef))/0x1+-parseInt(i(0xfd))/0x2*(-parseInt(i(0x104))/0x3)+-parseInt(i(0xf6))/0x4*(parseInt(i(0xf5))/0x5)+-parseInt(i(0xec))/0x6*(-parseInt(i(0x106))/0x7)+-parseInt(i(0x105))/0x8*(parseInt(i(0x103))/0x9)+parseInt(i(0x109))/0xa+parseInt(i(0xf4))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0xd2ea1));const a81b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a81d;if(c){const e=c[j(0x107)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){const k=a81d;return a81a[k(0xed)]()[k(0xf0)](k(0xee))[k(0xed)]()[k(0x102)](a81a)[k(0xf0)](k(0xee));});a81a();import a81e from'./run.command.js';function a81c(){const n=['Docker\x20Compose\x20Path:\x20','4mgzdiq','fsi','join','PM2\x20Config\x20File:\x20','docker-compose.yaml','constructor','18vXylns','2367AaHXcb','4549784jSgABY','350bHMGcy','apply','appName','7103140ETPwlH','docker','existsSync','pm2.config.js','createFile','getConfigPath','200730rXZeDq','toString','(((.+)+)+)+$','599624mXvglR','search','\x20up\x20--remove-orphans','\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','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','19386048njnlRB','2576725VQCnPT','12GpggWH','docker-compose\x20--project-directory\x20','config/docker-compose.yaml','inherit','getProjectConfig','create'];a81c=function(){return n;};return a81c();}import{execSync}from'child_process';import a81f from'path';import a81g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a81l(0xfb)]({'name':a81l(0x10a),'aliases':['d'],'shortDesc':a81l(0xf3),'description':a81l(0xf2),'usage':'maka\x20run\x20docker','validOpts':['']},async function(){const m=a81l;try{const a=this['fsi'][m(0xfa)](),b=this['fsi'][m(0x10e)](m(0x10a)),c=a81f[m(0xff)](b,m(0x101)),d=a81f['join'](b,m(0x10c));Log['notice'](m(0x100)+d),Log['notice'](m(0xfc)+c);if(!a81g[m(0x10b)](c)){const f={'app':a[m(0x108)],'appFileCase':paramCase(a['appName'])},g=this[m(0xfe)]['templateContent']({'srcPath':m(0xf8),'context':f})+'\x0a';this[m(0xfe)][m(0x10d)]({'filePath':c,'data':g});}execSync(m(0xf7)+b+m(0xf1),{'stdio':m(0xf9)});}catch(h){process['exit'](0x1);}},a81e);
@@ -1 +1 @@
1
- const a82v=a82d;function a82c(){const y=['isDirectory','invokeMeteorCommand','--production','toString','35fzAUdh','verbose','length','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)','Cannot\x20find\x20Node\x20Environment\x20File:\x20','Meteor\x20Settings:\x20','extraPackages','checkMeteorPackage','rawLogs','split','allowIncompatibleUpdate','slice','installMeteorPackage','ios','app','run','production','compareMakaToLatest','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','join','openSync','development','autoupdate','config','823852CkAKVW','search','inspect','722358RuGMtY','docker','constructor','(((.+)+)+)+$','4933690gqqHZd','Run\x20your\x20Meteor\x20application','exclude-archs','cordova-build','264780gvXyYm','filter','--settings','--env','create','runSubCommand','sep','730152NwdjZs','isFile','exit','mobile-server','notice','5GpLOdD','fsi','1606812gpONqt','10QsAxmV','concat','172138frnGXa','.meteor','warn','forEach','settings.json','settings','env','apply','splice'];a82c=function(){return y;};return a82c();}(function(a,b){const r=a82d,c=a();while(!![]){try{const d=parseInt(r(0x1e9))/0x1*(-parseInt(r(0x1ee))/0x2)+-parseInt(r(0x1eb))/0x3+-parseInt(r(0x213))/0x4*(-parseInt(r(0x1ec))/0x5)+parseInt(r(0x216))/0x6+-parseInt(r(0x1fb))/0x7*(-parseInt(r(0x1e4))/0x8)+parseInt(r(0x21e))/0x9+parseInt(r(0x21a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x852e0));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const s=a82d;if(c){const e=c[s(0x1f5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const t=a82d;return a82a['toString']()['search'](t(0x219))[t(0x1fa)]()[t(0x218)](a82a)[t(0x214)]('(((.+)+)+)+$');});a82a();import a82e from'path';import a82f from'fs';import a82g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x1e4;let f=c[d];return f;},a82d(a,b);}import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const u=a82d;a82f[u(0x20f)](a,'r'),a82g[u(0x212)]({'path':a});},Run=Command[a82v(0x222)]({'name':a82v(0x20a),'mustBeInMakaProject':!![],'shortDesc':a82v(0x21b),'description':'\x0a\x20\x20maka\x20run\x0a\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.','validOpts':[a82v(0x1f4),a82v(0x217),'r',a82v(0x203),'p','port','i',a82v(0x215),'m','mobileServer','v',a82v(0x1fc),a82v(0x205),a82v(0x201),'x',a82v(0x21c),a82v(0x20b)]},async function(a,b){const w=a82v;try{const c=this['fsi']['findProjectDirectory']();!this[w(0x1ea)][w(0x202)]('autoupdate')&&(Log[w(0x1e8)]('Verifying\x20meteor\x20package\x20requirements\x20...'),await this['fsi'][w(0x207)](w(0x211),{'cwd':c}));const d=a[0x0],f=this['findSubCommand'](d);f&&this[w(0x223)](d,a,b);if(d===w(0x208)){const n=this['fsi']['findProjectDirectory'](),o=a82e['join'](n,w(0x209),w(0x1ef),'local',w(0x21d));this['fsi'][w(0x1f7)](o)&&await rimraf(o);}if(b[w(0x1e7)]&&b['mobile-server']===!![]||b['m']&&b['m']===!![])throw w(0x1fe);await this[w(0x1ea)][w(0x20c)]();const g=b[w(0x1f4)]?b[w(0x1f4)]:w(0x210),h=this[w(0x1ea)]['getConfigPath'](g),i=a82e[w(0x20e)](h,'process.env');let j=a82e[w(0x20e)](h,w(0x1f2));b[w(0x1f3)]?j=b[w(0x1f3)]:j=a82e[w(0x20e)](h,'settings.json');if(this[w(0x1ea)]['isFile'](i)&&!b['docker'])Log[w(0x1e8)]('Node\x20Env\x20Config:\x20'+i),syncSource(i);else!b[w(0x217)]&&Log[w(0x1f0)](w(0x1ff)+i);this[w(0x1ea)][w(0x1e5)](j)?(Log[w(0x1e8)](w(0x200)+j),a=a['concat']([w(0x220),j])):Log[w(0x1f0)](w(0x20d)+j);const k=h[w(0x204)](a82e[w(0x224)]),l=k[k[w(0x1fd)]-0x1];l==='production'&&a['push'](w(0x1f9));const m=process['argv'][w(0x206)](0x2)[w(0x21f)](p=>p!=='run')[w(0x21f)](p=>p!==a[0x0]);m[w(0x1f1)]((p,q)=>{const x=w;p===x(0x221)&&m['splice'](q,0x2),p==='-e'&&m[x(0x1f6)](q,0x2);}),this[w(0x1ea)][w(0x1f8)](w(0x20a),a[w(0x1ed)](m));}catch(p){console['error'](p),process[w(0x1e6)](0x1);}});export default Run;
1
+ const a82v=a82d;(function(a,b){const r=a82d,c=a();while(!![]){try{const d=-parseInt(r(0xb0))/0x1+parseInt(r(0xab))/0x2*(-parseInt(r(0xb9))/0x3)+-parseInt(r(0xda))/0x4+parseInt(r(0xb4))/0x5+parseInt(r(0xbd))/0x6*(-parseInt(r(0xd4))/0x7)+parseInt(r(0xc0))/0x8+parseInt(r(0xe2))/0x9*(parseInt(r(0xbf))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x27b92));function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0xa8;let f=c[d];return f;},a82d(a,b);}function a82c(){const y=['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)','isFile','isDirectory','findProjectDirectory','5154183MAwTZV','app','length','--env','exclude-archs','settings','toString','settings.json','port','--settings','runSubCommand','4EIqUNZ','run','sep','Node\x20Env\x20Config:\x20','openSync','43557BNZQho','fsi','getConfigPath','warn','167110hvTPWP','autoupdate','constructor','rawLogs','production','259764vHBCyb','ios','exit','env','433032zTTnMe','allowIncompatibleUpdate','10JXDQbB','1167344zVtRMJ','cordova-build','notice','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','docker','installMeteorPackage','concat','Verifying\x20meteor\x20package\x20requirements\x20...','mobile-server','forEach','apply','--production','invokeMeteorCommand','Meteor\x20Settings:\x20','push','split','argv','create','error','filter','14wWPHMt','.meteor','slice','search','join','Cannot\x20find\x20Node\x20Environment\x20File:\x20','912976IWHlpY','verbose','mobileServer','splice'];a82c=function(){return y;};return a82c();}const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const s=a82d;if(c){const e=c[s(0xca)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const t=a82d;return a82a['toString']()[t(0xd7)]('(((.+)+)+)+$')[t(0xe8)]()[t(0xb6)](a82a)['search']('(((.+)+)+)+$');});a82a();import a82e from'path';import a82f from'fs';import a82g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const u=a82d;a82f[u(0xaf)](a,'r'),a82g['config']({'path':a});},Run=Command[a82v(0xd1)]({'name':a82v(0xac),'mustBeInMakaProject':!![],'shortDesc':'Run\x20your\x20Meteor\x20application','description':'\x0a\x20\x20maka\x20run\x0a\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.','validOpts':[a82v(0xbc),a82v(0xc4),'r',a82v(0xb7),'p',a82v(0xa8),'i','inspect','m',a82v(0xdc),'v',a82v(0xdb),a82v(0xbe),'extraPackages','x',a82v(0xe6),a82v(0xb8)]},async function(a,b){const w=a82v;try{const c=this[w(0xb1)][w(0xe1)]();!this[w(0xb1)]['checkMeteorPackage']('autoupdate')&&(Log[w(0xc2)](w(0xc7)),await this[w(0xb1)][w(0xc5)](w(0xb5),{'cwd':c}));const d=a[0x0],f=this['findSubCommand'](d);f&&this[w(0xaa)](d,a,b);if(d===w(0xba)){const n=this['fsi'][w(0xe1)](),o=a82e[w(0xd8)](n,w(0xe3),w(0xd5),'local',w(0xc1));this[w(0xb1)][w(0xe0)](o)&&await rimraf(o);}if(b[w(0xc8)]&&b[w(0xc8)]===!![]||b['m']&&b['m']===!![])throw w(0xde);await this['fsi']['compareMakaToLatest']();const g=b['env']?b['env']:'development',h=this[w(0xb1)][w(0xb2)](g),i=a82e[w(0xd8)](h,'process.env');let j=a82e[w(0xd8)](h,w(0xe9));b[w(0xe7)]?j=b[w(0xe7)]:j=a82e[w(0xd8)](h,w(0xe9));if(this['fsi'][w(0xdf)](i)&&!b[w(0xc4)])Log[w(0xc2)](w(0xae)+i),syncSource(i);else!b['docker']&&Log['warn'](w(0xd9)+i);this[w(0xb1)]['isFile'](j)?(Log[w(0xc2)](w(0xcd)+j),a=a[w(0xc6)]([w(0xa9),j])):Log[w(0xb3)](w(0xc3)+j);const k=h[w(0xcf)](a82e[w(0xad)]),l=k[k[w(0xe4)]-0x1];l===w(0xb8)&&a[w(0xce)](w(0xcb));const m=process[w(0xd0)][w(0xd6)](0x2)['filter'](p=>p!=='run')[w(0xd3)](p=>p!==a[0x0]);m[w(0xc9)]((p,q)=>{const x=w;p===x(0xe5)&&m['splice'](q,0x2),p==='-e'&&m[x(0xdd)](q,0x2);}),this[w(0xb1)][w(0xcc)]('run',a[w(0xc6)](m));}catch(p){console[w(0xd2)](p),process[w(0xbb)](0x1);}});export default Run;
@@ -1 +1 @@
1
- (function(a,b){var f=a83d,c=a();while(!![]){try{var d=-parseInt(f(0xeb))/0x1*(-parseInt(f(0xf3))/0x2)+-parseInt(f(0xea))/0x3+-parseInt(f(0xf1))/0x4+-parseInt(f(0xe9))/0x5*(parseInt(f(0xf0))/0x6)+-parseInt(f(0xf2))/0x7*(parseInt(f(0xf5))/0x8)+-parseInt(f(0xed))/0x9+parseInt(f(0xe7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0x9be45));var a83b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a83d;if(c){var e=c[g(0xee)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){var h=a83d;return a83a[h(0xef)]()[h(0xec)](h(0xf4))[h(0xef)]()[h(0xe8)](a83a)[h(0xec)]('(((.+)+)+)+$');});function a83c(){var i=['3110049nevwIA','1033959nawUrm','search','8994447nHvLvp','apply','toString','206772aKmzIH','3599372pFIhom','2051EWxtzG','2WGTQWO','(((.+)+)+)+$','24008hNKqHl','36610100QgojBj','constructor','35seLQmB'];a83c=function(){return i;};return a83c();}a83a();import'./set.command.js';function a83d(a,b){var c=a83c();return a83d=function(d,e){d=d-0xe7;var f=c[d];return f;},a83d(a,b);}import'./global.sub.cmd.js';import'./local.sub.cmd.js';
1
+ (function(a,b){var f=a83d,c=a();while(!![]){try{var d=parseInt(f(0x12e))/0x1+parseInt(f(0x134))/0x2*(-parseInt(f(0x138))/0x3)+-parseInt(f(0x133))/0x4*(parseInt(f(0x12c))/0x5)+parseInt(f(0x131))/0x6*(parseInt(f(0x137))/0x7)+parseInt(f(0x12b))/0x8*(parseInt(f(0x136))/0x9)+-parseInt(f(0x12a))/0xa+parseInt(f(0x12f))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0x6a126));function a83c(){var i=['4706973iKGAGh','291221zkBBZf','78717OVXSqd','toString','71720vEpZOR','8TdVlQQ','4195kuWicx','search','853369RlYFzN','5572644ERmcAU','constructor','6bacDuq','(((.+)+)+)+$','3192dtPNFf','62DEWvWK','apply'];a83c=function(){return i;};return a83c();}var a83b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a83d;if(c){var e=c[g(0x135)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){var h=a83d;return a83a[h(0x139)]()[h(0x12d)](h(0x132))[h(0x139)]()[h(0x130)](a83a)[h(0x12d)](h(0x132));});a83a();import'./set.command.js';import'./global.sub.cmd.js';function a83d(a,b){var c=a83c();return a83d=function(d,e){d=d-0x12a;var f=c[d];return f;},a83d(a,b);}import'./local.sub.cmd.js';
@@ -1 +1 @@
1
- const a84j=a84d;(function(a,b){const h=a84d,c=a();while(!![]){try{const d=parseInt(h(0x18f))/0x1*(-parseInt(h(0x1a0))/0x2)+parseInt(h(0x1ab))/0x3+-parseInt(h(0x1a1))/0x4+parseInt(h(0x1a9))/0x5*(parseInt(h(0x199))/0x6)+-parseInt(h(0x1ac))/0x7+parseInt(h(0x1a6))/0x8+parseInt(h(0x18c))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x2f82d));const a84b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){const i=a84d;return a84a[i(0x196)]()[i(0x19f)](i(0x192))[i(0x196)]()['constructor'](a84a)['search']('(((.+)+)+)+$');});a84a();import a84e from'path';import a84f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a84j(0x1ad),'usage':a84j(0x1af),'aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[{'name':a84j(0x1a2),'boolFlag':![]},{'name':a84j(0x1a7),'boolFlag':!![]},{'name':'disallowInsecure','boolFlag':!![]},{'name':a84j(0x18d),'boolFlag':![]},{'name':'openai','boolFlag':![]},{'name':'help','boolFlag':!![]},{'name':'pallet','values':[a84j(0x19b),a84j(0x198)]}],'shortDesc':'Set\x20global\x20Maka-CLI\x20settings','description':a84j(0x1ae),'examples':[a84j(0x195),a84j(0x1a4),a84j(0x1b1)]},async function(a,b){const k=a84j;try{if(b['cacert']){if(this['fsi'][k(0x193)](b[k(0x1a2)]))await this[k(0x1a5)][k(0x19d)]({'cert':b['cacert']}),Log[k(0x1aa)](k(0x19a)+b['cacert']);else{const c=typeof b['cacert']==='boolean'?k(0x197):k(0x1b2)+b['cacert'];throw Log[k(0x1a8)](c);}}if(b['workspace']){const d=this[k(0x1a5)][k(0x18b)](b[k(0x18d)]);if(d)await this[k(0x1a5)][k(0x19d)]({'workspace':a84e[k(0x190)](b[k(0x18d)])}),Log[k(0x1aa)]('Set\x20workspace:\x20'+a84e[k(0x190)](b[k(0x18d)]));else throw Log[k(0x1a8)]('Could\x20not\x20find\x20directory');}b[k(0x18e)]&&(await this[k(0x1a5)]['setGlobalConfig']({'openai':b['openai']}),Log[k(0x1aa)](k(0x19c)+b[k(0x18e)]));b['pallet']&&(await this[k(0x1a5)][k(0x19d)]({'pallet':b[k(0x191)]}),Log[k(0x1aa)](k(0x1b0)+b['pallet']));if(b[k(0x1a7)]){if(b[k(0x1a7)]&&b['disallowInsecure'])throw Log[k(0x1a8)]('One\x20or\x20the\x20other\x20buddy');let f=b[k(0x1a7)];b[k(0x19e)]&&(f=![]),await this[k(0x1a5)][k(0x19d)]({'allowInsecure':f}),Log[k(0x1aa)](k(0x1a3)+f);}process[k(0x194)](0x0);}catch(g){console[k(0x1a8)](g),process[k(0x194)](0x0);}},a84f);function a84d(a,b){const c=a84c();return a84d=function(d,e){d=d-0x18b;let f=c[d];return f;},a84d(a,b);}function a84c(){const l=['745504UfNYSR','cacert','Set\x20allowInsecure:\x20','maka\x20set:gc\x20--insecure\x20<path>','fsi','309472FjsNkH','allowInsecure','error','264595UsAYWh','success','386670RlDWpd','626871fDiIzJ','global-config','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x0a\x20\x20There\x20are\x20occasions\x20where\x20your\x20network\x20may\x20need\x20an\x20intermediate\x20certificate\x0a\x20\x20to\x20allow\x20connections\x20outside.\x20\x20You\x20may\x20set\x20your\x20certificate\x20path\x20using\x20the\x20command:\x0a\x0a\x20\x20maka\x20set:gc\x20--cacert\x0a\x20\x20','maka\x20set:global-config\x20<args>','Set\x20color\x20pallet\x20to:\x20','maka\x20set:gc\x20--workspace\x20<path>','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','isDirectory','2854287FoGSgD','workspace','openai','1NAphvX','resolve','pallet','(((.+)+)+)+$','isFile','exit','maka\x20set:global-config\x20--cacert\x20<path>','toString','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','dark','6oaGNZc','Set\x20CA\x20Cert\x20Path:\x20','light','Set\x20OpenAI\x20Key:\x20','setGlobalConfig','disallowInsecure','search','134204AUfUuj'];a84c=function(){return l;};return a84c();}
1
+ const a84k=a84d;(function(a,b){const h=a84d,c=a();while(!![]){try{const d=-parseInt(h(0x101))/0x1+-parseInt(h(0x100))/0x2+parseInt(h(0xf2))/0x3+parseInt(h(0xfa))/0x4+parseInt(h(0xe6))/0x5*(parseInt(h(0x102))/0x6)+-parseInt(h(0xf8))/0x7*(parseInt(h(0xfb))/0x8)+parseInt(h(0xeb))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0xb53db));const a84b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a84d;if(c){const e=c[i(0x109)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){const j=a84d;return a84a[j(0xf5)]()[j(0xf1)](j(0xf0))[j(0xf5)]()[j(0x103)](a84a)[j(0xf1)](j(0xf0));});a84a();function a84c(){const m=['Set\x20OpenAI\x20Key:\x20','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','fsi','(((.+)+)+)+$','search','4397139lumbFZ','resolve','workspace','toString','exit','error','184751sSnFFC','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','1693156GWXsqb','152oiECSm','pallet','isFile','disallowInsecure','maka\x20set:gc\x20--workspace\x20<path>','2490116OhRlrS','959979fcJhgB','6DFANWn','constructor','isDirectory','light','global-config','create','maka\x20set:gc\x20--insecure\x20<path>','apply','cacert','\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','allowInsecure','setGlobalConfig','One\x20or\x20the\x20other\x20buddy','openai','Set\x20allowInsecure:\x20','1940035nsWnIG','Set\x20color\x20pallet\x20to:\x20','Set\x20workspace:\x20','maka\x20set:global-config\x20--cacert\x20<path>','success','10546722qfZKzv','boolean'];a84c=function(){return m;};return a84c();}function a84d(a,b){const c=a84c();return a84d=function(d,e){d=d-0xe2;let f=c[d];return f;},a84d(a,b);}import a84e from'path';import a84f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a84k(0x107)]({'name':a84k(0x106),'usage':'maka\x20set:global-config\x20<args>','aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[{'name':a84k(0x10a),'boolFlag':![]},{'name':a84k(0x10c),'boolFlag':!![]},{'name':a84k(0xfe),'boolFlag':!![]},{'name':a84k(0xf4),'boolFlag':![]},{'name':a84k(0xe4),'boolFlag':![]},{'name':'help','boolFlag':!![]},{'name':'pallet','values':[a84k(0x105),'dark']}],'shortDesc':'Set\x20global\x20Maka-CLI\x20settings','description':a84k(0x10b),'examples':[a84k(0xe9),a84k(0x108),a84k(0xff)]},async function(a,b){const l=a84k;try{if(b[l(0x10a)]){if(this[l(0xef)][l(0xfd)](b[l(0x10a)]))await this[l(0xef)][l(0xe2)]({'cert':b[l(0x10a)]}),Log['success']('Set\x20CA\x20Cert\x20Path:\x20'+b[l(0x10a)]);else{const c=typeof b[l(0x10a)]===l(0xec)?l(0xee):l(0xf9)+b[l(0x10a)];throw Log[l(0xf7)](c);}}if(b['workspace']){const d=this[l(0xef)][l(0x104)](b['workspace']);if(d)await this['fsi'][l(0xe2)]({'workspace':a84e[l(0xf3)](b['workspace'])}),Log['success'](l(0xe8)+a84e[l(0xf3)](b['workspace']));else throw Log[l(0xf7)]('Could\x20not\x20find\x20directory');}b[l(0xe4)]&&(await this[l(0xef)][l(0xe2)]({'openai':b[l(0xe4)]}),Log[l(0xea)](l(0xed)+b[l(0xe4)]));b[l(0xfc)]&&(await this[l(0xef)]['setGlobalConfig']({'pallet':b[l(0xfc)]}),Log['success'](l(0xe7)+b[l(0xfc)]));if(b[l(0x10c)]){if(b[l(0x10c)]&&b[l(0xfe)])throw Log['error'](l(0xe3));let f=b[l(0x10c)];b[l(0xfe)]&&(f=![]),await this['fsi'][l(0xe2)]({'allowInsecure':f}),Log['success'](l(0xe5)+f);}process[l(0xf6)](0x0);}catch(g){console[l(0xf7)](g),process['exit'](0x0);}},a84f);
@@ -1 +1 @@
1
- var a85h=a85d;(function(a,b){var f=a85d,c=a();while(!![]){try{var d=parseInt(f(0x194))/0x1+parseInt(f(0x1a4))/0x2*(-parseInt(f(0x19c))/0x3)+parseInt(f(0x196))/0x4+-parseInt(f(0x192))/0x5*(-parseInt(f(0x198))/0x6)+parseInt(f(0x19d))/0x7*(-parseInt(f(0x1a5))/0x8)+-parseInt(f(0x19b))/0x9*(parseInt(f(0x197))/0xa)+parseInt(f(0x1a1))/0xb*(parseInt(f(0x190))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0x9a3cb));var a85b=(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;};}()),a85a=a85b(this,function(){var g=a85d;return a85a[g(0x193)]()['search'](g(0x199))[g(0x193)]()[g(0x191)](a85a)[g(0x19f)](g(0x199));});a85a();function a85c(){var j=['constructor','129890zwEjoZ','toString','1096254PTCaVf','maka\x20set:lc\x20<opts>','2471672VsWOHT','1260NABran','162hEUZPP','(((.+)+)+)+$','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','56439cuGOsD','9VQQQEk','115612BGvAxN','Sorry,\x20not\x20implemented\x20yet','search','notice','983587aSwnHo','create','local-config','615388FxJSgb','424OoRFPu','maka\x20set:local-config\x20<opts>','108zTRiMm'];a85c=function(){return j;};return a85c();}function a85d(a,b){var c=a85c();return a85d=function(d,e){d=d-0x18f;var f=c[d];return f;},a85d(a,b);}import a85e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a85h(0x1a2)]({'name':a85h(0x1a3),'usage':a85h(0x18f),'examples':[a85h(0x195),a85h(0x18f)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':'Set\x20local\x20maka\x20app\x20settings','validOpts':[],'description':a85h(0x19a)},async function(){var i=a85h;Log[i(0x1a0)](i(0x19e));},a85e);
1
+ var a85i=a85d;function a85c(){var k=['16487508KSKKBq','268750eprbMN','1400zGBVdH','245708eRSdWw','1594008hvNKQI','3585000uxdpzQ','local-config','(((.+)+)+)+$','Sorry,\x20not\x20implemented\x20yet','search','toString','create','7CfEwXP','7407RksfFr','maka\x20set:lc\x20<opts>','1930740dmTVlG','maka\x20set:local-config\x20<opts>','apply','notice','11VTLmgP','3enbNLv','1sAXkzE','constructor'];a85c=function(){return k;};return a85c();}(function(a,b){var f=a85d,c=a();while(!![]){try{var d=parseInt(f(0x76))/0x1*(parseInt(f(0x79))/0x2)+parseInt(f(0x75))/0x3*(-parseInt(f(0x7b))/0x4)+-parseInt(f(0x70))/0x5+-parseInt(f(0x7c))/0x6+-parseInt(f(0x6d))/0x7*(parseInt(f(0x7d))/0x8)+-parseInt(f(0x6e))/0x9*(parseInt(f(0x7a))/0xa)+parseInt(f(0x74))/0xb*(parseInt(f(0x78))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0x38942));var a85b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a85d;if(c){var e=c[g(0x72)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){var h=a85d;return a85a[h(0x6b)]()['search'](h(0x7f))[h(0x6b)]()[h(0x77)](a85a)[h(0x6a)](h(0x7f));});a85a();import a85e from'./set.command.js';import{Command}from'../../command.js';function a85d(a,b){var c=a85c();return a85d=function(d,e){d=d-0x6a;var f=c[d];return f;},a85d(a,b);}import{Log}from'../../tools/log/log.class.js';Command[a85i(0x6c)]({'name':a85i(0x7e),'usage':a85i(0x71),'examples':[a85i(0x6f),a85i(0x71)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':'Set\x20local\x20maka\x20app\x20settings','validOpts':[],'description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20'},async function(){var j=a85i;Log[j(0x73)](j(0x80));},a85e);
@@ -1 +1 @@
1
- const a86i=a86d;function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0xa2;let f=c[d];return f;},a86d(a,b);}(function(a,b){const f=a86d,c=a();while(!![]){try{const d=-parseInt(f(0xb4))/0x1*(parseInt(f(0xb0))/0x2)+parseInt(f(0xad))/0x3+parseInt(f(0xb5))/0x4+parseInt(f(0xa6))/0x5*(parseInt(f(0xae))/0x6)+parseInt(f(0xb3))/0x7+parseInt(f(0xaf))/0x8+-parseInt(f(0xab))/0x9*(parseInt(f(0xb7))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0x56b36));const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a86d;if(c){const e=c[g(0xac)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const h=a86d;return a86a[h(0xa4)]()[h(0xa9)](h(0xa7))[h(0xa4)]()[h(0xb6)](a86a)['search']('(((.+)+)+)+$');});a86a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command[a86i(0xb1)]({'name':a86i(0xaa),'usage':a86i(0xa8),'minArgLength':0x1,'shortDesc':a86i(0xa2),'description':a86i(0xa3),'validOpts':[]},async function(a,b){const j=a86i,c=a[0x0];if(b[j(0xb2)])throw new UsageError();const d=this['findSubCommand'](c);d&&this[j(0xa5)](c,a,b);});function a86c(){const k=['runSubCommand','55DJghnA','(((.+)+)+)+$','maka\x20set:<sub-command>\x20<opts>','search','set','304029UItJAj','apply','1632330AAdJlS','153486FxXaHh','5045520Wxnwbz','631354LLKVYM','create','help','3415678TgIjxu','1hFPkUz','716964AiKCzv','constructor','430yEJSiY','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','toString'];a86c=function(){return k;};return a86c();}export default SetCommand;
1
+ function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0xa8;let f=c[d];return f;},a86d(a,b);}const a86i=a86d;(function(a,b){const f=a86d,c=a();while(!![]){try{const d=parseInt(f(0xa9))/0x1*(parseInt(f(0xb4))/0x2)+-parseInt(f(0xb5))/0x3*(-parseInt(f(0xad))/0x4)+parseInt(f(0xbd))/0x5*(parseInt(f(0xb3))/0x6)+parseInt(f(0xac))/0x7*(parseInt(f(0xba))/0x8)+parseInt(f(0xbb))/0x9*(-parseInt(f(0xb7))/0xa)+-parseInt(f(0xb6))/0xb+parseInt(f(0xaa))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0x3515d));const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a86d;if(c){const e=c[g(0xb2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const h=a86d;return a86a['toString']()[h(0xaf)](h(0xa8))['toString']()[h(0xb9)](a86a)[h(0xaf)](h(0xa8));});a86a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';function a86c(){const k=['set','56oLAbSl','4YSzXIt','maka\x20set:<sub-command>\x20<opts>','search','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','create','apply','6wFudMA','34682uhvhJt','422277ouVARp','4396656WvrAJW','7710UvMeiA','runSubCommand','constructor','25672tXhtZb','954yOmxXb','findSubCommand','1859945QoUlGn','\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','(((.+)+)+)+$','4ucwpQi','1092900PjTuhV'];a86c=function(){return k;};return a86c();}const SetCommand=Command[a86i(0xb1)]({'name':a86i(0xab),'usage':a86i(0xae),'minArgLength':0x1,'shortDesc':a86i(0xb0),'description':a86i(0xbe),'validOpts':[]},async function(a,b){const j=a86i,c=a[0x0];if(b['help'])throw new UsageError();const d=this[j(0xbc)](c);d&&this[j(0xb8)](c,a,b);});export default SetCommand;
@@ -1 +1 @@
1
- const a87m=a87d;(function(a,b){const j=a87d,c=a();while(!![]){try{const d=-parseInt(j(0x1c2))/0x1*(parseInt(j(0x1bd))/0x2)+-parseInt(j(0x1c1))/0x3*(-parseInt(j(0x1b8))/0x4)+parseInt(j(0x1c8))/0x5+-parseInt(j(0x1b4))/0x6+-parseInt(j(0x1b3))/0x7+parseInt(j(0x1bf))/0x8+parseInt(j(0x1c0))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0x92c07));function a87c(){const o=['error','ssh','join','sshSync','5291811fIKkIt','6798792yrtkMc','maka\x20ssh\x20--env\x20dev','maka\x20ssh\x20<command>','exit','237740WkVexC','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','create','env','613540FlOzcY','getConfigPath','780184mEFsEk','25473267ieGZpb','15nXhnDU','3qBmkHs','search','(((.+)+)+)+$','fsi','ssh.json','assign','927245utpTRj','apply','verbose','toString','parse'];a87c=function(){return o;};return a87c();}const a87b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a87d;if(c){const e=c[k(0x1c9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){const l=a87d;return a87a[l(0x1cb)]()[l(0x1c3)](l(0x1c4))['toString']()['constructor'](a87a)['search']('(((.+)+)+)+$');});a87a();import a87e from'fs';import a87f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';function a87d(a,b){const c=a87c();return a87d=function(d,e){d=d-0x1b2;let f=c[d];return f;},a87d(a,b);}Command[a87m(0x1bb)]({'name':a87m(0x1ce),'usage':a87m(0x1b6),'mustBeInMakaProject':!![],'requiredOpts':[a87m(0x1bc)],'validOpts':[a87m(0x1bc),'verbose'],'shortDesc':a87m(0x1b9),'examples':[a87m(0x1b5),'maka\x20ssh\x20--env\x20staging','maka\x20ssh\x20--env\x20prod','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22',a87m(0x1ba),'maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22']},async function(a,b){const n=a87m;try{const c=this[n(0x1c5)][n(0x1be)](b[n(0x1bc)]);let d='';a['length']>0x0&&(d=a[0x0]);const f=a87f[n(0x1cf)](c,n(0x1c6)),g=a87e['readFileSync'](f)['toString'](),h=JSON[n(0x1cc)](g);Object[n(0x1c7)](h,{'env':c}),SSH[n(0x1b2)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b[n(0x1ca)]});}catch(i){console[n(0x1cd)](i),process[n(0x1b7)](0x0);}});
1
+ function a87d(a,b){const c=a87c();return a87d=function(d,e){d=d-0x1f4;let f=c[d];return f;},a87d(a,b);}const a87m=a87d;(function(a,b){const j=a87d,c=a();while(!![]){try{const d=-parseInt(j(0x1ff))/0x1+parseInt(j(0x211))/0x2*(-parseInt(j(0x208))/0x3)+-parseInt(j(0x1fb))/0x4+-parseInt(j(0x201))/0x5+parseInt(j(0x200))/0x6*(parseInt(j(0x1fc))/0x7)+parseInt(j(0x1f4))/0x8+parseInt(j(0x205))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0x28610));const a87b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a87d;if(c){const e=c[k(0x207)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){const l=a87d;return a87a[l(0x206)]()['search'](l(0x1fe))['toString']()['constructor'](a87a)[l(0x203)](l(0x1fe));});a87a();import a87e from'fs';import a87f from'path';function a87c(){const o=['join','3217680UarbDB','toString','apply','426543hXNWPT','exit','getConfigPath','maka\x20ssh\x20--env\x20staging','fsi','maka\x20ssh\x20<command>','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','sshSync','env','2yLjbuD','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','1583048VbOJOm','error','readFileSync','maka\x20ssh\x20--env\x20dev','assign','ssh.json','length','88608ofoLtT','14SiWPAK','parse','(((.+)+)+)+$','123498jbmFIE','320556OSgoBs','1045150SbNSPQ','maka\x20ssh\x20--env\x20prod','search'];a87c=function(){return o;};return a87c();}import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command['create']({'name':'ssh','usage':a87m(0x20d),'mustBeInMakaProject':!![],'requiredOpts':[a87m(0x210)],'validOpts':[a87m(0x210),'verbose'],'shortDesc':'Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','examples':[a87m(0x1f7),a87m(0x20b),a87m(0x202),a87m(0x212),a87m(0x20e),'maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22']},async function(a,b){const n=a87m;try{const c=this[n(0x20c)][n(0x20a)](b[n(0x210)]);let d='';a[n(0x1fa)]>0x0&&(d=a[0x0]);const f=a87f[n(0x204)](c,n(0x1f9)),g=a87e[n(0x1f6)](f)[n(0x206)](),h=JSON[n(0x1fd)](g);Object[n(0x1f8)](h,{'env':c}),SSH[n(0x20f)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['verbose']});}catch(i){console[n(0x1f5)](i),process[n(0x209)](0x0);}});
@@ -1 +1 @@
1
- function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x15f;let f=c[d];return f;},a88d(a,b);}const a88y=a88d;function a88c(){const A=['Using\x20saved\x20letsencrypt\x20config','withSpinner','email','/ssh.json','success','genSSC','existsSync','sudo\x20snap\x20install\x20--classic\x20certbot','140deHlly','writeFileSync','genCSR','error','fsi','1764RYGoWl','354429TjkIvM','stringify','getConfigPath','create','\x20--email\x20','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','notice','domainNames','964375IsOkjL','.csr','env','readFileSync','maka\x20ssl\x20--env\x20dev\x20generate-csr','Verifying\x20Letsencrypt\x20configuration','domains','parse','67722EIrupR','Please\x20provide\x20a\x20command.','14702370CdauxQ','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','[?]\x20Domains\x20to\x20register:\x20','ping','appName','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','assign','constructor','72HWmhZW','letsencrypt.json','(((.+)+)+)+$','ssh','601754bpEMjT','apply','emailUpdate','join','.key','.crt','Email\x20to\x20use\x20for\x20auto-updates:\x20','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','3156oSlKve','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','Create\x20and\x20manage\x20your\x20SSL\x20operations.','start','generate-ssc','getProjectConfig','ask','44934LCrrjx','search','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','maka\x20ssl\x20[command]','toString'];a88c=function(){return A;};return a88c();}(function(a,b){const v=a88d,c=a();while(!![]){try{const d=-parseInt(v(0x19d))/0x1+-parseInt(v(0x16b))/0x2+-parseInt(v(0x173))/0x3*(parseInt(v(0x18c))/0x4)+parseInt(v(0x195))/0x5+-parseInt(v(0x17a))/0x6*(parseInt(v(0x187))/0x7)+parseInt(v(0x167))/0x8*(-parseInt(v(0x18d))/0x9)+parseInt(v(0x15f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x4fae4));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a88d;if(c){const e=c[w(0x16c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const x=a88d;return a88a[x(0x17e)]()[x(0x17b)](x(0x169))['toString']()[x(0x166)](a88a)[x(0x17b)](x(0x169));});a88a();import a88e from'fs';import a88f from'path';import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command[a88y(0x190)]({'name':'ssl','usage':a88y(0x17d),'validOpts':[a88y(0x19b),'email'],'requiredOpts':[a88y(0x197)],'shortDesc':a88y(0x175),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a88y(0x199),'maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate',a88y(0x174)]},async function(a,b){const z=a88y,c=this['fsi'][z(0x178)](),d=this[z(0x18b)][z(0x18f)](b[z(0x197)]),f=this[z(0x18b)]['mkKeysDir']({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g==='generate-csr')SSL[z(0x189)]({'keyName':c[z(0x163)]+z(0x16f),'csrName':c[z(0x163)]+z(0x196),'cwd':f});else{if(g===z(0x177)){if(!a88e[z(0x185)](a88f[z(0x16e)](f,c[z(0x163)]+'.key')))throw z(0x17c)+a88f[z(0x16e)](f,c[z(0x163)]+z(0x16f));if(!a88e[z(0x185)](a88f[z(0x16e)](f,c[z(0x163)]+z(0x196))))throw z(0x192)+a88f[z(0x16e)](f,c[z(0x163)]+'.csr');SSL[z(0x184)]({'keyName':c['appName']+z(0x16f),'crtName':c[z(0x163)]+z(0x170),'cwd':f}),Log[z(0x193)]('New\x20CSR\x20written\x20to\x20'+f);}else{if(g==='letsencrypt'){let h=b[z(0x19b)],i=b[z(0x181)];try{const p=a88e['readFileSync'](a88f[z(0x16e)](d,'letsencrypt.json'))[z(0x17e)](),q=JSON[z(0x19c)](p);h=b[z(0x19b)]?b[z(0x19b)]:q[z(0x194)],i=b[z(0x181)]?b['email']:q[z(0x16d)],(!b['email']||!b[z(0x19b)])&&Log[z(0x193)](z(0x17f));}catch(r){}const j=JSON[z(0x19c)](a88e[z(0x198)](d+z(0x182))[z(0x17e)]());Object[z(0x165)](j,{'env':d}),Log['notice']('Checking\x20remote\x20host\x20availability');try{const s=SSH[z(0x162)]('uname\x20-a',j);if(!s)throw z(0x160);if(s)Log['success']('Remote\x20host\x20connection\x20successful');}catch(t){Log[z(0x18a)](t);return;}const k=Log[z(0x180)]();k[z(0x176)](z(0x19a)),SSH['ssh'](z(0x172),{...j}),SSH['ssh'](z(0x186),{...j}),SSH[z(0x16a)](z(0x164),{...j}),k[z(0x183)]();const l=h?h:await Actions[z(0x179)](z(0x161)),m=i?i:await Actions['ask'](z(0x171));SSH['ssh']('sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20'+l+z(0x191)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0x18e)](n,null,0x2);a88e[z(0x188)](a88f[z(0x16e)](d,z(0x168)),o);}else throw z(0x19e);}}}catch(u){console[z(0x18a)](u),process['exit'](0x0);}});
1
+ const a88y=a88d;(function(a,b){const v=a88d,c=a();while(!![]){try{const d=-parseInt(v(0xff))/0x1*(parseInt(v(0x10d))/0x2)+-parseInt(v(0xfd))/0x3*(-parseInt(v(0xf9))/0x4)+-parseInt(v(0xf1))/0x5+-parseInt(v(0x116))/0x6+parseInt(v(0x120))/0x7*(-parseInt(v(0xeb))/0x8)+parseInt(v(0x11a))/0x9*(-parseInt(v(0x106))/0xa)+-parseInt(v(0x102))/0xb*(-parseInt(v(0xfb))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x6da0b));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a88d;if(c){const e=c[w(0xf6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const x=a88d;return a88a[x(0x11d)]()[x(0x100)](x(0xef))[x(0x11d)]()[x(0x115)](a88a)[x(0x100)](x(0xef));});a88a();import a88e from'fs';import a88f from'path';import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0xe9;let f=c[d];return f;},a88d(a,b);}Command['create']({'name':a88y(0x110),'usage':a88y(0xec),'validOpts':[a88y(0x119),a88y(0x10a)],'requiredOpts':[a88y(0x11b)],'shortDesc':a88y(0x10f),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a88y(0xf3),'maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate',a88y(0x107)]},async function(a,b){const z=a88y,c=this['fsi'][z(0x118)](),d=this[z(0x10c)]['getConfigPath'](b[z(0x11b)]),f=this['fsi'][z(0x105)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g==='generate-csr')SSL['genCSR']({'keyName':c['appName']+z(0x11c),'csrName':c['appName']+'.csr','cwd':f});else{if(g==='generate-ssc'){if(!a88e[z(0x123)](a88f[z(0x11e)](f,c[z(0x101)]+'.key')))throw'The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20'+a88f[z(0x11e)](f,c[z(0x101)]+z(0x11c));if(!a88e['existsSync'](a88f[z(0x11e)](f,c[z(0x101)]+'.csr')))throw'The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20'+a88f[z(0x11e)](f,c[z(0x101)]+z(0xea));SSL[z(0xfa)]({'keyName':c[z(0x101)]+z(0x11c),'crtName':c['appName']+z(0xf8),'cwd':f}),Log[z(0xfc)](z(0x122)+f);}else{if(g===z(0x103)){let h=b[z(0x119)],i=b[z(0x10a)];try{const p=a88e[z(0x11f)](a88f[z(0x11e)](d,z(0xf7)))['toString'](),q=JSON['parse'](p);h=b['domains']?b[z(0x119)]:q['domainNames'],i=b[z(0x10a)]?b['email']:q[z(0x104)],(!b[z(0x10a)]||!b[z(0x119)])&&Log[z(0xfc)](z(0x124));}catch(r){}const j=JSON['parse'](a88e[z(0x11f)](d+'/ssh.json')[z(0x11d)]());Object[z(0x114)](j,{'env':d}),Log[z(0xfc)](z(0x10b));try{const s=SSH[z(0xf2)](z(0x109),j);if(!s)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(s)Log[z(0xf4)]('Remote\x20host\x20connection\x20successful');}catch(t){Log[z(0xfe)](t);return;}const k=Log['withSpinner']();k[z(0x10e)]('Verifying\x20Letsencrypt\x20configuration'),SSH['ssh'](z(0x112),{...j}),SSH[z(0xf5)](z(0x108),{...j}),SSH[z(0xf5)](z(0x117),{...j}),k[z(0xf4)]();const l=h?h:await Actions[z(0x111)](z(0xed)),m=i?i:await Actions[z(0x111)]('Email\x20to\x20use\x20for\x20auto-updates:\x20');SSH['ssh'](z(0xee)+l+z(0x113)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON['stringify'](n,null,0x2);a88e[z(0xf0)](a88f[z(0x11e)](d,z(0xf7)),o);}else throw z(0xe9);}}}catch(u){console[z(0xfe)](u),process[z(0x121)](0x0);}});function a88c(){const A=['.crt','2200qxoELQ','genSSC','169680AIInGM','notice','4494ypGEuk','error','220868lZLeEN','search','appName','1991aqhdfV','letsencrypt','emailUpdate','mkKeysDir','20TSLmDW','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','sudo\x20snap\x20install\x20--classic\x20certbot','uname\x20-a','email','Checking\x20remote\x20host\x20availability','fsi','4euZqBZ','start','Create\x20and\x20manage\x20your\x20SSL\x20operations.','ssl','ask','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','\x20--email\x20','assign','constructor','4188048aEgpAt','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','getProjectConfig','domains','3740481udddPB','env','.key','toString','join','readFileSync','21NLatym','exit','New\x20CSR\x20written\x20to\x20','existsSync','Using\x20saved\x20letsencrypt\x20config','Please\x20provide\x20a\x20command.','.csr','402216pCIAVm','maka\x20ssl\x20[command]','[?]\x20Domains\x20to\x20register:\x20','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','(((.+)+)+)+$','writeFileSync','4062060rnohsG','ping','maka\x20ssl\x20--env\x20dev\x20generate-csr','success','ssh','apply','letsencrypt.json'];a88c=function(){return A;};return a88c();}
@@ -1 +1 @@
1
- function a89c(){const s=['join','.maka','169810wtbwKo','toString','packages','13914wPrMkj','fsi','inspect','constructor','parse','driver','engines','notice','(((.+)+)+)+$','--settings','19382004UHjRMR','error','utf8','--packages','Meteor\x20Settings:\x20','--driver','env','create','jasmine','meteortesting:mocha','1270822DGNvMe','61580tKbKUx','5458760EKzwKv','12TwJnoL','driver-package','21FxgWtj','11gxRxya','rawLogs','concat','maka\x20test\x20<opts>','test','35kLKkgB','config.json','273116jtpYbP','findProjectDirectory','getConfigPath','testAppPath','81NVyFDN','slice','--driver-package','mocha','settings.json','driverPackage','process.env','apply','sanjo:jasmine','filter','warn','readFileSync','invokeMeteorCommand','search','exit','splice','port','none','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','unit','--env'];a89c=function(){return s;};return a89c();}const a89p=a89d;function a89d(a,b){const c=a89c();return a89d=function(d,e){d=d-0x13d;let f=c[d];return f;},a89d(a,b);}(function(a,b){const m=a89d,c=a();while(!![]){try{const d=-parseInt(m(0x140))/0x1*(-parseInt(m(0x160))/0x2)+parseInt(m(0x179))/0x3*(-parseInt(m(0x142))/0x4)+parseInt(m(0x15d))/0x5*(parseInt(m(0x177))/0x6)+-parseInt(m(0x174))/0x7+-parseInt(m(0x176))/0x8+parseInt(m(0x146))/0x9*(-parseInt(m(0x175))/0xa)+parseInt(m(0x17a))/0xb*(parseInt(m(0x16a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x813a8));const a89b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a89d;if(c){const e=c[n(0x14d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){const o=a89d;return a89a['toString']()[o(0x153)](o(0x168))[o(0x15e)]()[o(0x163)](a89a)[o(0x153)](o(0x168));});a89a();import a89e from'fs';import a89f from'path';import a89g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){a89e['openSync'](a,'r'),a89g['config']({'path':a});};Command[a89p(0x171)]({'name':'test','mustBeInMakaProject':!![],'validOpts':['once',a89p(0x15f),'driver',a89p(0x14b),'unit',a89p(0x170),a89p(0x17b),a89p(0x156),a89p(0x162),a89p(0x145)],'usage':a89p(0x13e),'shortDesc':a89p(0x158),'examples':[]},function(a,b){const q=a89p;try{let c=this[q(0x161)][q(0x144)]('development');b[q(0x170)]&&(c=this[q(0x161)][q(0x144)](b[q(0x170)]));(!b[q(0x159)]||!!b['once'])&&(a=a[q(0x13d)](['--full-app']));b[q(0x159)]&&delete b['unit'];let d=b[q(0x178)]||b[q(0x165)]||q(0x157);if(d===q(0x157)){const j=JSON[q(0x164)](a89e[q(0x151)](a89f['join'](this[q(0x161)][q(0x143)](),q(0x15c),q(0x141)),q(0x16c)));if(j[q(0x166)][q(0x13f)]===q(0x172))d=q(0x14e);else j[q(0x166)][q(0x13f)]===q(0x149)&&(d=q(0x173));}if(d==='none')throw'This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)';(!b[q(0x178)]||!b[q(0x165)])&&(a=a[q(0x13d)]([q(0x148),d]));const f=a89f[q(0x15b)](c,q(0x14a));this[q(0x161)]['isFile'](f)?(Log[q(0x167)](q(0x16e)+f),a=a['concat']([q(0x169),f])):Log[q(0x150)]('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+f);const g=a89f['join'](c,q(0x14c));this[q(0x161)]['isFile'](g)?(Log[q(0x167)]('Node\x20Env\x20Config:\x20'+g),syncSource(g)):Log[q(0x150)]('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+g);const h=process['argv'][q(0x147)](0x2)['filter'](k=>k!==q(0x15a))[q(0x14f)](k=>k!==q(0x13f))[q(0x14f)](k=>k!==a[0x0]);h['forEach']((k,l)=>{const r=q;(k===r(0x15a)||k===r(0x16f))&&h[r(0x155)](l,0x2),k===r(0x16d)&&h['splice'](l,0x1);});const i=b[q(0x15f)]?'test-packages':'test';this[q(0x161)][q(0x152)](i,a['concat'](h));}catch(k){console[q(0x16b)](k),process[q(0x154)](0x0);}});
1
+ const a89p=a89d;(function(a,b){const m=a89d,c=a();while(!![]){try{const d=parseInt(m(0xba))/0x1*(-parseInt(m(0xc5))/0x2)+parseInt(m(0xb8))/0x3*(parseInt(m(0xd0))/0x4)+parseInt(m(0xaa))/0x5+parseInt(m(0xad))/0x6*(parseInt(m(0xc8))/0x7)+-parseInt(m(0xe0))/0x8*(parseInt(m(0xe5))/0x9)+-parseInt(m(0xab))/0xa*(-parseInt(m(0xe7))/0xb)+-parseInt(m(0xd5))/0xc*(parseInt(m(0xa7))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x259f7));const a89b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){const n=a89d;return a89a[n(0xbe)]()[n(0xbd)](n(0xe8))[n(0xbe)]()[n(0xc0)](a89a)[n(0xbd)](n(0xe8));});function a89d(a,b){const c=a89c();return a89d=function(d,e){d=d-0xa6;let f=c[d];return f;},a89d(a,b);}a89a();import a89e from'fs';import a89f from'path';import a89g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a89c(){const s=['join','178958hFwhtr','splice','none','1431192mprhvD','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','meteortesting:mocha','--driver','rawLogs','utf8','port','4bQBgnH','notice','forEach','driver-package','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','57732BEEaxi','findProjectDirectory','config.json','--driver-package','.maka','maka\x20test\x20<opts>','test-packages','argv','getConfigPath','exit','sanjo:jasmine','8rfROLQ','driverPackage','packages','engines','settings.json','1294506dlJCUJ','fsi','22nvkoxV','(((.+)+)+)+$','isFile','env','openSync','390TDEWLX','--settings','Node\x20Env\x20Config:\x20','966885lDayCP','131520DAuPIp','once','6Tbgtjb','mocha','filter','process.env','concat','parse','warn','inspect','--packages','error','--env','322827xZMCfq','unit','1wROXeT','jasmine','slice','search','toString','driver','constructor','config','Meteor\x20Settings:\x20','test'];a89c=function(){return s;};return a89c();}const syncSource=function(a){const o=a89d;a89e[o(0xa6)](a,'r'),a89g[o(0xc1)]({'path':a});};Command['create']({'name':'test','mustBeInMakaProject':!![],'validOpts':['once',a89p(0xe2),a89p(0xbf),a89p(0xe1),a89p(0xb9),a89p(0xea),a89p(0xcd),a89p(0xcf),a89p(0xb4),'testAppPath'],'usage':a89p(0xda),'shortDesc':a89p(0xca),'examples':[]},function(a,b){const q=a89p;try{let c=this['fsi'][q(0xdd)]('development');b[q(0xea)]&&(c=this[q(0xe6)][q(0xdd)](b[q(0xea)]));(!b[q(0xb9)]||!!b[q(0xac)])&&(a=a['concat'](['--full-app']));b[q(0xb9)]&&delete b['unit'];let d=b[q(0xd3)]||b['driver']||q(0xc7);if(d===q(0xc7)){const j=JSON[q(0xb2)](a89e['readFileSync'](a89f[q(0xc4)](this[q(0xe6)][q(0xd6)](),q(0xd9),q(0xd7)),q(0xce)));if(j[q(0xe3)][q(0xc3)]===q(0xbb))d=q(0xdf);else j[q(0xe3)][q(0xc3)]===q(0xae)&&(d=q(0xcb));}if(d===q(0xc7))throw q(0xd4);(!b[q(0xd3)]||!b[q(0xbf)])&&(a=a[q(0xb1)]([q(0xd8),d]));const f=a89f[q(0xc4)](c,q(0xe4));this[q(0xe6)]['isFile'](f)?(Log[q(0xd1)](q(0xc2)+f),a=a[q(0xb1)]([q(0xa8),f])):Log['warn'](q(0xc9)+f);const g=a89f[q(0xc4)](c,q(0xb0));this[q(0xe6)][q(0xe9)](g)?(Log[q(0xd1)](q(0xa9)+g),syncSource(g)):Log[q(0xb3)]('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+g);const h=process[q(0xdc)][q(0xbc)](0x2)['filter'](k=>k!==q(0xb7))[q(0xaf)](k=>k!=='test')[q(0xaf)](k=>k!==a[0x0]);h[q(0xd2)]((k,l)=>{const r=q;(k==='--env'||k===r(0xcc))&&h[r(0xc6)](l,0x2),k===r(0xb5)&&h[r(0xc6)](l,0x1);});const i=b[q(0xe2)]?q(0xdb):q(0xc3);this[q(0xe6)]['invokeMeteorCommand'](i,a[q(0xb1)](h));}catch(k){console[q(0xb6)](k),process[q(0xde)](0x0);}});
@@ -1 +1 @@
1
- const a90n=a90d;(function(a,b){const k=a90d,c=a();while(!![]){try{const d=parseInt(k(0x16c))/0x1+-parseInt(k(0x16b))/0x2+-parseInt(k(0x153))/0x3*(parseInt(k(0x17c))/0x4)+-parseInt(k(0x170))/0x5+-parseInt(k(0x176))/0x6+parseInt(k(0x15c))/0x7+parseInt(k(0x152))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0xd4217));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a90d;if(c){const e=c[l(0x158)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const m=a90d;return a90a[m(0x166)]()[m(0x15b)](m(0x15f))['toString']()[m(0x177)](a90a)[m(0x15b)](m(0x15f));});a90a();import{execSync}from'child_process';import a90e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':a90n(0x17a)};function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x151;let f=c[d];return f;},a90d(a,b);}function a90c(){const p=['getGlobalMeteorVersion','replace','4.5.51','\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','4XwbODm','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','fsi','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','26064272tCQevh','2509932SxCCmv','exit','\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','Maka\x20','----------------------System----------------------------','apply','verbose','getProjectsMeteorNodeVersion','search','909153RRZMEN','Project\x27s\x20Meteor\x20Version\x20','System\x27s\x20Node\x20Version\x20','(((.+)+)+)+$','create','N/A','error','compareMakaToLatest','warn','bright','toString','meteor.bat','node\x20-v','notice','win32','604452xjzKiK','343229niqSwj','maka\x20version\x20--verbose','isMakaProject','meteor','2543350HmGeeV','Project\x27s\x20Meteor\x20Node\x20Version\x20','\x20node\x20-v','platform',')\x20to\x20at\x20least\x20meteor\x27s\x20(','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','7288290yMyhjY','constructor'];a90c=function(){return p;};return a90c();}Command[a90n(0x160)]({'name':'version','aliases':['v'],'usage':'maka\x20version','maxArgLength':0x1,'validOpts':['verbose'],'shortDesc':a90n(0x151),'examples':['maka\x20v','maka\x20version',a90n(0x16d)],'description':a90n(0x155)},async function(a,b){const o=a90n;try{const c=process[o(0x173)]===o(0x16a)?o(0x167):o(0x16f);Log['majestic'](o(0x156)+pjson['version']),await this[o(0x17e)][o(0x163)]();if(b[o(0x159)]){await this[o(0x17e)][o(0x163)](),Log['bright'](o(0x157));const d=this[o(0x17e)][o(0x178)]();Log[o(0x165)](('System\x27s\x20Meteor\x20Version\x20'+d)[o(0x179)]('\x0a',''));const f=execSync(c+o(0x172))[o(0x166)]()[o(0x179)](/\r?\n|\r/,'')[o(0x179)]('v','');Log[o(0x165)]('System\x27s\x20Meteor\x27s\x20Node\x20Version\x20'+f);const g=execSync(o(0x168))[o(0x166)]()['replace'](/\r?\n|\r/,'')[o(0x179)]('v','');a90e['gt'](f,g)?(Log[o(0x164)](o(0x15e)+g),Log['warn'](o(0x175)+g+o(0x174)+f+')')):Log['bright'](o(0x15e)+g);if(this[o(0x17e)][o(0x16e)]()){Log[o(0x165)]('----------------------Project----------------------------');const h=this['fsi']['getProjectMeteorVersion']();a90e['gt'](d,h)?(Log[o(0x164)](o(0x15d)+h[o(0x179)]('\x0a','')),Log[o(0x164)](o(0x17d)+d+'\x22')):Log[o(0x169)]((o(0x15d)+h)[o(0x179)]('\x0a',''));const i=await this[o(0x17e)][o(0x15a)]();i===o(0x161)?(Log['warn'](o(0x171)+i),Log['warn']('\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.')):Log[o(0x165)](o(0x171)+i),Log[o(0x165)](o(0x17b));}}}catch(j){console[o(0x162)](j),process[o(0x154)](0x0);}});
1
+ const a90n=a90d;(function(a,b){const k=a90d,c=a();while(!![]){try{const d=parseInt(k(0x1fa))/0x1*(parseInt(k(0x1f9))/0x2)+-parseInt(k(0x209))/0x3+parseInt(k(0x1ec))/0x4+-parseInt(k(0x1f1))/0x5+parseInt(k(0x1fc))/0x6*(-parseInt(k(0x1e2))/0x7)+-parseInt(k(0x200))/0x8+parseInt(k(0x1fd))/0x9*(parseInt(k(0x1f7))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0x7d9c8));function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x1dc;let f=c[d];return f;},a90d(a,b);}const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a90d;if(c){const e=c[l(0x1ea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const m=a90d;return a90a[m(0x1fe)]()[m(0x1eb)](m(0x20a))[m(0x1fe)]()[m(0x20e)](a90a)[m(0x1eb)](m(0x20a));});function a90c(){const p=['\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','getProjectsMeteorNodeVersion','meteor.bat','exit','bright','apply','search','318680DsAcsr','majestic','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.',')\x20to\x20at\x20least\x20meteor\x27s\x20(','getGlobalMeteorVersion','2611885VeSnRT','Project\x27s\x20Meteor\x20Node\x20Version\x20','\x0a\x20\x20When\x20using\x20the\x20--verbose\x20flag,\x20maka\x20will\x20also\x20check\x20the\x20version\x20of\x20the\x20system\x27s\x20meteor\x20and\x20node\x20versions\x0a\x20\x20along\x20with\x20the\x20project\x27s\x20meteor\x20and\x20node\x20versions.\x20If\x20the\x20system\x27s\x20meteor\x20version\x20is\x20greater\x20than\x20the\x0a\x20\x20project\x27s\x20meteor\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20meteor\x20version.\x20If\x20the\x20system\x27s\x20node\x0a\x20\x20version\x20is\x20greater\x20than\x20the\x20project\x27s\x20node\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20node\x20version.\x0a\x20\x20','System\x27s\x20Node\x20Version\x20','meteor','\x20node\x20-v','14779690HDFHlt','----------------------Project----------------------------','211804eYMrOX','4jiglDQ','\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','2238Jxsylb','9LpMYbf','toString','platform','1052992NqCWCM','warn','Project\x27s\x20Meteor\x20Version\x20','----------------------System----------------------------','isMakaProject','win32','compareMakaToLatest','4.5.52','maka\x20version\x20--verbose','315483QChBds','(((.+)+)+)+$','fsi','replace','System\x27s\x20Meteor\x20Version\x20','constructor','create','verbose','error','maka\x20version','version','notice','node\x20-v','13279oUflXR','getProjectMeteorVersion','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20'];a90c=function(){return p;};return a90c();}a90a();import{execSync}from'child_process';import a90e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':a90n(0x207)};Command[a90n(0x20f)]({'name':a90n(0x1df),'aliases':['v'],'usage':'maka\x20version','maxArgLength':0x1,'validOpts':['verbose'],'shortDesc':'Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','examples':['maka\x20v',a90n(0x1de),a90n(0x208)],'description':a90n(0x1f3)},async function(a,b){const o=a90n;try{const c=process[o(0x1ff)]===o(0x205)?o(0x1e7):o(0x1f5);Log[o(0x1ed)]('Maka\x20'+pjson['version']),await this[o(0x20b)][o(0x206)]();if(b[o(0x1dc)]){await this['fsi']['compareMakaToLatest'](),Log[o(0x1e9)](o(0x203));const d=this[o(0x20b)][o(0x1f0)]();Log[o(0x1e9)]((o(0x20d)+d)[o(0x20c)]('\x0a',''));const f=execSync(c+o(0x1f6))[o(0x1fe)]()[o(0x20c)](/\r?\n|\r/,'')[o(0x20c)]('v','');Log[o(0x1e9)](o(0x1e4)+f);const g=execSync(o(0x1e1))[o(0x1fe)]()['replace'](/\r?\n|\r/,'')[o(0x20c)]('v','');a90e['gt'](f,g)?(Log['warn']('System\x27s\x20Node\x20Version\x20'+g),Log[o(0x201)](o(0x1e5)+g+o(0x1ef)+f+')')):Log[o(0x1e9)](o(0x1f4)+g);if(this[o(0x20b)][o(0x204)]()){Log['bright'](o(0x1f8));const h=this[o(0x20b)][o(0x1e3)]();a90e['gt'](d,h)?(Log['warn'](o(0x202)+h[o(0x20c)]('\x0a','')),Log[o(0x201)]('\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20'+d+'\x22')):Log[o(0x1e0)]((o(0x202)+h)[o(0x20c)]('\x0a',''));const i=await this[o(0x20b)][o(0x1e6)]();i==='N/A'?(Log[o(0x201)](o(0x1f2)+i),Log['warn'](o(0x1ee))):Log[o(0x1e9)](o(0x1f2)+i),Log[o(0x1e9)](o(0x1fb));}}}catch(j){console[o(0x1dd)](j),process[o(0x1e8)](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a91d,c=a();while(!![]){try{var d=-parseInt(f(0x9a))/0x1*(-parseInt(f(0x93))/0x2)+-parseInt(f(0x92))/0x3*(-parseInt(f(0x9d))/0x4)+parseInt(f(0x94))/0x5+parseInt(f(0x99))/0x6*(-parseInt(f(0x97))/0x7)+-parseInt(f(0x9b))/0x8+parseInt(f(0x9c))/0x9+-parseInt(f(0x96))/0xa*(parseInt(f(0x9e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0xcb63c));var a91b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a91d;if(c){var e=c[g(0x91)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){var h=a91d;return a91a[h(0x98)]()[h(0x90)](h(0x95))[h(0x98)]()['constructor'](a91a)[h(0x90)]('(((.+)+)+)+$');});a91a();export class UsageError{}function a91c(){var i=['6RGgMLf','2012eCVGNd','5962032vuOiyU','10591965XBXFQO','92SIDbNl','319ODivWA','search','apply','30021DVacju','556cHtbgO','4632750JkmTix','(((.+)+)+)+$','309370wbRlbG','2921947vfuDjH','toString'];a91c=function(){return i;};return a91c();}export class UsageErrorWithSubs{}function a91d(a,b){var c=a91c();return a91d=function(d,e){d=d-0x90;var f=c[d];return f;},a91d(a,b);}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
1
+ (function(a,b){var f=a91d,c=a();while(!![]){try{var d=-parseInt(f(0x11f))/0x1+-parseInt(f(0x127))/0x2*(parseInt(f(0x126))/0x3)+-parseInt(f(0x124))/0x4*(parseInt(f(0x119))/0x5)+parseInt(f(0x128))/0x6+-parseInt(f(0x11d))/0x7*(-parseInt(f(0x11b))/0x8)+parseInt(f(0x122))/0x9*(parseInt(f(0x121))/0xa)+-parseInt(f(0x125))/0xb*(-parseInt(f(0x11e))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0x2aef1));var a91b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a91d;if(c){var e=c[g(0x123)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){var h=a91d;return a91a[h(0x120)]()[h(0x129)]('(((.+)+)+)+$')[h(0x120)]()[h(0x11a)](a91a)[h(0x129)](h(0x11c));});a91a();export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}function a91c(){var i=['3kfitSN','634646ldZCJr','704994QJTcUc','search','25eKCILK','constructor','387656tbkysK','(((.+)+)+)+$','7fGYuWc','2628EqMhIW','43222ALVimC','toString','20mReklh','563877BqmITN','apply','11500ZVgrJc','13035XInXZD'];a91c=function(){return i;};return a91c();}export class NoMeteorAppFoundError{}function a91d(a,b){var c=a91c();return a91d=function(d,e){d=d-0x119;var f=c[d];return f;},a91d(a,b);}export class NoMeteorFoundError{}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- var a92i=a92d;(function(a,b){var f=a92d,c=a();while(!![]){try{var d=-parseInt(f(0x19d))/0x1+-parseInt(f(0x1ac))/0x2*(-parseInt(f(0x19f))/0x3)+-parseInt(f(0x1a1))/0x4+parseInt(f(0x1ab))/0x5+parseInt(f(0x1a6))/0x6+parseInt(f(0x1a7))/0x7*(-parseInt(f(0x1a9))/0x8)+-parseInt(f(0x19c))/0x9*(-parseInt(f(0x1a2))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0xec77f));var a92b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a92d;if(c){var e=c[g(0x1a3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){var h=a92d;return a92a['toString']()[h(0x1aa)](h(0x1a8))[h(0x1a5)]()[h(0x1a0)](a92a)['search'](h(0x1a8));});function a92d(a,b){var c=a92c();return a92d=function(d,e){d=d-0x19c;var f=c[d];return f;},a92d(a,b);}a92a(),process[a92i(0x1a4)]['NODE_OPTIONS']=a92i(0x19e);function a92c(){var j=['8933795mHyiBx','518gIYqqG','45uivURe','1729522MuMGXi','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','45DXpcHh','constructor','4202964KEXdaJ','3486790hOeobI','apply','env','toString','7890084oEpYWs','7cuUMXr','(((.+)+)+)+$','8801720RiBrJU','search'];a92c=function(){return j;};return a92c();}import'./maka.js';
2
+ var a92i=a92d;(function(a,b){var f=a92d,c=a();while(!![]){try{var d=-parseInt(f(0xcc))/0x1+-parseInt(f(0xd8))/0x2+-parseInt(f(0xdb))/0x3*(parseInt(f(0xca))/0x4)+parseInt(f(0xd6))/0x5+-parseInt(f(0xd4))/0x6+-parseInt(f(0xcd))/0x7*(-parseInt(f(0xd1))/0x8)+parseInt(f(0xd3))/0x9*(parseInt(f(0xd5))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0xf1cf7));var a92b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a92d;if(c){var e=c[g(0xd2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){var h=a92d;return a92a[h(0xd0)]()[h(0xcf)](h(0xcb))[h(0xd0)]()[h(0xd9)](a92a)[h(0xcf)]('(((.+)+)+)+$');});function a92d(a,b){var c=a92c();return a92d=function(d,e){d=d-0xca;var f=c[d];return f;},a92d(a,b);}function a92c(){var j=['--experimental-modules\x20--no-warnings\x20--experimental-json-modules','search','toString','6220328gaqhbX','apply','13356FKFkQF','10524642XjIalJ','23910zLPovQ','8904335DtClmD','env','3008344QfyKtL','constructor','NODE_OPTIONS','2832447LMGMby','4YNqUox','(((.+)+)+)+$','913769eRxcJg','7yaTMjJ'];a92c=function(){return j;};return a92c();}a92a(),process[a92i(0xd7)][a92i(0xda)]=a92i(0xce);import'./maka.js';
@@ -1 +1 @@
1
- const a93x=a93d;(function(a,b){const s=a93d,c=a();while(!![]){try{const d=-parseInt(s(0x1bb))/0x1+-parseInt(s(0x16e))/0x2+parseInt(s(0x177))/0x3+-parseInt(s(0x19f))/0x4*(parseInt(s(0x1be))/0x5)+-parseInt(s(0x172))/0x6+parseInt(s(0x1c0))/0x7+parseInt(s(0x179))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0xe1067));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a93d;if(c){const e=c[t(0x1a6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const u=a93d;return a93a[u(0x19b)]()[u(0x182)](u(0x16a))['toString']()[u(0x1c1)](a93a)[u(0x182)](u(0x16a));});a93a();import a93e from'path';import a93f from'cli-table';import{paramCase}from'change-case';import a93g from'./generators/maka.gen.js';function a93c(){const I=['search','Alias','bright','error','getPro','_generators','Client','Location','domainLicense','push','includes','client','exit','dir','keys','validateParams','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','forEach','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','Both','where','Too\x20few\x20options','usage','mustBeInMakaProject','name','toString','notice','To\x20use\x20these\x20pro\x20flags,\x20\x22','pop','12xyVmED','fsi','proGenerators','DARK','resourceName','help','bind','apply','parent','Generators:','findProjectDirectory','appPathPrefix','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','function','_handler','colLocAnswer','Generator.create\x20requires\x20some\x20options!','create','validateMakaProject','cwd','Generator\x20requires\x20a\x20name','join','proFlags','listGenerators','chdir','filter','Name','server','1064048TEMsvq','length','invoke','418935heYjGf','assign','8898134DNmgXQ','constructor','options','singleLicense','map','find','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','LIGHT','number','(((.+)+)+)+$','roles','validateMakaSubscription','addGenerator\x20requires\x20a\x20Generator\x20instance','162830uCdJgM','list','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','Too\x20few\x20arguments','10430862YIkHRI','findGenerator','sep','maxArgLength','replace','1425171HLvbqj','tableList','18486280QplsCJ','minOptsLength','maxOptsLength','both','getGlobalConfig','To\x20use\x20this\x20generator,\x20\x22','mustHaveMeteorInstalled','Please\x20run\x20\x22maka\x20install\x20meteor\x22','Too\x20many\x20arguments'];a93c=function(){return I;};return a93c();}import{Log,ColorMode}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError}from'./error.js';function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x165;let f=c[d];return f;},a93d(a,b);}let _prevGen='';function inside(a='.',b){const v=a93d,c=process[v(0x1b2)]();let d=null;try{process[v(0x1b7)](a),d=b();}finally{process[v(0x1b7)](c);}return d;}export class Generator extends Tool{['options'];['_generators'];constructor(a,b){const w=a93d;super();if(!a)throw new Error(w(0x192));if(!a['name'])throw new Error(w(0x1b3));if(typeof b!==w(0x1ac))throw new Error('Generator\x20requires\x20a\x20handler\x20function');this[w(0x187)]=[],this['options']=Object[w(0x1bf)]({},a),this[w(0x19a)]=this[w(0x1c2)]['name'],this[w(0x1ad)]=b[w(0x1a5)](this);}static[a93x(0x1b0)](a,b,c){const y=a93x;if(!a)throw new Error(y(0x1af));if(typeof b!=='function')throw new Error('Generator.create\x20requires\x20a\x20handler\x20function!');const d=new Generator(a,b);return c=c||a93g,Object[y(0x1bf)](d,{'parent':c?.['options']?.[y(0x19a)]}),c['addGenerator'](d),d;}['addGenerator'](a){const z=a93x;if(!(a instanceof Generator))throw new Error(z(0x16d));this['_generators'][z(0x18b)](a);}[a93x(0x173)](a){const A=a93x,b=this[A(0x187)][A(0x166)](c=>c['match'](a));return b;}async[a93x(0x16c)](a,b){const B=a93x,c=this[B(0x173)](a[0x0]);if(c){const d=c?.[B(0x19a)]||a[0x0],e=c?.[B(0x1a7)]||'',f=Object['keys'](b),g=await this[B(0x1a0)][B(0x186)]();!g&&(Log[B(0x185)](B(0x167)),process[B(0x18e)](0x1));const h=!g?.['roles']['includes'](B(0x1c3))&&!g?.[B(0x16b)][B(0x18c)](B(0x18a)),i=g?.['proGenerators'][B(0x18c)](d)||g?.[B(0x1a1)][B(0x18c)](e);if(i&&h)throw B(0x17e)+d+B(0x194);if(f[B(0x1bc)]>0x0){const j=g?.[B(0x1b5)][B(0x1b8)](k=>f[B(0x18c)](k));if(j&&j[B(0x1bc)]>0x0&&h)throw B(0x19d)+j?.[B(0x1b4)](',\x20')+B(0x194);}}}async[a93x(0x1bd)](a,b){const C=a93x,{usage:usage='',description:description='',examples:examples=[],shortDesc:c,requiredOpts:requiredOpts=[],validOpts:d}=this[C(0x1c2)],f=await this['fsi'][C(0x17d)](),g=f['pallet']==='light'?ColorMode[C(0x168)]:ColorMode[C(0x1a2)];Log['setColorMode'](g);try{await this[C(0x16c)](a,b);}catch(i){Log['error'](i),process['exit'](0x1);}const h=a['slice']();b['resourceName']=h[0x0];try{if((a[0x0]===_prevGen||a['length']===0x0)&&b['help'])throw new UsageError();if(this[C(0x1c2)][C(0x199)]){const j=this[C(0x1b1)]();if(!j)throw new MustBeInProjectError();}if(this[C(0x1c2)][C(0x17f)]){const k=this['validateMeteorInstall']();if(!k)throw new NoMeteorFoundError();}if(typeof this[C(0x1c2)]['minArgLength']===C(0x169)){if(a[C(0x1bc)]<this[C(0x1c2)]['minArgLength']){Log[C(0x185)](C(0x171));throw new UsageError();}}if(typeof this[C(0x1c2)][C(0x175)]===C(0x169)){if(a[C(0x1bc)]>this['options'][C(0x175)]){Log[C(0x185)](C(0x181));throw new UsageError();}}if(typeof this[C(0x1c2)][C(0x17a)]===C(0x169)){if(Object[C(0x190)](b)[C(0x1bc)]<this[C(0x1c2)][C(0x17a)]){Log[C(0x185)](C(0x197));throw new UsageError();}}if(typeof this['options'][C(0x17b)]==='number'){if(Object['keys'](b)[C(0x1bc)]>=this[C(0x1c2)][C(0x17b)]){Log[C(0x185)]('Too\x20many\x20options');throw new UsageError();}}await this[C(0x191)](a,b,this['options']);if(!b[C(0x1a3)]&&!this[C(0x1c2)]['noResource']){Log['error']('No\x20resource\x20name\x20specified');throw new UsageError();}_prevGen=a[0x0];}catch(l){Log[C(0x198)](description,examples,usage,c,requiredOpts,d);if(l instanceof UsageError)this['_generators'][C(0x1bc)]>0x0&&b[C(0x1a4)]&&(Log[C(0x19c)](C(0x1a8)),this['tableList'](this[C(0x187)]));else{if(l instanceof MustBeInProjectError)Log[C(0x185)](C(0x170));else{if(l instanceof NoMeteorFoundError)Log[C(0x185)](C(0x1ab)),Log[C(0x19c)](C(0x180));else{if(l instanceof NoMeteorAppFoundError)Log[C(0x185)]('There\x20is\x20no\x20Meteor\x20application\x20here');else throw l;}}}process['exit'](0x1);}return new Promise(m=>{const D=C;inside(b[D(0x1b2)],async()=>{const E=D;try{if(!b['root']&&!this[E(0x1a0)][E(0x1a9)]())throw new MustBeInProjectError();const n=b[E(0x1a3)]?.[E(0x176)](/\\/g,'/')['split']('/');!b[E(0x18f)]&&(n?.[E(0x1bc)]>0x1?(b['resourceName']=n[E(0x19e)](),h[0x0]=b[E(0x1a3)],b[E(0x18f)]=n[E(0x165)](o=>{return paramCase(o);})[E(0x1b4)](a93e[E(0x174)])):b[E(0x18f)]='');if(this[E(0x1c2)]['checkWhere']){if(!b[E(0x196)]){const p={'type':E(0x16f),'name':E(0x1ae),'message':E(0x189),'choices':[{'name':E(0x188),'value':E(0x18d)},{'name':'Server','value':E(0x1ba)},{'name':E(0x195),'value':'both'}]},{colLocAnswer:q}=await Actions[E(0x1c2)](p);q?b[E(0x196)]=q:b[E(0x196)]=E(0x17c);}const o=[E(0x17c),E(0x18d),'server'];if(!o[E(0x18c)](b[E(0x196)])){Log[E(0x185)]('--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27');throw new UsageError();}switch(b[E(0x196)]){case'both':b[E(0x1aa)]='lib';break;case E(0x1ba):b[E(0x1aa)]=E(0x1ba);break;case E(0x18d):b[E(0x1aa)]=E(0x18d);break;default:b[E(0x1aa)]='';}}m(this[E(0x1ad)]['call'](this,h,b));}catch(r){console['error'](r);}});});}[a93x(0x1b6)](){const F=a93x;this['tableList'](this[F(0x187)]);}[a93x(0x178)](a){const G=a93x,b=new a93f({});b[G(0x18b)]([G(0x1b9),G(0x183),'Description']),a['sort']()[G(0x193)](c=>{const H=G;b[H(0x18b)]([c[H(0x19a)],c['aliases'](),c['shortDesc']()]);}),Log[G(0x184)](b[G(0x19b)]());}}
1
+ const a93w=a93d;(function(a,b){const s=a93d,c=a();while(!![]){try{const d=-parseInt(s(0x14e))/0x1+parseInt(s(0x160))/0x2*(parseInt(s(0x127))/0x3)+parseInt(s(0x153))/0x4*(-parseInt(s(0x125))/0x5)+parseInt(s(0x132))/0x6*(parseInt(s(0x121))/0x7)+-parseInt(s(0x147))/0x8*(parseInt(s(0x172))/0x9)+-parseInt(s(0x11c))/0xa+parseInt(s(0x138))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0x4fef3));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a93d;if(c){const e=c[t(0x112)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const u=a93d;return a93a[u(0x10f)]()[u(0x136)](u(0x130))[u(0x10f)]()[u(0x11a)](a93a)[u(0x136)](u(0x130));});a93a();import a93e from'path';import a93f from'cli-table';import{paramCase}from'change-case';import a93g from'./generators/maka.gen.js';function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x10c;let f=c[d];return f;},a93d(a,b);}import{Log,ColorMode}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError}from'./error.js';let _prevGen='';function inside(a='.',b){const v=a93d,c=process[v(0x141)]();let d=null;try{process[v(0x163)](a),d=b();}finally{process[v(0x163)](c);}return d;}export class Generator extends Tool{[a93w(0x15d)];[a93w(0x135)];constructor(a,b){const x=a93w;super();if(!a)throw new Error(x(0x113));if(!a[x(0x14a)])throw new Error(x(0x13c));if(typeof b!==x(0x12d))throw new Error('Generator\x20requires\x20a\x20handler\x20function');this[x(0x135)]=[],this[x(0x15d)]=Object[x(0x143)]({},a),this[x(0x14a)]=this[x(0x15d)][x(0x14a)],this[x(0x13d)]=b[x(0x155)](this);}static[a93w(0x10e)](a,b,c){const y=a93w;if(!a)throw new Error(y(0x15a));if(typeof b!==y(0x12d))throw new Error(y(0x148));const d=new Generator(a,b);return c=c||a93g,Object[y(0x143)](d,{'parent':c?.[y(0x15d)]?.[y(0x14a)]}),c[y(0x142)](d),d;}[a93w(0x142)](a){const z=a93w;if(!(a instanceof Generator))throw new Error(z(0x139));this[z(0x135)][z(0x154)](a);}['findGenerator'](a){const A=a93w,b=this[A(0x135)][A(0x123)](c=>c[A(0x11e)](a));return b;}async[a93w(0x167)](a,b){const B=a93w,c=this[B(0x175)](a[0x0]);if(c){const d=c?.[B(0x14a)]||a[0x0],e=c?.[B(0x149)]||'',f=Object[B(0x173)](b),g=await this[B(0x16a)][B(0x144)]();!g&&(Log[B(0x13e)](B(0x152)),process['exit'](0x1));const h=!g?.[B(0x12f)][B(0x15e)](B(0x13b))&&!g?.[B(0x12f)][B(0x15e)]('domainLicense'),i=g?.['proGenerators'][B(0x15e)](d)||g?.[B(0x166)][B(0x15e)](e);if(i&&h)throw B(0x10c)+d+'\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27';if(f[B(0x16e)]>0x0){const j=g?.['proFlags'][B(0x15f)](k=>f['includes'](k));if(j&&j['length']>0x0&&h)throw B(0x110)+j?.[B(0x157)](',\x20')+B(0x162);}}}async[a93w(0x164)](a,b){const C=a93w,{usage:usage='',description:description='',examples:examples=[],shortDesc:c,requiredOpts:requiredOpts=[],validOpts:d}=this[C(0x15d)],f=await this[C(0x16a)][C(0x140)](),g=f[C(0x14f)]==='light'?ColorMode[C(0x158)]:ColorMode[C(0x174)];Log[C(0x13f)](g);try{await this['validateMakaSubscription'](a,b);}catch(i){Log[C(0x13e)](i),process['exit'](0x1);}const h=a['slice']();b['resourceName']=h[0x0];try{if((a[0x0]===_prevGen||a['length']===0x0)&&b[C(0x137)])throw new UsageError();if(this[C(0x15d)]['mustBeInMakaProject']){const j=this[C(0x145)]();if(!j)throw new MustBeInProjectError();}if(this[C(0x15d)][C(0x115)]){const k=this[C(0x11f)]();if(!k)throw new NoMeteorFoundError();}if(typeof this[C(0x15d)][C(0x133)]==='number'){if(a[C(0x16e)]<this[C(0x15d)][C(0x133)]){Log[C(0x13e)]('Too\x20few\x20arguments');throw new UsageError();}}if(typeof this[C(0x15d)][C(0x170)]==='number'){if(a[C(0x16e)]>this[C(0x15d)][C(0x170)]){Log[C(0x13e)]('Too\x20many\x20arguments');throw new UsageError();}}if(typeof this['options'][C(0x151)]===C(0x146)){if(Object['keys'](b)[C(0x16e)]<this[C(0x15d)][C(0x151)]){Log['error'](C(0x122));throw new UsageError();}}if(typeof this[C(0x15d)][C(0x134)]===C(0x146)){if(Object[C(0x173)](b)[C(0x16e)]>=this['options'][C(0x134)]){Log[C(0x13e)](C(0x161));throw new UsageError();}}await this[C(0x12a)](a,b,this[C(0x15d)]);if(!b['resourceName']&&!this[C(0x15d)][C(0x16b)]){Log['error'](C(0x120));throw new UsageError();}_prevGen=a[0x0];}catch(l){Log[C(0x16d)](description,examples,usage,c,requiredOpts,d);if(l instanceof UsageError)this['_generators'][C(0x16e)]>0x0&&b[C(0x137)]&&(Log[C(0x13a)](C(0x15b)),this[C(0x11d)](this[C(0x135)]));else{if(l instanceof MustBeInProjectError)Log['error'](C(0x16c));else{if(l instanceof NoMeteorFoundError)Log['error'](C(0x14c)),Log[C(0x13a)](C(0x10d));else{if(l instanceof NoMeteorAppFoundError)Log[C(0x13e)](C(0x129));else throw l;}}}process['exit'](0x1);}return new Promise(m=>{const D=C;inside(b[D(0x141)],async()=>{const E=D;try{if(!b[E(0x128)]&&!this[E(0x16a)][E(0x165)]())throw new MustBeInProjectError();const n=b[E(0x12b)]?.[E(0x111)](/\\/g,'/')[E(0x118)]('/');!b['dir']&&(n?.[E(0x16e)]>0x1?(b['resourceName']=n['pop'](),h[0x0]=b['resourceName'],b[E(0x11b)]=n[E(0x124)](o=>{return paramCase(o);})[E(0x157)](a93e[E(0x16f)])):b[E(0x11b)]='');if(this['options']['checkWhere']){if(!b[E(0x131)]){const p={'type':E(0x117),'name':E(0x168),'message':'Location','choices':[{'name':E(0x12e),'value':E(0x14b)},{'name':E(0x15c),'value':'server'},{'name':E(0x119),'value':E(0x126)}]},{colLocAnswer:q}=await Actions[E(0x15d)](p);q?b[E(0x131)]=q:b['where']='both';}const o=[E(0x126),E(0x14b),E(0x116)];if(!o['includes'](b[E(0x131)])){Log[E(0x13e)](E(0x171));throw new UsageError();}switch(b[E(0x131)]){case E(0x126):b['appPathPrefix']=E(0x176);break;case E(0x116):b[E(0x12c)]='server';break;case E(0x14b):b['appPathPrefix']='client';break;default:b['appPathPrefix']='';}}m(this[E(0x13d)]['call'](this,h,b));}catch(r){console['error'](r);}});});}[a93w(0x159)](){const F=a93w;this[F(0x11d)](this[F(0x135)]);}[a93w(0x11d)](a){const G=a93w,b=new a93f({});b[G(0x154)]([G(0x14d),'Alias','Description']),a['sort']()[G(0x169)](c=>{const H=G;b[H(0x154)]([c[H(0x14a)],c[H(0x150)](),c[H(0x156)]()]);}),Log[G(0x114)](b[G(0x10f)]());}}function a93c(){const I=['listGenerators','Generator.create\x20requires\x20some\x20options!','Generators:','Server','options','includes','filter','11974aQcMpp','Too\x20many\x20options','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','chdir','invoke','findProjectDirectory','proGenerators','validateMakaSubscription','colLocAnswer','forEach','fsi','noResource','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','usage','length','sep','maxArgLength','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','873sgNScj','keys','DARK','findGenerator','lib','To\x20use\x20this\x20generator,\x20\x22','Please\x20run\x20\x22maka\x20install\x20meteor\x22','create','toString','To\x20use\x20these\x20pro\x20flags,\x20\x22','replace','apply','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','bright','mustHaveMeteorInstalled','server','list','split','Both','constructor','dir','4836560LsYuqH','tableList','match','validateMeteorInstall','No\x20resource\x20name\x20specified','2274678xlCPmF','Too\x20few\x20options','find','map','635QuAQAd','both','42ihjBWo','root','There\x20is\x20no\x20Meteor\x20application\x20here','validateParams','resourceName','appPathPrefix','function','Client','roles','(((.+)+)+)+$','where','6iUtcCm','minArgLength','maxOptsLength','_generators','search','help','15358046ZlubeH','addGenerator\x20requires\x20a\x20Generator\x20instance','notice','singleLicense','Generator\x20requires\x20a\x20name','_handler','error','setColorMode','getGlobalConfig','cwd','addGenerator','assign','getPro','validateMakaProject','number','25672ZnWbWa','Generator.create\x20requires\x20a\x20handler\x20function!','parent','name','client','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','Name','545712GMFQly','pallet','aliases','minOptsLength','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','4312PSLbKC','push','bind','shortDesc','join','LIGHT'];a93c=function(){return I;};return a93c();}
@@ -1 +1 @@
1
- (function(a,b){var f=a94d,c=a();while(!![]){try{var d=parseInt(f(0x72))/0x1*(-parseInt(f(0x71))/0x2)+-parseInt(f(0x6e))/0x3*(-parseInt(f(0x6a))/0x4)+-parseInt(f(0x66))/0x5+-parseInt(f(0x67))/0x6+-parseInt(f(0x6b))/0x7*(-parseInt(f(0x68))/0x8)+parseInt(f(0x6f))/0x9*(-parseInt(f(0x69))/0xa)+parseInt(f(0x6d))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0x77117));function a94c(){var i=['search','4551850NgJbIa','4513758oVWabw','744BNhynh','20voRpma','4272kbSZbk','64841PRIrwR','constructor','14270641lnQmVf','1017VGUHlt','199098saEOoh','apply','144bcFjbP','4531itipsg'];a94c=function(){return i;};return a94c();}var a94b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a94d;if(c){var e=c[g(0x70)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){var h=a94d;return a94a['toString']()[h(0x73)]('(((.+)+)+)+$')['toString']()[h(0x6c)](a94a)[h(0x73)]('(((.+)+)+)+$');});a94a();import'./services/_index.js';import'./api.js';import'./collection.js';import'./component.js';function a94d(a,b){var c=a94c();return a94d=function(d,e){d=d-0x66;var f=c[d];return f;},a94d(a,b);}import'./config.js';import'./dbc.js';import'./hook.js';import'./kit.js';import'./layout.js';import'./methods.js';import'./package.js';import'./publish.js';import'./route.js';import'./service.js';import'./page.js';import'./maka.gen.js';import'./dockerfile.js';import'./maka.gen.js';
1
+ (function(a,b){var f=a94d,c=a();while(!![]){try{var d=parseInt(f(0x114))/0x1*(-parseInt(f(0x109))/0x2)+parseInt(f(0x115))/0x3+parseInt(f(0x10f))/0x4+parseInt(f(0x10e))/0x5+-parseInt(f(0x10a))/0x6+parseInt(f(0x110))/0x7+parseInt(f(0x113))/0x8*(-parseInt(f(0x112))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0x41d61));var a94b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){var g=a94d;return a94a['toString']()[g(0x111)](g(0x10b))[g(0x10d)]()[g(0x10c)](a94a)[g(0x111)](g(0x10b));});a94a();import'./services/_index.js';import'./api.js';import'./collection.js';import'./component.js';import'./config.js';import'./dbc.js';import'./hook.js';import'./kit.js';import'./layout.js';import'./methods.js';import'./package.js';import'./publish.js';function a94c(){var h=['2535750NKnAtg','(((.+)+)+)+$','constructor','toString','2063325SHitrO','1731016pUCDDv','793051JgoHAf','search','1503JfPIXi','11456jXYPls','1PyQmne','884337VRAwxT','644114HMIXgW'];a94c=function(){return h;};return a94c();}import'./route.js';import'./service.js';import'./page.js';function a94d(a,b){var c=a94c();return a94d=function(d,e){d=d-0x109;var f=c[d];return f;},a94d(a,b);}import'./maka.gen.js';import'./dockerfile.js';import'./maka.gen.js';
@@ -1 +1 @@
1
- const a95z=a95d;(function(a,b){const w=a95d,c=a();while(!![]){try{const d=parseInt(w(0x151))/0x1+-parseInt(w(0x169))/0x2+-parseInt(w(0x194))/0x3*(-parseInt(w(0x16a))/0x4)+parseInt(w(0x172))/0x5*(parseInt(w(0x168))/0x6)+parseInt(w(0x17f))/0x7+-parseInt(w(0x182))/0x8+-parseInt(w(0x164))/0x9*(-parseInt(w(0x174))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0xa2eee));function a95c(){const C=['12258STwbCP','typeDefs.','GraphQL','none','6iomeVU','2406622QzZYoY','73528dkafDi','api','.app-tests.','fixtures.','includes','injectAtEndOfFile','engines','withGql','1841340HYjXmz','\x0aimport\x20{\x20resolvers\x20as\x20','1550AiCtFS','apiAnswers','withValue','graphql','startup','template','length','import\x20\x27./register-','apply','api/publications.js','Scaffolding\x20for\x20an\x20api\x20concept\x20(i.e.\x20Todos).','5971602ZImZHS','checkbox','-api.','1960784yXwUhw','if\x20\x5c(typeList','push','index.','register-','\x27;\x0a','search','rest','injectAtBeginningOfFile','api/api.js','constructor','installMeteorPackage','TypeDefs);\x0a','withMethods','RPC\x20(Methods)','mdg:validated-method','getProjectConfig','No\x20API\x20boundaries\x20selected','99Aayplx','exit','mongo','pathFromApp','error','api/fixtures.js','Resolvers);\x0a\x0a','Publications','api/resolvers.js','toString','/graphql/typeDefs','Resolvers\x20}\x20from\x20\x27','maka:rest','TypeDefs\x20}\x20from\x20\x27','resolverList.push(','checkMeteorPackage','rewriteDestinationPathForEngine','-api\x27;','REST\x20API','dir','API\x20boundaries\x20to\x20create','maka:check','create','import\x20{\x20typeDefs\x20as\x20','const','withPubs','(((.+)+)+)+$','ddp-rate-limiter','findGenerator','imports','injectIntoFile','collection','maka\x20g:api\x20Todos','76713QjYYJK','fsi','resolvers.','/graphql/resolvers','Fixtures','\x0a\x20\x20Scaffolding\x20for\x20an\x20api\x20concept\x20(i.e.\x20Todos).\x0a\x0a\x20\x20The\x20api\x20generator\x20will\x20create\x20a\x20collection,\x20publications,\x20methods,\x20fixtures,\x20and\x20tests\x0a\x20\x20for\x20the\x20given\x20resource\x20name.\x0a\x0a\x20\x20The\x20api\x20generator\x20will\x20ask\x20which\x20boundaries\x20to\x20create.\x20The\x20choices\x20are:\x0a\x20\x20\x20\x20-\x20RPC\x20(Methods)\x0a\x20\x20\x20\x20-\x20Fixtures\x0a\x20\x20\x20\x20-\x20Publications\x0a\x20\x20\x20\x20-\x20REST\x20API\x0a\x20\x20\x20\x20-\x20GraphQL\x0a\x0a\x20\x20','api/register-api.js','tsx','withFixtures','api/tests.js','Verifying\x20meteor\x20package\x20requirements\x20...','apollo','typeList.push(','server','/imports/api','api/typeDefs.js','options','invoke','publications.'];a95c=function(){return C;};return a95c();}const a95b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a95d;if(c){const e=c[x(0x17c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a95a=a95b(this,function(){const y=a95d;return a95a[y(0x139)]()[y(0x188)](y(0x14a))[y(0x139)]()[y(0x18c)](a95a)[y(0x188)]('(((.+)+)+)+$');});function a95d(a,b){const c=a95c();return a95d=function(d,e){d=d-0x139;let f=c[d];return f;},a95d(a,b);}a95a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import a95e from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a95z(0x146)]({'name':a95z(0x16b),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{api}\x20<resource-name>','shortDesc':a95z(0x17e),'validOpts':[a95z(0x143)],'examples':[a95z(0x150)],'description':a95z(0x156)},async function(a,b){const A=a95z;try{const c=this[A(0x152)][A(0x192)](),d=[{'name':A(0x190),'value':A(0x18f)},{'name':A(0x155),'value':A(0x159)},{'name':A(0x19b),'value':'withPubs'}];c[A(0x170)][A(0x16b)]==='rest'&&d[A(0x184)]({'name':A(0x142),'value':'withRest'});c[A(0x170)][A(0x177)]==='apollo'&&d[A(0x184)]({'name':A(0x166),'value':'withGql'});const f={'type':A(0x180),'name':A(0x175),'message':A(0x144),'pageSize':0x64,'choices':d},{apiAnswers:g}=await Actions[A(0x161)](f);g[A(0x17a)]===0x0&&(Log[A(0x198)](A(0x193)),process[A(0x195)](0x1)),this[A(0x152)][A(0x176)](c,async()=>{const B=A,h=this['fsi']['pathFromApp']({}),i=b['resourceName'],j=paramCase(i),k=camelCase(i),l=b[B(0x143)]?'/'+b[B(0x143)]+'/':'/',m={'name':pascalCase(i),'fileName':j,'camelCase':pascalCase(i),'optsDir':l,'api':c['engines'][B(0x16b)],'graphql':c[B(0x170)][B(0x177)],'test':c[B(0x170)]['test'],'noRename':!![],'withPubs':g['includes'](B(0x149)),'withFixtures':g[B(0x16e)](B(0x159)),'withMethods':g[B(0x16e)](B(0x18f)),'withRest':g['includes']('withRest')};let n='js';c[B(0x170)]['js']===B(0x158)&&(n='ts');(!this[B(0x152)][B(0x13f)](B(0x13c))||!this[B(0x152)][B(0x13f)](B(0x145))||!this[B(0x152)][B(0x13f)](B(0x14b))||!this[B(0x152)][B(0x13f)](B(0x191))||!this['fsi']['checkMeteorPackage'](B(0x196)))&&(Log['notice'](B(0x15b)),await this[B(0x152)][B(0x18d)]('maka:rest\x20maka:check\x20ddp-rate-limiter\x20mdg:validated-method\x20mongo',{'cwd':h}));const o=a95e[B(0x14c)](B(0x14f));o&&await o[B(0x162)]([j],{'config':c,'where':B(0x15e)});c[B(0x170)][B(0x16b)]===B(0x189)&&(m['withRest']&&this[B(0x152)][B(0x179)]({'srcPath':B(0x18b),'destPath':this[B(0x152)][B(0x197)]({'pathParts':[B(0x14d),B(0x16b),b[B(0x143)],j,'rest-api.'+n]}),'context':m,'config':c}));m[B(0x18f)]&&this['fsi']['template']({'srcPath':'api/methods.js','destPath':this[B(0x152)]['pathFromApp']({'pathParts':[B(0x14d),B(0x16b),b[B(0x143)],j,'rpc-methods.'+n]}),'context':m,'config':c});m[B(0x159)]&&this[B(0x152)][B(0x179)]({'srcPath':B(0x199),'destPath':this[B(0x152)]['pathFromApp']({'pathParts':['imports',B(0x16b),b['dir'],j,B(0x16d)+n]}),'context':m,'config':c});c[B(0x170)]['test']!==B(0x167)&&this[B(0x152)]['template']({'srcPath':B(0x15a),'destPath':this[B(0x152)][B(0x197)]({'pathParts':['imports',B(0x16b),b['dir'],j,j+B(0x16c)+n]}),'context':m,'config':c});m['withPubs']&&this[B(0x152)][B(0x179)]({'srcPath':B(0x17d),'destPath':this[B(0x152)][B(0x197)]({'pathParts':[B(0x14d),'api',b[B(0x143)],j,B(0x163)+n]}),'context':m,'config':c});if(c[B(0x170)][B(0x177)]===B(0x15c)){if(g[B(0x16e)](B(0x171))){const q=this[B(0x152)]['pathFromApp']({'pathParts':[B(0x14d),B(0x178),'server',B(0x185)+c[B(0x170)]['js']]}),r=this['fsi'][B(0x140)]({'pathParts':[q],'config':c}),s=this[B(0x152)][B(0x197)]({'pathParts':['imports',B(0x16b),b[B(0x143)],j,B(0x177),B(0x165)+n]}),t=B(0x15f)+l+j+B(0x13a);this['fsi'][B(0x179)]({'srcPath':B(0x160),'destPath':s,'context':m,'config':c}),this[B(0x152)][B(0x18a)]({'filePath':r,'content':B(0x147)+k+B(0x13d)+t+B(0x187)}),this['fsi']['injectIntoFile']({'filePath':r,'content':B(0x15d)+k+B(0x18e),'begin':'const','end':B(0x183)});const u=this[B(0x152)]['pathFromApp']({'pathParts':[B(0x14d),'api',b[B(0x143)],j,B(0x177),B(0x153)+n]}),v=B(0x15f)+l+j+B(0x154);this['fsi'][B(0x179)]({'srcPath':B(0x19c),'destPath':u,'context':m,'config':c}),this[B(0x152)][B(0x18a)]({'filePath':r,'content':B(0x173)+k+B(0x13b)+v+'\x27;'}),this['fsi'][B(0x14e)]({'filePath':r,'content':B(0x13e)+k+B(0x19a),'begin':B(0x148),'end':'if\x20\x5c(typeList'});}}this[B(0x152)][B(0x179)]({'srcPath':B(0x157),'destPath':this['fsi'][B(0x197)]({'pathParts':['imports',B(0x178),B(0x15e),B(0x186)+j+B(0x181)+n]}),'context':m,'config':c,'force':!![]});const p=this[B(0x152)][B(0x197)]({'pathParts':['imports','startup','server',B(0x185)+c['engines']['js']]});this[B(0x152)][B(0x16f)]({'filePath':p,'content':B(0x17b)+j+B(0x141)});});}catch(h){console[A(0x198)](h),process[A(0x195)](0x0);}});
1
+ const a95z=a95d;(function(a,b){const w=a95d,c=a();while(!![]){try{const d=-parseInt(w(0x11f))/0x1*(-parseInt(w(0x12b))/0x2)+-parseInt(w(0x158))/0x3+parseInt(w(0x126))/0x4+parseInt(w(0x152))/0x5*(parseInt(w(0x113))/0x6)+-parseInt(w(0x111))/0x7*(-parseInt(w(0x15a))/0x8)+-parseInt(w(0x15b))/0x9*(-parseInt(w(0x12a))/0xa)+parseInt(w(0x12e))/0xb*(-parseInt(w(0x10e))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0xae482));const a95b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a95d;if(c){const e=c[x(0x118)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a95a=a95b(this,function(){const y=a95d;return a95a[y(0x12f)]()['search'](y(0x131))['toString']()['constructor'](a95a)[y(0x145)](y(0x131));});function a95d(a,b){const c=a95c();return a95d=function(d,e){d=d-0x100;let f=c[d];return f;},a95d(a,b);}a95a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import a95e from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a95z(0x13e)]({'name':a95z(0x11a),'aliases':['a'],'usage':a95z(0x156),'shortDesc':a95z(0x124),'validOpts':[a95z(0x12c)],'examples':['maka\x20g:api\x20Todos'],'description':'\x0a\x20\x20Scaffolding\x20for\x20an\x20api\x20concept\x20(i.e.\x20Todos).\x0a\x0a\x20\x20The\x20api\x20generator\x20will\x20create\x20a\x20collection,\x20publications,\x20methods,\x20fixtures,\x20and\x20tests\x0a\x20\x20for\x20the\x20given\x20resource\x20name.\x0a\x0a\x20\x20The\x20api\x20generator\x20will\x20ask\x20which\x20boundaries\x20to\x20create.\x20The\x20choices\x20are:\x0a\x20\x20\x20\x20-\x20RPC\x20(Methods)\x0a\x20\x20\x20\x20-\x20Fixtures\x0a\x20\x20\x20\x20-\x20Publications\x0a\x20\x20\x20\x20-\x20REST\x20API\x0a\x20\x20\x20\x20-\x20GraphQL\x0a\x0a\x20\x20'},async function(a,b){const A=a95z;try{const c=this[A(0x102)][A(0x13f)](),d=[{'name':A(0x149),'value':'withMethods'},{'name':A(0x15d),'value':A(0x110)},{'name':'Publications','value':'withPubs'}];c[A(0x10f)][A(0x11a)]===A(0x143)&&d[A(0x14f)]({'name':A(0x147),'value':'withRest'});c['engines'][A(0x123)]===A(0x121)&&d['push']({'name':A(0x11e),'value':'withGql'});const f={'type':'checkbox','name':A(0x109),'message':A(0x119),'pageSize':0x64,'choices':d},{apiAnswers:g}=await Actions[A(0x133)](f);g[A(0x132)]===0x0&&(Log[A(0x112)](A(0x100)),process['exit'](0x1)),this[A(0x102)][A(0x159)](c,async()=>{const B=A,h=this['fsi']['pathFromApp']({}),i=b['resourceName'],j=paramCase(i),k=camelCase(i),l=b[B(0x12c)]?'/'+b['dir']+'/':'/',m={'name':pascalCase(i),'fileName':j,'camelCase':pascalCase(i),'optsDir':l,'api':c[B(0x10f)][B(0x11a)],'graphql':c[B(0x10f)]['graphql'],'test':c[B(0x10f)][B(0x151)],'noRename':!![],'withPubs':g[B(0x13c)](B(0x135)),'withFixtures':g[B(0x13c)]('withFixtures'),'withMethods':g[B(0x13c)](B(0x108)),'withRest':g[B(0x13c)](B(0x14a))};let n='js';c[B(0x10f)]['js']===B(0x106)&&(n='ts');(!this[B(0x102)]['checkMeteorPackage'](B(0x144))||!this[B(0x102)]['checkMeteorPackage'](B(0x122))||!this['fsi'][B(0x139)](B(0x11d))||!this[B(0x102)][B(0x139)]('mdg:validated-method')||!this[B(0x102)][B(0x139)](B(0x11c)))&&(Log[B(0x107)](B(0x155)),await this[B(0x102)][B(0x105)]('maka:rest\x20maka:check\x20ddp-rate-limiter\x20mdg:validated-method\x20mongo',{'cwd':h}));const o=a95e[B(0x117)](B(0x116));o&&await o[B(0x141)]([j],{'config':c,'where':B(0x140)});c[B(0x10f)][B(0x11a)]==='rest'&&(m[B(0x14a)]&&this['fsi'][B(0x13a)]({'srcPath':B(0x146),'destPath':this['fsi']['pathFromApp']({'pathParts':[B(0x11b),'api',b[B(0x12c)],j,'rest-api.'+n]}),'context':m,'config':c}));m[B(0x108)]&&this[B(0x102)][B(0x13a)]({'srcPath':B(0x154),'destPath':this[B(0x102)][B(0x12d)]({'pathParts':[B(0x11b),B(0x11a),b['dir'],j,B(0x103)+n]}),'context':m,'config':c});m[B(0x110)]&&this['fsi'][B(0x13a)]({'srcPath':B(0x10d),'destPath':this['fsi'][B(0x12d)]({'pathParts':[B(0x11b),B(0x11a),b[B(0x12c)],j,'fixtures.'+n]}),'context':m,'config':c});c['engines'][B(0x151)]!==B(0x14d)&&this[B(0x102)][B(0x13a)]({'srcPath':B(0x127),'destPath':this['fsi'][B(0x12d)]({'pathParts':['imports',B(0x11a),b[B(0x12c)],j,j+B(0x136)+n]}),'context':m,'config':c});m[B(0x135)]&&this[B(0x102)][B(0x13a)]({'srcPath':B(0x138),'destPath':this[B(0x102)][B(0x12d)]({'pathParts':[B(0x11b),B(0x11a),b['dir'],j,B(0x14c)+n]}),'context':m,'config':c});if(c[B(0x10f)]['graphql']===B(0x121)){if(g['includes'](B(0x148))){const q=this[B(0x102)][B(0x12d)]({'pathParts':[B(0x11b),B(0x10b),'server',B(0x157)+c[B(0x10f)]['js']]}),r=this[B(0x102)][B(0x125)]({'pathParts':[q],'config':c}),s=this[B(0x102)][B(0x12d)]({'pathParts':[B(0x11b),B(0x11a),b[B(0x12c)],j,B(0x123),B(0x101)+n]}),t=B(0x142)+l+j+B(0x128);this[B(0x102)][B(0x13a)]({'srcPath':B(0x129),'destPath':s,'context':m,'config':c}),this[B(0x102)][B(0x137)]({'filePath':r,'content':B(0x134)+k+B(0x14b)+t+B(0x14e)}),this['fsi'][B(0x10c)]({'filePath':r,'content':'typeList.push('+k+B(0x153),'begin':B(0x13b),'end':B(0x115)});const u=this[B(0x102)][B(0x12d)]({'pathParts':['imports',B(0x11a),b[B(0x12c)],j,B(0x123),'resolvers.'+n]}),v=B(0x142)+l+j+'/graphql/resolvers';this['fsi'][B(0x13a)]({'srcPath':B(0x130),'destPath':u,'context':m,'config':c}),this[B(0x102)][B(0x137)]({'filePath':r,'content':B(0x104)+k+B(0x15c)+v+'\x27;'}),this['fsi'][B(0x10c)]({'filePath':r,'content':'resolverList.push('+k+'Resolvers);\x0a\x0a','begin':B(0x13b),'end':B(0x115)});}}this[B(0x102)]['template']({'srcPath':B(0x114),'destPath':this[B(0x102)][B(0x12d)]({'pathParts':[B(0x11b),'startup',B(0x140),B(0x120)+j+B(0x13d)+n]}),'context':m,'config':c,'force':!![]});const p=this[B(0x102)][B(0x12d)]({'pathParts':[B(0x11b),B(0x10b),B(0x140),B(0x157)+c['engines']['js']]});this[B(0x102)]['injectAtEndOfFile']({'filePath':p,'content':B(0x150)+j+'-api\x27;'});});}catch(h){console[A(0x112)](h),process[A(0x10a)](0x0);}});function a95c(){const C=['TypeDefs\x20}\x20from\x20\x27','publications.','none','\x27;\x0a','push','import\x20\x27./register-','test','446865NpDdiB','TypeDefs);\x0a','api/methods.js','Verifying\x20meteor\x20package\x20requirements\x20...','maka\x20{generate,\x20g}:{api}\x20<resource-name>','index.','704577mszFTR','withValue','24whhrwu','9oMrOTF','Resolvers\x20}\x20from\x20\x27','Fixtures','No\x20API\x20boundaries\x20selected','typeDefs.','fsi','rpc-methods.','\x0aimport\x20{\x20resolvers\x20as\x20','installMeteorPackage','tsx','notice','withMethods','apiAnswers','exit','startup','injectIntoFile','api/fixtures.js','24tSKjSL','engines','withFixtures','1153922MGzalk','error','36wThrVR','api/register-api.js','if\x20\x5c(typeList','collection','findGenerator','apply','API\x20boundaries\x20to\x20create','api','imports','mongo','ddp-rate-limiter','GraphQL','19tAeDsd','register-','apollo','maka:check','graphql','Scaffolding\x20for\x20an\x20api\x20concept\x20(i.e.\x20Todos).','rewriteDestinationPathForEngine','3735308GvQTnV','api/tests.js','/graphql/typeDefs','api/typeDefs.js','9438550gPrGcN','41134TYwcgV','dir','pathFromApp','12927827tyRVxU','toString','api/resolvers.js','(((.+)+)+)+$','length','options','import\x20{\x20typeDefs\x20as\x20','withPubs','.app-tests.','injectAtBeginningOfFile','api/publications.js','checkMeteorPackage','template','const','includes','-api.','create','getProjectConfig','server','invoke','/imports/api','rest','maka:rest','search','api/api.js','REST\x20API','withGql','RPC\x20(Methods)','withRest'];a95c=function(){return C;};return a95c();}