@maka/maka-cli 4.7.1 → 4.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (145) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/build/_index.js +1 -1
  20. package/bundle/obf/src/commands/build/build.js +1 -1
  21. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/create.js +1 -1
  23. package/bundle/obf/src/commands/debug.js +1 -1
  24. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  25. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  26. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/game/_index.js +1 -1
  29. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/game/play.command.js +1 -1
  31. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  66. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  67. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  68. package/bundle/obf/src/commands/generate.js +1 -1
  69. package/bundle/obf/src/commands/get/_index.js +1 -1
  70. package/bundle/obf/src/commands/get/get.command.js +1 -1
  71. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  72. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  73. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  74. package/bundle/obf/src/commands/help.js +1 -1
  75. package/bundle/obf/src/commands/install.js +1 -1
  76. package/bundle/obf/src/commands/jsdoc.js +1 -1
  77. package/bundle/obf/src/commands/lint.js +1 -1
  78. package/bundle/obf/src/commands/login.js +1 -1
  79. package/bundle/obf/src/commands/logout.js +1 -1
  80. package/bundle/obf/src/commands/logs.js +1 -1
  81. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  82. package/bundle/obf/src/commands/murder.js +1 -1
  83. package/bundle/obf/src/commands/proxy.js +1 -1
  84. package/bundle/obf/src/commands/reconfig.js +1 -1
  85. package/bundle/obf/src/commands/run/_index.js +1 -1
  86. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  87. package/bundle/obf/src/commands/run/run.command.js +1 -1
  88. package/bundle/obf/src/commands/set/_index.js +1 -1
  89. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  90. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  91. package/bundle/obf/src/commands/set/set.command.js +1 -1
  92. package/bundle/obf/src/commands/ssh.js +1 -1
  93. package/bundle/obf/src/commands/ssl.js +1 -1
  94. package/bundle/obf/src/commands/test.js +1 -1
  95. package/bundle/obf/src/commands/version.js +1 -1
  96. package/bundle/obf/src/error.js +1 -1
  97. package/bundle/obf/src/exec.js +1 -1
  98. package/bundle/obf/src/generator.js +1 -1
  99. package/bundle/obf/src/generators/_index.js +1 -1
  100. package/bundle/obf/src/generators/api.js +1 -1
  101. package/bundle/obf/src/generators/collection.js +1 -1
  102. package/bundle/obf/src/generators/component.js +1 -1
  103. package/bundle/obf/src/generators/config.js +1 -1
  104. package/bundle/obf/src/generators/dbc.js +1 -1
  105. package/bundle/obf/src/generators/dockerfile.js +1 -1
  106. package/bundle/obf/src/generators/hook.js +1 -1
  107. package/bundle/obf/src/generators/kits/_index.js +1 -1
  108. package/bundle/obf/src/generators/kits/kit.js +1 -1
  109. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  110. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  111. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  112. package/bundle/obf/src/generators/layout.js +1 -1
  113. package/bundle/obf/src/generators/maka.gen.js +1 -1
  114. package/bundle/obf/src/generators/methods.js +1 -1
  115. package/bundle/obf/src/generators/package.js +1 -1
  116. package/bundle/obf/src/generators/page.js +1 -1
  117. package/bundle/obf/src/generators/publish.js +1 -1
  118. package/bundle/obf/src/generators/route.js +1 -1
  119. package/bundle/obf/src/generators/service.js +1 -1
  120. package/bundle/obf/src/generators/services/_index.js +1 -1
  121. package/bundle/obf/src/generators/services/openssl.js +1 -1
  122. package/bundle/obf/src/generators/services/translation.js +1 -1
  123. package/bundle/obf/src/maka.js +1 -1
  124. package/bundle/obf/src/templates/meteor/template/template.css +1 -4
  125. package/bundle/obf/src/templates/meteor/template/template.css.less +1 -4
  126. package/bundle/obf/src/tool.js +1 -1
  127. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  128. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  129. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  130. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  131. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  132. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  133. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  134. package/bundle/obf/src/tools/https/https.class.js +1 -1
  135. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  136. package/bundle/obf/src/tools/log/log.class.js +1 -1
  137. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  138. package/bundle/obf/src/tools/options/options.class.js +1 -1
  139. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  140. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  141. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  142. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  143. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  144. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  145. package/package.json +1 -1
