@maka/maka-cli 4.7.17 → 4.7.22

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 (147) 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/esri/_index.js +1 -1
  109. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  110. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  111. package/bundle/obf/src/generators/kits/kit.js +1 -1
  112. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  113. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  114. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  115. package/bundle/obf/src/generators/layout.js +1 -1
  116. package/bundle/obf/src/generators/maka.gen.js +1 -1
  117. package/bundle/obf/src/generators/methods.js +1 -1
  118. package/bundle/obf/src/generators/package.js +1 -1
  119. package/bundle/obf/src/generators/page.js +1 -1
  120. package/bundle/obf/src/generators/publish.js +1 -1
  121. package/bundle/obf/src/generators/route.js +1 -1
  122. package/bundle/obf/src/generators/service.js +1 -1
  123. package/bundle/obf/src/generators/services/_index.js +1 -1
  124. package/bundle/obf/src/generators/services/openssl.js +1 -1
  125. package/bundle/obf/src/generators/services/translation.js +1 -1
  126. package/bundle/obf/src/maka.js +1 -1
  127. package/bundle/obf/src/templates/meteor/project/package.json +3 -2
  128. package/bundle/obf/src/tool.js +1 -1
  129. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  130. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  131. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  132. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  133. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  134. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  135. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  136. package/bundle/obf/src/tools/https/https.class.js +1 -1
  137. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  138. package/bundle/obf/src/tools/log/log.class.js +1 -1
  139. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  140. package/bundle/obf/src/tools/options/options.class.js +1 -1
  141. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  142. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  143. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  144. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  145. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  146. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  147. package/package.json +1 -1
