@maka/maka-cli 4.5.49 → 4.5.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (134) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/build/_index.js +1 -1
  20. package/bundle/obf/src/commands/build/build.js +1 -1
  21. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/create.js +1 -1
  23. package/bundle/obf/src/commands/debug.js +1 -1
  24. package/bundle/obf/src/commands/deploy.js +1 -1
  25. package/bundle/obf/src/commands/game/_index.js +1 -1
  26. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/game/play.command.js +1 -1
  28. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  29. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  30. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  31. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  63. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  64. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  65. package/bundle/obf/src/commands/generate.js +1 -1
  66. package/bundle/obf/src/commands/get/_index.js +1 -1
  67. package/bundle/obf/src/commands/get/get.command.js +1 -1
  68. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/help.js +1 -1
  72. package/bundle/obf/src/commands/jsdoc.js +1 -1
  73. package/bundle/obf/src/commands/lint.js +1 -1
  74. package/bundle/obf/src/commands/login.js +1 -1
  75. package/bundle/obf/src/commands/logout.js +1 -1
  76. package/bundle/obf/src/commands/logs.js +1 -1
  77. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  78. package/bundle/obf/src/commands/murder.js +1 -1
  79. package/bundle/obf/src/commands/proxy.js +1 -1
  80. package/bundle/obf/src/commands/reconfig.js +1 -1
  81. package/bundle/obf/src/commands/run/_index.js +1 -1
  82. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  83. package/bundle/obf/src/commands/run/run.command.js +1 -1
  84. package/bundle/obf/src/commands/set/_index.js +1 -1
  85. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  86. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  87. package/bundle/obf/src/commands/set/set.command.js +1 -1
  88. package/bundle/obf/src/commands/ssh.js +1 -1
  89. package/bundle/obf/src/commands/ssl.js +1 -1
  90. package/bundle/obf/src/commands/test.js +1 -1
  91. package/bundle/obf/src/commands/version.js +1 -1
  92. package/bundle/obf/src/error.js +1 -1
  93. package/bundle/obf/src/exec.js +1 -1
  94. package/bundle/obf/src/generator.js +1 -1
  95. package/bundle/obf/src/generators/_index.js +1 -1
  96. package/bundle/obf/src/generators/api.js +1 -1
  97. package/bundle/obf/src/generators/collection.js +1 -1
  98. package/bundle/obf/src/generators/component.js +1 -1
  99. package/bundle/obf/src/generators/config.js +1 -1
  100. package/bundle/obf/src/generators/dbc.js +1 -1
  101. package/bundle/obf/src/generators/dockerfile.js +1 -1
  102. package/bundle/obf/src/generators/hook.js +1 -1
  103. package/bundle/obf/src/generators/kit.js +1 -1
  104. package/bundle/obf/src/generators/layout.js +1 -1
  105. package/bundle/obf/src/generators/maka.gen.js +1 -1
  106. package/bundle/obf/src/generators/methods.js +1 -1
  107. package/bundle/obf/src/generators/package.js +1 -1
  108. package/bundle/obf/src/generators/page.js +1 -1
  109. package/bundle/obf/src/generators/publish.js +1 -1
  110. package/bundle/obf/src/generators/route.js +1 -1
  111. package/bundle/obf/src/generators/service.js +1 -1
  112. package/bundle/obf/src/generators/services/_index.js +1 -1
  113. package/bundle/obf/src/generators/services/openssl.js +1 -1
  114. package/bundle/obf/src/generators/services/translation.js +1 -1
  115. package/bundle/obf/src/maka.js +1 -1
  116. package/bundle/obf/src/tool.js +1 -1
  117. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  118. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  119. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  120. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  121. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  122. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  123. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  124. package/bundle/obf/src/tools/https/https.class.js +1 -1
  125. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  126. package/bundle/obf/src/tools/log/log.class.js +1 -1
  127. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  128. package/bundle/obf/src/tools/options/options.class.js +1 -1
  129. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  130. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  131. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  132. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  133. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  134. package/package.json +1 -1
