@maka/maka-cli 4.5.51 → 4.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (136) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/build/_index.js +1 -1
  20. package/bundle/obf/src/commands/build/build.js +1 -1
  21. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/create.js +1 -1
  23. package/bundle/obf/src/commands/debug.js +1 -1
  24. package/bundle/obf/src/commands/deploy.js +1 -1
  25. package/bundle/obf/src/commands/game/_index.js +1 -1
  26. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/game/play.command.js +1 -1
  28. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  29. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  30. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  31. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  63. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  64. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  65. package/bundle/obf/src/commands/generate.js +1 -1
  66. package/bundle/obf/src/commands/get/_index.js +1 -1
  67. package/bundle/obf/src/commands/get/get.command.js +1 -1
  68. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/help.js +1 -1
  72. package/bundle/obf/src/commands/install.js +1 -0
  73. package/bundle/obf/src/commands/jsdoc.js +1 -1
  74. package/bundle/obf/src/commands/lint.js +1 -1
  75. package/bundle/obf/src/commands/login.js +1 -1
  76. package/bundle/obf/src/commands/logout.js +1 -1
  77. package/bundle/obf/src/commands/logs.js +1 -1
  78. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  79. package/bundle/obf/src/commands/murder.js +1 -1
  80. package/bundle/obf/src/commands/proxy.js +1 -1
  81. package/bundle/obf/src/commands/reconfig.js +1 -1
  82. package/bundle/obf/src/commands/run/_index.js +1 -1
  83. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  84. package/bundle/obf/src/commands/run/run.command.js +1 -1
  85. package/bundle/obf/src/commands/set/_index.js +1 -1
  86. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  87. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  88. package/bundle/obf/src/commands/set/set.command.js +1 -1
  89. package/bundle/obf/src/commands/ssh.js +1 -1
  90. package/bundle/obf/src/commands/ssl.js +1 -1
  91. package/bundle/obf/src/commands/test.js +1 -1
  92. package/bundle/obf/src/commands/version.js +1 -1
  93. package/bundle/obf/src/error.js +1 -1
  94. package/bundle/obf/src/exec.js +1 -1
  95. package/bundle/obf/src/generator.js +1 -1
  96. package/bundle/obf/src/generators/_index.js +1 -1
  97. package/bundle/obf/src/generators/api.js +1 -1
  98. package/bundle/obf/src/generators/collection.js +1 -1
  99. package/bundle/obf/src/generators/component.js +1 -1
  100. package/bundle/obf/src/generators/config.js +1 -1
  101. package/bundle/obf/src/generators/dbc.js +1 -1
  102. package/bundle/obf/src/generators/dockerfile.js +1 -1
  103. package/bundle/obf/src/generators/hook.js +1 -1
  104. package/bundle/obf/src/generators/kit.js +1 -1
  105. package/bundle/obf/src/generators/layout.js +1 -1
  106. package/bundle/obf/src/generators/maka.gen.js +1 -1
  107. package/bundle/obf/src/generators/methods.js +1 -1
  108. package/bundle/obf/src/generators/package.js +1 -1
  109. package/bundle/obf/src/generators/page.js +1 -1
  110. package/bundle/obf/src/generators/publish.js +1 -1
  111. package/bundle/obf/src/generators/route.js +1 -1
  112. package/bundle/obf/src/generators/service.js +1 -1
  113. package/bundle/obf/src/generators/services/_index.js +1 -1
  114. package/bundle/obf/src/generators/services/openssl.js +1 -1
  115. package/bundle/obf/src/generators/services/translation.js +1 -1
  116. package/bundle/obf/src/maka.js +1 -1
  117. package/bundle/obf/src/tool.js +1 -1
  118. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  119. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  120. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  121. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  122. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  123. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  124. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  125. package/bundle/obf/src/tools/https/https.class.js +1 -1
  126. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  127. package/bundle/obf/src/tools/https/progress.class.js +1 -0
  128. package/bundle/obf/src/tools/log/log.class.js +1 -1
  129. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  130. package/bundle/obf/src/tools/options/options.class.js +1 -1
  131. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  132. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  133. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  134. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  135. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  136. package/package.json +1 -1