@@ -1 +1 @@
1
- const a77y=a77d;(function(a,b){const w=a77d,c=a();while(!![]){try{const d=-parseInt(w(0xee))/0x1*(-parseInt(w(0x100))/0x2)+parseInt(w(0xf1))/0x3*(-parseInt(w(0xf3))/0x4)+-parseInt(w(0x104))/0x5+parseInt(w(0xd2))/0x6+-parseInt(w(0xe4))/0x7+-parseInt(w(0xde))/0x8*(parseInt(w(0xec))/0x9)+parseInt(w(0xea))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0x36969));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(0xe2)]()[x(0xfd)](x(0xdd))['toString']()[x(0xd5)](a77a)[x(0xfd)](x(0xdd));});a77a();import a77e from'node-forge';import{Command}from'../command.js';function a77c(){const A=['https://','sha256','toString','exit','1399279sSpXzd','parse','authToken','login','cacert','ask','4033880DROZGy','digest','117qdfSFp','Logs\x20in\x20to\x20www.maka-cli.com','2YijmVP','getGlobalConfig','env','3CbdrRz','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','1101704dlBMlv','Logging\x20into\x20https://','header','cert','Password:\x20','setGlobalConfig','Email:','toHex','email','fsi','search','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','withSpinner','254758oItxsj','notice','get','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','1035725qWRIiw','create','error','maka\x20login','/api/v1/encodeJwt','success','2672622QXJotZ','Preflight\x20Check','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','constructor','assign','MAKA_DEV','failure','help','isFile','password','post','(((.+)+)+)+$','121552hssccF','www.maka-cli.com'];a77c=function(){return A;};return a77c();}import{Log}from'../tools/log/log.class.js';function a77d(a,b){const c=a77c();return a77d=function(d,e){d=d-0xd2;let f=c[d];return f;},a77d(a,b);}import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a77y(0xf0)][a77y(0xd7)]==='True'?'localhost':a77y(0xdf);Command[a77y(0x105)]({'name':a77y(0xe7),'validOpts':[a77y(0xfb),a77y(0xdb),a77y(0xd9),'cacert','debug'],'usage':a77y(0x107),'maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a77y(0xed),'examples':[a77y(0x107),a77y(0xf2)]},async function(a,b){const z=a77y,c=Log[z(0xff)]();try{let d='';b[z(0xe8)]&&(this[z(0xfc)][z(0xda)](b['cacert'])?(d=b[z(0xe8)],Log[z(0x101)]('Using\x20CA\x20Cert\x20'+d)):Log[z(0x106)](z(0xfe)+d));const f=await this[z(0xfc)][z(0xef)]();if(f[z(0xf6)]){if(this[z(0xfc)][z(0xda)](f[z(0xf6)]))d=f[z(0xf6)];else{Log['error']('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+d);return;}}Log[z(0xf5)](z(0xf4)+hostname);const g={'url':z(0xe0)+hostname+'/api/v1/status'};b[z(0xe8)]&&Object[z(0xd6)](g,{'cert':d});c['start'](z(0xd3));const {statusCode:h}=await HTTPS[z(0x102)](g);if(h===0x198){c[z(0xd8)]();throw z(0x103);}if(h!==0xc8){c[z(0xd8)]();throw'https://'+hostname+'\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli';}c['success']();const i=b[z(0xfb)]?b['email']:await Actions[z(0xe9)](z(0xf9)),j=b['password']?b[z(0xdb)]:await Actions[z(0xe9)](z(0xf7),!![]),k=a77e['md'][z(0xe1)]['create']();k['update'](j);const l=k[z(0xeb)]()[z(0xfa)](),m={'hostname':hostname,'path':'/api/v1/login','data':{'email':i,'password':l,'hashed':!![]}};b[z(0xe8)]&&Object[z(0xd6)](m,{'cert':d});c['start']('Logging\x20in');const {data:n,statusCode:o}=await HTTPS[z(0xdc)](m);if(o===0x198){c[z(0xd8)]('\x0a');throw z(0xd4)+hostname;}const p=JSON[z(0xe5)](n);if(p[z(0xe6)]){const q={'hostname':hostname,'path':z(0x108),'headers':{'x-auth-token':p['authToken']},'data':{}};b[z(0xe8)]&&Object[z(0xd6)](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS[z(0xdc)](q),{token:t}=JSON[z(0xe5)](r);if(s===0x198)throw z(0xd4)+hostname;const u={'token':p,'hash':t};this[z(0xfc)][z(0xf8)](u);}else{c[z(0xd8)]();throw p;}c[z(0x109)]();}catch(v){c[z(0xd8)](),console[z(0x106)](v),process[z(0xe3)](0x0);}});
1
+ const a77z=a77d;(function(a,b){const w=a77d,c=a();while(!![]){try{const d=-parseInt(w(0xcb))/0x1*(-parseInt(w(0xdd))/0x2)+-parseInt(w(0xdc))/0x3+parseInt(w(0xb7))/0x4*(-parseInt(w(0xce))/0x5)+parseInt(w(0xbe))/0x6+-parseInt(w(0xde))/0x7*(parseInt(w(0xd0))/0x8)+-parseInt(w(0xd3))/0x9+parseInt(w(0xbb))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0x5a28b));const a77b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a77d;if(c){const e=c[x(0xc4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){const y=a77d;return a77a[y(0xc0)]()[y(0xdf)]('(((.+)+)+)+$')[y(0xc0)]()[y(0xe4)](a77a)['search']('(((.+)+)+)+$');});a77a();import a77e from'node-forge';function a77c(){const B=['constructor','exit','Password:\x20','start','withSpinner','notice','debug','maka\x20login','authToken','sha256','email','1111316Kkstva','True','ask','Preflight\x20Check','10453570tNOKZY','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','Using\x20CA\x20Cert\x20','1885836YVTBXi','error','toString','update','localhost','/api/v1/status','apply','success','\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','getGlobalConfig','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','header','cert','1gGUCQI','password','fsi','5SxXbMC','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','944VjgKkm','https://','parse','5063580gaxyxW','MAKA_DEV','Logging\x20into\x20https://','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','Logs\x20in\x20to\x20www.maka-cli.com','failure','get','post','assign','319296QgCtdu','1186946Xtiaph','37786aWUhVm','search','create','/api/v1/encodeJwt','cacert','help'];a77c=function(){return B;};return a77c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';function a77d(a,b){const c=a77c();return a77d=function(d,e){d=d-0xb5;let f=c[d];return f;},a77d(a,b);}import{HTTPS}from'../tools/https/https.class.js';const hostname=process['env'][a77z(0xd4)]===a77z(0xb8)?a77z(0xc2):'www.maka-cli.com';Command[a77z(0xe0)]({'name':'login','validOpts':[a77z(0xb6),a77z(0xcc),a77z(0xe3),'cacert',a77z(0xea)],'usage':a77z(0xeb),'maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a77z(0xd7),'examples':[a77z(0xeb),a77z(0xcf)]},async function(a,b){const A=a77z,c=Log[A(0xe8)]();try{let d='';b[A(0xe2)]&&(this['fsi']['isFile'](b[A(0xe2)])?(d=b[A(0xe2)],Log[A(0xe9)](A(0xbd)+d)):Log[A(0xbf)]('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+d));const f=await this[A(0xcd)][A(0xc7)]();if(f['cert']){if(this[A(0xcd)]['isFile'](f[A(0xca)]))d=f[A(0xca)];else{Log[A(0xbf)](A(0xc8)+d);return;}}Log[A(0xc9)](A(0xd5)+hostname);const g={'url':A(0xd1)+hostname+A(0xc3)};b[A(0xe2)]&&Object[A(0xdb)](g,{'cert':d});c[A(0xe7)](A(0xba));const {statusCode:h}=await HTTPS[A(0xd9)](g);if(h===0x198){c[A(0xd8)]();throw A(0xbc);}if(h!==0xc8){c[A(0xd8)]();throw A(0xd1)+hostname+A(0xc6);}c[A(0xc5)]();const i=b['email']?b[A(0xb6)]:await Actions[A(0xb9)]('Email:'),j=b['password']?b[A(0xcc)]:await Actions[A(0xb9)](A(0xe6),!![]),k=a77e['md'][A(0xb5)][A(0xe0)]();k[A(0xc1)](j);const l=k['digest']()['toHex'](),m={'hostname':hostname,'path':'/api/v1/login','data':{'email':i,'password':l,'hashed':!![]}};b[A(0xe2)]&&Object[A(0xdb)](m,{'cert':d});c[A(0xe7)]('Logging\x20in');const {data:n,statusCode:o}=await HTTPS[A(0xda)](m);if(o===0x198){c['failure']('\x0a');throw A(0xd6)+hostname;}const p=JSON[A(0xd2)](n);if(p[A(0xec)]){const q={'hostname':hostname,'path':A(0xe1),'headers':{'x-auth-token':p[A(0xec)]},'data':{}};b['cacert']&&Object['assign'](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS[A(0xda)](q),{token:t}=JSON[A(0xd2)](r);if(s===0x198)throw A(0xd6)+hostname;const u={'token':p,'hash':t};this[A(0xcd)]['setGlobalConfig'](u);}else{c['failure']();throw p;}c[A(0xc5)]();}catch(v){c['failure'](),console['error'](v),process[A(0xe5)](0x0);}});
@@ -1 +1 @@
1
- const a78o=a78d;(function(a,b){const l=a78d,c=a();while(!![]){try{const d=-parseInt(l(0xff))/0x1+parseInt(l(0xe1))/0x2+parseInt(l(0xdb))/0x3*(-parseInt(l(0xde))/0x4)+parseInt(l(0xe9))/0x5+parseInt(l(0xeb))/0x6*(-parseInt(l(0xe8))/0x7)+parseInt(l(0xfe))/0x8*(-parseInt(l(0xe5))/0x9)+parseInt(l(0xdc))/0xa*(parseInt(l(0xf3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0xbc13d));const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a78d;if(c){const e=c[m(0x102)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const n=a78d;return a78a['toString']()['search'](n(0xf0))[n(0xf4)]()['constructor'](a78a)[n(0xe7)](n(0xf0));});a78a();import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a78o(0xec)]['MAKA_DEV']==='True'?a78o(0xe0):'www.maka-cli.com';Command['create']({'name':'logout','validOpts':[a78o(0xe6)],'usage':'maka\x20logout','maxArgLength':0x2,'shortDesc':a78o(0xf2),'disableAuthCheck':!![],'examples':[a78o(0xfc)]},async function(a,b){const p=a78o,c=Log[p(0xea)]();try{let d='';b[p(0xe6)]&&(this[p(0xef)]['isFile'](b['cacert'])?(d=b[p(0xe6)],Log[p(0xd9)](p(0xfd)+d)):Log['error']('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+d));const f=await this[p(0xef)][p(0xf9)]();if(f[p(0xf7)]){if(this['fsi'][p(0x103)](f['cert']))d=f[p(0xf7)];else{c[p(0xf5)]();throw Log['error']('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+d);}}Log[p(0xee)]('Logging\x20out\x20of\x20https://'+hostname);const g={'url':p(0xda)+hostname+p(0xd8)};b[p(0xe6)]&&Object['assign'](g,{'cert':d});c[p(0xf1)](p(0xfb));const {statusCode:h}=await HTTPS['get'](g);if(h===0x198){c[p(0xf5)]();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}c[p(0xe3)]();if(h!==0xc8){c[p(0xf5)]();throw p(0xfa);}if(!f?.[p(0xed)]?.[p(0x101)])throw Log[p(0xf6)](p(0xe4));c[p(0xf1)](p(0x100));const i={'hostname':hostname,'path':'/api/v1/logoutAll','data':{},'headers':{'x-auth-token':f[p(0xed)][p(0x101)]}};b[p(0xe6)]&&Object['assign'](i,{'cert':d});const {statusCode:j}=await HTTPS[p(0xe2)](i);if(j===0x198){c[p(0xf5)]('\x0a');throw p(0xdf);}this[p(0xef)][p(0xdd)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c['success']();}catch(k){k&&console[p(0xf6)](k),process[p(0xf8)](0x0);}});function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0xd8;let f=c[d];return f;},a78d(a,b);}function a78c(){const q=['withSpinner','6Mvkcrv','env','token','header','fsi','(((.+)+)+)+$','start','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','64614Qtjhfg','toString','failure','error','cert','exit','getGlobalConfig','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','Preflight\x20Check','maka\x20logout','Using\x20CA\x20Cert\x20','36048TzxdTO','561586WHOqtf','Logging\x20out','authToken','apply','isFile','/api/v1/status','notice','https://','3cFRdzB','4570EBaiPJ','setGlobalConfig','1529548jrRfWp','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','localhost','1120332luvGis','post','success','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','1818MIeIbd','cacert','search','7507703XuqSJG','2262475MrrPyR'];a78c=function(){return q;};return a78c();}
1
+ const a78o=a78d;(function(a,b){const l=a78d,c=a();while(!![]){try{const d=-parseInt(l(0x1f1))/0x1+-parseInt(l(0x1d7))/0x2+parseInt(l(0x1ca))/0x3*(-parseInt(l(0x1cf))/0x4)+parseInt(l(0x1db))/0x5+-parseInt(l(0x1e7))/0x6+parseInt(l(0x1e4))/0x7*(-parseInt(l(0x1c2))/0x8)+parseInt(l(0x1e6))/0x9*(parseInt(l(0x1d6))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0xdbc12));const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a78d;if(c){const e=c[m(0x1da)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const n=a78d;return a78a[n(0x1d1)]()[n(0x1e9)](n(0x1e5))[n(0x1d1)]()[n(0x1e8)](a78a)[n(0x1e9)]('(((.+)+)+)+$');});a78a();function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x1c2;let f=c[d];return f;},a78d(a,b);}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';function a78c(){const q=['isFile','toString','MAKA_DEV','fsi','www.maka-cli.com','/api/v1/logoutAll','26619170vglCdi','1972904aHvjpP','cacert','cert','apply','540245tzQGfp','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','success','logout','getGlobalConfig','token','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','exit','Preflight\x20Check','28SujPTk','(((.+)+)+)+$','18HjDAEe','3389052KETesk','constructor','search','error','Using\x20CA\x20Cert\x20','env','maka\x20logout','post','assign','failure','1501264djfwTn','157832IgSbEJ','True','withSpinner','start','authToken','Logging\x20out\x20of\x20https://','get','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','1935HvgbXA','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','https://','header','8684qYfEdW'];a78c=function(){return q;};return a78c();}const hostname=process[a78o(0x1ec)][a78o(0x1d2)]===a78o(0x1c3)?'localhost':a78o(0x1d4);Command['create']({'name':a78o(0x1de),'validOpts':[a78o(0x1d8)],'usage':a78o(0x1ed),'maxArgLength':0x2,'shortDesc':a78o(0x1cb),'disableAuthCheck':!![],'examples':[a78o(0x1ed)]},async function(a,b){const p=a78o,c=Log[p(0x1c4)]();try{let d='';b[p(0x1d8)]&&(this['fsi'][p(0x1d0)](b[p(0x1d8)])?(d=b[p(0x1d8)],Log['notice'](p(0x1eb)+d)):Log[p(0x1ea)]('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+d));const f=await this[p(0x1d3)][p(0x1df)]();if(f[p(0x1d9)]){if(this[p(0x1d3)][p(0x1d0)](f[p(0x1d9)]))d=f[p(0x1d9)];else{c[p(0x1f0)]();throw Log['error'](p(0x1dc)+d);}}Log[p(0x1ce)](p(0x1c7)+hostname);const g={'url':p(0x1cd)+hostname+'/api/v1/status'};b[p(0x1d8)]&&Object[p(0x1ef)](g,{'cert':d});c[p(0x1c5)](p(0x1e3));const {statusCode:h}=await HTTPS[p(0x1c8)](g);if(h===0x198){c[p(0x1f0)]();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}c['success']();if(h!==0xc8){c[p(0x1f0)]();throw p(0x1c9);}if(!f?.[p(0x1e0)]?.['authToken'])throw Log[p(0x1ea)](p(0x1e1));c[p(0x1c5)]('Logging\x20out');const i={'hostname':hostname,'path':p(0x1d5),'data':{},'headers':{'x-auth-token':f['token'][p(0x1c6)]}};b['cacert']&&Object['assign'](i,{'cert':d});const {statusCode:j}=await HTTPS[p(0x1ee)](i);if(j===0x198){c[p(0x1f0)]('\x0a');throw p(0x1cc);}this['fsi']['setGlobalConfig']({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[p(0x1dd)]();}catch(k){k&&console[p(0x1ea)](k),process[p(0x1e2)](0x0);}});
@@ -1 +1 @@
1
- const a79l=a79d;(function(a,b){const j=a79d,c=a();while(!![]){try{const d=parseInt(j(0xc3))/0x1+-parseInt(j(0xe1))/0x2*(parseInt(j(0xc9))/0x3)+parseInt(j(0xcb))/0x4+-parseInt(j(0xda))/0x5*(-parseInt(j(0xe0))/0x6)+parseInt(j(0xc7))/0x7*(parseInt(j(0xd3))/0x8)+-parseInt(j(0xcd))/0x9+parseInt(j(0xde))/0xa*(-parseInt(j(0xd5))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0xa3572));function a79c(){const n=['View\x20the\x20PM2\x20logs','171258lCDIEY','1154884dmfMAw','maka\x20logs','getAppConfigPath','parse','168924YVZHhk','pm2\x20logs','assign','(((.+)+)+)+$','1792266YpHmTJ','error','3tXTOnU','toString','3070144bLFjUM','maka\x20logs\x20--env\x20staging','1491867bTPmYw','join','env','search','create','readFileSync','8oOnnUq','maka\x20l\x20-e\x20p','722491SDuric','sshSync','ssh.json','fsi','verbose','50XDjWxR','logs','maka\x20logs\x20--env\x20dev','constructor','10ssgipf'];a79c=function(){return n;};return a79c();}const a79b=(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;};}()),a79a=a79b(this,function(){const k=a79d;return a79a[k(0xca)]()[k(0xd0)](k(0xc6))[k(0xca)]()[k(0xdd)](a79a)[k(0xd0)](k(0xc6));});a79a();function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0xc2;let f=c[d];return f;},a79d(a,b);}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[a79l(0xd1)]({'name':a79l(0xdb),'aliases':['l','log'],'usage':a79l(0xe2),'requiredOpts':[a79l(0xcf)],'mustBeInMakaProject':!![],'validOpts':[a79l(0xd9)],'shortDesc':a79l(0xdf),'isPro':!![],'examples':[a79l(0xdc),a79l(0xcc),a79l(0xd4)]},function(a,b){const m=a79l;try{const c=m(0xc4),d=this[m(0xd8)][m(0xe3)](b[m(0xcf)]),f=a79f[m(0xce)](d,m(0xd7)),g=a79e[m(0xd2)](f),h=JSON[m(0xc2)](g['toString']());Object[m(0xc5)](h,{'env':d}),SSH[m(0xd6)](c,h,{'tty':!![],'verbose':!![]});}catch(i){Log[m(0xc8)](i);}});
1
+ const a79l=a79d;(function(a,b){const j=a79d,c=a();while(!![]){try{const d=parseInt(j(0x141))/0x1*(parseInt(j(0x13c))/0x2)+parseInt(j(0x136))/0x3+parseInt(j(0x137))/0x4*(parseInt(j(0x143))/0x5)+parseInt(j(0x150))/0x6*(-parseInt(j(0x13f))/0x7)+-parseInt(j(0x148))/0x8+-parseInt(j(0x14d))/0x9*(parseInt(j(0x13d))/0xa)+parseInt(j(0x14e))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x90af4));const a79b=(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;};}()),a79a=a79b(this,function(){const k=a79d;return a79a[k(0x139)]()[k(0x14b)](k(0x140))[k(0x139)]()['constructor'](a79a)['search'](k(0x140));});a79a();import a79e from'fs';import a79f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';function a79c(){const n=['verbose','5757328JRQLgs','maka\x20logs','error','search','create','9wTQLvc','19817787TnrKZz','maka\x20logs\x20--env\x20staging','12XbgZtI','logs','1544238WvBumq','1004kOWyRp','parse','toString','log','maka\x20l\x20-e\x20p','422ThGsnq','7929960jowzaR','assign','3563035WyoXaO','(((.+)+)+)+$','3088pGtOmi','pm2\x20logs','3095jUoJAa','fsi','readFileSync','env'];a79c=function(){return n;};return a79c();}function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x136;let f=c[d];return f;},a79d(a,b);}import{Log}from'../tools/log/log.class.js';Command[a79l(0x14c)]({'name':a79l(0x151),'aliases':['l',a79l(0x13a)],'usage':a79l(0x149),'requiredOpts':[a79l(0x146)],'mustBeInMakaProject':!![],'validOpts':[a79l(0x147)],'shortDesc':'View\x20the\x20PM2\x20logs','examples':['maka\x20logs\x20--env\x20dev',a79l(0x14f),a79l(0x13b)]},function(a,b){const m=a79l;try{const c=m(0x142),d=this[m(0x144)]['getAppConfigPath'](b[m(0x146)]),f=a79f['join'](d,'ssh.json'),g=a79e[m(0x145)](f),h=JSON[m(0x138)](g[m(0x139)]());Object[m(0x13e)](h,{'env':d}),SSH['sshSync'](c,h,{'tty':!![],'verbose':!![]});}catch(i){Log[m(0x14a)](i);}});
@@ -1 +1 @@
1
- const a80i=a80d;(function(a,b){const f=a80d,c=a();while(!![]){try{const d=-parseInt(f(0x13c))/0x1*(-parseInt(f(0x13e))/0x2)+parseInt(f(0x141))/0x3+parseInt(f(0x13f))/0x4+parseInt(f(0x137))/0x5*(-parseInt(f(0x149))/0x6)+parseInt(f(0x13b))/0x7+parseInt(f(0x142))/0x8*(parseInt(f(0x145))/0x9)+-parseInt(f(0x148))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0xd98a9));function a80d(a,b){const c=a80c();return a80d=function(d,e){d=d-0x135;let f=c[d];return f;},a80d(a,b);}const a80b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a80d;if(c){const e=c[g(0x135)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){const h=a80d;return a80a[h(0x139)]()['search']('(((.+)+)+)+$')['toString']()[h(0x146)](a80a)[h(0x14b)]('(((.+)+)+)+$');});a80a();function a80c(){const k=['processAndRunCommand','4748244hgWZnv','32XSXGdJ','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','maka\x20install\x20meteor','3547035JhNYQR','constructor','maka\x20--help','50975660zCKPen','18TTIdVc','exit','search','apply','maka\x20run','132725eSeIXt','maka\x20create\x20Todo','toString','maka\x20<command>\x20[<args>]\x20[<opts>]','10078516QpzyIn','252017uzlYAh','splice','6pzdXjF','2852812pXwHFR'];a80c=function(){return k;};return a80c();}import{Command}from'../command.js';const Maka=new Command({'name':'maka','minArgLength':0x1,'shortDesc':a80i(0x143),'validOpts':[],'usage':a80i(0x13a),'disableAuthCheck':!![],'examples':[a80i(0x147),a80i(0x144),a80i(0x138),a80i(0x136)],'description':'\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.-:\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20:-.\x20\x20\x20\x20\x20:--\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::\x20\x20::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::::::\x20.:::::::\x20..\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20..:.....\x20.::..::.\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20.::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::::::\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20\x20::::::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::..-::.\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::....\x20\x20::..---:..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20.\x20.:::::::\x20\x20::..::.\x20..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20\x20:.\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:--\x20\x20\x20\x20\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-:\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20:\x0a.:..::...::.\x20\x20\x20....:\x20\x20\x20.:\x20\x20\x20::\x20\x20....:.\x20\x20\x20\x20\x20\x20\x20\x20.::::\x20\x20.:\x20\x20::\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20\x20....:-\x20\x20.-..:.\x20\x20\x20....:-\x20\x20...\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20.:\x20\x20\x20:-\x20\x20.-\x20\x20.:\x20\x20.:\x20\x20\x20:-\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a.:.\x20\x20\x20:.\x20\x20\x20.:\x20\x20....\x20:.\x20.:.\x20\x20..\x20\x20....\x20:.\x20\x20\x20\x20\x20\x20\x20.....\x20\x20.:.\x20.:.\x0a\x0a\x20\x20'},async function(a,b){const j=a80i;try{const c=a[0x0];a[j(0x13d)](0x0,0x1),await this[j(0x140)](c,a,b);}catch(d){process[j(0x14a)](0x1);}});export default Maka;
1
+ const a80h=a80d;function a80d(a,b){const c=a80c();return a80d=function(d,e){d=d-0x167;let f=c[d];return f;},a80d(a,b);}(function(a,b){const f=a80d,c=a();while(!![]){try{const d=-parseInt(f(0x178))/0x1*(parseInt(f(0x17a))/0x2)+-parseInt(f(0x16a))/0x3+parseInt(f(0x167))/0x4*(parseInt(f(0x17c))/0x5)+parseInt(f(0x176))/0x6*(-parseInt(f(0x16f))/0x7)+-parseInt(f(0x179))/0x8+parseInt(f(0x16e))/0x9*(parseInt(f(0x172))/0xa)+-parseInt(f(0x175))/0xb*(-parseInt(f(0x170))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0xa55fe));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['toString']()['search'](g(0x17d))[g(0x173)]()[g(0x177)](a80a)[g(0x174)](g(0x17d));});a80a();import{Command}from'../command.js';const Maka=new Command({'name':a80h(0x16b),'minArgLength':0x1,'shortDesc':a80h(0x16d),'validOpts':[],'usage':'maka\x20<command>\x20[<args>]\x20[<opts>]','disableAuthCheck':!![],'examples':['maka\x20--help',a80h(0x171),a80h(0x16c),a80h(0x168)],'description':a80h(0x169)},async function(a,b){const i=a80h;try{const c=a[0x0];a['splice'](0x0,0x1),await this[i(0x17b)](c,a,b);}catch(d){process['exit'](0x1);}});export default Maka;function a80c(){const j=['processAndRunCommand','25UpeLGq','(((.+)+)+)+$','295156iEqGNc','maka\x20run','\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','1981194wdcJnN','maka','maka\x20create\x20Todo','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','2559861aounUB','11963SNaPwZ','221436tbiMvL','maka\x20install\x20meteor','10iDDryn','toString','search','1243UVIeDp','870Aibcnm','constructor','1JllrtD','4409912aZXjbu','1203494CNLXSh'];a80c=function(){return j;};return a80c();}
@@ -1 +1 @@
1
- var a81i=a81d;function a81d(a,b){var c=a81c();return a81d=function(d,e){d=d-0x1ab;var f=c[d];return f;},a81d(a,b);}(function(a,b){var f=a81d,c=a();while(!![]){try{var d=parseInt(f(0x1ae))/0x1*(parseInt(f(0x1b4))/0x2)+parseInt(f(0x1bd))/0x3*(parseInt(f(0x1bc))/0x4)+-parseInt(f(0x1ba))/0x5+-parseInt(f(0x1ad))/0x6+parseInt(f(0x1b8))/0x7*(parseInt(f(0x1ab))/0x8)+-parseInt(f(0x1bf))/0x9*(-parseInt(f(0x1b7))/0xa)+-parseInt(f(0x1bb))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0x6b5ae));var a81b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a81d;if(c){var e=c[g(0x1ac)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){var h=a81d;return a81a[h(0x1be)]()['search'](h(0x1b2))[h(0x1be)]()[h(0x1b3)](a81a)[h(0x1b6)](h(0x1b2));});a81a();function a81c(){var k=['3627cOAaOG','1655488ZHlCUs','apply','1179654UTaxgG','98053krPQoJ','log','murder','Murrrrderrrrr','(((.+)+)+)+$','constructor','8bYGung','font-family:\x20monospace','search','11470CZbFCd','28mfUedb','error','4264475lMMAZZ','8855528amdYCF','2448324QdCRKq','3aXgUdj','toString'];a81c=function(){return k;};return a81c();}import{Command}from'../command.js';Command['create']({'name':a81i(0x1b0),'usage':'maka\x20murder','maxArgLength':0x1,'shortDesc':a81i(0x1b1),'validOpts':[]},async function(){var j=a81i;try{console[j(0x1af)]('%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',j(0x1b5));}catch(a){console[j(0x1b9)](a),process['exit'](0x0);}});
1
+ var a81i=a81d;(function(a,b){var f=a81d,c=a();while(!![]){try{var d=parseInt(f(0x7f))/0x1+-parseInt(f(0x76))/0x2*(parseInt(f(0x86))/0x3)+-parseInt(f(0x7b))/0x4*(parseInt(f(0x83))/0x5)+parseInt(f(0x8b))/0x6+-parseInt(f(0x77))/0x7*(parseInt(f(0x79))/0x8)+parseInt(f(0x80))/0x9+parseInt(f(0x81))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0xbbba3));var a81b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a81d;if(c){var e=c[g(0x89)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){var h=a81d;return a81a[h(0x85)]()[h(0x78)](h(0x7d))[h(0x85)]()[h(0x82)](a81a)[h(0x78)](h(0x7d));});a81a();function a81c(){var k=['117873dveRrP','12219696syrQzK','9925640INXYeK','constructor','20QUCjnk','murder','toString','3FqQBIJ','%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','error','apply','log','5988600qOfdOu','2345914ahJOiP','2572927vlSAul','search','8ByKHXI','Murrrrderrrrr','1156832BCjbOe','maka\x20murder','(((.+)+)+)+$','exit'];a81c=function(){return k;};return a81c();}import{Command}from'../command.js';function a81d(a,b){var c=a81c();return a81d=function(d,e){d=d-0x76;var f=c[d];return f;},a81d(a,b);}Command['create']({'name':a81i(0x84),'usage':a81i(0x7c),'maxArgLength':0x1,'shortDesc':a81i(0x7a),'validOpts':[]},async function(){var j=a81i;try{console[j(0x8a)](j(0x87),'font-family:\x20monospace');}catch(a){console[j(0x88)](a),process[j(0x7e)](0x0);}});
@@ -1 +1 @@
1
- const a82p=a82d;(function(a,b){const m=a82d,c=a();while(!![]){try{const d=parseInt(m(0x1f0))/0x1*(-parseInt(m(0x1f8))/0x2)+parseInt(m(0x1fe))/0x3*(parseInt(m(0x20b))/0x4)+-parseInt(m(0x20f))/0x5*(parseInt(m(0x20d))/0x6)+-parseInt(m(0x211))/0x7*(parseInt(m(0x1ef))/0x8)+parseInt(m(0x1ee))/0x9*(parseInt(m(0x200))/0xa)+parseInt(m(0x1f5))/0xb*(parseInt(m(0x208))/0xc)+-parseInt(m(0x215))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x91180));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a82d;if(c){const e=c[n(0x1ff)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const o=a82d;return a82a[o(0x210)]()[o(0x209)](o(0x1eb))[o(0x210)]()['constructor'](a82a)[o(0x209)](o(0x1eb));});a82a();import a82e from'fs';import a82f from'path';function a82c(){const r=['toString','2002EEvRtA','mkKeysDir','readFileSync','.csr','1507779ZKyDVF','utf8','development','(((.+)+)+)+$','sslconfig','processAndRunGenerator','18cqzAFi','6984BfxoKL','35783KLOcVH','fsi','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','\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','appName','164692BGsqto','.key','maka\x20proxy\x20--target-host\x20http://192.168.1.20','4OVhRFS','getAppConfigPath','bright','getMakaProjectConfig','targetHost','error','1185MldlTf','apply','4982570uQbRBs','listenPort','createProxyServer','join','genSSC','isFile','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','genCSR','360guTeol','search','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','4124ppxnQH','localhost','4928328Udzwva','targetPort','5ZdFmSO'];a82c=function(){return r;};return a82c();}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';function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x1eb;let f=c[d];return f;},a82d(a,b);}Command['create']({'name':'proxy','usage':'maka\x20proxy','mustBeInMakaProject':!![],'validOpts':['help',a82p(0x20e),a82p(0x201),a82p(0x1fc)],'maxArgLength':0x1,'shortDesc':a82p(0x20a),'description':a82p(0x1f3),'examples':['maka\x20proxy',a82p(0x1f2),a82p(0x1f7)]},async function(a,b){const q=a82p,c=this[q(0x1f1)][q(0x1fb)](),d=q(0x217),e=this[q(0x1f1)][q(0x1f9)](d),f=this['fsi'][q(0x212)]({'configPath':e}),g=b[q(0x20e)]?Number(b[q(0x20e)]):0xbb8,h=b[q(0x201)]?Number(b[q(0x201)]):0xd73,i=b[q(0x1fc)]?b['targetHost']:q(0x20c),j=a82f[q(0x203)](f,c[q(0x1f4)]+q(0x1f6)),k=a82f[q(0x203)](f,c[q(0x1f4)]+'.crt');(!this[q(0x1f1)]['isFile'](j)||!this[q(0x1f1)][q(0x205)](k))&&(await a82h[q(0x1ed)](q(0x1ec),[],{'env':d}),SSL[q(0x207)]({'keyName':c['appName']+q(0x1f6),'csrName':c['appName']+q(0x214),'cwd':f}),SSL[q(0x204)]({'keyName':c[q(0x1f4)]+q(0x1f6),'crtName':c[q(0x1f4)]+'.crt','cwd':f}));if(g===h){Log[q(0x1fd)](q(0x206));throw new UsageError();}const l={'ssl':{'key':a82e[q(0x213)](j,q(0x216)),'cert':a82e['readFileSync'](k,q(0x216))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a82g[q(0x202)](l)['listen'](Number(h)),Log[q(0x1fa)]('=>\x20SSL\x20Proxy\x20forwarding\x20'+h+'\x20to\x20'+g);});
1
+ function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x11f;let f=c[d];return f;},a82d(a,b);}const a82p=a82d;(function(a,b){const m=a82d,c=a();while(!![]){try{const d=-parseInt(m(0x135))/0x1+-parseInt(m(0x145))/0x2*(parseInt(m(0x142))/0x3)+-parseInt(m(0x12d))/0x4*(-parseInt(m(0x133))/0x5)+-parseInt(m(0x134))/0x6*(parseInt(m(0x13c))/0x7)+parseInt(m(0x129))/0x8*(-parseInt(m(0x141))/0x9)+-parseInt(m(0x12b))/0xa*(parseInt(m(0x136))/0xb)+parseInt(m(0x147))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x9b079));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a82d;if(c){const e=c[n(0x13b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const o=a82d;return a82a[o(0x12e)]()[o(0x12f)](o(0x12a))[o(0x12e)]()['constructor'](a82a)['search'](o(0x12a));});a82a();import a82e from'fs';import a82f from'path';function a82c(){const r=['maka\x20proxy\x20--target-host\x20http://192.168.1.20','join','localhost','maka\x20proxy','848NYymsN','(((.+)+)+)+$','194470XNzyHe','error','121812nXyADz','toString','search','sslconfig','bright','targetPort','25SNDZXC','512574dKelnq','171401zVooOQ','88KiKrsV','appName','=>\x20SSL\x20Proxy\x20forwarding\x20','createProxyServer','genSSC','apply','14zsqEmJ','.key','getAppConfigPath','isFile','readFileSync','5256AIMCZV','5997kINnQy','\x20to\x20','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','238rGuvAk','utf8','15364272AxNLXb','mkKeysDir','development','.csr','targetHost','listen','fsi','processAndRunGenerator','listenPort'];a82c=function(){return r;};return a82c();}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['create']({'name':'proxy','usage':a82p(0x128),'mustBeInMakaProject':!![],'validOpts':['help','targetPort',a82p(0x124),a82p(0x120)],'maxArgLength':0x1,'shortDesc':'Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','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':[a82p(0x128),'maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000',a82p(0x125)]},async function(a,b){const q=a82p,c=this[q(0x122)]['getMakaProjectConfig'](),d=q(0x149),e=this[q(0x122)][q(0x13e)](d),f=this[q(0x122)][q(0x148)]({'configPath':e}),g=b[q(0x132)]?Number(b[q(0x132)]):0xbb8,h=b['listenPort']?Number(b['listenPort']):0xd73,i=b[q(0x120)]?b['targetHost']:q(0x127),j=a82f[q(0x126)](f,c['appName']+q(0x13d)),k=a82f[q(0x126)](f,c[q(0x137)]+'.crt');(!this[q(0x122)][q(0x13f)](j)||!this[q(0x122)][q(0x13f)](k))&&(await a82h[q(0x123)](q(0x130),[],{'env':d}),SSL['genCSR']({'keyName':c[q(0x137)]+'.key','csrName':c['appName']+q(0x11f),'cwd':f}),SSL[q(0x13a)]({'keyName':c[q(0x137)]+q(0x13d),'crtName':c[q(0x137)]+'.crt','cwd':f}));if(g===h){Log[q(0x12c)](q(0x144));throw new UsageError();}const l={'ssl':{'key':a82e[q(0x140)](j,q(0x146)),'cert':a82e['readFileSync'](k,q(0x146))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a82g[q(0x139)](l)[q(0x121)](Number(h)),Log[q(0x131)](q(0x138)+h+q(0x143)+g);});
@@ -1 +1 @@
1
- const a83q=a83d;(function(a,b){const n=a83d,c=a();while(!![]){try{const d=parseInt(n(0x10c))/0x1*(parseInt(n(0x10e))/0x2)+parseInt(n(0x122))/0x3*(-parseInt(n(0x105))/0x4)+parseInt(n(0x112))/0x5+parseInt(n(0x114))/0x6+-parseInt(n(0x115))/0x7+parseInt(n(0x11c))/0x8+parseInt(n(0x111))/0x9*(-parseInt(n(0x108))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0xbf28e));const a83b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a83d;if(c){const e=c[o(0x10b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){const p=a83d;return a83a[p(0x117)]()[p(0xfe)](p(0x119))[p(0x117)]()[p(0x129)](a83a)[p(0xfe)]('(((.+)+)+)+$');});function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0xfd;let f=c[d];return f;},a83d(a,b);}a83a();import a83e from'fs';import a83f from'path';function a83c(){const s=['toString','scp','(((.+)+)+)+$','sshSync','~/pm2.config.js','674832NXaokx','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','Reconfigure\x20your\x20deployed\x20applications\x20w/o\x20rebuild\x20or\x20redploy','ssh','pm2\x20delete\x20all','existsSync','257805zeylyG','~/ses.json','readFileSync','Checking\x20remote\x20host\x20availability','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','reconfigure','uname\x20-a','constructor','join','_keys','pm2.config.js','exit','success','assign','search','\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\x0a\x20\x20This\x20does\x20not\x20restart\x20the\x20nginx\x20server\x20and\x20is\x20much\x20faster\x20than\x20deploying\x0a\x20\x20a\x20new\x20build.\x0a\x20\x20','ses.json','create','~/settings.json','maka\x20reconfig','settings.json','52MNNNJe','fsi','reconfig','760lZHFjb','Remote\x20host\x20connection\x20successful','notice','apply','1191205RWagoG','parse','2beVyBd','ping','getAppConfigPath','247824FUVkCQ','6362285VZydRP','env','9345342eKlsiq','788844ggUqeA','maka\x20reconfig\x20--env\x20prod'];a83c=function(){return s;};return a83c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a83q(0x101)]({'name':a83q(0x127),'aliases':[a83q(0x107)],'validOpts':[''],'requiredOpts':[a83q(0x113)],'mustBeInMakaProject':!![],'usage':a83q(0x103),'isPro':!![],'shortDesc':a83q(0x11e),'description':a83q(0xff),'examples':[a83q(0x116)]},async function(a,b){const r=a83q;try{const c=this[r(0x106)][r(0x110)](b[r(0x113)]),d=a83f[r(0x12a)](c,'ssh.json'),f=a83e[r(0x124)](d)['toString'](),g=JSON[r(0x10d)](f);Object[r(0xfd)](g,{'env':c}),Log[r(0x10a)](r(0x125));const h=SSH[r(0x10f)](r(0x128),g);if(!h)throw r(0x11d);if(h)Log[r(0x12e)](r(0x109));const i=a83f[r(0x12a)](c,r(0x12b),r(0x100));if(a83e[r(0x121)](i)){const l={'source':i,'dest':r(0x123),'verbose':!![]};SSH[r(0x118)](l,{...g});}const j=a83f['join'](c,r(0x12c));SSH[r(0x118)]({'source':j,'dest':r(0x11b),'verbose':!![]},{...g});const k=a83f[r(0x12a)](c,r(0x104));SSH['scp']({'source':k,'dest':r(0x102),'verbose':!![]},{...g}),SSH[r(0x11a)](r(0x120),g),await SSH[r(0x11f)](r(0x126),{...g},{'verbose':!![]});}catch(m){console['error'](m),process[r(0x12d)](0x0);}});
1
+ const a83p=a83d;function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0x157;let f=c[d];return f;},a83d(a,b);}(function(a,b){const n=a83d,c=a();while(!![]){try{const d=parseInt(n(0x181))/0x1+-parseInt(n(0x157))/0x2+parseInt(n(0x169))/0x3*(parseInt(n(0x163))/0x4)+parseInt(n(0x16e))/0x5+parseInt(n(0x162))/0x6*(-parseInt(n(0x16f))/0x7)+-parseInt(n(0x15f))/0x8*(parseInt(n(0x175))/0x9)+-parseInt(n(0x16b))/0xa*(-parseInt(n(0x15e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0xa8cc9));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(0x15a)]()[o(0x17c)]('(((.+)+)+)+$')['toString']()['constructor'](a83a)[o(0x17c)](o(0x17b));});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 r=['Remote\x20host\x20connection\x20successful','success','maka\x20reconfig','4934628PXPAXQ','fsi','ses.json','scp','env','~/pm2.config.js','(((.+)+)+)+$','search','reconfig','maka\x20reconfig\x20--env\x20prod','settings.json','existsSync','183321ZGuYXK','Reconfigure\x20your\x20deployed\x20applications\x20w/o\x20rebuild\x20or\x20redploy','1796970lrGUjy','reconfigure','~/ses.json','toString','parse','ssh','join','2288264ckiIDw','16fPsBWu','exit','uname\x20-a','96QPecka','62628vfycBJ','pm2.config.js','_keys','pm2\x20delete\x20all','\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\x0a\x20\x20This\x20does\x20not\x20restart\x20the\x20nginx\x20server\x20and\x20is\x20much\x20faster\x20than\x20deploying\x0a\x20\x20a\x20new\x20build.\x0a\x20\x20','getAppConfigPath','129rWdSKX','Checking\x20remote\x20host\x20availability','90zEJEba','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','ping','4722650QbhjRj','431746phetup','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','create'];a83c=function(){return r;};return a83c();}Command[a83p(0x171)]({'name':a83p(0x158),'aliases':[a83p(0x17d)],'validOpts':[''],'requiredOpts':[a83p(0x179)],'mustBeInMakaProject':!![],'usage':a83p(0x174),'shortDesc':a83p(0x182),'description':a83p(0x167),'examples':[a83p(0x17e)]},async function(a,b){const q=a83p;try{const c=this[q(0x176)][q(0x168)](b[q(0x179)]),d=a83f[q(0x15d)](c,'ssh.json'),f=a83e['readFileSync'](d)[q(0x15a)](),g=JSON[q(0x15b)](f);Object['assign'](g,{'env':c}),Log['notice'](q(0x16a));const h=SSH[q(0x16d)](q(0x161),g);if(!h)throw q(0x170);if(h)Log[q(0x173)](q(0x172));const i=a83f[q(0x15d)](c,q(0x165),q(0x177));if(a83e[q(0x180)](i)){const l={'source':i,'dest':q(0x159),'verbose':!![]};SSH['scp'](l,{...g});}const j=a83f[q(0x15d)](c,q(0x164));SSH[q(0x178)]({'source':j,'dest':q(0x17a),'verbose':!![]},{...g});const k=a83f['join'](c,q(0x17f));SSH[q(0x178)]({'source':k,'dest':'~/settings.json','verbose':!![]},{...g}),SSH['sshSync'](q(0x166),g),await SSH[q(0x15c)](q(0x16c),{...g},{'verbose':!![]});}catch(m){console['error'](m),process[q(0x160)](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a84d,c=a();while(!![]){try{var d=parseInt(f(0xa1))/0x1+-parseInt(f(0x98))/0x2*(-parseInt(f(0xa3))/0x3)+-parseInt(f(0x9f))/0x4+-parseInt(f(0x9d))/0x5+-parseInt(f(0x9a))/0x6+-parseInt(f(0x9e))/0x7+parseInt(f(0x9c))/0x8*(parseInt(f(0x97))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x1ff16));function a84c(){var i=['search','162489WhewKO','constructor','54KGrfoJ','4yuDyUX','(((.+)+)+)+$','79632VAXamv','apply','499952xSrSBG','548780nVlMLB','1706817KdJqRa','777384ObkTmf','toString','208753pdnArD'];a84c=function(){return i;};return a84c();}function a84d(a,b){var c=a84c();return a84d=function(d,e){d=d-0x96;var f=c[d];return f;},a84d(a,b);}var a84b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a84d;if(c){var e=c[g(0x9b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){var h=a84d;return a84a['toString']()[h(0xa2)](h(0x99))[h(0xa0)]()[h(0x96)](a84a)[h(0xa2)](h(0x99));});a84a();import'./run.command.js';import'./docker.sub.cmd.js';
1
+ (function(a,b){var f=a84d,c=a();while(!![]){try{var d=-parseInt(f(0x102))/0x1+parseInt(f(0x106))/0x2*(-parseInt(f(0x10e))/0x3)+parseInt(f(0x104))/0x4+-parseInt(f(0x107))/0x5+parseInt(f(0x109))/0x6+parseInt(f(0x105))/0x7*(parseInt(f(0x10a))/0x8)+parseInt(f(0x10d))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0xb2b35));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(0x10b)]()[g(0x108)](g(0x103))[g(0x10b)]()[g(0x10c)](a84a)['search'](g(0x103));});function a84d(a,b){var c=a84c();return a84d=function(d,e){d=d-0x102;var f=c[d];return f;},a84d(a,b);}a84a();function a84c(){var h=['1631832hnWcMl','14XCJDga','8MAsvSa','3485115vgYoOH','search','3253974wZEXQh','4019144iahQjY','toString','constructor','12010896MwDCZS','890580LPwuuD','673197RoYidE','(((.+)+)+)+$'];a84c=function(){return h;};return a84c();}import'./run.command.js';import'./docker.sub.cmd.js';
@@ -1 +1 @@
1
- const a85l=a85d;(function(a,b){const i=a85d,c=a();while(!![]){try{const d=parseInt(i(0x137))/0x1+parseInt(i(0x12d))/0x2+-parseInt(i(0x13b))/0x3*(-parseInt(i(0x12a))/0x4)+-parseInt(i(0x13a))/0x5*(-parseInt(i(0x126))/0x6)+parseInt(i(0x13e))/0x7+-parseInt(i(0x12c))/0x8+-parseInt(i(0x131))/0x9*(parseInt(i(0x136))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0xb1ddf));const a85b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a85d;if(c){const e=c[j(0x130)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){const k=a85d;return a85a[k(0x125)]()[k(0x12e)](k(0x13c))['toString']()[k(0x139)](a85a)[k(0x12e)]('(((.+)+)+)+$');});a85a();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';function a85c(){const n=['apply','27oxVabh','docker-compose\x20--project-directory\x20','templateContent','\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','config/docker-compose.yaml','4938630JnhOAW','67919imOppp','existsSync','constructor','5lrptmm','3UwBbwP','(((.+)+)+)+$','create','3393859GTHUlv','appName','exit','Docker\x20Compose\x20Path:\x20','PM2\x20Config\x20File:\x20','getAppConfigPath','inherit','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','docker-compose.yaml','fsi','toString','4112112RiRaXp','notice','join','getMakaProjectConfig','1721116LawFyh','docker','3079512uEbDPj','1853368vKycAl','search','maka\x20run\x20docker'];a85c=function(){return n;};return a85c();}import{paramCase}from'change-case';function a85d(a,b){const c=a85c();return a85d=function(d,e){d=d-0x11f;let f=c[d];return f;},a85d(a,b);}Command[a85l(0x13d)]({'name':a85l(0x12b),'aliases':['d'],'shortDesc':a85l(0x122),'description':a85l(0x134),'usage':a85l(0x12f),'isPro':!![],'validOpts':['']},async function(){const m=a85l;try{const a=this['fsi'][m(0x129)](),b=this['fsi'][m(0x120)](m(0x12b)),c=a85f['join'](b,m(0x123)),d=a85f[m(0x128)](b,'pm2.config.js');Log[m(0x127)](m(0x11f)+d),Log['notice'](m(0x141)+c);if(!a85g[m(0x138)](c)){const f={'app':a[m(0x13f)],'appFileCase':paramCase(a[m(0x13f)])},g=this['fsi'][m(0x133)]({'srcPath':m(0x135),'context':f})+'\x0a';this[m(0x124)]['createFile']({'filePath':c,'data':g});}execSync(m(0x132)+b+'\x20up\x20--remove-orphans',{'stdio':m(0x121)});}catch(h){process[m(0x140)](0x1);}},a85e);
1
+ const a85k=a85d;(function(a,b){const i=a85d,c=a();while(!![]){try{const d=parseInt(i(0x71))/0x1+parseInt(i(0x90))/0x2+parseInt(i(0x8a))/0x3*(-parseInt(i(0x7f))/0x4)+-parseInt(i(0x7c))/0x5+parseInt(i(0x74))/0x6*(parseInt(i(0x87))/0x7)+-parseInt(i(0x81))/0x8*(-parseInt(i(0x7d))/0x9)+-parseInt(i(0x82))/0xa*(-parseInt(i(0x8d))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0xbcc0a));function a85d(a,b){const c=a85c();return a85d=function(d,e){d=d-0x6f;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[j(0x89)]()[j(0x7e)](j(0x70))[j(0x89)]()[j(0x6f)](a85a)[j(0x7e)]('(((.+)+)+)+$');});a85a();import a85e from'./run.command.js';import{execSync}from'child_process';import a85f from'path';function a85c(){const m=['\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','constructor','(((.+)+)+)+$','1330057dRAjpO','templateContent','getAppConfigPath','18keAdwi','getMakaProjectConfig','appName','docker','docker-compose.yaml','create','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','docker-compose\x20--project-directory\x20','6925800VWBIGy','225LPRpkT','search','4ipykzM','exit','7496EHNooy','8800kyNCBT','\x20up\x20--remove-orphans','createFile','PM2\x20Config\x20File:\x20','inherit','581679OBKgJK','join','toString','3444543VOJiPe','existsSync','notice','13684gTBaog','fsi','pm2.config.js','1217956ayyrqS'];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(0x79)]({'name':a85k(0x77),'aliases':['d'],'shortDesc':a85k(0x7a),'description':a85k(0x91),'usage':'maka\x20run\x20docker','isPro':![],'validOpts':['']},async function(){const l=a85k;try{const a=this[l(0x8e)][l(0x75)](),b=this['fsi'][l(0x73)]('docker'),c=a85f[l(0x88)](b,l(0x78)),d=a85f[l(0x88)](b,l(0x8f));Log[l(0x8c)](l(0x85)+d),Log[l(0x8c)]('Docker\x20Compose\x20Path:\x20'+c);if(!a85g[l(0x8b)](c)){const f={'app':a[l(0x76)],'appFileCase':paramCase(a['appName'])},g=this[l(0x8e)][l(0x72)]({'srcPath':'config/docker-compose.yaml','context':f})+'\x0a';this[l(0x8e)][l(0x84)]({'filePath':c,'data':g});}execSync(l(0x7b)+b+l(0x83),{'stdio':l(0x86)});}catch(h){process[l(0x80)](0x1);}},a85e);
@@ -1 +1 @@
1
- const a86s=a86d;(function(a,b){const p=a86d,c=a();while(!![]){try{const d=parseInt(p(0x106))/0x1*(-parseInt(p(0x135))/0x2)+parseInt(p(0x12d))/0x3+parseInt(p(0x117))/0x4*(parseInt(p(0xfa))/0x5)+parseInt(p(0x128))/0x6*(parseInt(p(0xf5))/0x7)+parseInt(p(0x12c))/0x8+-parseInt(p(0xf7))/0x9+-parseInt(p(0x11f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0x34834));function a86c(){const v=['slice','--env','3CwoNoE','app','production','forEach','process.env','allowIncompatibleUpdate','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','fsi','boolean','verbose','warn','extraPackages','splice','port','run','filter','settings','12PVlKAd','(((.+)+)+)+$','--exclude-archs','development','env','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)','argv','notice','2574950YgEAdY','error','rawLogs','getAppConfigPath','sep','invokeMeteorCommand','constructor','split','Meteor\x20Settings:\x20','1842QWNaMr','exit','isFile','Run\x20your\x20Meteor\x20application','838168zufzbn','713316UjgmTE','push','web.browser.legacy','join','mobileServer','--production','search','--settings','11318LlVuqg','ios','cordova-build','toString','openSync','info','4004YpQcHV','inspect','3266208aasjes','.meteor','length','557215lqfYyV','Cannot\x20find\x20Node\x20Environment\x20file,\x20creating:\x20','local','settings.json','createFile','Node\x20Env\x20Config:\x20','checkMeteorPackage','isDirectory','concat','config'];a86c=function(){return v;};return a86c();}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['toString']()[q(0x133)](q(0x118))[q(0x138)]()[q(0x125)](a86a)[q(0x133)]('(((.+)+)+)+$');});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';const syncSource=function(a){const r=a86d;a86f[r(0x139)](a,'r'),a86g[r(0x103)]({'path':a});},Run=Command['create']({'name':a86s(0x114),'mustBeInMakaProject':!![],'aliases':['r'],'shortDesc':a86s(0x12b),'description':'\x0a\x20\x20maka\x20run\x0a\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.\x0a\x20\x20','validOpts':[a86s(0x11b),a86s(0x121),a86s(0x113),a86s(0xf6),'mobileServer',a86s(0x10f),a86s(0x10b),a86s(0x111),'x','excludeArchs',a86s(0x108),'ci']},async function(a,b){const t=a86s;try{await this[t(0x10d)][t(0x100)]('autoupdate',{'shouldInstall':!![]});const c=a[0x0];if(c===t(0x136)){const l=this[t(0x10d)]['findProjectDirectory'](),m=a86e[t(0x130)](l,t(0x107),t(0xf8),t(0xfc),t(0x137));this[t(0x10d)][t(0x101)](m)&&await rimraf(m);}!b['excludeArchs']&&!b['x']&&(a=a[t(0x102)]([t(0x119),t(0x12f)]));if(b['mobileServer']&&typeof b[t(0x131)]===t(0x10e))throw t(0x11c);const d=b[t(0x11b)]?b[t(0x11b)]:t(0x11a),f=this[t(0x10d)][t(0x122)](d),g=a86e[t(0x130)](f,t(0x10a));let h=a86e['join'](f,'settings.json');b[t(0x116)]?h=b[t(0x116)]:h=a86e['join'](f,t(0xfd));this[t(0x10d)][t(0x12a)](g)?(Log[t(0x11e)](t(0xff)+g),syncSource(g)):(Log[t(0xf4)](t(0xfb)+g),this[t(0x10d)][t(0xfe)]({'filePath':g,'data':''}));this[t(0x10d)]['isFile'](h)?(Log[t(0x11e)](t(0x127)+h),a=a[t(0x102)]([t(0x134),h])):Log[t(0x110)](t(0x10c)+h);const i=f[t(0x126)](a86e[t(0x123)]),j=i[i[t(0xf9)]-0x1];j===t(0x108)&&a[t(0x12e)](t(0x132));const k=process[t(0x11d)][t(0x104)](0x2)[t(0x115)](n=>n!==t(0x114))['filter'](n=>n!==a[0x0]);k[t(0x109)]((n,o)=>{const u=t;n===u(0x105)&&k[u(0x112)](o,0x2),n==='-e'&&k[u(0x112)](o,0x2);}),this[t(0x10d)][t(0x124)]('run',a['concat'](k));}catch(n){Log[t(0x120)](n),process[t(0x129)](0x1);}});function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0xf4;let f=c[d];return f;},a86d(a,b);}export default Run;
1
+ const a86t=a86d;function a86c(){const w=['isFile','295014NZFfWI','cordova-build','6353880FSHNhe','invokeMeteorCommand','filter','Run\x20your\x20Meteor\x20application','splice','20bvBSnN','Cannot\x20find\x20Node\x20Environment\x20file,\x20creating:\x20','9BbgNLh','settings.json','settings','concat','local','26mwEzPs','inspect','fsi','apply','length','sep','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','--production','constructor','search','env','verbose','mobileServer','extraPackages','9275976mhbosQ','createFile','rawLogs','(((.+)+)+)+$','production','autoupdate','findProjectDirectory','.meteor','slice','toString','getAppConfigPath','1646148AVpxop','30zhUTMZ','excludeArchs','8rCLYmo','config','--env','run','create','openSync','process.env','\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.\x0a\x20\x20','info','--settings','100390qksJEp','development','app','34932hOxxyg','14DbtXfq','Node\x20Env\x20Config:\x20','7716137PTUxLi','join'];a86c=function(){return w;};return a86c();}(function(a,b){const p=a86d,c=a();while(!![]){try{const d=-parseInt(p(0x17e))/0x1*(parseInt(p(0x188))/0x2)+parseInt(p(0x17c))/0x3*(parseInt(p(0x18b))/0x4)+-parseInt(p(0x193))/0x5+-parseInt(p(0x191))/0x6*(-parseInt(p(0x18c))/0x7)+parseInt(p(0x170))/0x8*(parseInt(p(0x19a))/0x9)+parseInt(p(0x198))/0xa*(parseInt(p(0x18e))/0xb)+parseInt(p(0x17b))/0xc*(-parseInt(p(0x19f))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0xc3a7d));const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a86d;if(c){const e=c[q(0x1a2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const r=a86d;return a86a[r(0x179)]()['search'](r(0x173))[r(0x179)]()[r(0x16a)](a86a)[r(0x16b)]('(((.+)+)+)+$');});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';const syncSource=function(a){const s=a86d;a86f[s(0x183)](a,'r'),a86g[s(0x17f)]({'path':a});},Run=Command[a86t(0x182)]({'name':a86t(0x181),'mustBeInMakaProject':!![],'aliases':['r'],'shortDesc':a86t(0x196),'description':a86t(0x185),'validOpts':[a86t(0x16c),a86t(0x172),'port',a86t(0x1a0),a86t(0x16e),a86t(0x16d),'allowIncompatibleUpdate',a86t(0x16f),'x',a86t(0x17d),a86t(0x174),'ci']},async function(a,b){const u=a86t;try{await this[u(0x1a1)]['checkMeteorPackage'](u(0x175),{'shouldInstall':!![]});const c=a[0x0];if(c==='ios'){const l=this['fsi'][u(0x176)](),m=a86e[u(0x18f)](l,u(0x18a),u(0x177),u(0x19e),u(0x192));this[u(0x1a1)]['isDirectory'](m)&&await rimraf(m);}!b[u(0x17d)]&&!b['x']&&(a=a[u(0x19d)](['--exclude-archs','\x22web.browser.legacy,web.cordova\x22']));if(b[u(0x16e)]&&typeof b[u(0x16e)]==='boolean')throw'Please\x20provide\x20a\x20URL\x20where\x20your\x20mobile\x20app\x20should\x20connect\x20to\x20your\x20server\x20(e.g.,\x20-m\x20|\x20--mobile-server=https://example-server.com)';const d=b['env']?b[u(0x16c)]:u(0x189),f=this[u(0x1a1)][u(0x17a)](d),g=a86e['join'](f,u(0x184));let h=a86e[u(0x18f)](f,'settings.json');b[u(0x19c)]?h=b['settings']:h=a86e[u(0x18f)](f,u(0x19b));this[u(0x1a1)]['isFile'](g)?(Log['notice'](u(0x18d)+g),syncSource(g)):(Log[u(0x186)](u(0x199)+g),this['fsi'][u(0x171)]({'filePath':g,'data':''}));this[u(0x1a1)][u(0x190)](h)?(Log['notice']('Meteor\x20Settings:\x20'+h),a=a[u(0x19d)]([u(0x187),h])):Log['warn'](u(0x168)+h);const i=f['split'](a86e[u(0x167)]),j=i[i[u(0x1a3)]-0x1];j==='production'&&a['push'](u(0x169));const k=process['argv'][u(0x178)](0x2)[u(0x195)](n=>n!==u(0x181))[u(0x195)](n=>n!==a[0x0]);k['forEach']((n,o)=>{const v=u;n===v(0x180)&&k[v(0x197)](o,0x2),n==='-e'&&k['splice'](o,0x2);}),this[u(0x1a1)][u(0x194)]('run',a[u(0x19d)](k));}catch(n){Log['error'](n),process['exit'](0x1);}});function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0x167;let f=c[d];return f;},a86d(a,b);}export default Run;
@@ -1 +1 @@
1
- function a87c(){var i=['2206500vignXd','914000ouCGcU','673453pZIFRu','11504rykdUb','7eMVxbn','search','toString','(((.+)+)+)+$','apply','378710iLbGro','3XKExbe','3177jOsiMz','333913RKTSfR','132WjYrLX','65kUVJgK','53828qyKYwe'];a87c=function(){return i;};return a87c();}(function(a,b){var f=a87d,c=a();while(!![]){try{var d=parseInt(f(0x1f5))/0x1+parseInt(f(0x1f2))/0x2*(-parseInt(f(0x1f3))/0x3)+parseInt(f(0x1f8))/0x4*(-parseInt(f(0x1f7))/0x5)+parseInt(f(0x1f9))/0x6*(parseInt(f(0x1ed))/0x7)+-parseInt(f(0x1fc))/0x8*(-parseInt(f(0x1f4))/0x9)+parseInt(f(0x1fa))/0xa+-parseInt(f(0x1fb))/0xb*(parseInt(f(0x1f6))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0x40310));var a87b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a87d;if(c){var e=c[g(0x1f1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){var h=a87d;return a87a[h(0x1ef)]()[h(0x1ee)](h(0x1f0))['toString']()['constructor'](a87a)[h(0x1ee)](h(0x1f0));});a87a();function a87d(a,b){var c=a87c();return a87d=function(d,e){d=d-0x1ed;var f=c[d];return f;},a87d(a,b);}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(0xe6))/0x1*(parseInt(f(0xe8))/0x2)+parseInt(f(0xe2))/0x3+-parseInt(f(0xeb))/0x4*(parseInt(f(0xdf))/0x5)+-parseInt(f(0xde))/0x6+parseInt(f(0xdc))/0x7*(parseInt(f(0xe5))/0x8)+parseInt(f(0xe1))/0x9*(parseInt(f(0xe3))/0xa)+-parseInt(f(0xe9))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0xd72e8));var a87b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a87d;if(c){var e=c[g(0xea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){var h=a87d;return a87a[h(0xdd)]()[h(0xe0)](h(0xe4))['toString']()[h(0xe7)](a87a)[h(0xe0)](h(0xe4));});function a87c(){var i=['212zeasDn','570262mEKWPv','apply','292MxkffQ','44583kpXkXU','toString','2143242oVOBuU','77505VjYiqn','search','18063PEHoKR','737022MspmeP','5770dDHoGO','(((.+)+)+)+$','1464NBxxfe','1389hZiLdh','constructor'];a87c=function(){return i;};return a87c();}a87a();import'./set.command.js';function a87d(a,b){var c=a87c();return a87d=function(d,e){d=d-0xdc;var f=c[d];return f;},a87d(a,b);}import'./global.sub.cmd.js';import'./local.sub.cmd.js';
@@ -1 +1 @@
1
- const a88k=a88d;(function(a,b){const h=a88d,c=a();while(!![]){try{const d=parseInt(h(0x15a))/0x1+-parseInt(h(0x17a))/0x2*(-parseInt(h(0x16e))/0x3)+-parseInt(h(0x169))/0x4+-parseInt(h(0x177))/0x5+parseInt(h(0x175))/0x6+parseInt(h(0x173))/0x7*(-parseInt(h(0x16d))/0x8)+parseInt(h(0x17b))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x70371));function a88c(){const m=['22216UrAtfX','4011iPBlVm','Set\x20CA\x20Cert\x20Path:\x20','Set\x20global\x20Maka-CLI\x20settings','setGlobalConfig','openai','385sfEkKI','Set\x20workspace:\x20','2192028rZYUVA','maka\x20set:gc\x20--workspace\x20<path>','3403040xgkYnB','fsi','One\x20or\x20the\x20other\x20buddy','596nKQCeF','8344791aUJEFU','toString','apply','maka\x20set:global-config','maka\x20set:global-config\x20--cacert\x20<path>','success','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','workspace','maka\x20set:gc\x20--insecure\x20<path>','exit','186066FpHdok','(((.+)+)+)+$','error','resolve','isFile','global-config','Set\x20color\x20pallet\x20to:\x20','allowInsecure','pallet','boolean','isDirectory','disallowInsecure','Set\x20OpenAI\x20Key:\x20','cacert','Could\x20not\x20find\x20directory','2336212EkAsws','constructor','search','dark'];a88c=function(){return m;};return a88c();}const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a88d;if(c){const e=c[i(0x17d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const j=a88d;return a88a[j(0x17c)]()[j(0x16b)](j(0x15b))[j(0x17c)]()[j(0x16a)](a88a)['search'](j(0x15b));});function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x159;let f=c[d];return f;},a88d(a,b);}a88a();import a88e from'path';import a88f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a88k(0x15f),'usage':a88k(0x17e),'aliases':['gc'],'maxOptsLength':0x3,'validOpts':[{'name':a88k(0x167),'boolFlag':![]},{'name':a88k(0x161),'boolFlag':!![]},{'name':a88k(0x165),'boolFlag':!![]},{'name':'workspace','boolFlag':![]},{'name':'openai','boolFlag':![]},{'name':'help','boolFlag':!![]},{'name':a88k(0x162),'values':['light',a88k(0x16c)]}],'shortDesc':a88k(0x170),'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':[a88k(0x17f),a88k(0x183),a88k(0x176)]},async function(a,b){const l=a88k;try{if(b['cacert']){if(this[l(0x178)][l(0x15e)](b[l(0x167)]))await this[l(0x178)][l(0x171)]({'cert':b[l(0x167)]}),Log['success'](l(0x16f)+b[l(0x167)]);else{const c=typeof b[l(0x167)]===l(0x163)?l(0x181):'CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+b[l(0x167)];throw Log[l(0x15c)](c);}}if(b[l(0x182)]){const d=this[l(0x178)][l(0x164)](b['workspace']);if(d)await this[l(0x178)]['setGlobalConfig']({'workspace':a88e[l(0x15d)](b[l(0x182)])}),Log[l(0x180)](l(0x174)+a88e[l(0x15d)](b[l(0x182)]));else throw Log[l(0x15c)](l(0x168));}b[l(0x172)]&&(await this[l(0x178)][l(0x171)]({'openai':b['openai']}),Log[l(0x180)](l(0x166)+b['openai']));b['pallet']&&(await this['fsi'][l(0x171)]({'pallet':b[l(0x162)]}),Log[l(0x180)](l(0x160)+b[l(0x162)]));if(b[l(0x161)]){if(b[l(0x161)]&&b[l(0x165)])throw Log['error'](l(0x179));let f=b['allowInsecure'];b['disallowInsecure']&&(f=![]),await this['fsi'][l(0x171)]({'allowInsecure':f}),Log[l(0x180)]('Set\x20allowInsecure:\x20'+f);}process[l(0x159)](0x0);}catch(g){console[l(0x15c)](g),process[l(0x159)](0x0);}},a88f);
1
+ const a88k=a88d;function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x186;let f=c[d];return f;},a88d(a,b);}(function(a,b){const h=a88d,c=a();while(!![]){try{const d=-parseInt(h(0x1b3))/0x1*(parseInt(h(0x186))/0x2)+-parseInt(h(0x1a4))/0x3*(parseInt(h(0x1b4))/0x4)+-parseInt(h(0x18f))/0x5*(parseInt(h(0x18d))/0x6)+parseInt(h(0x194))/0x7+-parseInt(h(0x1a9))/0x8*(parseInt(h(0x18c))/0x9)+parseInt(h(0x196))/0xa*(parseInt(h(0x19b))/0xb)+parseInt(h(0x198))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0xdff98));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a88d;if(c){const e=c[i(0x197)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const j=a88d;return a88a[j(0x1a6)]()[j(0x1af)](j(0x195))[j(0x1a6)]()[j(0x1a7)](a88a)['search'](j(0x195));});a88a();import a88e from'path';import a88f from'./set.command.js';import{Command}from'../../command.js';function a88c(){const m=['help','maka\x20set:gc\x20--workspace\x20<path>','exit','allowInsecure','81YlzMDp','71922WzAeUm','openai','140BJkeMf','pallet','Set\x20allowInsecure:\x20','cacert','maka\x20set:global-config','12758235vftGpU','(((.+)+)+)+$','1210jrOOLo','apply','15607668onzpQW','workspace','Set\x20OpenAI\x20Key:\x20','107866qnoaMQ','maka\x20set:gc\x20--insecure\x20<path>','isDirectory','dark','success','error','disallowInsecure','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','resolve','1050399LcBvSl','One\x20or\x20the\x20other\x20buddy','toString','constructor','global-config','282128RHZBqc','Set\x20global\x20Maka-CLI\x20settings','setGlobalConfig','light','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x0a\x20\x20There\x20are\x20occasions\x20where\x20your\x20network\x20may\x20need\x20an\x20intermediate\x20certificate\x0a\x20\x20to\x20allow\x20connections\x20outside.\x20\x20You\x20may\x20set\x20your\x20certificate\x20path\x20using\x20the\x20command:\x0a\x0a\x20\x20maka\x20set:gc\x20--cacert\x0a\x20\x20','maka\x20set:global-config\x20--cacert\x20<path>','search','Could\x20not\x20find\x20directory','Set\x20CA\x20Cert\x20Path:\x20','fsi','557ECzWVu','20cwVCwk','Set\x20workspace:\x20','3550QKIluK','boolean'];a88c=function(){return m;};return a88c();}import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a88k(0x1a8),'usage':a88k(0x193),'aliases':['gc'],'maxOptsLength':0x3,'validOpts':[{'name':a88k(0x192),'boolFlag':![]},{'name':a88k(0x18b),'boolFlag':!![]},{'name':a88k(0x1a1),'boolFlag':!![]},{'name':a88k(0x199),'boolFlag':![]},{'name':a88k(0x18e),'boolFlag':![]},{'name':a88k(0x188),'boolFlag':!![]},{'name':a88k(0x190),'values':[a88k(0x1ac),a88k(0x19e)]}],'shortDesc':a88k(0x1aa),'description':a88k(0x1ad),'examples':[a88k(0x1ae),a88k(0x19c),a88k(0x189)]},async function(a,b){const l=a88k;try{if(b[l(0x192)]){if(this[l(0x1b2)]['isFile'](b[l(0x192)]))await this['fsi'][l(0x1ab)]({'cert':b[l(0x192)]}),Log[l(0x19f)](l(0x1b1)+b['cacert']);else{const c=typeof b[l(0x192)]===l(0x187)?l(0x1a2):'CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+b[l(0x192)];throw Log['error'](c);}}if(b[l(0x199)]){const d=this[l(0x1b2)][l(0x19d)](b['workspace']);if(d)await this['fsi'][l(0x1ab)]({'workspace':a88e['resolve'](b[l(0x199)])}),Log[l(0x19f)](l(0x1b5)+a88e[l(0x1a3)](b['workspace']));else throw Log[l(0x1a0)](l(0x1b0));}b[l(0x18e)]&&(await this['fsi']['setGlobalConfig']({'openai':b[l(0x18e)]}),Log['success'](l(0x19a)+b[l(0x18e)]));b[l(0x190)]&&(await this[l(0x1b2)][l(0x1ab)]({'pallet':b['pallet']}),Log[l(0x19f)]('Set\x20color\x20pallet\x20to:\x20'+b['pallet']));if(b['allowInsecure']){if(b[l(0x18b)]&&b[l(0x1a1)])throw Log[l(0x1a0)](l(0x1a5));let f=b['allowInsecure'];b[l(0x1a1)]&&(f=![]),await this[l(0x1b2)][l(0x1ab)]({'allowInsecure':f}),Log[l(0x19f)](l(0x191)+f);}process[l(0x18a)](0x0);}catch(g){console['error'](g),process['exit'](0x0);}},a88f);
@@ -1 +1 @@
1
- var a89i=a89d;(function(a,b){var f=a89d,c=a();while(!![]){try{var d=parseInt(f(0x191))/0x1+parseInt(f(0x19d))/0x2+-parseInt(f(0x1a0))/0x3*(-parseInt(f(0x19c))/0x4)+parseInt(f(0x195))/0x5*(-parseInt(f(0x196))/0x6)+-parseInt(f(0x18f))/0x7*(-parseInt(f(0x19a))/0x8)+-parseInt(f(0x194))/0x9*(-parseInt(f(0x19e))/0xa)+-parseInt(f(0x193))/0xb*(parseInt(f(0x198))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0xe6ce0));var a89b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a89d;if(c){var e=c[g(0x1a3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){var h=a89d;return a89a[h(0x192)]()[h(0x1a4)](h(0x19b))[h(0x192)]()[h(0x197)](a89a)[h(0x1a4)](h(0x19b));});a89a();function a89c(){var k=['43408716YVbsXs','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','8ZCuCHy','(((.+)+)+)+$','2010068uQXZEu','2586666GZAFsK','2510nBeRug','create','6ryoNKI','maka\x20set:local-config','Sorry,\x20not\x20implemented\x20yet','apply','search','4099102fXyllI','Set\x20local\x20maka\x20app\x20settings','840481pXYEkI','toString','11oAvRTY','46719lXPLRf','2323030ZfnFvx','6SWJKuf','constructor'];a89c=function(){return k;};return a89c();}import a89e from'./set.command.js';function a89d(a,b){var c=a89c();return a89d=function(d,e){d=d-0x18f;var f=c[d];return f;},a89d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a89i(0x19f)]({'name':'local-config','usage':a89i(0x1a1),'examples':[],'aliases':['lc'],'mustBeInMakaProject':!![],'shortDesc':a89i(0x190),'validOpts':[],'description':a89i(0x199)},async function(){var j=a89i;Log['notice'](j(0x1a2));},a89e);
1
+ var a89h=a89d;function a89d(a,b){var c=a89c();return a89d=function(d,e){d=d-0x171;var f=c[d];return f;},a89d(a,b);}function a89c(){var j=['63rXjgrv','constructor','search','13370nIjmBV','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','10980ctuJXk','Sorry,\x20not\x20implemented\x20yet','notice','981dvxiFT','1562050SmYlau','5140640OpioIS','(((.+)+)+)+$','1557792tVYZIw','6516678iOaOYl','170160juaBHh','113FRHVwh','toString','maka\x20set:local-config','local-config'];a89c=function(){return j;};return a89c();}(function(a,b){var f=a89d,c=a();while(!![]){try{var d=parseInt(f(0x173))/0x1*(parseInt(f(0x17a))/0x2)+-parseInt(f(0x17f))/0x3*(-parseInt(f(0x17c))/0x4)+-parseInt(f(0x181))/0x5+-parseInt(f(0x172))/0x6+-parseInt(f(0x171))/0x7+-parseInt(f(0x183))/0x8+parseInt(f(0x177))/0x9*(parseInt(f(0x180))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x89c41));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[g(0x174)]()[g(0x179)](g(0x182))[g(0x174)]()[g(0x178)](a89a)[g(0x179)]('(((.+)+)+)+$');});a89a();import a89e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a89h(0x176),'usage':a89h(0x175),'examples':[],'aliases':['lc'],'mustBeInMakaProject':!![],'shortDesc':'Set\x20local\x20maka\x20app\x20settings','validOpts':[],'description':a89h(0x17b)},async function(){var i=a89h;Log[i(0x17e)](i(0x17d));},a89e);
@@ -1 +1 @@
1
- const a90i=a90d;(function(a,b){const f=a90d,c=a();while(!![]){try{const d=-parseInt(f(0x18d))/0x1*(parseInt(f(0x192))/0x2)+-parseInt(f(0x1a0))/0x3+-parseInt(f(0x195))/0x4*(-parseInt(f(0x199))/0x5)+parseInt(f(0x193))/0x6*(-parseInt(f(0x1a1))/0x7)+parseInt(f(0x19b))/0x8+parseInt(f(0x198))/0x9*(-parseInt(f(0x196))/0xa)+parseInt(f(0x190))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0xd37d7));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a90d;if(c){const e=c[g(0x19d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const h=a90d;return a90a[h(0x19f)]()[h(0x18f)]('(((.+)+)+)+$')[h(0x19f)]()[h(0x19a)](a90a)[h(0x18f)](h(0x18e));});function a90c(){const k=['(((.+)+)+)+$','search','20718368xVJvgx','set','22HfyFMC','1344FewZof','create','8DZtVkb','2103430Ndwyiy','maka\x20set:<sub-command>','36NzKcHK','843420alQhyK','constructor','4687408MOCHtb','\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','apply','findSubCommand','toString','487668BkqbBm','147QHyUnA','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','runSubCommand','84717cCRrOF'];a90c=function(){return k;};return a90c();}function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x18d;let f=c[d];return f;},a90d(a,b);}a90a();import{Command}from'../../command.js';const SetCommand=Command[a90i(0x194)]({'name':a90i(0x191),'usage':a90i(0x197),'shortDesc':a90i(0x1a2),'description':a90i(0x19c),'validOpts':[]},async function(a,b){const j=a90i,c=a[0x0],d=this[j(0x19e)](c);d&&this[j(0x1a3)](c,a,b);});export default SetCommand;
1
+ const a90i=a90d;(function(a,b){const f=a90d,c=a();while(!![]){try{const d=parseInt(f(0xd6))/0x1*(parseInt(f(0xdd))/0x2)+-parseInt(f(0xcd))/0x3*(parseInt(f(0xd5))/0x4)+parseInt(f(0xd8))/0x5+-parseInt(f(0xd0))/0x6*(parseInt(f(0xdc))/0x7)+parseInt(f(0xd7))/0x8*(-parseInt(f(0xd1))/0x9)+parseInt(f(0xd4))/0xa*(parseInt(f(0xd3))/0xb)+parseInt(f(0xcb))/0xc*(parseInt(f(0xde))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0xd9a6e));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a90d;if(c){const e=c[g(0xd9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const h=a90d;return a90a[h(0xcc)]()[h(0xdb)](h(0xd2))[h(0xcc)]()[h(0xda)](a90a)[h(0xdb)](h(0xd2));});a90a();import{Command}from'../../command.js';const SetCommand=Command[a90i(0xce)]({'name':'set','usage':'maka\x20set:<sub-command>','shortDesc':'Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','validOpts':[]},async function(a,b){const j=a90i,c=a[0x0],d=this[j(0xcf)](c);d&&this[j(0xdf)](c,a,b);});function a90c(){const k=['3166360WqOyOK','apply','constructor','search','16961xQcneY','2582IFybGl','13whbQcK','runSubCommand','32360772iQpDzG','toString','4503993RVRnUx','create','findSubCommand','4134YaULRm','63teKgJX','(((.+)+)+)+$','2706wnnHfe','58150ykNbeq','4MzOmHU','178aFGYHE','1060584ROZNIs'];a90c=function(){return k;};return a90c();}function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0xcb;let f=c[d];return f;},a90d(a,b);}export default SetCommand;
@@ -1 +1 @@
1
- function a91c(){const o=['apply','search','2354229sCQITN','1146850MgjxUD','552228IjMnBY','20yJXTxk','parse','sshSync','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','length','ssh.json','env','assign','error','fsi','create','2295804rkElfL','34xhpbnz','32104EUzDtP','toString','(((.+)+)+)+$','140853EVAShE','join','maka\x20ssh\x20--env\x20prod','1106IwhHTJ','611154jabihL','verbose'];a91c=function(){return o;};return a91c();}const a91m=a91d;function a91d(a,b){const c=a91c();return a91d=function(d,e){d=d-0xba;let f=c[d];return f;},a91d(a,b);}(function(a,b){const j=a91d,c=a();while(!![]){try{const d=-parseInt(j(0xd0))/0x1+-parseInt(j(0xc8))/0x2*(-parseInt(j(0xcc))/0x3)+parseInt(j(0xc7))/0x4+-parseInt(j(0xd5))/0x5+parseInt(j(0xba))/0x6+-parseInt(j(0xcf))/0x7*(parseInt(j(0xc9))/0x8)+parseInt(j(0xd4))/0x9*(parseInt(j(0xbb))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0x7d2e4));const a91b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a91d;if(c){const e=c[k(0xd2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){const l=a91d;return a91a[l(0xca)]()['search'](l(0xcb))['toString']()['constructor'](a91a)[l(0xd3)]('(((.+)+)+)+$');});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(0xc6)]({'name':'ssh','usage':'maka\x20ssh\x20<command>','mustBeInMakaProject':!![],'requiredOpts':[a91m(0xc2)],'validOpts':[a91m(0xc2),a91m(0xd1)],'isPro':!![],'shortDesc':'Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','examples':['maka\x20ssh\x20--env\x20dev','maka\x20ssh\x20--env\x20staging',a91m(0xce),a91m(0xbf),'maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22',a91m(0xbe)]},async function(a,b){const n=a91m;try{const c=this[n(0xc5)]['getAppConfigPath'](b[n(0xc2)]);let d='';a[n(0xc0)]>0x0&&(d=a[0x0]);const f=a91f[n(0xcd)](c,n(0xc1)),g=a91e['readFileSync'](f)[n(0xca)](),h=JSON[n(0xbc)](g);Object[n(0xc3)](h,{'env':c}),SSH[n(0xbd)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b[n(0xd1)]});}catch(i){Log[n(0xc4)](i),process['exit'](0x1);}});
1
+ const a91m=a91d;(function(a,b){const j=a91d,c=a();while(!![]){try{const d=parseInt(j(0x88))/0x1*(parseInt(j(0x90))/0x2)+-parseInt(j(0x87))/0x3+parseInt(j(0x8b))/0x4+parseInt(j(0x7f))/0x5*(-parseInt(j(0x91))/0x6)+-parseInt(j(0x89))/0x7+parseInt(j(0x76))/0x8+parseInt(j(0x81))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0x39080));const a91b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a91d;if(c){const e=c[k(0x7c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){const l=a91d;return a91a[l(0x8f)]()[l(0x92)]('(((.+)+)+)+$')['toString']()[l(0x84)](a91a)[l(0x92)](l(0x82));});a91a();import a91e from'fs';import a91f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';function a91c(){const o=['readFileSync','apply','env','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','1095KtoZwk','maka\x20ssh\x20<command>','2933280ZzYLCX','(((.+)+)+)+$','getAppConfigPath','constructor','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','join','1038060tzOeYy','33461RzZaUw','2325526dpCDwm','exit','1737728KXrEho','verbose','parse','maka\x20ssh\x20--env\x20staging','toString','4EiLlNQ','5010SFQCFX','search','2139432bLwVzX','error','length','ssh','maka\x20ssh\x20--env\x20prod'];a91c=function(){return o;};return a91c();}import{Log}from'../tools/log/log.class.js';function a91d(a,b){const c=a91c();return a91d=function(d,e){d=d-0x76;let f=c[d];return f;},a91d(a,b);}Command['create']({'name':a91m(0x79),'usage':a91m(0x80),'mustBeInMakaProject':!![],'requiredOpts':[a91m(0x7d)],'validOpts':[a91m(0x7d),'verbose'],'shortDesc':'Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','examples':['maka\x20ssh\x20--env\x20dev',a91m(0x8e),a91m(0x7a),'maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22',a91m(0x7e),a91m(0x85)]},async function(a,b){const n=a91m;try{const c=this['fsi'][n(0x83)](b[n(0x7d)]);let d='';a[n(0x78)]>0x0&&(d=a[0x0]);const f=a91f[n(0x86)](c,'ssh.json'),g=a91e[n(0x7b)](f)[n(0x8f)](),h=JSON[n(0x8d)](g);Object['assign'](h,{'env':c}),SSH['sshSync'](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b[n(0x8c)]});}catch(i){Log[n(0x77)](i),process[n(0x8a)](0x1);}});
@@ -1 +1 @@
1
- const a92x=a92d;(function(a,b){const v=a92d,c=a();while(!![]){try{const d=parseInt(v(0x195))/0x1+parseInt(v(0x17c))/0x2*(-parseInt(v(0x1b4))/0x3)+parseInt(v(0x1a9))/0x4*(parseInt(v(0x17e))/0x5)+-parseInt(v(0x19f))/0x6+-parseInt(v(0x1b6))/0x7*(parseInt(v(0x1b5))/0x8)+parseInt(v(0x182))/0x9+parseInt(v(0x1ac))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0xacd88));function a92c(){const z=['parse','withSpinner','genCSR','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','maka\x20ssl\x20[command]','1150938ZItpwD','Remote\x20host\x20connection\x20successful','Create\x20and\x20manage\x20your\x20SSL\x20operations.','domains','start','Using\x20saved\x20letsencrypt\x20config','search','.key','domainNames','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','867702uBqBtO','readFileSync','fsi','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','ping','getMakaProjectConfig','letsencrypt','.csr','success','appName','104bliZyi','ssh','letsencrypt.json','3927190sQQECF','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','(((.+)+)+)+$','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','writeFileSync','ssl','uname\x20-a','error','2238348FEHQwy','88MMyacG','709681koMIpu','maka\x20ssl\x20--env\x20dev\x20generate-csr','ask','2wMgHgm','genSSC','216455hiCBWq','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','toString','constructor','402291tzgCLb','generate-csr','join','stringify','sudo\x20snap\x20install\x20--classic\x20certbot','Checking\x20remote\x20host\x20availability','email','exit','Verifying\x20Letsencrypt\x20configuration','existsSync','[?]\x20Domains\x20to\x20register:\x20','/ssh.json','env','notice'];a92c=function(){return z;};return a92c();}const a92b=(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;};}()),a92a=a92b(this,function(){const w=a92d;return a92a[w(0x180)]()[w(0x19b)](w(0x1ae))[w(0x180)]()[w(0x181)](a92a)['search'](w(0x1ae));});a92a();import a92e from'fs';import a92f from'path';import{Actions}from'../tools/actions/actions.class.js';function a92d(a,b){const c=a92c();return a92d=function(d,e){d=d-0x17c;let f=c[d];return f;},a92d(a,b);}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['create']({'name':a92x(0x1b1),'usage':a92x(0x194),'validOpts':['domains',a92x(0x188)],'requiredOpts':['env'],'shortDesc':a92x(0x197),'mustBeInMakaProject':!![],'minArgLength':0x1,'isPro':!![],'examples':[a92x(0x1b7),a92x(0x1af),'maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process']},async function(a,b){const y=a92x,c=this[y(0x1a1)][y(0x1a4)](),d=this[y(0x1a1)]['getAppConfigPath'](b[y(0x18e)]),f=this[y(0x1a1)]['mkKeysDir']({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===y(0x183))SSL[y(0x192)]({'keyName':c[y(0x1a8)]+y(0x19c),'csrName':c['appName']+'.csr','cwd':f});else{if(g==='generate-ssc'){if(!a92e[y(0x18b)](a92f[y(0x184)](f,c['appName']+'.key')))throw'The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20'+a92f[y(0x184)](f,c[y(0x1a8)]+y(0x19c));if(!a92e[y(0x18b)](a92f['join'](f,c['appName']+y(0x1a6))))throw y(0x19e)+a92f[y(0x184)](f,c[y(0x1a8)]+y(0x1a6));SSL[y(0x17d)]({'keyName':c[y(0x1a8)]+y(0x19c),'crtName':c[y(0x1a8)]+'.crt','cwd':f}),Log[y(0x18f)]('New\x20CSR\x20written\x20to\x20'+f);}else{if(g===y(0x1a5)){let h=b[y(0x198)],i=b[y(0x188)];try{const p=a92e['readFileSync'](a92f['join'](d,'letsencrypt.json'))['toString'](),q=JSON[y(0x190)](p);h=b[y(0x198)]?b[y(0x198)]:q[y(0x19d)],i=b[y(0x188)]?b[y(0x188)]:q['emailUpdate'],(!b[y(0x188)]||!b[y(0x198)])&&Log[y(0x18f)](y(0x19a));}catch(r){}const j=JSON[y(0x190)](a92e[y(0x1a0)](d+y(0x18d))[y(0x180)]());Object['assign'](j,{'env':d}),Log['notice'](y(0x187));try{const s=SSH[y(0x1a3)](y(0x1b2),j);if(!s)throw y(0x17f);if(s)Log['success'](y(0x196));}catch(t){Log[y(0x1b3)](t);return;}const k=Log[y(0x191)]();k[y(0x199)](y(0x18a)),SSH[y(0x1aa)](y(0x1ad),{...j}),SSH['ssh'](y(0x186),{...j}),SSH[y(0x1aa)](y(0x1a2),{...j}),k[y(0x1a7)]();const l=h?h:await Actions[y(0x1b8)](y(0x18c)),m=i?i:await Actions['ask']('Email\x20to\x20use\x20for\x20auto-updates:\x20');SSH['ssh'](y(0x193)+l+'\x20--email\x20'+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[y(0x185)](n,null,0x2);a92e[y(0x1b0)](a92f['join'](d,y(0x1ab)),o);}else throw'Please\x20provide\x20a\x20command.';}}}catch(u){console[y(0x1b3)](u),process[y(0x189)](0x0);}});
1
+ const a92y=a92d;(function(a,b){const v=a92d,c=a();while(!![]){try{const d=-parseInt(v(0xaf))/0x1+-parseInt(v(0xcc))/0x2*(parseInt(v(0xa8))/0x3)+parseInt(v(0xbb))/0x4*(-parseInt(v(0xb4))/0x5)+-parseInt(v(0xe6))/0x6*(parseInt(v(0xa6))/0x7)+parseInt(v(0xd6))/0x8+-parseInt(v(0xbd))/0x9+parseInt(v(0xde))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0x7f7f0));const a92b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a92d;if(c){const e=c[w(0xa5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){const x=a92d;return a92a[x(0xb9)]()[x(0xca)]('(((.+)+)+)+$')[x(0xb9)]()[x(0xe5)](a92a)['search'](x(0xc3));});function a92c(){const A=['Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','domainNames','generate-csr','5360104vOeUKN','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','exit','sudo\x20snap\x20install\x20--classic\x20certbot','ask','success','\x20--email\x20','error','31870270uwgRkK','.csr','join','ping','Email\x20to\x20use\x20for\x20auto-updates:\x20','letsencrypt','parse','constructor','97260ZjkWfC','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','apply','245vEEkdh','existsSync','27CDEgSX','Please\x20provide\x20a\x20command.','letsencrypt.json','generate-ssc','Using\x20saved\x20letsencrypt\x20config','New\x20CSR\x20written\x20to\x20','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','867684wLutnf','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','withSpinner','Verifying\x20Letsencrypt\x20configuration','Create\x20and\x20manage\x20your\x20SSL\x20operations.','17215lOMiCR','readFileSync','email','writeFileSync','genCSR','toString','start','548usyRbJ','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','6835653icjxrw','uname\x20-a','[?]\x20Domains\x20to\x20register:\x20','env','notice','maka\x20ssl\x20--env\x20dev\x20generate-csr','(((.+)+)+)+$','appName','.key','maka\x20ssl\x20[command]','create','ssh','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','search','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','148572sCKRKa','stringify','domains','Remote\x20host\x20connection\x20successful','getAppConfigPath','genSSC','.crt'];a92c=function(){return A;};return a92c();}a92a();function a92d(a,b){const c=a92c();return a92d=function(d,e){d=d-0xa4;let f=c[d];return f;},a92d(a,b);}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(0xc7)]({'name':'ssl','usage':a92y(0xc6),'validOpts':[a92y(0xce),a92y(0xb6)],'requiredOpts':[a92y(0xc0)],'shortDesc':a92y(0xb3),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a92y(0xc2),a92y(0xd7),a92y(0xcb)]},async function(a,b){const z=a92y,c=this['fsi']['getMakaProjectConfig'](),d=this['fsi'][z(0xd0)](b[z(0xc0)]),f=this['fsi']['mkKeysDir']({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0xd5))SSL[z(0xb8)]({'keyName':c[z(0xc4)]+'.key','csrName':c[z(0xc4)]+z(0xdf),'cwd':f});else{if(g===z(0xab)){if(!a92e[z(0xa7)](a92f[z(0xe0)](f,c[z(0xc4)]+'.key')))throw z(0xc9)+a92f['join'](f,c['appName']+'.key');if(!a92e[z(0xa7)](a92f[z(0xe0)](f,c[z(0xc4)]+z(0xdf))))throw z(0xbc)+a92f[z(0xe0)](f,c[z(0xc4)]+z(0xdf));SSL[z(0xd1)]({'keyName':c[z(0xc4)]+z(0xc5),'crtName':c[z(0xc4)]+z(0xd2),'cwd':f}),Log[z(0xc1)](z(0xad)+f);}else{if(g===z(0xe3)){let h=b[z(0xce)],i=b['email'];try{const p=a92e[z(0xb5)](a92f[z(0xe0)](d,z(0xaa)))[z(0xb9)](),q=JSON[z(0xe4)](p);h=b['domains']?b['domains']:q[z(0xd4)],i=b[z(0xb6)]?b[z(0xb6)]:q['emailUpdate'],(!b['email']||!b['domains'])&&Log[z(0xc1)](z(0xac));}catch(r){}const j=JSON['parse'](a92e[z(0xb5)](d+'/ssh.json')[z(0xb9)]());Object['assign'](j,{'env':d}),Log[z(0xc1)]('Checking\x20remote\x20host\x20availability');try{const s=SSH[z(0xe1)](z(0xbe),j);if(!s)throw z(0xd3);if(s)Log[z(0xdb)](z(0xcf));}catch(t){Log[z(0xdd)](t);return;}const k=Log[z(0xb1)]();k[z(0xba)](z(0xb2)),SSH['ssh'](z(0xae),{...j}),SSH[z(0xc8)](z(0xd9),{...j}),SSH[z(0xc8)](z(0xa4),{...j}),k[z(0xdb)]();const l=h?h:await Actions[z(0xda)](z(0xbf)),m=i?i:await Actions['ask'](z(0xe2));SSH[z(0xc8)](z(0xb0)+l+z(0xdc)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0xcd)](n,null,0x2);a92e[z(0xb7)](a92f[z(0xe0)](d,z(0xaa)),o);}else throw z(0xa9);}}}catch(u){console[z(0xdd)](u),process[z(0xd8)](0x0);}});
@@ -1 +1 @@
1
- const a93p=a93d;(function(a,b){const m=a93d,c=a();while(!![]){try{const d=-parseInt(m(0x1b1))/0x1+-parseInt(m(0x1b0))/0x2*(parseInt(m(0x1a5))/0x3)+parseInt(m(0x1cf))/0x4+parseInt(m(0x1c9))/0x5*(-parseInt(m(0x1b9))/0x6)+parseInt(m(0x1a0))/0x7*(-parseInt(m(0x1d0))/0x8)+-parseInt(m(0x1a7))/0x9+parseInt(m(0x1b3))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0x53b9b));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(0x19c)]()['search']('(((.+)+)+)+$')[n(0x19c)]()['constructor'](a93a)[n(0x1bc)](n(0x1c4));});a93a();import a93e from'fs';import a93f from'path';function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x199;let f=c[d];return f;},a93d(a,b);}import a93g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const o=a93d;a93e[o(0x1d1)](a,'r'),a93g['config']({'path':a});};function a93c(){const s=['maka\x20test','Node\x20Env\x20Config:\x20','none','--env','(((.+)+)+)+$','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','meteortesting:mocha','jasmine','--full-app','10ihSfoT','tests','join','testAppPath','driverPackage','mocha','1810856szWRpi','58328kNNcPZ','openSync','forEach','argv','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','findProjectDirectory','unit','once','packages','create','toString','filter','Cannot\x20find\x20Node\x20Environment\x20File:\x20','invokeMeteorCommand','658Bkiynh','isFile','--packages','driver','env','3hBIcsv','test','4889223DUxWoK','notice','.maka','process.env','fsi','--settings','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','config.json','exit','409718mygXIL','108780zWebsp','concat','15438330yNCmrp','engines','development','sanjo:jasmine','getAppConfigPath','--driver-package','334104kRWeSB','readFileSync','port','search','inspect','error','warn'];a93c=function(){return s;};return a93c();}Command[a93p(0x19b)]({'name':a93p(0x1a6),'mustBeInMakaProject':!![],'validOpts':[a93p(0x199),a93p(0x19a),a93p(0x1a3),a93p(0x1cd),a93p(0x1d6),a93p(0x1a4),'rawLogs',a93p(0x1bb),a93p(0x1bd),a93p(0x1cc)],'usage':a93p(0x1c0),'aliases':['t',a93p(0x1ca)],'shortDesc':a93p(0x1d4),'examples':[]},function(a,b){const q=a93p;try{let c=this[q(0x1ab)][q(0x1b7)](q(0x1b5));b['env']&&(c=this['fsi']['getAppConfigPath'](b[q(0x1a4)]));(!b[q(0x1d6)]||!!b[q(0x199)])&&(a=a['concat']([q(0x1c8)]));b[q(0x1d6)]&&delete b[q(0x1d6)];let d=b['driver-package']||b['driver']||q(0x1c2);if(d===q(0x1c2)){const j=JSON['parse'](a93e[q(0x1ba)](a93f[q(0x1cb)](this[q(0x1ab)][q(0x1d5)](),q(0x1a9),q(0x1ae)),'utf8'));if(j[q(0x1b4)][q(0x1a6)]===q(0x1c7))d=q(0x1b6);else j[q(0x1b4)][q(0x1a6)]===q(0x1ce)&&(d=q(0x1c6));}if(d===q(0x1c2))throw q(0x1ad);(!b['driver-package']||!b['driver'])&&(a=a[q(0x1b2)]([q(0x1b8),d]));const f=a93f[q(0x1cb)](c,'settings.json');this[q(0x1ab)][q(0x1a1)](f)?(Log['notice']('Meteor\x20Settings:\x20'+f),a=a[q(0x1b2)]([q(0x1ac),f])):Log[q(0x1bf)](q(0x1c5)+f);const g=a93f[q(0x1cb)](c,q(0x1aa));this[q(0x1ab)][q(0x1a1)](g)?(Log[q(0x1a8)](q(0x1c1)+g),syncSource(g)):Log[q(0x1bf)](q(0x19e)+g);const h=process[q(0x1d3)]['slice'](0x2)[q(0x19d)](k=>k!==q(0x1c3))['filter'](k=>k!==q(0x1a6))[q(0x19d)](k=>k!==a[0x0]);h[q(0x1d2)]((k,l)=>{const r=q;(k===r(0x1c3)||k==='--driver')&&h['splice'](l,0x2),k===r(0x1a2)&&h['splice'](l,0x1);});const i=b[q(0x19a)]?'test-packages':q(0x1a6);this[q(0x1ab)][q(0x19f)](i,a[q(0x1b2)](h));}catch(k){console[q(0x1be)](k),process[q(0x1af)](0x0);}});
1
+ const a93q=a93d;(function(a,b){const m=a93d,c=a();while(!![]){try{const d=-parseInt(m(0x179))/0x1+-parseInt(m(0x166))/0x2+-parseInt(m(0x176))/0x3+parseInt(m(0x146))/0x4+parseInt(m(0x175))/0x5+-parseInt(m(0x160))/0x6+parseInt(m(0x172))/0x7*(parseInt(m(0x152))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0x9c445));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a93d;if(c){const e=c[n(0x155)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const o=a93d;return a93a[o(0x14d)]()[o(0x159)]('(((.+)+)+)+$')[o(0x14d)]()[o(0x17b)](a93a)['search'](o(0x170));});function a93c(){const t=['port','1270998sntNam','parse','constructor','meteortesting:mocha','Node\x20Env\x20Config:\x20','notice','join','Meteor\x20Settings:\x20','1327020gOyNfo','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','rawLogs','invokeMeteorCommand','concat','getAppConfigPath','fsi','toString','--env','config','settings.json','filter','24cMaoNn','--packages','env','apply','isFile','driver','none','search','readFileSync','test','create','engines','process.env','unit','4610784jcVjrK','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','once','--full-app','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','inspect','1901784VOmYaD','--driver','argv','maka\x20test','splice','forEach','exit','packages','mocha','warn','(((.+)+)+)+$','sanjo:jasmine','7221473PHpuix','tests','driver-package','1667440MpcQvF','389211eZkeBT','driverPackage'];a93c=function(){return t;};return a93c();}a93a();function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x145;let f=c[d];return f;},a93d(a,b);}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';const syncSource=function(a){const p=a93d;a93e['openSync'](a,'r'),a93g[p(0x14f)]({'path':a});};Command[a93q(0x15c)]({'name':a93q(0x15b),'mustBeInMakaProject':!![],'validOpts':['once',a93q(0x16d),a93q(0x157),a93q(0x177),a93q(0x15f),a93q(0x154),a93q(0x148),a93q(0x178),a93q(0x165),'testAppPath'],'usage':a93q(0x169),'aliases':['t',a93q(0x173)],'shortDesc':a93q(0x164),'examples':[]},function(a,b){const r=a93q;try{let c=this[r(0x14c)]['getAppConfigPath']('development');b[r(0x154)]&&(c=this['fsi'][r(0x14b)](b[r(0x154)]));(!b[r(0x15f)]||!!b[r(0x162)])&&(a=a[r(0x14a)]([r(0x163)]));b[r(0x15f)]&&delete b[r(0x15f)];let d=b[r(0x174)]||b[r(0x157)]||r(0x158);if(d===r(0x158)){const j=JSON[r(0x17a)](a93e[r(0x15a)](a93f['join'](this['fsi']['findProjectDirectory'](),'.maka','config.json'),'utf8'));if(j[r(0x15d)][r(0x15b)]==='jasmine')d=r(0x171);else j['engines'][r(0x15b)]===r(0x16e)&&(d=r(0x17c));}if(d==='none')throw r(0x161);(!b[r(0x174)]||!b[r(0x157)])&&(a=a[r(0x14a)](['--driver-package',d]));const f=a93f['join'](c,r(0x150));this[r(0x14c)][r(0x156)](f)?(Log[r(0x17e)](r(0x145)+f),a=a['concat'](['--settings',f])):Log[r(0x16f)](r(0x147)+f);const g=a93f[r(0x17f)](c,r(0x15e));this[r(0x14c)][r(0x156)](g)?(Log[r(0x17e)](r(0x17d)+g),syncSource(g)):Log[r(0x16f)]('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+g);const h=process[r(0x168)]['slice'](0x2)[r(0x151)](k=>k!==r(0x14e))[r(0x151)](k=>k!==r(0x15b))[r(0x151)](k=>k!==a[0x0]);h[r(0x16b)]((k,l)=>{const s=r;(k===s(0x14e)||k===s(0x167))&&h[s(0x16a)](l,0x2),k===s(0x153)&&h[s(0x16a)](l,0x1);});const i=b['packages']?'test-packages':r(0x15b);this['fsi'][r(0x149)](i,a[r(0x14a)](h));}catch(k){console['error'](k),process[r(0x16c)](0x0);}});
@@ -1 +1 @@
1
- const a94n=a94d;(function(a,b){const k=a94d,c=a();while(!![]){try{const d=parseInt(k(0x178))/0x1*(-parseInt(k(0x183))/0x2)+-parseInt(k(0x1a1))/0x3*(-parseInt(k(0x175))/0x4)+parseInt(k(0x1a2))/0x5*(-parseInt(k(0x17f))/0x6)+-parseInt(k(0x198))/0x7*(-parseInt(k(0x179))/0x8)+parseInt(k(0x16f))/0x9*(-parseInt(k(0x17c))/0xa)+-parseInt(k(0x18d))/0xb*(-parseInt(k(0x19e))/0xc)+parseInt(k(0x184))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0x34fb7));function a94d(a,b){const c=a94c();return a94d=function(d,e){d=d-0x16e;let f=c[d];return f;},a94d(a,b);}const a94b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a94d;if(c){const e=c[l(0x195)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){const m=a94d;return a94a[m(0x17b)]()['search'](m(0x16e))['toString']()[m(0x19c)](a94a)[m(0x199)](m(0x16e));});a94a();import{execSync}from'child_process';import a94e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':a94n(0x17d)};function a94c(){const p=['warn','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','maka\x20version\x20--verbose','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','majestic','\x20node\x20-v','----------------------Project----------------------------','meteor','7689oGkgcr','Project\x27s\x20Meteor\x20Node\x20Version\x20','getProjectsMeteorNodeVersion','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','System\x27s\x20Node\x20Version\x20','Project\x27s\x20Meteor\x20Version\x20','N/A','win32','apply','isMakaProject','System\x27s\x20Meteor\x20Version\x20','1725591eSrbPc','search','\x0a\x20To\x20get\x20the\x20mongo\x20version\x20in\x20use\x20by\x20meteor:\x0a\x201)\x20Run\x20the\x20project,\x20\x22maka\x20run\x22\x0a\x202)\x20In\x20a\x20new\x20terminal\x20open\x20the\x20mongo\x20shell,\x20\x22maka\x20mongo\x22','fsi','constructor','getProjectMeteorVersion','5268MUwZlU','Maka\x20','maka\x20version','135LdFSQN','5HcoiTF','(((.+)+)+)+$','29034vatVmW','exit','platform','meteor.bat','bright','\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','3448QYVNIH','----------------------System----------------------------','replace','49571sHBiPI','8nnibHv','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','toString','890GVboUU','4.7.17',')\x20to\x20at\x20least\x20meteor\x27s\x20(','494028UAzPEM','verbose','error','compareMakaToLatest','4PJFUTP','1214785KPIlBE'];a94c=function(){return p;};return a94c();}Command['create']({'name':'version','aliases':['v'],'usage':a94n(0x1a0),'maxArgLength':0x1,'validOpts':[a94n(0x180)],'shortDesc':'Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','examples':['maka\x20v','maka\x20version',a94n(0x187)],'description':a94n(0x174)},async function(a,b){const o=a94n;try{const c=process[o(0x171)]===o(0x194)?o(0x172):o(0x18c);Log[o(0x189)](o(0x19f)+pjson['version']),await this['fsi'][o(0x182)]();if(b[o(0x180)]){await this[o(0x19b)][o(0x182)](),Log['bright'](o(0x176));const d=this['fsi']['getGlobalMeteorVersion']();Log[o(0x173)]((o(0x197)+d)['replace']('\x0a',''));const f=execSync(c+o(0x18a))['toString']()[o(0x177)](/\r?\n|\r/,'')[o(0x177)]('v','');Log[o(0x173)](o(0x186)+f);const g=execSync('node\x20-v')[o(0x17b)]()[o(0x177)](/\r?\n|\r/,'')[o(0x177)]('v','');a94e['gt'](f,g)?(Log[o(0x185)](o(0x191)+g),Log[o(0x185)](o(0x188)+g+o(0x17e)+f+')')):Log[o(0x173)]('System\x27s\x20Node\x20Version\x20'+g);if(this[o(0x19b)][o(0x196)]()){Log[o(0x173)](o(0x18b));const h=this['fsi'][o(0x19d)]();a94e['gt'](d,h)?(Log['warn'](o(0x192)+h['replace']('\x0a','')),Log[o(0x185)](o(0x190)+d+'\x22')):Log['notice']((o(0x192)+h)['replace']('\x0a',''));const i=await this[o(0x19b)][o(0x18f)]();i===o(0x193)?(Log[o(0x185)](o(0x18e)+i),Log['warn'](o(0x17a))):Log['bright'](o(0x18e)+i),Log[o(0x173)](o(0x19a));}}}catch(j){console[o(0x181)](j),process[o(0x170)](0x0);}});
1
+ const a94m=a94d;(function(a,b){const k=a94d,c=a();while(!![]){try{const d=parseInt(k(0x196))/0x1+-parseInt(k(0x19c))/0x2+-parseInt(k(0x19f))/0x3*(parseInt(k(0x1b3))/0x4)+-parseInt(k(0x1ab))/0x5*(-parseInt(k(0x1c0))/0x6)+parseInt(k(0x198))/0x7+parseInt(k(0x1b7))/0x8+parseInt(k(0x1bd))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0x75206));const a94b=(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;};}()),a94a=a94b(this,function(){const l=a94d;return a94a['toString']()[l(0x1c2)](l(0x1bc))[l(0x1a3)]()[l(0x1a0)](a94a)[l(0x1c2)](l(0x1bc));});a94a();import{execSync}from'child_process';import a94e from'semver';import{Command}from'../command.js';function a94d(a,b){const c=a94c();return a94d=function(d,e){d=d-0x195;let f=c[d];return f;},a94d(a,b);}import{Log}from'../tools/log/log.class.js';const pjson={'version':'4.7.22'};Command[a94m(0x1a4)]({'name':a94m(0x1ba),'aliases':['v'],'usage':a94m(0x1ae),'maxArgLength':0x1,'validOpts':[a94m(0x1a1)],'shortDesc':a94m(0x1c1),'examples':['maka\x20v',a94m(0x1ae),a94m(0x1bb)],'description':'\x0a\x20\x20When\x20using\x20the\x20--verbose\x20flag,\x20maka\x20will\x20also\x20check\x20the\x20version\x20of\x20the\x20system\x27s\x20meteor\x20and\x20node\x20versions\x0a\x20\x20along\x20with\x20the\x20project\x27s\x20meteor\x20and\x20node\x20versions.\x20If\x20the\x20system\x27s\x20meteor\x20version\x20is\x20greater\x20than\x20the\x0a\x20\x20project\x27s\x20meteor\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20meteor\x20version.\x20If\x20the\x20system\x27s\x20node\x0a\x20\x20version\x20is\x20greater\x20than\x20the\x20project\x27s\x20node\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20node\x20version.\x0a\x20\x20'},async function(a,b){const n=a94m;try{const c=process[n(0x1c3)]===n(0x1b1)?n(0x1be):'meteor';Log[n(0x19e)](n(0x1b5)+pjson[n(0x1ba)]),await this['fsi'][n(0x1af)]();if(b[n(0x1a1)]){await this['fsi']['compareMakaToLatest'](),Log[n(0x1a8)](n(0x1b6));const d=this[n(0x19a)][n(0x1b2)]();Log['bright'](('System\x27s\x20Meteor\x20Version\x20'+d)[n(0x1a6)]('\x0a',''));const f=execSync(c+n(0x199))[n(0x1a3)]()['replace'](/\r?\n|\r/,'')[n(0x1a6)]('v','');Log[n(0x1a8)](n(0x1bf)+f);const g=execSync('node\x20-v')['toString']()['replace'](/\r?\n|\r/,'')['replace']('v','');a94e['gt'](f,g)?(Log['warn']('System\x27s\x20Node\x20Version\x20'+g),Log['warn'](n(0x1aa)+g+n(0x1a9)+f+')')):Log[n(0x1a8)](n(0x19b)+g);if(this['fsi'][n(0x19d)]()){Log[n(0x1a8)](n(0x1b0));const h=this['fsi'][n(0x1b4)]();a94e['gt'](d,h)?(Log[n(0x1a5)]('Project\x27s\x20Meteor\x20Version\x20'+h[n(0x1a6)]('\x0a','')),Log[n(0x1a5)]('\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20'+d+'\x22')):Log[n(0x1b9)]((n(0x1b8)+h)['replace']('\x0a',''));const i=await this[n(0x19a)][n(0x1ad)]();i===n(0x1a2)?(Log[n(0x1a5)](n(0x1ac)+i),Log[n(0x1a5)]('\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.')):Log[n(0x1a8)](n(0x1ac)+i),Log['bright'](n(0x1a7));}}}catch(j){console[n(0x195)](j),process[n(0x197)](0x0);}});function a94c(){const o=['getProjectMeteorVersion','Maka\x20','----------------------System----------------------------','364992TnOpxZ','Project\x27s\x20Meteor\x20Version\x20','notice','version','maka\x20version\x20--verbose','(((.+)+)+)+$','1982142wlpDun','meteor.bat','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','48QaRbds','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','search','platform','error','2890MenINC','exit','2002742JkWJWi','\x20node\x20-v','fsi','System\x27s\x20Node\x20Version\x20','1185710CtFtlf','isMakaProject','majestic','21QsYcXz','constructor','verbose','N/A','toString','create','warn','replace','\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','bright',')\x20to\x20at\x20least\x20meteor\x27s\x20(','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','507880aFUmUY','Project\x27s\x20Meteor\x20Node\x20Version\x20','getProjectsMeteorNodeVersion','maka\x20version','compareMakaToLatest','----------------------Project----------------------------','win32','getGlobalMeteorVersion','168492dvkpif'];a94c=function(){return o;};return a94c();}
@@ -1 +1 @@
1
- function a95d(a,b){var c=a95c();return a95d=function(d,e){d=d-0x1d6;var f=c[d];return f;},a95d(a,b);}(function(a,b){var f=a95d,c=a();while(!![]){try{var d=parseInt(f(0x1e0))/0x1*(parseInt(f(0x1da))/0x2)+parseInt(f(0x1de))/0x3+-parseInt(f(0x1e3))/0x4*(-parseInt(f(0x1df))/0x5)+-parseInt(f(0x1dd))/0x6+-parseInt(f(0x1e4))/0x7*(parseInt(f(0x1d7))/0x8)+-parseInt(f(0x1db))/0x9*(-parseInt(f(0x1dc))/0xa)+parseInt(f(0x1d6))/0xb*(-parseInt(f(0x1e2))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0x634fa));function a95c(){var h=['394329xNfiBe','(((.+)+)+)+$','11349444YFcdJT','340oLFqKN','28WWBJub','11eMXCQo','194672zZZSmG','search','toString','4rTceGY','878211GKdJkD','50iUlrwF','1557384HIBOMA','1153641LOyuiy','2845DHIckB'];a95c=function(){return h;};return a95c();}var a95b=(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;};}()),a95a=a95b(this,function(){var g=a95d;return a95a[g(0x1d9)]()[g(0x1d8)](g(0x1e1))[g(0x1d9)]()['constructor'](a95a)[g(0x1d8)](g(0x1e1));});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(0xaa))/0x1*(parseInt(f(0xad))/0x2)+parseInt(f(0xab))/0x3+parseInt(f(0xa7))/0x4+parseInt(f(0xaf))/0x5*(parseInt(f(0xb0))/0x6)+parseInt(f(0xa6))/0x7*(-parseInt(f(0xb1))/0x8)+parseInt(f(0xa4))/0x9*(parseInt(f(0xb2))/0xa)+-parseInt(f(0xac))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0xd8a8c));var a95b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a95d;if(c){var e=c[g(0xa5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a95a=a95b(this,function(){var h=a95d;return a95a[h(0xa9)]()[h(0xa8)]('(((.+)+)+)+$')[h(0xa9)]()[h(0xae)](a95a)[h(0xa8)]('(((.+)+)+)+$');});a95a();export class UsageError{}function a95d(a,b){var c=a95c();return a95d=function(d,e){d=d-0xa4;var f=c[d];return f;},a95d(a,b);}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}function a95c(){var i=['150034IxEyDL','constructor','5KsXLZe','2314758PCPGXK','8ibxSxu','13909130fUUgpe','9QGpxHp','apply','10627750PPsjNg','2985324oVDAnH','search','toString','15BwjpWh','1765077DQvxXT','20140615KIiPcA'];a95c=function(){return i;};return a95c();}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- var a96i=a96d;(function(a,b){var f=a96d,c=a();while(!![]){try{var d=parseInt(f(0x152))/0x1+-parseInt(f(0x156))/0x2*(parseInt(f(0x14c))/0x3)+parseInt(f(0x146))/0x4+parseInt(f(0x154))/0x5+parseInt(f(0x153))/0x6*(-parseInt(f(0x14d))/0x7)+parseInt(f(0x14e))/0x8*(-parseInt(f(0x147))/0x9)+parseInt(f(0x149))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0x5331c));function a96c(){var j=['6uxPYoE','181805xPsbQY','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','2kUtsBI','387800jnDIvp','439713yYNhBw','apply','9856100OyxArA','(((.+)+)+)+$','toString','790494chYWFl','3528301apkAJI','40ljWGFw','env','NODE_OPTIONS','constructor','233669GeWQnO'];a96c=function(){return j;};return a96c();}var a96b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a96d;if(c){var e=c[g(0x148)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a96a=a96b(this,function(){var h=a96d;return a96a['toString']()['search'](h(0x14a))[h(0x14b)]()[h(0x151)](a96a)['search'](h(0x14a));});a96a(),process[a96i(0x14f)][a96i(0x150)]=a96i(0x155);function a96d(a,b){var c=a96c();return a96d=function(d,e){d=d-0x146;var f=c[d];return f;},a96d(a,b);}import'./maka.js';
2
+ var a96i=a96d;function a96d(a,b){var c=a96c();return a96d=function(d,e){d=d-0x104;var f=c[d];return f;},a96d(a,b);}function a96c(){var j=['constructor','(((.+)+)+)+$','NODE_OPTIONS','toString','env','4430960oaqeZw','110YAZhMK','search','304728zzBPyk','922350dGBBYz','apply','3351318fSvDEK','28806UxNreI','7WrCnTY','172tWsQDR','139752LMWPGN','906916LhdRAL'];a96c=function(){return j;};return a96c();}(function(a,b){var f=a96d,c=a();while(!![]){try{var d=-parseInt(f(0x110))/0x1+parseInt(f(0x106))/0x2+-parseInt(f(0x113))/0x3*(-parseInt(f(0x104))/0x4)+parseInt(f(0x10c))/0x5+-parseInt(f(0x112))/0x6+-parseInt(f(0x114))/0x7*(-parseInt(f(0x10f))/0x8)+-parseInt(f(0x105))/0x9*(-parseInt(f(0x10d))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0x75514));var a96b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a96d;if(c){var e=c[g(0x111)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a96a=a96b(this,function(){var h=a96d;return a96a[h(0x10a)]()[h(0x10e)]('(((.+)+)+)+$')['toString']()[h(0x107)](a96a)[h(0x10e)](h(0x108));});a96a(),process[a96i(0x10b)][a96i(0x109)]='--experimental-modules\x20--no-warnings\x20--experimental-json-modules';import'./maka.js';