@maka/maka-cli 4.5.47 → 4.5.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (134) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/build/_index.js +1 -1
  20. package/bundle/obf/src/commands/build/build.js +1 -1
  21. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/create.js +1 -1
  23. package/bundle/obf/src/commands/debug.js +1 -1
  24. package/bundle/obf/src/commands/deploy.js +1 -1
  25. package/bundle/obf/src/commands/game/_index.js +1 -1
  26. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/game/play.command.js +1 -1
  28. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  29. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  30. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  31. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  63. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  64. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  65. package/bundle/obf/src/commands/generate.js +1 -1
  66. package/bundle/obf/src/commands/get/_index.js +1 -1
  67. package/bundle/obf/src/commands/get/get.command.js +1 -1
  68. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/help.js +1 -1
  72. package/bundle/obf/src/commands/jsdoc.js +1 -1
  73. package/bundle/obf/src/commands/lint.js +1 -1
  74. package/bundle/obf/src/commands/login.js +1 -1
  75. package/bundle/obf/src/commands/logout.js +1 -1
  76. package/bundle/obf/src/commands/logs.js +1 -1
  77. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  78. package/bundle/obf/src/commands/murder.js +1 -1
  79. package/bundle/obf/src/commands/proxy.js +1 -1
  80. package/bundle/obf/src/commands/reconfig.js +1 -1
  81. package/bundle/obf/src/commands/run/_index.js +1 -1
  82. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  83. package/bundle/obf/src/commands/run/run.command.js +1 -1
  84. package/bundle/obf/src/commands/set/_index.js +1 -1
  85. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  86. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  87. package/bundle/obf/src/commands/set/set.command.js +1 -1
  88. package/bundle/obf/src/commands/ssh.js +1 -1
  89. package/bundle/obf/src/commands/ssl.js +1 -1
  90. package/bundle/obf/src/commands/test.js +1 -1
  91. package/bundle/obf/src/commands/version.js +1 -1
  92. package/bundle/obf/src/error.js +1 -1
  93. package/bundle/obf/src/exec.js +1 -1
  94. package/bundle/obf/src/generator.js +1 -1
  95. package/bundle/obf/src/generators/_index.js +1 -1
  96. package/bundle/obf/src/generators/api.js +1 -1
  97. package/bundle/obf/src/generators/collection.js +1 -1
  98. package/bundle/obf/src/generators/component.js +1 -1
  99. package/bundle/obf/src/generators/config.js +1 -1
  100. package/bundle/obf/src/generators/dbc.js +1 -1
  101. package/bundle/obf/src/generators/dockerfile.js +1 -1
  102. package/bundle/obf/src/generators/hook.js +1 -1
  103. package/bundle/obf/src/generators/kit.js +1 -1
  104. package/bundle/obf/src/generators/layout.js +1 -1
  105. package/bundle/obf/src/generators/maka.gen.js +1 -1
  106. package/bundle/obf/src/generators/methods.js +1 -1
  107. package/bundle/obf/src/generators/package.js +1 -1
  108. package/bundle/obf/src/generators/page.js +1 -1
  109. package/bundle/obf/src/generators/publish.js +1 -1
  110. package/bundle/obf/src/generators/route.js +1 -1
  111. package/bundle/obf/src/generators/service.js +1 -1
  112. package/bundle/obf/src/generators/services/_index.js +1 -1
  113. package/bundle/obf/src/generators/services/openssl.js +1 -1
  114. package/bundle/obf/src/generators/services/translation.js +1 -1
  115. package/bundle/obf/src/maka.js +1 -1
  116. package/bundle/obf/src/tool.js +1 -1
  117. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  118. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  119. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  120. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  121. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  122. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  123. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  124. package/bundle/obf/src/tools/https/https.class.js +1 -1
  125. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  126. package/bundle/obf/src/tools/log/log.class.js +1 -1
  127. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  128. package/bundle/obf/src/tools/options/options.class.js +1 -1
  129. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  130. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  131. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  132. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  133. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  134. package/package.json +1 -1