@@ -1 +1 @@
1
- const a75j=a75d;(function(a,b){const h=a75d,c=a();while(!![]){try{const d=-parseInt(h(0x6b))/0x1*(parseInt(h(0x86))/0x2)+-parseInt(h(0x71))/0x3+parseInt(h(0x70))/0x4+-parseInt(h(0x80))/0x5*(-parseInt(h(0x6c))/0x6)+parseInt(h(0x82))/0x7+-parseInt(h(0x84))/0x8*(-parseInt(h(0x79))/0x9)+parseInt(h(0x81))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a75c,0xd43c3));const a75b=(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;};}()),a75a=a75b(this,function(){const i=a75d;return a75a[i(0x85)]()[i(0x75)](i(0x74))['toString']()[i(0x83)](a75a)[i(0x75)](i(0x74));});function a75d(a,b){const c=a75c();return a75d=function(d,e){d=d-0x6b;let f=c[d];return f;},a75d(a,b);}a75a();function a75c(){const l=['2591096wosNlD','4339842OJmFor','verbose','create','(((.+)+)+)+$','search','getConfigPath','pm2\x20logs','parse','3303uorgxH','logs','sshSync','log','ssh.json','maka\x20logs\x20--env\x20dev','maka\x20logs\x20--env\x20staging','20qYFwED','8239070yXXzhV','7749035gdszxe','constructor','13544Qqmgnv','toString','2vLhTNp','env','894716PvrYOf','15942EMaNjU','join','fsi','maka\x20l\x20-e\x20p'];a75c=function(){return l;};return a75c();}import a75e from'fs';import a75f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a75j(0x73)]({'name':a75j(0x7a),'aliases':['l',a75j(0x7c)],'usage':'maka\x20logs','requiredOpts':[a75j(0x87)],'mustBeInMakaProject':!![],'validOpts':[a75j(0x72)],'shortDesc':'View\x20the\x20PM2\x20logs','examples':[a75j(0x7e),a75j(0x7f),a75j(0x6f)]},function(a,b){const k=a75j,c=k(0x77),d=this[k(0x6e)][k(0x76)](b['env']),e=a75f[k(0x6d)](d,k(0x7d)),f=a75e['readFileSync'](e),g=JSON[k(0x78)](f['toString']());Object['assign'](g,{'env':d}),SSH[k(0x7b)](c,g,{'tty':!![],'verbose':!![]});});
1
+ const a76k=a76d;(function(a,b){const h=a76d,c=a();while(!![]){try{const d=-parseInt(h(0x17b))/0x1*(-parseInt(h(0x187))/0x2)+-parseInt(h(0x179))/0x3*(-parseInt(h(0x17e))/0x4)+parseInt(h(0x185))/0x5+parseInt(h(0x184))/0x6+parseInt(h(0x170))/0x7+-parseInt(h(0x178))/0x8*(-parseInt(h(0x16f))/0x9)+-parseInt(h(0x17d))/0xa*(parseInt(h(0x172))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a76c,0x23657));const a76b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a76d;if(c){const e=c[i(0x17f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a76a=a76b(this,function(){const j=a76d;return a76a[j(0x16e)]()[j(0x175)](j(0x189))[j(0x16e)]()[j(0x177)](a76a)[j(0x175)](j(0x189));});a76a();import a76e from'fs';import a76f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';function a76d(a,b){const c=a76c();return a76d=function(d,e){d=d-0x16d;let f=c[d];return f;},a76d(a,b);}Command[a76k(0x174)]({'name':a76k(0x176),'aliases':['l',a76k(0x181)],'usage':a76k(0x183),'requiredOpts':[a76k(0x17a)],'mustBeInMakaProject':!![],'validOpts':[a76k(0x171)],'shortDesc':'View\x20the\x20PM2\x20logs','examples':[a76k(0x17c),'maka\x20logs\x20--env\x20staging',a76k(0x173)]},function(a,b){const l=a76k,c='pm2\x20logs',d=this['fsi'][l(0x186)](b[l(0x17a)]),e=a76f[l(0x182)](d,'ssh.json'),f=a76e[l(0x188)](e),g=JSON[l(0x18a)](f[l(0x16e)]());Object[l(0x180)](g,{'env':d}),SSH[l(0x16d)](c,g,{'tty':!![],'verbose':!![]});});function a76c(){const m=['assign','log','join','maka\x20logs','1276848fNBIYZ','660280SsLMOk','getConfigPath','32710dsRxUL','readFileSync','(((.+)+)+)+$','parse','sshSync','toString','3573eqKIwk','779492gVFFwL','verbose','11QjtaZp','maka\x20l\x20-e\x20p','create','search','logs','constructor','3816PkIeTM','1752gZzRJC','env','11EnpmVQ','maka\x20logs\x20--env\x20dev','7692790iItsUI','608LInybZ','apply'];a76c=function(){return m;};return a76c();}
@@ -1 +1 @@
1
- function a76d(a,b){const c=a76c();return a76d=function(d,e){d=d-0xfd;let f=c[d];return f;},a76d(a,b);}const a76i=a76d;(function(a,b){const g=a76d,c=a();while(!![]){try{const d=parseInt(g(0x10a))/0x1*(-parseInt(g(0x110))/0x2)+parseInt(g(0x111))/0x3*(-parseInt(g(0x108))/0x4)+-parseInt(g(0x101))/0x5*(-parseInt(g(0x10f))/0x6)+parseInt(g(0xfe))/0x7+-parseInt(g(0x103))/0x8*(-parseInt(g(0x112))/0x9)+parseInt(g(0x10c))/0xa+-parseInt(g(0x114))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a76c,0xca0b7));const a76b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a76a=a76b(this,function(){const h=a76d;return a76a[h(0x107)]()[h(0x105)](h(0x10d))['toString']()[h(0xff)](a76a)[h(0x105)](h(0x10d));});function a76c(){const k=['14829vibfvL','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','9114470KLCdpg','(((.+)+)+)+$','maka\x20create\x20Todo','4632ERcdZT','130BJeYKN','144sQQbyj','7132275nGUmkQ','maybeProxyCommandToMeteor','11767393qwqNxr','maka','\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.-:\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20:-.\x20\x20\x20\x20\x20:--\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::\x20\x20::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::::::\x20.:::::::\x20..\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20..:.....\x20.::..::.\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20.::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::::::\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20\x20::::::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::..-::.\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::....\x20\x20::..---:..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20.\x20.:::::::\x20\x20::..::.\x20..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20\x20:.\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:--\x20\x20\x20\x20\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-:\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20:\x0a.:..::...::.\x20\x20\x20....:\x20\x20\x20.:\x20\x20\x20::\x20\x20....:.\x20\x20\x20\x20\x20\x20\x20\x20.::::\x20\x20.:\x20\x20::\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20\x20....:-\x20\x20.-..:.\x20\x20\x20....:-\x20\x20...\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20.:\x20\x20\x20:-\x20\x20.-\x20\x20.:\x20\x20.:\x20\x20\x20:-\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a.:.\x20\x20\x20:.\x20\x20\x20.:\x20\x20....\x20:.\x20.:.\x20\x20..\x20\x20....\x20:.\x20\x20\x20\x20\x20\x20\x20.....\x20\x20.:.\x20.:.\x0a\x0a\x20\x20','maka\x20<command>\x20[<args>]\x20[<opts>]','error','943558WIdogc','constructor','maka\x20--help','5900fkOqjW','runSubCommand','16ZnlJck','maka\x20run','search','findSubCommand','toString','56744BKvqNX','maka\x20install\x20meteor'];a76c=function(){return k;};return a76c();}a76a();import{Command}from'../command.js';const Maka=new Command({'name':a76i(0x115),'minArgLength':0x1,'shortDesc':a76i(0x10b),'validOpts':[],'usage':a76i(0x117),'disableAuthCheck':!![],'examples':[a76i(0x100),a76i(0x109),a76i(0x10e),a76i(0x104)],'description':a76i(0x116)},async function(a,b){const j=a76i;try{const c=a[0x0],d=this[j(0x106)](c);d?this[j(0x102)](c,a['slice'](0x1),b):this['fsi'][j(0x113)]();}catch(f){console[j(0xfd)](f),process['exit'](0x1);}});export default Maka;
1
+ function a77c(){const k=['toString','maka','164798DliGvC','error','523845BuQZCf','(((.+)+)+)+$','maka\x20install\x20meteor','fsi','4564536EnRjbE','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','4854235GSxwmn','72126ZmesbM','findSubCommand','4tgNJYO','slice','maka\x20--help','maka\x20run','31140340nFjZsE','search','maka\x20<command>\x20[<args>]\x20[<opts>]','\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.-:\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20:-.\x20\x20\x20\x20\x20:--\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::\x20\x20::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::::::\x20.:::::::\x20..\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20..:.....\x20.::..::.\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20.::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::::::\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20\x20::::::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::..-::.\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::....\x20\x20::..---:..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20.\x20.:::::::\x20\x20::..::.\x20..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20\x20:.\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:--\x20\x20\x20\x20\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-:\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20:\x0a.:..::...::.\x20\x20\x20....:\x20\x20\x20.:\x20\x20\x20::\x20\x20....:.\x20\x20\x20\x20\x20\x20\x20\x20.::::\x20\x20.:\x20\x20::\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20\x20....:-\x20\x20.-..:.\x20\x20\x20....:-\x20\x20...\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20.:\x20\x20\x20:-\x20\x20.-\x20\x20.:\x20\x20.:\x20\x20\x20:-\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a.:.\x20\x20\x20:.\x20\x20\x20.:\x20\x20....\x20:.\x20.:.\x20\x20..\x20\x20....\x20:.\x20\x20\x20\x20\x20\x20\x20.....\x20\x20.:.\x20.:.\x0a\x0a\x20\x20','maka\x20create\x20Todo','180WJrRJn','3878139dMEgsO','exit','runSubCommand','14BffXbn','6BQIpCx','constructor'];a77c=function(){return k;};return a77c();}const a77i=a77d;(function(a,b){const g=a77d,c=a();while(!![]){try{const d=parseInt(g(0xad))/0x1*(-parseInt(g(0xa8))/0x2)+-parseInt(g(0xa5))/0x3*(parseInt(g(0x9b))/0x4)+parseInt(g(0x98))/0x5*(parseInt(g(0xa9))/0x6)+parseInt(g(0x92))/0x7+-parseInt(g(0x96))/0x8+parseInt(g(0x99))/0x9*(-parseInt(g(0xa4))/0xa)+parseInt(g(0x9f))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0xaeaf0));const a77b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){const h=a77d;return a77a['toString']()['search'](h(0x93))[h(0xab)]()[h(0xaa)](a77a)[h(0xa0)](h(0x93));});a77a();import{Command}from'../command.js';const Maka=new Command({'name':a77i(0xac),'minArgLength':0x1,'shortDesc':a77i(0x97),'validOpts':[],'usage':a77i(0xa1),'disableAuthCheck':!![],'examples':[a77i(0x9d),a77i(0x94),a77i(0xa3),a77i(0x9e)],'description':a77i(0xa2)},async function(a,b){const j=a77i;try{const c=a[0x0],d=this[j(0x9a)](c);d?this[j(0xa7)](c,a[j(0x9c)](0x1),b):this[j(0x95)]['maybeProxyCommandToMeteor']();}catch(f){console[j(0xae)](f),process[j(0xa6)](0x1);}});function a77d(a,b){const c=a77c();return a77d=function(d,e){d=d-0x92;let f=c[d];return f;},a77d(a,b);}export default Maka;
@@ -1 +1 @@
1
- var a77h=a77d;function a77d(a,b){var c=a77c();return a77d=function(d,e){d=d-0x170;var f=c[d];return f;},a77d(a,b);}(function(a,b){var f=a77d,c=a();while(!![]){try{var d=-parseInt(f(0x172))/0x1+parseInt(f(0x17f))/0x2+parseInt(f(0x17a))/0x3+parseInt(f(0x171))/0x4*(-parseInt(f(0x177))/0x5)+-parseInt(f(0x17d))/0x6*(parseInt(f(0x178))/0x7)+-parseInt(f(0x179))/0x8*(-parseInt(f(0x174))/0x9)+-parseInt(f(0x173))/0xa*(-parseInt(f(0x180))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0xca3dd));var a77b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){var g=a77d;return a77a[g(0x181)]()['search'](g(0x17b))['toString']()[g(0x17c)](a77a)[g(0x170)](g(0x17b));});function a77c(){var j=['(((.+)+)+)+$','constructor','264kvxAlm','exit','1321348PitgLZ','11ZseUfy','toString','maka\x20murder','create','search','152Pllvoj','602568dLdGeR','1596230ukOAci','62397pVMRvl','%c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.___.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20,-^\x20\x20\x20\x20\x20^-.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x0a.-------|\x20|--------------/\x20\x20__\x20\x20\x20\x20\x20__\x20\x20\x5c-------------------.__\x0a|WMWMWMW|\x20|>>>>>>>>>>>>>\x20|\x20/>>\x5c\x20\x20\x20/>>\x5c\x20|>>>>>>>>>>>>>>>>>>>>>>:>\x0a`-------|\x20|--------------|\x20\x5c__/\x20\x20\x20\x5c__/\x20|-------------------\x27^^\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x5c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20/|\x5c\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x5c_/\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|+H+H+H+|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20^-----^\x0a\x0a','log','76960zPhyII','210791mVoxKR','1592PHyrtl','3422559hnmCEO'];a77c=function(){return j;};return a77c();}a77a();import{Command}from'../command.js';Command[a77h(0x183)]({'name':'murder','usage':a77h(0x182),'maxArgLength':0x1,'shortDesc':'Murrrrderrrrr','validOpts':[]},async function(){var i=a77h;try{console[i(0x176)](i(0x175),'font-family:\x20monospace');}catch(a){console['error'](a),process[i(0x17e)](0x0);}});
1
+ var a78i=a78d;(function(a,b){var f=a78d,c=a();while(!![]){try{var d=-parseInt(f(0x1a5))/0x1*(parseInt(f(0x1b4))/0x2)+-parseInt(f(0x1ae))/0x3+-parseInt(f(0x1b5))/0x4+-parseInt(f(0x1a2))/0x5+-parseInt(f(0x1ad))/0x6+parseInt(f(0x1a4))/0x7+parseInt(f(0x1a3))/0x8*(parseInt(f(0x1a7))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0xe3d67));function a78d(a,b){var c=a78c();return a78d=function(d,e){d=d-0x1a2;var f=c[d];return f;},a78d(a,b);}function a78c(){var k=['3264332YdvgVU','2467680xmuEcu','160GfyRGm','4026008vTPAtd','119386IkgqjT','create','1677915VyrIgs','apply','search','log','%c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.___.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20,-^\x20\x20\x20\x20\x20^-.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x0a.-------|\x20|--------------/\x20\x20__\x20\x20\x20\x20\x20__\x20\x20\x5c-------------------.__\x0a|WMWMWMW|\x20|>>>>>>>>>>>>>\x20|\x20/>>\x5c\x20\x20\x20/>>\x5c\x20|>>>>>>>>>>>>>>>>>>>>>>:>\x0a`-------|\x20|--------------|\x20\x5c__/\x20\x20\x20\x5c__/\x20|-------------------\x27^^\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x5c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20/|\x5c\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x5c_/\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|+H+H+H+|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20^-----^\x0a\x0a','murder','4498260WKcjoW','2859402zClhSh','maka\x20murder','exit','toString','Murrrrderrrrr','(((.+)+)+)+$','6sDLmVE'];a78c=function(){return k;};return a78c();}var a78b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a78d;if(c){var e=c[g(0x1a8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){var h=a78d;return a78a[h(0x1b1)]()[h(0x1a9)](h(0x1b3))[h(0x1b1)]()['constructor'](a78a)[h(0x1a9)]('(((.+)+)+)+$');});a78a();import{Command}from'../command.js';Command[a78i(0x1a6)]({'name':a78i(0x1ac),'usage':a78i(0x1af),'maxArgLength':0x1,'shortDesc':a78i(0x1b2),'validOpts':[]},async function(){var j=a78i;try{console[j(0x1aa)](j(0x1ab),'font-family:\x20monospace');}catch(a){console['error'](a),process[j(0x1b0)](0x0);}});
@@ -1 +1 @@
1
- const a78p=a78d;(function(a,b){const n=a78d,c=a();while(!![]){try{const d=parseInt(n(0x168))/0x1+parseInt(n(0x160))/0x2+-parseInt(n(0x16e))/0x3*(-parseInt(n(0x166))/0x4)+parseInt(n(0x16b))/0x5*(parseInt(n(0x176))/0x6)+-parseInt(n(0x15c))/0x7*(-parseInt(n(0x157))/0x8)+parseInt(n(0x16f))/0x9+-parseInt(n(0x164))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x3ffc4));const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const o=a78d;return a78a[o(0x174)]()[o(0x16a)]('(((.+)+)+)+$')[o(0x174)]()['constructor'](a78a)['search'](o(0x16d));});function a78c(){const r=['sslconfig','search','35105BCXkfW','invoke','(((.+)+)+)+$','24AHfjZh','739449UhlFDh','fsi','development','.key','join','toString','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','114ZOadfg','readFileSync','error','appName','maka\x20proxy\x20--target-host\x20http://192.168.1.20','\x20to\x20','findGenerator','targetHost','=>\x20SSL\x20Proxy\x20forwarding\x20','mkKeysDir','bright','.csr','createProxyServer','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','8yQClmU','proxy','listen','.crt','maka\x20proxy','2228933xetcxw','targetPort','genSSC','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','74020pWKwJf','getProjectConfig','help','listenPort','12583030XoCymd','getConfigPath','237748WOHDRV','utf8','473902NBGXlS'];a78c=function(){return r;};return a78c();}a78a();import a78e from'fs';import a78f from'path';import a78g from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x150;let f=c[d];return f;},a78d(a,b);}import a78h from'../generators/maka.gen.js';Command['create']({'name':a78p(0x158),'usage':a78p(0x15b),'mustBeInMakaProject':!![],'validOpts':[a78p(0x162),a78p(0x15d),a78p(0x163),'targetHost'],'maxArgLength':0x1,'shortDesc':a78p(0x175),'description':'\x0a\x20\x20If\x20you\x27re\x20running\x20your\x20Meteor\x20service,\x20and\x20need\x20to\x20stand\x20up\x20an\x20SSL\x0a\x20\x20Proxy,\x20this\x20command\x20will\x20automatically\x20create\x20a\x20key\x20pair\x20for\x20use\x20in\x20an\x20HTTPS\x0a\x20\x20proxy.\x0a\x0a\x20\x20For\x20example,\x20you\x27re\x20running\x20http://localhost:3000\x20with\x20\x22maka\x20run\x22\x20then\x20open\x20a\x20new\x0a\x20\x20terminal\x20and\x20run\x20\x22maka\x20proxy\x22\x20to\x20standup\x20https://localhost:3443.\x0a\x20\x20Then\x20open\x20your\x20browser\x20to\x20that\x20URL\x20(you\x20may\x20need\x20to\x20trust\x20the\x20certificates\x0a\x20\x20because\x20they\x20are\x20self-signed)\x20and\x20you\x27ll\x20have\x20an\x20SSL\x20connection\x20to\x20your\x0a\x20\x20http://localhost:3000.\x0a\x0a\x20\x20To\x20avoid\x20possibly\x20overwriting\x20PKI\x20files\x20in\x20higher\x20environments,\x20\x22maka\x20proxy\x22\x0a\x20\x20will\x20try\x20to\x20only\x20generate\x20/\x20store\x20PKI\x20keys\x20in\x20the\x20development\x20environment.\x0a\x20\x20','examples':[a78p(0x15b),a78p(0x15f),a78p(0x17a)]},async function(a,b){const q=a78p,c=this['fsi'][q(0x161)](),d=q(0x171),e=this[q(0x170)][q(0x165)](d),f=this[q(0x170)][q(0x152)]({'configPath':e}),g=b[q(0x15d)]?Number(b[q(0x15d)]):0xbb8,h=b['listenPort']?Number(b[q(0x163)]):0xd73,i=b['targetHost']?b[q(0x150)]:'localhost',j=a78f[q(0x173)](f,c[q(0x179)]+q(0x172)),k=a78f[q(0x173)](f,c[q(0x179)]+q(0x15a));if(!this[q(0x170)]['isFile'](j)||!this[q(0x170)]['isFile'](k)){const m=a78h[q(0x17c)](q(0x169));m&&await m[q(0x16c)](['sslconfig'],{'env':d}),SSL['genCSR']({'keyName':c[q(0x179)]+'.key','csrName':c['appName']+q(0x154),'cwd':f}),SSL[q(0x15e)]({'keyName':c[q(0x179)]+q(0x172),'crtName':c[q(0x179)]+q(0x15a),'cwd':f});}if(g===h){Log[q(0x178)](q(0x156));throw new UsageError();}const l={'ssl':{'key':a78e[q(0x177)](j,'utf8'),'cert':a78e[q(0x177)](k,q(0x167))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a78g[q(0x155)](l)[q(0x159)](Number(h)),Log[q(0x153)](q(0x151)+h+q(0x17b)+g);});
1
+ const a79q=a79d;(function(a,b){const n=a79d,c=a();while(!![]){try{const d=-parseInt(n(0x1b3))/0x1*(parseInt(n(0x1aa))/0x2)+parseInt(n(0x1cc))/0x3+parseInt(n(0x1b5))/0x4*(-parseInt(n(0x1bf))/0x5)+parseInt(n(0x1ad))/0x6+-parseInt(n(0x1a0))/0x7+parseInt(n(0x1a5))/0x8+-parseInt(n(0x1d1))/0x9*(parseInt(n(0x1b8))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x86163));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a79d;if(c){const e=c[o(0x1bd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const p=a79d;return a79a[p(0x1ab)]()['search'](p(0x1a1))[p(0x1ab)]()[p(0x1a8)](a79a)[p(0x1b6)](p(0x1a1));});a79a();import a79e from'fs';import a79f from'path';import a79g from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a79c(){const s=['readFileSync','create','targetPort','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','listen','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','utf8','.csr','.crt','sslconfig','1398879OjSVNR','genSSC','getConfigPath','\x20to\x20','getProjectConfig','9571365RzZpgm','211540itHzMY','(((.+)+)+)+$','error','=>\x20SSL\x20Proxy\x20forwarding\x20','appName','8151616ZiAbbk','maka\x20proxy','.key','constructor','maka\x20proxy\x20--target-host\x20http://192.168.1.20','4UhjtkG','toString','join','2129202MrMsjp','\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','findGenerator','targetHost','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','genCSR','22025aCObnI','development','306276qLPVYv','search','fsi','10HfaMXK','proxy','bright','createProxyServer','help','apply','listenPort','10vyEcep','mkKeysDir','isFile'];a79c=function(){return s;};return a79c();}import{UsageError}from'../error.js';function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x1a0;let f=c[d];return f;},a79d(a,b);}import{SSL}from'../tools/ssl/ssl.class.js';import a79h from'../generators/maka.gen.js';Command[a79q(0x1c3)]({'name':a79q(0x1b9),'usage':'maka\x20proxy','mustBeInMakaProject':!![],'validOpts':[a79q(0x1bc),a79q(0x1c4),a79q(0x1be),a79q(0x1b0)],'maxArgLength':0x1,'shortDesc':a79q(0x1c7),'description':a79q(0x1ae),'examples':[a79q(0x1a6),a79q(0x1c5),a79q(0x1a9)]},async function(a,b){const r=a79q,c=this[r(0x1b7)][r(0x1d0)](),d=r(0x1b4),e=this[r(0x1b7)][r(0x1ce)](d),f=this[r(0x1b7)][r(0x1c0)]({'configPath':e}),g=b[r(0x1c4)]?Number(b[r(0x1c4)]):0xbb8,h=b[r(0x1be)]?Number(b[r(0x1be)]):0xd73,i=b[r(0x1b0)]?b[r(0x1b0)]:'localhost',j=a79f[r(0x1ac)](f,c['appName']+r(0x1a7)),k=a79f['join'](f,c[r(0x1a4)]+r(0x1ca));if(!this[r(0x1b7)][r(0x1c1)](j)||!this[r(0x1b7)][r(0x1c1)](k)){const m=a79h[r(0x1af)](r(0x1cb));m&&await m['invoke'](['sslconfig'],{'env':d}),SSL[r(0x1b2)]({'keyName':c[r(0x1a4)]+r(0x1a7),'csrName':c[r(0x1a4)]+r(0x1c9),'cwd':f}),SSL[r(0x1cd)]({'keyName':c[r(0x1a4)]+r(0x1a7),'crtName':c[r(0x1a4)]+r(0x1ca),'cwd':f});}if(g===h){Log[r(0x1a2)](r(0x1b1));throw new UsageError();}const l={'ssl':{'key':a79e[r(0x1c2)](j,r(0x1c8)),'cert':a79e[r(0x1c2)](k,r(0x1c8))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a79g[r(0x1bb)](l)[r(0x1c6)](Number(h)),Log[r(0x1ba)](r(0x1a3)+h+r(0x1cf)+g);});
@@ -1 +1 @@
1
- const a79q=a79d;function a79c(){const s=['existsSync','~/ses.json','127328hcJDDM','\x0a\x20\x20If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x0a\x20\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.\x0a\x20\x20','apply','parse','echo\x20\x22\x22\x20&&\x20pm2\x20start\x20pm2.config.js\x20&&\x20echo\x20\x22\x22\x20||\x20echo\x20\x22Cound\x20not\x20find\x20PM2,\x20have\x20you\x20deployed\x20the\x20app\x20yet?\x22','reconfig','1350OfrwSM','12ubXubj','toString','sshSync','~/pm2.config.js','scp','getConfigPath','106236NaOILA','assign','23863glGOhM','constructor','search','fsi','settings.json','138585FwadzN','41238sSwTFW','ssh','4710DgLwjA','42ZjcqIE','ssh.json','Checking\x20remote\x20host\x20availability','uname\x20-a','ses.json','pm2.config.js','ping','pm2\x20delete\x20all','(((.+)+)+)+$','Remote\x20host\x20connection\x20successful','create','_keys','774256VrDiCW','Reconfigure\x20your\x20deployed\x20applications','join','notice','maka\x20reconfig','env'];a79c=function(){return s;};return a79c();}(function(a,b){const n=a79d,c=a();while(!![]){try{const d=-parseInt(n(0x199))/0x1+parseInt(n(0x191))/0x2+-parseInt(n(0x18b))/0x3*(-parseInt(n(0x1b0))/0x4)+-parseInt(n(0x198))/0x5+parseInt(n(0x19c))/0x6*(parseInt(n(0x193))/0x7)+-parseInt(n(0x1a8))/0x8+-parseInt(n(0x18a))/0x9*(-parseInt(n(0x19b))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x1aaa6));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a79d;if(c){const e=c[o(0x1b2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const p=a79d;return a79a[p(0x18c)]()['search']('(((.+)+)+)+$')[p(0x18c)]()[p(0x194)](a79a)[p(0x195)](p(0x1a4));});a79a();import a79e from'fs';import a79f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x187;let f=c[d];return f;},a79d(a,b);}import{SSH}from'../tools/ssh/ssh.class.js';Command[a79q(0x1a6)]({'name':a79q(0x189),'validOpts':[''],'requiredOpts':[a79q(0x1ad)],'mustBeInMakaProject':!![],'usage':a79q(0x1ac),'shortDesc':a79q(0x1a9),'description':a79q(0x1b1),'examples':['maka\x20reconfig\x20--env\x20prod']},async function(a,b){const r=a79q;try{const c=this[r(0x196)][r(0x190)](b['env']),d=a79f[r(0x1aa)](c,r(0x19d)),f=a79e['readFileSync'](d)['toString'](),g=JSON[r(0x187)](f);Object[r(0x192)](g,{'env':c}),Log[r(0x1ab)](r(0x19e));const h=SSH[r(0x1a2)](r(0x19f),g);if(!h)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(h)Log['success'](r(0x1a5));const i=a79f[r(0x1aa)](c,r(0x1a7),r(0x1a0));if(a79e[r(0x1ae)](i)){const l={'source':i,'dest':r(0x1af),'verbose':!![]};SSH[r(0x18f)](l,{...g});}const j=a79f[r(0x1aa)](c,r(0x1a1));SSH[r(0x18f)]({'source':j,'dest':r(0x18e),'verbose':!![]},{...g});const k=a79f[r(0x1aa)](c,r(0x197));SSH[r(0x18f)]({'source':k,'dest':'~/settings.json','verbose':!![]},{...g}),SSH[r(0x18d)](r(0x1a3),g),await SSH[r(0x19a)](r(0x188),{...g},{'verbose':!![]});}catch(m){console['error'](m),process['exit'](0x0);}});
1
+ function a80c(){const r=['pm2.config.js','279713xloyIq','fsi','2883760GQLkrQ','~/ses.json','toString','scp','sshSync','ssh','parse','create','settings.json','constructor','success','24GNJTko','readFileSync','186EBtWRE','(((.+)+)+)+$','12873xceFRp','~/settings.json','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','ssh.json','30aUklST','getConfigPath','reconfig','3646161VRQeqn','exit','Checking\x20remote\x20host\x20availability','pm2\x20delete\x20all','2953812rcoFvz','uname\x20-a','search','_keys','join','602820uQfolP','Reconfigure\x20your\x20deployed\x20applications','Remote\x20host\x20connection\x20successful','14502ClAGVg','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','notice'];a80c=function(){return r;};return a80c();}const a80p=a80d;(function(a,b){const n=a80d,c=a();while(!![]){try{const d=-parseInt(n(0x1d5))/0x1+parseInt(n(0x1bc))/0x2*(parseInt(n(0x1d1))/0x3)+parseInt(n(0x1c9))/0x4+parseInt(n(0x1d7))/0x5+parseInt(n(0x1ce))/0x6+parseInt(n(0x1be))/0x7*(parseInt(n(0x1ba))/0x8)+-parseInt(n(0x1c5))/0x9*(parseInt(n(0x1c2))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0x5bb66));const a80b=(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;};}()),a80a=a80b(this,function(){const o=a80d;return a80a[o(0x1d9)]()[o(0x1cb)](o(0x1bd))[o(0x1d9)]()[o(0x1b8)](a80a)[o(0x1cb)](o(0x1bd));});a80a();import a80e from'fs';import a80f from'path';import{Command}from'../command.js';function a80d(a,b){const c=a80c();return a80d=function(d,e){d=d-0x1b5;let f=c[d];return f;},a80d(a,b);}import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a80p(0x1b6)]({'name':a80p(0x1c4),'validOpts':[''],'requiredOpts':['env'],'mustBeInMakaProject':!![],'usage':'maka\x20reconfig','shortDesc':a80p(0x1cf),'description':'\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','examples':['maka\x20reconfig\x20--env\x20prod']},async function(a,b){const q=a80p;try{const c=this[q(0x1d6)][q(0x1c3)](b['env']),d=a80f[q(0x1cd)](c,q(0x1c1)),f=a80e[q(0x1bb)](d)[q(0x1d9)](),g=JSON[q(0x1b5)](f);Object['assign'](g,{'env':c}),Log[q(0x1d3)](q(0x1c7));const h=SSH['ping'](q(0x1ca),g);if(!h)throw q(0x1d2);if(h)Log[q(0x1b9)](q(0x1d0));const i=a80f[q(0x1cd)](c,q(0x1cc),'ses.json');if(a80e['existsSync'](i)){const l={'source':i,'dest':q(0x1d8),'verbose':!![]};SSH[q(0x1da)](l,{...g});}const j=a80f[q(0x1cd)](c,q(0x1d4));SSH[q(0x1da)]({'source':j,'dest':'~/pm2.config.js','verbose':!![]},{...g});const k=a80f['join'](c,q(0x1b7));SSH[q(0x1da)]({'source':k,'dest':q(0x1bf),'verbose':!![]},{...g}),SSH[q(0x1db)](q(0x1c8),g),await SSH[q(0x1dc)](q(0x1c0),{...g},{'verbose':!![]});}catch(m){console['error'](m),process[q(0x1c6)](0x0);}});
@@ -1 +1 @@
1
- function a80c(){var i=['144490XmkAWV','3346OHKVHS','toString','268940fORCYs','13116oJEzGn','(((.+)+)+)+$','648772BrUzMI','apply','827616KjQHGb','search','3870170EYnzfe','1494RPmBnv','1nDgecl','4447504JIElAH'];a80c=function(){return i;};return a80c();}(function(a,b){var f=a80d,c=a();while(!![]){try{var d=parseInt(f(0xe0))/0x1*(parseInt(f(0xd7))/0x2)+parseInt(f(0xdc))/0x3+parseInt(f(0xda))/0x4+-parseInt(f(0xde))/0x5+-parseInt(f(0xd8))/0x6*(parseInt(f(0xd5))/0x7)+-parseInt(f(0xd3))/0x8+-parseInt(f(0xdf))/0x9*(-parseInt(f(0xd4))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0x918dd));var a80b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a80d;if(c){var e=c[g(0xdb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){var h=a80d;return a80a[h(0xd6)]()[h(0xdd)]('(((.+)+)+)+$')[h(0xd6)]()['constructor'](a80a)[h(0xdd)](h(0xd9));});a80a();function a80d(a,b){var c=a80c();return a80d=function(d,e){d=d-0xd3;var f=c[d];return f;},a80d(a,b);}import'./run.command.js';import'./docker.sub.cmd.js';
1
+ (function(a,b){var f=a81d,c=a();while(!![]){try{var d=parseInt(f(0x8d))/0x1*(parseInt(f(0x93))/0x2)+parseInt(f(0x8f))/0x3+parseInt(f(0x96))/0x4+-parseInt(f(0x91))/0x5+-parseInt(f(0x8e))/0x6+-parseInt(f(0x90))/0x7+-parseInt(f(0x8c))/0x8*(-parseInt(f(0x94))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0x2f757));var a81b=(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;};}()),a81a=a81b(this,function(){var g=a81d;return a81a['toString']()[g(0x92)]('(((.+)+)+)+$')[g(0x95)]()[g(0x97)](a81a)[g(0x92)]('(((.+)+)+)+$');});a81a();function a81d(a,b){var c=a81c();return a81d=function(d,e){d=d-0x8c;var f=c[d];return f;},a81d(a,b);}import'./run.command.js';function a81c(){var h=['search','3780pOyxek','18ZENOqw','toString','764280AQRcoI','constructor','512168VibUcX','20iUGbBW','742386vKQSiB','672510MjVLaP','1838669IACxdR','1465Chiomm'];a81c=function(){return h;};return a81c();}import'./docker.sub.cmd.js';
@@ -1 +1 @@
1
- const a81l=a81d;function a81d(a,b){const c=a81c();return a81d=function(d,e){d=d-0x1d3;let f=c[d];return f;},a81d(a,b);}(function(a,b){const i=a81d,c=a();while(!![]){try{const d=parseInt(i(0x1d8))/0x1*(parseInt(i(0x1f2))/0x2)+-parseInt(i(0x1d7))/0x3*(parseInt(i(0x1d5))/0x4)+parseInt(i(0x1ec))/0x5+parseInt(i(0x1e2))/0x6+parseInt(i(0x1e7))/0x7+-parseInt(i(0x1d4))/0x8*(-parseInt(i(0x1d6))/0x9)+-parseInt(i(0x1df))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0xe386b));const a81b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a81d;if(c){const e=c[j(0x1f1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){const k=a81d;return a81a['toString']()[k(0x1d9)](k(0x1d3))['toString']()[k(0x1e9)](a81a)[k(0x1d9)](k(0x1d3));});a81a();import a81e from'./run.command.js';import{execSync}from'child_process';import a81f from'path';import a81g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';function a81c(){const n=['apply','1718fqVZGB','(((.+)+)+)+$','153880ElieKB','4BsnUeB','81RQhWAp','4830711hIzrav','2069hewypk','search','exit','inherit','docker-compose\x20--project-directory\x20','notice','\x20up\x20--remove-orphans','40237910uQAHLJ','pm2.config.js','create','8888886HFeScS','config/docker-compose.yaml','createFile','fsi','\x0a\x20\x20Run\x20your\x20application\x20in\x20a\x20Docker\x20container.\x20\x20Docker\x20Desktop\x20or\x20Colmia\x20is\x20required.\x0a\x0a\x20\x20Colima\x20is\x20a\x20great\x20alternative\x20to\x20Docker\x20Desktop,\x20and\x20it\x20is\x20free!\x0a\x20\x20Colima:\x20https://github.com/abiosoft/colima\x0a\x0a\x0a\x20\x20A\x20docker-compose.yml\x20file\x20(location\x20defaulted\x20to\x20the\x20\x22config/docker\x22\x20folder)\x0a\x20\x20is\x20used\x20to\x20startup\x20mongo\x20and\x20load\x20the\x20built\x20image\x27\x0a\x20\x20','11276573SEkhQm','Docker\x20Compose\x20Path:\x20','constructor','appName','templateContent','7615845oXODtA','PM2\x20Config\x20File:\x20','docker-compose.yaml','getConfigPath','docker'];a81c=function(){return n;};return a81c();}Command[a81l(0x1e1)]({'name':a81l(0x1f0),'aliases':['d'],'shortDesc':'Run\x20your\x20application\x20in\x20a\x20Docker\x20container','description':a81l(0x1e6),'usage':'maka\x20run\x20docker','validOpts':['']},async function(){const m=a81l;try{const a=this[m(0x1e5)]['getProjectConfig'](),b=this['fsi'][m(0x1ef)](m(0x1f0)),c=a81f['join'](b,m(0x1ee)),d=a81f['join'](b,m(0x1e0));Log[m(0x1dd)](m(0x1ed)+d),Log[m(0x1dd)](m(0x1e8)+c);if(!a81g['existsSync'](c)){const f={'app':a[m(0x1ea)],'appFileCase':paramCase(a[m(0x1ea)])},g=this[m(0x1e5)][m(0x1eb)]({'srcPath':m(0x1e3),'context':f})+'\x0a';this['fsi'][m(0x1e4)]({'filePath':c,'data':g});}execSync(m(0x1dc)+b+m(0x1de),{'stdio':m(0x1db)});}catch(h){process[m(0x1da)](0x1);}},a81e);
1
+ const a82l=a82d;(function(a,b){const i=a82d,c=a();while(!![]){try{const d=parseInt(i(0x9b))/0x1+-parseInt(i(0xad))/0x2*(-parseInt(i(0xa6))/0x3)+parseInt(i(0x9d))/0x4*(-parseInt(i(0xa8))/0x5)+-parseInt(i(0x9c))/0x6*(parseInt(i(0x9e))/0x7)+parseInt(i(0x97))/0x8*(parseInt(i(0x96))/0x9)+parseInt(i(0xaa))/0xa*(-parseInt(i(0xa2))/0xb)+-parseInt(i(0xa5))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x63749));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a82d;if(c){const e=c[j(0x99)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const k=a82d;return a82a[k(0xa1)]()['search'](k(0x92))[k(0xa1)]()['constructor'](a82a)['search'](k(0x92));});a82a();function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x8f;let f=c[d];return f;},a82d(a,b);}import a82e from'./run.command.js';import{execSync}from'child_process';function a82c(){const n=['notice','8108376ahUGht','12sxhBqD','docker-compose\x20--project-directory\x20','5FDkRVF','\x20up\x20--remove-orphans','7168990oVdiNq','fsi','inherit','364422iIfltF','PM2\x20Config\x20File:\x20','docker-compose.yaml','join','\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','createFile','docker','(((.+)+)+)+$','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','exit','appName','63NjnyEA','921032SdDBCy','pm2.config.js','apply','config/docker-compose.yaml','411595QOUFlN','659406ViLfAv','145900ZpCQML','7ksOmbB','getProjectConfig','Docker\x20Compose\x20Path:\x20','toString','11ltOtTr','maka\x20run\x20docker'];a82c=function(){return n;};return a82c();}import a82f from'path';import a82g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';Command['create']({'name':a82l(0x91),'aliases':['d'],'shortDesc':a82l(0x93),'description':a82l(0x8f),'usage':a82l(0xa3),'validOpts':['']},async function(){const m=a82l;try{const a=this[m(0xab)][m(0x9f)](),b=this[m(0xab)]['getConfigPath']('docker'),c=a82f[m(0xb0)](b,m(0xaf)),d=a82f[m(0xb0)](b,m(0x98));Log[m(0xa4)](m(0xae)+d),Log['notice'](m(0xa0)+c);if(!a82g['existsSync'](c)){const f={'app':a['appName'],'appFileCase':paramCase(a[m(0x95)])},g=this[m(0xab)]['templateContent']({'srcPath':m(0x9a),'context':f})+'\x0a';this[m(0xab)][m(0x90)]({'filePath':c,'data':g});}execSync(m(0xa7)+b+m(0xa9),{'stdio':m(0xac)});}catch(h){process[m(0x94)](0x1);}},a82e);
@@ -1 +1 @@
1
- const a82v=a82d;function a82c(){const y=['isDirectory','invokeMeteorCommand','--production','toString','35fzAUdh','verbose','length','Please\x20provide\x20a\x20URL\x20where\x20your\x20mobile\x20app\x20should\x20connect\x20to\x20your\x20server\x20(e.g.,\x20-m\x20|\x20--mobile-server=https://example-server.com)','Cannot\x20find\x20Node\x20Environment\x20File:\x20','Meteor\x20Settings:\x20','extraPackages','checkMeteorPackage','rawLogs','split','allowIncompatibleUpdate','slice','installMeteorPackage','ios','app','run','production','compareMakaToLatest','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','join','openSync','development','autoupdate','config','823852CkAKVW','search','inspect','722358RuGMtY','docker','constructor','(((.+)+)+)+$','4933690gqqHZd','Run\x20your\x20Meteor\x20application','exclude-archs','cordova-build','264780gvXyYm','filter','--settings','--env','create','runSubCommand','sep','730152NwdjZs','isFile','exit','mobile-server','notice','5GpLOdD','fsi','1606812gpONqt','10QsAxmV','concat','172138frnGXa','.meteor','warn','forEach','settings.json','settings','env','apply','splice'];a82c=function(){return y;};return a82c();}(function(a,b){const r=a82d,c=a();while(!![]){try{const d=parseInt(r(0x1e9))/0x1*(-parseInt(r(0x1ee))/0x2)+-parseInt(r(0x1eb))/0x3+-parseInt(r(0x213))/0x4*(-parseInt(r(0x1ec))/0x5)+parseInt(r(0x216))/0x6+-parseInt(r(0x1fb))/0x7*(-parseInt(r(0x1e4))/0x8)+parseInt(r(0x21e))/0x9+parseInt(r(0x21a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x852e0));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const s=a82d;if(c){const e=c[s(0x1f5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const t=a82d;return a82a['toString']()['search'](t(0x219))[t(0x1fa)]()[t(0x218)](a82a)[t(0x214)]('(((.+)+)+)+$');});a82a();import a82e from'path';import a82f from'fs';import a82g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x1e4;let f=c[d];return f;},a82d(a,b);}import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const u=a82d;a82f[u(0x20f)](a,'r'),a82g[u(0x212)]({'path':a});},Run=Command[a82v(0x222)]({'name':a82v(0x20a),'mustBeInMakaProject':!![],'shortDesc':a82v(0x21b),'description':'\x0a\x20\x20maka\x20run\x0a\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.','validOpts':[a82v(0x1f4),a82v(0x217),'r',a82v(0x203),'p','port','i',a82v(0x215),'m','mobileServer','v',a82v(0x1fc),a82v(0x205),a82v(0x201),'x',a82v(0x21c),a82v(0x20b)]},async function(a,b){const w=a82v;try{const c=this['fsi']['findProjectDirectory']();!this[w(0x1ea)][w(0x202)]('autoupdate')&&(Log[w(0x1e8)]('Verifying\x20meteor\x20package\x20requirements\x20...'),await this['fsi'][w(0x207)](w(0x211),{'cwd':c}));const d=a[0x0],f=this['findSubCommand'](d);f&&this[w(0x223)](d,a,b);if(d===w(0x208)){const n=this['fsi']['findProjectDirectory'](),o=a82e['join'](n,w(0x209),w(0x1ef),'local',w(0x21d));this['fsi'][w(0x1f7)](o)&&await rimraf(o);}if(b[w(0x1e7)]&&b['mobile-server']===!![]||b['m']&&b['m']===!![])throw w(0x1fe);await this[w(0x1ea)][w(0x20c)]();const g=b[w(0x1f4)]?b[w(0x1f4)]:w(0x210),h=this[w(0x1ea)]['getConfigPath'](g),i=a82e[w(0x20e)](h,'process.env');let j=a82e[w(0x20e)](h,w(0x1f2));b[w(0x1f3)]?j=b[w(0x1f3)]:j=a82e[w(0x20e)](h,'settings.json');if(this[w(0x1ea)]['isFile'](i)&&!b['docker'])Log[w(0x1e8)]('Node\x20Env\x20Config:\x20'+i),syncSource(i);else!b[w(0x217)]&&Log[w(0x1f0)](w(0x1ff)+i);this[w(0x1ea)][w(0x1e5)](j)?(Log[w(0x1e8)](w(0x200)+j),a=a['concat']([w(0x220),j])):Log[w(0x1f0)](w(0x20d)+j);const k=h[w(0x204)](a82e[w(0x224)]),l=k[k[w(0x1fd)]-0x1];l==='production'&&a['push'](w(0x1f9));const m=process['argv'][w(0x206)](0x2)[w(0x21f)](p=>p!=='run')[w(0x21f)](p=>p!==a[0x0]);m[w(0x1f1)]((p,q)=>{const x=w;p===x(0x221)&&m['splice'](q,0x2),p==='-e'&&m[x(0x1f6)](q,0x2);}),this[w(0x1ea)][w(0x1f8)](w(0x20a),a[w(0x1ed)](m));}catch(p){console['error'](p),process[w(0x1e6)](0x1);}});export default Run;
1
+ const a83v=a83d;(function(a,b){const r=a83d,c=a();while(!![]){try{const d=parseInt(r(0x1d2))/0x1+parseInt(r(0x1fa))/0x2+parseInt(r(0x1ef))/0x3+-parseInt(r(0x1bf))/0x4+-parseInt(r(0x1f0))/0x5*(-parseInt(r(0x1e9))/0x6)+-parseInt(r(0x1d9))/0x7+-parseInt(r(0x1eb))/0x8*(-parseInt(r(0x1f2))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0x7f4d5));function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0x1b7;let f=c[d];return f;},a83d(a,b);}const a83b=(function(){let a=!![];return function(b,c){const d=a?function(){const s=a83d;if(c){const e=c[s(0x1dc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){const t=a83d;return a83a['toString']()['search']('(((.+)+)+)+$')[t(0x1b7)]()[t(0x1d4)](a83a)[t(0x1de)](t(0x1c3));});a83a();import a83e from'path';import a83f from'fs';import a83g from'dotenv';function a83c(){const y=['concat','sep','findProjectDirectory','Node\x20Env\x20Config:\x20','forEach','error','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)','autoupdate','Verifying\x20meteor\x20package\x20requirements\x20...','filter','269347vwzAKh','config','constructor','rawLogs','extraPackages','join','length','7182511bGVOal','installMeteorPackage','push','apply','process.env','search','production','app','splice','docker','mobile-server','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','local','cordova-build','run','invokeMeteorCommand','741516uHKQZM','development','8VaxFVz','openSync','settings.json','compareMakaToLatest','392238QPAiAd','20uYZNSH','findSubCommand','7808526SEUkIp','env','split','warn','notice','create','verbose','checkMeteorPackage','991230jOvTiC','toString','Meteor\x20Settings:\x20','fsi','ios','exit','.meteor','allowIncompatibleUpdate','slice','2840656iEneoR','exclude-archs','--env','settings','(((.+)+)+)+$','port','inspect','argv','runSubCommand'];a83c=function(){return y;};return a83c();}import{rimraf}from'rimraf';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const u=a83d;a83f[u(0x1ec)](a,'r'),a83g[u(0x1d3)]({'path':a});},Run=Command[a83v(0x1f7)]({'name':a83v(0x1e7),'mustBeInMakaProject':!![],'shortDesc':'Run\x20your\x20Meteor\x20application','description':'\x0a\x20\x20maka\x20run\x0a\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.','validOpts':[a83v(0x1f3),'docker','r',a83v(0x1d5),'p',a83v(0x1c4),'i',a83v(0x1c5),'m','mobileServer','v',a83v(0x1f8),a83v(0x1bd),a83v(0x1d6),'x',a83v(0x1c0),'production']},async function(a,b){const w=a83v;try{const c=this[w(0x1b9)]['findProjectDirectory']();!this[w(0x1b9)][w(0x1f9)](w(0x1cf))&&(Log[w(0x1f6)](w(0x1d0)),await this[w(0x1b9)][w(0x1da)](w(0x1cf),{'cwd':c}));const d=a[0x0],f=this[w(0x1f1)](d);f&&this[w(0x1c7)](d,a,b);if(d===w(0x1ba)){const n=this[w(0x1b9)][w(0x1ca)](),o=a83e['join'](n,w(0x1e0),w(0x1bc),w(0x1e5),w(0x1e6));this[w(0x1b9)]['isDirectory'](o)&&await rimraf(o);}if(b[w(0x1e3)]&&b[w(0x1e3)]===!![]||b['m']&&b['m']===!![])throw w(0x1ce);await this[w(0x1b9)][w(0x1ee)]();const g=b[w(0x1f3)]?b[w(0x1f3)]:w(0x1ea),h=this[w(0x1b9)]['getConfigPath'](g),i=a83e[w(0x1d7)](h,w(0x1dd));let j=a83e['join'](h,w(0x1ed));b[w(0x1c2)]?j=b[w(0x1c2)]:j=a83e[w(0x1d7)](h,w(0x1ed));if(this[w(0x1b9)]['isFile'](i)&&!b[w(0x1e2)])Log[w(0x1f6)](w(0x1cb)+i),syncSource(i);else!b[w(0x1e2)]&&Log[w(0x1f5)]('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+i);this[w(0x1b9)]['isFile'](j)?(Log[w(0x1f6)](w(0x1b8)+j),a=a['concat'](['--settings',j])):Log[w(0x1f5)](w(0x1e4)+j);const k=h[w(0x1f4)](a83e[w(0x1c9)]),l=k[k[w(0x1d8)]-0x1];l===w(0x1df)&&a[w(0x1db)]('--production');const m=process[w(0x1c6)][w(0x1be)](0x2)[w(0x1d1)](p=>p!==w(0x1e7))[w(0x1d1)](p=>p!==a[0x0]);m[w(0x1cc)]((p,q)=>{const x=w;p===x(0x1c1)&&m[x(0x1e1)](q,0x2),p==='-e'&&m[x(0x1e1)](q,0x2);}),this['fsi'][w(0x1e8)](w(0x1e7),a[w(0x1c8)](m));}catch(p){console[w(0x1cd)](p),process[w(0x1bb)](0x1);}});export default Run;
@@ -1 +1 @@
1
- (function(a,b){var f=a83d,c=a();while(!![]){try{var d=-parseInt(f(0xeb))/0x1*(-parseInt(f(0xf3))/0x2)+-parseInt(f(0xea))/0x3+-parseInt(f(0xf1))/0x4+-parseInt(f(0xe9))/0x5*(parseInt(f(0xf0))/0x6)+-parseInt(f(0xf2))/0x7*(parseInt(f(0xf5))/0x8)+-parseInt(f(0xed))/0x9+parseInt(f(0xe7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0x9be45));var a83b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a83d;if(c){var e=c[g(0xee)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){var h=a83d;return a83a[h(0xef)]()[h(0xec)](h(0xf4))[h(0xef)]()[h(0xe8)](a83a)[h(0xec)]('(((.+)+)+)+$');});function a83c(){var i=['3110049nevwIA','1033959nawUrm','search','8994447nHvLvp','apply','toString','206772aKmzIH','3599372pFIhom','2051EWxtzG','2WGTQWO','(((.+)+)+)+$','24008hNKqHl','36610100QgojBj','constructor','35seLQmB'];a83c=function(){return i;};return a83c();}a83a();import'./set.command.js';function a83d(a,b){var c=a83c();return a83d=function(d,e){d=d-0xe7;var f=c[d];return f;},a83d(a,b);}import'./global.sub.cmd.js';import'./local.sub.cmd.js';
1
+ (function(a,b){var f=a84d,c=a();while(!![]){try{var d=-parseInt(f(0x110))/0x1*(parseInt(f(0x10a))/0x2)+parseInt(f(0x109))/0x3*(parseInt(f(0x114))/0x4)+-parseInt(f(0x116))/0x5+-parseInt(f(0x113))/0x6+-parseInt(f(0x10f))/0x7*(parseInt(f(0x112))/0x8)+-parseInt(f(0x111))/0x9*(-parseInt(f(0x10b))/0xa)+parseInt(f(0x10d))/0xb*(parseInt(f(0x10c))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x205d1));var a84b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a84d;if(c){var e=c[g(0x10e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){var h=a84d;return a84a['toString']()[h(0x115)](h(0x117))[h(0x108)]()['constructor'](a84a)[h(0x115)](h(0x117));});function a84d(a,b){var c=a84c();return a84d=function(d,e){d=d-0x108;var f=c[d];return f;},a84d(a,b);}a84a();function a84c(){var i=['34811fzbblj','70729Mzalpp','27MBjNrY','160pNvZxH','1560786PcpyEd','455348qThDJx','search','1162300UwEmgE','(((.+)+)+)+$','toString','3qqiolI','6uJlaQq','312950gyXctg','276qNAFbr','348689LQVYeE','apply'];a84c=function(){return i;};return a84c();}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(0x18f))/0x1*(-parseInt(h(0x1a0))/0x2)+parseInt(h(0x1ab))/0x3+-parseInt(h(0x1a1))/0x4+parseInt(h(0x1a9))/0x5*(parseInt(h(0x199))/0x6)+-parseInt(h(0x1ac))/0x7+parseInt(h(0x1a6))/0x8+parseInt(h(0x18c))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x2f82d));const a84b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){const i=a84d;return a84a[i(0x196)]()[i(0x19f)](i(0x192))[i(0x196)]()['constructor'](a84a)['search']('(((.+)+)+)+$');});a84a();import a84e from'path';import a84f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a84j(0x1ad),'usage':a84j(0x1af),'aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[{'name':a84j(0x1a2),'boolFlag':![]},{'name':a84j(0x1a7),'boolFlag':!![]},{'name':'disallowInsecure','boolFlag':!![]},{'name':a84j(0x18d),'boolFlag':![]},{'name':'openai','boolFlag':![]},{'name':'help','boolFlag':!![]},{'name':'pallet','values':[a84j(0x19b),a84j(0x198)]}],'shortDesc':'Set\x20global\x20Maka-CLI\x20settings','description':a84j(0x1ae),'examples':[a84j(0x195),a84j(0x1a4),a84j(0x1b1)]},async function(a,b){const k=a84j;try{if(b['cacert']){if(this['fsi'][k(0x193)](b[k(0x1a2)]))await this[k(0x1a5)][k(0x19d)]({'cert':b['cacert']}),Log[k(0x1aa)](k(0x19a)+b['cacert']);else{const c=typeof b['cacert']==='boolean'?k(0x197):k(0x1b2)+b['cacert'];throw Log[k(0x1a8)](c);}}if(b['workspace']){const d=this[k(0x1a5)][k(0x18b)](b[k(0x18d)]);if(d)await this[k(0x1a5)][k(0x19d)]({'workspace':a84e[k(0x190)](b[k(0x18d)])}),Log[k(0x1aa)]('Set\x20workspace:\x20'+a84e[k(0x190)](b[k(0x18d)]));else throw Log[k(0x1a8)]('Could\x20not\x20find\x20directory');}b[k(0x18e)]&&(await this[k(0x1a5)]['setGlobalConfig']({'openai':b['openai']}),Log[k(0x1aa)](k(0x19c)+b[k(0x18e)]));b['pallet']&&(await this[k(0x1a5)][k(0x19d)]({'pallet':b[k(0x191)]}),Log[k(0x1aa)](k(0x1b0)+b['pallet']));if(b[k(0x1a7)]){if(b[k(0x1a7)]&&b['disallowInsecure'])throw Log[k(0x1a8)]('One\x20or\x20the\x20other\x20buddy');let f=b[k(0x1a7)];b[k(0x19e)]&&(f=![]),await this[k(0x1a5)][k(0x19d)]({'allowInsecure':f}),Log[k(0x1aa)](k(0x1a3)+f);}process[k(0x194)](0x0);}catch(g){console[k(0x1a8)](g),process[k(0x194)](0x0);}},a84f);function a84d(a,b){const c=a84c();return a84d=function(d,e){d=d-0x18b;let f=c[d];return f;},a84d(a,b);}function a84c(){const l=['745504UfNYSR','cacert','Set\x20allowInsecure:\x20','maka\x20set:gc\x20--insecure\x20<path>','fsi','309472FjsNkH','allowInsecure','error','264595UsAYWh','success','386670RlDWpd','626871fDiIzJ','global-config','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x0a\x20\x20There\x20are\x20occasions\x20where\x20your\x20network\x20may\x20need\x20an\x20intermediate\x20certificate\x0a\x20\x20to\x20allow\x20connections\x20outside.\x20\x20You\x20may\x20set\x20your\x20certificate\x20path\x20using\x20the\x20command:\x0a\x0a\x20\x20maka\x20set:gc\x20--cacert\x0a\x20\x20','maka\x20set:global-config\x20<args>','Set\x20color\x20pallet\x20to:\x20','maka\x20set:gc\x20--workspace\x20<path>','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','isDirectory','2854287FoGSgD','workspace','openai','1NAphvX','resolve','pallet','(((.+)+)+)+$','isFile','exit','maka\x20set:global-config\x20--cacert\x20<path>','toString','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','dark','6oaGNZc','Set\x20CA\x20Cert\x20Path:\x20','light','Set\x20OpenAI\x20Key:\x20','setGlobalConfig','disallowInsecure','search','134204AUfUuj'];a84c=function(){return l;};return a84c();}
1
+ const a85j=a85d;(function(a,b){const h=a85d,c=a();while(!![]){try{const d=parseInt(h(0x1ca))/0x1+-parseInt(h(0x1b7))/0x2*(parseInt(h(0x1c1))/0x3)+parseInt(h(0x1d7))/0x4+-parseInt(h(0x1dc))/0x5*(parseInt(h(0x1c7))/0x6)+-parseInt(h(0x1c2))/0x7*(-parseInt(h(0x1b5))/0x8)+parseInt(h(0x1b4))/0x9+parseInt(h(0x1dd))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0x79283));const a85b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){const i=a85d;return a85a[i(0x1d9)]()[i(0x1b6)](i(0x1b9))[i(0x1d9)]()[i(0x1c4)](a85a)['search'](i(0x1b9));});a85a();function a85c(){const l=['fsi','One\x20or\x20the\x20other\x20buddy','help','error','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','openai','Could\x20not\x20find\x20directory','dark','maka\x20set:gc\x20--insecure\x20<path>','setGlobalConfig','boolean','1024776lxAKJC','maka\x20set:gc\x20--workspace\x20<path>','toString','Set\x20allowInsecure:\x20','maka\x20set:global-config\x20<args>','10AxlwHK','631490fgRotS','resolve','exit','5407974YJeMLp','1922296HVLraX','search','6yMJpOO','cacert','(((.+)+)+)+$','isFile','pallet','global-config','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x0a\x20\x20There\x20are\x20occasions\x20where\x20your\x20network\x20may\x20need\x20an\x20intermediate\x20certificate\x0a\x20\x20to\x20allow\x20connections\x20outside.\x20\x20You\x20may\x20set\x20your\x20certificate\x20path\x20using\x20the\x20command:\x0a\x0a\x20\x20maka\x20set:gc\x20--cacert\x0a\x20\x20','allowInsecure','workspace','maka\x20set:global-config\x20--cacert\x20<path>','824154zXYrLl','14zGVrML','success','constructor','disallowInsecure','Set\x20global\x20Maka-CLI\x20settings','875580LuzsGW','Set\x20color\x20pallet\x20to:\x20','Set\x20CA\x20Cert\x20Path:\x20','211470EJMNwq','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.'];a85c=function(){return l;};return a85c();}import a85e from'path';function a85d(a,b){const c=a85c();return a85d=function(d,e){d=d-0x1b4;let f=c[d];return f;},a85d(a,b);}import a85f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a85j(0x1bc),'usage':a85j(0x1db),'aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[{'name':'cacert','boolFlag':![]},{'name':a85j(0x1be),'boolFlag':!![]},{'name':'disallowInsecure','boolFlag':!![]},{'name':a85j(0x1bf),'boolFlag':![]},{'name':a85j(0x1d1),'boolFlag':![]},{'name':a85j(0x1ce),'boolFlag':!![]},{'name':a85j(0x1bb),'values':['light',a85j(0x1d3)]}],'shortDesc':a85j(0x1c6),'description':a85j(0x1bd),'examples':[a85j(0x1c0),a85j(0x1d4),a85j(0x1d8)]},async function(a,b){const k=a85j;try{if(b[k(0x1b8)]){if(this[k(0x1cc)][k(0x1ba)](b[k(0x1b8)]))await this[k(0x1cc)][k(0x1d5)]({'cert':b[k(0x1b8)]}),Log[k(0x1c3)](k(0x1c9)+b['cacert']);else{const c=typeof b[k(0x1b8)]===k(0x1d6)?k(0x1cb):k(0x1d0)+b[k(0x1b8)];throw Log[k(0x1cf)](c);}}if(b[k(0x1bf)]){const d=this[k(0x1cc)]['isDirectory'](b[k(0x1bf)]);if(d)await this['fsi']['setGlobalConfig']({'workspace':a85e['resolve'](b[k(0x1bf)])}),Log[k(0x1c3)]('Set\x20workspace:\x20'+a85e[k(0x1de)](b[k(0x1bf)]));else throw Log['error'](k(0x1d2));}b[k(0x1d1)]&&(await this[k(0x1cc)][k(0x1d5)]({'openai':b[k(0x1d1)]}),Log[k(0x1c3)]('Set\x20OpenAI\x20Key:\x20'+b['openai']));b[k(0x1bb)]&&(await this[k(0x1cc)][k(0x1d5)]({'pallet':b[k(0x1bb)]}),Log['success'](k(0x1c8)+b[k(0x1bb)]));if(b[k(0x1be)]){if(b[k(0x1be)]&&b[k(0x1c5)])throw Log[k(0x1cf)](k(0x1cd));let f=b[k(0x1be)];b[k(0x1c5)]&&(f=![]),await this[k(0x1cc)][k(0x1d5)]({'allowInsecure':f}),Log['success'](k(0x1da)+f);}process[k(0x1df)](0x0);}catch(g){console[k(0x1cf)](g),process['exit'](0x0);}},a85f);
@@ -1 +1 @@
1
- var a85h=a85d;(function(a,b){var f=a85d,c=a();while(!![]){try{var d=parseInt(f(0x194))/0x1+parseInt(f(0x1a4))/0x2*(-parseInt(f(0x19c))/0x3)+parseInt(f(0x196))/0x4+-parseInt(f(0x192))/0x5*(-parseInt(f(0x198))/0x6)+parseInt(f(0x19d))/0x7*(-parseInt(f(0x1a5))/0x8)+-parseInt(f(0x19b))/0x9*(parseInt(f(0x197))/0xa)+parseInt(f(0x1a1))/0xb*(parseInt(f(0x190))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0x9a3cb));var a85b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){var g=a85d;return a85a[g(0x193)]()['search'](g(0x199))[g(0x193)]()[g(0x191)](a85a)[g(0x19f)](g(0x199));});a85a();function a85c(){var j=['constructor','129890zwEjoZ','toString','1096254PTCaVf','maka\x20set:lc\x20<opts>','2471672VsWOHT','1260NABran','162hEUZPP','(((.+)+)+)+$','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','56439cuGOsD','9VQQQEk','115612BGvAxN','Sorry,\x20not\x20implemented\x20yet','search','notice','983587aSwnHo','create','local-config','615388FxJSgb','424OoRFPu','maka\x20set:local-config\x20<opts>','108zTRiMm'];a85c=function(){return j;};return a85c();}function a85d(a,b){var c=a85c();return a85d=function(d,e){d=d-0x18f;var f=c[d];return f;},a85d(a,b);}import a85e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a85h(0x1a2)]({'name':a85h(0x1a3),'usage':a85h(0x18f),'examples':[a85h(0x195),a85h(0x18f)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':'Set\x20local\x20maka\x20app\x20settings','validOpts':[],'description':a85h(0x19a)},async function(){var i=a85h;Log[i(0x1a0)](i(0x19e));},a85e);
1
+ var a86i=a86d;function a86d(a,b){var c=a86c();return a86d=function(d,e){d=d-0x7b;var f=c[d];return f;},a86d(a,b);}(function(a,b){var f=a86d,c=a();while(!![]){try{var d=-parseInt(f(0x7d))/0x1*(parseInt(f(0x84))/0x2)+parseInt(f(0x81))/0x3+parseInt(f(0x89))/0x4+-parseInt(f(0x87))/0x5*(-parseInt(f(0x8d))/0x6)+parseInt(f(0x8a))/0x7*(parseInt(f(0x85))/0x8)+parseInt(f(0x82))/0x9+-parseInt(f(0x88))/0xa*(parseInt(f(0x7f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0x29d9b));var a86b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a86d;if(c){var e=c[g(0x7b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){var h=a86d;return a86a[h(0x83)]()[h(0x7c)](h(0x8b))[h(0x83)]()[h(0x80)](a86a)[h(0x7c)](h(0x8b));});a86a();import a86e from'./set.command.js';function a86c(){var k=['442404DDhUHb','2569XsVNMh','(((.+)+)+)+$','notice','48606hWOHAr','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','Set\x20local\x20maka\x20app\x20settings','create','apply','search','83761qQiXcQ','local-config','55nidBLi','constructor','470961CGQEYn','1730340ZnXTDv','toString','2Dkgmrv','2704uXFkIs','maka\x20set:local-config\x20<opts>','30ShyJjT','754640MpuMPr'];a86c=function(){return k;};return a86c();}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a86i(0x90)]({'name':a86i(0x7e),'usage':a86i(0x86),'examples':['maka\x20set:lc\x20<opts>',a86i(0x86)],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a86i(0x8f),'validOpts':[],'description':a86i(0x8e)},async function(){var j=a86i;Log[j(0x8c)]('Sorry,\x20not\x20implemented\x20yet');},a86e);
@@ -1 +1 @@
1
- const a86i=a86d;function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0xa2;let f=c[d];return f;},a86d(a,b);}(function(a,b){const f=a86d,c=a();while(!![]){try{const d=-parseInt(f(0xb4))/0x1*(parseInt(f(0xb0))/0x2)+parseInt(f(0xad))/0x3+parseInt(f(0xb5))/0x4+parseInt(f(0xa6))/0x5*(parseInt(f(0xae))/0x6)+parseInt(f(0xb3))/0x7+parseInt(f(0xaf))/0x8+-parseInt(f(0xab))/0x9*(parseInt(f(0xb7))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0x56b36));const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a86d;if(c){const e=c[g(0xac)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const h=a86d;return a86a[h(0xa4)]()[h(0xa9)](h(0xa7))[h(0xa4)]()[h(0xb6)](a86a)['search']('(((.+)+)+)+$');});a86a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command[a86i(0xb1)]({'name':a86i(0xaa),'usage':a86i(0xa8),'minArgLength':0x1,'shortDesc':a86i(0xa2),'description':a86i(0xa3),'validOpts':[]},async function(a,b){const j=a86i,c=a[0x0];if(b[j(0xb2)])throw new UsageError();const d=this['findSubCommand'](c);d&&this[j(0xa5)](c,a,b);});function a86c(){const k=['runSubCommand','55DJghnA','(((.+)+)+)+$','maka\x20set:<sub-command>\x20<opts>','search','set','304029UItJAj','apply','1632330AAdJlS','153486FxXaHh','5045520Wxnwbz','631354LLKVYM','create','help','3415678TgIjxu','1hFPkUz','716964AiKCzv','constructor','430yEJSiY','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','toString'];a86c=function(){return k;};return a86c();}export default SetCommand;
1
+ const a87h=a87d;(function(a,b){const f=a87d,c=a();while(!![]){try{const d=parseInt(f(0x1e8))/0x1*(-parseInt(f(0x1f3))/0x2)+parseInt(f(0x1e9))/0x3+-parseInt(f(0x1e4))/0x4+-parseInt(f(0x1e5))/0x5*(-parseInt(f(0x1e7))/0x6)+parseInt(f(0x1e2))/0x7+-parseInt(f(0x1ee))/0x8*(-parseInt(f(0x1e3))/0x9)+-parseInt(f(0x1ea))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0xf0e77));function a87d(a,b){const c=a87c();return a87d=function(d,e){d=d-0x1e2;let f=c[d];return f;},a87d(a,b);}const a87b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){const g=a87d;return a87a[g(0x1f4)]()['search'](g(0x1e6))[g(0x1f4)]()[g(0x1f5)](a87a)[g(0x1f1)]('(((.+)+)+)+$');});a87a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command['create']({'name':a87h(0x1ed),'usage':a87h(0x1eb),'minArgLength':0x1,'shortDesc':a87h(0x1f0),'description':a87h(0x1ef),'validOpts':[]},async function(a,b){const i=a87h,c=a[0x0];if(b[i(0x1f2)])throw new UsageError();const d=this['findSubCommand'](c);d&&this[i(0x1ec)](c,a,b);});export default SetCommand;function a87c(){const j=['(((.+)+)+)+$','24VedBtB','4DwxCwu','3965367AbaqrM','430130kjRNUa','maka\x20set:<sub-command>\x20<opts>','runSubCommand','set','141976djTEck','\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','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','search','help','965842TIIofr','toString','constructor','1838557pIFBSG','738qHQHgK','7689144IEkUiv','2305040rzgjlG'];a87c=function(){return j;};return a87c();}
@@ -1 +1 @@
1
- const a87m=a87d;(function(a,b){const j=a87d,c=a();while(!![]){try{const d=-parseInt(j(0x1c2))/0x1*(parseInt(j(0x1bd))/0x2)+-parseInt(j(0x1c1))/0x3*(-parseInt(j(0x1b8))/0x4)+parseInt(j(0x1c8))/0x5+-parseInt(j(0x1b4))/0x6+-parseInt(j(0x1b3))/0x7+parseInt(j(0x1bf))/0x8+parseInt(j(0x1c0))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0x92c07));function a87c(){const o=['error','ssh','join','sshSync','5291811fIKkIt','6798792yrtkMc','maka\x20ssh\x20--env\x20dev','maka\x20ssh\x20<command>','exit','237740WkVexC','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','create','env','613540FlOzcY','getConfigPath','780184mEFsEk','25473267ieGZpb','15nXhnDU','3qBmkHs','search','(((.+)+)+)+$','fsi','ssh.json','assign','927245utpTRj','apply','verbose','toString','parse'];a87c=function(){return o;};return a87c();}const a87b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a87d;if(c){const e=c[k(0x1c9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){const l=a87d;return a87a[l(0x1cb)]()[l(0x1c3)](l(0x1c4))['toString']()['constructor'](a87a)['search']('(((.+)+)+)+$');});a87a();import a87e from'fs';import a87f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';function a87d(a,b){const c=a87c();return a87d=function(d,e){d=d-0x1b2;let f=c[d];return f;},a87d(a,b);}Command[a87m(0x1bb)]({'name':a87m(0x1ce),'usage':a87m(0x1b6),'mustBeInMakaProject':!![],'requiredOpts':[a87m(0x1bc)],'validOpts':[a87m(0x1bc),'verbose'],'shortDesc':a87m(0x1b9),'examples':[a87m(0x1b5),'maka\x20ssh\x20--env\x20staging','maka\x20ssh\x20--env\x20prod','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22',a87m(0x1ba),'maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22']},async function(a,b){const n=a87m;try{const c=this[n(0x1c5)][n(0x1be)](b[n(0x1bc)]);let d='';a['length']>0x0&&(d=a[0x0]);const f=a87f[n(0x1cf)](c,n(0x1c6)),g=a87e['readFileSync'](f)['toString'](),h=JSON[n(0x1cc)](g);Object[n(0x1c7)](h,{'env':c}),SSH[n(0x1b2)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b[n(0x1ca)]});}catch(i){console[n(0x1cd)](i),process[n(0x1b7)](0x0);}});
1
+ const a88m=a88d;(function(a,b){const j=a88d,c=a();while(!![]){try{const d=-parseInt(j(0x98))/0x1*(parseInt(j(0xa1))/0x2)+parseInt(j(0xa6))/0x3+parseInt(j(0xa7))/0x4*(-parseInt(j(0xa2))/0x5)+parseInt(j(0x9f))/0x6*(parseInt(j(0xb5))/0x7)+-parseInt(j(0xa3))/0x8*(parseInt(j(0xaa))/0x9)+-parseInt(j(0x9a))/0xa*(-parseInt(j(0x9c))/0xb)+parseInt(j(0xa8))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x8ed2a));function a88c(){const o=['env','constructor','14iqTWIa','length','64982WKDCTO','maka\x20ssh\x20<command>','50TVWiOZ','join','15961xIUpRu','apply','readFileSync','369882DtAjvF','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','2RhRUMX','5QNZbTi','120RJWGmz','search','fsi','1899105AjfrGe','4295532cEzLfN','20041716gkhEBW','sshSync','425916HkJLAx','assign','toString','parse','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','maka\x20ssh\x20--env\x20dev','getConfigPath','verbose','ssh.json'];a88c=function(){return o;};return a88c();}const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a88d;if(c){const e=c[k(0x9d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const l=a88d;return a88a[l(0xac)]()[l(0xa4)]('(((.+)+)+)+$')[l(0xac)]()[l(0xb4)](a88a)[l(0xa4)]('(((.+)+)+)+$');});a88a();import a88e from'fs';import a88f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x97;let f=c[d];return f;},a88d(a,b);}Command['create']({'name':'ssh','usage':a88m(0x99),'mustBeInMakaProject':!![],'requiredOpts':[a88m(0xb3)],'validOpts':[a88m(0xb3),a88m(0xb1)],'shortDesc':a88m(0xa0),'examples':[a88m(0xaf),'maka\x20ssh\x20--env\x20staging','maka\x20ssh\x20--env\x20prod',a88m(0xae),'maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22']},async function(a,b){const n=a88m;try{const c=this[n(0xa5)][n(0xb0)](b[n(0xb3)]);let d='';a[n(0x97)]>0x0&&(d=a[0x0]);const f=a88f[n(0x9b)](c,n(0xb2)),g=a88e[n(0x9e)](f)[n(0xac)](),h=JSON[n(0xad)](g);Object[n(0xab)](h,{'env':c}),SSH[n(0xa9)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b[n(0xb1)]});}catch(i){console['error'](i),process['exit'](0x0);}});
@@ -1 +1 @@
1
- function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x15f;let f=c[d];return f;},a88d(a,b);}const a88y=a88d;function a88c(){const A=['Using\x20saved\x20letsencrypt\x20config','withSpinner','email','/ssh.json','success','genSSC','existsSync','sudo\x20snap\x20install\x20--classic\x20certbot','140deHlly','writeFileSync','genCSR','error','fsi','1764RYGoWl','354429TjkIvM','stringify','getConfigPath','create','\x20--email\x20','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','notice','domainNames','964375IsOkjL','.csr','env','readFileSync','maka\x20ssl\x20--env\x20dev\x20generate-csr','Verifying\x20Letsencrypt\x20configuration','domains','parse','67722EIrupR','Please\x20provide\x20a\x20command.','14702370CdauxQ','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','[?]\x20Domains\x20to\x20register:\x20','ping','appName','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','assign','constructor','72HWmhZW','letsencrypt.json','(((.+)+)+)+$','ssh','601754bpEMjT','apply','emailUpdate','join','.key','.crt','Email\x20to\x20use\x20for\x20auto-updates:\x20','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','3156oSlKve','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','Create\x20and\x20manage\x20your\x20SSL\x20operations.','start','generate-ssc','getProjectConfig','ask','44934LCrrjx','search','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','maka\x20ssl\x20[command]','toString'];a88c=function(){return A;};return a88c();}(function(a,b){const v=a88d,c=a();while(!![]){try{const d=-parseInt(v(0x19d))/0x1+-parseInt(v(0x16b))/0x2+-parseInt(v(0x173))/0x3*(parseInt(v(0x18c))/0x4)+parseInt(v(0x195))/0x5+-parseInt(v(0x17a))/0x6*(parseInt(v(0x187))/0x7)+parseInt(v(0x167))/0x8*(-parseInt(v(0x18d))/0x9)+parseInt(v(0x15f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x4fae4));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a88d;if(c){const e=c[w(0x16c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const x=a88d;return a88a[x(0x17e)]()[x(0x17b)](x(0x169))['toString']()[x(0x166)](a88a)[x(0x17b)](x(0x169));});a88a();import a88e from'fs';import a88f from'path';import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command[a88y(0x190)]({'name':'ssl','usage':a88y(0x17d),'validOpts':[a88y(0x19b),'email'],'requiredOpts':[a88y(0x197)],'shortDesc':a88y(0x175),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a88y(0x199),'maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate',a88y(0x174)]},async function(a,b){const z=a88y,c=this['fsi'][z(0x178)](),d=this[z(0x18b)][z(0x18f)](b[z(0x197)]),f=this[z(0x18b)]['mkKeysDir']({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g==='generate-csr')SSL[z(0x189)]({'keyName':c[z(0x163)]+z(0x16f),'csrName':c[z(0x163)]+z(0x196),'cwd':f});else{if(g===z(0x177)){if(!a88e[z(0x185)](a88f[z(0x16e)](f,c[z(0x163)]+'.key')))throw z(0x17c)+a88f[z(0x16e)](f,c[z(0x163)]+z(0x16f));if(!a88e[z(0x185)](a88f[z(0x16e)](f,c[z(0x163)]+z(0x196))))throw z(0x192)+a88f[z(0x16e)](f,c[z(0x163)]+'.csr');SSL[z(0x184)]({'keyName':c['appName']+z(0x16f),'crtName':c[z(0x163)]+z(0x170),'cwd':f}),Log[z(0x193)]('New\x20CSR\x20written\x20to\x20'+f);}else{if(g==='letsencrypt'){let h=b[z(0x19b)],i=b[z(0x181)];try{const p=a88e['readFileSync'](a88f[z(0x16e)](d,'letsencrypt.json'))[z(0x17e)](),q=JSON[z(0x19c)](p);h=b[z(0x19b)]?b[z(0x19b)]:q[z(0x194)],i=b[z(0x181)]?b['email']:q[z(0x16d)],(!b['email']||!b[z(0x19b)])&&Log[z(0x193)](z(0x17f));}catch(r){}const j=JSON[z(0x19c)](a88e[z(0x198)](d+z(0x182))[z(0x17e)]());Object[z(0x165)](j,{'env':d}),Log['notice']('Checking\x20remote\x20host\x20availability');try{const s=SSH[z(0x162)]('uname\x20-a',j);if(!s)throw z(0x160);if(s)Log['success']('Remote\x20host\x20connection\x20successful');}catch(t){Log[z(0x18a)](t);return;}const k=Log[z(0x180)]();k[z(0x176)](z(0x19a)),SSH['ssh'](z(0x172),{...j}),SSH['ssh'](z(0x186),{...j}),SSH[z(0x16a)](z(0x164),{...j}),k[z(0x183)]();const l=h?h:await Actions[z(0x179)](z(0x161)),m=i?i:await Actions['ask'](z(0x171));SSH['ssh']('sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20'+l+z(0x191)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0x18e)](n,null,0x2);a88e[z(0x188)](a88f[z(0x16e)](d,z(0x168)),o);}else throw z(0x19e);}}}catch(u){console[z(0x18a)](u),process['exit'](0x0);}});
1
+ const a89y=a89d;(function(a,b){const v=a89d,c=a();while(!![]){try{const d=parseInt(v(0x193))/0x1+parseInt(v(0x1a2))/0x2+-parseInt(v(0x18e))/0x3*(parseInt(v(0x1b2))/0x4)+parseInt(v(0x1c2))/0x5*(-parseInt(v(0x1bb))/0x6)+-parseInt(v(0x1a7))/0x7*(parseInt(v(0x1bd))/0x8)+-parseInt(v(0x19b))/0x9*(parseInt(v(0x1b1))/0xa)+parseInt(v(0x1be))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x8dde7));function a89c(){const A=['\x20--email\x20','join','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','genSSC','223982HRquOJ','constructor','withSpinner','(((.+)+)+)+$','start','77NQpIQz','ssh','.key','appName','getConfigPath','existsSync','Create\x20and\x20manage\x20your\x20SSL\x20operations.','ask','writeFileSync','error','80VZZmiV','276YPprGf','/ssh.json','ssl','ping','Remote\x20host\x20connection\x20successful','success','generate-ssc','create','fsi','1133454MronnG','assign','623048AVfJQQ','40384421xxXioN','.csr','New\x20CSR\x20written\x20to\x20','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','30iLmDeC','letsencrypt','Verifying\x20Letsencrypt\x20configuration','domainNames','env','generate-csr','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','apply','notice','email','parse','Checking\x20remote\x20host\x20availability','35205lEXxvZ','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','maka\x20ssl\x20--env\x20dev\x20generate-csr','Using\x20saved\x20letsencrypt\x20config','stringify','203549QjzcGG','getProjectConfig','letsencrypt.json','search','toString','genCSR','domains','[?]\x20Domains\x20to\x20register:\x20','681633NxJNxU','readFileSync','Please\x20provide\x20a\x20command.'];a89c=function(){return A;};return a89c();}const a89b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a89d;if(c){const e=c[w(0x1ca)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){const x=a89d;return a89a[x(0x197)]()['search']('(((.+)+)+)+$')[x(0x197)]()[x(0x1a3)](a89a)[x(0x196)](x(0x1a5));});a89a();function a89d(a,b){const c=a89c();return a89d=function(d,e){d=d-0x18d;let f=c[d];return f;},a89d(a,b);}import a89e from'fs';import a89f from'path';import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command[a89y(0x1b9)]({'name':a89y(0x1b4),'usage':'maka\x20ssl\x20[command]','validOpts':['domains',a89y(0x1cc)],'requiredOpts':[a89y(0x1c6)],'shortDesc':a89y(0x1ad),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a89y(0x190),'maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process']},async function(a,b){const z=a89y,c=this[z(0x1ba)][z(0x194)](),d=this[z(0x1ba)][z(0x1ab)](b[z(0x1c6)]),f=this[z(0x1ba)]['mkKeysDir']({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0x1c7))SSL[z(0x198)]({'keyName':c[z(0x1aa)]+z(0x1a9),'csrName':c[z(0x1aa)]+'.csr','cwd':f});else{if(g===z(0x1b8)){if(!a89e['existsSync'](a89f[z(0x19f)](f,c[z(0x1aa)]+z(0x1a9))))throw z(0x1c9)+a89f[z(0x19f)](f,c[z(0x1aa)]+z(0x1a9));if(!a89e[z(0x1ac)](a89f[z(0x19f)](f,c[z(0x1aa)]+z(0x1bf))))throw z(0x1c1)+a89f[z(0x19f)](f,c['appName']+z(0x1bf));SSL[z(0x1a1)]({'keyName':c[z(0x1aa)]+z(0x1a9),'crtName':c[z(0x1aa)]+'.crt','cwd':f}),Log['notice'](z(0x1c0)+f);}else{if(g===z(0x1c3)){let h=b[z(0x199)],i=b['email'];try{const p=a89e['readFileSync'](a89f['join'](d,z(0x195)))[z(0x197)](),q=JSON[z(0x1cd)](p);h=b['domains']?b['domains']:q[z(0x1c5)],i=b['email']?b[z(0x1cc)]:q['emailUpdate'],(!b['email']||!b[z(0x199)])&&Log['notice'](z(0x191));}catch(r){}const j=JSON[z(0x1cd)](a89e[z(0x19c)](d+z(0x1b3))['toString']());Object[z(0x1bc)](j,{'env':d}),Log[z(0x1cb)](z(0x18d));try{const s=SSH[z(0x1b5)]('uname\x20-a',j);if(!s)throw z(0x1a0);if(s)Log[z(0x1b7)](z(0x1b6));}catch(t){Log[z(0x1b0)](t);return;}const k=Log[z(0x1a4)]();k[z(0x1a6)](z(0x1c4)),SSH[z(0x1a8)](z(0x18f),{...j}),SSH[z(0x1a8)]('sudo\x20snap\x20install\x20--classic\x20certbot',{...j}),SSH[z(0x1a8)]('sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot',{...j}),k['success']();const l=h?h:await Actions[z(0x1ae)](z(0x19a)),m=i?i:await Actions['ask']('Email\x20to\x20use\x20for\x20auto-updates:\x20');SSH[z(0x1a8)](z(0x1c8)+l+z(0x19e)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0x192)](n,null,0x2);a89e[z(0x1af)](a89f['join'](d,z(0x195)),o);}else throw z(0x19d);}}}catch(u){console[z(0x1b0)](u),process['exit'](0x0);}});
@@ -1 +1 @@
1
- function a89c(){const s=['join','.maka','169810wtbwKo','toString','packages','13914wPrMkj','fsi','inspect','constructor','parse','driver','engines','notice','(((.+)+)+)+$','--settings','19382004UHjRMR','error','utf8','--packages','Meteor\x20Settings:\x20','--driver','env','create','jasmine','meteortesting:mocha','1270822DGNvMe','61580tKbKUx','5458760EKzwKv','12TwJnoL','driver-package','21FxgWtj','11gxRxya','rawLogs','concat','maka\x20test\x20<opts>','test','35kLKkgB','config.json','273116jtpYbP','findProjectDirectory','getConfigPath','testAppPath','81NVyFDN','slice','--driver-package','mocha','settings.json','driverPackage','process.env','apply','sanjo:jasmine','filter','warn','readFileSync','invokeMeteorCommand','search','exit','splice','port','none','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','unit','--env'];a89c=function(){return s;};return a89c();}const a89p=a89d;function a89d(a,b){const c=a89c();return a89d=function(d,e){d=d-0x13d;let f=c[d];return f;},a89d(a,b);}(function(a,b){const m=a89d,c=a();while(!![]){try{const d=-parseInt(m(0x140))/0x1*(-parseInt(m(0x160))/0x2)+parseInt(m(0x179))/0x3*(-parseInt(m(0x142))/0x4)+parseInt(m(0x15d))/0x5*(parseInt(m(0x177))/0x6)+-parseInt(m(0x174))/0x7+-parseInt(m(0x176))/0x8+parseInt(m(0x146))/0x9*(-parseInt(m(0x175))/0xa)+parseInt(m(0x17a))/0xb*(parseInt(m(0x16a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x813a8));const a89b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a89d;if(c){const e=c[n(0x14d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){const o=a89d;return a89a['toString']()[o(0x153)](o(0x168))[o(0x15e)]()[o(0x163)](a89a)[o(0x153)](o(0x168));});a89a();import a89e from'fs';import a89f from'path';import a89g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){a89e['openSync'](a,'r'),a89g['config']({'path':a});};Command[a89p(0x171)]({'name':'test','mustBeInMakaProject':!![],'validOpts':['once',a89p(0x15f),'driver',a89p(0x14b),'unit',a89p(0x170),a89p(0x17b),a89p(0x156),a89p(0x162),a89p(0x145)],'usage':a89p(0x13e),'shortDesc':a89p(0x158),'examples':[]},function(a,b){const q=a89p;try{let c=this[q(0x161)][q(0x144)]('development');b[q(0x170)]&&(c=this[q(0x161)][q(0x144)](b[q(0x170)]));(!b[q(0x159)]||!!b['once'])&&(a=a[q(0x13d)](['--full-app']));b[q(0x159)]&&delete b['unit'];let d=b[q(0x178)]||b[q(0x165)]||q(0x157);if(d===q(0x157)){const j=JSON[q(0x164)](a89e[q(0x151)](a89f['join'](this[q(0x161)][q(0x143)](),q(0x15c),q(0x141)),q(0x16c)));if(j[q(0x166)][q(0x13f)]===q(0x172))d=q(0x14e);else j[q(0x166)][q(0x13f)]===q(0x149)&&(d=q(0x173));}if(d==='none')throw'This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)';(!b[q(0x178)]||!b[q(0x165)])&&(a=a[q(0x13d)]([q(0x148),d]));const f=a89f[q(0x15b)](c,q(0x14a));this[q(0x161)]['isFile'](f)?(Log[q(0x167)](q(0x16e)+f),a=a['concat']([q(0x169),f])):Log[q(0x150)]('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+f);const g=a89f['join'](c,q(0x14c));this[q(0x161)]['isFile'](g)?(Log[q(0x167)]('Node\x20Env\x20Config:\x20'+g),syncSource(g)):Log[q(0x150)]('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+g);const h=process['argv'][q(0x147)](0x2)['filter'](k=>k!==q(0x15a))[q(0x14f)](k=>k!==q(0x13f))[q(0x14f)](k=>k!==a[0x0]);h['forEach']((k,l)=>{const r=q;(k===r(0x15a)||k===r(0x16f))&&h[r(0x155)](l,0x2),k===r(0x16d)&&h['splice'](l,0x1);});const i=b[q(0x15f)]?'test-packages':'test';this[q(0x161)][q(0x152)](i,a['concat'](h));}catch(k){console[q(0x16b)](k),process[q(0x154)](0x0);}});
1
+ function a90c(){const s=['warn','--driver-package','sanjo:jasmine','join','slice','utf8','engines','once','2705425atGVWh','test','parse','getConfigPath','settings.json','8dhiMpN','driver-package','packages','search','2239431LhtcOt','--packages','readFileSync','concat','invokeMeteorCommand','4444515gfoySB','fsi','env','constructor','argv','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','isFile','config.json','development','maka\x20test\x20<opts>','testAppPath','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','--settings','inspect','4uXOjHI','driver','--env','5188113BCmAJA','driverPackage','meteortesting:mocha','toString','(((.+)+)+)+$','config','Cannot\x20find\x20Node\x20Environment\x20File:\x20','971225TQhnDi','unit','none','Meteor\x20Settings:\x20','.maka','1793778KGsCzf','create','port','3112674TyQlxa','notice','test-packages','filter'];a90c=function(){return s;};return a90c();}const a90p=a90d;function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x1c6;let f=c[d];return f;},a90d(a,b);}(function(a,b){const m=a90d,c=a();while(!![]){try{const d=-parseInt(m(0x1fe))/0x1+parseInt(m(0x1c9))/0x2+parseInt(m(0x1e1))/0x3+-parseInt(m(0x1f4))/0x4*(-parseInt(m(0x1d8))/0x5)+parseInt(m(0x1cc))/0x6+-parseInt(m(0x1f7))/0x7*(parseInt(m(0x1dd))/0x8)+-parseInt(m(0x1e6))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0x79573));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const n=a90d;return a90a[n(0x1fa)]()[n(0x1e0)](n(0x1fb))[n(0x1fa)]()[n(0x1e9)](a90a)[n(0x1e0)]('(((.+)+)+)+$');});a90a();import a90e from'fs';import a90f from'path';import a90g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const o=a90d;a90e['openSync'](a,'r'),a90g[o(0x1fc)]({'path':a});};Command[a90p(0x1ca)]({'name':a90p(0x1d9),'mustBeInMakaProject':!![],'validOpts':['once',a90p(0x1df),'driver',a90p(0x1f8),a90p(0x1ff),a90p(0x1e8),'rawLogs',a90p(0x1cb),a90p(0x1f3),a90p(0x1f0)],'usage':a90p(0x1ef),'shortDesc':a90p(0x1eb),'examples':[]},function(a,b){const q=a90p;try{let c=this['fsi'][q(0x1db)](q(0x1ee));b[q(0x1e8)]&&(c=this['fsi'][q(0x1db)](b[q(0x1e8)]));(!b['unit']||!!b[q(0x1d7)])&&(a=a['concat'](['--full-app']));b[q(0x1ff)]&&delete b[q(0x1ff)];let d=b[q(0x1de)]||b[q(0x1f5)]||'none';if(d===q(0x1c6)){const j=JSON[q(0x1da)](a90e[q(0x1e3)](a90f['join'](this[q(0x1e7)]['findProjectDirectory'](),q(0x1c8),q(0x1ed)),q(0x1d5)));if(j[q(0x1d6)][q(0x1d9)]==='jasmine')d=q(0x1d2);else j[q(0x1d6)][q(0x1d9)]==='mocha'&&(d=q(0x1f9));}if(d===q(0x1c6))throw'This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)';(!b[q(0x1de)]||!b[q(0x1f5)])&&(a=a[q(0x1e4)]([q(0x1d1),d]));const f=a90f[q(0x1d3)](c,q(0x1dc));this[q(0x1e7)]['isFile'](f)?(Log[q(0x1cd)](q(0x1c7)+f),a=a[q(0x1e4)]([q(0x1f2),f])):Log[q(0x1d0)](q(0x1f1)+f);const g=a90f[q(0x1d3)](c,'process.env');this['fsi'][q(0x1ec)](g)?(Log[q(0x1cd)]('Node\x20Env\x20Config:\x20'+g),syncSource(g)):Log[q(0x1d0)](q(0x1fd)+g);const h=process[q(0x1ea)][q(0x1d4)](0x2)[q(0x1cf)](k=>k!==q(0x1f6))['filter'](k=>k!==q(0x1d9))[q(0x1cf)](k=>k!==a[0x0]);h['forEach']((k,l)=>{const r=q;(k===r(0x1f6)||k==='--driver')&&h['splice'](l,0x2),k===r(0x1e2)&&h['splice'](l,0x1);});const i=b['packages']?q(0x1ce):q(0x1d9);this[q(0x1e7)][q(0x1e5)](i,a['concat'](h));}catch(k){console['error'](k),process['exit'](0x0);}});
@@ -1 +1 @@
1
- const a90n=a90d;(function(a,b){const k=a90d,c=a();while(!![]){try{const d=parseInt(k(0x16c))/0x1+-parseInt(k(0x16b))/0x2+-parseInt(k(0x153))/0x3*(parseInt(k(0x17c))/0x4)+-parseInt(k(0x170))/0x5+-parseInt(k(0x176))/0x6+parseInt(k(0x15c))/0x7+parseInt(k(0x152))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0xd4217));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a90d;if(c){const e=c[l(0x158)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const m=a90d;return a90a[m(0x166)]()[m(0x15b)](m(0x15f))['toString']()[m(0x177)](a90a)[m(0x15b)](m(0x15f));});a90a();import{execSync}from'child_process';import a90e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':a90n(0x17a)};function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x151;let f=c[d];return f;},a90d(a,b);}function a90c(){const p=['getGlobalMeteorVersion','replace','4.5.51','\x0a\x20To\x20get\x20the\x20mongo\x20version\x20in\x20use\x20by\x20meteor:\x0a\x201)\x20Run\x20the\x20project,\x20\x22maka\x20run\x22\x0a\x202)\x20In\x20a\x20new\x20terminal\x20open\x20the\x20mongo\x20shell,\x20\x22maka\x20mongo\x22','4XwbODm','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','fsi','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','26064272tCQevh','2509932SxCCmv','exit','\x0a\x20\x20When\x20using\x20the\x20--verbose\x20flag,\x20maka\x20will\x20also\x20check\x20the\x20version\x20of\x20the\x20system\x27s\x20meteor\x20and\x20node\x20versions\x0a\x20\x20along\x20with\x20the\x20project\x27s\x20meteor\x20and\x20node\x20versions.\x20If\x20the\x20system\x27s\x20meteor\x20version\x20is\x20greater\x20than\x20the\x0a\x20\x20project\x27s\x20meteor\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20meteor\x20version.\x20If\x20the\x20system\x27s\x20node\x0a\x20\x20version\x20is\x20greater\x20than\x20the\x20project\x27s\x20node\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20node\x20version.\x0a\x20\x20','Maka\x20','----------------------System----------------------------','apply','verbose','getProjectsMeteorNodeVersion','search','909153RRZMEN','Project\x27s\x20Meteor\x20Version\x20','System\x27s\x20Node\x20Version\x20','(((.+)+)+)+$','create','N/A','error','compareMakaToLatest','warn','bright','toString','meteor.bat','node\x20-v','notice','win32','604452xjzKiK','343229niqSwj','maka\x20version\x20--verbose','isMakaProject','meteor','2543350HmGeeV','Project\x27s\x20Meteor\x20Node\x20Version\x20','\x20node\x20-v','platform',')\x20to\x20at\x20least\x20meteor\x27s\x20(','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','7288290yMyhjY','constructor'];a90c=function(){return p;};return a90c();}Command[a90n(0x160)]({'name':'version','aliases':['v'],'usage':'maka\x20version','maxArgLength':0x1,'validOpts':['verbose'],'shortDesc':a90n(0x151),'examples':['maka\x20v','maka\x20version',a90n(0x16d)],'description':a90n(0x155)},async function(a,b){const o=a90n;try{const c=process[o(0x173)]===o(0x16a)?o(0x167):o(0x16f);Log['majestic'](o(0x156)+pjson['version']),await this[o(0x17e)][o(0x163)]();if(b[o(0x159)]){await this[o(0x17e)][o(0x163)](),Log['bright'](o(0x157));const d=this[o(0x17e)][o(0x178)]();Log[o(0x165)](('System\x27s\x20Meteor\x20Version\x20'+d)[o(0x179)]('\x0a',''));const f=execSync(c+o(0x172))[o(0x166)]()[o(0x179)](/\r?\n|\r/,'')[o(0x179)]('v','');Log[o(0x165)]('System\x27s\x20Meteor\x27s\x20Node\x20Version\x20'+f);const g=execSync(o(0x168))[o(0x166)]()['replace'](/\r?\n|\r/,'')[o(0x179)]('v','');a90e['gt'](f,g)?(Log[o(0x164)](o(0x15e)+g),Log['warn'](o(0x175)+g+o(0x174)+f+')')):Log['bright'](o(0x15e)+g);if(this[o(0x17e)][o(0x16e)]()){Log[o(0x165)]('----------------------Project----------------------------');const h=this['fsi']['getProjectMeteorVersion']();a90e['gt'](d,h)?(Log[o(0x164)](o(0x15d)+h[o(0x179)]('\x0a','')),Log[o(0x164)](o(0x17d)+d+'\x22')):Log[o(0x169)]((o(0x15d)+h)[o(0x179)]('\x0a',''));const i=await this[o(0x17e)][o(0x15a)]();i===o(0x161)?(Log['warn'](o(0x171)+i),Log['warn']('\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.')):Log[o(0x165)](o(0x171)+i),Log[o(0x165)](o(0x17b));}}}catch(j){console[o(0x162)](j),process[o(0x154)](0x0);}});
1
+ const a91n=a91d;(function(a,b){const k=a91d,c=a();while(!![]){try{const d=-parseInt(k(0xba))/0x1*(parseInt(k(0xda))/0x2)+parseInt(k(0xbf))/0x3*(-parseInt(k(0xbb))/0x4)+-parseInt(k(0xc9))/0x5+-parseInt(k(0xd4))/0x6+parseInt(k(0xdf))/0x7*(-parseInt(k(0xd1))/0x8)+parseInt(k(0xcd))/0x9+parseInt(k(0xd7))/0xa*(parseInt(k(0xbd))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0x3e94f));const a91b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a91d;if(c){const e=c[l(0xcb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){const m=a91d;return a91a[m(0xb1)]()[m(0xe2)](m(0xdd))[m(0xb1)]()[m(0xb3)](a91a)[m(0xe2)](m(0xdd));});a91a();import{execSync}from'child_process';function a91c(){const p=['maka\x20version','search','\x20node\x20-v','meteor','toString','\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','constructor','version','System\x27s\x20Meteor\x20Version\x20','Project\x27s\x20Meteor\x20Node\x20Version\x20','fsi','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','node\x20-v','70629vXpCec','227492tFuWou','platform','11kddkNO','exit','3vJIMGQ','----------------------System----------------------------','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','getGlobalMeteorVersion','bright','replace','win32','----------------------Project----------------------------','majestic','System\x27s\x20Node\x20Version\x20','1329475dltQVd','maka\x20version\x20--verbose','apply','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','1008171aQJeoi','meteor.bat','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','verbose','112YwImIw','getProjectMeteorVersion','Project\x27s\x20Meteor\x20Version\x20','1570542zScJLe','compareMakaToLatest','getProjectsMeteorNodeVersion','17294980pYkgcL','notice','error','14iYPvLP','create','maka\x20v','(((.+)+)+)+$','warn','253127OrvGRp',')\x20to\x20at\x20least\x20meteor\x27s\x20('];a91c=function(){return p;};return a91c();}import a91e from'semver';import{Command}from'../command.js';function a91d(a,b){const c=a91c();return a91d=function(d,e){d=d-0xaf;let f=c[d];return f;},a91d(a,b);}import{Log}from'../tools/log/log.class.js';const pjson={'version':'4.6.1'};Command[a91n(0xdb)]({'name':a91n(0xb4),'aliases':['v'],'usage':'maka\x20version','maxArgLength':0x1,'validOpts':[a91n(0xd0)],'shortDesc':'Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','examples':[a91n(0xdc),a91n(0xe1),a91n(0xca)],'description':a91n(0xb2)},async function(a,b){const o=a91n;try{const c=process[o(0xbc)]===o(0xc5)?o(0xce):o(0xb0);Log[o(0xc7)]('Maka\x20'+pjson[o(0xb4)]),await this[o(0xb7)][o(0xd5)]();if(b[o(0xd0)]){await this[o(0xb7)]['compareMakaToLatest'](),Log['bright'](o(0xc0));const d=this['fsi'][o(0xc2)]();Log[o(0xc3)]((o(0xb5)+d)[o(0xc4)]('\x0a',''));const f=execSync(c+o(0xaf))['toString']()[o(0xc4)](/\r?\n|\r/,'')['replace']('v','');Log[o(0xc3)](o(0xcc)+f);const g=execSync(o(0xb9))[o(0xb1)]()[o(0xc4)](/\r?\n|\r/,'')[o(0xc4)]('v','');a91e['gt'](f,g)?(Log[o(0xde)](o(0xc8)+g),Log[o(0xde)](o(0xc1)+g+o(0xe0)+f+')')):Log[o(0xc3)](o(0xc8)+g);if(this[o(0xb7)]['isMakaProject']()){Log[o(0xc3)](o(0xc6));const h=this[o(0xb7)][o(0xd2)]();a91e['gt'](d,h)?(Log['warn']('Project\x27s\x20Meteor\x20Version\x20'+h['replace']('\x0a','')),Log['warn'](o(0xb8)+d+'\x22')):Log[o(0xd8)]((o(0xd3)+h)[o(0xc4)]('\x0a',''));const i=await this[o(0xb7)][o(0xd6)]();i==='N/A'?(Log['warn'](o(0xb6)+i),Log[o(0xde)](o(0xcf))):Log[o(0xc3)](o(0xb6)+i),Log[o(0xc3)]('\x0a\x20To\x20get\x20the\x20mongo\x20version\x20in\x20use\x20by\x20meteor:\x0a\x201)\x20Run\x20the\x20project,\x20\x22maka\x20run\x22\x0a\x202)\x20In\x20a\x20new\x20terminal\x20open\x20the\x20mongo\x20shell,\x20\x22maka\x20mongo\x22');}}}catch(j){console[o(0xd9)](j),process[o(0xbe)](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a91d,c=a();while(!![]){try{var d=-parseInt(f(0x9a))/0x1*(-parseInt(f(0x93))/0x2)+-parseInt(f(0x92))/0x3*(-parseInt(f(0x9d))/0x4)+parseInt(f(0x94))/0x5+parseInt(f(0x99))/0x6*(-parseInt(f(0x97))/0x7)+-parseInt(f(0x9b))/0x8+parseInt(f(0x9c))/0x9+-parseInt(f(0x96))/0xa*(parseInt(f(0x9e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0xcb63c));var a91b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a91d;if(c){var e=c[g(0x91)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){var h=a91d;return a91a[h(0x98)]()[h(0x90)](h(0x95))[h(0x98)]()['constructor'](a91a)[h(0x90)]('(((.+)+)+)+$');});a91a();export class UsageError{}function a91c(){var i=['6RGgMLf','2012eCVGNd','5962032vuOiyU','10591965XBXFQO','92SIDbNl','319ODivWA','search','apply','30021DVacju','556cHtbgO','4632750JkmTix','(((.+)+)+)+$','309370wbRlbG','2921947vfuDjH','toString'];a91c=function(){return i;};return a91c();}export class UsageErrorWithSubs{}function a91d(a,b){var c=a91c();return a91d=function(d,e){d=d-0x90;var f=c[d];return f;},a91d(a,b);}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
1
+ (function(a,b){var f=a92d,c=a();while(!![]){try{var d=parseInt(f(0xa4))/0x1*(parseInt(f(0x98))/0x2)+-parseInt(f(0x99))/0x3+parseInt(f(0x9e))/0x4*(parseInt(f(0x9a))/0x5)+-parseInt(f(0x9c))/0x6*(-parseInt(f(0xa7))/0x7)+-parseInt(f(0xa8))/0x8*(parseInt(f(0xa1))/0x9)+parseInt(f(0xa2))/0xa+-parseInt(f(0x9f))/0xb*(-parseInt(f(0xa0))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0x4f409));var a92b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a92d;if(c){var e=c[g(0x9d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){var h=a92d;return a92a[h(0xa3)]()[h(0xa5)](h(0x9b))[h(0xa3)]()[h(0xa6)](a92a)[h(0xa5)](h(0x9b));});a92a();export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}function a92d(a,b){var c=a92c();return a92d=function(d,e){d=d-0x98;var f=c[d];return f;},a92d(a,b);}export class NoMeteorAppFoundError{}function a92c(){var i=['search','constructor','413aeGioA','480FcbphN','678686WfZeAx','1415211ePznfS','1025dIAaKP','(((.+)+)+)+$','2154pXifZl','apply','5592GUFiZb','11aIRUzD','2078292UMizta','9351GYGwvW','383890ocMmhE','toString','1VECAVi'];a92c=function(){return i;};return a92c();}export class NoMeteorFoundError{}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- var a92i=a92d;(function(a,b){var f=a92d,c=a();while(!![]){try{var d=-parseInt(f(0x19d))/0x1+-parseInt(f(0x1ac))/0x2*(-parseInt(f(0x19f))/0x3)+-parseInt(f(0x1a1))/0x4+parseInt(f(0x1ab))/0x5+parseInt(f(0x1a6))/0x6+parseInt(f(0x1a7))/0x7*(-parseInt(f(0x1a9))/0x8)+-parseInt(f(0x19c))/0x9*(-parseInt(f(0x1a2))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0xec77f));var a92b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a92d;if(c){var e=c[g(0x1a3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){var h=a92d;return a92a['toString']()[h(0x1aa)](h(0x1a8))[h(0x1a5)]()[h(0x1a0)](a92a)['search'](h(0x1a8));});function a92d(a,b){var c=a92c();return a92d=function(d,e){d=d-0x19c;var f=c[d];return f;},a92d(a,b);}a92a(),process[a92i(0x1a4)]['NODE_OPTIONS']=a92i(0x19e);function a92c(){var j=['8933795mHyiBx','518gIYqqG','45uivURe','1729522MuMGXi','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','45DXpcHh','constructor','4202964KEXdaJ','3486790hOeobI','apply','env','toString','7890084oEpYWs','7cuUMXr','(((.+)+)+)+$','8801720RiBrJU','search'];a92c=function(){return j;};return a92c();}import'./maka.js';
2
+ var a93i=a93d;(function(a,b){var f=a93d,c=a();while(!![]){try{var d=-parseInt(f(0xe4))/0x1+-parseInt(f(0xed))/0x2+-parseInt(f(0xf1))/0x3+parseInt(f(0xee))/0x4+parseInt(f(0xeb))/0x5+parseInt(f(0xe6))/0x6*(-parseInt(f(0xe8))/0x7)+parseInt(f(0xec))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0xf27e3));var a93b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a93d;if(c){var e=c[g(0xe9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){var h=a93d;return a93a[h(0xe7)]()[h(0xef)](h(0xea))[h(0xe7)]()[h(0xf0)](a93a)[h(0xef)](h(0xea));});a93a(),process['env']['NODE_OPTIONS']=a93i(0xe5);function a93d(a,b){var c=a93c();return a93d=function(d,e){d=d-0xe4;var f=c[d];return f;},a93d(a,b);}function a93c(){var j=['--experimental-modules\x20--no-warnings\x20--experimental-json-modules','20160HTlrZL','toString','77jhAmsQ','apply','(((.+)+)+)+$','2609565LgfPva','17248864TuLFMp','2667234UdkOFQ','4324848QUWhBY','search','constructor','3364731wBwLZk','273828VzrTae'];a93c=function(){return j;};return a93c();}import'./maka.js';
@@ -1 +1 @@
1
- const a93x=a93d;(function(a,b){const s=a93d,c=a();while(!![]){try{const d=-parseInt(s(0x1bb))/0x1+-parseInt(s(0x16e))/0x2+parseInt(s(0x177))/0x3+-parseInt(s(0x19f))/0x4*(parseInt(s(0x1be))/0x5)+-parseInt(s(0x172))/0x6+parseInt(s(0x1c0))/0x7+parseInt(s(0x179))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0xe1067));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a93d;if(c){const e=c[t(0x1a6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const u=a93d;return a93a[u(0x19b)]()[u(0x182)](u(0x16a))['toString']()[u(0x1c1)](a93a)[u(0x182)](u(0x16a));});a93a();import a93e from'path';import a93f from'cli-table';import{paramCase}from'change-case';import a93g from'./generators/maka.gen.js';function a93c(){const I=['search','Alias','bright','error','getPro','_generators','Client','Location','domainLicense','push','includes','client','exit','dir','keys','validateParams','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','forEach','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','Both','where','Too\x20few\x20options','usage','mustBeInMakaProject','name','toString','notice','To\x20use\x20these\x20pro\x20flags,\x20\x22','pop','12xyVmED','fsi','proGenerators','DARK','resourceName','help','bind','apply','parent','Generators:','findProjectDirectory','appPathPrefix','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','function','_handler','colLocAnswer','Generator.create\x20requires\x20some\x20options!','create','validateMakaProject','cwd','Generator\x20requires\x20a\x20name','join','proFlags','listGenerators','chdir','filter','Name','server','1064048TEMsvq','length','invoke','418935heYjGf','assign','8898134DNmgXQ','constructor','options','singleLicense','map','find','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','LIGHT','number','(((.+)+)+)+$','roles','validateMakaSubscription','addGenerator\x20requires\x20a\x20Generator\x20instance','162830uCdJgM','list','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator','Too\x20few\x20arguments','10430862YIkHRI','findGenerator','sep','maxArgLength','replace','1425171HLvbqj','tableList','18486280QplsCJ','minOptsLength','maxOptsLength','both','getGlobalConfig','To\x20use\x20this\x20generator,\x20\x22','mustHaveMeteorInstalled','Please\x20run\x20\x22maka\x20install\x20meteor\x22','Too\x20many\x20arguments'];a93c=function(){return I;};return a93c();}import{Log,ColorMode}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError}from'./error.js';function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x165;let f=c[d];return f;},a93d(a,b);}let _prevGen='';function inside(a='.',b){const v=a93d,c=process[v(0x1b2)]();let d=null;try{process[v(0x1b7)](a),d=b();}finally{process[v(0x1b7)](c);}return d;}export class Generator extends Tool{['options'];['_generators'];constructor(a,b){const w=a93d;super();if(!a)throw new Error(w(0x192));if(!a['name'])throw new Error(w(0x1b3));if(typeof b!==w(0x1ac))throw new Error('Generator\x20requires\x20a\x20handler\x20function');this[w(0x187)]=[],this['options']=Object[w(0x1bf)]({},a),this[w(0x19a)]=this[w(0x1c2)]['name'],this[w(0x1ad)]=b[w(0x1a5)](this);}static[a93x(0x1b0)](a,b,c){const y=a93x;if(!a)throw new Error(y(0x1af));if(typeof b!=='function')throw new Error('Generator.create\x20requires\x20a\x20handler\x20function!');const d=new Generator(a,b);return c=c||a93g,Object[y(0x1bf)](d,{'parent':c?.['options']?.[y(0x19a)]}),c['addGenerator'](d),d;}['addGenerator'](a){const z=a93x;if(!(a instanceof Generator))throw new Error(z(0x16d));this['_generators'][z(0x18b)](a);}[a93x(0x173)](a){const A=a93x,b=this[A(0x187)][A(0x166)](c=>c['match'](a));return b;}async[a93x(0x16c)](a,b){const B=a93x,c=this[B(0x173)](a[0x0]);if(c){const d=c?.[B(0x19a)]||a[0x0],e=c?.[B(0x1a7)]||'',f=Object['keys'](b),g=await this[B(0x1a0)][B(0x186)]();!g&&(Log[B(0x185)](B(0x167)),process[B(0x18e)](0x1));const h=!g?.['roles']['includes'](B(0x1c3))&&!g?.[B(0x16b)][B(0x18c)](B(0x18a)),i=g?.['proGenerators'][B(0x18c)](d)||g?.[B(0x1a1)][B(0x18c)](e);if(i&&h)throw B(0x17e)+d+B(0x194);if(f[B(0x1bc)]>0x0){const j=g?.[B(0x1b5)][B(0x1b8)](k=>f[B(0x18c)](k));if(j&&j[B(0x1bc)]>0x0&&h)throw B(0x19d)+j?.[B(0x1b4)](',\x20')+B(0x194);}}}async[a93x(0x1bd)](a,b){const C=a93x,{usage:usage='',description:description='',examples:examples=[],shortDesc:c,requiredOpts:requiredOpts=[],validOpts:d}=this[C(0x1c2)],f=await this['fsi'][C(0x17d)](),g=f['pallet']==='light'?ColorMode[C(0x168)]:ColorMode[C(0x1a2)];Log['setColorMode'](g);try{await this[C(0x16c)](a,b);}catch(i){Log['error'](i),process['exit'](0x1);}const h=a['slice']();b['resourceName']=h[0x0];try{if((a[0x0]===_prevGen||a['length']===0x0)&&b['help'])throw new UsageError();if(this[C(0x1c2)][C(0x199)]){const j=this[C(0x1b1)]();if(!j)throw new MustBeInProjectError();}if(this[C(0x1c2)][C(0x17f)]){const k=this['validateMeteorInstall']();if(!k)throw new NoMeteorFoundError();}if(typeof this[C(0x1c2)]['minArgLength']===C(0x169)){if(a[C(0x1bc)]<this[C(0x1c2)]['minArgLength']){Log[C(0x185)](C(0x171));throw new UsageError();}}if(typeof this[C(0x1c2)][C(0x175)]===C(0x169)){if(a[C(0x1bc)]>this['options'][C(0x175)]){Log[C(0x185)](C(0x181));throw new UsageError();}}if(typeof this[C(0x1c2)][C(0x17a)]===C(0x169)){if(Object[C(0x190)](b)[C(0x1bc)]<this[C(0x1c2)][C(0x17a)]){Log[C(0x185)](C(0x197));throw new UsageError();}}if(typeof this['options'][C(0x17b)]==='number'){if(Object['keys'](b)[C(0x1bc)]>=this[C(0x1c2)][C(0x17b)]){Log[C(0x185)]('Too\x20many\x20options');throw new UsageError();}}await this[C(0x191)](a,b,this['options']);if(!b[C(0x1a3)]&&!this[C(0x1c2)]['noResource']){Log['error']('No\x20resource\x20name\x20specified');throw new UsageError();}_prevGen=a[0x0];}catch(l){Log[C(0x198)](description,examples,usage,c,requiredOpts,d);if(l instanceof UsageError)this['_generators'][C(0x1bc)]>0x0&&b[C(0x1a4)]&&(Log[C(0x19c)](C(0x1a8)),this['tableList'](this[C(0x187)]));else{if(l instanceof MustBeInProjectError)Log[C(0x185)](C(0x170));else{if(l instanceof NoMeteorFoundError)Log[C(0x185)](C(0x1ab)),Log[C(0x19c)](C(0x180));else{if(l instanceof NoMeteorAppFoundError)Log[C(0x185)]('There\x20is\x20no\x20Meteor\x20application\x20here');else throw l;}}}process['exit'](0x1);}return new Promise(m=>{const D=C;inside(b[D(0x1b2)],async()=>{const E=D;try{if(!b['root']&&!this[E(0x1a0)][E(0x1a9)]())throw new MustBeInProjectError();const n=b[E(0x1a3)]?.[E(0x176)](/\\/g,'/')['split']('/');!b[E(0x18f)]&&(n?.[E(0x1bc)]>0x1?(b['resourceName']=n[E(0x19e)](),h[0x0]=b[E(0x1a3)],b[E(0x18f)]=n[E(0x165)](o=>{return paramCase(o);})[E(0x1b4)](a93e[E(0x174)])):b[E(0x18f)]='');if(this[E(0x1c2)]['checkWhere']){if(!b[E(0x196)]){const p={'type':E(0x16f),'name':E(0x1ae),'message':E(0x189),'choices':[{'name':E(0x188),'value':E(0x18d)},{'name':'Server','value':E(0x1ba)},{'name':E(0x195),'value':'both'}]},{colLocAnswer:q}=await Actions[E(0x1c2)](p);q?b[E(0x196)]=q:b[E(0x196)]=E(0x17c);}const o=[E(0x17c),E(0x18d),'server'];if(!o[E(0x18c)](b[E(0x196)])){Log[E(0x185)]('--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27');throw new UsageError();}switch(b[E(0x196)]){case'both':b[E(0x1aa)]='lib';break;case E(0x1ba):b[E(0x1aa)]=E(0x1ba);break;case E(0x18d):b[E(0x1aa)]=E(0x18d);break;default:b[E(0x1aa)]='';}}m(this[E(0x1ad)]['call'](this,h,b));}catch(r){console['error'](r);}});});}[a93x(0x1b6)](){const F=a93x;this['tableList'](this[F(0x187)]);}[a93x(0x178)](a){const G=a93x,b=new a93f({});b[G(0x18b)]([G(0x1b9),G(0x183),'Description']),a['sort']()[G(0x193)](c=>{const H=G;b[H(0x18b)]([c[H(0x19a)],c['aliases'](),c['shortDesc']()]);}),Log[G(0x184)](b[G(0x19b)]());}}
1
+ function a94c(){const I=['map','singleLicense','fsi','Generator\x20requires\x20a\x20name','includes','exit','number','(((.+)+)+)+$','Please\x20run\x20\x22maka\x20install\x20meteor\x22','validateMeteorInstall','426ITBSPN','1544oDwDvI','invoke','Location','client','dir','constructor','minArgLength','261762RHfhdW','Too\x20few\x20arguments','replace','root','getGlobalConfig','call','15AKZwop','notice','Description','options','roles','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','addGenerator','push','where','colLocAnswer','assign','filter','Too\x20few\x20options','checkWhere','search','sep','cwd','_generators','2098485xXJDNn','pallet','appPathPrefix','slice','findGenerator','aliases','pop','2764VBZyvp','23490nxkZnK','domainLicense','create','Client','Generators:','validateParams','tableList','error','Generator\x20requires\x20a\x20handler\x20function','proFlags','There\x20is\x20no\x20Meteor\x20application\x20here','both','sort','apply','forEach','length','find','_handler','setColorMode','133zOgrJQ','249076mhkyuX','validateMakaProject','Server','chdir','server','mustBeInMakaProject','3463090JeSFzE','Name','LIGHT','proGenerators','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','bright','name','minOptsLength','mustHaveMeteorInstalled','usage','join','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','bind','match','maxArgLength','validateMakaSubscription','DARK','To\x20use\x20this\x20generator,\x20\x22','resourceName','keys','parent','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','toString','light','shortDesc','function','Generator.create\x20requires\x20some\x20options!'];a94c=function(){return I;};return a94c();}const a94w=a94d;(function(a,b){const s=a94d,c=a();while(!![]){try{const d=-parseInt(s(0x1e2))/0x1+parseInt(s(0x248))/0x2*(-parseInt(s(0x221))/0x3)+parseInt(s(0x1f6))/0x4*(parseInt(s(0x22f))/0x5)+parseInt(s(0x229))/0x6+parseInt(s(0x1f5))/0x7*(parseInt(s(0x222))/0x8)+-parseInt(s(0x241))/0x9+parseInt(s(0x1fc))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0x1f217));const a94b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a94d;if(c){const e=c[t(0x1ef)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){const u=a94d;return a94a[u(0x212)]()[u(0x23d)](u(0x21e))[u(0x212)]()[u(0x227)](a94a)[u(0x23d)](u(0x21e));});function a94d(a,b){const c=a94c();return a94d=function(d,e){d=d-0x1e2;let f=c[d];return f;},a94d(a,b);}a94a();import a94e from'path';import a94f from'cli-table';import{paramCase}from'change-case';import a94g from'./generators/maka.gen.js';import{Log,ColorMode}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError}from'./error.js';let _prevGen='';function inside(a='.',b){const v=a94d,c=process['cwd']();let d=null;try{process['chdir'](a),d=b();}finally{process[v(0x1f9)](c);}return d;}export class Generator extends Tool{[a94w(0x232)];[a94w(0x240)];constructor(a,b){const x=a94w;super();if(!a)throw new Error(x(0x207));if(!a['name'])throw new Error(x(0x21a));if(typeof b!==x(0x215))throw new Error(x(0x1ea));this[x(0x240)]=[],this[x(0x232)]=Object[x(0x239)]({},a),this[x(0x202)]=this[x(0x232)][x(0x202)],this[x(0x1f3)]=b[x(0x208)](this);}static[a94w(0x1e4)](a,b,c){const y=a94w;if(!a)throw new Error(y(0x216));if(typeof b!=='function')throw new Error('Generator.create\x20requires\x20a\x20handler\x20function!');const d=new Generator(a,b);return c=c||a94g,Object[y(0x239)](d,{'parent':c?.['options']?.[y(0x202)]}),c[y(0x235)](d),d;}[a94w(0x235)](a){const z=a94w;if(!(a instanceof Generator))throw new Error('addGenerator\x20requires\x20a\x20Generator\x20instance');this[z(0x240)]['push'](a);}[a94w(0x245)](a){const A=a94w,b=this['_generators'][A(0x1f2)](c=>c[A(0x209)](a));return b;}async['validateMakaSubscription'](a,b){const B=a94w,c=this[B(0x245)](a[0x0]);if(c){const d=c?.[B(0x202)]||a[0x0],e=c?.[B(0x210)]||'',f=Object[B(0x20f)](b),g=await this[B(0x219)]['getPro']();!g&&(Log[B(0x1e9)](B(0x200)),process[B(0x21c)](0x1));const h=!g?.[B(0x233)][B(0x21b)](B(0x218))&&!g?.[B(0x233)]['includes'](B(0x1e3)),i=g?.[B(0x1ff)][B(0x21b)](d)||g?.[B(0x1ff)]['includes'](e);if(i&&h)throw B(0x20d)+d+B(0x211);if(f['length']>0x0){const j=g?.[B(0x1eb)][B(0x23a)](k=>f[B(0x21b)](k));if(j&&j[B(0x1f1)]>0x0&&h)throw'To\x20use\x20these\x20pro\x20flags,\x20\x22'+j?.[B(0x206)](',\x20')+'\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27';}}}async[a94w(0x223)](a,b){const C=a94w,{usage:usage='',description:description='',examples:examples=[],shortDesc:c,requiredOpts:requiredOpts=[],validOpts:d}=this[C(0x232)],f=await this[C(0x219)][C(0x22d)](),g=f[C(0x242)]===C(0x213)?ColorMode[C(0x1fe)]:ColorMode[C(0x20c)];Log[C(0x1f4)](g);try{await this[C(0x20b)](a,b);}catch(i){Log['error'](i),process[C(0x21c)](0x1);}const h=a[C(0x244)]();b[C(0x20e)]=h[0x0];try{if((a[0x0]===_prevGen||a[C(0x1f1)]===0x0)&&b['help'])throw new UsageError();if(this['options'][C(0x1fb)]){const j=this[C(0x1f7)]();if(!j)throw new MustBeInProjectError();}if(this[C(0x232)][C(0x204)]){const k=this[C(0x220)]();if(!k)throw new NoMeteorFoundError();}if(typeof this[C(0x232)]['minArgLength']==='number'){if(a[C(0x1f1)]<this[C(0x232)][C(0x228)]){Log[C(0x1e9)](C(0x22a));throw new UsageError();}}if(typeof this[C(0x232)][C(0x20a)]===C(0x21d)){if(a[C(0x1f1)]>this['options'][C(0x20a)]){Log[C(0x1e9)]('Too\x20many\x20arguments');throw new UsageError();}}if(typeof this[C(0x232)][C(0x203)]===C(0x21d)){if(Object[C(0x20f)](b)['length']<this[C(0x232)]['minOptsLength']){Log['error'](C(0x23b));throw new UsageError();}}if(typeof this[C(0x232)]['maxOptsLength']===C(0x21d)){if(Object['keys'](b)[C(0x1f1)]>=this['options']['maxOptsLength']){Log[C(0x1e9)]('Too\x20many\x20options');throw new UsageError();}}await this[C(0x1e7)](a,b,this[C(0x232)]);if(!b[C(0x20e)]&&!this[C(0x232)]['noResource']){Log[C(0x1e9)]('No\x20resource\x20name\x20specified');throw new UsageError();}_prevGen=a[0x0];}catch(l){Log[C(0x205)](description,examples,usage,c,requiredOpts,d);if(l instanceof UsageError)this[C(0x240)][C(0x1f1)]>0x0&&b['help']&&(Log[C(0x230)](C(0x1e6)),this[C(0x1e8)](this[C(0x240)]));else{if(l instanceof MustBeInProjectError)Log[C(0x1e9)]('You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator');else{if(l instanceof NoMeteorFoundError)Log[C(0x1e9)](C(0x234)),Log[C(0x230)](C(0x21f));else{if(l instanceof NoMeteorAppFoundError)Log[C(0x1e9)](C(0x1ec));else throw l;}}}process['exit'](0x1);}return new Promise(m=>{const D=C;inside(b[D(0x23f)],async()=>{const E=D;try{if(!b[E(0x22c)]&&!this[E(0x219)]['findProjectDirectory']())throw new MustBeInProjectError();const n=b[E(0x20e)]?.[E(0x22b)](/\\/g,'/')['split']('/');!b[E(0x226)]&&(n?.[E(0x1f1)]>0x1?(b[E(0x20e)]=n[E(0x247)](),h[0x0]=b[E(0x20e)],b['dir']=n[E(0x217)](o=>{return paramCase(o);})[E(0x206)](a94e[E(0x23e)])):b[E(0x226)]='');if(this[E(0x232)][E(0x23c)]){if(!b['where']){const p={'type':'list','name':E(0x238),'message':E(0x224),'choices':[{'name':E(0x1e5),'value':E(0x225)},{'name':E(0x1f8),'value':'server'},{'name':'Both','value':E(0x1ed)}]},{colLocAnswer:q}=await Actions[E(0x232)](p);q?b['where']=q:b[E(0x237)]=E(0x1ed);}const o=[E(0x1ed),E(0x225),'server'];if(!o['includes'](b[E(0x237)])){Log[E(0x1e9)]('--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27');throw new UsageError();}switch(b['where']){case E(0x1ed):b[E(0x243)]='lib';break;case'server':b[E(0x243)]=E(0x1fa);break;case'client':b[E(0x243)]=E(0x225);break;default:b[E(0x243)]='';}}m(this[E(0x1f3)][E(0x22e)](this,h,b));}catch(r){console[E(0x1e9)](r);}});});}['listGenerators'](){const F=a94w;this['tableList'](this[F(0x240)]);}[a94w(0x1e8)](a){const G=a94w,b=new a94f({});b[G(0x236)]([G(0x1fd),'Alias',G(0x231)]),a[G(0x1ee)]()[G(0x1f0)](c=>{const H=G;b['push']([c[H(0x202)],c[H(0x246)](),c[H(0x214)]()]);}),Log[G(0x201)](b['toString']());}}
@@ -1 +1 @@
1
- (function(a,b){var f=a94d,c=a();while(!![]){try{var d=parseInt(f(0x72))/0x1*(-parseInt(f(0x71))/0x2)+-parseInt(f(0x6e))/0x3*(-parseInt(f(0x6a))/0x4)+-parseInt(f(0x66))/0x5+-parseInt(f(0x67))/0x6+-parseInt(f(0x6b))/0x7*(-parseInt(f(0x68))/0x8)+parseInt(f(0x6f))/0x9*(-parseInt(f(0x69))/0xa)+parseInt(f(0x6d))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0x77117));function a94c(){var i=['search','4551850NgJbIa','4513758oVWabw','744BNhynh','20voRpma','4272kbSZbk','64841PRIrwR','constructor','14270641lnQmVf','1017VGUHlt','199098saEOoh','apply','144bcFjbP','4531itipsg'];a94c=function(){return i;};return a94c();}var a94b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a94d;if(c){var e=c[g(0x70)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){var h=a94d;return a94a['toString']()[h(0x73)]('(((.+)+)+)+$')['toString']()[h(0x6c)](a94a)[h(0x73)]('(((.+)+)+)+$');});a94a();import'./services/_index.js';import'./api.js';import'./collection.js';import'./component.js';function a94d(a,b){var c=a94c();return a94d=function(d,e){d=d-0x66;var f=c[d];return f;},a94d(a,b);}import'./config.js';import'./dbc.js';import'./hook.js';import'./kit.js';import'./layout.js';import'./methods.js';import'./package.js';import'./publish.js';import'./route.js';import'./service.js';import'./page.js';import'./maka.gen.js';import'./dockerfile.js';import'./maka.gen.js';
1
+ function a95d(a,b){var c=a95c();return a95d=function(d,e){d=d-0x19b;var f=c[d];return f;},a95d(a,b);}(function(a,b){var f=a95d,c=a();while(!![]){try{var d=parseInt(f(0x1a4))/0x1*(-parseInt(f(0x1a5))/0x2)+parseInt(f(0x1a8))/0x3*(-parseInt(f(0x19e))/0x4)+-parseInt(f(0x1a2))/0x5+parseInt(f(0x1ab))/0x6*(-parseInt(f(0x1a7))/0x7)+-parseInt(f(0x1a6))/0x8*(parseInt(f(0x1a3))/0x9)+parseInt(f(0x19f))/0xa+parseInt(f(0x19d))/0xb*(parseInt(f(0x1a1))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0xa3d0d));var a95b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a95d;if(c){var e=c[g(0x1a9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a95a=a95b(this,function(){var h=a95d;return a95a['toString']()[h(0x19c)](h(0x1a0))[h(0x19b)]()[h(0x1aa)](a95a)['search'](h(0x1a0));});a95a();import'./services/_index.js';import'./api.js';function a95c(){var i=['216RmRAvc','8956330ZrnQXJ','(((.+)+)+)+$','26868XHBxhS','118055PkgLRj','41625cxqhIS','6009aRNHKi','52anZdeR','2264qyifAJ','23821hgLtWj','51801BVvsQN','apply','constructor','750ljnIaC','toString','search','12881DzWUoh'];a95c=function(){return i;};return a95c();}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';