@maka/maka-cli 4.8.1 → 4.8.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 (148) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/build/_index.js +1 -1
  20. package/bundle/obf/src/commands/build/build.js +1 -1
  21. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/create.js +1 -1
  23. package/bundle/obf/src/commands/debug.js +1 -1
  24. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  25. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  26. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/game/_index.js +1 -1
  29. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/game/play.command.js +1 -1
  31. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  66. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  67. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  68. package/bundle/obf/src/commands/generate.js +1 -1
  69. package/bundle/obf/src/commands/get/_index.js +1 -1
  70. package/bundle/obf/src/commands/get/get.command.js +1 -1
  71. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  72. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  73. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  74. package/bundle/obf/src/commands/help.js +1 -1
  75. package/bundle/obf/src/commands/install.js +1 -1
  76. package/bundle/obf/src/commands/jsdoc.js +1 -1
  77. package/bundle/obf/src/commands/lint.js +1 -1
  78. package/bundle/obf/src/commands/login.js +1 -1
  79. package/bundle/obf/src/commands/logout.js +1 -1
  80. package/bundle/obf/src/commands/logs.js +1 -1
  81. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  82. package/bundle/obf/src/commands/murder.js +1 -1
  83. package/bundle/obf/src/commands/proxy.js +1 -1
  84. package/bundle/obf/src/commands/reconfig.js +1 -1
  85. package/bundle/obf/src/commands/run/_index.js +1 -1
  86. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  87. package/bundle/obf/src/commands/run/run.command.js +1 -1
  88. package/bundle/obf/src/commands/set/_index.js +1 -1
  89. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  90. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  91. package/bundle/obf/src/commands/set/set.command.js +1 -1
  92. package/bundle/obf/src/commands/ssh.js +1 -1
  93. package/bundle/obf/src/commands/ssl.js +1 -1
  94. package/bundle/obf/src/commands/test.js +1 -1
  95. package/bundle/obf/src/commands/version.js +1 -1
  96. package/bundle/obf/src/error.js +1 -1
  97. package/bundle/obf/src/exec.js +1 -1
  98. package/bundle/obf/src/generator.js +1 -1
  99. package/bundle/obf/src/generators/_index.js +1 -1
  100. package/bundle/obf/src/generators/api.js +1 -1
  101. package/bundle/obf/src/generators/collection.js +1 -1
  102. package/bundle/obf/src/generators/component.js +1 -1
  103. package/bundle/obf/src/generators/config.js +1 -1
  104. package/bundle/obf/src/generators/dbc.js +1 -1
  105. package/bundle/obf/src/generators/dockerfile.js +1 -1
  106. package/bundle/obf/src/generators/hook.js +1 -1
  107. package/bundle/obf/src/generators/kits/_index.js +1 -1
  108. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  109. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  110. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  111. package/bundle/obf/src/generators/kits/kit.js +1 -1
  112. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  113. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  114. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  115. package/bundle/obf/src/generators/layout.js +1 -1
  116. package/bundle/obf/src/generators/maka.gen.js +1 -1
  117. package/bundle/obf/src/generators/methods.js +1 -1
  118. package/bundle/obf/src/generators/package.js +1 -1
  119. package/bundle/obf/src/generators/page.js +1 -1
  120. package/bundle/obf/src/generators/publish.js +1 -1
  121. package/bundle/obf/src/generators/route.js +1 -1
  122. package/bundle/obf/src/generators/service.js +1 -1
  123. package/bundle/obf/src/generators/services/_index.js +1 -1
  124. package/bundle/obf/src/generators/services/openssl.js +1 -1
  125. package/bundle/obf/src/generators/services/translation.js +1 -1
  126. package/bundle/obf/src/maka.js +1 -1
  127. package/bundle/obf/src/templates/meteor/project/README.md +15 -1
  128. package/bundle/obf/src/templates/meteor/project/package.json +1 -1
  129. package/bundle/obf/src/tool.js +1 -1
  130. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  131. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  132. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  133. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  134. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  135. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  136. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  137. package/bundle/obf/src/tools/https/https.class.js +1 -1
  138. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  139. package/bundle/obf/src/tools/log/log.class.js +1 -1
  140. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  141. package/bundle/obf/src/tools/options/options.class.js +1 -1
  142. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  143. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  144. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  145. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  146. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  147. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  148. package/package.json +1 -1
