@maka/maka-cli 4.7.9 → 4.7.11

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 (148) 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/gitignore +1 -0
  128. package/bundle/obf/src/templates/meteor/project/package.json +20 -0
  129. package/bundle/obf/src/tool.js +1 -1
  130. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  131. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  132. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  133. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  134. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  135. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  136. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  137. package/bundle/obf/src/tools/https/https.class.js +1 -1
  138. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  139. package/bundle/obf/src/tools/log/log.class.js +1 -1
  140. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  141. package/bundle/obf/src/tools/options/options.class.js +1 -1
  142. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  143. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  144. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  145. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  146. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  147. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  148. package/package.json +1 -1
@@ -1 +1 @@
1
- const a77z=a77d;(function(a,b){const w=a77d,c=a();while(!![]){try{const d=parseInt(w(0x8e))/0x1*(parseInt(w(0x87))/0x2)+parseInt(w(0x82))/0x3+parseInt(w(0x8a))/0x4+parseInt(w(0x84))/0x5+parseInt(w(0x9b))/0x6+parseInt(w(0x83))/0x7+-parseInt(w(0x94))/0x8*(parseInt(w(0x95))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0x1aa13));const a77b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a77d;if(c){const e=c[x(0x92)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){const y=a77d;return a77a[y(0xb3)]()[y(0xa2)](y(0x85))[y(0xb3)]()['constructor'](a77a)[y(0xa2)](y(0x85));});a77a();import a77e from'node-forge';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';function a77c(){const B=['cert','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','header','www.maka-cli.com','error','start','cacert','Password:\x20','post','email','create','toString','authToken','https://','fsi','/api/v1/status','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','ask','/api/v1/login','177120FVCHVA','704347liEhIi','70105rWssiM','(((.+)+)+)+$','\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','236LsxQPx','MAKA_DEV','env','440388kXwNYE','success','get','isFile','254mrfeIh','setGlobalConfig','debug','parse','apply','localhost','96OHazPp','196002djpgws','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','update','Using\x20CA\x20Cert\x20','help','339960sbanmv','Preflight\x20Check','/api/v1/encodeJwt','password','True','exit','Logging\x20in','search','withSpinner','Email:','failure','maka\x20login','assign'];a77c=function(){return B;};return a77c();}const hostname=process[a77z(0x89)][a77z(0x88)]===a77z(0x9f)?a77z(0x93):a77z(0xab);function a77d(a,b){const c=a77c();return a77d=function(d,e){d=d-0x82;let f=c[d];return f;},a77d(a,b);}Command[a77z(0xb2)]({'name':'login','validOpts':[a77z(0xb1),a77z(0x9e),a77z(0x9a),a77z(0xae),a77z(0x90)],'usage':a77z(0xa6),'maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':'Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','examples':[a77z(0xa6),'maka\x20login\x20--email\x20<address>\x20--password\x20<password>']},async function(a,b){const A=a77z,c=Log[A(0xa3)]();try{let d='';b[A(0xae)]&&(this[A(0xb6)][A(0x8d)](b['cacert'])?(d=b[A(0xae)],Log['notice'](A(0x99)+d)):Log[A(0xac)](A(0x97)+d));const f=await this['fsi']['getGlobalConfig']();if(f[A(0xa8)]){if(this[A(0xb6)]['isFile'](f['cert']))d=f[A(0xa8)];else{Log['error'](A(0x96)+d);return;}}Log[A(0xaa)]('Logging\x20into\x20https://'+hostname);const g={'url':A(0xb5)+hostname+A(0xb7)};b[A(0xae)]&&Object[A(0xa7)](g,{'cert':d});c[A(0xad)](A(0x9c));const {statusCode:h}=await HTTPS[A(0x8c)](g);if(h===0x198){c['failure']();throw A(0xa9);}if(h!==0xc8){c[A(0xa5)]();throw A(0xb5)+hostname+A(0x86);}c[A(0x8b)]();const i=b[A(0xb1)]?b[A(0xb1)]:await Actions[A(0xb9)](A(0xa4)),j=b[A(0x9e)]?b['password']:await Actions[A(0xb9)](A(0xaf),!![]),k=a77e['md']['sha256'][A(0xb2)]();k[A(0x98)](j);const l=k['digest']()['toHex'](),m={'hostname':hostname,'path':A(0xba),'data':{'email':i,'password':l,'hashed':!![]}};b[A(0xae)]&&Object['assign'](m,{'cert':d});c[A(0xad)](A(0xa1));const {data:n,statusCode:o}=await HTTPS[A(0xb0)](m);if(o===0x198){c[A(0xa5)]('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://'+hostname;}const p=JSON[A(0x91)](n);if(p[A(0xb4)]){const q={'hostname':hostname,'path':A(0x9d),'headers':{'x-auth-token':p['authToken']},'data':{}};b[A(0xae)]&&Object[A(0xa7)](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS[A(0xb0)](q),{token:t}=JSON['parse'](r);if(s===0x198)throw A(0xb8)+hostname;const u={'token':p,'hash':t};this['fsi'][A(0x8f)](u);}else{c[A(0xa5)]();throw p;}c['success']();}catch(v){c['failure'](),console[A(0xac)](v),process[A(0xa0)](0x0);}});
1
+ const a77y=a77d;(function(a,b){const w=a77d,c=a();while(!![]){try{const d=parseInt(w(0xf4))/0x1*(parseInt(w(0xf8))/0x2)+-parseInt(w(0xe4))/0x3*(-parseInt(w(0xde))/0x4)+-parseInt(w(0xcf))/0x5+parseInt(w(0xd5))/0x6+-parseInt(w(0xd8))/0x7+parseInt(w(0xda))/0x8*(-parseInt(w(0xef))/0x9)+parseInt(w(0xd9))/0xa*(-parseInt(w(0xf6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0x652a7));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(0xfa)]()[x(0xc8)]('(((.+)+)+)+$')[x(0xfa)]()[x(0xcc)](a77a)[x(0xc8)](x(0xce));});a77a();import a77e from'node-forge';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';function a77c(){const A=['sha256','withSpinner','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','www.maka-cli.com','513sxSmGJ','maka\x20login','/api/v1/status','header','env','1JLHKDS','parse','11uhqByD','help','988360dcQlNw','Using\x20CA\x20Cert\x20','toString','error','Preflight\x20Check','search','start','success','True','constructor','password','(((.+)+)+)+$','2911005aPqOxL','Logging\x20in','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','create','email','update','4953390uGlnnN','authToken','cert','1615803ZrkvJE','2567340OYNbeb','55736oVWWQb','exit','ask','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','12OipvZp','localhost','isFile','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','login','setGlobalConfig','561513xVWjAP','https://','assign','post','cacert','failure','fsi'];a77c=function(){return A;};return a77c();}function a77d(a,b){const c=a77c();return a77d=function(d,e){d=d-0xc6;let f=c[d];return f;},a77d(a,b);}const hostname=process[a77y(0xf3)]['MAKA_DEV']===a77y(0xcb)?a77y(0xdf):a77y(0xee);Command['create']({'name':a77y(0xe2),'validOpts':['email','password',a77y(0xf7),'cacert','debug'],'usage':'maka\x20login','maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a77y(0xd1),'examples':[a77y(0xf0),a77y(0xe1)]},async function(a,b){const z=a77y,c=Log[z(0xec)]();try{let d='';b[z(0xe8)]&&(this[z(0xea)][z(0xe0)](b[z(0xe8)])?(d=b['cacert'],Log['notice'](z(0xf9)+d)):Log[z(0xc6)]('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+d));const f=await this['fsi']['getGlobalConfig']();if(f['cert']){if(this[z(0xea)]['isFile'](f[z(0xd7)]))d=f[z(0xd7)];else{Log['error'](z(0xed)+d);return;}}Log[z(0xf2)]('Logging\x20into\x20https://'+hostname);const g={'url':'https://'+hostname+z(0xf1)};b['cacert']&&Object['assign'](g,{'cert':d});c[z(0xc9)](z(0xc7));const {statusCode:h}=await HTTPS['get'](g);if(h===0x198){c[z(0xe9)]();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}if(h!==0xc8){c[z(0xe9)]();throw z(0xe5)+hostname+'\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli';}c[z(0xca)]();const i=b['email']?b[z(0xd3)]:await Actions['ask']('Email:'),j=b[z(0xcd)]?b[z(0xcd)]:await Actions[z(0xdc)]('Password:\x20',!![]),k=a77e['md'][z(0xeb)][z(0xd2)]();k[z(0xd4)](j);const l=k['digest']()['toHex'](),m={'hostname':hostname,'path':'/api/v1/login','data':{'email':i,'password':l,'hashed':!![]}};b[z(0xe8)]&&Object['assign'](m,{'cert':d});c['start'](z(0xd0));const {data:n,statusCode:o}=await HTTPS[z(0xe7)](m);if(o===0x198){c[z(0xe9)]('\x0a');throw z(0xdd)+hostname;}const p=JSON[z(0xf5)](n);if(p[z(0xd6)]){const q={'hostname':hostname,'path':'/api/v1/encodeJwt','headers':{'x-auth-token':p[z(0xd6)]},'data':{}};b['cacert']&&Object[z(0xe6)](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS['post'](q),{token:t}=JSON[z(0xf5)](r);if(s===0x198)throw z(0xdd)+hostname;const u={'token':p,'hash':t};this[z(0xea)][z(0xe3)](u);}else{c[z(0xe9)]();throw p;}c[z(0xca)]();}catch(v){c[z(0xe9)](),console[z(0xc6)](v),process[z(0xdb)](0x0);}});
@@ -1 +1 @@
1
- const a78o=a78d;(function(a,b){const l=a78d,c=a();while(!![]){try{const d=-parseInt(l(0xa6))/0x1+-parseInt(l(0x96))/0x2+-parseInt(l(0xac))/0x3+parseInt(l(0xbd))/0x4+-parseInt(l(0x9c))/0x5*(-parseInt(l(0xa3))/0x6)+-parseInt(l(0xb6))/0x7+parseInt(l(0xb8))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x657a7));function a78c(){const q=['setGlobalConfig','toString','get','constructor','432XbXNWr','withSpinner','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','332194RnAGBL','isFile','fsi','https://','header','token','1381818buXkmE','cert','notice','start','cacert','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','apply','Preflight\x20Check','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','search','3731448UYHAlS','Logging\x20out','13976032BXUGRj','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','maka\x20logout','post','success','1126792wCZFkT','/api/v1/logoutAll','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','MAKA_DEV','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','failure','1051870eYsNDv','(((.+)+)+)+$','assign','error','authToken','create','16580EEFTHG','Logging\x20out\x20of\x20https://','Using\x20CA\x20Cert\x20'];a78c=function(){return q;};return a78c();}const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a78d;if(c){const e=c[m(0xb2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const n=a78d;return a78a[n(0xa0)]()[n(0xb5)]('(((.+)+)+)+$')[n(0xa0)]()[n(0xa2)](a78a)['search'](n(0x97));});a78a();function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x91;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';const hostname=process['env'][a78o(0x93)]==='True'?'localhost':'www.maka-cli.com';Command[a78o(0x9b)]({'name':'logout','validOpts':['cacert'],'usage':a78o(0xba),'maxArgLength':0x2,'shortDesc':a78o(0xb9),'disableAuthCheck':!![],'examples':[a78o(0xba)]},async function(a,b){const p=a78o,c=Log[p(0xa4)]();try{let d='';b[p(0xb0)]&&(this[p(0xa8)][p(0xa7)](b[p(0xb0)])?(d=b[p(0xb0)],Log[p(0xae)](p(0x9e)+d)):Log[p(0x99)](p(0x92)+d));const f=await this[p(0xa8)]['getGlobalConfig']();if(f[p(0xad)]){if(this[p(0xa8)]['isFile'](f['cert']))d=f['cert'];else{c[p(0x95)]();throw Log[p(0x99)](p(0x94)+d);}}Log[p(0xaa)](p(0x9d)+hostname);const g={'url':p(0xa9)+hostname+'/api/v1/status'};b[p(0xb0)]&&Object[p(0x98)](g,{'cert':d});c['start'](p(0xb3));const {statusCode:h}=await HTTPS[p(0xa1)](g);if(h===0x198){c[p(0x95)]();throw p(0xb1);}c['success']();if(h!==0xc8){c['failure']();throw p(0xa5);}if(!f?.[p(0xab)]?.[p(0x9a)])throw Log[p(0x99)](p(0xb4));c[p(0xaf)](p(0xb7));const i={'hostname':hostname,'path':p(0x91),'data':{},'headers':{'x-auth-token':f['token'][p(0x9a)]}};b['cacert']&&Object[p(0x98)](i,{'cert':d});const {statusCode:j}=await HTTPS[p(0xbb)](i);if(j===0x198){c[p(0x95)]('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}this['fsi'][p(0x9f)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[p(0xbc)]();}catch(k){k&&console['error'](k),process['exit'](0x0);}});
1
+ const a78o=a78d;(function(a,b){const l=a78d,c=a();while(!![]){try{const d=-parseInt(l(0x1a4))/0x1*(-parseInt(l(0x19d))/0x2)+parseInt(l(0x188))/0x3*(-parseInt(l(0x198))/0x4)+parseInt(l(0x1a8))/0x5+-parseInt(l(0x185))/0x6+parseInt(l(0x182))/0x7*(-parseInt(l(0x189))/0x8)+-parseInt(l(0x1a7))/0x9+-parseInt(l(0x1a9))/0xa*(-parseInt(l(0x19c))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0xd7b40));const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a78d;if(c){const e=c[m(0x19f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const n=a78d;return a78a[n(0x1a0)]()['search']('(((.+)+)+)+$')[n(0x1a0)]()['constructor'](a78a)[n(0x18a)](n(0x187));});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(0x186)][a78o(0x1a1)]===a78o(0x190)?'localhost':'www.maka-cli.com';function a78c(){const q=['5353090qBLTln','980RDQNzj','success','start','header','35QiAUHs','withSpinner','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','7376562NkPuPP','env','(((.+)+)+)+$','6UVNTcl','2721896qpFUvX','search','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','Preflight\x20Check','get','failure','True','token','error','isFile','maka\x20logout','getGlobalConfig','/api/v1/logoutAll','https://','1084376JopGtg','exit','assign','cert','355366UIfsIp','6LewMTr','Using\x20CA\x20Cert\x20','apply','toString','MAKA_DEV','cacert','Logging\x20out','388932TduTnm','fsi','authToken','9423738gBLUFU'];a78c=function(){return q;};return a78c();}function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x182;let f=c[d];return f;},a78d(a,b);}Command['create']({'name':'logout','validOpts':[a78o(0x1a2)],'usage':a78o(0x194),'maxArgLength':0x2,'shortDesc':'Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','disableAuthCheck':!![],'examples':[a78o(0x194)]},async function(a,b){const p=a78o,c=Log[p(0x183)]();try{let d='';b[p(0x1a2)]&&(this[p(0x1a5)][p(0x193)](b[p(0x1a2)])?(d=b[p(0x1a2)],Log['notice'](p(0x19e)+d)):Log[p(0x192)]('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+d));const f=await this[p(0x1a5)][p(0x195)]();if(f[p(0x19b)]){if(this[p(0x1a5)]['isFile'](f[p(0x19b)]))d=f['cert'];else{c[p(0x18f)]();throw Log[p(0x192)](p(0x184)+d);}}Log[p(0x1ac)]('Logging\x20out\x20of\x20https://'+hostname);const g={'url':p(0x197)+hostname+'/api/v1/status'};b[p(0x1a2)]&&Object['assign'](g,{'cert':d});c[p(0x1ab)](p(0x18d));const {statusCode:h}=await HTTPS[p(0x18e)](g);if(h===0x198){c[p(0x18f)]();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}c[p(0x1aa)]();if(h!==0xc8){c['failure']();throw p(0x18b);}if(!f?.[p(0x191)]?.['authToken'])throw Log[p(0x192)]('Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?');c['start'](p(0x1a3));const i={'hostname':hostname,'path':p(0x196),'data':{},'headers':{'x-auth-token':f[p(0x191)][p(0x1a6)]}};b[p(0x1a2)]&&Object[p(0x19a)](i,{'cert':d});const {statusCode:j}=await HTTPS['post'](i);if(j===0x198){c['failure']('\x0a');throw p(0x18c);}this['fsi']['setGlobalConfig']({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[p(0x1aa)]();}catch(k){k&&console[p(0x192)](k),process[p(0x199)](0x0);}});
@@ -1 +1 @@
1
- const a79m=a79d;(function(a,b){const j=a79d,c=a();while(!![]){try{const d=-parseInt(j(0x89))/0x1*(-parseInt(j(0x87))/0x2)+-parseInt(j(0x83))/0x3+parseInt(j(0x8c))/0x4+parseInt(j(0x7b))/0x5+parseInt(j(0x80))/0x6*(parseInt(j(0x8b))/0x7)+parseInt(j(0x7d))/0x8*(-parseInt(j(0x84))/0x9)+parseInt(j(0x88))/0xa*(-parseInt(j(0x8e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x80f7e));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a79d;if(c){const e=c[k(0x73)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const l=a79d;return a79a[l(0x79)]()[l(0x78)]('(((.+)+)+)+$')[l(0x79)]()[l(0x74)](a79a)[l(0x78)](l(0x75));});a79a();import a79e from'fs';function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x72;let f=c[d];return f;},a79d(a,b);}import a79f from'path';import{Command}from'../command.js';function a79c(){const o=['4108664EimKAt','env','132KPEtBl','ssh.json','maka\x20logs\x20--env\x20dev','apply','constructor','(((.+)+)+)+$','pm2\x20logs','maka\x20logs','search','toString','error','4975425GmeFtH','assign','660248nIoxhG','logs','sshSync','61650piFMfw','join','maka\x20logs\x20--env\x20staging','46257FNnjMC','45NIfbxb','log','parse','1792520tuFuMK','1900590vEFOoy','1YcOmvZ','fsi','217ImXvwx'];a79c=function(){return o;};return a79c();}import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';Command['create']({'name':a79m(0x7e),'aliases':['l',a79m(0x85)],'usage':a79m(0x77),'requiredOpts':[a79m(0x8d)],'mustBeInMakaProject':!![],'validOpts':['verbose'],'shortDesc':'View\x20the\x20PM2\x20logs','isPro':!![],'examples':[a79m(0x72),a79m(0x82),'maka\x20l\x20-e\x20p']},function(a,b){const n=a79m;try{const c=n(0x76),d=this[n(0x8a)]['getAppConfigPath'](b[n(0x8d)]),f=a79f[n(0x81)](d,n(0x8f)),g=a79e['readFileSync'](f),h=JSON[n(0x86)](g[n(0x79)]());Object[n(0x7c)](h,{'env':d}),SSH[n(0x7f)](c,h,{'tty':!![],'verbose':!![]});}catch(i){Log[n(0x7a)](i);}});
1
+ const a79m=a79d;(function(a,b){const j=a79d,c=a();while(!![]){try{const d=-parseInt(j(0x85))/0x1+-parseInt(j(0x7a))/0x2+-parseInt(j(0x7f))/0x3+-parseInt(j(0x80))/0x4*(-parseInt(j(0x6d))/0x5)+parseInt(j(0x84))/0x6+-parseInt(j(0x87))/0x7+parseInt(j(0x6f))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0xbc471));function a79c(){const o=['pm2\x20logs','2051648vMcKlQ','logs','constructor','parse','maka\x20logs\x20--env\x20staging','2941971yJvRxS','4419248DkpvHh','maka\x20logs\x20--env\x20dev','env','search','1270326pHPgtE','350035QSIKaJ','apply','1058218dEPWCL','5UNEGPr','create','15698736fKygLq','ssh.json','View\x20the\x20PM2\x20logs','join','(((.+)+)+)+$','verbose','readFileSync','getAppConfigPath','toString','error'];a79c=function(){return o;};return a79c();}const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a79d;if(c){const e=c[k(0x86)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const l=a79d;return a79a[l(0x77)]()[l(0x83)](l(0x73))[l(0x77)]()[l(0x7c)](a79a)[l(0x83)](l(0x73));});a79a();import a79e from'fs';import a79f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x6d;let f=c[d];return f;},a79d(a,b);}import{Log}from'../tools/log/log.class.js';Command[a79m(0x6e)]({'name':a79m(0x7b),'aliases':['l','log'],'usage':'maka\x20logs','requiredOpts':[a79m(0x82)],'mustBeInMakaProject':!![],'validOpts':[a79m(0x74)],'shortDesc':a79m(0x71),'isPro':!![],'examples':[a79m(0x81),a79m(0x7e),'maka\x20l\x20-e\x20p']},function(a,b){const n=a79m;try{const c=n(0x79),d=this['fsi'][n(0x76)](b[n(0x82)]),f=a79f[n(0x72)](d,n(0x70)),g=a79e[n(0x75)](f),h=JSON[n(0x7d)](g[n(0x77)]());Object['assign'](h,{'env':d}),SSH['sshSync'](c,h,{'tty':!![],'verbose':!![]});}catch(i){Log[n(0x78)](i);}});
@@ -1 +1 @@
1
- const a80h=a80d;(function(a,b){const f=a80d,c=a();while(!![]){try{const d=parseInt(f(0x1ad))/0x1*(parseInt(f(0x1b4))/0x2)+-parseInt(f(0x1be))/0x3*(parseInt(f(0x1b7))/0x4)+parseInt(f(0x1b5))/0x5*(-parseInt(f(0x1b9))/0x6)+parseInt(f(0x1bf))/0x7*(-parseInt(f(0x1ab))/0x8)+-parseInt(f(0x1b1))/0x9+parseInt(f(0x1bc))/0xa+parseInt(f(0x1ba))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0x75197));const a80b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){const g=a80d;return a80a[g(0x1b8)]()['search'](g(0x1bb))[g(0x1b8)]()[g(0x1b6)](a80a)[g(0x1aa)]('(((.+)+)+)+$');});a80a();function a80c(){const j=['(((.+)+)+)+$','2454580RLUWJE','maka','3GpfBlq','3297lqNCxf','search','664SRIYKP','processAndRunCommand','4726LBxiCO','maka\x20install\x20meteor','maka\x20create\x20Todo','maka\x20<command>\x20[<args>]\x20[<opts>]','1772559wzdfdQ','splice','\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','116DxpQIu','5cLVTim','constructor','630092YMfQcc','toString','2674566YlMdYZ','8793411KidZwQ'];a80c=function(){return j;};return a80c();}import{Command}from'../command.js';function a80d(a,b){const c=a80c();return a80d=function(d,e){d=d-0x1aa;let f=c[d];return f;},a80d(a,b);}const Maka=new Command({'name':a80h(0x1bd),'minArgLength':0x1,'shortDesc':'A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','validOpts':[],'usage':a80h(0x1b0),'disableAuthCheck':!![],'examples':['maka\x20--help',a80h(0x1ae),a80h(0x1af),'maka\x20run'],'description':a80h(0x1b3)},async function(a,b){const i=a80h;try{const c=a[0x0];a[i(0x1b2)](0x0,0x1),await this[i(0x1ac)](c,a,b);}catch(d){process['exit'](0x1);}});export default Maka;
1
+ const a80i=a80d;function a80c(){const k=['apply','processAndRunCommand','589842fHrLdF','(((.+)+)+)+$','maka\x20<command>\x20[<args>]\x20[<opts>]','6iniCcy','exit','331396lRUuNV','625868cLWwqH','maka\x20install\x20meteor','1068732WzrzSH','1748150ConwZD','maka\x20create\x20Todo','constructor','6gnqiEr','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','306528PVFsWS','toString','\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.-:\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20:-.\x20\x20\x20\x20\x20:--\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::\x20\x20::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::::::\x20.:::::::\x20..\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20..:.....\x20.::..::.\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20.::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::::::\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20\x20::::::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::..-::.\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::....\x20\x20::..---:..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20.\x20.:::::::\x20\x20::..::.\x20..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20\x20:.\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:--\x20\x20\x20\x20\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-:\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20:\x0a.:..::...::.\x20\x20\x20....:\x20\x20\x20.:\x20\x20\x20::\x20\x20....:.\x20\x20\x20\x20\x20\x20\x20\x20.::::\x20\x20.:\x20\x20::\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20\x20....:-\x20\x20.-..:.\x20\x20\x20....:-\x20\x20...\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20.:\x20\x20\x20:-\x20\x20.-\x20\x20.:\x20\x20.:\x20\x20\x20:-\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a.:.\x20\x20\x20:.\x20\x20\x20.:\x20\x20....\x20:.\x20.:.\x20\x20..\x20\x20....\x20:.\x20\x20\x20\x20\x20\x20\x20.....\x20\x20.:.\x20.:.\x0a\x0a\x20\x20','maka','225018yWMIFn','search'];a80c=function(){return k;};return a80c();}(function(a,b){const f=a80d,c=a();while(!![]){try{const d=parseInt(f(0x1fb))/0x1+-parseInt(f(0x1f9))/0x2*(-parseInt(f(0x1f2))/0x3)+-parseInt(f(0x1fc))/0x4+-parseInt(f(0x1e9))/0x5+-parseInt(f(0x1ec))/0x6*(-parseInt(f(0x1e8))/0x7)+parseInt(f(0x1ee))/0x8+-parseInt(f(0x1f6))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0x2ae9b));const a80b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a80d;if(c){const e=c[g(0x1f4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){const h=a80d;return a80a[h(0x1ef)]()[h(0x1f3)](h(0x1f7))[h(0x1ef)]()[h(0x1eb)](a80a)['search'](h(0x1f7));});a80a();import{Command}from'../command.js';function a80d(a,b){const c=a80c();return a80d=function(d,e){d=d-0x1e8;let f=c[d];return f;},a80d(a,b);}const Maka=new Command({'name':a80i(0x1f1),'minArgLength':0x1,'shortDesc':a80i(0x1ed),'validOpts':[],'usage':a80i(0x1f8),'disableAuthCheck':!![],'examples':['maka\x20--help',a80i(0x1fd),a80i(0x1ea),'maka\x20run'],'description':a80i(0x1f0)},async function(a,b){const j=a80i;try{const c=a[0x0];a['splice'](0x0,0x1),await this[j(0x1f5)](c,a,b);}catch(d){process[j(0x1fa)](0x1);}});export default Maka;
@@ -1 +1 @@
1
- var a81i=a81d;(function(a,b){var f=a81d,c=a();while(!![]){try{var d=parseInt(f(0x1d7))/0x1+-parseInt(f(0x1d3))/0x2*(-parseInt(f(0x1cf))/0x3)+parseInt(f(0x1c8))/0x4+-parseInt(f(0x1c5))/0x5+-parseInt(f(0x1ca))/0x6*(-parseInt(f(0x1d2))/0x7)+-parseInt(f(0x1cd))/0x8+parseInt(f(0x1cb))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0x3b5d7));var a81b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a81d;if(c){var e=c[g(0x1d4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){var h=a81d;return a81a[h(0x1d0)]()[h(0x1ce)](h(0x1d6))['toString']()[h(0x1cc)](a81a)[h(0x1ce)]('(((.+)+)+)+$');});a81a();import{Command}from'../command.js';function a81d(a,b){var c=a81c();return a81d=function(d,e){d=d-0x1c5;var f=c[d];return f;},a81d(a,b);}function a81c(){var k=['54BOnumk','667251BVwOZU','constructor','986720GOrHKd','search','374547LqbgWZ','toString','log','65086bwcYjf','6VJUbfX','apply','error','(((.+)+)+)+$','187576IgVvfA','create','2236115CBOXFI','Murrrrderrrrr','murder','375112aUBBLI','%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'];a81c=function(){return k;};return a81c();}Command[a81i(0x1d8)]({'name':a81i(0x1c7),'usage':'maka\x20murder','maxArgLength':0x1,'shortDesc':a81i(0x1c6),'validOpts':[]},async function(){var j=a81i;try{console[j(0x1d1)](j(0x1c9),'font-family:\x20monospace');}catch(a){console[j(0x1d5)](a),process['exit'](0x0);}});
1
+ var a81h=a81d;(function(a,b){var f=a81d,c=a();while(!![]){try{var d=-parseInt(f(0x7c))/0x1+-parseInt(f(0x83))/0x2+-parseInt(f(0x8a))/0x3+parseInt(f(0x7e))/0x4*(parseInt(f(0x7b))/0x5)+parseInt(f(0x8d))/0x6+parseInt(f(0x81))/0x7+-parseInt(f(0x82))/0x8*(-parseInt(f(0x8c))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0x2f3be));var a81b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){var g=a81d;return a81a[g(0x86)]()[g(0x85)](g(0x7f))[g(0x86)]()[g(0x7d)](a81a)[g(0x85)]('(((.+)+)+)+$');});function a81c(){var j=['558594aZKjie','murder','search','toString','exit','maka\x20murder','Murrrrderrrrr','1111665JbWIkm','%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','5301603PKUeaq','182982CQEfID','20nBXzqa','102679rWAGMi','constructor','194368ZxoUlu','(((.+)+)+)+$','create','924483jswlOu','8XojDRj'];a81c=function(){return j;};return a81c();}a81a();import{Command}from'../command.js';function a81d(a,b){var c=a81c();return a81d=function(d,e){d=d-0x7b;var f=c[d];return f;},a81d(a,b);}Command[a81h(0x80)]({'name':a81h(0x84),'usage':a81h(0x88),'maxArgLength':0x1,'shortDesc':a81h(0x89),'validOpts':[]},async function(){var i=a81h;try{console['log'](i(0x8b),'font-family:\x20monospace');}catch(a){console['error'](a),process[i(0x87)](0x0);}});
@@ -1 +1 @@
1
- const a82p=a82d;function a82c(){const r=['development','genSSC','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','search','toString','getMakaProjectConfig','13379VKrtrJ','maka\x20proxy','5vGrvBD','genCSR','fsi','1107996byORop','58RLywcS','2157858NLXuiU','listenPort','maka\x20proxy\x20--target-host\x20http://192.168.1.20','proxy','targetHost','1217412NCmNry','targetPort','551637cxoIPI','utf8','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','processAndRunGenerator','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','appName','join','help','mkKeysDir','(((.+)+)+)+$','getAppConfigPath','apply','1336870JwfLqd','sslconfig','listen','readFileSync','.key','.crt','=>\x20SSL\x20Proxy\x20forwarding\x20','.csr','1547496gKzrbe','9oTuhQh','isFile'];a82c=function(){return r;};return a82c();}(function(a,b){const m=a82d,c=a();while(!![]){try{const d=-parseInt(m(0x68))/0x1*(-parseInt(m(0x6e))/0x2)+parseInt(m(0x76))/0x3+parseInt(m(0x6d))/0x4*(parseInt(m(0x6a))/0x5)+-parseInt(m(0x6f))/0x6+-parseInt(m(0x74))/0x7+-parseInt(m(0x8a))/0x8+parseInt(m(0x8b))/0x9*(parseInt(m(0x82))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x3e648));function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x67;let f=c[d];return f;},a82d(a,b);}const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a82d;if(c){const e=c[n(0x81)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const o=a82d;return a82a[o(0x91)]()[o(0x90)](o(0x7f))[o(0x91)]()['constructor'](a82a)['search'](o(0x7f));});a82a();import a82e from'fs';import a82f from'path';import a82g from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a82h from'../generators/maka.gen.js';Command['create']({'name':a82p(0x72),'usage':a82p(0x69),'mustBeInMakaProject':!![],'validOpts':[a82p(0x7d),'targetPort',a82p(0x70),a82p(0x73)],'maxArgLength':0x1,'shortDesc':a82p(0x78),'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(0x69),a82p(0x7a),a82p(0x71)]},async function(a,b){const q=a82p,c=this[q(0x6c)][q(0x67)](),d=q(0x8d),e=this[q(0x6c)][q(0x80)](d),f=this['fsi'][q(0x7e)]({'configPath':e}),g=b[q(0x75)]?Number(b['targetPort']):0xbb8,h=b[q(0x70)]?Number(b[q(0x70)]):0xd73,i=b[q(0x73)]?b[q(0x73)]:'localhost',j=a82f[q(0x7c)](f,c[q(0x7b)]+'.key'),k=a82f[q(0x7c)](f,c[q(0x7b)]+q(0x87));(!this[q(0x6c)][q(0x8c)](j)||!this[q(0x6c)][q(0x8c)](k))&&(await a82h[q(0x79)](q(0x83),[],{'env':d}),SSL[q(0x6b)]({'keyName':c[q(0x7b)]+q(0x86),'csrName':c[q(0x7b)]+q(0x89),'cwd':f}),SSL[q(0x8e)]({'keyName':c[q(0x7b)]+'.key','crtName':c[q(0x7b)]+q(0x87),'cwd':f}));if(g===h){Log['error'](q(0x8f));throw new UsageError();}const l={'ssl':{'key':a82e[q(0x85)](j,q(0x77)),'cert':a82e[q(0x85)](k,q(0x77))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a82g['createProxyServer'](l)[q(0x84)](Number(h)),Log['bright'](q(0x88)+h+'\x20to\x20'+g);});
1
+ const a82o=a82d;function a82c(){const q=['\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','search','listenPort','7764IBaejG','fsi','localhost','processAndRunGenerator','18ZgtMWI','maka\x20proxy','40UkvTHK','targetHost','.key','2291436BpglMO','join','utf8','mkKeysDir','getMakaProjectConfig','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','bright','648172KPOhgY','listen','genSSC','142PPZKyS','=>\x20SSL\x20Proxy\x20forwarding\x20','4GKCkGZ','isFile','(((.+)+)+)+$','.csr','79648Jephqs','926635mHWycV','appName','targetPort','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','constructor','error','genCSR','sslconfig','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','create','3928298FWVWQa','readFileSync','2105528qixLOw','development','.crt','toString'];a82c=function(){return q;};return a82c();}(function(a,b){const m=a82d,c=a();while(!![]){try{const d=-parseInt(m(0x1b6))/0x1+-parseInt(m(0x1b0))/0x2*(parseInt(m(0x19d))/0x3)+-parseInt(m(0x1b2))/0x4*(parseInt(m(0x1b7))/0x5)+-parseInt(m(0x1a1))/0x6*(parseInt(m(0x1ad))/0x7)+-parseInt(m(0x1c3))/0x8+-parseInt(m(0x1a6))/0x9+parseInt(m(0x1a3))/0xa*(parseInt(m(0x1c1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x2cf66));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const n=a82d;return a82a[n(0x199)]()[n(0x19b)](n(0x1b4))['toString']()[n(0x1bb)](a82a)[n(0x19b)]('(((.+)+)+)+$');});a82a();import a82e from'fs';import a82f from'path';import a82g from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x199;let f=c[d];return f;},a82d(a,b);}import a82h from'../generators/maka.gen.js';Command[a82o(0x1c0)]({'name':'proxy','usage':a82o(0x1a2),'mustBeInMakaProject':!![],'validOpts':['help',a82o(0x1b9),a82o(0x19c),a82o(0x1a4)],'maxArgLength':0x1,'shortDesc':a82o(0x1bf),'description':a82o(0x19a),'examples':['maka\x20proxy',a82o(0x1ab),'maka\x20proxy\x20--target-host\x20http://192.168.1.20']},async function(a,b){const p=a82o,c=this[p(0x19e)][p(0x1aa)](),d=p(0x1c4),e=this[p(0x19e)]['getAppConfigPath'](d),f=this[p(0x19e)][p(0x1a9)]({'configPath':e}),g=b[p(0x1b9)]?Number(b[p(0x1b9)]):0xbb8,h=b[p(0x19c)]?Number(b[p(0x19c)]):0xd73,i=b[p(0x1a4)]?b[p(0x1a4)]:p(0x19f),j=a82f[p(0x1a7)](f,c[p(0x1b8)]+p(0x1a5)),k=a82f[p(0x1a7)](f,c[p(0x1b8)]+p(0x1c5));(!this[p(0x19e)][p(0x1b3)](j)||!this[p(0x19e)]['isFile'](k))&&(await a82h[p(0x1a0)](p(0x1be),[],{'env':d}),SSL[p(0x1bd)]({'keyName':c[p(0x1b8)]+p(0x1a5),'csrName':c[p(0x1b8)]+p(0x1b5),'cwd':f}),SSL[p(0x1af)]({'keyName':c[p(0x1b8)]+p(0x1a5),'crtName':c[p(0x1b8)]+p(0x1c5),'cwd':f}));if(g===h){Log[p(0x1bc)](p(0x1ba));throw new UsageError();}const l={'ssl':{'key':a82e[p(0x1c2)](j,p(0x1a8)),'cert':a82e['readFileSync'](k,p(0x1a8))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a82g['createProxyServer'](l)[p(0x1ae)](Number(h)),Log[p(0x1ac)](p(0x1b1)+h+'\x20to\x20'+g);});
@@ -1 +1 @@
1
- const a83q=a83d;(function(a,b){const n=a83d,c=a();while(!![]){try{const d=parseInt(n(0xe1))/0x1*(-parseInt(n(0xf8))/0x2)+-parseInt(n(0xf9))/0x3+parseInt(n(0xf7))/0x4+-parseInt(n(0xdb))/0x5*(-parseInt(n(0x105))/0x6)+parseInt(n(0xf4))/0x7*(parseInt(n(0x100))/0x8)+-parseInt(n(0xf5))/0x9*(parseInt(n(0x103))/0xa)+-parseInt(n(0xf0))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0x66931));const a83b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a83d;if(c){const e=c[o(0xef)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){const p=a83d;return a83a[p(0xdf)]()[p(0xeb)](p(0xff))[p(0xdf)]()[p(0xfd)](a83a)[p(0xeb)]('(((.+)+)+)+$');});a83a();import a83e from'fs';function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0xda;let f=c[d];return f;},a83d(a,b);}import a83f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';function a83c(){const s=['ses.json','existsSync','error','toString','maka\x20reconfig\x20--env\x20prod','163198ECbLiv','Checking\x20remote\x20host\x20availability','\x0a\x20\x20If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x0a\x20\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.\x0a\x20\x20','getAppConfigPath','join','ping','pm2\x20delete\x20all','ssh','_keys','ssh.json','search','~/ses.json','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','uname\x20-a','apply','4865036GQgkTE','exit','fsi','~/pm2.config.js','5383NliKWs','9NBgdlO','scp','680152OSgSwV','2KPDlez','163236QhBpaY','success','notice','env','constructor','pm2.config.js','(((.+)+)+)+$','4640xoxsfo','sshSync','~/settings.json','1128020YKVmez','Remote\x20host\x20connection\x20successful','692130XnaKMc','maka\x20reconfig','25DTJduN'];a83c=function(){return s;};return a83c();}Command['create']({'name':'reconfig','validOpts':[''],'requiredOpts':[a83q(0xfc)],'mustBeInMakaProject':!![],'usage':a83q(0xda),'isPro':!![],'shortDesc':'Reconfigure\x20your\x20deployed\x20applications','description':a83q(0xe3),'examples':[a83q(0xe0)]},async function(a,b){const r=a83q;try{const c=this[r(0xf2)][r(0xe4)](b['env']),d=a83f[r(0xe5)](c,r(0xea)),f=a83e['readFileSync'](d)['toString'](),g=JSON['parse'](f);Object['assign'](g,{'env':c}),Log[r(0xfb)](r(0xe2));const h=SSH[r(0xe6)](r(0xee),g);if(!h)throw r(0xed);if(h)Log[r(0xfa)](r(0x104));const i=a83f[r(0xe5)](c,r(0xe9),r(0xdc));if(a83e[r(0xdd)](i)){const l={'source':i,'dest':r(0xec),'verbose':!![]};SSH[r(0xf6)](l,{...g});}const j=a83f[r(0xe5)](c,r(0xfe));SSH[r(0xf6)]({'source':j,'dest':r(0xf3),'verbose':!![]},{...g});const k=a83f[r(0xe5)](c,'settings.json');SSH[r(0xf6)]({'source':k,'dest':r(0x102),'verbose':!![]},{...g}),SSH[r(0x101)](r(0xe7),g),await SSH[r(0xe8)]('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',{...g},{'verbose':!![]});}catch(m){console[r(0xde)](m),process[r(0xf1)](0x0);}});
1
+ function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0x1c2;let f=c[d];return f;},a83d(a,b);}const a83q=a83d;(function(a,b){const n=a83d,c=a();while(!![]){try{const d=parseInt(n(0x1d3))/0x1*(-parseInt(n(0x1e3))/0x2)+-parseInt(n(0x1d1))/0x3*(-parseInt(n(0x1ec))/0x4)+parseInt(n(0x1cb))/0x5+-parseInt(n(0x1c7))/0x6+parseInt(n(0x1d6))/0x7*(parseInt(n(0x1d4))/0x8)+parseInt(n(0x1de))/0x9*(parseInt(n(0x1e1))/0xa)+-parseInt(n(0x1e0))/0xb*(parseInt(n(0x1e5))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0xe6025));const a83b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a83d;if(c){const e=c[o(0x1ea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){const p=a83d;return a83a[p(0x1dc)]()[p(0x1d2)](p(0x1dd))[p(0x1dc)]()[p(0x1c5)](a83a)[p(0x1d2)]('(((.+)+)+)+$');});a83a();import a83e from'fs';import a83f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';function a83c(){const s=['6513186egVoqz','join','parse','~/pm2.config.js','8801160KFmAAf','Remote\x20host\x20connection\x20successful','_keys','ses.json','getAppConfigPath','~/settings.json','181341DMahwl','search','511679HdSMgc','144BAuMqt','success','63133NXvhXR','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','fsi','maka\x20reconfig\x20--env\x20prod','assign','~/ses.json','toString','(((.+)+)+)+$','7345341bZSSYf','exit','418ikGwaU','10BkXLNP','env','4OftBcK','Checking\x20remote\x20host\x20availability','35004bgixXu','ssh','uname\x20-a','ping','ssh.json','apply','maka\x20reconfig','28UhqNzR','existsSync','scp','pm2.config.js','settings.json','constructor','sshSync'];a83c=function(){return s;};return a83c();}Command['create']({'name':'reconfig','validOpts':[''],'requiredOpts':[a83q(0x1e2)],'mustBeInMakaProject':!![],'usage':a83q(0x1eb),'isPro':!![],'shortDesc':'Reconfigure\x20your\x20deployed\x20applications','description':'\x0a\x20\x20If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x0a\x20\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.\x0a\x20\x20','examples':[a83q(0x1d9)]},async function(a,b){const r=a83q;try{const c=this[r(0x1d8)][r(0x1cf)](b[r(0x1e2)]),d=a83f[r(0x1c8)](c,r(0x1e9)),f=a83e['readFileSync'](d)[r(0x1dc)](),g=JSON[r(0x1c9)](f);Object[r(0x1da)](g,{'env':c}),Log['notice'](r(0x1e4));const h=SSH[r(0x1e8)](r(0x1e7),g);if(!h)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(h)Log[r(0x1d5)](r(0x1cc));const i=a83f[r(0x1c8)](c,r(0x1cd),r(0x1ce));if(a83e[r(0x1ed)](i)){const l={'source':i,'dest':r(0x1db),'verbose':!![]};SSH[r(0x1c2)](l,{...g});}const j=a83f[r(0x1c8)](c,r(0x1c3));SSH['scp']({'source':j,'dest':r(0x1ca),'verbose':!![]},{...g});const k=a83f[r(0x1c8)](c,r(0x1c4));SSH[r(0x1c2)]({'source':k,'dest':r(0x1d0),'verbose':!![]},{...g}),SSH[r(0x1c6)]('pm2\x20delete\x20all',g),await SSH[r(0x1e6)](r(0x1d7),{...g},{'verbose':!![]});}catch(m){console['error'](m),process[r(0x1df)](0x0);}});
@@ -1 +1 @@
1
- function a84d(a,b){var c=a84c();return a84d=function(d,e){d=d-0x177;var f=c[d];return f;},a84d(a,b);}(function(a,b){var f=a84d,c=a();while(!![]){try{var d=parseInt(f(0x183))/0x1+-parseInt(f(0x17e))/0x2*(parseInt(f(0x17a))/0x3)+-parseInt(f(0x177))/0x4+parseInt(f(0x17f))/0x5*(parseInt(f(0x182))/0x6)+parseInt(f(0x17c))/0x7+-parseInt(f(0x179))/0x8*(-parseInt(f(0x178))/0x9)+-parseInt(f(0x17d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x6b7a1));var a84b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a84d;if(c){var e=c[g(0x185)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){var h=a84d;return a84a[h(0x180)]()[h(0x184)](h(0x17b))['toString']()[h(0x181)](a84a)[h(0x184)](h(0x17b));});function a84c(){var i=['1386249YesyYv','(((.+)+)+)+$','5659311XwVyhS','7930730veGYYY','2QrsnUt','1790CEuZZH','toString','constructor','9282oGffeR','434553ikUfDH','search','apply','2371936wSiHmw','4423617ksVyTN','8sGpMEt'];a84c=function(){return i;};return a84c();}a84a();import'./run.command.js';import'./docker.sub.cmd.js';
1
+ function a84c(){var i=['636372BefpmD','7530QPARcY','1187HNuEuC','48529puJaao','2943uwuVvY','906ZMGXRK','4lAnwSw','search','14020YtfHox','55CZXFqy','820kUsnSD','770973VkrhEy','toString','8ZTLcWG','1095141ObRzfR','apply','2660rylChf','(((.+)+)+)+$'];a84c=function(){return i;};return a84c();}function a84d(a,b){var c=a84c();return a84d=function(d,e){d=d-0x101;var f=c[d];return f;},a84d(a,b);}(function(a,b){var f=a84d,c=a();while(!![]){try{var d=-parseInt(f(0x101))/0x1*(-parseInt(f(0x109))/0x2)+-parseInt(f(0x10d))/0x3*(parseInt(f(0x105))/0x4)+-parseInt(f(0x107))/0x5*(parseInt(f(0x104))/0x6)+parseInt(f(0x10a))/0x7*(-parseInt(f(0x10c))/0x8)+parseInt(f(0x103))/0x9*(parseInt(f(0x112))/0xa)+parseInt(f(0x108))/0xb*(-parseInt(f(0x111))/0xc)+parseInt(f(0x102))/0xd*(parseInt(f(0x10f))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x43f9a));var a84b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a84d;if(c){var e=c[g(0x10e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){var h=a84d;return a84a[h(0x10b)]()[h(0x106)](h(0x110))['toString']()['constructor'](a84a)[h(0x106)](h(0x110));});a84a();import'./run.command.js';import'./docker.sub.cmd.js';
@@ -1 +1 @@
1
- function a85c(){const o=['toString','3SHgNTn','\x20up\x20--remove-orphans','constructor','docker','inherit','appName','354110XcdTCF','1660568oizUpY','\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','8KFdbHR','pm2.config.js','1268090djOJZr','fsi','apply','createFile','create','230ChWQbN','join','config/docker-compose.yaml','(((.+)+)+)+$','1761249jenFmz','3841560CglODd','docker-compose\x20--project-directory\x20','notice','search','3170040MyLVGP','exit','maka\x20run\x20docker','794haDgHH','Docker\x20Compose\x20Path:\x20','http://localhost','11ddpYao'];a85c=function(){return o;};return a85c();}const a85m=a85d;(function(a,b){const j=a85d,c=a();while(!![]){try{const d=parseInt(j(0x136))/0x1*(-parseInt(j(0x142))/0x2)+-parseInt(j(0x147))/0x3*(-parseInt(j(0x14e))/0x4)+-parseInt(j(0x14d))/0x5+-parseInt(j(0x13f))/0x6+parseInt(j(0x13a))/0x7*(parseInt(j(0x150))/0x8)+parseInt(j(0x13b))/0x9+parseInt(j(0x152))/0xa*(-parseInt(j(0x145))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0x43754));const a85b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a85d;if(c){const e=c[k(0x154)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){const l=a85d;return a85a[l(0x146)]()[l(0x13e)](l(0x139))[l(0x146)]()[l(0x149)](a85a)[l(0x13e)](l(0x139));});function a85d(a,b){const c=a85c();return a85d=function(d,e){d=d-0x135;let f=c[d];return f;},a85d(a,b);}a85a();import a85e from'./run.command.js';import{execSync}from'child_process';import a85f from'path';import a85g from'fs';import a85h from'open';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a85m(0x135)]({'name':a85m(0x14a),'aliases':['d'],'shortDesc':'Run\x20your\x20application\x20in\x20a\x20Docker\x20container','description':a85m(0x14f),'usage':a85m(0x141),'isPro':!![],'validOpts':['']},async function(){const n=a85m;try{const a=this[n(0x153)]['getMakaProjectConfig'](),b=this[n(0x153)]['getAppConfigPath']('docker'),c=a85f[n(0x137)](b,'docker-compose.yaml'),d=a85f[n(0x137)](b,n(0x151));Log['notice']('PM2\x20Config\x20File:\x20'+d),Log[n(0x13d)](n(0x143)+c);if(!a85g['existsSync'](c)){const f={'app':a[n(0x14c)],'appFileCase':paramCase(a[n(0x14c)])},g=this[n(0x153)]['templateContent']({'srcPath':n(0x138),'context':f})+'\x0a';this[n(0x153)][n(0x155)]({'filePath':c,'data':g});}try{await a85h(n(0x144));}catch(h){}execSync(n(0x13c)+b+n(0x148),{'stdio':n(0x14b)});}catch(i){process[n(0x140)](0x1);}},a85e);
1
+ const a85m=a85d;(function(a,b){const j=a85d,c=a();while(!![]){try{const d=-parseInt(j(0x10f))/0x1+parseInt(j(0x115))/0x2*(-parseInt(j(0x114))/0x3)+parseInt(j(0x107))/0x4+parseInt(j(0x11a))/0x5*(parseInt(j(0x112))/0x6)+parseInt(j(0x126))/0x7*(-parseInt(j(0x103))/0x8)+-parseInt(j(0x11c))/0x9+parseInt(j(0x113))/0xa*(parseInt(j(0x106))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0xb2f60));function a85c(){const o=['templateContent','1864795yftDuz','config/docker-compose.yaml','11887515ORpJLN','toString','PM2\x20Config\x20File:\x20','exit','inherit','docker','\x20up\x20--remove-orphans','docker-compose\x20--project-directory\x20','existsSync','apply','1715YaZGoE','createFile','44984qHTzDL','create','http://localhost','2706yUOIiN','396820HALNMC','docker-compose.yaml','notice','maka\x20run\x20docker','getMakaProjectConfig','fsi','appName','join','1202006QQjrCo','search','Docker\x20Compose\x20Path:\x20','12dysNwr','204890wyyKLQ','3755751OtIRMH','2BFkoDc','(((.+)+)+)+$','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','getAppConfigPath'];a85c=function(){return o;};return a85c();}const a85b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a85d;if(c){const e=c[k(0x125)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){const l=a85d;return a85a[l(0x11d)]()[l(0x110)](l(0x116))['toString']()['constructor'](a85a)[l(0x110)](l(0x116));});a85a();import a85e from'./run.command.js';import{execSync}from'child_process';import a85f from'path';import a85g from'fs';import a85h from'open';import{Log}from'../../tools/log/log.class.js';function a85d(a,b){const c=a85c();return a85d=function(d,e){d=d-0x102;let f=c[d];return f;},a85d(a,b);}import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a85m(0x104)]({'name':a85m(0x121),'aliases':['d'],'shortDesc':a85m(0x117),'description':'\x0a\x20\x20Run\x20your\x20application\x20in\x20a\x20Docker\x20container.\x20\x20Docker\x20Desktop\x20or\x20Colmia\x20is\x20required.\x0a\x0a\x20\x20Colima\x20is\x20a\x20great\x20alternative\x20to\x20Docker\x20Desktop,\x20and\x20it\x20is\x20free!\x0a\x20\x20Colima:\x20https://github.com/abiosoft/colima\x0a\x0a\x20\x20A\x20docker-compose.yml\x20file\x20(location\x20defaulted\x20to\x20the\x20\x22config/docker\x22\x20folder)\x0a\x20\x20is\x20used\x20to\x20startup\x20mongo\x20and\x20load\x20the\x20built\x20image\x27\x0a\x20\x20','usage':a85m(0x10a),'isPro':!![],'validOpts':['']},async function(){const n=a85m;try{const a=this[n(0x10c)][n(0x10b)](),b=this[n(0x10c)][n(0x118)](n(0x121)),c=a85f[n(0x10e)](b,n(0x108)),d=a85f['join'](b,'pm2.config.js');Log[n(0x109)](n(0x11e)+d),Log[n(0x109)](n(0x111)+c);if(!a85g[n(0x124)](c)){const f={'app':a[n(0x10d)],'appFileCase':paramCase(a[n(0x10d)])},g=this[n(0x10c)][n(0x119)]({'srcPath':n(0x11b),'context':f})+'\x0a';this[n(0x10c)][n(0x102)]({'filePath':c,'data':g});}try{await a85h(n(0x105));}catch(h){}execSync(n(0x123)+b+n(0x122),{'stdio':n(0x120)});}catch(i){process[n(0x11f)](0x1);}},a85e);
@@ -1 +1 @@
1
- const a86s=a86d;(function(a,b){const p=a86d,c=a();while(!![]){try{const d=-parseInt(p(0x128))/0x1*(parseInt(p(0x134))/0x2)+-parseInt(p(0x143))/0x3+parseInt(p(0x129))/0x4*(parseInt(p(0x155))/0x5)+-parseInt(p(0x144))/0x6+-parseInt(p(0x164))/0x7*(parseInt(p(0x159))/0x8)+parseInt(p(0x148))/0x9*(parseInt(p(0x13d))/0xa)+parseInt(p(0x12f))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0xeb5e3));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(0x163)](q(0x158))[q(0x137)]()[q(0x157)](a86a)[q(0x163)]('(((.+)+)+)+$');});a86a();import a86e from'path';import a86f from'fs';function a86c(){const v=['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)','18eQbewQ','concat','Cannot\x20find\x20Node\x20Environment\x20File:\x20','extraPackages','config','exit','checkMeteorPackage','create','getAppConfigPath','docker','.meteor','cordova-build','web.browser.legacy','596770eVNjLA','settings','constructor','(((.+)+)+)+$','5996744ncwrZa','process.env','ios','isDirectory','env','mobileServer','excludeArchs','--production','compareMakaToLatest','http://localhost:','search','7vosTiB','fsi','split','join','Node\x20Env\x20Config:\x20','splice','4ddrEqe','44fwxHKP','length','invokeMeteorCommand','android','local','allowIncompatibleUpdate','20827334mXwjSr','isFile','--settings','Run\x20your\x20Meteor\x20application','inspect','354790QaJvVG','boolean','settings.json','toString','slice','port','verbose','push','notice','5517030vaXbsF','app','--exclude-archs','production','rawLogs','warn','593547tBPpsS','10131630ELSYbf','filter','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'];a86c=function(){return v;};return a86c();}import a86g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0x127;let f=c[d];return f;},a86d(a,b);}import{Log}from'../../tools/log/log.class.js';import a86h from'open';const syncSource=function(a){const r=a86d;a86f['openSync'](a,'r'),a86g[r(0x14c)]({'path':a});},Run=Command[a86s(0x14f)]({'name':'run','mustBeInMakaProject':!![],'shortDesc':a86s(0x132),'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(0x15d),a86s(0x151),a86s(0x141),a86s(0x139),a86s(0x133),'mobileServer',a86s(0x13a),a86s(0x12e),a86s(0x14b),'x','excludeArchs',a86s(0x140),'ci']},async function(a,b){const t=a86s;try{await this['fsi'][t(0x14e)]('autoupdate',{'shouldInstall':!![]});const c=a[0x0];if(c===t(0x15b)){const l=this['fsi']['findProjectDirectory'](),m=a86e[t(0x167)](l,t(0x13e),t(0x152),t(0x12d),t(0x153));this[t(0x165)][t(0x15c)](m)&&await rimraf(m);}!b[t(0x15f)]&&!b['x']&&(a=a[t(0x149)]([t(0x13f),t(0x154)]));if(b['mobileServer']&&typeof b[t(0x15e)]===t(0x135))throw t(0x147);await this[t(0x165)][t(0x161)]();const d=b[t(0x15d)]?b['env']:'development',f=this[t(0x165)][t(0x150)](d),g=a86e[t(0x167)](f,t(0x15a));let h=a86e['join'](f,t(0x136));b['settings']?h=b[t(0x156)]:h=a86e[t(0x167)](f,t(0x136));if(this[t(0x165)][t(0x130)](g)&&!b[t(0x151)])Log['notice'](t(0x168)+g),syncSource(g);else!b['docker']&&Log['warn'](t(0x14a)+g);this['fsi'][t(0x130)](h)?(Log[t(0x13c)]('Meteor\x20Settings:\x20'+h),a=a[t(0x149)]([t(0x131),h])):Log[t(0x142)](t(0x146)+h);const i=f[t(0x166)](a86e['sep']),j=i[i[t(0x12a)]-0x1];j===t(0x140)&&a[t(0x13b)](t(0x160));const k=process['argv'][t(0x138)](0x2)[t(0x145)](n=>n!=='run')[t(0x145)](n=>n!==a[0x0]);k['forEach']((n,o)=>{const u=t;n==='--env'&&k[u(0x127)](o,0x2),n==='-e'&&k[u(0x127)](o,0x2);});try{c!==t(0x15b)&&c!==t(0x12c)&&await a86h(t(0x162)+(b['port']||0xbb8));}catch(n){}this[t(0x165)][t(0x12b)]('run',a['concat'](k));}catch(o){Log['error'](o),process[t(0x14d)](0x1);}});export default Run;
1
+ function a86c(){const v=['production','port','797OoLSQx','process.env','length','--production','openSync','concat','constructor','20734JvhBqr','invokeMeteorCommand','isFile','filter','autoupdate','974268IcNDEP','--settings','checkMeteorPackage','\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','214eehQBK','info','boolean','notice','Cannot\x20find\x20Node\x20Environment\x20file,\x20creating:\x20','fsi','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','8hzOFFl','inspect','create','1543041ajUrcA','app','toString','findProjectDirectory','3174660QVyubR','http://localhost:','createFile','(((.+)+)+)+$','env','allowIncompatibleUpdate','Node\x20Env\x20Config:\x20','rawLogs','splice','480XAOjEq','development','join','exit','web.browser.legacy','1278510ZTIndh','--env','split','--exclude-archs','isDirectory','slice','run','350217QdYOkU','getAppConfigPath','error','Meteor\x20Settings:\x20','mobileServer','local','Run\x20your\x20Meteor\x20application','excludeArchs','.meteor','settings','warn','forEach','config','search'];a86c=function(){return v;};return a86c();}const a86s=a86d;(function(a,b){const p=a86d,c=a();while(!![]){try{const d=-parseInt(p(0x136))/0x1*(parseInt(p(0x146))/0x2)+parseInt(p(0x126))/0x3+-parseInt(p(0x142))/0x4+parseInt(p(0x162))/0x5+parseInt(p(0x15d))/0x6*(parseInt(p(0x13d))/0x7)+parseInt(p(0x14d))/0x8*(parseInt(p(0x150))/0x9)+-parseInt(p(0x154))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0x20d8a));const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const q=a86d;return a86a[q(0x152)]()['search'](q(0x157))[q(0x152)]()[q(0x13c)](a86a)[q(0x133)](q(0x157));});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';import a86h from'open';function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0x120;let f=c[d];return f;},a86d(a,b);}const syncSource=function(a){const r=a86d;a86f[r(0x13a)](a,'r'),a86g[r(0x132)]({'path':a});},Run=Command[a86s(0x14f)]({'name':a86s(0x125),'mustBeInMakaProject':!![],'shortDesc':a86s(0x12c),'description':a86s(0x145),'validOpts':[a86s(0x158),a86s(0x15b),a86s(0x135),a86s(0x14e),a86s(0x12a),'verbose',a86s(0x159),'extraPackages','x',a86s(0x12d),'production','ci']},async function(a,b){const t=a86s;try{await this[t(0x14b)][t(0x144)](t(0x141),{'shouldInstall':!![]});const c=a[0x0];if(c==='ios'){const l=this['fsi'][t(0x153)](),m=a86e[t(0x15f)](l,t(0x151),t(0x12e),t(0x12b),'cordova-build');this['fsi'][t(0x123)](m)&&await rimraf(m);}!b[t(0x12d)]&&!b['x']&&(a=a[t(0x13b)]([t(0x122),t(0x161)]));if(b['mobileServer']&&typeof b[t(0x12a)]===t(0x148))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[t(0x158)]:t(0x15e),f=this['fsi'][t(0x127)](d),g=a86e[t(0x15f)](f,t(0x137));let h=a86e['join'](f,'settings.json');b[t(0x12f)]?h=b[t(0x12f)]:h=a86e[t(0x15f)](f,'settings.json');this[t(0x14b)][t(0x13f)](g)?(Log['notice'](t(0x15a)+g),syncSource(g)):(Log[t(0x147)](t(0x14a)+g),this['fsi'][t(0x156)]({'filePath':g,'data':''}));this[t(0x14b)][t(0x13f)](h)?(Log[t(0x149)](t(0x129)+h),a=a['concat']([t(0x143),h])):Log[t(0x130)](t(0x14c)+h);const i=f[t(0x121)](a86e['sep']),j=i[i[t(0x138)]-0x1];j===t(0x134)&&a['push'](t(0x139));const k=process['argv'][t(0x124)](0x2)[t(0x140)](n=>n!==t(0x125))[t(0x140)](n=>n!==a[0x0]);k[t(0x131)]((n,o)=>{const u=t;n===u(0x120)&&k[u(0x15c)](o,0x2),n==='-e'&&k[u(0x15c)](o,0x2);});try{c!=='ios'&&c!=='android'&&await a86h(t(0x155)+(b[t(0x135)]||0xbb8));}catch(n){}this[t(0x14b)][t(0x13e)](t(0x125),a[t(0x13b)](k));}catch(o){Log[t(0x128)](o),process[t(0x160)](0x1);}});export default Run;
@@ -1 +1 @@
1
- (function(a,b){var f=a87d,c=a();while(!![]){try{var d=-parseInt(f(0x11e))/0x1*(parseInt(f(0x11b))/0x2)+parseInt(f(0x113))/0x3+parseInt(f(0x116))/0x4*(-parseInt(f(0x11f))/0x5)+parseInt(f(0x120))/0x6*(-parseInt(f(0x11d))/0x7)+parseInt(f(0x114))/0x8+parseInt(f(0x11a))/0x9*(parseInt(f(0x115))/0xa)+parseInt(f(0x118))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0x5f8f5));function a87d(a,b){var c=a87c();return a87d=function(d,e){d=d-0x113;var f=c[d];return f;},a87d(a,b);}var a87b=(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;};}()),a87a=a87b(this,function(){var g=a87d;return a87a[g(0x11c)]()[g(0x119)](g(0x117))[g(0x11c)]()[g(0x121)](a87a)['search'](g(0x117));});a87a();import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';function a87c(){var h=['4QQTEmv','(((.+)+)+)+$','6686944gCDGGG','search','9NeLcrX','2mWZsKk','toString','7jeESnB','244055NJPBvg','2197295KiIWRZ','2043660LEtvzO','constructor','644490ReLDrg','559792fmVldw','5228290edHhQV'];a87c=function(){return h;};return a87c();}
1
+ (function(a,b){var f=a87d,c=a();while(!![]){try{var d=-parseInt(f(0xca))/0x1*(-parseInt(f(0xc7))/0x2)+parseInt(f(0xce))/0x3*(-parseInt(f(0xd5))/0x4)+-parseInt(f(0xcd))/0x5+-parseInt(f(0xc9))/0x6*(-parseInt(f(0xd2))/0x7)+-parseInt(f(0xd0))/0x8+-parseInt(f(0xcb))/0x9*(-parseInt(f(0xd4))/0xa)+-parseInt(f(0xcc))/0xb*(-parseInt(f(0xd3))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0x92ba6));function a87c(){var i=['137910mNXQWo','5nIqsLx','8730AikkCU','30272egMsfL','5346595dAWIYs','111597yrJbzH','(((.+)+)+)+$','4135112BCJwPc','search','266qGVACE','1044hGPVuZ','12310lSDpoR','68UcbPdD','205066cXjDZY','apply'];a87c=function(){return i;};return a87c();}var a87b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a87d;if(c){var e=c[g(0xc8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){var h=a87d;return a87a['toString']()[h(0xd1)](h(0xcf))['toString']()['constructor'](a87a)[h(0xd1)](h(0xcf));});a87a();function a87d(a,b){var c=a87c();return a87d=function(d,e){d=d-0xc7;var f=c[d];return f;},a87d(a,b);}import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
@@ -1 +1 @@
1
- const a88j=a88d;(function(a,b){const h=a88d,c=a();while(!![]){try{const d=parseInt(h(0xd4))/0x1+parseInt(h(0xe5))/0x2+-parseInt(h(0xd6))/0x3+parseInt(h(0xcf))/0x4*(parseInt(h(0xda))/0x5)+parseInt(h(0xdc))/0x6+-parseInt(h(0xc6))/0x7*(-parseInt(h(0xd1))/0x8)+-parseInt(h(0xcd))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0xb4283));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const i=a88d;return a88a['toString']()[i(0xdf)](i(0xc7))[i(0xc3)]()[i(0xd2)](a88a)['search']('(((.+)+)+)+$');});function a88c(){const l=['98546gWIPPb','Set\x20workspace:\x20','global-config','Could\x20not\x20find\x20directory','maka\x20set:gc\x20--workspace\x20<path>','Set\x20color\x20pallet\x20to:\x20','success','toString','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','resolve','7lWKoMx','(((.+)+)+)+$','cacert','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','Set\x20global\x20Maka-CLI\x20settings','create','isDirectory','10490571kwmLtU','\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','8DTMgNB','boolean','3540120lGIwBH','constructor','disallowInsecure','311692ooGYgg','error','304863XodIXm','help','light','setGlobalConfig','2186230hsTJWs','dark','1963146FrLocL','workspace','openai','search','fsi','allowInsecure','pallet','Set\x20allowInsecure:\x20','Set\x20OpenAI\x20Key:\x20'];a88c=function(){return l;};return a88c();}a88a();import a88e from'path';import a88f from'./set.command.js';import{Command}from'../../command.js';function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0xbe;let f=c[d];return f;},a88d(a,b);}import{Log}from'../../tools/log/log.class.js';Command[a88j(0xcb)]({'name':a88j(0xbe),'usage':'maka\x20set:global-config','aliases':['gc'],'maxOptsLength':0x3,'validOpts':[{'name':a88j(0xc8),'boolFlag':![]},{'name':a88j(0xe1),'boolFlag':!![]},{'name':a88j(0xd3),'boolFlag':!![]},{'name':a88j(0xdd),'boolFlag':![]},{'name':a88j(0xde),'boolFlag':![]},{'name':a88j(0xd7),'boolFlag':!![]},{'name':a88j(0xe2),'values':[a88j(0xd8),a88j(0xdb)]}],'shortDesc':a88j(0xca),'description':a88j(0xce),'examples':['maka\x20set:global-config\x20--cacert\x20<path>','maka\x20set:gc\x20--insecure\x20<path>',a88j(0xc0)]},async function(a,b){const k=a88j;try{if(b[k(0xc8)]){if(this['fsi']['isFile'](b[k(0xc8)]))await this[k(0xe0)][k(0xd9)]({'cert':b[k(0xc8)]}),Log[k(0xc2)]('Set\x20CA\x20Cert\x20Path:\x20'+b['cacert']);else{const c=typeof b[k(0xc8)]===k(0xd0)?k(0xc9):k(0xc4)+b[k(0xc8)];throw Log[k(0xd5)](c);}}if(b[k(0xdd)]){const d=this[k(0xe0)][k(0xcc)](b['workspace']);if(d)await this[k(0xe0)][k(0xd9)]({'workspace':a88e['resolve'](b[k(0xdd)])}),Log['success'](k(0xe6)+a88e[k(0xc5)](b[k(0xdd)]));else throw Log[k(0xd5)](k(0xbf));}b[k(0xde)]&&(await this[k(0xe0)]['setGlobalConfig']({'openai':b[k(0xde)]}),Log[k(0xc2)](k(0xe4)+b['openai']));b[k(0xe2)]&&(await this[k(0xe0)]['setGlobalConfig']({'pallet':b[k(0xe2)]}),Log[k(0xc2)](k(0xc1)+b[k(0xe2)]));if(b[k(0xe1)]){if(b[k(0xe1)]&&b[k(0xd3)])throw Log['error']('One\x20or\x20the\x20other\x20buddy');let f=b[k(0xe1)];b[k(0xd3)]&&(f=![]),await this['fsi'][k(0xd9)]({'allowInsecure':f}),Log[k(0xc2)](k(0xe3)+f);}process['exit'](0x0);}catch(g){console['error'](g),process['exit'](0x0);}},a88f);
1
+ function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x192;let f=c[d];return f;},a88d(a,b);}const a88k=a88d;(function(a,b){const h=a88d,c=a();while(!![]){try{const d=-parseInt(h(0x1c1))/0x1+parseInt(h(0x193))/0x2*(-parseInt(h(0x195))/0x3)+parseInt(h(0x197))/0x4*(-parseInt(h(0x1b3))/0x5)+parseInt(h(0x1a3))/0x6+parseInt(h(0x19c))/0x7*(-parseInt(h(0x1ae))/0x8)+-parseInt(h(0x1c2))/0x9*(-parseInt(h(0x1af))/0xa)+parseInt(h(0x1ab))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x5bd27));function a88c(){const m=['boolean','fsi','toString','437234RRlPGC','Set\x20workspace:\x20','resolve','openai','constructor','exit','maka\x20set:gc\x20--insecure\x20<path>','2398860xgRJPM','One\x20or\x20the\x20other\x20buddy','setGlobalConfig','disallowInsecure','global-config','maka\x20set:global-config','light','create','8443743pxrVpr','Could\x20not\x20find\x20directory','Set\x20CA\x20Cert\x20Path:\x20','8IgIgKk','10dtXIYi','workspace','\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','apply','502205cgsGhv','Set\x20color\x20pallet\x20to:\x20','success','isDirectory','Set\x20global\x20Maka-CLI\x20settings','maka\x20set:gc\x20--workspace\x20<path>','allowInsecure','help','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','Set\x20OpenAI\x20Key:\x20','Set\x20allowInsecure:\x20','cacert','(((.+)+)+)+$','pallet','508586jVshyu','6444927GmuitT','dark','15788nRGWJN','error','165sYntJC','search','20NMNsok','maka\x20set:global-config\x20--cacert\x20<path>'];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(0x1b2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const j=a88d;return a88a[j(0x19b)]()[j(0x196)](j(0x1bf))[j(0x19b)]()[j(0x1a0)](a88a)[j(0x196)](j(0x1bf));});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[a88k(0x1aa)]({'name':a88k(0x1a7),'usage':a88k(0x1a8),'aliases':['gc'],'maxOptsLength':0x3,'validOpts':[{'name':a88k(0x1be),'boolFlag':![]},{'name':a88k(0x1b9),'boolFlag':!![]},{'name':a88k(0x1a6),'boolFlag':!![]},{'name':'workspace','boolFlag':![]},{'name':a88k(0x19f),'boolFlag':![]},{'name':a88k(0x1ba),'boolFlag':!![]},{'name':a88k(0x1c0),'values':[a88k(0x1a9),a88k(0x192)]}],'shortDesc':a88k(0x1b7),'description':a88k(0x1b1),'examples':[a88k(0x198),a88k(0x1a2),a88k(0x1b8)]},async function(a,b){const l=a88k;try{if(b[l(0x1be)]){if(this[l(0x19a)]['isFile'](b[l(0x1be)]))await this[l(0x19a)]['setGlobalConfig']({'cert':b[l(0x1be)]}),Log[l(0x1b5)](l(0x1ad)+b[l(0x1be)]);else{const c=typeof b[l(0x1be)]===l(0x199)?l(0x1bb):'CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+b[l(0x1be)];throw Log[l(0x194)](c);}}if(b['workspace']){const d=this[l(0x19a)][l(0x1b6)](b[l(0x1b0)]);if(d)await this[l(0x19a)]['setGlobalConfig']({'workspace':a88e[l(0x19e)](b[l(0x1b0)])}),Log[l(0x1b5)](l(0x19d)+a88e['resolve'](b[l(0x1b0)]));else throw Log['error'](l(0x1ac));}b['openai']&&(await this[l(0x19a)][l(0x1a5)]({'openai':b[l(0x19f)]}),Log[l(0x1b5)](l(0x1bc)+b[l(0x19f)]));b[l(0x1c0)]&&(await this[l(0x19a)][l(0x1a5)]({'pallet':b[l(0x1c0)]}),Log[l(0x1b5)](l(0x1b4)+b['pallet']));if(b[l(0x1b9)]){if(b['allowInsecure']&&b[l(0x1a6)])throw Log[l(0x194)](l(0x1a4));let f=b[l(0x1b9)];b[l(0x1a6)]&&(f=![]),await this[l(0x19a)]['setGlobalConfig']({'allowInsecure':f}),Log[l(0x1b5)](l(0x1bd)+f);}process[l(0x1a1)](0x0);}catch(g){console[l(0x194)](g),process[l(0x1a1)](0x0);}},a88f);
@@ -1 +1 @@
1
- var a89i=a89d;(function(a,b){var f=a89d,c=a();while(!![]){try{var d=-parseInt(f(0x1a9))/0x1*(-parseInt(f(0x1ab))/0x2)+-parseInt(f(0x19d))/0x3*(parseInt(f(0x1a6))/0x4)+-parseInt(f(0x1ad))/0x5+parseInt(f(0x1ae))/0x6+parseInt(f(0x1a2))/0x7+parseInt(f(0x1a1))/0x8+-parseInt(f(0x19c))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0xf27fb));function a89c(){var k=['67324WDIeVK','search','(((.+)+)+)+$','1Ljtpkh','notice','3535838gWUvOo','constructor','2658835UEaalB','8417376PqYKUW','16662159HyutrX','285zHjXgZ','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','local-config','toString','10271984MylrZK','3643675rShUza','apply','maka\x20set:local-config','Sorry,\x20not\x20implemented\x20yet'];a89c=function(){return k;};return a89c();}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(0x1a0)]()[h(0x1a7)]('(((.+)+)+)+$')[h(0x1a0)]()[h(0x1ac)](a89a)[h(0x1a7)](h(0x1a8));});a89a();import a89e from'./set.command.js';import{Command}from'../../command.js';function a89d(a,b){var c=a89c();return a89d=function(d,e){d=d-0x19c;var f=c[d];return f;},a89d(a,b);}import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a89i(0x19f),'usage':a89i(0x1a4),'examples':[],'aliases':['lc'],'mustBeInMakaProject':!![],'shortDesc':'Set\x20local\x20maka\x20app\x20settings','validOpts':[],'description':a89i(0x19e)},async function(){var j=a89i;Log[j(0x1aa)](j(0x1a5));},a89e);
1
+ var a89i=a89d;(function(a,b){var f=a89d,c=a();while(!![]){try{var d=-parseInt(f(0x12b))/0x1+parseInt(f(0x129))/0x2*(parseInt(f(0x12f))/0x3)+parseInt(f(0x12c))/0x4+-parseInt(f(0x128))/0x5+parseInt(f(0x12d))/0x6+parseInt(f(0x131))/0x7+parseInt(f(0x134))/0x8*(-parseInt(f(0x136))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x9ad42));var a89b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a89d;if(c){var e=c[g(0x12e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){var h=a89d;return a89a['toString']()[h(0x133)]('(((.+)+)+)+$')[h(0x130)]()[h(0x132)](a89a)[h(0x133)](h(0x138));});a89a();import a89e from'./set.command.js';function a89d(a,b){var c=a89c();return a89d=function(d,e){d=d-0x128;var f=c[d];return f;},a89d(a,b);}function a89c(){var k=['constructor','search','136dPWqbp','notice','541521bUucYR','maka\x20set:local-config','(((.+)+)+)+$','2393085NXvyHW','473752fdFtyY','create','106932tYAAQt','4747528pXpZjo','2897874Ddelck','apply','6LtbWUK','toString','692909hXUZva'];a89c=function(){return k;};return a89c();}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a89i(0x12a)]({'name':'local-config','usage':a89i(0x137),'examples':[],'aliases':['lc'],'mustBeInMakaProject':!![],'shortDesc':'Set\x20local\x20maka\x20app\x20settings','validOpts':[],'description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20'},async function(){var j=a89i;Log[j(0x135)]('Sorry,\x20not\x20implemented\x20yet');},a89e);
@@ -1 +1 @@
1
- const a90i=a90d;(function(a,b){const f=a90d,c=a();while(!![]){try{const d=parseInt(f(0x1ac))/0x1*(parseInt(f(0x1a5))/0x2)+parseInt(f(0x19d))/0x3*(-parseInt(f(0x1a0))/0x4)+parseInt(f(0x1a2))/0x5*(parseInt(f(0x19e))/0x6)+parseInt(f(0x19c))/0x7*(parseInt(f(0x1ab))/0x8)+parseInt(f(0x1a9))/0x9*(-parseInt(f(0x1ae))/0xa)+parseInt(f(0x1aa))/0xb+-parseInt(f(0x1a4))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0xcb866));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a90d;if(c){const e=c[g(0x19b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const h=a90d;return a90a[h(0x1a3)]()['search']('(((.+)+)+)+$')['toString']()[h(0x1a7)](a90a)[h(0x1b0)]('(((.+)+)+)+$');});a90a();function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x19b;let f=c[d];return f;},a90d(a,b);}import{Command}from'../../command.js';const SetCommand=Command[a90i(0x1a6)]({'name':a90i(0x1a8),'usage':'maka\x20set:<sub-command>','shortDesc':a90i(0x19f),'description':a90i(0x1af),'validOpts':[]},async function(a,b){const j=a90i,c=a[0x0],d=this[j(0x1ad)](c);d&&this[j(0x1a1)](c,a,b);});function a90c(){const k=['8POKmtR','runSubCommand','564040ABvmYn','toString','13069032crwRNL','835570nQcNCa','create','constructor','set','108UQgDdb','16613531OspgWO','8pkuzPI','2ifWRgv','findSubCommand','1129430RIYxvb','\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','search','apply','9725807bclQtB','2208786DZbsTN','54WmyfvR','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally'];a90c=function(){return k;};return a90c();}export default SetCommand;
1
+ const a90i=a90d;(function(a,b){const f=a90d,c=a();while(!![]){try{const d=parseInt(f(0xb9))/0x1+parseInt(f(0xb3))/0x2+-parseInt(f(0xb8))/0x3+parseInt(f(0xb1))/0x4+-parseInt(f(0xbd))/0x5*(-parseInt(f(0xb6))/0x6)+-parseInt(f(0xbb))/0x7+parseInt(f(0xb5))/0x8*(-parseInt(f(0xb2))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0x8b51d));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a90d;if(c){const e=c[g(0xbc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const h=a90d;return a90a[h(0xbe)]()[h(0xb7)](h(0xc1))['toString']()[h(0xc0)](a90a)[h(0xb7)](h(0xc1));});function a90c(){const k=['3231255IvYkJD','891602uMBJzu','create','5396153ZfaBcd','apply','2427405ydvzxx','toString','runSubCommand','constructor','(((.+)+)+)+$','findSubCommand','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','1865548cXqJla','45702ugGFYE','2165894rmzdWn','set','800ESLAnF','6YIXyWP','search'];a90c=function(){return k;};return a90c();}a90a();import{Command}from'../../command.js';const SetCommand=Command[a90i(0xba)]({'name':a90i(0xb4),'usage':'maka\x20set:<sub-command>','shortDesc':a90i(0xb0),'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(0xc2)](c);d&&this[j(0xbf)](c,a,b);});function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0xb0;let f=c[d];return f;},a90d(a,b);}export default SetCommand;
@@ -1 +1 @@
1
- const a91m=a91d;function a91c(){const o=['maka\x20ssh\x20--env\x20dev','join','144640XrtZzQ','toString','(((.+)+)+)+$','33607GgMrqi','verbose','error','readFileSync','apply','fsi','env','455736INIhVN','6024771EEuLgh','99459LdjNzz','8fciEQy','parse','1430436gWlUPA','create','exit','736014nDlFJj','getAppConfigPath','240EZLgYy','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','ssh','search','ssh.json','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.'];a91c=function(){return o;};return a91c();}(function(a,b){const j=a91d,c=a();while(!![]){try{const d=-parseInt(j(0x93))/0x1+-parseInt(j(0x99))/0x2+parseInt(j(0x91))/0x3+-parseInt(j(0x96))/0x4+parseInt(j(0x87))/0x5+parseInt(j(0x9b))/0x6*(parseInt(j(0x8a))/0x7)+parseInt(j(0x94))/0x8*(parseInt(j(0x92))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0x35088));const a91b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a91d;if(c){const e=c[k(0x8e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){const l=a91d;return a91a[l(0x88)]()[l(0x82)](l(0x89))['toString']()['constructor'](a91a)['search'](l(0x89));});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';function a91d(a,b){const c=a91c();return a91d=function(d,e){d=d-0x82;let f=c[d];return f;},a91d(a,b);}Command[a91m(0x97)]({'name':a91m(0x9d),'usage':'maka\x20ssh\x20<command>','mustBeInMakaProject':!![],'requiredOpts':[a91m(0x90)],'validOpts':[a91m(0x90),a91m(0x8b)],'isPro':!![],'shortDesc':a91m(0x84),'examples':[a91m(0x85),'maka\x20ssh\x20--env\x20staging','maka\x20ssh\x20--env\x20prod',a91m(0x9c),'maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22']},async function(a,b){const n=a91m;try{const c=this[n(0x8f)][n(0x9a)](b[n(0x90)]);let d='';a['length']>0x0&&(d=a[0x0]);const f=a91f[n(0x86)](c,n(0x83)),g=a91e[n(0x8d)](f)[n(0x88)](),h=JSON[n(0x95)](g);Object['assign'](h,{'env':c}),SSH['sshSync'](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b[n(0x8b)]});}catch(i){Log[n(0x8c)](i),process[n(0x98)](0x1);}});
1
+ const a91m=a91d;function a91d(a,b){const c=a91c();return a91d=function(d,e){d=d-0xac;let f=c[d];return f;},a91d(a,b);}(function(a,b){const j=a91d,c=a();while(!![]){try{const d=-parseInt(j(0xca))/0x1+parseInt(j(0xc9))/0x2+parseInt(j(0xc0))/0x3*(parseInt(j(0xac))/0x4)+parseInt(j(0xc8))/0x5+parseInt(j(0xc4))/0x6+parseInt(j(0xad))/0x7*(-parseInt(j(0xae))/0x8)+-parseInt(j(0xb7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0x60846));const a91b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a91d;if(c){const e=c[k(0xba)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){const l=a91d;return a91a[l(0xbb)]()[l(0xc3)](l(0xb4))['toString']()[l(0xb6)](a91a)[l(0xc3)](l(0xb4));});a91a();import a91e from'fs';import a91f from'path';import{Command}from'../command.js';function a91c(){const o=['580251BEERiv','ssh.json','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','search','630396NgoIEc','create','readFileSync','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','3655950fsyZNd','782472izMhOA','359661ZbPeLE','maka\x20ssh\x20--env\x20prod','12oeNtOf','11039kwUcZx','3272SiJrPC','ssh','verbose','join','parse','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','(((.+)+)+)+$','fsi','constructor','3669795MvyVJO','maka\x20ssh\x20<command>','maka\x20ssh\x20--env\x20dev','apply','toString','maka\x20ssh\x20--env\x20staging','env','length','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22'];a91c=function(){return o;};return a91c();}import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';Command[a91m(0xc5)]({'name':a91m(0xaf),'usage':a91m(0xb8),'mustBeInMakaProject':!![],'requiredOpts':[a91m(0xbd)],'validOpts':['env',a91m(0xb0)],'isPro':!![],'shortDesc':a91m(0xb3),'examples':[a91m(0xb9),a91m(0xbc),a91m(0xcb),a91m(0xc7),a91m(0xbf),a91m(0xc2)]},async function(a,b){const n=a91m;try{const c=this[n(0xb5)]['getAppConfigPath'](b[n(0xbd)]);let d='';a[n(0xbe)]>0x0&&(d=a[0x0]);const f=a91f[n(0xb1)](c,n(0xc1)),g=a91e[n(0xc6)](f)[n(0xbb)](),h=JSON[n(0xb2)](g);Object['assign'](h,{'env':c}),SSH['sshSync'](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['verbose']});}catch(i){Log['error'](i),process['exit'](0x1);}});
@@ -1 +1 @@
1
- const a92y=a92d;(function(a,b){const v=a92d,c=a();while(!![]){try{const d=-parseInt(v(0xa5))/0x1+-parseInt(v(0xb0))/0x2*(-parseInt(v(0xaa))/0x3)+-parseInt(v(0x98))/0x4*(-parseInt(v(0xae))/0x5)+-parseInt(v(0xb4))/0x6+-parseInt(v(0x8f))/0x7+-parseInt(v(0xab))/0x8*(-parseInt(v(0xb1))/0x9)+parseInt(v(0xb6))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0xe07af));const a92b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a92d;if(c){const e=c[w(0x8d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){const x=a92d;return a92a['toString']()[x(0x9d)](x(0x90))['toString']()[x(0x7a)](a92a)['search'](x(0x90));});a92a();import a92e from'fs';import a92f from'path';import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';function a92c(){const A=['uname\x20-a','sudo\x20snap\x20install\x20--classic\x20certbot','ask','readFileSync','start','New\x20CSR\x20written\x20to\x20','stringify','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','apply','env','6827576QUWhdF','(((.+)+)+)+$','.key','maka\x20ssl\x20[command]','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','mkKeysDir','generate-ssc','maka\x20ssl\x20--env\x20dev\x20generate-csr','assign','4TbkRHs','emailUpdate','parse','letsencrypt','.crt','search','\x20--email\x20','getMakaProjectConfig','letsencrypt.json','generate-csr','.csr','getAppConfigPath','Remote\x20host\x20connection\x20successful','1707885jVHlYy','domains','toString','Checking\x20remote\x20host\x20availability','genCSR','942453TEhZZM','56uTWqux','Verifying\x20Letsencrypt\x20configuration','fsi','2551595vDNoXy','ssh','6UvSsCY','2003535GgLtth','/ssh.json','create','10415556ymrELU','notice','23275730vFiGHH','domainNames','[?]\x20Domains\x20to\x20register:\x20','success','constructor','Email\x20to\x20use\x20for\x20auto-updates:\x20','existsSync','Please\x20provide\x20a\x20command.','ssl','appName','Using\x20saved\x20letsencrypt\x20config','genSSC','writeFileSync','join','email'];a92c=function(){return A;};return a92c();}import{Command}from'../command.js';function a92d(a,b){const c=a92c();return a92d=function(d,e){d=d-0x77;let f=c[d];return f;},a92d(a,b);}import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command[a92y(0xb3)]({'name':a92y(0x7e),'usage':a92y(0x92),'validOpts':[a92y(0xa6),'email'],'requiredOpts':['env'],'shortDesc':'Create\x20and\x20manage\x20your\x20SSL\x20operations.','mustBeInMakaProject':!![],'minArgLength':0x1,'isPro':!![],'examples':[a92y(0x96),a92y(0x8c),'maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process']},async function(a,b){const z=a92y,c=this[z(0xad)][z(0x9f)](),d=this[z(0xad)][z(0xa3)](b[z(0x8e)]),f=this[z(0xad)][z(0x94)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0xa1))SSL[z(0xa9)]({'keyName':c['appName']+z(0x91),'csrName':c[z(0x7f)]+z(0xa2),'cwd':f});else{if(g===z(0x95)){if(!a92e[z(0x7c)](a92f['join'](f,c['appName']+'.key')))throw'The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20'+a92f[z(0x83)](f,c[z(0x7f)]+'.key');if(!a92e[z(0x7c)](a92f[z(0x83)](f,c[z(0x7f)]+'.csr')))throw'The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20'+a92f[z(0x83)](f,c[z(0x7f)]+z(0xa2));SSL[z(0x81)]({'keyName':c['appName']+z(0x91),'crtName':c[z(0x7f)]+z(0x9c),'cwd':f}),Log['notice'](z(0x8a)+f);}else{if(g===z(0x9b)){let h=b[z(0xa6)],i=b[z(0x84)];try{const p=a92e['readFileSync'](a92f['join'](d,z(0xa0)))[z(0xa7)](),q=JSON[z(0x9a)](p);h=b['domains']?b[z(0xa6)]:q[z(0x77)],i=b[z(0x84)]?b[z(0x84)]:q[z(0x99)],(!b[z(0x84)]||!b[z(0xa6)])&&Log[z(0xb5)](z(0x80));}catch(r){}const j=JSON[z(0x9a)](a92e[z(0x88)](d+z(0xb2))[z(0xa7)]());Object[z(0x97)](j,{'env':d}),Log[z(0xb5)](z(0xa8));try{const s=SSH['ping'](z(0x85),j);if(!s)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(s)Log['success'](z(0xa4));}catch(t){Log['error'](t);return;}const k=Log['withSpinner']();k[z(0x89)](z(0xac)),SSH['ssh']('sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core',{...j}),SSH[z(0xaf)](z(0x86),{...j}),SSH['ssh']('sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot',{...j}),k[z(0x79)]();const l=h?h:await Actions['ask'](z(0x78)),m=i?i:await Actions[z(0x87)](z(0x7b));SSH[z(0xaf)](z(0x93)+l+z(0x9e)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0x8b)](n,null,0x2);a92e[z(0x82)](a92f[z(0x83)](d,z(0xa0)),o);}else throw z(0x7d);}}}catch(u){console['error'](u),process['exit'](0x0);}});
1
+ const a92y=a92d;function a92d(a,b){const c=a92c();return a92d=function(d,e){d=d-0xd9;let f=c[d];return f;},a92d(a,b);}(function(a,b){const v=a92d,c=a();while(!![]){try{const d=parseInt(v(0x111))/0x1*(-parseInt(v(0xe0))/0x2)+parseInt(v(0xf5))/0x3+-parseInt(v(0xe8))/0x4+parseInt(v(0xec))/0x5+-parseInt(v(0xfb))/0x6*(-parseInt(v(0xed))/0x7)+-parseInt(v(0xfc))/0x8+-parseInt(v(0x108))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0xad58e));const a92b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a92d;if(c){const e=c[w(0xfa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){const x=a92d;return a92a[x(0xda)]()[x(0x105)](x(0x100))[x(0xda)]()[x(0xe4)](a92a)[x(0x105)](x(0x100));});a92a();import a92e from'fs';import a92f from'path';import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';function a92c(){const A=['letsencrypt.json','.key','notice','3553336yAytvD','ssl','domains','ask','4767380ymPmlb','7QHgpYx','env','uname\x20-a','create','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','success','mkKeysDir','4053312mdVIAb','\x20--email\x20','domainNames','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','New\x20CSR\x20written\x20to\x20','apply','2490660uSFtrj','2420944PxSRPe','genCSR','Please\x20provide\x20a\x20command.','getMakaProjectConfig','(((.+)+)+)+$','appName','letsencrypt','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','search','maka\x20ssl\x20--env\x20dev\x20generate-csr','.csr','4554441dgbqeg','email','existsSync','start','[?]\x20Domains\x20to\x20register:\x20','ping','stringify','genSSC','Create\x20and\x20manage\x20your\x20SSL\x20operations.','312659yyQrMi','assign','Remote\x20host\x20connection\x20successful','fsi','exit','toString','writeFileSync','ssh','getAppConfigPath','/ssh.json','join','2SzXMah','maka\x20ssl\x20[command]','parse','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','constructor'];a92c=function(){return A;};return a92c();}import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command[a92y(0xf0)]({'name':a92y(0xe9),'usage':a92y(0xe1),'validOpts':['domains',a92y(0x109)],'requiredOpts':['env'],'shortDesc':a92y(0x110),'mustBeInMakaProject':!![],'minArgLength':0x1,'isPro':!![],'examples':[a92y(0x106),a92y(0xf8),a92y(0xf2)]},async function(a,b){const z=a92y,c=this[z(0x114)][z(0xff)](),d=this['fsi'][z(0xdd)](b[z(0xee)]),f=this['fsi'][z(0xf4)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g==='generate-csr')SSL[z(0xfd)]({'keyName':c[z(0x101)]+z(0xe6),'csrName':c[z(0x101)]+z(0x107),'cwd':f});else{if(g==='generate-ssc'){if(!a92e['existsSync'](a92f['join'](f,c['appName']+z(0xe6))))throw z(0xe3)+a92f[z(0xdf)](f,c[z(0x101)]+z(0xe6));if(!a92e[z(0x10a)](a92f[z(0xdf)](f,c[z(0x101)]+z(0x107))))throw z(0xf1)+a92f[z(0xdf)](f,c[z(0x101)]+z(0x107));SSL[z(0x10f)]({'keyName':c['appName']+'.key','crtName':c[z(0x101)]+'.crt','cwd':f}),Log[z(0xe7)](z(0xf9)+f);}else{if(g===z(0x102)){let h=b['domains'],i=b[z(0x109)];try{const p=a92e['readFileSync'](a92f['join'](d,'letsencrypt.json'))[z(0xda)](),q=JSON[z(0xe2)](p);h=b[z(0xea)]?b[z(0xea)]:q[z(0xf7)],i=b[z(0x109)]?b[z(0x109)]:q['emailUpdate'],(!b[z(0x109)]||!b['domains'])&&Log['notice']('Using\x20saved\x20letsencrypt\x20config');}catch(r){}const j=JSON[z(0xe2)](a92e['readFileSync'](d+z(0xde))[z(0xda)]());Object[z(0x112)](j,{'env':d}),Log[z(0xe7)]('Checking\x20remote\x20host\x20availability');try{const s=SSH[z(0x10d)](z(0xef),j);if(!s)throw z(0x103);if(s)Log[z(0xf3)](z(0x113));}catch(t){Log['error'](t);return;}const k=Log['withSpinner']();k[z(0x10b)]('Verifying\x20Letsencrypt\x20configuration'),SSH[z(0xdc)]('sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core',{...j}),SSH[z(0xdc)]('sudo\x20snap\x20install\x20--classic\x20certbot',{...j}),SSH[z(0xdc)]('sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot',{...j}),k[z(0xf3)]();const l=h?h:await Actions[z(0xeb)](z(0x10c)),m=i?i:await Actions['ask']('Email\x20to\x20use\x20for\x20auto-updates:\x20');SSH[z(0xdc)](z(0x104)+l+z(0xf6)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0x10e)](n,null,0x2);a92e[z(0xdb)](a92f['join'](d,z(0xe5)),o);}else throw z(0xfe);}}}catch(u){console['error'](u),process[z(0xd9)](0x0);}});
@@ -1 +1 @@
1
- const a93q=a93d;(function(a,b){const m=a93d,c=a();while(!![]){try{const d=-parseInt(m(0x217))/0x1+-parseInt(m(0x200))/0x2+parseInt(m(0x209))/0x3+-parseInt(m(0x206))/0x4*(parseInt(m(0x212))/0x5)+-parseInt(m(0x1fe))/0x6+parseInt(m(0x1da))/0x7+parseInt(m(0x1e5))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0xf1c9b));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a93d;if(c){const e=c[n(0x1ec)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const o=a93d;return a93a[o(0x208)]()[o(0x1dd)](o(0x1fa))[o(0x208)]()[o(0x213)](a93a)['search'](o(0x1fa));});function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x1d9;let f=c[d];return f;},a93d(a,b);}a93a();import a93e from'fs';import a93f from'path';import a93g from'dotenv';function a93c(){const t=['forEach','test-packages','maka\x20test\x20<opts>','mocha','13073136PcdrCc','utf8','concat','isFile','fsi','development','--full-app','apply','jasmine','testAppPath','once','config.json','parse','join','openSync','driver-package','--packages','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','argv','readFileSync','process.env','(((.+)+)+)+$','exit','engines','getAppConfigPath','6233592VNfuVt','none','1057070FXoqxH','Meteor\x20Settings:\x20','slice','error','.maka','Node\x20Env\x20Config:\x20','2548148xJZOyn','unit','toString','4821384bzKnbu','--settings','sanjo:jasmine','rawLogs','--driver-package','filter','splice','test','driver','5JeeTzC','constructor','--env','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','env','516223uLsHSi','findProjectDirectory','packages','config','3288740nDKZqD','meteortesting:mocha','Cannot\x20find\x20Node\x20Environment\x20File:\x20','search','notice','--driver','warn'];a93c=function(){return t;};return a93c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const p=a93d;a93e[p(0x1f3)](a,'r'),a93g[p(0x1d9)]({'path':a});};Command['create']({'name':a93q(0x210),'mustBeInMakaProject':!![],'validOpts':[a93q(0x1ef),a93q(0x219),a93q(0x211),'driverPackage',a93q(0x207),'env',a93q(0x20c),'port','inspect',a93q(0x1ee)],'usage':a93q(0x1e3),'shortDesc':a93q(0x1f6),'examples':[]},function(a,b){const r=a93q;try{let c=this[r(0x1e9)][r(0x1fd)](r(0x1ea));b[r(0x216)]&&(c=this[r(0x1e9)][r(0x1fd)](b[r(0x216)]));(!b[r(0x207)]||!!b[r(0x1ef)])&&(a=a[r(0x1e7)]([r(0x1eb)]));b[r(0x207)]&&delete b['unit'];let d=b[r(0x1f4)]||b[r(0x211)]||r(0x1ff);if(d===r(0x1ff)){const j=JSON[r(0x1f1)](a93e[r(0x1f8)](a93f[r(0x1f2)](this[r(0x1e9)][r(0x218)](),r(0x204),r(0x1f0)),r(0x1e6)));if(j[r(0x1fc)]['test']===r(0x1ed))d=r(0x20b);else j[r(0x1fc)][r(0x210)]===r(0x1e4)&&(d=r(0x1db));}if(d===r(0x1ff))throw r(0x215);(!b['driver-package']||!b[r(0x211)])&&(a=a['concat']([r(0x20d),d]));const f=a93f[r(0x1f2)](c,'settings.json');this[r(0x1e9)]['isFile'](f)?(Log[r(0x1de)](r(0x201)+f),a=a[r(0x1e7)]([r(0x20a),f])):Log[r(0x1e0)]('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+f);const g=a93f[r(0x1f2)](c,r(0x1f9));this['fsi'][r(0x1e8)](g)?(Log['notice'](r(0x205)+g),syncSource(g)):Log[r(0x1e0)](r(0x1dc)+g);const h=process[r(0x1f7)][r(0x202)](0x2)[r(0x20e)](k=>k!==r(0x214))[r(0x20e)](k=>k!==r(0x210))[r(0x20e)](k=>k!==a[0x0]);h[r(0x1e1)]((k,l)=>{const s=r;(k===s(0x214)||k===s(0x1df))&&h[s(0x20f)](l,0x2),k===s(0x1f5)&&h[s(0x20f)](l,0x1);});const i=b[r(0x219)]?r(0x1e2):r(0x210);this['fsi']['invokeMeteorCommand'](i,a[r(0x1e7)](h));}catch(k){console[r(0x203)](k),process[r(0x1fb)](0x0);}});
1
+ function a93c(){const t=['notice','constructor','--full-app','create','--packages','748917uSTqZX','warn','error','--settings','argv','exit','once','Node\x20Env\x20Config:\x20','development','1386128ojfaDI','invokeMeteorCommand','utf8','unit','fsi','(((.+)+)+)+$','--driver-package','driver','none','settings.json','inspect','187cTlCoo','sanjo:jasmine','8947368Yxmcbm','8rLCBNO','slice','156890ogtkBq','search','port','process.env','maka\x20test\x20<opts>','Meteor\x20Settings:\x20','toString','1273557Elixod','getAppConfigPath','config.json','openSync','forEach','env','mocha','811926BZtrGF','filter','7rCAXLv','apply','splice','test','driver-package','.maka','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','testAppPath','isFile','engines','2575eBPTfF','driverPackage','join','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','17076gzvFtf','meteortesting:mocha','--driver','concat'];a93c=function(){return t;};return a93c();}const a93q=a93d;function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x1dc;let f=c[d];return f;},a93d(a,b);}(function(a,b){const m=a93d,c=a();while(!![]){try{const d=parseInt(m(0x201))/0x1+-parseInt(m(0x20a))/0x2+parseInt(m(0x1e0))/0x3*(parseInt(m(0x218))/0x4)+-parseInt(m(0x1f3))/0x5*(parseInt(m(0x1f8))/0x6)+-parseInt(m(0x1e9))/0x7*(-parseInt(m(0x217))/0x8)+-parseInt(m(0x1e7))/0x9+parseInt(m(0x21a))/0xa*(parseInt(m(0x215))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0xb33a9));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a93d;if(c){const e=c[n(0x1ea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const o=a93d;return a93a[o(0x1df)]()[o(0x21b)](o(0x20f))['toString']()[o(0x1fd)](a93a)['search'](o(0x20f));});a93a();import a93e from'fs';import a93f from'path';import a93g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const p=a93d;a93e[p(0x1e3)](a,'r'),a93g['config']({'path':a});};Command[a93q(0x1ff)]({'name':a93q(0x1ec),'mustBeInMakaProject':!![],'validOpts':[a93q(0x207),'packages',a93q(0x211),a93q(0x1f4),'unit',a93q(0x1e5),'rawLogs',a93q(0x21c),a93q(0x214),a93q(0x1f0)],'usage':a93q(0x1dd),'shortDesc':a93q(0x1f7),'examples':[]},function(a,b){const r=a93q;try{let c=this[r(0x20e)]['getAppConfigPath'](r(0x209));b[r(0x1e5)]&&(c=this['fsi'][r(0x1e1)](b[r(0x1e5)]));(!b[r(0x20d)]||!!b[r(0x207)])&&(a=a[r(0x1fb)]([r(0x1fe)]));b[r(0x20d)]&&delete b[r(0x20d)];let d=b[r(0x1ed)]||b[r(0x211)]||r(0x212);if(d==='none'){const j=JSON['parse'](a93e['readFileSync'](a93f[r(0x1f5)](this['fsi']['findProjectDirectory'](),r(0x1ee),r(0x1e2)),r(0x20c)));if(j[r(0x1f2)][r(0x1ec)]==='jasmine')d=r(0x216);else j[r(0x1f2)][r(0x1ec)]===r(0x1e6)&&(d=r(0x1f9));}if(d===r(0x212))throw r(0x1ef);(!b[r(0x1ed)]||!b['driver'])&&(a=a[r(0x1fb)]([r(0x210),d]));const f=a93f[r(0x1f5)](c,r(0x213));this[r(0x20e)][r(0x1f1)](f)?(Log[r(0x1fc)](r(0x1de)+f),a=a[r(0x1fb)]([r(0x204),f])):Log[r(0x202)](r(0x1f6)+f);const g=a93f[r(0x1f5)](c,r(0x1dc));this[r(0x20e)][r(0x1f1)](g)?(Log[r(0x1fc)](r(0x208)+g),syncSource(g)):Log['warn']('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+g);const h=process[r(0x205)][r(0x219)](0x2)[r(0x1e8)](k=>k!=='--env')[r(0x1e8)](k=>k!==r(0x1ec))[r(0x1e8)](k=>k!==a[0x0]);h[r(0x1e4)]((k,l)=>{const s=r;(k==='--env'||k===s(0x1fa))&&h[s(0x1eb)](l,0x2),k===s(0x200)&&h['splice'](l,0x1);});const i=b['packages']?'test-packages':r(0x1ec);this[r(0x20e)][r(0x20b)](i,a[r(0x1fb)](h));}catch(k){console[r(0x203)](k),process[r(0x206)](0x0);}});
@@ -1 +1 @@
1
- const a94n=a94d;(function(a,b){const k=a94d,c=a();while(!![]){try{const d=parseInt(k(0x102))/0x1*(parseInt(k(0xeb))/0x2)+-parseInt(k(0xec))/0x3*(parseInt(k(0x104))/0x4)+-parseInt(k(0x10b))/0x5*(-parseInt(k(0xfa))/0x6)+-parseInt(k(0xe2))/0x7*(parseInt(k(0xe0))/0x8)+parseInt(k(0xe3))/0x9*(-parseInt(k(0xe7))/0xa)+-parseInt(k(0xfe))/0xb+-parseInt(k(0x106))/0xc*(-parseInt(k(0x105))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0x7649b));const a94b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a94d;if(c){const e=c[l(0x108)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){const m=a94d;return a94a['toString']()[m(0xe9)](m(0xe6))[m(0xee)]()['constructor'](a94a)[m(0xe9)](m(0xe6));});a94a();function a94d(a,b){const c=a94c();return a94d=function(d,e){d=d-0xdc;let f=c[d];return f;},a94d(a,b);}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':'4.7.9'};function a94c(){const p=['(((.+)+)+)+$','28550PCFeuD','isMakaProject','search','version','34UTzhYI','15bkglQx','notice','toString','System\x27s\x20Node\x20Version\x20','majestic','getProjectsMeteorNodeVersion','warn','platform','Project\x27s\x20Meteor\x20Node\x20Version\x20','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','win32',')\x20to\x20at\x20least\x20meteor\x27s\x20(','\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','fsi','6axvaAE','meteor','maka\x20version','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','2112176JysvzH','verbose','getProjectMeteorVersion','Maka\x20','44879MstSwz','\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','661004FYuWgz','2327WGeluW','42288YPCUyS','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','apply','N/A','exit','4674055ANgneV','replace','getGlobalMeteorVersion','\x20node\x20-v','compareMakaToLatest','3112gYvIwI','error','10801EUVNlY','711FdybtC','maka\x20v','bright'];a94c=function(){return p;};return a94c();}Command['create']({'name':a94n(0xea),'aliases':['v'],'usage':a94n(0xfc),'maxArgLength':0x1,'validOpts':[a94n(0xff)],'shortDesc':'Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','examples':[a94n(0xe4),a94n(0xfc),'maka\x20version\x20--verbose'],'description':a94n(0xf8)},async function(a,b){const o=a94n;try{const c=process[o(0xf3)]===o(0xf6)?'meteor.bat':o(0xfb);Log[o(0xf0)](o(0x101)+pjson[o(0xea)]),await this[o(0xf9)][o(0xdf)]();if(b[o(0xff)]){await this[o(0xf9)][o(0xdf)](),Log[o(0xe5)]('----------------------System----------------------------');const d=this[o(0xf9)][o(0xdd)]();Log['bright'](('System\x27s\x20Meteor\x20Version\x20'+d)[o(0xdc)]('\x0a',''));const f=execSync(c+o(0xde))['toString']()[o(0xdc)](/\r?\n|\r/,'')[o(0xdc)]('v','');Log['bright'](o(0xfd)+f);const g=execSync('node\x20-v')['toString']()[o(0xdc)](/\r?\n|\r/,'')[o(0xdc)]('v','');a94e['gt'](f,g)?(Log[o(0xf2)](o(0xef)+g),Log['warn'](o(0x107)+g+o(0xf7)+f+')')):Log[o(0xe5)](o(0xef)+g);if(this[o(0xf9)][o(0xe8)]()){Log[o(0xe5)]('----------------------Project----------------------------');const h=this[o(0xf9)][o(0x100)]();a94e['gt'](d,h)?(Log['warn']('Project\x27s\x20Meteor\x20Version\x20'+h['replace']('\x0a','')),Log[o(0xf2)]('\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20'+d+'\x22')):Log[o(0xed)](('Project\x27s\x20Meteor\x20Version\x20'+h)[o(0xdc)]('\x0a',''));const i=await this['fsi'][o(0xf1)]();i===o(0x109)?(Log[o(0xf2)](o(0xf4)+i),Log[o(0xf2)](o(0xf5))):Log['bright']('Project\x27s\x20Meteor\x20Node\x20Version\x20'+i),Log[o(0xe5)](o(0x103));}}}catch(j){console[o(0xe1)](j),process[o(0x10a)](0x0);}});
1
+ const a94m=a94d;(function(a,b){const k=a94d,c=a();while(!![]){try{const d=parseInt(k(0xda))/0x1*(-parseInt(k(0xed))/0x2)+parseInt(k(0xd8))/0x3*(-parseInt(k(0xc5))/0x4)+parseInt(k(0xd9))/0x5*(-parseInt(k(0xcb))/0x6)+parseInt(k(0xc9))/0x7*(parseInt(k(0xd7))/0x8)+parseInt(k(0xca))/0x9*(parseInt(k(0xd1))/0xa)+parseInt(k(0xcc))/0xb*(parseInt(k(0xc6))/0xc)+-parseInt(k(0xe2))/0xd*(-parseInt(k(0xde))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0xe54ca));function a94c(){const o=['Maka\x20','maka\x20version\x20--verbose','6050uIJBEt','replace','meteor.bat','fsi','Project\x27s\x20Meteor\x20Node\x20Version\x20','search','29608aRMWoQ','321WANNub','4017605YYfsYR','92162NziaPw','System\x27s\x20Node\x20Version\x20','maka\x20version','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','15667666NfBcyu','platform','N/A','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','39YChdpt','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','node\x20-v','create','warn','version','\x20node\x20-v','error','toString','\x0a\x20\x20When\x20using\x20the\x20--verbose\x20flag,\x20maka\x20will\x20also\x20check\x20the\x20version\x20of\x20the\x20system\x27s\x20meteor\x20and\x20node\x20versions\x0a\x20\x20along\x20with\x20the\x20project\x27s\x20meteor\x20and\x20node\x20versions.\x20If\x20the\x20system\x27s\x20meteor\x20version\x20is\x20greater\x20than\x20the\x0a\x20\x20project\x27s\x20meteor\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20meteor\x20version.\x20If\x20the\x20system\x27s\x20node\x0a\x20\x20version\x20is\x20greater\x20than\x20the\x20project\x27s\x20node\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20node\x20version.\x0a\x20\x20','isMakaProject','38XPwtjq','majestic','----------------------Project----------------------------',')\x20to\x20at\x20least\x20meteor\x27s\x20(','verbose','Project\x27s\x20Meteor\x20Version\x20','getProjectsMeteorNodeVersion','bright','57556yHVYdx','15564lMRlqo','getGlobalMeteorVersion','compareMakaToLatest','679DWDJkl','23211foxdNk','12DoixGn','4752NnsZOC','System\x27s\x20Meteor\x20Version\x20','notice'];a94c=function(){return o;};return a94c();}function a94d(a,b){const c=a94c();return a94d=function(d,e){d=d-0xc5;let f=c[d];return f;},a94d(a,b);}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']()['search']('(((.+)+)+)+$')[l(0xea)]()['constructor'](a94a)[l(0xd6)]('(((.+)+)+)+$');});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':'4.7.11'};Command[a94m(0xe5)]({'name':a94m(0xe7),'aliases':['v'],'usage':a94m(0xdc),'maxArgLength':0x1,'validOpts':[a94m(0xf1)],'shortDesc':a94m(0xe1),'examples':['maka\x20v',a94m(0xdc),a94m(0xd0)],'description':a94m(0xeb)},async function(a,b){const n=a94m;try{const c=process[n(0xdf)]==='win32'?n(0xd3):'meteor';Log[n(0xee)](n(0xcf)+pjson['version']),await this['fsi']['compareMakaToLatest']();if(b[n(0xf1)]){await this[n(0xd4)][n(0xc8)](),Log[n(0xf4)]('----------------------System----------------------------');const d=this['fsi'][n(0xc7)]();Log[n(0xf4)]((n(0xcd)+d)[n(0xd2)]('\x0a',''));const f=execSync(c+n(0xe8))[n(0xea)]()[n(0xd2)](/\r?\n|\r/,'')['replace']('v','');Log[n(0xf4)](n(0xe3)+f);const g=execSync(n(0xe4))[n(0xea)]()[n(0xd2)](/\r?\n|\r/,'')['replace']('v','');a94e['gt'](f,g)?(Log['warn']('System\x27s\x20Node\x20Version\x20'+g),Log[n(0xe6)](n(0xdd)+g+n(0xf0)+f+')')):Log['bright'](n(0xdb)+g);if(this[n(0xd4)][n(0xec)]()){Log[n(0xf4)](n(0xef));const h=this[n(0xd4)]['getProjectMeteorVersion']();a94e['gt'](d,h)?(Log[n(0xe6)](n(0xf2)+h[n(0xd2)]('\x0a','')),Log[n(0xe6)]('\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20'+d+'\x22')):Log[n(0xce)]((n(0xf2)+h)[n(0xd2)]('\x0a',''));const i=await this[n(0xd4)][n(0xf3)]();i===n(0xe0)?(Log['warn'](n(0xd5)+i),Log[n(0xe6)]('\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.')):Log[n(0xf4)]('Project\x27s\x20Meteor\x20Node\x20Version\x20'+i),Log['bright']('\x0a\x20To\x20get\x20the\x20mongo\x20version\x20in\x20use\x20by\x20meteor:\x0a\x201)\x20Run\x20the\x20project,\x20\x22maka\x20run\x22\x0a\x202)\x20In\x20a\x20new\x20terminal\x20open\x20the\x20mongo\x20shell,\x20\x22maka\x20mongo\x22');}}}catch(j){console[n(0xe9)](j),process['exit'](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a95d,c=a();while(!![]){try{var d=parseInt(f(0xa4))/0x1*(-parseInt(f(0xa2))/0x2)+-parseInt(f(0xad))/0x3+-parseInt(f(0xaa))/0x4+-parseInt(f(0xa7))/0x5+-parseInt(f(0xac))/0x6+parseInt(f(0xa9))/0x7*(-parseInt(f(0xa1))/0x8)+parseInt(f(0xa3))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0x6d87b));var a95b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a95d;if(c){var e=c[g(0xa8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a95a=a95b(this,function(){var h=a95d;return a95a['toString']()['search'](h(0xa5))[h(0xa6)]()['constructor'](a95a)[h(0xab)](h(0xa5));});a95a();function a95d(a,b){var c=a95c();return a95d=function(d,e){d=d-0xa1;var f=c[d];return f;},a95d(a,b);}export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}function a95c(){var i=['apply','11326oCeUNL','1108684nMohZY','search','4689294ZRDaXc','2338338FejxpO','1728znzMaX','146746AUxCLk','36581490CUlxyZ','11hCdvej','(((.+)+)+)+$','toString','3106090DCZvXm'];a95c=function(){return i;};return a95c();}
1
+ (function(a,b){var f=a95d,c=a();while(!![]){try{var d=parseInt(f(0x98))/0x1+parseInt(f(0x92))/0x2*(-parseInt(f(0x93))/0x3)+parseInt(f(0x8e))/0x4+-parseInt(f(0x8f))/0x5*(parseInt(f(0x99))/0x6)+-parseInt(f(0x97))/0x7*(parseInt(f(0x96))/0x8)+parseInt(f(0x90))/0x9*(parseInt(f(0x91))/0xa)+-parseInt(f(0x95))/0xb*(-parseInt(f(0x9b))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0x6c87b));function a95c(){var i=['826716MqAlaY','275345EDfAbO','1908117ODnFJe','20MoURbK','510912AIDROX','3ElyphI','search','2688103EVfrQl','96efPNiB','426377ArrhBo','665987kXhIJQ','12RdBtNW','toString','12BvmuNr','apply','(((.+)+)+)+$'];a95c=function(){return i;};return a95c();}var a95b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a95d;if(c){var e=c[g(0x9c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a95a=a95b(this,function(){var h=a95d;return a95a[h(0x9a)]()[h(0x94)](h(0x8d))['toString']()['constructor'](a95a)[h(0x94)](h(0x8d));});a95a();function a95d(a,b){var c=a95c();return a95d=function(d,e){d=d-0x8d;var f=c[d];return f;},a95d(a,b);}export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- function a96c(){var j=['(((.+)+)+)+$','191868qvlEEV','toString','1774167FLuZKo','5148rDMwYJ','NODE_OPTIONS','3516328ErqKnk','106314UFvpqy','apply','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','45BiwWRV','2321165cnAZds','124RXgvCB','constructor','629058sxVxzT','env','20370SlPqXK'];a96c=function(){return j;};return a96c();}var a96i=a96d;(function(a,b){var f=a96d,c=a();while(!![]){try{var d=parseInt(f(0x112))/0x1+-parseInt(f(0x110))/0x2+-parseInt(f(0x105))/0x3*(parseInt(f(0x10a))/0x4)+-parseInt(f(0x108))/0x5*(parseInt(f(0x10c))/0x6)+-parseInt(f(0x109))/0x7+parseInt(f(0x115))/0x8+-parseInt(f(0x113))/0x9*(-parseInt(f(0x10e))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0xddf7a));function a96d(a,b){var c=a96c();return a96d=function(d,e){d=d-0x105;var f=c[d];return f;},a96d(a,b);}var a96b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a96d;if(c){var e=c[g(0x106)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a96a=a96b(this,function(){var h=a96d;return a96a[h(0x111)]()['search'](h(0x10f))[h(0x111)]()[h(0x10b)](a96a)['search'](h(0x10f));});a96a(),process[a96i(0x10d)][a96i(0x114)]=a96i(0x107);import'./maka.js';
2
+ var a96h=a96d;(function(a,b){var f=a96d,c=a();while(!![]){try{var d=parseInt(f(0x9f))/0x1*(-parseInt(f(0xa9))/0x2)+-parseInt(f(0x9d))/0x3+-parseInt(f(0x9b))/0x4+parseInt(f(0x9e))/0x5*(parseInt(f(0xa6))/0x6)+parseInt(f(0xa0))/0x7*(parseInt(f(0xa8))/0x8)+-parseInt(f(0xaa))/0x9+parseInt(f(0xa1))/0xa*(parseInt(f(0xa2))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0xb4902));var a96b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a96a=a96b(this,function(){var g=a96d;return a96a[g(0xa5)]()[g(0xa3)](g(0xa7))[g(0xa5)]()[g(0xa4)](a96a)[g(0xa3)](g(0xa7));});a96a(),process['env'][a96h(0x9a)]=a96h(0x9c);function a96d(a,b){var c=a96c();return a96d=function(d,e){d=d-0x9a;var f=c[d];return f;},a96d(a,b);}function a96c(){var i=['170TjPMZj','1QXLNWn','168iHPMKw','5297350uEXBzq','55hoEQlo','search','constructor','toString','17382fDTfIM','(((.+)+)+)+$','410184eUMdTD','777766GdWVwE','5050170VcWgJT','NODE_OPTIONS','5765788RRCuDN','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','2540037zguTmY'];a96c=function(){return i;};return a96c();}import'./maka.js';