@@ -1 +1 @@
1
- const a75k=a75d;(function(a,b){const h=a75d,c=a();while(!![]){try{const d=-parseInt(h(0x13a))/0x1*(parseInt(h(0x14d))/0x2)+parseInt(h(0x148))/0x3*(parseInt(h(0x150))/0x4)+parseInt(h(0x138))/0x5*(-parseInt(h(0x14a))/0x6)+parseInt(h(0x13c))/0x7+-parseInt(h(0x152))/0x8+-parseInt(h(0x146))/0x9+parseInt(h(0x135))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a75c,0x79b1e));const a75b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a75d;if(c){const e=c[i(0x145)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a75a=a75b(this,function(){const j=a75d;return a75a[j(0x14e)]()[j(0x14b)](j(0x134))[j(0x14e)]()[j(0x151)](a75a)[j(0x14b)](j(0x134));});a75a();import a75e from'fs';import a75f from'path';function a75d(a,b){const c=a75c();return a75d=function(d,e){d=d-0x133;let f=c[d];return f;},a75d(a,b);}import{Command}from'../command.js';function a75c(){const m=['apply','6075567LTnMVZ','sshSync','169131prATWU','fsi','18yPrErj','search','log','62hDxHzL','toString','assign','28EgxcuV','constructor','164488FxsXvm','parse','(((.+)+)+)+$','9539170HfEUYT','readFileSync','maka\x20logs\x20--env\x20dev','578705AQFoiu','env','4961gFZZWO','join','2425808DCIOIK','maka\x20logs\x20--env\x20staging','ssh.json','pm2\x20logs','logs','getConfigPath','verbose','View\x20the\x20PM2\x20logs','maka\x20logs'];a75c=function(){return m;};return a75c();}import{SSH}from'../tools/ssh/ssh.class.js';Command['create']({'name':a75k(0x140),'aliases':['l',a75k(0x14c)],'usage':a75k(0x144),'requiredOpts':[a75k(0x139)],'mustBeInMakaProject':!![],'validOpts':[a75k(0x142)],'shortDesc':a75k(0x143),'examples':[a75k(0x137),a75k(0x13d),'maka\x20l\x20-e\x20p']},function(a,b){const l=a75k,c=l(0x13f),d=this[l(0x149)][l(0x141)](b['env']),e=a75f[l(0x13b)](d,l(0x13e)),f=a75e[l(0x136)](e),g=JSON[l(0x133)](f[l(0x14e)]());Object[l(0x14f)](g,{'env':d}),SSH[l(0x147)](c,g,{'tty':!![],'verbose':!![]});});
1
+ function a75d(a,b){const c=a75c();return a75d=function(d,e){d=d-0x13e;let f=c[d];return f;},a75d(a,b);}const a75k=a75d;(function(a,b){const h=a75d,c=a();while(!![]){try{const d=parseInt(h(0x148))/0x1+parseInt(h(0x154))/0x2+-parseInt(h(0x149))/0x3+-parseInt(h(0x142))/0x4*(-parseInt(h(0x14f))/0x5)+-parseInt(h(0x143))/0x6+parseInt(h(0x155))/0x7+parseInt(h(0x150))/0x8*(-parseInt(h(0x156))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a75c,0x9dabc));const a75b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a75d;if(c){const e=c[i(0x13e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a75a=a75b(this,function(){const j=a75d;return a75a[j(0x146)]()[j(0x158)](j(0x14a))[j(0x146)]()[j(0x152)](a75a)[j(0x158)](j(0x14a));});a75a();import a75e from'fs';function a75c(){const m=['search','assign','apply','maka\x20logs','maka\x20logs\x20--env\x20dev','sshSync','1740108lISrTC','678594mroLZM','getConfigPath','pm2\x20logs','toString','verbose','1250691sVRprK','83433eEpyxp','(((.+)+)+)+$','env','log','create','parse','10JryFCF','3889072UIdXPe','maka\x20l\x20-e\x20p','constructor','join','960464ZbUsZl','4314961IHHsVU','45DaMDwf','ssh.json'];a75c=function(){return m;};return a75c();}import a75f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a75k(0x14d)]({'name':'logs','aliases':['l',a75k(0x14c)],'usage':a75k(0x13f),'requiredOpts':[a75k(0x14b)],'mustBeInMakaProject':!![],'validOpts':[a75k(0x147)],'shortDesc':'View\x20the\x20PM2\x20logs','examples':[a75k(0x140),'maka\x20logs\x20--env\x20staging',a75k(0x151)]},function(a,b){const l=a75k,c=l(0x145),d=this['fsi'][l(0x144)](b[l(0x14b)]),e=a75f[l(0x153)](d,l(0x157)),f=a75e['readFileSync'](e),g=JSON[l(0x14e)](f[l(0x146)]());Object[l(0x159)](g,{'env':d}),SSH[l(0x141)](c,g,{'tty':!![],'verbose':!![]});});
@@ -1 +1 @@
1
- function a76d(a,b){const c=a76c();return a76d=function(d,e){d=d-0x1ca;let f=c[d];return f;},a76d(a,b);}const a76j=a76d;(function(a,b){const g=a76d,c=a();while(!![]){try{const d=-parseInt(g(0x1cc))/0x1+-parseInt(g(0x1db))/0x2+-parseInt(g(0x1dc))/0x3+parseInt(g(0x1df))/0x4+-parseInt(g(0x1d6))/0x5+-parseInt(g(0x1d3))/0x6+parseInt(g(0x1d7))/0x7*(parseInt(g(0x1d2))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a76c,0x32f40));function a76c(){const l=['findSubCommand','1614560fXTjyb','maka\x20<command>\x20[<args>]\x20[<opts>]','toString','83224ffdric','search','maka\x20run','slice','apply','error','3661376NnHYRz','2128752EQHjhp','maka\x20create\x20Todo','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','922895kGTcTl','7fEMqoh','maka\x20--help','maybeProxyCommandToMeteor','maka\x20install\x20meteor','34704uaNQbb','37983aNEonx','maka'];a76c=function(){return l;};return a76c();}const a76b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a76d;if(c){const e=c[h(0x1d0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a76a=a76b(this,function(){const i=a76d;return a76a[i(0x1cb)]()[i(0x1cd)]('(((.+)+)+)+$')[i(0x1cb)]()['constructor'](a76a)[i(0x1cd)]('(((.+)+)+)+$');});a76a();import{Command}from'../command.js';const Maka=new Command({'name':a76j(0x1dd),'minArgLength':0x1,'shortDesc':a76j(0x1d5),'validOpts':[],'usage':a76j(0x1ca),'disableAuthCheck':!![],'examples':[a76j(0x1d8),a76j(0x1da),a76j(0x1d4),a76j(0x1ce)],'description':'\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.-:\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20:-.\x20\x20\x20\x20\x20:--\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::\x20\x20::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::::::\x20.:::::::\x20..\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20..:.....\x20.::..::.\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20.::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::::::\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20\x20::::::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::..-::.\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::....\x20\x20::..---:..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20.\x20.:::::::\x20\x20::..::.\x20..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20\x20:.\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:--\x20\x20\x20\x20\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-:\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20:\x0a.:..::...::.\x20\x20\x20....:\x20\x20\x20.:\x20\x20\x20::\x20\x20....:.\x20\x20\x20\x20\x20\x20\x20\x20.::::\x20\x20.:\x20\x20::\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20\x20....:-\x20\x20.-..:.\x20\x20\x20....:-\x20\x20...\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20.:\x20\x20\x20:-\x20\x20.-\x20\x20.:\x20\x20.:\x20\x20\x20:-\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a.:.\x20\x20\x20:.\x20\x20\x20.:\x20\x20....\x20:.\x20.:.\x20\x20..\x20\x20....\x20:.\x20\x20\x20\x20\x20\x20\x20.....\x20\x20.:.\x20.:.\x0a\x0a\x20\x20'},async function(a,b){const k=a76j;try{const c=a[0x0],d=this[k(0x1de)](c);d?this['runSubCommand'](c,a[k(0x1cf)](0x1),b):this['fsi'][k(0x1d9)]();}catch(f){console[k(0x1d1)](f),process['exit'](0x1);}});export default Maka;
1
+ const a76j=a76d;(function(a,b){const g=a76d,c=a();while(!![]){try{const d=parseInt(g(0xdc))/0x1*(-parseInt(g(0xc2))/0x2)+parseInt(g(0xd4))/0x3+-parseInt(g(0xc7))/0x4*(-parseInt(g(0xc8))/0x5)+parseInt(g(0xd9))/0x6+parseInt(g(0xd3))/0x7+-parseInt(g(0xd7))/0x8*(parseInt(g(0xd0))/0x9)+parseInt(g(0xdb))/0xa*(parseInt(g(0xd8))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a76c,0x1c5bd));const a76b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a76d;if(c){const e=c[h(0xcc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a76a=a76b(this,function(){const i=a76d;return a76a[i(0xcf)]()[i(0xc5)](i(0xca))['toString']()[i(0xd1)](a76a)['search']('(((.+)+)+)+$');});a76a();import{Command}from'../command.js';const Maka=new Command({'name':'maka','minArgLength':0x1,'shortDesc':a76j(0xc9),'validOpts':[],'usage':a76j(0xd5),'disableAuthCheck':!![],'examples':[a76j(0xcb),a76j(0xd2),a76j(0xd6),'maka\x20run'],'description':a76j(0xc3)},async function(a,b){const k=a76j;try{const c=a[0x0],d=this[k(0xcd)](c);d?this[k(0xce)](c,a[k(0xda)](0x1),b):this['fsi'][k(0xc4)]();}catch(f){console['error'](f),process[k(0xc6)](0x1);}});export default Maka;function a76d(a,b){const c=a76c();return a76d=function(d,e){d=d-0xc2;let f=c[d];return f;},a76d(a,b);}function a76c(){const l=['maybeProxyCommandToMeteor','search','exit','688668YFqXjy','5gVwSIx','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','(((.+)+)+)+$','maka\x20--help','apply','findSubCommand','runSubCommand','toString','9QvUtOW','constructor','maka\x20install\x20meteor','398272GxDkSO','192012CPmskP','maka\x20<command>\x20[<args>]\x20[<opts>]','maka\x20create\x20Todo','892168iHDoEE','44WKNxdR','540678Yzgmnz','slice','51080FdGbSe','242hVhCtg','1454PzkFpe','\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'];a76c=function(){return l;};return a76c();}
@@ -1 +1 @@
1
- var a77i=a77d;(function(a,b){var f=a77d,c=a();while(!![]){try{var d=-parseInt(f(0x108))/0x1*(parseInt(f(0xf9))/0x2)+-parseInt(f(0xfc))/0x3+-parseInt(f(0xf5))/0x4*(parseInt(f(0xfb))/0x5)+-parseInt(f(0x106))/0x6*(-parseInt(f(0xfe))/0x7)+parseInt(f(0x102))/0x8+parseInt(f(0x103))/0x9+parseInt(f(0x109))/0xa*(parseInt(f(0xfa))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0xa9e2d));function a77d(a,b){var c=a77c();return a77d=function(d,e){d=d-0xf5;var f=c[d];return f;},a77d(a,b);}var a77b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a77d;if(c){var e=c[g(0xfd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){var h=a77d;return a77a[h(0xf8)]()[h(0xf6)](h(0x10a))[h(0xf8)]()[h(0x100)](a77a)['search'](h(0x10a));});function a77c(){var k=['55jBnKIn','697470cKCNVr','apply','1877687XFKQKP','murder','constructor','%c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.___.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20,-^\x20\x20\x20\x20\x20^-.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x0a.-------|\x20|--------------/\x20\x20__\x20\x20\x20\x20\x20__\x20\x20\x5c-------------------.__\x0a|WMWMWMW|\x20|>>>>>>>>>>>>>\x20|\x20/>>\x5c\x20\x20\x20/>>\x5c\x20|>>>>>>>>>>>>>>>>>>>>>>:>\x0a`-------|\x20|--------------|\x20\x5c__/\x20\x20\x20\x5c__/\x20|-------------------\x27^^\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x5c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20/|\x5c\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x5c_/\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|+H+H+H+|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20^-----^\x0a\x0a','7186848cRAKjp','10706445CwHXzF','create','exit','12HCbGNk','error','143686fJtLnA','10yhhbqm','(((.+)+)+)+$','maka\x20murder','207412pVibAB','search','font-family:\x20monospace','toString','16qGlhYc','261481FvCPGq'];a77c=function(){return k;};return a77c();}a77a();import{Command}from'../command.js';Command[a77i(0x104)]({'name':a77i(0xff),'usage':a77i(0x10b),'maxArgLength':0x1,'shortDesc':'Murrrrderrrrr','validOpts':[]},async function(){var j=a77i;try{console['log'](j(0x101),j(0xf7));}catch(a){console[j(0x107)](a),process[j(0x105)](0x0);}});
1
+ var a77h=a77d;function a77d(a,b){var c=a77c();return a77d=function(d,e){d=d-0x67;var f=c[d];return f;},a77d(a,b);}(function(a,b){var f=a77d,c=a();while(!![]){try{var d=-parseInt(f(0x6b))/0x1*(-parseInt(f(0x6f))/0x2)+parseInt(f(0x75))/0x3*(parseInt(f(0x72))/0x4)+-parseInt(f(0x73))/0x5+-parseInt(f(0x78))/0x6*(parseInt(f(0x71))/0x7)+-parseInt(f(0x6c))/0x8+-parseInt(f(0x7a))/0x9*(parseInt(f(0x79))/0xa)+parseInt(f(0x7d))/0xb*(parseInt(f(0x7c))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0xe871f));var a77b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){var g=a77d;return a77a[g(0x6a)]()[g(0x67)]('(((.+)+)+)+$')[g(0x6a)]()[g(0x77)](a77a)['search']('(((.+)+)+)+$');});function a77c(){var j=['create','murder','26phzjpG','Murrrrderrrrr','63FgiVQT','84zUDYZK','9202830EZfxpm','error','270663lKUJzb','%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','constructor','34002cTAoqk','30lUWFBw','117477lbsvAN','log','56076wtbmve','4191svpmGc','search','font-family:\x20monospace','maka\x20murder','toString','70451YXrefn','13664752xAnxTe'];a77c=function(){return j;};return a77c();}a77a();import{Command}from'../command.js';Command[a77h(0x6d)]({'name':a77h(0x6e),'usage':a77h(0x69),'maxArgLength':0x1,'shortDesc':a77h(0x70),'validOpts':[]},async function(){var i=a77h;try{console[i(0x7b)](i(0x76),i(0x68));}catch(a){console[i(0x74)](a),process['exit'](0x0);}});
@@ -1 +1 @@
1
- const a78q=a78d;(function(a,b){const n=a78d,c=a();while(!![]){try{const d=parseInt(n(0x20d))/0x1*(-parseInt(n(0x216))/0x2)+-parseInt(n(0x218))/0x3*(parseInt(n(0x1f6))/0x4)+parseInt(n(0x1f3))/0x5*(parseInt(n(0x1f0))/0x6)+parseInt(n(0x20f))/0x7+parseInt(n(0x207))/0x8*(parseInt(n(0x214))/0x9)+-parseInt(n(0x215))/0xa*(-parseInt(n(0x20e))/0xb)+-parseInt(n(0x1fb))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x999ef));function a78c(){const s=['development','utf8','genCSR','join','7021518jTciSR','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','getConfigPath','5tNtsIg','create','constructor','4RNjXnM','targetPort','\x0a\x20\x20If\x20you\x27re\x20running\x20your\x20Meteor\x20service,\x20and\x20need\x20to\x20stand\x20up\x20an\x20SSL\x0a\x20\x20Proxy,\x20this\x20command\x20will\x20automatically\x20create\x20a\x20key\x20pair\x20for\x20use\x20in\x20an\x20HTTPS\x0a\x20\x20proxy.\x0a\x0a\x20\x20For\x20example,\x20you\x27re\x20running\x20http://localhost:3000\x20with\x20\x22maka\x20run\x22\x20then\x20open\x20a\x20new\x0a\x20\x20terminal\x20and\x20run\x20\x22maka\x20proxy\x22\x20to\x20standup\x20https://localhost:3443.\x0a\x20\x20Then\x20open\x20your\x20browser\x20to\x20that\x20URL\x20(you\x20may\x20need\x20to\x20trust\x20the\x20certificates\x0a\x20\x20because\x20they\x20are\x20self-signed)\x20and\x20you\x27ll\x20have\x20an\x20SSL\x20connection\x20to\x20your\x0a\x20\x20http://localhost:3000.\x0a\x0a\x20\x20To\x20avoid\x20possibly\x20overwriting\x20PKI\x20files\x20in\x20higher\x20environments,\x20\x22maka\x20proxy\x22\x0a\x20\x20will\x20try\x20to\x20only\x20generate\x20/\x20store\x20PKI\x20keys\x20in\x20the\x20development\x20environment.\x0a\x20\x20','bright','(((.+)+)+)+$','21255588IgaTOQ','sslconfig','toString','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','fsi','\x20to\x20','listen','search','.crt','apply','appName','listenPort','2426584ZdkrIh','isFile','targetHost','createProxyServer','error','.csr','10GptJxZ','385583PnNfaY','8210937hMFxWR','maka\x20proxy\x20--target-host\x20http://192.168.1.20','.key','readFileSync','proxy','18cHupIm','170QXMRfM','147062DBSHTp','genSSC','1229853RzZoyZ'];a78c=function(){return s;};return a78c();}const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a78d;if(c){const e=c[o(0x204)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const p=a78d;return a78a[p(0x1fd)]()[p(0x202)](p(0x1fa))[p(0x1fd)]()[p(0x1f5)](a78a)['search'](p(0x1fa));});a78a();function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x1f0;let f=c[d];return f;},a78d(a,b);}import a78e from'fs';import a78f from'path';import a78g from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a78h from'../generators/maka.gen.js';Command[a78q(0x1f4)]({'name':a78q(0x213),'usage':'maka\x20proxy','mustBeInMakaProject':!![],'validOpts':['help',a78q(0x1f7),a78q(0x206),a78q(0x209)],'maxArgLength':0x1,'shortDesc':'Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','description':a78q(0x1f8),'examples':['maka\x20proxy',a78q(0x1fe),a78q(0x210)]},async function(a,b){const r=a78q,c=this['fsi']['getProjectConfig'](),d=r(0x219),e=this['fsi'][r(0x1f2)](d),f=this[r(0x1ff)]['mkKeysDir']({'configPath':e}),g=b[r(0x1f7)]?Number(b[r(0x1f7)]):0xbb8,h=b[r(0x206)]?Number(b[r(0x206)]):0xd73,i=b[r(0x209)]?b[r(0x209)]:'localhost',j=a78f['join'](f,c[r(0x205)]+'.key'),k=a78f[r(0x21c)](f,c['appName']+r(0x203));if(!this[r(0x1ff)][r(0x208)](j)||!this[r(0x1ff)]['isFile'](k)){const m=a78h['findGenerator']('sslconfig');m&&await m['invoke']([r(0x1fc)],{'env':d}),SSL[r(0x21b)]({'keyName':c[r(0x205)]+r(0x211),'csrName':c['appName']+r(0x20c),'cwd':f}),SSL[r(0x217)]({'keyName':c[r(0x205)]+r(0x211),'crtName':c[r(0x205)]+r(0x203),'cwd':f});}if(g===h){Log[r(0x20b)](r(0x1f1));throw new UsageError();}const l={'ssl':{'key':a78e[r(0x212)](j,r(0x21a)),'cert':a78e[r(0x212)](k,'utf8')},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a78g[r(0x20a)](l)[r(0x201)](Number(h)),Log[r(0x1f9)]('=>\x20SSL\x20Proxy\x20forwarding\x20'+h+r(0x200)+g);});
1
+ function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0xbd;let f=c[d];return f;},a78d(a,b);}const a78q=a78d;(function(a,b){const n=a78d,c=a();while(!![]){try{const d=-parseInt(n(0xc2))/0x1+-parseInt(n(0xeb))/0x2+-parseInt(n(0xcb))/0x3*(parseInt(n(0xe9))/0x4)+-parseInt(n(0xc7))/0x5*(-parseInt(n(0xd2))/0x6)+parseInt(n(0xd1))/0x7*(-parseInt(n(0xbd))/0x8)+-parseInt(n(0xe2))/0x9*(parseInt(n(0xc9))/0xa)+parseInt(n(0xbe))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0xd7f9e));const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a78d;if(c){const e=c[o(0xe3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const p=a78d;return a78a[p(0xe0)]()['search'](p(0xdd))[p(0xe0)]()[p(0xe6)](a78a)[p(0xda)](p(0xdd));});a78a();import a78e from'fs';import a78f from'path';import a78g from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a78c(){const s=['appName','findGenerator','toString','help','13424139YOdNmT','apply','isFile','bright','constructor','genSSC','maka\x20proxy','52qDXMyR','\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','1988098XUIEXe','join','1125416EDCWKN','72295927yPuHSc','\x20to\x20','createProxyServer','=>\x20SSL\x20Proxy\x20forwarding\x20','1322699BvemAB','invoke','sslconfig','targetPort','.csr','745IUtAqR','localhost','10yDUZxs','development','186429DabBlo','listenPort','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','utf8','readFileSync','maka\x20proxy\x20--target-host\x20http://192.168.1.20','77nreTTh','19164qvqsTm','getProjectConfig','error','create','fsi','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','targetHost','.key','search','listen','.crt','(((.+)+)+)+$'];a78c=function(){return s;};return a78c();}import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a78h from'../generators/maka.gen.js';Command[a78q(0xd5)]({'name':'proxy','usage':a78q(0xe8),'mustBeInMakaProject':!![],'validOpts':[a78q(0xe1),a78q(0xc5),a78q(0xcc),a78q(0xd8)],'maxArgLength':0x1,'shortDesc':a78q(0xd7),'description':a78q(0xea),'examples':['maka\x20proxy',a78q(0xcd),a78q(0xd0)]},async function(a,b){const r=a78q,c=this[r(0xd6)][r(0xd3)](),d=r(0xca),e=this['fsi']['getConfigPath'](d),f=this[r(0xd6)]['mkKeysDir']({'configPath':e}),g=b[r(0xc5)]?Number(b[r(0xc5)]):0xbb8,h=b[r(0xcc)]?Number(b[r(0xcc)]):0xd73,i=b[r(0xd8)]?b[r(0xd8)]:r(0xc8),j=a78f[r(0xec)](f,c[r(0xde)]+r(0xd9)),k=a78f[r(0xec)](f,c[r(0xde)]+'.crt');if(!this[r(0xd6)][r(0xe4)](j)||!this[r(0xd6)][r(0xe4)](k)){const m=a78h[r(0xdf)](r(0xc4));m&&await m[r(0xc3)]([r(0xc4)],{'env':d}),SSL['genCSR']({'keyName':c[r(0xde)]+'.key','csrName':c[r(0xde)]+r(0xc6),'cwd':f}),SSL[r(0xe7)]({'keyName':c[r(0xde)]+'.key','crtName':c[r(0xde)]+r(0xdc),'cwd':f});}if(g===h){Log[r(0xd4)]('Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.');throw new UsageError();}const l={'ssl':{'key':a78e['readFileSync'](j,r(0xce)),'cert':a78e[r(0xcf)](k,'utf8')},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a78g[r(0xc0)](l)[r(0xdb)](Number(h)),Log[r(0xe5)](r(0xc1)+h+r(0xbf)+g);});
@@ -1 +1 @@
1
- const a79q=a79d;(function(a,b){const n=a79d,c=a();while(!![]){try{const d=-parseInt(n(0x1db))/0x1*(-parseInt(n(0x1e3))/0x2)+parseInt(n(0x1fc))/0x3+parseInt(n(0x1e1))/0x4+-parseInt(n(0x1f0))/0x5+-parseInt(n(0x1dd))/0x6+-parseInt(n(0x1de))/0x7+-parseInt(n(0x1f7))/0x8*(-parseInt(n(0x1f4))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x8bc2a));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a79d;if(c){const e=c[o(0x1fa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const p=a79d;return a79a[p(0x1e4)]()['search'](p(0x1eb))[p(0x1e4)]()['constructor'](a79a)['search'](p(0x1eb));});a79a();import a79e from'fs';import a79f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a79c(){const s=['1753104NqXyTw','sshSync','~/ses.json','parse','pm2.config.js','exit','~/pm2.config.js','maka\x20reconfig\x20--env\x20prod','env','349bxuCcI','notice','4003140jMBsxr','2286172EuRibp','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','\x0a\x20\x20If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x0a\x20\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.\x0a\x20\x20','130148PFwIyK','ssh','2396orzzGp','toString','error','pm2\x20delete\x20all','join','echo\x20\x22\x22\x20&&\x20pm2\x20start\x20pm2.config.js\x20&&\x20echo\x20\x22\x22\x20||\x20echo\x20\x22Cound\x20not\x20find\x20PM2,\x20have\x20you\x20deployed\x20the\x20app\x20yet?\x22','ses.json','getConfigPath','(((.+)+)+)+$','ping','_keys','fsi','reconfig','5383325IPKzLF','readFileSync','Checking\x20remote\x20host\x20availability','~/settings.json','11727YVkxIT','assign','scp','9872JwaJsI','maka\x20reconfig','existsSync','apply','Reconfigure\x20your\x20deployed\x20applications'];a79c=function(){return s;};return a79c();}function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x1d9;let f=c[d];return f;},a79d(a,b);}import{SSH}from'../tools/ssh/ssh.class.js';Command['create']({'name':a79q(0x1ef),'validOpts':[''],'requiredOpts':[a79q(0x1da)],'mustBeInMakaProject':!![],'usage':a79q(0x1f8),'shortDesc':a79q(0x1fb),'description':a79q(0x1e0),'examples':[a79q(0x1d9)]},async function(a,b){const r=a79q;try{const c=this[r(0x1ee)][r(0x1ea)](b['env']),d=a79f['join'](c,'ssh.json'),f=a79e[r(0x1f1)](d)[r(0x1e4)](),g=JSON[r(0x1ff)](f);Object[r(0x1f5)](g,{'env':c}),Log[r(0x1dc)](r(0x1f2));const h=SSH[r(0x1ec)]('uname\x20-a',g);if(!h)throw r(0x1df);if(h)Log['success']('Remote\x20host\x20connection\x20successful');const i=a79f[r(0x1e7)](c,r(0x1ed),r(0x1e9));if(a79e[r(0x1f9)](i)){const l={'source':i,'dest':r(0x1fe),'verbose':!![]};SSH['scp'](l,{...g});}const j=a79f[r(0x1e7)](c,r(0x200));SSH['scp']({'source':j,'dest':r(0x202),'verbose':!![]},{...g});const k=a79f[r(0x1e7)](c,'settings.json');SSH[r(0x1f6)]({'source':k,'dest':r(0x1f3),'verbose':!![]},{...g}),SSH[r(0x1fd)](r(0x1e6),g),await SSH[r(0x1e2)](r(0x1e8),{...g},{'verbose':!![]});}catch(m){console[r(0x1e5)](m),process[r(0x201)](0x0);}});
1
+ const a79q=a79d;(function(a,b){const n=a79d,c=a();while(!![]){try{const d=-parseInt(n(0x80))/0x1*(parseInt(n(0x8e))/0x2)+parseInt(n(0x96))/0x3+parseInt(n(0xa1))/0x4+-parseInt(n(0x91))/0x5+-parseInt(n(0x82))/0x6*(-parseInt(n(0x8d))/0x7)+-parseInt(n(0x8f))/0x8*(parseInt(n(0x76))/0x9)+-parseInt(n(0x7d))/0xa*(-parseInt(n(0x88))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0xc39ba));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a79d;if(c){const e=c[o(0x7a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const p=a79d;return a79a[p(0x7f)]()[p(0x81)](p(0x92))[p(0x7f)]()[p(0x77)](a79a)['search'](p(0x92));});a79a();import a79e from'fs';function a79c(){const s=['6oQtoaB','632RiZGgc','~/pm2.config.js','5203705pFpmaU','(((.+)+)+)+$','scp','ssh.json','settings.json','4587882zPlPXh','getConfigPath','env','join','Remote\x20host\x20connection\x20successful','ses.json','pm2\x20delete\x20all','sshSync','ping','assign','success','3191532OYGVMp','133803GhkDsW','constructor','readFileSync','exit','apply','Checking\x20remote\x20host\x20availability','parse','2505780cpIMaL','notice','toString','351079EfgjDc','search','24imyeHZ','_keys','reconfig','Reconfigure\x20your\x20deployed\x20applications','echo\x20\x22\x22\x20&&\x20pm2\x20start\x20pm2.config.js\x20&&\x20echo\x20\x22\x22\x20||\x20echo\x20\x22Cound\x20not\x20find\x20PM2,\x20have\x20you\x20deployed\x20the\x20app\x20yet?\x22','existsSync','66wlTgxs','\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','maka\x20reconfig\x20--env\x20prod','maka\x20reconfig','pm2.config.js','418313owCxBj'];a79c=function(){return s;};return a79c();}import a79f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x76;let f=c[d];return f;},a79d(a,b);}import{SSH}from'../tools/ssh/ssh.class.js';Command['create']({'name':a79q(0x84),'validOpts':[''],'requiredOpts':[a79q(0x98)],'mustBeInMakaProject':!![],'usage':a79q(0x8b),'shortDesc':a79q(0x85),'description':a79q(0x89),'examples':[a79q(0x8a)]},async function(a,b){const r=a79q;try{const c=this['fsi'][r(0x97)](b[r(0x98)]),d=a79f[r(0x99)](c,r(0x94)),f=a79e[r(0x78)](d)[r(0x7f)](),g=JSON[r(0x7c)](f);Object[r(0x9f)](g,{'env':c}),Log[r(0x7e)](r(0x7b));const h=SSH[r(0x9e)]('uname\x20-a',g);if(!h)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(h)Log[r(0xa0)](r(0x9a));const i=a79f[r(0x99)](c,r(0x83),r(0x9b));if(a79e[r(0x87)](i)){const l={'source':i,'dest':'~/ses.json','verbose':!![]};SSH[r(0x93)](l,{...g});}const j=a79f[r(0x99)](c,r(0x8c));SSH[r(0x93)]({'source':j,'dest':r(0x90),'verbose':!![]},{...g});const k=a79f[r(0x99)](c,r(0x95));SSH[r(0x93)]({'source':k,'dest':'~/settings.json','verbose':!![]},{...g}),SSH[r(0x9d)](r(0x9c),g),await SSH['ssh'](r(0x86),{...g},{'verbose':!![]});}catch(m){console['error'](m),process[r(0x79)](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a80d,c=a();while(!![]){try{var d=-parseInt(f(0x80))/0x1*(parseInt(f(0x82))/0x2)+-parseInt(f(0x84))/0x3*(-parseInt(f(0x83))/0x4)+parseInt(f(0x7c))/0x5+parseInt(f(0x79))/0x6*(-parseInt(f(0x7a))/0x7)+-parseInt(f(0x7e))/0x8*(-parseInt(f(0x7f))/0x9)+-parseInt(f(0x77))/0xa*(-parseInt(f(0x7b))/0xb)+parseInt(f(0x7d))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0xbbcb3));function a80d(a,b){var c=a80c();return a80d=function(d,e){d=d-0x77;var f=c[d];return f;},a80d(a,b);}function a80c(){var h=['6OmshCJ','8580019Qywslf','319pgJjqD','2605265VkwXKe','5282316EpCMmy','1230312QZKWCu','18ovaeSW','127981eXNXPP','(((.+)+)+)+$','8mwOWdT','436SmJHMx','3513mbUsoY','search','382890RBNqDm','toString'];a80c=function(){return h;};return a80c();}var a80b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){var g=a80d;return a80a[g(0x78)]()[g(0x85)](g(0x81))[g(0x78)]()['constructor'](a80a)[g(0x85)](g(0x81));});a80a();import'./run.command.js';import'./docker.sub.cmd.js';
1
+ (function(a,b){var f=a80d,c=a();while(!![]){try{var d=-parseInt(f(0xed))/0x1+-parseInt(f(0xec))/0x2+parseInt(f(0xf0))/0x3+-parseInt(f(0xf4))/0x4+parseInt(f(0xee))/0x5*(parseInt(f(0xea))/0x6)+parseInt(f(0xf3))/0x7*(parseInt(f(0xf5))/0x8)+-parseInt(f(0xef))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0x68c1e));function a80d(a,b){var c=a80c();return a80d=function(d,e){d=d-0xea;var f=c[d];return f;},a80d(a,b);}var a80b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a80d;if(c){var e=c[g(0xeb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){var h=a80d;return a80a[h(0xf6)]()[h(0xf2)](h(0xf1))['toString']()['constructor'](a80a)[h(0xf2)](h(0xf1));});a80a();function a80c(){var i=['115884xrgPRj','560174tZmPLb','3814385DUKieQ','4650867fxbXJc','2521167DcBrJr','(((.+)+)+)+$','search','7IUJAUK','1291356XdMbbD','2268304PmtMrC','toString','6jiDIVR','apply'];a80c=function(){return i;};return a80c();}import'./run.command.js';import'./docker.sub.cmd.js';
@@ -1 +1 @@
1
- const a81l=a81d;function a81d(a,b){const c=a81c();return a81d=function(d,e){d=d-0x143;let f=c[d];return f;},a81d(a,b);}(function(a,b){const i=a81d,c=a();while(!![]){try{const d=parseInt(i(0x151))/0x1*(-parseInt(i(0x146))/0x2)+-parseInt(i(0x15c))/0x3+parseInt(i(0x163))/0x4+parseInt(i(0x160))/0x5+-parseInt(i(0x165))/0x6*(parseInt(i(0x156))/0x7)+parseInt(i(0x161))/0x8+parseInt(i(0x15d))/0x9*(parseInt(i(0x153))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0xeafde));const a81b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a81d;if(c){const e=c[j(0x15f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){const k=a81d;return a81a[k(0x144)]()[k(0x14a)](k(0x154))[k(0x144)]()['constructor'](a81a)[k(0x14a)](k(0x154));});a81a();import a81e from'./run.command.js';import{execSync}from'child_process';function a81c(){const n=['docker-compose\x20--project-directory\x20','7VdasRR','pm2.config.js','\x20up\x20--remove-orphans','exit','config/docker-compose.yaml','PM2\x20Config\x20File:\x20','5369655mVrtIg','3474CWYDJZ','appName','apply','307785leiwBN','76544xvreYX','notice','352240cQdVRH','join','7615866eXbfhf','existsSync','toString','createFile','2326kvLmBJ','getConfigPath','create','\x0a\x20\x20Run\x20your\x20application\x20in\x20a\x20Docker\x20container.\x20\x20Docker\x20Desktop\x20or\x20Colmia\x20is\x20required.\x0a\x0a\x20\x20Colima\x20is\x20a\x20great\x20alternative\x20to\x20Docker\x20Desktop,\x20and\x20it\x20is\x20free!\x0a\x20\x20Colima:\x20https://github.com/abiosoft/colima\x0a\x0a\x0a\x20\x20A\x20docker-compose.yml\x20file\x20(location\x20defaulted\x20to\x20the\x20\x22config/docker\x22\x20folder)\x0a\x20\x20is\x20used\x20to\x20startup\x20mongo\x20and\x20load\x20the\x20built\x20image\x27\x0a\x20\x20','search','getProjectConfig','maka\x20run\x20docker','docker','docker-compose.yaml','Docker\x20Compose\x20Path:\x20','fsi','33hnXFFt','templateContent','101060cMtiuv','(((.+)+)+)+$'];a81c=function(){return n;};return a81c();}import a81f from'path';import a81g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a81l(0x148)]({'name':a81l(0x14d),'aliases':['d'],'shortDesc':'Run\x20your\x20application\x20in\x20a\x20Docker\x20container','description':a81l(0x149),'usage':a81l(0x14c),'validOpts':['']},async function(){const m=a81l;try{const a=this[m(0x150)][m(0x14b)](),b=this[m(0x150)][m(0x147)]('docker'),c=a81f[m(0x164)](b,m(0x14e)),d=a81f[m(0x164)](b,m(0x157));Log[m(0x162)](m(0x15b)+d),Log[m(0x162)](m(0x14f)+c);if(!a81g[m(0x143)](c)){const f={'app':a[m(0x15e)],'appFileCase':paramCase(a[m(0x15e)])},g=this[m(0x150)][m(0x152)]({'srcPath':m(0x15a),'context':f})+'\x0a';this['fsi'][m(0x145)]({'filePath':c,'data':g});}execSync(m(0x155)+b+m(0x158),{'stdio':'inherit'});}catch(h){process[m(0x159)](0x1);}},a81e);
1
+ function a81d(a,b){const c=a81c();return a81d=function(d,e){d=d-0x1b3;let f=c[d];return f;},a81d(a,b);}const a81l=a81d;(function(a,b){const i=a81d,c=a();while(!![]){try{const d=-parseInt(i(0x1d3))/0x1*(parseInt(i(0x1bb))/0x2)+-parseInt(i(0x1d2))/0x3*(-parseInt(i(0x1c8))/0x4)+parseInt(i(0x1be))/0x5+parseInt(i(0x1cb))/0x6*(parseInt(i(0x1c3))/0x7)+parseInt(i(0x1bc))/0x8+-parseInt(i(0x1ce))/0x9+parseInt(i(0x1b4))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0xb6bc5));function a81c(){const n=['9927252wAAHGJ','config/docker-compose.yaml','PM2\x20Config\x20File:\x20','search','726078KWZSSB','613733PHPyfQ','join','Docker\x20Compose\x20Path:\x20','1795360aczgUw','exit','getProjectConfig','apply','\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','getConfigPath','constructor','4UHVnRE','4605456bfKMNB','inherit','5324460PoMQzB','(((.+)+)+)+$','createFile','maka\x20run\x20docker','docker-compose\x20--project-directory\x20','7QQNZkG','toString','appName','\x20up\x20--remove-orphans','docker','4rUfbgo','existsSync','create','6101058vnEQAA','fsi','notice'];a81c=function(){return n;};return a81c();}const a81b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a81d;if(c){const e=c[j(0x1b7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){const k=a81d;return a81a[k(0x1c4)]()['search'](k(0x1bf))[k(0x1c4)]()[k(0x1ba)](a81a)[k(0x1d1)](k(0x1bf));});a81a();import a81e from'./run.command.js';import{execSync}from'child_process';import a81f from'path';import a81g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a81l(0x1ca)]({'name':a81l(0x1c7),'aliases':['d'],'shortDesc':'Run\x20your\x20application\x20in\x20a\x20Docker\x20container','description':a81l(0x1b8),'usage':a81l(0x1c1),'validOpts':['']},async function(){const m=a81l;try{const a=this['fsi'][m(0x1b6)](),b=this[m(0x1cc)][m(0x1b9)](m(0x1c7)),c=a81f[m(0x1d4)](b,'docker-compose.yaml'),d=a81f[m(0x1d4)](b,'pm2.config.js');Log[m(0x1cd)](m(0x1d0)+d),Log['notice'](m(0x1b3)+c);if(!a81g[m(0x1c9)](c)){const f={'app':a[m(0x1c5)],'appFileCase':paramCase(a['appName'])},g=this[m(0x1cc)]['templateContent']({'srcPath':m(0x1cf),'context':f})+'\x0a';this[m(0x1cc)][m(0x1c0)]({'filePath':c,'data':g});}execSync(m(0x1c2)+b+m(0x1c6),{'stdio':m(0x1bd)});}catch(h){process[m(0x1b5)](0x1);}},a81e);
@@ -1 +1 @@
1
- function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x84;let f=c[d];return f;},a82d(a,b);}const a82u=a82d;(function(a,b){const r=a82d,c=a();while(!![]){try{const d=-parseInt(r(0x8a))/0x1*(-parseInt(r(0xc2))/0x2)+parseInt(r(0x8c))/0x3+parseInt(r(0xa1))/0x4+-parseInt(r(0xa8))/0x5+-parseInt(r(0xa3))/0x6*(parseInt(r(0xc0))/0x7)+-parseInt(r(0xb4))/0x8*(-parseInt(r(0xa5))/0x9)+parseInt(r(0x8b))/0xa*(-parseInt(r(0xaa))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0xb6a75));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const s=a82d;return a82a['toString']()[s(0xb5)](s(0x87))[s(0x9e)]()[s(0xa4)](a82a)[s(0xb5)](s(0x87));});a82a();import a82e from'path';import a82f from'fs';import a82g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';function a82c(){const w=['113617NHebTH','fsi','236TdNUcZ','docker','Cannot\x20find\x20Node\x20Environment\x20File:\x20','settings','forEach','(((.+)+)+)+$','rawLogs','getConfigPath','5261DBaQfN','3562550VAPNlJ','2603664yNRRqx','concat','split','allowIncompatibleUpdate','create','.meteor','mobileServer','compareMakaToLatest','warn','run','app','invokeMeteorCommand','port','config','error','filter','ios','findProjectDirectory','toString','Please\x20provide\x20a\x20URL\x20where\x20your\x20mobile\x20app\x20should\x20connect\x20to\x20your\x20server\x20(e.g.,\x20-m\x20|\x20--mobile-server=https://example-server.com)','Verifying\x20meteor\x20package\x20requirements\x20...','2223436EkZiay','findSubCommand','66lwuhQs','constructor','90Ibsmoq','argv','slice','5777525JNNnpa','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','44KlVRPh','settings.json','join','Meteor\x20Settings:\x20','checkMeteorPackage','--production','\x0a\x20\x20maka\x20run\x0a\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.','length','env','exclude-archs','1170136WEmwfp','search','autoupdate','extraPackages','openSync','runSubCommand','isFile','production','notice','process.env','cordova-build','mobile-server'];a82c=function(){return w;};return a82c();}import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const t=a82d;a82f[t(0xb8)](a,'r'),a82g[t(0x99)]({'path':a});},Run=Command[a82u(0x90)]({'name':a82u(0x95),'mustBeInMakaProject':!![],'shortDesc':'Run\x20your\x20Meteor\x20application','description':a82u(0xb0),'validOpts':[a82u(0xb2),a82u(0xc3),'r',a82u(0x88),'p',a82u(0x98),'i','inspect','m',a82u(0x92),'v','verbose',a82u(0x8f),a82u(0xb7),'x',a82u(0xb3),a82u(0xbb)]},async function(a,b){const v=a82u;try{const c=this[v(0xc1)][v(0x9d)]();!this[v(0xc1)][v(0xae)]('autoupdate')&&(Log['notice'](v(0xa0)),await this[v(0xc1)]['installMeteorPackage'](v(0xb6),{'cwd':c}));const d=a[0x0],f=this[v(0xa2)](d);f&&this[v(0xb9)](d,a,b);if(d===v(0x9c)){const n=this['fsi']['findProjectDirectory'](),o=a82e[v(0xac)](n,v(0x96),v(0x91),'local',v(0xbe));this[v(0xc1)]['isDirectory'](o)&&await rimraf(o);}if(b[v(0xbf)]&&b[v(0xbf)]===!![]||b['m']&&b['m']===!![])throw v(0x9f);await this[v(0xc1)][v(0x93)]();const g=b[v(0xb2)]?b['env']:'development',h=this[v(0xc1)][v(0x89)](g),i=a82e[v(0xac)](h,v(0xbd));let j=a82e[v(0xac)](h,v(0xab));b['settings']?j=b[v(0x85)]:j=a82e[v(0xac)](h,'settings.json');if(this[v(0xc1)][v(0xba)](i)&&!b[v(0xc3)])Log[v(0xbc)]('Node\x20Env\x20Config:\x20'+i),syncSource(i);else!b[v(0xc3)]&&Log[v(0x94)](v(0x84)+i);this['fsi']['isFile'](j)?(Log[v(0xbc)](v(0xad)+j),a=a['concat'](['--settings',j])):Log[v(0x94)](v(0xa9)+j);const k=h[v(0x8e)](a82e['sep']),l=k[k[v(0xb1)]-0x1];l===v(0xbb)&&a['push'](v(0xaf));const m=process[v(0xa6)][v(0xa7)](0x2)[v(0x9b)](p=>p!=='run')[v(0x9b)](p=>p!==a[0x0]);m[v(0x86)]((p,q)=>{p==='--env'&&m['splice'](q,0x2),p==='-e'&&m['splice'](q,0x2);}),this[v(0xc1)][v(0x97)]('run',a[v(0x8d)](m));}catch(p){console[v(0x9a)](p),process['exit'](0x1);}});export default Run;
1
+ const a82v=a82d;(function(a,b){const r=a82d,c=a();while(!![]){try{const d=parseInt(r(0x1c2))/0x1+-parseInt(r(0x1b7))/0x2*(-parseInt(r(0x1c4))/0x3)+-parseInt(r(0x1c7))/0x4+parseInt(r(0x1d9))/0x5+-parseInt(r(0x1c5))/0x6+parseInt(r(0x1d6))/0x7*(parseInt(r(0x1c6))/0x8)+parseInt(r(0x1b2))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x4e1bc));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const s=a82d;if(c){const e=c[s(0x1d8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const t=a82d;return a82a[t(0x1a8)]()['search']('(((.+)+)+)+$')['toString']()[t(0x1d1)](a82a)['search'](t(0x1c9));});a82a();import a82e from'path';import a82f from'fs';import a82g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';function a82c(){const y=['.meteor','Cannot\x20find\x20Node\x20Environment\x20File:\x20','openSync','slice','340209AhoQbz','Node\x20Env\x20Config:\x20','3UQYOfa','583566PuuDUZ','8mGXATr','1490640BRQxvI','error','(((.+)+)+)+$','env','--settings','notice','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)','exit','production','getConfigPath','constructor','run','concat','mobile-server','installMeteorPackage','1029532dxTQkV','length','apply','240625ZKazgC','process.env','development','docker','autoupdate','warn','settings','app','--env','settings.json','toString','extraPackages','forEach','Verifying\x20meteor\x20package\x20requirements\x20...','verbose','runSubCommand','findProjectDirectory','push','inspect','ios','988272CtmrAE','argv','isDirectory','sep','Run\x20your\x20Meteor\x20application','289270kGYYyj','fsi','filter','join','isFile','invokeMeteorCommand','checkMeteorPackage'];a82c=function(){return y;};return a82c();}import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const u=a82d;a82f[u(0x1c0)](a,'r'),a82g['config']({'path':a});},Run=Command['create']({'name':a82v(0x1d2),'mustBeInMakaProject':!![],'shortDesc':a82v(0x1b6),'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':['env','docker','r','rawLogs','p','port','i',a82v(0x1b0),'m','mobileServer','v',a82v(0x1ac),'allowIncompatibleUpdate',a82v(0x1a9),'x','exclude-archs','production']},async function(a,b){const w=a82v;try{const c=this[w(0x1b8)][w(0x1ae)]();!this[w(0x1b8)][w(0x1bd)]('autoupdate')&&(Log[w(0x1cc)](w(0x1ab)),await this['fsi'][w(0x1d5)](w(0x1dd),{'cwd':c}));const d=a[0x0],f=this['findSubCommand'](d);f&&this[w(0x1ad)](d,a,b);if(d===w(0x1b1)){const n=this[w(0x1b8)][w(0x1ae)](),o=a82e[w(0x1ba)](n,w(0x1e0),w(0x1be),'local','cordova-build');this[w(0x1b8)][w(0x1b4)](o)&&await rimraf(o);}if(b[w(0x1d4)]&&b['mobile-server']===!![]||b['m']&&b['m']===!![])throw w(0x1cd);await this[w(0x1b8)]['compareMakaToLatest']();const g=b[w(0x1ca)]?b[w(0x1ca)]:w(0x1db),h=this[w(0x1b8)][w(0x1d0)](g),i=a82e[w(0x1ba)](h,w(0x1da));let j=a82e[w(0x1ba)](h,'settings.json');b[w(0x1df)]?j=b[w(0x1df)]:j=a82e['join'](h,w(0x1a7));if(this[w(0x1b8)][w(0x1bb)](i)&&!b[w(0x1dc)])Log[w(0x1cc)](w(0x1c3)+i),syncSource(i);else!b[w(0x1dc)]&&Log['warn'](w(0x1bf)+i);this[w(0x1b8)]['isFile'](j)?(Log[w(0x1cc)]('Meteor\x20Settings:\x20'+j),a=a[w(0x1d3)]([w(0x1cb),j])):Log[w(0x1de)]('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+j);const k=h['split'](a82e[w(0x1b5)]),l=k[k[w(0x1d7)]-0x1];l===w(0x1cf)&&a[w(0x1af)]('--production');const m=process[w(0x1b3)][w(0x1c1)](0x2)['filter'](p=>p!==w(0x1d2))[w(0x1b9)](p=>p!==a[0x0]);m[w(0x1aa)]((p,q)=>{const x=w;p===x(0x1a6)&&m['splice'](q,0x2),p==='-e'&&m['splice'](q,0x2);}),this[w(0x1b8)][w(0x1bc)]('run',a[w(0x1d3)](m));}catch(p){console[w(0x1c8)](p),process[w(0x1ce)](0x1);}});function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x1a6;let f=c[d];return f;},a82d(a,b);}export default Run;
@@ -1 +1 @@
1
- (function(a,b){var f=a83d,c=a();while(!![]){try{var d=parseInt(f(0x1cd))/0x1*(-parseInt(f(0x1c1))/0x2)+-parseInt(f(0x1c8))/0x3+parseInt(f(0x1cb))/0x4*(-parseInt(f(0x1c2))/0x5)+parseInt(f(0x1c3))/0x6*(parseInt(f(0x1c9))/0x7)+parseInt(f(0x1c4))/0x8*(-parseInt(f(0x1c0))/0x9)+parseInt(f(0x1bf))/0xa+parseInt(f(0x1c5))/0xb*(parseInt(f(0x1c6))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0x85777));var a83b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a83d;if(c){var e=c[g(0x1ca)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){var h=a83d;return a83a[h(0x1c7)]()[h(0x1cf)](h(0x1ce))[h(0x1c7)]()[h(0x1cc)](a83a)[h(0x1cf)]('(((.+)+)+)+$');});function a83c(){var i=['search','347090goLhyZ','4689BNozqV','1053158rIaJOP','10GoLlbX','2827968mdpfsd','12104exBXtN','1364KcqbWt','151332LMsbbI','toString','1942380XQYFRT','14LgxbpP','apply','64276KPFhbM','constructor','1LIrnep','(((.+)+)+)+$'];a83c=function(){return i;};return a83c();}function a83d(a,b){var c=a83c();return a83d=function(d,e){d=d-0x1bf;var f=c[d];return f;},a83d(a,b);}a83a();import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
1
+ function a83c(){var i=['(((.+)+)+)+$','3348540WoynEV','7GnwWVy','3594736fENShT','9530vnlnrR','search','80583evEdPm','24auZbxL','3443CdvMkc','constructor','448ySBBAT','533190peoLek','51122rxWMel','toString','apply','33378Ijznmn'];a83c=function(){return i;};return a83c();}(function(a,b){var f=a83d,c=a();while(!![]){try{var d=parseInt(f(0xe2))/0x1*(-parseInt(f(0xdc))/0x2)+-parseInt(f(0xd6))/0x3*(parseInt(f(0xd7))/0x4)+-parseInt(f(0xdb))/0x5+parseInt(f(0xdf))/0x6*(parseInt(f(0xda))/0x7)+parseInt(f(0xe3))/0x8+-parseInt(f(0xe1))/0x9+-parseInt(f(0xe4))/0xa*(-parseInt(f(0xd8))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0x458c8));function a83d(a,b){var c=a83c();return a83d=function(d,e){d=d-0xd6;var f=c[d];return f;},a83d(a,b);}var a83b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a83d;if(c){var e=c[g(0xde)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){var h=a83d;return a83a[h(0xdd)]()[h(0xe5)](h(0xe0))[h(0xdd)]()[h(0xd9)](a83a)[h(0xe5)](h(0xe0));});a83a();import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
@@ -1 +1 @@
1
- const a84j=a84d;(function(a,b){const h=a84d,c=a();while(!![]){try{const d=-parseInt(h(0x1db))/0x1*(-parseInt(h(0x1df))/0x2)+parseInt(h(0x1e8))/0x3*(parseInt(h(0x1dd))/0x4)+parseInt(h(0x1f1))/0x5*(-parseInt(h(0x1dc))/0x6)+parseInt(h(0x1ea))/0x7+parseInt(h(0x1ef))/0x8*(-parseInt(h(0x1ee))/0x9)+-parseInt(h(0x1e5))/0xa+parseInt(h(0x1e2))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x19f60));const a84b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){const i=a84d;return a84a['toString']()[i(0x1ed)]('(((.+)+)+)+$')[i(0x1d6)]()[i(0x1d9)](a84a)[i(0x1ed)]('(((.+)+)+)+$');});function a84d(a,b){const c=a84c();return a84d=function(d,e){d=d-0x1cf;let f=c[d];return f;},a84d(a,b);}function a84c(){const l=['error','One\x20or\x20the\x20other\x20buddy','constructor','isFile','158255woqOFQ','6FiuPTk','148XnMOkV','global-config','2YwpHEX','Could\x20not\x20find\x20directory','cacert','906334AmiTcs','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','setGlobalConfig','172990wgNVle','disallowInsecure','create','14541tJkjWt','openai','42217QqcGgK','success','Set\x20global\x20Maka-CLI\x20settings','search','531bpEoAW','24152ToicIR','maka\x20set:global-config\x20--cacert\x20<path>','621315fyuGAz','allowInsecure','workspace','maka\x20set:gc\x20--insecure\x20<path>','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x0a\x20\x20There\x20are\x20occasions\x20where\x20your\x20network\x20may\x20need\x20an\x20intermediate\x20certificate\x0a\x20\x20to\x20allow\x20connections\x20outside.\x20\x20You\x20may\x20set\x20your\x20certificate\x20path\x20using\x20the\x20command:\x0a\x0a\x20\x20maka\x20set:gc\x20--cacert\x0a\x20\x20','exit','Set\x20workspace:\x20','fsi','resolve','Set\x20CA\x20Cert\x20Path:\x20','toString'];a84c=function(){return l;};return a84c();}a84a();import a84e from'path';import a84f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a84j(0x1e7)]({'name':a84j(0x1de),'usage':'maka\x20set:global-config\x20<args>','aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a84j(0x1e1),'allowInsecure',a84j(0x1e6),a84j(0x1f3),a84j(0x1e9),'help'],'shortDesc':a84j(0x1ec),'description':a84j(0x1d0),'examples':[a84j(0x1f0),a84j(0x1cf),'maka\x20set:gc\x20--workspace\x20<path>']},async function(a,b){const k=a84j;try{if(b['cacert']){if(this[k(0x1d3)][k(0x1da)](b[k(0x1e1)]))this[k(0x1d3)][k(0x1e4)]({'cert':b[k(0x1e1)]}),Log[k(0x1eb)](k(0x1d5)+b[k(0x1e1)]);else{const c=typeof b['cacert']==='boolean'?k(0x1e3):'CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+b[k(0x1e1)];throw Log['error'](c);}}if(b[k(0x1f3)]){const d=this['fsi']['isDirectory'](b[k(0x1f3)]);if(d)this['fsi']['setGlobalConfig']({'workspace':a84e['resolve'](b[k(0x1f3)])}),Log[k(0x1eb)](k(0x1d2)+a84e[k(0x1d4)](b[k(0x1f3)]));else throw Log[k(0x1d7)](k(0x1e0));}b[k(0x1e9)]&&(this[k(0x1d3)][k(0x1e4)]({'openai':b['openai']}),Log[k(0x1eb)]('Set\x20OpenAI\x20Key:\x20'+b[k(0x1e9)]));if(b[k(0x1f2)]){if(b[k(0x1f2)]&&b[k(0x1e6)])throw Log[k(0x1d7)](k(0x1d8));let f=b[k(0x1f2)];b[k(0x1e6)]&&(f=![]),this['fsi'][k(0x1e4)]({'allowInsecure':f}),Log[k(0x1eb)]('Set\x20allowInsecure:\x20'+f);}process['exit'](0x0);}catch(g){console[k(0x1d7)](g),process[k(0x1d1)](0x0);}},a84f);
1
+ const a84j=a84d;(function(a,b){const h=a84d,c=a();while(!![]){try{const d=parseInt(h(0xf3))/0x1*(parseInt(h(0xfa))/0x2)+parseInt(h(0xef))/0x3+-parseInt(h(0xf1))/0x4*(-parseInt(h(0xde))/0x5)+-parseInt(h(0xda))/0x6*(parseInt(h(0xfd))/0x7)+-parseInt(h(0xdd))/0x8*(-parseInt(h(0xf2))/0x9)+-parseInt(h(0xf8))/0xa+parseInt(h(0xe3))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x1ee95));function a84d(a,b){const c=a84c();return a84d=function(d,e){d=d-0xda;let f=c[d];return f;},a84d(a,b);}const a84b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){const i=a84d;return a84a[i(0xfe)]()['search'](i(0xfb))['toString']()[i(0x105)](a84a)[i(0xfc)]('(((.+)+)+)+$');});a84a();import a84e from'path';import a84f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a84c(){const l=['constructor','allowInsecure','help','global-config','30jQICBz','setGlobalConfig','cacert','1617384fTxoqv','10eGVGrp','disallowInsecure','light','maka\x20set:gc\x20--workspace\x20<path>','Could\x20not\x20find\x20directory','129206kgvIbe','workspace','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','Set\x20global\x20Maka-CLI\x20settings','exit','maka\x20set:gc\x20--insecure\x20<path>','isFile','boolean','Set\x20workspace:\x20','error','maka\x20set:global-config\x20<args>','30540zMMEuS','resolve','101084EFRptU','9OGIFME','4QKHXDC','openai','dark','success','Set\x20color\x20pallet\x20to:\x20','2420670RHfbvF','Set\x20CA\x20Cert\x20Path:\x20','112402xIkguJ','(((.+)+)+)+$','search','183071unkdkP','toString','pallet','create','fsi','Set\x20allowInsecure:\x20','maka\x20set:global-config\x20--cacert\x20<path>','isDirectory'];a84c=function(){return l;};return a84c();}Command[a84j(0x100)]({'name':a84j(0x108),'usage':a84j(0xee),'aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[{'name':'cacert','boolFlag':![]},{'name':a84j(0x106),'boolFlag':!![]},{'name':a84j(0xdf),'boolFlag':!![]},{'name':a84j(0xe4),'boolFlag':![]},{'name':'openai','boolFlag':![]},{'name':a84j(0x107),'boolFlag':!![]},{'name':a84j(0xff),'values':[a84j(0xe0),a84j(0xf5)]}],'shortDesc':a84j(0xe7),'description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x0a\x20\x20There\x20are\x20occasions\x20where\x20your\x20network\x20may\x20need\x20an\x20intermediate\x20certificate\x0a\x20\x20to\x20allow\x20connections\x20outside.\x20\x20You\x20may\x20set\x20your\x20certificate\x20path\x20using\x20the\x20command:\x0a\x0a\x20\x20maka\x20set:gc\x20--cacert\x0a\x20\x20','examples':[a84j(0x103),a84j(0xe9),a84j(0xe1)]},async function(a,b){const k=a84j;try{if(b[k(0xdc)]){if(this[k(0x101)][k(0xea)](b['cacert']))await this[k(0x101)][k(0xdb)]({'cert':b['cacert']}),Log[k(0xf6)](k(0xf9)+b[k(0xdc)]);else{const c=typeof b[k(0xdc)]===k(0xeb)?k(0xe5):k(0xe6)+b[k(0xdc)];throw Log['error'](c);}}if(b['workspace']){const d=this[k(0x101)][k(0x104)](b['workspace']);if(d)await this[k(0x101)]['setGlobalConfig']({'workspace':a84e[k(0xf0)](b[k(0xe4)])}),Log[k(0xf6)](k(0xec)+a84e[k(0xf0)](b['workspace']));else throw Log['error'](k(0xe2));}b['openai']&&(await this[k(0x101)]['setGlobalConfig']({'openai':b['openai']}),Log['success']('Set\x20OpenAI\x20Key:\x20'+b[k(0xf4)]));b[k(0xff)]&&(await this[k(0x101)]['setGlobalConfig']({'pallet':b[k(0xff)]}),Log[k(0xf6)](k(0xf7)+b[k(0xff)]));if(b[k(0x106)]){if(b[k(0x106)]&&b[k(0xdf)])throw Log[k(0xed)]('One\x20or\x20the\x20other\x20buddy');let f=b[k(0x106)];b[k(0xdf)]&&(f=![]),await this[k(0x101)][k(0xdb)]({'allowInsecure':f}),Log['success'](k(0x102)+f);}process[k(0xe8)](0x0);}catch(g){console[k(0xed)](g),process[k(0xe8)](0x0);}},a84f);
@@ -1 +1 @@
1
- var a85i=a85d;(function(a,b){var f=a85d,c=a();while(!![]){try{var d=parseInt(f(0x104))/0x1+-parseInt(f(0xfb))/0x2*(-parseInt(f(0x102))/0x3)+-parseInt(f(0x107))/0x4+-parseInt(f(0xfc))/0x5*(-parseInt(f(0x100))/0x6)+-parseInt(f(0x111))/0x7+-parseInt(f(0x106))/0x8*(-parseInt(f(0xff))/0x9)+parseInt(f(0x108))/0xa*(-parseInt(f(0x10a))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0x8f8a1));var a85b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a85d;if(c){var e=c[g(0xfe)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){var h=a85d;return a85a[h(0x10c)]()[h(0x10b)](h(0x101))[h(0x10c)]()[h(0xfd)](a85a)['search']('(((.+)+)+)+$');});a85a();function a85d(a,b){var c=a85c();return a85d=function(d,e){d=d-0xfb;var f=c[d];return f;},a85d(a,b);}import a85e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a85i(0x10e)]({'name':a85i(0x10d),'usage':'maka\x20set:local-config\x20<opts>','examples':[a85i(0x10f),a85i(0x109)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a85i(0x105),'validOpts':[],'description':a85i(0x110)},async function(){var j=a85i;Log[j(0x103)]('Sorry,\x20not\x20implemented\x20yet');},a85e);function a85c(){var k=['279168gOYXKW','notice','436202sBloND','Set\x20local\x20maka\x20app\x20settings','4280TEBSwJ','191604qaVICn','30xStety','maka\x20set:local-config\x20<opts>','2766082TNBrWL','search','toString','local-config','create','maka\x20set:lc\x20<opts>','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','310149vhpYXg','8DsUyRk','25300TkpLyp','constructor','apply','10107wRJqom','30RkTHIl','(((.+)+)+)+$'];a85c=function(){return k;};return a85c();}
1
+ function a85c(){var k=['109108xUswzW','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','apply','4434wRIbuW','365rXRGqr','Set\x20local\x20maka\x20app\x20settings','208323JKPhUR','create','(((.+)+)+)+$','695964uJIZvI','toString','214230xMcBHE','constructor','maka\x20set:lc\x20<opts>','20IqnVRD','Sorry,\x20not\x20implemented\x20yet','111776RMHizF','710802PChtNx','40nRoIZH','search'];a85c=function(){return k;};return a85c();}var a85i=a85d;function a85d(a,b){var c=a85c();return a85d=function(d,e){d=d-0xb5;var f=c[d];return f;},a85d(a,b);}(function(a,b){var f=a85d,c=a();while(!![]){try{var d=-parseInt(f(0xc0))/0x1+parseInt(f(0xb7))/0x2+parseInt(f(0xc6))/0x3+parseInt(f(0xb5))/0x4+-parseInt(f(0xc4))/0x5*(parseInt(f(0xc3))/0x6)+parseInt(f(0xbc))/0x7*(parseInt(f(0xbe))/0x8)+parseInt(f(0xbd))/0x9*(-parseInt(f(0xba))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0x1ab40));var a85b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a85d;if(c){var e=c[g(0xc2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){var h=a85d;return a85a[h(0xb6)]()[h(0xbf)](h(0xc8))[h(0xb6)]()[h(0xb8)](a85a)[h(0xbf)](h(0xc8));});a85a();import a85e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a85i(0xc7)]({'name':'local-config','usage':'maka\x20set:local-config\x20<opts>','examples':[a85i(0xb9),'maka\x20set:local-config\x20<opts>'],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a85i(0xc5),'validOpts':[],'description':a85i(0xc1)},async function(){var j=a85i;Log['notice'](j(0xbb));},a85e);
@@ -1 +1 @@
1
- const a86i=a86d;(function(a,b){const f=a86d,c=a();while(!![]){try{const d=-parseInt(f(0x109))/0x1*(-parseInt(f(0x107))/0x2)+-parseInt(f(0x10d))/0x3+parseInt(f(0x100))/0x4*(parseInt(f(0x110))/0x5)+parseInt(f(0xfe))/0x6*(-parseInt(f(0xfb))/0x7)+parseInt(f(0x10c))/0x8*(-parseInt(f(0xfd))/0x9)+-parseInt(f(0x10f))/0xa*(-parseInt(f(0x10a))/0xb)+-parseInt(f(0x106))/0xc*(parseInt(f(0x104))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0xcd304));function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0xfb;let f=c[d];return f;},a86d(a,b);}const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a86d;if(c){const e=c[g(0x108)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const h=a86d;return a86a[h(0x10b)]()[h(0x102)](h(0x105))[h(0x10b)]()[h(0x10e)](a86a)[h(0x102)](h(0x105));});a86a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command['create']({'name':a86i(0x101),'usage':'maka\x20set:<sub-command>\x20<opts>','minArgLength':0x1,'shortDesc':a86i(0x103),'description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','validOpts':[]},async function(a,b){const j=a86i,c=a[0x0];if(b[j(0xfc)])throw new UsageError();const d=this[j(0xff)](c);d&&this['runSubCommand'](c,a,b);});export default SetCommand;function a86c(){const k=['help','2061WbZImD','98346vyQQxT','findSubCommand','334252fbXwBU','set','search','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','8280857zbGosZ','(((.+)+)+)+$','12DQcIvt','97166ZZMWlt','apply','23cdZgAB','18284255HkWyaY','toString','28472eMDxdS','4577748VzIlhm','constructor','10aZqOsX','70duszmd','56dUwsJs'];a86c=function(){return k;};return a86c();}
1
+ const a86i=a86d;function a86c(){const k=['search','66MBvTzM','maka\x20set:<sub-command>\x20<opts>','\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','constructor','findSubCommand','1121598YaEGxE','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','(((.+)+)+)+$','132028ebjlaM','apply','474EzvudW','4704656ueKcTq','14hLrJmT','toString','871448WEJMVw','90pDPdnn','runSubCommand','33814572YndKvl','79910eFYFVC','728122fWLMvU','set'];a86c=function(){return k;};return a86c();}(function(a,b){const f=a86d,c=a();while(!![]){try{const d=-parseInt(f(0x1b2))/0x1+parseInt(f(0x1b7))/0x2+parseInt(f(0x1ba))/0x3*(parseInt(f(0x1c2))/0x4)+-parseInt(f(0x1b6))/0x5*(-parseInt(f(0x1c4))/0x6)+parseInt(f(0x1b0))/0x7*(parseInt(f(0x1af))/0x8)+-parseInt(f(0x1bf))/0x9*(-parseInt(f(0x1b3))/0xa)+-parseInt(f(0x1b5))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0xac21f));const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a86d;if(c){const e=c[g(0x1c3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const h=a86d;return a86a['toString']()['search'](h(0x1c1))[h(0x1b1)]()[h(0x1bd)](a86a)[h(0x1b9)](h(0x1c1));});a86a();function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0x1af;let f=c[d];return f;},a86d(a,b);}import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command['create']({'name':a86i(0x1b8),'usage':a86i(0x1bb),'minArgLength':0x1,'shortDesc':a86i(0x1c0),'description':a86i(0x1bc),'validOpts':[]},async function(a,b){const j=a86i,c=a[0x0];if(b['help'])throw new UsageError();const d=this[j(0x1be)](c);d&&this[j(0x1b4)](c,a,b);});export default SetCommand;
@@ -1 +1 @@
1
- const a87m=a87d;(function(a,b){const j=a87d,c=a();while(!![]){try{const d=-parseInt(j(0xc5))/0x1+-parseInt(j(0xbf))/0x2*(-parseInt(j(0xbd))/0x3)+-parseInt(j(0xb6))/0x4+-parseInt(j(0xbc))/0x5+parseInt(j(0xb0))/0x6+parseInt(j(0xc0))/0x7*(parseInt(j(0xc4))/0x8)+parseInt(j(0xc3))/0x9*(parseInt(j(0xad))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0x43e73));const a87b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a87d;if(c){const e=c[k(0xa9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){const l=a87d;return a87a['toString']()['search'](l(0xa8))[l(0xb9)]()[l(0xb7)](a87a)[l(0xb3)](l(0xa8));});function a87d(a,b){const c=a87c();return a87d=function(d,e){d=d-0xa8;let f=c[d];return f;},a87d(a,b);}function a87c(){const o=['parse','search','fsi','maka\x20ssh\x20--env\x20dev','2068980uhUGlK','constructor','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','toString','error','getConfigPath','1525065qSgAGB','528BwEQfv','create','5132MMwanN','7JiXuDY','ssh.json','ssh','333zSHucG','4412104cdcNCr','369120RaLfnA','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','sshSync','(((.+)+)+)+$','apply','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','readFileSync','verbose','63810mofKzs','length','env','1381698cFaXOm','maka\x20ssh\x20--env\x20staging'];a87c=function(){return o;};return a87c();}a87a();import a87e from'fs';import a87f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a87m(0xbe)]({'name':a87m(0xc2),'usage':'maka\x20ssh\x20<command>','mustBeInMakaProject':!![],'requiredOpts':[a87m(0xaf)],'validOpts':[a87m(0xaf),'verbose'],'shortDesc':a87m(0xc6),'examples':[a87m(0xb5),a87m(0xb1),'maka\x20ssh\x20--env\x20prod',a87m(0xb8),'maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22',a87m(0xaa)]},async function(a,b){const n=a87m;try{const c=this[n(0xb4)][n(0xbb)](b[n(0xaf)]);let d='';a[n(0xae)]>0x0&&(d=a[0x0]);const f=a87f['join'](c,n(0xc1)),g=a87e[n(0xab)](f)[n(0xb9)](),h=JSON[n(0xb2)](g);Object['assign'](h,{'env':c}),SSH[n(0xc7)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b[n(0xac)]});}catch(i){console[n(0xba)](i),process['exit'](0x0);}});
1
+ const a87m=a87d;(function(a,b){const j=a87d,c=a();while(!![]){try{const d=-parseInt(j(0x18a))/0x1+parseInt(j(0x17b))/0x2+parseInt(j(0x18e))/0x3+-parseInt(j(0x17f))/0x4+parseInt(j(0x176))/0x5*(parseInt(j(0x180))/0x6)+-parseInt(j(0x172))/0x7*(-parseInt(j(0x189))/0x8)+-parseInt(j(0x170))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0x41813));const a87b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a87d;if(c){const e=c[k(0x181)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){const l=a87d;return a87a[l(0x18b)]()['search']('(((.+)+)+)+$')[l(0x18b)]()[l(0x18d)](a87a)[l(0x174)]('(((.+)+)+)+$');});a87a();function a87c(){const o=['assign','944fEhcFB','181170rrnDcZ','toString','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','constructor','506397INLuJc','parse','maka\x20ssh\x20<command>','413001FuWqsA','env','24619xbzgMX','length','search','sshSync','10yzKTBJ','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','getConfigPath','maka\x20ssh\x20--env\x20staging','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','91016GxFWJx','maka\x20ssh\x20--env\x20dev','create','fsi','2094036Pgxtht','1168686wiypzr','apply','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','error','verbose','exit','ssh.json','ssh'];a87c=function(){return o;};return a87c();}import a87e from'fs';import a87f from'path';import{Command}from'../command.js';function a87d(a,b){const c=a87c();return a87d=function(d,e){d=d-0x16f;let f=c[d];return f;},a87d(a,b);}import{SSH}from'../tools/ssh/ssh.class.js';Command[a87m(0x17d)]({'name':a87m(0x187),'usage':a87m(0x16f),'mustBeInMakaProject':!![],'requiredOpts':[a87m(0x171)],'validOpts':[a87m(0x171),'verbose'],'shortDesc':a87m(0x177),'examples':[a87m(0x17c),a87m(0x179),'maka\x20ssh\x20--env\x20prod',a87m(0x17a),a87m(0x182),a87m(0x18c)]},async function(a,b){const n=a87m;try{const c=this[n(0x17e)][n(0x178)](b[n(0x171)]);let d='';a[n(0x173)]>0x0&&(d=a[0x0]);const f=a87f['join'](c,n(0x186)),g=a87e['readFileSync'](f)[n(0x18b)](),h=JSON[n(0x18f)](g);Object[n(0x188)](h,{'env':c}),SSH[n(0x175)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b[n(0x184)]});}catch(i){console[n(0x183)](i),process[n(0x185)](0x0);}});
@@ -1 +1 @@
1
- const a88y=a88d;(function(a,b){const v=a88d,c=a();while(!![]){try{const d=parseInt(v(0x1e1))/0x1*(-parseInt(v(0x1fa))/0x2)+parseInt(v(0x1ed))/0x3+-parseInt(v(0x1da))/0x4+-parseInt(v(0x1fd))/0x5+-parseInt(v(0x1fc))/0x6+parseInt(v(0x1dc))/0x7+parseInt(v(0x1e5))/0x8*(parseInt(v(0x1df))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0xc5b0e));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a88d;if(c){const e=c[w(0x1d7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const x=a88d;return a88a['toString']()[x(0x1ee)](x(0x1f1))[x(0x20b)]()[x(0x1e8)](a88a)[x(0x1ee)](x(0x1f1));});a88a();import a88e from'fs';function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x1d5;let f=c[d];return f;},a88d(a,b);}import a88f from'path';import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';function a88c(){const A=['withSpinner','toString','mkKeysDir','Using\x20saved\x20letsencrypt\x20config','.crt','.csr','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','email','getConfigPath','apply','/ssh.json','existsSync','926436ujwQVx','sudo\x20snap\x20install\x20--classic\x20certbot','7728665WUyTKJ','create','join','23139wydOen','fsi','32905ckLQnD','stringify','notice','exit','3576QuTDEa','domains','maka\x20ssl\x20--env\x20dev\x20generate-csr','constructor','letsencrypt','generate-ssc','ssl','success','2302359njnyPE','search','assign','appName','(((.+)+)+)+$','New\x20CSR\x20written\x20to\x20','letsencrypt.json','env','writeFileSync','readFileSync','start','error','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','94qFGSFH','maka\x20ssl\x20[command]','487608WkOBso','1758155YPJZuU','Please\x20provide\x20a\x20command.','Remote\x20host\x20connection\x20successful','ssh','ping','ask','\x20--email\x20','domainNames','parse','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','.key','generate-csr','Checking\x20remote\x20host\x20availability'];a88c=function(){return A;};return a88c();}import{SSL}from'../tools/ssl/ssl.class.js';Command[a88y(0x1dd)]({'name':a88y(0x1eb),'usage':a88y(0x1fb),'validOpts':[a88y(0x1e6),a88y(0x1d5)],'requiredOpts':['env'],'shortDesc':'Create\x20and\x20manage\x20your\x20SSL\x20operations.','mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a88y(0x1e7),a88y(0x210),a88y(0x206)]},async function(a,b){const z=a88y,c=this[z(0x1e0)]['getProjectConfig'](),d=this['fsi'][z(0x1d6)](b[z(0x1f4)]),f=this[z(0x1e0)][z(0x20c)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0x208))SSL['genCSR']({'keyName':c[z(0x1f0)]+z(0x207),'csrName':c[z(0x1f0)]+'.csr','cwd':f});else{if(g===z(0x1ea)){if(!a88e[z(0x1d9)](a88f[z(0x1de)](f,c[z(0x1f0)]+z(0x207))))throw'The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20'+a88f[z(0x1de)](f,c[z(0x1f0)]+z(0x207));if(!a88e[z(0x1d9)](a88f[z(0x1de)](f,c[z(0x1f0)]+z(0x20f))))throw'The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20'+a88f['join'](f,c['appName']+z(0x20f));SSL['genSSC']({'keyName':c[z(0x1f0)]+'.key','crtName':c[z(0x1f0)]+z(0x20e),'cwd':f}),Log[z(0x1e3)](z(0x1f2)+f);}else{if(g===z(0x1e9)){let h=b[z(0x1e6)],i=b['email'];try{const p=a88e[z(0x1f6)](a88f[z(0x1de)](d,'letsencrypt.json'))[z(0x20b)](),q=JSON[z(0x205)](p);h=b[z(0x1e6)]?b[z(0x1e6)]:q[z(0x204)],i=b['email']?b[z(0x1d5)]:q['emailUpdate'],(!b[z(0x1d5)]||!b[z(0x1e6)])&&Log[z(0x1e3)](z(0x20d));}catch(r){}const j=JSON[z(0x205)](a88e[z(0x1f6)](d+z(0x1d8))[z(0x20b)]());Object[z(0x1ef)](j,{'env':d}),Log['notice'](z(0x209));try{const s=SSH[z(0x201)]('uname\x20-a',j);if(!s)throw z(0x1f9);if(s)Log[z(0x1ec)](z(0x1ff));}catch(t){Log[z(0x1f8)](t);return;}const k=Log[z(0x20a)]();k[z(0x1f7)]('Verifying\x20Letsencrypt\x20configuration'),SSH[z(0x200)]('sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core',{...j}),SSH['ssh'](z(0x1db),{...j}),SSH[z(0x200)]('sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot',{...j}),k['success']();const l=h?h:await Actions[z(0x202)]('[?]\x20Domains\x20to\x20register:\x20'),m=i?i:await Actions[z(0x202)]('Email\x20to\x20use\x20for\x20auto-updates:\x20');SSH[z(0x200)]('sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20'+l+z(0x203)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0x1e2)](n,null,0x2);a88e[z(0x1f5)](a88f[z(0x1de)](d,z(0x1f3)),o);}else throw z(0x1fe);}}}catch(u){console[z(0x1f8)](u),process[z(0x1e4)](0x0);}});
1
+ function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x1cf;let f=c[d];return f;},a88d(a,b);}const a88y=a88d;(function(a,b){const v=a88d,c=a();while(!![]){try{const d=-parseInt(v(0x1f2))/0x1*(-parseInt(v(0x1ff))/0x2)+-parseInt(v(0x1fc))/0x3*(parseInt(v(0x1d4))/0x4)+-parseInt(v(0x1f8))/0x5*(parseInt(v(0x1e8))/0x6)+-parseInt(v(0x1fb))/0x7+-parseInt(v(0x1f7))/0x8*(-parseInt(v(0x1d2))/0x9)+parseInt(v(0x1d8))/0xa*(parseInt(v(0x1e3))/0xb)+parseInt(v(0x1f3))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x5e7fd));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a88d;if(c){const e=c[w(0x1dc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const x=a88d;return a88a[x(0x1d7)]()[x(0x1ed)](x(0x1e2))[x(0x1d7)]()[x(0x1df)](a88a)[x(0x1ed)](x(0x1e2));});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 a88c(){const A=['ping','258Zpbheq','New\x20CSR\x20written\x20to\x20','mkKeysDir','withSpinner','[?]\x20Domains\x20to\x20register:\x20','Remote\x20host\x20connection\x20successful','notice','Verifying\x20Letsencrypt\x20configuration','getConfigPath','getProjectConfig','readFileSync','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','writeFileSync','letsencrypt.json','maka\x20ssl\x20--env\x20dev\x20generate-csr','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','email','Email\x20to\x20use\x20for\x20auto-updates:\x20','/ssh.json','domains','333SjOZLR','Please\x20provide\x20a\x20command.','4JrvWGx','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','success','toString','50uxjaKk','sudo\x20snap\x20install\x20--classic\x20certbot','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','existsSync','apply','domainNames','join','constructor','ask','assign','(((.+)+)+)+$','696883pakEZL','maka\x20ssl\x20[command]','error','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','.csr','6frKwBN','Using\x20saved\x20letsencrypt\x20config','.crt','parse','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','search','create','.key','generate-csr','Create\x20and\x20manage\x20your\x20SSL\x20operations.','21rOvhyL','5672904PFbXve','genCSR','start','ssh','62680zaDHNq','439795fzmtZS','env','appName','3912202kvWjCb','144591YMYuVB','\x20--email\x20'];a88c=function(){return A;};return a88c();}Command[a88y(0x1ee)]({'name':'ssl','usage':a88y(0x1e4),'validOpts':[a88y(0x1d1),'email'],'requiredOpts':['env'],'shortDesc':a88y(0x1f1),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a88y(0x20d),'maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate',a88y(0x20f)]},async function(a,b){const z=a88y,c=this['fsi'][z(0x208)](),d=this['fsi'][z(0x207)](b[z(0x1f9)]),f=this['fsi'][z(0x201)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0x1f0))SSL[z(0x1f4)]({'keyName':c['appName']+'.key','csrName':c[z(0x1fa)]+z(0x1e7),'cwd':f});else{if(g==='generate-ssc'){if(!a88e[z(0x1db)](a88f[z(0x1de)](f,c[z(0x1fa)]+'.key')))throw z(0x1d5)+a88f[z(0x1de)](f,c[z(0x1fa)]+z(0x1ef));if(!a88e[z(0x1db)](a88f[z(0x1de)](f,c['appName']+z(0x1e7))))throw z(0x1ec)+a88f[z(0x1de)](f,c['appName']+z(0x1e7));SSL['genSSC']({'keyName':c['appName']+z(0x1ef),'crtName':c[z(0x1fa)]+z(0x1ea),'cwd':f}),Log['notice'](z(0x200)+f);}else{if(g==='letsencrypt'){let h=b['domains'],i=b[z(0x210)];try{const p=a88e['readFileSync'](a88f[z(0x1de)](d,z(0x20c)))['toString'](),q=JSON[z(0x1eb)](p);h=b[z(0x1d1)]?b[z(0x1d1)]:q[z(0x1dd)],i=b[z(0x210)]?b[z(0x210)]:q['emailUpdate'],(!b[z(0x210)]||!b[z(0x1d1)])&&Log['notice'](z(0x1e9));}catch(r){}const j=JSON['parse'](a88e[z(0x209)](d+z(0x1d0))[z(0x1d7)]());Object[z(0x1e1)](j,{'env':d}),Log[z(0x205)]('Checking\x20remote\x20host\x20availability');try{const s=SSH[z(0x1fe)]('uname\x20-a',j);if(!s)throw z(0x1e6);if(s)Log['success'](z(0x204));}catch(t){Log[z(0x1e5)](t);return;}const k=Log[z(0x202)]();k[z(0x1f5)](z(0x206)),SSH[z(0x1f6)](z(0x20a),{...j}),SSH['ssh'](z(0x1d9),{...j}),SSH[z(0x1f6)](z(0x20e),{...j}),k[z(0x1d6)]();const l=h?h:await Actions[z(0x1e0)](z(0x203)),m=i?i:await Actions[z(0x1e0)](z(0x1cf));SSH[z(0x1f6)](z(0x1da)+l+z(0x1fd)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON['stringify'](n,null,0x2);a88e[z(0x20b)](a88f['join'](d,z(0x20c)),o);}else throw z(0x1d3);}}}catch(u){console[z(0x1e5)](u),process['exit'](0x0);}});
@@ -1 +1 @@
1
- const a89q=a89d;(function(a,b){const m=a89d,c=a();while(!![]){try{const d=parseInt(m(0x144))/0x1*(-parseInt(m(0x180))/0x2)+-parseInt(m(0x174))/0x3*(parseInt(m(0x147))/0x4)+parseInt(m(0x148))/0x5*(-parseInt(m(0x175))/0x6)+parseInt(m(0x16c))/0x7*(parseInt(m(0x17e))/0x8)+parseInt(m(0x14f))/0x9*(-parseInt(m(0x162))/0xa)+-parseInt(m(0x15b))/0xb+parseInt(m(0x149))/0xc*(parseInt(m(0x158))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x85436));const a89b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a89d;if(c){const e=c[n(0x171)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){const o=a89d;return a89a[o(0x14a)]()[o(0x164)](o(0x14b))[o(0x14a)]()[o(0x168)](a89a)[o(0x164)](o(0x14b));});a89a();import a89e from'fs';import a89f from'path';import a89g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const p=a89d;a89e[p(0x13f)](a,'r'),a89g['config']({'path':a});};function a89d(a,b){const c=a89c();return a89d=function(d,e){d=d-0x13f;let f=c[d];return f;},a89d(a,b);}function a89c(){const t=['11081tNryeQ','once','maka\x20test\x20<opts>','Meteor\x20Settings:\x20','port','apply','--settings','--driver','109197tFOxik','90606mNmSFs','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','engines','--packages','--env','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','inspect','config.json','none','2224tvVWQm','error','2QoxEdn','forEach','openSync','concat','splice','warn','packages','1010447RsJYcu','utf8','--driver-package','68GCIZkl','115QanNhh','2796aiLyxp','toString','(((.+)+)+)+$','unit','create','isFile','2295117byRBFV','.maka','findProjectDirectory','argv','env','invokeMeteorCommand','driver','join','filter','171353AbFwMy','test','settings.json','8072185xnpEzh','sanjo:jasmine','jasmine','slice','--full-app','getConfigPath','testAppPath','10OpjXul','test-packages','search','driver-package','meteortesting:mocha','fsi','constructor','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','notice','process.env'];a89c=function(){return t;};return a89c();}Command[a89q(0x14d)]({'name':a89q(0x159),'mustBeInMakaProject':!![],'validOpts':['once',a89q(0x143),a89q(0x155),'driverPackage','unit',a89q(0x153),'rawLogs',a89q(0x170),a89q(0x17b),a89q(0x161)],'usage':a89q(0x16e),'shortDesc':a89q(0x17a),'examples':[]},function(a,b){const r=a89q;try{let c=this[r(0x167)][r(0x160)]('development');b[r(0x153)]&&(c=this['fsi'][r(0x160)](b['env']));(!b[r(0x14c)]||!!b[r(0x16d)])&&(a=a['concat']([r(0x15f)]));b[r(0x14c)]&&delete b[r(0x14c)];let d=b['driver-package']||b[r(0x155)]||'none';if(d==='none'){const j=JSON['parse'](a89e['readFileSync'](a89f[r(0x156)](this['fsi'][r(0x151)](),r(0x150),r(0x17c)),r(0x145)));if(j[r(0x177)]['test']===r(0x15d))d=r(0x15c);else j[r(0x177)][r(0x159)]==='mocha'&&(d=r(0x166));}if(d===r(0x17d))throw r(0x169);(!b[r(0x165)]||!b['driver'])&&(a=a[r(0x140)]([r(0x146),d]));const f=a89f['join'](c,r(0x15a));this[r(0x167)][r(0x14e)](f)?(Log[r(0x16a)](r(0x16f)+f),a=a[r(0x140)]([r(0x172),f])):Log[r(0x142)](r(0x176)+f);const g=a89f[r(0x156)](c,r(0x16b));this[r(0x167)]['isFile'](g)?(Log[r(0x16a)]('Node\x20Env\x20Config:\x20'+g),syncSource(g)):Log[r(0x142)]('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+g);const h=process[r(0x152)][r(0x15e)](0x2)[r(0x157)](k=>k!=='--env')[r(0x157)](k=>k!==r(0x159))[r(0x157)](k=>k!==a[0x0]);h[r(0x181)]((k,l)=>{const s=r;(k===s(0x179)||k===s(0x173))&&h[s(0x141)](l,0x2),k===s(0x178)&&h[s(0x141)](l,0x1);});const i=b[r(0x143)]?r(0x163):r(0x159);this[r(0x167)][r(0x154)](i,a['concat'](h));}catch(k){console[r(0x17f)](k),process['exit'](0x0);}});
1
+ const a89p=a89d;(function(a,b){const m=a89d,c=a();while(!![]){try{const d=parseInt(m(0xe5))/0x1*(-parseInt(m(0xf9))/0x2)+-parseInt(m(0xfd))/0x3*(-parseInt(m(0xe4))/0x4)+parseInt(m(0xe8))/0x5*(-parseInt(m(0xd8))/0x6)+-parseInt(m(0xd3))/0x7+-parseInt(m(0xea))/0x8+-parseInt(m(0x103))/0x9+parseInt(m(0xe7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0xbbdb5));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(0xe6)]()[n(0xe0)](n(0x107))['toString']()['constructor'](a89a)[n(0xe0)](n(0x107));});a89a();import a89e from'fs';function a89c(){const s=['error','1656664ezPCad','Meteor\x20Settings:\x20','--packages','test','Cannot\x20find\x20Node\x20Environment\x20File:\x20','meteortesting:mocha','engines','parse','warn','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','readFileSync','splice','concat','join','sanjo:jasmine','24urfcCM','config','process.env','create','6nvsIWM','inspect','test-packages','slice','unit','exit','13092075uwUwlc','settings.json','utf8','--full-app','(((.+)+)+)+$','openSync','packages','driver','isFile','testAppPath','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','argv','5087775rqswsH','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','jasmine','--driver-package','filter','6JuoAdM','--driver','notice','config.json','driver-package','getConfigPath','rawLogs','none','search','env','fsi','mocha','1862972KOrPyL','38938Kzujjp','toString','37799810ToBNEp','5430835fjWBgt'];a89c=function(){return s;};return a89c();}import a89f from'path';function a89d(a,b){const c=a89c();return a89d=function(d,e){d=d-0xd3;let f=c[d];return f;},a89d(a,b);}import a89g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const o=a89d;a89e[o(0x108)](a,'r'),a89g[o(0xfa)]({'path':a});};Command[a89p(0xfc)]({'name':'test','mustBeInMakaProject':!![],'validOpts':['once',a89p(0x109),a89p(0x10a),'driverPackage',a89p(0x101),a89p(0xe1),a89p(0xde),'port',a89p(0xfe),a89p(0x10c)],'usage':'maka\x20test\x20<opts>','shortDesc':a89p(0x10d),'examples':[]},function(a,b){const q=a89p;try{let c=this[q(0xe2)]['getConfigPath']('development');b[q(0xe1)]&&(c=this[q(0xe2)][q(0xdd)](b['env']));(!b['unit']||!!b['once'])&&(a=a['concat']([q(0x106)]));b[q(0x101)]&&delete b['unit'];let d=b[q(0xdc)]||b['driver']||q(0xdf);if(d===q(0xdf)){const j=JSON[q(0xf1)](a89e[q(0xf4)](a89f[q(0xf7)](this[q(0xe2)]['findProjectDirectory'](),'.maka',q(0xdb)),q(0x105)));if(j[q(0xf0)][q(0xed)]===q(0xd5))d=q(0xf8);else j[q(0xf0)][q(0xed)]===q(0xe3)&&(d=q(0xef));}if(d==='none')throw q(0xd4);(!b[q(0xdc)]||!b[q(0x10a)])&&(a=a[q(0xf6)]([q(0xd6),d]));const f=a89f[q(0xf7)](c,q(0x104));this['fsi'][q(0x10b)](f)?(Log[q(0xda)](q(0xeb)+f),a=a['concat'](['--settings',f])):Log[q(0xf2)](q(0xf3)+f);const g=a89f['join'](c,q(0xfb));this[q(0xe2)][q(0x10b)](g)?(Log[q(0xda)]('Node\x20Env\x20Config:\x20'+g),syncSource(g)):Log['warn'](q(0xee)+g);const h=process[q(0x10e)][q(0x100)](0x2)[q(0xd7)](k=>k!=='--env')['filter'](k=>k!=='test')[q(0xd7)](k=>k!==a[0x0]);h['forEach']((k,l)=>{const r=q;(k==='--env'||k===r(0xd9))&&h[r(0xf5)](l,0x2),k===r(0xec)&&h[r(0xf5)](l,0x1);});const i=b[q(0x109)]?q(0xff):q(0xed);this['fsi']['invokeMeteorCommand'](i,a[q(0xf6)](h));}catch(k){console[q(0xe9)](k),process[q(0x102)](0x0);}});
@@ -1 +1 @@
1
- const a90n=a90d;(function(a,b){const k=a90d,c=a();while(!![]){try{const d=parseInt(k(0xa8))/0x1+parseInt(k(0xae))/0x2+parseInt(k(0xa6))/0x3*(-parseInt(k(0xa5))/0x4)+parseInt(k(0x99))/0x5*(-parseInt(k(0xa4))/0x6)+parseInt(k(0x8a))/0x7+parseInt(k(0x9f))/0x8+-parseInt(k(0xa2))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0x2dd1c));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a90d;if(c){const e=c[l(0xa9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const m=a90d;return a90a[m(0x94)]()[m(0x90)](m(0xaa))[m(0x94)]()[m(0x9e)](a90a)['search']('(((.+)+)+)+$');});function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x89;let f=c[d];return f;},a90d(a,b);}function a90c(){const p=['fsi','verbose','1254960XIENsO','win32','551382xtpUac','1028XchSmR','2559OhFESV','\x0a\x20To\x20get\x20the\x20mongo\x20version\x20in\x20use\x20by\x20meteor:\x0a\x201)\x20Run\x20the\x20project,\x20\x22maka\x20run\x22\x0a\x202)\x20In\x20a\x20new\x20terminal\x20open\x20the\x20mongo\x20shell,\x20\x22maka\x20mongo\x22','129602LnBerG','apply','(((.+)+)+)+$','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','bright','getProjectMeteorVersion','372342pIUups','majestic','platform','version','2360309jdUCSc','System\x27s\x20Node\x20Version\x20','----------------------Project----------------------------','4.5.47','node\x20-v','compareMakaToLatest','search','warn','replace','----------------------System----------------------------','toString','meteor','meteor.bat','getGlobalMeteorVersion','error','10LithVp','System\x27s\x20Meteor\x20Version\x20','Project\x27s\x20Meteor\x20Node\x20Version\x20',')\x20to\x20at\x20least\x20meteor\x27s\x20(','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','constructor','617368xuTrHn'];a90c=function(){return p;};return a90c();}a90a();import{execSync}from'child_process';import a90e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':a90n(0x8d)};Command['create']({'name':'version','aliases':['v'],'usage':'maka\x20version','maxArgLength':0x1,'validOpts':['verbose'],'shortDesc':'Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','examples':['maka\x20v','maka\x20version','maka\x20version\x20--verbose'],'description':'\x0a\x20\x20When\x20using\x20the\x20--verbose\x20flag,\x20maka\x20will\x20also\x20check\x20the\x20version\x20of\x20the\x20system\x27s\x20meteor\x20and\x20node\x20versions\x0a\x20\x20along\x20with\x20the\x20project\x27s\x20meteor\x20and\x20node\x20versions.\x20If\x20the\x20system\x27s\x20meteor\x20version\x20is\x20greater\x20than\x20the\x0a\x20\x20project\x27s\x20meteor\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20meteor\x20version.\x20If\x20the\x20system\x27s\x20node\x0a\x20\x20version\x20is\x20greater\x20than\x20the\x20project\x27s\x20node\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20node\x20version.\x0a\x20\x20'},async function(a,b){const o=a90n;try{const c=process[o(0xb0)]===o(0xa3)?o(0x96):o(0x95);Log[o(0xaf)]('Maka\x20'+pjson[o(0x89)]),await this['fsi'][o(0x8f)]();if(b[o(0xa1)]){await this[o(0xa0)]['compareMakaToLatest'](),Log[o(0xac)](o(0x93));const d=this[o(0xa0)][o(0x97)]();Log[o(0xac)]((o(0x9a)+d)[o(0x92)]('\x0a',''));const f=execSync(c+'\x20node\x20-v')[o(0x94)]()[o(0x92)](/\r?\n|\r/,'')['replace']('v','');Log[o(0xac)]('System\x27s\x20Meteor\x27s\x20Node\x20Version\x20'+f);const g=execSync(o(0x8e))[o(0x94)]()['replace'](/\r?\n|\r/,'')[o(0x92)]('v','');a90e['gt'](f,g)?(Log[o(0x91)]('System\x27s\x20Node\x20Version\x20'+g),Log[o(0x91)]('\x20!\x20consider\x20updating\x20your\x20node\x20version\x20('+g+o(0x9c)+f+')')):Log[o(0xac)](o(0x8b)+g);if(this['fsi']['isMakaProject']()){Log[o(0xac)](o(0x8c));const h=this['fsi'][o(0xad)]();a90e['gt'](d,h)?(Log[o(0x91)]('Project\x27s\x20Meteor\x20Version\x20'+h[o(0x92)]('\x0a','')),Log[o(0x91)](o(0xab)+d+'\x22')):Log['notice'](('Project\x27s\x20Meteor\x20Version\x20'+h)[o(0x92)]('\x0a',''));const i=await this['fsi']['getProjectsMeteorNodeVersion']();i==='N/A'?(Log[o(0x91)]('Project\x27s\x20Meteor\x20Node\x20Version\x20'+i),Log[o(0x91)](o(0x9d))):Log[o(0xac)](o(0x9b)+i),Log['bright'](o(0xa7));}}}catch(j){console[o(0x98)](j),process['exit'](0x0);}});
1
+ const a90n=a90d;function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0xfd;let f=c[d];return f;},a90d(a,b);}(function(a,b){const k=a90d,c=a();while(!![]){try{const d=-parseInt(k(0x11e))/0x1*(parseInt(k(0x116))/0x2)+-parseInt(k(0x11b))/0x3*(-parseInt(k(0x105))/0x4)+-parseInt(k(0x100))/0x5+-parseInt(k(0x125))/0x6+-parseInt(k(0xfe))/0x7+-parseInt(k(0xff))/0x8+parseInt(k(0x11a))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0xbb023));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a90d;if(c){const e=c[l(0x122)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const m=a90d;return a90a[m(0x10a)]()[m(0x106)]('(((.+)+)+)+$')[m(0x10a)]()[m(0x112)](a90a)[m(0x106)](m(0x10d));});a90a();import{execSync}from'child_process';import a90e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a90c(){const p=['968096DuJGYo','notice','verbose','node\x20-v','39607209DTKsaR','15nXnhNi','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','compareMakaToLatest','2yLapom','Project\x27s\x20Meteor\x20Node\x20Version\x20','4.5.49','N/A','apply','----------------------Project----------------------------','fsi','660702ZXNXOK','----------------------System----------------------------','meteor','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','6900509ownrXK','5286488SVqQTv','6780440vXHxbO','isMakaProject','Project\x27s\x20Meteor\x20Version\x20','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','warn','356868qvGezm','search','\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','getProjectsMeteorNodeVersion','maka\x20version','toString','System\x27s\x20Meteor\x20Version\x20','win32','(((.+)+)+)+$','exit','maka\x20version\x20--verbose','bright',')\x20to\x20at\x20least\x20meteor\x27s\x20(','constructor','meteor.bat','replace','version'];a90c=function(){return p;};return a90c();}const pjson={'version':a90n(0x120)};Command['create']({'name':a90n(0x115),'aliases':['v'],'usage':a90n(0x109),'maxArgLength':0x1,'validOpts':[a90n(0x118)],'shortDesc':a90n(0xfd),'examples':['maka\x20v',a90n(0x109),a90n(0x10f)],'description':'\x0a\x20\x20When\x20using\x20the\x20--verbose\x20flag,\x20maka\x20will\x20also\x20check\x20the\x20version\x20of\x20the\x20system\x27s\x20meteor\x20and\x20node\x20versions\x0a\x20\x20along\x20with\x20the\x20project\x27s\x20meteor\x20and\x20node\x20versions.\x20If\x20the\x20system\x27s\x20meteor\x20version\x20is\x20greater\x20than\x20the\x0a\x20\x20project\x27s\x20meteor\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20meteor\x20version.\x20If\x20the\x20system\x27s\x20node\x0a\x20\x20version\x20is\x20greater\x20than\x20the\x20project\x27s\x20node\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20node\x20version.\x0a\x20\x20'},async function(a,b){const o=a90n;try{const c=process['platform']===o(0x10c)?o(0x113):o(0x127);Log['majestic']('Maka\x20'+pjson[o(0x115)]),await this[o(0x124)][o(0x11d)]();if(b[o(0x118)]){await this[o(0x124)][o(0x11d)](),Log[o(0x110)](o(0x126));const d=this[o(0x124)]['getGlobalMeteorVersion']();Log['bright']((o(0x10b)+d)[o(0x114)]('\x0a',''));const f=execSync(c+'\x20node\x20-v')[o(0x10a)]()['replace'](/\r?\n|\r/,'')[o(0x114)]('v','');Log[o(0x110)](o(0x11c)+f);const g=execSync(o(0x119))[o(0x10a)]()['replace'](/\r?\n|\r/,'')[o(0x114)]('v','');a90e['gt'](f,g)?(Log[o(0x104)]('System\x27s\x20Node\x20Version\x20'+g),Log[o(0x104)](o(0x103)+g+o(0x111)+f+')')):Log['bright']('System\x27s\x20Node\x20Version\x20'+g);if(this['fsi'][o(0x101)]()){Log['bright'](o(0x123));const h=this[o(0x124)]['getProjectMeteorVersion']();a90e['gt'](d,h)?(Log[o(0x104)](o(0x102)+h['replace']('\x0a','')),Log['warn']('\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20'+d+'\x22')):Log[o(0x117)](('Project\x27s\x20Meteor\x20Version\x20'+h)[o(0x114)]('\x0a',''));const i=await this[o(0x124)][o(0x108)]();i===o(0x121)?(Log[o(0x104)](o(0x11f)+i),Log[o(0x104)]('\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.')):Log[o(0x110)](o(0x11f)+i),Log[o(0x110)](o(0x107));}}}catch(j){console['error'](j),process[o(0x10e)](0x0);}});
@@ -1 +1 @@
1
- function a91c(){var h=['106173qrRNyW','935761oAsfdY','633qiTJwN','(((.+)+)+)+$','3370VuNrtT','toString','2013624DuycZG','199885dVgRQg','472LjClZT','constructor','search','590842bAwDfL','29432HkUnJR','3818555nYBbcY'];a91c=function(){return h;};return a91c();}(function(a,b){var f=a91d,c=a();while(!![]){try{var d=parseInt(f(0xc3))/0x1+-parseInt(f(0xbf))/0x2+-parseInt(f(0xc4))/0x3*(parseInt(f(0xc0))/0x4)+-parseInt(f(0xc1))/0x5+parseInt(f(0xc8))/0x6+parseInt(f(0xbb))/0x7*(-parseInt(f(0xbc))/0x8)+-parseInt(f(0xc2))/0x9*(-parseInt(f(0xc6))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0xe810b));var a91b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){var g=a91d;return a91a['toString']()[g(0xbe)](g(0xc5))[g(0xc7)]()[g(0xbd)](a91a)['search'](g(0xc5));});a91a();export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}function a91d(a,b){var c=a91c();return a91d=function(d,e){d=d-0xbb;var f=c[d];return f;},a91d(a,b);}export class NoMeteorFoundError{}
1
+ (function(a,b){var f=a91d,c=a();while(!![]){try{var d=parseInt(f(0x1ef))/0x1*(-parseInt(f(0x1e5))/0x2)+-parseInt(f(0x1ec))/0x3*(parseInt(f(0x1e7))/0x4)+parseInt(f(0x1e4))/0x5*(parseInt(f(0x1f1))/0x6)+parseInt(f(0x1e8))/0x7+-parseInt(f(0x1ee))/0x8+-parseInt(f(0x1f2))/0x9*(parseInt(f(0x1f0))/0xa)+parseInt(f(0x1e3))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0x895ce));var a91b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a91d;if(c){var e=c[g(0x1e6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){var h=a91d;return a91a['toString']()[h(0x1e9)](h(0x1eb))[h(0x1ea)]()[h(0x1ed)](a91a)[h(0x1e9)](h(0x1eb));});a91a();function a91d(a,b){var c=a91c();return a91d=function(d,e){d=d-0x1e3;var f=c[d];return f;},a91d(a,b);}export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}function a91c(){var i=['1616266bHmgLt','apply','117692YIYfkT','7743526aSWIMH','search','toString','(((.+)+)+)+$','87stByVe','constructor','4574352YlJJyy','1NuDnAw','810PGuWLT','1356654DMoXiH','15102VLbxic','17593653kjdDpk','5WXbqDD'];a91c=function(){return i;};return a91c();}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- var a92i=a92d;function a92c(){var j=['5663AVMVrK','search','1489508ZBNwIZ','(((.+)+)+)+$','env','12733785lbyVmn','20fzcbub','5858meFpQT','constructor','apply','13120fYCPuB','3445611IsILsb','8297454qfmtUW','toString','8252750IAbqli','1iUyman'];a92c=function(){return j;};return a92c();}(function(a,b){var f=a92d,c=a();while(!![]){try{var d=parseInt(f(0x147))/0x1*(parseInt(f(0x13f))/0x2)+-parseInt(f(0x143))/0x3+-parseInt(f(0x14a))/0x4*(-parseInt(f(0x13e))/0x5)+parseInt(f(0x144))/0x6+-parseInt(f(0x148))/0x7*(-parseInt(f(0x142))/0x8)+-parseInt(f(0x13d))/0x9+-parseInt(f(0x146))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0xc6975));function a92d(a,b){var c=a92c();return a92d=function(d,e){d=d-0x13d;var f=c[d];return f;},a92d(a,b);}var a92b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a92d;if(c){var e=c[g(0x141)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){var h=a92d;return a92a[h(0x145)]()[h(0x149)](h(0x14b))[h(0x145)]()[h(0x140)](a92a)[h(0x149)](h(0x14b));});a92a(),process[a92i(0x14c)]['NODE_OPTIONS']='--experimental-modules\x20--no-warnings\x20--experimental-json-modules';import'./maka.js';
2
+ var a92i=a92d;(function(a,b){var f=a92d,c=a();while(!![]){try{var d=parseInt(f(0xd6))/0x1+-parseInt(f(0xe7))/0x2*(-parseInt(f(0xdc))/0x3)+-parseInt(f(0xe0))/0x4+parseInt(f(0xe8))/0x5*(-parseInt(f(0xe3))/0x6)+parseInt(f(0xd9))/0x7*(parseInt(f(0xe5))/0x8)+parseInt(f(0xe1))/0x9*(parseInt(f(0xd7))/0xa)+-parseInt(f(0xdb))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0xe6c95));var a92b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a92d;if(c){var e=c[g(0xe2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){var h=a92d;return a92a['toString']()[h(0xdf)](h(0xe4))[h(0xd8)]()[h(0xda)](a92a)[h(0xdf)](h(0xe4));});a92a(),process[a92i(0xdd)][a92i(0xde)]=a92i(0xe6);function a92c(){var j=['918652frdxuo','348410SEKwXi','toString','4557tVUbTS','constructor','37884473gHqMQK','54uQJyhl','env','NODE_OPTIONS','search','686296hDLNCG','477gxiiEc','apply','6gUqllr','(((.+)+)+)+$','10168Ebuyhm','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','179194cnzUEa','3222370lTWIsn'];a92c=function(){return j;};return a92c();}function a92d(a,b){var c=a92c();return a92d=function(d,e){d=d-0xd6;var f=c[d];return f;},a92d(a,b);}import'./maka.js';
@@ -1 +1 @@
1
- const a93u=a93d;(function(a,b){const q=a93d,c=a();while(!![]){try{const d=-parseInt(q(0xc7))/0x1*(parseInt(q(0xfb))/0x2)+parseInt(q(0xf6))/0x3+-parseInt(q(0xd9))/0x4*(parseInt(q(0xf8))/0x5)+parseInt(q(0x10a))/0x6+parseInt(q(0x10b))/0x7+-parseInt(q(0xd8))/0x8*(parseInt(q(0xe4))/0x9)+parseInt(q(0xb4))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0xc771f));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){const r=a93d;if(c){const e=c[r(0xda)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const s=a93d;return a93a[s(0xc3)]()[s(0xef)](s(0xe7))[s(0xc3)]()['constructor'](a93a)[s(0xef)](s(0xe7));});a93a();function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0xad;let f=c[d];return f;},a93d(a,b);}import a93e from'path';import a93f from'cli-table';import{paramCase}from'change-case';import a93g from'./generators/maka.gen.js';function a93c(){const G=['4JQXDPj','replace','call','resourceName','appPathPrefix','name','join','keys','Generator.create\x20requires\x20a\x20handler\x20function!','mustBeInMakaProject','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','invoke','validateMakaProject','both','listGenerators','validateMakaSubscription','error','3973448foVrLT','404fkGKKu','apply','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','minOptsLength','maxArgLength','maxOptsLength','Location','To\x20use\x20these\x20pro\x20flags,\x20\x22','function','Too\x20many\x20options','Generators:','27MNjrOb','options','validateParams','(((.+)+)+)+$','proGenerators','No\x20resource\x20name\x20specified','exit','server','length','There\x20is\x20no\x20Meteor\x20application\x20here','client','search','Server','domainLicense','To\x20use\x20this\x20generator,\x20\x22','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','singleLicense','941814uOoUGt','Generator.create\x20requires\x20some\x20options!','13115ZMspdY','chdir','Generator\x20requires\x20a\x20handler\x20function','491708dudpBk','findGenerator','help','find','usage','bright','fsi','filter','aliases','shortDesc','Name','push','Description','includes','number','7697544ElKSVV','247667QsSwHx','Too\x20few\x20options','noResource','split','addGenerator','list','colLocAnswer','match','19230660urWncO','Generator\x20requires\x20a\x20name','where','create','Too\x20many\x20arguments','cwd','roles','dir','assign','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','parent','tableList','_generators','sep','findProjectDirectory','toString','_handler','Both','addGenerator\x20requires\x20a\x20Generator\x20instance'];a93c=function(){return G;};return a93c();}import{Log}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError}from'./error.js';let _prevGen='';function inside(a='.',b){const t=a93d,c=process[t(0xb9)]();let d=null;try{process['chdir'](a),d=b();}finally{process[t(0xf9)](c);}return d;}export class Generator extends Tool{[a93u(0xe5)];[a93u(0xc0)];constructor(a,b){const v=a93u;super();if(!a)throw new Error(v(0xf3));if(!a[v(0xcc)])throw new Error(v(0xb5));if(typeof b!==v(0xe1))throw new Error(v(0xfa));this[v(0xc0)]=[],this[v(0xe5)]=Object[v(0xbc)]({},a),this[v(0xcc)]=this[v(0xe5)][v(0xcc)],this[v(0xc4)]=b['bind'](this);}static[a93u(0xb7)](a,b,c){const w=a93u;if(!a)throw new Error(w(0xf7));if(typeof b!==w(0xe1))throw new Error(w(0xcf));const d=new Generator(a,b);return c=c||a93g,Object['assign'](d,{'parent':c?.[w(0xe5)]?.[w(0xcc)]}),c[w(0xb0)](d),d;}[a93u(0xb0)](a){const x=a93u;if(!(a instanceof Generator))throw new Error(x(0xc6));this[x(0xc0)]['push'](a);}[a93u(0xfc)](a){const y=a93u,b=this[y(0xc0)][y(0xfe)](c=>c[y(0xb3)](a));return b;}async['validateMakaSubscription'](a,b){const z=a93u,c=this[z(0xfc)](a[0x0]);if(c){const d=c?.[z(0xcc)]||a[0x0],e=c?.[z(0xbe)]||'',f=Object[z(0xce)](b),g=await this[z(0x101)]['getPro']();!g&&(Log['error'](z(0xd1)),process['exit'](0x1));const h=!g?.[z(0xba)]['includes'](z(0xf5))&&!g?.[z(0xba)][z(0x108)](z(0xf1)),i=g?.[z(0xe8)][z(0x108)](d)||g?.[z(0xe8)]['includes'](e);if(i&&h)throw z(0xf2)+d+z(0xf4);if(f['length']>0x0){const j=g?.['proFlags'][z(0x102)](k=>f[z(0x108)](k));if(j&&j[z(0xec)]>0x0&&h)throw z(0xe0)+j?.['join'](',\x20')+z(0xf4);}}}async[a93u(0xd2)](a,b){const A=a93u,{usage:usage='',description:description='',examples:examples=[],shortDesc:c,requiredOpts:requiredOpts=[],validOpts:d}=this[A(0xe5)];try{await this[A(0xd6)](a,b);}catch(g){Log[A(0xd7)](g),process[A(0xea)](0x1);}const f=a['slice']();b[A(0xca)]=f[0x0];try{if((a[0x0]===_prevGen||a['length']===0x0)&&b[A(0xfd)])throw new UsageError();if(this[A(0xe5)][A(0xd0)]){const h=this[A(0xd3)]();if(!h)throw new MustBeInProjectError();}if(this[A(0xe5)]['mustHaveMeteorInstalled']){const i=this['validateMeteorInstall']();if(!i)throw new NoMeteorFoundError();}if(typeof this[A(0xe5)]['minArgLength']===A(0x109)){if(a[A(0xec)]<this[A(0xe5)]['minArgLength']){Log[A(0xd7)]('Too\x20few\x20arguments');throw new UsageError();}}if(typeof this['options'][A(0xdd)]===A(0x109)){if(a[A(0xec)]>this[A(0xe5)][A(0xdd)]){Log[A(0xd7)](A(0xb8));throw new UsageError();}}if(typeof this[A(0xe5)]['minOptsLength']==='number'){if(Object[A(0xce)](b)[A(0xec)]<this[A(0xe5)][A(0xdc)]){Log[A(0xd7)](A(0xad));throw new UsageError();}}if(typeof this[A(0xe5)][A(0xde)]===A(0x109)){if(Object[A(0xce)](b)[A(0xec)]>=this[A(0xe5)][A(0xde)]){Log[A(0xd7)](A(0xe2));throw new UsageError();}}await this[A(0xe6)](a,b,this[A(0xe5)]);if(!b[A(0xca)]&&!this[A(0xe5)][A(0xae)]){Log[A(0xd7)](A(0xe9));throw new UsageError();}_prevGen=a[0x0];}catch(j){Log[A(0xff)](description,examples,usage,c,requiredOpts,d);if(j instanceof UsageError)this[A(0xc0)]['length']>0x0&&b[A(0xfd)]&&(Log['notice'](A(0xe3)),this[A(0xbf)](this[A(0xc0)]));else{if(j instanceof MustBeInProjectError)Log[A(0xd7)](A(0xdb));else{if(j instanceof NoMeteorFoundError)Log['error'](A(0xbd)),Log['notice']('Please\x20run\x20\x22maka\x20install\x20meteor\x22');else{if(j instanceof NoMeteorAppFoundError)Log[A(0xd7)](A(0xed));else throw j;}}}process['exit'](0x1);}return new Promise(k=>{const B=A;inside(b[B(0xb9)],async()=>{const C=B;try{if(!b['root']&&!this[C(0x101)][C(0xc2)]())throw new MustBeInProjectError();const l=b['resourceName']?.[C(0xc8)](/\\/g,'/')[C(0xaf)]('/');!b[C(0xbb)]&&(l?.['length']>0x1?(b[C(0xca)]=l['pop'](),f[0x0]=b[C(0xca)],b['dir']=l['map'](m=>{return paramCase(m);})[C(0xcd)](a93e[C(0xc1)])):b[C(0xbb)]='');if(this[C(0xe5)]['checkWhere']){if(!b[C(0xb6)]){const n={'type':C(0xb1),'name':C(0xb2),'message':C(0xdf),'choices':[{'name':'Client','value':C(0xee)},{'name':C(0xf0),'value':C(0xeb)},{'name':C(0xc5),'value':C(0xd4)}]},{colLocAnswer:o}=await Actions['options'](n);o?b[C(0xb6)]=o:b[C(0xb6)]=C(0xd4);}const m=[C(0xd4),C(0xee),C(0xeb)];if(!m[C(0x108)](b[C(0xb6)])){Log['error']('--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27');throw new UsageError();}switch(b[C(0xb6)]){case C(0xd4):b[C(0xcb)]='lib';break;case C(0xeb):b[C(0xcb)]='server';break;case C(0xee):b[C(0xcb)]=C(0xee);break;default:b['appPathPrefix']='';}}k(this[C(0xc4)][C(0xc9)](this,f,b));}catch(p){console[C(0xd7)](p);}});});}[a93u(0xd5)](){const D=a93u;this[D(0xbf)](this[D(0xc0)]);}[a93u(0xbf)](a){const E=a93u,b=new a93f({});b[E(0x106)]([E(0x105),'Alias',E(0x107)]),a['sort']()['forEach'](c=>{const F=E;b[F(0x106)]([c['name'],c[F(0x103)](),c[F(0x104)]()]);}),Log[E(0x100)](b[E(0xc3)]());}}
1
+ const a93v=a93d;(function(a,b){const s=a93d,c=a();while(!![]){try{const d=-parseInt(s(0x247))/0x1*(-parseInt(s(0x1ee))/0x2)+parseInt(s(0x24b))/0x3*(parseInt(s(0x1f6))/0x4)+parseInt(s(0x248))/0x5+parseInt(s(0x23a))/0x6+parseInt(s(0x1ef))/0x7+-parseInt(s(0x24e))/0x8*(parseInt(s(0x21c))/0x9)+-parseInt(s(0x1ea))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0xde815));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const t=a93d;return a93a[t(0x202)]()[t(0x23c)](t(0x251))[t(0x202)]()[t(0x204)](a93a)['search'](t(0x251));});a93a();import a93e from'path';import a93f from'cli-table';import{paramCase}from'change-case';function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x1e7;let f=c[d];return f;},a93d(a,b);}import a93g 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 a93c(){const H=['push','14IgKhhM','11607568oiMfPA','_handler','exit','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','validateMeteorInstall','getGlobalConfig','maxOptsLength','12268IvAruv','options','Location','sep','function','addGenerator','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','Server','lib','split','colLocAnswer','appPathPrefix','toString','checkWhere','constructor','dir','validateParams','shortDesc','error','validateMakaProject','proFlags','slice','name','getPro','where','DARK','tableList','minArgLength','join','No\x20resource\x20name\x20specified','To\x20use\x20this\x20generator,\x20\x22','includes','root','There\x20is\x20no\x20Meteor\x20application\x20here','fsi','domainLicense','Generator.create\x20requires\x20a\x20handler\x20function!','chdir','14499ucPOJc','Too\x20many\x20arguments','Too\x20many\x20options','bind','singleLicense','create','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','keys','length','map','Both','Client','server','find','resourceName','Generator\x20requires\x20a\x20handler\x20function','Please\x20run\x20\x22maka\x20install\x20meteor\x22','roles','Alias','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','match','noResource','Generator.create\x20requires\x20some\x20options!','Generator\x20requires\x20a\x20name','Description','findGenerator','validateMakaSubscription','LIGHT','sort','both','7889034VXmRQX','light','search','replace','client','assign','To\x20use\x20these\x20pro\x20flags,\x20\x22','_generators','setColorMode','notice','minOptsLength','usage','number','98689NDsAhF','7690135zLSoVK','proGenerators','mustHaveMeteorInstalled','687xVmIIV','help','filter','5816QjoeAb','forEach','mustBeInMakaProject','(((.+)+)+)+$','call','addGenerator\x20requires\x20a\x20Generator\x20instance','invoke','38216780sHVDjX','Too\x20few\x20arguments','cwd'];a93c=function(){return H;};return a93c();}let _prevGen='';function inside(a='.',b){const u=a93d,c=process[u(0x1ec)]();let d=null;try{process[u(0x21b)](a),d=b();}finally{process[u(0x21b)](c);}return d;}export class Generator extends Tool{['options'];[a93v(0x241)];constructor(a,b){const w=a93v;super();if(!a)throw new Error(w(0x22f));if(!a[w(0x20c)])throw new Error(w(0x233));if(typeof b!==w(0x1fa))throw new Error(w(0x22b));this[w(0x241)]=[],this['options']=Object[w(0x23f)]({},a),this[w(0x20c)]=this['options']['name'],this[w(0x1f0)]=b[w(0x21f)](this);}static[a93v(0x221)](a,b,c){const x=a93v;if(!a)throw new Error(x(0x232));if(typeof b!==x(0x1fa))throw new Error(x(0x21a));const d=new Generator(a,b);return c=c||a93g,Object['assign'](d,{'parent':c?.['options']?.[x(0x20c)]}),c[x(0x1fb)](d),d;}['addGenerator'](a){const y=a93v;if(!(a instanceof Generator))throw new Error(y(0x1e8));this[y(0x241)][y(0x1ed)](a);}[a93v(0x235)](a){const z=a93v,b=this['_generators'][z(0x229)](c=>c[z(0x230)](a));return b;}async[a93v(0x236)](a,b){const A=a93v,c=this[A(0x235)](a[0x0]);if(c){const d=c?.[A(0x20c)]||a[0x0],e=c?.['parent']||'',f=Object[A(0x223)](b),g=await this[A(0x218)][A(0x20d)]();!g&&(Log[A(0x208)]('License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.'),process[A(0x1f1)](0x1));const h=!g?.[A(0x22d)][A(0x215)](A(0x220))&&!g?.[A(0x22d)][A(0x215)](A(0x219)),i=g?.[A(0x249)][A(0x215)](d)||g?.[A(0x249)][A(0x215)](e);if(i&&h)throw A(0x214)+d+'\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27';if(f['length']>0x0){const j=g?.[A(0x20a)][A(0x24d)](k=>f['includes'](k));if(j&&j[A(0x224)]>0x0&&h)throw A(0x240)+j?.[A(0x212)](',\x20')+A(0x222);}}}async[a93v(0x1e9)](a,b){const B=a93v,{usage:usage='',description:description='',examples:examples=[],shortDesc:c,requiredOpts:requiredOpts=[],validOpts:d}=this['options'],f=await this[B(0x218)][B(0x1f4)](),g=f['pallet']===B(0x23b)?ColorMode[B(0x237)]:ColorMode[B(0x20f)];Log[B(0x242)](g);try{await this['validateMakaSubscription'](a,b);}catch(i){Log['error'](i),process['exit'](0x1);}const h=a[B(0x20b)]();b[B(0x22a)]=h[0x0];try{if((a[0x0]===_prevGen||a['length']===0x0)&&b[B(0x24c)])throw new UsageError();if(this['options'][B(0x250)]){const j=this[B(0x209)]();if(!j)throw new MustBeInProjectError();}if(this[B(0x1f7)][B(0x24a)]){const k=this[B(0x1f3)]();if(!k)throw new NoMeteorFoundError();}if(typeof this[B(0x1f7)][B(0x211)]===B(0x246)){if(a[B(0x224)]<this[B(0x1f7)][B(0x211)]){Log[B(0x208)](B(0x1eb));throw new UsageError();}}if(typeof this[B(0x1f7)]['maxArgLength']===B(0x246)){if(a['length']>this[B(0x1f7)]['maxArgLength']){Log['error'](B(0x21d));throw new UsageError();}}if(typeof this[B(0x1f7)][B(0x244)]==='number'){if(Object[B(0x223)](b)[B(0x224)]<this['options'][B(0x244)]){Log[B(0x208)]('Too\x20few\x20options');throw new UsageError();}}if(typeof this[B(0x1f7)][B(0x1f5)]==='number'){if(Object[B(0x223)](b)[B(0x224)]>=this[B(0x1f7)]['maxOptsLength']){Log[B(0x208)](B(0x21e));throw new UsageError();}}await this[B(0x206)](a,b,this[B(0x1f7)]);if(!b[B(0x22a)]&&!this['options'][B(0x231)]){Log[B(0x208)](B(0x213));throw new UsageError();}_prevGen=a[0x0];}catch(l){Log[B(0x245)](description,examples,usage,c,requiredOpts,d);if(l instanceof UsageError)this[B(0x241)]['length']>0x0&&b[B(0x24c)]&&(Log[B(0x243)]('Generators:'),this[B(0x210)](this[B(0x241)]));else{if(l instanceof MustBeInProjectError)Log[B(0x208)]('You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator');else{if(l instanceof NoMeteorFoundError)Log['error'](B(0x1f2)),Log[B(0x243)](B(0x22c));else{if(l instanceof NoMeteorAppFoundError)Log[B(0x208)](B(0x217));else throw l;}}}process['exit'](0x1);}return new Promise(m=>{const C=B;inside(b[C(0x1ec)],async()=>{const D=C;try{if(!b[D(0x216)]&&!this[D(0x218)]['findProjectDirectory']())throw new MustBeInProjectError();const n=b['resourceName']?.[D(0x23d)](/\\/g,'/')[D(0x1ff)]('/');!b['dir']&&(n?.[D(0x224)]>0x1?(b[D(0x22a)]=n['pop'](),h[0x0]=b[D(0x22a)],b[D(0x205)]=n[D(0x225)](o=>{return paramCase(o);})[D(0x212)](a93e[D(0x1f9)])):b[D(0x205)]='');if(this[D(0x1f7)][D(0x203)]){if(!b['where']){const p={'type':'list','name':D(0x200),'message':D(0x1f8),'choices':[{'name':D(0x227),'value':D(0x23e)},{'name':D(0x1fd),'value':'server'},{'name':D(0x226),'value':D(0x239)}]},{colLocAnswer:q}=await Actions['options'](p);q?b[D(0x20e)]=q:b[D(0x20e)]=D(0x239);}const o=['both',D(0x23e),'server'];if(!o[D(0x215)](b[D(0x20e)])){Log[D(0x208)](D(0x1fc));throw new UsageError();}switch(b[D(0x20e)]){case D(0x239):b[D(0x201)]=D(0x1fe);break;case D(0x228):b[D(0x201)]=D(0x228);break;case D(0x23e):b['appPathPrefix']=D(0x23e);break;default:b[D(0x201)]='';}}m(this[D(0x1f0)][D(0x1e7)](this,h,b));}catch(r){console[D(0x208)](r);}});});}['listGenerators'](){const E=a93v;this['tableList'](this[E(0x241)]);}[a93v(0x210)](a){const F=a93v,b=new a93f({});b['push'](['Name',F(0x22e),F(0x234)]),a[F(0x238)]()[F(0x24f)](c=>{const G=F;b[G(0x1ed)]([c[G(0x20c)],c['aliases'](),c[G(0x207)]()]);}),Log['bright'](b[F(0x202)]());}}
@@ -1 +1 @@
1
- (function(a,b){var f=a94d,c=a();while(!![]){try{var d=-parseInt(f(0xbc))/0x1+-parseInt(f(0xbe))/0x2+-parseInt(f(0xc5))/0x3*(parseInt(f(0xb9))/0x4)+parseInt(f(0xc4))/0x5+parseInt(f(0xc0))/0x6+-parseInt(f(0xbb))/0x7*(parseInt(f(0xbd))/0x8)+parseInt(f(0xc1))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0x99c4d));var a94b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a94d;if(c){var e=c[g(0xc2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){var h=a94d;return a94a[h(0xc3)]()[h(0xba)]('(((.+)+)+)+$')['toString']()[h(0xbf)](a94a)[h(0xba)]('(((.+)+)+)+$');});a94a();import'./services/_index.js';function a94d(a,b){var c=a94c();return a94d=function(d,e){d=d-0xb9;var f=c[d];return f;},a94d(a,b);}import'./api.js';import'./collection.js';import'./component.js';import'./config.js';import'./dbc.js';import'./hook.js';import'./kit.js';import'./layout.js';import'./methods.js';import'./package.js';import'./publish.js';import'./route.js';import'./service.js';import'./page.js';import'./maka.gen.js';function a94c(){var i=['328ZGawlP','search','7rrujpZ','700645yFwIim','8849984GiNsMy','2175476DGNVfC','constructor','2433438qvKZiR','22454775uhBaKY','apply','toString','4694410IyGIbx','11523LYQvoq'];a94c=function(){return i;};return a94c();}import'./dockerfile.js';import'./maka.gen.js';
1
+ (function(a,b){var f=a94d,c=a();while(!![]){try{var d=-parseInt(f(0x80))/0x1+-parseInt(f(0x7c))/0x2*(-parseInt(f(0x7a))/0x3)+parseInt(f(0x78))/0x4*(parseInt(f(0x7f))/0x5)+parseInt(f(0x77))/0x6+-parseInt(f(0x7e))/0x7*(-parseInt(f(0x79))/0x8)+-parseInt(f(0x76))/0x9+-parseInt(f(0x82))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0x752c1));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[g(0x7d)]()['search'](g(0x7b))['toString']()[g(0x81)](a94a)['search'](g(0x7b));});a94a();import'./services/_index.js';function a94d(a,b){var c=a94c();return a94d=function(d,e){d=d-0x76;var f=c[d];return f;},a94d(a,b);}import'./api.js';function a94c(){var h=['14318ZGeJyo','toString','77RZkuJM','115zGJqfm','759862nQSbXy','constructor','1094990yiwOPN','8039700BvDsmw','4144062lzvkZB','50684dAndnu','453336LCkuTR','267qalxbx','(((.+)+)+)+$'];a94c=function(){return h;};return a94c();}import'./collection.js';import'./component.js';import'./config.js';import'./dbc.js';import'./hook.js';import'./kit.js';import'./layout.js';import'./methods.js';import'./package.js';import'./publish.js';import'./route.js';import'./service.js';import'./page.js';import'./maka.gen.js';import'./dockerfile.js';import'./maka.gen.js';