@@ -1 +1 @@
1
- const a77z=a77d;function a77d(a,b){const c=a77c();return a77d=function(d,e){d=d-0x1dd;let f=c[d];return f;},a77d(a,b);}(function(a,b){const w=a77d,c=a();while(!![]){try{const d=parseInt(w(0x1fd))/0x1*(parseInt(w(0x1de))/0x2)+-parseInt(w(0x20f))/0x3*(parseInt(w(0x20c))/0x4)+-parseInt(w(0x1eb))/0x5*(parseInt(w(0x209))/0x6)+parseInt(w(0x1ea))/0x7*(parseInt(w(0x1e3))/0x8)+-parseInt(w(0x1f3))/0x9+-parseInt(w(0x1e1))/0xa+-parseInt(w(0x1e0))/0xb*(-parseInt(w(0x202))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0xb7d19));const a77b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a77d;if(c){const e=c[x(0x1ff)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){const y=a77d;return a77a[y(0x1df)]()[y(0x216)](y(0x1f4))[y(0x1df)]()['constructor'](a77a)[y(0x216)](y(0x1f4));});a77a();import a77e from'node-forge';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';function a77c(){const B=['help','exit','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','start','isFile','env','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','2147769RCPlhI','(((.+)+)+)+$','/api/v1/encodeJwt','Logging\x20in','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','post','cert','login','https://','Using\x20CA\x20Cert\x20','1KvKGOr','email','apply','cacert','maka\x20login','48kMroDU','toHex','getGlobalConfig','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','success','header','True','6OaTiNd','assign','digest','4PQXXUT','setGlobalConfig','fsi','1986522oBiDUL','/api/v1/status','Logging\x20into\x20https://','password','\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','failure','debug','search','authToken','update','Email:','Password:\x20','parse','error','ask','948054ztWCVT','toString','6362532XKLQHD','12955180VCfzsA','Logs\x20in\x20to\x20www.maka-cli.com','16otorYJ','withSpinner','www.maka-cli.com','create','notice','get','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','4204802ixGUVP','5198965FfRYaR'];a77c=function(){return B;};return a77c();}import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a77z(0x1f1)]['MAKA_DEV']===a77z(0x208)?'localhost':a77z(0x1e5);Command['create']({'name':a77z(0x1fa),'validOpts':[a77z(0x1fe),'password',a77z(0x1ec),'cacert',a77z(0x215)],'usage':a77z(0x201),'maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a77z(0x1e2),'examples':[a77z(0x201),a77z(0x1ee)]},async function(a,b){const A=a77z,c=Log[A(0x1e4)]();try{let d='';b[A(0x200)]&&(this['fsi'][A(0x1f0)](b['cacert'])?(d=b[A(0x200)],Log[A(0x1e7)](A(0x1fc)+d)):Log[A(0x21c)](A(0x1f2)+d));const f=await this['fsi'][A(0x204)]();if(f[A(0x1f9)]){if(this[A(0x20e)][A(0x1f0)](f[A(0x1f9)]))d=f['cert'];else{Log[A(0x21c)](A(0x205)+d);return;}}Log[A(0x207)](A(0x211)+hostname);const g={'url':A(0x1fb)+hostname+A(0x210)};b[A(0x200)]&&Object['assign'](g,{'cert':d});c['start']('Preflight\x20Check');const {statusCode:h}=await HTTPS[A(0x1e8)](g);if(h===0x198){c['failure']();throw A(0x1f7);}if(h!==0xc8){c['failure']();throw A(0x1fb)+hostname+A(0x213);}c[A(0x206)]();const i=b[A(0x1fe)]?b['email']:await Actions[A(0x1dd)](A(0x219)),j=b['password']?b[A(0x212)]:await Actions[A(0x1dd)](A(0x21a),!![]),k=a77e['md']['sha256'][A(0x1e6)]();k[A(0x218)](j);const l=k[A(0x20b)]()[A(0x203)](),m={'hostname':hostname,'path':'/api/v1/login','data':{'email':i,'password':l,'hashed':!![]}};b[A(0x200)]&&Object[A(0x20a)](m,{'cert':d});c[A(0x1ef)](A(0x1f6));const {data:n,statusCode:o}=await HTTPS['post'](m);if(o===0x198){c[A(0x214)]('\x0a');throw A(0x1e9)+hostname;}const p=JSON[A(0x21b)](n);if(p[A(0x217)]){const q={'hostname':hostname,'path':A(0x1f5),'headers':{'x-auth-token':p[A(0x217)]},'data':{}};b['cacert']&&Object[A(0x20a)](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS[A(0x1f8)](q),{token:t}=JSON[A(0x21b)](r);if(s===0x198)throw A(0x1e9)+hostname;const u={'token':p,'hash':t};this[A(0x20e)][A(0x20d)](u);}else{c['failure']();throw p;}c[A(0x206)]();}catch(v){c[A(0x214)](),console['error'](v),process[A(0x1ed)](0x0);}});
1
+ const a77y=a77d;(function(a,b){const w=a77d,c=a();while(!![]){try{const d=parseInt(w(0x1ee))/0x1*(parseInt(w(0x1ea))/0x2)+-parseInt(w(0x208))/0x3+-parseInt(w(0x1ff))/0x4*(parseInt(w(0x1f7))/0x5)+parseInt(w(0x207))/0x6+parseInt(w(0x1cf))/0x7*(-parseInt(w(0x1d7))/0x8)+-parseInt(w(0x1f3))/0x9*(-parseInt(w(0x1fd))/0xa)+-parseInt(w(0x205))/0xb*(parseInt(w(0x1fe))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0x26314));const a77b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){const x=a77d;return a77a['toString']()[x(0x1de)](x(0x1da))[x(0x1d8)]()[x(0x1d2)](a77a)[x(0x1de)](x(0x1da));});a77a();function a77c(){const A=['maka\x20login','error','6DzroAU','Using\x20CA\x20Cert\x20','email','success','68996kxdSGx','ask','isFile','parse','help','9ANTODo','sha256','create','password','110015YdBtBE','failure','cacert','authToken','exit','Password:\x20','2456980VmPEbg','12zFNyVX','52nHfZcy','www.maka-cli.com','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','Logging\x20into\x20https://','Logging\x20in','/api/v1/status','676291LeAWRW','debug','1817406xUbTmo','174156ORdbDe','MAKA_DEV','update','Logs\x20in\x20to\x20www.maka-cli.com','start','withSpinner','toHex','79709aOCXcL','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','localhost','constructor','get','login','setGlobalConfig','https://','136qgPlPC','toString','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','(((.+)+)+)+$','Preflight\x20Check','True','header','search','assign','Email:','digest','getGlobalConfig','fsi','cert','post','notice','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'];a77c=function(){return A;};return a77c();}import a77e from'node-forge';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process['env'][a77y(0x209)]===a77y(0x1dc)?a77y(0x1d1):a77y(0x200);function a77d(a,b){const c=a77c();return a77d=function(d,e){d=d-0x1cc;let f=c[d];return f;},a77d(a,b);}Command[a77y(0x1f5)]({'name':a77y(0x1d4),'validOpts':[a77y(0x1ec),a77y(0x1f6),a77y(0x1f2),a77y(0x1f9),a77y(0x206)],'usage':a77y(0x1e8),'maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a77y(0x20b),'examples':[a77y(0x1e8),'maka\x20login\x20--email\x20<address>\x20--password\x20<password>']},async function(a,b){const z=a77y,c=Log[z(0x1cd)]();try{let d='';b[z(0x1f9)]&&(this[z(0x1e3)][z(0x1f0)](b[z(0x1f9)])?(d=b['cacert'],Log[z(0x1e6)](z(0x1eb)+d)):Log[z(0x1e9)](z(0x1e7)+d));const f=await this[z(0x1e3)][z(0x1e2)]();if(f[z(0x1e4)]){if(this[z(0x1e3)][z(0x1f0)](f[z(0x1e4)]))d=f[z(0x1e4)];else{Log[z(0x1e9)](z(0x201)+d);return;}}Log[z(0x1dd)](z(0x202)+hostname);const g={'url':z(0x1d6)+hostname+z(0x204)};b['cacert']&&Object[z(0x1df)](g,{'cert':d});c[z(0x1cc)](z(0x1db));const {statusCode:h}=await HTTPS[z(0x1d3)](g);if(h===0x198){c[z(0x1f8)]();throw z(0x1d9);}if(h!==0xc8){c[z(0x1f8)]();throw z(0x1d6)+hostname+'\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli';}c[z(0x1ed)]();const i=b[z(0x1ec)]?b[z(0x1ec)]:await Actions[z(0x1ef)](z(0x1e0)),j=b[z(0x1f6)]?b[z(0x1f6)]:await Actions[z(0x1ef)](z(0x1fc),!![]),k=a77e['md'][z(0x1f4)][z(0x1f5)]();k[z(0x20a)](j);const l=k[z(0x1e1)]()[z(0x1ce)](),m={'hostname':hostname,'path':'/api/v1/login','data':{'email':i,'password':l,'hashed':!![]}};b['cacert']&&Object[z(0x1df)](m,{'cert':d});c[z(0x1cc)](z(0x203));const {data:n,statusCode:o}=await HTTPS[z(0x1e5)](m);if(o===0x198){c[z(0x1f8)]('\x0a');throw z(0x1d0)+hostname;}const p=JSON[z(0x1f1)](n);if(p[z(0x1fa)]){const q={'hostname':hostname,'path':'/api/v1/encodeJwt','headers':{'x-auth-token':p['authToken']},'data':{}};b[z(0x1f9)]&&Object[z(0x1df)](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS['post'](q),{token:t}=JSON[z(0x1f1)](r);if(s===0x198)throw z(0x1d0)+hostname;const u={'token':p,'hash':t};this[z(0x1e3)][z(0x1d5)](u);}else{c[z(0x1f8)]();throw p;}c[z(0x1ed)]();}catch(v){c['failure'](),console[z(0x1e9)](v),process[z(0x1fb)](0x0);}});
@@ -1 +1 @@
1
- const a78o=a78d;function a78c(){const q=['fsi','withSpinner','token','38RdYeqS','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','search','start','authToken','(((.+)+)+)+$','10SGExjW','9czSiwO','9969533lioLCa','/api/v1/logoutAll','getGlobalConfig','Using\x20CA\x20Cert\x20','/api/v1/status','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','error','isFile','True','cert','success','localhost','get','3585486ZntiBG','toString','www.maka-cli.com','https://','assign','exit','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','Logging\x20out','Preflight\x20Check','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','19789YpyUoT','create','failure','44930qqWBJU','3810212EJSZLy','913cKulDf','MAKA_DEV','Logging\x20out\x20of\x20https://','env','apply','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','maka\x20logout','cacert','logout','setGlobalConfig','2450409FCfzwD','constructor','8514744kmdGFY'];a78c=function(){return q;};return a78c();}(function(a,b){const l=a78d,c=a();while(!![]){try{const d=parseInt(l(0xf0))/0x1*(-parseInt(l(0xd1))/0x2)+-parseInt(l(0xff))/0x3+parseInt(l(0xf4))/0x4+-parseInt(l(0xd7))/0x5*(-parseInt(l(0xe6))/0x6)+parseInt(l(0xd9))/0x7+parseInt(l(0x101))/0x8*(-parseInt(l(0xd8))/0x9)+parseInt(l(0xf3))/0xa*(-parseInt(l(0xf5))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0xe5f36));const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a78d;if(c){const e=c[m(0xf9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const n=a78d;return a78a[n(0xe7)]()[n(0xd3)](n(0xd6))[n(0xe7)]()[n(0x100)](a78a)[n(0xd3)](n(0xd6));});a78a();import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0xd1;let f=c[d];return f;},a78d(a,b);}import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a78o(0xf8)][a78o(0xf6)]===a78o(0xe1)?a78o(0xe4):a78o(0xe8);Command[a78o(0xf1)]({'name':a78o(0xfd),'validOpts':[a78o(0xfc)],'usage':a78o(0xfb),'maxArgLength':0x2,'shortDesc':a78o(0xef),'disableAuthCheck':!![],'examples':[a78o(0xfb)]},async function(a,b){const p=a78o,c=Log[p(0x103)]();try{let d='';b[p(0xfc)]&&(this[p(0x102)][p(0xe0)](b['cacert'])?(d=b['cacert'],Log['notice'](p(0xdc)+d)):Log['error'](p(0xec)+d));const f=await this[p(0x102)][p(0xdb)]();if(f[p(0xe2)]){if(this[p(0x102)][p(0xe0)](f[p(0xe2)]))d=f[p(0xe2)];else{c[p(0xf2)]();throw Log[p(0xdf)](p(0xfa)+d);}}Log['header'](p(0xf7)+hostname);const g={'url':p(0xe9)+hostname+p(0xdd)};b[p(0xfc)]&&Object[p(0xea)](g,{'cert':d});c[p(0xd4)](p(0xee));const {statusCode:h}=await HTTPS[p(0xe5)](g);if(h===0x198){c[p(0xf2)]();throw p(0xd2);}c[p(0xe3)]();if(h!==0xc8){c[p(0xf2)]();throw p(0xde);}if(!f?.[p(0x104)]?.[p(0xd5)])throw Log['error']('Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?');c['start'](p(0xed));const i={'hostname':hostname,'path':p(0xda),'data':{},'headers':{'x-auth-token':f[p(0x104)][p(0xd5)]}};b[p(0xfc)]&&Object[p(0xea)](i,{'cert':d});const {statusCode:j}=await HTTPS['post'](i);if(j===0x198){c[p(0xf2)]('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}this[p(0x102)][p(0xfe)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c['success']();}catch(k){k&&console['error'](k),process[p(0xeb)](0x0);}});
1
+ function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x114;let f=c[d];return f;},a78d(a,b);}function a78c(){const p=['exit','cert','notice','911040jDWZiU','(((.+)+)+)+$','2148012hBTdmT','localhost','create','https://','start','get','maka\x20logout','isFile','9332hOCENN','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','cacert','32yGtkNK','success','5KmnSiB','fsi','/api/v1/logoutAll','True','2405958GuDXEh','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','error','MAKA_DEV','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','www.maka-cli.com','withSpinner','logout','2056380vYpNNG','header','toString','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','assign','662725CUjbef','Using\x20CA\x20Cert\x20','authToken','11363836XGeMKt','failure','Preflight\x20Check','210FxhgMp','setGlobalConfig','token','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','post','Logging\x20out','constructor','search','1YtabnA'];a78c=function(){return p;};return a78c();}const a78n=a78d;(function(a,b){const l=a78d,c=a();while(!![]){try{const d=-parseInt(l(0x13a))/0x1*(-parseInt(l(0x127))/0x2)+-parseInt(l(0x132))/0x3*(parseInt(l(0x116))/0x4)+-parseInt(l(0x11b))/0x5*(parseInt(l(0x11f))/0x6)+parseInt(l(0x12c))/0x7*(-parseInt(l(0x119))/0x8)+-parseInt(l(0x140))/0x9+-parseInt(l(0x13e))/0xa+parseInt(l(0x12f))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0xc080b));const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const m=a78d;return a78a[m(0x129)]()[m(0x139)](m(0x13f))[m(0x129)]()[m(0x138)](a78a)[m(0x139)]('(((.+)+)+)+$');});a78a();import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process['env'][a78n(0x122)]===a78n(0x11e)?a78n(0x141):a78n(0x124);Command[a78n(0x142)]({'name':a78n(0x126),'validOpts':['cacert'],'usage':'maka\x20logout','maxArgLength':0x2,'shortDesc':a78n(0x123),'disableAuthCheck':!![],'examples':[a78n(0x114)]},async function(a,b){const o=a78n,c=Log[o(0x125)]();try{let d='';b[o(0x118)]&&(this[o(0x11c)][o(0x115)](b['cacert'])?(d=b[o(0x118)],Log[o(0x13d)](o(0x12d)+d)):Log[o(0x121)]('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+d));const f=await this[o(0x11c)]['getGlobalConfig']();if(f['cert']){if(this['fsi'][o(0x115)](f[o(0x13c)]))d=f[o(0x13c)];else{c[o(0x130)]();throw Log[o(0x121)](o(0x12a)+d);}}Log[o(0x128)]('Logging\x20out\x20of\x20https://'+hostname);const g={'url':o(0x143)+hostname+'/api/v1/status'};b[o(0x118)]&&Object[o(0x12b)](g,{'cert':d});c[o(0x144)](o(0x131));const {statusCode:h}=await HTTPS[o(0x145)](g);if(h===0x198){c['failure']();throw o(0x135);}c[o(0x11a)]();if(h!==0xc8){c[o(0x130)]();throw o(0x120);}if(!f?.[o(0x134)]?.[o(0x12e)])throw Log[o(0x121)](o(0x117));c[o(0x144)](o(0x137));const i={'hostname':hostname,'path':o(0x11d),'data':{},'headers':{'x-auth-token':f[o(0x134)][o(0x12e)]}};b['cacert']&&Object['assign'](i,{'cert':d});const {statusCode:j}=await HTTPS[o(0x136)](i);if(j===0x198){c[o(0x130)]('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}this[o(0x11c)][o(0x133)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[o(0x11a)]();}catch(k){k&&console[o(0x121)](k),process[o(0x13b)](0x0);}});
@@ -1 +1 @@
1
- const a79m=a79d;(function(a,b){const j=a79d,c=a();while(!![]){try{const d=-parseInt(j(0x1e2))/0x1*(parseInt(j(0x1dc))/0x2)+parseInt(j(0x1d8))/0x3*(parseInt(j(0x1de))/0x4)+-parseInt(j(0x1f1))/0x5*(parseInt(j(0x1e3))/0x6)+-parseInt(j(0x1ee))/0x7+parseInt(j(0x1dd))/0x8*(parseInt(j(0x1e6))/0x9)+parseInt(j(0x1e1))/0xa+-parseInt(j(0x1db))/0xb*(parseInt(j(0x1e9))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x8a6da));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a79d;if(c){const e=c[k(0x1ef)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const l=a79d;return a79a[l(0x1ec)]()['search'](l(0x1e8))['toString']()['constructor'](a79a)['search'](l(0x1e8));});function a79c(){const o=['2573840zZPmJz','1146921zTxhND','sshSync','maka\x20logs\x20--env\x20dev','296978JXfLoI','43854iSvVlV','2896192JfLCJX','8OPpQlo','env','maka\x20logs\x20--env\x20staging','10964740QvivgH','43zuMLbH','6ngMXwD','readFileSync','ssh.json','27EHixwO','pm2\x20logs','(((.+)+)+)+$','228xIZQTo','maka\x20logs','error','toString','getAppConfigPath','2866969zbTDhd','apply','assign'];a79c=function(){return o;};return a79c();}a79a();function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x1d8;let f=c[d];return f;},a79d(a,b);}import a79e from'fs';import a79f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';Command['create']({'name':'logs','aliases':['l','log'],'usage':a79m(0x1ea),'requiredOpts':[a79m(0x1df)],'mustBeInMakaProject':!![],'validOpts':['verbose'],'shortDesc':'View\x20the\x20PM2\x20logs','examples':[a79m(0x1da),a79m(0x1e0),'maka\x20l\x20-e\x20p']},function(a,b){const n=a79m;try{const c=n(0x1e7),d=this['fsi'][n(0x1ed)](b[n(0x1df)]),f=a79f['join'](d,n(0x1e5)),g=a79e[n(0x1e4)](f),h=JSON['parse'](g[n(0x1ec)]());Object[n(0x1f0)](h,{'env':d}),SSH[n(0x1d9)](c,h,{'tty':!![],'verbose':!![]});}catch(i){Log[n(0x1eb)](i);}});
1
+ const a79m=a79d;(function(a,b){const j=a79d,c=a();while(!![]){try{const d=parseInt(j(0xee))/0x1+-parseInt(j(0xdf))/0x2*(-parseInt(j(0xe6))/0x3)+-parseInt(j(0xe5))/0x4+-parseInt(j(0xf2))/0x5+-parseInt(j(0xdc))/0x6+-parseInt(j(0xe2))/0x7+parseInt(j(0xdd))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0xb1d86));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a79d;if(c){const e=c[k(0xf6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const l=a79d;return a79a[l(0xed)]()['search'](l(0xf0))[l(0xed)]()[l(0xeb)](a79a)[l(0xde)](l(0xf0));});a79a();import a79e from'fs';import a79f from'path';import{Command}from'../command.js';function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0xdc;let f=c[d];return f;},a79d(a,b);}function a79c(){const o=['log','constructor','env','toString','1331769NrhtyW','verbose','(((.+)+)+)+$','create','5365950uZQdgt','fsi','parse','assign','apply','sshSync','3531522AJTgAA','19500048jOlztI','search','467326xqEAVK','maka\x20l\x20-e\x20p','maka\x20logs\x20--env\x20staging','8276240YQeFIQ','readFileSync','pm2\x20logs','2656200xlGXpT','6obcKjW','maka\x20logs','join','View\x20the\x20PM2\x20logs'];a79c=function(){return o;};return a79c();}import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';Command[a79m(0xf1)]({'name':'logs','aliases':['l',a79m(0xea)],'usage':a79m(0xe7),'requiredOpts':[a79m(0xec)],'mustBeInMakaProject':!![],'validOpts':[a79m(0xef)],'shortDesc':a79m(0xe9),'examples':['maka\x20logs\x20--env\x20dev',a79m(0xe1),a79m(0xe0)]},function(a,b){const n=a79m;try{const c=n(0xe4),d=this[n(0xf3)]['getAppConfigPath'](b[n(0xec)]),f=a79f[n(0xe8)](d,'ssh.json'),g=a79e[n(0xe3)](f),h=JSON[n(0xf4)](g[n(0xed)]());Object[n(0xf5)](h,{'env':d}),SSH[n(0xf7)](c,h,{'tty':!![],'verbose':!![]});}catch(i){Log['error'](i);}});
@@ -1 +1 @@
1
- const a80i=a80d;function a80d(a,b){const c=a80c();return a80d=function(d,e){d=d-0x1a5;let f=c[d];return f;},a80d(a,b);}(function(a,b){const f=a80d,c=a();while(!![]){try{const d=parseInt(f(0x1b1))/0x1*(parseInt(f(0x1ae))/0x2)+-parseInt(f(0x1b2))/0x3*(parseInt(f(0x1a7))/0x4)+parseInt(f(0x1b7))/0x5+parseInt(f(0x1bb))/0x6*(parseInt(f(0x1bc))/0x7)+-parseInt(f(0x1ab))/0x8+-parseInt(f(0x1b6))/0x9*(-parseInt(f(0x1ac))/0xa)+parseInt(f(0x1b9))/0xb*(parseInt(f(0x1a5))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0xf1208));const a80b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a80d;if(c){const e=c[g(0x1a8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){const h=a80d;return a80a[h(0x1b8)]()[h(0x1b0)]('(((.+)+)+)+$')[h(0x1b8)]()[h(0x1a6)](a80a)[h(0x1b0)](h(0x1a9));});a80a();function a80c(){const k=['search','135052YgFtpw','18ZzNRun','splice','maka\x20create\x20Todo','maka\x20--help','136818jTocmY','8138170FgLHjc','toString','71093wrshWO','maka\x20run','180210GYbDWY','168KoVTmm','12XHyCWh','constructor','705056xUCSvS','apply','(((.+)+)+)+$','\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','8651736HrOXyu','330SmYryt','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','4OmePYw','maka\x20install\x20meteor'];a80c=function(){return k;};return a80c();}import{Command}from'../command.js';const Maka=new Command({'name':'maka','minArgLength':0x1,'shortDesc':a80i(0x1ad),'validOpts':[],'usage':'maka\x20<command>\x20[<args>]\x20[<opts>]','disableAuthCheck':!![],'examples':[a80i(0x1b5),a80i(0x1af),a80i(0x1b4),a80i(0x1ba)],'description':a80i(0x1aa)},async function(a,b){const j=a80i;try{const c=a[0x0];a[j(0x1b3)](0x0,0x1),await this['processAndRunCommand'](c,a,b);}catch(d){process['exit'](0x1);}});export default Maka;
1
+ const a80i=a80d;(function(a,b){const f=a80d,c=a();while(!![]){try{const d=-parseInt(f(0x1b4))/0x1*(-parseInt(f(0x1b2))/0x2)+parseInt(f(0x1ad))/0x3+-parseInt(f(0x1af))/0x4*(parseInt(f(0x1a4))/0x5)+parseInt(f(0x1b0))/0x6+parseInt(f(0x1a7))/0x7*(-parseInt(f(0x1ac))/0x8)+parseInt(f(0x1ab))/0x9+-parseInt(f(0x1a3))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0x78a06));const a80b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a80d;if(c){const e=c[g(0x1a8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){const h=a80d;return a80a['toString']()[h(0x1a9)]('(((.+)+)+)+$')[h(0x1b5)]()[h(0x1a5)](a80a)['search'](h(0x1a1));});a80a();import{Command}from'../command.js';const Maka=new Command({'name':'maka','minArgLength':0x1,'shortDesc':'A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','validOpts':[],'usage':a80i(0x1b3),'disableAuthCheck':!![],'examples':['maka\x20--help',a80i(0x1aa),a80i(0x1b1),a80i(0x1a6)],'description':a80i(0x19f)},async function(a,b){const j=a80i;try{const c=a[0x0];a[j(0x1a0)](0x0,0x1),await this[j(0x1a2)](c,a,b);}catch(d){process[j(0x1ae)](0x1);}});function a80d(a,b){const c=a80c();return a80d=function(d,e){d=d-0x19f;let f=c[d];return f;},a80d(a,b);}export default Maka;function a80c(){const k=['splice','(((.+)+)+)+$','processAndRunCommand','7376120veYeCj','10QCekBX','constructor','maka\x20run','456925lfZTNb','apply','search','maka\x20install\x20meteor','2391192rHhGfU','56wfJaDr','1990323BsSCiH','exit','292400CImobo','3035262YTfdAk','maka\x20create\x20Todo','72694zociBb','maka\x20<command>\x20[<args>]\x20[<opts>]','11cjkBKP','toString','\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.-:\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20:-.\x20\x20\x20\x20\x20:--\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::\x20\x20::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::::::\x20.:::::::\x20..\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20..:.....\x20.::..::.\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20.::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::::::\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20\x20::::::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::..-::.\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::....\x20\x20::..---:..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20.\x20.:::::::\x20\x20::..::.\x20..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20\x20:.\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:--\x20\x20\x20\x20\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-:\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20:\x0a.:..::...::.\x20\x20\x20....:\x20\x20\x20.:\x20\x20\x20::\x20\x20....:.\x20\x20\x20\x20\x20\x20\x20\x20.::::\x20\x20.:\x20\x20::\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20\x20....:-\x20\x20.-..:.\x20\x20\x20....:-\x20\x20...\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20.:\x20\x20\x20:-\x20\x20.-\x20\x20.:\x20\x20.:\x20\x20\x20:-\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a.:.\x20\x20\x20:.\x20\x20\x20.:\x20\x20....\x20:.\x20.:.\x20\x20..\x20\x20....\x20:.\x20\x20\x20\x20\x20\x20\x20.....\x20\x20.:.\x20.:.\x0a\x0a\x20\x20'];a80c=function(){return k;};return a80c();}
@@ -1 +1 @@
1
- function a81c(){var k=['toString','13PvqtAV','exit','log','6396870sitgXs','908sSqxvc','%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','search','5htKXKd','constructor','202wKlgqD','1889027LhwcED','maka\x20murder','3463jbLRyH','murder','error','create','8qPwToM','9SjbXzb','3521508FVlTsG','Murrrrderrrrr','(((.+)+)+)+$','apply','2298JTJdEu','1484879lasFfT','font-family:\x20monospace','2949420LUQpRM'];a81c=function(){return k;};return a81c();}function a81d(a,b){var c=a81c();return a81d=function(d,e){d=d-0xb4;var f=c[d];return f;},a81d(a,b);}var a81i=a81d;(function(a,b){var f=a81d,c=a();while(!![]){try{var d=parseInt(f(0xcd))/0x1*(-parseInt(f(0xca))/0x2)+parseInt(f(0xbc))/0x3*(-parseInt(f(0xc5))/0x4)+-parseInt(f(0xc8))/0x5*(parseInt(f(0xbf))/0x6)+parseInt(f(0xcb))/0x7*(parseInt(f(0xb6))/0x8)+-parseInt(f(0xb7))/0x9*(-parseInt(f(0xc4))/0xa)+parseInt(f(0xbd))/0xb+-parseInt(f(0xb8))/0xc*(-parseInt(f(0xc1))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0x4ecdd));var a81b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a81d;if(c){var e=c[g(0xbb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){var h=a81d;return a81a[h(0xc0)]()[h(0xc7)]('(((.+)+)+)+$')[h(0xc0)]()[h(0xc9)](a81a)[h(0xc7)](h(0xba));});a81a();import{Command}from'../command.js';Command[a81i(0xb5)]({'name':a81i(0xce),'usage':a81i(0xcc),'maxArgLength':0x1,'shortDesc':a81i(0xb9),'validOpts':[]},async function(){var j=a81i;try{console[j(0xc3)](j(0xc6),j(0xbe));}catch(a){console[j(0xb4)](a),process[j(0xc2)](0x0);}});
1
+ var a81i=a81d;(function(a,b){var f=a81d,c=a();while(!![]){try{var d=-parseInt(f(0xe7))/0x1+-parseInt(f(0xe1))/0x2+-parseInt(f(0xe0))/0x3*(-parseInt(f(0xe6))/0x4)+parseInt(f(0xdd))/0x5+-parseInt(f(0xe4))/0x6+parseInt(f(0xe9))/0x7*(-parseInt(f(0xe3))/0x8)+parseInt(f(0xe2))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0x412a0));function a81d(a,b){var c=a81c();return a81d=function(d,e){d=d-0xdd;var f=c[d];return f;},a81d(a,b);}var a81b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a81d;if(c){var e=c[g(0xe5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){var h=a81d;return a81a['toString']()[h(0xdf)](h(0xea))['toString']()[h(0xe8)](a81a)[h(0xdf)](h(0xea));});a81a();import{Command}from'../command.js';function a81c(){var k=['450428wyQgIr','constructor','1278613MNfUgr','(((.+)+)+)+$','Murrrrderrrrr','789920tyeORQ','%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','search','4722GqiETp','812340MxBLKK','12402225vXRzPw','8vJrExS','1955124UcEPjV','apply','244fydkwG'];a81c=function(){return k;};return a81c();}Command['create']({'name':'murder','usage':'maka\x20murder','maxArgLength':0x1,'shortDesc':a81i(0xeb),'validOpts':[]},async function(){var j=a81i;try{console['log'](j(0xde),'font-family:\x20monospace');}catch(a){console['error'](a),process['exit'](0x0);}});
@@ -1 +1 @@
1
- const a82u=a82d;(function(a,b){const r=a82d,c=a();while(!![]){try{const d=-parseInt(r(0x213))/0x1*(-parseInt(r(0x21b))/0x2)+parseInt(r(0x20c))/0x3*(parseInt(r(0x21f))/0x4)+parseInt(r(0x1f1))/0x5+-parseInt(r(0x1fd))/0x6*(parseInt(r(0x219))/0x7)+parseInt(r(0x1ee))/0x8*(parseInt(r(0x1ff))/0x9)+-parseInt(r(0x220))/0xa*(parseInt(r(0x1f9))/0xb)+parseInt(r(0x210))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x4b624));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const s=a82d;if(c){const e=c[s(0x215)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const t=a82d;return a82a[t(0x206)]()[t(0x1f2)]('(((.+)+)+)+$')[t(0x206)]()[t(0x1f0)](a82a)[t(0x1f2)](t(0x1f4));});a82a();import a82e from'fs';import a82f from'path';function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x1e7;let f=c[d];return f;},a82d(a,b);}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[a82u(0x1e8)]({'name':a82u(0x21c),'usage':a82u(0x216),'mustBeInMakaProject':!![],'validOpts':[a82u(0x1fe),a82u(0x20e),a82u(0x204),'targetHost'],'maxArgLength':0x1,'shortDesc':a82u(0x224),'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':[a82u(0x216),a82u(0x1ef),a82u(0x21a)]},async function(a,b){const v=a82u,c=this[v(0x222)][v(0x205)](),d=v(0x218),e=this['fsi'][v(0x21d)](d),f=this[v(0x222)]['mkKeysDir']({'configPath':e}),g=b[v(0x20e)]?Number(b[v(0x20e)]):0xbb8,h=b['listenPort']?Number(b[v(0x204)]):0xd73,i=b[v(0x1f6)]?b[v(0x1f6)]:v(0x212),j=a82f[v(0x21e)](f,c[v(0x1fc)]+'.key'),k=a82f['join'](f,c[v(0x1fc)]+'.crt');(!this[v(0x222)][v(0x1ed)](j)||!this[v(0x222)][v(0x1ed)](k))&&(await a82h[v(0x214)](v(0x1f3),[],{'env':d}),SSL[v(0x1f7)]({'keyName':c[v(0x1fc)]+'.key','csrName':c[v(0x1fc)]+'.csr','cwd':f,'useConfig':!![]}),this['fsi']['isFile'](a82f['join'](f,c[v(0x1fc)]+v(0x1f5)))&&Log['info'](v(0x20b)+a82f[v(0x21e)](f,c[v(0x1fc)]+v(0x1f5))),SSL[v(0x1ec)]({'keyName':c[v(0x1fc)]+'.key','crtName':c[v(0x1fc)]+'.crt','cwd':f,'useConfig':!![]}),this['fsi']['isFile'](a82f[v(0x21e)](f,c[v(0x1fc)]+'.crt'))&&Log[v(0x203)](v(0x201)+a82f[v(0x21e)](f,c[v(0x1fc)]+v(0x211))),Log[v(0x203)]('Key\x20file\x20created:\x20'+j));if(g===h){Log[v(0x217)](v(0x1f8));throw new UsageError();}const l={'ssl':{'key':a82e[v(0x202)](j,v(0x20a)),'cert':a82e[v(0x202)](k,v(0x20a))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]},m=a82g[v(0x221)](l);m['on'](v(0x217),(o,p,q)=>{const w=v;w(0x1fa)in q&&(Log[w(0x217)]('Proxy\x20error:\x20'+o['message']),!q[w(0x208)]&&(q[w(0x1fa)](0x1f4,{'content-type':w(0x223)}),q[w(0x207)]('Internal\x20server\x20error.')));}),m[v(0x20f)](Number(h)),Log[v(0x1ea)](v(0x1fb)+h+v(0x1e7)+g);const n=0x7d0;process['on'](v(0x209),()=>{const x=v,o=Log[x(0x200)]();o[x(0x1eb)]('Shutting\x20down\x20proxy\x20server...');const p=setTimeout(()=>{const y=x;o[y(0x20d)](),process[y(0x1e9)](0x1);},n);m['close'](()=>{const z=x;clearTimeout(p),Log[z(0x203)]('Proxy\x20server\x20closed.'),process[z(0x1e9)](0x0);});});});function a82c(){const A=['isFile','1682360XDljja','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','constructor','2836195orkKfc','search','sslconfig','(((.+)+)+)+$','.csr','targetHost','genCSR','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','394867csRmLZ','writeHead','=>\x20SSL\x20Proxy\x20forwarding\x20','appName','42quEuqS','help','9IqqiWH','withSpinner','SSC\x20file\x20created:\x20','readFileSync','info','listenPort','getMakaProjectConfig','toString','end','headersSent','SIGINT','utf8','CSR\x20file\x20created:\x20','2571OTAgoa','success','targetPort','listen','2301156gfnGXR','.crt','localhost','1121iacEeH','processAndRunGenerator','apply','maka\x20proxy','error','development','516509vKXAil','maka\x20proxy\x20--target-host\x20http://192.168.1.20','542ghQKFr','proxy','getAppConfigPath','join','88PSWtgy','130MePGrN','createProxyServer','fsi','text/plain','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','\x20to\x20','create','exit','bright','start','genSSC'];a82c=function(){return A;};return a82c();}
1
+ const a82u=a82d;(function(a,b){const r=a82d,c=a();while(!![]){try{const d=parseInt(r(0x95))/0x1+-parseInt(r(0xad))/0x2+parseInt(r(0x87))/0x3+-parseInt(r(0xa3))/0x4*(parseInt(r(0x94))/0x5)+parseInt(r(0xb0))/0x6*(-parseInt(r(0x9e))/0x7)+-parseInt(r(0xa9))/0x8*(parseInt(r(0xb3))/0x9)+parseInt(r(0x7f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0xddfa4));function a82c(){const A=['54534MMEOEs','localhost','fsi','3078KBNZoE','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','listen','writeHead','CSR\x20file\x20created:\x20','.csr','withSpinner','.key','SSC\x20file\x20created:\x20','maka\x20proxy','21058320xldtLY','utf8','info','getAppConfigPath','Proxy\x20error:\x20','genSSC','maka\x20proxy\x20--target-host\x20http://192.168.1.20','text/plain','3750288pVSpgm','targetHost','(((.+)+)+)+$','proxy','genCSR','createProxyServer','readFileSync','development','end','appName','success','error','SIGINT','7817720eLtLVj','591857XscsaG','join','toString','isFile','search','=>\x20SSL\x20Proxy\x20forwarding\x20','Proxy\x20server\x20closed.','targetPort','message','329klJUZv','getMakaProjectConfig','exit','.crt','bright','4UHhrCl','constructor','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','apply','mkKeysDir','\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','4648oxmIid','create','close','Key\x20file\x20created:\x20','1698272XCECRl','Internal\x20server\x20error.','listenPort'];a82c=function(){return A;};return a82c();}const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const s=a82d;if(c){const e=c[s(0xa6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const t=a82d;return a82a[t(0x97)]()[t(0x99)](t(0x89))[t(0x97)]()[t(0xa4)](a82a)[t(0x99)](t(0x89));});a82a();import a82e from'fs';import a82f from'path';function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x78;let f=c[d];return f;},a82d(a,b);}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[a82u(0xaa)]({'name':a82u(0x8a),'usage':a82u(0x7e),'mustBeInMakaProject':!![],'validOpts':['help',a82u(0x9c),a82u(0xaf),a82u(0x88)],'maxArgLength':0x1,'shortDesc':a82u(0xa5),'description':a82u(0xa8),'examples':[a82u(0x7e),a82u(0xb4),a82u(0x85)]},async function(a,b){const v=a82u,c=this[v(0xb2)][v(0x9f)](),d=v(0x8e),e=this[v(0xb2)][v(0x82)](d),f=this[v(0xb2)][v(0xa7)]({'configPath':e}),g=b['targetPort']?Number(b[v(0x9c)]):0xbb8,h=b['listenPort']?Number(b[v(0xaf)]):0xd73,i=b[v(0x88)]?b[v(0x88)]:v(0xb1),j=a82f[v(0x96)](f,c[v(0x90)]+'.key'),k=a82f[v(0x96)](f,c['appName']+v(0xa1));(!this[v(0xb2)][v(0x98)](j)||!this[v(0xb2)][v(0x98)](k))&&(await a82h['processAndRunGenerator']('sslconfig',[],{'env':d}),SSL[v(0x8b)]({'keyName':c['appName']+v(0x7c),'csrName':c[v(0x90)]+'.csr','cwd':f,'useConfig':!![]}),this[v(0xb2)][v(0x98)](a82f[v(0x96)](f,c[v(0x90)]+'.csr'))&&Log[v(0x81)](v(0x79)+a82f[v(0x96)](f,c[v(0x90)]+v(0x7a))),SSL[v(0x84)]({'keyName':c[v(0x90)]+'.key','crtName':c[v(0x90)]+v(0xa1),'cwd':f,'useConfig':!![]}),this[v(0xb2)][v(0x98)](a82f[v(0x96)](f,c[v(0x90)]+v(0xa1)))&&Log['info'](v(0x7d)+a82f['join'](f,c[v(0x90)]+v(0xa1))),Log[v(0x81)](v(0xac)+j));if(g===h){Log['error']('Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.');throw new UsageError();}const l={'ssl':{'key':a82e[v(0x8d)](j,v(0x80)),'cert':a82e[v(0x8d)](k,v(0x80))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]},m=a82g[v(0x8c)](l);m['on'](v(0x92),(o,p,q)=>{const w=v;w(0x78)in q&&(Log[w(0x92)](w(0x83)+o[w(0x9d)]),!q['headersSent']&&(q[w(0x78)](0x1f4,{'content-type':w(0x86)}),q[w(0x8f)](w(0xae))));}),m[v(0xb5)](Number(h)),Log[v(0xa2)](v(0x9a)+h+'\x20to\x20'+g);const n=0x7d0;process['on'](v(0x93),()=>{const x=v,o=Log[x(0x7b)]();o['start']('Shutting\x20down\x20proxy\x20server...');const p=setTimeout(()=>{const y=x;o[y(0x91)](),process[y(0xa0)](0x1);},n);m[x(0xab)](()=>{const z=x;clearTimeout(p),Log[z(0x81)](z(0x9b)),process[z(0xa0)](0x0);});});});
@@ -1 +1 @@
1
- const a83q=a83d;(function(a,b){const n=a83d,c=a();while(!![]){try{const d=parseInt(n(0x16d))/0x1*(parseInt(n(0x159))/0x2)+parseInt(n(0x156))/0x3*(parseInt(n(0x157))/0x4)+-parseInt(n(0x15a))/0x5+parseInt(n(0x151))/0x6*(parseInt(n(0x146))/0x7)+-parseInt(n(0x15b))/0x8+-parseInt(n(0x167))/0x9+parseInt(n(0x168))/0xa*(parseInt(n(0x153))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0xc7590));const a83b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a83d;if(c){const e=c[o(0x160)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){const p=a83d;return a83a['toString']()[p(0x154)](p(0x158))[p(0x16c)]()[p(0x161)](a83a)[p(0x154)](p(0x158));});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';Command['create']({'name':a83q(0x162),'aliases':['reconfig'],'validOpts':[''],'requiredOpts':[a83q(0x145)],'mustBeInMakaProject':!![],'usage':a83q(0x165),'shortDesc':a83q(0x14f),'description':a83q(0x170),'examples':[a83q(0x14d)]},async function(a,b){const r=a83q;try{const c=this[r(0x147)]['getAppConfigPath'](b['env']),d=a83f[r(0x16f)](c,'ssh.json'),f=a83e['readFileSync'](d)[r(0x16c)](),g=JSON['parse'](f);Object[r(0x164)](g,{'env':c}),Log[r(0x16a)](r(0x163));const h=SSH[r(0x15f)](r(0x15e),g);if(!h)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(h)Log[r(0x148)]('Remote\x20host\x20connection\x20successful');const i=a83f[r(0x16f)](c,'_keys',r(0x155));if(a83e[r(0x14b)](i)){const l={'source':i,'dest':r(0x15d),'verbose':!![]};SSH['scp'](l,{...g});}const j=a83f[r(0x16f)](c,r(0x14e));SSH['scp']({'source':j,'dest':r(0x15c),'verbose':!![]},{...g});const k=a83f[r(0x16f)](c,r(0x149));SSH[r(0x16e)]({'source':k,'dest':r(0x14a),'verbose':!![]},{...g}),SSH[r(0x152)](r(0x169),g),await SSH[r(0x150)](r(0x16b),{...g},{'verbose':!![]});}catch(m){console[r(0x14c)](m),process[r(0x166)](0x0);}});function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0x145;let f=c[d];return f;},a83d(a,b);}function a83c(){const s=['env','427LQBJFD','fsi','success','settings.json','~/settings.json','existsSync','error','maka\x20reconfig\x20--env\x20prod','pm2.config.js','Reconfigure\x20your\x20deployed\x20applications\x20w/o\x20rebuild\x20or\x20redploy','ssh','20874fyzPti','sshSync','11nEatfk','search','ses.json','6546mlqGaV','1020mtcrZa','(((.+)+)+)+$','8nLzaOa','464625PDGlcx','7874256DuFpyF','~/pm2.config.js','~/ses.json','uname\x20-a','ping','apply','constructor','reconfigure','Checking\x20remote\x20host\x20availability','assign','maka\x20reconfig','exit','3932028lBblrY','2151820eUiWzo','pm2\x20delete\x20all','notice','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','toString','336704ZStGtd','scp','join','\x0a\x20\x20If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x0a\x20\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.\x0a\x0a\x20\x20This\x20does\x20not\x20restart\x20the\x20nginx\x20server\x20and\x20is\x20much\x20faster\x20than\x20deploying\x0a\x20\x20a\x20new\x20build.\x0a\x20\x20'];a83c=function(){return s;};return a83c();}
1
+ const a83p=a83d;(function(a,b){const n=a83d,c=a();while(!![]){try{const d=-parseInt(n(0x74))/0x1*(parseInt(n(0x95))/0x2)+parseInt(n(0x7d))/0x3*(-parseInt(n(0x7c))/0x4)+parseInt(n(0x7e))/0x5+-parseInt(n(0x8f))/0x6+parseInt(n(0x6d))/0x7*(-parseInt(n(0x8a))/0x8)+-parseInt(n(0x92))/0x9*(-parseInt(n(0x84))/0xa)+parseInt(n(0x78))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0x6dba5));function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0x6d;let f=c[d];return f;},a83d(a,b);}const a83b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){const o=a83d;return a83a[o(0x79)]()[o(0x91)](o(0x6f))[o(0x79)]()[o(0x89)](a83a)[o(0x91)](o(0x6f));});function a83c(){const r=['error','167149KnbBYs','Checking\x20remote\x20host\x20availability','Remote\x20host\x20connection\x20successful','fsi','17910541qXcMgH','toString','scp','ping','3385444RiZdss','3tIBQnb','2040865jHAHSJ','parse','~/settings.json','Reconfigure\x20your\x20deployed\x20applications\x20w/o\x20rebuild\x20or\x20redploy','readFileSync','assign','856200yfyHgo','env','~/pm2.config.js','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','sshSync','constructor','4839608ImedXR','ssh.json','exit','getAppConfigPath','\x0a\x20\x20If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x0a\x20\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.\x0a\x0a\x20\x20This\x20does\x20not\x20restart\x20the\x20nginx\x20server\x20and\x20is\x20much\x20faster\x20than\x20deploying\x0a\x20\x20a\x20new\x20build.\x0a\x20\x20','1865868SJOopr','maka\x20reconfig\x20--env\x20prod','search','36SLcFlQ','notice','~/ses.json','2MyWVLO','settings.json','join','pm2\x20delete\x20all','7lDjPpT','ses.json','(((.+)+)+)+$','reconfig','ssh','_keys'];a83c=function(){return r;};return a83c();}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';Command['create']({'name':'reconfigure','aliases':[a83p(0x70)],'validOpts':[''],'requiredOpts':['env'],'mustBeInMakaProject':!![],'usage':'maka\x20reconfig','shortDesc':a83p(0x81),'description':a83p(0x8e),'examples':[a83p(0x90)]},async function(a,b){const q=a83p;try{const c=this[q(0x77)][q(0x8d)](b[q(0x85)]),d=a83f[q(0x97)](c,q(0x8b)),f=a83e[q(0x82)](d)[q(0x79)](),g=JSON[q(0x7f)](f);Object[q(0x83)](g,{'env':c}),Log[q(0x93)](q(0x75));const h=SSH[q(0x7b)]('uname\x20-a',g);if(!h)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(h)Log['success'](q(0x76));const i=a83f[q(0x97)](c,q(0x72),q(0x6e));if(a83e['existsSync'](i)){const l={'source':i,'dest':q(0x94),'verbose':!![]};SSH[q(0x7a)](l,{...g});}const j=a83f[q(0x97)](c,'pm2.config.js');SSH['scp']({'source':j,'dest':q(0x86),'verbose':!![]},{...g});const k=a83f[q(0x97)](c,q(0x96));SSH[q(0x7a)]({'source':k,'dest':q(0x80),'verbose':!![]},{...g}),SSH[q(0x88)](q(0x98),g),await SSH[q(0x71)](q(0x87),{...g},{'verbose':!![]});}catch(m){console[q(0x73)](m),process[q(0x8c)](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a84d,c=a();while(!![]){try{var d=-parseInt(f(0x1f6))/0x1*(-parseInt(f(0x1f2))/0x2)+parseInt(f(0x1f9))/0x3+parseInt(f(0x1ee))/0x4+-parseInt(f(0x1fb))/0x5*(-parseInt(f(0x1f5))/0x6)+parseInt(f(0x1ed))/0x7*(-parseInt(f(0x1f0))/0x8)+parseInt(f(0x1f3))/0x9+parseInt(f(0x1f1))/0xa*(-parseInt(f(0x1ef))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x2a2c7));function a84d(a,b){var c=a84c();return a84d=function(d,e){d=d-0x1ed;var f=c[d];return f;},a84d(a,b);}var a84b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a84d;if(c){var e=c[g(0x1fc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){var h=a84d;return a84a[h(0x1f4)]()[h(0x1f8)](h(0x1f7))[h(0x1f4)]()[h(0x1fa)](a84a)[h(0x1f8)](h(0x1f7));});a84a();import'./run.command.js';import'./docker.sub.cmd.js';function a84c(){var i=['apply','7HNxMrq','985192HQgyMR','3164634lesPcg','2233168cCrPGU','10jwXKnL','154RxpgOj','38097CWTqwL','toString','6tWmruo','1652CTNLke','(((.+)+)+)+$','search','90642nhuSBt','constructor','1658170ZGNlIZ'];a84c=function(){return i;};return a84c();}
1
+ function a84c(){var h=['search','6282423VxDdsK','172356tJQDRE','4421370aDMiee','constructor','8ebuKha','402NyndqH','11hHFXxE','1421904MjudLx','toString','34ajPWFj','8548010ObLXcS','54019vbxnZG','33170BgaJEO','(((.+)+)+)+$'];a84c=function(){return h;};return a84c();}(function(a,b){var f=a84d,c=a();while(!![]){try{var d=-parseInt(f(0x1c9))/0x1*(-parseInt(f(0x1c6))/0x2)+parseInt(f(0x1be))/0x3+parseInt(f(0x1c4))/0x4+-parseInt(f(0x1bf))/0x5+parseInt(f(0x1c2))/0x6*(parseInt(f(0x1c8))/0x7)+-parseInt(f(0x1c1))/0x8*(-parseInt(f(0x1bd))/0x9)+parseInt(f(0x1c7))/0xa*(-parseInt(f(0x1c3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x6e8dd));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(0x1c5)]()[g(0x1bc)](g(0x1bb))[g(0x1c5)]()[g(0x1c0)](a84a)['search'](g(0x1bb));});a84a();import'./run.command.js';function a84d(a,b){var c=a84c();return a84d=function(d,e){d=d-0x1bb;var f=c[d];return f;},a84d(a,b);}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(0x18e))/0x1*(parseInt(i(0x19a))/0x2)+-parseInt(i(0x18b))/0x3+parseInt(i(0x192))/0x4+-parseInt(i(0x197))/0x5+-parseInt(i(0x196))/0x6*(parseInt(i(0x194))/0x7)+parseInt(i(0x19f))/0x8*(-parseInt(i(0x191))/0x9)+parseInt(i(0x187))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0x29aba));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(0x19c)]('(((.+)+)+)+$')[j(0x198)]()[j(0x188)](a85a)[j(0x19c)](j(0x19b));});a85a();import a85e from'./run.command.js';import{execSync}from'child_process';function a85c(){const m=['498051xCCHNW','80776Rpofpy','join','1379yWkNxd','appName','1470PoRKik','1451390isJXEH','toString','fsi','100952JbhhRB','(((.+)+)+)+$','search','maka\x20run\x20docker','create','16siBYUT','getAppConfigPath','exit','9672810PNZWai','constructor','getMakaProjectConfig','PM2\x20Config\x20File:\x20','194148mEFgUu','Docker\x20Compose\x20Path:\x20','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','6BWDpWF','docker','createFile'];a85c=function(){return m;};return a85c();}import a85f from'path';function a85d(a,b){const c=a85c();return a85d=function(d,e){d=d-0x185;let f=c[d];return f;},a85d(a,b);}import a85g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a85k(0x19e)]({'name':'docker','aliases':['d'],'shortDesc':a85k(0x18d),'description':'\x0a\x20\x20Run\x20your\x20application\x20in\x20a\x20Docker\x20container.\x20\x20Docker\x20Desktop\x20or\x20Colmia\x20is\x20required.\x0a\x0a\x20\x20Colima\x20is\x20a\x20great\x20alternative\x20to\x20Docker\x20Desktop,\x20and\x20it\x20is\x20free!\x0a\x20\x20Colima:\x20https://github.com/abiosoft/colima\x0a\x0a\x20\x20A\x20docker-compose.yml\x20file\x20(location\x20defaulted\x20to\x20the\x20\x22config/docker\x22\x20folder)\x0a\x20\x20is\x20used\x20to\x20startup\x20mongo\x20and\x20load\x20the\x20built\x20image\x27\x0a\x20\x20','usage':a85k(0x19d),'isPro':![],'validOpts':['']},async function(){const l=a85k;try{const a=this['fsi'][l(0x189)](),b=this[l(0x199)][l(0x185)](l(0x18f)),c=a85f[l(0x193)](b,'docker-compose.yaml'),d=a85f[l(0x193)](b,'pm2.config.js');Log['notice'](l(0x18a)+d),Log['notice'](l(0x18c)+c);if(!a85g['existsSync'](c)){const f={'app':a['appName'],'appFileCase':paramCase(a[l(0x195)])},g=this[l(0x199)]['templateContent']({'srcPath':'config/docker-compose.yaml','context':f})+'\x0a';this[l(0x199)][l(0x190)]({'filePath':c,'data':g});}execSync('docker-compose\x20--project-directory\x20'+b+'\x20up\x20--remove-orphans',{'stdio':'inherit'});}catch(h){process[l(0x186)](0x1);}},a85e);
1
+ function a85d(a,b){const c=a85c();return a85d=function(d,e){d=d-0x103;let f=c[d];return f;},a85d(a,b);}const a85l=a85d;(function(a,b){const i=a85d,c=a();while(!![]){try{const d=-parseInt(i(0x110))/0x1+-parseInt(i(0x111))/0x2+parseInt(i(0x11c))/0x3+-parseInt(i(0x11d))/0x4*(-parseInt(i(0x118))/0x5)+parseInt(i(0x117))/0x6*(parseInt(i(0x121))/0x7)+parseInt(i(0x115))/0x8+-parseInt(i(0x11e))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0x668bb));const a85b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a85d;if(c){const e=c[j(0x120)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){const k=a85d;return a85a['toString']()['search']('(((.+)+)+)+$')[k(0x10f)]()[k(0x114)](a85a)[k(0x10b)](k(0x10a));});a85a();import a85e from'./run.command.js';import{execSync}from'child_process';import a85f from'path';import a85g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';function a85c(){const n=['search','create','pm2.config.js','notice','toString','480531uKUKxU','427878yObHAt','\x20up\x20--remove-orphans','getAppConfigPath','constructor','549680MZucDQ','appName','966IVdWdQ','1843300ztsDnj','existsSync','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','ensureAllDependenciesInstalled','1402518WJdFGF','8mVmhbe','7762032LJAMdz','Docker\x20Compose\x20Path:\x20','apply','30583vJPABJ','exit','\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','fsi','docker','PM2\x20Config\x20File:\x20','join','docker-compose.yaml','templateContent','(((.+)+)+)+$'];a85c=function(){return n;};return a85c();}Command[a85l(0x10c)]({'name':a85l(0x105),'aliases':['d'],'shortDesc':a85l(0x11a),'description':a85l(0x103),'usage':'maka\x20run\x20docker','isPro':![],'validOpts':['']},async function(){const m=a85l;try{const a=this[m(0x104)]['getMakaProjectConfig']();await this[m(0x104)][m(0x11b)]();const b=this[m(0x104)][m(0x113)](m(0x105)),c=a85f[m(0x107)](b,m(0x108)),d=a85f['join'](b,m(0x10d));Log['notice'](m(0x106)+d),Log[m(0x10e)](m(0x11f)+c);if(!a85g[m(0x119)](c)){const f={'app':a[m(0x116)],'appFileCase':paramCase(a[m(0x116)])},g=this[m(0x104)][m(0x109)]({'srcPath':'config/docker-compose.yaml','context':f})+'\x0a';this[m(0x104)]['createFile']({'filePath':c,'data':g});}execSync('docker-compose\x20--project-directory\x20'+b+m(0x112),{'stdio':'inherit'});}catch(h){process[m(0x122)](0x1);}},a85e);
@@ -1 +1 @@
1
- const a86t=a86d;(function(a,b){const p=a86d,c=a();while(!![]){try{const d=parseInt(p(0x148))/0x1+parseInt(p(0x171))/0x2+parseInt(p(0x15b))/0x3+-parseInt(p(0x14d))/0x4+parseInt(p(0x164))/0x5+parseInt(p(0x14a))/0x6*(-parseInt(p(0x15f))/0x7)+-parseInt(p(0x16f))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0xb3fdf));const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a86d;if(c){const e=c[q(0x150)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const r=a86d;return a86a['toString']()[r(0x162)](r(0x14e))[r(0x16d)]()[r(0x175)](a86a)[r(0x162)]('(((.+)+)+)+$');});a86a();import a86e from'path';import a86f from'fs';import a86g from'dotenv';function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0x148;let f=c[d];return f;},a86d(a,b);}import{rimraf}from'rimraf';import{Command}from'../../command.js';function a86c(){const w=['extraPackages','run','settings.json','--production','createFile','splice','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)','toString','invokeMeteorCommand','13686848rzkddm','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','1046110SGtxfF','length','concat','mobileServer','constructor','Cannot\x20find\x20Node\x20Environment\x20file,\x20creating:\x20','join','isDirectory','findProjectDirectory','isFile','sep','development','slice','argv','forEach','excludeArchs','boolean','Run\x20your\x20Meteor\x20application','filter','1111867MuEhGW','Meteor\x20Settings:\x20','14076JgRdbJ','.meteor','fsi','320860kzSejL','(((.+)+)+)+$','settings','apply','allowIncompatibleUpdate','app','warn','exit','config','getAppConfigPath','push','ios','production','\x22web.browser.legacy\x22','1565754nNalMI','--env','error','notice','1526TmWoZl','port','env','search','process.env','4414530UKIcGd','cordova-build'];a86c=function(){return w;};return a86c();}import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const s=a86d;a86f['openSync'](a,'r'),a86g[s(0x155)]({'path':a});},Run=Command['create']({'name':a86t(0x167),'mustBeInMakaProject':!![],'aliases':['r'],'shortDesc':a86t(0x182),'description':'\x0a\x20\x20maka\x20run\x0a\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.\x0a\x20\x20','validOpts':[a86t(0x161),'rawLogs',a86t(0x160),'inspect','mobileServer','verbose',a86t(0x151),a86t(0x166),'x',a86t(0x180),a86t(0x159),'ci']},async function(a,b){const u=a86t;try{await this[u(0x14c)]['checkMeteorPackage']('autoupdate',{'shouldInstall':!![]});const c=a[0x0];if(c===u(0x158)){const l=this[u(0x14c)][u(0x179)](),m=a86e[u(0x177)](l,u(0x152),u(0x14b),'local',u(0x165));this['fsi'][u(0x178)](m)&&await rimraf(m);}!b[u(0x180)]&&!b['x']&&(a=a[u(0x173)](['--exclude-archs',u(0x15a)]));if(b[u(0x174)]&&typeof b[u(0x174)]===u(0x181))throw u(0x16c);const d=b[u(0x161)]?b[u(0x161)]:u(0x17c),f=this[u(0x14c)][u(0x156)](d),g=a86e[u(0x177)](f,u(0x163));let h=a86e['join'](f,u(0x168));b[u(0x14f)]?h=b[u(0x14f)]:h=a86e[u(0x177)](f,u(0x168));this['fsi'][u(0x17a)](g)?(Log[u(0x15e)]('Node\x20Env\x20Config:\x20'+g),syncSource(g)):(Log['info'](u(0x176)+g),this[u(0x14c)][u(0x16a)]({'filePath':g,'data':''}));this[u(0x14c)]['isFile'](h)?(Log[u(0x15e)](u(0x149)+h),a=a[u(0x173)](['--settings',h])):Log[u(0x153)](u(0x170)+h);const i=f['split'](a86e[u(0x17b)]),j=i[i[u(0x172)]-0x1];j===u(0x159)&&a[u(0x157)](u(0x169));const k=process[u(0x17e)][u(0x17d)](0x2)[u(0x183)](n=>n!=='run')[u(0x183)](n=>n!==a[0x0]);k[u(0x17f)]((n,o)=>{const v=u;n===v(0x15c)&&k[v(0x16b)](o,0x2),n==='-e'&&k['splice'](o,0x2);}),this['fsi'][u(0x16e)](u(0x167),a[u(0x173)](k));}catch(n){Log[u(0x15d)](n),process[u(0x154)](0x1);}});export default Run;
1
+ const a86t=a86d;(function(a,b){const p=a86d,c=a();while(!![]){try{const d=parseInt(p(0x16b))/0x1*(-parseInt(p(0x17b))/0x2)+parseInt(p(0x1a1))/0x3+parseInt(p(0x19c))/0x4+parseInt(p(0x18f))/0x5+-parseInt(p(0x1a0))/0x6+parseInt(p(0x19f))/0x7+-parseInt(p(0x190))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0x1fb6d));const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a86d;if(c){const e=c[q(0x16c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const r=a86d;return a86a[r(0x188)]()[r(0x185)]('(((.+)+)+)+$')['toString']()[r(0x19e)](a86a)[r(0x185)](r(0x17d));});function a86c(){const w=['forEach','concat','mobileServer','Cannot\x20find\x20Node\x20Environment\x20file,\x20creating:\x20','--exclude-archs','170810QrlJkK','1768136UssHdo','splice','join','rawLogs','excludeArchs','autoupdate','run','length','sep','production','isDirectory','Node\x20Env\x20Config:\x20','698844FJWuGS','invokeMeteorCommand','constructor','1458590ZpaDDJ','1007226mQNkNx','509922VXUTMf','env','--production','create','push','development','openSync','.meteor','isFile','settings.json','cordova-build','34214bRWamD','apply','notice','Meteor\x20Settings:\x20','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','app','verbose','split','getAppConfigPath','error','config','filter','warn','fsi','info','exit','4TjHUjL','ensureAllDependenciesInstalled','(((.+)+)+)+$','process.env','argv','checkMeteorPackage','inspect','--env','allowIncompatibleUpdate','createFile','search','slice','settings','toString','\x22web.browser.legacy\x22'];a86c=function(){return w;};return a86c();}a86a();import a86e from'path';import a86f from'fs';function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0x16b;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[s(0x1a7)](a,'r'),a86g[s(0x175)]({'path':a});},Run=Command[a86t(0x1a4)]({'name':a86t(0x196),'mustBeInMakaProject':!![],'aliases':['r'],'shortDesc':'Run\x20your\x20Meteor\x20application','description':'\x0a\x20\x20maka\x20run\x0a\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.\x0a\x20\x20','validOpts':['env',a86t(0x193),'port',a86t(0x181),a86t(0x18c),a86t(0x171),a86t(0x183),'extraPackages','x',a86t(0x194),a86t(0x199),'ci']},async function(a,b){const u=a86t;try{await this['fsi'][u(0x180)](u(0x195),{'shouldInstall':!![]}),await this[u(0x178)][u(0x17c)]();const c=a[0x0];if(c==='ios'){const l=this[u(0x178)]['findProjectDirectory'](),m=a86e['join'](l,u(0x170),u(0x1a8),'local',u(0x1ab));this['fsi'][u(0x19a)](m)&&await rimraf(m);}!b[u(0x194)]&&!b['x']&&(a=a[u(0x18b)]([u(0x18e),u(0x189)]));if(b[u(0x18c)]&&typeof b[u(0x18c)]==='boolean')throw'Please\x20provide\x20a\x20URL\x20where\x20your\x20mobile\x20app\x20should\x20connect\x20to\x20your\x20server\x20(e.g.,\x20-m\x20|\x20--mobile-server=https://example-server.com)';const d=b[u(0x1a2)]?b[u(0x1a2)]:u(0x1a6),f=this['fsi'][u(0x173)](d),g=a86e['join'](f,u(0x17e));let h=a86e[u(0x192)](f,u(0x1aa));b[u(0x187)]?h=b[u(0x187)]:h=a86e['join'](f,u(0x1aa));this[u(0x178)][u(0x1a9)](g)?(Log[u(0x16d)](u(0x19b)+g),syncSource(g)):(Log[u(0x179)](u(0x18d)+g),this['fsi'][u(0x184)]({'filePath':g,'data':''}));this[u(0x178)][u(0x1a9)](h)?(Log['notice'](u(0x16e)+h),a=a[u(0x18b)](['--settings',h])):Log[u(0x177)](u(0x16f)+h);const i=f[u(0x172)](a86e[u(0x198)]),j=i[i[u(0x197)]-0x1];j===u(0x199)&&a[u(0x1a5)](u(0x1a3));const k=process[u(0x17f)][u(0x186)](0x2)[u(0x176)](n=>n!==u(0x196))[u(0x176)](n=>n!==a[0x0]);k[u(0x18a)]((n,o)=>{const v=u;n===v(0x182)&&k[v(0x191)](o,0x2),n==='-e'&&k[v(0x191)](o,0x2);}),this[u(0x178)][u(0x19d)](u(0x196),a['concat'](k));}catch(n){Log[u(0x174)](n),process[u(0x17a)](0x1);}});export default Run;
@@ -1 +1 @@
1
- (function(a,b){var f=a87d,c=a();while(!![]){try{var d=parseInt(f(0x1cd))/0x1*(parseInt(f(0x1cf))/0x2)+-parseInt(f(0x1d7))/0x3+-parseInt(f(0x1d2))/0x4+-parseInt(f(0x1d6))/0x5*(-parseInt(f(0x1d9))/0x6)+parseInt(f(0x1d4))/0x7*(-parseInt(f(0x1ce))/0x8)+-parseInt(f(0x1d0))/0x9+parseInt(f(0x1d8))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0x84826));var a87b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a87d;if(c){var e=c[g(0x1da)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){var h=a87d;return a87a['toString']()[h(0x1d3)](h(0x1d1))['toString']()[h(0x1d5)](a87a)[h(0x1d3)](h(0x1d1));});function a87d(a,b){var c=a87c();return a87d=function(d,e){d=d-0x1cd;var f=c[d];return f;},a87d(a,b);}a87a();import'./set.command.js';import'./global.sub.cmd.js';function a87c(){var i=['25752730EseAIU','18BeywtG','apply','11kKoiWq','7701208kWGrlA','23570BvFyvQ','6950898ijUvPI','(((.+)+)+)+$','750840lLFneZ','search','7LbMzzw','constructor','325845QkHUZS','1304922HNrDgd'];a87c=function(){return i;};return a87c();}import'./local.sub.cmd.js';
1
+ (function(a,b){var f=a87d,c=a();while(!![]){try{var d=parseInt(f(0xde))/0x1*(parseInt(f(0xd7))/0x2)+-parseInt(f(0xd8))/0x3+parseInt(f(0xdd))/0x4+-parseInt(f(0xe0))/0x5+-parseInt(f(0xdf))/0x6+parseInt(f(0xda))/0x7*(parseInt(f(0xdc))/0x8)+-parseInt(f(0xd9))/0x9*(-parseInt(f(0xd5))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0x2fb60));var a87b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a87d;if(c){var e=c[g(0xd2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){var h=a87d;return a87a['toString']()[h(0xd3)](h(0xd6))[h(0xdb)]()[h(0xd4)](a87a)[h(0xd3)](h(0xd6));});a87a();import'./set.command.js';import'./global.sub.cmd.js';function a87c(){var i=['(((.+)+)+)+$','273970LZZtmC','446043gYZhYi','2565963nUlZqr','112RmXjnJ','toString','155968eUFrDM','188212eNKRRH','1acLxxw','2148384YICnTA','1820095yMlEiW','apply','search','constructor','20wXvioB'];a87c=function(){return i;};return a87c();}function a87d(a,b){var c=a87c();return a87d=function(d,e){d=d-0xd2;var f=c[d];return f;},a87d(a,b);}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(0xbe))/0x1+-parseInt(h(0xdc))/0x2*(parseInt(h(0xd7))/0x3)+parseInt(h(0xc8))/0x4*(parseInt(h(0xe4))/0x5)+-parseInt(h(0xdf))/0x6*(-parseInt(h(0xe0))/0x7)+parseInt(h(0xdd))/0x8*(parseInt(h(0xc4))/0x9)+-parseInt(h(0xd6))/0xa*(parseInt(h(0xe7))/0xb)+parseInt(h(0xc9))/0xc*(-parseInt(h(0xd3))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0xc12d8));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a88d;if(c){const e=c[i(0xd8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const j=a88d;return a88a[j(0xc7)]()[j(0xc0)](j(0xd2))[j(0xc7)]()[j(0xe1)](a88a)[j(0xc0)](j(0xd2));});a88a();import a88e from'path';function a88c(){const m=['173169tbgoJW','Set\x20OpenAI\x20Key:\x20','allowInsecure','toString','201508PBHnCB','6480fWrnie','error','\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','Set\x20allowInsecure:\x20','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','global-config','Set\x20color\x20pallet\x20to:\x20','dark','exit','(((.+)+)+)+$','57876JnPoCi','Set\x20workspace:\x20','cacert','740HTRGFQ','779976EaCrqS','apply','disallowInsecure','maka\x20set:global-config','pallet','2BZKGij','424XbLArH','isDirectory','15402SVyopw','3206xQcPXO','constructor','workspace','Set\x20CA\x20Cert\x20Path:\x20','115NbJAqc','isFile','openai','126907XdzkXf','resolve','Could\x20not\x20find\x20directory','success','maka\x20set:global-config\x20--cacert\x20<path>','fsi','maka\x20set:gc\x20--insecure\x20<path>','create','954936AkJxdK','setGlobalConfig','search','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','maka\x20set:gc\x20--workspace\x20<path>','One\x20or\x20the\x20other\x20buddy'];a88c=function(){return m;};return a88c();}function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0xbd;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(0xbd)]({'name':a88k(0xce),'usage':a88k(0xda),'aliases':['gc'],'maxOptsLength':0x3,'validOpts':[{'name':a88k(0xd5),'boolFlag':![]},{'name':a88k(0xc6),'boolFlag':!![]},{'name':a88k(0xd9),'boolFlag':!![]},{'name':'workspace','boolFlag':![]},{'name':a88k(0xe6),'boolFlag':![]},{'name':'help','boolFlag':!![]},{'name':a88k(0xdb),'values':['light',a88k(0xd0)]}],'shortDesc':'Set\x20global\x20Maka-CLI\x20settings','description':a88k(0xcb),'examples':[a88k(0xeb),a88k(0xed),a88k(0xc2)]},async function(a,b){const l=a88k;try{if(b['cacert']){if(this['fsi'][l(0xe5)](b[l(0xd5)]))await this['fsi'][l(0xbf)]({'cert':b[l(0xd5)]}),Log[l(0xea)](l(0xe3)+b[l(0xd5)]);else{const c=typeof b[l(0xd5)]==='boolean'?l(0xcd):l(0xc1)+b['cacert'];throw Log[l(0xca)](c);}}if(b[l(0xe2)]){const d=this[l(0xec)][l(0xde)](b[l(0xe2)]);if(d)await this[l(0xec)][l(0xbf)]({'workspace':a88e[l(0xe8)](b[l(0xe2)])}),Log[l(0xea)](l(0xd4)+a88e[l(0xe8)](b['workspace']));else throw Log[l(0xca)](l(0xe9));}b[l(0xe6)]&&(await this[l(0xec)][l(0xbf)]({'openai':b[l(0xe6)]}),Log[l(0xea)](l(0xc5)+b[l(0xe6)]));b[l(0xdb)]&&(await this[l(0xec)][l(0xbf)]({'pallet':b[l(0xdb)]}),Log[l(0xea)](l(0xcf)+b[l(0xdb)]));if(b[l(0xc6)]){if(b[l(0xc6)]&&b[l(0xd9)])throw Log[l(0xca)](l(0xc3));let f=b[l(0xc6)];b[l(0xd9)]&&(f=![]),await this[l(0xec)][l(0xbf)]({'allowInsecure':f}),Log[l(0xea)](l(0xcc)+f);}process[l(0xd1)](0x0);}catch(g){console['error'](g),process[l(0xd1)](0x0);}},a88f);
1
+ const a88k=a88d;function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x132;let f=c[d];return f;},a88d(a,b);}(function(a,b){const h=a88d,c=a();while(!![]){try{const d=-parseInt(h(0x13a))/0x1+parseInt(h(0x137))/0x2*(-parseInt(h(0x141))/0x3)+-parseInt(h(0x132))/0x4*(-parseInt(h(0x143))/0x5)+-parseInt(h(0x146))/0x6+parseInt(h(0x147))/0x7*(parseInt(h(0x133))/0x8)+parseInt(h(0x159))/0x9*(-parseInt(h(0x15b))/0xa)+parseInt(h(0x138))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0xb30a1));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a88d;if(c){const e=c[i(0x149)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const j=a88d;return a88a[j(0x13b)]()['search'](j(0x152))[j(0x13b)]()[j(0x13e)](a88a)[j(0x14a)](j(0x152));});a88a();import a88e from'path';function a88c(){const m=['create','Could\x20not\x20find\x20directory','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','isFile','allowInsecure','maka\x20set:global-config','(((.+)+)+)+$','global-config','dark','isDirectory','fsi','pallet','disallowInsecure','6498uoCkWA','Set\x20global\x20Maka-CLI\x20settings','2950SaVRXY','resolve','Set\x20color\x20pallet\x20to:\x20','success','maka\x20set:global-config\x20--cacert\x20<path>','256fhOoPg','16312zvhBKw','error','exit','openai','35082nIfhIW','916487wWvbPw','cacert','713100voDuFj','toString','help','workspace','constructor','setGlobalConfig','Set\x20allowInsecure:\x20','63tOTXal','Set\x20CA\x20Cert\x20Path:\x20','112645XKIMoL','maka\x20set:gc\x20--insecure\x20<path>','Set\x20OpenAI\x20Key:\x20','5266680gJEjCk','4739GLqeCc','boolean','apply','search'];a88c=function(){return m;};return a88c();}import a88f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a88k(0x14b)]({'name':a88k(0x153),'usage':a88k(0x151),'aliases':['gc'],'maxOptsLength':0x3,'validOpts':[{'name':'cacert','boolFlag':![]},{'name':a88k(0x150),'boolFlag':!![]},{'name':'disallowInsecure','boolFlag':!![]},{'name':a88k(0x13d),'boolFlag':![]},{'name':a88k(0x136),'boolFlag':![]},{'name':a88k(0x13c),'boolFlag':!![]},{'name':a88k(0x157),'values':['light',a88k(0x154)]}],'shortDesc':a88k(0x15a),'description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x0a\x20\x20There\x20are\x20occasions\x20where\x20your\x20network\x20may\x20need\x20an\x20intermediate\x20certificate\x0a\x20\x20to\x20allow\x20connections\x20outside.\x20\x20You\x20may\x20set\x20your\x20certificate\x20path\x20using\x20the\x20command:\x0a\x0a\x20\x20maka\x20set:gc\x20--cacert\x0a\x20\x20','examples':[a88k(0x15f),a88k(0x144),'maka\x20set:gc\x20--workspace\x20<path>']},async function(a,b){const l=a88k;try{if(b['cacert']){if(this[l(0x156)][l(0x14f)](b[l(0x139)]))await this[l(0x156)][l(0x13f)]({'cert':b['cacert']}),Log[l(0x15e)](l(0x142)+b[l(0x139)]);else{const c=typeof b['cacert']===l(0x148)?l(0x14d):l(0x14e)+b[l(0x139)];throw Log[l(0x134)](c);}}if(b[l(0x13d)]){const d=this[l(0x156)][l(0x155)](b[l(0x13d)]);if(d)await this[l(0x156)]['setGlobalConfig']({'workspace':a88e['resolve'](b[l(0x13d)])}),Log[l(0x15e)]('Set\x20workspace:\x20'+a88e[l(0x15c)](b[l(0x13d)]));else throw Log['error'](l(0x14c));}b[l(0x136)]&&(await this['fsi'][l(0x13f)]({'openai':b['openai']}),Log[l(0x15e)](l(0x145)+b['openai']));b[l(0x157)]&&(await this[l(0x156)][l(0x13f)]({'pallet':b[l(0x157)]}),Log[l(0x15e)](l(0x15d)+b[l(0x157)]));if(b['allowInsecure']){if(b['allowInsecure']&&b['disallowInsecure'])throw Log[l(0x134)]('One\x20or\x20the\x20other\x20buddy');let f=b[l(0x150)];b[l(0x158)]&&(f=![]),await this[l(0x156)]['setGlobalConfig']({'allowInsecure':f}),Log['success'](l(0x140)+f);}process[l(0x135)](0x0);}catch(g){console[l(0x134)](g),process[l(0x135)](0x0);}},a88f);
@@ -1 +1 @@
1
- function a89d(a,b){var c=a89c();return a89d=function(d,e){d=d-0x131;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(0x140))/0x1+parseInt(f(0x13d))/0x2*(-parseInt(f(0x13c))/0x3)+parseInt(f(0x137))/0x4+-parseInt(f(0x131))/0x5+-parseInt(f(0x143))/0x6+-parseInt(f(0x133))/0x7+parseInt(f(0x135))/0x8*(parseInt(f(0x132))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x7b5f6));var a89b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a89d;if(c){var e=c[g(0x136)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){var h=a89d;return a89a[h(0x142)]()['search']('(((.+)+)+)+$')['toString']()[h(0x13e)](a89a)[h(0x141)](h(0x13b));});a89a();import a89e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a89c(){var k=['2LcJHtO','constructor','local-config','909843ocEanA','search','toString','4972338MojvUv','919000uDpOKA','121707TjUNeM','6105722czaPhI','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','2008ptrpeq','apply','3192392qqQvCZ','notice','create','maka\x20set:local-config','(((.+)+)+)+$','2677275XYXfIL'];a89c=function(){return k;};return a89c();}Command[a89i(0x139)]({'name':a89i(0x13f),'usage':a89i(0x13a),'examples':[],'aliases':['lc'],'mustBeInMakaProject':!![],'shortDesc':'Set\x20local\x20maka\x20app\x20settings','validOpts':[],'description':a89i(0x134)},async function(){var j=a89i;Log[j(0x138)]('Sorry,\x20not\x20implemented\x20yet');},a89e);
1
+ function a89c(){var k=['6024291foAGGl','local-config','234PNFuqX','37877460NhkQBi','28778kodQzv','search','9GOkGpc','12MulSqi','constructor','164oBmFSL','apply','create','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','120630zVQFVr','287414gVorka','toString','10LpFRtX','14363736TbpxsG','(((.+)+)+)+$','maka\x20set:local-config','notice','Sorry,\x20not\x20implemented\x20yet','12097822cEMdhp'];a89c=function(){return k;};return a89c();}var a89i=a89d;function a89d(a,b){var c=a89c();return a89d=function(d,e){d=d-0x165;var f=c[d];return f;},a89d(a,b);}(function(a,b){var f=a89d,c=a();while(!![]){try{var d=parseInt(f(0x179))/0x1+parseInt(f(0x16f))/0x2*(parseInt(f(0x16d))/0x3)+-parseInt(f(0x174))/0x4*(-parseInt(f(0x178))/0x5)+-parseInt(f(0x172))/0x6*(parseInt(f(0x16b))/0x7)+-parseInt(f(0x165))/0x8*(parseInt(f(0x171))/0x9)+-parseInt(f(0x17b))/0xa*(parseInt(f(0x16a))/0xb)+parseInt(f(0x16e))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0xe5382));var a89b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a89d;if(c){var e=c[g(0x175)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){var h=a89d;return a89a['toString']()[h(0x170)]('(((.+)+)+)+$')[h(0x17a)]()[h(0x173)](a89a)['search'](h(0x166));});a89a();import a89e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a89i(0x176)]({'name':a89i(0x16c),'usage':a89i(0x167),'examples':[],'aliases':['lc'],'mustBeInMakaProject':!![],'shortDesc':'Set\x20local\x20maka\x20app\x20settings','validOpts':[],'description':a89i(0x177)},async function(){var j=a89i;Log[j(0x168)](j(0x169));},a89e);
@@ -1 +1 @@
1
- const a90h=a90d;function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x1d6;let f=c[d];return f;},a90d(a,b);}(function(a,b){const f=a90d,c=a();while(!![]){try{const d=-parseInt(f(0x1db))/0x1+parseInt(f(0x1e3))/0x2*(parseInt(f(0x1e6))/0x3)+parseInt(f(0x1e1))/0x4+-parseInt(f(0x1e5))/0x5+-parseInt(f(0x1da))/0x6+-parseInt(f(0x1de))/0x7*(-parseInt(f(0x1e4))/0x8)+parseInt(f(0x1d7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0x2193c));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(0x1d9)]()[g(0x1e0)](g(0x1e2))[g(0x1d9)]()[g(0x1dd)](a90a)['search']('(((.+)+)+)+$');});a90a();import{Command}from'../../command.js';const SetCommand=Command[a90h(0x1e7)]({'name':a90h(0x1d6),'usage':a90h(0x1e8),'shortDesc':'Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','description':a90h(0x1dc),'validOpts':[]},async function(a,b){const i=a90h,c=a[0x0],d=this[i(0x1d8)](c);d&&this[i(0x1df)](c,a,b);});function a90c(){const j=['search','163352CRsFRD','(((.+)+)+)+$','83684jAlith','8MjOKXx','117380ybWids','3MtTyqp','create','maka\x20set:<sub-command>','set','906993mhTjFf','findSubCommand','toString','682110lfLoLs','158977cSeUoo','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','constructor','1751491rbquCM','runSubCommand'];a90c=function(){return j;};return a90c();}export default SetCommand;
1
+ function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0xe9;let f=c[d];return f;},a90d(a,b);}const a90i=a90d;(function(a,b){const f=a90d,c=a();while(!![]){try{const d=parseInt(f(0xeb))/0x1*(-parseInt(f(0xf1))/0x2)+-parseInt(f(0xf7))/0x3*(parseInt(f(0xf8))/0x4)+parseInt(f(0xfb))/0x5*(-parseInt(f(0xfa))/0x6)+parseInt(f(0xea))/0x7+-parseInt(f(0xf5))/0x8*(parseInt(f(0xf3))/0x9)+-parseInt(f(0xed))/0xa+parseInt(f(0xe9))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0x97ba9));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a90d;if(c){const e=c[g(0xec)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const h=a90d;return a90a[h(0xee)]()['search']('(((.+)+)+)+$')[h(0xee)]()[h(0xf6)](a90a)['search'](h(0xf0));});a90a();import{Command}from'../../command.js';const SetCommand=Command[a90i(0xef)]({'name':a90i(0xf2),'usage':'maka\x20set:<sub-command>','shortDesc':a90i(0xf4),'description':a90i(0xf9),'validOpts':[]},async function(a,b){const c=a[0x0],d=this['findSubCommand'](c);d&&this['runSubCommand'](c,a,b);});export default SetCommand;function a90c(){const j=['apply','8667300hZQWJZ','toString','create','(((.+)+)+)+$','97402EKrPWf','set','9KyfYJH','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','4452328kNbrPa','constructor','768OuYBBD','4604ObOmsv','\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','78HBnXoO','261985UtGVXf','39737093xNCwaK','2333975qSQfHp','19usEHKu'];a90c=function(){return j;};return a90c();}
@@ -1 +1 @@
1
- const a91m=a91d;(function(a,b){const j=a91d,c=a();while(!![]){try{const d=-parseInt(j(0x130))/0x1*(-parseInt(j(0x12f))/0x2)+parseInt(j(0x124))/0x3*(parseInt(j(0x126))/0x4)+parseInt(j(0x145))/0x5+-parseInt(j(0x127))/0x6*(-parseInt(j(0x142))/0x7)+-parseInt(j(0x12d))/0x8+parseInt(j(0x12c))/0x9+parseInt(j(0x138))/0xa*(-parseInt(j(0x13b))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0x2b1ea));function a91c(){const o=['env','402LgIlzf','373aoXByE','search','exit','assign','maka\x20ssh\x20--env\x20dev','(((.+)+)+)+$','fsi','maka\x20ssh\x20--env\x20prod','21220QfTuZD','getAppConfigPath','create','220zuXlIk','readFileSync','verbose','maka\x20ssh\x20--env\x20staging','toString','ssh','join','42931zYPdYj','maka\x20ssh\x20<command>','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','369205JbbPtz','30MqqCaq','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','13252JlpBio','18ICkfMd','error','sshSync','apply','constructor','2688264AKoImA','2239848xPFDkv'];a91c=function(){return o;};return a91c();}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(0x13f)]()[l(0x131)](l(0x135))[l(0x13f)]()[l(0x12b)](a91a)[l(0x131)]('(((.+)+)+)+$');});function a91d(a,b){const c=a91c();return a91d=function(d,e){d=d-0x124;let f=c[d];return f;},a91d(a,b);}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(0x13a)]({'name':a91m(0x140),'usage':a91m(0x143),'mustBeInMakaProject':!![],'requiredOpts':[a91m(0x12e)],'validOpts':[a91m(0x12e),a91m(0x13d)],'shortDesc':'Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','examples':[a91m(0x134),a91m(0x13e),a91m(0x137),a91m(0x125),'maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22',a91m(0x144)]},async function(a,b){const n=a91m;try{const c=this[n(0x136)][n(0x139)](b[n(0x12e)]);let d='';a['length']>0x0&&(d=a[0x0]);const f=a91f[n(0x141)](c,'ssh.json'),g=a91e[n(0x13c)](f)[n(0x13f)](),h=JSON['parse'](g);Object[n(0x133)](h,{'env':c}),SSH[n(0x129)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b[n(0x13d)]});}catch(i){Log[n(0x128)](i),process[n(0x132)](0x1);}});
1
+ const a91m=a91d;(function(a,b){const j=a91d,c=a();while(!![]){try{const d=-parseInt(j(0xb0))/0x1+-parseInt(j(0xa6))/0x2+parseInt(j(0xb5))/0x3+parseInt(j(0xa8))/0x4*(parseInt(j(0xa2))/0x5)+-parseInt(j(0xac))/0x6+-parseInt(j(0xb1))/0x7+parseInt(j(0xab))/0x8*(parseInt(j(0xae))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0xf124a));function a91d(a,b){const c=a91c();return a91d=function(d,e){d=d-0x9e;let f=c[d];return f;},a91d(a,b);}const a91b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a91d;if(c){const e=c[k(0xb2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){const l=a91d;return a91a['toString']()[l(0xb8)](l(0xb3))['toString']()[l(0x9e)](a91a)[l(0xb8)](l(0xb3));});a91a();import a91e from'fs';import a91f from'path';function a91c(){const o=['create','400QSDSzQ','3759252KvkDah','exit','534366yeLtNU','maka\x20ssh\x20<command>','1462721rzWBYd','10088505QdiBEg','apply','(((.+)+)+)+$','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','2214408YxBFwf','assign','getAppConfigPath','search','error','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','constructor','parse','maka\x20ssh\x20--env\x20dev','ssh','30GcUbpO','env','readFileSync','verbose','869192nQVkVr','fsi','830640lSVvsJ','join'];a91c=function(){return o;};return a91c();}import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';Command[a91m(0xaa)]({'name':a91m(0xa1),'usage':a91m(0xaf),'mustBeInMakaProject':!![],'requiredOpts':[a91m(0xa3)],'validOpts':[a91m(0xa3),a91m(0xa5)],'shortDesc':'Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','examples':[a91m(0xa0),'maka\x20ssh\x20--env\x20staging','maka\x20ssh\x20--env\x20prod',a91m(0xba),'maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22',a91m(0xb4)]},async function(a,b){const n=a91m;try{const c=this[n(0xa7)][n(0xb7)](b[n(0xa3)]);let d='';a['length']>0x0&&(d=a[0x0]);const f=a91f[n(0xa9)](c,'ssh.json'),g=a91e[n(0xa4)](f)['toString'](),h=JSON[n(0x9f)](g);Object[n(0xb6)](h,{'env':c}),SSH['sshSync'](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b[n(0xa5)]});}catch(i){Log[n(0xb9)](i),process[n(0xad)](0x1);}});
@@ -1 +1 @@
1
- const a92y=a92d;(function(a,b){const v=a92d,c=a();while(!![]){try{const d=parseInt(v(0xfd))/0x1*(parseInt(v(0xdb))/0x2)+-parseInt(v(0xd8))/0x3+parseInt(v(0x103))/0x4+parseInt(v(0xe4))/0x5+parseInt(v(0x106))/0x6*(-parseInt(v(0x10e))/0x7)+-parseInt(v(0xf3))/0x8+-parseInt(v(0xe1))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0xa88cb));const a92b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a92d;if(c){const e=c[w(0x105)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){const x=a92d;return a92a[x(0xe7)]()[x(0xf9)](x(0xf7))[x(0xe7)]()[x(0xff)](a92a)[x(0xf9)](x(0xf7));});a92a();import a92e from'fs';import a92f from'path';import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';function a92c(){const A=['generate-csr','21BLCLVI','maka\x20ssl\x20[command]','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','appName','exit','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','.csr','147132RtSGfp','withSpinner','success','7726xmPiQn','domains','existsSync','letsencrypt.json','\x20--email\x20','ssl','3309822BpBEcs','create','Create\x20and\x20manage\x20your\x20SSL\x20operations.','5652865boTieF','.key','notice','toString','start','join','ssh','genCSR','uname\x20-a','generate-ssc','writeFileSync','email','Remote\x20host\x20connection\x20successful','sudo\x20snap\x20install\x20--classic\x20certbot','getAppConfigPath','6264368pCrhwk','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','Verifying\x20Letsencrypt\x20configuration','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','(((.+)+)+)+$','mkKeysDir','search','domainNames','Using\x20saved\x20letsencrypt\x20config','fsi','15SZzRgy','New\x20CSR\x20written\x20to\x20','constructor','emailUpdate','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','env','4285368XddIeg','assign','apply','739266AaHYeX','letsencrypt','/ssh.json','Checking\x20remote\x20host\x20availability','readFileSync','ask','parse'];a92c=function(){return A;};return a92c();}import{Command}from'../command.js';function a92d(a,b){const c=a92c();return a92d=function(d,e){d=d-0xd1;let f=c[d];return f;},a92d(a,b);}import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command[a92y(0xe2)]({'name':a92y(0xe0),'usage':a92y(0xd1),'validOpts':['domains',a92y(0xef)],'requiredOpts':[a92y(0x102)],'shortDesc':a92y(0xe3),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':['maka\x20ssl\x20--env\x20dev\x20generate-csr',a92y(0xf4),a92y(0xd2)]},async function(a,b){const z=a92y,c=this[z(0xfc)]['getMakaProjectConfig'](),d=this[z(0xfc)][z(0xf2)](b[z(0x102)]),f=this[z(0xfc)][z(0xf8)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0x10d))SSL[z(0xeb)]({'keyName':c['appName']+z(0xe5),'csrName':c[z(0xd4)]+z(0xd7),'cwd':f});else{if(g===z(0xed)){if(!a92e[z(0xdd)](a92f[z(0xe9)](f,c[z(0xd4)]+'.key')))throw z(0x101)+a92f[z(0xe9)](f,c['appName']+z(0xe5));if(!a92e['existsSync'](a92f[z(0xe9)](f,c[z(0xd4)]+z(0xd7))))throw z(0xd6)+a92f[z(0xe9)](f,c['appName']+z(0xd7));SSL['genSSC']({'keyName':c['appName']+z(0xe5),'crtName':c[z(0xd4)]+'.crt','cwd':f}),Log['notice'](z(0xfe)+f);}else{if(g===z(0x107)){let h=b[z(0xdc)],i=b[z(0xef)];try{const p=a92e[z(0x10a)](a92f['join'](d,z(0xde)))['toString'](),q=JSON[z(0x10c)](p);h=b[z(0xdc)]?b[z(0xdc)]:q[z(0xfa)],i=b[z(0xef)]?b[z(0xef)]:q[z(0x100)],(!b[z(0xef)]||!b[z(0xdc)])&&Log[z(0xe6)](z(0xfb));}catch(r){}const j=JSON[z(0x10c)](a92e['readFileSync'](d+z(0x108))['toString']());Object[z(0x104)](j,{'env':d}),Log[z(0xe6)](z(0x109));try{const s=SSH['ping'](z(0xec),j);if(!s)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(s)Log[z(0xda)](z(0xf0));}catch(t){Log['error'](t);return;}const k=Log[z(0xd9)]();k[z(0xe8)](z(0xf5)),SSH[z(0xea)](z(0xd3),{...j}),SSH[z(0xea)](z(0xf1),{...j}),SSH[z(0xea)]('sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot',{...j}),k['success']();const l=h?h:await Actions[z(0x10b)]('[?]\x20Domains\x20to\x20register:\x20'),m=i?i:await Actions['ask']('Email\x20to\x20use\x20for\x20auto-updates:\x20');SSH['ssh'](z(0xf6)+l+z(0xdf)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON['stringify'](n,null,0x2);a92e[z(0xee)](a92f[z(0xe9)](d,z(0xde)),o);}else throw'Please\x20provide\x20a\x20command.';}}}catch(u){console['error'](u),process[z(0xd5)](0x0);}});
1
+ const a92y=a92d;(function(a,b){const v=a92d,c=a();while(!![]){try{const d=-parseInt(v(0x1fe))/0x1+parseInt(v(0x230))/0x2*(-parseInt(v(0x21b))/0x3)+-parseInt(v(0x1f4))/0x4+parseInt(v(0x201))/0x5*(parseInt(v(0x216))/0x6)+-parseInt(v(0x1fd))/0x7+parseInt(v(0x1f8))/0x8*(-parseInt(v(0x20b))/0x9)+parseInt(v(0x220))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0xd7903));const a92b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a92d;if(c){const e=c[w(0x1fc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){const x=a92d;return a92a[x(0x224)]()[x(0x228)]('(((.+)+)+)+$')[x(0x224)]()[x(0x21a)](a92a)[x(0x228)](x(0x231));});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';function a92c(){const A=['genSSC','existsSync','notice','apply','12074181vwUQSx','1009116eZMvhB','exit','Checking\x20remote\x20host\x20availability','835ylFDoU','.crt','uname\x20-a','getAppConfigPath','writeFileSync','maka\x20ssl\x20[command]','Remote\x20host\x20connection\x20successful','domainNames','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','generate-csr','9qzmaBS','ssh','error','/ssh.json','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','ask','.key','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','Create\x20and\x20manage\x20your\x20SSL\x20operations.','Verifying\x20Letsencrypt\x20configuration','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','27330iqgaEZ','emailUpdate','.csr','getMakaProjectConfig','constructor','1828455AwEqPu','join','maka\x20ssl\x20--env\x20dev\x20generate-csr','Email\x20to\x20use\x20for\x20auto-updates:\x20','create','52298100eNvxgr','env','sudo\x20snap\x20install\x20--classic\x20certbot','email','toString','readFileSync','appName','generate-ssc','search','[?]\x20Domains\x20to\x20register:\x20','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','New\x20CSR\x20written\x20to\x20','parse','withSpinner','letsencrypt.json','assign','4azdOsI','(((.+)+)+)+$','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','stringify','mkKeysDir','domains','2219104QbbdQY','success','fsi','ssl','4798424DCrViS'];a92c=function(){return A;};return a92c();}function a92d(a,b){const c=a92c();return a92d=function(d,e){d=d-0x1f0;let f=c[d];return f;},a92d(a,b);}import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command[a92y(0x21f)]({'name':a92y(0x1f7),'usage':a92y(0x206),'validOpts':[a92y(0x1f3),a92y(0x223)],'requiredOpts':[a92y(0x221)],'shortDesc':a92y(0x213),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a92y(0x21d),a92y(0x212),'maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process']},async function(a,b){const z=a92y,c=this[z(0x1f6)][z(0x219)](),d=this[z(0x1f6)][z(0x204)](b[z(0x221)]),f=this[z(0x1f6)][z(0x1f2)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0x20a))SSL['genCSR']({'keyName':c[z(0x226)]+z(0x211),'csrName':c[z(0x226)]+'.csr','cwd':f});else{if(g===z(0x227)){if(!a92e[z(0x1fa)](a92f[z(0x21c)](f,c[z(0x226)]+z(0x211))))throw z(0x20f)+a92f[z(0x21c)](f,c['appName']+z(0x211));if(!a92e[z(0x1fa)](a92f[z(0x21c)](f,c[z(0x226)]+z(0x218))))throw'The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20'+a92f[z(0x21c)](f,c[z(0x226)]+z(0x218));SSL[z(0x1f9)]({'keyName':c[z(0x226)]+z(0x211),'crtName':c[z(0x226)]+z(0x202),'cwd':f}),Log[z(0x1fb)](z(0x22b)+f);}else{if(g==='letsencrypt'){let h=b['domains'],i=b[z(0x223)];try{const p=a92e[z(0x225)](a92f[z(0x21c)](d,'letsencrypt.json'))[z(0x224)](),q=JSON[z(0x22c)](p);h=b[z(0x1f3)]?b[z(0x1f3)]:q[z(0x208)],i=b[z(0x223)]?b[z(0x223)]:q[z(0x217)],(!b[z(0x223)]||!b[z(0x1f3)])&&Log['notice']('Using\x20saved\x20letsencrypt\x20config');}catch(r){}const j=JSON[z(0x22c)](a92e['readFileSync'](d+z(0x20e))['toString']());Object[z(0x22f)](j,{'env':d}),Log['notice'](z(0x200));try{const s=SSH['ping'](z(0x203),j);if(!s)throw z(0x209);if(s)Log['success'](z(0x207));}catch(t){Log[z(0x20d)](t);return;}const k=Log[z(0x22d)]();k['start'](z(0x214)),SSH['ssh'](z(0x215),{...j}),SSH[z(0x20c)](z(0x222),{...j}),SSH[z(0x20c)](z(0x1f0),{...j}),k[z(0x1f5)]();const l=h?h:await Actions[z(0x210)](z(0x229)),m=i?i:await Actions['ask'](z(0x21e));SSH[z(0x20c)](z(0x22a)+l+'\x20--email\x20'+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0x1f1)](n,null,0x2);a92e[z(0x205)](a92f[z(0x21c)](d,z(0x22e)),o);}else throw'Please\x20provide\x20a\x20command.';}}}catch(u){console[z(0x20d)](u),process[z(0x1ff)](0x0);}});
@@ -1 +1 @@
1
- const a93p=a93d;(function(a,b){const m=a93d,c=a();while(!![]){try{const d=-parseInt(m(0x16a))/0x1+parseInt(m(0x182))/0x2+parseInt(m(0x160))/0x3+-parseInt(m(0x18d))/0x4*(-parseInt(m(0x172))/0x5)+-parseInt(m(0x177))/0x6+parseInt(m(0x18e))/0x7*(parseInt(m(0x180))/0x8)+-parseInt(m(0x15f))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0x2ace0));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(0x17e)]()[n(0x184)](n(0x18b))[n(0x17e)]()['constructor'](a93a)[n(0x184)](n(0x18b));});a93a();import a93e from'fs';function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x153;let f=c[d];return f;},a93d(a,b);}function a93c(){const s=['This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','tests','unit','process.env','engines','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','readFileSync','findProjectDirectory','meteortesting:mocha','2767401OLUbMj','418767HdXMzC','--driver-package','getAppConfigPath','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','packages','warn','slice','utf8','test','concat','26225TOyXcm','mocha','forEach','jasmine','isFile','--driver','driver-package','env','819495jXoNoi','filter','Meteor\x20Settings:\x20','--full-app','inspect','1862790SJwVpV','config','sanjo:jasmine','--settings','fsi','settings.json','.maka','toString','test-packages','795376lsIUSg','rawLogs','634350MFYIuN','exit','search','none','once','join','Cannot\x20find\x20Node\x20Environment\x20File:\x20','driver','driverPackage','(((.+)+)+)+$','development','4kwyCIR','14BNsOuK','notice','splice','--env'];a93c=function(){return s;};return a93c();}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(0x178)]({'path':a});};Command['create']({'name':a93p(0x168),'mustBeInMakaProject':!![],'validOpts':[a93p(0x186),a93p(0x164),a93p(0x189),a93p(0x18a),a93p(0x158),a93p(0x171),a93p(0x181),'port',a93p(0x176),'testAppPath'],'usage':'maka\x20test','aliases':['t',a93p(0x157)],'shortDesc':a93p(0x163),'examples':[]},function(a,b){const q=a93p;try{let c=this['fsi'][q(0x162)](q(0x18c));b[q(0x171)]&&(c=this[q(0x17b)][q(0x162)](b[q(0x171)]));(!b[q(0x158)]||!!b['once'])&&(a=a[q(0x169)]([q(0x175)]));b[q(0x158)]&&delete b[q(0x158)];let d=b[q(0x170)]||b[q(0x189)]||q(0x185);if(d===q(0x185)){const j=JSON['parse'](a93e[q(0x15c)](a93f['join'](this[q(0x17b)][q(0x15d)](),q(0x17d),'config.json'),q(0x167)));if(j[q(0x15a)][q(0x168)]===q(0x16d))d=q(0x179);else j[q(0x15a)][q(0x168)]===q(0x16b)&&(d=q(0x15e));}if(d===q(0x185))throw q(0x156);(!b[q(0x170)]||!b['driver'])&&(a=a[q(0x169)]([q(0x161),d]));const f=a93f['join'](c,q(0x17c));this['fsi'][q(0x16e)](f)?(Log['notice'](q(0x174)+f),a=a[q(0x169)]([q(0x17a),f])):Log[q(0x165)](q(0x15b)+f);const g=a93f[q(0x187)](c,q(0x159));this['fsi'][q(0x16e)](g)?(Log[q(0x153)]('Node\x20Env\x20Config:\x20'+g),syncSource(g)):Log[q(0x165)](q(0x188)+g);const h=process['argv'][q(0x166)](0x2)[q(0x173)](k=>k!==q(0x155))[q(0x173)](k=>k!=='test')[q(0x173)](k=>k!==a[0x0]);h[q(0x16c)]((k,l)=>{const r=q;(k==='--env'||k===r(0x16f))&&h[r(0x154)](l,0x2),k==='--packages'&&h[r(0x154)](l,0x1);});const i=b[q(0x164)]?q(0x17f):'test';this[q(0x17b)]['invokeMeteorCommand'](i,a['concat'](h));}catch(k){console['error'](k),process[q(0x183)](0x0);}});
1
+ const a93q=a93d;(function(a,b){const m=a93d,c=a();while(!![]){try{const d=parseInt(m(0x182))/0x1+-parseInt(m(0x193))/0x2*(parseInt(m(0x192))/0x3)+-parseInt(m(0x19b))/0x4+parseInt(m(0x19f))/0x5+-parseInt(m(0x183))/0x6+-parseInt(m(0x19c))/0x7+parseInt(m(0x1ab))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0x28ee1));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a93d;if(c){const e=c[n(0x17d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const o=a93d;return a93a[o(0x1a8)]()[o(0x1ad)]('(((.+)+)+)+$')[o(0x1a8)]()[o(0x19e)](a93a)[o(0x1ad)]('(((.+)+)+)+$');});function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x17d;let f=c[d];return f;},a93d(a,b);}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 a93c(){const t=['error','.maka','slice','Cannot\x20find\x20Node\x20Environment\x20File:\x20','driverPackage','--driver-package','test','notice','once','process.env','994347pwNWzm','2bMSdzZ','sanjo:jasmine','splice','none','Node\x20Env\x20Config:\x20','test-packages','invokeMeteorCommand','openSync','884912sAdrLc','1108961uzntKE','settings.json','constructor','732380GNjbEt','port','development','--packages','getAppConfigPath','unit','fsi','driver','parse','toString','create','inspect','5715304ZLpvCE','mocha','search','packages','exit','join','env','findProjectDirectory','--driver','apply','filter','--env','utf8','warn','213124QTdbuA','1171584JuMlRR','testAppPath','concat','driver-package','isFile'];a93c=function(){return t;};return a93c();}const syncSource=function(a){const p=a93d;a93e[p(0x19a)](a,'r'),a93g['config']({'path':a});};Command[a93q(0x1a9)]({'name':'test','mustBeInMakaProject':!![],'validOpts':[a93q(0x190),a93q(0x1ae),a93q(0x1a6),a93q(0x18c),'unit',a93q(0x1b1),'rawLogs',a93q(0x1a0),a93q(0x1aa),a93q(0x184)],'usage':'maka\x20test','aliases':['t','tests'],'shortDesc':'Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','examples':[]},function(a,b){const r=a93q;try{let c=this[r(0x1a5)][r(0x1a3)](r(0x1a1));b[r(0x1b1)]&&(c=this[r(0x1a5)]['getAppConfigPath'](b[r(0x1b1)]));(!b[r(0x1a4)]||!!b[r(0x190)])&&(a=a[r(0x185)](['--full-app']));b[r(0x1a4)]&&delete b['unit'];let d=b[r(0x186)]||b['driver']||r(0x196);if(d===r(0x196)){const j=JSON[r(0x1a7)](a93e['readFileSync'](a93f[r(0x1b0)](this['fsi'][r(0x1b2)](),r(0x189),'config.json'),r(0x180)));if(j['engines']['test']==='jasmine')d=r(0x194);else j['engines'][r(0x18e)]===r(0x1ac)&&(d='meteortesting:mocha');}if(d===r(0x196))throw'This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)';(!b[r(0x186)]||!b['driver'])&&(a=a[r(0x185)]([r(0x18d),d]));const f=a93f['join'](c,r(0x19d));this['fsi'][r(0x187)](f)?(Log[r(0x18f)]('Meteor\x20Settings:\x20'+f),a=a['concat'](['--settings',f])):Log[r(0x181)]('Cannot\x20find\x20Meteor\x20Settings\x20File:\x20'+f);const g=a93f[r(0x1b0)](c,r(0x191));this[r(0x1a5)][r(0x187)](g)?(Log[r(0x18f)](r(0x197)+g),syncSource(g)):Log[r(0x181)](r(0x18b)+g);const h=process['argv'][r(0x18a)](0x2)[r(0x17e)](k=>k!==r(0x17f))[r(0x17e)](k=>k!==r(0x18e))['filter'](k=>k!==a[0x0]);h['forEach']((k,l)=>{const s=r;(k===s(0x17f)||k===s(0x1b3))&&h[s(0x195)](l,0x2),k===s(0x1a2)&&h[s(0x195)](l,0x1);});const i=b[r(0x1ae)]?r(0x198):r(0x18e);this[r(0x1a5)][r(0x199)](i,a['concat'](h));}catch(k){console[r(0x188)](k),process[r(0x1af)](0x0);}});
@@ -1 +1 @@
1
- const a94n=a94d;(function(a,b){const k=a94d,c=a();while(!![]){try{const d=-parseInt(k(0x152))/0x1*(-parseInt(k(0x13a))/0x2)+-parseInt(k(0x141))/0x3*(parseInt(k(0x135))/0x4)+-parseInt(k(0x142))/0x5+-parseInt(k(0x14a))/0x6+-parseInt(k(0x146))/0x7+parseInt(k(0x14d))/0x8+-parseInt(k(0x13f))/0x9*(-parseInt(k(0x14c))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0x795ec));const a94b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a94d;if(c){const e=c[l(0x13d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){const m=a94d;return a94a['toString']()[m(0x136)](m(0x12e))[m(0x12b)]()[m(0x14f)](a94a)[m(0x136)](m(0x12e));});a94a();import{execSync}from'child_process';import a94e from'semver';function a94c(){const p=['Project\x27s\x20Meteor\x20Version\x20','create','replace','getProjectMeteorVersion','verbose','toString','getGlobalMeteorVersion','maka\x20version\x20--verbose','(((.+)+)+)+$','meteor','notice','warn','bright','majestic','4.8.1','12uSZNfj','search','win32','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','Project\x27s\x20Meteor\x20Node\x20Version\x20','2OrTJWP','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','System\x27s\x20Meteor\x20Version\x20','apply','platform','549UzcsbX','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','156804gIWdCs','176615LvuAZe','maka\x20version','----------------------Project----------------------------','version','6031956dcoEAj','N/A','System\x27s\x20Node\x20Version\x20','compareMakaToLatest','3654834Abrsqk','getProjectsMeteorNodeVersion','245840CWWNiB','1612632kfykXm','----------------------System----------------------------','constructor','fsi','meteor.bat','458903vpZyKa','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','\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','\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'];a94c=function(){return p;};return a94c();}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-0x128;let f=c[d];return f;},a94d(a,b);}const pjson={'version':a94n(0x134)};Command[a94n(0x157)]({'name':a94n(0x145),'aliases':['v'],'usage':a94n(0x143),'maxArgLength':0x1,'validOpts':[a94n(0x12a)],'shortDesc':a94n(0x153),'examples':['maka\x20v',a94n(0x143),a94n(0x12d)],'description':a94n(0x154)},async function(a,b){const o=a94n;try{const c=process[o(0x13e)]===o(0x137)?o(0x151):o(0x12f);Log[o(0x133)]('Maka\x20'+pjson['version']),await this[o(0x150)][o(0x149)]();if(b[o(0x12a)]){await this[o(0x150)]['compareMakaToLatest'](),Log[o(0x132)](o(0x14e));const d=this[o(0x150)][o(0x12c)]();Log[o(0x132)]((o(0x13c)+d)['replace']('\x0a',''));const f=execSync(c+'\x20node\x20-v')[o(0x12b)]()[o(0x128)](/\r?\n|\r/,'')[o(0x128)]('v','');Log[o(0x132)](o(0x13b)+f);const g=execSync('node\x20-v')[o(0x12b)]()['replace'](/\r?\n|\r/,'')['replace']('v','');a94e['gt'](f,g)?(Log[o(0x131)](o(0x148)+g),Log['warn'](o(0x138)+g+')\x20to\x20at\x20least\x20meteor\x27s\x20('+f+')')):Log[o(0x132)]('System\x27s\x20Node\x20Version\x20'+g);if(this[o(0x150)]['isMakaProject']()){Log[o(0x132)](o(0x144));const h=this['fsi'][o(0x129)]();a94e['gt'](d,h)?(Log[o(0x131)](o(0x156)+h[o(0x128)]('\x0a','')),Log[o(0x131)](o(0x140)+d+'\x22')):Log[o(0x130)](('Project\x27s\x20Meteor\x20Version\x20'+h)[o(0x128)]('\x0a',''));const i=await this[o(0x150)][o(0x14b)]();i===o(0x147)?(Log[o(0x131)](o(0x139)+i),Log[o(0x131)]('\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.')):Log[o(0x132)](o(0x139)+i),Log[o(0x132)](o(0x155));}}}catch(j){console['error'](j),process['exit'](0x0);}});
1
+ const a94n=a94d;(function(a,b){const k=a94d,c=a();while(!![]){try{const d=parseInt(k(0x71))/0x1+parseInt(k(0x87))/0x2+parseInt(k(0x96))/0x3+-parseInt(k(0x79))/0x4+-parseInt(k(0x8b))/0x5+-parseInt(k(0x70))/0x6+parseInt(k(0x9b))/0x7*(parseInt(k(0x8a))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0xcb2b6));const a94b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a94d;if(c){const e=c[l(0x9e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){const m=a94d;return a94a[m(0x8d)]()[m(0x75)](m(0x94))[m(0x8d)]()[m(0x81)](a94a)[m(0x75)](m(0x94));});a94a();import{execSync}from'child_process';import a94e from'semver';function a94c(){const p=['(((.+)+)+)+$','create','1735518tXFOea','getProjectMeteorVersion','fsi','----------------------System----------------------------','Project\x27s\x20Meteor\x20Version\x20','13397573IADbbh','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','bright','apply','\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','compareMakaToLatest','meteor.bat','8099118WtjhPt','848883jRaoRM','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','replace','getProjectsMeteorNodeVersion','search','node\x20-v','platform','meteor','1404584bwlWak','4.8.3','getGlobalMeteorVersion','maka\x20version','----------------------Project----------------------------','System\x27s\x20Node\x20Version\x20','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','System\x27s\x20Meteor\x20Version\x20','constructor','isMakaProject','maka\x20version\x20--verbose','majestic','Maka\x20','verbose','1101494JVULug','win32','\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','8ppmrfj','6794470eHExev','Project\x27s\x20Meteor\x20Node\x20Version\x20','toString',')\x20to\x20at\x20least\x20meteor\x27s\x20(','maka\x20v','version','\x20node\x20-v','warn','N/A'];a94c=function(){return p;};return a94c();}function a94d(a,b){const c=a94c();return a94d=function(d,e){d=d-0x6e;let f=c[d];return f;},a94d(a,b);}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':a94n(0x7a)};Command[a94n(0x95)]({'name':a94n(0x90),'aliases':['v'],'usage':a94n(0x7c),'maxArgLength':0x1,'validOpts':[a94n(0x86)],'shortDesc':a94n(0x72),'examples':[a94n(0x8f),a94n(0x7c),a94n(0x83)],'description':a94n(0x9f)},async function(a,b){const o=a94n;try{const c=process[o(0x77)]===o(0x88)?o(0x6f):o(0x78);Log[o(0x84)](o(0x85)+pjson[o(0x90)]),await this[o(0x98)][o(0x6e)]();if(b['verbose']){await this[o(0x98)][o(0x6e)](),Log['bright'](o(0x99));const d=this[o(0x98)][o(0x7b)]();Log[o(0x9d)]((o(0x80)+d)[o(0x73)]('\x0a',''));const f=execSync(c+o(0x91))[o(0x8d)]()[o(0x73)](/\r?\n|\r/,'')[o(0x73)]('v','');Log[o(0x9d)]('System\x27s\x20Meteor\x27s\x20Node\x20Version\x20'+f);const g=execSync(o(0x76))[o(0x8d)]()[o(0x73)](/\r?\n|\r/,'')[o(0x73)]('v','');a94e['gt'](f,g)?(Log['warn']('System\x27s\x20Node\x20Version\x20'+g),Log[o(0x92)]('\x20!\x20consider\x20updating\x20your\x20node\x20version\x20('+g+o(0x8e)+f+')')):Log[o(0x9d)](o(0x7e)+g);if(this['fsi'][o(0x82)]()){Log[o(0x9d)](o(0x7d));const h=this[o(0x98)][o(0x97)]();a94e['gt'](d,h)?(Log[o(0x92)](o(0x9a)+h[o(0x73)]('\x0a','')),Log[o(0x92)](o(0x7f)+d+'\x22')):Log['notice']((o(0x9a)+h)[o(0x73)]('\x0a',''));const i=await this['fsi'][o(0x74)]();i===o(0x93)?(Log[o(0x92)](o(0x8c)+i),Log[o(0x92)](o(0x9c))):Log[o(0x9d)](o(0x8c)+i),Log[o(0x9d)](o(0x89));}}}catch(j){console['error'](j),process['exit'](0x0);}});
@@ -1 +1 @@
1
- function a95c(){var i=['2124672NcKZJI','5002184xtKBnp','toString','696IUChby','(((.+)+)+)+$','1083445AwfQiZ','12306LufSNT','5579082mShdlR','741771ISQtlk','24octiGJ','215602CYjrlC','apply','constructor','search'];a95c=function(){return i;};return a95c();}(function(a,b){var f=a95d,c=a();while(!![]){try{var d=parseInt(f(0x130))/0x1+parseInt(f(0x126))/0x2+-parseInt(f(0x12e))/0x3+parseInt(f(0x127))/0x4+parseInt(f(0x12b))/0x5*(-parseInt(f(0x12f))/0x6)+parseInt(f(0x12c))/0x7*(-parseInt(f(0x129))/0x8)+-parseInt(f(0x12d))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0x9ca5b));var a95b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a95d;if(c){var e=c[g(0x123)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a95a=a95b(this,function(){var h=a95d;return a95a[h(0x128)]()[h(0x125)](h(0x12a))[h(0x128)]()[h(0x124)](a95a)['search'](h(0x12a));});function a95d(a,b){var c=a95c();return a95d=function(d,e){d=d-0x123;var f=c[d];return f;},a95d(a,b);}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(0xce))/0x1*(parseInt(f(0xd2))/0x2)+-parseInt(f(0xdb))/0x3*(parseInt(f(0xd8))/0x4)+-parseInt(f(0xd9))/0x5+-parseInt(f(0xd0))/0x6+-parseInt(f(0xd3))/0x7+parseInt(f(0xcd))/0x8+parseInt(f(0xd6))/0x9*(parseInt(f(0xcf))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0xc9bf2));var a95b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a95d;if(c){var e=c[g(0xda)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a95a=a95b(this,function(){var h=a95d;return a95a['toString']()[h(0xd1)](h(0xd5))[h(0xd4)]()[h(0xd7)](a95a)[h(0xd1)]('(((.+)+)+)+$');});function a95c(){var i=['9040801VMxUbB','toString','(((.+)+)+)+$','2345229WzAfBd','constructor','204004Zjisrr','1647215rHtTKx','apply','69tEHsjK','10783856lNBTxR','289566rbjsAw','170ppIcnl','9470184wCmcMt','search','4DadGIj'];a95c=function(){return i;};return a95c();}a95a();export class UsageError{}export class UsageErrorWithSubs{}function a95d(a,b){var c=a95c();return a95d=function(d,e){d=d-0xcd;var f=c[d];return f;},a95d(a,b);}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- function a96d(a,b){var c=a96c();return a96d=function(d,e){d=d-0x1e0;var f=c[d];return f;},a96d(a,b);}var a96i=a96d;(function(a,b){var f=a96d,c=a();while(!![]){try{var d=-parseInt(f(0x1e6))/0x1*(-parseInt(f(0x1ee))/0x2)+-parseInt(f(0x1ec))/0x3+parseInt(f(0x1e4))/0x4+parseInt(f(0x1ef))/0x5+-parseInt(f(0x1e1))/0x6+parseInt(f(0x1ea))/0x7*(-parseInt(f(0x1e2))/0x8)+parseInt(f(0x1e7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0xb93c1));var a96b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a96d;if(c){var e=c[g(0x1e0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a96a=a96b(this,function(){var h=a96d;return a96a[h(0x1e5)]()[h(0x1eb)]('(((.+)+)+)+$')[h(0x1e5)]()[h(0x1e9)](a96a)[h(0x1eb)](h(0x1e3));});a96a(),process[a96i(0x1ed)]['NODE_OPTIONS']=a96i(0x1e8);import'./maka.js';function a96c(){var j=['861cYKCom','search','1023027XoEjUr','env','5486bDzvDO','1965275ZcwiGd','apply','8426586HSQwOo','96488znhhtO','(((.+)+)+)+$','2729184aQMvLs','toString','50tvozZv','24976467ahRAQB','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','constructor'];a96c=function(){return j;};return a96c();}
2
+ function a96d(a,b){var c=a96c();return a96d=function(d,e){d=d-0xec;var f=c[d];return f;},a96d(a,b);}var a96i=a96d;(function(a,b){var f=a96d,c=a();while(!![]){try{var d=-parseInt(f(0xfb))/0x1+parseInt(f(0xf0))/0x2*(parseInt(f(0xec))/0x3)+parseInt(f(0xf5))/0x4+parseInt(f(0xf8))/0x5+-parseInt(f(0xf1))/0x6*(-parseInt(f(0xef))/0x7)+parseInt(f(0xf4))/0x8*(-parseInt(f(0xf2))/0x9)+-parseInt(f(0xfd))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0x2dce2));function a96c(){var j=['608ePGXwn','1307864doeBwW','apply','env','673530JiUOcO','toString','constructor','257357CCsxTG','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','1349010WXclET','31419bZoODu','NODE_OPTIONS','(((.+)+)+)+$','30037HSMffl','8HoOcsJ','288diSEve','15354jcknpf','search'];a96c=function(){return j;};return a96c();}var a96b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a96d;if(c){var e=c[g(0xf6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a96a=a96b(this,function(){var h=a96d;return a96a['toString']()[h(0xf3)](h(0xee))[h(0xf9)]()[h(0xfa)](a96a)['search'](h(0xee));});a96a(),process[a96i(0xf7)][a96i(0xed)]=a96i(0xfc);import'./maka.js';