@@ -1 +1 @@
1
- const a77z=a77d;(function(a,b){const w=a77d,c=a();while(!![]){try{const d=parseInt(w(0xcc))/0x1*(-parseInt(w(0xcb))/0x2)+-parseInt(w(0xd3))/0x3+parseInt(w(0xc9))/0x4+-parseInt(w(0xbc))/0x5*(parseInt(w(0xbb))/0x6)+-parseInt(w(0xd0))/0x7+-parseInt(w(0xd1))/0x8+-parseInt(w(0xe6))/0x9*(-parseInt(w(0xc2))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0x3ed28));const a77b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a77d;if(c){const e=c[x(0xcd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){const y=a77d;return a77a['toString']()[y(0xc4)]('(((.+)+)+)+$')[y(0xb7)]()['constructor'](a77a)['search'](y(0xca));});a77a();import a77e from'node-forge';import{Command}from'../command.js';function a77d(a,b){const c=a77c();return a77d=function(d,e){d=d-0xb2;let f=c[d];return f;},a77d(a,b);}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=['post','create','2831067vKgRuo','Preflight\x20Check','setGlobalConfig','cert','ask','get','env','Logging\x20in','notice','start','success','toString','authToken','isFile','withSpinner','1014774UhJCKG','15kIzeIT','exit','True','update','password','header','60AMwIoJ','fsi','search','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','Email:','cacert','855632SdghXr','(((.+)+)+)+$','369736RbgooJ','1PnUyhb','apply','Using\x20CA\x20Cert\x20','https://','2089297Vzvlvn','3381832kBRbhv','debug','1291533PCtqsm','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','MAKA_DEV','login','error','digest','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','email','/api/v1/encodeJwt','failure','\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','getGlobalConfig','parse','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','Logging\x20into\x20https://','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','assign'];a77c=function(){return B;};return a77c();}const hostname=process[a77z(0xb2)][a77z(0xd5)]===a77z(0xbe)?'localhost':'www.maka-cli.com';Command[a77z(0xe5)]({'name':a77z(0xd6),'validOpts':[a77z(0xda),a77z(0xc0),'help',a77z(0xc8),a77z(0xd2)],'usage':'maka\x20login','maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a77z(0xe2),'examples':['maka\x20login',a77z(0xc5)]},async function(a,b){const A=a77z,c=Log[A(0xba)]();try{let d='';b[A(0xc8)]&&(this[A(0xc3)][A(0xb9)](b[A(0xc8)])?(d=b['cacert'],Log[A(0xb4)](A(0xce)+d)):Log[A(0xd7)](A(0xd9)+d));const f=await this[A(0xc3)][A(0xde)]();if(f[A(0xe9)]){if(this[A(0xc3)][A(0xb9)](f[A(0xe9)]))d=f[A(0xe9)];else{Log[A(0xd7)](A(0xd4)+d);return;}}Log[A(0xc1)](A(0xe1)+hostname);const g={'url':A(0xcf)+hostname+'/api/v1/status'};b[A(0xc8)]&&Object[A(0xe3)](g,{'cert':d});c['start'](A(0xe7));const {statusCode:h}=await HTTPS[A(0xeb)](g);if(h===0x198){c[A(0xdc)]();throw A(0xc6);}if(h!==0xc8){c[A(0xdc)]();throw A(0xcf)+hostname+A(0xdd);}c[A(0xb6)]();const i=b[A(0xda)]?b['email']:await Actions[A(0xea)](A(0xc7)),j=b['password']?b[A(0xc0)]:await Actions[A(0xea)]('Password:\x20',!![]),k=a77e['md']['sha256']['create']();k[A(0xbf)](j);const l=k[A(0xd8)]()['toHex'](),m={'hostname':hostname,'path':'/api/v1/login','data':{'email':i,'password':l,'hashed':!![]}};b[A(0xc8)]&&Object[A(0xe3)](m,{'cert':d});c[A(0xb5)](A(0xb3));const {data:n,statusCode:o}=await HTTPS[A(0xe4)](m);if(o===0x198){c[A(0xdc)]('\x0a');throw A(0xe0)+hostname;}const p=JSON['parse'](n);if(p[A(0xb8)]){const q={'hostname':hostname,'path':A(0xdb),'headers':{'x-auth-token':p[A(0xb8)]},'data':{}};b[A(0xc8)]&&Object[A(0xe3)](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS['post'](q),{token:t}=JSON[A(0xdf)](r);if(s===0x198)throw A(0xe0)+hostname;const u={'token':p,'hash':t};this['fsi'][A(0xe8)](u);}else{c[A(0xdc)]();throw p;}c[A(0xb6)]();}catch(v){c[A(0xdc)](),console[A(0xd7)](v),process[A(0xbd)](0x0);}});
1
+ const a77z=a77d;(function(a,b){const w=a77d,c=a();while(!![]){try{const d=parseInt(w(0x137))/0x1+parseInt(w(0x12f))/0x2*(-parseInt(w(0x14e))/0x3)+-parseInt(w(0x15b))/0x4*(parseInt(w(0x14d))/0x5)+parseInt(w(0x14a))/0x6+-parseInt(w(0x130))/0x7+-parseInt(w(0x162))/0x8*(parseInt(w(0x141))/0x9)+parseInt(w(0x151))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0x990fa));const a77b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a77d;if(c){const e=c[x(0x129)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){const y=a77d;return a77a[y(0x15e)]()['search'](y(0x144))[y(0x15e)]()[y(0x135)](a77a)['search']('(((.+)+)+)+$');});a77a();function a77d(a,b){const c=a77c();return a77d=function(d,e){d=d-0x128;let f=c[d];return f;},a77d(a,b);}import a77e from'node-forge';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';function a77c(){const B=['(((.+)+)+)+$','isFile','start','post','ask','help','5063448GGpoKk','email','localhost','5aTywki','5718ZxwtGN','https://','Email:','14207170tOBYZZ','\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','env','Logging\x20into\x20https://','digest','Preflight\x20Check','login','/api/v1/login','setGlobalConfig','4130860NxGbEN','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','get','toString','maka\x20login','parse','notice','53096reJCmk','fsi','apply','success','sha256','header','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','/api/v1/encodeJwt','526ywctlt','4522084RiToni','cacert','password','cert','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','constructor','MAKA_DEV','781250hIrYja','assign','error','www.maka-cli.com','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','update','withSpinner','Logging\x20in','failure','/api/v1/status','324uCIiya','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','create'];a77c=function(){return B;};return a77c();}const hostname=process[a77z(0x154)][a77z(0x136)]==='True'?a77z(0x14c):a77z(0x13a);Command[a77z(0x143)]({'name':a77z(0x158),'validOpts':['email',a77z(0x132),a77z(0x149),a77z(0x131),'debug'],'usage':a77z(0x15f),'maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a77z(0x153),'examples':['maka\x20login',a77z(0x134)]},async function(a,b){const A=a77z,c=Log[A(0x13d)]();try{let d='';b['cacert']&&(this[A(0x128)]['isFile'](b[A(0x131)])?(d=b['cacert'],Log[A(0x161)]('Using\x20CA\x20Cert\x20'+d)):Log[A(0x139)](A(0x15c)+d));const f=await this['fsi']['getGlobalConfig']();if(f[A(0x133)]){if(this[A(0x128)][A(0x145)](f[A(0x133)]))d=f[A(0x133)];else{Log[A(0x139)](A(0x142)+d);return;}}Log[A(0x12c)](A(0x155)+hostname);const g={'url':A(0x14f)+hostname+A(0x140)};b['cacert']&&Object['assign'](g,{'cert':d});c[A(0x146)](A(0x157));const {statusCode:h}=await HTTPS[A(0x15d)](g);if(h===0x198){c['failure']();throw A(0x12d);}if(h!==0xc8){c[A(0x13f)]();throw A(0x14f)+hostname+A(0x152);}c[A(0x12a)]();const i=b['email']?b[A(0x14b)]:await Actions[A(0x148)](A(0x150)),j=b[A(0x132)]?b[A(0x132)]:await Actions[A(0x148)]('Password:\x20',!![]),k=a77e['md'][A(0x12b)][A(0x143)]();k[A(0x13c)](j);const l=k[A(0x156)]()['toHex'](),m={'hostname':hostname,'path':A(0x159),'data':{'email':i,'password':l,'hashed':!![]}};b[A(0x131)]&&Object['assign'](m,{'cert':d});c[A(0x146)](A(0x13e));const {data:n,statusCode:o}=await HTTPS['post'](m);if(o===0x198){c['failure']('\x0a');throw A(0x13b)+hostname;}const p=JSON[A(0x160)](n);if(p['authToken']){const q={'hostname':hostname,'path':A(0x12e),'headers':{'x-auth-token':p['authToken']},'data':{}};b[A(0x131)]&&Object[A(0x138)](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS[A(0x147)](q),{token:t}=JSON['parse'](r);if(s===0x198)throw A(0x13b)+hostname;const u={'token':p,'hash':t};this[A(0x128)][A(0x15a)](u);}else{c['failure']();throw p;}c[A(0x12a)]();}catch(v){c[A(0x13f)](),console['error'](v),process['exit'](0x0);}});
@@ -1 +1 @@
1
- const a78n=a78d;(function(a,b){const l=a78d,c=a();while(!![]){try{const d=parseInt(l(0x15a))/0x1*(parseInt(l(0x16e))/0x2)+parseInt(l(0x14b))/0x3+parseInt(l(0x148))/0x4*(-parseInt(l(0x15e))/0x5)+-parseInt(l(0x15b))/0x6+parseInt(l(0x152))/0x7*(parseInt(l(0x16d))/0x8)+-parseInt(l(0x14c))/0x9+parseInt(l(0x166))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x557cc));const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const m=a78d;return a78a['toString']()[m(0x161)]('(((.+)+)+)+$')[m(0x164)]()[m(0x173)](a78a)[m(0x161)](m(0x15d));});a78a();function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x147;let f=c[d];return f;},a78d(a,b);}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a78c(){const p=['Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','www.maka-cli.com','error','success','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','1FMPPji','1139274eJdlxC','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','(((.+)+)+)+$','5YiUcXl','failure','localhost','search','post','cacert','toString','fsi','3900RqLJcN','header','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','create','cert','setGlobalConfig','notice','694360nFnRda','233518mvNCYu','/api/v1/status','token','True','Using\x20CA\x20Cert\x20','constructor','isFile','29432gFjczc','Preflight\x20Check','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','284751jQyskE','106677SQAzeP','start','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','maka\x20logout','getGlobalConfig','exit','28tMrWeM','withSpinner','Logging\x20out'];a78c=function(){return p;};return a78c();}import{HTTPS}from'../tools/https/https.class.js';const hostname=process['env']['MAKA_DEV']===a78n(0x171)?a78n(0x160):a78n(0x156);Command[a78n(0x169)]({'name':'logout','validOpts':['cacert'],'usage':a78n(0x14f),'maxArgLength':0x2,'shortDesc':a78n(0x14e),'disableAuthCheck':!![],'examples':[a78n(0x14f)]},async function(a,b){const o=a78n,c=Log[o(0x153)]();try{let d='';b[o(0x163)]&&(this['fsi'][o(0x147)](b['cacert'])?(d=b[o(0x163)],Log[o(0x16c)](o(0x172)+d)):Log[o(0x157)](o(0x15c)+d));const f=await this[o(0x165)][o(0x150)]();if(f[o(0x16a)]){if(this[o(0x165)][o(0x147)](f[o(0x16a)]))d=f['cert'];else{c[o(0x15f)]();throw Log[o(0x157)](o(0x14a)+d);}}Log[o(0x167)]('Logging\x20out\x20of\x20https://'+hostname);const g={'url':'https://'+hostname+o(0x16f)};b[o(0x163)]&&Object['assign'](g,{'cert':d});c[o(0x14d)](o(0x149));const {statusCode:h}=await HTTPS['get'](g);if(h===0x198){c['failure']();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}c[o(0x158)]();if(h!==0xc8){c[o(0x15f)]();throw o(0x168);}if(!f?.[o(0x170)]?.['authToken'])throw Log[o(0x157)](o(0x159));c[o(0x14d)](o(0x154));const i={'hostname':hostname,'path':'/api/v1/logoutAll','data':{},'headers':{'x-auth-token':f['token']['authToken']}};b[o(0x163)]&&Object['assign'](i,{'cert':d});const {statusCode:j}=await HTTPS[o(0x162)](i);if(j===0x198){c[o(0x15f)]('\x0a');throw o(0x155);}this[o(0x165)][o(0x16b)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c['success']();}catch(k){k&&console[o(0x157)](k),process[o(0x151)](0x0);}});
1
+ const a78o=a78d;(function(a,b){const l=a78d,c=a();while(!![]){try{const d=-parseInt(l(0x167))/0x1*(parseInt(l(0x166))/0x2)+-parseInt(l(0x150))/0x3+parseInt(l(0x15e))/0x4+parseInt(l(0x147))/0x5+-parseInt(l(0x155))/0x6+-parseInt(l(0x151))/0x7+-parseInt(l(0x15f))/0x8*(-parseInt(l(0x149))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0xe768c));function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x143;let f=c[d];return f;},a78d(a,b);}const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a78d;if(c){const e=c[m(0x158)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const n=a78d;return a78a['toString']()[n(0x16d)](n(0x163))[n(0x14a)]()[n(0x15a)](a78a)[n(0x16d)](n(0x163));});a78a();import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a78c(){const q=['getGlobalConfig','Logging\x20out','exit','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','search','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','success','Using\x20CA\x20Cert\x20','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','Preflight\x20Check','logout','token','339850BeOHiG','True','5857857ibHFRx','toString','MAKA_DEV','error','assign','Logging\x20out\x20of\x20https://','localhost','2838696NZaBEi','9088289CMWXzn','start','failure','get','2016774OSgkZx','setGlobalConfig','withSpinner','apply','/api/v1/status','constructor','isFile','/api/v1/logoutAll','fsi','7022524yfPOJR','32cYXfyd','cacert','authToken','https://','(((.+)+)+)+$','notice','env','1797106wTqVHD','1bXjHdA','post'];a78c=function(){return q;};return a78c();}import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a78o(0x165)][a78o(0x14b)]===a78o(0x148)?a78o(0x14f):'www.maka-cli.com';Command['create']({'name':a78o(0x145),'validOpts':[a78o(0x160)],'usage':'maka\x20logout','maxArgLength':0x2,'shortDesc':'Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','disableAuthCheck':!![],'examples':['maka\x20logout']},async function(a,b){const p=a78o,c=Log[p(0x157)]();try{let d='';b[p(0x160)]&&(this[p(0x15d)][p(0x15b)](b['cacert'])?(d=b['cacert'],Log[p(0x164)](p(0x171)+d)):Log[p(0x14c)](p(0x143)+d));const f=await this[p(0x15d)][p(0x169)]();if(f['cert']){if(this['fsi'][p(0x15b)](f['cert']))d=f['cert'];else{c[p(0x153)]();throw Log[p(0x14c)]('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+d);}}Log['header'](p(0x14e)+hostname);const g={'url':p(0x162)+hostname+p(0x159)};b[p(0x160)]&&Object[p(0x14d)](g,{'cert':d});c['start'](p(0x144));const {statusCode:h}=await HTTPS[p(0x154)](g);if(h===0x198){c['failure']();throw p(0x16c);}c[p(0x170)]();if(h!==0xc8){c[p(0x153)]();throw p(0x16e);}if(!f?.['token']?.[p(0x161)])throw Log['error'](p(0x16f));c[p(0x152)](p(0x16a));const i={'hostname':hostname,'path':p(0x15c),'data':{},'headers':{'x-auth-token':f[p(0x146)][p(0x161)]}};b[p(0x160)]&&Object[p(0x14d)](i,{'cert':d});const {statusCode:j}=await HTTPS[p(0x168)](i);if(j===0x198){c[p(0x153)]('\x0a');throw p(0x16c);}this[p(0x15d)][p(0x156)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[p(0x170)]();}catch(k){k&&console[p(0x14c)](k),process[p(0x16b)](0x0);}});
@@ -1 +1 @@
1
- const a79m=a79d;(function(a,b){const j=a79d,c=a();while(!![]){try{const d=-parseInt(j(0xad))/0x1*(-parseInt(j(0xa8))/0x2)+parseInt(j(0xac))/0x3+-parseInt(j(0xba))/0x4*(-parseInt(j(0xa0))/0x5)+-parseInt(j(0xb5))/0x6+parseInt(j(0xbe))/0x7*(-parseInt(j(0xa5))/0x8)+-parseInt(j(0xb3))/0x9+-parseInt(j(0xb4))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x31c0c));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a79d;if(c){const e=c[k(0xb9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const l=a79d;return a79a[l(0xab)]()[l(0xbd)](l(0xa7))[l(0xab)]()[l(0xa9)](a79a)['search']('(((.+)+)+)+$');});a79a();import a79e from'fs';import a79f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';function a79c(){const o=['parse','maka\x20l\x20-e\x20p','search','91049UmhNsQ','env','10ATuPRN','maka\x20logs','maka\x20logs\x20--env\x20dev','logs','fsi','96lYGmJZ','assign','(((.+)+)+)+$','232244WVTmMe','constructor','verbose','toString','668466GFwony','2zhoqXM','View\x20the\x20PM2\x20logs','pm2\x20logs','readFileSync','join','log','735219BtIoce','74490dnjCBM','270180kDvKWO','maka\x20logs\x20--env\x20staging','sshSync','create','apply','77952VFIKlD'];a79c=function(){return o;};return a79c();}import{Log}from'../tools/log/log.class.js';function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0xa0;let f=c[d];return f;},a79d(a,b);}Command[a79m(0xb8)]({'name':a79m(0xa3),'aliases':['l',a79m(0xb2)],'usage':a79m(0xa1),'requiredOpts':[a79m(0xbf)],'mustBeInMakaProject':!![],'validOpts':[a79m(0xaa)],'shortDesc':a79m(0xae),'isPro':!![],'examples':[a79m(0xa2),a79m(0xb6),a79m(0xbc)]},function(a,b){const n=a79m;try{const c=n(0xaf),d=this[n(0xa4)]['getAppConfigPath'](b[n(0xbf)]),f=a79f[n(0xb1)](d,'ssh.json'),g=a79e[n(0xb0)](f),h=JSON[n(0xbb)](g[n(0xab)]());Object[n(0xa6)](h,{'env':d}),SSH[n(0xb7)](c,h,{'tty':!![],'verbose':!![]});}catch(i){Log['error'](i);}});
1
+ const a79m=a79d;(function(a,b){const j=a79d,c=a();while(!![]){try{const d=-parseInt(j(0x168))/0x1+-parseInt(j(0x16a))/0x2*(parseInt(j(0x181))/0x3)+parseInt(j(0x175))/0x4*(-parseInt(j(0x174))/0x5)+-parseInt(j(0x17a))/0x6+-parseInt(j(0x17f))/0x7+-parseInt(j(0x169))/0x8+parseInt(j(0x17d))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x74d29));function a79c(){const o=['103769ENZiAz','7566112RBqTTP','189642cIVpbS','pm2\x20logs','maka\x20logs\x20--env\x20staging','toString','maka\x20l\x20-e\x20p','apply','ssh.json','maka\x20logs\x20--env\x20dev','constructor','verbose','2230VrYaKq','836pVCwHc','env','assign','getAppConfigPath','parse','1990224vVzZOM','maka\x20logs','create','24183495gMnkUn','search','492464tqMkxV','readFileSync','21IXLnPK','sshSync','logs'];a79c=function(){return o;};return a79c();}const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a79d;if(c){const e=c[k(0x16f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const l=a79d;return a79a[l(0x16d)]()['search']('(((.+)+)+)+$')[l(0x16d)]()[l(0x172)](a79a)[l(0x17e)]('(((.+)+)+)+$');});a79a();import a79e from'fs';function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x166;let f=c[d];return f;},a79d(a,b);}import a79f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';Command[a79m(0x17c)]({'name':a79m(0x167),'aliases':['l','log'],'usage':a79m(0x17b),'requiredOpts':[a79m(0x176)],'mustBeInMakaProject':!![],'validOpts':[a79m(0x173)],'shortDesc':'View\x20the\x20PM2\x20logs','isPro':!![],'examples':[a79m(0x171),a79m(0x16c),a79m(0x16e)]},function(a,b){const n=a79m;try{const c=n(0x16b),d=this['fsi'][n(0x178)](b['env']),f=a79f['join'](d,n(0x170)),g=a79e[n(0x180)](f),h=JSON[n(0x179)](g['toString']());Object[n(0x177)](h,{'env':d}),SSH[n(0x166)](c,h,{'tty':!![],'verbose':!![]});}catch(i){Log['error'](i);}});
@@ -1 +1 @@
1
- const a80i=a80d;(function(a,b){const f=a80d,c=a();while(!![]){try{const d=parseInt(f(0xe7))/0x1*(-parseInt(f(0xda))/0x2)+-parseInt(f(0xe5))/0x3*(parseInt(f(0xd1))/0x4)+-parseInt(f(0xdd))/0x5*(-parseInt(f(0xe0))/0x6)+parseInt(f(0xe3))/0x7*(parseInt(f(0xd2))/0x8)+parseInt(f(0xe2))/0x9*(parseInt(f(0xd6))/0xa)+parseInt(f(0xdf))/0xb*(-parseInt(f(0xd4))/0xc)+parseInt(f(0xe8))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0x7e9e1));const a80b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a80d;if(c){const e=c[g(0xd9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){const h=a80d;return a80a['toString']()['search']('(((.+)+)+)+$')['toString']()[h(0xde)](a80a)[h(0xe1)](h(0xd5));});a80a();import{Command}from'../command.js';function a80d(a,b){const c=a80c();return a80d=function(d,e){d=d-0xd1;let f=c[d];return f;},a80d(a,b);}const Maka=new Command({'name':a80i(0xd7),'minArgLength':0x1,'shortDesc':a80i(0xe4),'validOpts':[],'usage':'maka\x20<command>\x20[<args>]\x20[<opts>]','disableAuthCheck':!![],'examples':[a80i(0xe6),'maka\x20install\x20meteor','maka\x20create\x20Todo',a80i(0xd8)],'description':a80i(0xdc)},async function(a,b){const j=a80i;try{const c=a[0x0];a[j(0xd3)](0x0,0x1),this[j(0xdb)](c,a,b);}catch(d){process['exit'](0x1);}});function a80c(){const k=['processAndRunCommand','\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','5qFblSU','constructor','130856hhSuXS','992622JaOlAC','search','757305qjMsIS','142009hEuhTX','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','565251GHRHHE','maka\x20--help','34631GzBjYu','20521332TCPloD','8eJzeeu','72FLiZtc','splice','696clUPRT','(((.+)+)+)+$','50tQycLO','maka','maka\x20run','apply','44pmSPCd'];a80c=function(){return k;};return a80c();}export default Maka;
1
+ function a80d(a,b){const c=a80c();return a80d=function(d,e){d=d-0x115;let f=c[d];return f;},a80d(a,b);}function a80c(){const j=['maka\x20create\x20Todo','maka','toString','splice','9652734itptSZ','processAndRunCommand','6346416XAuUgb','maka\x20run','11ZBKmAR','21AhZyDR','exit','maka\x20install\x20meteor','3051910JBJNNX','maka\x20--help','\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.-:\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20:-.\x20\x20\x20\x20\x20:--\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::\x20\x20::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::::::\x20.:::::::\x20..\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20..:.....\x20.::..::.\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20.::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::::::\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20\x20::::::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::..-::.\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::....\x20\x20::..---:..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20.\x20.:::::::\x20\x20::..::.\x20..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20\x20:.\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:--\x20\x20\x20\x20\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-:\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20:\x0a.:..::...::.\x20\x20\x20....:\x20\x20\x20.:\x20\x20\x20::\x20\x20....:.\x20\x20\x20\x20\x20\x20\x20\x20.::::\x20\x20.:\x20\x20::\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20\x20....:-\x20\x20.-..:.\x20\x20\x20....:-\x20\x20...\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20.:\x20\x20\x20:-\x20\x20.-\x20\x20.:\x20\x20.:\x20\x20\x20:-\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a.:.\x20\x20\x20:.\x20\x20\x20.:\x20\x20....\x20:.\x20.:.\x20\x20..\x20\x20....\x20:.\x20\x20\x20\x20\x20\x20\x20.....\x20\x20.:.\x20.:.\x0a\x0a\x20\x20','maka\x20<command>\x20[<args>]\x20[<opts>]','207CmwnwL','99184WoSyMI','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','78aCyrby','22504MeSACL','constructor','1106492jLHPFv','search','371705htRvjs','12UnYOsv','(((.+)+)+)+$'];a80c=function(){return j;};return a80c();}const a80h=a80d;(function(a,b){const f=a80d,c=a();while(!![]){try{const d=parseInt(f(0x117))/0x1*(parseInt(f(0x11f))/0x2)+parseInt(f(0x127))/0x3*(parseInt(f(0x124))/0x4)+-parseInt(f(0x126))/0x5*(-parseInt(f(0x121))/0x6)+-parseInt(f(0x12d))/0x7+-parseInt(f(0x122))/0x8*(parseInt(f(0x11e))/0x9)+-parseInt(f(0x11a))/0xa*(parseInt(f(0x116))/0xb)+-parseInt(f(0x12f))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0xcc41d));const a80b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){const g=a80d;return a80a[g(0x12b)]()[g(0x125)]('(((.+)+)+)+$')[g(0x12b)]()[g(0x123)](a80a)[g(0x125)](g(0x128));});a80a();import{Command}from'../command.js';const Maka=new Command({'name':a80h(0x12a),'minArgLength':0x1,'shortDesc':a80h(0x120),'validOpts':[],'usage':a80h(0x11d),'disableAuthCheck':!![],'examples':[a80h(0x11b),a80h(0x119),a80h(0x129),a80h(0x115)],'description':a80h(0x11c)},async function(a,b){const i=a80h;try{const c=a[0x0];a[i(0x12c)](0x0,0x1),this[i(0x12e)](c,a,b);}catch(d){process[i(0x118)](0x1);}});export default Maka;
@@ -1 +1 @@
1
- var a81h=a81d;(function(a,b){var f=a81d,c=a();while(!![]){try{var d=parseInt(f(0xb1))/0x1+-parseInt(f(0xaf))/0x2*(parseInt(f(0xa2))/0x3)+parseInt(f(0xa5))/0x4*(-parseInt(f(0xad))/0x5)+parseInt(f(0xaa))/0x6+parseInt(f(0xa1))/0x7+-parseInt(f(0xae))/0x8+parseInt(f(0xa4))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0x856eb));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(0xac)]()['search'](g(0xa6))[g(0xac)]()[g(0xb0)](a81a)['search'](g(0xa6));});function a81d(a,b){var c=a81c();return a81d=function(d,e){d=d-0xa1;var f=c[d];return f;},a81d(a,b);}function a81c(){var j=['(((.+)+)+)+$','maka\x20murder','log','murder','1581438UAXBfJ','create','toString','1712310cLFGmd','7947464WLsBwd','574806zIdyHA','constructor','501282kIewSQ','135415HpVaus','6xAfuxQ','font-family:\x20monospace','21221676UiAtqD','12xxCbGZ'];a81c=function(){return j;};return a81c();}a81a();import{Command}from'../command.js';Command[a81h(0xab)]({'name':a81h(0xa9),'usage':a81h(0xa7),'maxArgLength':0x1,'shortDesc':'Murrrrderrrrr','validOpts':[]},async function(){var i=a81h;try{console[i(0xa8)]('%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',i(0xa3));}catch(a){console['error'](a),process['exit'](0x0);}});
1
+ var a81i=a81d;function a81c(){var k=['330vsDKVF','search','create','exit','toString','16hfZuFh','apply','2QBUndv','136409mcIvYe','(((.+)+)+)+$','3285624VUKYyC','1216608cbNXDa','constructor','4036563uEOrLX','32728570UuMSPu','746128awjrjl','%c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.___.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20,-^\x20\x20\x20\x20\x20^-.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x0a.-------|\x20|--------------/\x20\x20__\x20\x20\x20\x20\x20__\x20\x20\x5c-------------------.__\x0a|WMWMWMW|\x20|>>>>>>>>>>>>>\x20|\x20/>>\x5c\x20\x20\x20/>>\x5c\x20|>>>>>>>>>>>>>>>>>>>>>>:>\x0a`-------|\x20|--------------|\x20\x5c__/\x20\x20\x20\x5c__/\x20|-------------------\x27^^\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x5c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20/|\x5c\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x5c_/\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|+H+H+H+|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20^-----^\x0a\x0a','font-family:\x20monospace','277120nAPNrr','log','murder'];a81c=function(){return k;};return a81c();}(function(a,b){var f=a81d,c=a();while(!![]){try{var d=parseInt(f(0x9a))/0x1*(parseInt(f(0x92))/0x2)+-parseInt(f(0x95))/0x3+-parseInt(f(0x96))/0x4+parseInt(f(0x9d))/0x5+parseInt(f(0xa0))/0x6*(-parseInt(f(0x93))/0x7)+parseInt(f(0x90))/0x8*(-parseInt(f(0x98))/0x9)+parseInt(f(0x99))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0xac6ca));var a81b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a81d;if(c){var e=c[g(0x91)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){var h=a81d;return a81a['toString']()[h(0x8c)]('(((.+)+)+)+$')[h(0x8f)]()[h(0x97)](a81a)[h(0x8c)](h(0x94));});a81a();import{Command}from'../command.js';function a81d(a,b){var c=a81c();return a81d=function(d,e){d=d-0x8c;var f=c[d];return f;},a81d(a,b);}Command[a81i(0x8d)]({'name':a81i(0x9f),'usage':'maka\x20murder','maxArgLength':0x1,'shortDesc':'Murrrrderrrrr','validOpts':[]},async function(){var j=a81i;try{console[j(0x9e)](j(0x9b),j(0x9c));}catch(a){console['error'](a),process[j(0x8e)](0x0);}});
@@ -1 +1 @@
1
- const a82p=a82d;(function(a,b){const m=a82d,c=a();while(!![]){try{const d=parseInt(m(0xa6))/0x1*(parseInt(m(0xb7))/0x2)+-parseInt(m(0xa0))/0x3*(-parseInt(m(0x95))/0x4)+-parseInt(m(0xb4))/0x5*(-parseInt(m(0x9b))/0x6)+-parseInt(m(0x93))/0x7*(parseInt(m(0xb6))/0x8)+-parseInt(m(0xaf))/0x9*(parseInt(m(0xad))/0xa)+parseInt(m(0x9a))/0xb*(-parseInt(m(0xa2))/0xc)+-parseInt(m(0x9f))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0xab82f));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a82d;if(c){const e=c[n(0xae)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const o=a82d;return a82a[o(0x94)]()[o(0xb5)](o(0x8e))['toString']()[o(0xab)](a82a)[o(0xb5)](o(0x8e));});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';function a82c(){const r=['fsi','8078756vpWKLt','toString','24488irQmRt','isFile','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','development','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','8052QwXRqP','12itOhOu','utf8','join','\x20to\x20','6918730IfRHRw','375XKsALZ','listen','156RAyJQw','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','maka\x20proxy\x20--target-host\x20http://192.168.1.20','.key','29sxLRiZ','create','listenPort','readFileSync','localhost','constructor','targetPort','10bsimmH','apply','1139193CPbXhi','getMakaProjectConfig','mkKeysDir','help','=>\x20SSL\x20Proxy\x20forwarding\x20','1926495hSvqKo','search','8NdJljc','68212zsomoT','(((.+)+)+)+$','appName','maka\x20proxy','targetHost'];a82c=function(){return r;};return a82c();}function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x8e;let f=c[d];return f;},a82d(a,b);}import{SSL}from'../tools/ssl/ssl.class.js';import a82h from'../generators/maka.gen.js';Command[a82p(0xa7)]({'name':'proxy','usage':a82p(0x90),'mustBeInMakaProject':!![],'validOpts':[a82p(0xb2),a82p(0xac),a82p(0xa8),a82p(0x91)],'maxArgLength':0x1,'shortDesc':a82p(0x97),'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(0x90),a82p(0x99),a82p(0xa4)]},async function(a,b){const q=a82p,c=this['fsi'][q(0xb0)](),d=q(0x98),e=this[q(0x92)]['getAppConfigPath'](d),f=this['fsi'][q(0xb1)]({'configPath':e}),g=b['targetPort']?Number(b['targetPort']):0xbb8,h=b[q(0xa8)]?Number(b[q(0xa8)]):0xd73,i=b[q(0x91)]?b[q(0x91)]:q(0xaa),j=a82f['join'](f,c[q(0x8f)]+q(0xa5)),k=a82f[q(0x9d)](f,c[q(0x8f)]+'.crt');(!this['fsi'][q(0x96)](j)||!this['fsi'][q(0x96)](k))&&(await a82h['processAndRunGenerator']('sslconfig',[],{'env':d}),SSL['genCSR']({'keyName':c[q(0x8f)]+'.key','csrName':c[q(0x8f)]+'.csr','cwd':f}),SSL['genSSC']({'keyName':c[q(0x8f)]+'.key','crtName':c[q(0x8f)]+'.crt','cwd':f}));if(g===h){Log['error'](q(0xa3));throw new UsageError();}const l={'ssl':{'key':a82e[q(0xa9)](j,q(0x9c)),'cert':a82e['readFileSync'](k,'utf8')},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a82g['createProxyServer'](l)[q(0xa1)](Number(h)),Log['bright'](q(0xb3)+h+q(0x9e)+g);});
1
+ function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0xb0;let f=c[d];return f;},a82d(a,b);}const a82p=a82d;function a82c(){const r=['development','createProxyServer','.csr','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','8698BZsqZi','listenPort','error','maka\x20proxy','sslconfig','77eDuJbn','.crt','utf8','proxy','bright','fsi','\x20to\x20','constructor','12rAWUjJ','create','readFileSync','mkKeysDir','4172650LlhIFA','targetPort','targetHost','8EbkAGM','1106833Evfrqv','help','\x0a\x20\x20If\x20you\x27re\x20running\x20your\x20Meteor\x20service,\x20and\x20need\x20to\x20stand\x20up\x20an\x20SSL\x0a\x20\x20Proxy,\x20this\x20command\x20will\x20automatically\x20create\x20a\x20key\x20pair\x20for\x20use\x20in\x20an\x20HTTPS\x0a\x20\x20proxy.\x0a\x0a\x20\x20For\x20example,\x20you\x27re\x20running\x20http://localhost:3000\x20with\x20\x22maka\x20run\x22\x20then\x20open\x20a\x20new\x0a\x20\x20terminal\x20and\x20run\x20\x22maka\x20proxy\x22\x20to\x20standup\x20https://localhost:3443.\x0a\x20\x20Then\x20open\x20your\x20browser\x20to\x20that\x20URL\x20(you\x20may\x20need\x20to\x20trust\x20the\x20certificates\x0a\x20\x20because\x20they\x20are\x20self-signed)\x20and\x20you\x27ll\x20have\x20an\x20SSL\x20connection\x20to\x20your\x0a\x20\x20http://localhost:3000.\x0a\x0a\x20\x20To\x20avoid\x20possibly\x20overwriting\x20PKI\x20files\x20in\x20higher\x20environments,\x20\x22maka\x20proxy\x22\x0a\x20\x20will\x20try\x20to\x20only\x20generate\x20/\x20store\x20PKI\x20keys\x20in\x20the\x20development\x20environment.\x0a\x20\x20','isFile','genSSC','313083lZkjLc','toString','maka\x20proxy\x20--target-host\x20http://192.168.1.20','getMakaProjectConfig','=>\x20SSL\x20Proxy\x20forwarding\x20','20958KUuZCW','getAppConfigPath','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','(((.+)+)+)+$','391296gEvdTw','2053180YdXNhR','join','.key','appName','apply'];a82c=function(){return r;};return a82c();}(function(a,b){const m=a82d,c=a();while(!![]){try{const d=parseInt(m(0xcc))/0x1*(-parseInt(m(0xc7))/0x2)+parseInt(m(0xb9))/0x3+parseInt(m(0xdb))/0x4*(parseInt(m(0xbe))/0x5)+parseInt(m(0xd4))/0x6*(parseInt(m(0xdc))/0x7)+parseInt(m(0xbd))/0x8+parseInt(m(0xb4))/0x9+-parseInt(m(0xd8))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x74399));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a82d;if(c){const e=c[n(0xc2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const o=a82d;return a82a[o(0xb5)]()['search'](o(0xbc))[o(0xb5)]()[o(0xd3)](a82a)['search'](o(0xbc));});a82a();import a82e from'fs';import a82f from'path';import a82g from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a82h from'../generators/maka.gen.js';Command[a82p(0xd5)]({'name':a82p(0xcf),'usage':'maka\x20proxy','mustBeInMakaProject':!![],'validOpts':[a82p(0xb0),a82p(0xd9),a82p(0xc8),a82p(0xda)],'maxArgLength':0x1,'shortDesc':'Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','description':a82p(0xb1),'examples':[a82p(0xca),a82p(0xc6),a82p(0xb6)]},async function(a,b){const q=a82p,c=this[q(0xd1)][q(0xb7)](),d=q(0xc3),e=this[q(0xd1)][q(0xba)](d),f=this[q(0xd1)][q(0xd7)]({'configPath':e}),g=b[q(0xd9)]?Number(b['targetPort']):0xbb8,h=b[q(0xc8)]?Number(b[q(0xc8)]):0xd73,i=b[q(0xda)]?b[q(0xda)]:'localhost',j=a82f[q(0xbf)](f,c['appName']+q(0xc0)),k=a82f[q(0xbf)](f,c[q(0xc1)]+q(0xcd));(!this['fsi'][q(0xb2)](j)||!this[q(0xd1)][q(0xb2)](k))&&(await a82h['processAndRunGenerator'](q(0xcb),[],{'env':d}),SSL['genCSR']({'keyName':c['appName']+'.key','csrName':c[q(0xc1)]+q(0xc5),'cwd':f}),SSL[q(0xb3)]({'keyName':c[q(0xc1)]+q(0xc0),'crtName':c['appName']+q(0xcd),'cwd':f}));if(g===h){Log[q(0xc9)](q(0xbb));throw new UsageError();}const l={'ssl':{'key':a82e['readFileSync'](j,q(0xce)),'cert':a82e[q(0xd6)](k,'utf8')},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a82g[q(0xc4)](l)['listen'](Number(h)),Log[q(0xd0)](q(0xb8)+h+q(0xd2)+g);});
@@ -1 +1 @@
1
- const a83q=a83d;(function(a,b){const n=a83d,c=a();while(!![]){try{const d=parseInt(n(0xb5))/0x1*(parseInt(n(0xaf))/0x2)+parseInt(n(0xb1))/0x3*(-parseInt(n(0xb7))/0x4)+-parseInt(n(0xb3))/0x5*(-parseInt(n(0xc1))/0x6)+parseInt(n(0xbf))/0x7+-parseInt(n(0xc3))/0x8*(parseInt(n(0xc4))/0x9)+-parseInt(n(0xac))/0xa+-parseInt(n(0xcc))/0xb*(-parseInt(n(0xc2))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0x422de));const a83b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a83d;if(c){const e=c[o(0xb0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){const p=a83d;return a83a['toString']()[p(0xbe)](p(0xc0))['toString']()['constructor'](a83a)['search']('(((.+)+)+)+$');});a83a();import a83e from'fs';import a83f from'path';import{Command}from'../command.js';function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0xa0;let f=c[d];return f;},a83d(a,b);}import{Log}from'../tools/log/log.class.js';function a83c(){const s=['success','_keys','uname\x20-a','env','reconfig','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','ping','4604600QQvXOr','scp','pm2\x20delete\x20all','43156RNHXFV','apply','237CmufXj','maka\x20reconfig\x20--env\x20prod','3865xQPEzk','settings.json','7NThFyr','~/ses.json','2796wZcCIM','\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','existsSync','ses.json','assign','~/pm2.config.js','getAppConfigPath','search','3180310hcWgep','(((.+)+)+)+$','2916neGyjj','2856SLFVvy','2917688WqjSOs','9TwIzca','Reconfigure\x20your\x20deployed\x20applications','Checking\x20remote\x20host\x20availability','maka\x20reconfig','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','create','join','7876cSWtKC','readFileSync','toString','~/settings.json','sshSync','exit'];a83c=function(){return s;};return a83c();}import{SSH}from'../tools/ssh/ssh.class.js';Command[a83q(0xca)]({'name':a83q(0xa9),'validOpts':[''],'requiredOpts':[a83q(0xa8)],'mustBeInMakaProject':!![],'usage':a83q(0xc7),'isPro':!![],'shortDesc':a83q(0xc5),'description':a83q(0xb8),'examples':[a83q(0xb2)]},async function(a,b){const r=a83q;try{const c=this[r(0xc9)][r(0xbd)](b['env']),d=a83f['join'](c,'ssh.json'),f=a83e[r(0xa0)](d)[r(0xa1)](),g=JSON['parse'](f);Object[r(0xbb)](g,{'env':c}),Log['notice'](r(0xc6));const h=SSH[r(0xab)](r(0xa7),g);if(!h)throw r(0xaa);if(h)Log[r(0xa5)]('Remote\x20host\x20connection\x20successful');const i=a83f[r(0xcb)](c,r(0xa6),r(0xba));if(a83e[r(0xb9)](i)){const l={'source':i,'dest':r(0xb6),'verbose':!![]};SSH[r(0xad)](l,{...g});}const j=a83f[r(0xcb)](c,'pm2.config.js');SSH[r(0xad)]({'source':j,'dest':r(0xbc),'verbose':!![]},{...g});const k=a83f['join'](c,r(0xb4));SSH[r(0xad)]({'source':k,'dest':r(0xa2),'verbose':!![]},{...g}),SSH[r(0xa3)](r(0xae),g),await SSH['ssh'](r(0xc8),{...g},{'verbose':!![]});}catch(m){console['error'](m),process[r(0xa4)](0x0);}});
1
+ const a83q=a83d;(function(a,b){const n=a83d,c=a();while(!![]){try{const d=parseInt(n(0xd1))/0x1*(parseInt(n(0xb6))/0x2)+parseInt(n(0xba))/0x3*(-parseInt(n(0xb5))/0x4)+parseInt(n(0xc0))/0x5+-parseInt(n(0xd2))/0x6+parseInt(n(0xce))/0x7+-parseInt(n(0xbc))/0x8+parseInt(n(0xc4))/0x9*(-parseInt(n(0xc8))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0xeb00d));function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0xb1;let f=c[d];return f;},a83d(a,b);}const a83b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a83d;if(c){const e=c[o(0xc3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){const p=a83d;return a83a[p(0xc5)]()[p(0xcd)](p(0xbd))['toString']()[p(0xb3)](a83a)['search'](p(0xbd));});a83a();import a83e from'fs';import a83f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';function a83c(){const s=['exit','553zRqheX','9151218ITnAHk','settings.json','\x0a\x20\x20If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x0a\x20\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.\x0a\x20\x20','sshSync','success','~/pm2.config.js','constructor','create','105312WXmOcj','5396qLkIyr','join','env','getAppConfigPath','24NsVSxt','Remote\x20host\x20connection\x20successful','15058048iXCXhF','(((.+)+)+)+$','~/ses.json','Reconfigure\x20your\x20deployed\x20applications','9215520EMEeiZ','echo\x20\x22\x22\x20&&\x20pm2\x20start\x20pm2.config.js\x20&&\x20echo\x20\x22\x22\x20||\x20echo\x20\x22Cound\x20not\x20find\x20PM2,\x20have\x20you\x20deployed\x20the\x20app\x20yet?\x22','readFileSync','apply','49239ckYOVD','toString','fsi','maka\x20reconfig\x20--env\x20prod','1070AGKvZW','ssh.json','reconfig','_keys','notice','search','12816685ZkzJJo','scp'];a83c=function(){return s;};return a83c();}Command[a83q(0xb4)]({'name':a83q(0xca),'validOpts':[''],'requiredOpts':[a83q(0xb8)],'mustBeInMakaProject':!![],'usage':'maka\x20reconfig','isPro':!![],'shortDesc':a83q(0xbf),'description':a83q(0xd4),'examples':[a83q(0xc7)]},async function(a,b){const r=a83q;try{const c=this[r(0xc6)][r(0xb9)](b[r(0xb8)]),d=a83f[r(0xb7)](c,r(0xc9)),f=a83e[r(0xc2)](d)[r(0xc5)](),g=JSON['parse'](f);Object['assign'](g,{'env':c}),Log[r(0xcc)]('Checking\x20remote\x20host\x20availability');const h=SSH['ping']('uname\x20-a',g);if(!h)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(h)Log[r(0xb1)](r(0xbb));const i=a83f[r(0xb7)](c,r(0xcb),'ses.json');if(a83e['existsSync'](i)){const l={'source':i,'dest':r(0xbe),'verbose':!![]};SSH['scp'](l,{...g});}const j=a83f['join'](c,'pm2.config.js');SSH['scp']({'source':j,'dest':r(0xb2),'verbose':!![]},{...g});const k=a83f['join'](c,r(0xd3));SSH[r(0xcf)]({'source':k,'dest':'~/settings.json','verbose':!![]},{...g}),SSH[r(0xd5)]('pm2\x20delete\x20all',g),await SSH['ssh'](r(0xc1),{...g},{'verbose':!![]});}catch(m){console['error'](m),process[r(0xd0)](0x0);}});
@@ -1 +1 @@
1
- function a84d(a,b){var c=a84c();return a84d=function(d,e){d=d-0x165;var f=c[d];return f;},a84d(a,b);}(function(a,b){var f=a84d,c=a();while(!![]){try{var d=parseInt(f(0x16f))/0x1*(parseInt(f(0x167))/0x2)+parseInt(f(0x16e))/0x3*(parseInt(f(0x169))/0x4)+-parseInt(f(0x16d))/0x5+parseInt(f(0x170))/0x6+-parseInt(f(0x16c))/0x7*(-parseInt(f(0x16a))/0x8)+-parseInt(f(0x168))/0x9+-parseInt(f(0x171))/0xa*(parseInt(f(0x172))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x69291));var a84b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){var g=a84d;return a84a[g(0x166)]()['search'](g(0x16b))['toString']()[g(0x165)](a84a)['search'](g(0x16b));});a84a();import'./run.command.js';function a84c(){var h=['3RqQekA','1625292ZdNSIZ','1840ZsXDKP','9515RrHLJg','constructor','toString','254536mpHxFQ','4327272OzfpaK','16732YSodKv','19832eIQJjd','(((.+)+)+)+$','399FMGfZZ','1356285NyxWGg','393iYTmZY'];a84c=function(){return h;};return a84c();}import'./docker.sub.cmd.js';
1
+ (function(a,b){var f=a84d,c=a();while(!![]){try{var d=-parseInt(f(0x119))/0x1+parseInt(f(0x116))/0x2+parseInt(f(0x118))/0x3*(-parseInt(f(0x11c))/0x4)+-parseInt(f(0x11a))/0x5*(-parseInt(f(0x122))/0x6)+parseInt(f(0x11d))/0x7*(parseInt(f(0x121))/0x8)+-parseInt(f(0x11f))/0x9+parseInt(f(0x120))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0xd539c));var a84b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){var g=a84d;return a84a[g(0x11e)]()[g(0x117)](g(0x11b))[g(0x11e)]()['constructor'](a84a)['search'](g(0x11b));});a84a();import'./run.command.js';function a84d(a,b){var c=a84c();return a84d=function(d,e){d=d-0x116;var f=c[d];return f;},a84d(a,b);}function a84c(){var h=['10626741ciiHwW','2138100JIxyYe','1860552YPksWR','24MYFgZr','1132206tVYEBR','search','12234LiCBip','184440kEoXyD','1919240rvtTjN','(((.+)+)+)+$','1444GtVtAJ','42DeqWtb','toString'];a84c=function(){return h;};return a84c();}import'./docker.sub.cmd.js';
@@ -1 +1 @@
1
- const a85k=a85d;(function(a,b){const i=a85d,c=a();while(!![]){try{const d=parseInt(i(0x188))/0x1*(-parseInt(i(0x186))/0x2)+-parseInt(i(0x18e))/0x3+parseInt(i(0x198))/0x4+parseInt(i(0x183))/0x5*(parseInt(i(0x181))/0x6)+-parseInt(i(0x19c))/0x7*(parseInt(i(0x196))/0x8)+parseInt(i(0x19a))/0x9+-parseInt(i(0x19e))/0xa*(-parseInt(i(0x192))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0x6be8e));const a85b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){const j=a85d;return a85a['toString']()[j(0x187)]('(((.+)+)+)+$')[j(0x18f)]()[j(0x190)](a85a)[j(0x187)](j(0x182));});a85a();function a85c(){const m=['(((.+)+)+)+$','1077915pHcNNb','maka\x20run\x20docker','notice','329818OnBlaP','search','1qwdUEc','getMakaProjectConfig','\x20up\x20--remove-orphans','\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','pm2.config.js','docker-compose\x20--project-directory\x20','1159560uFXJyh','toString','constructor','join','21670kyJJtM','config/docker-compose.yaml','appName','fsi','16UaHuVb','docker-compose.yaml','2243004LVQvNa','docker','2240838NpURJe','inherit','1824557CMtDgq','getAppConfigPath','1390kjzwKo','existsSync','exit','12iQRWXT'];a85c=function(){return m;};return a85c();}import a85e from'./run.command.js';function a85d(a,b){const c=a85c();return a85d=function(d,e){d=d-0x17f;let f=c[d];return f;},a85d(a,b);}import{execSync}from'child_process';import a85f from'path';import a85g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';Command['create']({'name':a85k(0x199),'aliases':['d'],'shortDesc':'Run\x20your\x20application\x20in\x20a\x20Docker\x20container','description':a85k(0x18b),'usage':a85k(0x184),'isPro':!![],'validOpts':['']},async function(){const l=a85k;try{const a=this['fsi'][l(0x189)](),b=this[l(0x195)][l(0x19d)](l(0x199)),c=a85f[l(0x191)](b,l(0x197)),d=a85f[l(0x191)](b,l(0x18c));Log[l(0x185)]('PM2\x20Config\x20File:\x20'+d),Log['notice']('Docker\x20Compose\x20Path:\x20'+c);if(!a85g[l(0x17f)](c)){const f={'app':a[l(0x194)],'appFileCase':paramCase(a[l(0x194)])},g=this[l(0x195)]['templateContent']({'srcPath':l(0x193),'context':f})+'\x0a';this[l(0x195)]['createFile']({'filePath':c,'data':g});}execSync(l(0x18d)+b+l(0x18a),{'stdio':l(0x19b)});}catch(h){process[l(0x180)](0x1);}},a85e);
1
+ const a85k=a85d;(function(a,b){const i=a85d,c=a();while(!![]){try{const d=parseInt(i(0x139))/0x1*(parseInt(i(0x130))/0x2)+-parseInt(i(0x12a))/0x3+-parseInt(i(0x137))/0x4*(parseInt(i(0x12b))/0x5)+-parseInt(i(0x12f))/0x6*(-parseInt(i(0x135))/0x7)+parseInt(i(0x123))/0x8*(-parseInt(i(0x131))/0x9)+parseInt(i(0x13d))/0xa*(parseInt(i(0x13a))/0xb)+parseInt(i(0x132))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0xace4f));function a85d(a,b){const c=a85c();return a85d=function(d,e){d=d-0x11c;let f=c[d];return f;},a85d(a,b);}const a85b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){const j=a85d;return a85a['toString']()['search'](j(0x13e))[j(0x133)]()['constructor'](a85a)[j(0x11c)](j(0x13e));});a85a();import a85e from'./run.command.js';import{execSync}from'child_process';import a85f from'path';function a85c(){const m=['toString','PM2\x20Config\x20File:\x20','8637986CsUcaL','Docker\x20Compose\x20Path:\x20','28164hcItbL','docker-compose\x20--project-directory\x20','25FxHPHt','453783iiLcVZ','fsi','join','190HGKrPV','(((.+)+)+)+$','pm2.config.js','search','appName','config/docker-compose.yaml','notice','inherit','exit','docker','408mazJHr','existsSync','getMakaProjectConfig','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','\x0a\x20\x20Run\x20your\x20application\x20in\x20a\x20Docker\x20container.\x20\x20Docker\x20Desktop\x20or\x20Colmia\x20is\x20required.\x0a\x0a\x20\x20Colima\x20is\x20a\x20great\x20alternative\x20to\x20Docker\x20Desktop,\x20and\x20it\x20is\x20free!\x0a\x20\x20Colima:\x20https://github.com/abiosoft/colima\x0a\x0a\x20\x20A\x20docker-compose.yml\x20file\x20(location\x20defaulted\x20to\x20the\x20\x22config/docker\x22\x20folder)\x0a\x20\x20is\x20used\x20to\x20startup\x20mongo\x20and\x20load\x20the\x20built\x20image\x27\x0a\x20\x20','getAppConfigPath','createFile','1202388YukKSO','765WBBOhL','\x20up\x20--remove-orphans','docker-compose.yaml','create','6LfArlx','45818jYIUVU','160371MlmMKN','6053796IzBrzc'];a85c=function(){return m;};return a85c();}import a85g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a85k(0x12e)]({'name':a85k(0x122),'aliases':['d'],'shortDesc':a85k(0x126),'description':a85k(0x127),'usage':'maka\x20run\x20docker','isPro':!![],'validOpts':['']},async function(){const l=a85k;try{const a=this[l(0x13b)][l(0x125)](),b=this[l(0x13b)][l(0x128)](l(0x122)),c=a85f['join'](b,l(0x12d)),d=a85f[l(0x13c)](b,l(0x13f));Log[l(0x11f)](l(0x134)+d),Log[l(0x11f)](l(0x136)+c);if(!a85g[l(0x124)](c)){const f={'app':a[l(0x11d)],'appFileCase':paramCase(a[l(0x11d)])},g=this[l(0x13b)]['templateContent']({'srcPath':l(0x11e),'context':f})+'\x0a';this['fsi'][l(0x129)]({'filePath':c,'data':g});}execSync(l(0x138)+b+l(0x12c),{'stdio':l(0x120)});}catch(h){process[l(0x121)](0x1);}},a85e);
@@ -1 +1 @@
1
- const a86s=a86d;(function(a,b){const p=a86d,c=a();while(!![]){try{const d=-parseInt(p(0x87))/0x1*(parseInt(p(0xaa))/0x2)+parseInt(p(0x7e))/0x3*(parseInt(p(0x9e))/0x4)+-parseInt(p(0x9f))/0x5+-parseInt(p(0xa5))/0x6+-parseInt(p(0xab))/0x7+-parseInt(p(0x9a))/0x8+-parseInt(p(0x78))/0x9*(-parseInt(p(0x9b))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0xccbf7));const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a86d;if(c){const e=c[q(0x88)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const r=a86d;return a86a['toString']()[r(0x99)]('(((.+)+)+)+$')[r(0x8e)]()[r(0x98)](a86a)[r(0x99)](r(0x81));});function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0x75;let f=c[d];return f;},a86d(a,b);}a86a();import a86e from'path';import a86f from'fs';import a86g from'dotenv';import{rimraf}from'rimraf';function a86c(){const v=['mobileServer','Node\x20Env\x20Config:\x20','exclude-archs','autoupdate','production','constructor','search','3780200gteqKA','33050LhUHoF','warn','local','244IOwXeD','1825950BjDSaD','cordova-build','compareMakaToLatest','verbose','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)','error','7730910rcvadn','length','fsi','.meteor','Run\x20your\x20Meteor\x20application','2HwqjHj','9892484ylJnjX','--env','create','exit','Meteor\x20Settings:\x20','mobile-server','argv','extraPackages','14031PfQXPp','env','join','filter','app','isFile','5115xSFDST','run','findProjectDirectory','(((.+)+)+)+$','settings','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','--settings','splice','notice','878441FaQNmv','apply','concat','invokeMeteorCommand','split','isDirectory','sep','toString','rawLogs','development','docker','slice'];a86c=function(){return v;};return a86c();}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){a86f['openSync'](a,'r'),a86g['config']({'path':a});},Run=Command[a86s(0xad)]({'name':a86s(0x7f),'mustBeInMakaProject':!![],'shortDesc':a86s(0xa9),'description':'\x0a\x20\x20maka\x20run\x0a\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.','validOpts':['env',a86s(0x91),a86s(0x8f),'port','inspect',a86s(0x93),a86s(0xa2),'allowIncompatibleUpdate',a86s(0x77),'x',a86s(0x95),a86s(0x97)]},async function(a,b){const t=a86s;try{await this[t(0xa7)]['checkMeteorPackage'](t(0x96),{'shouldInstall':!![]});const c=a[0x0];if(c==='ios'){const l=this['fsi'][t(0x80)](),m=a86e[t(0x7a)](l,t(0x7c),t(0xa8),t(0x9d),t(0xa0));this[t(0xa7)][t(0x8c)](m)&&await rimraf(m);}if(b[t(0x75)]&&b[t(0x75)]===!![]||b['m']&&b['m']===!![])throw t(0xa3);await this[t(0xa7)][t(0xa1)]();const d=b[t(0x79)]?b[t(0x79)]:t(0x90),f=this[t(0xa7)]['getAppConfigPath'](d),g=a86e[t(0x7a)](f,'process.env');let h=a86e[t(0x7a)](f,'settings.json');b[t(0x82)]?h=b[t(0x82)]:h=a86e[t(0x7a)](f,'settings.json');if(this[t(0xa7)][t(0x7d)](g)&&!b[t(0x91)])Log[t(0x86)](t(0x94)+g),syncSource(g);else!b[t(0x91)]&&Log[t(0x9c)]('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+g);this[t(0xa7)][t(0x7d)](h)?(Log[t(0x86)](t(0xaf)+h),a=a[t(0x89)]([t(0x84),h])):Log[t(0x9c)](t(0x83)+h);const i=f[t(0x8b)](a86e[t(0x8d)]),j=i[i[t(0xa6)]-0x1];j==='production'&&a['push']('--production');const k=process[t(0x76)][t(0x92)](0x2)[t(0x7b)](n=>n!=='run')['filter'](n=>n!==a[0x0]);k['forEach']((n,o)=>{const u=t;n===u(0xac)&&k['splice'](o,0x2),n==='-e'&&k[u(0x85)](o,0x2);}),this['fsi'][t(0x8a)](t(0x7f),a['concat'](k));}catch(n){console[t(0xa4)](n),process[t(0xae)](0x1);}});export default Run;
1
+ const a86t=a86d;(function(a,b){const p=a86d,c=a();while(!![]){try{const d=-parseInt(p(0x215))/0x1+-parseInt(p(0x1fd))/0x2+-parseInt(p(0x1fb))/0x3*(-parseInt(p(0x206))/0x4)+-parseInt(p(0x223))/0x5+-parseInt(p(0x200))/0x6+-parseInt(p(0x205))/0x7*(-parseInt(p(0x20e))/0x8)+parseInt(p(0x207))/0x9*(parseInt(p(0x21f))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0xdfa99));const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a86d;if(c){const e=c[q(0x212)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const r=a86d;return a86a[r(0x216)]()[r(0x221)](r(0x201))[r(0x216)]()[r(0x1fa)](a86a)['search']('(((.+)+)+)+$');});a86a();import a86e from'path';import a86f from'fs';function a86c(){const w=['Node\x20Env\x20Config:\x20','isFile','203598Bfxmub','(((.+)+)+)+$','app','forEach','push','2191qTrGSA','148sZiDSb','45GQiiAK','mobile-server','splice','settings','.meteor','warn','config','22992IplDUh','Please\x20provide\x20a\x20URL\x20where\x20your\x20mobile\x20app\x20should\x20connect\x20to\x20your\x20server\x20(e.g.,\x20-m\x20|\x20--mobile-server=https://example-server.com)','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','exit','apply','length','extraPackages','1300300DXardX','toString','settings.json','concat','--production','slice','production','notice','error','isDirectory','4211630cjagoc','compareMakaToLatest','search','docker','2757460XEWYqv','--env','inspect','development','argv','join','autoupdate','port','mobileServer','local','sep','Meteor\x20Settings:\x20','--settings','fsi','Run\x20your\x20Meteor\x20application','\x0a\x20\x20maka\x20run\x0a\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.','Cannot\x20find\x20Node\x20Environment\x20File:\x20','process.env','filter','exclude-archs','env','split','constructor','81117miQQrI','run','2407948PfCvfD'];a86c=function(){return w;};return a86c();}function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0x1e7;let f=c[d];return f;},a86d(a,b);}import a86g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const s=a86d;a86f['openSync'](a,'r'),a86g[s(0x20d)]({'path':a});},Run=Command['create']({'name':a86t(0x1fc),'mustBeInMakaProject':!![],'shortDesc':a86t(0x1f2),'description':a86t(0x1f3),'validOpts':[a86t(0x1f8),a86t(0x222),'rawLogs',a86t(0x1eb),a86t(0x225),a86t(0x1ec),'verbose','allowIncompatibleUpdate',a86t(0x214),'x',a86t(0x1f7),a86t(0x21b)]},async function(a,b){const u=a86t;try{await this[u(0x1f1)]['checkMeteorPackage'](u(0x1ea),{'shouldInstall':!![]});const c=a[0x0];if(c==='ios'){const l=this[u(0x1f1)]['findProjectDirectory'](),m=a86e[u(0x1e9)](l,u(0x202),u(0x20b),u(0x1ed),'cordova-build');this[u(0x1f1)][u(0x21e)](m)&&await rimraf(m);}if(b[u(0x208)]&&b[u(0x208)]===!![]||b['m']&&b['m']===!![])throw u(0x20f);await this[u(0x1f1)][u(0x220)]();const d=b[u(0x1f8)]?b[u(0x1f8)]:u(0x1e7),f=this[u(0x1f1)]['getAppConfigPath'](d),g=a86e[u(0x1e9)](f,u(0x1f5));let h=a86e['join'](f,u(0x217));b['settings']?h=b[u(0x20a)]:h=a86e['join'](f,'settings.json');if(this[u(0x1f1)][u(0x1ff)](g)&&!b[u(0x222)])Log['notice'](u(0x1fe)+g),syncSource(g);else!b[u(0x222)]&&Log[u(0x20c)](u(0x1f4)+g);this['fsi'][u(0x1ff)](h)?(Log[u(0x21c)](u(0x1ef)+h),a=a[u(0x218)]([u(0x1f0),h])):Log[u(0x20c)](u(0x210)+h);const i=f[u(0x1f9)](a86e[u(0x1ee)]),j=i[i[u(0x213)]-0x1];j==='production'&&a[u(0x204)](u(0x219));const k=process[u(0x1e8)][u(0x21a)](0x2)[u(0x1f6)](n=>n!==u(0x1fc))[u(0x1f6)](n=>n!==a[0x0]);k[u(0x203)]((n,o)=>{const v=u;n===v(0x224)&&k[v(0x209)](o,0x2),n==='-e'&&k[v(0x209)](o,0x2);}),this['fsi']['invokeMeteorCommand'](u(0x1fc),a[u(0x218)](k));}catch(n){console[u(0x21d)](n),process[u(0x211)](0x1);}});export default Run;
@@ -1 +1 @@
1
- (function(a,b){var f=a87d,c=a();while(!![]){try{var d=parseInt(f(0xca))/0x1*(-parseInt(f(0xc7))/0x2)+-parseInt(f(0xbe))/0x3+-parseInt(f(0xc5))/0x4*(parseInt(f(0xc9))/0x5)+-parseInt(f(0xbd))/0x6*(-parseInt(f(0xc0))/0x7)+parseInt(f(0xc1))/0x8*(-parseInt(f(0xc6))/0x9)+parseInt(f(0xc8))/0xa+parseInt(f(0xc4))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0xac7d2));var a87b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a87d;if(c){var e=c[g(0xbf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){var h=a87d;return a87a[h(0xc2)]()['search'](h(0xc3))['toString']()[h(0xcb)](a87a)['search'](h(0xc3));});a87a();import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';function a87d(a,b){var c=a87c();return a87d=function(d,e){d=d-0xbd;var f=c[d];return f;},a87d(a,b);}function a87c(){var i=['2EEPRJk','12096390zxlAbv','1404245DPDuwo','883983vsOxmV','constructor','33294HyQsJW','3350952JnVDcH','apply','875xPWmyo','56wCQAlc','toString','(((.+)+)+)+$','30361738cArFkv','16oXXZtS','1070415rYrrFu'];a87c=function(){return i;};return a87c();}
1
+ (function(a,b){var f=a87d,c=a();while(!![]){try{var d=parseInt(f(0xce))/0x1+parseInt(f(0xcb))/0x2*(-parseInt(f(0xcd))/0x3)+-parseInt(f(0xc8))/0x4*(parseInt(f(0xc6))/0x5)+-parseInt(f(0xc5))/0x6+parseInt(f(0xc9))/0x7*(-parseInt(f(0xc4))/0x8)+-parseInt(f(0xc7))/0x9*(parseInt(f(0xd1))/0xa)+-parseInt(f(0xd0))/0xb*(-parseInt(f(0xcf))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0xb7cfa));var a87b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a87d;if(c){var e=c[g(0xc3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){var h=a87d;return a87a[h(0xd2)]()[h(0xca)]('(((.+)+)+)+$')['toString']()[h(0xcc)](a87a)[h(0xca)]('(((.+)+)+)+$');});function a87d(a,b){var c=a87c();return a87d=function(d,e){d=d-0xc3;var f=c[d];return f;},a87d(a,b);}function a87c(){var i=['3798436bKPCgA','21847fyizbK','search','14yjMafP','constructor','26361BxqTFV','1267820VIWrvS','125412aATRBr','3069QDLJII','732850zwavJw','toString','apply','1592rAxccB','8153112QxKSyv','5oLaxAm','54RcLzFJ'];a87c=function(){return i;};return a87c();}a87a();import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';
@@ -1 +1 @@
1
- const a88k=a88d;(function(a,b){const h=a88d,c=a();while(!![]){try{const d=-parseInt(h(0x1b3))/0x1*(-parseInt(h(0x1a7))/0x2)+-parseInt(h(0x1c6))/0x3*(-parseInt(h(0x1cf))/0x4)+-parseInt(h(0x1ae))/0x5+parseInt(h(0x1c8))/0x6+-parseInt(h(0x1b7))/0x7+-parseInt(h(0x1d2))/0x8*(-parseInt(h(0x1d0))/0x9)+-parseInt(h(0x1b5))/0xa*(-parseInt(h(0x1c1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x2f026));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a88d;if(c){const e=c[i(0x1bc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const j=a88d;return a88a[j(0x1b9)]()[j(0x1cc)](j(0x1a9))['toString']()['constructor'](a88a)[j(0x1cc)]('(((.+)+)+)+$');});function a88c(){const m=['maka\x20set:global-config\x20--cacert\x20<path>','\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','27129ZqWweW','Set\x20OpenAI\x20Key:\x20','894804yaQnHF','allowInsecure','Set\x20color\x20pallet\x20to:\x20','success','search','create','error','136TksHXa','9REQXhb','exit','14992xziPnO','One\x20or\x20the\x20other\x20buddy','global-config','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','dark','10506zUSeMo','fsi','(((.+)+)+)+$','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','pallet','help','setGlobalConfig','1835445rDIgXl','isFile','disallowInsecure','Could\x20not\x20find\x20directory','maka\x20set:gc\x20--workspace\x20<path>','5EEYmGg','maka\x20set:global-config','3073150hsnhww','Set\x20allowInsecure:\x20','1626877VqmdPX','maka\x20set:gc\x20--insecure\x20<path>','toString','openai','cacert','apply','light','workspace','resolve','boolean','11delInN','Set\x20CA\x20Cert\x20Path:\x20','Set\x20global\x20Maka-CLI\x20settings'];a88c=function(){return m;};return a88c();}a88a();import a88e from'path';function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x1a7;let f=c[d];return f;},a88d(a,b);}import a88f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a88k(0x1cd)]({'name':a88k(0x1d4),'usage':a88k(0x1b4),'aliases':['gc'],'maxOptsLength':0x3,'validOpts':[{'name':a88k(0x1bb),'boolFlag':![]},{'name':a88k(0x1c9),'boolFlag':!![]},{'name':a88k(0x1b0),'boolFlag':!![]},{'name':a88k(0x1be),'boolFlag':![]},{'name':a88k(0x1ba),'boolFlag':![]},{'name':a88k(0x1ac),'boolFlag':!![]},{'name':a88k(0x1ab),'values':[a88k(0x1bd),a88k(0x1d6)]}],'shortDesc':a88k(0x1c3),'description':a88k(0x1c5),'examples':[a88k(0x1c4),a88k(0x1b8),a88k(0x1b2)]},async function(a,b){const l=a88k;try{if(b[l(0x1bb)]){if(this['fsi'][l(0x1af)](b[l(0x1bb)]))await this['fsi'][l(0x1ad)]({'cert':b[l(0x1bb)]}),Log[l(0x1cb)](l(0x1c2)+b[l(0x1bb)]);else{const c=typeof b[l(0x1bb)]===l(0x1c0)?l(0x1d5):l(0x1aa)+b['cacert'];throw Log[l(0x1ce)](c);}}if(b[l(0x1be)]){const d=this[l(0x1a8)]['isDirectory'](b[l(0x1be)]);if(d)await this[l(0x1a8)][l(0x1ad)]({'workspace':a88e['resolve'](b[l(0x1be)])}),Log[l(0x1cb)]('Set\x20workspace:\x20'+a88e[l(0x1bf)](b[l(0x1be)]));else throw Log['error'](l(0x1b1));}b[l(0x1ba)]&&(await this['fsi'][l(0x1ad)]({'openai':b['openai']}),Log[l(0x1cb)](l(0x1c7)+b[l(0x1ba)]));b[l(0x1ab)]&&(await this[l(0x1a8)][l(0x1ad)]({'pallet':b[l(0x1ab)]}),Log[l(0x1cb)](l(0x1ca)+b[l(0x1ab)]));if(b['allowInsecure']){if(b[l(0x1c9)]&&b[l(0x1b0)])throw Log[l(0x1ce)](l(0x1d3));let f=b[l(0x1c9)];b[l(0x1b0)]&&(f=![]),await this[l(0x1a8)][l(0x1ad)]({'allowInsecure':f}),Log[l(0x1cb)](l(0x1b6)+f);}process[l(0x1d1)](0x0);}catch(g){console[l(0x1ce)](g),process[l(0x1d1)](0x0);}},a88f);
1
+ const a88j=a88d;(function(a,b){const h=a88d,c=a();while(!![]){try{const d=parseInt(h(0x167))/0x1*(-parseInt(h(0x14d))/0x2)+-parseInt(h(0x149))/0x3+parseInt(h(0x150))/0x4*(-parseInt(h(0x14f))/0x5)+parseInt(h(0x156))/0x6*(-parseInt(h(0x164))/0x7)+-parseInt(h(0x166))/0x8+parseInt(h(0x14e))/0x9+-parseInt(h(0x146))/0xa*(-parseInt(h(0x15e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x9ba85));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const i=a88d;return a88a[i(0x15d)]()[i(0x13f)](i(0x13e))['toString']()['constructor'](a88a)[i(0x13f)](i(0x13e));});a88a();import a88e from'path';import a88f from'./set.command.js';import{Command}from'../../command.js';function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x13b;let f=c[d];return f;},a88d(a,b);}function a88c(){const l=['547317ZUVXsl','openai','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','cacert','4HtMwMm','9434097YsYuzQ','2213595ChXkfj','4ZSCFuW','Set\x20workspace:\x20','disallowInsecure','help','Set\x20CA\x20Cert\x20Path:\x20','allowInsecure','28518NnouqO','dark','Set\x20color\x20pallet\x20to:\x20','success','error','maka\x20set:gc\x20--insecure\x20<path>','isFile','toString','9691tapWEQ','light','maka\x20set:global-config','pallet','boolean','maka\x20set:gc\x20--workspace\x20<path>','665NlgiIY','Set\x20global\x20Maka-CLI\x20settings','8700408BoPXVr','295819lhWeVk','workspace','create','maka\x20set:global-config\x20--cacert\x20<path>','(((.+)+)+)+$','search','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','Could\x20not\x20find\x20directory','global-config','fsi','resolve','One\x20or\x20the\x20other\x20buddy','26620ooMRzL','setGlobalConfig','exit'];a88c=function(){return l;};return a88c();}import{Log}from'../../tools/log/log.class.js';Command[a88j(0x13c)]({'name':a88j(0x142),'usage':a88j(0x160),'aliases':['gc'],'maxOptsLength':0x3,'validOpts':[{'name':a88j(0x14c),'boolFlag':![]},{'name':a88j(0x155),'boolFlag':!![]},{'name':a88j(0x152),'boolFlag':!![]},{'name':'workspace','boolFlag':![]},{'name':a88j(0x14a),'boolFlag':![]},{'name':a88j(0x153),'boolFlag':!![]},{'name':a88j(0x161),'values':[a88j(0x15f),a88j(0x157)]}],'shortDesc':a88j(0x165),'description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x0a\x20\x20There\x20are\x20occasions\x20where\x20your\x20network\x20may\x20need\x20an\x20intermediate\x20certificate\x0a\x20\x20to\x20allow\x20connections\x20outside.\x20\x20You\x20may\x20set\x20your\x20certificate\x20path\x20using\x20the\x20command:\x0a\x0a\x20\x20maka\x20set:gc\x20--cacert\x0a\x20\x20','examples':[a88j(0x13d),a88j(0x15b),a88j(0x163)]},async function(a,b){const k=a88j;try{if(b[k(0x14c)]){if(this[k(0x143)][k(0x15c)](b['cacert']))await this['fsi']['setGlobalConfig']({'cert':b['cacert']}),Log[k(0x159)](k(0x154)+b[k(0x14c)]);else{const c=typeof b[k(0x14c)]===k(0x162)?k(0x14b):k(0x140)+b['cacert'];throw Log[k(0x15a)](c);}}if(b['workspace']){const d=this[k(0x143)]['isDirectory'](b[k(0x13b)]);if(d)await this[k(0x143)][k(0x147)]({'workspace':a88e[k(0x144)](b['workspace'])}),Log['success'](k(0x151)+a88e[k(0x144)](b[k(0x13b)]));else throw Log[k(0x15a)](k(0x141));}b['openai']&&(await this[k(0x143)]['setGlobalConfig']({'openai':b[k(0x14a)]}),Log[k(0x159)]('Set\x20OpenAI\x20Key:\x20'+b['openai']));b[k(0x161)]&&(await this[k(0x143)][k(0x147)]({'pallet':b[k(0x161)]}),Log[k(0x159)](k(0x158)+b[k(0x161)]));if(b[k(0x155)]){if(b['allowInsecure']&&b['disallowInsecure'])throw Log[k(0x15a)](k(0x145));let f=b[k(0x155)];b[k(0x152)]&&(f=![]),await this['fsi'][k(0x147)]({'allowInsecure':f}),Log[k(0x159)]('Set\x20allowInsecure:\x20'+f);}process['exit'](0x0);}catch(g){console[k(0x15a)](g),process[k(0x148)](0x0);}},a88f);
@@ -1 +1 @@
1
- function a89d(a,b){var c=a89c();return a89d=function(d,e){d=d-0x19c;var f=c[d];return f;},a89d(a,b);}var a89i=a89d;(function(a,b){var f=a89d,c=a();while(!![]){try{var d=-parseInt(f(0x1a8))/0x1+parseInt(f(0x19f))/0x2+parseInt(f(0x1ac))/0x3+parseInt(f(0x1aa))/0x4*(parseInt(f(0x1a9))/0x5)+parseInt(f(0x19c))/0x6*(-parseInt(f(0x1a6))/0x7)+-parseInt(f(0x1a5))/0x8*(parseInt(f(0x1ad))/0x9)+parseInt(f(0x1a2))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x25ccf));var a89b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a89d;if(c){var e=c[g(0x1ab)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){var h=a89d;return a89a[h(0x1ae)]()[h(0x1a7)](h(0x1a0))[h(0x1ae)]()['constructor'](a89a)['search'](h(0x1a0));});a89a();import a89e from'./set.command.js';function a89c(){var k=['296867zihnMC','255OHkbSB','2452NjHKkA','apply','369576TOfGia','9TDDxog','toString','1482dAmWha','notice','create','230226LHupbm','(((.+)+)+)+$','local-config','6551260PkmbRi','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','Set\x20local\x20maka\x20app\x20settings','1387080FfQyKv','8491UvJWIW','search'];a89c=function(){return k;};return a89c();}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a89i(0x19e)]({'name':a89i(0x1a1),'usage':'maka\x20set:local-config','examples':[],'aliases':['lc'],'mustBeInMakaProject':!![],'shortDesc':a89i(0x1a4),'validOpts':[],'description':a89i(0x1a3)},async function(){var j=a89i;Log[j(0x19d)]('Sorry,\x20not\x20implemented\x20yet');},a89e);
1
+ var a89h=a89d;(function(a,b){var f=a89d,c=a();while(!![]){try{var d=-parseInt(f(0x123))/0x1*(-parseInt(f(0x126))/0x2)+-parseInt(f(0x12f))/0x3+-parseInt(f(0x12a))/0x4+-parseInt(f(0x124))/0x5+-parseInt(f(0x12c))/0x6*(-parseInt(f(0x130))/0x7)+-parseInt(f(0x12d))/0x8*(parseInt(f(0x128))/0x9)+parseInt(f(0x127))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x6acc7));var a89b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){var g=a89d;return a89a['toString']()[g(0x125)](g(0x132))['toString']()[g(0x12e)](a89a)['search']('(((.+)+)+)+$');});a89a();import a89e from'./set.command.js';function a89c(){var i=['2BBOoQO','8747020PsWWHC','3033RsddQz','create','1947244kmcvZK','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','2750802RivVCR','2216TERtDt','constructor','718779NcbzBC','7VHJhsh','Set\x20local\x20maka\x20app\x20settings','(((.+)+)+)+$','259672vDEmCH','1678205ukZeaZ','search'];a89c=function(){return i;};return a89c();}function a89d(a,b){var c=a89c();return a89d=function(d,e){d=d-0x123;var f=c[d];return f;},a89d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a89h(0x129)]({'name':'local-config','usage':'maka\x20set:local-config','examples':[],'aliases':['lc'],'mustBeInMakaProject':!![],'shortDesc':a89h(0x131),'validOpts':[],'description':a89h(0x12b)},async function(){Log['notice']('Sorry,\x20not\x20implemented\x20yet');},a89e);
@@ -1 +1 @@
1
- const a90h=a90d;(function(a,b){const f=a90d,c=a();while(!![]){try{const d=-parseInt(f(0x195))/0x1*(parseInt(f(0x1a6))/0x2)+-parseInt(f(0x192))/0x3*(-parseInt(f(0x19a))/0x4)+parseInt(f(0x1a0))/0x5*(parseInt(f(0x1a3))/0x6)+-parseInt(f(0x1a5))/0x7*(parseInt(f(0x1a7))/0x8)+parseInt(f(0x193))/0x9*(parseInt(f(0x19b))/0xa)+-parseInt(f(0x19f))/0xb*(parseInt(f(0x19e))/0xc)+parseInt(f(0x198))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0x8aa19));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const g=a90d;return a90a[g(0x1a2)]()[g(0x194)](g(0x199))['toString']()[g(0x197)](a90a)[g(0x194)](g(0x199));});function a90c(){const j=['\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','12yVXFJl','9962579NWZUej','205tpvXNI','create','toString','21210NFXzvr','set','7lgqSHY','2201312UfoaqF','3349136llsNYO','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','67701WBIudu','1047177TWbXUL','search','1fnUKVq','runSubCommand','constructor','33703956iwIEls','(((.+)+)+)+$','4GkKyhw','20WTDgZi','maka\x20set:<sub-command>'];a90c=function(){return j;};return a90c();}a90a();function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x191;let f=c[d];return f;},a90d(a,b);}import{Command}from'../../command.js';const SetCommand=Command[a90h(0x1a1)]({'name':a90h(0x1a4),'usage':a90h(0x19c),'shortDesc':a90h(0x191),'description':a90h(0x19d),'validOpts':[]},async function(a,b){const i=a90h,c=a[0x0],d=this['findSubCommand'](c);d&&this[i(0x196)](c,a,b);});export default SetCommand;
1
+ const a90i=a90d;(function(a,b){const f=a90d,c=a();while(!![]){try{const d=-parseInt(f(0xa8))/0x1*(-parseInt(f(0xb8))/0x2)+-parseInt(f(0xb6))/0x3*(-parseInt(f(0xb5))/0x4)+parseInt(f(0xaa))/0x5+parseInt(f(0xac))/0x6+-parseInt(f(0xab))/0x7+-parseInt(f(0xaf))/0x8*(-parseInt(f(0xb3))/0x9)+-parseInt(f(0xb9))/0xa*(parseInt(f(0xb4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0xddbce));function a90c(){const k=['5204PDpQmO','1926qzMTXm','runSubCommand','944carMXg','5230kIqZim','search','(((.+)+)+)+$','1709vSATnI','create','3796965sCyllH','10690750ZRhFwF','2930832FXFxyI','toString','constructor','27328BGRUWX','maka\x20set:<sub-command>','apply','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','3258OwBwtf','35563HCEsUu'];a90c=function(){return k;};return a90c();}const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a90d;if(c){const e=c[g(0xb1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const h=a90d;return a90a[h(0xad)]()[h(0xba)](h(0xa7))['toString']()[h(0xae)](a90a)[h(0xba)](h(0xa7));});a90a();import{Command}from'../../command.js';function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0xa7;let f=c[d];return f;},a90d(a,b);}const SetCommand=Command[a90i(0xa9)]({'name':'set','usage':a90i(0xb0),'shortDesc':'Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','description':a90i(0xb2),'validOpts':[]},async function(a,b){const j=a90i,c=a[0x0],d=this['findSubCommand'](c);d&&this[j(0xb7)](c,a,b);});export default SetCommand;
@@ -1 +1 @@
1
- const a91m=a91d;(function(a,b){const j=a91d,c=a();while(!![]){try{const d=-parseInt(j(0x18c))/0x1+-parseInt(j(0x198))/0x2+-parseInt(j(0x1a3))/0x3*(parseInt(j(0x189))/0x4)+parseInt(j(0x18e))/0x5+-parseInt(j(0x19e))/0x6+parseInt(j(0x1a0))/0x7*(-parseInt(j(0x188))/0x8)+parseInt(j(0x194))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0x2bb3b));const a91b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a91d;if(c){const e=c[k(0x19b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){const l=a91d;return a91a[l(0x1a1)]()['search']('(((.+)+)+)+$')[l(0x1a1)]()[l(0x1a5)](a91a)[l(0x18f)](l(0x18b));});a91a();import a91e from'fs';import a91f from'path';import{Command}from'../command.js';function a91d(a,b){const c=a91c();return a91d=function(d,e){d=d-0x187;let f=c[d];return f;},a91d(a,b);}import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';function a91c(){const o=['sshSync','readFileSync','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','449946nlcsrQ','parse','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','apply','ssh.json','assign','394512mlvLfw','verbose','812LTuhmq','toString','ssh','3CjjqlM','maka\x20ssh\x20--env\x20staging','constructor','join','exit','6168wSLYVA','1396228Wbnkoa','maka\x20ssh\x20<command>','(((.+)+)+)+$','111029VDzbSk','error','908655iNMkgW','search','env','maka\x20ssh\x20--env\x20dev','create','fsi','7537671cktdxj'];a91c=function(){return o;};return a91c();}Command[a91m(0x192)]({'name':a91m(0x1a2),'usage':a91m(0x18a),'mustBeInMakaProject':!![],'requiredOpts':['env'],'validOpts':[a91m(0x190),'verbose'],'isPro':!![],'shortDesc':a91m(0x19a),'examples':[a91m(0x191),a91m(0x1a4),'maka\x20ssh\x20--env\x20prod',a91m(0x197),'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(0x193)]['getAppConfigPath'](b[n(0x190)]);let d='';a['length']>0x0&&(d=a[0x0]);const f=a91f[n(0x1a6)](c,n(0x19c)),g=a91e[n(0x196)](f)[n(0x1a1)](),h=JSON[n(0x199)](g);Object[n(0x19d)](h,{'env':c}),SSH[n(0x195)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b[n(0x19f)]});}catch(i){Log[n(0x18d)](i),process[n(0x187)](0x1);}});
1
+ const a91m=a91d;function a91d(a,b){const c=a91c();return a91d=function(d,e){d=d-0x11d;let f=c[d];return f;},a91d(a,b);}function a91c(){const o=['sshSync','apply','parse','3118839SXzmGk','error','env','ssh','join','toString','192nLFjqJ','readFileSync','228724iVVqXH','966598NvzUBM','fsi','constructor','create','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','87975LoMjHW','8138640lhnwTe','5800214Vwkcyv','(((.+)+)+)+$','maka\x20ssh\x20<command>','search','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','exit','4820808CMgIOC','maka\x20ssh\x20--env\x20staging'];a91c=function(){return o;};return a91c();}(function(a,b){const j=a91d,c=a();while(!![]){try{const d=-parseInt(j(0x134))/0x1+parseInt(j(0x135))/0x2+-parseInt(j(0x12c))/0x3+-parseInt(j(0x132))/0x4*(-parseInt(j(0x11f))/0x5)+parseInt(j(0x127))/0x6+parseInt(j(0x121))/0x7+-parseInt(j(0x120))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0xa49d6));const a91b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a91d;if(c){const e=c[k(0x12a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){const l=a91d;return a91a[l(0x131)]()[l(0x124)](l(0x122))[l(0x131)]()[l(0x137)](a91a)[l(0x124)](l(0x122));});a91a();import a91e from'fs';import a91f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';Command[a91m(0x11d)]({'name':a91m(0x12f),'usage':a91m(0x123),'mustBeInMakaProject':!![],'requiredOpts':[a91m(0x12e)],'validOpts':['env','verbose'],'isPro':!![],'shortDesc':a91m(0x11e),'examples':['maka\x20ssh\x20--env\x20dev',a91m(0x128),'maka\x20ssh\x20--env\x20prod','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22',a91m(0x125)]},async function(a,b){const n=a91m;try{const c=this[n(0x136)]['getAppConfigPath'](b[n(0x12e)]);let d='';a['length']>0x0&&(d=a[0x0]);const f=a91f[n(0x130)](c,'ssh.json'),g=a91e[n(0x133)](f)[n(0x131)](),h=JSON[n(0x12b)](g);Object['assign'](h,{'env':c}),SSH[n(0x129)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['verbose']});}catch(i){Log[n(0x12d)](i),process[n(0x126)](0x1);}});
@@ -1 +1 @@
1
- const a92y=a92d;(function(a,b){const v=a92d,c=a();while(!![]){try{const d=-parseInt(v(0x1ae))/0x1+-parseInt(v(0x1d5))/0x2*(parseInt(v(0x1a1))/0x3)+parseInt(v(0x1c0))/0x4*(-parseInt(v(0x19f))/0x5)+parseInt(v(0x1c9))/0x6+parseInt(v(0x1a2))/0x7+parseInt(v(0x1ce))/0x8+-parseInt(v(0x1b3))/0x9*(parseInt(v(0x19e))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0x85ee0));const a92b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a92d;if(c){const e=c[w(0x1a9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){const x=a92d;return a92a[x(0x1c7)]()['search']('(((.+)+)+)+$')['toString']()[x(0x1a0)](a92a)[x(0x1b0)]('(((.+)+)+)+$');});function a92c(){const A=['success','fsi','env','ping','appName','start','Please\x20provide\x20a\x20command.','writeFileSync','ssh','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','exit','284Mbpbqc','generate-csr','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','create','ask','error','toString','domains','5413380waUGaj','assign','domainNames','parse','uname\x20-a','6623376hjxbNJ','generate-ssc','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','/ssh.json','emailUpdate','letsencrypt.json','Email\x20to\x20use\x20for\x20auto-updates:\x20','2wrqhVG','\x20--email\x20','sudo\x20snap\x20install\x20--classic\x20certbot','Using\x20saved\x20letsencrypt\x20config','email','.key','join','Verifying\x20Letsencrypt\x20configuration','110GliLFw','6185erFpsw','constructor','1346121zCiZOw','6831279POeSEt','New\x20CSR\x20written\x20to\x20','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','maka\x20ssl\x20--env\x20dev\x20generate-csr','maka\x20ssl\x20[command]','existsSync','notice','apply','letsencrypt','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','readFileSync','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','744976GNfbOb','.csr','search','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','Remote\x20host\x20connection\x20successful','716697BcQypN','mkKeysDir'];a92c=function(){return A;};return a92c();}a92a();import a92e from'fs';function a92d(a,b){const c=a92c();return a92d=function(d,e){d=d-0x19c;let f=c[d];return f;},a92d(a,b);}import a92f from'path';import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command[a92y(0x1c4)]({'name':'ssl','usage':a92y(0x1a6),'validOpts':[a92y(0x1c8),a92y(0x1d9)],'requiredOpts':[a92y(0x1b7)],'shortDesc':'Create\x20and\x20manage\x20your\x20SSL\x20operations.','mustBeInMakaProject':!![],'minArgLength':0x1,'isPro':!![],'examples':[a92y(0x1a5),a92y(0x1ad),a92y(0x1c3)]},async function(a,b){const z=a92y,c=this[z(0x1b6)]['getMakaProjectConfig'](),d=this['fsi']['getAppConfigPath'](b[z(0x1b7)]),f=this['fsi'][z(0x1b4)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0x1c1))SSL['genCSR']({'keyName':c['appName']+z(0x1da),'csrName':c[z(0x1b9)]+z(0x1af),'cwd':f});else{if(g===z(0x1cf)){if(!a92e[z(0x1a7)](a92f[z(0x19c)](f,c[z(0x1b9)]+z(0x1da))))throw z(0x1c2)+a92f[z(0x19c)](f,c[z(0x1b9)]+z(0x1da));if(!a92e['existsSync'](a92f[z(0x19c)](f,c[z(0x1b9)]+z(0x1af))))throw z(0x1be)+a92f['join'](f,c[z(0x1b9)]+z(0x1af));SSL['genSSC']({'keyName':c[z(0x1b9)]+'.key','crtName':c[z(0x1b9)]+'.crt','cwd':f}),Log[z(0x1a8)](z(0x1a3)+f);}else{if(g===z(0x1aa)){let h=b[z(0x1c8)],i=b[z(0x1d9)];try{const p=a92e['readFileSync'](a92f[z(0x19c)](d,z(0x1d3)))[z(0x1c7)](),q=JSON[z(0x1cc)](p);h=b[z(0x1c8)]?b[z(0x1c8)]:q[z(0x1cb)],i=b[z(0x1d9)]?b['email']:q[z(0x1d2)],(!b['email']||!b[z(0x1c8)])&&Log[z(0x1a8)](z(0x1d8));}catch(r){}const j=JSON[z(0x1cc)](a92e[z(0x1ac)](d+z(0x1d1))[z(0x1c7)]());Object[z(0x1ca)](j,{'env':d}),Log[z(0x1a8)]('Checking\x20remote\x20host\x20availability');try{const s=SSH[z(0x1b8)](z(0x1cd),j);if(!s)throw z(0x1b1);if(s)Log[z(0x1b5)](z(0x1b2));}catch(t){Log[z(0x1c6)](t);return;}const k=Log['withSpinner']();k[z(0x1ba)](z(0x19d)),SSH[z(0x1bd)](z(0x1ab),{...j}),SSH[z(0x1bd)](z(0x1d7),{...j}),SSH['ssh'](z(0x1a4),{...j}),k[z(0x1b5)]();const l=h?h:await Actions[z(0x1c5)]('[?]\x20Domains\x20to\x20register:\x20'),m=i?i:await Actions[z(0x1c5)](z(0x1d4));SSH[z(0x1bd)](z(0x1d0)+l+z(0x1d6)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON['stringify'](n,null,0x2);a92e[z(0x1bc)](a92f[z(0x19c)](d,z(0x1d3)),o);}else throw z(0x1bb);}}}catch(u){console[z(0x1c6)](u),process[z(0x1bf)](0x0);}});
1
+ function a92d(a,b){const c=a92c();return a92d=function(d,e){d=d-0xd3;let f=c[d];return f;},a92d(a,b);}const a92y=a92d;(function(a,b){const v=a92d,c=a();while(!![]){try{const d=-parseInt(v(0x10c))/0x1*(-parseInt(v(0x10d))/0x2)+-parseInt(v(0xdb))/0x3*(-parseInt(v(0xff))/0x4)+-parseInt(v(0xde))/0x5*(-parseInt(v(0xf2))/0x6)+-parseInt(v(0xf5))/0x7+-parseInt(v(0xd4))/0x8*(-parseInt(v(0xdc))/0x9)+parseInt(v(0xfd))/0xa+-parseInt(v(0xf3))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0x374f0));const a92b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a92d;if(c){const e=c[w(0xfe)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){const x=a92d;return a92a[x(0xe2)]()[x(0xe4)](x(0xd7))[x(0xe2)]()[x(0x110)](a92a)[x(0xe4)]('(((.+)+)+)+$');});a92a();import a92e from'fs';import a92f from'path';import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command[a92y(0x100)]({'name':'ssl','usage':'maka\x20ssl\x20[command]','validOpts':[a92y(0x101),a92y(0x112)],'requiredOpts':[a92y(0xda)],'shortDesc':a92y(0xf6),'mustBeInMakaProject':!![],'minArgLength':0x1,'isPro':!![],'examples':[a92y(0xf0),'maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process']},async function(a,b){const z=a92y,c=this[z(0xfb)][z(0xfc)](),d=this[z(0xfb)][z(0x108)](b[z(0xda)]),f=this[z(0xfb)][z(0xdd)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0x103))SSL[z(0xf1)]({'keyName':c['appName']+'.key','csrName':c['appName']+'.csr','cwd':f});else{if(g==='generate-ssc'){if(!a92e[z(0xfa)](a92f[z(0x107)](f,c[z(0x10b)]+'.key')))throw z(0xe3)+a92f[z(0x107)](f,c[z(0x10b)]+z(0xf7));if(!a92e[z(0xfa)](a92f[z(0x107)](f,c[z(0x10b)]+z(0xee))))throw z(0xe7)+a92f[z(0x107)](f,c[z(0x10b)]+z(0xee));SSL[z(0x10a)]({'keyName':c[z(0x10b)]+z(0xf7),'crtName':c[z(0x10b)]+'.crt','cwd':f}),Log[z(0x10f)](z(0xed)+f);}else{if(g===z(0xd3)){let h=b['domains'],i=b['email'];try{const p=a92e[z(0x114)](a92f[z(0x107)](d,z(0xf4)))[z(0xe2)](),q=JSON[z(0x109)](p);h=b[z(0x101)]?b[z(0x101)]:q[z(0xd5)],i=b[z(0x112)]?b[z(0x112)]:q[z(0xe6)],(!b[z(0x112)]||!b[z(0x101)])&&Log[z(0x10f)](z(0xe8));}catch(r){}const j=JSON[z(0x109)](a92e[z(0x114)](d+z(0xeb))['toString']());Object[z(0x10e)](j,{'env':d}),Log[z(0x10f)](z(0xea));try{const s=SSH[z(0xdf)](z(0xe9),j);if(!s)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(s)Log[z(0xd6)](z(0x106));}catch(t){Log[z(0xd9)](t);return;}const k=Log['withSpinner']();k[z(0x104)]('Verifying\x20Letsencrypt\x20configuration'),SSH[z(0xf8)](z(0xef),{...j}),SSH[z(0xf8)](z(0xe5),{...j}),SSH[z(0xf8)](z(0xe0),{...j}),k[z(0xd6)]();const l=h?h:await Actions['ask'](z(0x113)),m=i?i:await Actions[z(0x102)](z(0xd8));SSH[z(0xf8)](z(0xec)+l+z(0xe1)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0xf9)](n,null,0x2);a92e[z(0x111)](a92f['join'](d,z(0xf4)),o);}else throw'Please\x20provide\x20a\x20command.';}}}catch(u){console[z(0xd9)](u),process[z(0x105)](0x0);}});function a92c(){const A=['getAppConfigPath','parse','genSSC','appName','1rQBOyP','144938tAqfmU','assign','notice','constructor','writeFileSync','email','[?]\x20Domains\x20to\x20register:\x20','readFileSync','letsencrypt','2878568wHKEmX','domainNames','success','(((.+)+)+)+$','Email\x20to\x20use\x20for\x20auto-updates:\x20','error','env','22881HCqSGt','9vtmNjc','mkKeysDir','70RDRQIH','ping','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','\x20--email\x20','toString','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','search','sudo\x20snap\x20install\x20--classic\x20certbot','emailUpdate','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','Using\x20saved\x20letsencrypt\x20config','uname\x20-a','Checking\x20remote\x20host\x20availability','/ssh.json','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','New\x20CSR\x20written\x20to\x20','.csr','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','maka\x20ssl\x20--env\x20dev\x20generate-csr','genCSR','36630PSkAEO','8290018SZEVyI','letsencrypt.json','99204EMQulF','Create\x20and\x20manage\x20your\x20SSL\x20operations.','.key','ssh','stringify','existsSync','fsi','getMakaProjectConfig','3316810aMRqKO','apply','76LFMoRD','create','domains','ask','generate-csr','start','exit','Remote\x20host\x20connection\x20successful','join'];a92c=function(){return A;};return a92c();}
@@ -1 +1 @@
1
- const a93p=a93d;(function(a,b){const m=a93d,c=a();while(!![]){try{const d=-parseInt(m(0x9c))/0x1+parseInt(m(0xbb))/0x2*(parseInt(m(0xba))/0x3)+-parseInt(m(0xa9))/0x4+-parseInt(m(0xab))/0x5+parseInt(m(0x9d))/0x6*(parseInt(m(0xca))/0x7)+parseInt(m(0xbe))/0x8+-parseInt(m(0xc7))/0x9*(-parseInt(m(0xad))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0xd3225));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const n=a93d;return a93a[n(0xb9)]()[n(0xbf)]('(((.+)+)+)+$')[n(0xb9)]()[n(0xc1)](a93a)[n(0xbf)](n(0xb1));});a93a();function a93c(){const s=['settings.json','driver','981160aOLnFj','8766EALXEc','findProjectDirectory','concat','jasmine','once','Cannot\x20find\x20Node\x20Environment\x20File:\x20','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','readFileSync','port','forEach','Meteor\x20Settings:\x20','isFile','4027608cUHkJi','config','7278470Yqlvqt','getAppConfigPath','10NARvtt','splice','Node\x20Env\x20Config:\x20','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','(((.+)+)+)+$','engines','env','config.json','testAppPath','error','packages','filter','toString','89277NrYnTZ','34NVBZRY','--driver-package','development','4878488DoirVw','search','none','constructor','inspect','--packages','rawLogs','slice','test-packages','19215747EdjIun','parse','fsi','5068yyYMYC','test','process.env','unit','argv','exit','create','--env','invokeMeteorCommand','driver-package','join','notice','mocha','warn'];a93c=function(){return s;};return a93c();}import a93e from'fs';function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x8d;let f=c[d];return f;},a93d(a,b);}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 o=a93d;a93e['openSync'](a,'r'),a93g[o(0xaa)]({'path':a});};Command[a93p(0x92)]({'name':a93p(0x8d),'mustBeInMakaProject':!![],'validOpts':[a93p(0xa1),'packages',a93p(0x9b),'driverPackage',a93p(0x8f),a93p(0xb3),a93p(0xc4),a93p(0xa5),a93p(0xc2),a93p(0xb5)],'usage':'maka\x20test\x20<opts>','shortDesc':'Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','examples':[]},function(a,b){const q=a93p;try{let c=this[q(0xc9)]['getAppConfigPath'](q(0xbd));b[q(0xb3)]&&(c=this[q(0xc9)][q(0xac)](b['env']));(!b[q(0x8f)]||!!b[q(0xa1)])&&(a=a[q(0x9f)](['--full-app']));b[q(0x8f)]&&delete b['unit'];let d=b[q(0x95)]||b[q(0x9b)]||q(0xc0);if(d===q(0xc0)){const j=JSON[q(0xc8)](a93e[q(0xa4)](a93f[q(0x96)](this['fsi'][q(0x9e)](),'.maka',q(0xb4)),'utf8'));if(j[q(0xb2)][q(0x8d)]===q(0xa0))d='sanjo:jasmine';else j['engines'][q(0x8d)]===q(0x98)&&(d='meteortesting:mocha');}if(d==='none')throw q(0xb0);(!b['driver-package']||!b[q(0x9b)])&&(a=a[q(0x9f)]([q(0xbc),d]));const f=a93f[q(0x96)](c,q(0x9a));this['fsi'][q(0xa8)](f)?(Log[q(0x97)](q(0xa7)+f),a=a['concat'](['--settings',f])):Log[q(0x99)](q(0xa3)+f);const g=a93f[q(0x96)](c,q(0x8e));this[q(0xc9)][q(0xa8)](g)?(Log[q(0x97)](q(0xaf)+g),syncSource(g)):Log['warn'](q(0xa2)+g);const h=process[q(0x90)][q(0xc5)](0x2)[q(0xb8)](k=>k!==q(0x93))[q(0xb8)](k=>k!==q(0x8d))['filter'](k=>k!==a[0x0]);h[q(0xa6)]((k,l)=>{const r=q;(k==='--env'||k==='--driver')&&h['splice'](l,0x2),k===r(0xc3)&&h[r(0xae)](l,0x1);});const i=b[q(0xb7)]?q(0xc6):q(0x8d);this[q(0xc9)][q(0x94)](i,a['concat'](h));}catch(k){console[q(0xb6)](k),process[q(0x91)](0x0);}});
1
+ const a93p=a93d;(function(a,b){const m=a93d,c=a();while(!![]){try{const d=-parseInt(m(0x95))/0x1+parseInt(m(0x88))/0x2+-parseInt(m(0xa9))/0x3*(-parseInt(m(0x96))/0x4)+-parseInt(m(0xac))/0x5*(-parseInt(m(0x74))/0x6)+-parseInt(m(0x99))/0x7+-parseInt(m(0xa6))/0x8+-parseInt(m(0xab))/0x9*(-parseInt(m(0x72))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0xa13bb));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const n=a93d;return a93a[n(0xa8)]()['search'](n(0xa3))[n(0xa8)]()[n(0x83)](a93a)['search'](n(0xa3));});a93a();import a93e from'fs';import a93f from'path';import a93g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x71;let f=c[d];return f;},a93d(a,b);}const syncSource=function(a){const o=a93d;a93e[o(0x7e)](a,'r'),a93g[o(0x98)]({'path':a});};Command['create']({'name':'test','mustBeInMakaProject':!![],'validOpts':['once','packages','driver',a93p(0x71),'unit',a93p(0x73),a93p(0x92),a93p(0x76),a93p(0x84),a93p(0x93)],'usage':a93p(0x7f),'shortDesc':a93p(0x75),'examples':[]},function(a,b){const q=a93p;try{let c=this['fsi'][q(0xa2)](q(0xaa));b[q(0x73)]&&(c=this[q(0xa7)][q(0xa2)](b['env']));(!b[q(0x9d)]||!!b[q(0x94)])&&(a=a[q(0x78)]([q(0xa1)]));b[q(0x9d)]&&delete b[q(0x9d)];let d=b[q(0x85)]||b['driver']||'none';if(d===q(0x7d)){const j=JSON[q(0x9f)](a93e['readFileSync'](a93f['join'](this['fsi'][q(0x8d)](),q(0x87),q(0x81)),q(0x9e)));if(j['engines'][q(0x77)]===q(0x9a))d='sanjo:jasmine';else j[q(0xa0)][q(0x77)]==='mocha'&&(d=q(0xa5));}if(d==='none')throw q(0x8c);(!b[q(0x85)]||!b['driver'])&&(a=a[q(0x78)]([q(0x9c),d]));const f=a93f['join'](c,'settings.json');this['fsi'][q(0x8b)](f)?(Log['notice'](q(0x80)+f),a=a[q(0x78)]([q(0x9b),f])):Log[q(0x8e)](q(0x79)+f);const g=a93f[q(0x97)](c,q(0x86));this[q(0xa7)][q(0x8b)](g)?(Log['notice'](q(0xa4)+g),syncSource(g)):Log[q(0x8e)](q(0x7b)+g);const h=process[q(0x7a)][q(0x89)](0x2)[q(0x90)](k=>k!=='--env')[q(0x90)](k=>k!==q(0x77))[q(0x90)](k=>k!==a[0x0]);h['forEach']((k,l)=>{const r=q;(k===r(0x8f)||k==='--driver')&&h[r(0x8a)](l,0x2),k==='--packages'&&h[r(0x8a)](l,0x1);});const i=b[q(0x7c)]?q(0x91):q(0x77);this[q(0xa7)][q(0x82)](i,a[q(0x78)](h));}catch(k){console['error'](k),process['exit'](0x0);}});function a93c(){const s=['1970810oMXDAc','slice','splice','isFile','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','findProjectDirectory','warn','--env','filter','test-packages','rawLogs','testAppPath','once','124693tHkZBQ','4ybPJha','join','config','3621338RqRizM','jasmine','--settings','--driver-package','unit','utf8','parse','engines','--full-app','getAppConfigPath','(((.+)+)+)+$','Node\x20Env\x20Config:\x20','meteortesting:mocha','5327936DmMgHE','fsi','toString','279645cmrLqz','development','1446957ecCckP','291065MbfRuw','driverPackage','30TwIjOS','env','42FrBzWn','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','port','test','concat','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','argv','Cannot\x20find\x20Node\x20Environment\x20File:\x20','packages','none','openSync','maka\x20test\x20<opts>','Meteor\x20Settings:\x20','config.json','invokeMeteorCommand','constructor','inspect','driver-package','process.env','.maka'];a93c=function(){return s;};return a93c();}
@@ -1 +1 @@
1
- function a94d(a,b){const c=a94c();return a94d=function(d,e){d=d-0xda;let f=c[d];return f;},a94d(a,b);}const a94n=a94d;(function(a,b){const k=a94d,c=a();while(!![]){try{const d=-parseInt(k(0xfb))/0x1+-parseInt(k(0xf8))/0x2*(parseInt(k(0xf1))/0x3)+parseInt(k(0x105))/0x4+parseInt(k(0xeb))/0x5+parseInt(k(0xf9))/0x6*(-parseInt(k(0x109))/0x7)+parseInt(k(0xf4))/0x8+-parseInt(k(0x107))/0x9*(parseInt(k(0xe8))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0x6c8bc));const a94b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a94d;if(c){const e=c[l(0x101)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){const m=a94d;return a94a['toString']()[m(0xee)](m(0xe3))[m(0xdd)]()[m(0xe5)](a94a)[m(0xee)]('(((.+)+)+)+$');});function a94c(){const p=['meteor','apply','majestic','platform','fsi','1895956yOSFcx','win32','36JXXMis','notice','623Aatafu','Project\x27s\x20Meteor\x20Version\x20','node\x20-v','version','replace','compareMakaToLatest','toString','isMakaProject','verbose','getGlobalMeteorVersion','----------------------Project----------------------------','System\x27s\x20Node\x20Version\x20','(((.+)+)+)+$','getProjectsMeteorNodeVersion','constructor','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','\x20node\x20-v','360460hwtXPN','\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','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','3519340ORKCLM','Project\x27s\x20Meteor\x20Node\x20Version\x20','bright','search','maka\x20v','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','1653xGDHop','----------------------System----------------------------','\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','2277288dHNWqd','N/A','error','getProjectMeteorVersion','1442rBLLkW','24012lgaucJ','Maka\x20','120281PTVFsT','4.7.1','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','warn',')\x20to\x20at\x20least\x20meteor\x27s\x20('];a94c=function(){return p;};return a94c();}a94a();import{execSync}from'child_process';import a94e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':a94n(0xfc)};Command['create']({'name':a94n(0xda),'aliases':['v'],'usage':'maka\x20version','maxArgLength':0x1,'validOpts':[a94n(0xdf)],'shortDesc':a94n(0xe6),'examples':[a94n(0xef),'maka\x20version','maka\x20version\x20--verbose'],'description':a94n(0xf3)},async function(a,b){const o=a94n;try{const c=process[o(0x103)]===o(0x106)?'meteor.bat':o(0x100);Log[o(0x102)](o(0xfa)+pjson['version']),await this[o(0x104)][o(0xdc)]();if(b['verbose']){await this[o(0x104)][o(0xdc)](),Log[o(0xed)](o(0xf2));const d=this[o(0x104)][o(0xe0)]();Log[o(0xed)](('System\x27s\x20Meteor\x20Version\x20'+d)[o(0xdb)]('\x0a',''));const f=execSync(c+o(0xe7))[o(0xdd)]()['replace'](/\r?\n|\r/,'')[o(0xdb)]('v','');Log[o(0xed)](o(0xf0)+f);const g=execSync(o(0x10b))['toString']()['replace'](/\r?\n|\r/,'')[o(0xdb)]('v','');a94e['gt'](f,g)?(Log[o(0xfe)](o(0xe2)+g),Log['warn'](o(0xfd)+g+o(0xff)+f+')')):Log[o(0xed)](o(0xe2)+g);if(this['fsi'][o(0xde)]()){Log[o(0xed)](o(0xe1));const h=this[o(0x104)][o(0xf7)]();a94e['gt'](d,h)?(Log[o(0xfe)](o(0x10a)+h[o(0xdb)]('\x0a','')),Log[o(0xfe)](o(0xea)+d+'\x22')):Log[o(0x108)]((o(0x10a)+h)[o(0xdb)]('\x0a',''));const i=await this[o(0x104)][o(0xe4)]();i===o(0xf5)?(Log[o(0xfe)]('Project\x27s\x20Meteor\x20Node\x20Version\x20'+i),Log[o(0xfe)]('\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.')):Log[o(0xed)](o(0xec)+i),Log[o(0xed)](o(0xe9));}}}catch(j){console[o(0xf6)](j),process['exit'](0x0);}});
1
+ const a94n=a94d;(function(a,b){const k=a94d,c=a();while(!![]){try{const d=-parseInt(k(0xd0))/0x1+parseInt(k(0xbd))/0x2+-parseInt(k(0xbf))/0x3+parseInt(k(0xe1))/0x4*(parseInt(k(0xcb))/0x5)+-parseInt(k(0xe7))/0x6*(parseInt(k(0xe8))/0x7)+-parseInt(k(0xd4))/0x8+parseInt(k(0xeb))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0xed9e1));const a94b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a94d;if(c){const e=c[l(0xca)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){const m=a94d;return a94a[m(0xdb)]()[m(0xbc)](m(0xc8))[m(0xdb)]()[m(0xd2)](a94a)[m(0xbc)](m(0xc8));});a94a();import{execSync}from'child_process';import a94e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a94d(a,b){const c=a94c();return a94d=function(d,e){d=d-0xb9;let f=c[d];return f;},a94d(a,b);}const pjson={'version':'4.7.3'};function a94c(){const p=['Project\x27s\x20Meteor\x20Version\x20','compareMakaToLatest','N/A','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','5042706qIfaYm','14jCReWR','meteor','replace','35907732jFjAmI','\x0a\x20\x20When\x20using\x20the\x20--verbose\x20flag,\x20maka\x20will\x20also\x20check\x20the\x20version\x20of\x20the\x20system\x27s\x20meteor\x20and\x20node\x20versions\x0a\x20\x20along\x20with\x20the\x20project\x27s\x20meteor\x20and\x20node\x20versions.\x20If\x20the\x20system\x27s\x20meteor\x20version\x20is\x20greater\x20than\x20the\x0a\x20\x20project\x27s\x20meteor\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20meteor\x20version.\x20If\x20the\x20system\x27s\x20node\x0a\x20\x20version\x20is\x20greater\x20than\x20the\x20project\x27s\x20node\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20node\x20version.\x0a\x20\x20','notice','getProjectsMeteorNodeVersion','create','search','1893684SkXYNf','verbose','3248004xFUEXG',')\x20to\x20at\x20least\x20meteor\x27s\x20(','System\x27s\x20Node\x20Version\x20','Project\x27s\x20Meteor\x20Node\x20Version\x20','bright','----------------------Project----------------------------','exit','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','version','(((.+)+)+)+$','getGlobalMeteorVersion','apply','949610hzoUQT','fsi','maka\x20v','win32','maka\x20version\x20--verbose','1062853qKysNg','node\x20-v','constructor','error','4133840Temisx','System\x27s\x20Meteor\x20Version\x20','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','----------------------System----------------------------','isMakaProject','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','Maka\x20','toString','maka\x20version','\x20node\x20-v','meteor.bat','getProjectMeteorVersion','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','8SgsfaX','warn'];a94c=function(){return p;};return a94c();}Command[a94n(0xbb)]({'name':'version','aliases':['v'],'usage':a94n(0xdc),'maxArgLength':0x1,'validOpts':[a94n(0xbe)],'shortDesc':a94n(0xc6),'examples':[a94n(0xcd),a94n(0xdc),a94n(0xcf)],'description':a94n(0xec)},async function(a,b){const o=a94n;try{const c=process['platform']===o(0xce)?o(0xde):o(0xe9);Log['majestic'](o(0xda)+pjson[o(0xc7)]),await this[o(0xcc)][o(0xe4)]();if(b[o(0xbe)]){await this[o(0xcc)][o(0xe4)](),Log[o(0xc3)](o(0xd7));const d=this[o(0xcc)][o(0xc9)]();Log['bright']((o(0xd5)+d)[o(0xea)]('\x0a',''));const f=execSync(c+o(0xdd))['toString']()['replace'](/\r?\n|\r/,'')[o(0xea)]('v','');Log[o(0xc3)](o(0xe0)+f);const g=execSync(o(0xd1))[o(0xdb)]()[o(0xea)](/\r?\n|\r/,'')['replace']('v','');a94e['gt'](f,g)?(Log['warn'](o(0xc1)+g),Log['warn'](o(0xd9)+g+o(0xc0)+f+')')):Log['bright'](o(0xc1)+g);if(this['fsi'][o(0xd8)]()){Log[o(0xc3)](o(0xc4));const h=this[o(0xcc)][o(0xdf)]();a94e['gt'](d,h)?(Log['warn'](o(0xe3)+h['replace']('\x0a','')),Log['warn'](o(0xd6)+d+'\x22')):Log[o(0xb9)](('Project\x27s\x20Meteor\x20Version\x20'+h)['replace']('\x0a',''));const i=await this[o(0xcc)][o(0xba)]();i===o(0xe5)?(Log[o(0xe2)](o(0xc2)+i),Log[o(0xe2)](o(0xe6))):Log[o(0xc3)](o(0xc2)+i),Log[o(0xc3)]('\x0a\x20To\x20get\x20the\x20mongo\x20version\x20in\x20use\x20by\x20meteor:\x0a\x201)\x20Run\x20the\x20project,\x20\x22maka\x20run\x22\x0a\x202)\x20In\x20a\x20new\x20terminal\x20open\x20the\x20mongo\x20shell,\x20\x22maka\x20mongo\x22');}}}catch(j){console[o(0xd3)](j),process[o(0xc5)](0x0);}});
@@ -1 +1 @@
1
- function a95c(){var i=['search','15SXHHEP','5180olJNxd','161777KiIPtp','13831708QecDwd','10rufYfZ','(((.+)+)+)+$','1758SKaCkp','64weSEjT','979708OElEUc','apply','constructor','1602333mrDXHu','63508ynhLge','toString','219364LLFApG'];a95c=function(){return i;};return a95c();}function a95d(a,b){var c=a95c();return a95d=function(d,e){d=d-0x94;var f=c[d];return f;},a95d(a,b);}(function(a,b){var f=a95d,c=a();while(!![]){try{var d=parseInt(f(0x9b))/0x1+-parseInt(f(0x95))/0x2+-parseInt(f(0x9d))/0x3*(parseInt(f(0x99))/0x4)+-parseInt(f(0x9e))/0x5*(parseInt(f(0xa3))/0x6)+parseInt(f(0x9f))/0x7*(parseInt(f(0x94))/0x8)+-parseInt(f(0x98))/0x9*(parseInt(f(0xa1))/0xa)+parseInt(f(0xa0))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0x95228));var a95b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a95d;if(c){var e=c[g(0x96)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a95a=a95b(this,function(){var h=a95d;return a95a[h(0x9a)]()[h(0x9c)](h(0xa2))[h(0x9a)]()[h(0x97)](a95a)[h(0x9c)](h(0xa2));});a95a();export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
1
+ (function(a,b){var f=a95d,c=a();while(!![]){try{var d=-parseInt(f(0xb1))/0x1*(parseInt(f(0xbd))/0x2)+-parseInt(f(0xb6))/0x3+parseInt(f(0xc0))/0x4*(-parseInt(f(0xb3))/0x5)+-parseInt(f(0xb8))/0x6*(parseInt(f(0xb9))/0x7)+parseInt(f(0xbf))/0x8+-parseInt(f(0xbb))/0x9*(-parseInt(f(0xb0))/0xa)+parseInt(f(0xbe))/0xb*(parseInt(f(0xb4))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0x26c99));var a95b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a95d;if(c){var e=c[g(0xb7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a95a=a95b(this,function(){var h=a95d;return a95a[h(0xba)]()[h(0xb2)]('(((.+)+)+)+$')[h(0xba)]()[h(0xb5)](a95a)[h(0xb2)](h(0xbc));});a95a();function a95c(){var i=['search','34745eMgUVL','156LzXPEE','constructor','580968JSsWGa','apply','10176FEwxiz','1106ejLgXX','toString','36kGADOr','(((.+)+)+)+$','2bXwcoW','566005YMWaxn','1758496GssiHQ','92JIBkjm','292030ogsclF','225215VWBnRR'];a95c=function(){return i;};return a95c();}export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}function a95d(a,b){var c=a95c();return a95d=function(d,e){d=d-0xb0;var f=c[d];return f;},a95d(a,b);}export class NoMeteorFoundError{}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- function a96c(){var i=['12gJOubY','2592501ljKgVQ','2441493XoeCud','2FkDKeu','6287830TunDJs','9213953eEszFY','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','8iqfUrB','8925176FICoen','4XhBBDL','660318XkoasU','(((.+)+)+)+$','env','search','145YXySrh','11cXcoDa','51384alouko','toString','constructor'];a96c=function(){return i;};return a96c();}var a96h=a96d;(function(a,b){var f=a96d,c=a();while(!![]){try{var d=parseInt(f(0x148))/0x1*(-parseInt(f(0x14f))/0x2)+parseInt(f(0x146))/0x3*(parseInt(f(0x14e))/0x4)+-parseInt(f(0x140))/0x5*(-parseInt(f(0x142))/0x6)+-parseInt(f(0x14a))/0x7+parseInt(f(0x14c))/0x8*(parseInt(f(0x147))/0x9)+-parseInt(f(0x149))/0xa*(-parseInt(f(0x141))/0xb)+parseInt(f(0x145))/0xc*(parseInt(f(0x14d))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0xb066a));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(0x143)]()[g(0x13f)](g(0x150))[g(0x143)]()[g(0x144)](a96a)[g(0x13f)](g(0x150));});function a96d(a,b){var c=a96c();return a96d=function(d,e){d=d-0x13e;var f=c[d];return f;},a96d(a,b);}a96a(),process[a96h(0x13e)]['NODE_OPTIONS']=a96h(0x14b);import'./maka.js';
2
+ var a96h=a96d;(function(a,b){var f=a96d,c=a();while(!![]){try{var d=-parseInt(f(0x1e4))/0x1*(parseInt(f(0x1e6))/0x2)+parseInt(f(0x1de))/0x3*(-parseInt(f(0x1dd))/0x4)+parseInt(f(0x1e2))/0x5+-parseInt(f(0x1e3))/0x6+parseInt(f(0x1e5))/0x7*(parseInt(f(0x1e1))/0x8)+parseInt(f(0x1da))/0x9*(-parseInt(f(0x1d7))/0xa)+parseInt(f(0x1e0))/0xb*(parseInt(f(0x1dc))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0x1b298));var a96b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a96a=a96b(this,function(){var g=a96d;return a96a['toString']()['search'](g(0x1d8))[g(0x1e7)]()[g(0x1db)](a96a)[g(0x1df)](g(0x1d8));});a96a(),process[a96h(0x1d9)]['NODE_OPTIONS']=a96h(0x1d6);function a96d(a,b){var c=a96c();return a96d=function(d,e){d=d-0x1d6;var f=c[d];return f;},a96d(a,b);}import'./maka.js';function a96c(){var i=['search','1168981ivCSNa','176lYMNBU','800855tGgrhh','438600mqpvue','937OfdHpr','53984JqMHcj','22KdFfcH','toString','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','10gUesRe','(((.+)+)+)+$','env','1221687rigSUc','constructor','24FizJVJ','282628gLxcAx','9WEBXrk'];a96c=function(){return i;};return a96c();}