@maka/maka-cli 4.8.0 → 4.8.2

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 a77y=a77d;(function(a,b){const w=a77d,c=a();while(!![]){try{const d=-parseInt(w(0xb4))/0x1+-parseInt(w(0xa7))/0x2*(-parseInt(w(0xad))/0x3)+parseInt(w(0xc7))/0x4*(parseInt(w(0xb9))/0x5)+parseInt(w(0x97))/0x6+-parseInt(w(0xc0))/0x7*(-parseInt(w(0xbe))/0x8)+-parseInt(w(0xb6))/0x9+-parseInt(w(0xcb))/0xa*(parseInt(w(0x96))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0x34221));const a77b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){const x=a77d;return a77a[x(0xc8)]()['search'](x(0xa8))['toString']()[x(0x99)](a77a)[x(0xc4)](x(0xa8));});a77a();import a77e from'node-forge';function a77c(){const A=['True','search','digest','https://','72212YRhXJR','toString','failure','Logs\x20in\x20to\x20www.maka-cli.com','242350jXsUBU','Preflight\x20Check','authToken','Logging\x20into\x20https://','MAKA_DEV','297aOqAAK','804624lourQS','error','constructor','toHex','exit','cert','get','getGlobalConfig','password','Password:\x20','start','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','help','/api/v1/encodeJwt','debug','/api/v1/status','114aHoMUm','(((.+)+)+)+$','Email:','Logging\x20in','localhost','setGlobalConfig','18813LNemCk','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','success','create','email','post','/api/v1/login','43789SbKkvf','parse','561447adoGzh','header','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','70YPEXwf','assign','notice','login','cacert','24irKlVt','ask','536109jfCPCY','www.maka-cli.com','fsi'];a77c=function(){return A;};return a77c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a77d(a,b){const c=a77c();return a77d=function(d,e){d=d-0x92;let f=c[d];return f;},a77d(a,b);}import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process['env'][a77y(0x95)]===a77y(0xc3)?a77y(0xab):a77y(0xc1);Command[a77y(0xb0)]({'name':a77y(0xbc),'validOpts':['email',a77y(0x9f),a77y(0xa3),a77y(0xbd),a77y(0xa5)],'usage':'maka\x20login','maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a77y(0xca),'examples':['maka\x20login',a77y(0xae)]},async function(a,b){const z=a77y,c=Log['withSpinner']();try{let d='';b['cacert']&&(this[z(0xc2)]['isFile'](b[z(0xbd)])?(d=b[z(0xbd)],Log[z(0xbb)]('Using\x20CA\x20Cert\x20'+d)):Log[z(0x98)]('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+d));const f=await this['fsi'][z(0x9e)]();if(f[z(0x9c)]){if(this[z(0xc2)]['isFile'](f[z(0x9c)]))d=f[z(0x9c)];else{Log[z(0x98)]('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+d);return;}}Log[z(0xb7)](z(0x94)+hostname);const g={'url':z(0xc6)+hostname+z(0xa6)};b[z(0xbd)]&&Object[z(0xba)](g,{'cert':d});c[z(0xa1)](z(0x92));const {statusCode:h}=await HTTPS[z(0x9d)](g);if(h===0x198){c[z(0xc9)]();throw z(0xb8);}if(h!==0xc8){c[z(0xc9)]();throw z(0xc6)+hostname+'\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli';}c[z(0xaf)]();const i=b[z(0xb1)]?b['email']:await Actions[z(0xbf)](z(0xa9)),j=b[z(0x9f)]?b[z(0x9f)]:await Actions['ask'](z(0xa0),!![]),k=a77e['md']['sha256']['create']();k['update'](j);const l=k[z(0xc5)]()[z(0x9a)](),m={'hostname':hostname,'path':z(0xb3),'data':{'email':i,'password':l,'hashed':!![]}};b[z(0xbd)]&&Object[z(0xba)](m,{'cert':d});c['start'](z(0xaa));const {data:n,statusCode:o}=await HTTPS[z(0xb2)](m);if(o===0x198){c[z(0xc9)]('\x0a');throw z(0xa2)+hostname;}const p=JSON[z(0xb5)](n);if(p[z(0x93)]){const q={'hostname':hostname,'path':z(0xa4),'headers':{'x-auth-token':p[z(0x93)]},'data':{}};b[z(0xbd)]&&Object[z(0xba)](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS[z(0xb2)](q),{token:t}=JSON[z(0xb5)](r);if(s===0x198)throw z(0xa2)+hostname;const u={'token':p,'hash':t};this[z(0xc2)][z(0xac)](u);}else{c[z(0xc9)]();throw p;}c[z(0xaf)]();}catch(v){c[z(0xc9)](),console[z(0x98)](v),process[z(0x9b)](0x0);}});
1
+ const a77z=a77d;(function(a,b){const w=a77d,c=a();while(!![]){try{const d=parseInt(w(0x1cc))/0x1+-parseInt(w(0x1d0))/0x2*(-parseInt(w(0x1e4))/0x3)+-parseInt(w(0x1db))/0x4*(-parseInt(w(0x1d6))/0x5)+parseInt(w(0x1cb))/0x6*(parseInt(w(0x1c5))/0x7)+-parseInt(w(0x1e9))/0x8+-parseInt(w(0x1dc))/0x9*(-parseInt(w(0x1e5))/0xa)+-parseInt(w(0x1b7))/0xb*(parseInt(w(0x1e1))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0xcbc18));function a77c(){const B=['4856369ZoEQGS','env','create','(((.+)+)+)+$','www.maka-cli.com','setGlobalConfig','6jgiMhW','1588650ljBujv','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','notice','post','479458gJUNQY','password','login','help','assign','Password:\x20','15yggHww','error','Email:','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','ask','355720Lqvfwp','5463kGrTMB','maka\x20login','https://','toHex','apply','39062028GwmZYD','/api/v1/encodeJwt','cert','9PAcucA','14170XsGGrp','isFile','failure','update','310080cicJmY','email','header','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','MAKA_DEV','Preflight\x20Check','cacert','Logging\x20in','search','authToken','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','11BrlHRW','exit','localhost','debug','Using\x20CA\x20Cert\x20','True','fsi','parse','withSpinner','toString','sha256','get','success','start'];a77c=function(){return B;};return a77c();}function a77d(a,b){const c=a77c();return a77d=function(d,e){d=d-0x1af;let f=c[d];return f;},a77d(a,b);}const a77b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a77d;if(c){const e=c[x(0x1e0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){const y=a77d;return a77a[y(0x1c0)]()['search'](y(0x1c8))[y(0x1c0)]()['constructor'](a77a)[y(0x1b4)](y(0x1c8));});a77a();import a77e from'node-forge';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a77z(0x1c6)][a77z(0x1b0)]===a77z(0x1bc)?a77z(0x1b9):a77z(0x1c9);Command[a77z(0x1c7)]({'name':a77z(0x1d2),'validOpts':[a77z(0x1ea),a77z(0x1d1),a77z(0x1d3),a77z(0x1b2),a77z(0x1ba)],'usage':'maka\x20login','maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':'Logs\x20in\x20to\x20www.maka-cli.com','examples':[a77z(0x1dd),'maka\x20login\x20--email\x20<address>\x20--password\x20<password>']},async function(a,b){const A=a77z,c=Log[A(0x1bf)]();try{let d='';b[A(0x1b2)]&&(this['fsi'][A(0x1e6)](b[A(0x1b2)])?(d=b[A(0x1b2)],Log[A(0x1ce)](A(0x1bb)+d)):Log[A(0x1d7)](A(0x1b6)+d));const f=await this['fsi']['getGlobalConfig']();if(f[A(0x1e3)]){if(this[A(0x1bd)]['isFile'](f[A(0x1e3)]))d=f['cert'];else{Log[A(0x1d7)](A(0x1d9)+d);return;}}Log[A(0x1eb)]('Logging\x20into\x20https://'+hostname);const g={'url':A(0x1de)+hostname+'/api/v1/status'};b['cacert']&&Object[A(0x1d4)](g,{'cert':d});c[A(0x1c4)](A(0x1b1));const {statusCode:h}=await HTTPS[A(0x1c2)](g);if(h===0x198){c[A(0x1e7)]();throw A(0x1af);}if(h!==0xc8){c[A(0x1e7)]();throw A(0x1de)+hostname+'\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli';}c[A(0x1c3)]();const i=b[A(0x1ea)]?b[A(0x1ea)]:await Actions[A(0x1da)](A(0x1d8)),j=b[A(0x1d1)]?b[A(0x1d1)]:await Actions[A(0x1da)](A(0x1d5),!![]),k=a77e['md'][A(0x1c1)][A(0x1c7)]();k[A(0x1e8)](j);const l=k['digest']()[A(0x1df)](),m={'hostname':hostname,'path':'/api/v1/login','data':{'email':i,'password':l,'hashed':!![]}};b['cacert']&&Object[A(0x1d4)](m,{'cert':d});c[A(0x1c4)](A(0x1b3));const {data:n,statusCode:o}=await HTTPS[A(0x1cf)](m);if(o===0x198){c[A(0x1e7)]('\x0a');throw A(0x1cd)+hostname;}const p=JSON[A(0x1be)](n);if(p[A(0x1b5)]){const q={'hostname':hostname,'path':A(0x1e2),'headers':{'x-auth-token':p[A(0x1b5)]},'data':{}};b[A(0x1b2)]&&Object[A(0x1d4)](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS[A(0x1cf)](q),{token:t}=JSON[A(0x1be)](r);if(s===0x198)throw A(0x1cd)+hostname;const u={'token':p,'hash':t};this[A(0x1bd)][A(0x1ca)](u);}else{c[A(0x1e7)]();throw p;}c[A(0x1c3)]();}catch(v){c[A(0x1e7)](),console[A(0x1d7)](v),process[A(0x1b8)](0x0);}});
@@ -1 +1 @@
1
- const a78n=a78d;(function(a,b){const l=a78d,c=a();while(!![]){try{const d=-parseInt(l(0x118))/0x1*(parseInt(l(0x128))/0x2)+parseInt(l(0x11d))/0x3+-parseInt(l(0x117))/0x4+-parseInt(l(0x112))/0x5+-parseInt(l(0x11c))/0x6*(parseInt(l(0x103))/0x7)+parseInt(l(0x119))/0x8*(parseInt(l(0x10c))/0x9)+parseInt(l(0x127))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0xcd196));const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const m=a78d;return a78a['toString']()['search'](m(0x105))[m(0x114)]()[m(0x120)](a78a)[m(0x110)](m(0x105));});a78a();import{Command}from'../command.js';function a78c(){const p=['CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','post','477cXOHrj','Logging\x20out','withSpinner','create','search','success','1818005ZeyrRb','Preflight\x20Check','toString','MAKA_DEV','env','1806108xaXmbp','19rIIUGW','51336ACMdnY','/api/v1/status','cacert','12rHYvcZ','4277889tnwfGU','getGlobalConfig','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','constructor','localhost','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','Using\x20CA\x20Cert\x20','True','fsi','header','20046770smumbU','125078TXQRpW','token','assign','authToken','failure','www.maka-cli.com','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','/api/v1/logoutAll','logout','cert','isFile','https://','3245501zmKKJH','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','(((.+)+)+)+$','error','Logging\x20out\x20of\x20https://','start','maka\x20logout'];a78c=function(){return p;};return a78c();}function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0xfc;let f=c[d];return f;},a78d(a,b);}import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a78n(0x116)][a78n(0x115)]===a78n(0x124)?a78n(0x121):a78n(0xfc);Command[a78n(0x10f)]({'name':a78n(0xff),'validOpts':[a78n(0x11b)],'usage':'maka\x20logout','maxArgLength':0x2,'shortDesc':'Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','disableAuthCheck':!![],'examples':[a78n(0x109)]},async function(a,b){const o=a78n,c=Log[o(0x10e)]();try{let d='';b[o(0x11b)]&&(this[o(0x125)][o(0x101)](b[o(0x11b)])?(d=b['cacert'],Log['notice'](o(0x123)+d)):Log[o(0x106)](o(0x10a)+d));const f=await this[o(0x125)][o(0x11e)]();if(f['cert']){if(this[o(0x125)][o(0x101)](f[o(0x100)]))d=f[o(0x100)];else{c['failure']();throw Log[o(0x106)](o(0x104)+d);}}Log[o(0x126)](o(0x107)+hostname);const g={'url':o(0x102)+hostname+o(0x11a)};b['cacert']&&Object[o(0x12a)](g,{'cert':d});c[o(0x108)](o(0x113));const {statusCode:h}=await HTTPS['get'](g);if(h===0x198){c[o(0x12c)]();throw o(0xfd);}c[o(0x111)]();if(h!==0xc8){c[o(0x12c)]();throw o(0x11f);}if(!f?.[o(0x129)]?.[o(0x12b)])throw Log['error'](o(0x122));c[o(0x108)](o(0x10d));const i={'hostname':hostname,'path':o(0xfe),'data':{},'headers':{'x-auth-token':f[o(0x129)]['authToken']}};b['cacert']&&Object['assign'](i,{'cert':d});const {statusCode:j}=await HTTPS[o(0x10b)](i);if(j===0x198){c[o(0x12c)]('\x0a');throw o(0xfd);}this[o(0x125)]['setGlobalConfig']({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[o(0x111)]();}catch(k){k&&console[o(0x106)](k),process['exit'](0x0);}});
1
+ function a78c(){const q=['https://','1261830lEryzG','env','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','maka\x20logout','isFile','MAKA_DEV','2607724DYyuEL','toString','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','Using\x20CA\x20Cert\x20','success','apply','get','4879050sttQkc','localhost','authToken','4tHOuWu','220931gaWQtd','post','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','3289375rEWzku','297423VoCjZT','failure','logout','120hhFZPc','fsi','header','assign','start','cert','search','constructor','(((.+)+)+)+$','www.maka-cli.com','setGlobalConfig','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','error','withSpinner','52MXJCJo','create','exit','59019SnyfEe','Logging\x20out\x20of\x20https://','cacert'];a78c=function(){return q;};return a78c();}const a78o=a78d;(function(a,b){const l=a78d,c=a();while(!![]){try{const d=parseInt(l(0x198))/0x1*(parseInt(l(0x197))/0x2)+parseInt(l(0x1b0))/0x3*(-parseInt(l(0x1ad))/0x4)+-parseInt(l(0x19b))/0x5+parseInt(l(0x1b4))/0x6+-parseInt(l(0x18d))/0x7+-parseInt(l(0x19f))/0x8*(-parseInt(l(0x19c))/0x9)+parseInt(l(0x194))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x555b5));function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x18c;let f=c[d];return f;},a78d(a,b);}const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a78d;if(c){const e=c[m(0x192)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const n=a78d;return a78a[n(0x18e)]()['search'](n(0x1a7))[n(0x18e)]()[n(0x1a6)](a78a)[n(0x1a5)]('(((.+)+)+)+$');});a78a();import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process[a78o(0x1b5)][a78o(0x18c)]==='True'?a78o(0x195):a78o(0x1a8);Command[a78o(0x1ae)]({'name':a78o(0x19e),'validOpts':[a78o(0x1b2)],'usage':a78o(0x1b8),'maxArgLength':0x2,'shortDesc':a78o(0x19a),'disableAuthCheck':!![],'examples':[a78o(0x1b8)]},async function(a,b){const p=a78o,c=Log[p(0x1ac)]();try{let d='';b[p(0x1b2)]&&(this[p(0x1a0)][p(0x1b9)](b[p(0x1b2)])?(d=b[p(0x1b2)],Log['notice'](p(0x190)+d)):Log[p(0x1ab)](p(0x1b7)+d));const f=await this[p(0x1a0)]['getGlobalConfig']();if(f['cert']){if(this[p(0x1a0)][p(0x1b9)](f[p(0x1a4)]))d=f[p(0x1a4)];else{c[p(0x19d)]();throw Log[p(0x1ab)](p(0x1b6)+d);}}Log[p(0x1a1)](p(0x1b1)+hostname);const g={'url':p(0x1b3)+hostname+'/api/v1/status'};b['cacert']&&Object[p(0x1a2)](g,{'cert':d});c[p(0x1a3)]('Preflight\x20Check');const {statusCode:h}=await HTTPS[p(0x193)](g);if(h===0x198){c['failure']();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}c[p(0x191)]();if(h!==0xc8){c['failure']();throw'https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli';}if(!f?.['token']?.['authToken'])throw Log[p(0x1ab)](p(0x1aa));c[p(0x1a3)]('Logging\x20out');const i={'hostname':hostname,'path':'/api/v1/logoutAll','data':{},'headers':{'x-auth-token':f['token'][p(0x196)]}};b[p(0x1b2)]&&Object[p(0x1a2)](i,{'cert':d});const {statusCode:j}=await HTTPS[p(0x199)](i);if(j===0x198){c[p(0x19d)]('\x0a');throw p(0x18f);}this[p(0x1a0)][p(0x1a9)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[p(0x191)]();}catch(k){k&&console[p(0x1ab)](k),process[p(0x1af)](0x0);}});
@@ -1 +1 @@
1
- const a79m=a79d;(function(a,b){const j=a79d,c=a();while(!![]){try{const d=-parseInt(j(0x1a5))/0x1+parseInt(j(0x193))/0x2+-parseInt(j(0x197))/0x3+-parseInt(j(0x199))/0x4+-parseInt(j(0x1a3))/0x5+-parseInt(j(0x195))/0x6+parseInt(j(0x19f))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x8ac44));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a79d;if(c){const e=c[k(0x18b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const l=a79d;return a79a['toString']()['search'](l(0x198))[l(0x194)]()[l(0x1a4)](a79a)['search']('(((.+)+)+)+$');});a79a();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';function a79c(){const o=['join','getAppConfigPath','verbose','4756435GHkIot','constructor','109624ZFQpgD','apply','pm2\x20logs','log','maka\x20logs\x20--env\x20staging','error','create','maka\x20logs','sshSync','512302oUTvWh','toString','1957824WAWHKg','assign','3380238fkquSI','(((.+)+)+)+$','2934984FMsuWL','env','maka\x20logs\x20--env\x20dev','fsi','ssh.json','parse','24919608LtdVeF'];a79c=function(){return o;};return a79c();}function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x18b;let f=c[d];return f;},a79d(a,b);}Command[a79m(0x190)]({'name':'logs','aliases':['l',a79m(0x18d)],'usage':a79m(0x191),'requiredOpts':[a79m(0x19a)],'mustBeInMakaProject':!![],'validOpts':[a79m(0x1a2)],'shortDesc':'View\x20the\x20PM2\x20logs','examples':[a79m(0x19b),a79m(0x18e),'maka\x20l\x20-e\x20p']},function(a,b){const n=a79m;try{const c=n(0x18c),d=this[n(0x19c)][n(0x1a1)](b['env']),f=a79f[n(0x1a0)](d,n(0x19d)),g=a79e['readFileSync'](f),h=JSON[n(0x19e)](g[n(0x194)]());Object[n(0x196)](h,{'env':d}),SSH[n(0x192)](c,h,{'tty':!![],'verbose':!![]});}catch(i){Log[n(0x18f)](i);}});
1
+ const a79m=a79d;(function(a,b){const j=a79d,c=a();while(!![]){try{const d=parseInt(j(0xf7))/0x1+parseInt(j(0xee))/0x2+-parseInt(j(0xff))/0x3*(-parseInt(j(0xed))/0x4)+-parseInt(j(0xe7))/0x5+-parseInt(j(0xe6))/0x6*(parseInt(j(0xea))/0x7)+parseInt(j(0xe4))/0x8*(-parseInt(j(0xf2))/0x9)+parseInt(j(0xe3))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0xafeb9));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a79d;if(c){const e=c[k(0xfa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const l=a79d;return a79a[l(0xf1)]()[l(0xe5)](l(0xec))[l(0xf1)]()['constructor'](a79a)[l(0xe5)](l(0xec));});a79a();import a79e from'fs';function a79c(){const o=['343304VaiOvU','376674BYtQlV','assign','create','toString','30123QLKjGp','ssh.json','sshSync','env','maka\x20logs','1046402cLDhNd','maka\x20logs\x20--env\x20staging','verbose','apply','log','readFileSync','pm2\x20logs','parse','21nhTopC','logs','9693250WhJOxc','2440NzsJBV','search','264954JfmDpo','2005285oCEoPY','maka\x20logs\x20--env\x20dev','fsi','105ZOQmtJ','maka\x20l\x20-e\x20p','(((.+)+)+)+$'];a79c=function(){return o;};return a79c();}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';function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0xe3;let f=c[d];return f;},a79d(a,b);}Command[a79m(0xf0)]({'name':a79m(0x100),'aliases':['l',a79m(0xfb)],'usage':a79m(0xf6),'requiredOpts':[a79m(0xf5)],'mustBeInMakaProject':!![],'validOpts':[a79m(0xf9)],'shortDesc':'View\x20the\x20PM2\x20logs','examples':[a79m(0xe8),a79m(0xf8),a79m(0xeb)]},function(a,b){const n=a79m;try{const c=n(0xfd),d=this[n(0xe9)]['getAppConfigPath'](b[n(0xf5)]),f=a79f['join'](d,n(0xf3)),g=a79e[n(0xfc)](f),h=JSON[n(0xfe)](g['toString']());Object[n(0xef)](h,{'env':d}),SSH[n(0xf4)](c,h,{'tty':!![],'verbose':!![]});}catch(i){Log['error'](i);}});
@@ -1 +1 @@
1
- const a80h=a80d;(function(a,b){const f=a80d,c=a();while(!![]){try{const d=-parseInt(f(0x111))/0x1*(parseInt(f(0x114))/0x2)+parseInt(f(0x103))/0x3*(-parseInt(f(0x112))/0x4)+-parseInt(f(0x10d))/0x5+-parseInt(f(0x10e))/0x6+-parseInt(f(0x107))/0x7+-parseInt(f(0x10a))/0x8+parseInt(f(0x108))/0x9*(parseInt(f(0x105))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0xe1def));const a80b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){const g=a80d;return a80a[g(0x100)]()[g(0x10f)]('(((.+)+)+)+$')['toString']()[g(0xff)](a80a)['search'](g(0x110));});a80a();function a80c(){const j=['734883ZZBAja','16iGQTVA','maka\x20<command>\x20[<args>]\x20[<opts>]','2rJAmPA','splice','constructor','toString','maka\x20install\x20meteor','maka\x20create\x20Todo','694164gFhrlW','maka','1353820gmcxAj','maka\x20--help','9024953vHEAVe','396zbdHmk','exit','12932808EiQjbt','maka\x20run','processAndRunCommand','1641955WCcWfc','821610keljqh','search','(((.+)+)+)+$'];a80c=function(){return j;};return a80c();}import{Command}from'../command.js';const Maka=new Command({'name':a80h(0x104),'minArgLength':0x1,'shortDesc':'A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','validOpts':[],'usage':a80h(0x113),'disableAuthCheck':!![],'examples':[a80h(0x106),a80h(0x101),a80h(0x102),a80h(0x10b)],'description':'\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.-:\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20:-.\x20\x20\x20\x20\x20:--\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::\x20\x20::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::::::\x20.:::::::\x20..\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20..:.....\x20.::..::.\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20.::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::::::\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20\x20::::::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::..-::.\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::....\x20\x20::..---:..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20.\x20.:::::::\x20\x20::..::.\x20..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20\x20:.\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:--\x20\x20\x20\x20\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-:\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20:\x0a.:..::...::.\x20\x20\x20....:\x20\x20\x20.:\x20\x20\x20::\x20\x20....:.\x20\x20\x20\x20\x20\x20\x20\x20.::::\x20\x20.:\x20\x20::\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20\x20....:-\x20\x20.-..:.\x20\x20\x20....:-\x20\x20...\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20.:\x20\x20\x20:-\x20\x20.-\x20\x20.:\x20\x20.:\x20\x20\x20:-\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a.:.\x20\x20\x20:.\x20\x20\x20.:\x20\x20....\x20:.\x20.:.\x20\x20..\x20\x20....\x20:.\x20\x20\x20\x20\x20\x20\x20.....\x20\x20.:.\x20.:.\x0a\x0a\x20\x20'},async function(a,b){const i=a80h;try{const c=a[0x0];a[i(0xfe)](0x0,0x1),await this[i(0x10c)](c,a,b);}catch(d){process[i(0x109)](0x1);}});function a80d(a,b){const c=a80c();return a80d=function(d,e){d=d-0xfe;let f=c[d];return f;},a80d(a,b);}export default Maka;
1
+ const a80i=a80d;(function(a,b){const f=a80d,c=a();while(!![]){try{const d=parseInt(f(0x1a5))/0x1*(-parseInt(f(0x195))/0x2)+-parseInt(f(0x1a2))/0x3*(-parseInt(f(0x199))/0x4)+-parseInt(f(0x19c))/0x5+-parseInt(f(0x192))/0x6*(-parseInt(f(0x190))/0x7)+parseInt(f(0x197))/0x8*(parseInt(f(0x19e))/0x9)+-parseInt(f(0x1a3))/0xa+-parseInt(f(0x1a1))/0xb*(parseInt(f(0x198))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0x525b9));function a80c(){const k=['processAndRunCommand','maka\x20run','maka\x20<command>\x20[<args>]\x20[<opts>]','1434993TPzaCG','maka','18RkrgJp','maka\x20install\x20meteor','search','1588mlosjH','toString','15072rOyvHJ','412428WxirPd','10468bSzUmo','maka\x20create\x20Todo','maka\x20--help','206595XSWxzz','exit','1602QjEjwx','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','11iDFuuW','6CRmzcI','3512040lTdEVP','(((.+)+)+)+$','241IUJZKq','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.'];a80c=function(){return k;};return a80c();}const a80b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a80d;if(c){const e=c[g(0x19f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){const h=a80d;return a80a[h(0x196)]()[h(0x194)](h(0x1a4))[h(0x196)]()['constructor'](a80a)[h(0x194)](h(0x1a4));});a80a();import{Command}from'../command.js';function a80d(a,b){const c=a80c();return a80d=function(d,e){d=d-0x18f;let f=c[d];return f;},a80d(a,b);}const Maka=new Command({'name':a80i(0x191),'minArgLength':0x1,'shortDesc':a80i(0x1a6),'validOpts':[],'usage':a80i(0x18f),'disableAuthCheck':!![],'examples':[a80i(0x19b),a80i(0x193),a80i(0x19a),a80i(0x1a8)],'description':a80i(0x1a0)},async function(a,b){const j=a80i;try{const c=a[0x0];a['splice'](0x0,0x1),await this[j(0x1a7)](c,a,b);}catch(d){process[j(0x19d)](0x1);}});export default Maka;
@@ -1 +1 @@
1
- var a81h=a81d;(function(a,b){var f=a81d,c=a();while(!![]){try{var d=parseInt(f(0x17e))/0x1+-parseInt(f(0x186))/0x2+parseInt(f(0x179))/0x3+parseInt(f(0x181))/0x4*(parseInt(f(0x188))/0x5)+-parseInt(f(0x17a))/0x6+-parseInt(f(0x17c))/0x7+-parseInt(f(0x178))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0x5088a));var a81b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){var g=a81d;return a81a[g(0x187)]()['search'](g(0x17f))[g(0x187)]()[g(0x184)](a81a)[g(0x185)](g(0x17f));});function a81c(){var j=['425184xvCUWC','(((.+)+)+)+$','Murrrrderrrrr','4560cJMXoI','%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','maka\x20murder','constructor','search','224110iuHaus','toString','1985OQTDzH','exit','5846640BzLPFh','1483959IKIGac','466350omCNwK','log','853587XCbAQM','font-family:\x20monospace'];a81c=function(){return j;};return a81c();}a81a();function a81d(a,b){var c=a81c();return a81d=function(d,e){d=d-0x177;var f=c[d];return f;},a81d(a,b);}import{Command}from'../command.js';Command['create']({'name':'murder','usage':a81h(0x183),'maxArgLength':0x1,'shortDesc':a81h(0x180),'validOpts':[]},async function(){var i=a81h;try{console[i(0x17b)](i(0x182),i(0x17d));}catch(a){console['error'](a),process[i(0x177)](0x0);}});
1
+ var a81h=a81d;(function(a,b){var f=a81d,c=a();while(!![]){try{var d=-parseInt(f(0x146))/0x1*(-parseInt(f(0x151))/0x2)+-parseInt(f(0x147))/0x3+parseInt(f(0x154))/0x4+-parseInt(f(0x155))/0x5+parseInt(f(0x148))/0x6+parseInt(f(0x149))/0x7+-parseInt(f(0x14b))/0x8*(parseInt(f(0x14f))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0xa3eeb));function a81d(a,b){var c=a81c();return a81d=function(d,e){d=d-0x145;var f=c[d];return f;},a81d(a,b);}var a81b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){var g=a81d;return a81a['toString']()['search'](g(0x152))[g(0x145)]()['constructor'](a81a)[g(0x14e)](g(0x152));});a81a();import{Command}from'../command.js';Command['create']({'name':a81h(0x153),'usage':a81h(0x156),'maxArgLength':0x1,'shortDesc':'Murrrrderrrrr','validOpts':[]},async function(){var i=a81h;try{console['log'](i(0x14d),i(0x14a));}catch(a){console[i(0x150)](a),process[i(0x14c)](0x0);}});function a81c(){var j=['%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','9mzZxik','error','7246ogpgga','(((.+)+)+)+$','murder','5071664RoUZCQ','2033430UUaMKG','maka\x20murder','toString','34ndeHVg','2742441OUmJOy','5959068uOXgan','2604287nBJIUN','font-family:\x20monospace','6112136hOGRTQ','exit'];a81c=function(){return j;};return a81c();}
@@ -1 +1 @@
1
- const a82p=a82d;(function(a,b){const m=a82d,c=a();while(!![]){try{const d=-parseInt(m(0x116))/0x1+-parseInt(m(0x120))/0x2*(-parseInt(m(0x133))/0x3)+-parseInt(m(0x11b))/0x4+-parseInt(m(0x12e))/0x5*(parseInt(m(0x128))/0x6)+-parseInt(m(0x112))/0x7+parseInt(m(0x12c))/0x8*(-parseInt(m(0x10e))/0x9)+parseInt(m(0x124))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x602f5));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a82d;if(c){const e=c[n(0x11d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const o=a82d;return a82a[o(0x10f)]()[o(0x12d)](o(0x12b))[o(0x10f)]()[o(0x118)](a82a)[o(0x12d)](o(0x12b));});a82a();function a82c(){const r=['create','listen','829432OHrjif','listenPort','apply','proxy','info','1389958XTzGIA','\x20to\x20','.csr','bright','10690800jasecl','isFile','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','mkKeysDir','6AKkbLj','getAppConfigPath','fsi','(((.+)+)+)+$','1944RVwDvl','search','320685vFFZhI','maka\x20proxy\x20--target-host\x20http://192.168.1.20','appName','=>\x20SSL\x20Proxy\x20forwarding\x20','development','3VRZFSC','error','join','readFileSync','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','SSC\x20file\x20created:\x20','.key','targetHost','processAndRunGenerator','2709YDWrnw','toString','utf8','getMakaProjectConfig','4184215jlTrlR','targetPort','.crt','CSR\x20file\x20created:\x20','427703vicygD','maka\x20proxy','constructor'];a82c=function(){return r;};return a82c();}import a82e from'fs';function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x108;let f=c[d];return f;},a82d(a,b);}import a82f from'path';import a82g from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';import a82h from'../generators/maka.gen.js';Command[a82p(0x119)]({'name':a82p(0x11e),'usage':a82p(0x117),'mustBeInMakaProject':!![],'validOpts':['help',a82p(0x113),a82p(0x11c),a82p(0x10c)],'maxArgLength':0x1,'shortDesc':a82p(0x126),'description':'\x0a\x20\x20If\x20you\x27re\x20running\x20your\x20Meteor\x20service,\x20and\x20need\x20to\x20stand\x20up\x20an\x20SSL\x0a\x20\x20Proxy,\x20this\x20command\x20will\x20automatically\x20create\x20a\x20key\x20pair\x20for\x20use\x20in\x20an\x20HTTPS\x0a\x20\x20proxy.\x0a\x0a\x20\x20For\x20example,\x20you\x27re\x20running\x20http://localhost:3000\x20with\x20\x22maka\x20run\x22\x20then\x20open\x20a\x20new\x0a\x20\x20terminal\x20and\x20run\x20\x22maka\x20proxy\x22\x20to\x20standup\x20https://localhost:3443.\x0a\x20\x20Then\x20open\x20your\x20browser\x20to\x20that\x20URL\x20(you\x20may\x20need\x20to\x20trust\x20the\x20certificates\x0a\x20\x20because\x20they\x20are\x20self-signed)\x20and\x20you\x27ll\x20have\x20an\x20SSL\x20connection\x20to\x20your\x0a\x20\x20http://localhost:3000.\x0a\x0a\x20\x20To\x20avoid\x20possibly\x20overwriting\x20PKI\x20files\x20in\x20higher\x20environments,\x20\x22maka\x20proxy\x22\x0a\x20\x20will\x20try\x20to\x20only\x20generate\x20/\x20store\x20PKI\x20keys\x20in\x20the\x20development\x20environment.\x0a\x20\x20','examples':[a82p(0x117),'maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000',a82p(0x12f)]},async function(a,b){const q=a82p,c=this[q(0x12a)][q(0x111)](),d=q(0x132),e=this['fsi'][q(0x129)](d),f=this[q(0x12a)][q(0x127)]({'configPath':e}),g=b['targetPort']?Number(b[q(0x113)]):0xbb8,h=b[q(0x11c)]?Number(b[q(0x11c)]):0xd73,i=b[q(0x10c)]?b[q(0x10c)]:'localhost',j=a82f['join'](f,c[q(0x130)]+q(0x10b)),k=a82f[q(0x135)](f,c['appName']+q(0x114));(!this[q(0x12a)][q(0x125)](j)||!this['fsi'][q(0x125)](k))&&(await a82h[q(0x10d)]('sslconfig',[],{'env':d}),SSL['genCSR']({'keyName':c[q(0x130)]+q(0x10b),'csrName':c[q(0x130)]+'.csr','cwd':f,'useConfig':!![]}),this['fsi'][q(0x125)](a82f['join'](f,c[q(0x130)]+q(0x122)))&&Log['info'](q(0x115)+a82f[q(0x135)](f,c[q(0x130)]+q(0x122))),SSL['genSSC']({'keyName':c[q(0x130)]+q(0x10b),'crtName':c[q(0x130)]+q(0x114),'cwd':f,'useConfig':!![]}),this[q(0x12a)][q(0x125)](a82f[q(0x135)](f,c['appName']+'.crt'))&&Log['info'](q(0x10a)+a82f[q(0x135)](f,c[q(0x130)]+'.crt')),Log[q(0x11f)]('Key\x20file\x20created:\x20'+j));if(g===h){Log[q(0x134)](q(0x109));throw new UsageError();}const l={'ssl':{'key':a82e[q(0x108)](j,q(0x110)),'cert':a82e['readFileSync'](k,q(0x110))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a82g['createProxyServer'](l)[q(0x11a)](Number(h)),Log[q(0x123)](q(0x131)+h+q(0x121)+g);});
1
+ const a82u=a82d;(function(a,b){const r=a82d,c=a();while(!![]){try{const d=parseInt(r(0x1e8))/0x1+-parseInt(r(0x1e5))/0x2+parseInt(r(0x1d9))/0x3*(parseInt(r(0x1cb))/0x4)+parseInt(r(0x1d2))/0x5*(-parseInt(r(0x1e1))/0x6)+-parseInt(r(0x1f4))/0x7+parseInt(r(0x1f6))/0x8*(-parseInt(r(0x1d7))/0x9)+parseInt(r(0x1c1))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x1a5f0));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const s=a82d;if(c){const e=c[s(0x1c8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const t=a82d;return a82a[t(0x1bd)]()[t(0x1c7)](t(0x1dc))[t(0x1bd)]()['constructor'](a82a)[t(0x1c7)](t(0x1dc));});a82a();import a82e from'fs';import a82f from'path';import a82g from'http-proxy';function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x1bd;let f=c[d];return f;},a82d(a,b);}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{SSL}from'../tools/ssl/ssl.class.js';function a82c(){const A=['exit','end','localhost','writeHead','826362rGxfGl','utf8','fsi','createProxyServer','397922mycWcH','development','targetHost','136676pRKEaC','getAppConfigPath','listenPort','Key\x20file\x20created:\x20','maka\x20proxy','getMakaProjectConfig','SIGINT','create','proxy','message','listen','processAndRunGenerator','82915eqgOSI','targetPort','192elloEh','toString','\x20to\x20','join','success','4210240ufabpp','start','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','Proxy\x20error:\x20','text/plain','.key','search','apply','close','mkKeysDir','22380LmCpbv','.crt','headersSent','.csr','\x0a\x20\x20If\x20you\x27re\x20running\x20your\x20Meteor\x20service,\x20and\x20need\x20to\x20stand\x20up\x20an\x20SSL\x0a\x20\x20Proxy,\x20this\x20command\x20will\x20automatically\x20create\x20a\x20key\x20pair\x20for\x20use\x20in\x20an\x20HTTPS\x0a\x20\x20proxy.\x0a\x0a\x20\x20For\x20example,\x20you\x27re\x20running\x20http://localhost:3000\x20with\x20\x22maka\x20run\x22\x20then\x20open\x20a\x20new\x0a\x20\x20terminal\x20and\x20run\x20\x22maka\x20proxy\x22\x20to\x20standup\x20https://localhost:3443.\x0a\x20\x20Then\x20open\x20your\x20browser\x20to\x20that\x20URL\x20(you\x20may\x20need\x20to\x20trust\x20the\x20certificates\x0a\x20\x20because\x20they\x20are\x20self-signed)\x20and\x20you\x27ll\x20have\x20an\x20SSL\x20connection\x20to\x20your\x0a\x20\x20http://localhost:3000.\x0a\x0a\x20\x20To\x20avoid\x20possibly\x20overwriting\x20PKI\x20files\x20in\x20higher\x20environments,\x20\x22maka\x20proxy\x22\x0a\x20\x20will\x20try\x20to\x20only\x20generate\x20/\x20store\x20PKI\x20keys\x20in\x20the\x20development\x20environment.\x0a\x20\x20','isFile','error','5fOOHqA','sslconfig','appName','bright','CSR\x20file\x20created:\x20','61011OIieZN','Shutting\x20down\x20proxy\x20server...','33gLBCfU','genCSR','info','(((.+)+)+)+$'];a82c=function(){return A;};return a82c();}import a82h from'../generators/maka.gen.js';Command[a82u(0x1ef)]({'name':a82u(0x1f0),'usage':a82u(0x1ec),'mustBeInMakaProject':!![],'validOpts':['help','targetPort',a82u(0x1ea),'targetHost'],'maxArgLength':0x1,'shortDesc':a82u(0x1c3),'description':a82u(0x1cf),'examples':['maka\x20proxy','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','maka\x20proxy\x20--target-host\x20http://192.168.1.20']},async function(a,b){const v=a82u,c=this[v(0x1e3)][v(0x1ed)](),d=v(0x1e6),e=this[v(0x1e3)][v(0x1e9)](d),f=this[v(0x1e3)][v(0x1ca)]({'configPath':e}),g=b[v(0x1f5)]?Number(b['targetPort']):0xbb8,h=b[v(0x1ea)]?Number(b[v(0x1ea)]):0xd73,i=b[v(0x1e7)]?b[v(0x1e7)]:v(0x1df),j=a82f[v(0x1bf)](f,c['appName']+v(0x1c6)),k=a82f['join'](f,c['appName']+v(0x1cc));(!this['fsi'][v(0x1d0)](j)||!this['fsi'][v(0x1d0)](k))&&(await a82h[v(0x1f3)](v(0x1d3),[],{'env':d}),SSL[v(0x1da)]({'keyName':c[v(0x1d4)]+v(0x1c6),'csrName':c[v(0x1d4)]+'.csr','cwd':f,'useConfig':!![]}),this[v(0x1e3)]['isFile'](a82f[v(0x1bf)](f,c['appName']+v(0x1ce)))&&Log[v(0x1db)](v(0x1d6)+a82f['join'](f,c[v(0x1d4)]+v(0x1ce))),SSL['genSSC']({'keyName':c['appName']+'.key','crtName':c['appName']+'.crt','cwd':f,'useConfig':!![]}),this[v(0x1e3)][v(0x1d0)](a82f['join'](f,c[v(0x1d4)]+v(0x1cc)))&&Log[v(0x1db)]('SSC\x20file\x20created:\x20'+a82f[v(0x1bf)](f,c[v(0x1d4)]+v(0x1cc))),Log['info'](v(0x1eb)+j));if(g===h){Log['error']('Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.');throw new UsageError();}const l={'ssl':{'key':a82e['readFileSync'](j,v(0x1e2)),'cert':a82e['readFileSync'](k,v(0x1e2))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]},m=a82g[v(0x1e4)](l);m['on'](v(0x1d1),(o,p,q)=>{const w=v;w(0x1e0)in q&&(Log[w(0x1d1)](w(0x1c4)+o[w(0x1f1)]),!q[w(0x1cd)]&&(q[w(0x1e0)](0x1f4,{'content-type':w(0x1c5)}),q[w(0x1de)]('Internal\x20server\x20error.')));}),m[v(0x1f2)](Number(h)),Log[v(0x1d5)]('=>\x20SSL\x20Proxy\x20forwarding\x20'+h+v(0x1be)+g);const n=0x7d0;process['on'](v(0x1ee),()=>{const x=v,o=Log['withSpinner']();o[x(0x1c2)](x(0x1d8));const p=setTimeout(()=>{const y=x;o[y(0x1c0)](),process['exit'](0x1);},n);m[x(0x1c9)](()=>{const z=x;clearTimeout(p),Log[z(0x1db)]('Proxy\x20server\x20closed.'),process[z(0x1dd)](0x0);});});});
@@ -1 +1 @@
1
- const a83p=a83d;(function(a,b){const n=a83d,c=a();while(!![]){try{const d=-parseInt(n(0xbf))/0x1*(-parseInt(n(0xa9))/0x2)+parseInt(n(0xa5))/0x3+parseInt(n(0xb0))/0x4+-parseInt(n(0x9c))/0x5+parseInt(n(0xb7))/0x6+parseInt(n(0xb1))/0x7*(parseInt(n(0xa8))/0x8)+-parseInt(n(0xa6))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0xc31a8));function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0x9b;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(0xaf)]()[o(0xb9)](o(0xb5))[o(0xaf)]()['constructor'](a83a)[o(0xb9)](o(0xb5));});a83a();import a83e from'fs';import a83f from'path';import{Command}from'../command.js';function a83c(){const r=['ssh.json','maka\x20reconfig\x20--env\x20prod','create','join','1759641CRdmvJ','7401384sokLnu','~/pm2.config.js','8yzktPZ','1579916eznkaf','reconfigure','uname\x20-a','getAppConfigPath','sshSync','maka\x20reconfig','toString','2400232kmcdLi','3537569EDHHNz','error','parse','readFileSync','(((.+)+)+)+$','exit','3980700jFIfaT','fsi','search','pm2.config.js','ses.json','ssh','_keys','notice','1mxntsv','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','\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','success','Reconfigure\x20your\x20deployed\x20applications\x20w/o\x20rebuild\x20or\x20redploy','assign','pm2\x20delete\x20all','7619300EWmcsi','scp','~/ses.json','Checking\x20remote\x20host\x20availability','echo\x20\x22\x22\x20&&\x20pm2\x20start\x20pm2.config.js\x20&&\x20echo\x20\x22\x22\x20||\x20echo\x20\x22Cound\x20not\x20find\x20PM2,\x20have\x20you\x20deployed\x20the\x20app\x20yet?\x22'];a83c=function(){return r;};return a83c();}import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a83p(0xa3)]({'name':a83p(0xaa),'aliases':['reconfig'],'validOpts':[''],'requiredOpts':['env'],'mustBeInMakaProject':!![],'usage':a83p(0xae),'shortDesc':a83p(0xc3),'description':a83p(0xc1),'examples':[a83p(0xa2)]},async function(a,b){const q=a83p;try{const c=this[q(0xb8)][q(0xac)](b['env']),d=a83f['join'](c,q(0xa1)),f=a83e[q(0xb4)](d)[q(0xaf)](),g=JSON[q(0xb3)](f);Object[q(0xc4)](g,{'env':c}),Log[q(0xbe)](q(0x9f));const h=SSH['ping'](q(0xab),g);if(!h)throw q(0xc0);if(h)Log[q(0xc2)]('Remote\x20host\x20connection\x20successful');const i=a83f[q(0xa4)](c,q(0xbd),q(0xbb));if(a83e['existsSync'](i)){const l={'source':i,'dest':q(0x9e),'verbose':!![]};SSH[q(0x9d)](l,{...g});}const j=a83f[q(0xa4)](c,q(0xba));SSH['scp']({'source':j,'dest':q(0xa7),'verbose':!![]},{...g});const k=a83f[q(0xa4)](c,'settings.json');SSH['scp']({'source':k,'dest':'~/settings.json','verbose':!![]},{...g}),SSH[q(0xad)](q(0x9b),g),await SSH[q(0xbc)](q(0xa0),{...g},{'verbose':!![]});}catch(m){console[q(0xb2)](m),process[q(0xb6)](0x0);}});
1
+ const a83p=a83d;(function(a,b){const n=a83d,c=a();while(!![]){try{const d=-parseInt(n(0xc0))/0x1*(parseInt(n(0xb7))/0x2)+parseInt(n(0xc6))/0x3*(-parseInt(n(0xbf))/0x4)+-parseInt(n(0xcf))/0x5*(parseInt(n(0xb9))/0x6)+-parseInt(n(0xb4))/0x7*(parseInt(n(0xd1))/0x8)+-parseInt(n(0xb3))/0x9*(-parseInt(n(0xc5))/0xa)+parseInt(n(0xca))/0xb*(parseInt(n(0xc1))/0xc)+parseInt(n(0xb6))/0xd*(parseInt(n(0xc9))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0x7f49c));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(0xb2)]()[o(0xcd)](o(0xae))['toString']()[o(0xcb)](a83a)[o(0xcd)](o(0xae));});a83a();function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0xab;let f=c[d];return f;},a83d(a,b);}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[a83p(0xb8)]({'name':a83p(0xb1),'aliases':[a83p(0xb0)],'validOpts':[''],'requiredOpts':[a83p(0xd8)],'mustBeInMakaProject':!![],'usage':'maka\x20reconfig','shortDesc':a83p(0xc4),'description':a83p(0xc7),'examples':[a83p(0xbb)]},async function(a,b){const q=a83p;try{const c=this[q(0xd0)]['getAppConfigPath'](b[q(0xd8)]),d=a83f[q(0xad)](c,q(0xb5)),f=a83e[q(0xbe)](d)[q(0xb2)](),g=JSON[q(0xc8)](f);Object[q(0xd2)](g,{'env':c}),Log[q(0xd9)](q(0xd4));const h=SSH[q(0xcc)](q(0xd5),g);if(!h)throw q(0xd7);if(h)Log[q(0xd3)](q(0xab));const i=a83f[q(0xad)](c,'_keys','ses.json');if(a83e['existsSync'](i)){const l={'source':i,'dest':q(0xaf),'verbose':!![]};SSH['scp'](l,{...g});}const j=a83f['join'](c,'pm2.config.js');SSH[q(0xbc)]({'source':j,'dest':q(0xda),'verbose':!![]},{...g});const k=a83f[q(0xad)](c,q(0xbd));SSH['scp']({'source':k,'dest':q(0xce),'verbose':!![]},{...g}),SSH[q(0xba)]('pm2\x20delete\x20all',g),await SSH[q(0xac)](q(0xd6),{...g},{'verbose':!![]});}catch(m){console[q(0xc2)](m),process[q(0xc3)](0x0);}});function a83c(){const r=['2qjnpuv','create','374730jektOo','sshSync','maka\x20reconfig\x20--env\x20prod','scp','settings.json','readFileSync','315440VGRqTt','964369RGwFxv','75624PIxIMy','error','exit','Reconfigure\x20your\x20deployed\x20applications\x20w/o\x20rebuild\x20or\x20redploy','2840CiNgwD','12bVSRoC','\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','parse','798vdUQFZ','1441GvCnuJ','constructor','ping','search','~/settings.json','25gqRHnv','fsi','40HTtRbH','assign','success','Checking\x20remote\x20host\x20availability','uname\x20-a','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','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','env','notice','~/pm2.config.js','Remote\x20host\x20connection\x20successful','ssh','join','(((.+)+)+)+$','~/ses.json','reconfig','reconfigure','toString','30528VNGGEe','681401OuBJIa','ssh.json','185029RTgAYe'];a83c=function(){return r;};return a83c();}
@@ -1 +1 @@
1
- (function(a,b){var f=a84d,c=a();while(!![]){try{var d=parseInt(f(0x16f))/0x1+parseInt(f(0x16c))/0x2*(parseInt(f(0x168))/0x3)+parseInt(f(0x175))/0x4+parseInt(f(0x172))/0x5*(parseInt(f(0x16d))/0x6)+parseInt(f(0x170))/0x7+-parseInt(f(0x16e))/0x8*(parseInt(f(0x16b))/0x9)+-parseInt(f(0x174))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0xb1d9d));var a84b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a84d;if(c){var e=c[g(0x173)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){var h=a84d;return a84a[h(0x167)]()[h(0x16a)](h(0x169))[h(0x167)]()[h(0x171)](a84a)['search']('(((.+)+)+)+$');});function a84c(){var i=['constructor','5UiSCmP','apply','27383000SeaTzw','1426768vOMhrw','toString','2501241xtVaYY','(((.+)+)+)+$','search','11331ETDCym','2DnLLxP','1922262DLqDeT','1352kvPOMd','1363639RaRqbE','5635651eVpnrc'];a84c=function(){return i;};return a84c();}a84a();function a84d(a,b){var c=a84c();return a84d=function(d,e){d=d-0x167;var f=c[d];return f;},a84d(a,b);}import'./run.command.js';import'./docker.sub.cmd.js';
1
+ (function(a,b){var f=a84d,c=a();while(!![]){try{var d=parseInt(f(0xf5))/0x1*(parseInt(f(0xfc))/0x2)+-parseInt(f(0xfe))/0x3*(-parseInt(f(0xf6))/0x4)+-parseInt(f(0xf7))/0x5+parseInt(f(0xfb))/0x6*(parseInt(f(0xfd))/0x7)+-parseInt(f(0x104))/0x8+-parseInt(f(0x101))/0x9+parseInt(f(0xff))/0xa*(parseInt(f(0xfa))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x7e358));function a84d(a,b){var c=a84c();return a84d=function(d,e){d=d-0xf5;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(0xf9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){var h=a84d;return a84a[h(0xf8)]()['search']('(((.+)+)+)+$')[h(0xf8)]()[h(0x102)](a84a)[h(0x100)](h(0x103));});a84a();import'./run.command.js';import'./docker.sub.cmd.js';function a84c(){var i=['5347719myArKR','constructor','(((.+)+)+)+$','4635736mfTNxO','1zrprNX','2092vQiXpD','1991775VVxfuY','toString','apply','12086239DzfIzn','619128NjDHTd','920938tSAzCc','21Ilbnjo','1263Jqnead','10PrtxCJ','search'];a84c=function(){return i;};return a84c();}
@@ -1 +1 @@
1
- function a85d(a,b){const c=a85c();return a85d=function(d,e){d=d-0x9c;let f=c[d];return f;},a85d(a,b);}function a85c(){const n=['join','15471750XLAZly','1176SgoNts','inherit','148464exuFlN','createFile','apply','appName','docker-compose\x20--project-directory\x20','config/docker-compose.yaml','162bkrFlp','toString','2367911NlUaSr','docker-compose.yaml','docker','maka\x20run\x20docker','constructor','(((.+)+)+)+$','\x20up\x20--remove-orphans','44874qukGVl','PM2\x20Config\x20File:\x20','getAppConfigPath','search','185jboiBu','226110OwrwDM','create','Docker\x20Compose\x20Path:\x20','getMakaProjectConfig','1892644DkReeV','exit','9ihOnKQ','fsi','notice','pm2.config.js','\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'];a85c=function(){return n;};return a85c();}const a85l=a85d;(function(a,b){const i=a85d,c=a();while(!![]){try{const d=-parseInt(i(0xaa))/0x1+-parseInt(i(0x9c))/0x2*(-parseInt(i(0xb7))/0x3)+-parseInt(i(0xae))/0x4+parseInt(i(0xa9))/0x5*(-parseInt(i(0xa5))/0x6)+-parseInt(i(0x9e))/0x7+-parseInt(i(0xb9))/0x8+parseInt(i(0xb0))/0x9*(parseInt(i(0xb6))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0x3c156));const a85b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a85d;if(c){const e=c[j(0xbb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){const k=a85d;return a85a[k(0x9d)]()[k(0xa8)](k(0xa3))['toString']()[k(0xa2)](a85a)[k(0xa8)](k(0xa3));});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';Command[a85l(0xab)]({'name':'docker','aliases':['d'],'shortDesc':'Run\x20your\x20application\x20in\x20a\x20Docker\x20container','description':a85l(0xb4),'usage':a85l(0xa1),'isPro':![],'validOpts':['']},async function(){const m=a85l;try{const a=this[m(0xb1)][m(0xad)](),b=this['fsi'][m(0xa7)](m(0xa0)),c=a85f[m(0xb5)](b,m(0x9f)),d=a85f['join'](b,m(0xb3));Log[m(0xb2)](m(0xa6)+d),Log['notice'](m(0xac)+c);if(!a85g['existsSync'](c)){const f={'app':a[m(0xbc)],'appFileCase':paramCase(a[m(0xbc)])},g=this[m(0xb1)]['templateContent']({'srcPath':m(0xbe),'context':f})+'\x0a';this['fsi'][m(0xba)]({'filePath':c,'data':g});}execSync(m(0xbd)+b+m(0xa4),{'stdio':m(0xb8)});}catch(h){process[m(0xaf)](0x1);}},a85e);
1
+ function a85c(){const n=['docker-compose\x20--project-directory\x20','702IioKbp','constructor','Docker\x20Compose\x20Path:\x20','(((.+)+)+)+$','docker-compose.yaml','inherit','184084ddLqCO','maka\x20run\x20docker','apply','getAppConfigPath','config/docker-compose.yaml','5025198CYIfTl','search','21913705qlZQzj','22490pKBhtS','templateContent','5297831aojsbX','toString','join','356068AOVJwV','getMakaProjectConfig','docker','create','existsSync','exit','fsi','25JhjZNx','pm2.config.js','128ASWoom','ensureAllDependenciesInstalled','\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','createFile','appName','notice','18561SYlsBt','8qfAbNW'];a85c=function(){return n;};return a85c();}const a85l=a85d;(function(a,b){const i=a85d,c=a();while(!![]){try{const d=parseInt(i(0x199))/0x1+-parseInt(i(0x1af))/0x2*(parseInt(i(0x190))/0x3)+parseInt(i(0x1a6))/0x4*(parseInt(i(0x1ad))/0x5)+-parseInt(i(0x19e))/0x6+parseInt(i(0x1a3))/0x7*(-parseInt(i(0x191))/0x8)+parseInt(i(0x193))/0x9*(-parseInt(i(0x1a1))/0xa)+parseInt(i(0x1a0))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0x6f390));const a85b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a85d;if(c){const e=c[j(0x19b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){const k=a85d;return a85a[k(0x1a4)]()['search'](k(0x196))['toString']()[k(0x194)](a85a)[k(0x19f)](k(0x196));});a85a();import a85e from'./run.command.js';import{execSync}from'child_process';import a85f from'path';import a85g from'fs';function a85d(a,b){const c=a85c();return a85d=function(d,e){d=d-0x190;let f=c[d];return f;},a85d(a,b);}import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';Command[a85l(0x1a9)]({'name':a85l(0x1a8),'aliases':['d'],'shortDesc':'Run\x20your\x20application\x20in\x20a\x20Docker\x20container','description':a85l(0x1b1),'usage':a85l(0x19a),'isPro':![],'validOpts':['']},async function(){const m=a85l;try{const a=this[m(0x1ac)][m(0x1a7)]();await this[m(0x1ac)][m(0x1b0)]();const b=this['fsi'][m(0x19c)]('docker'),c=a85f['join'](b,m(0x197)),d=a85f[m(0x1a5)](b,m(0x1ae));Log[m(0x1b4)]('PM2\x20Config\x20File:\x20'+d),Log[m(0x1b4)](m(0x195)+c);if(!a85g[m(0x1aa)](c)){const f={'app':a[m(0x1b3)],'appFileCase':paramCase(a[m(0x1b3)])},g=this[m(0x1ac)][m(0x1a2)]({'srcPath':m(0x19d),'context':f})+'\x0a';this['fsi'][m(0x1b2)]({'filePath':c,'data':g});}execSync(m(0x192)+b+'\x20up\x20--remove-orphans',{'stdio':m(0x198)});}catch(h){process[m(0x1ab)](0x1);}},a85e);
@@ -1 +1 @@
1
- const a86t=a86d;(function(a,b){const p=a86d,c=a();while(!![]){try{const d=-parseInt(p(0xa9))/0x1*(-parseInt(p(0x7d))/0x2)+-parseInt(p(0x7f))/0x3*(parseInt(p(0xb1))/0x4)+parseInt(p(0x7e))/0x5*(-parseInt(p(0x85))/0x6)+parseInt(p(0x92))/0x7+-parseInt(p(0xa5))/0x8+-parseInt(p(0x8a))/0x9+-parseInt(p(0x88))/0xa*(-parseInt(p(0x84))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0xcb512));const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a86d;if(c){const e=c[q(0xb4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const r=a86d;return a86a[r(0x96)]()['search'](r(0x99))['toString']()[r(0x80)](a86a)[r(0x8b)](r(0x99));});function a86c(){const w=['cordova-build','1084817YFVqDP','process.env','length','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','settings','run','mobileServer','boolean','28NeDYvx','rawLogs','verbose','apply','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)','production','settings.json','isFile','warn','env','--settings','2QoNoaD','6799615eAGgUt','284319fmTWmk','constructor','concat','checkMeteorPackage','create','1892xGDunu','6XZVReJ','info','invokeMeteorCommand','164930kbsWSn','filter','10696653qDrZmv','search','join','error','\x22web.browser.legacy\x22','excludeArchs','push','.meteor','3250828xeBXNP','development','splice','getAppConfigPath','toString','fsi','notice','(((.+)+)+)+$','Run\x20your\x20Meteor\x20application','inspect','ios','split','slice','config','app','Node\x20Env\x20Config:\x20','findProjectDirectory','--env','allowIncompatibleUpdate','2731040gPecRr','extraPackages','autoupdate'];a86c=function(){return w;};return a86c();}a86a();import a86e from'path';import a86f from'fs';import a86g from'dotenv';import{rimraf}from'rimraf';function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0x78;let f=c[d];return f;},a86d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const s=a86d;a86f['openSync'](a,'r'),a86g[s(0x9f)]({'path':a});},Run=Command[a86t(0x83)]({'name':a86t(0xae),'mustBeInMakaProject':!![],'aliases':['r'],'shortDesc':a86t(0x9a),'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(0x7b),a86t(0xb2),'port',a86t(0x9b),a86t(0xaf),a86t(0xb3),a86t(0xa4),a86t(0xa6),'x',a86t(0x8f),a86t(0xb6),'ci']},async function(a,b){const u=a86t;try{await this[u(0x97)][u(0x82)](u(0xa7),{'shouldInstall':!![]});const c=a[0x0];if(c===u(0x9c)){const l=this[u(0x97)][u(0xa2)](),m=a86e['join'](l,u(0xa0),u(0x91),'local',u(0xa8));this[u(0x97)]['isDirectory'](m)&&await rimraf(m);}!b[u(0x8f)]&&!b['x']&&(a=a[u(0x81)](['--exclude-archs',u(0x8e)]));if(b['mobileServer']&&typeof b['mobileServer']===u(0xb0))throw u(0xb5);const d=b[u(0x7b)]?b[u(0x7b)]:u(0x93),f=this[u(0x97)][u(0x95)](d),g=a86e[u(0x8c)](f,u(0xaa));let h=a86e[u(0x8c)](f,u(0x78));b[u(0xad)]?h=b['settings']:h=a86e[u(0x8c)](f,u(0x78));this['fsi'][u(0x79)](g)?(Log[u(0x98)](u(0xa1)+g),syncSource(g)):(Log[u(0x86)]('Cannot\x20find\x20Node\x20Environment\x20file,\x20creating:\x20'+g),this[u(0x97)]['createFile']({'filePath':g,'data':''}));this['fsi'][u(0x79)](h)?(Log[u(0x98)]('Meteor\x20Settings:\x20'+h),a=a[u(0x81)]([u(0x7c),h])):Log[u(0x7a)](u(0xac)+h);const i=f[u(0x9d)](a86e['sep']),j=i[i[u(0xab)]-0x1];j===u(0xb6)&&a[u(0x90)]('--production');const k=process['argv'][u(0x9e)](0x2)[u(0x89)](n=>n!==u(0xae))['filter'](n=>n!==a[0x0]);k['forEach']((n,o)=>{const v=u;n===v(0xa3)&&k[v(0x94)](o,0x2),n==='-e'&&k[v(0x94)](o,0x2);}),this[u(0x97)][u(0x87)](u(0xae),a[u(0x81)](k));}catch(n){Log[u(0x8d)](n),process['exit'](0x1);}});export default Run;
1
+ const a86t=a86d;(function(a,b){const p=a86d,c=a();while(!![]){try{const d=parseInt(p(0x16c))/0x1*(-parseInt(p(0x194))/0x2)+-parseInt(p(0x172))/0x3*(parseInt(p(0x190))/0x4)+parseInt(p(0x17f))/0x5*(-parseInt(p(0x166))/0x6)+-parseInt(p(0x196))/0x7+parseInt(p(0x188))/0x8+-parseInt(p(0x195))/0x9+-parseInt(p(0x15d))/0xa*(-parseInt(p(0x15c))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0x41ea4));const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a86d;if(c){const e=c[q(0x160)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const r=a86d;return a86a[r(0x17a)]()[r(0x186)](r(0x164))[r(0x17a)]()[r(0x18e)](a86a)[r(0x186)](r(0x164));});a86a();import a86e from'path';import a86f from'fs';import a86g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0x158;let f=c[d];return f;},a86d(a,b);}import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const s=a86d;a86f[s(0x18c)](a,'r'),a86g[s(0x15b)]({'path':a});},Run=Command[a86t(0x168)]({'name':a86t(0x176),'mustBeInMakaProject':!![],'aliases':['r'],'shortDesc':'Run\x20your\x20Meteor\x20application','description':a86t(0x180),'validOpts':[a86t(0x15e),'rawLogs',a86t(0x16a),'inspect',a86t(0x17d),a86t(0x159),a86t(0x170),a86t(0x162),'x',a86t(0x185),'production','ci']},async function(a,b){const u=a86t;try{await this[u(0x183)]['checkMeteorPackage'](u(0x15f),{'shouldInstall':!![]}),await this['fsi']['ensureAllDependenciesInstalled']();const c=a[0x0];if(c===u(0x16f)){const l=this[u(0x183)][u(0x167)](),m=a86e[u(0x178)](l,u(0x174),'.meteor','local','cordova-build');this[u(0x183)][u(0x182)](m)&&await rimraf(m);}!b[u(0x185)]&&!b['x']&&(a=a[u(0x16d)](['--exclude-archs','\x22web.browser.legacy\x22']));if(b[u(0x17d)]&&typeof b[u(0x17d)]==='boolean')throw u(0x184);const d=b['env']?b[u(0x15e)]:u(0x169),f=this[u(0x183)][u(0x16e)](d),g=a86e[u(0x178)](f,u(0x18d));let h=a86e[u(0x178)](f,u(0x16b));b['settings']?h=b[u(0x17b)]:h=a86e[u(0x178)](f,u(0x16b));this[u(0x183)][u(0x158)](g)?(Log[u(0x187)]('Node\x20Env\x20Config:\x20'+g),syncSource(g)):(Log[u(0x191)](u(0x192)+g),this[u(0x183)][u(0x17c)]({'filePath':g,'data':''}));this[u(0x183)]['isFile'](h)?(Log[u(0x187)]('Meteor\x20Settings:\x20'+h),a=a[u(0x16d)]([u(0x15a),h])):Log[u(0x163)](u(0x17e)+h);const i=f[u(0x18f)](a86e[u(0x189)]),j=i[i[u(0x171)]-0x1];j===u(0x18b)&&a[u(0x175)](u(0x177));const k=process['argv'][u(0x179)](0x2)[u(0x161)](n=>n!==u(0x176))[u(0x161)](n=>n!==a[0x0]);k['forEach']((n,o)=>{const v=u;n===v(0x181)&&k[v(0x18a)](o,0x2),n==='-e'&&k[v(0x18a)](o,0x2);}),this['fsi'][u(0x165)](u(0x176),a[u(0x16d)](k));}catch(n){Log[u(0x193)](n),process[u(0x173)](0x1);}});export default Run;function a86c(){const w=['isDirectory','fsi','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)','excludeArchs','search','notice','3204440rVyVFk','sep','splice','production','openSync','process.env','constructor','split','754940XrCPQG','info','Cannot\x20find\x20Node\x20Environment\x20file,\x20creating:\x20','error','604864spExkY','90297wuEsEo','1341872oAeZYc','isFile','verbose','--settings','config','9011035cQBuZs','10BkRJtc','env','autoupdate','apply','filter','extraPackages','warn','(((.+)+)+)+$','invokeMeteorCommand','15888rbECZm','findProjectDirectory','create','development','port','settings.json','1pMfSNI','concat','getAppConfigPath','ios','allowIncompatibleUpdate','length','3SJStmq','exit','app','push','run','--production','join','slice','toString','settings','createFile','mobileServer','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','485FSZszf','\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','--env'];a86c=function(){return w;};return a86c();}
@@ -1 +1 @@
1
- (function(a,b){var f=a87d,c=a();while(!![]){try{var d=parseInt(f(0x1a1))/0x1*(parseInt(f(0x19d))/0x2)+parseInt(f(0x1a5))/0x3*(-parseInt(f(0x19e))/0x4)+parseInt(f(0x195))/0x5*(parseInt(f(0x19f))/0x6)+-parseInt(f(0x1a0))/0x7*(parseInt(f(0x1a2))/0x8)+-parseInt(f(0x198))/0x9*(parseInt(f(0x19a))/0xa)+parseInt(f(0x1a4))/0xb*(parseInt(f(0x194))/0xc)+parseInt(f(0x1a3))/0xd*(parseInt(f(0x196))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0xac521));var a87b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){var g=a87d;return a87a['toString']()[g(0x199)](g(0x197))[g(0x19c)]()[g(0x19b)](a87a)[g(0x199)](g(0x197));});a87a();import'./set.command.js';import'./global.sub.cmd.js';function a87d(a,b){var c=a87c();return a87d=function(d,e){d=d-0x194;var f=c[d];return f;},a87d(a,b);}function a87c(){var h=['1211768AbjHbP','5473zYpwub','42361mbDcUM','411xMRlYz','2328vHYiTV','50015TsulfX','53046GLnrzs','(((.+)+)+)+$','964377ejzgNz','search','110EVDZPg','constructor','toString','1212lLOtZz','32996eHltJT','606LDcxun','49wXZVVf','1192kiRcnr'];a87c=function(){return h;};return a87c();}import'./local.sub.cmd.js';
1
+ function a87d(a,b){var c=a87c();return a87d=function(d,e){d=d-0x154;var f=c[d];return f;},a87d(a,b);}(function(a,b){var f=a87d,c=a();while(!![]){try{var d=parseInt(f(0x15f))/0x1+parseInt(f(0x161))/0x2+-parseInt(f(0x162))/0x3+-parseInt(f(0x154))/0x4*(-parseInt(f(0x155))/0x5)+parseInt(f(0x15b))/0x6*(-parseInt(f(0x15a))/0x7)+-parseInt(f(0x15c))/0x8+-parseInt(f(0x159))/0x9*(parseInt(f(0x157))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0x76127));var a87b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a87d;if(c){var e=c[g(0x15e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){var h=a87d;return a87a[h(0x15d)]()[h(0x160)](h(0x156))[h(0x15d)]()[h(0x158)](a87a)[h(0x160)](h(0x156));});a87a();import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';function a87c(){var i=['3152512XVuCwg','toString','apply','562739TyCYuj','search','1629662rkSsqh','157485WlRBrv','889116hKWWYD','15MCxGZW','(((.+)+)+)+$','1226190hBItfq','constructor','18InNlWH','868987riwkYB','42VrdUQB'];a87c=function(){return i;};return a87c();}
@@ -1 +1 @@
1
- const a88j=a88d;(function(a,b){const h=a88d,c=a();while(!![]){try{const d=parseInt(h(0x8d))/0x1*(-parseInt(h(0x88))/0x2)+-parseInt(h(0x84))/0x3+parseInt(h(0x8e))/0x4+parseInt(h(0xa0))/0x5+-parseInt(h(0x97))/0x6*(-parseInt(h(0x82))/0x7)+parseInt(h(0x9f))/0x8+-parseInt(h(0x89))/0x9*(parseInt(h(0x85))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x4555b));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const i=a88d;return a88a['toString']()['search']('(((.+)+)+)+$')[i(0x94)]()['constructor'](a88a)[i(0x98)](i(0x8f));});a88a();import a88e from'path';import a88f from'./set.command.js';function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x7a;let f=c[d];return f;},a88d(a,b);}function a88c(){const l=['CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','openai','Set\x20color\x20pallet\x20to:\x20','create','success','allowInsecure','4450952prlRjl','849770JPoekC','workspace','Set\x20global\x20Maka-CLI\x20settings','fsi','exit','cacert','Set\x20CA\x20Cert\x20Path:\x20','isFile','error','maka\x20set:global-config\x20--cacert\x20<path>','disallowInsecure','21jtPGrM','resolve','1361142gOvRre','10oRltnp','help','light','50RRAWUi','4706757COUvdi','maka\x20set:gc\x20--insecure\x20<path>','Set\x20OpenAI\x20Key:\x20','boolean','14603nznaIB','1543312ItknLj','(((.+)+)+)+$','Could\x20not\x20find\x20directory','maka\x20set:gc\x20--workspace\x20<path>','setGlobalConfig','Set\x20workspace:\x20','toString','pallet','\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','1027212EKBUPV','search'];a88c=function(){return l;};return a88c();}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a88j(0x9c)]({'name':'global-config','usage':'maka\x20set:global-config','aliases':['gc'],'maxOptsLength':0x3,'validOpts':[{'name':a88j(0x7c),'boolFlag':![]},{'name':a88j(0x9e),'boolFlag':!![]},{'name':a88j(0x81),'boolFlag':!![]},{'name':a88j(0xa1),'boolFlag':![]},{'name':'openai','boolFlag':![]},{'name':a88j(0x86),'boolFlag':!![]},{'name':a88j(0x95),'values':[a88j(0x87),'dark']}],'shortDesc':a88j(0xa2),'description':a88j(0x96),'examples':[a88j(0x80),a88j(0x8a),a88j(0x91)]},async function(a,b){const k=a88j;try{if(b[k(0x7c)]){if(this[k(0x7a)][k(0x7e)](b['cacert']))await this[k(0x7a)][k(0x92)]({'cert':b['cacert']}),Log[k(0x9d)](k(0x7d)+b[k(0x7c)]);else{const c=typeof b[k(0x7c)]===k(0x8c)?'Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.':k(0x99)+b[k(0x7c)];throw Log[k(0x7f)](c);}}if(b[k(0xa1)]){const d=this[k(0x7a)]['isDirectory'](b['workspace']);if(d)await this['fsi'][k(0x92)]({'workspace':a88e[k(0x83)](b['workspace'])}),Log[k(0x9d)](k(0x93)+a88e[k(0x83)](b[k(0xa1)]));else throw Log[k(0x7f)](k(0x90));}b[k(0x9a)]&&(await this[k(0x7a)][k(0x92)]({'openai':b['openai']}),Log[k(0x9d)](k(0x8b)+b[k(0x9a)]));b[k(0x95)]&&(await this['fsi']['setGlobalConfig']({'pallet':b[k(0x95)]}),Log[k(0x9d)](k(0x9b)+b[k(0x95)]));if(b[k(0x9e)]){if(b[k(0x9e)]&&b['disallowInsecure'])throw Log[k(0x7f)]('One\x20or\x20the\x20other\x20buddy');let f=b[k(0x9e)];b[k(0x81)]&&(f=![]),await this[k(0x7a)][k(0x92)]({'allowInsecure':f}),Log[k(0x9d)]('Set\x20allowInsecure:\x20'+f);}process[k(0x7b)](0x0);}catch(g){console[k(0x7f)](g),process['exit'](0x0);}},a88f);
1
+ function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x17c;let f=c[d];return f;},a88d(a,b);}function a88c(){const m=['apply','Could\x20not\x20find\x20directory','openai','maka\x20set:gc\x20--workspace\x20<path>','880315svccds','cacert','pallet','success','5966JQRElM','allowInsecure','exit','disallowInsecure','resolve','125844LDDnJX','Set\x20OpenAI\x20Key:\x20','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','fsi','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','6JYweKs','9FIxitl','Set\x20allowInsecure:\x20','toString','setGlobalConfig','483969OfFnnC','745448eYgQUi','One\x20or\x20the\x20other\x20buddy','constructor','boolean','755944ANuZsd','isDirectory','workspace','(((.+)+)+)+$','isFile','search','Set\x20CA\x20Cert\x20Path:\x20','347487yodkJg','light','Set\x20global\x20Maka-CLI\x20settings','Set\x20color\x20pallet\x20to:\x20'];a88c=function(){return m;};return a88c();}const a88k=a88d;(function(a,b){const h=a88d,c=a();while(!![]){try{const d=parseInt(h(0x190))/0x1+parseInt(h(0x18b))/0x2+-parseInt(h(0x19c))/0x3+-parseInt(h(0x19d))/0x4+parseInt(h(0x187))/0x5+parseInt(h(0x197))/0x6*(parseInt(h(0x17f))/0x7)+-parseInt(h(0x1a1))/0x8*(-parseInt(h(0x198))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x18bdb));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a88d;if(c){const e=c[i(0x183)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const j=a88d;return a88a[j(0x19a)]()[j(0x17d)](j(0x1a4))[j(0x19a)]()[j(0x19f)](a88a)[j(0x17d)](j(0x1a4));});a88a();import a88e from'path';import a88f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':'global-config','usage':'maka\x20set:global-config','aliases':['gc'],'maxOptsLength':0x3,'validOpts':[{'name':'cacert','boolFlag':![]},{'name':a88k(0x18c),'boolFlag':!![]},{'name':a88k(0x18e),'boolFlag':!![]},{'name':a88k(0x1a3),'boolFlag':![]},{'name':a88k(0x185),'boolFlag':![]},{'name':'help','boolFlag':!![]},{'name':a88k(0x189),'values':[a88k(0x180),'dark']}],'shortDesc':a88k(0x181),'description':a88k(0x193),'examples':['maka\x20set:global-config\x20--cacert\x20<path>','maka\x20set:gc\x20--insecure\x20<path>',a88k(0x186)]},async function(a,b){const l=a88k;try{if(b[l(0x188)]){if(this[l(0x194)][l(0x17c)](b[l(0x188)]))await this[l(0x194)][l(0x19b)]({'cert':b[l(0x188)]}),Log[l(0x18a)](l(0x17e)+b[l(0x188)]);else{const c=typeof b[l(0x188)]===l(0x1a0)?l(0x195):l(0x196)+b[l(0x188)];throw Log['error'](c);}}if(b[l(0x1a3)]){const d=this[l(0x194)][l(0x1a2)](b['workspace']);if(d)await this['fsi']['setGlobalConfig']({'workspace':a88e[l(0x18f)](b[l(0x1a3)])}),Log['success']('Set\x20workspace:\x20'+a88e[l(0x18f)](b['workspace']));else throw Log[l(0x192)](l(0x184));}b[l(0x185)]&&(await this[l(0x194)][l(0x19b)]({'openai':b[l(0x185)]}),Log[l(0x18a)](l(0x191)+b['openai']));b[l(0x189)]&&(await this[l(0x194)][l(0x19b)]({'pallet':b[l(0x189)]}),Log[l(0x18a)](l(0x182)+b[l(0x189)]));if(b[l(0x18c)]){if(b['allowInsecure']&&b['disallowInsecure'])throw Log[l(0x192)](l(0x19e));let f=b[l(0x18c)];b[l(0x18e)]&&(f=![]),await this[l(0x194)]['setGlobalConfig']({'allowInsecure':f}),Log[l(0x18a)](l(0x199)+f);}process[l(0x18d)](0x0);}catch(g){console[l(0x192)](g),process[l(0x18d)](0x0);}},a88f);
@@ -1 +1 @@
1
- function a89c(){var k=['local-config','244530POyIDH','2QrllPM','maka\x20set:local-config','Sorry,\x20not\x20implemented\x20yet','notice','apply','Set\x20local\x20maka\x20app\x20settings','2421VDinTr','35390SZVZsN','toString','2054420PMowwi','create','1610742CiPkAw','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','42dIrtRw','3741104wUAPmK','430597umuODo','773793FJyUgR','constructor','search'];a89c=function(){return k;};return a89c();}var a89i=a89d;(function(a,b){var f=a89d,c=a();while(!![]){try{var d=parseInt(f(0x163))/0x1*(parseInt(f(0x169))/0x2)+parseInt(f(0x164))/0x3+-parseInt(f(0x15d))/0x4+parseInt(f(0x168))/0x5*(parseInt(f(0x161))/0x6)+parseInt(f(0x15f))/0x7+parseInt(f(0x162))/0x8+parseInt(f(0x16f))/0x9*(-parseInt(f(0x170))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x4036a));var a89b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a89d;if(c){var e=c[g(0x16d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){var h=a89d;return a89a[h(0x15c)]()[h(0x166)]('(((.+)+)+)+$')['toString']()[h(0x165)](a89a)[h(0x166)]('(((.+)+)+)+$');});a89a();function a89d(a,b){var c=a89c();return a89d=function(d,e){d=d-0x15c;var f=c[d];return f;},a89d(a,b);}import a89e from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a89i(0x15e)]({'name':a89i(0x167),'usage':a89i(0x16a),'examples':[],'aliases':['lc'],'mustBeInMakaProject':!![],'shortDesc':a89i(0x16e),'validOpts':[],'description':a89i(0x160)},async function(){var j=a89i;Log[j(0x16c)](j(0x16b));},a89e);
1
+ function a89d(a,b){var c=a89c();return a89d=function(d,e){d=d-0x1ea;var f=c[d];return f;},a89d(a,b);}var a89h=a89d;(function(a,b){var f=a89d,c=a();while(!![]){try{var d=parseInt(f(0x1ec))/0x1*(-parseInt(f(0x1f4))/0x2)+parseInt(f(0x1eb))/0x3+parseInt(f(0x1f3))/0x4+parseInt(f(0x1ef))/0x5+-parseInt(f(0x1fa))/0x6+parseInt(f(0x1f8))/0x7*(parseInt(f(0x1f7))/0x8)+-parseInt(f(0x1f0))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x42c80));var a89b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){var g=a89d;return a89a[g(0x1ee)]()['search'](g(0x1f9))[g(0x1ee)]()[g(0x1ed)](a89a)[g(0x1f5)]('(((.+)+)+)+$');});a89a();import a89e from'./set.command.js';import{Command}from'../../command.js';function a89c(){var j=['38968jtTjVb','455KVTzwH','(((.+)+)+)+$','2865528sSSZGa','Sorry,\x20not\x20implemented\x20yet','1333620eEnwXK','354163HLfnwS','constructor','toString','2264675UEBQWR','5793120alFJlO','create','notice','2139508MpZMaV','2GLTXrP','search','Set\x20local\x20maka\x20app\x20settings'];a89c=function(){return j;};return a89c();}import{Log}from'../../tools/log/log.class.js';Command[a89h(0x1f1)]({'name':'local-config','usage':'maka\x20set:local-config','examples':[],'aliases':['lc'],'mustBeInMakaProject':!![],'shortDesc':a89h(0x1f6),'validOpts':[],'description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20'},async function(){var i=a89h;Log[i(0x1f2)](i(0x1ea));},a89e);
@@ -1 +1 @@
1
- const a90i=a90d;function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x71;let f=c[d];return f;},a90d(a,b);}function a90c(){const k=['14125rxRDld','runSubCommand','\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','(((.+)+)+)+$','8272latNGZ','toString','4679220IGksGw','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','6616568zvzdJr','create','2lXRNWZ','set','3114vNicDJ','search','12405690VRYDuH','475989NrALfS','9950AgxUyj','apply','findSubCommand','1068XVtWyN','285VqmyQF'];a90c=function(){return k;};return a90c();}(function(a,b){const f=a90d,c=a();while(!![]){try{const d=-parseInt(f(0x80))/0x1*(parseInt(f(0x7b))/0x2)+parseInt(f(0x85))/0x3*(-parseInt(f(0x75))/0x4)+-parseInt(f(0x71))/0x5*(-parseInt(f(0x84))/0x6)+parseInt(f(0x77))/0x7+-parseInt(f(0x79))/0x8+-parseInt(f(0x7d))/0x9*(parseInt(f(0x81))/0xa)+parseInt(f(0x7f))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0x6f28e));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a90d;if(c){const e=c[g(0x82)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const h=a90d;return a90a[h(0x76)]()[h(0x7e)](h(0x74))[h(0x76)]()['constructor'](a90a)[h(0x7e)](h(0x74));});a90a();import{Command}from'../../command.js';const SetCommand=Command[a90i(0x7a)]({'name':a90i(0x7c),'usage':'maka\x20set:<sub-command>','shortDesc':a90i(0x78),'description':a90i(0x73),'validOpts':[]},async function(a,b){const j=a90i,c=a[0x0],d=this[j(0x83)](c);d&&this[j(0x72)](c,a,b);});export default SetCommand;
1
+ const a90i=a90d;function a90c(){const k=['maka\x20set:<sub-command>','190ouTjMn','set','toString','648063MKajoK','\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','create','runSubCommand','findSubCommand','154021XnhjhF','29805314nKroCc','apply','(((.+)+)+)+$','2283428uYdZFz','4XHJmnK','6756IXDeRN','7fUJkdo','4095966LzhNav','7780jLZGqd','constructor','11424008qjlvkS'];a90c=function(){return k;};return a90c();}(function(a,b){const f=a90d,c=a();while(!![]){try{const d=parseInt(f(0x1fa))/0x1+parseInt(f(0x1fe))/0x2+-parseInt(f(0x1ed))/0x3*(parseInt(f(0x1ea))/0x4)+parseInt(f(0x1ee))/0x5*(-parseInt(f(0x1eb))/0x6)+parseInt(f(0x1ec))/0x7*(parseInt(f(0x1f0))/0x8)+parseInt(f(0x1f5))/0x9*(-parseInt(f(0x1f2))/0xa)+parseInt(f(0x1fb))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0xe7657));function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x1ea;let f=c[d];return f;},a90d(a,b);}const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a90d;if(c){const e=c[g(0x1fc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const h=a90d;return a90a[h(0x1f4)]()['search'](h(0x1fd))[h(0x1f4)]()[h(0x1ef)](a90a)['search'](h(0x1fd));});a90a();import{Command}from'../../command.js';const SetCommand=Command[a90i(0x1f7)]({'name':a90i(0x1f3),'usage':a90i(0x1f1),'shortDesc':'Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','description':a90i(0x1f6),'validOpts':[]},async function(a,b){const j=a90i,c=a[0x0],d=this[j(0x1f9)](c);d&&this[j(0x1f8)](c,a,b);});export default SetCommand;
@@ -1 +1 @@
1
- const a91m=a91d;(function(a,b){const j=a91d,c=a();while(!![]){try{const d=parseInt(j(0x136))/0x1*(parseInt(j(0x134))/0x2)+parseInt(j(0x129))/0x3*(-parseInt(j(0x12b))/0x4)+-parseInt(j(0x133))/0x5*(parseInt(j(0x13f))/0x6)+parseInt(j(0x138))/0x7*(parseInt(j(0x13a))/0x8)+parseInt(j(0x12f))/0x9*(-parseInt(j(0x145))/0xa)+-parseInt(j(0x143))/0xb*(parseInt(j(0x147))/0xc)+-parseInt(j(0x13e))/0xd*(-parseInt(j(0x130))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0xe37b5));const a91b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a91d;if(c){const e=c[k(0x141)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){const l=a91d;return a91a[l(0x135)]()[l(0x148)](l(0x139))[l(0x135)]()['constructor'](a91a)[l(0x148)](l(0x139));});a91a();import a91e from'fs';import a91f from'path';import{Command}from'../command.js';function a91c(){const o=['56ojDMtZ','verbose','sshSync','90EnmKkm','2yHOQbu','toString','598127awpsfi','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','7vTxCPu','(((.+)+)+)+$','13564664UrqnGv','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','assign','create','8584004vdiGKk','599586ZycdZR','maka\x20ssh\x20--env\x20dev','apply','ssh','77MwkyCq','ssh.json','10528520EbRmTW','maka\x20ssh\x20--env\x20staging','1323660BaJOVd','search','env','getAppConfigPath','exit','142287QLBOQw','error','32ymdWFL','maka\x20ssh\x20<command>','join','maka\x20ssh\x20--env\x20prod','9wpbwRo'];a91c=function(){return o;};return a91c();}function a91d(a,b){const c=a91c();return a91d=function(d,e){d=d-0x127;let f=c[d];return f;},a91d(a,b);}import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';Command[a91m(0x13d)]({'name':a91m(0x142),'usage':a91m(0x12c),'mustBeInMakaProject':!![],'requiredOpts':[a91m(0x149)],'validOpts':[a91m(0x149),'verbose'],'shortDesc':a91m(0x13b),'examples':[a91m(0x140),a91m(0x146),a91m(0x12e),'maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22',a91m(0x137)]},async function(a,b){const n=a91m;try{const c=this['fsi'][n(0x127)](b[n(0x149)]);let d='';a['length']>0x0&&(d=a[0x0]);const f=a91f[n(0x12d)](c,n(0x144)),g=a91e['readFileSync'](f)['toString'](),h=JSON['parse'](g);Object[n(0x13c)](h,{'env':c}),SSH[n(0x132)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b[n(0x131)]});}catch(i){Log[n(0x12a)](i),process[n(0x128)](0x1);}});
1
+ const a91m=a91d;(function(a,b){const j=a91d,c=a();while(!![]){try{const d=-parseInt(j(0x148))/0x1+parseInt(j(0x155))/0x2*(-parseInt(j(0x15e))/0x3)+parseInt(j(0x149))/0x4*(-parseInt(j(0x156))/0x5)+-parseInt(j(0x15c))/0x6+-parseInt(j(0x160))/0x7*(-parseInt(j(0x14f))/0x8)+-parseInt(j(0x146))/0x9+parseInt(j(0x15b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0xe62e6));const a91b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a91d;if(c){const e=c[k(0x154)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){const l=a91d;return a91a[l(0x145)]()['search'](l(0x143))[l(0x145)]()[l(0x153)](a91a)[l(0x157)](l(0x143));});a91a();import a91e from'fs';import a91f from'path';import{Command}from'../command.js';function a91d(a,b){const c=a91c();return a91d=function(d,e){d=d-0x142;let f=c[d];return f;},a91d(a,b);}import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';function a91c(){const o=['61454610QmvDlO','8471976uXsDzQ','exit','53913KMRiBi','assign','7NWBCee','readFileSync','(((.+)+)+)+$','maka\x20ssh\x20--env\x20staging','toString','2312352KcqflX','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','1821977xnZehq','2696NJrpAn','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','env','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','parse','ssh','1765096Usutyb','length','verbose','getAppConfigPath','constructor','apply','178WNljeK','2470pzewbS','search','join','ssh.json','fsi'];a91c=function(){return o;};return a91c();}Command['create']({'name':a91m(0x14e),'usage':'maka\x20ssh\x20<command>','mustBeInMakaProject':!![],'requiredOpts':[a91m(0x14b)],'validOpts':[a91m(0x14b),a91m(0x151)],'shortDesc':a91m(0x14c),'examples':['maka\x20ssh\x20--env\x20dev',a91m(0x144),'maka\x20ssh\x20--env\x20prod','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22',a91m(0x14a),a91m(0x147)]},async function(a,b){const n=a91m;try{const c=this[n(0x15a)][n(0x152)](b['env']);let d='';a[n(0x150)]>0x0&&(d=a[0x0]);const f=a91f[n(0x158)](c,n(0x159)),g=a91e[n(0x142)](f)['toString'](),h=JSON[n(0x14d)](g);Object[n(0x15f)](h,{'env':c}),SSH['sshSync'](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b['verbose']});}catch(i){Log['error'](i),process[n(0x15d)](0x1);}});
@@ -1 +1 @@
1
- const a92y=a92d;(function(a,b){const v=a92d,c=a();while(!![]){try{const d=parseInt(v(0x10c))/0x1*(-parseInt(v(0x12e))/0x2)+-parseInt(v(0x11c))/0x3+parseInt(v(0x109))/0x4+parseInt(v(0x110))/0x5+parseInt(v(0x118))/0x6+parseInt(v(0x10d))/0x7*(parseInt(v(0x12a))/0x8)+-parseInt(v(0xf7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0x71901));const a92b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a92d;if(c){const e=c[w(0x123)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){const x=a92d;return a92a[x(0x11a)]()[x(0x102)](x(0x103))[x(0x11a)]()['constructor'](a92a)['search'](x(0x103));});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 a92d(a,b){const c=a92c();return a92d=function(d,e){d=d-0xf5;let f=c[d];return f;},a92d(a,b);}import{Command}from'../command.js';function a92c(){const A=['Checking\x20remote\x20host\x20availability','exit','apply','Using\x20saved\x20letsencrypt\x20config','email','ask','getAppConfigPath','uname\x20-a','genSSC','9736zXMclR','readFileSync','env','ping','2976HiVAbk','ssh','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','writeFileSync','join','.crt','Verifying\x20Letsencrypt\x20configuration','7500150GNCmxl','Please\x20provide\x20a\x20command.','emailUpdate','create','mkKeysDir','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','/ssh.json','domains','New\x20CSR\x20written\x20to\x20','generate-ssc','search','(((.+)+)+)+$','letsencrypt.json','.key','.csr','parse','withSpinner','2553964MLgRDA','error','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','206vphqjY','581bHDBGd','existsSync','letsencrypt','3274830nyMyFj','appName','domainNames','maka\x20ssl\x20--env\x20dev\x20generate-csr','notice','fsi','maka\x20ssl\x20[command]','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','2371512YfOEZo','success','toString','Create\x20and\x20manage\x20your\x20SSL\x20operations.','554067mNtwhc','generate-csr','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','getMakaProjectConfig'];a92c=function(){return A;};return a92c();}import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command[a92y(0xfa)]({'name':'ssl','usage':a92y(0x116),'validOpts':['domains',a92y(0x125)],'requiredOpts':[a92y(0x12c)],'shortDesc':a92y(0x11b),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a92y(0x113),a92y(0x11e),a92y(0xfc)]},async function(a,b){const z=a92y,c=this[z(0x115)][z(0x120)](),d=this['fsi'][z(0x127)](b['env']),f=this[z(0x115)][z(0xfb)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0x11d))SSL['genCSR']({'keyName':c[z(0x111)]+'.key','csrName':c[z(0x111)]+z(0x106),'cwd':f});else{if(g===z(0x101)){if(!a92e[z(0x10e)](a92f[z(0x132)](f,c[z(0x111)]+z(0x105))))throw z(0x10b)+a92f[z(0x132)](f,c['appName']+z(0x105));if(!a92e[z(0x10e)](a92f['join'](f,c['appName']+z(0x106))))throw'The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20'+a92f[z(0x132)](f,c['appName']+z(0x106));SSL[z(0x129)]({'keyName':c[z(0x111)]+z(0x105),'crtName':c['appName']+z(0xf5),'cwd':f}),Log[z(0x114)](z(0x100)+f);}else{if(g===z(0x10f)){let h=b['domains'],i=b[z(0x125)];try{const p=a92e[z(0x12b)](a92f['join'](d,'letsencrypt.json'))[z(0x11a)](),q=JSON[z(0x107)](p);h=b[z(0xff)]?b[z(0xff)]:q[z(0x112)],i=b[z(0x125)]?b[z(0x125)]:q[z(0xf9)],(!b['email']||!b['domains'])&&Log[z(0x114)](z(0x124));}catch(r){}const j=JSON[z(0x107)](a92e[z(0x12b)](d+z(0xfe))[z(0x11a)]());Object['assign'](j,{'env':d}),Log[z(0x114)](z(0x121));try{const s=SSH[z(0x12d)](z(0x128),j);if(!s)throw z(0x117);if(s)Log[z(0x119)]('Remote\x20host\x20connection\x20successful');}catch(t){Log[z(0x10a)](t);return;}const k=Log[z(0x108)]();k['start'](z(0xf6)),SSH[z(0x12f)](z(0xfd),{...j}),SSH[z(0x12f)]('sudo\x20snap\x20install\x20--classic\x20certbot',{...j}),SSH['ssh'](z(0x130),{...j}),k['success']();const l=h?h:await Actions['ask']('[?]\x20Domains\x20to\x20register:\x20'),m=i?i:await Actions[z(0x126)]('Email\x20to\x20use\x20for\x20auto-updates:\x20');SSH[z(0x12f)](z(0x11f)+l+'\x20--email\x20'+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON['stringify'](n,null,0x2);a92e[z(0x131)](a92f[z(0x132)](d,z(0x104)),o);}else throw z(0xf8);}}}catch(u){console[z(0x10a)](u),process[z(0x122)](0x0);}});
1
+ const a92y=a92d;function a92d(a,b){const c=a92c();return a92d=function(d,e){d=d-0xbb;let f=c[d];return f;},a92d(a,b);}(function(a,b){const v=a92d,c=a();while(!![]){try{const d=-parseInt(v(0xe7))/0x1+-parseInt(v(0xe3))/0x2*(-parseInt(v(0xe6))/0x3)+parseInt(v(0xe9))/0x4*(parseInt(v(0xc7))/0x5)+-parseInt(v(0xd0))/0x6*(parseInt(v(0xc4))/0x7)+-parseInt(v(0xd1))/0x8*(parseInt(v(0xc0))/0x9)+parseInt(v(0xf5))/0xa*(-parseInt(v(0xe2))/0xb)+parseInt(v(0xc6))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0x26210));const a92b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a92d;if(c){const e=c[w(0xda)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){const x=a92d;return a92a[x(0xde)]()[x(0xf9)]('(((.+)+)+)+$')[x(0xde)]()[x(0xcd)](a92a)[x(0xf9)](x(0xed));});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=['parse','\x20--email\x20','domainNames','emailUpdate','constructor','.csr','env','186IouhoW','1576zyyPpJ','.key','maka\x20ssl\x20[command]','create','stringify','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','Using\x20saved\x20letsencrypt\x20config','mkKeysDir','Verifying\x20Letsencrypt\x20configuration','apply','sudo\x20snap\x20install\x20--classic\x20certbot','writeFileSync','success','toString','ask','fsi','withSpinner','2643916ckAtWF','2avsUlt','readFileSync','exit','919479YnedYr','80116FoZQrm','genSSC','4iAElmj','Create\x20and\x20manage\x20your\x20SSL\x20operations.','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','ssh','(((.+)+)+)+$','Please\x20provide\x20a\x20command.','letsencrypt.json','generate-ssc','getAppConfigPath','notice','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','genCSR','10TAQnWA','join','appName','uname\x20-a','search','ssl','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','generate-csr','ping','maka\x20ssl\x20--env\x20dev\x20generate-csr','error','[?]\x20Domains\x20to\x20register:\x20','Email\x20to\x20use\x20for\x20auto-updates:\x20','email','9351jjmMNG','Checking\x20remote\x20host\x20availability','existsSync','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','21868rAkRos','letsencrypt','3707748xrHGMG','813515ETAMZJ','domains'];a92c=function(){return A;};return a92c();}import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command[a92y(0xd4)]({'name':a92y(0xfa),'usage':a92y(0xd3),'validOpts':[a92y(0xc8),a92y(0xbf)],'requiredOpts':[a92y(0xcf)],'shortDesc':a92y(0xea),'mustBeInMakaProject':!![],'minArgLength':0x1,'examples':[a92y(0xbb),'maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate',a92y(0xc3)]},async function(a,b){const z=a92y,c=this['fsi']['getMakaProjectConfig'](),d=this[z(0xe0)][z(0xf1)](b['env']),f=this[z(0xe0)][z(0xd8)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0xfd))SSL[z(0xf4)]({'keyName':c[z(0xf7)]+z(0xd2),'csrName':c['appName']+z(0xce),'cwd':f});else{if(g===z(0xf0)){if(!a92e[z(0xc2)](a92f[z(0xf6)](f,c[z(0xf7)]+z(0xd2))))throw z(0xd6)+a92f[z(0xf6)](f,c[z(0xf7)]+'.key');if(!a92e['existsSync'](a92f[z(0xf6)](f,c[z(0xf7)]+'.csr')))throw'The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20'+a92f[z(0xf6)](f,c[z(0xf7)]+z(0xce));SSL[z(0xe8)]({'keyName':c[z(0xf7)]+z(0xd2),'crtName':c[z(0xf7)]+'.crt','cwd':f}),Log['notice']('New\x20CSR\x20written\x20to\x20'+f);}else{if(g===z(0xc5)){let h=b[z(0xc8)],i=b[z(0xbf)];try{const p=a92e[z(0xe4)](a92f[z(0xf6)](d,'letsencrypt.json'))[z(0xde)](),q=JSON[z(0xc9)](p);h=b[z(0xc8)]?b[z(0xc8)]:q[z(0xcb)],i=b['email']?b[z(0xbf)]:q[z(0xcc)],(!b[z(0xbf)]||!b[z(0xc8)])&&Log[z(0xf2)](z(0xd7));}catch(r){}const j=JSON[z(0xc9)](a92e[z(0xe4)](d+'/ssh.json')[z(0xde)]());Object['assign'](j,{'env':d}),Log[z(0xf2)](z(0xc1));try{const s=SSH[z(0xfe)](z(0xf8),j);if(!s)throw z(0xf3);if(s)Log[z(0xdd)]('Remote\x20host\x20connection\x20successful');}catch(t){Log[z(0xbc)](t);return;}const k=Log[z(0xe1)]();k['start'](z(0xd9)),SSH[z(0xec)](z(0xfb),{...j}),SSH[z(0xec)](z(0xdb),{...j}),SSH[z(0xec)](z(0xeb),{...j}),k[z(0xdd)]();const l=h?h:await Actions[z(0xdf)](z(0xbd)),m=i?i:await Actions['ask'](z(0xbe));SSH[z(0xec)](z(0xfc)+l+z(0xca)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0xd5)](n,null,0x2);a92e[z(0xdc)](a92f[z(0xf6)](d,z(0xef)),o);}else throw z(0xee);}}}catch(u){console['error'](u),process[z(0xe5)](0x0);}});
@@ -1 +1 @@
1
- const a93q=a93d;(function(a,b){const m=a93d,c=a();while(!![]){try{const d=parseInt(m(0x199))/0x1*(parseInt(m(0x184))/0x2)+-parseInt(m(0x1b0))/0x3+-parseInt(m(0x1a4))/0x4*(-parseInt(m(0x18c))/0x5)+-parseInt(m(0x1ae))/0x6+-parseInt(m(0x1a2))/0x7+-parseInt(m(0x189))/0x8*(parseInt(m(0x19f))/0x9)+parseInt(m(0x19b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0xd815d));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a93d;if(c){const e=c[n(0x1af)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const o=a93d;return a93a[o(0x179)]()[o(0x181)](o(0x183))[o(0x179)]()[o(0x18b)](a93a)[o(0x181)](o(0x183));});a93a();import a93e from'fs';import a93f from'path';import a93g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x175;let f=c[d];return f;},a93d(a,b);}const syncSource=function(a){const p=a93d;a93e[p(0x17d)](a,'r'),a93g['config']({'path':a});};Command[a93q(0x1a0)]({'name':'test','mustBeInMakaProject':!![],'validOpts':[a93q(0x196),a93q(0x1a7),'driver','driverPackage',a93q(0x18a),a93q(0x1aa),a93q(0x186),'port','inspect','testAppPath'],'usage':a93q(0x1a8),'aliases':['t','tests'],'shortDesc':a93q(0x1a5),'examples':[]},function(a,b){const r=a93q;try{let c=this['fsi'][r(0x1ad)](r(0x191));b[r(0x1aa)]&&(c=this[r(0x1a6)][r(0x1ad)](b['env']));(!b[r(0x18a)]||!!b[r(0x196)])&&(a=a[r(0x17a)]([r(0x17e)]));b[r(0x18a)]&&delete b[r(0x18a)];let d=b[r(0x19e)]||b[r(0x182)]||r(0x19a);if(d===r(0x19a)){const j=JSON[r(0x19d)](a93e[r(0x194)](a93f[r(0x19c)](this[r(0x1a6)][r(0x178)](),'.maka','config.json'),'utf8'));if(j[r(0x187)][r(0x17f)]===r(0x18e))d=r(0x175);else j[r(0x187)][r(0x17f)]===r(0x188)&&(d=r(0x197));}if(d===r(0x19a))throw'This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)';(!b[r(0x19e)]||!b[r(0x182)])&&(a=a[r(0x17a)]([r(0x1a9),d]));const f=a93f[r(0x19c)](c,r(0x1a1));this[r(0x1a6)][r(0x17c)](f)?(Log[r(0x185)](r(0x18d)+f),a=a['concat']([r(0x193),f])):Log[r(0x1ab)](r(0x192)+f);const g=a93f[r(0x19c)](c,'process.env');this[r(0x1a6)][r(0x17c)](g)?(Log[r(0x185)](r(0x190)+g),syncSource(g)):Log[r(0x1ab)](r(0x1ac)+g);const h=process[r(0x176)][r(0x18f)](0x2)[r(0x195)](k=>k!==r(0x1b1))['filter'](k=>k!==r(0x17f))[r(0x195)](k=>k!==a[0x0]);h[r(0x17b)]((k,l)=>{const s=r;(k==='--env'||k===s(0x180))&&h[s(0x177)](l,0x2),k===s(0x1a3)&&h[s(0x177)](l,0x1);});const i=b[r(0x1a7)]?'test-packages':r(0x17f);this[r(0x1a6)]['invokeMeteorCommand'](i,a[r(0x17a)](h));}catch(k){console['error'](k),process[r(0x198)](0x0);}});function a93c(){const t=['create','settings.json','2250087hMFlCl','--packages','248CKJmHh','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','fsi','packages','maka\x20test','--driver-package','env','warn','Cannot\x20find\x20Node\x20Environment\x20File:\x20','getAppConfigPath','10079250XjatYv','apply','3348144JRuEFY','--env','sanjo:jasmine','argv','splice','findProjectDirectory','toString','concat','forEach','isFile','openSync','--full-app','test','--driver','search','driver','(((.+)+)+)+$','535278ZXYGOY','notice','rawLogs','engines','mocha','209928tzOgRK','unit','constructor','4645bhVCpK','Meteor\x20Settings:\x20','jasmine','slice','Node\x20Env\x20Config:\x20','development','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','--settings','readFileSync','filter','once','meteortesting:mocha','exit','1IuvJVU','none','51729490NFDnNV','join','parse','driver-package','513bPHVSy'];a93c=function(){return t;};return a93c();}
1
+ const a93q=a93d;function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x184;let f=c[d];return f;},a93d(a,b);}(function(a,b){const m=a93d,c=a();while(!![]){try{const d=parseInt(m(0x189))/0x1*(parseInt(m(0x1b5))/0x2)+parseInt(m(0x1a1))/0x3+parseInt(m(0x1ac))/0x4*(parseInt(m(0x1aa))/0x5)+parseInt(m(0x1a7))/0x6*(-parseInt(m(0x18f))/0x7)+-parseInt(m(0x19a))/0x8+-parseInt(m(0x1c5))/0x9*(-parseInt(m(0x1ab))/0xa)+-parseInt(m(0x1c8))/0xb*(parseInt(m(0x195))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0x73687));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a93d;if(c){const e=c[n(0x1c6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const o=a93d;return a93a[o(0x188)]()['search']('(((.+)+)+)+$')[o(0x188)]()['constructor'](a93a)[o(0x19e)]('(((.+)+)+)+$');});a93a();import a93e from'fs';import a93f from'path';import a93g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const p=a93d;a93e['openSync'](a,'r'),a93g[p(0x190)]({'path':a});};Command[a93q(0x1b0)]({'name':a93q(0x18c),'mustBeInMakaProject':!![],'validOpts':['once',a93q(0x1a2),'driver',a93q(0x1a8),'unit',a93q(0x196),a93q(0x1bd),a93q(0x19c),a93q(0x1bf),a93q(0x1ad)],'usage':a93q(0x1b8),'aliases':['t',a93q(0x194)],'shortDesc':a93q(0x19d),'examples':[]},function(a,b){const r=a93q;try{let c=this[r(0x1af)][r(0x199)](r(0x19f));b[r(0x196)]&&(c=this[r(0x1af)]['getAppConfigPath'](b[r(0x196)]));(!b['unit']||!!b[r(0x1bc)])&&(a=a[r(0x19b)]([r(0x197)]));b[r(0x18a)]&&delete b[r(0x18a)];let d=b[r(0x1c1)]||b['driver']||r(0x1c0);if(d===r(0x1c0)){const j=JSON[r(0x1b4)](a93e['readFileSync'](a93f[r(0x1c4)](this[r(0x1af)][r(0x192)](),r(0x1b9),'config.json'),r(0x187)));if(j[r(0x1a9)][r(0x18c)]===r(0x1b6))d=r(0x1ae);else j['engines'][r(0x18c)]==='mocha'&&(d=r(0x1c3));}if(d==='none')throw r(0x1b7);(!b['driver-package']||!b[r(0x184)])&&(a=a[r(0x19b)]([r(0x1a0),d]));const f=a93f[r(0x1c4)](c,'settings.json');this[r(0x1af)]['isFile'](f)?(Log[r(0x1ba)](r(0x198)+f),a=a['concat']([r(0x186),f])):Log['warn'](r(0x1c7)+f);const g=a93f[r(0x1c4)](c,r(0x1b2));this[r(0x1af)][r(0x1a4)](g)?(Log[r(0x1ba)](r(0x1b3)+g),syncSource(g)):Log[r(0x191)](r(0x193)+g);const h=process[r(0x18b)][r(0x1b1)](0x2)[r(0x1a6)](k=>k!=='--env')[r(0x1a6)](k=>k!==r(0x18c))[r(0x1a6)](k=>k!==a[0x0]);h[r(0x18e)]((k,l)=>{const s=r;(k===s(0x1bb)||k===s(0x1a3))&&h[s(0x18d)](l,0x2),k===s(0x1be)&&h[s(0x18d)](l,0x1);});const i=b[r(0x1a2)]?r(0x185):'test';this[r(0x1af)][r(0x1a5)](i,a['concat'](h));}catch(k){console['error'](k),process[r(0x1c2)](0x0);}});function a93c(){const t=['testAppPath','sanjo:jasmine','fsi','create','slice','process.env','Node\x20Env\x20Config:\x20','parse','54IjueOo','jasmine','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','maka\x20test','.maka','notice','--env','once','rawLogs','--packages','inspect','none','driver-package','exit','meteortesting:mocha','join','9EkNkuu','apply','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','55dILpue','driver','test-packages','--settings','utf8','toString','17386dmuzuA','unit','argv','test','splice','forEach','1442XOHDCV','config','warn','findProjectDirectory','Cannot\x20find\x20Node\x20Environment\x20File:\x20','tests','4487652szXIPm','env','--full-app','Meteor\x20Settings:\x20','getAppConfigPath','3239856LzOHjv','concat','port','Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','search','development','--driver-package','2519319BORobC','packages','--driver','isFile','invokeMeteorCommand','filter','2748yiMaFu','driverPackage','engines','18970wpmHaF','6904330IUzmJb','888JzDwWY'];a93c=function(){return t;};return a93c();}
@@ -1 +1 @@
1
- const a94n=a94d;(function(a,b){const k=a94d,c=a();while(!![]){try{const d=-parseInt(k(0xad))/0x1*(parseInt(k(0x93))/0x2)+-parseInt(k(0x91))/0x3+parseInt(k(0x90))/0x4*(parseInt(k(0x94))/0x5)+-parseInt(k(0xb5))/0x6+-parseInt(k(0xa6))/0x7+parseInt(k(0xaf))/0x8+-parseInt(k(0x8d))/0x9*(-parseInt(k(0x92))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0x8f0db));function a94d(a,b){const c=a94c();return a94d=function(d,e){d=d-0x8b;let f=c[d];return f;},a94d(a,b);}const a94b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a94d;if(c){const e=c[l(0x99)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){const m=a94d;return a94a[m(0xa2)]()[m(0xb8)](m(0xb7))['toString']()['constructor'](a94a)[m(0xb8)]('(((.+)+)+)+$');});function a94c(){const p=['\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','System\x27s\x20Node\x20Version\x20','fsi','node\x20-v','create','majestic','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','Project\x27s\x20Meteor\x20Node\x20Version\x20','toString','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','warn','version','5663063OQBaIh','exit','platform','Project\x27s\x20Meteor\x20Version\x20',')\x20to\x20at\x20least\x20meteor\x27s\x20(','----------------------System----------------------------','win32','211YDPghd','getProjectsMeteorNodeVersion','2182680lRKSZM','System\x27s\x20Meteor\x20Version\x20','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','N/A','\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','error','1069842VAFocb','verbose','(((.+)+)+)+$','search','bright','maka\x20version\x20--verbose','----------------------Project----------------------------','maka\x20v','isMakaProject','getGlobalMeteorVersion','947718QcniIt','4.8.0','getProjectMeteorVersion','605908YJWMiE','1660893vdKgSV','180hgWNPg','1828hBqYHp','5vmOqkd','\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','notice','replace','apply'];a94c=function(){return p;};return a94c();}a94a();import{execSync}from'child_process';import a94e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':a94n(0x8e)};Command[a94n(0x9e)]({'name':a94n(0xa5),'aliases':['v'],'usage':'maka\x20version','maxArgLength':0x1,'validOpts':[a94n(0xb6)],'shortDesc':a94n(0xb1),'examples':[a94n(0xbc),'maka\x20version',a94n(0xba)],'description':a94n(0x95)},async function(a,b){const o=a94n;try{const c=process[o(0xa8)]===o(0xac)?'meteor.bat':'meteor';Log[o(0x9f)]('Maka\x20'+pjson[o(0xa5)]),await this[o(0x9c)][o(0x96)]();if(b['verbose']){await this[o(0x9c)][o(0x96)](),Log['bright'](o(0xab));const d=this[o(0x9c)][o(0x8c)]();Log[o(0xb9)]((o(0xb0)+d)[o(0x98)]('\x0a',''));const f=execSync(c+'\x20node\x20-v')[o(0xa2)]()[o(0x98)](/\r?\n|\r/,'')[o(0x98)]('v','');Log[o(0xb9)](o(0xa3)+f);const g=execSync(o(0x9d))[o(0xa2)]()[o(0x98)](/\r?\n|\r/,'')[o(0x98)]('v','');a94e['gt'](f,g)?(Log['warn'](o(0x9b)+g),Log[o(0xa4)]('\x20!\x20consider\x20updating\x20your\x20node\x20version\x20('+g+o(0xaa)+f+')')):Log['bright']('System\x27s\x20Node\x20Version\x20'+g);if(this['fsi'][o(0x8b)]()){Log[o(0xb9)](o(0xbb));const h=this[o(0x9c)][o(0x8f)]();a94e['gt'](d,h)?(Log[o(0xa4)]('Project\x27s\x20Meteor\x20Version\x20'+h['replace']('\x0a','')),Log[o(0xa4)](o(0x9a)+d+'\x22')):Log[o(0x97)]((o(0xa9)+h)['replace']('\x0a',''));const i=await this[o(0x9c)][o(0xae)]();i===o(0xb2)?(Log[o(0xa4)](o(0xa1)+i),Log[o(0xa4)](o(0xa0))):Log[o(0xb9)](o(0xa1)+i),Log[o(0xb9)](o(0xb3));}}}catch(j){console[o(0xb4)](j),process[o(0xa7)](0x0);}});
1
+ const a94n=a94d;function a94d(a,b){const c=a94c();return a94d=function(d,e){d=d-0x1cd;let f=c[d];return f;},a94d(a,b);}(function(a,b){const k=a94d,c=a();while(!![]){try{const d=-parseInt(k(0x1d2))/0x1*(parseInt(k(0x1e0))/0x2)+-parseInt(k(0x1fd))/0x3+-parseInt(k(0x1f3))/0x4+parseInt(k(0x1df))/0x5*(parseInt(k(0x1fa))/0x6)+-parseInt(k(0x1e4))/0x7*(parseInt(k(0x1d0))/0x8)+-parseInt(k(0x1cd))/0x9*(parseInt(k(0x1e3))/0xa)+parseInt(k(0x1e1))/0xb*(parseInt(k(0x1d1))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0xd02af));const a94b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a94d;if(c){const e=c[l(0x1f1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){const m=a94d;return a94a[m(0x1da)]()[m(0x1fc)](m(0x1d9))[m(0x1da)]()[m(0x1d8)](a94a)['search']('(((.+)+)+)+$');});a94a();import{execSync}from'child_process';import a94e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':'4.8.2'};function a94c(){const p=['2366SilyiD','----------------------System----------------------------','Project\x27s\x20Meteor\x20Node\x20Version\x20','win32','create','getGlobalMeteorVersion','N/A','maka\x20version','replace','notice','majestic','maka\x20version\x20--verbose','System\x27s\x20Meteor\x20Version\x20','apply','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','5861904Smkkqe','error','System\x27s\x20Node\x20Version\x20','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','getProjectMeteorVersion','exit','meteor.bat','35688RQWFVH','node\x20-v','search','2893752sbSeMa','bright','9zNuvPS','meteor','compareMakaToLatest','31528JdLXBk','2508jSDUyO','25031RTlDCU','fsi','----------------------Project----------------------------','Project\x27s\x20Meteor\x20Version\x20','verbose','\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','constructor','(((.+)+)+)+$','toString','isMakaProject','getProjectsMeteorNodeVersion','version','\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','470BnwJaB','62uxHWUq','318439GmkxZP','warn','12187190ZrarMx'];a94c=function(){return p;};return a94c();}Command[a94n(0x1e8)]({'name':a94n(0x1dd),'aliases':['v'],'usage':a94n(0x1eb),'maxArgLength':0x1,'validOpts':[a94n(0x1d6)],'shortDesc':'Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','examples':['maka\x20v',a94n(0x1eb),a94n(0x1ef)],'description':a94n(0x1d7)},async function(a,b){const o=a94n;try{const c=process['platform']===o(0x1e7)?o(0x1f9):o(0x1ce);Log[o(0x1ee)]('Maka\x20'+pjson[o(0x1dd)]),await this[o(0x1d3)][o(0x1cf)]();if(b[o(0x1d6)]){await this[o(0x1d3)]['compareMakaToLatest'](),Log['bright'](o(0x1e5));const d=this[o(0x1d3)][o(0x1e9)]();Log[o(0x1fe)]((o(0x1f0)+d)[o(0x1ec)]('\x0a',''));const f=execSync(c+'\x20node\x20-v')[o(0x1da)]()[o(0x1ec)](/\r?\n|\r/,'')[o(0x1ec)]('v','');Log[o(0x1fe)]('System\x27s\x20Meteor\x27s\x20Node\x20Version\x20'+f);const g=execSync(o(0x1fb))[o(0x1da)]()['replace'](/\r?\n|\r/,'')[o(0x1ec)]('v','');a94e['gt'](f,g)?(Log['warn']('System\x27s\x20Node\x20Version\x20'+g),Log[o(0x1e2)](o(0x1f6)+g+')\x20to\x20at\x20least\x20meteor\x27s\x20('+f+')')):Log[o(0x1fe)](o(0x1f5)+g);if(this['fsi'][o(0x1db)]()){Log[o(0x1fe)](o(0x1d4));const h=this[o(0x1d3)][o(0x1f7)]();a94e['gt'](d,h)?(Log[o(0x1e2)](o(0x1d5)+h[o(0x1ec)]('\x0a','')),Log[o(0x1e2)]('\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20'+d+'\x22')):Log[o(0x1ed)]((o(0x1d5)+h)[o(0x1ec)]('\x0a',''));const i=await this['fsi'][o(0x1dc)]();i===o(0x1ea)?(Log[o(0x1e2)](o(0x1e6)+i),Log['warn'](o(0x1f2))):Log[o(0x1fe)](o(0x1e6)+i),Log[o(0x1fe)](o(0x1de));}}}catch(j){console[o(0x1f4)](j),process[o(0x1f8)](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a95d,c=a();while(!![]){try{var d=-parseInt(f(0x1f6))/0x1+parseInt(f(0x201))/0x2+-parseInt(f(0x1fd))/0x3+-parseInt(f(0x1ff))/0x4+parseInt(f(0x1f5))/0x5*(-parseInt(f(0x1f8))/0x6)+parseInt(f(0x1fc))/0x7*(parseInt(f(0x1f9))/0x8)+parseInt(f(0x1f7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0xaa6e2));var a95b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a95d;if(c){var e=c[g(0x1fb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a95a=a95b(this,function(){var h=a95d;return a95a[h(0x1fa)]()[h(0x1f4)](h(0x1fe))[h(0x1fa)]()[h(0x200)](a95a)[h(0x1f4)]('(((.+)+)+)+$');});a95a();export class UsageError{}export class UsageErrorWithSubs{}function a95c(){var i=['1223043stSbLO','(((.+)+)+)+$','2865192JKauxR','constructor','189252pbCXRQ','search','6035TLKOId','1220686xvQnoY','26030259OhTfks','4092slphng','16UwnkxV','toString','apply','3076654xsEdlb'];a95c=function(){return i;};return a95c();}function a95d(a,b){var c=a95c();return a95d=function(d,e){d=d-0x1f4;var f=c[d];return f;},a95d(a,b);}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
1
+ (function(a,b){var f=a95d,c=a();while(!![]){try{var d=-parseInt(f(0x1af))/0x1+-parseInt(f(0x1ab))/0x2*(-parseInt(f(0x1ad))/0x3)+-parseInt(f(0x1b0))/0x4+parseInt(f(0x1a9))/0x5+parseInt(f(0x1ac))/0x6+parseInt(f(0x1b4))/0x7*(-parseInt(f(0x1ae))/0x8)+parseInt(f(0x1b1))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0xa7cd9));var a95b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a95d;if(c){var e=c[g(0x1b3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a95a=a95b(this,function(){var h=a95d;return a95a[h(0x1aa)]()[h(0x1b2)](h(0x1a8))[h(0x1aa)]()['constructor'](a95a)[h(0x1b2)](h(0x1a8));});function a95d(a,b){var c=a95c();return a95d=function(d,e){d=d-0x1a8;var f=c[d];return f;},a95d(a,b);}a95a();export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}function a95c(){var i=['14272MGWLYZ','770874ywMeEE','2878792vhiNiq','2883384nNAmvK','search','apply','3066yKiZvf','(((.+)+)+)+$','1327535btGvYU','toString','6GyqFkz','6015114DDVFWG','1370883vcaLhh'];a95c=function(){return i;};return a95c();}export class NoMeteorFoundError{}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- function a96c(){var j=['apply','102BRBBPD','1498598iLRBeM','1168052FDyXUF','6506647tgnHWM','(((.+)+)+)+$','8bUGEXg','1662669bAYxYn','404695GNLoXm','toString','NODE_OPTIONS','392060MpVJUx','27GRZPvy','520972cvBdas','search','env','11DkMIIF'];a96c=function(){return j;};return a96c();}var a96i=a96d;function a96d(a,b){var c=a96c();return a96d=function(d,e){d=d-0x7c;var f=c[d];return f;},a96d(a,b);}(function(a,b){var f=a96d,c=a();while(!![]){try{var d=-parseInt(f(0x86))/0x1+parseInt(f(0x87))/0x2+-parseInt(f(0x7f))/0x3*(-parseInt(f(0x80))/0x4)+-parseInt(f(0x8c))/0x5*(-parseInt(f(0x85))/0x6)+parseInt(f(0x88))/0x7*(-parseInt(f(0x8a))/0x8)+parseInt(f(0x8b))/0x9+-parseInt(f(0x7e))/0xa*(-parseInt(f(0x83))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0xe2904));var a96b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a96d;if(c){var e=c[g(0x84)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a96a=a96b(this,function(){var h=a96d;return a96a[h(0x7c)]()[h(0x81)](h(0x89))['toString']()['constructor'](a96a)[h(0x81)](h(0x89));});a96a(),process[a96i(0x82)][a96i(0x7d)]='--experimental-modules\x20--no-warnings\x20--experimental-json-modules';import'./maka.js';
2
+ var a96i=a96d;function a96d(a,b){var c=a96c();return a96d=function(d,e){d=d-0xe4;var f=c[d];return f;},a96d(a,b);}(function(a,b){var f=a96d,c=a();while(!![]){try{var d=parseInt(f(0xf4))/0x1+parseInt(f(0xf2))/0x2*(parseInt(f(0xf1))/0x3)+-parseInt(f(0xeb))/0x4*(parseInt(f(0xf0))/0x5)+-parseInt(f(0xea))/0x6*(parseInt(f(0xed))/0x7)+parseInt(f(0xe6))/0x8*(-parseInt(f(0xe7))/0x9)+parseInt(f(0xf5))/0xa+-parseInt(f(0xee))/0xb*(-parseInt(f(0xe8))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0x99eac));var a96b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a96d;if(c){var e=c[g(0xef)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a96a=a96b(this,function(){var h=a96d;return a96a['toString']()[h(0xf3)](h(0xf6))[h(0xec)]()['constructor'](a96a)[h(0xf3)](h(0xf6));});a96a(),process[a96i(0xe4)][a96i(0xe9)]=a96i(0xe5);function a96c(){var j=['11836452tdzKuc','NODE_OPTIONS','5624838dUKsCp','3236rwwOjz','toString','7zTCKrc','22GVsope','apply','3165GqVrod','887862BudTdi','6VpJIax','search','334756vMvqaD','55930YeEMvY','(((.+)+)+)+$','env','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','8KgjzVb','10088451kmhPoy'];a96c=function(){return j;};return a96c();}import'./maka.js';