@maka/maka-cli 4.5.52 → 4.6.2

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 (136) 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/install.js +1 -0
  73. package/bundle/obf/src/commands/jsdoc.js +1 -1
  74. package/bundle/obf/src/commands/lint.js +1 -1
  75. package/bundle/obf/src/commands/login.js +1 -1
  76. package/bundle/obf/src/commands/logout.js +1 -1
  77. package/bundle/obf/src/commands/logs.js +1 -1
  78. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  79. package/bundle/obf/src/commands/murder.js +1 -1
  80. package/bundle/obf/src/commands/proxy.js +1 -1
  81. package/bundle/obf/src/commands/reconfig.js +1 -1
  82. package/bundle/obf/src/commands/run/_index.js +1 -1
  83. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  84. package/bundle/obf/src/commands/run/run.command.js +1 -1
  85. package/bundle/obf/src/commands/set/_index.js +1 -1
  86. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  87. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  88. package/bundle/obf/src/commands/set/set.command.js +1 -1
  89. package/bundle/obf/src/commands/ssh.js +1 -1
  90. package/bundle/obf/src/commands/ssl.js +1 -1
  91. package/bundle/obf/src/commands/test.js +1 -1
  92. package/bundle/obf/src/commands/version.js +1 -1
  93. package/bundle/obf/src/error.js +1 -1
  94. package/bundle/obf/src/exec.js +1 -1
  95. package/bundle/obf/src/generator.js +1 -1
  96. package/bundle/obf/src/generators/_index.js +1 -1
  97. package/bundle/obf/src/generators/api.js +1 -1
  98. package/bundle/obf/src/generators/collection.js +1 -1
  99. package/bundle/obf/src/generators/component.js +1 -1
  100. package/bundle/obf/src/generators/config.js +1 -1
  101. package/bundle/obf/src/generators/dbc.js +1 -1
  102. package/bundle/obf/src/generators/dockerfile.js +1 -1
  103. package/bundle/obf/src/generators/hook.js +1 -1
  104. package/bundle/obf/src/generators/kit.js +1 -1
  105. package/bundle/obf/src/generators/layout.js +1 -1
  106. package/bundle/obf/src/generators/maka.gen.js +1 -1
  107. package/bundle/obf/src/generators/methods.js +1 -1
  108. package/bundle/obf/src/generators/package.js +1 -1
  109. package/bundle/obf/src/generators/page.js +1 -1
  110. package/bundle/obf/src/generators/publish.js +1 -1
  111. package/bundle/obf/src/generators/route.js +1 -1
  112. package/bundle/obf/src/generators/service.js +1 -1
  113. package/bundle/obf/src/generators/services/_index.js +1 -1
  114. package/bundle/obf/src/generators/services/openssl.js +1 -1
  115. package/bundle/obf/src/generators/services/translation.js +1 -1
  116. package/bundle/obf/src/maka.js +1 -1
  117. package/bundle/obf/src/tool.js +1 -1
  118. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  119. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  120. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  121. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  122. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  123. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  124. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  125. package/bundle/obf/src/tools/https/https.class.js +1 -1
  126. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  127. package/bundle/obf/src/tools/https/progress.class.js +1 -0
  128. package/bundle/obf/src/tools/log/log.class.js +1 -1
  129. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  130. package/bundle/obf/src/tools/options/options.class.js +1 -1
  131. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  132. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  133. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  134. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  135. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  136. package/package.json +1 -1
