@maka/maka-cli 4.7.2 → 4.7.3

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 (145) 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/_index.js +1 -1
  25. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  26. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/game/_index.js +1 -1
  29. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/game/play.command.js +1 -1
  31. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  66. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  67. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  68. package/bundle/obf/src/commands/generate.js +1 -1
  69. package/bundle/obf/src/commands/get/_index.js +1 -1
  70. package/bundle/obf/src/commands/get/get.command.js +1 -1
  71. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  72. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  73. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  74. package/bundle/obf/src/commands/help.js +1 -1
  75. package/bundle/obf/src/commands/install.js +1 -1
  76. package/bundle/obf/src/commands/jsdoc.js +1 -1
  77. package/bundle/obf/src/commands/lint.js +1 -1
  78. package/bundle/obf/src/commands/login.js +1 -1
  79. package/bundle/obf/src/commands/logout.js +1 -1
  80. package/bundle/obf/src/commands/logs.js +1 -1
  81. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  82. package/bundle/obf/src/commands/murder.js +1 -1
  83. package/bundle/obf/src/commands/proxy.js +1 -1
  84. package/bundle/obf/src/commands/reconfig.js +1 -1
  85. package/bundle/obf/src/commands/run/_index.js +1 -1
  86. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  87. package/bundle/obf/src/commands/run/run.command.js +1 -1
  88. package/bundle/obf/src/commands/set/_index.js +1 -1
  89. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  90. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  91. package/bundle/obf/src/commands/set/set.command.js +1 -1
  92. package/bundle/obf/src/commands/ssh.js +1 -1
  93. package/bundle/obf/src/commands/ssl.js +1 -1
  94. package/bundle/obf/src/commands/test.js +1 -1
  95. package/bundle/obf/src/commands/version.js +1 -1
  96. package/bundle/obf/src/error.js +1 -1
  97. package/bundle/obf/src/exec.js +1 -1
  98. package/bundle/obf/src/generator.js +1 -1
  99. package/bundle/obf/src/generators/_index.js +1 -1
  100. package/bundle/obf/src/generators/api.js +1 -1
  101. package/bundle/obf/src/generators/collection.js +1 -1
  102. package/bundle/obf/src/generators/component.js +1 -1
  103. package/bundle/obf/src/generators/config.js +1 -1
  104. package/bundle/obf/src/generators/dbc.js +1 -1
  105. package/bundle/obf/src/generators/dockerfile.js +1 -1
  106. package/bundle/obf/src/generators/hook.js +1 -1
  107. package/bundle/obf/src/generators/kits/_index.js +1 -1
  108. package/bundle/obf/src/generators/kits/kit.js +1 -1
  109. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  110. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  111. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  112. package/bundle/obf/src/generators/layout.js +1 -1
  113. package/bundle/obf/src/generators/maka.gen.js +1 -1
  114. package/bundle/obf/src/generators/methods.js +1 -1
  115. package/bundle/obf/src/generators/package.js +1 -1
  116. package/bundle/obf/src/generators/page.js +1 -1
  117. package/bundle/obf/src/generators/publish.js +1 -1
  118. package/bundle/obf/src/generators/route.js +1 -1
  119. package/bundle/obf/src/generators/service.js +1 -1
  120. package/bundle/obf/src/generators/services/_index.js +1 -1
  121. package/bundle/obf/src/generators/services/openssl.js +1 -1
  122. package/bundle/obf/src/generators/services/translation.js +1 -1
  123. package/bundle/obf/src/maka.js +1 -1
  124. package/bundle/obf/src/templates/meteor/template/template.css +1 -4
  125. package/bundle/obf/src/templates/meteor/template/template.css.less +1 -4
  126. package/bundle/obf/src/tool.js +1 -1
  127. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  128. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  129. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  130. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  131. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  132. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  133. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  134. package/bundle/obf/src/tools/https/https.class.js +1 -1
  135. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  136. package/bundle/obf/src/tools/log/log.class.js +1 -1
  137. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  138. package/bundle/obf/src/tools/options/options.class.js +1 -1
  139. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  140. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  141. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  142. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  143. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  144. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  145. package/package.json +1 -1