@@ -1 +1 @@
1
- const a76j=a76d;(function(a,b){const g=a76d,c=a();while(!![]){try{const d=parseInt(g(0xdc))/0x1*(-parseInt(g(0xc2))/0x2)+parseInt(g(0xd4))/0x3+-parseInt(g(0xc7))/0x4*(-parseInt(g(0xc8))/0x5)+parseInt(g(0xd9))/0x6+parseInt(g(0xd3))/0x7+-parseInt(g(0xd7))/0x8*(parseInt(g(0xd0))/0x9)+parseInt(g(0xdb))/0xa*(parseInt(g(0xd8))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a76c,0x1c5bd));const a76b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a76d;if(c){const e=c[h(0xcc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a76a=a76b(this,function(){const i=a76d;return a76a[i(0xcf)]()[i(0xc5)](i(0xca))['toString']()[i(0xd1)](a76a)['search']('(((.+)+)+)+$');});a76a();import{Command}from'../command.js';const Maka=new Command({'name':'maka','minArgLength':0x1,'shortDesc':a76j(0xc9),'validOpts':[],'usage':a76j(0xd5),'disableAuthCheck':!![],'examples':[a76j(0xcb),a76j(0xd2),a76j(0xd6),'maka\x20run'],'description':a76j(0xc3)},async function(a,b){const k=a76j;try{const c=a[0x0],d=this[k(0xcd)](c);d?this[k(0xce)](c,a[k(0xda)](0x1),b):this['fsi'][k(0xc4)]();}catch(f){console['error'](f),process[k(0xc6)](0x1);}});export default Maka;function a76d(a,b){const c=a76c();return a76d=function(d,e){d=d-0xc2;let f=c[d];return f;},a76d(a,b);}function a76c(){const l=['maybeProxyCommandToMeteor','search','exit','688668YFqXjy','5gVwSIx','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','(((.+)+)+)+$','maka\x20--help','apply','findSubCommand','runSubCommand','toString','9QvUtOW','constructor','maka\x20install\x20meteor','398272GxDkSO','192012CPmskP','maka\x20<command>\x20[<args>]\x20[<opts>]','maka\x20create\x20Todo','892168iHDoEE','44WKNxdR','540678Yzgmnz','slice','51080FdGbSe','242hVhCtg','1454PzkFpe','\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.-:\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20:-.\x20\x20\x20\x20\x20:--\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::\x20\x20::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::::::\x20.:::::::\x20..\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20..:.....\x20.::..::.\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20.::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::::::\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20\x20::::::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::..-::.\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::....\x20\x20::..---:..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20.\x20.:::::::\x20\x20::..::.\x20..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20\x20:.\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:--\x20\x20\x20\x20\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-:\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20:\x0a.:..::...::.\x20\x20\x20....:\x20\x20\x20.:\x20\x20\x20::\x20\x20....:.\x20\x20\x20\x20\x20\x20\x20\x20.::::\x20\x20.:\x20\x20::\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20\x20....:-\x20\x20.-..:.\x20\x20\x20....:-\x20\x20...\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20.:\x20\x20\x20:-\x20\x20.-\x20\x20.:\x20\x20.:\x20\x20\x20:-\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a.:.\x20\x20\x20:.\x20\x20\x20.:\x20\x20....\x20:.\x20.:.\x20\x20..\x20\x20....\x20:.\x20\x20\x20\x20\x20\x20\x20.....\x20\x20.:.\x20.:.\x0a\x0a\x20\x20'];a76c=function(){return l;};return a76c();}
1
+ 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 +1 @@
1
- var a77h=a77d;function a77d(a,b){var c=a77c();return a77d=function(d,e){d=d-0x67;var f=c[d];return f;},a77d(a,b);}(function(a,b){var f=a77d,c=a();while(!![]){try{var d=-parseInt(f(0x6b))/0x1*(-parseInt(f(0x6f))/0x2)+parseInt(f(0x75))/0x3*(parseInt(f(0x72))/0x4)+-parseInt(f(0x73))/0x5+-parseInt(f(0x78))/0x6*(parseInt(f(0x71))/0x7)+-parseInt(f(0x6c))/0x8+-parseInt(f(0x7a))/0x9*(parseInt(f(0x79))/0xa)+parseInt(f(0x7d))/0xb*(parseInt(f(0x7c))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0xe871f));var a77b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){var g=a77d;return a77a[g(0x6a)]()[g(0x67)]('(((.+)+)+)+$')[g(0x6a)]()[g(0x77)](a77a)['search']('(((.+)+)+)+$');});function a77c(){var j=['create','murder','26phzjpG','Murrrrderrrrr','63FgiVQT','84zUDYZK','9202830EZfxpm','error','270663lKUJzb','%c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.___.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20,-^\x20\x20\x20\x20\x20^-.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x0a.-------|\x20|--------------/\x20\x20__\x20\x20\x20\x20\x20__\x20\x20\x5c-------------------.__\x0a|WMWMWMW|\x20|>>>>>>>>>>>>>\x20|\x20/>>\x5c\x20\x20\x20/>>\x5c\x20|>>>>>>>>>>>>>>>>>>>>>>:>\x0a`-------|\x20|--------------|\x20\x5c__/\x20\x20\x20\x5c__/\x20|-------------------\x27^^\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x5c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20/|\x5c\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x5c_/\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|+H+H+H+|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20^-----^\x0a\x0a','constructor','34002cTAoqk','30lUWFBw','117477lbsvAN','log','56076wtbmve','4191svpmGc','search','font-family:\x20monospace','maka\x20murder','toString','70451YXrefn','13664752xAnxTe'];a77c=function(){return j;};return a77c();}a77a();import{Command}from'../command.js';Command[a77h(0x6d)]({'name':a77h(0x6e),'usage':a77h(0x69),'maxArgLength':0x1,'shortDesc':a77h(0x70),'validOpts':[]},async function(){var i=a77h;try{console[i(0x7b)](i(0x76),i(0x68));}catch(a){console[i(0x74)](a),process['exit'](0x0);}});
1
+ 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 +1 @@
1
- function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0xbd;let f=c[d];return f;},a78d(a,b);}const a78q=a78d;(function(a,b){const n=a78d,c=a();while(!![]){try{const d=-parseInt(n(0xc2))/0x1+-parseInt(n(0xeb))/0x2+-parseInt(n(0xcb))/0x3*(parseInt(n(0xe9))/0x4)+-parseInt(n(0xc7))/0x5*(-parseInt(n(0xd2))/0x6)+parseInt(n(0xd1))/0x7*(-parseInt(n(0xbd))/0x8)+-parseInt(n(0xe2))/0x9*(parseInt(n(0xc9))/0xa)+parseInt(n(0xbe))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0xd7f9e));const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a78d;if(c){const e=c[o(0xe3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const p=a78d;return a78a[p(0xe0)]()['search'](p(0xdd))[p(0xe0)]()[p(0xe6)](a78a)[p(0xda)](p(0xdd));});a78a();import a78e from'fs';import a78f from'path';import a78g from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a78c(){const s=['appName','findGenerator','toString','help','13424139YOdNmT','apply','isFile','bright','constructor','genSSC','maka\x20proxy','52qDXMyR','\x0a\x20\x20If\x20you\x27re\x20running\x20your\x20Meteor\x20service,\x20and\x20need\x20to\x20stand\x20up\x20an\x20SSL\x0a\x20\x20Proxy,\x20this\x20command\x20will\x20automatically\x20create\x20a\x20key\x20pair\x20for\x20use\x20in\x20an\x20HTTPS\x0a\x20\x20proxy.\x0a\x0a\x20\x20For\x20example,\x20you\x27re\x20running\x20http://localhost:3000\x20with\x20\x22maka\x20run\x22\x20then\x20open\x20a\x20new\x0a\x20\x20terminal\x20and\x20run\x20\x22maka\x20proxy\x22\x20to\x20standup\x20https://localhost:3443.\x0a\x20\x20Then\x20open\x20your\x20browser\x20to\x20that\x20URL\x20(you\x20may\x20need\x20to\x20trust\x20the\x20certificates\x0a\x20\x20because\x20they\x20are\x20self-signed)\x20and\x20you\x27ll\x20have\x20an\x20SSL\x20connection\x20to\x20your\x0a\x20\x20http://localhost:3000.\x0a\x0a\x20\x20To\x20avoid\x20possibly\x20overwriting\x20PKI\x20files\x20in\x20higher\x20environments,\x20\x22maka\x20proxy\x22\x0a\x20\x20will\x20try\x20to\x20only\x20generate\x20/\x20store\x20PKI\x20keys\x20in\x20the\x20development\x20environment.\x0a\x20\x20','1988098XUIEXe','join','1125416EDCWKN','72295927yPuHSc','\x20to\x20','createProxyServer','=>\x20SSL\x20Proxy\x20forwarding\x20','1322699BvemAB','invoke','sslconfig','targetPort','.csr','745IUtAqR','localhost','10yDUZxs','development','186429DabBlo','listenPort','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','utf8','readFileSync','maka\x20proxy\x20--target-host\x20http://192.168.1.20','77nreTTh','19164qvqsTm','getProjectConfig','error','create','fsi','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','targetHost','.key','search','listen','.crt','(((.+)+)+)+$'];a78c=function(){return s;};return a78c();}import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a78h from'../generators/maka.gen.js';Command[a78q(0xd5)]({'name':'proxy','usage':a78q(0xe8),'mustBeInMakaProject':!![],'validOpts':[a78q(0xe1),a78q(0xc5),a78q(0xcc),a78q(0xd8)],'maxArgLength':0x1,'shortDesc':a78q(0xd7),'description':a78q(0xea),'examples':['maka\x20proxy',a78q(0xcd),a78q(0xd0)]},async function(a,b){const r=a78q,c=this[r(0xd6)][r(0xd3)](),d=r(0xca),e=this['fsi']['getConfigPath'](d),f=this[r(0xd6)]['mkKeysDir']({'configPath':e}),g=b[r(0xc5)]?Number(b[r(0xc5)]):0xbb8,h=b[r(0xcc)]?Number(b[r(0xcc)]):0xd73,i=b[r(0xd8)]?b[r(0xd8)]:r(0xc8),j=a78f[r(0xec)](f,c[r(0xde)]+r(0xd9)),k=a78f[r(0xec)](f,c[r(0xde)]+'.crt');if(!this[r(0xd6)][r(0xe4)](j)||!this[r(0xd6)][r(0xe4)](k)){const m=a78h[r(0xdf)](r(0xc4));m&&await m[r(0xc3)]([r(0xc4)],{'env':d}),SSL['genCSR']({'keyName':c[r(0xde)]+'.key','csrName':c[r(0xde)]+r(0xc6),'cwd':f}),SSL[r(0xe7)]({'keyName':c[r(0xde)]+'.key','crtName':c[r(0xde)]+r(0xdc),'cwd':f});}if(g===h){Log[r(0xd4)]('Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.');throw new UsageError();}const l={'ssl':{'key':a78e['readFileSync'](j,r(0xce)),'cert':a78e[r(0xcf)](k,'utf8')},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a78g[r(0xc0)](l)[r(0xdb)](Number(h)),Log[r(0xe5)](r(0xc1)+h+r(0xbf)+g);});
1
+ 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 +1 @@
1
- const a79q=a79d;(function(a,b){const n=a79d,c=a();while(!![]){try{const d=-parseInt(n(0x80))/0x1*(parseInt(n(0x8e))/0x2)+parseInt(n(0x96))/0x3+parseInt(n(0xa1))/0x4+-parseInt(n(0x91))/0x5+-parseInt(n(0x82))/0x6*(-parseInt(n(0x8d))/0x7)+-parseInt(n(0x8f))/0x8*(parseInt(n(0x76))/0x9)+-parseInt(n(0x7d))/0xa*(-parseInt(n(0x88))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0xc39ba));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a79d;if(c){const e=c[o(0x7a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const p=a79d;return a79a[p(0x7f)]()[p(0x81)](p(0x92))[p(0x7f)]()[p(0x77)](a79a)['search'](p(0x92));});a79a();import a79e from'fs';function a79c(){const s=['6oQtoaB','632RiZGgc','~/pm2.config.js','5203705pFpmaU','(((.+)+)+)+$','scp','ssh.json','settings.json','4587882zPlPXh','getConfigPath','env','join','Remote\x20host\x20connection\x20successful','ses.json','pm2\x20delete\x20all','sshSync','ping','assign','success','3191532OYGVMp','133803GhkDsW','constructor','readFileSync','exit','apply','Checking\x20remote\x20host\x20availability','parse','2505780cpIMaL','notice','toString','351079EfgjDc','search','24imyeHZ','_keys','reconfig','Reconfigure\x20your\x20deployed\x20applications','echo\x20\x22\x22\x20&&\x20pm2\x20start\x20pm2.config.js\x20&&\x20echo\x20\x22\x22\x20||\x20echo\x20\x22Cound\x20not\x20find\x20PM2,\x20have\x20you\x20deployed\x20the\x20app\x20yet?\x22','existsSync','66wlTgxs','\x0a\x20\x20If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x0a\x20\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.\x0a\x20\x20','maka\x20reconfig\x20--env\x20prod','maka\x20reconfig','pm2.config.js','418313owCxBj'];a79c=function(){return s;};return a79c();}import a79f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x76;let f=c[d];return f;},a79d(a,b);}import{SSH}from'../tools/ssh/ssh.class.js';Command['create']({'name':a79q(0x84),'validOpts':[''],'requiredOpts':[a79q(0x98)],'mustBeInMakaProject':!![],'usage':a79q(0x8b),'shortDesc':a79q(0x85),'description':a79q(0x89),'examples':[a79q(0x8a)]},async function(a,b){const r=a79q;try{const c=this['fsi'][r(0x97)](b[r(0x98)]),d=a79f[r(0x99)](c,r(0x94)),f=a79e[r(0x78)](d)[r(0x7f)](),g=JSON[r(0x7c)](f);Object[r(0x9f)](g,{'env':c}),Log[r(0x7e)](r(0x7b));const h=SSH[r(0x9e)]('uname\x20-a',g);if(!h)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(h)Log[r(0xa0)](r(0x9a));const i=a79f[r(0x99)](c,r(0x83),r(0x9b));if(a79e[r(0x87)](i)){const l={'source':i,'dest':'~/ses.json','verbose':!![]};SSH[r(0x93)](l,{...g});}const j=a79f[r(0x99)](c,r(0x8c));SSH[r(0x93)]({'source':j,'dest':r(0x90),'verbose':!![]},{...g});const k=a79f[r(0x99)](c,r(0x95));SSH[r(0x93)]({'source':k,'dest':'~/settings.json','verbose':!![]},{...g}),SSH[r(0x9d)](r(0x9c),g),await SSH['ssh'](r(0x86),{...g},{'verbose':!![]});}catch(m){console['error'](m),process[r(0x79)](0x0);}});
1
+ 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 +1 @@
1
- (function(a,b){var f=a80d,c=a();while(!![]){try{var d=-parseInt(f(0xed))/0x1+-parseInt(f(0xec))/0x2+parseInt(f(0xf0))/0x3+-parseInt(f(0xf4))/0x4+parseInt(f(0xee))/0x5*(parseInt(f(0xea))/0x6)+parseInt(f(0xf3))/0x7*(parseInt(f(0xf5))/0x8)+-parseInt(f(0xef))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0x68c1e));function a80d(a,b){var c=a80c();return a80d=function(d,e){d=d-0xea;var f=c[d];return f;},a80d(a,b);}var a80b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a80d;if(c){var e=c[g(0xeb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){var h=a80d;return a80a[h(0xf6)]()[h(0xf2)](h(0xf1))['toString']()['constructor'](a80a)[h(0xf2)](h(0xf1));});a80a();function a80c(){var i=['115884xrgPRj','560174tZmPLb','3814385DUKieQ','4650867fxbXJc','2521167DcBrJr','(((.+)+)+)+$','search','7IUJAUK','1291356XdMbbD','2268304PmtMrC','toString','6jiDIVR','apply'];a80c=function(){return i;};return a80c();}import'./run.command.js';import'./docker.sub.cmd.js';
1
+ 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 +1 @@
1
- function a81d(a,b){const c=a81c();return a81d=function(d,e){d=d-0x1b3;let f=c[d];return f;},a81d(a,b);}const a81l=a81d;(function(a,b){const i=a81d,c=a();while(!![]){try{const d=-parseInt(i(0x1d3))/0x1*(parseInt(i(0x1bb))/0x2)+-parseInt(i(0x1d2))/0x3*(-parseInt(i(0x1c8))/0x4)+parseInt(i(0x1be))/0x5+parseInt(i(0x1cb))/0x6*(parseInt(i(0x1c3))/0x7)+parseInt(i(0x1bc))/0x8+-parseInt(i(0x1ce))/0x9+parseInt(i(0x1b4))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0xb6bc5));function a81c(){const n=['9927252wAAHGJ','config/docker-compose.yaml','PM2\x20Config\x20File:\x20','search','726078KWZSSB','613733PHPyfQ','join','Docker\x20Compose\x20Path:\x20','1795360aczgUw','exit','getProjectConfig','apply','\x0a\x20\x20Run\x20your\x20application\x20in\x20a\x20Docker\x20container.\x20\x20Docker\x20Desktop\x20or\x20Colmia\x20is\x20required.\x0a\x0a\x20\x20Colima\x20is\x20a\x20great\x20alternative\x20to\x20Docker\x20Desktop,\x20and\x20it\x20is\x20free!\x0a\x20\x20Colima:\x20https://github.com/abiosoft/colima\x0a\x0a\x0a\x20\x20A\x20docker-compose.yml\x20file\x20(location\x20defaulted\x20to\x20the\x20\x22config/docker\x22\x20folder)\x0a\x20\x20is\x20used\x20to\x20startup\x20mongo\x20and\x20load\x20the\x20built\x20image\x27\x0a\x20\x20','getConfigPath','constructor','4UHVnRE','4605456bfKMNB','inherit','5324460PoMQzB','(((.+)+)+)+$','createFile','maka\x20run\x20docker','docker-compose\x20--project-directory\x20','7QQNZkG','toString','appName','\x20up\x20--remove-orphans','docker','4rUfbgo','existsSync','create','6101058vnEQAA','fsi','notice'];a81c=function(){return n;};return a81c();}const a81b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a81d;if(c){const e=c[j(0x1b7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){const k=a81d;return a81a[k(0x1c4)]()['search'](k(0x1bf))[k(0x1c4)]()[k(0x1ba)](a81a)[k(0x1d1)](k(0x1bf));});a81a();import a81e from'./run.command.js';import{execSync}from'child_process';import a81f from'path';import a81g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a81l(0x1ca)]({'name':a81l(0x1c7),'aliases':['d'],'shortDesc':'Run\x20your\x20application\x20in\x20a\x20Docker\x20container','description':a81l(0x1b8),'usage':a81l(0x1c1),'validOpts':['']},async function(){const m=a81l;try{const a=this['fsi'][m(0x1b6)](),b=this[m(0x1cc)][m(0x1b9)](m(0x1c7)),c=a81f[m(0x1d4)](b,'docker-compose.yaml'),d=a81f[m(0x1d4)](b,'pm2.config.js');Log[m(0x1cd)](m(0x1d0)+d),Log['notice'](m(0x1b3)+c);if(!a81g[m(0x1c9)](c)){const f={'app':a[m(0x1c5)],'appFileCase':paramCase(a['appName'])},g=this[m(0x1cc)]['templateContent']({'srcPath':m(0x1cf),'context':f})+'\x0a';this[m(0x1cc)][m(0x1c0)]({'filePath':c,'data':g});}execSync(m(0x1c2)+b+m(0x1c6),{'stdio':m(0x1bd)});}catch(h){process[m(0x1b5)](0x1);}},a81e);
1
+ 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 +1 @@
1
- const a82v=a82d;(function(a,b){const r=a82d,c=a();while(!![]){try{const d=parseInt(r(0x1c2))/0x1+-parseInt(r(0x1b7))/0x2*(-parseInt(r(0x1c4))/0x3)+-parseInt(r(0x1c7))/0x4+parseInt(r(0x1d9))/0x5+-parseInt(r(0x1c5))/0x6+parseInt(r(0x1d6))/0x7*(parseInt(r(0x1c6))/0x8)+parseInt(r(0x1b2))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x4e1bc));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const s=a82d;if(c){const e=c[s(0x1d8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const t=a82d;return a82a[t(0x1a8)]()['search']('(((.+)+)+)+$')['toString']()[t(0x1d1)](a82a)['search'](t(0x1c9));});a82a();import a82e from'path';import a82f from'fs';import a82g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';function a82c(){const y=['.meteor','Cannot\x20find\x20Node\x20Environment\x20File:\x20','openSync','slice','340209AhoQbz','Node\x20Env\x20Config:\x20','3UQYOfa','583566PuuDUZ','8mGXATr','1490640BRQxvI','error','(((.+)+)+)+$','env','--settings','notice','Please\x20provide\x20a\x20URL\x20where\x20your\x20mobile\x20app\x20should\x20connect\x20to\x20your\x20server\x20(e.g.,\x20-m\x20|\x20--mobile-server=https://example-server.com)','exit','production','getConfigPath','constructor','run','concat','mobile-server','installMeteorPackage','1029532dxTQkV','length','apply','240625ZKazgC','process.env','development','docker','autoupdate','warn','settings','app','--env','settings.json','toString','extraPackages','forEach','Verifying\x20meteor\x20package\x20requirements\x20...','verbose','runSubCommand','findProjectDirectory','push','inspect','ios','988272CtmrAE','argv','isDirectory','sep','Run\x20your\x20Meteor\x20application','289270kGYYyj','fsi','filter','join','isFile','invokeMeteorCommand','checkMeteorPackage'];a82c=function(){return y;};return a82c();}import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const u=a82d;a82f[u(0x1c0)](a,'r'),a82g['config']({'path':a});},Run=Command['create']({'name':a82v(0x1d2),'mustBeInMakaProject':!![],'shortDesc':a82v(0x1b6),'description':'\x0a\x20\x20maka\x20run\x0a\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.','validOpts':['env','docker','r','rawLogs','p','port','i',a82v(0x1b0),'m','mobileServer','v',a82v(0x1ac),'allowIncompatibleUpdate',a82v(0x1a9),'x','exclude-archs','production']},async function(a,b){const w=a82v;try{const c=this[w(0x1b8)][w(0x1ae)]();!this[w(0x1b8)][w(0x1bd)]('autoupdate')&&(Log[w(0x1cc)](w(0x1ab)),await this['fsi'][w(0x1d5)](w(0x1dd),{'cwd':c}));const d=a[0x0],f=this['findSubCommand'](d);f&&this[w(0x1ad)](d,a,b);if(d===w(0x1b1)){const n=this[w(0x1b8)][w(0x1ae)](),o=a82e[w(0x1ba)](n,w(0x1e0),w(0x1be),'local','cordova-build');this[w(0x1b8)][w(0x1b4)](o)&&await rimraf(o);}if(b[w(0x1d4)]&&b['mobile-server']===!![]||b['m']&&b['m']===!![])throw w(0x1cd);await this[w(0x1b8)]['compareMakaToLatest']();const g=b[w(0x1ca)]?b[w(0x1ca)]:w(0x1db),h=this[w(0x1b8)][w(0x1d0)](g),i=a82e[w(0x1ba)](h,w(0x1da));let j=a82e[w(0x1ba)](h,'settings.json');b[w(0x1df)]?j=b[w(0x1df)]:j=a82e['join'](h,w(0x1a7));if(this[w(0x1b8)][w(0x1bb)](i)&&!b[w(0x1dc)])Log[w(0x1cc)](w(0x1c3)+i),syncSource(i);else!b[w(0x1dc)]&&Log['warn'](w(0x1bf)+i);this[w(0x1b8)]['isFile'](j)?(Log[w(0x1cc)]('Meteor\x20Settings:\x20'+j),a=a[w(0x1d3)]([w(0x1cb),j])):Log[w(0x1de)]('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+j);const k=h['split'](a82e[w(0x1b5)]),l=k[k[w(0x1d7)]-0x1];l===w(0x1cf)&&a[w(0x1af)]('--production');const m=process[w(0x1b3)][w(0x1c1)](0x2)['filter'](p=>p!==w(0x1d2))[w(0x1b9)](p=>p!==a[0x0]);m[w(0x1aa)]((p,q)=>{const x=w;p===x(0x1a6)&&m['splice'](q,0x2),p==='-e'&&m['splice'](q,0x2);}),this[w(0x1b8)][w(0x1bc)]('run',a[w(0x1d3)](m));}catch(p){console[w(0x1c8)](p),process[w(0x1ce)](0x1);}});function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x1a6;let f=c[d];return f;},a82d(a,b);}export default Run;
1
+ 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 +1 @@
1
- function a83c(){var i=['(((.+)+)+)+$','3348540WoynEV','7GnwWVy','3594736fENShT','9530vnlnrR','search','80583evEdPm','24auZbxL','3443CdvMkc','constructor','448ySBBAT','533190peoLek','51122rxWMel','toString','apply','33378Ijznmn'];a83c=function(){return i;};return a83c();}(function(a,b){var f=a83d,c=a();while(!![]){try{var d=parseInt(f(0xe2))/0x1*(-parseInt(f(0xdc))/0x2)+-parseInt(f(0xd6))/0x3*(parseInt(f(0xd7))/0x4)+-parseInt(f(0xdb))/0x5+parseInt(f(0xdf))/0x6*(parseInt(f(0xda))/0x7)+parseInt(f(0xe3))/0x8+-parseInt(f(0xe1))/0x9+-parseInt(f(0xe4))/0xa*(-parseInt(f(0xd8))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0x458c8));function a83d(a,b){var c=a83c();return a83d=function(d,e){d=d-0xd6;var f=c[d];return f;},a83d(a,b);}var a83b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a83d;if(c){var e=c[g(0xde)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){var h=a83d;return a83a[h(0xdd)]()[h(0xe5)](h(0xe0))[h(0xdd)]()[h(0xd9)](a83a)[h(0xe5)](h(0xe0));});a83a();import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
1
+ (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 +1 @@
1
- const a84j=a84d;(function(a,b){const h=a84d,c=a();while(!![]){try{const d=parseInt(h(0xf3))/0x1*(parseInt(h(0xfa))/0x2)+parseInt(h(0xef))/0x3+-parseInt(h(0xf1))/0x4*(-parseInt(h(0xde))/0x5)+-parseInt(h(0xda))/0x6*(parseInt(h(0xfd))/0x7)+-parseInt(h(0xdd))/0x8*(-parseInt(h(0xf2))/0x9)+-parseInt(h(0xf8))/0xa+parseInt(h(0xe3))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x1ee95));function a84d(a,b){const c=a84c();return a84d=function(d,e){d=d-0xda;let f=c[d];return f;},a84d(a,b);}const a84b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){const i=a84d;return a84a[i(0xfe)]()['search'](i(0xfb))['toString']()[i(0x105)](a84a)[i(0xfc)]('(((.+)+)+)+$');});a84a();import a84e from'path';import a84f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a84c(){const l=['constructor','allowInsecure','help','global-config','30jQICBz','setGlobalConfig','cacert','1617384fTxoqv','10eGVGrp','disallowInsecure','light','maka\x20set:gc\x20--workspace\x20<path>','Could\x20not\x20find\x20directory','129206kgvIbe','workspace','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','Set\x20global\x20Maka-CLI\x20settings','exit','maka\x20set:gc\x20--insecure\x20<path>','isFile','boolean','Set\x20workspace:\x20','error','maka\x20set:global-config\x20<args>','30540zMMEuS','resolve','101084EFRptU','9OGIFME','4QKHXDC','openai','dark','success','Set\x20color\x20pallet\x20to:\x20','2420670RHfbvF','Set\x20CA\x20Cert\x20Path:\x20','112402xIkguJ','(((.+)+)+)+$','search','183071unkdkP','toString','pallet','create','fsi','Set\x20allowInsecure:\x20','maka\x20set:global-config\x20--cacert\x20<path>','isDirectory'];a84c=function(){return l;};return a84c();}Command[a84j(0x100)]({'name':a84j(0x108),'usage':a84j(0xee),'aliases':['gc'],'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[{'name':'cacert','boolFlag':![]},{'name':a84j(0x106),'boolFlag':!![]},{'name':a84j(0xdf),'boolFlag':!![]},{'name':a84j(0xe4),'boolFlag':![]},{'name':'openai','boolFlag':![]},{'name':a84j(0x107),'boolFlag':!![]},{'name':a84j(0xff),'values':[a84j(0xe0),a84j(0xf5)]}],'shortDesc':a84j(0xe7),'description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x0a\x20\x20There\x20are\x20occasions\x20where\x20your\x20network\x20may\x20need\x20an\x20intermediate\x20certificate\x0a\x20\x20to\x20allow\x20connections\x20outside.\x20\x20You\x20may\x20set\x20your\x20certificate\x20path\x20using\x20the\x20command:\x0a\x0a\x20\x20maka\x20set:gc\x20--cacert\x0a\x20\x20','examples':[a84j(0x103),a84j(0xe9),a84j(0xe1)]},async function(a,b){const k=a84j;try{if(b[k(0xdc)]){if(this[k(0x101)][k(0xea)](b['cacert']))await this[k(0x101)][k(0xdb)]({'cert':b['cacert']}),Log[k(0xf6)](k(0xf9)+b[k(0xdc)]);else{const c=typeof b[k(0xdc)]===k(0xeb)?k(0xe5):k(0xe6)+b[k(0xdc)];throw Log['error'](c);}}if(b['workspace']){const d=this[k(0x101)][k(0x104)](b['workspace']);if(d)await this[k(0x101)]['setGlobalConfig']({'workspace':a84e[k(0xf0)](b[k(0xe4)])}),Log[k(0xf6)](k(0xec)+a84e[k(0xf0)](b['workspace']));else throw Log['error'](k(0xe2));}b['openai']&&(await this[k(0x101)]['setGlobalConfig']({'openai':b['openai']}),Log['success']('Set\x20OpenAI\x20Key:\x20'+b[k(0xf4)]));b[k(0xff)]&&(await this[k(0x101)]['setGlobalConfig']({'pallet':b[k(0xff)]}),Log[k(0xf6)](k(0xf7)+b[k(0xff)]));if(b[k(0x106)]){if(b[k(0x106)]&&b[k(0xdf)])throw Log[k(0xed)]('One\x20or\x20the\x20other\x20buddy');let f=b[k(0x106)];b[k(0xdf)]&&(f=![]),await this[k(0x101)][k(0xdb)]({'allowInsecure':f}),Log['success'](k(0x102)+f);}process[k(0xe8)](0x0);}catch(g){console[k(0xed)](g),process[k(0xe8)](0x0);}},a84f);
1
+ 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 +1 @@
1
- function a85c(){var k=['109108xUswzW','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','apply','4434wRIbuW','365rXRGqr','Set\x20local\x20maka\x20app\x20settings','208323JKPhUR','create','(((.+)+)+)+$','695964uJIZvI','toString','214230xMcBHE','constructor','maka\x20set:lc\x20<opts>','20IqnVRD','Sorry,\x20not\x20implemented\x20yet','111776RMHizF','710802PChtNx','40nRoIZH','search'];a85c=function(){return k;};return a85c();}var a85i=a85d;function a85d(a,b){var c=a85c();return a85d=function(d,e){d=d-0xb5;var f=c[d];return f;},a85d(a,b);}(function(a,b){var f=a85d,c=a();while(!![]){try{var d=-parseInt(f(0xc0))/0x1+parseInt(f(0xb7))/0x2+parseInt(f(0xc6))/0x3+parseInt(f(0xb5))/0x4+-parseInt(f(0xc4))/0x5*(parseInt(f(0xc3))/0x6)+parseInt(f(0xbc))/0x7*(parseInt(f(0xbe))/0x8)+parseInt(f(0xbd))/0x9*(-parseInt(f(0xba))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0x1ab40));var a85b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a85d;if(c){var e=c[g(0xc2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){var h=a85d;return a85a[h(0xb6)]()[h(0xbf)](h(0xc8))[h(0xb6)]()[h(0xb8)](a85a)[h(0xbf)](h(0xc8));});a85a();import a85e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a85i(0xc7)]({'name':'local-config','usage':'maka\x20set:local-config\x20<opts>','examples':[a85i(0xb9),'maka\x20set:local-config\x20<opts>'],'aliases':['lc'],'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'shortDesc':a85i(0xc5),'validOpts':[],'description':a85i(0xc1)},async function(){var j=a85i;Log['notice'](j(0xbb));},a85e);
1
+ 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 +1 @@
1
- const a86i=a86d;function a86c(){const k=['search','66MBvTzM','maka\x20set:<sub-command>\x20<opts>','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','constructor','findSubCommand','1121598YaEGxE','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','(((.+)+)+)+$','132028ebjlaM','apply','474EzvudW','4704656ueKcTq','14hLrJmT','toString','871448WEJMVw','90pDPdnn','runSubCommand','33814572YndKvl','79910eFYFVC','728122fWLMvU','set'];a86c=function(){return k;};return a86c();}(function(a,b){const f=a86d,c=a();while(!![]){try{const d=-parseInt(f(0x1b2))/0x1+parseInt(f(0x1b7))/0x2+parseInt(f(0x1ba))/0x3*(parseInt(f(0x1c2))/0x4)+-parseInt(f(0x1b6))/0x5*(-parseInt(f(0x1c4))/0x6)+parseInt(f(0x1b0))/0x7*(parseInt(f(0x1af))/0x8)+-parseInt(f(0x1bf))/0x9*(-parseInt(f(0x1b3))/0xa)+-parseInt(f(0x1b5))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0xac21f));const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a86d;if(c){const e=c[g(0x1c3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const h=a86d;return a86a['toString']()['search'](h(0x1c1))[h(0x1b1)]()[h(0x1bd)](a86a)[h(0x1b9)](h(0x1c1));});a86a();function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0x1af;let f=c[d];return f;},a86d(a,b);}import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command['create']({'name':a86i(0x1b8),'usage':a86i(0x1bb),'minArgLength':0x1,'shortDesc':a86i(0x1c0),'description':a86i(0x1bc),'validOpts':[]},async function(a,b){const j=a86i,c=a[0x0];if(b['help'])throw new UsageError();const d=this[j(0x1be)](c);d&&this[j(0x1b4)](c,a,b);});export default SetCommand;
1
+ 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 +1 @@
1
- const a87m=a87d;(function(a,b){const j=a87d,c=a();while(!![]){try{const d=-parseInt(j(0x18a))/0x1+parseInt(j(0x17b))/0x2+parseInt(j(0x18e))/0x3+-parseInt(j(0x17f))/0x4+parseInt(j(0x176))/0x5*(parseInt(j(0x180))/0x6)+-parseInt(j(0x172))/0x7*(-parseInt(j(0x189))/0x8)+-parseInt(j(0x170))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0x41813));const a87b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a87d;if(c){const e=c[k(0x181)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){const l=a87d;return a87a[l(0x18b)]()['search']('(((.+)+)+)+$')[l(0x18b)]()[l(0x18d)](a87a)[l(0x174)]('(((.+)+)+)+$');});a87a();function a87c(){const o=['assign','944fEhcFB','181170rrnDcZ','toString','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','constructor','506397INLuJc','parse','maka\x20ssh\x20<command>','413001FuWqsA','env','24619xbzgMX','length','search','sshSync','10yzKTBJ','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','getConfigPath','maka\x20ssh\x20--env\x20staging','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','91016GxFWJx','maka\x20ssh\x20--env\x20dev','create','fsi','2094036Pgxtht','1168686wiypzr','apply','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','error','verbose','exit','ssh.json','ssh'];a87c=function(){return o;};return a87c();}import a87e from'fs';import a87f from'path';import{Command}from'../command.js';function a87d(a,b){const c=a87c();return a87d=function(d,e){d=d-0x16f;let f=c[d];return f;},a87d(a,b);}import{SSH}from'../tools/ssh/ssh.class.js';Command[a87m(0x17d)]({'name':a87m(0x187),'usage':a87m(0x16f),'mustBeInMakaProject':!![],'requiredOpts':[a87m(0x171)],'validOpts':[a87m(0x171),'verbose'],'shortDesc':a87m(0x177),'examples':[a87m(0x17c),a87m(0x179),'maka\x20ssh\x20--env\x20prod',a87m(0x17a),a87m(0x182),a87m(0x18c)]},async function(a,b){const n=a87m;try{const c=this[n(0x17e)][n(0x178)](b[n(0x171)]);let d='';a[n(0x173)]>0x0&&(d=a[0x0]);const f=a87f['join'](c,n(0x186)),g=a87e['readFileSync'](f)[n(0x18b)](),h=JSON[n(0x18f)](g);Object[n(0x188)](h,{'env':c}),SSH[n(0x175)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b[n(0x184)]});}catch(i){console[n(0x183)](i),process[n(0x185)](0x0);}});
1
+ 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 +1 @@
1
- function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x1cf;let f=c[d];return f;},a88d(a,b);}const a88y=a88d;(function(a,b){const v=a88d,c=a();while(!![]){try{const d=-parseInt(v(0x1f2))/0x1*(-parseInt(v(0x1ff))/0x2)+-parseInt(v(0x1fc))/0x3*(parseInt(v(0x1d4))/0x4)+-parseInt(v(0x1f8))/0x5*(parseInt(v(0x1e8))/0x6)+-parseInt(v(0x1fb))/0x7+-parseInt(v(0x1f7))/0x8*(-parseInt(v(0x1d2))/0x9)+parseInt(v(0x1d8))/0xa*(parseInt(v(0x1e3))/0xb)+parseInt(v(0x1f3))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x5e7fd));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a88d;if(c){const e=c[w(0x1dc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const x=a88d;return a88a[x(0x1d7)]()[x(0x1ed)](x(0x1e2))[x(0x1d7)]()[x(0x1df)](a88a)[x(0x1ed)](x(0x1e2));});a88a();import a88e from'fs';import a88f from'path';import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';function a88c(){const A=['ping','258Zpbheq','New\x20CSR\x20written\x20to\x20','mkKeysDir','withSpinner','[?]\x20Domains\x20to\x20register:\x20','Remote\x20host\x20connection\x20successful','notice','Verifying\x20Letsencrypt\x20configuration','getConfigPath','getProjectConfig','readFileSync','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','writeFileSync','letsencrypt.json','maka\x20ssl\x20--env\x20dev\x20generate-csr','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','email','Email\x20to\x20use\x20for\x20auto-updates:\x20','/ssh.json','domains','333SjOZLR','Please\x20provide\x20a\x20command.','4JrvWGx','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','success','toString','50uxjaKk','sudo\x20snap\x20install\x20--classic\x20certbot','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','existsSync','apply','domainNames','join','constructor','ask','assign','(((.+)+)+)+$','696883pakEZL','maka\x20ssl\x20[command]','error','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','.csr','6frKwBN','Using\x20saved\x20letsencrypt\x20config','.crt','parse','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','search','create','.key','generate-csr','Create\x20and\x20manage\x20your\x20SSL\x20operations.','21rOvhyL','5672904PFbXve','genCSR','start','ssh','62680zaDHNq','439795fzmtZS','env','appName','3912202kvWjCb','144591YMYuVB','\x20--email\x20'];a88c=function(){return A;};return a88c();}Command[a88y(0x1ee)]({'name':'ssl','usage':a88y(0x1e4),'validOpts':[a88y(0x1d1),'email'],'requiredOpts':['env'],'shortDesc':a88y(0x1f1),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a88y(0x20d),'maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate',a88y(0x20f)]},async function(a,b){const z=a88y,c=this['fsi'][z(0x208)](),d=this['fsi'][z(0x207)](b[z(0x1f9)]),f=this['fsi'][z(0x201)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0x1f0))SSL[z(0x1f4)]({'keyName':c['appName']+'.key','csrName':c[z(0x1fa)]+z(0x1e7),'cwd':f});else{if(g==='generate-ssc'){if(!a88e[z(0x1db)](a88f[z(0x1de)](f,c[z(0x1fa)]+'.key')))throw z(0x1d5)+a88f[z(0x1de)](f,c[z(0x1fa)]+z(0x1ef));if(!a88e[z(0x1db)](a88f[z(0x1de)](f,c['appName']+z(0x1e7))))throw z(0x1ec)+a88f[z(0x1de)](f,c['appName']+z(0x1e7));SSL['genSSC']({'keyName':c['appName']+z(0x1ef),'crtName':c[z(0x1fa)]+z(0x1ea),'cwd':f}),Log['notice'](z(0x200)+f);}else{if(g==='letsencrypt'){let h=b['domains'],i=b[z(0x210)];try{const p=a88e['readFileSync'](a88f[z(0x1de)](d,z(0x20c)))['toString'](),q=JSON[z(0x1eb)](p);h=b[z(0x1d1)]?b[z(0x1d1)]:q[z(0x1dd)],i=b[z(0x210)]?b[z(0x210)]:q['emailUpdate'],(!b[z(0x210)]||!b[z(0x1d1)])&&Log['notice'](z(0x1e9));}catch(r){}const j=JSON['parse'](a88e[z(0x209)](d+z(0x1d0))[z(0x1d7)]());Object[z(0x1e1)](j,{'env':d}),Log[z(0x205)]('Checking\x20remote\x20host\x20availability');try{const s=SSH[z(0x1fe)]('uname\x20-a',j);if(!s)throw z(0x1e6);if(s)Log['success'](z(0x204));}catch(t){Log[z(0x1e5)](t);return;}const k=Log[z(0x202)]();k[z(0x1f5)](z(0x206)),SSH[z(0x1f6)](z(0x20a),{...j}),SSH['ssh'](z(0x1d9),{...j}),SSH[z(0x1f6)](z(0x20e),{...j}),k[z(0x1d6)]();const l=h?h:await Actions[z(0x1e0)](z(0x203)),m=i?i:await Actions[z(0x1e0)](z(0x1cf));SSH[z(0x1f6)](z(0x1da)+l+z(0x1fd)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON['stringify'](n,null,0x2);a88e[z(0x20b)](a88f['join'](d,z(0x20c)),o);}else throw z(0x1d3);}}}catch(u){console[z(0x1e5)](u),process['exit'](0x0);}});
1
+ 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 +1 @@
1
- const a89p=a89d;(function(a,b){const m=a89d,c=a();while(!![]){try{const d=parseInt(m(0xe5))/0x1*(-parseInt(m(0xf9))/0x2)+-parseInt(m(0xfd))/0x3*(-parseInt(m(0xe4))/0x4)+parseInt(m(0xe8))/0x5*(-parseInt(m(0xd8))/0x6)+-parseInt(m(0xd3))/0x7+-parseInt(m(0xea))/0x8+-parseInt(m(0x103))/0x9+parseInt(m(0xe7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0xbbdb5));const a89b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){const n=a89d;return a89a[n(0xe6)]()[n(0xe0)](n(0x107))['toString']()['constructor'](a89a)[n(0xe0)](n(0x107));});a89a();import a89e from'fs';function a89c(){const s=['error','1656664ezPCad','Meteor\x20Settings:\x20','--packages','test','Cannot\x20find\x20Node\x20Environment\x20File:\x20','meteortesting:mocha','engines','parse','warn','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','readFileSync','splice','concat','join','sanjo:jasmine','24urfcCM','config','process.env','create','6nvsIWM','inspect','test-packages','slice','unit','exit','13092075uwUwlc','settings.json','utf8','--full-app','(((.+)+)+)+$','openSync','packages','driver','isFile','testAppPath','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','argv','5087775rqswsH','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','jasmine','--driver-package','filter','6JuoAdM','--driver','notice','config.json','driver-package','getConfigPath','rawLogs','none','search','env','fsi','mocha','1862972KOrPyL','38938Kzujjp','toString','37799810ToBNEp','5430835fjWBgt'];a89c=function(){return s;};return a89c();}import a89f from'path';function a89d(a,b){const c=a89c();return a89d=function(d,e){d=d-0xd3;let f=c[d];return f;},a89d(a,b);}import a89g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const o=a89d;a89e[o(0x108)](a,'r'),a89g[o(0xfa)]({'path':a});};Command[a89p(0xfc)]({'name':'test','mustBeInMakaProject':!![],'validOpts':['once',a89p(0x109),a89p(0x10a),'driverPackage',a89p(0x101),a89p(0xe1),a89p(0xde),'port',a89p(0xfe),a89p(0x10c)],'usage':'maka\x20test\x20<opts>','shortDesc':a89p(0x10d),'examples':[]},function(a,b){const q=a89p;try{let c=this[q(0xe2)]['getConfigPath']('development');b[q(0xe1)]&&(c=this[q(0xe2)][q(0xdd)](b['env']));(!b['unit']||!!b['once'])&&(a=a['concat']([q(0x106)]));b[q(0x101)]&&delete b['unit'];let d=b[q(0xdc)]||b['driver']||q(0xdf);if(d===q(0xdf)){const j=JSON[q(0xf1)](a89e[q(0xf4)](a89f[q(0xf7)](this[q(0xe2)]['findProjectDirectory'](),'.maka',q(0xdb)),q(0x105)));if(j[q(0xf0)][q(0xed)]===q(0xd5))d=q(0xf8);else j[q(0xf0)][q(0xed)]===q(0xe3)&&(d=q(0xef));}if(d==='none')throw q(0xd4);(!b[q(0xdc)]||!b[q(0x10a)])&&(a=a[q(0xf6)]([q(0xd6),d]));const f=a89f[q(0xf7)](c,q(0x104));this['fsi'][q(0x10b)](f)?(Log[q(0xda)](q(0xeb)+f),a=a['concat'](['--settings',f])):Log[q(0xf2)](q(0xf3)+f);const g=a89f['join'](c,q(0xfb));this[q(0xe2)][q(0x10b)](g)?(Log[q(0xda)]('Node\x20Env\x20Config:\x20'+g),syncSource(g)):Log['warn'](q(0xee)+g);const h=process[q(0x10e)][q(0x100)](0x2)[q(0xd7)](k=>k!=='--env')['filter'](k=>k!=='test')[q(0xd7)](k=>k!==a[0x0]);h['forEach']((k,l)=>{const r=q;(k==='--env'||k===r(0xd9))&&h[r(0xf5)](l,0x2),k===r(0xec)&&h[r(0xf5)](l,0x1);});const i=b[q(0x109)]?q(0xff):q(0xed);this['fsi']['invokeMeteorCommand'](i,a[q(0xf6)](h));}catch(k){console[q(0xe9)](k),process[q(0x102)](0x0);}});
1
+ 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 +1 @@
1
- const a90n=a90d;function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0xfd;let f=c[d];return f;},a90d(a,b);}(function(a,b){const k=a90d,c=a();while(!![]){try{const d=-parseInt(k(0x11e))/0x1*(parseInt(k(0x116))/0x2)+-parseInt(k(0x11b))/0x3*(-parseInt(k(0x105))/0x4)+-parseInt(k(0x100))/0x5+-parseInt(k(0x125))/0x6+-parseInt(k(0xfe))/0x7+-parseInt(k(0xff))/0x8+parseInt(k(0x11a))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0xbb023));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a90d;if(c){const e=c[l(0x122)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const m=a90d;return a90a[m(0x10a)]()[m(0x106)]('(((.+)+)+)+$')[m(0x10a)]()[m(0x112)](a90a)[m(0x106)](m(0x10d));});a90a();import{execSync}from'child_process';import a90e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a90c(){const p=['968096DuJGYo','notice','verbose','node\x20-v','39607209DTKsaR','15nXnhNi','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','compareMakaToLatest','2yLapom','Project\x27s\x20Meteor\x20Node\x20Version\x20','4.5.49','N/A','apply','----------------------Project----------------------------','fsi','660702ZXNXOK','----------------------System----------------------------','meteor','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','6900509ownrXK','5286488SVqQTv','6780440vXHxbO','isMakaProject','Project\x27s\x20Meteor\x20Version\x20','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','warn','356868qvGezm','search','\x0a\x20To\x20get\x20the\x20mongo\x20version\x20in\x20use\x20by\x20meteor:\x0a\x201)\x20Run\x20the\x20project,\x20\x22maka\x20run\x22\x0a\x202)\x20In\x20a\x20new\x20terminal\x20open\x20the\x20mongo\x20shell,\x20\x22maka\x20mongo\x22','getProjectsMeteorNodeVersion','maka\x20version','toString','System\x27s\x20Meteor\x20Version\x20','win32','(((.+)+)+)+$','exit','maka\x20version\x20--verbose','bright',')\x20to\x20at\x20least\x20meteor\x27s\x20(','constructor','meteor.bat','replace','version'];a90c=function(){return p;};return a90c();}const pjson={'version':a90n(0x120)};Command['create']({'name':a90n(0x115),'aliases':['v'],'usage':a90n(0x109),'maxArgLength':0x1,'validOpts':[a90n(0x118)],'shortDesc':a90n(0xfd),'examples':['maka\x20v',a90n(0x109),a90n(0x10f)],'description':'\x0a\x20\x20When\x20using\x20the\x20--verbose\x20flag,\x20maka\x20will\x20also\x20check\x20the\x20version\x20of\x20the\x20system\x27s\x20meteor\x20and\x20node\x20versions\x0a\x20\x20along\x20with\x20the\x20project\x27s\x20meteor\x20and\x20node\x20versions.\x20If\x20the\x20system\x27s\x20meteor\x20version\x20is\x20greater\x20than\x20the\x0a\x20\x20project\x27s\x20meteor\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20meteor\x20version.\x20If\x20the\x20system\x27s\x20node\x0a\x20\x20version\x20is\x20greater\x20than\x20the\x20project\x27s\x20node\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20node\x20version.\x0a\x20\x20'},async function(a,b){const o=a90n;try{const c=process['platform']===o(0x10c)?o(0x113):o(0x127);Log['majestic']('Maka\x20'+pjson[o(0x115)]),await this[o(0x124)][o(0x11d)]();if(b[o(0x118)]){await this[o(0x124)][o(0x11d)](),Log[o(0x110)](o(0x126));const d=this[o(0x124)]['getGlobalMeteorVersion']();Log['bright']((o(0x10b)+d)[o(0x114)]('\x0a',''));const f=execSync(c+'\x20node\x20-v')[o(0x10a)]()['replace'](/\r?\n|\r/,'')[o(0x114)]('v','');Log[o(0x110)](o(0x11c)+f);const g=execSync(o(0x119))[o(0x10a)]()['replace'](/\r?\n|\r/,'')[o(0x114)]('v','');a90e['gt'](f,g)?(Log[o(0x104)]('System\x27s\x20Node\x20Version\x20'+g),Log[o(0x104)](o(0x103)+g+o(0x111)+f+')')):Log['bright']('System\x27s\x20Node\x20Version\x20'+g);if(this['fsi'][o(0x101)]()){Log['bright'](o(0x123));const h=this[o(0x124)]['getProjectMeteorVersion']();a90e['gt'](d,h)?(Log[o(0x104)](o(0x102)+h['replace']('\x0a','')),Log['warn']('\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20'+d+'\x22')):Log[o(0x117)](('Project\x27s\x20Meteor\x20Version\x20'+h)[o(0x114)]('\x0a',''));const i=await this[o(0x124)][o(0x108)]();i===o(0x121)?(Log[o(0x104)](o(0x11f)+i),Log[o(0x104)]('\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.')):Log[o(0x110)](o(0x11f)+i),Log[o(0x110)](o(0x107));}}}catch(j){console['error'](j),process[o(0x10e)](0x0);}});
1
+ 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 +1 @@
1
- (function(a,b){var f=a91d,c=a();while(!![]){try{var d=parseInt(f(0x1ef))/0x1*(-parseInt(f(0x1e5))/0x2)+-parseInt(f(0x1ec))/0x3*(parseInt(f(0x1e7))/0x4)+parseInt(f(0x1e4))/0x5*(parseInt(f(0x1f1))/0x6)+parseInt(f(0x1e8))/0x7+-parseInt(f(0x1ee))/0x8+-parseInt(f(0x1f2))/0x9*(parseInt(f(0x1f0))/0xa)+parseInt(f(0x1e3))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0x895ce));var a91b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a91d;if(c){var e=c[g(0x1e6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){var h=a91d;return a91a['toString']()[h(0x1e9)](h(0x1eb))[h(0x1ea)]()[h(0x1ed)](a91a)[h(0x1e9)](h(0x1eb));});a91a();function a91d(a,b){var c=a91c();return a91d=function(d,e){d=d-0x1e3;var f=c[d];return f;},a91d(a,b);}export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}function a91c(){var i=['1616266bHmgLt','apply','117692YIYfkT','7743526aSWIMH','search','toString','(((.+)+)+)+$','87stByVe','constructor','4574352YlJJyy','1NuDnAw','810PGuWLT','1356654DMoXiH','15102VLbxic','17593653kjdDpk','5WXbqDD'];a91c=function(){return i;};return a91c();}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
1
+ (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,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(0xd6))/0x1+-parseInt(f(0xe7))/0x2*(-parseInt(f(0xdc))/0x3)+-parseInt(f(0xe0))/0x4+parseInt(f(0xe8))/0x5*(-parseInt(f(0xe3))/0x6)+parseInt(f(0xd9))/0x7*(parseInt(f(0xe5))/0x8)+parseInt(f(0xe1))/0x9*(parseInt(f(0xd7))/0xa)+-parseInt(f(0xdb))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0xe6c95));var a92b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a92d;if(c){var e=c[g(0xe2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){var h=a92d;return a92a['toString']()[h(0xdf)](h(0xe4))[h(0xd8)]()[h(0xda)](a92a)[h(0xdf)](h(0xe4));});a92a(),process[a92i(0xdd)][a92i(0xde)]=a92i(0xe6);function a92c(){var j=['918652frdxuo','348410SEKwXi','toString','4557tVUbTS','constructor','37884473gHqMQK','54uQJyhl','env','NODE_OPTIONS','search','686296hDLNCG','477gxiiEc','apply','6gUqllr','(((.+)+)+)+$','10168Ebuyhm','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','179194cnzUEa','3222370lTWIsn'];a92c=function(){return j;};return a92c();}function a92d(a,b){var c=a92c();return a92d=function(d,e){d=d-0xd6;var f=c[d];return f;},a92d(a,b);}import'./maka.js';
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';
@@ -1 +1 @@
1
- const a93v=a93d;(function(a,b){const s=a93d,c=a();while(!![]){try{const d=-parseInt(s(0x247))/0x1*(-parseInt(s(0x1ee))/0x2)+parseInt(s(0x24b))/0x3*(parseInt(s(0x1f6))/0x4)+parseInt(s(0x248))/0x5+parseInt(s(0x23a))/0x6+parseInt(s(0x1ef))/0x7+-parseInt(s(0x24e))/0x8*(parseInt(s(0x21c))/0x9)+-parseInt(s(0x1ea))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0xde815));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const t=a93d;return a93a[t(0x202)]()[t(0x23c)](t(0x251))[t(0x202)]()[t(0x204)](a93a)['search'](t(0x251));});a93a();import a93e from'path';import a93f from'cli-table';import{paramCase}from'change-case';function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x1e7;let f=c[d];return f;},a93d(a,b);}import a93g from'./generators/maka.gen.js';import{Log,ColorMode}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError}from'./error.js';function a93c(){const H=['push','14IgKhhM','11607568oiMfPA','_handler','exit','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','validateMeteorInstall','getGlobalConfig','maxOptsLength','12268IvAruv','options','Location','sep','function','addGenerator','--where\x20must\x20be\x20\x27both\x27,\x20\x27client\x27\x20or\x20\x27server\x27','Server','lib','split','colLocAnswer','appPathPrefix','toString','checkWhere','constructor','dir','validateParams','shortDesc','error','validateMakaProject','proFlags','slice','name','getPro','where','DARK','tableList','minArgLength','join','No\x20resource\x20name\x20specified','To\x20use\x20this\x20generator,\x20\x22','includes','root','There\x20is\x20no\x20Meteor\x20application\x20here','fsi','domainLicense','Generator.create\x20requires\x20a\x20handler\x20function!','chdir','14499ucPOJc','Too\x20many\x20arguments','Too\x20many\x20options','bind','singleLicense','create','\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27','keys','length','map','Both','Client','server','find','resourceName','Generator\x20requires\x20a\x20handler\x20function','Please\x20run\x20\x22maka\x20install\x20meteor\x22','roles','Alias','Generator\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','match','noResource','Generator.create\x20requires\x20some\x20options!','Generator\x20requires\x20a\x20name','Description','findGenerator','validateMakaSubscription','LIGHT','sort','both','7889034VXmRQX','light','search','replace','client','assign','To\x20use\x20these\x20pro\x20flags,\x20\x22','_generators','setColorMode','notice','minOptsLength','usage','number','98689NDsAhF','7690135zLSoVK','proGenerators','mustHaveMeteorInstalled','687xVmIIV','help','filter','5816QjoeAb','forEach','mustBeInMakaProject','(((.+)+)+)+$','call','addGenerator\x20requires\x20a\x20Generator\x20instance','invoke','38216780sHVDjX','Too\x20few\x20arguments','cwd'];a93c=function(){return H;};return a93c();}let _prevGen='';function inside(a='.',b){const u=a93d,c=process[u(0x1ec)]();let d=null;try{process[u(0x21b)](a),d=b();}finally{process[u(0x21b)](c);}return d;}export class Generator extends Tool{['options'];[a93v(0x241)];constructor(a,b){const w=a93v;super();if(!a)throw new Error(w(0x22f));if(!a[w(0x20c)])throw new Error(w(0x233));if(typeof b!==w(0x1fa))throw new Error(w(0x22b));this[w(0x241)]=[],this['options']=Object[w(0x23f)]({},a),this[w(0x20c)]=this['options']['name'],this[w(0x1f0)]=b[w(0x21f)](this);}static[a93v(0x221)](a,b,c){const x=a93v;if(!a)throw new Error(x(0x232));if(typeof b!==x(0x1fa))throw new Error(x(0x21a));const d=new Generator(a,b);return c=c||a93g,Object['assign'](d,{'parent':c?.['options']?.[x(0x20c)]}),c[x(0x1fb)](d),d;}['addGenerator'](a){const y=a93v;if(!(a instanceof Generator))throw new Error(y(0x1e8));this[y(0x241)][y(0x1ed)](a);}[a93v(0x235)](a){const z=a93v,b=this['_generators'][z(0x229)](c=>c[z(0x230)](a));return b;}async[a93v(0x236)](a,b){const A=a93v,c=this[A(0x235)](a[0x0]);if(c){const d=c?.[A(0x20c)]||a[0x0],e=c?.['parent']||'',f=Object[A(0x223)](b),g=await this[A(0x218)][A(0x20d)]();!g&&(Log[A(0x208)]('License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.'),process[A(0x1f1)](0x1));const h=!g?.[A(0x22d)][A(0x215)](A(0x220))&&!g?.[A(0x22d)][A(0x215)](A(0x219)),i=g?.[A(0x249)][A(0x215)](d)||g?.[A(0x249)][A(0x215)](e);if(i&&h)throw A(0x214)+d+'\x22,\x20please\x20upgrade\x20to\x20the\x20professional\x20version\x20of\x20Maka-CLI\x20@\x20www.maka-cli.com,\x20then\x20issue:\x20\x27maka\x20login\x27';if(f['length']>0x0){const j=g?.[A(0x20a)][A(0x24d)](k=>f['includes'](k));if(j&&j[A(0x224)]>0x0&&h)throw A(0x240)+j?.[A(0x212)](',\x20')+A(0x222);}}}async[a93v(0x1e9)](a,b){const B=a93v,{usage:usage='',description:description='',examples:examples=[],shortDesc:c,requiredOpts:requiredOpts=[],validOpts:d}=this['options'],f=await this[B(0x218)][B(0x1f4)](),g=f['pallet']===B(0x23b)?ColorMode[B(0x237)]:ColorMode[B(0x20f)];Log[B(0x242)](g);try{await this['validateMakaSubscription'](a,b);}catch(i){Log['error'](i),process['exit'](0x1);}const h=a[B(0x20b)]();b[B(0x22a)]=h[0x0];try{if((a[0x0]===_prevGen||a['length']===0x0)&&b[B(0x24c)])throw new UsageError();if(this['options'][B(0x250)]){const j=this[B(0x209)]();if(!j)throw new MustBeInProjectError();}if(this[B(0x1f7)][B(0x24a)]){const k=this[B(0x1f3)]();if(!k)throw new NoMeteorFoundError();}if(typeof this[B(0x1f7)][B(0x211)]===B(0x246)){if(a[B(0x224)]<this[B(0x1f7)][B(0x211)]){Log[B(0x208)](B(0x1eb));throw new UsageError();}}if(typeof this[B(0x1f7)]['maxArgLength']===B(0x246)){if(a['length']>this[B(0x1f7)]['maxArgLength']){Log['error'](B(0x21d));throw new UsageError();}}if(typeof this[B(0x1f7)][B(0x244)]==='number'){if(Object[B(0x223)](b)[B(0x224)]<this['options'][B(0x244)]){Log[B(0x208)]('Too\x20few\x20options');throw new UsageError();}}if(typeof this[B(0x1f7)][B(0x1f5)]==='number'){if(Object[B(0x223)](b)[B(0x224)]>=this[B(0x1f7)]['maxOptsLength']){Log[B(0x208)](B(0x21e));throw new UsageError();}}await this[B(0x206)](a,b,this[B(0x1f7)]);if(!b[B(0x22a)]&&!this['options'][B(0x231)]){Log[B(0x208)](B(0x213));throw new UsageError();}_prevGen=a[0x0];}catch(l){Log[B(0x245)](description,examples,usage,c,requiredOpts,d);if(l instanceof UsageError)this[B(0x241)]['length']>0x0&&b[B(0x24c)]&&(Log[B(0x243)]('Generators:'),this[B(0x210)](this[B(0x241)]));else{if(l instanceof MustBeInProjectError)Log[B(0x208)]('You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20generator');else{if(l instanceof NoMeteorFoundError)Log['error'](B(0x1f2)),Log[B(0x243)](B(0x22c));else{if(l instanceof NoMeteorAppFoundError)Log[B(0x208)](B(0x217));else throw l;}}}process['exit'](0x1);}return new Promise(m=>{const C=B;inside(b[C(0x1ec)],async()=>{const D=C;try{if(!b[D(0x216)]&&!this[D(0x218)]['findProjectDirectory']())throw new MustBeInProjectError();const n=b['resourceName']?.[D(0x23d)](/\\/g,'/')[D(0x1ff)]('/');!b['dir']&&(n?.[D(0x224)]>0x1?(b[D(0x22a)]=n['pop'](),h[0x0]=b[D(0x22a)],b[D(0x205)]=n[D(0x225)](o=>{return paramCase(o);})[D(0x212)](a93e[D(0x1f9)])):b[D(0x205)]='');if(this[D(0x1f7)][D(0x203)]){if(!b['where']){const p={'type':'list','name':D(0x200),'message':D(0x1f8),'choices':[{'name':D(0x227),'value':D(0x23e)},{'name':D(0x1fd),'value':'server'},{'name':D(0x226),'value':D(0x239)}]},{colLocAnswer:q}=await Actions['options'](p);q?b[D(0x20e)]=q:b[D(0x20e)]=D(0x239);}const o=['both',D(0x23e),'server'];if(!o[D(0x215)](b[D(0x20e)])){Log[D(0x208)](D(0x1fc));throw new UsageError();}switch(b[D(0x20e)]){case D(0x239):b[D(0x201)]=D(0x1fe);break;case D(0x228):b[D(0x201)]=D(0x228);break;case D(0x23e):b['appPathPrefix']=D(0x23e);break;default:b[D(0x201)]='';}}m(this[D(0x1f0)][D(0x1e7)](this,h,b));}catch(r){console[D(0x208)](r);}});});}['listGenerators'](){const E=a93v;this['tableList'](this[E(0x241)]);}[a93v(0x210)](a){const F=a93v,b=new a93f({});b['push'](['Name',F(0x22e),F(0x234)]),a[F(0x238)]()[F(0x24f)](c=>{const G=F;b[G(0x1ed)]([c[G(0x20c)],c['aliases'](),c[G(0x207)]()]);}),Log['bright'](b[F(0x202)]());}}
1
+ 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 +1 @@
1
- (function(a,b){var f=a94d,c=a();while(!![]){try{var d=-parseInt(f(0x80))/0x1+-parseInt(f(0x7c))/0x2*(-parseInt(f(0x7a))/0x3)+parseInt(f(0x78))/0x4*(parseInt(f(0x7f))/0x5)+parseInt(f(0x77))/0x6+-parseInt(f(0x7e))/0x7*(-parseInt(f(0x79))/0x8)+-parseInt(f(0x76))/0x9+-parseInt(f(0x82))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0x752c1));var a94b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){var g=a94d;return a94a[g(0x7d)]()['search'](g(0x7b))['toString']()[g(0x81)](a94a)['search'](g(0x7b));});a94a();import'./services/_index.js';function a94d(a,b){var c=a94c();return a94d=function(d,e){d=d-0x76;var f=c[d];return f;},a94d(a,b);}import'./api.js';function a94c(){var h=['14318ZGeJyo','toString','77RZkuJM','115zGJqfm','759862nQSbXy','constructor','1094990yiwOPN','8039700BvDsmw','4144062lzvkZB','50684dAndnu','453336LCkuTR','267qalxbx','(((.+)+)+)+$'];a94c=function(){return h;};return a94c();}import'./collection.js';import'./component.js';import'./config.js';import'./dbc.js';import'./hook.js';import'./kit.js';import'./layout.js';import'./methods.js';import'./package.js';import'./publish.js';import'./route.js';import'./service.js';import'./page.js';import'./maka.gen.js';import'./dockerfile.js';import'./maka.gen.js';
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';