@@ -1 +1 @@
1
- const a75k=a75d;function a75d(a,b){const c=a75c();return a75d=function(d,e){d=d-0x174;let f=c[d];return f;},a75d(a,b);}(function(a,b){const h=a75d,c=a();while(!![]){try{const d=-parseInt(h(0x17e))/0x1*(parseInt(h(0x18b))/0x2)+parseInt(h(0x178))/0x3+-parseInt(h(0x17f))/0x4+-parseInt(h(0x176))/0x5+-parseInt(h(0x18a))/0x6+-parseInt(h(0x188))/0x7+parseInt(h(0x189))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a75c,0x98731));const a75b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a75d;if(c){const e=c[i(0x184)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a75a=a75b(this,function(){const j=a75d;return a75a['toString']()[j(0x175)]('(((.+)+)+)+$')[j(0x17c)]()['constructor'](a75a)[j(0x175)](j(0x182));});a75a();import a75e from'fs';import a75f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a75k(0x186)]({'name':a75k(0x181),'aliases':['l',a75k(0x180)],'usage':'maka\x20logs','requiredOpts':[a75k(0x183)],'mustBeInMakaProject':!![],'validOpts':[a75k(0x17a)],'shortDesc':a75k(0x17b),'examples':['maka\x20logs\x20--env\x20dev','maka\x20logs\x20--env\x20staging',a75k(0x177)]},function(a,b){const l=a75k,c=l(0x179),d=this[l(0x185)]['getConfigPath'](b[l(0x183)]),e=a75f[l(0x187)](d,'ssh.json'),f=a75e[l(0x174)](e),g=JSON[l(0x17d)](f[l(0x17c)]());Object['assign'](g,{'env':d}),SSH['sshSync'](c,g,{'tty':!![],'verbose':!![]});});function a75c(){const m=['log','logs','(((.+)+)+)+$','env','apply','fsi','create','join','4550294BkkqyY','26704048QIffgb','5010582SDhGxg','590346PYaSPl','readFileSync','search','4965320WHHORE','maka\x20l\x20-e\x20p','2685102wQToun','pm2\x20logs','verbose','View\x20the\x20PM2\x20logs','toString','parse','2jmWZGg','2160232UlqRCn'];a75c=function(){return m;};return a75c();}
1
+ const a76k=a76d;(function(a,b){const h=a76d,c=a();while(!![]){try{const d=parseInt(h(0x144))/0x1*(-parseInt(h(0x14d))/0x2)+-parseInt(h(0x149))/0x3*(-parseInt(h(0x14f))/0x4)+parseInt(h(0x15e))/0x5+parseInt(h(0x159))/0x6*(-parseInt(h(0x145))/0x7)+-parseInt(h(0x146))/0x8+-parseInt(h(0x158))/0x9*(-parseInt(h(0x156))/0xa)+-parseInt(h(0x157))/0xb*(parseInt(h(0x15a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a76c,0x1a443));const a76b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a76d;if(c){const e=c[i(0x143)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a76a=a76b(this,function(){const j=a76d;return a76a[j(0x14b)]()['search'](j(0x155))[j(0x14b)]()[j(0x147)](a76a)['search'](j(0x155));});a76a();function a76d(a,b){const c=a76c();return a76d=function(d,e){d=d-0x143;let f=c[d];return f;},a76d(a,b);}import a76e from'fs';import a76f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';function a76c(){const m=['184102peTFCV','maka\x20logs','4jAuxwI','getConfigPath','fsi','ssh.json','readFileSync','create','(((.+)+)+)+$','34070poQXVY','11uiAZBq','459ndsadH','6maobew','518436BNGNrf','verbose','pm2\x20logs','join','613415iDHqXe','View\x20the\x20PM2\x20logs','assign','maka\x20logs\x20--env\x20staging','apply','1yrSnNY','1009309MXrYdF','664920MwBhRG','constructor','log','521109FcCejD','env','toString','maka\x20l\x20-e\x20p'];a76c=function(){return m;};return a76c();}Command[a76k(0x154)]({'name':'logs','aliases':['l',a76k(0x148)],'usage':a76k(0x14e),'requiredOpts':[a76k(0x14a)],'mustBeInMakaProject':!![],'validOpts':[a76k(0x15b)],'shortDesc':a76k(0x15f),'examples':['maka\x20logs\x20--env\x20dev',a76k(0x161),a76k(0x14c)]},function(a,b){const l=a76k,c=l(0x15c),d=this[l(0x151)][l(0x150)](b['env']),e=a76f[l(0x15d)](d,l(0x152)),f=a76e[l(0x153)](e),g=JSON['parse'](f['toString']());Object[l(0x160)](g,{'env':d}),SSH['sshSync'](c,g,{'tty':!![],'verbose':!![]});});
@@ -1 +1 @@
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
+ function a77c(){const k=['36fluGwv','maka\x20run','30bTIbul','7szrUaS','2868344UUnGgn','error','82884tqRAMS','2339733EDiJTv','toString','maka','search','maka\x20--help','5uFQAEA','maka\x20<command>\x20[<args>]\x20[<opts>]','fsi','2415Ewwwkv','38142dBoyaE','\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.-:\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20:-.\x20\x20\x20\x20\x20:--\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::\x20\x20::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::::::\x20.:::::::\x20..\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20..:.....\x20.::..::.\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20.::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::::::\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20\x20::::::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::..-::.\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::....\x20\x20::..---:..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20.\x20.:::::::\x20\x20::..::.\x20..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20\x20:.\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:--\x20\x20\x20\x20\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-:\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20:\x0a.:..::...::.\x20\x20\x20....:\x20\x20\x20.:\x20\x20\x20::\x20\x20....:.\x20\x20\x20\x20\x20\x20\x20\x20.::::\x20\x20.:\x20\x20::\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20\x20....:-\x20\x20.-..:.\x20\x20\x20....:-\x20\x20...\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20.:\x20\x20\x20:-\x20\x20.-\x20\x20.:\x20\x20.:\x20\x20\x20:-\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a.:.\x20\x20\x20:.\x20\x20\x20.:\x20\x20....\x20:.\x20.:.\x20\x20..\x20\x20....\x20:.\x20\x20\x20\x20\x20\x20\x20.....\x20\x20.:.\x20.:.\x0a\x0a\x20\x20','findSubCommand','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','exit','2668626wFkNpG','1413OqNjau','(((.+)+)+)+$','slice','7210fCkhDl','maybeProxyCommandToMeteor','constructor','maka\x20create\x20Todo'];a77c=function(){return k;};return a77c();}const a77i=a77d;function a77d(a,b){const c=a77c();return a77d=function(d,e){d=d-0x151;let f=c[d];return f;},a77d(a,b);}(function(a,b){const g=a77d,c=a();while(!![]){try{const d=parseInt(g(0x15c))/0x1*(-parseInt(g(0x16c))/0x2)+parseInt(g(0x15d))/0x3+parseInt(g(0x153))/0x4*(parseInt(g(0x159))/0x5)+-parseInt(g(0x162))/0x6+-parseInt(g(0x16d))/0x7*(-parseInt(g(0x151))/0x8)+-parseInt(g(0x163))/0x9*(parseInt(g(0x166))/0xa)+-parseInt(g(0x154))/0xb*(-parseInt(g(0x16a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0x6a6b6));const a77b=(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;};}()),a77a=a77b(this,function(){const h=a77d;return a77a[h(0x155)]()[h(0x157)]('(((.+)+)+)+$')[h(0x155)]()[h(0x168)](a77a)[h(0x157)](h(0x164));});a77a();import{Command}from'../command.js';const Maka=new Command({'name':a77i(0x156),'minArgLength':0x1,'shortDesc':a77i(0x160),'validOpts':[],'usage':a77i(0x15a),'disableAuthCheck':!![],'examples':[a77i(0x158),'maka\x20install\x20meteor',a77i(0x169),a77i(0x16b)],'description':a77i(0x15e)},async function(a,b){const j=a77i;try{const c=a[0x0],d=this[j(0x15f)](c);d?this['runSubCommand'](c,a[j(0x165)](0x1),b):this[j(0x15b)][j(0x167)]();}catch(f){console[j(0x152)](f),process[j(0x161)](0x1);}});export default Maka;
@@ -1 +1 @@
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
+ var a78h=a78d;(function(a,b){var f=a78d,c=a();while(!![]){try{var d=parseInt(f(0x1e9))/0x1*(parseInt(f(0x1f4))/0x2)+parseInt(f(0x1f3))/0x3+-parseInt(f(0x1e8))/0x4+-parseInt(f(0x1ef))/0x5+parseInt(f(0x1f2))/0x6+-parseInt(f(0x1eb))/0x7*(-parseInt(f(0x1f0))/0x8)+parseInt(f(0x1ec))/0x9*(-parseInt(f(0x1ed))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x8d746));var a78b=(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;};}()),a78a=a78b(this,function(){var g=a78d;return a78a[g(0x1f1)]()[g(0x1f8)](g(0x1ee))[g(0x1f1)]()[g(0x1f5)](a78a)[g(0x1f8)](g(0x1ee));});a78a();function a78c(){var j=['create','35OZQEzN','369EdtmLz','304890pXvEeH','(((.+)+)+)+$','704415KDWbNk','960688hMTGST','toString','1947822KYIgaN','1452651ZkIiUI','2KgLpYL','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','murder','search','maka\x20murder','2332604ajmBvR','1144197PhxTIu'];a78c=function(){return j;};return a78c();}import{Command}from'../command.js';function a78d(a,b){var c=a78c();return a78d=function(d,e){d=d-0x1e8;var f=c[d];return f;},a78d(a,b);}Command[a78h(0x1ea)]({'name':a78h(0x1f7),'usage':a78h(0x1f9),'maxArgLength':0x1,'shortDesc':'Murrrrderrrrr','validOpts':[]},async function(){var i=a78h;try{console['log'](i(0x1f6),'font-family:\x20monospace');}catch(a){console['error'](a),process['exit'](0x0);}});
@@ -1 +1 @@
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
+ const a79q=a79d;(function(a,b){const n=a79d,c=a();while(!![]){try{const d=-parseInt(n(0x1b7))/0x1*(parseInt(n(0x195))/0x2)+parseInt(n(0x19e))/0x3+-parseInt(n(0x1b6))/0x4*(parseInt(n(0x192))/0x5)+parseInt(n(0x1af))/0x6+parseInt(n(0x1a8))/0x7+parseInt(n(0x1b8))/0x8+parseInt(n(0x1b0))/0x9*(parseInt(n(0x196))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x2ba17));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a79d;if(c){const e=c[o(0x19a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const p=a79d;return a79a['toString']()[p(0x1a2)](p(0x18f))['toString']()[p(0x19d)](a79a)[p(0x1a2)](p(0x18f));});a79a();import a79e from'fs';import a79f from'path';import a79g from'http-proxy';function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x18f;let f=c[d];return f;},a79d(a,b);}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';function a79c(){const s=['.csr','.crt','join','listenPort','maka\x20proxy','312984YWYhJh','48IwhQeG','380120mcRVmK','create','(((.+)+)+)+$','genSSC','.key','20JPgNIq','\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','getConfigPath','2446kbZdoe','760aTjjJC','invoke','targetHost','findGenerator','apply','mkKeysDir','fsi','constructor','426777BJulLO','\x20to\x20','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','=>\x20SSL\x20Proxy\x20forwarding\x20','search','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','development','readFileSync','targetPort','help','704466HsmzZs','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','bright','utf8','appName','localhost','error','1317330emRStN','4788FrmFWv'];a79c=function(){return s;};return a79c();}import{SSL}from'../tools/ssl/ssl.class.js';import a79h from'../generators/maka.gen.js';Command[a79q(0x1b9)]({'name':'proxy','usage':a79q(0x1b5),'mustBeInMakaProject':!![],'validOpts':[a79q(0x1a7),a79q(0x1a6),a79q(0x1b4),'targetHost'],'maxArgLength':0x1,'shortDesc':a79q(0x1a3),'description':a79q(0x193),'examples':['maka\x20proxy',a79q(0x1a0),'maka\x20proxy\x20--target-host\x20http://192.168.1.20']},async function(a,b){const r=a79q,c=this[r(0x19c)]['getProjectConfig'](),d=r(0x1a4),e=this[r(0x19c)][r(0x194)](d),f=this['fsi'][r(0x19b)]({'configPath':e}),g=b[r(0x1a6)]?Number(b['targetPort']):0xbb8,h=b[r(0x1b4)]?Number(b[r(0x1b4)]):0xd73,i=b[r(0x198)]?b['targetHost']:r(0x1ad),j=a79f[r(0x1b3)](f,c['appName']+r(0x191)),k=a79f['join'](f,c[r(0x1ac)]+r(0x1b2));if(!this[r(0x19c)]['isFile'](j)||!this[r(0x19c)]['isFile'](k)){const m=a79h[r(0x199)]('sslconfig');m&&await m[r(0x197)](['sslconfig'],{'env':d}),SSL['genCSR']({'keyName':c[r(0x1ac)]+r(0x191),'csrName':c['appName']+r(0x1b1),'cwd':f}),SSL[r(0x190)]({'keyName':c['appName']+r(0x191),'crtName':c['appName']+r(0x1b2),'cwd':f});}if(g===h){Log[r(0x1ae)](r(0x1a9));throw new UsageError();}const l={'ssl':{'key':a79e['readFileSync'](j,r(0x1ab)),'cert':a79e[r(0x1a5)](k,r(0x1ab))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a79g['createProxyServer'](l)['listen'](Number(h)),Log[r(0x1aa)](r(0x1a1)+h+r(0x19f)+g);});
@@ -1 +1 @@
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
+ const a80q=a80d;function a80c(){const s=['1138806RdhYOS','~/pm2.config.js','existsSync','sshSync','ssh.json','getConfigPath','assign','uname\x20-a','fsi','reconfig','Reconfigure\x20your\x20deployed\x20applications','scp','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','(((.+)+)+)+$','error','toString','2198INKwcd','settings.json','27354XShukD','2GAgMKM','ping','env','success','exit','1682919NJlbrS','Remote\x20host\x20connection\x20successful','apply','1331053XJVXrk','64rzTQUr','ses.json','1051480ktcLlE','join','973220MVCxIH','search','54866130BxMtVy','pm2.config.js','create','notice','\x0a\x20\x20If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x0a\x20\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.\x0a\x20\x20'];a80c=function(){return s;};return a80c();}(function(a,b){const n=a80d,c=a();while(!![]){try{const d=-parseInt(n(0x88))/0x1+-parseInt(n(0xa7))/0x2*(parseInt(n(0x94))/0x3)+parseInt(n(0x8b))/0x4+-parseInt(n(0x8d))/0x5+parseInt(n(0xa6))/0x6*(-parseInt(n(0xa4))/0x7)+parseInt(n(0x89))/0x8*(-parseInt(n(0x85))/0x9)+parseInt(n(0x8f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0xdfcfa));const a80b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a80d;if(c){const e=c[o(0x87)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){const p=a80d;return a80a[p(0xa3)]()[p(0x8e)](p(0xa1))['toString']()['constructor'](a80a)[p(0x8e)](p(0xa1));});function a80d(a,b){const c=a80c();return a80d=function(d,e){d=d-0x85;let f=c[d];return f;},a80d(a,b);}a80a();import a80e from'fs';import a80f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a80q(0x91)]({'name':a80q(0x9d),'validOpts':[''],'requiredOpts':[a80q(0xa9)],'mustBeInMakaProject':!![],'usage':'maka\x20reconfig','shortDesc':a80q(0x9e),'description':a80q(0x93),'examples':['maka\x20reconfig\x20--env\x20prod']},async function(a,b){const r=a80q;try{const c=this[r(0x9c)][r(0x99)](b['env']),d=a80f[r(0x8c)](c,r(0x98)),f=a80e['readFileSync'](d)['toString'](),g=JSON['parse'](f);Object[r(0x9a)](g,{'env':c}),Log[r(0x92)]('Checking\x20remote\x20host\x20availability');const h=SSH[r(0xa8)](r(0x9b),g);if(!h)throw r(0xa0);if(h)Log[r(0xaa)](r(0x86));const i=a80f['join'](c,'_keys',r(0x8a));if(a80e[r(0x96)](i)){const l={'source':i,'dest':'~/ses.json','verbose':!![]};SSH[r(0x9f)](l,{...g});}const j=a80f[r(0x8c)](c,r(0x90));SSH['scp']({'source':j,'dest':r(0x95),'verbose':!![]},{...g});const k=a80f[r(0x8c)](c,r(0xa5));SSH[r(0x9f)]({'source':k,'dest':'~/settings.json','verbose':!![]},{...g}),SSH[r(0x97)]('pm2\x20delete\x20all',g),await SSH['ssh']('echo\x20\x22\x22\x20&&\x20pm2\x20start\x20pm2.config.js\x20&&\x20echo\x20\x22\x22\x20||\x20echo\x20\x22Cound\x20not\x20find\x20PM2,\x20have\x20you\x20deployed\x20the\x20app\x20yet?\x22',{...g},{'verbose':!![]});}catch(m){console[r(0xa2)](m),process[r(0xab)](0x0);}});
@@ -1 +1 @@
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
+ (function(a,b){var f=a81d,c=a();while(!![]){try{var d=-parseInt(f(0x134))/0x1+parseInt(f(0x13f))/0x2+-parseInt(f(0x138))/0x3+parseInt(f(0x13b))/0x4+parseInt(f(0x13c))/0x5*(-parseInt(f(0x140))/0x6)+-parseInt(f(0x13d))/0x7+parseInt(f(0x137))/0x8*(parseInt(f(0x135))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0xaa67d));var a81b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a81d;if(c){var e=c[g(0x13e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){var h=a81d;return a81a[h(0x139)]()[h(0x13a)]('(((.+)+)+)+$')[h(0x139)]()['constructor'](a81a)[h(0x13a)](h(0x136));});a81a();function a81d(a,b){var c=a81c();return a81d=function(d,e){d=d-0x134;var f=c[d];return f;},a81d(a,b);}import'./run.command.js';import'./docker.sub.cmd.js';function a81c(){var i=['5863746bAIbdS','apply','1321476cWFovh','354072zQVnpe','1312790BlySdX','9gqDmLa','(((.+)+)+)+$','17373112VlmpeZ','3384669EHKJiU','toString','search','5521372YkXNHZ','20aqPFsk'];a81c=function(){return i;};return a81c();}
@@ -1 +1 @@
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
+ const a82l=a82d;(function(a,b){const i=a82d,c=a();while(!![]){try{const d=parseInt(i(0xf1))/0x1*(-parseInt(i(0xe2))/0x2)+-parseInt(i(0xe4))/0x3*(parseInt(i(0xec))/0x4)+-parseInt(i(0xda))/0x5+-parseInt(i(0xd8))/0x6+parseInt(i(0xde))/0x7*(parseInt(i(0xf2))/0x8)+-parseInt(i(0xe8))/0x9*(parseInt(i(0xeb))/0xa)+parseInt(i(0xe3))/0xb*(parseInt(i(0xe7))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x44eb8));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a82d;if(c){const e=c[j(0xea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const k=a82d;return a82a[k(0xdc)]()[k(0xd9)](k(0xee))[k(0xdc)]()[k(0xdb)](a82a)[k(0xd9)](k(0xee));});a82a();import a82e from'./run.command.js';function a82c(){const n=['\x0a\x20\x20Run\x20your\x20application\x20in\x20a\x20Docker\x20container.\x20\x20Docker\x20Desktop\x20or\x20Colmia\x20is\x20required.\x0a\x0a\x20\x20Colima\x20is\x20a\x20great\x20alternative\x20to\x20Docker\x20Desktop,\x20and\x20it\x20is\x20free!\x0a\x20\x20Colima:\x20https://github.com/abiosoft/colima\x0a\x0a\x0a\x20\x20A\x20docker-compose.yml\x20file\x20(location\x20defaulted\x20to\x20the\x20\x22config/docker\x22\x20folder)\x0a\x20\x20is\x20used\x20to\x20startup\x20mongo\x20and\x20load\x20the\x20built\x20image\x27\x0a\x20\x20','Docker\x20Compose\x20Path:\x20','create','inherit','140640aEVjpJ','search','478535zKCDNx','constructor','toString','pm2.config.js','171115COqfHL','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','docker-compose.yaml','notice','2qfWMMx','11ZJicfA','1061517KSmDKo','docker-compose\x20--project-directory\x20','exit','13748052dBCycv','1615401mygmFi','getProjectConfig','apply','10kQnuWd','4BBKmkd','docker','(((.+)+)+)+$','join','fsi','284235OlvDCg','24camxay','maka\x20run\x20docker','createFile','appName','\x20up\x20--remove-orphans','existsSync','config/docker-compose.yaml'];a82c=function(){return n;};return a82c();}import{execSync}from'child_process';import a82f from'path';function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0xd8;let f=c[d];return f;},a82d(a,b);}import a82g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a82l(0xfb)]({'name':a82l(0xed),'aliases':['d'],'shortDesc':a82l(0xdf),'description':a82l(0xf9),'usage':a82l(0xf3),'validOpts':['']},async function(){const m=a82l;try{const a=this[m(0xf0)][m(0xe9)](),b=this['fsi']['getConfigPath'](m(0xed)),c=a82f[m(0xef)](b,m(0xe0)),d=a82f['join'](b,m(0xdd));Log['notice']('PM2\x20Config\x20File:\x20'+d),Log[m(0xe1)](m(0xfa)+c);if(!a82g[m(0xf7)](c)){const f={'app':a[m(0xf5)],'appFileCase':paramCase(a[m(0xf5)])},g=this[m(0xf0)]['templateContent']({'srcPath':m(0xf8),'context':f})+'\x0a';this[m(0xf0)][m(0xf4)]({'filePath':c,'data':g});}execSync(m(0xe5)+b+m(0xf6),{'stdio':m(0xfc)});}catch(h){process[m(0xe6)](0x1);}},a82e);
@@ -1 +1 @@
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
+ const a83u=a83d;(function(a,b){const r=a83d,c=a();while(!![]){try{const d=parseInt(r(0x146))/0x1*(-parseInt(r(0x161))/0x2)+-parseInt(r(0x16a))/0x3+parseInt(r(0x16c))/0x4*(-parseInt(r(0x16b))/0x5)+parseInt(r(0x141))/0x6+-parseInt(r(0x147))/0x7*(-parseInt(r(0x174))/0x8)+parseInt(r(0x15d))/0x9*(parseInt(r(0x13b))/0xa)+parseInt(r(0x150))/0xb*(parseInt(r(0x169))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0x9cefd));const a83b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){const s=a83d;return a83a[s(0x157)]()['search'](s(0x138))[s(0x157)]()[s(0x151)](a83a)['search'](s(0x138));});a83a();import a83e from'path';import a83f from'fs';import a83g from'dotenv';function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0x137;let f=c[d];return f;},a83d(a,b);}import{rimraf}from'rimraf';function a83c(){const x=['local','exit','(((.+)+)+)+$','checkMeteorPackage','.meteor','70CAFQcM','runSubCommand','--env','settings.json','Run\x20your\x20Meteor\x20application','invokeMeteorCommand','2611194pHmVzj','ios','Meteor\x20Settings:\x20','forEach','warn','59lfYBzX','6693001FLJIKE','inspect','port','rawLogs','development','concat','filter','installMeteorPackage','split','77TuYUmN','constructor','notice','findSubCommand','autoupdate','config','extraPackages','toString','env','fsi','production','mobile-server','argv','290259VgknWS','join','run','findProjectDirectory','41042PDChfJ','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','splice','Node\x20Env\x20Config:\x20','settings','length','Verifying\x20meteor\x20package\x20requirements\x20...','process.env','3099276rbmmLs','2201706Lvvuto','85ClZBan','197072goDNQU','slice','--production','isFile','verbose','allowIncompatibleUpdate','compareMakaToLatest','openSync','8SJvuip','mobileServer','cordova-build','docker','sep','app'];a83c=function(){return x;};return a83c();}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const t=a83d;a83f[t(0x173)](a,'r'),a83g[t(0x155)]({'path':a});},Run=Command['create']({'name':a83u(0x15f),'mustBeInMakaProject':!![],'shortDesc':a83u(0x13f),'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':[a83u(0x158),a83u(0x177),'r',a83u(0x14a),'p',a83u(0x149),'i',a83u(0x148),'m',a83u(0x175),'v',a83u(0x170),a83u(0x171),a83u(0x156),'x','exclude-archs',a83u(0x15a)]},async function(a,b){const v=a83u;try{const c=this[v(0x159)]['findProjectDirectory']();!this['fsi'][v(0x139)](v(0x154))&&(Log[v(0x152)](v(0x167)),await this[v(0x159)][v(0x14e)](v(0x154),{'cwd':c}));const d=a[0x0],f=this[v(0x153)](d);f&&this[v(0x13c)](d,a,b);if(d===v(0x142)){const n=this[v(0x159)][v(0x160)](),o=a83e[v(0x15e)](n,v(0x179),v(0x13a),v(0x17a),v(0x176));this[v(0x159)]['isDirectory'](o)&&await rimraf(o);}if(b[v(0x15b)]&&b[v(0x15b)]===!![]||b['m']&&b['m']===!![])throw'Please\x20provide\x20a\x20URL\x20where\x20your\x20mobile\x20app\x20should\x20connect\x20to\x20your\x20server\x20(e.g.,\x20-m\x20|\x20--mobile-server=https://example-server.com)';await this[v(0x159)][v(0x172)]();const g=b[v(0x158)]?b[v(0x158)]:v(0x14b),h=this[v(0x159)]['getConfigPath'](g),i=a83e['join'](h,v(0x168));let j=a83e[v(0x15e)](h,'settings.json');b[v(0x165)]?j=b[v(0x165)]:j=a83e[v(0x15e)](h,v(0x13e));if(this['fsi'][v(0x16f)](i)&&!b[v(0x177)])Log[v(0x152)](v(0x164)+i),syncSource(i);else!b[v(0x177)]&&Log[v(0x145)]('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+i);this[v(0x159)][v(0x16f)](j)?(Log[v(0x152)](v(0x143)+j),a=a[v(0x14c)](['--settings',j])):Log[v(0x145)](v(0x162)+j);const k=h[v(0x14f)](a83e[v(0x178)]),l=k[k[v(0x166)]-0x1];l===v(0x15a)&&a['push'](v(0x16e));const m=process[v(0x15c)][v(0x16d)](0x2)[v(0x14d)](p=>p!==v(0x15f))[v(0x14d)](p=>p!==a[0x0]);m[v(0x144)]((p,q)=>{const w=v;p===w(0x13d)&&m[w(0x163)](q,0x2),p==='-e'&&m[w(0x163)](q,0x2);}),this['fsi'][v(0x140)]('run',a[v(0x14c)](m));}catch(p){console['error'](p),process[v(0x137)](0x1);}});export default Run;
@@ -1 +1 @@
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
+ (function(a,b){var f=a84d,c=a();while(!![]){try{var d=-parseInt(f(0x9a))/0x1*(-parseInt(f(0x9d))/0x2)+parseInt(f(0xa6))/0x3*(parseInt(f(0x99))/0x4)+-parseInt(f(0x9e))/0x5*(-parseInt(f(0xa7))/0x6)+-parseInt(f(0xa5))/0x7*(-parseInt(f(0xa0))/0x8)+parseInt(f(0xa3))/0x9+parseInt(f(0x9c))/0xa+-parseInt(f(0xa4))/0xb*(parseInt(f(0x9f))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x7eca3));var a84b=(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;};}()),a84a=a84b(this,function(){var g=a84d;return a84a[g(0xa8)]()['search'](g(0x9b))[g(0xa8)]()[g(0xa1)](a84a)[g(0xa2)]('(((.+)+)+)+$');});function a84d(a,b){var c=a84c();return a84d=function(d,e){d=d-0x99;var f=c[d];return f;},a84d(a,b);}a84a();import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';function a84c(){var h=['(((.+)+)+)+$','410150iqOdpS','74FmUvkY','1985nCTTkK','17924232lWSqnH','8infRKb','constructor','search','4391361wUbzxJ','11gmRrXk','3304441bvnTBV','75687sEdwgF','12486VYyqBY','toString','28QabOFA','250IMZZYF'];a84c=function(){return h;};return a84c();}
@@ -1 +1 @@
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
+ function a85d(a,b){const c=a85c();return a85d=function(d,e){d=d-0x1ea;let f=c[d];return f;},a85d(a,b);}const a85j=a85d;(function(a,b){const h=a85d,c=a();while(!![]){try{const d=-parseInt(h(0x20b))/0x1*(-parseInt(h(0x204))/0x2)+parseInt(h(0x200))/0x3+-parseInt(h(0x1f1))/0x4+parseInt(h(0x201))/0x5+parseInt(h(0x20f))/0x6+parseInt(h(0x1f5))/0x7*(parseInt(h(0x20d))/0x8)+-parseInt(h(0x216))/0x9*(parseInt(h(0x205))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0x7ae00));const a85b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){const i=a85d;return a85a[i(0x203)]()[i(0x1f6)]('(((.+)+)+)+$')[i(0x203)]()['constructor'](a85a)[i(0x1f6)]('(((.+)+)+)+$');});a85a();import a85e from'path';import a85f from'./set.command.js';function a85c(){const l=['1CsBlBZ','pallet','12016HhliJV','global-config','5018160iMBFXt','boolean','help','isDirectory','maka\x20set:gc\x20--insecure\x20<path>','Set\x20allowInsecure:\x20','dark','20961pribIr','exit','maka\x20set:global-config\x20--cacert\x20<path>','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x0a\x20\x20There\x20are\x20occasions\x20where\x20your\x20network\x20may\x20need\x20an\x20intermediate\x20certificate\x0a\x20\x20to\x20allow\x20connections\x20outside.\x20\x20You\x20may\x20set\x20your\x20certificate\x20path\x20using\x20the\x20command:\x0a\x0a\x20\x20maka\x20set:gc\x20--cacert\x0a\x20\x20','Set\x20global\x20Maka-CLI\x20settings','Set\x20color\x20pallet\x20to:\x20','isFile','setGlobalConfig','1763748ZgKBYd','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','allowInsecure','Set\x20workspace:\x20','231qylBTT','search','cacert','fsi','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','maka\x20set:gc\x20--workspace\x20<path>','Could\x20not\x20find\x20directory','success','error','openai','resolve','2812866afDmLx','798060bqeVxL','maka\x20set:global-config\x20<args>','toString','1294538sdAsyh','7240BGvzIP','workspace','Set\x20OpenAI\x20Key:\x20','light','disallowInsecure','Set\x20CA\x20Cert\x20Path:\x20'];a85c=function(){return l;};return a85c();}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a85j(0x20e),'usage':a85j(0x202),'aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[{'name':a85j(0x1f7),'boolFlag':![]},{'name':a85j(0x1f3),'boolFlag':!![]},{'name':a85j(0x209),'boolFlag':!![]},{'name':'workspace','boolFlag':![]},{'name':a85j(0x1fe),'boolFlag':![]},{'name':a85j(0x211),'boolFlag':!![]},{'name':a85j(0x20c),'values':[a85j(0x208),a85j(0x215)]}],'shortDesc':a85j(0x1ed),'description':a85j(0x1ec),'examples':[a85j(0x1eb),a85j(0x213),a85j(0x1fa)]},async function(a,b){const k=a85j;try{if(b[k(0x1f7)]){if(this[k(0x1f8)][k(0x1ef)](b[k(0x1f7)]))await this['fsi'][k(0x1f0)]({'cert':b[k(0x1f7)]}),Log[k(0x1fc)](k(0x20a)+b['cacert']);else{const c=typeof b[k(0x1f7)]===k(0x210)?k(0x1f9):k(0x1f2)+b[k(0x1f7)];throw Log[k(0x1fd)](c);}}if(b[k(0x206)]){const d=this['fsi'][k(0x212)](b[k(0x206)]);if(d)await this[k(0x1f8)]['setGlobalConfig']({'workspace':a85e[k(0x1ff)](b[k(0x206)])}),Log[k(0x1fc)](k(0x1f4)+a85e[k(0x1ff)](b['workspace']));else throw Log[k(0x1fd)](k(0x1fb));}b[k(0x1fe)]&&(await this[k(0x1f8)][k(0x1f0)]({'openai':b[k(0x1fe)]}),Log[k(0x1fc)](k(0x207)+b[k(0x1fe)]));b[k(0x20c)]&&(await this[k(0x1f8)][k(0x1f0)]({'pallet':b[k(0x20c)]}),Log[k(0x1fc)](k(0x1ee)+b[k(0x20c)]));if(b['allowInsecure']){if(b[k(0x1f3)]&&b[k(0x209)])throw Log['error']('One\x20or\x20the\x20other\x20buddy');let f=b[k(0x1f3)];b[k(0x209)]&&(f=![]),await this['fsi'][k(0x1f0)]({'allowInsecure':f}),Log[k(0x1fc)](k(0x214)+f);}process[k(0x1ea)](0x0);}catch(g){console[k(0x1fd)](g),process['exit'](0x0);}},a85f);
@@ -1 +1 @@
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
+ var a86i=a86d;function a86c(){var k=['maka\x20set:lc\x20<opts>','apply','notice','constructor','maka\x20set:local-config\x20<opts>','265654qVztGV','4EpqxiJ','Sorry,\x20not\x20implemented\x20yet','local-config','413hRSHWn','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','search','655241AbuFvP','Set\x20local\x20maka\x20app\x20settings','13160tVBHIN','867785gqXFEr','(((.+)+)+)+$','8034864EHbUzY','toString','4275504vnBQrH','1483998MDicJc'];a86c=function(){return k;};return a86c();}function a86d(a,b){var c=a86c();return a86d=function(d,e){d=d-0x84;var f=c[d];return f;},a86d(a,b);}(function(a,b){var f=a86d,c=a();while(!![]){try{var d=-parseInt(f(0x89))/0x1+-parseInt(f(0x97))/0x2+-parseInt(f(0x91))/0x3+parseInt(f(0x98))/0x4*(parseInt(f(0x8c))/0x5)+parseInt(f(0x8e))/0x6+parseInt(f(0x86))/0x7*(parseInt(f(0x8b))/0x8)+parseInt(f(0x90))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0xc3d1e));var a86b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a86d;if(c){var e=c[g(0x93)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){var h=a86d;return a86a[h(0x8f)]()[h(0x88)](h(0x8d))[h(0x8f)]()[h(0x95)](a86a)[h(0x88)](h(0x8d));});a86a();import a86e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a86i(0x85),'usage':a86i(0x96),'examples':[a86i(0x92),a86i(0x96)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a86i(0x8a),'validOpts':[],'description':a86i(0x87)},async function(){var j=a86i;Log[j(0x94)](j(0x84));},a86e);
@@ -1 +1 @@
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
+ const a87h=a87d;(function(a,b){const f=a87d,c=a();while(!![]){try{const d=parseInt(f(0x103))/0x1+-parseInt(f(0x10f))/0x2+parseInt(f(0x106))/0x3+-parseInt(f(0x10d))/0x4*(-parseInt(f(0x105))/0x5)+parseInt(f(0x109))/0x6+parseInt(f(0xfe))/0x7*(-parseInt(f(0x10c))/0x8)+parseInt(f(0x107))/0x9*(-parseInt(f(0x102))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0xe9a69));const a87b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){const g=a87d;return a87a[g(0x100)]()[g(0x10b)]('(((.+)+)+)+$')['toString']()[g(0x10e)](a87a)[g(0x10b)](g(0x101));});function a87d(a,b){const c=a87c();return a87d=function(d,e){d=d-0xfe;let f=c[d];return f;},a87d(a,b);}function a87c(){const j=['(((.+)+)+)+$','2681330AScVKp','1148325IhJmZT','findSubCommand','220IPknMn','4801551SXJYVG','36bczGPl','\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','4324398dltvIQ','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','search','2288amNixE','65848WSzGgx','constructor','2299792FKhmpF','set','24829zUTBIO','create','toString'];a87c=function(){return j;};return a87c();}a87a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command[a87h(0xff)]({'name':a87h(0x110),'usage':'maka\x20set:<sub-command>\x20<opts>','minArgLength':0x1,'shortDesc':a87h(0x10a),'description':a87h(0x108),'validOpts':[]},async function(a,b){const i=a87h,c=a[0x0];if(b['help'])throw new UsageError();const d=this[i(0x104)](c);d&&this['runSubCommand'](c,a,b);});export default SetCommand;
@@ -1 +1 @@
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
+ const a88m=a88d;(function(a,b){const j=a88d,c=a();while(!![]){try{const d=-parseInt(j(0x172))/0x1*(parseInt(j(0x162))/0x2)+-parseInt(j(0x16f))/0x3+parseInt(j(0x167))/0x4*(parseInt(j(0x16d))/0x5)+parseInt(j(0x160))/0x6*(parseInt(j(0x156))/0x7)+-parseInt(j(0x163))/0x8+parseInt(j(0x170))/0x9*(parseInt(j(0x175))/0xa)+parseInt(j(0x15f))/0xb*(parseInt(j(0x16a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x4380c));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a88d;if(c){const e=c[k(0x174)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const l=a88d;return a88a['toString']()[l(0x161)]('(((.+)+)+)+$')['toString']()[l(0x173)](a88a)[l(0x161)](l(0x15a));});a88a();function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x156;let f=c[d];return f;},a88d(a,b);}import a88e from'fs';function a88c(){const o=['verbose','1415877vFqlQa','506997BwIUav','assign','4unahVB','constructor','apply','10qxIlcD','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','2263968JVzEmr','getConfigPath','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','env','(((.+)+)+)+$','toString','parse','maka\x20ssh\x20--env\x20staging','maka\x20ssh\x20<command>','3190187muuaKz','6GBQrrk','search','137602bQapRZ','3193424eipOcQ','length','exit','join','230700RqAqQB','maka\x20ssh\x20--env\x20prod','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','36MTERpm','sshSync','error','15xZcNws'];a88c=function(){return o;};return a88c();}import a88f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command['create']({'name':'ssh','usage':a88m(0x15e),'mustBeInMakaProject':!![],'requiredOpts':[a88m(0x159)],'validOpts':[a88m(0x159),a88m(0x16e)],'shortDesc':a88m(0x158),'examples':['maka\x20ssh\x20--env\x20dev',a88m(0x15d),a88m(0x168),a88m(0x169),'maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22',a88m(0x176)]},async function(a,b){const n=a88m;try{const c=this['fsi'][n(0x157)](b['env']);let d='';a[n(0x164)]>0x0&&(d=a[0x0]);const f=a88f[n(0x166)](c,'ssh.json'),g=a88e['readFileSync'](f)[n(0x15b)](),h=JSON[n(0x15c)](g);Object[n(0x171)](h,{'env':c}),SSH[n(0x16b)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b[n(0x16e)]});}catch(i){console[n(0x16c)](i),process[n(0x165)](0x0);}});
@@ -1 +1 @@
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
+ const a89y=a89d;function a89c(){const A=['uname\x20-a','New\x20CSR\x20written\x20to\x20','success','emailUpdate','getProjectConfig','7246384XPZkas','getConfigPath','exit','apply','Using\x20saved\x20letsencrypt\x20config','error','1970969SATYZp','maka\x20ssl\x20--env\x20dev\x20generate-csr','126506UtGDEw','.key','ssh','generate-ssc','constructor','.crt','2XubvnI','Checking\x20remote\x20host\x20availability','/ssh.json','maka\x20ssl\x20[command]','toString','email','search','readFileSync','ask','.csr','notice','domains','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','appName','674868iRhsGO','sudo\x20snap\x20install\x20--classic\x20certbot','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','fsi','Remote\x20host\x20connection\x20successful','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','Create\x20and\x20manage\x20your\x20SSL\x20operations.','letsencrypt','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','genSSC','create','generate-csr','919134MmmsIl','(((.+)+)+)+$','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','join','1185305httmdY','existsSync','genCSR','letsencrypt.json','[?]\x20Domains\x20to\x20register:\x20','parse','125476IfUYhF','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','env'];a89c=function(){return A;};return a89c();}(function(a,b){const v=a89d,c=a();while(!![]){try{const d=parseInt(v(0x1a0))/0x1+parseInt(v(0x16b))/0x2*(parseInt(v(0x179))/0x3)+parseInt(v(0x18f))/0x4+parseInt(v(0x189))/0x5+parseInt(v(0x185))/0x6+parseInt(v(0x19e))/0x7+-parseInt(v(0x198))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x24572));const a89b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a89d;if(c){const e=c[w(0x19b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){const x=a89d;return a89a['toString']()[x(0x171)](x(0x186))[x(0x16f)]()[x(0x169)](a89a)[x(0x171)]('(((.+)+)+)+$');});a89a();import a89e from'fs';function a89d(a,b){const c=a89c();return a89d=function(d,e){d=d-0x168;let f=c[d];return f;},a89d(a,b);}import a89f 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[a89y(0x183)]({'name':'ssl','usage':a89y(0x16e),'validOpts':[a89y(0x176),a89y(0x170)],'requiredOpts':['env'],'shortDesc':a89y(0x17f),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a89y(0x19f),a89y(0x177),a89y(0x191)]},async function(a,b){const z=a89y,c=this[z(0x17c)][z(0x197)](),d=this[z(0x17c)][z(0x199)](b[z(0x192)]),f=this[z(0x17c)]['mkKeysDir']({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0x184))SSL[z(0x18b)]({'keyName':c[z(0x178)]+z(0x1a1),'csrName':c['appName']+z(0x174),'cwd':f});else{if(g===z(0x168)){if(!a89e[z(0x18a)](a89f[z(0x188)](f,c['appName']+'.key')))throw'The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20'+a89f[z(0x188)](f,c[z(0x178)]+z(0x1a1));if(!a89e[z(0x18a)](a89f[z(0x188)](f,c[z(0x178)]+z(0x174))))throw z(0x181)+a89f['join'](f,c[z(0x178)]+z(0x174));SSL[z(0x182)]({'keyName':c[z(0x178)]+z(0x1a1),'crtName':c[z(0x178)]+z(0x16a),'cwd':f}),Log[z(0x175)](z(0x194)+f);}else{if(g===z(0x180)){let h=b[z(0x176)],i=b[z(0x170)];try{const p=a89e[z(0x172)](a89f['join'](d,z(0x18c)))['toString'](),q=JSON[z(0x18e)](p);h=b[z(0x176)]?b['domains']:q['domainNames'],i=b[z(0x170)]?b[z(0x170)]:q[z(0x196)],(!b[z(0x170)]||!b['domains'])&&Log[z(0x175)](z(0x19c));}catch(r){}const j=JSON[z(0x18e)](a89e[z(0x172)](d+z(0x16d))[z(0x16f)]());Object['assign'](j,{'env':d}),Log['notice'](z(0x16c));try{const s=SSH['ping'](z(0x193),j);if(!s)throw z(0x17b);if(s)Log['success'](z(0x17d));}catch(t){Log[z(0x19d)](t);return;}const k=Log['withSpinner']();k['start']('Verifying\x20Letsencrypt\x20configuration'),SSH['ssh'](z(0x17e),{...j}),SSH['ssh'](z(0x17a),{...j}),SSH[z(0x1a2)](z(0x190),{...j}),k[z(0x195)]();const l=h?h:await Actions[z(0x173)](z(0x18d)),m=i?i:await Actions[z(0x173)]('Email\x20to\x20use\x20for\x20auto-updates:\x20');SSH[z(0x1a2)](z(0x187)+l+'\x20--email\x20'+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON['stringify'](n,null,0x2);a89e['writeFileSync'](a89f[z(0x188)](d,z(0x18c)),o);}else throw'Please\x20provide\x20a\x20command.';}}}catch(u){console[z(0x19d)](u),process[z(0x19a)](0x0);}});
@@ -1 +1 @@
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
+ const a90q=a90d;(function(a,b){const m=a90d,c=a();while(!![]){try{const d=parseInt(m(0xd5))/0x1*(-parseInt(m(0x111))/0x2)+parseInt(m(0xfb))/0x3+-parseInt(m(0xfc))/0x4+-parseInt(m(0x100))/0x5*(parseInt(m(0xdf))/0x6)+parseInt(m(0xdd))/0x7*(-parseInt(m(0x107))/0x8)+-parseInt(m(0x105))/0x9*(parseInt(m(0xe8))/0xa)+-parseInt(m(0xe9))/0xb*(-parseInt(m(0x10a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0x35015));function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0xd2;let f=c[d];return f;},a90d(a,b);}const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a90d;if(c){const e=c[n(0xf3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const o=a90d;return a90a['toString']()[o(0x109)]('(((.+)+)+)+$')[o(0xeb)]()[o(0xd8)](a90a)[o(0x109)](o(0xed));});a90a();import a90e from'fs';import a90f from'path';import a90g from'dotenv';function a90c(){const t=['maka\x20test\x20<opts>','packages','40jkiWht','16866399FRkDEV','config','toString','jasmine','(((.+)+)+)+$','--settings','sanjo:jasmine','testAppPath','getConfigPath','inspect','apply','port','error','test','--env','Node\x20Env\x20Config:\x20','warn','--packages','524979ubsgwu','1654040fIKexf','env','create','driver','10qJdORW','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','utf8','notice','fsi','662733LSuPMf','driver-package','1096pugDYZ','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','search','12FwhDSR','--driver-package','forEach','readFileSync','join','exit','Meteor\x20Settings:\x20','50818FWozzx','none','slice','splice','--driver','17DcRzWb','.maka','driverPackage','constructor','engines','rawLogs','development','invokeMeteorCommand','4368AZExZU','isFile','797082QiXTsa','Cannot\x20find\x20Node\x20Environment\x20File:\x20','concat','openSync','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','unit','once'];a90c=function(){return t;};return a90c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const p=a90d;a90e[p(0xe2)](a,'r'),a90g[p(0xea)]({'path':a});};Command[a90q(0xfe)]({'name':'test','mustBeInMakaProject':!![],'validOpts':[a90q(0xe5),a90q(0xe7),a90q(0xff),a90q(0xd7),a90q(0xe4),a90q(0xfd),a90q(0xda),a90q(0xf4),a90q(0xf2),a90q(0xf0)],'usage':a90q(0xe6),'shortDesc':a90q(0xe3),'examples':[]},function(a,b){const r=a90q;try{let c=this[r(0x104)]['getConfigPath'](r(0xdb));b[r(0xfd)]&&(c=this[r(0x104)][r(0xf1)](b['env']));(!b['unit']||!!b[r(0xe5)])&&(a=a[r(0xe1)](['--full-app']));b['unit']&&delete b[r(0xe4)];let d=b[r(0x106)]||b['driver']||r(0x112);if(d===r(0x112)){const j=JSON['parse'](a90e[r(0x10d)](a90f['join'](this[r(0x104)]['findProjectDirectory'](),r(0xd6),'config.json'),r(0x102)));if(j[r(0xd9)][r(0xf6)]===r(0xec))d=r(0xef);else j['engines'][r(0xf6)]==='mocha'&&(d='meteortesting:mocha');}if(d===r(0x112))throw r(0x101);(!b[r(0x106)]||!b[r(0xff)])&&(a=a['concat']([r(0x10b),d]));const f=a90f[r(0x10e)](c,'settings.json');this[r(0x104)][r(0xde)](f)?(Log[r(0x103)](r(0x110)+f),a=a['concat']([r(0xee),f])):Log[r(0xf9)](r(0x108)+f);const g=a90f[r(0x10e)](c,'process.env');this['fsi']['isFile'](g)?(Log[r(0x103)](r(0xf8)+g),syncSource(g)):Log[r(0xf9)](r(0xe0)+g);const h=process['argv'][r(0xd2)](0x2)['filter'](k=>k!==r(0xf7))['filter'](k=>k!=='test')['filter'](k=>k!==a[0x0]);h[r(0x10c)]((k,l)=>{const s=r;(k===s(0xf7)||k===s(0xd4))&&h[s(0xd3)](l,0x2),k===s(0xfa)&&h['splice'](l,0x1);});const i=b[r(0xe7)]?'test-packages':r(0xf6);this[r(0x104)][r(0xdc)](i,a['concat'](h));}catch(k){console[r(0xf5)](k),process[r(0x10f)](0x0);}});
@@ -1 +1 @@
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
+ const a91n=a91d;(function(a,b){const k=a91d,c=a();while(!![]){try{const d=-parseInt(k(0x10a))/0x1+parseInt(k(0x105))/0x2+parseInt(k(0x100))/0x3+parseInt(k(0x11b))/0x4+parseInt(k(0x101))/0x5+-parseInt(k(0x112))/0x6+-parseInt(k(0x123))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0xb2635));const a91b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a91d;if(c){const e=c[l(0x125)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){const m=a91d;return a91a[m(0x103)]()['search'](m(0x108))[m(0x103)]()[m(0x127)](a91a)[m(0x107)](m(0x108));});a91a();import{execSync}from'child_process';import a91e from'semver';function a91c(){const p=['(((.+)+)+)+$','getGlobalMeteorVersion','1137073vVVUkb','System\x27s\x20Meteor\x20Version\x20','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','----------------------Project----------------------------','version','win32','replace','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','3070794deWhaD','error','\x20node\x20-v','meteor.bat','\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','warn',')\x20to\x20at\x20least\x20meteor\x27s\x20(','fsi','maka\x20version\x20--verbose','5768564NQXHKZ','getProjectMeteorVersion','majestic','maka\x20v','System\x27s\x20Node\x20Version\x20','N/A','verbose','node\x20-v','11113571CpzWZZ','Project\x27s\x20Meteor\x20Node\x20Version\x20','apply','Maka\x20','constructor','exit','compareMakaToLatest','notice','bright','3366537yYIovo','2662915MsxDFc','maka\x20version','toString','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','1740598XgHMMO','\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','search'];a91c=function(){return p;};return a91c();}function a91d(a,b){const c=a91c();return a91d=function(d,e){d=d-0xff;let f=c[d];return f;},a91d(a,b);}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':'4.6.2'};Command['create']({'name':'version','aliases':['v'],'usage':a91n(0x102),'maxArgLength':0x1,'validOpts':['verbose'],'shortDesc':a91n(0x10c),'examples':[a91n(0x11e),'maka\x20version',a91n(0x11a)],'description':a91n(0x116)},async function(a,b){const o=a91n;try{const c=process['platform']===o(0x10f)?o(0x115):'meteor';Log[o(0x11d)](o(0x126)+pjson[o(0x10e)]),await this[o(0x119)][o(0x129)]();if(b[o(0x121)]){await this[o(0x119)][o(0x129)](),Log[o(0xff)]('----------------------System----------------------------');const d=this[o(0x119)][o(0x109)]();Log[o(0xff)]((o(0x10b)+d)[o(0x110)]('\x0a',''));const f=execSync(c+o(0x114))[o(0x103)]()[o(0x110)](/\r?\n|\r/,'')[o(0x110)]('v','');Log[o(0xff)]('System\x27s\x20Meteor\x27s\x20Node\x20Version\x20'+f);const g=execSync(o(0x122))[o(0x103)]()[o(0x110)](/\r?\n|\r/,'')[o(0x110)]('v','');a91e['gt'](f,g)?(Log[o(0x117)](o(0x11f)+g),Log[o(0x117)]('\x20!\x20consider\x20updating\x20your\x20node\x20version\x20('+g+o(0x118)+f+')')):Log[o(0xff)](o(0x11f)+g);if(this[o(0x119)]['isMakaProject']()){Log[o(0xff)](o(0x10d));const h=this[o(0x119)][o(0x11c)]();a91e['gt'](d,h)?(Log[o(0x117)]('Project\x27s\x20Meteor\x20Version\x20'+h['replace']('\x0a','')),Log[o(0x117)](o(0x111)+d+'\x22')):Log[o(0x12a)](('Project\x27s\x20Meteor\x20Version\x20'+h)[o(0x110)]('\x0a',''));const i=await this[o(0x119)]['getProjectsMeteorNodeVersion']();i===o(0x120)?(Log['warn'](o(0x124)+i),Log[o(0x117)](o(0x104))):Log[o(0xff)](o(0x124)+i),Log[o(0xff)](o(0x106));}}}catch(j){console[o(0x113)](j),process[o(0x128)](0x0);}});
@@ -1 +1 @@
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
+ (function(a,b){var f=a92d,c=a();while(!![]){try{var d=-parseInt(f(0x83))/0x1+parseInt(f(0x8d))/0x2*(-parseInt(f(0x80))/0x3)+parseInt(f(0x8a))/0x4*(-parseInt(f(0x81))/0x5)+parseInt(f(0x86))/0x6*(parseInt(f(0x82))/0x7)+-parseInt(f(0x84))/0x8*(-parseInt(f(0x85))/0x9)+-parseInt(f(0x7f))/0xa*(-parseInt(f(0x89))/0xb)+-parseInt(f(0x87))/0xc*(-parseInt(f(0x8b))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0xe90f2));var a92b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){var g=a92d;return a92a['toString']()[g(0x88)](g(0x8c))[g(0x7e)]()[g(0x7d)](a92a)['search'](g(0x8c));});a92a();export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}function a92d(a,b){var c=a92c();return a92d=function(d,e){d=d-0x7d;var f=c[d];return f;},a92d(a,b);}export class NoMeteorAppFoundError{}function a92c(){var h=['toString','6569670TvZRNp','3378cjPRrO','1385mJAlNI','31318uVilUz','498942jEHpqi','2973968yuLTNk','9smPbVS','2082DLWgek','7956Buvosf','search','11OxzEXB','17128YluyZD','13091NMseSP','(((.+)+)+)+$','1082auxiJo','constructor'];a92c=function(){return h;};return a92c();}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(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';
2
+ function a93d(a,b){var c=a93c();return a93d=function(d,e){d=d-0x165;var f=c[d];return f;},a93d(a,b);}var a93i=a93d;(function(a,b){var f=a93d,c=a();while(!![]){try{var d=parseInt(f(0x174))/0x1+-parseInt(f(0x176))/0x2*(-parseInt(f(0x172))/0x3)+parseInt(f(0x168))/0x4+-parseInt(f(0x16c))/0x5*(parseInt(f(0x16e))/0x6)+-parseInt(f(0x167))/0x7*(parseInt(f(0x175))/0x8)+parseInt(f(0x166))/0x9+-parseInt(f(0x170))/0xa*(parseInt(f(0x16a))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0x4a237));var a93b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a93d;if(c){var e=c[g(0x16b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){var h=a93d;return a93a[h(0x169)]()['search']('(((.+)+)+)+$')[h(0x169)]()[h(0x173)](a93a)[h(0x165)](h(0x16f));});a93a(),process[a93i(0x171)][a93i(0x177)]=a93i(0x16d);function a93c(){var j=['990wwMKof','env','267SxxuZz','constructor','489255xStTrD','24GQrpjT','9658SKJEZY','NODE_OPTIONS','search','1471176RxVCnb','245301jzuKGJ','1837872uLSrdQ','toString','92037unJNjY','apply','7435xDXjeN','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','1230BVbkUp','(((.+)+)+)+$'];a93c=function(){return j;};return a93c();}import'./maka.js';
@@ -1 +1 @@
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
+ const a94w=a94d;(function(a,b){const s=a94d,c=a();while(!![]){try{const d=parseInt(s(0x13c))/0x1*(parseInt(s(0x131))/0x2)+parseInt(s(0x17d))/0x3*(parseInt(s(0x150))/0x4)+parseInt(s(0x17b))/0x5+-parseInt(s(0x17a))/0x6+-parseInt(s(0x187))/0x7*(-parseInt(s(0x145))/0x8)+parseInt(s(0x155))/0x9*(parseInt(s(0x16e))/0xa)+parseInt(s(0x13b))/0xb*(-parseInt(s(0x15b))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0x49e97));const a94b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a94d;if(c){const e=c[t(0x14d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){const u=a94d;return a94a[u(0x12a)]()[u(0x184)](u(0x166))[u(0x12a)]()[u(0x17f)](a94a)[u(0x184)](u(0x166));});a94a();import a94e from'path';import a94f from'cli-table';import{paramCase}from'change-case';import a94g from'./generators/maka.gen.js';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 a94c(){const I=['options','validateParams','exit','minArgLength','10UIQYjm','DARK','mustHaveMeteorInstalled','maxArgLength','both','Both','list','find','notice','colLocAnswer','Client','Generator.create\x20requires\x20some\x20options!','1581036lQqnVe','30840tzIAXz','validateMakaSubscription','873wkJvNL','Too\x20few\x20options','constructor','where','sep','Name','_handler','search','client','fsi','763yKLfco','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','mustBeInMakaProject','findProjectDirectory','create','getPro','pop','number','tableList','validateMeteorInstall','addGenerator\x20requires\x20a\x20Generator\x20instance','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','error','lib','toString','No\x20resource\x20name\x20specified','filter','minOptsLength','Generator\x20requires\x20a\x20handler\x20function','findGenerator','help','28hXqWce','invoke','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','setColorMode','maxOptsLength','addGenerator','Server','domainLicense','listGenerators','keys','11dCUXop','1921tZaqWO','includes','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','light','split','pallet','chdir','There\x20is\x20no\x20Meteor\x20application\x20here','noResource','32288XzWzre','_generators','name','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','Generator\x20requires\x20a\x20name','slice','To\x20use\x20this\x20generator,\x20\x22','Please\x20run\x20\x22maka\x20install\x20meteor\x22','apply','Too\x20few\x20arguments','cwd','3956cpcDLg','Alias','forEach','bright','parent','5087943UcnvpR','server','assign','To\x20use\x20these\x20pro\x20flags,\x20\x22','checkWhere','Too\x20many\x20options','9118356xOnUod','proGenerators','resourceName','length','validateMakaProject','call','join','Generator.create\x20requires\x20a\x20handler\x20function!','dir','push','roles','(((.+)+)+)+$','LIGHT','appPathPrefix','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27'];a94c=function(){return I;};return a94c();}function a94d(a,b){const c=a94c();return a94d=function(d,e){d=d-0x11d;let f=c[d];return f;},a94d(a,b);}let _prevGen='';function inside(a='.',b){const v=a94d,c=process[v(0x14f)]();let d=null;try{process[v(0x142)](a),d=b();}finally{process[v(0x142)](c);}return d;}export class Generator extends Tool{[a94w(0x16a)];[a94w(0x146)];constructor(a,b){const x=a94w;super();if(!a)throw new Error(x(0x11d));if(!a[x(0x147)])throw new Error(x(0x149));if(typeof b!=='function')throw new Error(x(0x12e));this[x(0x146)]=[],this['options']=Object[x(0x157)]({},a),this['name']=this[x(0x16a)][x(0x147)],this[x(0x183)]=b['bind'](this);}static[a94w(0x120)](a,b,c){const y=a94w;if(!a)throw new Error(y(0x179));if(typeof b!=='function')throw new Error(y(0x162));const d=new Generator(a,b);return c=c||a94g,Object[y(0x157)](d,{'parent':c?.[y(0x16a)]?.['name']}),c[y(0x136)](d),d;}[a94w(0x136)](a){const z=a94w;if(!(a instanceof Generator))throw new Error(z(0x126));this[z(0x146)]['push'](a);}[a94w(0x12f)](a){const A=a94w,b=this[A(0x146)][A(0x175)](c=>c['match'](a));return b;}async[a94w(0x17c)](a,b){const B=a94w,c=this[B(0x12f)](a[0x0]);if(c){const d=c?.['name']||a[0x0],e=c?.[B(0x154)]||'',f=Object[B(0x13a)](b),g=await this['fsi'][B(0x121)]();!g&&(Log[B(0x128)](B(0x127)),process[B(0x16c)](0x1));const h=!g?.['roles'][B(0x13d)]('singleLicense')&&!g?.[B(0x165)]['includes'](B(0x138)),i=g?.[B(0x15c)][B(0x13d)](d)||g?.[B(0x15c)][B(0x13d)](e);if(i&&h)throw B(0x14b)+d+B(0x133);if(f[B(0x15e)]>0x0){const j=g?.['proFlags'][B(0x12c)](k=>f[B(0x13d)](k));if(j&&j[B(0x15e)]>0x0&&h)throw B(0x158)+j?.[B(0x161)](',\x20')+B(0x133);}}}async[a94w(0x132)](a,b){const C=a94w,{usage:usage='',description:description='',examples:examples=[],shortDesc:c,requiredOpts:requiredOpts=[],validOpts:d}=this[C(0x16a)],f=await this['fsi']['getGlobalConfig'](),g=f[C(0x141)]===C(0x13f)?ColorMode[C(0x167)]:ColorMode[C(0x16f)];Log[C(0x134)](g);try{await this[C(0x17c)](a,b);}catch(i){Log[C(0x128)](i),process[C(0x16c)](0x1);}const h=a[C(0x14a)]();b[C(0x15d)]=h[0x0];try{if((a[0x0]===_prevGen||a[C(0x15e)]===0x0)&&b[C(0x130)])throw new UsageError();if(this[C(0x16a)][C(0x11e)]){const j=this[C(0x15f)]();if(!j)throw new MustBeInProjectError();}if(this[C(0x16a)][C(0x170)]){const k=this[C(0x125)]();if(!k)throw new NoMeteorFoundError();}if(typeof this[C(0x16a)]['minArgLength']===C(0x123)){if(a[C(0x15e)]<this[C(0x16a)][C(0x16d)]){Log[C(0x128)](C(0x14e));throw new UsageError();}}if(typeof this[C(0x16a)][C(0x171)]==='number'){if(a['length']>this['options'][C(0x171)]){Log[C(0x128)]('Too\x20many\x20arguments');throw new UsageError();}}if(typeof this[C(0x16a)][C(0x12d)]===C(0x123)){if(Object[C(0x13a)](b)[C(0x15e)]<this[C(0x16a)][C(0x12d)]){Log[C(0x128)](C(0x17e));throw new UsageError();}}if(typeof this[C(0x16a)][C(0x135)]===C(0x123)){if(Object[C(0x13a)](b)[C(0x15e)]>=this[C(0x16a)][C(0x135)]){Log[C(0x128)](C(0x15a));throw new UsageError();}}await this[C(0x16b)](a,b,this['options']);if(!b[C(0x15d)]&&!this[C(0x16a)][C(0x144)]){Log[C(0x128)](C(0x12b));throw new UsageError();}_prevGen=a[0x0];}catch(l){Log['usage'](description,examples,usage,c,requiredOpts,d);if(l instanceof UsageError)this[C(0x146)]['length']>0x0&&b[C(0x130)]&&(Log[C(0x176)]('Generators:'),this[C(0x124)](this[C(0x146)]));else{if(l instanceof MustBeInProjectError)Log[C(0x128)](C(0x148));else{if(l instanceof NoMeteorFoundError)Log['error'](C(0x13e)),Log[C(0x176)](C(0x14c));else{if(l instanceof NoMeteorAppFoundError)Log[C(0x128)](C(0x143));else throw l;}}}process[C(0x16c)](0x1);}return new Promise(m=>{const D=C;inside(b[D(0x14f)],async()=>{const E=D;try{if(!b['root']&&!this[E(0x186)][E(0x11f)]())throw new MustBeInProjectError();const n=b['resourceName']?.['replace'](/\\/g,'/')[E(0x140)]('/');!b[E(0x163)]&&(n?.[E(0x15e)]>0x1?(b[E(0x15d)]=n[E(0x122)](),h[0x0]=b[E(0x15d)],b[E(0x163)]=n['map'](o=>{return paramCase(o);})[E(0x161)](a94e[E(0x181)])):b[E(0x163)]='');if(this[E(0x16a)][E(0x159)]){if(!b[E(0x180)]){const p={'type':E(0x174),'name':E(0x177),'message':'Location','choices':[{'name':E(0x178),'value':'client'},{'name':E(0x137),'value':E(0x156)},{'name':E(0x173),'value':'both'}]},{colLocAnswer:q}=await Actions[E(0x16a)](p);q?b[E(0x180)]=q:b[E(0x180)]='both';}const o=['both','client','server'];if(!o['includes'](b[E(0x180)])){Log['error'](E(0x169));throw new UsageError();}switch(b['where']){case E(0x172):b[E(0x168)]=E(0x129);break;case'server':b[E(0x168)]=E(0x156);break;case E(0x185):b[E(0x168)]=E(0x185);break;default:b[E(0x168)]='';}}m(this['_handler'][E(0x160)](this,h,b));}catch(r){console[E(0x128)](r);}});});}[a94w(0x139)](){const F=a94w;this[F(0x124)](this[F(0x146)]);}[a94w(0x124)](a){const G=a94w,b=new a94f({});b[G(0x164)]([G(0x182),G(0x151),'Description']),a['sort']()[G(0x152)](c=>{const H=G;b['push']([c[H(0x147)],c['aliases'](),c['shortDesc']()]);}),Log[G(0x153)](b['toString']());}}
@@ -1 +1 @@
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
+ (function(a,b){var f=a95d,c=a();while(!![]){try{var d=parseInt(f(0x145))/0x1*(parseInt(f(0x14a))/0x2)+-parseInt(f(0x14c))/0x3+-parseInt(f(0x142))/0x4+-parseInt(f(0x149))/0x5*(-parseInt(f(0x141))/0x6)+parseInt(f(0x14b))/0x7+-parseInt(f(0x148))/0x8*(parseInt(f(0x146))/0x9)+parseInt(f(0x13e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0x78082));var a95b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a95d;if(c){var e=c[g(0x13f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a95a=a95b(this,function(){var h=a95d;return a95a[h(0x144)]()[h(0x140)](h(0x143))[h(0x144)]()[h(0x147)](a95a)[h(0x140)](h(0x143));});a95a();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';function a95d(a,b){var c=a95c();return a95d=function(d,e){d=d-0x13e;var f=c[d];return f;},a95d(a,b);}import'./methods.js';import'./package.js';import'./publish.js';import'./route.js';import'./service.js';import'./page.js';import'./maka.gen.js';import'./dockerfile.js';function a95c(){var i=['constructor','48pCLaTV','115OJgLec','18248VrSZZo','5287835MxAAFM','2006850dpBogb','4893740rNxRLb','apply','search','58866LTEvjT','1802336UbfIRz','(((.+)+)+)+$','toString','46ASCeiK','418428vlVytm'];a95c=function(){return i;};return a95c();}import'./maka.gen.js';