@@ -1 +1 @@
1
- function a77d(a,b){const c=a77c();return a77d=function(d,e){d=d-0x1f2;let f=c[d];return f;},a77d(a,b);}const a77y=a77d;(function(a,b){const w=a77d,c=a();while(!![]){try{const d=-parseInt(w(0x21d))/0x1*(parseInt(w(0x1f5))/0x2)+-parseInt(w(0x21c))/0x3+-parseInt(w(0x1fa))/0x4*(parseInt(w(0x219))/0x5)+parseInt(w(0x221))/0x6*(-parseInt(w(0x20a))/0x7)+parseInt(w(0x21e))/0x8+parseInt(w(0x1fb))/0x9*(parseInt(w(0x202))/0xa)+-parseInt(w(0x224))/0xb*(-parseInt(w(0x21a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0xe9a91));function a77c(){const A=['login','https://','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','assign','maka\x20login','env','511777GsDezX','Email:','isFile','parse','setGlobalConfig','Logging\x20into\x20https://','fsi','toHex','cacert','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','getGlobalConfig','password','Using\x20CA\x20Cert\x20','error','/api/v1/encodeJwt','66320LmmJDm','319128nKinVT','post','4811829pYaWkm','25873jtSTjB','5064240ZrQwHh','constructor','/api/v1/login','66gpuCqk','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','toString','1507zdHKIF','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','notice','success','get','(((.+)+)+)+$','True','header','authToken','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','search','Logging\x20in','cert','MAKA_DEV','start','34txosyB','www.maka-cli.com','create','ask','\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','172eCVHsp','198uAUzhT','localhost','exit','help','failure','Preflight\x20Check','digest','45010tDbjqc','email'];a77c=function(){return A;};return a77c();}const a77b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){const x=a77d;return a77a[x(0x223)]()['search'](x(0x229))[x(0x223)]()[x(0x21f)](a77a)[x(0x22e)](x(0x229));});a77a();import a77e from'node-forge';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a77y(0x209)][a77y(0x1f3)]===a77y(0x22a)?a77y(0x1fc):a77y(0x1f6);Command[a77y(0x1f7)]({'name':a77y(0x204),'validOpts':[a77y(0x203),a77y(0x215),a77y(0x1fe),a77y(0x212),'debug'],'usage':a77y(0x208),'maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a77y(0x222),'examples':[a77y(0x208),a77y(0x206)]},async function(a,b){const z=a77y,c=Log['withSpinner']();try{let d='';b[z(0x212)]&&(this['fsi'][z(0x20c)](b['cacert'])?(d=b[z(0x212)],Log[z(0x226)](z(0x216)+d)):Log['error'](z(0x213)+d));const f=await this['fsi'][z(0x214)]();if(f['cert']){if(this['fsi'][z(0x20c)](f[z(0x1f2)]))d=f[z(0x1f2)];else{Log['error'](z(0x225)+d);return;}}Log[z(0x22b)](z(0x20f)+hostname);const g={'url':'https://'+hostname+'/api/v1/status'};b['cacert']&&Object['assign'](g,{'cert':d});c[z(0x1f4)](z(0x200));const {statusCode:h}=await HTTPS[z(0x228)](g);if(h===0x198){c['failure']();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}if(h!==0xc8){c[z(0x1ff)]();throw z(0x205)+hostname+z(0x1f9);}c['success']();const i=b[z(0x203)]?b[z(0x203)]:await Actions[z(0x1f8)](z(0x20b)),j=b[z(0x215)]?b['password']:await Actions[z(0x1f8)]('Password:\x20',!![]),k=a77e['md']['sha256'][z(0x1f7)]();k['update'](j);const l=k[z(0x201)]()[z(0x211)](),m={'hostname':hostname,'path':z(0x220),'data':{'email':i,'password':l,'hashed':!![]}};b[z(0x212)]&&Object[z(0x207)](m,{'cert':d});c[z(0x1f4)](z(0x22f));const {data:n,statusCode:o}=await HTTPS[z(0x21b)](m);if(o===0x198){c['failure']('\x0a');throw z(0x22d)+hostname;}const p=JSON['parse'](n);if(p[z(0x22c)]){const q={'hostname':hostname,'path':z(0x218),'headers':{'x-auth-token':p[z(0x22c)]},'data':{}};b[z(0x212)]&&Object[z(0x207)](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS[z(0x21b)](q),{token:t}=JSON[z(0x20d)](r);if(s===0x198)throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://'+hostname;const u={'token':p,'hash':t};this[z(0x210)][z(0x20e)](u);}else{c[z(0x1ff)]();throw p;}c[z(0x227)]();}catch(v){c[z(0x1ff)](),console[z(0x217)](v),process[z(0x1fd)](0x0);}});
1
+ const a77z=a77d;(function(a,b){const w=a77d,c=a();while(!![]){try{const d=parseInt(w(0x137))/0x1+parseInt(w(0x12f))/0x2*(-parseInt(w(0x14e))/0x3)+-parseInt(w(0x15b))/0x4*(parseInt(w(0x14d))/0x5)+parseInt(w(0x14a))/0x6+-parseInt(w(0x130))/0x7+-parseInt(w(0x162))/0x8*(parseInt(w(0x141))/0x9)+parseInt(w(0x151))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0x990fa));const a77b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a77d;if(c){const e=c[x(0x129)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){const y=a77d;return a77a[y(0x15e)]()['search'](y(0x144))[y(0x15e)]()[y(0x135)](a77a)['search']('(((.+)+)+)+$');});a77a();function a77d(a,b){const c=a77c();return a77d=function(d,e){d=d-0x128;let f=c[d];return f;},a77d(a,b);}import a77e from'node-forge';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';function a77c(){const B=['(((.+)+)+)+$','isFile','start','post','ask','help','5063448GGpoKk','email','localhost','5aTywki','5718ZxwtGN','https://','Email:','14207170tOBYZZ','\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','env','Logging\x20into\x20https://','digest','Preflight\x20Check','login','/api/v1/login','setGlobalConfig','4130860NxGbEN','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','get','toString','maka\x20login','parse','notice','53096reJCmk','fsi','apply','success','sha256','header','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','/api/v1/encodeJwt','526ywctlt','4522084RiToni','cacert','password','cert','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','constructor','MAKA_DEV','781250hIrYja','assign','error','www.maka-cli.com','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','update','withSpinner','Logging\x20in','failure','/api/v1/status','324uCIiya','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','create'];a77c=function(){return B;};return a77c();}const hostname=process[a77z(0x154)][a77z(0x136)]==='True'?a77z(0x14c):a77z(0x13a);Command[a77z(0x143)]({'name':a77z(0x158),'validOpts':['email',a77z(0x132),a77z(0x149),a77z(0x131),'debug'],'usage':a77z(0x15f),'maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a77z(0x153),'examples':['maka\x20login',a77z(0x134)]},async function(a,b){const A=a77z,c=Log[A(0x13d)]();try{let d='';b['cacert']&&(this[A(0x128)]['isFile'](b[A(0x131)])?(d=b['cacert'],Log[A(0x161)]('Using\x20CA\x20Cert\x20'+d)):Log[A(0x139)](A(0x15c)+d));const f=await this['fsi']['getGlobalConfig']();if(f[A(0x133)]){if(this[A(0x128)][A(0x145)](f[A(0x133)]))d=f[A(0x133)];else{Log[A(0x139)](A(0x142)+d);return;}}Log[A(0x12c)](A(0x155)+hostname);const g={'url':A(0x14f)+hostname+A(0x140)};b['cacert']&&Object['assign'](g,{'cert':d});c[A(0x146)](A(0x157));const {statusCode:h}=await HTTPS[A(0x15d)](g);if(h===0x198){c['failure']();throw A(0x12d);}if(h!==0xc8){c[A(0x13f)]();throw A(0x14f)+hostname+A(0x152);}c[A(0x12a)]();const i=b['email']?b[A(0x14b)]:await Actions[A(0x148)](A(0x150)),j=b[A(0x132)]?b[A(0x132)]:await Actions[A(0x148)]('Password:\x20',!![]),k=a77e['md'][A(0x12b)][A(0x143)]();k[A(0x13c)](j);const l=k[A(0x156)]()['toHex'](),m={'hostname':hostname,'path':A(0x159),'data':{'email':i,'password':l,'hashed':!![]}};b[A(0x131)]&&Object['assign'](m,{'cert':d});c[A(0x146)](A(0x13e));const {data:n,statusCode:o}=await HTTPS['post'](m);if(o===0x198){c['failure']('\x0a');throw A(0x13b)+hostname;}const p=JSON[A(0x160)](n);if(p['authToken']){const q={'hostname':hostname,'path':A(0x12e),'headers':{'x-auth-token':p['authToken']},'data':{}};b[A(0x131)]&&Object[A(0x138)](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS[A(0x147)](q),{token:t}=JSON['parse'](r);if(s===0x198)throw A(0x13b)+hostname;const u={'token':p,'hash':t};this[A(0x128)][A(0x15a)](u);}else{c['failure']();throw p;}c[A(0x12a)]();}catch(v){c[A(0x13f)](),console['error'](v),process['exit'](0x0);}});
@@ -1 +1 @@
1
- const a78n=a78d;(function(a,b){const l=a78d,c=a();while(!![]){try{const d=-parseInt(l(0x194))/0x1*(-parseInt(l(0x196))/0x2)+-parseInt(l(0x188))/0x3*(-parseInt(l(0x187))/0x4)+parseInt(l(0x167))/0x5+parseInt(l(0x180))/0x6*(-parseInt(l(0x177))/0x7)+parseInt(l(0x16d))/0x8+parseInt(l(0x184))/0x9*(-parseInt(l(0x168))/0xa)+parseInt(l(0x190))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x869b2));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 m=a78d;return a78a[m(0x195)]()[m(0x17b)](m(0x176))[m(0x195)]()['constructor'](a78a)[m(0x17b)](m(0x176));});a78a();import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x165;let f=c[d];return f;},a78d(a,b);}import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a78n(0x186)][a78n(0x18f)]==='True'?a78n(0x181):a78n(0x185);Command[a78n(0x170)]({'name':a78n(0x173),'validOpts':[a78n(0x169)],'usage':a78n(0x178),'maxArgLength':0x2,'shortDesc':'Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','disableAuthCheck':!![],'examples':[a78n(0x178)]},async function(a,b){const o=a78n,c=Log[o(0x16e)]();try{let d='';b['cacert']&&(this[o(0x18d)][o(0x18c)](b[o(0x169)])?(d=b[o(0x169)],Log[o(0x16c)](o(0x179)+d)):Log['error'](o(0x17f)+d));const f=await this['fsi'][o(0x174)]();if(f[o(0x166)]){if(this[o(0x18d)][o(0x18c)](f['cert']))d=f['cert'];else{c['failure']();throw Log['error'](o(0x193)+d);}}Log[o(0x16b)](o(0x172)+hostname);const g={'url':o(0x17c)+hostname+o(0x175)};b[o(0x169)]&&Object['assign'](g,{'cert':d});c['start'](o(0x18e));const {statusCode:h}=await HTTPS[o(0x18b)](g);if(h===0x198){c[o(0x165)]();throw o(0x192);}c[o(0x183)]();if(h!==0xc8){c[o(0x165)]();throw o(0x171);}if(!f?.[o(0x189)]?.[o(0x18a)])throw Log[o(0x17e)](o(0x16f));c[o(0x16a)](o(0x182));const i={'hostname':hostname,'path':o(0x17a),'data':{},'headers':{'x-auth-token':f['token'][o(0x18a)]}};b[o(0x169)]&&Object[o(0x17d)](i,{'cert':d});const {statusCode:j}=await HTTPS['post'](i);if(j===0x198){c[o(0x165)]('\x0a');throw o(0x192);}this[o(0x18d)]['setGlobalConfig']({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[o(0x183)]();}catch(k){k&&console['error'](k),process[o(0x191)](0x0);}});function a78c(){const p=['env','164SPoOfZ','26970bwRLKb','token','authToken','get','isFile','fsi','Preflight\x20Check','MAKA_DEV','1482558uyJFsC','exit','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','91aQTplT','toString','6410pKiNnB','failure','cert','1771735bRJRzj','430RQXbEw','cacert','start','header','notice','3063352WEhJOk','withSpinner','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','create','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','Logging\x20out\x20of\x20https://','logout','getGlobalConfig','/api/v1/status','(((.+)+)+)+$','838082YrazgO','maka\x20logout','Using\x20CA\x20Cert\x20','/api/v1/logoutAll','search','https://','assign','error','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','30KsaveI','localhost','Logging\x20out','success','80019rwtEJL','www.maka-cli.com'];a78c=function(){return p;};return a78c();}
1
+ const a78o=a78d;(function(a,b){const l=a78d,c=a();while(!![]){try{const d=-parseInt(l(0x167))/0x1*(parseInt(l(0x166))/0x2)+-parseInt(l(0x150))/0x3+parseInt(l(0x15e))/0x4+parseInt(l(0x147))/0x5+-parseInt(l(0x155))/0x6+-parseInt(l(0x151))/0x7+-parseInt(l(0x15f))/0x8*(-parseInt(l(0x149))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0xe768c));function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x143;let f=c[d];return f;},a78d(a,b);}const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a78d;if(c){const e=c[m(0x158)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const n=a78d;return a78a['toString']()[n(0x16d)](n(0x163))[n(0x14a)]()[n(0x15a)](a78a)[n(0x16d)](n(0x163));});a78a();import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a78c(){const q=['getGlobalConfig','Logging\x20out','exit','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','search','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','success','Using\x20CA\x20Cert\x20','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','Preflight\x20Check','logout','token','339850BeOHiG','True','5857857ibHFRx','toString','MAKA_DEV','error','assign','Logging\x20out\x20of\x20https://','localhost','2838696NZaBEi','9088289CMWXzn','start','failure','get','2016774OSgkZx','setGlobalConfig','withSpinner','apply','/api/v1/status','constructor','isFile','/api/v1/logoutAll','fsi','7022524yfPOJR','32cYXfyd','cacert','authToken','https://','(((.+)+)+)+$','notice','env','1797106wTqVHD','1bXjHdA','post'];a78c=function(){return q;};return a78c();}import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a78o(0x165)][a78o(0x14b)]===a78o(0x148)?a78o(0x14f):'www.maka-cli.com';Command['create']({'name':a78o(0x145),'validOpts':[a78o(0x160)],'usage':'maka\x20logout','maxArgLength':0x2,'shortDesc':'Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','disableAuthCheck':!![],'examples':['maka\x20logout']},async function(a,b){const p=a78o,c=Log[p(0x157)]();try{let d='';b[p(0x160)]&&(this[p(0x15d)][p(0x15b)](b['cacert'])?(d=b['cacert'],Log[p(0x164)](p(0x171)+d)):Log[p(0x14c)](p(0x143)+d));const f=await this[p(0x15d)][p(0x169)]();if(f['cert']){if(this['fsi'][p(0x15b)](f['cert']))d=f['cert'];else{c[p(0x153)]();throw Log[p(0x14c)]('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+d);}}Log['header'](p(0x14e)+hostname);const g={'url':p(0x162)+hostname+p(0x159)};b[p(0x160)]&&Object[p(0x14d)](g,{'cert':d});c['start'](p(0x144));const {statusCode:h}=await HTTPS[p(0x154)](g);if(h===0x198){c['failure']();throw p(0x16c);}c[p(0x170)]();if(h!==0xc8){c[p(0x153)]();throw p(0x16e);}if(!f?.['token']?.[p(0x161)])throw Log['error'](p(0x16f));c[p(0x152)](p(0x16a));const i={'hostname':hostname,'path':p(0x15c),'data':{},'headers':{'x-auth-token':f[p(0x146)][p(0x161)]}};b[p(0x160)]&&Object[p(0x14d)](i,{'cert':d});const {statusCode:j}=await HTTPS[p(0x168)](i);if(j===0x198){c[p(0x153)]('\x0a');throw p(0x16c);}this[p(0x15d)][p(0x156)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[p(0x170)]();}catch(k){k&&console[p(0x14c)](k),process[p(0x16b)](0x0);}});
@@ -1 +1 @@
1
- const a79m=a79d;(function(a,b){const j=a79d,c=a();while(!![]){try{const d=parseInt(j(0x179))/0x1*(-parseInt(j(0x183))/0x2)+parseInt(j(0x180))/0x3+parseInt(j(0x177))/0x4+parseInt(j(0x176))/0x5+-parseInt(j(0x17c))/0x6*(parseInt(j(0x182))/0x7)+parseInt(j(0x18d))/0x8+-parseInt(j(0x17d))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x39fa6));function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x171;let f=c[d];return f;},a79d(a,b);}const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a79d;if(c){const e=c[k(0x178)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const l=a79d;return a79a['toString']()[l(0x18b)](l(0x172))['toString']()[l(0x189)](a79a)[l(0x18b)]('(((.+)+)+)+$');});a79a();function a79c(){const o=['env','(((.+)+)+)+$','ssh.json','View\x20the\x20PM2\x20logs','logs','2028865EaYbay','121140axUEcy','apply','17yQQAda','fsi','pm2\x20logs','386352gsSidi','1248246yUogZe','getAppConfigPath','maka\x20logs\x20--env\x20staging','1008777yVmdrY','create','49wVhXMH','22276lrJSnZ','parse','error','toString','maka\x20logs','log','constructor','verbose','search','readFileSync','1951560QhvQqg'];a79c=function(){return o;};return a79c();}import a79e from'fs';import a79f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';Command[a79m(0x181)]({'name':a79m(0x175),'aliases':['l',a79m(0x188)],'usage':a79m(0x187),'requiredOpts':[a79m(0x171)],'mustBeInMakaProject':!![],'validOpts':[a79m(0x18a)],'shortDesc':a79m(0x174),'isPro':!![],'examples':['maka\x20logs\x20--env\x20dev',a79m(0x17f),'maka\x20l\x20-e\x20p']},function(a,b){const n=a79m;try{const c=n(0x17b),d=this[n(0x17a)][n(0x17e)](b[n(0x171)]),f=a79f['join'](d,n(0x173)),g=a79e[n(0x18c)](f),h=JSON[n(0x184)](g[n(0x186)]());Object['assign'](h,{'env':d}),SSH['sshSync'](c,h,{'tty':!![],'verbose':!![]});}catch(i){Log[n(0x185)](i);}});
1
+ const a79m=a79d;(function(a,b){const j=a79d,c=a();while(!![]){try{const d=-parseInt(j(0x168))/0x1+-parseInt(j(0x16a))/0x2*(parseInt(j(0x181))/0x3)+parseInt(j(0x175))/0x4*(-parseInt(j(0x174))/0x5)+-parseInt(j(0x17a))/0x6+-parseInt(j(0x17f))/0x7+-parseInt(j(0x169))/0x8+parseInt(j(0x17d))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x74d29));function a79c(){const o=['103769ENZiAz','7566112RBqTTP','189642cIVpbS','pm2\x20logs','maka\x20logs\x20--env\x20staging','toString','maka\x20l\x20-e\x20p','apply','ssh.json','maka\x20logs\x20--env\x20dev','constructor','verbose','2230VrYaKq','836pVCwHc','env','assign','getAppConfigPath','parse','1990224vVzZOM','maka\x20logs','create','24183495gMnkUn','search','492464tqMkxV','readFileSync','21IXLnPK','sshSync','logs'];a79c=function(){return o;};return a79c();}const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a79d;if(c){const e=c[k(0x16f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const l=a79d;return a79a[l(0x16d)]()['search']('(((.+)+)+)+$')[l(0x16d)]()[l(0x172)](a79a)[l(0x17e)]('(((.+)+)+)+$');});a79a();import a79e from'fs';function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x166;let f=c[d];return f;},a79d(a,b);}import a79f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';Command[a79m(0x17c)]({'name':a79m(0x167),'aliases':['l','log'],'usage':a79m(0x17b),'requiredOpts':[a79m(0x176)],'mustBeInMakaProject':!![],'validOpts':[a79m(0x173)],'shortDesc':'View\x20the\x20PM2\x20logs','isPro':!![],'examples':[a79m(0x171),a79m(0x16c),a79m(0x16e)]},function(a,b){const n=a79m;try{const c=n(0x16b),d=this['fsi'][n(0x178)](b['env']),f=a79f['join'](d,n(0x170)),g=a79e[n(0x180)](f),h=JSON[n(0x179)](g['toString']());Object[n(0x177)](h,{'env':d}),SSH[n(0x166)](c,h,{'tty':!![],'verbose':!![]});}catch(i){Log['error'](i);}});
@@ -1 +1 @@
1
- const a80h=a80d;(function(a,b){const f=a80d,c=a();while(!![]){try{const d=-parseInt(f(0xa1))/0x1+parseInt(f(0x9f))/0x2+-parseInt(f(0x98))/0x3*(-parseInt(f(0xa2))/0x4)+-parseInt(f(0xa6))/0x5*(-parseInt(f(0xa7))/0x6)+parseInt(f(0x9a))/0x7+-parseInt(f(0x9e))/0x8+parseInt(f(0x9c))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0x1c986));const a80b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){const g=a80d;return a80a[g(0xa8)]()[g(0x9d)](g(0xa0))[g(0xa8)]()['constructor'](a80a)['search'](g(0xa0));});function a80c(){const j=['maka\x20<command>\x20[<args>]\x20[<opts>]','533410qrJkEi','6NMVEnW','toString','maka','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','\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','exit','50103jxUabK','splice','785547klrmxf','maka\x20install\x20meteor','460944EDIKIQ','search','109456mwkzwu','7376QmifLn','(((.+)+)+)+$','176401GkPzsJ','8FtegcV','processAndRunCommand','maka\x20--help'];a80c=function(){return j;};return a80c();}function a80d(a,b){const c=a80c();return a80d=function(d,e){d=d-0x95;let f=c[d];return f;},a80d(a,b);}a80a();import{Command}from'../command.js';const Maka=new Command({'name':a80h(0xa9),'minArgLength':0x1,'shortDesc':a80h(0x95),'validOpts':[],'usage':a80h(0xa5),'disableAuthCheck':!![],'examples':[a80h(0xa4),a80h(0x9b),'maka\x20create\x20Todo','maka\x20run'],'description':a80h(0x96)},async function(a,b){const i=a80h;try{const c=a[0x0];a[i(0x99)](0x0,0x1),this[i(0xa3)](c,a,b);}catch(d){process[i(0x97)](0x1);}});export default Maka;
1
+ function a80d(a,b){const c=a80c();return a80d=function(d,e){d=d-0x115;let f=c[d];return f;},a80d(a,b);}function a80c(){const j=['maka\x20create\x20Todo','maka','toString','splice','9652734itptSZ','processAndRunCommand','6346416XAuUgb','maka\x20run','11ZBKmAR','21AhZyDR','exit','maka\x20install\x20meteor','3051910JBJNNX','maka\x20--help','\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>]','207CmwnwL','99184WoSyMI','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','78aCyrby','22504MeSACL','constructor','1106492jLHPFv','search','371705htRvjs','12UnYOsv','(((.+)+)+)+$'];a80c=function(){return j;};return a80c();}const a80h=a80d;(function(a,b){const f=a80d,c=a();while(!![]){try{const d=parseInt(f(0x117))/0x1*(parseInt(f(0x11f))/0x2)+parseInt(f(0x127))/0x3*(parseInt(f(0x124))/0x4)+-parseInt(f(0x126))/0x5*(-parseInt(f(0x121))/0x6)+-parseInt(f(0x12d))/0x7+-parseInt(f(0x122))/0x8*(parseInt(f(0x11e))/0x9)+-parseInt(f(0x11a))/0xa*(parseInt(f(0x116))/0xb)+-parseInt(f(0x12f))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0xcc41d));const a80b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){const g=a80d;return a80a[g(0x12b)]()[g(0x125)]('(((.+)+)+)+$')[g(0x12b)]()[g(0x123)](a80a)[g(0x125)](g(0x128));});a80a();import{Command}from'../command.js';const Maka=new Command({'name':a80h(0x12a),'minArgLength':0x1,'shortDesc':a80h(0x120),'validOpts':[],'usage':a80h(0x11d),'disableAuthCheck':!![],'examples':[a80h(0x11b),a80h(0x119),a80h(0x129),a80h(0x115)],'description':a80h(0x11c)},async function(a,b){const i=a80h;try{const c=a[0x0];a[i(0x12c)](0x0,0x1),this[i(0x12e)](c,a,b);}catch(d){process[i(0x118)](0x1);}});export default Maka;
@@ -1 +1 @@
1
- var a81h=a81d;(function(a,b){var f=a81d,c=a();while(!![]){try{var d=-parseInt(f(0x14d))/0x1+parseInt(f(0x15e))/0x2*(-parseInt(f(0x151))/0x3)+-parseInt(f(0x150))/0x4*(parseInt(f(0x14b))/0x5)+-parseInt(f(0x155))/0x6+parseInt(f(0x15d))/0x7*(-parseInt(f(0x15f))/0x8)+parseInt(f(0x157))/0x9*(-parseInt(f(0x14c))/0xa)+parseInt(f(0x15b))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0x207e2));function a81d(a,b){var c=a81c();return a81d=function(d,e){d=d-0x14b;var f=c[d];return f;},a81d(a,b);}function a81c(){var j=['log','constructor','murder','971424xTJklJ','exit','210060fllEgL','font-family:\x20monospace','error','%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','13263140GqjuqT','search','84QeGYXg','2NMfGkh','30056egPpSe','maka\x20murder','10hwxHCi','100VxburA','189745ueKVqp','toString','(((.+)+)+)+$','505840mnQGvr','568791PkhwsR'];a81c=function(){return j;};return a81c();}var a81b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){var g=a81d;return a81a['toString']()[g(0x15c)](g(0x14f))[g(0x14e)]()[g(0x153)](a81a)[g(0x15c)](g(0x14f));});a81a();import{Command}from'../command.js';Command['create']({'name':a81h(0x154),'usage':a81h(0x160),'maxArgLength':0x1,'shortDesc':'Murrrrderrrrr','validOpts':[]},async function(){var i=a81h;try{console[i(0x152)](i(0x15a),i(0x158));}catch(a){console[i(0x159)](a),process[i(0x156)](0x0);}});
1
+ var a81i=a81d;function a81c(){var k=['330vsDKVF','search','create','exit','toString','16hfZuFh','apply','2QBUndv','136409mcIvYe','(((.+)+)+)+$','3285624VUKYyC','1216608cbNXDa','constructor','4036563uEOrLX','32728570UuMSPu','746128awjrjl','%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','font-family:\x20monospace','277120nAPNrr','log','murder'];a81c=function(){return k;};return a81c();}(function(a,b){var f=a81d,c=a();while(!![]){try{var d=parseInt(f(0x9a))/0x1*(parseInt(f(0x92))/0x2)+-parseInt(f(0x95))/0x3+-parseInt(f(0x96))/0x4+parseInt(f(0x9d))/0x5+parseInt(f(0xa0))/0x6*(-parseInt(f(0x93))/0x7)+parseInt(f(0x90))/0x8*(-parseInt(f(0x98))/0x9)+parseInt(f(0x99))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0xac6ca));var a81b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a81d;if(c){var e=c[g(0x91)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){var h=a81d;return a81a['toString']()[h(0x8c)]('(((.+)+)+)+$')[h(0x8f)]()[h(0x97)](a81a)[h(0x8c)](h(0x94));});a81a();import{Command}from'../command.js';function a81d(a,b){var c=a81c();return a81d=function(d,e){d=d-0x8c;var f=c[d];return f;},a81d(a,b);}Command[a81i(0x8d)]({'name':a81i(0x9f),'usage':'maka\x20murder','maxArgLength':0x1,'shortDesc':'Murrrrderrrrr','validOpts':[]},async function(){var j=a81i;try{console[j(0x9e)](j(0x9b),j(0x9c));}catch(a){console['error'](a),process[j(0x8e)](0x0);}});
@@ -1 +1 @@
1
- const a82p=a82d;(function(a,b){const m=a82d,c=a();while(!![]){try{const d=parseInt(m(0x207))/0x1*(-parseInt(m(0x20b))/0x2)+-parseInt(m(0x21c))/0x3+-parseInt(m(0x217))/0x4+-parseInt(m(0x1f2))/0x5+parseInt(m(0x215))/0x6+-parseInt(m(0x20d))/0x7+parseInt(m(0x202))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0xafeae));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a82d;if(c){const e=c[n(0x200)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const o=a82d;return a82a[o(0x21b)]()['search']('(((.+)+)+)+$')[o(0x21b)]()[o(0x20c)](a82a)[o(0x1f9)](o(0x1f6));});function a82c(){const r=['appName','isFile','763699ZCLYbS','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','getAppConfigPath','utf8','2urSaPe','constructor','2541847bZiKNN','proxy','error','listen','help','join','.crt','bright','4064856ZdyjUl','\x20to\x20','2077112wWgrUW','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','create','.key','toString','3606303pfZSJa','3164460fUsoTe','maka\x20proxy','targetHost','maka\x20proxy\x20--target-host\x20http://192.168.1.20','(((.+)+)+)+$','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','genSSC','search','listenPort','.csr','targetPort','development','readFileSync','=>\x20SSL\x20Proxy\x20forwarding\x20','apply','fsi','28193384eZTKDB','createProxyServer','genCSR'];a82c=function(){return r;};return a82c();}a82a();import a82e from'fs';import a82f from'path';import a82g from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x1f2;let f=c[d];return f;},a82d(a,b);}import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a82h from'../generators/maka.gen.js';Command[a82p(0x219)]({'name':a82p(0x20e),'usage':a82p(0x1f3),'mustBeInMakaProject':!![],'validOpts':[a82p(0x211),a82p(0x1fc),a82p(0x1fa),a82p(0x1f4)],'maxArgLength':0x1,'shortDesc':a82p(0x208),'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':['maka\x20proxy',a82p(0x1f7),a82p(0x1f5)]},async function(a,b){const q=a82p,c=this[q(0x201)]['getMakaProjectConfig'](),d=q(0x1fd),e=this['fsi'][q(0x209)](d),f=this[q(0x201)]['mkKeysDir']({'configPath':e}),g=b[q(0x1fc)]?Number(b[q(0x1fc)]):0xbb8,h=b['listenPort']?Number(b[q(0x1fa)]):0xd73,i=b[q(0x1f4)]?b[q(0x1f4)]:'localhost',j=a82f[q(0x212)](f,c['appName']+q(0x21a)),k=a82f[q(0x212)](f,c[q(0x205)]+q(0x213));(!this[q(0x201)][q(0x206)](j)||!this['fsi'][q(0x206)](k))&&(await a82h['processAndRunGenerator']('sslconfig',[],{'env':d}),SSL[q(0x204)]({'keyName':c['appName']+q(0x21a),'csrName':c[q(0x205)]+q(0x1fb),'cwd':f}),SSL[q(0x1f8)]({'keyName':c['appName']+q(0x21a),'crtName':c[q(0x205)]+q(0x213),'cwd':f}));if(g===h){Log[q(0x20f)](q(0x218));throw new UsageError();}const l={'ssl':{'key':a82e[q(0x1fe)](j,q(0x20a)),'cert':a82e['readFileSync'](k,q(0x20a))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a82g[q(0x203)](l)[q(0x210)](Number(h)),Log[q(0x214)](q(0x1ff)+h+q(0x216)+g);});
1
+ function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0xb0;let f=c[d];return f;},a82d(a,b);}const a82p=a82d;function a82c(){const r=['development','createProxyServer','.csr','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','8698BZsqZi','listenPort','error','maka\x20proxy','sslconfig','77eDuJbn','.crt','utf8','proxy','bright','fsi','\x20to\x20','constructor','12rAWUjJ','create','readFileSync','mkKeysDir','4172650LlhIFA','targetPort','targetHost','8EbkAGM','1106833Evfrqv','help','\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','isFile','genSSC','313083lZkjLc','toString','maka\x20proxy\x20--target-host\x20http://192.168.1.20','getMakaProjectConfig','=>\x20SSL\x20Proxy\x20forwarding\x20','20958KUuZCW','getAppConfigPath','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','(((.+)+)+)+$','391296gEvdTw','2053180YdXNhR','join','.key','appName','apply'];a82c=function(){return r;};return a82c();}(function(a,b){const m=a82d,c=a();while(!![]){try{const d=parseInt(m(0xcc))/0x1*(-parseInt(m(0xc7))/0x2)+parseInt(m(0xb9))/0x3+parseInt(m(0xdb))/0x4*(parseInt(m(0xbe))/0x5)+parseInt(m(0xd4))/0x6*(parseInt(m(0xdc))/0x7)+parseInt(m(0xbd))/0x8+parseInt(m(0xb4))/0x9+-parseInt(m(0xd8))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x74399));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a82d;if(c){const e=c[n(0xc2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const o=a82d;return a82a[o(0xb5)]()['search'](o(0xbc))[o(0xb5)]()[o(0xd3)](a82a)['search'](o(0xbc));});a82a();import a82e from'fs';import a82f from'path';import a82g from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a82h from'../generators/maka.gen.js';Command[a82p(0xd5)]({'name':a82p(0xcf),'usage':'maka\x20proxy','mustBeInMakaProject':!![],'validOpts':[a82p(0xb0),a82p(0xd9),a82p(0xc8),a82p(0xda)],'maxArgLength':0x1,'shortDesc':'Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','description':a82p(0xb1),'examples':[a82p(0xca),a82p(0xc6),a82p(0xb6)]},async function(a,b){const q=a82p,c=this[q(0xd1)][q(0xb7)](),d=q(0xc3),e=this[q(0xd1)][q(0xba)](d),f=this[q(0xd1)][q(0xd7)]({'configPath':e}),g=b[q(0xd9)]?Number(b['targetPort']):0xbb8,h=b[q(0xc8)]?Number(b[q(0xc8)]):0xd73,i=b[q(0xda)]?b[q(0xda)]:'localhost',j=a82f[q(0xbf)](f,c['appName']+q(0xc0)),k=a82f[q(0xbf)](f,c[q(0xc1)]+q(0xcd));(!this['fsi'][q(0xb2)](j)||!this[q(0xd1)][q(0xb2)](k))&&(await a82h['processAndRunGenerator'](q(0xcb),[],{'env':d}),SSL['genCSR']({'keyName':c['appName']+'.key','csrName':c[q(0xc1)]+q(0xc5),'cwd':f}),SSL[q(0xb3)]({'keyName':c[q(0xc1)]+q(0xc0),'crtName':c['appName']+q(0xcd),'cwd':f}));if(g===h){Log[q(0xc9)](q(0xbb));throw new UsageError();}const l={'ssl':{'key':a82e['readFileSync'](j,q(0xce)),'cert':a82e[q(0xd6)](k,'utf8')},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a82g[q(0xc4)](l)['listen'](Number(h)),Log[q(0xd0)](q(0xb8)+h+q(0xd2)+g);});
@@ -1 +1 @@
1
- const a83p=a83d;function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0x1d9;let f=c[d];return f;},a83d(a,b);}(function(a,b){const n=a83d,c=a();while(!![]){try{const d=-parseInt(n(0x1f4))/0x1+parseInt(n(0x200))/0x2+parseInt(n(0x1eb))/0x3+parseInt(n(0x1ec))/0x4+-parseInt(n(0x1f7))/0x5+parseInt(n(0x202))/0x6*(parseInt(n(0x1ee))/0x7)+parseInt(n(0x1d9))/0x8*(-parseInt(n(0x1e9))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0xb52d3));const a83b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){const o=a83d;return a83a[o(0x1df)]()[o(0x1f9)]('(((.+)+)+)+$')[o(0x1df)]()['constructor'](a83a)[o(0x1f9)](o(0x1f1));});a83a();import a83e from'fs';import a83f from'path';function a83c(){const r=['ssh','toString','Checking\x20remote\x20host\x20availability','env','join','scp','Remote\x20host\x20connection\x20successful','fsi','parse','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','~/pm2.config.js','9GTDCMK','_keys','1363050hVbKMq','5505152yuMlJE','exit','77Jghyda','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','create','(((.+)+)+)+$','success','Reconfigure\x20your\x20deployed\x20applications','972670KMxmdi','sshSync','uname\x20-a','864320IorciC','\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','search','~/settings.json','ssh.json','error','ses.json','getAppConfigPath','readFileSync','1297170qtpjCA','maka\x20reconfig\x20--env\x20prod','608262CGIeOC','13653896cTbctR','maka\x20reconfig','settings.json','~/ses.json','existsSync'];a83c=function(){return r;};return a83c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a83p(0x1f0)]({'name':'reconfig','validOpts':[''],'requiredOpts':[a83p(0x1e1)],'mustBeInMakaProject':!![],'usage':a83p(0x1da),'isPro':!![],'shortDesc':a83p(0x1f3),'description':a83p(0x1f8),'examples':[a83p(0x201)]},async function(a,b){const q=a83p;try{const c=this[q(0x1e5)][q(0x1fe)](b[q(0x1e1)]),d=a83f['join'](c,q(0x1fb)),f=a83e[q(0x1ff)](d)['toString'](),g=JSON[q(0x1e6)](f);Object['assign'](g,{'env':c}),Log['notice'](q(0x1e0));const h=SSH['ping'](q(0x1f6),g);if(!h)throw q(0x1e7);if(h)Log[q(0x1f2)](q(0x1e4));const i=a83f[q(0x1e2)](c,q(0x1ea),q(0x1fd));if(a83e[q(0x1dd)](i)){const l={'source':i,'dest':q(0x1dc),'verbose':!![]};SSH[q(0x1e3)](l,{...g});}const j=a83f['join'](c,'pm2.config.js');SSH['scp']({'source':j,'dest':q(0x1e8),'verbose':!![]},{...g});const k=a83f['join'](c,q(0x1db));SSH[q(0x1e3)]({'source':k,'dest':q(0x1fa),'verbose':!![]},{...g}),SSH[q(0x1f5)]('pm2\x20delete\x20all',g),await SSH[q(0x1de)](q(0x1ef),{...g},{'verbose':!![]});}catch(m){console[q(0x1fc)](m),process[q(0x1ed)](0x0);}});
1
+ const a83q=a83d;(function(a,b){const n=a83d,c=a();while(!![]){try{const d=parseInt(n(0xd1))/0x1*(parseInt(n(0xb6))/0x2)+parseInt(n(0xba))/0x3*(-parseInt(n(0xb5))/0x4)+parseInt(n(0xc0))/0x5+-parseInt(n(0xd2))/0x6+parseInt(n(0xce))/0x7+-parseInt(n(0xbc))/0x8+parseInt(n(0xc4))/0x9*(-parseInt(n(0xc8))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0xeb00d));function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0xb1;let f=c[d];return f;},a83d(a,b);}const a83b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a83d;if(c){const e=c[o(0xc3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){const p=a83d;return a83a[p(0xc5)]()[p(0xcd)](p(0xbd))['toString']()[p(0xb3)](a83a)['search'](p(0xbd));});a83a();import a83e from'fs';import a83f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';function a83c(){const s=['exit','553zRqheX','9151218ITnAHk','settings.json','\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','sshSync','success','~/pm2.config.js','constructor','create','105312WXmOcj','5396qLkIyr','join','env','getAppConfigPath','24NsVSxt','Remote\x20host\x20connection\x20successful','15058048iXCXhF','(((.+)+)+)+$','~/ses.json','Reconfigure\x20your\x20deployed\x20applications','9215520EMEeiZ','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','readFileSync','apply','49239ckYOVD','toString','fsi','maka\x20reconfig\x20--env\x20prod','1070AGKvZW','ssh.json','reconfig','_keys','notice','search','12816685ZkzJJo','scp'];a83c=function(){return s;};return a83c();}Command[a83q(0xb4)]({'name':a83q(0xca),'validOpts':[''],'requiredOpts':[a83q(0xb8)],'mustBeInMakaProject':!![],'usage':'maka\x20reconfig','isPro':!![],'shortDesc':a83q(0xbf),'description':a83q(0xd4),'examples':[a83q(0xc7)]},async function(a,b){const r=a83q;try{const c=this[r(0xc6)][r(0xb9)](b[r(0xb8)]),d=a83f[r(0xb7)](c,r(0xc9)),f=a83e[r(0xc2)](d)[r(0xc5)](),g=JSON['parse'](f);Object['assign'](g,{'env':c}),Log[r(0xcc)]('Checking\x20remote\x20host\x20availability');const h=SSH['ping']('uname\x20-a',g);if(!h)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(h)Log[r(0xb1)](r(0xbb));const i=a83f[r(0xb7)](c,r(0xcb),'ses.json');if(a83e['existsSync'](i)){const l={'source':i,'dest':r(0xbe),'verbose':!![]};SSH['scp'](l,{...g});}const j=a83f['join'](c,'pm2.config.js');SSH['scp']({'source':j,'dest':r(0xb2),'verbose':!![]},{...g});const k=a83f['join'](c,r(0xd3));SSH[r(0xcf)]({'source':k,'dest':'~/settings.json','verbose':!![]},{...g}),SSH[r(0xd5)]('pm2\x20delete\x20all',g),await SSH['ssh'](r(0xc1),{...g},{'verbose':!![]});}catch(m){console['error'](m),process[r(0xd0)](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a84d,c=a();while(!![]){try{var d=parseInt(f(0xca))/0x1*(-parseInt(f(0xd1))/0x2)+parseInt(f(0xd3))/0x3+parseInt(f(0xce))/0x4+parseInt(f(0xd2))/0x5+parseInt(f(0xd0))/0x6*(-parseInt(f(0xcd))/0x7)+parseInt(f(0xd5))/0x8+-parseInt(f(0xcb))/0x9*(parseInt(f(0xd4))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0xdb310));var a84b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a84d;if(c){var e=c[g(0xcf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){var h=a84d;return a84a[h(0xc9)]()[h(0xd7)]('(((.+)+)+)+$')[h(0xc9)]()[h(0xd6)](a84a)[h(0xd7)](h(0xcc));});function a84d(a,b){var c=a84c();return a84d=function(d,e){d=d-0xc9;var f=c[d];return f;},a84d(a,b);}a84a();function a84c(){var i=['search','toString','2qPzkft','3231WTtiEb','(((.+)+)+)+$','117719RMnkdS','509412gggoxF','apply','492AHuFYE','73786EZwPpe','5752420uWdUVQ','3022920kNtFQU','21360DgiYCa','6655480ecezMp','constructor'];a84c=function(){return i;};return a84c();}import'./run.command.js';import'./docker.sub.cmd.js';
1
+ (function(a,b){var f=a84d,c=a();while(!![]){try{var d=-parseInt(f(0x119))/0x1+parseInt(f(0x116))/0x2+parseInt(f(0x118))/0x3*(-parseInt(f(0x11c))/0x4)+-parseInt(f(0x11a))/0x5*(-parseInt(f(0x122))/0x6)+parseInt(f(0x11d))/0x7*(parseInt(f(0x121))/0x8)+-parseInt(f(0x11f))/0x9+parseInt(f(0x120))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0xd539c));var a84b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){var g=a84d;return a84a[g(0x11e)]()[g(0x117)](g(0x11b))[g(0x11e)]()['constructor'](a84a)['search'](g(0x11b));});a84a();import'./run.command.js';function a84d(a,b){var c=a84c();return a84d=function(d,e){d=d-0x116;var f=c[d];return f;},a84d(a,b);}function a84c(){var h=['10626741ciiHwW','2138100JIxyYe','1860552YPksWR','24MYFgZr','1132206tVYEBR','search','12234LiCBip','184440kEoXyD','1919240rvtTjN','(((.+)+)+)+$','1444GtVtAJ','42DeqWtb','toString'];a84c=function(){return h;};return a84c();}import'./docker.sub.cmd.js';
@@ -1 +1 @@
1
- const a85l=a85d;function a85d(a,b){const c=a85c();return a85d=function(d,e){d=d-0x1eb;let f=c[d];return f;},a85d(a,b);}(function(a,b){const i=a85d,c=a();while(!![]){try{const d=parseInt(i(0x20d))/0x1*(parseInt(i(0x207))/0x2)+-parseInt(i(0x205))/0x3*(-parseInt(i(0x200))/0x4)+-parseInt(i(0x1ee))/0x5*(parseInt(i(0x1fc))/0x6)+parseInt(i(0x20c))/0x7*(parseInt(i(0x1f6))/0x8)+-parseInt(i(0x1ef))/0x9+-parseInt(i(0x1f3))/0xa*(-parseInt(i(0x1fb))/0xb)+-parseInt(i(0x202))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0x8027d));const a85b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a85d;if(c){const e=c[j(0x1f9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){const k=a85d;return a85a[k(0x1ff)]()['search']('(((.+)+)+)+$')[k(0x1ff)]()[k(0x1f2)](a85a)[k(0x1f8)](k(0x1f4));});a85a();function a85c(){const n=['notice','72520ICDWMQ','exit','search','apply','join','22UwXZzY','139626SIWkax','docker-compose\x20--project-directory\x20','templateContent','toString','16ijCxRr','maka\x20run\x20docker','14854272HKcEII','fsi','docker','564267vGYijQ','createFile','16uWLOYO','existsSync','getMakaProjectConfig','config/docker-compose.yaml','create','273KLIksH','112396VEIZqH','inherit','appName','Docker\x20Compose\x20Path:\x20','70IXoGfW','1285704nCnued','docker-compose.yaml','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','constructor','1131860MuRqyw','(((.+)+)+)+$'];a85c=function(){return n;};return a85c();}import a85e from'./run.command.js';import{execSync}from'child_process';import a85f from'path';import a85g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a85l(0x20b)]({'name':a85l(0x204),'aliases':['d'],'shortDesc':a85l(0x1f1),'description':'\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\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','usage':a85l(0x201),'isPro':!![],'validOpts':['']},async function(){const m=a85l;try{const a=this[m(0x203)][m(0x209)](),b=this[m(0x203)]['getAppConfigPath'](m(0x204)),c=a85f[m(0x1fa)](b,m(0x1f0)),d=a85f[m(0x1fa)](b,'pm2.config.js');Log[m(0x1f5)]('PM2\x20Config\x20File:\x20'+d),Log[m(0x1f5)](m(0x1ed)+c);if(!a85g[m(0x208)](c)){const f={'app':a[m(0x1ec)],'appFileCase':paramCase(a[m(0x1ec)])},g=this[m(0x203)][m(0x1fe)]({'srcPath':m(0x20a),'context':f})+'\x0a';this['fsi'][m(0x206)]({'filePath':c,'data':g});}execSync(m(0x1fd)+b+'\x20up\x20--remove-orphans',{'stdio':m(0x1eb)});}catch(h){process[m(0x1f7)](0x1);}},a85e);
1
+ const a85k=a85d;(function(a,b){const i=a85d,c=a();while(!![]){try{const d=parseInt(i(0x139))/0x1*(parseInt(i(0x130))/0x2)+-parseInt(i(0x12a))/0x3+-parseInt(i(0x137))/0x4*(parseInt(i(0x12b))/0x5)+-parseInt(i(0x12f))/0x6*(-parseInt(i(0x135))/0x7)+parseInt(i(0x123))/0x8*(-parseInt(i(0x131))/0x9)+parseInt(i(0x13d))/0xa*(parseInt(i(0x13a))/0xb)+parseInt(i(0x132))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0xace4f));function a85d(a,b){const c=a85c();return a85d=function(d,e){d=d-0x11c;let f=c[d];return f;},a85d(a,b);}const a85b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){const j=a85d;return a85a['toString']()['search'](j(0x13e))[j(0x133)]()['constructor'](a85a)[j(0x11c)](j(0x13e));});a85a();import a85e from'./run.command.js';import{execSync}from'child_process';import a85f from'path';function a85c(){const m=['toString','PM2\x20Config\x20File:\x20','8637986CsUcaL','Docker\x20Compose\x20Path:\x20','28164hcItbL','docker-compose\x20--project-directory\x20','25FxHPHt','453783iiLcVZ','fsi','join','190HGKrPV','(((.+)+)+)+$','pm2.config.js','search','appName','config/docker-compose.yaml','notice','inherit','exit','docker','408mazJHr','existsSync','getMakaProjectConfig','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','\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\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','getAppConfigPath','createFile','1202388YukKSO','765WBBOhL','\x20up\x20--remove-orphans','docker-compose.yaml','create','6LfArlx','45818jYIUVU','160371MlmMKN','6053796IzBrzc'];a85c=function(){return m;};return a85c();}import a85g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a85k(0x12e)]({'name':a85k(0x122),'aliases':['d'],'shortDesc':a85k(0x126),'description':a85k(0x127),'usage':'maka\x20run\x20docker','isPro':!![],'validOpts':['']},async function(){const l=a85k;try{const a=this[l(0x13b)][l(0x125)](),b=this[l(0x13b)][l(0x128)](l(0x122)),c=a85f['join'](b,l(0x12d)),d=a85f[l(0x13c)](b,l(0x13f));Log[l(0x11f)](l(0x134)+d),Log[l(0x11f)](l(0x136)+c);if(!a85g[l(0x124)](c)){const f={'app':a[l(0x11d)],'appFileCase':paramCase(a[l(0x11d)])},g=this[l(0x13b)]['templateContent']({'srcPath':l(0x11e),'context':f})+'\x0a';this['fsi'][l(0x129)]({'filePath':c,'data':g});}execSync(l(0x138)+b+l(0x12c),{'stdio':l(0x120)});}catch(h){process[l(0x121)](0x1);}},a85e);
@@ -1 +1 @@
1
- const a86s=a86d;(function(a,b){const p=a86d,c=a();while(!![]){try{const d=parseInt(p(0x1de))/0x1+-parseInt(p(0x1c0))/0x2+parseInt(p(0x1dc))/0x3*(parseInt(p(0x1e0))/0x4)+-parseInt(p(0x1bd))/0x5+-parseInt(p(0x1d7))/0x6+parseInt(p(0x1ca))/0x7+parseInt(p(0x1f5))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0x464f8));const a86b=(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;};}()),a86a=a86b(this,function(){const q=a86d;return a86a[q(0x1e1)]()[q(0x1db)](q(0x1e3))[q(0x1e1)]()[q(0x1f1)](a86a)[q(0x1db)](q(0x1e3));});a86a();import a86e from'path';import a86f from'fs';import a86g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0x1bc;let f=c[d];return f;},a86d(a,b);}function a86c(){const v=['110152oZIyli','error','cordova-build','mobile-server','Meteor\x20Settings:\x20','.meteor','split','argv','--production','\x0a\x20\x20maka\x20run\x0a\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.','concat','Node\x20Env\x20Config:\x20','invokeMeteorCommand','1020690wVaqew','sep','join','fsi','search','3HLgEAy','run','109098qepBFM','docker','128108efOaUO','toString','isDirectory','(((.+)+)+)+$','mobileServer','slice','warn','inspect','process.env','development','settings.json','isFile','rawLogs','filter','config','verbose','notice','constructor','autoupdate','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','env','5210280dSAWKv','exit','app','342505InljJK','splice','push','563076HrDGmy','getAppConfigPath','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)','allowIncompatibleUpdate','production','forEach','openSync','settings','--env','checkMeteorPackage'];a86c=function(){return v;};return a86c();}const syncSource=function(a){const r=a86d;a86f[r(0x1c6)](a,'r'),a86g[r(0x1ee)]({'path':a});},Run=Command['create']({'name':'run','mustBeInMakaProject':!![],'shortDesc':'Run\x20your\x20Meteor\x20application','description':a86s(0x1d3),'validOpts':[a86s(0x1f4),a86s(0x1df),a86s(0x1ec),'port',a86s(0x1e7),a86s(0x1e4),a86s(0x1ef),a86s(0x1c3),'extraPackages','x','exclude-archs',a86s(0x1c4)]},async function(a,b){const t=a86s;try{await this[t(0x1da)][t(0x1c9)](t(0x1f2),{'shouldInstall':!![]});const c=a[0x0];if(c==='ios'){const l=this[t(0x1da)]['findProjectDirectory'](),m=a86e[t(0x1d9)](l,t(0x1bc),t(0x1cf),'local',t(0x1cc));this[t(0x1da)][t(0x1e2)](m)&&await rimraf(m);}if(b['mobile-server']&&b[t(0x1cd)]===!![]||b['m']&&b['m']===!![])throw t(0x1c2);await this[t(0x1da)]['compareMakaToLatest']();const d=b[t(0x1f4)]?b[t(0x1f4)]:t(0x1e9),f=this[t(0x1da)][t(0x1c1)](d),g=a86e[t(0x1d9)](f,t(0x1e8));let h=a86e['join'](f,t(0x1ea));b['settings']?h=b[t(0x1c7)]:h=a86e[t(0x1d9)](f,t(0x1ea));if(this[t(0x1da)][t(0x1eb)](g)&&!b[t(0x1df)])Log['notice'](t(0x1d5)+g),syncSource(g);else!b[t(0x1df)]&&Log[t(0x1e6)]('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+g);this[t(0x1da)]['isFile'](h)?(Log[t(0x1f0)](t(0x1ce)+h),a=a[t(0x1d4)](['--settings',h])):Log['warn'](t(0x1f3)+h);const i=f[t(0x1d0)](a86e[t(0x1d8)]),j=i[i['length']-0x1];j==='production'&&a[t(0x1bf)](t(0x1d2));const k=process[t(0x1d1)][t(0x1e5)](0x2)[t(0x1ed)](n=>n!==t(0x1dd))[t(0x1ed)](n=>n!==a[0x0]);k[t(0x1c5)]((n,o)=>{const u=t;n===u(0x1c8)&&k[u(0x1be)](o,0x2),n==='-e'&&k[u(0x1be)](o,0x2);}),this['fsi'][t(0x1d6)](t(0x1dd),a[t(0x1d4)](k));}catch(n){console[t(0x1cb)](n),process[t(0x1f6)](0x1);}});export default Run;
1
+ const a86t=a86d;(function(a,b){const p=a86d,c=a();while(!![]){try{const d=-parseInt(p(0x215))/0x1+-parseInt(p(0x1fd))/0x2+-parseInt(p(0x1fb))/0x3*(-parseInt(p(0x206))/0x4)+-parseInt(p(0x223))/0x5+-parseInt(p(0x200))/0x6+-parseInt(p(0x205))/0x7*(-parseInt(p(0x20e))/0x8)+parseInt(p(0x207))/0x9*(parseInt(p(0x21f))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0xdfa99));const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a86d;if(c){const e=c[q(0x212)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const r=a86d;return a86a[r(0x216)]()[r(0x221)](r(0x201))[r(0x216)]()[r(0x1fa)](a86a)['search']('(((.+)+)+)+$');});a86a();import a86e from'path';import a86f from'fs';function a86c(){const w=['Node\x20Env\x20Config:\x20','isFile','203598Bfxmub','(((.+)+)+)+$','app','forEach','push','2191qTrGSA','148sZiDSb','45GQiiAK','mobile-server','splice','settings','.meteor','warn','config','22992IplDUh','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\x20Meteor\x20Settings\x20File:\x20','exit','apply','length','extraPackages','1300300DXardX','toString','settings.json','concat','--production','slice','production','notice','error','isDirectory','4211630cjagoc','compareMakaToLatest','search','docker','2757460XEWYqv','--env','inspect','development','argv','join','autoupdate','port','mobileServer','local','sep','Meteor\x20Settings:\x20','--settings','fsi','Run\x20your\x20Meteor\x20application','\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.','Cannot\x20find\x20Node\x20Environment\x20File:\x20','process.env','filter','exclude-archs','env','split','constructor','81117miQQrI','run','2407948PfCvfD'];a86c=function(){return w;};return a86c();}function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0x1e7;let f=c[d];return f;},a86d(a,b);}import a86g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const s=a86d;a86f['openSync'](a,'r'),a86g[s(0x20d)]({'path':a});},Run=Command['create']({'name':a86t(0x1fc),'mustBeInMakaProject':!![],'shortDesc':a86t(0x1f2),'description':a86t(0x1f3),'validOpts':[a86t(0x1f8),a86t(0x222),'rawLogs',a86t(0x1eb),a86t(0x225),a86t(0x1ec),'verbose','allowIncompatibleUpdate',a86t(0x214),'x',a86t(0x1f7),a86t(0x21b)]},async function(a,b){const u=a86t;try{await this[u(0x1f1)]['checkMeteorPackage'](u(0x1ea),{'shouldInstall':!![]});const c=a[0x0];if(c==='ios'){const l=this[u(0x1f1)]['findProjectDirectory'](),m=a86e[u(0x1e9)](l,u(0x202),u(0x20b),u(0x1ed),'cordova-build');this[u(0x1f1)][u(0x21e)](m)&&await rimraf(m);}if(b[u(0x208)]&&b[u(0x208)]===!![]||b['m']&&b['m']===!![])throw u(0x20f);await this[u(0x1f1)][u(0x220)]();const d=b[u(0x1f8)]?b[u(0x1f8)]:u(0x1e7),f=this[u(0x1f1)]['getAppConfigPath'](d),g=a86e[u(0x1e9)](f,u(0x1f5));let h=a86e['join'](f,u(0x217));b['settings']?h=b[u(0x20a)]:h=a86e['join'](f,'settings.json');if(this[u(0x1f1)][u(0x1ff)](g)&&!b[u(0x222)])Log['notice'](u(0x1fe)+g),syncSource(g);else!b[u(0x222)]&&Log[u(0x20c)](u(0x1f4)+g);this['fsi'][u(0x1ff)](h)?(Log[u(0x21c)](u(0x1ef)+h),a=a[u(0x218)]([u(0x1f0),h])):Log[u(0x20c)](u(0x210)+h);const i=f[u(0x1f9)](a86e[u(0x1ee)]),j=i[i[u(0x213)]-0x1];j==='production'&&a[u(0x204)](u(0x219));const k=process[u(0x1e8)][u(0x21a)](0x2)[u(0x1f6)](n=>n!==u(0x1fc))[u(0x1f6)](n=>n!==a[0x0]);k[u(0x203)]((n,o)=>{const v=u;n===v(0x224)&&k[v(0x209)](o,0x2),n==='-e'&&k[v(0x209)](o,0x2);}),this['fsi']['invokeMeteorCommand'](u(0x1fc),a[u(0x218)](k));}catch(n){console[u(0x21d)](n),process[u(0x211)](0x1);}});export default Run;
@@ -1 +1 @@
1
- function a87c(){var i=['492UogEfw','(((.+)+)+)+$','338824vfkWyl','10727836IbaJfw','943356HmPhgO','constructor','1283272KPJhDy','41185iToxRz','3074332bsiilF','toString','9oTusQf','3064690PanUYb','270OnkYVR','apply'];a87c=function(){return i;};return a87c();}(function(a,b){var f=a87d,c=a();while(!![]){try{var d=parseInt(f(0x80))/0x1+parseInt(f(0x84))/0x2+-parseInt(f(0x86))/0x3*(parseInt(f(0x82))/0x4)+parseInt(f(0x83))/0x5*(-parseInt(f(0x8a))/0x6)+-parseInt(f(0x7f))/0x7+parseInt(f(0x7e))/0x8*(parseInt(f(0x88))/0x9)+parseInt(f(0x87))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0xd8969));var a87b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a87d;if(c){var e=c[g(0x89)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){var h=a87d;return a87a[h(0x85)]()['search'](h(0x8b))[h(0x85)]()[h(0x81)](a87a)['search'](h(0x8b));});function a87d(a,b){var c=a87c();return a87d=function(d,e){d=d-0x7e;var f=c[d];return f;},a87d(a,b);}a87a();import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
1
+ (function(a,b){var f=a87d,c=a();while(!![]){try{var d=parseInt(f(0xce))/0x1+parseInt(f(0xcb))/0x2*(-parseInt(f(0xcd))/0x3)+-parseInt(f(0xc8))/0x4*(parseInt(f(0xc6))/0x5)+-parseInt(f(0xc5))/0x6+parseInt(f(0xc9))/0x7*(-parseInt(f(0xc4))/0x8)+-parseInt(f(0xc7))/0x9*(parseInt(f(0xd1))/0xa)+-parseInt(f(0xd0))/0xb*(-parseInt(f(0xcf))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0xb7cfa));var a87b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a87d;if(c){var e=c[g(0xc3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){var h=a87d;return a87a[h(0xd2)]()[h(0xca)]('(((.+)+)+)+$')['toString']()[h(0xcc)](a87a)[h(0xca)]('(((.+)+)+)+$');});function a87d(a,b){var c=a87c();return a87d=function(d,e){d=d-0xc3;var f=c[d];return f;},a87d(a,b);}function a87c(){var i=['3798436bKPCgA','21847fyizbK','search','14yjMafP','constructor','26361BxqTFV','1267820VIWrvS','125412aATRBr','3069QDLJII','732850zwavJw','toString','apply','1592rAxccB','8153112QxKSyv','5oLaxAm','54RcLzFJ'];a87c=function(){return i;};return a87c();}a87a();import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
@@ -1 +1 @@
1
- const a88j=a88d;(function(a,b){const h=a88d,c=a();while(!![]){try{const d=-parseInt(h(0xc5))/0x1+-parseInt(h(0xc1))/0x2+parseInt(h(0xba))/0x3*(-parseInt(h(0xc8))/0x4)+-parseInt(h(0xbb))/0x5*(parseInt(h(0xaf))/0x6)+-parseInt(h(0xd5))/0x7+-parseInt(h(0xb2))/0x8*(parseInt(h(0xb8))/0x9)+parseInt(h(0xb5))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0xe64f7));const a88b=(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;};}()),a88a=a88b(this,function(){const i=a88d;return a88a[i(0xac)]()[i(0xc6)]('(((.+)+)+)+$')[i(0xac)]()[i(0xb9)](a88a)[i(0xc6)](i(0xb7));});a88a();import a88e from'path';import a88f from'./set.command.js';import{Command}from'../../command.js';function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0xab;let f=c[d];return f;},a88d(a,b);}function a88c(){const l=['isFile','(((.+)+)+)+$','1602XdUtwM','constructor','5019PepaSA','5wggAcS','Set\x20color\x20pallet\x20to:\x20','allowInsecure','Set\x20OpenAI\x20Key:\x20','resolve','create','1084608NjESDT','global-config','pallet','disallowInsecure','121650PxELuP','search','Set\x20CA\x20Cert\x20Path:\x20','304LZUxOC','help','setGlobalConfig','workspace','Set\x20allowInsecure:\x20','light','cacert','maka\x20set:gc\x20--insecure\x20<path>','Set\x20global\x20Maka-CLI\x20settings','error','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','success','One\x20or\x20the\x20other\x20buddy','5089077eatUtZ','dark','isDirectory','toString','exit','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','1976322uWKDcK','openai','maka\x20set:gc\x20--workspace\x20<path>','9208THXBPB','fsi','Could\x20not\x20find\x20directory','29957290vkgHWd'];a88c=function(){return l;};return a88c();}import{Log}from'../../tools/log/log.class.js';Command[a88j(0xc0)]({'name':a88j(0xc2),'usage':'maka\x20set:global-config','aliases':['gc'],'maxOptsLength':0x3,'validOpts':[{'name':a88j(0xce),'boolFlag':![]},{'name':'allowInsecure','boolFlag':!![]},{'name':'disallowInsecure','boolFlag':!![]},{'name':a88j(0xcb),'boolFlag':![]},{'name':a88j(0xb0),'boolFlag':![]},{'name':a88j(0xc9),'boolFlag':!![]},{'name':a88j(0xc3),'values':[a88j(0xcd),a88j(0xd6)]}],'shortDesc':a88j(0xd0),'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':['maka\x20set:global-config\x20--cacert\x20<path>',a88j(0xcf),a88j(0xb1)]},async function(a,b){const k=a88j;try{if(b[k(0xce)]){if(this['fsi'][k(0xb6)](b['cacert']))await this['fsi'][k(0xca)]({'cert':b[k(0xce)]}),Log['success'](k(0xc7)+b['cacert']);else{const c=typeof b[k(0xce)]==='boolean'?k(0xae):k(0xd2)+b[k(0xce)];throw Log[k(0xd1)](c);}}if(b['workspace']){const d=this[k(0xb3)][k(0xab)](b[k(0xcb)]);if(d)await this[k(0xb3)][k(0xca)]({'workspace':a88e[k(0xbf)](b[k(0xcb)])}),Log['success']('Set\x20workspace:\x20'+a88e[k(0xbf)](b[k(0xcb)]));else throw Log[k(0xd1)](k(0xb4));}b[k(0xb0)]&&(await this[k(0xb3)]['setGlobalConfig']({'openai':b[k(0xb0)]}),Log[k(0xd3)](k(0xbe)+b[k(0xb0)]));b['pallet']&&(await this[k(0xb3)][k(0xca)]({'pallet':b[k(0xc3)]}),Log[k(0xd3)](k(0xbc)+b[k(0xc3)]));if(b[k(0xbd)]){if(b[k(0xbd)]&&b['disallowInsecure'])throw Log[k(0xd1)](k(0xd4));let f=b[k(0xbd)];b[k(0xc4)]&&(f=![]),await this[k(0xb3)]['setGlobalConfig']({'allowInsecure':f}),Log[k(0xd3)](k(0xcc)+f);}process['exit'](0x0);}catch(g){console[k(0xd1)](g),process[k(0xad)](0x0);}},a88f);
1
+ const a88j=a88d;(function(a,b){const h=a88d,c=a();while(!![]){try{const d=parseInt(h(0x167))/0x1*(-parseInt(h(0x14d))/0x2)+-parseInt(h(0x149))/0x3+parseInt(h(0x150))/0x4*(-parseInt(h(0x14f))/0x5)+parseInt(h(0x156))/0x6*(-parseInt(h(0x164))/0x7)+-parseInt(h(0x166))/0x8+parseInt(h(0x14e))/0x9+-parseInt(h(0x146))/0xa*(-parseInt(h(0x15e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x9ba85));const a88b=(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;};}()),a88a=a88b(this,function(){const i=a88d;return a88a[i(0x15d)]()[i(0x13f)](i(0x13e))['toString']()['constructor'](a88a)[i(0x13f)](i(0x13e));});a88a();import a88e from'path';import a88f from'./set.command.js';import{Command}from'../../command.js';function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x13b;let f=c[d];return f;},a88d(a,b);}function a88c(){const l=['547317ZUVXsl','openai','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','cacert','4HtMwMm','9434097YsYuzQ','2213595ChXkfj','4ZSCFuW','Set\x20workspace:\x20','disallowInsecure','help','Set\x20CA\x20Cert\x20Path:\x20','allowInsecure','28518NnouqO','dark','Set\x20color\x20pallet\x20to:\x20','success','error','maka\x20set:gc\x20--insecure\x20<path>','isFile','toString','9691tapWEQ','light','maka\x20set:global-config','pallet','boolean','maka\x20set:gc\x20--workspace\x20<path>','665NlgiIY','Set\x20global\x20Maka-CLI\x20settings','8700408BoPXVr','295819lhWeVk','workspace','create','maka\x20set:global-config\x20--cacert\x20<path>','(((.+)+)+)+$','search','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','Could\x20not\x20find\x20directory','global-config','fsi','resolve','One\x20or\x20the\x20other\x20buddy','26620ooMRzL','setGlobalConfig','exit'];a88c=function(){return l;};return a88c();}import{Log}from'../../tools/log/log.class.js';Command[a88j(0x13c)]({'name':a88j(0x142),'usage':a88j(0x160),'aliases':['gc'],'maxOptsLength':0x3,'validOpts':[{'name':a88j(0x14c),'boolFlag':![]},{'name':a88j(0x155),'boolFlag':!![]},{'name':a88j(0x152),'boolFlag':!![]},{'name':'workspace','boolFlag':![]},{'name':a88j(0x14a),'boolFlag':![]},{'name':a88j(0x153),'boolFlag':!![]},{'name':a88j(0x161),'values':[a88j(0x15f),a88j(0x157)]}],'shortDesc':a88j(0x165),'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':[a88j(0x13d),a88j(0x15b),a88j(0x163)]},async function(a,b){const k=a88j;try{if(b[k(0x14c)]){if(this[k(0x143)][k(0x15c)](b['cacert']))await this['fsi']['setGlobalConfig']({'cert':b['cacert']}),Log[k(0x159)](k(0x154)+b[k(0x14c)]);else{const c=typeof b[k(0x14c)]===k(0x162)?k(0x14b):k(0x140)+b['cacert'];throw Log[k(0x15a)](c);}}if(b['workspace']){const d=this[k(0x143)]['isDirectory'](b[k(0x13b)]);if(d)await this[k(0x143)][k(0x147)]({'workspace':a88e[k(0x144)](b['workspace'])}),Log['success'](k(0x151)+a88e[k(0x144)](b[k(0x13b)]));else throw Log[k(0x15a)](k(0x141));}b['openai']&&(await this[k(0x143)]['setGlobalConfig']({'openai':b[k(0x14a)]}),Log[k(0x159)]('Set\x20OpenAI\x20Key:\x20'+b['openai']));b[k(0x161)]&&(await this[k(0x143)][k(0x147)]({'pallet':b[k(0x161)]}),Log[k(0x159)](k(0x158)+b[k(0x161)]));if(b[k(0x155)]){if(b['allowInsecure']&&b['disallowInsecure'])throw Log[k(0x15a)](k(0x145));let f=b[k(0x155)];b[k(0x152)]&&(f=![]),await this['fsi'][k(0x147)]({'allowInsecure':f}),Log[k(0x159)]('Set\x20allowInsecure:\x20'+f);}process['exit'](0x0);}catch(g){console[k(0x15a)](g),process[k(0x148)](0x0);}},a88f);
@@ -1 +1 @@
1
- var a89i=a89d;function a89c(){var k=['local-config','21233870tHLmQA','Set\x20local\x20maka\x20app\x20settings','toString','9lVTEFg','apply','529655SCChWz','constructor','search','create','989286TrUMwR','995864EBNYuj','3208689qdACww','88dCAxBw','31975sQMAzT','344MVRvpe','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','(((.+)+)+)+$','Sorry,\x20not\x20implemented\x20yet','notice','451024PxhDZx'];a89c=function(){return k;};return a89c();}function a89d(a,b){var c=a89c();return a89d=function(d,e){d=d-0xee;var f=c[d];return f;},a89d(a,b);}(function(a,b){var f=a89d,c=a();while(!![]){try{var d=-parseInt(f(0xfb))/0x1+parseInt(f(0xf2))/0x2+parseInt(f(0xf3))/0x3+parseInt(f(0xf6))/0x4*(parseInt(f(0xf5))/0x5)+parseInt(f(0xf1))/0x6+-parseInt(f(0x102))/0x7*(-parseInt(f(0xf4))/0x8)+parseInt(f(0x100))/0x9*(-parseInt(f(0xfd))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x83e5a));var a89b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a89d;if(c){var e=c[g(0x101)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){var h=a89d;return a89a[h(0xff)]()['search'](h(0xf8))[h(0xff)]()[h(0xee)](a89a)[h(0xef)](h(0xf8));});a89a();import a89e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a89i(0xf0)]({'name':a89i(0xfc),'usage':'maka\x20set:local-config','examples':[],'aliases':['lc'],'mustBeInMakaProject':!![],'shortDesc':a89i(0xfe),'validOpts':[],'description':a89i(0xf7)},async function(){var j=a89i;Log[j(0xfa)](j(0xf9));},a89e);
1
+ var a89h=a89d;(function(a,b){var f=a89d,c=a();while(!![]){try{var d=-parseInt(f(0x123))/0x1*(-parseInt(f(0x126))/0x2)+-parseInt(f(0x12f))/0x3+-parseInt(f(0x12a))/0x4+-parseInt(f(0x124))/0x5+-parseInt(f(0x12c))/0x6*(-parseInt(f(0x130))/0x7)+-parseInt(f(0x12d))/0x8*(parseInt(f(0x128))/0x9)+parseInt(f(0x127))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x6acc7));var a89b=(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;};}()),a89a=a89b(this,function(){var g=a89d;return a89a['toString']()[g(0x125)](g(0x132))['toString']()[g(0x12e)](a89a)['search']('(((.+)+)+)+$');});a89a();import a89e from'./set.command.js';function a89c(){var i=['2BBOoQO','8747020PsWWHC','3033RsddQz','create','1947244kmcvZK','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','2750802RivVCR','2216TERtDt','constructor','718779NcbzBC','7VHJhsh','Set\x20local\x20maka\x20app\x20settings','(((.+)+)+)+$','259672vDEmCH','1678205ukZeaZ','search'];a89c=function(){return i;};return a89c();}function a89d(a,b){var c=a89c();return a89d=function(d,e){d=d-0x123;var f=c[d];return f;},a89d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a89h(0x129)]({'name':'local-config','usage':'maka\x20set:local-config','examples':[],'aliases':['lc'],'mustBeInMakaProject':!![],'shortDesc':a89h(0x131),'validOpts':[],'description':a89h(0x12b)},async function(){Log['notice']('Sorry,\x20not\x20implemented\x20yet');},a89e);
@@ -1 +1 @@
1
- function a90c(){const k=['14998ZkcTJj','487690OIMOWQ','5221824bfePpt','search','1435276ovjpjD','77oImaFa','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','(((.+)+)+)+$','144jtkOTB','findSubCommand','\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','105624WGLmfc','toString','maka\x20set:<sub-command>','runSubCommand','70wWLYdD','2560977aQWgby','set','4674765qaURMX','apply'];a90c=function(){return k;};return a90c();}const a90i=a90d;(function(a,b){const f=a90d,c=a();while(!![]){try{const d=-parseInt(f(0xbf))/0x1*(-parseInt(f(0xc4))/0x2)+-parseInt(f(0xc0))/0x3+-parseInt(f(0xc8))/0x4+parseInt(f(0xc2))/0x5+parseInt(f(0xc6))/0x6+parseInt(f(0xb5))/0x7*(parseInt(f(0xbb))/0x8)+-parseInt(f(0xb8))/0x9*(parseInt(f(0xc5))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0x75d4e));function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0xb5;let f=c[d];return f;},a90d(a,b);}const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a90d;if(c){const e=c[g(0xc3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const h=a90d;return a90a['toString']()[h(0xc7)](h(0xb7))[h(0xbc)]()['constructor'](a90a)[h(0xc7)](h(0xb7));});a90a();import{Command}from'../../command.js';const SetCommand=Command['create']({'name':a90i(0xc1),'usage':a90i(0xbd),'shortDesc':a90i(0xb6),'description':a90i(0xba),'validOpts':[]},async function(a,b){const j=a90i,c=a[0x0],d=this[j(0xb9)](c);d&&this[j(0xbe)](c,a,b);});export default SetCommand;
1
+ const a90i=a90d;(function(a,b){const f=a90d,c=a();while(!![]){try{const d=-parseInt(f(0xa8))/0x1*(-parseInt(f(0xb8))/0x2)+-parseInt(f(0xb6))/0x3*(-parseInt(f(0xb5))/0x4)+parseInt(f(0xaa))/0x5+parseInt(f(0xac))/0x6+-parseInt(f(0xab))/0x7+-parseInt(f(0xaf))/0x8*(-parseInt(f(0xb3))/0x9)+-parseInt(f(0xb9))/0xa*(parseInt(f(0xb4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0xddbce));function a90c(){const k=['5204PDpQmO','1926qzMTXm','runSubCommand','944carMXg','5230kIqZim','search','(((.+)+)+)+$','1709vSATnI','create','3796965sCyllH','10690750ZRhFwF','2930832FXFxyI','toString','constructor','27328BGRUWX','maka\x20set:<sub-command>','apply','\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','3258OwBwtf','35563HCEsUu'];a90c=function(){return k;};return a90c();}const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a90d;if(c){const e=c[g(0xb1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const h=a90d;return a90a[h(0xad)]()[h(0xba)](h(0xa7))['toString']()[h(0xae)](a90a)[h(0xba)](h(0xa7));});a90a();import{Command}from'../../command.js';function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0xa7;let f=c[d];return f;},a90d(a,b);}const SetCommand=Command[a90i(0xa9)]({'name':'set','usage':a90i(0xb0),'shortDesc':'Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','description':a90i(0xb2),'validOpts':[]},async function(a,b){const j=a90i,c=a[0x0],d=this['findSubCommand'](c);d&&this[j(0xb7)](c,a,b);});export default SetCommand;
@@ -1 +1 @@
1
- const a91m=a91d;(function(a,b){const j=a91d,c=a();while(!![]){try{const d=-parseInt(j(0x13c))/0x1+-parseInt(j(0x11c))/0x2+parseInt(j(0x128))/0x3*(parseInt(j(0x11f))/0x4)+parseInt(j(0x136))/0x5*(-parseInt(j(0x135))/0x6)+parseInt(j(0x121))/0x7*(-parseInt(j(0x122))/0x8)+-parseInt(j(0x134))/0x9+-parseInt(j(0x132))/0xa*(-parseInt(j(0x13d))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0xf2ae7));const a91b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a91d;if(c){const e=c[k(0x139)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){const l=a91d;return a91a[l(0x123)]()[l(0x13e)]('(((.+)+)+)+$')['toString']()[l(0x125)](a91a)[l(0x13e)](l(0x13a));});function a91c(){const o=['Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','243996ulDakc','maka\x20ssh\x20--env\x20prod','19649DpTAbl','1312PPWNcN','toString','join','constructor','fsi','ssh','3JKzGbW','env','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','readFileSync','verbose','getAppConfigPath','error','length','create','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','3514850VHEfOH','exit','7685658FYMJQK','6uFXtBW','2309215NdLpPG','assign','sshSync','apply','(((.+)+)+)+$','maka\x20ssh\x20--env\x20staging','1510336HCPvUl','187YEpqQz','search','3511464ABNGGX','ssh.json'];a91c=function(){return o;};return a91c();}a91a();import a91e from'fs';function a91d(a,b){const c=a91c();return a91d=function(d,e){d=d-0x11c;let f=c[d];return f;},a91d(a,b);}import a91f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';Command[a91m(0x130)]({'name':a91m(0x127),'usage':'maka\x20ssh\x20<command>','mustBeInMakaProject':!![],'requiredOpts':[a91m(0x129)],'validOpts':[a91m(0x129),a91m(0x12c)],'isPro':!![],'shortDesc':a91m(0x11e),'examples':['maka\x20ssh\x20--env\x20dev',a91m(0x13b),a91m(0x120),'maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22',a91m(0x131),a91m(0x12a)]},async function(a,b){const n=a91m;try{const c=this[n(0x126)][n(0x12d)](b['env']);let d='';a[n(0x12f)]>0x0&&(d=a[0x0]);const f=a91f[n(0x124)](c,n(0x11d)),g=a91e[n(0x12b)](f)[n(0x123)](),h=JSON['parse'](g);Object[n(0x137)](h,{'env':c}),SSH[n(0x138)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b[n(0x12c)]});}catch(i){Log[n(0x12e)](i),process[n(0x133)](0x1);}});
1
+ const a91m=a91d;function a91d(a,b){const c=a91c();return a91d=function(d,e){d=d-0x11d;let f=c[d];return f;},a91d(a,b);}function a91c(){const o=['sshSync','apply','parse','3118839SXzmGk','error','env','ssh','join','toString','192nLFjqJ','readFileSync','228724iVVqXH','966598NvzUBM','fsi','constructor','create','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','87975LoMjHW','8138640lhnwTe','5800214Vwkcyv','(((.+)+)+)+$','maka\x20ssh\x20<command>','search','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','exit','4820808CMgIOC','maka\x20ssh\x20--env\x20staging'];a91c=function(){return o;};return a91c();}(function(a,b){const j=a91d,c=a();while(!![]){try{const d=-parseInt(j(0x134))/0x1+parseInt(j(0x135))/0x2+-parseInt(j(0x12c))/0x3+-parseInt(j(0x132))/0x4*(-parseInt(j(0x11f))/0x5)+parseInt(j(0x127))/0x6+parseInt(j(0x121))/0x7+-parseInt(j(0x120))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0xa49d6));const a91b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a91d;if(c){const e=c[k(0x12a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){const l=a91d;return a91a[l(0x131)]()[l(0x124)](l(0x122))[l(0x131)]()[l(0x137)](a91a)[l(0x124)](l(0x122));});a91a();import a91e from'fs';import a91f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';Command[a91m(0x11d)]({'name':a91m(0x12f),'usage':a91m(0x123),'mustBeInMakaProject':!![],'requiredOpts':[a91m(0x12e)],'validOpts':['env','verbose'],'isPro':!![],'shortDesc':a91m(0x11e),'examples':['maka\x20ssh\x20--env\x20dev',a91m(0x128),'maka\x20ssh\x20--env\x20prod','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22',a91m(0x125)]},async function(a,b){const n=a91m;try{const c=this[n(0x136)]['getAppConfigPath'](b[n(0x12e)]);let d='';a['length']>0x0&&(d=a[0x0]);const f=a91f[n(0x130)](c,'ssh.json'),g=a91e[n(0x133)](f)[n(0x131)](),h=JSON[n(0x12b)](g);Object['assign'](h,{'env':c}),SSH[n(0x129)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['verbose']});}catch(i){Log[n(0x12d)](i),process[n(0x126)](0x1);}});
@@ -1 +1 @@
1
- const a92y=a92d;(function(a,b){const v=a92d,c=a();while(!![]){try{const d=-parseInt(v(0x16a))/0x1*(-parseInt(v(0x179))/0x2)+-parseInt(v(0x18e))/0x3+parseInt(v(0x1a2))/0x4*(parseInt(v(0x172))/0x5)+parseInt(v(0x1aa))/0x6*(parseInt(v(0x185))/0x7)+-parseInt(v(0x182))/0x8+-parseInt(v(0x16d))/0x9*(parseInt(v(0x181))/0xa)+parseInt(v(0x1a5))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0x1a0a4));const a92b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a92d;if(c){const e=c[w(0x195)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){const x=a92d;return a92a[x(0x18b)]()['search'](x(0x1a3))[x(0x18b)]()['constructor'](a92a)[x(0x180)]('(((.+)+)+)+$');});a92a();import a92e from'fs';function a92c(){const A=['appName','\x20--email\x20','create','letsencrypt','ask','apply','fsi','generate-csr','Email\x20to\x20use\x20for\x20auto-updates:\x20','notice','email','ssl','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','assign','join','New\x20CSR\x20written\x20to\x20','Remote\x20host\x20connection\x20successful','Create\x20and\x20manage\x20your\x20SSL\x20operations.','108788wAcgrs','(((.+)+)+)+$','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','1162095AVJMIN','existsSync','env','[?]\x20Domains\x20to\x20register:\x20','getAppConfigPath','24RttwRd','writeFileSync','.csr','40417eivNsV','uname\x20-a','mkKeysDir','1395cWHasj','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','domains','ssh','generate-ssc','5DkUZMm','stringify','ping','genCSR','maka\x20ssl\x20[command]','Please\x20provide\x20a\x20command.','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','2QuZXxK','readFileSync','.key','error','/ssh.json','Checking\x20remote\x20host\x20availability','start','search','730VhRDxH','1249208MhXXjA','getMakaProjectConfig','success','309281QfhYnt','emailUpdate','.crt','sudo\x20snap\x20install\x20--classic\x20certbot','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','parse','toString','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','Using\x20saved\x20letsencrypt\x20config','227595ZyCCSG','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20'];a92c=function(){return A;};return a92c();}import a92f 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 a92d(a,b){const c=a92c();return a92d=function(d,e){d=d-0x16a;let f=c[d];return f;},a92d(a,b);}Command[a92y(0x192)]({'name':a92y(0x19b),'usage':a92y(0x176),'validOpts':['domains',a92y(0x19a)],'requiredOpts':[a92y(0x1a7)],'shortDesc':a92y(0x1a1),'mustBeInMakaProject':!![],'minArgLength':0x1,'isPro':!![],'examples':['maka\x20ssl\x20--env\x20dev\x20generate-csr',a92y(0x178),a92y(0x16e)]},async function(a,b){const z=a92y,c=this[z(0x196)][z(0x183)](),d=this[z(0x196)][z(0x1a9)](b['env']),f=this[z(0x196)][z(0x16c)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0x197))SSL[z(0x175)]({'keyName':c[z(0x190)]+z(0x17b),'csrName':c[z(0x190)]+'.csr','cwd':f});else{if(g===z(0x171)){if(!a92e[z(0x1a6)](a92f[z(0x19e)](f,c[z(0x190)]+'.key')))throw z(0x189)+a92f[z(0x19e)](f,c[z(0x190)]+z(0x17b));if(!a92e['existsSync'](a92f[z(0x19e)](f,c['appName']+z(0x1ac))))throw z(0x18c)+a92f['join'](f,c[z(0x190)]+z(0x1ac));SSL['genSSC']({'keyName':c[z(0x190)]+'.key','crtName':c['appName']+z(0x187),'cwd':f}),Log[z(0x199)](z(0x19f)+f);}else{if(g===z(0x193)){let h=b['domains'],i=b[z(0x19a)];try{const p=a92e[z(0x17a)](a92f['join'](d,'letsencrypt.json'))[z(0x18b)](),q=JSON[z(0x18a)](p);h=b[z(0x16f)]?b[z(0x16f)]:q['domainNames'],i=b['email']?b[z(0x19a)]:q[z(0x186)],(!b['email']||!b['domains'])&&Log['notice'](z(0x18d));}catch(r){}const j=JSON['parse'](a92e['readFileSync'](d+z(0x17d))[z(0x18b)]());Object[z(0x19d)](j,{'env':d}),Log[z(0x199)](z(0x17e));try{const s=SSH[z(0x174)](z(0x16b),j);if(!s)throw z(0x19c);if(s)Log['success'](z(0x1a0));}catch(t){Log[z(0x17c)](t);return;}const k=Log['withSpinner']();k[z(0x17f)]('Verifying\x20Letsencrypt\x20configuration'),SSH['ssh']('sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core',{...j}),SSH['ssh'](z(0x188),{...j}),SSH[z(0x170)](z(0x1a4),{...j}),k[z(0x184)]();const l=h?h:await Actions[z(0x194)](z(0x1a8)),m=i?i:await Actions[z(0x194)](z(0x198));SSH[z(0x170)](z(0x18f)+l+z(0x191)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0x173)](n,null,0x2);a92e[z(0x1ab)](a92f[z(0x19e)](d,'letsencrypt.json'),o);}else throw z(0x177);}}}catch(u){console[z(0x17c)](u),process['exit'](0x0);}});
1
+ function a92d(a,b){const c=a92c();return a92d=function(d,e){d=d-0xd3;let f=c[d];return f;},a92d(a,b);}const a92y=a92d;(function(a,b){const v=a92d,c=a();while(!![]){try{const d=-parseInt(v(0x10c))/0x1*(-parseInt(v(0x10d))/0x2)+-parseInt(v(0xdb))/0x3*(-parseInt(v(0xff))/0x4)+-parseInt(v(0xde))/0x5*(-parseInt(v(0xf2))/0x6)+-parseInt(v(0xf5))/0x7+-parseInt(v(0xd4))/0x8*(-parseInt(v(0xdc))/0x9)+parseInt(v(0xfd))/0xa+-parseInt(v(0xf3))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0x374f0));const a92b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a92d;if(c){const e=c[w(0xfe)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){const x=a92d;return a92a[x(0xe2)]()[x(0xe4)](x(0xd7))[x(0xe2)]()[x(0x110)](a92a)[x(0xe4)]('(((.+)+)+)+$');});a92a();import a92e from'fs';import a92f 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[a92y(0x100)]({'name':'ssl','usage':'maka\x20ssl\x20[command]','validOpts':[a92y(0x101),a92y(0x112)],'requiredOpts':[a92y(0xda)],'shortDesc':a92y(0xf6),'mustBeInMakaProject':!![],'minArgLength':0x1,'isPro':!![],'examples':[a92y(0xf0),'maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process']},async function(a,b){const z=a92y,c=this[z(0xfb)][z(0xfc)](),d=this[z(0xfb)][z(0x108)](b[z(0xda)]),f=this[z(0xfb)][z(0xdd)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0x103))SSL[z(0xf1)]({'keyName':c['appName']+'.key','csrName':c['appName']+'.csr','cwd':f});else{if(g==='generate-ssc'){if(!a92e[z(0xfa)](a92f[z(0x107)](f,c[z(0x10b)]+'.key')))throw z(0xe3)+a92f[z(0x107)](f,c[z(0x10b)]+z(0xf7));if(!a92e[z(0xfa)](a92f[z(0x107)](f,c[z(0x10b)]+z(0xee))))throw z(0xe7)+a92f[z(0x107)](f,c[z(0x10b)]+z(0xee));SSL[z(0x10a)]({'keyName':c[z(0x10b)]+z(0xf7),'crtName':c[z(0x10b)]+'.crt','cwd':f}),Log[z(0x10f)](z(0xed)+f);}else{if(g===z(0xd3)){let h=b['domains'],i=b['email'];try{const p=a92e[z(0x114)](a92f[z(0x107)](d,z(0xf4)))[z(0xe2)](),q=JSON[z(0x109)](p);h=b[z(0x101)]?b[z(0x101)]:q[z(0xd5)],i=b[z(0x112)]?b[z(0x112)]:q[z(0xe6)],(!b[z(0x112)]||!b[z(0x101)])&&Log[z(0x10f)](z(0xe8));}catch(r){}const j=JSON[z(0x109)](a92e[z(0x114)](d+z(0xeb))['toString']());Object[z(0x10e)](j,{'env':d}),Log[z(0x10f)](z(0xea));try{const s=SSH[z(0xdf)](z(0xe9),j);if(!s)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(s)Log[z(0xd6)](z(0x106));}catch(t){Log[z(0xd9)](t);return;}const k=Log['withSpinner']();k[z(0x104)]('Verifying\x20Letsencrypt\x20configuration'),SSH[z(0xf8)](z(0xef),{...j}),SSH[z(0xf8)](z(0xe5),{...j}),SSH[z(0xf8)](z(0xe0),{...j}),k[z(0xd6)]();const l=h?h:await Actions['ask'](z(0x113)),m=i?i:await Actions[z(0x102)](z(0xd8));SSH[z(0xf8)](z(0xec)+l+z(0xe1)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0xf9)](n,null,0x2);a92e[z(0x111)](a92f['join'](d,z(0xf4)),o);}else throw'Please\x20provide\x20a\x20command.';}}}catch(u){console[z(0xd9)](u),process[z(0x105)](0x0);}});function a92c(){const A=['getAppConfigPath','parse','genSSC','appName','1rQBOyP','144938tAqfmU','assign','notice','constructor','writeFileSync','email','[?]\x20Domains\x20to\x20register:\x20','readFileSync','letsencrypt','2878568wHKEmX','domainNames','success','(((.+)+)+)+$','Email\x20to\x20use\x20for\x20auto-updates:\x20','error','env','22881HCqSGt','9vtmNjc','mkKeysDir','70RDRQIH','ping','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','\x20--email\x20','toString','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','search','sudo\x20snap\x20install\x20--classic\x20certbot','emailUpdate','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','Using\x20saved\x20letsencrypt\x20config','uname\x20-a','Checking\x20remote\x20host\x20availability','/ssh.json','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','New\x20CSR\x20written\x20to\x20','.csr','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','maka\x20ssl\x20--env\x20dev\x20generate-csr','genCSR','36630PSkAEO','8290018SZEVyI','letsencrypt.json','99204EMQulF','Create\x20and\x20manage\x20your\x20SSL\x20operations.','.key','ssh','stringify','existsSync','fsi','getMakaProjectConfig','3316810aMRqKO','apply','76LFMoRD','create','domains','ask','generate-csr','start','exit','Remote\x20host\x20connection\x20successful','join'];a92c=function(){return A;};return a92c();}
@@ -1 +1 @@
1
- const a93q=a93d;(function(a,b){const m=a93d,c=a();while(!![]){try{const d=-parseInt(m(0x1b2))/0x1*(parseInt(m(0x196))/0x2)+parseInt(m(0x1ab))/0x3*(parseInt(m(0x1ac))/0x4)+-parseInt(m(0x181))/0x5*(parseInt(m(0x1a0))/0x6)+parseInt(m(0x18a))/0x7+parseInt(m(0x1aa))/0x8+parseInt(m(0x1bc))/0x9+parseInt(m(0x197))/0xa*(-parseInt(m(0x185))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0xcdb7e));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a93d;if(c){const e=c[n(0x1a7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const o=a93d;return a93a['toString']()[o(0x1a4)](o(0x1a6))[o(0x19a)]()[o(0x18c)](a93a)['search']('(((.+)+)+)+$');});a93a();import a93e from'fs';function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x181;let f=c[d];return f;},a93d(a,b);}import a93f from'path';import a93g from'dotenv';import{Command}from'../command.js';function a93c(){const t=['--packages','5094870JBKLkA','--env','driver','--driver-package','driverPackage','3107832fZraJi','maka\x20test\x20<opts>','constructor','test-packages','create','--settings','test','join','getAppConfigPath','utf8','isFile','config','164142MhjseB','20WwSmtH','process.env','Cannot\x20find\x20Node\x20Environment\x20File:\x20','toString','warn','Node\x20Env\x20Config:\x20','rawLogs','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','readFileSync','7926528fDFHyj','parse','filter','once','search','notice','(((.+)+)+)+$','apply','packages','testAppPath','10530688tdQpBX','1002tgfkIW','19784KwVWGC','invokeMeteorCommand','env','fsi','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','none','19dBzRnP','error','exit','--full-app','unit','concat','findProjectDirectory','openSync','sanjo:jasmine','slice','11134107WyNzXD','5twKrXW','engines','Meteor\x20Settings:\x20'];a93c=function(){return t;};return a93c();}import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const p=a93d;a93e[p(0x1b9)](a,'r'),a93g[p(0x195)]({'path':a});};Command[a93q(0x18e)]({'name':a93q(0x190),'mustBeInMakaProject':!![],'validOpts':[a93q(0x1a3),a93q(0x1a8),'driver',a93q(0x189),a93q(0x1b6),a93q(0x1ae),a93q(0x19d),'port','inspect',a93q(0x1a9)],'usage':a93q(0x18b),'shortDesc':'Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','examples':[]},function(a,b){const r=a93q;try{let c=this['fsi'][r(0x192)]('development');b[r(0x1ae)]&&(c=this[r(0x1af)]['getAppConfigPath'](b[r(0x1ae)]));(!b[r(0x1b6)]||!!b[r(0x1a3)])&&(a=a[r(0x1b7)]([r(0x1b5)]));b['unit']&&delete b[r(0x1b6)];let d=b['driver-package']||b[r(0x187)]||r(0x1b1);if(d===r(0x1b1)){const j=JSON[r(0x1a1)](a93e[r(0x19f)](a93f[r(0x191)](this[r(0x1af)][r(0x1b8)](),'.maka','config.json'),r(0x193)));if(j[r(0x182)]['test']==='jasmine')d=r(0x1ba);else j[r(0x182)][r(0x190)]==='mocha'&&(d='meteortesting:mocha');}if(d===r(0x1b1))throw r(0x1b0);(!b['driver-package']||!b['driver'])&&(a=a['concat']([r(0x188),d]));const f=a93f[r(0x191)](c,'settings.json');this[r(0x1af)][r(0x194)](f)?(Log[r(0x1a5)](r(0x183)+f),a=a[r(0x1b7)]([r(0x18f),f])):Log[r(0x19b)](r(0x19e)+f);const g=a93f[r(0x191)](c,r(0x198));this[r(0x1af)][r(0x194)](g)?(Log[r(0x1a5)](r(0x19c)+g),syncSource(g)):Log[r(0x19b)](r(0x199)+g);const h=process['argv'][r(0x1bb)](0x2)[r(0x1a2)](k=>k!=='--env')[r(0x1a2)](k=>k!=='test')['filter'](k=>k!==a[0x0]);h['forEach']((k,l)=>{const s=r;(k===s(0x186)||k==='--driver')&&h['splice'](l,0x2),k===s(0x184)&&h['splice'](l,0x1);});const i=b['packages']?r(0x18d):'test';this[r(0x1af)][r(0x1ad)](i,a[r(0x1b7)](h));}catch(k){console[r(0x1b3)](k),process[r(0x1b4)](0x0);}});
1
+ const a93p=a93d;(function(a,b){const m=a93d,c=a();while(!![]){try{const d=-parseInt(m(0x95))/0x1+parseInt(m(0x88))/0x2+-parseInt(m(0xa9))/0x3*(-parseInt(m(0x96))/0x4)+-parseInt(m(0xac))/0x5*(-parseInt(m(0x74))/0x6)+-parseInt(m(0x99))/0x7+-parseInt(m(0xa6))/0x8+-parseInt(m(0xab))/0x9*(-parseInt(m(0x72))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0xa13bb));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 n=a93d;return a93a[n(0xa8)]()['search'](n(0xa3))[n(0xa8)]()[n(0x83)](a93a)['search'](n(0xa3));});a93a();import a93e from'fs';import a93f from'path';import a93g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x71;let f=c[d];return f;},a93d(a,b);}const syncSource=function(a){const o=a93d;a93e[o(0x7e)](a,'r'),a93g[o(0x98)]({'path':a});};Command['create']({'name':'test','mustBeInMakaProject':!![],'validOpts':['once','packages','driver',a93p(0x71),'unit',a93p(0x73),a93p(0x92),a93p(0x76),a93p(0x84),a93p(0x93)],'usage':a93p(0x7f),'shortDesc':a93p(0x75),'examples':[]},function(a,b){const q=a93p;try{let c=this['fsi'][q(0xa2)](q(0xaa));b[q(0x73)]&&(c=this[q(0xa7)][q(0xa2)](b['env']));(!b[q(0x9d)]||!!b[q(0x94)])&&(a=a[q(0x78)]([q(0xa1)]));b[q(0x9d)]&&delete b[q(0x9d)];let d=b[q(0x85)]||b['driver']||'none';if(d===q(0x7d)){const j=JSON[q(0x9f)](a93e['readFileSync'](a93f['join'](this['fsi'][q(0x8d)](),q(0x87),q(0x81)),q(0x9e)));if(j['engines'][q(0x77)]===q(0x9a))d='sanjo:jasmine';else j[q(0xa0)][q(0x77)]==='mocha'&&(d=q(0xa5));}if(d==='none')throw q(0x8c);(!b[q(0x85)]||!b['driver'])&&(a=a[q(0x78)]([q(0x9c),d]));const f=a93f['join'](c,'settings.json');this['fsi'][q(0x8b)](f)?(Log['notice'](q(0x80)+f),a=a[q(0x78)]([q(0x9b),f])):Log[q(0x8e)](q(0x79)+f);const g=a93f[q(0x97)](c,q(0x86));this[q(0xa7)][q(0x8b)](g)?(Log['notice'](q(0xa4)+g),syncSource(g)):Log[q(0x8e)](q(0x7b)+g);const h=process[q(0x7a)][q(0x89)](0x2)[q(0x90)](k=>k!=='--env')[q(0x90)](k=>k!==q(0x77))[q(0x90)](k=>k!==a[0x0]);h['forEach']((k,l)=>{const r=q;(k===r(0x8f)||k==='--driver')&&h[r(0x8a)](l,0x2),k==='--packages'&&h[r(0x8a)](l,0x1);});const i=b[q(0x7c)]?q(0x91):q(0x77);this[q(0xa7)][q(0x82)](i,a[q(0x78)](h));}catch(k){console['error'](k),process['exit'](0x0);}});function a93c(){const s=['1970810oMXDAc','slice','splice','isFile','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','findProjectDirectory','warn','--env','filter','test-packages','rawLogs','testAppPath','once','124693tHkZBQ','4ybPJha','join','config','3621338RqRizM','jasmine','--settings','--driver-package','unit','utf8','parse','engines','--full-app','getAppConfigPath','(((.+)+)+)+$','Node\x20Env\x20Config:\x20','meteortesting:mocha','5327936DmMgHE','fsi','toString','279645cmrLqz','development','1446957ecCckP','291065MbfRuw','driverPackage','30TwIjOS','env','42FrBzWn','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','port','test','concat','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','argv','Cannot\x20find\x20Node\x20Environment\x20File:\x20','packages','none','openSync','maka\x20test\x20<opts>','Meteor\x20Settings:\x20','config.json','invokeMeteorCommand','constructor','inspect','driver-package','process.env','.maka'];a93c=function(){return s;};return a93c();}
@@ -1 +1 @@
1
- const a94n=a94d;function a94c(){const p=['platform','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','33729971rzZXXR','16ijWUxf','maka\x20v','System\x27s\x20Node\x20Version\x20','maka\x20version\x20--verbose','4.7.2','\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','version','2188aIPlmF','create','error','4799841ugbbRC','node\x20-v','maka\x20version','\x20node\x20-v','222782ZZyBTl','win32','----------------------Project----------------------------','2egmDXQ','Project\x27s\x20Meteor\x20Node\x20Version\x20','search','7610aQmiAI','replace',')\x20to\x20at\x20least\x20meteor\x27s\x20(','meteor','System\x27s\x20Meteor\x20Version\x20','fsi','meteor.bat','(((.+)+)+)+$','8884746zfnIIR','10bPIbYX','verbose','constructor','getGlobalMeteorVersion','361469kdIkyv','compareMakaToLatest','notice','apply','isMakaProject','warn','\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','toString','bright','5767332qTKQqC'];a94c=function(){return p;};return a94c();}(function(a,b){const k=a94d,c=a();while(!![]){try{const d=-parseInt(k(0x12c))/0x1*(parseInt(k(0x11c))/0x2)+parseInt(k(0x115))/0x3+-parseInt(k(0x112))/0x4*(-parseInt(k(0x11f))/0x5)+parseInt(k(0x107))/0x6+parseInt(k(0x119))/0x7*(-parseInt(k(0x10b))/0x8)+parseInt(k(0x127))/0x9+parseInt(k(0x128))/0xa*(-parseInt(k(0x10a))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0xd9247));const a94b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a94d;if(c){const e=c[l(0x12f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){const m=a94d;return a94a[m(0x133)]()['search']('(((.+)+)+)+$')[m(0x133)]()[m(0x12a)](a94a)[m(0x11e)](m(0x126));});a94a();import{execSync}from'child_process';import a94e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a94d(a,b){const c=a94c();return a94d=function(d,e){d=d-0x107;let f=c[d];return f;},a94d(a,b);}const pjson={'version':a94n(0x10f)};Command[a94n(0x113)]({'name':'version','aliases':['v'],'usage':a94n(0x117),'maxArgLength':0x1,'validOpts':['verbose'],'shortDesc':'Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','examples':[a94n(0x10c),a94n(0x117),a94n(0x10e)],'description':a94n(0x110)},async function(a,b){const o=a94n;try{const c=process[o(0x108)]===o(0x11a)?o(0x125):o(0x122);Log['majestic']('Maka\x20'+pjson[o(0x111)]),await this['fsi'][o(0x12d)]();if(b[o(0x129)]){await this['fsi'][o(0x12d)](),Log['bright']('----------------------System----------------------------');const d=this[o(0x124)][o(0x12b)]();Log['bright']((o(0x123)+d)['replace']('\x0a',''));const f=execSync(c+o(0x118))[o(0x133)]()[o(0x120)](/\r?\n|\r/,'')[o(0x120)]('v','');Log[o(0x134)](o(0x109)+f);const g=execSync(o(0x116))[o(0x133)]()['replace'](/\r?\n|\r/,'')[o(0x120)]('v','');a94e['gt'](f,g)?(Log['warn'](o(0x10d)+g),Log[o(0x131)]('\x20!\x20consider\x20updating\x20your\x20node\x20version\x20('+g+o(0x121)+f+')')):Log[o(0x134)](o(0x10d)+g);if(this[o(0x124)][o(0x130)]()){Log[o(0x134)](o(0x11b));const h=this[o(0x124)]['getProjectMeteorVersion']();a94e['gt'](d,h)?(Log[o(0x131)]('Project\x27s\x20Meteor\x20Version\x20'+h[o(0x120)]('\x0a','')),Log[o(0x131)]('\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20'+d+'\x22')):Log[o(0x12e)](('Project\x27s\x20Meteor\x20Version\x20'+h)[o(0x120)]('\x0a',''));const i=await this[o(0x124)]['getProjectsMeteorNodeVersion']();i==='N/A'?(Log['warn'](o(0x11d)+i),Log[o(0x131)]('\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.')):Log[o(0x134)](o(0x11d)+i),Log[o(0x134)](o(0x132));}}}catch(j){console[o(0x114)](j),process['exit'](0x0);}});
1
+ const a94n=a94d;(function(a,b){const k=a94d,c=a();while(!![]){try{const d=-parseInt(k(0xd0))/0x1+parseInt(k(0xbd))/0x2+-parseInt(k(0xbf))/0x3+parseInt(k(0xe1))/0x4*(parseInt(k(0xcb))/0x5)+-parseInt(k(0xe7))/0x6*(parseInt(k(0xe8))/0x7)+-parseInt(k(0xd4))/0x8+parseInt(k(0xeb))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0xed9e1));const a94b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a94d;if(c){const e=c[l(0xca)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){const m=a94d;return a94a[m(0xdb)]()[m(0xbc)](m(0xc8))[m(0xdb)]()[m(0xd2)](a94a)[m(0xbc)](m(0xc8));});a94a();import{execSync}from'child_process';import a94e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a94d(a,b){const c=a94c();return a94d=function(d,e){d=d-0xb9;let f=c[d];return f;},a94d(a,b);}const pjson={'version':'4.7.3'};function a94c(){const p=['Project\x27s\x20Meteor\x20Version\x20','compareMakaToLatest','N/A','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','5042706qIfaYm','14jCReWR','meteor','replace','35907732jFjAmI','\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','notice','getProjectsMeteorNodeVersion','create','search','1893684SkXYNf','verbose','3248004xFUEXG',')\x20to\x20at\x20least\x20meteor\x27s\x20(','System\x27s\x20Node\x20Version\x20','Project\x27s\x20Meteor\x20Node\x20Version\x20','bright','----------------------Project----------------------------','exit','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','version','(((.+)+)+)+$','getGlobalMeteorVersion','apply','949610hzoUQT','fsi','maka\x20v','win32','maka\x20version\x20--verbose','1062853qKysNg','node\x20-v','constructor','error','4133840Temisx','System\x27s\x20Meteor\x20Version\x20','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','----------------------System----------------------------','isMakaProject','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','Maka\x20','toString','maka\x20version','\x20node\x20-v','meteor.bat','getProjectMeteorVersion','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','8SgsfaX','warn'];a94c=function(){return p;};return a94c();}Command[a94n(0xbb)]({'name':'version','aliases':['v'],'usage':a94n(0xdc),'maxArgLength':0x1,'validOpts':[a94n(0xbe)],'shortDesc':a94n(0xc6),'examples':[a94n(0xcd),a94n(0xdc),a94n(0xcf)],'description':a94n(0xec)},async function(a,b){const o=a94n;try{const c=process['platform']===o(0xce)?o(0xde):o(0xe9);Log['majestic'](o(0xda)+pjson[o(0xc7)]),await this[o(0xcc)][o(0xe4)]();if(b[o(0xbe)]){await this[o(0xcc)][o(0xe4)](),Log[o(0xc3)](o(0xd7));const d=this[o(0xcc)][o(0xc9)]();Log['bright']((o(0xd5)+d)[o(0xea)]('\x0a',''));const f=execSync(c+o(0xdd))['toString']()['replace'](/\r?\n|\r/,'')[o(0xea)]('v','');Log[o(0xc3)](o(0xe0)+f);const g=execSync(o(0xd1))[o(0xdb)]()[o(0xea)](/\r?\n|\r/,'')['replace']('v','');a94e['gt'](f,g)?(Log['warn'](o(0xc1)+g),Log['warn'](o(0xd9)+g+o(0xc0)+f+')')):Log['bright'](o(0xc1)+g);if(this['fsi'][o(0xd8)]()){Log[o(0xc3)](o(0xc4));const h=this[o(0xcc)][o(0xdf)]();a94e['gt'](d,h)?(Log['warn'](o(0xe3)+h['replace']('\x0a','')),Log['warn'](o(0xd6)+d+'\x22')):Log[o(0xb9)](('Project\x27s\x20Meteor\x20Version\x20'+h)['replace']('\x0a',''));const i=await this[o(0xcc)][o(0xba)]();i===o(0xe5)?(Log[o(0xe2)](o(0xc2)+i),Log[o(0xe2)](o(0xe6))):Log[o(0xc3)](o(0xc2)+i),Log[o(0xc3)]('\x0a\x20To\x20get\x20the\x20mongo\x20version\x20in\x20use\x20by\x20meteor:\x0a\x201)\x20Run\x20the\x20project,\x20\x22maka\x20run\x22\x0a\x202)\x20In\x20a\x20new\x20terminal\x20open\x20the\x20mongo\x20shell,\x20\x22maka\x20mongo\x22');}}}catch(j){console[o(0xd3)](j),process[o(0xc5)](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a95d,c=a();while(!![]){try{var d=-parseInt(f(0x1cb))/0x1+parseInt(f(0x1cd))/0x2+-parseInt(f(0x1d2))/0x3*(-parseInt(f(0x1ca))/0x4)+parseInt(f(0x1c6))/0x5+parseInt(f(0x1d1))/0x6+-parseInt(f(0x1d0))/0x7*(-parseInt(f(0x1c7))/0x8)+parseInt(f(0x1c8))/0x9*(-parseInt(f(0x1ce))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0x1886f));function a95d(a,b){var c=a95c();return a95d=function(d,e){d=d-0x1c6;var f=c[d];return f;},a95d(a,b);}function a95c(){var i=['(((.+)+)+)+$','232414KcBPuJ','158790LZiywK','3849CwmKAW','238320oJTsPm','8QJGYVs','21357wZPsSn','apply','296TkMXil','47518gclWNw','search','29050bQWMKF','290Qwrafl'];a95c=function(){return i;};return a95c();}var a95b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a95d;if(c){var e=c[g(0x1c9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a95a=a95b(this,function(){var h=a95d;return a95a['toString']()['search'](h(0x1cf))['toString']()['constructor'](a95a)[h(0x1cc)](h(0x1cf));});a95a();export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
1
+ (function(a,b){var f=a95d,c=a();while(!![]){try{var d=-parseInt(f(0xb1))/0x1*(parseInt(f(0xbd))/0x2)+-parseInt(f(0xb6))/0x3+parseInt(f(0xc0))/0x4*(-parseInt(f(0xb3))/0x5)+-parseInt(f(0xb8))/0x6*(parseInt(f(0xb9))/0x7)+parseInt(f(0xbf))/0x8+-parseInt(f(0xbb))/0x9*(-parseInt(f(0xb0))/0xa)+parseInt(f(0xbe))/0xb*(parseInt(f(0xb4))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0x26c99));var a95b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a95d;if(c){var e=c[g(0xb7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a95a=a95b(this,function(){var h=a95d;return a95a[h(0xba)]()[h(0xb2)]('(((.+)+)+)+$')[h(0xba)]()[h(0xb5)](a95a)[h(0xb2)](h(0xbc));});a95a();function a95c(){var i=['search','34745eMgUVL','156LzXPEE','constructor','580968JSsWGa','apply','10176FEwxiz','1106ejLgXX','toString','36kGADOr','(((.+)+)+)+$','2bXwcoW','566005YMWaxn','1758496GssiHQ','92JIBkjm','292030ogsclF','225215VWBnRR'];a95c=function(){return i;};return a95c();}export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}function a95d(a,b){var c=a95c();return a95d=function(d,e){d=d-0xb0;var f=c[d];return f;},a95d(a,b);}export class NoMeteorFoundError{}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- function a96c(){var j=['490pTrRfV','285181sZRBHN','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','3559gJiwOp','103543BJBaWo','354yiIEKN','(((.+)+)+)+$','apply','5185VgQgKG','search','constructor','80451vjqngp','NODE_OPTIONS','toString','env','2616tGsNWa','251310wYojXT','51674VxKhhw','472FYzYrg','396AUBSAZ','424hiQVnY'];a96c=function(){return j;};return a96c();}var a96i=a96d;(function(a,b){var f=a96d,c=a();while(!![]){try{var d=parseInt(f(0x1ab))/0x1*(parseInt(f(0x1a7))/0x2)+parseInt(f(0x1a3))/0x3+parseInt(f(0x1a2))/0x4*(-parseInt(f(0x1b0))/0x5)+-parseInt(f(0x1ad))/0x6*(parseInt(f(0x1a4))/0x7)+-parseInt(f(0x1a5))/0x8*(-parseInt(f(0x1b3))/0x9)+-parseInt(f(0x1a8))/0xa*(parseInt(f(0x1ac))/0xb)+parseInt(f(0x1a6))/0xc*(parseInt(f(0x1a9))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0x7da43));function a96d(a,b){var c=a96c();return a96d=function(d,e){d=d-0x19f;var f=c[d];return f;},a96d(a,b);}var a96b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a96d;if(c){var e=c[g(0x1af)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a96a=a96b(this,function(){var h=a96d;return a96a[h(0x1a0)]()['search'](h(0x1ae))['toString']()[h(0x1b2)](a96a)[h(0x1b1)](h(0x1ae));});a96a(),process[a96i(0x1a1)][a96i(0x19f)]=a96i(0x1aa);import'./maka.js';
2
+ var a96h=a96d;(function(a,b){var f=a96d,c=a();while(!![]){try{var d=-parseInt(f(0x1e4))/0x1*(parseInt(f(0x1e6))/0x2)+parseInt(f(0x1de))/0x3*(-parseInt(f(0x1dd))/0x4)+parseInt(f(0x1e2))/0x5+-parseInt(f(0x1e3))/0x6+parseInt(f(0x1e5))/0x7*(parseInt(f(0x1e1))/0x8)+parseInt(f(0x1da))/0x9*(-parseInt(f(0x1d7))/0xa)+parseInt(f(0x1e0))/0xb*(parseInt(f(0x1dc))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0x1b298));var a96b=(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;};}()),a96a=a96b(this,function(){var g=a96d;return a96a['toString']()['search'](g(0x1d8))[g(0x1e7)]()[g(0x1db)](a96a)[g(0x1df)](g(0x1d8));});a96a(),process[a96h(0x1d9)]['NODE_OPTIONS']=a96h(0x1d6);function a96d(a,b){var c=a96c();return a96d=function(d,e){d=d-0x1d6;var f=c[d];return f;},a96d(a,b);}import'./maka.js';function a96c(){var i=['search','1168981ivCSNa','176lYMNBU','800855tGgrhh','438600mqpvue','937OfdHpr','53984JqMHcj','22KdFfcH','toString','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','10gUesRe','(((.+)+)+)+$','env','1221687rigSUc','constructor','24FizJVJ','282628gLxcAx','9WEBXrk'];a96c=function(){return i;};return a96c();}